diff --git a/.nojekyll b/.nojekyll new file mode 100644 index 000000000..e69de29bb diff --git a/2021.json b/2021.json new file mode 100644 index 000000000..55d0b597c --- /dev/null +++ b/2021.json @@ -0,0 +1,200 @@ +{ + "$schema": "https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/schema.json", + "$id": "https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/2021.json", + "year": 2021, + "papers": [ + "http://www.gov.cn/zhengce/content/2020-11/25/content_5564127.htm" + ], + "days": [ + { + "name": "元旦", + "date": "2021-01-01", + "isOffDay": true + }, + { + "name": "元旦", + "date": "2021-01-02", + "isOffDay": true + }, + { + "name": "元旦", + "date": "2021-01-03", + "isOffDay": true + }, + { + "name": "春节", + "date": "2021-02-07", + "isOffDay": false + }, + { + "name": "春节", + "date": "2021-02-11", + "isOffDay": true + }, + { + "name": "春节", + "date": "2021-02-12", + "isOffDay": true + }, + { + "name": "春节", + "date": "2021-02-13", + "isOffDay": true + }, + { + "name": "春节", + "date": "2021-02-14", + "isOffDay": true + }, + { + "name": "春节", + "date": "2021-02-15", + "isOffDay": true + }, + { + "name": "春节", + "date": "2021-02-16", + "isOffDay": true + }, + { + "name": "春节", + "date": "2021-02-17", + "isOffDay": true + }, + { + "name": "春节", + "date": "2021-02-20", + "isOffDay": false + }, + { + "name": "清明节", + "date": "2021-04-03", + "isOffDay": true + }, + { + "name": "清明节", + "date": "2021-04-04", + "isOffDay": true + }, + { + "name": "清明节", + "date": "2021-04-05", + "isOffDay": true + }, + { + "name": "劳动节", + "date": "2021-04-25", + "isOffDay": false + }, + { + "name": "劳动节", + "date": "2021-05-01", + "isOffDay": true + }, + { + "name": "劳动节", + "date": "2021-05-02", + "isOffDay": true + }, + { + "name": "劳动节", + "date": "2021-05-03", + "isOffDay": true + }, + { + "name": "劳动节", + "date": "2021-05-04", + "isOffDay": true + }, + { + "name": "劳动节", + "date": "2021-05-05", + "isOffDay": true + }, + { + "name": "劳动节", + "date": "2021-05-08", + "isOffDay": false + }, + { + "name": "端午节", + "date": "2021-06-12", + "isOffDay": true + }, + { + "name": "端午节", + "date": "2021-06-13", + "isOffDay": true + }, + { + "name": "端午节", + "date": "2021-06-14", + "isOffDay": true + }, + { + "name": "中秋节", + "date": "2021-09-18", + "isOffDay": false + }, + { + "name": "中秋节", + "date": "2021-09-19", + "isOffDay": true + }, + { + "name": "中秋节", + "date": "2021-09-20", + "isOffDay": true + }, + { + "name": "中秋节", + "date": "2021-09-21", + "isOffDay": true + }, + { + "name": "国庆节", + "date": "2021-09-26", + "isOffDay": false + }, + { + "name": "国庆节", + "date": "2021-10-01", + "isOffDay": true + }, + { + "name": "国庆节", + "date": "2021-10-02", + "isOffDay": true + }, + { + "name": "国庆节", + "date": "2021-10-03", + "isOffDay": true + }, + { + "name": "国庆节", + "date": "2021-10-04", + "isOffDay": true + }, + { + "name": "国庆节", + "date": "2021-10-05", + "isOffDay": true + }, + { + "name": "国庆节", + "date": "2021-10-06", + "isOffDay": true + }, + { + "name": "国庆节", + "date": "2021-10-07", + "isOffDay": true + }, + { + "name": "国庆节", + "date": "2021-10-09", + "isOffDay": false + } + ] +} \ No newline at end of file diff --git a/2022.json b/2022.json new file mode 100644 index 000000000..0a4afd113 --- /dev/null +++ b/2022.json @@ -0,0 +1,200 @@ +{ + "$schema": "https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/schema.json", + "$id": "https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/2022.json", + "year": 2022, + "papers": [ + "http://www.gov.cn/zhengce/content/2021-10/25/content_5644835.htm" + ], + "days": [ + { + "name": "元旦", + "date": "2022-01-01", + "isOffDay": true + }, + { + "name": "元旦", + "date": "2022-01-02", + "isOffDay": true + }, + { + "name": "元旦", + "date": "2022-01-03", + "isOffDay": true + }, + { + "name": "春节", + "date": "2022-01-29", + "isOffDay": false + }, + { + "name": "春节", + "date": "2022-01-30", + "isOffDay": false + }, + { + "name": "春节", + "date": "2022-01-31", + "isOffDay": true + }, + { + "name": "春节", + "date": "2022-02-01", + "isOffDay": true + }, + { + "name": "春节", + "date": "2022-02-02", + "isOffDay": true + }, + { + "name": "春节", + "date": "2022-02-03", + "isOffDay": true + }, + { + "name": "春节", + "date": "2022-02-04", + "isOffDay": true + }, + { + "name": "春节", + "date": "2022-02-05", + "isOffDay": true + }, + { + "name": "春节", + "date": "2022-02-06", + "isOffDay": true + }, + { + "name": "清明节", + "date": "2022-04-02", + "isOffDay": false + }, + { + "name": "清明节", + "date": "2022-04-03", + "isOffDay": true + }, + { + "name": "清明节", + "date": "2022-04-04", + "isOffDay": true + }, + { + "name": "清明节", + "date": "2022-04-05", + "isOffDay": true + }, + { + "name": "劳动节", + "date": "2022-04-24", + "isOffDay": false + }, + { + "name": "劳动节", + "date": "2022-04-30", + "isOffDay": true + }, + { + "name": "劳动节", + "date": "2022-05-01", + "isOffDay": true + }, + { + "name": "劳动节", + "date": "2022-05-02", + "isOffDay": true + }, + { + "name": "劳动节", + "date": "2022-05-03", + "isOffDay": true + }, + { + "name": "劳动节", + "date": "2022-05-04", + "isOffDay": true + }, + { + "name": "劳动节", + "date": "2022-05-07", + "isOffDay": false + }, + { + "name": "端午节", + "date": "2022-06-03", + "isOffDay": true + }, + { + "name": "端午节", + "date": "2022-06-04", + "isOffDay": true + }, + { + "name": "端午节", + "date": "2022-06-05", + "isOffDay": true + }, + { + "name": "中秋节", + "date": "2022-09-10", + "isOffDay": true + }, + { + "name": "中秋节", + "date": "2022-09-11", + "isOffDay": true + }, + { + "name": "中秋节", + "date": "2022-09-12", + "isOffDay": true + }, + { + "name": "国庆节", + "date": "2022-10-01", + "isOffDay": true + }, + { + "name": "国庆节", + "date": "2022-10-02", + "isOffDay": true + }, + { + "name": "国庆节", + "date": "2022-10-03", + "isOffDay": true + }, + { + "name": "国庆节", + "date": "2022-10-04", + "isOffDay": true + }, + { + "name": "国庆节", + "date": "2022-10-05", + "isOffDay": true + }, + { + "name": "国庆节", + "date": "2022-10-06", + "isOffDay": true + }, + { + "name": "国庆节", + "date": "2022-10-07", + "isOffDay": true + }, + { + "name": "国庆节", + "date": "2022-10-08", + "isOffDay": false + }, + { + "name": "国庆节", + "date": "2022-10-09", + "isOffDay": false + } + ] +} \ No newline at end of file diff --git a/2023.json b/2023.json new file mode 100644 index 000000000..7748e1054 --- /dev/null +++ b/2023.json @@ -0,0 +1,180 @@ +{ + "$schema": "https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/schema.json", + "$id": "https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/2023.json", + "year": 2023, + "papers": [ + "http://www.gov.cn/zhengce/content/2022-12/08/content_5730844.htm" + ], + "days": [ + { + "name": "元旦", + "date": "2022-12-31", + "isOffDay": true + }, + { + "name": "元旦", + "date": "2023-01-01", + "isOffDay": true + }, + { + "name": "元旦", + "date": "2023-01-02", + "isOffDay": true + }, + { + "name": "春节", + "date": "2023-01-21", + "isOffDay": true + }, + { + "name": "春节", + "date": "2023-01-22", + "isOffDay": true + }, + { + "name": "春节", + "date": "2023-01-23", + "isOffDay": true + }, + { + "name": "春节", + "date": "2023-01-24", + "isOffDay": true + }, + { + "name": "春节", + "date": "2023-01-25", + "isOffDay": true + }, + { + "name": "春节", + "date": "2023-01-26", + "isOffDay": true + }, + { + "name": "春节", + "date": "2023-01-27", + "isOffDay": true + }, + { + "name": "春节", + "date": "2023-01-28", + "isOffDay": false + }, + { + "name": "春节", + "date": "2023-01-29", + "isOffDay": false + }, + { + "name": "清明节", + "date": "2023-04-05", + "isOffDay": true + }, + { + "name": "劳动节", + "date": "2023-04-23", + "isOffDay": false + }, + { + "name": "劳动节", + "date": "2023-04-29", + "isOffDay": true + }, + { + "name": "劳动节", + "date": "2023-04-30", + "isOffDay": true + }, + { + "name": "劳动节", + "date": "2023-05-01", + "isOffDay": true + }, + { + "name": "劳动节", + "date": "2023-05-02", + "isOffDay": true + }, + { + "name": "劳动节", + "date": "2023-05-03", + "isOffDay": true + }, + { + "name": "劳动节", + "date": "2023-05-06", + "isOffDay": false + }, + { + "name": "端午节", + "date": "2023-06-22", + "isOffDay": true + }, + { + "name": "端午节", + "date": "2023-06-23", + "isOffDay": true + }, + { + "name": "端午节", + "date": "2023-06-24", + "isOffDay": true + }, + { + "name": "端午节", + "date": "2023-06-25", + "isOffDay": false + }, + { + "name": "中秋节、国庆节", + "date": "2023-09-29", + "isOffDay": true + }, + { + "name": "中秋节、国庆节", + "date": "2023-09-30", + "isOffDay": true + }, + { + "name": "中秋节、国庆节", + "date": "2023-10-01", + "isOffDay": true + }, + { + "name": "中秋节、国庆节", + "date": "2023-10-02", + "isOffDay": true + }, + { + "name": "中秋节、国庆节", + "date": "2023-10-03", + "isOffDay": true + }, + { + "name": "中秋节、国庆节", + "date": "2023-10-04", + "isOffDay": true + }, + { + "name": "中秋节、国庆节", + "date": "2023-10-05", + "isOffDay": true + }, + { + "name": "中秋节、国庆节", + "date": "2023-10-06", + "isOffDay": true + }, + { + "name": "中秋节、国庆节", + "date": "2023-10-07", + "isOffDay": false + }, + { + "name": "中秋节、国庆节", + "date": "2023-10-08", + "isOffDay": false + } + ] +} \ No newline at end of file diff --git a/2024.json b/2024.json new file mode 100644 index 000000000..c980225ab --- /dev/null +++ b/2024.json @@ -0,0 +1,190 @@ +{ + "$schema": "https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/schema.json", + "$id": "https://raw.githubusercontent.com/NateScarlet/holiday-cn/master/2024.json", + "year": 2024, + "papers": [ + "https://www.gov.cn/zhengce/zhengceku/202310/content_6911528.htm" + ], + "days": [ + { + "name": "元旦", + "date": "2024-01-01", + "isOffDay": true + }, + { + "name": "春节", + "date": "2024-02-04", + "isOffDay": false + }, + { + "name": "春节", + "date": "2024-02-10", + "isOffDay": true + }, + { + "name": "春节", + "date": "2024-02-11", + "isOffDay": true + }, + { + "name": "春节", + "date": "2024-02-12", + "isOffDay": true + }, + { + "name": "春节", + "date": "2024-02-13", + "isOffDay": true + }, + { + "name": "春节", + "date": "2024-02-14", + "isOffDay": true + }, + { + "name": "春节", + "date": "2024-02-15", + "isOffDay": true + }, + { + "name": "春节", + "date": "2024-02-16", + "isOffDay": true + }, + { + "name": "春节", + "date": "2024-02-17", + "isOffDay": true + }, + { + "name": "春节", + "date": "2024-02-18", + "isOffDay": false + }, + { + "name": "清明节", + "date": "2024-04-04", + "isOffDay": true + }, + { + "name": "清明节", + "date": "2024-04-05", + "isOffDay": true + }, + { + "name": "清明节", + "date": "2024-04-06", + "isOffDay": true + }, + { + "name": "清明节", + "date": "2024-04-07", + "isOffDay": false + }, + { + "name": "劳动节", + "date": "2024-04-28", + "isOffDay": false + }, + { + "name": "劳动节", + "date": "2024-05-01", + "isOffDay": true + }, + { + "name": "劳动节", + "date": "2024-05-02", + "isOffDay": true + }, + { + "name": "劳动节", + "date": "2024-05-03", + "isOffDay": true + }, + { + "name": "劳动节", + "date": "2024-05-04", + "isOffDay": true + }, + { + "name": "劳动节", + "date": "2024-05-05", + "isOffDay": true + }, + { + "name": "劳动节", + "date": "2024-05-11", + "isOffDay": false + }, + { + "name": "端午节", + "date": "2024-06-10", + "isOffDay": true + }, + { + "name": "中秋节", + "date": "2024-09-14", + "isOffDay": false + }, + { + "name": "中秋节", + "date": "2024-09-15", + "isOffDay": true + }, + { + "name": "中秋节", + "date": "2024-09-16", + "isOffDay": true + }, + { + "name": "中秋节", + "date": "2024-09-17", + "isOffDay": true + }, + { + "name": "国庆节", + "date": "2024-09-29", + "isOffDay": false + }, + { + "name": "国庆节", + "date": "2024-10-01", + "isOffDay": true + }, + { + "name": "国庆节", + "date": "2024-10-02", + "isOffDay": true + }, + { + "name": "国庆节", + "date": "2024-10-03", + "isOffDay": true + }, + { + "name": "国庆节", + "date": "2024-10-04", + "isOffDay": true + }, + { + "name": "国庆节", + "date": "2024-10-05", + "isOffDay": true + }, + { + "name": "国庆节", + "date": "2024-10-06", + "isOffDay": true + }, + { + "name": "国庆节", + "date": "2024-10-07", + "isOffDay": true + }, + { + "name": "国庆节", + "date": "2024-10-12", + "isOffDay": false + } + ] +} \ No newline at end of file diff --git a/404.html b/404.html new file mode 100644 index 000000000..c947663b8 --- /dev/null +++ b/404.html @@ -0,0 +1,48 @@ + + + + + + + + + 南科手册 + + + + + +

404

这里什么都没有
返回首页
+ + + diff --git a/IgaSCc0kNl.txt b/IgaSCc0kNl.txt new file mode 100644 index 000000000..0a6bf35ef --- /dev/null +++ b/IgaSCc0kNl.txt @@ -0,0 +1 @@ +c20e30af8077fefb9a5fb85accd30c3a \ No newline at end of file diff --git a/about/index.html b/about/index.html new file mode 100644 index 000000000..0985939f6 --- /dev/null +++ b/about/index.html @@ -0,0 +1,48 @@ + + + + + + + + + 帮助我们完善 | 南科手册 + + + + + +
+ + + diff --git a/ads.txt b/ads.txt new file mode 100644 index 000000000..1b683c65f --- /dev/null +++ b/ads.txt @@ -0,0 +1 @@ +google.com, pub-9039393129169217, DIRECT, f08c47fec0942fa0 \ No newline at end of file diff --git a/assets/0c1fb2d65e7c4e53a58a1d6d003cf6e5-CTp_GP4M.jpeg b/assets/0c1fb2d65e7c4e53a58a1d6d003cf6e5-CTp_GP4M.jpeg new file mode 100644 index 000000000..208548271 Binary files /dev/null and b/assets/0c1fb2d65e7c4e53a58a1d6d003cf6e5-CTp_GP4M.jpeg differ diff --git a/assets/1-Bd2cDC6l.png b/assets/1-Bd2cDC6l.png new file mode 100644 index 000000000..f1a0ca10f Binary files /dev/null and b/assets/1-Bd2cDC6l.png differ diff --git a/assets/1-DVukewBF.png b/assets/1-DVukewBF.png new file mode 100644 index 000000000..3fdee9a5f Binary files /dev/null and b/assets/1-DVukewBF.png differ diff --git a/assets/18-19-fall-CHnxsu3F.jpg b/assets/18-19-fall-CHnxsu3F.jpg new file mode 100644 index 000000000..f73f6876e Binary files /dev/null and b/assets/18-19-fall-CHnxsu3F.jpg differ diff --git a/assets/18-19-spring-D2giIiXH.jpg b/assets/18-19-spring-D2giIiXH.jpg new file mode 100644 index 000000000..68109efd8 Binary files /dev/null and b/assets/18-19-spring-D2giIiXH.jpg differ diff --git a/assets/19-20-fall-BAoCsfBO.jpg b/assets/19-20-fall-BAoCsfBO.jpg new file mode 100644 index 000000000..59a1d6805 Binary files /dev/null and b/assets/19-20-fall-BAoCsfBO.jpg differ diff --git a/assets/19-20-spring-CQlnTMIN.jpg b/assets/19-20-spring-CQlnTMIN.jpg new file mode 100644 index 000000000..4ae0c6b2a Binary files /dev/null and b/assets/19-20-spring-CQlnTMIN.jpg differ diff --git a/assets/2-BgrJYuBr.png b/assets/2-BgrJYuBr.png new file mode 100644 index 000000000..aae5e6d2a Binary files /dev/null and b/assets/2-BgrJYuBr.png differ diff --git a/assets/2-lYRZQMW5.jpeg b/assets/2-lYRZQMW5.jpeg new file mode 100644 index 000000000..acbd6ea06 Binary files /dev/null and b/assets/2-lYRZQMW5.jpeg differ diff --git a/assets/20-21-fall-BtHca1eM.png b/assets/20-21-fall-BtHca1eM.png new file mode 100644 index 000000000..e29fac8b1 Binary files /dev/null and b/assets/20-21-fall-BtHca1eM.png differ diff --git a/assets/20-21-spring-92_Lhk9f.jpg b/assets/20-21-spring-92_Lhk9f.jpg new file mode 100644 index 000000000..b7fabc4a0 Binary files /dev/null and b/assets/20-21-spring-92_Lhk9f.jpg differ diff --git a/assets/2018-2019.html-BwvWFhgm.js b/assets/2018-2019.html-BwvWFhgm.js new file mode 100644 index 000000000..fca448291 --- /dev/null +++ b/assets/2018-2019.html-BwvWFhgm.js @@ -0,0 +1 @@ +import{_ as e,o as a,c as t,e as s}from"./app-CAXKJsZK.js";const n="/assets/18-19-fall-CHnxsu3F.jpg",c="/assets/18-19-spring-D2giIiXH.jpg",i={},r=s('

校历 - 2018-2019 学年

2018-2019 秋季学期

2018-2019 春季学期、夏季学期

',5),l=[r];function o(h,d){return a(),t("div",null,l)}const m=e(i,[["render",o],["__file","2018-2019.html.vue"]]),_=JSON.parse('{"path":"/calendar/2018-2019.html","title":"校历 - 2018-2019 学年","lang":"zh-CN","frontmatter":{},"headers":[{"level":2,"title":"2018-2019 秋季学期","slug":"_2018-2019-秋季学期","link":"#_2018-2019-秋季学期","children":[]},{"level":2,"title":"2018-2019 春季学期、夏季学期","slug":"_2018-2019-春季学期、夏季学期","link":"#_2018-2019-春季学期、夏季学期","children":[]}],"git":{"updatedTime":1640077007000,"contributors":[{"name":"liziwl","email":"leezisy@gmail.com","commits":4},{"name":"sparkcyf","email":"sparktour@outlook.com","commits":3}]},"filePathRelative":"calendar/2018-2019.md"}');export{m as comp,_ as data}; diff --git a/assets/2019-2020.html-Db2lJysB.js b/assets/2019-2020.html-Db2lJysB.js new file mode 100644 index 000000000..4d039cef6 --- /dev/null +++ b/assets/2019-2020.html-Db2lJysB.js @@ -0,0 +1 @@ +import{_ as e,o as a,c as t,e as s}from"./app-CAXKJsZK.js";const n="/assets/19-20-fall-BAoCsfBO.jpg",c="/assets/19-20-spring-CQlnTMIN.jpg",r={},i=s('

校历 - 2019-2020 学年

2019-2020 秋季学期

2019-2020 春季学期、夏季学期

',5),l=[i];function o(h,d){return a(),t("div",null,l)}const m=e(r,[["render",o],["__file","2019-2020.html.vue"]]),_=JSON.parse('{"path":"/calendar/2019-2020.html","title":"校历 - 2019-2020 学年","lang":"zh-CN","frontmatter":{},"headers":[{"level":2,"title":"2019-2020 秋季学期","slug":"_2019-2020-秋季学期","link":"#_2019-2020-秋季学期","children":[]},{"level":2,"title":"2019-2020 春季学期、夏季学期","slug":"_2019-2020-春季学期、夏季学期","link":"#_2019-2020-春季学期、夏季学期","children":[]}],"git":{"updatedTime":1640077007000,"contributors":[{"name":"liziwl","email":"leezisy@gmail.com","commits":4},{"name":"sparkcyf","email":"sparktour@outlook.com","commits":3}]},"filePathRelative":"calendar/2019-2020.md"}');export{m as comp,_ as data}; diff --git a/assets/2020-2021.html-DUfiIUal.js b/assets/2020-2021.html-DUfiIUal.js new file mode 100644 index 000000000..f6f7b2685 --- /dev/null +++ b/assets/2020-2021.html-DUfiIUal.js @@ -0,0 +1 @@ +import{_ as e,o as a,c as t,e as s}from"./app-CAXKJsZK.js";const n="/assets/20-21-fall-BtHca1eM.png",c="/assets/20-21-spring-92_Lhk9f.jpg",i={},r=s('

校历 - 2020-2021 学年

2020-2021 秋季学期

提示

由于COVID-19疫情,校历随时可能变化。

2020-2021 春季学期、夏季学期

',6),l=[r];function o(h,p){return a(),t("div",null,l)}const m=e(i,[["render",o],["__file","2020-2021.html.vue"]]),_=JSON.parse('{"path":"/calendar/2020-2021.html","title":"校历 - 2020-2021 学年","lang":"zh-CN","frontmatter":{},"headers":[{"level":2,"title":"2020-2021 秋季学期","slug":"_2020-2021-秋季学期","link":"#_2020-2021-秋季学期","children":[]},{"level":2,"title":"2020-2021 春季学期、夏季学期","slug":"_2020-2021-春季学期、夏季学期","link":"#_2020-2021-春季学期、夏季学期","children":[]}],"git":{"updatedTime":1640077007000,"contributors":[{"name":"liziwl","email":"leezisy@gmail.com","commits":5},{"name":"sparkcyf","email":"sparktour@outlook.com","commits":5},{"name":"chenyuheng","email":"pass@chenyuheng.cn","commits":1}]},"filePathRelative":"calendar/2020-2021.md"}');export{m as comp,_ as data}; diff --git a/assets/2021-2022.html-C_NxjIvl.js b/assets/2021-2022.html-C_NxjIvl.js new file mode 100644 index 000000000..d8e8fd52f --- /dev/null +++ b/assets/2021-2022.html-C_NxjIvl.js @@ -0,0 +1 @@ +import{_ as e,o as t,c as s,e as a}from"./app-CAXKJsZK.js";const r={},n=a('

校历 - 2021-2022 学年

提示

此版本为预先发布,校历随时可能变化。

',4),i=[n];function c(o,l){return t(),s("div",null,i)}const m=e(r,[["render",c],["__file","2021-2022.html.vue"]]),d=JSON.parse('{"path":"/calendar/2021-2022.html","title":"校历 - 2021-2022 学年","lang":"zh-CN","frontmatter":{},"headers":[],"git":{"updatedTime":1671089619000,"contributors":[{"name":"sparkcyf","email":"sparktour@outlook.com","commits":6},{"name":"liziwl","email":"leezisy@gmail.com","commits":3}]},"filePathRelative":"calendar/2021-2022.md"}');export{m as comp,d as data}; diff --git a/assets/2021.html-BtvRM_eq.js b/assets/2021.html-BtvRM_eq.js new file mode 100644 index 000000000..a8f52cb1e --- /dev/null +++ b/assets/2021.html-BtvRM_eq.js @@ -0,0 +1 @@ +import{_ as i,r as s,o as h,c as r,b as e,d as l,a as t,w as a,e as c}from"./app-CAXKJsZK.js";const d={},u=c('

如果你是新生...

提示

右键/长按链接在新窗口打开,以获得更好的阅读效果!

部分内容由 致诚书院大学长团 提供

到校之前,你可以

加入新生群

根据迎新网上的提示,加入新生群,在QQ群内向学长学姐提出你想问的问题。提问之前,别忘了先看看《提问的智慧》

致仁书院2021新生咨询群:816654278

树仁书院2021新生咨询群:604825984

致诚书院2021新生咨询群:566967759

树德书院2021新生咨询群:558488731

致新书院2021新生咨询群:644754638

树礼书院2021新生咨询群:768901668

2021全国迎新群(官方):461027383

云游南科大校园

',8),E=e("p",null,[e("img",{src:"https://mirrors.sustech.edu.cn/git/sustech-online/sustech-online-ng/-/raw/master/docs/facility/campus-pano.jpg",alt:"湖畔全景"})],-1),_=e("p",null,[l("你也可以在南科大官网中的"),e("a",{href:"https://www.sustech.edu.cn/zh/gallery.html",target:"_blank",rel:"noopener noreferrer"},"南科视界"),l("栏目查看最新的校园照片。")],-1),p={id:"关注几个公众号",tabindex:"-1"},B={class:"header-anchor",href:"#关注几个公众号"},f=e("a",{href:"https://suste.ch/",target:"_blank",rel:"noopener noreferrer"},"网站",-1),A=e("a",{href:"https://sustc.wiki/%E7%89%B9%E6%AE%8A:%E6%89%80%E6%9C%89%E9%A1%B5%E9%9D%A2?from=&to=&namespace=0&hideredirects=1",target:"_blank",rel:"noopener noreferrer"},"轶事",-1),m=e("h3",{id:"了解课程与培养方案",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#了解课程与培养方案"},[e("span",null,"了解课程与培养方案")])],-1),g=e("p",null,"培养方案和课程详述(syllabus)将会陪伴你大学四年,不妨在有空时翻阅一下,寻找你心水的专业与课程。",-1),b=e("li",null,[e("a",{href:"https://mirrors.sustech.edu.cn/courses/%E6%9C%AC%E7%A7%91%E4%BA%BA%E6%89%8D%E5%9F%B9%E5%85%BB%E6%96%B9%E6%A1%88/2021%E7%BA%A7%E6%9C%AC%E7%A7%91%E4%BA%BA%E6%89%8D%E5%9F%B9%E5%85%BB%E6%96%B9%E6%A1%88/",target:"_blank",rel:"noopener noreferrer"},"2021级本科人才培养方案")],-1),k=e("p",null,"你也可以现行了解入学后的分级考试都会涉及哪些内容,并决定自己收否需要参加某些考试。",-1),x=e("h3",{id:"读一读来自学长学姐的建议",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#读一读来自学长学姐的建议"},[e("span",null,"读一读来自学长学姐的建议")])],-1),y=e("ul",null,[e("li",null,[e("em",null,"包括入学考试,专业选课,英语学习等信息")])],-1),v=e("h3",{id:"再来看看有没有你感兴趣的社团",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#再来看看有没有你感兴趣的社团"},[e("span",null,"再来看看有没有你感兴趣的社团")])],-1),F=e("ul",null,[e("li",null,"包括如何选择社团和致诚书院特色社团介绍,由致诚书院大学长团提供。")],-1),D=e("h3",{id:"当然-衣食住行也相当重要",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#当然-衣食住行也相当重要"},[e("span",null,"当然,衣食住行也相当重要")])],-1),w=e("ul",null,[e("li",null,"包括新生宿舍、洗衣房介绍,还有一些 tips,由致诚书院大学长团提供。")],-1),C=e("h4",{id:"先了解一下住宿环境",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#先了解一下住宿环境"},[e("span",null,"先了解一下住宿环境")])],-1),z=e("ul",null,[e("li",null,"包括食堂、学习场所、运动场所、活动场所的介绍,由致诚书院大学长团提供。")],-1),q=e("h4",{id:"校内都有啥吃的",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#校内都有啥吃的"},[e("span",null,"校内都有啥吃的?")])],-1),N=e("h4",{id:"东西在哪里买",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#东西在哪里买"},[e("span",null,"东西在哪里买?")])],-1),Q=e("h4",{id:"想健身",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#想健身"},[e("span",null,"想健身?")])],-1),R=e("h3",{id:"要是我提早到了深圳",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#要是我提早到了深圳"},[e("span",null,"要是我提早到了深圳...")])],-1),T=e("strong",null,"没提早到也没关系",-1),V=e("h2",{id:"到校之后-你可以",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#到校之后-你可以"},[e("span",null,"到校之后,你可以...")])],-1),S={id:"了解如何连接校园网络",tabindex:"-1"},L={class:"header-anchor",href:"#了解如何连接校园网络"},j={id:"看看其他的实用技巧",tabindex:"-1"},H={class:"header-anchor",href:"#看看其他的实用技巧"},J={id:"添加黄页中提到的常用qq群",tabindex:"-1"},M={class:"header-anchor",href:"#添加黄页中提到的常用qq群"},O=e("h2",{id:"最后",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#最后"},[e("span",null,"最后...")])],-1);function P(W,G){const n=s("RouteLink"),o=s("Badge");return h(),r("div",null,[u,e("p",null,[l("查看南科手册的"),t(n,{to:"/facility/"},{default:a(()=>[l("🏫建筑与设施部分")]),_:1}),l(",了解校园内都有哪些建筑,他们的功能都是什么。或是在"),t(n,{to:"/facility/"},{default:a(()=>[l("设施")]),_:1}),l("页面查看每栋建筑的介绍,和校园街景/航拍全景。")]),E,_,e("h3",p,[e("a",B,[e("span",null,[l("关注几个公众号"),t(o,{text:"Recommend",type:"tip"})])])]),e("p",null,[l("除了南科大的官方公众号和书院公众号,你也可以关注新闻社运营的"),t(n,{to:"/media/#%E5%AD%A6%E7%94%9F%E7%BB%84%E7%BB%87%E4%B8%8E%E7%A4%BE%E5%9B%A2"},{default:a(()=>[l("南科新知")]),_:1}),l(",或是由学生自主运营的"),t(n,{to:"/media/#%E5%BE%AE%E4%BF%A1%E5%85%AC%E4%BC%97%E5%8F%B7"},{default:a(()=>[l("你科周末")]),_:1}),l("。从官方与学生的角度,全面地了解南科大。当然,在"),t(n,{to:"/media/#%F0%9F%93%BA%E5%AA%92%E4%BD%93%E4%B8%8E%E7%BD%91%E7%AB%99"},{default:a(()=>[l("📺媒体与网站")]),_:1}),l("部分中的其他公众号或是"),f,l("中,你或许能够了解南科大的更多"),A,l("。")]),m,g,e("ul",null,[e("li",null,[t(n,{to:"/study/by-shude-college/advice-on-study.html#%E5%85%A5%E5%AD%A6%E8%80%83%E8%AF%95%E7%9A%84%E5%BB%BA%E8%AE%AE"},{default:a(()=>[l("🎓学在南科/课程")]),_:1})]),b]),k,x,e("ul",null,[e("li",null,[t(n,{to:"/study/by-zhicheng-college/%E6%96%B0%E7%94%9F%E6%94%BB%E7%95%A5%E4%B9%8B%E5%AD%A6%E4%B9%A0%E7%AF%87.html"},{default:a(()=>[l("致诚书院新生攻略学习篇(2021)")]),_:1}),y])]),v,e("ul",null,[e("li",null,[t(n,{to:"/organizations/#%E7%A4%BE%E5%9B%A2"},{default:a(()=>[l("🎡社团活动")]),_:1})]),e("li",null,[t(n,{to:"/life/by-zhicheng-college/%E6%96%B0%E7%94%9F%E6%94%BB%E7%95%A5%E4%B9%8B%E7%A4%BE%E5%9B%A2%E7%AF%87.html"},{default:a(()=>[l("新生攻略之社团篇(2021)")]),_:1}),F])]),D,e("ul",null,[e("li",null,[t(n,{to:"/life/"},{default:a(()=>[l("👨‍🎓生活在南科")]),_:1})]),e("li",null,[t(n,{to:"/life/by-zhicheng-college/%E6%96%B0%E7%94%9F%E6%94%BB%E7%95%A5%E4%B9%8B%E5%AE%BF%E8%88%8D%E7%94%9F%E6%B4%BB%E7%AF%87.html"},{default:a(()=>[l("新生攻略之宿舍生活篇(2021)")]),_:1}),w])]),C,e("ul",null,[e("li",null,[t(n,{to:"/life/dormitory/"},{default:a(()=>[l("👨‍🎓生活在南科/住在南科")]),_:1})]),e("li",null,[t(n,{to:"/life/by-zhicheng-college/%E6%96%B0%E7%94%9F%E6%94%BB%E7%95%A5%E4%B9%8B%E6%A0%A1%E5%86%85%E4%BB%8B%E7%BB%8D%E7%AF%87.html"},{default:a(()=>[l("新生攻略之校内介绍篇(2021)")]),_:1}),z])]),q,e("ul",null,[e("li",null,[t(n,{to:"/life/catering/"},{default:a(()=>[l("☕️餐饮")]),_:1})])]),N,e("ul",null,[e("li",null,[t(n,{to:"/life/#%E8%B6%85%E5%B8%82"},{default:a(()=>[l("🏪超市")]),_:1})])]),Q,e("ul",null,[e("li",null,[t(n,{to:"/life/sports-facility/"},{default:a(()=>[l("🏊‍♀️运动设施")]),_:1})])]),R,e("p",null,[l("不妨去探索"),t(n,{to:"/surroundings/"},{default:a(()=>[l("学校周边的设施")]),_:1}),l("。")]),e("p",null,[T,l(",你也可以先规划如何"),t(n,{to:"/transport/#%F0%9F%97%BA%E6%8A%B5%E8%BE%BE%E5%8D%97%E6%96%B9%E7%A7%91%E6%8A%80%E5%A4%A7%E5%AD%A6"},{default:a(()=>[l("抵达学校")]),_:1}),l(",看看深圳市内都有"),t(n,{to:"/transport/#%E5%B8%82%E5%86%85%E4%BA%A4%E9%80%9A"},{default:a(()=>[l("哪些交通方式")]),_:1}),l("。")]),V,e("h4",S,[e("a",L,[e("span",null,[l("了解"),t(n,{to:"/service/network/"},{default:a(()=>[l("如何连接校园网络")]),_:1})])])]),e("h4",j,[e("a",H,[e("span",null,[l("看看其他的"),t(n,{to:"/service/"},{default:a(()=>[l("实用技巧")]),_:1})])])]),e("h4",J,[e("a",M,[e("span",null,[l("添加"),t(n,{to:"/contact/"},{default:a(()=>[l("黄页")]),_:1}),l("中提到的常用QQ群")])])]),O,e("p",null,[l("把南科手册添加到浏览器的收藏夹或是桌面!("),t(n,{to:"/site-help/"},{default:a(()=>[l("没错,南科手册也可以作为一个本地应用运行")]),_:1}),l(")你会发现你在未来会经常需要用到它~")])])}const K=i(d,[["render",P],["__file","2021.html.vue"]]),U=JSON.parse('{"path":"/if-you-are-a-freshman/2021.html","title":"如果你是新生...","lang":"zh-CN","frontmatter":{},"headers":[{"level":2,"title":"到校之前,你可以","slug":"到校之前-你可以","link":"#到校之前-你可以","children":[{"level":3,"title":"加入新生群","slug":"加入新生群","link":"#加入新生群","children":[]},{"level":3,"title":"云游南科大校园","slug":"云游南科大校园","link":"#云游南科大校园","children":[]},{"level":3,"title":"关注几个公众号","slug":"关注几个公众号","link":"#关注几个公众号","children":[]},{"level":3,"title":"了解课程与培养方案","slug":"了解课程与培养方案","link":"#了解课程与培养方案","children":[]},{"level":3,"title":"读一读来自学长学姐的建议","slug":"读一读来自学长学姐的建议","link":"#读一读来自学长学姐的建议","children":[]},{"level":3,"title":"再来看看有没有你感兴趣的社团","slug":"再来看看有没有你感兴趣的社团","link":"#再来看看有没有你感兴趣的社团","children":[]},{"level":3,"title":"当然,衣食住行也相当重要","slug":"当然-衣食住行也相当重要","link":"#当然-衣食住行也相当重要","children":[]},{"level":3,"title":"要是我提早到了深圳...","slug":"要是我提早到了深圳","link":"#要是我提早到了深圳","children":[]}]},{"level":2,"title":"到校之后,你可以...","slug":"到校之后-你可以","link":"#到校之后-你可以","children":[]},{"level":2,"title":"最后...","slug":"最后","link":"#最后","children":[]}],"git":{"updatedTime":1641053234000,"contributors":[{"name":"liziwl","email":"leezisy@gmail.com","commits":3},{"name":"sparkcyf","email":"sparktour@outlook.com","commits":3},{"name":"lethal233","email":"11811407@mail.sustech.edu.cn","commits":1}]},"filePathRelative":"if-you-are-a-freshman/2021.md"}');export{K as comp,U as data}; diff --git a/assets/2021fall.html-VTielChk.js b/assets/2021fall.html-VTielChk.js new file mode 100644 index 000000000..d21fa9e27 --- /dev/null +++ b/assets/2021fall.html-VTielChk.js @@ -0,0 +1 @@ +import{_ as e,o as t,c as s,e as a}from"./app-CAXKJsZK.js";const l="/assets/21-22-fall-CZtcNRvN.jpg",c={},i=a('

【当前学期】2021-2022 秋季学期

',3),r=[i];function n(o,h){return t(),s("div",null,r)}const m=e(c,[["render",n],["__file","2021fall.html.vue"]]),f=JSON.parse('{"path":"/calendar/2021fall.html","title":"","lang":"zh-CN","frontmatter":{},"headers":[{"level":2,"title":"【当前学期】2021-2022 秋季学期","slug":"【当前学期】2021-2022-秋季学期","link":"#【当前学期】2021-2022-秋季学期","children":[]}],"git":{"updatedTime":1644826336000,"contributors":[{"name":"liziwl","email":"leezisy@gmail.com","commits":1}]},"filePathRelative":"calendar/2021fall.md"}');export{m as comp,f as data}; diff --git a/assets/2022-2023.html-CT6qDa6y.js b/assets/2022-2023.html-CT6qDa6y.js new file mode 100644 index 000000000..098a47e74 --- /dev/null +++ b/assets/2022-2023.html-CT6qDa6y.js @@ -0,0 +1 @@ +import{_ as e,o as s,c as a,b as t}from"./app-CAXKJsZK.js";const o="/assets/22-23-spring-DNbO7SwC.jpg",c="/assets/23-24-fall-B2WvR4Te.jpg",n={},r=t("h1",{id:"校历-2022-2023-学年",tabindex:"-1"},[t("a",{class:"header-anchor",href:"#校历-2022-2023-学年"},[t("span",null,"校历 - 2022-2023 学年")])],-1),l=t("p",null,[t("img",{src:o,alt:" "})],-1),_=t("p",null,[t("img",{src:c,alt:"23-24-fall"})],-1),i=[r,l,_];function m(d,p){return s(),a("div",null,i)}const f=e(n,[["render",m],["__file","2022-2023.html.vue"]]),u=JSON.parse('{"path":"/calendar/2022-2023.html","title":"校历 - 2022-2023 学年","lang":"zh-CN","frontmatter":{},"headers":[],"git":{"updatedTime":1671159794000,"contributors":[{"name":"sparkcyf","email":"sparktour@outlook.com","commits":2}]},"filePathRelative":"calendar/2022-2023.md"}');export{f as comp,u as data}; diff --git a/assets/2023-2024.html-CceQ4CII.js b/assets/2023-2024.html-CceQ4CII.js new file mode 100644 index 000000000..c321a585e --- /dev/null +++ b/assets/2023-2024.html-CceQ4CII.js @@ -0,0 +1 @@ +import{_ as e,a}from"./2024-2-Dsw9L24n.js";import{_ as o,o as s,c as r,b as t}from"./app-CAXKJsZK.js";const c={},n=t("h1",{id:"校历-2023-2024-学年",tabindex:"-1"},[t("a",{class:"header-anchor",href:"#校历-2023-2024-学年"},[t("span",null,"校历 - 2023-2024 学年")])],-1),l=t("p",null,[t("img",{src:e,alt:" "})],-1),_=t("p",null,[t("img",{src:a,alt:""})],-1),i=[n,l,_];function m(d,h){return s(),r("div",null,i)}const u=o(c,[["render",m],["__file","2023-2024.html.vue"]]),k=JSON.parse('{"path":"/calendar/2023-2024.html","title":"校历 - 2023-2024 学年","lang":"zh-CN","frontmatter":{},"headers":[],"git":{"updatedTime":1706355528000,"contributors":[{"name":"sparkcyf","email":"sparktour@outlook.com","commits":1}]},"filePathRelative":"calendar/2023-2024.md"}');export{u as comp,k as data}; diff --git a/assets/2024-1-r437gOez.jpg b/assets/2024-1-r437gOez.jpg new file mode 100644 index 000000000..dd1562b5b Binary files /dev/null and b/assets/2024-1-r437gOez.jpg differ diff --git a/assets/2024-2-Dr6TUqx9.jpg b/assets/2024-2-Dr6TUqx9.jpg new file mode 100644 index 000000000..4240de181 Binary files /dev/null and b/assets/2024-2-Dr6TUqx9.jpg differ diff --git a/assets/2024-2-Dsw9L24n.js b/assets/2024-2-Dsw9L24n.js new file mode 100644 index 000000000..f8c81bd68 --- /dev/null +++ b/assets/2024-2-Dsw9L24n.js @@ -0,0 +1 @@ +const s="/assets/2024-1-r437gOez.jpg",t="/assets/2024-2-Dr6TUqx9.jpg";export{s as _,t as a}; diff --git a/assets/21-22-fall-CZtcNRvN.jpg b/assets/21-22-fall-CZtcNRvN.jpg new file mode 100644 index 000000000..f43d1d3be Binary files /dev/null and b/assets/21-22-fall-CZtcNRvN.jpg differ diff --git a/assets/22-23-spring-DNbO7SwC.jpg b/assets/22-23-spring-DNbO7SwC.jpg new file mode 100644 index 000000000..67c712a8e Binary files /dev/null and b/assets/22-23-spring-DNbO7SwC.jpg differ diff --git a/assets/23-24-fall-B2WvR4Te.jpg b/assets/23-24-fall-B2WvR4Te.jpg new file mode 100644 index 000000000..55a70ba89 Binary files /dev/null and b/assets/23-24-fall-B2WvR4Te.jpg differ diff --git a/assets/2d474998994c4bdea64fc0c20e468e4e-2RT7VmBW.jpeg b/assets/2d474998994c4bdea64fc0c20e468e4e-2RT7VmBW.jpeg new file mode 100644 index 000000000..5f6894ba9 Binary files /dev/null and b/assets/2d474998994c4bdea64fc0c20e468e4e-2RT7VmBW.jpeg differ diff --git a/assets/3-By_0Luwc.js b/assets/3-By_0Luwc.js new file mode 100644 index 000000000..46516593d --- /dev/null +++ b/assets/3-By_0Luwc.js @@ -0,0 +1 @@ +const I="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iNjAiIGhlaWdodD0iMjAiPjxsaW5lYXJHcmFkaWVudCBpZD0icyIgeDI9IjAiIHkyPSIxMDAlIj48c3RvcCBvZmZzZXQ9IjAiIHN0b3AtY29sb3I9IiNiYmIiIHN0b3Atb3BhY2l0eT0iLjEiLz48c3RvcCBvZmZzZXQ9IjEiIHN0b3Atb3BhY2l0eT0iLjEiLz48L2xpbmVhckdyYWRpZW50PjxjbGlwUGF0aCBpZD0iciI+PHJlY3Qgd2lkdGg9IjYwIiBoZWlnaHQ9IjIwIiByeD0iMyIgZmlsbD0iI2ZmZiIvPjwvY2xpcFBhdGg+PGcgY2xpcC1wYXRoPSJ1cmwoI3IpIj48cmVjdCB3aWR0aD0iNDMiIGhlaWdodD0iMjAiIGZpbGw9IiM1NTUiLz48cmVjdCB4PSI0MyIgd2lkdGg9IjE3IiBoZWlnaHQ9IjIwIiBmaWxsPSIjOTk1MGIyIi8+PHJlY3Qgd2lkdGg9IjYwIiBoZWlnaHQ9IjIwIiBmaWxsPSJ1cmwoI3MpIi8+PC9nPjxnIGZpbGw9IiNmZmYiIHRleHQtYW5jaG9yPSJtaWRkbGUiIGZvbnQtZmFtaWx5PSJWZXJkYW5hLEdlbmV2YSxEZWphVnUgU2FucyxzYW5zLXNlcmlmIiB0ZXh0LXJlbmRlcmluZz0iZ2VvbWV0cmljUHJlY2lzaW9uIiBmb250LXNpemU9IjExMCI+PHRleHQgeD0iMjI1IiB5PSIxNTAiIGZpbGw9IiMwMTAxMDEiIGZpbGwtb3BhY2l0eT0iLjMiIHRyYW5zZm9ybT0ic2NhbGUoLjEpIiB0ZXh0TGVuZ3RoPSIzMzAiPlNaTUM8L3RleHQ+PHRleHQgeD0iMjI1IiB5PSIxNDAiIHRyYW5zZm9ybT0ic2NhbGUoLjEpIiB0ZXh0TGVuZ3RoPSIzMzAiPlNaTUM8L3RleHQ+PHRleHQgeD0iNTA1IiB5PSIxNTAiIGZpbGw9IiMwMTAxMDEiIGZpbGwtb3BhY2l0eT0iLjMiIHRyYW5zZm9ybT0ic2NhbGUoLjEpIiB0ZXh0TGVuZ3RoPSI3MCI+NTwvdGV4dD48dGV4dCB4PSI1MDUiIHk9IjE0MCIgdHJhbnNmb3JtPSJzY2FsZSguMSkiIHRleHRMZW5ndGg9IjcwIj41PC90ZXh0PjwvZz48L3N2Zz4=",i="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iNjAiIGhlaWdodD0iMjAiPjxsaW5lYXJHcmFkaWVudCBpZD0icyIgeDI9IjAiIHkyPSIxMDAlIj48c3RvcCBvZmZzZXQ9IjAiIHN0b3AtY29sb3I9IiNiYmIiIHN0b3Atb3BhY2l0eT0iLjEiLz48c3RvcCBvZmZzZXQ9IjEiIHN0b3Atb3BhY2l0eT0iLjEiLz48L2xpbmVhckdyYWRpZW50PjxjbGlwUGF0aCBpZD0iciI+PHJlY3Qgd2lkdGg9IjYwIiBoZWlnaHQ9IjIwIiByeD0iMyIgZmlsbD0iI2ZmZiIvPjwvY2xpcFBhdGg+PGcgY2xpcC1wYXRoPSJ1cmwoI3IpIj48cmVjdCB3aWR0aD0iNDMiIGhlaWdodD0iMjAiIGZpbGw9IiM1NTUiLz48cmVjdCB4PSI0MyIgd2lkdGg9IjE3IiBoZWlnaHQ9IjIwIiBmaWxsPSIjZGMyNDFmIi8+PHJlY3Qgd2lkdGg9IjYwIiBoZWlnaHQ9IjIwIiBmaWxsPSJ1cmwoI3MpIi8+PC9nPjxnIGZpbGw9IiNmZmYiIHRleHQtYW5jaG9yPSJtaWRkbGUiIGZvbnQtZmFtaWx5PSJWZXJkYW5hLEdlbmV2YSxEZWphVnUgU2FucyxzYW5zLXNlcmlmIiB0ZXh0LXJlbmRlcmluZz0iZ2VvbWV0cmljUHJlY2lzaW9uIiBmb250LXNpemU9IjExMCI+PHRleHQgeD0iMjI1IiB5PSIxNTAiIGZpbGw9IiMwMTAxMDEiIGZpbGwtb3BhY2l0eT0iLjMiIHRyYW5zZm9ybT0ic2NhbGUoLjEpIiB0ZXh0TGVuZ3RoPSIzMzAiPlNaTUM8L3RleHQ+PHRleHQgeD0iMjI1IiB5PSIxNDAiIHRyYW5zZm9ybT0ic2NhbGUoLjEpIiB0ZXh0TGVuZ3RoPSIzMzAiPlNaTUM8L3RleHQ+PHRleHQgeD0iNTA1IiB5PSIxNTAiIGZpbGw9IiMwMTAxMDEiIGZpbGwtb3BhY2l0eT0iLjMiIHRyYW5zZm9ybT0ic2NhbGUoLjEpIiB0ZXh0TGVuZ3RoPSI3MCI+NDwvdGV4dD48dGV4dCB4PSI1MDUiIHk9IjE0MCIgdHJhbnNmb3JtPSJzY2FsZSguMSkiIHRleHRMZW5ndGg9IjcwIj40PC90ZXh0PjwvZz48L3N2Zz4=",Z="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iNjAiIGhlaWdodD0iMjAiPjxsaW5lYXJHcmFkaWVudCBpZD0icyIgeDI9IjAiIHkyPSIxMDAlIj48c3RvcCBvZmZzZXQ9IjAiIHN0b3AtY29sb3I9IiNiYmIiIHN0b3Atb3BhY2l0eT0iLjEiLz48c3RvcCBvZmZzZXQ9IjEiIHN0b3Atb3BhY2l0eT0iLjEiLz48L2xpbmVhckdyYWRpZW50PjxjbGlwUGF0aCBpZD0iciI+PHJlY3Qgd2lkdGg9IjYwIiBoZWlnaHQ9IjIwIiByeD0iMyIgZmlsbD0iI2ZmZiIvPjwvY2xpcFBhdGg+PGcgY2xpcC1wYXRoPSJ1cmwoI3IpIj48cmVjdCB3aWR0aD0iNDMiIGhlaWdodD0iMjAiIGZpbGw9IiM1NTUiLz48cmVjdCB4PSI0MyIgd2lkdGg9IjE3IiBoZWlnaHQ9IjIwIiBmaWxsPSIjODQ2ZTc0Ii8+PHJlY3Qgd2lkdGg9IjYwIiBoZWlnaHQ9IjIwIiBmaWxsPSJ1cmwoI3MpIi8+PC9nPjxnIGZpbGw9IiNmZmYiIHRleHQtYW5jaG9yPSJtaWRkbGUiIGZvbnQtZmFtaWx5PSJWZXJkYW5hLEdlbmV2YSxEZWphVnUgU2FucyxzYW5zLXNlcmlmIiB0ZXh0LXJlbmRlcmluZz0iZ2VvbWV0cmljUHJlY2lzaW9uIiBmb250LXNpemU9IjExMCI+PHRleHQgeD0iMjI1IiB5PSIxNTAiIGZpbGw9IiMwMTAxMDEiIGZpbGwtb3BhY2l0eT0iLjMiIHRyYW5zZm9ybT0ic2NhbGUoLjEpIiB0ZXh0TGVuZ3RoPSIzMzAiPlNaTUM8L3RleHQ+PHRleHQgeD0iMjI1IiB5PSIxNDAiIHRyYW5zZm9ybT0ic2NhbGUoLjEpIiB0ZXh0TGVuZ3RoPSIzMzAiPlNaTUM8L3RleHQ+PHRleHQgeD0iNTA1IiB5PSIxNTAiIGZpbGw9IiMwMTAxMDEiIGZpbGwtb3BhY2l0eT0iLjMiIHRyYW5zZm9ybT0ic2NhbGUoLjEpIiB0ZXh0TGVuZ3RoPSI3MCI+OTwvdGV4dD48dGV4dCB4PSI1MDUiIHk9IjE0MCIgdHJhbnNmb3JtPSJzY2FsZSguMSkiIHRleHRMZW5ndGg9IjcwIj45PC90ZXh0PjwvZz48L3N2Zz4=",j="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iNjAiIGhlaWdodD0iMjAiPjxsaW5lYXJHcmFkaWVudCBpZD0icyIgeDI9IjAiIHkyPSIxMDAlIj48c3RvcCBvZmZzZXQ9IjAiIHN0b3AtY29sb3I9IiNiYmIiIHN0b3Atb3BhY2l0eT0iLjEiLz48c3RvcCBvZmZzZXQ9IjEiIHN0b3Atb3BhY2l0eT0iLjEiLz48L2xpbmVhckdyYWRpZW50PjxjbGlwUGF0aCBpZD0iciI+PHJlY3Qgd2lkdGg9IjYwIiBoZWlnaHQ9IjIwIiByeD0iMyIgZmlsbD0iI2ZmZiIvPjwvY2xpcFBhdGg+PGcgY2xpcC1wYXRoPSJ1cmwoI3IpIj48cmVjdCB3aWR0aD0iNDMiIGhlaWdodD0iMjAiIGZpbGw9IiM1NTUiLz48cmVjdCB4PSI0MyIgd2lkdGg9IjE3IiBoZWlnaHQ9IjIwIiBmaWxsPSIjZGI2ZDFjIi8+PHJlY3Qgd2lkdGg9IjYwIiBoZWlnaHQ9IjIwIiBmaWxsPSJ1cmwoI3MpIi8+PC9nPjxnIGZpbGw9IiNmZmYiIHRleHQtYW5jaG9yPSJtaWRkbGUiIGZvbnQtZmFtaWx5PSJWZXJkYW5hLEdlbmV2YSxEZWphVnUgU2FucyxzYW5zLXNlcmlmIiB0ZXh0LXJlbmRlcmluZz0iZ2VvbWV0cmljUHJlY2lzaW9uIiBmb250LXNpemU9IjExMCI+PHRleHQgeD0iMjI1IiB5PSIxNTAiIGZpbGw9IiMwMTAxMDEiIGZpbGwtb3BhY2l0eT0iLjMiIHRyYW5zZm9ybT0ic2NhbGUoLjEpIiB0ZXh0TGVuZ3RoPSIzMzAiPlNaTUM8L3RleHQ+PHRleHQgeD0iMjI1IiB5PSIxNDAiIHRyYW5zZm9ybT0ic2NhbGUoLjEpIiB0ZXh0TGVuZ3RoPSIzMzAiPlNaTUM8L3RleHQ+PHRleHQgeD0iNTA1IiB5PSIxNTAiIGZpbGw9IiMwMTAxMDEiIGZpbGwtb3BhY2l0eT0iLjMiIHRyYW5zZm9ybT0ic2NhbGUoLjEpIiB0ZXh0TGVuZ3RoPSI3MCI+MjwvdGV4dD48dGV4dCB4PSI1MDUiIHk9IjE0MCIgdHJhbnNmb3JtPSJzY2FsZSguMSkiIHRleHRMZW5ndGg9IjcwIj4yPC90ZXh0PjwvZz48L3N2Zz4=",l="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iNjAiIGhlaWdodD0iMjAiPjxsaW5lYXJHcmFkaWVudCBpZD0icyIgeDI9IjAiIHkyPSIxMDAlIj48c3RvcCBvZmZzZXQ9IjAiIHN0b3AtY29sb3I9IiNiYmIiIHN0b3Atb3BhY2l0eT0iLjEiLz48c3RvcCBvZmZzZXQ9IjEiIHN0b3Atb3BhY2l0eT0iLjEiLz48L2xpbmVhckdyYWRpZW50PjxjbGlwUGF0aCBpZD0iciI+PHJlY3Qgd2lkdGg9IjYwIiBoZWlnaHQ9IjIwIiByeD0iMyIgZmlsbD0iI2ZmZiIvPjwvY2xpcFBhdGg+PGcgY2xpcC1wYXRoPSJ1cmwoI3IpIj48cmVjdCB3aWR0aD0iNDMiIGhlaWdodD0iMjAiIGZpbGw9IiM1NTUiLz48cmVjdCB4PSI0MyIgd2lkdGg9IjE3IiBoZWlnaHQ9IjIwIiBmaWxsPSIjMDBhYjM5Ii8+PHJlY3Qgd2lkdGg9IjYwIiBoZWlnaHQ9IjIwIiBmaWxsPSJ1cmwoI3MpIi8+PC9nPjxnIGZpbGw9IiNmZmYiIHRleHQtYW5jaG9yPSJtaWRkbGUiIGZvbnQtZmFtaWx5PSJWZXJkYW5hLEdlbmV2YSxEZWphVnUgU2FucyxzYW5zLXNlcmlmIiB0ZXh0LXJlbmRlcmluZz0iZ2VvbWV0cmljUHJlY2lzaW9uIiBmb250LXNpemU9IjExMCI+PHRleHQgeD0iMjI1IiB5PSIxNTAiIGZpbGw9IiMwMTAxMDEiIGZpbGwtb3BhY2l0eT0iLjMiIHRyYW5zZm9ybT0ic2NhbGUoLjEpIiB0ZXh0TGVuZ3RoPSIzMzAiPlNaTUM8L3RleHQ+PHRleHQgeD0iMjI1IiB5PSIxNDAiIHRyYW5zZm9ybT0ic2NhbGUoLjEpIiB0ZXh0TGVuZ3RoPSIzMzAiPlNaTUM8L3RleHQ+PHRleHQgeD0iNTA1IiB5PSIxNTAiIGZpbGw9IiMwMTAxMDEiIGZpbGwtb3BhY2l0eT0iLjMiIHRyYW5zZm9ybT0ic2NhbGUoLjEpIiB0ZXh0TGVuZ3RoPSI3MCI+MTwvdGV4dD48dGV4dCB4PSI1MDUiIHk9IjE0MCIgdHJhbnNmb3JtPSJzY2FsZSguMSkiIHRleHRMZW5ndGg9IjcwIj4xPC90ZXh0PjwvZz48L3N2Zz4=",G="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iNjAiIGhlaWdodD0iMjAiPjxsaW5lYXJHcmFkaWVudCBpZD0icyIgeDI9IjAiIHkyPSIxMDAlIj48c3RvcCBvZmZzZXQ9IjAiIHN0b3AtY29sb3I9IiNiYmIiIHN0b3Atb3BhY2l0eT0iLjEiLz48c3RvcCBvZmZzZXQ9IjEiIHN0b3Atb3BhY2l0eT0iLjEiLz48L2xpbmVhckdyYWRpZW50PjxjbGlwUGF0aCBpZD0iciI+PHJlY3Qgd2lkdGg9IjYwIiBoZWlnaHQ9IjIwIiByeD0iMyIgZmlsbD0iI2ZmZiIvPjwvY2xpcFBhdGg+PGcgY2xpcC1wYXRoPSJ1cmwoI3IpIj48cmVjdCB3aWR0aD0iNDMiIGhlaWdodD0iMjAiIGZpbGw9IiM1NTUiLz48cmVjdCB4PSI0MyIgd2lkdGg9IjE3IiBoZWlnaHQ9IjIwIiBmaWxsPSIjMDBhMmUxIi8+PHJlY3Qgd2lkdGg9IjYwIiBoZWlnaHQ9IjIwIiBmaWxsPSJ1cmwoI3MpIi8+PC9nPjxnIGZpbGw9IiNmZmYiIHRleHQtYW5jaG9yPSJtaWRkbGUiIGZvbnQtZmFtaWx5PSJWZXJkYW5hLEdlbmV2YSxEZWphVnUgU2FucyxzYW5zLXNlcmlmIiB0ZXh0LXJlbmRlcmluZz0iZ2VvbWV0cmljUHJlY2lzaW9uIiBmb250LXNpemU9IjExMCI+PHRleHQgeD0iMjI1IiB5PSIxNTAiIGZpbGw9IiMwMTAxMDEiIGZpbGwtb3BhY2l0eT0iLjMiIHRyYW5zZm9ybT0ic2NhbGUoLjEpIiB0ZXh0TGVuZ3RoPSIzMzAiPlNaTUM8L3RleHQ+PHRleHQgeD0iMjI1IiB5PSIxNDAiIHRyYW5zZm9ybT0ic2NhbGUoLjEpIiB0ZXh0TGVuZ3RoPSIzMzAiPlNaTUM8L3RleHQ+PHRleHQgeD0iNTA1IiB5PSIxNTAiIGZpbGw9IiMwMTAxMDEiIGZpbGwtb3BhY2l0eT0iLjMiIHRyYW5zZm9ybT0ic2NhbGUoLjEpIiB0ZXh0TGVuZ3RoPSI3MCI+MzwvdGV4dD48dGV4dCB4PSI1MDUiIHk9IjE0MCIgdHJhbnNmb3JtPSJzY2FsZSguMSkiIHRleHRMZW5ndGg9IjcwIj4zPC90ZXh0PjwvZz48L3N2Zz4=";export{I as _,i as a,Z as b,j as c,l as d,G as e}; diff --git a/assets/3-DAnnB6dV.png b/assets/3-DAnnB6dV.png new file mode 100644 index 000000000..b85720daf Binary files /dev/null and b/assets/3-DAnnB6dV.png differ diff --git a/assets/31d2011305ae4d6680b5c6ebe16c4aa2-D2_F9wKl.jpeg b/assets/31d2011305ae4d6680b5c6ebe16c4aa2-D2_F9wKl.jpeg new file mode 100644 index 000000000..1419840d8 Binary files /dev/null and b/assets/31d2011305ae4d6680b5c6ebe16c4aa2-D2_F9wKl.jpeg differ diff --git a/assets/4-DpplwVzI.png b/assets/4-DpplwVzI.png new file mode 100644 index 000000000..ce125af53 Binary files /dev/null and b/assets/4-DpplwVzI.png differ diff --git a/assets/404.html-C7Zu1eiz.js b/assets/404.html-C7Zu1eiz.js new file mode 100644 index 000000000..f8acb2149 --- /dev/null +++ b/assets/404.html-C7Zu1eiz.js @@ -0,0 +1 @@ +import{_ as t,o as e,c as o,b as a}from"./app-CAXKJsZK.js";const n={},c=a("p",null,"404 Not Found",-1),l=[c];function s(_,r){return e(),o("div",null,l)}const d=t(n,[["render",s],["__file","404.html.vue"]]),h=JSON.parse('{"path":"/404.html","title":"","lang":"zh-CN","frontmatter":{"layout":"NotFound"},"headers":[],"git":{},"filePathRelative":null}');export{d as comp,h as data}; diff --git a/assets/5-Ba5rOnXh.png b/assets/5-Ba5rOnXh.png new file mode 100644 index 000000000..c62f3cf18 Binary files /dev/null and b/assets/5-Ba5rOnXh.png differ diff --git a/assets/59cf84079d9ff4f9-C6NKHKEY.jpg b/assets/59cf84079d9ff4f9-C6NKHKEY.jpg new file mode 100644 index 000000000..8fbd463c6 Binary files /dev/null and b/assets/59cf84079d9ff4f9-C6NKHKEY.jpg differ diff --git a/assets/5e3cf29b0f8a445c94d7446cc68f0e8c-CFIKaRO8.png b/assets/5e3cf29b0f8a445c94d7446cc68f0e8c-CFIKaRO8.png new file mode 100644 index 000000000..b84a5d8ca Binary files /dev/null and b/assets/5e3cf29b0f8a445c94d7446cc68f0e8c-CFIKaRO8.png differ diff --git a/assets/6-39SAiQEW.png b/assets/6-39SAiQEW.png new file mode 100644 index 000000000..659024aca Binary files /dev/null and b/assets/6-39SAiQEW.png differ diff --git a/assets/880086e6cc0a4858822011a636f7cd2d-BrmG-Vbq.jpeg b/assets/880086e6cc0a4858822011a636f7cd2d-BrmG-Vbq.jpeg new file mode 100644 index 000000000..287608eb9 Binary files /dev/null and b/assets/880086e6cc0a4858822011a636f7cd2d-BrmG-Vbq.jpeg differ diff --git a/assets/8851f3bf244d4a8681ac4a1a15364221-CZcav7nn.jpeg b/assets/8851f3bf244d4a8681ac4a1a15364221-CZcav7nn.jpeg new file mode 100644 index 000000000..aed6ec7a9 Binary files /dev/null and b/assets/8851f3bf244d4a8681ac4a1a15364221-CZcav7nn.jpeg differ diff --git a/assets/8d99f0bb36194313a3855fc657cb54c2-B4UyNHqQ.jpeg b/assets/8d99f0bb36194313a3855fc657cb54c2-B4UyNHqQ.jpeg new file mode 100644 index 000000000..d2373848d Binary files /dev/null and b/assets/8d99f0bb36194313a3855fc657cb54c2-B4UyNHqQ.jpeg differ diff --git "a/assets/AED\345\234\260\345\233\276_\346\225\221\346\217\264\351\230\237\345\234\260\345\233\276\347\273\204-trKyo-3-.jpg" "b/assets/AED\345\234\260\345\233\276_\346\225\221\346\217\264\351\230\237\345\234\260\345\233\276\347\273\204-trKyo-3-.jpg" new file mode 100644 index 000000000..86090bbcd Binary files /dev/null and "b/assets/AED\345\234\260\345\233\276_\346\225\221\346\217\264\351\230\237\345\234\260\345\233\276\347\273\204-trKyo-3-.jpg" differ diff --git a/assets/CC-BY-SA_icon-5Xmumph6.svg b/assets/CC-BY-SA_icon-5Xmumph6.svg new file mode 100644 index 000000000..9b0c0bec4 --- /dev/null +++ b/assets/CC-BY-SA_icon-5Xmumph6.svg @@ -0,0 +1,9 @@ + +]> + + Creative Commons “Attribution-Share Alike” license icon + + + + + diff --git a/assets/CC-BY-SA_icon-BrYTWxWC.js b/assets/CC-BY-SA_icon-BrYTWxWC.js new file mode 100644 index 000000000..dbd772518 --- /dev/null +++ b/assets/CC-BY-SA_icon-BrYTWxWC.js @@ -0,0 +1 @@ +const s="/assets/CC-BY-SA_icon-5Xmumph6.svg";export{s as _}; diff --git a/assets/DSC_4009-CVrohAjq.jpg b/assets/DSC_4009-CVrohAjq.jpg new file mode 100644 index 000000000..e184d6e23 Binary files /dev/null and b/assets/DSC_4009-CVrohAjq.jpg differ diff --git a/assets/DSC_4011-DMNposez.jpg b/assets/DSC_4011-DMNposez.jpg new file mode 100644 index 000000000..b9111c54e Binary files /dev/null and b/assets/DSC_4011-DMNposez.jpg differ diff --git a/assets/IMG_20210123_205049-Bw9zRtQM.jpg b/assets/IMG_20210123_205049-Bw9zRtQM.jpg new file mode 100644 index 000000000..e3f45031b Binary files /dev/null and b/assets/IMG_20210123_205049-Bw9zRtQM.jpg differ diff --git a/assets/IMG_20210126_195515-CPmIN8K2.jpg b/assets/IMG_20210126_195515-CPmIN8K2.jpg new file mode 100644 index 000000000..222e854f9 Binary files /dev/null and b/assets/IMG_20210126_195515-CPmIN8K2.jpg differ diff --git a/assets/IMG_20210126_195546-zqQFyckm.jpg b/assets/IMG_20210126_195546-zqQFyckm.jpg new file mode 100644 index 000000000..7cd2f7157 Binary files /dev/null and b/assets/IMG_20210126_195546-zqQFyckm.jpg differ diff --git a/assets/IMG_20210126_195856-DXyF--kV.jpg b/assets/IMG_20210126_195856-DXyF--kV.jpg new file mode 100644 index 000000000..141ddb667 Binary files /dev/null and b/assets/IMG_20210126_195856-DXyF--kV.jpg differ diff --git a/assets/IMG_20210126_195932-CcPoYui6.jpg b/assets/IMG_20210126_195932-CcPoYui6.jpg new file mode 100644 index 000000000..db9ced6e3 Binary files /dev/null and b/assets/IMG_20210126_195932-CcPoYui6.jpg differ diff --git a/assets/IMG_20210126_200439_edit_7106211807769-CvvZZbWP.jpg b/assets/IMG_20210126_200439_edit_7106211807769-CvvZZbWP.jpg new file mode 100644 index 000000000..7c930ebb4 Binary files /dev/null and b/assets/IMG_20210126_200439_edit_7106211807769-CvvZZbWP.jpg differ diff --git a/assets/IMG_20210126_205402-BgYMfnkC.jpg b/assets/IMG_20210126_205402-BgYMfnkC.jpg new file mode 100644 index 000000000..e6f5f7c50 Binary files /dev/null and b/assets/IMG_20210126_205402-BgYMfnkC.jpg differ diff --git a/assets/IMG_20210126_205908-CdzCCfcH.jpg b/assets/IMG_20210126_205908-CdzCCfcH.jpg new file mode 100644 index 000000000..0875a9e4e Binary files /dev/null and b/assets/IMG_20210126_205908-CdzCCfcH.jpg differ diff --git a/assets/IMG_20210126_210458-CZproeSd.jpg b/assets/IMG_20210126_210458-CZproeSd.jpg new file mode 100644 index 000000000..682b6a9f5 Binary files /dev/null and b/assets/IMG_20210126_210458-CZproeSd.jpg differ diff --git a/assets/IMG_20210126_210550-Cg0P0lTE.jpg b/assets/IMG_20210126_210550-Cg0P0lTE.jpg new file mode 100644 index 000000000..1c4520043 Binary files /dev/null and b/assets/IMG_20210126_210550-Cg0P0lTE.jpg differ diff --git a/assets/IMG_20210126_210622-WmxFxbIh.jpg b/assets/IMG_20210126_210622-WmxFxbIh.jpg new file mode 100644 index 000000000..7c4bdcb56 Binary files /dev/null and b/assets/IMG_20210126_210622-WmxFxbIh.jpg differ diff --git a/assets/IMG_20210126_211345-BIDnqlMe.jpg b/assets/IMG_20210126_211345-BIDnqlMe.jpg new file mode 100644 index 000000000..19e54642b Binary files /dev/null and b/assets/IMG_20210126_211345-BIDnqlMe.jpg differ diff --git a/assets/Screenshot_20210128_114248_com.MobileTicket-DWgBBsh0.jpg b/assets/Screenshot_20210128_114248_com.MobileTicket-DWgBBsh0.jpg new file mode 100644 index 000000000..aee8b892e Binary files /dev/null and b/assets/Screenshot_20210128_114248_com.MobileTicket-DWgBBsh0.jpg differ diff --git a/assets/add1-CSk_8w_U.png b/assets/add1-CSk_8w_U.png new file mode 100644 index 000000000..8afdd9a29 Binary files /dev/null and b/assets/add1-CSk_8w_U.png differ diff --git a/assets/add2-DjxZNNCU.png b/assets/add2-DjxZNNCU.png new file mode 100644 index 000000000..7218f35b4 Binary files /dev/null and b/assets/add2-DjxZNNCU.png differ diff --git a/assets/add3-Ck-rhg0Z.png b/assets/add3-Ck-rhg0Z.png new file mode 100644 index 000000000..3fafd5cf5 Binary files /dev/null and b/assets/add3-Ck-rhg0Z.png differ diff --git a/assets/adt.html-Dozl1b7B.js b/assets/adt.html-Dozl1b7B.js new file mode 100644 index 000000000..af9a2bca1 --- /dev/null +++ b/assets/adt.html-Dozl1b7B.js @@ -0,0 +1 @@ +import{_ as s,r as t,o as c,c as r,a,b as e}from"./app-CAXKJsZK.js";const d={},l=e("h1",{id:"adt",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#adt"},[e("span",null,"ADT")])],-1),i=e("p",null,"this page is intended to test the google adsense.",-1);function h(p,_){const n=t("AdSenseInline"),o=t("WeatherSpan");return c(),r("div",null,[l,i,a(n),a(o)])}const f=s(d,[["render",h],["__file","adt.html.vue"]]),u=JSON.parse('{"path":"/site-help/adt.html","title":"ADT","lang":"zh-CN","frontmatter":{},"headers":[],"git":{"updatedTime":1709631677000,"contributors":[{"name":"sparkcyf","email":"sparktour@outlook.com","commits":1}]},"filePathRelative":"site-help/adt.md"}');export{f as comp,u as data}; diff --git a/assets/advice-on-study.html-D5d8w7Xe.js b/assets/advice-on-study.html-D5d8w7Xe.js new file mode 100644 index 000000000..49a8113cc --- /dev/null +++ b/assets/advice-on-study.html-D5d8w7Xe.js @@ -0,0 +1 @@ +import{_ as n,r as s,o as t,c as r,b as e,a as i,w as h,d as a,e as p}from"./app-CAXKJsZK.js";const d={},c=p('

📖学习建议

包括暑假学习建议、大学学习准备、入学考试准备、个人提升。

由树德书院学长团整理。

序言

在2020高考的你们,注定和今年一样不平凡。虽然结束了繁忙⽽充实的⾼中三年,但却需要马不停蹄地准备大学开学,投入到全新的学习与生活环境中。大学和高中的生活方式有很多不同,学习模式有根本区别。在本弹中,树德学长团特意为大家总结了在南科大学习,你需要拥有的学习心态,需要掌握的学习方法以及入学考试的相关信息。希望在这份迷你宝典的加持下,大家能够从容面对大学全新学习模式的挑战!

心法为上

相⽐⾼中来说,⼤学学习的课程节奏更快、涉及范围更广,尤其是南科⼤的英语教学,需要⼀定的时间适应。因此,大学学习的首要心理准备是“认清形势,放弃幻想,准备斗争”。认识到高中与大学之间学习内容与方式的巨大区别,放弃延续高中学习方法也能学的很好,高中成绩很好大学成绩也会很好的幻想,准备探索新的学习模式,准备新的斗争。能够进入南科大的同学,往往在高中名列前茅,也有自己的学习方法。一些同学进入大学后能够维持,但也有不少同学会需要时间适应。唯有清楚挑战的难度,直面挑战,才能更好地迎接挑战。

第二点要认识到学习依然是大学阶段最重要的事情。大学生活丰富多彩,无论科研实验,学生社团还是社会实践活动,都能成为你放下学习投入时间的理由。但从长远来看,学习本身才应该是大学阶段性价比最高的选择,才是学校中最独特而珍贵的资源。因此应当为学习安排足够的时间,确保自己的学习效果,并且保证自己的学习成绩能够让对得起的自己目标与付出。

当你对大学学习模式和学习的重要性有了足够的认识,最后还需要一颗自信坚强的大心脏搭载着你一往无前,乘风破浪。是的,要自信!似乎不难对吗?倘若你对于学习游刃有余,成绩优异,那的确不难。但如果你为之付出为之拼搏,却三番五次地跌倒在自己的目标前,你是否依旧相信自己呢?真正的自信便是在多次失利后(在南科大是很常见的)仍然无条件相信自己,努力地找原因,往前进。

希望接下来的你,能够正视大学学习的特性,相信学习的重要性,并且相信自己的努力能在南科大有所收获,有所成长。

打开方式

核心无他,主动二字。如果说高中的学习为的是高考,那么大学的学习为的就是自己与国家复兴大业。由于少了老师同学的督促和清晰可见的目标,学习是容易迷失的,我们应当把握核心方向:主动。那么具体方式呢?可以主动预习复习,主动搜索可靠教辅资料,主动刷b站油管的网课,主动多做些习题,主动向老师和同学求助,主动成立学习小组……用你的主动和努力,你将开启全新的学习世界!

以下是南科大一些学科的暑期打开方式简介。更多内容欢迎关注学生会学创部与学长团共同出品的课程指南,你能了解到完整的基础课程打开方式!

课程

英语

在南科⼤,⽆论是适应英⽂教学,还是未来出国交换,英语能⼒强的同学都很有优势。⼩可爱们在假期可以重点提升英语的听和说的能⼒,⽐如看⼀些Ted Talk、美剧等等。看的时候需要有意识地练习听⼒,会⽐单纯追剧关注情节帮助更⼤。

有⼀个实⽤的⼩⽅法:为达到练习听⼒的效果,同⼀个视频可以看两遍,这样看第二遍时的注意⼒就能放在“听”本⾝⽽不⾄于过多关注剧情,既不枯燥,⼜可以学习英语。还可以使⽤类似于“英语趣配⾳”这样的⼿机app,帮助⾃⼰练习⼝语,使⾃⼰的英语⼝语听起来更像native speakers。南科⼤的英语考试题型与四六级类似,⼩可爱们也可以通过做真题等⽅式熟悉⼀下四六级题型,也为四六级考试打下基础,准备雅思、托福也是不错的选择。

线性代数(Linear Algebra)

强烈推荐网易公开课Gilbert Strang(⿇省理⼯)的线性代数,这位⽼教授教了很多年的线性代数,课程质量很⾼,不少学⻓学姐在学习线性代数时都会将这些课作为“课后加餐”。

⿇省理⼯公开课:线性代数/网易公开课

计算机程序设计基础 (JAVA)

在南科⼤学习的第⼀⻔编程语⾔是Java,相⽐其他⼤学⼀开始会选择C语⾔,南科⼤的计算机程序设计基础课还是⾮常硬核的,对没有接触过编程的同学有些不友好。感兴趣的同学可以在假期自学⼀些内容(不过来大学之后再开始学也没事的,不⽤有压⼒哦)。

高等数学

自学必要性不如上⾯的三⻔课程。相关资料可以参照课程指南。

入学考试的建议

开学后将⾯临的,⾸先是⼊学的考试,有数学,物理,计算机导论,英语等。以下仅为19级的情况,20级可能会有部分变动。

英语考试与计算机导论的考试:两者均⾮选拔性考试,⽽是分级考试。学校会根据考试的成绩(英语还会结合⾼考成绩和新⽣适应周随堂测试的成绩),来建议同学们修读符合⾃⼰英语/计算机⽔平的对应课程,更有针对性地帮助各位⼩可爱们与⼤学学习接轨。英语会分为SUSTech English I、II、III三个等级,难度依次增加,每个等级有对应的必修课程。⽽计算机考试成绩不理想(没有达到⼀定分数)的同学,必须先修读“计算机导论”这⻔课,才能修读必修课程“计算机程序设计基础”。

此外2020级有可能会增加数学和物理的选拔考试。这里也介绍一下2018年两门科目的选拔考试设置情况。

数学选拔考试:建议意向修读应⽤数学、统计学、⾦融数学的童鞋参加数学选拔考试,有利于更早进⼊专业。考试范围有⼀部分是⾼中内容也有⼀部分是拓展内容。不进⼊以上专业的萌新们可以不⽤报名数学选拔考试。

物理选拔考试:选拔通过后能修读⼤学物理(A),⽐⼤多数同学修读的⼤学物理(B)更难。但⼤学物理(A)不是任何专业的必修课,修读只是为了增强专业竞争⼒,对物理有较⼤兴趣并且学有余⼒的同学可以报考。

继续阅读...

',31);function o(u,g){const l=s("RouteLink");return t(),r("div",null,[c,e("ul",null,[e("li",null,[i(l,{to:"/study/by-shude-college/info-on-study.html"},{default:h(()=>[a("学习制度(包含GPA表、专业概览、选课指导、学习资源、图书馆学习攻略、学籍管理)")]),_:1}),a("study-advice-by-zhicheng-college")])])])}const b=n(d,[["render",o],["__file","advice-on-study.html.vue"]]),v=JSON.parse('{"path":"/study/by-shude-college/advice-on-study.html","title":"📖学习建议","lang":"zh-CN","frontmatter":{"sidebar":"auto"},"headers":[{"level":2,"title":"序言","slug":"序言","link":"#序言","children":[{"level":3,"title":"心法为上","slug":"心法为上","link":"#心法为上","children":[]},{"level":3,"title":"打开方式","slug":"打开方式","link":"#打开方式","children":[]}]},{"level":2,"title":"课程","slug":"课程","link":"#课程","children":[{"level":3,"title":"英语","slug":"英语","link":"#英语","children":[]},{"level":3,"title":"线性代数(Linear Algebra)","slug":"线性代数-linear-algebra","link":"#线性代数-linear-algebra","children":[]},{"level":3,"title":"计算机程序设计基础 (JAVA)","slug":"计算机程序设计基础-java","link":"#计算机程序设计基础-java","children":[]},{"level":3,"title":"高等数学","slug":"高等数学","link":"#高等数学","children":[]},{"level":3,"title":"入学考试的建议","slug":"入学考试的建议","link":"#入学考试的建议","children":[]}]},{"level":2,"title":"继续阅读...","slug":"继续阅读","link":"#继续阅读","children":[]}],"git":{"updatedTime":1628693393000,"contributors":[{"name":"sparkcyf","email":"sparktour@outlook.com","commits":6},{"name":"liziwl","email":"leezisy@gmail.com","commits":1}]},"filePathRelative":"study/by-shude-college/advice-on-study.md"}');export{b as comp,v as data}; diff --git a/assets/afbd3cddd2d945bf852c2fec15fc6519-nZhsHPAy.jpeg b/assets/afbd3cddd2d945bf852c2fec15fc6519-nZhsHPAy.jpeg new file mode 100644 index 000000000..7d8a1baf9 Binary files /dev/null and b/assets/afbd3cddd2d945bf852c2fec15fc6519-nZhsHPAy.jpeg differ diff --git a/assets/app-CAXKJsZK.js b/assets/app-CAXKJsZK.js new file mode 100644 index 000000000..9829ed153 --- /dev/null +++ b/assets/app-CAXKJsZK.js @@ -0,0 +1,795 @@ +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/index.html-55391GHD.js","assets/CC-BY-SA_icon-BrYTWxWC.js","assets/index-wx.html-BbsdHAGY.js","assets/2023-2024.html-CceQ4CII.js","assets/2024-2-Dsw9L24n.js","assets/index.html-BG9HB7g4.js","assets/index.html-2k2ELrJC.js","assets/3-By_0Luwc.js","assets/index.html-DiFnQrIv.js","assets/bustimer-old.html-CIk1RF6S.js","assets/busline2-a5ykBpx8.js","assets/holiday.html-CQKGMrsI.js","assets/workday.html-BoYrvDQg.js"])))=>i.map(i=>d[i]); +/** +* @vue/shared v3.4.32 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**//*! #__NO_SIDE_EFFECTS__ */function nI(e,t){const r=new Set(e.split(","));return n=>r.has(n)}const Fn={},qd=[],Do=()=>{},CW=()=>!1,Ey=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),iI=e=>e.startsWith("onUpdate:"),ci=Object.assign,aI=(e,t)=>{const r=e.indexOf(t);r>-1&&e.splice(r,1)},PW=Object.prototype.hasOwnProperty,Vr=(e,t)=>PW.call(e,t),fr=Array.isArray,Zd=e=>gx(e)==="[object Map]",vB=e=>gx(e)==="[object Set]",br=e=>typeof e=="function",Xn=e=>typeof e=="string",lc=e=>typeof e=="symbol",En=e=>e!==null&&typeof e=="object",gB=e=>(En(e)||br(e))&&br(e.then)&&br(e.catch),yB=Object.prototype.toString,gx=e=>yB.call(e),AW=e=>gx(e).slice(8,-1),_B=e=>gx(e)==="[object Object]",oI=e=>Xn(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Xd=nI(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),yx=e=>{const t=Object.create(null);return r=>t[r]||(t[r]=e(r))},IW=/-(\w)/g,ao=yx(e=>e.replace(IW,(t,r)=>r?r.toUpperCase():"")),EW=/\B([A-Z])/g,uc=yx(e=>e.replace(EW,"-$1").toLowerCase()),My=yx(e=>e.charAt(0).toUpperCase()+e.slice(1)),WS=yx(e=>e?`on${My(e)}`:""),rc=(e,t)=>!Object.is(e,t),qS=(e,...t)=>{for(let r=0;r{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:n,value:r})},MW=e=>{const t=parseFloat(e);return isNaN(t)?e:t},DW=e=>{const t=Xn(e)?Number(e):NaN;return isNaN(t)?e:t};let NL;const xB=()=>NL||(NL=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Bp(e){if(fr(e)){const t={};for(let r=0;r{if(r){const n=r.split(kW);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function Bi(e){let t="";if(Xn(e))t=e;else if(fr(e))for(let r=0;r!!(e&&e.__v_isRef===!0),mr=e=>Xn(e)?e:e==null?"":fr(e)||En(e)&&(e.toString===yB||!br(e.toString))?SB(e)?mr(e.value):JSON.stringify(e,TB,2):String(e),TB=(e,t)=>SB(t)?TB(e,t.value):Zd(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((r,[n,i],a)=>(r[ZS(n,a)+" =>"]=i,r),{})}:vB(t)?{[`Set(${t.size})`]:[...t.values()].map(r=>ZS(r))}:lc(t)?ZS(t):En(t)&&!fr(t)&&!_B(t)?String(t):t,ZS=(e,t="")=>{var r;return lc(e)?`Symbol(${(r=e.description)!=null?r:t})`:e};/** +* @vue/reactivity v3.4.32 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/let eo;class $W{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=eo,!t&&eo&&(this.index=(eo.scopes||(eo.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const r=eo;try{return eo=this,t()}finally{eo=r}}}on(){eo=this}off(){eo=this.parent}stop(t){if(this._active){let r,n;for(r=0,n=this.effects.length;r=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),hc()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=Ku,r=Nh;try{return Ku=!0,Nh=this,this._runnings++,VL(this),this.fn()}finally{jL(this),this._runnings--,Nh=r,Ku=t}}stop(){this.active&&(VL(this),jL(this),this.onStop&&this.onStop(),this.active=!1)}}function jW(e){return e.value}function VL(e){e._trackId++,e._depsLength=0}function jL(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t{const r=new Map;return r.cleanup=e,r.computed=t,r},sb=new WeakMap,Vh=Symbol(""),IC=Symbol("");function za(e,t,r){if(Ku&&Nh){let n=sb.get(e);n||sb.set(e,n=new Map);let i=n.get(r);i||n.set(r,i=MB(()=>n.delete(r))),IB(Nh,i)}}function Nl(e,t,r,n,i,a){const o=sb.get(e);if(!o)return;let s=[];if(t==="clear")s=[...o.values()];else if(r==="length"&&fr(e)){const c=Number(n);o.forEach((d,m)=>{(m==="length"||!lc(m)&&m>=c)&&s.push(d)})}else switch(r!==void 0&&s.push(o.get(r)),t){case"add":fr(e)?oI(r)&&s.push(o.get("length")):(s.push(o.get(Vh)),Zd(e)&&s.push(o.get(IC)));break;case"delete":fr(e)||(s.push(o.get(Vh)),Zd(e)&&s.push(o.get(IC)));break;case"set":Zd(e)&&s.push(o.get(Vh));break}lI();for(const c of s)c&&EB(c,4);uI()}function HW(e,t){const r=sb.get(e);return r&&r.get(t)}const UW=nI("__proto__,__v_isRef,__isVue"),DB=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(lc)),HL=GW();function GW(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...r){const n=Nr(this);for(let a=0,o=this.length;a{e[t]=function(...r){cc(),lI();const n=Nr(this)[t].apply(this,r);return uI(),hc(),n}}),e}function WW(e){lc(e)||(e=String(e));const t=Nr(this);return za(t,"has",e),t.hasOwnProperty(e)}class LB{constructor(t=!1,r=!1){this._isReadonly=t,this._isShallow=r}get(t,r,n){const i=this._isReadonly,a=this._isShallow;if(r==="__v_isReactive")return!i;if(r==="__v_isReadonly")return i;if(r==="__v_isShallow")return a;if(r==="__v_raw")return n===(i?a?aq:zB:a?OB:RB).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(n)?t:void 0;const o=fr(t);if(!i){if(o&&Vr(HL,r))return Reflect.get(HL,r,n);if(r==="hasOwnProperty")return WW}const s=Reflect.get(t,r,n);return(lc(r)?DB.has(r):UW(r))||(i||za(t,"get",r),a)?s:Ni(s)?o&&oI(r)?s:s.value:En(s)?i?bx(s):oo(s):s}}class kB extends LB{constructor(t=!1){super(!1,t)}set(t,r,n,i){let a=t[r];if(!this._isShallow){const c=ef(a);if(!fp(n)&&!ef(n)&&(a=Nr(a),n=Nr(n)),!fr(t)&&Ni(a)&&!Ni(n))return c?!1:(a.value=n,!0)}const o=fr(t)&&oI(r)?Number(r)e,_x=e=>Reflect.getPrototypeOf(e);function o0(e,t,r=!1,n=!1){e=e.__v_raw;const i=Nr(e),a=Nr(t);r||(rc(t,a)&&za(i,"get",t),za(i,"get",a));const{has:o}=_x(i),s=n?cI:r?dI:Vg;if(o.call(i,t))return s(e.get(t));if(o.call(i,a))return s(e.get(a));e!==i&&e.get(t)}function s0(e,t=!1){const r=this.__v_raw,n=Nr(r),i=Nr(e);return t||(rc(e,i)&&za(n,"has",e),za(n,"has",i)),e===i?r.has(e):r.has(e)||r.has(i)}function l0(e,t=!1){return e=e.__v_raw,!t&&za(Nr(e),"iterate",Vh),Reflect.get(e,"size",e)}function UL(e,t=!1){!t&&!fp(e)&&!ef(e)&&(e=Nr(e));const r=Nr(this);return _x(r).has.call(r,e)||(r.add(e),Nl(r,"add",e,e)),this}function GL(e,t,r=!1){!r&&!fp(t)&&!ef(t)&&(t=Nr(t));const n=Nr(this),{has:i,get:a}=_x(n);let o=i.call(n,e);o||(e=Nr(e),o=i.call(n,e));const s=a.call(n,e);return n.set(e,t),o?rc(t,s)&&Nl(n,"set",e,t):Nl(n,"add",e,t),this}function WL(e){const t=Nr(this),{has:r,get:n}=_x(t);let i=r.call(t,e);i||(e=Nr(e),i=r.call(t,e)),n&&n.call(t,e);const a=t.delete(e);return i&&Nl(t,"delete",e,void 0),a}function qL(){const e=Nr(this),t=e.size!==0,r=e.clear();return t&&Nl(e,"clear",void 0,void 0),r}function u0(e,t){return function(n,i){const a=this,o=a.__v_raw,s=Nr(o),c=t?cI:e?dI:Vg;return!e&&za(s,"iterate",Vh),o.forEach((d,m)=>n.call(i,c(d),c(m),a))}}function c0(e,t,r){return function(...n){const i=this.__v_raw,a=Nr(i),o=Zd(a),s=e==="entries"||e===Symbol.iterator&&o,c=e==="keys"&&o,d=i[e](...n),m=r?cI:t?dI:Vg;return!t&&za(a,"iterate",c?IC:Vh),{next(){const{value:v,done:y}=d.next();return y?{value:v,done:y}:{value:s?[m(v[0]),m(v[1])]:m(v),done:y}},[Symbol.iterator](){return this}}}}function xu(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function YW(){const e={get(a){return o0(this,a)},get size(){return l0(this)},has:s0,add:UL,set:GL,delete:WL,clear:qL,forEach:u0(!1,!1)},t={get(a){return o0(this,a,!1,!0)},get size(){return l0(this)},has:s0,add(a){return UL.call(this,a,!0)},set(a,o){return GL.call(this,a,o,!0)},delete:WL,clear:qL,forEach:u0(!1,!0)},r={get(a){return o0(this,a,!0)},get size(){return l0(this,!0)},has(a){return s0.call(this,a,!0)},add:xu("add"),set:xu("set"),delete:xu("delete"),clear:xu("clear"),forEach:u0(!0,!1)},n={get(a){return o0(this,a,!0,!0)},get size(){return l0(this,!0)},has(a){return s0.call(this,a,!0)},add:xu("add"),set:xu("set"),delete:xu("delete"),clear:xu("clear"),forEach:u0(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(a=>{e[a]=c0(a,!1,!1),r[a]=c0(a,!0,!1),t[a]=c0(a,!1,!0),n[a]=c0(a,!0,!0)}),[e,r,t,n]}const[JW,QW,eq,tq]=YW();function hI(e,t){const r=t?e?tq:eq:e?QW:JW;return(n,i,a)=>i==="__v_isReactive"?!e:i==="__v_isReadonly"?e:i==="__v_raw"?n:Reflect.get(Vr(r,i)&&i in n?r:n,i,a)}const rq={get:hI(!1,!1)},nq={get:hI(!1,!0)},iq={get:hI(!0,!1)};const RB=new WeakMap,OB=new WeakMap,zB=new WeakMap,aq=new WeakMap;function oq(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function sq(e){return e.__v_skip||!Object.isExtensible(e)?0:oq(AW(e))}function oo(e){return ef(e)?e:fI(e,!1,ZW,rq,RB)}function BB(e){return fI(e,!1,KW,nq,OB)}function bx(e){return fI(e,!0,XW,iq,zB)}function fI(e,t,r,n,i){if(!En(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const a=i.get(e);if(a)return a;const o=sq(e);if(o===0)return e;const s=new Proxy(e,o===2?n:r);return i.set(e,s),s}function Kd(e){return ef(e)?Kd(e.__v_raw):!!(e&&e.__v_isReactive)}function ef(e){return!!(e&&e.__v_isReadonly)}function fp(e){return!!(e&&e.__v_isShallow)}function FB(e){return e?!!e.__v_raw:!1}function Nr(e){const t=e&&e.__v_raw;return t?Nr(t):e}function lq(e){return Object.isExtensible(e)&&bB(e,"__v_skip",!0),e}const Vg=e=>En(e)?oo(e):e,dI=e=>En(e)?bx(e):e;class $B{constructor(t,r,n,i){this.getter=t,this._setter=r,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new sI(()=>t(this._value),()=>Yd(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!i,this.__v_isReadonly=n}get value(){const t=Nr(this);return(!t._cacheable||t.effect.dirty)&&rc(t._value,t._value=t.effect.run())&&Yd(t,4),pI(t),t.effect._dirtyLevel>=2&&Yd(t,2),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function uq(e,t,r=!1){let n,i;const a=br(e);return a?(n=e,i=Do):(n=e.get,i=e.set),new $B(n,i,a||!i,r)}function pI(e){var t;Ku&&Nh&&(e=Nr(e),IB(Nh,(t=e.dep)!=null?t:e.dep=MB(()=>e.dep=void 0,e instanceof $B?e:void 0)))}function Yd(e,t=4,r,n){e=Nr(e);const i=e.dep;i&&EB(i,t)}function Ni(e){return!!(e&&e.__v_isRef===!0)}function Qt(e){return NB(e,!1)}function on(e){return NB(e,!0)}function NB(e,t){return Ni(e)?e:new cq(e,t)}class cq{constructor(t,r){this.__v_isShallow=r,this.dep=void 0,this.__v_isRef=!0,this._rawValue=r?t:Nr(t),this._value=r?t:Vg(t)}get value(){return pI(this),this._value}set value(t){const r=this.__v_isShallow||fp(t)||ef(t);t=r?t:Nr(t),rc(t,this._rawValue)&&(this._rawValue,this._rawValue=t,this._value=r?t:Vg(t),Yd(this,4))}}function hq(e){Yd(e,4)}function ka(e){return Ni(e)?e.value:e}const fq={get:(e,t,r)=>ka(Reflect.get(e,t,r)),set:(e,t,r,n)=>{const i=e[t];return Ni(i)&&!Ni(r)?(i.value=r,!0):Reflect.set(e,t,r,n)}};function VB(e){return Kd(e)?e:new Proxy(e,fq)}class dq{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:r,set:n}=t(()=>pI(this),()=>Yd(this));this._get=r,this._set=n}get value(){return this._get()}set value(t){this._set(t)}}function pq(e){return new dq(e)}function xx(e){const t=fr(e)?new Array(e.length):{};for(const r in e)t[r]=jB(e,r);return t}class mq{constructor(t,r,n){this._object=t,this._key=r,this._defaultValue=n,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return HW(Nr(this._object),this._key)}}class vq{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function gq(e,t,r){return Ni(e)?e:br(e)?new vq(e):En(e)&&arguments.length>1?jB(e,t,r):Qt(e)}function jB(e,t,r){const n=e[t];return Ni(n)?n:new mq(e,t,r)}/** +* @vue/runtime-core v3.4.32 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/function Yu(e,t,r,n){try{return n?e(...n):e()}catch(i){Dy(i,t,r)}}function Lo(e,t,r,n){if(br(e)){const i=Yu(e,t,r,n);return i&&gB(i)&&i.catch(a=>{Dy(a,t,r)}),i}if(fr(e)){const i=[];for(let a=0;a>>1,i=ta[n],a=Hg(i);aUs&&ta.splice(t,1)}function xq(e){fr(e)?Jd.push(...e):(!zu||!zu.includes(e,e.allowRecurse?Ih+1:Ih))&&Jd.push(e),UB()}function ZL(e,t,r=jg?Us+1:0){for(;rHg(r)-Hg(n));if(Jd.length=0,zu){zu.push(...t);return}for(zu=t,Ih=0;Ihe.id==null?1/0:e.id,wq=(e,t)=>{const r=Hg(e)-Hg(t);if(r===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return r};function GB(e){EC=!1,jg=!0,ta.sort(wq);try{for(Us=0;Us{n._d&&ck(-1);const a=ub(t);let o;try{o=e(...i)}finally{ub(a),n._d&&ck(1)}return o};return n._n=!0,n._c=!0,n._d=!0,n}function cb(e,t){if(Ii===null)return e;const r=Ix(Ii),n=e.dirs||(e.dirs=[]);for(let i=0;i{e.isMounted=!0}),fc(()=>{e.isUnmounting=!0}),e}const yo=[Function,Array],qB={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:yo,onEnter:yo,onAfterEnter:yo,onEnterCancelled:yo,onBeforeLeave:yo,onLeave:yo,onAfterLeave:yo,onLeaveCancelled:yo,onBeforeAppear:yo,onAppear:yo,onAfterAppear:yo,onAppearCancelled:yo},ZB=e=>{const t=e.subTree;return t.component?ZB(t.component):t},Sq={name:"BaseTransition",props:qB,setup(e,{slots:t}){const r=Xl(),n=WB();return()=>{const i=t.default&&yI(t.default(),!0);if(!i||!i.length)return;let a=i[0];if(i.length>1){for(const y of i)if(y.type!==ra){a=y;break}}const o=Nr(e),{mode:s}=o;if(n.isLeaving)return XS(a);const c=XL(a);if(!c)return XS(a);let d=Ug(c,o,n,r,y=>d=y);dp(c,d);const m=r.subTree,v=m&&XL(m);if(v&&v.type!==ra&&!Eh(c,v)&&ZB(r).type!==ra){const y=Ug(v,o,n,r);if(dp(v,y),s==="out-in"&&c.type!==ra)return n.isLeaving=!0,y.afterLeave=()=>{n.isLeaving=!1,r.update.active!==!1&&(r.effect.dirty=!0,r.update())},XS(a);s==="in-out"&&c.type!==ra&&(y.delayLeave=(_,S,I)=>{const E=XB(n,v);E[String(v.key)]=v,_[Bu]=()=>{S(),_[Bu]=void 0,delete d.delayedLeave},d.delayedLeave=I})}return a}}},Tq=Sq;function XB(e,t){const{leavingVNodes:r}=e;let n=r.get(t.type);return n||(n=Object.create(null),r.set(t.type,n)),n}function Ug(e,t,r,n,i){const{appear:a,mode:o,persisted:s=!1,onBeforeEnter:c,onEnter:d,onAfterEnter:m,onEnterCancelled:v,onBeforeLeave:y,onLeave:_,onAfterLeave:S,onLeaveCancelled:I,onBeforeAppear:E,onAppear:M,onAfterAppear:L,onAppearCancelled:R}=t,$=String(e.key),G=XB(r,e),j=(Q,ee)=>{Q&&Lo(Q,n,9,ee)},H=(Q,ee)=>{const ne=ee[1];j(Q,ee),fr(Q)?Q.every(ie=>ie.length<=1)&&ne():Q.length<=1&&ne()},Z={mode:o,persisted:s,beforeEnter(Q){let ee=c;if(!r.isMounted)if(a)ee=E||c;else return;Q[Bu]&&Q[Bu](!0);const ne=G[$];ne&&Eh(e,ne)&&ne.el[Bu]&&ne.el[Bu](),j(ee,[Q])},enter(Q){let ee=d,ne=m,ie=v;if(!r.isMounted)if(a)ee=M||d,ne=L||m,ie=R||v;else return;let ce=!1;const Ae=Q[h0]=ue=>{ce||(ce=!0,ue?j(ie,[Q]):j(ne,[Q]),Z.delayedLeave&&Z.delayedLeave(),Q[h0]=void 0)};ee?H(ee,[Q,Ae]):Ae()},leave(Q,ee){const ne=String(e.key);if(Q[h0]&&Q[h0](!0),r.isUnmounting)return ee();j(y,[Q]);let ie=!1;const ce=Q[Bu]=Ae=>{ie||(ie=!0,ee(),Ae?j(I,[Q]):j(S,[Q]),Q[Bu]=void 0,G[ne]===e&&delete G[ne])};G[ne]=e,_?H(_,[Q,ce]):ce()},clone(Q){const ee=Ug(Q,t,r,n,i);return i&&i(ee),ee}};return Z}function XS(e){if(Ly(e))return e=nc(e),e.children=null,e}function XL(e){if(!Ly(e))return e;const{shapeFlag:t,children:r}=e;if(r){if(t&16)return r[0];if(t&32&&br(r.default))return r.default()}}function dp(e,t){e.shapeFlag&6&&e.component?dp(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function yI(e,t=!1,r){let n=[],i=0;for(let a=0;a1)for(let a=0;a!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function Cq(e){br(e)&&(e={loader:e});const{loader:t,loadingComponent:r,errorComponent:n,delay:i=200,timeout:a,suspensible:o=!0,onError:s}=e;let c=null,d,m=0;const v=()=>(m++,c=null,y()),y=()=>{let _;return c||(_=c=t().catch(S=>{if(S=S instanceof Error?S:new Error(String(S)),s)return new Promise((I,E)=>{s(S,()=>I(v()),()=>E(S),m+1)});throw S}).then(S=>_!==c&&c?c:(S&&(S.__esModule||S[Symbol.toStringTag]==="Module")&&(S=S.default),d=S,S)))};return Zt({name:"AsyncComponentWrapper",__asyncLoader:y,get __asyncResolved(){return d},setup(){const _=Ai;if(d)return()=>KS(d,_);const S=L=>{c=null,Dy(L,_,13,!n)};if(o&&_.suspense||Ry)return y().then(L=>()=>KS(L,_)).catch(L=>(S(L),()=>n?ke(n,{error:L}):null));const I=Qt(!1),E=Qt(),M=Qt(!!i);return i&&setTimeout(()=>{M.value=!1},i),a!=null&&setTimeout(()=>{if(!I.value&&!E.value){const L=new Error(`Async component timed out after ${a}ms.`);S(L),E.value=L}},a),y().then(()=>{I.value=!0,_.parent&&Ly(_.parent.vnode)&&(_.parent.effect.dirty=!0,Sx(_.parent.update))}).catch(L=>{S(L),E.value=L}),()=>{if(I.value&&d)return KS(d,_);if(E.value&&n)return ke(n,{error:E.value});if(r&&!M.value)return ke(r)}}})}function KS(e,t){const{ref:r,props:n,children:i,ce:a}=t.vnode,o=ke(e,n,i);return o.ref=r,o.ce=a,delete t.vnode.ce,o}const Ly=e=>e.type.__isKeepAlive;function Pq(e,t){KB(e,"a",t)}function Aq(e,t){KB(e,"da",t)}function KB(e,t,r=Ai){const n=e.__wdc||(e.__wdc=()=>{let i=r;for(;i;){if(i.isDeactivated)return;i=i.parent}return e()});if(Cx(t,n,r),r){let i=r.parent;for(;i&&i.parent;)Ly(i.parent.vnode)&&Iq(n,t,r,i),i=i.parent}}function Iq(e,t,r,n){const i=Cx(t,e,n,!0);Fp(()=>{aI(n[t],i)},r)}function Cx(e,t,r=Ai,n=!1){if(r){const i=r[e]||(r[e]=[]),a=t.__weh||(t.__weh=(...o)=>{cc();const s=ky(r),c=Lo(t,r,e,o);return s(),hc(),c});return n?i.unshift(a):i.push(a),a}}const Zl=e=>(t,r=Ai)=>{(!Ry||e==="sp")&&Cx(e,(...n)=>t(...n),r)},YB=Zl("bm"),Tn=Zl("m"),Eq=Zl("bu"),Px=Zl("u"),fc=Zl("bum"),Fp=Zl("um"),Mq=Zl("sp"),Dq=Zl("rtg"),Lq=Zl("rtc");function kq(e,t=Ai){Cx("ec",e,t)}const JB="components";function jn(e,t){return Oq(JB,e,!0,t)||e}const Rq=Symbol.for("v-ndc");function Oq(e,t,r=!0,n=!1){const i=Ii||Ai;if(i){const a=i.type;if(e===JB){const s=PZ(a,!1);if(s&&(s===t||s===ao(t)||s===My(ao(t))))return a}const o=KL(i[e]||a[e],t)||KL(i.appContext[e],t);return!o&&n?a:o}}function KL(e,t){return e&&(e[t]||e[ao(t)]||e[My(ao(t))])}function xa(e,t,r,n){let i;const a=r;if(fr(e)||Xn(e)){i=new Array(e.length);for(let o=0,s=e.length;ot(o,s,void 0,a));else{const o=Object.keys(e);i=new Array(o.length);for(let s=0,c=o.length;sWg(t)?!(t.type===ra||t.type===Er&&!QB(t.children)):!0)?e:null}const MC=e=>e?SF(e)?Ix(e):MC(e.parent):null,fg=ci(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=>MC(e.parent),$root:e=>MC(e.root),$emit:e=>e.emit,$options:e=>_I(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,Sx(e.update)}),$nextTick:e=>e.n||(e.n=No.bind(e.proxy)),$watch:e=>sZ.bind(e)}),YS=(e,t)=>e!==Fn&&!e.__isScriptSetup&&Vr(e,t),zq={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:r,setupState:n,data:i,props:a,accessCache:o,type:s,appContext:c}=e;let d;if(t[0]!=="$"){const _=o[t];if(_!==void 0)switch(_){case 1:return n[t];case 2:return i[t];case 4:return r[t];case 3:return a[t]}else{if(YS(n,t))return o[t]=1,n[t];if(i!==Fn&&Vr(i,t))return o[t]=2,i[t];if((d=e.propsOptions[0])&&Vr(d,t))return o[t]=3,a[t];if(r!==Fn&&Vr(r,t))return o[t]=4,r[t];DC&&(o[t]=0)}}const m=fg[t];let v,y;if(m)return t==="$attrs"&&za(e.attrs,"get",""),m(e);if((v=s.__cssModules)&&(v=v[t]))return v;if(r!==Fn&&Vr(r,t))return o[t]=4,r[t];if(y=c.config.globalProperties,Vr(y,t))return y[t]},set({_:e},t,r){const{data:n,setupState:i,ctx:a}=e;return YS(i,t)?(i[t]=r,!0):n!==Fn&&Vr(n,t)?(n[t]=r,!0):Vr(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(a[t]=r,!0)},has({_:{data:e,setupState:t,accessCache:r,ctx:n,appContext:i,propsOptions:a}},o){let s;return!!r[o]||e!==Fn&&Vr(e,o)||YS(t,o)||(s=a[0])&&Vr(s,o)||Vr(n,o)||Vr(fg,o)||Vr(i.config.globalProperties,o)},defineProperty(e,t,r){return r.get!=null?e._.accessCache[t]=0:Vr(r,"value")&&this.set(e,t,r.value,null),Reflect.defineProperty(e,t,r)}};function YL(e){return fr(e)?e.reduce((t,r)=>(t[r]=null,t),{}):e}let DC=!0;function Bq(e){const t=_I(e),r=e.proxy,n=e.ctx;DC=!1,t.beforeCreate&&JL(t.beforeCreate,e,"bc");const{data:i,computed:a,methods:o,watch:s,provide:c,inject:d,created:m,beforeMount:v,mounted:y,beforeUpdate:_,updated:S,activated:I,deactivated:E,beforeDestroy:M,beforeUnmount:L,destroyed:R,unmounted:$,render:G,renderTracked:j,renderTriggered:H,errorCaptured:Z,serverPrefetch:Q,expose:ee,inheritAttrs:ne,components:ie,directives:ce,filters:Ae}=t;if(d&&Fq(d,n,null),o)for(const He in o){const $e=o[He];br($e)&&(n[He]=$e.bind(r))}if(i){const He=i.call(r,r);En(He)&&(e.data=oo(He))}if(DC=!0,a)for(const He in a){const $e=a[He],lt=br($e)?$e.bind(r,r):br($e.get)?$e.get.bind(r,r):Do,Ct=!br($e)&&br($e.set)?$e.set.bind(r):Do,Ut=Le({get:lt,set:Ct});Object.defineProperty(n,He,{enumerable:!0,configurable:!0,get:()=>Ut.value,set:Vt=>Ut.value=Vt})}if(s)for(const He in s)eF(s[He],n,r,He);if(c){const He=br(c)?c.call(r):c;Reflect.ownKeys(He).forEach($e=>{Fi($e,He[$e])})}m&&JL(m,e,"c");function _e(He,$e){fr($e)?$e.forEach(lt=>He(lt.bind(r))):$e&&He($e.bind(r))}if(_e(YB,v),_e(Tn,y),_e(Eq,_),_e(Px,S),_e(Pq,I),_e(Aq,E),_e(kq,Z),_e(Lq,j),_e(Dq,H),_e(fc,L),_e(Fp,$),_e(Mq,Q),fr(ee))if(ee.length){const He=e.exposed||(e.exposed={});ee.forEach($e=>{Object.defineProperty(He,$e,{get:()=>r[$e],set:lt=>r[$e]=lt})})}else e.exposed||(e.exposed={});G&&e.render===Do&&(e.render=G),ne!=null&&(e.inheritAttrs=ne),ie&&(e.components=ie),ce&&(e.directives=ce)}function Fq(e,t,r=Do){fr(e)&&(e=LC(e));for(const n in e){const i=e[n];let a;En(i)?"default"in i?a=en(i.from||n,i.default,!0):a=en(i.from||n):a=en(i),Ni(a)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>a.value,set:o=>a.value=o}):t[n]=a}}function JL(e,t,r){Lo(fr(e)?e.map(n=>n.bind(t.proxy)):e.bind(t.proxy),t,r)}function eF(e,t,r,n){const i=n.includes(".")?gF(r,n):()=>r[n];if(Xn(e)){const a=t[e];br(a)&&$r(i,a)}else if(br(e))$r(i,e.bind(r));else if(En(e))if(fr(e))e.forEach(a=>eF(a,t,r,n));else{const a=br(e.handler)?e.handler.bind(r):t[e.handler];br(a)&&$r(i,a,e)}}function _I(e){const t=e.type,{mixins:r,extends:n}=t,{mixins:i,optionsCache:a,config:{optionMergeStrategies:o}}=e.appContext,s=a.get(t);let c;return s?c=s:!i.length&&!r&&!n?c=t:(c={},i.length&&i.forEach(d=>hb(c,d,o,!0)),hb(c,t,o)),En(t)&&a.set(t,c),c}function hb(e,t,r,n=!1){const{mixins:i,extends:a}=t;a&&hb(e,a,r,!0),i&&i.forEach(o=>hb(e,o,r,!0));for(const o in t)if(!(n&&o==="expose")){const s=$q[o]||r&&r[o];e[o]=s?s(e[o],t[o]):t[o]}return e}const $q={data:QL,props:ek,emits:ek,methods:Qv,computed:Qv,beforeCreate:da,created:da,beforeMount:da,mounted:da,beforeUpdate:da,updated:da,beforeDestroy:da,beforeUnmount:da,destroyed:da,unmounted:da,activated:da,deactivated:da,errorCaptured:da,serverPrefetch:da,components:Qv,directives:Qv,watch:Vq,provide:QL,inject:Nq};function QL(e,t){return t?e?function(){return ci(br(e)?e.call(this,this):e,br(t)?t.call(this,this):t)}:t:e}function Nq(e,t){return Qv(LC(e),LC(t))}function LC(e){if(fr(e)){const t={};for(let r=0;r1)return r&&br(t)?t.call(n&&n.proxy):t}}const rF={},nF=()=>Object.create(rF),iF=e=>Object.getPrototypeOf(e)===rF;function Uq(e,t,r,n=!1){const i={},a=nF();e.propsDefaults=Object.create(null),aF(e,t,i,a);for(const o in e.propsOptions[0])o in i||(i[o]=void 0);r?e.props=n?i:BB(i):e.type.props?e.props=i:e.props=a,e.attrs=a}function Gq(e,t,r,n){const{props:i,attrs:a,vnode:{patchFlag:o}}=e,s=Nr(i),[c]=e.propsOptions;let d=!1;if((n||o>0)&&!(o&16)){if(o&8){const m=e.vnode.dynamicProps;for(let v=0;v{c=!0;const[y,_]=oF(v,t,!0);ci(o,y),_&&s.push(..._)};!r&&t.mixins.length&&t.mixins.forEach(m),e.extends&&m(e.extends),e.mixins&&e.mixins.forEach(m)}if(!a&&!c)return En(e)&&n.set(e,qd),qd;if(fr(a))for(let m=0;m-1,_[1]=I<0||S-1||Vr(_,"default"))&&s.push(v)}}}const d=[o,s];return En(e)&&n.set(e,d),d}function tk(e){return e[0]!=="$"&&!Xd(e)}function rk(e){return e===null?"null":typeof e=="function"?e.name||"":typeof e=="object"&&e.constructor&&e.constructor.name||""}function nk(e,t){return rk(e)===rk(t)}function ik(e,t){return fr(t)?t.findIndex(r=>nk(r,e)):br(t)&&nk(t,e)?0:-1}const sF=e=>e[0]==="_"||e==="$stable",bI=e=>fr(e)?e.map(Po):[Po(e)],qq=(e,t,r)=>{if(t._n)return t;const n=jr((...i)=>bI(t(...i)),r);return n._c=!1,n},lF=(e,t,r)=>{const n=e._ctx;for(const i in e){if(sF(i))continue;const a=e[i];if(br(a))t[i]=qq(i,a,n);else if(a!=null){const o=bI(a);t[i]=()=>o}}},uF=(e,t)=>{const r=bI(t);e.slots.default=()=>r},cF=(e,t,r)=>{for(const n in t)(r||n!=="_")&&(e[n]=t[n])},Zq=(e,t,r)=>{const n=e.slots=nF();if(e.vnode.shapeFlag&32){const i=t._;i?(cF(n,t,r),r&&bB(n,"_",i,!0)):lF(t,n)}else t&&uF(e,t)},Xq=(e,t,r)=>{const{vnode:n,slots:i}=e;let a=!0,o=Fn;if(n.shapeFlag&32){const s=t._;s?r&&s===1?a=!1:cF(i,t,r):(a=!t.$stable,lF(t,i)),o=t}else t&&(uF(e,t),o={default:1});if(a)for(const s in i)!sF(s)&&o[s]==null&&delete i[s]};function fb(e,t,r,n,i=!1){if(fr(e)){e.forEach((y,_)=>fb(y,t&&(fr(t)?t[_]:t),r,n,i));return}if(Qd(n)&&!i)return;const a=n.shapeFlag&4?Ix(n.component):n.el,o=i?null:a,{i:s,r:c}=e,d=t&&t.r,m=s.refs===Fn?s.refs={}:s.refs,v=s.setupState;if(d!=null&&d!==c&&(Xn(d)?(m[d]=null,Vr(v,d)&&(v[d]=null)):Ni(d)&&(d.value=null)),br(c))Yu(c,s,12,[o,m]);else{const y=Xn(c),_=Ni(c);if(y||_){const S=()=>{if(e.f){const I=y?Vr(v,c)?v[c]:m[c]:c.value;i?fr(I)&&aI(I,a):fr(I)?I.includes(a)||I.push(a):y?(m[c]=[a],Vr(v,c)&&(v[c]=m[c])):(c.value=[a],e.k&&(m[e.k]=c.value))}else y?(m[c]=o,Vr(v,c)&&(v[c]=o)):_&&(c.value=o,e.k&&(m[e.k]=o))};o?(S.id=-1,Ia(S,r)):S()}}}const hF=Symbol("_vte"),Kq=e=>e.__isTeleport,pg=e=>e&&(e.disabled||e.disabled===""),ak=e=>typeof SVGElement<"u"&&e instanceof SVGElement,ok=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,RC=(e,t)=>{const r=e&&e.to;return Xn(r)?t?t(r):null:r},Yq={name:"Teleport",__isTeleport:!0,process(e,t,r,n,i,a,o,s,c,d){const{mc:m,pc:v,pbc:y,o:{insert:_,querySelector:S,createText:I,createComment:E}}=d,M=pg(t.props);let{shapeFlag:L,children:R,dynamicChildren:$}=t;if(e==null){const G=t.el=I(""),j=t.anchor=I(""),H=t.target=RC(t.props,S),Z=t.targetStart=I(""),Q=t.targetAnchor=I("");_(G,r,n),_(j,r,n),Z[hF]=Q,H&&(_(Z,H),_(Q,H),o==="svg"||ak(H)?o="svg":(o==="mathml"||ok(H))&&(o="mathml"));const ee=(ne,ie)=>{L&16&&m(R,ne,ie,i,a,o,s,c)};M?ee(r,j):H&&ee(H,Q)}else{t.el=e.el,t.targetStart=e.targetStart;const G=t.anchor=e.anchor,j=t.target=e.target,H=t.targetAnchor=e.targetAnchor,Z=pg(e.props),Q=Z?r:j,ee=Z?G:H;if(o==="svg"||ak(j)?o="svg":(o==="mathml"||ok(j))&&(o="mathml"),$?(y(e.dynamicChildren,$,Q,i,a,o,s),xI(e,t,!0)):c||v(e,t,Q,ee,i,a,o,s,!1),M)Z?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):f0(t,r,G,d,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const ne=t.target=RC(t.props,S);ne&&f0(t,ne,null,d,0)}else Z&&f0(t,j,H,d,1)}dF(t)},remove(e,t,r,{um:n,o:{remove:i}},a){const{shapeFlag:o,children:s,anchor:c,targetStart:d,targetAnchor:m,target:v,props:y}=e;if(v&&(i(d),i(m)),a&&i(c),o&16){const _=a||!pg(y);for(let S=0;S{sk||(console.error("Hydration completed but contains mismatches."),sk=!0)},Qq=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",eZ=e=>e.namespaceURI.includes("MathML"),d0=e=>{if(Qq(e))return"svg";if(eZ(e))return"mathml"},p0=e=>e.nodeType===8;function tZ(e){const{mt:t,p:r,o:{patchProp:n,createText:i,nextSibling:a,parentNode:o,remove:s,insert:c,createComment:d}}=e,m=(R,$)=>{if(!$.hasChildNodes()){r(null,R,$),lb(),$._vnode=R;return}v($.firstChild,R,null,null,null),lb(),$._vnode=R},v=(R,$,G,j,H,Z=!1)=>{Z=Z||!!$.dynamicChildren;const Q=p0(R)&&R.data==="[",ee=()=>I(R,$,G,j,H,Q),{type:ne,ref:ie,shapeFlag:ce,patchFlag:Ae}=$;let ue=R.nodeType;$.el=R,Ae===-2&&(Z=!1,$.dynamicChildren=null);let _e=null;switch(ne){case Vl:ue!==3?$.children===""?(c($.el=i(""),o(R),R),_e=R):_e=ee():(R.data!==$.children&&(hd(),R.data=$.children),_e=a(R));break;case ra:L(R)?(_e=a(R),M($.el=R.content.firstChild,R,G)):ue!==8||Q?_e=ee():_e=a(R);break;case mg:if(Q&&(R=a(R),ue=R.nodeType),ue===1||ue===3){_e=R;const He=!$.children.length;for(let $e=0;$e<$.staticCount;$e++)He&&($.children+=_e.nodeType===1?_e.outerHTML:_e.data),$e===$.staticCount-1&&($.anchor=_e),_e=a(_e);return Q?a(_e):_e}else ee();break;case Er:Q?_e=S(R,$,G,j,H,Z):_e=ee();break;default:if(ce&1)(ue!==1||$.type.toLowerCase()!==R.tagName.toLowerCase())&&!L(R)?_e=ee():_e=y(R,$,G,j,H,Z);else if(ce&6){$.slotScopeIds=H;const He=o(R);if(Q?_e=E(R):p0(R)&&R.data==="teleport start"?_e=E(R,R.data,"teleport end"):_e=a(R),t($,He,null,G,j,d0(He),Z),Qd($)){let $e;Q?($e=ke(Er),$e.anchor=_e?_e.previousSibling:He.lastChild):$e=R.nodeType===3?Js(""):ke("div"),$e.el=R,$.component.subTree=$e}}else ce&64?ue!==8?_e=ee():_e=$.type.hydrate(R,$,G,j,H,Z,e,_):ce&128&&(_e=$.type.hydrate(R,$,G,j,d0(o(R)),H,Z,e,v))}return ie!=null&&fb(ie,null,j,$),_e},y=(R,$,G,j,H,Z)=>{Z=Z||!!$.dynamicChildren;const{type:Q,props:ee,patchFlag:ne,shapeFlag:ie,dirs:ce,transition:Ae}=$,ue=Q==="input"||Q==="option";if(ue||ne!==-1){ce&&Ns($,null,G,"created");let _e=!1;if(L(R)){_e=mF(j,Ae)&&G&&G.vnode.props&&G.vnode.props.appear;const $e=R.content.firstChild;_e&&Ae.beforeEnter($e),M($e,R,G),$.el=R=$e}if(ie&16&&!(ee&&(ee.innerHTML||ee.textContent))){let $e=_(R.firstChild,$,R,G,j,H,Z);for(;$e;){hd();const lt=$e;$e=$e.nextSibling,s(lt)}}else ie&8&&R.textContent!==$.children&&(hd(),R.textContent=$.children);if(ee){if(ue||!Z||ne&48)for(const $e in ee)(ue&&($e.endsWith("value")||$e==="indeterminate")||Ey($e)&&!Xd($e)||$e[0]===".")&&n(R,$e,null,ee[$e],void 0,G);else if(ee.onClick)n(R,"onClick",null,ee.onClick,void 0,G);else if(ne&4&&Kd(ee.style))for(const $e in ee.style)ee.style[$e]}let He;(He=ee&&ee.onVnodeBeforeMount)&&wo(He,G,$),ce&&Ns($,null,G,"beforeMount"),((He=ee&&ee.onVnodeMounted)||ce||_e)&&_F(()=>{He&&wo(He,G,$),_e&&Ae.enter(R),ce&&Ns($,null,G,"mounted")},j)}return R.nextSibling},_=(R,$,G,j,H,Z,Q)=>{Q=Q||!!$.dynamicChildren;const ee=$.children,ne=ee.length;for(let ie=0;ie{const{slotScopeIds:Q}=$;Q&&(H=H?H.concat(Q):Q);const ee=o(R),ne=_(a(R),$,ee,G,j,H,Z);return ne&&p0(ne)&&ne.data==="]"?a($.anchor=ne):(hd(),c($.anchor=d("]"),ee,ne),ne)},I=(R,$,G,j,H,Z)=>{if(hd(),$.el=null,Z){const ne=E(R);for(;;){const ie=a(R);if(ie&&ie!==ne)s(ie);else break}}const Q=a(R),ee=o(R);return s(R),r(null,$,ee,Q,G,j,d0(ee),H),Q},E=(R,$="[",G="]")=>{let j=0;for(;R;)if(R=a(R),R&&p0(R)&&(R.data===$&&j++,R.data===G)){if(j===0)return a(R);j--}return R},M=(R,$,G)=>{const j=$.parentNode;j&&j.replaceChild(R,$);let H=G;for(;H;)H.vnode.el===$&&(H.vnode.el=H.subTree.el=R),H=H.parent},L=R=>R.nodeType===1&&R.tagName.toLowerCase()==="template";return[m,v]}const Ia=_F;function rZ(e){return pF(e)}function nZ(e){return pF(e,tZ)}function pF(e,t){const r=xB();r.__VUE__=!0;const{insert:n,remove:i,patchProp:a,createElement:o,createText:s,createComment:c,setText:d,setElementText:m,parentNode:v,nextSibling:y,setScopeId:_=Do,insertStaticContent:S}=e,I=(fe,ge,Fe,ye=null,qe=null,rt=null,Qe=void 0,nt=null,vt=!!ge.dynamicChildren)=>{if(fe===ge)return;fe&&!Eh(fe,ge)&&(ye=Ge(fe),Vt(fe,qe,rt,!0),fe=null),ge.patchFlag===-2&&(vt=!1,ge.dynamicChildren=null);const{type:at,ref:Et,shapeFlag:Gt}=ge;switch(at){case Vl:E(fe,ge,Fe,ye);break;case ra:M(fe,ge,Fe,ye);break;case mg:fe==null&&L(ge,Fe,ye,Qe);break;case Er:ie(fe,ge,Fe,ye,qe,rt,Qe,nt,vt);break;default:Gt&1?G(fe,ge,Fe,ye,qe,rt,Qe,nt,vt):Gt&6?ce(fe,ge,Fe,ye,qe,rt,Qe,nt,vt):(Gt&64||Gt&128)&&at.process(fe,ge,Fe,ye,qe,rt,Qe,nt,vt,ft)}Et!=null&&qe&&fb(Et,fe&&fe.ref,rt,ge||fe,!ge)},E=(fe,ge,Fe,ye)=>{if(fe==null)n(ge.el=s(ge.children),Fe,ye);else{const qe=ge.el=fe.el;ge.children!==fe.children&&d(qe,ge.children)}},M=(fe,ge,Fe,ye)=>{fe==null?n(ge.el=c(ge.children||""),Fe,ye):ge.el=fe.el},L=(fe,ge,Fe,ye)=>{[fe.el,fe.anchor]=S(fe.children,ge,Fe,ye,fe.el,fe.anchor)},R=({el:fe,anchor:ge},Fe,ye)=>{let qe;for(;fe&&fe!==ge;)qe=y(fe),n(fe,Fe,ye),fe=qe;n(ge,Fe,ye)},$=({el:fe,anchor:ge})=>{let Fe;for(;fe&&fe!==ge;)Fe=y(fe),i(fe),fe=Fe;i(ge)},G=(fe,ge,Fe,ye,qe,rt,Qe,nt,vt)=>{ge.type==="svg"?Qe="svg":ge.type==="math"&&(Qe="mathml"),fe==null?j(ge,Fe,ye,qe,rt,Qe,nt,vt):Q(fe,ge,qe,rt,Qe,nt,vt)},j=(fe,ge,Fe,ye,qe,rt,Qe,nt)=>{let vt,at;const{props:Et,shapeFlag:Gt,transition:Ot,dirs:ar}=fe;if(vt=fe.el=o(fe.type,rt,Et&&Et.is,Et),Gt&8?m(vt,fe.children):Gt&16&&Z(fe.children,vt,null,ye,qe,JS(fe,rt),Qe,nt),ar&&Ns(fe,null,ye,"created"),H(vt,fe,fe.scopeId,Qe,ye),Et){for(const Ke in Et)Ke!=="value"&&!Xd(Ke)&&a(vt,Ke,null,Et[Ke],rt,ye);"value"in Et&&a(vt,"value",null,Et.value,rt),(at=Et.onVnodeBeforeMount)&&wo(at,ye,fe)}ar&&Ns(fe,null,ye,"beforeMount");const vr=mF(qe,Ot);vr&&Ot.beforeEnter(vt),n(vt,ge,Fe),((at=Et&&Et.onVnodeMounted)||vr||ar)&&Ia(()=>{at&&wo(at,ye,fe),vr&&Ot.enter(vt),ar&&Ns(fe,null,ye,"mounted")},qe)},H=(fe,ge,Fe,ye,qe)=>{if(Fe&&_(fe,Fe),ye)for(let rt=0;rt{for(let at=vt;at{const nt=ge.el=fe.el;let{patchFlag:vt,dynamicChildren:at,dirs:Et}=ge;vt|=fe.patchFlag&16;const Gt=fe.props||Fn,Ot=ge.props||Fn;let ar;if(Fe&&Kc(Fe,!1),(ar=Ot.onVnodeBeforeUpdate)&&wo(ar,Fe,ge,fe),Et&&Ns(ge,fe,Fe,"beforeUpdate"),Fe&&Kc(Fe,!0),(Gt.innerHTML&&Ot.innerHTML==null||Gt.textContent&&Ot.textContent==null)&&m(nt,""),at?ee(fe.dynamicChildren,at,nt,Fe,ye,JS(ge,qe),rt):Qe||$e(fe,ge,nt,null,Fe,ye,JS(ge,qe),rt,!1),vt>0){if(vt&16)ne(nt,Gt,Ot,Fe,qe);else if(vt&2&&Gt.class!==Ot.class&&a(nt,"class",null,Ot.class,qe),vt&4&&a(nt,"style",Gt.style,Ot.style,qe),vt&8){const vr=ge.dynamicProps;for(let Ke=0;Ke{ar&&wo(ar,Fe,ge,fe),Et&&Ns(ge,fe,Fe,"updated")},ye)},ee=(fe,ge,Fe,ye,qe,rt,Qe)=>{for(let nt=0;nt{if(ge!==Fe){if(ge!==Fn)for(const rt in ge)!Xd(rt)&&!(rt in Fe)&&a(fe,rt,ge[rt],null,qe,ye);for(const rt in Fe){if(Xd(rt))continue;const Qe=Fe[rt],nt=ge[rt];Qe!==nt&&rt!=="value"&&a(fe,rt,nt,Qe,qe,ye)}"value"in Fe&&a(fe,"value",ge.value,Fe.value,qe)}},ie=(fe,ge,Fe,ye,qe,rt,Qe,nt,vt)=>{const at=ge.el=fe?fe.el:s(""),Et=ge.anchor=fe?fe.anchor:s("");let{patchFlag:Gt,dynamicChildren:Ot,slotScopeIds:ar}=ge;ar&&(nt=nt?nt.concat(ar):ar),fe==null?(n(at,Fe,ye),n(Et,Fe,ye),Z(ge.children||[],Fe,Et,qe,rt,Qe,nt,vt)):Gt>0&&Gt&64&&Ot&&fe.dynamicChildren?(ee(fe.dynamicChildren,Ot,Fe,qe,rt,Qe,nt),(ge.key!=null||qe&&ge===qe.subTree)&&xI(fe,ge,!0)):$e(fe,ge,Fe,Et,qe,rt,Qe,nt,vt)},ce=(fe,ge,Fe,ye,qe,rt,Qe,nt,vt)=>{ge.slotScopeIds=nt,fe==null?ge.shapeFlag&512?qe.ctx.activate(ge,Fe,ye,Qe,vt):Ae(ge,Fe,ye,qe,rt,Qe,vt):ue(fe,ge,vt)},Ae=(fe,ge,Fe,ye,qe,rt,Qe)=>{const nt=fe.component=xZ(fe,ye,qe);if(Ly(fe)&&(nt.ctx.renderer=ft),wZ(nt,!1,Qe),nt.asyncDep){if(qe&&qe.registerDep(nt,_e,Qe),!fe.el){const vt=nt.subTree=ke(ra);M(null,vt,ge,Fe)}}else _e(nt,fe,ge,Fe,qe,rt,Qe)},ue=(fe,ge,Fe)=>{const ye=ge.component=fe.component;if(fZ(fe,ge,Fe))if(ye.asyncDep&&!ye.asyncResolved){He(ye,ge,Fe);return}else ye.next=ge,bq(ye.update),ye.effect.dirty=!0,ye.update();else ge.el=fe.el,ye.vnode=ge},_e=(fe,ge,Fe,ye,qe,rt,Qe)=>{const nt=()=>{if(fe.isMounted){let{next:Et,bu:Gt,u:Ot,parent:ar,vnode:vr}=fe;{const Ei=vF(fe);if(Ei){Et&&(Et.el=vr.el,He(fe,Et,Qe)),Ei.asyncDep.then(()=>{fe.isUnmounted||nt()});return}}let Ke=Et,Sr;Kc(fe,!1),Et?(Et.el=vr.el,He(fe,Et,Qe)):Et=vr,Gt&&qS(Gt),(Sr=Et.props&&Et.props.onVnodeBeforeUpdate)&&wo(Sr,ar,Et,vr),Kc(fe,!0);const kr=QS(fe),kn=fe.subTree;fe.subTree=kr,I(kn,kr,v(kn.el),Ge(kn),fe,qe,rt),Et.el=kr.el,Ke===null&&dZ(fe,kr.el),Ot&&Ia(Ot,qe),(Sr=Et.props&&Et.props.onVnodeUpdated)&&Ia(()=>wo(Sr,ar,Et,vr),qe)}else{let Et;const{el:Gt,props:Ot}=ge,{bm:ar,m:vr,parent:Ke}=fe,Sr=Qd(ge);if(Kc(fe,!1),ar&&qS(ar),!Sr&&(Et=Ot&&Ot.onVnodeBeforeMount)&&wo(Et,Ke,ge),Kc(fe,!0),Gt&&Dt){const kr=()=>{fe.subTree=QS(fe),Dt(Gt,fe.subTree,fe,qe,null)};Sr?ge.type.__asyncLoader().then(()=>!fe.isUnmounted&&kr()):kr()}else{const kr=fe.subTree=QS(fe);I(null,kr,Fe,ye,fe,qe,rt),ge.el=kr.el}if(vr&&Ia(vr,qe),!Sr&&(Et=Ot&&Ot.onVnodeMounted)){const kr=ge;Ia(()=>wo(Et,Ke,kr),qe)}(ge.shapeFlag&256||Ke&&Qd(Ke.vnode)&&Ke.vnode.shapeFlag&256)&&fe.a&&Ia(fe.a,qe),fe.isMounted=!0,ge=Fe=ye=null}},vt=fe.effect=new sI(nt,Do,()=>Sx(at),fe.scope),at=fe.update=()=>{vt.dirty&&vt.run()};at.i=fe,at.id=fe.uid,Kc(fe,!0),at()},He=(fe,ge,Fe)=>{ge.component=fe;const ye=fe.vnode.props;fe.vnode=ge,fe.next=null,Gq(fe,ge.props,ye,Fe),Xq(fe,ge.children,Fe),cc(),ZL(fe),hc()},$e=(fe,ge,Fe,ye,qe,rt,Qe,nt,vt=!1)=>{const at=fe&&fe.children,Et=fe?fe.shapeFlag:0,Gt=ge.children,{patchFlag:Ot,shapeFlag:ar}=ge;if(Ot>0){if(Ot&128){Ct(at,Gt,Fe,ye,qe,rt,Qe,nt,vt);return}else if(Ot&256){lt(at,Gt,Fe,ye,qe,rt,Qe,nt,vt);return}}ar&8?(Et&16&&ir(at,qe,rt),Gt!==at&&m(Fe,Gt)):Et&16?ar&16?Ct(at,Gt,Fe,ye,qe,rt,Qe,nt,vt):ir(at,qe,rt,!0):(Et&8&&m(Fe,""),ar&16&&Z(Gt,Fe,ye,qe,rt,Qe,nt,vt))},lt=(fe,ge,Fe,ye,qe,rt,Qe,nt,vt)=>{fe=fe||qd,ge=ge||qd;const at=fe.length,Et=ge.length,Gt=Math.min(at,Et);let Ot;for(Ot=0;OtEt?ir(fe,qe,rt,!0,!1,Gt):Z(ge,Fe,ye,qe,rt,Qe,nt,vt,Gt)},Ct=(fe,ge,Fe,ye,qe,rt,Qe,nt,vt)=>{let at=0;const Et=ge.length;let Gt=fe.length-1,Ot=Et-1;for(;at<=Gt&&at<=Ot;){const ar=fe[at],vr=ge[at]=vt?Fu(ge[at]):Po(ge[at]);if(Eh(ar,vr))I(ar,vr,Fe,null,qe,rt,Qe,nt,vt);else break;at++}for(;at<=Gt&&at<=Ot;){const ar=fe[Gt],vr=ge[Ot]=vt?Fu(ge[Ot]):Po(ge[Ot]);if(Eh(ar,vr))I(ar,vr,Fe,null,qe,rt,Qe,nt,vt);else break;Gt--,Ot--}if(at>Gt){if(at<=Ot){const ar=Ot+1,vr=arOt)for(;at<=Gt;)Vt(fe[at],qe,rt,!0),at++;else{const ar=at,vr=at,Ke=new Map;for(at=vr;at<=Ot;at++){const rn=ge[at]=vt?Fu(ge[at]):Po(ge[at]);rn.key!=null&&Ke.set(rn.key,at)}let Sr,kr=0;const kn=Ot-vr+1;let Ei=!1,ct=0;const or=new Array(kn);for(at=0;at=kn){Vt(rn,qe,rt,!0);continue}let Rn;if(rn.key!=null)Rn=Ke.get(rn.key);else for(Sr=vr;Sr<=Ot;Sr++)if(or[Sr-vr]===0&&Eh(rn,ge[Sr])){Rn=Sr;break}Rn===void 0?Vt(rn,qe,rt,!0):(or[Rn-vr]=at+1,Rn>=ct?ct=Rn:Ei=!0,I(rn,ge[Rn],Fe,null,qe,rt,Qe,nt,vt),kr++)}const Kt=Ei?iZ(or):qd;for(Sr=Kt.length-1,at=kn-1;at>=0;at--){const rn=vr+at,Rn=ge[rn],tr=rn+1{const{el:rt,type:Qe,transition:nt,children:vt,shapeFlag:at}=fe;if(at&6){Ut(fe.component.subTree,ge,Fe,ye);return}if(at&128){fe.suspense.move(ge,Fe,ye);return}if(at&64){Qe.move(fe,ge,Fe,ft);return}if(Qe===Er){n(rt,ge,Fe);for(let Gt=0;Gtnt.enter(rt),qe);else{const{leave:Gt,delayLeave:Ot,afterLeave:ar}=nt,vr=()=>n(rt,ge,Fe),Ke=()=>{Gt(rt,()=>{vr(),ar&&ar()})};Ot?Ot(rt,vr,Ke):Ke()}else n(rt,ge,Fe)},Vt=(fe,ge,Fe,ye=!1,qe=!1)=>{const{type:rt,props:Qe,ref:nt,children:vt,dynamicChildren:at,shapeFlag:Et,patchFlag:Gt,dirs:Ot,cacheIndex:ar}=fe;if(Gt===-2&&(qe=!1),nt!=null&&fb(nt,null,Fe,fe,!0),ar!=null&&(ge.renderCache[ar]=void 0),Et&256){ge.ctx.deactivate(fe);return}const vr=Et&1&&Ot,Ke=!Qd(fe);let Sr;if(Ke&&(Sr=Qe&&Qe.onVnodeBeforeUnmount)&&wo(Sr,ge,fe),Et&6)yr(fe.component,Fe,ye);else{if(Et&128){fe.suspense.unmount(Fe,ye);return}vr&&Ns(fe,null,ge,"beforeUnmount"),Et&64?fe.type.remove(fe,ge,Fe,ft,ye):at&&!at.hasOnce&&(rt!==Er||Gt>0&&Gt&64)?ir(at,ge,Fe,!1,!0):(rt===Er&&Gt&384||!qe&&Et&16)&&ir(vt,ge,Fe),ye&&lr(fe)}(Ke&&(Sr=Qe&&Qe.onVnodeUnmounted)||vr)&&Ia(()=>{Sr&&wo(Sr,ge,fe),vr&&Ns(fe,null,ge,"unmounted")},Fe)},lr=fe=>{const{type:ge,el:Fe,anchor:ye,transition:qe}=fe;if(ge===Er){ur(Fe,ye);return}if(ge===mg){$(fe);return}const rt=()=>{i(Fe),qe&&!qe.persisted&&qe.afterLeave&&qe.afterLeave()};if(fe.shapeFlag&1&&qe&&!qe.persisted){const{leave:Qe,delayLeave:nt}=qe,vt=()=>Qe(Fe,rt);nt?nt(fe.el,rt,vt):vt()}else rt()},ur=(fe,ge)=>{let Fe;for(;fe!==ge;)Fe=y(fe),i(fe),fe=Fe;i(ge)},yr=(fe,ge,Fe)=>{const{bum:ye,scope:qe,update:rt,subTree:Qe,um:nt,m:vt,a:at}=fe;lk(vt),lk(at),ye&&qS(ye),qe.stop(),rt&&(rt.active=!1,Vt(Qe,fe,ge,Fe)),nt&&Ia(nt,ge),Ia(()=>{fe.isUnmounted=!0},ge),ge&&ge.pendingBranch&&!ge.isUnmounted&&fe.asyncDep&&!fe.asyncResolved&&fe.suspenseId===ge.pendingId&&(ge.deps--,ge.deps===0&&ge.resolve())},ir=(fe,ge,Fe,ye=!1,qe=!1,rt=0)=>{for(let Qe=rt;Qe{if(fe.shapeFlag&6)return Ge(fe.component.subTree);if(fe.shapeFlag&128)return fe.suspense.next();const ge=y(fe.anchor||fe.el),Fe=ge&&ge[hF];return Fe?y(Fe):ge};let st=!1;const tt=(fe,ge,Fe)=>{fe==null?ge._vnode&&Vt(ge._vnode,null,null,!0):I(ge._vnode||null,fe,ge,null,null,null,Fe),st||(st=!0,ZL(),lb(),st=!1),ge._vnode=fe},ft={p:I,um:Vt,m:Ut,r:lr,mt:Ae,mc:Z,pc:$e,pbc:ee,n:Ge,o:e};let dt,Dt;return t&&([dt,Dt]=t(ft)),{render:tt,hydrate:dt,createApp:Hq(tt,dt)}}function JS({type:e,props:t},r){return r==="svg"&&e==="foreignObject"||r==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:r}function Kc({effect:e,update:t},r){e.allowRecurse=t.allowRecurse=r}function mF(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function xI(e,t,r=!1){const n=e.children,i=t.children;if(fr(n)&&fr(i))for(let a=0;a>1,e[r[s]]0&&(t[n]=r[a-1]),r[a]=n)}}for(a=r.length,o=r[a-1];a-- >0;)r[a]=o,o=t[o];return r}function vF(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:vF(t)}function lk(e){if(e)for(let t=0;ten(aZ);function Hl(e,t){return wI(e,null,t)}const m0={};function $r(e,t,r){return wI(e,t,r)}function wI(e,t,{immediate:r,deep:n,flush:i,once:a,onTrack:o,onTrigger:s}=Fn){if(t&&a){const j=t;t=(...H)=>{j(...H),G()}}const c=Ai,d=j=>n===!0?j:ju(j,n===!1?1:void 0);let m,v=!1,y=!1;if(Ni(e)?(m=()=>e.value,v=fp(e)):Kd(e)?(m=()=>d(e),v=!0):fr(e)?(y=!0,v=e.some(j=>Kd(j)||fp(j)),m=()=>e.map(j=>{if(Ni(j))return j.value;if(Kd(j))return d(j);if(br(j))return Yu(j,c,2)})):br(e)?t?m=()=>Yu(e,c,2):m=()=>(_&&_(),Lo(e,c,3,[S])):m=Do,t&&n){const j=m;m=()=>ju(j())}let _,S=j=>{_=R.onStop=()=>{Yu(j,c,4),_=R.onStop=void 0}},I;if(Ry)if(S=Do,t?r&&Lo(t,c,3,[m(),y?[]:void 0,S]):m(),i==="sync"){const j=oZ();I=j.__watcherHandles||(j.__watcherHandles=[])}else return Do;let E=y?new Array(e.length).fill(m0):m0;const M=()=>{if(!(!R.active||!R.dirty))if(t){const j=R.run();(n||v||(y?j.some((H,Z)=>rc(H,E[Z])):rc(j,E)))&&(_&&_(),Lo(t,c,3,[j,E===m0?void 0:y&&E[0]===m0?[]:E,S]),E=j)}else R.run()};M.allowRecurse=!!t;let L;i==="sync"?L=M:i==="post"?L=()=>Ia(M,c&&c.suspense):(M.pre=!0,c&&(M.id=c.uid),L=()=>Sx(M));const R=new sI(m,Do,L),$=CB(),G=()=>{R.stop(),$&&aI($.effects,R)};return t?r?M():E=R.run():i==="post"?Ia(R.run.bind(R),c&&c.suspense):R.run(),I&&I.push(G),G}function sZ(e,t,r){const n=this.proxy,i=Xn(e)?e.includes(".")?gF(n,e):()=>n[e]:e.bind(n,n);let a;br(t)?a=t:(a=t.handler,r=t);const o=ky(this),s=wI(i,a.bind(n),r);return o(),s}function gF(e,t){const r=t.split(".");return()=>{let n=e;for(let i=0;i{ju(n,t,r)});else if(_B(e)){for(const n in e)ju(e[n],t,r);for(const n of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,n)&&ju(e[n],t,r)}return e}const lZ=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${ao(t)}Modifiers`]||e[`${uc(t)}Modifiers`];function uZ(e,t,...r){if(e.isUnmounted)return;const n=e.vnode.props||Fn;let i=r;const a=t.startsWith("update:"),o=a&&lZ(n,t.slice(7));o&&(o.trim&&(i=r.map(m=>Xn(m)?m.trim():m)),o.number&&(i=r.map(MW)));let s,c=n[s=WS(t)]||n[s=WS(ao(t))];!c&&a&&(c=n[s=WS(uc(t))]),c&&Lo(c,e,6,i);const d=n[s+"Once"];if(d){if(!e.emitted)e.emitted={};else if(e.emitted[s])return;e.emitted[s]=!0,Lo(d,e,6,i)}}function yF(e,t,r=!1){const n=t.emitsCache,i=n.get(e);if(i!==void 0)return i;const a=e.emits;let o={},s=!1;if(!br(e)){const c=d=>{const m=yF(d,t,!0);m&&(s=!0,ci(o,m))};!r&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!a&&!s?(En(e)&&n.set(e,null),null):(fr(a)?a.forEach(c=>o[c]=null):ci(o,a),En(e)&&n.set(e,o),o)}function Ax(e,t){return!e||!Ey(t)?!1:(t=t.slice(2).replace(/Once$/,""),Vr(e,t[0].toLowerCase()+t.slice(1))||Vr(e,uc(t))||Vr(e,t))}function QS(e){const{type:t,vnode:r,proxy:n,withProxy:i,propsOptions:[a],slots:o,attrs:s,emit:c,render:d,renderCache:m,props:v,data:y,setupState:_,ctx:S,inheritAttrs:I}=e,E=ub(e);let M,L;try{if(r.shapeFlag&4){const $=i||n,G=$;M=Po(d.call(G,$,m,v,_,y,S)),L=s}else{const $=t;M=Po($.length>1?$(v,{attrs:s,slots:o,emit:c}):$(v,null)),L=t.props?s:cZ(s)}}catch($){vg.length=0,Dy($,e,1),M=ke(ra)}let R=M;if(L&&I!==!1){const $=Object.keys(L),{shapeFlag:G}=R;$.length&&G&7&&(a&&$.some(iI)&&(L=hZ(L,a)),R=nc(R,L,!1,!0))}return r.dirs&&(R=nc(R,null,!1,!0),R.dirs=R.dirs?R.dirs.concat(r.dirs):r.dirs),r.transition&&(R.transition=r.transition),M=R,ub(E),M}const cZ=e=>{let t;for(const r in e)(r==="class"||r==="style"||Ey(r))&&((t||(t={}))[r]=e[r]);return t},hZ=(e,t)=>{const r={};for(const n in e)(!iI(n)||!(n.slice(9)in t))&&(r[n]=e[n]);return r};function fZ(e,t,r){const{props:n,children:i,component:a}=e,{props:o,children:s,patchFlag:c}=t,d=a.emitsOptions;if(t.dirs||t.transition)return!0;if(r&&c>=0){if(c&1024)return!0;if(c&16)return n?uk(n,o,d):!!o;if(c&8){const m=t.dynamicProps;for(let v=0;ve.__isSuspense;function _F(e,t){t&&t.pendingBranch?fr(e)?t.effects.push(...e):t.effects.push(e):xq(e)}const Er=Symbol.for("v-fgt"),Vl=Symbol.for("v-txt"),ra=Symbol.for("v-cmt"),mg=Symbol.for("v-stc"),vg=[];let ro=null;function et(e=!1){vg.push(ro=e?null:[])}function mZ(){vg.pop(),ro=vg[vg.length-1]||null}let Gg=1;function ck(e){Gg+=e,e<0&&ro&&(ro.hasOnce=!0)}function bF(e){return e.dynamicChildren=Gg>0?ro||qd:null,mZ(),Gg>0&&ro&&ro.push(e),e}function Tt(e,t,r,n,i,a){return bF(It(e,t,r,n,i,a,!0))}function An(e,t,r,n,i){return bF(ke(e,t,r,n,i,!0))}function Wg(e){return e?e.__v_isVNode===!0:!1}function Eh(e,t){return e.type===t.type&&e.key===t.key}const xF=({key:e})=>e??null,S1=({ref:e,ref_key:t,ref_for:r})=>(typeof e=="number"&&(e=""+e),e!=null?Xn(e)||Ni(e)||br(e)?{i:Ii,r:e,k:t,f:!!r}:e:null);function It(e,t=null,r=null,n=0,i=null,a=e===Er?0:1,o=!1,s=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&xF(t),ref:t&&S1(t),scopeId:Tx,slotScopeIds:null,children:r,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:n,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:Ii};return s?(SI(c,r),a&128&&e.normalize(c)):r&&(c.shapeFlag|=Xn(r)?8:16),Gg>0&&!o&&ro&&(c.patchFlag>0||a&6)&&c.patchFlag!==32&&ro.push(c),c}const ke=vZ;function vZ(e,t=null,r=null,n=0,i=null,a=!1){if((!e||e===Rq)&&(e=ra),Wg(e)){const s=nc(e,t,!0);return r&&SI(s,r),Gg>0&&!a&&ro&&(s.shapeFlag&6?ro[ro.indexOf(e)]=s:ro.push(s)),s.patchFlag=-2,s}if(AZ(e)&&(e=e.__vccOpts),t){t=gZ(t);let{class:s,style:c}=t;s&&!Xn(s)&&(t.class=Bi(s)),En(c)&&(FB(c)&&!fr(c)&&(c=ci({},c)),t.style=Bp(c))}const o=Xn(e)?1:pZ(e)?128:Kq(e)?64:En(e)?4:br(e)?2:0;return It(e,t,r,n,i,o,a,!0)}function gZ(e){return e?FB(e)||iF(e)?ci({},e):e:null}function nc(e,t,r=!1,n=!1){const{props:i,ref:a,patchFlag:o,children:s,transition:c}=e,d=t?wF(i||{},t):i,m={__v_isVNode:!0,__v_skip:!0,type:e.type,props:d,key:d&&xF(d),ref:t&&t.ref?r&&a?fr(a)?a.concat(S1(t)):[a,S1(t)]:S1(t):a,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:s,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Er?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&nc(e.ssContent),ssFallback:e.ssFallback&&nc(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&n&&dp(m,c.clone(m)),m}function Js(e=" ",t=0){return ke(Vl,null,e,t)}function yZ(e,t){const r=ke(mg,null,e);return r.staticCount=t,r}function Xr(e="",t=!1){return t?(et(),An(ra,null,e)):ke(ra,null,e)}function Po(e){return e==null||typeof e=="boolean"?ke(ra):fr(e)?ke(Er,null,e.slice()):typeof e=="object"?Fu(e):ke(Vl,null,String(e))}function Fu(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:nc(e)}function SI(e,t){let r=0;const{shapeFlag:n}=e;if(t==null)t=null;else if(fr(t))r=16;else if(typeof t=="object")if(n&65){const i=t.default;i&&(i._c&&(i._d=!1),SI(e,i()),i._c&&(i._d=!0));return}else{r=32;const i=t._;!i&&!iF(t)?t._ctx=Ii:i===3&&Ii&&(Ii.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else br(t)?(t={default:t,_ctx:Ii},r=32):(t=String(t),n&64?(r=16,t=[Js(t)]):r=8);e.children=t,e.shapeFlag|=r}function wF(...e){const t={};for(let r=0;rAi||Ii;let db,OC;{const e=xB(),t=(r,n)=>{let i;return(i=e[r])||(i=e[r]=[]),i.push(n),a=>{i.length>1?i.forEach(o=>o(a)):i[0](a)}};db=t("__VUE_INSTANCE_SETTERS__",r=>Ai=r),OC=t("__VUE_SSR_SETTERS__",r=>Ry=r)}const ky=e=>{const t=Ai;return db(e),e.scope.on(),()=>{e.scope.off(),db(t)}},hk=()=>{Ai&&Ai.scope.off(),db(null)};function SF(e){return e.vnode.shapeFlag&4}let Ry=!1;function wZ(e,t=!1,r=!1){t&&OC(t);const{props:n,children:i}=e.vnode,a=SF(e);Uq(e,n,a,t),Zq(e,i,r);const o=a?SZ(e,t):void 0;return t&&OC(!1),o}function SZ(e,t){const r=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,zq);const{setup:n}=r;if(n){const i=e.setupContext=n.length>1?CZ(e):null,a=ky(e);cc();const o=Yu(n,e,0,[e.props,i]);if(hc(),a(),gB(o)){if(o.then(hk,hk),t)return o.then(s=>{fk(e,s,t)}).catch(s=>{Dy(s,e,0)});e.asyncDep=o}else fk(e,o,t)}else TF(e,t)}function fk(e,t,r){br(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:En(t)&&(e.setupState=VB(t)),TF(e,r)}let dk;function TF(e,t,r){const n=e.type;if(!e.render){if(!t&&dk&&!n.render){const i=n.template||_I(e).template;if(i){const{isCustomElement:a,compilerOptions:o}=e.appContext.config,{delimiters:s,compilerOptions:c}=n,d=ci(ci({isCustomElement:a,delimiters:s},o),c);n.render=dk(i,d)}}e.render=n.render||Do}{const i=ky(e);cc();try{Bq(e)}finally{hc(),i()}}}const TZ={get(e,t){return za(e,"get",""),e[t]}};function CZ(e){const t=r=>{e.exposed=r||{}};return{attrs:new Proxy(e.attrs,TZ),slots:e.slots,emit:e.emit,expose:t}}function Ix(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(VB(lq(e.exposed)),{get(t,r){if(r in t)return t[r];if(r in fg)return fg[r](e)},has(t,r){return r in t||r in fg}})):e.proxy}function PZ(e,t=!0){return br(e)?e.displayName||e.name:e.name||t&&e.__name}function AZ(e){return br(e)&&"__vccOpts"in e}const Le=(e,t)=>uq(e,t,Ry);function xr(e,t,r){const n=arguments.length;return n===2?En(t)&&!fr(t)?Wg(t)?ke(e,null,[t]):ke(e,t):ke(e,null,t):(n>3?r=Array.prototype.slice.call(arguments,2):n===3&&Wg(r)&&(r=[r]),ke(e,t,r))}const IZ="3.4.32";/** +* @vue/runtime-dom v3.4.32 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/const EZ="http://www.w3.org/2000/svg",MZ="http://www.w3.org/1998/Math/MathML",Ol=typeof document<"u"?document:null,pk=Ol&&Ol.createElement("template"),DZ={insert:(e,t,r)=>{t.insertBefore(e,r||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,r,n)=>{const i=t==="svg"?Ol.createElementNS(EZ,e):t==="mathml"?Ol.createElementNS(MZ,e):r?Ol.createElement(e,{is:r}):Ol.createElement(e);return e==="select"&&n&&n.multiple!=null&&i.setAttribute("multiple",n.multiple),i},createText:e=>Ol.createTextNode(e),createComment:e=>Ol.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Ol.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,r,n,i,a){const o=r?r.previousSibling:t.lastChild;if(i&&(i===a||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),r),!(i===a||!(i=i.nextSibling)););else{pk.innerHTML=n==="svg"?`${e}`:n==="mathml"?`${e}`:e;const s=pk.content;if(n==="svg"||n==="mathml"){const c=s.firstChild;for(;c.firstChild;)s.appendChild(c.firstChild);s.removeChild(c)}t.insertBefore(s,r)}return[o?o.nextSibling:t.firstChild,r?r.previousSibling:t.lastChild]}},wu="transition",_v="animation",pp=Symbol("_vtc"),rl=(e,{slots:t})=>xr(Tq,PF(e),t);rl.displayName="Transition";const CF={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},LZ=rl.props=ci({},qB,CF),Yc=(e,t=[])=>{fr(e)?e.forEach(r=>r(...t)):e&&e(...t)},mk=e=>e?fr(e)?e.some(t=>t.length>1):e.length>1:!1;function PF(e){const t={};for(const ie in e)ie in CF||(t[ie]=e[ie]);if(e.css===!1)return t;const{name:r="v",type:n,duration:i,enterFromClass:a=`${r}-enter-from`,enterActiveClass:o=`${r}-enter-active`,enterToClass:s=`${r}-enter-to`,appearFromClass:c=a,appearActiveClass:d=o,appearToClass:m=s,leaveFromClass:v=`${r}-leave-from`,leaveActiveClass:y=`${r}-leave-active`,leaveToClass:_=`${r}-leave-to`}=e,S=kZ(i),I=S&&S[0],E=S&&S[1],{onBeforeEnter:M,onEnter:L,onEnterCancelled:R,onLeave:$,onLeaveCancelled:G,onBeforeAppear:j=M,onAppear:H=L,onAppearCancelled:Z=R}=t,Q=(ie,ce,Ae)=>{ku(ie,ce?m:s),ku(ie,ce?d:o),Ae&&Ae()},ee=(ie,ce)=>{ie._isLeaving=!1,ku(ie,v),ku(ie,_),ku(ie,y),ce&&ce()},ne=ie=>(ce,Ae)=>{const ue=ie?H:L,_e=()=>Q(ce,ie,Ae);Yc(ue,[ce,_e]),vk(()=>{ku(ce,ie?c:a),kl(ce,ie?m:s),mk(ue)||gk(ce,n,I,_e)})};return ci(t,{onBeforeEnter(ie){Yc(M,[ie]),kl(ie,a),kl(ie,o)},onBeforeAppear(ie){Yc(j,[ie]),kl(ie,c),kl(ie,d)},onEnter:ne(!1),onAppear:ne(!0),onLeave(ie,ce){ie._isLeaving=!0;const Ae=()=>ee(ie,ce);kl(ie,v),kl(ie,y),IF(),vk(()=>{ie._isLeaving&&(ku(ie,v),kl(ie,_),mk($)||gk(ie,n,E,Ae))}),Yc($,[ie,Ae])},onEnterCancelled(ie){Q(ie,!1),Yc(R,[ie])},onAppearCancelled(ie){Q(ie,!0),Yc(Z,[ie])},onLeaveCancelled(ie){ee(ie),Yc(G,[ie])}})}function kZ(e){if(e==null)return null;if(En(e))return[e2(e.enter),e2(e.leave)];{const t=e2(e);return[t,t]}}function e2(e){return DW(e)}function kl(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.add(r)),(e[pp]||(e[pp]=new Set)).add(t)}function ku(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.remove(n));const r=e[pp];r&&(r.delete(t),r.size||(e[pp]=void 0))}function vk(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let RZ=0;function gk(e,t,r,n){const i=e._endId=++RZ,a=()=>{i===e._endId&&n()};if(r)return setTimeout(a,r);const{type:o,timeout:s,propCount:c}=AF(e,t);if(!o)return n();const d=o+"end";let m=0;const v=()=>{e.removeEventListener(d,y),a()},y=_=>{_.target===e&&++m>=c&&v()};setTimeout(()=>{m(r[S]||"").split(", "),i=n(`${wu}Delay`),a=n(`${wu}Duration`),o=yk(i,a),s=n(`${_v}Delay`),c=n(`${_v}Duration`),d=yk(s,c);let m=null,v=0,y=0;t===wu?o>0&&(m=wu,v=o,y=a.length):t===_v?d>0&&(m=_v,v=d,y=c.length):(v=Math.max(o,d),m=v>0?o>d?wu:_v:null,y=m?m===wu?a.length:c.length:0);const _=m===wu&&/\b(transform|all)(,|$)/.test(n(`${wu}Property`).toString());return{type:m,timeout:v,propCount:y,hasTransform:_}}function yk(e,t){for(;e.length_k(r)+_k(e[n])))}function _k(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function IF(){return document.body.offsetHeight}function OZ(e,t,r){const n=e[pp];n&&(t=(t?[t,...n]:[...n]).join(" ")),t==null?e.removeAttribute("class"):r?e.setAttribute("class",t):e.className=t}const pb=Symbol("_vod"),EF=Symbol("_vsh"),mb={beforeMount(e,{value:t},{transition:r}){e[pb]=e.style.display==="none"?"":e.style.display,r&&t?r.beforeEnter(e):bv(e,t)},mounted(e,{value:t},{transition:r}){r&&t&&r.enter(e)},updated(e,{value:t,oldValue:r},{transition:n}){!t!=!r&&(n?t?(n.beforeEnter(e),bv(e,!0),n.enter(e)):n.leave(e,()=>{bv(e,!1)}):bv(e,t))},beforeUnmount(e,{value:t}){bv(e,t)}};function bv(e,t){e.style.display=t?e[pb]:"none",e[EF]=!t}const zZ=Symbol(""),BZ=/(^|;)\s*display\s*:/;function FZ(e,t,r){const n=e.style,i=Xn(r);let a=!1;if(r&&!i){if(t)if(Xn(t))for(const o of t.split(";")){const s=o.slice(0,o.indexOf(":")).trim();r[s]==null&&T1(n,s,"")}else for(const o in t)r[o]==null&&T1(n,o,"");for(const o in r)o==="display"&&(a=!0),T1(n,o,r[o])}else if(i){if(t!==r){const o=n[zZ];o&&(r+=";"+o),n.cssText=r,a=BZ.test(r)}}else t&&e.removeAttribute("style");pb in e&&(e[pb]=a?n.display:"",e[EF]&&(n.display="none"))}const bk=/\s*!important$/;function T1(e,t,r){if(fr(r))r.forEach(n=>T1(e,t,n));else if(r==null&&(r=""),t.startsWith("--"))e.setProperty(t,r);else{const n=$Z(e,t);bk.test(r)?e.setProperty(uc(n),r.replace(bk,""),"important"):e[n]=r}}const xk=["Webkit","Moz","ms"],t2={};function $Z(e,t){const r=t2[t];if(r)return r;let n=ao(t);if(n!=="filter"&&n in e)return t2[t]=n;n=My(n);for(let i=0;ir2||(GZ.then(()=>r2=0),r2=Date.now());function qZ(e,t){const r=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=r.attached)return;Lo(ZZ(n,r.value),t,5,[n])};return r.value=e,r.attached=WZ(),r}function ZZ(e,t){if(fr(t)){const r=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{r.call(e),e._stopped=!0},t.map(n=>i=>!i._stopped&&n&&n(i))}else return t}const Pk=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,XZ=(e,t,r,n,i,a)=>{const o=i==="svg";t==="class"?OZ(e,n,o):t==="style"?FZ(e,r,n):Ey(t)?iI(t)||HZ(e,t,r,n,a):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):KZ(e,t,n,o))?(NZ(e,t,n),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Sk(e,t,n,o,a,t!=="value")):(t==="true-value"?e._trueValue=n:t==="false-value"&&(e._falseValue=n),Sk(e,t,n,o))};function KZ(e,t,r,n){if(n)return!!(t==="innerHTML"||t==="textContent"||t in e&&Pk(t)&&br(r));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const i=e.tagName;if(i==="IMG"||i==="VIDEO"||i==="CANVAS"||i==="SOURCE")return!1}return Pk(t)&&Xn(r)?!1:t in e}const MF=new WeakMap,DF=new WeakMap,vb=Symbol("_moveCb"),Ak=Symbol("_enterCb"),LF={name:"TransitionGroup",props:ci({},LZ,{tag:String,moveClass:String}),setup(e,{slots:t}){const r=Xl(),n=WB();let i,a;return Px(()=>{if(!i.length)return;const o=e.moveClass||`${e.name||"v"}-move`;if(!tX(i[0].el,r.vnode.el,o))return;i.forEach(JZ),i.forEach(QZ);const s=i.filter(eX);IF(),s.forEach(c=>{const d=c.el,m=d.style;kl(d,o),m.transform=m.webkitTransform=m.transitionDuration="";const v=d[vb]=y=>{y&&y.target!==d||(!y||/transform$/.test(y.propertyName))&&(d.removeEventListener("transitionend",v),d[vb]=null,ku(d,o))};d.addEventListener("transitionend",v)})}),()=>{const o=Nr(e),s=PF(o);let c=o.tag||Er;if(i=[],a)for(let d=0;ddelete e.mode;LF.props;const kF=LF;function JZ(e){const t=e.el;t[vb]&&t[vb](),t[Ak]&&t[Ak]()}function QZ(e){DF.set(e,e.el.getBoundingClientRect())}function eX(e){const t=MF.get(e),r=DF.get(e),n=t.left-r.left,i=t.top-r.top;if(n||i){const a=e.el.style;return a.transform=a.webkitTransform=`translate(${n}px,${i}px)`,a.transitionDuration="0s",e}}function tX(e,t,r){const n=e.cloneNode(),i=e[pp];i&&i.forEach(s=>{s.split(/\s+/).forEach(c=>c&&n.classList.remove(c))}),r.split(/\s+/).forEach(s=>s&&n.classList.add(s)),n.style.display="none";const a=t.nodeType===1?t:t.parentNode;a.appendChild(n);const{hasTransform:o}=AF(n);return a.removeChild(n),o}const rX={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},nX=(e,t)=>{const r=e._withKeys||(e._withKeys={}),n=t.join(".");return r[n]||(r[n]=i=>{if(!("key"in i))return;const a=uc(i.key);if(t.some(o=>o===a||rX[o]===a))return e(i)})},RF=ci({patchProp:XZ},DZ);let gg,Ik=!1;function iX(){return gg||(gg=rZ(RF))}function aX(){return gg=Ik?gg:nZ(RF),Ik=!0,gg}const gb=(...e)=>{iX().render(...e)},oX=(...e)=>{const t=aX().createApp(...e),{mount:r}=t;return t.mount=n=>{const i=lX(n);if(i)return r(i,!0,sX(i))},t};function sX(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function lX(e){return Xn(e)?document.querySelector(e):e}var Oy=e=>/^[a-z][a-z0-9+.-]*:/.test(e)||e.startsWith("//"),uX=/.md((\?|#).*)?$/,cX=(e,t="/")=>Oy(e)||e.startsWith("/")&&!e.startsWith(t)&&!uX.test(e),Ex=e=>/^(https?:)?\/\//.test(e),Ek=e=>{if(!e||e.endsWith("/"))return e;let t=e.replace(/(^|\/)README.md$/i,"$1index.html");return t.endsWith(".md")?t=t.substring(0,t.length-3)+".html":t.endsWith(".html")||(t=t+".html"),t.endsWith("/index.html")&&(t=t.substring(0,t.length-10)),t},hX="http://.",fX=(e,t)=>{if(!e.startsWith("/")&&t){const r=t.slice(0,t.lastIndexOf("/"));return Ek(new URL(`${r}/${e}`,hX).pathname)}return Ek(e)},dX=(e,t)=>{const r=Object.keys(e).sort((n,i)=>{const a=i.split("/").length-n.split("/").length;return a!==0?a:i.length-n.length});for(const n of r)if(t.startsWith(n))return n;return"/"},pX=(e,t="/")=>{const r=e.replace(/^(?:https?:)?\/\/[^/]*/,"");return r.startsWith(t)?`/${r.slice(t.length)}`:r},mX=/(#|\?)/,OF=e=>{const[t,...r]=e.split(mX);return{pathname:t,hashAndQueries:r.join("")}},vX=["link","meta","script","style","noscript","template"],gX=["title","base"],yX=([e,t,r])=>gX.includes(e)?e:vX.includes(e)?e==="meta"&&t.name?`${e}.${t.name}`:e==="template"&&t.id?`${e}.${t.id}`:JSON.stringify([e,Object.entries(t).map(([n,i])=>typeof i=="boolean"?i?[n,""]:null:[n,i]).filter(n=>n!=null).sort(([n],[i])=>n.localeCompare(i)),r]):null,_X=e=>{const t=new Set,r=[];return e.forEach(n=>{const i=yX(n);i&&!t.has(i)&&(t.add(i),r.push(n))}),r},bX=e=>e[e.length-1]==="/"||e.endsWith(".html")?e:`${e}/`,zF=e=>e[e.length-1]==="/"?e.slice(0,-1):e,TI=e=>e[0]==="/"?e.slice(1):e,CI=e=>Object.prototype.toString.call(e)==="[object Object]",os=e=>typeof e=="string";const xX="modulepreload",wX=function(e){return"/"+e},Mk={},xt=function(t,r,n){let i=Promise.resolve();if(r&&r.length>0){document.getElementsByTagName("link");const a=document.querySelector("meta[property=csp-nonce]"),o=(a==null?void 0:a.nonce)||(a==null?void 0:a.getAttribute("nonce"));i=Promise.all(r.map(s=>{if(s=wX(s),s in Mk)return;Mk[s]=!0;const c=s.endsWith(".css"),d=c?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${s}"]${d}`))return;const m=document.createElement("link");if(m.rel=c?"stylesheet":xX,c||(m.as="script",m.crossOrigin=""),m.href=s,o&&m.setAttribute("nonce",o),document.head.appendChild(m),c)return new Promise((v,y)=>{m.addEventListener("load",v),m.addEventListener("error",()=>y(new Error(`Unable to preload CSS for ${s}`)))})}))}return i.then(()=>t()).catch(a=>{const o=new Event("vite:preloadError",{cancelable:!0});if(o.payload=a,window.dispatchEvent(o),!o.defaultPrevented)throw a})},SX=JSON.parse("{}"),TX=Object.fromEntries([["/",{loader:()=>xt(()=>import("./index.html-55391GHD.js"),__vite__mapDeps([0,1])),meta:{title:"📚南科手册"}}],["/index-wx.html",{loader:()=>xt(()=>import("./index-wx.html-BbsdHAGY.js"),__vite__mapDeps([2,1])),meta:{title:"📚你科手册"}}],["/about/",{loader:()=>xt(()=>import("./index.html-Blm1NxVU.js"),[]),meta:{title:"帮助我们完善"}}],["/calendar/2018-2019.html",{loader:()=>xt(()=>import("./2018-2019.html-BwvWFhgm.js"),[]),meta:{title:"校历 - 2018-2019 学年"}}],["/calendar/2019-2020.html",{loader:()=>xt(()=>import("./2019-2020.html-Db2lJysB.js"),[]),meta:{title:"校历 - 2019-2020 学年"}}],["/calendar/2020-2021.html",{loader:()=>xt(()=>import("./2020-2021.html-DUfiIUal.js"),[]),meta:{title:"校历 - 2020-2021 学年"}}],["/calendar/2021-2022.html",{loader:()=>xt(()=>import("./2021-2022.html-C_NxjIvl.js"),[]),meta:{title:"校历 - 2021-2022 学年"}}],["/calendar/2021fall.html",{loader:()=>xt(()=>import("./2021fall.html-VTielChk.js"),[]),meta:{title:""}}],["/calendar/2022-2023.html",{loader:()=>xt(()=>import("./2022-2023.html-CT6qDa6y.js"),[]),meta:{title:"校历 - 2022-2023 学年"}}],["/calendar/2023-2024.html",{loader:()=>xt(()=>import("./2023-2024.html-CceQ4CII.js"),__vite__mapDeps([3,4])),meta:{title:"校历 - 2023-2024 学年"}}],["/calendar/",{loader:()=>xt(()=>import("./index.html-BG9HB7g4.js"),__vite__mapDeps([5,4])),meta:{title:"📅校历"}}],["/canteen/",{loader:()=>xt(()=>import("./index.html-DMHzskEC.js"),[]),meta:{title:"🍜饭堂服务"}}],["/canteen/canteen-wx.html",{loader:()=>xt(()=>import("./canteen-wx.html-B01Guv6X.js"),[]),meta:{title:"🍜饭堂服务"}}],["/contact/",{loader:()=>xt(()=>import("./index.html-DghbAH_Y.js"),[]),meta:{title:"📇黄页"}}],["/emergency/",{loader:()=>xt(()=>import("./index.html-WMIP-AiM.js"),[]),meta:{title:"应急处理"}}],["/facility/",{loader:()=>xt(()=>import("./index.html-DzLWaBqz.js"),[]),meta:{title:"🏫建筑与设施"}}],["/facility/building-11-elevator.html",{loader:()=>xt(()=>import("./building-11-elevator.html-D_4lhWz7.js"),[]),meta:{title:"如何“破解”11栋电梯"}}],["/if-you-are-a-freshman/2021.html",{loader:()=>xt(()=>import("./2021.html-BtvRM_eq.js"),[]),meta:{title:"如果你是新生..."}}],["/if-you-are-a-freshman/",{loader:()=>xt(()=>import("./index.html-BS4qaOZ1.js"),[]),meta:{title:"如果你是新生..."}}],["/life/",{loader:()=>xt(()=>import("./index.html-w-WI2k6c.js"),[]),meta:{title:"👨‍🎓生活在南科"}}],["/life/vehicle-charger.html",{loader:()=>xt(()=>import("./vehicle-charger.html-DyH3SUKE.js"),[]),meta:{title:"充电桩分布"}}],["/media/",{loader:()=>xt(()=>import("./index.html-DIv-Ebu7.js"),[]),meta:{title:"📺媒体与网站"}}],["/miniapp/",{loader:()=>xt(()=>import("./index.html-6ArOatwO.js"),[]),meta:{title:"南科手册-微信小程序"}}],["/news/",{loader:()=>xt(()=>import("./index.html-CGorN1uQ.js"),[]),meta:{title:"更新日志"}}],["/organizations/",{loader:()=>xt(()=>import("./index.html-C3tGdt7I.js"),[]),meta:{title:"🎡社团活动"}}],["/organizations/registered-organization-2019.html",{loader:()=>xt(()=>import("./registered-organization-2019.html-DYjSnj_m.js"),[]),meta:{title:"注册社团列表(2018-2019年度)"}}],["/organizations/registered-organization-2020.html",{loader:()=>xt(()=>import("./registered-organization-2020.html-BUFfIw6e.js"),[]),meta:{title:"注册社团列表(2019-2020年度)"}}],["/organizations/registered-organization-2021.html",{loader:()=>xt(()=>import("./registered-organization-2021.html-BR5MjOvl.js"),[]),meta:{title:"注册社团列表(2020-2021年度)"}}],["/service/",{loader:()=>xt(()=>import("./index.html-BRf8f6nn.js"),[]),meta:{title:"🖥服务与技巧"}}],["/site-help/",{loader:()=>xt(()=>import("./index.html-ZT-TcLA9.js"),[]),meta:{title:"❓站点帮助"}}],["/site-help/adt.html",{loader:()=>xt(()=>import("./adt.html-Dozl1b7B.js"),[]),meta:{title:"ADT"}}],["/study/",{loader:()=>xt(()=>import("./index.html-CMZeBYPL.js"),[]),meta:{title:"🎓学在南科"}}],["/study/paper-tools.html",{loader:()=>xt(()=>import("./paper-tools.html-NZ0vPFXW.js"),[]),meta:{title:"几个赶 ddl 的好用工具🔧"}}],["/surroundings/",{loader:()=>xt(()=>import("./index.html-2k2ELrJC.js"),__vite__mapDeps([6,7])),meta:{title:"🛍周边"}}],["/transport/",{loader:()=>xt(()=>import("./index.html-DiFnQrIv.js"),__vite__mapDeps([8,7])),meta:{title:"🚄交通"}}],["/transport/bustimer-old.html",{loader:()=>xt(()=>import("./bustimer-old.html-CIk1RF6S.js"),__vite__mapDeps([9,10])),meta:{title:"🚌校园巴士时刻表 SUSTech Campus Bus Info"}}],["/transport/bustimer-wx.html",{loader:()=>xt(()=>import("./bustimer-wx.html-BjIRbdkY.js"),[]),meta:{title:"🚌校园巴士时刻表 SUSTech Campus Bus Info"}}],["/transport/bustimer.html",{loader:()=>xt(()=>import("./bustimer.html-OKnEiwmm.js"),[]),meta:{title:"🚌校园巴士时刻表 SUSTech Campus Bus Info"}}],["/transport/holiday.html",{loader:()=>xt(()=>import("./holiday.html-CQKGMrsI.js"),__vite__mapDeps([11,10])),meta:{title:"🚌校园巴士 - 节假日 (2021年6月18日更新)"}}],["/transport/redirect.html",{loader:()=>xt(()=>import("./redirect.html-CnLuAqla.js"),[]),meta:{title:"🚌校园巴士 - 自动跳转"}}],["/transport/workday.html",{loader:()=>xt(()=>import("./workday.html-BoYrvDQg.js"),__vite__mapDeps([12,10])),meta:{title:"🚌校园巴士 - 工作日 (2021年6月18日更新)"}}],["/contact/professor-emails/",{loader:()=>xt(()=>import("./index.html-BivENQ4t.js"),[]),meta:{title:"教授邮件列表"}}],["/facility/panolens/",{loader:()=>xt(()=>import("./index.html-Da0TzRGr.js"),[]),meta:{title:"全景看校园"}}],["/if-you-are-a-freshman/preview/",{loader:()=>xt(()=>import("./index.html-CbACfGEh.js"),[]),meta:{title:"蓢村拾遗:南科大冷知识2021"}}],["/life/by-zhicheng-college/%E6%96%B0%E7%94%9F%E6%94%BB%E7%95%A5%E4%B9%8B%E5%AE%BF%E8%88%8D%E7%94%9F%E6%B4%BB%E7%AF%87.html",{loader:()=>xt(()=>import("./新生攻略之宿舍生活篇.html-DaRl0WBa.js"),[]),meta:{title:"新生攻略之宿舍生活篇"}}],["/life/by-zhicheng-college/%E6%96%B0%E7%94%9F%E6%94%BB%E7%95%A5%E4%B9%8B%E6%A0%A1%E5%86%85%E4%BB%8B%E7%BB%8D%E7%AF%87.html",{loader:()=>xt(()=>import("./新生攻略之校内介绍篇.html-DxIWELax.js"),[]),meta:{title:"新生攻略之校内介绍篇"}}],["/life/by-zhicheng-college/%E6%96%B0%E7%94%9F%E6%94%BB%E7%95%A5%E4%B9%8B%E7%A4%BE%E5%9B%A2%E7%AF%87.html",{loader:()=>xt(()=>import("./新生攻略之社团篇.html-D6mtc7o1.js"),[]),meta:{title:"新生攻略之社团篇"}}],["/life/catering/",{loader:()=>xt(()=>import("./index.html-DbtH2J2h.js"),[]),meta:{title:"☕️餐饮"}}],["/life/dormitory/",{loader:()=>xt(()=>import("./index.html-DLqRK9Z0.js"),[]),meta:{title:"🏠住在南科"}}],["/life/dormitory/dorm-floor-plan.html",{loader:()=>xt(()=>import("./dorm-floor-plan.html-BM8fKf3H.js"),[]),meta:{title:"宿舍平面图"}}],["/life/freshman-register/",{loader:()=>xt(()=>import("./index.html-Fha3PaEM.js"),[]),meta:{title:"新生报到"}}],["/life/sports-facility/",{loader:()=>xt(()=>import("./index.html-CFWaM9JM.js"),[]),meta:{title:"🏊‍♀️运动设施"}}],["/service/campus-card/",{loader:()=>xt(()=>import("./index.html-DeA_Q-FQ.js"),[]),meta:{title:"💳校园卡"}}],["/service/email/",{loader:()=>xt(()=>import("./index.html-pvDJYVKw.js"),[]),meta:{title:"电子邮件服务"}}],["/service/email/send-receive-email-by-proxy.html",{loader:()=>xt(()=>import("./send-receive-email-by-proxy.html-eK1B-c2t.js"),[]),meta:{title:"解决邮箱容量不足的问题"}}],["/service/mail-and-express/",{loader:()=>xt(()=>import("./index.html-BnGiriS9.js"),[]),meta:{title:"📦邮件与快递收发"}}],["/service/matlab/",{loader:()=>xt(()=>import("./index.html-Dyljf7_p.js"),[]),meta:{title:"MATLAB 激活"}}],["/service/medical-treatment/",{loader:()=>xt(()=>import("./index.html-CGhJILiG.js"),[]),meta:{title:"🏥就医指南"}}],["/service/network/",{loader:()=>xt(()=>import("./index.html-DPFaczZw.js"),[]),meta:{title:"🌐网络与信息中心 (its@sustech.edu.cn)"}}],["/service/sakai/",{loader:()=>xt(()=>import("./index.html-CWBsguBz.js"),[]),meta:{title:"Sakai | 文件分享"}}],["/service/sid/",{loader:()=>xt(()=>import("./index.html-DmD24g6o.js"),[]),meta:{title:"学号(SID)"}}],["/service/student-train-ticket/",{loader:()=>xt(()=>import("./index.html-BZUn4ZJM.js"),[]),meta:{title:"火车票学生优惠使用指南"}}],["/service/tax/",{loader:()=>xt(()=>import("./index.html-DvdYJi5S.js"),[]),meta:{title:"如何申报退税?-- 年度个人所得税年度汇算"}}],["/service/unifound/",{loader:()=>xt(()=>import("./index.html-DISSKEos.js"),[]),meta:{title:"🖨️联创打印系统"}}],["/service/work-wechat/",{loader:()=>xt(()=>import("./index.html-Doz9SO92.js"),[]),meta:{title:"企业微信"}}],["/study/borrow-books/",{loader:()=>xt(()=>import("./index.html-Bb5AGtLl.js"),[]),meta:{title:"📗教材与图书借还"}}],["/study/by-shude-college/advice-on-study.html",{loader:()=>xt(()=>import("./advice-on-study.html-D5d8w7Xe.js"),[]),meta:{title:"📖学习建议"}}],["/study/by-shude-college/info-on-study.html",{loader:()=>xt(()=>import("./info-on-study.html-B3QFlDfa.js"),[]),meta:{title:"📖学习制度与信息"}}],["/study/by-zhicheng-college/%E6%96%B0%E7%94%9F%E6%94%BB%E7%95%A5%E4%B9%8B%E5%AD%A6%E4%B9%A0%E7%AF%87.html",{loader:()=>xt(()=>import("./新生攻略之学习篇.html-D6tAPWFR.js"),[]),meta:{title:"新生攻略之学习篇"}}],["/study/cse/innovative-project.html",{loader:()=>xt(()=>import("./innovative-project.html-Bf9LqWkH.js"),[]),meta:{title:"南方科技大学计算机系创新实践项目汇总"}}],["/service/blackboard/retrive-ics-url/",{loader:()=>xt(()=>import("./index.html-BRDX-VhE.js"),[]),meta:{title:"BB | 将Blackboard中作业,DDL等日程添加到系统日历"}}],["/service/network/apply-for-vpn/",{loader:()=>xt(()=>import("./index.html-DdZB6oVp.js"),[]),meta:{title:"申请回校VPN"}}],["/service/network/choose-a-pad/",{loader:()=>xt(()=>import("./index.html-CeI5cILP.js"),[]),meta:{title:"选择一台合适的平板电脑"}}],["/service/network/choose-a-router/",{loader:()=>xt(()=>import("./index.html-CNEv92mS.js"),[]),meta:{title:"📶选择一台合适的路由器"}}],["/service/network/eduroam/",{loader:()=>xt(()=>import("./index.html-DC28O9ym.js"),[]),meta:{title:"eduroam(学术网路漫游)"}}],["/service/network/ipv6/",{loader:()=>xt(()=>import("./index.html-Cm4nwcoP.js"),[]),meta:{title:"校内 IPv6 设置教程"}}],["/service/network/remote-desktop/",{loader:()=>xt(()=>import("./index.html-BQ-FjBAh.js"),[]),meta:{title:"校内远程桌面使用指北"}}],["/service/network/use-vpn/",{loader:()=>xt(()=>import("./index.html-CPvJSkac.js"),[]),meta:{title:"使用 SSL VPN 说明"}}],["/study/book-list-by-prof-yuan/2018/",{loader:()=>xt(()=>import("./index.html-BC9jjslU.js"),[]),meta:{title:"袁长庚老师为新生推荐的书单(2018)"}}],["/404.html",{loader:()=>xt(()=>import("./404.html-C7Zu1eiz.js"),[]),meta:{title:""}}]]);/*! + * vue-router v4.4.3 + * (c) 2024 Eduardo San Martin Morote + * @license MIT + */const Md=typeof document<"u";function CX(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const fn=Object.assign;function n2(e,t){const r={};for(const n in t){const i=t[n];r[n]=cs(i)?i.map(e):e(i)}return r}const yg=()=>{},cs=Array.isArray,BF=/#/g,PX=/&/g,AX=/\//g,IX=/=/g,EX=/\?/g,FF=/\+/g,MX=/%5B/g,DX=/%5D/g,$F=/%5E/g,LX=/%60/g,NF=/%7B/g,kX=/%7C/g,VF=/%7D/g,RX=/%20/g;function PI(e){return encodeURI(""+e).replace(kX,"|").replace(MX,"[").replace(DX,"]")}function OX(e){return PI(e).replace(NF,"{").replace(VF,"}").replace($F,"^")}function zC(e){return PI(e).replace(FF,"%2B").replace(RX,"+").replace(BF,"%23").replace(PX,"%26").replace(LX,"`").replace(NF,"{").replace(VF,"}").replace($F,"^")}function zX(e){return zC(e).replace(IX,"%3D")}function BX(e){return PI(e).replace(BF,"%23").replace(EX,"%3F")}function FX(e){return e==null?"":BX(e).replace(AX,"%2F")}function qg(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const $X=/\/$/,NX=e=>e.replace($X,"");function i2(e,t,r="/"){let n,i={},a="",o="";const s=t.indexOf("#");let c=t.indexOf("?");return s=0&&(c=-1),c>-1&&(n=t.slice(0,c),a=t.slice(c+1,s>-1?s:t.length),i=e(a)),s>-1&&(n=n||t.slice(0,s),o=t.slice(s,t.length)),n=UX(n??t,r),{fullPath:n+(a&&"?")+a+o,path:n,query:i,hash:qg(o)}}function VX(e,t){const r=t.query?e(t.query):"";return t.path+(r&&"?")+r+(t.hash||"")}function Dk(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function jX(e,t,r){const n=t.matched.length-1,i=r.matched.length-1;return n>-1&&n===i&&mp(t.matched[n],r.matched[i])&&jF(t.params,r.params)&&e(t.query)===e(r.query)&&t.hash===r.hash}function mp(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function jF(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const r in e)if(!HX(e[r],t[r]))return!1;return!0}function HX(e,t){return cs(e)?Lk(e,t):cs(t)?Lk(t,e):e===t}function Lk(e,t){return cs(t)?e.length===t.length&&e.every((r,n)=>r===t[n]):e.length===1&&e[0]===t}function UX(e,t){if(e.startsWith("/"))return e;if(!e)return t;const r=t.split("/"),n=e.split("/"),i=n[n.length-1];(i===".."||i===".")&&n.push("");let a=r.length-1,o,s;for(o=0;o1&&a--;else break;return r.slice(0,a).join("/")+"/"+n.slice(o).join("/")}const Rl={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var Zg;(function(e){e.pop="pop",e.push="push"})(Zg||(Zg={}));var _g;(function(e){e.back="back",e.forward="forward",e.unknown=""})(_g||(_g={}));function GX(e){if(!e)if(Md){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),NX(e)}const WX=/^[^#]+#/;function qX(e,t){return e.replace(WX,"#")+t}function ZX(e,t){const r=document.documentElement.getBoundingClientRect(),n=e.getBoundingClientRect();return{behavior:t.behavior,left:n.left-r.left-(t.left||0),top:n.top-r.top-(t.top||0)}}const Mx=()=>({left:window.scrollX,top:window.scrollY});function XX(e){let t;if("el"in e){const r=e.el,n=typeof r=="string"&&r.startsWith("#"),i=typeof r=="string"?n?document.getElementById(r.slice(1)):document.querySelector(r):r;if(!i)return;t=ZX(i,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function kk(e,t){return(history.state?history.state.position-t:-1)+e}const BC=new Map;function KX(e,t){BC.set(e,t)}function YX(e){const t=BC.get(e);return BC.delete(e),t}let JX=()=>location.protocol+"//"+location.host;function HF(e,t){const{pathname:r,search:n,hash:i}=t,a=e.indexOf("#");if(a>-1){let s=i.includes(e.slice(a))?e.slice(a).length:1,c=i.slice(s);return c[0]!=="/"&&(c="/"+c),Dk(c,"")}return Dk(r,e)+n+i}function QX(e,t,r,n){let i=[],a=[],o=null;const s=({state:y})=>{const _=HF(e,location),S=r.value,I=t.value;let E=0;if(y){if(r.value=_,t.value=y,o&&o===S){o=null;return}E=I?y.position-I.position:0}else n(_);i.forEach(M=>{M(r.value,S,{delta:E,type:Zg.pop,direction:E?E>0?_g.forward:_g.back:_g.unknown})})};function c(){o=r.value}function d(y){i.push(y);const _=()=>{const S=i.indexOf(y);S>-1&&i.splice(S,1)};return a.push(_),_}function m(){const{history:y}=window;y.state&&y.replaceState(fn({},y.state,{scroll:Mx()}),"")}function v(){for(const y of a)y();a=[],window.removeEventListener("popstate",s),window.removeEventListener("beforeunload",m)}return window.addEventListener("popstate",s),window.addEventListener("beforeunload",m,{passive:!0}),{pauseListeners:c,listen:d,destroy:v}}function Rk(e,t,r,n=!1,i=!1){return{back:e,current:t,forward:r,replaced:n,position:window.history.length,scroll:i?Mx():null}}function eK(e){const{history:t,location:r}=window,n={value:HF(e,r)},i={value:t.state};i.value||a(n.value,{back:null,current:n.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function a(c,d,m){const v=e.indexOf("#"),y=v>-1?(r.host&&document.querySelector("base")?e:e.slice(v))+c:JX()+e+c;try{t[m?"replaceState":"pushState"](d,"",y),i.value=d}catch(_){console.error(_),r[m?"replace":"assign"](y)}}function o(c,d){const m=fn({},t.state,Rk(i.value.back,c,i.value.forward,!0),d,{position:i.value.position});a(c,m,!0),n.value=c}function s(c,d){const m=fn({},i.value,t.state,{forward:c,scroll:Mx()});a(m.current,m,!0);const v=fn({},Rk(n.value,c,null),{position:m.position+1},d);a(c,v,!1),n.value=c}return{location:n,state:i,push:s,replace:o}}function tK(e){e=GX(e);const t=eK(e),r=QX(e,t.state,t.location,t.replace);function n(a,o=!0){o||r.pauseListeners(),history.go(a)}const i=fn({location:"",base:e,go:n,createHref:qX.bind(null,e)},t,r);return Object.defineProperty(i,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(i,"state",{enumerable:!0,get:()=>t.state.value}),i}function rK(e){return typeof e=="string"||e&&typeof e=="object"}function UF(e){return typeof e=="string"||typeof e=="symbol"}const GF=Symbol("");var Ok;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Ok||(Ok={}));function vp(e,t){return fn(new Error,{type:e,[GF]:!0},t)}function Pl(e,t){return e instanceof Error&&GF in e&&(t==null||!!(e.type&t))}const zk="[^/]+?",nK={sensitive:!1,strict:!1,start:!0,end:!0},iK=/[.+*?^${}()[\]/\\]/g;function aK(e,t){const r=fn({},nK,t),n=[];let i=r.start?"^":"";const a=[];for(const d of e){const m=d.length?[]:[90];r.strict&&!d.length&&(i+="/");for(let v=0;vt.length?t.length===1&&t[0]===80?1:-1:0}function WF(e,t){let r=0;const n=e.score,i=t.score;for(;r0&&t[t.length-1]<0}const sK={type:0,value:""},lK=/[a-zA-Z0-9_]/;function uK(e){if(!e)return[[]];if(e==="/")return[[sK]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(_){throw new Error(`ERR (${r})/"${d}": ${_}`)}let r=0,n=r;const i=[];let a;function o(){a&&i.push(a),a=[]}let s=0,c,d="",m="";function v(){d&&(r===0?a.push({type:0,value:d}):r===1||r===2||r===3?(a.length>1&&(c==="*"||c==="+")&&t(`A repeatable param (${d}) must be alone in its segment. eg: '/:ids+.`),a.push({type:1,value:d,regexp:m,repeatable:c==="*"||c==="+",optional:c==="*"||c==="?"})):t("Invalid state to consume buffer"),d="")}function y(){d+=c}for(;s{o(R)}:yg}function o(v){if(UF(v)){const y=n.get(v);y&&(n.delete(v),r.splice(r.indexOf(y),1),y.children.forEach(o),y.alias.forEach(o))}else{const y=r.indexOf(v);y>-1&&(r.splice(y,1),v.record.name&&n.delete(v.record.name),v.children.forEach(o),v.alias.forEach(o))}}function s(){return r}function c(v){const y=mK(v,r);r.splice(y,0,v),v.record.name&&!$k(v)&&n.set(v.record.name,v)}function d(v,y){let _,S={},I,E;if("name"in v&&v.name){if(_=n.get(v.name),!_)throw vp(1,{location:v});E=_.record.name,S=fn(Fk(y.params,_.keys.filter(R=>!R.optional).concat(_.parent?_.parent.keys.filter(R=>R.optional):[]).map(R=>R.name)),v.params&&Fk(v.params,_.keys.map(R=>R.name))),I=_.stringify(S)}else if(v.path!=null)I=v.path,_=r.find(R=>R.re.test(I)),_&&(S=_.parse(I),E=_.record.name);else{if(_=y.name?n.get(y.name):r.find(R=>R.re.test(y.path)),!_)throw vp(1,{location:v,currentLocation:y});E=_.record.name,S=fn({},y.params,v.params),I=_.stringify(S)}const M=[];let L=_;for(;L;)M.unshift(L.record),L=L.parent;return{name:E,path:I,params:S,matched:M,meta:pK(M)}}e.forEach(v=>a(v));function m(){r.length=0,n.clear()}return{addRoute:a,resolve:d,removeRoute:o,clearRoutes:m,getRoutes:s,getRecordMatcher:i}}function Fk(e,t){const r={};for(const n of t)n in e&&(r[n]=e[n]);return r}function fK(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:dK(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function dK(e){const t={},r=e.props||!1;if("component"in e)t.default=r;else for(const n in e.components)t[n]=typeof r=="object"?r[n]:r;return t}function $k(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function pK(e){return e.reduce((t,r)=>fn(t,r.meta),{})}function Nk(e,t){const r={};for(const n in e)r[n]=n in t?t[n]:e[n];return r}function mK(e,t){let r=0,n=t.length;for(;r!==n;){const a=r+n>>1;WF(e,t[a])<0?n=a:r=a+1}const i=vK(e);return i&&(n=t.lastIndexOf(i,n-1)),n}function vK(e){let t=e;for(;t=t.parent;)if(qF(t)&&WF(e,t)===0)return t}function qF({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function gK(e){const t={};if(e===""||e==="?")return t;const n=(e[0]==="?"?e.slice(1):e).split("&");for(let i=0;ia&&zC(a)):[n&&zC(n)]).forEach(a=>{a!==void 0&&(t+=(t.length?"&":"")+r,a!=null&&(t+="="+a))})}return t}function yK(e){const t={};for(const r in e){const n=e[r];n!==void 0&&(t[r]=cs(n)?n.map(i=>i==null?null:""+i):n==null?n:""+n)}return t}const _K=Symbol(""),jk=Symbol(""),Dx=Symbol(""),AI=Symbol(""),FC=Symbol("");function xv(){let e=[];function t(n){return e.push(n),()=>{const i=e.indexOf(n);i>-1&&e.splice(i,1)}}function r(){e=[]}return{add:t,list:()=>e.slice(),reset:r}}function $u(e,t,r,n,i,a=o=>o()){const o=n&&(n.enterCallbacks[i]=n.enterCallbacks[i]||[]);return()=>new Promise((s,c)=>{const d=y=>{y===!1?c(vp(4,{from:r,to:t})):y instanceof Error?c(y):rK(y)?c(vp(2,{from:t,to:y})):(o&&n.enterCallbacks[i]===o&&typeof y=="function"&&o.push(y),s())},m=a(()=>e.call(n&&n.instances[i],t,r,d));let v=Promise.resolve(m);e.length<3&&(v=v.then(d)),v.catch(y=>c(y))})}function a2(e,t,r,n,i=a=>a()){const a=[];for(const o of e)for(const s in o.components){let c=o.components[s];if(!(t!=="beforeRouteEnter"&&!o.instances[s]))if(bK(c)){const m=(c.__vccOpts||c)[t];m&&a.push($u(m,r,n,o,s,i))}else{let d=c();a.push(()=>d.then(m=>{if(!m)return Promise.reject(new Error(`Couldn't resolve component "${s}" at "${o.path}"`));const v=CX(m)?m.default:m;o.components[s]=v;const _=(v.__vccOpts||v)[t];return _&&$u(_,r,n,o,s,i)()}))}}return a}function bK(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Hk(e){const t=en(Dx),r=en(AI),n=Le(()=>{const c=ka(e.to);return t.resolve(c)}),i=Le(()=>{const{matched:c}=n.value,{length:d}=c,m=c[d-1],v=r.matched;if(!m||!v.length)return-1;const y=v.findIndex(mp.bind(null,m));if(y>-1)return y;const _=Uk(c[d-2]);return d>1&&Uk(m)===_&&v[v.length-1].path!==_?v.findIndex(mp.bind(null,c[d-2])):y}),a=Le(()=>i.value>-1&&SK(r.params,n.value.params)),o=Le(()=>i.value>-1&&i.value===r.matched.length-1&&jF(r.params,n.value.params));function s(c={}){return wK(c)?t[ka(e.replace)?"replace":"push"](ka(e.to)).catch(yg):Promise.resolve()}return{route:n,href:Le(()=>n.value.href),isActive:a,isExactActive:o,navigate:s}}const xK=Zt({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:Hk,setup(e,{slots:t}){const r=oo(Hk(e)),{options:n}=en(Dx),i=Le(()=>({[Gk(e.activeClass,n.linkActiveClass,"router-link-active")]:r.isActive,[Gk(e.exactActiveClass,n.linkExactActiveClass,"router-link-exact-active")]:r.isExactActive}));return()=>{const a=t.default&&t.default(r);return e.custom?a:xr("a",{"aria-current":r.isExactActive?e.ariaCurrentValue:null,href:r.href,onClick:r.navigate,class:i.value},a)}}}),ZF=xK;function wK(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function SK(e,t){for(const r in t){const n=t[r],i=e[r];if(typeof n=="string"){if(n!==i)return!1}else if(!cs(i)||i.length!==n.length||n.some((a,o)=>a!==i[o]))return!1}return!0}function Uk(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Gk=(e,t,r)=>e??t??r,TK=Zt({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:r}){const n=en(FC),i=Le(()=>e.route||n.value),a=en(jk,0),o=Le(()=>{let d=ka(a);const{matched:m}=i.value;let v;for(;(v=m[d])&&!v.components;)d++;return d}),s=Le(()=>i.value.matched[o.value]);Fi(jk,Le(()=>o.value+1)),Fi(_K,s),Fi(FC,i);const c=Qt();return $r(()=>[c.value,s.value,e.name],([d,m,v],[y,_,S])=>{m&&(m.instances[v]=d,_&&_!==m&&d&&d===y&&(m.leaveGuards.size||(m.leaveGuards=_.leaveGuards),m.updateGuards.size||(m.updateGuards=_.updateGuards))),d&&m&&(!_||!mp(m,_)||!y)&&(m.enterCallbacks[v]||[]).forEach(I=>I(d))},{flush:"post"}),()=>{const d=i.value,m=e.name,v=s.value,y=v&&v.components[m];if(!y)return Wk(r.default,{Component:y,route:d});const _=v.props[m],S=_?_===!0?d.params:typeof _=="function"?_(d):_:null,E=xr(y,fn({},S,t,{onVnodeUnmounted:M=>{M.component.isUnmounted&&(v.instances[m]=null)},ref:c}));return Wk(r.default,{Component:E,route:d})||E}}});function Wk(e,t){if(!e)return null;const r=e(t);return r.length===1?r[0]:r}const CK=TK;function PK(e){const t=hK(e.routes,e),r=e.parseQuery||gK,n=e.stringifyQuery||Vk,i=e.history,a=xv(),o=xv(),s=xv(),c=on(Rl);let d=Rl;Md&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const m=n2.bind(null,Ge=>""+Ge),v=n2.bind(null,FX),y=n2.bind(null,qg);function _(Ge,st){let tt,ft;return UF(Ge)?(tt=t.getRecordMatcher(Ge),ft=st):ft=Ge,t.addRoute(ft,tt)}function S(Ge){const st=t.getRecordMatcher(Ge);st&&t.removeRoute(st)}function I(){return t.getRoutes().map(Ge=>Ge.record)}function E(Ge){return!!t.getRecordMatcher(Ge)}function M(Ge,st){if(st=fn({},st||c.value),typeof Ge=="string"){const ge=i2(r,Ge,st.path),Fe=t.resolve({path:ge.path},st),ye=i.createHref(ge.fullPath);return fn(ge,Fe,{params:y(Fe.params),hash:qg(ge.hash),redirectedFrom:void 0,href:ye})}let tt;if(Ge.path!=null)tt=fn({},Ge,{path:i2(r,Ge.path,st.path).path});else{const ge=fn({},Ge.params);for(const Fe in ge)ge[Fe]==null&&delete ge[Fe];tt=fn({},Ge,{params:v(ge)}),st.params=v(st.params)}const ft=t.resolve(tt,st),dt=Ge.hash||"";ft.params=m(y(ft.params));const Dt=VX(n,fn({},Ge,{hash:OX(dt),path:ft.path})),fe=i.createHref(Dt);return fn({fullPath:Dt,hash:dt,query:n===Vk?yK(Ge.query):Ge.query||{}},ft,{redirectedFrom:void 0,href:fe})}function L(Ge){return typeof Ge=="string"?i2(r,Ge,c.value.path):fn({},Ge)}function R(Ge,st){if(d!==Ge)return vp(8,{from:st,to:Ge})}function $(Ge){return H(Ge)}function G(Ge){return $(fn(L(Ge),{replace:!0}))}function j(Ge){const st=Ge.matched[Ge.matched.length-1];if(st&&st.redirect){const{redirect:tt}=st;let ft=typeof tt=="function"?tt(Ge):tt;return typeof ft=="string"&&(ft=ft.includes("?")||ft.includes("#")?ft=L(ft):{path:ft},ft.params={}),fn({query:Ge.query,hash:Ge.hash,params:ft.path!=null?{}:Ge.params},ft)}}function H(Ge,st){const tt=d=M(Ge),ft=c.value,dt=Ge.state,Dt=Ge.force,fe=Ge.replace===!0,ge=j(tt);if(ge)return H(fn(L(ge),{state:typeof ge=="object"?fn({},dt,ge.state):dt,force:Dt,replace:fe}),st||tt);const Fe=tt;Fe.redirectedFrom=st;let ye;return!Dt&&jX(n,ft,tt)&&(ye=vp(16,{to:Fe,from:ft}),Ut(ft,ft,!0,!1)),(ye?Promise.resolve(ye):ee(Fe,ft)).catch(qe=>Pl(qe)?Pl(qe,2)?qe:Ct(qe):$e(qe,Fe,ft)).then(qe=>{if(qe){if(Pl(qe,2))return H(fn({replace:fe},L(qe.to),{state:typeof qe.to=="object"?fn({},dt,qe.to.state):dt,force:Dt}),st||Fe)}else qe=ie(Fe,ft,!0,fe,dt);return ne(Fe,ft,qe),qe})}function Z(Ge,st){const tt=R(Ge,st);return tt?Promise.reject(tt):Promise.resolve()}function Q(Ge){const st=ur.values().next().value;return st&&typeof st.runWithContext=="function"?st.runWithContext(Ge):Ge()}function ee(Ge,st){let tt;const[ft,dt,Dt]=AK(Ge,st);tt=a2(ft.reverse(),"beforeRouteLeave",Ge,st);for(const ge of ft)ge.leaveGuards.forEach(Fe=>{tt.push($u(Fe,Ge,st))});const fe=Z.bind(null,Ge,st);return tt.push(fe),ir(tt).then(()=>{tt=[];for(const ge of a.list())tt.push($u(ge,Ge,st));return tt.push(fe),ir(tt)}).then(()=>{tt=a2(dt,"beforeRouteUpdate",Ge,st);for(const ge of dt)ge.updateGuards.forEach(Fe=>{tt.push($u(Fe,Ge,st))});return tt.push(fe),ir(tt)}).then(()=>{tt=[];for(const ge of Dt)if(ge.beforeEnter)if(cs(ge.beforeEnter))for(const Fe of ge.beforeEnter)tt.push($u(Fe,Ge,st));else tt.push($u(ge.beforeEnter,Ge,st));return tt.push(fe),ir(tt)}).then(()=>(Ge.matched.forEach(ge=>ge.enterCallbacks={}),tt=a2(Dt,"beforeRouteEnter",Ge,st,Q),tt.push(fe),ir(tt))).then(()=>{tt=[];for(const ge of o.list())tt.push($u(ge,Ge,st));return tt.push(fe),ir(tt)}).catch(ge=>Pl(ge,8)?ge:Promise.reject(ge))}function ne(Ge,st,tt){s.list().forEach(ft=>Q(()=>ft(Ge,st,tt)))}function ie(Ge,st,tt,ft,dt){const Dt=R(Ge,st);if(Dt)return Dt;const fe=st===Rl,ge=Md?history.state:{};tt&&(ft||fe?i.replace(Ge.fullPath,fn({scroll:fe&&ge&&ge.scroll},dt)):i.push(Ge.fullPath,dt)),c.value=Ge,Ut(Ge,st,tt,fe),Ct()}let ce;function Ae(){ce||(ce=i.listen((Ge,st,tt)=>{if(!yr.listening)return;const ft=M(Ge),dt=j(ft);if(dt){H(fn(dt,{replace:!0}),ft).catch(yg);return}d=ft;const Dt=c.value;Md&&KX(kk(Dt.fullPath,tt.delta),Mx()),ee(ft,Dt).catch(fe=>Pl(fe,12)?fe:Pl(fe,2)?(H(fe.to,ft).then(ge=>{Pl(ge,20)&&!tt.delta&&tt.type===Zg.pop&&i.go(-1,!1)}).catch(yg),Promise.reject()):(tt.delta&&i.go(-tt.delta,!1),$e(fe,ft,Dt))).then(fe=>{fe=fe||ie(ft,Dt,!1),fe&&(tt.delta&&!Pl(fe,8)?i.go(-tt.delta,!1):tt.type===Zg.pop&&Pl(fe,20)&&i.go(-1,!1)),ne(ft,Dt,fe)}).catch(yg)}))}let ue=xv(),_e=xv(),He;function $e(Ge,st,tt){Ct(Ge);const ft=_e.list();return ft.length?ft.forEach(dt=>dt(Ge,st,tt)):console.error(Ge),Promise.reject(Ge)}function lt(){return He&&c.value!==Rl?Promise.resolve():new Promise((Ge,st)=>{ue.add([Ge,st])})}function Ct(Ge){return He||(He=!Ge,Ae(),ue.list().forEach(([st,tt])=>Ge?tt(Ge):st()),ue.reset()),Ge}function Ut(Ge,st,tt,ft){const{scrollBehavior:dt}=e;if(!Md||!dt)return Promise.resolve();const Dt=!tt&&YX(kk(Ge.fullPath,0))||(ft||!tt)&&history.state&&history.state.scroll||null;return No().then(()=>dt(Ge,st,Dt)).then(fe=>fe&&XX(fe)).catch(fe=>$e(fe,Ge,st))}const Vt=Ge=>i.go(Ge);let lr;const ur=new Set,yr={currentRoute:c,listening:!0,addRoute:_,removeRoute:S,clearRoutes:t.clearRoutes,hasRoute:E,getRoutes:I,resolve:M,options:e,push:$,replace:G,go:Vt,back:()=>Vt(-1),forward:()=>Vt(1),beforeEach:a.add,beforeResolve:o.add,afterEach:s.add,onError:_e.add,isReady:lt,install(Ge){const st=this;Ge.component("RouterLink",ZF),Ge.component("RouterView",CK),Ge.config.globalProperties.$router=st,Object.defineProperty(Ge.config.globalProperties,"$route",{enumerable:!0,get:()=>ka(c)}),Md&&!lr&&c.value===Rl&&(lr=!0,$(i.location).catch(dt=>{}));const tt={};for(const dt in Rl)Object.defineProperty(tt,dt,{get:()=>c.value[dt],enumerable:!0});Ge.provide(Dx,st),Ge.provide(AI,BB(tt)),Ge.provide(FC,c);const ft=Ge.unmount;ur.add(Ge),Ge.unmount=function(){ur.delete(Ge),ur.size<1&&(d=Rl,ce&&ce(),ce=null,c.value=Rl,lr=!1,He=!1),ft()}}};function ir(Ge){return Ge.reduce((st,tt)=>st.then(()=>Q(tt)),Promise.resolve())}return yr}function AK(e,t){const r=[],n=[],i=[],a=Math.max(t.matched.length,e.matched.length);for(let o=0;omp(d,s))?n.push(s):r.push(s));const c=e.matched[o];c&&(t.matched.find(d=>mp(d,c))||i.push(c))}return[r,n,i]}function dc(){return en(Dx)}function nl(e){return en(AI)}var II=Symbol(""),il=()=>{const e=en(II);if(!e)throw new Error("useClientData() is called without provider.");return e},IK=()=>il().pageComponent,uf=()=>il().pageData,ps=()=>il().pageFrontmatter,EK=()=>il().pageHead,XF=()=>il().pageLang,MK=()=>il().pageLayout,cf=()=>il().routeLocale,DK=()=>il().routes,KF=()=>il().siteData,EI=()=>il().siteLocaleData,LK=Symbol(""),$C=on(SX),ep=on(TX),YF=(e,t)=>{const r=fX(e,t);if(ep.value[r])return r;const n=encodeURI(r);if(ep.value[n])return n;const i=$C.value[r]||$C.value[n];return i||r},Xg=(e,t)=>{const{pathname:r,hashAndQueries:n}=OF(e),i=YF(r,t),a=i+n;return ep.value[i]?{...ep.value[i],path:a,notFound:!1}:{...ep.value["/404.html"],path:a,notFound:!0}},kK=(e,t)=>{const{pathname:r,hashAndQueries:n}=OF(e);return YF(r,t)+n},RK=e=>{if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget){const t=e.currentTarget.getAttribute("target");if(t!=null&&t.match(/\b_blank\b/i))return}return e.preventDefault(),!0}},zy=Zt({name:"RouteLink",props:{to:{type:String,required:!0},active:Boolean,activeClass:{type:String,default:"route-link-active"}},slots:Object,setup(e,{slots:t}){const r=dc(),n=nl(),i=Le(()=>e.to.startsWith("#")||e.to.startsWith("?")?e.to:`/${kK(e.to,n.path).substring(1)}`);return()=>{var a;return xr("a",{class:["route-link",{[e.activeClass]:e.active}],href:i.value,onClick:(o={})=>{RK(o)&&r.push(e.to).catch()}},(a=t.default)==null?void 0:a.call(t))}}}),$p=Zt({name:"AutoLink",props:{config:{type:Object,required:!0}},slots:Object,setup(e,{slots:t}){const r=gq(e,"config"),n=nl(),i=KF(),a=Le(()=>Oy(r.value.link)),o=Le(()=>r.value.target||(a.value?"_blank":void 0)),s=Le(()=>o.value==="_blank"),c=Le(()=>!a.value&&!s.value),d=Le(()=>r.value.rel||(s.value?"noopener noreferrer":null)),m=Le(()=>r.value.ariaLabel??r.value.text),v=Le(()=>{if(r.value.exact)return!1;const _=Object.keys(i.value.locales);return _.length?_.every(S=>S!==r.value.link):r.value.link!=="/"}),y=Le(()=>c.value?r.value.activeMatch?(r.value.activeMatch instanceof RegExp?r.value.activeMatch:new RegExp(r.value.activeMatch,"u")).test(n.path):v.value?n.path.startsWith(r.value.link):n.path===r.value.link:!1);return()=>{const{before:_,after:S,default:I}=t,E=(I==null?void 0:I(r.value))||[_==null?void 0:_(r.value),r.value.text,S==null?void 0:S(r.value)];return c.value?xr(zy,{class:"auto-link",to:r.value.link,active:y.value,"aria-label":m.value},()=>E):xr("a",{class:"auto-link external-link",href:r.value.link,"aria-label":m.value,rel:d.value,target:o.value},E)}}}),MI=Zt({name:"ClientOnly",setup(e,t){const r=Qt(!1);return Tn(()=>{r.value=!0}),()=>{var n,i;return r.value?(i=(n=t.slots).default)==null?void 0:i.call(n):null}}}),DI=Zt({name:"Content",props:{path:{type:String,required:!1,default:""}},setup(e){const t=IK(),r=Le(()=>{if(!e.path)return t.value;const n=Xg(e.path);return Cq(()=>n.loader().then(({comp:i})=>i))});return()=>xr(r.value)}}),OK="Layout",zK="en-US",Jc=oo({resolveLayouts:e=>e.reduce((t,r)=>({...t,...r.layouts}),{}),resolvePageHead:(e,t,r)=>{const n=os(t.description)?t.description:r.description,i=[...Array.isArray(t.head)?t.head:[],...r.head,["title",{},e],["meta",{name:"description",content:n}]];return _X(i)},resolvePageHeadTitle:(e,t)=>[e.title,t.title].filter(r=>!!r).join(" | "),resolvePageLang:(e,t)=>e.lang||t.lang||zK,resolvePageLayout:(e,t)=>{const r=os(e.frontmatter.layout)?e.frontmatter.layout:OK;if(!t[r])throw new Error(`[vuepress] Cannot resolve layout: ${r}`);return t[r]},resolveRouteLocale:(e,t)=>dX(e,decodeURI(t)),resolveSiteLocaleData:({base:e,locales:t,...r},n)=>{var i;return{...r,...t[n],head:[...((i=t[n])==null?void 0:i.head)??[],...r.head??[]]}}}),ms=(e={})=>e,Lx=e=>Ex(e)?e:`/${TI(e)}`;function kx(e){return CB()?(VW(e),!0):!1}function hs(e){return typeof e=="function"?e():ka(e)}const LI=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const BK=Object.prototype.toString,FK=e=>BK.call(e)==="[object Object]",NC=()=>{};function JF(e,t){function r(...n){return new Promise((i,a)=>{Promise.resolve(e(()=>t.apply(this,n),{fn:t,thisArg:this,args:n})).then(i).catch(a)})}return r}const QF=e=>e();function $K(e,t={}){let r,n,i=NC;const a=s=>{clearTimeout(s),i(),i=NC};return s=>{const c=hs(e),d=hs(t.maxWait);return r&&a(r),c<=0||d!==void 0&&d<=0?(n&&(a(n),n=null),Promise.resolve(s())):new Promise((m,v)=>{i=t.rejectOnCancel?v:m,d&&!n&&(n=setTimeout(()=>{r&&a(r),n=null,m(s())},d)),r=setTimeout(()=>{n&&a(n),n=null,m(s())},c)})}}function NK(e=QF){const t=Qt(!0);function r(){t.value=!1}function n(){t.value=!0}const i=(...a)=>{t.value&&e(...a)};return{isActive:bx(t),pause:r,resume:n,eventFilter:i}}function VK(e){let t;function r(){return t||(t=e()),t}return r.reset=async()=>{const n=t;t=void 0,n&&await n},r}function jK(e){return Xl()}function HK(e,t=200,r={}){return JF($K(t,r),e)}function UK(e,t,r={}){const{eventFilter:n=QF,...i}=r;return $r(e,JF(n,t),i)}function GK(e,t,r={}){const{eventFilter:n,...i}=r,{eventFilter:a,pause:o,resume:s,isActive:c}=NK(n);return{stop:UK(e,t,{...i,eventFilter:a}),pause:o,resume:s,isActive:c}}function kI(e,t=!0,r){jK()?Tn(e,r):t?e():No(e)}function WK(e,t,r={}){const{immediate:n=!0}=r,i=Qt(!1);let a=null;function o(){a&&(clearTimeout(a),a=null)}function s(){i.value=!1,o()}function c(...d){o(),i.value=!0,a=setTimeout(()=>{i.value=!1,a=null,e(...d)},hs(t))}return n&&(i.value=!0,LI&&c()),kx(s),{isPending:bx(i),start:c,stop:s}}function qK(e=!1,t={}){const{truthyValue:r=!0,falsyValue:n=!1}=t,i=Ni(e),a=Qt(e);function o(s){if(arguments.length)return a.value=s,a.value;{const c=hs(r);return a.value=a.value===c?hs(n):c,a.value}}return i?o:[a,o]}function Rh(e){var t;const r=hs(e);return(t=r==null?void 0:r.$el)!=null?t:r}const ic=LI?window:void 0,e9=LI?window.navigator:void 0;function Oo(...e){let t,r,n,i;if(typeof e[0]=="string"||Array.isArray(e[0])?([r,n,i]=e,t=ic):[t,r,n,i]=e,!t)return NC;Array.isArray(r)||(r=[r]),Array.isArray(n)||(n=[n]);const a=[],o=()=>{a.forEach(m=>m()),a.length=0},s=(m,v,y,_)=>(m.addEventListener(v,y,_),()=>m.removeEventListener(v,y,_)),c=$r(()=>[Rh(t),hs(i)],([m,v])=>{if(o(),!m)return;const y=FK(v)?{...v}:v;a.push(...r.flatMap(_=>n.map(S=>s(m,_,S,y))))},{immediate:!0,flush:"post"}),d=()=>{c(),o()};return kx(d),d}function ZK(){const e=Qt(!1),t=Xl();return t&&Tn(()=>{e.value=!0},t),e}function Rx(e){const t=ZK();return Le(()=>(t.value,!!e()))}function RI(e,t={}){const{window:r=ic}=t,n=Rx(()=>r&&"matchMedia"in r&&typeof r.matchMedia=="function");let i;const a=Qt(!1),o=d=>{a.value=d.matches},s=()=>{i&&("removeEventListener"in i?i.removeEventListener("change",o):i.removeListener(o))},c=Hl(()=>{n.value&&(s(),i=r.matchMedia(hs(e)),"addEventListener"in i?i.addEventListener("change",o):i.addListener(o),a.value=i.matches)});return kx(()=>{c(),s(),i=void 0}),a}function qk(e,t={}){const{controls:r=!1,navigator:n=e9}=t,i=Rx(()=>n&&"permissions"in n),a=on(),o=typeof e=="string"?{name:e}:e,s=on(),c=()=>{var m,v;s.value=(v=(m=a.value)==null?void 0:m.state)!=null?v:"prompt"};Oo(a,"change",c);const d=VK(async()=>{if(i.value){if(!a.value)try{a.value=await n.permissions.query(o)}catch{a.value=void 0}finally{c()}if(r)return Nr(a.value)}});return d(),r?{state:s,isSupported:i,query:d}:s}function XK(e={}){const{navigator:t=e9,read:r=!1,source:n,copiedDuring:i=1500,legacy:a=!1}=e,o=Rx(()=>t&&"clipboard"in t),s=qk("clipboard-read"),c=qk("clipboard-write"),d=Le(()=>o.value||a),m=Qt(""),v=Qt(!1),y=WK(()=>v.value=!1,i);function _(){o.value&&M(s.value)?t.clipboard.readText().then(L=>{m.value=L}):m.value=E()}d.value&&r&&Oo(["copy","cut"],_);async function S(L=hs(n)){d.value&&L!=null&&(o.value&&M(c.value)?await t.clipboard.writeText(L):I(L),m.value=L,v.value=!0,y.start())}function I(L){const R=document.createElement("textarea");R.value=L??"",R.style.position="absolute",R.style.opacity="0",document.body.appendChild(R),R.select(),document.execCommand("copy"),R.remove()}function E(){var L,R,$;return($=(R=(L=document==null?void 0:document.getSelection)==null?void 0:L.call(document))==null?void 0:R.toString())!=null?$:""}function M(L){return L==="granted"||L==="prompt"}return{isSupported:d,text:m,copied:v,copy:S}}const v0=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},g0="__vueuse_ssr_handlers__",KK=YK();function YK(){return g0 in v0||(v0[g0]=v0[g0]||{}),v0[g0]}function JK(e,t){return KK[e]||t}function QK(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const eY={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},Zk="vueuse-storage";function t9(e,t,r,n={}){var i;const{flush:a="pre",deep:o=!0,listenToStorageChanges:s=!0,writeDefaults:c=!0,mergeDefaults:d=!1,shallow:m,window:v=ic,eventFilter:y,onError:_=ee=>{console.error(ee)},initOnMounted:S}=n,I=(m?on:Qt)(typeof t=="function"?t():t);if(!r)try{r=JK("getDefaultStorage",()=>{var ee;return(ee=ic)==null?void 0:ee.localStorage})()}catch(ee){_(ee)}if(!r)return I;const E=hs(t),M=QK(E),L=(i=n.serializer)!=null?i:eY[M],{pause:R,resume:$}=GK(I,()=>j(I.value),{flush:a,deep:o,eventFilter:y});v&&s&&kI(()=>{r instanceof Storage?Oo(v,"storage",Z):Oo(v,Zk,Q),S&&Z()}),S||Z();function G(ee,ne){if(v){const ie={key:e,oldValue:ee,newValue:ne,storageArea:r};v.dispatchEvent(r instanceof Storage?new StorageEvent("storage",ie):new CustomEvent(Zk,{detail:ie}))}}function j(ee){try{const ne=r.getItem(e);if(ee==null)G(ne,null),r.removeItem(e);else{const ie=L.write(ee);ne!==ie&&(r.setItem(e,ie),G(ne,ie))}}catch(ne){_(ne)}}function H(ee){const ne=ee?ee.newValue:r.getItem(e);if(ne==null)return c&&E!=null&&r.setItem(e,L.write(E)),E;if(!ee&&d){const ie=L.read(ne);return typeof d=="function"?d(ie,E):M==="object"&&!Array.isArray(ie)?{...E,...ie}:ie}else return typeof ne!="string"?ne:L.read(ne)}function Z(ee){if(!(ee&&ee.storageArea!==r)){if(ee&&ee.key==null){I.value=E;return}if(!(ee&&ee.key!==e)){R();try{(ee==null?void 0:ee.newValue)!==L.write(I.value)&&(I.value=H(ee))}catch(ne){_(ne)}finally{ee?No($):$()}}}}function Q(ee){Z(ee.detail)}return I}function tY(e){return RI("(prefers-color-scheme: dark)",e)}function rY(e,t,r={}){const{window:n=ic,...i}=r;let a;const o=Rx(()=>n&&"ResizeObserver"in n),s=()=>{a&&(a.disconnect(),a=void 0)},c=Le(()=>{const v=hs(e);return Array.isArray(v)?v.map(y=>Rh(y)):[Rh(v)]}),d=$r(c,v=>{if(s(),o.value&&n){a=new ResizeObserver(t);for(const y of v)y&&a.observe(y,i)}},{immediate:!0,flush:"post"}),m=()=>{s(),d()};return kx(m),{isSupported:o,stop:m}}function nY(e,t={width:0,height:0},r={}){const{window:n=ic,box:i="content-box"}=r,a=Le(()=>{var v,y;return(y=(v=Rh(e))==null?void 0:v.namespaceURI)==null?void 0:y.includes("svg")}),o=Qt(t.width),s=Qt(t.height),{stop:c}=rY(e,([v])=>{const y=i==="border-box"?v.borderBoxSize:i==="content-box"?v.contentBoxSize:v.devicePixelContentBoxSize;if(n&&a.value){const _=Rh(e);if(_){const S=_.getBoundingClientRect();o.value=S.width,s.value=S.height}}else if(y){const _=Array.isArray(y)?y:[y];o.value=_.reduce((S,{inlineSize:I})=>S+I,0),s.value=_.reduce((S,{blockSize:I})=>S+I,0)}else o.value=v.contentRect.width,s.value=v.contentRect.height},r);kI(()=>{const v=Rh(e);v&&(o.value="offsetWidth"in v?v.offsetWidth:t.width,s.value="offsetHeight"in v?v.offsetHeight:t.height)});const d=$r(()=>Rh(e),v=>{o.value=v?t.width:0,s.value=v?t.height:0});function m(){c(),d()}return{width:o,height:s,stop:m}}function iY(e={}){const{window:t=ic,behavior:r="auto"}=e;if(!t)return{x:Qt(0),y:Qt(0)};const n=Qt(t.scrollX),i=Qt(t.scrollY),a=Le({get(){return n.value},set(s){scrollTo({left:s,behavior:r})}}),o=Le({get(){return i.value},set(s){scrollTo({top:s,behavior:r})}});return Oo(t,"scroll",()=>{n.value=t.scrollX,i.value=t.scrollY},{capture:!1,passive:!0}),{x:a,y:o}}function aY(e={}){const{window:t=ic,initialWidth:r=Number.POSITIVE_INFINITY,initialHeight:n=Number.POSITIVE_INFINITY,listenOrientation:i=!0,includeScrollbar:a=!0,type:o="inner"}=e,s=Qt(r),c=Qt(n),d=()=>{t&&(o==="outer"?(s.value=t.outerWidth,c.value=t.outerHeight):a?(s.value=t.innerWidth,c.value=t.innerHeight):(s.value=t.document.documentElement.clientWidth,c.value=t.document.documentElement.clientHeight))};if(d(),kI(d),Oo("resize",d,{passive:!0}),i){const m=RI("(orientation: portrait)");$r(m,()=>d())}return{width:s,height:c}}const Xk=async(e,t)=>{const{path:r,query:n}=e.currentRoute.value,{scrollBehavior:i}=e.options;e.options.scrollBehavior=void 0,await e.replace({path:r,query:n,hash:t}),e.options.scrollBehavior=i},oY=({headerLinkSelector:e,headerAnchorSelector:t,delay:r,offset:n=5})=>{const i=dc();Oo("scroll",HK(()=>{var S,I;const o=Math.max(window.scrollY,document.documentElement.scrollTop,document.body.scrollTop);if(Math.abs(o-0)v.some(M=>M.hash===E.hash));for(let E=0;E<_.length;E++){const M=_[E],L=_[E+1],R=o>=(((S=M.parentElement)==null?void 0:S.offsetTop)??0)-n,$=!L||o<(((I=L.parentElement)==null?void 0:I.offsetTop)??0)-n;if(!(R&&$))continue;const j=decodeURIComponent(i.currentRoute.value.hash),H=decodeURIComponent(M.hash);if(j===H)return;if(m){for(let Z=E+1;Z<_.length;Z++)if(j===decodeURIComponent(_[Z].hash))return}Xk(i,H);return}},r))},sY="a.vp-sidebar-item",lY=".header-anchor",uY=300,cY=5,hY=ms({setup(){oY({headerLinkSelector:sY,headerAnchorSelector:lY,delay:uY,offset:cY})}}),fY=Object.freeze(Object.defineProperty({__proto__:null,default:hY},Symbol.toStringTag,{value:"Module"})),OI=e=>{const t=cf();return Le(()=>e[t.value]??{})},dY=()=>{const e=DK();return Le(()=>Object.keys(e.value))},o2=(e,t)=>{var n;const r=(n=Xl())==null?void 0:n.appContext.components;return r?e in r||ao(e)in r||My(ao(e))in r:!1},r9=e=>new Promise(t=>{setTimeout(t,e)}),pY=(e,t=2)=>{if(t===!1)return[];const[r,n]=typeof t=="number"?[t,t]:t==="deep"?[2,6]:t,i=e.filter(o=>o.level>=r&&o.level<=n),a=[];e:for(let o=0;o=0;c--){const d=i[c];if(d.level{let r;if(t.length){const n=e.cloneNode(!0);n.querySelectorAll(t.join(",")).forEach(i=>{i.remove()}),r=n.textContent||""}else r=e.textContent||"";return r.trim()},vY=({selector:e=[...new Array(6)].map((n,i)=>`[vp-content] h${i+1}`).join(","),levels:t=2,ignore:r=[]}={})=>{const n=Array.from(document.querySelectorAll(e)).filter(i=>i.id&&i.hasChildNodes()).map(i=>{const a=Number(i.tagName[1]);return{element:i,title:mY(i,r),link:`#${i.id}`,slug:i.id,level:a}});return pY(n,t)},gY=e=>typeof e<"u",n9=(e,t)=>os(e)&&e.startsWith(t),{keys:yY}=Object,i9=e=>n9(e,"/");var _Y={"/":{backToTop:"返回顶部"}};const bY=Zt({name:"BackToTop",setup(){const e=ps(),t=OI(_Y),r=on(),{height:n}=nY(r),{height:i}=aY(),{y:a}=iY(),o=Le(()=>e.value.backToTop!==!1&&a.value>100),s=Le(()=>a.value/(n.value-i.value)*100);return Tn(()=>{r.value=document.body}),()=>xr(rl,{name:"back-to-top"},()=>o.value?xr("button",{type:"button",class:"vp-back-to-top-button","aria-label":t.value.backToTop,onClick:()=>{window.scrollTo({top:0,behavior:"smooth"})}},[xr("span",{class:"vp-scroll-progress",role:"progressbar","aria-labelledby":"loadinglabel","aria-valuenow":s.value},xr("svg",xr("circle",{cx:"26",cy:"26",r:"24",fill:"none",stroke:"currentColor","stroke-width":"4","stroke-dasharray":`${Math.PI*s.value*.48} ${Math.PI*(100-s.value)*.48}`}))),xr("div",{class:"back-to-top-icon"})]):null)}}),xY=ms({rootComponents:[bY]}),wY=Object.freeze(Object.defineProperty({__proto__:null,default:xY},Symbol.toStringTag,{value:"Module"})),SY=/language-(shellscript|shell|bash|sh|zsh)/,TY=({delay:e=500,duration:t=2e3,locales:r,selector:n,showInMobile:i,ignoreSelector:a=[],transform:o})=>{const s=RI("(max-width: 419px)"),c=Le(()=>!s.value||i),d=OI(r),m=uf(),v=E=>{var L;if(E.hasAttribute("copy-code"))return;const M=document.createElement("button");M.type="button",M.classList.add("vp-copy-code-button"),M.setAttribute("aria-label",d.value.copy),M.setAttribute("data-copied",d.value.copied),(L=E.parentElement)==null||L.insertBefore(M,E),E.setAttribute("copy-code","")};$r(()=>[m.value.path,c.value],async()=>{document.body.classList.toggle("no-copy-code",!c.value),c.value&&(await No(),await r9(e),document.querySelectorAll(n.join(",")).forEach(v))},{immediate:!0});const{copy:_}=XK({legacy:!0}),S=new WeakMap,I=async(E,M,L)=>{const R=M.cloneNode(!0);a.length&&R.querySelectorAll(a.join(",")).forEach(j=>{j.remove()}),o&&o(R);let $=R.textContent||"";if(SY.test(E.className)&&($=$.replace(/^ *(\$|>) /gm,"")),await _($),t<=0)return;L.classList.add("copied"),clearTimeout(S.get(L));const G=setTimeout(()=>{L.classList.remove("copied"),L.blur(),S.delete(L)},t);S.set(L,G)};Oo("click",E=>{const M=E.target;if(c.value&&M.matches('div[class*="language-"] > button.vp-copy-code-button')){const L=M.parentElement,R=M.nextElementSibling;if(!L||!R)return;I(L,R,M)}})};var CY=[],PY={"/":{copy:"复制代码",copied:"已复制"}},AY=['[vp-content] div[class*="language-"] pre'];const IY=ms({setup:()=>{TY({selector:AY,ignoreSelector:CY,locales:PY,duration:2e3,delay:500,showInMobile:!1})}}),EY=Object.freeze(Object.defineProperty({__proto__:null,default:IY},Symbol.toStringTag,{value:"Module"})),MY=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"}));/*! medium-zoom 1.1.0 | MIT License | https://github.com/francoischalifour/medium-zoom */var Ch=Object.assign||function(e){for(var t=1;t1&&arguments[1]!==void 0?arguments[1]:{},n=window.Promise||function(ie){function ce(){}ie(ce,ce)},i=function(ie){var ce=ie.target;if(ce===Q){S();return}R.indexOf(ce)!==-1&&I({target:ce})},a=function(){if(!(G||!Z.original)){var ie=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0;Math.abs(j-ie)>H.scrollOffset&&setTimeout(S,150)}},o=function(ie){var ce=ie.key||ie.keyCode;(ce==="Escape"||ce==="Esc"||ce===27)&&S()},s=function(){var ie=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},ce=ie;if(ie.background&&(Q.style.background=ie.background),ie.container&&ie.container instanceof Object&&(ce.container=Ch({},H.container,ie.container)),ie.template){var Ae=C1(ie.template)?ie.template:document.querySelector(ie.template);ce.template=Ae}return H=Ch({},H,ce),R.forEach(function(ue){ue.dispatchEvent(fd("medium-zoom:update",{detail:{zoom:ee}}))}),ee},c=function(){var ie=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return e(Ch({},H,ie))},d=function(){for(var ie=arguments.length,ce=Array(ie),Ae=0;Ae0?ce.reduce(function(_e,He){return[].concat(_e,Yk(He))},[]):R;return ue.forEach(function(_e){_e.classList.remove("medium-zoom-image"),_e.dispatchEvent(fd("medium-zoom:detach",{detail:{zoom:ee}}))}),R=R.filter(function(_e){return ue.indexOf(_e)===-1}),ee},v=function(ie,ce){var Ae=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return R.forEach(function(ue){ue.addEventListener("medium-zoom:"+ie,ce,Ae)}),$.push({type:"medium-zoom:"+ie,listener:ce,options:Ae}),ee},y=function(ie,ce){var Ae=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return R.forEach(function(ue){ue.removeEventListener("medium-zoom:"+ie,ce,Ae)}),$=$.filter(function(ue){return!(ue.type==="medium-zoom:"+ie&&ue.listener.toString()===ce.toString())}),ee},_=function(){var ie=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},ce=ie.target,Ae=function(){var _e={width:document.documentElement.clientWidth,height:document.documentElement.clientHeight,left:0,top:0,right:0,bottom:0},He=void 0,$e=void 0;if(H.container)if(H.container instanceof Object)_e=Ch({},_e,H.container),He=_e.width-_e.left-_e.right-H.margin*2,$e=_e.height-_e.top-_e.bottom-H.margin*2;else{var lt=C1(H.container)?H.container:document.querySelector(H.container),Ct=lt.getBoundingClientRect(),Ut=Ct.width,Vt=Ct.height,lr=Ct.left,ur=Ct.top;_e=Ch({},_e,{width:Ut,height:Vt,left:lr,top:ur})}He=He||_e.width-H.margin*2,$e=$e||_e.height-H.margin*2;var yr=Z.zoomedHd||Z.original,ir=Kk(yr)?He:yr.naturalWidth||He,Ge=Kk(yr)?$e:yr.naturalHeight||$e,st=yr.getBoundingClientRect(),tt=st.top,ft=st.left,dt=st.width,Dt=st.height,fe=Math.min(Math.max(dt,ir),He)/dt,ge=Math.min(Math.max(Dt,Ge),$e)/Dt,Fe=Math.min(fe,ge),ye=(-ft+(He-dt)/2+H.margin+_e.left)/Fe,qe=(-tt+($e-Dt)/2+H.margin+_e.top)/Fe,rt="scale("+Fe+") translate3d("+ye+"px, "+qe+"px, 0)";Z.zoomed.style.transform=rt,Z.zoomedHd&&(Z.zoomedHd.style.transform=rt)};return new n(function(ue){if(ce&&R.indexOf(ce)===-1){ue(ee);return}var _e=function Ut(){G=!1,Z.zoomed.removeEventListener("transitionend",Ut),Z.original.dispatchEvent(fd("medium-zoom:opened",{detail:{zoom:ee}})),ue(ee)};if(Z.zoomed){ue(ee);return}if(ce)Z.original=ce;else if(R.length>0){var He=R;Z.original=He[0]}else{ue(ee);return}if(Z.original.dispatchEvent(fd("medium-zoom:open",{detail:{zoom:ee}})),j=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0,G=!0,Z.zoomed=kY(Z.original),document.body.appendChild(Q),H.template){var $e=C1(H.template)?H.template:document.querySelector(H.template);Z.template=document.createElement("div"),Z.template.appendChild($e.content.cloneNode(!0)),document.body.appendChild(Z.template)}if(Z.original.parentElement&&Z.original.parentElement.tagName==="PICTURE"&&Z.original.currentSrc&&(Z.zoomed.src=Z.original.currentSrc),document.body.appendChild(Z.zoomed),window.requestAnimationFrame(function(){document.body.classList.add("medium-zoom--opened")}),Z.original.classList.add("medium-zoom-image--hidden"),Z.zoomed.classList.add("medium-zoom-image--opened"),Z.zoomed.addEventListener("click",S),Z.zoomed.addEventListener("transitionend",_e),Z.original.getAttribute("data-zoom-src")){Z.zoomedHd=Z.zoomed.cloneNode(),Z.zoomedHd.removeAttribute("srcset"),Z.zoomedHd.removeAttribute("sizes"),Z.zoomedHd.removeAttribute("loading"),Z.zoomedHd.src=Z.zoomed.getAttribute("data-zoom-src"),Z.zoomedHd.onerror=function(){clearInterval(lt),console.warn("Unable to reach the zoom image target "+Z.zoomedHd.src),Z.zoomedHd=null,Ae()};var lt=setInterval(function(){Z.zoomedHd.complete&&(clearInterval(lt),Z.zoomedHd.classList.add("medium-zoom-image--opened"),Z.zoomedHd.addEventListener("click",S),document.body.appendChild(Z.zoomedHd),Ae())},10)}else if(Z.original.hasAttribute("srcset")){Z.zoomedHd=Z.zoomed.cloneNode(),Z.zoomedHd.removeAttribute("sizes"),Z.zoomedHd.removeAttribute("loading");var Ct=Z.zoomedHd.addEventListener("load",function(){Z.zoomedHd.removeEventListener("load",Ct),Z.zoomedHd.classList.add("medium-zoom-image--opened"),Z.zoomedHd.addEventListener("click",S),document.body.appendChild(Z.zoomedHd),Ae()})}else Ae()})},S=function(){return new n(function(ie){if(G||!Z.original){ie(ee);return}var ce=function Ae(){Z.original.classList.remove("medium-zoom-image--hidden"),document.body.removeChild(Z.zoomed),Z.zoomedHd&&document.body.removeChild(Z.zoomedHd),document.body.removeChild(Q),Z.zoomed.classList.remove("medium-zoom-image--opened"),Z.template&&document.body.removeChild(Z.template),G=!1,Z.zoomed.removeEventListener("transitionend",Ae),Z.original.dispatchEvent(fd("medium-zoom:closed",{detail:{zoom:ee}})),Z.original=null,Z.zoomed=null,Z.zoomedHd=null,Z.template=null,ie(ee)};G=!0,document.body.classList.remove("medium-zoom--opened"),Z.zoomed.style.transform="",Z.zoomedHd&&(Z.zoomedHd.style.transform=""),Z.template&&(Z.template.style.transition="opacity 150ms",Z.template.style.opacity=0),Z.original.dispatchEvent(fd("medium-zoom:close",{detail:{zoom:ee}})),Z.zoomed.addEventListener("transitionend",ce)})},I=function(){var ie=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},ce=ie.target;return Z.original?S():_({target:ce})},E=function(){return H},M=function(){return R},L=function(){return Z.original},R=[],$=[],G=!1,j=0,H=r,Z={original:null,zoomed:null,zoomedHd:null,template:null};Object.prototype.toString.call(t)==="[object Object]"?H=t:(t||typeof t=="string")&&d(t),H=Ch({margin:0,background:"#fff",scrollOffset:40,container:null,template:null},H);var Q=LY(H.background);document.addEventListener("click",i),document.addEventListener("keyup",o),document.addEventListener("scroll",a),window.addEventListener("resize",S);var ee={open:_,close:S,toggle:I,update:s,clone:c,attach:d,detach:m,on:v,off:y,getOptions:E,getImages:M,getZoomedImage:L};return ee};function OY(e,t){t===void 0&&(t={});var r=t.insertAt;if(!(typeof document>"u")){var n=document.head||document.getElementsByTagName("head")[0],i=document.createElement("style");i.type="text/css",r==="top"&&n.firstChild?n.insertBefore(i,n.firstChild):n.appendChild(i),i.styleSheet?i.styleSheet.cssText=e:i.appendChild(document.createTextNode(e))}}var zY=".medium-zoom-overlay{position:fixed;top:0;right:0;bottom:0;left:0;opacity:0;transition:opacity .3s;will-change:opacity}.medium-zoom--opened .medium-zoom-overlay{cursor:pointer;cursor:zoom-out;opacity:1}.medium-zoom-image{cursor:pointer;cursor:zoom-in;transition:transform .3s cubic-bezier(.2,0,.2,1)!important}.medium-zoom-image--hidden{visibility:hidden}.medium-zoom-image--opened{position:relative;cursor:pointer;cursor:zoom-out;will-change:transform}";OY(zY);const BY=Symbol("mediumZoom");var FY={};const $Y="[vp-content] > img, [vp-content] :not(a) > img",NY=FY,VY=300,jY=ms({enhance({app:e,router:t}){const r=RY(NY);r.refresh=(n=$Y)=>{r.detach(),r.attach(n)},e.provide(BY,r),t.afterEach(()=>{r9(VY).then(()=>{r.refresh()})})}}),HY=Object.freeze(Object.defineProperty({__proto__:null,default:jY},Symbol.toStringTag,{value:"Module"}));/** + * NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress + * @license MIT + */const Jk=(e,t)=>{e.classList.add(t)},Qk=(e,t)=>{e.classList.remove(t)},UY=e=>{var t;(t=e==null?void 0:e.parentNode)==null||t.removeChild(e)},s2=(e,t,r)=>er?r:e,eR=e=>(-1+e)*100,GY=(()=>{const e=[],t=()=>{const r=e.shift();r&&r(t)};return r=>{e.push(r),e.length===1&&t()}})(),WY=e=>e.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,(t,r)=>r.toUpperCase()),_0=(()=>{const e=["Webkit","O","Moz","ms"],t={},r=a=>{const{style:o}=document.body;if(a in o)return a;const s=a.charAt(0).toUpperCase()+a.slice(1);let c=e.length;for(;c--;){const d=`${e[c]}${s}`;if(d in o)return d}return a},n=a=>{const o=WY(a);return t[o]??(t[o]=r(o))},i=(a,o,s)=>{a.style[n(o)]=s};return(a,o)=>{for(const s in o){const c=o[s];Object.hasOwn(o,s)&&gY(c)&&i(a,s,c)}}})(),Al={minimum:.08,easing:"ease",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,barSelector:'[role="bar"]',parent:"body",template:'
'},Wn={percent:null,isRendered:()=>!!document.getElementById("nprogress"),set:e=>{const{speed:t,easing:r}=Al,n=Wn.isStarted(),i=s2(e,Al.minimum,1);Wn.percent=i===1?null:i;const a=Wn.render(!n),o=a.querySelector(Al.barSelector);return a.offsetWidth,GY(s=>{_0(o,{transform:`translate3d(${eR(i)}%,0,0)`,transition:`all ${t}ms ${r}`}),i===1?(_0(a,{transition:"none",opacity:"1"}),a.offsetWidth,setTimeout(()=>{_0(a,{transition:`all ${t}ms linear`,opacity:"0"}),setTimeout(()=>{Wn.remove(),s()},t)},t)):setTimeout(()=>{s()},t)}),Wn},isStarted:()=>typeof Wn.percent=="number",start:()=>{Wn.percent||Wn.set(0);const e=()=>{setTimeout(()=>{Wn.percent&&(Wn.trickle(),e())},Al.trickleSpeed)};return e(),Wn},done:e=>!e&&!Wn.percent?Wn:Wn.increase(.3+.5*Math.random()).set(1),increase:e=>{let{percent:t}=Wn;return t?(t=s2(t+(typeof e=="number"?e:(1-t)*s2(Math.random()*t,.1,.95)),0,.994),Wn.set(t)):Wn.start()},trickle:()=>Wn.increase(Math.random()*Al.trickleRate),render:e=>{if(Wn.isRendered())return document.getElementById("nprogress");Jk(document.documentElement,"nprogress-busy");const t=document.createElement("div");t.id="nprogress",t.innerHTML=Al.template;const r=t.querySelector(Al.barSelector),n=document.querySelector(Al.parent),i=e?"-100":eR(Wn.percent??0);return _0(r,{transition:"all 0 linear",transform:`translate3d(${i}%,0,0)`}),n&&(n!==document.body&&Jk(n,"nprogress-custom-parent"),n.appendChild(t)),t},remove:()=>{Qk(document.documentElement,"nprogress-busy"),Qk(document.querySelector(Al.parent),"nprogress-custom-parent"),UY(document.getElementById("nprogress"))}},qY=()=>{Tn(()=>{const e=dc(),t=new Set;t.add(e.currentRoute.value.path),e.beforeEach(r=>{t.has(r.path)||Wn.start()}),e.afterEach(r=>{t.add(r.path),Wn.done()})})},ZY=ms({setup(){qY()}}),XY=Object.freeze(Object.defineProperty({__proto__:null,default:ZY},Symbol.toStringTag,{value:"Module"})),KY=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),YY=JSON.parse('{"navbar":[{"text":"主页","link":"/"},{"text":"快讯网","link":"https://daily.sustech.online/"},{"text":"小程序","link":"/miniapp/"},{"text":"关于","link":"/about/"},{"text":"站点帮助","link":"/site-help/"}],"repo":"sustech-cra/sustech-online-ng","repoLabel":"在Github上查看","docsRepo":"sustech-cra/sustech-online-ng","docsDir":"docs","editLinkText":"一起完善这本手册!","lastUpdatedText":"上次更新","contributorsText":"贡献者","editLink":true,"docsBranch":"master","tip":"提示","warning":"注意","danger":"警告","notFound":["这里什么都没有","我们怎么到这来了?","这是一个 404 页面","看起来我们进入了错误的链接"],"backToHome":"返回首页","openInNewWindow":"在新窗口打开","toggleColorMode":"切换夜间模式","toggleSidebar":"切换侧边栏","sidebarDepth":2,"sidebar":["/","/facility/","/contact/","/calendar/","/service/","/life/","/study/","/canteen/","/organizations/","/media/",{"text":"🚄交通","link":"/transport/","children":[{"text":"🚌新版巴士时刻表","link":"/transport/bustimer.md","children":[]},{"text":"🚌校园巴士-工作日","link":"/transport/workday.md","children":[]},{"text":"🚌校园巴士-节假日","link":"/transport/holiday.md","children":[]},{"text":"周围交通","link":"/transport/","children":[]}]},"/surroundings/"],"locales":{"/":{"selectLanguageName":"English"}},"colorMode":"auto","colorModeSwitch":true,"logo":null,"selectLanguageText":"Languages","selectLanguageAriaLabel":"Select language","lastUpdated":true,"contributors":true}'),JY=Qt(YY),a9=()=>JY,o9=Symbol(""),QY=()=>{const e=en(o9);if(!e)throw new Error("useThemeLocaleData() is called without provider.");return e},eJ=(e,t)=>{const{locales:r,...n}=e;return{...n,...r==null?void 0:r[t]}},tJ=ms({enhance({app:e}){const t=a9(),r=e._context.provides[II],n=Le(()=>eJ(t.value,r.routeLocale.value));e.provide(o9,n),Object.defineProperties(e.config.globalProperties,{$theme:{get(){return t.value}},$themeLocale:{get(){return n.value}}})}}),rJ=Object.freeze(Object.defineProperty({__proto__:null,default:tJ},Symbol.toStringTag,{value:"Module"})),nJ=()=>a9(),fi=()=>QY(),s9=Symbol(""),iJ=e=>{const t=(r=e.value)=>{const n=window.document.documentElement;n.dataset.theme=r?"dark":"light"};Tn(()=>{$r(e,t,{immediate:!0})}),Fp(()=>{t()})},Ox=()=>{const e=en(s9);if(!e)throw new Error("useDarkMode() is called without provider.");return e},aJ=()=>{const e=fi(),t=tY(),r=t9("vuepress-color-scheme",e.value.colorMode),n=Le({get(){return e.value.colorModeSwitch?r.value==="auto"?t.value:r.value==="dark":e.value.colorMode==="dark"},set(i){i===t.value?r.value="auto":r.value=i?"dark":"light"}});Fi(s9,n),iJ(n)};let l2=null,wv=null;const oJ={wait:()=>l2,pending:()=>{l2=new Promise(e=>{wv=e})},resolve:()=>{wv==null||wv(),l2=null,wv=null}},l9=()=>oJ,gp=(e,t)=>{const{notFound:r,meta:n,path:i}=Xg(e,t);return r?{text:i,link:i}:{text:n.title||i,link:i}},tR=e=>decodeURI(e).replace(/#.*$/,"").replace(/(index)?\.(md|html)$/,""),sJ=(e,t)=>{if(t.hash===e)return!0;const r=tR(t.path),n=tR(e);return r===n},u9=(e,t)=>e.link&&sJ(e.link,t)?!0:"children"in e?e.children.some(r=>u9(r,t)):!1,c9=e=>!cX(e)&&!Oy(e),h9=e=>!Ex(e)||e.includes("github.com")?"GitHub":e.includes("bitbucket.org")?"Bitbucket":e.includes("gitlab.com")?"GitLab":e.includes("gitee.com")?"Gitee":null,lJ={GitHub:":repo/edit/:branch/:path",GitLab:":repo/-/edit/:branch/:path",Gitee:":repo/edit/:branch/:path",Bitbucket:":repo/src/:branch/:path?mode=edit&spa=0&at=:branch&fileviewer=file-view-default"},uJ=({docsRepo:e,editLinkPattern:t})=>{if(t)return t;const r=h9(e);return r!==null?lJ[r]:null},cJ=({docsRepo:e,docsBranch:t,docsDir:r,filePathRelative:n,editLinkPattern:i})=>{if(!n)return null;const a=uJ({docsRepo:e,editLinkPattern:i});return a?a.replace(/:repo/,Ex(e)?e:`https://github.com/${e}`).replace(/:branch/,t).replace(/:path/,TI(`${zF(r)}/${n}`)):null},tp=(e="",t="")=>i9(t)||Oy(t)?t:`${bX(e)}${t}`,P1=Qt([]),hJ=()=>{const e=dc(),t=fi(),r=ps(),n=Le(()=>r.value.sidebarDepth??t.value.sidebarDepth??2);e.beforeEach((a,o)=>{a.path!==o.path&&(P1.value=[])});const i=()=>{if(n.value<=0){P1.value=[];return}P1.value=vY({levels:[2,n.value+1],ignore:[".vp-badge"]})};$r(n,i),Tn(i)},fJ=()=>P1,dJ=e=>({text:e.title,link:e.link,children:zI(e.children)}),zI=e=>e?e.map(t=>dJ(t)):[],f9=(e,t)=>[{text:e.title,children:zI(t)}],d9=(e,t,r,n="")=>{const i=(a,o)=>{var c;const s=os(a)?gp(tp(o,a)):os(a.link)?{...a,link:c9(a.link)?gp(tp(o,a.link)).link:a.link}:a;if("children"in s)return{...s,children:s.children.map(d=>i(d,tp(o,s.prefix)))};if(s.link===r){const d=((c=t[0])==null?void 0:c.level)===1?t[0].children:t;return{...s,children:zI(d)}}return s};return e.map(a=>i(a,n))},pJ=(e,t,r,n)=>{const i=yY(e).sort((a,o)=>o.length-a.length);for(const a of i)if(n9(decodeURI(n),a)){const o=e[a];return o?o==="heading"?f9(t,r):d9(o,r,n,a):[]}return console.warn(`${decodeURI(n)} is missing sidebar config.`),[]},p9=Symbol("sidebarItems"),BI=()=>{const e=en(p9);if(!e)throw new Error("useSidebarItems() is called without provider.");return e},mJ=(e,t,r,n,i)=>e===!1?[]:e==="heading"?f9(t,i):Array.isArray(e)?d9(e,i,r,n):CI(e)?pJ(e,t,i,r):[],vJ=()=>{const e=fi(),t=ps(),r=uf(),n=nl(),i=cf(),a=fJ(),o=Le(()=>t.value.home?!1:t.value.sidebar??e.value.sidebar??"heading"),s=Le(()=>mJ(o.value,r.value,n.path,i.value,a.value));Fi(p9,s)},gJ=Zt({__name:"Badge",props:{type:{default:"tip"},text:{default:""},vertical:{default:void 0}},setup(e,{expose:t}){t();const r={};return Object.defineProperty(r,"__isScriptSetup",{enumerable:!1,value:!0}),r}}),Ir=(e,t)=>{const r=e.__vccOpts||e;for(const[n,i]of t)r[n]=i;return r};function yJ(e,t,r,n,i,a){return et(),Tt("span",{class:Bi(["vp-badge",r.type]),style:Bp({verticalAlign:r.vertical})},[Bn(e.$slots,"default",{},()=>[Js(mr(r.text),1)])],6)}const _J=Ir(gJ,[["render",yJ],["__file","Badge.vue"]]),bJ=Zt({name:"CodeGroup",slots:Object,setup(e,{slots:t}){const r=Qt([]),n=Ox(),i=Qt();Tn(()=>{if(!i.value)return;const v=i.value.querySelector('div[class*="language-"]');if(v&&v.dataset.highlighter==="shiki"){const y=v.style.getPropertyValue("--shiki-light"),_=v.style.getPropertyValue("--shiki-dark"),S=v.style.getPropertyValue("--shiki-light-bg"),I=v.style.getPropertyValue("--shiki-dark-bg");$r(n,E=>{i.value.style.setProperty("--vp-c-code-tab-bg",E?I:S),i.value.style.setProperty("--vp-c-code-tab-title",E?_:y)},{immediate:!0})}});const a=Qt(-1),o=t9("vuepress-code-group",{}),s=Le(()=>r.value.map(v=>v.innerText).join(","));Tn(()=>{$r(()=>o.value[s.value],(v=-1)=>{a.value!==v&&(a.value=v)},{immediate:!0}),$r(a,v=>{o.value[s.value]!==v&&(o.value[s.value]=v)})});const c=(v=a.value)=>{v{v>0?a.value=v-1:a.value=r.value.length-1,r.value[a.value].focus()},m=(v,y)=>{v.key===" "||v.key==="Enter"?(v.preventDefault(),a.value=y):v.key==="ArrowRight"?(v.preventDefault(),c(y)):v.key==="ArrowLeft"&&(v.preventDefault(),d(y))};return()=>{var y;const v=(((y=t.default)==null?void 0:y.call(t))??[]).filter(_=>_.type.name==="CodeGroupItem").map(_=>(_.props===null&&(_.props={}),_));return v.length===0?null:(a.value<0||a.value>v.length-1?(a.value=v.findIndex(_=>_.props.active===""||_.props.active===!0),a.value===-1&&(a.value=0)):v.forEach((_,S)=>{_.props.active=S===a.value}),xr("div",{class:"code-group",ref:i},[xr("div",{class:"code-group-nav",role:"tablist"},v.map((_,S)=>{const I=S===a.value;return xr("button",{ref:E=>{E&&(r.value[S]=E)},class:{"code-group-nav-tab":!0,active:I},role:"tab",ariaSelected:I,onClick:()=>{a.value=S},onKeydown:E=>{m(E,S)}},_.props.title)})),v]))}}}),xJ=Zt({name:"CodeGroupItem",__name:"CodeGroupItem",props:{title:{},active:{type:Boolean}},setup(e,{expose:t}){t();const r={};return Object.defineProperty(r,"__isScriptSetup",{enumerable:!1,value:!0}),r}});function wJ(e,t,r,n,i,a){return et(),Tt("div",{class:Bi(["code-group-item",{active:r.active}]),role:"tabpanel"},[Bn(e.$slots,"default")],2)}const SJ=Ir(xJ,[["render",wJ],["__file","CodeGroupItem.vue"]]),TJ=Zt({__name:"VPHomeFeatures",setup(e,{expose:t}){t();const r=ps(),n=Le(()=>r.value.features??[]),i={frontmatter:r,features:n};return Object.defineProperty(i,"__isScriptSetup",{enumerable:!1,value:!0}),i}}),CJ={key:0,class:"vp-features"};function PJ(e,t,r,n,i,a){return n.features.length?(et(),Tt("div",CJ,[(et(!0),Tt(Er,null,xa(n.features,o=>(et(),Tt("div",{key:o.title,class:"vp-feature"},[It("h2",null,mr(o.title),1),It("p",null,mr(o.details),1)]))),128))])):Xr("",!0)}const AJ=Ir(TJ,[["render",PJ],["__file","VPHomeFeatures.vue"]]),IJ=Zt({__name:"VPHomeFooter",setup(e,{expose:t}){t();const r=ps(),n=Le(()=>r.value.footer),i=Le(()=>r.value.footerHtml),a={frontmatter:r,footer:n,footerHtml:i};return Object.defineProperty(a,"__isScriptSetup",{enumerable:!1,value:!0}),a}}),EJ=["innerHTML"],MJ=["textContent"];function DJ(e,t,r,n,i,a){return n.footer?(et(),Tt(Er,{key:0},[n.footerHtml?(et(),Tt("div",{key:0,class:"vp-footer","vp-footer":"",innerHTML:n.footer},null,8,EJ)):(et(),Tt("div",{key:1,class:"vp-footer","vp-footer":"",textContent:mr(n.footer)},null,8,MJ))],64)):Xr("",!0)}const LJ=Ir(IJ,[["render",DJ],["__file","VPHomeFooter.vue"]]),kJ=Zt({__name:"VPHomeHero",setup(e,{expose:t}){t();const r=ps(),n=EI(),i=Ox(),a=Le(()=>r.value.heroText===null?null:r.value.heroText||n.value.title||"Hello"),o=Le(()=>r.value.tagline===null?null:r.value.tagline||n.value.description||"Welcome to your VuePress site"),s=Le(()=>i.value&&r.value.heroImageDark!==void 0?r.value.heroImageDark:r.value.heroImage),c=Le(()=>r.value.heroAlt||a.value||"hero"),d=Le(()=>r.value.heroHeight??280),m=Le(()=>Array.isArray(r.value.actions)?r.value.actions.map(({text:_,link:S,type:I="primary"})=>({text:_,link:S,type:I})):[]),y={frontmatter:r,siteLocale:n,isDarkMode:i,heroText:a,tagline:o,heroImage:s,heroAlt:c,heroHeight:d,actions:m,HomeHeroImage:()=>{if(!s.value)return null;const _=xr("img",{class:"vp-hero-image",src:Lx(s.value),alt:c.value,height:d.value});return r.value.heroImageDark===void 0?_:xr(MI,()=>_)},get AutoLink(){return $p}};return Object.defineProperty(y,"__isScriptSetup",{enumerable:!1,value:!0}),y}}),RJ={class:"vp-hero"},OJ={key:0,id:"main-title"},zJ={key:1,class:"vp-hero-description"},BJ={key:2,class:"vp-hero-actions"};function FJ(e,t,r,n,i,a){return et(),Tt("header",RJ,[ke(n.HomeHeroImage),n.heroText?(et(),Tt("h1",OJ,mr(n.heroText),1)):Xr("",!0),n.tagline?(et(),Tt("p",zJ,mr(n.tagline),1)):Xr("",!0),n.actions.length?(et(),Tt("p",BJ,[(et(!0),Tt(Er,null,xa(n.actions,o=>(et(),An(n.AutoLink,{key:o.text,class:Bi(["vp-hero-action-button",[o.type]]),config:o},null,8,["class","config"]))),128))])):Xr("",!0)])}const $J=Ir(kJ,[["render",FJ],["__file","VPHomeHero.vue"]]),NJ=Zt({__name:"VPHome",setup(e,{expose:t}){t();const r={VPHomeFeatures:AJ,VPHomeFooter:LJ,VPHomeHero:$J,get Content(){return DI}};return Object.defineProperty(r,"__isScriptSetup",{enumerable:!1,value:!0}),r}}),VJ={class:"vp-home"},jJ={class:"theme-default-content","vp-content":""};function HJ(e,t,r,n,i,a){return et(),Tt("main",VJ,[ke(n.VPHomeHero),ke(n.VPHomeFeatures),It("div",jJ,[ke(n.Content)]),ke(n.VPHomeFooter)])}const UJ=Ir(NJ,[["render",HJ],["__file","VPHome.vue"]]),GJ=Zt({__name:"VPNavbarBrand",setup(e,{expose:t}){t();const r=cf(),n=EI(),i=fi(),a=Ox(),o=Le(()=>i.value.home||r.value),s=Le(()=>n.value.title),c=Le(()=>a.value&&i.value.logoDark!==void 0?i.value.logoDark:i.value.logo),d=Le(()=>i.value.logoAlt??s.value),m=Le(()=>s.value.toLocaleUpperCase().trim()===d.value.toLocaleUpperCase().trim()),y={routeLocale:r,siteLocale:n,themeLocale:i,isDarkMode:a,navbarBrandLink:o,navbarBrandTitle:s,navbarBrandLogo:c,navbarBrandLogoAlt:d,navBarLogoAltMatchesTitle:m,NavbarBrandLogo:()=>{if(!c.value)return null;const _=xr("img",{class:"vp-site-logo",src:Lx(c.value),alt:d.value});return i.value.logoDark===void 0?_:xr(MI,()=>_)},get RouteLink(){return zy}};return Object.defineProperty(y,"__isScriptSetup",{enumerable:!1,value:!0}),y}}),WJ=["aria-hidden"];function qJ(e,t,r,n,i,a){return et(),An(n.RouteLink,{to:n.navbarBrandLink},{default:jr(()=>[ke(n.NavbarBrandLogo),n.navbarBrandTitle?(et(),Tt("span",{key:0,class:Bi(["vp-site-name",{"vp-hide-mobile":n.navbarBrandLogo}]),"aria-hidden":n.navBarLogoAltMatchesTitle},mr(n.navbarBrandTitle),11,WJ)):Xr("",!0)]),_:1},8,["to"])}const ZJ=Ir(GJ,[["render",qJ],["__file","VPNavbarBrand.vue"]]),XJ=Zt({__name:"VPDropdownTransition",setup(e,{expose:t}){t();const i={setHeight:a=>{a.style.height=`${a.scrollHeight}px`},unsetHeight:a=>{a.style.height=""}};return Object.defineProperty(i,"__isScriptSetup",{enumerable:!1,value:!0}),i}});function KJ(e,t,r,n,i,a){return et(),An(rl,{name:"vp-dropdown",onEnter:n.setHeight,onAfterEnter:n.unsetHeight,onBeforeLeave:n.setHeight},{default:jr(()=>[Bn(e.$slots,"default")]),_:3})}const m9=Ir(XJ,[["render",KJ],["__file","VPDropdownTransition.vue"]]),YJ=Zt({__name:"VPNavbarDropdown",props:{item:{}},setup(e,{expose:t}){t();const r=e,{item:n}=xx(r),i=nl(),a=Qt(!1),o=Le(()=>n.value.ariaLabel||n.value.text),s=(m,v)=>v[v.length-1]===m,c=m=>{const v=m.detail===0;a.value=v?!a.value:!1};$r(()=>i.path,()=>{a.value=!1});const d={props:r,item:n,route:i,open:a,dropdownAriaLabel:o,isLastItemOfArray:s,handleDropdown:c,VPDropdownTransition:m9,get AutoLink(){return $p}};return Object.defineProperty(d,"__isScriptSetup",{enumerable:!1,value:!0}),d}}),JJ=["aria-label"],QJ={class:"title"},eQ=It("span",{class:"arrow down"},null,-1),tQ=["aria-label"],rQ={class:"title"},nQ={class:"vp-navbar-dropdown"},iQ={class:"vp-navbar-dropdown-subtitle"},aQ={key:1},oQ={class:"vp-navbar-dropdown-subitem-wrapper"};function sQ(e,t,r,n,i,a){return et(),Tt("div",{class:Bi(["vp-navbar-dropdown-wrapper",{open:n.open}])},[It("button",{class:"vp-navbar-dropdown-title",type:"button","aria-label":n.dropdownAriaLabel,onClick:n.handleDropdown},[It("span",QJ,mr(n.item.text),1),eQ],8,JJ),It("button",{class:"vp-navbar-dropdown-title-mobile",type:"button","aria-label":n.dropdownAriaLabel,onClick:t[0]||(t[0]=o=>n.open=!n.open)},[It("span",rQ,mr(n.item.text),1),It("span",{class:Bi(["arrow",n.open?"down":"right"])},null,2)],8,tQ),ke(n.VPDropdownTransition,null,{default:jr(()=>[cb(It("ul",nQ,[(et(!0),Tt(Er,null,xa(n.item.children,o=>(et(),Tt("li",{key:o.text,class:"vp-navbar-dropdown-item"},["children"in o?(et(),Tt(Er,{key:0},[It("h4",iQ,[o.link?(et(),An(n.AutoLink,{key:0,config:o,onFocusout:s=>n.isLastItemOfArray(o,n.item.children)&&o.children.length===0&&(n.open=!1)},null,8,["config","onFocusout"])):(et(),Tt("span",aQ,mr(o.text),1))]),It("ul",oQ,[(et(!0),Tt(Er,null,xa(o.children,s=>(et(),Tt("li",{key:s.link,class:"vp-navbar-dropdown-subitem"},[ke(n.AutoLink,{config:s,onFocusout:c=>n.isLastItemOfArray(s,o.children)&&n.isLastItemOfArray(o,n.item.children)&&(n.open=!1)},null,8,["config","onFocusout"])]))),128))])],64)):(et(),An(n.AutoLink,{key:1,config:o,onFocusout:s=>n.isLastItemOfArray(o,n.item.children)&&(n.open=!1)},null,8,["config","onFocusout"]))]))),128))],512),[[mb,n.open]])]),_:1})],2)}const lQ=Ir(YJ,[["render",sQ],["__file","VPNavbarDropdown.vue"]]),v9=(e,t="")=>os(e)?gp(tp(t,e)):"children"in e?{...e,children:e.children.map(r=>v9(r,tp(t,e.prefix)))}:{...e,link:c9(e.link)?gp(tp(t,e.link)).link:e.link},uQ=()=>{const e=fi();return Le(()=>(e.value.navbar||[]).map(t=>v9(t)))},cQ=()=>{const e=fi(),t=Le(()=>e.value.repo),r=Le(()=>t.value?h9(t.value):null),n=Le(()=>t.value&&!Ex(t.value)?`https://github.com/${t.value}`:t.value),i=Le(()=>n.value?e.value.repoLabel?e.value.repoLabel:r.value===null?"Source":r.value:null);return Le(()=>!n.value||!i.value?[]:[{text:i.value,link:n.value}])},hQ=()=>{const e=nl(),t=dY(),r=cf(),n=KF(),i=EI(),a=nJ(),o=fi();return Le(()=>{const s=Object.keys(n.value.locales);if(s.length<2)return[];const c=e.path,d=e.fullPath;return[{text:`${o.value.selectLanguageText}`,ariaLabel:`${o.value.selectLanguageAriaLabel??o.value.selectLanguageText}`,children:s.map(v=>{var M,L;const y=((M=n.value.locales)==null?void 0:M[v])??{},_=((L=a.value.locales)==null?void 0:L[v])??{},S=`${y.lang}`,I=_.selectLanguageName??S;if(S===i.value.lang)return{text:I,activeMatch:".",link:e.fullPath};const E=c.replace(r.value,v);return{text:I,link:t.value.some(R=>R===E)?d.replace(c,E):_.home??v}})}]})},fQ="719px",dQ={mobile:fQ};var Kg;(function(e){e.Mobile="mobile"})(Kg||(Kg={}));const pQ={[Kg.Mobile]:Number.parseInt(dQ.mobile.replace("px",""),10)},g9=(e,t)=>{const r=pQ[e];Number.isInteger(r)&&(Oo("orientationchange",()=>{t(r)},!1),Oo("resize",()=>{t(r)},!1),Tn(()=>{t(r)}))},mQ=Zt({__name:"VPNavbarItems",setup(e,{expose:t}){t();const r=uQ(),n=hQ(),i=cQ(),a=Qt(!1),o=Le(()=>fi().value.navbarLabel??"site navigation"),s=Le(()=>[...r.value,...n.value,...i.value]);g9(Kg.Mobile,d=>{a.value=window.innerWidth(et(),Tt("div",{key:o.text,class:"vp-navbar-item"},["children"in o?(et(),An(n.VPNavbarDropdown,{key:0,class:Bi({mobile:n.isMobile}),item:o},null,8,["class","item"])):(et(),An(n.AutoLink,{key:1,config:o},null,8,["config"]))]))),128))],8,vQ)):Xr("",!0)}const y9=Ir(mQ,[["render",gQ],["__file","VPNavbarItems.vue"]]),yQ={},_Q={class:"dark-icon",viewBox:"0 0 32 32"},bQ=It("path",{d:"M13.502 5.414a15.075 15.075 0 0 0 11.594 18.194a11.113 11.113 0 0 1-7.975 3.39c-.138 0-.278.005-.418 0a11.094 11.094 0 0 1-3.2-21.584M14.98 3a1.002 1.002 0 0 0-.175.016a13.096 13.096 0 0 0 1.825 25.981c.164.006.328 0 .49 0a13.072 13.072 0 0 0 10.703-5.555a1.01 1.01 0 0 0-.783-1.565A13.08 13.08 0 0 1 15.89 4.38A1.015 1.015 0 0 0 14.98 3z",fill:"currentColor"},null,-1),xQ=[bQ];function wQ(e,t){return et(),Tt("svg",_Q,xQ)}const SQ=Ir(yQ,[["render",wQ],["__file","VPDarkIcon.vue"]]),TQ={},CQ={class:"light-icon",viewBox:"0 0 32 32"},PQ=yZ('',9),AQ=[PQ];function IQ(e,t){return et(),Tt("svg",CQ,AQ)}const EQ=Ir(TQ,[["render",IQ],["__file","VPLightIcon.vue"]]),MQ=Zt({__name:"VPToggleColorModeButton",setup(e,{expose:t}){t();const r=fi(),n=Ox(),a={themeLocale:r,isDarkMode:n,toggleColorMode:()=>{n.value=!n.value},VPDarkIcon:SQ,VPLightIcon:EQ};return Object.defineProperty(a,"__isScriptSetup",{enumerable:!1,value:!0}),a}}),DQ=["title"];function LQ(e,t,r,n,i,a){return et(),Tt("button",{type:"button",class:"vp-toggle-color-mode-button",title:n.themeLocale.toggleColorMode,onClick:n.toggleColorMode},[cb(ke(n.VPLightIcon,null,null,512),[[mb,!n.isDarkMode]]),cb(ke(n.VPDarkIcon,null,null,512),[[mb,n.isDarkMode]])],8,DQ)}const kQ=Ir(MQ,[["render",LQ],["__file","VPToggleColorModeButton.vue"]]),RQ=Zt({__name:"VPToggleSidebarButton",emits:["toggle"],setup(e,{expose:t}){t();const n={themeLocale:fi()};return Object.defineProperty(n,"__isScriptSetup",{enumerable:!1,value:!0}),n}}),OQ=["title"],zQ=It("div",{class:"icon","aria-hidden":"true"},[It("span"),It("span"),It("span")],-1),BQ=[zQ];function FQ(e,t,r,n,i,a){return et(),Tt("div",{class:"vp-toggle-sidebar-button",title:n.themeLocale.toggleSidebar,"aria-expanded":"false",role:"button",tabindex:"0",onClick:t[0]||(t[0]=o=>e.$emit("toggle"))},BQ,8,OQ)}const $Q=Ir(RQ,[["render",FQ],["__file","VPToggleSidebarButton.vue"]]),NQ=Zt({__name:"VPNavbar",emits:["toggleSidebar"],setup(e,{expose:t}){t();const r=fi(),n=Qt(null),i=Qt(null),a=Qt(0),o=Le(()=>a.value?{maxWidth:`${a.value}px`}:{}),s=(d,m)=>{var _;const v=(_=d==null?void 0:d.ownerDocument.defaultView)==null?void 0:_.getComputedStyle(d,null)[m],y=Number.parseInt(v,10);return Number.isNaN(y)?0:y};g9(Kg.Mobile,d=>{var v;const m=s(n.value,"paddingLeft")+s(n.value,"paddingRight");window.innerWidthe.$emit("toggleSidebar"))}),It("span",jQ,[ke(n.VPNavbarBrand)],512),It("div",{class:"vp-navbar-items-wrapper",style:Bp(n.linksWrapperStyle)},[Bn(e.$slots,"before"),ke(n.VPNavbarItems,{class:"vp-hide-mobile"}),Bn(e.$slots,"after"),n.themeLocale.colorModeSwitch?(et(),An(n.VPToggleColorModeButton,{key:0})):Xr("",!0),ke(o)],4)],512)}const UQ=Ir(NQ,[["render",HQ],["__file","VPNavbar.vue"]]),GQ={},WQ={class:"edit-icon",viewBox:"0 0 1024 1024"},qQ=It("g",{fill:"currentColor"},[It("path",{d:"M430.818 653.65a60.46 60.46 0 0 1-50.96-93.281l71.69-114.012 7.773-10.365L816.038 80.138A60.46 60.46 0 0 1 859.225 62a60.46 60.46 0 0 1 43.186 18.138l43.186 43.186a60.46 60.46 0 0 1 0 86.373L588.879 565.55l-8.637 8.637-117.466 68.234a60.46 60.46 0 0 1-31.958 11.229z"}),It("path",{d:"M728.802 962H252.891A190.883 190.883 0 0 1 62.008 771.98V296.934a190.883 190.883 0 0 1 190.883-192.61h267.754a60.46 60.46 0 0 1 0 120.92H252.891a69.962 69.962 0 0 0-69.098 69.099V771.98a69.962 69.962 0 0 0 69.098 69.098h475.911A69.962 69.962 0 0 0 797.9 771.98V503.363a60.46 60.46 0 1 1 120.922 0V771.98A190.883 190.883 0 0 1 728.802 962z"})],-1),ZQ=[qQ];function XQ(e,t){return et(),Tt("svg",WQ,ZQ)}const KQ=Ir(GQ,[["render",XQ],["__file","VPEditIcon.vue"]]),YQ=()=>{const e=fi(),t=uf(),r=ps();return Le(()=>{var i;return r.value.contributors??e.value.contributors??!0?((i=t.value.git)==null?void 0:i.contributors)??null:null})},JQ=()=>{const e=fi(),t=uf(),r=ps();return Le(()=>{if(!(r.value.editLink??e.value.editLink??!0))return null;const{repo:i,docsRepo:a=i,docsBranch:o="main",docsDir:s="",editLinkText:c}=e.value;if(!a)return null;const d=cJ({docsRepo:a,docsBranch:o,docsDir:s,filePathRelative:t.value.filePathRelative,editLinkPattern:r.value.editLinkPattern??e.value.editLinkPattern});return d?{text:c??"Edit this page",link:d}:null})},QQ=()=>{const e=fi(),t=uf(),r=ps();return Le(()=>{var a;return!(r.value.lastUpdated??e.value.lastUpdated??!0)||!((a=t.value.git)!=null&&a.updatedTime)?null:new Date(t.value.git.updatedTime).toLocaleString()})},eee=Zt({__name:"VPPageMeta",setup(e,{expose:t}){t();const r=fi(),n=JQ(),i=QQ(),a=YQ(),o={themeLocale:r,editLink:n,lastUpdated:i,contributors:a,VPEditIcon:KQ,get AutoLink(){return $p}};return Object.defineProperty(o,"__isScriptSetup",{enumerable:!1,value:!0}),o}}),tee={class:"vp-page-meta"},ree={key:0,class:"vp-meta-item edit-link"},nee={class:"vp-meta-item git-info"},iee={key:0,class:"vp-meta-item last-updated"},aee={class:"meta-item-label"},oee={class:"meta-item-info"},see={key:1,class:"vp-meta-item contributors"},lee={class:"meta-item-label"},uee={class:"meta-item-info"},cee=["title"];function hee(e,t,r,n,i,a){const o=jn("ClientOnly");return et(),Tt("footer",tee,[n.editLink?(et(),Tt("div",ree,[ke(n.AutoLink,{class:"label",config:n.editLink},{before:jr(()=>[ke(n.VPEditIcon)]),_:1},8,["config"])])):Xr("",!0),It("div",nee,[n.lastUpdated?(et(),Tt("div",iee,[It("span",aee,mr(n.themeLocale.lastUpdatedText)+": ",1),ke(o,null,{default:jr(()=>[It("span",oee,mr(n.lastUpdated),1)]),_:1})])):Xr("",!0),n.contributors&&n.contributors.length?(et(),Tt("div",see,[It("span",lee,mr(n.themeLocale.contributorsText)+": ",1),It("span",uee,[(et(!0),Tt(Er,null,xa(n.contributors,(s,c)=>(et(),Tt(Er,{key:c},[It("span",{class:"contributor",title:`email: ${s.email}`},mr(s.name),9,cee),c!==n.contributors.length-1?(et(),Tt(Er,{key:0},[Js(", ")],64)):Xr("",!0)],64))),128))])])):Xr("",!0)])])}const fee=Ir(eee,[["render",hee],["__file","VPPageMeta.vue"]]),dee=()=>{const e=dc(),t=nl();return r=>{r&&(i9(r)?t.path!==r&&e.push(r):Oy(r)?window.open(r):e.push(encodeURI(r)))}},rR=(e,t)=>e===!1?!1:os(e)?gp(e,t):CI(e)?{...e,link:gp(e.link,t).link}:null,VC=(e,t,r)=>{const n=e.findIndex(a=>a.link===t);if(n!==-1){const a=e[n+r];return a?a.link?a:"prefix"in a&&!Xg(a.prefix).notFound?{...a,link:a.prefix}:null:null}for(const a of e)if("children"in a){const o=VC(a.children,t,r);if(o)return o}const i=e.findIndex(a=>"prefix"in a&&a.prefix===t);if(i!==-1){const a=e[i+r];return a?a.link?a:"prefix"in a&&!Xg(a.prefix).notFound?{...a,link:a.prefix}:null:null}return null},pee=()=>{const e=ps(),t=fi(),r=BI(),n=nl(),i=Le(()=>{const o=rR(e.value.prev,n.path);return o===!1?null:o??(t.value.prev===!1?null:VC(r.value,n.path,-1))}),a=Le(()=>{const o=rR(e.value.next,n.path);return o===!1?null:o??(t.value.next===!1?null:VC(r.value,n.path,1))});return{prevLink:i,nextLink:a}},mee=Zt({__name:"VPPageNav",setup(e,{expose:t}){t();const r=fi(),n=dee(),{prevLink:i,nextLink:a}=pee(),o=Le(()=>r.value.pageNavbarLabel??"page navigation");Oo("keydown",c=>{c.altKey&&(c.key==="ArrowRight"?a.value&&(n(a.value.link),c.preventDefault()):c.key==="ArrowLeft"&&i.value&&(n(i.value.link),c.preventDefault()))});const s={themeLocale:r,navigate:n,prevLink:i,nextLink:a,navbarLabel:o,get AutoLink(){return $p}};return Object.defineProperty(s,"__isScriptSetup",{enumerable:!1,value:!0}),s}}),vee=["aria-label"],gee={class:"hint"},yee=It("span",{class:"arrow left"},null,-1),_ee={class:"link"},bee={class:"hint"},xee=It("span",{class:"arrow right"},null,-1),wee={class:"link"};function See(e,t,r,n,i,a){return n.prevLink||n.nextLink?(et(),Tt("nav",{key:0,class:"vp-page-nav","aria-label":n.navbarLabel},[n.prevLink?(et(),An(n.AutoLink,{key:0,class:"prev",config:n.prevLink},{default:jr(()=>[It("div",gee,[yee,Js(" "+mr(n.themeLocale.prev??"Prev"),1)]),It("div",_ee,[It("span",null,mr(n.prevLink.text),1)])]),_:1},8,["config"])):Xr("",!0),n.nextLink?(et(),An(n.AutoLink,{key:1,class:"next",config:n.nextLink},{default:jr(()=>[It("div",bee,[Js(mr(n.themeLocale.next??"Next")+" ",1),xee]),It("div",wee,[It("span",null,mr(n.nextLink.text),1)])]),_:1},8,["config"])):Xr("",!0)],8,vee)):Xr("",!0)}const Tee=Ir(mee,[["render",See],["__file","VPPageNav.vue"]]),Cee=Zt({__name:"VPPage",setup(e,{expose:t}){t(),hJ();const r={VPPageMeta:fee,VPPageNav:Tee,get Content(){return DI}};return Object.defineProperty(r,"__isScriptSetup",{enumerable:!1,value:!0}),r}}),Pee={class:"vp-page"},Aee={class:"theme-default-content","vp-content":""};function Iee(e,t,r,n,i,a){return et(),Tt("main",Pee,[Bn(e.$slots,"top"),It("div",Aee,[Bn(e.$slots,"content-top"),ke(n.Content),Bn(e.$slots,"content-bottom")]),ke(n.VPPageMeta),ke(n.VPPageNav),Bn(e.$slots,"bottom")])}const Eee=Ir(Cee,[["render",Iee],["__file","VPPage.vue"]]),Mee=Zt({__name:"VPSidebarItem",props:{item:{},depth:{default:0}},setup(e,{expose:t}){t();const r=e,{item:n,depth:i}=xx(r),a=nl(),o=dc(),s=Le(()=>"collapsible"in n.value&&n.value.collapsible),c=Le(()=>u9(n.value,a)),d=Le(()=>({"vp-sidebar-item":!0,"vp-sidebar-heading":i.value===0,active:c.value,collapsible:s.value})),m=Le(()=>s.value?c.value:!0),[v,y]=qK(m.value),_=E=>{s.value&&(E.preventDefault(),y())},S=o.afterEach(()=>{No(()=>{v.value=m.value})});fc(()=>{S()});const I={props:r,item:n,depth:i,route:a,router:o,collapsible:s,isActive:c,itemClass:d,isOpenDefault:m,isOpen:v,toggleIsOpen:y,onClick:_,unregisterRouterHook:S,VPDropdownTransition:m9,get AutoLink(){return $p}};return Object.defineProperty(I,"__isScriptSetup",{enumerable:!1,value:!0}),I}}),Dee={class:"vp-sidebar-children"};function Lee(e,t,r,n,i,a){const o=jn("VPSidebarItem",!0);return et(),Tt("li",null,[n.item.link?(et(),An(n.AutoLink,{key:0,class:Bi(n.itemClass),config:n.item},null,8,["class","config"])):(et(),Tt("p",{key:1,tabindex:"0",class:Bi(n.itemClass),onClick:n.onClick,onKeydown:nX(n.onClick,["enter"])},[Js(mr(n.item.text)+" ",1),n.collapsible?(et(),Tt("span",{key:0,class:Bi(["arrow",n.isOpen?"down":"right"])},null,2)):Xr("",!0)],34)),"children"in n.item&&n.item.children.length?(et(),An(n.VPDropdownTransition,{key:2},{default:jr(()=>[cb(It("ul",Dee,[(et(!0),Tt(Er,null,xa(n.item.children,s=>(et(),An(o,{key:`${n.depth}${s.text}${s.link}`,item:s,depth:n.depth+1},null,8,["item","depth"]))),128))],512),[[mb,n.isOpen]])]),_:1})):Xr("",!0)])}const kee=Ir(Mee,[["render",Lee],["__file","VPSidebarItem.vue"]]),Ree=Zt({__name:"VPSidebarItems",setup(e,{expose:t}){t();const r=nl(),n=BI();Tn(()=>{$r(()=>r.hash,a=>{const o=document.querySelector(".vp-sidebar");if(!o)return;const s=document.querySelector(`.vp-sidebar a.vp-sidebar-item[href="${r.path}${a}"]`);if(!s)return;const{top:c,height:d}=o.getBoundingClientRect(),{top:m,height:v}=s.getBoundingClientRect();mc+d&&s.scrollIntoView(!1)})});const i={route:r,sidebarItems:n,VPSidebarItem:kee};return Object.defineProperty(i,"__isScriptSetup",{enumerable:!1,value:!0}),i}}),Oee={key:0,class:"vp-sidebar-items"};function zee(e,t,r,n,i,a){return n.sidebarItems.length?(et(),Tt("ul",Oee,[(et(!0),Tt(Er,null,xa(n.sidebarItems,o=>(et(),An(n.VPSidebarItem,{key:`${o.text}${o.link}`,item:o},null,8,["item"]))),128))])):Xr("",!0)}const Bee=Ir(Ree,[["render",zee],["__file","VPSidebarItems.vue"]]),Fee=Zt({__name:"VPSidebar",setup(e,{expose:t}){t();const r={VPNavbarItems:y9,VPSidebarItems:Bee};return Object.defineProperty(r,"__isScriptSetup",{enumerable:!1,value:!0}),r}}),$ee={class:"vp-sidebar","vp-sidebar":""};function Nee(e,t,r,n,i,a){return et(),Tt("aside",$ee,[ke(n.VPNavbarItems),Bn(e.$slots,"top"),ke(n.VPSidebarItems),Bn(e.$slots,"bottom")])}const Vee=Ir(Fee,[["render",Nee],["__file","VPSidebar.vue"]]),jee=Zt({__name:"Layout",setup(e,{expose:t}){t();const r=uf(),n=ps(),i=fi(),a=Le(()=>n.value.navbar!==!1&&i.value.navbar!==!1),o=BI(),s=Qt(!1),c=R=>{s.value=typeof R=="boolean"?R:!s.value},d={x:0,y:0},m=R=>{d.x=R.changedTouches[0].clientX,d.y=R.changedTouches[0].clientY},v=R=>{const $=R.changedTouches[0].clientX-d.x,G=R.changedTouches[0].clientY-d.y;Math.abs($)>Math.abs(G)&&Math.abs($)>40&&($>0&&d.x<=80?c(!0):c(!1))},y=Le(()=>n.value.externalLinkIcon??i.value.externalLinkIcon??!0),_=Le(()=>[{"no-navbar":!a.value,"no-sidebar":!o.value.length,"sidebar-open":s.value,"external-link-icon":y.value},n.value.pageClass]);let S;Tn(()=>{S=dc().afterEach(()=>{c(!1)})}),Fp(()=>{S()});const I=l9(),E=I.resolve,M=I.pending,L={page:r,frontmatter:n,themeLocale:i,shouldShowNavbar:a,sidebarItems:o,isSidebarOpen:s,toggleSidebar:c,touchStart:d,onTouchStart:m,onTouchEnd:v,enableExternalLinkIcon:y,containerClass:_,get unregisterRouterHook(){return S},set unregisterRouterHook(R){S=R},scrollPromise:I,onBeforeEnter:E,onBeforeLeave:M,VPHome:UJ,VPNavbar:UQ,VPPage:Eee,VPSidebar:Vee};return Object.defineProperty(L,"__isScriptSetup",{enumerable:!1,value:!0}),L}});function Hee(e,t,r,n,i,a){return et(),Tt("div",{class:Bi(["vp-theme-container",n.containerClass]),"vp-container":"",onTouchstart:n.onTouchStart,onTouchend:n.onTouchEnd},[Bn(e.$slots,"navbar",{},()=>[n.shouldShowNavbar?(et(),An(n.VPNavbar,{key:0,onToggleSidebar:n.toggleSidebar},{before:jr(()=>[Bn(e.$slots,"navbar-before")]),after:jr(()=>[Bn(e.$slots,"navbar-after")]),_:3})):Xr("",!0)]),It("div",{class:"vp-sidebar-mask",onClick:t[0]||(t[0]=o=>n.toggleSidebar(!1))}),Bn(e.$slots,"sidebar",{},()=>[ke(n.VPSidebar,null,{top:jr(()=>[Bn(e.$slots,"sidebar-top")]),bottom:jr(()=>[Bn(e.$slots,"sidebar-bottom")]),_:3})]),Bn(e.$slots,"page",{},()=>[n.frontmatter.home?(et(),An(n.VPHome,{key:0})):(et(),An(rl,{key:1,name:"fade-slide-y",mode:"out-in",onBeforeEnter:n.onBeforeEnter,onBeforeLeave:n.onBeforeLeave},{default:jr(()=>[(et(),An(n.VPPage,{key:n.page.path},{top:jr(()=>[Bn(e.$slots,"page-top")]),"content-top":jr(()=>[Bn(e.$slots,"page-content-top")]),"content-bottom":jr(()=>[Bn(e.$slots,"page-content-bottom")]),bottom:jr(()=>[Bn(e.$slots,"page-bottom")]),_:3}))]),_:3},8,["onBeforeEnter","onBeforeLeave"]))])],34)}const Uee=Ir(jee,[["render",Hee],["__file","Layout.vue"]]),Gee=Zt({__name:"NotFound",setup(e,{expose:t}){t();const r=cf(),n=fi(),i=n.value.notFound??["Not Found"],a=()=>i[Math.floor(Math.random()*i.length)],o=n.value.home??r.value,s=n.value.backToHome??"Back to home",c={routeLocale:r,themeLocale:n,messages:i,getMsg:a,homeLink:o,homeText:s,get RouteLink(){return zy}};return Object.defineProperty(c,"__isScriptSetup",{enumerable:!1,value:!0}),c}}),Wee=e=>(vI("data-v-59ccf84c"),e=e(),gI(),e),qee={class:"vp-theme-container","vp-container":""},Zee={class:"page"},Xee={class:"theme-default-content","vp-content":""},Kee=Wee(()=>It("h1",null,"404",-1));function Yee(e,t,r,n,i,a){return et(),Tt("div",qee,[It("main",Zee,[It("div",Xee,[Kee,It("blockquote",null,mr(n.getMsg()),1),ke(n.RouteLink,{to:n.homeLink},{default:jr(()=>[Js(mr(n.homeText),1)]),_:1},8,["to"])])])])}const Jee=Ir(Gee,[["render",Yee],["__scopeId","data-v-59ccf84c"],["__file","NotFound.vue"]]),Qee=ms({enhance({app:e,router:t}){o2("Badge")||e.component("Badge",_J),o2("CodeGroup")||e.component("CodeGroup",bJ),o2("CodeGroupItem")||e.component("CodeGroupItem",SJ),e.component("VPSearch",()=>{const n=e.component("Docsearch")??e.component("SearchBox");return n?xr(n):null});const r=t.options.scrollBehavior;t.options.scrollBehavior=async(...n)=>(await l9().wait(),r(...n))},setup(){aJ(),vJ()},layouts:{Layout:Uee,NotFound:Jee}}),ete=Object.freeze(Object.defineProperty({__proto__:null,default:Qee},Symbol.toStringTag,{value:"Module"})),tte=e=>{const t=Oo("keydown",r=>{const n=r.key==="k"&&(r.ctrlKey||r.metaKey);!(r.key==="/")&&!n||(r.preventDefault(),e(),t())})};function rte(e,t,r){var n,i,a;r===void 0&&(r={});var o=(n=r.isImmediate)!=null&&n,s=(i=r.callback)!=null&&i,c=r.maxWait,d=Date.now(),m=[];function v(){if(c!==void 0){var _=Date.now()-d;if(_+t>=c)return c-_}return t}var y=function(){var _=[].slice.call(arguments),S=this;return new Promise(function(I,E){var M=o&&a===void 0;if(a!==void 0&&clearTimeout(a),a=setTimeout(function(){if(a=void 0,d=Date.now(),!o){var R=e.apply(S,_);s&&s(R),m.forEach(function($){return(0,$.resolve)(R)}),m=[]}},v()),M){var L=e.apply(S,_);return s&&s(L),I(L)}m.push({resolve:I,reject:E})})};return y.cancel=function(_){a!==void 0&&clearTimeout(a),m.forEach(function(S){return(0,S.reject)(_)}),m=[]},y}const nte=e=>e.button===1||e.altKey||e.ctrlKey||e.metaKey||e.shiftKey,ite=()=>{const e=dc();return{transformItems:t=>t.map(r=>({...r,url:`/${TI(pX(r.url,"/"))}`})),hitComponent:({hit:t,children:r})=>({type:"a",ref:void 0,constructor:void 0,key:void 0,props:{href:t.url,onClick:n=>{nte(n)||(n.preventDefault(),e.push(t.url.replace("/","/")))},children:r},__v:null}),navigator:{navigate:({itemUrl:t})=>{e.push(t.replace("/","/"))}},transformSearchClient:t=>{const r=rte(t.search,500);return{...t,search:async(...n)=>r(...n)}}}};var ate={appId:"51MD42WJ9Y",apiKey:"9b4e38ac3e880ab6800175b16f674d78",indexName:"sustech",locales:{"/":{placeholder:"搜索手册",translations:{button:{buttonText:"搜索手册",buttonAriaLabel:"搜索手册"},modal:{searchBox:{resetButtonTitle:"清除查询条件",resetButtonAriaLabel:"清除查询条件",cancelButtonText:"取消",cancelButtonAriaLabel:"取消"},startScreen:{recentSearchesTitle:"搜索历史",noRecentSearchesText:"没有搜索历史",saveRecentSearchButtonTitle:"保存至搜索历史",removeRecentSearchButtonTitle:"从搜索历史中移除",favoriteSearchesTitle:"收藏",removeFavoriteSearchButtonTitle:"从收藏中移除"},errorScreen:{titleText:"无法获取结果",helpText:"你可能需要检查你的网络连接"},footer:{selectText:"选择",navigateText:"切换",closeText:"关闭",searchByText:"搜索提供者"},noResultsScreen:{noResultsText:"无法找到相关结果",suggestedQueryText:"你可以尝试查询",reportMissingResultsText:"你认为该查询应该有结果?",reportMissingResultsLinkText:"点击反馈"}}}}}};const ote=ate,ste=Qt(ote),_9=Symbol(""),lte=()=>{const e=en(_9),t=cf();return Le(()=>{var r;return{...e.value,...(r=e.value.locales)==null?void 0:r[t.value]}})},ute=e=>{e.provide(_9,ste)},cte=(e,t=[])=>[`lang:${e}`,...Array.isArray(t)?t:[t]],hte=({buttonText:e="Search",buttonAriaLabel:t=e}={})=>``,fte=16,b9=()=>{if(document.querySelector(".DocSearch-Modal"))return;const e=new Event("keydown");e.key="k",e.metaKey=!0,window.dispatchEvent(e),setTimeout(b9,fte)},dte=e=>{const t="algolia-preconnect";("requestIdleCallback"in window?window.requestIdleCallback:setTimeout)(()=>{if(document.head.querySelector(`#${t}`))return;const n=document.createElement("link");n.id=t,n.rel="preconnect",n.href=`https://${e}-dsn.algolia.net`,n.crossOrigin="",document.head.appendChild(n)})};xt(()=>Promise.resolve({}),[]),xt(()=>Promise.resolve({}),[]);const pte=Zt({name:"Docsearch",props:{containerId:{type:String,default:"docsearch-container"},options:{type:Object,default:()=>({})}},setup(e){const t=lte(),r=ite(),n=XF(),i=cf(),a=Qt(!1),o=Qt(!1),s=Le(()=>{const{locales:m={},...v}=e.options;return{...t.value,...v,...m[i.value]}}),c=async()=>{var v;const{default:m}=await xt(async()=>{const{default:y}=await import("./index-DWGeGWcS.js");return{default:y}},[]);m({...r,...s.value,container:`#${e.containerId}`,searchParameters:{...s.value.searchParameters,facetFilters:cte(n.value,(v=s.value.searchParameters)==null?void 0:v.facetFilters)}}),a.value=!0},d=()=>{o.value||a.value||(o.value=!0,c(),b9(),$r(i,c))};return tte(d),Tn(()=>{dte(s.value.appId)}),()=>{var m;return[xr("div",{id:e.containerId,style:{display:a.value?"block":"none"}}),a.value?null:xr("div",{onClick:d,innerHTML:hte((m=s.value.translations)==null?void 0:m.button)})]}}}),mte=ms({enhance({app:e}){ute(e),e.component("Docsearch",pte)}}),vte=Object.freeze(Object.defineProperty({__proto__:null,default:mte},Symbol.toStringTag,{value:"Module"}));function gte(e){return{all:e=e||new Map,on:function(t,r){var n=e.get(t);n?n.push(r):e.set(t,[r])},off:function(t,r){var n=e.get(t);n&&(r?n.splice(n.indexOf(r)>>>0,1):e.set(t,[]))},emit:function(t,r){var n=e.get(t);n&&n.slice().map(function(i){i(r)}),(n=e.get("*"))&&n.slice().map(function(i){i(t,r)})}}}const yte=()=>{navigator.serviceWorker.getRegistration().then(e=>{e!=null&&e.active&&e.addEventListener("updatefound",()=>{window.location.reload(!0)})})},_te=async(e,t={},r=!0)=>{const{register:n}=await xt(async()=>{const{register:i}=await import("./index-DTEEl-sV.js");return{register:i}},[]);n(e,{ready(i){var a;r&&console.info("[Service Worker]: active"),(a=t.ready)==null||a.call(t,i)},registered(i){var a;r&&console.log("[Service Worker]: registered"),(a=t.registered)==null||a.call(t,i)},cached(i){var a;r&&console.log("[Service Worker]: cached"),(a=t.cached)==null||a.call(t,i)},async updatefound(i){var a;await navigator.serviceWorker.getRegistration()&&(r&&console.log("[Service Worker]: update found"),(a=t.updatefound)==null||a.call(t,i))},updated(i){var a;r&&console.log("[Service Worker]: updated"),(a=t.updated)==null||a.call(t,i)},offline(){var i;r&&console.log("[Service Worker]: offline"),(i=t.offline)==null||i.call(t)},error(i){var a;r&&console.error("[Service Worker]: ",i),(a=t.error)==null||a.call(t,i)}})},bte=e=>{const t=e.waiting;if(!t)return;const r=new MessageChannel;t.postMessage({type:"SKIP_WAITING"},[r.port2])},x9=Symbol(""),xte=()=>{const e=en(x9);if(!e)throw new Error("usePwaEvent() is called without provider.");return e},wte=async(e,t)=>_te(Lx(e),{ready(r){t.emit("ready",r)},registered(r){t.emit("registered",r)},cached(r){t.emit("cached",r)},updatefound(r){t.emit("updatefound",r)},updated(r){const n="service-worker-version",i=Number(localStorage.getItem(n)||0);localStorage.setItem(n,(i+1).toString()),localStorage.removeItem("manifest"),t.emit("updated",r)},offline(){t.emit("offline")},error(r){t.emit("error",r)}}),Ste=(e,t=!1)=>{const r=gte();Fi(x9,r),Tn(async()=>{if(!("serviceWorker"in navigator))return;let n=!1;navigator.serviceWorker.controller&&navigator.serviceWorker.addEventListener("controllerchange",()=>{n||(n=!0,window.location.reload())}),t&&yte(),await wte(e,r)})},Tte=()=>{Tn(()=>{if(window.matchMedia("(display-mode: standalone)").matches){const t=document.head.querySelector('meta[name="viewport"]');if(t){t.setAttribute("content","width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover");return}const r=document.createElement("meta");r.name="viewport",r.content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover",document.head.appendChild(r)}})},w9=({name:e="",color:t="currentColor"},{slots:r})=>xr("svg",{xmlns:"http://www.w3.org/2000/svg",class:["icon",`${e}-icon`],viewBox:"0 0 1024 1024",fill:t,"aria-label":`${e} icon`},r.default());w9.displayName="SVGWrapper";const S9=()=>xr(w9,{name:"update"},()=>xr("path",{d:"M949.949 146.25v255.826c0 21.981-13.989 35.97-35.97 35.97H658.154c-13.988 0-25.983-7.992-33.973-21.981-5.997-13.989-4-27.977 7.991-39.97l79.942-77.946c-55.954-51.973-121.918-77.955-199.863-77.955-37.975 0-75.95 8.002-113.924 21.99-37.975 15.985-67.948 37.976-91.934 63.957-25.982 23.987-47.973 53.96-63.957 91.934-29.983 73.955-29.983 153.895 0 227.85 15.984 37.976 37.975 67.947 63.957 91.934 23.986 25.982 53.959 47.973 91.934 63.956 37.974 13.989 75.95 21.991 113.924 21.991 45.967 0 87.942-9.998 127.913-29.982 41.976-17.99 75.951-45.967 101.931-83.943 7.993-4 11.994-5.995 13.989-5.995 5.997 0 9.998 1.994 13.988 5.995l77.958 77.946c3.989 4 5.986 7.993 5.986 11.994 0 1.994-1.996 5.995-3.99 11.994-43.973 51.962-93.941 91.934-151.9 117.914-53.958 25.983-115.92 39.972-185.874 39.972-61.961 0-119.921-11.984-169.89-33.973-57.96-25.985-105.923-57.963-139.896-93.943-35.98-33.972-67.958-81.936-93.94-139.897-45.967-101.93-45.967-237.846 0-339.777 25.982-57.96 57.96-105.923 93.94-139.896 33.973-35.98 81.936-67.958 139.896-93.94 49.968-21.99 107.928-33.974 169.89-33.974 55.963 0 109.923 9.988 161.885 29.973 53.97 21.99 101.933 51.963 139.908 89.938l73.954-73.944c9.987-9.998 23.987-13.988 39.971-8.002 13.988 8.002 21.98 19.995 21.98 33.984z"}));S9.displayName="UpdateIcon";const Cte=Zt({name:"PwaReadyPopup",props:{locales:{type:Object,required:!0}},slots:Object,setup(e,{slots:t}){const r=OI(e.locales),n=on(),i=Le(()=>!!n.value),a=()=>{n.value&&(bte(n.value),n.value=void 0)};return Tn(()=>{xte().on("updated",s=>{n.value=s})}),()=>xr(rl,{name:"popup"},()=>{var o;return((o=t.default)==null?void 0:o.call(t,{isReady:i.value,reload:a}))??(i.value?xr("button",{type:"button",class:"sw-update-popup",tabindex:0,onClick:()=>{a()}},[r.value.update,xr("span",{class:"icon-wrapper"},xr(S9))]):null)})}});var Pte={"/":{install:"安装",iOSInstall:"点击分享按钮然后点击“添加到主屏幕”",cancel:"取消",close:"关闭",prevImage:"上一张图片",nextImage:"下一张图片",desc:"详情",feature:"主要特色",explain:"该应用可以安装在你的 PC 或移动设备上。这将使该 Web 应用程序外观和行为与其他应用程序相同。它将在出现在应用程序列表中,并可以固定到主屏幕,开始菜单或任务栏。此 Web 应用程序还将能够与其他应用程序和你的操作系统安全地进行交互。",hint:"发现新内容可用",update:"新内容已就绪"}};const Ate=Pte,Ite=()=>xr(Cte,{locales:Ate}),Ete=ms({setup:()=>{Ste("service-worker.js",!1),Tte()},rootComponents:[Ite]}),Mte=Object.freeze(Object.defineProperty({__proto__:null,default:Ete},Symbol.toStringTag,{value:"Module"})),Dte=(e,t,r)=>{const n=`#${e.slug}`,i=[t.linkClass];return t.linkActiveClass&&r.hash===n&&i.push(t.linkActiveClass),t.linkChildrenActiveClass&&e.children.some(a=>`#${a.slug}`===r.hash)&&i.push(t.linkChildrenActiveClass),t.linkTag==="RouteLink"?xr(zy,{to:n,class:i,ariaLabel:e.title},()=>e.title):t.linkTag==="RouterLink"?xr(ZF,{to:n,class:i,ariaLabel:e.title},()=>e.title):xr("a",{href:n,class:i,ariaLabel:e.title},e.title)},T9=(e,t,r)=>e.length===0?[]:[xr("ul",{class:t.listClass},e.map(n=>xr("li",{class:t.itemClass},[Dte(n,t,r),T9(n.children,t,r)])))],Lte=Zt({name:"Toc",props:{headers:{type:Array,default:void 0},options:{type:Object,default:()=>({})}},setup(e){const{headers:t,options:r}=xx(e),n=nl(),i=uf(),a=Le(()=>{var c;const s=t.value??i.value.headers;return((c=s[0])==null?void 0:c.level)===1?s[0].children:s}),o=Le(()=>({containerTag:"nav",containerClass:"vuepress-toc",listClass:"vuepress-toc-list",itemClass:"vuepress-toc-item",linkTag:"RouteLink",linkClass:"vuepress-toc-link",linkActiveClass:"active",linkChildrenActiveClass:"active",...r.value}));return()=>{const s=T9(a.value,o.value,n);return o.value.containerTag?xr(o.value.containerTag,{class:o.value.containerClass},s):s}}});var kte={};const Rte=kte,Ote=ms({enhance({app:e}){e.component("Toc",t=>xr(Lte,{headers:t.headers,options:{...Rte,...t.options}}))}}),zte=Object.freeze(Object.defineProperty({__proto__:null,default:Ote},Symbol.toStringTag,{value:"Module"}));function C9(e,t){return function(){return e.apply(t,arguments)}}const{toString:Bte}=Object.prototype,{getPrototypeOf:FI}=Object,zx=(e=>t=>{const r=Bte.call(t);return e[r]||(e[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),vs=e=>(e=e.toLowerCase(),t=>zx(t)===e),Bx=e=>t=>typeof t===e,{isArray:Np}=Array,Yg=Bx("undefined");function Fte(e){return e!==null&&!Yg(e)&&e.constructor!==null&&!Yg(e.constructor)&&no(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const P9=vs("ArrayBuffer");function $te(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&P9(e.buffer),t}const Nte=Bx("string"),no=Bx("function"),A9=Bx("number"),Fx=e=>e!==null&&typeof e=="object",Vte=e=>e===!0||e===!1,A1=e=>{if(zx(e)!=="object")return!1;const t=FI(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},jte=vs("Date"),Hte=vs("File"),Ute=vs("Blob"),Gte=vs("FileList"),Wte=e=>Fx(e)&&no(e.pipe),qte=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||no(e.append)&&((t=zx(e))==="formdata"||t==="object"&&no(e.toString)&&e.toString()==="[object FormData]"))},Zte=vs("URLSearchParams"),[Xte,Kte,Yte,Jte]=["ReadableStream","Request","Response","Headers"].map(vs),Qte=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function By(e,t,{allOwnKeys:r=!1}={}){if(e===null||typeof e>"u")return;let n,i;if(typeof e!="object"&&(e=[e]),Np(e))for(n=0,i=e.length;n0;)if(i=r[n],t===i.toLowerCase())return i;return null}const Oh=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,E9=e=>!Yg(e)&&e!==Oh;function jC(){const{caseless:e}=E9(this)&&this||{},t={},r=(n,i)=>{const a=e&&I9(t,i)||i;A1(t[a])&&A1(n)?t[a]=jC(t[a],n):A1(n)?t[a]=jC({},n):Np(n)?t[a]=n.slice():t[a]=n};for(let n=0,i=arguments.length;n(By(t,(i,a)=>{r&&no(i)?e[a]=C9(i,r):e[a]=i},{allOwnKeys:n}),e),tre=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),rre=(e,t,r,n)=>{e.prototype=Object.create(t.prototype,n),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),r&&Object.assign(e.prototype,r)},nre=(e,t,r,n)=>{let i,a,o;const s={};if(t=t||{},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),a=i.length;a-- >0;)o=i[a],(!n||n(o,e,t))&&!s[o]&&(t[o]=e[o],s[o]=!0);e=r!==!1&&FI(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},ire=(e,t,r)=>{e=String(e),(r===void 0||r>e.length)&&(r=e.length),r-=t.length;const n=e.indexOf(t,r);return n!==-1&&n===r},are=e=>{if(!e)return null;if(Np(e))return e;let t=e.length;if(!A9(t))return null;const r=new Array(t);for(;t-- >0;)r[t]=e[t];return r},ore=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&FI(Uint8Array)),sre=(e,t)=>{const n=(e&&e[Symbol.iterator]).call(e);let i;for(;(i=n.next())&&!i.done;){const a=i.value;t.call(e,a[0],a[1])}},lre=(e,t)=>{let r;const n=[];for(;(r=e.exec(t))!==null;)n.push(r);return n},ure=vs("HTMLFormElement"),cre=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(r,n,i){return n.toUpperCase()+i}),nR=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),hre=vs("RegExp"),M9=(e,t)=>{const r=Object.getOwnPropertyDescriptors(e),n={};By(r,(i,a)=>{let o;(o=t(i,a,e))!==!1&&(n[a]=o||i)}),Object.defineProperties(e,n)},fre=e=>{M9(e,(t,r)=>{if(no(e)&&["arguments","caller","callee"].indexOf(r)!==-1)return!1;const n=e[r];if(no(n)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},dre=(e,t)=>{const r={},n=i=>{i.forEach(a=>{r[a]=!0})};return Np(e)?n(e):n(String(e).split(t)),r},pre=()=>{},mre=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,u2="abcdefghijklmnopqrstuvwxyz",iR="0123456789",D9={DIGIT:iR,ALPHA:u2,ALPHA_DIGIT:u2+u2.toUpperCase()+iR},vre=(e=16,t=D9.ALPHA_DIGIT)=>{let r="";const{length:n}=t;for(;e--;)r+=t[Math.random()*n|0];return r};function gre(e){return!!(e&&no(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const yre=e=>{const t=new Array(10),r=(n,i)=>{if(Fx(n)){if(t.indexOf(n)>=0)return;if(!("toJSON"in n)){t[i]=n;const a=Np(n)?[]:{};return By(n,(o,s)=>{const c=r(o,i+1);!Yg(c)&&(a[s]=c)}),t[i]=void 0,a}}return n};return r(e,0)},_re=vs("AsyncFunction"),bre=e=>e&&(Fx(e)||no(e))&&no(e.then)&&no(e.catch),L9=((e,t)=>e?setImmediate:t?((r,n)=>(Oh.addEventListener("message",({source:i,data:a})=>{i===Oh&&a===r&&n.length&&n.shift()()},!1),i=>{n.push(i),Oh.postMessage(r,"*")}))(`axios@${Math.random()}`,[]):r=>setTimeout(r))(typeof setImmediate=="function",no(Oh.postMessage)),xre=typeof queueMicrotask<"u"?queueMicrotask.bind(Oh):typeof process<"u"&&process.nextTick||L9,We={isArray:Np,isArrayBuffer:P9,isBuffer:Fte,isFormData:qte,isArrayBufferView:$te,isString:Nte,isNumber:A9,isBoolean:Vte,isObject:Fx,isPlainObject:A1,isReadableStream:Xte,isRequest:Kte,isResponse:Yte,isHeaders:Jte,isUndefined:Yg,isDate:jte,isFile:Hte,isBlob:Ute,isRegExp:hre,isFunction:no,isStream:Wte,isURLSearchParams:Zte,isTypedArray:ore,isFileList:Gte,forEach:By,merge:jC,extend:ere,trim:Qte,stripBOM:tre,inherits:rre,toFlatObject:nre,kindOf:zx,kindOfTest:vs,endsWith:ire,toArray:are,forEachEntry:sre,matchAll:lre,isHTMLForm:ure,hasOwnProperty:nR,hasOwnProp:nR,reduceDescriptors:M9,freezeMethods:fre,toObjectSet:dre,toCamelCase:cre,noop:pre,toFiniteNumber:mre,findKey:I9,global:Oh,isContextDefined:E9,ALPHABET:D9,generateString:vre,isSpecCompliantForm:gre,toJSONObject:yre,isAsyncFn:_re,isThenable:bre,setImmediate:L9,asap:xre};function Cr(e,t,r,n,i){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),r&&(this.config=r),n&&(this.request=n),i&&(this.response=i)}We.inherits(Cr,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:We.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const k9=Cr.prototype,R9={};["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=>{R9[e]={value:e}});Object.defineProperties(Cr,R9);Object.defineProperty(k9,"isAxiosError",{value:!0});Cr.from=(e,t,r,n,i,a)=>{const o=Object.create(k9);return We.toFlatObject(e,o,function(c){return c!==Error.prototype},s=>s!=="isAxiosError"),Cr.call(o,e.message,t,r,n,i),o.cause=e,o.name=e.name,a&&Object.assign(o,a),o};const wre=null;function HC(e){return We.isPlainObject(e)||We.isArray(e)}function O9(e){return We.endsWith(e,"[]")?e.slice(0,-2):e}function aR(e,t,r){return e?e.concat(t).map(function(i,a){return i=O9(i),!r&&a?"["+i+"]":i}).join(r?".":""):t}function Sre(e){return We.isArray(e)&&!e.some(HC)}const Tre=We.toFlatObject(We,{},null,function(t){return/^is[A-Z]/.test(t)});function $x(e,t,r){if(!We.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,r=We.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(I,E){return!We.isUndefined(E[I])});const n=r.metaTokens,i=r.visitor||m,a=r.dots,o=r.indexes,c=(r.Blob||typeof Blob<"u"&&Blob)&&We.isSpecCompliantForm(t);if(!We.isFunction(i))throw new TypeError("visitor must be a function");function d(S){if(S===null)return"";if(We.isDate(S))return S.toISOString();if(!c&&We.isBlob(S))throw new Cr("Blob is not supported. Use a Buffer instead.");return We.isArrayBuffer(S)||We.isTypedArray(S)?c&&typeof Blob=="function"?new Blob([S]):Buffer.from(S):S}function m(S,I,E){let M=S;if(S&&!E&&typeof S=="object"){if(We.endsWith(I,"{}"))I=n?I:I.slice(0,-2),S=JSON.stringify(S);else if(We.isArray(S)&&Sre(S)||(We.isFileList(S)||We.endsWith(I,"[]"))&&(M=We.toArray(S)))return I=O9(I),M.forEach(function(R,$){!(We.isUndefined(R)||R===null)&&t.append(o===!0?aR([I],$,a):o===null?I:I+"[]",d(R))}),!1}return HC(S)?!0:(t.append(aR(E,I,a),d(S)),!1)}const v=[],y=Object.assign(Tre,{defaultVisitor:m,convertValue:d,isVisitable:HC});function _(S,I){if(!We.isUndefined(S)){if(v.indexOf(S)!==-1)throw Error("Circular reference detected in "+I.join("."));v.push(S),We.forEach(S,function(M,L){(!(We.isUndefined(M)||M===null)&&i.call(t,M,We.isString(L)?L.trim():L,I,y))===!0&&_(M,I?I.concat(L):[L])}),v.pop()}}if(!We.isObject(e))throw new TypeError("data must be an object");return _(e),t}function oR(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(n){return t[n]})}function $I(e,t){this._pairs=[],e&&$x(e,this,t)}const z9=$I.prototype;z9.append=function(t,r){this._pairs.push([t,r])};z9.toString=function(t){const r=t?function(n){return t.call(this,n,oR)}:oR;return this._pairs.map(function(i){return r(i[0])+"="+r(i[1])},"").join("&")};function Cre(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function B9(e,t,r){if(!t)return e;const n=r&&r.encode||Cre,i=r&&r.serialize;let a;if(i?a=i(t,r):a=We.isURLSearchParams(t)?t.toString():new $I(t,r).toString(n),a){const o=e.indexOf("#");o!==-1&&(e=e.slice(0,o)),e+=(e.indexOf("?")===-1?"?":"&")+a}return e}class sR{constructor(){this.handlers=[]}use(t,r,n){return this.handlers.push({fulfilled:t,rejected:r,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){We.forEach(this.handlers,function(n){n!==null&&t(n)})}}const F9={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Pre=typeof URLSearchParams<"u"?URLSearchParams:$I,Are=typeof FormData<"u"?FormData:null,Ire=typeof Blob<"u"?Blob:null,Ere={isBrowser:!0,classes:{URLSearchParams:Pre,FormData:Are,Blob:Ire},protocols:["http","https","file","blob","url","data"]},NI=typeof window<"u"&&typeof document<"u",Mre=(e=>NI&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),Dre=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Lre=NI&&window.location.href||"http://localhost",kre=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:NI,hasStandardBrowserEnv:Mre,hasStandardBrowserWebWorkerEnv:Dre,origin:Lre},Symbol.toStringTag,{value:"Module"})),ss={...kre,...Ere};function Rre(e,t){return $x(e,new ss.classes.URLSearchParams,Object.assign({visitor:function(r,n,i,a){return ss.isNode&&We.isBuffer(r)?(this.append(n,r.toString("base64")),!1):a.defaultVisitor.apply(this,arguments)}},t))}function Ore(e){return We.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function zre(e){const t={},r=Object.keys(e);let n;const i=r.length;let a;for(n=0;n=r.length;return o=!o&&We.isArray(i)?i.length:o,c?(We.hasOwnProp(i,o)?i[o]=[i[o],n]:i[o]=n,!s):((!i[o]||!We.isObject(i[o]))&&(i[o]=[]),t(r,n,i[o],a)&&We.isArray(i[o])&&(i[o]=zre(i[o])),!s)}if(We.isFormData(e)&&We.isFunction(e.entries)){const r={};return We.forEachEntry(e,(n,i)=>{t(Ore(n),i,r,0)}),r}return null}function Bre(e,t,r){if(We.isString(e))try{return(t||JSON.parse)(e),We.trim(e)}catch(n){if(n.name!=="SyntaxError")throw n}return(r||JSON.stringify)(e)}const Fy={transitional:F9,adapter:["xhr","http","fetch"],transformRequest:[function(t,r){const n=r.getContentType()||"",i=n.indexOf("application/json")>-1,a=We.isObject(t);if(a&&We.isHTMLForm(t)&&(t=new FormData(t)),We.isFormData(t))return i?JSON.stringify($9(t)):t;if(We.isArrayBuffer(t)||We.isBuffer(t)||We.isStream(t)||We.isFile(t)||We.isBlob(t)||We.isReadableStream(t))return t;if(We.isArrayBufferView(t))return t.buffer;if(We.isURLSearchParams(t))return r.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let s;if(a){if(n.indexOf("application/x-www-form-urlencoded")>-1)return Rre(t,this.formSerializer).toString();if((s=We.isFileList(t))||n.indexOf("multipart/form-data")>-1){const c=this.env&&this.env.FormData;return $x(s?{"files[]":t}:t,c&&new c,this.formSerializer)}}return a||i?(r.setContentType("application/json",!1),Bre(t)):t}],transformResponse:[function(t){const r=this.transitional||Fy.transitional,n=r&&r.forcedJSONParsing,i=this.responseType==="json";if(We.isResponse(t)||We.isReadableStream(t))return t;if(t&&We.isString(t)&&(n&&!this.responseType||i)){const o=!(r&&r.silentJSONParsing)&&i;try{return JSON.parse(t)}catch(s){if(o)throw s.name==="SyntaxError"?Cr.from(s,Cr.ERR_BAD_RESPONSE,this,null,this.response):s}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:ss.classes.FormData,Blob:ss.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};We.forEach(["delete","get","head","post","put","patch"],e=>{Fy.headers[e]={}});const Fre=We.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"]),$re=e=>{const t={};let r,n,i;return e&&e.split(` +`).forEach(function(o){i=o.indexOf(":"),r=o.substring(0,i).trim().toLowerCase(),n=o.substring(i+1).trim(),!(!r||t[r]&&Fre[r])&&(r==="set-cookie"?t[r]?t[r].push(n):t[r]=[n]:t[r]=t[r]?t[r]+", "+n:n)}),t},lR=Symbol("internals");function Sv(e){return e&&String(e).trim().toLowerCase()}function I1(e){return e===!1||e==null?e:We.isArray(e)?e.map(I1):String(e)}function Nre(e){const t=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=r.exec(e);)t[n[1]]=n[2];return t}const Vre=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function c2(e,t,r,n,i){if(We.isFunction(n))return n.call(this,t,r);if(i&&(t=r),!!We.isString(t)){if(We.isString(n))return t.indexOf(n)!==-1;if(We.isRegExp(n))return n.test(t)}}function jre(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,r,n)=>r.toUpperCase()+n)}function Hre(e,t){const r=We.toCamelCase(" "+t);["get","set","has"].forEach(n=>{Object.defineProperty(e,n+r,{value:function(i,a,o){return this[n].call(this,t,i,a,o)},configurable:!0})})}class Oa{constructor(t){t&&this.set(t)}set(t,r,n){const i=this;function a(s,c,d){const m=Sv(c);if(!m)throw new Error("header name must be a non-empty string");const v=We.findKey(i,m);(!v||i[v]===void 0||d===!0||d===void 0&&i[v]!==!1)&&(i[v||c]=I1(s))}const o=(s,c)=>We.forEach(s,(d,m)=>a(d,m,c));if(We.isPlainObject(t)||t instanceof this.constructor)o(t,r);else if(We.isString(t)&&(t=t.trim())&&!Vre(t))o($re(t),r);else if(We.isHeaders(t))for(const[s,c]of t.entries())a(c,s,n);else t!=null&&a(r,t,n);return this}get(t,r){if(t=Sv(t),t){const n=We.findKey(this,t);if(n){const i=this[n];if(!r)return i;if(r===!0)return Nre(i);if(We.isFunction(r))return r.call(this,i,n);if(We.isRegExp(r))return r.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,r){if(t=Sv(t),t){const n=We.findKey(this,t);return!!(n&&this[n]!==void 0&&(!r||c2(this,this[n],n,r)))}return!1}delete(t,r){const n=this;let i=!1;function a(o){if(o=Sv(o),o){const s=We.findKey(n,o);s&&(!r||c2(n,n[s],s,r))&&(delete n[s],i=!0)}}return We.isArray(t)?t.forEach(a):a(t),i}clear(t){const r=Object.keys(this);let n=r.length,i=!1;for(;n--;){const a=r[n];(!t||c2(this,this[a],a,t,!0))&&(delete this[a],i=!0)}return i}normalize(t){const r=this,n={};return We.forEach(this,(i,a)=>{const o=We.findKey(n,a);if(o){r[o]=I1(i),delete r[a];return}const s=t?jre(a):String(a).trim();s!==a&&delete r[a],r[s]=I1(i),n[s]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const r=Object.create(null);return We.forEach(this,(n,i)=>{n!=null&&n!==!1&&(r[i]=t&&We.isArray(n)?n.join(", "):n)}),r}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,r])=>t+": "+r).join(` +`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...r){const n=new this(t);return r.forEach(i=>n.set(i)),n}static accessor(t){const n=(this[lR]=this[lR]={accessors:{}}).accessors,i=this.prototype;function a(o){const s=Sv(o);n[s]||(Hre(i,o),n[s]=!0)}return We.isArray(t)?t.forEach(a):a(t),this}}Oa.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);We.reduceDescriptors(Oa.prototype,({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(n){this[r]=n}}});We.freezeMethods(Oa);function h2(e,t){const r=this||Fy,n=t||r,i=Oa.from(n.headers);let a=n.data;return We.forEach(e,function(s){a=s.call(r,a,i.normalize(),t?t.status:void 0)}),i.normalize(),a}function N9(e){return!!(e&&e.__CANCEL__)}function Vp(e,t,r){Cr.call(this,e??"canceled",Cr.ERR_CANCELED,t,r),this.name="CanceledError"}We.inherits(Vp,Cr,{__CANCEL__:!0});function V9(e,t,r){const n=r.config.validateStatus;!r.status||!n||n(r.status)?e(r):t(new Cr("Request failed with status code "+r.status,[Cr.ERR_BAD_REQUEST,Cr.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}function Ure(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function Gre(e,t){e=e||10;const r=new Array(e),n=new Array(e);let i=0,a=0,o;return t=t!==void 0?t:1e3,function(c){const d=Date.now(),m=n[a];o||(o=d),r[i]=c,n[i]=d;let v=a,y=0;for(;v!==i;)y+=r[v++],v=v%e;if(i=(i+1)%e,i===a&&(a=(a+1)%e),d-o{r=m,i=null,a&&(clearTimeout(a),a=null),e.apply(null,d)};return[(...d)=>{const m=Date.now(),v=m-r;v>=n?o(d,m):(i=d,a||(a=setTimeout(()=>{a=null,o(i)},n-v)))},()=>i&&o(i)]}const yb=(e,t,r=3)=>{let n=0;const i=Gre(50,250);return Wre(a=>{const o=a.loaded,s=a.lengthComputable?a.total:void 0,c=o-n,d=i(c),m=o<=s;n=o;const v={loaded:o,total:s,progress:s?o/s:void 0,bytes:c,rate:d||void 0,estimated:d&&s&&m?(s-o)/d:void 0,event:a,lengthComputable:s!=null,[t?"download":"upload"]:!0};e(v)},r)},uR=(e,t)=>{const r=e!=null;return[n=>t[0]({lengthComputable:r,total:e,loaded:n}),t[1]]},cR=e=>(...t)=>We.asap(()=>e(...t)),qre=ss.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");let n;function i(a){let o=a;return t&&(r.setAttribute("href",o),o=r.href),r.setAttribute("href",o),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:r.pathname.charAt(0)==="/"?r.pathname:"/"+r.pathname}}return n=i(window.location.href),function(o){const s=We.isString(o)?i(o):o;return s.protocol===n.protocol&&s.host===n.host}}():function(){return function(){return!0}}(),Zre=ss.hasStandardBrowserEnv?{write(e,t,r,n,i,a){const o=[e+"="+encodeURIComponent(t)];We.isNumber(r)&&o.push("expires="+new Date(r).toGMTString()),We.isString(n)&&o.push("path="+n),We.isString(i)&&o.push("domain="+i),a===!0&&o.push("secure"),document.cookie=o.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(){return null},remove(){}};function Xre(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Kre(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function j9(e,t){return e&&!Xre(t)?Kre(e,t):t}const hR=e=>e instanceof Oa?{...e}:e;function tf(e,t){t=t||{};const r={};function n(d,m,v){return We.isPlainObject(d)&&We.isPlainObject(m)?We.merge.call({caseless:v},d,m):We.isPlainObject(m)?We.merge({},m):We.isArray(m)?m.slice():m}function i(d,m,v){if(We.isUndefined(m)){if(!We.isUndefined(d))return n(void 0,d,v)}else return n(d,m,v)}function a(d,m){if(!We.isUndefined(m))return n(void 0,m)}function o(d,m){if(We.isUndefined(m)){if(!We.isUndefined(d))return n(void 0,d)}else return n(void 0,m)}function s(d,m,v){if(v in t)return n(d,m);if(v in e)return n(void 0,d)}const c={url:a,method:a,data:a,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,withXSRFToken:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:s,headers:(d,m)=>i(hR(d),hR(m),!0)};return We.forEach(Object.keys(Object.assign({},e,t)),function(m){const v=c[m]||i,y=v(e[m],t[m],m);We.isUndefined(y)&&v!==s||(r[m]=y)}),r}const H9=e=>{const t=tf({},e);let{data:r,withXSRFToken:n,xsrfHeaderName:i,xsrfCookieName:a,headers:o,auth:s}=t;t.headers=o=Oa.from(o),t.url=B9(j9(t.baseURL,t.url),e.params,e.paramsSerializer),s&&o.set("Authorization","Basic "+btoa((s.username||"")+":"+(s.password?unescape(encodeURIComponent(s.password)):"")));let c;if(We.isFormData(r)){if(ss.hasStandardBrowserEnv||ss.hasStandardBrowserWebWorkerEnv)o.setContentType(void 0);else if((c=o.getContentType())!==!1){const[d,...m]=c?c.split(";").map(v=>v.trim()).filter(Boolean):[];o.setContentType([d||"multipart/form-data",...m].join("; "))}}if(ss.hasStandardBrowserEnv&&(n&&We.isFunction(n)&&(n=n(t)),n||n!==!1&&qre(t.url))){const d=i&&a&&Zre.read(a);d&&o.set(i,d)}return t},Yre=typeof XMLHttpRequest<"u",Jre=Yre&&function(e){return new Promise(function(r,n){const i=H9(e);let a=i.data;const o=Oa.from(i.headers).normalize();let{responseType:s,onUploadProgress:c,onDownloadProgress:d}=i,m,v,y,_,S;function I(){_&&_(),S&&S(),i.cancelToken&&i.cancelToken.unsubscribe(m),i.signal&&i.signal.removeEventListener("abort",m)}let E=new XMLHttpRequest;E.open(i.method.toUpperCase(),i.url,!0),E.timeout=i.timeout;function M(){if(!E)return;const R=Oa.from("getAllResponseHeaders"in E&&E.getAllResponseHeaders()),G={data:!s||s==="text"||s==="json"?E.responseText:E.response,status:E.status,statusText:E.statusText,headers:R,config:e,request:E};V9(function(H){r(H),I()},function(H){n(H),I()},G),E=null}"onloadend"in E?E.onloadend=M:E.onreadystatechange=function(){!E||E.readyState!==4||E.status===0&&!(E.responseURL&&E.responseURL.indexOf("file:")===0)||setTimeout(M)},E.onabort=function(){E&&(n(new Cr("Request aborted",Cr.ECONNABORTED,e,E)),E=null)},E.onerror=function(){n(new Cr("Network Error",Cr.ERR_NETWORK,e,E)),E=null},E.ontimeout=function(){let $=i.timeout?"timeout of "+i.timeout+"ms exceeded":"timeout exceeded";const G=i.transitional||F9;i.timeoutErrorMessage&&($=i.timeoutErrorMessage),n(new Cr($,G.clarifyTimeoutError?Cr.ETIMEDOUT:Cr.ECONNABORTED,e,E)),E=null},a===void 0&&o.setContentType(null),"setRequestHeader"in E&&We.forEach(o.toJSON(),function($,G){E.setRequestHeader(G,$)}),We.isUndefined(i.withCredentials)||(E.withCredentials=!!i.withCredentials),s&&s!=="json"&&(E.responseType=i.responseType),d&&([y,S]=yb(d,!0),E.addEventListener("progress",y)),c&&E.upload&&([v,_]=yb(c),E.upload.addEventListener("progress",v),E.upload.addEventListener("loadend",_)),(i.cancelToken||i.signal)&&(m=R=>{E&&(n(!R||R.type?new Vp(null,e,E):R),E.abort(),E=null)},i.cancelToken&&i.cancelToken.subscribe(m),i.signal&&(i.signal.aborted?m():i.signal.addEventListener("abort",m)));const L=Ure(i.url);if(L&&ss.protocols.indexOf(L)===-1){n(new Cr("Unsupported protocol "+L+":",Cr.ERR_BAD_REQUEST,e));return}E.send(a||null)})},Qre=(e,t)=>{let r=new AbortController,n;const i=function(c){if(!n){n=!0,o();const d=c instanceof Error?c:this.reason;r.abort(d instanceof Cr?d:new Vp(d instanceof Error?d.message:d))}};let a=t&&setTimeout(()=>{i(new Cr(`timeout ${t} of ms exceeded`,Cr.ETIMEDOUT))},t);const o=()=>{e&&(a&&clearTimeout(a),a=null,e.forEach(c=>{c&&(c.removeEventListener?c.removeEventListener("abort",i):c.unsubscribe(i))}),e=null)};e.forEach(c=>c&&c.addEventListener&&c.addEventListener("abort",i));const{signal:s}=r;return s.unsubscribe=o,[s,()=>{a&&clearTimeout(a),a=null}]},ene=function*(e,t){let r=e.byteLength;if(!t||r{const a=tne(e,t,i);let o=0,s,c=d=>{s||(s=!0,n&&n(d))};return new ReadableStream({async pull(d){try{const{done:m,value:v}=await a.next();if(m){c(),d.close();return}let y=v.byteLength;if(r){let _=o+=y;r(_)}d.enqueue(new Uint8Array(v))}catch(m){throw c(m),m}},cancel(d){return c(d),a.return()}},{highWaterMark:2})},Nx=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",U9=Nx&&typeof ReadableStream=="function",UC=Nx&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),G9=(e,...t)=>{try{return!!e(...t)}catch{return!1}},rne=U9&&G9(()=>{let e=!1;const t=new Request(ss.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),dR=64*1024,GC=U9&&G9(()=>We.isReadableStream(new Response("").body)),_b={stream:GC&&(e=>e.body)};Nx&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!_b[t]&&(_b[t]=We.isFunction(e[t])?r=>r[t]():(r,n)=>{throw new Cr(`Response type '${t}' is not supported`,Cr.ERR_NOT_SUPPORT,n)})})})(new Response);const nne=async e=>{if(e==null)return 0;if(We.isBlob(e))return e.size;if(We.isSpecCompliantForm(e))return(await new Request(e).arrayBuffer()).byteLength;if(We.isArrayBufferView(e)||We.isArrayBuffer(e))return e.byteLength;if(We.isURLSearchParams(e)&&(e=e+""),We.isString(e))return(await UC(e)).byteLength},ine=async(e,t)=>{const r=We.toFiniteNumber(e.getContentLength());return r??nne(t)},ane=Nx&&(async e=>{let{url:t,method:r,data:n,signal:i,cancelToken:a,timeout:o,onDownloadProgress:s,onUploadProgress:c,responseType:d,headers:m,withCredentials:v="same-origin",fetchOptions:y}=H9(e);d=d?(d+"").toLowerCase():"text";let[_,S]=i||a||o?Qre([i,a],o):[],I,E;const M=()=>{!I&&setTimeout(()=>{_&&_.unsubscribe()}),I=!0};let L;try{if(c&&rne&&r!=="get"&&r!=="head"&&(L=await ine(m,n))!==0){let j=new Request(t,{method:"POST",body:n,duplex:"half"}),H;if(We.isFormData(n)&&(H=j.headers.get("content-type"))&&m.setContentType(H),j.body){const[Z,Q]=uR(L,yb(cR(c)));n=fR(j.body,dR,Z,Q,UC)}}We.isString(v)||(v=v?"include":"omit"),E=new Request(t,{...y,signal:_,method:r.toUpperCase(),headers:m.normalize().toJSON(),body:n,duplex:"half",credentials:v});let R=await fetch(E);const $=GC&&(d==="stream"||d==="response");if(GC&&(s||$)){const j={};["status","statusText","headers"].forEach(ee=>{j[ee]=R[ee]});const H=We.toFiniteNumber(R.headers.get("content-length")),[Z,Q]=s&&uR(H,yb(cR(s),!0))||[];R=new Response(fR(R.body,dR,Z,()=>{Q&&Q(),$&&M()},UC),j)}d=d||"text";let G=await _b[We.findKey(_b,d)||"text"](R,e);return!$&&M(),S&&S(),await new Promise((j,H)=>{V9(j,H,{data:G,headers:Oa.from(R.headers),status:R.status,statusText:R.statusText,config:e,request:E})})}catch(R){throw M(),R&&R.name==="TypeError"&&/fetch/i.test(R.message)?Object.assign(new Cr("Network Error",Cr.ERR_NETWORK,e,E),{cause:R.cause||R}):Cr.from(R,R&&R.code,e,E)}}),WC={http:wre,xhr:Jre,fetch:ane};We.forEach(WC,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const pR=e=>`- ${e}`,one=e=>We.isFunction(e)||e===null||e===!1,W9={getAdapter:e=>{e=We.isArray(e)?e:[e];const{length:t}=e;let r,n;const i={};for(let a=0;a`adapter ${s} `+(c===!1?"is not supported by the environment":"is not available in the build"));let o=t?a.length>1?`since : +`+a.map(pR).join(` +`):" "+pR(a[0]):"as no adapter specified";throw new Cr("There is no suitable adapter to dispatch the request "+o,"ERR_NOT_SUPPORT")}return n},adapters:WC};function f2(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Vp(null,e)}function mR(e){return f2(e),e.headers=Oa.from(e.headers),e.data=h2.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),W9.getAdapter(e.adapter||Fy.adapter)(e).then(function(n){return f2(e),n.data=h2.call(e,e.transformResponse,n),n.headers=Oa.from(n.headers),n},function(n){return N9(n)||(f2(e),n&&n.response&&(n.response.data=h2.call(e,e.transformResponse,n.response),n.response.headers=Oa.from(n.response.headers))),Promise.reject(n)})}const q9="1.7.4",VI={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{VI[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const vR={};VI.transitional=function(t,r,n){function i(a,o){return"[Axios v"+q9+"] Transitional option '"+a+"'"+o+(n?". "+n:"")}return(a,o,s)=>{if(t===!1)throw new Cr(i(o," has been removed"+(r?" in "+r:"")),Cr.ERR_DEPRECATED);return r&&!vR[o]&&(vR[o]=!0,console.warn(i(o," has been deprecated since v"+r+" and will be removed in the near future"))),t?t(a,o,s):!0}};function sne(e,t,r){if(typeof e!="object")throw new Cr("options must be an object",Cr.ERR_BAD_OPTION_VALUE);const n=Object.keys(e);let i=n.length;for(;i-- >0;){const a=n[i],o=t[a];if(o){const s=e[a],c=s===void 0||o(s,a,e);if(c!==!0)throw new Cr("option "+a+" must be "+c,Cr.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new Cr("Unknown option "+a,Cr.ERR_BAD_OPTION)}}const qC={assertOptions:sne,validators:VI},Su=qC.validators;class jh{constructor(t){this.defaults=t,this.interceptors={request:new sR,response:new sR}}async request(t,r){try{return await this._request(t,r)}catch(n){if(n instanceof Error){let i;Error.captureStackTrace?Error.captureStackTrace(i={}):i=new Error;const a=i.stack?i.stack.replace(/^.+\n/,""):"";try{n.stack?a&&!String(n.stack).endsWith(a.replace(/^.+\n.+\n/,""))&&(n.stack+=` +`+a):n.stack=a}catch{}}throw n}}_request(t,r){typeof t=="string"?(r=r||{},r.url=t):r=t||{},r=tf(this.defaults,r);const{transitional:n,paramsSerializer:i,headers:a}=r;n!==void 0&&qC.assertOptions(n,{silentJSONParsing:Su.transitional(Su.boolean),forcedJSONParsing:Su.transitional(Su.boolean),clarifyTimeoutError:Su.transitional(Su.boolean)},!1),i!=null&&(We.isFunction(i)?r.paramsSerializer={serialize:i}:qC.assertOptions(i,{encode:Su.function,serialize:Su.function},!0)),r.method=(r.method||this.defaults.method||"get").toLowerCase();let o=a&&We.merge(a.common,a[r.method]);a&&We.forEach(["delete","get","head","post","put","patch","common"],S=>{delete a[S]}),r.headers=Oa.concat(o,a);const s=[];let c=!0;this.interceptors.request.forEach(function(I){typeof I.runWhen=="function"&&I.runWhen(r)===!1||(c=c&&I.synchronous,s.unshift(I.fulfilled,I.rejected))});const d=[];this.interceptors.response.forEach(function(I){d.push(I.fulfilled,I.rejected)});let m,v=0,y;if(!c){const S=[mR.bind(this),void 0];for(S.unshift.apply(S,s),S.push.apply(S,d),y=S.length,m=Promise.resolve(r);v{if(!n._listeners)return;let a=n._listeners.length;for(;a-- >0;)n._listeners[a](i);n._listeners=null}),this.promise.then=i=>{let a;const o=new Promise(s=>{n.subscribe(s),a=s}).then(i);return o.cancel=function(){n.unsubscribe(a)},o},t(function(a,o,s){n.reason||(n.reason=new Vp(a,o,s),r(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const r=this._listeners.indexOf(t);r!==-1&&this._listeners.splice(r,1)}static source(){let t;return{token:new jI(function(i){t=i}),cancel:t}}}function lne(e){return function(r){return e.apply(null,r)}}function une(e){return We.isObject(e)&&e.isAxiosError===!0}const ZC={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(ZC).forEach(([e,t])=>{ZC[t]=e});function Z9(e){const t=new jh(e),r=C9(jh.prototype.request,t);return We.extend(r,jh.prototype,t,{allOwnKeys:!0}),We.extend(r,t,null,{allOwnKeys:!0}),r.create=function(i){return Z9(tf(e,i))},r}const Lr=Z9(Fy);Lr.Axios=jh;Lr.CanceledError=Vp;Lr.CancelToken=jI;Lr.isCancel=N9;Lr.VERSION=q9;Lr.toFormData=$x;Lr.AxiosError=Cr;Lr.Cancel=Lr.CanceledError;Lr.all=function(t){return Promise.all(t)};Lr.spread=lne;Lr.isAxiosError=une;Lr.mergeConfig=tf;Lr.AxiosHeaders=Oa;Lr.formToJSON=e=>$9(We.isHTMLForm(e)?new FormData(e):e);Lr.getAdapter=W9.getAdapter;Lr.HttpStatusCode=ZC;Lr.default=Lr;function gR(e){let t=Math.abs(e),r=Math.floor(t/3600);t-=r*3600;let n=Math.floor(t/60);return t-=n*60,[r,n,t]}function yR(e){return e<10?"0"+e:e}const cne={props:{secondFromDispatch:{type:Number},stationEstimate:{type:String},startSecond:{type:Number}},computed:{timeToShow:function(){let e=gR(this.secondFromDispatch),t=e[2]>=30;return e[1]>0?[e[0]>0?e[0]+"时":"",e[1],"分",t?"半":""].join(""):t?"半分钟":"不到半分"},startTime:function(){let e=gR(this.startSecond);return["",yR(e[0]),":",yR(e[1])].join("")},isWaiting:function(){return this.secondFromDispatch<=0}}},hne={key:0};function fne(e,t,r,n,i,a){return r.secondFromDispatch?(et(),Tt("tr",{key:0,class:Bi(a.isWaiting?"bus-waiting":"bus-running")},[It("td",null,mr(a.startTime),1),It("td",null,mr(a.isWaiting?"距出发":"已出发"),1),It("td",null,mr((a.isWaiting,""+a.timeToShow)),1),r.stationEstimate?(et(),Tt("td",hne,mr(r.stationEstimate),1)):Xr("",!0)],2)):Xr("",!0)}const dne=Ir(cne,[["render",fne],["__scopeId","data-v-259a8620"],["__file","BusItem.vue"]]);function X9(e,t,r){return e*3600+t*60+r}function pne(e){let t=[];for(let r of e){let n=r.split(":"),i=X9(Number(n[0].trim()),Number(n[1].trim()),0);t.push(i)}return t.sort((r,n)=>r-n)}const mne={data(){return{secondFromZero:0,second:0,minute:0,hour:0,timeRangeAfterReach:3}},props:{times:{},stations:{},minuteOnRoad:{type:Number,default:20},timeRangeBeforeDispatch:{type:Number,default:60}},components:{BusItem:dne},mounted(){setInterval(()=>{this.tick()},1e3)},methods:{tick:function(){var e=new Date;this.hour=e.getHours(),this.minute=e.getMinutes(),this.second=e.getSeconds(),this.secondFromZero=X9(this.hour,this.minute,this.second)},formatNumber:function(e){return e<10?"0"+e:e},stationEstimate:function(e){if(!this.stationNames)return"null";if(e<=0)return this.stationNames[0];let t=this.stationNames.length;if(e>=this.minuteOnRoad*60)return this.stationNames[t-1];let r=e/60/this.minuteOnRoad,n="";for(let i in this.stationPositions)if(r-this.timeRangeBeforeDispatch*60&&t.push([n,r]),n>0&&n<(this.minuteOnRoad+this.timeRangeAfterReach)*60&&e.push([n,r])}return e.concat(t)},stationNames:function(){let e=[];for(let t of this.stations)e.push(t[0]);return e},stationPositions:function(){let e=[];for(let t of this.stations)e.push(t[1]);return e}}},vne=e=>(vI("data-v-dc817d2c"),e=e(),gI(),e),gne={key:0,class:"bus-timer-tb"},yne={colspan:"2"},_ne={colspan:"2",style:{"text-align":"right"}},bne={key:0,colspan:"4"},xne=vne(()=>It("p",{class:"plus-note"},"* 站点估计仅供参考",-1));function wne(e,t,r,n,i,a){const o=jn("bus-item");return et(),Tt("div",null,[a.busToShow?(et(),Tt("table",gne,[It("thead",null,[It("tr",null,[It("th",yne,mr(r.stations[0][0])+" > "+mr(r.stations[r.stations.length-1][0]),1),It("th",_ne,mr(a.formatNumber(i.hour))+":"+mr(a.formatNumber(i.minute))+":"+mr(a.formatNumber(i.second)),1)]),(et(!0),Tt(Er,null,xa(a.busToShow,(s,c)=>(et(),An(o,{secondFromDispatch:s[0],stationEstimate:a.stationEstimate(s[0]),startSecond:s[1],key:c},null,8,["secondFromDispatch","stationEstimate","startSecond"]))),128)),It("tr",null,[Object.keys(a.busToShow).length==0?(et(),Tt("td",bne," 短时间内没有班次了 ")):Xr("",!0)])])])):Xr("",!0),xne])}const Sne=Ir(mne,[["render",wne],["__scopeId","data-v-dc817d2c"],["__file","BusTimer.vue"]]);function Jg(e){"@babel/helpers - typeof";return Jg=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Jg(e)}function Tne(e,t){if(Jg(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(Jg(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Cne(e){var t=Tne(e,"string");return Jg(t)=="symbol"?t:t+""}function Pne(e,t,r){return(t=Cne(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _R(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function Sn(e){for(var t=1;ttypeof e=="string",Ene=e=>e!==null&&typeof e=="object";function Bd(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0;return typeof e=="function"?e(t):e??r}function Mne(e){let t;const r=new Promise(i=>{t=e(()=>{i(!0)})}),n=()=>{t==null||t()};return n.then=(i,a)=>r.then(i,a),n.promise=r,n}function hi(){const e=[];for(let t=0;te!=null&&e!=="",K9=(e,t)=>{const r=Be({},e);return Object.keys(t).forEach(n=>{const i=r[n];if(i)i.type||i.default?i.default=t[n]:i.def?i.def(t[n]):r[n]={type:i,default:t[n]};else throw new Error(`not have ${n} prop`)}),r},Lne=Symbol("skipFlatten"),Qg=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;const r=Array.isArray(e)?e:[e],n=[];return r.forEach(i=>{Array.isArray(i)?n.push(...Qg(i,t)):i&&i.type===Er?i.key===Lne?n.push(i):n.push(...Qg(i.children,t)):i&&Wg(i)?t&&!Y9(i)?n.push(i):t||n.push(i):Dne(i)&&n.push(i)}),n},XC=e=>{var t;let r=((t=e==null?void 0:e.vnode)===null||t===void 0?void 0:t.el)||e&&(e.$el||e);for(;r&&!r.tagName;)r=r.nextSibling;return r};function Y9(e){return e&&(e.type===ra||e.type===Er&&e.children.length===0||e.type===Vl&&e.children.trim()==="")}function J9(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];const t=[];return e.forEach(r=>{Array.isArray(r)?t.push(...r):(r==null?void 0:r.type)===Er?t.push(...J9(r.children)):t.push(r)}),t.filter(r=>!Y9(r))}let Q9=e=>setTimeout(e,16),e$=e=>clearTimeout(e);typeof window<"u"&&"requestAnimationFrame"in window&&(Q9=e=>window.requestAnimationFrame(e),e$=e=>window.cancelAnimationFrame(e));let bR=0;const HI=new Map;function t$(e){HI.delete(e)}function KC(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;bR+=1;const r=bR;function n(i){if(i===0)t$(r),e();else{const a=Q9(()=>{n(i-1)});HI.set(r,a)}}return n(t),r}KC.cancel=e=>{const t=HI.get(e);return t$(t),e$(t)};const bb=function(){for(var e=arguments.length,t=new Array(e),r=0;r{const t=e;return t.install=function(r){r.component(t.displayName||t.name,e)},e};function xR(){return{type:[Function,Array]}}function Ea(e){return{type:Object,default:e}}function Hh(e){return{type:Boolean,default:e}}function wR(e){return{type:Function,default:e}}function is(e,t){const r={validator:()=>!0,default:e};return r}function YC(e){return{type:Array,default:e}}function JC(e){return{type:String,default:e}}function r$(e,t){return e?{type:e,default:t}:is(t)}const UI="anticon",kne=Symbol("GlobalFormContextKey"),Rne=e=>{Fi(kne,e)},One=()=>({iconPrefixCls:String,getTargetContainer:{type:Function},getPopupContainer:{type:Function},prefixCls:String,getPrefixCls:{type:Function},renderEmpty:{type:Function},transformCellText:{type:Function},csp:Ea(),input:Ea(),autoInsertSpaceInButton:{type:Boolean,default:void 0},locale:Ea(),pageHeader:Ea(),componentSize:{type:String},componentDisabled:{type:Boolean,default:void 0},direction:{type:String,default:"ltr"},space:Ea(),virtual:{type:Boolean,default:void 0},dropdownMatchSelectWidth:{type:[Number,Boolean],default:!0},form:Ea(),pagination:Ea(),theme:Ea(),select:Ea(),wave:Ea()}),GI=Symbol("configProvider"),n$={getPrefixCls:(e,t)=>t||(e?`ant-${e}`:"ant"),iconPrefixCls:Le(()=>UI),getPopupContainer:Le(()=>()=>document.body),direction:Le(()=>"ltr")},i$=()=>en(GI,n$),zne=e=>Fi(GI,e),a$=Symbol("DisabledContextKey"),WI=()=>en(a$,Qt(void 0)),Bne=e=>{const t=WI();return Fi(a$,Le(()=>{var r;return(r=e.value)!==null&&r!==void 0?r:t.value})),e},Fne={items_per_page:"/ page",jump_to:"Go to",jump_to_confirm:"confirm",page:"",prev_page:"Previous Page",next_page:"Next Page",prev_5:"Previous 5 Pages",next_5:"Next 5 Pages",prev_3:"Previous 3 Pages",next_3:"Next 3 Pages"},$ne={locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"Ok",clear:"Clear",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",yearFormat:"YYYY",dateFormat:"M/D/YYYY",dayFormat:"D",dateTimeFormat:"M/D/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"},o$={placeholder:"Select time",rangePlaceholder:["Start time","End time"]},SR={lang:Be({placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeQuarterPlaceholder:["Start quarter","End quarter"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"]},$ne),timePickerLocale:Be({},o$)},Ka="${label} is not a valid ${type}",ey={locale:"en",Pagination:Fne,DatePicker:SR,TimePicker:o$,Calendar:SR,global:{placeholder:"Please select"},Table:{filterTitle:"Filter menu",filterConfirm:"OK",filterReset:"Reset",filterEmptyText:"No filters",filterCheckall:"Select all items",filterSearchPlaceholder:"Search in filters",emptyText:"No data",selectAll:"Select current page",selectInvert:"Invert current page",selectNone:"Clear all data",selectionAll:"Select all data",sortTitle:"Sort",expand:"Expand row",collapse:"Collapse row",triggerDesc:"Click to sort descending",triggerAsc:"Click to sort ascending",cancelSort:"Click to cancel sorting"},Tour:{Next:"Next",Previous:"Previous",Finish:"Finish"},Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancel"},Transfer:{titles:["",""],searchPlaceholder:"Search here",itemUnit:"item",itemsUnit:"items",remove:"Remove",selectCurrent:"Select current page",removeCurrent:"Remove current page",selectAll:"Select all data",removeAll:"Remove all data",selectInvert:"Invert current page"},Upload:{uploading:"Uploading...",removeFile:"Remove file",uploadError:"Upload error",previewFile:"Preview file",downloadFile:"Download file"},Empty:{description:"No data"},Icon:{icon:"icon"},Text:{edit:"Edit",copy:"Copy",copied:"Copied",expand:"Expand"},PageHeader:{back:"Back"},Form:{optional:"(optional)",defaultValidateMessages:{default:"Field validation error for ${label}",required:"Please enter ${label}",enum:"${label} must be one of [${enum}]",whitespace:"${label} cannot be a blank character",date:{format:"${label} date format is invalid",parse:"${label} cannot be converted to a date",invalid:"${label} is an invalid date"},types:{string:Ka,method:Ka,array:Ka,object:Ka,number:Ka,date:Ka,boolean:Ka,integer:Ka,float:Ka,regexp:Ka,email:Ka,url:Ka,hex:Ka},string:{len:"${label} must be ${len} characters",min:"${label} must be at least ${min} characters",max:"${label} must be up to ${max} characters",range:"${label} must be between ${min}-${max} characters"},number:{len:"${label} must be equal to ${len}",min:"${label} must be minimum ${min}",max:"${label} must be maximum ${max}",range:"${label} must be between ${min}-${max}"},array:{len:"Must be ${len} ${label}",min:"At least ${min} ${label}",max:"At most ${max} ${label}",range:"The amount of ${label} must be between ${min}-${max}"},pattern:{mismatch:"${label} does not match the pattern ${pattern}"}}},Image:{preview:"Preview"},QRCode:{expired:"QR code expired",refresh:"Refresh",scanned:"Scanned"}},s$=Zt({compatConfig:{MODE:3},name:"LocaleReceiver",props:{componentName:String,defaultLocale:{type:[Object,Function]},children:{type:Function}},setup(e,t){let{slots:r}=t;const n=en("localeData",{}),i=Le(()=>{const{componentName:o="global",defaultLocale:s}=e,c=s||ey[o||"global"],{antLocale:d}=n,m=o&&d?d[o]:{};return Be(Be({},typeof c=="function"?c():c),m||{})}),a=Le(()=>{const{antLocale:o}=n,s=o&&o.locale;return o&&o.exist&&!s?ey.locale:s});return()=>{const o=e.children||r.default,{antLocale:s}=n;return o==null?void 0:o(i.value,a.value,s)}}});function qI(e){for(var t=0,r,n=0,i=e.length;i>=4;++n,i-=4)r=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(i){case 3:t^=(e.charCodeAt(n+2)&255)<<16;case 2:t^=(e.charCodeAt(n+1)&255)<<8;case 1:t^=e.charCodeAt(n)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}const TR="%";class Nne{constructor(t){this.cache=new Map,this.instanceId=t}get(t){return this.cache.get(Array.isArray(t)?t.join(TR):t)||null}update(t,r){const n=Array.isArray(t)?t.join(TR):t,i=this.cache.get(n),a=r(i);a===null?this.cache.delete(n):this.cache.set(n,a)}}const l$="data-token-hash",Uh="data-css-hash",Fd="__cssinjs_instance__";function ty(){const e=Math.random().toString(12).slice(2);if(typeof document<"u"&&document.head&&document.body){const t=document.body.querySelectorAll(`style[${Uh}]`)||[],{firstChild:r}=document.head;Array.from(t).forEach(i=>{i[Fd]=i[Fd]||e,i[Fd]===e&&document.head.insertBefore(i,r)});const n={};Array.from(document.querySelectorAll(`style[${Uh}]`)).forEach(i=>{var a;const o=i.getAttribute(Uh);n[o]?i[Fd]===e&&((a=i.parentNode)===null||a===void 0||a.removeChild(i)):n[o]=!0})}return new Nne(e)}const u$=Symbol("StyleContextKey"),Vne=()=>{var e,t,r;const n=Xl();let i;if(n&&n.appContext){const a=(r=(t=(e=n.appContext)===null||e===void 0?void 0:e.config)===null||t===void 0?void 0:t.globalProperties)===null||r===void 0?void 0:r.__ANTDV_CSSINJS_CACHE__;a?i=a:(i=ty(),n.appContext.config.globalProperties&&(n.appContext.config.globalProperties.__ANTDV_CSSINJS_CACHE__=i))}else i=ty();return i},c$={cache:ty(),defaultCache:!0,hashPriority:"low"},jx=()=>{const e=Vne();return en(u$,on(Be(Be({},c$),{cache:e})))},jne=e=>{const t=jx(),r=on(Be(Be({},c$),{cache:ty()}));return $r([()=>ka(e),t],()=>{const n=Be({},t.value),i=ka(e);Object.keys(i).forEach(o=>{const s=i[o];i[o]!==void 0&&(n[o]=s)});const{cache:a}=i;n.cache=n.cache||ty(),n.defaultCache=!a&&t.value.defaultCache,r.value=n},{immediate:!0}),Fi(u$,r),r},Hne=()=>({autoClear:Hh(),mock:JC(),cache:Ea(),defaultCache:Hh(),hashPriority:JC(),container:r$(),ssrInline:Hh(),transformers:YC(),linters:YC()});Vx(Zt({name:"AStyleProvider",inheritAttrs:!1,props:Hne(),setup(e,t){let{slots:r}=t;return jne(e),()=>{var n;return(n=r.default)===null||n===void 0?void 0:n.call(r)}}}));function h$(e,t,r,n){const i=jx(),a=on(""),o=on();Hl(()=>{a.value=[e,...t.value].join("%")});const s=c=>{i.value.cache.update(c,d=>{const[m=0,v]=d||[];return m-1===0?(n==null||n(v,!1),null):[m-1,v]})};return $r(a,(c,d)=>{d&&s(d),i.value.cache.update(c,m=>{const[v=0,y]=m||[],S=y||r();return[v+1,S]}),o.value=i.value.cache.get(a.value)[1]},{immediate:!0}),fc(()=>{s(a.value)}),o}function jp(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function Une(e,t){return e&&e.contains?e.contains(t):!1}const CR="data-vc-order",Gne="vc-util-key",QC=new Map;function f$(){let{mark:e}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return e?e.startsWith("data-")?e:`data-${e}`:Gne}function Hx(e){return e.attachTo?e.attachTo:document.querySelector("head")||document.body}function Wne(e){return e==="queue"?"prependQueue":e?"prepend":"append"}function d$(e){return Array.from((QC.get(e)||e).children).filter(t=>t.tagName==="STYLE")}function p$(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!jp())return null;const{csp:r,prepend:n}=t,i=document.createElement("style");i.setAttribute(CR,Wne(n)),r!=null&&r.nonce&&(i.nonce=r==null?void 0:r.nonce),i.innerHTML=e;const a=Hx(t),{firstChild:o}=a;if(n){if(n==="queue"){const s=d$(a).filter(c=>["prepend","prependQueue"].includes(c.getAttribute(CR)));if(s.length)return a.insertBefore(i,s[s.length-1].nextSibling),i}a.insertBefore(i,o)}else a.appendChild(i);return i}function m$(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const r=Hx(t);return d$(r).find(n=>n.getAttribute(f$(t))===e)}function v$(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const r=m$(e,t);r&&Hx(t).removeChild(r)}function qne(e,t){const r=QC.get(e);if(!r||!Une(document,r)){const n=p$("",t),{parentNode:i}=n;QC.set(e,i),e.removeChild(n)}}function xb(e,t){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var n,i,a;const o=Hx(r);qne(o,r);const s=m$(t,r);if(s)return!((n=r.csp)===null||n===void 0)&&n.nonce&&s.nonce!==((i=r.csp)===null||i===void 0?void 0:i.nonce)&&(s.nonce=(a=r.csp)===null||a===void 0?void 0:a.nonce),s.innerHTML!==e&&(s.innerHTML=e),s;const c=p$(e,r);return c.setAttribute(f$(r),t),c}function Zne(e,t){if(e.length!==t.length)return!1;for(let r=0;r1&&arguments[1]!==void 0?arguments[1]:!1,n={map:this.cache};return t.forEach(i=>{var a;n?n=(a=n==null?void 0:n.map)===null||a===void 0?void 0:a.get(i):n=void 0}),n!=null&&n.value&&r&&(n.value[1]=this.cacheCallTimes++),n==null?void 0:n.value}get(t){var r;return(r=this.internalGet(t,!0))===null||r===void 0?void 0:r[0]}has(t){return!!this.internalGet(t)}set(t,r){if(!this.has(t)){if(this.size()+1>yp.MAX_CACHE_SIZE+yp.MAX_CACHE_OFFSET){const[i]=this.keys.reduce((a,o)=>{const[,s]=a;return this.internalGet(o)[1]{if(a===t.length-1)n.set(i,{value:[r,this.cacheCallTimes++]});else{const o=n.get(i);o?o.map||(o.map=new Map):n.set(i,{map:new Map}),n=n.get(i).map}})}deleteByPath(t,r){var n;const i=t.get(r[0]);if(r.length===1)return i.map?t.set(r[0],{map:i.map}):t.delete(r[0]),(n=i.value)===null||n===void 0?void 0:n[0];const a=this.deleteByPath(i.map,r.slice(1));return(!i.map||i.map.size===0)&&!i.value&&t.delete(r[0]),a}delete(t){if(this.has(t))return this.keys=this.keys.filter(r=>!Zne(r,t)),this.deleteByPath(this.cache,t)}}yp.MAX_CACHE_SIZE=20;yp.MAX_CACHE_OFFSET=5;let PR={};function Xne(e,t){}function Kne(e,t,r){!t&&!PR[r]&&(PR[r]=!0)}function Yne(e,t){Kne(Xne,e,t)}function Jne(){}let g$=Jne,AR=0;class y${constructor(t){this.derivatives=Array.isArray(t)?t:[t],this.id=AR,t.length===0&&g$(t.length>0),AR+=1}getDerivativeToken(t){return this.derivatives.reduce((r,n)=>n(t,r),void 0)}}const d2=new yp;function _$(e){const t=Array.isArray(e)?e:[e];return d2.has(t)||d2.set(t,new y$(t)),d2.get(t)}const IR=new WeakMap;function wb(e){let t=IR.get(e)||"";return t||(Object.keys(e).forEach(r=>{const n=e[r];t+=r,n instanceof y$?t+=n.id:n&&typeof n=="object"?t+=wb(n):t+=n}),IR.set(e,t)),t}function Qne(e,t){return qI(`${t}_${wb(e)}`)}const bg=`random-${Date.now()}-${Math.random()}`.replace(/\./g,""),b$="_bAmBoO_";function eie(e,t,r){var n,i;if(jp()){xb(e,bg);const a=document.createElement("div");a.style.position="fixed",a.style.left="0",a.style.top="0",t==null||t(a),document.body.appendChild(a);const o=r?r(a):(n=getComputedStyle(a).content)===null||n===void 0?void 0:n.includes(b$);return(i=a.parentNode)===null||i===void 0||i.removeChild(a),v$(bg),o}return!1}let p2;function tie(){return p2===void 0&&(p2=eie(`@layer ${bg} { .${bg} { content: "${b$}"!important; } }`,e=>{e.className=bg})),p2}const ER={},rie=!0,nie=!1,iie=!rie&&!nie?"css-dev-only-do-not-override":"css",Mh=new Map;function aie(e){Mh.set(e,(Mh.get(e)||0)+1)}function oie(e,t){typeof document<"u"&&document.querySelectorAll(`style[${l$}="${e}"]`).forEach(n=>{var i;n[Fd]===t&&((i=n.parentNode)===null||i===void 0||i.removeChild(n))})}const sie=0;function lie(e,t){Mh.set(e,(Mh.get(e)||0)-1);const r=Array.from(Mh.keys()),n=r.filter(i=>(Mh.get(i)||0)<=0);r.length-n.length>sie&&n.forEach(i=>{oie(i,t),Mh.delete(i)})}const uie=(e,t,r,n)=>{const i=r.getDerivativeToken(e);let a=Be(Be({},i),t);return n&&(a=n(a)),a};function cie(e,t){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Qt({});const n=jx(),i=Le(()=>Be({},...t.value)),a=Le(()=>wb(i.value)),o=Le(()=>wb(r.value.override||ER));return h$("token",Le(()=>[r.value.salt||"",e.value.id,a.value,o.value]),()=>{const{salt:c="",override:d=ER,formatToken:m,getComputedToken:v}=r.value,y=v?v(i.value,d,e.value):uie(i.value,d,e.value,m),_=Qne(y,c);y._tokenKey=_,aie(_);const S=`${iie}-${qI(_)}`;return y._hashId=S,[y,S]},c=>{var d;lie(c[0]._tokenKey,(d=n.value)===null||d===void 0?void 0:d.cache.instanceId)})}var hie={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},x$="comm",w$="rule",S$="decl",fie="@import",die="@keyframes",pie="@layer",T$=Math.abs,ZI=String.fromCharCode;function C$(e){return e.trim()}function E1(e,t,r){return e.replace(t,r)}function mie(e,t,r){return e.indexOf(t,r)}function ry(e,t){return e.charCodeAt(t)|0}function ny(e,t,r){return e.slice(t,r)}function Fl(e){return e.length}function vie(e){return e.length}function b0(e,t){return t.push(e),e}var Ux=1,_p=1,P$=0,zo=0,ai=0,Hp="";function XI(e,t,r,n,i,a,o,s){return{value:e,root:t,parent:r,type:n,props:i,children:a,line:Ux,column:_p,length:o,return:"",siblings:s}}function gie(){return ai}function yie(){return ai=zo>0?ry(Hp,--zo):0,_p--,ai===10&&(_p=1,Ux--),ai}function ls(){return ai=zo2||eP(ai)>3?"":" "}function wie(e,t){for(;--t&&ls()&&!(ai<48||ai>102||ai>57&&ai<65||ai>70&&ai<97););return Gx(e,M1()+(t<6&&Gh()==32&&ls()==32))}function tP(e){for(;ls();)switch(ai){case e:return zo;case 34:case 39:e!==34&&e!==39&&tP(ai);break;case 40:e===41&&tP(e);break;case 92:ls();break}return zo}function Sie(e,t){for(;ls()&&e+ai!==57;)if(e+ai===84&&Gh()===47)break;return"/*"+Gx(t,zo-1)+"*"+ZI(e===47?e:ls())}function Tie(e){for(;!eP(Gh());)ls();return Gx(e,zo)}function Cie(e){return bie(D1("",null,null,null,[""],e=_ie(e),0,[0],e))}function D1(e,t,r,n,i,a,o,s,c){for(var d=0,m=0,v=o,y=0,_=0,S=0,I=1,E=1,M=1,L=0,R="",$=i,G=a,j=n,H=R;E;)switch(S=L,L=ls()){case 40:if(S!=108&&ry(H,v-1)==58){mie(H+=E1(m2(L),"&","&\f"),"&\f",T$(d?s[d-1]:0))!=-1&&(M=-1);break}case 34:case 39:case 91:H+=m2(L);break;case 9:case 10:case 13:case 32:H+=xie(S);break;case 92:H+=wie(M1()-1,7);continue;case 47:switch(Gh()){case 42:case 47:b0(Pie(Sie(ls(),M1()),t,r,c),c);break;default:H+="/"}break;case 123*I:s[d++]=Fl(H)*M;case 125*I:case 59:case 0:switch(L){case 0:case 125:E=0;case 59+m:M==-1&&(H=E1(H,/\f/g,"")),_>0&&Fl(H)-v&&b0(_>32?DR(H+";",n,r,v-1,c):DR(E1(H," ","")+";",n,r,v-2,c),c);break;case 59:H+=";";default:if(b0(j=MR(H,t,r,d,m,i,s,R,$=[],G=[],v,a),a),L===123)if(m===0)D1(H,t,j,j,$,a,v,s,G);else switch(y===99&&ry(H,3)===110?100:y){case 100:case 108:case 109:case 115:D1(e,j,j,n&&b0(MR(e,j,j,0,0,i,s,R,i,$=[],v,G),G),i,G,v,s,n?$:G);break;default:D1(H,j,j,j,[""],G,0,s,G)}}d=m=_=0,I=M=1,R=H="",v=o;break;case 58:v=1+Fl(H),_=S;default:if(I<1){if(L==123)--I;else if(L==125&&I++==0&&yie()==125)continue}switch(H+=ZI(L),L*I){case 38:M=m>0?1:(H+="\f",-1);break;case 44:s[d++]=(Fl(H)-1)*M,M=1;break;case 64:Gh()===45&&(H+=m2(ls())),y=Gh(),m=v=Fl(R=H+=Tie(M1())),L++;break;case 45:S===45&&Fl(H)==2&&(I=0)}}return a}function MR(e,t,r,n,i,a,o,s,c,d,m,v){for(var y=i-1,_=i===0?a:[""],S=vie(_),I=0,E=0,M=0;I0?_[L]+" "+R:E1(R,/&\f/g,_[L])))&&(c[M++]=$);return XI(e,t,r,i===0?w$:s,c,d,m,v)}function Pie(e,t,r,n){return XI(e,t,r,x$,ZI(gie()),ny(e,2,-2),0,n)}function DR(e,t,r,n,i){return XI(e,t,r,S$,ny(e,0,n),ny(e,n+1,-1),n,i)}function rP(e,t){for(var r="",n=0;n{const[a,o]=i.split(":");Wh[a]=o});const n=document.querySelector(`style[${LR}]`);n&&(A$=!1,(e=n.parentNode)===null||e===void 0||e.removeChild(n)),document.body.removeChild(t)}}function Mie(e){return Eie(),!!Wh[e]}function Die(e){const t=Wh[e];let r=null;if(t&&jp())if(A$)r=Iie;else{const n=document.querySelector(`style[${Uh}="${Wh[e]}"]`);n?r=n.innerHTML:delete Wh[e]}return[r,t]}const kR=jp(),Lie="_skip_check_",I$="_multi_value_";function RR(e){return rP(Cie(e),Aie).replace(/\{%%%\:[^;];}/g,";")}function kie(e){return typeof e=="object"&&e&&(Lie in e||I$ in e)}function Rie(e,t,r){if(!t)return e;const n=`.${t}`,i=r==="low"?`:where(${n})`:n;return e.split(",").map(o=>{var s;const c=o.trim().split(/\s+/);let d=c[0]||"";const m=((s=d.match(/^\w+/))===null||s===void 0?void 0:s[0])||"";return d=`${m}${i}${d.slice(m.length)}`,[d,...c.slice(1)].join(" ")}).join(",")}const OR=new Set,nP=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{root:r,injectHash:n,parentSelectors:i}=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{root:!0,parentSelectors:[]};const{hashId:a,layer:o,path:s,hashPriority:c,transformers:d=[],linters:m=[]}=t;let v="",y={};function _(E){const M=E.getName(a);if(!y[M]){const[L]=nP(E.style,t,{root:!1,parentSelectors:i});y[M]=`@keyframes ${E.getName(a)}${L}`}}function S(E){let M=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return E.forEach(L=>{Array.isArray(L)?S(L,M):L&&M.push(L)}),M}if(S(Array.isArray(e)?e:[e]).forEach(E=>{const M=typeof E=="string"&&!r?{}:E;if(typeof M=="string")v+=`${M} +`;else if(M._keyframe)_(M);else{const L=d.reduce((R,$)=>{var G;return((G=$==null?void 0:$.visit)===null||G===void 0?void 0:G.call($,R))||R},M);Object.keys(L).forEach(R=>{var $;const G=L[R];if(typeof G=="object"&&G&&(R!=="animationName"||!G._keyframe)&&!kie(G)){let j=!1,H=R.trim(),Z=!1;(r||n)&&a?H.startsWith("@")?j=!0:H=Rie(R,a,c):r&&!a&&(H==="&"||H==="")&&(H="",Z=!0);const[Q,ee]=nP(G,t,{root:Z,injectHash:j,parentSelectors:[...i,H]});y=Be(Be({},y),ee),v+=`${H}${Q}`}else{let j=function(Z,Q){const ee=Z.replace(/[A-Z]/g,ie=>`-${ie.toLowerCase()}`);let ne=Q;!hie[Z]&&typeof ne=="number"&&ne!==0&&(ne=`${ne}px`),Z==="animationName"&&(Q!=null&&Q._keyframe)&&(_(Q),ne=Q.getName(a)),v+=`${ee}:${ne};`};const H=($=G==null?void 0:G.value)!==null&&$!==void 0?$:G;typeof G=="object"&&(G!=null&&G[I$])&&Array.isArray(H)?H.forEach(Z=>{j(R,Z)}):j(R,H)}})}}),!r)v=`{${v}}`;else if(o&&tie()){const E=o.split(",");v=`@layer ${E[E.length-1].trim()} {${v}}`,E.length>1&&(v=`@layer ${o}{%%%:%}${v}`)}return[v,y]};function Oie(e,t){return qI(`${e.join("%")}${t}`)}function iP(e,t){const r=jx(),n=Le(()=>e.value.token._tokenKey),i=Le(()=>[n.value,...e.value.path]);let a=kR;return h$("style",i,()=>{const{path:o,hashId:s,layer:c,nonce:d,clientOnly:m,order:v=0}=e.value,y=i.value.join("|");if(Mie(y)){const[H,Z]=Die(y);if(H)return[H,n.value,Z,{},m,v]}const _=t(),{hashPriority:S,container:I,transformers:E,linters:M,cache:L}=r.value,[R,$]=nP(_,{hashId:s,hashPriority:S,layer:c,path:o.join("-"),transformers:E,linters:M}),G=RR(R),j=Oie(i.value,G);if(a){const H={mark:Uh,prepend:"queue",attachTo:I,priority:v},Z=typeof d=="function"?d():d;Z&&(H.csp={nonce:Z});const Q=xb(G,j,H);Q[Fd]=L.instanceId,Q.setAttribute(l$,n.value),Object.keys($).forEach(ee=>{OR.has(ee)||(OR.add(ee),xb(RR($[ee]),`_effect-${ee}`,{mark:Uh,prepend:"queue",attachTo:I}))})}return[G,n.value,j,$,m,v]},(o,s)=>{let[,,c]=o;(s||r.value.autoClear)&&kR&&v$(c,{mark:Uh})}),o=>o}class qh{constructor(t,r){this._keyframe=!0,this.name=t,this.style=r}getName(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return t?`${t}-${this.name}`:this.name}}const zie="4.2.3";function $i(e,t){Bie(e)&&(e="100%");var r=Fie(e);return e=t===360?e:Math.min(t,Math.max(0,parseFloat(e))),r&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:(t===360?e=(e<0?e%t+t:e%t)/parseFloat(String(t)):e=e%t/parseFloat(String(t)),e)}function x0(e){return Math.min(1,Math.max(0,e))}function Bie(e){return typeof e=="string"&&e.indexOf(".")!==-1&&parseFloat(e)===1}function Fie(e){return typeof e=="string"&&e.indexOf("%")!==-1}function E$(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function w0(e){return e<=1?"".concat(Number(e)*100,"%"):e}function zh(e){return e.length===1?"0"+e:String(e)}function $ie(e,t,r){return{r:$i(e,255)*255,g:$i(t,255)*255,b:$i(r,255)*255}}function zR(e,t,r){e=$i(e,255),t=$i(t,255),r=$i(r,255);var n=Math.max(e,t,r),i=Math.min(e,t,r),a=0,o=0,s=(n+i)/2;if(n===i)o=0,a=0;else{var c=n-i;switch(o=s>.5?c/(2-n-i):c/(n+i),n){case e:a=(t-r)/c+(t1&&(r-=1),r<1/6?e+(t-e)*(6*r):r<1/2?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function Nie(e,t,r){var n,i,a;if(e=$i(e,360),t=$i(t,100),r=$i(r,100),t===0)i=r,a=r,n=r;else{var o=r<.5?r*(1+t):r+t-r*t,s=2*r-o;n=v2(s,o,e+1/3),i=v2(s,o,e),a=v2(s,o,e-1/3)}return{r:n*255,g:i*255,b:a*255}}function aP(e,t,r){e=$i(e,255),t=$i(t,255),r=$i(r,255);var n=Math.max(e,t,r),i=Math.min(e,t,r),a=0,o=n,s=n-i,c=n===0?0:s/n;if(n===i)a=0;else{switch(n){case e:a=(t-r)/s+(t>16,g:(e&65280)>>8,b:e&255}}var sP={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function Dd(e){var t={r:0,g:0,b:0},r=1,n=null,i=null,a=null,o=!1,s=!1;return typeof e=="string"&&(e=qie(e)),typeof e=="object"&&(Il(e.r)&&Il(e.g)&&Il(e.b)?(t=$ie(e.r,e.g,e.b),o=!0,s=String(e.r).substr(-1)==="%"?"prgb":"rgb"):Il(e.h)&&Il(e.s)&&Il(e.v)?(n=w0(e.s),i=w0(e.v),t=Vie(e.h,n,i),o=!0,s="hsv"):Il(e.h)&&Il(e.s)&&Il(e.l)&&(n=w0(e.s),a=w0(e.l),t=Nie(e.h,n,a),o=!0,s="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(r=e.a)),r=E$(r),{ok:o,format:e.format||s,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:r}}var Gie="[-\\+]?\\d+%?",Wie="[-\\+]?\\d*\\.\\d+%?",Uu="(?:".concat(Wie,")|(?:").concat(Gie,")"),g2="[\\s|\\(]+(".concat(Uu,")[,|\\s]+(").concat(Uu,")[,|\\s]+(").concat(Uu,")\\s*\\)?"),y2="[\\s|\\(]+(".concat(Uu,")[,|\\s]+(").concat(Uu,")[,|\\s]+(").concat(Uu,")[,|\\s]+(").concat(Uu,")\\s*\\)?"),es={CSS_UNIT:new RegExp(Uu),rgb:new RegExp("rgb"+g2),rgba:new RegExp("rgba"+y2),hsl:new RegExp("hsl"+g2),hsla:new RegExp("hsla"+y2),hsv:new RegExp("hsv"+g2),hsva:new RegExp("hsva"+y2),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function qie(e){if(e=e.trim().toLowerCase(),e.length===0)return!1;var t=!1;if(sP[e])e=sP[e],t=!0;else if(e==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var r=es.rgb.exec(e);return r?{r:r[1],g:r[2],b:r[3]}:(r=es.rgba.exec(e),r?{r:r[1],g:r[2],b:r[3],a:r[4]}:(r=es.hsl.exec(e),r?{h:r[1],s:r[2],l:r[3]}:(r=es.hsla.exec(e),r?{h:r[1],s:r[2],l:r[3],a:r[4]}:(r=es.hsv.exec(e),r?{h:r[1],s:r[2],v:r[3]}:(r=es.hsva.exec(e),r?{h:r[1],s:r[2],v:r[3],a:r[4]}:(r=es.hex8.exec(e),r?{r:Ja(r[1]),g:Ja(r[2]),b:Ja(r[3]),a:BR(r[4]),format:t?"name":"hex8"}:(r=es.hex6.exec(e),r?{r:Ja(r[1]),g:Ja(r[2]),b:Ja(r[3]),format:t?"name":"hex"}:(r=es.hex4.exec(e),r?{r:Ja(r[1]+r[1]),g:Ja(r[2]+r[2]),b:Ja(r[3]+r[3]),a:BR(r[4]+r[4]),format:t?"name":"hex8"}:(r=es.hex3.exec(e),r?{r:Ja(r[1]+r[1]),g:Ja(r[2]+r[2]),b:Ja(r[3]+r[3]),format:t?"name":"hex"}:!1)))))))))}function Il(e){return!!es.CSS_UNIT.exec(String(e))}var zi=function(){function e(t,r){t===void 0&&(t=""),r===void 0&&(r={});var n;if(t instanceof e)return t;typeof t=="number"&&(t=Uie(t)),this.originalInput=t;var i=Dd(t);this.originalInput=t,this.r=i.r,this.g=i.g,this.b=i.b,this.a=i.a,this.roundA=Math.round(100*this.a)/100,this.format=(n=r.format)!==null&&n!==void 0?n:i.format,this.gradientType=r.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=i.ok}return e.prototype.isDark=function(){return this.getBrightness()<128},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var t=this.toRgb();return(t.r*299+t.g*587+t.b*114)/1e3},e.prototype.getLuminance=function(){var t=this.toRgb(),r,n,i,a=t.r/255,o=t.g/255,s=t.b/255;return a<=.03928?r=a/12.92:r=Math.pow((a+.055)/1.055,2.4),o<=.03928?n=o/12.92:n=Math.pow((o+.055)/1.055,2.4),s<=.03928?i=s/12.92:i=Math.pow((s+.055)/1.055,2.4),.2126*r+.7152*n+.0722*i},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(t){return this.a=E$(t),this.roundA=Math.round(100*this.a)/100,this},e.prototype.isMonochrome=function(){var t=this.toHsl().s;return t===0},e.prototype.toHsv=function(){var t=aP(this.r,this.g,this.b);return{h:t.h*360,s:t.s,v:t.v,a:this.a}},e.prototype.toHsvString=function(){var t=aP(this.r,this.g,this.b),r=Math.round(t.h*360),n=Math.round(t.s*100),i=Math.round(t.v*100);return this.a===1?"hsv(".concat(r,", ").concat(n,"%, ").concat(i,"%)"):"hsva(".concat(r,", ").concat(n,"%, ").concat(i,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var t=zR(this.r,this.g,this.b);return{h:t.h*360,s:t.s,l:t.l,a:this.a}},e.prototype.toHslString=function(){var t=zR(this.r,this.g,this.b),r=Math.round(t.h*360),n=Math.round(t.s*100),i=Math.round(t.l*100);return this.a===1?"hsl(".concat(r,", ").concat(n,"%, ").concat(i,"%)"):"hsla(".concat(r,", ").concat(n,"%, ").concat(i,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(t){return t===void 0&&(t=!1),oP(this.r,this.g,this.b,t)},e.prototype.toHexString=function(t){return t===void 0&&(t=!1),"#"+this.toHex(t)},e.prototype.toHex8=function(t){return t===void 0&&(t=!1),jie(this.r,this.g,this.b,this.a,t)},e.prototype.toHex8String=function(t){return t===void 0&&(t=!1),"#"+this.toHex8(t)},e.prototype.toHexShortString=function(t){return t===void 0&&(t=!1),this.a===1?this.toHexString(t):this.toHex8String(t)},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 t=Math.round(this.r),r=Math.round(this.g),n=Math.round(this.b);return this.a===1?"rgb(".concat(t,", ").concat(r,", ").concat(n,")"):"rgba(".concat(t,", ").concat(r,", ").concat(n,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var t=function(r){return"".concat(Math.round($i(r,255)*100),"%")};return{r:t(this.r),g:t(this.g),b:t(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var t=function(r){return Math.round($i(r,255)*100)};return this.a===1?"rgb(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%)"):"rgba(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%, ").concat(this.roundA,")")},e.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;for(var t="#"+oP(this.r,this.g,this.b,!1),r=0,n=Object.entries(sP);r=0,a=!r&&i&&(t.startsWith("hex")||t==="name");return a?t==="name"&&this.a===0?this.toName():this.toRgbString():(t==="rgb"&&(n=this.toRgbString()),t==="prgb"&&(n=this.toPercentageRgbString()),(t==="hex"||t==="hex6")&&(n=this.toHexString()),t==="hex3"&&(n=this.toHexString(!0)),t==="hex4"&&(n=this.toHex8String(!0)),t==="hex8"&&(n=this.toHex8String()),t==="name"&&(n=this.toName()),t==="hsl"&&(n=this.toHslString()),t==="hsv"&&(n=this.toHsvString()),n||this.toHexString())},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){t===void 0&&(t=10);var r=this.toHsl();return r.l+=t/100,r.l=x0(r.l),new e(r)},e.prototype.brighten=function(t){t===void 0&&(t=10);var r=this.toRgb();return r.r=Math.max(0,Math.min(255,r.r-Math.round(255*-(t/100)))),r.g=Math.max(0,Math.min(255,r.g-Math.round(255*-(t/100)))),r.b=Math.max(0,Math.min(255,r.b-Math.round(255*-(t/100)))),new e(r)},e.prototype.darken=function(t){t===void 0&&(t=10);var r=this.toHsl();return r.l-=t/100,r.l=x0(r.l),new e(r)},e.prototype.tint=function(t){return t===void 0&&(t=10),this.mix("white",t)},e.prototype.shade=function(t){return t===void 0&&(t=10),this.mix("black",t)},e.prototype.desaturate=function(t){t===void 0&&(t=10);var r=this.toHsl();return r.s-=t/100,r.s=x0(r.s),new e(r)},e.prototype.saturate=function(t){t===void 0&&(t=10);var r=this.toHsl();return r.s+=t/100,r.s=x0(r.s),new e(r)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var r=this.toHsl(),n=(r.h+t)%360;return r.h=n<0?360+n:n,new e(r)},e.prototype.mix=function(t,r){r===void 0&&(r=50);var n=this.toRgb(),i=new e(t).toRgb(),a=r/100,o={r:(i.r-n.r)*a+n.r,g:(i.g-n.g)*a+n.g,b:(i.b-n.b)*a+n.b,a:(i.a-n.a)*a+n.a};return new e(o)},e.prototype.analogous=function(t,r){t===void 0&&(t=6),r===void 0&&(r=30);var n=this.toHsl(),i=360/r,a=[this];for(n.h=(n.h-(i*t>>1)+720)%360;--t;)n.h=(n.h+i)%360,a.push(new e(n));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){t===void 0&&(t=6);for(var r=this.toHsv(),n=r.h,i=r.s,a=r.v,o=[],s=1/t;t--;)o.push(new e({h:n,s:i,v:a})),a=(a+s)%1;return o},e.prototype.splitcomplement=function(){var t=this.toHsl(),r=t.h;return[this,new e({h:(r+72)%360,s:t.s,l:t.l}),new e({h:(r+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var r=this.toRgb(),n=new e(t).toRgb(),i=r.a+n.a*(1-r.a);return new e({r:(r.r*r.a+n.r*n.a*(1-r.a))/i,g:(r.g*r.a+n.g*n.a*(1-r.a))/i,b:(r.b*r.a+n.b*n.a*(1-r.a))/i,a:i})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var r=this.toHsl(),n=r.h,i=[this],a=360/t,o=1;o=60&&Math.round(e.h)<=240?n=r?Math.round(e.h)-S0*t:Math.round(e.h)+S0*t:n=r?Math.round(e.h)+S0*t:Math.round(e.h)-S0*t,n<0?n+=360:n>=360&&(n-=360),n}function VR(e,t,r){if(e.h===0&&e.s===0)return e.s;var n;return r?n=e.s-FR*t:t===D$?n=e.s+FR:n=e.s+Zie*t,n>1&&(n=1),r&&t===M$&&n>.1&&(n=.1),n<.06&&(n=.06),Number(n.toFixed(2))}function jR(e,t,r){var n;return r?n=e.v+Xie*t:n=e.v-Kie*t,n>1&&(n=1),Number(n.toFixed(2))}function rf(e){for(var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=[],n=Dd(e),i=M$;i>0;i-=1){var a=$R(n),o=T0(Dd({h:NR(a,i,!0),s:VR(a,i,!0),v:jR(a,i,!0)}));r.push(o)}r.push(T0(n));for(var s=1;s<=D$;s+=1){var c=$R(n),d=T0(Dd({h:NR(c,s),s:VR(c,s),v:jR(c,s)}));r.push(d)}return t.theme==="dark"?Yie.map(function(m){var v=m.index,y=m.opacity,_=T0(Jie(Dd(t.backgroundColor||"#141414"),Dd(r[v]),y*100));return _}):r}var _2={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1890FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},L1={},b2={};Object.keys(_2).forEach(function(e){L1[e]=rf(_2[e]),L1[e].primary=L1[e][5],b2[e]=rf(_2[e],{theme:"dark",backgroundColor:"#141414"}),b2[e].primary=b2[e][5]});var Qie=L1.blue;const eae=e=>{const{controlHeight:t}=e;return{controlHeightSM:t*.75,controlHeightXS:t*.5,controlHeightLG:t*1.25}};function tae(e){const{sizeUnit:t,sizeStep:r}=e;return{sizeXXL:t*(r+8),sizeXL:t*(r+4),sizeLG:t*(r+2),sizeMD:t*(r+1),sizeMS:t*r,size:t*r,sizeSM:t*(r-1),sizeXS:t*(r-2),sizeXXS:t*(r-3)}}const L$={blue:"#1677ff",purple:"#722ED1",cyan:"#13C2C2",green:"#52C41A",magenta:"#EB2F96",pink:"#eb2f96",red:"#F5222D",orange:"#FA8C16",yellow:"#FADB14",volcano:"#FA541C",geekblue:"#2F54EB",gold:"#FAAD14",lime:"#A0D911"},Wx=Be(Be({},L$),{colorPrimary:"#1677ff",colorSuccess:"#52c41a",colorWarning:"#faad14",colorError:"#ff4d4f",colorInfo:"#1677ff",colorTextBase:"",colorBgBase:"",fontFamily:`-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, +'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', +'Noto Color Emoji'`,fontSize:14,lineWidth:1,lineType:"solid",motionUnit:.1,motionBase:0,motionEaseOutCirc:"cubic-bezier(0.08, 0.82, 0.17, 1)",motionEaseInOutCirc:"cubic-bezier(0.78, 0.14, 0.15, 0.86)",motionEaseOut:"cubic-bezier(0.215, 0.61, 0.355, 1)",motionEaseInOut:"cubic-bezier(0.645, 0.045, 0.355, 1)",motionEaseOutBack:"cubic-bezier(0.12, 0.4, 0.29, 1.46)",motionEaseInBack:"cubic-bezier(0.71, -0.46, 0.88, 0.6)",motionEaseInQuint:"cubic-bezier(0.755, 0.05, 0.855, 0.06)",motionEaseOutQuint:"cubic-bezier(0.23, 1, 0.32, 1)",borderRadius:6,sizeUnit:4,sizeStep:4,sizePopupArrow:16,controlHeight:32,zIndexBase:0,zIndexPopupBase:1e3,opacityImage:1,wireframe:!1});function rae(e,t){let{generateColorPalettes:r,generateNeutralColorPalettes:n}=t;const{colorSuccess:i,colorWarning:a,colorError:o,colorInfo:s,colorPrimary:c,colorBgBase:d,colorTextBase:m}=e,v=r(c),y=r(i),_=r(a),S=r(o),I=r(s),E=n(d,m);return Be(Be({},E),{colorPrimaryBg:v[1],colorPrimaryBgHover:v[2],colorPrimaryBorder:v[3],colorPrimaryBorderHover:v[4],colorPrimaryHover:v[5],colorPrimary:v[6],colorPrimaryActive:v[7],colorPrimaryTextHover:v[8],colorPrimaryText:v[9],colorPrimaryTextActive:v[10],colorSuccessBg:y[1],colorSuccessBgHover:y[2],colorSuccessBorder:y[3],colorSuccessBorderHover:y[4],colorSuccessHover:y[4],colorSuccess:y[6],colorSuccessActive:y[7],colorSuccessTextHover:y[8],colorSuccessText:y[9],colorSuccessTextActive:y[10],colorErrorBg:S[1],colorErrorBgHover:S[2],colorErrorBorder:S[3],colorErrorBorderHover:S[4],colorErrorHover:S[5],colorError:S[6],colorErrorActive:S[7],colorErrorTextHover:S[8],colorErrorText:S[9],colorErrorTextActive:S[10],colorWarningBg:_[1],colorWarningBgHover:_[2],colorWarningBorder:_[3],colorWarningBorderHover:_[4],colorWarningHover:_[4],colorWarning:_[6],colorWarningActive:_[7],colorWarningTextHover:_[8],colorWarningText:_[9],colorWarningTextActive:_[10],colorInfoBg:I[1],colorInfoBgHover:I[2],colorInfoBorder:I[3],colorInfoBorderHover:I[4],colorInfoHover:I[4],colorInfo:I[6],colorInfoActive:I[7],colorInfoTextHover:I[8],colorInfoText:I[9],colorInfoTextActive:I[10],colorBgMask:new zi("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"})}const nae=e=>{let t=e,r=e,n=e,i=e;return e<6&&e>=5?t=e+1:e<16&&e>=6?t=e+2:e>=16&&(t=16),e<7&&e>=5?r=4:e<8&&e>=7?r=5:e<14&&e>=8?r=6:e<16&&e>=14?r=7:e>=16&&(r=8),e<6&&e>=2?n=1:e>=6&&(n=2),e>4&&e<8?i=4:e>=8&&(i=6),{borderRadius:e>16?16:e,borderRadiusXS:n,borderRadiusSM:r,borderRadiusLG:t,borderRadiusOuter:i}};function iae(e){const{motionUnit:t,motionBase:r,borderRadius:n,lineWidth:i}=e;return Be({motionDurationFast:`${(r+t).toFixed(1)}s`,motionDurationMid:`${(r+t*2).toFixed(1)}s`,motionDurationSlow:`${(r+t*3).toFixed(1)}s`,lineWidthBold:i+1},nae(n))}const El=(e,t)=>new zi(e).setAlpha(t).toRgbString(),Tv=(e,t)=>new zi(e).darken(t).toHexString(),aae=e=>{const t=rf(e);return{1:t[0],2:t[1],3:t[2],4:t[3],5:t[4],6:t[5],7:t[6],8:t[4],9:t[5],10:t[6]}},oae=(e,t)=>{const r=e||"#fff",n=t||"#000";return{colorBgBase:r,colorTextBase:n,colorText:El(n,.88),colorTextSecondary:El(n,.65),colorTextTertiary:El(n,.45),colorTextQuaternary:El(n,.25),colorFill:El(n,.15),colorFillSecondary:El(n,.06),colorFillTertiary:El(n,.04),colorFillQuaternary:El(n,.02),colorBgLayout:Tv(r,4),colorBgContainer:Tv(r,0),colorBgElevated:Tv(r,0),colorBgSpotlight:El(n,.85),colorBorder:Tv(r,15),colorBorderSecondary:Tv(r,6)}};function sae(e){const t=new Array(10).fill(null).map((r,n)=>{const i=n-1,a=e*Math.pow(2.71828,i/5),o=n>1?Math.floor(a):Math.ceil(a);return Math.floor(o/2)*2});return t[1]=e,t.map(r=>{const n=r+8;return{size:r,lineHeight:n/r}})}const lae=e=>{const t=sae(e),r=t.map(i=>i.size),n=t.map(i=>i.lineHeight);return{fontSizeSM:r[0],fontSize:r[1],fontSizeLG:r[2],fontSizeXL:r[3],fontSizeHeading1:r[6],fontSizeHeading2:r[5],fontSizeHeading3:r[4],fontSizeHeading4:r[3],fontSizeHeading5:r[2],lineHeight:n[1],lineHeightLG:n[2],lineHeightSM:n[0],lineHeightHeading1:n[6],lineHeightHeading2:n[5],lineHeightHeading3:n[4],lineHeightHeading4:n[3],lineHeightHeading5:n[2]}};function uae(e){const t=Object.keys(L$).map(r=>{const n=rf(e[r]);return new Array(10).fill(1).reduce((i,a,o)=>(i[`${r}-${o+1}`]=n[o],i),{})}).reduce((r,n)=>(r=Be(Be({},r),n),r),{});return Be(Be(Be(Be(Be(Be(Be({},e),t),rae(e,{generateColorPalettes:aae,generateNeutralColorPalettes:oae})),lae(e.fontSize)),tae(e)),eae(e)),iae(e))}function x2(e){return e>=0&&e<=255}function C0(e,t){const{r,g:n,b:i,a}=new zi(e).toRgb();if(a<1)return e;const{r:o,g:s,b:c}=new zi(t).toRgb();for(let d=.01;d<=1;d+=.01){const m=Math.round((r-o*(1-d))/d),v=Math.round((n-s*(1-d))/d),y=Math.round((i-c*(1-d))/d);if(x2(m)&&x2(v)&&x2(y))return new zi({r:m,g:v,b:y,a:Math.round(d*100)/100}).toRgbString()}return new zi({r,g:n,b:i,a:1}).toRgbString()}var cae=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(e);i{delete n[_]});const i=Be(Be({},r),n),a=480,o=576,s=768,c=992,d=1200,m=1600,v=2e3;return Be(Be(Be({},i),{colorLink:i.colorInfoText,colorLinkHover:i.colorInfoHover,colorLinkActive:i.colorInfoActive,colorFillContent:i.colorFillSecondary,colorFillContentHover:i.colorFill,colorFillAlter:i.colorFillQuaternary,colorBgContainerDisabled:i.colorFillTertiary,colorBorderBg:i.colorBgContainer,colorSplit:C0(i.colorBorderSecondary,i.colorBgContainer),colorTextPlaceholder:i.colorTextQuaternary,colorTextDisabled:i.colorTextQuaternary,colorTextHeading:i.colorText,colorTextLabel:i.colorTextSecondary,colorTextDescription:i.colorTextTertiary,colorTextLightSolid:i.colorWhite,colorHighlight:i.colorError,colorBgTextHover:i.colorFillSecondary,colorBgTextActive:i.colorFill,colorIcon:i.colorTextTertiary,colorIconHover:i.colorText,colorErrorOutline:C0(i.colorErrorBg,i.colorBgContainer),colorWarningOutline:C0(i.colorWarningBg,i.colorBgContainer),fontSizeIcon:i.fontSizeSM,lineWidth:i.lineWidth,controlOutlineWidth:i.lineWidth*2,controlInteractiveSize:i.controlHeight/2,controlItemBgHover:i.colorFillTertiary,controlItemBgActive:i.colorPrimaryBg,controlItemBgActiveHover:i.colorPrimaryBgHover,controlItemBgActiveDisabled:i.colorFill,controlTmpOutline:i.colorFillQuaternary,controlOutline:C0(i.colorPrimaryBg,i.colorBgContainer),lineType:i.lineType,borderRadius:i.borderRadius,borderRadiusXS:i.borderRadiusXS,borderRadiusSM:i.borderRadiusSM,borderRadiusLG:i.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:i.sizeXXS,paddingXS:i.sizeXS,paddingSM:i.sizeSM,padding:i.size,paddingMD:i.sizeMD,paddingLG:i.sizeLG,paddingXL:i.sizeXL,paddingContentHorizontalLG:i.sizeLG,paddingContentVerticalLG:i.sizeMS,paddingContentHorizontal:i.sizeMS,paddingContentVertical:i.sizeSM,paddingContentHorizontalSM:i.size,paddingContentVerticalSM:i.sizeXS,marginXXS:i.sizeXXS,marginXS:i.sizeXS,marginSM:i.sizeSM,margin:i.size,marginMD:i.sizeMD,marginLG:i.sizeLG,marginXL:i.sizeXL,marginXXL:i.sizeXXL,boxShadow:` + 0 1px 2px 0 rgba(0, 0, 0, 0.03), + 0 1px 6px -1px rgba(0, 0, 0, 0.02), + 0 2px 4px 0 rgba(0, 0, 0, 0.02) + `,boxShadowSecondary:` + 0 6px 16px 0 rgba(0, 0, 0, 0.08), + 0 3px 6px -4px rgba(0, 0, 0, 0.12), + 0 9px 28px 8px rgba(0, 0, 0, 0.05) + `,boxShadowTertiary:` + 0 1px 2px 0 rgba(0, 0, 0, 0.03), + 0 1px 6px -1px rgba(0, 0, 0, 0.02), + 0 2px 4px 0 rgba(0, 0, 0, 0.02) + `,screenXS:a,screenXSMin:a,screenXSMax:o-1,screenSM:o,screenSMMin:o,screenSMMax:s-1,screenMD:s,screenMDMin:s,screenMDMax:c-1,screenLG:c,screenLGMin:c,screenLGMax:d-1,screenXL:d,screenXLMin:d,screenXLMax:m-1,screenXXL:m,screenXXLMin:m,screenXXLMax:v-1,screenXXXL:v,screenXXXLMin:v,boxShadowPopoverArrow:"3px 3px 7px rgba(0, 0, 0, 0.1)",boxShadowCard:` + 0 1px 2px -2px ${new zi("rgba(0, 0, 0, 0.16)").toRgbString()}, + 0 3px 6px 0 ${new zi("rgba(0, 0, 0, 0.12)").toRgbString()}, + 0 5px 12px 4px ${new zi("rgba(0, 0, 0, 0.09)").toRgbString()} + `,boxShadowDrawerRight:` + -6px 0 16px 0 rgba(0, 0, 0, 0.08), + -3px 0 6px -4px rgba(0, 0, 0, 0.12), + -9px 0 28px 8px rgba(0, 0, 0, 0.05) + `,boxShadowDrawerLeft:` + 6px 0 16px 0 rgba(0, 0, 0, 0.08), + 3px 0 6px -4px rgba(0, 0, 0, 0.12), + 9px 0 28px 8px rgba(0, 0, 0, 0.05) + `,boxShadowDrawerUp:` + 0 6px 16px 0 rgba(0, 0, 0, 0.08), + 0 3px 6px -4px rgba(0, 0, 0, 0.12), + 0 9px 28px 8px rgba(0, 0, 0, 0.05) + `,boxShadowDrawerDown:` + 0 -6px 16px 0 rgba(0, 0, 0, 0.08), + 0 -3px 6px -4px rgba(0, 0, 0, 0.12), + 0 -9px 28px 8px rgba(0, 0, 0, 0.05) + `,boxShadowTabsOverflowLeft:"inset 10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowRight:"inset -10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowTop:"inset 0 10px 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowBottom:"inset 0 -10px 8px -8px rgba(0, 0, 0, 0.08)"}),n)}const fae={overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},KI=e=>({boxSizing:"border-box",margin:0,padding:0,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight,listStyle:"none",fontFamily:e.fontFamily}),dae=()=>({display:"inline-flex",alignItems:"center",color:"inherit",fontStyle:"normal",lineHeight:0,textAlign:"center",textTransform:"none",verticalAlign:"-0.125em",textRendering:"optimizeLegibility","-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale","> *":{lineHeight:1},svg:{display:"inline-block"}}),pae=e=>({a:{color:e.colorLink,textDecoration:e.linkDecoration,backgroundColor:"transparent",outline:"none",cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"-webkit-text-decoration-skip":"objects","&:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive},"&:active,\n &:hover":{textDecoration:e.linkHoverDecoration,outline:0},"&:focus":{textDecoration:e.linkFocusDecoration,outline:0},"&[disabled]":{color:e.colorTextDisabled,cursor:"not-allowed"}}}),mae=(e,t)=>{const{fontFamily:r,fontSize:n}=e,i=`[class^="${t}"], [class*=" ${t}"]`;return{[i]:{fontFamily:r,fontSize:n,boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"},[i]:{boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}}}}},vae=e=>({outline:`${e.lineWidthBold}px solid ${e.colorPrimaryBorder}`,outlineOffset:1,transition:"outline-offset 0s, outline 0s"}),gae=e=>({"&:focus-visible":Be({},vae(e))});function hf(e,t,r){return n=>{const i=Le(()=>n==null?void 0:n.value),[a,o,s]=$y(),{getPrefixCls:c,iconPrefixCls:d}=i$(),m=Le(()=>c()),v=Le(()=>({theme:a.value,token:o.value,hashId:s.value,path:["Shared",m.value]}));iP(v,()=>[{"&":pae(o.value)}]);const y=Le(()=>({theme:a.value,token:o.value,hashId:s.value,path:[e,i.value,d.value]}));return[iP(y,()=>{const{token:_,flush:S}=_ae(o.value),I=typeof r=="function"?r(_):r,E=Be(Be({},I),o.value[e]),M=`.${i.value}`,L=pc(_,{componentCls:M,prefixCls:i.value,iconCls:`.${d.value}`,antCls:`.${m.value}`},E),R=t(L,{hashId:s.value,prefixCls:i.value,rootPrefixCls:m.value,iconPrefixCls:d.value,overrideComponentToken:o.value[e]});return S(e,E),[mae(o.value,i.value),R]}),s]}}const k$=typeof CSSINJS_STATISTIC<"u";let lP=!0;function pc(){for(var e=arguments.length,t=new Array(e),r=0;r{Object.keys(i).forEach(o=>{Object.defineProperty(n,o,{configurable:!0,enumerable:!0,get:()=>i[o]})})}),lP=!0,n}function yae(){}function _ae(e){let t,r=e,n=yae;return k$&&(t=new Set,r=new Proxy(e,{get(i,a){return lP&&t.add(a),i[a]}}),n=(i,a)=>{Array.from(t)}),{token:r,keys:t,flush:n}}const bae=_$(uae),R$={token:Wx,hashed:!0},O$=Symbol("DesignTokenContext"),uP=on(),xae=e=>{Fi(O$,e),$r(e,()=>{uP.value=ka(e),hq(uP)},{immediate:!0,deep:!0})},wae=Zt({props:{value:Ea()},setup(e,t){let{slots:r}=t;return xae(Le(()=>e.value)),()=>{var n;return(n=r.default)===null||n===void 0?void 0:n.call(r)}}});function $y(){const e=en(O$,Le(()=>uP.value||R$)),t=Le(()=>`${zie}-${e.value.hashed||""}`),r=Le(()=>e.value.theme||bae),n=cie(r,Le(()=>[Wx,e.value.token]),Le(()=>({salt:t.value,override:Be({override:e.value.token},e.value.components),formatToken:hae})));return[r,Le(()=>n.value[0]),Le(()=>e.value.hashed?n.value[1]:"")]}const z$=Zt({compatConfig:{MODE:3},setup(){const[,e]=$y(),t=Le(()=>new zi(e.value.colorBgBase).toHsl().l<.5?{opacity:.65}:{});return()=>ke("svg",{style:t.value,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},[ke("g",{fill:"none","fill-rule":"evenodd"},[ke("g",{transform:"translate(24 31.67)"},[ke("ellipse",{"fill-opacity":".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"},null),ke("path",{d:"M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z",fill:"#AEB8C2"},null),ke("path",{d:"M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z",fill:"url(#linearGradient-1)",transform:"translate(13.56)"},null),ke("path",{d:"M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z",fill:"#F5F5F7"},null),ke("path",{d:"M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z",fill:"#DCE0E6"},null)]),ke("path",{d:"M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z",fill:"#DCE0E6"},null),ke("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},[ke("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"},null),ke("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"},null)])])])}});z$.PRESENTED_IMAGE_DEFAULT=!0;const B$=Zt({compatConfig:{MODE:3},setup(){const[,e]=$y(),t=Le(()=>{const{colorFill:r,colorFillTertiary:n,colorFillQuaternary:i,colorBgContainer:a}=e.value;return{borderColor:new zi(r).onBackground(a).toHexString(),shadowColor:new zi(n).onBackground(a).toHexString(),contentColor:new zi(i).onBackground(a).toHexString()}});return()=>ke("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},[ke("g",{transform:"translate(0 1)",fill:"none","fill-rule":"evenodd"},[ke("ellipse",{fill:t.value.shadowColor,cx:"32",cy:"33",rx:"32",ry:"7"},null),ke("g",{"fill-rule":"nonzero",stroke:t.value.borderColor},[ke("path",{d:"M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"},null),ke("path",{d:"M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",fill:t.value.contentColor},null)])])])}});B$.PRESENTED_IMAGE_SIMPLE=!0;const Sae=e=>{const{componentCls:t,margin:r,marginXS:n,marginXL:i,fontSize:a,lineHeight:o}=e;return{[t]:{marginInline:n,fontSize:a,lineHeight:o,textAlign:"center",[`${t}-image`]:{height:e.emptyImgHeight,marginBottom:n,opacity:e.opacityImage,img:{height:"100%"},svg:{height:"100%",margin:"auto"}},[`${t}-footer`]:{marginTop:r},"&-normal":{marginBlock:i,color:e.colorTextDisabled,[`${t}-image`]:{height:e.emptyImgHeightMD}},"&-small":{marginBlock:n,color:e.colorTextDisabled,[`${t}-image`]:{height:e.emptyImgHeightSM}}}}},Tae=hf("Empty",e=>{const{componentCls:t,controlHeightLG:r}=e,n=pc(e,{emptyImgCls:`${t}-img`,emptyImgHeight:r*2.5,emptyImgHeightMD:r,emptyImgHeightSM:r*.875});return[Sae(n)]});var Cae=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(e);i({prefixCls:String,imageStyle:Ea(),image:is(),description:is()}),YI=Zt({name:"AEmpty",compatConfig:{MODE:3},inheritAttrs:!1,props:Pae(),setup(e,t){let{slots:r={},attrs:n}=t;const{direction:i,prefixCls:a}=Kl("empty",e),[o,s]=Tae(a);return()=>{var c,d;const m=a.value,v=Be(Be({},e),n),{image:y=((c=r.image)===null||c===void 0?void 0:c.call(r))||F$,description:_=((d=r.description)===null||d===void 0?void 0:d.call(r))||void 0,imageStyle:S,class:I=""}=v,E=Cae(v,["image","description","imageStyle","class"]);return o(ke(s$,{componentName:"Empty",children:M=>{const L=typeof _<"u"?_:M.description,R=typeof L=="string"?L:"empty";let $=null;return typeof y=="string"?$=ke("img",{alt:R,src:y},null):$=y,ke("div",Sn({class:hi(m,I,s.value,{[`${m}-normal`]:y===$$,[`${m}-rtl`]:i.value==="rtl"})},E),[ke("div",{class:`${m}-image`,style:S},[$]),L&&ke("p",{class:`${m}-description`},[L]),r.default&&ke("div",{class:`${m}-footer`},[J9(r.default())])])}},null))}}});YI.PRESENTED_IMAGE_DEFAULT=F$;YI.PRESENTED_IMAGE_SIMPLE=$$;const Cv=Vx(YI),N$=e=>{const{prefixCls:t}=Kl("empty",e);return(n=>{switch(n){case"Table":case"List":return ke(Cv,{image:Cv.PRESENTED_IMAGE_SIMPLE},null);case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return ke(Cv,{image:Cv.PRESENTED_IMAGE_SIMPLE,class:`${t.value}-small`},null);default:return ke(Cv,null,null)}})(e.componentName)};function Aae(e){return ke(N$,{componentName:e},null)}const V$=Symbol("SizeContextKey"),j$=()=>en(V$,Qt(void 0)),Iae=e=>{const t=j$();return Fi(V$,Le(()=>e.value||t.value)),e},Kl=(e,t)=>{const r=j$(),n=WI(),i=en(GI,Be(Be({},n$),{renderEmpty:H=>xr(N$,{componentName:H})})),a=Le(()=>i.getPrefixCls(e,t.prefixCls)),o=Le(()=>{var H,Z;return(H=t.direction)!==null&&H!==void 0?H:(Z=i.direction)===null||Z===void 0?void 0:Z.value}),s=Le(()=>{var H;return(H=t.iconPrefixCls)!==null&&H!==void 0?H:i.iconPrefixCls.value}),c=Le(()=>i.getPrefixCls()),d=Le(()=>{var H;return(H=i.autoInsertSpaceInButton)===null||H===void 0?void 0:H.value}),m=i.renderEmpty,v=i.space,y=i.pageHeader,_=i.form,S=Le(()=>{var H,Z;return(H=t.getTargetContainer)!==null&&H!==void 0?H:(Z=i.getTargetContainer)===null||Z===void 0?void 0:Z.value}),I=Le(()=>{var H,Z,Q;return(Z=(H=t.getContainer)!==null&&H!==void 0?H:t.getPopupContainer)!==null&&Z!==void 0?Z:(Q=i.getPopupContainer)===null||Q===void 0?void 0:Q.value}),E=Le(()=>{var H,Z;return(H=t.dropdownMatchSelectWidth)!==null&&H!==void 0?H:(Z=i.dropdownMatchSelectWidth)===null||Z===void 0?void 0:Z.value}),M=Le(()=>{var H;return(t.virtual===void 0?((H=i.virtual)===null||H===void 0?void 0:H.value)!==!1:t.virtual!==!1)&&E.value!==!1}),L=Le(()=>t.size||r.value),R=Le(()=>{var H,Z,Q;return(H=t.autocomplete)!==null&&H!==void 0?H:(Q=(Z=i.input)===null||Z===void 0?void 0:Z.value)===null||Q===void 0?void 0:Q.autocomplete}),$=Le(()=>{var H;return(H=t.disabled)!==null&&H!==void 0?H:n.value}),G=Le(()=>{var H;return(H=t.csp)!==null&&H!==void 0?H:i.csp}),j=Le(()=>{var H,Z;return(H=t.wave)!==null&&H!==void 0?H:(Z=i.wave)===null||Z===void 0?void 0:Z.value});return{configProvider:i,prefixCls:a,direction:o,size:L,getTargetContainer:S,getPopupContainer:I,space:v,pageHeader:y,form:_,autoInsertSpaceInButton:d,renderEmpty:m,virtual:M,dropdownMatchSelectWidth:E,rootPrefixCls:c,getPrefixCls:i.getPrefixCls,autocomplete:R,csp:G,iconPrefixCls:s,disabled:$,select:i.select,wave:j}};function Eae(e,t){for(var r=0;r=0||(i[r]=e[r]);return i}function HR(e){return((t=e)!=null&&typeof t=="object"&&Array.isArray(t)===!1)==1&&Object.prototype.toString.call(e)==="[object Object]";var t}var W$=Object.prototype,q$=W$.toString,Mae=W$.hasOwnProperty,Z$=/^\s*function (\w+)/;function UR(e){var t,r=(t=e==null?void 0:e.type)!==null&&t!==void 0?t:e;if(r){var n=r.toString().match(Z$);return n?n[1]:""}return""}var nf=function(e){var t,r;return HR(e)!==!1&&typeof(t=e.constructor)=="function"&&HR(r=t.prototype)!==!1&&r.hasOwnProperty("isPrototypeOf")!==!1},Dae=function(e){return e},ga=Dae,iy=function(e,t){return Mae.call(e,t)},Lae=Number.isInteger||function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e},bp=Array.isArray||function(e){return q$.call(e)==="[object Array]"},xp=function(e){return q$.call(e)==="[object Function]"},Sb=function(e){return nf(e)&&iy(e,"_vueTypes_name")},X$=function(e){return nf(e)&&(iy(e,"type")||["_vueTypes_name","validator","default","required"].some(function(t){return iy(e,t)}))};function JI(e,t){return Object.defineProperty(e.bind(t),"__original",{value:e})}function ff(e,t,r){var n;r===void 0&&(r=!1);var i=!0,a="";n=nf(e)?e:{type:e};var o=Sb(n)?n._vueTypes_name+" - ":"";if(X$(n)&&n.type!==null){if(n.type===void 0||n.type===!0||!n.required&&t===void 0)return i;bp(n.type)?(i=n.type.some(function(v){return ff(v,t,!0)===!0}),a=n.type.map(function(v){return UR(v)}).join(" or ")):i=(a=UR(n))==="Array"?bp(t):a==="Object"?nf(t):a==="String"||a==="Number"||a==="Boolean"||a==="Function"?function(v){if(v==null)return"";var y=v.constructor.toString().match(Z$);return y?y[1]:""}(t)===a:t instanceof n.type}if(!i){var s=o+'value "'+t+'" should be of type "'+a+'"';return r===!1?(ga(s),!1):s}if(iy(n,"validator")&&xp(n.validator)){var c=ga,d=[];if(ga=function(v){d.push(v)},i=n.validator(t),ga=c,!i){var m=(d.length>1?"* ":"")+d.join(` +* `);return d.length=0,r===!1?(ga(m),i):m}}return i}function so(e,t){var r=Object.defineProperties(t,{_vueTypes_name:{value:e,writable:!0},isRequired:{get:function(){return this.required=!0,this}},def:{value:function(i){return i!==void 0||this.default?xp(i)||ff(this,i,!0)===!0?(this.default=bp(i)?function(){return[].concat(i)}:nf(i)?function(){return Object.assign({},i)}:i,this):(ga(this._vueTypes_name+' - invalid default value: "'+i+'"'),this):this}}}),n=r.validator;return xp(n)&&(r.validator=JI(n,r)),r}function Qs(e,t){var r=so(e,t);return Object.defineProperty(r,"validate",{value:function(n){return xp(this.validator)&&ga(this._vueTypes_name+` - calling .validate() will overwrite the current custom validator function. Validator info: +`+JSON.stringify(this)),this.validator=JI(n,this),this}})}function GR(e,t,r){var n,i,a=(n=t,i={},Object.getOwnPropertyNames(n).forEach(function(v){i[v]=Object.getOwnPropertyDescriptor(n,v)}),Object.defineProperties({},i));if(a._vueTypes_name=e,!nf(r))return a;var o,s,c=r.validator,d=G$(r,["validator"]);if(xp(c)){var m=a.validator;m&&(m=(s=(o=m).__original)!==null&&s!==void 0?s:o),a.validator=JI(m?function(v){return m.call(this,v)&&c.call(this,v)}:c,a)}return Object.assign(a,d)}function qx(e){return e.replace(/^(?!\s*$)/gm," ")}var kae=function(){return Qs("any",{})},Rae=function(){return Qs("function",{type:Function})},Oae=function(){return Qs("boolean",{type:Boolean})},zae=function(){return Qs("string",{type:String})},Bae=function(){return Qs("number",{type:Number})},Fae=function(){return Qs("array",{type:Array})},$ae=function(){return Qs("object",{type:Object})},Nae=function(){return so("integer",{type:Number,validator:function(e){return Lae(e)}})},Vae=function(){return so("symbol",{validator:function(e){return typeof e=="symbol"}})};function jae(e,t){if(t===void 0&&(t="custom validation failed"),typeof e!="function")throw new TypeError("[VueTypes error]: You must provide a function as argument");return so(e.name||"<>",{validator:function(r){var n=e(r);return n||ga(this._vueTypes_name+" - "+t),n}})}function Hae(e){if(!bp(e))throw new TypeError("[VueTypes error]: You must provide an array as argument.");var t='oneOf - value should be one of "'+e.join('", "')+'".',r=e.reduce(function(n,i){if(i!=null){var a=i.constructor;n.indexOf(a)===-1&&n.push(a)}return n},[]);return so("oneOf",{type:r.length>0?r:void 0,validator:function(n){var i=e.indexOf(n)!==-1;return i||ga(t),i}})}function Uae(e){if(!bp(e))throw new TypeError("[VueTypes error]: You must provide an array as argument");for(var t=!1,r=[],n=0;n0&&r.some(function(c){return o.indexOf(c)===-1})){var s=r.filter(function(c){return o.indexOf(c)===-1});return ga(s.length===1?'shape - required property "'+s[0]+'" is not defined.':'shape - required properties "'+s.join('", "')+'" are not defined.'),!1}return o.every(function(c){if(t.indexOf(c)===-1)return a._vueTypes_isLoose===!0||(ga('shape - shape definition does not include a "'+c+'" property. Allowed keys: "'+t.join('", "')+'".'),!1);var d=ff(e[c],i[c],!0);return typeof d=="string"&&ga('shape - "'+c+`" property validation error: + `+qx(d)),d===!0})}});return Object.defineProperty(n,"_vueTypes_isLoose",{writable:!0,value:!1}),Object.defineProperty(n,"loose",{get:function(){return this._vueTypes_isLoose=!0,this}}),n}var Bs=function(){function e(){}return e.extend=function(t){var r=this;if(bp(t))return t.forEach(function(v){return r.extend(v)}),this;var n=t.name,i=t.validate,a=i!==void 0&&i,o=t.getter,s=o!==void 0&&o,c=G$(t,["name","validate","getter"]);if(iy(this,n))throw new TypeError('[VueTypes error]: Type "'+n+'" already defined');var d,m=c.type;return Sb(m)?(delete c.type,Object.defineProperty(this,n,s?{get:function(){return GR(n,m,c)}}:{value:function(){var v,y=GR(n,m,c);return y.validator&&(y.validator=(v=y.validator).bind.apply(v,[y].concat([].slice.call(arguments)))),y}})):(d=s?{get:function(){var v=Object.assign({},c);return a?Qs(n,v):so(n,v)},enumerable:!0}:{value:function(){var v,y,_=Object.assign({},c);return v=a?Qs(n,_):so(n,_),_.validator&&(v.validator=(y=_.validator).bind.apply(y,[v].concat([].slice.call(arguments)))),v},enumerable:!0},Object.defineProperty(this,n,d))},H$(e,null,[{key:"any",get:function(){return kae()}},{key:"func",get:function(){return Rae().def(this.defaults.func)}},{key:"bool",get:function(){return Oae().def(this.defaults.bool)}},{key:"string",get:function(){return zae().def(this.defaults.string)}},{key:"number",get:function(){return Bae().def(this.defaults.number)}},{key:"array",get:function(){return Fae().def(this.defaults.array)}},{key:"object",get:function(){return $ae().def(this.defaults.object)}},{key:"integer",get:function(){return Nae().def(this.defaults.integer)}},{key:"symbol",get:function(){return Vae()}}]),e}();function K$(e){var t;return e===void 0&&(e={func:function(){},bool:!0,string:"",number:0,array:function(){return[]},object:function(){return{}},integer:0}),(t=function(r){function n(){return r.apply(this,arguments)||this}return U$(n,r),H$(n,null,[{key:"sensibleDefaults",get:function(){return k1({},this.defaults)},set:function(i){this.defaults=i!==!1?k1({},i!==!0?i:e):{}}}]),n}(Bs)).defaults=k1({},e),t}Bs.defaults={},Bs.custom=jae,Bs.oneOf=Hae,Bs.instanceOf=Wae,Bs.oneOfType=Uae,Bs.arrayOf=Gae,Bs.objectOf=qae,Bs.shape=Zae,Bs.utils={validate:function(e,t){return ff(t,e,!0)===!0},toType:function(e,t,r){return r===void 0&&(r=!1),r?Qs(e,t):so(e,t)}};(function(e){function t(){return e.apply(this,arguments)||this}return U$(t,e),t})(K$());const wp=K$({func:void 0,bool:void 0,string:void 0,number:void 0,array:void 0,object:void 0,integer:void 0});wp.extend([{name:"looseBool",getter:!0,type:Boolean,default:void 0},{name:"style",getter:!0,type:[String,Object],default:void 0},{name:"VueNode",getter:!0,type:null}]);const Y$=(e,t,r)=>{Yne(e,`[ant-design-vue: ${t}] ${r}`)};function Xae(e){let{prefixCls:t,animation:r,transitionName:n}=e;return r?{name:`${t}-${r}`}:n?{name:n}:{}}const Kae=e=>{if(!e)return!1;if(e.offsetParent)return!0;if(e.getBBox){const t=e.getBBox();if(t.width||t.height)return!0}if(e.getBoundingClientRect){const t=e.getBoundingClientRect();if(t.width||t.height)return!0}return!1};var J$=typeof global=="object"&&global&&global.Object===Object&&global,Yae=typeof self=="object"&&self&&self.Object===Object&&self,mc=J$||Yae||Function("return this")(),Tb=mc.Symbol,Q$=Object.prototype,Jae=Q$.hasOwnProperty,Qae=Q$.toString,Pv=Tb?Tb.toStringTag:void 0;function eoe(e){var t=Jae.call(e,Pv),r=e[Pv];try{e[Pv]=void 0;var n=!0}catch{}var i=Qae.call(e);return n&&(t?e[Pv]=r:delete e[Pv]),i}var toe=Object.prototype,roe=toe.toString;function noe(e){return roe.call(e)}var ioe="[object Null]",aoe="[object Undefined]",WR=Tb?Tb.toStringTag:void 0;function Ny(e){return e==null?e===void 0?aoe:ioe:WR&&WR in Object(e)?eoe(e):noe(e)}function e8(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var ooe="[object AsyncFunction]",soe="[object Function]",loe="[object GeneratorFunction]",uoe="[object Proxy]";function t8(e){if(!e8(e))return!1;var t=Ny(e);return t==soe||t==loe||t==ooe||t==uoe}var w2=mc["__core-js_shared__"],qR=function(){var e=/[^.]+$/.exec(w2&&w2.keys&&w2.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function coe(e){return!!qR&&qR in e}var hoe=Function.prototype,foe=hoe.toString;function df(e){if(e!=null){try{return foe.call(e)}catch{}try{return e+""}catch{}}return""}var doe=/[\\^$.*+?()[\]{}|]/g,poe=/^\[object .+?Constructor\]$/,moe=Function.prototype,voe=Object.prototype,goe=moe.toString,yoe=voe.hasOwnProperty,_oe=RegExp("^"+goe.call(yoe).replace(doe,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function boe(e){if(!e8(e)||coe(e))return!1;var t=t8(e)?_oe:poe;return t.test(df(e))}function xoe(e,t){return e==null?void 0:e[t]}function Vy(e,t){var r=xoe(e,t);return boe(r)?r:void 0}var cP=Vy(mc,"Map"),woe=Array.isArray;function QI(e){return e!=null&&typeof e=="object"}var Soe="[object Arguments]";function ZR(e){return QI(e)&&Ny(e)==Soe}var r8=Object.prototype,Toe=r8.hasOwnProperty,Coe=r8.propertyIsEnumerable,Poe=ZR(function(){return arguments}())?ZR:function(e){return QI(e)&&Toe.call(e,"callee")&&!Coe.call(e,"callee")};function Aoe(){return!1}var n8=typeof exports=="object"&&exports&&!exports.nodeType&&exports,XR=n8&&typeof module=="object"&&module&&!module.nodeType&&module,Ioe=XR&&XR.exports===n8,KR=Ioe?mc.Buffer:void 0,Eoe=KR?KR.isBuffer:void 0,Moe=Eoe||Aoe,Doe=9007199254740991;function i8(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=Doe}var Loe="[object Arguments]",koe="[object Array]",Roe="[object Boolean]",Ooe="[object Date]",zoe="[object Error]",Boe="[object Function]",Foe="[object Map]",$oe="[object Number]",Noe="[object Object]",Voe="[object RegExp]",joe="[object Set]",Hoe="[object String]",Uoe="[object WeakMap]",Goe="[object ArrayBuffer]",Woe="[object DataView]",qoe="[object Float32Array]",Zoe="[object Float64Array]",Xoe="[object Int8Array]",Koe="[object Int16Array]",Yoe="[object Int32Array]",Joe="[object Uint8Array]",Qoe="[object Uint8ClampedArray]",ese="[object Uint16Array]",tse="[object Uint32Array]",Ln={};Ln[qoe]=Ln[Zoe]=Ln[Xoe]=Ln[Koe]=Ln[Yoe]=Ln[Joe]=Ln[Qoe]=Ln[ese]=Ln[tse]=!0;Ln[Loe]=Ln[koe]=Ln[Goe]=Ln[Roe]=Ln[Woe]=Ln[Ooe]=Ln[zoe]=Ln[Boe]=Ln[Foe]=Ln[$oe]=Ln[Noe]=Ln[Voe]=Ln[joe]=Ln[Hoe]=Ln[Uoe]=!1;function rse(e){return QI(e)&&i8(e.length)&&!!Ln[Ny(e)]}function nse(e){return function(t){return e(t)}}var a8=typeof exports=="object"&&exports&&!exports.nodeType&&exports,xg=a8&&typeof module=="object"&&module&&!module.nodeType&&module,ise=xg&&xg.exports===a8,S2=ise&&J$.process,YR=function(){try{var e=xg&&xg.require&&xg.require("util").types;return e||S2&&S2.binding&&S2.binding("util")}catch{}}(),JR=YR&&YR.isTypedArray,ase=JR?nse(JR):rse,ose=Object.prototype;function o8(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||ose;return e===r}function sse(e,t){return function(r){return e(t(r))}}var lse=sse(Object.keys,Object),use=Object.prototype,cse=use.hasOwnProperty;function hse(e){if(!o8(e))return lse(e);var t=[];for(var r in Object(e))cse.call(e,r)&&r!="constructor"&&t.push(r);return t}function fse(e){return e!=null&&i8(e.length)&&!t8(e)}var hP=Vy(mc,"DataView"),fP=Vy(mc,"Promise"),dP=Vy(mc,"Set"),pP=Vy(mc,"WeakMap"),QR="[object Map]",dse="[object Object]",e3="[object Promise]",t3="[object Set]",r3="[object WeakMap]",n3="[object DataView]",pse=df(hP),mse=df(cP),vse=df(fP),gse=df(dP),yse=df(pP),Ph=Ny;(hP&&Ph(new hP(new ArrayBuffer(1)))!=n3||cP&&Ph(new cP)!=QR||fP&&Ph(fP.resolve())!=e3||dP&&Ph(new dP)!=t3||pP&&Ph(new pP)!=r3)&&(Ph=function(e){var t=Ny(e),r=t==dse?e.constructor:void 0,n=r?df(r):"";if(n)switch(n){case pse:return n3;case mse:return QR;case vse:return e3;case gse:return t3;case yse:return r3}return t});bb("bottomLeft","bottomRight","topLeft","topRight");const s8=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Be(e?{name:e,appear:!0,appearActiveClass:`${e}`,appearToClass:`${e}-appear ${e}-appear-active`,enterFromClass:`${e}-appear ${e}-enter ${e}-appear-prepare ${e}-enter-prepare`,enterActiveClass:`${e}`,enterToClass:`${e}-enter ${e}-appear ${e}-appear-active ${e}-enter-active`,leaveActiveClass:`${e} ${e}-leave`,leaveToClass:`${e}-leave-active`}:{css:!1},t)},l8=Symbol("PortalContextKey"),_se=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{inTriggerContext:!0};Fi(l8,{inTriggerContext:t.inTriggerContext,shouldRender:Le(()=>{const{sPopupVisible:r,popupRef:n,forceRender:i,autoDestroy:a}=e||{};let o=!1;return(r||n||i)&&(o=!0),!r&&a&&(o=!1),o})})},bse=()=>{_se({},{inTriggerContext:!1});const e=en(l8,{shouldRender:Le(()=>!1),inTriggerContext:!1});return{shouldRender:Le(()=>e.shouldRender.value||e.inTriggerContext===!1)}},xse=Zt({compatConfig:{MODE:3},name:"Portal",inheritAttrs:!1,props:{getContainer:wp.func.isRequired,didUpdate:Function},setup(e,t){let{slots:r}=t,n=!0,i;const{shouldRender:a}=bse();function o(){a.value&&(i=e.getContainer())}YB(()=>{n=!1,o()}),Tn(()=>{i||o()});const s=$r(a,()=>{a.value&&!i&&(i=e.getContainer()),i&&s()});return Px(()=>{No(()=>{var c;a.value&&((c=e.didUpdate)===null||c===void 0||c.call(e,e))})}),()=>{var c;return a.value?n?(c=r.default)===null||c===void 0?void 0:c.call(r):i?ke(fF,{to:i},r):null:null}}});function Qc(e){const t=typeof e=="function"?e():e,r=Qt(t);function n(i){r.value=i}return[r,n]}var wse=Symbol("iconContext"),u8=function(){return en(wse,{prefixCls:Qt("anticon"),rootClassName:Qt(""),csp:Qt()})};function eE(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function Sse(e,t){return e&&e.contains?e.contains(t):!1}var i3="data-vc-order",Tse="vc-icon-key",mP=new Map;function c8(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.mark;return t?t.startsWith("data-")?t:"data-".concat(t):Tse}function tE(e){if(e.attachTo)return e.attachTo;var t=document.querySelector("head");return t||document.body}function Cse(e){return e==="queue"?"prependQueue":e?"prepend":"append"}function h8(e){return Array.from((mP.get(e)||e).children).filter(function(t){return t.tagName==="STYLE"})}function f8(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!eE())return null;var r=t.csp,n=t.prepend,i=document.createElement("style");i.setAttribute(i3,Cse(n)),r&&r.nonce&&(i.nonce=r.nonce),i.innerHTML=e;var a=tE(t),o=a.firstChild;if(n){if(n==="queue"){var s=h8(a).filter(function(c){return["prepend","prependQueue"].includes(c.getAttribute(i3))});if(s.length)return a.insertBefore(i,s[s.length-1].nextSibling),i}a.insertBefore(i,o)}else a.appendChild(i);return i}function Pse(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=tE(t);return h8(r).find(function(n){return n.getAttribute(c8(t))===e})}function Ase(e,t){var r=mP.get(e);if(!r||!Sse(document,r)){var n=f8("",t),i=n.parentNode;mP.set(e,i),e.removeChild(n)}}function Ise(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=tE(r);Ase(n,r);var i=Pse(t,r);if(i)return r.csp&&r.csp.nonce&&i.nonce!==r.csp.nonce&&(i.nonce=r.csp.nonce),i.innerHTML!==e&&(i.innerHTML=e),i;var a=f8(e,r);return a.setAttribute(c8(r),t),a}function a3(e){for(var t=1;t * { + line-height: 1; +} + +.anticon svg { + display: inline-block; +} + +.anticon::before { + display: none; +} + +.anticon .anticon-icon { + display: block; +} + +.anticon[tabindex] { + cursor: pointer; +} + +.anticon-spin::before, +.anticon-spin { + display: inline-block; + -webkit-animation: loadingCircle 1s infinite linear; + animation: loadingCircle 1s infinite linear; +} + +@-webkit-keyframes loadingCircle { + 100% { + -webkit-transform: rotate(360deg); + transform: rotate(360deg); + } +} + +@keyframes loadingCircle { + 100% { + -webkit-transform: rotate(360deg); + transform: rotate(360deg); + } +} +`;function m8(e){return e&&e.getRootNode&&e.getRootNode()}function Dse(e){return eE()?m8(e)instanceof ShadowRoot:!1}function Lse(e){return Dse(e)?m8(e):null}var kse=function(){var t=u8(),r=t.prefixCls,n=t.csp,i=Xl(),a=Mse;r&&(a=a.replace(/anticon/g,r.value)),No(function(){if(eE()){var o=i.vnode.el,s=Lse(o);Ise(a,"@ant-design-vue-icons",{prepend:!0,csp:n.value,attachTo:s})}})},Rse=["icon","primaryColor","secondaryColor"];function Ose(e,t){if(e==null)return{};var r=zse(e,t),n,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function zse(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a=0)&&(r[i]=e[i]);return r}function R1(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=new Array(t);re.length)&&(t=e.length);for(var r=0,n=new Array(t);r=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function ele(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a=0)&&(r[i]=e[i]);return r}v8(Qie.primary);var wa=function(t,r){var n,i=u3({},t,r.attrs),a=i.class,o=i.icon,s=i.spin,c=i.rotate,d=i.tabindex,m=i.twoToneColor,v=i.onClick,y=Qse(i,qse),_=u8(),S=_.prefixCls,I=_.rootClassName,E=(n={},eg(n,I.value,!!I.value),eg(n,S.value,!0),eg(n,"".concat(S.value,"-").concat(o.name),!!o.name),eg(n,"".concat(S.value,"-spin"),!!s||o.name==="loading"),n),M=d;M===void 0&&v&&(M=-1);var L=c?{msTransform:"rotate(".concat(c,"deg)"),transform:"rotate(".concat(c,"deg)")}:void 0,R=p8(m),$=Zse(R,2),G=$[0],j=$[1];return ke("span",u3({role:"img","aria-label":o.name},y,{onClick:v,class:[E,a],tabindex:M}),[ke(vc,{icon:o,primaryColor:G,secondaryColor:j,style:L},null),ke(Wse,null,null)])};wa.props={spin:Boolean,rotate:Number,icon:Object,twoToneColor:[String,Array]};wa.displayName="AntdIcon";wa.inheritAttrs=!1;wa.getTwoToneColor=Gse;wa.setTwoToneColor=v8;var tle={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"}}]},name:"loading",theme:"outlined"};function c3(e){for(var t=1;t{const o=oo({});return Fi(t,o),Hl(()=>{Be(o,i,a||{})}),o},useInject:()=>en(t,e)||{}}}const sle=e=>{const{componentCls:t}=e;return{[t]:{display:"inline-flex","&-block":{display:"flex",width:"100%"},"&-vertical":{flexDirection:"column"}}}},lle=e=>{const{componentCls:t}=e;return{[t]:{display:"inline-flex","&-rtl":{direction:"rtl"},"&-vertical":{flexDirection:"column"},"&-align":{flexDirection:"column","&-center":{alignItems:"center"},"&-start":{alignItems:"flex-start"},"&-end":{alignItems:"flex-end"},"&-baseline":{alignItems:"baseline"}},[`${t}-item`]:{"&:empty":{display:"none"}}}}},ule=hf("Space",e=>[lle(e),sle(e)]);var cle="[object Map]",hle="[object Set]",fle=Object.prototype,dle=fle.hasOwnProperty;function y8(e){if(e==null)return!0;if(fse(e)&&(woe(e)||typeof e=="string"||typeof e.splice=="function"||Moe(e)||ase(e)||Poe(e)))return!e.length;var t=Ph(e);if(t==cle||t==hle)return!e.size;if(o8(e))return!hse(e).length;for(var r in e)if(dle.call(e,r))return!1;return!0}const ple=()=>({compactSize:String,compactDirection:wp.oneOf(bb("horizontal","vertical")).def("horizontal"),isFirstItem:Hh(),isLastItem:Hh()}),rE=g8(null),mle=(e,t)=>{const r=rE.useInject(),n=Le(()=>{if(!r||y8(r))return"";const{compactDirection:i,isFirstItem:a,isLastItem:o}=r,s=i==="vertical"?"-vertical-":"-";return hi({[`${e.value}-compact${s}item`]:!0,[`${e.value}-compact${s}first-item`]:a,[`${e.value}-compact${s}last-item`]:o,[`${e.value}-compact${s}item-rtl`]:t.value==="rtl"})});return{compactSize:Le(()=>r==null?void 0:r.compactSize),compactDirection:Le(()=>r==null?void 0:r.compactDirection),compactItemClassnames:n}},vle=()=>({prefixCls:String,size:{type:String},direction:wp.oneOf(bb("horizontal","vertical")).def("horizontal"),align:wp.oneOf(bb("start","end","center","baseline")),block:{type:Boolean,default:void 0}}),gle=Zt({name:"CompactItem",props:ple(),setup(e,t){let{slots:r}=t;return rE.useProvide(e),()=>{var n;return(n=r.default)===null||n===void 0?void 0:n.call(r)}}});vle();function yle(e,t,r){const{focusElCls:n,focus:i,borderElCls:a}=r,o=a?"> *":"",s=["hover",i?"focus":null,"active"].filter(Boolean).map(c=>`&:${c} ${o}`).join(",");return{[`&-item:not(${t}-last-item)`]:{marginInlineEnd:-e.lineWidth},"&-item":Be(Be({[s]:{zIndex:2}},n?{[`&${n}`]:{zIndex:2}}:{}),{[`&[disabled] ${o}`]:{zIndex:0}})}}function _le(e,t,r){const{borderElCls:n}=r,i=n?`> ${n}`:"";return{[`&-item:not(${t}-first-item):not(${t}-last-item) ${i}`]:{borderRadius:0},[`&-item:not(${t}-last-item)${t}-first-item`]:{[`& ${i}, &${e}-sm ${i}, &${e}-lg ${i}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&-item:not(${t}-first-item)${t}-last-item`]:{[`& ${i}, &${e}-sm ${i}, &${e}-lg ${i}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}}function ble(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{focus:!0};const{componentCls:r}=e,n=`${r}-compact`;return{[n]:Be(Be({},yle(e,n,t)),_le(r,n,t))}}var xle={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M699 353h-46.9c-10.2 0-19.9 4.9-25.9 13.3L469 584.3l-71.2-98.8c-6-8.3-15.6-13.3-25.9-13.3H325c-6.5 0-10.3 7.4-6.5 12.7l124.6 172.8a31.8 31.8 0 0051.7 0l210.6-292c3.9-5.3.1-12.7-6.4-12.7z"}},{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"check-circle",theme:"outlined"};function d3(e){for(var t=1;t{const{componentCls:t,colorPrimary:r}=e;return{[t]:{position:"absolute",background:"transparent",pointerEvents:"none",boxSizing:"border-box",color:`var(--wave-color, ${r})`,boxShadow:"0 0 0 0 currentcolor",opacity:.2,"&.wave-motion-appear":{transition:[`box-shadow 0.4s ${e.motionEaseOutCirc}`,`opacity 2s ${e.motionEaseOutCirc}`].join(","),"&-active":{boxShadow:"0 0 0 6px currentcolor",opacity:0}}}}},zle=hf("Wave",e=>[Ole(e)]);function Ble(e){const t=(e||"").match(/rgba?\((\d*), (\d*), (\d*)(, [\d.]*)?\)/);return t&&t[1]&&t[2]&&t[3]?!(t[1]===t[2]&&t[2]===t[3]):!0}function T2(e){return e&&e!=="#fff"&&e!=="#ffffff"&&e!=="rgb(255, 255, 255)"&&e!=="rgba(255, 255, 255, 1)"&&Ble(e)&&!/rgba\((?:\d*, ){3}0\)/.test(e)&&e!=="transparent"}function Fle(e){const{borderTopColor:t,borderColor:r,backgroundColor:n}=getComputedStyle(e);return T2(t)?t:T2(r)?r:T2(n)?n:null}function C2(e){return Number.isNaN(e)?0:e}const $le=Zt({props:{target:Ea(),className:String},setup(e){const t=on(null),[r,n]=Qc(null),[i,a]=Qc([]),[o,s]=Qc(0),[c,d]=Qc(0),[m,v]=Qc(0),[y,_]=Qc(0),[S,I]=Qc(!1);function E(){const{target:H}=e,Z=getComputedStyle(H);n(Fle(H));const Q=Z.position==="static",{borderLeftWidth:ee,borderTopWidth:ne}=Z;s(Q?H.offsetLeft:C2(-parseFloat(ee))),d(Q?H.offsetTop:C2(-parseFloat(ne))),v(H.offsetWidth),_(H.offsetHeight);const{borderTopLeftRadius:ie,borderTopRightRadius:ce,borderBottomLeftRadius:Ae,borderBottomRightRadius:ue}=Z;a([ie,ce,ue,Ae].map(_e=>C2(parseFloat(_e))))}let M,L,R;const $=()=>{clearTimeout(R),KC.cancel(L),M==null||M.disconnect()},G=()=>{var H;const Z=(H=t.value)===null||H===void 0?void 0:H.parentElement;Z&&(gb(null,Z),Z.parentElement&&Z.parentElement.removeChild(Z))};Tn(()=>{$(),R=setTimeout(()=>{G()},5e3);const{target:H}=e;H&&(L=KC(()=>{E(),I(!0)}),typeof ResizeObserver<"u"&&(M=new ResizeObserver(E),M.observe(H)))}),fc(()=>{$()});const j=H=>{H.propertyName==="opacity"&&G()};return()=>{if(!S.value)return null;const H={left:`${o.value}px`,top:`${c.value}px`,width:`${m.value}px`,height:`${y.value}px`,borderRadius:i.value.map(Z=>`${Z}px`).join(" ")};return r&&(H["--wave-color"]=r.value),ke(rl,{appear:!0,name:"wave-motion",appearFromClass:"wave-motion-appear",appearActiveClass:"wave-motion-appear",appearToClass:"wave-motion-appear wave-motion-appear-active"},{default:()=>[ke("div",{ref:t,class:e.className,style:H,onTransitionend:j},null)]})}}});function Nle(e,t){const r=document.createElement("div");r.style.position="absolute",r.style.left="0px",r.style.top="0px",e==null||e.insertBefore(r,e==null?void 0:e.firstChild),gb(ke($le,{target:e,className:t},null),r)}function Vle(e,t,r){function n(){var i;const a=XC(e);!((i=r==null?void 0:r.value)===null||i===void 0)&&i.disabled||!a||Nle(a,t.value)}return n}const jle=Zt({compatConfig:{MODE:3},name:"Wave",props:{disabled:Boolean},setup(e,t){let{slots:r}=t;const n=Xl(),{prefixCls:i,wave:a}=Kl("wave",e),[,o]=zle(i),s=Vle(n,Le(()=>hi(i.value,o.value)),a);let c;const d=()=>{XC(n).removeEventListener("click",c,!0)};return Tn(()=>{$r(()=>e.disabled,()=>{d(),No(()=>{const m=XC(n);m==null||m.removeEventListener("click",c,!0),!(!m||m.nodeType!==1||e.disabled)&&(c=v=>{v.target.tagName==="INPUT"||!Kae(v.target)||!m.getAttribute||m.getAttribute("disabled")||m.disabled||m.className.includes("disabled")||m.className.includes("-leave")||s()},m.addEventListener("click",c,!0))})},{immediate:!0,flush:"post"})}),fc(()=>{d()}),()=>{var m;return(m=r.default)===null||m===void 0?void 0:m.call(r)[0]}}}),Hle=()=>({prefixCls:String,type:String,htmlType:{type:String,default:"button"},shape:{type:String},size:{type:String},loading:{type:[Boolean,Object],default:()=>!1},disabled:{type:Boolean,default:void 0},ghost:{type:Boolean,default:void 0},block:{type:Boolean,default:void 0},danger:{type:Boolean,default:void 0},icon:wp.any,href:String,target:String,title:String,onClick:xR(),onMousedown:xR()}),b3=e=>{e&&(e.style.width="0px",e.style.opacity="0",e.style.transform="scale(0)")},x3=e=>{No(()=>{e&&(e.style.width=`${e.scrollWidth}px`,e.style.opacity="1",e.style.transform="scale(1)")})},w3=e=>{e&&e.style&&(e.style.width=null,e.style.opacity=null,e.style.transform=null)},Ule=Zt({compatConfig:{MODE:3},name:"LoadingIcon",props:{prefixCls:String,loading:[Boolean,Object],existIcon:Boolean},setup(e){return()=>{const{existIcon:t,prefixCls:r,loading:n}=e;if(t)return ke("span",{class:`${r}-loading-icon`},[ke(af,null,null)]);const i=!!n;return ke(rl,{name:`${r}-loading-icon-motion`,onBeforeEnter:b3,onEnter:x3,onAfterEnter:w3,onBeforeLeave:x3,onLeave:a=>{setTimeout(()=>{b3(a)})},onAfterLeave:w3},{default:()=>[i?ke("span",{class:`${r}-loading-icon`},[ke(af,null,null)]):null]})}}}),S3=(e,t)=>({[`> span, > ${e}`]:{"&:not(:last-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineEndColor:t}}},"&:not(:first-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineStartColor:t}}}}}),Gle=e=>{const{componentCls:t,fontSize:r,lineWidth:n,colorPrimaryHover:i,colorErrorHover:a}=e;return{[`${t}-group`]:[{position:"relative",display:"inline-flex",[`> span, > ${t}`]:{"&:not(:last-child)":{[`&, & > ${t}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},"&:not(:first-child)":{marginInlineStart:-n,[`&, & > ${t}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}},[t]:{position:"relative",zIndex:1,"&:hover,\n &:focus,\n &:active":{zIndex:2},"&[disabled]":{zIndex:0}},[`${t}-icon-only`]:{fontSize:r}},S3(`${t}-primary`,i),S3(`${t}-danger`,a)]}};function Wle(e,t){return{[`&-item:not(${t}-last-item)`]:{marginBottom:-e.lineWidth},"&-item":{"&:hover,&:focus,&:active":{zIndex:2},"&[disabled]":{zIndex:0}}}}function qle(e,t){return{[`&-item:not(${t}-first-item):not(${t}-last-item)`]:{borderRadius:0},[`&-item${t}-first-item:not(${t}-last-item)`]:{[`&, &${e}-sm, &${e}-lg`]:{borderEndEndRadius:0,borderEndStartRadius:0}},[`&-item${t}-last-item:not(${t}-first-item)`]:{[`&, &${e}-sm, &${e}-lg`]:{borderStartStartRadius:0,borderStartEndRadius:0}}}}function Zle(e){const t=`${e.componentCls}-compact-vertical`;return{[t]:Be(Be({},Wle(e,t)),qle(e.componentCls,t))}}const Xle=e=>{const{componentCls:t,iconCls:r}=e;return{[t]:{outline:"none",position:"relative",display:"inline-block",fontWeight:400,whiteSpace:"nowrap",textAlign:"center",backgroundImage:"none",backgroundColor:"transparent",border:`${e.lineWidth}px ${e.lineType} transparent`,cursor:"pointer",transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,userSelect:"none",touchAction:"manipulation",lineHeight:e.lineHeight,color:e.colorText,"> span":{display:"inline-block"},[`> ${r} + span, > span + ${r}`]:{marginInlineStart:e.marginXS},"> a":{color:"currentColor"},"&:not(:disabled)":Be({},gae(e)),[`&-icon-only${t}-compact-item`]:{flex:"none"},[`&-compact-item${t}-primary`]:{[`&:not([disabled]) + ${t}-compact-item${t}-primary:not([disabled])`]:{position:"relative","&:before":{position:"absolute",top:-e.lineWidth,insetInlineStart:-e.lineWidth,display:"inline-block",width:e.lineWidth,height:`calc(100% + ${e.lineWidth*2}px)`,backgroundColor:e.colorPrimaryHover,content:'""'}}},"&-compact-vertical-item":{[`&${t}-primary`]:{[`&:not([disabled]) + ${t}-compact-vertical-item${t}-primary:not([disabled])`]:{position:"relative","&:before":{position:"absolute",top:-e.lineWidth,insetInlineStart:-e.lineWidth,display:"inline-block",width:`calc(100% + ${e.lineWidth*2}px)`,height:e.lineWidth,backgroundColor:e.colorPrimaryHover,content:'""'}}}}}}},Ul=(e,t)=>({"&:not(:disabled)":{"&:hover":e,"&:active":t}}),Kle=e=>({minWidth:e.controlHeight,paddingInlineStart:0,paddingInlineEnd:0,borderRadius:"50%"}),Yle=e=>({borderRadius:e.controlHeight,paddingInlineStart:e.controlHeight/2,paddingInlineEnd:e.controlHeight/2}),gP=e=>({cursor:"not-allowed",borderColor:e.colorBorder,color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,boxShadow:"none"}),Cb=(e,t,r,n,i,a,o)=>({[`&${e}-background-ghost`]:Be(Be({color:t||void 0,backgroundColor:"transparent",borderColor:r||void 0,boxShadow:"none"},Ul(Be({backgroundColor:"transparent"},a),Be({backgroundColor:"transparent"},o))),{"&:disabled":{cursor:"not-allowed",color:n||void 0,borderColor:i||void 0}})}),sE=e=>({"&:disabled":Be({},gP(e))}),_8=e=>Be({},sE(e)),Pb=e=>({"&:disabled":{cursor:"not-allowed",color:e.colorTextDisabled}}),b8=e=>Be(Be(Be(Be(Be({},_8(e)),{backgroundColor:e.colorBgContainer,borderColor:e.colorBorder,boxShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlTmpOutline}`}),Ul({color:e.colorPrimaryHover,borderColor:e.colorPrimaryHover},{color:e.colorPrimaryActive,borderColor:e.colorPrimaryActive})),Cb(e.componentCls,e.colorBgContainer,e.colorBgContainer,e.colorTextDisabled,e.colorBorder)),{[`&${e.componentCls}-dangerous`]:Be(Be(Be({color:e.colorError,borderColor:e.colorError},Ul({color:e.colorErrorHover,borderColor:e.colorErrorBorderHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),Cb(e.componentCls,e.colorError,e.colorError,e.colorTextDisabled,e.colorBorder)),sE(e))}),Jle=e=>Be(Be(Be(Be(Be({},_8(e)),{color:e.colorTextLightSolid,backgroundColor:e.colorPrimary,boxShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlOutline}`}),Ul({color:e.colorTextLightSolid,backgroundColor:e.colorPrimaryHover},{color:e.colorTextLightSolid,backgroundColor:e.colorPrimaryActive})),Cb(e.componentCls,e.colorPrimary,e.colorPrimary,e.colorTextDisabled,e.colorBorder,{color:e.colorPrimaryHover,borderColor:e.colorPrimaryHover},{color:e.colorPrimaryActive,borderColor:e.colorPrimaryActive})),{[`&${e.componentCls}-dangerous`]:Be(Be(Be({backgroundColor:e.colorError,boxShadow:`0 ${e.controlOutlineWidth}px 0 ${e.colorErrorOutline}`},Ul({backgroundColor:e.colorErrorHover},{backgroundColor:e.colorErrorActive})),Cb(e.componentCls,e.colorError,e.colorError,e.colorTextDisabled,e.colorBorder,{color:e.colorErrorHover,borderColor:e.colorErrorHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),sE(e))}),Qle=e=>Be(Be({},b8(e)),{borderStyle:"dashed"}),eue=e=>Be(Be(Be({color:e.colorLink},Ul({color:e.colorLinkHover},{color:e.colorLinkActive})),Pb(e)),{[`&${e.componentCls}-dangerous`]:Be(Be({color:e.colorError},Ul({color:e.colorErrorHover},{color:e.colorErrorActive})),Pb(e))}),tue=e=>Be(Be(Be({},Ul({color:e.colorText,backgroundColor:e.colorBgTextHover},{color:e.colorText,backgroundColor:e.colorBgTextActive})),Pb(e)),{[`&${e.componentCls}-dangerous`]:Be(Be({color:e.colorError},Pb(e)),Ul({color:e.colorErrorHover,backgroundColor:e.colorErrorBg},{color:e.colorErrorHover,backgroundColor:e.colorErrorBg}))}),rue=e=>Be(Be({},gP(e)),{[`&${e.componentCls}:hover`]:Be({},gP(e))}),nue=e=>{const{componentCls:t}=e;return{[`${t}-default`]:b8(e),[`${t}-primary`]:Jle(e),[`${t}-dashed`]:Qle(e),[`${t}-link`]:eue(e),[`${t}-text`]:tue(e),[`${t}-disabled`]:rue(e)}},lE=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const{componentCls:r,iconCls:n,controlHeight:i,fontSize:a,lineHeight:o,lineWidth:s,borderRadius:c,buttonPaddingHorizontal:d}=e,m=Math.max(0,(i-a*o)/2-s),v=d-s,y=`${r}-icon-only`;return[{[`${r}${t}`]:{fontSize:a,height:i,padding:`${m}px ${v}px`,borderRadius:c,[`&${y}`]:{width:i,paddingInlineStart:0,paddingInlineEnd:0,[`&${r}-round`]:{width:"auto"},"> span":{transform:"scale(1.143)"}},[`&${r}-loading`]:{opacity:e.opacityLoading,cursor:"default"},[`${r}-loading-icon`]:{transition:`width ${e.motionDurationSlow} ${e.motionEaseInOut}, opacity ${e.motionDurationSlow} ${e.motionEaseInOut}`},[`&:not(${y}) ${r}-loading-icon > ${n}`]:{marginInlineEnd:e.marginXS}}},{[`${r}${r}-circle${t}`]:Kle(e)},{[`${r}${r}-round${t}`]:Yle(e)}]},iue=e=>lE(e),aue=e=>{const t=pc(e,{controlHeight:e.controlHeightSM,padding:e.paddingXS,buttonPaddingHorizontal:8,borderRadius:e.borderRadiusSM});return lE(t,`${e.componentCls}-sm`)},oue=e=>{const t=pc(e,{controlHeight:e.controlHeightLG,fontSize:e.fontSizeLG,borderRadius:e.borderRadiusLG});return lE(t,`${e.componentCls}-lg`)},sue=e=>{const{componentCls:t}=e;return{[t]:{[`&${t}-block`]:{width:"100%"}}}},lue=hf("Button",e=>{const{controlTmpOutline:t,paddingContentHorizontal:r}=e,n=pc(e,{colorOutlineDefault:t,buttonPaddingHorizontal:r});return[Xle(n),aue(n),iue(n),oue(n),sue(n),nue(n),Gle(n),ble(e,{focus:!1}),Zle(e)]}),uue=()=>({prefixCls:String,size:{type:String}}),x8=g8(),yP=Zt({compatConfig:{MODE:3},name:"AButtonGroup",props:uue(),setup(e,t){let{slots:r}=t;const{prefixCls:n,direction:i}=Kl("btn-group",e),[,,a]=$y();x8.useProvide(oo({size:Le(()=>e.size)}));const o=Le(()=>{const{size:s}=e;let c="";switch(s){case"large":c="lg";break;case"small":c="sm";break;case"middle":case void 0:break;default:Y$(!s,"Button.Group","Invalid prop `size`.")}return{[`${n.value}`]:!0,[`${n.value}-${c}`]:c,[`${n.value}-rtl`]:i.value==="rtl",[a.value]:!0}});return()=>{var s;return ke("div",{class:o.value},[Qg((s=r.default)===null||s===void 0?void 0:s.call(r))])}}}),T3=/^[\u4e00-\u9fa5]{2}$/,C3=T3.test.bind(T3);function P0(e){return e==="text"||e==="link"}const Sg=Zt({compatConfig:{MODE:3},name:"AButton",inheritAttrs:!1,__ANT_BUTTON:!0,props:K9(Hle(),{type:"default"}),slots:Object,setup(e,t){let{slots:r,attrs:n,emit:i,expose:a}=t;const{prefixCls:o,autoInsertSpaceInButton:s,direction:c,size:d}=Kl("btn",e),[m,v]=lue(o),y=x8.useInject(),_=WI(),S=Le(()=>{var ue;return(ue=e.disabled)!==null&&ue!==void 0?ue:_.value}),I=on(null),E=on(void 0);let M=!1;const L=on(!1),R=on(!1),$=Le(()=>s.value!==!1),{compactSize:G,compactItemClassnames:j}=mle(o,c),H=Le(()=>typeof e.loading=="object"&&e.loading.delay?e.loading.delay||!0:!!e.loading);$r(H,ue=>{clearTimeout(E.value),typeof H.value=="number"?E.value=setTimeout(()=>{L.value=ue},H.value):L.value=ue},{immediate:!0});const Z=Le(()=>{const{type:ue,shape:_e="default",ghost:He,block:$e,danger:lt}=e,Ct=o.value,Ut={large:"lg",small:"sm",middle:void 0},Vt=G.value||(y==null?void 0:y.size)||d.value,lr=Vt&&Ut[Vt]||"";return[j.value,{[v.value]:!0,[`${Ct}`]:!0,[`${Ct}-${_e}`]:_e!=="default"&&_e,[`${Ct}-${ue}`]:ue,[`${Ct}-${lr}`]:lr,[`${Ct}-loading`]:L.value,[`${Ct}-background-ghost`]:He&&!P0(ue),[`${Ct}-two-chinese-chars`]:R.value&&$.value,[`${Ct}-block`]:$e,[`${Ct}-dangerous`]:!!lt,[`${Ct}-rtl`]:c.value==="rtl"}]}),Q=()=>{const ue=I.value;if(!ue||s.value===!1)return;const _e=ue.textContent;M&&C3(_e)?R.value||(R.value=!0):R.value&&(R.value=!1)},ee=ue=>{if(L.value||S.value){ue.preventDefault();return}i("click",ue)},ne=ue=>{i("mousedown",ue)},ie=(ue,_e)=>{const He=_e?" ":"";if(ue.type===Vl){let $e=ue.children.trim();return C3($e)&&($e=$e.split("").join(He)),ke("span",null,[$e])}return ue};return Hl(()=>{Y$(!(e.ghost&&P0(e.type)),"Button","`link` or `text` button can't be a `ghost` button.")}),Tn(Q),Px(Q),fc(()=>{E.value&&clearTimeout(E.value)}),a({focus:()=>{var ue;(ue=I.value)===null||ue===void 0||ue.focus()},blur:()=>{var ue;(ue=I.value)===null||ue===void 0||ue.blur()}}),()=>{var ue,_e;const{icon:He=(ue=r.icon)===null||ue===void 0?void 0:ue.call(r)}=e,$e=Qg((_e=r.default)===null||_e===void 0?void 0:_e.call(r));M=$e.length===1&&!He&&!P0(e.type);const{type:lt,htmlType:Ct,href:Ut,title:Vt,target:lr}=e,ur=L.value?"loading":He,yr=Be(Be({},n),{title:Vt,disabled:S.value,class:[Z.value,n.class,{[`${o.value}-icon-only`]:$e.length===0&&!!ur}],onClick:ee,onMousedown:ne});S.value||delete yr.disabled;const ir=He&&!L.value?He:ke(Ule,{existIcon:!!He,prefixCls:o.value,loading:!!L.value},null),Ge=$e.map(tt=>ie(tt,M&&$.value));if(Ut!==void 0)return m(ke("a",Sn(Sn({},yr),{},{href:Ut,target:lr,ref:I}),[ir,Ge]));let st=ke("button",Sn(Sn({},yr),{},{ref:I,type:Ct}),[ir,Ge]);if(!P0(lt)){const tt=function(){return st}();st=ke(jle,{ref:"wave",disabled:!!L.value},{default:()=>[tt]})}return m(st)}}});Sg.Group=yP;Sg.install=function(e){return e.component(Sg.name,Sg),e.component(yP.name,yP),e};function w8(e,t){return e.classList?e.classList.contains(t):` ${e.className} `.indexOf(` ${t} `)>-1}function cue(e,t){e.classList?e.classList.add(t):w8(e,t)||(e.className=`${e.className} ${t}`)}function hue(e,t){if(e.classList)e.classList.remove(t);else if(w8(e,t)){const r=e.className;e.className=` ${r} `.replace(` ${t} `," ")}}var ay=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function S8(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function fue(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var r=function n(){return this instanceof n?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(n){var i=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(r,n,i.get?i:{enumerable:!0,get:function(){return e[n]}})}),r}let P2=Be({},ey.Modal);function due(e){e?P2=Be(Be({},P2),e):P2=Be({},ey.Modal)}const _P="internalMark",O1=Zt({compatConfig:{MODE:3},name:"ALocaleProvider",props:{locale:{type:Object},ANT_MARK__:String},setup(e,t){let{slots:r}=t;g$(e.ANT_MARK__===_P);const n=oo({antLocale:Be(Be({},e.locale),{exist:!0}),ANT_MARK__:_P});return Fi("localeData",n),$r(()=>e.locale,i=>{due(i&&i.Modal),n.antLocale=Be(Be({},i),{exist:!0})},{immediate:!0}),()=>{var i;return(i=r.default)===null||i===void 0?void 0:i.call(r)}}});O1.install=function(e){return e.component(O1.name,O1),e};const pue=Vx(O1),T8=Zt({name:"Notice",inheritAttrs:!1,props:["prefixCls","duration","updateMark","noticeKey","closeIcon","closable","props","onClick","onClose","holder","visible"],setup(e,t){let{attrs:r,slots:n}=t,i,a=!1;const o=Le(()=>e.duration===void 0?4.5:e.duration),s=()=>{o.value&&!a&&(i=setTimeout(()=>{d()},o.value*1e3))},c=()=>{i&&(clearTimeout(i),i=null)},d=v=>{v&&v.stopPropagation(),c();const{onClose:y,noticeKey:_}=e;y&&y(_)},m=()=>{c(),s()};return Tn(()=>{s()}),Fp(()=>{a=!0,c()}),$r([o,()=>e.updateMark,()=>e.visible],(v,y)=>{let[_,S,I]=v,[E,M,L]=y;(_!==E||S!==M||I!==L&&L)&&m()},{flush:"post"}),()=>{var v,y;const{prefixCls:_,closable:S,closeIcon:I=(v=n.closeIcon)===null||v===void 0?void 0:v.call(n),onClick:E,holder:M}=e,{class:L,style:R}=r,$=`${_}-notice`,G=Object.keys(r).reduce((H,Z)=>((Z.startsWith("data-")||Z.startsWith("aria-")||Z==="role")&&(H[Z]=r[Z]),H),{}),j=ke("div",Sn({class:hi($,L,{[`${$}-closable`]:S}),style:R,onMouseenter:c,onMouseleave:s,onClick:E},G),[ke("div",{class:`${$}-content`},[(y=n.default)===null||y===void 0?void 0:y.call(n)]),S?ke("a",{tabindex:0,onClick:d,class:`${$}-close`},[I||ke("span",{class:`${$}-close-x`},null)]):null]);return M?ke(fF,{to:M},{default:()=>j}):j}}});var mue=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(e);i{const{prefixCls:m,animation:v="fade"}=e;let y=e.transitionName;return!y&&v&&(y=`${m}-${v}`),s8(y)}),c=(m,v)=>{const y=m.key||A3(),_=Be(Be({},m),{key:y}),{maxCount:S}=e,I=o.value.map(M=>M.notice.key).indexOf(y),E=o.value.concat();I!==-1?E.splice(I,1,{notice:_,holderCallback:v}):(S&&o.value.length>=S&&(_.key=E[0].notice.key,_.updateMark=A3(),_.userPassKey=y,E.shift()),E.push({notice:_,holderCallback:v})),o.value=E},d=m=>{o.value=o.value.filter(v=>{let{notice:{key:y,userPassKey:_}}=v;return(_||y)!==m})};return n({add:c,remove:d,notices:o}),()=>{var m;const{prefixCls:v,closeIcon:y=(m=i.closeIcon)===null||m===void 0?void 0:m.call(i,{prefixCls:v})}=e,_=o.value.map((I,E)=>{let{notice:M,holderCallback:L}=I;const R=E===o.value.length-1?M.updateMark:void 0,{key:$,userPassKey:G}=M,{content:j}=M,H=Be(Be(Be({prefixCls:v,closeIcon:typeof y=="function"?y({prefixCls:v}):y},M),M.props),{key:$,noticeKey:G||$,updateMark:R,onClose:Z=>{var Q;d(Z),(Q=M.onClose)===null||Q===void 0||Q.call(M)},onClick:M.onClick});return L?ke("div",{key:$,class:`${v}-hook-holder`,ref:Z=>{typeof $>"u"||(Z?(a.set($,Z),L(Z,H)):a.delete($))}},null):ke(T8,Sn(Sn({},H),{},{class:hi(H.class,e.hashId)}),{default:()=>[typeof j=="function"?j({prefixCls:v}):j]})}),S={[v]:1,[r.class]:!!r.class,[e.hashId]:!0};return ke("div",{class:S,style:r.style||{top:"65px",left:"50%"}},[ke(kF,Sn({tag:"div"},s.value),{default:()=>[_]})])}}});Ab.newInstance=function(t,r){const n=t||{},{name:i="notification",getContainer:a,appContext:o,prefixCls:s,rootPrefixCls:c,transitionName:d,hasTransitionName:m,useStyle:v}=n,y=mue(n,["name","getContainer","appContext","prefixCls","rootPrefixCls","transitionName","hasTransitionName","useStyle"]),_=document.createElement("div");a?a().appendChild(_):document.body.appendChild(_);const I=ke(Zt({compatConfig:{MODE:3},name:"NotificationWrapper",setup(E,M){let{attrs:L}=M;const R=on(),$=Le(()=>Ji.getPrefixCls(i,s)),[,G]=v($);return Tn(()=>{r({notice(j){var H;(H=R.value)===null||H===void 0||H.add(j)},removeNotice(j){var H;(H=R.value)===null||H===void 0||H.remove(j)},destroy(){gb(null,_),_.parentNode&&_.parentNode.removeChild(_)},component:R})}),()=>{const j=Ji,H=j.getRootPrefixCls(c,$.value),Z=m?d:`${$.value}-${d}`;return ke(Zh,Sn(Sn({},j),{},{prefixCls:H}),{default:()=>[ke(Ab,Sn(Sn({ref:R},L),{},{prefixCls:$.value,transitionName:Z,hashId:G.value}),null)]})}}}),y);I.appContext=o||I.appContext,gb(I,_)};let I3=0;const gue=Date.now();function E3(){const e=I3;return I3+=1,`rcNotification_${gue}_${e}`}const yue=Zt({name:"HookNotification",inheritAttrs:!1,props:["prefixCls","transitionName","animation","maxCount","closeIcon","hashId","remove","notices","getStyles","getClassName","onAllRemoved","getContainer"],setup(e,t){let{attrs:r,slots:n}=t;const i=new Map,a=Le(()=>e.notices),o=Le(()=>{let m=e.transitionName;if(!m&&e.animation)switch(typeof e.animation){case"string":m=e.animation;break;case"function":m=e.animation().name;break;case"object":m=e.animation.name;break;default:m=`${e.prefixCls}-fade`;break}return s8(m)}),s=m=>e.remove(m),c=Qt({});$r(a,()=>{const m={};Object.keys(c.value).forEach(v=>{m[v]=[]}),e.notices.forEach(v=>{const{placement:y="topRight"}=v.notice;y&&(m[y]=m[y]||[],m[y].push(v))}),c.value=m});const d=Le(()=>Object.keys(c.value));return()=>{var m;const{prefixCls:v,closeIcon:y=(m=n.closeIcon)===null||m===void 0?void 0:m.call(n,{prefixCls:v})}=e,_=d.value.map(S=>{var I,E;const M=c.value[S],L=(I=e.getClassName)===null||I===void 0?void 0:I.call(e,S),R=(E=e.getStyles)===null||E===void 0?void 0:E.call(e,S),$=M.map((H,Z)=>{let{notice:Q,holderCallback:ee}=H;const ne=Z===a.value.length-1?Q.updateMark:void 0,{key:ie,userPassKey:ce}=Q,{content:Ae}=Q,ue=Be(Be(Be({prefixCls:v,closeIcon:typeof y=="function"?y({prefixCls:v}):y},Q),Q.props),{key:ie,noticeKey:ce||ie,updateMark:ne,onClose:_e=>{var He;s(_e),(He=Q.onClose)===null||He===void 0||He.call(Q)},onClick:Q.onClick});return ee?ke("div",{key:ie,class:`${v}-hook-holder`,ref:_e=>{typeof ie>"u"||(_e?(i.set(ie,_e),ee(_e,ue)):i.delete(ie))}},null):ke(T8,Sn(Sn({},ue),{},{class:hi(ue.class,e.hashId)}),{default:()=>[typeof Ae=="function"?Ae({prefixCls:v}):Ae]})}),G={[v]:1,[`${v}-${S}`]:1,[r.class]:!!r.class,[e.hashId]:!0,[L]:!!L};function j(){var H;M.length>0||(Reflect.deleteProperty(c.value,S),(H=e.onAllRemoved)===null||H===void 0||H.call(e))}return ke("div",{key:S,class:G,style:r.style||R||{top:"65px",left:"50%"}},[ke(kF,Sn(Sn({tag:"div"},o.value),{},{onAfterLeave:j}),{default:()=>[$]})])});return ke(xse,{getContainer:e.getContainer},{default:()=>[_]})}}}),_ue=yue;var bue=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(e);idocument.body;let M3=0;function wue(){const e={};for(var t=arguments.length,r=new Array(t),n=0;n{i&&Object.keys(i).forEach(a=>{const o=i[a];o!==void 0&&(e[a]=o)})}),e}function C8(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{getContainer:t=xue,motion:r,prefixCls:n,maxCount:i,getClassName:a,getStyles:o,onAllRemoved:s}=e,c=bue(e,["getContainer","motion","prefixCls","maxCount","getClassName","getStyles","onAllRemoved"]),d=on([]),m=on(),v=(M,L)=>{const R=M.key||E3(),$=Be(Be({},M),{key:R}),G=d.value.map(H=>H.notice.key).indexOf(R),j=d.value.concat();G!==-1?j.splice(G,1,{notice:$,holderCallback:L}):(i&&d.value.length>=i&&($.key=j[0].notice.key,$.updateMark=E3(),$.userPassKey=R,j.shift()),j.push({notice:$,holderCallback:L})),d.value=j},y=M=>{d.value=d.value.filter(L=>{let{notice:{key:R,userPassKey:$}}=L;return($||R)!==M})},_=()=>{d.value=[]},S=()=>ke(_ue,{ref:m,prefixCls:n,maxCount:i,notices:d.value,remove:y,getClassName:a,getStyles:o,animation:r,hashId:e.hashId,onAllRemoved:s,getContainer:t},null),I=on([]),E={open:M=>{const L=wue(c,M);(L.key===null||L.key===void 0)&&(L.key=`vc-notification-${M3}`,M3+=1),I.value=[...I.value,{type:"open",config:L}]},close:M=>{I.value=[...I.value,{type:"close",key:M}]},destroy:()=>{I.value=[...I.value,{type:"destroy"}]}};return $r(I,()=>{I.value.length&&(I.value.forEach(M=>{switch(M.type){case"open":v(M.config);break;case"close":y(M.key);break;case"destroy":_();break}}),I.value=[])}),[E,S]}const Sue=e=>{const{componentCls:t,iconCls:r,boxShadowSecondary:n,colorBgElevated:i,colorSuccess:a,colorError:o,colorWarning:s,colorInfo:c,fontSizeLG:d,motionEaseInOutCirc:m,motionDurationSlow:v,marginXS:y,paddingXS:_,borderRadiusLG:S,zIndexPopup:I,messageNoticeContentPadding:E}=e,M=new qh("MessageMoveIn",{"0%":{padding:0,transform:"translateY(-100%)",opacity:0},"100%":{padding:_,transform:"translateY(0)",opacity:1}}),L=new qh("MessageMoveOut",{"0%":{maxHeight:e.height,padding:_,opacity:1},"100%":{maxHeight:0,padding:0,opacity:0}});return[{[t]:Be(Be({},KI(e)),{position:"fixed",top:y,left:"50%",transform:"translateX(-50%)",width:"100%",pointerEvents:"none",zIndex:I,[`${t}-move-up`]:{animationFillMode:"forwards"},[` + ${t}-move-up-appear, + ${t}-move-up-enter + `]:{animationName:M,animationDuration:v,animationPlayState:"paused",animationTimingFunction:m},[` + ${t}-move-up-appear${t}-move-up-appear-active, + ${t}-move-up-enter${t}-move-up-enter-active + `]:{animationPlayState:"running"},[`${t}-move-up-leave`]:{animationName:L,animationDuration:v,animationPlayState:"paused",animationTimingFunction:m},[`${t}-move-up-leave${t}-move-up-leave-active`]:{animationPlayState:"running"},"&-rtl":{direction:"rtl",span:{direction:"rtl"}}})},{[`${t}-notice`]:{padding:_,textAlign:"center",[r]:{verticalAlign:"text-bottom",marginInlineEnd:y,fontSize:d},[`${t}-notice-content`]:{display:"inline-block",padding:E,background:i,borderRadius:S,boxShadow:n,pointerEvents:"all"},[`${t}-success ${r}`]:{color:a},[`${t}-error ${r}`]:{color:o},[`${t}-warning ${r}`]:{color:s},[` + ${t}-info ${r}, + ${t}-loading ${r}`]:{color:c}}},{[`${t}-notice-pure-panel`]:{padding:0,textAlign:"start"}}]},P8=hf("Message",e=>{const t=pc(e,{messageNoticeContentPadding:`${(e.controlHeightLG-e.fontSize*e.lineHeight)/2}px ${e.paddingSM}px`});return[Sue(t)]},e=>({height:150,zIndexPopup:e.zIndexPopupBase+10})),Tue={info:ke(qp,null,null),success:ke(Gp,null,null),error:ke(Up,null,null),warning:ke(Wp,null,null),loading:ke(af,null,null)},Cue=Zt({name:"PureContent",inheritAttrs:!1,props:["prefixCls","type","icon"],setup(e,t){let{slots:r}=t;return()=>{var n;return ke("div",{class:hi(`${e.prefixCls}-custom-content`,`${e.prefixCls}-${e.type}`)},[e.icon||Tue[e.type],ke("span",null,[(n=r.default)===null||n===void 0?void 0:n.call(r)])])}}});var Pue=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(e);ia("message",e.prefixCls)),[,c]=P8(s),d=()=>{var I;const E=(I=e.top)!==null&&I!==void 0?I:Aue;return{left:"50%",transform:"translateX(-50%)",top:typeof E=="number"?`${E}px`:E}},m=()=>hi(c.value,e.rtl?`${s.value}-rtl`:""),v=()=>{var I;return Xae({prefixCls:s.value,animation:(I=e.animation)!==null&&I!==void 0?I:"move-up",transitionName:e.transitionName})},y=ke("span",{class:`${s.value}-close-x`},[ke(jy,{class:`${s.value}-close-icon`},null)]),[_,S]=C8({getStyles:d,prefixCls:s.value,getClassName:m,motion:v,closable:!1,closeIcon:y,duration:(n=e.duration)!==null&&n!==void 0?n:Iue,getContainer:(i=e.staticGetContainer)!==null&&i!==void 0?i:o.value,maxCount:e.maxCount,onAllRemoved:e.onAllRemoved});return r(Be(Be({},_),{prefixCls:s,hashId:c})),S}});let D3=0;function Mue(e){const t=on(null),r=Symbol("messageHolderKey"),n=c=>{var d;(d=t.value)===null||d===void 0||d.close(c)},i=c=>{if(!t.value){const G=()=>{};return G.then=()=>{},G}const{open:d,prefixCls:m,hashId:v}=t.value,y=`${m}-notice`,{content:_,icon:S,type:I,key:E,class:M,onClose:L}=c,R=Pue(c,["content","icon","type","key","class","onClose"]);let $=E;return $==null&&(D3+=1,$=`antd-message-${D3}`),Mne(G=>(d(Be(Be({},R),{key:$,content:()=>ke(Cue,{prefixCls:m,type:I,icon:typeof S=="function"?S():S},{default:()=>[typeof _=="function"?_():_]}),placement:"top",class:hi(I&&`${y}-${I}`,v,M),onClose:()=>{L==null||L(),G()}})),()=>{n($)}))},o={open:i,destroy:c=>{var d;c!==void 0?n(c):(d=t.value)===null||d===void 0||d.destroy()}};return["info","success","warning","error","loading"].forEach(c=>{const d=(m,v,y)=>{let _;m&&typeof m=="object"&&"content"in m?_=m:_={content:m};let S,I;typeof v=="function"?I=v:(S=v,I=y);const E=Be(Be({onClose:I,duration:S},_),{type:c});return i(E)};o[c]=d}),[o,()=>ke(Eue,Sn(Sn({key:r},e),{},{ref:t}),null)]}function Due(e){return Mue(e)}let A8=3,I8,ya,Lue=1,E8="",M8="move-up",D8=!1,L8=()=>document.body,k8,R8=!1;function kue(){return Lue++}function Rue(e){e.top!==void 0&&(I8=e.top,ya=null),e.duration!==void 0&&(A8=e.duration),e.prefixCls!==void 0&&(E8=e.prefixCls),e.getContainer!==void 0&&(L8=e.getContainer,ya=null),e.transitionName!==void 0&&(M8=e.transitionName,ya=null,D8=!0),e.maxCount!==void 0&&(k8=e.maxCount,ya=null),e.rtl!==void 0&&(R8=e.rtl)}function Oue(e,t){if(ya){t(ya);return}Ab.newInstance({appContext:e.appContext,prefixCls:e.prefixCls||E8,rootPrefixCls:e.rootPrefixCls,transitionName:M8,hasTransitionName:D8,style:{top:I8},getContainer:L8||e.getPopupContainer,maxCount:k8,name:"message",useStyle:P8},r=>{if(ya){t(ya);return}ya=r,t(r)})}const O8={info:qp,success:Gp,error:Up,warning:Wp,loading:af},zue=Object.keys(O8);function Bue(e){const t=e.duration!==void 0?e.duration:A8,r=e.key||kue(),n=new Promise(a=>{const o=()=>(typeof e.onClose=="function"&&e.onClose(),a(!0));Oue(e,s=>{s.notice({key:r,duration:t,style:e.style||{},class:e.class,content:c=>{let{prefixCls:d}=c;const m=O8[e.type],v=m?ke(m,null,null):"",y=hi(`${d}-custom-content`,{[`${d}-${e.type}`]:e.type,[`${d}-rtl`]:R8===!0});return ke("div",{class:y},[typeof e.icon=="function"?e.icon():e.icon||v,ke("span",null,[typeof e.content=="function"?e.content():e.content])])},onClose:o,onClick:e.onClick})})}),i=()=>{ya&&ya.removeNotice(r)};return i.then=(a,o)=>n.then(a,o),i.promise=n,i}function Fue(e){return Object.prototype.toString.call(e)==="[object Object]"&&!!e.content}const oy={open:Bue,config:Rue,destroy(e){if(ya)if(e){const{removeNotice:t}=ya;t(e)}else{const{destroy:t}=ya;t(),ya=null}}};function $ue(e,t){e[t]=(r,n,i)=>Fue(r)?e.open(Be(Be({},r),{type:t})):(typeof n=="function"&&(i=n,n=void 0),e.open({content:r,duration:n,type:t,onClose:i}))}zue.forEach(e=>$ue(oy,e));oy.warn=oy.warning;oy.useMessage=Due;const Nue=e=>{const{componentCls:t,width:r,notificationMarginEdge:n}=e,i=new qh("antNotificationTopFadeIn",{"0%":{marginTop:"-100%",opacity:0},"100%":{marginTop:0,opacity:1}}),a=new qh("antNotificationBottomFadeIn",{"0%":{marginBottom:"-100%",opacity:0},"100%":{marginBottom:0,opacity:1}}),o=new qh("antNotificationLeftFadeIn",{"0%":{right:{_skip_check_:!0,value:r},opacity:0},"100%":{right:{_skip_check_:!0,value:0},opacity:1}});return{[`&${t}-top, &${t}-bottom`]:{marginInline:0},[`&${t}-top`]:{[`${t}-fade-enter${t}-fade-enter-active, ${t}-fade-appear${t}-fade-appear-active`]:{animationName:i}},[`&${t}-bottom`]:{[`${t}-fade-enter${t}-fade-enter-active, ${t}-fade-appear${t}-fade-appear-active`]:{animationName:a}},[`&${t}-topLeft, &${t}-bottomLeft`]:{marginInlineEnd:0,marginInlineStart:n,[`${t}-fade-enter${t}-fade-enter-active, ${t}-fade-appear${t}-fade-appear-active`]:{animationName:o}}}},Vue=e=>{const{iconCls:t,componentCls:r,boxShadowSecondary:n,fontSizeLG:i,notificationMarginBottom:a,borderRadiusLG:o,colorSuccess:s,colorInfo:c,colorWarning:d,colorError:m,colorTextHeading:v,notificationBg:y,notificationPadding:_,notificationMarginEdge:S,motionDurationMid:I,motionEaseInOut:E,fontSize:M,lineHeight:L,width:R,notificationIconSize:$}=e,G=`${r}-notice`,j=new qh("antNotificationFadeIn",{"0%":{left:{_skip_check_:!0,value:R},opacity:0},"100%":{left:{_skip_check_:!0,value:0},opacity:1}}),H=new qh("antNotificationFadeOut",{"0%":{maxHeight:e.animationMaxHeight,marginBottom:a,opacity:1},"100%":{maxHeight:0,marginBottom:0,paddingTop:0,paddingBottom:0,opacity:0}});return[{[r]:Be(Be(Be(Be({},KI(e)),{position:"fixed",zIndex:e.zIndexPopup,marginInlineEnd:S,[`${r}-hook-holder`]:{position:"relative"},[`&${r}-top, &${r}-bottom`]:{[`${r}-notice`]:{marginInline:"auto auto"}},[`&${r}-topLeft, &${r}-bottomLeft`]:{[`${r}-notice`]:{marginInlineEnd:"auto",marginInlineStart:0}},[`${r}-fade-enter, ${r}-fade-appear`]:{animationDuration:e.motionDurationMid,animationTimingFunction:E,animationFillMode:"both",opacity:0,animationPlayState:"paused"},[`${r}-fade-leave`]:{animationTimingFunction:E,animationFillMode:"both",animationDuration:I,animationPlayState:"paused"},[`${r}-fade-enter${r}-fade-enter-active, ${r}-fade-appear${r}-fade-appear-active`]:{animationName:j,animationPlayState:"running"},[`${r}-fade-leave${r}-fade-leave-active`]:{animationName:H,animationPlayState:"running"}}),Nue(e)),{"&-rtl":{direction:"rtl",[`${r}-notice-btn`]:{float:"left"}}})},{[G]:{position:"relative",width:R,maxWidth:`calc(100vw - ${S*2}px)`,marginBottom:a,marginInlineStart:"auto",padding:_,overflow:"hidden",lineHeight:L,wordWrap:"break-word",background:y,borderRadius:o,boxShadow:n,[`${r}-close-icon`]:{fontSize:M,cursor:"pointer"},[`${G}-message`]:{marginBottom:e.marginXS,color:v,fontSize:i,lineHeight:e.lineHeightLG},[`${G}-description`]:{fontSize:M},[`&${G}-closable ${G}-message`]:{paddingInlineEnd:e.paddingLG},[`${G}-with-icon ${G}-message`]:{marginBottom:e.marginXS,marginInlineStart:e.marginSM+$,fontSize:i},[`${G}-with-icon ${G}-description`]:{marginInlineStart:e.marginSM+$,fontSize:M},[`${G}-icon`]:{position:"absolute",fontSize:$,lineHeight:0,[`&-success${t}`]:{color:s},[`&-info${t}`]:{color:c},[`&-warning${t}`]:{color:d},[`&-error${t}`]:{color:m}},[`${G}-close`]:{position:"absolute",top:e.notificationPaddingVertical,insetInlineEnd:e.notificationPaddingHorizontal,color:e.colorIcon,outline:"none",width:e.notificationCloseButtonSize,height:e.notificationCloseButtonSize,borderRadius:e.borderRadiusSM,transition:`background-color ${e.motionDurationMid}, color ${e.motionDurationMid}`,display:"flex",alignItems:"center",justifyContent:"center","&:hover":{color:e.colorIconHover,backgroundColor:e.wireframe?"transparent":e.colorFillContent}},[`${G}-btn`]:{float:"right",marginTop:e.marginSM}}},{[`${G}-pure-panel`]:{margin:0}}]},z8=hf("Notification",e=>{const t=e.paddingMD,r=e.paddingLG,n=pc(e,{notificationBg:e.colorBgElevated,notificationPaddingVertical:t,notificationPaddingHorizontal:r,notificationPadding:`${e.paddingMD}px ${e.paddingContentHorizontalLG}px`,notificationMarginBottom:e.margin,notificationMarginEdge:e.marginLG,animationMaxHeight:150,notificationIconSize:e.fontSizeLG*e.lineHeightLG,notificationCloseButtonSize:e.controlHeightLG*.55});return[Vue(n)]},e=>({zIndexPopup:e.zIndexPopupBase+50,width:384}));function jue(e,t){return ke("span",{class:`${e}-close-x`},[ke(jy,{class:`${e}-close-icon`},null)])}ke(qp,null,null),ke(Gp,null,null),ke(Up,null,null),ke(Wp,null,null),ke(af,null,null);const Hue={success:Gp,info:qp,error:Up,warning:Wp};function Uue(e){let{prefixCls:t,icon:r,type:n,message:i,description:a,btn:o}=e,s=null;if(r)s=ke("span",{class:`${t}-icon`},[Bd(r)]);else if(n){const c=Hue[n];s=ke(c,{class:`${t}-icon ${t}-icon-${n}`},null)}return ke("div",{class:hi({[`${t}-with-icon`]:s}),role:"alert"},[s,ke("div",{class:`${t}-message`},[i]),ke("div",{class:`${t}-description`},[a]),o&&ke("div",{class:`${t}-btn`},[o])])}function B8(e,t,r){let n;switch(t=typeof t=="number"?`${t}px`:t,r=typeof r=="number"?`${r}px`:r,e){case"top":n={left:"50%",transform:"translateX(-50%)",right:"auto",top:t,bottom:"auto"};break;case"topLeft":n={left:0,top:t,bottom:"auto"};break;case"topRight":n={right:0,top:t,bottom:"auto"};break;case"bottom":n={left:"50%",transform:"translateX(-50%)",right:"auto",top:"auto",bottom:r};break;case"bottomLeft":n={left:0,top:"auto",bottom:r};break;default:n={right:0,top:"auto",bottom:r};break}return n}function Gue(e){return{name:`${e}-fade`}}var Wue=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(e);ie.prefixCls||n("notification")),o=y=>{var _,S;return B8(y,(_=e.top)!==null&&_!==void 0?_:L3,(S=e.bottom)!==null&&S!==void 0?S:L3)},[,s]=z8(a),c=()=>hi(s.value,{[`${a.value}-rtl`]:e.rtl}),d=()=>Gue(a.value),[m,v]=C8({prefixCls:a.value,getStyles:o,getClassName:c,motion:d,closable:!0,closeIcon:jue(a.value),duration:que,getContainer:()=>{var y,_;return((y=e.getPopupContainer)===null||y===void 0?void 0:y.call(e))||((_=i.value)===null||_===void 0?void 0:_.call(i))||document.body},maxCount:e.maxCount,hashId:s.value,onAllRemoved:e.onAllRemoved});return r(Be(Be({},m),{prefixCls:a.value,hashId:s})),v}});function Xue(e){const t=on(null),r=Symbol("notificationHolderKey"),n=s=>{if(!t.value)return;const{open:c,prefixCls:d,hashId:m}=t.value,v=`${d}-notice`,{message:y,description:_,icon:S,type:I,btn:E,class:M}=s,L=Wue(s,["message","description","icon","type","btn","class"]);return c(Be(Be({placement:"topRight"},L),{content:()=>ke(Uue,{prefixCls:v,icon:typeof S=="function"?S():S,type:I,message:typeof y=="function"?y():y,description:typeof _=="function"?_():_,btn:typeof E=="function"?E():E},null),class:hi(I&&`${v}-${I}`,m,M)}))},a={open:n,destroy:s=>{var c,d;s!==void 0?(c=t.value)===null||c===void 0||c.close(s):(d=t.value)===null||d===void 0||d.destroy()}};return["success","info","warning","error"].forEach(s=>{a[s]=c=>n(Be(Be({},c),{type:s}))}),[a,()=>ke(Zue,Sn(Sn({key:r},e),{},{ref:t}),null)]}function Kue(e){return Xue(e)}const Dh={};let F8=4.5,$8="24px",N8="24px",bP="",V8="topRight",j8=()=>document.body,H8=null,xP=!1,U8;function Yue(e){const{duration:t,placement:r,bottom:n,top:i,getContainer:a,closeIcon:o,prefixCls:s}=e;s!==void 0&&(bP=s),t!==void 0&&(F8=t),r!==void 0&&(V8=r),n!==void 0&&(N8=typeof n=="number"?`${n}px`:n),i!==void 0&&($8=typeof i=="number"?`${i}px`:i),a!==void 0&&(j8=a),o!==void 0&&(H8=o),e.rtl!==void 0&&(xP=e.rtl),e.maxCount!==void 0&&(U8=e.maxCount)}function Jue(e,t){let{prefixCls:r,placement:n=V8,getContainer:i=j8,top:a,bottom:o,closeIcon:s=H8,appContext:c}=e;const{getPrefixCls:d}=cce(),m=d("notification",r||bP),v=`${m}-${n}-${xP}`,y=Dh[v];if(y){Promise.resolve(y).then(S=>{t(S)});return}const _=hi(`${m}-${n}`,{[`${m}-rtl`]:xP===!0});Ab.newInstance({name:"notification",prefixCls:r||bP,useStyle:z8,class:_,style:B8(n,a??$8,o??N8),appContext:c,getContainer:i,closeIcon:S=>{let{prefixCls:I}=S;return ke("span",{class:`${I}-close-x`},[Bd(s,{},ke(jy,{class:`${I}-close-icon`},null))])},maxCount:U8,hasTransitionName:!0},S=>{Dh[v]=S,t(S)})}const Que={success:nE,info:aE,error:oE,warning:iE};function ece(e){const{icon:t,type:r,description:n,message:i,btn:a}=e,o=e.duration===void 0?F8:e.duration;Jue(e,s=>{s.notice({content:c=>{let{prefixCls:d}=c;const m=`${d}-notice`;let v=null;if(t)v=()=>ke("span",{class:`${m}-icon`},[Bd(t)]);else if(r){const y=Que[r];v=()=>ke(y,{class:`${m}-icon ${m}-icon-${r}`},null)}return ke("div",{class:v?`${m}-with-icon`:""},[v&&v(),ke("div",{class:`${m}-message`},[!n&&v?ke("span",{class:`${m}-message-single-line-auto-margin`},null):null,Bd(i)]),ke("div",{class:`${m}-description`},[Bd(n)]),a?ke("span",{class:`${m}-btn`},[Bd(a)]):null])},duration:o,closable:!0,onClose:e.onClose,onClick:e.onClick,key:e.key,style:e.style||{},class:e.class})})}const Sp={open:ece,close(e){Object.keys(Dh).forEach(t=>Promise.resolve(Dh[t]).then(r=>{r.removeNotice(e)}))},config:Yue,destroy(){Object.keys(Dh).forEach(e=>{Promise.resolve(Dh[e]).then(t=>{t.destroy()}),delete Dh[e]})}},tce=["success","info","warning","error"];tce.forEach(e=>{Sp[e]=t=>Sp.open(Be(Be({},t),{type:e}))});Sp.warn=Sp.warning;Sp.useNotification=Kue;const rce=`-ant-${Date.now()}-${Math.random()}`;function nce(e,t){const r={},n=(o,s)=>{let c=o.clone();return c=(s==null?void 0:s(c))||c,c.toRgbString()},i=(o,s)=>{const c=new zi(o),d=rf(c.toRgbString());r[`${s}-color`]=n(c),r[`${s}-color-disabled`]=d[1],r[`${s}-color-hover`]=d[4],r[`${s}-color-active`]=d[6],r[`${s}-color-outline`]=c.clone().setAlpha(.2).toRgbString(),r[`${s}-color-deprecated-bg`]=d[0],r[`${s}-color-deprecated-border`]=d[2]};if(t.primaryColor){i(t.primaryColor,"primary");const o=new zi(t.primaryColor),s=rf(o.toRgbString());s.forEach((d,m)=>{r[`primary-${m+1}`]=d}),r["primary-color-deprecated-l-35"]=n(o,d=>d.lighten(35)),r["primary-color-deprecated-l-20"]=n(o,d=>d.lighten(20)),r["primary-color-deprecated-t-20"]=n(o,d=>d.tint(20)),r["primary-color-deprecated-t-50"]=n(o,d=>d.tint(50)),r["primary-color-deprecated-f-12"]=n(o,d=>d.setAlpha(d.getAlpha()*.12));const c=new zi(s[0]);r["primary-color-active-deprecated-f-30"]=n(c,d=>d.setAlpha(d.getAlpha()*.3)),r["primary-color-active-deprecated-d-02"]=n(c,d=>d.darken(2))}return t.successColor&&i(t.successColor,"success"),t.warningColor&&i(t.warningColor,"warning"),t.errorColor&&i(t.errorColor,"error"),t.infoColor&&i(t.infoColor,"info"),` + :root { + ${Object.keys(r).map(o=>`--${e}-${o}: ${r[o]};`).join(` +`)} + } + `.trim()}function ice(e,t){const r=nce(e,t);jp()&&xb(r,`${rce}-dynamic-theme`)}const ace=e=>{const[t,r]=$y();return iP(Le(()=>({theme:t.value,token:r.value,hashId:"",path:["ant-design-icons",e.value]})),()=>[{[`.${e.value}`]:Be(Be({},dae()),{[`.${e.value} .${e.value}-icon`]:{display:"block"}})}])};function oce(e,t){const r=Le(()=>(e==null?void 0:e.value)||{}),n=Le(()=>r.value.inherit===!1||!(t!=null&&t.value)?R$:t.value);return Le(()=>{if(!(e!=null&&e.value))return t==null?void 0:t.value;const a=Be({},n.value.components);return Object.keys(e.value.components||{}).forEach(o=>{a[o]=Be(Be({},a[o]),e.value.components[o])}),Be(Be(Be({},n.value),r.value),{token:Be(Be({},n.value.token),r.value.token),components:a})})}var sce=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(e);i{Be(Ji,uE),Ji.prefixCls=rp(),Ji.iconPrefixCls=G8(),Ji.getPrefixCls=(e,t)=>t||(e?`${Ji.prefixCls}-${e}`:Ji.prefixCls),Ji.getRootPrefixCls=()=>Ji.prefixCls?Ji.prefixCls:rp()});let A2;const uce=e=>{A2&&A2(),A2=Hl(()=>{Be(uE,oo(e)),Be(Ji,oo(e))}),e.theme&&ice(rp(),e.theme)},cce=()=>({getPrefixCls:(e,t)=>t||(e?`${rp()}-${e}`:rp()),getIconPrefixCls:G8,getRootPrefixCls:()=>Ji.prefixCls?Ji.prefixCls:rp()}),Zh=Zt({compatConfig:{MODE:3},name:"AConfigProvider",inheritAttrs:!1,props:One(),setup(e,t){let{slots:r}=t;const n=i$(),i=(ue,_e)=>{const{prefixCls:He="ant"}=e;if(_e)return _e;const $e=He||n.getPrefixCls("");return ue?`${$e}-${ue}`:$e},a=Le(()=>e.iconPrefixCls||n.iconPrefixCls.value||UI),o=Le(()=>a.value!==n.iconPrefixCls.value),s=Le(()=>{var ue;return e.csp||((ue=n.csp)===null||ue===void 0?void 0:ue.value)}),c=ace(a),d=oce(Le(()=>e.theme),Le(()=>{var ue;return(ue=n.theme)===null||ue===void 0?void 0:ue.value})),m=ue=>(e.renderEmpty||r.renderEmpty||n.renderEmpty||Aae)(ue),v=Le(()=>{var ue,_e;return(ue=e.autoInsertSpaceInButton)!==null&&ue!==void 0?ue:(_e=n.autoInsertSpaceInButton)===null||_e===void 0?void 0:_e.value}),y=Le(()=>{var ue;return e.locale||((ue=n.locale)===null||ue===void 0?void 0:ue.value)});$r(y,()=>{uE.locale=y.value},{immediate:!0});const _=Le(()=>{var ue;return e.direction||((ue=n.direction)===null||ue===void 0?void 0:ue.value)}),S=Le(()=>{var ue,_e;return(ue=e.space)!==null&&ue!==void 0?ue:(_e=n.space)===null||_e===void 0?void 0:_e.value}),I=Le(()=>{var ue,_e;return(ue=e.virtual)!==null&&ue!==void 0?ue:(_e=n.virtual)===null||_e===void 0?void 0:_e.value}),E=Le(()=>{var ue,_e;return(ue=e.dropdownMatchSelectWidth)!==null&&ue!==void 0?ue:(_e=n.dropdownMatchSelectWidth)===null||_e===void 0?void 0:_e.value}),M=Le(()=>{var ue;return e.getTargetContainer!==void 0?e.getTargetContainer:(ue=n.getTargetContainer)===null||ue===void 0?void 0:ue.value}),L=Le(()=>{var ue;return e.getPopupContainer!==void 0?e.getPopupContainer:(ue=n.getPopupContainer)===null||ue===void 0?void 0:ue.value}),R=Le(()=>{var ue;return e.pageHeader!==void 0?e.pageHeader:(ue=n.pageHeader)===null||ue===void 0?void 0:ue.value}),$=Le(()=>{var ue;return e.input!==void 0?e.input:(ue=n.input)===null||ue===void 0?void 0:ue.value}),G=Le(()=>{var ue;return e.pagination!==void 0?e.pagination:(ue=n.pagination)===null||ue===void 0?void 0:ue.value}),j=Le(()=>{var ue;return e.form!==void 0?e.form:(ue=n.form)===null||ue===void 0?void 0:ue.value}),H=Le(()=>{var ue;return e.select!==void 0?e.select:(ue=n.select)===null||ue===void 0?void 0:ue.value}),Z=Le(()=>e.componentSize),Q=Le(()=>e.componentDisabled),ee=Le(()=>{var ue,_e;return(ue=e.wave)!==null&&ue!==void 0?ue:(_e=n.wave)===null||_e===void 0?void 0:_e.value}),ne={csp:s,autoInsertSpaceInButton:v,locale:y,direction:_,space:S,virtual:I,dropdownMatchSelectWidth:E,getPrefixCls:i,iconPrefixCls:a,theme:Le(()=>{var ue,_e;return(ue=d.value)!==null&&ue!==void 0?ue:(_e=n.theme)===null||_e===void 0?void 0:_e.value}),renderEmpty:m,getTargetContainer:M,getPopupContainer:L,pageHeader:R,input:$,pagination:G,form:j,select:H,componentSize:Z,componentDisabled:Q,transformCellText:Le(()=>e.transformCellText),wave:ee},ie=Le(()=>{const ue=d.value||{},{algorithm:_e,token:He}=ue,$e=sce(ue,["algorithm","token"]),lt=_e&&(!Array.isArray(_e)||_e.length>0)?_$(_e):void 0;return Be(Be({},$e),{theme:lt,token:Be(Be({},Wx),He)})}),ce=Le(()=>{var ue,_e;let He={};return y.value&&(He=((ue=y.value.Form)===null||ue===void 0?void 0:ue.defaultValidateMessages)||((_e=ey.Form)===null||_e===void 0?void 0:_e.defaultValidateMessages)||{}),e.form&&e.form.validateMessages&&(He=Be(Be({},He),e.form.validateMessages)),He});zne(ne),Rne({validateMessages:ce}),Iae(Z),Bne(Q);const Ae=ue=>{var _e,He;let $e=o.value?c((_e=r.default)===null||_e===void 0?void 0:_e.call(r)):(He=r.default)===null||He===void 0?void 0:He.call(r);if(e.theme){const lt=function(){return $e}();$e=ke(wae,{value:ie.value},{default:()=>[lt]})}return ke(pue,{locale:y.value||ue,ANT_MARK__:_P},{default:()=>[$e]})};return Hl(()=>{_.value&&(oy.config({rtl:_.value==="rtl"}),Sp.config({rtl:_.value==="rtl"}))}),()=>ke(s$,{children:(ue,_e,He)=>Ae(He)},null)}});Zh.config=uce;Zh.install=function(e){e.component(Zh.name,Zh)};function k3(e,t){return{[`${e}, ${e}:hover, ${e}:focus`]:{color:t.colorTextDisabled,cursor:"not-allowed"}}}function R3(e){return{backgroundColor:e.bgColorSelected,boxShadow:e.boxShadow}}const hce=Be({overflow:"hidden"},fae),fce=e=>{const{componentCls:t}=e;return{[t]:Be(Be(Be(Be(Be({},KI(e)),{display:"inline-block",padding:e.segmentedContainerPadding,color:e.labelColor,backgroundColor:e.bgColor,borderRadius:e.borderRadius,transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,[`${t}-group`]:{position:"relative",display:"flex",alignItems:"stretch",justifyItems:"flex-start",width:"100%"},[`&${t}-rtl`]:{direction:"rtl"},[`&${t}-block`]:{display:"flex"},[`&${t}-block ${t}-item`]:{flex:1,minWidth:0},[`${t}-item`]:{position:"relative",textAlign:"center",cursor:"pointer",transition:`color ${e.motionDurationMid} ${e.motionEaseInOut}`,borderRadius:e.borderRadiusSM,"&-selected":Be(Be({},R3(e)),{color:e.labelColorHover}),"&::after":{content:'""',position:"absolute",width:"100%",height:"100%",top:0,insetInlineStart:0,borderRadius:"inherit",transition:`background-color ${e.motionDurationMid}`,pointerEvents:"none"},[`&:hover:not(${t}-item-selected):not(${t}-item-disabled)`]:{color:e.labelColorHover,"&::after":{backgroundColor:e.bgColorHover}},"&-label":Be({minHeight:e.controlHeight-e.segmentedContainerPadding*2,lineHeight:`${e.controlHeight-e.segmentedContainerPadding*2}px`,padding:`0 ${e.segmentedPaddingHorizontal}px`},hce),"&-icon + *":{marginInlineStart:e.marginSM/2},"&-input":{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:0,height:0,opacity:0,pointerEvents:"none"}},[`${t}-thumb`]:Be(Be({},R3(e)),{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:0,height:"100%",padding:`${e.paddingXXS}px 0`,borderRadius:e.borderRadiusSM,[`& ~ ${t}-item:not(${t}-item-selected):not(${t}-item-disabled)::after`]:{backgroundColor:"transparent"}}),[`&${t}-lg`]:{borderRadius:e.borderRadiusLG,[`${t}-item-label`]:{minHeight:e.controlHeightLG-e.segmentedContainerPadding*2,lineHeight:`${e.controlHeightLG-e.segmentedContainerPadding*2}px`,padding:`0 ${e.segmentedPaddingHorizontal}px`,fontSize:e.fontSizeLG},[`${t}-item, ${t}-thumb`]:{borderRadius:e.borderRadius}},[`&${t}-sm`]:{borderRadius:e.borderRadiusSM,[`${t}-item-label`]:{minHeight:e.controlHeightSM-e.segmentedContainerPadding*2,lineHeight:`${e.controlHeightSM-e.segmentedContainerPadding*2}px`,padding:`0 ${e.segmentedPaddingHorizontalSM}px`},[`${t}-item, ${t}-thumb`]:{borderRadius:e.borderRadiusXS}}}),k3(`&-disabled ${t}-item`,e)),k3(`${t}-item-disabled`,e)),{[`${t}-thumb-motion-appear-active`]:{transition:`transform ${e.motionDurationSlow} ${e.motionEaseInOut}, width ${e.motionDurationSlow} ${e.motionEaseInOut}`,willChange:"transform, width"}})}},dce=hf("Segmented",e=>{const{lineWidthBold:t,lineWidth:r,colorTextLabel:n,colorText:i,colorFillSecondary:a,colorBgLayout:o,colorBgElevated:s}=e,c=pc(e,{segmentedPaddingHorizontal:e.controlPaddingHorizontal-r,segmentedPaddingHorizontalSM:e.controlPaddingHorizontalSM-r,segmentedContainerPadding:t,labelColor:n,labelColorHover:i,bgColor:o,bgColorHover:a,bgColorSelected:s});return[fce(c)]}),O3=e=>e?{left:e.offsetLeft,right:e.parentElement.clientWidth-e.clientWidth-e.offsetLeft,width:e.clientWidth}:null,dd=e=>e!==void 0?`${e}px`:void 0,pce=Zt({props:{value:is(),getValueIndex:is(),prefixCls:is(),motionName:is(),onMotionStart:is(),onMotionEnd:is(),direction:is(),containerRef:is()},emits:["motionStart","motionEnd"],setup(e,t){let{emit:r}=t;const n=Qt(),i=S=>{var I;const E=e.getValueIndex(S),M=(I=e.containerRef.value)===null||I===void 0?void 0:I.querySelectorAll(`.${e.prefixCls}-item`)[E];return(M==null?void 0:M.offsetParent)&&M},a=Qt(null),o=Qt(null);$r(()=>e.value,(S,I)=>{const E=i(I),M=i(S),L=O3(E),R=O3(M);a.value=L,o.value=R,r(E&&M?"motionStart":"motionEnd")},{flush:"post"});const s=Le(()=>{var S,I;return e.direction==="rtl"?dd(-((S=a.value)===null||S===void 0?void 0:S.right)):dd((I=a.value)===null||I===void 0?void 0:I.left)}),c=Le(()=>{var S,I;return e.direction==="rtl"?dd(-((S=o.value)===null||S===void 0?void 0:S.right)):dd((I=o.value)===null||I===void 0?void 0:I.left)});let d;const m=S=>{clearTimeout(d),No(()=>{S&&(S.style.transform="translateX(var(--thumb-start-left))",S.style.width="var(--thumb-start-width)")})},v=S=>{d=setTimeout(()=>{S&&(cue(S,`${e.motionName}-appear-active`),S.style.transform="translateX(var(--thumb-active-left))",S.style.width="var(--thumb-active-width)")})},y=S=>{a.value=null,o.value=null,S&&(S.style.transform=null,S.style.width=null,hue(S,`${e.motionName}-appear-active`)),r("motionEnd")},_=Le(()=>{var S,I;return{"--thumb-start-left":s.value,"--thumb-start-width":dd((S=a.value)===null||S===void 0?void 0:S.width),"--thumb-active-left":c.value,"--thumb-active-width":dd((I=o.value)===null||I===void 0?void 0:I.width)}});return fc(()=>{clearTimeout(d)}),()=>{const S={ref:n,style:_.value,class:[`${e.prefixCls}-thumb`]};return ke(rl,{appear:!0,onBeforeEnter:m,onEnter:v,onAfterEnter:y},{default:()=>[!a.value||!o.value?null:ke("div",S,null)]})}}});function mce(e){return e.map(t=>typeof t=="object"&&t!==null?t:{label:t==null?void 0:t.toString(),title:t==null?void 0:t.toString(),value:t})}const vce=()=>({prefixCls:String,options:YC(),block:Hh(),disabled:Hh(),size:JC(),value:Be(Be({},r$([String,Number])),{required:!0}),motionName:String,onChange:wR(),"onUpdate:value":wR()}),W8=(e,t)=>{let{slots:r,emit:n}=t;const{value:i,disabled:a,payload:o,title:s,prefixCls:c,label:d=r.label,checked:m,className:v}=e,y=_=>{a||n("change",_,i)};return ke("label",{class:hi({[`${c}-item-disabled`]:a},v)},[ke("input",{class:`${c}-item-input`,type:"radio",disabled:a,checked:m,onChange:y},null),ke("div",{class:`${c}-item-label`,title:typeof s=="string"?s:""},[typeof d=="function"?d({value:i,disabled:a,payload:o,title:s}):d??i])])};W8.inheritAttrs=!1;const gce=Zt({name:"ASegmented",inheritAttrs:!1,props:K9(vce(),{options:[],motionName:"thumb-motion"}),slots:Object,setup(e,t){let{emit:r,slots:n,attrs:i}=t;const{prefixCls:a,direction:o,size:s}=Kl("segmented",e),[c,d]=dce(a),m=on(),v=on(!1),y=Le(()=>mce(e.options)),_=(S,I)=>{e.disabled||(r("update:value",I),r("change",I))};return()=>{const S=a.value;return c(ke("div",Sn(Sn({},i),{},{class:hi(S,{[d.value]:!0,[`${S}-block`]:e.block,[`${S}-disabled`]:e.disabled,[`${S}-lg`]:s.value=="large",[`${S}-sm`]:s.value=="small",[`${S}-rtl`]:o.value==="rtl"},i.class),ref:m}),[ke("div",{class:`${S}-group`},[ke(pce,{containerRef:m,prefixCls:S,value:e.value,motionName:`${S}-${e.motionName}`,direction:o.value,getValueIndex:I=>y.value.findIndex(E=>E.value===I),onMotionStart:()=>{v.value=!0},onMotionEnd:()=>{v.value=!1}},null),y.value.map(I=>ke(W8,Sn(Sn({key:I.value,prefixCls:S,checked:I.value===e.value,onChange:_},I),{},{className:hi(I.className,`${S}-item`,{[`${S}-item-selected`]:I.value===e.value&&!v.value}),disabled:!!e.disabled||!!I.disabled}),n))])]))}}}),q8=Vx(gce),yce={components:{AButton:Sg},data(){return{keySelected:null}},props:{objs:{},initPos:{type:Number,default:0}},mounted(){this.select(Object.keys(this.objs)[this.initPos])},watch:{objs(e){for(let t in this.objs){this.keySelected=t;break}}},computed:{},methods:{select:function(e){this.keySelected=e}}};function _ce(e,t,r,n,i,a){const o=jn("a-button");return et(),Tt(Er,null,[(et(!0),Tt(Er,null,xa(r.objs,(s,c,d)=>(et(),An(o,{key:d,onClick:m=>a.select(c),class:Bi(c==i.keySelected?"selected":"unselected"),type:c==i.keySelected?"primary":"default",size:"large"},{default:jr(()=>[Js(mr(c),1)]),_:2},1032,["onClick","class","type"]))),128)),Bn(e.$slots,"default",{selected:r.objs[i.keySelected]})],64)}const Z8=Ir(yce,[["render",_ce],["__file","ObjectSelector.vue"]]),bce={data(){return{data:null}},props:{path:{type:String}},watch:{path(e){if(e)return Lr.get(e).then(t=>{this.data=t.data})}}};function xce(e,t,r,n,i,a){return Bn(e.$slots,"default",{data:i.data})}const X8=Ir(bce,[["render",xce],["__file","DataRequest.vue"]]),wce={props:["data"]},Sce={class:"cards"};function Tce(e,t,r,n,i,a){return et(),Tt("div",Sce,[(et(!0),Tt(Er,null,xa(r.data,(o,s)=>(et(),Tt("div",{key:s,class:"card"},mr(o),1))),128))])}const Cce=Ir(wce,[["render",Tce],["__scopeId","data-v-00202de1"],["__file","GridList.vue"]]),Pce={name:"BusTable",components:{"a-config-provider":Zh,"bus-timer":Sne,"data-request":X8,"object-selector":Z8,"grid-list":Cce},mounted(){function e(t){var r={};for(let v=0;v{e(t.data)})}},Ace={id:"bustable"},Ice=It("br",null,null,-1);function Ece(e,t,r,n,i,a){const o=jn("bus-timer"),s=jn("grid-list"),c=jn("data-request"),d=jn("object-selector"),m=jn("a-config-provider");return et(),Tt("div",Ace,[ke(m,{theme:{token:{colorPrimary:"#ED6D00"}}},{default:jr(()=>[ke(d,{objs:{"工作日 Workday":!0,"节假日 Holiday":!1}},{default:jr(v=>[Ice,ke(m,{theme:{token:{colorPrimary:"#49BF7C"}}},{default:jr(()=>[ke(d,{objs:v.selected?{"Line 1 号线 │ 工学院方向 To COE":"/bus_times/one_down.json","Line 1 号线 │ 欣园方向 To Joy Highland":"/bus_times/one_up.json","Line 2 号线 │ 科研楼方向 To Research Bldg.":"/bus_times/two_down.json","Line 2 号线 │ 欣园方向 To Joy Highland":"/bus_times/two_up.json"}:{"Line 1 号线 │ 工学院方向 To COE":"/bus_times/one_down_holiday.json","Line 1 号线 │ 欣园方向 To Joy Highland":"/bus_times/one_up_holiday.json"}},{default:jr(y=>[ke(c,{path:y.selected},{default:jr(({data:_})=>[_?(et(),An(o,zW(wF({key:0},_)),null,16)):Xr("",!0),_?(et(),An(s,{key:1,data:_.times},null,8,["data"])):Xr("",!0)]),_:2},1032,["path"])]),_:2},1032,["objs"])]),_:2},1024)]),_:1})]),_:1})])}const Mce=Ir(Pce,[["render",Ece],["__file","BusTable.vue"]]),Dce={name:"TabView",components:{ASegmented:q8},props:{isMapTabEnabled:{type:Boolean,default:!0}},setup(e){const t=Qt("bus-location"),r=Qt("bus-location"),n=Qt([{value:"bus-location",payload:{title:"车辆实时位置",subTitle:"Bus Realtime Location"}},{value:"timetable",payload:{title:"时间表",subTitle:"Timetable"}}]),i=o=>{r.value=o};let a=e.isMapTabEnabled;return{initSelect:t,currentSelect:r,tabOptions:n,switchTab:i,showMapChart:a}}},Lce={style:{padding:"4px 8px"}},kce={class:"tab-container"},Rce={key:0},Oce={key:0,class:"bus-location-hint"},zce={key:1};function Bce(e,t,r,n,i,a){const o=jn("a-segmented"),s=jn("RealtimeMap"),c=jn("BusChartVue"),d=jn("BusTable");return et(),Tt("div",null,[ke(o,{value:n.initSelect,"onUpdate:value":t[0]||(t[0]=m=>n.initSelect=m),options:n.tabOptions,onChange:n.switchTab},{label:jr(({payload:m})=>[It("div",Lce,[It("div",null,mr(m.title),1),It("div",null,mr(m.subTitle),1)])]),_:1},8,["value","options","onChange"]),It("div",kce,[n.currentSelect==="bus-location"?(et(),Tt("div",Rce,[n.showMapChart?(et(),Tt("div",Oce,"位置每5秒自动刷新。Location refreshes automatically every 5 seconds. ")):Xr("",!0),n.showMapChart?(et(),An(s,{key:1})):Xr("",!0),ke(c)])):Xr("",!0),n.currentSelect==="timetable"?(et(),Tt("div",zce,[ke(d)])):Xr("",!0)])])}const Fce=Ir(Dce,[["render",Bce],["__scopeId","data-v-193a2a3d"],["__file","TabView.vue"]]);var K8={exports:{}};/** + * MapLibre GL JS + * @license 3-Clause BSD. Full text of license: https://github.com/maplibre/maplibre-gl-js/blob/v4.5.0/LICENSE.txt + */(function(e,t){(function(r,n){e.exports=n()})(ay,function(){var r={},n={};function i(o,s,c){if(n[o]=c,o==="index"){var d="var sharedModule = {}; ("+n.shared+")(sharedModule); ("+n.worker+")(sharedModule);",m={};return n.shared(m),n.index(r,m),typeof window<"u"&&r.setWorkerUrl(window.URL.createObjectURL(new Blob([d],{type:"text/javascript"}))),r}}i("shared",["exports"],function(o){function s(h,l,f,g){return new(f||(f=Promise))(function(x,T){function A(F){try{O(g.next(F))}catch(V){T(V)}}function D(F){try{O(g.throw(F))}catch(V){T(V)}}function O(F){var V;F.done?x(F.value):(V=F.value,V instanceof f?V:new f(function(U){U(V)})).then(A,D)}O((g=g.apply(h,l||[])).next())})}function c(h){return h&&h.__esModule&&Object.prototype.hasOwnProperty.call(h,"default")?h.default:h}typeof SuppressedError=="function"&&SuppressedError;var d=m;function m(h,l){this.x=h,this.y=l}m.prototype={clone:function(){return new m(this.x,this.y)},add:function(h){return this.clone()._add(h)},sub:function(h){return this.clone()._sub(h)},multByPoint:function(h){return this.clone()._multByPoint(h)},divByPoint:function(h){return this.clone()._divByPoint(h)},mult:function(h){return this.clone()._mult(h)},div:function(h){return this.clone()._div(h)},rotate:function(h){return this.clone()._rotate(h)},rotateAround:function(h,l){return this.clone()._rotateAround(h,l)},matMult:function(h){return this.clone()._matMult(h)},unit:function(){return this.clone()._unit()},perp:function(){return this.clone()._perp()},round:function(){return this.clone()._round()},mag:function(){return Math.sqrt(this.x*this.x+this.y*this.y)},equals:function(h){return this.x===h.x&&this.y===h.y},dist:function(h){return Math.sqrt(this.distSqr(h))},distSqr:function(h){var l=h.x-this.x,f=h.y-this.y;return l*l+f*f},angle:function(){return Math.atan2(this.y,this.x)},angleTo:function(h){return Math.atan2(this.y-h.y,this.x-h.x)},angleWith:function(h){return this.angleWithSep(h.x,h.y)},angleWithSep:function(h,l){return Math.atan2(this.x*l-this.y*h,this.x*h+this.y*l)},_matMult:function(h){var l=h[2]*this.x+h[3]*this.y;return this.x=h[0]*this.x+h[1]*this.y,this.y=l,this},_add:function(h){return this.x+=h.x,this.y+=h.y,this},_sub:function(h){return this.x-=h.x,this.y-=h.y,this},_mult:function(h){return this.x*=h,this.y*=h,this},_div:function(h){return this.x/=h,this.y/=h,this},_multByPoint:function(h){return this.x*=h.x,this.y*=h.y,this},_divByPoint:function(h){return this.x/=h.x,this.y/=h.y,this},_unit:function(){return this._div(this.mag()),this},_perp:function(){var h=this.y;return this.y=this.x,this.x=-h,this},_rotate:function(h){var l=Math.cos(h),f=Math.sin(h),g=f*this.x+l*this.y;return this.x=l*this.x-f*this.y,this.y=g,this},_rotateAround:function(h,l){var f=Math.cos(h),g=Math.sin(h),x=l.y+g*(this.x-l.x)+f*(this.y-l.y);return this.x=l.x+f*(this.x-l.x)-g*(this.y-l.y),this.y=x,this},_round:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this}},m.convert=function(h){return h instanceof m?h:Array.isArray(h)?new m(h[0],h[1]):h};var v=c(d),y=_;function _(h,l,f,g){this.cx=3*h,this.bx=3*(f-h)-this.cx,this.ax=1-this.cx-this.bx,this.cy=3*l,this.by=3*(g-l)-this.cy,this.ay=1-this.cy-this.by,this.p1x=h,this.p1y=l,this.p2x=f,this.p2y=g}_.prototype={sampleCurveX:function(h){return((this.ax*h+this.bx)*h+this.cx)*h},sampleCurveY:function(h){return((this.ay*h+this.by)*h+this.cy)*h},sampleCurveDerivativeX:function(h){return(3*this.ax*h+2*this.bx)*h+this.cx},solveCurveX:function(h,l){if(l===void 0&&(l=1e-6),h<0)return 0;if(h>1)return 1;for(var f=h,g=0;g<8;g++){var x=this.sampleCurveX(f)-h;if(Math.abs(x)x?A=f:D=f,f=.5*(D-A)+A;return f},solve:function(h,l){return this.sampleCurveY(this.solveCurveX(h,l))}};var S=c(y);let I,E;function M(){return I==null&&(I=typeof OffscreenCanvas<"u"&&new OffscreenCanvas(1,1).getContext("2d")&&typeof createImageBitmap=="function"),I}function L(){if(E==null&&(E=!1,M())){const l=new OffscreenCanvas(5,5).getContext("2d",{willReadFrequently:!0});if(l){for(let g=0;g<5*5;g++){const x=4*g;l.fillStyle=`rgb(${x},${x+1},${x+2})`,l.fillRect(g%5,Math.floor(g/5),1,1)}const f=l.getImageData(0,0,5,5).data;for(let g=0;g<5*5*4;g++)if(g%4!=3&&f[g]!==g){E=!0;break}}}return E||!1}function R(h,l,f,g){const x=new S(h,l,f,g);return T=>x.solve(T)}const $=R(.25,.1,.25,1);function G(h,l,f){return Math.min(f,Math.max(l,h))}function j(h,l,f){const g=f-l,x=((h-l)%g+g)%g+l;return x===l?f:x}function H(h,...l){for(const f of l)for(const g in f)h[g]=f[g];return h}let Z=1;function Q(h,l,f){const g={};for(const x in h)g[x]=l.call(this,h[x],x,h);return g}function ee(h,l,f){const g={};for(const x in h)l.call(this,h[x],x,h)&&(g[x]=h[x]);return g}function ne(h){return Array.isArray(h)?h.map(ne):typeof h=="object"&&h?Q(h,ne):h}const ie={};function ce(h){ie[h]||(typeof console<"u"&&console.warn(h),ie[h]=!0)}function Ae(h,l,f){return(f.y-h.y)*(l.x-h.x)>(l.y-h.y)*(f.x-h.x)}function ue(h){return typeof WorkerGlobalScope<"u"&&h!==void 0&&h instanceof WorkerGlobalScope}let _e=null;function He(h){return typeof ImageBitmap<"u"&&h instanceof ImageBitmap}const $e="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAC0lEQVQYV2NgAAIAAAUAAarVyFEAAAAASUVORK5CYII=";function lt(h,l,f,g,x){return s(this,void 0,void 0,function*(){if(typeof VideoFrame>"u")throw new Error("VideoFrame not supported");const T=new VideoFrame(h,{timestamp:0});try{const A=T==null?void 0:T.format;if(!A||!A.startsWith("BGR")&&!A.startsWith("RGB"))throw new Error(`Unrecognized format ${A}`);const D=A.startsWith("BGR"),O=new Uint8ClampedArray(g*x*4);if(yield T.copyTo(O,function(F,V,U,X,J){const re=4*Math.max(-V,0),se=(Math.max(0,U)-U)*X*4+re,de=4*X,we=Math.max(0,V),Re=Math.max(0,U);return{rect:{x:we,y:Re,width:Math.min(F.width,V+X)-we,height:Math.min(F.height,U+J)-Re},layout:[{offset:se,stride:de}]}}(h,l,f,g,x)),D)for(let F=0;Fue(self)?self.worker&&self.worker.referrer:(window.location.protocol==="blob:"?window.parent:window).location.href,tt=function(h,l){if(/:\/\//.test(h.url)&&!/^https?:|^file:/.test(h.url)){const g=yr(h.url);if(g)return g(h,l);if(ue(self)&&self.worker&&self.worker.actor)return self.worker.actor.sendAsync({type:"GR",data:h,targetMapId:ir},l)}if(!(/^file:/.test(f=h.url)||/^file:/.test(st())&&!/^\w+:/.test(f))){if(fetch&&Request&&AbortController&&Object.prototype.hasOwnProperty.call(Request.prototype,"signal"))return function(g,x){return s(this,void 0,void 0,function*(){const T=new Request(g.url,{method:g.method||"GET",body:g.body,credentials:g.credentials,headers:g.headers,cache:g.cache,referrer:st(),signal:x.signal});g.type!=="json"||T.headers.has("Accept")||T.headers.set("Accept","application/json");const A=yield fetch(T);if(!A.ok){const F=yield A.blob();throw new Ge(A.status,A.statusText,g.url,F)}let D;D=g.type==="arrayBuffer"||g.type==="image"?A.arrayBuffer():g.type==="json"?A.json():A.text();const O=yield D;if(x.signal.aborted)throw lr();return{data:O,cacheControl:A.headers.get("Cache-Control"),expires:A.headers.get("Expires")}})}(h,l);if(ue(self)&&self.worker&&self.worker.actor)return self.worker.actor.sendAsync({type:"GR",data:h,mustQueue:!0,targetMapId:ir},l)}var f;return function(g,x){return new Promise((T,A)=>{var D;const O=new XMLHttpRequest;O.open(g.method||"GET",g.url,!0),g.type!=="arrayBuffer"&&g.type!=="image"||(O.responseType="arraybuffer");for(const F in g.headers)O.setRequestHeader(F,g.headers[F]);g.type==="json"&&(O.responseType="text",!((D=g.headers)===null||D===void 0)&&D.Accept||O.setRequestHeader("Accept","application/json")),O.withCredentials=g.credentials==="include",O.onerror=()=>{A(new Error(O.statusText))},O.onload=()=>{if(!x.signal.aborted)if((O.status>=200&&O.status<300||O.status===0)&&O.response!==null){let F=O.response;if(g.type==="json")try{F=JSON.parse(O.response)}catch(V){return void A(V)}T({data:F,cacheControl:O.getResponseHeader("Cache-Control"),expires:O.getResponseHeader("Expires")})}else{const F=new Blob([O.response],{type:O.getResponseHeader("Content-Type")});A(new Ge(O.status,O.statusText,g.url,F))}},x.signal.addEventListener("abort",()=>{O.abort(),A(lr())}),O.send(g.body)})}(h,l)};function ft(h){if(!h||h.indexOf("://")<=0||h.indexOf("data:image/")===0||h.indexOf("blob:")===0)return!0;const l=new URL(h),f=window.location;return l.protocol===f.protocol&&l.host===f.host}function dt(h,l,f){f[h]&&f[h].indexOf(l)!==-1||(f[h]=f[h]||[],f[h].push(l))}function Dt(h,l,f){if(f&&f[h]){const g=f[h].indexOf(l);g!==-1&&f[h].splice(g,1)}}class fe{constructor(l,f={}){H(this,f),this.type=l}}class ge extends fe{constructor(l,f={}){super("error",H({error:l},f))}}class Fe{on(l,f){return this._listeners=this._listeners||{},dt(l,f,this._listeners),this}off(l,f){return Dt(l,f,this._listeners),Dt(l,f,this._oneTimeListeners),this}once(l,f){return f?(this._oneTimeListeners=this._oneTimeListeners||{},dt(l,f,this._oneTimeListeners),this):new Promise(g=>this.once(l,g))}fire(l,f){typeof l=="string"&&(l=new fe(l,f||{}));const g=l.type;if(this.listens(g)){l.target=this;const x=this._listeners&&this._listeners[g]?this._listeners[g].slice():[];for(const D of x)D.call(this,l);const T=this._oneTimeListeners&&this._oneTimeListeners[g]?this._oneTimeListeners[g].slice():[];for(const D of T)Dt(g,D,this._oneTimeListeners),D.call(this,l);const A=this._eventedParent;A&&(H(l,typeof this._eventedParentData=="function"?this._eventedParentData():this._eventedParentData),A.fire(l))}else l instanceof ge&&console.error(l.error);return this}listens(l){return this._listeners&&this._listeners[l]&&this._listeners[l].length>0||this._oneTimeListeners&&this._oneTimeListeners[l]&&this._oneTimeListeners[l].length>0||this._eventedParent&&this._eventedParent.listens(l)}setEventedParent(l,f){return this._eventedParent=l,this._eventedParentData=f,this}}var ye={$version:8,$root:{version:{required:!0,type:"enum",values:[8]},name:{type:"string"},metadata:{type:"*"},center:{type:"array",value:"number"},zoom:{type:"number"},bearing:{type:"number",default:0,period:360,units:"degrees"},pitch:{type:"number",default:0,units:"degrees"},light:{type:"light"},sky:{type:"sky"},projection:{type:"projection"},terrain:{type:"terrain"},sources:{required:!0,type:"sources"},sprite:{type:"sprite"},glyphs:{type:"string"},transition:{type:"transition"},layers:{required:!0,type:"array",value:"layer"}},sources:{"*":{type:"source"}},source:["source_vector","source_raster","source_raster_dem","source_geojson","source_video","source_image"],source_vector:{type:{required:!0,type:"enum",values:{vector:{}}},url:{type:"string"},tiles:{type:"array",value:"string"},bounds:{type:"array",value:"number",length:4,default:[-180,-85.051129,180,85.051129]},scheme:{type:"enum",values:{xyz:{},tms:{}},default:"xyz"},minzoom:{type:"number",default:0},maxzoom:{type:"number",default:22},attribution:{type:"string"},promoteId:{type:"promoteId"},volatile:{type:"boolean",default:!1},"*":{type:"*"}},source_raster:{type:{required:!0,type:"enum",values:{raster:{}}},url:{type:"string"},tiles:{type:"array",value:"string"},bounds:{type:"array",value:"number",length:4,default:[-180,-85.051129,180,85.051129]},minzoom:{type:"number",default:0},maxzoom:{type:"number",default:22},tileSize:{type:"number",default:512,units:"pixels"},scheme:{type:"enum",values:{xyz:{},tms:{}},default:"xyz"},attribution:{type:"string"},volatile:{type:"boolean",default:!1},"*":{type:"*"}},source_raster_dem:{type:{required:!0,type:"enum",values:{"raster-dem":{}}},url:{type:"string"},tiles:{type:"array",value:"string"},bounds:{type:"array",value:"number",length:4,default:[-180,-85.051129,180,85.051129]},minzoom:{type:"number",default:0},maxzoom:{type:"number",default:22},tileSize:{type:"number",default:512,units:"pixels"},attribution:{type:"string"},encoding:{type:"enum",values:{terrarium:{},mapbox:{},custom:{}},default:"mapbox"},redFactor:{type:"number",default:1},blueFactor:{type:"number",default:1},greenFactor:{type:"number",default:1},baseShift:{type:"number",default:0},volatile:{type:"boolean",default:!1},"*":{type:"*"}},source_geojson:{type:{required:!0,type:"enum",values:{geojson:{}}},data:{required:!0,type:"*"},maxzoom:{type:"number",default:18},attribution:{type:"string"},buffer:{type:"number",default:128,maximum:512,minimum:0},filter:{type:"*"},tolerance:{type:"number",default:.375},cluster:{type:"boolean",default:!1},clusterRadius:{type:"number",default:50,minimum:0},clusterMaxZoom:{type:"number"},clusterMinPoints:{type:"number"},clusterProperties:{type:"*"},lineMetrics:{type:"boolean",default:!1},generateId:{type:"boolean",default:!1},promoteId:{type:"promoteId"}},source_video:{type:{required:!0,type:"enum",values:{video:{}}},urls:{required:!0,type:"array",value:"string"},coordinates:{required:!0,type:"array",length:4,value:{type:"array",length:2,value:"number"}}},source_image:{type:{required:!0,type:"enum",values:{image:{}}},url:{required:!0,type:"string"},coordinates:{required:!0,type:"array",length:4,value:{type:"array",length:2,value:"number"}}},layer:{id:{type:"string",required:!0},type:{type:"enum",values:{fill:{},line:{},symbol:{},circle:{},heatmap:{},"fill-extrusion":{},raster:{},hillshade:{},background:{}},required:!0},metadata:{type:"*"},source:{type:"string"},"source-layer":{type:"string"},minzoom:{type:"number",minimum:0,maximum:24},maxzoom:{type:"number",minimum:0,maximum:24},filter:{type:"filter"},layout:{type:"layout"},paint:{type:"paint"}},layout:["layout_fill","layout_line","layout_circle","layout_heatmap","layout_fill-extrusion","layout_symbol","layout_raster","layout_hillshade","layout_background"],layout_background:{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_fill:{"fill-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_circle:{"circle-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_heatmap:{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},"layout_fill-extrusion":{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_line:{"line-cap":{type:"enum",values:{butt:{},round:{},square:{}},default:"butt",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"line-join":{type:"enum",values:{bevel:{},round:{},miter:{}},default:"miter",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"line-miter-limit":{type:"number",default:2,requires:[{"line-join":"miter"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"line-round-limit":{type:"number",default:1.05,requires:[{"line-join":"round"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"line-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_symbol:{"symbol-placement":{type:"enum",values:{point:{},line:{},"line-center":{}},default:"point",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"symbol-spacing":{type:"number",default:250,minimum:1,units:"pixels",requires:[{"symbol-placement":"line"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"symbol-avoid-edges":{type:"boolean",default:!1,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"symbol-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"symbol-z-order":{type:"enum",values:{auto:{},"viewport-y":{},source:{}},default:"auto",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-allow-overlap":{type:"boolean",default:!1,requires:["icon-image",{"!":"icon-overlap"}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-overlap":{type:"enum",values:{never:{},always:{},cooperative:{}},requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-ignore-placement":{type:"boolean",default:!1,requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-optional":{type:"boolean",default:!1,requires:["icon-image","text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-rotation-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-size":{type:"number",default:1,minimum:0,units:"factor of the original icon size",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-text-fit":{type:"enum",values:{none:{},width:{},height:{},both:{}},default:"none",requires:["icon-image","text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-text-fit-padding":{type:"array",value:"number",length:4,default:[0,0,0,0],units:"pixels",requires:["icon-image","text-field",{"icon-text-fit":["both","width","height"]}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"icon-image":{type:"resolvedImage",tokens:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-rotate":{type:"number",default:0,period:360,units:"degrees",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-padding":{type:"padding",default:[2],units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-keep-upright":{type:"boolean",default:!1,requires:["icon-image",{"icon-rotation-alignment":"map"},{"symbol-placement":["line","line-center"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-offset":{type:"array",value:"number",length:2,default:[0,0],requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-anchor":{type:"enum",values:{center:{},left:{},right:{},top:{},bottom:{},"top-left":{},"top-right":{},"bottom-left":{},"bottom-right":{}},default:"center",requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-pitch-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-pitch-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-rotation-alignment":{type:"enum",values:{map:{},viewport:{},"viewport-glyph":{},auto:{}},default:"auto",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-field":{type:"formatted",default:"",tokens:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-font":{type:"array",value:"string",default:["Open Sans Regular","Arial Unicode MS Regular"],requires:["text-field"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-size":{type:"number",default:16,minimum:0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-max-width":{type:"number",default:10,minimum:0,units:"ems",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-line-height":{type:"number",default:1.2,units:"ems",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-letter-spacing":{type:"number",default:0,units:"ems",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-justify":{type:"enum",values:{auto:{},left:{},center:{},right:{}},default:"center",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-radial-offset":{type:"number",units:"ems",default:0,requires:["text-field"],"property-type":"data-driven",expression:{interpolated:!0,parameters:["zoom","feature"]}},"text-variable-anchor":{type:"array",value:"enum",values:{center:{},left:{},right:{},top:{},bottom:{},"top-left":{},"top-right":{},"bottom-left":{},"bottom-right":{}},requires:["text-field",{"symbol-placement":["point"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-variable-anchor-offset":{type:"variableAnchorOffsetCollection",requires:["text-field",{"symbol-placement":["point"]}],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-anchor":{type:"enum",values:{center:{},left:{},right:{},top:{},bottom:{},"top-left":{},"top-right":{},"bottom-left":{},"bottom-right":{}},default:"center",requires:["text-field",{"!":"text-variable-anchor"}],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-max-angle":{type:"number",default:45,units:"degrees",requires:["text-field",{"symbol-placement":["line","line-center"]}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-writing-mode":{type:"array",value:"enum",values:{horizontal:{},vertical:{}},requires:["text-field",{"symbol-placement":["point"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-rotate":{type:"number",default:0,period:360,units:"degrees",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-padding":{type:"number",default:2,minimum:0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-keep-upright":{type:"boolean",default:!0,requires:["text-field",{"text-rotation-alignment":"map"},{"symbol-placement":["line","line-center"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-transform":{type:"enum",values:{none:{},uppercase:{},lowercase:{}},default:"none",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-offset":{type:"array",value:"number",units:"ems",length:2,default:[0,0],requires:["text-field",{"!":"text-radial-offset"}],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-allow-overlap":{type:"boolean",default:!1,requires:["text-field",{"!":"text-overlap"}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-overlap":{type:"enum",values:{never:{},always:{},cooperative:{}},requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-ignore-placement":{type:"boolean",default:!1,requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-optional":{type:"boolean",default:!1,requires:["text-field","icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_raster:{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_hillshade:{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},filter:{type:"array",value:"*"},filter_operator:{type:"enum",values:{"==":{},"!=":{},">":{},">=":{},"<":{},"<=":{},in:{},"!in":{},all:{},any:{},none:{},has:{},"!has":{}}},geometry_type:{type:"enum",values:{Point:{},LineString:{},Polygon:{}}},function:{expression:{type:"expression"},stops:{type:"array",value:"function_stop"},base:{type:"number",default:1,minimum:0},property:{type:"string",default:"$zoom"},type:{type:"enum",values:{identity:{},exponential:{},interval:{},categorical:{}},default:"exponential"},colorSpace:{type:"enum",values:{rgb:{},lab:{},hcl:{}},default:"rgb"},default:{type:"*",required:!1}},function_stop:{type:"array",minimum:0,maximum:24,value:["number","color"],length:2},expression:{type:"array",value:"*",minimum:1},light:{anchor:{type:"enum",default:"viewport",values:{map:{},viewport:{}},"property-type":"data-constant",transition:!1,expression:{interpolated:!1,parameters:["zoom"]}},position:{type:"array",default:[1.15,210,30],length:3,value:"number","property-type":"data-constant",transition:!0,expression:{interpolated:!0,parameters:["zoom"]}},color:{type:"color","property-type":"data-constant",default:"#ffffff",expression:{interpolated:!0,parameters:["zoom"]},transition:!0},intensity:{type:"number","property-type":"data-constant",default:.5,minimum:0,maximum:1,expression:{interpolated:!0,parameters:["zoom"]},transition:!0}},sky:{"sky-color":{type:"color","property-type":"data-constant",default:"#88C6FC",expression:{interpolated:!0,parameters:["zoom"]},transition:!0},"horizon-color":{type:"color","property-type":"data-constant",default:"#ffffff",expression:{interpolated:!0,parameters:["zoom"]},transition:!0},"fog-color":{type:"color","property-type":"data-constant",default:"#ffffff",expression:{interpolated:!0,parameters:["zoom"]},transition:!0},"fog-ground-blend":{type:"number","property-type":"data-constant",default:.5,minimum:0,maximum:1,expression:{interpolated:!0,parameters:["zoom"]},transition:!0},"horizon-fog-blend":{type:"number","property-type":"data-constant",default:.8,minimum:0,maximum:1,expression:{interpolated:!0,parameters:["zoom"]},transition:!0},"sky-horizon-blend":{type:"number","property-type":"data-constant",default:.8,minimum:0,maximum:1,expression:{interpolated:!0,parameters:["zoom"]},transition:!0},"atmosphere-blend":{type:"number","property-type":"data-constant",default:.8,minimum:0,maximum:1,expression:{interpolated:!0,parameters:["zoom"]},transition:!0}},terrain:{source:{type:"string",required:!0},exaggeration:{type:"number",minimum:0,default:1}},projection:{type:{type:"enum",default:"mercator",values:{mercator:{},globe:{}}}},paint:["paint_fill","paint_line","paint_circle","paint_heatmap","paint_fill-extrusion","paint_symbol","paint_raster","paint_hillshade","paint_background"],paint_fill:{"fill-antialias":{type:"boolean",default:!0,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"fill-pattern"}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-outline-color":{type:"color",transition:!0,requires:[{"!":"fill-pattern"},{"fill-antialias":!0}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["fill-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-pattern":{type:"resolvedImage",transition:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"cross-faded-data-driven"}},"paint_fill-extrusion":{"fill-extrusion-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"fill-extrusion-pattern"}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["fill-extrusion-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-pattern":{type:"resolvedImage",transition:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"cross-faded-data-driven"},"fill-extrusion-height":{type:"number",default:0,minimum:0,units:"meters",transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-base":{type:"number",default:0,minimum:0,units:"meters",transition:!0,requires:["fill-extrusion-height"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-vertical-gradient":{type:"boolean",default:!0,transition:!1,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"}},paint_line:{"line-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"line-pattern"}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"line-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["line-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"line-width":{type:"number",default:1,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-gap-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-offset":{type:"number",default:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-blur":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-dasharray":{type:"array",value:"number",minimum:0,transition:!0,units:"line widths",requires:[{"!":"line-pattern"}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"cross-faded"},"line-pattern":{type:"resolvedImage",transition:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"cross-faded-data-driven"},"line-gradient":{type:"color",transition:!1,requires:[{"!":"line-dasharray"},{"!":"line-pattern"},{source:"geojson",has:{lineMetrics:!0}}],expression:{interpolated:!0,parameters:["line-progress"]},"property-type":"color-ramp"}},paint_circle:{"circle-radius":{type:"number",default:5,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-blur":{type:"number",default:0,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"circle-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["circle-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"circle-pitch-scale":{type:"enum",values:{map:{},viewport:{}},default:"map",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"circle-pitch-alignment":{type:"enum",values:{map:{},viewport:{}},default:"viewport",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"circle-stroke-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-stroke-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-stroke-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"}},paint_heatmap:{"heatmap-radius":{type:"number",default:30,minimum:1,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"heatmap-weight":{type:"number",default:1,minimum:0,transition:!1,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"heatmap-intensity":{type:"number",default:1,minimum:0,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"heatmap-color":{type:"color",default:["interpolate",["linear"],["heatmap-density"],0,"rgba(0, 0, 255, 0)",.1,"royalblue",.3,"cyan",.5,"lime",.7,"yellow",1,"red"],transition:!1,expression:{interpolated:!0,parameters:["heatmap-density"]},"property-type":"color-ramp"},"heatmap-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},paint_symbol:{"icon-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-color":{type:"color",default:"#000000",transition:!0,requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-halo-color":{type:"color",default:"rgba(0, 0, 0, 0)",transition:!0,requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-halo-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-halo-blur":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"icon-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["icon-image","icon-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-color":{type:"color",default:"#000000",transition:!0,overridable:!0,requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-halo-color":{type:"color",default:"rgba(0, 0, 0, 0)",transition:!0,requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-halo-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-halo-blur":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["text-field","text-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"}},paint_raster:{"raster-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-hue-rotate":{type:"number",default:0,period:360,transition:!0,units:"degrees",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-brightness-min":{type:"number",default:0,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-brightness-max":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-saturation":{type:"number",default:0,minimum:-1,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-contrast":{type:"number",default:0,minimum:-1,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-resampling":{type:"enum",values:{linear:{},nearest:{}},default:"linear",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"raster-fade-duration":{type:"number",default:300,minimum:0,transition:!1,units:"milliseconds",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},paint_hillshade:{"hillshade-illumination-direction":{type:"number",default:335,minimum:0,maximum:359,transition:!1,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-illumination-anchor":{type:"enum",values:{map:{},viewport:{}},default:"viewport",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-exaggeration":{type:"number",default:.5,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-shadow-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-highlight-color":{type:"color",default:"#FFFFFF",transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-accent-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},paint_background:{"background-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"background-pattern"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"background-pattern":{type:"resolvedImage",transition:!0,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"cross-faded"},"background-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},transition:{duration:{type:"number",default:300,minimum:0,units:"milliseconds"},delay:{type:"number",default:0,minimum:0,units:"milliseconds"}},"property-type":{"data-driven":{type:"property-type"},"cross-faded":{type:"property-type"},"cross-faded-data-driven":{type:"property-type"},"color-ramp":{type:"property-type"},"data-constant":{type:"property-type"},constant:{type:"property-type"}},promoteId:{"*":{type:"string"}}};const qe=["type","source","source-layer","minzoom","maxzoom","filter","layout"];function rt(h,l){const f={};for(const g in h)g!=="ref"&&(f[g]=h[g]);return qe.forEach(g=>{g in l&&(f[g]=l[g])}),f}function Qe(h,l){if(Array.isArray(h)){if(!Array.isArray(l)||h.length!==l.length)return!1;for(let f=0;f`:h.itemType.kind==="value"?"array":`array<${l}>`}return h.kind}const oe=[Ei,ct,or,Kt,rn,Ho,Rn,Y(tr),bs,co,be];function me(h,l){if(l.kind==="error")return null;if(h.kind==="array"){if(l.kind==="array"&&(l.N===0&&l.itemType.kind==="value"||!me(h.itemType,l.itemType))&&(typeof h.N!="number"||h.N===l.N))return null}else{if(h.kind===l.kind)return null;if(h.kind==="value"){for(const f of oe)if(!me(f,l))return null}}return`Expected ${K(h)} but found ${K(l)} instead.`}function Ie(h,l){return l.some(f=>f.kind===h.kind)}function Ee(h,l){return l.some(f=>f==="null"?h===null:f==="array"?Array.isArray(h):f==="object"?h&&!Array.isArray(h)&&typeof h=="object":f===typeof h)}function Oe(h,l){return h.kind==="array"&&l.kind==="array"?h.itemType.kind===l.itemType.kind&&typeof h.N=="number":h.kind===l.kind}const Se=.96422,Ue=.82521,Ye=4/29,Ve=6/29,ht=3*Ve*Ve,jt=Ve*Ve*Ve,qt=Math.PI/180,hr=180/Math.PI;function Rr(h){return(h%=360)<0&&(h+=360),h}function cr([h,l,f,g]){let x,T;const A=Mn((.2225045*(h=ln(h))+.7168786*(l=ln(l))+.0606169*(f=ln(f)))/1);h===l&&l===f?x=T=A:(x=Mn((.4360747*h+.3850649*l+.1430804*f)/Se),T=Mn((.0139322*h+.0971045*l+.7141733*f)/Ue));const D=116*A-16;return[D<0?0:D,500*(x-A),200*(A-T),g]}function ln(h){return h<=.04045?h/12.92:Math.pow((h+.055)/1.055,2.4)}function Mn(h){return h>jt?Math.pow(h,1/3):h/ht+Ye}function Hn([h,l,f,g]){let x=(h+16)/116,T=isNaN(l)?x:x+l/500,A=isNaN(f)?x:x-f/200;return x=1*Wr(x),T=Se*Wr(T),A=Ue*Wr(A),[Tr(3.1338561*T-1.6168667*x-.4906146*A),Tr(-.9787684*T+1.9161415*x+.033454*A),Tr(.0719453*T-.2289914*x+1.4052427*A),g]}function Tr(h){return(h=h<=.00304?12.92*h:1.055*Math.pow(h,1/2.4)-.055)<0?0:h>1?1:h}function Wr(h){return h>Ve?h*h*h:ht*(h-Ye)}function xn(h){return parseInt(h.padEnd(2,h),16)/255}function Yn(h,l){return di(l?h/100:h,0,1)}function di(h,l,f){return Math.min(Math.max(l,h),f)}function pi(h){return!h.some(Number.isNaN)}const bc={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]};class qr{constructor(l,f,g,x=1,T=!0){this.r=l,this.g=f,this.b=g,this.a=x,T||(this.r*=x,this.g*=x,this.b*=x,x||this.overwriteGetter("rgb",[l,f,g,x]))}static parse(l){if(l instanceof qr)return l;if(typeof l!="string")return;const f=function(g){if((g=g.toLowerCase().trim())==="transparent")return[0,0,0,0];const x=bc[g];if(x){const[A,D,O]=x;return[A/255,D/255,O/255,1]}if(g.startsWith("#")&&/^#(?:[0-9a-f]{3,4}|[0-9a-f]{6}|[0-9a-f]{8})$/.test(g)){const A=g.length<6?1:2;let D=1;return[xn(g.slice(D,D+=A)),xn(g.slice(D,D+=A)),xn(g.slice(D,D+=A)),xn(g.slice(D,D+A)||"ff")]}if(g.startsWith("rgb")){const A=g.match(/^rgba?\(\s*([\de.+-]+)(%)?(?:\s+|\s*(,)\s*)([\de.+-]+)(%)?(?:\s+|\s*(,)\s*)([\de.+-]+)(%)?(?:\s*([,\/])\s*([\de.+-]+)(%)?)?\s*\)$/);if(A){const[D,O,F,V,U,X,J,re,se,de,we,Re]=A,Ce=[V||" ",J||" ",de].join("");if(Ce===" "||Ce===" /"||Ce===",,"||Ce===",,,"){const De=[F,X,se].join(""),je=De==="%%%"?100:De===""?255:0;if(je){const Je=[di(+O/je,0,1),di(+U/je,0,1),di(+re/je,0,1),we?Yn(+we,Re):1];if(pi(Je))return Je}}return}}const T=g.match(/^hsla?\(\s*([\de.+-]+)(?:deg)?(?:\s+|\s*(,)\s*)([\de.+-]+)%(?:\s+|\s*(,)\s*)([\de.+-]+)%(?:\s*([,\/])\s*([\de.+-]+)(%)?)?\s*\)$/);if(T){const[A,D,O,F,V,U,X,J,re]=T,se=[O||" ",V||" ",X].join("");if(se===" "||se===" /"||se===",,"||se===",,,"){const de=[+D,di(+F,0,100),di(+U,0,100),J?Yn(+J,re):1];if(pi(de))return function([we,Re,Ce,De]){function je(Je){const yt=(Je+we/30)%12,Ht=Re*Math.min(Ce,1-Ce);return Ce-Ht*Math.max(-1,Math.min(yt-3,9-yt,1))}return we=Rr(we),Re/=100,Ce/=100,[je(0),je(8),je(4),De]}(de)}}}(l);return f?new qr(...f,!1):void 0}get rgb(){const{r:l,g:f,b:g,a:x}=this,T=x||1/0;return this.overwriteGetter("rgb",[l/T,f/T,g/T,x])}get hcl(){return this.overwriteGetter("hcl",function(l){const[f,g,x,T]=cr(l),A=Math.sqrt(g*g+x*x);return[Math.round(1e4*A)?Rr(Math.atan2(x,g)*hr):NaN,A,f,T]}(this.rgb))}get lab(){return this.overwriteGetter("lab",cr(this.rgb))}overwriteGetter(l,f){return Object.defineProperty(this,l,{value:f}),f}toString(){const[l,f,g,x]=this.rgb;return`rgba(${[l,f,g].map(T=>Math.round(255*T)).join(",")},${x})`}}qr.black=new qr(0,0,0,1),qr.white=new qr(1,1,1,1),qr.transparent=new qr(0,0,0,0),qr.red=new qr(1,0,0,1);class im{constructor(l,f,g){this.sensitivity=l?f?"variant":"case":f?"accent":"base",this.locale=g,this.collator=new Intl.Collator(this.locale?this.locale:[],{sensitivity:this.sensitivity,usage:"search"})}compare(l,f){return this.collator.compare(l,f)}resolvedLocale(){return new Intl.Collator(this.locale?this.locale:[]).resolvedOptions().locale}}class am{constructor(l,f,g,x,T){this.text=l,this.image=f,this.scale=g,this.fontStack=x,this.textColor=T}}class aa{constructor(l){this.sections=l}static fromString(l){return new aa([new am(l,null,null,null,null)])}isEmpty(){return this.sections.length===0||!this.sections.some(l=>l.text.length!==0||l.image&&l.image.name.length!==0)}static factory(l){return l instanceof aa?l:aa.fromString(l)}toString(){return this.sections.length===0?"":this.sections.map(l=>l.text).join("")}}class oa{constructor(l){this.values=l.slice()}static parse(l){if(l instanceof oa)return l;if(typeof l=="number")return new oa([l,l,l,l]);if(Array.isArray(l)&&!(l.length<1||l.length>4)){for(const f of l)if(typeof f!="number")return;switch(l.length){case 1:l=[l[0],l[0],l[0],l[0]];break;case 2:l=[l[0],l[1],l[0],l[1]];break;case 3:l=[l[0],l[1],l[2],l[1]]}return new oa(l)}}toString(){return JSON.stringify(this.values)}}const zw=new Set(["center","left","right","top","bottom","top-left","top-right","bottom-left","bottom-right"]);class sa{constructor(l){this.values=l.slice()}static parse(l){if(l instanceof sa)return l;if(Array.isArray(l)&&!(l.length<1)&&l.length%2==0){for(let f=0;f=0&&h<=255&&typeof l=="number"&&l>=0&&l<=255&&typeof f=="number"&&f>=0&&f<=255?g===void 0||typeof g=="number"&&g>=0&&g<=1?null:`Invalid rgba value [${[h,l,f,g].join(", ")}]: 'a' must be between 0 and 1.`:`Invalid rgba value [${(typeof g=="number"?[h,l,f,g]:[h,l,f]).join(", ")}]: 'r', 'g', and 'b' must be between 0 and 255.`}function xc(h){if(h===null||typeof h=="string"||typeof h=="boolean"||typeof h=="number"||h instanceof qr||h instanceof im||h instanceof aa||h instanceof oa||h instanceof sa||h instanceof mi)return!0;if(Array.isArray(h)){for(const l of h)if(!xc(l))return!1;return!0}if(typeof h=="object"){for(const l in h)if(!xc(h[l]))return!1;return!0}return!1}function Un(h){if(h===null)return Ei;if(typeof h=="string")return or;if(typeof h=="boolean")return Kt;if(typeof h=="number")return ct;if(h instanceof qr)return rn;if(h instanceof im)return uo;if(h instanceof aa)return Ho;if(h instanceof oa)return bs;if(h instanceof sa)return be;if(h instanceof mi)return co;if(Array.isArray(h)){const l=h.length;let f;for(const g of h){const x=Un(g);if(f){if(f===x)continue;f=tr;break}f=x}return Y(f||tr,l)}return Rn}function Uo(h){const l=typeof h;return h===null?"":l==="string"||l==="number"||l==="boolean"?String(h):h instanceof qr||h instanceof aa||h instanceof oa||h instanceof sa||h instanceof mi?h.toString():JSON.stringify(h)}class cl{constructor(l,f){this.type=l,this.value=f}static parse(l,f){if(l.length!==2)return f.error(`'literal' expression requires exactly one argument, but found ${l.length-1} instead.`);if(!xc(l[1]))return f.error("invalid value");const g=l[1];let x=Un(g);const T=f.expectedType;return x.kind!=="array"||x.N!==0||!T||T.kind!=="array"||typeof T.N=="number"&&T.N!==0||(x=T),new cl(x,g)}evaluate(){return this.value}eachChild(){}outputDefined(){return!0}}class Nn{constructor(l){this.name="ExpressionEvaluationError",this.message=l}toJSON(){return this.message}}const _f={string:or,number:ct,boolean:Kt,object:Rn};class Sa{constructor(l,f){this.type=l,this.args=f}static parse(l,f){if(l.length<2)return f.error("Expected at least one argument.");let g,x=1;const T=l[0];if(T==="array"){let D,O;if(l.length>2){const F=l[1];if(typeof F!="string"||!(F in _f)||F==="object")return f.error('The item type argument of "array" must be one of string, number, boolean',1);D=_f[F],x++}else D=tr;if(l.length>3){if(l[2]!==null&&(typeof l[2]!="number"||l[2]<0||l[2]!==Math.floor(l[2])))return f.error('The length argument to "array" must be a positive integer literal',2);O=l[2],x++}g=Y(D,O)}else{if(!_f[T])throw new Error(`Types doesn't contain name = ${T}`);g=_f[T]}const A=[];for(;xl.outputDefined())}}const wc={"to-boolean":Kt,"to-color":rn,"to-number":ct,"to-string":or};class xs{constructor(l,f){this.type=l,this.args=f}static parse(l,f){if(l.length<2)return f.error("Expected at least one argument.");const g=l[0];if(!wc[g])throw new Error(`Can't parse ${g} as it is not part of the known types`);if((g==="to-boolean"||g==="to-string")&&l.length!==2)return f.error("Expected one argument.");const x=wc[g],T=[];for(let A=1;A4?`Invalid rbga value ${JSON.stringify(f)}: expected an array containing either three or four numeric values.`:yf(f[0],f[1],f[2],f[3]),!g))return new qr(f[0]/255,f[1]/255,f[2]/255,f[3])}throw new Nn(g||`Could not parse color from value '${typeof f=="string"?f:JSON.stringify(f)}'`)}case"padding":{let f;for(const g of this.args){f=g.evaluate(l);const x=oa.parse(f);if(x)return x}throw new Nn(`Could not parse padding from value '${typeof f=="string"?f:JSON.stringify(f)}'`)}case"variableAnchorOffsetCollection":{let f;for(const g of this.args){f=g.evaluate(l);const x=sa.parse(f);if(x)return x}throw new Nn(`Could not parse variableAnchorOffsetCollection from value '${typeof f=="string"?f:JSON.stringify(f)}'`)}case"number":{let f=null;for(const g of this.args){if(f=g.evaluate(l),f===null)return 0;const x=Number(f);if(!isNaN(x))return x}throw new Nn(`Could not convert ${JSON.stringify(f)} to number.`)}case"formatted":return aa.fromString(Uo(this.args[0].evaluate(l)));case"resolvedImage":return mi.fromString(Uo(this.args[0].evaluate(l)));default:return Uo(this.args[0].evaluate(l))}}eachChild(l){this.args.forEach(l)}outputDefined(){return this.args.every(l=>l.outputDefined())}}const om=["Unknown","Point","LineString","Polygon"];class Sc{constructor(){this.globals=null,this.feature=null,this.featureState=null,this.formattedSection=null,this._parseColorCache={},this.availableImages=null,this.canonical=null}id(){return this.feature&&"id"in this.feature?this.feature.id:null}geometryType(){return this.feature?typeof this.feature.type=="number"?om[this.feature.type]:this.feature.type:null}geometry(){return this.feature&&"geometry"in this.feature?this.feature.geometry:null}canonicalID(){return this.canonical}properties(){return this.feature&&this.feature.properties||{}}parseColor(l){let f=this._parseColorCache[l];return f||(f=this._parseColorCache[l]=qr.parse(l)),f}}class ws{constructor(l,f,g=[],x,T=new kn,A=[]){this.registry=l,this.path=g,this.key=g.map(D=>`[${D}]`).join(""),this.scope=T,this.errors=A,this.expectedType=x,this._isConstant=f}parse(l,f,g,x,T={}){return f?this.concat(f,g,x)._parse(l,T):this._parse(l,T)}_parse(l,f){function g(x,T,A){return A==="assert"?new Sa(T,[x]):A==="coerce"?new xs(T,[x]):x}if(l!==null&&typeof l!="string"&&typeof l!="boolean"&&typeof l!="number"||(l=["literal",l]),Array.isArray(l)){if(l.length===0)return this.error('Expected an array with at least one element. If you wanted a literal array, use ["literal", []].');const x=l[0];if(typeof x!="string")return this.error(`Expression name must be a string, but found ${typeof x} instead. If you wanted a literal array, use ["literal", [...]].`,0),null;const T=this.registry[x];if(T){let A=T.parse(l,this);if(!A)return null;if(this.expectedType){const D=this.expectedType,O=A.type;if(D.kind!=="string"&&D.kind!=="number"&&D.kind!=="boolean"&&D.kind!=="object"&&D.kind!=="array"||O.kind!=="value")if(D.kind!=="color"&&D.kind!=="formatted"&&D.kind!=="resolvedImage"||O.kind!=="value"&&O.kind!=="string")if(D.kind!=="padding"||O.kind!=="value"&&O.kind!=="number"&&O.kind!=="array")if(D.kind!=="variableAnchorOffsetCollection"||O.kind!=="value"&&O.kind!=="array"){if(this.checkSubtype(D,O))return null}else A=g(A,D,f.typeAnnotation||"coerce");else A=g(A,D,f.typeAnnotation||"coerce");else A=g(A,D,f.typeAnnotation||"coerce");else A=g(A,D,f.typeAnnotation||"assert")}if(!(A instanceof cl)&&A.type.kind!=="resolvedImage"&&this._isConstant(A)){const D=new Sc;try{A=new cl(A.type,A.evaluate(D))}catch(O){return this.error(O.message),null}}return A}return this.error(`Unknown expression "${x}". If you wanted a literal array, use ["literal", [...]].`,0)}return this.error(l===void 0?"'undefined' value invalid. Use null instead.":typeof l=="object"?'Bare objects invalid. Use ["literal", {...}] instead.':`Expected an array, but found ${typeof l} instead.`)}concat(l,f,g){const x=typeof l=="number"?this.path.concat(l):this.path,T=g?this.scope.concat(g):this.scope;return new ws(this.registry,this._isConstant,x,f||null,T,this.errors)}error(l,...f){const g=`${this.key}${f.map(x=>`[${x}]`).join("")}`;this.errors.push(new kr(g,l))}checkSubtype(l,f){const g=me(l,f);return g&&this.error(g),g}}class Fr{constructor(l,f){this.type=f.type,this.bindings=[].concat(l),this.result=f}evaluate(l){return this.result.evaluate(l)}eachChild(l){for(const f of this.bindings)l(f[1]);l(this.result)}static parse(l,f){if(l.length<4)return f.error(`Expected at least 3 arguments, but found ${l.length-1} instead.`);const g=[];for(let T=1;T=g.length)throw new Nn(`Array index out of bounds: ${f} > ${g.length-1}.`);if(f!==Math.floor(f))throw new Nn(`Array index must be an integer, but found ${f} instead.`);return g[f]}eachChild(l){l(this.index),l(this.input)}outputDefined(){return!1}}class Tc{constructor(l,f){this.type=Kt,this.needle=l,this.haystack=f}static parse(l,f){if(l.length!==3)return f.error(`Expected 2 arguments, but found ${l.length-1} instead.`);const g=f.parse(l[1],1,tr),x=f.parse(l[2],2,tr);return g&&x?Ie(g.type,[Kt,or,ct,Ei,tr])?new Tc(g,x):f.error(`Expected first argument to be of type boolean, string, number or null, but found ${K(g.type)} instead`):null}evaluate(l){const f=this.needle.evaluate(l),g=this.haystack.evaluate(l);if(!g)return!1;if(!Ee(f,["boolean","string","number","null"]))throw new Nn(`Expected first argument to be of type boolean, string, number or null, but found ${K(Un(f))} instead.`);if(!Ee(g,["string","array"]))throw new Nn(`Expected second argument to be of type array or string, but found ${K(Un(g))} instead.`);return g.indexOf(f)>=0}eachChild(l){l(this.needle),l(this.haystack)}outputDefined(){return!0}}class xf{constructor(l,f,g){this.type=ct,this.needle=l,this.haystack=f,this.fromIndex=g}static parse(l,f){if(l.length<=2||l.length>=5)return f.error(`Expected 3 or 4 arguments, but found ${l.length-1} instead.`);const g=f.parse(l[1],1,tr),x=f.parse(l[2],2,tr);if(!g||!x)return null;if(!Ie(g.type,[Kt,or,ct,Ei,tr]))return f.error(`Expected first argument to be of type boolean, string, number or null, but found ${K(g.type)} instead`);if(l.length===4){const T=f.parse(l[3],3,ct);return T?new xf(g,x,T):null}return new xf(g,x)}evaluate(l){const f=this.needle.evaluate(l),g=this.haystack.evaluate(l);if(!Ee(f,["boolean","string","number","null"]))throw new Nn(`Expected first argument to be of type boolean, string, number or null, but found ${K(Un(f))} instead.`);if(!Ee(g,["string","array"]))throw new Nn(`Expected second argument to be of type array or string, but found ${K(Un(g))} instead.`);if(this.fromIndex){const x=this.fromIndex.evaluate(l);return g.indexOf(f,x)}return g.indexOf(f)}eachChild(l){l(this.needle),l(this.haystack),this.fromIndex&&l(this.fromIndex)}outputDefined(){return!1}}class wf{constructor(l,f,g,x,T,A){this.inputType=l,this.type=f,this.input=g,this.cases=x,this.outputs=T,this.otherwise=A}static parse(l,f){if(l.length<5)return f.error(`Expected at least 4 arguments, but found only ${l.length-1}.`);if(l.length%2!=1)return f.error("Expected an even number of arguments.");let g,x;f.expectedType&&f.expectedType.kind!=="value"&&(x=f.expectedType);const T={},A=[];for(let F=2;FNumber.MAX_SAFE_INTEGER)return X.error(`Branch labels must be integers no larger than ${Number.MAX_SAFE_INTEGER}.`);if(typeof re=="number"&&Math.floor(re)!==re)return X.error("Numeric branch labels must be integer values.");if(g){if(X.checkSubtype(g,Un(re)))return null}else g=Un(re);if(T[String(re)]!==void 0)return X.error("Branch labels must be unique.");T[String(re)]=A.length}const J=f.parse(U,F,x);if(!J)return null;x=x||J.type,A.push(J)}const D=f.parse(l[1],1,tr);if(!D)return null;const O=f.parse(l[l.length-1],l.length-1,x);return O?D.type.kind!=="value"&&f.concat(1).checkSubtype(g,D.type)?null:new wf(g,x,D,T,A,O):null}evaluate(l){const f=this.input.evaluate(l);return(Un(f)===this.inputType&&this.outputs[this.cases[f]]||this.otherwise).evaluate(l)}eachChild(l){l(this.input),this.outputs.forEach(l),l(this.otherwise)}outputDefined(){return this.outputs.every(l=>l.outputDefined())&&this.otherwise.outputDefined()}}class Sf{constructor(l,f,g){this.type=l,this.branches=f,this.otherwise=g}static parse(l,f){if(l.length<4)return f.error(`Expected at least 3 arguments, but found only ${l.length-1}.`);if(l.length%2!=0)return f.error("Expected an odd number of arguments.");let g;f.expectedType&&f.expectedType.kind!=="value"&&(g=f.expectedType);const x=[];for(let A=1;Af.outputDefined())&&this.otherwise.outputDefined()}}class Tf{constructor(l,f,g,x){this.type=l,this.input=f,this.beginIndex=g,this.endIndex=x}static parse(l,f){if(l.length<=2||l.length>=5)return f.error(`Expected 3 or 4 arguments, but found ${l.length-1} instead.`);const g=f.parse(l[1],1,tr),x=f.parse(l[2],2,ct);if(!g||!x)return null;if(!Ie(g.type,[Y(tr),or,tr]))return f.error(`Expected first argument to be of type array or string, but found ${K(g.type)} instead`);if(l.length===4){const T=f.parse(l[3],3,ct);return T?new Tf(g.type,g,x,T):null}return new Tf(g.type,g,x)}evaluate(l){const f=this.input.evaluate(l),g=this.beginIndex.evaluate(l);if(!Ee(f,["string","array"]))throw new Nn(`Expected first argument to be of type array or string, but found ${K(Un(f))} instead.`);if(this.endIndex){const x=this.endIndex.evaluate(l);return f.slice(g,x)}return f.slice(g)}eachChild(l){l(this.input),l(this.beginIndex),this.endIndex&&l(this.endIndex)}outputDefined(){return!1}}function Cc(h,l){const f=h.length-1;let g,x,T=0,A=f,D=0;for(;T<=A;)if(D=Math.floor((T+A)/2),g=h[D],x=h[D+1],g<=l){if(D===f||ll))throw new Nn("Input is not a number.");A=D-1}return 0}class Ql{constructor(l,f,g){this.type=l,this.input=f,this.labels=[],this.outputs=[];for(const[x,T]of g)this.labels.push(x),this.outputs.push(T)}static parse(l,f){if(l.length-1<4)return f.error(`Expected at least 4 arguments, but found only ${l.length-1}.`);if((l.length-1)%2!=0)return f.error("Expected an even number of arguments.");const g=f.parse(l[1],1,ct);if(!g)return null;const x=[];let T=null;f.expectedType&&f.expectedType.kind!=="value"&&(T=f.expectedType);for(let A=1;A=D)return f.error('Input/output pairs for "step" expressions must be arranged with input values in strictly ascending order.',F);const U=f.parse(O,V,T);if(!U)return null;T=T||U.type,x.push([D,U])}return new Ql(T,g,x)}evaluate(l){const f=this.labels,g=this.outputs;if(f.length===1)return g[0].evaluate(l);const x=this.input.evaluate(l);if(x<=f[0])return g[0].evaluate(l);const T=f.length;return x>=f[T-1]?g[T-1].evaluate(l):g[Cc(f,x)].evaluate(l)}eachChild(l){l(this.input);for(const f of this.outputs)l(f)}outputDefined(){return this.outputs.every(l=>l.outputDefined())}}function Bw(h){return h&&h.__esModule&&Object.prototype.hasOwnProperty.call(h,"default")?h.default:h}var Fw=e_;function e_(h,l,f,g){this.cx=3*h,this.bx=3*(f-h)-this.cx,this.ax=1-this.cx-this.bx,this.cy=3*l,this.by=3*(g-l)-this.cy,this.ay=1-this.cy-this.by,this.p1x=h,this.p1y=l,this.p2x=f,this.p2y=g}e_.prototype={sampleCurveX:function(h){return((this.ax*h+this.bx)*h+this.cx)*h},sampleCurveY:function(h){return((this.ay*h+this.by)*h+this.cy)*h},sampleCurveDerivativeX:function(h){return(3*this.ax*h+2*this.bx)*h+this.cx},solveCurveX:function(h,l){if(l===void 0&&(l=1e-6),h<0)return 0;if(h>1)return 1;for(var f=h,g=0;g<8;g++){var x=this.sampleCurveX(f)-h;if(Math.abs(x)x?A=f:D=f,f=.5*(D-A)+A;return f},solve:function(h,l){return this.sampleCurveY(this.solveCurveX(h,l))}};var $w=Bw(Fw);function Ss(h,l,f){return h+f*(l-h)}function Pc(h,l,f){return h.map((g,x)=>Ss(g,l[x],f))}const la={number:Ss,color:function(h,l,f,g="rgb"){switch(g){case"rgb":{const[x,T,A,D]=Pc(h.rgb,l.rgb,f);return new qr(x,T,A,D,!1)}case"hcl":{const[x,T,A,D]=h.hcl,[O,F,V,U]=l.hcl;let X,J;if(isNaN(x)||isNaN(O))isNaN(x)?isNaN(O)?X=NaN:(X=O,A!==1&&A!==0||(J=F)):(X=x,V!==1&&V!==0||(J=T));else{let Re=O-x;O>x&&Re>180?Re-=360:O180&&(Re+=360),X=x+f*Re}const[re,se,de,we]=function([Re,Ce,De,je]){return Re=isNaN(Re)?0:Re*qt,Hn([De,Math.cos(Re)*Ce,Math.sin(Re)*Ce,je])}([X,J??Ss(T,F,f),Ss(A,V,f),Ss(D,U,f)]);return new qr(re,se,de,we,!1)}case"lab":{const[x,T,A,D]=Hn(Pc(h.lab,l.lab,f));return new qr(x,T,A,D,!1)}}},array:Pc,padding:function(h,l,f){return new oa(Pc(h.values,l.values,f))},variableAnchorOffsetCollection:function(h,l,f){const g=h.values,x=l.values;if(g.length!==x.length)throw new Nn(`Cannot interpolate values of different length. from: ${h.toString()}, to: ${l.toString()}`);const T=[];for(let A=0;Atypeof V!="number"||V<0||V>1))return f.error("Cubic bezier interpolation requires four numeric arguments with values between 0 and 1.",1);x={name:"cubic-bezier",controlPoints:F}}}if(l.length-1<4)return f.error(`Expected at least 4 arguments, but found only ${l.length-1}.`);if((l.length-1)%2!=0)return f.error("Expected an even number of arguments.");if(T=f.parse(T,2,ct),!T)return null;const D=[];let O=null;g==="interpolate-hcl"||g==="interpolate-lab"?O=rn:f.expectedType&&f.expectedType.kind!=="value"&&(O=f.expectedType);for(let F=0;F=V)return f.error('Input/output pairs for "interpolate" expressions must be arranged with input values in strictly ascending order.',X);const re=f.parse(U,J,O);if(!re)return null;O=O||re.type,D.push([V,re])}return Oe(O,ct)||Oe(O,rn)||Oe(O,bs)||Oe(O,be)||Oe(O,Y(ct))?new ua(O,g,x,T,D):f.error(`Type ${K(O)} is not interpolatable.`)}evaluate(l){const f=this.labels,g=this.outputs;if(f.length===1)return g[0].evaluate(l);const x=this.input.evaluate(l);if(x<=f[0])return g[0].evaluate(l);const T=f.length;if(x>=f[T-1])return g[T-1].evaluate(l);const A=Cc(f,x),D=ua.interpolationFactor(this.interpolation,x,f[A],f[A+1]),O=g[A].evaluate(l),F=g[A+1].evaluate(l);switch(this.operator){case"interpolate":return la[this.type.kind](O,F,D);case"interpolate-hcl":return la.color(O,F,D,"hcl");case"interpolate-lab":return la.color(O,F,D,"lab")}}eachChild(l){l(this.input);for(const f of this.outputs)l(f)}outputDefined(){return this.outputs.every(l=>l.outputDefined())}}function Ac(h,l,f,g){const x=g-f,T=h-f;return x===0?0:l===1?T/x:(Math.pow(l,T)-1)/(Math.pow(l,x)-1)}class Cf{constructor(l,f){this.type=l,this.args=f}static parse(l,f){if(l.length<2)return f.error("Expectected at least one argument.");let g=null;const x=f.expectedType;x&&x.kind!=="value"&&(g=x);const T=[];for(const D of l.slice(1)){const O=f.parse(D,1+T.length,g,void 0,{typeAnnotation:"omit"});if(!O)return null;g=g||O.type,T.push(O)}if(!g)throw new Error("No output type");const A=x&&T.some(D=>me(x,D.type));return new Cf(A?tr:g,T)}evaluate(l){let f,g=null,x=0;for(const T of this.args)if(x++,g=T.evaluate(l),g&&g instanceof mi&&!g.available&&(f||(f=g.name),g=null,x===this.args.length&&(g=f)),g!==null)break;return g}eachChild(l){this.args.forEach(l)}outputDefined(){return this.args.every(l=>l.outputDefined())}}function t_(h,l){return h==="=="||h==="!="?l.kind==="boolean"||l.kind==="string"||l.kind==="number"||l.kind==="null"||l.kind==="value":l.kind==="string"||l.kind==="number"||l.kind==="value"}function r_(h,l,f,g){return g.compare(l,f)===0}function hl(h,l,f){const g=h!=="=="&&h!=="!=";return class Y8{constructor(T,A,D){this.type=Kt,this.lhs=T,this.rhs=A,this.collator=D,this.hasUntypedArgument=T.type.kind==="value"||A.type.kind==="value"}static parse(T,A){if(T.length!==3&&T.length!==4)return A.error("Expected two or three arguments.");const D=T[0];let O=A.parse(T[1],1,tr);if(!O)return null;if(!t_(D,O.type))return A.concat(1).error(`"${D}" comparisons are not supported for type '${K(O.type)}'.`);let F=A.parse(T[2],2,tr);if(!F)return null;if(!t_(D,F.type))return A.concat(2).error(`"${D}" comparisons are not supported for type '${K(F.type)}'.`);if(O.type.kind!==F.type.kind&&O.type.kind!=="value"&&F.type.kind!=="value")return A.error(`Cannot compare types '${K(O.type)}' and '${K(F.type)}'.`);g&&(O.type.kind==="value"&&F.type.kind!=="value"?O=new Sa(F.type,[O]):O.type.kind!=="value"&&F.type.kind==="value"&&(F=new Sa(O.type,[F])));let V=null;if(T.length===4){if(O.type.kind!=="string"&&F.type.kind!=="string"&&O.type.kind!=="value"&&F.type.kind!=="value")return A.error("Cannot use collator to compare non-string types.");if(V=A.parse(T[3],3,uo),!V)return null}return new Y8(O,F,V)}evaluate(T){const A=this.lhs.evaluate(T),D=this.rhs.evaluate(T);if(g&&this.hasUntypedArgument){const O=Un(A),F=Un(D);if(O.kind!==F.kind||O.kind!=="string"&&O.kind!=="number")throw new Nn(`Expected arguments for "${h}" to be (string, string) or (number, number), but found (${O.kind}, ${F.kind}) instead.`)}if(this.collator&&!g&&this.hasUntypedArgument){const O=Un(A),F=Un(D);if(O.kind!=="string"||F.kind!=="string")return l(T,A,D)}return this.collator?f(T,A,D,this.collator.evaluate(T)):l(T,A,D)}eachChild(T){T(this.lhs),T(this.rhs),this.collator&&T(this.collator)}outputDefined(){return!0}}}const n_=hl("==",function(h,l,f){return l===f},r_),Nw=hl("!=",function(h,l,f){return l!==f},function(h,l,f,g){return!r_(0,l,f,g)}),Vw=hl("<",function(h,l,f){return l",function(h,l,f){return l>f},function(h,l,f,g){return g.compare(l,f)>0}),a_=hl("<=",function(h,l,f){return l<=f},function(h,l,f,g){return g.compare(l,f)<=0}),jw=hl(">=",function(h,l,f){return l>=f},function(h,l,f,g){return g.compare(l,f)>=0});class Pf{constructor(l,f,g){this.type=uo,this.locale=g,this.caseSensitive=l,this.diacriticSensitive=f}static parse(l,f){if(l.length!==2)return f.error("Expected one argument.");const g=l[1];if(typeof g!="object"||Array.isArray(g))return f.error("Collator options argument must be an object.");const x=f.parse(g["case-sensitive"]!==void 0&&g["case-sensitive"],1,Kt);if(!x)return null;const T=f.parse(g["diacritic-sensitive"]!==void 0&&g["diacritic-sensitive"],1,Kt);if(!T)return null;let A=null;return g.locale&&(A=f.parse(g.locale,1,or),!A)?null:new Pf(x,T,A)}evaluate(l){return new im(this.caseSensitive.evaluate(l),this.diacriticSensitive.evaluate(l),this.locale?this.locale.evaluate(l):null)}eachChild(l){l(this.caseSensitive),l(this.diacriticSensitive),this.locale&&l(this.locale)}outputDefined(){return!1}}class lm{constructor(l,f,g,x,T){this.type=or,this.number=l,this.locale=f,this.currency=g,this.minFractionDigits=x,this.maxFractionDigits=T}static parse(l,f){if(l.length!==3)return f.error("Expected two arguments.");const g=f.parse(l[1],1,ct);if(!g)return null;const x=l[2];if(typeof x!="object"||Array.isArray(x))return f.error("NumberFormat options argument must be an object.");let T=null;if(x.locale&&(T=f.parse(x.locale,1,or),!T))return null;let A=null;if(x.currency&&(A=f.parse(x.currency,1,or),!A))return null;let D=null;if(x["min-fraction-digits"]&&(D=f.parse(x["min-fraction-digits"],1,ct),!D))return null;let O=null;return x["max-fraction-digits"]&&(O=f.parse(x["max-fraction-digits"],1,ct),!O)?null:new lm(g,T,A,D,O)}evaluate(l){return new Intl.NumberFormat(this.locale?this.locale.evaluate(l):[],{style:this.currency?"currency":"decimal",currency:this.currency?this.currency.evaluate(l):void 0,minimumFractionDigits:this.minFractionDigits?this.minFractionDigits.evaluate(l):void 0,maximumFractionDigits:this.maxFractionDigits?this.maxFractionDigits.evaluate(l):void 0}).format(this.number.evaluate(l))}eachChild(l){l(this.number),this.locale&&l(this.locale),this.currency&&l(this.currency),this.minFractionDigits&&l(this.minFractionDigits),this.maxFractionDigits&&l(this.maxFractionDigits)}outputDefined(){return!1}}class Af{constructor(l){this.type=Ho,this.sections=l}static parse(l,f){if(l.length<2)return f.error("Expected at least one argument.");const g=l[1];if(!Array.isArray(g)&&typeof g=="object")return f.error("First argument must be an image or text section.");const x=[];let T=!1;for(let A=1;A<=l.length-1;++A){const D=l[A];if(T&&typeof D=="object"&&!Array.isArray(D)){T=!1;let O=null;if(D["font-scale"]&&(O=f.parse(D["font-scale"],1,ct),!O))return null;let F=null;if(D["text-font"]&&(F=f.parse(D["text-font"],1,Y(or)),!F))return null;let V=null;if(D["text-color"]&&(V=f.parse(D["text-color"],1,rn),!V))return null;const U=x[x.length-1];U.scale=O,U.font=F,U.textColor=V}else{const O=f.parse(l[A],1,tr);if(!O)return null;const F=O.type.kind;if(F!=="string"&&F!=="value"&&F!=="null"&&F!=="resolvedImage")return f.error("Formatted text type must be 'string', 'value', 'image' or 'null'.");T=!0,x.push({content:O,scale:null,font:null,textColor:null})}}return new Af(x)}evaluate(l){return new aa(this.sections.map(f=>{const g=f.content.evaluate(l);return Un(g)===co?new am("",g,null,null,null):new am(Uo(g),null,f.scale?f.scale.evaluate(l):null,f.font?f.font.evaluate(l).join(","):null,f.textColor?f.textColor.evaluate(l):null)}))}eachChild(l){for(const f of this.sections)l(f.content),f.scale&&l(f.scale),f.font&&l(f.font),f.textColor&&l(f.textColor)}outputDefined(){return!1}}class um{constructor(l){this.type=co,this.input=l}static parse(l,f){if(l.length!==2)return f.error("Expected two arguments.");const g=f.parse(l[1],1,or);return g?new um(g):f.error("No image name provided.")}evaluate(l){const f=this.input.evaluate(l),g=mi.fromString(f);return g&&l.availableImages&&(g.available=l.availableImages.indexOf(f)>-1),g}eachChild(l){l(this.input)}outputDefined(){return!1}}class cm{constructor(l){this.type=ct,this.input=l}static parse(l,f){if(l.length!==2)return f.error(`Expected 1 argument, but found ${l.length-1} instead.`);const g=f.parse(l[1],1);return g?g.type.kind!=="array"&&g.type.kind!=="string"&&g.type.kind!=="value"?f.error(`Expected argument of type string or array, but found ${K(g.type)} instead.`):new cm(g):null}evaluate(l){const f=this.input.evaluate(l);if(typeof f=="string"||Array.isArray(f))return f.length;throw new Nn(`Expected value to be of type string or array, but found ${K(Un(f))} instead.`)}eachChild(l){l(this.input)}outputDefined(){return!1}}const ho=8192;function hm(h,l){const f=(180+h[0])/360,g=(180-180/Math.PI*Math.log(Math.tan(Math.PI/4+h[1]*Math.PI/360)))/360,x=Math.pow(2,l.z);return[Math.round(f*x*ho),Math.round(g*x*ho)]}function eu(h,l){const f=Math.pow(2,l.z);return[(x=(h[0]/ho+l.x)/f,360*x-180),(g=(h[1]/ho+l.y)/f,360/Math.PI*Math.atan(Math.exp((180-360*g)*Math.PI/180))-90)];var g,x}function Mr(h,l){h[0]=Math.min(h[0],l[0]),h[1]=Math.min(h[1],l[1]),h[2]=Math.max(h[2],l[0]),h[3]=Math.max(h[3],l[1])}function Ic(h,l){return!(h[0]<=l[0]||h[2]>=l[2]||h[1]<=l[1]||h[3]>=l[3])}function Hw(h,l,f){const g=h[0]-l[0],x=h[1]-l[1],T=h[0]-f[0],A=h[1]-f[1];return g*A-T*x==0&&g*T<=0&&x*A<=0}function If(h,l,f,g){return(x=[g[0]-f[0],g[1]-f[1]])[0]*(T=[l[0]-h[0],l[1]-h[1]])[1]-x[1]*T[0]!=0&&!(!s_(h,l,f,g)||!s_(f,g,h,l));var x,T}function Uw(h,l,f){for(const g of f)for(let x=0;x(x=h)[1]!=(A=D[O+1])[1]>x[1]&&x[0]<(A[0]-T[0])*(x[1]-T[1])/(A[1]-T[1])+T[0]&&(g=!g)}var x,T,A;return g}function Gw(h,l){for(const f of l)if(tu(h,f))return!0;return!1}function o_(h,l){for(const f of h)if(!tu(f,l))return!1;for(let f=0;f0&&D<0||A<0&&D>0}function fm(h,l,f){const g=[];for(let x=0;xf[2]){const x=.5*g;let T=h[0]-f[0]>x?-g:f[0]-h[0]>x?g:0;T===0&&(T=h[0]-f[2]>x?-g:f[2]-h[0]>x?g:0),h[0]+=T}Mr(l,h)}function c_(h,l,f,g){const x=Math.pow(2,g.z)*ho,T=[g.x*ho,g.y*ho],A=[];for(const D of h)for(const O of D){const F=[O.x+T[0],O.y+T[1]];u_(F,l,f,x),A.push(F)}return A}function h_(h,l,f,g){const x=Math.pow(2,g.z)*ho,T=[g.x*ho,g.y*ho],A=[];for(const O of h){const F=[];for(const V of O){const U=[V.x+T[0],V.y+T[1]];Mr(l,U),F.push(U)}A.push(F)}if(l[2]-l[0]<=x/2){(D=l)[0]=D[1]=1/0,D[2]=D[3]=-1/0;for(const O of A)for(const F of O)u_(F,l,f,x)}var D;return A}class fl{constructor(l,f){this.type=Kt,this.geojson=l,this.geometries=f}static parse(l,f){if(l.length!==2)return f.error(`'within' expression requires exactly one argument, but found ${l.length-1} instead.`);if(xc(l[1])){const g=l[1];if(g.type==="FeatureCollection"){const x=[];for(const T of g.features){const{type:A,coordinates:D}=T.geometry;A==="Polygon"&&x.push(D),A==="MultiPolygon"&&x.push(...D)}if(x.length)return new fl(g,{type:"MultiPolygon",coordinates:x})}else if(g.type==="Feature"){const x=g.geometry.type;if(x==="Polygon"||x==="MultiPolygon")return new fl(g,g.geometry)}else if(g.type==="Polygon"||g.type==="MultiPolygon")return new fl(g,g)}return f.error("'within' expression requires valid geojson object that contains polygon geometry type.")}evaluate(l){if(l.geometry()!=null&&l.canonicalID()!=null){if(l.geometryType()==="Point")return function(f,g){const x=[1/0,1/0,-1/0,-1/0],T=[1/0,1/0,-1/0,-1/0],A=f.canonicalID();if(g.type==="Polygon"){const D=fm(g.coordinates,T,A),O=c_(f.geometry(),x,T,A);if(!Ic(x,T))return!1;for(const F of O)if(!tu(F,D))return!1}if(g.type==="MultiPolygon"){const D=l_(g.coordinates,T,A),O=c_(f.geometry(),x,T,A);if(!Ic(x,T))return!1;for(const F of O)if(!Gw(F,D))return!1}return!0}(l,this.geometries);if(l.geometryType()==="LineString")return function(f,g){const x=[1/0,1/0,-1/0,-1/0],T=[1/0,1/0,-1/0,-1/0],A=f.canonicalID();if(g.type==="Polygon"){const D=fm(g.coordinates,T,A),O=h_(f.geometry(),x,T,A);if(!Ic(x,T))return!1;for(const F of O)if(!o_(F,D))return!1}if(g.type==="MultiPolygon"){const D=l_(g.coordinates,T,A),O=h_(f.geometry(),x,T,A);if(!Ic(x,T))return!1;for(const F of O)if(!Ww(F,D))return!1}return!0}(l,this.geometries)}return!1}eachChild(){}outputDefined(){return!0}}let f_=class{constructor(h=[],l=qw){if(this.data=h,this.length=this.data.length,this.compare=l,this.length>0)for(let f=(this.length>>1)-1;f>=0;f--)this._down(f)}push(h){this.data.push(h),this.length++,this._up(this.length-1)}pop(){if(this.length===0)return;const h=this.data[0],l=this.data.pop();return this.length--,this.length>0&&(this.data[0]=l,this._down(0)),h}peek(){return this.data[0]}_up(h){const{data:l,compare:f}=this,g=l[h];for(;h>0;){const x=h-1>>1,T=l[x];if(f(g,T)>=0)break;l[h]=T,h=x}l[h]=g}_down(h){const{data:l,compare:f}=this,g=this.length>>1,x=l[h];for(;h=0)break;l[h]=A,h=T}l[h]=x}};function qw(h,l){return hl?1:0}function Zw(h,l,f,g,x){d_(h,l,f,g||h.length-1,x||Xw)}function d_(h,l,f,g,x){for(;g>f;){if(g-f>600){var T=g-f+1,A=l-f+1,D=Math.log(T),O=.5*Math.exp(2*D/3),F=.5*Math.sqrt(D*O*(T-O)/T)*(A-T/2<0?-1:1);d_(h,l,Math.max(f,Math.floor(l-A*O/T+F)),Math.min(g,Math.floor(l+(T-A)*O/T+F)),x)}var V=h[l],U=f,X=g;for(Ec(h,f,l),x(h[g],V)>0&&Ec(h,f,g);U0;)X--}x(h[f],V)===0?Ec(h,f,X):Ec(h,++X,g),X<=l&&(f=X+1),l<=X&&(g=X-1)}}function Ec(h,l,f){var g=h[l];h[l]=h[f],h[f]=g}function Xw(h,l){return hl?1:0}function Ef(h,l){if(h.length<=1)return[h];const f=[];let g,x;for(const T of h){const A=Yw(T);A!==0&&(T.area=Math.abs(A),x===void 0&&(x=A<0),x===A<0?(g&&f.push(g),g=[T]):g.push(T))}if(g&&f.push(g),l>1)for(let T=0;T1?(F=l[O+1][0],V=l[O+1][1]):J>0&&(F+=U/this.kx*J,V+=X/this.ky*J)),U=this.wrap(f[0]-F)*this.kx,X=(f[1]-V)*this.ky;const re=U*U+X*X;re180;)l-=360;return l}}function g_(h,l){return l[0]-h[0]}function Mf(h){return h[1]-h[0]+1}function Go(h,l){return h[1]>=h[0]&&h[1]h[1])return[null,null];const f=Mf(h);if(l){if(f===2)return[h,null];const x=Math.floor(f/2);return[[h[0],h[0]+x],[h[0]+x,h[1]]]}if(f===1)return[h,null];const g=Math.floor(f/2)-1;return[[h[0],h[0]+g],[h[0]+g+1,h[1]]]}function pm(h,l){if(!Go(l,h.length))return[1/0,1/0,-1/0,-1/0];const f=[1/0,1/0,-1/0,-1/0];for(let g=l[0];g<=l[1];++g)Mr(f,h[g]);return f}function mm(h){const l=[1/0,1/0,-1/0,-1/0];for(const f of h)for(const g of f)Mr(l,g);return l}function y_(h){return h[0]!==-1/0&&h[1]!==-1/0&&h[2]!==1/0&&h[3]!==1/0}function vm(h,l,f){if(!y_(h)||!y_(l))return NaN;let g=0,x=0;return h[2]l[2]&&(g=h[0]-l[2]),h[1]>l[3]&&(x=h[1]-l[3]),h[3]=g)return g;if(Ic(x,T)){if(Dc(h,l))return 0}else if(Dc(l,h))return 0;let A=1/0;for(const D of h)for(let O=0,F=D.length,V=F-1;O0;){const O=A.pop();if(O[0]>=T)continue;const F=O[1],V=l?50:100;if(Mf(F)<=V){if(!Go(F,h.length))return NaN;if(l){const U=pn(h,F,f,g);if(isNaN(U)||U===0)return U;T=Math.min(T,U)}else for(let U=F[0];U<=F[1];++U){const X=wn(h[U],f,g);if(T=Math.min(T,X),T===0)return 0}}else{const U=Mc(F,l);_m(A,T,g,h,D,U[0]),_m(A,T,g,h,D,U[1])}}return T}function kf(h,l,f,g,x,T=1/0){let A=Math.min(T,x.distance(h[0],f[0]));if(A===0)return A;const D=new f_([[0,[0,h.length-1],[0,f.length-1]]],g_);for(;D.length>0;){const O=D.pop();if(O[0]>=A)continue;const F=O[1],V=O[2],U=l?50:100,X=g?50:100;if(Mf(F)<=U&&Mf(V)<=X){if(!Go(F,h.length)&&Go(V,f.length))return NaN;let J;if(l&&g)J=Pr(h,F,f,V,x),A=Math.min(A,J);else if(l&&!g){const re=h.slice(F[0],F[1]+1);for(let se=V[0];se<=V[1];++se)if(J=un(f[se],re,x),A=Math.min(A,J),A===0)return A}else if(!l&&g){const re=f.slice(V[0],V[1]+1);for(let se=F[0];se<=F[1];++se)if(J=un(h[se],re,x),A=Math.min(A,J),A===0)return A}else J=ym(h,F,f,V,x),A=Math.min(A,J)}else{const J=Mc(F,l),re=Mc(V,g);Df(D,A,x,h,f,J[0],re[0]),Df(D,A,x,h,f,J[0],re[1]),Df(D,A,x,h,f,J[1],re[0]),Df(D,A,x,h,f,J[1],re[1])}}return A}function bm(h){return h.type==="MultiPolygon"?h.coordinates.map(l=>({type:"Polygon",coordinates:l})):h.type==="MultiLineString"?h.coordinates.map(l=>({type:"LineString",coordinates:l})):h.type==="MultiPoint"?h.coordinates.map(l=>({type:"Point",coordinates:l})):[h]}class Ts{constructor(l,f){this.type=ct,this.geojson=l,this.geometries=f}static parse(l,f){if(l.length!==2)return f.error(`'distance' expression requires exactly one argument, but found ${l.length-1} instead.`);if(xc(l[1])){const g=l[1];if(g.type==="FeatureCollection")return new Ts(g,g.features.map(x=>bm(x.geometry)).flat());if(g.type==="Feature")return new Ts(g,bm(g.geometry));if("type"in g&&"coordinates"in g)return new Ts(g,bm(g))}return f.error("'distance' expression requires valid geojson object that contains polygon geometry type.")}evaluate(l){if(l.geometry()!=null&&l.canonicalID()!=null){if(l.geometryType()==="Point")return function(f,g){const x=f.geometry(),T=x.flat().map(O=>eu([O.x,O.y],f.canonical));if(x.length===0)return NaN;const A=new dm(T[0][1]);let D=1/0;for(const O of g){switch(O.type){case"Point":D=Math.min(D,kf(T,!1,[O.coordinates],!1,A,D));break;case"LineString":D=Math.min(D,kf(T,!1,O.coordinates,!0,A,D));break;case"Polygon":D=Math.min(D,Lf(T,!1,O.coordinates,A,D))}if(D===0)return D}return D}(l,this.geometries);if(l.geometryType()==="LineString")return function(f,g){const x=f.geometry(),T=x.flat().map(O=>eu([O.x,O.y],f.canonical));if(x.length===0)return NaN;const A=new dm(T[0][1]);let D=1/0;for(const O of g){switch(O.type){case"Point":D=Math.min(D,kf(T,!0,[O.coordinates],!1,A,D));break;case"LineString":D=Math.min(D,kf(T,!0,O.coordinates,!0,A,D));break;case"Polygon":D=Math.min(D,Lf(T,!0,O.coordinates,A,D))}if(D===0)return D}return D}(l,this.geometries);if(l.geometryType()==="Polygon")return function(f,g){const x=f.geometry();if(x.length===0||x[0].length===0)return NaN;const T=Ef(x,0).map(O=>O.map(F=>F.map(V=>eu([V.x,V.y],f.canonical)))),A=new dm(T[0][0][0][1]);let D=1/0;for(const O of g)for(const F of T){switch(O.type){case"Point":D=Math.min(D,Lf([O.coordinates],!1,F,A,D));break;case"LineString":D=Math.min(D,Lf(O.coordinates,!0,F,A,D));break;case"Polygon":D=Math.min(D,__(F,O.coordinates,A,D))}if(D===0)return D}return D}(l,this.geometries)}return NaN}eachChild(){}outputDefined(){return!0}}const dl={"==":n_,"!=":Nw,">":i_,"<":Vw,">=":jw,"<=":a_,array:Sa,at:sm,boolean:Sa,case:Sf,coalesce:Cf,collator:Pf,format:Af,image:um,in:Tc,"index-of":xf,interpolate:ua,"interpolate-hcl":ua,"interpolate-lab":ua,length:cm,let:Fr,literal:cl,match:wf,number:Sa,"number-format":lm,object:Sa,slice:Tf,step:Ql,string:Sa,"to-boolean":xs,"to-color":xs,"to-number":xs,"to-string":xs,var:bf,within:fl,distance:Ts};class ca{constructor(l,f,g,x){this.name=l,this.type=f,this._evaluate=g,this.args=x}evaluate(l){return this._evaluate(l,this.args)}eachChild(l){this.args.forEach(l)}outputDefined(){return!1}static parse(l,f){const g=l[0],x=ca.definitions[g];if(!x)return f.error(`Unknown expression "${g}". If you wanted a literal array, use ["literal", [...]].`,0);const T=Array.isArray(x)?x[0]:x.type,A=Array.isArray(x)?[[x[1],x[2]]]:x.overloads,D=A.filter(([F])=>!Array.isArray(F)||F.length===l.length-1);let O=null;for(const[F,V]of D){O=new ws(f.registry,Of,f.path,null,f.scope);const U=[];let X=!1;for(let J=1;J{return X=U,Array.isArray(X)?`(${X.map(K).join(", ")})`:`(${K(X.type)}...)`;var X}).join(" | "),V=[];for(let U=1;U{f=l?f&&Of(g):f&&g instanceof cl}),!!f&&zf(h)&&Bf(h,["zoom","heatmap-density","line-progress","accumulated","is-supported-script"])}function zf(h){if(h instanceof ca&&(h.name==="get"&&h.args.length===1||h.name==="feature-state"||h.name==="has"&&h.args.length===1||h.name==="properties"||h.name==="geometry-type"||h.name==="id"||/^filter-/.test(h.name))||h instanceof fl||h instanceof Ts)return!1;let l=!0;return h.eachChild(f=>{l&&!zf(f)&&(l=!1)}),l}function Lc(h){if(h instanceof ca&&h.name==="feature-state")return!1;let l=!0;return h.eachChild(f=>{l&&!Lc(f)&&(l=!1)}),l}function Bf(h,l){if(h instanceof ca&&l.indexOf(h.name)>=0)return!1;let f=!0;return h.eachChild(g=>{f&&!Bf(g,l)&&(f=!1)}),f}function b_(h){return{result:"success",value:h}}function ru(h){return{result:"error",value:h}}function ml(h){return h["property-type"]==="data-driven"||h["property-type"]==="cross-faded-data-driven"}function Sm(h){return!!h.expression&&h.expression.parameters.indexOf("zoom")>-1}function nu(h){return!!h.expression&&h.expression.interpolated}function Or(h){return h instanceof Number?"number":h instanceof String?"string":h instanceof Boolean?"boolean":Array.isArray(h)?"array":h===null?"null":typeof h}function kc(h){return typeof h=="object"&&h!==null&&!Array.isArray(h)}function x_(h){return h}function w_(h,l){const f=l.type==="color",g=h.stops&&typeof h.stops[0][0]=="object",x=g||!(g||h.property!==void 0),T=h.type||(nu(l)?"exponential":"interval");if(f||l.type==="padding"){const V=f?qr.parse:oa.parse;(h=Sr({},h)).stops&&(h.stops=h.stops.map(U=>[U[0],V(U[1])])),h.default=V(h.default?h.default:l.default)}if(h.colorSpace&&(A=h.colorSpace)!=="rgb"&&A!=="hcl"&&A!=="lab")throw new Error(`Unknown color space: "${h.colorSpace}"`);var A;let D,O,F;if(T==="exponential")D=Tm;else if(T==="interval")D=$f;else if(T==="categorical"){D=Ff,O=Object.create(null);for(const V of h.stops)O[V[0]]=V[1];F=typeof h.stops[0][0]}else{if(T!=="identity")throw new Error(`Unknown function type "${T}"`);D=Cm}if(g){const V={},U=[];for(let re=0;rere[0]),evaluate:({zoom:re},se)=>Tm({stops:X,base:h.base},l,re).evaluate(re,se)}}if(x){const V=T==="exponential"?{name:"exponential",base:h.base!==void 0?h.base:1}:null;return{kind:"camera",interpolationType:V,interpolationFactor:ua.interpolationFactor.bind(void 0,V),zoomStops:h.stops.map(U=>U[0]),evaluate:({zoom:U})=>D(h,l,U,O,F)}}return{kind:"source",evaluate(V,U){const X=U&&U.properties?U.properties[h.property]:void 0;return X===void 0?vl(h.default,l.default):D(h,l,X,O,F)}}}function vl(h,l,f){return h!==void 0?h:l!==void 0?l:f!==void 0?f:void 0}function Ff(h,l,f,g,x){return vl(typeof f===x?g[f]:void 0,h.default,l.default)}function $f(h,l,f){if(Or(f)!=="number")return vl(h.default,l.default);const g=h.stops.length;if(g===1||f<=h.stops[0][0])return h.stops[0][1];if(f>=h.stops[g-1][0])return h.stops[g-1][1];const x=Cc(h.stops.map(T=>T[0]),f);return h.stops[x][1]}function Tm(h,l,f){const g=h.base!==void 0?h.base:1;if(Or(f)!=="number")return vl(h.default,l.default);const x=h.stops.length;if(x===1||f<=h.stops[0][0])return h.stops[0][1];if(f>=h.stops[x-1][0])return h.stops[x-1][1];const T=Cc(h.stops.map(V=>V[0]),f),A=function(V,U,X,J){const re=J-X,se=V-X;return re===0?0:U===1?se/re:(Math.pow(U,se)-1)/(Math.pow(U,re)-1)}(f,g,h.stops[T][0],h.stops[T+1][0]),D=h.stops[T][1],O=h.stops[T+1][1],F=la[l.type]||x_;return typeof D.evaluate=="function"?{evaluate(...V){const U=D.evaluate.apply(void 0,V),X=O.evaluate.apply(void 0,V);if(U!==void 0&&X!==void 0)return F(U,X,A,h.colorSpace)}}:F(D,O,A,h.colorSpace)}function Cm(h,l,f){switch(l.type){case"color":f=qr.parse(f);break;case"formatted":f=aa.fromString(f.toString());break;case"resolvedImage":f=mi.fromString(f.toString());break;case"padding":f=oa.parse(f);break;default:Or(f)===l.type||l.type==="enum"&&l.values[f]||(f=void 0)}return vl(f,h.default,l.default)}ca.register(dl,{error:[{kind:"error"},[or],(h,[l])=>{throw new Nn(l.evaluate(h))}],typeof:[or,[tr],(h,[l])=>K(Un(l.evaluate(h)))],"to-rgba":[Y(ct,4),[rn],(h,[l])=>{const[f,g,x,T]=l.evaluate(h).rgb;return[255*f,255*g,255*x,T]}],rgb:[rn,[ct,ct,ct],xm],rgba:[rn,[ct,ct,ct,ct],xm],has:{type:Kt,overloads:[[[or],(h,[l])=>Rf(l.evaluate(h),h.properties())],[[or,Rn],(h,[l,f])=>Rf(l.evaluate(h),f.evaluate(h))]]},get:{type:tr,overloads:[[[or],(h,[l])=>wm(l.evaluate(h),h.properties())],[[or,Rn],(h,[l,f])=>wm(l.evaluate(h),f.evaluate(h))]]},"feature-state":[tr,[or],(h,[l])=>wm(l.evaluate(h),h.featureState||{})],properties:[Rn,[],h=>h.properties()],"geometry-type":[or,[],h=>h.geometryType()],id:[tr,[],h=>h.id()],zoom:[ct,[],h=>h.globals.zoom],"heatmap-density":[ct,[],h=>h.globals.heatmapDensity||0],"line-progress":[ct,[],h=>h.globals.lineProgress||0],accumulated:[tr,[],h=>h.globals.accumulated===void 0?null:h.globals.accumulated],"+":[ct,pl(ct),(h,l)=>{let f=0;for(const g of l)f+=g.evaluate(h);return f}],"*":[ct,pl(ct),(h,l)=>{let f=1;for(const g of l)f*=g.evaluate(h);return f}],"-":{type:ct,overloads:[[[ct,ct],(h,[l,f])=>l.evaluate(h)-f.evaluate(h)],[[ct],(h,[l])=>-l.evaluate(h)]]},"/":[ct,[ct,ct],(h,[l,f])=>l.evaluate(h)/f.evaluate(h)],"%":[ct,[ct,ct],(h,[l,f])=>l.evaluate(h)%f.evaluate(h)],ln2:[ct,[],()=>Math.LN2],pi:[ct,[],()=>Math.PI],e:[ct,[],()=>Math.E],"^":[ct,[ct,ct],(h,[l,f])=>Math.pow(l.evaluate(h),f.evaluate(h))],sqrt:[ct,[ct],(h,[l])=>Math.sqrt(l.evaluate(h))],log10:[ct,[ct],(h,[l])=>Math.log(l.evaluate(h))/Math.LN10],ln:[ct,[ct],(h,[l])=>Math.log(l.evaluate(h))],log2:[ct,[ct],(h,[l])=>Math.log(l.evaluate(h))/Math.LN2],sin:[ct,[ct],(h,[l])=>Math.sin(l.evaluate(h))],cos:[ct,[ct],(h,[l])=>Math.cos(l.evaluate(h))],tan:[ct,[ct],(h,[l])=>Math.tan(l.evaluate(h))],asin:[ct,[ct],(h,[l])=>Math.asin(l.evaluate(h))],acos:[ct,[ct],(h,[l])=>Math.acos(l.evaluate(h))],atan:[ct,[ct],(h,[l])=>Math.atan(l.evaluate(h))],min:[ct,pl(ct),(h,l)=>Math.min(...l.map(f=>f.evaluate(h)))],max:[ct,pl(ct),(h,l)=>Math.max(...l.map(f=>f.evaluate(h)))],abs:[ct,[ct],(h,[l])=>Math.abs(l.evaluate(h))],round:[ct,[ct],(h,[l])=>{const f=l.evaluate(h);return f<0?-Math.round(-f):Math.round(f)}],floor:[ct,[ct],(h,[l])=>Math.floor(l.evaluate(h))],ceil:[ct,[ct],(h,[l])=>Math.ceil(l.evaluate(h))],"filter-==":[Kt,[or,tr],(h,[l,f])=>h.properties()[l.value]===f.value],"filter-id-==":[Kt,[tr],(h,[l])=>h.id()===l.value],"filter-type-==":[Kt,[or],(h,[l])=>h.geometryType()===l.value],"filter-<":[Kt,[or,tr],(h,[l,f])=>{const g=h.properties()[l.value],x=f.value;return typeof g==typeof x&&g{const f=h.id(),g=l.value;return typeof f==typeof g&&f":[Kt,[or,tr],(h,[l,f])=>{const g=h.properties()[l.value],x=f.value;return typeof g==typeof x&&g>x}],"filter-id->":[Kt,[tr],(h,[l])=>{const f=h.id(),g=l.value;return typeof f==typeof g&&f>g}],"filter-<=":[Kt,[or,tr],(h,[l,f])=>{const g=h.properties()[l.value],x=f.value;return typeof g==typeof x&&g<=x}],"filter-id-<=":[Kt,[tr],(h,[l])=>{const f=h.id(),g=l.value;return typeof f==typeof g&&f<=g}],"filter->=":[Kt,[or,tr],(h,[l,f])=>{const g=h.properties()[l.value],x=f.value;return typeof g==typeof x&&g>=x}],"filter-id->=":[Kt,[tr],(h,[l])=>{const f=h.id(),g=l.value;return typeof f==typeof g&&f>=g}],"filter-has":[Kt,[tr],(h,[l])=>l.value in h.properties()],"filter-has-id":[Kt,[],h=>h.id()!==null&&h.id()!==void 0],"filter-type-in":[Kt,[Y(or)],(h,[l])=>l.value.indexOf(h.geometryType())>=0],"filter-id-in":[Kt,[Y(tr)],(h,[l])=>l.value.indexOf(h.id())>=0],"filter-in-small":[Kt,[or,Y(tr)],(h,[l,f])=>f.value.indexOf(h.properties()[l.value])>=0],"filter-in-large":[Kt,[or,Y(tr)],(h,[l,f])=>function(g,x,T,A){for(;T<=A;){const D=T+A>>1;if(x[D]===g)return!0;x[D]>g?A=D-1:T=D+1}return!1}(h.properties()[l.value],f.value,0,f.value.length-1)],all:{type:Kt,overloads:[[[Kt,Kt],(h,[l,f])=>l.evaluate(h)&&f.evaluate(h)],[pl(Kt),(h,l)=>{for(const f of l)if(!f.evaluate(h))return!1;return!0}]]},any:{type:Kt,overloads:[[[Kt,Kt],(h,[l,f])=>l.evaluate(h)||f.evaluate(h)],[pl(Kt),(h,l)=>{for(const f of l)if(f.evaluate(h))return!0;return!1}]]},"!":[Kt,[Kt],(h,[l])=>!l.evaluate(h)],"is-supported-script":[Kt,[or],(h,[l])=>{const f=h.globals&&h.globals.isSupportedScript;return!f||f(l.evaluate(h))}],upcase:[or,[or],(h,[l])=>l.evaluate(h).toUpperCase()],downcase:[or,[or],(h,[l])=>l.evaluate(h).toLowerCase()],concat:[or,pl(tr),(h,l)=>l.map(f=>Uo(f.evaluate(h))).join("")],"resolved-locale":[or,[uo],(h,[l])=>l.evaluate(h).resolvedLocale()]});class Nf{constructor(l,f){var g;this.expression=l,this._warningHistory={},this._evaluator=new Sc,this._defaultValue=f?(g=f).type==="color"&&kc(g.default)?new qr(0,0,0,0):g.type==="color"?qr.parse(g.default)||null:g.type==="padding"?oa.parse(g.default)||null:g.type==="variableAnchorOffsetCollection"?sa.parse(g.default)||null:g.default===void 0?null:g.default:null,this._enumValues=f&&f.type==="enum"?f.values:null}evaluateWithoutErrorHandling(l,f,g,x,T,A){return this._evaluator.globals=l,this._evaluator.feature=f,this._evaluator.featureState=g,this._evaluator.canonical=x,this._evaluator.availableImages=T||null,this._evaluator.formattedSection=A,this.expression.evaluate(this._evaluator)}evaluate(l,f,g,x,T,A){this._evaluator.globals=l,this._evaluator.feature=f||null,this._evaluator.featureState=g||null,this._evaluator.canonical=x,this._evaluator.availableImages=T||null,this._evaluator.formattedSection=A||null;try{const D=this.expression.evaluate(this._evaluator);if(D==null||typeof D=="number"&&D!=D)return this._defaultValue;if(this._enumValues&&!(D in this._enumValues))throw new Nn(`Expected value to be one of ${Object.keys(this._enumValues).map(O=>JSON.stringify(O)).join(", ")}, but found ${JSON.stringify(D)} instead.`);return D}catch(D){return this._warningHistory[D.message]||(this._warningHistory[D.message]=!0,typeof console<"u"&&console.warn(D.message)),this._defaultValue}}}function Rc(h){return Array.isArray(h)&&h.length>0&&typeof h[0]=="string"&&h[0]in dl}function gl(h,l){const f=new ws(dl,Of,[],l?function(x){const T={color:rn,string:or,number:ct,enum:or,boolean:Kt,formatted:Ho,padding:bs,resolvedImage:co,variableAnchorOffsetCollection:be};return x.type==="array"?Y(T[x.value]||tr,x.length):T[x.type]}(l):void 0),g=f.parse(h,void 0,void 0,void 0,l&&l.type==="string"?{typeAnnotation:"coerce"}:void 0);return g?b_(new Nf(g,l)):ru(f.errors)}class Pm{constructor(l,f){this.kind=l,this._styleExpression=f,this.isStateDependent=l!=="constant"&&!Lc(f.expression)}evaluateWithoutErrorHandling(l,f,g,x,T,A){return this._styleExpression.evaluateWithoutErrorHandling(l,f,g,x,T,A)}evaluate(l,f,g,x,T,A){return this._styleExpression.evaluate(l,f,g,x,T,A)}}class Am{constructor(l,f,g,x){this.kind=l,this.zoomStops=g,this._styleExpression=f,this.isStateDependent=l!=="camera"&&!Lc(f.expression),this.interpolationType=x}evaluateWithoutErrorHandling(l,f,g,x,T,A){return this._styleExpression.evaluateWithoutErrorHandling(l,f,g,x,T,A)}evaluate(l,f,g,x,T,A){return this._styleExpression.evaluate(l,f,g,x,T,A)}interpolationFactor(l,f,g){return this.interpolationType?ua.interpolationFactor(this.interpolationType,l,f,g):0}}function S_(h,l){const f=gl(h,l);if(f.result==="error")return f;const g=f.value.expression,x=zf(g);if(!x&&!ml(l))return ru([new kr("","data expressions not supported")]);const T=Bf(g,["zoom"]);if(!T&&!Sm(l))return ru([new kr("","zoom expressions not supported")]);const A=jf(g);return A||T?A instanceof kr?ru([A]):A instanceof ua&&!nu(l)?ru([new kr("",'"interpolate" expressions cannot be used with this property')]):b_(A?new Am(x?"camera":"composite",f.value,A.labels,A instanceof ua?A.interpolation:void 0):new Pm(x?"constant":"source",f.value)):ru([new kr("",'"zoom" expression may only be used as input to a top-level "step" or "interpolate" expression.')])}class Vf{constructor(l,f){this._parameters=l,this._specification=f,Sr(this,w_(this._parameters,this._specification))}static deserialize(l){return new Vf(l._parameters,l._specification)}static serialize(l){return{_parameters:l._parameters,_specification:l._specification}}}function jf(h){let l=null;if(h instanceof Fr)l=jf(h.result);else if(h instanceof Cf){for(const f of h.args)if(l=jf(f),l)break}else(h instanceof Ql||h instanceof ua)&&h.input instanceof ca&&h.input.name==="zoom"&&(l=h);return l instanceof kr||h.eachChild(f=>{const g=jf(f);g instanceof kr?l=g:!l&&g?l=new kr("",'"zoom" expression may only be used as input to a top-level "step" or "interpolate" expression.'):l&&g&&l!==g&&(l=new kr("",'Only one zoom-based "step" or "interpolate" subexpression may be used in an expression.'))}),l}function iu(h){if(h===!0||h===!1)return!0;if(!Array.isArray(h)||h.length===0)return!1;switch(h[0]){case"has":return h.length>=2&&h[1]!=="$id"&&h[1]!=="$type";case"in":return h.length>=3&&(typeof h[1]!="string"||Array.isArray(h[2]));case"!in":case"!has":case"none":return!1;case"==":case"!=":case">":case">=":case"<":case"<=":return h.length!==3||Array.isArray(h[1])||Array.isArray(h[2]);case"any":case"all":for(const l of h.slice(1))if(!iu(l)&&typeof l!="boolean")return!1;return!0;default:return!0}}const Hf={type:"boolean",default:!1,transition:!1,"property-type":"data-driven",expression:{interpolated:!1,parameters:["zoom","feature"]}};function Mi(h){if(h==null)return{filter:()=>!0,needGeometry:!1};iu(h)||(h=Uf(h));const l=gl(h,Hf);if(l.result==="error")throw new Error(l.value.map(f=>`${f.key}: ${f.message}`).join(", "));return{filter:(f,g,x)=>l.value.evaluate(f,g,{},x),needGeometry:Im(h)}}function Oc(h,l){return hl?1:0}function Im(h){if(!Array.isArray(h))return!1;if(h[0]==="within"||h[0]==="distance")return!0;for(let l=1;l"||l==="<="||l===">="?Em(h[1],h[2],l):l==="any"?(f=h.slice(1),["any"].concat(f.map(Uf))):l==="all"?["all"].concat(h.slice(1).map(Uf)):l==="none"?["all"].concat(h.slice(1).map(Uf).map(ou)):l==="in"?au(h[1],h.slice(2)):l==="!in"?ou(au(h[1],h.slice(2))):l==="has"?Mm(h[1]):l!=="!has"||ou(Mm(h[1]));var f}function Em(h,l,f){switch(h){case"$type":return[`filter-type-${f}`,l];case"$id":return[`filter-id-${f}`,l];default:return[`filter-${f}`,h,l]}}function au(h,l){if(l.length===0)return!1;switch(h){case"$type":return["filter-type-in",["literal",l]];case"$id":return["filter-id-in",["literal",l]];default:return l.length>200&&!l.some(f=>typeof f!=typeof l[0])?["filter-in-large",h,["literal",l.sort(Oc)]]:["filter-in-small",h,["literal",l]]}}function Mm(h){switch(h){case"$type":return!0;case"$id":return["filter-has-id"];default:return["filter-has",h]}}function ou(h){return["!",h]}function Dm(h){const l=typeof h;if(l==="number"||l==="boolean"||l==="string"||h==null)return JSON.stringify(h);if(Array.isArray(h)){let x="[";for(const T of h)x+=`${Dm(T)},`;return`${x}]`}const f=Object.keys(h).sort();let g="{";for(let x=0;xg.maximum?[new Ke(l,f,`${f} is greater than the maximum value ${g.maximum}`)]:[]}function km(h){const l=h.valueSpec,f=mn(h.value.type);let g,x,T,A={};const D=f!=="categorical"&&h.value.property===void 0,O=!D,F=Or(h.value.stops)==="array"&&Or(h.value.stops[0])==="array"&&Or(h.value.stops[0][0])==="object",V=Hi({key:h.key,value:h.value,valueSpec:h.styleSpec.function,validateSpec:h.validateSpec,style:h.style,styleSpec:h.styleSpec,objectElementValidators:{stops:function(J){if(f==="identity")return[new Ke(J.key,J.value,'identity function may not have a "stops" property')];let re=[];const se=J.value;return re=re.concat(Gf({key:J.key,value:se,valueSpec:J.valueSpec,validateSpec:J.validateSpec,style:J.style,styleSpec:J.styleSpec,arrayElementValidator:U})),Or(se)==="array"&&se.length===0&&re.push(new Ke(J.key,se,"array must have at least one stop")),re},default:function(J){return J.validateSpec({key:J.key,value:J.value,valueSpec:l,validateSpec:J.validateSpec,style:J.style,styleSpec:J.styleSpec})}}});return f==="identity"&&D&&V.push(new Ke(h.key,h.value,'missing required property "property"')),f==="identity"||h.value.stops||V.push(new Ke(h.key,h.value,'missing required property "stops"')),f==="exponential"&&h.valueSpec.expression&&!nu(h.valueSpec)&&V.push(new Ke(h.key,h.value,"exponential functions not supported")),h.styleSpec.$version>=8&&(O&&!ml(h.valueSpec)?V.push(new Ke(h.key,h.value,"property functions not supported")):D&&!Sm(h.valueSpec)&&V.push(new Ke(h.key,h.value,"zoom functions not supported"))),f!=="categorical"&&!F||h.value.property!==void 0||V.push(new Ke(h.key,h.value,'"property" property is required')),V;function U(J){let re=[];const se=J.value,de=J.key;if(Or(se)!=="array")return[new Ke(de,se,`array expected, ${Or(se)} found`)];if(se.length!==2)return[new Ke(de,se,`array length 2 expected, length ${se.length} found`)];if(F){if(Or(se[0])!=="object")return[new Ke(de,se,`object expected, ${Or(se[0])} found`)];if(se[0].zoom===void 0)return[new Ke(de,se,"object stop key must have zoom")];if(se[0].value===void 0)return[new Ke(de,se,"object stop key must have value")];if(T&&T>mn(se[0].zoom))return[new Ke(de,se[0].zoom,"stop zoom values must appear in ascending order")];mn(se[0].zoom)!==T&&(T=mn(se[0].zoom),x=void 0,A={}),re=re.concat(Hi({key:`${de}[0]`,value:se[0],valueSpec:{zoom:{}},validateSpec:J.validateSpec,style:J.style,styleSpec:J.styleSpec,objectElementValidators:{zoom:zc,value:X}}))}else re=re.concat(X({key:`${de}[0]`,value:se[0],valueSpec:{},validateSpec:J.validateSpec,style:J.style,styleSpec:J.styleSpec},se));return Rc(yl(se[1]))?re.concat([new Ke(`${de}[1]`,se[1],"expressions are not allowed in function stops.")]):re.concat(J.validateSpec({key:`${de}[1]`,value:se[1],valueSpec:l,validateSpec:J.validateSpec,style:J.style,styleSpec:J.styleSpec}))}function X(J,re){const se=Or(J.value),de=mn(J.value),we=J.value!==null?J.value:re;if(g){if(se!==g)return[new Ke(J.key,we,`${se} stop domain type must match previous stop domain type ${g}`)]}else g=se;if(se!=="number"&&se!=="string"&&se!=="boolean")return[new Ke(J.key,we,"stop domain value must be a number, string, or boolean")];if(se!=="number"&&f!=="categorical"){let Re=`number expected, ${se} found`;return ml(l)&&f===void 0&&(Re+='\nIf you intended to use a categorical function, specify `"type": "categorical"`.'),[new Ke(J.key,we,Re)]}return f!=="categorical"||se!=="number"||isFinite(de)&&Math.floor(de)===de?f!=="categorical"&&se==="number"&&x!==void 0&&denew Ke(`${h.key}${g.key}`,h.value,g.message));const f=l.value.expression||l.value._styleExpression.expression;if(h.expressionContext==="property"&&h.propertyKey==="text-font"&&!f.outputDefined())return[new Ke(h.key,h.value,`Invalid data expression for "${h.propertyKey}". Output values must be contained as literals within the expression.`)];if(h.expressionContext==="property"&&h.propertyType==="layout"&&!Lc(f))return[new Ke(h.key,h.value,'"feature-state" data expressions are not supported with layout properties.')];if(h.expressionContext==="filter"&&!Lc(f))return[new Ke(h.key,h.value,'"feature-state" data expressions are not supported with filters.')];if(h.expressionContext&&h.expressionContext.indexOf("cluster")===0){if(!Bf(f,["zoom","feature-state"]))return[new Ke(h.key,h.value,'"zoom" and "feature-state" expressions are not supported with cluster properties.')];if(h.expressionContext==="cluster-initial"&&!zf(f))return[new Ke(h.key,h.value,"Feature data expressions are not supported with initial expression part of cluster properties.")]}return[]}function Bc(h){const l=h.key,f=h.value,g=h.valueSpec,x=[];return Array.isArray(g.values)?g.values.indexOf(mn(f))===-1&&x.push(new Ke(l,f,`expected one of [${g.values.join(", ")}], ${JSON.stringify(f)} found`)):Object.keys(g.values).indexOf(mn(f))===-1&&x.push(new Ke(l,f,`expected one of [${Object.keys(g.values).join(", ")}], ${JSON.stringify(f)} found`)),x}function Fc(h){return iu(yl(h.value))?_l(Sr({},h,{expressionContext:"filter",valueSpec:{value:"boolean"}})):$c(h)}function $c(h){const l=h.value,f=h.key;if(Or(l)!=="array")return[new Ke(f,l,`array expected, ${Or(l)} found`)];const g=h.styleSpec;let x,T=[];if(l.length<1)return[new Ke(f,l,"filter array must have at least 1 element")];switch(T=T.concat(Bc({key:`${f}[0]`,value:l[0],valueSpec:g.filter_operator,style:h.style,styleSpec:h.styleSpec})),mn(l[0])){case"<":case"<=":case">":case">=":l.length>=2&&mn(l[1])==="$type"&&T.push(new Ke(f,l,`"$type" cannot be use with operator "${l[0]}"`));case"==":case"!=":l.length!==3&&T.push(new Ke(f,l,`filter array for operator "${l[0]}" must have 3 elements`));case"in":case"!in":l.length>=2&&(x=Or(l[1]),x!=="string"&&T.push(new Ke(`${f}[1]`,l[1],`string expected, ${x} found`)));for(let A=2;A{F in f&&l.push(new Ke(g,f[F],`"${F}" is prohibited for ref layers`))}),x.layers.forEach(F=>{mn(F.id)===D&&(O=F)}),O?O.ref?l.push(new Ke(g,f.ref,"ref cannot reference another ref layer")):A=mn(O.type):l.push(new Ke(g,f.ref,`ref layer "${D}" not found`))}else if(A!=="background")if(f.source){const O=x.sources&&x.sources[f.source],F=O&&mn(O.type);O?F==="vector"&&A==="raster"?l.push(new Ke(g,f.source,`layer "${f.id}" requires a raster source`)):F!=="raster-dem"&&A==="hillshade"?l.push(new Ke(g,f.source,`layer "${f.id}" requires a raster-dem source`)):F==="raster"&&A!=="raster"?l.push(new Ke(g,f.source,`layer "${f.id}" requires a vector source`)):F!=="vector"||f["source-layer"]?F==="raster-dem"&&A!=="hillshade"?l.push(new Ke(g,f.source,"raster-dem source can only be used with layer type 'hillshade'.")):A!=="line"||!f.paint||!f.paint["line-gradient"]||F==="geojson"&&O.lineMetrics||l.push(new Ke(g,f,`layer "${f.id}" specifies a line-gradient, which requires a GeoJSON source with \`lineMetrics\` enabled.`)):l.push(new Ke(g,f,`layer "${f.id}" must specify a "source-layer"`)):l.push(new Ke(g,f.source,`source "${f.source}" not found`))}else l.push(new Ke(g,f,'missing required property "source"'));return l=l.concat(Hi({key:g,value:f,valueSpec:T.layer,style:h.style,styleSpec:h.styleSpec,validateSpec:h.validateSpec,objectElementValidators:{"*":()=>[],type:()=>h.validateSpec({key:`${g}.type`,value:f.type,valueSpec:T.layer.type,style:h.style,styleSpec:h.styleSpec,validateSpec:h.validateSpec,object:f,objectKey:"type"}),filter:Fc,layout:O=>Hi({layer:f,key:O.key,value:O.value,style:O.style,styleSpec:O.styleSpec,validateSpec:O.validateSpec,objectElementValidators:{"*":F=>zm(Sr({layerType:A},F))}}),paint:O=>Hi({layer:f,key:O.key,value:O.value,style:O.style,styleSpec:O.styleSpec,validateSpec:O.validateSpec,objectElementValidators:{"*":F=>Om(Sr({layerType:A},F))}})}})),l}function Wo(h){const l=h.value,f=h.key,g=Or(l);return g!=="string"?[new Ke(f,l,`string expected, ${g} found`)]:[]}const Fm={promoteId:function({key:h,value:l}){if(Or(l)==="string")return Wo({key:h,value:l});{const f=[];for(const g in l)f.push(...Wo({key:`${h}.${g}`,value:l[g]}));return f}}};function C_(h){const l=h.value,f=h.key,g=h.styleSpec,x=h.style,T=h.validateSpec;if(!l.type)return[new Ke(f,l,'"type" is required')];const A=mn(l.type);let D;switch(A){case"vector":case"raster":return D=Hi({key:f,value:l,valueSpec:g[`source_${A.replace("-","_")}`],style:h.style,styleSpec:g,objectElementValidators:Fm,validateSpec:T}),D;case"raster-dem":return D=function(O){var F;const V=(F=O.sourceName)!==null&&F!==void 0?F:"",U=O.value,X=O.styleSpec,J=X.source_raster_dem,re=O.style;let se=[];const de=Or(U);if(U===void 0)return se;if(de!=="object")return se.push(new Ke("source_raster_dem",U,`object expected, ${de} found`)),se;const we=mn(U.encoding)==="custom",Re=["redFactor","greenFactor","blueFactor","baseShift"],Ce=O.value.encoding?`"${O.value.encoding}"`:"Default";for(const De in U)!we&&Re.includes(De)?se.push(new Ke(De,U[De],`In "${V}": "${De}" is only valid when "encoding" is set to "custom". ${Ce} encoding found`)):J[De]?se=se.concat(O.validateSpec({key:De,value:U[De],valueSpec:J[De],validateSpec:O.validateSpec,style:re,styleSpec:X})):se.push(new Ke(De,U[De],`unknown property "${De}"`));return se}({sourceName:f,value:l,style:h.style,styleSpec:g,validateSpec:T}),D;case"geojson":if(D=Hi({key:f,value:l,valueSpec:g.source_geojson,style:x,styleSpec:g,validateSpec:T,objectElementValidators:Fm}),l.cluster)for(const O in l.clusterProperties){const[F,V]=l.clusterProperties[O],U=typeof F=="string"?[F,["accumulated"],["get",O]]:F;D.push(..._l({key:`${f}.${O}.map`,value:V,validateSpec:T,expressionContext:"cluster-map"})),D.push(..._l({key:`${f}.${O}.reduce`,value:U,validateSpec:T,expressionContext:"cluster-reduce"}))}return D;case"video":return Hi({key:f,value:l,valueSpec:g.source_video,style:x,validateSpec:T,styleSpec:g});case"image":return Hi({key:f,value:l,valueSpec:g.source_image,style:x,validateSpec:T,styleSpec:g});case"canvas":return[new Ke(f,null,"Please use runtime APIs to add canvas sources, rather than including them in stylesheets.","source.canvas")];default:return Bc({key:`${f}.type`,value:l.type,valueSpec:{values:["vector","raster","raster-dem","geojson","video","image"]},style:x,validateSpec:T,styleSpec:g})}}function $m(h){const l=h.value,f=h.styleSpec,g=f.light,x=h.style;let T=[];const A=Or(l);if(l===void 0)return T;if(A!=="object")return T=T.concat([new Ke("light",l,`object expected, ${A} found`)]),T;for(const D in l){const O=D.match(/^(.*)-transition$/);T=T.concat(O&&g[O[1]]&&g[O[1]].transition?h.validateSpec({key:D,value:l[D],valueSpec:f.transition,validateSpec:h.validateSpec,style:x,styleSpec:f}):g[D]?h.validateSpec({key:D,value:l[D],valueSpec:g[D],validateSpec:h.validateSpec,style:x,styleSpec:f}):[new Ke(D,l[D],`unknown property "${D}"`)])}return T}function P_(h){const l=h.value,f=h.styleSpec,g=f.sky,x=h.style,T=Or(l);if(l===void 0)return[];if(T!=="object")return[new Ke("sky",l,`object expected, ${T} found`)];let A=[];for(const D in l)A=A.concat(g[D]?h.validateSpec({key:D,value:l[D],valueSpec:g[D],style:x,styleSpec:f}):[new Ke(D,l[D],`unknown property "${D}"`)]);return A}function Nm(h){const l=h.value,f=h.styleSpec,g=f.terrain,x=h.style;let T=[];const A=Or(l);if(l===void 0)return T;if(A!=="object")return T=T.concat([new Ke("terrain",l,`object expected, ${A} found`)]),T;for(const D in l)T=T.concat(g[D]?h.validateSpec({key:D,value:l[D],valueSpec:g[D],validateSpec:h.validateSpec,style:x,styleSpec:f}):[new Ke(D,l[D],`unknown property "${D}"`)]);return T}function Vm(h){let l=[];const f=h.value,g=h.key;if(Array.isArray(f)){const x=[],T=[];for(const A in f)f[A].id&&x.includes(f[A].id)&&l.push(new Ke(g,f,`all the sprites' ids must be unique, but ${f[A].id} is duplicated`)),x.push(f[A].id),f[A].url&&T.includes(f[A].url)&&l.push(new Ke(g,f,`all the sprites' URLs must be unique, but ${f[A].url} is duplicated`)),T.push(f[A].url),l=l.concat(Hi({key:`${g}[${A}]`,value:f[A],valueSpec:{id:{type:"string",required:!0},url:{type:"string",required:!0}},validateSpec:h.validateSpec}));return l}return Wo({key:g,value:f})}const jm={"*":()=>[],array:Gf,boolean:function(h){const l=h.value,f=h.key,g=Or(l);return g!=="boolean"?[new Ke(f,l,`boolean expected, ${g} found`)]:[]},number:zc,color:function(h){const l=h.key,f=h.value,g=Or(f);return g!=="string"?[new Ke(l,f,`color expected, ${g} found`)]:qr.parse(String(f))?[]:[new Ke(l,f,`color expected, "${f}" found`)]},constants:T_,enum:Bc,filter:Fc,function:km,layer:Bm,object:Hi,source:C_,light:$m,sky:P_,terrain:Nm,projection:function(h){const l=h.value,f=h.styleSpec,g=f.projection,x=h.style,T=Or(l);if(l===void 0)return[];if(T!=="object")return[new Ke("projection",l,`object expected, ${T} found`)];let A=[];for(const D in l)A=A.concat(g[D]?h.validateSpec({key:D,value:l[D],valueSpec:g[D],style:x,styleSpec:f}):[new Ke(D,l[D],`unknown property "${D}"`)]);return A},string:Wo,formatted:function(h){return Wo(h).length===0?[]:_l(h)},resolvedImage:function(h){return Wo(h).length===0?[]:_l(h)},padding:function(h){const l=h.key,f=h.value;if(Or(f)==="array"){if(f.length<1||f.length>4)return[new Ke(l,f,`padding requires 1 to 4 values; ${f.length} values found`)];const g={type:"number"};let x=[];for(let T=0;T[]}})),h.constants&&(f=f.concat(T_({key:"constants",value:h.constants,style:h,styleSpec:l,validateSpec:Nc}))),Hm(f)}function Na(h){return function(l){return h({...l,validateSpec:Nc})}}function Hm(h){return[].concat(h).sort((l,f)=>l.line-f.line)}function Va(h){return function(...l){return Hm(h.apply(this,l))}}Ta.source=Va(Na(C_)),Ta.sprite=Va(Na(Vm)),Ta.glyphs=Va(Na(A_)),Ta.light=Va(Na($m)),Ta.sky=Va(Na(P_)),Ta.terrain=Va(Na(Nm)),Ta.layer=Va(Na(Bm)),Ta.filter=Va(Na(Fc)),Ta.paintProperty=Va(Na(Om)),Ta.layoutProperty=Va(Na(zm));const qo=Ta,Jw=qo.light,Um=qo.sky,Qw=qo.paintProperty,eS=qo.layoutProperty;function Gm(h,l){let f=!1;if(l&&l.length)for(const g of l)h.fire(new ge(new Error(g.message))),f=!0;return f}class su{constructor(l,f,g){const x=this.cells=[];if(l instanceof ArrayBuffer){this.arrayBuffer=l;const A=new Int32Array(this.arrayBuffer);l=A[0],this.d=(f=A[1])+2*(g=A[2]);for(let O=0;O=U[re+0]&&x>=U[re+1])?(D[J]=!0,A.push(V[J])):D[J]=!1}}}}_forEachCell(l,f,g,x,T,A,D,O){const F=this._convertToCellCoord(l),V=this._convertToCellCoord(f),U=this._convertToCellCoord(g),X=this._convertToCellCoord(x);for(let J=F;J<=U;J++)for(let re=V;re<=X;re++){const se=this.d*re+J;if((!O||O(this._convertFromCellCoord(J),this._convertFromCellCoord(re),this._convertFromCellCoord(J+1),this._convertFromCellCoord(re+1)))&&T.call(this,l,f,g,x,se,A,D,O))return}}_convertFromCellCoord(l){return(l-this.padding)/this.scale}_convertToCellCoord(l){return Math.max(0,Math.min(this.d-1,Math.floor(l*this.scale)+this.padding))}toArrayBuffer(){if(this.arrayBuffer)return this.arrayBuffer;const l=this.cells,f=3+this.cells.length+1+1;let g=0;for(let A=0;A=0)continue;const A=h[T];x[T]=fo[f].shallow.indexOf(T)>=0?A:Vc(A,l)}h instanceof Error&&(x.message=h.message)}if(x.$name)throw new Error("$name property is reserved for worker serialization logic.");return f!=="Object"&&(x.$name=f),x}function po(h){if(E_(h))return h;if(Array.isArray(h))return h.map(po);if(typeof h!="object")throw new Error("can't deserialize object of type "+typeof h);const l=Wm(h)||"Object";if(!fo[l])throw new Error(`can't deserialize unregistered class ${l}`);const{klass:f}=fo[l];if(!f)throw new Error(`can't deserialize unregistered class ${l}`);if(f.deserialize)return f.deserialize(h);const g=Object.create(f.prototype);for(const x of Object.keys(h)){if(x==="$name")continue;const T=h[x];g[x]=fo[l].shallow.indexOf(x)>=0?T:po(T)}return g}class M_{constructor(){this.first=!0}update(l,f){const g=Math.floor(l);return this.first?(this.first=!1,this.lastIntegerZoom=g,this.lastIntegerZoomTime=0,this.lastZoom=l,this.lastFloorZoom=g,!0):(this.lastFloorZoom>g?(this.lastIntegerZoom=g+1,this.lastIntegerZoomTime=f):this.lastFloorZoomh>=128&&h<=255,Arabic:h=>h>=1536&&h<=1791,"Arabic Supplement":h=>h>=1872&&h<=1919,"Arabic Extended-A":h=>h>=2208&&h<=2303,"Hangul Jamo":h=>h>=4352&&h<=4607,"Unified Canadian Aboriginal Syllabics":h=>h>=5120&&h<=5759,Khmer:h=>h>=6016&&h<=6143,"Unified Canadian Aboriginal Syllabics Extended":h=>h>=6320&&h<=6399,"General Punctuation":h=>h>=8192&&h<=8303,"Letterlike Symbols":h=>h>=8448&&h<=8527,"Number Forms":h=>h>=8528&&h<=8591,"Miscellaneous Technical":h=>h>=8960&&h<=9215,"Control Pictures":h=>h>=9216&&h<=9279,"Optical Character Recognition":h=>h>=9280&&h<=9311,"Enclosed Alphanumerics":h=>h>=9312&&h<=9471,"Geometric Shapes":h=>h>=9632&&h<=9727,"Miscellaneous Symbols":h=>h>=9728&&h<=9983,"Miscellaneous Symbols and Arrows":h=>h>=11008&&h<=11263,"CJK Radicals Supplement":h=>h>=11904&&h<=12031,"Kangxi Radicals":h=>h>=12032&&h<=12255,"Ideographic Description Characters":h=>h>=12272&&h<=12287,"CJK Symbols and Punctuation":h=>h>=12288&&h<=12351,Hiragana:h=>h>=12352&&h<=12447,Katakana:h=>h>=12448&&h<=12543,Bopomofo:h=>h>=12544&&h<=12591,"Hangul Compatibility Jamo":h=>h>=12592&&h<=12687,Kanbun:h=>h>=12688&&h<=12703,"Bopomofo Extended":h=>h>=12704&&h<=12735,"CJK Strokes":h=>h>=12736&&h<=12783,"Katakana Phonetic Extensions":h=>h>=12784&&h<=12799,"Enclosed CJK Letters and Months":h=>h>=12800&&h<=13055,"CJK Compatibility":h=>h>=13056&&h<=13311,"CJK Unified Ideographs Extension A":h=>h>=13312&&h<=19903,"Yijing Hexagram Symbols":h=>h>=19904&&h<=19967,"CJK Unified Ideographs":h=>h>=19968&&h<=40959,"Yi Syllables":h=>h>=40960&&h<=42127,"Yi Radicals":h=>h>=42128&&h<=42191,"Hangul Jamo Extended-A":h=>h>=43360&&h<=43391,"Hangul Syllables":h=>h>=44032&&h<=55215,"Hangul Jamo Extended-B":h=>h>=55216&&h<=55295,"Private Use Area":h=>h>=57344&&h<=63743,"CJK Compatibility Ideographs":h=>h>=63744&&h<=64255,"Arabic Presentation Forms-A":h=>h>=64336&&h<=65023,"Vertical Forms":h=>h>=65040&&h<=65055,"CJK Compatibility Forms":h=>h>=65072&&h<=65103,"Small Form Variants":h=>h>=65104&&h<=65135,"Arabic Presentation Forms-B":h=>h>=65136&&h<=65279,"Halfwidth and Fullwidth Forms":h=>h>=65280&&h<=65519};function qm(h){for(const l of h)if(Zm(l.charCodeAt(0)))return!0;return!1}function tS(h){for(const l of h)if(!D_(l.charCodeAt(0)))return!1;return!0}function D_(h){return!(wt.Arabic(h)||wt["Arabic Supplement"](h)||wt["Arabic Extended-A"](h)||wt["Arabic Presentation Forms-A"](h)||wt["Arabic Presentation Forms-B"](h))}function Zm(h){return!(h!==746&&h!==747&&(h<4352||!(wt["Bopomofo Extended"](h)||wt.Bopomofo(h)||wt["CJK Compatibility Forms"](h)&&!(h>=65097&&h<=65103)||wt["CJK Compatibility Ideographs"](h)||wt["CJK Compatibility"](h)||wt["CJK Radicals Supplement"](h)||wt["CJK Strokes"](h)||!(!wt["CJK Symbols and Punctuation"](h)||h>=12296&&h<=12305||h>=12308&&h<=12319||h===12336)||wt["CJK Unified Ideographs Extension A"](h)||wt["CJK Unified Ideographs"](h)||wt["Enclosed CJK Letters and Months"](h)||wt["Hangul Compatibility Jamo"](h)||wt["Hangul Jamo Extended-A"](h)||wt["Hangul Jamo Extended-B"](h)||wt["Hangul Jamo"](h)||wt["Hangul Syllables"](h)||wt.Hiragana(h)||wt["Ideographic Description Characters"](h)||wt.Kanbun(h)||wt["Kangxi Radicals"](h)||wt["Katakana Phonetic Extensions"](h)||wt.Katakana(h)&&h!==12540||!(!wt["Halfwidth and Fullwidth Forms"](h)||h===65288||h===65289||h===65293||h>=65306&&h<=65310||h===65339||h===65341||h===65343||h>=65371&&h<=65503||h===65507||h>=65512&&h<=65519)||!(!wt["Small Form Variants"](h)||h>=65112&&h<=65118||h>=65123&&h<=65126)||wt["Unified Canadian Aboriginal Syllabics"](h)||wt["Unified Canadian Aboriginal Syllabics Extended"](h)||wt["Vertical Forms"](h)||wt["Yijing Hexagram Symbols"](h)||wt["Yi Syllables"](h)||wt["Yi Radicals"](h))))}function L_(h){return!(Zm(h)||function(l){return!!(wt["Latin-1 Supplement"](l)&&(l===167||l===169||l===174||l===177||l===188||l===189||l===190||l===215||l===247)||wt["General Punctuation"](l)&&(l===8214||l===8224||l===8225||l===8240||l===8241||l===8251||l===8252||l===8258||l===8263||l===8264||l===8265||l===8273)||wt["Letterlike Symbols"](l)||wt["Number Forms"](l)||wt["Miscellaneous Technical"](l)&&(l>=8960&&l<=8967||l>=8972&&l<=8991||l>=8996&&l<=9e3||l===9003||l>=9085&&l<=9114||l>=9150&&l<=9165||l===9167||l>=9169&&l<=9179||l>=9186&&l<=9215)||wt["Control Pictures"](l)&&l!==9251||wt["Optical Character Recognition"](l)||wt["Enclosed Alphanumerics"](l)||wt["Geometric Shapes"](l)||wt["Miscellaneous Symbols"](l)&&!(l>=9754&&l<=9759)||wt["Miscellaneous Symbols and Arrows"](l)&&(l>=11026&&l<=11055||l>=11088&&l<=11097||l>=11192&&l<=11243)||wt["CJK Symbols and Punctuation"](l)||wt.Katakana(l)||wt["Private Use Area"](l)||wt["CJK Compatibility Forms"](l)||wt["Small Form Variants"](l)||wt["Halfwidth and Fullwidth Forms"](l)||l===8734||l===8756||l===8757||l>=9984&&l<=10087||l>=10102&&l<=10131||l===65532||l===65533)}(h))}function Cs(h){return h>=1424&&h<=2303||wt["Arabic Presentation Forms-A"](h)||wt["Arabic Presentation Forms-B"](h)}function k_(h,l){return!(!l&&Cs(h)||h>=2304&&h<=3583||h>=3840&&h<=4255||wt.Khmer(h))}function Xm(h){for(const l of h)if(Cs(l.charCodeAt(0)))return!0;return!1}const Ps=new class{constructor(){this.applyArabicShaping=null,this.processBidirectionalText=null,this.processStyledBidirectionalText=null,this.pluginStatus="unavailable",this.pluginURL=null}setState(h){this.pluginStatus=h.pluginStatus,this.pluginURL=h.pluginURL}getState(){return{pluginStatus:this.pluginStatus,pluginURL:this.pluginURL}}setMethods(h){this.applyArabicShaping=h.applyArabicShaping,this.processBidirectionalText=h.processBidirectionalText,this.processStyledBidirectionalText=h.processStyledBidirectionalText}isParsed(){return this.applyArabicShaping!=null&&this.processBidirectionalText!=null&&this.processStyledBidirectionalText!=null}getPluginURL(){return this.pluginURL}getRTLTextPluginStatus(){return this.pluginStatus}};class cn{constructor(l,f){this.zoom=l,f?(this.now=f.now,this.fadeDuration=f.fadeDuration,this.zoomHistory=f.zoomHistory,this.transition=f.transition):(this.now=0,this.fadeDuration=0,this.zoomHistory=new M_,this.transition={})}isSupportedScript(l){return function(f,g){for(const x of f)if(!k_(x.charCodeAt(0),g))return!1;return!0}(l,Ps.getRTLTextPluginStatus()==="loaded")}crossFadingFactor(){return this.fadeDuration===0?1:Math.min((this.now-this.zoomHistory.lastIntegerZoomTime)/this.fadeDuration,1)}getCrossfadeParameters(){const l=this.zoom,f=l-Math.floor(l),g=this.crossFadingFactor();return l>this.zoomHistory.lastIntegerZoom?{fromScale:2,toScale:1,t:f+(1-f)*g}:{fromScale:.5,toScale:1,t:1-(1-g)*f}}}class Wf{constructor(l,f){this.property=l,this.value=f,this.expression=function(g,x){if(kc(g))return new Vf(g,x);if(Rc(g)){const T=S_(g,x);if(T.result==="error")throw new Error(T.value.map(A=>`${A.key}: ${A.message}`).join(", "));return T.value}{let T=g;return x.type==="color"&&typeof g=="string"?T=qr.parse(g):x.type!=="padding"||typeof g!="number"&&!Array.isArray(g)?x.type==="variableAnchorOffsetCollection"&&Array.isArray(g)&&(T=sa.parse(g)):T=oa.parse(g),{kind:"constant",evaluate:()=>T}}}(f===void 0?l.specification.default:f,l.specification)}isDataDriven(){return this.expression.kind==="source"||this.expression.kind==="composite"}possiblyEvaluate(l,f,g){return this.property.possiblyEvaluate(this,l,f,g)}}class lu{constructor(l){this.property=l,this.value=new Wf(l,void 0)}transitioned(l,f){return new R_(this.property,this.value,f,H({},l.transition,this.transition),l.now)}untransitioned(){return new R_(this.property,this.value,null,{},0)}}class uu{constructor(l){this._properties=l,this._values=Object.create(l.defaultTransitionablePropertyValues)}getValue(l){return ne(this._values[l].value.value)}setValue(l,f){Object.prototype.hasOwnProperty.call(this._values,l)||(this._values[l]=new lu(this._values[l].property)),this._values[l].value=new Wf(this._values[l].property,f===null?void 0:ne(f))}getTransition(l){return ne(this._values[l].transition)}setTransition(l,f){Object.prototype.hasOwnProperty.call(this._values,l)||(this._values[l]=new lu(this._values[l].property)),this._values[l].transition=ne(f)||void 0}serialize(){const l={};for(const f of Object.keys(this._values)){const g=this.getValue(f);g!==void 0&&(l[f]=g);const x=this.getTransition(f);x!==void 0&&(l[`${f}-transition`]=x)}return l}transitioned(l,f){const g=new Km(this._properties);for(const x of Object.keys(this._values))g._values[x]=this._values[x].transitioned(l,f._values[x]);return g}untransitioned(){const l=new Km(this._properties);for(const f of Object.keys(this._values))l._values[f]=this._values[f].untransitioned();return l}}class R_{constructor(l,f,g,x,T){this.property=l,this.value=f,this.begin=T+x.delay||0,this.end=this.begin+x.duration||0,l.specification.transition&&(x.delay||x.duration)&&(this.prior=g)}possiblyEvaluate(l,f,g){const x=l.now||0,T=this.value.possiblyEvaluate(l,f,g),A=this.prior;if(A){if(x>this.end)return this.prior=null,T;if(this.value.isDataDriven())return this.prior=null,T;if(x=1)return 1;const F=O*O,V=F*O;return 4*(O<.5?V:3*(O-F)+V-.75)}(D))}}return T}}class Km{constructor(l){this._properties=l,this._values=Object.create(l.defaultTransitioningPropertyValues)}possiblyEvaluate(l,f,g){const x=new qf(this._properties);for(const T of Object.keys(this._values))x._values[T]=this._values[T].possiblyEvaluate(l,f,g);return x}hasTransition(){for(const l of Object.keys(this._values))if(this._values[l].prior)return!0;return!1}}class jc{constructor(l){this._properties=l,this._values=Object.create(l.defaultPropertyValues)}hasValue(l){return this._values[l].value!==void 0}getValue(l){return ne(this._values[l].value)}setValue(l,f){this._values[l]=new Wf(this._values[l].property,f===null?void 0:ne(f))}serialize(){const l={};for(const f of Object.keys(this._values)){const g=this.getValue(f);g!==void 0&&(l[f]=g)}return l}possiblyEvaluate(l,f,g){const x=new qf(this._properties);for(const T of Object.keys(this._values))x._values[T]=this._values[T].possiblyEvaluate(l,f,g);return x}}class mo{constructor(l,f,g){this.property=l,this.value=f,this.parameters=g}isConstant(){return this.value.kind==="constant"}constantOr(l){return this.value.kind==="constant"?this.value.value:l}evaluate(l,f,g,x){return this.property.evaluate(this.value,this.parameters,l,f,g,x)}}class qf{constructor(l){this._properties=l,this._values=Object.create(l.defaultPossiblyEvaluatedValues)}get(l){return this._values[l]}}class $t{constructor(l){this.specification=l}possiblyEvaluate(l,f){if(l.isDataDriven())throw new Error("Value should not be data driven");return l.expression.evaluate(f)}interpolate(l,f,g){const x=la[this.specification.type];return x?x(l,f,g):l}}class Xt{constructor(l,f){this.specification=l,this.overrides=f}possiblyEvaluate(l,f,g,x){return new mo(this,l.expression.kind==="constant"||l.expression.kind==="camera"?{kind:"constant",value:l.expression.evaluate(f,null,{},g,x)}:l.expression,f)}interpolate(l,f,g){if(l.value.kind!=="constant"||f.value.kind!=="constant")return l;if(l.value.value===void 0||f.value.value===void 0)return new mo(this,{kind:"constant",value:void 0},l.parameters);const x=la[this.specification.type];if(x){const T=x(l.value.value,f.value.value,g);return new mo(this,{kind:"constant",value:T},l.parameters)}return l}evaluate(l,f,g,x,T,A){return l.kind==="constant"?l.value:l.evaluate(f,g,x,T,A)}}class C extends Xt{possiblyEvaluate(l,f,g,x){if(l.value===void 0)return new mo(this,{kind:"constant",value:void 0},f);if(l.expression.kind==="constant"){const T=l.expression.evaluate(f,null,{},g,x),A=l.property.specification.type==="resolvedImage"&&typeof T!="string"?T.name:T,D=this._calculate(A,A,A,f);return new mo(this,{kind:"constant",value:D},f)}if(l.expression.kind==="camera"){const T=this._calculate(l.expression.evaluate({zoom:f.zoom-1}),l.expression.evaluate({zoom:f.zoom}),l.expression.evaluate({zoom:f.zoom+1}),f);return new mo(this,{kind:"constant",value:T},f)}return new mo(this,l.expression,f)}evaluate(l,f,g,x,T,A){if(l.kind==="source"){const D=l.evaluate(f,g,x,T,A);return this._calculate(D,D,D,f)}return l.kind==="composite"?this._calculate(l.evaluate({zoom:Math.floor(f.zoom)-1},g,x),l.evaluate({zoom:Math.floor(f.zoom)},g,x),l.evaluate({zoom:Math.floor(f.zoom)+1},g,x),f):l.value}_calculate(l,f,g,x){return x.zoom>x.zoomHistory.lastIntegerZoom?{from:l,to:f}:{from:g,to:f}}interpolate(l){return l}}class u{constructor(l){this.specification=l}possiblyEvaluate(l,f,g,x){if(l.value!==void 0){if(l.expression.kind==="constant"){const T=l.expression.evaluate(f,null,{},g,x);return this._calculate(T,T,T,f)}return this._calculate(l.expression.evaluate(new cn(Math.floor(f.zoom-1),f)),l.expression.evaluate(new cn(Math.floor(f.zoom),f)),l.expression.evaluate(new cn(Math.floor(f.zoom+1),f)),f)}}_calculate(l,f,g,x){return x.zoom>x.zoomHistory.lastIntegerZoom?{from:l,to:f}:{from:g,to:f}}interpolate(l){return l}}class p{constructor(l){this.specification=l}possiblyEvaluate(l,f,g,x){return!!l.expression.evaluate(f,null,{},g,x)}interpolate(){return!1}}class b{constructor(l){this.properties=l,this.defaultPropertyValues={},this.defaultTransitionablePropertyValues={},this.defaultTransitioningPropertyValues={},this.defaultPossiblyEvaluatedValues={},this.overridableProperties=[];for(const f in l){const g=l[f];g.specification.overridable&&this.overridableProperties.push(f);const x=this.defaultPropertyValues[f]=new Wf(g,void 0),T=this.defaultTransitionablePropertyValues[f]=new lu(g);this.defaultTransitioningPropertyValues[f]=T.untransitioned(),this.defaultPossiblyEvaluatedValues[f]=x.possiblyEvaluate({})}}}Lt("DataDrivenProperty",Xt),Lt("DataConstantProperty",$t),Lt("CrossFadedDataDrivenProperty",C),Lt("CrossFadedProperty",u),Lt("ColorRampProperty",p);const w="-transition";class P extends Fe{constructor(l,f){if(super(),this.id=l.id,this.type=l.type,this._featureFilter={filter:()=>!0,needGeometry:!1},l.type!=="custom"&&(this.metadata=l.metadata,this.minzoom=l.minzoom,this.maxzoom=l.maxzoom,l.type!=="background"&&(this.source=l.source,this.sourceLayer=l["source-layer"],this.filter=l.filter),f.layout&&(this._unevaluatedLayout=new jc(f.layout)),f.paint)){this._transitionablePaint=new uu(f.paint);for(const g in l.paint)this.setPaintProperty(g,l.paint[g],{validate:!1});for(const g in l.layout)this.setLayoutProperty(g,l.layout[g],{validate:!1});this._transitioningPaint=this._transitionablePaint.untransitioned(),this.paint=new qf(f.paint)}}getCrossfadeParameters(){return this._crossfadeParameters}getLayoutProperty(l){return l==="visibility"?this.visibility:this._unevaluatedLayout.getValue(l)}setLayoutProperty(l,f,g={}){f!=null&&this._validate(eS,`layers.${this.id}.layout.${l}`,l,f,g)||(l!=="visibility"?this._unevaluatedLayout.setValue(l,f):this.visibility=f)}getPaintProperty(l){return l.endsWith(w)?this._transitionablePaint.getTransition(l.slice(0,-11)):this._transitionablePaint.getValue(l)}setPaintProperty(l,f,g={}){if(f!=null&&this._validate(Qw,`layers.${this.id}.paint.${l}`,l,f,g))return!1;if(l.endsWith(w))return this._transitionablePaint.setTransition(l.slice(0,-11),f||void 0),!1;{const x=this._transitionablePaint._values[l],T=x.property.specification["property-type"]==="cross-faded-data-driven",A=x.value.isDataDriven(),D=x.value;this._transitionablePaint.setValue(l,f),this._handleSpecialPaintPropertyUpdate(l);const O=this._transitionablePaint._values[l].value;return O.isDataDriven()||A||T||this._handleOverridablePaintPropertyUpdate(l,D,O)}}_handleSpecialPaintPropertyUpdate(l){}_handleOverridablePaintPropertyUpdate(l,f,g){return!1}isHidden(l){return!!(this.minzoom&&l=this.maxzoom)||this.visibility==="none"}updateTransitions(l){this._transitioningPaint=this._transitionablePaint.transitioned(l,this._transitioningPaint)}hasTransition(){return this._transitioningPaint.hasTransition()}recalculate(l,f){l.getCrossfadeParameters&&(this._crossfadeParameters=l.getCrossfadeParameters()),this._unevaluatedLayout&&(this.layout=this._unevaluatedLayout.possiblyEvaluate(l,void 0,f)),this.paint=this._transitioningPaint.possiblyEvaluate(l,void 0,f)}serialize(){const l={id:this.id,type:this.type,source:this.source,"source-layer":this.sourceLayer,metadata:this.metadata,minzoom:this.minzoom,maxzoom:this.maxzoom,filter:this.filter,layout:this._unevaluatedLayout&&this._unevaluatedLayout.serialize(),paint:this._transitionablePaint&&this._transitionablePaint.serialize()};return this.visibility&&(l.layout=l.layout||{},l.layout.visibility=this.visibility),ee(l,(f,g)=>!(f===void 0||g==="layout"&&!Object.keys(f).length||g==="paint"&&!Object.keys(f).length))}_validate(l,f,g,x,T={}){return(!T||T.validate!==!1)&&Gm(this,l.call(qo,{key:f,layerType:this.type,objectKey:g,value:x,styleSpec:ye,style:{glyphs:!0,sprite:!0}}))}is3D(){return!1}isTileClipped(){return!1}hasOffscreenPass(){return!1}resize(){}isStateDependent(){for(const l in this.paint._values){const f=this.paint.get(l);if(f instanceof mo&&ml(f.property.specification)&&(f.value.kind==="source"||f.value.kind==="composite")&&f.value.isStateDependent)return!0}return!1}}const k={Int8:Int8Array,Uint8:Uint8Array,Int16:Int16Array,Uint16:Uint16Array,Int32:Int32Array,Uint32:Uint32Array,Float32:Float32Array};class z{constructor(l,f){this._structArray=l,this._pos1=f*this.size,this._pos2=this._pos1/2,this._pos4=this._pos1/4,this._pos8=this._pos1/8}}class B{constructor(){this.isTransferred=!1,this.capacity=-1,this.resize(0)}static serialize(l,f){return l._trim(),f&&(l.isTransferred=!0,f.push(l.arrayBuffer)),{length:l.length,arrayBuffer:l.arrayBuffer}}static deserialize(l){const f=Object.create(this.prototype);return f.arrayBuffer=l.arrayBuffer,f.length=l.length,f.capacity=l.arrayBuffer.byteLength/f.bytesPerElement,f._refreshViews(),f}_trim(){this.length!==this.capacity&&(this.capacity=this.length,this.arrayBuffer=this.arrayBuffer.slice(0,this.length*this.bytesPerElement),this._refreshViews())}clear(){this.length=0}resize(l){this.reserve(l),this.length=l}reserve(l){if(l>this.capacity){this.capacity=Math.max(l,Math.floor(5*this.capacity),128),this.arrayBuffer=new ArrayBuffer(this.capacity*this.bytesPerElement);const f=this.uint8;this._refreshViews(),f&&this.uint8.set(f)}}_refreshViews(){throw new Error("_refreshViews() must be implemented by each concrete StructArray layout")}}function N(h,l=1){let f=0,g=0;return{members:h.map(x=>{const T=k[x.type].BYTES_PER_ELEMENT,A=f=q(f,Math.max(l,T)),D=x.components||1;return g=Math.max(g,T),f+=T*D,{name:x.name,type:x.type,components:D,offset:A}}),size:q(f,Math.max(g,l)),alignment:l}}function q(h,l){return Math.ceil(h/l)*l}class W extends B{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)}emplaceBack(l,f){const g=this.length;return this.resize(g+1),this.emplace(g,l,f)}emplace(l,f,g){const x=2*l;return this.int16[x+0]=f,this.int16[x+1]=g,l}}W.prototype.bytesPerElement=4,Lt("StructArrayLayout2i4",W);class te extends B{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)}emplaceBack(l,f,g){const x=this.length;return this.resize(x+1),this.emplace(x,l,f,g)}emplace(l,f,g,x){const T=3*l;return this.int16[T+0]=f,this.int16[T+1]=g,this.int16[T+2]=x,l}}te.prototype.bytesPerElement=6,Lt("StructArrayLayout3i6",te);class ae extends B{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)}emplaceBack(l,f,g,x){const T=this.length;return this.resize(T+1),this.emplace(T,l,f,g,x)}emplace(l,f,g,x,T){const A=4*l;return this.int16[A+0]=f,this.int16[A+1]=g,this.int16[A+2]=x,this.int16[A+3]=T,l}}ae.prototype.bytesPerElement=8,Lt("StructArrayLayout4i8",ae);class le extends B{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)}emplaceBack(l,f,g,x,T,A){const D=this.length;return this.resize(D+1),this.emplace(D,l,f,g,x,T,A)}emplace(l,f,g,x,T,A,D){const O=6*l;return this.int16[O+0]=f,this.int16[O+1]=g,this.int16[O+2]=x,this.int16[O+3]=T,this.int16[O+4]=A,this.int16[O+5]=D,l}}le.prototype.bytesPerElement=12,Lt("StructArrayLayout2i4i12",le);class ve extends B{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)}emplaceBack(l,f,g,x,T,A){const D=this.length;return this.resize(D+1),this.emplace(D,l,f,g,x,T,A)}emplace(l,f,g,x,T,A,D){const O=4*l,F=8*l;return this.int16[O+0]=f,this.int16[O+1]=g,this.uint8[F+4]=x,this.uint8[F+5]=T,this.uint8[F+6]=A,this.uint8[F+7]=D,l}}ve.prototype.bytesPerElement=8,Lt("StructArrayLayout2i4ub8",ve);class he extends B{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)}emplaceBack(l,f){const g=this.length;return this.resize(g+1),this.emplace(g,l,f)}emplace(l,f,g){const x=2*l;return this.float32[x+0]=f,this.float32[x+1]=g,l}}he.prototype.bytesPerElement=8,Lt("StructArrayLayout2f8",he);class xe extends B{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)}emplaceBack(l,f,g,x,T,A,D,O,F,V){const U=this.length;return this.resize(U+1),this.emplace(U,l,f,g,x,T,A,D,O,F,V)}emplace(l,f,g,x,T,A,D,O,F,V,U){const X=10*l;return this.uint16[X+0]=f,this.uint16[X+1]=g,this.uint16[X+2]=x,this.uint16[X+3]=T,this.uint16[X+4]=A,this.uint16[X+5]=D,this.uint16[X+6]=O,this.uint16[X+7]=F,this.uint16[X+8]=V,this.uint16[X+9]=U,l}}xe.prototype.bytesPerElement=20,Lt("StructArrayLayout10ui20",xe);class Pe extends B{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)}emplaceBack(l,f,g,x,T,A,D,O,F,V,U,X){const J=this.length;return this.resize(J+1),this.emplace(J,l,f,g,x,T,A,D,O,F,V,U,X)}emplace(l,f,g,x,T,A,D,O,F,V,U,X,J){const re=12*l;return this.int16[re+0]=f,this.int16[re+1]=g,this.int16[re+2]=x,this.int16[re+3]=T,this.uint16[re+4]=A,this.uint16[re+5]=D,this.uint16[re+6]=O,this.uint16[re+7]=F,this.int16[re+8]=V,this.int16[re+9]=U,this.int16[re+10]=X,this.int16[re+11]=J,l}}Pe.prototype.bytesPerElement=24,Lt("StructArrayLayout4i4ui4i24",Pe);class pe extends B{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)}emplaceBack(l,f,g){const x=this.length;return this.resize(x+1),this.emplace(x,l,f,g)}emplace(l,f,g,x){const T=3*l;return this.float32[T+0]=f,this.float32[T+1]=g,this.float32[T+2]=x,l}}pe.prototype.bytesPerElement=12,Lt("StructArrayLayout3f12",pe);class Me extends B{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer)}emplaceBack(l){const f=this.length;return this.resize(f+1),this.emplace(f,l)}emplace(l,f){return this.uint32[1*l+0]=f,l}}Me.prototype.bytesPerElement=4,Lt("StructArrayLayout1ul4",Me);class ze extends B{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)}emplaceBack(l,f,g,x,T,A,D,O,F){const V=this.length;return this.resize(V+1),this.emplace(V,l,f,g,x,T,A,D,O,F)}emplace(l,f,g,x,T,A,D,O,F,V){const U=10*l,X=5*l;return this.int16[U+0]=f,this.int16[U+1]=g,this.int16[U+2]=x,this.int16[U+3]=T,this.int16[U+4]=A,this.int16[U+5]=D,this.uint32[X+3]=O,this.uint16[U+8]=F,this.uint16[U+9]=V,l}}ze.prototype.bytesPerElement=20,Lt("StructArrayLayout6i1ul2ui20",ze);class Ne extends B{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)}emplaceBack(l,f,g,x,T,A){const D=this.length;return this.resize(D+1),this.emplace(D,l,f,g,x,T,A)}emplace(l,f,g,x,T,A,D){const O=6*l;return this.int16[O+0]=f,this.int16[O+1]=g,this.int16[O+2]=x,this.int16[O+3]=T,this.int16[O+4]=A,this.int16[O+5]=D,l}}Ne.prototype.bytesPerElement=12,Lt("StructArrayLayout2i2i2i12",Ne);class Xe extends B{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)}emplaceBack(l,f,g,x,T){const A=this.length;return this.resize(A+1),this.emplace(A,l,f,g,x,T)}emplace(l,f,g,x,T,A){const D=4*l,O=8*l;return this.float32[D+0]=f,this.float32[D+1]=g,this.float32[D+2]=x,this.int16[O+6]=T,this.int16[O+7]=A,l}}Xe.prototype.bytesPerElement=16,Lt("StructArrayLayout2f1f2i16",Xe);class it extends B{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer)}emplaceBack(l,f,g,x,T,A){const D=this.length;return this.resize(D+1),this.emplace(D,l,f,g,x,T,A)}emplace(l,f,g,x,T,A,D){const O=16*l,F=4*l,V=8*l;return this.uint8[O+0]=f,this.uint8[O+1]=g,this.float32[F+1]=x,this.float32[F+2]=T,this.int16[V+6]=A,this.int16[V+7]=D,l}}it.prototype.bytesPerElement=16,Lt("StructArrayLayout2ub2f2i16",it);class Pt extends B{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)}emplaceBack(l,f,g){const x=this.length;return this.resize(x+1),this.emplace(x,l,f,g)}emplace(l,f,g,x){const T=3*l;return this.uint16[T+0]=f,this.uint16[T+1]=g,this.uint16[T+2]=x,l}}Pt.prototype.bytesPerElement=6,Lt("StructArrayLayout3ui6",Pt);class At extends B{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)}emplaceBack(l,f,g,x,T,A,D,O,F,V,U,X,J,re,se,de,we){const Re=this.length;return this.resize(Re+1),this.emplace(Re,l,f,g,x,T,A,D,O,F,V,U,X,J,re,se,de,we)}emplace(l,f,g,x,T,A,D,O,F,V,U,X,J,re,se,de,we,Re){const Ce=24*l,De=12*l,je=48*l;return this.int16[Ce+0]=f,this.int16[Ce+1]=g,this.uint16[Ce+2]=x,this.uint16[Ce+3]=T,this.uint32[De+2]=A,this.uint32[De+3]=D,this.uint32[De+4]=O,this.uint16[Ce+10]=F,this.uint16[Ce+11]=V,this.uint16[Ce+12]=U,this.float32[De+7]=X,this.float32[De+8]=J,this.uint8[je+36]=re,this.uint8[je+37]=se,this.uint8[je+38]=de,this.uint32[De+10]=we,this.int16[Ce+22]=Re,l}}At.prototype.bytesPerElement=48,Lt("StructArrayLayout2i2ui3ul3ui2f3ub1ul1i48",At);class ot extends B{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)}emplaceBack(l,f,g,x,T,A,D,O,F,V,U,X,J,re,se,de,we,Re,Ce,De,je,Je,yt,Ht,bt,gt,Bt,kt){const Mt=this.length;return this.resize(Mt+1),this.emplace(Mt,l,f,g,x,T,A,D,O,F,V,U,X,J,re,se,de,we,Re,Ce,De,je,Je,yt,Ht,bt,gt,Bt,kt)}emplace(l,f,g,x,T,A,D,O,F,V,U,X,J,re,se,de,we,Re,Ce,De,je,Je,yt,Ht,bt,gt,Bt,kt,Mt){const Ze=32*l,Nt=16*l;return this.int16[Ze+0]=f,this.int16[Ze+1]=g,this.int16[Ze+2]=x,this.int16[Ze+3]=T,this.int16[Ze+4]=A,this.int16[Ze+5]=D,this.int16[Ze+6]=O,this.int16[Ze+7]=F,this.uint16[Ze+8]=V,this.uint16[Ze+9]=U,this.uint16[Ze+10]=X,this.uint16[Ze+11]=J,this.uint16[Ze+12]=re,this.uint16[Ze+13]=se,this.uint16[Ze+14]=de,this.uint16[Ze+15]=we,this.uint16[Ze+16]=Re,this.uint16[Ze+17]=Ce,this.uint16[Ze+18]=De,this.uint16[Ze+19]=je,this.uint16[Ze+20]=Je,this.uint16[Ze+21]=yt,this.uint16[Ze+22]=Ht,this.uint32[Nt+12]=bt,this.float32[Nt+13]=gt,this.float32[Nt+14]=Bt,this.uint16[Ze+30]=kt,this.uint16[Ze+31]=Mt,l}}ot.prototype.bytesPerElement=64,Lt("StructArrayLayout8i15ui1ul2f2ui64",ot);class ut extends B{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)}emplaceBack(l){const f=this.length;return this.resize(f+1),this.emplace(f,l)}emplace(l,f){return this.float32[1*l+0]=f,l}}ut.prototype.bytesPerElement=4,Lt("StructArrayLayout1f4",ut);class Rt extends B{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)}emplaceBack(l,f,g){const x=this.length;return this.resize(x+1),this.emplace(x,l,f,g)}emplace(l,f,g,x){const T=3*l;return this.uint16[6*l+0]=f,this.float32[T+1]=g,this.float32[T+2]=x,l}}Rt.prototype.bytesPerElement=12,Lt("StructArrayLayout1ui2f12",Rt);class rr extends B{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)}emplaceBack(l,f,g){const x=this.length;return this.resize(x+1),this.emplace(x,l,f,g)}emplace(l,f,g,x){const T=4*l;return this.uint32[2*l+0]=f,this.uint16[T+2]=g,this.uint16[T+3]=x,l}}rr.prototype.bytesPerElement=8,Lt("StructArrayLayout1ul2ui8",rr);class pt extends B{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)}emplaceBack(l,f){const g=this.length;return this.resize(g+1),this.emplace(g,l,f)}emplace(l,f,g){const x=2*l;return this.uint16[x+0]=f,this.uint16[x+1]=g,l}}pt.prototype.bytesPerElement=4,Lt("StructArrayLayout2ui4",pt);class _t extends B{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer)}emplaceBack(l){const f=this.length;return this.resize(f+1),this.emplace(f,l)}emplace(l,f){return this.uint16[1*l+0]=f,l}}_t.prototype.bytesPerElement=2,Lt("StructArrayLayout1ui2",_t);class Jt extends B{_refreshViews(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer)}emplaceBack(l,f,g,x){const T=this.length;return this.resize(T+1),this.emplace(T,l,f,g,x)}emplace(l,f,g,x,T){const A=4*l;return this.float32[A+0]=f,this.float32[A+1]=g,this.float32[A+2]=x,this.float32[A+3]=T,l}}Jt.prototype.bytesPerElement=16,Lt("StructArrayLayout4f16",Jt);class vn extends z{get anchorPointX(){return this._structArray.int16[this._pos2+0]}get anchorPointY(){return this._structArray.int16[this._pos2+1]}get x1(){return this._structArray.int16[this._pos2+2]}get y1(){return this._structArray.int16[this._pos2+3]}get x2(){return this._structArray.int16[this._pos2+4]}get y2(){return this._structArray.int16[this._pos2+5]}get featureIndex(){return this._structArray.uint32[this._pos4+3]}get sourceLayerIndex(){return this._structArray.uint16[this._pos2+8]}get bucketIndex(){return this._structArray.uint16[this._pos2+9]}get anchorPoint(){return new v(this.anchorPointX,this.anchorPointY)}}vn.prototype.size=20;class pr extends ze{get(l){return new vn(this,l)}}Lt("CollisionBoxArray",pr);class Ar extends z{get anchorX(){return this._structArray.int16[this._pos2+0]}get anchorY(){return this._structArray.int16[this._pos2+1]}get glyphStartIndex(){return this._structArray.uint16[this._pos2+2]}get numGlyphs(){return this._structArray.uint16[this._pos2+3]}get vertexStartIndex(){return this._structArray.uint32[this._pos4+2]}get lineStartIndex(){return this._structArray.uint32[this._pos4+3]}get lineLength(){return this._structArray.uint32[this._pos4+4]}get segment(){return this._structArray.uint16[this._pos2+10]}get lowerSize(){return this._structArray.uint16[this._pos2+11]}get upperSize(){return this._structArray.uint16[this._pos2+12]}get lineOffsetX(){return this._structArray.float32[this._pos4+7]}get lineOffsetY(){return this._structArray.float32[this._pos4+8]}get writingMode(){return this._structArray.uint8[this._pos1+36]}get placedOrientation(){return this._structArray.uint8[this._pos1+37]}set placedOrientation(l){this._structArray.uint8[this._pos1+37]=l}get hidden(){return this._structArray.uint8[this._pos1+38]}set hidden(l){this._structArray.uint8[this._pos1+38]=l}get crossTileID(){return this._structArray.uint32[this._pos4+10]}set crossTileID(l){this._structArray.uint32[this._pos4+10]=l}get associatedIconIndex(){return this._structArray.int16[this._pos2+22]}}Ar.prototype.size=48;class gn extends At{get(l){return new Ar(this,l)}}Lt("PlacedSymbolArray",gn);class vi extends z{get anchorX(){return this._structArray.int16[this._pos2+0]}get anchorY(){return this._structArray.int16[this._pos2+1]}get rightJustifiedTextSymbolIndex(){return this._structArray.int16[this._pos2+2]}get centerJustifiedTextSymbolIndex(){return this._structArray.int16[this._pos2+3]}get leftJustifiedTextSymbolIndex(){return this._structArray.int16[this._pos2+4]}get verticalPlacedTextSymbolIndex(){return this._structArray.int16[this._pos2+5]}get placedIconSymbolIndex(){return this._structArray.int16[this._pos2+6]}get verticalPlacedIconSymbolIndex(){return this._structArray.int16[this._pos2+7]}get key(){return this._structArray.uint16[this._pos2+8]}get textBoxStartIndex(){return this._structArray.uint16[this._pos2+9]}get textBoxEndIndex(){return this._structArray.uint16[this._pos2+10]}get verticalTextBoxStartIndex(){return this._structArray.uint16[this._pos2+11]}get verticalTextBoxEndIndex(){return this._structArray.uint16[this._pos2+12]}get iconBoxStartIndex(){return this._structArray.uint16[this._pos2+13]}get iconBoxEndIndex(){return this._structArray.uint16[this._pos2+14]}get verticalIconBoxStartIndex(){return this._structArray.uint16[this._pos2+15]}get verticalIconBoxEndIndex(){return this._structArray.uint16[this._pos2+16]}get featureIndex(){return this._structArray.uint16[this._pos2+17]}get numHorizontalGlyphVertices(){return this._structArray.uint16[this._pos2+18]}get numVerticalGlyphVertices(){return this._structArray.uint16[this._pos2+19]}get numIconVertices(){return this._structArray.uint16[this._pos2+20]}get numVerticalIconVertices(){return this._structArray.uint16[this._pos2+21]}get useRuntimeCollisionCircles(){return this._structArray.uint16[this._pos2+22]}get crossTileID(){return this._structArray.uint32[this._pos4+12]}set crossTileID(l){this._structArray.uint32[this._pos4+12]=l}get textBoxScale(){return this._structArray.float32[this._pos4+13]}get collisionCircleDiameter(){return this._structArray.float32[this._pos4+14]}get textAnchorOffsetStartIndex(){return this._structArray.uint16[this._pos2+30]}get textAnchorOffsetEndIndex(){return this._structArray.uint16[this._pos2+31]}}vi.prototype.size=64;class ja extends ot{get(l){return new vi(this,l)}}Lt("SymbolInstanceArray",ja);class yn extends ut{getoffsetX(l){return this.float32[1*l+0]}}Lt("GlyphOffsetArray",yn);class Ui extends te{getx(l){return this.int16[3*l+0]}gety(l){return this.int16[3*l+1]}gettileUnitDistanceFromAnchor(l){return this.int16[3*l+2]}}Lt("SymbolLineVertexArray",Ui);class Di extends z{get textAnchor(){return this._structArray.uint16[this._pos2+0]}get textOffset0(){return this._structArray.float32[this._pos4+1]}get textOffset1(){return this._structArray.float32[this._pos4+2]}}Di.prototype.size=12;class gi extends Rt{get(l){return new Di(this,l)}}Lt("TextAnchorOffsetArray",gi);class yi extends z{get featureIndex(){return this._structArray.uint32[this._pos4+0]}get sourceLayerIndex(){return this._structArray.uint16[this._pos2+2]}get bucketIndex(){return this._structArray.uint16[this._pos2+3]}}yi.prototype.size=8;class Ha extends rr{get(l){return new yi(this,l)}}Lt("FeatureIndexArray",Ha);class bl extends W{}class Zf extends W{}class cu extends W{}class xl extends le{}class Xf extends ve{}class Ym extends he{}class oi extends xe{}class Ua extends Pe{}class As extends pe{}class hu extends Me{}class _i extends Ne{}class bi extends it{}class ri extends Pt{}class Cn extends pt{}const fu=N([{name:"a_pos",components:2,type:"Int16"}],4),{members:Jm}=fu;class Jn{constructor(l=[]){this.segments=l}prepareSegment(l,f,g,x){let T=this.segments[this.segments.length-1];return l>Jn.MAX_VERTEX_ARRAY_LENGTH&&ce(`Max vertices per segment is ${Jn.MAX_VERTEX_ARRAY_LENGTH}: bucket requested ${l}`),(!T||T.vertexLength+l>Jn.MAX_VERTEX_ARRAY_LENGTH||T.sortKey!==x)&&(T={vertexOffset:f.length,primitiveOffset:g.length,vertexLength:0,primitiveLength:0},x!==void 0&&(T.sortKey=x),this.segments.push(T)),T}get(){return this.segments}destroy(){for(const l of this.segments)for(const f in l.vaos)l.vaos[f].destroy()}static simpleSegment(l,f,g,x){return new Jn([{vertexOffset:l,primitiveOffset:f,vertexLength:g,primitiveLength:x,vaos:{},sortKey:0}])}}function O_(h,l){return 256*(h=G(Math.floor(h),0,255))+G(Math.floor(l),0,255)}Jn.MAX_VERTEX_ARRAY_LENGTH=Math.pow(2,16)-1,Lt("SegmentVector",Jn);const Kf=N([{name:"a_pattern_from",components:4,type:"Uint16"},{name:"a_pattern_to",components:4,type:"Uint16"},{name:"a_pixel_ratio_from",components:1,type:"Uint16"},{name:"a_pixel_ratio_to",components:1,type:"Uint16"}]);var Yf={exports:{}},Is={exports:{}};Is.exports=function(h,l){var f,g,x,T,A,D,O,F;for(g=h.length-(f=3&h.length),x=l,A=3432918353,D=461845907,F=0;F>>16)*A&65535)<<16)&4294967295)<<15|O>>>17))*D+(((O>>>16)*D&65535)<<16)&4294967295)<<13|x>>>19))+((5*(x>>>16)&65535)<<16)&4294967295))+((58964+(T>>>16)&65535)<<16);switch(O=0,f){case 3:O^=(255&h.charCodeAt(F+2))<<16;case 2:O^=(255&h.charCodeAt(F+1))<<8;case 1:x^=O=(65535&(O=(O=(65535&(O^=255&h.charCodeAt(F)))*A+(((O>>>16)*A&65535)<<16)&4294967295)<<15|O>>>17))*D+(((O>>>16)*D&65535)<<16)&4294967295}return x^=h.length,x=2246822507*(65535&(x^=x>>>16))+((2246822507*(x>>>16)&65535)<<16)&4294967295,x=3266489909*(65535&(x^=x>>>13))+((3266489909*(x>>>16)&65535)<<16)&4294967295,(x^=x>>>16)>>>0};var z_=Is.exports,Qm={exports:{}};Qm.exports=function(h,l){for(var f,g=h.length,x=l^g,T=0;g>=4;)f=1540483477*(65535&(f=255&h.charCodeAt(T)|(255&h.charCodeAt(++T))<<8|(255&h.charCodeAt(++T))<<16|(255&h.charCodeAt(++T))<<24))+((1540483477*(f>>>16)&65535)<<16),x=1540483477*(65535&x)+((1540483477*(x>>>16)&65535)<<16)^(f=1540483477*(65535&(f^=f>>>24))+((1540483477*(f>>>16)&65535)<<16)),g-=4,++T;switch(g){case 3:x^=(255&h.charCodeAt(T+2))<<16;case 2:x^=(255&h.charCodeAt(T+1))<<8;case 1:x=1540483477*(65535&(x^=255&h.charCodeAt(T)))+((1540483477*(x>>>16)&65535)<<16)}return x=1540483477*(65535&(x^=x>>>13))+((1540483477*(x>>>16)&65535)<<16),(x^=x>>>15)>>>0};var ev=z_,tv=Qm.exports;Yf.exports=ev,Yf.exports.murmur3=ev,Yf.exports.murmur2=tv;var Jf=c(Yf.exports);class du{constructor(){this.ids=[],this.positions=[],this.indexed=!1}add(l,f,g,x){this.ids.push(rD(l)),this.positions.push(f,g,x)}getPositions(l){if(!this.indexed)throw new Error("Trying to get index, but feature positions are not indexed");const f=rD(l);let g=0,x=this.ids.length-1;for(;g>1;this.ids[A]>=f?x=A:g=A+1}const T=[];for(;this.ids[g]===f;)T.push({index:this.positions[3*g],start:this.positions[3*g+1],end:this.positions[3*g+2]}),g++;return T}static serialize(l,f){const g=new Float64Array(l.ids),x=new Uint32Array(l.positions);return rS(g,x,0,g.length-1),f&&f.push(g.buffer,x.buffer),{ids:g,positions:x}}static deserialize(l){const f=new du;return f.ids=l.ids,f.positions=l.positions,f.indexed=!0,f}}function rD(h){const l=+h;return!isNaN(l)&&l<=Number.MAX_SAFE_INTEGER?l:Jf(String(h))}function rS(h,l,f,g){for(;f>1];let T=f-1,A=g+1;for(;;){do T++;while(h[T]x);if(T>=A)break;B_(h,T,A),B_(l,3*T,3*A),B_(l,3*T+1,3*A+1),B_(l,3*T+2,3*A+2)}A-f`u_${x}`),this.type=g}setUniform(l,f,g){l.set(g.constantOr(this.value))}getBinding(l,f,g){return this.type==="color"?new iD(l,f):new F_(l,f)}}class Qf{constructor(l,f){this.uniformNames=f.map(g=>`u_${g}`),this.patternFrom=null,this.patternTo=null,this.pixelRatioFrom=1,this.pixelRatioTo=1}setConstantPatternPositions(l,f){this.pixelRatioFrom=f.pixelRatio,this.pixelRatioTo=l.pixelRatio,this.patternFrom=f.tlbr,this.patternTo=l.tlbr}setUniform(l,f,g,x){const T=x==="u_pattern_to"?this.patternTo:x==="u_pattern_from"?this.patternFrom:x==="u_pixel_ratio_to"?this.pixelRatioTo:x==="u_pixel_ratio_from"?this.pixelRatioFrom:null;T&&l.set(T)}getBinding(l,f,g){return g.substr(0,9)==="u_pattern"?new nD(l,f):new F_(l,f)}}class wl{constructor(l,f,g,x){this.expression=l,this.type=g,this.maxValue=0,this.paintVertexAttributes=f.map(T=>({name:`a_${T}`,type:"Float32",components:g==="color"?2:1,offset:0})),this.paintVertexArray=new x}populatePaintArray(l,f,g,x,T){const A=this.paintVertexArray.length,D=this.expression.evaluate(new cn(0),f,{},x,[],T);this.paintVertexArray.resize(l),this._setPaintValue(A,l,D)}updatePaintArray(l,f,g,x){const T=this.expression.evaluate({zoom:0},g,x);this._setPaintValue(l,f,T)}_setPaintValue(l,f,g){if(this.type==="color"){const x=nS(g);for(let T=l;T`u_${D}_t`),this.type=g,this.useIntegerZoom=x,this.zoom=T,this.maxValue=0,this.paintVertexAttributes=f.map(D=>({name:`a_${D}`,type:"Float32",components:g==="color"?4:2,offset:0})),this.paintVertexArray=new A}populatePaintArray(l,f,g,x,T){const A=this.expression.evaluate(new cn(this.zoom),f,{},x,[],T),D=this.expression.evaluate(new cn(this.zoom+1),f,{},x,[],T),O=this.paintVertexArray.length;this.paintVertexArray.resize(l),this._setPaintValue(O,l,A,D)}updatePaintArray(l,f,g,x){const T=this.expression.evaluate({zoom:this.zoom},g,x),A=this.expression.evaluate({zoom:this.zoom+1},g,x);this._setPaintValue(l,f,T,A)}_setPaintValue(l,f,g,x){if(this.type==="color"){const T=nS(g),A=nS(x);for(let D=l;D`#define HAS_UNIFORM_${x}`))}return l}getBinderAttributes(){const l=[];for(const f in this.binders){const g=this.binders[f];if(g instanceof wl||g instanceof Zo)for(let x=0;x!0){this.programConfigurations={};for(const x of l)this.programConfigurations[x.id]=new aD(x,f,g);this.needsUpload=!1,this._featureMap=new du,this._bufferOffset=0}populatePaintArrays(l,f,g,x,T,A){for(const D in this.programConfigurations)this.programConfigurations[D].populatePaintArrays(l,f,x,T,A);f.id!==void 0&&this._featureMap.add(f.id,g,this._bufferOffset,l),this._bufferOffset=l,this.needsUpload=!0}updatePaintArrays(l,f,g,x){for(const T of g)this.needsUpload=this.programConfigurations[T.id].updatePaintArrays(l,this._featureMap,f,T,x)||this.needsUpload}get(l){return this.programConfigurations[l]}upload(l){if(this.needsUpload){for(const f in this.programConfigurations)this.programConfigurations[f].upload(l);this.needsUpload=!1}}destroy(){for(const l in this.programConfigurations)this.programConfigurations[l].destroy()}}function kU(h,l){return{"text-opacity":["opacity"],"icon-opacity":["opacity"],"text-color":["fill_color"],"icon-color":["fill_color"],"text-halo-color":["halo_color"],"icon-halo-color":["halo_color"],"text-halo-blur":["halo_blur"],"icon-halo-blur":["halo_blur"],"text-halo-width":["halo_width"],"icon-halo-width":["halo_width"],"line-gap-width":["gapwidth"],"line-pattern":["pattern_to","pattern_from","pixel_ratio_to","pixel_ratio_from"],"fill-pattern":["pattern_to","pattern_from","pixel_ratio_to","pixel_ratio_from"],"fill-extrusion-pattern":["pattern_to","pattern_from","pixel_ratio_to","pixel_ratio_from"]}[h]||[h.replace(`${l}-`,"").replace(/-/g,"_")]}function oD(h,l,f){const g={color:{source:he,composite:Jt},number:{source:ut,composite:he}},x=function(T){return{"line-pattern":{source:oi,composite:oi},"fill-pattern":{source:oi,composite:oi},"fill-extrusion-pattern":{source:oi,composite:oi}}[T]}(h);return x&&x[f]||g[l][f]}Lt("ConstantBinder",rv),Lt("CrossFadedConstantBinder",Qf),Lt("SourceExpressionBinder",wl),Lt("CrossFadedCompositeBinder",pu),Lt("CompositeExpressionBinder",Zo),Lt("ProgramConfiguration",aD,{omit:["_buffers"]}),Lt("ProgramConfigurationSet",Uc);const Gn=8192,iS=Math.pow(2,14)-1,sD=-iS-1;function Gc(h){const l=Gn/h.extent,f=h.loadGeometry();for(let g=0;gA.x+1||OA.y+1)&&ce("Geometry exceeds allowed extent, reduce your vector tile buffer size")}}return f}function Wc(h,l){return{type:h.type,id:h.id,properties:h.properties,geometry:l?Gc(h):[]}}function $_(h,l,f,g,x){h.emplaceBack(2*l+(g+1)/2,2*f+(x+1)/2)}class aS{constructor(l){this.zoom=l.zoom,this.overscaling=l.overscaling,this.layers=l.layers,this.layerIds=this.layers.map(f=>f.id),this.index=l.index,this.hasPattern=!1,this.layoutVertexArray=new Zf,this.indexArray=new ri,this.segments=new Jn,this.programConfigurations=new Uc(l.layers,l.zoom),this.stateDependentLayerIds=this.layers.filter(f=>f.isStateDependent()).map(f=>f.id)}populate(l,f,g){const x=this.layers[0],T=[];let A=null,D=!1;x.type==="circle"&&(A=x.layout.get("circle-sort-key"),D=!A.isConstant());for(const{feature:O,id:F,index:V,sourceLayerIndex:U}of l){const X=this.layers[0]._featureFilter.needGeometry,J=Wc(O,X);if(!this.layers[0]._featureFilter.filter(new cn(this.zoom),J,g))continue;const re=D?A.evaluate(J,{},g):void 0,se={id:F,properties:O.properties,type:O.type,sourceLayerIndex:U,index:V,geometry:X?J.geometry:Gc(O),patterns:{},sortKey:re};T.push(se)}D&&T.sort((O,F)=>O.sortKey-F.sortKey);for(const O of T){const{geometry:F,index:V,sourceLayerIndex:U}=O,X=l[V].feature;this.addFeature(O,F,V,g),f.featureIndex.insert(X,F,V,U,this.index)}}update(l,f,g){this.stateDependentLayers.length&&this.programConfigurations.updatePaintArrays(l,f,this.stateDependentLayers,g)}isEmpty(){return this.layoutVertexArray.length===0}uploadPending(){return!this.uploaded||this.programConfigurations.needsUpload}upload(l){this.uploaded||(this.layoutVertexBuffer=l.createVertexBuffer(this.layoutVertexArray,Jm),this.indexBuffer=l.createIndexBuffer(this.indexArray)),this.programConfigurations.upload(l),this.uploaded=!0}destroy(){this.layoutVertexBuffer&&(this.layoutVertexBuffer.destroy(),this.indexBuffer.destroy(),this.programConfigurations.destroy(),this.segments.destroy())}addFeature(l,f,g,x){for(const T of f)for(const A of T){const D=A.x,O=A.y;if(D<0||D>=Gn||O<0||O>=Gn)continue;const F=this.segments.prepareSegment(4,this.layoutVertexArray,this.indexArray,l.sortKey),V=F.vertexLength;$_(this.layoutVertexArray,D,O,-1,-1),$_(this.layoutVertexArray,D,O,1,-1),$_(this.layoutVertexArray,D,O,1,1),$_(this.layoutVertexArray,D,O,-1,1),this.indexArray.emplaceBack(V,V+1,V+2),this.indexArray.emplaceBack(V,V+3,V+2),F.vertexLength+=4,F.primitiveLength+=2}this.programConfigurations.populatePaintArrays(this.layoutVertexArray.length,l,g,{},x)}}function lD(h,l){for(let f=0;f1){if(oS(h,l))return!0;for(let g=0;g1?f:f.sub(l)._mult(x)._add(l))}function hD(h,l){let f,g,x,T=!1;for(let A=0;Al.y!=x.y>l.y&&l.x<(x.x-g.x)*(l.y-g.y)/(x.y-g.y)+g.x&&(T=!T)}return T}function ed(h,l){let f=!1;for(let g=0,x=h.length-1;gl.y!=A.y>l.y&&l.x<(A.x-T.x)*(l.y-T.y)/(A.y-T.y)+T.x&&(f=!f)}return f}function BU(h,l,f){const g=f[0],x=f[2];if(h.xx.x&&l.x>x.x||h.yx.y&&l.y>x.y)return!1;const T=Ae(h,l,f[0]);return T!==Ae(h,l,f[1])||T!==Ae(h,l,f[2])||T!==Ae(h,l,f[3])}function nv(h,l,f){const g=l.paint.get(h).value;return g.kind==="constant"?g.value:f.programConfigurations.get(l.id).getMaxValue(h)}function N_(h){return Math.sqrt(h[0]*h[0]+h[1]*h[1])}function V_(h,l,f,g,x){if(!l[0]&&!l[1])return h;const T=v.convert(l)._mult(x);f==="viewport"&&T._rotate(-g);const A=[];for(let D=0;DmD(de,se))}(F,O),J=U?V*D:V;for(const re of x)for(const se of re){const de=U?se:mD(se,O);let we=J;const Re=j_([],[se.x,se.y,0,1],O);if(this.paint.get("circle-pitch-scale")==="viewport"&&this.paint.get("circle-pitch-alignment")==="map"?we*=Re[3]/A.cameraToCenterDistance:this.paint.get("circle-pitch-scale")==="map"&&this.paint.get("circle-pitch-alignment")==="viewport"&&(we*=A.cameraToCenterDistance/Re[3]),RU(X,de,we))return!0}return!1}}function mD(h,l){const f=j_([],[h.x,h.y,0,1],l);return new v(f[0]/f[3],f[1]/f[3])}class vD extends aS{}let gD;Lt("HeatmapBucket",vD,{omit:["layers"]});var VU={get paint(){return gD=gD||new b({"heatmap-radius":new Xt(ye.paint_heatmap["heatmap-radius"]),"heatmap-weight":new Xt(ye.paint_heatmap["heatmap-weight"]),"heatmap-intensity":new $t(ye.paint_heatmap["heatmap-intensity"]),"heatmap-color":new p(ye.paint_heatmap["heatmap-color"]),"heatmap-opacity":new $t(ye.paint_heatmap["heatmap-opacity"])})}};function uS(h,{width:l,height:f},g,x){if(x){if(x instanceof Uint8ClampedArray)x=new Uint8Array(x.buffer);else if(x.length!==l*f*g)throw new RangeError(`mismatched image size. expected: ${x.length} but got: ${l*f*g}`)}else x=new Uint8Array(l*f*g);return h.width=l,h.height=f,h.data=x,h}function yD(h,{width:l,height:f},g){if(l===h.width&&f===h.height)return;const x=uS({},{width:l,height:f},g);cS(h,x,{x:0,y:0},{x:0,y:0},{width:Math.min(h.width,l),height:Math.min(h.height,f)},g),h.width=l,h.height=f,h.data=x.data}function cS(h,l,f,g,x,T){if(x.width===0||x.height===0)return l;if(x.width>h.width||x.height>h.height||f.x>h.width-x.width||f.y>h.height-x.height)throw new RangeError("out of range source coordinates for image copy");if(x.width>l.width||x.height>l.height||g.x>l.width-x.width||g.y>l.height-x.height)throw new RangeError("out of range destination coordinates for image copy");const A=h.data,D=l.data;if(A===D)throw new Error("srcData equals dstData, so image is already copied");for(let O=0;O{l[h.evaluationKey]=O;const F=h.expression.evaluate(l);x.data[A+D+0]=Math.floor(255*F.r/F.a),x.data[A+D+1]=Math.floor(255*F.g/F.a),x.data[A+D+2]=Math.floor(255*F.b/F.a),x.data[A+D+3]=Math.floor(255*F.a)};if(h.clips)for(let A=0,D=0;A80*f){g=T=h[0],x=A=h[1];for(var re=f;reT&&(T=D),O>A&&(A=O);F=(F=Math.max(T-g,A-x))!==0?32767/F:0}return ov(X,J,f,g,x,F,0),J}function xD(h,l,f,g,x){var T,A;if(x===pS(h,l,f,g)>0)for(T=l;T=l;T-=g)A=TD(T,h[T],h[T+1],A);return A&&U_(A,A.next)&&(lv(A),A=A.next),A}function qc(h,l){if(!h)return h;l||(l=h);var f,g=h;do if(f=!1,g.steiner||!U_(g,g.next)&&Vn(g.prev,g,g.next)!==0)g=g.next;else{if(lv(g),(g=l=g.prev)===g.next)break;f=!0}while(f||g!==l);return l}function ov(h,l,f,g,x,T,A){if(h){!A&&T&&function(V,U,X,J){var re=V;do re.z===0&&(re.z=fS(re.x,re.y,U,X,J)),re.prevZ=re.prev,re.nextZ=re.next,re=re.next;while(re!==V);re.prevZ.nextZ=null,re.prevZ=null,function(se){var de,we,Re,Ce,De,je,Je,yt,Ht=1;do{for(we=se,se=null,De=null,je=0;we;){for(je++,Re=we,Je=0,de=0;de0||yt>0&ℜ)Je!==0&&(yt===0||!Re||we.z<=Re.z)?(Ce=we,we=we.nextZ,Je--):(Ce=Re,Re=Re.nextZ,yt--),De?De.nextZ=Ce:se=Ce,Ce.prevZ=De,De=Ce;we=Re}De.nextZ=null,Ht*=2}while(je>1)}(re)}(h,g,x,T);for(var D,O,F=h;h.prev!==h.next;)if(D=h.prev,O=h.next,T?ZU(h,g,x,T):qU(h))l.push(D.i/f|0),l.push(h.i/f|0),l.push(O.i/f|0),lv(h),h=O.next,F=O.next;else if((h=O)===F){A?A===1?ov(h=XU(qc(h),l,f),l,f,g,x,T,2):A===2&&KU(h,l,f,g,x,T):ov(qc(h),l,f,g,x,T,1);break}}}function qU(h){var l=h.prev,f=h,g=h.next;if(Vn(l,f,g)>=0)return!1;for(var x=l.x,T=f.x,A=g.x,D=l.y,O=f.y,F=g.y,V=xT?x>A?x:A:T>A?T:A,J=D>O?D>F?D:F:O>F?O:F,re=g.next;re!==l;){if(re.x>=V&&re.x<=X&&re.y>=U&&re.y<=J&&rd(x,D,T,O,A,F,re.x,re.y)&&Vn(re.prev,re,re.next)>=0)return!1;re=re.next}return!0}function ZU(h,l,f,g){var x=h.prev,T=h,A=h.next;if(Vn(x,T,A)>=0)return!1;for(var D=x.x,O=T.x,F=A.x,V=x.y,U=T.y,X=A.y,J=DO?D>F?D:F:O>F?O:F,de=V>U?V>X?V:X:U>X?U:X,we=fS(J,re,l,f,g),Re=fS(se,de,l,f,g),Ce=h.prevZ,De=h.nextZ;Ce&&Ce.z>=we&&De&&De.z<=Re;){if(Ce.x>=J&&Ce.x<=se&&Ce.y>=re&&Ce.y<=de&&Ce!==x&&Ce!==A&&rd(D,V,O,U,F,X,Ce.x,Ce.y)&&Vn(Ce.prev,Ce,Ce.next)>=0||(Ce=Ce.prevZ,De.x>=J&&De.x<=se&&De.y>=re&&De.y<=de&&De!==x&&De!==A&&rd(D,V,O,U,F,X,De.x,De.y)&&Vn(De.prev,De,De.next)>=0))return!1;De=De.nextZ}for(;Ce&&Ce.z>=we;){if(Ce.x>=J&&Ce.x<=se&&Ce.y>=re&&Ce.y<=de&&Ce!==x&&Ce!==A&&rd(D,V,O,U,F,X,Ce.x,Ce.y)&&Vn(Ce.prev,Ce,Ce.next)>=0)return!1;Ce=Ce.prevZ}for(;De&&De.z<=Re;){if(De.x>=J&&De.x<=se&&De.y>=re&&De.y<=de&&De!==x&&De!==A&&rd(D,V,O,U,F,X,De.x,De.y)&&Vn(De.prev,De,De.next)>=0)return!1;De=De.nextZ}return!0}function XU(h,l,f){var g=h;do{var x=g.prev,T=g.next.next;!U_(x,T)&&wD(x,g,g.next,T)&&sv(x,T)&&sv(T,x)&&(l.push(x.i/f|0),l.push(g.i/f|0),l.push(T.i/f|0),lv(g),lv(g.next),g=h=T),g=g.next}while(g!==h);return qc(g)}function KU(h,l,f,g,x,T){var A=h;do{for(var D=A.next.next;D!==A.prev;){if(A.i!==D.i&&tG(A,D)){var O=SD(A,D);return A=qc(A,A.next),O=qc(O,O.next),ov(A,l,f,g,x,T,0),void ov(O,l,f,g,x,T,0)}D=D.next}A=A.next}while(A!==h)}function YU(h,l){return h.x-l.x}function JU(h,l){var f=function(x,T){var A,D=T,O=x.x,F=x.y,V=-1/0;do{if(F<=D.y&&F>=D.next.y&&D.next.y!==D.y){var U=D.x+(F-D.y)*(D.next.x-D.x)/(D.next.y-D.y);if(U<=O&&U>V&&(V=U,A=D.x=D.x&&D.x>=re&&O!==D.x&&rd(FA.x||D.x===A.x&&QU(A,D)))&&(A=D,de=X)),D=D.next;while(D!==J);return A}(h,l);if(!f)return l;var g=SD(f,h);return qc(g,g.next),qc(f,f.next)}function QU(h,l){return Vn(h.prev,h,l.prev)<0&&Vn(l.next,h,h.next)<0}function fS(h,l,f,g,x){return(h=1431655765&((h=858993459&((h=252645135&((h=16711935&((h=(h-f)*x|0)|h<<8))|h<<4))|h<<2))|h<<1))|(l=1431655765&((l=858993459&((l=252645135&((l=16711935&((l=(l-g)*x|0)|l<<8))|l<<4))|l<<2))|l<<1))<<1}function eG(h){var l=h,f=h;do(l.x=(h-A)*(T-D)&&(h-A)*(g-D)>=(f-A)*(l-D)&&(f-A)*(T-D)>=(x-A)*(g-D)}function tG(h,l){return h.next.i!==l.i&&h.prev.i!==l.i&&!function(f,g){var x=f;do{if(x.i!==f.i&&x.next.i!==f.i&&x.i!==g.i&&x.next.i!==g.i&&wD(x,x.next,f,g))return!0;x=x.next}while(x!==f);return!1}(h,l)&&(sv(h,l)&&sv(l,h)&&function(f,g){var x=f,T=!1,A=(f.x+g.x)/2,D=(f.y+g.y)/2;do x.y>D!=x.next.y>D&&x.next.y!==x.y&&A<(x.next.x-x.x)*(D-x.y)/(x.next.y-x.y)+x.x&&(T=!T),x=x.next;while(x!==f);return T}(h,l)&&(Vn(h.prev,h,l.prev)||Vn(h,l.prev,l))||U_(h,l)&&Vn(h.prev,h,h.next)>0&&Vn(l.prev,l,l.next)>0)}function Vn(h,l,f){return(l.y-h.y)*(f.x-l.x)-(l.x-h.x)*(f.y-l.y)}function U_(h,l){return h.x===l.x&&h.y===l.y}function wD(h,l,f,g){var x=W_(Vn(h,l,f)),T=W_(Vn(h,l,g)),A=W_(Vn(f,g,h)),D=W_(Vn(f,g,l));return x!==T&&A!==D||!(x!==0||!G_(h,f,l))||!(T!==0||!G_(h,g,l))||!(A!==0||!G_(f,h,g))||!(D!==0||!G_(f,l,g))}function G_(h,l,f){return l.x<=Math.max(h.x,f.x)&&l.x>=Math.min(h.x,f.x)&&l.y<=Math.max(h.y,f.y)&&l.y>=Math.min(h.y,f.y)}function W_(h){return h>0?1:h<0?-1:0}function sv(h,l){return Vn(h.prev,h,h.next)<0?Vn(h,l,h.next)>=0&&Vn(h,h.prev,l)>=0:Vn(h,l,h.prev)<0||Vn(h,h.next,l)<0}function SD(h,l){var f=new dS(h.i,h.x,h.y),g=new dS(l.i,l.x,l.y),x=h.next,T=l.prev;return h.next=l,l.prev=h,f.next=x,x.prev=f,g.next=f,f.prev=g,T.next=g,g.prev=T,g}function TD(h,l,f,g){var x=new dS(h,l,f);return g?(x.next=g.next,x.prev=g,g.next.prev=x,g.next=x):(x.prev=x,x.next=x),x}function lv(h){h.next.prev=h.prev,h.prev.next=h.next,h.prevZ&&(h.prevZ.nextZ=h.nextZ),h.nextZ&&(h.nextZ.prevZ=h.prevZ)}function dS(h,l,f){this.i=h,this.x=l,this.y=f,this.prev=null,this.next=null,this.z=0,this.prevZ=null,this.nextZ=null,this.steiner=!1}function pS(h,l,f,g){for(var x=0,T=l,A=f-g;T0&&f.holes.push(g+=h[x-1].length)}return f};var CD=c(hS.exports);function mS(h,l,f){const g=f.patternDependencies;let x=!1;for(const T of l){const A=T.paint.get(`${h}-pattern`);A.isConstant()||(x=!0);const D=A.constantOr(null);D&&(x=!0,g[D.to]=!0,g[D.from]=!0)}return x}function vS(h,l,f,g,x){const T=x.patternDependencies;for(const A of l){const D=A.paint.get(`${h}-pattern`).value;if(D.kind!=="constant"){let O=D.evaluate({zoom:g-1},f,{},x.availableImages),F=D.evaluate({zoom:g},f,{},x.availableImages),V=D.evaluate({zoom:g+1},f,{},x.availableImages);O=O&&O.name?O.name:O,F=F&&F.name?F.name:F,V=V&&V.name?V.name:V,T[O]=!0,T[F]=!0,T[V]=!0,f.patterns[A.id]={min:O,mid:F,max:V}}}return f}class gS{constructor(l){this.zoom=l.zoom,this.overscaling=l.overscaling,this.layers=l.layers,this.layerIds=this.layers.map(f=>f.id),this.index=l.index,this.hasPattern=!1,this.patternFeatures=[],this.layoutVertexArray=new cu,this.indexArray=new ri,this.indexArray2=new Cn,this.programConfigurations=new Uc(l.layers,l.zoom),this.segments=new Jn,this.segments2=new Jn,this.stateDependentLayerIds=this.layers.filter(f=>f.isStateDependent()).map(f=>f.id)}populate(l,f,g){this.hasPattern=mS("fill",this.layers,f);const x=this.layers[0].layout.get("fill-sort-key"),T=!x.isConstant(),A=[];for(const{feature:D,id:O,index:F,sourceLayerIndex:V}of l){const U=this.layers[0]._featureFilter.needGeometry,X=Wc(D,U);if(!this.layers[0]._featureFilter.filter(new cn(this.zoom),X,g))continue;const J=T?x.evaluate(X,{},g,f.availableImages):void 0,re={id:O,properties:D.properties,type:D.type,sourceLayerIndex:V,index:F,geometry:U?X.geometry:Gc(D),patterns:{},sortKey:J};A.push(re)}T&&A.sort((D,O)=>D.sortKey-O.sortKey);for(const D of A){const{geometry:O,index:F,sourceLayerIndex:V}=D;if(this.hasPattern){const U=vS("fill",this.layers,D,this.zoom,f);this.patternFeatures.push(U)}else this.addFeature(D,O,F,g,{});f.featureIndex.insert(l[F].feature,O,F,V,this.index)}}update(l,f,g){this.stateDependentLayers.length&&this.programConfigurations.updatePaintArrays(l,f,this.stateDependentLayers,g)}addFeatures(l,f,g){for(const x of this.patternFeatures)this.addFeature(x,x.geometry,x.index,f,g)}isEmpty(){return this.layoutVertexArray.length===0}uploadPending(){return!this.uploaded||this.programConfigurations.needsUpload}upload(l){this.uploaded||(this.layoutVertexBuffer=l.createVertexBuffer(this.layoutVertexArray,WU),this.indexBuffer=l.createIndexBuffer(this.indexArray),this.indexBuffer2=l.createIndexBuffer(this.indexArray2)),this.programConfigurations.upload(l),this.uploaded=!0}destroy(){this.layoutVertexBuffer&&(this.layoutVertexBuffer.destroy(),this.indexBuffer.destroy(),this.indexBuffer2.destroy(),this.programConfigurations.destroy(),this.segments.destroy(),this.segments2.destroy())}addFeature(l,f,g,x,T){for(const A of Ef(f,500)){let D=0;for(const J of A)D+=J.length;const O=this.segments.prepareSegment(D,this.layoutVertexArray,this.indexArray),F=O.vertexLength,V=[],U=[];for(const J of A){if(J.length===0)continue;J!==A[0]&&U.push(V.length/2);const re=this.segments2.prepareSegment(J.length,this.layoutVertexArray,this.indexArray2),se=re.vertexLength;this.layoutVertexArray.emplaceBack(J[0].x,J[0].y),this.indexArray2.emplaceBack(se+J.length-1,se),V.push(J[0].x),V.push(J[0].y);for(let de=1;de>3}if(x--,g===1||g===2)T+=h.readSVarint(),A+=h.readSVarint(),g===1&&(l&&D.push(l),l=[]),l.push(new sG(T,A));else{if(g!==7)throw new Error("unknown command "+g);l&&l.push(l[0].clone())}}return l&&D.push(l),D},nd.prototype.bbox=function(){var h=this._pbf;h.pos=this._geometry;for(var l=h.readVarint()+h.pos,f=1,g=0,x=0,T=0,A=1/0,D=-1/0,O=1/0,F=-1/0;h.pos>3}if(g--,f===1||f===2)(x+=h.readSVarint())D&&(D=x),(T+=h.readSVarint())F&&(F=T);else if(f!==7)throw new Error("unknown command "+f)}return[A,O,D,F]},nd.prototype.toGeoJSON=function(h,l,f){var g,x,T=this.extent*Math.pow(2,f),A=this.extent*h,D=this.extent*l,O=this.loadGeometry(),F=nd.types[this.type];function V(J){for(var re=0;re>3;x=A===1?g.readString():A===2?g.readFloat():A===3?g.readDouble():A===4?g.readVarint64():A===5?g.readVarint():A===6?g.readSVarint():A===7?g.readBoolean():null}return x}(f))}MD.prototype.feature=function(h){if(h<0||h>=this._features.length)throw new Error("feature index out of bounds");this._pbf.pos=this._features[h];var l=this._pbf.readVarint()+this._pbf.pos;return new cG(this._pbf,l,this.extent,this._keys,this._values)};var fG=ED;function dG(h,l,f){if(h===3){var g=new fG(f,f.readVarint()+f.pos);g.length&&(l[g.name]=g)}}mu.VectorTile=function(h,l){this.layers=h.readFields(dG,{},l)},mu.VectorTileFeature=ID,mu.VectorTileLayer=ED;const pG=mu.VectorTileFeature.types,yS=Math.pow(2,13);function uv(h,l,f,g,x,T,A,D){h.emplaceBack(l,f,2*Math.floor(g*yS)+A,x*yS*2,T*yS*2,Math.round(D))}class _S{constructor(l){this.zoom=l.zoom,this.overscaling=l.overscaling,this.layers=l.layers,this.layerIds=this.layers.map(f=>f.id),this.index=l.index,this.hasPattern=!1,this.layoutVertexArray=new xl,this.centroidVertexArray=new bl,this.indexArray=new ri,this.programConfigurations=new Uc(l.layers,l.zoom),this.segments=new Jn,this.stateDependentLayerIds=this.layers.filter(f=>f.isStateDependent()).map(f=>f.id)}populate(l,f,g){this.features=[],this.hasPattern=mS("fill-extrusion",this.layers,f);for(const{feature:x,id:T,index:A,sourceLayerIndex:D}of l){const O=this.layers[0]._featureFilter.needGeometry,F=Wc(x,O);if(!this.layers[0]._featureFilter.filter(new cn(this.zoom),F,g))continue;const V={id:T,sourceLayerIndex:D,index:A,geometry:O?F.geometry:Gc(x),properties:x.properties,type:x.type,patterns:{}};this.hasPattern?this.features.push(vS("fill-extrusion",this.layers,V,this.zoom,f)):this.addFeature(V,V.geometry,A,g,{}),f.featureIndex.insert(x,V.geometry,A,D,this.index,!0)}}addFeatures(l,f,g){for(const x of this.features){const{geometry:T}=x;this.addFeature(x,T,x.index,f,g)}}update(l,f,g){this.stateDependentLayers.length&&this.programConfigurations.updatePaintArrays(l,f,this.stateDependentLayers,g)}isEmpty(){return this.layoutVertexArray.length===0&&this.centroidVertexArray.length===0}uploadPending(){return!this.uploaded||this.programConfigurations.needsUpload}upload(l){this.uploaded||(this.layoutVertexBuffer=l.createVertexBuffer(this.layoutVertexArray,oG),this.centroidVertexBuffer=l.createVertexBuffer(this.centroidVertexArray,aG.members,!0),this.indexBuffer=l.createIndexBuffer(this.indexArray)),this.programConfigurations.upload(l),this.uploaded=!0}destroy(){this.layoutVertexBuffer&&(this.layoutVertexBuffer.destroy(),this.indexBuffer.destroy(),this.programConfigurations.destroy(),this.segments.destroy(),this.centroidVertexBuffer.destroy())}addFeature(l,f,g,x,T){for(const A of Ef(f,500)){const D={x:0,y:0,vertexCount:0};let O=0;for(const re of A)O+=re.length;let F=this.segments.prepareSegment(4,this.layoutVertexArray,this.indexArray);for(const re of A){if(re.length===0||vG(re))continue;let se=0;for(let de=0;de=1){const Re=re[de-1];if(!mG(we,Re)){F.vertexLength+4>Jn.MAX_VERTEX_ARRAY_LENGTH&&(F=this.segments.prepareSegment(4,this.layoutVertexArray,this.indexArray));const Ce=we.sub(Re)._perp()._unit(),De=Re.dist(we);se+De>32768&&(se=0),uv(this.layoutVertexArray,we.x,we.y,Ce.x,Ce.y,0,0,se),uv(this.layoutVertexArray,we.x,we.y,Ce.x,Ce.y,0,1,se),D.x+=2*we.x,D.y+=2*we.y,D.vertexCount+=2,se+=De,uv(this.layoutVertexArray,Re.x,Re.y,Ce.x,Ce.y,0,0,se),uv(this.layoutVertexArray,Re.x,Re.y,Ce.x,Ce.y,0,1,se),D.x+=2*Re.x,D.y+=2*Re.y,D.vertexCount+=2;const je=F.vertexLength;this.indexArray.emplaceBack(je,je+2,je+1),this.indexArray.emplaceBack(je+1,je+2,je+3),F.vertexLength+=4,F.primitiveLength+=2}}}}if(F.vertexLength+O>Jn.MAX_VERTEX_ARRAY_LENGTH&&(F=this.segments.prepareSegment(O,this.layoutVertexArray,this.indexArray)),pG[l.type]!=="Polygon")continue;const V=[],U=[],X=F.vertexLength;for(const re of A)if(re.length!==0){re!==A[0]&&U.push(V.length/2);for(let se=0;seGn)||h.y===l.y&&(h.y<0||h.y>Gn)}function vG(h){return h.every(l=>l.x<0)||h.every(l=>l.x>Gn)||h.every(l=>l.y<0)||h.every(l=>l.y>Gn)}let DD;Lt("FillExtrusionBucket",_S,{omit:["layers","features"]});var gG={get paint(){return DD=DD||new b({"fill-extrusion-opacity":new $t(ye["paint_fill-extrusion"]["fill-extrusion-opacity"]),"fill-extrusion-color":new Xt(ye["paint_fill-extrusion"]["fill-extrusion-color"]),"fill-extrusion-translate":new $t(ye["paint_fill-extrusion"]["fill-extrusion-translate"]),"fill-extrusion-translate-anchor":new $t(ye["paint_fill-extrusion"]["fill-extrusion-translate-anchor"]),"fill-extrusion-pattern":new C(ye["paint_fill-extrusion"]["fill-extrusion-pattern"]),"fill-extrusion-height":new Xt(ye["paint_fill-extrusion"]["fill-extrusion-height"]),"fill-extrusion-base":new Xt(ye["paint_fill-extrusion"]["fill-extrusion-base"]),"fill-extrusion-vertical-gradient":new $t(ye["paint_fill-extrusion"]["fill-extrusion-vertical-gradient"])})}};class yG extends P{constructor(l){super(l,gG)}createBucket(l){return new _S(l)}queryRadius(){return N_(this.paint.get("fill-extrusion-translate"))}is3D(){return!0}queryIntersectsFeature(l,f,g,x,T,A,D,O){const F=V_(l,this.paint.get("fill-extrusion-translate"),this.paint.get("fill-extrusion-translate-anchor"),A.angle,D),V=this.paint.get("fill-extrusion-height").evaluate(f,g),U=this.paint.get("fill-extrusion-base").evaluate(f,g),X=function(re,se,de,we){const Re=[];for(const Ce of re){const De=[Ce.x,Ce.y,0,1];j_(De,De,se),Re.push(new v(De[0]/De[3],De[1]/De[3]))}return Re}(F,O),J=function(re,se,de,we){const Re=[],Ce=[],De=we[8]*se,je=we[9]*se,Je=we[10]*se,yt=we[11]*se,Ht=we[8]*de,bt=we[9]*de,gt=we[10]*de,Bt=we[11]*de;for(const kt of re){const Mt=[],Ze=[];for(const Nt of kt){const zt=Nt.x,er=Nt.y,nn=we[0]*zt+we[4]*er+we[12],Jr=we[1]*zt+we[5]*er+we[13],ni=we[2]*zt+we[6]*er+we[14],vo=we[3]*zt+we[7]*er+we[15],wi=ni+Je,On=vo+yt,Wi=nn+Ht,qi=Jr+bt,Zi=ni+gt,zn=vo+Bt,ii=new v((nn+De)/On,(Jr+je)/On);ii.z=wi/On,Mt.push(ii);const Li=new v(Wi/zn,qi/zn);Li.z=Zi/zn,Ze.push(Li)}Re.push(Mt),Ce.push(Ze)}return[Re,Ce]}(x,U,V,O);return function(re,se,de){let we=1/0;uD(de,se)&&(we=LD(de,se[0]));for(let Re=0;Ref.id),this.index=l.index,this.hasPattern=!1,this.patternFeatures=[],this.lineClipsArray=[],this.gradients={},this.layers.forEach(f=>{this.gradients[f.id]={}}),this.layoutVertexArray=new Xf,this.layoutVertexArray2=new Ym,this.indexArray=new ri,this.programConfigurations=new Uc(l.layers,l.zoom),this.segments=new Jn,this.maxLineLength=0,this.stateDependentLayerIds=this.layers.filter(f=>f.isStateDependent()).map(f=>f.id)}populate(l,f,g){this.hasPattern=mS("line",this.layers,f);const x=this.layers[0].layout.get("line-sort-key"),T=!x.isConstant(),A=[];for(const{feature:D,id:O,index:F,sourceLayerIndex:V}of l){const U=this.layers[0]._featureFilter.needGeometry,X=Wc(D,U);if(!this.layers[0]._featureFilter.filter(new cn(this.zoom),X,g))continue;const J=T?x.evaluate(X,{},g):void 0,re={id:O,properties:D.properties,type:D.type,sourceLayerIndex:V,index:F,geometry:U?X.geometry:Gc(D),patterns:{},sortKey:J};A.push(re)}T&&A.sort((D,O)=>D.sortKey-O.sortKey);for(const D of A){const{geometry:O,index:F,sourceLayerIndex:V}=D;if(this.hasPattern){const U=vS("line",this.layers,D,this.zoom,f);this.patternFeatures.push(U)}else this.addFeature(D,O,F,g,{});f.featureIndex.insert(l[F].feature,O,F,V,this.index)}}update(l,f,g){this.stateDependentLayers.length&&this.programConfigurations.updatePaintArrays(l,f,this.stateDependentLayers,g)}addFeatures(l,f,g){for(const x of this.patternFeatures)this.addFeature(x,x.geometry,x.index,f,g)}isEmpty(){return this.layoutVertexArray.length===0}uploadPending(){return!this.uploaded||this.programConfigurations.needsUpload}upload(l){this.uploaded||(this.layoutVertexArray2.length!==0&&(this.layoutVertexBuffer2=l.createVertexBuffer(this.layoutVertexArray2,wG)),this.layoutVertexBuffer=l.createVertexBuffer(this.layoutVertexArray,bG),this.indexBuffer=l.createIndexBuffer(this.indexArray)),this.programConfigurations.upload(l),this.uploaded=!0}destroy(){this.layoutVertexBuffer&&(this.layoutVertexBuffer.destroy(),this.indexBuffer.destroy(),this.programConfigurations.destroy(),this.segments.destroy())}lineFeatureClips(l){if(l.properties&&Object.prototype.hasOwnProperty.call(l.properties,"mapbox_clip_start")&&Object.prototype.hasOwnProperty.call(l.properties,"mapbox_clip_end"))return{start:+l.properties.mapbox_clip_start,end:+l.properties.mapbox_clip_end}}addFeature(l,f,g,x,T){const A=this.layers[0].layout,D=A.get("line-join").evaluate(l,{}),O=A.get("line-cap"),F=A.get("line-miter-limit"),V=A.get("line-round-limit");this.lineClips=this.lineFeatureClips(l);for(const U of f)this.addLine(U,l,D,O,F,V);this.programConfigurations.populatePaintArrays(this.layoutVertexArray.length,l,g,T,x)}addLine(l,f,g,x,T,A){if(this.distance=0,this.scaledDistance=0,this.totalDistance=0,this.lineClips){this.lineClipsArray.push(this.lineClips);for(let we=0;we=2&&l[O-1].equals(l[O-2]);)O--;let F=0;for(;F0;if(yt&&we>F){const Bt=X.dist(J);if(Bt>2*V){const kt=X.sub(X.sub(J)._mult(V/Bt)._round());this.updateDistance(J,kt),this.addCurrentVertex(kt,se,0,0,U),J=kt}}const bt=J&&re;let gt=bt?g:D?"butt":x;if(bt&>==="round"&&(jeT&&(gt="bevel"),gt==="bevel"&&(je>2&&(gt="flipbevel"),je100)Re=de.mult(-1);else{const Bt=je*se.add(de).mag()/se.sub(de).mag();Re._perp()._mult(Bt*(Ht?-1:1))}this.addCurrentVertex(X,Re,0,0,U),this.addCurrentVertex(X,Re.mult(-1),0,0,U)}else if(gt==="bevel"||gt==="fakeround"){const Bt=-Math.sqrt(je*je-1),kt=Ht?Bt:0,Mt=Ht?0:Bt;if(J&&this.addCurrentVertex(X,se,kt,Mt,U),gt==="fakeround"){const Ze=Math.round(180*Je/Math.PI/20);for(let Nt=1;Nt2*V){const kt=X.add(re.sub(X)._mult(V/Bt)._round());this.updateDistance(X,kt),this.addCurrentVertex(kt,de,0,0,U),X=kt}}}}addCurrentVertex(l,f,g,x,T,A=!1){const D=f.y*x-f.x,O=-f.y-f.x*x;this.addHalfVertex(l,f.x+f.y*g,f.y-f.x*g,A,!1,g,T),this.addHalfVertex(l,D,O,A,!0,-x,T),this.distance>kD/2&&this.totalDistance===0&&(this.distance=0,this.updateScaledDistance(),this.addCurrentVertex(l,f,g,x,T,A))}addHalfVertex({x:l,y:f},g,x,T,A,D,O){const F=.5*(this.lineClips?this.scaledDistance*(kD-1):this.scaledDistance);this.layoutVertexArray.emplaceBack((l<<1)+(T?1:0),(f<<1)+(A?1:0),Math.round(63*g)+128,Math.round(63*x)+128,1+(D===0?0:D<0?-1:1)|(63&F)<<2,F>>6),this.lineClips&&this.layoutVertexArray2.emplaceBack((this.scaledDistance-this.lineClips.start)/(this.lineClips.end-this.lineClips.start),this.lineClipsArray.length);const V=O.vertexLength++;this.e1>=0&&this.e2>=0&&(this.indexArray.emplaceBack(this.e1,this.e2,V),O.primitiveLength++),A?this.e2=V:this.e1=V}updateScaledDistance(){this.scaledDistance=this.lineClips?this.lineClips.start+(this.lineClips.end-this.lineClips.start)*this.distance/this.totalDistance:this.distance}updateDistance(l,f){this.distance+=l.dist(f),this.updateScaledDistance()}}let RD,OD;Lt("LineBucket",bS,{omit:["layers","patternFeatures"]});var zD={get paint(){return OD=OD||new b({"line-opacity":new Xt(ye.paint_line["line-opacity"]),"line-color":new Xt(ye.paint_line["line-color"]),"line-translate":new $t(ye.paint_line["line-translate"]),"line-translate-anchor":new $t(ye.paint_line["line-translate-anchor"]),"line-width":new Xt(ye.paint_line["line-width"]),"line-gap-width":new Xt(ye.paint_line["line-gap-width"]),"line-offset":new Xt(ye.paint_line["line-offset"]),"line-blur":new Xt(ye.paint_line["line-blur"]),"line-dasharray":new u(ye.paint_line["line-dasharray"]),"line-pattern":new C(ye.paint_line["line-pattern"]),"line-gradient":new p(ye.paint_line["line-gradient"])})},get layout(){return RD=RD||new b({"line-cap":new $t(ye.layout_line["line-cap"]),"line-join":new Xt(ye.layout_line["line-join"]),"line-miter-limit":new $t(ye.layout_line["line-miter-limit"]),"line-round-limit":new $t(ye.layout_line["line-round-limit"]),"line-sort-key":new Xt(ye.layout_line["line-sort-key"])})}};class CG extends Xt{possiblyEvaluate(l,f){return f=new cn(Math.floor(f.zoom),{now:f.now,fadeDuration:f.fadeDuration,zoomHistory:f.zoomHistory,transition:f.transition}),super.possiblyEvaluate(l,f)}evaluate(l,f,g,x){return f=H({},f,{zoom:Math.floor(f.zoom)}),super.evaluate(l,f,g,x)}}let q_;class PG extends P{constructor(l){super(l,zD),this.gradientVersion=0,q_||(q_=new CG(zD.paint.properties["line-width"].specification),q_.useIntegerZoom=!0)}_handleSpecialPaintPropertyUpdate(l){if(l==="line-gradient"){const f=this.gradientExpression();this.stepInterpolant=!!function(g){return g._styleExpression!==void 0}(f)&&f._styleExpression.expression instanceof Ql,this.gradientVersion=(this.gradientVersion+1)%Number.MAX_SAFE_INTEGER}}gradientExpression(){return this._transitionablePaint._values["line-gradient"].value.expression}recalculate(l,f){super.recalculate(l,f),this.paint._values["line-floorwidth"]=q_.possiblyEvaluate(this._transitioningPaint._values["line-width"].value,l)}createBucket(l){return new bS(l)}queryRadius(l){const f=l,g=BD(nv("line-width",this,f),nv("line-gap-width",this,f)),x=nv("line-offset",this,f);return g/2+Math.abs(x)+N_(this.paint.get("line-translate"))}queryIntersectsFeature(l,f,g,x,T,A,D){const O=V_(l,this.paint.get("line-translate"),this.paint.get("line-translate-anchor"),A.angle,D),F=D/2*BD(this.paint.get("line-width").evaluate(f,g),this.paint.get("line-gap-width").evaluate(f,g)),V=this.paint.get("line-offset").evaluate(f,g);return V&&(x=function(U,X){const J=[];for(let re=0;re=3){for(let de=0;de0?l+2*h:h}const AG=N([{name:"a_pos_offset",components:4,type:"Int16"},{name:"a_data",components:4,type:"Uint16"},{name:"a_pixeloffset",components:4,type:"Int16"}],4),IG=N([{name:"a_projected_pos",components:3,type:"Float32"}],4);N([{name:"a_fade_opacity",components:1,type:"Uint32"}],4);const EG=N([{name:"a_placed",components:2,type:"Uint8"},{name:"a_shift",components:2,type:"Float32"},{name:"a_box_real",components:2,type:"Int16"}]);N([{type:"Int16",name:"anchorPointX"},{type:"Int16",name:"anchorPointY"},{type:"Int16",name:"x1"},{type:"Int16",name:"y1"},{type:"Int16",name:"x2"},{type:"Int16",name:"y2"},{type:"Uint32",name:"featureIndex"},{type:"Uint16",name:"sourceLayerIndex"},{type:"Uint16",name:"bucketIndex"}]);const FD=N([{name:"a_pos",components:2,type:"Int16"},{name:"a_anchor_pos",components:2,type:"Int16"},{name:"a_extrude",components:2,type:"Int16"}],4),MG=N([{name:"a_pos",components:2,type:"Float32"},{name:"a_radius",components:1,type:"Float32"},{name:"a_flags",components:2,type:"Int16"}],4);function DG(h,l,f){return h.sections.forEach(g=>{g.text=function(x,T,A){const D=T.layout.get("text-transform").evaluate(A,{});return D==="uppercase"?x=x.toLocaleUpperCase():D==="lowercase"&&(x=x.toLocaleLowerCase()),Ps.applyArabicShaping&&(x=Ps.applyArabicShaping(x)),x}(g.text,l,f)}),h}N([{name:"triangle",components:3,type:"Uint16"}]),N([{type:"Int16",name:"anchorX"},{type:"Int16",name:"anchorY"},{type:"Uint16",name:"glyphStartIndex"},{type:"Uint16",name:"numGlyphs"},{type:"Uint32",name:"vertexStartIndex"},{type:"Uint32",name:"lineStartIndex"},{type:"Uint32",name:"lineLength"},{type:"Uint16",name:"segment"},{type:"Uint16",name:"lowerSize"},{type:"Uint16",name:"upperSize"},{type:"Float32",name:"lineOffsetX"},{type:"Float32",name:"lineOffsetY"},{type:"Uint8",name:"writingMode"},{type:"Uint8",name:"placedOrientation"},{type:"Uint8",name:"hidden"},{type:"Uint32",name:"crossTileID"},{type:"Int16",name:"associatedIconIndex"}]),N([{type:"Int16",name:"anchorX"},{type:"Int16",name:"anchorY"},{type:"Int16",name:"rightJustifiedTextSymbolIndex"},{type:"Int16",name:"centerJustifiedTextSymbolIndex"},{type:"Int16",name:"leftJustifiedTextSymbolIndex"},{type:"Int16",name:"verticalPlacedTextSymbolIndex"},{type:"Int16",name:"placedIconSymbolIndex"},{type:"Int16",name:"verticalPlacedIconSymbolIndex"},{type:"Uint16",name:"key"},{type:"Uint16",name:"textBoxStartIndex"},{type:"Uint16",name:"textBoxEndIndex"},{type:"Uint16",name:"verticalTextBoxStartIndex"},{type:"Uint16",name:"verticalTextBoxEndIndex"},{type:"Uint16",name:"iconBoxStartIndex"},{type:"Uint16",name:"iconBoxEndIndex"},{type:"Uint16",name:"verticalIconBoxStartIndex"},{type:"Uint16",name:"verticalIconBoxEndIndex"},{type:"Uint16",name:"featureIndex"},{type:"Uint16",name:"numHorizontalGlyphVertices"},{type:"Uint16",name:"numVerticalGlyphVertices"},{type:"Uint16",name:"numIconVertices"},{type:"Uint16",name:"numVerticalIconVertices"},{type:"Uint16",name:"useRuntimeCollisionCircles"},{type:"Uint32",name:"crossTileID"},{type:"Float32",name:"textBoxScale"},{type:"Float32",name:"collisionCircleDiameter"},{type:"Uint16",name:"textAnchorOffsetStartIndex"},{type:"Uint16",name:"textAnchorOffsetEndIndex"}]),N([{type:"Float32",name:"offsetX"}]),N([{type:"Int16",name:"x"},{type:"Int16",name:"y"},{type:"Int16",name:"tileUnitDistanceFromAnchor"}]),N([{type:"Uint16",name:"textAnchor"},{type:"Float32",components:2,name:"textOffset"}]);const hv={"!":"︕","#":"#",$:"$","%":"%","&":"&","(":"︵",")":"︶","*":"*","+":"+",",":"︐","-":"︲",".":"・","/":"/",":":"︓",";":"︔","<":"︿","=":"=",">":"﹀","?":"︖","@":"@","[":"﹇","\\":"\","]":"﹈","^":"^",_:"︳","`":"`","{":"︷","|":"―","}":"︸","~":"~","¢":"¢","£":"£","¥":"¥","¦":"¦","¬":"¬","¯":" ̄","–":"︲","—":"︱","‘":"﹃","’":"﹄","“":"﹁","”":"﹂","…":"︙","‧":"・","₩":"₩","、":"︑","。":"︒","〈":"︿","〉":"﹀","《":"︽","》":"︾","「":"﹁","」":"﹂","『":"﹃","』":"﹄","【":"︻","】":"︼","〔":"︹","〕":"︺","〖":"︗","〗":"︘","!":"︕","(":"︵",")":"︶",",":"︐","-":"︲",".":"・",":":"︓",";":"︔","<":"︿",">":"﹀","?":"︖","[":"﹇","]":"﹈","_":"︳","{":"︷","|":"―","}":"︸","⦅":"︵","⦆":"︶","。":"︒","「":"﹁","」":"﹂"};var Qn=24,$D=Yr,ND=function(h,l,f,g,x){var T,A,D=8*x-g-1,O=(1<>1,V=-7,U=x-1,X=-1,J=h[l+U];for(U+=X,T=J&(1<<-V)-1,J>>=-V,V+=D;V>0;T=256*T+h[l+U],U+=X,V-=8);for(A=T&(1<<-V)-1,T>>=-V,V+=g;V>0;A=256*A+h[l+U],U+=X,V-=8);if(T===0)T=1-F;else{if(T===O)return A?NaN:1/0*(J?-1:1);A+=Math.pow(2,g),T-=F}return(J?-1:1)*A*Math.pow(2,T-g)},VD=function(h,l,f,g,x,T){var A,D,O,F=8*T-x-1,V=(1<>1,X=x===23?Math.pow(2,-24)-Math.pow(2,-77):0,J=0,re=1,se=l<0||l===0&&1/l<0?1:0;for(l=Math.abs(l),isNaN(l)||l===1/0?(D=isNaN(l)?1:0,A=V):(A=Math.floor(Math.log(l)/Math.LN2),l*(O=Math.pow(2,-A))<1&&(A--,O*=2),(l+=A+U>=1?X/O:X*Math.pow(2,1-U))*O>=2&&(A++,O/=2),A+U>=V?(D=0,A=V):A+U>=1?(D=(l*O-1)*Math.pow(2,x),A+=U):(D=l*Math.pow(2,U-1)*Math.pow(2,x),A=0));x>=8;h[f+J]=255&D,J+=re,D/=256,x-=8);for(A=A<0;h[f+J]=255&A,J+=re,A/=256,F-=8);h[f+J-re]|=128*se};function Yr(h){this.buf=ArrayBuffer.isView&&ArrayBuffer.isView(h)?h:new Uint8Array(h||0),this.pos=0,this.type=0,this.length=this.buf.length}Yr.Varint=0,Yr.Fixed64=1,Yr.Bytes=2,Yr.Fixed32=5;var xS=4294967296,jD=1/xS,HD=typeof TextDecoder>"u"?null:new TextDecoder("utf8");function Sl(h){return h.type===Yr.Bytes?h.readVarint()+h.pos:h.pos+1}function id(h,l,f){return f?4294967296*l+(h>>>0):4294967296*(l>>>0)+(h>>>0)}function UD(h,l,f){var g=l<=16383?1:l<=2097151?2:l<=268435455?3:Math.floor(Math.log(l)/(7*Math.LN2));f.realloc(g);for(var x=f.pos-1;x>=h;x--)f.buf[x+g]=f.buf[x]}function LG(h,l){for(var f=0;f>>8,h[f+2]=l>>>16,h[f+3]=l>>>24}function GD(h,l){return(h[l]|h[l+1]<<8|h[l+2]<<16)+(h[l+3]<<24)}Yr.prototype={destroy:function(){this.buf=null},readFields:function(h,l,f){for(f=f||this.length;this.pos>3,T=this.pos;this.type=7&g,h(x,l,this),this.pos===T&&this.skip(g)}return l},readMessage:function(h,l){return this.readFields(h,l,this.readVarint()+this.pos)},readFixed32:function(){var h=Z_(this.buf,this.pos);return this.pos+=4,h},readSFixed32:function(){var h=GD(this.buf,this.pos);return this.pos+=4,h},readFixed64:function(){var h=Z_(this.buf,this.pos)+Z_(this.buf,this.pos+4)*xS;return this.pos+=8,h},readSFixed64:function(){var h=Z_(this.buf,this.pos)+GD(this.buf,this.pos+4)*xS;return this.pos+=8,h},readFloat:function(){var h=ND(this.buf,this.pos,!0,23,4);return this.pos+=4,h},readDouble:function(){var h=ND(this.buf,this.pos,!0,52,8);return this.pos+=8,h},readVarint:function(h){var l,f,g=this.buf;return l=127&(f=g[this.pos++]),f<128?l:(l|=(127&(f=g[this.pos++]))<<7,f<128?l:(l|=(127&(f=g[this.pos++]))<<14,f<128?l:(l|=(127&(f=g[this.pos++]))<<21,f<128?l:function(x,T,A){var D,O,F=A.buf;if(D=(112&(O=F[A.pos++]))>>4,O<128||(D|=(127&(O=F[A.pos++]))<<3,O<128)||(D|=(127&(O=F[A.pos++]))<<10,O<128)||(D|=(127&(O=F[A.pos++]))<<17,O<128)||(D|=(127&(O=F[A.pos++]))<<24,O<128)||(D|=(1&(O=F[A.pos++]))<<31,O<128))return id(x,D,T);throw new Error("Expected varint not more than 10 bytes")}(l|=(15&(f=g[this.pos]))<<28,h,this))))},readVarint64:function(){return this.readVarint(!0)},readSVarint:function(){var h=this.readVarint();return h%2==1?(h+1)/-2:h/2},readBoolean:function(){return!!this.readVarint()},readString:function(){var h=this.readVarint()+this.pos,l=this.pos;return this.pos=h,h-l>=12&&HD?function(f,g,x){return HD.decode(f.subarray(g,x))}(this.buf,l,h):function(f,g,x){for(var T="",A=g;A239?4:V>223?3:V>191?2:1;if(A+X>x)break;X===1?V<128&&(U=V):X===2?(192&(D=f[A+1]))==128&&(U=(31&V)<<6|63&D)<=127&&(U=null):X===3?(O=f[A+2],(192&(D=f[A+1]))==128&&(192&O)==128&&((U=(15&V)<<12|(63&D)<<6|63&O)<=2047||U>=55296&&U<=57343)&&(U=null)):X===4&&(O=f[A+2],F=f[A+3],(192&(D=f[A+1]))==128&&(192&O)==128&&(192&F)==128&&((U=(15&V)<<18|(63&D)<<12|(63&O)<<6|63&F)<=65535||U>=1114112)&&(U=null)),U===null?(U=65533,X=1):U>65535&&(U-=65536,T+=String.fromCharCode(U>>>10&1023|55296),U=56320|1023&U),T+=String.fromCharCode(U),A+=X}return T}(this.buf,l,h)},readBytes:function(){var h=this.readVarint()+this.pos,l=this.buf.subarray(this.pos,h);return this.pos=h,l},readPackedVarint:function(h,l){if(this.type!==Yr.Bytes)return h.push(this.readVarint(l));var f=Sl(this);for(h=h||[];this.pos127;);else if(l===Yr.Bytes)this.pos=this.readVarint()+this.pos;else if(l===Yr.Fixed32)this.pos+=4;else{if(l!==Yr.Fixed64)throw new Error("Unimplemented type: "+l);this.pos+=8}},writeTag:function(h,l){this.writeVarint(h<<3|l)},realloc:function(h){for(var l=this.length||16;l268435455||h<0?function(l,f){var g,x;if(l>=0?(g=l%4294967296|0,x=l/4294967296|0):(x=~(-l/4294967296),4294967295^(g=~(-l%4294967296))?g=g+1|0:(g=0,x=x+1|0)),l>=18446744073709552e3||l<-18446744073709552e3)throw new Error("Given varint doesn't fit into 10 bytes");f.realloc(10),function(T,A,D){D.buf[D.pos++]=127&T|128,T>>>=7,D.buf[D.pos++]=127&T|128,T>>>=7,D.buf[D.pos++]=127&T|128,T>>>=7,D.buf[D.pos++]=127&T|128,D.buf[D.pos]=127&(T>>>=7)}(g,0,f),function(T,A){var D=(7&T)<<4;A.buf[A.pos++]|=D|((T>>>=3)?128:0),T&&(A.buf[A.pos++]=127&T|((T>>>=7)?128:0),T&&(A.buf[A.pos++]=127&T|((T>>>=7)?128:0),T&&(A.buf[A.pos++]=127&T|((T>>>=7)?128:0),T&&(A.buf[A.pos++]=127&T|((T>>>=7)?128:0),T&&(A.buf[A.pos++]=127&T)))))}(x,f)}(h,this):(this.realloc(4),this.buf[this.pos++]=127&h|(h>127?128:0),h<=127||(this.buf[this.pos++]=127&(h>>>=7)|(h>127?128:0),h<=127||(this.buf[this.pos++]=127&(h>>>=7)|(h>127?128:0),h<=127||(this.buf[this.pos++]=h>>>7&127))))},writeSVarint:function(h){this.writeVarint(h<0?2*-h-1:2*h)},writeBoolean:function(h){this.writeVarint(!!h)},writeString:function(h){h=String(h),this.realloc(4*h.length),this.pos++;var l=this.pos;this.pos=function(g,x,T){for(var A,D,O=0;O55295&&A<57344){if(!D){A>56319||O+1===x.length?(g[T++]=239,g[T++]=191,g[T++]=189):D=A;continue}if(A<56320){g[T++]=239,g[T++]=191,g[T++]=189,D=A;continue}A=D-55296<<10|A-56320|65536,D=null}else D&&(g[T++]=239,g[T++]=191,g[T++]=189,D=null);A<128?g[T++]=A:(A<2048?g[T++]=A>>6|192:(A<65536?g[T++]=A>>12|224:(g[T++]=A>>18|240,g[T++]=A>>12&63|128),g[T++]=A>>6&63|128),g[T++]=63&A|128)}return T}(this.buf,h,this.pos);var f=this.pos-l;f>=128&&UD(l,f,this),this.pos=l-1,this.writeVarint(f),this.pos+=f},writeFloat:function(h){this.realloc(4),VD(this.buf,h,this.pos,!0,23,4),this.pos+=4},writeDouble:function(h){this.realloc(8),VD(this.buf,h,this.pos,!0,52,8),this.pos+=8},writeBytes:function(h){var l=h.length;this.writeVarint(l),this.realloc(l);for(var f=0;f=128&&UD(f,g,this),this.pos=f-1,this.writeVarint(g),this.pos+=g},writeMessage:function(h,l,f){this.writeTag(h,Yr.Bytes),this.writeRawMessage(l,f)},writePackedVarint:function(h,l){l.length&&this.writeMessage(h,LG,l)},writePackedSVarint:function(h,l){l.length&&this.writeMessage(h,kG,l)},writePackedBoolean:function(h,l){l.length&&this.writeMessage(h,zG,l)},writePackedFloat:function(h,l){l.length&&this.writeMessage(h,RG,l)},writePackedDouble:function(h,l){l.length&&this.writeMessage(h,OG,l)},writePackedFixed32:function(h,l){l.length&&this.writeMessage(h,BG,l)},writePackedSFixed32:function(h,l){l.length&&this.writeMessage(h,FG,l)},writePackedFixed64:function(h,l){l.length&&this.writeMessage(h,$G,l)},writePackedSFixed64:function(h,l){l.length&&this.writeMessage(h,NG,l)},writeBytesField:function(h,l){this.writeTag(h,Yr.Bytes),this.writeBytes(l)},writeFixed32Field:function(h,l){this.writeTag(h,Yr.Fixed32),this.writeFixed32(l)},writeSFixed32Field:function(h,l){this.writeTag(h,Yr.Fixed32),this.writeSFixed32(l)},writeFixed64Field:function(h,l){this.writeTag(h,Yr.Fixed64),this.writeFixed64(l)},writeSFixed64Field:function(h,l){this.writeTag(h,Yr.Fixed64),this.writeSFixed64(l)},writeVarintField:function(h,l){this.writeTag(h,Yr.Varint),this.writeVarint(l)},writeSVarintField:function(h,l){this.writeTag(h,Yr.Varint),this.writeSVarint(l)},writeStringField:function(h,l){this.writeTag(h,Yr.Bytes),this.writeString(l)},writeFloatField:function(h,l){this.writeTag(h,Yr.Fixed32),this.writeFloat(l)},writeDoubleField:function(h,l){this.writeTag(h,Yr.Fixed64),this.writeDouble(l)},writeBooleanField:function(h,l){this.writeVarintField(h,!!l)}};var wS=c($D);const SS=3;function VG(h,l,f){h===1&&f.readMessage(jG,l)}function jG(h,l,f){if(h===3){const{id:g,bitmap:x,width:T,height:A,left:D,top:O,advance:F}=f.readMessage(HG,{});l.push({id:g,bitmap:new av({width:T+2*SS,height:A+2*SS},x),metrics:{width:T,height:A,left:D,top:O,advance:F}})}}function HG(h,l,f){h===1?l.id=f.readVarint():h===2?l.bitmap=f.readBytes():h===3?l.width=f.readVarint():h===4?l.height=f.readVarint():h===5?l.left=f.readSVarint():h===6?l.top=f.readSVarint():h===7&&(l.advance=f.readVarint())}const WD=SS;function qD(h){let l=0,f=0;for(const A of h)l+=A.w*A.h,f=Math.max(f,A.w);h.sort((A,D)=>D.h-A.h);const g=[{x:0,y:0,w:Math.max(Math.ceil(Math.sqrt(l/.95)),f),h:1/0}];let x=0,T=0;for(const A of h)for(let D=g.length-1;D>=0;D--){const O=g[D];if(!(A.w>O.w||A.h>O.h)){if(A.x=O.x,A.y=O.y,T=Math.max(T,A.y+A.h),x=Math.max(x,A.x+A.w),A.w===O.w&&A.h===O.h){const F=g.pop();D=0&&g>=l&&K_[this.text.charCodeAt(g)];g--)f--;this.text=this.text.substring(l,f),this.sectionIndex=this.sectionIndex.slice(l,f)}substring(l,f){const g=new od;return g.text=this.text.substring(l,f),g.sectionIndex=this.sectionIndex.slice(l,f),g.sections=this.sections,g}toString(){return this.text}getMaxScale(){return this.sectionIndex.reduce((l,f)=>Math.max(l,this.sections[f].scale),0)}addTextSection(l,f){this.text+=l.text,this.sections.push(dv.forText(l.scale,l.fontStack||f));const g=this.sections.length-1;for(let x=0;x=63743?null:++this.imageSectionID:(this.imageSectionID=57344,this.imageSectionID)}}function X_(h,l,f,g,x,T,A,D,O,F,V,U,X,J,re){const se=od.fromFeature(h,x);let de;U===o.ai.vertical&&se.verticalizePunctuation();const{processBidirectionalText:we,processStyledBidirectionalText:Re}=Ps;if(we&&se.sections.length===1){de=[];const je=we(se.toString(),CS(se,F,T,l,g,J));for(const Je of je){const yt=new od;yt.text=Je,yt.sections=se.sections;for(let Ht=0;Ht0&&Tl>Ti&&(Ti=Tl)}else{const Za=yt[zr.fontStack],si=Za&&Za[_n];if(si&&si.rect)cd=si.rect,Dn=si.metrics;else{const Tl=Je[zr.fontStack],yv=Tl&&Tl[_n];if(!yv)continue;Dn=yv.metrics}Ca=(ii-zr.scale)*Qn}go?(je.verticalizable=!0,Xi.push({glyph:_n,imageName:Ms,x:er,y:nn+Ca,vertical:go,scale:zr.scale,fontStack:zr.fontStack,sectionIndex:hn,metrics:Dn,rect:cd}),er+=Ds*zr.scale+Ze):(Xi.push({glyph:_n,imageName:Ms,x:er,y:nn+Ca,vertical:go,scale:zr.scale,fontStack:zr.fontStack,sectionIndex:hn,metrics:Dn,rect:cd}),er+=Dn.advance*zr.scale+Ze)}Xi.length!==0&&(Jr=Math.max(er-Ze,Jr),qG(Xi,0,Xi.length-1,vo,Ti)),er=0;const qa=gt*ii+Ti;Si.lineOffset=Math.max(Ti,Li),nn+=qa,ni=Math.max(qa,ni),++wi}var On;const Wi=nn-fv,{horizontalAlign:qi,verticalAlign:Zi}=PS(Bt);(function(zn,ii,Li,Si,Xi,Ti,qa,fa,zr){const hn=(ii-Li)*Xi;let _n=0;_n=Ti!==qa?-fa*Si-fv:(-Si*zr+.5)*qa;for(const Ca of zn)for(const Dn of Ca.positionedGlyphs)Dn.x+=hn,Dn.y+=_n})(je.positionedLines,vo,qi,Zi,Jr,ni,gt,Wi,bt.length),je.top+=-Zi*Wi,je.bottom=je.top+Wi,je.left+=-qi*Jr,je.right=je.left+Jr}(De,l,f,g,de,A,D,O,U,F,X,re),!function(je){for(const Je of je)if(Je.positionedGlyphs.length!==0)return!1;return!0}(Ce)&&De}const K_={9:!0,10:!0,11:!0,12:!0,13:!0,32:!0},UG={10:!0,32:!0,38:!0,41:!0,43:!0,45:!0,47:!0,173:!0,183:!0,8203:!0,8208:!0,8211:!0,8231:!0},GG={40:!0};function XD(h,l,f,g,x,T){if(l.imageName){const A=g[l.imageName];return A?A.displaySize[0]*l.scale*Qn/T+x:0}{const A=f[l.fontStack],D=A&&A[h];return D?D.metrics.advance*l.scale+x:0}}function KD(h,l,f,g){const x=Math.pow(h-l,2);return g?h=0;let F=0;for(let U=0;UF){const V=Math.ceil(T/F);x*=V/A,A=V}return{x1:g,y1:x,x2:g+T,y2:x+A}}function eL(h,l,f,g,x,T){const A=h.image;let D;if(A.content){const de=A.content,we=A.pixelRatio||1;D=[de[0]/we,de[1]/we,A.displaySize[0]-de[2]/we,A.displaySize[1]-de[3]/we]}const O=l.left*T,F=l.right*T;let V,U,X,J;f==="width"||f==="both"?(J=x[0]+O-g[3],U=x[0]+F+g[1]):(J=x[0]+(O+F-A.displaySize[0])/2,U=J+A.displaySize[0]);const re=l.top*T,se=l.bottom*T;return f==="height"||f==="both"?(V=x[1]+re-g[0],X=x[1]+se+g[2]):(V=x[1]+(re+se-A.displaySize[1])/2,X=V+A.displaySize[1]),{image:A,top:V,right:U,bottom:X,left:J,collisionPadding:D}}const pv=255,Es=128,gu=pv*Es;function tL(h,l){const{expression:f}=l;if(f.kind==="constant")return{kind:"constant",layoutSize:f.evaluate(new cn(h+1))};if(f.kind==="source")return{kind:"source"};{const{zoomStops:g,interpolationType:x}=f;let T=0;for(;TA.id),this.index=l.index,this.pixelRatio=l.pixelRatio,this.sourceLayerIndex=l.sourceLayerIndex,this.hasPattern=!1,this.hasRTLText=!1,this.sortKeyRanges=[],this.collisionCircleArray=[],this.placementInvProjMatrix=lS([]),this.placementViewportMatrix=lS([]);const f=this.layers[0]._unevaluatedLayout._values;this.textSizeData=tL(this.zoom,f["text-size"]),this.iconSizeData=tL(this.zoom,f["icon-size"]);const g=this.layers[0].layout,x=g.get("symbol-sort-key"),T=g.get("symbol-z-order");this.canOverlap=AS(g,"text-overlap","text-allow-overlap")!=="never"||AS(g,"icon-overlap","icon-allow-overlap")!=="never"||g.get("text-ignore-placement")||g.get("icon-ignore-placement"),this.sortFeaturesByKey=T!=="viewport-y"&&!x.isConstant(),this.sortFeaturesByY=(T==="viewport-y"||T==="auto"&&!this.sortFeaturesByKey)&&this.canOverlap,g.get("symbol-placement")==="point"&&(this.writingModes=g.get("text-writing-mode").map(A=>o.ai[A])),this.stateDependentLayerIds=this.layers.filter(A=>A.isStateDependent()).map(A=>A.id),this.sourceID=l.sourceID}createArrays(){this.text=new ES(new Uc(this.layers,this.zoom,l=>/^text/.test(l))),this.icon=new ES(new Uc(this.layers,this.zoom,l=>/^icon/.test(l))),this.glyphOffsetArray=new yn,this.lineVertexArray=new Ui,this.symbolInstances=new ja,this.textAnchorOffsets=new gi}calculateGlyphDependencies(l,f,g,x,T){for(let A=0;A0)&&(A.value.kind!=="constant"||A.value.value.length>0),V=O.value.kind!=="constant"||!!O.value.value||Object.keys(O.parameters).length>0,U=T.get("symbol-sort-key");if(this.features=[],!F&&!V)return;const X=f.iconDependencies,J=f.glyphDependencies,re=f.availableImages,se=new cn(this.zoom);for(const{feature:de,id:we,index:Re,sourceLayerIndex:Ce}of l){const De=x._featureFilter.needGeometry,je=Wc(de,De);if(!x._featureFilter.filter(se,je,g))continue;let Je,yt;if(De||(je.geometry=Gc(de)),F){const bt=x.getValueAndResolveTokens("text-field",je,g,re),gt=aa.factory(bt),Bt=this.hasRTLText=this.hasRTLText||YG(gt);(!Bt||Ps.getRTLTextPluginStatus()==="unavailable"||Bt&&Ps.isParsed())&&(Je=DG(gt,x,je))}if(V){const bt=x.getValueAndResolveTokens("icon-image",je,g,re);yt=bt instanceof mi?bt:mi.fromString(bt)}if(!Je&&!yt)continue;const Ht=this.sortFeaturesByKey?U.evaluate(je,{},g):void 0;if(this.features.push({id:we,text:Je,icon:yt,index:Re,sourceLayerIndex:Ce,geometry:je.geometry,properties:de.properties,type:XG[de.type],sortKey:Ht}),yt&&(X[yt.name]=!0),Je){const bt=A.evaluate(je,{},g).join(","),gt=T.get("text-rotation-alignment")!=="viewport"&&T.get("symbol-placement")!=="point";this.allowVerticalPlacement=this.writingModes&&this.writingModes.indexOf(o.ai.vertical)>=0;for(const Bt of Je.sections)if(Bt.image)X[Bt.image.name]=!0;else{const kt=qm(Je.toString()),Mt=Bt.fontStack||bt,Ze=J[Mt]=J[Mt]||{};this.calculateGlyphDependencies(Bt.text,Ze,gt,this.allowVerticalPlacement,kt)}}}T.get("symbol-placement")==="line"&&(this.features=function(de){const we={},Re={},Ce=[];let De=0;function je(bt){Ce.push(de[bt]),De++}function Je(bt,gt,Bt){const kt=Re[bt];return delete Re[bt],Re[gt]=kt,Ce[kt].geometry[0].pop(),Ce[kt].geometry[0]=Ce[kt].geometry[0].concat(Bt[0]),kt}function yt(bt,gt,Bt){const kt=we[gt];return delete we[gt],we[bt]=kt,Ce[kt].geometry[0].shift(),Ce[kt].geometry[0]=Bt[0].concat(Ce[kt].geometry[0]),kt}function Ht(bt,gt,Bt){const kt=Bt?gt[0][gt[0].length-1]:gt[0][0];return`${bt}:${kt.x}:${kt.y}`}for(let bt=0;btbt.geometry)}(this.features)),this.sortFeaturesByKey&&this.features.sort((de,we)=>de.sortKey-we.sortKey)}update(l,f,g){this.stateDependentLayers.length&&(this.text.programConfigurations.updatePaintArrays(l,f,this.layers,g),this.icon.programConfigurations.updatePaintArrays(l,f,this.layers,g))}isEmpty(){return this.symbolInstances.length===0&&!this.hasRTLText}uploadPending(){return!this.uploaded||this.text.programConfigurations.needsUpload||this.icon.programConfigurations.needsUpload}upload(l){!this.uploaded&&this.hasDebugData()&&(this.textCollisionBox.upload(l),this.iconCollisionBox.upload(l)),this.text.upload(l,this.sortFeaturesByY,!this.uploaded,this.text.programConfigurations.needsUpload),this.icon.upload(l,this.sortFeaturesByY,!this.uploaded,this.icon.programConfigurations.needsUpload),this.uploaded=!0}destroyDebugData(){this.textCollisionBox.destroy(),this.iconCollisionBox.destroy()}destroy(){this.text.destroy(),this.icon.destroy(),this.hasDebugData()&&this.destroyDebugData()}addToLineVertexArray(l,f){const g=this.lineVertexArray.length;if(l.segment!==void 0){let x=l.dist(f[l.segment+1]),T=l.dist(f[l.segment]);const A={};for(let D=l.segment+1;D=0;D--)A[D]={x:f[D].x,y:f[D].y,tileUnitDistanceFromAnchor:T},D>0&&(T+=f[D-1].dist(f[D]));for(let D=0;D0}hasIconData(){return this.icon.segments.get().length>0}hasDebugData(){return this.textCollisionBox&&this.iconCollisionBox}hasTextCollisionBoxData(){return this.hasDebugData()&&this.textCollisionBox.segments.get().length>0}hasIconCollisionBoxData(){return this.hasDebugData()&&this.iconCollisionBox.segments.get().length>0}addIndicesForPlacedSymbol(l,f){const g=l.placedSymbolArray.get(f),x=g.vertexStartIndex+4*g.numGlyphs;for(let T=g.vertexStartIndex;Tx[D]-x[O]||T[O]-T[D]),A}addToSortKeyRanges(l,f){const g=this.sortKeyRanges[this.sortKeyRanges.length-1];g&&g.sortKey===f?g.symbolInstanceEnd=l+1:this.sortKeyRanges.push({sortKey:f,symbolInstanceStart:l,symbolInstanceEnd:l+1})}sortFeatures(l){if(this.sortFeaturesByY&&this.sortedAngle!==l&&!(this.text.segments.get().length>1||this.icon.segments.get().length>1)){this.symbolInstanceIndexes=this.getSortedSymbolIndexes(l),this.sortedAngle=l,this.text.indexArray.clear(),this.icon.indexArray.clear(),this.featureSortOrder=[];for(const f of this.symbolInstanceIndexes){const g=this.symbolInstances.get(f);this.featureSortOrder.push(g.featureIndex),[g.rightJustifiedTextSymbolIndex,g.centerJustifiedTextSymbolIndex,g.leftJustifiedTextSymbolIndex].forEach((x,T,A)=>{x>=0&&A.indexOf(x)===T&&this.addIndicesForPlacedSymbol(this.text,x)}),g.verticalPlacedTextSymbolIndex>=0&&this.addIndicesForPlacedSymbol(this.text,g.verticalPlacedTextSymbolIndex),g.placedIconSymbolIndex>=0&&this.addIndicesForPlacedSymbol(this.icon,g.placedIconSymbolIndex),g.verticalPlacedIconSymbolIndex>=0&&this.addIndicesForPlacedSymbol(this.icon,g.verticalPlacedIconSymbolIndex)}this.text.indexBuffer&&this.text.indexBuffer.updateData(this.text.indexArray),this.icon.indexBuffer&&this.icon.indexBuffer.updateData(this.icon.indexArray)}}}let rL,nL;Lt("SymbolBucket",sd,{omit:["layers","collisionBoxArray","features","compareText"]}),sd.MAX_GLYPHS=65535,sd.addDynamicAttributes=IS;var DS={get paint(){return nL=nL||new b({"icon-opacity":new Xt(ye.paint_symbol["icon-opacity"]),"icon-color":new Xt(ye.paint_symbol["icon-color"]),"icon-halo-color":new Xt(ye.paint_symbol["icon-halo-color"]),"icon-halo-width":new Xt(ye.paint_symbol["icon-halo-width"]),"icon-halo-blur":new Xt(ye.paint_symbol["icon-halo-blur"]),"icon-translate":new $t(ye.paint_symbol["icon-translate"]),"icon-translate-anchor":new $t(ye.paint_symbol["icon-translate-anchor"]),"text-opacity":new Xt(ye.paint_symbol["text-opacity"]),"text-color":new Xt(ye.paint_symbol["text-color"],{runtimeType:rn,getOverride:h=>h.textColor,hasOverride:h=>!!h.textColor}),"text-halo-color":new Xt(ye.paint_symbol["text-halo-color"]),"text-halo-width":new Xt(ye.paint_symbol["text-halo-width"]),"text-halo-blur":new Xt(ye.paint_symbol["text-halo-blur"]),"text-translate":new $t(ye.paint_symbol["text-translate"]),"text-translate-anchor":new $t(ye.paint_symbol["text-translate-anchor"])})},get layout(){return rL=rL||new b({"symbol-placement":new $t(ye.layout_symbol["symbol-placement"]),"symbol-spacing":new $t(ye.layout_symbol["symbol-spacing"]),"symbol-avoid-edges":new $t(ye.layout_symbol["symbol-avoid-edges"]),"symbol-sort-key":new Xt(ye.layout_symbol["symbol-sort-key"]),"symbol-z-order":new $t(ye.layout_symbol["symbol-z-order"]),"icon-allow-overlap":new $t(ye.layout_symbol["icon-allow-overlap"]),"icon-overlap":new $t(ye.layout_symbol["icon-overlap"]),"icon-ignore-placement":new $t(ye.layout_symbol["icon-ignore-placement"]),"icon-optional":new $t(ye.layout_symbol["icon-optional"]),"icon-rotation-alignment":new $t(ye.layout_symbol["icon-rotation-alignment"]),"icon-size":new Xt(ye.layout_symbol["icon-size"]),"icon-text-fit":new $t(ye.layout_symbol["icon-text-fit"]),"icon-text-fit-padding":new $t(ye.layout_symbol["icon-text-fit-padding"]),"icon-image":new Xt(ye.layout_symbol["icon-image"]),"icon-rotate":new Xt(ye.layout_symbol["icon-rotate"]),"icon-padding":new Xt(ye.layout_symbol["icon-padding"]),"icon-keep-upright":new $t(ye.layout_symbol["icon-keep-upright"]),"icon-offset":new Xt(ye.layout_symbol["icon-offset"]),"icon-anchor":new Xt(ye.layout_symbol["icon-anchor"]),"icon-pitch-alignment":new $t(ye.layout_symbol["icon-pitch-alignment"]),"text-pitch-alignment":new $t(ye.layout_symbol["text-pitch-alignment"]),"text-rotation-alignment":new $t(ye.layout_symbol["text-rotation-alignment"]),"text-field":new Xt(ye.layout_symbol["text-field"]),"text-font":new Xt(ye.layout_symbol["text-font"]),"text-size":new Xt(ye.layout_symbol["text-size"]),"text-max-width":new Xt(ye.layout_symbol["text-max-width"]),"text-line-height":new $t(ye.layout_symbol["text-line-height"]),"text-letter-spacing":new Xt(ye.layout_symbol["text-letter-spacing"]),"text-justify":new Xt(ye.layout_symbol["text-justify"]),"text-radial-offset":new Xt(ye.layout_symbol["text-radial-offset"]),"text-variable-anchor":new $t(ye.layout_symbol["text-variable-anchor"]),"text-variable-anchor-offset":new Xt(ye.layout_symbol["text-variable-anchor-offset"]),"text-anchor":new Xt(ye.layout_symbol["text-anchor"]),"text-max-angle":new $t(ye.layout_symbol["text-max-angle"]),"text-writing-mode":new $t(ye.layout_symbol["text-writing-mode"]),"text-rotate":new Xt(ye.layout_symbol["text-rotate"]),"text-padding":new $t(ye.layout_symbol["text-padding"]),"text-keep-upright":new $t(ye.layout_symbol["text-keep-upright"]),"text-transform":new Xt(ye.layout_symbol["text-transform"]),"text-offset":new Xt(ye.layout_symbol["text-offset"]),"text-allow-overlap":new $t(ye.layout_symbol["text-allow-overlap"]),"text-overlap":new $t(ye.layout_symbol["text-overlap"]),"text-ignore-placement":new $t(ye.layout_symbol["text-ignore-placement"]),"text-optional":new $t(ye.layout_symbol["text-optional"])})}};class iL{constructor(l){if(l.property.overrides===void 0)throw new Error("overrides must be provided to instantiate FormatSectionOverride class");this.type=l.property.overrides?l.property.overrides.runtimeType:Ei,this.defaultValue=l}evaluate(l){if(l.formattedSection){const f=this.defaultValue.property.overrides;if(f&&f.hasOverride(l.formattedSection))return f.getOverride(l.formattedSection)}return l.feature&&l.featureState?this.defaultValue.evaluate(l.feature,l.featureState):this.defaultValue.property.specification.default}eachChild(l){this.defaultValue.isConstant()||l(this.defaultValue.value._styleExpression.expression)}outputDefined(){return!1}serialize(){return null}}Lt("FormatSectionOverride",iL,{omit:["defaultValue"]});class J_ extends P{constructor(l){super(l,DS)}recalculate(l,f){if(super.recalculate(l,f),this.layout.get("icon-rotation-alignment")==="auto"&&(this.layout._values["icon-rotation-alignment"]=this.layout.get("symbol-placement")!=="point"?"map":"viewport"),this.layout.get("text-rotation-alignment")==="auto"&&(this.layout._values["text-rotation-alignment"]=this.layout.get("symbol-placement")!=="point"?"map":"viewport"),this.layout.get("text-pitch-alignment")==="auto"&&(this.layout._values["text-pitch-alignment"]=this.layout.get("text-rotation-alignment")==="map"?"map":"viewport"),this.layout.get("icon-pitch-alignment")==="auto"&&(this.layout._values["icon-pitch-alignment"]=this.layout.get("icon-rotation-alignment")),this.layout.get("symbol-placement")==="point"){const g=this.layout.get("text-writing-mode");if(g){const x=[];for(const T of g)x.indexOf(T)<0&&x.push(T);this.layout._values["text-writing-mode"]=x}else this.layout._values["text-writing-mode"]=["horizontal"]}this._setPaintOverrides()}getValueAndResolveTokens(l,f,g,x){const T=this.layout.get(l).evaluate(f,{},g,x),A=this._unevaluatedLayout._values[l];return A.isDataDriven()||Rc(A.value)||!T?T:function(D,O){return O.replace(/{([^{}]+)}/g,(F,V)=>D&&V in D?String(D[V]):"")}(f.properties,T)}createBucket(l){return new sd(l)}queryRadius(){return 0}queryIntersectsFeature(){throw new Error("Should take a different path in FeatureIndex")}_setPaintOverrides(){for(const l of DS.paint.overridableProperties){if(!J_.hasPaintOverride(this.layout,l))continue;const f=this.paint.get(l),g=new iL(f),x=new Nf(g,f.property.specification);let T=null;T=f.value.kind==="constant"||f.value.kind==="source"?new Pm("source",x):new Am("composite",x,f.value.zoomStops),this.paint._values[l]=new mo(f.property,T,f.parameters)}}_handleOverridablePaintPropertyUpdate(l,f,g){return!(!this.layout||f.isDataDriven()||g.isDataDriven())&&J_.hasPaintOverride(this.layout,l)}static hasPaintOverride(l,f){const g=l.get("text-field"),x=DS.paint.properties[f];let T=!1;const A=D=>{for(const O of D)if(x.overrides&&x.overrides.hasOverride(O))return void(T=!0)};if(g.value.kind==="constant"&&g.value.value instanceof aa)A(g.value.value.sections);else if(g.value.kind==="source"){const D=F=>{T||(F instanceof cl&&Un(F.value)===Ho?A(F.value.sections):F instanceof Af?A(F.sections):F.eachChild(D))},O=g.value;O._styleExpression&&D(O._styleExpression.expression)}return T}}let aL;var JG={get paint(){return aL=aL||new b({"background-color":new $t(ye.paint_background["background-color"]),"background-pattern":new u(ye.paint_background["background-pattern"]),"background-opacity":new $t(ye.paint_background["background-opacity"])})}};class QG extends P{constructor(l){super(l,JG)}}let oL;var eW={get paint(){return oL=oL||new b({"raster-opacity":new $t(ye.paint_raster["raster-opacity"]),"raster-hue-rotate":new $t(ye.paint_raster["raster-hue-rotate"]),"raster-brightness-min":new $t(ye.paint_raster["raster-brightness-min"]),"raster-brightness-max":new $t(ye.paint_raster["raster-brightness-max"]),"raster-saturation":new $t(ye.paint_raster["raster-saturation"]),"raster-contrast":new $t(ye.paint_raster["raster-contrast"]),"raster-resampling":new $t(ye.paint_raster["raster-resampling"]),"raster-fade-duration":new $t(ye.paint_raster["raster-fade-duration"])})}};class tW extends P{constructor(l){super(l,eW)}}class rW extends P{constructor(l){super(l,{}),this.onAdd=f=>{this.implementation.onAdd&&this.implementation.onAdd(f,f.painter.context.gl)},this.onRemove=f=>{this.implementation.onRemove&&this.implementation.onRemove(f,f.painter.context.gl)},this.implementation=l}is3D(){return this.implementation.renderingMode==="3d"}hasOffscreenPass(){return this.implementation.prerender!==void 0}recalculate(){}updateTransitions(){}hasTransition(){return!1}serialize(){throw new Error("Custom layers cannot be serialized")}}class nW{constructor(l){this._methodToThrottle=l,this._triggered=!1,typeof MessageChannel<"u"&&(this._channel=new MessageChannel,this._channel.port2.onmessage=()=>{this._triggered=!1,this._methodToThrottle()})}trigger(){this._triggered||(this._triggered=!0,this._channel?this._channel.port1.postMessage(!0):setTimeout(()=>{this._triggered=!1,this._methodToThrottle()},0))}remove(){delete this._channel,this._methodToThrottle=()=>{}}}const LS=63710088e-1;class yu{constructor(l,f){if(isNaN(l)||isNaN(f))throw new Error(`Invalid LngLat object: (${l}, ${f})`);if(this.lng=+l,this.lat=+f,this.lat>90||this.lat<-90)throw new Error("Invalid LngLat latitude value: must be between -90 and 90")}wrap(){return new yu(j(this.lng,-180,180),this.lat)}toArray(){return[this.lng,this.lat]}toString(){return`LngLat(${this.lng}, ${this.lat})`}distanceTo(l){const f=Math.PI/180,g=this.lat*f,x=l.lat*f,T=Math.sin(g)*Math.sin(x)+Math.cos(g)*Math.cos(x)*Math.cos((l.lng-this.lng)*f);return LS*Math.acos(Math.min(T,1))}static convert(l){if(l instanceof yu)return l;if(Array.isArray(l)&&(l.length===2||l.length===3))return new yu(Number(l[0]),Number(l[1]));if(!Array.isArray(l)&&typeof l=="object"&&l!==null)return new yu(Number("lng"in l?l.lng:l.lon),Number(l.lat));throw new Error("`LngLatLike` argument must be specified as a LngLat instance, an object {lng: , lat: }, an object {lon: , lat: }, or an array of [, ]")}}const sL=2*Math.PI*LS;function lL(h){return sL*Math.cos(h*Math.PI/180)}function uL(h){return(180+h)/360}function cL(h){return(180-180/Math.PI*Math.log(Math.tan(Math.PI/4+h*Math.PI/360)))/360}function hL(h,l){return h/lL(l)}function kS(h){return 360/Math.PI*Math.atan(Math.exp((180-360*h)*Math.PI/180))-90}class Q_{constructor(l,f,g=0){this.x=+l,this.y=+f,this.z=+g}static fromLngLat(l,f=0){const g=yu.convert(l);return new Q_(uL(g.lng),cL(g.lat),hL(f,g.lat))}toLngLat(){return new yu(360*this.x-180,kS(this.y))}toAltitude(){return this.z*lL(kS(this.y))}meterInMercatorCoordinateUnits(){return 1/sL*(l=kS(this.y),1/Math.cos(l*Math.PI/180));var l}}function fL(h,l,f){var g=2*Math.PI*6378137/256/Math.pow(2,f);return[h*g-2*Math.PI*6378137/2,l*g-2*Math.PI*6378137/2]}class RS{constructor(l,f,g){if(l<0||l>25||g<0||g>=Math.pow(2,l)||f<0||f>=Math.pow(2,l))throw new Error(`x=${f}, y=${g}, z=${l} outside of bounds. 0<=x<${Math.pow(2,l)}, 0<=y<${Math.pow(2,l)} 0<=z<=25 `);this.z=l,this.x=f,this.y=g,this.key=mv(0,l,l,f,g)}equals(l){return this.z===l.z&&this.x===l.x&&this.y===l.y}url(l,f,g){const x=(A=this.y,D=this.z,O=fL(256*(T=this.x),256*(A=Math.pow(2,D)-A-1),D),F=fL(256*(T+1),256*(A+1),D),O[0]+","+O[1]+","+F[0]+","+F[1]);var T,A,D,O,F;const V=function(U,X,J){let re,se="";for(let de=U;de>0;de--)re=1<1?"@2x":"").replace(/{quadkey}/g,V).replace(/{bbox-epsg-3857}/g,x)}isChildOf(l){const f=this.z-l.z;return f>0&&l.x===this.x>>f&&l.y===this.y>>f}getTilePoint(l){const f=Math.pow(2,this.z);return new v((l.x*f-this.x)*Gn,(l.y*f-this.y)*Gn)}toString(){return`${this.z}/${this.x}/${this.y}`}}class dL{constructor(l,f){this.wrap=l,this.canonical=f,this.key=mv(l,f.z,f.z,f.x,f.y)}}class Wa{constructor(l,f,g,x,T){if(l= z; overscaledZ = ${l}; z = ${g}`);this.overscaledZ=l,this.wrap=f,this.canonical=new RS(g,+x,+T),this.key=mv(f,l,g,x,T)}clone(){return new Wa(this.overscaledZ,this.wrap,this.canonical.z,this.canonical.x,this.canonical.y)}equals(l){return this.overscaledZ===l.overscaledZ&&this.wrap===l.wrap&&this.canonical.equals(l.canonical)}scaledTo(l){if(l>this.overscaledZ)throw new Error(`targetZ > this.overscaledZ; targetZ = ${l}; overscaledZ = ${this.overscaledZ}`);const f=this.canonical.z-l;return l>this.canonical.z?new Wa(l,this.wrap,this.canonical.z,this.canonical.x,this.canonical.y):new Wa(l,this.wrap,l,this.canonical.x>>f,this.canonical.y>>f)}calculateScaledKey(l,f){if(l>this.overscaledZ)throw new Error(`targetZ > this.overscaledZ; targetZ = ${l}; overscaledZ = ${this.overscaledZ}`);const g=this.canonical.z-l;return l>this.canonical.z?mv(this.wrap*+f,l,this.canonical.z,this.canonical.x,this.canonical.y):mv(this.wrap*+f,l,l,this.canonical.x>>g,this.canonical.y>>g)}isChildOf(l){if(l.wrap!==this.wrap)return!1;const f=this.canonical.z-l.canonical.z;return l.overscaledZ===0||l.overscaledZ>f&&l.canonical.y===this.canonical.y>>f}children(l){if(this.overscaledZ>=l)return[new Wa(this.overscaledZ+1,this.wrap,this.canonical.z,this.canonical.x,this.canonical.y)];const f=this.canonical.z+1,g=2*this.canonical.x,x=2*this.canonical.y;return[new Wa(f,this.wrap,f,g,x),new Wa(f,this.wrap,f,g+1,x),new Wa(f,this.wrap,f,g,x+1),new Wa(f,this.wrap,f,g+1,x+1)]}isLessThan(l){return this.wrapl.wrap)&&(this.overscaledZl.overscaledZ)&&(this.canonical.xl.canonical.x)&&this.canonical.ythis.max&&(this.max=U),U=this.dim+1||f<-1||f>=this.dim+1)throw new RangeError("out of range source coordinates for DEM data");return(f+1)*this.stride+(l+1)}unpack(l,f,g){return l*this.redFactor+f*this.greenFactor+g*this.blueFactor-this.baseShift}getPixels(){return new Ga({width:this.stride,height:this.stride},new Uint8Array(this.data.buffer))}backfillBorder(l,f,g){if(this.dim!==l.dim)throw new Error("dem dimension mismatch");let x=f*this.dim,T=f*this.dim+this.dim,A=g*this.dim,D=g*this.dim+this.dim;switch(f){case-1:x=T-1;break;case 1:T=x+1}switch(g){case-1:A=D-1;break;case 1:D=A+1}const O=-f*this.dim,F=-g*this.dim;for(let V=A;V=this._numberToString.length)throw new Error(`Out of bounds. Index requested n=${l} can't be >= this._numberToString.length ${this._numberToString.length}`);return this._numberToString[l]}}class vL{constructor(l,f,g,x,T){this.type="Feature",this._vectorTileFeature=l,l._z=f,l._x=g,l._y=x,this.properties=l.properties,this.id=T}get geometry(){return this._geometry===void 0&&(this._geometry=this._vectorTileFeature.toGeoJSON(this._vectorTileFeature._x,this._vectorTileFeature._y,this._vectorTileFeature._z).geometry),this._geometry}set geometry(l){this._geometry=l}toJSON(){const l={geometry:this.geometry};for(const f in this)f!=="_geometry"&&f!=="_vectorTileFeature"&&(l[f]=this[f]);return l}}class gL{constructor(l,f){this.tileID=l,this.x=l.canonical.x,this.y=l.canonical.y,this.z=l.canonical.z,this.grid=new su(Gn,16,0),this.grid3D=new su(Gn,16,0),this.featureIndexArray=new Ha,this.promoteId=f}insert(l,f,g,x,T,A){const D=this.featureIndexArray.length;this.featureIndexArray.emplaceBack(g,x,T);const O=A?this.grid3D:this.grid;for(let F=0;F=0&&U[3]>=0&&O.insert(D,U[0],U[1],U[2],U[3])}}loadVTLayers(){return this.vtLayers||(this.vtLayers=new mu.VectorTile(new wS(this.rawTileData)).layers,this.sourceLayerCoder=new mL(this.vtLayers?Object.keys(this.vtLayers).sort():["_geojsonTileLayer"])),this.vtLayers}query(l,f,g,x){this.loadVTLayers();const T=l.params||{},A=Gn/l.tileSize/l.scale,D=Mi(T.filter),O=l.queryGeometry,F=l.queryPadding*A,V=_L(O),U=this.grid.query(V.minX-F,V.minY-F,V.maxX+F,V.maxY+F),X=_L(l.cameraQueryGeometry),J=this.grid3D.query(X.minX-F,X.minY-F,X.maxX+F,X.maxY+F,(de,we,Re,Ce)=>function(De,je,Je,yt,Ht){for(const gt of De)if(je<=gt.x&&Je<=gt.y&&yt>=gt.x&&Ht>=gt.y)return!0;const bt=[new v(je,Je),new v(je,Ht),new v(yt,Ht),new v(yt,Je)];if(De.length>2){for(const gt of bt)if(ed(De,gt))return!0}for(let gt=0;gt(Ce||(Ce=Gc(De)),je.queryIntersectsFeature(O,De,Je,Ce,this.z,l.transform,A,l.pixelPosMatrix)))}return re}loadMatchingFeature(l,f,g,x,T,A,D,O,F,V,U){const X=this.bucketLayerIDs[f];if(A&&!function(de,we){for(let Re=0;Re=0)return!0;return!1}(A,X))return;const J=this.sourceLayerCoder.decode(g),re=this.vtLayers[J].feature(x);if(T.needGeometry){const de=Wc(re,!0);if(!T.filter(new cn(this.tileID.overscaledZ),de,this.tileID.canonical))return}else if(!T.filter(new cn(this.tileID.overscaledZ),re))return;const se=this.getId(re,J);for(let de=0;de{const D=l instanceof qf?l.get(A):null;return D&&D.evaluate?D.evaluate(f,g,x):D})}function _L(h){let l=1/0,f=1/0,g=-1/0,x=-1/0;for(const T of h)l=Math.min(l,T.x),f=Math.min(f,T.y),g=Math.max(g,T.x),x=Math.max(x,T.y);return{minX:l,minY:f,maxX:g,maxY:x}}function iW(h,l){return l-h}function bL(h,l,f,g,x){const T=[];for(let A=0;A=g&&U.x>=g||(V.x>=g?V=new v(g,V.y+(g-V.x)/(U.x-V.x)*(U.y-V.y))._round():U.x>=g&&(U=new v(g,V.y+(g-V.x)/(U.x-V.x)*(U.y-V.y))._round()),V.y>=x&&U.y>=x||(V.y>=x?V=new v(V.x+(x-V.y)/(U.y-V.y)*(U.x-V.x),x)._round():U.y>=x&&(U=new v(V.x+(x-V.y)/(U.y-V.y)*(U.x-V.x),x)._round()),O&&V.equals(O[O.length-1])||(O=[V],T.push(O)),O.push(U)))))}}return T}Lt("FeatureIndex",gL,{omit:["rawTileData","sourceLayerCoder"]});class _u extends v{constructor(l,f,g,x){super(l,f),this.angle=g,x!==void 0&&(this.segment=x)}clone(){return new _u(this.x,this.y,this.angle,this.segment)}}function xL(h,l,f,g,x){if(l.segment===void 0||f===0)return!0;let T=l,A=l.segment+1,D=0;for(;D>-f/2;){if(A--,A<0)return!1;D-=h[A].dist(T),T=h[A]}D+=h[A].dist(h[A+1]),A++;const O=[];let F=0;for(;Dg;)F-=O.shift().angleDelta;if(F>x)return!1;A++,D+=V.dist(U)}return!0}function wL(h){let l=0;for(let f=0;fF){const re=(F-O)/J,se=la.number(U.x,X.x,re),de=la.number(U.y,X.y,re),we=new _u(se,de,X.angleTo(U),V);return we._round(),!A||xL(h,we,D,A,l)?we:void 0}O+=J}}function oW(h,l,f,g,x,T,A,D,O){const F=SL(g,T,A),V=TL(g,x),U=V*A,X=h[0].x===0||h[0].x===O||h[0].y===0||h[0].y===O;return l-U=0&&De=0&&je=0&&X+F<=V){const Je=new _u(De,je,Re,re);Je._round(),g&&!xL(h,Je,T,g,x)||J.push(Je)}}U+=we}return D||J.length||A||(J=CL(h,U/2,f,g,x,T,A,!0,O)),J}Lt("Anchor",_u);const ld=ha;function PL(h,l,f,g){const x=[],T=h.image,A=T.pixelRatio,D=T.paddedRect.w-2*ld,O=T.paddedRect.h-2*ld;let F={x1:h.left,y1:h.top,x2:h.right,y2:h.bottom};const V=T.stretchX||[[0,D]],U=T.stretchY||[[0,O]],X=(Ze,Nt)=>Ze+Nt[1]-Nt[0],J=V.reduce(X,0),re=U.reduce(X,0),se=D-J,de=O-re;let we=0,Re=J,Ce=0,De=re,je=0,Je=se,yt=0,Ht=de;if(T.content&&g){const Ze=T.content,Nt=Ze[2]-Ze[0],zt=Ze[3]-Ze[1];(T.textFitWidth||T.textFitHeight)&&(F=QD(h)),we=e0(V,0,Ze[0]),Ce=e0(U,0,Ze[1]),Re=e0(V,Ze[0],Ze[2]),De=e0(U,Ze[1],Ze[3]),je=Ze[0]-we,yt=Ze[1]-Ce,Je=Nt-Re,Ht=zt-De}const bt=F.x1,gt=F.y1,Bt=F.x2-bt,kt=F.y2-gt,Mt=(Ze,Nt,zt,er)=>{const nn=t0(Ze.stretch-we,Re,Bt,bt),Jr=r0(Ze.fixed-je,Je,Ze.stretch,J),ni=t0(Nt.stretch-Ce,De,kt,gt),vo=r0(Nt.fixed-yt,Ht,Nt.stretch,re),wi=t0(zt.stretch-we,Re,Bt,bt),On=r0(zt.fixed-je,Je,zt.stretch,J),Wi=t0(er.stretch-Ce,De,kt,gt),qi=r0(er.fixed-yt,Ht,er.stretch,re),Zi=new v(nn,ni),zn=new v(wi,ni),ii=new v(wi,Wi),Li=new v(nn,Wi),Si=new v(Jr/A,vo/A),Xi=new v(On/A,qi/A),Ti=l*Math.PI/180;if(Ti){const zr=Math.sin(Ti),hn=Math.cos(Ti),_n=[hn,-zr,zr,hn];Zi._matMult(_n),zn._matMult(_n),Li._matMult(_n),ii._matMult(_n)}const qa=Ze.stretch+Ze.fixed,fa=Nt.stretch+Nt.fixed;return{tl:Zi,tr:zn,bl:Li,br:ii,tex:{x:T.paddedRect.x+ld+qa,y:T.paddedRect.y+ld+fa,w:zt.stretch+zt.fixed-qa,h:er.stretch+er.fixed-fa},writingMode:void 0,glyphOffset:[0,0],sectionIndex:0,pixelOffsetTL:Si,pixelOffsetBR:Xi,minFontScaleX:Je/A/Bt,minFontScaleY:Ht/A/kt,isSDF:f}};if(g&&(T.stretchX||T.stretchY)){const Ze=AL(V,se,J),Nt=AL(U,de,re);for(let zt=0;zt0&&(se=Math.max(10,se),this.circleDiameter=se)}else{const X=!((U=A.image)===null||U===void 0)&&U.content&&(A.image.textFitWidth||A.image.textFitHeight)?QD(A):{x1:A.left,y1:A.top,x2:A.right,y2:A.bottom};X.y1=X.y1*D-O[0],X.y2=X.y2*D+O[2],X.x1=X.x1*D-O[3],X.x2=X.x2*D+O[1];const J=A.collisionPadding;if(J&&(X.x1-=J[0]*D,X.y1-=J[1]*D,X.x2+=J[2]*D,X.y2+=J[3]*D),V){const re=new v(X.x1,X.y1),se=new v(X.x2,X.y1),de=new v(X.x1,X.y2),we=new v(X.x2,X.y2),Re=V*Math.PI/180;re._rotate(Re),se._rotate(Re),de._rotate(Re),we._rotate(Re),X.x1=Math.min(re.x,se.x,de.x,we.x),X.x2=Math.max(re.x,se.x,de.x,we.x),X.y1=Math.min(re.y,se.y,de.y,we.y),X.y2=Math.max(re.y,se.y,de.y,we.y)}l.emplaceBack(f.x,f.y,X.x1,X.y1,X.x2,X.y2,g,x,T)}this.boxEndIndex=l.length}}class sW{constructor(l=[],f=lW){if(this.data=l,this.length=this.data.length,this.compare=f,this.length>0)for(let g=(this.length>>1)-1;g>=0;g--)this._down(g)}push(l){this.data.push(l),this.length++,this._up(this.length-1)}pop(){if(this.length===0)return;const l=this.data[0],f=this.data.pop();return this.length--,this.length>0&&(this.data[0]=f,this._down(0)),l}peek(){return this.data[0]}_up(l){const{data:f,compare:g}=this,x=f[l];for(;l>0;){const T=l-1>>1,A=f[T];if(g(x,A)>=0)break;f[l]=A,l=T}f[l]=x}_down(l){const{data:f,compare:g}=this,x=this.length>>1,T=f[l];for(;l=0)break;f[l]=D,l=A}f[l]=T}}function lW(h,l){return hl?1:0}function uW(h,l=1,f=!1){let g=1/0,x=1/0,T=-1/0,A=-1/0;const D=h[0];for(let J=0;JT)&&(T=re.x),(!J||re.y>A)&&(A=re.y)}const O=Math.min(T-g,A-x);let F=O/2;const V=new sW([],cW);if(O===0)return new v(g,x);for(let J=g;JU.d||!U.d)&&(U=J,f&&console.log("found best %d after %d probes",Math.round(1e4*J.d)/1e4,X)),J.max-U.d<=l||(F=J.h/2,V.push(new ud(J.p.x-F,J.p.y-F,F,h)),V.push(new ud(J.p.x+F,J.p.y-F,F,h)),V.push(new ud(J.p.x-F,J.p.y+F,F,h)),V.push(new ud(J.p.x+F,J.p.y+F,F,h)),X+=4)}return f&&(console.log(`num probes: ${X}`),console.log(`best distance: ${U.d}`)),U.p}function cW(h,l){return l.max-h.max}function ud(h,l,f,g){this.p=new v(h,l),this.h=f,this.d=function(x,T){let A=!1,D=1/0;for(let O=0;Ox.y!=re.y>x.y&&x.x<(re.x-J.x)*(x.y-J.y)/(re.y-J.y)+J.x&&(A=!A),D=Math.min(D,cD(x,J,re))}}return(A?1:-1)*Math.sqrt(D)}(this.p,g),this.max=this.d+this.h*Math.SQRT2}var xi;o.ar=void 0,(xi=o.ar||(o.ar={}))[xi.center=1]="center",xi[xi.left=2]="left",xi[xi.right=3]="right",xi[xi.top=4]="top",xi[xi.bottom=5]="bottom",xi[xi["top-left"]=6]="top-left",xi[xi["top-right"]=7]="top-right",xi[xi["bottom-left"]=8]="bottom-left",xi[xi["bottom-right"]=9]="bottom-right";const bu=7,OS=Number.POSITIVE_INFINITY;function IL(h,l){return l[1]!==OS?function(f,g,x){let T=0,A=0;switch(g=Math.abs(g),x=Math.abs(x),f){case"top-right":case"top-left":case"top":A=x-bu;break;case"bottom-right":case"bottom-left":case"bottom":A=-x+bu}switch(f){case"top-right":case"bottom-right":case"right":T=-g;break;case"top-left":case"bottom-left":case"left":T=g}return[T,A]}(h,l[0],l[1]):function(f,g){let x=0,T=0;g<0&&(g=0);const A=g/Math.SQRT2;switch(f){case"top-right":case"top-left":T=A-bu;break;case"bottom-right":case"bottom-left":T=-A+bu;break;case"bottom":T=-g+bu;break;case"top":T=g-bu}switch(f){case"top-right":case"bottom-right":x=-A;break;case"top-left":case"bottom-left":x=A;break;case"left":x=g;break;case"right":x=-g}return[x,T]}(h,l[0])}function EL(h,l,f){var g;const x=h.layout,T=(g=x.get("text-variable-anchor-offset"))===null||g===void 0?void 0:g.evaluate(l,{},f);if(T){const D=T.values,O=[];for(let F=0;FX*Qn);V.startsWith("top")?U[1]-=bu:V.startsWith("bottom")&&(U[1]+=bu),O[F+1]=U}return new sa(O)}const A=x.get("text-variable-anchor");if(A){let D;D=h._unevaluatedLayout.getValue("text-radial-offset")!==void 0?[x.get("text-radial-offset").evaluate(l,{},f)*Qn,OS]:x.get("text-offset").evaluate(l,{},f).map(F=>F*Qn);const O=[];for(const F of A)O.push(F,IL(F,D));return new sa(O)}return null}function zS(h){switch(h){case"right":case"top-right":case"bottom-right":return"right";case"left":case"top-left":case"bottom-left":return"left"}return"center"}function hW(h,l,f,g,x,T,A,D,O,F,V){let U=T.textMaxSize.evaluate(l,{});U===void 0&&(U=A);const X=h.layers[0].layout,J=X.get("icon-offset").evaluate(l,{},V),re=DL(f.horizontal),se=A/24,de=h.tilePixelRatio*se,we=h.tilePixelRatio*U/24,Re=h.tilePixelRatio*D,Ce=h.tilePixelRatio*X.get("symbol-spacing"),De=X.get("text-padding")*h.tilePixelRatio,je=function(Ze,Nt,zt,er=1){const nn=Ze.get("icon-padding").evaluate(Nt,{},zt),Jr=nn&&nn.values;return[Jr[0]*er,Jr[1]*er,Jr[2]*er,Jr[3]*er]}(X,l,V,h.tilePixelRatio),Je=X.get("text-max-angle")/180*Math.PI,yt=X.get("text-rotation-alignment")!=="viewport"&&X.get("symbol-placement")!=="point",Ht=X.get("icon-rotation-alignment")==="map"&&X.get("symbol-placement")!=="point",bt=X.get("symbol-placement"),gt=Ce/2,Bt=X.get("icon-text-fit");let kt;g&&Bt!=="none"&&(h.allowVerticalPlacement&&f.vertical&&(kt=eL(g,f.vertical,Bt,X.get("icon-text-fit-padding"),J,se)),re&&(g=eL(g,re,Bt,X.get("icon-text-fit-padding"),J,se)));const Mt=(Ze,Nt)=>{Nt.x<0||Nt.x>=Gn||Nt.y<0||Nt.y>=Gn||function(zt,er,nn,Jr,ni,vo,wi,On,Wi,qi,Zi,zn,ii,Li,Si,Xi,Ti,qa,fa,zr,hn,_n,Ca,Dn,cd){const Ms=zt.addToLineVertexArray(er,nn);let Ds,go,Za,si,Tl=0,yv=0,OL=0,zL=0,US=-1,GS=-1;const Cl={};let BL=Jf("");if(zt.allowVerticalPlacement&&Jr.vertical){const ki=On.layout.get("text-rotate").evaluate(hn,{},Dn)+90;Za=new n0(Wi,er,qi,Zi,zn,Jr.vertical,ii,Li,Si,ki),wi&&(si=new n0(Wi,er,qi,Zi,zn,wi,Ti,qa,Si,ki))}if(ni){const ki=On.layout.get("icon-rotate").evaluate(hn,{}),Xa=On.layout.get("icon-text-fit")!=="none",Zc=PL(ni,ki,Ca,Xa),Ko=wi?PL(wi,ki,Ca,Xa):void 0;go=new n0(Wi,er,qi,Zi,zn,ni,Ti,qa,!1,ki),Tl=4*Zc.length;const Xc=zt.iconSizeData;let Ls=null;Xc.kind==="source"?(Ls=[Es*On.layout.get("icon-size").evaluate(hn,{})],Ls[0]>gu&&ce(`${zt.layerIds[0]}: Value for "icon-size" is >= ${pv}. Reduce your "icon-size".`)):Xc.kind==="composite"&&(Ls=[Es*_n.compositeIconSizes[0].evaluate(hn,{},Dn),Es*_n.compositeIconSizes[1].evaluate(hn,{},Dn)],(Ls[0]>gu||Ls[1]>gu)&&ce(`${zt.layerIds[0]}: Value for "icon-size" is >= ${pv}. Reduce your "icon-size".`)),zt.addSymbols(zt.icon,Zc,Ls,zr,fa,hn,o.ai.none,er,Ms.lineStartIndex,Ms.lineLength,-1,Dn),US=zt.icon.placedSymbolArray.length-1,Ko&&(yv=4*Ko.length,zt.addSymbols(zt.icon,Ko,Ls,zr,fa,hn,o.ai.vertical,er,Ms.lineStartIndex,Ms.lineLength,-1,Dn),GS=zt.icon.placedSymbolArray.length-1)}const FL=Object.keys(Jr.horizontal);for(const ki of FL){const Xa=Jr.horizontal[ki];if(!Ds){BL=Jf(Xa.text);const Ko=On.layout.get("text-rotate").evaluate(hn,{},Dn);Ds=new n0(Wi,er,qi,Zi,zn,Xa,ii,Li,Si,Ko)}const Zc=Xa.positionedLines.length===1;if(OL+=ML(zt,er,Xa,vo,On,Si,hn,Xi,Ms,Jr.vertical?o.ai.horizontal:o.ai.horizontalOnly,Zc?FL:[ki],Cl,US,_n,Dn),Zc)break}Jr.vertical&&(zL+=ML(zt,er,Jr.vertical,vo,On,Si,hn,Xi,Ms,o.ai.vertical,["vertical"],Cl,GS,_n,Dn));const pW=Ds?Ds.boxStartIndex:zt.collisionBoxArray.length,mW=Ds?Ds.boxEndIndex:zt.collisionBoxArray.length,vW=Za?Za.boxStartIndex:zt.collisionBoxArray.length,gW=Za?Za.boxEndIndex:zt.collisionBoxArray.length,yW=go?go.boxStartIndex:zt.collisionBoxArray.length,_W=go?go.boxEndIndex:zt.collisionBoxArray.length,bW=si?si.boxStartIndex:zt.collisionBoxArray.length,xW=si?si.boxEndIndex:zt.collisionBoxArray.length;let Xo=-1;const a0=(ki,Xa)=>ki&&ki.circleDiameter?Math.max(ki.circleDiameter,Xa):Xa;Xo=a0(Ds,Xo),Xo=a0(Za,Xo),Xo=a0(go,Xo),Xo=a0(si,Xo);const $L=Xo>-1?1:0;$L&&(Xo*=cd/Qn),zt.glyphOffsetArray.length>=sd.MAX_GLYPHS&&ce("Too many glyphs being rendered in a tile. See https://github.com/mapbox/mapbox-gl-js/issues/2907"),hn.sortKey!==void 0&&zt.addToSortKeyRanges(zt.symbolInstances.length,hn.sortKey);const wW=EL(On,hn,Dn),[SW,TW]=function(ki,Xa){const Zc=ki.length,Ko=Xa==null?void 0:Xa.values;if((Ko==null?void 0:Ko.length)>0)for(let Xc=0;Xc=0?Cl.right:-1,Cl.center>=0?Cl.center:-1,Cl.left>=0?Cl.left:-1,Cl.vertical||-1,US,GS,BL,pW,mW,vW,gW,yW,_W,bW,xW,qi,OL,zL,Tl,yv,$L,0,ii,Xo,SW,TW)}(h,Nt,Ze,f,g,x,kt,h.layers[0],h.collisionBoxArray,l.index,l.sourceLayerIndex,h.index,de,[De,De,De,De],yt,O,Re,je,Ht,J,l,T,F,V,A)};if(bt==="line")for(const Ze of bL(l.geometry,0,0,Gn,Gn)){const Nt=oW(Ze,Ce,Je,f.vertical||re,g,24,we,h.overscaling,Gn);for(const zt of Nt)re&&fW(h,re.text,gt,zt)||Mt(Ze,zt)}else if(bt==="line-center"){for(const Ze of l.geometry)if(Ze.length>1){const Nt=aW(Ze,Je,f.vertical||re,g,24,we);Nt&&Mt(Ze,Nt)}}else if(l.type==="Polygon")for(const Ze of Ef(l.geometry,0)){const Nt=uW(Ze,16);Mt(Ze[0],new _u(Nt.x,Nt.y,0))}else if(l.type==="LineString")for(const Ze of l.geometry)Mt(Ze,new _u(Ze[0].x,Ze[0].y,0));else if(l.type==="Point")for(const Ze of l.geometry)for(const Nt of Ze)Mt([Nt],new _u(Nt.x,Nt.y,0))}function ML(h,l,f,g,x,T,A,D,O,F,V,U,X,J,re){const se=function(Re,Ce,De,je,Je,yt,Ht,bt){const gt=je.layout.get("text-rotate").evaluate(yt,{})*Math.PI/180,Bt=[];for(const kt of Ce.positionedLines)for(const Mt of kt.positionedGlyphs){if(!Mt.rect)continue;const Ze=Mt.rect||{};let Nt=WD+1,zt=!0,er=1,nn=0;const Jr=(Je||bt)&&Mt.vertical,ni=Mt.metrics.advance*Mt.scale/2;if(bt&&Ce.verticalizable&&(nn=kt.lineOffset/2-(Mt.imageName?-(Qn-Mt.metrics.width*Mt.scale)/2:(Mt.scale-1)*Qn)),Mt.imageName){const zr=Ht[Mt.imageName];zt=zr.sdf,er=zr.pixelRatio,Nt=ha/er}const vo=Je?[Mt.x+ni,Mt.y]:[0,0];let wi=Je?[0,0]:[Mt.x+ni+De[0],Mt.y+De[1]-nn],On=[0,0];Jr&&(On=wi,wi=[0,0]);const Wi=Mt.metrics.isDoubleResolution?2:1,qi=(Mt.metrics.left-Nt)*Mt.scale-ni+wi[0],Zi=(-Mt.metrics.top-Nt)*Mt.scale+wi[1],zn=qi+Ze.w/Wi*Mt.scale/er,ii=Zi+Ze.h/Wi*Mt.scale/er,Li=new v(qi,Zi),Si=new v(zn,Zi),Xi=new v(qi,ii),Ti=new v(zn,ii);if(Jr){const zr=new v(-ni,ni-fv),hn=-Math.PI/2,_n=Qn/2-ni,Ca=new v(5-fv-_n,-(Mt.imageName?_n:0)),Dn=new v(...On);Li._rotateAround(hn,zr)._add(Ca)._add(Dn),Si._rotateAround(hn,zr)._add(Ca)._add(Dn),Xi._rotateAround(hn,zr)._add(Ca)._add(Dn),Ti._rotateAround(hn,zr)._add(Ca)._add(Dn)}if(gt){const zr=Math.sin(gt),hn=Math.cos(gt),_n=[hn,-zr,zr,hn];Li._matMult(_n),Si._matMult(_n),Xi._matMult(_n),Ti._matMult(_n)}const qa=new v(0,0),fa=new v(0,0);Bt.push({tl:Li,tr:Si,bl:Xi,br:Ti,tex:Ze,writingMode:Ce.writingMode,glyphOffset:vo,sectionIndex:Mt.sectionIndex,isSDF:zt,pixelOffsetTL:qa,pixelOffsetBR:fa,minFontScaleX:0,minFontScaleY:0})}return Bt}(0,f,D,x,T,A,g,h.allowVerticalPlacement),de=h.textSizeData;let we=null;de.kind==="source"?(we=[Es*x.layout.get("text-size").evaluate(A,{})],we[0]>gu&&ce(`${h.layerIds[0]}: Value for "text-size" is >= ${pv}. Reduce your "text-size".`)):de.kind==="composite"&&(we=[Es*J.compositeTextSizes[0].evaluate(A,{},re),Es*J.compositeTextSizes[1].evaluate(A,{},re)],(we[0]>gu||we[1]>gu)&&ce(`${h.layerIds[0]}: Value for "text-size" is >= ${pv}. Reduce your "text-size".`)),h.addSymbols(h.text,se,we,D,T,A,F,l,O.lineStartIndex,O.lineLength,X,re);for(const Re of V)U[Re]=h.text.placedSymbolArray.length-1;return 4*se.length}function DL(h){for(const l in h)return h[l];return null}function fW(h,l,f,g){const x=h.compareText;if(l in x){const T=x[l];for(let A=T.length-1;A>=0;A--)if(g.dist(T[A])>4;if(x!==1)throw new Error(`Got v${x} data when expected v1.`);const T=LL[15&g];if(!T)throw new Error("Unrecognized array type.");const[A]=new Uint16Array(l,2,1),[D]=new Uint32Array(l,4,1);return new BS(D,A,T,l)}constructor(l,f=64,g=Float64Array,x){if(isNaN(l)||l<0)throw new Error(`Unpexpected numItems value: ${l}.`);this.numItems=+l,this.nodeSize=Math.min(Math.max(+f,2),65535),this.ArrayType=g,this.IndexArrayType=l<65536?Uint16Array:Uint32Array;const T=LL.indexOf(this.ArrayType),A=2*l*this.ArrayType.BYTES_PER_ELEMENT,D=l*this.IndexArrayType.BYTES_PER_ELEMENT,O=(8-D%8)%8;if(T<0)throw new Error(`Unexpected typed array class: ${g}.`);x&&x instanceof ArrayBuffer?(this.data=x,this.ids=new this.IndexArrayType(this.data,8,l),this.coords=new this.ArrayType(this.data,8+D+O,2*l),this._pos=2*l,this._finished=!0):(this.data=new ArrayBuffer(8+A+D+O),this.ids=new this.IndexArrayType(this.data,8,l),this.coords=new this.ArrayType(this.data,8+D+O,2*l),this._pos=0,this._finished=!1,new Uint8Array(this.data,0,2).set([219,16+T]),new Uint16Array(this.data,2,1)[0]=f,new Uint32Array(this.data,4,1)[0]=l)}add(l,f){const g=this._pos>>1;return this.ids[g]=g,this.coords[this._pos++]=l,this.coords[this._pos++]=f,g}finish(){const l=this._pos>>1;if(l!==this.numItems)throw new Error(`Added ${l} items when expected ${this.numItems}.`);return FS(this.ids,this.coords,this.nodeSize,0,this.numItems-1,0),this._finished=!0,this}range(l,f,g,x){if(!this._finished)throw new Error("Data not yet indexed - call index.finish().");const{ids:T,coords:A,nodeSize:D}=this,O=[0,T.length-1,0],F=[];for(;O.length;){const V=O.pop()||0,U=O.pop()||0,X=O.pop()||0;if(U-X<=D){for(let de=X;de<=U;de++){const we=A[2*de],Re=A[2*de+1];we>=l&&we<=g&&Re>=f&&Re<=x&&F.push(T[de])}continue}const J=X+U>>1,re=A[2*J],se=A[2*J+1];re>=l&&re<=g&&se>=f&&se<=x&&F.push(T[J]),(V===0?l<=re:f<=se)&&(O.push(X),O.push(J-1),O.push(1-V)),(V===0?g>=re:x>=se)&&(O.push(J+1),O.push(U),O.push(1-V))}return F}within(l,f,g){if(!this._finished)throw new Error("Data not yet indexed - call index.finish().");const{ids:x,coords:T,nodeSize:A}=this,D=[0,x.length-1,0],O=[],F=g*g;for(;D.length;){const V=D.pop()||0,U=D.pop()||0,X=D.pop()||0;if(U-X<=A){for(let de=X;de<=U;de++)RL(T[2*de],T[2*de+1],l,f)<=F&&O.push(x[de]);continue}const J=X+U>>1,re=T[2*J],se=T[2*J+1];RL(re,se,l,f)<=F&&O.push(x[J]),(V===0?l-g<=re:f-g<=se)&&(D.push(X),D.push(J-1),D.push(1-V)),(V===0?l+g>=re:f+g>=se)&&(D.push(J+1),D.push(U),D.push(1-V))}return O}}function FS(h,l,f,g,x,T){if(x-g<=f)return;const A=g+x>>1;kL(h,l,A,g,x,T),FS(h,l,f,g,A-1,1-T),FS(h,l,f,A+1,x,1-T)}function kL(h,l,f,g,x,T){for(;x>g;){if(x-g>600){const F=x-g+1,V=f-g+1,U=Math.log(F),X=.5*Math.exp(2*U/3),J=.5*Math.sqrt(U*X*(F-X)/F)*(V-F/2<0?-1:1);kL(h,l,f,Math.max(g,Math.floor(f-V*X/F+J)),Math.min(x,Math.floor(f+(F-V)*X/F+J)),T)}const A=l[2*f+T];let D=g,O=x;for(vv(h,l,g,f),l[2*x+T]>A&&vv(h,l,g,x);DA;)O--}l[2*g+T]===A?vv(h,l,g,O):(O++,vv(h,l,O,x)),O<=f&&(g=O+1),f<=O&&(x=O-1)}}function vv(h,l,f,g){$S(h,f,g),$S(l,2*f,2*g),$S(l,2*f+1,2*g+1)}function $S(h,l,f){const g=h[l];h[l]=h[f],h[f]=g}function RL(h,l,f,g){const x=h-f,T=l-g;return x*x+T*T}var NS;o.bf=void 0,(NS=o.bf||(o.bf={})).create="create",NS.load="load",NS.fullLoad="fullLoad";let i0=null,gv=[];const VS=1e3/60,jS="loadTime",HS="fullLoadTime",dW={mark(h){performance.mark(h)},frame(h){const l=h;i0!=null&&gv.push(l-i0),i0=l},clearMetrics(){i0=null,gv=[],performance.clearMeasures(jS),performance.clearMeasures(HS);for(const h in o.bf)performance.clearMarks(o.bf[h])},getPerformanceMetrics(){performance.measure(jS,o.bf.create,o.bf.load),performance.measure(HS,o.bf.create,o.bf.fullLoad);const h=performance.getEntriesByName(jS)[0].duration,l=performance.getEntriesByName(HS)[0].duration,f=gv.length,g=1/(gv.reduce((T,A)=>T+A,0)/f/1e3),x=gv.filter(T=>T>VS).reduce((T,A)=>T+(A-VS)/VS,0);return{loadTime:h,fullLoadTime:l,fps:g,percentDroppedFrames:x/(f+x)*100,totalFrames:f}}};o.$=class extends ae{},o.A=td,o.B=Um,o.C=function(h){if(_e==null){const l=h.navigator?h.navigator.userAgent:null;_e=!!h.safari||!(!l||!(/\b(iPad|iPhone|iPod)\b/.test(l)||l.match("Safari")&&!l.match("Chrome")))}return _e},o.D=$t,o.E=Fe,o.F=class{constructor(h,l){this.target=h,this.mapId=l,this.resolveRejects={},this.tasks={},this.taskQueue=[],this.abortControllers={},this.messageHandlers={},this.invoker=new nW(()=>this.process()),this.subscription=function(f,g,x,T){return f.addEventListener(g,x,!1),{unsubscribe:()=>{f.removeEventListener(g,x,!1)}}}(this.target,"message",f=>this.receive(f)),this.globalScope=ue(self)?h:window}registerMessageHandler(h,l){this.messageHandlers[h]=l}sendAsync(h,l){return new Promise((f,g)=>{const x=Math.round(1e18*Math.random()).toString(36).substring(0,10);this.resolveRejects[x]={resolve:f,reject:g},l&&l.signal.addEventListener("abort",()=>{delete this.resolveRejects[x];const D={id:x,type:"",origin:location.origin,targetMapId:h.targetMapId,sourceMapId:this.mapId};this.target.postMessage(D)},{once:!0});const T=[],A=Object.assign(Object.assign({},h),{id:x,sourceMapId:this.mapId,origin:location.origin,data:Vc(h.data,T)});this.target.postMessage(A,{transfer:T})})}receive(h){const l=h.data,f=l.id;if(!(l.origin!=="file://"&&location.origin!=="file://"&&l.origin!==location.origin||l.targetMapId&&this.mapId!==l.targetMapId)){if(l.type===""){delete this.tasks[f];const g=this.abortControllers[f];return delete this.abortControllers[f],void(g&&g.abort())}if(ue(self)||l.mustQueue)return this.tasks[f]=l,this.taskQueue.push(f),void this.invoker.trigger();this.processTask(f,l)}}process(){if(this.taskQueue.length===0)return;const h=this.taskQueue.shift(),l=this.tasks[h];delete this.tasks[h],this.taskQueue.length>0&&this.invoker.trigger(),l&&this.processTask(h,l)}processTask(h,l){return s(this,void 0,void 0,function*(){if(l.type===""){const x=this.resolveRejects[h];return delete this.resolveRejects[h],x?void(l.error?x.reject(po(l.error)):x.resolve(po(l.data))):void 0}if(!this.messageHandlers[l.type])return void this.completeTask(h,new Error(`Could not find a registered handler for ${l.type}, map ID: ${this.mapId}, available handlers: ${Object.keys(this.messageHandlers).join(", ")}`));const f=po(l.data),g=new AbortController;this.abortControllers[h]=g;try{const x=yield this.messageHandlers[l.type](l.sourceMapId,f,g);this.completeTask(h,null,x)}catch(x){this.completeTask(h,x)}})}completeTask(h,l,f){const g=[];delete this.abortControllers[h];const x={id:h,type:"",sourceMapId:this.mapId,origin:location.origin,error:l?Vc(l):null,data:Vc(f,g)};this.target.postMessage(x,{transfer:g})}remove(){this.invoker.remove(),this.subscription.unsubscribe()}},o.G=ir,o.H=function(){var h=new td(16);return td!=Float32Array&&(h[1]=0,h[2]=0,h[3]=0,h[4]=0,h[6]=0,h[7]=0,h[8]=0,h[9]=0,h[11]=0,h[12]=0,h[13]=0,h[14]=0),h[0]=1,h[5]=1,h[10]=1,h[15]=1,h},o.I=TS,o.J=function(h,l,f){var g,x,T,A,D,O,F,V,U,X,J,re,se=f[0],de=f[1],we=f[2];return l===h?(h[12]=l[0]*se+l[4]*de+l[8]*we+l[12],h[13]=l[1]*se+l[5]*de+l[9]*we+l[13],h[14]=l[2]*se+l[6]*de+l[10]*we+l[14],h[15]=l[3]*se+l[7]*de+l[11]*we+l[15]):(x=l[1],T=l[2],A=l[3],D=l[4],O=l[5],F=l[6],V=l[7],U=l[8],X=l[9],J=l[10],re=l[11],h[0]=g=l[0],h[1]=x,h[2]=T,h[3]=A,h[4]=D,h[5]=O,h[6]=F,h[7]=V,h[8]=U,h[9]=X,h[10]=J,h[11]=re,h[12]=g*se+D*de+U*we+l[12],h[13]=x*se+O*de+X*we+l[13],h[14]=T*se+F*de+J*we+l[14],h[15]=A*se+V*de+re*we+l[15]),h},o.K=function(h,l,f){var g=f[0],x=f[1],T=f[2];return h[0]=l[0]*g,h[1]=l[1]*g,h[2]=l[2]*g,h[3]=l[3]*g,h[4]=l[4]*x,h[5]=l[5]*x,h[6]=l[6]*x,h[7]=l[7]*x,h[8]=l[8]*T,h[9]=l[9]*T,h[10]=l[10]*T,h[11]=l[11]*T,h[12]=l[12],h[13]=l[13],h[14]=l[14],h[15]=l[15],h},o.L=pD,o.M=function(h,l){const f={};for(let g=0;g{const l=window.document.createElement("video");return l.muted=!0,new Promise(f=>{l.onloadstart=()=>{f(l)};for(const g of h){const x=window.document.createElement("source");ft(g)||(l.crossOrigin="Anonymous"),x.src=g,l.appendChild(x)}})},o.a4=function(){return Z++},o.a5=pr,o.a6=sd,o.a7=Mi,o.a8=Wc,o.a9=cn,o.aA=function(h){h=h.slice();const l=Object.create(null);for(let f=0;f{"source"in A&&g[A.source]?f.push({command:"removeLayer",args:[A.id]}):T.push(A)}),f=f.concat(x),function(A,D,O){D=D||[];const F=(A=A||[]).map(ar),V=D.map(ar),U=A.reduce(vr,{}),X=D.reduce(vr,{}),J=F.slice(),re=Object.create(null);let se,de,we,Re,Ce;for(let De=0,je=0;De@\,;\:\\"\/\[\]\?\=\{\}\x7F]+)(?:\=(?:([^\x00-\x20\(\)<>@\,;\:\\"\/\[\]\?\=\{\}\x7F]+)|(?:\"((?:[^"\\]|\\.)*)\")))?/g,(f,g,x,T)=>{const A=x||T;return l[g]=!A||A.toLowerCase(),""}),l["max-age"]){const f=parseInt(l["max-age"],10);isNaN(f)?delete l["max-age"]:l["max-age"]=f}return l},o.ac=function(h,l){const f=[];for(const g in h)g in l||f.push(g);return f},o.ad=G,o.ae=function(h,l,f){var g=Math.sin(f),x=Math.cos(f),T=l[0],A=l[1],D=l[2],O=l[3],F=l[4],V=l[5],U=l[6],X=l[7];return l!==h&&(h[8]=l[8],h[9]=l[9],h[10]=l[10],h[11]=l[11],h[12]=l[12],h[13]=l[13],h[14]=l[14],h[15]=l[15]),h[0]=T*x+F*g,h[1]=A*x+V*g,h[2]=D*x+U*g,h[3]=O*x+X*g,h[4]=F*x-T*g,h[5]=V*x-A*g,h[6]=U*x-D*g,h[7]=X*x-O*g,h},o.af=function(h){var l=new td(16);return l[0]=h[0],l[1]=h[1],l[2]=h[2],l[3]=h[3],l[4]=h[4],l[5]=h[5],l[6]=h[6],l[7]=h[7],l[8]=h[8],l[9]=h[9],l[10]=h[10],l[11]=h[11],l[12]=h[12],l[13]=h[13],l[14]=h[14],l[15]=h[15],l},o.ag=j_,o.ah=function(h,l){let f=0,g=0;if(h.kind==="constant")g=h.layoutSize;else if(h.kind!=="source"){const{interpolationType:x,minZoom:T,maxZoom:A}=h,D=x?G(ua.interpolationFactor(x,l,T,A),0,1):0;h.kind==="camera"?g=la.number(h.minSize,h.maxSize,D):f=D}return{uSizeT:f,uSize:g}},o.aj=function(h,{uSize:l,uSizeT:f},{lowerSize:g,upperSize:x}){return h.kind==="source"?g/Es:h.kind==="composite"?la.number(g/Es,x/Es,f):l},o.ak=IS,o.al=function(h,l,f,g){const x=l.y-h.y,T=l.x-h.x,A=g.y-f.y,D=g.x-f.x,O=A*T-D*x;if(O===0)return null;const F=(D*(h.y-f.y)-A*(h.x-f.x))/O;return new v(h.x+F*T,h.y+F*x)},o.am=bL,o.an=lD,o.ao=lS,o.ap=function(h){let l=1/0,f=1/0,g=-1/0,x=-1/0;for(const T of h)l=Math.min(l,T.x),f=Math.min(f,T.y),g=Math.max(g,T.x),x=Math.max(x,T.y);return[l,f,g,x]},o.aq=Qn,o.as=AS,o.at=function(h,l){var f=l[0],g=l[1],x=l[2],T=l[3],A=l[4],D=l[5],O=l[6],F=l[7],V=l[8],U=l[9],X=l[10],J=l[11],re=l[12],se=l[13],de=l[14],we=l[15],Re=f*D-g*A,Ce=f*O-x*A,De=f*F-T*A,je=g*O-x*D,Je=g*F-T*D,yt=x*F-T*O,Ht=V*se-U*re,bt=V*de-X*re,gt=V*we-J*re,Bt=U*de-X*se,kt=U*we-J*se,Mt=X*we-J*de,Ze=Re*Mt-Ce*kt+De*Bt+je*gt-Je*bt+yt*Ht;return Ze?(h[0]=(D*Mt-O*kt+F*Bt)*(Ze=1/Ze),h[1]=(x*kt-g*Mt-T*Bt)*Ze,h[2]=(se*yt-de*Je+we*je)*Ze,h[3]=(X*Je-U*yt-J*je)*Ze,h[4]=(O*gt-A*Mt-F*bt)*Ze,h[5]=(f*Mt-x*gt+T*bt)*Ze,h[6]=(de*De-re*yt-we*Ce)*Ze,h[7]=(V*yt-X*De+J*Ce)*Ze,h[8]=(A*kt-D*gt+F*Ht)*Ze,h[9]=(g*gt-f*kt-T*Ht)*Ze,h[10]=(re*Je-se*De+we*Re)*Ze,h[11]=(U*De-V*Je-J*Re)*Ze,h[12]=(D*bt-A*Bt-O*Ht)*Ze,h[13]=(f*Bt-g*bt+x*Ht)*Ze,h[14]=(se*Ce-re*je-de*Re)*Ze,h[15]=(V*je-U*Ce+X*Re)*Ze,h):null},o.au=zS,o.av=PS,o.aw=BS,o.ax=function(){const h={},l=ye.$version;for(const f in ye.$root){const g=ye.$root[f];if(g.required){let x=null;x=f==="version"?l:g.type==="array"?[]:{},x!=null&&(h[f]=x)}}return h},o.ay=M_,o.az=st,o.b=He,o.b0=function(h,l){return h[0]=l[0],h[1]=l[1],h[2]=l[2],h[3]=l[3],h[4]=l[4],h[5]=l[5],h[6]=l[6],h[7]=l[7],h[8]=l[8],h[9]=l[9],h[10]=l[10],h[11]=l[11],h[12]=l[12],h[13]=l[13],h[14]=l[14],h[15]=l[15],h},o.b1=function(h,l,f){return h[0]=l[0]*f[0],h[1]=l[1]*f[1],h[2]=l[2]*f[2],h[3]=l[3]*f[3],h},o.b2=function(h,l){return h[0]*l[0]+h[1]*l[1]+h[2]*l[2]+h[3]*l[3]},o.b3=j,o.b4=dL,o.b5=hL,o.b6=function(h,l,f,g,x){var T,A=1/Math.tan(l/2);return h[0]=A/f,h[1]=0,h[2]=0,h[3]=0,h[4]=0,h[5]=A,h[6]=0,h[7]=0,h[8]=0,h[9]=0,h[11]=-1,h[12]=0,h[13]=0,h[15]=0,x!=null&&x!==1/0?(h[10]=(x+g)*(T=1/(g-x)),h[14]=2*x*g*T):(h[10]=-1,h[14]=-2*g),h},o.b7=function(h,l,f){var g=Math.sin(f),x=Math.cos(f),T=l[4],A=l[5],D=l[6],O=l[7],F=l[8],V=l[9],U=l[10],X=l[11];return l!==h&&(h[0]=l[0],h[1]=l[1],h[2]=l[2],h[3]=l[3],h[12]=l[12],h[13]=l[13],h[14]=l[14],h[15]=l[15]),h[4]=T*x+F*g,h[5]=A*x+V*g,h[6]=D*x+U*g,h[7]=O*x+X*g,h[8]=F*x-T*g,h[9]=V*x-A*g,h[10]=U*x-D*g,h[11]=X*x-O*g,h},o.b8=R,o.b9=$,o.bA=function(h){return h.message===Vt},o.bB=gl,o.bC=Ps,o.ba=function(h){return h*Math.PI/180},o.bb=function(h,l){return h[0]=l[0],h[1]=0,h[2]=0,h[3]=0,h[4]=0,h[5]=l[1],h[6]=0,h[7]=0,h[8]=0,h[9]=0,h[10]=l[2],h[11]=0,h[12]=0,h[13]=0,h[14]=0,h[15]=1,h},o.bc=class extends te{},o.bd=LS,o.be=dW,o.bg=Ge,o.bh=function(h,l){ur.REGISTERED_PROTOCOLS[h]=l},o.bi=function(h){delete ur.REGISTERED_PROTOCOLS[h]},o.bj=function(h,l){const f={};for(let x=0;xMt*Qn)}let bt=A?"center":f.get("text-justify").evaluate(F,{},h.canonical);const gt=f.get("symbol-placement")==="point"?f.get("text-max-width").evaluate(F,{},h.canonical)*Qn:1/0,Bt=()=>{h.bucket.allowVerticalPlacement&&qm(De)&&(re.vertical=X_(se,h.glyphMap,h.glyphPositions,h.imagePositions,V,gt,T,yt,"left",Je,we,o.ai.vertical,!0,X,U))};if(!A&&Ht){const kt=new Set;if(bt==="auto")for(let Ze=0;Zes(void 0,void 0,void 0,function*(){if(h.byteLength===0)return createImageBitmap(new ImageData(1,1));const l=new Blob([new Uint8Array(h)],{type:"image/png"});try{return createImageBitmap(l)}catch(f){throw new Error(`Could not load image because of ${f.message}. Please make sure to use a supported image type such as PNG or JPEG. Note that SVGs are not supported.`)}}),o.e=H,o.f=h=>new Promise((l,f)=>{const g=new Image;g.onload=()=>{l(g),URL.revokeObjectURL(g.src),g.onload=null,window.requestAnimationFrame(()=>{g.src=$e})},g.onerror=()=>f(new Error("Could not load image. Please make sure to use a supported image type such as PNG or JPEG. Note that SVGs are not supported."));const x=new Blob([new Uint8Array(h)],{type:"image/png"});g.src=h.byteLength?URL.createObjectURL(x):$e}),o.g=yr,o.h=(h,l)=>tt(H(h,{type:"json"}),l),o.i=ue,o.j=ge,o.k=fe,o.l=(h,l)=>tt(H(h,{type:"arrayBuffer"}),l),o.m=tt,o.n=function(h){return new wS(h).readFields(VG,[])},o.o=av,o.p=qD,o.q=b,o.r=Jw,o.s=ft,o.t=Gm,o.u=wt,o.v=ye,o.w=ce,o.x=qo,o.y=function([h,l,f]){return l+=90,l*=Math.PI/180,f*=Math.PI/180,{x:h*Math.cos(l)*Math.sin(f),y:h*Math.sin(l)*Math.sin(f),z:h*Math.cos(f)}},o.z=la}),i("worker",["./shared"],function(o){class s{constructor(Y){this.keyCache={},Y&&this.replace(Y)}replace(Y){this._layerConfigs={},this._layers={},this.update(Y,[])}update(Y,K){for(const me of Y){this._layerConfigs[me.id]=me;const Ie=this._layers[me.id]=o.aB(me);Ie._featureFilter=o.a7(Ie.filter),this.keyCache[me.id]&&delete this.keyCache[me.id]}for(const me of K)delete this.keyCache[me],delete this._layerConfigs[me],delete this._layers[me];this.familiesBySource={};const oe=o.bj(Object.values(this._layerConfigs),this.keyCache);for(const me of oe){const Ie=me.map(Ve=>this._layers[Ve.id]),Ee=Ie[0];if(Ee.visibility==="none")continue;const Oe=Ee.source||"";let Se=this.familiesBySource[Oe];Se||(Se=this.familiesBySource[Oe]={});const Ue=Ee.sourceLayer||"_geojsonTileLayer";let Ye=Se[Ue];Ye||(Ye=Se[Ue]=[]),Ye.push(Ie)}}}class c{constructor(Y){const K={},oe=[];for(const Oe in Y){const Se=Y[Oe],Ue=K[Oe]={};for(const Ye in Se){const Ve=Se[+Ye];if(!Ve||Ve.bitmap.width===0||Ve.bitmap.height===0)continue;const ht={x:0,y:0,w:Ve.bitmap.width+2,h:Ve.bitmap.height+2};oe.push(ht),Ue[Ye]={rect:ht,metrics:Ve.metrics}}}const{w:me,h:Ie}=o.p(oe),Ee=new o.o({width:me||1,height:Ie||1});for(const Oe in Y){const Se=Y[Oe];for(const Ue in Se){const Ye=Se[+Ue];if(!Ye||Ye.bitmap.width===0||Ye.bitmap.height===0)continue;const Ve=K[Oe][Ue].rect;o.o.copy(Ye.bitmap,Ee,{x:0,y:0},{x:Ve.x+1,y:Ve.y+1},Ye.bitmap)}}this.image=Ee,this.positions=K}}o.bk("GlyphAtlas",c);class d{constructor(Y){this.tileID=new o.S(Y.tileID.overscaledZ,Y.tileID.wrap,Y.tileID.canonical.z,Y.tileID.canonical.x,Y.tileID.canonical.y),this.uid=Y.uid,this.zoom=Y.zoom,this.pixelRatio=Y.pixelRatio,this.tileSize=Y.tileSize,this.source=Y.source,this.overscaling=this.tileID.overscaleFactor(),this.showCollisionBoxes=Y.showCollisionBoxes,this.collectResourceTiming=!!Y.collectResourceTiming,this.returnDependencies=!!Y.returnDependencies,this.promoteId=Y.promoteId,this.inFlightDependencies=[]}parse(Y,K,oe,me){return o._(this,void 0,void 0,function*(){this.status="parsing",this.data=Y,this.collisionBoxArray=new o.a5;const Ie=new o.bl(Object.keys(Y.layers).sort()),Ee=new o.bm(this.tileID,this.promoteId);Ee.bucketLayerIDs=[];const Oe={},Se={featureIndex:Ee,iconDependencies:{},patternDependencies:{},glyphDependencies:{},availableImages:oe},Ue=K.familiesBySource[this.source];for(const Tr in Ue){const Wr=Y.layers[Tr];if(!Wr)continue;Wr.version===1&&o.w(`Vector tile source "${this.source}" layer "${Tr}" does not use vector tile spec v2 and therefore may have some rendering errors.`);const xn=Ie.encode(Tr),Yn=[];for(let di=0;di=pi.maxzoom||pi.visibility!=="none"&&(m(di,this.zoom,oe),(Oe[pi.id]=pi.createBucket({index:Ee.bucketLayerIDs.length,layers:di,zoom:this.zoom,pixelRatio:this.pixelRatio,overscaling:this.overscaling,collisionBoxArray:this.collisionBoxArray,sourceLayerIndex:xn,sourceID:this.source})).populate(Yn,Se,this.tileID.canonical),Ee.bucketLayerIDs.push(di.map(bc=>bc.id)))}}const Ye=o.aG(Se.glyphDependencies,Tr=>Object.keys(Tr).map(Number));this.inFlightDependencies.forEach(Tr=>Tr==null?void 0:Tr.abort()),this.inFlightDependencies=[];let Ve=Promise.resolve({});if(Object.keys(Ye).length){const Tr=new AbortController;this.inFlightDependencies.push(Tr),Ve=me.sendAsync({type:"GG",data:{stacks:Ye,source:this.source,tileID:this.tileID,type:"glyphs"}},Tr)}const ht=Object.keys(Se.iconDependencies);let jt=Promise.resolve({});if(ht.length){const Tr=new AbortController;this.inFlightDependencies.push(Tr),jt=me.sendAsync({type:"GI",data:{icons:ht,source:this.source,tileID:this.tileID,type:"icons"}},Tr)}const qt=Object.keys(Se.patternDependencies);let hr=Promise.resolve({});if(qt.length){const Tr=new AbortController;this.inFlightDependencies.push(Tr),hr=me.sendAsync({type:"GI",data:{icons:qt,source:this.source,tileID:this.tileID,type:"patterns"}},Tr)}const[Rr,cr,ln]=yield Promise.all([Ve,jt,hr]),Mn=new c(Rr),Hn=new o.bn(cr,ln);for(const Tr in Oe){const Wr=Oe[Tr];Wr instanceof o.a6?(m(Wr.layers,this.zoom,oe),o.bo({bucket:Wr,glyphMap:Rr,glyphPositions:Mn.positions,imageMap:cr,imagePositions:Hn.iconPositions,showCollisionBoxes:this.showCollisionBoxes,canonical:this.tileID.canonical})):Wr.hasPattern&&(Wr instanceof o.bp||Wr instanceof o.bq||Wr instanceof o.br)&&(m(Wr.layers,this.zoom,oe),Wr.addFeatures(Se,this.tileID.canonical,Hn.patternPositions))}return this.status="done",{buckets:Object.values(Oe).filter(Tr=>!Tr.isEmpty()),featureIndex:Ee,collisionBoxArray:this.collisionBoxArray,glyphAtlasImage:Mn.image,imageAtlas:Hn,glyphMap:this.returnDependencies?Rr:null,iconMap:this.returnDependencies?cr:null,glyphPositions:this.returnDependencies?Mn.positions:null}})}}function m(be,Y,K){const oe=new o.a9(Y);for(const me of be)me.recalculate(oe,K)}class v{constructor(Y,K,oe){this.actor=Y,this.layerIndex=K,this.availableImages=oe,this.fetching={},this.loading={},this.loaded={}}loadVectorTile(Y,K){return o._(this,void 0,void 0,function*(){const oe=yield o.l(Y.request,K);try{return{vectorTile:new o.bs.VectorTile(new o.bt(oe.data)),rawData:oe.data,cacheControl:oe.cacheControl,expires:oe.expires}}catch(me){const Ie=new Uint8Array(oe.data);let Ee=`Unable to parse the tile at ${Y.request.url}, `;throw Ee+=Ie[0]===31&&Ie[1]===139?"please make sure the data is not gzipped and that you have configured the relevant header in the server":`got error: ${me.message}`,new Error(Ee)}})}loadTile(Y){return o._(this,void 0,void 0,function*(){const K=Y.uid,oe=!!(Y&&Y.request&&Y.request.collectResourceTiming)&&new o.bu(Y.request),me=new d(Y);this.loading[K]=me;const Ie=new AbortController;me.abort=Ie;try{const Ee=yield this.loadVectorTile(Y,Ie);if(delete this.loading[K],!Ee)return null;const Oe=Ee.rawData,Se={};Ee.expires&&(Se.expires=Ee.expires),Ee.cacheControl&&(Se.cacheControl=Ee.cacheControl);const Ue={};if(oe){const Ve=oe.finish();Ve&&(Ue.resourceTiming=JSON.parse(JSON.stringify(Ve)))}me.vectorTile=Ee.vectorTile;const Ye=me.parse(Ee.vectorTile,this.layerIndex,this.availableImages,this.actor);this.loaded[K]=me,this.fetching[K]={rawTileData:Oe,cacheControl:Se,resourceTiming:Ue};try{const Ve=yield Ye;return o.e({rawTileData:Oe.slice(0)},Ve,Se,Ue)}finally{delete this.fetching[K]}}catch(Ee){throw delete this.loading[K],me.status="done",this.loaded[K]=me,Ee}})}reloadTile(Y){return o._(this,void 0,void 0,function*(){const K=Y.uid;if(!this.loaded||!this.loaded[K])throw new Error("Should not be trying to reload a tile that was never loaded or has been removed");const oe=this.loaded[K];if(oe.showCollisionBoxes=Y.showCollisionBoxes,oe.status==="parsing"){const me=yield oe.parse(oe.vectorTile,this.layerIndex,this.availableImages,this.actor);let Ie;if(this.fetching[K]){const{rawTileData:Ee,cacheControl:Oe,resourceTiming:Se}=this.fetching[K];delete this.fetching[K],Ie=o.e({rawTileData:Ee.slice(0)},me,Oe,Se)}else Ie=me;return Ie}if(oe.status==="done"&&oe.vectorTile)return oe.parse(oe.vectorTile,this.layerIndex,this.availableImages,this.actor)})}abortTile(Y){return o._(this,void 0,void 0,function*(){const K=this.loading,oe=Y.uid;K&&K[oe]&&K[oe].abort&&(K[oe].abort.abort(),delete K[oe])})}removeTile(Y){return o._(this,void 0,void 0,function*(){this.loaded&&this.loaded[Y.uid]&&delete this.loaded[Y.uid]})}}class y{constructor(){this.loaded={}}loadTile(Y){return o._(this,void 0,void 0,function*(){const{uid:K,encoding:oe,rawImageData:me,redFactor:Ie,greenFactor:Ee,blueFactor:Oe,baseShift:Se}=Y,Ue=me.width+2,Ye=me.height+2,Ve=o.b(me)?new o.R({width:Ue,height:Ye},yield o.bv(me,-1,-1,Ue,Ye)):me,ht=new o.bw(K,Ve,oe,Ie,Ee,Oe,Se);return this.loaded=this.loaded||{},this.loaded[K]=ht,ht})}removeTile(Y){const K=this.loaded,oe=Y.uid;K&&K[oe]&&delete K[oe]}}function _(be,Y){if(be.length!==0){S(be[0],Y);for(var K=1;K=Math.abs(Oe)?K-Se+Oe:Oe-Se+K,K=Se}K+oe>=0!=!!Y&&be.reverse()}var I=o.bx(function be(Y,K){var oe,me=Y&&Y.type;if(me==="FeatureCollection")for(oe=0;oe>31}function ue(be,Y){for(var K=be.loadGeometry(),oe=be.type,me=0,Ie=0,Ee=K.length,Oe=0;Oebe},lt=Math.fround||(Ct=new Float32Array(1),be=>(Ct[0]=+be,Ct[0]));var Ct;const Ut=3,Vt=5,lr=6;class ur{constructor(Y){this.options=Object.assign(Object.create($e),Y),this.trees=new Array(this.options.maxZoom+1),this.stride=this.options.reduce?7:6,this.clusterProps=[]}load(Y){const{log:K,minZoom:oe,maxZoom:me}=this.options;K&&console.time("total time");const Ie=`prepare ${Y.length} points`;K&&console.time(Ie),this.points=Y;const Ee=[];for(let Se=0;Se=oe;Se--){const Ue=+Date.now();Oe=this.trees[Se]=this._createTree(this._cluster(Oe,Se)),K&&console.log("z%d: %d clusters in %dms",Se,Oe.numItems,+Date.now()-Ue)}return K&&console.timeEnd("total time"),this}getClusters(Y,K){let oe=((Y[0]+180)%360+360)%360-180;const me=Math.max(-90,Math.min(90,Y[1]));let Ie=Y[2]===180?180:((Y[2]+180)%360+360)%360-180;const Ee=Math.max(-90,Math.min(90,Y[3]));if(Y[2]-Y[0]>=360)oe=-180,Ie=180;else if(oe>Ie){const Ve=this.getClusters([oe,me,180,Ee],K),ht=this.getClusters([-180,me,Ie,Ee],K);return Ve.concat(ht)}const Oe=this.trees[this._limitZoom(K)],Se=Oe.range(Ge(oe),st(Ee),Ge(Ie),st(me)),Ue=Oe.data,Ye=[];for(const Ve of Se){const ht=this.stride*Ve;Ye.push(Ue[ht+Vt]>1?yr(Ue,ht,this.clusterProps):this.points[Ue[ht+Ut]])}return Ye}getChildren(Y){const K=this._getOriginId(Y),oe=this._getOriginZoom(Y),me="No cluster with the specified id.",Ie=this.trees[oe];if(!Ie)throw new Error(me);const Ee=Ie.data;if(K*this.stride>=Ee.length)throw new Error(me);const Oe=this.options.radius/(this.options.extent*Math.pow(2,oe-1)),Se=Ie.within(Ee[K*this.stride],Ee[K*this.stride+1],Oe),Ue=[];for(const Ye of Se){const Ve=Ye*this.stride;Ee[Ve+4]===Y&&Ue.push(Ee[Ve+Vt]>1?yr(Ee,Ve,this.clusterProps):this.points[Ee[Ve+Ut]])}if(Ue.length===0)throw new Error(me);return Ue}getLeaves(Y,K,oe){const me=[];return this._appendLeaves(me,Y,K=K||10,oe=oe||0,0),me}getTile(Y,K,oe){const me=this.trees[this._limitZoom(Y)],Ie=Math.pow(2,Y),{extent:Ee,radius:Oe}=this.options,Se=Oe/Ee,Ue=(oe-Se)/Ie,Ye=(oe+1+Se)/Ie,Ve={features:[]};return this._addTileFeatures(me.range((K-Se)/Ie,Ue,(K+1+Se)/Ie,Ye),me.data,K,oe,Ie,Ve),K===0&&this._addTileFeatures(me.range(1-Se/Ie,Ue,1,Ye),me.data,Ie,oe,Ie,Ve),K===Ie-1&&this._addTileFeatures(me.range(0,Ue,Se/Ie,Ye),me.data,-1,oe,Ie,Ve),Ve.features.length?Ve:null}getClusterExpansionZoom(Y){let K=this._getOriginZoom(Y)-1;for(;K<=this.options.maxZoom;){const oe=this.getChildren(Y);if(K++,oe.length!==1)break;Y=oe[0].properties.cluster_id}return K}_appendLeaves(Y,K,oe,me,Ie){const Ee=this.getChildren(K);for(const Oe of Ee){const Se=Oe.properties;if(Se&&Se.cluster?Ie+Se.point_count<=me?Ie+=Se.point_count:Ie=this._appendLeaves(Y,Se.cluster_id,oe,me,Ie):Ie1;let Ye,Ve,ht;if(Ue)Ye=ir(K,Se,this.clusterProps),Ve=K[Se],ht=K[Se+1];else{const hr=this.points[K[Se+Ut]];Ye=hr.properties;const[Rr,cr]=hr.geometry.coordinates;Ve=Ge(Rr),ht=st(cr)}const jt={type:1,geometry:[[Math.round(this.options.extent*(Ve*Ie-oe)),Math.round(this.options.extent*(ht*Ie-me))]],tags:Ye};let qt;qt=Ue||this.options.generateId?K[Se+Ut]:this.points[K[Se+Ut]].id,qt!==void 0&&(jt.id=qt),Ee.features.push(jt)}}_limitZoom(Y){return Math.max(this.options.minZoom,Math.min(Math.floor(+Y),this.options.maxZoom+1))}_cluster(Y,K){const{radius:oe,extent:me,reduce:Ie,minPoints:Ee}=this.options,Oe=oe/(me*Math.pow(2,K)),Se=Y.data,Ue=[],Ye=this.stride;for(let Ve=0;VeK&&(Rr+=Se[ln+Vt])}if(Rr>hr&&Rr>=Ee){let cr,ln=ht*hr,Mn=jt*hr,Hn=-1;const Tr=((Ve/Ye|0)<<5)+(K+1)+this.points.length;for(const Wr of qt){const xn=Wr*Ye;if(Se[xn+2]<=K)continue;Se[xn+2]=K;const Yn=Se[xn+Vt];ln+=Se[xn]*Yn,Mn+=Se[xn+1]*Yn,Se[xn+4]=Tr,Ie&&(cr||(cr=this._map(Se,Ve,!0),Hn=this.clusterProps.length,this.clusterProps.push(cr)),Ie(cr,this._map(Se,xn)))}Se[Ve+4]=Tr,Ue.push(ln/Rr,Mn/Rr,1/0,Tr,-1,Rr),Ie&&Ue.push(Hn)}else{for(let cr=0;cr1)for(const cr of qt){const ln=cr*Ye;if(!(Se[ln+2]<=K)){Se[ln+2]=K;for(let Mn=0;Mn>5}_getOriginZoom(Y){return(Y-this.points.length)%32}_map(Y,K,oe){if(Y[K+Vt]>1){const Ee=this.clusterProps[Y[K+lr]];return oe?Object.assign({},Ee):Ee}const me=this.points[Y[K+Ut]].properties,Ie=this.options.map(me);return oe&&Ie===me?Object.assign({},Ie):Ie}}function yr(be,Y,K){return{type:"Feature",id:be[Y+Ut],properties:ir(be,Y,K),geometry:{type:"Point",coordinates:[(oe=be[Y],360*(oe-.5)),tt(be[Y+1])]}};var oe}function ir(be,Y,K){const oe=be[Y+Vt],me=oe>=1e4?`${Math.round(oe/1e3)}k`:oe>=1e3?Math.round(oe/100)/10+"k":oe,Ie=be[Y+lr],Ee=Ie===-1?{}:Object.assign({},K[Ie]);return Object.assign(Ee,{cluster:!0,cluster_id:be[Y+Ut],point_count:oe,point_count_abbreviated:me})}function Ge(be){return be/360+.5}function st(be){const Y=Math.sin(be*Math.PI/180),K=.5-.25*Math.log((1+Y)/(1-Y))/Math.PI;return K<0?0:K>1?1:K}function tt(be){const Y=(180-360*be)*Math.PI/180;return 360*Math.atan(Math.exp(Y))/Math.PI-90}function ft(be,Y,K,oe){let me=oe;const Ie=Y+(K-Y>>1);let Ee,Oe=K-Y;const Se=be[Y],Ue=be[Y+1],Ye=be[K],Ve=be[K+1];for(let ht=Y+3;htme)Ee=ht,me=jt;else if(jt===me){const qt=Math.abs(ht-Ie);qtoe&&(Ee-Y>3&&ft(be,Y,Ee,oe),be[Ee+2]=me,K-Ee>3&&ft(be,Ee,K,oe))}function dt(be,Y,K,oe,me,Ie){let Ee=me-K,Oe=Ie-oe;if(Ee!==0||Oe!==0){const Se=((be-K)*Ee+(Y-oe)*Oe)/(Ee*Ee+Oe*Oe);Se>1?(K=me,oe=Ie):Se>0&&(K+=Ee*Se,oe+=Oe*Se)}return Ee=be-K,Oe=Y-oe,Ee*Ee+Oe*Oe}function Dt(be,Y,K,oe){const me={id:be??null,type:Y,geometry:K,tags:oe,minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0};if(Y==="Point"||Y==="MultiPoint"||Y==="LineString")fe(me,K);else if(Y==="Polygon")fe(me,K[0]);else if(Y==="MultiLineString")for(const Ie of K)fe(me,Ie);else if(Y==="MultiPolygon")for(const Ie of K)fe(me,Ie[0]);return me}function fe(be,Y){for(let K=0;K0&&(Ee+=oe?(me*Ye-Ue*Ie)/2:Math.sqrt(Math.pow(Ue-me,2)+Math.pow(Ye-Ie,2))),me=Ue,Ie=Ye}const Oe=Y.length-3;Y[2]=1,ft(Y,0,Oe,K),Y[Oe+2]=1,Y.size=Math.abs(Ee),Y.start=0,Y.end=Y.size}function qe(be,Y,K,oe){for(let me=0;me1?1:K}function nt(be,Y,K,oe,me,Ie,Ee,Oe){if(oe/=Y,Ie>=(K/=Y)&&Ee=oe)return null;const Se=[];for(const Ue of be){const Ye=Ue.geometry;let Ve=Ue.type;const ht=me===0?Ue.minX:Ue.minY,jt=me===0?Ue.maxX:Ue.maxY;if(ht>=K&&jt=oe)continue;let qt=[];if(Ve==="Point"||Ve==="MultiPoint")vt(Ye,qt,K,oe,me);else if(Ve==="LineString")at(Ye,qt,K,oe,me,!1,Oe.lineMetrics);else if(Ve==="MultiLineString")Gt(Ye,qt,K,oe,me,!1);else if(Ve==="Polygon")Gt(Ye,qt,K,oe,me,!0);else if(Ve==="MultiPolygon")for(const hr of Ye){const Rr=[];Gt(hr,Rr,K,oe,me,!0),Rr.length&&qt.push(Rr)}if(qt.length){if(Oe.lineMetrics&&Ve==="LineString"){for(const hr of qt)Se.push(Dt(Ue.id,Ve,hr,Ue.tags));continue}Ve!=="LineString"&&Ve!=="MultiLineString"||(qt.length===1?(Ve="LineString",qt=qt[0]):Ve="MultiLineString"),Ve!=="Point"&&Ve!=="MultiPoint"||(Ve=qt.length===3?"Point":"MultiPoint"),Se.push(Dt(Ue.id,Ve,qt,Ue.tags))}}return Se.length?Se:null}function vt(be,Y,K,oe,me){for(let Ie=0;Ie=K&&Ee<=oe&&Ot(Y,be[Ie],be[Ie+1],be[Ie+2])}}function at(be,Y,K,oe,me,Ie,Ee){let Oe=Et(be);const Se=me===0?ar:vr;let Ue,Ye,Ve=be.start;for(let Rr=0;RrK&&(Ye=Se(Oe,cr,ln,Hn,Tr,K),Ee&&(Oe.start=Ve+Ue*Ye)):Wr>oe?xn=K&&(Ye=Se(Oe,cr,ln,Hn,Tr,K),Yn=!0),xn>oe&&Wr<=oe&&(Ye=Se(Oe,cr,ln,Hn,Tr,oe),Yn=!0),!Ie&&Yn&&(Ee&&(Oe.end=Ve+Ue*Ye),Y.push(Oe),Oe=Et(be)),Ee&&(Ve+=Ue)}let ht=be.length-3;const jt=be[ht],qt=be[ht+1],hr=me===0?jt:qt;hr>=K&&hr<=oe&&Ot(Oe,jt,qt,be[ht+2]),ht=Oe.length-3,Ie&&ht>=3&&(Oe[ht]!==Oe[0]||Oe[ht+1]!==Oe[1])&&Ot(Oe,Oe[0],Oe[1],Oe[2]),Oe.length&&Y.push(Oe)}function Et(be){const Y=[];return Y.size=be.size,Y.start=be.start,Y.end=be.end,Y}function Gt(be,Y,K,oe,me,Ie){for(const Ee of be)at(Ee,Y,K,oe,me,Ie,!1)}function Ot(be,Y,K,oe){be.push(Y,K,oe)}function ar(be,Y,K,oe,me,Ie){const Ee=(Ie-Y)/(oe-Y);return Ot(be,Ie,K+(me-K)*Ee,1),Ee}function vr(be,Y,K,oe,me,Ie){const Ee=(Ie-K)/(me-K);return Ot(be,Y+(oe-Y)*Ee,Ie,1),Ee}function Ke(be,Y){const K=[];for(let oe=0;oe0&&Y.size<(me?Ee:oe))return void(K.numPoints+=Y.length/3);const Oe=[];for(let Se=0;SeEe)&&(K.numSimplified++,Oe.push(Y[Se],Y[Se+1])),K.numPoints++;me&&function(Se,Ue){let Ye=0;for(let Ve=0,ht=Se.length,jt=ht-2;Ve0===Ue)for(let Ve=0,ht=Se.length;Ve24)throw new Error("maxZoom should be in the 0-24 range");if(K.promoteId&&K.generateId)throw new Error("promoteId and generateId cannot be used together.");let me=function(Ie,Ee){const Oe=[];if(Ie.type==="FeatureCollection")for(let Se=0;Se1&&console.time("creation"),jt=this.tiles[ht]=Ei(Y,K,oe,me,Ue),this.tileCoords.push({z:K,x:oe,y:me}),Ye)){Ye>1&&(console.log("tile z%d-%d-%d (features: %d, points: %d, simplified: %d)",K,oe,me,jt.numFeatures,jt.numPoints,jt.numSimplified),console.timeEnd("creation"));const Yn=`z${K}`;this.stats[Yn]=(this.stats[Yn]||0)+1,this.total++}if(jt.source=Y,Ie==null){if(K===Ue.indexMaxZoom||jt.numPoints<=Ue.indexMaxPoints)continue}else{if(K===Ue.maxZoom||K===Ie)continue;if(Ie!=null){const Yn=Ie-K;if(oe!==Ee>>Yn||me!==Oe>>Yn)continue}}if(jt.source=null,Y.length===0)continue;Ye>1&&console.time("clipping");const qt=.5*Ue.buffer/Ue.extent,hr=.5-qt,Rr=.5+qt,cr=1+qt;let ln=null,Mn=null,Hn=null,Tr=null,Wr=nt(Y,Ve,oe-qt,oe+Rr,0,jt.minX,jt.maxX,Ue),xn=nt(Y,Ve,oe+hr,oe+cr,0,jt.minX,jt.maxX,Ue);Y=null,Wr&&(ln=nt(Wr,Ve,me-qt,me+Rr,1,jt.minY,jt.maxY,Ue),Mn=nt(Wr,Ve,me+hr,me+cr,1,jt.minY,jt.maxY,Ue),Wr=null),xn&&(Hn=nt(xn,Ve,me-qt,me+Rr,1,jt.minY,jt.maxY,Ue),Tr=nt(xn,Ve,me+hr,me+cr,1,jt.minY,jt.maxY,Ue),xn=null),Ye>1&&console.timeEnd("clipping"),Se.push(ln||[],K+1,2*oe,2*me),Se.push(Mn||[],K+1,2*oe,2*me+1),Se.push(Hn||[],K+1,2*oe+1,2*me),Se.push(Tr||[],K+1,2*oe+1,2*me+1)}}getTile(Y,K,oe){Y=+Y,K=+K,oe=+oe;const me=this.options,{extent:Ie,debug:Ee}=me;if(Y<0||Y>24)return null;const Oe=1<1&&console.log("drilling down to z%d-%d-%d",Y,K,oe);let Ue,Ye=Y,Ve=K,ht=oe;for(;!Ue&&Ye>0;)Ye--,Ve>>=1,ht>>=1,Ue=this.tiles[Rn(Ye,Ve,ht)];return Ue&&Ue.source?(Ee>1&&(console.log("found parent tile z%d-%d-%d",Ye,Ve,ht),console.time("drilling down")),this.splitTile(Ue.source,Ye,Ve,ht,Y,K,oe),Ee>1&&console.timeEnd("drilling down"),this.tiles[Se]?kr(this.tiles[Se],Ie):null):null}}function Rn(be,Y,K){return 32*((1<{Ve.properties=jt;const qt={};for(const hr of ht)qt[hr]=Se[hr].evaluate(Ye,Ve);return qt},Ee.reduce=(jt,qt)=>{Ve.properties=qt;for(const hr of ht)Ye.accumulated=jt[hr],jt[hr]=Ue[hr].evaluate(Ye,Ve)},Ee}(Y)).load((yield this._pendingData).features):(me=yield this._pendingData,new rn(me,Y.geojsonVtOptions)),this.loaded={};const Ie={};if(oe){const Ee=oe.finish();Ee&&(Ie.resourceTiming={},Ie.resourceTiming[Y.source]=JSON.parse(JSON.stringify(Ee)))}return Ie}catch(Ie){if(delete this._pendingRequest,o.bA(Ie))return{abandoned:!0};throw Ie}var me})}getData(){return o._(this,void 0,void 0,function*(){return this._pendingData})}reloadTile(Y){const K=this.loaded;return K&&K[Y.uid]?super.reloadTile(Y):this.loadTile(Y)}loadAndProcessGeoJSON(Y,K){return o._(this,void 0,void 0,function*(){let oe=yield this.loadGeoJSON(Y,K);if(delete this._pendingRequest,typeof oe!="object")throw new Error(`Input data given to '${Y.source}' is not a valid GeoJSON object.`);if(I(oe,!0),Y.filter){const me=o.bB(Y.filter,{type:"boolean","property-type":"data-driven",overridable:!1,transition:!1});if(me.result==="error")throw new Error(me.value.map(Ee=>`${Ee.key}: ${Ee.message}`).join(", "));oe={type:"FeatureCollection",features:oe.features.filter(Ee=>me.value.evaluate({zoom:0},Ee))}}return oe})}loadGeoJSON(Y,K){return o._(this,void 0,void 0,function*(){const{promoteId:oe}=Y;if(Y.request){const me=yield o.h(Y.request,K);return this._dataUpdateable=uo(me.data,oe)?Ho(me.data,oe):void 0,me.data}if(typeof Y.data=="string")try{const me=JSON.parse(Y.data);return this._dataUpdateable=uo(me,oe)?Ho(me,oe):void 0,me}catch{throw new Error(`Input data given to '${Y.source}' is not a valid GeoJSON object.`)}if(!Y.dataDiff)throw new Error(`Input data given to '${Y.source}' is not a valid GeoJSON object.`);if(!this._dataUpdateable)throw new Error(`Cannot update existing geojson data in ${Y.source}`);return function(me,Ie,Ee){var Oe,Se,Ue,Ye;if(Ie.removeAll&&me.clear(),Ie.remove)for(const Ve of Ie.remove)me.delete(Ve);if(Ie.add)for(const Ve of Ie.add){const ht=tr(Ve,Ee);ht!=null&&me.set(ht,Ve)}if(Ie.update)for(const Ve of Ie.update){let ht=me.get(Ve.id);if(ht==null)continue;const jt=!Ve.removeAllProperties&&(((Oe=Ve.removeProperties)===null||Oe===void 0?void 0:Oe.length)>0||((Se=Ve.addOrUpdateProperties)===null||Se===void 0?void 0:Se.length)>0);if((Ve.newGeometry||Ve.removeAllProperties||jt)&&(ht=Object.assign({},ht),me.set(Ve.id,ht),jt&&(ht.properties=Object.assign({},ht.properties))),Ve.newGeometry&&(ht.geometry=Ve.newGeometry),Ve.removeAllProperties)ht.properties={};else if(((Ue=Ve.removeProperties)===null||Ue===void 0?void 0:Ue.length)>0)for(const qt of Ve.removeProperties)Object.prototype.hasOwnProperty.call(ht.properties,qt)&&delete ht.properties[qt];if(((Ye=Ve.addOrUpdateProperties)===null||Ye===void 0?void 0:Ye.length)>0)for(const{key:qt,value:hr}of Ve.addOrUpdateProperties)ht.properties[qt]=hr}}(this._dataUpdateable,Y.dataDiff,oe),{type:"FeatureCollection",features:Array.from(this._dataUpdateable.values())}})}removeSource(Y){return o._(this,void 0,void 0,function*(){this._pendingRequest&&this._pendingRequest.abort()})}getClusterExpansionZoom(Y){return this._geoJSONIndex.getClusterExpansionZoom(Y.clusterId)}getClusterChildren(Y){return this._geoJSONIndex.getChildren(Y.clusterId)}getClusterLeaves(Y){return this._geoJSONIndex.getLeaves(Y.clusterId,Y.limit,Y.offset)}}class co{constructor(Y){this.self=Y,this.actor=new o.F(Y),this.layerIndexes={},this.availableImages={},this.workerSources={},this.demWorkerSources={},this.externalWorkerSourceTypes={},this.self.registerWorkerSource=(K,oe)=>{if(this.externalWorkerSourceTypes[K])throw new Error(`Worker source with name "${K}" already registered.`);this.externalWorkerSourceTypes[K]=oe},this.self.addProtocol=o.bh,this.self.removeProtocol=o.bi,this.self.registerRTLTextPlugin=K=>{if(o.bC.isParsed())throw new Error("RTL text plugin already registered.");o.bC.setMethods(K)},this.actor.registerMessageHandler("LDT",(K,oe)=>this._getDEMWorkerSource(K,oe.source).loadTile(oe)),this.actor.registerMessageHandler("RDT",(K,oe)=>o._(this,void 0,void 0,function*(){this._getDEMWorkerSource(K,oe.source).removeTile(oe)})),this.actor.registerMessageHandler("GCEZ",(K,oe)=>o._(this,void 0,void 0,function*(){return this._getWorkerSource(K,oe.type,oe.source).getClusterExpansionZoom(oe)})),this.actor.registerMessageHandler("GCC",(K,oe)=>o._(this,void 0,void 0,function*(){return this._getWorkerSource(K,oe.type,oe.source).getClusterChildren(oe)})),this.actor.registerMessageHandler("GCL",(K,oe)=>o._(this,void 0,void 0,function*(){return this._getWorkerSource(K,oe.type,oe.source).getClusterLeaves(oe)})),this.actor.registerMessageHandler("LD",(K,oe)=>this._getWorkerSource(K,oe.type,oe.source).loadData(oe)),this.actor.registerMessageHandler("GD",(K,oe)=>this._getWorkerSource(K,oe.type,oe.source).getData()),this.actor.registerMessageHandler("LT",(K,oe)=>this._getWorkerSource(K,oe.type,oe.source).loadTile(oe)),this.actor.registerMessageHandler("RT",(K,oe)=>this._getWorkerSource(K,oe.type,oe.source).reloadTile(oe)),this.actor.registerMessageHandler("AT",(K,oe)=>this._getWorkerSource(K,oe.type,oe.source).abortTile(oe)),this.actor.registerMessageHandler("RMT",(K,oe)=>this._getWorkerSource(K,oe.type,oe.source).removeTile(oe)),this.actor.registerMessageHandler("RS",(K,oe)=>o._(this,void 0,void 0,function*(){if(!this.workerSources[K]||!this.workerSources[K][oe.type]||!this.workerSources[K][oe.type][oe.source])return;const me=this.workerSources[K][oe.type][oe.source];delete this.workerSources[K][oe.type][oe.source],me.removeSource!==void 0&&me.removeSource(oe)})),this.actor.registerMessageHandler("RM",K=>o._(this,void 0,void 0,function*(){delete this.layerIndexes[K],delete this.availableImages[K],delete this.workerSources[K],delete this.demWorkerSources[K]})),this.actor.registerMessageHandler("SR",(K,oe)=>o._(this,void 0,void 0,function*(){this.referrer=oe})),this.actor.registerMessageHandler("SRPS",(K,oe)=>this._syncRTLPluginState(K,oe)),this.actor.registerMessageHandler("IS",(K,oe)=>o._(this,void 0,void 0,function*(){this.self.importScripts(oe)})),this.actor.registerMessageHandler("SI",(K,oe)=>this._setImages(K,oe)),this.actor.registerMessageHandler("UL",(K,oe)=>o._(this,void 0,void 0,function*(){this._getLayerIndex(K).update(oe.layers,oe.removedIds)})),this.actor.registerMessageHandler("SL",(K,oe)=>o._(this,void 0,void 0,function*(){this._getLayerIndex(K).replace(oe)}))}_setImages(Y,K){return o._(this,void 0,void 0,function*(){this.availableImages[Y]=K;for(const oe in this.workerSources[Y]){const me=this.workerSources[Y][oe];for(const Ie in me)me[Ie].availableImages=K}})}_syncRTLPluginState(Y,K){return o._(this,void 0,void 0,function*(){if(o.bC.isParsed())return o.bC.getState();if(K.pluginStatus!=="loading")return o.bC.setState(K),K;const oe=K.pluginURL;if(this.self.importScripts(oe),o.bC.isParsed()){const me={pluginStatus:"loaded",pluginURL:oe};return o.bC.setState(me),me}throw o.bC.setState({pluginStatus:"error",pluginURL:""}),new Error(`RTL Text Plugin failed to import scripts from ${oe}`)})}_getAvailableImages(Y){let K=this.availableImages[Y];return K||(K=[]),K}_getLayerIndex(Y){let K=this.layerIndexes[Y];return K||(K=this.layerIndexes[Y]=new s),K}_getWorkerSource(Y,K,oe){if(this.workerSources[Y]||(this.workerSources[Y]={}),this.workerSources[Y][K]||(this.workerSources[Y][K]={}),!this.workerSources[Y][K][oe]){const me={sendAsync:(Ie,Ee)=>(Ie.targetMapId=Y,this.actor.sendAsync(Ie,Ee))};switch(K){case"vector":this.workerSources[Y][K][oe]=new v(me,this._getLayerIndex(Y),this._getAvailableImages(Y));break;case"geojson":this.workerSources[Y][K][oe]=new bs(me,this._getLayerIndex(Y),this._getAvailableImages(Y));break;default:this.workerSources[Y][K][oe]=new this.externalWorkerSourceTypes[K](me,this._getLayerIndex(Y),this._getAvailableImages(Y))}}return this.workerSources[Y][K][oe]}_getDEMWorkerSource(Y,K){return this.demWorkerSources[Y]||(this.demWorkerSources[Y]={}),this.demWorkerSources[Y][K]||(this.demWorkerSources[Y][K]=new y),this.demWorkerSources[Y][K]}}return o.i(self)&&(self.worker=new co(self)),co}),i("index",["exports","./shared"],function(o,s){var c="4.5.0";let d,m;const v={now:typeof performance<"u"&&performance&&performance.now?performance.now.bind(performance):Date.now.bind(Date),frameAsync:C=>new Promise((u,p)=>{const b=requestAnimationFrame(u);C.signal.addEventListener("abort",()=>{cancelAnimationFrame(b),p(s.c())})}),getImageData(C,u=0){return this.getImageCanvasContext(C).getImageData(-u,-u,C.width+2*u,C.height+2*u)},getImageCanvasContext(C){const u=window.document.createElement("canvas"),p=u.getContext("2d",{willReadFrequently:!0});if(!p)throw new Error("failed to create canvas 2d context");return u.width=C.width,u.height=C.height,p.drawImage(C,0,0,C.width,C.height),p},resolveURL:C=>(d||(d=document.createElement("a")),d.href=C,d.href),hardwareConcurrency:typeof navigator<"u"&&navigator.hardwareConcurrency||4,get prefersReducedMotion(){return!!matchMedia&&(m==null&&(m=matchMedia("(prefers-reduced-motion: reduce)")),m.matches)}};class y{static testProp(u){if(!y.docStyle)return u[0];for(let p=0;p{window.removeEventListener("click",y.suppressClickInternal,!0)},0)}static getScale(u){const p=u.getBoundingClientRect();return{x:p.width/u.offsetWidth||1,y:p.height/u.offsetHeight||1,boundingClientRect:p}}static getPoint(u,p,b){const w=p.boundingClientRect;return new s.P((b.clientX-w.left)/p.x-u.clientLeft,(b.clientY-w.top)/p.y-u.clientTop)}static mousePos(u,p){const b=y.getScale(u);return y.getPoint(u,b,p)}static touchPos(u,p){const b=[],w=y.getScale(u);for(let P=0;P{S&&L(S),S=null,M=!0},I.onerror=()=>{E=!0,S=null},I.src="data:image/webp;base64,UklGRh4AAABXRUJQVlA4TBEAAAAvAQAAAAfQ//73v/+BiOh/AAA="),function(C){let u,p,b,w;C.resetRequestQueue=()=>{u=[],p=0,b=0,w={}},C.addThrottleControl=B=>{const N=b++;return w[N]=B,N},C.removeThrottleControl=B=>{delete w[B],k()},C.getImage=(B,N,q=!0)=>new Promise((W,te)=>{_.supported&&(B.headers||(B.headers={}),B.headers.accept="image/webp,*/*"),s.e(B,{type:"image"}),u.push({abortController:N,requestParameters:B,supportImageRefresh:q,state:"queued",onError:ae=>{te(ae)},onSuccess:ae=>{W(ae)}}),k()});const P=B=>s._(this,void 0,void 0,function*(){B.state="running";const{requestParameters:N,supportImageRefresh:q,onError:W,onSuccess:te,abortController:ae}=B,le=q===!1&&!s.i(self)&&!s.g(N.url)&&(!N.headers||Object.keys(N.headers).reduce((xe,Pe)=>xe&&Pe==="accept",!0));p++;const ve=le?z(N,ae):s.m(N,ae);try{const xe=yield ve;delete B.abortController,B.state="completed",xe.data instanceof HTMLImageElement||s.b(xe.data)?te(xe):xe.data&&te({data:yield(he=xe.data,typeof createImageBitmap=="function"?s.d(he):s.f(he)),cacheControl:xe.cacheControl,expires:xe.expires})}catch(xe){delete B.abortController,W(xe)}finally{p--,k()}var he}),k=()=>{const B=(()=>{for(const N of Object.keys(w))if(w[N]())return!0;return!1})()?s.a.MAX_PARALLEL_IMAGE_REQUESTS_PER_FRAME:s.a.MAX_PARALLEL_IMAGE_REQUESTS;for(let N=p;N0;N++){const q=u.shift();q.abortController.signal.aborted?N--:P(q)}},z=(B,N)=>new Promise((q,W)=>{const te=new Image,ae=B.url,le=B.credentials;le&&le==="include"?te.crossOrigin="use-credentials":(le&&le==="same-origin"||!s.s(ae))&&(te.crossOrigin="anonymous"),N.signal.addEventListener("abort",()=>{te.src="",W(s.c())}),te.fetchPriority="high",te.onload=()=>{te.onerror=te.onload=null,q({data:te})},te.onerror=()=>{te.onerror=te.onload=null,N.signal.aborted||W(new Error("Could not load image. Please make sure to use a supported image type such as PNG or JPEG. Note that SVGs are not supported."))},te.src=ae})}(R||(R={})),R.resetRequestQueue();class ${constructor(u){this._transformRequestFn=u}transformRequest(u,p){return this._transformRequestFn&&this._transformRequestFn(u,p)||{url:u}}setTransformRequest(u){this._transformRequestFn=u}}function G(C){var u=new s.A(3);return u[0]=C[0],u[1]=C[1],u[2]=C[2],u}var j,H=function(C,u,p){return C[0]=u[0]-p[0],C[1]=u[1]-p[1],C[2]=u[2]-p[2],C};j=new s.A(3),s.A!=Float32Array&&(j[0]=0,j[1]=0,j[2]=0);var Z=function(C){var u=C[0],p=C[1];return u*u+p*p};function Q(C){const u=[];if(typeof C=="string")u.push({id:"default",url:C});else if(C&&C.length>0){const p=[];for(const{id:b,url:w}of C){const P=`${b}${w}`;p.indexOf(P)===-1&&(p.push(P),u.push({id:b,url:w}))}}return u}function ee(C,u,p){const b=C.split("?");return b[0]+=`${u}${p}`,b.join("?")}(function(){var C=new s.A(2);s.A!=Float32Array&&(C[0]=0,C[1]=0)})();class ne{constructor(u,p,b,w){this.context=u,this.format=b,this.texture=u.gl.createTexture(),this.update(p,w)}update(u,p,b){const{width:w,height:P}=u,k=!(this.size&&this.size[0]===w&&this.size[1]===P||b),{context:z}=this,{gl:B}=z;if(this.useMipmap=!!(p&&p.useMipmap),B.bindTexture(B.TEXTURE_2D,this.texture),z.pixelStoreUnpackFlipY.set(!1),z.pixelStoreUnpack.set(1),z.pixelStoreUnpackPremultiplyAlpha.set(this.format===B.RGBA&&(!p||p.premultiply!==!1)),k)this.size=[w,P],u instanceof HTMLImageElement||u instanceof HTMLCanvasElement||u instanceof HTMLVideoElement||u instanceof ImageData||s.b(u)?B.texImage2D(B.TEXTURE_2D,0,this.format,this.format,B.UNSIGNED_BYTE,u):B.texImage2D(B.TEXTURE_2D,0,this.format,w,P,0,this.format,B.UNSIGNED_BYTE,u.data);else{const{x:N,y:q}=b||{x:0,y:0};u instanceof HTMLImageElement||u instanceof HTMLCanvasElement||u instanceof HTMLVideoElement||u instanceof ImageData||s.b(u)?B.texSubImage2D(B.TEXTURE_2D,0,N,q,B.RGBA,B.UNSIGNED_BYTE,u):B.texSubImage2D(B.TEXTURE_2D,0,N,q,w,P,B.RGBA,B.UNSIGNED_BYTE,u.data)}this.useMipmap&&this.isSizePowerOfTwo()&&B.generateMipmap(B.TEXTURE_2D)}bind(u,p,b){const{context:w}=this,{gl:P}=w;P.bindTexture(P.TEXTURE_2D,this.texture),b!==P.LINEAR_MIPMAP_NEAREST||this.isSizePowerOfTwo()||(b=P.LINEAR),u!==this.filter&&(P.texParameteri(P.TEXTURE_2D,P.TEXTURE_MAG_FILTER,u),P.texParameteri(P.TEXTURE_2D,P.TEXTURE_MIN_FILTER,b||u),this.filter=u),p!==this.wrap&&(P.texParameteri(P.TEXTURE_2D,P.TEXTURE_WRAP_S,p),P.texParameteri(P.TEXTURE_2D,P.TEXTURE_WRAP_T,p),this.wrap=p)}isSizePowerOfTwo(){return this.size[0]===this.size[1]&&Math.log(this.size[0])/Math.LN2%1==0}destroy(){const{gl:u}=this.context;u.deleteTexture(this.texture),this.texture=null}}function ie(C){const{userImage:u}=C;return!!(u&&u.render&&u.render())&&(C.data.replace(new Uint8Array(u.data.buffer)),!0)}class ce extends s.E{constructor(){super(),this.images={},this.updatedImages={},this.callbackDispatchedThisFrame={},this.loaded=!1,this.requestors=[],this.patterns={},this.atlasImage=new s.R({width:1,height:1}),this.dirty=!0}isLoaded(){return this.loaded}setLoaded(u){if(this.loaded!==u&&(this.loaded=u,u)){for(const{ids:p,promiseResolve:b}of this.requestors)b(this._getImagesForIds(p));this.requestors=[]}}getImage(u){const p=this.images[u];if(p&&!p.data&&p.spriteData){const b=p.spriteData;p.data=new s.R({width:b.width,height:b.height},b.context.getImageData(b.x,b.y,b.width,b.height).data),p.spriteData=null}return p}addImage(u,p){if(this.images[u])throw new Error(`Image id ${u} already exist, use updateImage instead`);this._validate(u,p)&&(this.images[u]=p)}_validate(u,p){let b=!0;const w=p.data||p.spriteData;return this._validateStretch(p.stretchX,w&&w.width)||(this.fire(new s.j(new Error(`Image "${u}" has invalid "stretchX" value`))),b=!1),this._validateStretch(p.stretchY,w&&w.height)||(this.fire(new s.j(new Error(`Image "${u}" has invalid "stretchY" value`))),b=!1),this._validateContent(p.content,p)||(this.fire(new s.j(new Error(`Image "${u}" has invalid "content" value`))),b=!1),b}_validateStretch(u,p){if(!u)return!0;let b=0;for(const w of u){if(w[0]{let w=!0;if(!this.isLoaded())for(const P of u)this.images[P]||(w=!1);this.isLoaded()||w?p(this._getImagesForIds(u)):this.requestors.push({ids:u,promiseResolve:p})})}_getImagesForIds(u){const p={};for(const b of u){let w=this.getImage(b);w||(this.fire(new s.k("styleimagemissing",{id:b})),w=this.getImage(b)),w?p[b]={data:w.data.clone(),pixelRatio:w.pixelRatio,sdf:w.sdf,version:w.version,stretchX:w.stretchX,stretchY:w.stretchY,content:w.content,textFitWidth:w.textFitWidth,textFitHeight:w.textFitHeight,hasRenderCallback:!!(w.userImage&&w.userImage.render)}:s.w(`Image "${b}" could not be loaded. Please make sure you have added the image with map.addImage() or a "sprite" property in your style. You can provide missing images by listening for the "styleimagemissing" map event.`)}return p}getPixelSize(){const{width:u,height:p}=this.atlasImage;return{width:u,height:p}}getPattern(u){const p=this.patterns[u],b=this.getImage(u);if(!b)return null;if(p&&p.position.version===b.version)return p.position;if(p)p.position.version=b.version;else{const w={w:b.data.width+2,h:b.data.height+2,x:0,y:0},P=new s.I(w,b);this.patterns[u]={bin:w,position:P}}return this._updatePatternAtlas(),this.patterns[u].position}bind(u){const p=u.gl;this.atlasTexture?this.dirty&&(this.atlasTexture.update(this.atlasImage),this.dirty=!1):this.atlasTexture=new ne(u,this.atlasImage,p.RGBA),this.atlasTexture.bind(p.LINEAR,p.CLAMP_TO_EDGE)}_updatePatternAtlas(){const u=[];for(const P in this.patterns)u.push(this.patterns[P].bin);const{w:p,h:b}=s.p(u),w=this.atlasImage;w.resize({width:p||1,height:b||1});for(const P in this.patterns){const{bin:k}=this.patterns[P],z=k.x+1,B=k.y+1,N=this.getImage(P).data,q=N.width,W=N.height;s.R.copy(N,w,{x:0,y:0},{x:z,y:B},{width:q,height:W}),s.R.copy(N,w,{x:0,y:W-1},{x:z,y:B-1},{width:q,height:1}),s.R.copy(N,w,{x:0,y:0},{x:z,y:B+W},{width:q,height:1}),s.R.copy(N,w,{x:q-1,y:0},{x:z-1,y:B},{width:1,height:W}),s.R.copy(N,w,{x:0,y:0},{x:z+q,y:B},{width:1,height:W})}this.dirty=!0}beginFrame(){this.callbackDispatchedThisFrame={}}dispatchRenderCallbacks(u){for(const p of u){if(this.callbackDispatchedThisFrame[p])continue;this.callbackDispatchedThisFrame[p]=!0;const b=this.getImage(p);b||s.w(`Image with ID: "${p}" was not found`),ie(b)&&this.updateImage(p,b)}}}const Ae=1e20;function ue(C,u,p,b,w,P,k,z,B){for(let N=u;N-1);B++,P[B]=z,k[B]=N,k[B+1]=Ae}for(let z=0,B=0;z65535)throw new Error("glyphs > 65535 not supported");if(b.ranges[P])return{stack:u,id:p,glyph:w};if(!this.url)throw new Error("glyphsUrl is not set");if(!b.requests[P]){const z=He.loadGlyphRange(u,P,this.url,this.requestManager);b.requests[P]=z}const k=yield b.requests[P];for(const z in k)this._doesCharSupportLocalGlyph(+z)||(b.glyphs[+z]=k[+z]);return b.ranges[P]=!0,{stack:u,id:p,glyph:k[p]||null}})}_doesCharSupportLocalGlyph(u){return!!this.localIdeographFontFamily&&(s.u["CJK Unified Ideographs"](u)||s.u["Hangul Syllables"](u)||s.u.Hiragana(u)||s.u.Katakana(u))}_tinySDF(u,p,b){const w=this.localIdeographFontFamily;if(!w||!this._doesCharSupportLocalGlyph(b))return;let P=u.tinySDF;if(!P){let z="400";/bold/i.test(p)?z="900":/medium/i.test(p)?z="500":/light/i.test(p)&&(z="200"),P=u.tinySDF=new He.TinySDF({fontSize:48,buffer:6,radius:16,cutoff:.25,fontFamily:w,fontWeight:z})}const k=P.draw(String.fromCharCode(b));return{id:b,bitmap:new s.o({width:k.width||60,height:k.height||60},k.data),metrics:{width:k.glyphWidth/2||24,height:k.glyphHeight/2||24,left:k.glyphLeft/2+.5||0,top:k.glyphTop/2-27.5||-8,advance:k.glyphAdvance/2||24,isDoubleResolution:!0}}}}He.loadGlyphRange=function(C,u,p,b){return s._(this,void 0,void 0,function*(){const w=256*u,P=w+255,k=b.transformRequest(p.replace("{fontstack}",C).replace("{range}",`${w}-${P}`),"Glyphs"),z=yield s.l(k,new AbortController);if(!z||!z.data)throw new Error(`Could not load glyph range. range: ${u}, ${w}-${P}`);const B={};for(const N of s.n(z.data))B[N.id]=N;return B})},He.TinySDF=class{constructor({fontSize:C=24,buffer:u=3,radius:p=8,cutoff:b=.25,fontFamily:w="sans-serif",fontWeight:P="normal",fontStyle:k="normal"}={}){this.buffer=u,this.cutoff=b,this.radius=p;const z=this.size=C+4*u,B=this._createCanvas(z),N=this.ctx=B.getContext("2d",{willReadFrequently:!0});N.font=`${k} ${P} ${C}px ${w}`,N.textBaseline="alphabetic",N.textAlign="left",N.fillStyle="black",this.gridOuter=new Float64Array(z*z),this.gridInner=new Float64Array(z*z),this.f=new Float64Array(z),this.z=new Float64Array(z+1),this.v=new Uint16Array(z)}_createCanvas(C){const u=document.createElement("canvas");return u.width=u.height=C,u}draw(C){const{width:u,actualBoundingBoxAscent:p,actualBoundingBoxDescent:b,actualBoundingBoxLeft:w,actualBoundingBoxRight:P}=this.ctx.measureText(C),k=Math.ceil(p),z=Math.max(0,Math.min(this.size-this.buffer,Math.ceil(P-w))),B=Math.min(this.size-this.buffer,k+Math.ceil(b)),N=z+2*this.buffer,q=B+2*this.buffer,W=Math.max(N*q,0),te=new Uint8ClampedArray(W),ae={data:te,width:N,height:q,glyphWidth:z,glyphHeight:B,glyphTop:k,glyphLeft:0,glyphAdvance:u};if(z===0||B===0)return ae;const{ctx:le,buffer:ve,gridInner:he,gridOuter:xe}=this;le.clearRect(ve,ve,z,B),le.fillText(C,ve,ve+k);const Pe=le.getImageData(ve,ve,z,B);xe.fill(Ae,0,W),he.fill(0,0,W);for(let pe=0;pe0?Xe*Xe:0,he[Ne]=Xe<0?Xe*Xe:0}}ue(xe,0,0,N,q,N,this.f,this.v,this.z),ue(he,ve,ve,z,B,N,this.f,this.v,this.z);for(let pe=0;pe1&&(B=u[++z]);const q=Math.abs(N-B.left),W=Math.abs(N-B.right),te=Math.min(q,W);let ae;const le=P/b*(w+1);if(B.isDash){const ve=w-Math.abs(le);ae=Math.sqrt(te*te+ve*ve)}else ae=w-Math.sqrt(te*te+le*le);this.data[k+N]=Math.max(0,Math.min(255,ae+128))}}}addRegularDash(u){for(let z=u.length-1;z>=0;--z){const B=u[z],N=u[z+1];B.zeroLength?u.splice(z,1):N&&N.isDash===B.isDash&&(N.left=B.left,u.splice(z,1))}const p=u[0],b=u[u.length-1];p.isDash===b.isDash&&(p.left=b.left-this.width,b.right=p.right+this.width);const w=this.width*this.nextRow;let P=0,k=u[P];for(let z=0;z1&&(k=u[++P]);const B=Math.abs(z-k.left),N=Math.abs(z-k.right),q=Math.min(B,N);this.data[w+z]=Math.max(0,Math.min(255,(k.isDash?q:-q)+128))}}addDash(u,p){const b=p?7:0,w=2*b+1;if(this.nextRow+w>this.height)return s.w("LineAtlas out of space"),null;let P=0;for(let z=0;z{p.terminate()}),this.workers=null)}isPreloaded(){return!!this.active[ur]}numActive(){return Object.keys(this.active).length}}const ir=Math.floor(v.hardwareConcurrency/2);let Ge,st;function tt(){return Ge||(Ge=new yr),Ge}yr.workerCount=s.C(globalThis)?Math.max(Math.min(ir,3),1):1;class ft{constructor(u,p){this.workerPool=u,this.actors=[],this.currentActor=0,this.id=p;const b=this.workerPool.acquire(p);for(let w=0;w{p.remove()}),this.actors=[],u&&this.workerPool.release(this.id)}registerMessageHandler(u,p){for(const b of this.actors)b.registerMessageHandler(u,p)}}function dt(){return st||(st=new ft(tt(),s.G),st.registerMessageHandler("GR",(C,u,p)=>s.m(u,p))),st}function Dt(C,u){const p=s.H();return s.J(p,p,[1,1,0]),s.K(p,p,[.5*C.width,.5*C.height,1]),s.L(p,p,C.calculatePosMatrix(u.toUnwrapped()))}function fe(C,u,p,b,w,P){const k=function(W,te,ae){if(W)for(const le of W){const ve=te[le];if(ve&&ve.source===ae&&ve.type==="fill-extrusion")return!0}else for(const le in te){const ve=te[le];if(ve.source===ae&&ve.type==="fill-extrusion")return!0}return!1}(w&&w.layers,u,C.id),z=P.maxPitchScaleFactor(),B=C.tilesIn(b,z,k);B.sort(ge);const N=[];for(const W of B)N.push({wrappedTileID:W.tileID.wrapped().key,queryResults:W.tile.queryRenderedFeatures(u,p,C._state,W.queryGeometry,W.cameraQueryGeometry,W.scale,w,P,z,Dt(C.transform,W.tileID))});const q=function(W){const te={},ae={};for(const le of W){const ve=le.queryResults,he=le.wrappedTileID,xe=ae[he]=ae[he]||{};for(const Pe in ve){const pe=ve[Pe],Me=xe[Pe]=xe[Pe]||{},ze=te[Pe]=te[Pe]||[];for(const Ne of pe)Me[Ne.featureIndex]||(Me[Ne.featureIndex]=!0,ze.push(Ne))}}return te}(N);for(const W in q)q[W].forEach(te=>{const ae=te.feature,le=C.getFeatureState(ae.layer["source-layer"],ae.id);ae.source=ae.layer.source,ae.layer["source-layer"]&&(ae.sourceLayer=ae.layer["source-layer"]),ae.state=le});return q}function ge(C,u){const p=C.tileID,b=u.tileID;return p.overscaledZ-b.overscaledZ||p.canonical.y-b.canonical.y||p.wrap-b.wrap||p.canonical.x-b.canonical.x}function Fe(C,u,p){return s._(this,void 0,void 0,function*(){let b=C;if(C.url?b=(yield s.h(u.transformRequest(C.url,"Source"),p)).data:yield v.frameAsync(p),!b)return null;const w=s.M(s.e(b,C),["tiles","minzoom","maxzoom","attribution","bounds","scheme","tileSize","encoding"]);return"vector_layers"in b&&b.vector_layers&&(w.vectorLayerIds=b.vector_layers.map(P=>P.id)),w})}class ye{constructor(u,p){u&&(p?this.setSouthWest(u).setNorthEast(p):Array.isArray(u)&&(u.length===4?this.setSouthWest([u[0],u[1]]).setNorthEast([u[2],u[3]]):this.setSouthWest(u[0]).setNorthEast(u[1])))}setNorthEast(u){return this._ne=u instanceof s.N?new s.N(u.lng,u.lat):s.N.convert(u),this}setSouthWest(u){return this._sw=u instanceof s.N?new s.N(u.lng,u.lat):s.N.convert(u),this}extend(u){const p=this._sw,b=this._ne;let w,P;if(u instanceof s.N)w=u,P=u;else{if(!(u instanceof ye))return Array.isArray(u)?u.length===4||u.every(Array.isArray)?this.extend(ye.convert(u)):this.extend(s.N.convert(u)):u&&("lng"in u||"lon"in u)&&"lat"in u?this.extend(s.N.convert(u)):this;if(w=u._sw,P=u._ne,!w||!P)return this}return p||b?(p.lng=Math.min(w.lng,p.lng),p.lat=Math.min(w.lat,p.lat),b.lng=Math.max(P.lng,b.lng),b.lat=Math.max(P.lat,b.lat)):(this._sw=new s.N(w.lng,w.lat),this._ne=new s.N(P.lng,P.lat)),this}getCenter(){return new s.N((this._sw.lng+this._ne.lng)/2,(this._sw.lat+this._ne.lat)/2)}getSouthWest(){return this._sw}getNorthEast(){return this._ne}getNorthWest(){return new s.N(this.getWest(),this.getNorth())}getSouthEast(){return new s.N(this.getEast(),this.getSouth())}getWest(){return this._sw.lng}getSouth(){return this._sw.lat}getEast(){return this._ne.lng}getNorth(){return this._ne.lat}toArray(){return[this._sw.toArray(),this._ne.toArray()]}toString(){return`LngLatBounds(${this._sw.toString()}, ${this._ne.toString()})`}isEmpty(){return!(this._sw&&this._ne)}contains(u){const{lng:p,lat:b}=s.N.convert(u);let w=this._sw.lng<=p&&p<=this._ne.lng;return this._sw.lng>this._ne.lng&&(w=this._sw.lng>=p&&p>=this._ne.lng),this._sw.lat<=b&&b<=this._ne.lat&&w}static convert(u){return u instanceof ye?u:u&&new ye(u)}static fromLngLat(u,p=0){const b=360*p/40075017,w=b/Math.cos(Math.PI/180*u.lat);return new ye(new s.N(u.lng-w,u.lat-b),new s.N(u.lng+w,u.lat+b))}}class qe{constructor(u,p,b){this.bounds=ye.convert(this.validateBounds(u)),this.minzoom=p||0,this.maxzoom=b||24}validateBounds(u){return Array.isArray(u)&&u.length===4?[Math.max(-180,u[0]),Math.max(-90,u[1]),Math.min(180,u[2]),Math.min(90,u[3])]:[-180,-90,180,90]}contains(u){const p=Math.pow(2,u.z),b=Math.floor(s.O(this.bounds.getWest())*p),w=Math.floor(s.Q(this.bounds.getNorth())*p),P=Math.ceil(s.O(this.bounds.getEast())*p),k=Math.ceil(s.Q(this.bounds.getSouth())*p);return u.x>=b&&u.x=w&&u.y{this._options.tiles=u}),this}setUrl(u){return this.setSourceProperty(()=>{this.url=u,this._options.url=u}),this}onRemove(){this._tileJSONRequest&&(this._tileJSONRequest.abort(),this._tileJSONRequest=null)}serialize(){return s.e({},this._options)}loadTile(u){return s._(this,void 0,void 0,function*(){const p=u.tileID.canonical.url(this.tiles,this.map.getPixelRatio(),this.scheme),b={request:this.map._requestManager.transformRequest(p,"Tile"),uid:u.uid,tileID:u.tileID,zoom:u.tileID.overscaledZ,tileSize:this.tileSize*u.tileID.overscaleFactor(),type:this.type,source:this.id,pixelRatio:this.map.getPixelRatio(),showCollisionBoxes:this.map.showCollisionBoxes,promoteId:this.promoteId};b.request.collectResourceTiming=this._collectResourceTiming;let w="RT";if(u.actor&&u.state!=="expired"){if(u.state==="loading")return new Promise((P,k)=>{u.reloadPromise={resolve:P,reject:k}})}else u.actor=this.dispatcher.getActor(),w="LT";u.abortController=new AbortController;try{const P=yield u.actor.sendAsync({type:w,data:b},u.abortController);if(delete u.abortController,u.aborted)return;this._afterTileLoadWorkerResponse(u,P)}catch(P){if(delete u.abortController,u.aborted)return;if(P&&P.status!==404)throw P;this._afterTileLoadWorkerResponse(u,null)}})}_afterTileLoadWorkerResponse(u,p){if(p&&p.resourceTiming&&(u.resourceTiming=p.resourceTiming),p&&this.map._refreshExpiredTiles&&u.setExpiryData(p),u.loadVectorData(p,this.map.painter),u.reloadPromise){const b=u.reloadPromise;u.reloadPromise=null,this.loadTile(u).then(b.resolve).catch(b.reject)}}abortTile(u){return s._(this,void 0,void 0,function*(){u.abortController&&(u.abortController.abort(),delete u.abortController),u.actor&&(yield u.actor.sendAsync({type:"AT",data:{uid:u.uid,type:this.type,source:this.id}}))})}unloadTile(u){return s._(this,void 0,void 0,function*(){u.unloadVectorData(),u.actor&&(yield u.actor.sendAsync({type:"RMT",data:{uid:u.uid,type:this.type,source:this.id}}))})}hasTransition(){return!1}}class Qe extends s.E{constructor(u,p,b,w){super(),this.id=u,this.dispatcher=b,this.setEventedParent(w),this.type="raster",this.minzoom=0,this.maxzoom=22,this.roundZoom=!0,this.scheme="xyz",this.tileSize=512,this._loaded=!1,this._options=s.e({type:"raster"},p),s.e(this,s.M(p,["url","scheme","tileSize"]))}load(){return s._(this,void 0,void 0,function*(){this._loaded=!1,this.fire(new s.k("dataloading",{dataType:"source"})),this._tileJSONRequest=new AbortController;try{const u=yield Fe(this._options,this.map._requestManager,this._tileJSONRequest);this._tileJSONRequest=null,this._loaded=!0,u&&(s.e(this,u),u.bounds&&(this.tileBounds=new qe(u.bounds,this.minzoom,this.maxzoom)),this.fire(new s.k("data",{dataType:"source",sourceDataType:"metadata"})),this.fire(new s.k("data",{dataType:"source",sourceDataType:"content"})))}catch(u){this._tileJSONRequest=null,this.fire(new s.j(u))}})}loaded(){return this._loaded}onAdd(u){this.map=u,this.load()}onRemove(){this._tileJSONRequest&&(this._tileJSONRequest.abort(),this._tileJSONRequest=null)}setSourceProperty(u){this._tileJSONRequest&&(this._tileJSONRequest.abort(),this._tileJSONRequest=null),u(),this.load()}setTiles(u){return this.setSourceProperty(()=>{this._options.tiles=u}),this}setUrl(u){return this.setSourceProperty(()=>{this.url=u,this._options.url=u}),this}serialize(){return s.e({},this._options)}hasTile(u){return!this.tileBounds||this.tileBounds.contains(u.canonical)}loadTile(u){return s._(this,void 0,void 0,function*(){const p=u.tileID.canonical.url(this.tiles,this.map.getPixelRatio(),this.scheme);u.abortController=new AbortController;try{const b=yield R.getImage(this.map._requestManager.transformRequest(p,"Tile"),u.abortController,this.map._refreshExpiredTiles);if(delete u.abortController,u.aborted)return void(u.state="unloaded");if(b&&b.data){this.map._refreshExpiredTiles&&b.cacheControl&&b.expires&&u.setExpiryData({cacheControl:b.cacheControl,expires:b.expires});const w=this.map.painter.context,P=w.gl,k=b.data;u.texture=this.map.painter.getTileTexture(k.width),u.texture?u.texture.update(k,{useMipmap:!0}):(u.texture=new ne(w,k,P.RGBA,{useMipmap:!0}),u.texture.bind(P.LINEAR,P.CLAMP_TO_EDGE,P.LINEAR_MIPMAP_NEAREST),w.extTextureFilterAnisotropic&&P.texParameterf(P.TEXTURE_2D,w.extTextureFilterAnisotropic.TEXTURE_MAX_ANISOTROPY_EXT,w.extTextureFilterAnisotropicMax)),u.state="loaded"}}catch(b){if(delete u.abortController,u.aborted)u.state="unloaded";else if(b)throw u.state="errored",b}})}abortTile(u){return s._(this,void 0,void 0,function*(){u.abortController&&(u.abortController.abort(),delete u.abortController)})}unloadTile(u){return s._(this,void 0,void 0,function*(){u.texture&&this.map.painter.saveTileTexture(u.texture)})}hasTransition(){return!1}}class nt extends Qe{constructor(u,p,b,w){super(u,p,b,w),this.type="raster-dem",this.maxzoom=22,this._options=s.e({type:"raster-dem"},p),this.encoding=p.encoding||"mapbox",this.redFactor=p.redFactor,this.greenFactor=p.greenFactor,this.blueFactor=p.blueFactor,this.baseShift=p.baseShift}loadTile(u){return s._(this,void 0,void 0,function*(){const p=u.tileID.canonical.url(this.tiles,this.map.getPixelRatio(),this.scheme),b=this.map._requestManager.transformRequest(p,"Tile");u.neighboringTiles=this._getNeighboringTiles(u.tileID),u.abortController=new AbortController;try{const w=yield R.getImage(b,u.abortController,this.map._refreshExpiredTiles);if(delete u.abortController,u.aborted)return void(u.state="unloaded");if(w&&w.data){const P=w.data;this.map._refreshExpiredTiles&&w.cacheControl&&w.expires&&u.setExpiryData({cacheControl:w.cacheControl,expires:w.expires});const k=s.b(P)&&s.U()?P:yield this.readImageNow(P),z={type:this.type,uid:u.uid,source:this.id,rawImageData:k,encoding:this.encoding,redFactor:this.redFactor,greenFactor:this.greenFactor,blueFactor:this.blueFactor,baseShift:this.baseShift};if(!u.actor||u.state==="expired"){u.actor=this.dispatcher.getActor();const B=yield u.actor.sendAsync({type:"LDT",data:z});u.dem=B,u.needsHillshadePrepare=!0,u.needsTerrainPrepare=!0,u.state="loaded"}}}catch(w){if(delete u.abortController,u.aborted)u.state="unloaded";else if(w)throw u.state="errored",w}})}readImageNow(u){return s._(this,void 0,void 0,function*(){if(typeof VideoFrame<"u"&&s.V()){const p=u.width+2,b=u.height+2;try{return new s.R({width:p,height:b},yield s.W(u,-1,-1,p,b))}catch{}}return v.getImageData(u,1)})}_getNeighboringTiles(u){const p=u.canonical,b=Math.pow(2,p.z),w=(p.x-1+b)%b,P=p.x===0?u.wrap-1:u.wrap,k=(p.x+1+b)%b,z=p.x+1===b?u.wrap+1:u.wrap,B={};return B[new s.S(u.overscaledZ,P,p.z,w,p.y).key]={backfilled:!1},B[new s.S(u.overscaledZ,z,p.z,k,p.y).key]={backfilled:!1},p.y>0&&(B[new s.S(u.overscaledZ,P,p.z,w,p.y-1).key]={backfilled:!1},B[new s.S(u.overscaledZ,u.wrap,p.z,p.x,p.y-1).key]={backfilled:!1},B[new s.S(u.overscaledZ,z,p.z,k,p.y-1).key]={backfilled:!1}),p.y+10&&s.e(P,{resourceTiming:w}),this.fire(new s.k("data",Object.assign(Object.assign({},P),{sourceDataType:"metadata"}))),this.fire(new s.k("data",Object.assign(Object.assign({},P),{sourceDataType:"content"})))}catch(b){if(this._pendingLoads--,this._removed)return void this.fire(new s.k("dataabort",{dataType:"source"}));this.fire(new s.j(b))}})}loaded(){return this._pendingLoads===0}loadTile(u){return s._(this,void 0,void 0,function*(){const p=u.actor?"RT":"LT";u.actor=this.actor;const b={type:this.type,uid:u.uid,tileID:u.tileID,zoom:u.tileID.overscaledZ,maxZoom:this.maxzoom,tileSize:this.tileSize,source:this.id,pixelRatio:this.map.getPixelRatio(),showCollisionBoxes:this.map.showCollisionBoxes,promoteId:this.promoteId};u.abortController=new AbortController;const w=yield this.actor.sendAsync({type:p,data:b},u.abortController);delete u.abortController,u.unloadVectorData(),u.aborted||u.loadVectorData(w,this.map.painter,p==="RT")})}abortTile(u){return s._(this,void 0,void 0,function*(){u.abortController&&(u.abortController.abort(),delete u.abortController),u.aborted=!0})}unloadTile(u){return s._(this,void 0,void 0,function*(){u.unloadVectorData(),yield this.actor.sendAsync({type:"RMT",data:{uid:u.uid,type:this.type,source:this.id}})})}onRemove(){this._removed=!0,this.actor.sendAsync({type:"RS",data:{type:this.type,source:this.id}})}serialize(){return s.e({},this._options,{type:this.type,data:this._data})}hasTransition(){return!1}}var at=s.Y([{name:"a_pos",type:"Int16",components:2},{name:"a_texture_pos",type:"Int16",components:2}]);class Et extends s.E{constructor(u,p,b,w){super(),this.id=u,this.dispatcher=b,this.coordinates=p.coordinates,this.type="image",this.minzoom=0,this.maxzoom=22,this.tileSize=512,this.tiles={},this._loaded=!1,this.setEventedParent(w),this.options=p}load(u){return s._(this,void 0,void 0,function*(){this._loaded=!1,this.fire(new s.k("dataloading",{dataType:"source"})),this.url=this.options.url,this._request=new AbortController;try{const p=yield R.getImage(this.map._requestManager.transformRequest(this.url,"Image"),this._request);this._request=null,this._loaded=!0,p&&p.data&&(this.image=p.data,u&&(this.coordinates=u),this._finishLoading())}catch(p){this._request=null,this._loaded=!0,this.fire(new s.j(p))}})}loaded(){return this._loaded}updateImage(u){return u.url?(this._request&&(this._request.abort(),this._request=null),this.options.url=u.url,this.load(u.coordinates).finally(()=>{this.texture=null}),this):this}_finishLoading(){this.map&&(this.setCoordinates(this.coordinates),this.fire(new s.k("data",{dataType:"source",sourceDataType:"metadata"})))}onAdd(u){this.map=u,this.load()}onRemove(){this._request&&(this._request.abort(),this._request=null)}setCoordinates(u){this.coordinates=u;const p=u.map(s.Z.fromLngLat);this.tileID=function(w){let P=1/0,k=1/0,z=-1/0,B=-1/0;for(const te of w)P=Math.min(P,te.x),k=Math.min(k,te.y),z=Math.max(z,te.x),B=Math.max(B,te.y);const N=Math.max(z-P,B-k),q=Math.max(0,Math.floor(-Math.log(N)/Math.LN2)),W=Math.pow(2,q);return new s.a1(q,Math.floor((P+z)/2*W),Math.floor((k+B)/2*W))}(p),this.minzoom=this.maxzoom=this.tileID.z;const b=p.map(w=>this.tileID.getTilePoint(w)._round());return this._boundsArray=new s.$,this._boundsArray.emplaceBack(b[0].x,b[0].y,0,0),this._boundsArray.emplaceBack(b[1].x,b[1].y,s.X,0),this._boundsArray.emplaceBack(b[3].x,b[3].y,0,s.X),this._boundsArray.emplaceBack(b[2].x,b[2].y,s.X,s.X),this.boundsBuffer&&(this.boundsBuffer.destroy(),delete this.boundsBuffer),this.fire(new s.k("data",{dataType:"source",sourceDataType:"content"})),this}prepare(){if(Object.keys(this.tiles).length===0||!this.image)return;const u=this.map.painter.context,p=u.gl;this.boundsBuffer||(this.boundsBuffer=u.createVertexBuffer(this._boundsArray,at.members)),this.boundsSegments||(this.boundsSegments=s.a0.simpleSegment(0,0,4,2)),this.texture||(this.texture=new ne(u,this.image,p.RGBA),this.texture.bind(p.LINEAR,p.CLAMP_TO_EDGE));let b=!1;for(const w in this.tiles){const P=this.tiles[w];P.state!=="loaded"&&(P.state="loaded",P.texture=this.texture,b=!0)}b&&this.fire(new s.k("data",{dataType:"source",sourceDataType:"idle",sourceId:this.id}))}loadTile(u){return s._(this,void 0,void 0,function*(){this.tileID&&this.tileID.equals(u.tileID.canonical)?(this.tiles[String(u.tileID.wrap)]=u,u.buckets={}):u.state="errored"})}serialize(){return{type:"image",url:this.options.url,coordinates:this.coordinates}}hasTransition(){return!1}}class Gt extends Et{constructor(u,p,b,w){super(u,p,b,w),this.roundZoom=!0,this.type="video",this.options=p}load(){return s._(this,void 0,void 0,function*(){this._loaded=!1;const u=this.options;this.urls=[];for(const p of u.urls)this.urls.push(this.map._requestManager.transformRequest(p,"Source").url);try{const p=yield s.a3(this.urls);if(this._loaded=!0,!p)return;this.video=p,this.video.loop=!0,this.video.addEventListener("playing",()=>{this.map.triggerRepaint()}),this.map&&this.video.play(),this._finishLoading()}catch(p){this.fire(new s.j(p))}})}pause(){this.video&&this.video.pause()}play(){this.video&&this.video.play()}seek(u){if(this.video){const p=this.video.seekable;up.end(0)?this.fire(new s.j(new s.a2(`sources.${this.id}`,null,`Playback for this video can be set only between the ${p.start(0)} and ${p.end(0)}-second mark.`))):this.video.currentTime=u}}getVideo(){return this.video}onAdd(u){this.map||(this.map=u,this.load(),this.video&&(this.video.play(),this.setCoordinates(this.coordinates)))}prepare(){if(Object.keys(this.tiles).length===0||this.video.readyState<2)return;const u=this.map.painter.context,p=u.gl;this.boundsBuffer||(this.boundsBuffer=u.createVertexBuffer(this._boundsArray,at.members)),this.boundsSegments||(this.boundsSegments=s.a0.simpleSegment(0,0,4,2)),this.texture?this.video.paused||(this.texture.bind(p.LINEAR,p.CLAMP_TO_EDGE),p.texSubImage2D(p.TEXTURE_2D,0,0,0,p.RGBA,p.UNSIGNED_BYTE,this.video)):(this.texture=new ne(u,this.video,p.RGBA),this.texture.bind(p.LINEAR,p.CLAMP_TO_EDGE));let b=!1;for(const w in this.tiles){const P=this.tiles[w];P.state!=="loaded"&&(P.state="loaded",P.texture=this.texture,b=!0)}b&&this.fire(new s.k("data",{dataType:"source",sourceDataType:"idle",sourceId:this.id}))}serialize(){return{type:"video",urls:this.urls,coordinates:this.coordinates}}hasTransition(){return this.video&&!this.video.paused}}class Ot extends Et{constructor(u,p,b,w){super(u,p,b,w),p.coordinates?Array.isArray(p.coordinates)&&p.coordinates.length===4&&!p.coordinates.some(P=>!Array.isArray(P)||P.length!==2||P.some(k=>typeof k!="number"))||this.fire(new s.j(new s.a2(`sources.${u}`,null,'"coordinates" property must be an array of 4 longitude/latitude array pairs'))):this.fire(new s.j(new s.a2(`sources.${u}`,null,'missing required property "coordinates"'))),p.animate&&typeof p.animate!="boolean"&&this.fire(new s.j(new s.a2(`sources.${u}`,null,'optional "animate" property must be a boolean value'))),p.canvas?typeof p.canvas=="string"||p.canvas instanceof HTMLCanvasElement||this.fire(new s.j(new s.a2(`sources.${u}`,null,'"canvas" must be either a string representing the ID of the canvas element from which to read, or an HTMLCanvasElement instance'))):this.fire(new s.j(new s.a2(`sources.${u}`,null,'missing required property "canvas"'))),this.options=p,this.animate=p.animate===void 0||p.animate}load(){return s._(this,void 0,void 0,function*(){this._loaded=!0,this.canvas||(this.canvas=this.options.canvas instanceof HTMLCanvasElement?this.options.canvas:document.getElementById(this.options.canvas)),this.width=this.canvas.width,this.height=this.canvas.height,this._hasInvalidDimensions()?this.fire(new s.j(new Error("Canvas dimensions cannot be less than or equal to zero."))):(this.play=function(){this._playing=!0,this.map.triggerRepaint()},this.pause=function(){this._playing&&(this.prepare(),this._playing=!1)},this._finishLoading())})}getCanvas(){return this.canvas}onAdd(u){this.map=u,this.load(),this.canvas&&this.animate&&this.play()}onRemove(){this.pause()}prepare(){let u=!1;if(this.canvas.width!==this.width&&(this.width=this.canvas.width,u=!0),this.canvas.height!==this.height&&(this.height=this.canvas.height,u=!0),this._hasInvalidDimensions()||Object.keys(this.tiles).length===0)return;const p=this.map.painter.context,b=p.gl;this.boundsBuffer||(this.boundsBuffer=p.createVertexBuffer(this._boundsArray,at.members)),this.boundsSegments||(this.boundsSegments=s.a0.simpleSegment(0,0,4,2)),this.texture?(u||this._playing)&&this.texture.update(this.canvas,{premultiply:!0}):this.texture=new ne(p,this.canvas,b.RGBA,{premultiply:!0});let w=!1;for(const P in this.tiles){const k=this.tiles[P];k.state!=="loaded"&&(k.state="loaded",k.texture=this.texture,w=!0)}w&&this.fire(new s.k("data",{dataType:"source",sourceDataType:"idle",sourceId:this.id}))}serialize(){return{type:"canvas",coordinates:this.coordinates}}hasTransition(){return this._playing}_hasInvalidDimensions(){for(const u of[this.canvas.width,this.canvas.height])if(isNaN(u)||u<=0)return!0;return!1}}const ar={},vr=C=>{switch(C){case"geojson":return vt;case"image":return Et;case"raster":return Qe;case"raster-dem":return nt;case"vector":return rt;case"video":return Gt;case"canvas":return Ot}return ar[C]},Ke="RTLPluginLoaded";class Sr extends s.E{constructor(){super(...arguments),this.status="unavailable",this.url=null,this.dispatcher=dt()}_syncState(u){return this.status=u,this.dispatcher.broadcast("SRPS",{pluginStatus:u,pluginURL:this.url}).catch(p=>{throw this.status="error",p})}getRTLTextPluginStatus(){return this.status}clearRTLTextPlugin(){this.status="unavailable",this.url=null}setRTLTextPlugin(u){return s._(this,arguments,void 0,function*(p,b=!1){if(this.url)throw new Error("setRTLTextPlugin cannot be called multiple times.");if(this.url=v.resolveURL(p),!this.url)throw new Error(`requested url ${p} is invalid`);if(this.status==="unavailable"){if(!b)return this._requestImport();this.status="deferred",this._syncState(this.status)}else if(this.status==="requested")return this._requestImport()})}_requestImport(){return s._(this,void 0,void 0,function*(){yield this._syncState("loading"),this.status="loaded",this.fire(new s.k(Ke))})}lazyLoad(){this.status==="unavailable"?this.status="requested":this.status==="deferred"&&this._requestImport()}}let kr=null;function kn(){return kr||(kr=new Sr),kr}class Ei{constructor(u,p){this.timeAdded=0,this.fadeEndTime=0,this.tileID=u,this.uid=s.a4(),this.uses=0,this.tileSize=p,this.buckets={},this.expirationTime=null,this.queryPadding=0,this.hasSymbolBuckets=!1,this.hasRTLText=!1,this.dependencies={},this.rtt=[],this.rttCoords={},this.expiredRequestCount=0,this.state="loading"}registerFadeDuration(u){const p=u+this.timeAdded;pP.getLayer(N)).filter(Boolean);if(B.length!==0){z.layers=B,z.stateDependentLayerIds&&(z.stateDependentLayers=z.stateDependentLayerIds.map(N=>B.filter(q=>q.id===N)[0]));for(const N of B)k[N.id]=z}}return k}(u.buckets,p.style),this.hasSymbolBuckets=!1;for(const w in this.buckets){const P=this.buckets[w];if(P instanceof s.a6){if(this.hasSymbolBuckets=!0,!b)break;P.justReloaded=!0}}if(this.hasRTLText=!1,this.hasSymbolBuckets)for(const w in this.buckets){const P=this.buckets[w];if(P instanceof s.a6&&P.hasRTLText){this.hasRTLText=!0,kn().lazyLoad();break}}this.queryPadding=0;for(const w in this.buckets){const P=this.buckets[w];this.queryPadding=Math.max(this.queryPadding,p.style.getLayer(w).queryRadius(P))}u.imageAtlas&&(this.imageAtlas=u.imageAtlas),u.glyphAtlasImage&&(this.glyphAtlasImage=u.glyphAtlasImage)}else this.collisionBoxArray=new s.a5}unloadVectorData(){for(const u in this.buckets)this.buckets[u].destroy();this.buckets={},this.imageAtlasTexture&&this.imageAtlasTexture.destroy(),this.imageAtlas&&(this.imageAtlas=null),this.glyphAtlasTexture&&this.glyphAtlasTexture.destroy(),this.latestFeatureIndex=null,this.state="unloaded"}getBucket(u){return this.buckets[u.id]}upload(u){for(const b in this.buckets){const w=this.buckets[b];w.uploadPending()&&w.upload(u)}const p=u.gl;this.imageAtlas&&!this.imageAtlas.uploaded&&(this.imageAtlasTexture=new ne(u,this.imageAtlas.image,p.RGBA),this.imageAtlas.uploaded=!0),this.glyphAtlasImage&&(this.glyphAtlasTexture=new ne(u,this.glyphAtlasImage,p.ALPHA),this.glyphAtlasImage=null)}prepare(u){this.imageAtlas&&this.imageAtlas.patchUpdatedImages(u,this.imageAtlasTexture)}queryRenderedFeatures(u,p,b,w,P,k,z,B,N,q){return this.latestFeatureIndex&&this.latestFeatureIndex.rawTileData?this.latestFeatureIndex.query({queryGeometry:w,cameraQueryGeometry:P,scale:k,tileSize:this.tileSize,pixelPosMatrix:q,transform:B,params:z,queryPadding:this.queryPadding*N},u,p,b):{}}querySourceFeatures(u,p){const b=this.latestFeatureIndex;if(!b||!b.rawTileData)return;const w=b.loadVTLayers(),P=p&&p.sourceLayer?p.sourceLayer:"",k=w._geojsonTileLayer||w[P];if(!k)return;const z=s.a7(p&&p.filter),{z:B,x:N,y:q}=this.tileID.canonical,W={z:B,x:N,y:q};for(let te=0;teb)w=!1;else if(p)if(this.expirationTime{this.remove(u,P)},b)),this.data[w].push(P),this.order.push(w),this.order.length>this.max){const k=this._getAndRemoveByKey(this.order[0]);k&&this.onRemove(k)}return this}has(u){return u.wrapped().key in this.data}getAndRemove(u){return this.has(u)?this._getAndRemoveByKey(u.wrapped().key):null}_getAndRemoveByKey(u){const p=this.data[u].shift();return p.timeout&&clearTimeout(p.timeout),this.data[u].length===0&&delete this.data[u],this.order.splice(this.order.indexOf(u),1),p.value}getByKey(u){const p=this.data[u];return p?p[0].value:null}get(u){return this.has(u)?this.data[u.wrapped().key][0].value:null}remove(u,p){if(!this.has(u))return this;const b=u.wrapped().key,w=p===void 0?0:this.data[b].indexOf(p),P=this.data[b][w];return this.data[b].splice(w,1),P.timeout&&clearTimeout(P.timeout),this.data[b].length===0&&delete this.data[b],this.onRemove(P.value),this.order.splice(this.order.indexOf(b),1),this}setMaxSize(u){for(this.max=u;this.order.length>this.max;){const p=this._getAndRemoveByKey(this.order[0]);p&&this.onRemove(p)}return this}filter(u){const p=[];for(const b in this.data)for(const w of this.data[b])u(w.value)||p.push(w);for(const b of p)this.remove(b.value.tileID,b)}}class or{constructor(){this.state={},this.stateChanges={},this.deletedStates={}}updateState(u,p,b){const w=String(p);if(this.stateChanges[u]=this.stateChanges[u]||{},this.stateChanges[u][w]=this.stateChanges[u][w]||{},s.e(this.stateChanges[u][w],b),this.deletedStates[u]===null){this.deletedStates[u]={};for(const P in this.state[u])P!==w&&(this.deletedStates[u][P]=null)}else if(this.deletedStates[u]&&this.deletedStates[u][w]===null){this.deletedStates[u][w]={};for(const P in this.state[u][w])b[P]||(this.deletedStates[u][w][P]=null)}else for(const P in b)this.deletedStates[u]&&this.deletedStates[u][w]&&this.deletedStates[u][w][P]===null&&delete this.deletedStates[u][w][P]}removeFeatureState(u,p,b){if(this.deletedStates[u]===null)return;const w=String(p);if(this.deletedStates[u]=this.deletedStates[u]||{},b&&p!==void 0)this.deletedStates[u][w]!==null&&(this.deletedStates[u][w]=this.deletedStates[u][w]||{},this.deletedStates[u][w][b]=null);else if(p!==void 0)if(this.stateChanges[u]&&this.stateChanges[u][w])for(b in this.deletedStates[u][w]={},this.stateChanges[u][w])this.deletedStates[u][w][b]=null;else this.deletedStates[u][w]=null;else this.deletedStates[u]=null}getState(u,p){const b=String(p),w=s.e({},(this.state[u]||{})[b],(this.stateChanges[u]||{})[b]);if(this.deletedStates[u]===null)return{};if(this.deletedStates[u]){const P=this.deletedStates[u][p];if(P===null)return{};for(const k in P)delete w[k]}return w}initializeTileState(u,p){u.setFeatureState(this.state,p)}coalesceChanges(u,p){const b={};for(const w in this.stateChanges){this.state[w]=this.state[w]||{};const P={};for(const k in this.stateChanges[w])this.state[w][k]||(this.state[w][k]={}),s.e(this.state[w][k],this.stateChanges[w][k]),P[k]=this.state[w][k];b[w]=P}for(const w in this.deletedStates){this.state[w]=this.state[w]||{};const P={};if(this.deletedStates[w]===null)for(const k in this.state[w])P[k]={},this.state[w][k]={};else for(const k in this.deletedStates[w]){if(this.deletedStates[w][k]===null)this.state[w][k]={};else for(const z of Object.keys(this.deletedStates[w][k]))delete this.state[w][k][z];P[k]=this.state[w][k]}b[w]=b[w]||{},s.e(b[w],P)}if(this.stateChanges={},this.deletedStates={},Object.keys(b).length!==0)for(const w in u)u[w].setFeatureState(b,p)}}class Kt extends s.E{constructor(u,p,b){super(),this.id=u,this.dispatcher=b,this.on("data",w=>this._dataHandler(w)),this.on("dataloading",()=>{this._sourceErrored=!1}),this.on("error",()=>{this._sourceErrored=this._source.loaded()}),this._source=((w,P,k,z)=>{const B=new(vr(P.type))(w,P,k,z);if(B.id!==w)throw new Error(`Expected Source id to be ${w} instead of ${B.id}`);return B})(u,p,b,this),this._tiles={},this._cache=new ct(0,w=>this._unloadTile(w)),this._timers={},this._cacheTimers={},this._maxTileCacheSize=null,this._maxTileCacheZoomLevels=null,this._loadedParentTiles={},this._coveredTiles={},this._state=new or,this._didEmitContent=!1,this._updated=!1}onAdd(u){this.map=u,this._maxTileCacheSize=u?u._maxTileCacheSize:null,this._maxTileCacheZoomLevels=u?u._maxTileCacheZoomLevels:null,this._source&&this._source.onAdd&&this._source.onAdd(u)}onRemove(u){this.clearTiles(),this._source&&this._source.onRemove&&this._source.onRemove(u)}loaded(){if(this._sourceErrored)return!0;if(!this._sourceLoaded||!this._source.loaded())return!1;if(!(this.used===void 0&&this.usedForTerrain===void 0||this.used||this.usedForTerrain))return!0;if(!this._updated)return!1;for(const u in this._tiles){const p=this._tiles[u];if(p.state!=="loaded"&&p.state!=="errored")return!1}return!0}getSource(){return this._source}pause(){this._paused=!0}resume(){if(!this._paused)return;const u=this._shouldReloadOnResume;this._paused=!1,this._shouldReloadOnResume=!1,u&&this.reload(),this.transform&&this.update(this.transform,this.terrain)}_loadTile(u,p,b){return s._(this,void 0,void 0,function*(){try{yield this._source.loadTile(u),this._tileLoaded(u,p,b)}catch(w){u.state="errored",w.status!==404?this._source.fire(new s.j(w,{tile:u})):this.update(this.transform,this.terrain)}})}_unloadTile(u){this._source.unloadTile&&this._source.unloadTile(u)}_abortTile(u){this._source.abortTile&&this._source.abortTile(u),this._source.fire(new s.k("dataabort",{tile:u,coord:u.tileID,dataType:"source"}))}serialize(){return this._source.serialize()}prepare(u){this._source.prepare&&this._source.prepare(),this._state.coalesceChanges(this._tiles,this.map?this.map.painter:null);for(const p in this._tiles){const b=this._tiles[p];b.upload(u),b.prepare(this.map.style.imageManager)}}getIds(){return Object.values(this._tiles).map(u=>u.tileID).sort(rn).map(u=>u.key)}getRenderableIds(u){const p=[];for(const b in this._tiles)this._isIdRenderable(b,u)&&p.push(this._tiles[b]);return u?p.sort((b,w)=>{const P=b.tileID,k=w.tileID,z=new s.P(P.canonical.x,P.canonical.y)._rotate(this.transform.angle),B=new s.P(k.canonical.x,k.canonical.y)._rotate(this.transform.angle);return P.overscaledZ-k.overscaledZ||B.y-z.y||B.x-z.x}).map(b=>b.tileID.key):p.map(b=>b.tileID).sort(rn).map(b=>b.key)}hasRenderableParent(u){const p=this.findLoadedParent(u,0);return!!p&&this._isIdRenderable(p.tileID.key)}_isIdRenderable(u,p){return this._tiles[u]&&this._tiles[u].hasData()&&!this._coveredTiles[u]&&(p||!this._tiles[u].holdingForFade())}reload(){if(this._paused)this._shouldReloadOnResume=!0;else{this._cache.reset();for(const u in this._tiles)this._tiles[u].state!=="errored"&&this._reloadTile(u,"reloading")}}_reloadTile(u,p){return s._(this,void 0,void 0,function*(){const b=this._tiles[u];b&&(b.state!=="loading"&&(b.state=p),yield this._loadTile(b,u,p))})}_tileLoaded(u,p,b){u.timeAdded=v.now(),b==="expired"&&(u.refreshedUponExpiration=!0),this._setTileReloadTimer(p,u),this.getSource().type==="raster-dem"&&u.dem&&this._backfillDEM(u),this._state.initializeTileState(u,this.map?this.map.painter:null),u.aborted||this._source.fire(new s.k("data",{dataType:"source",tile:u,coord:u.tileID}))}_backfillDEM(u){const p=this.getRenderableIds();for(let w=0;w1||(Math.abs(k)>1&&(Math.abs(k+B)===1?k+=B:Math.abs(k-B)===1&&(k-=B)),P.dem&&w.dem&&(w.dem.backfillBorder(P.dem,k,z),w.neighboringTiles&&w.neighboringTiles[N]&&(w.neighboringTiles[N].backfilled=!0)))}}getTile(u){return this.getTileByID(u.key)}getTileByID(u){return this._tiles[u]}_retainLoadedChildren(u,p,b,w){for(const P in this._tiles){let k=this._tiles[P];if(w[P]||!k.hasData()||k.tileID.overscaledZ<=p||k.tileID.overscaledZ>b)continue;let z=k.tileID;for(;k&&k.tileID.overscaledZ>p+1;){const N=k.tileID.scaledTo(k.tileID.overscaledZ-1);k=this._tiles[N.key],k&&k.hasData()&&(z=N)}let B=z;for(;B.overscaledZ>p;)if(B=B.scaledTo(B.overscaledZ-1),u[B.key]){w[z.key]=z;break}}}findLoadedParent(u,p){if(u.key in this._loadedParentTiles){const b=this._loadedParentTiles[u.key];return b&&b.tileID.overscaledZ>=p?b:null}for(let b=u.overscaledZ-1;b>=p;b--){const w=u.scaledTo(b),P=this._getLoadedTile(w);if(P)return P}}findLoadedSibling(u){return this._getLoadedTile(u)}_getLoadedTile(u){const p=this._tiles[u.key];return p&&p.hasData()?p:this._cache.getByKey(u.wrapped().key)}updateCacheSize(u){const p=Math.ceil(u.width/this._source.tileSize)+1,b=Math.ceil(u.height/this._source.tileSize)+1,w=Math.floor(p*b*(this._maxTileCacheZoomLevels===null?s.a.MAX_TILE_CACHE_ZOOM_LEVELS:this._maxTileCacheZoomLevels)),P=typeof this._maxTileCacheSize=="number"?Math.min(this._maxTileCacheSize,w):w;this._cache.setMaxSize(P)}handleWrapJump(u){const p=Math.round((u-(this._prevLng===void 0?u:this._prevLng))/360);if(this._prevLng=u,p){const b={};for(const w in this._tiles){const P=this._tiles[w];P.tileID=P.tileID.unwrapTo(P.tileID.wrap+p),b[P.tileID.key]=P}this._tiles=b;for(const w in this._timers)clearTimeout(this._timers[w]),delete this._timers[w];for(const w in this._tiles)this._setTileReloadTimer(w,this._tiles[w])}}_updateCoveredAndRetainedTiles(u,p,b,w,P,k){const z={},B={},N=Object.keys(u),q=v.now();for(const W of N){const te=u[W],ae=this._tiles[W];if(!ae||ae.fadeEndTime!==0&&ae.fadeEndTime<=q)continue;const le=this.findLoadedParent(te,p),ve=this.findLoadedSibling(te),he=le||ve||null;he&&(this._addTile(he.tileID),z[he.tileID.key]=he.tileID),B[W]=te}this._retainLoadedChildren(B,w,b,u);for(const W in z)u[W]||(this._coveredTiles[W]=!0,u[W]=z[W]);if(k){const W={},te={};for(const ae of P)this._tiles[ae.key].hasData()?W[ae.key]=ae:te[ae.key]=ae;for(const ae in te){const le=te[ae].children(this._source.maxzoom);this._tiles[le[0].key]&&this._tiles[le[1].key]&&this._tiles[le[2].key]&&this._tiles[le[3].key]&&(W[le[0].key]=u[le[0].key]=le[0],W[le[1].key]=u[le[1].key]=le[1],W[le[2].key]=u[le[2].key]=le[2],W[le[3].key]=u[le[3].key]=le[3],delete te[ae])}for(const ae in te){const le=te[ae],ve=this.findLoadedParent(le,this._source.minzoom),he=this.findLoadedSibling(le),xe=ve||he||null;if(xe){W[xe.tileID.key]=u[xe.tileID.key]=xe.tileID;for(const Pe in W)W[Pe].isChildOf(xe.tileID)&&delete W[Pe]}}for(const ae in this._tiles)W[ae]||(this._coveredTiles[ae]=!0)}}update(u,p){if(!this._sourceLoaded||this._paused)return;let b;this.transform=u,this.terrain=p,this.updateCacheSize(u),this.handleWrapJump(this.transform.center.lng),this._coveredTiles={},this.used||this.usedForTerrain?this._source.tileID?b=u.getVisibleUnwrappedCoordinates(this._source.tileID).map(q=>new s.S(q.canonical.z,q.wrap,q.canonical.z,q.canonical.x,q.canonical.y)):(b=u.coveringTiles({tileSize:this.usedForTerrain?this.tileSize:this._source.tileSize,minzoom:this._source.minzoom,maxzoom:this._source.maxzoom,roundZoom:!this.usedForTerrain&&this._source.roundZoom,reparseOverscaled:this._source.reparseOverscaled,terrain:p}),this._source.hasTile&&(b=b.filter(q=>this._source.hasTile(q)))):b=[];const w=u.coveringZoomLevel(this._source),P=Math.max(w-Kt.maxOverzooming,this._source.minzoom),k=Math.max(w+Kt.maxUnderzooming,this._source.minzoom);if(this.usedForTerrain){const q={};for(const W of b)if(W.canonical.z>this._source.minzoom){const te=W.scaledTo(W.canonical.z-1);q[te.key]=te;const ae=W.scaledTo(Math.max(this._source.minzoom,Math.min(W.canonical.z,5)));q[ae.key]=ae}b=b.concat(Object.values(q))}const z=b.length===0&&!this._updated&&this._didEmitContent;this._updated=!0,z&&this.fire(new s.k("data",{sourceDataType:"idle",dataType:"source",sourceId:this.id}));const B=this._updateRetainedTiles(b,w);Rn(this._source.type)&&this._updateCoveredAndRetainedTiles(B,P,k,w,b,p);for(const q in B)this._tiles[q].clearFadeHold();const N=s.ac(this._tiles,B);for(const q of N){const W=this._tiles[q];W.hasSymbolBuckets&&!W.holdingForFade()?W.setHoldDuration(this.map._fadeDuration):W.hasSymbolBuckets&&!W.symbolFadeFinished()||this._removeTile(q)}this._updateLoadedParentTileCache(),this._updateLoadedSiblingTileCache()}releaseSymbolFadeTiles(){for(const u in this._tiles)this._tiles[u].holdingForFade()&&this._removeTile(u)}_updateRetainedTiles(u,p){var b;const w={},P={},k=Math.max(p-Kt.maxOverzooming,this._source.minzoom),z=Math.max(p+Kt.maxUnderzooming,this._source.minzoom),B={};for(const N of u){const q=this._addTile(N);w[N.key]=N,q.hasData()||pthis._source.maxzoom){const te=N.children(this._source.maxzoom)[0],ae=this.getTile(te);if(ae&&ae.hasData()){w[te.key]=te;continue}}else{const te=N.children(this._source.maxzoom);if(w[te[0].key]&&w[te[1].key]&&w[te[2].key]&&w[te[3].key])continue}let W=q.wasRequested();for(let te=N.overscaledZ-1;te>=k;--te){const ae=N.scaledTo(te);if(P[ae.key])break;if(P[ae.key]=!0,q=this.getTile(ae),!q&&W&&(q=this._addTile(ae)),q){const le=q.hasData();if((le||!(!((b=this.map)===null||b===void 0)&&b.cancelPendingTileRequestsWhileZooming)||W)&&(w[ae.key]=ae),W=q.wasRequested(),le)break}}}return w}_updateLoadedParentTileCache(){this._loadedParentTiles={};for(const u in this._tiles){const p=[];let b,w=this._tiles[u].tileID;for(;w.overscaledZ>0;){if(w.key in this._loadedParentTiles){b=this._loadedParentTiles[w.key];break}p.push(w.key);const P=w.scaledTo(w.overscaledZ-1);if(b=this._getLoadedTile(P),b)break;w=P}for(const P of p)this._loadedParentTiles[P]=b}}_updateLoadedSiblingTileCache(){this._loadedSiblingTiles={};for(const u in this._tiles){const p=this._tiles[u].tileID,b=this._getLoadedTile(p);this._loadedSiblingTiles[p.key]=b}}_addTile(u){let p=this._tiles[u.key];if(p)return p;p=this._cache.getAndRemove(u),p&&(this._setTileReloadTimer(u.key,p),p.tileID=u,this._state.initializeTileState(p,this.map?this.map.painter:null),this._cacheTimers[u.key]&&(clearTimeout(this._cacheTimers[u.key]),delete this._cacheTimers[u.key],this._setTileReloadTimer(u.key,p)));const b=p;return p||(p=new Ei(u,this._source.tileSize*u.overscaleFactor()),this._loadTile(p,u.key,p.state)),p.uses++,this._tiles[u.key]=p,b||this._source.fire(new s.k("dataloading",{tile:p,coord:p.tileID,dataType:"source"})),p}_setTileReloadTimer(u,p){u in this._timers&&(clearTimeout(this._timers[u]),delete this._timers[u]);const b=p.getExpiryTimeout();b&&(this._timers[u]=setTimeout(()=>{this._reloadTile(u,"expired"),delete this._timers[u]},b))}_removeTile(u){const p=this._tiles[u];p&&(p.uses--,delete this._tiles[u],this._timers[u]&&(clearTimeout(this._timers[u]),delete this._timers[u]),p.uses>0||(p.hasData()&&p.state!=="reloading"?this._cache.add(p.tileID,p,p.getExpiryTimeout()):(p.aborted=!0,this._abortTile(p),this._unloadTile(p))))}_dataHandler(u){const p=u.sourceDataType;u.dataType==="source"&&p==="metadata"&&(this._sourceLoaded=!0),this._sourceLoaded&&!this._paused&&u.dataType==="source"&&p==="content"&&(this.reload(),this.transform&&this.update(this.transform,this.terrain),this._didEmitContent=!0)}clearTiles(){this._shouldReloadOnResume=!1,this._paused=!1;for(const u in this._tiles)this._removeTile(u);this._cache.reset()}tilesIn(u,p,b){const w=[],P=this.transform;if(!P)return w;const k=b?P.getCameraQueryGeometry(u):u,z=u.map(le=>P.pointCoordinate(le,this.terrain)),B=k.map(le=>P.pointCoordinate(le,this.terrain)),N=this.getIds();let q=1/0,W=1/0,te=-1/0,ae=-1/0;for(const le of B)q=Math.min(q,le.x),W=Math.min(W,le.y),te=Math.max(te,le.x),ae=Math.max(ae,le.y);for(let le=0;le=0&&pe[1].y+Pe>=0){const Me=z.map(Ne=>he.getTilePoint(Ne)),ze=B.map(Ne=>he.getTilePoint(Ne));w.push({tile:ve,tileID:he,queryGeometry:Me,cameraQueryGeometry:ze,scale:xe})}}return w}getVisibleCoordinates(u){const p=this.getRenderableIds(u).map(b=>this._tiles[b].tileID);for(const b of p)b.posMatrix=this.transform.calculatePosMatrix(b.toUnwrapped());return p}hasTransition(){if(this._source.hasTransition())return!0;if(Rn(this._source.type)){const u=v.now();for(const p in this._tiles)if(this._tiles[p].fadeEndTime>=u)return!0}return!1}setFeatureState(u,p,b){this._state.updateState(u=u||"_geojsonTileLayer",p,b)}removeFeatureState(u,p,b){this._state.removeFeatureState(u=u||"_geojsonTileLayer",p,b)}getFeatureState(u,p){return this._state.getState(u=u||"_geojsonTileLayer",p)}setDependencies(u,p,b){const w=this._tiles[u];w&&w.setDependencies(p,b)}reloadTilesForDependencies(u,p){for(const b in this._tiles)this._tiles[b].hasDependency(u,p)&&this._reloadTile(b,"reloading");this._cache.filter(b=>!b.hasDependency(u,p))}}function rn(C,u){const p=Math.abs(2*C.wrap)-+(C.wrap<0),b=Math.abs(2*u.wrap)-+(u.wrap<0);return C.overscaledZ-u.overscaledZ||b-p||u.canonical.y-C.canonical.y||u.canonical.x-C.canonical.x}function Rn(C){return C==="raster"||C==="image"||C==="video"}Kt.maxOverzooming=10,Kt.maxUnderzooming=3;class tr{constructor(u,p){this.reset(u,p)}reset(u,p){this.points=u||[],this._distances=[0];for(let b=1;b0?(w-k)/z:0;return this.points[P].mult(1-B).add(this.points[p].mult(B))}}function uo(C,u){let p=!0;return C==="always"||C!=="never"&&u!=="never"||(p=!1),p}class Ho{constructor(u,p,b){const w=this.boxCells=[],P=this.circleCells=[];this.xCellCount=Math.ceil(u/b),this.yCellCount=Math.ceil(p/b);for(let k=0;kthis.width||w<0||p>this.height)return[];const B=[];if(u<=0&&p<=0&&this.width<=b&&this.height<=w){if(P)return[{key:null,x1:u,y1:p,x2:b,y2:w}];for(let N=0;N0}hitTestCircle(u,p,b,w,P){const k=u-b,z=u+b,B=p-b,N=p+b;if(z<0||k>this.width||N<0||B>this.height)return!1;const q=[];return this._forEachCell(k,B,z,N,this._queryCellCircle,q,{hitTest:!0,overlapMode:w,circle:{x:u,y:p,radius:b},seenUids:{box:{},circle:{}}},P),q.length>0}_queryCell(u,p,b,w,P,k,z,B){const{seenUids:N,hitTest:q,overlapMode:W}=z,te=this.boxCells[P];if(te!==null){const le=this.bboxes;for(const ve of te)if(!N.box[ve]){N.box[ve]=!0;const he=4*ve,xe=this.boxKeys[ve];if(u<=le[he+2]&&p<=le[he+3]&&b>=le[he+0]&&w>=le[he+1]&&(!B||B(xe))&&(!q||!uo(W,xe.overlapMode))&&(k.push({key:xe,x1:le[he],y1:le[he+1],x2:le[he+2],y2:le[he+3]}),q))return!0}}const ae=this.circleCells[P];if(ae!==null){const le=this.circles;for(const ve of ae)if(!N.circle[ve]){N.circle[ve]=!0;const he=3*ve,xe=this.circleKeys[ve];if(this._circleAndRectCollide(le[he],le[he+1],le[he+2],u,p,b,w)&&(!B||B(xe))&&(!q||!uo(W,xe.overlapMode))){const Pe=le[he],pe=le[he+1],Me=le[he+2];if(k.push({key:xe,x1:Pe-Me,y1:pe-Me,x2:Pe+Me,y2:pe+Me}),q)return!0}}}return!1}_queryCellCircle(u,p,b,w,P,k,z,B){const{circle:N,seenUids:q,overlapMode:W}=z,te=this.boxCells[P];if(te!==null){const le=this.bboxes;for(const ve of te)if(!q.box[ve]){q.box[ve]=!0;const he=4*ve,xe=this.boxKeys[ve];if(this._circleAndRectCollide(N.x,N.y,N.radius,le[he+0],le[he+1],le[he+2],le[he+3])&&(!B||B(xe))&&!uo(W,xe.overlapMode))return k.push(!0),!0}}const ae=this.circleCells[P];if(ae!==null){const le=this.circles;for(const ve of ae)if(!q.circle[ve]){q.circle[ve]=!0;const he=3*ve,xe=this.circleKeys[ve];if(this._circlesCollide(le[he],le[he+1],le[he+2],N.x,N.y,N.radius)&&(!B||B(xe))&&!uo(W,xe.overlapMode))return k.push(!0),!0}}}_forEachCell(u,p,b,w,P,k,z,B){const N=this._convertToXCellCoord(u),q=this._convertToYCellCoord(p),W=this._convertToXCellCoord(b),te=this._convertToYCellCoord(w);for(let ae=N;ae<=W;ae++)for(let le=q;le<=te;le++)if(P.call(this,u,p,b,w,this.xCellCount*le+ae,k,z,B))return}_convertToXCellCoord(u){return Math.max(0,Math.min(this.xCellCount-1,Math.floor(u*this.xScale)))}_convertToYCellCoord(u){return Math.max(0,Math.min(this.yCellCount-1,Math.floor(u*this.yScale)))}_circlesCollide(u,p,b,w,P,k){const z=w-u,B=P-p,N=b+k;return N*N>z*z+B*B}_circleAndRectCollide(u,p,b,w,P,k,z){const B=(k-w)/2,N=Math.abs(u-(w+B));if(N>B+b)return!1;const q=(z-P)/2,W=Math.abs(p-(P+q));if(W>q+b)return!1;if(N<=B||W<=q)return!0;const te=N-B,ae=W-q;return te*te+ae*ae<=b*b}}function bs(C,u,p,b,w){const P=s.H();return u?(s.K(P,P,[1/w,1/w,1]),p||s.ae(P,P,b.angle)):s.L(P,b.labelPlaneMatrix,C),P}function co(C,u,p,b,w){if(u){const P=s.af(C);return s.K(P,P,[w,w,1]),p||s.ae(P,P,-b.angle),P}return b.glCoordMatrix}function be(C,u,p){let b;p?(b=[C.x,C.y,p(C.x,C.y),1],s.ag(b,b,u)):(b=[C.x,C.y,0,1],function(P,k,z){const B=k[0],N=k[1];P[0]=z[0]*B+z[4]*N+z[12],P[1]=z[1]*B+z[5]*N+z[13],P[3]=z[3]*B+z[7]*N+z[15]}(b,b,u));const w=b[3];return{point:new s.P(b[0]/w,b[1]/w),signedDistanceFromCamera:w,isOccluded:!1}}function Y(C,u){return .5+C/u*.5}function K(C,u){return C.x>=-u[0]&&C.x<=u[0]&&C.y>=-u[1]&&C.y<=u[1]}function oe(C,u,p,b,w,P,k,z,B,N,q,W,te,ae,le){const ve=b?C.textSizeData:C.iconSizeData,he=s.ah(ve,p.transform.zoom),xe=[256/p.width*2+1,256/p.height*2+1],Pe=b?C.text.dynamicLayoutVertexArray:C.icon.dynamicLayoutVertexArray;Pe.clear();const pe=C.lineVertexArray,Me=b?C.text.placedSymbolArray:C.icon.placedSymbolArray,ze=p.transform.width/p.transform.height;let Ne=!1;for(let Xe=0;XeMath.abs(p.x-u.x)*b?{useVertical:!0}:(C===s.ai.vertical?u.yp.x)?{needsFlipping:!0}:null}function Ee(C,u,p,b,w,P,k,z,B,N,q){const W=p/24,te=u.lineOffsetX*W,ae=u.lineOffsetY*W;let le;if(u.numGlyphs>1){const ve=u.glyphStartIndex+u.numGlyphs,he=u.lineStartIndex,xe=u.lineStartIndex+u.lineLength,Pe=me(W,z,te,ae,b,u,q,C);if(!Pe)return{notEnoughRoom:!0};const pe=be(Pe.first.point,k,C.getElevation).point,Me=be(Pe.last.point,k,C.getElevation).point;if(w&&!b){const ze=Ie(u.writingMode,pe,Me,N);if(ze)return ze}le=[Pe.first];for(let ze=u.glyphStartIndex+1;ze0?pe.point:function(Ne,Xe,it,Pt,At,ot){return Oe(Ne,Xe,it,1,At,ot)}(C.tileAnchorPoint,Pe,he,0,P,C),ze=Ie(u.writingMode,he,Me,N);if(ze)return ze}const ve=ht(W*z.getoffsetX(u.glyphStartIndex),te,ae,b,u.segment,u.lineStartIndex,u.lineStartIndex+u.lineLength,C,q);if(!ve||C.projectionCache.anyProjectionOccluded)return{notEnoughRoom:!0};le=[ve]}for(const ve of le)s.ak(B,ve.point,ve.angle);return{}}function Oe(C,u,p,b,w,P){const k=C.add(C.sub(u)._unit()),z=w!==void 0?be(k,w,P.getElevation).point:Ue(k.x,k.y,P).point,B=p.sub(z);return p.add(B._mult(b/B.mag()))}function Se(C,u,p){const b=u.projectionCache;if(b.projections[C])return b.projections[C];const w=new s.P(u.lineVertexArray.getx(C),u.lineVertexArray.gety(C)),P=Ue(w.x,w.y,u);if(P.signedDistanceFromCamera>0)return b.projections[C]=P.point,b.anyProjectionOccluded=b.anyProjectionOccluded||P.isOccluded,P.point;const k=C-p.direction;return function(z,B,N,q,W){return Oe(z,B,N,q,void 0,W)}(p.distanceFromAnchor===0?u.tileAnchorPoint:new s.P(u.lineVertexArray.getx(k),u.lineVertexArray.gety(k)),w,p.previousVertex,p.absOffsetX-p.distanceFromAnchor+1,u)}function Ue(C,u,p){const b=C+p.translation[0],w=u+p.translation[1];let P;return!p.pitchWithMap&&p.projection.useSpecialProjectionForSymbols?(P=p.projection.projectTileCoordinates(b,w,p.unwrappedTileID,p.getElevation),P.point.x=(.5*P.point.x+.5)*p.width,P.point.y=(.5*-P.point.y+.5)*p.height):(P=be(new s.P(b,w),p.labelPlaneMatrix,p.getElevation),P.isOccluded=!1),P}function Ye(C,u,p){return C._unit()._perp()._mult(u*p)}function Ve(C,u,p,b,w,P,k,z,B){if(z.projectionCache.offsets[C])return z.projectionCache.offsets[C];const N=p.add(u);if(C+B.direction=w)return z.projectionCache.offsets[C]=N,N;const q=Se(C+B.direction,z,B),W=Ye(q.sub(p),k,B.direction),te=p.add(W),ae=q.add(W);return z.projectionCache.offsets[C]=s.al(P,N,te,ae)||N,z.projectionCache.offsets[C]}function ht(C,u,p,b,w,P,k,z,B){const N=b?C-u:C+u;let q=N>0?1:-1,W=0;b&&(q*=-1,W=Math.PI),q<0&&(W+=Math.PI);let te,ae=q>0?P+w:P+w+1;z.projectionCache.cachedAnchorPoint?te=z.projectionCache.cachedAnchorPoint:(te=Ue(z.tileAnchorPoint.x,z.tileAnchorPoint.y,z).point,z.projectionCache.cachedAnchorPoint=te);let le,ve,he=te,xe=te,Pe=0,pe=0;const Me=Math.abs(N),ze=[];let Ne;for(;Pe+pe<=Me;){if(ae+=q,ae=k)return null;Pe+=pe,xe=he,ve=le;const Pt={absOffsetX:Me,direction:q,distanceFromAnchor:Pe,previousVertex:xe};if(he=Se(ae,z,Pt),p===0)ze.push(xe),Ne=he.sub(xe);else{let At;const ot=he.sub(xe);At=ot.mag()===0?Ye(Se(ae+q,z,Pt).sub(he),p,q):Ye(ot,p,q),ve||(ve=xe.add(At)),le=Ve(ae,At,he,P,k,ve,p,z,Pt),ze.push(ve),Ne=le.sub(ve)}pe=Ne.mag()}const Xe=Ne._mult((Me-Pe)/pe)._add(ve||xe),it=W+Math.atan2(he.y-xe.y,he.x-xe.x);return ze.push(Xe),{point:Xe,angle:B?it:0,path:ze}}const jt=new Float32Array([-1/0,-1/0,0,-1/0,-1/0,0,-1/0,-1/0,0,-1/0,-1/0,0]);function qt(C,u){for(let p=0;p=1;pr--)_t.push(rr.path[pr]);for(let pr=1;prAr.signedDistanceFromCamera<=0)?[]:pr.map(Ar=>Ar.point)}let vn=[];if(_t.length>0){const pr=_t[0].clone(),Ar=_t[0].clone();for(let gn=1;gn<_t.length;gn++)pr.x=Math.min(pr.x,_t[gn].x),pr.y=Math.min(pr.y,_t[gn].y),Ar.x=Math.max(Ar.x,_t[gn].x),Ar.y=Math.max(Ar.y,_t[gn].y);vn=pr.x>=ot.x&&Ar.x<=ut.x&&pr.y>=ot.y&&Ar.y<=ut.y?[_t]:Ar.xut.x||Ar.yut.y?[]:s.am([_t],ot.x,ot.y,ut.x,ut.y)}for(const pr of vn){Rt.reset(pr,.25*At);let Ar=0;Ar=Rt.length<=.5*At?1:Math.ceil(Rt.paddedLength/Jt)+1;for(let gn=0;gnbe(w,b,p.getElevation))}queryRenderedSymbols(u){if(u.length===0||this.grid.keysLength()===0&&this.ignoredGrid.keysLength()===0)return{};const p=[];let b=1/0,w=1/0,P=-1/0,k=-1/0;for(const q of u){const W=new s.P(q.x+hr,q.y+hr);b=Math.min(b,W.x),w=Math.min(w,W.y),P=Math.max(P,W.x),k=Math.max(k,W.y),p.push(W)}const z=this.grid.query(b,w,P,k).concat(this.ignoredGrid.query(b,w,P,k)),B={},N={};for(const q of z){const W=q.key;if(B[W.bucketInstanceId]===void 0&&(B[W.bucketInstanceId]={}),B[W.bucketInstanceId][W.featureIndex])continue;const te=[new s.P(q.x1,q.y1),new s.P(q.x2,q.y1),new s.P(q.x2,q.y2),new s.P(q.x1,q.y2)];s.an(p,te)&&(B[W.bucketInstanceId][W.featureIndex]=!0,N[W.bucketInstanceId]===void 0&&(N[W.bucketInstanceId]=[]),N[W.bucketInstanceId].push(W.featureIndex))}return N}insertCollisionBox(u,p,b,w,P,k){(b?this.ignoredGrid:this.grid).insert({bucketInstanceId:w,featureIndex:P,collisionGroupID:k,overlapMode:p},u[0],u[1],u[2],u[3])}insertCollisionCircles(u,p,b,w,P,k){const z=b?this.ignoredGrid:this.grid,B={bucketInstanceId:w,featureIndex:P,collisionGroupID:k,overlapMode:p};for(let N=0;N=this.screenRightBoundary||wthis.screenBottomBoundary}isInsideGrid(u,p,b,w){return b>=0&&u=0&&pthis.projectAndGetPerspectiveRatio(b,ot.x,ot.y,w,N));Pt=At.some(ot=>!ot.isOccluded),it=At.map(ot=>ot.point)}else Pt=!0;return{box:s.ap(it),allPointsOccluded:!Pt}}}function cr(C,u,p){return u*(s.X/(C.tileSize*Math.pow(2,p-C.tileID.overscaledZ)))}class ln{constructor(u,p,b,w){this.opacity=u?Math.max(0,Math.min(1,u.opacity+(u.placed?p:-p))):w&&b?1:0,this.placed=b}isHidden(){return this.opacity===0&&!this.placed}}class Mn{constructor(u,p,b,w,P){this.text=new ln(u?u.text:null,p,b,P),this.icon=new ln(u?u.icon:null,p,w,P)}isHidden(){return this.text.isHidden()&&this.icon.isHidden()}}class Hn{constructor(u,p,b){this.text=u,this.icon=p,this.skipFade=b}}class Tr{constructor(){this.invProjMatrix=s.H(),this.viewportMatrix=s.H(),this.circles=[]}}class Wr{constructor(u,p,b,w,P){this.bucketInstanceId=u,this.featureIndex=p,this.sourceLayerIndex=b,this.bucketIndex=w,this.tileID=P}}class xn{constructor(u){this.crossSourceCollisions=u,this.maxGroupID=0,this.collisionGroups={}}get(u){if(this.crossSourceCollisions)return{ID:0,predicate:null};if(!this.collisionGroups[u]){const p=++this.maxGroupID;this.collisionGroups[u]={ID:p,predicate:b=>b.collisionGroupID===p}}return this.collisionGroups[u]}}function Yn(C,u,p,b,w){const{horizontalAlign:P,verticalAlign:k}=s.av(C);return new s.P(-(P-.5)*u+b[0]*w,-(k-.5)*p+b[1]*w)}class di{constructor(u,p,b,w,P,k){this.transform=u.clone(),this.terrain=b,this.collisionIndex=new Rr(this.transform,p),this.placements={},this.opacities={},this.variableOffsets={},this.stale=!1,this.commitTime=0,this.fadeDuration=w,this.retainedQueryData={},this.collisionGroups=new xn(P),this.collisionCircleArrays={},this.collisionBoxArrays=new Map,this.prevPlacement=k,k&&(k.prevPlacement=void 0),this.placedOrientations={}}_getTerrainElevationFunc(u){const p=this.terrain;return p?(b,w)=>p.getElevation(u,b,w):null}getBucketParts(u,p,b,w){const P=b.getBucket(p),k=b.latestFeatureIndex;if(!P||!k||p.id!==P.layerIds[0])return;const z=b.collisionBoxArray,B=P.layers[0].layout,N=P.layers[0].paint,q=Math.pow(2,this.transform.zoom-b.tileID.overscaledZ),W=b.tileSize/s.X,te=b.tileID.toUnwrapped(),ae=this.transform.calculatePosMatrix(te),le=B.get("text-pitch-alignment")==="map",ve=B.get("text-rotation-alignment")==="map",he=cr(b,1,this.transform.zoom),xe=this.collisionIndex.mapProjection.translatePosition(this.transform,b,N.get("text-translate"),N.get("text-translate-anchor")),Pe=this.collisionIndex.mapProjection.translatePosition(this.transform,b,N.get("icon-translate"),N.get("icon-translate-anchor")),pe=bs(ae,le,ve,this.transform,he);let Me=null;if(le){const Ne=co(ae,le,ve,this.transform,he);Me=s.L([],this.transform.labelPlaneMatrix,Ne)}this.retainedQueryData[P.bucketInstanceId]=new Wr(P.bucketInstanceId,k,P.sourceLayerIndex,P.index,b.tileID);const ze={bucket:P,layout:B,translationText:xe,translationIcon:Pe,posMatrix:ae,unwrappedTileID:te,textLabelPlaneMatrix:pe,labelToScreenMatrix:Me,scale:q,textPixelRatio:W,holdingForFade:b.holdingForFade(),collisionBoxArray:z,partiallyEvaluatedTextSize:s.ah(P.textSizeData,this.transform.zoom),collisionGroup:this.collisionGroups.get(P.sourceID)};if(w)for(const Ne of P.sortKeyRanges){const{sortKey:Xe,symbolInstanceStart:it,symbolInstanceEnd:Pt}=Ne;u.push({sortKey:Xe,symbolInstanceStart:it,symbolInstanceEnd:Pt,parameters:ze})}else u.push({symbolInstanceStart:0,symbolInstanceEnd:P.symbolInstances.length,parameters:ze})}attemptAnchorPlacement(u,p,b,w,P,k,z,B,N,q,W,te,ae,le,ve,he,xe,Pe,pe){const Me=s.ar[u.textAnchor],ze=[u.textOffset0,u.textOffset1],Ne=Yn(Me,b,w,ze,P),Xe=this.collisionIndex.placeCollisionBox(p,te,B,N,q,z,k,he,W.predicate,pe,Ne);if((!Pe||this.collisionIndex.placeCollisionBox(Pe,te,B,N,q,z,k,xe,W.predicate,pe,Ne).placeable)&&Xe.placeable){let it;if(this.prevPlacement&&this.prevPlacement.variableOffsets[ae.crossTileID]&&this.prevPlacement.placements[ae.crossTileID]&&this.prevPlacement.placements[ae.crossTileID].text&&(it=this.prevPlacement.variableOffsets[ae.crossTileID].anchor),ae.crossTileID===0)throw new Error("symbolInstance.crossTileID can't be 0");return this.variableOffsets[ae.crossTileID]={textOffset:ze,width:b,height:w,anchor:Me,textBoxScale:P,prevAnchor:it},this.markUsedJustification(le,Me,ae,ve),le.allowVerticalPlacement&&(this.markUsedOrientation(le,ve,ae),this.placedOrientations[ae.crossTileID]=ve),{shift:Ne,placedGlyphBoxes:Xe}}}placeLayerBucketPart(u,p,b){const{bucket:w,layout:P,translationText:k,translationIcon:z,posMatrix:B,unwrappedTileID:N,textLabelPlaneMatrix:q,labelToScreenMatrix:W,textPixelRatio:te,holdingForFade:ae,collisionBoxArray:le,partiallyEvaluatedTextSize:ve,collisionGroup:he}=u.parameters,xe=P.get("text-optional"),Pe=P.get("icon-optional"),pe=s.as(P,"text-overlap","text-allow-overlap"),Me=pe==="always",ze=s.as(P,"icon-overlap","icon-allow-overlap"),Ne=ze==="always",Xe=P.get("text-rotation-alignment")==="map",it=P.get("text-pitch-alignment")==="map",Pt=P.get("icon-text-fit")!=="none",At=P.get("symbol-z-order")==="viewport-y",ot=Me&&(Ne||!w.hasIconData()||Pe),ut=Ne&&(Me||!w.hasTextData()||xe);!w.collisionArrays&&le&&w.deserializeCollisionBoxes(le);const Rt=this._getTerrainElevationFunc(this.retainedQueryData[w.bucketInstanceId].tileID),rr=(pt,_t,Jt)=>{var vn,pr;if(p[pt.crossTileID])return;if(ae)return void(this.placements[pt.crossTileID]=new Hn(!1,!1,!1));let Ar=!1,gn=!1,vi=!0,ja=null,yn={box:null,placeable:!1,offscreen:null},Ui={box:null,placeable:!1,offscreen:null},Di=null,gi=null,yi=null,Ha=0,bl=0,Zf=0;_t.textFeatureIndex?Ha=_t.textFeatureIndex:pt.useRuntimeCollisionCircles&&(Ha=pt.featureIndex),_t.verticalTextFeatureIndex&&(bl=_t.verticalTextFeatureIndex);const cu=_t.textBox;if(cu){const oi=_i=>{let bi=s.ai.horizontal;if(w.allowVerticalPlacement&&!_i&&this.prevPlacement){const ri=this.prevPlacement.placedOrientations[pt.crossTileID];ri&&(this.placedOrientations[pt.crossTileID]=ri,bi=ri,this.markUsedOrientation(w,bi,pt))}return bi},Ua=(_i,bi)=>{if(w.allowVerticalPlacement&&pt.numVerticalGlyphVertices>0&&_t.verticalTextBox){for(const ri of w.writingModes)if(ri===s.ai.vertical?(yn=bi(),Ui=yn):yn=_i(),yn&&yn.placeable)break}else yn=_i()},As=pt.textAnchorOffsetStartIndex,hu=pt.textAnchorOffsetEndIndex;if(hu===As){const _i=(bi,ri)=>{const Cn=this.collisionIndex.placeCollisionBox(bi,pe,te,B,N,it,Xe,k,he.predicate,Rt);return Cn&&Cn.placeable&&(this.markUsedOrientation(w,ri,pt),this.placedOrientations[pt.crossTileID]=ri),Cn};Ua(()=>_i(cu,s.ai.horizontal),()=>{const bi=_t.verticalTextBox;return w.allowVerticalPlacement&&pt.numVerticalGlyphVertices>0&&bi?_i(bi,s.ai.vertical):{box:null,offscreen:null}}),oi(yn&&yn.placeable)}else{let _i=s.ar[(pr=(vn=this.prevPlacement)===null||vn===void 0?void 0:vn.variableOffsets[pt.crossTileID])===null||pr===void 0?void 0:pr.anchor];const bi=(Cn,fu,Jm)=>{const Jn=Cn.x2-Cn.x1,O_=Cn.y2-Cn.y1,Kf=pt.textBoxScale,Yf=Pt&&ze==="never"?fu:null;let Is=null,z_=pe==="never"?1:2,Qm="never";_i&&z_++;for(let ev=0;evbi(cu,_t.iconBox,s.ai.horizontal),()=>{const Cn=_t.verticalTextBox;return w.allowVerticalPlacement&&(!yn||!yn.placeable)&&pt.numVerticalGlyphVertices>0&&Cn?bi(Cn,_t.verticalIconBox,s.ai.vertical):{box:null,occluded:!0,offscreen:null}}),yn&&(Ar=yn.placeable,vi=yn.offscreen);const ri=oi(yn&&yn.placeable);if(!Ar&&this.prevPlacement){const Cn=this.prevPlacement.variableOffsets[pt.crossTileID];Cn&&(this.variableOffsets[pt.crossTileID]=Cn,this.markUsedJustification(w,Cn.anchor,pt,ri))}}}if(Di=yn,Ar=Di&&Di.placeable,vi=Di&&Di.offscreen,pt.useRuntimeCollisionCircles){const oi=w.text.placedSymbolArray.get(pt.centerJustifiedTextSymbolIndex),Ua=s.aj(w.textSizeData,ve,oi),As=P.get("text-padding");gi=this.collisionIndex.placeCollisionCircles(pe,oi,w.lineVertexArray,w.glyphOffsetArray,Ua,B,N,q,W,b,it,he.predicate,pt.collisionCircleDiameter,As,k,Rt),gi.circles.length&&gi.collisionDetected&&!b&&s.w("Collisions detected, but collision boxes are not shown"),Ar=Me||gi.circles.length>0&&!gi.collisionDetected,vi=vi&&gi.offscreen}if(_t.iconFeatureIndex&&(Zf=_t.iconFeatureIndex),_t.iconBox){const oi=Ua=>this.collisionIndex.placeCollisionBox(Ua,ze,te,B,N,it,Xe,z,he.predicate,Rt,Pt&&ja?ja:void 0);Ui&&Ui.placeable&&_t.verticalIconBox?(yi=oi(_t.verticalIconBox),gn=yi.placeable):(yi=oi(_t.iconBox),gn=yi.placeable),vi=vi&&yi.offscreen}const xl=xe||pt.numHorizontalGlyphVertices===0&&pt.numVerticalGlyphVertices===0,Xf=Pe||pt.numIconVertices===0;xl||Xf?Xf?xl||(gn=gn&&Ar):Ar=gn&&Ar:gn=Ar=gn&&Ar;const Ym=gn&&yi.placeable;if(Ar&&Di.placeable&&this.collisionIndex.insertCollisionBox(Di.box,pe,P.get("text-ignore-placement"),w.bucketInstanceId,Ui&&Ui.placeable&&bl?bl:Ha,he.ID),Ym&&this.collisionIndex.insertCollisionBox(yi.box,ze,P.get("icon-ignore-placement"),w.bucketInstanceId,Zf,he.ID),gi&&Ar&&this.collisionIndex.insertCollisionCircles(gi.circles,pe,P.get("text-ignore-placement"),w.bucketInstanceId,Ha,he.ID),b&&this.storeCollisionData(w.bucketInstanceId,Jt,_t,Di,yi,gi),pt.crossTileID===0)throw new Error("symbolInstance.crossTileID can't be 0");if(w.bucketInstanceId===0)throw new Error("bucket.bucketInstanceId can't be 0");this.placements[pt.crossTileID]=new Hn(Ar||ot,gn||ut,vi||w.justReloaded),p[pt.crossTileID]=!0};if(At){if(u.symbolInstanceStart!==0)throw new Error("bucket.bucketInstanceId should be 0");const pt=w.getSortedSymbolIndexes(this.transform.angle);for(let _t=pt.length-1;_t>=0;--_t){const Jt=pt[_t];rr(w.symbolInstances.get(Jt),w.collisionArrays[Jt],Jt)}}else for(let pt=u.symbolInstanceStart;pt=0&&(u.text.placedSymbolArray.get(z).crossTileID=P>=0&&z!==P?0:b.crossTileID)}markUsedOrientation(u,p,b){const w=p===s.ai.horizontal||p===s.ai.horizontalOnly?p:0,P=p===s.ai.vertical?p:0,k=[b.leftJustifiedTextSymbolIndex,b.centerJustifiedTextSymbolIndex,b.rightJustifiedTextSymbolIndex];for(const z of k)u.text.placedSymbolArray.get(z).placedOrientation=w;b.verticalPlacedTextSymbolIndex&&(u.text.placedSymbolArray.get(b.verticalPlacedTextSymbolIndex).placedOrientation=P)}commit(u){this.commitTime=u,this.zoomAtLastRecencyCheck=this.transform.zoom;const p=this.prevPlacement;let b=!1;this.prevZoomAdjustment=p?p.zoomAdjustment(this.transform.zoom):0;const w=p?p.symbolFadeChange(u):1,P=p?p.opacities:{},k=p?p.variableOffsets:{},z=p?p.placedOrientations:{};for(const B in this.placements){const N=this.placements[B],q=P[B];q?(this.opacities[B]=new Mn(q,w,N.text,N.icon),b=b||N.text!==q.text.placed||N.icon!==q.icon.placed):(this.opacities[B]=new Mn(null,w,N.text,N.icon,N.skipFade),b=b||N.text||N.icon)}for(const B in P){const N=P[B];if(!this.opacities[B]){const q=new Mn(N,w,!1,!1);q.isHidden()||(this.opacities[B]=q,b=b||N.text.placed||N.icon.placed)}}for(const B in k)this.variableOffsets[B]||!this.opacities[B]||this.opacities[B].isHidden()||(this.variableOffsets[B]=k[B]);for(const B in z)this.placedOrientations[B]||!this.opacities[B]||this.opacities[B].isHidden()||(this.placedOrientations[B]=z[B]);if(p&&p.lastPlacementChangeTime===void 0)throw new Error("Last placement time for previous placement is not defined");b?this.lastPlacementChangeTime=u:typeof this.lastPlacementChangeTime!="number"&&(this.lastPlacementChangeTime=p?p.lastPlacementChangeTime:u)}updateLayerOpacities(u,p){const b={};for(const w of p){const P=w.getBucket(u);P&&w.latestFeatureIndex&&u.id===P.layerIds[0]&&this.updateBucketOpacities(P,w.tileID,b,w.collisionBoxArray)}}updateBucketOpacities(u,p,b,w){u.hasTextData()&&(u.text.opacityVertexArray.clear(),u.text.hasVisibleVertices=!1),u.hasIconData()&&(u.icon.opacityVertexArray.clear(),u.icon.hasVisibleVertices=!1),u.hasIconCollisionBoxData()&&u.iconCollisionBox.collisionVertexArray.clear(),u.hasTextCollisionBoxData()&&u.textCollisionBox.collisionVertexArray.clear();const P=u.layers[0],k=P.layout,z=new Mn(null,0,!1,!1,!0),B=k.get("text-allow-overlap"),N=k.get("icon-allow-overlap"),q=P._unevaluatedLayout.hasValue("text-variable-anchor")||P._unevaluatedLayout.hasValue("text-variable-anchor-offset"),W=k.get("text-rotation-alignment")==="map",te=k.get("text-pitch-alignment")==="map",ae=k.get("icon-text-fit")!=="none",le=new Mn(null,0,B&&(N||!u.hasIconData()||k.get("icon-optional")),N&&(B||!u.hasTextData()||k.get("text-optional")),!0);!u.collisionArrays&&w&&(u.hasIconCollisionBoxData()||u.hasTextCollisionBoxData())&&u.deserializeCollisionBoxes(w);const ve=(xe,Pe,pe)=>{for(let Me=0;Me0,it=this.placedOrientations[Pe.crossTileID],Pt=it===s.ai.vertical,At=it===s.ai.horizontal||it===s.ai.horizontalOnly;if(pe>0||Me>0){const ut=sa(Ne.text);ve(u.text,pe,Pt?mi:ut),ve(u.text,Me,At?mi:ut);const Rt=Ne.text.isHidden();[Pe.rightJustifiedTextSymbolIndex,Pe.centerJustifiedTextSymbolIndex,Pe.leftJustifiedTextSymbolIndex].forEach(_t=>{_t>=0&&(u.text.placedSymbolArray.get(_t).hidden=Rt||Pt?1:0)}),Pe.verticalPlacedTextSymbolIndex>=0&&(u.text.placedSymbolArray.get(Pe.verticalPlacedTextSymbolIndex).hidden=Rt||At?1:0);const rr=this.variableOffsets[Pe.crossTileID];rr&&this.markUsedJustification(u,rr.anchor,Pe,it);const pt=this.placedOrientations[Pe.crossTileID];pt&&(this.markUsedJustification(u,"left",Pe,pt),this.markUsedOrientation(u,pt,Pe))}if(Xe){const ut=sa(Ne.icon),Rt=!(ae&&Pe.verticalPlacedIconSymbolIndex&&Pt);Pe.placedIconSymbolIndex>=0&&(ve(u.icon,Pe.numIconVertices,Rt?ut:mi),u.icon.placedSymbolArray.get(Pe.placedIconSymbolIndex).hidden=Ne.icon.isHidden()),Pe.verticalPlacedIconSymbolIndex>=0&&(ve(u.icon,Pe.numVerticalIconVertices,Rt?mi:ut),u.icon.placedSymbolArray.get(Pe.verticalPlacedIconSymbolIndex).hidden=Ne.icon.isHidden())}const ot=he&&he.has(xe)?he.get(xe):{text:null,icon:null};if(u.hasIconCollisionBoxData()||u.hasTextCollisionBoxData()){const ut=u.collisionArrays[xe];if(ut){let Rt=new s.P(0,0);if(ut.textBox||ut.verticalTextBox){let rr=!0;if(q){const pt=this.variableOffsets[ze];pt?(Rt=Yn(pt.anchor,pt.width,pt.height,pt.textOffset,pt.textBoxScale),W&&Rt._rotate(te?this.transform.angle:-this.transform.angle)):rr=!1}if(ut.textBox||ut.verticalTextBox){let pt;ut.textBox&&(pt=Pt),ut.verticalTextBox&&(pt=At),pi(u.textCollisionBox.collisionVertexArray,Ne.text.placed,!rr||pt,ot.text,Rt.x,Rt.y)}}if(ut.iconBox||ut.verticalIconBox){const rr=!!(!At&&ut.verticalIconBox);let pt;ut.iconBox&&(pt=rr),ut.verticalIconBox&&(pt=!rr),pi(u.iconCollisionBox.collisionVertexArray,Ne.icon.placed,pt,ot.icon,ae?Rt.x:0,ae?Rt.y:0)}}}}if(u.sortFeatures(this.transform.angle),this.retainedQueryData[u.bucketInstanceId]&&(this.retainedQueryData[u.bucketInstanceId].featureSortOrder=u.featureSortOrder),u.hasTextData()&&u.text.opacityVertexBuffer&&u.text.opacityVertexBuffer.updateData(u.text.opacityVertexArray),u.hasIconData()&&u.icon.opacityVertexBuffer&&u.icon.opacityVertexBuffer.updateData(u.icon.opacityVertexArray),u.hasIconCollisionBoxData()&&u.iconCollisionBox.collisionVertexBuffer&&u.iconCollisionBox.collisionVertexBuffer.updateData(u.iconCollisionBox.collisionVertexArray),u.hasTextCollisionBoxData()&&u.textCollisionBox.collisionVertexBuffer&&u.textCollisionBox.collisionVertexBuffer.updateData(u.textCollisionBox.collisionVertexArray),u.text.opacityVertexArray.length!==u.text.layoutVertexArray.length/4)throw new Error(`bucket.text.opacityVertexArray.length (= ${u.text.opacityVertexArray.length}) !== bucket.text.layoutVertexArray.length (= ${u.text.layoutVertexArray.length}) / 4`);if(u.icon.opacityVertexArray.length!==u.icon.layoutVertexArray.length/4)throw new Error(`bucket.icon.opacityVertexArray.length (= ${u.icon.opacityVertexArray.length}) !== bucket.icon.layoutVertexArray.length (= ${u.icon.layoutVertexArray.length}) / 4`);if(u.bucketInstanceId in this.collisionCircleArrays){const xe=this.collisionCircleArrays[u.bucketInstanceId];u.placementInvProjMatrix=xe.invProjMatrix,u.placementViewportMatrix=xe.viewportMatrix,u.collisionCircleArray=xe.circles,delete this.collisionCircleArrays[u.bucketInstanceId]}}symbolFadeChange(u){return this.fadeDuration===0?1:(u-this.commitTime)/this.fadeDuration+this.prevZoomAdjustment}zoomAdjustment(u){return Math.max(0,(this.transform.zoom-u)/1.5)}hasTransitions(u){return this.stale||u-this.lastPlacementChangeTimeu}setStale(){this.stale=!0}}function pi(C,u,p,b,w,P){b&&b.length!==0||(b=[0,0,0,0]);const k=b[0]-hr,z=b[1]-hr,B=b[2]-hr,N=b[3]-hr;C.emplaceBack(u?1:0,p?1:0,w||0,P||0,k,z),C.emplaceBack(u?1:0,p?1:0,w||0,P||0,B,z),C.emplaceBack(u?1:0,p?1:0,w||0,P||0,B,N),C.emplaceBack(u?1:0,p?1:0,w||0,P||0,k,N)}const bc=Math.pow(2,25),qr=Math.pow(2,24),im=Math.pow(2,17),am=Math.pow(2,16),aa=Math.pow(2,9),oa=Math.pow(2,8),zw=Math.pow(2,1);function sa(C){if(C.opacity===0&&!C.placed)return 0;if(C.opacity===1&&C.placed)return 4294967295;const u=C.placed?1:0,p=Math.floor(127*C.opacity);return p*bc+u*qr+p*im+u*am+p*aa+u*oa+p*zw+u}const mi=0;function yf(){return{isOccluded:(C,u,p)=>!1,getPitchedTextCorrection:(C,u,p)=>1,get useSpecialProjectionForSymbols(){return!1},projectTileCoordinates(C,u,p,b){throw new Error("Not implemented.")},translatePosition:(C,u,p,b)=>function(w,P,k,z,B=!1){if(!k[0]&&!k[1])return[0,0];const N=B?z==="map"?w.angle:0:z==="viewport"?-w.angle:0;if(N){const q=Math.sin(N),W=Math.cos(N);k=[k[0]*W-k[1]*q,k[0]*q+k[1]*W]}return[B?k[0]:cr(P,k[0],w.zoom),B?k[1]:cr(P,k[1],w.zoom)]}(C,u,p,b),getCircleRadiusCorrection:C=>1}}class xc{constructor(u){this._sortAcrossTiles=u.layout.get("symbol-z-order")!=="viewport-y"&&!u.layout.get("symbol-sort-key").isConstant(),this._currentTileIndex=0,this._currentPartIndex=0,this._seenCrossTileIDs={},this._bucketParts=[]}continuePlacement(u,p,b,w,P){const k=this._bucketParts;for(;this._currentTileIndexz.sortKey-B.sortKey));this._currentPartIndex!this._forceFullPlacement&&v.now()-w>2;for(;this._currentPlacementIndex>=0;){const k=p[u[this._currentPlacementIndex]],z=this.placement.collisionIndex.transform.zoom;if(k.type==="symbol"&&(!k.minzoom||k.minzoom<=z)&&(!k.maxzoom||k.maxzoom>z)){if(this._inProgressLayer||(this._inProgressLayer=new xc(k)),this._inProgressLayer.continuePlacement(b[k.source],this.placement,this._showCollisionBoxes,k,P))return;delete this._inProgressLayer}this._currentPlacementIndex--}this._done=!0}commit(u){return this.placement.commit(u),this.placement}}const Uo=512/s.X/2;class cl{constructor(u,p,b){this.tileID=u,this.bucketInstanceId=b,this._symbolsByKey={};const w=new Map;for(let P=0;P({x:Math.floor(B.anchorX*Uo),y:Math.floor(B.anchorY*Uo)})),crossTileIDs:k.map(B=>B.crossTileID)};if(z.positions.length>128){const B=new s.aw(z.positions.length,16,Uint16Array);for(const{x:N,y:q}of z.positions)B.add(N,q);B.finish(),delete z.positions,z.index=B}this._symbolsByKey[P]=z}}getScaledCoordinates(u,p){const{x:b,y:w,z:P}=this.tileID.canonical,{x:k,y:z,z:B}=p.canonical,N=Uo/Math.pow(2,B-P),q=(z*s.X+u.anchorY)*N,W=w*s.X*Uo;return{x:Math.floor((k*s.X+u.anchorX)*N-b*s.X*Uo),y:Math.floor(q-W)}}findMatches(u,p,b){const w=this.tileID.canonical.zu)}}class Nn{constructor(){this.maxCrossTileID=0}generate(){return++this.maxCrossTileID}}class _f{constructor(){this.indexes={},this.usedCrossTileIDs={},this.lng=0}handleWrapJump(u){const p=Math.round((u-this.lng)/360);if(p!==0)for(const b in this.indexes){const w=this.indexes[b],P={};for(const k in w){const z=w[k];z.tileID=z.tileID.unwrapTo(z.tileID.wrap+p),P[z.tileID.key]=z}this.indexes[b]=P}this.lng=u}addBucket(u,p,b){if(this.indexes[u.overscaledZ]&&this.indexes[u.overscaledZ][u.key]){if(this.indexes[u.overscaledZ][u.key].bucketInstanceId===p.bucketInstanceId)return!1;this.removeBucketCrossTileIDs(u.overscaledZ,this.indexes[u.overscaledZ][u.key])}for(let P=0;Pu.overscaledZ)for(const z in k){const B=k[z];B.tileID.isChildOf(u)&&B.findMatches(p.symbolInstances,u,w)}else{const z=k[u.scaledTo(Number(P)).key];z&&z.findMatches(p.symbolInstances,u,w)}}for(let P=0;P{p[b]=!0});for(const b in this.layerIndexes)p[b]||delete this.layerIndexes[b]}}const wc=(C,u)=>s.t(C,u&&u.filter(p=>p.identifier!=="source.canvas")),xs=s.ax();class om extends s.E{constructor(u,p={}){super(),this._rtlPluginLoaded=()=>{for(const b in this.sourceCaches){const w=this.sourceCaches[b].getSource().type;w!=="vector"&&w!=="geojson"||this.sourceCaches[b].reload()}},this.map=u,this.dispatcher=new ft(tt(),u._getMapId()),this.dispatcher.registerMessageHandler("GG",(b,w)=>this.getGlyphs(b,w)),this.dispatcher.registerMessageHandler("GI",(b,w)=>this.getImages(b,w)),this.imageManager=new ce,this.imageManager.setEventedParent(this),this.glyphManager=new He(u._requestManager,p.localIdeographFontFamily),this.lineAtlas=new lr(256,512),this.crossTileSymbolIndex=new Sa,this._spritesImagesIds={},this._layers={},this._order=[],this.sourceCaches={},this.zoomHistory=new s.ay,this._loaded=!1,this._availableImages=[],this._resetUpdates(),this.dispatcher.broadcast("SR",s.az()),kn().on(Ke,this._rtlPluginLoaded),this.on("data",b=>{if(b.dataType!=="source"||b.sourceDataType!=="metadata")return;const w=this.sourceCaches[b.sourceId];if(!w)return;const P=w.getSource();if(P&&P.vectorLayerIds)for(const k in this._layers){const z=this._layers[k];z.source===P.id&&this._validateLayer(z)}})}loadURL(u,p={},b){this.fire(new s.k("dataloading",{dataType:"style"})),p.validate=typeof p.validate!="boolean"||p.validate;const w=this.map._requestManager.transformRequest(u,"Style");this._loadStyleRequest=new AbortController,s.h(w,this._loadStyleRequest).then(P=>{this._loadStyleRequest=null,this._load(P.data,p,b)}).catch(P=>{this._loadStyleRequest=null,P&&this.fire(new s.j(P))})}loadJSON(u,p={},b){this.fire(new s.k("dataloading",{dataType:"style"})),this._frameRequest=new AbortController,v.frameAsync(this._frameRequest).then(()=>{this._frameRequest=null,p.validate=p.validate!==!1,this._load(u,p,b)}).catch(()=>{})}loadEmpty(){this.fire(new s.k("dataloading",{dataType:"style"})),this._load(xs,{validate:!1})}_load(u,p,b){var w;const P=p.transformStyle?p.transformStyle(b,u):u;if(!p.validate||!wc(this,s.x(P))){this._loaded=!0,this.stylesheet=P;for(const k in P.sources)this.addSource(k,P.sources[k],{validate:!1});P.sprite?this._loadSprite(P.sprite):this.imageManager.setLoaded(!0),this.glyphManager.setURL(P.glyphs),this._createLayers(),this.light=new Ct(this.stylesheet.light),this.sky=new Vt(this.stylesheet.sky),this.map.setTerrain((w=this.stylesheet.terrain)!==null&&w!==void 0?w:null),this.fire(new s.k("data",{dataType:"style"})),this.fire(new s.k("style.load"))}}_createLayers(){const u=s.aA(this.stylesheet.layers);this.dispatcher.broadcast("SL",u),this._order=u.map(p=>p.id),this._layers={},this._serializedLayers=null;for(const p of u){const b=s.aB(p);b.setEventedParent(this,{layer:{id:p.id}}),this._layers[p.id]=b}}_loadSprite(u,p=!1,b=void 0){let w;this.imageManager.setLoaded(!1),this._spriteRequest=new AbortController,function(P,k,z,B){return s._(this,void 0,void 0,function*(){const N=Q(P),q=z>1?"@2x":"",W={},te={};for(const{id:ae,url:le}of N){const ve=k.transformRequest(ee(le,q,".json"),"SpriteJSON");W[ae]=s.h(ve,B);const he=k.transformRequest(ee(le,q,".png"),"SpriteImage");te[ae]=R.getImage(he,B)}return yield Promise.all([...Object.values(W),...Object.values(te)]),function(ae,le){return s._(this,void 0,void 0,function*(){const ve={};for(const he in ae){ve[he]={};const xe=v.getImageCanvasContext((yield le[he]).data),Pe=(yield ae[he]).data;for(const pe in Pe){const{width:Me,height:ze,x:Ne,y:Xe,sdf:it,pixelRatio:Pt,stretchX:At,stretchY:ot,content:ut,textFitWidth:Rt,textFitHeight:rr}=Pe[pe];ve[he][pe]={data:null,pixelRatio:Pt,sdf:it,stretchX:At,stretchY:ot,content:ut,textFitWidth:Rt,textFitHeight:rr,spriteData:{width:Me,height:ze,x:Ne,y:Xe,context:xe}}}}return ve})}(W,te)})}(u,this.map._requestManager,this.map.getPixelRatio(),this._spriteRequest).then(P=>{if(this._spriteRequest=null,P)for(const k in P){this._spritesImagesIds[k]=[];const z=this._spritesImagesIds[k]?this._spritesImagesIds[k].filter(B=>!(B in P)):[];for(const B of z)this.imageManager.removeImage(B),this._changedImages[B]=!0;for(const B in P[k]){const N=k==="default"?B:`${k}:${B}`;this._spritesImagesIds[k].push(N),N in this.imageManager.images?this.imageManager.updateImage(N,P[k][B],!1):this.imageManager.addImage(N,P[k][B]),p&&(this._changedImages[N]=!0)}}}).catch(P=>{this._spriteRequest=null,w=P,this.fire(new s.j(w))}).finally(()=>{this.imageManager.setLoaded(!0),this._availableImages=this.imageManager.listImages(),p&&(this._changed=!0),this.dispatcher.broadcast("SI",this._availableImages),this.fire(new s.k("data",{dataType:"style"})),b&&b(w)})}_unloadSprite(){for(const u of Object.values(this._spritesImagesIds).flat())this.imageManager.removeImage(u),this._changedImages[u]=!0;this._spritesImagesIds={},this._availableImages=this.imageManager.listImages(),this._changed=!0,this.dispatcher.broadcast("SI",this._availableImages),this.fire(new s.k("data",{dataType:"style"}))}_validateLayer(u){const p=this.sourceCaches[u.source];if(!p)return;const b=u.sourceLayer;if(!b)return;const w=p.getSource();(w.type==="geojson"||w.vectorLayerIds&&w.vectorLayerIds.indexOf(b)===-1)&&this.fire(new s.j(new Error(`Source layer "${b}" does not exist on source "${w.id}" as specified by style layer "${u.id}".`)))}loaded(){if(!this._loaded||Object.keys(this._updatedSources).length)return!1;for(const u in this.sourceCaches)if(!this.sourceCaches[u].loaded())return!1;return!!this.imageManager.isLoaded()}_serializeByIds(u){const p=this._serializedAllLayers();if(!u||u.length===0)return Object.values(p);const b=[];for(const w of u)p[w]&&b.push(p[w]);return b}_serializedAllLayers(){let u=this._serializedLayers;if(u)return u;u=this._serializedLayers={};const p=Object.keys(this._layers);for(const b of p){const w=this._layers[b];w.type!=="custom"&&(u[b]=w.serialize())}return u}hasTransitions(){if(this.light&&this.light.hasTransition()||this.sky&&this.sky.hasTransition())return!0;for(const u in this.sourceCaches)if(this.sourceCaches[u].hasTransition())return!0;for(const u in this._layers)if(this._layers[u].hasTransition())return!0;return!1}_checkLoaded(){if(!this._loaded)throw new Error("Style is not done loading.")}update(u){if(!this._loaded)return;const p=this._changed;if(p){const w=Object.keys(this._updatedLayers),P=Object.keys(this._removedLayers);(w.length||P.length)&&this._updateWorkerLayers(w,P);for(const k in this._updatedSources){const z=this._updatedSources[k];if(z==="reload")this._reloadSource(k);else{if(z!=="clear")throw new Error(`Invalid action ${z}`);this._clearSource(k)}}this._updateTilesForChangedImages(),this._updateTilesForChangedGlyphs();for(const k in this._updatedPaintProps)this._layers[k].updateTransitions(u);this.light.updateTransitions(u),this.sky.updateTransitions(u),this._resetUpdates()}const b={};for(const w in this.sourceCaches){const P=this.sourceCaches[w];b[w]=P.used,P.used=!1}for(const w of this._order){const P=this._layers[w];P.recalculate(u,this._availableImages),!P.isHidden(u.zoom)&&P.source&&(this.sourceCaches[P.source].used=!0)}for(const w in b){const P=this.sourceCaches[w];!!b[w]!=!!P.used&&P.fire(new s.k("data",{sourceDataType:"visibility",dataType:"source",sourceId:w}))}this.light.recalculate(u),this.sky.recalculate(u),this.z=u.zoom,p&&this.fire(new s.k("data",{dataType:"style"}))}_updateTilesForChangedImages(){const u=Object.keys(this._changedImages);if(u.length){for(const p in this.sourceCaches)this.sourceCaches[p].reloadTilesForDependencies(["icons","patterns"],u);this._changedImages={}}}_updateTilesForChangedGlyphs(){if(this._glyphsDidChange){for(const u in this.sourceCaches)this.sourceCaches[u].reloadTilesForDependencies(["glyphs"],[""]);this._glyphsDidChange=!1}}_updateWorkerLayers(u,p){this.dispatcher.broadcast("UL",{layers:this._serializeByIds(u),removedIds:p})}_resetUpdates(){this._changed=!1,this._updatedLayers={},this._removedLayers={},this._updatedSources={},this._updatedPaintProps={},this._changedImages={},this._glyphsDidChange=!1}setState(u,p={}){var b;this._checkLoaded();const w=this.serialize();if(u=p.transformStyle?p.transformStyle(w,u):u,((b=p.validate)===null||b===void 0||b)&&wc(this,s.x(u)))return!1;(u=s.aC(u)).layers=s.aA(u.layers);const P=s.aD(w,u),k=this._getOperationsToPerform(P);if(k.unimplemented.length>0)throw new Error(`Unimplemented: ${k.unimplemented.join(", ")}.`);if(k.operations.length===0)return!1;for(const z of k.operations)z();return this.stylesheet=u,this._serializedLayers=null,!0}_getOperationsToPerform(u){const p=[],b=[];for(const w of u)switch(w.command){case"setCenter":case"setZoom":case"setBearing":case"setPitch":continue;case"addLayer":p.push(()=>this.addLayer.apply(this,w.args));break;case"removeLayer":p.push(()=>this.removeLayer.apply(this,w.args));break;case"setPaintProperty":p.push(()=>this.setPaintProperty.apply(this,w.args));break;case"setLayoutProperty":p.push(()=>this.setLayoutProperty.apply(this,w.args));break;case"setFilter":p.push(()=>this.setFilter.apply(this,w.args));break;case"addSource":p.push(()=>this.addSource.apply(this,w.args));break;case"removeSource":p.push(()=>this.removeSource.apply(this,w.args));break;case"setLayerZoomRange":p.push(()=>this.setLayerZoomRange.apply(this,w.args));break;case"setLight":p.push(()=>this.setLight.apply(this,w.args));break;case"setGeoJSONSourceData":p.push(()=>this.setGeoJSONSourceData.apply(this,w.args));break;case"setGlyphs":p.push(()=>this.setGlyphs.apply(this,w.args));break;case"setSprite":p.push(()=>this.setSprite.apply(this,w.args));break;case"setSky":p.push(()=>this.setSky.apply(this,w.args));break;case"setTerrain":p.push(()=>this.map.setTerrain.apply(this,w.args));break;case"setTransition":p.push(()=>{});break;default:b.push(w.command)}return{operations:p,unimplemented:b}}addImage(u,p){if(this.getImage(u))return this.fire(new s.j(new Error(`An image named "${u}" already exists.`)));this.imageManager.addImage(u,p),this._afterImageUpdated(u)}updateImage(u,p){this.imageManager.updateImage(u,p)}getImage(u){return this.imageManager.getImage(u)}removeImage(u){if(!this.getImage(u))return this.fire(new s.j(new Error(`An image named "${u}" does not exist.`)));this.imageManager.removeImage(u),this._afterImageUpdated(u)}_afterImageUpdated(u){this._availableImages=this.imageManager.listImages(),this._changedImages[u]=!0,this._changed=!0,this.dispatcher.broadcast("SI",this._availableImages),this.fire(new s.k("data",{dataType:"style"}))}listImages(){return this._checkLoaded(),this.imageManager.listImages()}addSource(u,p,b={}){if(this._checkLoaded(),this.sourceCaches[u]!==void 0)throw new Error(`Source "${u}" already exists.`);if(!p.type)throw new Error(`The type property must be defined, but only the following properties were given: ${Object.keys(p).join(", ")}.`);if(["vector","raster","geojson","video","image"].indexOf(p.type)>=0&&this._validate(s.x.source,`sources.${u}`,p,null,b))return;this.map&&this.map._collectResourceTiming&&(p.collectResourceTiming=!0);const w=this.sourceCaches[u]=new Kt(u,p,this.dispatcher);w.style=this,w.setEventedParent(this,()=>({isSourceLoaded:w.loaded(),source:w.serialize(),sourceId:u})),w.onAdd(this.map),this._changed=!0}removeSource(u){if(this._checkLoaded(),this.sourceCaches[u]===void 0)throw new Error("There is no source with this ID");for(const b in this._layers)if(this._layers[b].source===u)return this.fire(new s.j(new Error(`Source "${u}" cannot be removed while layer "${b}" is using it.`)));const p=this.sourceCaches[u];delete this.sourceCaches[u],delete this._updatedSources[u],p.fire(new s.k("data",{sourceDataType:"metadata",dataType:"source",sourceId:u})),p.setEventedParent(null),p.onRemove(this.map),this._changed=!0}setGeoJSONSourceData(u,p){if(this._checkLoaded(),this.sourceCaches[u]===void 0)throw new Error(`There is no source with this ID=${u}`);const b=this.sourceCaches[u].getSource();if(b.type!=="geojson")throw new Error(`geojsonSource.type is ${b.type}, which is !== 'geojson`);b.setData(p),this._changed=!0}getSource(u){return this.sourceCaches[u]&&this.sourceCaches[u].getSource()}addLayer(u,p,b={}){this._checkLoaded();const w=u.id;if(this.getLayer(w))return void this.fire(new s.j(new Error(`Layer "${w}" already exists on this map.`)));let P;if(u.type==="custom"){if(wc(this,s.aE(u)))return;P=s.aB(u)}else{if("source"in u&&typeof u.source=="object"&&(this.addSource(w,u.source),u=s.aC(u),u=s.e(u,{source:w})),this._validate(s.x.layer,`layers.${w}`,u,{arrayIndex:-1},b))return;P=s.aB(u),this._validateLayer(P),P.setEventedParent(this,{layer:{id:w}})}const k=p?this._order.indexOf(p):this._order.length;if(p&&k===-1)this.fire(new s.j(new Error(`Cannot add layer "${w}" before non-existing layer "${p}".`)));else{if(this._order.splice(k,0,w),this._layerOrderChanged=!0,this._layers[w]=P,this._removedLayers[w]&&P.source&&P.type!=="custom"){const z=this._removedLayers[w];delete this._removedLayers[w],z.type!==P.type?this._updatedSources[P.source]="clear":(this._updatedSources[P.source]="reload",this.sourceCaches[P.source].pause())}this._updateLayer(P),P.onAdd&&P.onAdd(this.map)}}moveLayer(u,p){if(this._checkLoaded(),this._changed=!0,!this._layers[u])return void this.fire(new s.j(new Error(`The layer '${u}' does not exist in the map's style and cannot be moved.`)));if(u===p)return;const b=this._order.indexOf(u);this._order.splice(b,1);const w=p?this._order.indexOf(p):this._order.length;p&&w===-1?this.fire(new s.j(new Error(`Cannot move layer "${u}" before non-existing layer "${p}".`))):(this._order.splice(w,0,u),this._layerOrderChanged=!0)}removeLayer(u){this._checkLoaded();const p=this._layers[u];if(!p)return void this.fire(new s.j(new Error(`Cannot remove non-existing layer "${u}".`)));p.setEventedParent(null);const b=this._order.indexOf(u);this._order.splice(b,1),this._layerOrderChanged=!0,this._changed=!0,this._removedLayers[u]=p,delete this._layers[u],this._serializedLayers&&delete this._serializedLayers[u],delete this._updatedLayers[u],delete this._updatedPaintProps[u],p.onRemove&&p.onRemove(this.map)}getLayer(u){return this._layers[u]}getLayersOrder(){return[...this._order]}hasLayer(u){return u in this._layers}setLayerZoomRange(u,p,b){this._checkLoaded();const w=this.getLayer(u);w?w.minzoom===p&&w.maxzoom===b||(p!=null&&(w.minzoom=p),b!=null&&(w.maxzoom=b),this._updateLayer(w)):this.fire(new s.j(new Error(`Cannot set the zoom range of non-existing layer "${u}".`)))}setFilter(u,p,b={}){this._checkLoaded();const w=this.getLayer(u);if(w){if(!s.aF(w.filter,p))return p==null?(w.filter=void 0,void this._updateLayer(w)):void(this._validate(s.x.filter,`layers.${w.id}.filter`,p,null,b)||(w.filter=s.aC(p),this._updateLayer(w)))}else this.fire(new s.j(new Error(`Cannot filter non-existing layer "${u}".`)))}getFilter(u){return s.aC(this.getLayer(u).filter)}setLayoutProperty(u,p,b,w={}){this._checkLoaded();const P=this.getLayer(u);P?s.aF(P.getLayoutProperty(p),b)||(P.setLayoutProperty(p,b,w),this._updateLayer(P)):this.fire(new s.j(new Error(`Cannot style non-existing layer "${u}".`)))}getLayoutProperty(u,p){const b=this.getLayer(u);if(b)return b.getLayoutProperty(p);this.fire(new s.j(new Error(`Cannot get style of non-existing layer "${u}".`)))}setPaintProperty(u,p,b,w={}){this._checkLoaded();const P=this.getLayer(u);P?s.aF(P.getPaintProperty(p),b)||(P.setPaintProperty(p,b,w)&&this._updateLayer(P),this._changed=!0,this._updatedPaintProps[u]=!0,this._serializedLayers=null):this.fire(new s.j(new Error(`Cannot style non-existing layer "${u}".`)))}getPaintProperty(u,p){return this.getLayer(u).getPaintProperty(p)}setFeatureState(u,p){this._checkLoaded();const b=u.source,w=u.sourceLayer,P=this.sourceCaches[b];if(P===void 0)return void this.fire(new s.j(new Error(`The source '${b}' does not exist in the map's style.`)));const k=P.getSource().type;k==="geojson"&&w?this.fire(new s.j(new Error("GeoJSON sources cannot have a sourceLayer parameter."))):k!=="vector"||w?(u.id===void 0&&this.fire(new s.j(new Error("The feature id parameter must be provided."))),P.setFeatureState(w,u.id,p)):this.fire(new s.j(new Error("The sourceLayer parameter must be provided for vector source types.")))}removeFeatureState(u,p){this._checkLoaded();const b=u.source,w=this.sourceCaches[b];if(w===void 0)return void this.fire(new s.j(new Error(`The source '${b}' does not exist in the map's style.`)));const P=w.getSource().type,k=P==="vector"?u.sourceLayer:void 0;P!=="vector"||k?p&&typeof u.id!="string"&&typeof u.id!="number"?this.fire(new s.j(new Error("A feature id is required to remove its specific state property."))):w.removeFeatureState(k,u.id,p):this.fire(new s.j(new Error("The sourceLayer parameter must be provided for vector source types.")))}getFeatureState(u){this._checkLoaded();const p=u.source,b=u.sourceLayer,w=this.sourceCaches[p];if(w!==void 0)return w.getSource().type!=="vector"||b?(u.id===void 0&&this.fire(new s.j(new Error("The feature id parameter must be provided."))),w.getFeatureState(b,u.id)):void this.fire(new s.j(new Error("The sourceLayer parameter must be provided for vector source types.")));this.fire(new s.j(new Error(`The source '${p}' does not exist in the map's style.`)))}getTransition(){return s.e({duration:300,delay:0},this.stylesheet&&this.stylesheet.transition)}serialize(){if(!this._loaded)return;const u=s.aG(this.sourceCaches,P=>P.serialize()),p=this._serializeByIds(this._order),b=this.map.getTerrain()||void 0,w=this.stylesheet;return s.aH({version:w.version,name:w.name,metadata:w.metadata,light:w.light,sky:w.sky,center:w.center,zoom:w.zoom,bearing:w.bearing,pitch:w.pitch,sprite:w.sprite,glyphs:w.glyphs,transition:w.transition,sources:u,layers:p,terrain:b},P=>P!==void 0)}_updateLayer(u){this._updatedLayers[u.id]=!0,u.source&&!this._updatedSources[u.source]&&this.sourceCaches[u.source].getSource().type!=="raster"&&(this._updatedSources[u.source]="reload",this.sourceCaches[u.source].pause()),this._serializedLayers=null,this._changed=!0}_flattenAndSortRenderedFeatures(u){const p=k=>this._layers[k].type==="fill-extrusion",b={},w=[];for(let k=this._order.length-1;k>=0;k--){const z=this._order[k];if(p(z)){b[z]=k;for(const B of u){const N=B[z];if(N)for(const q of N)w.push(q)}}}w.sort((k,z)=>z.intersectionZ-k.intersectionZ);const P=[];for(let k=this._order.length-1;k>=0;k--){const z=this._order[k];if(p(z))for(let B=w.length-1;B>=0;B--){const N=w[B].feature;if(b[N.layer.id]{const it=xe.featureSortOrder;if(it){const Pt=it.indexOf(Ne.featureIndex);return it.indexOf(Xe.featureIndex)-Pt}return Xe.featureIndex-Ne.featureIndex});for(const Ne of ze)Me.push(Ne)}}for(const xe in le)le[xe].forEach(Pe=>{const pe=Pe.feature,Me=N[z[xe].source].getFeatureState(pe.layer["source-layer"],pe.id);pe.source=pe.layer.source,pe.layer["source-layer"]&&(pe.sourceLayer=pe.layer["source-layer"]),pe.state=Me});return le}(this._layers,k,this.sourceCaches,u,p,this.placement.collisionIndex,this.placement.retainedQueryData)),this._flattenAndSortRenderedFeatures(P)}querySourceFeatures(u,p){p&&p.filter&&this._validate(s.x.filter,"querySourceFeatures.filter",p.filter,null,p);const b=this.sourceCaches[u];return b?function(w,P){const k=w.getRenderableIds().map(N=>w.getTileByID(N)),z=[],B={};for(let N=0;Nte.getTileByID(ae)).sort((ae,le)=>le.tileID.overscaledZ-ae.tileID.overscaledZ||(ae.tileID.isLessThan(le.tileID)?-1:1))}const W=this.crossTileSymbolIndex.addLayer(q,B[q.source],u.center.lng);k=k||W}if(this.crossTileSymbolIndex.pruneUnusedLayers(this._order),((P=P||this._layerOrderChanged||b===0)||!this.pauseablePlacement||this.pauseablePlacement.isDone()&&!this.placement.stillRecent(v.now(),u.zoom))&&(this.pauseablePlacement=new Un(u,this.map.terrain,this._order,P,p,b,w,this.placement),this._layerOrderChanged=!1),this.pauseablePlacement.isDone()?this.placement.setStale():(this.pauseablePlacement.continuePlacement(this._order,this._layers,B),this.pauseablePlacement.isDone()&&(this.placement=this.pauseablePlacement.commit(v.now()),z=!0),k&&this.pauseablePlacement.placement.setStale()),z||k)for(const N of this._order){const q=this._layers[N];q.type==="symbol"&&this.placement.updateLayerOpacities(q,B[q.source])}return!this.pauseablePlacement.isDone()||this.placement.hasTransitions(v.now())}_releaseSymbolFadeTiles(){for(const u in this.sourceCaches)this.sourceCaches[u].releaseSymbolFadeTiles()}getImages(u,p){return s._(this,void 0,void 0,function*(){const b=yield this.imageManager.getImages(p.icons);this._updateTilesForChangedImages();const w=this.sourceCaches[p.source];return w&&w.setDependencies(p.tileID.key,p.type,p.icons),b})}getGlyphs(u,p){return s._(this,void 0,void 0,function*(){const b=yield this.glyphManager.getGlyphs(p.stacks),w=this.sourceCaches[p.source];return w&&w.setDependencies(p.tileID.key,p.type,[""]),b})}getGlyphsUrl(){return this.stylesheet.glyphs||null}setGlyphs(u,p={}){this._checkLoaded(),u&&this._validate(s.x.glyphs,"glyphs",u,null,p)||(this._glyphsDidChange=!0,this.stylesheet.glyphs=u,this.glyphManager.entries={},this.glyphManager.setURL(u))}addSprite(u,p,b={},w){this._checkLoaded();const P=[{id:u,url:p}],k=[...Q(this.stylesheet.sprite),...P];this._validate(s.x.sprite,"sprite",k,null,b)||(this.stylesheet.sprite=k,this._loadSprite(P,!0,w))}removeSprite(u){this._checkLoaded();const p=Q(this.stylesheet.sprite);if(p.find(b=>b.id===u)){if(this._spritesImagesIds[u])for(const b of this._spritesImagesIds[u])this.imageManager.removeImage(b),this._changedImages[b]=!0;p.splice(p.findIndex(b=>b.id===u),1),this.stylesheet.sprite=p.length>0?p:void 0,delete this._spritesImagesIds[u],this._availableImages=this.imageManager.listImages(),this._changed=!0,this.dispatcher.broadcast("SI",this._availableImages),this.fire(new s.k("data",{dataType:"style"}))}else this.fire(new s.j(new Error(`Sprite "${u}" doesn't exists on this map.`)))}getSprite(){return Q(this.stylesheet.sprite)}setSprite(u,p={},b){this._checkLoaded(),u&&this._validate(s.x.sprite,"sprite",u,null,p)||(this.stylesheet.sprite=u,u?this._loadSprite(u,!0,b):(this._unloadSprite(),b&&b(null)))}}var Sc=s.Y([{name:"a_pos",type:"Int16",components:2}]);const ws={prelude:Fr(`#ifdef GL_ES +precision mediump float; +#else +#if !defined(lowp) +#define lowp +#endif +#if !defined(mediump) +#define mediump +#endif +#if !defined(highp) +#define highp +#endif +#endif +`,`#ifdef GL_ES +precision highp float; +#else +#if !defined(lowp) +#define lowp +#endif +#if !defined(mediump) +#define mediump +#endif +#if !defined(highp) +#define highp +#endif +#endif +vec2 unpack_float(const float packedValue) {int packedIntValue=int(packedValue);int v0=packedIntValue/256;return vec2(v0,packedIntValue-v0*256);}vec2 unpack_opacity(const float packedOpacity) {int intOpacity=int(packedOpacity)/2;return vec2(float(intOpacity)/127.0,mod(packedOpacity,2.0));}vec4 decode_color(const vec2 encodedColor) {return vec4(unpack_float(encodedColor[0])/255.0,unpack_float(encodedColor[1])/255.0 +);}float unpack_mix_vec2(const vec2 packedValue,const float t) {return mix(packedValue[0],packedValue[1],t);}vec4 unpack_mix_color(const vec4 packedColors,const float t) {vec4 minColor=decode_color(vec2(packedColors[0],packedColors[1]));vec4 maxColor=decode_color(vec2(packedColors[2],packedColors[3]));return mix(minColor,maxColor,t);}vec2 get_pattern_pos(const vec2 pixel_coord_upper,const vec2 pixel_coord_lower,const vec2 pattern_size,const float tile_units_to_pixels,const vec2 pos) {vec2 offset=mod(mod(mod(pixel_coord_upper,pattern_size)*256.0,pattern_size)*256.0+pixel_coord_lower,pattern_size);return (tile_units_to_pixels*pos+offset)/pattern_size;} +#ifdef TERRAIN3D +uniform sampler2D u_terrain;uniform float u_terrain_dim;uniform mat4 u_terrain_matrix;uniform vec4 u_terrain_unpack;uniform float u_terrain_exaggeration;uniform highp sampler2D u_depth; +#endif +const highp vec4 bitSh=vec4(256.*256.*256.,256.*256.,256.,1.);const highp vec4 bitShifts=vec4(1.)/bitSh;highp float unpack(highp vec4 color) {return dot(color,bitShifts);}highp float depthOpacity(vec3 frag) { +#ifdef TERRAIN3D +highp float d=unpack(texture2D(u_depth,frag.xy*0.5+0.5))+0.0001-frag.z;return 1.0-max(0.0,min(1.0,-d*500.0)); +#else +return 1.0; +#endif +}float calculate_visibility(vec4 pos) { +#ifdef TERRAIN3D +vec3 frag=pos.xyz/pos.w;highp float d=depthOpacity(frag);if (d > 0.95) return 1.0;return (d+depthOpacity(frag+vec3(0.0,0.01,0.0)))/2.0; +#else +return 1.0; +#endif +}float ele(vec2 pos) { +#ifdef TERRAIN3D +vec4 rgb=(texture2D(u_terrain,pos)*255.0)*u_terrain_unpack;return rgb.r+rgb.g+rgb.b-u_terrain_unpack.a; +#else +return 0.0; +#endif +}float get_elevation(vec2 pos) { +#ifdef TERRAIN3D +vec2 coord=(u_terrain_matrix*vec4(pos,0.0,1.0)).xy*u_terrain_dim+1.0;vec2 f=fract(coord);vec2 c=(floor(coord)+0.5)/(u_terrain_dim+2.0);float d=1.0/(u_terrain_dim+2.0);float tl=ele(c);float tr=ele(c+vec2(d,0.0));float bl=ele(c+vec2(0.0,d));float br=ele(c+vec2(d,d));float elevation=mix(mix(tl,tr,f.x),mix(bl,br,f.x),f.y);return elevation*u_terrain_exaggeration; +#else +return 0.0; +#endif +}`),background:Fr(`uniform vec4 u_color;uniform float u_opacity;void main() {gl_FragColor=u_color*u_opacity; +#ifdef OVERDRAW_INSPECTOR +gl_FragColor=vec4(1.0); +#endif +}`,"attribute vec2 a_pos;uniform mat4 u_matrix;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);}"),backgroundPattern:Fr(`uniform vec2 u_pattern_tl_a;uniform vec2 u_pattern_br_a;uniform vec2 u_pattern_tl_b;uniform vec2 u_pattern_br_b;uniform vec2 u_texsize;uniform float u_mix;uniform float u_opacity;uniform sampler2D u_image;varying vec2 v_pos_a;varying vec2 v_pos_b;void main() {vec2 imagecoord=mod(v_pos_a,1.0);vec2 pos=mix(u_pattern_tl_a/u_texsize,u_pattern_br_a/u_texsize,imagecoord);vec4 color1=texture2D(u_image,pos);vec2 imagecoord_b=mod(v_pos_b,1.0);vec2 pos2=mix(u_pattern_tl_b/u_texsize,u_pattern_br_b/u_texsize,imagecoord_b);vec4 color2=texture2D(u_image,pos2);gl_FragColor=mix(color1,color2,u_mix)*u_opacity; +#ifdef OVERDRAW_INSPECTOR +gl_FragColor=vec4(1.0); +#endif +}`,"uniform mat4 u_matrix;uniform vec2 u_pattern_size_a;uniform vec2 u_pattern_size_b;uniform vec2 u_pixel_coord_upper;uniform vec2 u_pixel_coord_lower;uniform float u_scale_a;uniform float u_scale_b;uniform float u_tile_units_to_pixels;attribute vec2 a_pos;varying vec2 v_pos_a;varying vec2 v_pos_b;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);v_pos_a=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,u_scale_a*u_pattern_size_a,u_tile_units_to_pixels,a_pos);v_pos_b=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,u_scale_b*u_pattern_size_b,u_tile_units_to_pixels,a_pos);}"),circle:Fr(`varying vec3 v_data;varying float v_visibility; +#pragma mapbox: define highp vec4 color +#pragma mapbox: define mediump float radius +#pragma mapbox: define lowp float blur +#pragma mapbox: define lowp float opacity +#pragma mapbox: define highp vec4 stroke_color +#pragma mapbox: define mediump float stroke_width +#pragma mapbox: define lowp float stroke_opacity +void main() { +#pragma mapbox: initialize highp vec4 color +#pragma mapbox: initialize mediump float radius +#pragma mapbox: initialize lowp float blur +#pragma mapbox: initialize lowp float opacity +#pragma mapbox: initialize highp vec4 stroke_color +#pragma mapbox: initialize mediump float stroke_width +#pragma mapbox: initialize lowp float stroke_opacity +vec2 extrude=v_data.xy;float extrude_length=length(extrude);lowp float antialiasblur=v_data.z;float antialiased_blur=-max(blur,antialiasblur);float opacity_t=smoothstep(0.0,antialiased_blur,extrude_length-1.0);float color_t=stroke_width < 0.01 ? 0.0 : smoothstep(antialiased_blur,0.0,extrude_length-radius/(radius+stroke_width));gl_FragColor=v_visibility*opacity_t*mix(color*opacity,stroke_color*stroke_opacity,color_t); +#ifdef OVERDRAW_INSPECTOR +gl_FragColor=vec4(1.0); +#endif +}`,`uniform mat4 u_matrix;uniform bool u_scale_with_map;uniform bool u_pitch_with_map;uniform vec2 u_extrude_scale;uniform lowp float u_device_pixel_ratio;uniform highp float u_camera_to_center_distance;attribute vec2 a_pos;varying vec3 v_data;varying float v_visibility; +#pragma mapbox: define highp vec4 color +#pragma mapbox: define mediump float radius +#pragma mapbox: define lowp float blur +#pragma mapbox: define lowp float opacity +#pragma mapbox: define highp vec4 stroke_color +#pragma mapbox: define mediump float stroke_width +#pragma mapbox: define lowp float stroke_opacity +void main(void) { +#pragma mapbox: initialize highp vec4 color +#pragma mapbox: initialize mediump float radius +#pragma mapbox: initialize lowp float blur +#pragma mapbox: initialize lowp float opacity +#pragma mapbox: initialize highp vec4 stroke_color +#pragma mapbox: initialize mediump float stroke_width +#pragma mapbox: initialize lowp float stroke_opacity +vec2 extrude=vec2(mod(a_pos,2.0)*2.0-1.0);vec2 circle_center=floor(a_pos*0.5);float ele=get_elevation(circle_center);v_visibility=calculate_visibility(u_matrix*vec4(circle_center,ele,1.0));if (u_pitch_with_map) {vec2 corner_position=circle_center;if (u_scale_with_map) {corner_position+=extrude*(radius+stroke_width)*u_extrude_scale;} else {vec4 projected_center=u_matrix*vec4(circle_center,0,1);corner_position+=extrude*(radius+stroke_width)*u_extrude_scale*(projected_center.w/u_camera_to_center_distance);}gl_Position=u_matrix*vec4(corner_position,ele,1);} else {gl_Position=u_matrix*vec4(circle_center,ele,1);if (u_scale_with_map) {gl_Position.xy+=extrude*(radius+stroke_width)*u_extrude_scale*u_camera_to_center_distance;} else {gl_Position.xy+=extrude*(radius+stroke_width)*u_extrude_scale*gl_Position.w;}}lowp float antialiasblur=1.0/u_device_pixel_ratio/(radius+stroke_width);v_data=vec3(extrude.x,extrude.y,antialiasblur);}`),clippingMask:Fr("void main() {gl_FragColor=vec4(1.0);}","attribute vec2 a_pos;uniform mat4 u_matrix;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);}"),heatmap:Fr(`uniform highp float u_intensity;varying vec2 v_extrude; +#pragma mapbox: define highp float weight +#define GAUSS_COEF 0.3989422804014327 +void main() { +#pragma mapbox: initialize highp float weight +float d=-0.5*3.0*3.0*dot(v_extrude,v_extrude);float val=weight*u_intensity*GAUSS_COEF*exp(d);gl_FragColor=vec4(val,1.0,1.0,1.0); +#ifdef OVERDRAW_INSPECTOR +gl_FragColor=vec4(1.0); +#endif +}`,`uniform mat4 u_matrix;uniform float u_extrude_scale;uniform float u_opacity;uniform float u_intensity;attribute vec2 a_pos;varying vec2 v_extrude; +#pragma mapbox: define highp float weight +#pragma mapbox: define mediump float radius +const highp float ZERO=1.0/255.0/16.0; +#define GAUSS_COEF 0.3989422804014327 +void main(void) { +#pragma mapbox: initialize highp float weight +#pragma mapbox: initialize mediump float radius +vec2 unscaled_extrude=vec2(mod(a_pos,2.0)*2.0-1.0);float S=sqrt(-2.0*log(ZERO/weight/u_intensity/GAUSS_COEF))/3.0;v_extrude=S*unscaled_extrude;vec2 extrude=v_extrude*radius*u_extrude_scale;vec4 pos=vec4(floor(a_pos*0.5)+extrude,0,1);gl_Position=u_matrix*pos;}`),heatmapTexture:Fr(`uniform sampler2D u_image;uniform sampler2D u_color_ramp;uniform float u_opacity;varying vec2 v_pos;void main() {float t=texture2D(u_image,v_pos).r;vec4 color=texture2D(u_color_ramp,vec2(t,0.5));gl_FragColor=color*u_opacity; +#ifdef OVERDRAW_INSPECTOR +gl_FragColor=vec4(0.0); +#endif +}`,"uniform mat4 u_matrix;uniform vec2 u_world;attribute vec2 a_pos;varying vec2 v_pos;void main() {gl_Position=u_matrix*vec4(a_pos*u_world,0,1);v_pos.x=a_pos.x;v_pos.y=1.0-a_pos.y;}"),collisionBox:Fr("varying float v_placed;varying float v_notUsed;void main() {float alpha=0.5;gl_FragColor=vec4(1.0,0.0,0.0,1.0)*alpha;if (v_placed > 0.5) {gl_FragColor=vec4(0.0,0.0,1.0,0.5)*alpha;}if (v_notUsed > 0.5) {gl_FragColor*=.1;}}","attribute vec2 a_anchor_pos;attribute vec2 a_placed;attribute vec2 a_box_real;uniform mat4 u_matrix;uniform vec2 u_pixel_extrude_scale;varying float v_placed;varying float v_notUsed;vec4 projectTileWithElevation(vec2 posInTile,float elevation) {return u_matrix*vec4(posInTile,elevation,1.0);}void main() {gl_Position=projectTileWithElevation(a_anchor_pos,get_elevation(a_anchor_pos));gl_Position.xy=((a_box_real+0.5)*u_pixel_extrude_scale*2.0-1.0)*vec2(1.0,-1.0)*gl_Position.w;if (gl_Position.z/gl_Position.w < 1.1) {gl_Position.z=0.5;}v_placed=a_placed.x;v_notUsed=a_placed.y;}"),collisionCircle:Fr("varying float v_radius;varying vec2 v_extrude;varying float v_perspective_ratio;varying float v_collision;void main() {float alpha=0.5*min(v_perspective_ratio,1.0);float stroke_radius=0.9*max(v_perspective_ratio,1.0);float distance_to_center=length(v_extrude);float distance_to_edge=abs(distance_to_center-v_radius);float opacity_t=smoothstep(-stroke_radius,0.0,-distance_to_edge);vec4 color=mix(vec4(0.0,0.0,1.0,0.5),vec4(1.0,0.0,0.0,1.0),v_collision);gl_FragColor=color*alpha*opacity_t;}","attribute vec2 a_pos;attribute float a_radius;attribute vec2 a_flags;uniform mat4 u_matrix;uniform mat4 u_inv_matrix;uniform vec2 u_viewport_size;uniform float u_camera_to_center_distance;varying float v_radius;varying vec2 v_extrude;varying float v_perspective_ratio;varying float v_collision;vec3 toTilePosition(vec2 screenPos) {vec4 rayStart=u_inv_matrix*vec4(screenPos,-1.0,1.0);vec4 rayEnd =u_inv_matrix*vec4(screenPos, 1.0,1.0);rayStart.xyz/=rayStart.w;rayEnd.xyz /=rayEnd.w;highp float t=(0.0-rayStart.z)/(rayEnd.z-rayStart.z);return mix(rayStart.xyz,rayEnd.xyz,t);}void main() {vec2 quadCenterPos=a_pos;float radius=a_radius;float collision=a_flags.x;float vertexIdx=a_flags.y;vec2 quadVertexOffset=vec2(mix(-1.0,1.0,float(vertexIdx >=2.0)),mix(-1.0,1.0,float(vertexIdx >=1.0 && vertexIdx <=2.0)));vec2 quadVertexExtent=quadVertexOffset*radius;vec3 tilePos=toTilePosition(quadCenterPos);vec4 clipPos=u_matrix*vec4(tilePos,1.0);highp float camera_to_anchor_distance=clipPos.w;highp float collision_perspective_ratio=clamp(0.5+0.5*(u_camera_to_center_distance/camera_to_anchor_distance),0.0,4.0);float padding_factor=1.2;v_radius=radius;v_extrude=quadVertexExtent*padding_factor;v_perspective_ratio=collision_perspective_ratio;v_collision=collision;gl_Position=vec4(clipPos.xyz/clipPos.w,1.0)+vec4(quadVertexExtent*padding_factor/u_viewport_size*2.0,0.0,0.0);}"),debug:Fr("uniform highp vec4 u_color;uniform sampler2D u_overlay;varying vec2 v_uv;void main() {vec4 overlay_color=texture2D(u_overlay,v_uv);gl_FragColor=mix(u_color,overlay_color,overlay_color.a);}","attribute vec2 a_pos;varying vec2 v_uv;uniform mat4 u_matrix;uniform float u_overlay_scale;void main() {v_uv=a_pos/8192.0;gl_Position=u_matrix*vec4(a_pos*u_overlay_scale,get_elevation(a_pos),1);}"),fill:Fr(`#pragma mapbox: define highp vec4 color +#pragma mapbox: define lowp float opacity +void main() { +#pragma mapbox: initialize highp vec4 color +#pragma mapbox: initialize lowp float opacity +gl_FragColor=color*opacity; +#ifdef OVERDRAW_INSPECTOR +gl_FragColor=vec4(1.0); +#endif +}`,`attribute vec2 a_pos;uniform mat4 u_matrix; +#pragma mapbox: define highp vec4 color +#pragma mapbox: define lowp float opacity +void main() { +#pragma mapbox: initialize highp vec4 color +#pragma mapbox: initialize lowp float opacity +gl_Position=u_matrix*vec4(a_pos,0,1);}`),fillOutline:Fr(`varying vec2 v_pos; +#pragma mapbox: define highp vec4 outline_color +#pragma mapbox: define lowp float opacity +void main() { +#pragma mapbox: initialize highp vec4 outline_color +#pragma mapbox: initialize lowp float opacity +float dist=length(v_pos-gl_FragCoord.xy);float alpha=1.0-smoothstep(0.0,1.0,dist);gl_FragColor=outline_color*(alpha*opacity); +#ifdef OVERDRAW_INSPECTOR +gl_FragColor=vec4(1.0); +#endif +}`,`attribute vec2 a_pos;uniform mat4 u_matrix;uniform vec2 u_world;varying vec2 v_pos; +#pragma mapbox: define highp vec4 outline_color +#pragma mapbox: define lowp float opacity +void main() { +#pragma mapbox: initialize highp vec4 outline_color +#pragma mapbox: initialize lowp float opacity +gl_Position=u_matrix*vec4(a_pos,0,1);v_pos=(gl_Position.xy/gl_Position.w+1.0)/2.0*u_world;}`),fillOutlinePattern:Fr(`uniform vec2 u_texsize;uniform sampler2D u_image;uniform float u_fade;varying vec2 v_pos_a;varying vec2 v_pos_b;varying vec2 v_pos; +#pragma mapbox: define lowp float opacity +#pragma mapbox: define lowp vec4 pattern_from +#pragma mapbox: define lowp vec4 pattern_to +void main() { +#pragma mapbox: initialize lowp float opacity +#pragma mapbox: initialize mediump vec4 pattern_from +#pragma mapbox: initialize mediump vec4 pattern_to +vec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;vec2 imagecoord=mod(v_pos_a,1.0);vec2 pos=mix(pattern_tl_a/u_texsize,pattern_br_a/u_texsize,imagecoord);vec4 color1=texture2D(u_image,pos);vec2 imagecoord_b=mod(v_pos_b,1.0);vec2 pos2=mix(pattern_tl_b/u_texsize,pattern_br_b/u_texsize,imagecoord_b);vec4 color2=texture2D(u_image,pos2);float dist=length(v_pos-gl_FragCoord.xy);float alpha=1.0-smoothstep(0.0,1.0,dist);gl_FragColor=mix(color1,color2,u_fade)*alpha*opacity; +#ifdef OVERDRAW_INSPECTOR +gl_FragColor=vec4(1.0); +#endif +}`,`uniform mat4 u_matrix;uniform vec2 u_world;uniform vec2 u_pixel_coord_upper;uniform vec2 u_pixel_coord_lower;uniform vec3 u_scale;attribute vec2 a_pos;varying vec2 v_pos_a;varying vec2 v_pos_b;varying vec2 v_pos; +#pragma mapbox: define lowp float opacity +#pragma mapbox: define lowp vec4 pattern_from +#pragma mapbox: define lowp vec4 pattern_to +#pragma mapbox: define lowp float pixel_ratio_from +#pragma mapbox: define lowp float pixel_ratio_to +void main() { +#pragma mapbox: initialize lowp float opacity +#pragma mapbox: initialize mediump vec4 pattern_from +#pragma mapbox: initialize mediump vec4 pattern_to +#pragma mapbox: initialize lowp float pixel_ratio_from +#pragma mapbox: initialize lowp float pixel_ratio_to +vec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;float tileRatio=u_scale.x;float fromScale=u_scale.y;float toScale=u_scale.z;gl_Position=u_matrix*vec4(a_pos,0,1);vec2 display_size_a=(pattern_br_a-pattern_tl_a)/pixel_ratio_from;vec2 display_size_b=(pattern_br_b-pattern_tl_b)/pixel_ratio_to;v_pos_a=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,fromScale*display_size_a,tileRatio,a_pos);v_pos_b=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,toScale*display_size_b,tileRatio,a_pos);v_pos=(gl_Position.xy/gl_Position.w+1.0)/2.0*u_world;}`),fillPattern:Fr(`#ifdef GL_ES +precision highp float; +#endif +uniform vec2 u_texsize;uniform float u_fade;uniform sampler2D u_image;varying vec2 v_pos_a;varying vec2 v_pos_b; +#pragma mapbox: define lowp float opacity +#pragma mapbox: define lowp vec4 pattern_from +#pragma mapbox: define lowp vec4 pattern_to +void main() { +#pragma mapbox: initialize lowp float opacity +#pragma mapbox: initialize mediump vec4 pattern_from +#pragma mapbox: initialize mediump vec4 pattern_to +vec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;vec2 imagecoord=mod(v_pos_a,1.0);vec2 pos=mix(pattern_tl_a/u_texsize,pattern_br_a/u_texsize,imagecoord);vec4 color1=texture2D(u_image,pos);vec2 imagecoord_b=mod(v_pos_b,1.0);vec2 pos2=mix(pattern_tl_b/u_texsize,pattern_br_b/u_texsize,imagecoord_b);vec4 color2=texture2D(u_image,pos2);gl_FragColor=mix(color1,color2,u_fade)*opacity; +#ifdef OVERDRAW_INSPECTOR +gl_FragColor=vec4(1.0); +#endif +}`,`uniform mat4 u_matrix;uniform vec2 u_pixel_coord_upper;uniform vec2 u_pixel_coord_lower;uniform vec3 u_scale;attribute vec2 a_pos;varying vec2 v_pos_a;varying vec2 v_pos_b; +#pragma mapbox: define lowp float opacity +#pragma mapbox: define lowp vec4 pattern_from +#pragma mapbox: define lowp vec4 pattern_to +#pragma mapbox: define lowp float pixel_ratio_from +#pragma mapbox: define lowp float pixel_ratio_to +void main() { +#pragma mapbox: initialize lowp float opacity +#pragma mapbox: initialize mediump vec4 pattern_from +#pragma mapbox: initialize mediump vec4 pattern_to +#pragma mapbox: initialize lowp float pixel_ratio_from +#pragma mapbox: initialize lowp float pixel_ratio_to +vec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;float tileZoomRatio=u_scale.x;float fromScale=u_scale.y;float toScale=u_scale.z;vec2 display_size_a=(pattern_br_a-pattern_tl_a)/pixel_ratio_from;vec2 display_size_b=(pattern_br_b-pattern_tl_b)/pixel_ratio_to;gl_Position=u_matrix*vec4(a_pos,0,1);v_pos_a=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,fromScale*display_size_a,tileZoomRatio,a_pos);v_pos_b=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,toScale*display_size_b,tileZoomRatio,a_pos);}`),fillExtrusion:Fr(`varying vec4 v_color;void main() {gl_FragColor=v_color; +#ifdef OVERDRAW_INSPECTOR +gl_FragColor=vec4(1.0); +#endif +}`,`uniform mat4 u_matrix;uniform vec3 u_lightcolor;uniform lowp vec3 u_lightpos;uniform lowp float u_lightintensity;uniform float u_vertical_gradient;uniform lowp float u_opacity;attribute vec2 a_pos;attribute vec4 a_normal_ed; +#ifdef TERRAIN3D +attribute vec2 a_centroid; +#endif +varying vec4 v_color; +#pragma mapbox: define highp float base +#pragma mapbox: define highp float height +#pragma mapbox: define highp vec4 color +void main() { +#pragma mapbox: initialize highp float base +#pragma mapbox: initialize highp float height +#pragma mapbox: initialize highp vec4 color +vec3 normal=a_normal_ed.xyz; +#ifdef TERRAIN3D +float height_terrain3d_offset=get_elevation(a_centroid);float base_terrain3d_offset=height_terrain3d_offset-(base > 0.0 ? 0.0 : 10.0); +#else +float height_terrain3d_offset=0.0;float base_terrain3d_offset=0.0; +#endif +base=max(0.0,base)+base_terrain3d_offset;height=max(0.0,height)+height_terrain3d_offset;float t=mod(normal.x,2.0);gl_Position=u_matrix*vec4(a_pos,t > 0.0 ? height : base,1);float colorvalue=color.r*0.2126+color.g*0.7152+color.b*0.0722;v_color=vec4(0.0,0.0,0.0,1.0);vec4 ambientlight=vec4(0.03,0.03,0.03,1.0);color+=ambientlight;float directional=clamp(dot(normal/16384.0,u_lightpos),0.0,1.0);directional=mix((1.0-u_lightintensity),max((1.0-colorvalue+u_lightintensity),1.0),directional);if (normal.y !=0.0) {directional*=((1.0-u_vertical_gradient)+(u_vertical_gradient*clamp((t+base)*pow(height/150.0,0.5),mix(0.7,0.98,1.0-u_lightintensity),1.0)));}v_color.r+=clamp(color.r*directional*u_lightcolor.r,mix(0.0,0.3,1.0-u_lightcolor.r),1.0);v_color.g+=clamp(color.g*directional*u_lightcolor.g,mix(0.0,0.3,1.0-u_lightcolor.g),1.0);v_color.b+=clamp(color.b*directional*u_lightcolor.b,mix(0.0,0.3,1.0-u_lightcolor.b),1.0);v_color*=u_opacity;}`),fillExtrusionPattern:Fr(`uniform vec2 u_texsize;uniform float u_fade;uniform sampler2D u_image;varying vec2 v_pos_a;varying vec2 v_pos_b;varying vec4 v_lighting; +#pragma mapbox: define lowp float base +#pragma mapbox: define lowp float height +#pragma mapbox: define lowp vec4 pattern_from +#pragma mapbox: define lowp vec4 pattern_to +#pragma mapbox: define lowp float pixel_ratio_from +#pragma mapbox: define lowp float pixel_ratio_to +void main() { +#pragma mapbox: initialize lowp float base +#pragma mapbox: initialize lowp float height +#pragma mapbox: initialize mediump vec4 pattern_from +#pragma mapbox: initialize mediump vec4 pattern_to +#pragma mapbox: initialize lowp float pixel_ratio_from +#pragma mapbox: initialize lowp float pixel_ratio_to +vec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;vec2 imagecoord=mod(v_pos_a,1.0);vec2 pos=mix(pattern_tl_a/u_texsize,pattern_br_a/u_texsize,imagecoord);vec4 color1=texture2D(u_image,pos);vec2 imagecoord_b=mod(v_pos_b,1.0);vec2 pos2=mix(pattern_tl_b/u_texsize,pattern_br_b/u_texsize,imagecoord_b);vec4 color2=texture2D(u_image,pos2);vec4 mixedColor=mix(color1,color2,u_fade);gl_FragColor=mixedColor*v_lighting; +#ifdef OVERDRAW_INSPECTOR +gl_FragColor=vec4(1.0); +#endif +}`,`uniform mat4 u_matrix;uniform vec2 u_pixel_coord_upper;uniform vec2 u_pixel_coord_lower;uniform float u_height_factor;uniform vec3 u_scale;uniform float u_vertical_gradient;uniform lowp float u_opacity;uniform vec3 u_lightcolor;uniform lowp vec3 u_lightpos;uniform lowp float u_lightintensity;attribute vec2 a_pos;attribute vec4 a_normal_ed; +#ifdef TERRAIN3D +attribute vec2 a_centroid; +#endif +varying vec2 v_pos_a;varying vec2 v_pos_b;varying vec4 v_lighting; +#pragma mapbox: define lowp float base +#pragma mapbox: define lowp float height +#pragma mapbox: define lowp vec4 pattern_from +#pragma mapbox: define lowp vec4 pattern_to +#pragma mapbox: define lowp float pixel_ratio_from +#pragma mapbox: define lowp float pixel_ratio_to +void main() { +#pragma mapbox: initialize lowp float base +#pragma mapbox: initialize lowp float height +#pragma mapbox: initialize mediump vec4 pattern_from +#pragma mapbox: initialize mediump vec4 pattern_to +#pragma mapbox: initialize lowp float pixel_ratio_from +#pragma mapbox: initialize lowp float pixel_ratio_to +vec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;float tileRatio=u_scale.x;float fromScale=u_scale.y;float toScale=u_scale.z;vec3 normal=a_normal_ed.xyz;float edgedistance=a_normal_ed.w;vec2 display_size_a=(pattern_br_a-pattern_tl_a)/pixel_ratio_from;vec2 display_size_b=(pattern_br_b-pattern_tl_b)/pixel_ratio_to; +#ifdef TERRAIN3D +float height_terrain3d_offset=get_elevation(a_centroid);float base_terrain3d_offset=height_terrain3d_offset-(base > 0.0 ? 0.0 : 10.0); +#else +float height_terrain3d_offset=0.0;float base_terrain3d_offset=0.0; +#endif +base=max(0.0,base)+base_terrain3d_offset;height=max(0.0,height)+height_terrain3d_offset;float t=mod(normal.x,2.0);float z=t > 0.0 ? height : base;gl_Position=u_matrix*vec4(a_pos,z,1);vec2 pos=normal.x==1.0 && normal.y==0.0 && normal.z==16384.0 +? a_pos +: vec2(edgedistance,z*u_height_factor);v_pos_a=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,fromScale*display_size_a,tileRatio,pos);v_pos_b=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,toScale*display_size_b,tileRatio,pos);v_lighting=vec4(0.0,0.0,0.0,1.0);float directional=clamp(dot(normal/16383.0,u_lightpos),0.0,1.0);directional=mix((1.0-u_lightintensity),max((0.5+u_lightintensity),1.0),directional);if (normal.y !=0.0) {directional*=((1.0-u_vertical_gradient)+(u_vertical_gradient*clamp((t+base)*pow(height/150.0,0.5),mix(0.7,0.98,1.0-u_lightintensity),1.0)));}v_lighting.rgb+=clamp(directional*u_lightcolor,mix(vec3(0.0),vec3(0.3),1.0-u_lightcolor),vec3(1.0));v_lighting*=u_opacity;}`),hillshadePrepare:Fr(`#ifdef GL_ES +precision highp float; +#endif +uniform sampler2D u_image;varying vec2 v_pos;uniform vec2 u_dimension;uniform float u_zoom;uniform vec4 u_unpack;float getElevation(vec2 coord,float bias) {vec4 data=texture2D(u_image,coord)*255.0;data.a=-1.0;return dot(data,u_unpack)/4.0;}void main() {vec2 epsilon=1.0/u_dimension;float a=getElevation(v_pos+vec2(-epsilon.x,-epsilon.y),0.0);float b=getElevation(v_pos+vec2(0,-epsilon.y),0.0);float c=getElevation(v_pos+vec2(epsilon.x,-epsilon.y),0.0);float d=getElevation(v_pos+vec2(-epsilon.x,0),0.0);float e=getElevation(v_pos,0.0);float f=getElevation(v_pos+vec2(epsilon.x,0),0.0);float g=getElevation(v_pos+vec2(-epsilon.x,epsilon.y),0.0);float h=getElevation(v_pos+vec2(0,epsilon.y),0.0);float i=getElevation(v_pos+vec2(epsilon.x,epsilon.y),0.0);float exaggerationFactor=u_zoom < 2.0 ? 0.4 : u_zoom < 4.5 ? 0.35 : 0.3;float exaggeration=u_zoom < 15.0 ? (u_zoom-15.0)*exaggerationFactor : 0.0;vec2 deriv=vec2((c+f+f+i)-(a+d+d+g),(g+h+h+i)-(a+b+b+c))/pow(2.0,exaggeration+(19.2562-u_zoom));gl_FragColor=clamp(vec4(deriv.x/2.0+0.5,deriv.y/2.0+0.5,1.0,1.0),0.0,1.0); +#ifdef OVERDRAW_INSPECTOR +gl_FragColor=vec4(1.0); +#endif +}`,"uniform mat4 u_matrix;uniform vec2 u_dimension;attribute vec2 a_pos;attribute vec2 a_texture_pos;varying vec2 v_pos;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);highp vec2 epsilon=1.0/u_dimension;float scale=(u_dimension.x-2.0)/u_dimension.x;v_pos=(a_texture_pos/8192.0)*scale+epsilon;}"),hillshade:Fr(`uniform sampler2D u_image;varying vec2 v_pos;uniform vec2 u_latrange;uniform vec2 u_light;uniform vec4 u_shadow;uniform vec4 u_highlight;uniform vec4 u_accent; +#define PI 3.141592653589793 +void main() {vec4 pixel=texture2D(u_image,v_pos);vec2 deriv=((pixel.rg*2.0)-1.0);float scaleFactor=cos(radians((u_latrange[0]-u_latrange[1])*(1.0-v_pos.y)+u_latrange[1]));float slope=atan(1.25*length(deriv)/scaleFactor);float aspect=deriv.x !=0.0 ? atan(deriv.y,-deriv.x) : PI/2.0*(deriv.y > 0.0 ? 1.0 :-1.0);float intensity=u_light.x;float azimuth=u_light.y+PI;float base=1.875-intensity*1.75;float maxValue=0.5*PI;float scaledSlope=intensity !=0.5 ? ((pow(base,slope)-1.0)/(pow(base,maxValue)-1.0))*maxValue : slope;float accent=cos(scaledSlope);vec4 accent_color=(1.0-accent)*u_accent*clamp(intensity*2.0,0.0,1.0);float shade=abs(mod((aspect+azimuth)/PI+0.5,2.0)-1.0);vec4 shade_color=mix(u_shadow,u_highlight,shade)*sin(scaledSlope)*clamp(intensity*2.0,0.0,1.0);gl_FragColor=accent_color*(1.0-shade_color.a)+shade_color; +#ifdef OVERDRAW_INSPECTOR +gl_FragColor=vec4(1.0); +#endif +}`,"uniform mat4 u_matrix;attribute vec2 a_pos;attribute vec2 a_texture_pos;varying vec2 v_pos;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);v_pos=a_texture_pos/8192.0;}"),line:Fr(`uniform lowp float u_device_pixel_ratio;varying vec2 v_width2;varying vec2 v_normal;varying float v_gamma_scale; +#pragma mapbox: define highp vec4 color +#pragma mapbox: define lowp float blur +#pragma mapbox: define lowp float opacity +void main() { +#pragma mapbox: initialize highp vec4 color +#pragma mapbox: initialize lowp float blur +#pragma mapbox: initialize lowp float opacity +float dist=length(v_normal)*v_width2.s;float blur2=(blur+1.0/u_device_pixel_ratio)*v_gamma_scale;float alpha=clamp(min(dist-(v_width2.t-blur2),v_width2.s-dist)/blur2,0.0,1.0);gl_FragColor=color*(alpha*opacity); +#ifdef OVERDRAW_INSPECTOR +gl_FragColor=vec4(1.0); +#endif +}`,` +#define scale 0.015873016 +attribute vec2 a_pos_normal;attribute vec4 a_data;uniform mat4 u_matrix;uniform mediump float u_ratio;uniform vec2 u_units_to_pixels;uniform lowp float u_device_pixel_ratio;varying vec2 v_normal;varying vec2 v_width2;varying float v_gamma_scale;varying highp float v_linesofar; +#pragma mapbox: define highp vec4 color +#pragma mapbox: define lowp float blur +#pragma mapbox: define lowp float opacity +#pragma mapbox: define mediump float gapwidth +#pragma mapbox: define lowp float offset +#pragma mapbox: define mediump float width +void main() { +#pragma mapbox: initialize highp vec4 color +#pragma mapbox: initialize lowp float blur +#pragma mapbox: initialize lowp float opacity +#pragma mapbox: initialize mediump float gapwidth +#pragma mapbox: initialize lowp float offset +#pragma mapbox: initialize mediump float width +float ANTIALIASING=1.0/u_device_pixel_ratio/2.0;vec2 a_extrude=a_data.xy-128.0;float a_direction=mod(a_data.z,4.0)-1.0;v_linesofar=(floor(a_data.z/4.0)+a_data.w*64.0)*2.0;vec2 pos=floor(a_pos_normal*0.5);mediump vec2 normal=a_pos_normal-2.0*pos;normal.y=normal.y*2.0-1.0;v_normal=normal;gapwidth=gapwidth/2.0;float halfwidth=width/2.0;offset=-1.0*offset;float inset=gapwidth+(gapwidth > 0.0 ? ANTIALIASING : 0.0);float outset=gapwidth+halfwidth*(gapwidth > 0.0 ? 2.0 : 1.0)+(halfwidth==0.0 ? 0.0 : ANTIALIASING);mediump vec2 dist=outset*a_extrude*scale;mediump float u=0.5*a_direction;mediump float t=1.0-abs(u);mediump vec2 offset2=offset*a_extrude*scale*normal.y*mat2(t,-u,u,t);vec4 projected_extrude=u_matrix*vec4(dist/u_ratio,0.0,0.0);gl_Position=u_matrix*vec4(pos+offset2/u_ratio,0.0,1.0)+projected_extrude; +#ifdef TERRAIN3D +v_gamma_scale=1.0; +#else +float extrude_length_without_perspective=length(dist);float extrude_length_with_perspective=length(projected_extrude.xy/gl_Position.w*u_units_to_pixels);v_gamma_scale=extrude_length_without_perspective/extrude_length_with_perspective; +#endif +v_width2=vec2(outset,inset);}`),lineGradient:Fr(`uniform lowp float u_device_pixel_ratio;uniform sampler2D u_image;varying vec2 v_width2;varying vec2 v_normal;varying float v_gamma_scale;varying highp vec2 v_uv; +#pragma mapbox: define lowp float blur +#pragma mapbox: define lowp float opacity +void main() { +#pragma mapbox: initialize lowp float blur +#pragma mapbox: initialize lowp float opacity +float dist=length(v_normal)*v_width2.s;float blur2=(blur+1.0/u_device_pixel_ratio)*v_gamma_scale;float alpha=clamp(min(dist-(v_width2.t-blur2),v_width2.s-dist)/blur2,0.0,1.0);vec4 color=texture2D(u_image,v_uv);gl_FragColor=color*(alpha*opacity); +#ifdef OVERDRAW_INSPECTOR +gl_FragColor=vec4(1.0); +#endif +}`,` +#define scale 0.015873016 +attribute vec2 a_pos_normal;attribute vec4 a_data;attribute float a_uv_x;attribute float a_split_index;uniform mat4 u_matrix;uniform mediump float u_ratio;uniform lowp float u_device_pixel_ratio;uniform vec2 u_units_to_pixels;uniform float u_image_height;varying vec2 v_normal;varying vec2 v_width2;varying float v_gamma_scale;varying highp vec2 v_uv; +#pragma mapbox: define lowp float blur +#pragma mapbox: define lowp float opacity +#pragma mapbox: define mediump float gapwidth +#pragma mapbox: define lowp float offset +#pragma mapbox: define mediump float width +void main() { +#pragma mapbox: initialize lowp float blur +#pragma mapbox: initialize lowp float opacity +#pragma mapbox: initialize mediump float gapwidth +#pragma mapbox: initialize lowp float offset +#pragma mapbox: initialize mediump float width +float ANTIALIASING=1.0/u_device_pixel_ratio/2.0;vec2 a_extrude=a_data.xy-128.0;float a_direction=mod(a_data.z,4.0)-1.0;highp float texel_height=1.0/u_image_height;highp float half_texel_height=0.5*texel_height;v_uv=vec2(a_uv_x,a_split_index*texel_height-half_texel_height);vec2 pos=floor(a_pos_normal*0.5);mediump vec2 normal=a_pos_normal-2.0*pos;normal.y=normal.y*2.0-1.0;v_normal=normal;gapwidth=gapwidth/2.0;float halfwidth=width/2.0;offset=-1.0*offset;float inset=gapwidth+(gapwidth > 0.0 ? ANTIALIASING : 0.0);float outset=gapwidth+halfwidth*(gapwidth > 0.0 ? 2.0 : 1.0)+(halfwidth==0.0 ? 0.0 : ANTIALIASING);mediump vec2 dist=outset*a_extrude*scale;mediump float u=0.5*a_direction;mediump float t=1.0-abs(u);mediump vec2 offset2=offset*a_extrude*scale*normal.y*mat2(t,-u,u,t);vec4 projected_extrude=u_matrix*vec4(dist/u_ratio,0.0,0.0);gl_Position=u_matrix*vec4(pos+offset2/u_ratio,0.0,1.0)+projected_extrude; +#ifdef TERRAIN3D +v_gamma_scale=1.0; +#else +float extrude_length_without_perspective=length(dist);float extrude_length_with_perspective=length(projected_extrude.xy/gl_Position.w*u_units_to_pixels);v_gamma_scale=extrude_length_without_perspective/extrude_length_with_perspective; +#endif +v_width2=vec2(outset,inset);}`),linePattern:Fr(`#ifdef GL_ES +precision highp float; +#endif +uniform lowp float u_device_pixel_ratio;uniform vec2 u_texsize;uniform float u_fade;uniform mediump vec3 u_scale;uniform sampler2D u_image;varying vec2 v_normal;varying vec2 v_width2;varying float v_linesofar;varying float v_gamma_scale;varying float v_width; +#pragma mapbox: define lowp vec4 pattern_from +#pragma mapbox: define lowp vec4 pattern_to +#pragma mapbox: define lowp float pixel_ratio_from +#pragma mapbox: define lowp float pixel_ratio_to +#pragma mapbox: define lowp float blur +#pragma mapbox: define lowp float opacity +void main() { +#pragma mapbox: initialize mediump vec4 pattern_from +#pragma mapbox: initialize mediump vec4 pattern_to +#pragma mapbox: initialize lowp float pixel_ratio_from +#pragma mapbox: initialize lowp float pixel_ratio_to +#pragma mapbox: initialize lowp float blur +#pragma mapbox: initialize lowp float opacity +vec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;float tileZoomRatio=u_scale.x;float fromScale=u_scale.y;float toScale=u_scale.z;vec2 display_size_a=(pattern_br_a-pattern_tl_a)/pixel_ratio_from;vec2 display_size_b=(pattern_br_b-pattern_tl_b)/pixel_ratio_to;vec2 pattern_size_a=vec2(display_size_a.x*fromScale/tileZoomRatio,display_size_a.y);vec2 pattern_size_b=vec2(display_size_b.x*toScale/tileZoomRatio,display_size_b.y);float aspect_a=display_size_a.y/v_width;float aspect_b=display_size_b.y/v_width;float dist=length(v_normal)*v_width2.s;float blur2=(blur+1.0/u_device_pixel_ratio)*v_gamma_scale;float alpha=clamp(min(dist-(v_width2.t-blur2),v_width2.s-dist)/blur2,0.0,1.0);float x_a=mod(v_linesofar/pattern_size_a.x*aspect_a,1.0);float x_b=mod(v_linesofar/pattern_size_b.x*aspect_b,1.0);float y=0.5*v_normal.y+0.5;vec2 texel_size=1.0/u_texsize;vec2 pos_a=mix(pattern_tl_a*texel_size-texel_size,pattern_br_a*texel_size+texel_size,vec2(x_a,y));vec2 pos_b=mix(pattern_tl_b*texel_size-texel_size,pattern_br_b*texel_size+texel_size,vec2(x_b,y));vec4 color=mix(texture2D(u_image,pos_a),texture2D(u_image,pos_b),u_fade);gl_FragColor=color*alpha*opacity; +#ifdef OVERDRAW_INSPECTOR +gl_FragColor=vec4(1.0); +#endif +}`,` +#define scale 0.015873016 +#define LINE_DISTANCE_SCALE 2.0 +attribute vec2 a_pos_normal;attribute vec4 a_data;uniform mat4 u_matrix;uniform vec2 u_units_to_pixels;uniform mediump float u_ratio;uniform lowp float u_device_pixel_ratio;varying vec2 v_normal;varying vec2 v_width2;varying float v_linesofar;varying float v_gamma_scale;varying float v_width; +#pragma mapbox: define lowp float blur +#pragma mapbox: define lowp float opacity +#pragma mapbox: define lowp float offset +#pragma mapbox: define mediump float gapwidth +#pragma mapbox: define mediump float width +#pragma mapbox: define lowp float floorwidth +#pragma mapbox: define lowp vec4 pattern_from +#pragma mapbox: define lowp vec4 pattern_to +#pragma mapbox: define lowp float pixel_ratio_from +#pragma mapbox: define lowp float pixel_ratio_to +void main() { +#pragma mapbox: initialize lowp float blur +#pragma mapbox: initialize lowp float opacity +#pragma mapbox: initialize lowp float offset +#pragma mapbox: initialize mediump float gapwidth +#pragma mapbox: initialize mediump float width +#pragma mapbox: initialize lowp float floorwidth +#pragma mapbox: initialize mediump vec4 pattern_from +#pragma mapbox: initialize mediump vec4 pattern_to +#pragma mapbox: initialize lowp float pixel_ratio_from +#pragma mapbox: initialize lowp float pixel_ratio_to +float ANTIALIASING=1.0/u_device_pixel_ratio/2.0;vec2 a_extrude=a_data.xy-128.0;float a_direction=mod(a_data.z,4.0)-1.0;float a_linesofar=(floor(a_data.z/4.0)+a_data.w*64.0)*LINE_DISTANCE_SCALE;vec2 pos=floor(a_pos_normal*0.5);mediump vec2 normal=a_pos_normal-2.0*pos;normal.y=normal.y*2.0-1.0;v_normal=normal;gapwidth=gapwidth/2.0;float halfwidth=width/2.0;offset=-1.0*offset;float inset=gapwidth+(gapwidth > 0.0 ? ANTIALIASING : 0.0);float outset=gapwidth+halfwidth*(gapwidth > 0.0 ? 2.0 : 1.0)+(halfwidth==0.0 ? 0.0 : ANTIALIASING);mediump vec2 dist=outset*a_extrude*scale;mediump float u=0.5*a_direction;mediump float t=1.0-abs(u);mediump vec2 offset2=offset*a_extrude*scale*normal.y*mat2(t,-u,u,t);vec4 projected_extrude=u_matrix*vec4(dist/u_ratio,0.0,0.0);gl_Position=u_matrix*vec4(pos+offset2/u_ratio,0.0,1.0)+projected_extrude; +#ifdef TERRAIN3D +v_gamma_scale=1.0; +#else +float extrude_length_without_perspective=length(dist);float extrude_length_with_perspective=length(projected_extrude.xy/gl_Position.w*u_units_to_pixels);v_gamma_scale=extrude_length_without_perspective/extrude_length_with_perspective; +#endif +v_linesofar=a_linesofar;v_width2=vec2(outset,inset);v_width=floorwidth;}`),lineSDF:Fr(`uniform lowp float u_device_pixel_ratio;uniform sampler2D u_image;uniform float u_sdfgamma;uniform float u_mix;varying vec2 v_normal;varying vec2 v_width2;varying vec2 v_tex_a;varying vec2 v_tex_b;varying float v_gamma_scale; +#pragma mapbox: define highp vec4 color +#pragma mapbox: define lowp float blur +#pragma mapbox: define lowp float opacity +#pragma mapbox: define mediump float width +#pragma mapbox: define lowp float floorwidth +void main() { +#pragma mapbox: initialize highp vec4 color +#pragma mapbox: initialize lowp float blur +#pragma mapbox: initialize lowp float opacity +#pragma mapbox: initialize mediump float width +#pragma mapbox: initialize lowp float floorwidth +float dist=length(v_normal)*v_width2.s;float blur2=(blur+1.0/u_device_pixel_ratio)*v_gamma_scale;float alpha=clamp(min(dist-(v_width2.t-blur2),v_width2.s-dist)/blur2,0.0,1.0);float sdfdist_a=texture2D(u_image,v_tex_a).a;float sdfdist_b=texture2D(u_image,v_tex_b).a;float sdfdist=mix(sdfdist_a,sdfdist_b,u_mix);alpha*=smoothstep(0.5-u_sdfgamma/floorwidth,0.5+u_sdfgamma/floorwidth,sdfdist);gl_FragColor=color*(alpha*opacity); +#ifdef OVERDRAW_INSPECTOR +gl_FragColor=vec4(1.0); +#endif +}`,` +#define scale 0.015873016 +#define LINE_DISTANCE_SCALE 2.0 +attribute vec2 a_pos_normal;attribute vec4 a_data;uniform mat4 u_matrix;uniform mediump float u_ratio;uniform lowp float u_device_pixel_ratio;uniform vec2 u_patternscale_a;uniform float u_tex_y_a;uniform vec2 u_patternscale_b;uniform float u_tex_y_b;uniform vec2 u_units_to_pixels;varying vec2 v_normal;varying vec2 v_width2;varying vec2 v_tex_a;varying vec2 v_tex_b;varying float v_gamma_scale; +#pragma mapbox: define highp vec4 color +#pragma mapbox: define lowp float blur +#pragma mapbox: define lowp float opacity +#pragma mapbox: define mediump float gapwidth +#pragma mapbox: define lowp float offset +#pragma mapbox: define mediump float width +#pragma mapbox: define lowp float floorwidth +void main() { +#pragma mapbox: initialize highp vec4 color +#pragma mapbox: initialize lowp float blur +#pragma mapbox: initialize lowp float opacity +#pragma mapbox: initialize mediump float gapwidth +#pragma mapbox: initialize lowp float offset +#pragma mapbox: initialize mediump float width +#pragma mapbox: initialize lowp float floorwidth +float ANTIALIASING=1.0/u_device_pixel_ratio/2.0;vec2 a_extrude=a_data.xy-128.0;float a_direction=mod(a_data.z,4.0)-1.0;float a_linesofar=(floor(a_data.z/4.0)+a_data.w*64.0)*LINE_DISTANCE_SCALE;vec2 pos=floor(a_pos_normal*0.5);mediump vec2 normal=a_pos_normal-2.0*pos;normal.y=normal.y*2.0-1.0;v_normal=normal;gapwidth=gapwidth/2.0;float halfwidth=width/2.0;offset=-1.0*offset;float inset=gapwidth+(gapwidth > 0.0 ? ANTIALIASING : 0.0);float outset=gapwidth+halfwidth*(gapwidth > 0.0 ? 2.0 : 1.0)+(halfwidth==0.0 ? 0.0 : ANTIALIASING);mediump vec2 dist=outset*a_extrude*scale;mediump float u=0.5*a_direction;mediump float t=1.0-abs(u);mediump vec2 offset2=offset*a_extrude*scale*normal.y*mat2(t,-u,u,t);vec4 projected_extrude=u_matrix*vec4(dist/u_ratio,0.0,0.0);gl_Position=u_matrix*vec4(pos+offset2/u_ratio,0.0,1.0)+projected_extrude; +#ifdef TERRAIN3D +v_gamma_scale=1.0; +#else +float extrude_length_without_perspective=length(dist);float extrude_length_with_perspective=length(projected_extrude.xy/gl_Position.w*u_units_to_pixels);v_gamma_scale=extrude_length_without_perspective/extrude_length_with_perspective; +#endif +v_tex_a=vec2(a_linesofar*u_patternscale_a.x/floorwidth,normal.y*u_patternscale_a.y+u_tex_y_a);v_tex_b=vec2(a_linesofar*u_patternscale_b.x/floorwidth,normal.y*u_patternscale_b.y+u_tex_y_b);v_width2=vec2(outset,inset);}`),raster:Fr(`uniform float u_fade_t;uniform float u_opacity;uniform sampler2D u_image0;uniform sampler2D u_image1;varying vec2 v_pos0;varying vec2 v_pos1;uniform float u_brightness_low;uniform float u_brightness_high;uniform float u_saturation_factor;uniform float u_contrast_factor;uniform vec3 u_spin_weights;void main() {vec4 color0=texture2D(u_image0,v_pos0);vec4 color1=texture2D(u_image1,v_pos1);if (color0.a > 0.0) {color0.rgb=color0.rgb/color0.a;}if (color1.a > 0.0) {color1.rgb=color1.rgb/color1.a;}vec4 color=mix(color0,color1,u_fade_t);color.a*=u_opacity;vec3 rgb=color.rgb;rgb=vec3(dot(rgb,u_spin_weights.xyz),dot(rgb,u_spin_weights.zxy),dot(rgb,u_spin_weights.yzx));float average=(color.r+color.g+color.b)/3.0;rgb+=(average-rgb)*u_saturation_factor;rgb=(rgb-0.5)*u_contrast_factor+0.5;vec3 u_high_vec=vec3(u_brightness_low,u_brightness_low,u_brightness_low);vec3 u_low_vec=vec3(u_brightness_high,u_brightness_high,u_brightness_high);gl_FragColor=vec4(mix(u_high_vec,u_low_vec,rgb)*color.a,color.a); +#ifdef OVERDRAW_INSPECTOR +gl_FragColor=vec4(1.0); +#endif +}`,"uniform mat4 u_matrix;uniform vec2 u_tl_parent;uniform float u_scale_parent;uniform float u_buffer_scale;attribute vec2 a_pos;attribute vec2 a_texture_pos;varying vec2 v_pos0;varying vec2 v_pos1;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);v_pos0=(((a_texture_pos/8192.0)-0.5)/u_buffer_scale )+0.5;v_pos1=(v_pos0*u_scale_parent)+u_tl_parent;}"),symbolIcon:Fr(`uniform sampler2D u_texture;varying vec2 v_tex;varying float v_fade_opacity; +#pragma mapbox: define lowp float opacity +void main() { +#pragma mapbox: initialize lowp float opacity +lowp float alpha=opacity*v_fade_opacity;gl_FragColor=texture2D(u_texture,v_tex)*alpha; +#ifdef OVERDRAW_INSPECTOR +gl_FragColor=vec4(1.0); +#endif +}`,`attribute vec4 a_pos_offset;attribute vec4 a_data;attribute vec4 a_pixeloffset;attribute vec3 a_projected_pos;attribute float a_fade_opacity;uniform bool u_is_size_zoom_constant;uniform bool u_is_size_feature_constant;uniform highp float u_size_t;uniform highp float u_size;uniform highp float u_camera_to_center_distance;uniform highp float u_pitch;uniform bool u_rotate_symbol;uniform highp float u_aspect_ratio;uniform float u_fade_change;uniform mat4 u_matrix;uniform mat4 u_label_plane_matrix;uniform mat4 u_coord_matrix;uniform bool u_is_text;uniform bool u_pitch_with_map;uniform vec2 u_texsize;uniform bool u_is_along_line;uniform bool u_is_variable_anchor;uniform vec2 u_translation;uniform float u_pitched_scale;varying vec2 v_tex;varying float v_fade_opacity;vec4 projectTileWithElevation(vec2 posInTile,float elevation) {return u_matrix*vec4(posInTile,elevation,1.0);} +#pragma mapbox: define lowp float opacity +void main() { +#pragma mapbox: initialize lowp float opacity +vec2 a_pos=a_pos_offset.xy;vec2 a_offset=a_pos_offset.zw;vec2 a_tex=a_data.xy;vec2 a_size=a_data.zw;float a_size_min=floor(a_size[0]*0.5);vec2 a_pxoffset=a_pixeloffset.xy;vec2 a_minFontScale=a_pixeloffset.zw/256.0;float ele=get_elevation(a_pos);highp float segment_angle=-a_projected_pos[2];float size;if (!u_is_size_zoom_constant && !u_is_size_feature_constant) {size=mix(a_size_min,a_size[1],u_size_t)/128.0;} else if (u_is_size_zoom_constant && !u_is_size_feature_constant) {size=a_size_min/128.0;} else {size=u_size;}vec2 translated_a_pos=a_pos+u_translation;vec4 projectedPoint=projectTileWithElevation(translated_a_pos,ele);highp float camera_to_anchor_distance=projectedPoint.w;highp float distance_ratio=u_pitch_with_map ? +camera_to_anchor_distance/u_camera_to_center_distance : +u_camera_to_center_distance/camera_to_anchor_distance;highp float perspective_ratio=clamp(0.5+0.5*distance_ratio,0.0,4.0);size*=perspective_ratio;float fontScale=u_is_text ? size/24.0 : size;highp float symbol_rotation=0.0;if (u_rotate_symbol) {vec4 offsetProjectedPoint=projectTileWithElevation(translated_a_pos+vec2(1,0),ele);vec2 a=projectedPoint.xy/projectedPoint.w;vec2 b=offsetProjectedPoint.xy/offsetProjectedPoint.w;symbol_rotation=atan((b.y-a.y)/u_aspect_ratio,b.x-a.x);}highp float angle_sin=sin(segment_angle+symbol_rotation);highp float angle_cos=cos(segment_angle+symbol_rotation);mat2 rotation_matrix=mat2(angle_cos,-1.0*angle_sin,angle_sin,angle_cos);vec4 projected_pos;if (u_is_along_line || u_is_variable_anchor) {projected_pos=vec4(a_projected_pos.xy,ele,1.0);} else if (u_pitch_with_map) {projected_pos=u_label_plane_matrix*vec4(a_projected_pos.xy+u_translation,ele,1.0);} else {projected_pos=u_label_plane_matrix*projectTileWithElevation(a_projected_pos.xy+u_translation,ele);}float z=float(u_pitch_with_map)*projected_pos.z/projected_pos.w;float projectionScaling=1.0;vec4 finalPos=u_coord_matrix*vec4(projected_pos.xy/projected_pos.w+rotation_matrix*(a_offset/32.0*max(a_minFontScale,fontScale)+a_pxoffset/16.0)*projectionScaling,z,1.0);if(u_pitch_with_map) {finalPos=projectTileWithElevation(finalPos.xy,finalPos.z);}gl_Position=finalPos;v_tex=a_tex/u_texsize;vec2 fade_opacity=unpack_opacity(a_fade_opacity);float fade_change=fade_opacity[1] > 0.5 ? u_fade_change :-u_fade_change;float visibility=calculate_visibility(projectedPoint);v_fade_opacity=max(0.0,min(visibility,fade_opacity[0]+fade_change));}`),symbolSDF:Fr(`#define SDF_PX 8.0 +uniform bool u_is_halo;uniform sampler2D u_texture;uniform highp float u_gamma_scale;uniform lowp float u_device_pixel_ratio;uniform bool u_is_text;varying vec2 v_data0;varying vec3 v_data1; +#pragma mapbox: define highp vec4 fill_color +#pragma mapbox: define highp vec4 halo_color +#pragma mapbox: define lowp float opacity +#pragma mapbox: define lowp float halo_width +#pragma mapbox: define lowp float halo_blur +void main() { +#pragma mapbox: initialize highp vec4 fill_color +#pragma mapbox: initialize highp vec4 halo_color +#pragma mapbox: initialize lowp float opacity +#pragma mapbox: initialize lowp float halo_width +#pragma mapbox: initialize lowp float halo_blur +float EDGE_GAMMA=0.105/u_device_pixel_ratio;vec2 tex=v_data0.xy;float gamma_scale=v_data1.x;float size=v_data1.y;float fade_opacity=v_data1[2];float fontScale=u_is_text ? size/24.0 : size;lowp vec4 color=fill_color;highp float gamma=EDGE_GAMMA/(fontScale*u_gamma_scale);lowp float inner_edge=(256.0-64.0)/256.0;if (u_is_halo) {color=halo_color;gamma=(halo_blur*1.19/SDF_PX+EDGE_GAMMA)/(fontScale*u_gamma_scale);inner_edge=inner_edge+gamma*gamma_scale;}lowp float dist=texture2D(u_texture,tex).a;highp float gamma_scaled=gamma*gamma_scale;highp float alpha=smoothstep(inner_edge-gamma_scaled,inner_edge+gamma_scaled,dist);if (u_is_halo) {lowp float halo_edge=(6.0-halo_width/fontScale)/SDF_PX;alpha=min(smoothstep(halo_edge-gamma_scaled,halo_edge+gamma_scaled,dist),1.0-alpha);}gl_FragColor=color*(alpha*opacity*fade_opacity); +#ifdef OVERDRAW_INSPECTOR +gl_FragColor=vec4(1.0); +#endif +}`,`attribute vec4 a_pos_offset;attribute vec4 a_data;attribute vec4 a_pixeloffset;attribute vec3 a_projected_pos;attribute float a_fade_opacity;uniform bool u_is_size_zoom_constant;uniform bool u_is_size_feature_constant;uniform highp float u_size_t;uniform highp float u_size;uniform mat4 u_matrix;uniform mat4 u_label_plane_matrix;uniform mat4 u_coord_matrix;uniform bool u_is_text;uniform bool u_pitch_with_map;uniform bool u_is_along_line;uniform bool u_is_variable_anchor;uniform highp float u_pitch;uniform bool u_rotate_symbol;uniform highp float u_aspect_ratio;uniform highp float u_camera_to_center_distance;uniform float u_fade_change;uniform vec2 u_texsize;uniform vec2 u_translation;uniform float u_pitched_scale;varying vec2 v_data0;varying vec3 v_data1;vec4 projectTileWithElevation(vec2 posInTile,float elevation) {return u_matrix*vec4(posInTile,elevation,1.0);} +#pragma mapbox: define highp vec4 fill_color +#pragma mapbox: define highp vec4 halo_color +#pragma mapbox: define lowp float opacity +#pragma mapbox: define lowp float halo_width +#pragma mapbox: define lowp float halo_blur +void main() { +#pragma mapbox: initialize highp vec4 fill_color +#pragma mapbox: initialize highp vec4 halo_color +#pragma mapbox: initialize lowp float opacity +#pragma mapbox: initialize lowp float halo_width +#pragma mapbox: initialize lowp float halo_blur +vec2 a_pos=a_pos_offset.xy;vec2 a_offset=a_pos_offset.zw;vec2 a_tex=a_data.xy;vec2 a_size=a_data.zw;float a_size_min=floor(a_size[0]*0.5);vec2 a_pxoffset=a_pixeloffset.xy;float ele=get_elevation(a_pos);highp float segment_angle=-a_projected_pos[2];float size;if (!u_is_size_zoom_constant && !u_is_size_feature_constant) {size=mix(a_size_min,a_size[1],u_size_t)/128.0;} else if (u_is_size_zoom_constant && !u_is_size_feature_constant) {size=a_size_min/128.0;} else {size=u_size;}vec2 translated_a_pos=a_pos+u_translation;vec4 projectedPoint=projectTileWithElevation(translated_a_pos,ele);highp float camera_to_anchor_distance=projectedPoint.w;highp float distance_ratio=u_pitch_with_map ? +camera_to_anchor_distance/u_camera_to_center_distance : +u_camera_to_center_distance/camera_to_anchor_distance;highp float perspective_ratio=clamp(0.5+0.5*distance_ratio,0.0,4.0);size*=perspective_ratio;float fontScale=u_is_text ? size/24.0 : size;highp float symbol_rotation=0.0;if (u_rotate_symbol) {vec4 offsetProjectedPoint=projectTileWithElevation(translated_a_pos+vec2(1,0),ele);vec2 a=projectedPoint.xy/projectedPoint.w;vec2 b=offsetProjectedPoint.xy/offsetProjectedPoint.w;symbol_rotation=atan((b.y-a.y)/u_aspect_ratio,b.x-a.x);}highp float angle_sin=sin(segment_angle+symbol_rotation);highp float angle_cos=cos(segment_angle+symbol_rotation);mat2 rotation_matrix=mat2(angle_cos,-1.0*angle_sin,angle_sin,angle_cos);vec4 projected_pos;if (u_is_along_line || u_is_variable_anchor) {projected_pos=vec4(a_projected_pos.xy,ele,1.0);} else if (u_pitch_with_map) {projected_pos=u_label_plane_matrix*vec4(a_projected_pos.xy+u_translation,ele,1.0);} else {projected_pos=u_label_plane_matrix*projectTileWithElevation(a_projected_pos.xy+u_translation,ele);}float z=float(u_pitch_with_map)*projected_pos.z/projected_pos.w;float projectionScaling=1.0;vec4 finalPos=u_coord_matrix*vec4(projected_pos.xy/projected_pos.w+rotation_matrix*(a_offset/32.0*fontScale+a_pxoffset)*projectionScaling,z,1.0);if(u_pitch_with_map) {finalPos=projectTileWithElevation(finalPos.xy,finalPos.z);}float gamma_scale=finalPos.w;gl_Position=finalPos;vec2 fade_opacity=unpack_opacity(a_fade_opacity);float visibility=calculate_visibility(projectedPoint);float fade_change=fade_opacity[1] > 0.5 ? u_fade_change :-u_fade_change;float interpolated_fade_opacity=max(0.0,min(visibility,fade_opacity[0]+fade_change));v_data0=a_tex/u_texsize;v_data1=vec3(gamma_scale,size,interpolated_fade_opacity);}`),symbolTextAndIcon:Fr(`#define SDF_PX 8.0 +#define SDF 1.0 +#define ICON 0.0 +uniform bool u_is_halo;uniform sampler2D u_texture;uniform sampler2D u_texture_icon;uniform highp float u_gamma_scale;uniform lowp float u_device_pixel_ratio;varying vec4 v_data0;varying vec4 v_data1; +#pragma mapbox: define highp vec4 fill_color +#pragma mapbox: define highp vec4 halo_color +#pragma mapbox: define lowp float opacity +#pragma mapbox: define lowp float halo_width +#pragma mapbox: define lowp float halo_blur +void main() { +#pragma mapbox: initialize highp vec4 fill_color +#pragma mapbox: initialize highp vec4 halo_color +#pragma mapbox: initialize lowp float opacity +#pragma mapbox: initialize lowp float halo_width +#pragma mapbox: initialize lowp float halo_blur +float fade_opacity=v_data1[2];if (v_data1.w==ICON) {vec2 tex_icon=v_data0.zw;lowp float alpha=opacity*fade_opacity;gl_FragColor=texture2D(u_texture_icon,tex_icon)*alpha; +#ifdef OVERDRAW_INSPECTOR +gl_FragColor=vec4(1.0); +#endif +return;}vec2 tex=v_data0.xy;float EDGE_GAMMA=0.105/u_device_pixel_ratio;float gamma_scale=v_data1.x;float size=v_data1.y;float fontScale=size/24.0;lowp vec4 color=fill_color;highp float gamma=EDGE_GAMMA/(fontScale*u_gamma_scale);lowp float buff=(256.0-64.0)/256.0;if (u_is_halo) {color=halo_color;gamma=(halo_blur*1.19/SDF_PX+EDGE_GAMMA)/(fontScale*u_gamma_scale);buff=(6.0-halo_width/fontScale)/SDF_PX;}lowp float dist=texture2D(u_texture,tex).a;highp float gamma_scaled=gamma*gamma_scale;highp float alpha=smoothstep(buff-gamma_scaled,buff+gamma_scaled,dist);gl_FragColor=color*(alpha*opacity*fade_opacity); +#ifdef OVERDRAW_INSPECTOR +gl_FragColor=vec4(1.0); +#endif +}`,`attribute vec4 a_pos_offset;attribute vec4 a_data;attribute vec3 a_projected_pos;attribute float a_fade_opacity;uniform bool u_is_size_zoom_constant;uniform bool u_is_size_feature_constant;uniform highp float u_size_t;uniform highp float u_size;uniform mat4 u_matrix;uniform mat4 u_label_plane_matrix;uniform mat4 u_coord_matrix;uniform bool u_is_text;uniform bool u_pitch_with_map;uniform highp float u_pitch;uniform bool u_rotate_symbol;uniform highp float u_aspect_ratio;uniform highp float u_camera_to_center_distance;uniform float u_fade_change;uniform vec2 u_texsize;uniform vec2 u_texsize_icon;uniform bool u_is_along_line;uniform bool u_is_variable_anchor;uniform vec2 u_translation;uniform float u_pitched_scale;varying vec4 v_data0;varying vec4 v_data1;vec4 projectTileWithElevation(vec2 posInTile,float elevation) {return u_matrix*vec4(posInTile,elevation,1.0);} +#pragma mapbox: define highp vec4 fill_color +#pragma mapbox: define highp vec4 halo_color +#pragma mapbox: define lowp float opacity +#pragma mapbox: define lowp float halo_width +#pragma mapbox: define lowp float halo_blur +void main() { +#pragma mapbox: initialize highp vec4 fill_color +#pragma mapbox: initialize highp vec4 halo_color +#pragma mapbox: initialize lowp float opacity +#pragma mapbox: initialize lowp float halo_width +#pragma mapbox: initialize lowp float halo_blur +vec2 a_pos=a_pos_offset.xy;vec2 a_offset=a_pos_offset.zw;vec2 a_tex=a_data.xy;vec2 a_size=a_data.zw;float a_size_min=floor(a_size[0]*0.5);float is_sdf=a_size[0]-2.0*a_size_min;float ele=get_elevation(a_pos);highp float segment_angle=-a_projected_pos[2];float size;if (!u_is_size_zoom_constant && !u_is_size_feature_constant) {size=mix(a_size_min,a_size[1],u_size_t)/128.0;} else if (u_is_size_zoom_constant && !u_is_size_feature_constant) {size=a_size_min/128.0;} else {size=u_size;}vec2 translated_a_pos=a_pos+u_translation;vec4 projectedPoint=projectTileWithElevation(translated_a_pos,ele);highp float camera_to_anchor_distance=projectedPoint.w;highp float distance_ratio=u_pitch_with_map ? +camera_to_anchor_distance/u_camera_to_center_distance : +u_camera_to_center_distance/camera_to_anchor_distance;highp float perspective_ratio=clamp(0.5+0.5*distance_ratio,0.0,4.0);size*=perspective_ratio;float fontScale=size/24.0;highp float symbol_rotation=0.0;if (u_rotate_symbol) {vec4 offsetProjectedPoint=projectTileWithElevation(translated_a_pos+vec2(1,0),ele);vec2 a=projectedPoint.xy/projectedPoint.w;vec2 b=offsetProjectedPoint.xy/offsetProjectedPoint.w;symbol_rotation=atan((b.y-a.y)/u_aspect_ratio,b.x-a.x);}highp float angle_sin=sin(segment_angle+symbol_rotation);highp float angle_cos=cos(segment_angle+symbol_rotation);mat2 rotation_matrix=mat2(angle_cos,-1.0*angle_sin,angle_sin,angle_cos);vec4 projected_pos;if (u_is_along_line || u_is_variable_anchor) {projected_pos=vec4(a_projected_pos.xy,ele,1.0);} else if (u_pitch_with_map) {projected_pos=u_label_plane_matrix*vec4(a_projected_pos.xy+u_translation,ele,1.0);} else {projected_pos=u_label_plane_matrix*projectTileWithElevation(a_projected_pos.xy+u_translation,ele);}float z=float(u_pitch_with_map)*projected_pos.z/projected_pos.w;float projectionScaling=1.0;vec4 finalPos=u_coord_matrix*vec4(projected_pos.xy/projected_pos.w+rotation_matrix*(a_offset/32.0*fontScale)*projectionScaling,z,1.0);if(u_pitch_with_map) {finalPos=projectTileWithElevation(finalPos.xy,finalPos.z);}float gamma_scale=finalPos.w;gl_Position=finalPos;vec2 fade_opacity=unpack_opacity(a_fade_opacity);float visibility=calculate_visibility(projectedPoint);float fade_change=fade_opacity[1] > 0.5 ? u_fade_change :-u_fade_change;float interpolated_fade_opacity=max(0.0,min(visibility,fade_opacity[0]+fade_change));v_data0.xy=a_tex/u_texsize;v_data0.zw=a_tex/u_texsize_icon;v_data1=vec4(gamma_scale,size,interpolated_fade_opacity,is_sdf);}`),terrain:Fr("uniform sampler2D u_texture;uniform vec4 u_fog_color;uniform vec4 u_horizon_color;uniform float u_fog_ground_blend;uniform float u_fog_ground_blend_opacity;uniform float u_horizon_fog_blend;varying vec2 v_texture_pos;varying float v_fog_depth;const float gamma=2.2;vec4 gammaToLinear(vec4 color) {return pow(color,vec4(gamma));}vec4 linearToGamma(vec4 color) {return pow(color,vec4(1.0/gamma));}void main() {vec4 surface_color=texture2D(u_texture,v_texture_pos);if (v_fog_depth > u_fog_ground_blend) {vec4 surface_color_linear=gammaToLinear(surface_color);float blend_color=smoothstep(0.0,1.0,max((v_fog_depth-u_horizon_fog_blend)/(1.0-u_horizon_fog_blend),0.0));vec4 fog_horizon_color_linear=mix(gammaToLinear(u_fog_color),gammaToLinear(u_horizon_color),blend_color);float factor_fog=max(v_fog_depth-u_fog_ground_blend,0.0)/(1.0-u_fog_ground_blend);gl_FragColor=linearToGamma(mix(surface_color_linear,fog_horizon_color_linear,pow(factor_fog,2.0)*u_fog_ground_blend_opacity));} else {gl_FragColor=surface_color;}}","attribute vec3 a_pos3d;uniform mat4 u_matrix;uniform mat4 u_fog_matrix;uniform float u_ele_delta;varying vec2 v_texture_pos;varying float v_fog_depth;void main() {float ele=get_elevation(a_pos3d.xy);float ele_delta=a_pos3d.z==1.0 ? u_ele_delta : 0.0;v_texture_pos=a_pos3d.xy/8192.0;gl_Position=u_matrix*vec4(a_pos3d.xy,ele-ele_delta,1.0);vec4 pos=u_fog_matrix*vec4(a_pos3d.xy,ele,1.0);v_fog_depth=pos.z/pos.w*0.5+0.5;}"),terrainDepth:Fr("varying float v_depth;const highp vec4 bitSh=vec4(256.*256.*256.,256.*256.,256.,1.);const highp vec4 bitMsk=vec4(0.,vec3(1./256.0));highp vec4 pack(highp float value) {highp vec4 comp=fract(value*bitSh);comp-=comp.xxyz*bitMsk;return comp;}void main() {gl_FragColor=pack(v_depth);}","attribute vec3 a_pos3d;uniform mat4 u_matrix;uniform float u_ele_delta;varying float v_depth;void main() {float ele=get_elevation(a_pos3d.xy);float ele_delta=a_pos3d.z==1.0 ? u_ele_delta : 0.0;gl_Position=u_matrix*vec4(a_pos3d.xy,ele-ele_delta,1.0);v_depth=gl_Position.z/gl_Position.w;}"),terrainCoords:Fr("precision mediump float;uniform sampler2D u_texture;uniform float u_terrain_coords_id;varying vec2 v_texture_pos;void main() {vec4 rgba=texture2D(u_texture,v_texture_pos);gl_FragColor=vec4(rgba.r,rgba.g,rgba.b,u_terrain_coords_id);}","attribute vec3 a_pos3d;uniform mat4 u_matrix;uniform float u_ele_delta;varying vec2 v_texture_pos;void main() {float ele=get_elevation(a_pos3d.xy);float ele_delta=a_pos3d.z==1.0 ? u_ele_delta : 0.0;v_texture_pos=a_pos3d.xy/8192.0;gl_Position=u_matrix*vec4(a_pos3d.xy,ele-ele_delta,1.0);}"),sky:Fr("uniform vec4 u_sky_color;uniform vec4 u_horizon_color;uniform float u_horizon;uniform float u_sky_horizon_blend;void main() {float y=gl_FragCoord.y;if (y > u_horizon) {float blend=y-u_horizon;if (blend < u_sky_horizon_blend) {gl_FragColor=mix(u_sky_color,u_horizon_color,pow(1.0-blend/u_sky_horizon_blend,2.0));} else {gl_FragColor=u_sky_color;}}}","attribute vec2 a_pos;void main() {gl_Position=vec4(a_pos,1.0,1.0);}")};function Fr(C,u){const p=/#pragma mapbox: ([\w]+) ([\w]+) ([\w]+) ([\w]+)/g,b=u.match(/attribute ([\w]+) ([\w]+)/g),w=C.match(/uniform ([\w]+) ([\w]+)([\s]*)([\w]*)/g),P=u.match(/uniform ([\w]+) ([\w]+)([\s]*)([\w]*)/g),k=P?P.concat(w):w,z={};return{fragmentSource:C=C.replace(p,(B,N,q,W,te)=>(z[te]=!0,N==="define"?` +#ifndef HAS_UNIFORM_u_${te} +varying ${q} ${W} ${te}; +#else +uniform ${q} ${W} u_${te}; +#endif +`:` +#ifdef HAS_UNIFORM_u_${te} + ${q} ${W} ${te} = u_${te}; +#endif +`)),vertexSource:u=u.replace(p,(B,N,q,W,te)=>{const ae=W==="float"?"vec2":"vec4",le=te.match(/color/)?"color":ae;return z[te]?N==="define"?` +#ifndef HAS_UNIFORM_u_${te} +uniform lowp float u_${te}_t; +attribute ${q} ${ae} a_${te}; +varying ${q} ${W} ${te}; +#else +uniform ${q} ${W} u_${te}; +#endif +`:le==="vec4"?` +#ifndef HAS_UNIFORM_u_${te} + ${te} = a_${te}; +#else + ${q} ${W} ${te} = u_${te}; +#endif +`:` +#ifndef HAS_UNIFORM_u_${te} + ${te} = unpack_mix_${le}(a_${te}, u_${te}_t); +#else + ${q} ${W} ${te} = u_${te}; +#endif +`:N==="define"?` +#ifndef HAS_UNIFORM_u_${te} +uniform lowp float u_${te}_t; +attribute ${q} ${ae} a_${te}; +#else +uniform ${q} ${W} u_${te}; +#endif +`:le==="vec4"?` +#ifndef HAS_UNIFORM_u_${te} + ${q} ${W} ${te} = a_${te}; +#else + ${q} ${W} ${te} = u_${te}; +#endif +`:` +#ifndef HAS_UNIFORM_u_${te} + ${q} ${W} ${te} = unpack_mix_${le}(a_${te}, u_${te}_t); +#else + ${q} ${W} ${te} = u_${te}; +#endif +`}),staticAttributes:b,staticUniforms:k}}class bf{constructor(){this.boundProgram=null,this.boundLayoutVertexBuffer=null,this.boundPaintVertexBuffers=[],this.boundIndexBuffer=null,this.boundVertexOffset=null,this.boundDynamicVertexBuffer=null,this.vao=null}bind(u,p,b,w,P,k,z,B,N){this.context=u;let q=this.boundPaintVertexBuffers.length!==w.length;for(let W=0;!q&&W({u_matrix:C,u_texture:0,u_ele_delta:u,u_fog_matrix:p,u_fog_color:b?b.properties.get("fog-color"):s.aN.white,u_fog_ground_blend:b?b.properties.get("fog-ground-blend"):1,u_fog_ground_blend_opacity:b?b.calculateFogBlendOpacity(w):0,u_horizon_color:b?b.properties.get("horizon-color"):s.aN.white,u_horizon_fog_blend:b?b.properties.get("horizon-fog-blend"):1});function Tc(C){const u=[];for(let p=0;p({u_depth:new s.aI(Ne,Xe.u_depth),u_terrain:new s.aI(Ne,Xe.u_terrain),u_terrain_dim:new s.aJ(Ne,Xe.u_terrain_dim),u_terrain_matrix:new s.aK(Ne,Xe.u_terrain_matrix),u_terrain_unpack:new s.aL(Ne,Xe.u_terrain_unpack),u_terrain_exaggeration:new s.aJ(Ne,Xe.u_terrain_exaggeration)}))(u,ze),this.binderUniforms=b?b.getUniforms(u,ze):[]}draw(u,p,b,w,P,k,z,B,N,q,W,te,ae,le,ve,he,xe,Pe){const pe=u.gl;if(this.failedToCreate)return;if(u.program.set(this.program),u.setDepthMode(b),u.setStencilMode(w),u.setColorMode(P),u.setCullFace(k),B){u.activeTexture.set(pe.TEXTURE2),pe.bindTexture(pe.TEXTURE_2D,B.depthTexture),u.activeTexture.set(pe.TEXTURE3),pe.bindTexture(pe.TEXTURE_2D,B.texture);for(const ze in this.terrainUniforms)this.terrainUniforms[ze].set(B[ze])}for(const ze in this.fixedUniforms)this.fixedUniforms[ze].set(z[ze]);ve&&ve.setUniforms(u,this.binderUniforms,ae,{zoom:le});let Me=0;switch(p){case pe.LINES:Me=2;break;case pe.TRIANGLES:Me=3;break;case pe.LINE_STRIP:Me=1}for(const ze of te.get()){const Ne=ze.vaos||(ze.vaos={});(Ne[N]||(Ne[N]=new bf)).bind(u,this,q,ve?ve.getPaintVertexBuffers():[],W,ze.vertexOffset,he,xe,Pe),pe.drawElements(p,ze.primitiveLength*Me,pe.UNSIGNED_SHORT,ze.primitiveOffset*Me*2)}}}function wf(C,u,p){const b=1/cr(p,1,u.transform.tileZoom),w=Math.pow(2,p.tileID.overscaledZ),P=p.tileSize*Math.pow(2,u.transform.tileZoom)/w,k=P*(p.tileID.canonical.x+p.tileID.wrap*w),z=P*p.tileID.canonical.y;return{u_image:0,u_texsize:p.imageAtlasTexture.size,u_scale:[b,C.fromScale,C.toScale],u_fade:C.t,u_pixel_coord_upper:[k>>16,z>>16],u_pixel_coord_lower:[65535&k,65535&z]}}const Sf=(C,u,p,b)=>{const w=u.style.light,P=w.properties.get("position"),k=[P.x,P.y,P.z],z=function(){var N=new s.A(9);return s.A!=Float32Array&&(N[1]=0,N[2]=0,N[3]=0,N[5]=0,N[6]=0,N[7]=0),N[0]=1,N[4]=1,N[8]=1,N}();w.properties.get("anchor")==="viewport"&&function(N,q){var W=Math.sin(q),te=Math.cos(q);N[0]=te,N[1]=W,N[2]=0,N[3]=-W,N[4]=te,N[5]=0,N[6]=0,N[7]=0,N[8]=1}(z,-u.transform.angle),function(N,q,W){var te=q[0],ae=q[1],le=q[2];N[0]=te*W[0]+ae*W[3]+le*W[6],N[1]=te*W[1]+ae*W[4]+le*W[7],N[2]=te*W[2]+ae*W[5]+le*W[8]}(k,k,z);const B=w.properties.get("color");return{u_matrix:C,u_lightpos:k,u_lightintensity:w.properties.get("intensity"),u_lightcolor:[B.r,B.g,B.b],u_vertical_gradient:+p,u_opacity:b}},Tf=(C,u,p,b,w,P,k)=>s.e(Sf(C,u,p,b),wf(P,u,k),{u_height_factor:-Math.pow(2,w.overscaledZ)/k.tileSize/8}),Cc=C=>({u_matrix:C}),Ql=(C,u,p,b)=>s.e(Cc(C),wf(p,u,b)),Bw=(C,u)=>({u_matrix:C,u_world:u}),Fw=(C,u,p,b,w)=>s.e(Ql(C,u,p,b),{u_world:w}),e_=(C,u,p,b)=>{const w=C.transform;let P,k;if(b.paint.get("circle-pitch-alignment")==="map"){const z=cr(p,1,w.zoom);P=!0,k=[z,z]}else P=!1,k=w.pixelsToGLUnits;return{u_camera_to_center_distance:w.cameraToCenterDistance,u_scale_with_map:+(b.paint.get("circle-pitch-scale")==="map"),u_matrix:C.translatePosMatrix(u.posMatrix,p,b.paint.get("circle-translate"),b.paint.get("circle-translate-anchor")),u_pitch_with_map:+P,u_device_pixel_ratio:C.pixelRatio,u_extrude_scale:k}},$w=(C,u,p)=>({u_matrix:C,u_inv_matrix:u,u_camera_to_center_distance:p.cameraToCenterDistance,u_viewport_size:[p.width,p.height]}),Ss=(C,u,p=1)=>({u_matrix:C,u_color:u,u_overlay:0,u_overlay_scale:p}),Pc=C=>({u_matrix:C}),la=(C,u,p,b)=>({u_matrix:C,u_extrude_scale:cr(u,1,p),u_intensity:b});function ua(C,u){const p=Math.pow(2,u.canonical.z),b=u.canonical.y;return[new s.Z(0,b/p).toLngLat().lat,new s.Z(0,(b+1)/p).toLngLat().lat]}const Ac=(C,u,p,b)=>{const w=C.transform;return{u_matrix:n_(C,u,p,b),u_ratio:1/cr(u,1,w.zoom),u_device_pixel_ratio:C.pixelRatio,u_units_to_pixels:[1/w.pixelsToGLUnits[0],1/w.pixelsToGLUnits[1]]}},Cf=(C,u,p,b,w)=>s.e(Ac(C,u,p,w),{u_image:0,u_image_height:b}),t_=(C,u,p,b,w)=>{const P=C.transform,k=hl(u,P);return{u_matrix:n_(C,u,p,w),u_texsize:u.imageAtlasTexture.size,u_ratio:1/cr(u,1,P.zoom),u_device_pixel_ratio:C.pixelRatio,u_image:0,u_scale:[k,b.fromScale,b.toScale],u_fade:b.t,u_units_to_pixels:[1/P.pixelsToGLUnits[0],1/P.pixelsToGLUnits[1]]}},r_=(C,u,p,b,w,P)=>{const k=C.lineAtlas,z=hl(u,C.transform),B=p.layout.get("line-cap")==="round",N=k.getDash(b.from,B),q=k.getDash(b.to,B),W=N.width*w.fromScale,te=q.width*w.toScale;return s.e(Ac(C,u,p,P),{u_patternscale_a:[z/W,-N.height/2],u_patternscale_b:[z/te,-q.height/2],u_sdfgamma:k.width/(256*Math.min(W,te)*C.pixelRatio)/2,u_image:0,u_tex_y_a:N.y,u_tex_y_b:q.y,u_mix:w.t})};function hl(C,u){return 1/cr(C,1,u.tileZoom)}function n_(C,u,p,b){return C.translatePosMatrix(b?b.posMatrix:u.tileID.posMatrix,u,p.paint.get("line-translate"),p.paint.get("line-translate-anchor"))}const Nw=(C,u,p,b,w)=>{return{u_matrix:C,u_tl_parent:u,u_scale_parent:p,u_buffer_scale:1,u_fade_t:b.mix,u_opacity:b.opacity*w.paint.get("raster-opacity"),u_image0:0,u_image1:1,u_brightness_low:w.paint.get("raster-brightness-min"),u_brightness_high:w.paint.get("raster-brightness-max"),u_saturation_factor:(k=w.paint.get("raster-saturation"),k>0?1-1/(1.001-k):-k),u_contrast_factor:(P=w.paint.get("raster-contrast"),P>0?1/(1-P):1+P),u_spin_weights:Vw(w.paint.get("raster-hue-rotate"))};var P,k};function Vw(C){C*=Math.PI/180;const u=Math.sin(C),p=Math.cos(C);return[(2*p+1)/3,(-Math.sqrt(3)*u-p+1)/3,(Math.sqrt(3)*u-p+1)/3]}const i_=(C,u,p,b,w,P,k,z,B,N,q,W,te,ae)=>{const le=k.transform;return{u_is_size_zoom_constant:+(C==="constant"||C==="source"),u_is_size_feature_constant:+(C==="constant"||C==="camera"),u_size_t:u?u.uSizeT:0,u_size:u?u.uSize:0,u_camera_to_center_distance:le.cameraToCenterDistance,u_pitch:le.pitch/360*2*Math.PI,u_rotate_symbol:+p,u_aspect_ratio:le.width/le.height,u_fade_change:k.options.fadeDuration?k.symbolFadeChange:1,u_matrix:z,u_label_plane_matrix:B,u_coord_matrix:N,u_is_text:+W,u_pitch_with_map:+b,u_is_along_line:w,u_is_variable_anchor:P,u_texsize:te,u_texture:0,u_translation:q,u_pitched_scale:ae}},a_=(C,u,p,b,w,P,k,z,B,N,q,W,te,ae,le)=>{const ve=k.transform;return s.e(i_(C,u,p,b,w,P,k,z,B,N,q,W,te,le),{u_gamma_scale:b?Math.cos(ve._pitch)*ve.cameraToCenterDistance:1,u_device_pixel_ratio:k.pixelRatio,u_is_halo:+ae})},jw=(C,u,p,b,w,P,k,z,B,N,q,W,te,ae)=>s.e(a_(C,u,p,b,w,P,k,z,B,N,q,!0,W,!0,ae),{u_texsize_icon:te,u_texture_icon:1}),Pf=(C,u,p)=>({u_matrix:C,u_opacity:u,u_color:p}),lm=(C,u,p,b,w,P)=>s.e(function(k,z,B,N){const q=B.imageManager.getPattern(k.from.toString()),W=B.imageManager.getPattern(k.to.toString()),{width:te,height:ae}=B.imageManager.getPixelSize(),le=Math.pow(2,N.tileID.overscaledZ),ve=N.tileSize*Math.pow(2,B.transform.tileZoom)/le,he=ve*(N.tileID.canonical.x+N.tileID.wrap*le),xe=ve*N.tileID.canonical.y;return{u_image:0,u_pattern_tl_a:q.tl,u_pattern_br_a:q.br,u_pattern_tl_b:W.tl,u_pattern_br_b:W.br,u_texsize:[te,ae],u_mix:z.t,u_pattern_size_a:q.displaySize,u_pattern_size_b:W.displaySize,u_scale_a:z.fromScale,u_scale_b:z.toScale,u_tile_units_to_pixels:1/cr(N,1,B.transform.tileZoom),u_pixel_coord_upper:[he>>16,xe>>16],u_pixel_coord_lower:[65535&he,65535&xe]}}(b,P,p,w),{u_matrix:C,u_opacity:u}),Af={fillExtrusion:(C,u)=>({u_matrix:new s.aK(C,u.u_matrix),u_lightpos:new s.aO(C,u.u_lightpos),u_lightintensity:new s.aJ(C,u.u_lightintensity),u_lightcolor:new s.aO(C,u.u_lightcolor),u_vertical_gradient:new s.aJ(C,u.u_vertical_gradient),u_opacity:new s.aJ(C,u.u_opacity)}),fillExtrusionPattern:(C,u)=>({u_matrix:new s.aK(C,u.u_matrix),u_lightpos:new s.aO(C,u.u_lightpos),u_lightintensity:new s.aJ(C,u.u_lightintensity),u_lightcolor:new s.aO(C,u.u_lightcolor),u_vertical_gradient:new s.aJ(C,u.u_vertical_gradient),u_height_factor:new s.aJ(C,u.u_height_factor),u_image:new s.aI(C,u.u_image),u_texsize:new s.aP(C,u.u_texsize),u_pixel_coord_upper:new s.aP(C,u.u_pixel_coord_upper),u_pixel_coord_lower:new s.aP(C,u.u_pixel_coord_lower),u_scale:new s.aO(C,u.u_scale),u_fade:new s.aJ(C,u.u_fade),u_opacity:new s.aJ(C,u.u_opacity)}),fill:(C,u)=>({u_matrix:new s.aK(C,u.u_matrix)}),fillPattern:(C,u)=>({u_matrix:new s.aK(C,u.u_matrix),u_image:new s.aI(C,u.u_image),u_texsize:new s.aP(C,u.u_texsize),u_pixel_coord_upper:new s.aP(C,u.u_pixel_coord_upper),u_pixel_coord_lower:new s.aP(C,u.u_pixel_coord_lower),u_scale:new s.aO(C,u.u_scale),u_fade:new s.aJ(C,u.u_fade)}),fillOutline:(C,u)=>({u_matrix:new s.aK(C,u.u_matrix),u_world:new s.aP(C,u.u_world)}),fillOutlinePattern:(C,u)=>({u_matrix:new s.aK(C,u.u_matrix),u_world:new s.aP(C,u.u_world),u_image:new s.aI(C,u.u_image),u_texsize:new s.aP(C,u.u_texsize),u_pixel_coord_upper:new s.aP(C,u.u_pixel_coord_upper),u_pixel_coord_lower:new s.aP(C,u.u_pixel_coord_lower),u_scale:new s.aO(C,u.u_scale),u_fade:new s.aJ(C,u.u_fade)}),circle:(C,u)=>({u_camera_to_center_distance:new s.aJ(C,u.u_camera_to_center_distance),u_scale_with_map:new s.aI(C,u.u_scale_with_map),u_pitch_with_map:new s.aI(C,u.u_pitch_with_map),u_extrude_scale:new s.aP(C,u.u_extrude_scale),u_device_pixel_ratio:new s.aJ(C,u.u_device_pixel_ratio),u_matrix:new s.aK(C,u.u_matrix)}),collisionBox:(C,u)=>({u_matrix:new s.aK(C,u.u_matrix),u_pixel_extrude_scale:new s.aP(C,u.u_pixel_extrude_scale)}),collisionCircle:(C,u)=>({u_matrix:new s.aK(C,u.u_matrix),u_inv_matrix:new s.aK(C,u.u_inv_matrix),u_camera_to_center_distance:new s.aJ(C,u.u_camera_to_center_distance),u_viewport_size:new s.aP(C,u.u_viewport_size)}),debug:(C,u)=>({u_color:new s.aM(C,u.u_color),u_matrix:new s.aK(C,u.u_matrix),u_overlay:new s.aI(C,u.u_overlay),u_overlay_scale:new s.aJ(C,u.u_overlay_scale)}),clippingMask:(C,u)=>({u_matrix:new s.aK(C,u.u_matrix)}),heatmap:(C,u)=>({u_extrude_scale:new s.aJ(C,u.u_extrude_scale),u_intensity:new s.aJ(C,u.u_intensity),u_matrix:new s.aK(C,u.u_matrix)}),heatmapTexture:(C,u)=>({u_matrix:new s.aK(C,u.u_matrix),u_world:new s.aP(C,u.u_world),u_image:new s.aI(C,u.u_image),u_color_ramp:new s.aI(C,u.u_color_ramp),u_opacity:new s.aJ(C,u.u_opacity)}),hillshade:(C,u)=>({u_matrix:new s.aK(C,u.u_matrix),u_image:new s.aI(C,u.u_image),u_latrange:new s.aP(C,u.u_latrange),u_light:new s.aP(C,u.u_light),u_shadow:new s.aM(C,u.u_shadow),u_highlight:new s.aM(C,u.u_highlight),u_accent:new s.aM(C,u.u_accent)}),hillshadePrepare:(C,u)=>({u_matrix:new s.aK(C,u.u_matrix),u_image:new s.aI(C,u.u_image),u_dimension:new s.aP(C,u.u_dimension),u_zoom:new s.aJ(C,u.u_zoom),u_unpack:new s.aL(C,u.u_unpack)}),line:(C,u)=>({u_matrix:new s.aK(C,u.u_matrix),u_ratio:new s.aJ(C,u.u_ratio),u_device_pixel_ratio:new s.aJ(C,u.u_device_pixel_ratio),u_units_to_pixels:new s.aP(C,u.u_units_to_pixels)}),lineGradient:(C,u)=>({u_matrix:new s.aK(C,u.u_matrix),u_ratio:new s.aJ(C,u.u_ratio),u_device_pixel_ratio:new s.aJ(C,u.u_device_pixel_ratio),u_units_to_pixels:new s.aP(C,u.u_units_to_pixels),u_image:new s.aI(C,u.u_image),u_image_height:new s.aJ(C,u.u_image_height)}),linePattern:(C,u)=>({u_matrix:new s.aK(C,u.u_matrix),u_texsize:new s.aP(C,u.u_texsize),u_ratio:new s.aJ(C,u.u_ratio),u_device_pixel_ratio:new s.aJ(C,u.u_device_pixel_ratio),u_image:new s.aI(C,u.u_image),u_units_to_pixels:new s.aP(C,u.u_units_to_pixels),u_scale:new s.aO(C,u.u_scale),u_fade:new s.aJ(C,u.u_fade)}),lineSDF:(C,u)=>({u_matrix:new s.aK(C,u.u_matrix),u_ratio:new s.aJ(C,u.u_ratio),u_device_pixel_ratio:new s.aJ(C,u.u_device_pixel_ratio),u_units_to_pixels:new s.aP(C,u.u_units_to_pixels),u_patternscale_a:new s.aP(C,u.u_patternscale_a),u_patternscale_b:new s.aP(C,u.u_patternscale_b),u_sdfgamma:new s.aJ(C,u.u_sdfgamma),u_image:new s.aI(C,u.u_image),u_tex_y_a:new s.aJ(C,u.u_tex_y_a),u_tex_y_b:new s.aJ(C,u.u_tex_y_b),u_mix:new s.aJ(C,u.u_mix)}),raster:(C,u)=>({u_matrix:new s.aK(C,u.u_matrix),u_tl_parent:new s.aP(C,u.u_tl_parent),u_scale_parent:new s.aJ(C,u.u_scale_parent),u_buffer_scale:new s.aJ(C,u.u_buffer_scale),u_fade_t:new s.aJ(C,u.u_fade_t),u_opacity:new s.aJ(C,u.u_opacity),u_image0:new s.aI(C,u.u_image0),u_image1:new s.aI(C,u.u_image1),u_brightness_low:new s.aJ(C,u.u_brightness_low),u_brightness_high:new s.aJ(C,u.u_brightness_high),u_saturation_factor:new s.aJ(C,u.u_saturation_factor),u_contrast_factor:new s.aJ(C,u.u_contrast_factor),u_spin_weights:new s.aO(C,u.u_spin_weights)}),symbolIcon:(C,u)=>({u_is_size_zoom_constant:new s.aI(C,u.u_is_size_zoom_constant),u_is_size_feature_constant:new s.aI(C,u.u_is_size_feature_constant),u_size_t:new s.aJ(C,u.u_size_t),u_size:new s.aJ(C,u.u_size),u_camera_to_center_distance:new s.aJ(C,u.u_camera_to_center_distance),u_pitch:new s.aJ(C,u.u_pitch),u_rotate_symbol:new s.aI(C,u.u_rotate_symbol),u_aspect_ratio:new s.aJ(C,u.u_aspect_ratio),u_fade_change:new s.aJ(C,u.u_fade_change),u_matrix:new s.aK(C,u.u_matrix),u_label_plane_matrix:new s.aK(C,u.u_label_plane_matrix),u_coord_matrix:new s.aK(C,u.u_coord_matrix),u_is_text:new s.aI(C,u.u_is_text),u_pitch_with_map:new s.aI(C,u.u_pitch_with_map),u_is_along_line:new s.aI(C,u.u_is_along_line),u_is_variable_anchor:new s.aI(C,u.u_is_variable_anchor),u_texsize:new s.aP(C,u.u_texsize),u_texture:new s.aI(C,u.u_texture),u_translation:new s.aP(C,u.u_translation),u_pitched_scale:new s.aJ(C,u.u_pitched_scale)}),symbolSDF:(C,u)=>({u_is_size_zoom_constant:new s.aI(C,u.u_is_size_zoom_constant),u_is_size_feature_constant:new s.aI(C,u.u_is_size_feature_constant),u_size_t:new s.aJ(C,u.u_size_t),u_size:new s.aJ(C,u.u_size),u_camera_to_center_distance:new s.aJ(C,u.u_camera_to_center_distance),u_pitch:new s.aJ(C,u.u_pitch),u_rotate_symbol:new s.aI(C,u.u_rotate_symbol),u_aspect_ratio:new s.aJ(C,u.u_aspect_ratio),u_fade_change:new s.aJ(C,u.u_fade_change),u_matrix:new s.aK(C,u.u_matrix),u_label_plane_matrix:new s.aK(C,u.u_label_plane_matrix),u_coord_matrix:new s.aK(C,u.u_coord_matrix),u_is_text:new s.aI(C,u.u_is_text),u_pitch_with_map:new s.aI(C,u.u_pitch_with_map),u_is_along_line:new s.aI(C,u.u_is_along_line),u_is_variable_anchor:new s.aI(C,u.u_is_variable_anchor),u_texsize:new s.aP(C,u.u_texsize),u_texture:new s.aI(C,u.u_texture),u_gamma_scale:new s.aJ(C,u.u_gamma_scale),u_device_pixel_ratio:new s.aJ(C,u.u_device_pixel_ratio),u_is_halo:new s.aI(C,u.u_is_halo),u_translation:new s.aP(C,u.u_translation),u_pitched_scale:new s.aJ(C,u.u_pitched_scale)}),symbolTextAndIcon:(C,u)=>({u_is_size_zoom_constant:new s.aI(C,u.u_is_size_zoom_constant),u_is_size_feature_constant:new s.aI(C,u.u_is_size_feature_constant),u_size_t:new s.aJ(C,u.u_size_t),u_size:new s.aJ(C,u.u_size),u_camera_to_center_distance:new s.aJ(C,u.u_camera_to_center_distance),u_pitch:new s.aJ(C,u.u_pitch),u_rotate_symbol:new s.aI(C,u.u_rotate_symbol),u_aspect_ratio:new s.aJ(C,u.u_aspect_ratio),u_fade_change:new s.aJ(C,u.u_fade_change),u_matrix:new s.aK(C,u.u_matrix),u_label_plane_matrix:new s.aK(C,u.u_label_plane_matrix),u_coord_matrix:new s.aK(C,u.u_coord_matrix),u_is_text:new s.aI(C,u.u_is_text),u_pitch_with_map:new s.aI(C,u.u_pitch_with_map),u_is_along_line:new s.aI(C,u.u_is_along_line),u_is_variable_anchor:new s.aI(C,u.u_is_variable_anchor),u_texsize:new s.aP(C,u.u_texsize),u_texsize_icon:new s.aP(C,u.u_texsize_icon),u_texture:new s.aI(C,u.u_texture),u_texture_icon:new s.aI(C,u.u_texture_icon),u_gamma_scale:new s.aJ(C,u.u_gamma_scale),u_device_pixel_ratio:new s.aJ(C,u.u_device_pixel_ratio),u_is_halo:new s.aI(C,u.u_is_halo),u_translation:new s.aP(C,u.u_translation),u_pitched_scale:new s.aJ(C,u.u_pitched_scale)}),background:(C,u)=>({u_matrix:new s.aK(C,u.u_matrix),u_opacity:new s.aJ(C,u.u_opacity),u_color:new s.aM(C,u.u_color)}),backgroundPattern:(C,u)=>({u_matrix:new s.aK(C,u.u_matrix),u_opacity:new s.aJ(C,u.u_opacity),u_image:new s.aI(C,u.u_image),u_pattern_tl_a:new s.aP(C,u.u_pattern_tl_a),u_pattern_br_a:new s.aP(C,u.u_pattern_br_a),u_pattern_tl_b:new s.aP(C,u.u_pattern_tl_b),u_pattern_br_b:new s.aP(C,u.u_pattern_br_b),u_texsize:new s.aP(C,u.u_texsize),u_mix:new s.aJ(C,u.u_mix),u_pattern_size_a:new s.aP(C,u.u_pattern_size_a),u_pattern_size_b:new s.aP(C,u.u_pattern_size_b),u_scale_a:new s.aJ(C,u.u_scale_a),u_scale_b:new s.aJ(C,u.u_scale_b),u_pixel_coord_upper:new s.aP(C,u.u_pixel_coord_upper),u_pixel_coord_lower:new s.aP(C,u.u_pixel_coord_lower),u_tile_units_to_pixels:new s.aJ(C,u.u_tile_units_to_pixels)}),terrain:(C,u)=>({u_matrix:new s.aK(C,u.u_matrix),u_texture:new s.aI(C,u.u_texture),u_ele_delta:new s.aJ(C,u.u_ele_delta),u_fog_matrix:new s.aK(C,u.u_fog_matrix),u_fog_color:new s.aM(C,u.u_fog_color),u_fog_ground_blend:new s.aJ(C,u.u_fog_ground_blend),u_fog_ground_blend_opacity:new s.aJ(C,u.u_fog_ground_blend_opacity),u_horizon_color:new s.aM(C,u.u_horizon_color),u_horizon_fog_blend:new s.aJ(C,u.u_horizon_fog_blend)}),terrainDepth:(C,u)=>({u_matrix:new s.aK(C,u.u_matrix),u_ele_delta:new s.aJ(C,u.u_ele_delta)}),terrainCoords:(C,u)=>({u_matrix:new s.aK(C,u.u_matrix),u_texture:new s.aI(C,u.u_texture),u_terrain_coords_id:new s.aJ(C,u.u_terrain_coords_id),u_ele_delta:new s.aJ(C,u.u_ele_delta)}),sky:(C,u)=>({u_sky_color:new s.aM(C,u.u_sky_color),u_horizon_color:new s.aM(C,u.u_horizon_color),u_horizon:new s.aJ(C,u.u_horizon),u_sky_horizon_blend:new s.aJ(C,u.u_sky_horizon_blend)})};class um{constructor(u,p,b){this.context=u;const w=u.gl;this.buffer=w.createBuffer(),this.dynamicDraw=!!b,this.context.unbindVAO(),u.bindElementBuffer.set(this.buffer),w.bufferData(w.ELEMENT_ARRAY_BUFFER,p.arrayBuffer,this.dynamicDraw?w.DYNAMIC_DRAW:w.STATIC_DRAW),this.dynamicDraw||delete p.arrayBuffer}bind(){this.context.bindElementBuffer.set(this.buffer)}updateData(u){const p=this.context.gl;if(!this.dynamicDraw)throw new Error("Attempted to update data while not in dynamic mode.");this.context.unbindVAO(),this.bind(),p.bufferSubData(p.ELEMENT_ARRAY_BUFFER,0,u.arrayBuffer)}destroy(){this.buffer&&(this.context.gl.deleteBuffer(this.buffer),delete this.buffer)}}const cm={Int8:"BYTE",Uint8:"UNSIGNED_BYTE",Int16:"SHORT",Uint16:"UNSIGNED_SHORT",Int32:"INT",Uint32:"UNSIGNED_INT",Float32:"FLOAT"};class ho{constructor(u,p,b,w){this.length=p.length,this.attributes=b,this.itemSize=p.bytesPerElement,this.dynamicDraw=w,this.context=u;const P=u.gl;this.buffer=P.createBuffer(),u.bindVertexBuffer.set(this.buffer),P.bufferData(P.ARRAY_BUFFER,p.arrayBuffer,this.dynamicDraw?P.DYNAMIC_DRAW:P.STATIC_DRAW),this.dynamicDraw||delete p.arrayBuffer}bind(){this.context.bindVertexBuffer.set(this.buffer)}updateData(u){if(u.length!==this.length)throw new Error(`Length of new data is ${u.length}, which doesn't match current length of ${this.length}`);const p=this.context.gl;this.bind(),p.bufferSubData(p.ARRAY_BUFFER,0,u.arrayBuffer)}enableAttributes(u,p){for(let b=0;b0){const Ne=s.H();s.aR(Ne,pe.placementInvProjMatrix,C.transform.glCoordMatrix),s.aR(Ne,Ne,pe.placementViewportMatrix),B.push({circleArray:ze,circleOffset:q,transform:Pe.posMatrix,invTransform:Ne,coord:Pe}),N+=ze.length/4,q=N}Me&&z.draw(P,k.LINES,Pr.disabled,wn.disabled,C.colorModeForRenderPass(),pn.disabled,{u_matrix:Pe.posMatrix,u_pixel_extrude_scale:[1/(W=C.transform).width,1/W.height]},C.style.map.terrain&&C.style.map.terrain.getTerrainData(Pe),p.id,Me.layoutVertexBuffer,Me.indexBuffer,Me.segments,null,C.transform.zoom,null,null,Me.collisionVertexBuffer)}var W;if(!w||!B.length)return;const te=C.useProgram("collisionCircle"),ae=new s.aS;ae.resize(4*N),ae._trim();let le=0;for(const xe of B)for(let Pe=0;Pe=0&&(xe[pe.associatedIconIndex]={shiftedAnchor:Jt,angle:vn})}else qt(pe.numGlyphs,ve)}if(N){he.clear();const Pe=C.icon.placedSymbolArray;for(let pe=0;peC.style.map.terrain.getElevation(ot,Jm,Jn):null,fu=p.layout.get("text-rotation-alignment")==="map";oe(Rt,ot.posMatrix,C,w,bl,cu,xe,N,fu,ve,ot.toUnwrapped(),le.width,le.height,xl,Cn)}const oi=ot.posMatrix,Ua=w&&it||Ym,As=Pe||Ua?_m:bl,hu=Zf,_i=_t&&p.paint.get(w?"text-halo-width":"icon-halo-width").constantOr(1)!==0;let bi;bi=_t?Rt.iconsInText?jw(Jt.kind,Ar,pe,xe,Pe,Ua,C,oi,As,hu,xl,vi,Di,At):a_(Jt.kind,Ar,pe,xe,Pe,Ua,C,oi,As,hu,xl,w,vi,!0,At):i_(Jt.kind,Ar,pe,xe,Pe,Ua,C,oi,As,hu,xl,w,vi,At);const ri={program:pr,buffers:rr,uniformValues:bi,atlasTexture:ja,atlasTextureIcon:gi,atlasInterpolation:yn,atlasInterpolationIcon:Ui,isSDF:_t,hasHalo:_i};if(ze&&Rt.canOverlap){Ne=!0;const Cn=rr.segments.get();for(const fu of Cn)Pt.push({segments:new s.a0([fu]),sortKey:fu.sortKey,state:ri,terrainData:gn})}else Pt.push({segments:rr.segments,sortKey:0,state:ri,terrainData:gn})}Ne&&Pt.sort((ot,ut)=>ot.sortKey-ut.sortKey);for(const ot of Pt){const ut=ot.state;if(te.activeTexture.set(ae.TEXTURE0),ut.atlasTexture.bind(ut.atlasInterpolation,ae.CLAMP_TO_EDGE),ut.atlasTextureIcon&&(te.activeTexture.set(ae.TEXTURE1),ut.atlasTextureIcon&&ut.atlasTextureIcon.bind(ut.atlasInterpolationIcon,ae.CLAMP_TO_EDGE)),ut.isSDF){const Rt=ut.uniformValues;ut.hasHalo&&(Rt.u_is_halo=1,dl(ut.buffers,ot.segments,p,C,ut.program,Xe,q,W,Rt,ot.terrainData)),Rt.u_is_halo=0}dl(ut.buffers,ot.segments,p,C,ut.program,Xe,q,W,ut.uniformValues,ot.terrainData)}}function dl(C,u,p,b,w,P,k,z,B,N){const q=b.context;w.draw(q,q.gl.TRIANGLES,P,k,z,pn.disabled,B,N,p.id,C.layoutVertexBuffer,C.indexBuffer,u,p.paint,b.transform.zoom,C.programConfigurations.get(p.id),C.dynamicLayoutVertexBuffer,C.opacityVertexBuffer)}function ca(C,u,p,b,w){if(!p||!b||!b.imageAtlas)return;const P=b.imageAtlas.patternPositions;let k=P[p.to.toString()],z=P[p.from.toString()];if(!k&&z&&(k=z),!z&&k&&(z=k),!k||!z){const B=w.getPaintProperty(u);k=P[B],z=P[B]}k&&z&&C.setConstantPatternPositions(k,z)}function xm(C,u,p,b,w,P,k){const z=C.context.gl,B="fill-pattern",N=p.paint.get(B),q=N&&N.constantOr(1),W=p.getCrossfadeParameters();let te,ae,le,ve,he;k?(ae=q&&!p.getPaintProperty("fill-outline-color")?"fillOutlinePattern":"fillOutline",te=z.LINES):(ae=q?"fillPattern":"fill",te=z.TRIANGLES);const xe=N.constantOr(null);for(const Pe of b){const pe=u.getTile(Pe);if(q&&!pe.patternsLoaded())continue;const Me=pe.getBucket(p);if(!Me)continue;const ze=Me.programConfigurations.get(p.id),Ne=C.useProgram(ae,ze),Xe=C.style.map.terrain&&C.style.map.terrain.getTerrainData(Pe);q&&(C.context.activeTexture.set(z.TEXTURE0),pe.imageAtlasTexture.bind(z.LINEAR,z.CLAMP_TO_EDGE),ze.updatePaintBuffers(W)),ca(ze,B,xe,pe,p);const it=Xe?Pe:null,Pt=C.translatePosMatrix(it?it.posMatrix:Pe.posMatrix,pe,p.paint.get("fill-translate"),p.paint.get("fill-translate-anchor"));if(k){ve=Me.indexBuffer2,he=Me.segments2;const At=[z.drawingBufferWidth,z.drawingBufferHeight];le=ae==="fillOutlinePattern"&&q?Fw(Pt,C,W,pe,At):Bw(Pt,At)}else ve=Me.indexBuffer,he=Me.segments,le=q?Ql(Pt,C,W,pe):Cc(Pt);Ne.draw(C.context,te,w,C.stencilModeForClipping(Pe),P,pn.disabled,le,Xe,p.id,Me.layoutVertexBuffer,ve,he,p.paint,C.transform.zoom,ze)}}function Rf(C,u,p,b,w,P,k){const z=C.context,B=z.gl,N="fill-extrusion-pattern",q=p.paint.get(N),W=q.constantOr(1),te=p.getCrossfadeParameters(),ae=p.paint.get("fill-extrusion-opacity"),le=q.constantOr(null);for(const ve of b){const he=u.getTile(ve),xe=he.getBucket(p);if(!xe)continue;const Pe=C.style.map.terrain&&C.style.map.terrain.getTerrainData(ve),pe=xe.programConfigurations.get(p.id),Me=C.useProgram(W?"fillExtrusionPattern":"fillExtrusion",pe);W&&(C.context.activeTexture.set(B.TEXTURE0),he.imageAtlasTexture.bind(B.LINEAR,B.CLAMP_TO_EDGE),pe.updatePaintBuffers(te)),ca(pe,N,le,he,p);const ze=C.translatePosMatrix(ve.posMatrix,he,p.paint.get("fill-extrusion-translate"),p.paint.get("fill-extrusion-translate-anchor")),Ne=p.paint.get("fill-extrusion-vertical-gradient"),Xe=W?Tf(ze,C,Ne,ae,ve,te,he):Sf(ze,C,Ne,ae);Me.draw(z,z.gl.TRIANGLES,w,P,k,pn.backCCW,Xe,Pe,p.id,xe.layoutVertexBuffer,xe.indexBuffer,xe.segments,p.paint,C.transform.zoom,pe,C.style.map.terrain&&xe.centroidVertexBuffer)}}function wm(C,u,p,b,w,P,k){const z=C.context,B=z.gl,N=p.fbo;if(!N)return;const q=C.useProgram("hillshade"),W=C.style.map.terrain&&C.style.map.terrain.getTerrainData(u);z.activeTexture.set(B.TEXTURE0),B.bindTexture(B.TEXTURE_2D,N.colorAttachment.get()),q.draw(z,B.TRIANGLES,w,P,k,pn.disabled,((te,ae,le,ve)=>{const he=le.paint.get("hillshade-shadow-color"),xe=le.paint.get("hillshade-highlight-color"),Pe=le.paint.get("hillshade-accent-color");let pe=le.paint.get("hillshade-illumination-direction")*(Math.PI/180);le.paint.get("hillshade-illumination-anchor")==="viewport"&&(pe-=te.transform.angle);const Me=!te.options.moving;return{u_matrix:ve?ve.posMatrix:te.transform.calculatePosMatrix(ae.tileID.toUnwrapped(),Me),u_image:0,u_latrange:ua(0,ae.tileID),u_light:[le.paint.get("hillshade-exaggeration"),pe],u_shadow:he,u_highlight:xe,u_accent:Pe}})(C,p,b,W?u:null),W,b.id,C.rasterBoundsBuffer,C.quadTriangleIndexBuffer,C.rasterBoundsSegments)}function pl(C,u,p,b,w,P){const k=C.context,z=k.gl,B=u.dem;if(B&&B.data){const N=B.dim,q=B.stride,W=B.getPixels();if(k.activeTexture.set(z.TEXTURE1),k.pixelStoreUnpackPremultiplyAlpha.set(!1),u.demTexture=u.demTexture||C.getTileTexture(q),u.demTexture){const ae=u.demTexture;ae.update(W,{premultiply:!1}),ae.bind(z.NEAREST,z.CLAMP_TO_EDGE)}else u.demTexture=new ne(k,W,z.RGBA,{premultiply:!1}),u.demTexture.bind(z.NEAREST,z.CLAMP_TO_EDGE);k.activeTexture.set(z.TEXTURE0);let te=u.fbo;if(!te){const ae=new ne(k,{width:N,height:N,data:null},z.RGBA);ae.bind(z.LINEAR,z.CLAMP_TO_EDGE),te=u.fbo=k.createFramebuffer(N,N,!0,!1),te.colorAttachment.set(ae.texture)}k.bindFramebuffer.set(te.framebuffer),k.viewport.set([0,0,N,N]),C.useProgram("hillshadePrepare").draw(k,z.TRIANGLES,b,w,P,pn.disabled,((ae,le)=>{const ve=le.stride,he=s.H();return s.aQ(he,0,s.X,-s.X,0,0,1),s.J(he,he,[0,-s.X,0]),{u_matrix:he,u_image:1,u_dimension:[ve,ve],u_zoom:ae.overscaledZ,u_unpack:le.getUnpackVector()}})(u.tileID,B),null,p.id,C.rasterBoundsBuffer,C.quadTriangleIndexBuffer,C.rasterBoundsSegments),u.needsHillshadePrepare=!1}}function Of(C,u,p,b,w,P){const k=b.paint.get("raster-fade-duration");if(!P&&k>0){const z=v.now(),B=(z-C.timeAdded)/k,N=u?(z-u.timeAdded)/k:-1,q=p.getSource(),W=w.coveringZoomLevel({tileSize:q.tileSize,roundZoom:q.roundZoom}),te=!u||Math.abs(u.tileID.overscaledZ-W)>Math.abs(C.tileID.overscaledZ-W),ae=te&&C.refreshedUponExpiration?1:s.ad(te?B:1-N,0,1);return C.refreshedUponExpiration&&B>=1&&(C.refreshedUponExpiration=!1),u?{opacity:1,mix:1-ae}:{opacity:ae,mix:0}}return{opacity:1,mix:0}}const zf=new s.aN(1,0,0,1),Lc=new s.aN(0,1,0,1),Bf=new s.aN(0,0,1,1),b_=new s.aN(1,0,1,1),ru=new s.aN(0,1,1,1);function ml(C,u,p,b){nu(C,0,u+p/2,C.transform.width,p,b)}function Sm(C,u,p,b){nu(C,u-p/2,0,p,C.transform.height,b)}function nu(C,u,p,b,w,P){const k=C.context,z=k.gl;z.enable(z.SCISSOR_TEST),z.scissor(u*C.pixelRatio,p*C.pixelRatio,b*C.pixelRatio,w*C.pixelRatio),k.clear({color:P}),z.disable(z.SCISSOR_TEST)}function Or(C,u,p){const b=C.context,w=b.gl,P=p.posMatrix,k=C.useProgram("debug"),z=Pr.disabled,B=wn.disabled,N=C.colorModeForRenderPass(),q="$debug",W=C.style.map.terrain&&C.style.map.terrain.getTerrainData(p);b.activeTexture.set(w.TEXTURE0);const te=u.getTileByID(p.key).latestRawTileData,ae=Math.floor((te&&te.byteLength||0)/1024),le=u.getTile(p).tileSize,ve=512/Math.min(le,512)*(p.overscaledZ/C.transform.zoom)*.5;let he=p.canonical.toString();p.overscaledZ!==p.canonical.z&&(he+=` => ${p.overscaledZ}`),function(xe,Pe){xe.initDebugOverlayCanvas();const pe=xe.debugOverlayCanvas,Me=xe.context.gl,ze=xe.debugOverlayCanvas.getContext("2d");ze.clearRect(0,0,pe.width,pe.height),ze.shadowColor="white",ze.shadowBlur=2,ze.lineWidth=1.5,ze.strokeStyle="white",ze.textBaseline="top",ze.font="bold 36px Open Sans, sans-serif",ze.fillText(Pe,5,5),ze.strokeText(Pe,5,5),xe.debugOverlayTexture.update(pe),xe.debugOverlayTexture.bind(Me.LINEAR,Me.CLAMP_TO_EDGE)}(C,`${he} ${ae}kB`),k.draw(b,w.TRIANGLES,z,B,un.alphaBlended,pn.disabled,Ss(P,s.aN.transparent,ve),null,q,C.debugBuffer,C.quadTriangleIndexBuffer,C.debugSegments),k.draw(b,w.LINE_STRIP,z,B,N,pn.disabled,Ss(P,s.aN.red),W,q,C.debugBuffer,C.tileBorderIndexBuffer,C.debugSegments)}function kc(C,u,p){const b=C.context,w=b.gl,P=C.colorModeForRenderPass(),k=new Pr(w.LEQUAL,Pr.ReadWrite,C.depthRangeFor3D),z=C.useProgram("terrain"),B=u.getTerrainMesh();b.bindFramebuffer.set(null),b.viewport.set([0,0,C.width,C.height]);for(const N of p){const q=C.renderToTexture.getTexture(N),W=u.getTerrainData(N.tileID);b.activeTexture.set(w.TEXTURE0),w.bindTexture(w.TEXTURE_2D,q.texture);const te=C.transform.calculatePosMatrix(N.tileID.toUnwrapped()),ae=u.getMeshFrameDelta(C.transform.zoom),le=C.transform.calculateFogMatrix(N.tileID.toUnwrapped()),ve=sm(te,ae,le,C.style.sky,C.transform.pitch);z.draw(b,w.TRIANGLES,k,wn.disabled,P,pn.backCCW,ve,W,"terrain",B.vertexBuffer,B.indexBuffer,B.segments)}}class x_{constructor(u,p,b){this.vertexBuffer=u,this.indexBuffer=p,this.segments=b}destroy(){this.vertexBuffer.destroy(),this.indexBuffer.destroy(),this.segments.destroy(),this.vertexBuffer=null,this.indexBuffer=null,this.segments=null}}class w_{constructor(u,p){this.context=new gm(u),this.transform=p,this._tileTextures={},this.terrainFacilitator={dirty:!0,matrix:s.ao(new Float64Array(16)),renderTime:0},this.setup(),this.numSublayers=Kt.maxUnderzooming+Kt.maxOverzooming+1,this.depthEpsilon=1/Math.pow(2,16),this.crossTileSymbolIndex=new Sa}resize(u,p,b){if(this.width=Math.floor(u*b),this.height=Math.floor(p*b),this.pixelRatio=b,this.context.viewport.set([0,0,this.width,this.height]),this.style)for(const w of this.style._order)this.style._layers[w].resize()}setup(){const u=this.context,p=new s.aX;p.emplaceBack(0,0),p.emplaceBack(s.X,0),p.emplaceBack(0,s.X),p.emplaceBack(s.X,s.X),this.tileExtentBuffer=u.createVertexBuffer(p,Sc.members),this.tileExtentSegments=s.a0.simpleSegment(0,0,4,2);const b=new s.aX;b.emplaceBack(0,0),b.emplaceBack(s.X,0),b.emplaceBack(0,s.X),b.emplaceBack(s.X,s.X),this.debugBuffer=u.createVertexBuffer(b,Sc.members),this.debugSegments=s.a0.simpleSegment(0,0,4,5);const w=new s.$;w.emplaceBack(0,0,0,0),w.emplaceBack(s.X,0,s.X,0),w.emplaceBack(0,s.X,0,s.X),w.emplaceBack(s.X,s.X,s.X,s.X),this.rasterBoundsBuffer=u.createVertexBuffer(w,at.members),this.rasterBoundsSegments=s.a0.simpleSegment(0,0,4,2);const P=new s.aX;P.emplaceBack(0,0),P.emplaceBack(1,0),P.emplaceBack(0,1),P.emplaceBack(1,1),this.viewportBuffer=u.createVertexBuffer(P,Sc.members),this.viewportSegments=s.a0.simpleSegment(0,0,4,2);const k=new s.aZ;k.emplaceBack(0),k.emplaceBack(1),k.emplaceBack(3),k.emplaceBack(2),k.emplaceBack(0),this.tileBorderIndexBuffer=u.createIndexBuffer(k);const z=new s.aY;z.emplaceBack(0,1,2),z.emplaceBack(2,1,3),this.quadTriangleIndexBuffer=u.createIndexBuffer(z);const B=this.context.gl;this.stencilClearMode=new wn({func:B.ALWAYS,mask:0},0,255,B.ZERO,B.ZERO,B.ZERO)}clearStencil(){const u=this.context,p=u.gl;this.nextStencilID=1,this.currentStencilSource=void 0;const b=s.H();s.aQ(b,0,this.width,this.height,0,0,1),s.K(b,b,[p.drawingBufferWidth,p.drawingBufferHeight,0]),this.useProgram("clippingMask").draw(u,p.TRIANGLES,Pr.disabled,this.stencilClearMode,un.disabled,pn.disabled,Pc(b),null,"$clipping",this.viewportBuffer,this.quadTriangleIndexBuffer,this.viewportSegments)}_renderTileClippingMasks(u,p){if(this.currentStencilSource===u.source||!u.isTileClipped()||!p||!p.length)return;this.currentStencilSource=u.source;const b=this.context,w=b.gl;this.nextStencilID+p.length>256&&this.clearStencil(),b.setColorMode(un.disabled),b.setDepthMode(Pr.disabled);const P=this.useProgram("clippingMask");this._tileClippingMaskIDs={};for(const k of p){const z=this._tileClippingMaskIDs[k.key]=this.nextStencilID++,B=this.style.map.terrain&&this.style.map.terrain.getTerrainData(k);P.draw(b,w.TRIANGLES,Pr.disabled,new wn({func:w.ALWAYS,mask:0},z,255,w.KEEP,w.KEEP,w.REPLACE),un.disabled,pn.disabled,Pc(k.posMatrix),B,"$clipping",this.tileExtentBuffer,this.quadTriangleIndexBuffer,this.tileExtentSegments)}}stencilModeFor3D(){this.currentStencilSource=void 0,this.nextStencilID+1>256&&this.clearStencil();const u=this.nextStencilID++,p=this.context.gl;return new wn({func:p.NOTEQUAL,mask:255},u,255,p.KEEP,p.KEEP,p.REPLACE)}stencilModeForClipping(u){const p=this.context.gl;return new wn({func:p.EQUAL,mask:255},this._tileClippingMaskIDs[u.key],0,p.KEEP,p.KEEP,p.REPLACE)}stencilConfigForOverlap(u){const p=this.context.gl,b=u.sort((k,z)=>z.overscaledZ-k.overscaledZ),w=b[b.length-1].overscaledZ,P=b[0].overscaledZ-w+1;if(P>1){this.currentStencilSource=void 0,this.nextStencilID+P>256&&this.clearStencil();const k={};for(let z=0;z({u_sky_color:xe.properties.get("sky-color"),u_horizon_color:xe.properties.get("horizon-color"),u_horizon:(Pe.height/2+Pe.getHorizon())*pe,u_sky_horizon_blend:xe.properties.get("sky-horizon-blend")*Pe.height/2*pe}))(N,B.style.map.transform,B.pixelRatio),ae=new Pr(W.LEQUAL,Pr.ReadWrite,[0,1]),le=wn.disabled,ve=B.colorModeForRenderPass(),he=B.useProgram("sky");if(!N.mesh){const xe=new s.aX;xe.emplaceBack(-1,-1),xe.emplaceBack(1,-1),xe.emplaceBack(1,1),xe.emplaceBack(-1,1);const Pe=new s.aY;Pe.emplaceBack(0,1,2),Pe.emplaceBack(0,2,3),N.mesh=new x_(q.createVertexBuffer(xe,Sc.members),q.createIndexBuffer(Pe),s.a0.simpleSegment(0,0,xe.length,Pe.length))}he.draw(q,W.TRIANGLES,ae,le,ve,pn.disabled,te,void 0,"sky",N.mesh.vertexBuffer,N.mesh.indexBuffer,N.mesh.segments)}(this,this.style.sky),this._showOverdrawInspector=p.showOverdrawInspector,this.depthRangeFor3D=[0,1-(u._order.length+2)*this.numSublayers*this.depthEpsilon],!this.renderToTexture)for(this.renderPass="opaque",this.currentLayer=b.length-1;this.currentLayer>=0;this.currentLayer--){const B=this.style._layers[b[this.currentLayer]],N=w[B.source],q=P[B.source];this._renderTileClippingMasks(B,q),this.renderLayer(this,N,B,q)}for(this.renderPass="translucent",this.currentLayer=0;this.currentLayerhe.source&&!he.isHidden(q)?[N.sourceCaches[he.source]]:[]),ae=te.filter(he=>he.getSource().type==="vector"),le=te.filter(he=>he.getSource().type!=="vector"),ve=he=>{(!W||W.getSource().maxzoomve(he)),W||le.forEach(he=>ve(he)),W}(this.style,this.transform.zoom);B&&function(N,q,W){for(let te=0;te0),w&&(s.b0(p,b),this.terrainFacilitator.renderTime=Date.now(),this.terrainFacilitator.dirty=!1,function(P,k){const z=P.context,B=z.gl,N=un.unblended,q=new Pr(B.LEQUAL,Pr.ReadWrite,[0,1]),W=k.getTerrainMesh(),te=k.sourceCache.getRenderableTiles(),ae=P.useProgram("terrainDepth");z.bindFramebuffer.set(k.getFramebuffer("depth").framebuffer),z.viewport.set([0,0,P.width/devicePixelRatio,P.height/devicePixelRatio]),z.clear({color:s.aN.transparent,depth:1});for(const le of te){const ve=k.getTerrainData(le.tileID),he={u_matrix:P.transform.calculatePosMatrix(le.tileID.toUnwrapped()),u_ele_delta:k.getMeshFrameDelta(P.transform.zoom)};ae.draw(z,B.TRIANGLES,q,wn.disabled,N,pn.backCCW,he,ve,"terrain",W.vertexBuffer,W.indexBuffer,W.segments)}z.bindFramebuffer.set(null),z.viewport.set([0,0,P.width,P.height])}(this,this.style.map.terrain),function(P,k){const z=P.context,B=z.gl,N=un.unblended,q=new Pr(B.LEQUAL,Pr.ReadWrite,[0,1]),W=k.getTerrainMesh(),te=k.getCoordsTexture(),ae=k.sourceCache.getRenderableTiles(),le=P.useProgram("terrainCoords");z.bindFramebuffer.set(k.getFramebuffer("coords").framebuffer),z.viewport.set([0,0,P.width/devicePixelRatio,P.height/devicePixelRatio]),z.clear({color:s.aN.transparent,depth:1}),k.coordsIndex=[];for(const ve of ae){const he=k.getTerrainData(ve.tileID);z.activeTexture.set(B.TEXTURE0),B.bindTexture(B.TEXTURE_2D,te.texture);const xe={u_matrix:P.transform.calculatePosMatrix(ve.tileID.toUnwrapped()),u_terrain_coords_id:(255-k.coordsIndex.length)/255,u_texture:0,u_ele_delta:k.getMeshFrameDelta(P.transform.zoom)};le.draw(z,B.TRIANGLES,q,wn.disabled,N,pn.backCCW,xe,he,"terrain",W.vertexBuffer,W.indexBuffer,W.segments),k.coordsIndex.push(ve.tileID.key)}z.bindFramebuffer.set(null),z.viewport.set([0,0,P.width,P.height])}(this,this.style.map.terrain))}renderLayer(u,p,b,w){if(!b.isHidden(this.transform.zoom)&&(b.type==="background"||b.type==="custom"||(w||[]).length))switch(this.id=b.id,b.type){case"symbol":(function(P,k,z,B,N){if(P.renderPass!=="translucent")return;const q=wn.disabled,W=P.colorModeForRenderPass();(z._unevaluatedLayout.hasValue("text-variable-anchor")||z._unevaluatedLayout.hasValue("text-variable-anchor-offset"))&&function(te,ae,le,ve,he,xe,Pe,pe,Me){const ze=ae.transform,Ne=yf(),Xe=he==="map",it=xe==="map";for(const Pt of te){const At=ve.getTile(Pt),ot=At.getBucket(le);if(!ot||!ot.text||!ot.text.segments.get().length)continue;const ut=s.ah(ot.textSizeData,ze.zoom),Rt=cr(At,1,ae.transform.zoom),rr=bs(Pt.posMatrix,it,Xe,ae.transform,Rt),pt=le.layout.get("icon-text-fit")!=="none"&&ot.hasIconData();if(ut){const _t=Math.pow(2,ze.zoom-At.tileID.overscaledZ),Jt=ae.style.map.terrain?(pr,Ar)=>ae.style.map.terrain.getElevation(Pt,pr,Ar):null,vn=Ne.translatePosition(ze,At,Pe,pe);kf(ot,Xe,it,Me,ze,rr,Pt.posMatrix,_t,ut,pt,Ne,vn,Pt.toUnwrapped(),Jt)}}}(B,P,z,k,z.layout.get("text-rotation-alignment"),z.layout.get("text-pitch-alignment"),z.paint.get("text-translate"),z.paint.get("text-translate-anchor"),N),z.paint.get("icon-opacity").constantOr(1)!==0&&Ts(P,k,z,B,!1,z.paint.get("icon-translate"),z.paint.get("icon-translate-anchor"),z.layout.get("icon-rotation-alignment"),z.layout.get("icon-pitch-alignment"),z.layout.get("icon-keep-upright"),q,W),z.paint.get("text-opacity").constantOr(1)!==0&&Ts(P,k,z,B,!0,z.paint.get("text-translate"),z.paint.get("text-translate-anchor"),z.layout.get("text-rotation-alignment"),z.layout.get("text-pitch-alignment"),z.layout.get("text-keep-upright"),q,W),k.map.showCollisionBoxes&&(__(P,k,z,B,!0),__(P,k,z,B,!1))})(u,p,b,w,this.style.placement.variableOffsets);break;case"circle":(function(P,k,z,B){if(P.renderPass!=="translucent")return;const N=z.paint.get("circle-opacity"),q=z.paint.get("circle-stroke-width"),W=z.paint.get("circle-stroke-opacity"),te=!z.layout.get("circle-sort-key").isConstant();if(N.constantOr(1)===0&&(q.constantOr(1)===0||W.constantOr(1)===0))return;const ae=P.context,le=ae.gl,ve=P.depthModeForSublayer(0,Pr.ReadOnly),he=wn.disabled,xe=P.colorModeForRenderPass(),Pe=[];for(let pe=0;pepe.sortKey-Me.sortKey);for(const pe of Pe){const{programConfiguration:Me,program:ze,layoutVertexBuffer:Ne,indexBuffer:Xe,uniformValues:it,terrainData:Pt}=pe.state;ze.draw(ae,le.TRIANGLES,ve,he,xe,pn.disabled,it,Pt,z.id,Ne,Xe,pe.segments,z.paint,P.transform.zoom,Me)}})(u,p,b,w);break;case"heatmap":(function(P,k,z,B){if(z.paint.get("heatmap-opacity")!==0)if(P.renderPass==="offscreen"){const N=P.context,q=N.gl,W=wn.disabled,te=new un([q.ONE,q.ONE],s.aN.transparent,[!0,!0,!0,!0]);(function(ae,le,ve){const he=ae.gl;ae.activeTexture.set(he.TEXTURE1),ae.viewport.set([0,0,le.width/4,le.height/4]);let xe=ve.heatmapFbo;if(xe)he.bindTexture(he.TEXTURE_2D,xe.colorAttachment.get()),ae.bindFramebuffer.set(xe.framebuffer);else{const Pe=he.createTexture();he.bindTexture(he.TEXTURE_2D,Pe),he.texParameteri(he.TEXTURE_2D,he.TEXTURE_WRAP_S,he.CLAMP_TO_EDGE),he.texParameteri(he.TEXTURE_2D,he.TEXTURE_WRAP_T,he.CLAMP_TO_EDGE),he.texParameteri(he.TEXTURE_2D,he.TEXTURE_MIN_FILTER,he.LINEAR),he.texParameteri(he.TEXTURE_2D,he.TEXTURE_MAG_FILTER,he.LINEAR),xe=ve.heatmapFbo=ae.createFramebuffer(le.width/4,le.height/4,!1,!1),function(pe,Me,ze,Ne){var Xe,it;const Pt=pe.gl,At=(Xe=pe.HALF_FLOAT)!==null&&Xe!==void 0?Xe:Pt.UNSIGNED_BYTE,ot=(it=pe.RGBA16F)!==null&&it!==void 0?it:Pt.RGBA;Pt.texImage2D(Pt.TEXTURE_2D,0,ot,Me.width/4,Me.height/4,0,Pt.RGBA,At,null),Ne.colorAttachment.set(ze)}(ae,le,Pe,xe)}})(N,P,z),N.clear({color:s.aN.transparent});for(let ae=0;ae{const pe=s.H();s.aQ(pe,0,ve.width,ve.height,0,0,1);const Me=ve.context.gl;return{u_matrix:pe,u_world:[Me.drawingBufferWidth,Me.drawingBufferHeight],u_image:0,u_color_ramp:1,u_opacity:he.paint.get("heatmap-opacity")}})(N,q),null,q.id,N.viewportBuffer,N.quadTriangleIndexBuffer,N.viewportSegments,q.paint,N.transform.zoom)}(P,z))})(u,p,b,w);break;case"line":(function(P,k,z,B){if(P.renderPass!=="translucent")return;const N=z.paint.get("line-opacity"),q=z.paint.get("line-width");if(N.constantOr(1)===0||q.constantOr(1)===0)return;const W=P.depthModeForSublayer(0,Pr.ReadOnly),te=P.colorModeForRenderPass(),ae=z.paint.get("line-dasharray"),le=z.paint.get("line-pattern"),ve=le.constantOr(1),he=z.paint.get("line-gradient"),xe=z.getCrossfadeParameters(),Pe=ve?"linePattern":ae?"lineSDF":he?"lineGradient":"line",pe=P.context,Me=pe.gl;let ze=!0;for(const Ne of B){const Xe=k.getTile(Ne);if(ve&&!Xe.patternsLoaded())continue;const it=Xe.getBucket(z);if(!it)continue;const Pt=it.programConfigurations.get(z.id),At=P.context.program.get(),ot=P.useProgram(Pe,Pt),ut=ze||ot.program!==At,Rt=P.style.map.terrain&&P.style.map.terrain.getTerrainData(Ne),rr=le.constantOr(null);if(rr&&Xe.imageAtlas){const Jt=Xe.imageAtlas,vn=Jt.patternPositions[rr.to.toString()],pr=Jt.patternPositions[rr.from.toString()];vn&&pr&&Pt.setConstantPatternPositions(vn,pr)}const pt=Rt?Ne:null,_t=ve?t_(P,Xe,z,xe,pt):ae?r_(P,Xe,z,ae,xe,pt):he?Cf(P,Xe,z,it.lineClipsArray.length,pt):Ac(P,Xe,z,pt);if(ve)pe.activeTexture.set(Me.TEXTURE0),Xe.imageAtlasTexture.bind(Me.LINEAR,Me.CLAMP_TO_EDGE),Pt.updatePaintBuffers(xe);else if(ae&&(ut||P.lineAtlas.dirty))pe.activeTexture.set(Me.TEXTURE0),P.lineAtlas.bind(pe);else if(he){const Jt=it.gradients[z.id];let vn=Jt.texture;if(z.gradientVersion!==Jt.version){let pr=256;if(z.stepInterpolant){const Ar=k.getSource().maxzoom,gn=Ne.canonical.z===Ar?Math.ceil(1<0?p.pop():null}isPatternMissing(u){if(!u)return!1;if(!u.from||!u.to)return!0;const p=this.imageManager.getPattern(u.from.toString()),b=this.imageManager.getPattern(u.to.toString());return!p||!b}useProgram(u,p){this.cache=this.cache||{};const b=u+(p?p.cacheKey:"")+(this._showOverdrawInspector?"/overdraw":"")+(this.style.map.terrain?"/terrain":"");return this.cache[b]||(this.cache[b]=new xf(this.context,ws[u],p,Af[u],this._showOverdrawInspector,this.style.map.terrain)),this.cache[b]}setCustomLayerDefaults(){this.context.unbindVAO(),this.context.cullFace.setDefault(),this.context.activeTexture.setDefault(),this.context.pixelStoreUnpack.setDefault(),this.context.pixelStoreUnpackPremultiplyAlpha.setDefault(),this.context.pixelStoreUnpackFlipY.setDefault()}setBaseState(){const u=this.context.gl;this.context.cullFace.set(!1),this.context.viewport.set([0,0,this.width,this.height]),this.context.blendEquation.set(u.FUNC_ADD)}initDebugOverlayCanvas(){this.debugOverlayCanvas==null&&(this.debugOverlayCanvas=document.createElement("canvas"),this.debugOverlayCanvas.width=512,this.debugOverlayCanvas.height=512,this.debugOverlayTexture=new ne(this.context,this.debugOverlayCanvas,this.context.gl.RGBA))}destroy(){this.debugOverlayTexture&&this.debugOverlayTexture.destroy()}overLimit(){const{drawingBufferWidth:u,drawingBufferHeight:p}=this.context.gl;return this.width!==u||this.height!==p}}class vl{constructor(u,p){this.points=u,this.planes=p}static fromInvProjectionMatrix(u,p,b){const w=Math.pow(2,b),P=[[-1,1,-1,1],[1,1,-1,1],[1,-1,-1,1],[-1,-1,-1,1],[-1,1,1,1],[1,1,1,1],[1,-1,1,1],[-1,-1,1,1]].map(z=>{const B=1/(z=s.ag([],z,u))[3]/p*w;return s.b1(z,z,[B,B,1/z[3],B])}),k=[[0,1,2],[6,5,4],[0,3,7],[2,1,5],[3,2,6],[0,4,5]].map(z=>{const B=function(te,ae){var le=ae[0],ve=ae[1],he=ae[2],xe=le*le+ve*ve+he*he;return xe>0&&(xe=1/Math.sqrt(xe)),te[0]=ae[0]*xe,te[1]=ae[1]*xe,te[2]=ae[2]*xe,te}([],function(te,ae,le){var ve=ae[0],he=ae[1],xe=ae[2],Pe=le[0],pe=le[1],Me=le[2];return te[0]=he*Me-xe*pe,te[1]=xe*Pe-ve*Me,te[2]=ve*pe-he*Pe,te}([],H([],P[z[0]],P[z[1]]),H([],P[z[2]],P[z[1]]))),N=-((q=B)[0]*(W=P[z[1]])[0]+q[1]*W[1]+q[2]*W[2]);var q,W;return B.concat(N)});return new vl(P,k)}}class Ff{constructor(u,p){this.min=u,this.max=p,this.center=function(b,w,P){return b[0]=.5*w[0],b[1]=.5*w[1],b[2]=.5*w[2],b}([],function(b,w,P){return b[0]=w[0]+P[0],b[1]=w[1]+P[1],b[2]=w[2]+P[2],b}([],this.min,this.max))}quadrant(u){const p=[u%2==0,u<2],b=G(this.min),w=G(this.max);for(let P=0;P=0&&k++;if(k===0)return 0;k!==p.length&&(b=!1)}if(b)return 2;for(let w=0;w<3;w++){let P=Number.MAX_VALUE,k=-Number.MAX_VALUE;for(let z=0;zthis.max[w]-this.min[w])return 0}return 1}}class $f{constructor(u=0,p=0,b=0,w=0){if(isNaN(u)||u<0||isNaN(p)||p<0||isNaN(b)||b<0||isNaN(w)||w<0)throw new Error("Invalid value for edge-insets, top, bottom, left and right must all be numbers");this.top=u,this.bottom=p,this.left=b,this.right=w}interpolate(u,p,b){return p.top!=null&&u.top!=null&&(this.top=s.z.number(u.top,p.top,b)),p.bottom!=null&&u.bottom!=null&&(this.bottom=s.z.number(u.bottom,p.bottom,b)),p.left!=null&&u.left!=null&&(this.left=s.z.number(u.left,p.left,b)),p.right!=null&&u.right!=null&&(this.right=s.z.number(u.right,p.right,b)),this}getCenter(u,p){const b=s.ad((this.left+u-this.right)/2,0,u),w=s.ad((this.top+p-this.bottom)/2,0,p);return new s.P(b,w)}equals(u){return this.top===u.top&&this.bottom===u.bottom&&this.left===u.left&&this.right===u.right}clone(){return new $f(this.top,this.bottom,this.left,this.right)}toJSON(){return{top:this.top,bottom:this.bottom,left:this.left,right:this.right}}}const Tm=85.051129;class Cm{constructor(u,p,b,w,P){this.tileSize=512,this._renderWorldCopies=P===void 0||!!P,this._minZoom=u||0,this._maxZoom=p||22,this._minPitch=b??0,this._maxPitch=w??60,this.setMaxBounds(),this.width=0,this.height=0,this._center=new s.N(0,0),this._elevation=0,this.zoom=0,this.angle=0,this._fov=.6435011087932844,this._pitch=0,this._unmodified=!0,this._edgeInsets=new $f,this._posMatrixCache={},this._alignedPosMatrixCache={},this._fogMatrixCache={},this.minElevationForCurrentTile=0}clone(){const u=new Cm(this._minZoom,this._maxZoom,this._minPitch,this.maxPitch,this._renderWorldCopies);return u.apply(this),u}apply(u){this.tileSize=u.tileSize,this.latRange=u.latRange,this.width=u.width,this.height=u.height,this._center=u._center,this._elevation=u._elevation,this.minElevationForCurrentTile=u.minElevationForCurrentTile,this.zoom=u.zoom,this.angle=u.angle,this._fov=u._fov,this._pitch=u._pitch,this._unmodified=u._unmodified,this._edgeInsets=u._edgeInsets.clone(),this._calcMatrices()}get minZoom(){return this._minZoom}set minZoom(u){this._minZoom!==u&&(this._minZoom=u,this.zoom=Math.max(this.zoom,u))}get maxZoom(){return this._maxZoom}set maxZoom(u){this._maxZoom!==u&&(this._maxZoom=u,this.zoom=Math.min(this.zoom,u))}get minPitch(){return this._minPitch}set minPitch(u){this._minPitch!==u&&(this._minPitch=u,this.pitch=Math.max(this.pitch,u))}get maxPitch(){return this._maxPitch}set maxPitch(u){this._maxPitch!==u&&(this._maxPitch=u,this.pitch=Math.min(this.pitch,u))}get renderWorldCopies(){return this._renderWorldCopies}set renderWorldCopies(u){u===void 0?u=!0:u===null&&(u=!1),this._renderWorldCopies=u}get worldSize(){return this.tileSize*this.scale}get centerOffset(){return this.centerPoint._sub(this.size._div(2))}get size(){return new s.P(this.width,this.height)}get bearing(){return-this.angle/Math.PI*180}set bearing(u){const p=-s.b3(u,-180,180)*Math.PI/180;this.angle!==p&&(this._unmodified=!1,this.angle=p,this._calcMatrices(),this.rotationMatrix=function(){var b=new s.A(4);return s.A!=Float32Array&&(b[1]=0,b[2]=0),b[0]=1,b[3]=1,b}(),function(b,w,P){var k=w[0],z=w[1],B=w[2],N=w[3],q=Math.sin(P),W=Math.cos(P);b[0]=k*W+B*q,b[1]=z*W+N*q,b[2]=k*-q+B*W,b[3]=z*-q+N*W}(this.rotationMatrix,this.rotationMatrix,this.angle))}get pitch(){return this._pitch/Math.PI*180}set pitch(u){const p=s.ad(u,this.minPitch,this.maxPitch)/180*Math.PI;this._pitch!==p&&(this._unmodified=!1,this._pitch=p,this._calcMatrices())}get fov(){return this._fov/Math.PI*180}set fov(u){u=Math.max(.01,Math.min(60,u)),this._fov!==u&&(this._unmodified=!1,this._fov=u/180*Math.PI,this._calcMatrices())}get zoom(){return this._zoom}set zoom(u){const p=Math.min(Math.max(u,this.minZoom),this.maxZoom);this._zoom!==p&&(this._unmodified=!1,this._zoom=p,this.tileZoom=Math.max(0,Math.floor(p)),this.scale=this.zoomScale(p),this._constrain(),this._calcMatrices())}get center(){return this._center}set center(u){u.lat===this._center.lat&&u.lng===this._center.lng||(this._unmodified=!1,this._center=u,this._constrain(),this._calcMatrices())}get elevation(){return this._elevation}set elevation(u){u!==this._elevation&&(this._elevation=u,this._constrain(),this._calcMatrices())}get padding(){return this._edgeInsets.toJSON()}set padding(u){this._edgeInsets.equals(u)||(this._unmodified=!1,this._edgeInsets.interpolate(this._edgeInsets,u,1),this._calcMatrices())}get centerPoint(){return this._edgeInsets.getCenter(this.width,this.height)}isPaddingEqual(u){return this._edgeInsets.equals(u)}interpolatePadding(u,p,b){this._unmodified=!1,this._edgeInsets.interpolate(u,p,b),this._constrain(),this._calcMatrices()}coveringZoomLevel(u){const p=(u.roundZoom?Math.round:Math.floor)(this.zoom+this.scaleZoom(this.tileSize/u.tileSize));return Math.max(0,p)}getVisibleUnwrappedCoordinates(u){const p=[new s.b4(0,u)];if(this._renderWorldCopies){const b=this.pointCoordinate(new s.P(0,0)),w=this.pointCoordinate(new s.P(this.width,0)),P=this.pointCoordinate(new s.P(this.width,this.height)),k=this.pointCoordinate(new s.P(0,this.height)),z=Math.floor(Math.min(b.x,w.x,P.x,k.x)),B=Math.floor(Math.max(b.x,w.x,P.x,k.x)),N=1;for(let q=z-N;q<=B+N;q++)q!==0&&p.push(new s.b4(q,u))}return p}coveringTiles(u){var p,b;let w=this.coveringZoomLevel(u);const P=w;if(u.minzoom!==void 0&&wu.maxzoom&&(w=u.maxzoom);const k=this.pointCoordinate(this.getCameraPoint()),z=s.Z.fromLngLat(this.center),B=Math.pow(2,w),N=[B*k.x,B*k.y,0],q=[B*z.x,B*z.y,0],W=vl.fromInvProjectionMatrix(this.invModelViewProjectionMatrix,this.worldSize,w);let te=u.minzoom||0;!u.terrain&&this.pitch<=60&&this._edgeInsets.top<.1&&(te=w);const ae=u.terrain?2/Math.min(this.tileSize,u.tileSize)*this.tileSize:3,le=pe=>({aabb:new Ff([pe*B,0,0],[(pe+1)*B,B,0]),zoom:0,x:0,y:0,wrap:pe,fullyVisible:!1}),ve=[],he=[],xe=w,Pe=u.reparseOverscaled?P:w;if(this._renderWorldCopies)for(let pe=1;pe<=3;pe++)ve.push(le(-pe)),ve.push(le(pe));for(ve.push(le(0));ve.length>0;){const pe=ve.pop(),Me=pe.x,ze=pe.y;let Ne=pe.fullyVisible;if(!Ne){const ot=pe.aabb.intersects(W);if(ot===0)continue;Ne=ot===2}const Xe=u.terrain?N:q,it=pe.aabb.distanceX(Xe),Pt=pe.aabb.distanceY(Xe),At=Math.max(Math.abs(it),Math.abs(Pt));if(pe.zoom===xe||At>ae+(1<=te){const ot=xe-pe.zoom,ut=N[0]-.5-(Me<>1),rr=pe.zoom+1;let pt=pe.aabb.quadrant(ot);if(u.terrain){const _t=new s.S(rr,pe.wrap,rr,ut,Rt),Jt=u.terrain.getMinMaxElevation(_t),vn=(p=Jt.minElevation)!==null&&p!==void 0?p:this.elevation,pr=(b=Jt.maxElevation)!==null&&b!==void 0?b:this.elevation;pt=new Ff([pt.min[0],pt.min[1],vn],[pt.max[0],pt.max[1],pr])}ve.push({aabb:pt,zoom:rr,x:ut,y:Rt,wrap:pe.wrap,fullyVisible:Ne})}}return he.sort((pe,Me)=>pe.distanceSq-Me.distanceSq).map(pe=>pe.tileID)}resize(u,p){this.width=u,this.height=p,this.pixelsToGLUnits=[2/u,-2/p],this._constrain(),this._calcMatrices()}get unmodified(){return this._unmodified}zoomScale(u){return Math.pow(2,u)}scaleZoom(u){return Math.log(u)/Math.LN2}project(u){const p=s.ad(u.lat,-85.051129,Tm);return new s.P(s.O(u.lng)*this.worldSize,s.Q(p)*this.worldSize)}unproject(u){return new s.Z(u.x/this.worldSize,u.y/this.worldSize).toLngLat()}get point(){return this.project(this.center)}getCameraPosition(){return{lngLat:this.pointLocation(this.getCameraPoint()),altitude:Math.cos(this._pitch)*this.cameraToCenterDistance/this._pixelPerMeter+this.elevation}}recalculateZoom(u){const p=this.elevation,b=Math.cos(this._pitch)*this.cameraToCenterDistance/this._pixelPerMeter,w=this.pointLocation(this.centerPoint,u),P=u.getElevationForLngLatZoom(w,this.tileZoom);if(!(this.elevation-P))return;const k=b+p-P,z=Math.cos(this._pitch)*this.cameraToCenterDistance/k/s.b5(1,w.lat),B=this.scaleZoom(z/this.tileSize);this._elevation=P,this._center=w,this.zoom=B}setLocationAtPoint(u,p){const b=this.pointCoordinate(p),w=this.pointCoordinate(this.centerPoint),P=this.locationCoordinate(u),k=new s.Z(P.x-(b.x-w.x),P.y-(b.y-w.y));this.center=this.coordinateLocation(k),this._renderWorldCopies&&(this.center=this.center.wrap())}locationPoint(u,p){return p?this.coordinatePoint(this.locationCoordinate(u),p.getElevationForLngLatZoom(u,this.tileZoom),this.pixelMatrix3D):this.coordinatePoint(this.locationCoordinate(u))}pointLocation(u,p){return this.coordinateLocation(this.pointCoordinate(u,p))}locationCoordinate(u){return s.Z.fromLngLat(u)}coordinateLocation(u){return u&&u.toLngLat()}pointCoordinate(u,p){if(p){const te=p.pointCoordinate(u);if(te!=null)return te}const b=[u.x,u.y,0,1],w=[u.x,u.y,1,1];s.ag(b,b,this.pixelMatrixInverse),s.ag(w,w,this.pixelMatrixInverse);const P=b[3],k=w[3],z=b[1]/P,B=w[1]/k,N=b[2]/P,q=w[2]/k,W=N===q?0:(0-N)/(q-N);return new s.Z(s.z.number(b[0]/P,w[0]/k,W)/this.worldSize,s.z.number(z,B,W)/this.worldSize)}coordinatePoint(u,p=0,b=this.pixelMatrix){const w=[u.x*this.worldSize,u.y*this.worldSize,p,1];return s.ag(w,w,b),new s.P(w[0]/w[3],w[1]/w[3])}getBounds(){const u=Math.max(0,this.height/2-this.getHorizon());return new ye().extend(this.pointLocation(new s.P(0,u))).extend(this.pointLocation(new s.P(this.width,u))).extend(this.pointLocation(new s.P(this.width,this.height))).extend(this.pointLocation(new s.P(0,this.height)))}getMaxBounds(){return this.latRange&&this.latRange.length===2&&this.lngRange&&this.lngRange.length===2?new ye([this.lngRange[0],this.latRange[0]],[this.lngRange[1],this.latRange[1]]):null}getHorizon(){return Math.tan(Math.PI/2-this._pitch)*this.cameraToCenterDistance*.85}setMaxBounds(u){u?(this.lngRange=[u.getWest(),u.getEast()],this.latRange=[u.getSouth(),u.getNorth()],this._constrain()):(this.lngRange=null,this.latRange=[-85.051129,Tm])}calculateTileMatrix(u){const p=u.canonical,b=this.worldSize/this.zoomScale(p.z),w=p.x+Math.pow(2,p.z)*u.wrap,P=s.ao(new Float64Array(16));return s.J(P,P,[w*b,p.y*b,0]),s.K(P,P,[b/s.X,b/s.X,1]),P}calculatePosMatrix(u,p=!1){const b=u.key,w=p?this._alignedPosMatrixCache:this._posMatrixCache;if(w[b])return w[b];const P=this.calculateTileMatrix(u);return s.L(P,p?this.alignedModelViewProjectionMatrix:this.modelViewProjectionMatrix,P),w[b]=new Float32Array(P),w[b]}calculateFogMatrix(u){const p=u.key,b=this._fogMatrixCache;if(b[p])return b[p];const w=this.calculateTileMatrix(u);return s.L(w,this.fogMatrix,w),b[p]=new Float32Array(w),b[p]}customLayerMatrix(){return this.mercatorMatrix.slice()}getConstrained(u,p){p=s.ad(+p,this.minZoom,this.maxZoom);const b={center:new s.N(u.lng,u.lat),zoom:p};let w=this.lngRange;if(!this._renderWorldCopies&&w===null){const pe=179.9999999999;w=[-pe,pe]}const P=this.tileSize*this.zoomScale(b.zoom);let k=0,z=P,B=0,N=P,q=0,W=0;const{x:te,y:ae}=this.size;if(this.latRange){const pe=this.latRange;k=s.Q(pe[1])*P,z=s.Q(pe[0])*P,z-kz&&(xe=z-pe)}if(w){const pe=(B+N)/2;let Me=le;this._renderWorldCopies&&(Me=s.b3(le,pe-P/2,pe+P/2));const ze=te/2;Me-zeN&&(he=N-ze)}if(he!==void 0||xe!==void 0){const pe=new s.P(he??le,xe??ve);b.center=this.unproject.call({worldSize:P},pe).wrap()}return b}_constrain(){if(!this.center||!this.width||!this.height||this._constraining)return;this._constraining=!0;const u=this._unmodified,{center:p,zoom:b}=this.getConstrained(this.center,this.zoom);this.center=p,this.zoom=b,this._unmodified=u,this._constraining=!1}_calcMatrices(){if(!this.height)return;const u=this.centerOffset,p=this.point.x,b=this.point.y;this.cameraToCenterDistance=.5/Math.tan(this._fov/2)*this.height,this._pixelPerMeter=s.b5(1,this.center.lat)*this.worldSize;let w=s.ao(new Float64Array(16));s.K(w,w,[this.width/2,-this.height/2,1]),s.J(w,w,[1,-1,0]),this.labelPlaneMatrix=w,w=s.ao(new Float64Array(16)),s.K(w,w,[1,-1,1]),s.J(w,w,[-1,-1,0]),s.K(w,w,[2/this.width,2/this.height,1]),this.glCoordMatrix=w;const P=this.cameraToCenterDistance+this._elevation*this._pixelPerMeter/Math.cos(this._pitch),k=Math.min(this.elevation,this.minElevationForCurrentTile),z=P-k*this._pixelPerMeter/Math.cos(this._pitch),B=k<0?z:P,N=Math.PI/2+this._pitch,q=this._fov*(.5+u.y/this.height),W=Math.sin(q)*B/Math.sin(s.ad(Math.PI-N-q,.01,Math.PI-.01)),te=this.getHorizon(),ae=2*Math.atan(te/this.cameraToCenterDistance)*(.5+u.y/(2*te)),le=Math.sin(ae)*B/Math.sin(s.ad(Math.PI-N-ae,.01,Math.PI-.01)),ve=Math.min(W,le),he=1.01*(Math.cos(Math.PI/2-this._pitch)*ve+B),xe=this.height/50;w=new Float64Array(16),s.b6(w,this._fov,this.width/this.height,xe,he),w[8]=2*-u.x/this.width,w[9]=2*u.y/this.height,s.K(w,w,[1,-1,1]),s.J(w,w,[0,0,-this.cameraToCenterDistance]),s.b7(w,w,this._pitch),s.ae(w,w,this.angle),s.J(w,w,[-p,-b,0]),this.mercatorMatrix=s.K([],w,[this.worldSize,this.worldSize,this.worldSize]),s.K(w,w,[1,1,this._pixelPerMeter]),this.pixelMatrix=s.L(new Float64Array(16),this.labelPlaneMatrix,w),s.J(w,w,[0,0,-this.elevation]),this.modelViewProjectionMatrix=w,this.invModelViewProjectionMatrix=s.at([],w),this.fogMatrix=new Float64Array(16),s.b6(this.fogMatrix,this._fov,this.width/this.height,P,he),this.fogMatrix[8]=2*-u.x/this.width,this.fogMatrix[9]=2*u.y/this.height,s.K(this.fogMatrix,this.fogMatrix,[1,-1,1]),s.J(this.fogMatrix,this.fogMatrix,[0,0,-this.cameraToCenterDistance]),s.b7(this.fogMatrix,this.fogMatrix,this._pitch),s.ae(this.fogMatrix,this.fogMatrix,this.angle),s.J(this.fogMatrix,this.fogMatrix,[-p,-b,0]),s.K(this.fogMatrix,this.fogMatrix,[1,1,this._pixelPerMeter]),s.J(this.fogMatrix,this.fogMatrix,[0,0,-this.elevation]),this.pixelMatrix3D=s.L(new Float64Array(16),this.labelPlaneMatrix,w);const Pe=this.width%2/2,pe=this.height%2/2,Me=Math.cos(this.angle),ze=Math.sin(this.angle),Ne=p-Math.round(p)+Me*Pe+ze*pe,Xe=b-Math.round(b)+Me*pe+ze*Pe,it=new Float64Array(w);if(s.J(it,it,[Ne>.5?Ne-1:Ne,Xe>.5?Xe-1:Xe,0]),this.alignedModelViewProjectionMatrix=it,w=s.at(new Float64Array(16),this.pixelMatrix),!w)throw new Error("failed to invert matrix");this.pixelMatrixInverse=w,this._posMatrixCache={},this._alignedPosMatrixCache={},this._fogMatrixCache={}}maxPitchScaleFactor(){if(!this.pixelMatrixInverse)return 1;const u=this.pointCoordinate(new s.P(0,0)),p=[u.x*this.worldSize,u.y*this.worldSize,0,1];return s.ag(p,p,this.pixelMatrix)[3]/this.cameraToCenterDistance}getCameraPoint(){const u=Math.tan(this._pitch)*(this.cameraToCenterDistance||1);return this.centerPoint.add(new s.P(0,u))}getCameraQueryGeometry(u){const p=this.getCameraPoint();if(u.length===1)return[u[0],p];{let b=p.x,w=p.y,P=p.x,k=p.y;for(const z of u)b=Math.min(b,z.x),w=Math.min(w,z.y),P=Math.max(P,z.x),k=Math.max(k,z.y);return[new s.P(b,w),new s.P(P,w),new s.P(P,k),new s.P(b,k),new s.P(b,w)]}}lngLatToCameraDepth(u,p){const b=this.locationCoordinate(u),w=[b.x*this.worldSize,b.y*this.worldSize,p,1];return s.ag(w,w,this.modelViewProjectionMatrix),w[2]/w[3]}}function Nf(C,u){let p,b=!1,w=null,P=null;const k=()=>{w=null,b&&(C.apply(P,p),w=setTimeout(k,u),b=!1)};return(...z)=>(b=!0,P=this,p=z,w||k(),w)}class Rc{constructor(u){this._getCurrentHash=()=>{const p=window.location.hash.replace("#","");if(this._hashName){let b;return p.split("&").map(w=>w.split("=")).forEach(w=>{w[0]===this._hashName&&(b=w)}),(b&&b[1]||"").split("/")}return p.split("/")},this._onHashChange=()=>{const p=this._getCurrentHash();if(p.length>=3&&!p.some(b=>isNaN(b))){const b=this._map.dragRotate.isEnabled()&&this._map.touchZoomRotate.isEnabled()?+(p[3]||0):this._map.getBearing();return this._map.jumpTo({center:[+p[2],+p[1]],zoom:+p[0],bearing:b,pitch:+(p[4]||0)}),!0}return!1},this._updateHashUnthrottled=()=>{const p=window.location.href.replace(/(#.+)?$/,this.getHashString());try{window.history.replaceState(window.history.state,null,p)}catch{}},this._updateHash=Nf(this._updateHashUnthrottled,300),this._hashName=u&&encodeURIComponent(u)}addTo(u){return this._map=u,addEventListener("hashchange",this._onHashChange,!1),this._map.on("moveend",this._updateHash),this}remove(){return removeEventListener("hashchange",this._onHashChange,!1),this._map.off("moveend",this._updateHash),clearTimeout(this._updateHash()),delete this._map,this}getHashString(u){const p=this._map.getCenter(),b=Math.round(100*this._map.getZoom())/100,w=Math.ceil((b*Math.LN2+Math.log(512/360/.5))/Math.LN10),P=Math.pow(10,w),k=Math.round(p.lng*P)/P,z=Math.round(p.lat*P)/P,B=this._map.getBearing(),N=this._map.getPitch();let q="";if(q+=u?`/${k}/${z}/${b}`:`${b}/${z}/${k}`,(B||N)&&(q+="/"+Math.round(10*B)/10),N&&(q+=`/${Math.round(N)}`),this._hashName){const W=this._hashName;let te=!1;const ae=window.location.hash.slice(1).split("&").map(le=>{const ve=le.split("=")[0];return ve===W?(te=!0,`${ve}=${q}`):le}).filter(le=>le);return te||ae.push(`${W}=${q}`),`#${ae.join("&")}`}return`#${q}`}}const gl={linearity:.3,easing:s.b8(0,0,.3,1)},Pm=s.e({deceleration:2500,maxSpeed:1400},gl),Am=s.e({deceleration:20,maxSpeed:1400},gl),S_=s.e({deceleration:1e3,maxSpeed:360},gl),Vf=s.e({deceleration:1e3,maxSpeed:90},gl);class jf{constructor(u){this._map=u,this.clear()}clear(){this._inertiaBuffer=[]}record(u){this._drainInertiaBuffer(),this._inertiaBuffer.push({time:v.now(),settings:u})}_drainInertiaBuffer(){const u=this._inertiaBuffer,p=v.now();for(;u.length>0&&p-u[0].time>160;)u.shift()}_onMoveEnd(u){if(this._drainInertiaBuffer(),this._inertiaBuffer.length<2)return;const p={zoom:0,bearing:0,pitch:0,pan:new s.P(0,0),pinchAround:void 0,around:void 0};for(const{settings:P}of this._inertiaBuffer)p.zoom+=P.zoomDelta||0,p.bearing+=P.bearingDelta||0,p.pitch+=P.pitchDelta||0,P.panDelta&&p.pan._add(P.panDelta),P.around&&(p.around=P.around),P.pinchAround&&(p.pinchAround=P.pinchAround);const b=this._inertiaBuffer[this._inertiaBuffer.length-1].time-this._inertiaBuffer[0].time,w={};if(p.pan.mag()){const P=Hf(p.pan.mag(),b,s.e({},Pm,u||{}));w.offset=p.pan.mult(P.amount/p.pan.mag()),w.center=this._map.transform.center,iu(w,P)}if(p.zoom){const P=Hf(p.zoom,b,Am);w.zoom=this._map.transform.zoom+P.amount,iu(w,P)}if(p.bearing){const P=Hf(p.bearing,b,S_);w.bearing=this._map.transform.bearing+s.ad(P.amount,-179,179),iu(w,P)}if(p.pitch){const P=Hf(p.pitch,b,Vf);w.pitch=this._map.transform.pitch+P.amount,iu(w,P)}if(w.zoom||w.bearing){const P=p.pinchAround===void 0?p.around:p.pinchAround;w.around=P?this._map.unproject(P):this._map.getCenter()}return this.clear(),s.e(w,{noMoveStart:!0})}}function iu(C,u){(!C.duration||C.durationp.unproject(B)),z=P.reduce((B,N,q,W)=>B.add(N.div(W.length)),new s.P(0,0));super(u,{points:P,point:z,lngLats:k,lngLat:p.unproject(z),originalEvent:b}),this._defaultPrevented=!1}}class Im extends s.k{preventDefault(){this._defaultPrevented=!0}get defaultPrevented(){return this._defaultPrevented}constructor(u,p,b){super(u,{originalEvent:b}),this._defaultPrevented=!1}}class Uf{constructor(u,p){this._map=u,this._clickTolerance=p.clickTolerance}reset(){delete this._mousedownPos}wheel(u){return this._firePreventable(new Im(u.type,this._map,u))}mousedown(u,p){return this._mousedownPos=p,this._firePreventable(new Mi(u.type,this._map,u))}mouseup(u){this._map.fire(new Mi(u.type,this._map,u))}click(u,p){this._mousedownPos&&this._mousedownPos.dist(p)>=this._clickTolerance||this._map.fire(new Mi(u.type,this._map,u))}dblclick(u){return this._firePreventable(new Mi(u.type,this._map,u))}mouseover(u){this._map.fire(new Mi(u.type,this._map,u))}mouseout(u){this._map.fire(new Mi(u.type,this._map,u))}touchstart(u){return this._firePreventable(new Oc(u.type,this._map,u))}touchmove(u){this._map.fire(new Oc(u.type,this._map,u))}touchend(u){this._map.fire(new Oc(u.type,this._map,u))}touchcancel(u){this._map.fire(new Oc(u.type,this._map,u))}_firePreventable(u){if(this._map.fire(u),u.defaultPrevented)return{}}isEnabled(){return!0}isActive(){return!1}enable(){}disable(){}}class Em{constructor(u){this._map=u}reset(){this._delayContextMenu=!1,this._ignoreContextMenu=!0,delete this._contextMenuEvent}mousemove(u){this._map.fire(new Mi(u.type,this._map,u))}mousedown(){this._delayContextMenu=!0,this._ignoreContextMenu=!1}mouseup(){this._delayContextMenu=!1,this._contextMenuEvent&&(this._map.fire(new Mi("contextmenu",this._map,this._contextMenuEvent)),delete this._contextMenuEvent)}contextmenu(u){this._delayContextMenu?this._contextMenuEvent=u:this._ignoreContextMenu||this._map.fire(new Mi(u.type,this._map,u)),this._map.listens("contextmenu")&&u.preventDefault()}isEnabled(){return!0}isActive(){return!1}enable(){}disable(){}}class au{constructor(u){this._map=u}get transform(){return this._map._requestedCameraState||this._map.transform}get center(){return{lng:this.transform.center.lng,lat:this.transform.center.lat}}get zoom(){return this.transform.zoom}get pitch(){return this.transform.pitch}get bearing(){return this.transform.bearing}unproject(u){return this.transform.pointLocation(s.P.convert(u),this._map.terrain)}}class Mm{constructor(u,p){this._map=u,this._tr=new au(u),this._el=u.getCanvasContainer(),this._container=u.getContainer(),this._clickTolerance=p.clickTolerance||1}isEnabled(){return!!this._enabled}isActive(){return!!this._active}enable(){this.isEnabled()||(this._enabled=!0)}disable(){this.isEnabled()&&(this._enabled=!1)}mousedown(u,p){this.isEnabled()&&u.shiftKey&&u.button===0&&(y.disableDrag(),this._startPos=this._lastPos=p,this._active=!0)}mousemoveWindow(u,p){if(!this._active)return;const b=p;if(this._lastPos.equals(b)||!this._box&&b.dist(this._startPos)P.fitScreenCoordinates(b,w,this._tr.bearing,{linear:!0})};this._fireEvent("boxzoomcancel",u)}keydown(u){this._active&&u.keyCode===27&&(this.reset(),this._fireEvent("boxzoomcancel",u))}reset(){this._active=!1,this._container.classList.remove("maplibregl-crosshair"),this._box&&(y.remove(this._box),this._box=null),y.enableDrag(),delete this._startPos,delete this._lastPos}_fireEvent(u,p){return this._map.fire(new s.k(u,{originalEvent:p}))}}function ou(C,u){if(C.length!==u.length)throw new Error(`The number of touches and points are not equal - touches ${C.length}, points ${u.length}`);const p={};for(let b=0;bthis.numTouches)&&(this.aborted=!0),this.aborted||(this.startTime===void 0&&(this.startTime=u.timeStamp),b.length===this.numTouches&&(this.centroid=function(w){const P=new s.P(0,0);for(const k of w)P._add(k);return P.div(w.length)}(p),this.touches=ou(b,p)))}touchmove(u,p,b){if(this.aborted||!this.centroid)return;const w=ou(b,p);for(const P in this.touches){const k=w[P];(!k||k.dist(this.touches[P])>30)&&(this.aborted=!0)}}touchend(u,p,b){if((!this.centroid||u.timeStamp-this.startTime>500)&&(this.aborted=!0),b.length===0){const w=!this.aborted&&this.centroid;if(this.reset(),w)return w}}}class Lm{constructor(u){this.singleTap=new Dm(u),this.numTaps=u.numTaps,this.reset()}reset(){this.lastTime=1/0,delete this.lastTap,this.count=0,this.singleTap.reset()}touchstart(u,p,b){this.singleTap.touchstart(u,p,b)}touchmove(u,p,b){this.singleTap.touchmove(u,p,b)}touchend(u,p,b){const w=this.singleTap.touchend(u,p,b);if(w){const P=u.timeStamp-this.lastTime<500,k=!this.lastTap||this.lastTap.dist(w)<30;if(P&&k||this.reset(),this.count++,this.lastTime=u.timeStamp,this.lastTap=w,this.count===this.numTaps)return this.reset(),w}}}class T_{constructor(u){this._tr=new au(u),this._zoomIn=new Lm({numTouches:1,numTaps:2}),this._zoomOut=new Lm({numTouches:2,numTaps:1}),this.reset()}reset(){this._active=!1,this._zoomIn.reset(),this._zoomOut.reset()}touchstart(u,p,b){this._zoomIn.touchstart(u,p,b),this._zoomOut.touchstart(u,p,b)}touchmove(u,p,b){this._zoomIn.touchmove(u,p,b),this._zoomOut.touchmove(u,p,b)}touchend(u,p,b){const w=this._zoomIn.touchend(u,p,b),P=this._zoomOut.touchend(u,p,b),k=this._tr;return w?(this._active=!0,u.preventDefault(),setTimeout(()=>this.reset(),0),{cameraAnimation:z=>z.easeTo({duration:300,zoom:k.zoom+1,around:k.unproject(w)},{originalEvent:u})}):P?(this._active=!0,u.preventDefault(),setTimeout(()=>this.reset(),0),{cameraAnimation:z=>z.easeTo({duration:300,zoom:k.zoom-1,around:k.unproject(P)},{originalEvent:u})}):void 0}touchcancel(){this.reset()}enable(){this._enabled=!0}disable(){this._enabled=!1,this.reset()}isEnabled(){return this._enabled}isActive(){return this._active}}class mn{constructor(u){this._enabled=!!u.enable,this._moveStateManager=u.moveStateManager,this._clickTolerance=u.clickTolerance||1,this._moveFunction=u.move,this._activateOnStart=!!u.activateOnStart,u.assignEvents(this),this.reset()}reset(u){this._active=!1,this._moved=!1,delete this._lastPoint,this._moveStateManager.endMove(u)}_move(...u){const p=this._moveFunction(...u);if(p.bearingDelta||p.pitchDelta||p.around||p.panDelta)return this._active=!0,p}dragStart(u,p){this.isEnabled()&&!this._lastPoint&&this._moveStateManager.isValidStartEvent(u)&&(this._moveStateManager.startMove(u),this._lastPoint=p.length?p[0]:p,this._activateOnStart&&this._lastPoint&&(this._active=!0))}dragMove(u,p){if(!this.isEnabled())return;const b=this._lastPoint;if(!b)return;if(u.preventDefault(),!this._moveStateManager.isValidMoveEvent(u))return void this.reset(u);const w=p.length?p[0]:p;return!this._moved&&w.dist(b){C.mousedown=C.dragStart,C.mousemoveWindow=C.dragMove,C.mouseup=C.dragEnd,C.contextmenu=u=>{u.preventDefault()}},km=({enable:C,clickTolerance:u,bearingDegreesPerPixelMoved:p=.8})=>{const b=new Hi({checkCorrectEvent:w=>y.mouseButton(w)===0&&w.ctrlKey||y.mouseButton(w)===2});return new mn({clickTolerance:u,move:(w,P)=>({bearingDelta:(P.x-w.x)*p}),moveStateManager:b,enable:C,assignEvents:zc})},_l=({enable:C,clickTolerance:u,pitchDegreesPerPixelMoved:p=-.5})=>{const b=new Hi({checkCorrectEvent:w=>y.mouseButton(w)===0&&w.ctrlKey||y.mouseButton(w)===2});return new mn({clickTolerance:u,move:(w,P)=>({pitchDelta:(P.y-w.y)*p}),moveStateManager:b,enable:C,assignEvents:zc})};class Bc{constructor(u,p){this._clickTolerance=u.clickTolerance||1,this._map=p,this.reset()}reset(){this._active=!1,this._touches={},this._sum=new s.P(0,0)}minTouchs(){return this._map.cooperativeGestures.isEnabled()?2:1}touchstart(u,p,b){return this._calculateTransform(u,p,b)}touchmove(u,p,b){if(this._active&&!(b.length0&&(this._active=!0);const w=ou(b,p),P=new s.P(0,0),k=new s.P(0,0);let z=0;for(const N in w){const q=w[N],W=this._touches[N];W&&(P._add(q),k._add(q.sub(W)),z++,w[N]=q)}if(this._touches=w,zMath.abs(C.x)}class Fm extends Fc{constructor(u){super(),this._currentTouchCount=0,this._map=u}reset(){super.reset(),this._valid=void 0,delete this._firstMove,delete this._lastPoints}touchstart(u,p,b){super.touchstart(u,p,b),this._currentTouchCount=b.length}_start(u){this._lastPoints=u,Wo(u[0].sub(u[1]))&&(this._valid=!1)}_move(u,p,b){if(this._map.cooperativeGestures.isEnabled()&&this._currentTouchCount<3)return;const w=u[0].sub(this._lastPoints[0]),P=u[1].sub(this._lastPoints[1]);return this._valid=this.gestureBeginsVertically(w,P,b.timeStamp),this._valid?(this._lastPoints=u,this._active=!0,{pitchDelta:(w.y+P.y)/2*-.5}):void 0}gestureBeginsVertically(u,p,b){if(this._valid!==void 0)return this._valid;const w=u.mag()>=2,P=p.mag()>=2;if(!w&&!P)return;if(!w||!P)return this._firstMove===void 0&&(this._firstMove=b),b-this._firstMove<100&&void 0;const k=u.y>0==p.y>0;return Wo(u)&&Wo(p)&&k}}const C_={panStep:100,bearingStep:15,pitchStep:10};class $m{constructor(u){this._tr=new au(u);const p=C_;this._panStep=p.panStep,this._bearingStep=p.bearingStep,this._pitchStep=p.pitchStep,this._rotationDisabled=!1}reset(){this._active=!1}keydown(u){if(u.altKey||u.ctrlKey||u.metaKey)return;let p=0,b=0,w=0,P=0,k=0;switch(u.keyCode){case 61:case 107:case 171:case 187:p=1;break;case 189:case 109:case 173:p=-1;break;case 37:u.shiftKey?b=-1:(u.preventDefault(),P=-1);break;case 39:u.shiftKey?b=1:(u.preventDefault(),P=1);break;case 38:u.shiftKey?w=1:(u.preventDefault(),k=-1);break;case 40:u.shiftKey?w=-1:(u.preventDefault(),k=1);break;default:return}return this._rotationDisabled&&(b=0,w=0),{cameraAnimation:z=>{const B=this._tr;z.easeTo({duration:300,easeId:"keyboardHandler",easing:P_,zoom:p?Math.round(B.zoom)+p*(u.shiftKey?2:1):B.zoom,bearing:B.bearing+b*this._bearingStep,pitch:B.pitch+w*this._pitchStep,offset:[-P*this._panStep,-k*this._panStep],center:B.center},{originalEvent:u})}}}enable(){this._enabled=!0}disable(){this._enabled=!1,this.reset()}isEnabled(){return this._enabled}isActive(){return this._active}disableRotation(){this._rotationDisabled=!0}enableRotation(){this._rotationDisabled=!1}}function P_(C){return C*(2-C)}const Nm=4.000244140625;class Vm{constructor(u,p){this._onTimeout=b=>{this._type="wheel",this._delta-=this._lastValue,this._active||this._start(b)},this._map=u,this._tr=new au(u),this._triggerRenderFrame=p,this._delta=0,this._defaultZoomRate=.01,this._wheelZoomRate=.0022222222222222222}setZoomRate(u){this._defaultZoomRate=u}setWheelZoomRate(u){this._wheelZoomRate=u}isEnabled(){return!!this._enabled}isActive(){return!!this._active||this._finishTimeout!==void 0}isZooming(){return!!this._zooming}enable(u){this.isEnabled()||(this._enabled=!0,this._aroundCenter=!!u&&u.around==="center")}disable(){this.isEnabled()&&(this._enabled=!1)}wheel(u){if(!this.isEnabled()||this._map.cooperativeGestures.isEnabled()&&!u[this._map.cooperativeGestures._bypassKey])return;let p=u.deltaMode===WheelEvent.DOM_DELTA_LINE?40*u.deltaY:u.deltaY;const b=v.now(),w=b-(this._lastWheelEventTime||0);this._lastWheelEventTime=b,p!==0&&p%Nm==0?this._type="wheel":p!==0&&Math.abs(p)<4?this._type="trackpad":w>400?(this._type=null,this._lastValue=p,this._timeout=setTimeout(this._onTimeout,40,u)):this._type||(this._type=Math.abs(w*p)<200?"trackpad":"wheel",this._timeout&&(clearTimeout(this._timeout),this._timeout=null,p+=this._lastValue)),u.shiftKey&&p&&(p/=4),this._type&&(this._lastWheelEvent=u,this._delta-=p,this._active||this._start(u)),u.preventDefault()}_start(u){if(!this._delta)return;this._frameId&&(this._frameId=null),this._active=!0,this.isZooming()||(this._zooming=!0),this._finishTimeout&&(clearTimeout(this._finishTimeout),delete this._finishTimeout);const p=y.mousePos(this._map.getCanvas(),u),b=this._tr;this._around=p.y>b.transform.height/2-b.transform.getHorizon()?s.N.convert(this._aroundCenter?b.center:b.unproject(p)):s.N.convert(b.center),this._aroundPoint=b.transform.locationPoint(this._around),this._frameId||(this._frameId=!0,this._triggerRenderFrame())}renderFrame(){if(!this._frameId||(this._frameId=null,!this.isActive()))return;const u=this._tr.transform;if(this._delta!==0){const z=this._type==="wheel"&&Math.abs(this._delta)>Nm?this._wheelZoomRate:this._defaultZoomRate;let B=2/(1+Math.exp(-Math.abs(this._delta*z)));this._delta<0&&B!==0&&(B=1/B);const N=typeof this._targetZoom=="number"?u.zoomScale(this._targetZoom):u.scale;this._targetZoom=Math.min(u.maxZoom,Math.max(u.minZoom,u.scaleZoom(N*B))),this._type==="wheel"&&(this._startZoom=u.zoom,this._easing=this._smoothOutEasing(200)),this._delta=0}const p=typeof this._targetZoom=="number"?this._targetZoom:u.zoom,b=this._startZoom,w=this._easing;let P,k=!1;if(this._type==="wheel"&&b&&w){const z=Math.min((v.now()-this._lastWheelEventTime)/200,1),B=w(z);P=s.z.number(b,p,B),z<1?this._frameId||(this._frameId=!0):k=!0}else P=p,k=!0;return this._active=!0,k&&(this._active=!1,this._finishTimeout=setTimeout(()=>{this._zooming=!1,this._triggerRenderFrame(),delete this._targetZoom,delete this._finishTimeout},200)),{noInertia:!0,needsRenderFrame:!k,zoomDelta:P-u.zoom,around:this._aroundPoint,originalEvent:this._lastWheelEvent}}_smoothOutEasing(u){let p=s.b9;if(this._prevEase){const b=this._prevEase,w=(v.now()-b.start)/b.duration,P=b.easing(w+.01)-b.easing(w),k=.27/Math.sqrt(P*P+1e-4)*.01,z=Math.sqrt(.0729-k*k);p=s.b8(k,z,.25,1)}return this._prevEase={start:v.now(),duration:u,easing:p},p}reset(){this._active=!1,this._zooming=!1,delete this._targetZoom,this._finishTimeout&&(clearTimeout(this._finishTimeout),delete this._finishTimeout)}}class jm{constructor(u,p){this._clickZoom=u,this._tapZoom=p}enable(){this._clickZoom.enable(),this._tapZoom.enable()}disable(){this._clickZoom.disable(),this._tapZoom.disable()}isEnabled(){return this._clickZoom.isEnabled()&&this._tapZoom.isEnabled()}isActive(){return this._clickZoom.isActive()||this._tapZoom.isActive()}}class Nc{constructor(u){this._tr=new au(u),this.reset()}reset(){this._active=!1}dblclick(u,p){return u.preventDefault(),{cameraAnimation:b=>{b.easeTo({duration:300,zoom:this._tr.zoom+(u.shiftKey?-1:1),around:this._tr.unproject(p)},{originalEvent:u})}}}enable(){this._enabled=!0}disable(){this._enabled=!1,this.reset()}isEnabled(){return this._enabled}isActive(){return this._active}}class A_{constructor(){this._tap=new Lm({numTouches:1,numTaps:1}),this.reset()}reset(){this._active=!1,delete this._swipePoint,delete this._swipeTouch,delete this._tapTime,delete this._tapPoint,this._tap.reset()}touchstart(u,p,b){if(!this._swipePoint)if(this._tapTime){const w=p[0],P=u.timeStamp-this._tapTime<500,k=this._tapPoint.dist(w)<30;P&&k?b.length>0&&(this._swipePoint=w,this._swipeTouch=b[0].identifier):this.reset()}else this._tap.touchstart(u,p,b)}touchmove(u,p,b){if(this._tapTime){if(this._swipePoint){if(b[0].identifier!==this._swipeTouch)return;const w=p[0],P=w.y-this._swipePoint.y;return this._swipePoint=w,u.preventDefault(),this._active=!0,{zoomDelta:P/128}}}else this._tap.touchmove(u,p,b)}touchend(u,p,b){if(this._tapTime)this._swipePoint&&b.length===0&&this.reset();else{const w=this._tap.touchend(u,p,b);w&&(this._tapTime=u.timeStamp,this._tapPoint=w)}}touchcancel(){this.reset()}enable(){this._enabled=!0}disable(){this._enabled=!1,this.reset()}isEnabled(){return this._enabled}isActive(){return this._active}}class Ta{constructor(u,p,b){this._el=u,this._mousePan=p,this._touchPan=b}enable(u){this._inertiaOptions=u||{},this._mousePan.enable(),this._touchPan.enable(),this._el.classList.add("maplibregl-touch-drag-pan")}disable(){this._mousePan.disable(),this._touchPan.disable(),this._el.classList.remove("maplibregl-touch-drag-pan")}isEnabled(){return this._mousePan.isEnabled()&&this._touchPan.isEnabled()}isActive(){return this._mousePan.isActive()||this._touchPan.isActive()}}class Na{constructor(u,p,b){this._pitchWithRotate=u.pitchWithRotate,this._mouseRotate=p,this._mousePitch=b}enable(){this._mouseRotate.enable(),this._pitchWithRotate&&this._mousePitch.enable()}disable(){this._mouseRotate.disable(),this._mousePitch.disable()}isEnabled(){return this._mouseRotate.isEnabled()&&(!this._pitchWithRotate||this._mousePitch.isEnabled())}isActive(){return this._mouseRotate.isActive()||this._mousePitch.isActive()}}class Hm{constructor(u,p,b,w){this._el=u,this._touchZoom=p,this._touchRotate=b,this._tapDragZoom=w,this._rotationDisabled=!1,this._enabled=!0}enable(u){this._touchZoom.enable(u),this._rotationDisabled||this._touchRotate.enable(u),this._tapDragZoom.enable(),this._el.classList.add("maplibregl-touch-zoom-rotate")}disable(){this._touchZoom.disable(),this._touchRotate.disable(),this._tapDragZoom.disable(),this._el.classList.remove("maplibregl-touch-zoom-rotate")}isEnabled(){return this._touchZoom.isEnabled()&&(this._rotationDisabled||this._touchRotate.isEnabled())&&this._tapDragZoom.isEnabled()}isActive(){return this._touchZoom.isActive()||this._touchRotate.isActive()||this._tapDragZoom.isActive()}disableRotation(){this._rotationDisabled=!0,this._touchRotate.disable()}enableRotation(){this._rotationDisabled=!1,this._touchZoom.isEnabled()&&this._touchRotate.enable()}}class Va{constructor(u,p){this._bypassKey=navigator.userAgent.indexOf("Mac")!==-1?"metaKey":"ctrlKey",this._map=u,this._options=p,this._enabled=!1}isActive(){return!1}reset(){}_setupUI(){if(this._container)return;const u=this._map.getCanvasContainer();u.classList.add("maplibregl-cooperative-gestures"),this._container=y.create("div","maplibregl-cooperative-gesture-screen",u);let p=this._map._getUIString("CooperativeGesturesHandler.WindowsHelpText");this._bypassKey==="metaKey"&&(p=this._map._getUIString("CooperativeGesturesHandler.MacHelpText"));const b=this._map._getUIString("CooperativeGesturesHandler.MobileHelpText"),w=document.createElement("div");w.className="maplibregl-desktop-message",w.textContent=p,this._container.appendChild(w);const P=document.createElement("div");P.className="maplibregl-mobile-message",P.textContent=b,this._container.appendChild(P),this._container.setAttribute("aria-hidden","true")}_destoryUI(){this._container&&(y.remove(this._container),this._map.getCanvasContainer().classList.remove("maplibregl-cooperative-gestures")),delete this._container}enable(){this._setupUI(),this._enabled=!0}disable(){this._enabled=!1,this._destoryUI()}isEnabled(){return this._enabled}touchmove(u){this._onCooperativeGesture(u.touches.length===1)}wheel(u){this._map.scrollZoom.isEnabled()&&this._onCooperativeGesture(!u[this._bypassKey])}_onCooperativeGesture(u){this._enabled&&u&&(this._container.classList.add("maplibregl-show"),setTimeout(()=>{this._container.classList.remove("maplibregl-show")},100))}}const qo=C=>C.zoom||C.drag||C.pitch||C.rotate;class Jw extends s.k{}function Um(C){return C.panDelta&&C.panDelta.mag()||C.zoomDelta||C.bearingDelta||C.pitchDelta}class Qw{constructor(u,p){this.handleWindowEvent=w=>{this.handleEvent(w,`${w.type}Window`)},this.handleEvent=(w,P)=>{if(w.type==="blur")return void this.stop(!0);this._updatingCamera=!0;const k=w.type==="renderFrame"?void 0:w,z={needsRenderFrame:!1},B={},N={},q=w.touches,W=q?this._getMapTouches(q):void 0,te=W?y.touchPos(this._map.getCanvas(),W):y.mousePos(this._map.getCanvas(),w);for(const{handlerName:ve,handler:he,allowed:xe}of this._handlers){if(!he.isEnabled())continue;let Pe;this._blockedByActive(N,xe,ve)?he.reset():he[P||w.type]&&(Pe=he[P||w.type](w,te,W),this.mergeHandlerResult(z,B,Pe,ve,k),Pe&&Pe.needsRenderFrame&&this._triggerRenderFrame()),(Pe||he.isActive())&&(N[ve]=he)}const ae={};for(const ve in this._previousActiveHandlers)N[ve]||(ae[ve]=k);this._previousActiveHandlers=N,(Object.keys(ae).length||Um(z))&&(this._changes.push([z,B,ae]),this._triggerRenderFrame()),(Object.keys(N).length||Um(z))&&this._map._stop(!0),this._updatingCamera=!1;const{cameraAnimation:le}=z;le&&(this._inertia.clear(),this._fireEvents({},{},!0),this._changes=[],le(this._map))},this._map=u,this._el=this._map.getCanvasContainer(),this._handlers=[],this._handlersById={},this._changes=[],this._inertia=new jf(u),this._bearingSnap=p.bearingSnap,this._previousActiveHandlers={},this._eventsInProgress={},this._addDefaultHandlers(p);const b=this._el;this._listeners=[[b,"touchstart",{passive:!0}],[b,"touchmove",{passive:!1}],[b,"touchend",void 0],[b,"touchcancel",void 0],[b,"mousedown",void 0],[b,"mousemove",void 0],[b,"mouseup",void 0],[document,"mousemove",{capture:!0}],[document,"mouseup",void 0],[b,"mouseover",void 0],[b,"mouseout",void 0],[b,"dblclick",void 0],[b,"click",void 0],[b,"keydown",{capture:!1}],[b,"keyup",void 0],[b,"wheel",{passive:!1}],[b,"contextmenu",void 0],[window,"blur",void 0]];for(const[w,P,k]of this._listeners)y.addEventListener(w,P,w===document?this.handleWindowEvent:this.handleEvent,k)}destroy(){for(const[u,p,b]of this._listeners)y.removeEventListener(u,p,u===document?this.handleWindowEvent:this.handleEvent,b)}_addDefaultHandlers(u){const p=this._map,b=p.getCanvasContainer();this._add("mapEvent",new Uf(p,u));const w=p.boxZoom=new Mm(p,u);this._add("boxZoom",w),u.interactive&&u.boxZoom&&w.enable();const P=p.cooperativeGestures=new Va(p,u.cooperativeGestures);this._add("cooperativeGestures",P),u.cooperativeGestures&&P.enable();const k=new T_(p),z=new Nc(p);p.doubleClickZoom=new jm(z,k),this._add("tapZoom",k),this._add("clickZoom",z),u.interactive&&u.doubleClickZoom&&p.doubleClickZoom.enable();const B=new A_;this._add("tapDragZoom",B);const N=p.touchPitch=new Fm(p);this._add("touchPitch",N),u.interactive&&u.touchPitch&&p.touchPitch.enable(u.touchPitch);const q=km(u),W=_l(u);p.dragRotate=new Na(u,q,W),this._add("mouseRotate",q,["mousePitch"]),this._add("mousePitch",W,["mouseRotate"]),u.interactive&&u.dragRotate&&p.dragRotate.enable();const te=(({enable:Pe,clickTolerance:pe})=>{const Me=new Hi({checkCorrectEvent:ze=>y.mouseButton(ze)===0&&!ze.ctrlKey});return new mn({clickTolerance:pe,move:(ze,Ne)=>({around:Ne,panDelta:Ne.sub(ze)}),activateOnStart:!0,moveStateManager:Me,enable:Pe,assignEvents:zc})})(u),ae=new Bc(u,p);p.dragPan=new Ta(b,te,ae),this._add("mousePan",te),this._add("touchPan",ae,["touchZoom","touchRotate"]),u.interactive&&u.dragPan&&p.dragPan.enable(u.dragPan);const le=new Bm,ve=new Om;p.touchZoomRotate=new Hm(b,ve,le,B),this._add("touchRotate",le,["touchPan","touchZoom"]),this._add("touchZoom",ve,["touchPan","touchRotate"]),u.interactive&&u.touchZoomRotate&&p.touchZoomRotate.enable(u.touchZoomRotate);const he=p.scrollZoom=new Vm(p,()=>this._triggerRenderFrame());this._add("scrollZoom",he,["mousePan"]),u.interactive&&u.scrollZoom&&p.scrollZoom.enable(u.scrollZoom);const xe=p.keyboard=new $m(p);this._add("keyboard",xe),u.interactive&&u.keyboard&&p.keyboard.enable(),this._add("blockableMapEvent",new Em(p))}_add(u,p,b){this._handlers.push({handlerName:u,handler:p,allowed:b}),this._handlersById[u]=p}stop(u){if(!this._updatingCamera){for(const{handler:p}of this._handlers)p.reset();this._inertia.clear(),this._fireEvents({},{},u),this._changes=[]}}isActive(){for(const{handler:u}of this._handlers)if(u.isActive())return!0;return!1}isZooming(){return!!this._eventsInProgress.zoom||this._map.scrollZoom.isZooming()}isRotating(){return!!this._eventsInProgress.rotate}isMoving(){return!!qo(this._eventsInProgress)||this.isZooming()}_blockedByActive(u,p,b){for(const w in u)if(w!==b&&(!p||p.indexOf(w)<0))return!0;return!1}_getMapTouches(u){const p=[];for(const b of u)this._el.contains(b.target)&&p.push(b);return p}mergeHandlerResult(u,p,b,w,P){if(!b)return;s.e(u,b);const k={handlerName:w,originalEvent:b.originalEvent||P};b.zoomDelta!==void 0&&(p.zoom=k),b.panDelta!==void 0&&(p.drag=k),b.pitchDelta!==void 0&&(p.pitch=k),b.bearingDelta!==void 0&&(p.rotate=k)}_applyChanges(){const u={},p={},b={};for(const[w,P,k]of this._changes)w.panDelta&&(u.panDelta=(u.panDelta||new s.P(0,0))._add(w.panDelta)),w.zoomDelta&&(u.zoomDelta=(u.zoomDelta||0)+w.zoomDelta),w.bearingDelta&&(u.bearingDelta=(u.bearingDelta||0)+w.bearingDelta),w.pitchDelta&&(u.pitchDelta=(u.pitchDelta||0)+w.pitchDelta),w.around!==void 0&&(u.around=w.around),w.pinchAround!==void 0&&(u.pinchAround=w.pinchAround),w.noInertia&&(u.noInertia=w.noInertia),s.e(p,P),s.e(b,k);this._updateMapTransform(u,p,b),this._changes=[]}_updateMapTransform(u,p,b){const w=this._map,P=w._getTransformForUpdate(),k=w.terrain;if(!(Um(u)||k&&this._terrainMovement))return this._fireEvents(p,b,!0);let{panDelta:z,zoomDelta:B,bearingDelta:N,pitchDelta:q,around:W,pinchAround:te}=u;te!==void 0&&(W=te),w._stop(!0),W=W||w.transform.centerPoint;const ae=P.pointLocation(z?W.sub(z):W);N&&(P.bearing+=N),q&&(P.pitch+=q),B&&(P.zoom+=B),k?this._terrainMovement||!p.drag&&!p.zoom?p.drag&&this._terrainMovement?P.center=P.pointLocation(P.centerPoint.sub(z)):P.setLocationAtPoint(ae,W):(this._terrainMovement=!0,this._map._elevationFreeze=!0,P.setLocationAtPoint(ae,W)):P.setLocationAtPoint(ae,W),w._applyUpdatedTransform(P),this._map._update(),u.noInertia||this._inertia.record(u),this._fireEvents(p,b,!0)}_fireEvents(u,p,b){const w=qo(this._eventsInProgress),P=qo(u),k={};for(const W in u){const{originalEvent:te}=u[W];this._eventsInProgress[W]||(k[`${W}start`]=te),this._eventsInProgress[W]=u[W]}!w&&P&&this._fireEvent("movestart",P.originalEvent);for(const W in k)this._fireEvent(W,k[W]);P&&this._fireEvent("move",P.originalEvent);for(const W in u){const{originalEvent:te}=u[W];this._fireEvent(W,te)}const z={};let B;for(const W in this._eventsInProgress){const{handlerName:te,originalEvent:ae}=this._eventsInProgress[W];this._handlersById[te].isActive()||(delete this._eventsInProgress[W],B=p[te]||ae,z[`${W}end`]=B)}for(const W in z)this._fireEvent(W,z[W]);const N=qo(this._eventsInProgress),q=(w||P)&&!N;if(q&&this._terrainMovement&&(this._map._elevationFreeze=!1,this._terrainMovement=!1,this._map.transform.recalculateZoom(this._map.terrain)),b&&q){this._updatingCamera=!0;const W=this._inertia._onMoveEnd(this._map.dragPan._inertiaOptions),te=ae=>ae!==0&&-this._bearingSnap{delete this._frameId,this.handleEvent(new Jw("renderFrame",{timeStamp:u})),this._applyChanges()})}_triggerRenderFrame(){this._frameId===void 0&&(this._frameId=this._requestFrame())}}class eS extends s.E{constructor(u,p){super(),this._renderFrameCallback=()=>{const b=Math.min((v.now()-this._easeStart)/this._easeOptions.duration,1);this._onEaseFrame(this._easeOptions.easing(b)),b<1&&this._easeFrameId?this._easeFrameId=this._requestRenderFrame(this._renderFrameCallback):this.stop()},this._moving=!1,this._zooming=!1,this.transform=u,this._bearingSnap=p.bearingSnap,this.on("moveend",()=>{delete this._requestedCameraState})}getCenter(){return new s.N(this.transform.center.lng,this.transform.center.lat)}setCenter(u,p){return this.jumpTo({center:u},p)}panBy(u,p,b){return u=s.P.convert(u).mult(-1),this.panTo(this.transform.center,s.e({offset:u},p),b)}panTo(u,p,b){return this.easeTo(s.e({center:u},p),b)}getZoom(){return this.transform.zoom}setZoom(u,p){return this.jumpTo({zoom:u},p),this}zoomTo(u,p,b){return this.easeTo(s.e({zoom:u},p),b)}zoomIn(u,p){return this.zoomTo(this.getZoom()+1,u,p),this}zoomOut(u,p){return this.zoomTo(this.getZoom()-1,u,p),this}getBearing(){return this.transform.bearing}setBearing(u,p){return this.jumpTo({bearing:u},p),this}getPadding(){return this.transform.padding}setPadding(u,p){return this.jumpTo({padding:u},p),this}rotateTo(u,p,b){return this.easeTo(s.e({bearing:u},p),b)}resetNorth(u,p){return this.rotateTo(0,s.e({duration:1e3},u),p),this}resetNorthPitch(u,p){return this.easeTo(s.e({bearing:0,pitch:0,duration:1e3},u),p),this}snapToNorth(u,p){return Math.abs(this.getBearing()){if(this._zooming&&(w.zoom=s.z.number(P,he,Xe)),this._rotating&&(w.bearing=s.z.number(k,N,Xe)),this._pitching&&(w.pitch=s.z.number(z,q,Xe)),this._padding&&(w.interpolatePadding(B,W,Xe),ae=w.centerPoint.add(te)),this.terrain&&!u.freezeElevation&&this._updateElevation(Xe),Me)w.setLocationAtPoint(Me,ze);else{const it=w.zoomScale(w.zoom-P),Pt=he>P?Math.min(2,pe):Math.max(.5,pe),At=Math.pow(Pt,1-Xe),ot=w.unproject(xe.add(Pe.mult(Xe*At)).mult(it));w.setLocationAtPoint(w.renderWorldCopies?ot.wrap():ot,ae)}this._applyUpdatedTransform(w),this._fireMoveEvents(p)},Xe=>{this.terrain&&u.freezeElevation&&this._finalizeElevation(),this._afterEase(p,Xe)},u),this}_prepareEase(u,p,b={}){this._moving=!0,p||b.moving||this.fire(new s.k("movestart",u)),this._zooming&&!b.zooming&&this.fire(new s.k("zoomstart",u)),this._rotating&&!b.rotating&&this.fire(new s.k("rotatestart",u)),this._pitching&&!b.pitching&&this.fire(new s.k("pitchstart",u))}_prepareElevation(u){this._elevationCenter=u,this._elevationStart=this.transform.elevation,this._elevationTarget=this.terrain.getElevationForLngLatZoom(u,this.transform.tileZoom),this._elevationFreeze=!0}_updateElevation(u){this.transform.minElevationForCurrentTile=this.terrain.getMinTileElevationForLngLatZoom(this._elevationCenter,this.transform.tileZoom);const p=this.terrain.getElevationForLngLatZoom(this._elevationCenter,this.transform.tileZoom);if(u<1&&p!==this._elevationTarget){const b=this._elevationTarget-this._elevationStart;this._elevationStart+=u*(b-(p-(b*u+this._elevationStart))/(1-u)),this._elevationTarget=p}this.transform.elevation=s.z.number(this._elevationStart,this._elevationTarget,u)}_finalizeElevation(){this._elevationFreeze=!1,this.transform.recalculateZoom(this.terrain)}_getTransformForUpdate(){return this.transformCameraUpdate?(this._requestedCameraState||(this._requestedCameraState=this.transform.clone()),this._requestedCameraState):this.transform}_applyUpdatedTransform(u){if(!this.transformCameraUpdate)return;const p=u.clone(),{center:b,zoom:w,pitch:P,bearing:k,elevation:z}=this.transformCameraUpdate(p);b&&(p.center=b),w!==void 0&&(p.zoom=w),P!==void 0&&(p.pitch=P),k!==void 0&&(p.bearing=k),z!==void 0&&(p.elevation=z),this.transform.apply(p)}_fireMoveEvents(u){this.fire(new s.k("move",u)),this._zooming&&this.fire(new s.k("zoom",u)),this._rotating&&this.fire(new s.k("rotate",u)),this._pitching&&this.fire(new s.k("pitch",u))}_afterEase(u,p){if(this._easeId&&p&&this._easeId===p)return;delete this._easeId;const b=this._zooming,w=this._rotating,P=this._pitching;this._moving=!1,this._zooming=!1,this._rotating=!1,this._pitching=!1,this._padding=!1,b&&this.fire(new s.k("zoomend",u)),w&&this.fire(new s.k("rotateend",u)),P&&this.fire(new s.k("pitchend",u)),this.fire(new s.k("moveend",u))}flyTo(u,p){var b;if(!u.essential&&v.prefersReducedMotion){const _t=s.M(u,["center","zoom","bearing","pitch","around"]);return this.jumpTo(_t,p)}this.stop(),u=s.e({offset:[0,0],speed:1.2,curve:1.42,easing:s.b9},u);const w=this._getTransformForUpdate(),P=this.getZoom(),k=this.getBearing(),z=this.getPitch(),B=this.getPadding(),N="bearing"in u?this._normalizeBearing(u.bearing,k):k,q="pitch"in u?+u.pitch:z,W="padding"in u?u.padding:w.padding,te=s.P.convert(u.offset);let ae=w.centerPoint.add(te);const le=w.pointLocation(ae),{center:ve,zoom:he}=w.getConstrained(s.N.convert(u.center||le),(b=u.zoom)!==null&&b!==void 0?b:P);this._normalizeCenter(ve);const xe=w.zoomScale(he-P),Pe=w.project(le),pe=w.project(ve).sub(Pe);let Me=u.curve;const ze=Math.max(w.width,w.height),Ne=ze/xe,Xe=pe.mag();if("minZoom"in u){const _t=s.ad(Math.min(u.minZoom,P,he),w.minZoom,w.maxZoom),Jt=ze/w.zoomScale(_t-P);Me=Math.sqrt(Jt/Xe*2)}const it=Me*Me;function Pt(_t){const Jt=(Ne*Ne-ze*ze+(_t?-1:1)*it*it*Xe*Xe)/(2*(_t?Ne:ze)*it*Xe);return Math.log(Math.sqrt(Jt*Jt+1)-Jt)}function At(_t){return(Math.exp(_t)-Math.exp(-_t))/2}function ot(_t){return(Math.exp(_t)+Math.exp(-_t))/2}const ut=Pt(!1);let Rt=function(_t){return ot(ut)/ot(ut+Me*_t)},rr=function(_t){return ze*((ot(ut)*(At(Jt=ut+Me*_t)/ot(Jt))-At(ut))/it)/Xe;var Jt},pt=(Pt(!0)-ut)/Me;if(Math.abs(Xe)<1e-6||!isFinite(pt)){if(Math.abs(ze-Ne)<1e-6)return this.easeTo(u,p);const _t=Ne0,Rt=Jt=>Math.exp(_t*Me*Jt)}return u.duration="duration"in u?+u.duration:1e3*pt/("screenSpeed"in u?+u.screenSpeed/Me:+u.speed),u.maxDuration&&u.duration>u.maxDuration&&(u.duration=0),this._zooming=!0,this._rotating=k!==N,this._pitching=q!==z,this._padding=!w.isPaddingEqual(W),this._prepareEase(p,!1),this.terrain&&this._prepareElevation(ve),this._ease(_t=>{const Jt=_t*pt,vn=1/Rt(Jt);w.zoom=_t===1?he:P+w.scaleZoom(vn),this._rotating&&(w.bearing=s.z.number(k,N,_t)),this._pitching&&(w.pitch=s.z.number(z,q,_t)),this._padding&&(w.interpolatePadding(B,W,_t),ae=w.centerPoint.add(te)),this.terrain&&!u.freezeElevation&&this._updateElevation(_t);const pr=_t===1?ve:w.unproject(Pe.add(pe.mult(rr(Jt))).mult(vn));w.setLocationAtPoint(w.renderWorldCopies?pr.wrap():pr,ae),this._applyUpdatedTransform(w),this._fireMoveEvents(p)},()=>{this.terrain&&u.freezeElevation&&this._finalizeElevation(),this._afterEase(p)},u),this}isEasing(){return!!this._easeFrameId}stop(){return this._stop()}_stop(u,p){var b;if(this._easeFrameId&&(this._cancelRenderFrame(this._easeFrameId),delete this._easeFrameId,delete this._onEaseFrame),this._onEaseEnd){const w=this._onEaseEnd;delete this._onEaseEnd,w.call(this,p)}return u||(b=this.handlers)===null||b===void 0||b.stop(!1),this}_ease(u,p,b){b.animate===!1||b.duration===0?(u(1),p()):(this._easeStart=v.now(),this._easeOptions=b,this._onEaseFrame=u,this._onEaseEnd=p,this._easeFrameId=this._requestRenderFrame(this._renderFrameCallback))}_normalizeBearing(u,p){u=s.b3(u,-180,180);const b=Math.abs(u-p);return Math.abs(u-360-p)180?-360:b<-180?360:0}queryTerrainElevation(u){return this.terrain?this.terrain.getElevationForLngLatZoom(s.N.convert(u),this.transform.tileZoom)-this.transform.elevation:null}}const Gm={compact:!0,customAttribution:'MapLibre'};class su{constructor(u=Gm){this._toggleAttribution=()=>{this._container.classList.contains("maplibregl-compact")&&(this._container.classList.contains("maplibregl-compact-show")?(this._container.setAttribute("open",""),this._container.classList.remove("maplibregl-compact-show")):(this._container.classList.add("maplibregl-compact-show"),this._container.removeAttribute("open")))},this._updateData=p=>{!p||p.sourceDataType!=="metadata"&&p.sourceDataType!=="visibility"&&p.dataType!=="style"&&p.type!=="terrain"||this._updateAttributions()},this._updateCompact=()=>{this._map.getCanvasContainer().offsetWidth<=640||this._compact?this._compact===!1?this._container.setAttribute("open",""):this._container.classList.contains("maplibregl-compact")||this._container.classList.contains("maplibregl-attrib-empty")||(this._container.setAttribute("open",""),this._container.classList.add("maplibregl-compact","maplibregl-compact-show")):(this._container.setAttribute("open",""),this._container.classList.contains("maplibregl-compact")&&this._container.classList.remove("maplibregl-compact","maplibregl-compact-show"))},this._updateCompactMinimize=()=>{this._container.classList.contains("maplibregl-compact")&&this._container.classList.contains("maplibregl-compact-show")&&this._container.classList.remove("maplibregl-compact-show")},this.options=u}getDefaultPosition(){return"bottom-right"}onAdd(u){return this._map=u,this._compact=this.options.compact,this._container=y.create("details","maplibregl-ctrl maplibregl-ctrl-attrib"),this._compactButton=y.create("summary","maplibregl-ctrl-attrib-button",this._container),this._compactButton.addEventListener("click",this._toggleAttribution),this._setElementTitle(this._compactButton,"ToggleAttribution"),this._innerContainer=y.create("div","maplibregl-ctrl-attrib-inner",this._container),this._updateAttributions(),this._updateCompact(),this._map.on("styledata",this._updateData),this._map.on("sourcedata",this._updateData),this._map.on("terrain",this._updateData),this._map.on("resize",this._updateCompact),this._map.on("drag",this._updateCompactMinimize),this._container}onRemove(){y.remove(this._container),this._map.off("styledata",this._updateData),this._map.off("sourcedata",this._updateData),this._map.off("terrain",this._updateData),this._map.off("resize",this._updateCompact),this._map.off("drag",this._updateCompactMinimize),this._map=void 0,this._compact=void 0,this._attribHTML=void 0}_setElementTitle(u,p){const b=this._map._getUIString(`AttributionControl.${p}`);u.title=b,u.setAttribute("aria-label",b)}_updateAttributions(){if(!this._map.style)return;let u=[];if(this.options.customAttribution&&(Array.isArray(this.options.customAttribution)?u=u.concat(this.options.customAttribution.map(w=>typeof w!="string"?"":w)):typeof this.options.customAttribution=="string"&&u.push(this.options.customAttribution)),this._map.style.stylesheet){const w=this._map.style.stylesheet;this.styleOwner=w.owner,this.styleId=w.id}const p=this._map.style.sourceCaches;for(const w in p){const P=p[w];if(P.used||P.usedForTerrain){const k=P.getSource();k.attribution&&u.indexOf(k.attribution)<0&&u.push(k.attribution)}}u=u.filter(w=>String(w).trim()),u.sort((w,P)=>w.length-P.length),u=u.filter((w,P)=>{for(let k=P+1;k=0)return!1;return!0});const b=u.join(" | ");b!==this._attribHTML&&(this._attribHTML=b,u.length?(this._innerContainer.innerHTML=b,this._container.classList.remove("maplibregl-attrib-empty")):this._container.classList.add("maplibregl-attrib-empty"),this._updateCompact(),this._editLink=null)}}class fo{constructor(u={}){this._updateCompact=()=>{const p=this._container.children;if(p.length){const b=p[0];this._map.getCanvasContainer().offsetWidth<=640||this._compact?this._compact!==!1&&b.classList.add("maplibregl-compact"):b.classList.remove("maplibregl-compact")}},this.options=u}getDefaultPosition(){return"bottom-left"}onAdd(u){this._map=u,this._compact=this.options&&this.options.compact,this._container=y.create("div","maplibregl-ctrl");const p=y.create("a","maplibregl-ctrl-logo");return p.target="_blank",p.rel="noopener nofollow",p.href="https://maplibre.org/",p.setAttribute("aria-label",this._map._getUIString("LogoControl.Title")),p.setAttribute("rel","noopener nofollow"),this._container.appendChild(p),this._container.style.display="block",this._map.on("resize",this._updateCompact),this._updateCompact(),this._container}onRemove(){y.remove(this._container),this._map.off("resize",this._updateCompact),this._map=void 0,this._compact=void 0}}class Lt{constructor(){this._queue=[],this._id=0,this._cleared=!1,this._currentlyRunning=!1}add(u){const p=++this._id;return this._queue.push({callback:u,id:p,cancelled:!1}),p}remove(u){const p=this._currentlyRunning,b=p?this._queue.concat(p):this._queue;for(const w of b)if(w.id===u)return void(w.cancelled=!0)}run(u=0){if(this._currentlyRunning)throw new Error("Attempting to run(), but is already running.");const p=this._currentlyRunning=this._queue;this._queue=[];for(const b of p)if(!b.cancelled&&(b.callback(u),this._cleared))break;this._cleared=!1,this._currentlyRunning=!1}clear(){this._currentlyRunning&&(this._cleared=!0),this._queue=[]}}var I_=s.Y([{name:"a_pos3d",type:"Int16",components:3}]);class Wm extends s.E{constructor(u){super(),this.sourceCache=u,this._tiles={},this._renderableTilesKeys=[],this._sourceTileCache={},this.minzoom=0,this.maxzoom=22,this.tileSize=512,this.deltaZoom=1,u.usedForTerrain=!0,u.tileSize=this.tileSize*2**this.deltaZoom}destruct(){this.sourceCache.usedForTerrain=!1,this.sourceCache.tileSize=null}update(u,p){this.sourceCache.update(u,p),this._renderableTilesKeys=[];const b={};for(const w of u.coveringTiles({tileSize:this.tileSize,minzoom:this.minzoom,maxzoom:this.maxzoom,reparseOverscaled:!1,terrain:p}))b[w.key]=!0,this._renderableTilesKeys.push(w.key),this._tiles[w.key]||(w.posMatrix=new Float64Array(16),s.aQ(w.posMatrix,0,s.X,0,s.X,0,1),this._tiles[w.key]=new Ei(w,this.tileSize));for(const w in this._tiles)b[w]||delete this._tiles[w]}freeRtt(u){for(const p in this._tiles){const b=this._tiles[p];(!u||b.tileID.equals(u)||b.tileID.isChildOf(u)||u.isChildOf(b.tileID))&&(b.rtt=[])}}getRenderableTiles(){return this._renderableTilesKeys.map(u=>this.getTileByID(u))}getTileByID(u){return this._tiles[u]}getTerrainCoords(u){const p={};for(const b of this._renderableTilesKeys){const w=this._tiles[b].tileID;if(w.canonical.equals(u.canonical)){const P=u.clone();P.posMatrix=new Float64Array(16),s.aQ(P.posMatrix,0,s.X,0,s.X,0,1),p[b]=P}else if(w.canonical.isChildOf(u.canonical)){const P=u.clone();P.posMatrix=new Float64Array(16);const k=w.canonical.z-u.canonical.z,z=w.canonical.x-(w.canonical.x>>k<>k<>k;s.aQ(P.posMatrix,0,N,0,N,0,1),s.J(P.posMatrix,P.posMatrix,[-z*N,-B*N,0]),p[b]=P}else if(u.canonical.isChildOf(w.canonical)){const P=u.clone();P.posMatrix=new Float64Array(16);const k=u.canonical.z-w.canonical.z,z=u.canonical.x-(u.canonical.x>>k<>k<>k;s.aQ(P.posMatrix,0,s.X,0,s.X,0,1),s.J(P.posMatrix,P.posMatrix,[z*N,B*N,0]),s.K(P.posMatrix,P.posMatrix,[1/2**k,1/2**k,0]),p[b]=P}}return p}getSourceTile(u,p){const b=this.sourceCache._source;let w=u.overscaledZ-this.deltaZoom;if(w>b.maxzoom&&(w=b.maxzoom),w=b.minzoom&&(!P||!P.dem);)P=this.sourceCache.getTileByID(u.scaledTo(w--).key);return P}tilesAfterTime(u=Date.now()){return Object.values(this._tiles).filter(p=>p.timeAdded>=u)}}class E_{constructor(u,p,b){this.painter=u,this.sourceCache=new Wm(p),this.options=b,this.exaggeration=typeof b.exaggeration=="number"?b.exaggeration:1,this.qualityFactor=2,this.meshSize=128,this._demMatrixCache={},this.coordsIndex=[],this._coordsTextureSize=1024}getDEMElevation(u,p,b,w=s.X){var P;if(!(p>=0&&p=0&&bu.canonical.z&&(u.canonical.z>=w?P=u.canonical.z-w:s.w("cannot calculate elevation if elevation maxzoom > source.maxzoom"));const k=u.canonical.x-(u.canonical.x>>P<>P<>8<<4|P>>8,p[k+3]=0;const b=new s.R({width:this._coordsTextureSize,height:this._coordsTextureSize},new Uint8Array(p.buffer)),w=new ne(u,b,u.gl.RGBA,{premultiply:!1});return w.bind(u.gl.NEAREST,u.gl.CLAMP_TO_EDGE),this._coordsTexture=w,w}pointCoordinate(u){this.painter.maybeDrawDepthAndCoords(!0);const p=new Uint8Array(4),b=this.painter.context,w=b.gl,P=Math.round(u.x*this.painter.pixelRatio/devicePixelRatio),k=Math.round(u.y*this.painter.pixelRatio/devicePixelRatio),z=Math.round(this.painter.height/devicePixelRatio);b.bindFramebuffer.set(this.getFramebuffer("coords").framebuffer),w.readPixels(P,z-k-1,1,1,w.RGBA,w.UNSIGNED_BYTE,p),b.bindFramebuffer.set(null);const B=p[0]+(p[2]>>4<<8),N=p[1]+((15&p[2])<<8),q=this.coordsIndex[255-p[3]],W=q&&this.sourceCache.getTileByID(q);if(!W)return null;const te=this._coordsTextureSize,ae=(1<u.id!==p),this._recentlyUsed.push(u.id)}stampObject(u){u.stamp=++this._stamp}getOrCreateFreeObject(){for(const p of this._recentlyUsed)if(!this._objects[p].inUse)return this._objects[p];if(this._objects.length>=this._size)throw new Error("No free RenderPool available, call freeAllObjects() required!");const u=this._createObject(this._objects.length);return this._objects.push(u),u}freeObject(u){u.inUse=!1}freeAllObjects(){for(const u of this._objects)this.freeObject(u)}isFull(){return!(this._objects.length!u.inUse)===!1}}const po={background:!0,fill:!0,line:!0,raster:!0,hillshade:!0};class M_{constructor(u,p){this.painter=u,this.terrain=p,this.pool=new Vc(u.context,30,p.sourceCache.tileSize*p.qualityFactor)}destruct(){this.pool.destruct()}getTexture(u){return this.pool.getObjectForId(u.rtt[this._stacks.length-1].id).texture}prepareForRender(u,p){this._stacks=[],this._prevType=null,this._rttTiles=[],this._renderableTiles=this.terrain.sourceCache.getRenderableTiles(),this._renderableLayerIds=u._order.filter(b=>!u._layers[b].isHidden(p)),this._coordsDescendingInv={};for(const b in u.sourceCaches){this._coordsDescendingInv[b]={};const w=u.sourceCaches[b].getVisibleCoordinates();for(const P of w){const k=this.terrain.sourceCache.getTerrainCoords(P);for(const z in k)this._coordsDescendingInv[b][z]||(this._coordsDescendingInv[b][z]=[]),this._coordsDescendingInv[b][z].push(k[z])}}this._coordsDescendingInvStr={};for(const b of u._order){const w=u._layers[b],P=w.source;if(po[w.type]&&!this._coordsDescendingInvStr[P]){this._coordsDescendingInvStr[P]={};for(const k in this._coordsDescendingInv[P])this._coordsDescendingInvStr[P][k]=this._coordsDescendingInv[P][k].map(z=>z.key).sort().join()}}for(const b of this._renderableTiles)for(const w in this._coordsDescendingInvStr){const P=this._coordsDescendingInvStr[w][b.tileID.key];P&&P!==b.rttCoords[w]&&(b.rtt=[])}}renderLayer(u){if(u.isHidden(this.painter.transform.zoom))return!1;const p=u.type,b=this.painter,w=this._renderableLayerIds[this._renderableLayerIds.length-1]===u.id;if(po[p]&&(this._prevType&&po[this._prevType]||this._stacks.push([]),this._prevType=p,this._stacks[this._stacks.length-1].push(u.id),!w))return!0;if(po[this._prevType]||po[p]&&w){this._prevType=p;const P=this._stacks.length-1,k=this._stacks[P]||[];for(const z of this._renderableTiles){if(this.pool.isFull()&&(kc(this.painter,this.terrain,this._rttTiles),this._rttTiles=[],this.pool.freeAllObjects()),this._rttTiles.push(z),z.rtt[P]){const N=this.pool.getObjectForId(z.rtt[P].id);if(N.stamp===z.rtt[P].stamp){this.pool.useObject(N);continue}}const B=this.pool.getOrCreateFreeObject();this.pool.useObject(B),this.pool.stampObject(B),z.rtt[P]={id:B.id,stamp:B.stamp},b.context.bindFramebuffer.set(B.fbo.framebuffer),b.context.clear({color:s.aN.transparent,stencil:0}),b.currentStencilSource=void 0;for(let N=0;N{C.touchstart=C.dragStart,C.touchmoveWindow=C.dragMove,C.touchend=C.dragEnd},Zm={showCompass:!0,showZoom:!0,visualizePitch:!1};class L_{constructor(u,p,b=!1){this.mousedown=k=>{this.startMouse(s.e({},k,{ctrlKey:!0,preventDefault:()=>k.preventDefault()}),y.mousePos(this.element,k)),y.addEventListener(window,"mousemove",this.mousemove),y.addEventListener(window,"mouseup",this.mouseup)},this.mousemove=k=>{this.moveMouse(k,y.mousePos(this.element,k))},this.mouseup=k=>{this.mouseRotate.dragEnd(k),this.mousePitch&&this.mousePitch.dragEnd(k),this.offTemp()},this.touchstart=k=>{k.targetTouches.length!==1?this.reset():(this._startPos=this._lastPos=y.touchPos(this.element,k.targetTouches)[0],this.startTouch(k,this._startPos),y.addEventListener(window,"touchmove",this.touchmove,{passive:!1}),y.addEventListener(window,"touchend",this.touchend))},this.touchmove=k=>{k.targetTouches.length!==1?this.reset():(this._lastPos=y.touchPos(this.element,k.targetTouches)[0],this.moveTouch(k,this._lastPos))},this.touchend=k=>{k.targetTouches.length===0&&this._startPos&&this._lastPos&&this._startPos.dist(this._lastPos){this.mouseRotate.reset(),this.mousePitch&&this.mousePitch.reset(),this.touchRotate.reset(),this.touchPitch&&this.touchPitch.reset(),delete this._startPos,delete this._lastPos,this.offTemp()},this._clickTolerance=10;const w=u.dragRotate._mouseRotate.getClickTolerance(),P=u.dragRotate._mousePitch.getClickTolerance();this.element=p,this.mouseRotate=km({clickTolerance:w,enable:!0}),this.touchRotate=(({enable:k,clickTolerance:z,bearingDegreesPerPixelMoved:B=.8})=>{const N=new Gf;return new mn({clickTolerance:z,move:(q,W)=>({bearingDelta:(W.x-q.x)*B}),moveStateManager:N,enable:k,assignEvents:D_})})({clickTolerance:w,enable:!0}),this.map=u,b&&(this.mousePitch=_l({clickTolerance:P,enable:!0}),this.touchPitch=(({enable:k,clickTolerance:z,pitchDegreesPerPixelMoved:B=-.5})=>{const N=new Gf;return new mn({clickTolerance:z,move:(q,W)=>({pitchDelta:(W.y-q.y)*B}),moveStateManager:N,enable:k,assignEvents:D_})})({clickTolerance:P,enable:!0})),y.addEventListener(p,"mousedown",this.mousedown),y.addEventListener(p,"touchstart",this.touchstart,{passive:!1}),y.addEventListener(p,"touchcancel",this.reset)}startMouse(u,p){this.mouseRotate.dragStart(u,p),this.mousePitch&&this.mousePitch.dragStart(u,p),y.disableDrag()}startTouch(u,p){this.touchRotate.dragStart(u,p),this.touchPitch&&this.touchPitch.dragStart(u,p),y.disableDrag()}moveMouse(u,p){const b=this.map,{bearingDelta:w}=this.mouseRotate.dragMove(u,p)||{};if(w&&b.setBearing(b.getBearing()+w),this.mousePitch){const{pitchDelta:P}=this.mousePitch.dragMove(u,p)||{};P&&b.setPitch(b.getPitch()+P)}}moveTouch(u,p){const b=this.map,{bearingDelta:w}=this.touchRotate.dragMove(u,p)||{};if(w&&b.setBearing(b.getBearing()+w),this.touchPitch){const{pitchDelta:P}=this.touchPitch.dragMove(u,p)||{};P&&b.setPitch(b.getPitch()+P)}}off(){const u=this.element;y.removeEventListener(u,"mousedown",this.mousedown),y.removeEventListener(u,"touchstart",this.touchstart,{passive:!1}),y.removeEventListener(window,"touchmove",this.touchmove,{passive:!1}),y.removeEventListener(window,"touchend",this.touchend),y.removeEventListener(u,"touchcancel",this.reset),this.offTemp()}offTemp(){y.enableDrag(),y.removeEventListener(window,"mousemove",this.mousemove),y.removeEventListener(window,"mouseup",this.mouseup),y.removeEventListener(window,"touchmove",this.touchmove,{passive:!1}),y.removeEventListener(window,"touchend",this.touchend)}}let Cs;function k_(C,u,p){const b=new s.N(C.lng,C.lat);if(C=new s.N(C.lng,C.lat),u){const w=new s.N(C.lng-360,C.lat),P=new s.N(C.lng+360,C.lat),k=p.locationPoint(C).distSqr(u);p.locationPoint(w).distSqr(u)180;){const w=p.locationPoint(C);if(w.x>=0&&w.y>=0&&w.x<=p.width&&w.y<=p.height)break;C.lng>p.center.lng?C.lng-=360:C.lng+=360}return C.lng!==b.lng&&p.locationPoint(C).y>p.height/2-p.getHorizon()?C:b}const Xm={center:"translate(-50%,-50%)",top:"translate(-50%,0)","top-left":"translate(0,0)","top-right":"translate(-100%,0)",bottom:"translate(-50%,-100%)","bottom-left":"translate(0,-100%)","bottom-right":"translate(-100%,-100%)",left:"translate(0,-50%)",right:"translate(-100%,-50%)"};function Ps(C,u,p){const b=C.classList;for(const w in Xm)b.remove(`maplibregl-${p}-anchor-${w}`);b.add(`maplibregl-${p}-anchor-${u}`)}class cn extends s.E{constructor(u){if(super(),this._onKeyPress=p=>{const b=p.code,w=p.charCode||p.keyCode;b!=="Space"&&b!=="Enter"&&w!==32&&w!==13||this.togglePopup()},this._onMapClick=p=>{const b=p.originalEvent.target,w=this._element;this._popup&&(b===w||w.contains(b))&&this.togglePopup()},this._update=p=>{var b;if(!this._map)return;const w=this._map.loaded()&&!this._map.isMoving();((p==null?void 0:p.type)==="terrain"||(p==null?void 0:p.type)==="render"&&!w)&&this._map.once("render",this._update),this._lngLat=this._map.transform.renderWorldCopies?k_(this._lngLat,this._flatPos,this._map.transform):(b=this._lngLat)===null||b===void 0?void 0:b.wrap(),this._flatPos=this._pos=this._map.project(this._lngLat)._add(this._offset),this._map.terrain&&(this._flatPos=this._map.transform.locationPoint(this._lngLat)._add(this._offset));let P="";this._rotationAlignment==="viewport"||this._rotationAlignment==="auto"?P=`rotateZ(${this._rotation}deg)`:this._rotationAlignment==="map"&&(P=`rotateZ(${this._rotation-this._map.getBearing()}deg)`);let k="";this._pitchAlignment==="viewport"||this._pitchAlignment==="auto"?k="rotateX(0deg)":this._pitchAlignment==="map"&&(k=`rotateX(${this._map.getPitch()}deg)`),p&&p.type!=="moveend"||(this._pos=this._pos.round()),y.setTransform(this._element,`${Xm[this._anchor]} translate(${this._pos.x}px, ${this._pos.y}px) ${k} ${P}`),v.frameAsync(new AbortController).then(()=>{this._updateOpacity(p&&p.type==="moveend")}).catch(()=>{})},this._onMove=p=>{if(!this._isDragging){const b=this._clickTolerance||this._map._clickTolerance;this._isDragging=p.point.dist(this._pointerdownPos)>=b}this._isDragging&&(this._pos=p.point.sub(this._positionDelta),this._lngLat=this._map.unproject(this._pos),this.setLngLat(this._lngLat),this._element.style.pointerEvents="none",this._state==="pending"&&(this._state="active",this.fire(new s.k("dragstart"))),this.fire(new s.k("drag")))},this._onUp=()=>{this._element.style.pointerEvents="auto",this._positionDelta=null,this._pointerdownPos=null,this._isDragging=!1,this._map.off("mousemove",this._onMove),this._map.off("touchmove",this._onMove),this._state==="active"&&this.fire(new s.k("dragend")),this._state="inactive"},this._addDragHandler=p=>{this._element.contains(p.originalEvent.target)&&(p.preventDefault(),this._positionDelta=p.point.sub(this._pos).add(this._offset),this._pointerdownPos=p.point,this._state="pending",this._map.on("mousemove",this._onMove),this._map.on("touchmove",this._onMove),this._map.once("mouseup",this._onUp),this._map.once("touchend",this._onUp))},this._anchor=u&&u.anchor||"center",this._color=u&&u.color||"#3FB1CE",this._scale=u&&u.scale||1,this._draggable=u&&u.draggable||!1,this._clickTolerance=u&&u.clickTolerance||0,this._isDragging=!1,this._state="inactive",this._rotation=u&&u.rotation||0,this._rotationAlignment=u&&u.rotationAlignment||"auto",this._pitchAlignment=u&&u.pitchAlignment&&u.pitchAlignment!=="auto"?u.pitchAlignment:this._rotationAlignment,this.setOpacity(),this.setOpacity(u==null?void 0:u.opacity,u==null?void 0:u.opacityWhenCovered),u&&u.element)this._element=u.element,this._offset=s.P.convert(u&&u.offset||[0,0]);else{this._defaultMarker=!0,this._element=y.create("div");const p=y.createNS("http://www.w3.org/2000/svg","svg"),b=41,w=27;p.setAttributeNS(null,"display","block"),p.setAttributeNS(null,"height",`${b}px`),p.setAttributeNS(null,"width",`${w}px`),p.setAttributeNS(null,"viewBox",`0 0 ${w} ${b}`);const P=y.createNS("http://www.w3.org/2000/svg","g");P.setAttributeNS(null,"stroke","none"),P.setAttributeNS(null,"stroke-width","1"),P.setAttributeNS(null,"fill","none"),P.setAttributeNS(null,"fill-rule","evenodd");const k=y.createNS("http://www.w3.org/2000/svg","g");k.setAttributeNS(null,"fill-rule","nonzero");const z=y.createNS("http://www.w3.org/2000/svg","g");z.setAttributeNS(null,"transform","translate(3.0, 29.0)"),z.setAttributeNS(null,"fill","#000000");const B=[{rx:"10.5",ry:"5.25002273"},{rx:"10.5",ry:"5.25002273"},{rx:"9.5",ry:"4.77275007"},{rx:"8.5",ry:"4.29549936"},{rx:"7.5",ry:"3.81822308"},{rx:"6.5",ry:"3.34094679"},{rx:"5.5",ry:"2.86367051"},{rx:"4.5",ry:"2.38636864"}];for(const xe of B){const Pe=y.createNS("http://www.w3.org/2000/svg","ellipse");Pe.setAttributeNS(null,"opacity","0.04"),Pe.setAttributeNS(null,"cx","10.5"),Pe.setAttributeNS(null,"cy","5.80029008"),Pe.setAttributeNS(null,"rx",xe.rx),Pe.setAttributeNS(null,"ry",xe.ry),z.appendChild(Pe)}const N=y.createNS("http://www.w3.org/2000/svg","g");N.setAttributeNS(null,"fill",this._color);const q=y.createNS("http://www.w3.org/2000/svg","path");q.setAttributeNS(null,"d","M27,13.5 C27,19.074644 20.250001,27.000002 14.75,34.500002 C14.016665,35.500004 12.983335,35.500004 12.25,34.500002 C6.7499993,27.000002 0,19.222562 0,13.5 C0,6.0441559 6.0441559,0 13.5,0 C20.955844,0 27,6.0441559 27,13.5 Z"),N.appendChild(q);const W=y.createNS("http://www.w3.org/2000/svg","g");W.setAttributeNS(null,"opacity","0.25"),W.setAttributeNS(null,"fill","#000000");const te=y.createNS("http://www.w3.org/2000/svg","path");te.setAttributeNS(null,"d","M13.5,0 C6.0441559,0 0,6.0441559 0,13.5 C0,19.222562 6.7499993,27 12.25,34.5 C13,35.522727 14.016664,35.500004 14.75,34.5 C20.250001,27 27,19.074644 27,13.5 C27,6.0441559 20.955844,0 13.5,0 Z M13.5,1 C20.415404,1 26,6.584596 26,13.5 C26,15.898657 24.495584,19.181431 22.220703,22.738281 C19.945823,26.295132 16.705119,30.142167 13.943359,33.908203 C13.743445,34.180814 13.612715,34.322738 13.5,34.441406 C13.387285,34.322738 13.256555,34.180814 13.056641,33.908203 C10.284481,30.127985 7.4148684,26.314159 5.015625,22.773438 C2.6163816,19.232715 1,15.953538 1,13.5 C1,6.584596 6.584596,1 13.5,1 Z"),W.appendChild(te);const ae=y.createNS("http://www.w3.org/2000/svg","g");ae.setAttributeNS(null,"transform","translate(6.0, 7.0)"),ae.setAttributeNS(null,"fill","#FFFFFF");const le=y.createNS("http://www.w3.org/2000/svg","g");le.setAttributeNS(null,"transform","translate(8.0, 8.0)");const ve=y.createNS("http://www.w3.org/2000/svg","circle");ve.setAttributeNS(null,"fill","#000000"),ve.setAttributeNS(null,"opacity","0.25"),ve.setAttributeNS(null,"cx","5.5"),ve.setAttributeNS(null,"cy","5.5"),ve.setAttributeNS(null,"r","5.4999962");const he=y.createNS("http://www.w3.org/2000/svg","circle");he.setAttributeNS(null,"fill","#FFFFFF"),he.setAttributeNS(null,"cx","5.5"),he.setAttributeNS(null,"cy","5.5"),he.setAttributeNS(null,"r","5.4999962"),le.appendChild(ve),le.appendChild(he),k.appendChild(z),k.appendChild(N),k.appendChild(W),k.appendChild(ae),k.appendChild(le),p.appendChild(k),p.setAttributeNS(null,"height",b*this._scale+"px"),p.setAttributeNS(null,"width",w*this._scale+"px"),this._element.appendChild(p),this._offset=s.P.convert(u&&u.offset||[0,-14])}if(this._element.classList.add("maplibregl-marker"),this._element.addEventListener("dragstart",p=>{p.preventDefault()}),this._element.addEventListener("mousedown",p=>{p.preventDefault()}),Ps(this._element,this._anchor,"marker"),u&&u.className)for(const p of u.className.split(" "))this._element.classList.add(p);this._popup=null}addTo(u){return this.remove(),this._map=u,this._element.setAttribute("aria-label",u._getUIString("Marker.Title")),u.getCanvasContainer().appendChild(this._element),u.on("move",this._update),u.on("moveend",this._update),u.on("terrain",this._update),this.setDraggable(this._draggable),this._update(),this._map.on("click",this._onMapClick),this}remove(){return this._opacityTimeout&&(clearTimeout(this._opacityTimeout),delete this._opacityTimeout),this._map&&(this._map.off("click",this._onMapClick),this._map.off("move",this._update),this._map.off("moveend",this._update),this._map.off("terrain",this._update),this._map.off("mousedown",this._addDragHandler),this._map.off("touchstart",this._addDragHandler),this._map.off("mouseup",this._onUp),this._map.off("touchend",this._onUp),this._map.off("mousemove",this._onMove),this._map.off("touchmove",this._onMove),delete this._map),y.remove(this._element),this._popup&&this._popup.remove(),this}getLngLat(){return this._lngLat}setLngLat(u){return this._lngLat=s.N.convert(u),this._pos=null,this._popup&&this._popup.setLngLat(this._lngLat),this._update(),this}getElement(){return this._element}setPopup(u){if(this._popup&&(this._popup.remove(),this._popup=null,this._element.removeEventListener("keypress",this._onKeyPress),this._originalTabIndex||this._element.removeAttribute("tabindex")),u){if(!("offset"in u.options)){const w=Math.abs(13.5)/Math.SQRT2;u.options.offset=this._defaultMarker?{top:[0,0],"top-left":[0,0],"top-right":[0,0],bottom:[0,-38.1],"bottom-left":[w,-1*(38.1-13.5+w)],"bottom-right":[-w,-1*(38.1-13.5+w)],left:[13.5,-1*(38.1-13.5)],right:[-13.5,-1*(38.1-13.5)]}:this._offset}this._popup=u,this._originalTabIndex=this._element.getAttribute("tabindex"),this._originalTabIndex||this._element.setAttribute("tabindex","0"),this._element.addEventListener("keypress",this._onKeyPress)}return this}getPopup(){return this._popup}togglePopup(){const u=this._popup;return this._element.style.opacity===this._opacityWhenCovered?this:u?(u.isOpen()?u.remove():(u.setLngLat(this._lngLat),u.addTo(this._map)),this):this}_updateOpacity(u=!1){var p,b;if(!(!((p=this._map)===null||p===void 0)&&p.terrain))return void(this._element.style.opacity!==this._opacity&&(this._element.style.opacity=this._opacity));if(u)this._opacityTimeout=null;else{if(this._opacityTimeout)return;this._opacityTimeout=setTimeout(()=>{this._opacityTimeout=null},100)}const w=this._map,P=w.terrain.depthAtPoint(this._pos),k=w.terrain.getElevationForLngLatZoom(this._lngLat,w.transform.tileZoom);if(w.transform.lngLatToCameraDepth(this._lngLat,k)-P<.006)return void(this._element.style.opacity=this._opacity);const z=-this._offset.y/w.transform._pixelPerMeter,B=Math.sin(w.getPitch()*Math.PI/180)*z,N=w.terrain.depthAtPoint(new s.P(this._pos.x,this._pos.y-this._offset.y)),q=w.transform.lngLatToCameraDepth(this._lngLat,k+B)-N>.006;!((b=this._popup)===null||b===void 0)&&b.isOpen()&&q&&this._popup.remove(),this._element.style.opacity=q?this._opacityWhenCovered:this._opacity}getOffset(){return this._offset}setOffset(u){return this._offset=s.P.convert(u),this._update(),this}addClassName(u){this._element.classList.add(u)}removeClassName(u){this._element.classList.remove(u)}toggleClassName(u){return this._element.classList.toggle(u)}setDraggable(u){return this._draggable=!!u,this._map&&(u?(this._map.on("mousedown",this._addDragHandler),this._map.on("touchstart",this._addDragHandler)):(this._map.off("mousedown",this._addDragHandler),this._map.off("touchstart",this._addDragHandler))),this}isDraggable(){return this._draggable}setRotation(u){return this._rotation=u||0,this._update(),this}getRotation(){return this._rotation}setRotationAlignment(u){return this._rotationAlignment=u||"auto",this._update(),this}getRotationAlignment(){return this._rotationAlignment}setPitchAlignment(u){return this._pitchAlignment=u&&u!=="auto"?u:this._rotationAlignment,this._update(),this}getPitchAlignment(){return this._pitchAlignment}setOpacity(u,p){return u===void 0&&p===void 0&&(this._opacity="1",this._opacityWhenCovered="0.2"),u!==void 0&&(this._opacity=u),p!==void 0&&(this._opacityWhenCovered=p),this._map&&this._updateOpacity(!0),this}}const Wf={positionOptions:{enableHighAccuracy:!1,maximumAge:0,timeout:6e3},fitBoundsOptions:{maxZoom:15},trackUserLocation:!1,showAccuracyCircle:!0,showUserLocation:!0};let lu=0,uu=!1;const R_={maxWidth:100,unit:"metric"};function Km(C,u,p){const b=p&&p.maxWidth||100,w=C._container.clientHeight/2,P=C.unproject([0,w]),k=C.unproject([b,w]),z=P.distanceTo(k);if(p&&p.unit==="imperial"){const B=3.2808*z;B>5280?jc(u,b,B/5280,C._getUIString("ScaleControl.Miles")):jc(u,b,B,C._getUIString("ScaleControl.Feet"))}else p&&p.unit==="nautical"?jc(u,b,z/1852,C._getUIString("ScaleControl.NauticalMiles")):z>=1e3?jc(u,b,z/1e3,C._getUIString("ScaleControl.Kilometers")):jc(u,b,z,C._getUIString("ScaleControl.Meters"))}function jc(C,u,p,b){const w=function(P){const k=Math.pow(10,`${Math.floor(P)}`.length-1);let z=P/k;return z=z>=10?10:z>=5?5:z>=3?3:z>=2?2:z>=1?1:function(B){const N=Math.pow(10,Math.ceil(-Math.log(B)/Math.LN10));return Math.round(B*N)/N}(z),k*z}(p);C.style.width=u*(w/p)+"px",C.innerHTML=`${w} ${b}`}const mo={closeButton:!0,closeOnClick:!0,focusAfterOpen:!0,className:"",maxWidth:"240px",subpixelPositioning:!1},qf=["a[href]","[tabindex]:not([tabindex='-1'])","[contenteditable]:not([contenteditable='false'])","button:not([disabled])","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].join(", ");function $t(C){if(C){if(typeof C=="number"){const u=Math.round(Math.abs(C)/Math.SQRT2);return{center:new s.P(0,0),top:new s.P(0,C),"top-left":new s.P(u,u),"top-right":new s.P(-u,u),bottom:new s.P(0,-C),"bottom-left":new s.P(u,-u),"bottom-right":new s.P(-u,-u),left:new s.P(C,0),right:new s.P(-C,0)}}if(C instanceof s.P||Array.isArray(C)){const u=s.P.convert(C);return{center:u,top:u,"top-left":u,"top-right":u,bottom:u,"bottom-left":u,"bottom-right":u,left:u,right:u}}return{center:s.P.convert(C.center||[0,0]),top:s.P.convert(C.top||[0,0]),"top-left":s.P.convert(C["top-left"]||[0,0]),"top-right":s.P.convert(C["top-right"]||[0,0]),bottom:s.P.convert(C.bottom||[0,0]),"bottom-left":s.P.convert(C["bottom-left"]||[0,0]),"bottom-right":s.P.convert(C["bottom-right"]||[0,0]),left:s.P.convert(C.left||[0,0]),right:s.P.convert(C.right||[0,0])}}return $t(new s.P(0,0))}const Xt=c;o.AJAXError=s.bg,o.Evented=s.E,o.LngLat=s.N,o.MercatorCoordinate=s.Z,o.Point=s.P,o.addProtocol=s.bh,o.config=s.a,o.removeProtocol=s.bi,o.AttributionControl=su,o.BoxZoomHandler=Mm,o.CanvasSource=Ot,o.CooperativeGesturesHandler=Va,o.DoubleClickZoomHandler=jm,o.DragPanHandler=Ta,o.DragRotateHandler=Na,o.EdgeInsets=$f,o.FullscreenControl=class extends s.E{constructor(C={}){super(),this._onFullscreenChange=()=>{var u;let p=window.document.fullscreenElement||window.document.mozFullScreenElement||window.document.webkitFullscreenElement||window.document.msFullscreenElement;for(;!((u=p==null?void 0:p.shadowRoot)===null||u===void 0)&&u.fullscreenElement;)p=p.shadowRoot.fullscreenElement;p===this._container!==this._fullscreen&&this._handleFullscreenChange()},this._onClickFullscreen=()=>{this._isFullscreen()?this._exitFullscreen():this._requestFullscreen()},this._fullscreen=!1,C&&C.container&&(C.container instanceof HTMLElement?this._container=C.container:s.w("Full screen control 'container' must be a DOM element.")),"onfullscreenchange"in document?this._fullscreenchange="fullscreenchange":"onmozfullscreenchange"in document?this._fullscreenchange="mozfullscreenchange":"onwebkitfullscreenchange"in document?this._fullscreenchange="webkitfullscreenchange":"onmsfullscreenchange"in document&&(this._fullscreenchange="MSFullscreenChange")}onAdd(C){return this._map=C,this._container||(this._container=this._map.getContainer()),this._controlContainer=y.create("div","maplibregl-ctrl maplibregl-ctrl-group"),this._setupUI(),this._controlContainer}onRemove(){y.remove(this._controlContainer),this._map=null,window.document.removeEventListener(this._fullscreenchange,this._onFullscreenChange)}_setupUI(){const C=this._fullscreenButton=y.create("button","maplibregl-ctrl-fullscreen",this._controlContainer);y.create("span","maplibregl-ctrl-icon",C).setAttribute("aria-hidden","true"),C.type="button",this._updateTitle(),this._fullscreenButton.addEventListener("click",this._onClickFullscreen),window.document.addEventListener(this._fullscreenchange,this._onFullscreenChange)}_updateTitle(){const C=this._getTitle();this._fullscreenButton.setAttribute("aria-label",C),this._fullscreenButton.title=C}_getTitle(){return this._map._getUIString(this._isFullscreen()?"FullscreenControl.Exit":"FullscreenControl.Enter")}_isFullscreen(){return this._fullscreen}_handleFullscreenChange(){this._fullscreen=!this._fullscreen,this._fullscreenButton.classList.toggle("maplibregl-ctrl-shrink"),this._fullscreenButton.classList.toggle("maplibregl-ctrl-fullscreen"),this._updateTitle(),this._fullscreen?(this.fire(new s.k("fullscreenstart")),this._prevCooperativeGesturesEnabled=this._map.cooperativeGestures.isEnabled(),this._map.cooperativeGestures.disable()):(this.fire(new s.k("fullscreenend")),this._prevCooperativeGesturesEnabled&&this._map.cooperativeGestures.enable())}_exitFullscreen(){window.document.exitFullscreen?window.document.exitFullscreen():window.document.mozCancelFullScreen?window.document.mozCancelFullScreen():window.document.msExitFullscreen?window.document.msExitFullscreen():window.document.webkitCancelFullScreen?window.document.webkitCancelFullScreen():this._togglePseudoFullScreen()}_requestFullscreen(){this._container.requestFullscreen?this._container.requestFullscreen():this._container.mozRequestFullScreen?this._container.mozRequestFullScreen():this._container.msRequestFullscreen?this._container.msRequestFullscreen():this._container.webkitRequestFullscreen?this._container.webkitRequestFullscreen():this._togglePseudoFullScreen()}_togglePseudoFullScreen(){this._container.classList.toggle("maplibregl-pseudo-fullscreen"),this._handleFullscreenChange(),this._map.resize()}},o.GeoJSONSource=vt,o.GeolocateControl=class extends s.E{constructor(C){super(),this._onSuccess=u=>{if(this._map){if(this._isOutOfMapMaxBounds(u))return this._setErrorState(),this.fire(new s.k("outofmaxbounds",u)),this._updateMarker(),void this._finish();if(this.options.trackUserLocation)switch(this._lastKnownPosition=u,this._watchState){case"WAITING_ACTIVE":case"ACTIVE_LOCK":case"ACTIVE_ERROR":this._watchState="ACTIVE_LOCK",this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-active-error"),this._geolocateButton.classList.add("maplibregl-ctrl-geolocate-active");break;case"BACKGROUND":case"BACKGROUND_ERROR":this._watchState="BACKGROUND",this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-background-error"),this._geolocateButton.classList.add("maplibregl-ctrl-geolocate-background");break;default:throw new Error(`Unexpected watchState ${this._watchState}`)}this.options.showUserLocation&&this._watchState!=="OFF"&&this._updateMarker(u),this.options.trackUserLocation&&this._watchState!=="ACTIVE_LOCK"||this._updateCamera(u),this.options.showUserLocation&&this._dotElement.classList.remove("maplibregl-user-location-dot-stale"),this.fire(new s.k("geolocate",u)),this._finish()}},this._updateCamera=u=>{const p=new s.N(u.coords.longitude,u.coords.latitude),b=u.coords.accuracy,w=this._map.getBearing(),P=s.e({bearing:w},this.options.fitBoundsOptions),k=ye.fromLngLat(p,b);this._map.fitBounds(k,P,{geolocateSource:!0})},this._updateMarker=u=>{if(u){const p=new s.N(u.coords.longitude,u.coords.latitude);this._accuracyCircleMarker.setLngLat(p).addTo(this._map),this._userLocationDotMarker.setLngLat(p).addTo(this._map),this._accuracy=u.coords.accuracy,this.options.showUserLocation&&this.options.showAccuracyCircle&&this._updateCircleRadius()}else this._userLocationDotMarker.remove(),this._accuracyCircleMarker.remove()},this._onZoom=()=>{this.options.showUserLocation&&this.options.showAccuracyCircle&&this._updateCircleRadius()},this._onError=u=>{if(this._map){if(this.options.trackUserLocation)if(u.code===1){this._watchState="OFF",this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-active"),this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-active-error"),this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-background"),this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-background-error"),this._geolocateButton.disabled=!0;const p=this._map._getUIString("GeolocateControl.LocationNotAvailable");this._geolocateButton.title=p,this._geolocateButton.setAttribute("aria-label",p),this._geolocationWatchID!==void 0&&this._clearWatch()}else{if(u.code===3&&uu)return;this._setErrorState()}this._watchState!=="OFF"&&this.options.showUserLocation&&this._dotElement.classList.add("maplibregl-user-location-dot-stale"),this.fire(new s.k("error",u)),this._finish()}},this._finish=()=>{this._timeoutId&&clearTimeout(this._timeoutId),this._timeoutId=void 0},this._setupUI=u=>{if(this._map){if(this._container.addEventListener("contextmenu",p=>p.preventDefault()),this._geolocateButton=y.create("button","maplibregl-ctrl-geolocate",this._container),y.create("span","maplibregl-ctrl-icon",this._geolocateButton).setAttribute("aria-hidden","true"),this._geolocateButton.type="button",u===!1){s.w("Geolocation support is not available so the GeolocateControl will be disabled.");const p=this._map._getUIString("GeolocateControl.LocationNotAvailable");this._geolocateButton.disabled=!0,this._geolocateButton.title=p,this._geolocateButton.setAttribute("aria-label",p)}else{const p=this._map._getUIString("GeolocateControl.FindMyLocation");this._geolocateButton.title=p,this._geolocateButton.setAttribute("aria-label",p)}this.options.trackUserLocation&&(this._geolocateButton.setAttribute("aria-pressed","false"),this._watchState="OFF"),this.options.showUserLocation&&(this._dotElement=y.create("div","maplibregl-user-location-dot"),this._userLocationDotMarker=new cn({element:this._dotElement}),this._circleElement=y.create("div","maplibregl-user-location-accuracy-circle"),this._accuracyCircleMarker=new cn({element:this._circleElement,pitchAlignment:"map"}),this.options.trackUserLocation&&(this._watchState="OFF"),this._map.on("zoom",this._onZoom)),this._geolocateButton.addEventListener("click",()=>this.trigger()),this._setup=!0,this.options.trackUserLocation&&this._map.on("movestart",p=>{p.geolocateSource||this._watchState!=="ACTIVE_LOCK"||p.originalEvent&&p.originalEvent.type==="resize"||(this._watchState="BACKGROUND",this._geolocateButton.classList.add("maplibregl-ctrl-geolocate-background"),this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-active"),this.fire(new s.k("trackuserlocationend")),this.fire(new s.k("userlocationlostfocus")))})}},this.options=s.e({},Wf,C)}onAdd(C){return this._map=C,this._container=y.create("div","maplibregl-ctrl maplibregl-ctrl-group"),function(){return s._(this,arguments,void 0,function*(u=!1){if(Cs!==void 0&&!u)return Cs;if(window.navigator.permissions===void 0)return Cs=!!window.navigator.geolocation,Cs;try{Cs=(yield window.navigator.permissions.query({name:"geolocation"})).state!=="denied"}catch{Cs=!!window.navigator.geolocation}return Cs})}().then(u=>this._setupUI(u)),this._container}onRemove(){this._geolocationWatchID!==void 0&&(window.navigator.geolocation.clearWatch(this._geolocationWatchID),this._geolocationWatchID=void 0),this.options.showUserLocation&&this._userLocationDotMarker&&this._userLocationDotMarker.remove(),this.options.showAccuracyCircle&&this._accuracyCircleMarker&&this._accuracyCircleMarker.remove(),y.remove(this._container),this._map.off("zoom",this._onZoom),this._map=void 0,lu=0,uu=!1}_isOutOfMapMaxBounds(C){const u=this._map.getMaxBounds(),p=C.coords;return u&&(p.longitudeu.getEast()||p.latitudeu.getNorth())}_setErrorState(){switch(this._watchState){case"WAITING_ACTIVE":this._watchState="ACTIVE_ERROR",this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-active"),this._geolocateButton.classList.add("maplibregl-ctrl-geolocate-active-error");break;case"ACTIVE_LOCK":this._watchState="ACTIVE_ERROR",this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-active"),this._geolocateButton.classList.add("maplibregl-ctrl-geolocate-active-error"),this._geolocateButton.classList.add("maplibregl-ctrl-geolocate-waiting");break;case"BACKGROUND":this._watchState="BACKGROUND_ERROR",this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-background"),this._geolocateButton.classList.add("maplibregl-ctrl-geolocate-background-error"),this._geolocateButton.classList.add("maplibregl-ctrl-geolocate-waiting");break;case"ACTIVE_ERROR":break;default:throw new Error(`Unexpected watchState ${this._watchState}`)}}_updateCircleRadius(){const C=this._map.getBounds(),u=C.getSouthEast(),p=C.getNorthEast(),b=u.distanceTo(p),w=Math.ceil(this._accuracy/(b/this._map._container.clientHeight)*2);this._circleElement.style.width=`${w}px`,this._circleElement.style.height=`${w}px`}trigger(){if(!this._setup)return s.w("Geolocate control triggered before added to a map"),!1;if(this.options.trackUserLocation){switch(this._watchState){case"OFF":this._watchState="WAITING_ACTIVE",this.fire(new s.k("trackuserlocationstart"));break;case"WAITING_ACTIVE":case"ACTIVE_LOCK":case"ACTIVE_ERROR":case"BACKGROUND_ERROR":lu--,uu=!1,this._watchState="OFF",this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-active"),this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-active-error"),this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-background"),this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-background-error"),this.fire(new s.k("trackuserlocationend"));break;case"BACKGROUND":this._watchState="ACTIVE_LOCK",this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-background"),this._lastKnownPosition&&this._updateCamera(this._lastKnownPosition),this.fire(new s.k("trackuserlocationstart")),this.fire(new s.k("userlocationfocus"));break;default:throw new Error(`Unexpected watchState ${this._watchState}`)}switch(this._watchState){case"WAITING_ACTIVE":this._geolocateButton.classList.add("maplibregl-ctrl-geolocate-waiting"),this._geolocateButton.classList.add("maplibregl-ctrl-geolocate-active");break;case"ACTIVE_LOCK":this._geolocateButton.classList.add("maplibregl-ctrl-geolocate-active");break;case"OFF":break;default:throw new Error(`Unexpected watchState ${this._watchState}`)}if(this._watchState==="OFF"&&this._geolocationWatchID!==void 0)this._clearWatch();else if(this._geolocationWatchID===void 0){let C;this._geolocateButton.classList.add("maplibregl-ctrl-geolocate-waiting"),this._geolocateButton.setAttribute("aria-pressed","true"),lu++,lu>1?(C={maximumAge:6e5,timeout:0},uu=!0):(C=this.options.positionOptions,uu=!1),this._geolocationWatchID=window.navigator.geolocation.watchPosition(this._onSuccess,this._onError,C)}}else window.navigator.geolocation.getCurrentPosition(this._onSuccess,this._onError,this.options.positionOptions),this._timeoutId=setTimeout(this._finish,1e4);return!0}_clearWatch(){window.navigator.geolocation.clearWatch(this._geolocationWatchID),this._geolocationWatchID=void 0,this._geolocateButton.classList.remove("maplibregl-ctrl-geolocate-waiting"),this._geolocateButton.setAttribute("aria-pressed","false"),this.options.showUserLocation&&this._updateMarker(null)}},o.Hash=Rc,o.ImageSource=Et,o.KeyboardHandler=$m,o.LngLatBounds=ye,o.LogoControl=fo,o.Map=class extends eS{constructor(C){s.be.mark(s.bf.create);const u=Object.assign(Object.assign({},tS),C);if(u.minZoom!=null&&u.maxZoom!=null&&u.minZoom>u.maxZoom)throw new Error("maxZoom must be greater than or equal to minZoom");if(u.minPitch!=null&&u.maxPitch!=null&&u.minPitch>u.maxPitch)throw new Error("maxPitch must be greater than or equal to minPitch");if(u.minPitch!=null&&u.minPitch<0)throw new Error("minPitch must be greater than or equal to 0");if(u.maxPitch!=null&&u.maxPitch>85)throw new Error("maxPitch must be less than or equal to 85");if(super(new Cm(u.minZoom,u.maxZoom,u.minPitch,u.maxPitch,u.renderWorldCopies),{bearingSnap:u.bearingSnap}),this._idleTriggered=!1,this._crossFadingFactor=1,this._renderTaskQueue=new Lt,this._controls=[],this._mapId=s.a4(),this._contextLost=p=>{p.preventDefault(),this._frameRequest&&(this._frameRequest.abort(),this._frameRequest=null),this.fire(new s.k("webglcontextlost",{originalEvent:p}))},this._contextRestored=p=>{this._setupPainter(),this.resize(),this._update(),this.fire(new s.k("webglcontextrestored",{originalEvent:p}))},this._onMapScroll=p=>{if(p.target===this._container)return this._container.scrollTop=0,this._container.scrollLeft=0,!1},this._onWindowOnline=()=>{this._update()},this._interactive=u.interactive,this._maxTileCacheSize=u.maxTileCacheSize,this._maxTileCacheZoomLevels=u.maxTileCacheZoomLevels,this._failIfMajorPerformanceCaveat=u.failIfMajorPerformanceCaveat===!0,this._preserveDrawingBuffer=u.preserveDrawingBuffer===!0,this._antialias=u.antialias===!0,this._trackResize=u.trackResize===!0,this._bearingSnap=u.bearingSnap,this._refreshExpiredTiles=u.refreshExpiredTiles===!0,this._fadeDuration=u.fadeDuration,this._crossSourceCollisions=u.crossSourceCollisions===!0,this._collectResourceTiming=u.collectResourceTiming===!0,this._locale=Object.assign(Object.assign({},wt),u.locale),this._clickTolerance=u.clickTolerance,this._overridePixelRatio=u.pixelRatio,this._maxCanvasSize=u.maxCanvasSize,this.transformCameraUpdate=u.transformCameraUpdate,this.cancelPendingTileRequestsWhileZooming=u.cancelPendingTileRequestsWhileZooming===!0,this._imageQueueHandle=R.addThrottleControl(()=>this.isMoving()),this._requestManager=new $(u.transformRequest),typeof u.container=="string"){if(this._container=document.getElementById(u.container),!this._container)throw new Error(`Container '${u.container}' not found.`)}else{if(!(u.container instanceof HTMLElement))throw new Error("Invalid type: 'container' must be a String or HTMLElement.");this._container=u.container}if(u.maxBounds&&this.setMaxBounds(u.maxBounds),this._setupContainer(),this._setupPainter(),this.on("move",()=>this._update(!1)).on("moveend",()=>this._update(!1)).on("zoom",()=>this._update(!0)).on("terrain",()=>{this.painter.terrainFacilitator.dirty=!0,this._update(!0)}).once("idle",()=>{this._idleTriggered=!0}),typeof window<"u"){addEventListener("online",this._onWindowOnline,!1);let p=!1;const b=Nf(w=>{this._trackResize&&!this._removed&&this.resize(w)._update()},50);this._resizeObserver=new ResizeObserver(w=>{p?b(w):p=!0}),this._resizeObserver.observe(this._container)}this.handlers=new Qw(this,u),this._hash=u.hash&&new Rc(typeof u.hash=="string"&&u.hash||void 0).addTo(this),this._hash&&this._hash._onHashChange()||(this.jumpTo({center:u.center,zoom:u.zoom,bearing:u.bearing,pitch:u.pitch}),u.bounds&&(this.resize(),this.fitBounds(u.bounds,s.e({},u.fitBoundsOptions,{duration:0})))),this.resize(),this._localIdeographFontFamily=u.localIdeographFontFamily,this._validateStyle=u.validateStyle,u.style&&this.setStyle(u.style,{localIdeographFontFamily:u.localIdeographFontFamily}),u.attributionControl&&this.addControl(new su(typeof u.attributionControl=="boolean"?void 0:u.attributionControl)),u.maplibreLogo&&this.addControl(new fo,u.logoPosition),this.on("style.load",()=>{this.transform.unmodified&&this.jumpTo(this.style.stylesheet)}),this.on("data",p=>{this._update(p.dataType==="style"),this.fire(new s.k(`${p.dataType}data`,p))}),this.on("dataloading",p=>{this.fire(new s.k(`${p.dataType}dataloading`,p))}),this.on("dataabort",p=>{this.fire(new s.k("sourcedataabort",p))})}_getMapId(){return this._mapId}addControl(C,u){if(u===void 0&&(u=C.getDefaultPosition?C.getDefaultPosition():"top-right"),!C||!C.onAdd)return this.fire(new s.j(new Error("Invalid argument to map.addControl(). Argument must be a control with onAdd and onRemove methods.")));const p=C.onAdd(this);this._controls.push(C);const b=this._controlPositions[u];return u.indexOf("bottom")!==-1?b.insertBefore(p,b.firstChild):b.appendChild(p),this}removeControl(C){if(!C||!C.onRemove)return this.fire(new s.j(new Error("Invalid argument to map.removeControl(). Argument must be a control with onAdd and onRemove methods.")));const u=this._controls.indexOf(C);return u>-1&&this._controls.splice(u,1),C.onRemove(this),this}hasControl(C){return this._controls.indexOf(C)>-1}calculateCameraOptionsFromTo(C,u,p,b){return b==null&&this.terrain&&(b=this.terrain.getElevationForLngLatZoom(p,this.transform.tileZoom)),super.calculateCameraOptionsFromTo(C,u,p,b)}resize(C){var u;const p=this._containerDimensions(),b=p[0],w=p[1],P=this._getClampedPixelRatio(b,w);if(this._resizeCanvas(b,w,P),this.painter.resize(b,w,P),this.painter.overLimit()){const z=this.painter.context.gl;this._maxCanvasSize=[z.drawingBufferWidth,z.drawingBufferHeight];const B=this._getClampedPixelRatio(b,w);this._resizeCanvas(b,w,B),this.painter.resize(b,w,B)}this.transform.resize(b,w),(u=this._requestedCameraState)===null||u===void 0||u.resize(b,w);const k=!this._moving;return k&&(this.stop(),this.fire(new s.k("movestart",C)).fire(new s.k("move",C))),this.fire(new s.k("resize",C)),k&&this.fire(new s.k("moveend",C)),this}_getClampedPixelRatio(C,u){const{0:p,1:b}=this._maxCanvasSize,w=this.getPixelRatio(),P=C*w,k=u*w;return Math.min(P>p?p/P:1,k>b?b/k:1)*w}getPixelRatio(){var C;return(C=this._overridePixelRatio)!==null&&C!==void 0?C:devicePixelRatio}setPixelRatio(C){this._overridePixelRatio=C,this.resize()}getBounds(){return this.transform.getBounds()}getMaxBounds(){return this.transform.getMaxBounds()}setMaxBounds(C){return this.transform.setMaxBounds(ye.convert(C)),this._update()}setMinZoom(C){if((C=C??-2)>=-2&&C<=this.transform.maxZoom)return this.transform.minZoom=C,this._update(),this.getZoom()=this.transform.minZoom)return this.transform.maxZoom=C,this._update(),this.getZoom()>C&&this.setZoom(C),this;throw new Error("maxZoom must be greater than the current minZoom")}getMaxZoom(){return this.transform.maxZoom}setMinPitch(C){if((C=C??0)<0)throw new Error("minPitch must be greater than or equal to 0");if(C>=0&&C<=this.transform.maxPitch)return this.transform.minPitch=C,this._update(),this.getPitch()85)throw new Error("maxPitch must be less than or equal to 85");if(C>=this.transform.minPitch)return this.transform.maxPitch=C,this._update(),this.getPitch()>C&&this.setPitch(C),this;throw new Error("maxPitch must be greater than the current minPitch")}getMaxPitch(){return this.transform.maxPitch}getRenderWorldCopies(){return this.transform.renderWorldCopies}setRenderWorldCopies(C){return this.transform.renderWorldCopies=C,this._update()}project(C){return this.transform.locationPoint(s.N.convert(C),this.style&&this.terrain)}unproject(C){return this.transform.pointLocation(s.P.convert(C),this.terrain)}isMoving(){var C;return this._moving||((C=this.handlers)===null||C===void 0?void 0:C.isMoving())}isZooming(){var C;return this._zooming||((C=this.handlers)===null||C===void 0?void 0:C.isZooming())}isRotating(){var C;return this._rotating||((C=this.handlers)===null||C===void 0?void 0:C.isRotating())}_createDelegatedListener(C,u,p){if(C==="mouseenter"||C==="mouseover"){let b=!1;return{layer:u,listener:p,delegates:{mousemove:P=>{const k=this.getLayer(u)?this.queryRenderedFeatures(P.point,{layers:[u]}):[];k.length?b||(b=!0,p.call(this,new Mi(C,this,P.originalEvent,{features:k}))):b=!1},mouseout:()=>{b=!1}}}}if(C==="mouseleave"||C==="mouseout"){let b=!1;return{layer:u,listener:p,delegates:{mousemove:k=>{(this.getLayer(u)?this.queryRenderedFeatures(k.point,{layers:[u]}):[]).length?b=!0:b&&(b=!1,p.call(this,new Mi(C,this,k.originalEvent)))},mouseout:k=>{b&&(b=!1,p.call(this,new Mi(C,this,k.originalEvent)))}}}}{const b=w=>{const P=this.getLayer(u)?this.queryRenderedFeatures(w.point,{layers:[u]}):[];P.length&&(w.features=P,p.call(this,w),delete w.features)};return{layer:u,listener:p,delegates:{[C]:b}}}}on(C,u,p){if(p===void 0)return super.on(C,u);const b=this._createDelegatedListener(C,u,p);this._delegatedListeners=this._delegatedListeners||{},this._delegatedListeners[C]=this._delegatedListeners[C]||[],this._delegatedListeners[C].push(b);for(const w in b.delegates)this.on(w,b.delegates[w]);return this}once(C,u,p){if(p===void 0)return super.once(C,u);const b=this._createDelegatedListener(C,u,p);for(const w in b.delegates)this.once(w,b.delegates[w]);return this}off(C,u,p){return p===void 0?super.off(C,u):(this._delegatedListeners&&this._delegatedListeners[C]&&(b=>{const w=this._delegatedListeners[C];for(let P=0;Pthis._updateStyle(C,u));const p=this.style&&u.transformStyle?this.style.serialize():void 0;return this.style&&(this.style.setEventedParent(null),this.style._remove(!C)),C?(this.style=new om(this,u||{}),this.style.setEventedParent(this,{style:this.style}),typeof C=="string"?this.style.loadURL(C,u,p):this.style.loadJSON(C,u,p),this):(delete this.style,this)}_lazyInitEmptyStyle(){this.style||(this.style=new om(this,{}),this.style.setEventedParent(this,{style:this.style}),this.style.loadEmpty())}_diffStyle(C,u){if(typeof C=="string"){const p=this._requestManager.transformRequest(C,"Style");s.h(p,new AbortController).then(b=>{this._updateDiff(b.data,u)}).catch(b=>{b&&this.fire(new s.j(b))})}else typeof C=="object"&&this._updateDiff(C,u)}_updateDiff(C,u){try{this.style.setState(C,u)&&this._update(!0)}catch(p){s.w(`Unable to perform style diff: ${p.message||p.error||p}. Rebuilding the style from scratch.`),this._updateStyle(C,u)}}getStyle(){if(this.style)return this.style.serialize()}isStyleLoaded(){return this.style?this.style.loaded():s.w("There is no style added to the map.")}addSource(C,u){return this._lazyInitEmptyStyle(),this.style.addSource(C,u),this._update(!0)}isSourceLoaded(C){const u=this.style&&this.style.sourceCaches[C];if(u!==void 0)return u.loaded();this.fire(new s.j(new Error(`There is no source with ID '${C}'`)))}setTerrain(C){if(this.style._checkLoaded(),this._terrainDataCallback&&this.style.off("data",this._terrainDataCallback),C){const u=this.style.sourceCaches[C.source];if(!u)throw new Error(`cannot load terrain, because there exists no source with ID: ${C.source}`);this.terrain===null&&u.reload();for(const p in this.style._layers){const b=this.style._layers[p];b.type==="hillshade"&&b.source===C.source&&s.w("You are using the same source for a hillshade layer and for 3D terrain. Please consider using two separate sources to improve rendering quality.")}this.terrain=new E_(this.painter,u,C),this.painter.renderToTexture=new M_(this.painter,this.terrain),this.transform.minElevationForCurrentTile=this.terrain.getMinTileElevationForLngLatZoom(this.transform.center,this.transform.tileZoom),this.transform.elevation=this.terrain.getElevationForLngLatZoom(this.transform.center,this.transform.tileZoom),this._terrainDataCallback=p=>{p.dataType==="style"?this.terrain.sourceCache.freeRtt():p.dataType==="source"&&p.tile&&(p.sourceId!==C.source||this._elevationFreeze||(this.transform.minElevationForCurrentTile=this.terrain.getMinTileElevationForLngLatZoom(this.transform.center,this.transform.tileZoom),this.transform.elevation=this.terrain.getElevationForLngLatZoom(this.transform.center,this.transform.tileZoom)),this.terrain.sourceCache.freeRtt(p.tile.tileID))},this.style.on("data",this._terrainDataCallback)}else this.terrain&&this.terrain.sourceCache.destruct(),this.terrain=null,this.painter.renderToTexture&&this.painter.renderToTexture.destruct(),this.painter.renderToTexture=null,this.transform.minElevationForCurrentTile=0,this.transform.elevation=0;return this.fire(new s.k("terrain",{terrain:C})),this}getTerrain(){var C,u;return(u=(C=this.terrain)===null||C===void 0?void 0:C.options)!==null&&u!==void 0?u:null}areTilesLoaded(){const C=this.style&&this.style.sourceCaches;for(const u in C){const p=C[u]._tiles;for(const b in p){const w=p[b];if(w.state!=="loaded"&&w.state!=="errored")return!1}}return!0}removeSource(C){return this.style.removeSource(C),this._update(!0)}getSource(C){return this.style.getSource(C)}addImage(C,u,p={}){const{pixelRatio:b=1,sdf:w=!1,stretchX:P,stretchY:k,content:z,textFitWidth:B,textFitHeight:N}=p;if(this._lazyInitEmptyStyle(),!(u instanceof HTMLImageElement||s.b(u))){if(u.width===void 0||u.height===void 0)return this.fire(new s.j(new Error("Invalid arguments to map.addImage(). The second argument must be an `HTMLImageElement`, `ImageData`, `ImageBitmap`, or object with `width`, `height`, and `data` properties with the same format as `ImageData`")));{const{width:q,height:W,data:te}=u,ae=u;return this.style.addImage(C,{data:new s.R({width:q,height:W},new Uint8Array(te)),pixelRatio:b,stretchX:P,stretchY:k,content:z,textFitWidth:B,textFitHeight:N,sdf:w,version:0,userImage:ae}),ae.onAdd&&ae.onAdd(this,C),this}}{const{width:q,height:W,data:te}=v.getImageData(u);this.style.addImage(C,{data:new s.R({width:q,height:W},te),pixelRatio:b,stretchX:P,stretchY:k,content:z,textFitWidth:B,textFitHeight:N,sdf:w,version:0})}}updateImage(C,u){const p=this.style.getImage(C);if(!p)return this.fire(new s.j(new Error("The map has no image with that id. If you are adding a new image use `map.addImage(...)` instead.")));const b=u instanceof HTMLImageElement||s.b(u)?v.getImageData(u):u,{width:w,height:P,data:k}=b;if(w===void 0||P===void 0)return this.fire(new s.j(new Error("Invalid arguments to map.updateImage(). The second argument must be an `HTMLImageElement`, `ImageData`, `ImageBitmap`, or object with `width`, `height`, and `data` properties with the same format as `ImageData`")));if(w!==p.data.width||P!==p.data.height)return this.fire(new s.j(new Error("The width and height of the updated image must be that same as the previous version of the image")));const z=!(u instanceof HTMLImageElement||s.b(u));return p.data.replace(k,z),this.style.updateImage(C,p),this}getImage(C){return this.style.getImage(C)}hasImage(C){return C?!!this.style.getImage(C):(this.fire(new s.j(new Error("Missing required image id"))),!1)}removeImage(C){this.style.removeImage(C)}loadImage(C){return R.getImage(this._requestManager.transformRequest(C,"Image"),new AbortController)}listImages(){return this.style.listImages()}addLayer(C,u){return this._lazyInitEmptyStyle(),this.style.addLayer(C,u),this._update(!0)}moveLayer(C,u){return this.style.moveLayer(C,u),this._update(!0)}removeLayer(C){return this.style.removeLayer(C),this._update(!0)}getLayer(C){return this.style.getLayer(C)}getLayersOrder(){return this.style.getLayersOrder()}setLayerZoomRange(C,u,p){return this.style.setLayerZoomRange(C,u,p),this._update(!0)}setFilter(C,u,p={}){return this.style.setFilter(C,u,p),this._update(!0)}getFilter(C){return this.style.getFilter(C)}setPaintProperty(C,u,p,b={}){return this.style.setPaintProperty(C,u,p,b),this._update(!0)}getPaintProperty(C,u){return this.style.getPaintProperty(C,u)}setLayoutProperty(C,u,p,b={}){return this.style.setLayoutProperty(C,u,p,b),this._update(!0)}getLayoutProperty(C,u){return this.style.getLayoutProperty(C,u)}setGlyphs(C,u={}){return this._lazyInitEmptyStyle(),this.style.setGlyphs(C,u),this._update(!0)}getGlyphs(){return this.style.getGlyphsUrl()}addSprite(C,u,p={}){return this._lazyInitEmptyStyle(),this.style.addSprite(C,u,p,b=>{b||this._update(!0)}),this}removeSprite(C){return this._lazyInitEmptyStyle(),this.style.removeSprite(C),this._update(!0)}getSprite(){return this.style.getSprite()}setSprite(C,u={}){return this._lazyInitEmptyStyle(),this.style.setSprite(C,u,p=>{p||this._update(!0)}),this}setLight(C,u={}){return this._lazyInitEmptyStyle(),this.style.setLight(C,u),this._update(!0)}getLight(){return this.style.getLight()}setSky(C){return this._lazyInitEmptyStyle(),this.style.setSky(C),this._update(!0)}getSky(){return this.style.getSky()}setFeatureState(C,u){return this.style.setFeatureState(C,u),this._update()}removeFeatureState(C,u){return this.style.removeFeatureState(C,u),this._update()}getFeatureState(C){return this.style.getFeatureState(C)}getContainer(){return this._container}getCanvasContainer(){return this._canvasContainer}getCanvas(){return this._canvas}_containerDimensions(){let C=0,u=0;return this._container&&(C=this._container.clientWidth||400,u=this._container.clientHeight||300),[C,u]}_setupContainer(){const C=this._container;C.classList.add("maplibregl-map");const u=this._canvasContainer=y.create("div","maplibregl-canvas-container",C);this._interactive&&u.classList.add("maplibregl-interactive"),this._canvas=y.create("canvas","maplibregl-canvas",u),this._canvas.addEventListener("webglcontextlost",this._contextLost,!1),this._canvas.addEventListener("webglcontextrestored",this._contextRestored,!1),this._canvas.setAttribute("tabindex",this._interactive?"0":"-1"),this._canvas.setAttribute("aria-label",this._getUIString("Map.Title")),this._canvas.setAttribute("role","region");const p=this._containerDimensions(),b=this._getClampedPixelRatio(p[0],p[1]);this._resizeCanvas(p[0],p[1],b);const w=this._controlContainer=y.create("div","maplibregl-control-container",C),P=this._controlPositions={};["top-left","top-right","bottom-left","bottom-right"].forEach(k=>{P[k]=y.create("div",`maplibregl-ctrl-${k} `,w)}),this._container.addEventListener("scroll",this._onMapScroll,!1)}_resizeCanvas(C,u,p){this._canvas.width=Math.floor(p*C),this._canvas.height=Math.floor(p*u),this._canvas.style.width=`${C}px`,this._canvas.style.height=`${u}px`}_setupPainter(){const C={alpha:!0,stencil:!0,depth:!0,failIfMajorPerformanceCaveat:this._failIfMajorPerformanceCaveat,preserveDrawingBuffer:this._preserveDrawingBuffer,antialias:this._antialias||!1};let u=null;this._canvas.addEventListener("webglcontextcreationerror",b=>{u={requestedAttributes:C},b&&(u.statusMessage=b.statusMessage,u.type=b.type)},{once:!0});const p=this._canvas.getContext("webgl2",C)||this._canvas.getContext("webgl",C);if(!p){const b="Failed to initialize WebGL";throw u?(u.message=b,new Error(JSON.stringify(u))):new Error(b)}this.painter=new w_(p,this.transform),_.testSupport(p)}loaded(){return!this._styleDirty&&!this._sourcesDirty&&!!this.style&&this.style.loaded()}_update(C){return this.style&&this.style._loaded?(this._styleDirty=this._styleDirty||C,this._sourcesDirty=!0,this.triggerRepaint(),this):this}_requestRenderFrame(C){return this._update(),this._renderTaskQueue.add(C)}_cancelRenderFrame(C){this._renderTaskQueue.remove(C)}_render(C){const u=this._idleTriggered?this._fadeDuration:0;if(this.painter.context.setDirty(),this.painter.setBaseState(),this._renderTaskQueue.run(C),this._removed)return;let p=!1;if(this.style&&this._styleDirty){this._styleDirty=!1;const w=this.transform.zoom,P=v.now();this.style.zoomHistory.update(w,P);const k=new s.a9(w,{now:P,fadeDuration:u,zoomHistory:this.style.zoomHistory,transition:this.style.getTransition()}),z=k.crossFadingFactor();z===1&&z===this._crossFadingFactor||(p=!0,this._crossFadingFactor=z),this.style.update(k)}this.style&&this._sourcesDirty&&(this._sourcesDirty=!1,this.style._updateSources(this.transform)),this.terrain?(this.terrain.sourceCache.update(this.transform,this.terrain),this.transform.minElevationForCurrentTile=this.terrain.getMinTileElevationForLngLatZoom(this.transform.center,this.transform.tileZoom),this._elevationFreeze||(this.transform.elevation=this.terrain.getElevationForLngLatZoom(this.transform.center,this.transform.tileZoom))):(this.transform.minElevationForCurrentTile=0,this.transform.elevation=0),this._placementDirty=this.style&&this.style._updatePlacement(this.painter.transform,this.showCollisionBoxes,u,this._crossSourceCollisions),this.painter.render(this.style,{showTileBoundaries:this.showTileBoundaries,showOverdrawInspector:this._showOverdrawInspector,rotating:this.isRotating(),zooming:this.isZooming(),moving:this.isMoving(),fadeDuration:u,showPadding:this.showPadding}),this.fire(new s.k("render")),this.loaded()&&!this._loaded&&(this._loaded=!0,s.be.mark(s.bf.load),this.fire(new s.k("load"))),this.style&&(this.style.hasTransitions()||p)&&(this._styleDirty=!0),this.style&&!this._placementDirty&&this.style._releaseSymbolFadeTiles();const b=this._sourcesDirty||this._styleDirty||this._placementDirty;return b||this._repaint?this.triggerRepaint():!this.isMoving()&&this.loaded()&&this.fire(new s.k("idle")),!this._loaded||this._fullyLoaded||b||(this._fullyLoaded=!0,s.be.mark(s.bf.fullLoad)),this}redraw(){return this.style&&(this._frameRequest&&(this._frameRequest.abort(),this._frameRequest=null),this._render(0)),this}remove(){var C;this._hash&&this._hash.remove();for(const p of this._controls)p.onRemove(this);this._controls=[],this._frameRequest&&(this._frameRequest.abort(),this._frameRequest=null),this._renderTaskQueue.clear(),this.painter.destroy(),this.handlers.destroy(),delete this.handlers,this.setStyle(null),typeof window<"u"&&removeEventListener("online",this._onWindowOnline,!1),R.removeThrottleControl(this._imageQueueHandle),(C=this._resizeObserver)===null||C===void 0||C.disconnect();const u=this.painter.context.gl.getExtension("WEBGL_lose_context");u!=null&&u.loseContext&&u.loseContext(),this._canvas.removeEventListener("webglcontextrestored",this._contextRestored,!1),this._canvas.removeEventListener("webglcontextlost",this._contextLost,!1),y.remove(this._canvasContainer),y.remove(this._controlContainer),this._container.classList.remove("maplibregl-map"),s.be.clearMetrics(),this._removed=!0,this.fire(new s.k("remove"))}triggerRepaint(){this.style&&!this._frameRequest&&(this._frameRequest=new AbortController,v.frameAsync(this._frameRequest).then(C=>{s.be.frame(C),this._frameRequest=null,this._render(C)}).catch(()=>{}))}get showTileBoundaries(){return!!this._showTileBoundaries}set showTileBoundaries(C){this._showTileBoundaries!==C&&(this._showTileBoundaries=C,this._update())}get showPadding(){return!!this._showPadding}set showPadding(C){this._showPadding!==C&&(this._showPadding=C,this._update())}get showCollisionBoxes(){return!!this._showCollisionBoxes}set showCollisionBoxes(C){this._showCollisionBoxes!==C&&(this._showCollisionBoxes=C,C?this.style._generateCollisionBoxes():this._update())}get showOverdrawInspector(){return!!this._showOverdrawInspector}set showOverdrawInspector(C){this._showOverdrawInspector!==C&&(this._showOverdrawInspector=C,this._update())}get repaint(){return!!this._repaint}set repaint(C){this._repaint!==C&&(this._repaint=C,this.triggerRepaint())}get vertices(){return!!this._vertices}set vertices(C){this._vertices=C,this._update()}get version(){return qm}getCameraTargetElevation(){return this.transform.elevation}},o.MapMouseEvent=Mi,o.MapTouchEvent=Oc,o.MapWheelEvent=Im,o.Marker=cn,o.NavigationControl=class{constructor(C){this._updateZoomButtons=()=>{const u=this._map.getZoom(),p=u===this._map.getMaxZoom(),b=u===this._map.getMinZoom();this._zoomInButton.disabled=p,this._zoomOutButton.disabled=b,this._zoomInButton.setAttribute("aria-disabled",p.toString()),this._zoomOutButton.setAttribute("aria-disabled",b.toString())},this._rotateCompassArrow=()=>{const u=this.options.visualizePitch?`scale(${1/Math.pow(Math.cos(this._map.transform.pitch*(Math.PI/180)),.5)}) rotateX(${this._map.transform.pitch}deg) rotateZ(${this._map.transform.angle*(180/Math.PI)}deg)`:`rotate(${this._map.transform.angle*(180/Math.PI)}deg)`;this._compassIcon.style.transform=u},this._setButtonTitle=(u,p)=>{const b=this._map._getUIString(`NavigationControl.${p}`);u.title=b,u.setAttribute("aria-label",b)},this.options=s.e({},Zm,C),this._container=y.create("div","maplibregl-ctrl maplibregl-ctrl-group"),this._container.addEventListener("contextmenu",u=>u.preventDefault()),this.options.showZoom&&(this._zoomInButton=this._createButton("maplibregl-ctrl-zoom-in",u=>this._map.zoomIn({},{originalEvent:u})),y.create("span","maplibregl-ctrl-icon",this._zoomInButton).setAttribute("aria-hidden","true"),this._zoomOutButton=this._createButton("maplibregl-ctrl-zoom-out",u=>this._map.zoomOut({},{originalEvent:u})),y.create("span","maplibregl-ctrl-icon",this._zoomOutButton).setAttribute("aria-hidden","true")),this.options.showCompass&&(this._compass=this._createButton("maplibregl-ctrl-compass",u=>{this.options.visualizePitch?this._map.resetNorthPitch({},{originalEvent:u}):this._map.resetNorth({},{originalEvent:u})}),this._compassIcon=y.create("span","maplibregl-ctrl-icon",this._compass),this._compassIcon.setAttribute("aria-hidden","true"))}onAdd(C){return this._map=C,this.options.showZoom&&(this._setButtonTitle(this._zoomInButton,"ZoomIn"),this._setButtonTitle(this._zoomOutButton,"ZoomOut"),this._map.on("zoom",this._updateZoomButtons),this._updateZoomButtons()),this.options.showCompass&&(this._setButtonTitle(this._compass,"ResetBearing"),this.options.visualizePitch&&this._map.on("pitch",this._rotateCompassArrow),this._map.on("rotate",this._rotateCompassArrow),this._rotateCompassArrow(),this._handler=new L_(this._map,this._compass,this.options.visualizePitch)),this._container}onRemove(){y.remove(this._container),this.options.showZoom&&this._map.off("zoom",this._updateZoomButtons),this.options.showCompass&&(this.options.visualizePitch&&this._map.off("pitch",this._rotateCompassArrow),this._map.off("rotate",this._rotateCompassArrow),this._handler.off(),delete this._handler),delete this._map}_createButton(C,u){const p=y.create("button",C,this._container);return p.type="button",p.addEventListener("click",u),p}},o.Popup=class extends s.E{constructor(C){super(),this.remove=()=>(this._content&&y.remove(this._content),this._container&&(y.remove(this._container),delete this._container),this._map&&(this._map.off("move",this._update),this._map.off("move",this._onClose),this._map.off("click",this._onClose),this._map.off("remove",this.remove),this._map.off("mousemove",this._onMouseMove),this._map.off("mouseup",this._onMouseUp),this._map.off("drag",this._onDrag),this._map._canvasContainer.classList.remove("maplibregl-track-pointer"),delete this._map,this.fire(new s.k("close"))),this),this._onMouseUp=u=>{this._update(u.point)},this._onMouseMove=u=>{this._update(u.point)},this._onDrag=u=>{this._update(u.point)},this._update=u=>{var p;if(!this._map||!this._lngLat&&!this._trackPointer||!this._content)return;if(!this._container){if(this._container=y.create("div","maplibregl-popup",this._map.getContainer()),this._tip=y.create("div","maplibregl-popup-tip",this._container),this._container.appendChild(this._content),this.options.className)for(const z of this.options.className.split(" "))this._container.classList.add(z);this._closeButton&&this._closeButton.setAttribute("aria-label",this._map._getUIString("Popup.Close")),this._trackPointer&&this._container.classList.add("maplibregl-popup-track-pointer")}if(this.options.maxWidth&&this._container.style.maxWidth!==this.options.maxWidth&&(this._container.style.maxWidth=this.options.maxWidth),this._lngLat=this._map.transform.renderWorldCopies&&!this._trackPointer?k_(this._lngLat,this._flatPos,this._map.transform):(p=this._lngLat)===null||p===void 0?void 0:p.wrap(),this._trackPointer&&!u)return;const b=this._flatPos=this._pos=this._trackPointer&&u?u:this._map.project(this._lngLat);this._map.terrain&&(this._flatPos=this._trackPointer&&u?u:this._map.transform.locationPoint(this._lngLat));let w=this.options.anchor;const P=$t(this.options.offset);if(!w){const z=this._container.offsetWidth,B=this._container.offsetHeight;let N;N=b.y+P.bottom.ythis._map.transform.height-B?["bottom"]:[],b.xthis._map.transform.width-z/2&&N.push("right"),w=N.length===0?"bottom":N.join("-")}let k=b.add(P[w]);this.options.subpixelPositioning||(k=k.round()),y.setTransform(this._container,`${Xm[w]} translate(${k.x}px,${k.y}px)`),Ps(this._container,w,"popup")},this._onClose=()=>{this.remove()},this.options=s.e(Object.create(mo),C)}addTo(C){return this._map&&this.remove(),this._map=C,this.options.closeOnClick&&this._map.on("click",this._onClose),this.options.closeOnMove&&this._map.on("move",this._onClose),this._map.on("remove",this.remove),this._update(),this._focusFirstElement(),this._trackPointer?(this._map.on("mousemove",this._onMouseMove),this._map.on("mouseup",this._onMouseUp),this._container&&this._container.classList.add("maplibregl-popup-track-pointer"),this._map._canvasContainer.classList.add("maplibregl-track-pointer")):this._map.on("move",this._update),this.fire(new s.k("open")),this}isOpen(){return!!this._map}getLngLat(){return this._lngLat}setLngLat(C){return this._lngLat=s.N.convert(C),this._pos=null,this._flatPos=null,this._trackPointer=!1,this._update(),this._map&&(this._map.on("move",this._update),this._map.off("mousemove",this._onMouseMove),this._container&&this._container.classList.remove("maplibregl-popup-track-pointer"),this._map._canvasContainer.classList.remove("maplibregl-track-pointer")),this}trackPointer(){return this._trackPointer=!0,this._pos=null,this._flatPos=null,this._update(),this._map&&(this._map.off("move",this._update),this._map.on("mousemove",this._onMouseMove),this._map.on("drag",this._onDrag),this._container&&this._container.classList.add("maplibregl-popup-track-pointer"),this._map._canvasContainer.classList.add("maplibregl-track-pointer")),this}getElement(){return this._container}setText(C){return this.setDOMContent(document.createTextNode(C))}setHTML(C){const u=document.createDocumentFragment(),p=document.createElement("body");let b;for(p.innerHTML=C;b=p.firstChild,b;)u.appendChild(b);return this.setDOMContent(u)}getMaxWidth(){var C;return(C=this._container)===null||C===void 0?void 0:C.style.maxWidth}setMaxWidth(C){return this.options.maxWidth=C,this._update(),this}setDOMContent(C){if(this._content)for(;this._content.hasChildNodes();)this._content.firstChild&&this._content.removeChild(this._content.firstChild);else this._content=y.create("div","maplibregl-popup-content",this._container);return this._content.appendChild(C),this._createCloseButton(),this._update(),this._focusFirstElement(),this}addClassName(C){return this._container&&this._container.classList.add(C),this}removeClassName(C){return this._container&&this._container.classList.remove(C),this}setOffset(C){return this.options.offset=C,this._update(),this}toggleClassName(C){if(this._container)return this._container.classList.toggle(C)}setSubpixelPositioning(C){this.options.subpixelPositioning=C}_createCloseButton(){this.options.closeButton&&(this._closeButton=y.create("button","maplibregl-popup-close-button",this._content),this._closeButton.type="button",this._closeButton.innerHTML="×",this._closeButton.addEventListener("click",this._onClose))}_focusFirstElement(){if(!this.options.focusAfterOpen||!this._container)return;const C=this._container.querySelector(qf);C&&C.focus()}},o.RasterDEMTileSource=nt,o.RasterTileSource=Qe,o.ScaleControl=class{constructor(C){this._onMove=()=>{Km(this._map,this._container,this.options)},this.setUnit=u=>{this.options.unit=u,Km(this._map,this._container,this.options)},this.options=Object.assign(Object.assign({},R_),C)}getDefaultPosition(){return"bottom-left"}onAdd(C){return this._map=C,this._container=y.create("div","maplibregl-ctrl maplibregl-ctrl-scale",C.getContainer()),this._map.on("move",this._onMove),this._onMove(),this._container}onRemove(){y.remove(this._container),this._map.off("move",this._onMove),this._map=void 0}},o.ScrollZoomHandler=Vm,o.Style=om,o.TerrainControl=class{constructor(C){this._toggleTerrain=()=>{this._map.getTerrain()?this._map.setTerrain(null):this._map.setTerrain(this.options),this._updateTerrainIcon()},this._updateTerrainIcon=()=>{this._terrainButton.classList.remove("maplibregl-ctrl-terrain"),this._terrainButton.classList.remove("maplibregl-ctrl-terrain-enabled"),this._map.terrain?(this._terrainButton.classList.add("maplibregl-ctrl-terrain-enabled"),this._terrainButton.title=this._map._getUIString("TerrainControl.Disable")):(this._terrainButton.classList.add("maplibregl-ctrl-terrain"),this._terrainButton.title=this._map._getUIString("TerrainControl.Enable"))},this.options=C}onAdd(C){return this._map=C,this._container=y.create("div","maplibregl-ctrl maplibregl-ctrl-group"),this._terrainButton=y.create("button","maplibregl-ctrl-terrain",this._container),y.create("span","maplibregl-ctrl-icon",this._terrainButton).setAttribute("aria-hidden","true"),this._terrainButton.type="button",this._terrainButton.addEventListener("click",this._toggleTerrain),this._updateTerrainIcon(),this._map.on("terrain",this._updateTerrainIcon),this._container}onRemove(){y.remove(this._container),this._map.off("terrain",this._updateTerrainIcon),this._map=void 0}},o.TwoFingersTouchPitchHandler=Fm,o.TwoFingersTouchRotateHandler=Bm,o.TwoFingersTouchZoomHandler=Om,o.TwoFingersTouchZoomRotateHandler=Hm,o.VectorTileSource=rt,o.VideoSource=Gt,o.addSourceType=(C,u)=>s._(void 0,void 0,void 0,function*(){if(vr(C))throw new Error(`A source type called "${C}" already exists.`);((p,b)=>{ar[p]=b})(C,u)}),o.clearPrewarmedResources=function(){const C=Ge;C&&(C.isPreloaded()&&C.numActive()===1?(C.release(ur),Ge=null):console.warn("Could not clear WebWorkers since there are active Map instances that still reference it. The pre-warmed WebWorker pool can only be cleared when all map instances have been removed with map.remove()"))},o.getMaxParallelImageRequests=function(){return s.a.MAX_PARALLEL_IMAGE_REQUESTS},o.getRTLTextPluginStatus=function(){return kn().getRTLTextPluginStatus()},o.getVersion=function(){return Xt},o.getWorkerCount=function(){return yr.workerCount},o.getWorkerUrl=function(){return s.a.WORKER_URL},o.importScriptInWorkers=function(C){return dt().broadcast("IS",C)},o.prewarm=function(){tt().acquire(ur)},o.setMaxParallelImageRequests=function(C){s.a.MAX_PARALLEL_IMAGE_REQUESTS=C},o.setRTLTextPlugin=function(C,u){return kn().setRTLTextPlugin(C,u)},o.setWorkerCount=function(C){yr.workerCount=C},o.setWorkerUrl=function(C){s.a.WORKER_URL=C}});var a=r;return a})})(K8);var $ce=K8.exports;const js=S8($ce);var z3=Object.prototype.toString,J8=function(t){var r=z3.call(t),n=r==="[object Arguments]";return n||(n=r!=="[object Array]"&&t!==null&&typeof t=="object"&&typeof t.length=="number"&&t.length>=0&&z3.call(t.callee)==="[object Function]"),n},I2,B3;function Nce(){if(B3)return I2;B3=1;var e;if(!Object.keys){var t=Object.prototype.hasOwnProperty,r=Object.prototype.toString,n=J8,i=Object.prototype.propertyIsEnumerable,a=!i.call({toString:null},"toString"),o=i.call(function(){},"prototype"),s=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],c=function(y){var _=y.constructor;return _&&_.prototype===y},d={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},m=function(){if(typeof window>"u")return!1;for(var y in window)try{if(!d["$"+y]&&t.call(window,y)&&window[y]!==null&&typeof window[y]=="object")try{c(window[y])}catch{return!0}}catch{return!0}return!1}(),v=function(y){if(typeof window>"u"||!m)return c(y);try{return c(y)}catch{return!1}};e=function(_){var S=_!==null&&typeof _=="object",I=r.call(_)==="[object Function]",E=n(_),M=S&&r.call(_)==="[object String]",L=[];if(!S&&!I&&!E)throw new TypeError("Object.keys called on a non-object");var R=o&&I;if(M&&_.length>0&&!t.call(_,0))for(var $=0;$<_.length;++$)L.push(String($));if(E&&_.length>0)for(var G=0;G<_.length;++G)L.push(String(G));else for(var j in _)!(R&&j==="prototype")&&t.call(_,j)&&L.push(String(j));if(a)for(var H=v(_),Z=0;Z"u"||!Ci?Br:Ci(Uint8Array),Kh={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?Br:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?Br:ArrayBuffer,"%ArrayIteratorPrototype%":pd&&Ci?Ci([][Symbol.iterator]()):Br,"%AsyncFromSyncIteratorPrototype%":Br,"%AsyncFunction%":Ld,"%AsyncGenerator%":Ld,"%AsyncGeneratorFunction%":Ld,"%AsyncIteratorPrototype%":Ld,"%Atomics%":typeof Atomics>"u"?Br:Atomics,"%BigInt%":typeof BigInt>"u"?Br:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?Br:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?Br:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?Br:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":lhe,"%eval%":eval,"%EvalError%":uhe,"%Float32Array%":typeof Float32Array>"u"?Br:Float32Array,"%Float64Array%":typeof Float64Array>"u"?Br:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?Br:FinalizationRegistry,"%Function%":tN,"%GeneratorFunction%":Ld,"%Int8Array%":typeof Int8Array>"u"?Br:Int8Array,"%Int16Array%":typeof Int16Array>"u"?Br:Int16Array,"%Int32Array%":typeof Int32Array>"u"?Br:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":pd&&Ci?Ci(Ci([][Symbol.iterator]())):Br,"%JSON%":typeof JSON=="object"?JSON:Br,"%Map%":typeof Map>"u"?Br:Map,"%MapIteratorPrototype%":typeof Map>"u"||!pd||!Ci?Br:Ci(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?Br:Promise,"%Proxy%":typeof Proxy>"u"?Br:Proxy,"%RangeError%":che,"%ReferenceError%":hhe,"%Reflect%":typeof Reflect>"u"?Br:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?Br:Set,"%SetIteratorPrototype%":typeof Set>"u"||!pd||!Ci?Br:Ci(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?Br:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":pd&&Ci?Ci(""[Symbol.iterator]()):Br,"%Symbol%":pd?Symbol:Br,"%SyntaxError%":Tp,"%ThrowTypeError%":dhe,"%TypedArray%":mhe,"%TypeError%":np,"%Uint8Array%":typeof Uint8Array>"u"?Br:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?Br:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?Br:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?Br:Uint32Array,"%URIError%":fhe,"%WeakMap%":typeof WeakMap>"u"?Br:WeakMap,"%WeakRef%":typeof WeakRef>"u"?Br:WeakRef,"%WeakSet%":typeof WeakSet>"u"?Br:WeakSet};if(Ci)try{null.error}catch(e){var vhe=Ci(Ci(e));Kh["%Error.prototype%"]=vhe}var ghe=function e(t){var r;if(t==="%AsyncFunction%")r=M2("async function () {}");else if(t==="%GeneratorFunction%")r=M2("function* () {}");else if(t==="%AsyncGeneratorFunction%")r=M2("async function* () {}");else if(t==="%AsyncGenerator%"){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if(t==="%AsyncIteratorPrototype%"){var i=e("%AsyncGenerator%");i&&Ci&&(r=Ci(i.prototype))}return Kh[t]=r,r},j3={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},Hy=fE,Ib=eN,yhe=Hy.call(Function.call,Array.prototype.concat),_he=Hy.call(Function.apply,Array.prototype.splice),H3=Hy.call(Function.call,String.prototype.replace),Eb=Hy.call(Function.call,String.prototype.slice),bhe=Hy.call(Function.call,RegExp.prototype.exec),xhe=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,whe=/\\(\\)?/g,She=function(t){var r=Eb(t,0,1),n=Eb(t,-1);if(r==="%"&&n!=="%")throw new Tp("invalid intrinsic syntax, expected closing `%`");if(n==="%"&&r!=="%")throw new Tp("invalid intrinsic syntax, expected opening `%`");var i=[];return H3(t,xhe,function(a,o,s,c){i[i.length]=s?H3(c,whe,"$1"):o||a}),i},The=function(t,r){var n=t,i;if(Ib(j3,n)&&(i=j3[n],n="%"+i[0]+"%"),Ib(Kh,n)){var a=Kh[n];if(a===Ld&&(a=ghe(n)),typeof a>"u"&&!r)throw new np("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:i,name:n,value:a}}throw new Tp("intrinsic "+t+" does not exist!")},al=function(t,r){if(typeof t!="string"||t.length===0)throw new np("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof r!="boolean")throw new np('"allowMissing" argument must be a boolean');if(bhe(/^%?[^%]*%?$/,t)===null)throw new Tp("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=She(t),i=n.length>0?n[0]:"",a=The("%"+i+"%",r),o=a.name,s=a.value,c=!1,d=a.alias;d&&(i=d[0],_he(n,yhe([0,1],d)));for(var m=1,v=!0;m=n.length){var I=Xh(s,y);v=!!I,v&&"get"in I&&!("originalValue"in I.get)?s=I.get:s=s[y]}else v=Ib(s,y),s=s[y];v&&!c&&(Kh[o]=s)}}return s},Che=al,B1=Che("%Object.defineProperty%",!0)||!1;if(B1)try{B1({},"a",{value:1})}catch{B1=!1}var dE=B1,Phe=al,F1=Phe("%Object.getOwnPropertyDescriptor%",!0);if(F1)try{F1([],"length")}catch{F1=null}var pE=F1,U3=dE,Ahe=Q8,md=gc,G3=pE,mE=function(t,r,n){if(!t||typeof t!="object"&&typeof t!="function")throw new md("`obj` must be an object or a function`");if(typeof r!="string"&&typeof r!="symbol")throw new md("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new md("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new md("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new md("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new md("`loose`, if provided, must be a boolean");var i=arguments.length>3?arguments[3]:null,a=arguments.length>4?arguments[4]:null,o=arguments.length>5?arguments[5]:null,s=arguments.length>6?arguments[6]:!1,c=!!G3&&G3(t,r);if(U3)U3(t,r,{configurable:o===null&&c?c.configurable:!o,enumerable:i===null&&c?c.enumerable:!i,value:n,writable:a===null&&c?c.writable:!a});else if(s||!i&&!a&&!o)t[r]=n;else throw new Ahe("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},wP=dE,rN=function(){return!!wP};rN.hasArrayLengthDefineBug=function(){if(!wP)return null;try{return wP([],"length",{value:1}).length!==1}catch{return!0}};var vE=rN,Ihe=cE,Ehe=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",Mhe=Object.prototype.toString,Dhe=Array.prototype.concat,W3=mE,Lhe=function(e){return typeof e=="function"&&Mhe.call(e)==="[object Function]"},nN=vE(),khe=function(e,t,r,n){if(t in e){if(n===!0){if(e[t]===r)return}else if(!Lhe(n)||!n())return}nN?W3(e,t,r,!0):W3(e,t,r)},iN=function(e,t){var r=arguments.length>2?arguments[2]:{},n=Ihe(t);Ehe&&(n=Dhe.call(n,Object.getOwnPropertySymbols(t)));for(var i=0;i4294967295||zhe(r)!==r)throw new X3("`length` must be a positive 32-bit integer");var n=arguments.length>2&&!!arguments[2],i=!0,a=!0;if("length"in t&&Z3){var o=Z3(t,"length");o&&!o.configurable&&(i=!1),o&&!o.writable&&(a=!1)}return(i||a||!n)&&(Ohe?q3(t,"length",r,!0,!0):q3(t,"length",r)),t};(function(e){var t=fE,r=al,n=Bhe,i=gc,a=r("%Function.prototype.apply%"),o=r("%Function.prototype.call%"),s=r("%Reflect.apply%",!0)||t.call(o,a),c=dE,d=r("%Math.max%");e.exports=function(y){if(typeof y!="function")throw new i("a function is required");var _=s(t,o,arguments);return n(_,1+d(0,y.length-(arguments.length-1)),!0)};var m=function(){return s(t,a,arguments)};c?c(e.exports,"apply",{value:m}):e.exports.apply=m})(aN);var Zp=aN.exports,oN=al,sN=Zp,Fhe=sN(oN("String.prototype.indexOf")),Vo=function(t,r){var n=oN(t,!!r);return typeof n=="function"&&Fhe(t,".prototype.")>-1?sN(n):n},$he=cE,lN=Zx(),uN=Vo,K3=Object,Nhe=uN("Array.prototype.push"),Y3=uN("Object.prototype.propertyIsEnumerable"),Vhe=lN?Object.getOwnPropertySymbols:null,cN=function(t,r){if(t==null)throw new TypeError("target must be an object");var n=K3(t);if(arguments.length===1)return n;for(var i=1;i2&&!!arguments[2];return(!n||rfe)&&(tfe?J3(t,"name",r,!0,!0):J3(t,"name",r)),t},afe=ife,ofe=gc,sfe=Object,pN=afe(function(){if(this==null||this!==sfe(this))throw new ofe("RegExp.prototype.flags getter called on non-object");var t="";return this.hasIndices&&(t+="d"),this.global&&(t+="g"),this.ignoreCase&&(t+="i"),this.multiline&&(t+="m"),this.dotAll&&(t+="s"),this.unicode&&(t+="u"),this.unicodeSets&&(t+="v"),this.sticky&&(t+="y"),t},"get flags",!0),lfe=pN,ufe=pf.supportsDescriptors,cfe=Object.getOwnPropertyDescriptor,mN=function(){if(ufe&&/a/mig.flags==="gim"){var t=cfe(RegExp.prototype,"flags");if(t&&typeof t.get=="function"&&typeof RegExp.prototype.dotAll=="boolean"&&typeof RegExp.prototype.hasIndices=="boolean"){var r="",n={};if(Object.defineProperty(n,"hasIndices",{get:function(){r+="d"}}),Object.defineProperty(n,"sticky",{get:function(){r+="y"}}),r==="dy")return t.get}}return lfe},hfe=pf.supportsDescriptors,ffe=mN,dfe=Object.getOwnPropertyDescriptor,pfe=Object.defineProperty,mfe=TypeError,Q3=Object.getPrototypeOf,vfe=/a/,gfe=function(){if(!hfe||!Q3)throw new mfe("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors");var t=ffe(),r=Q3(vfe),n=dfe(r,"flags");return(!n||n.get!==t)&&pfe(r,"flags",{configurable:!0,enumerable:!1,get:t}),t},yfe=pf,_fe=Zp,bfe=pN,vN=mN,xfe=gfe,gN=_fe(vN());yfe(gN,{getPolyfill:vN,implementation:bfe,shim:xfe});var wfe=gN,$1={exports:{}},Sfe=Zx,mf=function(){return Sfe()&&!!Symbol.toStringTag},Tfe=mf(),Cfe=Vo,SP=Cfe("Object.prototype.toString"),Xx=function(t){return Tfe&&t&&typeof t=="object"&&Symbol.toStringTag in t?!1:SP(t)==="[object Arguments]"},yN=function(t){return Xx(t)?!0:t!==null&&typeof t=="object"&&typeof t.length=="number"&&t.length>=0&&SP(t)!=="[object Array]"&&SP(t.callee)==="[object Function]"},Pfe=function(){return Xx(arguments)}();Xx.isLegacyArguments=yN;var _N=Pfe?Xx:yN;const Afe={},Ife=Object.freeze(Object.defineProperty({__proto__:null,default:Afe},Symbol.toStringTag,{value:"Module"})),Efe=fue(Ife);var gE=typeof Map=="function"&&Map.prototype,k2=Object.getOwnPropertyDescriptor&&gE?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,Mb=gE&&k2&&typeof k2.get=="function"?k2.get:null,e5=gE&&Map.prototype.forEach,yE=typeof Set=="function"&&Set.prototype,R2=Object.getOwnPropertyDescriptor&&yE?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,Db=yE&&R2&&typeof R2.get=="function"?R2.get:null,t5=yE&&Set.prototype.forEach,Mfe=typeof WeakMap=="function"&&WeakMap.prototype,Cg=Mfe?WeakMap.prototype.has:null,Dfe=typeof WeakSet=="function"&&WeakSet.prototype,Pg=Dfe?WeakSet.prototype.has:null,Lfe=typeof WeakRef=="function"&&WeakRef.prototype,r5=Lfe?WeakRef.prototype.deref:null,kfe=Boolean.prototype.valueOf,Rfe=Object.prototype.toString,Ofe=Function.prototype.toString,zfe=String.prototype.match,_E=String.prototype.slice,Gu=String.prototype.replace,Bfe=String.prototype.toUpperCase,n5=String.prototype.toLowerCase,bN=RegExp.prototype.test,i5=Array.prototype.concat,Hs=Array.prototype.join,Ffe=Array.prototype.slice,a5=Math.floor,TP=typeof BigInt=="function"?BigInt.prototype.valueOf:null,O2=Object.getOwnPropertySymbols,CP=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,Cp=typeof Symbol=="function"&&typeof Symbol.iterator=="object",ia=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===Cp||!0)?Symbol.toStringTag:null,xN=Object.prototype.propertyIsEnumerable,o5=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function s5(e,t){if(e===1/0||e===-1/0||e!==e||e&&e>-1e3&&e<1e3||bN.call(/e/,t))return t;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof e=="number"){var n=e<0?-a5(-e):a5(e);if(n!==e){var i=String(n),a=_E.call(t,i.length+1);return Gu.call(i,r,"$&_")+"."+Gu.call(Gu.call(a,/([0-9]{3})/g,"$&_"),/_$/,"")}}return Gu.call(t,r,"$&_")}var PP=Efe,l5=PP.custom,u5=SN(l5)?l5:null,$fe=function e(t,r,n,i){var a=r||{};if(Nu(a,"quoteStyle")&&a.quoteStyle!=="single"&&a.quoteStyle!=="double")throw new TypeError('option "quoteStyle" must be "single" or "double"');if(Nu(a,"maxStringLength")&&(typeof a.maxStringLength=="number"?a.maxStringLength<0&&a.maxStringLength!==1/0:a.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var o=Nu(a,"customInspect")?a.customInspect:!0;if(typeof o!="boolean"&&o!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(Nu(a,"indent")&&a.indent!==null&&a.indent!==" "&&!(parseInt(a.indent,10)===a.indent&&a.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(Nu(a,"numericSeparator")&&typeof a.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var s=a.numericSeparator;if(typeof t>"u")return"undefined";if(t===null)return"null";if(typeof t=="boolean")return t?"true":"false";if(typeof t=="string")return CN(t,a);if(typeof t=="number"){if(t===0)return 1/0/t>0?"0":"-0";var c=String(t);return s?s5(t,c):c}if(typeof t=="bigint"){var d=String(t)+"n";return s?s5(t,d):d}var m=typeof a.depth>"u"?5:a.depth;if(typeof n>"u"&&(n=0),n>=m&&m>0&&typeof t=="object")return AP(t)?"[Array]":"[Object]";var v=nde(a,n);if(typeof i>"u")i=[];else if(TN(i,t)>=0)return"[Circular]";function y(ce,Ae,ue){if(Ae&&(i=Ffe.call(i),i.push(Ae)),ue){var _e={depth:a.depth};return Nu(a,"quoteStyle")&&(_e.quoteStyle=a.quoteStyle),e(ce,_e,n+1,i)}return e(ce,a,n+1,i)}if(typeof t=="function"&&!c5(t)){var _=Zfe(t),S=A0(t,y);return"[Function"+(_?": "+_:" (anonymous)")+"]"+(S.length>0?" { "+Hs.call(S,", ")+" }":"")}if(SN(t)){var I=Cp?Gu.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):CP.call(t);return typeof t=="object"&&!Cp?Av(I):I}if(ede(t)){for(var E="<"+n5.call(String(t.nodeName)),M=t.attributes||[],L=0;L",E}if(AP(t)){if(t.length===0)return"[]";var R=A0(t,y);return v&&!rde(R)?"["+IP(R,v)+"]":"[ "+Hs.call(R,", ")+" ]"}if(jfe(t)){var $=A0(t,y);return!("cause"in Error.prototype)&&"cause"in t&&!xN.call(t,"cause")?"{ ["+String(t)+"] "+Hs.call(i5.call("[cause]: "+y(t.cause),$),", ")+" }":$.length===0?"["+String(t)+"]":"{ ["+String(t)+"] "+Hs.call($,", ")+" }"}if(typeof t=="object"&&o){if(u5&&typeof t[u5]=="function"&&PP)return PP(t,{depth:m-n});if(o!=="symbol"&&typeof t.inspect=="function")return t.inspect()}if(Xfe(t)){var G=[];return e5&&e5.call(t,function(ce,Ae){G.push(y(Ae,t,!0)+" => "+y(ce,t))}),h5("Map",Mb.call(t),G,v)}if(Jfe(t)){var j=[];return t5&&t5.call(t,function(ce){j.push(y(ce,t))}),h5("Set",Db.call(t),j,v)}if(Kfe(t))return z2("WeakMap");if(Qfe(t))return z2("WeakSet");if(Yfe(t))return z2("WeakRef");if(Ufe(t))return Av(y(Number(t)));if(Wfe(t))return Av(y(TP.call(t)));if(Gfe(t))return Av(kfe.call(t));if(Hfe(t))return Av(y(String(t)));if(typeof window<"u"&&t===window)return"{ [object Window] }";if(typeof globalThis<"u"&&t===globalThis||typeof ay<"u"&&t===ay)return"{ [object globalThis] }";if(!Vfe(t)&&!c5(t)){var H=A0(t,y),Z=o5?o5(t)===Object.prototype:t instanceof Object||t.constructor===Object,Q=t instanceof Object?"":"null prototype",ee=!Z&&ia&&Object(t)===t&&ia in t?_E.call(yc(t),8,-1):Q?"Object":"",ne=Z||typeof t.constructor!="function"?"":t.constructor.name?t.constructor.name+" ":"",ie=ne+(ee||Q?"["+Hs.call(i5.call([],ee||[],Q||[]),": ")+"] ":"");return H.length===0?ie+"{}":v?ie+"{"+IP(H,v)+"}":ie+"{ "+Hs.call(H,", ")+" }"}return String(t)};function wN(e,t,r){var n=(r.quoteStyle||t)==="double"?'"':"'";return n+e+n}function Nfe(e){return Gu.call(String(e),/"/g,""")}function AP(e){return yc(e)==="[object Array]"&&(!ia||!(typeof e=="object"&&ia in e))}function Vfe(e){return yc(e)==="[object Date]"&&(!ia||!(typeof e=="object"&&ia in e))}function c5(e){return yc(e)==="[object RegExp]"&&(!ia||!(typeof e=="object"&&ia in e))}function jfe(e){return yc(e)==="[object Error]"&&(!ia||!(typeof e=="object"&&ia in e))}function Hfe(e){return yc(e)==="[object String]"&&(!ia||!(typeof e=="object"&&ia in e))}function Ufe(e){return yc(e)==="[object Number]"&&(!ia||!(typeof e=="object"&&ia in e))}function Gfe(e){return yc(e)==="[object Boolean]"&&(!ia||!(typeof e=="object"&&ia in e))}function SN(e){if(Cp)return e&&typeof e=="object"&&e instanceof Symbol;if(typeof e=="symbol")return!0;if(!e||typeof e!="object"||!CP)return!1;try{return CP.call(e),!0}catch{}return!1}function Wfe(e){if(!e||typeof e!="object"||!TP)return!1;try{return TP.call(e),!0}catch{}return!1}var qfe=Object.prototype.hasOwnProperty||function(e){return e in this};function Nu(e,t){return qfe.call(e,t)}function yc(e){return Rfe.call(e)}function Zfe(e){if(e.name)return e.name;var t=zfe.call(Ofe.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}function TN(e,t){if(e.indexOf)return e.indexOf(t);for(var r=0,n=e.length;rt.maxStringLength){var r=e.length-t.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return CN(_E.call(e,0,t.maxStringLength),t)+n}var i=Gu.call(Gu.call(e,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,tde);return wN(i,"single",t)}function tde(e){var t=e.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return r?"\\"+r:"\\x"+(t<16?"0":"")+Bfe.call(t.toString(16))}function Av(e){return"Object("+e+")"}function z2(e){return e+" { ? }"}function h5(e,t,r,n){var i=n?IP(r,n):Hs.call(r,", ");return e+" ("+t+") {"+i+"}"}function rde(e){for(var t=0;t=0)return!1;return!0}function nde(e,t){var r;if(e.indent===" ")r=" ";else if(typeof e.indent=="number"&&e.indent>0)r=Hs.call(Array(e.indent+1)," ");else return null;return{base:r,prev:Hs.call(Array(t+1),r)}}function IP(e,t){if(e.length===0)return"";var r=` +`+t.prev+t.base;return r+Hs.call(e,","+r)+` +`+t.prev}function A0(e,t){var r=AP(e),n=[];if(r){n.length=e.length;for(var i=0;i=n)return r+1;var i=_5(t,r);if(i<55296||i>56319)return r+1;var a=_5(t,r+1);return a<56320||a>57343?r+1:r+2},F2=function(t){var r=0;return{next:function(){var i=r>=t.length,a;return i||(a=t[r],r+=1),{done:i,value:a}}}},b5=function(t,r){if(Ade(t)||m5(t))return F2(t);if(Ide(t)){var n=0;return{next:function(){var a=Lde(t,n),o=Dde(t,n,a);return n=a,{done:a>t.length,value:o}}}}if(r&&typeof t["_es6-shim iterator_"]<"u")return t["_es6-shim iterator_"]()};if(!Ede&&!Mde)$1.exports=function(t){if(t!=null)return b5(t,!0)};else{var kde=DN,Rde=kN,x5=Yo("Map.prototype.forEach",!0),w5=Yo("Set.prototype.forEach",!0);if(typeof process>"u"||!process.versions||!process.versions.node)var S5=Yo("Map.prototype.iterator",!0),T5=Yo("Set.prototype.iterator",!0);var C5=Yo("Map.prototype.@@iterator",!0)||Yo("Map.prototype._es6-shim iterator_",!0),P5=Yo("Set.prototype.@@iterator",!0)||Yo("Set.prototype._es6-shim iterator_",!0),Ode=function(t){if(kde(t)){if(S5)return v5(S5(t));if(C5)return C5(t);if(x5){var r=[];return x5(t,function(i,a){y5(r,[a,i])}),F2(r)}}if(Rde(t)){if(T5)return v5(T5(t));if(P5)return P5(t);if(w5){var n=[];return w5(t,function(i){y5(n,i)}),F2(n)}}};$1.exports=function(t){return Ode(t)||b5(t)}}}var zde=$1.exports,A5=function(e){return e!==e},RN=function(t,r){return t===0&&r===0?1/t===1/r:!!(t===r||A5(t)&&A5(r))},Bde=RN,ON=function(){return typeof Object.is=="function"?Object.is:Bde},Fde=ON,$de=pf,Nde=function(){var t=Fde();return $de(Object,{is:t},{is:function(){return Object.is!==t}}),t},Vde=pf,jde=Zp,Hde=RN,zN=ON,Ude=Nde,BN=jde(zN(),Object);Vde(BN,{getPolyfill:zN,implementation:Hde,shim:Ude});var Gde=BN,Wde=Zp,FN=Vo,qde=al,EP=qde("%ArrayBuffer%",!0),N1=FN("ArrayBuffer.prototype.byteLength",!0),Zde=FN("Object.prototype.toString"),I5=!!EP&&!N1&&new EP(0).slice,E5=!!I5&&Wde(I5),$N=N1||E5?function(t){if(!t||typeof t!="object")return!1;try{return N1?N1(t):E5(t,0),!0}catch{return!1}}:EP?function(t){return Zde(t)==="[object ArrayBuffer]"}:function(t){return!1},Xde=Date.prototype.getDay,Kde=function(t){try{return Xde.call(t),!0}catch{return!1}},Yde=Object.prototype.toString,Jde="[object Date]",Qde=mf(),epe=function(t){return typeof t!="object"||t===null?!1:Qde?Kde(t):Yde.call(t)===Jde},MP=Vo,NN=mf(),VN,jN,DP,LP;if(NN){VN=MP("Object.prototype.hasOwnProperty"),jN=MP("RegExp.prototype.exec"),DP={};var $2=function(){throw DP};LP={toString:$2,valueOf:$2},typeof Symbol.toPrimitive=="symbol"&&(LP[Symbol.toPrimitive]=$2)}var tpe=MP("Object.prototype.toString"),rpe=Object.getOwnPropertyDescriptor,npe="[object RegExp]",ipe=NN?function(t){if(!t||typeof t!="object")return!1;var r=rpe(t,"lastIndex"),n=r&&VN(r,"value");if(!n)return!1;try{jN(t,LP)}catch(i){return i===DP}}:function(t){return!t||typeof t!="object"&&typeof t!="function"?!1:tpe(t)===npe},ape=Vo,M5=ape("SharedArrayBuffer.prototype.byteLength",!0),ope=M5?function(t){if(!t||typeof t!="object")return!1;try{return M5(t),!0}catch{return!1}}:function(t){return!1},spe=Number.prototype.toString,lpe=function(t){try{return spe.call(t),!0}catch{return!1}},upe=Object.prototype.toString,cpe="[object Number]",hpe=mf(),fpe=function(t){return typeof t=="number"?!0:typeof t!="object"?!1:hpe?lpe(t):upe.call(t)===cpe},HN=Vo,dpe=HN("Boolean.prototype.toString"),ppe=HN("Object.prototype.toString"),mpe=function(t){try{return dpe(t),!0}catch{return!1}},vpe="[object Boolean]",gpe=mf(),ype=function(t){return typeof t=="boolean"?!0:t===null||typeof t!="object"?!1:gpe&&Symbol.toStringTag in t?mpe(t):ppe(t)===vpe},kP={exports:{}},_pe=Object.prototype.toString,bpe=hE();if(bpe){var xpe=Symbol.prototype.toString,wpe=/^Symbol\(.*\)$/,Spe=function(t){return typeof t.valueOf()!="symbol"?!1:wpe.test(xpe.call(t))};kP.exports=function(t){if(typeof t=="symbol")return!0;if(_pe.call(t)!=="[object Symbol]")return!1;try{return Spe(t)}catch{return!1}}}else kP.exports=function(t){return!1};var Tpe=kP.exports,RP={exports:{}},D5=typeof BigInt<"u"&&BigInt,Cpe=function(){return typeof D5=="function"&&typeof BigInt=="function"&&typeof D5(42)=="bigint"&&typeof BigInt(42)=="bigint"},Ppe=Cpe();if(Ppe){var Ape=BigInt.prototype.valueOf,Ipe=function(t){try{return Ape.call(t),!0}catch{}return!1};RP.exports=function(t){return t===null||typeof t>"u"||typeof t=="boolean"||typeof t=="string"||typeof t=="number"||typeof t=="symbol"||typeof t=="function"?!1:typeof t=="bigint"?!0:Ipe(t)}}else RP.exports=function(t){return!1};var Epe=RP.exports,Mpe=EN,Dpe=fpe,Lpe=ype,kpe=Tpe,Rpe=Epe,Ope=function(t){if(t==null||typeof t!="object"&&typeof t!="function")return null;if(Mpe(t))return"String";if(Dpe(t))return"Number";if(Lpe(t))return"Boolean";if(kpe(t))return"Symbol";if(Rpe(t))return"BigInt"},Rb=typeof WeakMap=="function"&&WeakMap.prototype?WeakMap:null,L5=typeof WeakSet=="function"&&WeakSet.prototype?WeakSet:null,Ob;Rb||(Ob=function(t){return!1});var OP=Rb?Rb.prototype.has:null,N2=L5?L5.prototype.has:null;!Ob&&!OP&&(Ob=function(t){return!1});var zpe=Ob||function(t){if(!t||typeof t!="object")return!1;try{if(OP.call(t,OP),N2)try{N2.call(t,N2)}catch{return!0}return t instanceof Rb}catch{}return!1},zP={exports:{}},Bpe=al,UN=Vo,Fpe=Bpe("%WeakSet%",!0),V2=UN("WeakSet.prototype.has",!0);if(V2){var j2=UN("WeakMap.prototype.has",!0);zP.exports=function(t){if(!t||typeof t!="object")return!1;try{if(V2(t,V2),j2)try{j2(t,j2)}catch{return!0}return t instanceof Fpe}catch{}return!1}}else zP.exports=function(t){return!1};var $pe=zP.exports,Npe=DN,Vpe=kN,jpe=zpe,Hpe=$pe,Upe=function(t){if(t&&typeof t=="object"){if(Npe(t))return"Map";if(Vpe(t))return"Set";if(jpe(t))return"WeakMap";if(Hpe(t))return"WeakSet"}return!1},GN=Function.prototype.toString,$d=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,BP,V1;if(typeof $d=="function"&&typeof Object.defineProperty=="function")try{BP=Object.defineProperty({},"length",{get:function(){throw V1}}),V1={},$d(function(){throw 42},null,BP)}catch(e){e!==V1&&($d=null)}else $d=null;var Gpe=/^\s*class\b/,FP=function(t){try{var r=GN.call(t);return Gpe.test(r)}catch{return!1}},H2=function(t){try{return FP(t)?!1:(GN.call(t),!0)}catch{return!1}},j1=Object.prototype.toString,Wpe="[object Object]",qpe="[object Function]",Zpe="[object GeneratorFunction]",Xpe="[object HTMLAllCollection]",Kpe="[object HTML document.all class]",Ype="[object HTMLCollection]",Jpe=typeof Symbol=="function"&&!!Symbol.toStringTag,Qpe=!(0 in[,]),$P=function(){return!1};if(typeof document=="object"){var eme=document.all;j1.call(eme)===j1.call(document.all)&&($P=function(t){if((Qpe||!t)&&(typeof t>"u"||typeof t=="object"))try{var r=j1.call(t);return(r===Xpe||r===Kpe||r===Ype||r===Wpe)&&t("")==null}catch{}return!1})}var tme=$d?function(t){if($P(t))return!0;if(!t||typeof t!="function"&&typeof t!="object")return!1;try{$d(t,null,BP)}catch(r){if(r!==V1)return!1}return!FP(t)&&H2(t)}:function(t){if($P(t))return!0;if(!t||typeof t!="function"&&typeof t!="object")return!1;if(Jpe)return H2(t);if(FP(t))return!1;var r=j1.call(t);return r!==qpe&&r!==Zpe&&!/^\[object HTML/.test(r)?!1:H2(t)},rme=tme,nme=Object.prototype.toString,WN=Object.prototype.hasOwnProperty,ime=function(t,r,n){for(var i=0,a=t.length;i=3&&(i=n),nme.call(t)==="[object Array]"?ime(t,r,i):typeof t=="string"?ame(t,r,i):ome(t,r,i)},lme=sme,ume=["Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"],U2=ume,cme=typeof globalThis>"u"?ay:globalThis,hme=function(){for(var t=[],r=0;r"u"?ay:globalThis,NP=fme(),CE=TE("String.prototype.slice"),G2=Object.getPrototypeOf,pme=TE("Array.prototype.indexOf",!0)||function(t,r){for(var n=0;n-1?r:r!=="Object"?!1:vme(t)}return H1?mme(t):null},yme=Vo,O5=yme("ArrayBuffer.prototype.byteLength",!0),_me=$N,bme=function(t){return _me(t)?O5?O5(t):t.byteLength:NaN},ZN=Jhe,ol=Vo,z5=wfe,xme=al,Pp=zde,wme=AN,B5=Gde,F5=_N,$5=IN,N5=$N,V5=epe,j5=ipe,H5=ope,U5=cE,G5=Ope,W5=Upe,q5=gme,Z5=bme,X5=ol("SharedArrayBuffer.prototype.byteLength",!0),K5=ol("Date.prototype.getTime"),W2=Object.getPrototypeOf,Y5=ol("Object.prototype.toString"),Fb=xme("%Set%",!0),VP=ol("Map.prototype.has",!0),$b=ol("Map.prototype.get",!0),J5=ol("Map.prototype.size",!0),Nb=ol("Set.prototype.add",!0),XN=ol("Set.prototype.delete",!0),Vb=ol("Set.prototype.has",!0),U1=ol("Set.prototype.size",!0);function Q5(e,t,r,n){for(var i=Pp(e),a;(a=i.next())&&!a.done;)if(us(t,a.value,r,n))return XN(e,a.value),!0;return!1}function KN(e){if(typeof e>"u")return null;if(typeof e!="object")return typeof e=="symbol"?!1:typeof e=="string"||typeof e=="number"?+e==+e:!0}function Sme(e,t,r,n,i,a){var o=KN(r);if(o!=null)return o;var s=$b(t,o),c=ZN({},i,{strict:!1});return typeof s>"u"&&!VP(t,o)||!us(n,s,c,a)?!1:!VP(e,o)&&us(n,s,c,a)}function Tme(e,t,r){var n=KN(r);return n??(Vb(t,n)&&!Vb(e,n))}function eO(e,t,r,n,i,a){for(var o=Pp(e),s,c;(s=o.next())&&!s.done;)if(c=s.value,us(r,c,i,a)&&us(n,$b(t,c),i,a))return XN(e,c),!0;return!1}function us(e,t,r,n){var i=r||{};if(i.strict?B5(e,t):e===t)return!0;var a=G5(e),o=G5(t);if(a!==o)return!1;if(!e||!t||typeof e!="object"&&typeof t!="object")return i.strict?B5(e,t):e==t;var s=n.has(e),c=n.has(t),d;if(s&&c){if(n.get(e)===n.get(t))return!0}else d={};return s||n.set(e,d),c||n.set(t,d),Ame(e,t,i,n)}function tO(e){return!e||typeof e!="object"||typeof e.length!="number"||typeof e.copy!="function"||typeof e.slice!="function"||e.length>0&&typeof e[0]!="number"?!1:!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))}function Cme(e,t,r,n){if(U1(e)!==U1(t))return!1;for(var i=Pp(e),a=Pp(t),o,s,c;(o=i.next())&&!o.done;)if(o.value&&typeof o.value=="object")c||(c=new Fb),Nb(c,o.value);else if(!Vb(t,o.value)){if(r.strict||!Tme(e,t,o.value))return!1;c||(c=new Fb),Nb(c,o.value)}if(c){for(;(s=a.next())&&!s.done;)if(s.value&&typeof s.value=="object"){if(!Q5(c,s.value,r.strict,n))return!1}else if(!r.strict&&!Vb(e,s.value)&&!Q5(c,s.value,r.strict,n))return!1;return U1(c)===0}return!0}function Pme(e,t,r,n){if(J5(e)!==J5(t))return!1;for(var i=Pp(e),a=Pp(t),o,s,c,d,m,v;(o=i.next())&&!o.done;)if(d=o.value[0],m=o.value[1],d&&typeof d=="object")c||(c=new Fb),Nb(c,d);else if(v=$b(t,d),typeof v>"u"&&!VP(t,d)||!us(m,v,r,n)){if(r.strict||!Sme(e,t,d,m,r,n))return!1;c||(c=new Fb),Nb(c,d)}if(c){for(;(s=a.next())&&!s.done;)if(d=s.value[0],v=s.value[1],d&&typeof d=="object"){if(!eO(c,e,d,v,r,n))return!1}else if(!r.strict&&(!e.has(d)||!us($b(e,d),v,r,n))&&!eO(c,e,d,v,ZN({},r,{strict:!1}),n))return!1;return U1(c)===0}return!0}function Ame(e,t,r,n){var i,a;if(typeof e!=typeof t||e==null||t==null||Y5(e)!==Y5(t)||F5(e)!==F5(t))return!1;var o=$5(e),s=$5(t);if(o!==s)return!1;var c=e instanceof Error,d=t instanceof Error;if(c!==d||(c||d)&&(e.name!==t.name||e.message!==t.message))return!1;var m=j5(e),v=j5(t);if(m!==v||(m||v)&&(e.source!==t.source||z5(e)!==z5(t)))return!1;var y=V5(e),_=V5(t);if(y!==_||(y||_)&&K5(e)!==K5(t)||r.strict&&W2&&W2(e)!==W2(t))return!1;var S=q5(e),I=q5(t);if(S!==I)return!1;if(S||I){if(e.length!==t.length)return!1;for(i=0;i=0;i--)if(j[i]!=H[i])return!1;for(i=j.length-1;i>=0;i--)if(a=j[i],!us(e[a],t[a],r,n))return!1;var Z=W5(e),Q=W5(t);return Z!==Q?!1:Z==="Set"||Q==="Set"?Cme(e,t,r,n):Z==="Map"?Pme(e,t,r,n):!0}var Ime=function(t,r,n){return us(t,r,n,wme())};const Eme=S8(Ime);var Mme=Object.defineProperty,dn=(e,t)=>Mme(e,"name",{value:t,configurable:!0}),Dme=class{constructor(t){this.direction=!1,this.compareProperties=!0;var r,n,i;this.precision=10**-((r=t==null?void 0:t.precision)!=null?r:17),this.direction=(n=t==null?void 0:t.direction)!=null?n:!1,this.compareProperties=(i=t==null?void 0:t.compareProperties)!=null?i:!0}compare(t,r){if(t.type!==r.type||!tg(t,r))return!1;switch(t.type){case"Point":return this.compareCoord(t.coordinates,r.coordinates);case"LineString":return this.compareLine(t.coordinates,r.coordinates);case"Polygon":return this.comparePolygon(t,r);case"GeometryCollection":return this.compareGeometryCollection(t,r);case"Feature":return this.compareFeature(t,r);case"FeatureCollection":return this.compareFeatureCollection(t,r);default:if(t.type.startsWith("Multi")){const n=jP(t),i=jP(r);return n.every(a=>i.some(o=>this.compare(a,o)))}}return!1}compareCoord(t,r){return t.length===r.length&&t.every((n,i)=>Math.abs(n-r[i])=0&&(n=[].concat(t.slice(i,t.length),t.slice(1,i+1))),n}comparePath(t,r){return t.every((n,i)=>this.compareCoord(n,r[i]))}comparePolygon(t,r){if(this.compareLine(t.coordinates[0],r.coordinates[0],1,!0)){const n=t.coordinates.slice(1,t.coordinates.length),i=r.coordinates.slice(1,r.coordinates.length);return n.every(a=>i.some(o=>this.compareLine(a,o,1,!0)))}return!1}compareGeometryCollection(t,r){return tg(t.geometries,r.geometries)&&this.compareBBox(t,r)&&t.geometries.every((n,i)=>this.compare(n,r.geometries[i]))}compareFeature(t,r){return t.id===r.id&&(this.compareProperties?Eme(t.properties,r.properties):!0)&&this.compareBBox(t,r)&&this.compare(t.geometry,r.geometry)}compareFeatureCollection(t,r){return tg(t.features,r.features)&&this.compareBBox(t,r)&&t.features.every((n,i)=>this.compare(n,r.features[i]))}compareBBox(t,r){return!t.bbox&&!r.bbox||(t.bbox&&r.bbox?this.compareCoord(t.bbox,r.bbox):!1)}};dn(Dme,"GeojsonEquality");function tg(e,t){return e.coordinates?e.coordinates.length===t.coordinates.length:e.length===t.length}dn(tg,"sameLength");function jP(e){return e.coordinates.map(t=>({type:e.type.replace("Multi",""),coordinates:t}))}dn(jP,"explode");var Ya=63710088e-1,YN={centimeters:Ya*100,centimetres:Ya*100,degrees:360/(2*Math.PI),feet:Ya*3.28084,inches:Ya*39.37,kilometers:Ya/1e3,kilometres:Ya/1e3,meters:Ya,metres:Ya,miles:Ya/1609.344,millimeters:Ya*1e3,millimetres:Ya*1e3,nauticalmiles:Ya/1852,radians:1,yards:Ya*1.0936},rO={acres:247105e-9,centimeters:1e4,centimetres:1e4,feet:10.763910417,hectares:1e-4,inches:1550.003100006,kilometers:1e-6,kilometres:1e-6,meters:1,metres:1,miles:386e-9,nauticalmiles:29155334959812285e-23,millimeters:1e6,millimetres:1e6,yards:1.195990046};function Bo(e,t,r={}){const n={type:"Feature"};return(r.id===0||r.id)&&(n.id=r.id),r.bbox&&(n.bbox=r.bbox),n.properties=t||{},n.geometry=e,n}dn(Bo,"feature");function Lme(e,t,r={}){switch(e){case"Point":return Pi(t).geometry;case"LineString":return as(t).geometry;case"Polygon":return PE(t).geometry;case"MultiPoint":return QN(t).geometry;case"MultiLineString":return JN(t).geometry;case"MultiPolygon":return e7(t).geometry;default:throw new Error(e+" is invalid")}}dn(Lme,"geometry");function Pi(e,t,r={}){if(!e)throw new Error("coordinates is required");if(!Array.isArray(e))throw new Error("coordinates must be an Array");if(e.length<2)throw new Error("coordinates must be at least 2 numbers long");if(!Ep(e[0])||!Ep(e[1]))throw new Error("coordinates must contain numbers");return Bo({type:"Point",coordinates:e},t,r)}dn(Pi,"point");function kme(e,t,r={}){return Ap(e.map(n=>Pi(n,t)),r)}dn(kme,"points");function PE(e,t,r={}){for(const i of e){if(i.length<4)throw new Error("Each LinearRing of a Polygon must have 4 or more Positions.");if(i[i.length-1].length!==i[0].length)throw new Error("First and last Position are not equivalent.");for(let a=0;aPE(n,t)),r)}dn(Rme,"polygons");function as(e,t,r={}){if(e.length<2)throw new Error("coordinates must be an array of two or more positions");return Bo({type:"LineString",coordinates:e},t,r)}dn(as,"lineString");function Ome(e,t,r={}){return Ap(e.map(n=>as(n,t)),r)}dn(Ome,"lineStrings");function Ap(e,t={}){const r={type:"FeatureCollection"};return t.id&&(r.id=t.id),t.bbox&&(r.bbox=t.bbox),r.features=e,r}dn(Ap,"featureCollection");function JN(e,t,r={}){return Bo({type:"MultiLineString",coordinates:e},t,r)}dn(JN,"multiLineString");function QN(e,t,r={}){return Bo({type:"MultiPoint",coordinates:e},t,r)}dn(QN,"multiPoint");function e7(e,t,r={}){return Bo({type:"MultiPolygon",coordinates:e},t,r)}dn(e7,"multiPolygon");function zme(e,t,r={}){return Bo({type:"GeometryCollection",geometries:e},t,r)}dn(zme,"geometryCollection");function Bme(e,t=0){if(t&&!(t>=0))throw new Error("precision must be a positive number");const r=Math.pow(10,t||0);return Math.round(e*r)/r}dn(Bme,"round");function AE(e,t="kilometers"){const r=YN[t];if(!r)throw new Error(t+" units is invalid");return e*r}dn(AE,"radiansToLength");function Kx(e,t="kilometers"){const r=YN[t];if(!r)throw new Error(t+" units is invalid");return e/r}dn(Kx,"lengthToRadians");function Fme(e,t){return Ip(Kx(e,t))}dn(Fme,"lengthToDegrees");function $me(e){let t=e%360;return t<0&&(t+=360),t}dn($me,"bearingToAzimuth");function Ip(e){return e%(2*Math.PI)*180/Math.PI}dn(Ip,"radiansToDegrees");function _a(e){return e%360*Math.PI/180}dn(_a,"degreesToRadians");function Nme(e,t="kilometers",r="kilometers"){if(!(e>=0))throw new Error("length must be a positive number");return AE(Kx(e,t),r)}dn(Nme,"convertLength");function Vme(e,t="meters",r="kilometers"){if(!(e>=0))throw new Error("area must be a positive number");const n=rO[t];if(!n)throw new Error("invalid original units");const i=rO[r];if(!i)throw new Error("invalid final units");return e/n*i}dn(Vme,"convertArea");function Ep(e){return!isNaN(e)&&e!==null&&!Array.isArray(e)}dn(Ep,"isNumber");function IE(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)}dn(IE,"isObject");function jme(e){if(!e)throw new Error("bbox is required");if(!Array.isArray(e))throw new Error("bbox must be an Array");if(e.length!==4&&e.length!==6)throw new Error("bbox must be an Array of 4 or 6 numbers");e.forEach(t=>{if(!Ep(t))throw new Error("bbox must only contain numbers")})}dn(jme,"validateBBox");function Hme(e){if(!e)throw new Error("id is required");if(["string","number"].indexOf(typeof e)===-1)throw new Error("id must be a number or a string")}dn(Hme,"validateId");var Ume=Object.defineProperty,_c=(e,t)=>Ume(e,"name",{value:t,configurable:!0});function Ws(e){if(!e)throw new Error("coord is required");if(!Array.isArray(e)){if(e.type==="Feature"&&e.geometry!==null&&e.geometry.type==="Point")return[...e.geometry.coordinates];if(e.type==="Point")return[...e.coordinates]}if(Array.isArray(e)&&e.length>=2&&!Array.isArray(e[0])&&!Array.isArray(e[1]))return[...e];throw new Error("coord must be GeoJSON Point or an Array of numbers")}_c(Ws,"getCoord");function t7(e){if(Array.isArray(e))return e;if(e.type==="Feature"){if(e.geometry!==null)return e.geometry.coordinates}else if(e.coordinates)return e.coordinates;throw new Error("coords must be GeoJSON Feature, Geometry Object or an Array")}_c(t7,"getCoords");function r7(e){if(e.length>1&&Ep(e[0])&&Ep(e[1]))return!0;if(Array.isArray(e[0])&&e[0].length)return r7(e[0]);throw new Error("coordinates must only contain numbers")}_c(r7,"containsNumber");function Gme(e,t,r){if(!t||!r)throw new Error("type and name required");if(!e||e.type!==t)throw new Error("Invalid input to "+r+": must be a "+t+", given "+e.type)}_c(Gme,"geojsonType");function Wme(e,t,r){if(!e)throw new Error("No feature passed");if(!r)throw new Error(".featureOf() requires a name");if(!e||e.type!=="Feature"||!e.geometry)throw new Error("Invalid input to "+r+", Feature with geometry required");if(!e.geometry||e.geometry.type!==t)throw new Error("Invalid input to "+r+": must be a "+t+", given "+e.geometry.type)}_c(Wme,"featureOf");function qme(e,t,r){if(!e)throw new Error("No featureCollection passed");if(!r)throw new Error(".collectionOf() requires a name");if(!e||e.type!=="FeatureCollection")throw new Error("Invalid input to "+r+", FeatureCollection required");for(const n of e.features){if(!n||n.type!=="Feature"||!n.geometry)throw new Error("Invalid input to "+r+", Feature with geometry required");if(!n.geometry||n.geometry.type!==t)throw new Error("Invalid input to "+r+": must be a "+t+", given "+n.geometry.type)}}_c(qme,"collectionOf");function Zme(e){return e.type==="Feature"?e.geometry:e}_c(Zme,"getGeom");function Xme(e,t){return e.type==="FeatureCollection"?"FeatureCollection":e.type==="GeometryCollection"?"GeometryCollection":e.type==="Feature"&&e.geometry!==null?e.geometry.type:e.type}_c(Xme,"getType");var Kme=Object.defineProperty,n7=(e,t)=>Kme(e,"name",{value:t,configurable:!0});function EE(e,t,r={}){if(r.final===!0)return i7(e,t);const n=Ws(e),i=Ws(t),a=_a(n[0]),o=_a(i[0]),s=_a(n[1]),c=_a(i[1]),d=Math.sin(o-a)*Math.cos(c),m=Math.cos(s)*Math.sin(c)-Math.sin(s)*Math.cos(c)*Math.cos(o-a);return Ip(Math.atan2(d,m))}n7(EE,"bearing");function i7(e,t){let r=EE(t,e);return r=(r+180)%360,r}n7(i7,"calculateFinalBearing");var Yme=Object.defineProperty,Jme=(e,t)=>Yme(e,"name",{value:t,configurable:!0});function HP(e,t,r,n={}){const i=Ws(e),a=_a(i[0]),o=_a(i[1]),s=_a(r),c=Kx(t,n.units),d=Math.asin(Math.sin(o)*Math.cos(c)+Math.cos(o)*Math.sin(c)*Math.cos(s)),m=a+Math.atan2(Math.sin(s)*Math.sin(c)*Math.cos(o),Math.cos(c)-Math.sin(o)*Math.sin(d)),v=Ip(m),y=Ip(d);return Pi([v,y],n.properties)}Jme(HP,"destination");var Qme=Object.defineProperty,eve=(e,t)=>Qme(e,"name",{value:t,configurable:!0});function Hu(e,t,r={}){var n=Ws(e),i=Ws(t),a=_a(i[1]-n[1]),o=_a(i[0]-n[0]),s=_a(n[1]),c=_a(i[1]),d=Math.pow(Math.sin(a/2),2)+Math.pow(Math.sin(o/2),2)*Math.cos(s)*Math.cos(c);return AE(2*Math.atan2(Math.sqrt(d),Math.sqrt(1-d)),r.units)}eve(Hu,"distance");var tve=Object.defineProperty,a7=(e,t)=>tve(e,"name",{value:t,configurable:!0});function o7(e,t,r={}){let n;return r.final?n=UP(Ws(t),Ws(e)):n=UP(Ws(e),Ws(t)),n>180?-(360-n):n}a7(o7,"rhumbBearing");function UP(e,t){const r=_a(e[1]),n=_a(t[1]);let i=_a(t[0]-e[0]);i>Math.PI&&(i-=2*Math.PI),i<-Math.PI&&(i+=2*Math.PI);const a=Math.log(Math.tan(n/2+Math.PI/4)/Math.tan(r/2+Math.PI/4)),o=Math.atan2(i,a);return(Ip(o)+360)%360}a7(UP,"calculateRhumbBearing");var rve=Object.defineProperty,ji=(e,t)=>rve(e,"name",{value:t,configurable:!0});function Uy(e,t,r){if(e!==null)for(var n,i,a,o,s,c,d,m=0,v=0,y,_=e.type,S=_==="FeatureCollection",I=_==="Feature",E=S?e.features.length:1,M=0;Mc||S>d||I>m){s=v,c=n,d=S,m=I,a=0;return}var E=as([s,v],r.properties);if(t(E,n,i,I,a)===!1)return!1;a++,s=v})===!1)return!1}}})}ji(l7,"segmentEach");function u7(e,t,r){var n=r,i=!1;return l7(e,function(a,o,s,c,d){i===!1&&r===void 0?n=a:n=t(n,a,o,s,c,d),i=!0}),n}ji(u7,"segmentReduce");function c7(e,t){if(!e)throw new Error("geojson is required");Gy(e,function(r,n,i){if(r.geometry!==null){var a=r.geometry.type,o=r.geometry.coordinates;switch(a){case"LineString":if(t(r,n,i,0,0)===!1)return!1;break;case"Polygon":for(var s=0;s0)for(let n=(this.length>>1)-1;n>=0;n--)this._down(n)}push(t){this.data.push(t),this.length++,this._up(this.length-1)}pop(){if(this.length===0)return;const t=this.data[0],r=this.data.pop();return this.length--,this.length>0&&(this.data[0]=r,this._down(0)),t}peek(){return this.data[0]}_up(t){const{data:r,compare:n}=this,i=r[t];for(;t>0;){const a=t-1>>1,o=r[a];if(n(i,o)>=0)break;r[t]=o,t=a}r[t]=i}_down(t){const{data:r,compare:n}=this,i=this.length>>1,a=r[t];for(;t=0)break;r[t]=s,t=o}r[t]=a}}function fve(e,t){return et?1:0}function f7(e,t){return e.p.x>t.p.x?1:e.p.xt.p.y?1:-1:1}function dve(e,t){return e.rightSweepEvent.p.x>t.rightSweepEvent.p.x?1:e.rightSweepEvent.p.x0?(m.isLeftEndpoint=!0,d.isLeftEndpoint=!1):(d.isLeftEndpoint=!0,m.isLeftEndpoint=!1),t.push(d),t.push(m),o=s,L0=L0+1}}M0=M0+1}class mve{constructor(t){this.leftSweepEvent=t,this.rightSweepEvent=t.otherEvent}}function vve(e,t){if(e===null||t===null||e.leftSweepEvent.ringId===t.leftSweepEvent.ringId&&(e.rightSweepEvent.isSamePoint(t.leftSweepEvent)||e.rightSweepEvent.isSamePoint(t.leftSweepEvent)||e.rightSweepEvent.isSamePoint(t.rightSweepEvent)||e.leftSweepEvent.isSamePoint(t.leftSweepEvent)||e.leftSweepEvent.isSamePoint(t.rightSweepEvent)))return!1;const r=e.leftSweepEvent.p.x,n=e.leftSweepEvent.p.y,i=e.rightSweepEvent.p.x,a=e.rightSweepEvent.p.y,o=t.leftSweepEvent.p.x,s=t.leftSweepEvent.p.y,c=t.rightSweepEvent.p.x,d=t.rightSweepEvent.p.y,m=(d-s)*(i-r)-(c-o)*(a-n),v=(c-o)*(n-s)-(d-s)*(r-o),y=(i-r)*(n-s)-(a-n)*(r-o);if(m===0)return!1;const _=v/m,S=y/m;if(_>=0&&_<=1&&S>=0&&S<=1){const I=r+_*(i-r),E=n+_*(a-n);return[I,E]}return!1}function gve(e,t){t=t||!1;const r=[],n=new h7([],dve);for(;e.length;){const i=e.pop();if(i.isLeftEndpoint){const a=new mve(i);for(let o=0;o_ve(e,"name",{value:t,configurable:!0}),xve=yve;function d7(e,t,r={}){const{removeDuplicates:n=!0,ignoreSelfIntersections:i=!1}=r;let a=[];e.type==="FeatureCollection"?a=a.concat(e.features):e.type==="Feature"?a.push(e):(e.type==="LineString"||e.type==="Polygon"||e.type==="MultiLineString"||e.type==="MultiPolygon")&&a.push(Bo(e)),t.type==="FeatureCollection"?a=a.concat(t.features):t.type==="Feature"?a.push(t):(t.type==="LineString"||t.type==="Polygon"||t.type==="MultiLineString"||t.type==="MultiPolygon")&&a.push(Bo(t));const o=xve(Ap(a),i);let s=[];if(n){const c={};o.forEach(d=>{const m=d.join(",");c[m]||(c[m]=!0,s.push(d))})}else s=o;return Ap(s.map(c=>Pi(c)))}bve(d7,"lineIntersect");var p7=Object.defineProperty,wve=Object.defineProperties,Sve=Object.getOwnPropertyDescriptors,aO=Object.getOwnPropertySymbols,Tve=Object.prototype.hasOwnProperty,Cve=Object.prototype.propertyIsEnumerable,oO=(e,t,r)=>t in e?p7(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,eh=(e,t)=>{for(var r in t||(t={}))Tve.call(t,r)&&oO(e,r,t[r]);if(aO)for(var r of aO(t))Cve.call(t,r)&&oO(e,r,t[r]);return e},th=(e,t)=>wve(e,Sve(t)),Pve=(e,t)=>p7(e,"name",{value:t,configurable:!0});function Fs(e,t,r={}){if(!e||!t)throw new Error("lines and pt are required arguments");let n=Pi([1/0,1/0],{dist:1/0,index:-1,location:-1}),i=0;return Gy(e,function(a){const o=t7(a);for(let s=0;s0&&I.features[0]&&(E=th(eh({},I.features[0]),{properties:{dist:Hu(t,I.features[0],r),location:i+Hu(c,I.features[0],r)}})),c.properties.distAve(e,"name",{value:t,configurable:!0});function m7(e){if(!e)throw new Error("geojson is required");switch(e.type){case"Feature":return LE(e);case"FeatureCollection":return v7(e);case"Point":case"LineString":case"Polygon":case"MultiPoint":case"MultiLineString":case"MultiPolygon":case"GeometryCollection":return Yx(e);default:throw new Error("unknown GeoJSON type")}}Kp(m7,"clone");function LE(e){const t={type:"Feature"};return Object.keys(e).forEach(r=>{switch(r){case"type":case"properties":case"geometry":return;default:t[r]=e[r]}}),t.properties=kE(e.properties),e.geometry==null?t.geometry=null:t.geometry=Yx(e.geometry),t}Kp(LE,"cloneFeature");function kE(e){const t={};return e&&Object.keys(e).forEach(r=>{const n=e[r];typeof n=="object"?n===null?t[r]=null:Array.isArray(n)?t[r]=n.map(i=>i):t[r]=kE(n):t[r]=n}),t}Kp(kE,"cloneProperties");function v7(e){const t={type:"FeatureCollection"};return Object.keys(e).forEach(r=>{switch(r){case"type":case"features":return;default:t[r]=e[r]}}),t.features=e.features.map(r=>LE(r)),t}Kp(v7,"cloneFeatureCollection");function Yx(e){const t={type:e.type};return e.bbox&&(t.bbox=e.bbox),e.type==="GeometryCollection"?(t.geometries=e.geometries.map(r=>Yx(r)),t):(t.coordinates=RE(e.coordinates),t)}Kp(Yx,"cloneGeometry");function RE(e){const t=e;return typeof t[0]!="object"?t.slice():t.map(r=>RE(r))}Kp(RE,"deepSlice");var Ive=Object.defineProperty,Eve=(e,t)=>Ive(e,"name",{value:t,configurable:!0});function $s(e,t={}){return u7(e,(r,n)=>{const i=n.geometry.coordinates;return r+Hu(i[0],i[1],t)},0)}Eve($s,"length");var g7=Object.defineProperty,Mve=Object.defineProperties,Dve=Object.getOwnPropertyDescriptors,sO=Object.getOwnPropertySymbols,Lve=Object.prototype.hasOwnProperty,kve=Object.prototype.propertyIsEnumerable,lO=(e,t,r)=>t in e?g7(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,uO=(e,t)=>{for(var r in t||(t={}))Lve.call(t,r)&&lO(e,r,t[r]);if(sO)for(var r of sO(t))kve.call(t,r)&&lO(e,r,t[r]);return e},cO=(e,t)=>Mve(e,Dve(t)),Rve=(e,t)=>g7(e,"name",{value:t,configurable:!0});function GP(e,t,r={}){if(!e)throw new Error("targetPoint is required");if(!t)throw new Error("points is required");let n=1/0,i=0;ME(t,(o,s)=>{const c=Hu(e,o,r);c({map_style_url:"https://bus.sustcra.com/static/osm-style/osm-bright.json",map_text_colour:"#000000",bus_location_data_api:[],bus_location_data_display:[],bus_plate_hash:{298:{plate:"粤BDF298"},363:{plate:"粤BDF363"},8040:{plate:"粤BDF040"},8147:{plate:"粤BDF147"},8267:{plate:"粤BDF267"},8330:{plate:"粤BDF330"},8335:{plate:"粤BDF335"},8338:{plate:"粤BDF338"},8345:{plate:"粤BDF345"},8365:{plate:"粤BDF365"},8371:{plate:"粤BDF371"},8411:{plate:"粤BDF411"},8421:{plate:"粤BDF421"},8430:{plate:"粤BDF430"},8447:{plate:"粤BDE447"},8458:{plate:"粤BDF458"},8470:{plate:"粤BDF470"},8471:{plate:"粤BDF471"},18447:{plate:"粤BDF447"}},geojson_line_1:[[113.99739584160139,22.610765716856296],[113.99773288526481,22.610577804306548],[113.99824514560808,22.609808813574297],[113.99899240486543,22.608186143427105],[113.99899684055141,22.608138484311375],[113.99876376465981,22.606584405046835],[113.9987454049567,22.606539955896604],[113.9983737643716,22.606046923598996],[113.99771305207776,22.60586005946536],[113.996462081496,22.60628164325351],[113.99540699384544,22.60655007340282],[113.99537457846512,22.606374521317747],[113.99533345805837,22.60631869878032],[113.99491868014185,22.60615102642152],[113.99446803578164,22.605922922486105],[113.993628105381,22.605432281601264],[113.99361283376653,22.605399929510398],[113.99427914343141,22.604297776694622],[113.99455101208882,22.604066349285663],[113.99481121659123,22.60381079129223],[113.99549648383878,22.60304833084697],[113.99570726599393,22.60298417975627],[113.99623267681147,22.60298349183956],[113.99686127008054,22.603078201644227],[113.9977201426685,22.603401409146592],[113.99788215074415,22.603408536156227],[113.99794417914393,22.60338145776082],[113.9980463074806,22.603268395934986],[113.99816665521513,22.602614977726315],[113.99835030416712,22.60216721735362],[113.99856193554633,22.601842951121434],[113.99881928525701,22.6015215956419],[113.9988344317295,22.601194082723367],[113.99895072783376,22.600790214181995],[113.9990602569799,22.600602634774226],[113.99921879840926,22.600476730796977],[113.99919877407567,22.60043325336671],[113.99802751236375,22.600038565633355],[113.99775839514615,22.599792681543633],[113.99730187808832,22.598960946075003],[113.99590977592047,22.5977773063799],[113.99576459924215,22.59751983095157],[113.99543299558397,22.59717440812865],[113.9951938686417,22.5966914370548],[113.99501583215859,22.59639577584673],[113.99463229185628,22.596104860560743],[113.99420385593578,22.595969591352997],[113.99378584507669,22.595967937443213],[113.99320018866534,22.59621976224022],[113.99265363550316,22.596738860232236],[113.99200633643709,22.59716671060916],[113.99157366427197,22.5971462468509],[113.99088482201618,22.596941863390235],[113.99038484213679,22.596998494112995],[113.99032102143205,22.597043977909916],[113.99019829041364,22.59753578294312],[113.99030286538937,22.59863964935582],[113.99048378356784,22.59907317753902],[113.99052006299269,22.59911721823263],[113.99075599101839,22.599276010611053],[113.99126127611241,22.599535900836155],[113.9917686585336,22.6000105337692],[113.99191211157755,22.60053218120178],[113.99183362959826,22.601016496848214],[113.99144872111891,22.60153952301182],[113.99077751816642,22.602118998056795],[113.99043902651476,22.60239072790739],[113.99010219314502,22.60332391993846]],geojson_line_2:[[113.9973489079054,22.61067741494136],[113.9976555155949,22.61051444868976],[113.9981618912118,22.60975341767644],[113.9988979465801,22.60815331611633],[113.9986648706885,22.60659923685179],[113.9983207115444,22.60613169032316],[113.9977156537446,22.60596002561628],[113.9964905851169,22.6063775771138],[113.9953277666447,22.60667341560261],[113.995278497141,22.60640224097063],[113.9934784038899,22.60548092977822],[113.99386414857948,22.604784676421257],[113.99419945106074,22.60426804504929],[113.99385306765333,22.603677155592816],[113.99298710913483,22.60350336409337],[113.99279885728298,22.603280910653833],[113.99233952276445,22.60296808489611],[113.99204584987558,22.60262745159568],[113.9915262747645,22.601612498395962],[113.9917196221943,22.601431625928],[113.9919172423369,22.60102266627295],[113.9920105698998,22.6005318195689],[113.9918969233072,22.59993661748595],[113.9914596783045,22.59960492109923]],gate_geojson:{},stations_geojson:{type:"FeatureCollection",features:[{type:"Feature",geometry:{type:"Point",coordinates:[113.9902,22.60336]},properties:{name:"工学院 COE"}},{type:"Feature",geometry:{type:"Point",coordinates:[113.99153,22.599643]},properties:{name:"科研楼 Research Building"}},{type:"Feature",geometry:{type:"Point",coordinates:[113.990399,22.597132]},properties:{name:"七号门 Gate7"}},{type:"Feature",geometry:{type:"Point",coordinates:[113.992403,22.597011]},properties:{name:"行政楼 Administration Building"}},{type:"Feature",geometry:{type:"Point",coordinates:[113.9944,22.59618]},properties:{name:"1号门 Gate1 (下行DN)"}},{type:"Feature",geometry:{type:"Point",coordinates:[113.99381,22.59604]},properties:{name:"1号门 Gate1 (上行UP)"}},{type:"Feature",geometry:{type:"Point",coordinates:[113.99585,22.59788]},properties:{name:"2号门 Gate2"}},{type:"Feature",geometry:{type:"Point",coordinates:[113.99878,22.60041]},properties:{name:"3号门 Gate3"}},{type:"Feature",geometry:{type:"Point",coordinates:[113.998329,22.601975]},properties:{name:"专家公寓 Guest Houses"}},{type:"Feature",geometry:{type:"Point",coordinates:[113.997811,22.603325]},properties:{name:"教工餐厅 Faculty Cafeteria"}},{type:"Feature",geometry:{type:"Point",coordinates:[113.995981,22.60293]},properties:{name:"社康中心 C.Health.Center"}},{type:"Feature",geometry:{type:"Point",coordinates:[113.993824,22.604854]},properties:{name:"学生宿舍 Stu. Dormitories"}},{type:"Feature",geometry:{type:"Point",coordinates:[113.995238,22.606518]},properties:{name:"荔园 Lychee Hill"}},{type:"Feature",geometry:{type:"Point",coordinates:[113.996732,22.606278]},properties:{name:"创园 Chuang Yuan"}},{type:"Feature",geometry:{type:"Point",coordinates:[113.998372,22.606102]},properties:{name:"慧园 Hui Yuan"}},{type:"Feature",geometry:{type:"Point",coordinates:[113.997473,22.610667]},properties:{name:"欣园 Joy Highland"}}]},bus_marker_arr:[],map:[],time_difference:0,timer:{}}),async created(){const e=await Lr.get("https://bus.sustcra.com/geojson/sustech_bldg.json");this.bldg_geojson=e.data;const t=await Lr.get("https://bus.sustcra.com/geojson/sustech_gate.json");this.gate_geojson=t.data,console.log("Fetch geojson of sustech complete")},methods:{async fetch_bus(){const e=await Lr.get("https://bus.sustcra.com/api/v2/monitor_osm/");this.bus_location_data_api=e.data;const t=new Date;console.log("bus location data fetched at "+parseInt(t.getTime()/1e3)),typeof this.bus_location_data_api[0].time_mt<"u"&&(this.time_difference=parseInt(t.getTime()/1e3-this.bus_location_data_api[0].time_mt),console.log("The clock drift is "+this.time_difference+" seconds")),this.update_location()},calculateBusAngle(e,t,r,n){const i=Pi([t,e]),a=Pi([n,r]);return o7(i,a)},findNearestPointOnSegment(e,t,r){const n=e[0]-t[0],i=e[1]-t[1],a=r[0]-t[0],o=r[1]-t[1],s=n*a+i*o,c=a*a+o*o,d=c!==0?s/c:-1;let m,v;return d<0?(m=t[0],v=t[1]):d>1?(m=r[0],v=r[1]):(m=t[0]+d*a,v=t[1]+d*o),[m,v]},findNearestSegment(e,t){let r=t[0],n=t[1],i=Number.MAX_VALUE;for(let a=0;ae.remove()),this.bus_marker_arr=[];for(let e=0;e + 粤B${e.id.slice(2)} + +

+ ${e.speed} km/h +

+

+ Line ${e.route_code.slice(-1)} 号线 +

+

+ To往: ${t} +

+

+ 下站: ${e.next_station_string} +

+ `;return new js.Popup({offset:20}).setHTML(i)},async refresh(){await this.fetch_bus()}},async mounted(){const e={lng:113.99373,lat:22.60308,zoom:14},t={bus_location_data:this.bus_location_data,geojson_line_1:this.geojson_line_1,geojson_line_2:this.geojson_line_2},r=window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches;window.matchMedia&&window.matchMedia("(prefers-color-scheme: light)").matches,await r&&(console.log("dark mode enabled."),this.map_text_colour="#FFFFFF",this.map_style_url="https://bus.sustcra.com/static/osm-style/osm-blue.json"),this.map=new js.Map({container:this.$refs.myMap,style:this.map_style_url,center:[e.lng,e.lat],zoom:e.zoom});var n=new js.NavigationControl;this.map.addControl(n,"top-left"),this.map.addControl(new js.FullscreenControl,"top-left");class i{onAdd(d){this._map=d,this._container=document.createElement("div"),this._container.className="maplibregl-ctrl maplibregl-ctrl-group mapboxgl-ctrl mapboxgl-ctrl-group";const m=this._createButton("interaction-lock");return this._container.appendChild(m),m.click(),this._container}onRemove(){this._container.parentNode.removeChild(this._container),this._map=void 0}_createButton(d){const m=window.document.createElement("button");return m.className=d,m.isInteractionEnabled=!0,m.addEventListener("click",v=>{m.isInteractionEnabled=!m.isInteractionEnabled,m.isInteractionEnabled?(this._map.dragPan.enable(),this._map.boxZoom.enable(),this._map.doubleClickZoom.enable(),this._map.touchZoomRotate.enable(),this._map.scrollZoom.enable(),m.innerHTML=''):(this._map.dragPan.disable(),this._map.boxZoom.disable(),this._map.doubleClickZoom.disable(),this._map.touchZoomRotate.disable(),this._map.scrollZoom.disable(),m.innerHTML=''),v.preventDefault(),v.stopPropagation()},!1),m}}const a=new i;this.map.addControl(a,"top-left");class o{onAdd(d){this.map=d,this.container=document.createElement("div"),this.container.className="maplibregl-ctrl maplibregl-ctrl-group",this.container.style.marginLeft="10px",this.container.style.marginBottom="10px";const m=document.createElement("button");return m.className="maplibregl-ctrl-icon",m.innerHTML="🌍",m.onclick=()=>{this.map.getLayoutProperty("raster-layer","visibility")==="visible"?this.map.setLayoutProperty("raster-layer","visibility","none"):this.map.setLayoutProperty("raster-layer","visibility","visible")},this.container.appendChild(m),this.container}onRemove(){this.container.parentNode.removeChild(this.container),this.map=void 0}}const s=new o;this.map.addControl(new js.GeolocateControl({positionOptions:{enableHighAccuracy:!0},trackUserLocation:!0,showUserHeading:!0}),"top-right"),this.map.addControl(s,"top-right"),this.map.on("load",()=>{this.map.addSource("raster-tiles",{type:"raster",tiles:["https://google-proxy.zuzuche.com/vt/?lyrs=s&x={x}&y={y}&z={z}"],tileSize:256}),this.map.addLayer({id:"raster-layer",type:"raster",source:"raster-tiles",layout:{visibility:"none"},minzoom:0,maxzoom:22}),this.map.addSource("line1",{type:"geojson",data:{type:"Feature",properties:{},geometry:{type:"LineString",coordinates:t.geojson_line_1}}}),this.map.addSource("line2",{type:"geojson",data:{type:"Feature",properties:{},geometry:{type:"LineString",coordinates:t.geojson_line_2}}}),this.map.addLayer({id:"line1",type:"line",source:"line1",layout:{"line-join":"round","line-cap":"round"},paint:{"line-color":"#f7911d","line-width":3}}),this.map.addLayer({id:"line2",type:"line",source:"line2",layout:{"line-join":"round","line-cap":"round"},paint:{"line-color":"#29abe2","line-width":3}});function c(d){return fetch(d).then(m=>m.blob()).then(m=>new Promise((v,y)=>{const _=new Image,S=URL.createObjectURL(m);_.onload=()=>{URL.revokeObjectURL(S),v(_)},_.onerror=()=>{URL.revokeObjectURL(S),y(new Error("Could not load image"))},_.src=S}))}Promise.all([c("https://bus.sustcra.com/station_icon.png"),c("https://bus.sustcra.com/bldg_icon.png"),c("https://bus.sustcra.com/gate_icon.png")]).then(d=>{this.map.addImage("bus-station",d[0]),this.map.addImage("bldg-icon",d[1]),this.map.addImage("gate-icon",d[2]),this.map.addSource("stations",{type:"geojson",data:this.stations_geojson}),this.map.addSource("bldgs",{type:"geojson",data:this.bldg_geojson}),this.map.addSource("gates",{type:"geojson",data:this.gate_geojson}),this.map.addLayer({id:"bus-station",type:"symbol",source:"stations",layout:{"icon-size":.075,"icon-image":"bus-station","text-field":["get","name"],"text-size":10,"text-offset":[0,1.25],"text-anchor":"top"},paint:{"text-color":this.map_text_colour},filter:["==","$type","Point"]}),this.map.addLayer({id:"bldgs",type:"symbol",source:"bldgs",layout:{"icon-size":.02,"icon-image":"bldg-icon","text-field":["get","name"],"text-size":9,"text-offset":[0,.3],"text-anchor":"top"},paint:{"text-color":this.map_text_colour},filter:["==","$type","Point"]}),this.map.addLayer({id:"gates",type:"symbol",source:"gates",layout:{"icon-size":.05,"icon-image":"gate-icon","text-field":["get","name"],"text-size":10,"text-offset":[0,.6],"text-anchor":"top"},paint:{"text-color":this.map_text_colour},filter:["==","$type","Point"]})}).catch(d=>{console.error("Error loading images:",d)})}),await this.fetch_bus(),this.timer=setInterval(()=>{this.refresh()},5e3)},async unmounted(){clearInterval(this.timer)}},zve={class:"map-container",ref:"myMap"};function Bve(e,t,r,n,i,a){return et(),Tt(Er,null,[It("div",zve,null,512),It("span",null,"Time drift: "+mr(e.time_difference)+" sec.",1)],64)}const Fve=Ir(Ove,[["render",Bve],["__scopeId","data-v-f131c70b"],["__file","RealtimeMap.vue"]]),$ve={name:"MyMap",data:()=>({map_style_url:"https://mirrors.sustech.edu.cn/osm-tile/styles/osm-bright/style.json",map_text_colour:"#000000",bus_location_data_api:[],bus_location_data_display:[],bus_plate_hash:{298:{plate:"粤BDF298"},363:{plate:"粤BDF363"},8040:{plate:"粤BDF040"},8147:{plate:"粤BDF147"},8267:{plate:"粤BDF267"},8330:{plate:"粤BDF330"},8335:{plate:"粤BDF335"},8338:{plate:"粤BDF338"},8345:{plate:"粤BDF345"},8365:{plate:"粤BDF365"},8371:{plate:"粤BDF371"},8411:{plate:"粤BDF411"},8421:{plate:"粤BDF421"},8430:{plate:"粤BDF430"},8447:{plate:"粤BDE447"},8458:{plate:"粤BDF458"},8470:{plate:"粤BDF470"},8471:{plate:"粤BDF471"},18447:{plate:"粤BDF447"}},geojson_line_1:[[113.99739584160139,22.610765716856296],[113.99773288526481,22.610577804306548],[113.99824514560808,22.609808813574297],[113.99899240486543,22.608186143427105],[113.99899684055141,22.608138484311375],[113.99876376465981,22.606584405046835],[113.9987454049567,22.606539955896604],[113.9983737643716,22.606046923598996],[113.99771305207776,22.60586005946536],[113.996462081496,22.60628164325351],[113.99540699384544,22.60655007340282],[113.99537457846512,22.606374521317747],[113.99533345805837,22.60631869878032],[113.99491868014185,22.60615102642152],[113.99446803578164,22.605922922486105],[113.993628105381,22.605432281601264],[113.99361283376653,22.605399929510398],[113.99427914343141,22.604297776694622],[113.99455101208882,22.604066349285663],[113.99481121659123,22.60381079129223],[113.99549648383878,22.60304833084697],[113.99570726599393,22.60298417975627],[113.99623267681147,22.60298349183956],[113.99686127008054,22.603078201644227],[113.9977201426685,22.603401409146592],[113.99788215074415,22.603408536156227],[113.99794417914393,22.60338145776082],[113.9980463074806,22.603268395934986],[113.99816665521513,22.602614977726315],[113.99835030416712,22.60216721735362],[113.99856193554633,22.601842951121434],[113.99881928525701,22.6015215956419],[113.9988344317295,22.601194082723367],[113.99895072783376,22.600790214181995],[113.9990602569799,22.600602634774226],[113.99921879840926,22.600476730796977],[113.99919877407567,22.60043325336671],[113.99802751236375,22.600038565633355],[113.99775839514615,22.599792681543633],[113.99730187808832,22.598960946075003],[113.99590977592047,22.5977773063799],[113.99576459924215,22.59751983095157],[113.99543299558397,22.59717440812865],[113.9951938686417,22.5966914370548],[113.99501583215859,22.59639577584673],[113.99463229185628,22.596104860560743],[113.99420385593578,22.595969591352997],[113.99378584507669,22.595967937443213],[113.99320018866534,22.59621976224022],[113.99265363550316,22.596738860232236],[113.99200633643709,22.59716671060916],[113.99157366427197,22.5971462468509],[113.99088482201618,22.596941863390235],[113.99038484213679,22.596998494112995],[113.99032102143205,22.597043977909916],[113.99019829041364,22.59753578294312],[113.99030286538937,22.59863964935582],[113.99048378356784,22.59907317753902],[113.99052006299269,22.59911721823263],[113.99075599101839,22.599276010611053],[113.99126127611241,22.599535900836155],[113.9917686585336,22.6000105337692],[113.99191211157755,22.60053218120178],[113.99183362959826,22.601016496848214],[113.99144872111891,22.60153952301182],[113.99077751816642,22.602118998056795],[113.99043902651476,22.60239072790739],[113.99010219314502,22.60332391993846]],geojson_line_2:[[113.9973489079054,22.61067741494136],[113.9976555155949,22.61051444868976],[113.9981618912118,22.60975341767644],[113.9988979465801,22.60815331611633],[113.9986648706885,22.60659923685179],[113.9983207115444,22.60613169032316],[113.9977156537446,22.60596002561628],[113.9964905851169,22.6063775771138],[113.9953277666447,22.60667341560261],[113.995278497141,22.60640224097063],[113.9934784038899,22.60548092977822],[113.99386414857948,22.604784676421257],[113.99419945106074,22.60426804504929],[113.99385306765333,22.603677155592816],[113.99298710913483,22.60350336409337],[113.99279885728298,22.603280910653833],[113.99233952276445,22.60296808489611],[113.99204584987558,22.60262745159568],[113.9915262747645,22.601612498395962],[113.9917196221943,22.601431625928],[113.9919172423369,22.60102266627295],[113.9920105698998,22.6005318195689],[113.9918969233072,22.59993661748595],[113.9914596783045,22.59960492109923]],gate_geojson:{},stations_geojson:{type:"FeatureCollection",features:[{type:"Feature",geometry:{type:"Point",coordinates:[113.9902,22.60336]},properties:{name:"工学院 COE"}},{type:"Feature",geometry:{type:"Point",coordinates:[113.99153,22.599643]},properties:{name:"科研楼 Research Building"}},{type:"Feature",geometry:{type:"Point",coordinates:[113.990399,22.597132]},properties:{name:"七号门 Gate7"}},{type:"Feature",geometry:{type:"Point",coordinates:[113.992403,22.597011]},properties:{name:"行政楼 Administration Building"}},{type:"Feature",geometry:{type:"Point",coordinates:[113.9944,22.59618]},properties:{name:"1号门 Gate1 (下行DN)"}},{type:"Feature",geometry:{type:"Point",coordinates:[113.99381,22.59604]},properties:{name:"1号门 Gate1 (上行UP)"}},{type:"Feature",geometry:{type:"Point",coordinates:[113.99585,22.59788]},properties:{name:"2号门 Gate2"}},{type:"Feature",geometry:{type:"Point",coordinates:[113.99878,22.60041]},properties:{name:"3号门 Gate3"}},{type:"Feature",geometry:{type:"Point",coordinates:[113.998329,22.601975]},properties:{name:"专家公寓 Guest Houses"}},{type:"Feature",geometry:{type:"Point",coordinates:[113.997811,22.603325]},properties:{name:"教工餐厅 Faculty Cafeteria"}},{type:"Feature",geometry:{type:"Point",coordinates:[113.995981,22.60293]},properties:{name:"社康中心 C.Health.Center"}},{type:"Feature",geometry:{type:"Point",coordinates:[113.993824,22.604854]},properties:{name:"学生宿舍 Stu. Dormitories"}},{type:"Feature",geometry:{type:"Point",coordinates:[113.995238,22.606518]},properties:{name:"荔园 Lychee Hill"}},{type:"Feature",geometry:{type:"Point",coordinates:[113.996732,22.606278]},properties:{name:"创园 Chuang Yuan"}},{type:"Feature",geometry:{type:"Point",coordinates:[113.998372,22.606102]},properties:{name:"慧园 Hui Yuan"}},{type:"Feature",geometry:{type:"Point",coordinates:[113.997473,22.610667]},properties:{name:"欣园 Joy Highland"}}]},bus_marker_arr:[],map:[],time_difference:0,timer:{}}),async created(){const e=await Lr.get("https://bus.sustcra.com/geojson/sustech_bldg.json");this.bldg_geojson=e.data;const t=await Lr.get("https://bus.sustcra.com/geojson/sustech_gate.json");this.gate_geojson=t.data,console.log("Fetch geojson of sustech complete")},methods:{},async mounted(){const e={lng:113.99373,lat:22.60308,zoom:14},t={bus_location_data:this.bus_location_data,geojson_line_1:this.geojson_line_1,geojson_line_2:this.geojson_line_2},r=window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches;window.matchMedia&&window.matchMedia("(prefers-color-scheme: light)").matches,await r&&(console.log("dark mode enabled."),this.map_text_colour="#FFFFFF",this.map_style_url="https://mirrors.sustech.edu.cn/osm-tile/styles/osm-blue/style.json"),this.map=new js.Map({container:this.$refs.myMap,style:this.map_style_url,center:[e.lng,e.lat],zoom:e.zoom});var n=new js.NavigationControl;this.map.addControl(n,"top-left"),this.map.addControl(new js.FullscreenControl,"top-left");class i{onAdd(d){this._map=d,this._container=document.createElement("div"),this._container.className="maplibregl-ctrl maplibregl-ctrl-group mapboxgl-ctrl mapboxgl-ctrl-group";const m=this._createButton("interaction-lock");return this._container.appendChild(m),m.click(),this._container}onRemove(){this._container.parentNode.removeChild(this._container),this._map=void 0}_createButton(d){const m=window.document.createElement("button");return m.className=d,m.isInteractionEnabled=!0,m.addEventListener("click",v=>{m.isInteractionEnabled=!m.isInteractionEnabled,m.isInteractionEnabled?(this._map.dragPan.enable(),this._map.boxZoom.enable(),this._map.doubleClickZoom.enable(),this._map.touchZoomRotate.enable(),this._map.scrollZoom.enable(),m.innerHTML=''):(this._map.dragPan.disable(),this._map.boxZoom.disable(),this._map.doubleClickZoom.disable(),this._map.touchZoomRotate.disable(),this._map.scrollZoom.disable(),m.innerHTML=''),v.preventDefault(),v.stopPropagation()},!1),m}}const a=new i;this.map.addControl(a,"top-left");class o{onAdd(d){this.map=d,this.container=document.createElement("div"),this.container.className="maplibregl-ctrl maplibregl-ctrl-group",this.container.style.marginLeft="10px",this.container.style.marginBottom="10px";const m=document.createElement("button");return m.className="maplibregl-ctrl-icon",m.innerHTML="🌍",m.onclick=()=>{this.map.getLayoutProperty("raster-layer","visibility")==="visible"?this.map.setLayoutProperty("raster-layer","visibility","none"):this.map.setLayoutProperty("raster-layer","visibility","visible")},this.container.appendChild(m),this.container}onRemove(){this.container.parentNode.removeChild(this.container),this.map=void 0}}const s=new o;this.map.addControl(new js.GeolocateControl({positionOptions:{enableHighAccuracy:!0},trackUserLocation:!0,showUserHeading:!0}),"top-right"),this.map.addControl(s,"top-right"),this.map.on("load",()=>{this.map.addSource("raster-tiles",{type:"raster",tiles:["https://google-proxy.zuzuche.com/vt/?lyrs=s&x={x}&y={y}&z={z}"],tileSize:256}),this.map.addLayer({id:"raster-layer",type:"raster",source:"raster-tiles",layout:{visibility:"none"},minzoom:0,maxzoom:22}),this.map.addSource("line1",{type:"geojson",data:{type:"Feature",properties:{},geometry:{type:"LineString",coordinates:t.geojson_line_1}}}),this.map.addSource("line2",{type:"geojson",data:{type:"Feature",properties:{},geometry:{type:"LineString",coordinates:t.geojson_line_2}}}),this.map.addLayer({id:"line1",type:"line",source:"line1",layout:{"line-join":"round","line-cap":"round"},paint:{"line-color":"#f7911d","line-width":3}}),this.map.addLayer({id:"line2",type:"line",source:"line2",layout:{"line-join":"round","line-cap":"round"},paint:{"line-color":"#29abe2","line-width":3}});function c(d){return fetch(d).then(m=>m.blob()).then(m=>new Promise((v,y)=>{const _=new Image,S=URL.createObjectURL(m);_.onload=()=>{URL.revokeObjectURL(S),v(_)},_.onerror=()=>{URL.revokeObjectURL(S),y(new Error("Could not load image"))},_.src=S}))}Promise.all([c("https://bus.sustcra.com/station_icon.png"),c("https://bus.sustcra.com/bldg_icon.png"),c("https://bus.sustcra.com/gate_icon.png")]).then(d=>{this.map.addImage("bus-station",d[0]),this.map.addImage("bldg-icon",d[1]),this.map.addImage("gate-icon",d[2]),this.map.addSource("stations",{type:"geojson",data:this.stations_geojson}),this.map.addSource("bldgs",{type:"geojson",data:this.bldg_geojson}),this.map.addSource("gates",{type:"geojson",data:this.gate_geojson}),this.map.addLayer({id:"bus-station",type:"symbol",source:"stations",layout:{"icon-size":.075,"icon-image":"bus-station","text-field":["get","name"],"text-size":10,"text-offset":[0,1.25],"text-anchor":"top"},paint:{"text-color":this.map_text_colour},filter:["==","$type","Point"]}),this.map.addLayer({id:"bldgs",type:"symbol",source:"bldgs",layout:{"icon-size":.02,"icon-image":"bldg-icon","text-field":["get","name"],"text-size":9,"text-offset":[0,.3],"text-anchor":"top"},paint:{"text-color":this.map_text_colour},filter:["==","$type","Point"]}),this.map.addLayer({id:"gates",type:"symbol",source:"gates",layout:{"icon-size":.05,"icon-image":"gate-icon","text-field":["get","name"],"text-size":10,"text-offset":[0,.6],"text-anchor":"top"},paint:{"text-color":this.map_text_colour},filter:["==","$type","Point"]})}).catch(d=>{console.error("Error loading images:",d)})})},async unmounted(){}},Nve={class:"map-container",ref:"myMap"};function Vve(e,t,r,n,i,a){return et(),Tt("div",Nve,null,512)}const jve=Ir($ve,[["render",Vve],["__scopeId","data-v-86953e35"],["__file","CampusMap.vue"]]),Hve={name:"weather-span",data:()=>({text:""}),mounted(){this.load_weather()},methods:{load_weather(){Lr.get("https://api.sustech.online/weather").then(e=>{this.text=e.data.msg})}}},Uve={id:"weather-container"},Gve={id:"weather"};function Wve(e,t,r,n,i,a){return et(),Tt("div",Uve,[It("span",Gve,mr(e.text),1)])}const qve=Ir(Hve,[["render",Wve],["__file","weather-span.vue"]]);/*! ***************************************************************************** +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 WP=function(e,t){return WP=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])},WP(e,t)};function mt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");WP(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var Zve=function(){function e(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1}return e}(),Xve=function(){function e(){this.browser=new Zve,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=typeof window<"u"}return e}(),gr=new Xve;typeof wx=="object"&&typeof wx.getSystemInfoSync=="function"?(gr.wxa=!0,gr.touchEventsSupported=!0):typeof document>"u"&&typeof self<"u"?gr.worker=!0:typeof navigator>"u"||navigator.userAgent.indexOf("Node.js")===0?(gr.node=!0,gr.svgSupported=!0):Kve(navigator.userAgent,gr);function Kve(e,t){var r=t.browser,n=e.match(/Firefox\/([\d.]+)/),i=e.match(/MSIE\s([\d.]+)/)||e.match(/Trident\/.+?rv:(([\d.]+))/),a=e.match(/Edge?\/([\d.]+)/),o=/micromessenger/i.test(e);n&&(r.firefox=!0,r.version=n[1]),i&&(r.ie=!0,r.version=i[1]),a&&(r.edge=!0,r.version=a[1],r.newEdge=+a[1].split(".")[0]>18),o&&(r.weChat=!0),t.svgSupported=typeof SVGRect<"u",t.touchEventsSupported="ontouchstart"in window&&!r.ie&&!r.edge,t.pointerEventsSupported="onpointerdown"in window&&(r.edge||r.ie&&+r.version>=11),t.domSupported=typeof document<"u";var s=document.documentElement.style;t.transform3dSupported=(r.ie&&"transition"in s||r.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in s)&&!("OTransition"in s),t.transformSupported=t.transform3dSupported||r.ie&&+r.version>=9}var OE=12,y7="sans-serif",ac=OE+"px "+y7,Yve=20,Jve=100,Qve="007LLmW'55;N0500LLLLLLLLLL00NNNLzWW\\\\WQb\\0FWLg\\bWb\\WQ\\WrWWQ000CL5LLFLL0LL**F*gLLLL5F0LF\\FFF5.5N";function ege(e){var t={};if(typeof JSON>"u")return t;for(var r=0;r=0)s=o*r.length;else for(var c=0;c>1)%2;s.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",n[c]+":0",i[d]+":0",n[1-c]+":auto",i[1-d]+":auto",""].join("!important;"),e.appendChild(o),r.push(o)}return r}function xge(e,t,r){for(var n=r?"invTrans":"trans",i=t[n],a=t.srcCoords,o=[],s=[],c=!0,d=0;d<4;d++){var m=e[d].getBoundingClientRect(),v=2*d,y=m.left,_=m.top;o.push(y,_),c=c&&a&&y===a[v]&&_===a[v+1],s.push(e[d].offsetLeft,e[d].offsetTop)}return c&&i?i:(t.srcCoords=o,t[n]=r?pO(s,o):pO(o,s))}function A7(e){return e.nodeName.toUpperCase()==="CANVAS"}var wge=/([&<>"'])/g,Sge={"&":"&","<":"<",">":">",'"':""","'":"'"};function Ma(e){return e==null?"":(e+"").replace(wge,function(t,r){return Sge[r]})}var Tge=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,X2=[],Cge=gr.browser.firefox&&+gr.browser.version.split(".")[0]<39;function QP(e,t,r,n){return r=r||{},n?vO(e,t,r):Cge&&t.layerX!=null&&t.layerX!==t.offsetX?(r.zrX=t.layerX,r.zrY=t.layerY):t.offsetX!=null?(r.zrX=t.offsetX,r.zrY=t.offsetY):vO(e,t,r),r}function vO(e,t,r){if(gr.domSupported&&e.getBoundingClientRect){var n=t.clientX,i=t.clientY;if(A7(e)){var a=e.getBoundingClientRect();r.zrX=n-a.left,r.zrY=i-a.top;return}else if(JP(X2,e,n,i)){r.zrX=X2[0],r.zrY=X2[1];return}}r.zrX=r.zrY=0}function VE(e){return e||window.event}function So(e,t,r){if(t=VE(t),t.zrX!=null)return t;var n=t.type,i=n&&n.indexOf("touch")>=0;if(i){var o=n!=="touchend"?t.targetTouches[0]:t.changedTouches[0];o&&QP(e,o,t,r)}else{QP(e,t,t,r);var a=Pge(t);t.zrDelta=a?a/120:-(t.detail||0)/3}var s=t.button;return t.which==null&&s!==void 0&&Tge.test(t.type)&&(t.which=s&1?1:s&2?3:s&4?2:0),t}function Pge(e){var t=e.wheelDelta;if(t)return t;var r=e.deltaX,n=e.deltaY;if(r==null||n==null)return t;var i=Math.abs(n!==0?n:r),a=n>0?-1:n<0?1:r>0?-1:1;return 3*i*a}function Age(e,t,r,n){e.addEventListener(t,r,n)}function Ige(e,t,r,n){e.removeEventListener(t,r,n)}var Lp=function(e){e.preventDefault(),e.stopPropagation(),e.cancelBubble=!0};function gO(e){return e.which===2||e.which===3}var Ege=function(){function e(){this._track=[]}return e.prototype.recognize=function(t,r,n){return this._doTrack(t,r,n),this._recognize(t)},e.prototype.clear=function(){return this._track.length=0,this},e.prototype._doTrack=function(t,r,n){var i=t.touches;if(i){for(var a={points:[],touches:[],target:r,event:t},o=0,s=i.length;o1&&n&&n.length>1){var a=yO(n)/yO(i);!isFinite(a)&&(a=1),t.pinchScale=a;var o=Mge(n);return t.pinchX=o[0],t.pinchY=o[1],{type:"pinch",target:e[0].target,event:t}}}}};function ap(){return[1,0,0,1,0,0]}function jE(e){return e[0]=1,e[1]=0,e[2]=0,e[3]=1,e[4]=0,e[5]=0,e}function Dge(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e}function op(e,t,r){var n=t[0]*r[0]+t[2]*r[1],i=t[1]*r[0]+t[3]*r[1],a=t[0]*r[2]+t[2]*r[3],o=t[1]*r[2]+t[3]*r[3],s=t[0]*r[4]+t[2]*r[5]+t[4],c=t[1]*r[4]+t[3]*r[5]+t[5];return e[0]=n,e[1]=i,e[2]=a,e[3]=o,e[4]=s,e[5]=c,e}function eA(e,t,r){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4]+r[0],e[5]=t[5]+r[1],e}function HE(e,t,r,n){n===void 0&&(n=[0,0]);var i=t[0],a=t[2],o=t[4],s=t[1],c=t[3],d=t[5],m=Math.sin(r),v=Math.cos(r);return e[0]=i*v+s*m,e[1]=-i*m+s*v,e[2]=a*v+c*m,e[3]=-a*m+v*c,e[4]=v*(o-n[0])+m*(d-n[1])+n[0],e[5]=v*(d-n[1])-m*(o-n[0])+n[1],e}function Lge(e,t,r){var n=r[0],i=r[1];return e[0]=t[0]*n,e[1]=t[1]*i,e[2]=t[2]*n,e[3]=t[3]*i,e[4]=t[4]*n,e[5]=t[5]*i,e}function UE(e,t){var r=t[0],n=t[2],i=t[4],a=t[1],o=t[3],s=t[5],c=r*o-a*n;return c?(c=1/c,e[0]=o*c,e[1]=-a*c,e[2]=-n*c,e[3]=r*c,e[4]=(n*s-o*i)*c,e[5]=(a*i-r*s)*c,e):null}var bn=function(){function e(t,r){this.x=t||0,this.y=r||0}return e.prototype.copy=function(t){return this.x=t.x,this.y=t.y,this},e.prototype.clone=function(){return new e(this.x,this.y)},e.prototype.set=function(t,r){return this.x=t,this.y=r,this},e.prototype.equal=function(t){return t.x===this.x&&t.y===this.y},e.prototype.add=function(t){return this.x+=t.x,this.y+=t.y,this},e.prototype.scale=function(t){this.x*=t,this.y*=t},e.prototype.scaleAndAdd=function(t,r){this.x+=t.x*r,this.y+=t.y*r},e.prototype.sub=function(t){return this.x-=t.x,this.y-=t.y,this},e.prototype.dot=function(t){return this.x*t.x+this.y*t.y},e.prototype.len=function(){return Math.sqrt(this.x*this.x+this.y*this.y)},e.prototype.lenSquare=function(){return this.x*this.x+this.y*this.y},e.prototype.normalize=function(){var t=this.len();return this.x/=t,this.y/=t,this},e.prototype.distance=function(t){var r=this.x-t.x,n=this.y-t.y;return Math.sqrt(r*r+n*n)},e.prototype.distanceSquare=function(t){var r=this.x-t.x,n=this.y-t.y;return r*r+n*n},e.prototype.negate=function(){return this.x=-this.x,this.y=-this.y,this},e.prototype.transform=function(t){if(t){var r=this.x,n=this.y;return this.x=t[0]*r+t[2]*n+t[4],this.y=t[1]*r+t[3]*n+t[5],this}},e.prototype.toArray=function(t){return t[0]=this.x,t[1]=this.y,t},e.prototype.fromArray=function(t){this.x=t[0],this.y=t[1]},e.set=function(t,r,n){t.x=r,t.y=n},e.copy=function(t,r){t.x=r.x,t.y=r.y},e.len=function(t){return Math.sqrt(t.x*t.x+t.y*t.y)},e.lenSquare=function(t){return t.x*t.x+t.y*t.y},e.dot=function(t,r){return t.x*r.x+t.y*r.y},e.add=function(t,r,n){t.x=r.x+n.x,t.y=r.y+n.y},e.sub=function(t,r,n){t.x=r.x-n.x,t.y=r.y-n.y},e.scale=function(t,r,n){t.x=r.x*n,t.y=r.y*n},e.scaleAndAdd=function(t,r,n,i){t.x=r.x+n.x*i,t.y=r.y+n.y*i},e.lerp=function(t,r,n,i){var a=1-i;t.x=a*r.x+i*n.x,t.y=a*r.y+i*n.y},e}(),R0=Math.min,O0=Math.max,rh=new bn,nh=new bn,ih=new bn,ah=new bn,Mv=new bn,Dv=new bn,Kr=function(){function e(t,r,n,i){n<0&&(t=t+n,n=-n),i<0&&(r=r+i,i=-i),this.x=t,this.y=r,this.width=n,this.height=i}return e.prototype.union=function(t){var r=R0(t.x,this.x),n=R0(t.y,this.y);isFinite(this.x)&&isFinite(this.width)?this.width=O0(t.x+t.width,this.x+this.width)-r:this.width=t.width,isFinite(this.y)&&isFinite(this.height)?this.height=O0(t.y+t.height,this.y+this.height)-n:this.height=t.height,this.x=r,this.y=n},e.prototype.applyTransform=function(t){e.applyTransform(this,this,t)},e.prototype.calculateTransform=function(t){var r=this,n=t.width/r.width,i=t.height/r.height,a=ap();return eA(a,a,[-r.x,-r.y]),Lge(a,a,[n,i]),eA(a,a,[t.x,t.y]),a},e.prototype.intersect=function(t,r){if(!t)return!1;t instanceof e||(t=e.create(t));var n=this,i=n.x,a=n.x+n.width,o=n.y,s=n.y+n.height,c=t.x,d=t.x+t.width,m=t.y,v=t.y+t.height,y=!(aS&&(S=R,IS&&(S=$,M=n.x&&t<=n.x+n.width&&r>=n.y&&r<=n.y+n.height},e.prototype.clone=function(){return new e(this.x,this.y,this.width,this.height)},e.prototype.copy=function(t){e.copy(this,t)},e.prototype.plain=function(){return{x:this.x,y:this.y,width:this.width,height:this.height}},e.prototype.isFinite=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},e.prototype.isZero=function(){return this.width===0||this.height===0},e.create=function(t){return new e(t.x,t.y,t.width,t.height)},e.copy=function(t,r){t.x=r.x,t.y=r.y,t.width=r.width,t.height=r.height},e.applyTransform=function(t,r,n){if(!n){t!==r&&e.copy(t,r);return}if(n[1]<1e-5&&n[1]>-1e-5&&n[2]<1e-5&&n[2]>-1e-5){var i=n[0],a=n[3],o=n[4],s=n[5];t.x=r.x*i+o,t.y=r.y*a+s,t.width=r.width*i,t.height=r.height*a,t.width<0&&(t.x+=t.width,t.width=-t.width),t.height<0&&(t.y+=t.height,t.height=-t.height);return}rh.x=ih.x=r.x,rh.y=ah.y=r.y,nh.x=ah.x=r.x+r.width,nh.y=ih.y=r.y+r.height,rh.transform(n),ah.transform(n),nh.transform(n),ih.transform(n),t.x=R0(rh.x,nh.x,ih.x,ah.x),t.y=R0(rh.y,nh.y,ih.y,ah.y);var c=O0(rh.x,nh.x,ih.x,ah.x),d=O0(rh.y,nh.y,ih.y,ah.y);t.width=c-t.x,t.height=d-t.y},e}(),I7="silent";function kge(e,t,r){return{type:e,event:r,target:t.target,topTarget:t.topTarget,cancelBubble:!1,offsetX:r.zrX,offsetY:r.zrY,gestureEvent:r.gestureEvent,pinchX:r.pinchX,pinchY:r.pinchY,pinchScale:r.pinchScale,wheelDelta:r.zrDelta,zrByTouch:r.zrByTouch,which:r.which,stop:Rge}}function Rge(){Lp(this.event)}var Oge=function(e){mt(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.handler=null,r}return t.prototype.dispose=function(){},t.prototype.setCursor=function(){},t}(ys),Lv=function(){function e(t,r){this.x=t,this.y=r}return e}(),zge=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],Y2=new Kr(0,0,0,0),E7=function(e){mt(t,e);function t(r,n,i,a,o){var s=e.call(this)||this;return s._hovered=new Lv(0,0),s.storage=r,s.painter=n,s.painterRoot=a,s._pointerSize=o,i=i||new Oge,s.proxy=null,s.setHandlerProxy(i),s._draggingMgr=new gge(s),s}return t.prototype.setHandlerProxy=function(r){this.proxy&&this.proxy.dispose(),r&&(Te(zge,function(n){r.on&&r.on(n,this[n],this)},this),r.handler=this),this.proxy=r},t.prototype.mousemove=function(r){var n=r.zrX,i=r.zrY,a=M7(this,n,i),o=this._hovered,s=o.target;s&&!s.__zr&&(o=this.findHover(o.x,o.y),s=o.target);var c=this._hovered=a?new Lv(n,i):this.findHover(n,i),d=c.target,m=this.proxy;m.setCursor&&m.setCursor(d?d.cursor:"default"),s&&d!==s&&this.dispatchToElement(o,"mouseout",r),this.dispatchToElement(c,"mousemove",r),d&&d!==s&&this.dispatchToElement(c,"mouseover",r)},t.prototype.mouseout=function(r){var n=r.zrEventControl;n!=="only_globalout"&&this.dispatchToElement(this._hovered,"mouseout",r),n!=="no_globalout"&&this.trigger("globalout",{type:"globalout",event:r})},t.prototype.resize=function(){this._hovered=new Lv(0,0)},t.prototype.dispatch=function(r,n){var i=this[r];i&&i.call(this,n)},t.prototype.dispose=function(){this.proxy.dispose(),this.storage=null,this.proxy=null,this.painter=null},t.prototype.setCursorStyle=function(r){var n=this.proxy;n.setCursor&&n.setCursor(r)},t.prototype.dispatchToElement=function(r,n,i){r=r||{};var a=r.target;if(!(a&&a.silent)){for(var o="on"+n,s=kge(n,r,i);a&&(a[o]&&(s.cancelBubble=!!a[o].call(a,s)),a.trigger(n,s),a=a.__hostTarget?a.__hostTarget:a.parent,!s.cancelBubble););s.cancelBubble||(this.trigger(n,s),this.painter&&this.painter.eachOtherLayer&&this.painter.eachOtherLayer(function(c){typeof c[o]=="function"&&c[o].call(c,s),c.trigger&&c.trigger(n,s)}))}},t.prototype.findHover=function(r,n,i){var a=this.storage.getDisplayList(),o=new Lv(r,n);if(_O(a,o,r,n,i),this._pointerSize&&!o.target){for(var s=[],c=this._pointerSize,d=c/2,m=new Kr(r-d,n-d,c,c),v=a.length-1;v>=0;v--){var y=a[v];y!==i&&!y.ignore&&!y.ignoreCoarsePointer&&(!y.parent||!y.parent.ignoreCoarsePointer)&&(Y2.copy(y.getBoundingRect()),y.transform&&Y2.applyTransform(y.transform),Y2.intersect(m)&&s.push(y))}if(s.length)for(var _=4,S=Math.PI/12,I=Math.PI*2,E=0;E4)return;this._downPoint=null}this.dispatchToElement(a,e,t)}});function Bge(e,t,r){if(e[e.rectHover?"rectContain":"contain"](t,r)){for(var n=e,i=void 0,a=!1;n;){if(n.ignoreClip&&(a=!0),!a){var o=n.getClipPath();if(o&&!o.contain(t,r))return!1}n.silent&&(i=!0);var s=n.__hostTarget;n=s||n.parent}return i?I7:!0}return!1}function _O(e,t,r,n,i){for(var a=e.length-1;a>=0;a--){var o=e[a],s=void 0;if(o!==i&&!o.ignore&&(s=Bge(o,r,n))&&(!t.topTarget&&(t.topTarget=o),s!==I7)){t.target=o;break}}}function M7(e,t,r){var n=e.painter;return t<0||t>n.getWidth()||r<0||r>n.getHeight()}var D7=32,kv=7;function Fge(e){for(var t=0;e>=D7;)t|=e&1,e>>=1;return e+t}function bO(e,t,r,n){var i=t+1;if(i===r)return 1;if(n(e[i++],e[t])<0){for(;i=0;)i++;return i-t}function $ge(e,t,r){for(r--;t>>1,i(a,e[c])<0?s=c:o=c+1;var d=n-o;switch(d){case 3:e[o+3]=e[o+2];case 2:e[o+2]=e[o+1];case 1:e[o+1]=e[o];break;default:for(;d>0;)e[o+d]=e[o+d-1],d--}e[o]=a}}function J2(e,t,r,n,i,a){var o=0,s=0,c=1;if(a(e,t[r+i])>0){for(s=n-i;c0;)o=c,c=(c<<1)+1,c<=0&&(c=s);c>s&&(c=s),o+=i,c+=i}else{for(s=i+1;cs&&(c=s);var d=o;o=i-c,c=i-d}for(o++;o>>1);a(e,t[r+m])>0?o=m+1:c=m}return c}function Q2(e,t,r,n,i,a){var o=0,s=0,c=1;if(a(e,t[r+i])<0){for(s=i+1;cs&&(c=s);var d=o;o=i-c,c=i-d}else{for(s=n-i;c=0;)o=c,c=(c<<1)+1,c<=0&&(c=s);c>s&&(c=s),o+=i,c+=i}for(o++;o>>1);a(e,t[r+m])<0?c=m:o=m+1}return c}function Nge(e,t){var r=kv,n,i,a=0,o=[];n=[],i=[];function s(_,S){n[a]=_,i[a]=S,a+=1}function c(){for(;a>1;){var _=a-2;if(_>=1&&i[_-1]<=i[_]+i[_+1]||_>=2&&i[_-2]<=i[_]+i[_-1])i[_-1]i[_+1])break;m(_)}}function d(){for(;a>1;){var _=a-2;_>0&&i[_-1]=kv||H>=kv);if(Z)break;G<0&&(G=0),G+=2}if(r=G,r<1&&(r=1),S===1){for(M=0;M=0;M--)e[j+M]=e[G+M];e[$]=o[R];return}for(var H=r;;){var Z=0,Q=0,ee=!1;do if(t(o[R],e[L])<0){if(e[$--]=e[L--],Z++,Q=0,--S===0){ee=!0;break}}else if(e[$--]=o[R--],Q++,Z=0,--E===1){ee=!0;break}while((Z|Q)=0;M--)e[j+M]=e[G+M];if(S===0){ee=!0;break}}if(e[$--]=o[R--],--E===1){ee=!0;break}if(Q=E-J2(e[L],o,0,E,E-1,t),Q!==0){for($-=Q,R-=Q,E-=Q,j=$+1,G=R+1,M=0;M=kv||Q>=kv);if(ee)break;H<0&&(H=0),H+=2}if(r=H,r<1&&(r=1),E===1){for($-=S,L-=S,j=$+1,G=L+1,M=S-1;M>=0;M--)e[j+M]=e[G+M];e[$]=o[R]}else{if(E===0)throw new Error;for(G=$-(E-1),M=0;Ms&&(c=s),xO(e,r,r+c,r+a,t),a=c}o.pushRun(r,a),o.mergeRuns(),i-=a,r+=a}while(i!==0);o.forceMergeRuns()}}var to=1,rg=2,kd=4,wO=!1;function eT(){wO||(wO=!0,console.warn("z / z2 / zlevel of displayable is invalid, which may cause unexpected errors"))}function SO(e,t){return e.zlevel===t.zlevel?e.z===t.z?e.z2-t.z2:e.z-t.z:e.zlevel-t.zlevel}var Vge=function(){function e(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=SO}return e.prototype.traverse=function(t,r){for(var n=0;n0&&(m.__clipPaths=[]),isNaN(m.z)&&(eT(),m.z=0),isNaN(m.z2)&&(eT(),m.z2=0),isNaN(m.zlevel)&&(eT(),m.zlevel=0),this._displayList[this._displayListLen++]=m}var v=t.getDecalElement&&t.getDecalElement();v&&this._updateAndAddDisplayable(v,r,n);var y=t.getTextGuideLine();y&&this._updateAndAddDisplayable(y,r,n);var _=t.getTextContent();_&&this._updateAndAddDisplayable(_,r,n)}},e.prototype.addRoot=function(t){t.__zr&&t.__zr.storage===this||this._roots.push(t)},e.prototype.delRoot=function(t){if(t instanceof Array){for(var r=0,n=t.length;r=0&&this._roots.splice(i,1)},e.prototype.delAllRoots=function(){this._roots=[],this._displayList=[],this._displayListLen=0},e.prototype.getRoots=function(){return this._roots},e.prototype.dispose=function(){this._displayList=null,this._roots=null},e}(),Hb;Hb=gr.hasGlobalWindow&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(e){return setTimeout(e,16)};var Ig={linear:function(e){return e},quadraticIn:function(e){return e*e},quadraticOut:function(e){return e*(2-e)},quadraticInOut:function(e){return(e*=2)<1?.5*e*e:-.5*(--e*(e-2)-1)},cubicIn:function(e){return e*e*e},cubicOut:function(e){return--e*e*e+1},cubicInOut:function(e){return(e*=2)<1?.5*e*e*e:.5*((e-=2)*e*e+2)},quarticIn:function(e){return e*e*e*e},quarticOut:function(e){return 1- --e*e*e*e},quarticInOut:function(e){return(e*=2)<1?.5*e*e*e*e:-.5*((e-=2)*e*e*e-2)},quinticIn:function(e){return e*e*e*e*e},quinticOut:function(e){return--e*e*e*e*e+1},quinticInOut:function(e){return(e*=2)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2)},sinusoidalIn:function(e){return 1-Math.cos(e*Math.PI/2)},sinusoidalOut:function(e){return Math.sin(e*Math.PI/2)},sinusoidalInOut:function(e){return .5*(1-Math.cos(Math.PI*e))},exponentialIn:function(e){return e===0?0:Math.pow(1024,e-1)},exponentialOut:function(e){return e===1?1:1-Math.pow(2,-10*e)},exponentialInOut:function(e){return e===0?0:e===1?1:(e*=2)<1?.5*Math.pow(1024,e-1):.5*(-Math.pow(2,-10*(e-1))+2)},circularIn:function(e){return 1-Math.sqrt(1-e*e)},circularOut:function(e){return Math.sqrt(1- --e*e)},circularInOut:function(e){return(e*=2)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1)},elasticIn:function(e){var t,r=.1,n=.4;return e===0?0:e===1?1:(!r||r<1?(r=1,t=n/4):t=n*Math.asin(1/r)/(2*Math.PI),-(r*Math.pow(2,10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/n)))},elasticOut:function(e){var t,r=.1,n=.4;return e===0?0:e===1?1:(!r||r<1?(r=1,t=n/4):t=n*Math.asin(1/r)/(2*Math.PI),r*Math.pow(2,-10*e)*Math.sin((e-t)*(2*Math.PI)/n)+1)},elasticInOut:function(e){var t,r=.1,n=.4;return e===0?0:e===1?1:(!r||r<1?(r=1,t=n/4):t=n*Math.asin(1/r)/(2*Math.PI),(e*=2)<1?-.5*(r*Math.pow(2,10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/n)):r*Math.pow(2,-10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/n)*.5+1)},backIn:function(e){var t=1.70158;return e*e*((t+1)*e-t)},backOut:function(e){var t=1.70158;return--e*e*((t+1)*e+t)+1},backInOut:function(e){var t=2.5949095;return(e*=2)<1?.5*(e*e*((t+1)*e-t)):.5*((e-=2)*e*((t+1)*e+t)+2)},bounceIn:function(e){return 1-Ig.bounceOut(1-e)},bounceOut:function(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375},bounceInOut:function(e){return e<.5?Ig.bounceIn(e*2)*.5:Ig.bounceOut(e*2-1)*.5+.5}},z0=Math.pow,Ju=Math.sqrt,Ub=1e-8,L7=1e-4,TO=Ju(3),B0=1/3,Gs=Qp(),Ao=Qp(),sp=Qp();function Wu(e){return e>-Ub&&eUb||e<-Ub}function Oi(e,t,r,n,i){var a=1-i;return a*a*(a*e+3*i*t)+i*i*(i*n+3*a*r)}function CO(e,t,r,n,i){var a=1-i;return 3*(((t-e)*a+2*(r-t)*i)*a+(n-r)*i*i)}function Gb(e,t,r,n,i,a){var o=n+3*(t-r)-e,s=3*(r-t*2+e),c=3*(t-e),d=e-i,m=s*s-3*o*c,v=s*c-9*o*d,y=c*c-3*s*d,_=0;if(Wu(m)&&Wu(v))if(Wu(s))a[0]=0;else{var S=-c/s;S>=0&&S<=1&&(a[_++]=S)}else{var I=v*v-4*m*y;if(Wu(I)){var E=v/m,S=-s/o+E,M=-E/2;S>=0&&S<=1&&(a[_++]=S),M>=0&&M<=1&&(a[_++]=M)}else if(I>0){var L=Ju(I),R=m*s+1.5*o*(-v+L),$=m*s+1.5*o*(-v-L);R<0?R=-z0(-R,B0):R=z0(R,B0),$<0?$=-z0(-$,B0):$=z0($,B0);var S=(-s-(R+$))/(3*o);S>=0&&S<=1&&(a[_++]=S)}else{var G=(2*m*s-3*o*v)/(2*Ju(m*m*m)),j=Math.acos(G)/3,H=Ju(m),Z=Math.cos(j),S=(-s-2*H*Z)/(3*o),M=(-s+H*(Z+TO*Math.sin(j)))/(3*o),Q=(-s+H*(Z-TO*Math.sin(j)))/(3*o);S>=0&&S<=1&&(a[_++]=S),M>=0&&M<=1&&(a[_++]=M),Q>=0&&Q<=1&&(a[_++]=Q)}}return _}function R7(e,t,r,n,i){var a=6*r-12*t+6*e,o=9*t+3*n-3*e-9*r,s=3*t-3*e,c=0;if(Wu(o)){if(k7(a)){var d=-s/a;d>=0&&d<=1&&(i[c++]=d)}}else{var m=a*a-4*o*s;if(Wu(m))i[0]=-a/(2*o);else if(m>0){var v=Ju(m),d=(-a+v)/(2*o),y=(-a-v)/(2*o);d>=0&&d<=1&&(i[c++]=d),y>=0&&y<=1&&(i[c++]=y)}}return c}function Wb(e,t,r,n,i,a){var o=(t-e)*i+e,s=(r-t)*i+t,c=(n-r)*i+r,d=(s-o)*i+o,m=(c-s)*i+s,v=(m-d)*i+d;a[0]=e,a[1]=o,a[2]=d,a[3]=v,a[4]=v,a[5]=m,a[6]=c,a[7]=n}function jge(e,t,r,n,i,a,o,s,c,d,m){var v,y=.005,_=1/0,S,I,E,M;Gs[0]=c,Gs[1]=d;for(var L=0;L<1;L+=.05)Ao[0]=Oi(e,r,i,o,L),Ao[1]=Oi(t,n,a,s,L),E=ip(Gs,Ao),E<_&&(v=L,_=E);_=1/0;for(var R=0;R<32&&!(y=0&&E<_?(v=S,_=E):(sp[0]=Oi(e,r,i,o,I),sp[1]=Oi(t,n,a,s,I),M=ip(sp,Gs),I<=1&&M<_?(v=I,_=M):y*=.5);return Ju(_)}function Hge(e,t,r,n,i,a,o,s,c){for(var d=e,m=t,v=0,y=1/c,_=1;_<=c;_++){var S=_*y,I=Oi(e,r,i,o,S),E=Oi(t,n,a,s,S),M=I-d,L=E-m;v+=Math.sqrt(M*M+L*L),d=I,m=E}return v}function va(e,t,r,n){var i=1-n;return i*(i*e+2*n*t)+n*n*r}function tA(e,t,r,n){return 2*((1-n)*(t-e)+n*(r-t))}function Uge(e,t,r,n,i){var a=e-2*t+r,o=2*(t-e),s=e-n,c=0;if(Wu(a)){if(k7(o)){var d=-s/o;d>=0&&d<=1&&(i[c++]=d)}}else{var m=o*o-4*a*s;if(Wu(m)){var d=-o/(2*a);d>=0&&d<=1&&(i[c++]=d)}else if(m>0){var v=Ju(m),d=(-o+v)/(2*a),y=(-o-v)/(2*a);d>=0&&d<=1&&(i[c++]=d),y>=0&&y<=1&&(i[c++]=y)}}return c}function O7(e,t,r){var n=e+r-2*t;return n===0?.5:(e-t)/n}function qb(e,t,r,n,i){var a=(t-e)*n+e,o=(r-t)*n+t,s=(o-a)*n+a;i[0]=e,i[1]=a,i[2]=s,i[3]=s,i[4]=o,i[5]=r}function Gge(e,t,r,n,i,a,o,s,c){var d,m=.005,v=1/0;Gs[0]=o,Gs[1]=s;for(var y=0;y<1;y+=.05){Ao[0]=va(e,r,i,y),Ao[1]=va(t,n,a,y);var _=ip(Gs,Ao);_=0&&_=1?1:Gb(0,n,a,1,c,s)&&Oi(0,i,o,1,s[0])}}}var Zge=function(){function e(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||na,this.ondestroy=t.ondestroy||na,this.onrestart=t.onrestart||na,t.easing&&this.setEasing(t.easing)}return e.prototype.step=function(t,r){if(this._inited||(this._startTime=t+this._delay,this._inited=!0),this._paused){this._pausedTime+=r;return}var n=this._life,i=t-this._startTime-this._pausedTime,a=i/n;a<0&&(a=0),a=Math.min(a,1);var o=this.easingFunc,s=o?o(a):a;if(this.onframe(s),a===1)if(this.loop){var c=i%n;this._startTime=t-c,this._pausedTime=0,this.onrestart()}else return!0;return!1},e.prototype.pause=function(){this._paused=!0},e.prototype.resume=function(){this._paused=!1},e.prototype.setEasing=function(t){this.easing=t,this.easingFunc=nr(t)?t:Ig[t]||GE(t)},e}(),z7=function(){function e(t){this.value=t}return e}(),Xge=function(){function e(){this._len=0}return e.prototype.insert=function(t){var r=new z7(t);return this.insertEntry(r),r},e.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++},e.prototype.remove=function(t){var r=t.prev,n=t.next;r?r.next=n:this.head=n,n?n.prev=r:this.tail=r,t.next=t.prev=null,this._len--},e.prototype.len=function(){return this._len},e.prototype.clear=function(){this.head=this.tail=null,this._len=0},e}(),qy=function(){function e(t){this._list=new Xge,this._maxSize=10,this._map={},this._maxSize=t}return e.prototype.put=function(t,r){var n=this._list,i=this._map,a=null;if(i[t]==null){var o=n.len(),s=this._lastRemovedEntry;if(o>=this._maxSize&&o>0){var c=n.head;n.remove(c),delete i[c.key],a=c.value,this._lastRemovedEntry=c}s?s.value=r:s=new z7(r),s.key=t,n.insertEntry(s),i[t]=s}return a},e.prototype.get=function(t){var r=this._map[t],n=this._list;if(r!=null)return r!==n.tail&&(n.remove(r),n.insertEntry(r)),r.value},e.prototype.clear=function(){this._list.clear(),this._map={}},e.prototype.len=function(){return this._list.len()},e}(),PO={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 Qu(e){return e=Math.round(e),e<0?0:e>255?255:e}function rA(e){return e<0?0:e>1?1:e}function tT(e){var t=e;return t.length&&t.charAt(t.length-1)==="%"?Qu(parseFloat(t)/100*255):Qu(parseInt(t,10))}function Eg(e){var t=e;return t.length&&t.charAt(t.length-1)==="%"?rA(parseFloat(t)/100):rA(parseFloat(t))}function rT(e,t,r){return r<0?r+=1:r>1&&(r-=1),r*6<1?e+(t-e)*r*6:r*2<1?t:r*3<2?e+(t-e)*(2/3-r)*6:e}function F0(e,t,r){return e+(t-e)*r}function xo(e,t,r,n,i){return e[0]=t,e[1]=r,e[2]=n,e[3]=i,e}function nA(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e}var B7=new qy(20),$0=null;function gd(e,t){$0&&nA($0,t),$0=B7.put(e,$0||t.slice())}function Ks(e,t){if(e){t=t||[];var r=B7.get(e);if(r)return nA(t,r);e=e+"";var n=e.replace(/ /g,"").toLowerCase();if(n in PO)return nA(t,PO[n]),gd(e,t),t;var i=n.length;if(n.charAt(0)==="#"){if(i===4||i===5){var a=parseInt(n.slice(1,4),16);if(!(a>=0&&a<=4095)){xo(t,0,0,0,1);return}return xo(t,(a&3840)>>4|(a&3840)>>8,a&240|(a&240)>>4,a&15|(a&15)<<4,i===5?parseInt(n.slice(4),16)/15:1),gd(e,t),t}else if(i===7||i===9){var a=parseInt(n.slice(1,7),16);if(!(a>=0&&a<=16777215)){xo(t,0,0,0,1);return}return xo(t,(a&16711680)>>16,(a&65280)>>8,a&255,i===9?parseInt(n.slice(7),16)/255:1),gd(e,t),t}return}var o=n.indexOf("("),s=n.indexOf(")");if(o!==-1&&s+1===i){var c=n.substr(0,o),d=n.substr(o+1,s-(o+1)).split(","),m=1;switch(c){case"rgba":if(d.length!==4)return d.length===3?xo(t,+d[0],+d[1],+d[2],1):xo(t,0,0,0,1);m=Eg(d.pop());case"rgb":if(d.length>=3)return xo(t,tT(d[0]),tT(d[1]),tT(d[2]),d.length===3?m:Eg(d[3])),gd(e,t),t;xo(t,0,0,0,1);return;case"hsla":if(d.length!==4){xo(t,0,0,0,1);return}return d[3]=Eg(d[3]),AO(d,t),gd(e,t),t;case"hsl":if(d.length!==3){xo(t,0,0,0,1);return}return AO(d,t),gd(e,t),t;default:return}}xo(t,0,0,0,1)}}function AO(e,t){var r=(parseFloat(e[0])%360+360)%360/360,n=Eg(e[1]),i=Eg(e[2]),a=i<=.5?i*(n+1):i+n-i*n,o=i*2-a;return t=t||[],xo(t,Qu(rT(o,a,r+1/3)*255),Qu(rT(o,a,r)*255),Qu(rT(o,a,r-1/3)*255),1),e.length===4&&(t[3]=e[3]),t}function IO(e,t){var r=Ks(e);if(r){for(var n=0;n<3;n++)r[n]=r[n]*(1-t)|0,r[n]>255?r[n]=255:r[n]<0&&(r[n]=0);return tw(r,r.length===4?"rgba":"rgb")}}function Kge(e,t,r){if(!(!(t&&t.length)||!(e>=0&&e<=1))){var n=e*(t.length-1),i=Math.floor(n),a=Math.ceil(n),o=Ks(t[i]),s=Ks(t[a]),c=n-i,d=tw([Qu(F0(o[0],s[0],c)),Qu(F0(o[1],s[1],c)),Qu(F0(o[2],s[2],c)),rA(F0(o[3],s[3],c))],"rgba");return r?{color:d,leftIndex:i,rightIndex:a,value:n}:d}}function tw(e,t){if(!(!e||!e.length)){var r=e[0]+","+e[1]+","+e[2];return(t==="rgba"||t==="hsva"||t==="hsla")&&(r+=","+e[3]),t+"("+r+")"}}function Zb(e,t){var r=Ks(e);return r?(.299*r[0]+.587*r[1]+.114*r[2])*r[3]/255+(1-r[3])*t:0}var EO=new qy(100);function iA(e){if(Wt(e)){var t=EO.get(e);return t||(t=IO(e,-.1),EO.put(e,t)),t}else if(Qx(e)){var r=St({},e);return r.colorStops=Yt(e.colorStops,function(n){return{offset:n.offset,color:IO(n.color,-.1)}}),r}return e}var Xb=Math.round;function uy(e){var t;if(!e||e==="transparent")e="none";else if(typeof e=="string"&&e.indexOf("rgba")>-1){var r=Ks(e);r&&(e="rgb("+r[0]+","+r[1]+","+r[2]+")",t=r[3])}return{color:e,opacity:t??1}}var MO=1e-4;function qu(e){return e-MO}function N0(e){return Xb(e*1e3)/1e3}function aA(e){return Xb(e*1e4)/1e4}function Yge(e){return"matrix("+N0(e[0])+","+N0(e[1])+","+N0(e[2])+","+N0(e[3])+","+aA(e[4])+","+aA(e[5])+")"}var Jge={left:"start",right:"end",center:"middle",middle:"middle"};function Qge(e,t,r){return r==="top"?e+=t/2:r==="bottom"&&(e-=t/2),e}function eye(e){return e&&(e.shadowBlur||e.shadowOffsetX||e.shadowOffsetY)}function tye(e){var t=e.style,r=e.getGlobalScale();return[t.shadowColor,(t.shadowBlur||0).toFixed(2),(t.shadowOffsetX||0).toFixed(2),(t.shadowOffsetY||0).toFixed(2),r[0],r[1]].join(",")}function F7(e){return e&&!!e.image}function rye(e){return e&&!!e.svgElement}function WE(e){return F7(e)||rye(e)}function $7(e){return e.type==="linear"}function N7(e){return e.type==="radial"}function V7(e){return e&&(e.type==="linear"||e.type==="radial")}function rw(e){return"url(#"+e+")"}function j7(e){var t=e.getGlobalScale(),r=Math.max(t[0],t[1]);return Math.max(Math.ceil(Math.log(r)/Math.log(10)),1)}function H7(e){var t=e.x||0,r=e.y||0,n=(e.rotation||0)*W1,i=wr(e.scaleX,1),a=wr(e.scaleY,1),o=e.skewX||0,s=e.skewY||0,c=[];return(t||r)&&c.push("translate("+t+"px,"+r+"px)"),n&&c.push("rotate("+n+")"),(i!==1||a!==1)&&c.push("scale("+i+","+a+")"),(o||s)&&c.push("skew("+Xb(o*W1)+"deg, "+Xb(s*W1)+"deg)"),c.join(" ")}var nye=function(){return gr.hasGlobalWindow&&nr(window.btoa)?function(e){return window.btoa(unescape(encodeURIComponent(e)))}:typeof Buffer<"u"?function(e){return Buffer.from(e).toString("base64")}:function(e){return null}}(),oA=Array.prototype.slice;function zl(e,t,r){return(t-e)*r+e}function nT(e,t,r,n){for(var i=t.length,a=0;an?t:e,a=Math.min(r,n),o=i[a-1]||{color:[0,0,0,0],offset:0},s=a;so;if(s)n.length=o;else for(var c=a;c=1},e.prototype.getAdditiveTrack=function(){return this._additiveTrack},e.prototype.addKeyframe=function(t,r,n){this._needsSort=!0;var i=this.keyframes,a=i.length,o=!1,s=LO,c=r;if(Ba(r)){var d=sye(r);s=d,(d===1&&!In(r[0])||d===2&&!In(r[0][0]))&&(o=!0)}else if(In(r)&&!jb(r))s=j0;else if(Wt(r))if(!isNaN(+r))s=j0;else{var m=Ks(r);m&&(c=m,s=ng)}else if(Qx(r)){var v=St({},c);v.colorStops=Yt(r.colorStops,function(_){return{offset:_.offset,color:Ks(_.color)}}),$7(r)?s=sA:N7(r)&&(s=lA),c=v}a===0?this.valType=s:(s!==this.valType||s===LO)&&(o=!0),this.discrete=this.discrete||o;var y={time:t,value:c,rawValue:r,percent:0};return n&&(y.easing=n,y.easingFunc=nr(n)?n:Ig[n]||GE(n)),i.push(y),y},e.prototype.prepare=function(t,r){var n=this.keyframes;this._needsSort&&n.sort(function(I,E){return I.time-E.time});for(var i=this.valType,a=n.length,o=n[a-1],s=this.discrete,c=H0(i),d=kO(i),m=0;m=0&&!(o[m].percent<=r);m--);m=y(m,s-2)}else{for(m=v;mr);m++);m=y(m-1,s-2)}S=o[m+1],_=o[m]}if(_&&S){this._lastFr=m,this._lastFrP=r;var E=S.percent-_.percent,M=E===0?1:y((r-_.percent)/E,1);S.easingFunc&&(M=S.easingFunc(M));var L=n?this._additiveValue:d?Rv:t[c];if((H0(a)||d)&&!L&&(L=this._additiveValue=[]),this.discrete)t[c]=M<1?_.rawValue:S.rawValue;else if(H0(a))a===K1?nT(L,_[i],S[i],M):iye(L,_[i],S[i],M);else if(kO(a)){var R=_[i],$=S[i],G=a===sA;t[c]={type:G?"linear":"radial",x:zl(R.x,$.x,M),y:zl(R.y,$.y,M),colorStops:Yt(R.colorStops,function(H,Z){var Q=$.colorStops[Z];return{offset:zl(H.offset,Q.offset,M),color:X1(nT([],H.color,Q.color,M))}}),global:$.global},G?(t[c].x2=zl(R.x2,$.x2,M),t[c].y2=zl(R.y2,$.y2,M)):t[c].r=zl(R.r,$.r,M)}else if(d)nT(L,_[i],S[i],M),n||(t[c]=X1(L));else{var j=zl(_[i],S[i],M);n?this._additiveValue=j:t[c]=j}n&&this._addToTarget(t)}}},e.prototype._addToTarget=function(t){var r=this.valType,n=this.propName,i=this._additiveValue;r===j0?t[n]=t[n]+i:r===ng?(Ks(t[n],Rv),V0(Rv,Rv,i,1),t[n]=X1(Rv)):r===K1?V0(t[n],t[n],i,1):r===U7&&DO(t[n],t[n],i,1)},e}(),qE=function(){function e(t,r,n,i){if(this._tracks={},this._trackKeys=[],this._maxTime=0,this._started=0,this._clip=null,this._target=t,this._loop=r,r&&i){FE("Can' use additive animation on looped animation.");return}this._additiveAnimators=i,this._allowDiscrete=n}return e.prototype.getMaxTime=function(){return this._maxTime},e.prototype.getDelay=function(){return this._delay},e.prototype.getLoop=function(){return this._loop},e.prototype.getTarget=function(){return this._target},e.prototype.changeTarget=function(t){this._target=t},e.prototype.when=function(t,r,n){return this.whenWithKeys(t,r,Ur(r),n)},e.prototype.whenWithKeys=function(t,r,n,i){for(var a=this._tracks,o=0;o0&&c.addKeyframe(0,Z1(d),i),this._trackKeys.push(s)}c.addKeyframe(t,Z1(r[s]),i)}return this._maxTime=Math.max(this._maxTime,t),this},e.prototype.pause=function(){this._clip.pause(),this._paused=!0},e.prototype.resume=function(){this._clip.resume(),this._paused=!1},e.prototype.isPaused=function(){return!!this._paused},e.prototype.duration=function(t){return this._maxTime=t,this._force=!0,this},e.prototype._doneCallback=function(){this._setTracksFinished(),this._clip=null;var t=this._doneCbs;if(t)for(var r=t.length,n=0;n0)){this._started=1;for(var r=this,n=[],i=this._maxTime||0,a=0;a1){var s=o.pop();a.addKeyframe(s.time,t[i]),a.prepare(this._maxTime,a.getAdditiveTrack())}}}},e}();function Hd(){return new Date().getTime()}var uye=function(e){mt(t,e);function t(r){var n=e.call(this)||this;return n._running=!1,n._time=0,n._pausedTime=0,n._pauseStart=0,n._paused=!1,r=r||{},n.stage=r.stage||{},n}return t.prototype.addClip=function(r){r.animation&&this.removeClip(r),this._head?(this._tail.next=r,r.prev=this._tail,r.next=null,this._tail=r):this._head=this._tail=r,r.animation=this},t.prototype.addAnimator=function(r){r.animation=this;var n=r.getClip();n&&this.addClip(n)},t.prototype.removeClip=function(r){if(r.animation){var n=r.prev,i=r.next;n?n.next=i:this._head=i,i?i.prev=n:this._tail=n,r.next=r.prev=r.animation=null}},t.prototype.removeAnimator=function(r){var n=r.getClip();n&&this.removeClip(n),r.animation=null},t.prototype.update=function(r){for(var n=Hd()-this._pausedTime,i=n-this._time,a=this._head;a;){var o=a.next,s=a.step(n,i);s&&(a.ondestroy(),this.removeClip(a)),a=o}this._time=n,r||(this.trigger("frame",i),this.stage.update&&this.stage.update())},t.prototype._startLoop=function(){var r=this;this._running=!0;function n(){r._running&&(Hb(n),!r._paused&&r.update())}Hb(n)},t.prototype.start=function(){this._running||(this._time=Hd(),this._pausedTime=0,this._startLoop())},t.prototype.stop=function(){this._running=!1},t.prototype.pause=function(){this._paused||(this._pauseStart=Hd(),this._paused=!0)},t.prototype.resume=function(){this._paused&&(this._pausedTime+=Hd()-this._pauseStart,this._paused=!1)},t.prototype.clear=function(){for(var r=this._head;r;){var n=r.next;r.prev=r.next=r.animation=null,r=n}this._head=this._tail=null},t.prototype.isFinished=function(){return this._head==null},t.prototype.animate=function(r,n){n=n||{},this.start();var i=new qE(r,n.loop);return this.addAnimator(i),i},t}(ys),cye=300,iT=gr.domSupported,aT=function(){var e=["click","dblclick","mousewheel","wheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],t=["touchstart","touchend","touchmove"],r={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},n=Yt(e,function(i){var a=i.replace("mouse","pointer");return r.hasOwnProperty(a)?a:i});return{mouse:e,touch:t,pointer:n}}(),RO={mouse:["mousemove","mouseup"],pointer:["pointermove","pointerup"]},OO=!1;function uA(e){var t=e.pointerType;return t==="pen"||t==="touch"}function hye(e){e.touching=!0,e.touchTimer!=null&&(clearTimeout(e.touchTimer),e.touchTimer=null),e.touchTimer=setTimeout(function(){e.touching=!1,e.touchTimer=null},700)}function oT(e){e&&(e.zrByTouch=!0)}function fye(e,t){return So(e.dom,new dye(e,t),!0)}function G7(e,t){for(var r=t,n=!1;r&&r.nodeType!==9&&!(n=r.domBelongToZr||r!==t&&r===e.painterRoot);)r=r.parentNode;return n}var dye=function(){function e(t,r){this.stopPropagation=na,this.stopImmediatePropagation=na,this.preventDefault=na,this.type=r.type,this.target=this.currentTarget=t.dom,this.pointerType=r.pointerType,this.clientX=r.clientX,this.clientY=r.clientY}return e}(),rs={mousedown:function(e){e=So(this.dom,e),this.__mayPointerCapture=[e.zrX,e.zrY],this.trigger("mousedown",e)},mousemove:function(e){e=So(this.dom,e);var t=this.__mayPointerCapture;t&&(e.zrX!==t[0]||e.zrY!==t[1])&&this.__togglePointerCapture(!0),this.trigger("mousemove",e)},mouseup:function(e){e=So(this.dom,e),this.__togglePointerCapture(!1),this.trigger("mouseup",e)},mouseout:function(e){e=So(this.dom,e);var t=e.toElement||e.relatedTarget;G7(this,t)||(this.__pointerCapturing&&(e.zrEventControl="no_globalout"),this.trigger("mouseout",e))},wheel:function(e){OO=!0,e=So(this.dom,e),this.trigger("mousewheel",e)},mousewheel:function(e){OO||(e=So(this.dom,e),this.trigger("mousewheel",e))},touchstart:function(e){e=So(this.dom,e),oT(e),this.__lastTouchMoment=new Date,this.handler.processGesture(e,"start"),rs.mousemove.call(this,e),rs.mousedown.call(this,e)},touchmove:function(e){e=So(this.dom,e),oT(e),this.handler.processGesture(e,"change"),rs.mousemove.call(this,e)},touchend:function(e){e=So(this.dom,e),oT(e),this.handler.processGesture(e,"end"),rs.mouseup.call(this,e),+new Date-+this.__lastTouchMomentFO||e<-FO}var sh=[],yd=[],lT=ap(),uT=Math.abs,yye=function(){function e(){}return e.prototype.getLocalTransform=function(t){return e.getLocalTransform(this,t)},e.prototype.setPosition=function(t){this.x=t[0],this.y=t[1]},e.prototype.setScale=function(t){this.scaleX=t[0],this.scaleY=t[1]},e.prototype.setSkew=function(t){this.skewX=t[0],this.skewY=t[1]},e.prototype.setOrigin=function(t){this.originX=t[0],this.originY=t[1]},e.prototype.needLocalTransform=function(){return oh(this.rotation)||oh(this.x)||oh(this.y)||oh(this.scaleX-1)||oh(this.scaleY-1)||oh(this.skewX)||oh(this.skewY)},e.prototype.updateTransform=function(){var t=this.parent&&this.parent.transform,r=this.needLocalTransform(),n=this.transform;if(!(r||t)){n&&(BO(n),this.invTransform=null);return}n=n||ap(),r?this.getLocalTransform(n):BO(n),t&&(r?op(n,t,n):Dge(n,t)),this.transform=n,this._resolveGlobalScaleRatio(n)},e.prototype._resolveGlobalScaleRatio=function(t){var r=this.globalScaleRatio;if(r!=null&&r!==1){this.getGlobalScale(sh);var n=sh[0]<0?-1:1,i=sh[1]<0?-1:1,a=((sh[0]-n)*r+n)/sh[0]||0,o=((sh[1]-i)*r+i)/sh[1]||0;t[0]*=a,t[1]*=a,t[2]*=o,t[3]*=o}this.invTransform=this.invTransform||ap(),UE(this.invTransform,t)},e.prototype.getComputedTransform=function(){for(var t=this,r=[];t;)r.push(t),t=t.parent;for(;t=r.pop();)t.updateTransform();return this.transform},e.prototype.setLocalTransform=function(t){if(t){var r=t[0]*t[0]+t[1]*t[1],n=t[2]*t[2]+t[3]*t[3],i=Math.atan2(t[1],t[0]),a=Math.PI/2+i-Math.atan2(t[3],t[2]);n=Math.sqrt(n)*Math.cos(a),r=Math.sqrt(r),this.skewX=a,this.skewY=0,this.rotation=-i,this.x=+t[4],this.y=+t[5],this.scaleX=r,this.scaleY=n,this.originX=0,this.originY=0}},e.prototype.decomposeTransform=function(){if(this.transform){var t=this.parent,r=this.transform;t&&t.transform&&(t.invTransform=t.invTransform||ap(),op(yd,t.invTransform,r),r=yd);var n=this.originX,i=this.originY;(n||i)&&(lT[4]=n,lT[5]=i,op(yd,r,lT),yd[4]-=n,yd[5]-=i,r=yd),this.setLocalTransform(r)}},e.prototype.getGlobalScale=function(t){var r=this.transform;return t=t||[],r?(t[0]=Math.sqrt(r[0]*r[0]+r[1]*r[1]),t[1]=Math.sqrt(r[2]*r[2]+r[3]*r[3]),r[0]<0&&(t[0]=-t[0]),r[3]<0&&(t[1]=-t[1]),t):(t[0]=1,t[1]=1,t)},e.prototype.transformCoordToLocal=function(t,r){var n=[t,r],i=this.invTransform;return i&&ko(n,n,i),n},e.prototype.transformCoordToGlobal=function(t,r){var n=[t,r],i=this.transform;return i&&ko(n,n,i),n},e.prototype.getLineScale=function(){var t=this.transform;return t&&uT(t[0]-1)>1e-10&&uT(t[3]-1)>1e-10?Math.sqrt(uT(t[0]*t[3]-t[2]*t[1])):1},e.prototype.copyTransform=function(t){q7(this,t)},e.getLocalTransform=function(t,r){r=r||[];var n=t.originX||0,i=t.originY||0,a=t.scaleX,o=t.scaleY,s=t.anchorX,c=t.anchorY,d=t.rotation||0,m=t.x,v=t.y,y=t.skewX?Math.tan(t.skewX):0,_=t.skewY?Math.tan(-t.skewY):0;if(n||i||s||c){var S=n+s,I=i+c;r[4]=-S*a-y*I*o,r[5]=-I*o-_*S*a}else r[4]=r[5]=0;return r[0]=a,r[3]=o,r[1]=_*a,r[2]=y*o,d&&HE(r,r,d),r[4]+=n+m,r[5]+=i+v,r},e.initDefaultProps=function(){var t=e.prototype;t.scaleX=t.scaleY=t.globalScaleRatio=1,t.x=t.y=t.originX=t.originY=t.skewX=t.skewY=t.rotation=t.anchorX=t.anchorY=0}(),e}(),cy=["x","y","originX","originY","anchorX","anchorY","rotation","scaleX","scaleY","skewX","skewY"];function q7(e,t){for(var r=0;r=0?parseFloat(e)/100*t:parseFloat(e):e}function Z7(e,t,r){var n=t.position||"inside",i=t.distance!=null?t.distance:5,a=r.height,o=r.width,s=a/2,c=r.x,d=r.y,m="left",v="top";if(n instanceof Array)c+=of(n[0],r.width),d+=of(n[1],r.height),m=null,v=null;else switch(n){case"left":c-=i,d+=s,m="right",v="middle";break;case"right":c+=i+o,d+=s,v="middle";break;case"top":c+=o/2,d-=i,m="center",v="bottom";break;case"bottom":c+=o/2,d+=a+i,m="center";break;case"inside":c+=o/2,d+=s,m="center",v="middle";break;case"insideLeft":c+=i,d+=s,v="middle";break;case"insideRight":c+=o-i,d+=s,m="right",v="middle";break;case"insideTop":c+=o/2,d+=i,m="center";break;case"insideBottom":c+=o/2,d+=a-i,m="center",v="bottom";break;case"insideTopLeft":c+=i,d+=i;break;case"insideTopRight":c+=o-i,d+=i,m="right";break;case"insideBottomLeft":c+=i,d+=a-i,v="bottom";break;case"insideBottomRight":c+=o-i,d+=a-i,m="right",v="bottom";break}return e=e||{},e.x=c,e.y=d,e.align=m,e.verticalAlign=v,e}var cT="__zr_normal__",hT=cy.concat(["ignore"]),_ye=Jp(cy,function(e,t){return e[t]=!0,e},{ignore:!1}),_d={},bye=new Kr(0,0,0,0),iw=function(){function e(t){this.id=x7(),this.animators=[],this.currentStates=[],this.states={},this._init(t)}return e.prototype._init=function(t){this.attr(t)},e.prototype.drift=function(t,r,n){switch(this.draggable){case"horizontal":r=0;break;case"vertical":t=0;break}var i=this.transform;i||(i=this.transform=[1,0,0,1,0,0]),i[4]+=t,i[5]+=r,this.decomposeTransform(),this.markRedraw()},e.prototype.beforeUpdate=function(){},e.prototype.afterUpdate=function(){},e.prototype.update=function(){this.updateTransform(),this.__dirty&&this.updateInnerText()},e.prototype.updateInnerText=function(t){var r=this._textContent;if(r&&(!r.ignore||t)){this.textConfig||(this.textConfig={});var n=this.textConfig,i=n.local,a=r.innerTransformable,o=void 0,s=void 0,c=!1;a.parent=i?this:null;var d=!1;if(a.copyTransform(r),n.position!=null){var m=bye;n.layoutRect?m.copy(n.layoutRect):m.copy(this.getBoundingRect()),i||m.applyTransform(this.transform),this.calculateTextPosition?this.calculateTextPosition(_d,n,m):Z7(_d,n,m),a.x=_d.x,a.y=_d.y,o=_d.align,s=_d.verticalAlign;var v=n.origin;if(v&&n.rotation!=null){var y=void 0,_=void 0;v==="center"?(y=m.width*.5,_=m.height*.5):(y=of(v[0],m.width),_=of(v[1],m.height)),d=!0,a.originX=-a.x+y+(i?0:m.x),a.originY=-a.y+_+(i?0:m.y)}}n.rotation!=null&&(a.rotation=n.rotation);var S=n.offset;S&&(a.x+=S[0],a.y+=S[1],d||(a.originX=-S[0],a.originY=-S[1]));var I=n.inside==null?typeof n.position=="string"&&n.position.indexOf("inside")>=0:n.inside,E=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={}),M=void 0,L=void 0,R=void 0;I&&this.canBeInsideText()?(M=n.insideFill,L=n.insideStroke,(M==null||M==="auto")&&(M=this.getInsideTextFill()),(L==null||L==="auto")&&(L=this.getInsideTextStroke(M),R=!0)):(M=n.outsideFill,L=n.outsideStroke,(M==null||M==="auto")&&(M=this.getOutsideFill()),(L==null||L==="auto")&&(L=this.getOutsideStroke(M),R=!0)),M=M||"#000",(M!==E.fill||L!==E.stroke||R!==E.autoStroke||o!==E.align||s!==E.verticalAlign)&&(c=!0,E.fill=M,E.stroke=L,E.autoStroke=R,E.align=o,E.verticalAlign=s,r.setDefaultTextStyle(E)),r.__dirty|=to,c&&r.dirtyStyle(!0)}},e.prototype.canBeInsideText=function(){return!0},e.prototype.getInsideTextFill=function(){return"#fff"},e.prototype.getInsideTextStroke=function(t){return"#000"},e.prototype.getOutsideFill=function(){return this.__zr&&this.__zr.isDarkMode()?dA:fA},e.prototype.getOutsideStroke=function(t){var r=this.__zr&&this.__zr.getBackgroundColor(),n=typeof r=="string"&&Ks(r);n||(n=[255,255,255,1]);for(var i=n[3],a=this.__zr.isDarkMode(),o=0;o<3;o++)n[o]=n[o]*i+(a?0:255)*(1-i);return n[3]=1,tw(n,"rgba")},e.prototype.traverse=function(t,r){},e.prototype.attrKV=function(t,r){t==="textConfig"?this.setTextConfig(r):t==="textContent"?this.setTextContent(r):t==="clipPath"?this.setClipPath(r):t==="extra"?(this.extra=this.extra||{},St(this.extra,r)):this[t]=r},e.prototype.hide=function(){this.ignore=!0,this.markRedraw()},e.prototype.show=function(){this.ignore=!1,this.markRedraw()},e.prototype.attr=function(t,r){if(typeof t=="string")this.attrKV(t,r);else if(sr(t))for(var n=t,i=Ur(n),a=0;a0},e.prototype.getState=function(t){return this.states[t]},e.prototype.ensureState=function(t){var r=this.states;return r[t]||(r[t]={}),r[t]},e.prototype.clearStates=function(t){this.useState(cT,!1,t)},e.prototype.useState=function(t,r,n,i){var a=t===cT,o=this.hasState();if(!(!o&&a)){var s=this.currentStates,c=this.stateTransition;if(!(Zr(s,t)>=0&&(r||s.length===1))){var d;if(this.stateProxy&&!a&&(d=this.stateProxy(t)),d||(d=this.states&&this.states[t]),!d&&!a){FE("State "+t+" not exists.");return}a||this.saveCurrentToNormalState(d);var m=!!(d&&d.hoverLayer||i);m&&this._toggleHoverLayerFlag(!0),this._applyStateObj(t,d,this._normalState,r,!n&&!this.__inHover&&c&&c.duration>0,c);var v=this._textContent,y=this._textGuide;return v&&v.useState(t,r,n,m),y&&y.useState(t,r,n,m),a?(this.currentStates=[],this._normalState={}):r?this.currentStates.push(t):this.currentStates=[t],this._updateAnimationTargets(),this.markRedraw(),!m&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~to),d}}},e.prototype.useStates=function(t,r,n){if(!t.length)this.clearStates();else{var i=[],a=this.currentStates,o=t.length,s=o===a.length;if(s){for(var c=0;c0,S);var I=this._textContent,E=this._textGuide;I&&I.useStates(t,r,y),E&&E.useStates(t,r,y),this._updateAnimationTargets(),this.currentStates=t.slice(),this.markRedraw(),!y&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~to)}},e.prototype.isSilent=function(){for(var t=this.silent,r=this.parent;!t&&r;){if(r.silent){t=!0;break}r=r.parent}return t},e.prototype._updateAnimationTargets=function(){for(var t=0;t=0){var n=this.currentStates.slice();n.splice(r,1),this.useStates(n)}},e.prototype.replaceState=function(t,r,n){var i=this.currentStates.slice(),a=Zr(i,t),o=Zr(i,r)>=0;a>=0?o?i.splice(a,1):i[a]=r:n&&!o&&i.push(r),this.useStates(i)},e.prototype.toggleState=function(t,r){r?this.useState(t,!0):this.removeState(t)},e.prototype._mergeStates=function(t){for(var r={},n,i=0;i=0&&a.splice(o,1)}),this.animators.push(t),n&&n.animation.addAnimator(t),n&&n.wakeUp()},e.prototype.updateDuringAnimation=function(t){this.markRedraw()},e.prototype.stopAnimation=function(t,r){for(var n=this.animators,i=n.length,a=[],o=0;o0&&r.during&&a[0].during(function(S,I){r.during(I)});for(var y=0;y0||i.force&&!o.length){var Z=void 0,Q=void 0,ee=void 0;if(s){Q={},y&&(Z={});for(var $=0;$=0&&(i.splice(a,0,r),this._doAdd(r))}return this},t.prototype.replace=function(r,n){var i=Zr(this._children,r);return i>=0&&this.replaceAt(n,i),this},t.prototype.replaceAt=function(r,n){var i=this._children,a=i[n];if(r&&r!==this&&r.parent!==this&&r!==a){i[n]=r,a.parent=null;var o=this.__zr;o&&a.removeSelfFromZr(o),this._doAdd(r)}return this},t.prototype._doAdd=function(r){r.parent&&r.parent.remove(r),r.parent=this;var n=this.__zr;n&&n!==r.__zr&&r.addSelfToZr(n),n&&n.refresh()},t.prototype.remove=function(r){var n=this.__zr,i=this._children,a=Zr(i,r);return a<0?this:(i.splice(a,1),r.parent=null,n&&r.removeSelfFromZr(n),n&&n.refresh(),this)},t.prototype.removeAll=function(){for(var r=this._children,n=this.__zr,i=0;i0&&(this._stillFrameAccum++,this._stillFrameAccum>this._sleepAfterStill&&this.animation.stop())},e.prototype.setSleepAfterStill=function(t){this._sleepAfterStill=t},e.prototype.wakeUp=function(){this._disposed||(this.animation.start(),this._stillFrameAccum=0)},e.prototype.refreshHover=function(){this._needsRefreshHover=!0},e.prototype.refreshHoverImmediately=function(){this._disposed||(this._needsRefreshHover=!1,this.painter.refreshHover&&this.painter.getType()==="canvas"&&this.painter.refreshHover())},e.prototype.resize=function(t){this._disposed||(t=t||{},this.painter.resize(t.width,t.height),this.handler.resize())},e.prototype.clearAnimation=function(){this._disposed||this.animation.clear()},e.prototype.getWidth=function(){if(!this._disposed)return this.painter.getWidth()},e.prototype.getHeight=function(){if(!this._disposed)return this.painter.getHeight()},e.prototype.setCursorStyle=function(t){this._disposed||this.handler.setCursorStyle(t)},e.prototype.findHover=function(t,r){if(!this._disposed)return this.handler.findHover(t,r)},e.prototype.on=function(t,r,n){return this._disposed||this.handler.on(t,r,n),this},e.prototype.off=function(t,r){this._disposed||this.handler.off(t,r)},e.prototype.trigger=function(t,r){this._disposed||this.handler.trigger(t,r)},e.prototype.clear=function(){if(!this._disposed){for(var t=this.storage.getRoots(),r=0;r0){if(e<=i)return o;if(e>=a)return s}else{if(e>=i)return o;if(e<=a)return s}else{if(e===i)return o;if(e===a)return s}return(e-i)/c*d+o}function li(e,t){switch(e){case"center":case"middle":e="50%";break;case"left":case"top":e="0%";break;case"right":case"bottom":e="100%";break}return Wt(e)?Dye(e).match(/%$/)?parseFloat(e)/100*t:parseFloat(e):e==null?NaN:+e}function ti(e,t,r){return t==null&&(t=10),t=Math.min(Math.max(0,t),Y7),e=(+e).toFixed(t),r?e:+e}function ag(e){return e.sort(function(t,r){return t-r}),e}function Zs(e){if(e=+e,isNaN(e))return 0;if(e>1e-14){for(var t=1,r=0;r<15;r++,t*=10)if(Math.round(e*t)/t===e)return r}return Lye(e)}function Lye(e){var t=e.toString().toLowerCase(),r=t.indexOf("e"),n=r>0?+t.slice(r+1):0,i=r>0?r:t.length,a=t.indexOf("."),o=a<0?0:i-1-a;return Math.max(0,o-n)}function J7(e,t){var r=Math.log,n=Math.LN10,i=Math.floor(r(e[1]-e[0])/n),a=Math.round(r(Math.abs(t[1]-t[0]))/n),o=Math.min(Math.max(-i+a,0),20);return isFinite(o)?o:20}function kye(e,t){var r=Math.max(Zs(e),Zs(t)),n=e+t;return r>Y7?n:ti(n,r)}function Q7(e){var t=Math.PI*2;return(e%t+t)%t}function Yb(e){return e>-jO&&e=10&&t++,t}function eV(e,t){var r=KE(e),n=Math.pow(10,r),i=e/n,a;return i<1.5?a=1:i<2.5?a=2:i<4?a=3:i<7?a=5:a=10,e=a*n,r>=-20?+e.toFixed(r<0?-r:0):e}function Jb(e){var t=parseFloat(e);return t==e&&(t!==0||!Wt(e)||e.indexOf("x")<=0)?t:NaN}function zye(e){return!isNaN(Jb(e))}function tV(){return Math.round(Math.random()*9)}function rV(e,t){return t===0?e:rV(t,e%t)}function HO(e,t){return e==null?t:t==null?e:e*t/rV(e,t)}function Da(e){throw new Error(e)}function UO(e,t,r){return(t-e)*r+e}var nV="series\0",Bye="\0_ec_\0";function ba(e){return e instanceof Array?e:e==null?[]:[e]}function mA(e,t,r){if(e){e[t]=e[t]||{},e.emphasis=e.emphasis||{},e.emphasis[t]=e.emphasis[t]||{};for(var n=0,i=r.length;n=0||a&&Zr(a,c)<0)){var d=n.getShallow(c,t);d!=null&&(o[e[s][0]]=d)}}return o}}var s_e=[["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]],l_e=fy(s_e),u_e=function(){function e(){}return e.prototype.getAreaStyle=function(t,r){return l_e(this,t,r)},e}(),vA=new qy(50);function c_e(e){if(typeof e=="string"){var t=vA.get(e);return t&&t.image}else return e}function eM(e,t,r,n,i){if(e)if(typeof e=="string"){if(t&&t.__zrImageSrc===e||!r)return t;var a=vA.get(e),o={hostEl:r,cb:n,cbPayload:i};return a?(t=a.image,!ow(t)&&a.pending.push(o)):(t=Yp.loadImage(e,WO,WO),t.__zrImageSrc=e,vA.put(e,t.__cachedImgObj={image:t,pending:[o]})),t}else return e;else return t}function WO(){var e=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var t=0;t=o;c++)s-=o;var d=io(r,t);return d>s&&(r="",d=0),s=e-d,i.ellipsis=r,i.ellipsisWidth=d,i.contentWidth=s,i.containerWidth=e,i}function uV(e,t){var r=t.containerWidth,n=t.font,i=t.contentWidth;if(!r)return"";var a=io(e,n);if(a<=r)return e;for(var o=0;;o++){if(a<=i||o>=t.maxIterations){e+=t.ellipsis;break}var s=o===0?f_e(e,i,t.ascCharWidth,t.cnCharWidth):a>0?Math.floor(e.length*i/a):0;e=e.substr(0,s),a=io(e,n)}return e===""&&(e=t.placeholder),e}function f_e(e,t,r,n){for(var i=0,a=0,o=e.length;a_&&d){var S=Math.floor(_/s);v=v.slice(0,S)}if(e&&a&&m!=null)for(var I=lV(m,i,t.ellipsis,{minChar:t.truncateMinChar,placeholder:t.placeholder}),E=0;Es&&vT(r,e.substring(s,d),t,o),vT(r,c[2],t,o,c[1]),s=mT.lastIndex}si){G>0?(L.tokens=L.tokens.slice(0,G),E(L,$,R),r.lines=r.lines.slice(0,M+1)):r.lines=r.lines.slice(0,M);break e}var ie=H.width,ce=ie==null||ie==="auto";if(typeof ie=="string"&&ie.charAt(ie.length-1)==="%")j.percentWidth=ie,m.push(j),j.contentWidth=io(j.text,ee);else{if(ce){var Ae=H.backgroundColor,ue=Ae&&Ae.image;ue&&(ue=c_e(ue),ow(ue)&&(j.width=Math.max(j.width,ue.width*ne/ue.height)))}var _e=S&&n!=null?n-$:null;_e!=null&&_e0&&S+n.accumWidth>n.width&&(m=t.split(` +`),d=!0),n.accumWidth=S}else{var I=cV(t,c,n.width,n.breakAll,n.accumWidth);n.accumWidth=I.accumWidth+_,v=I.linesWidths,m=I.lines}}else m=t.split(` +`);for(var E=0;E=32&&t<=591||t>=880&&t<=4351||t>=4608&&t<=5119||t>=7680&&t<=8303}var y_e=Jp(",&?/;] ".split(""),function(e,t){return e[t]=!0,e},{});function __e(e){return g_e(e)?!!y_e[e]:!0}function cV(e,t,r,n,i){for(var a=[],o=[],s="",c="",d=0,m=0,v=0;vr:i+m+_>r){m?(s||c)&&(S?(s||(s=c,c="",d=0,m=d),a.push(s),o.push(m-d),c+=y,d+=_,s="",m=d):(c&&(s+=c,c="",d=0),a.push(s),o.push(m),s=y,m=_)):S?(a.push(c),o.push(d),c=y,d=_):(a.push(y),o.push(_));continue}m+=_,S?(c+=y,d+=_):(c&&(s+=c,c="",d=0),s+=y)}return!a.length&&!s&&(s=e,c="",d=0),c&&(s+=c),s&&(a.push(s),o.push(m)),a.length===1&&(m+=i),{accumWidth:m,lines:a,linesWidths:o}}var gA="__zr_style_"+Math.round(Math.random()*10),Yh={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},sw={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};Yh[gA]=!0;var ZO=["z","z2","invisible"],b_e=["invisible"],x_e=function(e){mt(t,e);function t(r){return e.call(this,r)||this}return t.prototype._init=function(r){for(var n=Ur(r),i=0;i1e-4){s[0]=e-r,s[1]=t-n,c[0]=e+r,c[1]=t+n;return}if(U0[0]=bT(i)*r+e,U0[1]=_T(i)*n+t,G0[0]=bT(a)*r+e,G0[1]=_T(a)*n+t,d(s,U0,G0),m(c,U0,G0),i=i%uh,i<0&&(i=i+uh),a=a%uh,a<0&&(a=a+uh),i>a&&!o?a+=uh:ii&&(W0[0]=bT(_)*r+e,W0[1]=_T(_)*n+t,d(s,W0,s),m(c,W0,c))}var an={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},ch=[],hh=[],ks=[],Tu=[],Rs=[],Os=[],xT=Math.min,wT=Math.max,fh=Math.cos,dh=Math.sin,Dl=Math.abs,yA=Math.PI,Ru=yA*2,ST=typeof Float32Array<"u",Ov=[];function TT(e){var t=Math.round(e/yA*1e8)/1e8;return t%2*yA}function P_e(e,t){var r=TT(e[0]);r<0&&(r+=Ru);var n=r-e[0],i=e[1];i+=n,!t&&i-r>=Ru?i=r+Ru:t&&r-i>=Ru?i=r-Ru:!t&&r>i?i=r+(Ru-TT(r-i)):t&&r0&&(this._ux=Dl(n/Kb/t)||0,this._uy=Dl(n/Kb/r)||0)},e.prototype.setDPR=function(t){this.dpr=t},e.prototype.setContext=function(t){this._ctx=t},e.prototype.getContext=function(){return this._ctx},e.prototype.beginPath=function(){return this._ctx&&this._ctx.beginPath(),this.reset(),this},e.prototype.reset=function(){this._saveData&&(this._len=0),this._pathSegLen&&(this._pathSegLen=null,this._pathLen=0),this._version++},e.prototype.moveTo=function(t,r){return this._drawPendingPt(),this.addData(an.M,t,r),this._ctx&&this._ctx.moveTo(t,r),this._x0=t,this._y0=r,this._xi=t,this._yi=r,this},e.prototype.lineTo=function(t,r){var n=Dl(t-this._xi),i=Dl(r-this._yi),a=n>this._ux||i>this._uy;if(this.addData(an.L,t,r),this._ctx&&a&&this._ctx.lineTo(t,r),a)this._xi=t,this._yi=r,this._pendingPtDist=0;else{var o=n*n+i*i;o>this._pendingPtDist&&(this._pendingPtX=t,this._pendingPtY=r,this._pendingPtDist=o)}return this},e.prototype.bezierCurveTo=function(t,r,n,i,a,o){return this._drawPendingPt(),this.addData(an.C,t,r,n,i,a,o),this._ctx&&this._ctx.bezierCurveTo(t,r,n,i,a,o),this._xi=a,this._yi=o,this},e.prototype.quadraticCurveTo=function(t,r,n,i){return this._drawPendingPt(),this.addData(an.Q,t,r,n,i),this._ctx&&this._ctx.quadraticCurveTo(t,r,n,i),this._xi=n,this._yi=i,this},e.prototype.arc=function(t,r,n,i,a,o){this._drawPendingPt(),Ov[0]=i,Ov[1]=a,P_e(Ov,o),i=Ov[0],a=Ov[1];var s=a-i;return this.addData(an.A,t,r,n,n,i,s,0,o?0:1),this._ctx&&this._ctx.arc(t,r,n,i,a,o),this._xi=fh(a)*n+t,this._yi=dh(a)*n+r,this},e.prototype.arcTo=function(t,r,n,i,a){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(t,r,n,i,a),this},e.prototype.rect=function(t,r,n,i){return this._drawPendingPt(),this._ctx&&this._ctx.rect(t,r,n,i),this.addData(an.R,t,r,n,i),this},e.prototype.closePath=function(){this._drawPendingPt(),this.addData(an.Z);var t=this._ctx,r=this._x0,n=this._y0;return t&&t.closePath(),this._xi=r,this._yi=n,this},e.prototype.fill=function(t){t&&t.fill(),this.toStatic()},e.prototype.stroke=function(t){t&&t.stroke(),this.toStatic()},e.prototype.len=function(){return this._len},e.prototype.setData=function(t){var r=t.length;!(this.data&&this.data.length===r)&&ST&&(this.data=new Float32Array(r));for(var n=0;nm.length&&(this._expandData(),m=this.data);for(var v=0;v0&&(this._ctx&&this._ctx.lineTo(this._pendingPtX,this._pendingPtY),this._pendingPtDist=0)},e.prototype._expandData=function(){if(!(this.data instanceof Array)){for(var t=[],r=0;r11&&(this.data=new Float32Array(t)))}},e.prototype.getBoundingRect=function(){ks[0]=ks[1]=Rs[0]=Rs[1]=Number.MAX_VALUE,Tu[0]=Tu[1]=Os[0]=Os[1]=-Number.MAX_VALUE;var t=this.data,r=0,n=0,i=0,a=0,o;for(o=0;on||Dl(R)>i||y===r-1)&&(I=Math.sqrt(L*L+R*R),a=E,o=M);break}case an.C:{var $=t[y++],G=t[y++],E=t[y++],M=t[y++],j=t[y++],H=t[y++];I=Hge(a,o,$,G,E,M,j,H,10),a=j,o=H;break}case an.Q:{var $=t[y++],G=t[y++],E=t[y++],M=t[y++];I=Wge(a,o,$,G,E,M,10),a=E,o=M;break}case an.A:var Z=t[y++],Q=t[y++],ee=t[y++],ne=t[y++],ie=t[y++],ce=t[y++],Ae=ce+ie;y+=1,S&&(s=fh(ie)*ee+Z,c=dh(ie)*ne+Q),I=wT(ee,ne)*xT(Ru,Math.abs(ce)),a=fh(Ae)*ee+Z,o=dh(Ae)*ne+Q;break;case an.R:{s=a=t[y++],c=o=t[y++];var ue=t[y++],_e=t[y++];I=ue*2+_e*2;break}case an.Z:{var L=s-a,R=c-o;I=Math.sqrt(L*L+R*R),a=s,o=c;break}}I>=0&&(d[v++]=I,m+=I)}return this._pathLen=m,m},e.prototype.rebuildPath=function(t,r){var n=this.data,i=this._ux,a=this._uy,o=this._len,s,c,d,m,v,y,_=r<1,S,I,E=0,M=0,L,R=0,$,G;if(!(_&&(this._pathSegLen||this._calculateLength(),S=this._pathSegLen,I=this._pathLen,L=r*I,!L)))e:for(var j=0;j0&&(t.lineTo($,G),R=0),H){case an.M:s=d=n[j++],c=m=n[j++],t.moveTo(d,m);break;case an.L:{v=n[j++],y=n[j++];var Q=Dl(v-d),ee=Dl(y-m);if(Q>i||ee>a){if(_){var ne=S[M++];if(E+ne>L){var ie=(L-E)/ne;t.lineTo(d*(1-ie)+v*ie,m*(1-ie)+y*ie);break e}E+=ne}t.lineTo(v,y),d=v,m=y,R=0}else{var ce=Q*Q+ee*ee;ce>R&&($=v,G=y,R=ce)}break}case an.C:{var Ae=n[j++],ue=n[j++],_e=n[j++],He=n[j++],$e=n[j++],lt=n[j++];if(_){var ne=S[M++];if(E+ne>L){var ie=(L-E)/ne;Wb(d,Ae,_e,$e,ie,ch),Wb(m,ue,He,lt,ie,hh),t.bezierCurveTo(ch[1],hh[1],ch[2],hh[2],ch[3],hh[3]);break e}E+=ne}t.bezierCurveTo(Ae,ue,_e,He,$e,lt),d=$e,m=lt;break}case an.Q:{var Ae=n[j++],ue=n[j++],_e=n[j++],He=n[j++];if(_){var ne=S[M++];if(E+ne>L){var ie=(L-E)/ne;qb(d,Ae,_e,ie,ch),qb(m,ue,He,ie,hh),t.quadraticCurveTo(ch[1],hh[1],ch[2],hh[2]);break e}E+=ne}t.quadraticCurveTo(Ae,ue,_e,He),d=_e,m=He;break}case an.A:var Ct=n[j++],Ut=n[j++],Vt=n[j++],lr=n[j++],ur=n[j++],yr=n[j++],ir=n[j++],Ge=!n[j++],st=Vt>lr?Vt:lr,tt=Dl(Vt-lr)>.001,ft=ur+yr,dt=!1;if(_){var ne=S[M++];E+ne>L&&(ft=ur+yr*(L-E)/ne,dt=!0),E+=ne}if(tt&&t.ellipse?t.ellipse(Ct,Ut,Vt,lr,ir,ur,ft,Ge):t.arc(Ct,Ut,st,ur,ft,Ge),dt)break e;Z&&(s=fh(ur)*Vt+Ct,c=dh(ur)*lr+Ut),d=fh(ft)*Vt+Ct,m=dh(ft)*lr+Ut;break;case an.R:s=d=n[j],c=m=n[j+1],v=n[j++],y=n[j++];var Dt=n[j++],fe=n[j++];if(_){var ne=S[M++];if(E+ne>L){var ge=L-E;t.moveTo(v,y),t.lineTo(v+xT(ge,Dt),y),ge-=Dt,ge>0&&t.lineTo(v+Dt,y+xT(ge,fe)),ge-=fe,ge>0&&t.lineTo(v+wT(Dt-ge,0),y+fe),ge-=Dt,ge>0&&t.lineTo(v,y+wT(fe-ge,0));break e}E+=ne}t.rect(v,y,Dt,fe);break;case an.Z:if(_){var ne=S[M++];if(E+ne>L){var ie=(L-E)/ne;t.lineTo(d*(1-ie)+s*ie,m*(1-ie)+c*ie);break e}E+=ne}t.closePath(),d=s,m=c}}},e.prototype.clone=function(){var t=new e,r=this.data;return t.data=r.slice?r.slice():Array.prototype.slice.call(r),t._len=this._len,t},e.CMD=an,e.initDefaultProps=function(){var t=e.prototype;t._saveData=!0,t._ux=0,t._uy=0,t._pendingPtDist=0,t._version=0}(),e}();function Vu(e,t,r,n,i,a,o){if(i===0)return!1;var s=i,c=0,d=e;if(o>t+s&&o>n+s||oe+s&&a>r+s||at+v&&m>n+v&&m>a+v&&m>s+v||me+v&&d>r+v&&d>i+v&&d>o+v||dt+d&&c>n+d&&c>a+d||ce+d&&s>r+d&&s>i+d||sr||m+di&&(i+=zv);var y=Math.atan2(c,s);return y<0&&(y+=zv),y>=n&&y<=i||y+zv>=n&&y+zv<=i}function ph(e,t,r,n,i,a){if(a>t&&a>n||ai?s:0}var Cu=oc.CMD,mh=Math.PI*2,E_e=1e-4;function M_e(e,t){return Math.abs(e-t)t&&d>n&&d>a&&d>s||d1&&D_e(),_=Oi(t,n,a,s,Co[0]),y>1&&(S=Oi(t,n,a,s,Co[1]))),y===2?Et&&s>n&&s>a||s=0&&d<=1){for(var m=0,v=va(t,n,a,d),y=0;yr||s<-r)return 0;var c=Math.sqrt(r*r-s*s);ma[0]=-c,ma[1]=c;var d=Math.abs(n-i);if(d<1e-4)return 0;if(d>=mh-1e-4){n=0,i=mh;var m=a?1:-1;return o>=ma[0]+e&&o<=ma[1]+e?m:0}if(n>i){var v=n;n=i,i=v}n<0&&(n+=mh,i+=mh);for(var y=0,_=0;_<2;_++){var S=ma[_];if(S+e>o){var I=Math.atan2(s,S),m=a?1:-1;I<0&&(I=mh+I),(I>=n&&I<=i||I+mh>=n&&I+mh<=i)&&(I>Math.PI/2&&I1&&(r||(s+=ph(c,d,m,v,n,i))),E&&(c=a[S],d=a[S+1],m=c,v=d),I){case Cu.M:m=a[S++],v=a[S++],c=m,d=v;break;case Cu.L:if(r){if(Vu(c,d,a[S],a[S+1],t,n,i))return!0}else s+=ph(c,d,a[S],a[S+1],n,i)||0;c=a[S++],d=a[S++];break;case Cu.C:if(r){if(A_e(c,d,a[S++],a[S++],a[S++],a[S++],a[S],a[S+1],t,n,i))return!0}else s+=L_e(c,d,a[S++],a[S++],a[S++],a[S++],a[S],a[S+1],n,i)||0;c=a[S++],d=a[S++];break;case Cu.Q:if(r){if(hV(c,d,a[S++],a[S++],a[S],a[S+1],t,n,i))return!0}else s+=k_e(c,d,a[S++],a[S++],a[S],a[S+1],n,i)||0;c=a[S++],d=a[S++];break;case Cu.A:var M=a[S++],L=a[S++],R=a[S++],$=a[S++],G=a[S++],j=a[S++];S+=1;var H=!!(1-a[S++]);y=Math.cos(G)*R+M,_=Math.sin(G)*$+L,E?(m=y,v=_):s+=ph(c,d,y,_,n,i);var Z=(n-M)*$/R+M;if(r){if(I_e(M,L,$,G,G+j,H,t,Z,i))return!0}else s+=R_e(M,L,$,G,G+j,H,Z,i);c=Math.cos(G+j)*R+M,d=Math.sin(G+j)*$+L;break;case Cu.R:m=c=a[S++],v=d=a[S++];var Q=a[S++],ee=a[S++];if(y=m+Q,_=v+ee,r){if(Vu(m,v,y,v,t,n,i)||Vu(y,v,y,_,t,n,i)||Vu(y,_,m,_,t,n,i)||Vu(m,_,m,v,t,n,i))return!0}else s+=ph(y,v,y,_,n,i),s+=ph(m,_,m,v,n,i);break;case Cu.Z:if(r){if(Vu(c,d,m,v,t,n,i))return!0}else s+=ph(c,d,m,v,n,i);c=m,d=v;break}}return!r&&!M_e(d,v)&&(s+=ph(c,d,m,v,n,i)||0),s!==0}function O_e(e,t,r){return fV(e,0,!1,t,r)}function z_e(e,t,r,n){return fV(e,t,!0,r,n)}var Qb=sn({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},Yh),B_e={style:sn({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},sw.style)},CT=cy.concat(["invisible","culling","z","z2","zlevel","parent"]),tn=function(e){mt(t,e);function t(r){return e.call(this,r)||this}return t.prototype.update=function(){var r=this;e.prototype.update.call(this);var n=this.style;if(n.decal){var i=this._decalEl=this._decalEl||new t;i.buildPath===t.prototype.buildPath&&(i.buildPath=function(c){r.buildPath(c,r.shape)}),i.silent=!0;var a=i.style;for(var o in n)a[o]!==n[o]&&(a[o]=n[o]);a.fill=n.fill?n.decal:null,a.decal=null,a.shadowColor=null,n.strokeFirst&&(a.stroke=null);for(var s=0;s.5?fA:n>.2?gye:dA}else if(r)return dA}return fA},t.prototype.getInsideTextStroke=function(r){var n=this.style.fill;if(Wt(n)){var i=this.__zr,a=!!(i&&i.isDarkMode()),o=Zb(r,0)0))},t.prototype.hasFill=function(){var r=this.style,n=r.fill;return n!=null&&n!=="none"},t.prototype.getBoundingRect=function(){var r=this._rect,n=this.style,i=!r;if(i){var a=!1;this.path||(a=!0,this.createPathProxy());var o=this.path;(a||this.__dirty&kd)&&(o.beginPath(),this.buildPath(o,this.shape,!1),this.pathUpdated()),r=o.getBoundingRect()}if(this._rect=r,this.hasStroke()&&this.path&&this.path.len()>0){var s=this._rectStroke||(this._rectStroke=r.clone());if(this.__dirty||i){s.copy(r);var c=n.strokeNoScale?this.getLineScale():1,d=n.lineWidth;if(!this.hasFill()){var m=this.strokeContainThreshold;d=Math.max(d,m??4)}c>1e-10&&(s.width+=d/c,s.height+=d/c,s.x-=d/c/2,s.y-=d/c/2)}return s}return r},t.prototype.contain=function(r,n){var i=this.transformCoordToLocal(r,n),a=this.getBoundingRect(),o=this.style;if(r=i[0],n=i[1],a.contain(r,n)){var s=this.path;if(this.hasStroke()){var c=o.lineWidth,d=o.strokeNoScale?this.getLineScale():1;if(d>1e-10&&(this.hasFill()||(c=Math.max(c,this.strokeContainThreshold)),z_e(s,c/d,r,n)))return!0}if(this.hasFill())return O_e(s,r,n)}return!1},t.prototype.dirtyShape=function(){this.__dirty|=kd,this._rect&&(this._rect=null),this._decalEl&&this._decalEl.dirtyShape(),this.markRedraw()},t.prototype.dirty=function(){this.dirtyStyle(),this.dirtyShape()},t.prototype.animateShape=function(r){return this.animate("shape",r)},t.prototype.updateDuringAnimation=function(r){r==="style"?this.dirtyStyle():r==="shape"?this.dirtyShape():this.markRedraw()},t.prototype.attrKV=function(r,n){r==="shape"?this.setShape(n):e.prototype.attrKV.call(this,r,n)},t.prototype.setShape=function(r,n){var i=this.shape;return i||(i=this.shape={}),typeof r=="string"?i[r]=n:St(i,r),this.dirtyShape(),this},t.prototype.shapeChanged=function(){return!!(this.__dirty&kd)},t.prototype.createStyle=function(r){return ew(Qb,r)},t.prototype._innerSaveToNormal=function(r){e.prototype._innerSaveToNormal.call(this,r);var n=this._normalState;r.shape&&!n.shape&&(n.shape=St({},this.shape))},t.prototype._applyStateObj=function(r,n,i,a,o,s){e.prototype._applyStateObj.call(this,r,n,i,a,o,s);var c=!(n&&a),d;if(n&&n.shape?o?a?d=n.shape:(d=St({},i.shape),St(d,n.shape)):(d=St({},a?this.shape:i.shape),St(d,n.shape)):c&&(d=i.shape),d)if(o){this.shape=St({},this.shape);for(var m={},v=Ur(d),y=0;y0},t.prototype.hasFill=function(){var r=this.style,n=r.fill;return n!=null&&n!=="none"},t.prototype.createStyle=function(r){return ew(F_e,r)},t.prototype.setBoundingRect=function(r){this._rect=r},t.prototype.getBoundingRect=function(){var r=this.style;if(!this._rect){var n=r.text;n!=null?n+="":n="";var i=XE(n,r.font,r.textAlign,r.textBaseline);if(i.x+=r.x||0,i.y+=r.y||0,this.hasStroke()){var a=r.lineWidth;i.x-=a/2,i.y-=a/2,i.width+=a,i.height+=a}this._rect=i}return this._rect},t.initDefaultProps=function(){var r=t.prototype;r.dirtyRectTolerance=10}(),t}(Ky);dy.prototype.type="tspan";var $_e=sn({x:0,y:0},Yh),N_e={style:sn({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},sw.style)};function V_e(e){return!!(e&&typeof e!="string"&&e.width&&e.height)}var sl=function(e){mt(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.createStyle=function(r){return ew($_e,r)},t.prototype._getSize=function(r){var n=this.style,i=n[r];if(i!=null)return i;var a=V_e(n.image)?n.image:this.__image;if(!a)return 0;var o=r==="width"?"height":"width",s=n[o];return s==null?a[r]:a[r]/a[o]*s},t.prototype.getWidth=function(){return this._getSize("width")},t.prototype.getHeight=function(){return this._getSize("height")},t.prototype.getAnimationStyleProps=function(){return N_e},t.prototype.getBoundingRect=function(){var r=this.style;return this._rect||(this._rect=new Kr(r.x||0,r.y||0,this.getWidth(),this.getHeight())),this._rect},t}(Ky);sl.prototype.type="image";function j_e(e,t){var r=t.x,n=t.y,i=t.width,a=t.height,o=t.r,s,c,d,m;i<0&&(r=r+i,i=-i),a<0&&(n=n+a,a=-a),typeof o=="number"?s=c=d=m=o:o instanceof Array?o.length===1?s=c=d=m=o[0]:o.length===2?(s=d=o[0],c=m=o[1]):o.length===3?(s=o[0],c=m=o[1],d=o[2]):(s=o[0],c=o[1],d=o[2],m=o[3]):s=c=d=m=0;var v;s+c>i&&(v=s+c,s*=i/v,c*=i/v),d+m>i&&(v=d+m,d*=i/v,m*=i/v),c+d>a&&(v=c+d,c*=a/v,d*=a/v),s+m>a&&(v=s+m,s*=a/v,m*=a/v),e.moveTo(r+s,n),e.lineTo(r+i-c,n),c!==0&&e.arc(r+i-c,n+c,c,-Math.PI/2,0),e.lineTo(r+i,n+a-d),d!==0&&e.arc(r+i-d,n+a-d,d,0,Math.PI/2),e.lineTo(r+m,n+a),m!==0&&e.arc(r+m,n+a-m,m,Math.PI/2,Math.PI),e.lineTo(r,n+s),s!==0&&e.arc(r+s,n+s,s,Math.PI,Math.PI*1.5)}var Ud=Math.round;function dV(e,t,r){if(t){var n=t.x1,i=t.x2,a=t.y1,o=t.y2;e.x1=n,e.x2=i,e.y1=a,e.y2=o;var s=r&&r.lineWidth;return s&&(Ud(n*2)===Ud(i*2)&&(e.x1=e.x2=Bh(n,s,!0)),Ud(a*2)===Ud(o*2)&&(e.y1=e.y2=Bh(a,s,!0))),e}}function pV(e,t,r){if(t){var n=t.x,i=t.y,a=t.width,o=t.height;e.x=n,e.y=i,e.width=a,e.height=o;var s=r&&r.lineWidth;return s&&(e.x=Bh(n,s,!0),e.y=Bh(i,s,!0),e.width=Math.max(Bh(n+a,s,!1)-e.x,a===0?0:1),e.height=Math.max(Bh(i+o,s,!1)-e.y,o===0?0:1)),e}}function Bh(e,t,r){if(!t)return e;var n=Ud(e*2);return(n+Ud(t))%2===0?n/2:(n+(r?1:-1))/2}var H_e=function(){function e(){this.x=0,this.y=0,this.width=0,this.height=0}return e}(),U_e={},Zn=function(e){mt(t,e);function t(r){return e.call(this,r)||this}return t.prototype.getDefaultShape=function(){return new H_e},t.prototype.buildPath=function(r,n){var i,a,o,s;if(this.subPixelOptimize){var c=pV(U_e,n,this.style);i=c.x,a=c.y,o=c.width,s=c.height,c.r=n.r,n=c}else i=n.x,a=n.y,o=n.width,s=n.height;n.r?j_e(r,n):r.rect(i,a,o,s)},t.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},t}(tn);Zn.prototype.type="rect";var QO={fill:"#000"},e4=2,G_e={style:sn({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},sw.style)},Vi=function(e){mt(t,e);function t(r){var n=e.call(this)||this;return n.type="text",n._children=[],n._defaultStyle=QO,n.attr(r),n}return t.prototype.childrenRef=function(){return this._children},t.prototype.update=function(){e.prototype.update.call(this),this.styleChanged()&&this._updateSubTexts();for(var r=0;r0,ie=r.width!=null&&(r.overflow==="truncate"||r.overflow==="break"||r.overflow==="breakAll"),ce=o.calculatedLineHeight,Ae=0;Ae=0&&(Ae=j[ce],Ae.align==="right");)this._placeToken(Ae,r,Z,M,ie,"right",R),Q-=Ae.width,ie-=Ae.width,ce--;for(ne+=(a-(ne-E)-(L-ie)-Q)/2;ee<=ce;)Ae=j[ee],this._placeToken(Ae,r,Z,M,ne+Ae.width/2,"center",R),ne+=Ae.width,ee++;M+=Z}},t.prototype._placeToken=function(r,n,i,a,o,s,c){var d=n.rich[r.styleName]||{};d.text=r.text;var m=r.verticalAlign,v=a+i/2;m==="top"?v=a+r.height/2:m==="bottom"&&(v=a+i-r.height/2);var y=!r.isLineHolder&&PT(d);y&&this._renderBackground(d,n,s==="right"?o-r.width:s==="center"?o-r.width/2:o,v-r.height/2,r.width,r.height);var _=!!d.backgroundColor,S=r.textPadding;S&&(o=o4(o,s,S),v-=r.height/2-S[0]-r.innerHeight/2);var I=this._getOrCreateChild(dy),E=I.createStyle();I.useStyle(E);var M=this._defaultStyle,L=!1,R=0,$=a4("fill"in d?d.fill:"fill"in n?n.fill:(L=!0,M.fill)),G=i4("stroke"in d?d.stroke:"stroke"in n?n.stroke:!_&&!c&&(!M.autoStroke||L)?(R=e4,M.stroke):null),j=d.textShadowBlur>0||n.textShadowBlur>0;E.text=r.text,E.x=o,E.y=v,j&&(E.shadowBlur=d.textShadowBlur||n.textShadowBlur||0,E.shadowColor=d.textShadowColor||n.textShadowColor||"transparent",E.shadowOffsetX=d.textShadowOffsetX||n.textShadowOffsetX||0,E.shadowOffsetY=d.textShadowOffsetY||n.textShadowOffsetY||0),E.textAlign=s,E.textBaseline="middle",E.font=r.font||ac,E.opacity=G1(d.opacity,n.opacity,1),r4(E,d),G&&(E.lineWidth=G1(d.lineWidth,n.lineWidth,R),E.lineDash=wr(d.lineDash,n.lineDash),E.lineDashOffset=n.lineDashOffset||0,E.stroke=G),$&&(E.fill=$);var H=r.contentWidth,Z=r.contentHeight;I.setBoundingRect(new Kr(ig(E.x,H,E.textAlign),Rd(E.y,Z,E.textBaseline),H,Z))},t.prototype._renderBackground=function(r,n,i,a,o,s){var c=r.backgroundColor,d=r.borderWidth,m=r.borderColor,v=c&&c.image,y=c&&!v,_=r.borderRadius,S=this,I,E;if(y||r.lineHeight||d&&m){I=this._getOrCreateChild(Zn),I.useStyle(I.createStyle()),I.style.fill=null;var M=I.shape;M.x=i,M.y=a,M.width=o,M.height=s,M.r=_,I.dirtyShape()}if(y){var L=I.style;L.fill=c||null,L.fillOpacity=wr(r.fillOpacity,1)}else if(v){E=this._getOrCreateChild(sl),E.onload=function(){S.dirtyStyle()};var R=E.style;R.image=c.image,R.x=i,R.y=a,R.width=o,R.height=s}if(d&&m){var L=I.style;L.lineWidth=d,L.stroke=m,L.strokeOpacity=wr(r.strokeOpacity,1),L.lineDash=r.borderDash,L.lineDashOffset=r.borderDashOffset||0,I.strokeContainThreshold=0,I.hasFill()&&I.hasStroke()&&(L.strokeFirst=!0,L.lineWidth*=2)}var $=(I||E).style;$.shadowBlur=r.shadowBlur||0,$.shadowColor=r.shadowColor||"transparent",$.shadowOffsetX=r.shadowOffsetX||0,$.shadowOffsetY=r.shadowOffsetY||0,$.opacity=G1(r.opacity,n.opacity,1)},t.makeFont=function(r){var n="";return vV(r)&&(n=[r.fontStyle,r.fontWeight,mV(r.fontSize),r.fontFamily||"sans-serif"].join(" ")),n&&qs(n)||r.textFont||r.font},t}(Ky),W_e={left:!0,right:1,center:1},q_e={top:1,bottom:1,middle:1},t4=["fontStyle","fontWeight","fontSize","fontFamily"];function mV(e){return typeof e=="string"&&(e.indexOf("px")!==-1||e.indexOf("rem")!==-1||e.indexOf("em")!==-1)?e:isNaN(+e)?OE+"px":e+"px"}function r4(e,t){for(var r=0;r=0,a=!1;if(e instanceof tn){var o=gV(e),s=i&&o.selectFill||o.normalFill,c=i&&o.selectStroke||o.normalStroke;if(bd(s)||bd(c)){n=n||{};var d=n.style||{};d.fill==="inherit"?(a=!0,n=St({},n),d=St({},d),d.fill=s):!bd(d.fill)&&bd(s)?(a=!0,n=St({},n),d=St({},d),d.fill=iA(s)):!bd(d.stroke)&&bd(c)&&(a||(n=St({},n),d=St({},d)),d.stroke=iA(c)),n.style=d}}if(n&&n.z2==null){a||(n=St({},n));var m=e.z2EmphasisLift;n.z2=e.z2+(m??K_e)}return n}function r0e(e,t,r){if(r&&r.z2==null){r=St({},r);var n=e.z2SelectLift;r.z2=e.z2+(n??Y_e)}return r}function n0e(e,t,r){var n=Zr(e.currentStates,t)>=0,i=e.style.opacity,a=n?null:e0e(e,["opacity"],t,{opacity:1});r=r||{};var o=r.style||{};return o.opacity==null&&(r=St({},r),o=St({opacity:n?i:a.opacity*.1},o),r.style=o),r}function AT(e,t){var r=this.states[e];if(this.style){if(e==="emphasis")return t0e(this,e,t,r);if(e==="blur")return n0e(this,e,r);if(e==="select")return r0e(this,e,r)}return r}function i0e(e){e.stateProxy=AT;var t=e.getTextContent(),r=e.getTextGuideLine();t&&(t.stateProxy=AT),r&&(r.stateProxy=AT)}function d4(e,t){!TV(e,t)&&!e.__highByOuter&&Yl(e,yV)}function p4(e,t){!TV(e,t)&&!e.__highByOuter&&Yl(e,_V)}function py(e,t){e.__highByOuter|=1<<(t||0),Yl(e,yV)}function my(e,t){!(e.__highByOuter&=~(1<<(t||0)))&&Yl(e,_V)}function xV(e){Yl(e,nM)}function iM(e){Yl(e,bV)}function wV(e){Yl(e,J_e)}function SV(e){Yl(e,Q_e)}function TV(e,t){return e.__highDownSilentOnTouch&&t.zrByTouch}function CV(e){var t=e.getModel(),r=[],n=[];t.eachComponent(function(i,a){var o=tM(a),s=i==="series",c=s?e.getViewOfSeriesModel(a):e.getViewOfComponentModel(a);!s&&n.push(c),o.isBlured&&(c.group.traverse(function(d){bV(d)}),s&&r.push(a)),o.isBlured=!1}),Te(n,function(i){i&&i.toggleBlurSeries&&i.toggleBlurSeries(r,!1,t)})}function _A(e,t,r,n){var i=n.getModel();r=r||"coordinateSystem";function a(d,m){for(var v=0;v0){var s={dataIndex:o,seriesIndex:r.seriesIndex};a!=null&&(s.dataType=a),t.push(s)}})}),t}function ex(e,t,r){PV(e,!0),Yl(e,i0e),h0e(e,t,r)}function c0e(e){PV(e,!1)}function vy(e,t,r,n){n?c0e(e):ex(e,t,r)}function h0e(e,t,r){var n=Hr(e);t!=null?(n.focus=t,n.blurScope=r):n.focus&&(n.focus=null)}var v4=["emphasis","blur","select"],f0e={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"};function g4(e,t,r,n){r=r||"itemStyle";for(var i=0;i1&&(o*=IT(S),s*=IT(S));var I=(i===a?-1:1)*IT((o*o*(s*s)-o*o*(_*_)-s*s*(y*y))/(o*o*(_*_)+s*s*(y*y)))||0,E=I*o*_/s,M=I*-s*y/o,L=(e+r)/2+X0(v)*E-Z0(v)*M,R=(t+n)/2+Z0(v)*E+X0(v)*M,$=x4([1,0],[(y-E)/o,(_-M)/s]),G=[(y-E)/o,(_-M)/s],j=[(-1*y-E)/o,(-1*_-M)/s],H=x4(G,j);if(SA(G,j)<=-1&&(H=Bv),SA(G,j)>=1&&(H=0),H<0){var Z=Math.round(H/Bv*1e6)/1e6;H=Bv*2+Z%2*Bv}m.addData(d,L,R,o,s,$,H,v,a)}var y0e=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/ig,_0e=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function b0e(e){var t=new oc;if(!e)return t;var r=0,n=0,i=r,a=n,o,s=oc.CMD,c=e.match(y0e);if(!c)return t;for(var d=0;dAe*Ae+ue*ue&&(Z=ee,Q=ne),{cx:Z,cy:Q,x0:-m,y0:-v,x1:Z*(i/G-1),y1:Q*(i/G-1)}}function I0e(e){var t;if(Ft(e)){var r=e.length;if(!r)return e;r===1?t=[e[0],e[0],0,0]:r===2?t=[e[0],e[0],e[1],e[1]]:r===3?t=e.concat(e[2]):t=e}else t=[e,e,e,e];return t}function E0e(e,t){var r,n=og(t.r,0),i=og(t.r0||0,0),a=n>0,o=i>0;if(!(!a&&!o)){if(a||(n=i,i=0),i>n){var s=n;n=i,i=s}var c=t.startAngle,d=t.endAngle;if(!(isNaN(c)||isNaN(d))){var m=t.cx,v=t.cy,y=!!t.clockwise,_=S4(d-c),S=_>ET&&_%ET;if(S>ts&&(_=S),!(n>ts))e.moveTo(m,v);else if(_>ET-ts)e.moveTo(m+n*wd(c),v+n*vh(c)),e.arc(m,v,n,c,d,!y),i>ts&&(e.moveTo(m+i*wd(d),v+i*vh(d)),e.arc(m,v,i,d,c,y));else{var I=void 0,E=void 0,M=void 0,L=void 0,R=void 0,$=void 0,G=void 0,j=void 0,H=void 0,Z=void 0,Q=void 0,ee=void 0,ne=void 0,ie=void 0,ce=void 0,Ae=void 0,ue=n*wd(c),_e=n*vh(c),He=i*wd(d),$e=i*vh(d),lt=_>ts;if(lt){var Ct=t.cornerRadius;Ct&&(r=I0e(Ct),I=r[0],E=r[1],M=r[2],L=r[3]);var Ut=S4(n-i)/2;if(R=zs(Ut,M),$=zs(Ut,L),G=zs(Ut,I),j=zs(Ut,E),Q=H=og(R,$),ee=Z=og(G,j),(H>ts||Z>ts)&&(ne=n*wd(d),ie=n*vh(d),ce=i*wd(c),Ae=i*vh(c),_ts){var tt=zs(M,Q),ft=zs(L,Q),dt=K0(ce,Ae,ue,_e,n,tt,y),Dt=K0(ne,ie,He,$e,n,ft,y);e.moveTo(m+dt.cx+dt.x0,v+dt.cy+dt.y0),Q0&&e.arc(m+dt.cx,v+dt.cy,tt,Ki(dt.y0,dt.x0),Ki(dt.y1,dt.x1),!y),e.arc(m,v,n,Ki(dt.cy+dt.y1,dt.cx+dt.x1),Ki(Dt.cy+Dt.y1,Dt.cx+Dt.x1),!y),ft>0&&e.arc(m+Dt.cx,v+Dt.cy,ft,Ki(Dt.y1,Dt.x1),Ki(Dt.y0,Dt.x0),!y))}else e.moveTo(m+ue,v+_e),e.arc(m,v,n,c,d,!y);if(!(i>ts)||!lt)e.lineTo(m+He,v+$e);else if(ee>ts){var tt=zs(I,ee),ft=zs(E,ee),dt=K0(He,$e,ne,ie,i,-ft,y),Dt=K0(ue,_e,ce,Ae,i,-tt,y);e.lineTo(m+dt.cx+dt.x0,v+dt.cy+dt.y0),ee0&&e.arc(m+dt.cx,v+dt.cy,ft,Ki(dt.y0,dt.x0),Ki(dt.y1,dt.x1),!y),e.arc(m,v,i,Ki(dt.cy+dt.y1,dt.cx+dt.x1),Ki(Dt.cy+Dt.y1,Dt.cx+Dt.x1),y),tt>0&&e.arc(m+Dt.cx,v+Dt.cy,tt,Ki(Dt.y1,Dt.x1),Ki(Dt.y0,Dt.x0),!y))}else e.lineTo(m+He,v+$e),e.arc(m,v,i,d,c,y)}e.closePath()}}}var M0e=function(){function e(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=Math.PI*2,this.clockwise=!0,this.cornerRadius=0}return e}(),fw=function(e){mt(t,e);function t(r){return e.call(this,r)||this}return t.prototype.getDefaultShape=function(){return new M0e},t.prototype.buildPath=function(r,n){E0e(r,n)},t.prototype.isZeroArea=function(){return this.shape.startAngle===this.shape.endAngle||this.shape.r===this.shape.r0},t}(tn);fw.prototype.type="sector";var D0e=function(){function e(){this.cx=0,this.cy=0,this.r=0,this.r0=0}return e}(),sM=function(e){mt(t,e);function t(r){return e.call(this,r)||this}return t.prototype.getDefaultShape=function(){return new D0e},t.prototype.buildPath=function(r,n){var i=n.cx,a=n.cy,o=Math.PI*2;r.moveTo(i+n.r,a),r.arc(i,a,n.r,0,o,!1),r.moveTo(i+n.r0,a),r.arc(i,a,n.r0,0,o,!0)},t}(tn);sM.prototype.type="ring";function L0e(e,t,r,n){var i=[],a=[],o=[],s=[],c,d,m,v;if(n){m=[1/0,1/0],v=[-1/0,-1/0];for(var y=0,_=e.length;y<_;y++)Vd(m,m,e[y]),jd(v,v,e[y]);Vd(m,m,n[0]),jd(v,v,n[1])}for(var y=0,_=e.length;y<_;y++){var S=e[y];if(r)c=e[y?y-1:_-1],d=e[(y+1)%_];else if(y===0||y===_-1){i.push(dge(e[y]));continue}else c=e[y-1],d=e[y+1];P7(a,d,c),q2(a,a,t);var I=KP(S,c),E=KP(S,d),M=I+E;M!==0&&(I/=M,E/=M),q2(o,a,-I),q2(s,a,E);var L=dO([],S,o),R=dO([],S,s);n&&(jd(L,L,m),Vd(L,L,v),jd(R,R,m),Vd(R,R,v)),i.push(L),i.push(R)}return r&&i.push(i.shift()),i}function DV(e,t,r){var n=t.smooth,i=t.points;if(i&&i.length>=2){if(n){var a=L0e(i,n,r,t.smoothConstraint);e.moveTo(i[0][0],i[0][1]);for(var o=i.length,s=0;s<(r?o:o-1);s++){var c=a[s*2],d=a[s*2+1],m=i[(s+1)%o];e.bezierCurveTo(c[0],c[1],d[0],d[1],m[0],m[1])}}else{e.moveTo(i[0][0],i[0][1]);for(var s=1,v=i.length;syh[1]){if(s=!1,a)return s;var m=Math.abs(yh[0]-gh[1]),v=Math.abs(gh[0]-yh[1]);Math.min(m,v)>i.len()&&(m0){var v=m.duration,y=m.delay,_=m.easing,S={duration:v,delay:y||0,easing:_,done:a,force:!!a||!!o,setToFinal:!d,scope:e,during:o};s?t.animateFrom(r,S):t.animateTo(r,S)}else t.stopAnimation(),!s&&t.attr(r),o&&o(1),a&&a()}function el(e,t,r,n,i,a){lM("update",e,t,r,n,i,a)}function em(e,t,r,n,i,a){lM("enter",e,t,r,n,i,a)}function Rg(e){if(!e.__zr)return!0;for(var t=0;tMath.abs(a[1])?a[0]>0?"right":"left":a[1]>0?"bottom":"top"}function P4(e){return!e.isGroup}function n1e(e){return e.shape!=null}function NV(e,t,r){if(!e||!t)return;function n(o){var s={};return o.traverse(function(c){P4(c)&&c.anid&&(s[c.anid]=c)}),s}function i(o){var s={x:o.x,y:o.y,rotation:o.rotation};return n1e(o)&&(s.shape=St({},o.shape)),s}var a=n(e);t.traverse(function(o){if(P4(o)&&o.anid){var s=a[o.anid];if(s){var c=i(o);o.attr(i(s)),el(o,c,r,Hr(o).dataIndex)}}})}function i1e(e,t){return Yt(e,function(r){var n=r[0];n=nx(n,t.x),n=ix(n,t.x+t.width);var i=r[1];return i=nx(i,t.y),i=ix(i,t.y+t.height),[n,i]})}function a1e(e,t){var r=nx(e.x,t.x),n=ix(e.x+e.width,t.x+t.width),i=nx(e.y,t.y),a=ix(e.y+e.height,t.y+t.height);if(n>=r&&a>=i)return{x:r,y:i,width:n-r,height:a-i}}function cM(e,t,r){var n=St({rectHover:!0},t),i=n.style={strokeNoScale:!0};if(r=r||{x:-1,y:-1,width:2,height:2},e)return e.indexOf("image://")===0?(i.image=e.slice(8),sn(i,r),new sl(n)):uM(e.replace("path://",""),n,r,"center")}function o1e(e,t,r,n,i){for(var a=0,o=i[i.length-1];a1)return!1;var E=MT(_,S,m,v)/y;return!(E<0||E>1)}function MT(e,t,r,n){return e*n-r*t}function s1e(e){return e<=1e-6&&e>=-1e-6}function hM(e){var t=e.itemTooltipOption,r=e.componentModel,n=e.itemName,i=Wt(t)?{formatter:t}:t,a=r.mainType,o=r.componentIndex,s={componentType:a,name:n,$vars:["name"]};s[a+"Index"]=o;var c=e.formatterParamsExtra;c&&Te(Ur(c),function(m){Dp(s,m)||(s[m]=c[m],s.$vars.push(m))});var d=Hr(e.el);d.componentMainType=a,d.componentIndex=o,d.tooltipConfig={name:n,option:sn({content:n,encodeHTMLContent:!0,formatterParams:s},i)}}function A4(e,t){var r;e.isGroup&&(r=t(e)),r||e.traverse(t)}function vw(e,t){if(e)if(Ft(e))for(var r=0;r=0&&s.push(c)}),s}}function fM(e,t){return Gr(Gr({},e,!0),t,!0)}const w1e={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",custom:"Custom chart",chart:"Chart"}},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:". "}}}},S1e={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:"旭日图",custom:"自定义图表",chart:"图表"}},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 ax="ZH",dM="EN",lp=dM,tb={},pM={},GV=gr.domSupported?function(){var e=(document.documentElement.lang||navigator.language||navigator.browserLanguage||lp).toUpperCase();return e.indexOf(ax)>-1?ax:lp}():lp;function WV(e,t){e=e.toUpperCase(),pM[e]=new qn(t),tb[e]=t}function T1e(e){if(Wt(e)){var t=tb[e.toUpperCase()]||{};return e===ax||e===dM?Dr(t):Gr(Dr(t),Dr(tb[lp]),!1)}else return Gr(Dr(e),Dr(tb[lp]),!1)}function C1e(e){return pM[e]}function P1e(){return pM[lp]}WV(dM,w1e);WV(ax,S1e);var mM=1e3,vM=mM*60,Og=vM*60,Mo=Og*24,R4=Mo*365,sg={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}"},Q0="{yyyy}-{MM}-{dd}",O4={year:"{yyyy}",month:"{yyyy}-{MM}",day:Q0,hour:Q0+" "+sg.hour,minute:Q0+" "+sg.minute,second:Q0+" "+sg.second,millisecond:sg.none},kT=["year","month","day","hour","minute","second","millisecond"],qV=["year","half-year","quarter","month","week","half-week","day","half-day","quarter-day","hour","minute","second","millisecond"];function Pu(e,t){return e+="","0000".substr(0,t-e.length)+e}function up(e){switch(e){case"half-year":case"quarter":return"month";case"week":case"half-week":return"day";case"half-day":case"quarter-day":return"hour";default:return e}}function A1e(e){return e===up(e)}function I1e(e){switch(e){case"year":case"month":return"day";case"millisecond":return"millisecond";default:return"second"}}function bw(e,t,r,n){var i=Gl(e),a=i[gM(r)](),o=i[cp(r)]()+1,s=Math.floor((o-1)/3)+1,c=i[xw(r)](),d=i["get"+(r?"UTC":"")+"Day"](),m=i[_y(r)](),v=(m-1)%12+1,y=i[ww(r)](),_=i[Sw(r)](),S=i[Tw(r)](),I=m>=12?"pm":"am",E=I.toUpperCase(),M=n instanceof qn?n:C1e(n||GV)||P1e(),L=M.getModel("time"),R=L.get("month"),$=L.get("monthAbbr"),G=L.get("dayOfWeek"),j=L.get("dayOfWeekAbbr");return(t||"").replace(/{a}/g,I+"").replace(/{A}/g,E+"").replace(/{yyyy}/g,a+"").replace(/{yy}/g,Pu(a%100+"",2)).replace(/{Q}/g,s+"").replace(/{MMMM}/g,R[o-1]).replace(/{MMM}/g,$[o-1]).replace(/{MM}/g,Pu(o,2)).replace(/{M}/g,o+"").replace(/{dd}/g,Pu(c,2)).replace(/{d}/g,c+"").replace(/{eeee}/g,G[d]).replace(/{ee}/g,j[d]).replace(/{e}/g,d+"").replace(/{HH}/g,Pu(m,2)).replace(/{H}/g,m+"").replace(/{hh}/g,Pu(v+"",2)).replace(/{h}/g,v+"").replace(/{mm}/g,Pu(y,2)).replace(/{m}/g,y+"").replace(/{ss}/g,Pu(_,2)).replace(/{s}/g,_+"").replace(/{SSS}/g,Pu(S,3)).replace(/{S}/g,S+"")}function E1e(e,t,r,n,i){var a=null;if(Wt(r))a=r;else if(nr(r))a=r(e.value,t,{level:e.level});else{var o=St({},sg);if(e.level>0)for(var s=0;s=0;--s)if(c[d]){a=c[d];break}a=a||o.none}if(Ft(a)){var v=e.level==null?0:e.level>=0?e.level:a.length+e.level;v=Math.min(v,a.length-1),a=a[v]}}return bw(new Date(e.value),a,i,n)}function ZV(e,t){var r=Gl(e),n=r[cp(t)]()+1,i=r[xw(t)](),a=r[_y(t)](),o=r[ww(t)](),s=r[Sw(t)](),c=r[Tw(t)](),d=c===0,m=d&&s===0,v=m&&o===0,y=v&&a===0,_=y&&i===1,S=_&&n===1;return S?"year":_?"month":y?"day":v?"hour":m?"minute":d?"second":"millisecond"}function z4(e,t,r){var n=In(e)?Gl(e):e;switch(t=t||ZV(e,r),t){case"year":return n[gM(r)]();case"half-year":return n[cp(r)]()>=6?1:0;case"quarter":return Math.floor((n[cp(r)]()+1)/4);case"month":return n[cp(r)]();case"day":return n[xw(r)]();case"half-day":return n[_y(r)]()/24;case"hour":return n[_y(r)]();case"minute":return n[ww(r)]();case"second":return n[Sw(r)]();case"millisecond":return n[Tw(r)]()}}function gM(e){return e?"getUTCFullYear":"getFullYear"}function cp(e){return e?"getUTCMonth":"getMonth"}function xw(e){return e?"getUTCDate":"getDate"}function _y(e){return e?"getUTCHours":"getHours"}function ww(e){return e?"getUTCMinutes":"getMinutes"}function Sw(e){return e?"getUTCSeconds":"getSeconds"}function Tw(e){return e?"getUTCMilliseconds":"getMilliseconds"}function M1e(e){return e?"setUTCFullYear":"setFullYear"}function XV(e){return e?"setUTCMonth":"setMonth"}function KV(e){return e?"setUTCDate":"setDate"}function YV(e){return e?"setUTCHours":"setHours"}function JV(e){return e?"setUTCMinutes":"setMinutes"}function QV(e){return e?"setUTCSeconds":"setSeconds"}function ej(e){return e?"setUTCMilliseconds":"setMilliseconds"}function tj(e){if(!zye(e))return Wt(e)?e:"-";var t=(e+"").split(".");return t[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(t.length>1?"."+t[1]:"")}function rj(e,t){return e=(e||"").toLowerCase().replace(/-(.)/g,function(r,n){return n.toUpperCase()}),t&&e&&(e=e.charAt(0).toUpperCase()+e.slice(1)),e}var Cw=w7;function CA(e,t,r){var n="{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}";function i(m){return m&&qs(m)?m:"-"}function a(m){return!!(m!=null&&!isNaN(m)&&isFinite(m))}var o=t==="time",s=e instanceof Date;if(o||s){var c=o?Gl(e):e;if(isNaN(+c)){if(s)return"-"}else return bw(c,n,r)}if(t==="ordinal")return qP(e)?i(e):In(e)&&a(e)?e+"":"-";var d=Jb(e);return a(d)?tj(d):qP(e)?i(e):typeof e=="boolean"?e+"":"-"}var B4=["a","b","c","d","e","f","g"],RT=function(e,t){return"{"+e+(t??"")+"}"};function nj(e,t,r){Ft(t)||(t=[t]);var n=t.length;if(!n)return"";for(var i=t[0].$vars||[],a=0;a':'';var o=r.markerId||"markerX";return{renderMode:a,content:"{"+o+"|} ",style:i==="subItem"?{width:4,height:4,borderRadius:2,backgroundColor:n}:{width:10,height:10,borderRadius:5,backgroundColor:n}}}function lf(e,t){return t=t||"transparent",Wt(e)?e:sr(e)&&e.colorStops&&(e.colorStops[0]||{}).color||t}function F4(e,t){if(t==="_blank"||t==="blank"){var r=window.open();r.opener=null,r.location.href=e}else window.open(e,t)}var rb=Te,L1e=["left","right","top","bottom","width","height"],e1=[["width","left","right"],["height","top","bottom"]];function yM(e,t,r,n,i){var a=0,o=0;n==null&&(n=1/0),i==null&&(i=1/0);var s=0;t.eachChild(function(c,d){var m=c.getBoundingRect(),v=t.childAt(d+1),y=v&&v.getBoundingRect(),_,S;if(e==="horizontal"){var I=m.width+(y?-y.x+m.x:0);_=a+I,_>n||c.newline?(a=0,_=I,o+=s+r,s=m.height):s=Math.max(s,m.height)}else{var E=m.height+(y?-y.y+m.y:0);S=o+E,S>i||c.newline?(a+=s+r,o=0,S=E,s=m.width):s=Math.max(s,m.width)}c.newline||(c.x=a,c.y=o,c.markRedraw(),e==="horizontal"?a=_+r:o=S+r)})}var zg=yM;Pn(yM,"vertical");Pn(yM,"horizontal");function kp(e,t,r){r=Cw(r||0);var n=t.width,i=t.height,a=li(e.left,n),o=li(e.top,i),s=li(e.right,n),c=li(e.bottom,i),d=li(e.width,n),m=li(e.height,i),v=r[2]+r[0],y=r[1]+r[3],_=e.aspect;switch(isNaN(d)&&(d=n-s-y-a),isNaN(m)&&(m=i-c-v-o),_!=null&&(isNaN(d)&&isNaN(m)&&(_>n/i?d=n*.8:m=i*.8),isNaN(d)&&(d=_*m),isNaN(m)&&(m=d/_)),isNaN(a)&&(a=n-s-d-y),isNaN(o)&&(o=i-c-m-v),e.left||e.right){case"center":a=n/2-d/2-r[3];break;case"right":a=n-d-y;break}switch(e.top||e.bottom){case"middle":case"center":o=i/2-m/2-r[0];break;case"bottom":o=i-m-v;break}a=a||0,o=o||0,isNaN(d)&&(d=n-y-a-(s||0)),isNaN(m)&&(m=i-v-o-(c||0));var S=new Kr(a+r[3],o+r[0],d,m);return S.margin=r,S}function by(e){var t=e.layoutMode||e.constructor.layoutMode;return sr(t)?t:t?{type:t}:null}function Rp(e,t,r){var n=r&&r.ignoreSize;!Ft(n)&&(n=[n,n]);var i=o(e1[0],0),a=o(e1[1],1);d(e1[0],e,i),d(e1[1],e,a);function o(m,v){var y={},_=0,S={},I=0,E=2;if(rb(m,function(R){S[R]=e[R]}),rb(m,function(R){s(t,R)&&(y[R]=S[R]=t[R]),c(y,R)&&_++,c(S,R)&&I++}),n[v])return c(t,m[1])?S[m[2]]=null:c(t,m[2])&&(S[m[1]]=null),S;if(I===E||!_)return S;if(_>=E)return y;for(var M=0;M=0;c--)s=Gr(s,i[c],!0);n.defaultOption=s}return n.defaultOption},t.prototype.getReferringComponents=function(r,n){var i=r+"Index",a=r+"Id";return Xy(this.ecModel,r,{index:this.get(i,!0),id:this.get(a,!0)},n)},t.prototype.getBoxLayoutParams=function(){var r=this;return{left:r.get("left"),top:r.get("top"),right:r.get("right"),bottom:r.get("bottom"),width:r.get("width"),height:r.get("height")}},t.prototype.getZLevelKey=function(){return""},t.prototype.setZLevel=function(r){this.option.zlevel=r},t.protoInitialize=function(){var r=t.prototype;r.type="component",r.id="",r.name="",r.mainType="",r.subType="",r.componentIndex=0}(),t}(qn);sV(Qr,qn);aw(Qr);b1e(Qr);x1e(Qr,O1e);function O1e(e){var t=[];return Te(Qr.getClassesByMainType(e),function(r){t=t.concat(r.dependencies||r.prototype.dependencies||[])}),t=Yt(t,function(r){return Xs(r).main}),e!=="dataset"&&Zr(t,"dataset")<=0&&t.unshift("dataset"),t}var ij="";typeof navigator<"u"&&(ij=navigator.platform||"");var Sd="rgba(0, 0, 0, 0.2)";const z1e={darkMode:"auto",colorBy:"series",color:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],gradientColor:["#f6efa6","#d88273","#bf444c"],aria:{decal:{decals:[{color:Sd,dashArrayX:[1,0],dashArrayY:[2,5],symbolSize:1,rotation:Math.PI/6},{color:Sd,symbol:"circle",dashArrayX:[[8,8],[0,8,8,0]],dashArrayY:[6,0],symbolSize:.8},{color:Sd,dashArrayX:[1,0],dashArrayY:[4,3],rotation:-Math.PI/4},{color:Sd,dashArrayX:[[6,6],[0,6,6,0]],dashArrayY:[6,0]},{color:Sd,dashArrayX:[[1,0],[1,6]],dashArrayY:[1,0,6,0],rotation:Math.PI/4},{color:Sd,symbol:"triangle",dashArrayX:[[9,9],[0,9,9,0]],dashArrayY:[7,2],symbolSize:.75}]}},textStyle:{fontFamily:ij.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 aj=dr(["tooltip","label","itemName","itemId","itemGroupId","itemChildGroupId","seriesName"]),jo="original",$a="arrayRows",ll="objectRows",Jl="keyedColumns",ec="typedArray",oj="unknown",jl="column",tm="row",Qa={Must:1,Might:2,Not:3},sj=Kn();function B1e(e){sj(e).datasetMap=dr()}function F1e(e,t,r){var n={},i=lj(t);if(!i||!e)return n;var a=[],o=[],s=t.ecModel,c=sj(s).datasetMap,d=i.uid+"_"+r.seriesLayoutBy,m,v;e=e.slice(),Te(e,function(I,E){var M=sr(I)?I:e[E]={name:I};M.type==="ordinal"&&m==null&&(m=E,v=S(M)),n[M.name]=[]});var y=c.get(d)||c.set(d,{categoryWayDim:v,valueWayDim:0});Te(e,function(I,E){var M=I.name,L=S(I);if(m==null){var R=y.valueWayDim;_(n[M],R,L),_(o,R,L),y.valueWayDim+=L}else if(m===E)_(n[M],0,L),_(a,0,L);else{var R=y.categoryWayDim;_(n[M],R,L),_(o,R,L),y.categoryWayDim+=L}});function _(I,E,M){for(var L=0;Lt)return e[n];return e[r-1]}function U1e(e,t,r,n,i,a,o){a=a||e;var s=t(a),c=s.paletteIdx||0,d=s.paletteNameMap=s.paletteNameMap||{};if(d.hasOwnProperty(i))return d[i];var m=o==null||!n?r:H1e(n,o);if(m=m||r,!(!m||!m.length)){var v=m[c];return i&&(d[i]=v),s.paletteIdx=(c+1)%m.length,v}}function G1e(e,t){t(e).paletteIdx=0,t(e).paletteNameMap={}}var t1,Fv,N4,V4="\0_ec_inner",W1e=1,bM=function(e){mt(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.init=function(r,n,i,a,o,s){a=a||{},this.option=null,this._theme=new qn(a),this._locale=new qn(o),this._optionManager=s},t.prototype.setOption=function(r,n,i){var a=U4(n);this._optionManager.setOption(r,i,a),this._resetOption(null,a)},t.prototype.resetOption=function(r,n){return this._resetOption(r,U4(n))},t.prototype._resetOption=function(r,n){var i=!1,a=this._optionManager;if(!r||r==="recreate"){var o=a.mountOption(r==="recreate");!this.option||r==="recreate"?N4(this,o):(this.restoreData(),this._mergeOption(o,n)),i=!0}if((r==="timeline"||r==="media")&&this.restoreData(),!r||r==="recreate"||r==="timeline"){var s=a.getTimelineOption(this);s&&(i=!0,this._mergeOption(s,n))}if(!r||r==="recreate"||r==="media"){var c=a.getMediaOption(this);c.length&&Te(c,function(d){i=!0,this._mergeOption(d,n)},this)}return i},t.prototype.mergeOption=function(r){this._mergeOption(r,null)},t.prototype._mergeOption=function(r,n){var i=this.option,a=this._componentsMap,o=this._componentsCount,s=[],c=dr(),d=n&&n.replaceMergeMainTypeMap;B1e(this),Te(r,function(v,y){v!=null&&(Qr.hasClass(y)?y&&(s.push(y),c.set(y,!0)):i[y]=i[y]==null?Dr(v):Gr(i[y],v,!0))}),d&&d.each(function(v,y){Qr.hasClass(y)&&!c.get(y)&&(s.push(y),c.set(y,!0))}),Qr.topologicalTravel(s,Qr.getAllClassMainTypes(),m,this);function m(v){var y=j1e(this,v,ba(r[v])),_=a.get(v),S=_?d&&d.get(v)?"replaceMerge":"normalMerge":"replaceAll",I=$ye(_,y,S);Wye(I,v,Qr),i[v]=null,a.set(v,null),o.set(v,0);var E=[],M=[],L=0,R;Te(I,function($,G){var j=$.existing,H=$.newOption;if(!H)j&&(j.mergeOption({},this),j.optionUpdated({},!1));else{var Z=v==="series",Q=Qr.getClass(v,$.keyInfo.subType,!Z);if(!Q)return;if(v==="tooltip"){if(R)return;R=!0}if(j&&j.constructor===Q)j.name=$.keyInfo.name,j.mergeOption(H,this),j.optionUpdated(H,!1);else{var ee=St({componentIndex:G},$.keyInfo);j=new Q(H,this,this,ee),St(j,ee),$.brandNew&&(j.__requireNewView=!0),j.init(H,this,this),j.optionUpdated(null,!0)}}j?(E.push(j.option),M.push(j),L++):(E.push(void 0),M.push(void 0))},this),i[v]=E,a.set(v,M),o.set(v,L),v==="series"&&t1(this)}this._seriesIndices||t1(this)},t.prototype.getOption=function(){var r=Dr(this.option);return Te(r,function(n,i){if(Qr.hasClass(i)){for(var a=ba(n),o=a.length,s=!1,c=o-1;c>=0;c--)a[c]&&!hy(a[c])?s=!0:(a[c]=null,!s&&o--);a.length=o,r[i]=a}}),delete r[V4],r},t.prototype.getTheme=function(){return this._theme},t.prototype.getLocaleModel=function(){return this._locale},t.prototype.setUpdatePayload=function(r){this._payload=r},t.prototype.getUpdatePayload=function(){return this._payload},t.prototype.getComponent=function(r,n){var i=this._componentsMap.get(r);if(i){var a=i[n||0];if(a)return a;if(n==null){for(var o=0;o=t:r==="max"?e<=t:e===t}function tbe(e,t){return e.join(",")===t.join(",")}var Jo=Te,xy=sr,G4=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function zT(e){var t=e&&e.itemStyle;if(t)for(var r=0,n=G4.length;r=0;E--){var M=e[E];if(s||(S=M.data.rawIndexOf(M.stackedByDimension,_)),S>=0){var L=M.data.getByRawIndex(M.stackResultDimension,S);if(c==="all"||c==="positive"&&L>0||c==="negative"&&L<0||c==="samesign"&&y>=0&&L>0||c==="samesign"&&y<=0&&L<0){y=kye(y,L),I=L;break}}}return n[0]=y,n[1]=I,n})})}var Pw=function(){function e(t){this.data=t.data||(t.sourceFormat===Jl?{}:[]),this.sourceFormat=t.sourceFormat||oj,this.seriesLayoutBy=t.seriesLayoutBy||jl,this.startIndex=t.startIndex||0,this.dimensionsDetectedCount=t.dimensionsDetectedCount,this.metaRawOption=t.metaRawOption;var r=this.dimensionsDefine=t.dimensionsDefine;if(r)for(var n=0;nI&&(I=R)}_[0]=S,_[1]=I}},i=function(){return this._data?this._data.length/this._dimSize:0};J4=(t={},t[$a+"_"+jl]={pure:!0,appendData:a},t[$a+"_"+tm]={pure:!0,appendData:function(){throw new Error('Do not support appendData when set seriesLayoutBy: "row".')}},t[ll]={pure:!0,appendData:a},t[Jl]={pure:!0,appendData:function(o){var s=this._data;Te(o,function(c,d){for(var m=s[d]||(s[d]=[]),v=0;v<(c||[]).length;v++)m.push(c[v])})}},t[jo]={appendData:a},t[ec]={persistent:!1,pure:!0,appendData:function(o){this._data=o},clean:function(){this._offset+=this.count(),this._data=null}},t);function a(o){for(var s=0;s=0&&(I=o.interpolatedValue[E])}return I!=null?I+"":""})}},e.prototype.getRawValue=function(t,r){return Op(this.getData(r),t)},e.prototype.formatTooltip=function(t,r,n){},e}();function rz(e){var t,r;return sr(e)?e.type&&(r=e):t=e,{text:t,frag:r}}function Bg(e){return new ybe(e)}var ybe=function(){function e(t){t=t||{},this._reset=t.reset,this._plan=t.plan,this._count=t.count,this._onDirty=t.onDirty,this._dirty=!0}return e.prototype.perform=function(t){var r=this._upstream,n=t&&t.skip;if(this._dirty&&r){var i=this.context;i.data=i.outputData=r.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this);var a;this._plan&&!n&&(a=this._plan(this.context));var o=m(this._modBy),s=this._modDataCount||0,c=m(t&&t.modBy),d=t&&t.modDataCount||0;(o!==c||s!==d)&&(a="reset");function m(L){return!(L>=1)&&(L=1),L}var v;(this._dirty||a==="reset")&&(this._dirty=!1,v=this._doReset(n)),this._modBy=c,this._modDataCount=d;var y=t&&t.step;if(r?this._dueEnd=r._outputDueEnd:this._dueEnd=this._count?this._count(this.context):1/0,this._progress){var _=this._dueIndex,S=Math.min(y!=null?this._dueIndex+y:1/0,this._dueEnd);if(!n&&(v||_1&&n>0?s:o}};return a;function o(){return t=e?null:ci?-this._resultLT:0},e}(),bbe=function(){function e(){}return e.prototype.getRawData=function(){throw new Error("not supported")},e.prototype.getRawDataItem=function(t){throw new Error("not supported")},e.prototype.cloneRawData=function(){},e.prototype.getDimensionInfo=function(t){},e.prototype.cloneAllDimensionInfo=function(){},e.prototype.count=function(){},e.prototype.retrieveValue=function(t,r){},e.prototype.retrieveValueFromItem=function(t,r){},e.prototype.convertValue=function(t,r){return hp(t,r)},e}();function xbe(e,t){var r=new bbe,n=e.data,i=r.sourceFormat=e.sourceFormat,a=e.startIndex,o="";e.seriesLayoutBy!==jl&&Da(o);var s=[],c={},d=e.dimensionsDefine;if(d)Te(d,function(I,E){var M=I.name,L={index:E,name:M,displayName:I.displayName};if(s.push(L),M!=null){var R="";Dp(c,M)&&Da(R),c[M]=L}});else for(var m=0;m65535?Ebe:Mbe}function Td(){return[1/0,-1/0]}function Dbe(e){var t=e.constructor;return t===Array?e.slice():new t(e)}function az(e,t,r,n,i){var a=wj[r||"float"];if(i){var o=e[t],s=o&&o.length;if(s!==n){for(var c=new a(n),d=0;dE[1]&&(E[1]=I)}return this._rawCount=this._count=c,{start:s,end:c}},e.prototype._initDataFromProvider=function(t,r,n){for(var i=this._provider,a=this._chunks,o=this._dimensions,s=o.length,c=this._rawExtent,d=Yt(o,function(L){return L.property}),m=0;mM[1]&&(M[1]=E)}}!i.persistent&&i.clean&&i.clean(),this._rawCount=this._count=r,this._extent=[]},e.prototype.count=function(){return this._count},e.prototype.get=function(t,r){if(!(r>=0&&r=0&&r=this._rawCount||t<0)return-1;if(!this._indices)return t;var r=this._indices,n=r[t];if(n!=null&&nt)a=o-1;else return o}return-1},e.prototype.indicesOfNearest=function(t,r,n){var i=this._chunks,a=i[t],o=[];if(!a)return o;n==null&&(n=1/0);for(var s=1/0,c=-1,d=0,m=0,v=this.count();m=0&&c<0)&&(s=S,c=_,d=0),_===c&&(o[d++]=m))}return o.length=d,o},e.prototype.getIndices=function(){var t,r=this._indices;if(r){var n=r.constructor,i=this._count;if(n===Array){t=new n(i);for(var a=0;a=v&&L<=y||isNaN(L))&&(c[d++]=I),I++}S=!0}else if(a===2){for(var E=_[i[0]],R=_[i[1]],$=t[i[1]][0],G=t[i[1]][1],M=0;M=v&&L<=y||isNaN(L))&&(j>=$&&j<=G||isNaN(j))&&(c[d++]=I),I++}S=!0}}if(!S)if(a===1)for(var M=0;M=v&&L<=y||isNaN(L))&&(c[d++]=H)}else for(var M=0;Mt[ee][1])&&(Z=!1)}Z&&(c[d++]=r.getRawIndex(M))}return dM[1]&&(M[1]=E)}}}},e.prototype.lttbDownSample=function(t,r){var n=this.clone([t],!0),i=n._chunks,a=i[t],o=this.count(),s=0,c=Math.floor(1/r),d=this.getRawIndex(0),m,v,y,_=new(Nv(this._rawCount))(Math.min((Math.ceil(o/c)+2)*2,o));_[s++]=d;for(var S=1;Sm&&(m=v,y=$)}ne>0&&nem-S&&(c=m-S,s.length=c);for(var I=0;Iv[1]&&(v[1]=M),y[_++]=L}return a._count=_,a._indices=y,a._updateGetRawIdx(),a},e.prototype.each=function(t,r){if(this._count)for(var n=t.length,i=this._chunks,a=0,o=this.count();ac&&(c=v)}return o=[s,c],this._extent[t]=o,o},e.prototype.getRawDataItem=function(t){var r=this.getRawIndex(t);if(this._provider.persistent)return this._provider.getItem(r);for(var n=[],i=this._chunks,a=0;a=0?this._indices[t]:-1},e.prototype._updateGetRawIdx=function(){this.getRawIndex=this._indices?this._getRawIdx:this._getRawIdxIdentity},e.internalField=function(){function t(r,n,i,a){return hp(r[a],this._dimensions[a])}$T={arrayRows:t,objectRows:function(r,n,i,a){return hp(r[n],this._dimensions[a])},keyedColumns:t,original:function(r,n,i,a){var o=r&&(r.value==null?r:r.value);return hp(o instanceof Array?o[a]:o,this._dimensions[a])},typedArray:function(r,n,i,a){return r[a]}}}(),e}(),Lbe=function(){function e(t){this._sourceList=[],this._storeList=[],this._upstreamSignList=[],this._versionSignBase=0,this._dirty=!0,this._sourceHost=t}return e.prototype.dirty=function(){this._setLocalSource([],[]),this._storeList=[],this._dirty=!0},e.prototype._setLocalSource=function(t,r){this._sourceList=t,this._upstreamSignList=r,this._versionSignBase++,this._versionSignBase>9e10&&(this._versionSignBase=0)},e.prototype._getVersionSign=function(){return this._sourceHost.uid+"_"+this._versionSignBase},e.prototype.prepareSource=function(){this._isDirty()&&(this._createSource(),this._dirty=!1)},e.prototype._createSource=function(){this._setLocalSource([],[]);var t=this._sourceHost,r=this._getUpstreamSourceManagers(),n=!!r.length,i,a;if(r1(t)){var o=t,s=void 0,c=void 0,d=void 0;if(n){var m=r[0];m.prepareSource(),d=m.getSource(),s=d.data,c=d.sourceFormat,a=[m._getVersionSign()]}else s=o.get("data",!0),c=Fa(s)?ec:jo,a=[];var v=this._getSourceMetaRawOption()||{},y=d&&d.metaRawOption||{},_=wr(v.seriesLayoutBy,y.seriesLayoutBy)||null,S=wr(v.sourceHeader,y.sourceHeader),I=wr(v.dimensions,y.dimensions),E=_!==y.seriesLayoutBy||!!S!=!!y.sourceHeader||I;i=E?[PA(s,{seriesLayoutBy:_,sourceHeader:S,dimensions:I},c)]:[]}else{var M=t;if(n){var L=this._applyTransform(r);i=L.sourceList,a=L.upstreamSignList}else{var R=M.get("source",!0);i=[PA(R,this._getSourceMetaRawOption(),null)],a=[]}}this._setLocalSource(i,a)},e.prototype._applyTransform=function(t){var r=this._sourceHost,n=r.get("transform",!0),i=r.get("fromTransformResult",!0);if(i!=null){var a="";t.length!==1&&oz(a)}var o,s=[],c=[];return Te(t,function(d){d.prepareSource();var m=d.getSource(i||0),v="";i!=null&&!m&&oz(v),s.push(m),c.push(d._getVersionSign())}),n?o=Abe(n,s,{datasetIndex:r.componentIndex}):i!=null&&(o=[hbe(s[0])]),{sourceList:o,upstreamSignList:c}},e.prototype._isDirty=function(){if(this._dirty)return!0;for(var t=this._getUpstreamSourceManagers(),r=0;r1||r>0&&!e.noHeader;return Te(e.blocks,function(i){var a=Pj(i);a>=t&&(t=a+ +(n&&(!a||IA(i)&&!i.noHeader)))}),t}return 0}function Obe(e,t,r,n){var i=t.noHeader,a=Bbe(Pj(t)),o=[],s=t.blocks||[];fs(!s||Ft(s)),s=s||[];var c=e.orderMode;if(t.sortBlocks&&c){s=s.slice();var d={valueAsc:"asc",valueDesc:"desc"};if(Dp(d,c)){var m=new _be(d[c],null);s.sort(function(S,I){return m.evaluate(S.sortParam,I.sortParam)})}else c==="seriesDesc"&&s.reverse()}Te(s,function(S,I){var E=t.valueFormatter,M=Cj(S)(E?St(St({},e),{valueFormatter:E}):e,S,I>0?a.html:0,n);M!=null&&o.push(M)});var v=e.renderMode==="richText"?o.join(a.richText):EA(o.join(""),i?r:a.html);if(i)return v;var y=CA(t.header,"ordinal",e.useUTC),_=Tj(n,e.renderMode).nameStyle;return e.renderMode==="richText"?Aj(e,y,_)+a.richText+v:EA('
'+Ma(y)+"
"+v,r)}function zbe(e,t,r,n){var i=e.renderMode,a=t.noName,o=t.noValue,s=!t.markerType,c=t.name,d=e.useUTC,m=t.valueFormatter||e.valueFormatter||function($){return $=Ft($)?$:[$],Yt($,function(G,j){return CA(G,Ft(_)?_[j]:_,d)})};if(!(a&&o)){var v=s?"":e.markupStyleCreator.makeTooltipMarker(t.markerType,t.markerColor||"#333",i),y=a?"":CA(c,"ordinal",d),_=t.valueType,S=o?[]:m(t.value,t.dataIndex),I=!s||!a,E=!s&&a,M=Tj(n,i),L=M.nameStyle,R=M.valueStyle;return i==="richText"?(s?"":v)+(a?"":Aj(e,y,L))+(o?"":Nbe(e,S,I,E,R)):EA((s?"":v)+(a?"":Fbe(y,!s,L))+(o?"":$be(S,I,E,R)),r)}}function sz(e,t,r,n,i,a){if(e){var o=Cj(e),s={useUTC:i,renderMode:r,orderMode:n,markupStyleCreator:t,valueFormatter:e.valueFormatter};return o(s,e,0,a)}}function Bbe(e){return{html:kbe[e],richText:Rbe[e]}}function EA(e,t){var r='
',n="margin: "+t+"px 0 0";return'
'+e+r+"
"}function Fbe(e,t,r){var n=t?"margin-left:2px":"";return''+Ma(e)+""}function $be(e,t,r,n){var i=r?"10px":"20px",a=t?"float:right;margin-left:"+i:"";return e=Ft(e)?e:[e],''+Yt(e,function(o){return Ma(o)}).join("  ")+""}function Aj(e,t,r){return e.markupStyleCreator.wrapRichTextStyle(t,r)}function Nbe(e,t,r,n,i){var a=[i],o=n?10:20;return r&&a.push({padding:[0,0,0,o],align:"right"}),e.markupStyleCreator.wrapRichTextStyle(Ft(t)?t.join(" "):t,a)}function Vbe(e,t){var r=e.getData().getItemVisual(t,"style"),n=r[e.visualDrawType];return lf(n)}function Ij(e,t){var r=e.get("padding");return r??(t==="richText"?[8,10]:10)}var NT=function(){function e(){this.richTextStyles={},this._nextStyleNameId=tV()}return e.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},e.prototype.makeTooltipMarker=function(t,r,n){var i=n==="richText"?this._generateStyleName():null,a=D1e({color:r,type:t,renderMode:n,markerId:i});return Wt(a)?a:(this.richTextStyles[i]=a.style,a.content)},e.prototype.wrapRichTextStyle=function(t,r){var n={};Ft(r)?Te(r,function(a){return St(n,a)}):St(n,r);var i=this._generateStyleName();return this.richTextStyles[i]=n,"{"+i+"|"+t+"}"},e}();function jbe(e){var t=e.series,r=e.dataIndex,n=e.multipleSeries,i=t.getData(),a=i.mapDimensionsAll("defaultedTooltip"),o=a.length,s=t.getRawValue(r),c=Ft(s),d=Vbe(t,r),m,v,y,_;if(o>1||c&&!o){var S=Hbe(s,t,r,a,d);m=S.inlineValues,v=S.inlineValueTypes,y=S.blocks,_=S.inlineValues[0]}else if(o){var I=i.getDimensionInfo(a[0]);_=m=Op(i,r,a[0]),v=I.type}else _=m=c?s[0]:s;var E=YE(t),M=E&&t.name||"",L=i.getName(r),R=n?M:L;return sc("section",{header:M,noHeader:n||!E,sortParam:_,blocks:[sc("nameValue",{markerType:"item",markerColor:d,name:R,noName:!qs(R),value:m,valueType:v,dataIndex:r})].concat(y||[])})}function Hbe(e,t,r,n,i){var a=t.getData(),o=Jp(e,function(v,y,_){var S=a.getDimensionInfo(_);return v=v||S&&S.tooltip!==!1&&S.displayName!=null},!1),s=[],c=[],d=[];n.length?Te(n,function(v){m(Op(a,r,v),v)}):Te(e,m);function m(v,y){var _=a.getDimensionInfo(y);!_||_.otherDims.tooltip===!1||(o?d.push(sc("nameValue",{markerType:"subItem",markerColor:i,name:_.displayName,value:v,valueType:_.type})):(s.push(v),c.push(_.type)))}return{inlineValues:s,inlineValueTypes:c,blocks:d}}var Au=Kn();function n1(e,t){return e.getName(t)||e.getId(t)}var Ube="__universalTransitionEnabled",tl=function(e){mt(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r._selectedDataIndicesMap={},r}return t.prototype.init=function(r,n,i){this.seriesIndex=this.componentIndex,this.dataTask=Bg({count:Wbe,reset:qbe}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(r,i);var a=Au(this).sourceManager=new Lbe(this);a.prepareSource();var o=this.getInitialData(r,i);uz(o,this),this.dataTask.context.data=o,Au(this).dataBeforeProcessed=o,lz(this),this._initSelectedMapFromData(o)},t.prototype.mergeDefaultAndTheme=function(r,n){var i=by(this),a=i?Qy(r):{},o=this.subType;Qr.hasClass(o)&&(o+="Series"),Gr(r,n.getTheme().get(this.subType)),Gr(r,this.getDefaultOption()),mA(r,"label",["show"]),this.fillDataTextStyle(r.data),i&&Rp(r,a,i)},t.prototype.mergeOption=function(r,n){r=Gr(this.option,r,!0),this.fillDataTextStyle(r.data);var i=by(this);i&&Rp(this.option,r,i);var a=Au(this).sourceManager;a.dirty(),a.prepareSource();var o=this.getInitialData(r,n);uz(o,this),this.dataTask.dirty(),this.dataTask.context.data=o,Au(this).dataBeforeProcessed=o,lz(this),this._initSelectedMapFromData(o)},t.prototype.fillDataTextStyle=function(r){if(r&&!Fa(r))for(var n=["show"],i=0;ithis.getShallow("animationThreshold")&&(n=!1),!!n},t.prototype.restoreData=function(){this.dataTask.dirty()},t.prototype.getColorFromPalette=function(r,n,i){var a=this.ecModel,o=_M.prototype.getColorFromPalette.call(this,r,n,i);return o||(o=a.getColorFromPalette(r,n,i)),o},t.prototype.coordDimToDataDim=function(r){return this.getRawData().mapDimensionsAll(r)},t.prototype.getProgressive=function(){return this.get("progressive")},t.prototype.getProgressiveThreshold=function(){return this.get("progressiveThreshold")},t.prototype.select=function(r,n){this._innerSelect(this.getData(n),r)},t.prototype.unselect=function(r,n){var i=this.option.selectedMap;if(i){var a=this.option.selectedMode,o=this.getData(n);if(a==="series"||i==="all"){this.option.selectedMap={},this._selectedDataIndicesMap={};return}for(var s=0;s=0&&i.push(o)}return i},t.prototype.isSelected=function(r,n){var i=this.option.selectedMap;if(!i)return!1;var a=this.getData(n);return(i==="all"||i[n1(a,r)])&&!a.getItemModel(r).get(["select","disabled"])},t.prototype.isUniversalTransitionEnabled=function(){if(this[Ube])return!0;var r=this.option.universalTransition;return r?r===!0?!0:r&&r.enabled:!1},t.prototype._innerSelect=function(r,n){var i,a,o=this.option,s=o.selectedMode,c=n.length;if(!(!s||!c)){if(s==="series")o.selectedMap="all";else if(s==="multiple"){sr(o.selectedMap)||(o.selectedMap={});for(var d=o.selectedMap,m=0;m0&&this._innerSelect(r,n)}},t.registerClass=function(r){return Qr.registerClass(r)},t.protoInitialize=function(){var r=t.prototype;r.type="series.__base__",r.seriesIndex=0,r.ignoreStyleOnData=!1,r.hasSymbolVisual=!1,r.defaultSymbol="circle",r.visualStyleAccessPath="itemStyle",r.visualDrawType="fill"}(),t}(Qr);gs(tl,TM);gs(tl,_M);sV(tl,Qr);function lz(e){var t=e.name;YE(e)||(e.name=Gbe(e)||t)}function Gbe(e){var t=e.getRawData(),r=t.mapDimensionsAll("seriesName"),n=[];return Te(r,function(i){var a=t.getDimensionInfo(i);a.displayName&&n.push(a.displayName)}),n.join(" ")}function Wbe(e){return e.model.getRawData().count()}function qbe(e){var t=e.model;return t.setData(t.getRawData().cloneShallow()),Zbe}function Zbe(e,t){t.outputData&&e.end>t.outputData.count()&&t.model.getRawData().cloneShallow(t.outputData)}function uz(e,t){Te(XP(e.CHANGABLE_METHODS,e.DOWNSAMPLE_METHODS),function(r){e.wrapMethod(r,Pn(Xbe,t))})}function Xbe(e,t){var r=MA(e);return r&&r.setOutputEnd((t||this).count()),t}function MA(e){var t=(e.ecModel||{}).scheduler,r=t&&t.getPipeline(e.uid);if(r){var n=r.currentTask;if(n){var i=n.agentStubMap;i&&(n=i.get(e.uid))}return n}}var lo=function(){function e(){this.group=new $n,this.uid=_w("viewComponent")}return e.prototype.init=function(t,r){},e.prototype.render=function(t,r,n,i){},e.prototype.dispose=function(t,r){},e.prototype.updateView=function(t,r,n,i){},e.prototype.updateLayout=function(t,r,n,i){},e.prototype.updateVisual=function(t,r,n,i){},e.prototype.toggleBlurSeries=function(t,r,n){},e.prototype.eachRendered=function(t){var r=this.group;r&&r.traverse(t)},e}();QE(lo);aw(lo);function PM(){var e=Kn();return function(t){var r=e(t),n=t.pipelineContext,i=!!r.large,a=!!r.progressiveRender,o=r.large=!!(n&&n.large),s=r.progressiveRender=!!(n&&n.progressiveRender);return(i!==o||a!==s)&&"reset"}}var Ej=Kn(),Kbe=PM(),Ro=function(){function e(){this.group=new $n,this.uid=_w("viewChart"),this.renderTask=Bg({plan:Ybe,reset:Jbe}),this.renderTask.context={view:this}}return e.prototype.init=function(t,r){},e.prototype.render=function(t,r,n,i){},e.prototype.highlight=function(t,r,n,i){var a=t.getData(i&&i.dataType);a&&hz(a,i,"emphasis")},e.prototype.downplay=function(t,r,n,i){var a=t.getData(i&&i.dataType);a&&hz(a,i,"normal")},e.prototype.remove=function(t,r){this.group.removeAll()},e.prototype.dispose=function(t,r){},e.prototype.updateView=function(t,r,n,i){this.render(t,r,n,i)},e.prototype.updateLayout=function(t,r,n,i){this.render(t,r,n,i)},e.prototype.updateVisual=function(t,r,n,i){this.render(t,r,n,i)},e.prototype.eachRendered=function(t){vw(this.group,t)},e.markUpdateMethod=function(t,r){Ej(t).updateMethod=r},e.protoInitialize=function(){var t=e.prototype;t.type="chart"}(),e}();function cz(e,t,r){e&&xA(e)&&(t==="emphasis"?py:my)(e,r)}function hz(e,t,r){var n=sf(e,t),i=t&&t.highlightKey!=null?d0e(t.highlightKey):null;n!=null?Te(ba(n),function(a){cz(e.getItemGraphicEl(a),r,i)}):e.eachItemGraphicEl(function(a){cz(a,r,i)})}QE(Ro);aw(Ro);function Ybe(e){return Kbe(e.model)}function Jbe(e){var t=e.model,r=e.ecModel,n=e.api,i=e.payload,a=t.pipelineContext.progressiveRender,o=e.view,s=i&&Ej(i).updateMethod,c=a?"incrementalPrepareRender":s&&o[s]?s:"render";return c!=="render"&&o[c](t,r,n,i),Qbe[c]}var Qbe={incrementalPrepareRender:{progress:function(e,t){t.view.incrementalRender(e,t.model,t.ecModel,t.api,t.payload)}},render:{forceFirstProgress:!0,progress:function(e,t){t.view.render(t.model,t.ecModel,t.api,t.payload)}}},ox="\0__throttleOriginMethod",fz="\0__throttleRate",dz="\0__throttleType";function AM(e,t,r){var n,i=0,a=0,o=null,s,c,d,m;t=t||0;function v(){a=new Date().getTime(),o=null,e.apply(c,d||[])}var y=function(){for(var _=[],S=0;S=0?v():o=setTimeout(v,-s),i=n};return y.clear=function(){o&&(clearTimeout(o),o=null)},y.debounceNextCall=function(_){m=_},y}function Iw(e,t,r,n){var i=e[t];if(i){var a=i[ox]||i,o=i[dz],s=i[fz];if(s!==r||o!==n){if(r==null||!n)return e[t]=a;i=e[t]=AM(a,r,n==="debounce"),i[ox]=a,i[dz]=n,i[fz]=r}return i}}function sx(e,t){var r=e[t];r&&r[ox]&&(r.clear&&r.clear(),e[t]=r[ox])}var pz=Kn(),mz={itemStyle:fy(UV,!0),lineStyle:fy(HV,!0)},exe={lineStyle:"stroke",itemStyle:"fill"};function Mj(e,t){var r=e.visualStyleMapper||mz[t];return r||(console.warn("Unknown style type '"+t+"'."),mz.itemStyle)}function Dj(e,t){var r=e.visualDrawType||exe[t];return r||(console.warn("Unknown style type '"+t+"'."),"fill")}var txe={createOnAllSeries:!0,performRawSeries:!0,reset:function(e,t){var r=e.getData(),n=e.visualStyleAccessPath||"itemStyle",i=e.getModel(n),a=Mj(e,n),o=a(i),s=i.getShallow("decal");s&&(r.setVisual("decal",s),s.dirty=!0);var c=Dj(e,n),d=o[c],m=nr(d)?d:null,v=o.fill==="auto"||o.stroke==="auto";if(!o[c]||m||v){var y=e.getColorFromPalette(e.name,null,t.getSeriesCount());o[c]||(o[c]=y,r.setVisual("colorFromPalette",!0)),o.fill=o.fill==="auto"||nr(o.fill)?y:o.fill,o.stroke=o.stroke==="auto"||nr(o.stroke)?y:o.stroke}if(r.setVisual("style",o),r.setVisual("drawType",c),!t.isSeriesFiltered(e)&&m)return r.setVisual("colorFromPalette",!1),{dataEach:function(_,S){var I=e.getDataParams(S),E=St({},o);E[c]=m(I),_.setItemVisual(S,"style",E)}}}},Vv=new qn,rxe={createOnAllSeries:!0,performRawSeries:!0,reset:function(e,t){if(!(e.ignoreStyleOnData||t.isSeriesFiltered(e))){var r=e.getData(),n=e.visualStyleAccessPath||"itemStyle",i=Mj(e,n),a=r.getVisual("drawType");return{dataEach:r.hasItemOption?function(o,s){var c=o.getRawDataItem(s);if(c&&c[n]){Vv.option=c[n];var d=i(Vv),m=o.ensureUniqueItemVisual(s,"style");St(m,d),Vv.option.decal&&(o.setItemVisual(s,"decal",Vv.option.decal),Vv.option.decal.dirty=!0),a in d&&o.setItemVisual(s,"colorFromPalette",!1)}}:null}}}},nxe={performRawSeries:!0,overallReset:function(e){var t=dr();e.eachSeries(function(r){var n=r.getColorBy();if(!r.isColorBySeries()){var i=r.type+"-"+n,a=t.get(i);a||(a={},t.set(i,a)),pz(r).scope=a}}),e.eachSeries(function(r){if(!(r.isColorBySeries()||e.isSeriesFiltered(r))){var n=r.getRawData(),i={},a=r.getData(),o=pz(r).scope,s=r.visualStyleAccessPath||"itemStyle",c=Dj(r,s);a.each(function(d){var m=a.getRawIndex(d);i[m]=d}),n.each(function(d){var m=i[d],v=a.getItemVisual(m,"colorFromPalette");if(v){var y=a.ensureUniqueItemVisual(m,"style"),_=n.getName(d)||d+"",S=n.count();y[c]=r.getColorFromPalette(_,o,S)}})}})}},i1=Math.PI;function ixe(e,t){t=t||{},sn(t,{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 r=new $n,n=new Zn({style:{fill:t.maskColor},zlevel:t.zlevel,z:1e4});r.add(n);var i=new Vi({style:{text:t.text,fill:t.textColor,fontSize:t.fontSize,fontWeight:t.fontWeight,fontStyle:t.fontStyle,fontFamily:t.fontFamily},zlevel:t.zlevel,z:10001}),a=new Zn({style:{fill:"none"},textContent:i,textConfig:{position:"right",distance:10},zlevel:t.zlevel,z:10001});r.add(a);var o;return t.showSpinner&&(o=new mw({shape:{startAngle:-i1/2,endAngle:-i1/2+.1,r:t.spinnerRadius},style:{stroke:t.color,lineCap:"round",lineWidth:t.lineWidth},zlevel:t.zlevel,z:10001}),o.animateShape(!0).when(1e3,{endAngle:i1*3/2}).start("circularInOut"),o.animateShape(!0).when(1e3,{startAngle:i1*3/2}).delay(300).start("circularInOut"),r.add(o)),r.resize=function(){var s=i.getBoundingRect().width,c=t.showSpinner?t.spinnerRadius:0,d=(e.getWidth()-c*2-(t.showSpinner&&s?10:0)-s)/2-(t.showSpinner&&s?0:5+s/2)+(t.showSpinner?0:s/2)+(s?0:c),m=e.getHeight()/2;t.showSpinner&&o.setShape({cx:d,cy:m}),a.setShape({x:d-c,y:m-c,width:c*2,height:c*2}),n.setShape({x:0,y:0,width:e.getWidth(),height:e.getHeight()})},r.resize(),r}var Lj=function(){function e(t,r,n,i){this._stageTaskMap=dr(),this.ecInstance=t,this.api=r,n=this._dataProcessorHandlers=n.slice(),i=this._visualHandlers=i.slice(),this._allHandlers=n.concat(i)}return e.prototype.restoreData=function(t,r){t.restoreData(r),this._stageTaskMap.each(function(n){var i=n.overallTask;i&&i.dirty()})},e.prototype.getPerformArgs=function(t,r){if(t.__pipeline){var n=this._pipelineMap.get(t.__pipeline.id),i=n.context,a=!r&&n.progressiveEnabled&&(!i||i.progressiveRender)&&t.__idxInPipeline>n.blockIndex,o=a?n.step:null,s=i&&i.modDataCount,c=s!=null?Math.ceil(s/o):null;return{step:o,modBy:c,modDataCount:s}}},e.prototype.getPipeline=function(t){return this._pipelineMap.get(t)},e.prototype.updateStreamModes=function(t,r){var n=this._pipelineMap.get(t.uid),i=t.getData(),a=i.count(),o=n.progressiveEnabled&&r.incrementalPrepareRender&&a>=n.threshold,s=t.get("large")&&a>=t.get("largeThreshold"),c=t.get("progressiveChunkMode")==="mod"?a:null;t.pipelineContext=n.context={progressiveRender:o,modDataCount:c,large:s}},e.prototype.restorePipelines=function(t){var r=this,n=r._pipelineMap=dr();t.eachSeries(function(i){var a=i.getProgressive(),o=i.uid;n.set(o,{id:o,head:null,tail:null,threshold:i.getProgressiveThreshold(),progressiveEnabled:a&&!(i.preventIncremental&&i.preventIncremental()),blockIndex:-1,step:Math.round(a||700),count:0}),r._pipe(i,i.dataTask)})},e.prototype.prepareStageTasks=function(){var t=this._stageTaskMap,r=this.api.getModel(),n=this.api;Te(this._allHandlers,function(i){var a=t.get(i.uid)||t.set(i.uid,{}),o="";fs(!(i.reset&&i.overallReset),o),i.reset&&this._createSeriesStageTask(i,a,r,n),i.overallReset&&this._createOverallStageTask(i,a,r,n)},this)},e.prototype.prepareView=function(t,r,n,i){var a=t.renderTask,o=a.context;o.model=r,o.ecModel=n,o.api=i,a.__block=!t.incrementalPrepareRender,this._pipe(r,a)},e.prototype.performDataProcessorTasks=function(t,r){this._performStageTasks(this._dataProcessorHandlers,t,r,{block:!0})},e.prototype.performVisualTasks=function(t,r,n){this._performStageTasks(this._visualHandlers,t,r,n)},e.prototype._performStageTasks=function(t,r,n,i){i=i||{};var a=!1,o=this;Te(t,function(c,d){if(!(i.visualType&&i.visualType!==c.visualType)){var m=o._stageTaskMap.get(c.uid),v=m.seriesTaskMap,y=m.overallTask;if(y){var _,S=y.agentStubMap;S.each(function(E){s(i,E)&&(E.dirty(),_=!0)}),_&&y.dirty(),o.updatePayload(y,n);var I=o.getPerformArgs(y,i.block);S.each(function(E){E.perform(I)}),y.perform(I)&&(a=!0)}else v&&v.each(function(E,M){s(i,E)&&E.dirty();var L=o.getPerformArgs(E,i.block);L.skip=!c.performRawSeries&&r.isSeriesFiltered(E.context.model),o.updatePayload(E,n),E.perform(L)&&(a=!0)})}});function s(c,d){return c.setDirty&&(!c.dirtyMap||c.dirtyMap.get(d.__pipeline.id))}this.unfinished=a||this.unfinished},e.prototype.performSeriesTasks=function(t){var r;t.eachSeries(function(n){r=n.dataTask.perform()||r}),this.unfinished=r||this.unfinished},e.prototype.plan=function(){this._pipelineMap.each(function(t){var r=t.tail;do{if(r.__block){t.blockIndex=r.__idxInPipeline;break}r=r.getUpstream()}while(r)})},e.prototype.updatePayload=function(t,r){r!=="remain"&&(t.context.payload=r)},e.prototype._createSeriesStageTask=function(t,r,n,i){var a=this,o=r.seriesTaskMap,s=r.seriesTaskMap=dr(),c=t.seriesType,d=t.getTargetSeries;t.createOnAllSeries?n.eachRawSeries(m):c?n.eachRawSeriesByType(c,m):d&&d(n,i).each(m);function m(v){var y=v.uid,_=s.set(y,o&&o.get(y)||Bg({plan:uxe,reset:cxe,count:fxe}));_.context={model:v,ecModel:n,api:i,useClearVisual:t.isVisual&&!t.isLayout,plan:t.plan,reset:t.reset,scheduler:a},a._pipe(v,_)}},e.prototype._createOverallStageTask=function(t,r,n,i){var a=this,o=r.overallTask=r.overallTask||Bg({reset:axe});o.context={ecModel:n,api:i,overallReset:t.overallReset,scheduler:a};var s=o.agentStubMap,c=o.agentStubMap=dr(),d=t.seriesType,m=t.getTargetSeries,v=!0,y=!1,_="";fs(!t.createOnAllSeries,_),d?n.eachRawSeriesByType(d,S):m?m(n,i).each(S):(v=!1,Te(n.getSeries(),S));function S(I){var E=I.uid,M=c.set(E,s&&s.get(E)||(y=!0,Bg({reset:oxe,onDirty:lxe})));M.context={model:I,overallProgress:v},M.agent=o,M.__block=v,a._pipe(I,M)}y&&o.dirty()},e.prototype._pipe=function(t,r){var n=t.uid,i=this._pipelineMap.get(n);!i.head&&(i.head=r),i.tail&&i.tail.pipe(r),i.tail=r,r.__idxInPipeline=i.count++,r.__pipeline=i},e.wrapStageHandler=function(t,r){return nr(t)&&(t={overallReset:t,seriesType:dxe(t)}),t.uid=_w("stageHandler"),r&&(t.visualType=r),t},e}();function axe(e){e.overallReset(e.ecModel,e.api,e.payload)}function oxe(e){return e.overallProgress&&sxe}function sxe(){this.agent.dirty(),this.getDownstream().dirty()}function lxe(){this.agent&&this.agent.dirty()}function uxe(e){return e.plan?e.plan(e.model,e.ecModel,e.api,e.payload):null}function cxe(e){e.useClearVisual&&e.data.clearAllVisual();var t=e.resetDefines=ba(e.reset(e.model,e.ecModel,e.api,e.payload));return t.length>1?Yt(t,function(r,n){return kj(n)}):hxe}var hxe=kj(0);function kj(e){return function(t,r){var n=r.data,i=r.resetDefines[e];if(i&&i.dataEach)for(var a=t.start;a0&&_===d.length-y.length){var S=d.slice(0,_);S!=="data"&&(r.mainType=S,r[y.toLowerCase()]=c,m=!0)}}s.hasOwnProperty(d)&&(n[d]=c,m=!0),m||(i[d]=c)})}return{cptQuery:r,dataQuery:n,otherQuery:i}},e.prototype.filter=function(t,r){var n=this.eventInfo;if(!n)return!0;var i=n.targetEl,a=n.packedEvent,o=n.model,s=n.view;if(!o||!s)return!0;var c=r.cptQuery,d=r.dataQuery;return m(c,o,"mainType")&&m(c,o,"subType")&&m(c,o,"index","componentIndex")&&m(c,o,"name")&&m(c,o,"id")&&m(d,a,"name")&&m(d,a,"dataIndex")&&m(d,a,"dataType")&&(!s.filterForExposedEvent||s.filterForExposedEvent(t,r.otherQuery,i,a));function m(v,y,_,S){return v[_]==null||y[S||_]===v[_]}},e.prototype.afterTrigger=function(){this.eventInfo=null},e}(),DA=["symbol","symbolSize","symbolRotate","symbolOffset"],_z=DA.concat(["symbolKeepAspect"]),vxe={createOnAllSeries:!0,performRawSeries:!0,reset:function(e,t){var r=e.getData();if(e.legendIcon&&r.setVisual("legendIcon",e.legendIcon),!e.hasSymbolVisual)return;for(var n={},i={},a=!1,o=0;o=0&&Fh(c)?c:.5;var d=e.createRadialGradient(o,s,0,o,s,c);return d}function LA(e,t,r){for(var n=t.type==="radial"?Lxe(e,t,r):Dxe(e,t,r),i=t.colorStops,a=0;a0)?null:e==="dashed"?[4*t,2*t]:e==="dotted"?[t]:In(e)?[e]:Ft(e)?e:null}function EM(e){var t=e.style,r=t.lineDash&&t.lineWidth>0&&Rxe(t.lineDash,t.lineWidth),n=t.lineDashOffset;if(r){var i=t.strokeNoScale&&e.getLineScale?e.getLineScale():1;i&&i!==1&&(r=Yt(r,function(a){return a/i}),n/=i)}return[r,n]}var Oxe=new oc(!0);function cx(e){var t=e.stroke;return!(t==null||t==="none"||!(e.lineWidth>0))}function bz(e){return typeof e=="string"&&e!=="none"}function hx(e){var t=e.fill;return t!=null&&t!=="none"}function xz(e,t){if(t.fillOpacity!=null&&t.fillOpacity!==1){var r=e.globalAlpha;e.globalAlpha=t.fillOpacity*t.opacity,e.fill(),e.globalAlpha=r}else e.fill()}function wz(e,t){if(t.strokeOpacity!=null&&t.strokeOpacity!==1){var r=e.globalAlpha;e.globalAlpha=t.strokeOpacity*t.opacity,e.stroke(),e.globalAlpha=r}else e.stroke()}function kA(e,t,r){var n=eM(t.image,t.__image,r);if(ow(n)){var i=e.createPattern(n,t.repeat||"repeat");if(typeof DOMMatrix=="function"&&i&&i.setTransform){var a=new DOMMatrix;a.translateSelf(t.x||0,t.y||0),a.rotateSelf(0,0,(t.rotation||0)*W1),a.scaleSelf(t.scaleX||1,t.scaleY||1),i.setTransform(a)}return i}}function zxe(e,t,r,n){var i,a=cx(r),o=hx(r),s=r.strokePercent,c=s<1,d=!t.path;(!t.silent||c)&&d&&t.createPathProxy();var m=t.path||Oxe,v=t.__dirty;if(!n){var y=r.fill,_=r.stroke,S=o&&!!y.colorStops,I=a&&!!_.colorStops,E=o&&!!y.image,M=a&&!!_.image,L=void 0,R=void 0,$=void 0,G=void 0,j=void 0;(S||I)&&(j=t.getBoundingRect()),S&&(L=v?LA(e,y,j):t.__canvasFillGradient,t.__canvasFillGradient=L),I&&(R=v?LA(e,_,j):t.__canvasStrokeGradient,t.__canvasStrokeGradient=R),E&&($=v||!t.__canvasFillPattern?kA(e,y,t):t.__canvasFillPattern,t.__canvasFillPattern=$),M&&(G=v||!t.__canvasStrokePattern?kA(e,_,t):t.__canvasStrokePattern,t.__canvasStrokePattern=$),S?e.fillStyle=L:E&&($?e.fillStyle=$:o=!1),I?e.strokeStyle=R:M&&(G?e.strokeStyle=G:a=!1)}var H=t.getGlobalScale();m.setScale(H[0],H[1],t.segmentIgnoreThreshold);var Z,Q;e.setLineDash&&r.lineDash&&(i=EM(t),Z=i[0],Q=i[1]);var ee=!0;(d||v&kd)&&(m.setDPR(e.dpr),c?m.setContext(null):(m.setContext(e),ee=!1),m.reset(),t.buildPath(m,t.shape,n),m.toStatic(),t.pathUpdated()),ee&&m.rebuildPath(e,c?s:1),Z&&(e.setLineDash(Z),e.lineDashOffset=Q),n||(r.strokeFirst?(a&&wz(e,r),o&&xz(e,r)):(o&&xz(e,r),a&&wz(e,r))),Z&&e.setLineDash([])}function Bxe(e,t,r){var n=t.__image=eM(r.image,t.__image,t,t.onload);if(!(!n||!ow(n))){var i=r.x||0,a=r.y||0,o=t.getWidth(),s=t.getHeight(),c=n.width/n.height;if(o==null&&s!=null?o=s*c:s==null&&o!=null?s=o/c:o==null&&s==null&&(o=n.width,s=n.height),r.sWidth&&r.sHeight){var d=r.sx||0,m=r.sy||0;e.drawImage(n,d,m,r.sWidth,r.sHeight,i,a,o,s)}else if(r.sx&&r.sy){var d=r.sx,m=r.sy,v=o-d,y=s-m;e.drawImage(n,d,m,v,y,i,a,o,s)}else e.drawImage(n,i,a,o,s)}}function Fxe(e,t,r){var n,i=r.text;if(i!=null&&(i+=""),i){e.font=r.font||ac,e.textAlign=r.textAlign,e.textBaseline=r.textBaseline;var a=void 0,o=void 0;e.setLineDash&&r.lineDash&&(n=EM(t),a=n[0],o=n[1]),a&&(e.setLineDash(a),e.lineDashOffset=o),r.strokeFirst?(cx(r)&&e.strokeText(i,r.x,r.y),hx(r)&&e.fillText(i,r.x,r.y)):(hx(r)&&e.fillText(i,r.x,r.y),cx(r)&&e.strokeText(i,r.x,r.y)),a&&e.setLineDash([])}}var Sz=["shadowBlur","shadowOffsetX","shadowOffsetY"],Tz=[["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]];function Fj(e,t,r,n,i){var a=!1;if(!n&&(r=r||{},t===r))return!1;if(n||t.opacity!==r.opacity){La(e,i),a=!0;var o=Math.max(Math.min(t.opacity,1),0);e.globalAlpha=isNaN(o)?Yh.opacity:o}(n||t.blend!==r.blend)&&(a||(La(e,i),a=!0),e.globalCompositeOperation=t.blend||Yh.blend);for(var s=0;s0&&r.unfinished);r.unfinished||this._zr.flush()}}},t.prototype.getDom=function(){return this._dom},t.prototype.getId=function(){return this.id},t.prototype.getZr=function(){return this._zr},t.prototype.isSSR=function(){return this._ssr},t.prototype.setOption=function(r,n,i){if(!this[Yi]){if(this._disposed){this.id;return}var a,o,s;if(sr(n)&&(i=n.lazyUpdate,a=n.silent,o=n.replaceMerge,s=n.transition,n=n.notMerge),this[Yi]=!0,!this._model||n){var c=new Y1e(this._api),d=this._theme,m=this._model=new bM;m.scheduler=this._scheduler,m.ssr=this._ssr,m.init(null,null,null,d,this._locale,c)}this._model.setOption(r,{replaceMerge:o},zA);var v={seriesTransition:s,optionChanged:!0};if(i)this[Aa]={silent:a,updateParams:v},this[Yi]=!1,this.getZr().wakeUp();else{try{Pd(this),Iu.update.call(this,null,v)}catch(y){throw this[Aa]=null,this[Yi]=!1,y}this._ssr||this._zr.flush(),this[Aa]=null,this[Yi]=!1,jv.call(this,a),Hv.call(this,a)}}},t.prototype.setTheme=function(){},t.prototype.getModel=function(){return this._model},t.prototype.getOption=function(){return this._model&&this._model.getOption()},t.prototype.getWidth=function(){return this._zr.getWidth()},t.prototype.getHeight=function(){return this._zr.getHeight()},t.prototype.getDevicePixelRatio=function(){return this._zr.painter.dpr||gr.hasGlobalWindow&&window.devicePixelRatio||1},t.prototype.getRenderedCanvas=function(r){return this.renderToCanvas(r)},t.prototype.renderToCanvas=function(r){r=r||{};var n=this._zr.painter;return n.getRenderedCanvas({backgroundColor:r.backgroundColor||this._model.get("backgroundColor"),pixelRatio:r.pixelRatio||this.getDevicePixelRatio()})},t.prototype.renderToSVGString=function(r){r=r||{};var n=this._zr.painter;return n.renderToString({useViewBox:r.useViewBox})},t.prototype.getSvgDataURL=function(){if(gr.svgSupported){var r=this._zr,n=r.storage.getDisplayList();return Te(n,function(i){i.stopAnimation(null,!0)}),r.painter.toDataURL()}},t.prototype.getDataURL=function(r){if(this._disposed){this.id;return}r=r||{};var n=r.excludeComponents,i=this._model,a=[],o=this;Te(n,function(c){i.eachComponent({mainType:c},function(d){var m=o._componentsMap[d.__viewId];m.group.ignore||(a.push(m),m.group.ignore=!0)})});var s=this._zr.painter.getType()==="svg"?this.getSvgDataURL():this.renderToCanvas(r).toDataURL("image/"+(r&&r.type||"png"));return Te(a,function(c){c.group.ignore=!1}),s},t.prototype.getConnectedDataURL=function(r){if(this._disposed){this.id;return}var n=r.type==="svg",i=this.group,a=Math.min,o=Math.max,s=1/0;if($z[i]){var c=s,d=s,m=-s,v=-s,y=[],_=r&&r.pixelRatio||this.getDevicePixelRatio();Te($g,function(R,$){if(R.group===i){var G=n?R.getZr().painter.getSvgDom().innerHTML:R.renderToCanvas(Dr(r)),j=R.getDom().getBoundingClientRect();c=a(j.left,c),d=a(j.top,d),m=o(j.right,m),v=o(j.bottom,v),y.push({dom:G,left:j.left,top:j.top})}}),c*=_,d*=_,m*=_,v*=_;var S=m-c,I=v-d,E=Yp.createCanvas(),M=VO(E,{renderer:n?"svg":"canvas"});if(M.resize({width:S,height:I}),n){var L="";return Te(y,function(R){var $=R.left-c,G=R.top-d;L+=''+R.dom+""}),M.painter.getSvgRoot().innerHTML=L,r.connectedBackgroundColor&&M.painter.setBackgroundColor(r.connectedBackgroundColor),M.refreshImmediately(),M.painter.toDataURL()}else return r.connectedBackgroundColor&&M.add(new Zn({shape:{x:0,y:0,width:S,height:I},style:{fill:r.connectedBackgroundColor}})),Te(y,function(R){var $=new sl({style:{x:R.left*_-c,y:R.top*_-d,image:R.dom}});M.add($)}),M.refreshImmediately(),E.toDataURL("image/"+(r&&r.type||"png"))}else return this.getDataURL(r)},t.prototype.convertToPixel=function(r,n){return GT(this,"convertToPixel",r,n)},t.prototype.convertFromPixel=function(r,n){return GT(this,"convertFromPixel",r,n)},t.prototype.containPixel=function(r,n){if(this._disposed){this.id;return}var i=this._model,a,o=pT(i,r);return Te(o,function(s,c){c.indexOf("Models")>=0&&Te(s,function(d){var m=d.coordinateSystem;if(m&&m.containPoint)a=a||!!m.containPoint(n);else if(c==="seriesModels"){var v=this._chartsMap[d.__viewId];v&&v.containPoint&&(a=a||v.containPoint(n,d))}},this)},this),!!a},t.prototype.getVisual=function(r,n){var i=this._model,a=pT(i,r,{defaultMainType:"series"}),o=a.seriesModel,s=o.getData(),c=a.hasOwnProperty("dataIndexInside")?a.dataIndexInside:a.hasOwnProperty("dataIndex")?s.indexOfRawIndex(a.dataIndex):null;return c!=null?yxe(s,c,n):Bj(s,n)},t.prototype.getViewOfComponentModel=function(r){return this._componentsMap[r.__viewId]},t.prototype.getViewOfSeriesModel=function(r){return this._chartsMap[r.__viewId]},t.prototype._initEvents=function(){var r=this;Te(uwe,function(n){var i=function(a){var o=r.getModel(),s=a.target,c,d=n==="globalout";if(d?c={}:s&&ug(s,function(S){var I=Hr(S);if(I&&I.dataIndex!=null){var E=I.dataModel||o.getSeriesByIndex(I.seriesIndex);return c=E&&E.getDataParams(I.dataIndex,I.dataType,s)||{},!0}else if(I.eventData)return c=St({},I.eventData),!0},!0),c){var m=c.componentType,v=c.componentIndex;(m==="markLine"||m==="markPoint"||m==="markArea")&&(m="series",v=c.seriesIndex);var y=m&&v!=null&&o.getComponent(m,v),_=y&&r[y.mainType==="series"?"_chartsMap":"_componentsMap"][y.__viewId];c.event=a,c.type=n,r._$eventProcessor.eventInfo={targetEl:s,packedEvent:c,model:y,view:_},r.trigger(n,c)}};i.zrEventfulCallAtLast=!0,r._zr.on(n,i,r)}),Te(Fg,function(n,i){r._messageCenter.on(i,function(a){this.trigger(i,a)},r)}),Te(["selectchanged"],function(n){r._messageCenter.on(n,function(i){this.trigger(n,i)},r)}),_xe(this._messageCenter,this,this._api)},t.prototype.isDisposed=function(){return this._disposed},t.prototype.clear=function(){if(this._disposed){this.id;return}this.setOption({series:[]},!0)},t.prototype.dispose=function(){if(this._disposed){this.id;return}this._disposed=!0;var r=this.getDom();r&&aV(this.getDom(),LM,"");var n=this,i=n._api,a=n._model;Te(n._componentsViews,function(o){o.dispose(a,i)}),Te(n._chartsViews,function(o){o.dispose(a,i)}),n._zr.dispose(),n._dom=n._model=n._chartsMap=n._componentsMap=n._chartsViews=n._componentsViews=n._scheduler=n._api=n._zr=n._throttledZrFlush=n._theme=n._coordSysMgr=n._messageCenter=null,delete $g[n.id]},t.prototype.resize=function(r){if(!this[Yi]){if(this._disposed){this.id;return}this._zr.resize(r);var n=this._model;if(this._loadingFX&&this._loadingFX.resize(),!!n){var i=n.resetOption("media"),a=r&&r.silent;this[Aa]&&(a==null&&(a=this[Aa].silent),i=!0,this[Aa]=null),this[Yi]=!0;try{i&&Pd(this),Iu.update.call(this,{type:"resize",animation:St({duration:0},r&&r.animation)})}catch(o){throw this[Yi]=!1,o}this[Yi]=!1,jv.call(this,a),Hv.call(this,a)}}},t.prototype.showLoading=function(r,n){if(this._disposed){this.id;return}if(sr(r)&&(n=r,r=""),r=r||"default",this.hideLoading(),!!BA[r]){var i=BA[r](this._api,n),a=this._zr;this._loadingFX=i,a.add(i)}},t.prototype.hideLoading=function(){if(this._disposed){this.id;return}this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null},t.prototype.makeActionFromEvent=function(r){var n=St({},r);return n.type=Fg[r.type],n},t.prototype.dispatchAction=function(r,n){if(this._disposed){this.id;return}if(sr(n)||(n={silent:!!n}),!!fx[r.type]&&this._model){if(this[Yi]){this._pendingActions.push(r);return}var i=n.silent;qT.call(this,r,i);var a=n.flush;a?this._zr.flush():a!==!1&&gr.browser.weChat&&this._throttledZrFlush(),jv.call(this,i),Hv.call(this,i)}},t.prototype.updateLabelLayout=function(){ns.trigger("series:layoutlabels",this._model,this._api,{updatedSeries:[]})},t.prototype.appendData=function(r){if(this._disposed){this.id;return}var n=r.seriesIndex,i=this.getModel(),a=i.getSeriesByIndex(n);a.appendData(r),this._scheduler.unfinished=!0,this.getZr().wakeUp()},t.internalField=function(){Pd=function(v){var y=v._scheduler;y.restorePipelines(v._model),y.prepareStageTasks(),UT(v,!0),UT(v,!1),y.plan()},UT=function(v,y){for(var _=v._model,S=v._scheduler,I=y?v._componentsViews:v._chartsViews,E=y?v._componentsMap:v._chartsMap,M=v._zr,L=v._api,R=0;Ry.get("hoverLayerThreshold")&&!gr.node&&!gr.worker&&y.eachSeries(function(E){if(!E.preventUsingHoverLayer){var M=v._chartsMap[E.__viewId];M.__alive&&M.eachRendered(function(L){L.states.emphasis&&(L.states.emphasis.hoverLayer=!0)})}})}function o(v,y){var _=v.get("blendMode")||null;y.eachRendered(function(S){S.isGroup||(S.style.blend=_)})}function s(v,y){if(!v.preventAutoZ){var _=v.get("z")||0,S=v.get("zlevel")||0;y.eachRendered(function(I){return c(I,_,S,-1/0),!0})}}function c(v,y,_,S){var I=v.getTextContent(),E=v.getTextGuideLine(),M=v.isGroup;if(M)for(var L=v.childrenRef(),R=0;R0?{duration:I,delay:_.get("delay"),easing:_.get("easing")}:null;y.eachRendered(function(M){if(M.states&&M.states.emphasis){if(Rg(M))return;if(M instanceof tn&&p0e(M),M.__dirty){var L=M.prevStates;L&&M.useStates(L)}if(S){M.stateTransition=E;var R=M.getTextContent(),$=M.getTextGuideLine();R&&(R.stateTransition=E),$&&($.stateTransition=E)}M.__dirty&&i(M)}})}Bz=function(v){return new(function(y){mt(_,y);function _(){return y!==null&&y.apply(this,arguments)||this}return _.prototype.getCoordinateSystems=function(){return v._coordSysMgr.getCoordinateSystems()},_.prototype.getComponentByElement=function(S){for(;S;){var I=S.__ecComponentInfo;if(I!=null)return v._model.getComponent(I.mainType,I.index);S=S.parent}},_.prototype.enterEmphasis=function(S,I){py(S,I),_o(v)},_.prototype.leaveEmphasis=function(S,I){my(S,I),_o(v)},_.prototype.enterBlur=function(S){xV(S),_o(v)},_.prototype.leaveBlur=function(S){iM(S),_o(v)},_.prototype.enterSelect=function(S){wV(S),_o(v)},_.prototype.leaveSelect=function(S){SV(S),_o(v)},_.prototype.getModel=function(){return v.getModel()},_.prototype.getViewOfComponentModel=function(S){return v.getViewOfComponentModel(S)},_.prototype.getViewOfSeriesModel=function(S){return v.getViewOfSeriesModel(S)},_}(cj))(v)},Qj=function(v){function y(_,S){for(var I=0;I<_.length;I++){var E=_[I];E[HT]=S}}Te(Fg,function(_,S){v._messageCenter.on(S,function(I){if($z[v.group]&&v[HT]!==kz){if(I&&I.escapeConnect)return;var E=v.makeActionFromEvent(I),M=[];Te($g,function(L){L!==v&&L.group===v.group&&M.push(L)}),y(M,kz),Te(M,function(L){L[HT]!==swe&&L.dispatchAction(E)}),y(M,lwe)}})})}}(),t}(ys),DM=eH.prototype;DM.on=Zj("on");DM.off=Zj("off");DM.one=function(e,t,r){var n=this;function i(){for(var a=[],o=0;o=0)){Nz.push(r);var a=Lj.wrapStageHandler(r,i);a.__prio=t,a.__raw=r,e.push(a)}}function aH(e,t){BA[e]=t}function gwe(e,t,r){var n=Zxe("registerMap");n&&n(e,t,r)}var ywe=Pbe;gf(MM,txe);gf(Mw,rxe);gf(Mw,nxe);gf(MM,vxe);gf(Mw,gxe);gf(qj,Wxe);nH(fj);iH(Yxe,ube);aH("default",ixe);vf({type:Jh,event:Jh,update:Jh},na);vf({type:Q1,event:Q1,update:Q1},na);vf({type:Dg,event:Dg,update:Dg},na);vf({type:eb,event:eb,update:eb},na);vf({type:Lg,event:Lg,update:Lg},na);rH("light",pxe);rH("dark",zj);function Uv(e){return e==null?0:e.length||1}function Vz(e){return e}var _we=function(){function e(t,r,n,i,a,o){this._old=t,this._new=r,this._oldKeyGetter=n||Vz,this._newKeyGetter=i||Vz,this.context=a,this._diffModeMultiple=o==="multiple"}return e.prototype.add=function(t){return this._add=t,this},e.prototype.update=function(t){return this._update=t,this},e.prototype.updateManyToOne=function(t){return this._updateManyToOne=t,this},e.prototype.updateOneToMany=function(t){return this._updateOneToMany=t,this},e.prototype.updateManyToMany=function(t){return this._updateManyToMany=t,this},e.prototype.remove=function(t){return this._remove=t,this},e.prototype.execute=function(){this[this._diffModeMultiple?"_executeMultiple":"_executeOneToOne"]()},e.prototype._executeOneToOne=function(){var t=this._old,r=this._new,n={},i=new Array(t.length),a=new Array(r.length);this._initIndexMap(t,null,i,"_oldKeyGetter"),this._initIndexMap(r,n,a,"_newKeyGetter");for(var o=0;o1){var m=c.shift();c.length===1&&(n[s]=c[0]),this._update&&this._update(m,o)}else d===1?(n[s]=null,this._update&&this._update(c,o)):this._remove&&this._remove(o)}this._performRestAdd(a,n)},e.prototype._executeMultiple=function(){var t=this._old,r=this._new,n={},i={},a=[],o=[];this._initIndexMap(t,n,a,"_oldKeyGetter"),this._initIndexMap(r,i,o,"_newKeyGetter");for(var s=0;s1&&y===1)this._updateManyToOne&&this._updateManyToOne(m,d),i[c]=null;else if(v===1&&y>1)this._updateOneToMany&&this._updateOneToMany(m,d),i[c]=null;else if(v===1&&y===1)this._update&&this._update(m,d),i[c]=null;else if(v>1&&y>1)this._updateManyToMany&&this._updateManyToMany(m,d),i[c]=null;else if(v>1)for(var _=0;_1)for(var s=0;s30}var Gv=sr,Eu=Yt,Pwe=typeof Int32Array>"u"?Array:Int32Array,Awe="e\0\0",jz=-1,Iwe=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_dimSummary","userOutput","_rawData","_dimValueGetter","_nameDimIdx","_idDimIdx","_nameRepeatCount"],Ewe=["_approximateExtent"],Hz,u1,Wv,qv,KT,c1,YT,OM=function(){function e(t,r){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 n,i=!1;sH(t)?(n=t.dimensions,this._dimOmitted=t.isDimensionOmitted(),this._schema=t):(i=!0,n=t),n=n||["x","y"];for(var a={},o=[],s={},c=!1,d={},m=0;m=r)){var n=this._store,i=n.getProvider();this._updateOrdinalMeta();var a=this._nameList,o=this._idList,s=i.getSource().sourceFormat,c=s===jo;if(c&&!i.pure)for(var d=[],m=t;m0},e.prototype.ensureUniqueItemVisual=function(t,r){var n=this._itemVisuals,i=n[t];i||(i=n[t]={});var a=i[r];return a==null&&(a=this.getVisual(r),Ft(a)?a=a.slice():Gv(a)&&(a=St({},a)),i[r]=a),a},e.prototype.setItemVisual=function(t,r,n){var i=this._itemVisuals[t]||{};this._itemVisuals[t]=i,Gv(r)?St(i,r):i[r]=n},e.prototype.clearAllVisual=function(){this._visual={},this._itemVisuals=[]},e.prototype.setLayout=function(t,r){Gv(t)?St(this._layout,t):this._layout[t]=r},e.prototype.getLayout=function(t){return this._layout[t]},e.prototype.getItemLayout=function(t){return this._itemLayouts[t]},e.prototype.setItemLayout=function(t,r,n){this._itemLayouts[t]=n?St(this._itemLayouts[t]||{},r):r},e.prototype.clearItemLayouts=function(){this._itemLayouts.length=0},e.prototype.setItemGraphicEl=function(t,r){var n=this.hostModel&&this.hostModel.seriesIndex;X_e(n,this.dataType,t,r),this._graphicEls[t]=r},e.prototype.getItemGraphicEl=function(t){return this._graphicEls[t]},e.prototype.eachItemGraphicEl=function(t,r){Te(this._graphicEls,function(n,i){n&&t&&t.call(r,n,i)})},e.prototype.cloneShallow=function(t){return t||(t=new e(this._schema?this._schema:Eu(this.dimensions,this._getDimInfo,this),this.hostModel)),KT(t,this),t._store=this._store,t},e.prototype.wrapMethod=function(t,r){var n=this[t];nr(n)&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(t),this[t]=function(){var i=n.apply(this,arguments);return r.apply(this,[i].concat($E(arguments)))})},e.internalField=function(){Hz=function(t){var r=t._invertedIndicesMap;Te(r,function(n,i){var a=t._dimInfos[i],o=a.ordinalMeta,s=t._store;if(o){n=r[i]=new Pwe(o.categories.length);for(var c=0;c1&&(c+="__ec__"+m),i[r]=c}}}(),e}();function Mwe(e,t){wM(e)||(e=dj(e)),t=t||{};var r=t.coordDimensions||[],n=t.dimensionsDefine||e.dimensionsDefine||[],i=dr(),a=[],o=Lwe(e,r,n,t.dimensionsCount),s=t.canOmitUnusedDimensions&&cH(o),c=n===e.dimensionsDefine,d=c?uH(e):lH(n),m=t.encodeDefine;!m&&t.encodeDefaulter&&(m=t.encodeDefaulter(e,o));for(var v=dr(m),y=new xj(o),_=0;_0&&(n.name=i+(a-1)),a++,t.set(i,a)}}function Lwe(e,t,r,n){var i=Math.max(e.dimensionsDetectedCount||1,t.length,r.length,n||0);return Te(t,function(a){var o;sr(a)&&(o=a.dimsDef)&&(i=Math.max(i,o.length))}),i}function kwe(e,t,r){if(r||t.hasKey(e)){for(var n=0;t.hasKey(e+n);)n++;e+=n}return t.set(e,!0),e}var Rwe=function(){function e(t){this.coordSysDims=[],this.axisMap=dr(),this.categoryAxisMap=dr(),this.coordSysName=t}return e}();function Owe(e){var t=e.get("coordinateSystem"),r=new Rwe(t),n=zwe[t];if(n)return n(e,r,r.axisMap,r.categoryAxisMap),r}var zwe={cartesian2d:function(e,t,r,n){var i=e.getReferringComponents("xAxis",Ra).models[0],a=e.getReferringComponents("yAxis",Ra).models[0];t.coordSysDims=["x","y"],r.set("x",i),r.set("y",a),Ad(i)&&(n.set("x",i),t.firstCategoryDimIndex=0),Ad(a)&&(n.set("y",a),t.firstCategoryDimIndex==null&&(t.firstCategoryDimIndex=1))},singleAxis:function(e,t,r,n){var i=e.getReferringComponents("singleAxis",Ra).models[0];t.coordSysDims=["single"],r.set("single",i),Ad(i)&&(n.set("single",i),t.firstCategoryDimIndex=0)},polar:function(e,t,r,n){var i=e.getReferringComponents("polar",Ra).models[0],a=i.findAxisModel("radiusAxis"),o=i.findAxisModel("angleAxis");t.coordSysDims=["radius","angle"],r.set("radius",a),r.set("angle",o),Ad(a)&&(n.set("radius",a),t.firstCategoryDimIndex=0),Ad(o)&&(n.set("angle",o),t.firstCategoryDimIndex==null&&(t.firstCategoryDimIndex=1))},geo:function(e,t,r,n){t.coordSysDims=["lng","lat"]},parallel:function(e,t,r,n){var i=e.ecModel,a=i.getComponent("parallel",e.get("parallelIndex")),o=t.coordSysDims=a.dimensions.slice();Te(a.parallelAxisIndex,function(s,c){var d=i.getComponent("parallelAxis",s),m=o[c];r.set(m,d),Ad(d)&&(n.set(m,d),t.firstCategoryDimIndex==null&&(t.firstCategoryDimIndex=c))})}};function Ad(e){return e.get("type")==="category"}function Bwe(e,t,r){r=r||{};var n=r.byIndex,i=r.stackedCoordDimension,a,o,s;Fwe(t)?a=t:(o=t.schema,a=o.dimensions,s=t.store);var c=!!(e&&e.get("stack")),d,m,v,y;if(Te(a,function(L,R){Wt(L)&&(a[R]=L={name:L}),c&&!L.isExtraCoord&&(!n&&!d&&L.ordinalMeta&&(d=L),!m&&L.type!=="ordinal"&&L.type!=="time"&&(!i||i===L.coordDim)&&(m=L))}),m&&!n&&!d&&(n=!0),m){v="__\0ecstackresult_"+e.id,y="__\0ecstackedover_"+e.id,d&&(d.createInvertedIndices=!0);var _=m.coordDim,S=m.type,I=0;Te(a,function(L){L.coordDim===_&&I++});var E={name:v,coordDim:_,coordDimIndex:I,type:S,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:a.length},M={name:y,coordDim:y,coordDimIndex:I+1,type:S,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:a.length+1};o?(s&&(E.storeDimIndex=s.ensureCalculationDimension(y,S),M.storeDimIndex=s.ensureCalculationDimension(v,S)),o.appendCalculationDimension(E),o.appendCalculationDimension(M)):(a.push(E),a.push(M))}return{stackedDimension:m&&m.name,stackedByDimension:d&&d.name,isStackedByIndex:n,stackedOverDimension:y,stackResultDimension:v}}function Fwe(e){return!sH(e.schema)}function zp(e,t){return!!t&&t===e.getCalculationInfo("stackedDimension")}function $we(e,t){return zp(e,t)?e.getCalculationInfo("stackResultDimension"):t}function Nwe(e,t){var r=e.get("coordinateSystem"),n=xM.get(r),i;return t&&t.coordSysDims&&(i=Yt(t.coordSysDims,function(a){var o={name:a},s=t.axisMap.get(a);if(s){var c=s.get("type");o.type=wwe(c)}return o})),i||(i=n&&(n.getDimensionsInfo?n.getDimensionsInfo():n.dimensions.slice())||["x","y"]),i}function Vwe(e,t,r){var n,i;return r&&Te(e,function(a,o){var s=a.coordDim,c=r.categoryAxisMap.get(s);c&&(n==null&&(n=o),a.ordinalMeta=c.getOrdinalMeta(),t&&(a.createInvertedIndices=!0)),a.otherDims.itemName!=null&&(i=!0)}),!i&&n!=null&&(e[n].otherDims.itemName=0),n}function hH(e,t,r){r=r||{};var n=t.getSourceManager(),i,a=!1;i=n.getSource(),a=i.sourceFormat===jo;var o=Owe(t),s=Nwe(t,o),c=r.useEncodeDefaulter,d=nr(c)?c:c?Pn(F1e,s,t):null,m={coordDimensions:s,generateCoord:r.generateCoord,encodeDefine:t.getEncode(),encodeDefaulter:d,canOmitUnusedDimensions:!a},v=Mwe(i,m),y=Vwe(v.dimensions,r.createInvertedIndices,o),_=a?null:n.getSharedDataStore(v),S=Bwe(t,{schema:v,store:_}),I=new OM(v,t);I.setCalculationInfo(S);var E=y!=null&&jwe(i)?function(M,L,R,$){return $===y?R:this.defaultDimValueGetter(M,L,R,$)}:null;return I.hasItemOption=!1,I.initData(a?i:_,null,E),I}function jwe(e){if(e.sourceFormat===jo){var t=Hwe(e.data||[]);return!Ft(Zy(t))}}function Hwe(e){for(var t=0;tr[1]&&(r[1]=t[1])},e.prototype.unionExtentFromData=function(t,r){this.unionExtent(t.getApproximateExtent(r))},e.prototype.getExtent=function(){return this._extent.slice()},e.prototype.setExtent=function(t,r){var n=this._extent;isNaN(t)||(n[0]=t),isNaN(r)||(n[1]=r)},e.prototype.isInExtentRange=function(t){return this._extent[0]<=t&&this._extent[1]>=t},e.prototype.isBlank=function(){return this._isBlank},e.prototype.setBlank=function(t){this._isBlank=t},e}();aw(ul);var Uwe=0,FA=function(){function e(t){this.categories=t.categories||[],this._needCollect=t.needCollect,this._deduplication=t.deduplication,this.uid=++Uwe}return e.createByAxisModel=function(t){var r=t.option,n=r.data,i=n&&Yt(n,Gwe);return new e({categories:i,needCollect:!i,deduplication:r.dedplication!==!1})},e.prototype.getOrdinal=function(t){return this._getOrCreateMap().get(t)},e.prototype.parseAndCollect=function(t){var r,n=this._needCollect;if(!Wt(t)&&!n)return t;if(n&&!this._deduplication)return r=this.categories.length,this.categories[r]=t,r;var i=this._getOrCreateMap();return r=i.get(t),r==null&&(n?(r=this.categories.length,this.categories[r]=t,i.set(t,r)):r=NaN),r},e.prototype._getOrCreateMap=function(){return this._map||(this._map=dr(this.categories))},e}();function Gwe(e){return sr(e)&&e.value!=null?e.value:e+""}function $A(e){return e.type==="interval"||e.type==="log"}function Wwe(e,t,r,n){var i={},a=e[1]-e[0],o=i.interval=eV(a/t);r!=null&&on&&(o=i.interval=n);var s=i.intervalPrecision=fH(o),c=i.niceTickExtent=[ti(Math.ceil(e[0]/o)*o,s),ti(Math.floor(e[1]/o)*o,s)];return qwe(c,e),i}function JT(e){var t=Math.pow(10,KE(e)),r=e/t;return r?r===2?r=3:r===3?r=5:r*=2:r=1,ti(r*t)}function fH(e){return Zs(e)+2}function Uz(e,t,r){e[t]=Math.max(Math.min(e[t],r[1]),r[0])}function qwe(e,t){!isFinite(e[0])&&(e[0]=t[0]),!isFinite(e[1])&&(e[1]=t[1]),Uz(e,0,t),Uz(e,1,t),e[0]>e[1]&&(e[0]=e[1])}function Dw(e,t){return e>=t[0]&&e<=t[1]}function Lw(e,t){return t[1]===t[0]?.5:(e-t[0])/(t[1]-t[0])}function kw(e,t){return e*(t[1]-t[0])+t[0]}var zM=function(e){mt(t,e);function t(r){var n=e.call(this,r)||this;n.type="ordinal";var i=n.getSetting("ordinalMeta");return i||(i=new FA({})),Ft(i)&&(i=new FA({categories:Yt(i,function(a){return sr(a)?a.value:a})})),n._ordinalMeta=i,n._extent=n.getSetting("extent")||[0,i.categories.length-1],n}return t.prototype.parse=function(r){return r==null?NaN:Wt(r)?this._ordinalMeta.getOrdinal(r):Math.round(r)},t.prototype.contain=function(r){return r=this.parse(r),Dw(r,this._extent)&&this._ordinalMeta.categories[r]!=null},t.prototype.normalize=function(r){return r=this._getTickNumber(this.parse(r)),Lw(r,this._extent)},t.prototype.scale=function(r){return r=Math.round(kw(r,this._extent)),this.getRawOrdinalNumber(r)},t.prototype.getTicks=function(){for(var r=[],n=this._extent,i=n[0];i<=n[1];)r.push({value:i}),i++;return r},t.prototype.getMinorTicks=function(r){},t.prototype.setSortInfo=function(r){if(r==null){this._ordinalNumbersByTick=this._ticksByOrdinalNumber=null;return}for(var n=r.ordinalNumbers,i=this._ordinalNumbersByTick=[],a=this._ticksByOrdinalNumber=[],o=0,s=this._ordinalMeta.categories.length,c=Math.min(s,n.length);o=0&&r=0&&r=r},t.prototype.getOrdinalMeta=function(){return this._ordinalMeta},t.prototype.calcNiceTicks=function(){},t.prototype.calcNiceExtent=function(){},t.type="ordinal",t}(ul);ul.registerClass(zM);var wh=ti,rm=function(e){mt(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type="interval",r._interval=0,r._intervalPrecision=2,r}return t.prototype.parse=function(r){return r},t.prototype.contain=function(r){return Dw(r,this._extent)},t.prototype.normalize=function(r){return Lw(r,this._extent)},t.prototype.scale=function(r){return kw(r,this._extent)},t.prototype.setExtent=function(r,n){var i=this._extent;isNaN(r)||(i[0]=parseFloat(r)),isNaN(n)||(i[1]=parseFloat(n))},t.prototype.unionExtent=function(r){var n=this._extent;r[0]n[1]&&(n[1]=r[1]),this.setExtent(n[0],n[1])},t.prototype.getInterval=function(){return this._interval},t.prototype.setInterval=function(r){this._interval=r,this._niceExtent=this._extent.slice(),this._intervalPrecision=fH(r)},t.prototype.getTicks=function(r){var n=this._interval,i=this._extent,a=this._niceExtent,o=this._intervalPrecision,s=[];if(!n)return s;var c=1e4;i[0]c)return[];var m=s.length?s[s.length-1].value:a[1];return i[1]>m&&(r?s.push({value:wh(m+n,o)}):s.push({value:i[1]})),s},t.prototype.getMinorTicks=function(r){for(var n=this.getTicks(!0),i=[],a=this.getExtent(),o=1;oa[0]&&_0&&(a=a===null?s:Math.min(a,s))}r[n]=a}}return r}function Jwe(e){var t=Ywe(e),r=[];return Te(e,function(n){var i=n.coordinateSystem,a=i.getBaseAxis(),o=a.getExtent(),s;if(a.type==="category")s=a.getBandWidth();else if(a.type==="value"||a.type==="time"){var c=a.dim+"_"+a.index,d=t[c],m=Math.abs(o[1]-o[0]),v=a.scale.getExtent(),y=Math.abs(v[1]-v[0]);s=d?m/y*d:m}else{var _=n.getData();s=Math.abs(o[1]-o[0])/_.count()}var S=li(n.get("barWidth"),s),I=li(n.get("barMaxWidth"),s),E=li(n.get("barMinWidth")||(rSe(n)?.5:1),s),M=n.get("barGap"),L=n.get("barCategoryGap");r.push({bandWidth:s,barWidth:S,barMaxWidth:I,barMinWidth:E,barGap:M,barCategoryGap:L,axisKey:mH(a),stackId:pH(n)})}),Qwe(r)}function Qwe(e){var t={};Te(e,function(n,i){var a=n.axisKey,o=n.bandWidth,s=t[a]||{bandWidth:o,remainedWidth:o,autoWidthCount:0,categoryGap:null,gap:"20%",stacks:{}},c=s.stacks;t[a]=s;var d=n.stackId;c[d]||s.autoWidthCount++,c[d]=c[d]||{width:0,maxWidth:0};var m=n.barWidth;m&&!c[d].width&&(c[d].width=m,m=Math.min(s.remainedWidth,m),s.remainedWidth-=m);var v=n.barMaxWidth;v&&(c[d].maxWidth=v);var y=n.barMinWidth;y&&(c[d].minWidth=y);var _=n.barGap;_!=null&&(s.gap=_);var S=n.barCategoryGap;S!=null&&(s.categoryGap=S)});var r={};return Te(t,function(n,i){r[i]={};var a=n.stacks,o=n.bandWidth,s=n.categoryGap;if(s==null){var c=Ur(a).length;s=Math.max(35-c*4,15)+"%"}var d=li(s,o),m=li(n.gap,1),v=n.remainedWidth,y=n.autoWidthCount,_=(v-d)/(y+(y-1)*m);_=Math.max(_,0),Te(a,function(M){var L=M.maxWidth,R=M.minWidth;if(M.width){var $=M.width;L&&($=Math.min($,L)),R&&($=Math.max($,R)),M.width=$,v-=$+m*$,y--}else{var $=_;L&&L<$&&($=Math.min(L,v)),R&&R>$&&($=R),$!==_&&(M.width=$,v-=$+m*$,y--)}}),_=(v-d)/(y+(y-1)*m),_=Math.max(_,0);var S=0,I;Te(a,function(M,L){M.width||(M.width=_),I=M,S+=M.width*(1+m)}),I&&(S-=I.width*m);var E=-S/2;Te(a,function(M,L){r[i][L]=r[i][L]||{bandWidth:o,offset:E,width:M.width},E+=M.width*(1+m)})}),r}function eSe(e,t,r){if(e&&t){var n=e[mH(t)];return n!=null&&r!=null?n[pH(r)]:n}}function tSe(e){return e.coordinateSystem&&e.coordinateSystem.type==="cartesian2d"}function rSe(e){return e.pipelineContext&&e.pipelineContext.large}var nSe=function(e,t,r,n){for(;r>>1;e[i][1]i&&(this._approxInterval=i);var s=h1.length,c=Math.min(nSe(h1,this._approxInterval,0,s),s-1);this._interval=h1[c][1],this._minLevelUnit=h1[Math.max(c-1,0)][0]},t.prototype.parse=function(r){return In(r)?r:+Gl(r)},t.prototype.contain=function(r){return Dw(this.parse(r),this._extent)},t.prototype.normalize=function(r){return Lw(this.parse(r),this._extent)},t.prototype.scale=function(r){return kw(r,this._extent)},t.type="time",t}(rm),h1=[["second",mM],["minute",vM],["hour",Og],["quarter-day",Og*6],["half-day",Og*12],["day",Mo*1.2],["half-week",Mo*3.5],["week",Mo*7],["month",Mo*31],["quarter",Mo*95],["half-year",R4/2],["year",R4]];function iSe(e,t,r,n){var i=Gl(t),a=Gl(r),o=function(S){return z4(i,S,n)===z4(a,S,n)},s=function(){return o("year")},c=function(){return s()&&o("month")},d=function(){return c()&&o("day")},m=function(){return d()&&o("hour")},v=function(){return m()&&o("minute")},y=function(){return v()&&o("second")},_=function(){return y()&&o("millisecond")};switch(e){case"year":return s();case"month":return c();case"day":return d();case"hour":return m();case"minute":return v();case"second":return y();case"millisecond":return _()}}function aSe(e,t){return e/=Mo,e>16?16:e>7.5?7:e>3.5?4:e>1.5?2:1}function oSe(e){var t=30*Mo;return e/=t,e>6?6:e>3?3:e>2?2:1}function sSe(e){return e/=Og,e>12?12:e>6?6:e>3.5?4:e>2?2:1}function Gz(e,t){return e/=t?vM:mM,e>30?30:e>20?20:e>15?15:e>10?10:e>5?5:e>2?2:1}function lSe(e){return eV(e)}function uSe(e,t,r){var n=new Date(e);switch(up(t)){case"year":case"month":n[XV(r)](0);case"day":n[KV(r)](1);case"hour":n[YV(r)](0);case"minute":n[JV(r)](0);case"second":n[QV(r)](0),n[ej(r)](0)}return n.getTime()}function cSe(e,t,r,n){var i=1e4,a=qV,o=0;function s(ee,ne,ie,ce,Ae,ue,_e){for(var He=new Date(ne),$e=ne,lt=He[ce]();$e1&&ue===0&&ie.unshift({value:ie[0].value-$e})}}for(var ue=0;ue=n[0]&&L<=n[1]&&v++)}var R=(n[1]-n[0])/t;if(v>R*1.5&&y>R/1.5||(d.push(E),v>R||e===a[_]))break}m=[]}}}for(var $=Ri(Yt(d,function(ee){return Ri(ee,function(ne){return ne.value>=n[0]&&ne.value<=n[1]&&!ne.notAdd})}),function(ee){return ee.length>0}),G=[],j=$.length-1,_=0;_<$.length;++_)for(var H=$[_],Z=0;Z0;)a*=10;var s=[ti(dSe(n[0]/a)*a),ti(fSe(n[1]/a)*a)];this._interval=a,this._niceExtent=s}},t.prototype.calcNiceExtent=function(r){Ng.calcNiceExtent.call(this,r),this._fixMin=r.fixMin,this._fixMax=r.fixMax},t.prototype.parse=function(r){return r},t.prototype.contain=function(r){return r=Qo(r)/Qo(this.base),Dw(r,this._extent)},t.prototype.normalize=function(r){return r=Qo(r)/Qo(this.base),Lw(r,this._extent)},t.prototype.scale=function(r){return r=kw(r,this._extent),f1(this.base,r)},t.type="log",t}(ul),gH=BM.prototype;gH.getMinorTicks=Ng.getMinorTicks;gH.getLabel=Ng.getLabel;function d1(e,t){return hSe(e,Zs(t))}ul.registerClass(BM);var pSe=function(){function e(t,r,n){this._prepareParams(t,r,n)}return e.prototype._prepareParams=function(t,r,n){n[1]0&&c>0&&!d&&(s=0),s<0&&c<0&&!m&&(c=0));var y=this._determinedMin,_=this._determinedMax;return y!=null&&(s=y,d=!0),_!=null&&(c=_,m=!0),{min:s,max:c,minFixed:d,maxFixed:m,isBlank:v}},e.prototype.modifyDataMinMax=function(t,r){this[vSe[t]]=r},e.prototype.setDeterminedMinMax=function(t,r){var n=mSe[t];this[n]=r},e.prototype.freeze=function(){this.frozen=!0},e}(),mSe={min:"_determinedMin",max:"_determinedMax"},vSe={min:"_dataMin",max:"_dataMax"};function yH(e,t,r){var n=e.rawExtentInfo;return n||(n=new pSe(e,t,r),e.rawExtentInfo=n,n)}function p1(e,t){return t==null?null:jb(t)?NaN:e.parse(t)}function _H(e,t){var r=e.type,n=yH(e,t,e.getExtent()).calculate();e.setBlank(n.isBlank);var i=n.min,a=n.max,o=t.ecModel;if(o&&r==="time"){var s=Kwe("bar",o),c=!1;if(Te(s,function(v){c=c||v.getBaseAxis()===t.axis}),c){var d=Jwe(s),m=gSe(i,a,t,d);i=m.min,a=m.max}}return{extent:[i,a],fixMin:n.minFixed,fixMax:n.maxFixed}}function gSe(e,t,r,n){var i=r.axis.getExtent(),a=i[1]-i[0],o=eSe(n,r.axis);if(o===void 0)return{min:e,max:t};var s=1/0;Te(o,function(_){s=Math.min(_.offset,s)});var c=-1/0;Te(o,function(_){c=Math.max(_.offset+_.width,c)}),s=Math.abs(s),c=Math.abs(c);var d=s+c,m=t-e,v=1-(s+c)/a,y=m/v-m;return t+=y*(c/d),e-=y*(s/d),{min:e,max:t}}function qz(e,t){var r=t,n=_H(e,r),i=n.extent,a=r.get("splitNumber");e instanceof BM&&(e.base=r.get("logBase"));var o=e.type,s=r.get("interval"),c=o==="interval"||o==="time";e.setExtent(i[0],i[1]),e.calcNiceExtent({splitNumber:a,fixMin:n.fixMin,fixMax:n.fixMax,minInterval:c?r.get("minInterval"):null,maxInterval:c?r.get("maxInterval"):null}),s!=null&&e.setInterval&&e.setInterval(s)}function ySe(e,t){if(t=t||e.get("type"),t)switch(t){case"category":return new zM({ordinalMeta:e.getOrdinalMeta?e.getOrdinalMeta():e.getCategories(),extent:[1/0,-1/0]});case"time":return new vH({locale:e.ecModel.getLocaleModel(),useUTC:e.ecModel.get("useUTC")});default:return new(ul.getClass(t)||rm)}}function _Se(e){var t=e.scale.getExtent(),r=t[0],n=t[1];return!(r>0&&n>0||r<0&&n<0)}function nm(e){var t=e.getLabelModel().get("formatter"),r=e.type==="category"?e.scale.getExtent()[0]:null;return e.scale.type==="time"?function(n){return function(i,a){return e.scale.getFormattedLabel(i,a,n)}}(t):Wt(t)?function(n){return function(i){var a=e.scale.getLabel(i),o=n.replace("{value}",a??"");return o}}(t):nr(t)?function(n){return function(i,a){return r!=null&&(a=i.value-r),n(FM(e,i),a,i.level!=null?{level:i.level}:null)}}(t):function(n){return e.scale.getLabel(n)}}function FM(e,t){return e.type==="category"?e.scale.getLabel(t):t.value}function bSe(e){var t=e.model,r=e.scale;if(!(!t.get(["axisLabel","show"])||r.isBlank())){var n,i,a=r.getExtent();r instanceof zM?i=r.count():(n=r.getTicks(),i=n.length);var o=e.getLabelModel(),s=nm(e),c,d=1;i>40&&(d=Math.ceil(i/40));for(var m=0;me[1]&&(e[1]=i[1])})}var SSe=function(){function e(){}return e.prototype.getNeedCrossZero=function(){var t=this.option;return!t.scale},e.prototype.getCoordSysModel=function(){},e}(),Zz=[],TSe={registerPreprocessor:nH,registerProcessor:iH,registerPostInit:dwe,registerPostUpdate:pwe,registerUpdateLifecycle:kM,registerAction:vf,registerCoordinateSystem:mwe,registerLayout:vwe,registerVisual:gf,registerTransform:ywe,registerLoading:aH,registerMap:gwe,registerImpl:qxe,PRIORITY:owe,ComponentModel:Qr,ComponentView:lo,SeriesModel:tl,ChartView:Ro,registerComponentModel:function(e){Qr.registerClass(e)},registerComponentView:function(e){lo.registerClass(e)},registerSeriesModel:function(e){tl.registerClass(e)},registerChartView:function(e){Ro.registerClass(e)},registerSubTypeDefaulter:function(e,t){Qr.registerSubTypeDefaulter(e,t)},registerPainter:function(e,t){Iye(e,t)}};function $o(e){if(Ft(e)){Te(e,function(t){$o(t)});return}Zr(Zz,e)>=0||(Zz.push(e),nr(e)&&(e={install:e}),e.install(TSe))}var Ty=Kn();function wH(e,t){var r=Yt(t,function(n){return e.scale.parse(n)});return e.type==="time"&&r.length>0&&(r.sort(),r.unshift(r[0]),r.push(r[r.length-1])),r}function CSe(e){var t=e.getLabelModel().get("customValues");if(t){var r=nm(e);return{labels:wH(e,t).map(function(n){var i={value:n};return{formattedLabel:r(i),rawLabel:e.scale.getLabel(i),tickValue:n}})}}return e.type==="category"?ASe(e):ESe(e)}function PSe(e,t){var r=e.getTickModel().get("customValues");return r?{ticks:wH(e,r)}:e.type==="category"?ISe(e,t):{ticks:Yt(e.scale.getTicks(),function(n){return n.value})}}function ASe(e){var t=e.getLabelModel(),r=SH(e,t);return!t.get("show")||e.scale.isBlank()?{labels:[],labelCategoryInterval:r.labelCategoryInterval}:r}function SH(e,t){var r=TH(e,"labels"),n=$M(t),i=CH(r,n);if(i)return i;var a,o;return nr(n)?a=IH(e,n):(o=n==="auto"?MSe(e):n,a=AH(e,o)),PH(r,n,{labels:a,labelCategoryInterval:o})}function ISe(e,t){var r=TH(e,"ticks"),n=$M(t),i=CH(r,n);if(i)return i;var a,o;if((!t.get("show")||e.scale.isBlank())&&(a=[]),nr(n))a=IH(e,n,!0);else if(n==="auto"){var s=SH(e,e.getLabelModel());o=s.labelCategoryInterval,a=Yt(s.labels,function(c){return c.tickValue})}else o=n,a=AH(e,o,!0);return PH(r,n,{ticks:a,tickCategoryInterval:o})}function ESe(e){var t=e.scale.getTicks(),r=nm(e);return{labels:Yt(t,function(n,i){return{level:n.level,formattedLabel:r(n,i),rawLabel:e.scale.getLabel(n),tickValue:n.value}})}}function TH(e,t){return Ty(e)[t]||(Ty(e)[t]=[])}function CH(e,t){for(var r=0;r40&&(s=Math.max(1,Math.floor(o/40)));for(var c=a[0],d=e.dataToCoord(c+1)-e.dataToCoord(c),m=Math.abs(d*Math.cos(n)),v=Math.abs(d*Math.sin(n)),y=0,_=0;c<=a[1];c+=s){var S=0,I=0,E=XE(r({value:c}),t.font,"center","top");S=E.width*1.3,I=E.height*1.3,y=Math.max(y,S,7),_=Math.max(_,I,7)}var M=y/m,L=_/v;isNaN(M)&&(M=1/0),isNaN(L)&&(L=1/0);var R=Math.max(0,Math.floor(Math.min(M,L))),$=Ty(e.model),G=e.getExtent(),j=$.lastAutoInterval,H=$.lastTickCount;return j!=null&&H!=null&&Math.abs(j-R)<=1&&Math.abs(H-o)<=1&&j>R&&$.axisExtent0===G[0]&&$.axisExtent1===G[1]?R=j:($.lastTickCount=o,$.lastAutoInterval=R,$.axisExtent0=G[0],$.axisExtent1=G[1]),R}function LSe(e){var t=e.getLabelModel();return{axisRotate:e.getRotate?e.getRotate():e.isHorizontal&&!e.isHorizontal()?90:0,labelRotate:t.get("rotate")||0,font:t.getFont()}}function AH(e,t,r){var n=nm(e),i=e.scale,a=i.getExtent(),o=e.getLabelModel(),s=[],c=Math.max((t||0)+1,1),d=a[0],m=i.count();d!==0&&c>1&&m/c>2&&(d=Math.round(Math.ceil(d/c)*c));var v=bH(e),y=o.get("showMinLabel")||v,_=o.get("showMaxLabel")||v;y&&d!==a[0]&&I(a[0]);for(var S=d;S<=a[1];S+=c)I(S);_&&S-c!==a[1]&&I(a[1]);function I(E){var M={value:E};s.push(r?E:{formattedLabel:n(M),rawLabel:i.getLabel(M),tickValue:E})}return s}function IH(e,t,r){var n=e.scale,i=nm(e),a=[];return Te(n.getTicks(),function(o){var s=n.getLabel(o),c=o.value;t(o.value,s)&&a.push(r?c:{formattedLabel:i(o),rawLabel:s,tickValue:c})}),a}var Xz=[0,1],kSe=function(){function e(t,r,n){this.onBand=!1,this.inverse=!1,this.dim=t,this.scale=r,this._extent=n||[0,0]}return e.prototype.contain=function(t){var r=this._extent,n=Math.min(r[0],r[1]),i=Math.max(r[0],r[1]);return t>=n&&t<=i},e.prototype.containData=function(t){return this.scale.contain(t)},e.prototype.getExtent=function(){return this._extent.slice()},e.prototype.getPixelPrecision=function(t){return J7(t||this.scale.getExtent(),this._extent)},e.prototype.setExtent=function(t,r){var n=this._extent;n[0]=t,n[1]=r},e.prototype.dataToCoord=function(t,r){var n=this._extent,i=this.scale;return t=i.normalize(t),this.onBand&&i.type==="ordinal"&&(n=n.slice(),Kz(n,i.count())),Qi(t,Xz,n,r)},e.prototype.coordToData=function(t,r){var n=this._extent,i=this.scale;this.onBand&&i.type==="ordinal"&&(n=n.slice(),Kz(n,i.count()));var a=Qi(t,n,Xz,r);return this.scale.scale(a)},e.prototype.pointToData=function(t,r){},e.prototype.getTicksCoords=function(t){t=t||{};var r=t.tickModel||this.getTickModel(),n=PSe(this,r),i=n.ticks,a=Yt(i,function(s){return{coord:this.dataToCoord(this.scale.type==="ordinal"?this.scale.getRawOrdinalNumber(s):s),tickValue:s}},this),o=r.get("alignWithLabel");return RSe(this,a,o,t.clamp),a},e.prototype.getMinorTicksCoords=function(){if(this.scale.type==="ordinal")return[];var t=this.model.getModel("minorTick"),r=t.get("splitNumber");r>0&&r<100||(r=5);var n=this.scale.getMinorTicks(r),i=Yt(n,function(a){return Yt(a,function(o){return{coord:this.dataToCoord(o),tickValue:o}},this)},this);return i},e.prototype.getViewLabels=function(){return CSe(this).labels},e.prototype.getLabelModel=function(){return this.model.getModel("axisLabel")},e.prototype.getTickModel=function(){return this.model.getModel("axisTick")},e.prototype.getBandWidth=function(){var t=this._extent,r=this.scale.getExtent(),n=r[1]-r[0]+(this.onBand?1:0);n===0&&(n=1);var i=Math.abs(t[1]-t[0]);return Math.abs(i)/n},e.prototype.calculateCategoryInterval=function(){return DSe(this)},e}();function Kz(e,t){var r=e[1]-e[0],n=t,i=r/n/2;e[0]+=i,e[1]-=i}function RSe(e,t,r,n){var i=t.length;if(!e.onBand||r||!i)return;var a=e.getExtent(),o,s;if(i===1)t[0].coord=a[0],o=t[1]={coord:a[1]};else{var c=t[i-1].tickValue-t[0].tickValue,d=(t[i-1].coord-t[0].coord)/c;Te(t,function(_){_.coord-=d/2});var m=e.scale.getExtent();s=1+m[1]-t[i-1].tickValue,o={coord:t[i-1].coord+d*s},t.push(o)}var v=a[0]>a[1];y(t[0].coord,a[0])&&(n?t[0].coord=a[0]:t.shift()),n&&y(a[0],t[0].coord)&&t.unshift({coord:a[0]}),y(a[1],o.coord)&&(n?o.coord=a[1]:t.pop()),n&&y(o.coord,a[1])&&t.push({coord:a[1]});function y(_,S){return _=ti(_),S=ti(S),v?_>S:_2}).forEach(function(ie){var ce=ie.charAt(2).toLowerCase()+ie.slice(3);ce.substring(ce.length-4)==="Once"&&(ce="~".concat(ce.substring(0,ce.length-4))),ee[ce]=r[ie]})),Object.keys(ee).forEach(function(ie){var ce=ee[ie];if(ce){var Ae=ie.toLowerCase();Ae.charAt(0)==="~"&&(Ae=Ae.substring(1),ce.__once__=!0);var ue=Q;if(Ae.indexOf("zr:")===0&&(ue=Q.getZr(),Ae=Ae.substring(3)),ce.__once__){delete ce.__once__;var _e=ce;ce=function(){for(var He=[],$e=0;$e=Sh:-d>=Sh),_=d>0?d%Sh:d%Sh+Sh,S=!1;y?S=!0:qu(v)?S=!1:S=_>=DH==!!m;var I=t+n*rC(o),E=r+i*tC(o);this._start&&this._add("M",I,E);var M=Math.round(a*JSe);if(y){var L=1/this._p,R=(m?1:-1)*(Sh-L);this._add("A",n,i,M,1,+m,t+n*rC(o+R),r+i*tC(o+R)),L>.01&&this._add("A",n,i,M,0,+m,I,E)}else{var $=t+n*rC(s),G=r+i*tC(s);this._add("A",n,i,M,+S,+m,$,G)}},e.prototype.rect=function(t,r,n,i){this._add("M",t,r),this._add("l",n,0),this._add("l",0,i),this._add("l",-n,0),this._add("Z")},e.prototype.closePath=function(){this._d.length>0&&this._add("Z")},e.prototype._add=function(t,r,n,i,a,o,s,c,d){for(var m=[],v=this._p,y=1;y"}function s2e(e){return""}function HM(e,t){t=t||{};var r=t.newline?` +`:"";function n(i){var a=i.children,o=i.tag,s=i.attrs,c=i.text;return o2e(o,s)+(o!=="style"?Ma(c):c||"")+(a?""+r+Yt(a,function(d){return n(d)}).join(r)+r:"")+s2e(o)}return n(e)}function l2e(e,t,r){r=r||{};var n=r.newline?` +`:"",i=" {"+n,a=n+"}",o=Yt(Ur(e),function(c){return c+i+Yt(Ur(e[c]),function(d){return d+":"+e[c][d]+";"}).join(n)+a}).join(n),s=Yt(Ur(t),function(c){return"@keyframes "+c+i+Yt(Ur(t[c]),function(d){return d+i+Yt(Ur(t[c][d]),function(m){var v=t[c][d][m];return m==="d"&&(v='path("'+v+'")'),m+":"+v+";"}).join(n)+a}).join(n)+a}).join(n);return!o&&!s?"":[""].join(n)}function HA(e){return{zrId:e,shadowCache:{},patternCache:{},gradientCache:{},clipPathCache:{},defs:{},cssNodes:{},cssAnims:{},cssStyleCache:{},cssAnimIdx:0,shadowIdx:0,gradientIdx:0,patternIdx:0,clipPathIdx:0}}function Qz(e,t,r,n){return ui("svg","root",{width:e,height:t,xmlns:kH,"xmlns:xlink":RH,version:"1.1",baseProfile:"full",viewBox:n?"0 0 "+e+" "+t:!1},r)}var u2e=0;function zH(){return u2e++}var e6={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"},Ah="transform-origin";function c2e(e,t,r){var n=St({},e.shape);St(n,t),e.buildPath(r,n);var i=new LH;return i.reset(j7(e)),r.rebuildPath(i,1),i.generateStr(),i.getStr()}function h2e(e,t){var r=t.originX,n=t.originY;(r||n)&&(e[Ah]=r+"px "+n+"px")}var f2e={fill:"fill",opacity:"opacity",lineWidth:"stroke-width",lineDashOffset:"stroke-dashoffset"};function BH(e,t){var r=t.zrId+"-ani-"+t.cssAnimIdx++;return t.cssAnims[r]=e,r}function d2e(e,t,r){var n=e.shape.paths,i={},a,o;if(Te(n,function(c){var d=HA(r.zrId);d.animation=!0,Rw(c,{},d,!0);var m=d.cssAnims,v=d.cssNodes,y=Ur(m),_=y.length;if(_){o=y[_-1];var S=m[o];for(var I in S){var E=S[I];i[I]=i[I]||{d:""},i[I].d+=E.d||""}for(var M in v){var L=v[M].animation;L.indexOf(o)>=0&&(a=L)}}}),!!a){t.d=!1;var s=BH(i,r);return a.replace(o,s)}}function t6(e){return Wt(e)?e6[e]?"cubic-bezier("+e6[e]+")":GE(e)?e:"":""}function Rw(e,t,r,n){var i=e.animators,a=i.length,o=[];if(e instanceof LV){var s=d2e(e,t,r);if(s)o.push(s);else if(!a)return}else if(!a)return;for(var c={},d=0;d0}).length){var Ge=BH(H,r);return Ge+" "+L[0]+" both"}}for(var E in c){var s=I(c[E]);s&&o.push(s)}if(o.length){var M=r.zrId+"-cls-"+zH();r.cssNodes["."+M]={animation:o.join(",")},t.class=M}}function p2e(e,t,r){if(!e.ignore)if(e.isSilent()){var n={"pointer-events":"none"};r6(n,t,r)}else{var i=e.states.emphasis&&e.states.emphasis.style?e.states.emphasis.style:{},a=i.fill;if(!a){var o=e.style&&e.style.fill,s=e.states.select&&e.states.select.style&&e.states.select.style.fill,c=e.currentStates.indexOf("select")>=0&&s||o;c&&(a=iA(c))}var d=i.lineWidth;if(d){var m=!i.strokeNoScale&&e.transform?e.transform[0]:1;d=d/m}var n={cursor:"pointer"};a&&(n.fill=a),i.stroke&&(n.stroke=i.stroke),d&&(n["stroke-width"]=d),r6(n,t,r)}}function r6(e,t,r,n){var i=JSON.stringify(e),a=r.cssStyleCache[i];a||(a=r.zrId+"-cls-"+zH(),r.cssStyleCache[i]=a,r.cssNodes["."+a+":hover"]=e),t.class=t.class?t.class+" "+a:a}var Cy=Math.round;function FH(e){return e&&Wt(e.src)}function $H(e){return e&&nr(e.toDataURL)}function UM(e,t,r,n){n2e(function(i,a){var o=i==="fill"||i==="stroke";o&&V7(a)?VH(t,e,i,n):o&&WE(a)?jH(r,e,i,n):o&&a==="none"?e[i]="transparent":e[i]=a},t,r,!1),x2e(r,e,n)}function GM(e,t){var r=Eye(t);r&&(r.each(function(n,i){n!=null&&(e[(Jz+i).toLowerCase()]=n+"")}),t.isSilent()&&(e[Jz+"silent"]="true"))}function n6(e){return qu(e[0]-1)&&qu(e[1])&&qu(e[2])&&qu(e[3]-1)}function m2e(e){return qu(e[4])&&qu(e[5])}function WM(e,t,r){if(t&&!(m2e(t)&&n6(t))){var n=1e4;e.transform=n6(t)?"translate("+Cy(t[4]*n)/n+" "+Cy(t[5]*n)/n+")":Yge(t)}}function i6(e,t,r){for(var n=e.points,i=[],a=0;a"u"){var E="Image width/height must been given explictly in svg-ssr renderer.";fs(y,E),fs(_,E)}else if(y==null||_==null){var M=function(ee,ne){if(ee){var ie=ee.elm,ce=y||ne.width,Ae=_||ne.height;ee.tag==="pattern"&&(d?(Ae=1,ce/=a.width):m&&(ce=1,Ae/=a.height)),ee.attrs.width=ce,ee.attrs.height=Ae,ie&&(ie.setAttribute("width",ce),ie.setAttribute("height",Ae))}},L=eM(S,null,e,function(ee){c||M(j,ee),M(v,ee)});L&&L.width&&L.height&&(y=y||L.width,_=_||L.height)}v=ui("image","img",{href:S,width:y,height:_}),o.width=y,o.height=_}else i.svgElement&&(v=Dr(i.svgElement),o.width=i.svgWidth,o.height=i.svgHeight);if(v){var R,$;c?R=$=1:d?($=1,R=o.width/a.width):m?(R=1,$=o.height/a.height):o.patternUnits="userSpaceOnUse",R!=null&&!isNaN(R)&&(o.width=R),$!=null&&!isNaN($)&&(o.height=$);var G=H7(i);G&&(o.patternTransform=G);var j=ui("pattern","",o,[v]),H=HM(j),Z=n.patternCache,Q=Z[H];Q||(Q=n.zrId+"-p"+n.patternIdx++,Z[H]=Q,o.id=Q,j=n.defs[Q]=ui("pattern",Q,o,[v])),t[r]=rw(Q)}}function w2e(e,t,r){var n=r.clipPathCache,i=r.defs,a=n[e.id];if(!a){a=r.zrId+"-c"+r.clipPathIdx++;var o={id:a};n[e.id]=a,i[a]=ui("clipPath",a,o,[NH(e,r)])}t["clip-path"]=rw(a)}function s6(e){return document.createTextNode(e)}function Lh(e,t,r){e.insertBefore(t,r)}function l6(e,t){e.removeChild(t)}function u6(e,t){e.appendChild(t)}function HH(e){return e.parentNode}function UH(e){return e.nextSibling}function nC(e,t){e.textContent=t}var c6=58,S2e=120,T2e=ui("","");function UA(e){return e===void 0}function Vs(e){return e!==void 0}function C2e(e,t,r){for(var n={},i=t;i<=r;++i){var a=e[i].key;a!==void 0&&(n[a]=i)}return n}function cg(e,t){var r=e.key===t.key,n=e.tag===t.tag;return n&&r}function Py(e){var t,r=e.children,n=e.tag;if(Vs(n)){var i=e.elm=OH(n);if(qM(T2e,e),Ft(r))for(t=0;ta?(S=r[c+1]==null?null:r[c+1].elm,GH(e,S,r,i,c)):mx(e,t,n,a))}function Od(e,t){var r=t.elm=e.elm,n=e.children,i=t.children;e!==t&&(qM(e,t),UA(t.text)?Vs(n)&&Vs(i)?n!==i&&P2e(r,n,i):Vs(i)?(Vs(e.text)&&nC(r,""),GH(r,null,i,0,i.length-1)):Vs(n)?mx(r,n,0,n.length-1):Vs(e.text)&&nC(r,""):e.text!==t.text&&(Vs(n)&&mx(r,n,0,n.length-1),nC(r,t.text)))}function A2e(e,t){if(cg(e,t))Od(e,t);else{var r=e.elm,n=HH(r);Py(t),n!==null&&(Lh(n,t.elm,UH(r)),mx(n,[e],0,0))}return t}var I2e=0,E2e=function(){function e(t,r,n){if(this.type="svg",this.refreshHover=h6(),this.configLayer=h6(),this.storage=r,this._opts=n=St({},n),this.root=t,this._id="zr"+I2e++,this._oldVNode=Qz(n.width,n.height),t&&!n.ssr){var i=this._viewport=document.createElement("div");i.style.cssText="position:relative;overflow:hidden";var a=this._svgDom=this._oldVNode.elm=OH("svg");qM(null,this._oldVNode),i.appendChild(a),t.appendChild(i)}this.resize(n.width,n.height)}return e.prototype.getType=function(){return this.type},e.prototype.getViewportRoot=function(){return this._viewport},e.prototype.getViewportRootOffset=function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},e.prototype.getSvgDom=function(){return this._svgDom},e.prototype.refresh=function(){if(this.root){var t=this.renderToVNode({willUpdate:!0});t.attrs.style="position:absolute;left:0;top:0;user-select:none",A2e(this._oldVNode,t),this._oldVNode=t}},e.prototype.renderOneToVNode=function(t){return o6(t,HA(this._id))},e.prototype.renderToVNode=function(t){t=t||{};var r=this.storage.getDisplayList(!0),n=this._width,i=this._height,a=HA(this._id);a.animation=t.animation,a.willUpdate=t.willUpdate,a.compress=t.compress,a.emphasis=t.emphasis;var o=[],s=this._bgVNode=M2e(n,i,this._backgroundColor,a);s&&o.push(s);var c=t.compress?null:this._mainVNode=ui("g","main",{},[]);this._paintList(r,a,c?c.children:o),c&&o.push(c);var d=Yt(Ur(a.defs),function(y){return a.defs[y]});if(d.length&&o.push(ui("defs","defs",{},d)),t.animation){var m=l2e(a.cssNodes,a.cssAnims,{newline:!0});if(m){var v=ui("style","stl",{},[],m);o.push(v)}}return Qz(n,i,o,t.useViewBox)},e.prototype.renderToString=function(t){return t=t||{},HM(this.renderToVNode({animation:wr(t.cssAnimation,!0),emphasis:wr(t.cssEmphasis,!0),willUpdate:!1,compress:!0,useViewBox:wr(t.useViewBox,!0)}),{newline:!0})},e.prototype.setBackgroundColor=function(t){this._backgroundColor=t},e.prototype.getSvgRoot=function(){return this._mainVNode&&this._mainVNode.elm},e.prototype._paintList=function(t,r,n){for(var i=t.length,a=[],o=0,s,c,d=0,m=0;m=0&&!(y&&c&&y[I]===c[I]);I--);for(var E=S-1;E>I;E--)o--,s=a[o-1];for(var M=I+1;M<_;M++){var L={};w2e(y[M],L,r);var R=ui("g","clip-g-"+d++,L,[]);(s?s.children:n).push(R),a[o++]=R,s=R}c=y;var $=o6(v,r);$&&(s?s.children:n).push($)}}},e.prototype.resize=function(t,r){var n=this._opts,i=this.root,a=this._viewport;if(t!=null&&(n.width=t),r!=null&&(n.height=r),i&&a&&(a.style.display="none",t=Gd(i,0,n),r=Gd(i,1,n),a.style.display=""),this._width!==t||this._height!==r){if(this._width=t,this._height=r,a){var o=a.style;o.width=t+"px",o.height=r+"px"}if(WE(this._backgroundColor))this.refresh();else{var s=this._svgDom;s&&(s.setAttribute("width",t),s.setAttribute("height",r));var c=this._bgVNode&&this._bgVNode.elm;c&&(c.setAttribute("width",t),c.setAttribute("height",r))}}},e.prototype.getWidth=function(){return this._width},e.prototype.getHeight=function(){return this._height},e.prototype.dispose=function(){this.root&&(this.root.innerHTML=""),this._svgDom=this._viewport=this.storage=this._oldVNode=this._bgVNode=this._mainVNode=null},e.prototype.clear=function(){this._svgDom&&(this._svgDom.innerHTML=null),this._oldVNode=null},e.prototype.toDataURL=function(t){var r=this.renderToString(),n="data:image/svg+xml;";return t?(r=nye(r),r&&n+"base64,"+r):n+"charset=UTF-8,"+encodeURIComponent(r)},e}();function h6(e){return function(){}}function M2e(e,t,r,n){var i;if(r&&r!=="none")if(i=ui("rect","bg",{width:e,height:t,x:"0",y:"0"}),V7(r))VH({fill:r},i.attrs,"fill",n);else if(WE(r))jH({style:{fill:r},dirty:na,getBoundingRect:function(){return{width:e,height:t}}},i.attrs,"fill",n);else{var a=uy(r),o=a.color,s=a.opacity;i.attrs.fill=o,s<1&&(i.attrs["fill-opacity"]=s)}return i}function D2e(e){e.registerPainter("svg",E2e)}function f6(e,t,r){var n=Yp.createCanvas(),i=t.getWidth(),a=t.getHeight(),o=n.style;return o&&(o.position="absolute",o.left="0",o.top="0",o.width=i+"px",o.height=a+"px",n.setAttribute("data-zr-dom-id",e)),n.width=i*r,n.height=a*r,n}var iC=function(e){mt(t,e);function t(r,n,i){var a=e.call(this)||this;a.motionBlur=!1,a.lastFrameAlpha=.7,a.dpr=1,a.virtual=!1,a.config={},a.incremental=!1,a.zlevel=0,a.maxRepaintRectCount=5,a.__dirty=!0,a.__firstTimePaint=!0,a.__used=!1,a.__drawIndex=0,a.__startIndex=0,a.__endIndex=0,a.__prevStartIndex=null,a.__prevEndIndex=null;var o;i=i||Kb,typeof r=="string"?o=f6(r,n,i):sr(r)&&(o=r,r=o.id),a.id=r,a.dom=o;var s=o.style;return s&&(C7(o),o.onselectstart=function(){return!1},s.padding="0",s.margin="0",s.borderWidth="0"),a.painter=n,a.dpr=i,a}return t.prototype.getElementCount=function(){return this.__endIndex-this.__startIndex},t.prototype.afterBrush=function(){this.__prevStartIndex=this.__startIndex,this.__prevEndIndex=this.__endIndex},t.prototype.initContext=function(){this.ctx=this.dom.getContext("2d"),this.ctx.dpr=this.dpr},t.prototype.setUnpainted=function(){this.__firstTimePaint=!0},t.prototype.createBackBuffer=function(){var r=this.dpr;this.domBack=f6("back-"+this.id,this.painter,r),this.ctxBack=this.domBack.getContext("2d"),r!==1&&this.ctxBack.scale(r,r)},t.prototype.createRepaintRects=function(r,n,i,a){if(this.__firstTimePaint)return this.__firstTimePaint=!1,null;var o=[],s=this.maxRepaintRectCount,c=!1,d=new Kr(0,0,0,0);function m(L){if(!(!L.isFinite()||L.isZero()))if(o.length===0){var R=new Kr(0,0,0,0);R.copy(L),o.push(R)}else{for(var $=!1,G=1/0,j=0,H=0;H=s)}}for(var v=this.__startIndex;v15)break}}Ae.prevElClipPaths&&M.restore()};if(L)if(L.length===0)Z=E.__endIndex;else for(var ee=_.dpr,ne=0;ne0&&t>i[0]){for(c=0;ct);c++);s=n[i[c]]}if(i.splice(c+1,0,t),n[t]=r,!r.virtual)if(s){var d=s.dom;d.nextSibling?o.insertBefore(r.dom,d.nextSibling):o.appendChild(r.dom)}else o.firstChild?o.insertBefore(r.dom,o.firstChild):o.appendChild(r.dom);r.painter||(r.painter=this)}},e.prototype.eachLayer=function(t,r){for(var n=this._zlevelList,i=0;i0?v1:0),this._needsManuallyCompositing),m.__builtin__||FE("ZLevel "+d+" has been used by unkown layer "+m.id),m!==a&&(m.__used=!0,m.__startIndex!==c&&(m.__dirty=!0),m.__startIndex=c,m.incremental?m.__drawIndex=-1:m.__drawIndex=c,r(c),a=m),i.__dirty&to&&!i.__inHover&&(m.__dirty=!0,m.incremental&&m.__drawIndex<0&&(m.__drawIndex=c))}r(c),this.eachBuiltinLayer(function(v,y){!v.__used&&v.getElementCount()>0&&(v.__dirty=!0,v.__startIndex=v.__endIndex=v.__drawIndex=0),v.__dirty&&v.__drawIndex<0&&(v.__drawIndex=v.__startIndex)})},e.prototype.clear=function(){return this.eachBuiltinLayer(this._clearLayer),this},e.prototype._clearLayer=function(t){t.clear()},e.prototype.setBackgroundColor=function(t){this._backgroundColor=t,Te(this._layers,function(r){r.setUnpainted()})},e.prototype.configLayer=function(t,r){if(r){var n=this._layerConfig;n[t]?Gr(n[t],r,!0):n[t]=r;for(var i=0;i-1&&(d.style.stroke=d.style.fill,d.style.fill="#fff",d.style.lineWidth=2),n},t.type="series.line",t.dependencies=["grid","polar"],t.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},t}(tl);function WH(e,t){var r=e.mapDimensionsAll("defaultedLabel"),n=r.length;if(n===1){var i=Op(e,t,r[0]);return i!=null?i+"":null}else if(n){for(var a=[],o=0;o=0&&n.push(t[a])}return n.join(" ")}var ZM=function(e){mt(t,e);function t(r,n,i,a){var o=e.call(this)||this;return o.updateData(r,n,i,a),o}return t.prototype._createSymbol=function(r,n,i,a,o){this.removeAll();var s=ds(r,-1,-1,2,2,null,o);s.attr({z2:100,culling:!0,scaleX:a[0]/2,scaleY:a[1]/2}),s.drift=$2e,this._symbolType=r,this.add(s)},t.prototype.stopSymbolAnimation=function(r){this.childAt(0).stopAnimation(null,r)},t.prototype.getSymbolType=function(){return this._symbolType},t.prototype.getSymbolPath=function(){return this.childAt(0)},t.prototype.highlight=function(){py(this.childAt(0))},t.prototype.downplay=function(){my(this.childAt(0))},t.prototype.setZ=function(r,n){var i=this.childAt(0);i.zlevel=r,i.z=n},t.prototype.setDraggable=function(r,n){var i=this.childAt(0);i.draggable=r,i.cursor=!n&&r?"move":i.cursor},t.prototype.updateData=function(r,n,i,a){this.silent=!1;var o=r.getItemVisual(n,"symbol")||"circle",s=r.hostModel,c=t.getSymbolSize(r,n),d=o!==this._symbolType,m=a&&a.disableAnimation;if(d){var v=r.getItemVisual(n,"symbolKeepAspect");this._createSymbol(o,r,n,c,v)}else{var y=this.childAt(0);y.silent=!1;var _={scaleX:c[0]/2,scaleY:c[1]/2};m?y.attr(_):el(y,_,s,n),X0e(y)}if(this._updateCommon(r,n,c,i,a),d){var y=this.childAt(0);if(!m){var _={scaleX:this._sizeX,scaleY:this._sizeY,style:{opacity:y.style.opacity}};y.scaleX=y.scaleY=0,y.style.opacity=0,em(y,_,s,n)}}m&&this.childAt(0).stopAnimation("leave")},t.prototype._updateCommon=function(r,n,i,a,o){var s=this.childAt(0),c=r.hostModel,d,m,v,y,_,S,I,E,M;if(a&&(d=a.emphasisItemStyle,m=a.blurItemStyle,v=a.selectItemStyle,y=a.focus,_=a.blurScope,I=a.labelStatesModels,E=a.hoverScale,M=a.cursorStyle,S=a.emphasisDisabled),!a||r.hasItemOption){var L=a&&a.itemModel?a.itemModel:r.getItemModel(n),R=L.getModel("emphasis");d=R.getModel("itemStyle").getItemStyle(),v=L.getModel(["select","itemStyle"]).getItemStyle(),m=L.getModel(["blur","itemStyle"]).getItemStyle(),y=R.get("focus"),_=R.get("blurScope"),S=R.get("disabled"),I=Jy(L),E=R.getShallow("scale"),M=L.getShallow("cursor")}var $=r.getItemVisual(n,"symbolRotate");s.attr("rotation",($||0)*Math.PI/180||0);var G=Ew(r.getItemVisual(n,"symbolOffset"),i);G&&(s.x=G[0],s.y=G[1]),M&&s.attr("cursor",M);var j=r.getItemVisual(n,"style"),H=j.fill;if(s instanceof sl){var Z=s.style;s.useStyle(St({image:Z.image,x:Z.x,y:Z.y,width:Z.width,height:Z.height},j))}else s.__isEmptyBrush?s.useStyle(St({},j)):s.useStyle(j),s.style.decal=null,s.setColor(H,o&&o.symbolInnerColor),s.style.strokeNoScale=!0;var Q=r.getItemVisual(n,"liftZ"),ee=this._z2;Q!=null?ee==null&&(this._z2=s.z2,s.z2+=Q):ee!=null&&(s.z2=ee,this._z2=null);var ne=o&&o.useNameLabel;yw(s,I,{labelFetcher:c,labelDataIndex:n,defaultText:ie,inheritColor:H,defaultOpacity:j.opacity});function ie(ue){return ne?r.getName(ue):WH(r,ue)}this._sizeX=i[0]/2,this._sizeY=i[1]/2;var ce=s.ensureState("emphasis");ce.style=d,s.ensureState("select").style=v,s.ensureState("blur").style=m;var Ae=E==null||E===!0?Math.max(1.1,3/this._sizeY):isFinite(E)&&E>0?+E:1;ce.scaleX=this._sizeX*Ae,ce.scaleY=this._sizeY*Ae,this.setSymbolScale(1),vy(this,y,_,S)},t.prototype.setSymbolScale=function(r){this.scaleX=this.scaleY=r},t.prototype.fadeOut=function(r,n,i){var a=this.childAt(0),o=Hr(this).dataIndex,s=i&&i.animation;if(this.silent=a.silent=!0,i&&i.fadeLabel){var c=a.getTextContent();c&&rx(c,{style:{opacity:0}},n,{dataIndex:o,removeOpt:s,cb:function(){a.removeTextContent()}})}else a.removeTextContent();rx(a,{style:{opacity:0},scaleX:0,scaleY:0},n,{dataIndex:o,cb:r,removeOpt:s})},t.getSymbolSize=function(r,n){return IM(r.getItemVisual(n,"symbolSize"))},t}($n);function $2e(e,t){this.parent.drift(e,t)}function aC(e,t,r,n){return t&&!isNaN(t[0])&&!isNaN(t[1])&&!(n.isIgnore&&n.isIgnore(r))&&!(n.clipShape&&!n.clipShape.contain(t[0],t[1]))&&e.getItemVisual(r,"symbol")!=="none"}function p6(e){return e!=null&&!sr(e)&&(e={isIgnore:e}),e||{}}function m6(e){var t=e.hostModel,r=t.getModel("emphasis");return{emphasisItemStyle:r.getModel("itemStyle").getItemStyle(),blurItemStyle:t.getModel(["blur","itemStyle"]).getItemStyle(),selectItemStyle:t.getModel(["select","itemStyle"]).getItemStyle(),focus:r.get("focus"),blurScope:r.get("blurScope"),emphasisDisabled:r.get("disabled"),hoverScale:r.get("scale"),labelStatesModels:Jy(t),cursorStyle:t.get("cursor")}}var XM=function(){function e(t){this.group=new $n,this._SymbolCtor=t||ZM}return e.prototype.updateData=function(t,r){this._progressiveEls=null,r=p6(r);var n=this.group,i=t.hostModel,a=this._data,o=this._SymbolCtor,s=r.disableAnimation,c=m6(t),d={disableAnimation:s},m=r.getSymbolPoint||function(v){return t.getItemLayout(v)};a||n.removeAll(),t.diff(a).add(function(v){var y=m(v);if(aC(t,y,v,r)){var _=new o(t,v,c,d);_.setPosition(y),t.setItemGraphicEl(v,_),n.add(_)}}).update(function(v,y){var _=a.getItemGraphicEl(y),S=m(v);if(!aC(t,S,v,r)){n.remove(_);return}var I=t.getItemVisual(v,"symbol")||"circle",E=_&&_.getSymbolType&&_.getSymbolType();if(!_||E&&E!==I)n.remove(_),_=new o(t,v,c,d),_.setPosition(S);else{_.updateData(t,v,c,d);var M={x:S[0],y:S[1]};s?_.attr(M):el(_,M,i)}n.add(_),t.setItemGraphicEl(v,_)}).remove(function(v){var y=a.getItemGraphicEl(v);y&&y.fadeOut(function(){n.remove(y)},i)}).execute(),this._getSymbolPoint=m,this._data=t},e.prototype.updateLayout=function(){var t=this,r=this._data;r&&r.eachItemGraphicEl(function(n,i){var a=t._getSymbolPoint(i);n.setPosition(a),n.markRedraw()})},e.prototype.incrementalPrepareUpdate=function(t){this._seriesScope=m6(t),this._data=null,this.group.removeAll()},e.prototype.incrementalUpdate=function(t,r,n){this._progressiveEls=[],n=p6(n);function i(c){c.isGroup||(c.incremental=!0,c.ensureState("emphasis").hoverLayer=!0)}for(var a=t.start;a0?r=n[0]:n[1]<0&&(r=n[1]),r}function ZH(e,t,r,n){var i=NaN;e.stacked&&(i=r.get(r.getCalculationInfo("stackedOverDimension"),n)),isNaN(i)&&(i=e.valueStart);var a=e.baseDataOffset,o=[];return o[a]=r.get(e.baseDim,n),o[1-a]=i,t.dataToPoint(o)}function V2e(e,t){var r=[];return t.diff(e).add(function(n){r.push({cmd:"+",idx:n})}).update(function(n,i){r.push({cmd:"=",idx:i,idx1:n})}).remove(function(n){r.push({cmd:"-",idx:n})}).execute(),r}function j2e(e,t,r,n,i,a,o,s){for(var c=V2e(e,t),d=[],m=[],v=[],y=[],_=[],S=[],I=[],E=qH(i,t,o),M=e.getLayout("points")||[],L=t.getLayout("points")||[],R=0;R=i||I<0)break;if(Qh(M,L)){if(c){I+=a;continue}break}if(I===r)e[a>0?"moveTo":"lineTo"](M,L),v=M,y=L;else{var R=M-d,$=L-m;if(R*R+$*$<.5){I+=a;continue}if(o>0){for(var G=I+a,j=t[G*2],H=t[G*2+1];j===M&&H===L&&E=n||Qh(j,H))_=M,S=L;else{ee=j-d,ne=H-m;var Ae=M-d,ue=j-M,_e=L-m,He=H-L,$e=void 0,lt=void 0;if(s==="x"){$e=Math.abs(Ae),lt=Math.abs(ue);var Ct=ee>0?1:-1;_=M-Ct*$e*o,S=L,ie=M+Ct*lt*o,ce=L}else if(s==="y"){$e=Math.abs(_e),lt=Math.abs(He);var Ut=ne>0?1:-1;_=M,S=L-Ut*$e*o,ie=M,ce=L+Ut*lt*o}else $e=Math.sqrt(Ae*Ae+_e*_e),lt=Math.sqrt(ue*ue+He*He),Q=lt/(lt+$e),_=M-ee*o*(1-Q),S=L-ne*o*(1-Q),ie=M+ee*o*Q,ce=L+ne*o*Q,ie=Mu(ie,Du(j,M)),ce=Mu(ce,Du(H,L)),ie=Du(ie,Mu(j,M)),ce=Du(ce,Mu(H,L)),ee=ie-M,ne=ce-L,_=M-ee*$e/lt,S=L-ne*$e/lt,_=Mu(_,Du(d,M)),S=Mu(S,Du(m,L)),_=Du(_,Mu(d,M)),S=Du(S,Mu(m,L)),ee=M-_,ne=L-S,ie=M+ee*lt/$e,ce=L+ne*lt/$e}e.bezierCurveTo(v,y,_,S,M,L),v=ie,y=ce}else e.lineTo(M,L)}d=M,m=L,I+=a}return E}var XH=function(){function e(){this.smooth=0,this.smoothConstraint=!0}return e}(),H2e=function(e){mt(t,e);function t(r){var n=e.call(this,r)||this;return n.type="ec-polyline",n}return t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new XH},t.prototype.buildPath=function(r,n){var i=n.points,a=0,o=i.length/2;if(n.connectNulls){for(;o>0&&Qh(i[o*2-2],i[o*2-1]);o--);for(;a=0){var $=d?(S-c)*R+c:(_-s)*R+s;return d?[r,$]:[$,r]}s=_,c=S;break;case o.C:_=a[v++],S=a[v++],I=a[v++],E=a[v++],M=a[v++],L=a[v++];var G=d?Gb(s,_,I,M,r,m):Gb(c,S,E,L,r,m);if(G>0)for(var j=0;j=0){var $=d?Oi(c,S,E,L,H):Oi(s,_,I,M,H);return d?[r,$]:[$,r]}}s=M,c=L;break}}},t}(tn),U2e=function(e){mt(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t}(XH),G2e=function(e){mt(t,e);function t(r){var n=e.call(this,r)||this;return n.type="ec-polygon",n}return t.prototype.getDefaultShape=function(){return new U2e},t.prototype.buildPath=function(r,n){var i=n.points,a=n.stackedOnPoints,o=0,s=i.length/2,c=n.smoothMonotone;if(n.connectNulls){for(;s>0&&Qh(i[s*2-2],i[s*2-1]);s--);for(;ot){a?r.push(o(a,c,t)):i&&r.push(o(i,c,0),o(i,c,t));break}else i&&(r.push(o(i,c,0)),i=null),r.push(c),a=c}return r}function K2e(e,t,r){var n=e.getVisual("visualMeta");if(!(!n||!n.length||!e.count())&&t.type==="cartesian2d"){for(var i,a,o=n.length-1;o>=0;o--){var s=e.getDimensionInfo(n[o].dimension);if(i=s&&s.coordDim,i==="x"||i==="y"){a=n[o];break}}if(a){var c=t.getAxis(i),d=Yt(a.stops,function(R){return{coord:c.toGlobalCoord(c.dataToCoord(R.value)),color:R.color}}),m=d.length,v=a.outerColors.slice();m&&d[0].coord>d[m-1].coord&&(d.reverse(),v.reverse());var y=X2e(d,i==="x"?r.getWidth():r.getHeight()),_=y.length;if(!_&&m)return d[0].coord<0?v[1]?v[1]:d[m-1].color:v[0]?v[0]:d[0].color;var S=10,I=y[0].coord-S,E=y[_-1].coord+S,M=E-I;if(M<.001)return"transparent";Te(y,function(R){R.offset=(R.coord-I)/M}),y.push({offset:_?y[_-1].offset:.5,color:v[1]||"transparent"}),y.unshift({offset:_?y[0].offset:.5,color:v[0]||"transparent"});var L=new RV(0,0,0,0,y,!0);return L[i]=I,L[i+"2"]=E,L}}}function Y2e(e,t,r){var n=e.get("showAllSymbol"),i=n==="auto";if(!(n&&!i)){var a=r.getAxesByScale("ordinal")[0];if(a&&!(i&&J2e(a,t))){var o=t.mapDimension(a.dim),s={};return Te(a.getViewLabels(),function(c){var d=a.scale.getRawOrdinalNumber(c.tickValue);s[d]=1}),function(c){return!s.hasOwnProperty(t.get(o,c))}}}}function J2e(e,t){var r=e.getExtent(),n=Math.abs(r[1]-r[0])/e.scale.count();isNaN(n)&&(n=0);for(var i=t.count(),a=Math.max(1,Math.round(i/5)),o=0;on)return!1;return!0}function Q2e(e,t){return isNaN(e)||isNaN(t)}function eTe(e){for(var t=e.length/2;t>0&&Q2e(e[t*2-2],e[t*2-1]);t--);return t-1}function b6(e,t){return[e[t*2],e[t*2+1]]}function tTe(e,t,r){for(var n=e.length/2,i=r==="x"?0:1,a,o,s=0,c=-1,d=0;d=t||a>=t&&o<=t){c=d;break}s=d,a=o}return{range:[s,c],t:(t-a)/(o-a)}}function JH(e){if(e.get(["endLabel","show"]))return!0;for(var t=0;t0&&r.get(["emphasis","lineStyle","width"])==="bolder"){var Ct=I.getState("emphasis").style;Ct.lineWidth=+I.style.lineWidth+1}Hr(I).seriesIndex=r.seriesIndex,vy(I,He,$e,lt);var Ut=_6(r.get("smooth")),Vt=r.get("smoothMonotone");if(I.setShape({smooth:Ut,smoothMonotone:Vt,connectNulls:Z}),E){var lr=c.getCalculationInfo("stackedOnSeries"),ur=0;E.useStyle(sn(m.getAreaStyle(),{fill:ce,opacity:.7,lineJoin:"bevel",decal:c.getVisual("style").decal})),lr&&(ur=_6(lr.get("smooth"))),E.setShape({smooth:Ut,stackedOnSmooth:ur,smoothMonotone:Vt,connectNulls:Z}),g4(E,r,"areaStyle"),Hr(E).seriesIndex=r.seriesIndex,vy(E,He,$e,lt)}var yr=function(ir){a._changePolyState(ir)};c.eachItemGraphicEl(function(ir){ir&&(ir.onHoverStateChange=yr)}),this._polyline.onHoverStateChange=yr,this._data=c,this._coordSys=o,this._stackedOnPoints=j,this._points=v,this._step=ne,this._valueOrigin=$,r.get("triggerLineEvent")&&(this.packEventData(r,I),E&&this.packEventData(r,E))},t.prototype.packEventData=function(r,n){Hr(n).eventData={componentType:"series",componentSubType:"line",componentIndex:r.componentIndex,seriesIndex:r.seriesIndex,seriesName:r.name,seriesType:"line"}},t.prototype.highlight=function(r,n,i,a){var o=r.getData(),s=sf(o,a);if(this._changePolyState("emphasis"),!(s instanceof Array)&&s!=null&&s>=0){var c=o.getLayout("points"),d=o.getItemGraphicEl(s);if(!d){var m=c[s*2],v=c[s*2+1];if(isNaN(m)||isNaN(v)||this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(m,v))return;var y=r.get("zlevel")||0,_=r.get("z")||0;d=new ZM(o,s),d.x=m,d.y=v,d.setZ(y,_);var S=d.getSymbolPath().getTextContent();S&&(S.zlevel=y,S.z=_,S.z2=this._polyline.z2+1),d.__temp=!0,o.setItemGraphicEl(s,d),d.stopSymbolAnimation(!0),this.group.add(d)}d.highlight()}else Ro.prototype.highlight.call(this,r,n,i,a)},t.prototype.downplay=function(r,n,i,a){var o=r.getData(),s=sf(o,a);if(this._changePolyState("normal"),s!=null&&s>=0){var c=o.getItemGraphicEl(s);c&&(c.__temp?(o.setItemGraphicEl(s,null),this.group.remove(c)):c.downplay())}else Ro.prototype.downplay.call(this,r,n,i,a)},t.prototype._changePolyState=function(r){var n=this._polygon;f4(this._polyline,r),n&&f4(n,r)},t.prototype._newPolyline=function(r){var n=this._polyline;return n&&this._lineGroup.remove(n),n=new H2e({shape:{points:r},segmentIgnoreThreshold:2,z2:10}),this._lineGroup.add(n),this._polyline=n,n},t.prototype._newPolygon=function(r,n){var i=this._polygon;return i&&this._lineGroup.remove(i),i=new G2e({shape:{points:r,stackedOnPoints:n},segmentIgnoreThreshold:2}),this._lineGroup.add(i),this._polygon=i,i},t.prototype._initSymbolLabelAnimation=function(r,n,i){var a,o,s=n.getBaseAxis(),c=s.inverse;n.type==="cartesian2d"?(a=s.isHorizontal(),o=!1):n.type==="polar"&&(a=s.dim==="angle",o=!0);var d=r.hostModel,m=d.get("animationDuration");nr(m)&&(m=m(null));var v=d.get("animationDelay")||0,y=nr(v)?v(null):v;r.eachItemGraphicEl(function(_,S){var I=_;if(I){var E=[_.x,_.y],M=void 0,L=void 0,R=void 0;if(i)if(o){var $=i,G=n.pointToCoord(E);a?(M=$.startAngle,L=$.endAngle,R=-G[1]/180*Math.PI):(M=$.r0,L=$.r,R=G[0])}else{var j=i;a?(M=j.x,L=j.x+j.width,R=_.x):(M=j.y+j.height,L=j.y,R=_.y)}var H=L===M?0:(R-M)/(L-M);c&&(H=1-H);var Z=nr(v)?v(S):m*H+y,Q=I.getSymbolPath(),ee=Q.getTextContent();I.attr({scaleX:0,scaleY:0}),I.animateTo({scaleX:1,scaleY:1},{duration:200,setToFinal:!0,delay:Z}),ee&&ee.animateFrom({style:{opacity:0}},{duration:300,delay:Z}),Q.disableLabelAnimation=!0}})},t.prototype._initOrUpdateEndLabel=function(r,n,i){var a=r.getModel("endLabel");if(JH(r)){var o=r.getData(),s=this._polyline,c=o.getLayout("points");if(!c){s.removeTextContent(),this._endLabel=null;return}var d=this._endLabel;d||(d=this._endLabel=new Vi({z2:200}),d.ignoreClip=!0,s.setTextContent(this._endLabel),s.disableLabelAnimation=!0);var m=eTe(c);m>=0&&(yw(s,Jy(r,"endLabel"),{inheritColor:i,labelFetcher:r,labelDataIndex:m,defaultText:function(v,y,_){return _!=null?F2e(o,_):WH(o,v)},enableTextSetter:!0},rTe(a,n)),s.textConfig.position=null)}else this._endLabel&&(this._polyline.removeTextContent(),this._endLabel=null)},t.prototype._endLabelOnDuring=function(r,n,i,a,o,s,c){var d=this._endLabel,m=this._polyline;if(d){r<1&&a.originalX==null&&(a.originalX=d.x,a.originalY=d.y);var v=i.getLayout("points"),y=i.hostModel,_=y.get("connectNulls"),S=s.get("precision"),I=s.get("distance")||0,E=c.getBaseAxis(),M=E.isHorizontal(),L=E.inverse,R=n.shape,$=L?M?R.x:R.y+R.height:M?R.x+R.width:R.y,G=(M?I:0)*(L?-1:1),j=(M?0:-I)*(L?-1:1),H=M?"x":"y",Z=tTe(v,$,H),Q=Z.range,ee=Q[1]-Q[0],ne=void 0;if(ee>=1){if(ee>1&&!_){var ie=b6(v,Q[0]);d.attr({x:ie[0]+G,y:ie[1]+j}),o&&(ne=y.getRawValue(Q[0]))}else{var ie=m.getPointOn($,H);ie&&d.attr({x:ie[0]+G,y:ie[1]+j});var ce=y.getRawValue(Q[0]),Ae=y.getRawValue(Q[1]);o&&(ne=Jye(i,S,ce,Ae,Z.t))}a.lastFrameIndex=Q[0]}else{var ue=r===1||a.lastFrameIndex>0?Q[0]:0,ie=b6(v,ue);o&&(ne=y.getRawValue(ue)),d.attr({x:ie[0]+G,y:ie[1]+j})}if(o){var _e=jV(d);typeof _e.setLabelText=="function"&&_e.setLabelText(ne)}}},t.prototype._doUpdateAnimation=function(r,n,i,a,o,s,c){var d=this._polyline,m=this._polygon,v=r.hostModel,y=j2e(this._data,r,this._stackedOnPoints,n,this._coordSys,i,this._valueOrigin),_=y.current,S=y.stackedOnCurrent,I=y.next,E=y.stackedOnNext;if(o&&(_=Lu(y.current,i,o,c),S=Lu(y.stackedOnCurrent,i,o,c),I=Lu(y.next,i,o,c),E=Lu(y.stackedOnNext,i,o,c)),y6(_,I)>3e3||m&&y6(S,E)>3e3){d.stopAnimation(),d.setShape({points:I}),m&&(m.stopAnimation(),m.setShape({points:I,stackedOnPoints:E}));return}d.shape.__points=y.current,d.shape.points=_;var M={shape:{points:I}};y.current!==_&&(M.shape.__points=y.next),d.stopAnimation(),el(d,M,v),m&&(m.setShape({points:_,stackedOnPoints:S}),m.stopAnimation(),el(m,{shape:{stackedOnPoints:E}},v),d.shape.points!==m.shape.points&&(m.shape.points=d.shape.points));for(var L=[],R=y.status,$=0;$t&&(t=e[r]);return isFinite(t)?t:NaN},min:function(e){for(var t=1/0,r=0;rt&&(t=a,r=i)}return isFinite(r)?r:NaN},nearest:function(e){return e[0]}},aTe=function(e){return Math.round(e.length/2)};function oTe(e){return{seriesType:e,reset:function(t,r,n){var i=t.getData(),a=t.get("sampling"),o=t.coordinateSystem,s=i.count();if(s>10&&o.type==="cartesian2d"&&a){var c=o.getBaseAxis(),d=o.getOtherAxis(c),m=c.getExtent(),v=n.getDevicePixelRatio(),y=Math.abs(m[1]-m[0])*(v||1),_=Math.round(s/y);if(isFinite(_)&&_>1){a==="lttb"&&t.setData(i.lttbDownSample(i.mapDimension(d.dim),1/_));var S=void 0;Wt(a)?S=iTe[a]:nr(a)&&(S=a),S&&t.setData(i.downSample(i.mapDimension(d.dim),1/_,S,aTe))}}}}}function sTe(e){e.registerChartView(nTe),e.registerSeriesModel(B2e),e.registerLayout(KM("line",!0)),e.registerVisual({seriesType:"line",reset:function(t){var r=t.getData(),n=t.getModel("lineStyle").getLineStyle();n&&!n.stroke&&(n.stroke=r.getVisual("style").fill),r.setVisual("legendLineStyle",n)}}),e.registerProcessor(e.PRIORITY.PROCESSOR.STATISTIC,oTe("line"))}var lTe=function(e){mt(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r.hasSymbolVisual=!0,r}return t.prototype.getInitialData=function(r,n){return hH(null,this,{useEncodeDefaulter:!0})},t.prototype.getProgressive=function(){var r=this.option.progressive;return r??(this.option.large?5e3:this.get("progressive"))},t.prototype.getProgressiveThreshold=function(){var r=this.option.progressiveThreshold;return r??(this.option.large?1e4:this.get("progressiveThreshold"))},t.prototype.brushSelector=function(r,n,i){return i.point(n.getItemLayout(r))},t.prototype.getZLevelKey=function(){return this.getData().count()>this.getProgressiveThreshold()?this.id:""},t.type="series.scatter",t.dependencies=["grid","polar","geo","singleAxis","calendar"],t.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"}},t}(tl),QH=4,uTe=function(){function e(){}return e}(),cTe=function(e){mt(t,e);function t(r){var n=e.call(this,r)||this;return n._off=0,n.hoverDataIdx=-1,n}return t.prototype.getDefaultShape=function(){return new uTe},t.prototype.reset=function(){this.notClear=!1,this._off=0},t.prototype.buildPath=function(r,n){var i=n.points,a=n.size,o=this.symbolProxy,s=o.shape,c=r.getContext?r.getContext():r,d=c&&a[0]=0;d--){var m=d*2,v=a[m]-s/2,y=a[m+1]-c/2;if(r>=v&&n>=y&&r<=v+s&&n<=y+c)return d}return-1},t.prototype.contain=function(r,n){var i=this.transformCoordToLocal(r,n),a=this.getBoundingRect();if(r=i[0],n=i[1],a.contain(r,n)){var o=this.hoverDataIdx=this.findDataIndex(r,n);return o>=0}return this.hoverDataIdx=-1,!1},t.prototype.getBoundingRect=function(){var r=this._rect;if(!r){for(var n=this.shape,i=n.points,a=n.size,o=a[0],s=a[1],c=1/0,d=1/0,m=-1/0,v=-1/0,y=0;y=0&&(d.dataIndex=v+(t.startIndex||0))})},e.prototype.remove=function(){this._clear()},e.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},e}(),fTe=function(e){mt(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.prototype.render=function(r,n,i){var a=r.getData(),o=this._updateSymbolDraw(a,r);o.updateData(a,{clipShape:this._getClipShape(r)}),this._finished=!0},t.prototype.incrementalPrepareRender=function(r,n,i){var a=r.getData(),o=this._updateSymbolDraw(a,r);o.incrementalPrepareUpdate(a),this._finished=!1},t.prototype.incrementalRender=function(r,n,i){this._symbolDraw.incrementalUpdate(r,n.getData(),{clipShape:this._getClipShape(n)}),this._finished=r.end===n.getData().count()},t.prototype.updateTransform=function(r,n,i){var a=r.getData();if(this.group.dirty(),!this._finished||a.count()>1e4)return{update:!0};var o=KM("").reset(r,n,i);o.progress&&o.progress({start:0,end:a.count(),count:a.count()},a),this._symbolDraw.updateLayout(a)},t.prototype.eachRendered=function(r){this._symbolDraw&&this._symbolDraw.eachRendered(r)},t.prototype._getClipShape=function(r){if(r.get("clip",!0)){var n=r.coordinateSystem;return n&&n.getArea&&n.getArea(.1)}},t.prototype._updateSymbolDraw=function(r,n){var i=this._symbolDraw,a=n.pipelineContext,o=a.large;return(!i||o!==this._isLargeDraw)&&(i&&i.remove(),i=this._symbolDraw=o?new hTe:new XM,this._isLargeDraw=o,this.group.removeAll()),this.group.add(i.group),i},t.prototype.remove=function(r,n){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},t.prototype.dispose=function(){},t.type="scatter",t}(Ro),dTe=function(e){mt(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.type="grid",t.dependencies=["xAxis","yAxis"],t.layoutMode="box",t.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"},t}(Qr),WA=function(e){mt(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.getCoordSysModel=function(){return this.getReferringComponents("grid",Ra).models[0]},t.type="cartesian2dAxis",t}(Qr);gs(WA,SSe);var eU={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)"]}}},pTe=Gr({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},eU),YM=Gr({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}}},eU),mTe=Gr({splitNumber:6,axisLabel:{showMinLabel:!1,showMaxLabel:!1,rich:{primary:{fontWeight:"bold"}}},splitLine:{show:!1}},YM),vTe=sn({logBase:10},YM);const gTe={category:pTe,value:YM,time:mTe,log:vTe};var yTe={value:1,category:1,time:1,log:1};function x6(e,t,r,n){Te(yTe,function(i,a){var o=Gr(Gr({},gTe[a],!0),n,!0),s=function(c){mt(d,c);function d(){var m=c!==null&&c.apply(this,arguments)||this;return m.type=t+"Axis."+a,m}return d.prototype.mergeDefaultAndTheme=function(m,v){var y=by(this),_=y?Qy(m):{},S=v.getTheme();Gr(m,S.get(a+"Axis")),Gr(m,this.getDefaultOption()),m.type=w6(m),y&&Rp(m,_,y)},d.prototype.optionUpdated=function(){var m=this.option;m.type==="category"&&(this.__ordinalMeta=FA.createByAxisModel(this))},d.prototype.getCategories=function(m){var v=this.option;if(v.type==="category")return m?v.data:this.__ordinalMeta.categories},d.prototype.getOrdinalMeta=function(){return this.__ordinalMeta},d.type=t+"Axis."+a,d.defaultOption=o,d}(r);e.registerComponentModel(s)}),e.registerSubTypeDefaulter(t+"Axis",w6)}function w6(e){return e.type||(e.data?"category":"value")}var _Te=function(){function e(t){this.type="cartesian",this._dimList=[],this._axes={},this.name=t||""}return e.prototype.getAxis=function(t){return this._axes[t]},e.prototype.getAxes=function(){return Yt(this._dimList,function(t){return this._axes[t]},this)},e.prototype.getAxesByScale=function(t){return t=t.toLowerCase(),Ri(this.getAxes(),function(r){return r.scale.type===t})},e.prototype.addAxis=function(t){var r=t.dim;this._axes[r]=t,this._dimList.push(r)},e}(),qA=["x","y"];function S6(e){return e.type==="interval"||e.type==="time"}var bTe=function(e){mt(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type="cartesian2d",r.dimensions=qA,r}return t.prototype.calcAffineTransform=function(){this._transform=this._invTransform=null;var r=this.getAxis("x").scale,n=this.getAxis("y").scale;if(!(!S6(r)||!S6(n))){var i=r.getExtent(),a=n.getExtent(),o=this.dataToPoint([i[0],a[0]]),s=this.dataToPoint([i[1],a[1]]),c=i[1]-i[0],d=a[1]-a[0];if(!(!c||!d)){var m=(s[0]-o[0])/c,v=(s[1]-o[1])/d,y=o[0]-i[0]*m,_=o[1]-a[0]*v,S=this._transform=[m,0,0,v,y,_];this._invTransform=UE([],S)}}},t.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},t.prototype.containPoint=function(r){var n=this.getAxis("x"),i=this.getAxis("y");return n.contain(n.toLocalCoord(r[0]))&&i.contain(i.toLocalCoord(r[1]))},t.prototype.containData=function(r){return this.getAxis("x").containData(r[0])&&this.getAxis("y").containData(r[1])},t.prototype.containZone=function(r,n){var i=this.dataToPoint(r),a=this.dataToPoint(n),o=this.getArea(),s=new Kr(i[0],i[1],a[0]-i[0],a[1]-i[1]);return o.intersect(s)},t.prototype.dataToPoint=function(r,n,i){i=i||[];var a=r[0],o=r[1];if(this._transform&&a!=null&&isFinite(a)&&o!=null&&isFinite(o))return ko(i,r,this._transform);var s=this.getAxis("x"),c=this.getAxis("y");return i[0]=s.toGlobalCoord(s.dataToCoord(a,n)),i[1]=c.toGlobalCoord(c.dataToCoord(o,n)),i},t.prototype.clampData=function(r,n){var i=this.getAxis("x").scale,a=this.getAxis("y").scale,o=i.getExtent(),s=a.getExtent(),c=i.parse(r[0]),d=a.parse(r[1]);return n=n||[],n[0]=Math.min(Math.max(Math.min(o[0],o[1]),c),Math.max(o[0],o[1])),n[1]=Math.min(Math.max(Math.min(s[0],s[1]),d),Math.max(s[0],s[1])),n},t.prototype.pointToData=function(r,n){var i=[];if(this._invTransform)return ko(i,r,this._invTransform);var a=this.getAxis("x"),o=this.getAxis("y");return i[0]=a.coordToData(a.toLocalCoord(r[0]),n),i[1]=o.coordToData(o.toLocalCoord(r[1]),n),i},t.prototype.getOtherAxis=function(r){return this.getAxis(r.dim==="x"?"y":"x")},t.prototype.getArea=function(r){r=r||0;var n=this.getAxis("x").getGlobalExtent(),i=this.getAxis("y").getGlobalExtent(),a=Math.min(n[0],n[1])-r,o=Math.min(i[0],i[1])-r,s=Math.max(n[0],n[1])-a+r,c=Math.max(i[0],i[1])-o+r;return new Kr(a,o,s,c)},t}(_Te),xTe=function(e){mt(t,e);function t(r,n,i,a,o){var s=e.call(this,r,n,i)||this;return s.index=0,s.type=a||"value",s.position=o||"bottom",s}return t.prototype.isHorizontal=function(){var r=this.position;return r==="top"||r==="bottom"},t.prototype.getGlobalExtent=function(r){var n=this.getExtent();return n[0]=this.toGlobalCoord(n[0]),n[1]=this.toGlobalCoord(n[1]),r&&n[0]>n[1]&&n.reverse(),n},t.prototype.pointToData=function(r,n){return this.coordToData(this.toLocalCoord(r[this.dim==="x"?0:1]),n)},t.prototype.setCategorySortInfo=function(r){if(this.type!=="category")return!1;this.model.option.categorySortInfo=r,this.scale.setSortInfo(r)},t}(kSe);function ZA(e,t,r){r=r||{};var n=e.coordinateSystem,i=t.axis,a={},o=i.getAxesOnZeroOf()[0],s=i.position,c=o?"onZero":s,d=i.dim,m=n.getRect(),v=[m.x,m.x+m.width,m.y,m.y+m.height],y={left:0,right:1,top:0,bottom:1,onZero:2},_=t.get("offset")||0,S=d==="x"?[v[2]-_,v[3]+_]:[v[0]-_,v[1]+_];if(o){var I=o.toGlobalCoord(o.dataToCoord(0));S[y.onZero]=Math.max(Math.min(I,S[1]),S[0])}a.position=[d==="y"?S[y[c]]:v[0],d==="x"?S[y[c]]:v[3]],a.rotation=Math.PI/2*(d==="x"?0:1);var E={top:-1,bottom:1,left:-1,right:1};a.labelDirection=a.tickDirection=a.nameDirection=E[s],a.labelOffset=o?S[y[s]]-S[y.onZero]:0,t.get(["axisTick","inside"])&&(a.tickDirection=-a.tickDirection),Mp(r.labelInside,t.get(["axisLabel","inside"]))&&(a.labelDirection=-a.labelDirection);var M=t.get(["axisLabel","rotate"]);return a.labelRotate=c==="top"?-M:M,a.z2=1,a}function T6(e){return e.get("coordinateSystem")==="cartesian2d"}function C6(e){var t={xAxisModel:null,yAxisModel:null};return Te(t,function(r,n){var i=n.replace(/Model$/,""),a=e.getReferringComponents(i,Ra).models[0];t[n]=a}),t}var sC=Math.log;function wTe(e,t,r){var n=rm.prototype,i=n.getTicks.call(r),a=n.getTicks.call(r,!0),o=i.length-1,s=n.getInterval.call(r),c=_H(e,t),d=c.extent,m=c.fixMin,v=c.fixMax;if(e.type==="log"){var y=sC(e.base);d=[sC(d[0])/y,sC(d[1])/y]}e.setExtent(d[0],d[1]),e.calcNiceExtent({splitNumber:o,fixMin:m,fixMax:v});var _=n.getExtent.call(e);m&&(d[0]=_[0]),v&&(d[1]=_[1]);var S=n.getInterval.call(e),I=d[0],E=d[1];if(m&&v)S=(E-I)/o;else if(m)for(E=d[0]+S*o;Ed[0]&&isFinite(I)&&isFinite(d[0]);)S=JT(S),I=d[1]-S*o;else{var M=e.getTicks().length-1;M>o&&(S=JT(S));var L=S*o;E=Math.ceil(d[1]/S)*S,I=ti(E-L),I<0&&d[0]>=0?(I=0,E=ti(L)):E>0&&d[1]<=0&&(E=0,I=-ti(L))}var R=(i[0].value-a[0].value)/s,$=(i[o].value-a[o].value)/s;n.setExtent.call(e,I+S*R,E+S*$),n.setInterval.call(e,S),(R||$)&&n.setNiceExtent.call(e,I+S,E-S)}var STe=function(){function e(t,r,n){this.type="grid",this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this.axisPointerEnabled=!0,this.dimensions=qA,this._initCartesian(t,r,n),this.model=t}return e.prototype.getRect=function(){return this._rect},e.prototype.update=function(t,r){var n=this._axesMap;this._updateScale(t,this.model);function i(o){var s,c=Ur(o),d=c.length;if(d){for(var m=[],v=d-1;v>=0;v--){var y=+c[v],_=o[y],S=_.model,I=_.scale;$A(I)&&S.get("alignTicks")&&S.get("interval")==null?m.push(_):(qz(I,S),$A(I)&&(s=_))}m.length&&(s||(s=m.pop(),qz(s.scale,s.model)),Te(m,function(E){wTe(E.scale,E.model,s.scale)}))}}i(n.x),i(n.y);var a={};Te(n.x,function(o){P6(n,"y",o,a)}),Te(n.y,function(o){P6(n,"x",o,a)}),this.resize(this.model,r)},e.prototype.resize=function(t,r,n){var i=t.getBoxLayoutParams(),a=!n&&t.get("containLabel"),o=kp(i,{width:r.getWidth(),height:r.getHeight()});this._rect=o;var s=this._axesList;c(),a&&(Te(s,function(d){if(!d.model.get(["axisLabel","inside"])){var m=bSe(d);if(m){var v=d.isHorizontal()?"height":"width",y=d.model.get(["axisLabel","margin"]);o[v]-=m[v]+y,d.position==="top"?o.y+=m.height+y:d.position==="left"&&(o.x+=m.width+y)}}}),c()),Te(this._coordsList,function(d){d.calcAffineTransform()});function c(){Te(s,function(d){var m=d.isHorizontal(),v=m?[0,o.width]:[0,o.height],y=d.inverse?1:0;d.setExtent(v[y],v[1-y]),TTe(d,m?o.x:o.y)})}},e.prototype.getAxis=function(t,r){var n=this._axesMap[t];if(n!=null)return n[r||0]},e.prototype.getAxes=function(){return this._axesList.slice()},e.prototype.getCartesian=function(t,r){if(t!=null&&r!=null){var n="x"+t+"y"+r;return this._coordsMap[n]}sr(t)&&(r=t.yAxisIndex,t=t.xAxisIndex);for(var i=0,a=this._coordsList;i0?"top":"bottom",a="center"):Yb(i-Zu)?(o=n>0?"bottom":"top",a="center"):(o="middle",i>0&&i0?"right":"left":a=n>0?"left":"right"),{rotation:i,textAlign:a,textVerticalAlign:o}},e.makeAxisEventDataBase=function(t){var r={componentType:t.mainType,componentIndex:t.componentIndex};return r[t.mainType+"Index"]=t.componentIndex,r},e.isLabelSilent=function(t){var r=t.get("tooltip");return t.get("silent")||!(t.get("triggerEvent")||r&&r.show)},e}(),I6={axisLine:function(e,t,r,n){var i=t.get(["axisLine","show"]);if(i==="auto"&&e.handleAutoShown&&(i=e.handleAutoShown("axisLine")),!!i){var a=t.axis.getExtent(),o=n.transform,s=[a[0],0],c=[a[1],0],d=s[0]>c[0];o&&(ko(s,s,o),ko(c,c,o));var m=St({lineCap:"round"},t.getModel(["axisLine","lineStyle"]).getLineStyle()),v=new Wl({shape:{x1:s[0],y1:s[1],x2:c[0],y2:c[1]},style:m,strokeContainThreshold:e.strokeContainThreshold||5,silent:!0,z2:1});gy(v.shape,v.style.lineWidth),v.anid="line",r.add(v);var y=t.get(["axisLine","symbol"]);if(y!=null){var _=t.get(["axisLine","symbolSize"]);Wt(y)&&(y=[y,y]),(Wt(_)||In(_))&&(_=[_,_]);var S=Ew(t.get(["axisLine","symbolOffset"])||0,_),I=_[0],E=_[1];Te([{rotate:e.rotation+Math.PI/2,offset:S[0],r:0},{rotate:e.rotation-Math.PI/2,offset:S[1],r:Math.sqrt((s[0]-c[0])*(s[0]-c[0])+(s[1]-c[1])*(s[1]-c[1]))}],function(M,L){if(y[L]!=="none"&&y[L]!=null){var R=ds(y[L],-I/2,-E/2,I,E,m.stroke,!0),$=M.r+M.offset,G=d?c:s;R.attr({rotation:M.rotate,x:G[0]+$*Math.cos(e.rotation),y:G[1]-$*Math.sin(e.rotation),silent:!0,z2:11}),r.add(R)}})}}},axisTickLabel:function(e,t,r,n){var i=ATe(r,n,t,e),a=ETe(r,n,t,e);if(PTe(t,a,i),ITe(r,n,t,e.tickDirection),t.get(["axisLabel","hideOverlap"])){var o=OSe(Yt(a,function(s){return{label:s,priority:s.z2,defaultAttr:{ignore:s.ignore}}}));zSe(o)}},axisName:function(e,t,r,n){var i=Mp(e.axisName,t.get("name"));if(i){var a=t.get("nameLocation"),o=e.nameDirection,s=t.getModel("nameTextStyle"),c=t.get("nameGap")||0,d=t.axis.getExtent(),m=d[0]>d[1]?-1:1,v=[a==="start"?d[0]-m*c:a==="end"?d[1]+m*c:(d[0]+d[1])/2,M6(a)?e.labelOffset+o*c:0],y,_=t.get("nameRotate");_!=null&&(_=_*Zu/180);var S;M6(a)?y=tc.innerTextLayout(e.rotation,_??e.rotation,o):(y=CTe(e.rotation,a,_||0,d),S=e.axisNameAvailableWidth,S!=null&&(S=Math.abs(S/Math.sin(y.rotation)),!isFinite(S)&&(S=null)));var I=s.getFont(),E=t.get("nameTruncate",!0)||{},M=E.ellipsis,L=Mp(e.nameTruncateMaxWidth,E.maxWidth,S),R=new Vi({x:v[0],y:v[1],rotation:y.rotation,silent:tc.isLabelSilent(t),style:ql(s,{text:i,font:I,overflow:"truncate",width:L,ellipsis:M,fill:s.getTextColor()||t.get(["axisLine","lineStyle","color"]),align:s.get("align")||y.textAlign,verticalAlign:s.get("verticalAlign")||y.textVerticalAlign}),z2:1});if(hM({el:R,componentModel:t,itemName:i}),R.__fullText=i,R.anid="name",t.get("triggerEvent")){var $=tc.makeAxisEventDataBase(t);$.targetType="axisName",$.name=i,Hr(R).eventData=$}n.add(R),R.updateTransform(),r.add(R),R.decomposeTransform()}}};function CTe(e,t,r,n){var i=Q7(r-e),a,o,s=n[0]>n[1],c=t==="start"&&!s||t!=="start"&&s;return Yb(i-Zu/2)?(o=c?"bottom":"top",a="center"):Yb(i-Zu*1.5)?(o=c?"top":"bottom",a="center"):(o="middle",iZu/2?a=c?"left":"right":a=c?"right":"left"),{rotation:i,textAlign:a,textVerticalAlign:o}}function PTe(e,t,r){if(!bH(e.axis)){var n=e.get(["axisLabel","showMinLabel"]),i=e.get(["axisLabel","showMaxLabel"]);t=t||[],r=r||[];var a=t[0],o=t[1],s=t[t.length-1],c=t[t.length-2],d=r[0],m=r[1],v=r[r.length-1],y=r[r.length-2];n===!1?(bo(a),bo(d)):E6(a,o)&&(n?(bo(o),bo(m)):(bo(a),bo(d))),i===!1?(bo(s),bo(v)):E6(c,s)&&(i?(bo(c),bo(y)):(bo(s),bo(v)))}}function bo(e){e&&(e.ignore=!0)}function E6(e,t){var r=e&&e.getBoundingRect().clone(),n=t&&t.getBoundingRect().clone();if(!(!r||!n)){var i=jE([]);return HE(i,i,-e.rotation),r.applyTransform(op([],i,e.getLocalTransform())),n.applyTransform(op([],i,t.getLocalTransform())),r.intersect(n)}}function M6(e){return e==="middle"||e==="center"}function tU(e,t,r,n,i){for(var a=[],o=[],s=[],c=0;c=0||e===t}function OTe(e){var t=JM(e);if(t){var r=t.axisPointerModel,n=t.axis.scale,i=r.option,a=r.get("status"),o=r.get("value");o!=null&&(o=n.parse(o));var s=XA(r);a==null&&(i.status=s?"show":"hide");var c=n.getExtent().slice();c[0]>c[1]&&c.reverse(),(o==null||o>c[1])&&(o=c[1]),o3?1.4:o>1?1.2:1.1,m=a>0?d:1/d;cC(this,"zoom","zoomOnMouseWheel",r,{scale:m,originX:s,originY:c,isAvailableBehavior:null})}if(i){var v=Math.abs(a),y=(a>0?1:-1)*(v>3?.4:v>1?.15:.05);cC(this,"scrollMove","moveOnMouseWheel",r,{scrollDelta:y,originX:s,originY:c,isAvailableBehavior:null})}}},t.prototype._pinchHandler=function(r){if(!R6(this._zr,"globalPan")){var n=r.pinchScale>1?1.1:1/1.1;cC(this,"zoom",null,r,{scale:n,originX:r.pinchX,originY:r.pinchY,isAvailableBehavior:null})}},t}(ys);function cC(e,t,r,n,i){e.pointerChecker&&e.pointerChecker(n,i.originX,i.originY)&&(Lp(n.event),oU(e,t,r,n,i))}function oU(e,t,r,n,i){i.isAvailableBehavior=_r(ab,null,r,n),e.trigger(t,i)}function ab(e,t,r){var n=r[e];return!e||n&&(!Wt(n)||t.event[n+"Key"])}var O6=Wl.prototype,hC=pw.prototype,sU=function(){function e(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.percent=1}return e}();(function(e){mt(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t})(sU);function fC(e){return isNaN(+e.cpx1)||isNaN(+e.cpy1)}var qTe=function(e){mt(t,e);function t(r){var n=e.call(this,r)||this;return n.type="ec-line",n}return t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new sU},t.prototype.buildPath=function(r,n){fC(n)?O6.buildPath.call(this,r,n):hC.buildPath.call(this,r,n)},t.prototype.pointAt=function(r){return fC(this.shape)?O6.pointAt.call(this,r):hC.pointAt.call(this,r)},t.prototype.tangentAt=function(r){var n=this.shape,i=fC(n)?[n.x2-n.x1,n.y2-n.y1]:hC.tangentAt.call(this,r);return NE(i,i)},t}(tn),dC=["fromSymbol","toSymbol"];function z6(e){return"_"+e+"Type"}function B6(e,t,r){var n=t.getItemVisual(r,e);if(!n||n==="none")return n;var i=t.getItemVisual(r,e+"Size"),a=t.getItemVisual(r,e+"Rotate"),o=t.getItemVisual(r,e+"Offset"),s=t.getItemVisual(r,e+"KeepAspect"),c=IM(i),d=Ew(o||0,c);return n+c+d+(a||"")+(s||"")}function F6(e,t,r){var n=t.getItemVisual(r,e);if(!(!n||n==="none")){var i=t.getItemVisual(r,e+"Size"),a=t.getItemVisual(r,e+"Rotate"),o=t.getItemVisual(r,e+"Offset"),s=t.getItemVisual(r,e+"KeepAspect"),c=IM(i),d=Ew(o||0,c),m=ds(n,-c[0]/2+d[0],-c[1]/2+d[1],c[0],c[1],null,s);return m.__specifiedRotation=a==null||isNaN(a)?void 0:+a*Math.PI/180||0,m.name=e,m}}function ZTe(e){var t=new qTe({name:"line",subPixelOptimize:!0});return YA(t.shape,e),t}function YA(e,t){e.x1=t[0][0],e.y1=t[0][1],e.x2=t[1][0],e.y2=t[1][1],e.percent=1;var r=t[2];r?(e.cpx1=r[0],e.cpy1=r[1]):(e.cpx1=NaN,e.cpy1=NaN)}var QM=function(e){mt(t,e);function t(r,n,i){var a=e.call(this)||this;return a._createLine(r,n,i),a}return t.prototype._createLine=function(r,n,i){var a=r.hostModel,o=r.getItemLayout(n),s=ZTe(o);s.shape.percent=0,em(s,{shape:{percent:1}},a,n),this.add(s),Te(dC,function(c){var d=F6(c,r,n);this.add(d),this[z6(c)]=B6(c,r,n)},this),this._updateCommonStl(r,n,i)},t.prototype.updateData=function(r,n,i){var a=r.hostModel,o=this.childOfName("line"),s=r.getItemLayout(n),c={shape:{}};YA(c.shape,s),el(o,c,a,n),Te(dC,function(d){var m=B6(d,r,n),v=z6(d);if(this[v]!==m){this.remove(this.childOfName(d));var y=F6(d,r,n);this.add(y)}this[v]=m},this),this._updateCommonStl(r,n,i)},t.prototype.getLinePath=function(){return this.childAt(0)},t.prototype._updateCommonStl=function(r,n,i){var a=r.hostModel,o=this.childOfName("line"),s=i&&i.emphasisLineStyle,c=i&&i.blurLineStyle,d=i&&i.selectLineStyle,m=i&&i.labelStatesModels,v=i&&i.emphasisDisabled,y=i&&i.focus,_=i&&i.blurScope;if(!i||r.hasItemOption){var S=r.getItemModel(n),I=S.getModel("emphasis");s=I.getModel("lineStyle").getLineStyle(),c=S.getModel(["blur","lineStyle"]).getLineStyle(),d=S.getModel(["select","lineStyle"]).getLineStyle(),v=I.get("disabled"),y=I.get("focus"),_=I.get("blurScope"),m=Jy(S)}var E=r.getItemVisual(n,"style"),M=E.stroke;o.useStyle(E),o.style.fill=null,o.style.strokeNoScale=!0,o.ensureState("emphasis").style=s,o.ensureState("blur").style=c,o.ensureState("select").style=d,Te(dC,function(j){var H=this.childOfName(j);if(H){H.setColor(M),H.style.opacity=E.opacity;for(var Z=0;Z0&&(G[0]=-G[0],G[1]=-G[1]);var H=$[0]<0?-1:1;if(a.__position!=="start"&&a.__position!=="end"){var Z=-Math.atan2($[1],$[0]);v[0].8?"left":y[0]<-.8?"right":"center",I=y[1]>.8?"top":y[1]<-.8?"bottom":"middle";break;case"start":a.x=-y[0]*M+m[0],a.y=-y[1]*L+m[1],S=y[0]>.8?"right":y[0]<-.8?"left":"center",I=y[1]>.8?"bottom":y[1]<-.8?"top":"middle";break;case"insideStartTop":case"insideStart":case"insideStartBottom":a.x=M*H+m[0],a.y=m[1]+Q,S=$[0]<0?"right":"left",a.originX=-M*H,a.originY=-Q;break;case"insideMiddleTop":case"insideMiddle":case"insideMiddleBottom":case"middle":a.x=j[0],a.y=j[1]+Q,S="center",a.originY=-Q;break;case"insideEndTop":case"insideEnd":case"insideEndBottom":a.x=-M*H+v[0],a.y=v[1]+Q,S=$[0]>=0?"right":"left",a.originX=M*H,a.originY=-Q;break}a.scaleX=a.scaleY=o,a.setStyle({verticalAlign:a.__verticalAlign||I,align:a.__align||S})}},t}($n),XTe=function(){function e(t){this.group=new $n,this._LineCtor=t||QM}return e.prototype.updateData=function(t){var r=this;this._progressiveEls=null;var n=this,i=n.group,a=n._lineData;n._lineData=t,a||i.removeAll();var o=$6(t);t.diff(a).add(function(s){r._doAdd(t,s,o)}).update(function(s,c){r._doUpdate(a,t,c,s,o)}).remove(function(s){i.remove(a.getItemGraphicEl(s))}).execute()},e.prototype.updateLayout=function(){var t=this._lineData;t&&t.eachItemGraphicEl(function(r,n){r.updateLayout(t,n)},this)},e.prototype.incrementalPrepareUpdate=function(t){this._seriesScope=$6(t),this._lineData=null,this.group.removeAll()},e.prototype.incrementalUpdate=function(t,r){this._progressiveEls=[];function n(s){!s.isGroup&&!KTe(s)&&(s.incremental=!0,s.ensureState("emphasis").hoverLayer=!0)}for(var i=t.start;i0}function $6(e){var t=e.hostModel,r=t.getModel("emphasis");return{lineStyle:t.getModel("lineStyle").getLineStyle(),emphasisLineStyle:r.getModel(["lineStyle"]).getLineStyle(),blurLineStyle:t.getModel(["blur","lineStyle"]).getLineStyle(),selectLineStyle:t.getModel(["select","lineStyle"]).getLineStyle(),emphasisDisabled:r.get("disabled"),blurScope:r.get("blurScope"),focus:r.get("focus"),labelStatesModels:Jy(t)}}function N6(e){return isNaN(e[0])||isNaN(e[1])}function pC(e){return e&&!N6(e[0])&&!N6(e[1])}function Ow(e,t,r,n,i,a){e=e||0;var o=r[1]-r[0];if(i!=null&&(i=Id(i,[0,o])),a!=null&&(a=Math.max(a,i??0)),n==="all"){var s=Math.abs(t[1]-t[0]);s=Id(s,[0,o]),i=a=Id(s,[i,a]),n=0}t[0]=Id(t[0],r),t[1]=Id(t[1],r);var c=mC(t,n);t[n]+=e;var d=i||0,m=r.slice();c.sign<0?m[0]+=d:m[1]-=d,t[n]=Id(t[n],m);var v;return v=mC(t,n),i!=null&&(v.sign!==c.sign||v.spana&&(t[1-n]=t[n]+v.sign*a),t}function mC(e,t){var r=e[t]-e[1-t];return{span:Math.abs(r),sign:r>0?-1:r<0?1:t?-1:1}}function Id(e,t){return Math.min(t[1]!=null?t[1]:1/0,Math.max(t[0]!=null?t[0]:-1/0,e))}var lU=function(e){mt(t,e);function t(r,n,i){var a=e.call(this)||this;return a.add(a.createLine(r,n,i)),a._updateEffectSymbol(r,n),a}return t.prototype.createLine=function(r,n,i){return new QM(r,n,i)},t.prototype._updateEffectSymbol=function(r,n){var i=r.getItemModel(n),a=i.getModel("effect"),o=a.get("symbolSize"),s=a.get("symbol");Ft(o)||(o=[o,o]);var c=r.getItemVisual(n,"style"),d=a.get("color")||c&&c.stroke,m=this.childAt(1);this._symbolType!==s&&(this.remove(m),m=ds(s,-.5,-.5,1,1,d),m.z2=100,m.culling=!0,this.add(m)),m&&(m.setStyle("shadowColor",d),m.setStyle(a.getItemStyle(["color"])),m.scaleX=o[0],m.scaleY=o[1],m.setColor(d),this._symbolType=s,this._symbolScale=o,this._updateEffectAnimation(r,a,n))},t.prototype._updateEffectAnimation=function(r,n,i){var a=this.childAt(1);if(a){var o=r.getItemLayout(i),s=n.get("period")*1e3,c=n.get("loop"),d=n.get("roundTrip"),m=n.get("constantSpeed"),v=Mp(n.get("delay"),function(_){return _/r.count()*s/3});if(a.ignore=!0,this._updateAnimationPoints(a,o),m>0&&(s=this._getLineLength(a)/m*1e3),s!==this._period||c!==this._loop||d!==this._roundTrip){a.stopAnimation();var y=void 0;nr(v)?y=v(i):y=v,a.__t>0&&(y=-s*a.__t),this._animateSymbol(a,s,y,c,d)}this._period=s,this._loop=c,this._roundTrip=d}},t.prototype._animateSymbol=function(r,n,i,a,o){if(n>0){r.__t=0;var s=this,c=r.animate("",a).when(o?n*2:n,{__t:o?2:1}).delay(i).during(function(){s._updateSymbolPosition(r)});a||c.done(function(){s.remove(r)}),c.start()}},t.prototype._getLineLength=function(r){return Nd(r.__p1,r.__cp1)+Nd(r.__cp1,r.__p2)},t.prototype._updateAnimationPoints=function(r,n){r.__p1=n[0],r.__p2=n[1],r.__cp1=n[2]||[(n[0][0]+n[1][0])/2,(n[0][1]+n[1][1])/2]},t.prototype.updateData=function(r,n,i){this.childAt(0).updateData(r,n,i),this._updateEffectSymbol(r,n)},t.prototype._updateSymbolPosition=function(r){var n=r.__p1,i=r.__p2,a=r.__cp1,o=r.__t<1?r.__t:2-r.__t,s=[r.x,r.y],c=s.slice(),d=va,m=tA;s[0]=d(n[0],a[0],i[0],o),s[1]=d(n[1],a[1],i[1],o);var v=r.__t<1?m(n[0],a[0],i[0],o):m(i[0],a[0],n[0],1-o),y=r.__t<1?m(n[1],a[1],i[1],o):m(i[1],a[1],n[1],1-o);r.rotation=-Math.atan2(y,v)-Math.PI/2,(this._symbolType==="line"||this._symbolType==="rect"||this._symbolType==="roundRect")&&(r.__lastT!==void 0&&r.__lastT=0&&!(a[c]<=n);c--);c=Math.min(c,o-2)}else{for(c=s;cn);c++);c=Math.min(c-1,o-2)}var m=(n-a[c])/(a[c+1]-a[c]),v=i[c],y=i[c+1];r.x=v[0]*(1-m)+m*y[0],r.y=v[1]*(1-m)+m*y[1];var _=r.__t<1?y[0]-v[0]:v[0]-y[0],S=r.__t<1?y[1]-v[1]:v[1]-y[1];r.rotation=-Math.atan2(S,_)-Math.PI/2,this._lastFrame=c,this._lastFramePercent=n,r.ignore=!1}},t}(lU),JTe=function(){function e(){this.polyline=!1,this.curveness=0,this.segs=[]}return e}(),QTe=function(e){mt(t,e);function t(r){var n=e.call(this,r)||this;return n._off=0,n.hoverDataIdx=-1,n}return t.prototype.reset=function(){this.notClear=!1,this._off=0},t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new JTe},t.prototype.buildPath=function(r,n){var i=n.segs,a=n.curveness,o;if(n.polyline)for(o=this._off;o0){r.moveTo(i[o++],i[o++]);for(var c=1;c0){var _=(d+v)/2-(m-y)*a,S=(m+y)/2-(v-d)*a;r.quadraticCurveTo(_,S,v,y)}else r.lineTo(v,y)}this.incremental&&(this._off=o,this.notClear=!0)},t.prototype.findDataIndex=function(r,n){var i=this.shape,a=i.segs,o=i.curveness,s=this.style.lineWidth;if(i.polyline)for(var c=0,d=0;d0)for(var v=a[d++],y=a[d++],_=1;_0){var E=(v+S)/2-(y-I)*o,M=(y+I)/2-(S-v)*o;if(hV(v,y,E,M,S,I,s,r,n))return c}else if(Vu(v,y,S,I,s,r,n))return c;c++}return-1},t.prototype.contain=function(r,n){var i=this.transformCoordToLocal(r,n),a=this.getBoundingRect();if(r=i[0],n=i[1],a.contain(r,n)){var o=this.hoverDataIdx=this.findDataIndex(r,n);return o>=0}return this.hoverDataIdx=-1,!1},t.prototype.getBoundingRect=function(){var r=this._rect;if(!r){for(var n=this.shape,i=n.segs,a=1/0,o=1/0,s=-1/0,c=-1/0,d=0;d0&&(o.dataIndex=c+t.__startIndex)})},e.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},e}(),cU={seriesType:"lines",plan:PM(),reset:function(e){var t=e.coordinateSystem;if(t){var r=e.get("polyline"),n=e.pipelineContext.large;return{progress:function(i,a){var o=[];if(n){var s=void 0,c=i.end-i.start;if(r){for(var d=0,m=i.start;m0&&(m||d.configLayer(s,{motionBlur:!0,lastFrameAlpha:Math.max(Math.min(c/10+.9,1),0)})),o.updateData(a);var v=r.get("clip",!0)&&W2e(r.coordinateSystem,!1,r);v?this.group.setClipPath(v):this.group.removeClipPath(),this._lastZlevel=s,this._finished=!0},t.prototype.incrementalPrepareRender=function(r,n,i){var a=r.getData(),o=this._updateLineDraw(a,r);o.incrementalPrepareUpdate(a),this._clearLayer(i),this._finished=!1},t.prototype.incrementalRender=function(r,n,i){this._lineDraw.incrementalUpdate(r,n.getData()),this._finished=r.end===n.getData().count()},t.prototype.eachRendered=function(r){this._lineDraw&&this._lineDraw.eachRendered(r)},t.prototype.updateTransform=function(r,n,i){var a=r.getData(),o=r.pipelineContext;if(!this._finished||o.large||o.progressiveRender)return{update:!0};var s=cU.reset(r,n,i);s.progress&&s.progress({start:0,end:a.count(),count:a.count()},a),this._lineDraw.updateLayout(),this._clearLayer(i)},t.prototype._updateLineDraw=function(r,n){var i=this._lineDraw,a=this._showEffect(n),o=!!n.get("polyline"),s=n.pipelineContext,c=s.large;return(!i||a!==this._hasEffet||o!==this._isPolyline||c!==this._isLargeDraw)&&(i&&i.remove(),i=this._lineDraw=c?new eCe:new XTe(o?a?YTe:uU:a?lU:QM),this._hasEffet=a,this._isPolyline=o,this._isLargeDraw=c),this.group.add(i.group),i},t.prototype._showEffect=function(r){return!!r.get(["effect","show"])},t.prototype._clearLayer=function(r){var n=r.getZr(),i=n.painter.getType()==="svg";!i&&this._lastZlevel!=null&&n.painter.getLayer(this._lastZlevel).clear(!0)},t.prototype.remove=function(r,n){this._lineDraw&&this._lineDraw.remove(),this._lineDraw=null,this._clearLayer(n)},t.prototype.dispose=function(r,n){this.remove(r,n)},t.type="lines",t}(Ro),rCe=typeof Uint32Array>"u"?Array:Uint32Array,nCe=typeof Float64Array>"u"?Array:Float64Array;function V6(e){var t=e.data;t&&t[0]&&t[0][0]&&t[0][0].coord&&(e.data=Yt(t,function(r){var n=[r[0].coord,r[1].coord],i={coords:n};return r[0].name&&(i.fromName=r[0].name),r[1].name&&(i.toName=r[1].name),oge([i,r[0],r[1]])}))}var iCe=function(e){mt(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r.visualStyleAccessPath="lineStyle",r.visualDrawType="stroke",r}return t.prototype.init=function(r){r.data=r.data||[],V6(r);var n=this._processFlatCoordsArray(r.data);this._flatCoords=n.flatCoords,this._flatCoordsOffset=n.flatCoordsOffset,n.flatCoords&&(r.data=new Float32Array(n.count)),e.prototype.init.apply(this,arguments)},t.prototype.mergeOption=function(r){if(V6(r),r.data){var n=this._processFlatCoordsArray(r.data);this._flatCoords=n.flatCoords,this._flatCoordsOffset=n.flatCoordsOffset,n.flatCoords&&(r.data=new Float32Array(n.count))}e.prototype.mergeOption.apply(this,arguments)},t.prototype.appendData=function(r){var n=this._processFlatCoordsArray(r.data);n.flatCoords&&(this._flatCoords?(this._flatCoords=XP(this._flatCoords,n.flatCoords),this._flatCoordsOffset=XP(this._flatCoordsOffset,n.flatCoordsOffset)):(this._flatCoords=n.flatCoords,this._flatCoordsOffset=n.flatCoordsOffset),r.data=new Float32Array(n.count)),this.getRawData().appendData(r.data)},t.prototype._getCoordsFromItemModel=function(r){var n=this.getData().getItemModel(r),i=n.option instanceof Array?n.option:n.getShallow("coords");return i},t.prototype.getLineCoordsCount=function(r){return this._flatCoordsOffset?this._flatCoordsOffset[r*2+1]:this._getCoordsFromItemModel(r).length},t.prototype.getLineCoords=function(r,n){if(this._flatCoordsOffset){for(var i=this._flatCoordsOffset[r*2],a=this._flatCoordsOffset[r*2+1],o=0;o ")})},t.prototype.preventIncremental=function(){return!!this.get(["effect","show"])},t.prototype.getProgressive=function(){var r=this.option.progressive;return r??(this.option.large?1e4:this.get("progressive"))},t.prototype.getProgressiveThreshold=function(){var r=this.option.progressiveThreshold;return r??(this.option.large?2e4:this.get("progressiveThreshold"))},t.prototype.getZLevelKey=function(){var r=this.getModel("effect"),n=r.get("trailLength");return this.getData().count()>this.getProgressiveThreshold()?this.id:r.get("show")&&n>0?n+"":""},t.type="series.lines",t.dependencies=["grid","polar","geo","calendar"],t.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}},t}(tl);function g1(e){return e instanceof Array||(e=[e,e]),e}var aCe={seriesType:"lines",reset:function(e){var t=g1(e.get("symbol")),r=g1(e.get("symbolSize")),n=e.getData();n.setVisual("fromSymbol",t&&t[0]),n.setVisual("toSymbol",t&&t[1]),n.setVisual("fromSymbolSize",r&&r[0]),n.setVisual("toSymbolSize",r&&r[1]);function i(a,o){var s=a.getItemModel(o),c=g1(s.getShallow("symbol",!0)),d=g1(s.getShallow("symbolSize",!0));c[0]&&a.setItemVisual(o,"fromSymbol",c[0]),c[1]&&a.setItemVisual(o,"toSymbol",c[1]),d[0]&&a.setItemVisual(o,"fromSymbolSize",d[0]),d[1]&&a.setItemVisual(o,"toSymbolSize",d[1])}return{dataEach:n.hasItemOption?i:null}}};function oCe(e){e.registerChartView(tCe),e.registerSeriesModel(iCe),e.registerLayout(cU),e.registerVisual(aCe)}var kh=Kn(),j6=Dr,vC=_r,sCe=function(){function e(){this._dragging=!1,this.animationThreshold=15}return e.prototype.render=function(t,r,n,i){var a=r.get("value"),o=r.get("status");if(this._axisModel=t,this._axisPointerModel=r,this._api=n,!(!i&&this._lastValue===a&&this._lastStatus===o)){this._lastValue=a,this._lastStatus=o;var s=this._group,c=this._handle;if(!o||o==="hide"){s&&s.hide(),c&&c.hide();return}s&&s.show(),c&&c.show();var d={};this.makeElOption(d,a,t,r,n);var m=d.graphicKey;m!==this._lastGraphicKey&&this.clear(n),this._lastGraphicKey=m;var v=this._moveAnimation=this.determineAnimation(t,r);if(!s)s=this._group=new $n,this.createPointerEl(s,d,t,r),this.createLabelEl(s,d,t,r),n.getZr().add(s);else{var y=Pn(H6,r,v);this.updatePointerEl(s,d,y),this.updateLabelEl(s,d,y,r)}G6(s,r,!0),this._renderHandle(a)}},e.prototype.remove=function(t){this.clear(t)},e.prototype.dispose=function(t){this.clear(t)},e.prototype.determineAnimation=function(t,r){var n=r.get("animation"),i=t.axis,a=i.type==="category",o=r.get("snap");if(!o&&!a)return!1;if(n==="auto"||n==null){var s=this.animationThreshold;if(a&&i.getBandWidth()>s)return!0;if(o){var c=JM(t).seriesDataCount,d=i.getExtent();return Math.abs(d[0]-d[1])/c>s}return!1}return n===!0},e.prototype.makeElOption=function(t,r,n,i,a){},e.prototype.createPointerEl=function(t,r,n,i){var a=r.pointer;if(a){var o=kh(t).pointerEl=new l1e[a.type](j6(r.pointer));t.add(o)}},e.prototype.createLabelEl=function(t,r,n,i){if(r.label){var a=kh(t).labelEl=new Vi(j6(r.label));t.add(a),U6(a,i)}},e.prototype.updatePointerEl=function(t,r,n){var i=kh(t).pointerEl;i&&r.pointer&&(i.setStyle(r.pointer.style),n(i,{shape:r.pointer.shape}))},e.prototype.updateLabelEl=function(t,r,n,i){var a=kh(t).labelEl;a&&(a.setStyle(r.label.style),n(a,{x:r.label.x,y:r.label.y}),U6(a,i))},e.prototype._renderHandle=function(t){if(!(this._dragging||!this.updateHandleTransform)){var r=this._axisPointerModel,n=this._api.getZr(),i=this._handle,a=r.getModel("handle"),o=r.get("status");if(!a.get("show")||!o||o==="hide"){i&&n.remove(i),this._handle=null;return}var s;this._handle||(s=!0,i=this._handle=cM(a.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(d){Lp(d.event)},onmousedown:vC(this._onHandleDragMove,this,0,0),drift:vC(this._onHandleDragMove,this),ondragend:vC(this._onHandleDragEnd,this)}),n.add(i)),G6(i,r,!1),i.setStyle(a.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var c=a.get("size");Ft(c)||(c=[c,c]),i.scaleX=c[0]/2,i.scaleY=c[1]/2,Iw(this,"_doDispatchAxisPointer",a.get("throttle")||0,"fixRate"),this._moveHandleToValue(t,s)}},e.prototype._moveHandleToValue=function(t,r){H6(this._axisPointerModel,!r&&this._moveAnimation,this._handle,gC(this.getHandleTransform(t,this._axisModel,this._axisPointerModel)))},e.prototype._onHandleDragMove=function(t,r){var n=this._handle;if(n){this._dragging=!0;var i=this.updateHandleTransform(gC(n),[t,r],this._axisModel,this._axisPointerModel);this._payloadInfo=i,n.stopAnimation(),n.attr(gC(i)),kh(n).lastProp=null,this._doDispatchAxisPointer()}},e.prototype._doDispatchAxisPointer=function(){var t=this._handle;if(t){var r=this._payloadInfo,n=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:r.cursorPoint[0],y:r.cursorPoint[1],tooltipOption:r.tooltipOption,axesInfo:[{axisDim:n.axis.dim,axisIndex:n.componentIndex}]})}},e.prototype._onHandleDragEnd=function(){this._dragging=!1;var t=this._handle;if(t){var r=this._axisPointerModel.get("value");this._moveHandleToValue(r),this._api.dispatchAction({type:"hideTip"})}},e.prototype.clear=function(t){this._lastValue=null,this._lastStatus=null;var r=t.getZr(),n=this._group,i=this._handle;r&&n&&(this._lastGraphicKey=null,n&&r.remove(n),i&&r.remove(i),this._group=null,this._handle=null,this._payloadInfo=null),sx(this,"_doDispatchAxisPointer")},e.prototype.doClear=function(){},e.prototype.buildLabel=function(t,r,n){return n=n||0,{x:t[n],y:t[1-n],width:r[n],height:r[1-n]}},e}();function H6(e,t,r,n){hU(kh(r).lastProp,n)||(kh(r).lastProp=n,t?el(r,n,e):(r.stopAnimation(),r.attr(n)))}function hU(e,t){if(sr(e)&&sr(t)){var r=!0;return Te(t,function(n,i){r=r&&hU(e[i],n)}),!!r}else return e===t}function U6(e,t){e[t.get(["label","show"])?"show":"hide"]()}function gC(e){return{x:e.x||0,y:e.y||0,rotation:e.rotation||0}}function G6(e,t,r){var n=t.get("z"),i=t.get("zlevel");e&&e.traverse(function(a){a.type!=="group"&&(n!=null&&(a.z=n),i!=null&&(a.zlevel=i),a.silent=r)})}function lCe(e){var t=e.get("type"),r=e.getModel(t+"Style"),n;return t==="line"?(n=r.getLineStyle(),n.fill=null):t==="shadow"&&(n=r.getAreaStyle(),n.stroke=null),n}function uCe(e,t,r,n,i){var a=r.get("value"),o=fU(a,t.axis,t.ecModel,r.get("seriesDataIndices"),{precision:r.get(["label","precision"]),formatter:r.get(["label","formatter"])}),s=r.getModel("label"),c=Cw(s.get("padding")||0),d=s.getFont(),m=XE(o,d),v=i.position,y=m.width+c[1]+c[3],_=m.height+c[0]+c[2],S=i.align;S==="right"&&(v[0]-=y),S==="center"&&(v[0]-=y/2);var I=i.verticalAlign;I==="bottom"&&(v[1]-=_),I==="middle"&&(v[1]-=_/2),cCe(v,y,_,n);var E=s.get("backgroundColor");(!E||E==="auto")&&(E=t.get(["axisLine","lineStyle","color"])),e.label={x:v[0],y:v[1],style:ql(s,{text:o,font:d,fill:s.getTextColor(),padding:c,backgroundColor:E}),z2:10}}function cCe(e,t,r,n){var i=n.getWidth(),a=n.getHeight();e[0]=Math.min(e[0]+t,i)-t,e[1]=Math.min(e[1]+r,a)-r,e[0]=Math.max(e[0],0),e[1]=Math.max(e[1],0)}function fU(e,t,r,n,i){e=t.scale.parse(e);var a=t.scale.getLabel({value:e},{precision:i.precision}),o=i.formatter;if(o){var s={value:FM(t,{value:e}),axisDimension:t.dim,axisIndex:t.index,seriesData:[]};Te(n,function(c){var d=r.getSeriesByIndex(c.seriesIndex),m=c.dataIndexInside,v=d&&d.getDataParams(m);v&&s.seriesData.push(v)}),Wt(o)?a=o.replace("{value}",a):nr(o)&&(a=o(s))}return a}function dU(e,t,r){var n=ap();return HE(n,n,r.rotation),eA(n,n,r.position),yy([e.dataToCoord(t),(r.labelOffset||0)+(r.labelDirection||1)*(r.labelMargin||0)],n)}function hCe(e,t,r,n,i,a){var o=tc.innerTextLayout(r.rotation,0,r.labelDirection);r.labelMargin=i.get(["label","margin"]),uCe(t,n,i,a,{position:dU(n.axis,e,r),align:o.textAlign,verticalAlign:o.textVerticalAlign})}function fCe(e,t,r){return r=r||0,{x1:e[r],y1:e[1-r],x2:t[r],y2:t[1-r]}}function dCe(e,t,r){return r=r||0,{x:e[r],y:e[1-r],width:t[r],height:t[1-r]}}var pCe=function(e){mt(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.makeElOption=function(r,n,i,a,o){var s=i.axis,c=s.grid,d=a.get("type"),m=W6(c,s).getOtherAxis(s).getGlobalExtent(),v=s.toGlobalCoord(s.dataToCoord(n,!0));if(d&&d!=="none"){var y=lCe(a),_=mCe[d](s,v,m);_.style=y,r.graphicKey=_.type,r.pointer=_}var S=ZA(c.model,i);hCe(n,r,S,i,a,o)},t.prototype.getHandleTransform=function(r,n,i){var a=ZA(n.axis.grid.model,n,{labelInside:!1});a.labelMargin=i.get(["handle","margin"]);var o=dU(n.axis,r,a);return{x:o[0],y:o[1],rotation:a.rotation+(a.labelDirection<0?Math.PI:0)}},t.prototype.updateHandleTransform=function(r,n,i,a){var o=i.axis,s=o.grid,c=o.getGlobalExtent(!0),d=W6(s,o).getOtherAxis(o).getGlobalExtent(),m=o.dim==="x"?0:1,v=[r.x,r.y];v[m]+=n[m],v[m]=Math.min(c[1],v[m]),v[m]=Math.max(c[0],v[m]);var y=(d[1]+d[0])/2,_=[y,y];_[m]=v[m];var S=[{verticalAlign:"middle"},{align:"center"}];return{x:v[0],y:v[1],rotation:r.rotation,cursorPoint:_,tooltipOption:S[m]}},t}(sCe);function W6(e,t){var r={};return r[t.dim+"AxisIndex"]=t.index,e.getCartesian(r)}var mCe={line:function(e,t,r){var n=fCe([t,r[0]],[t,r[1]],q6(e));return{type:"Line",subPixelOptimize:!0,shape:n}},shadow:function(e,t,r){var n=Math.max(1,e.getBandWidth()),i=r[1]-r[0];return{type:"Rect",shape:dCe([t-n/2,r[0]],[n,i],q6(e))}}};function q6(e){return e.dim==="x"?0:1}var vCe=function(e){mt(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.type="axisPointer",t.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}},t}(Qr),$l=Kn(),gCe=Te;function pU(e,t,r){if(!gr.node){var n=t.getZr();$l(n).records||($l(n).records={}),yCe(n,t);var i=$l(n).records[e]||($l(n).records[e]={});i.handler=r}}function yCe(e,t){if($l(e).initialized)return;$l(e).initialized=!0,r("click",Pn(Z6,"click")),r("mousemove",Pn(Z6,"mousemove")),r("globalout",bCe);function r(n,i){e.on(n,function(a){var o=xCe(t);gCe($l(e).records,function(s){s&&i(s,a,o.dispatchAction)}),_Ce(o.pendings,t)})}}function _Ce(e,t){var r=e.showTip.length,n=e.hideTip.length,i;r?i=e.showTip[r-1]:n&&(i=e.hideTip[n-1]),i&&(i.dispatchAction=null,t.dispatchAction(i))}function bCe(e,t,r){e.handler("leave",null,r)}function Z6(e,t,r,n){t.handler(e,r,n)}function xCe(e){var t={showTip:[],hideTip:[]},r=function(n){var i=t[n.type];i?i.push(n):(n.dispatchAction=r,e.dispatchAction(n))};return{dispatchAction:r,pendings:t}}function JA(e,t){if(!gr.node){var r=t.getZr(),n=($l(r).records||{})[e];n&&($l(r).records[e]=null)}}var wCe=function(e){mt(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.prototype.render=function(r,n,i){var a=n.getComponent("tooltip"),o=r.get("triggerOn")||a&&a.get("triggerOn")||"mousemove|click";pU("axisPointer",i,function(s,c,d){o!=="none"&&(s==="leave"||o.indexOf(s)>=0)&&d({type:"updateAxisPointer",currTrigger:s,x:c&&c.offsetX,y:c&&c.offsetY})})},t.prototype.remove=function(r,n){JA("axisPointer",n)},t.prototype.dispose=function(r,n){JA("axisPointer",n)},t.type="axisPointer",t}(lo);function mU(e,t){var r=[],n=e.seriesIndex,i;if(n==null||!(i=t.getSeriesByIndex(n)))return{point:[]};var a=i.getData(),o=sf(a,e);if(o==null||o<0||Ft(o))return{point:[]};var s=a.getItemGraphicEl(o),c=i.coordinateSystem;if(i.getTooltipPosition)r=i.getTooltipPosition(o)||[];else if(c&&c.dataToPoint)if(e.isStacked){var d=c.getBaseAxis(),m=c.getOtherAxis(d),v=m.dim,y=d.dim,_=v==="x"||v==="radius"?1:0,S=a.mapDimension(y),I=[];I[_]=a.get(S,o),I[1-_]=a.get(a.getCalculationInfo("stackResultDimension"),o),r=c.dataToPoint(I)||[]}else r=c.dataToPoint(a.getValues(Yt(c.dimensions,function(M){return a.mapDimension(M)}),o))||[];else if(s){var E=s.getBoundingRect().clone();E.applyTransform(s.transform),r=[E.x+E.width/2,E.y+E.height/2]}return{point:r,el:s}}var X6=Kn();function SCe(e,t,r){var n=e.currTrigger,i=[e.x,e.y],a=e,o=e.dispatchAction||_r(r.dispatchAction,r),s=t.getComponent("axisPointer").coordSysAxesInfo;if(s){ob(i)&&(i=mU({seriesIndex:a.seriesIndex,dataIndex:a.dataIndex},t).point);var c=ob(i),d=a.axesInfo,m=s.axesInfo,v=n==="leave"||ob(i),y={},_={},S={list:[],map:{}},I={showPointer:Pn(CCe,_),showTooltip:Pn(PCe,S)};Te(s.coordSysMap,function(M,L){var R=c||M.containPoint(i);Te(s.coordSysAxesInfo[L],function($,G){var j=$.axis,H=MCe(d,$);if(!v&&R&&(!d||H)){var Z=H&&H.value;Z==null&&!c&&(Z=j.pointToData(i)),Z!=null&&K6($,Z,I,!1,y)}})});var E={};return Te(m,function(M,L){var R=M.linkGroup;R&&!_[L]&&Te(R.axesInfo,function($,G){var j=_[G];if($!==M&&j){var H=j.value;R.mapper&&(H=M.axis.scale.parse(R.mapper(H,Y6($),Y6(M)))),E[M.key]=H}})}),Te(E,function(M,L){K6(m[L],M,I,!0,y)}),ACe(_,m,y),ICe(S,i,e,o),ECe(m,o,r),y}}function K6(e,t,r,n,i){var a=e.axis;if(!(a.scale.isBlank()||!a.containData(t))){if(!e.involveSeries){r.showPointer(e,t);return}var o=TCe(t,e),s=o.payloadBatch,c=o.snapToValue;s[0]&&i.seriesIndex==null&&St(i,s[0]),!n&&e.snap&&a.containData(c)&&c!=null&&(t=c),r.showPointer(e,t,s),r.showTooltip(e,o,c)}}function TCe(e,t){var r=t.axis,n=r.dim,i=e,a=[],o=Number.MAX_VALUE,s=-1;return Te(t.seriesModels,function(c,d){var m=c.getData().mapDimensionsAll(n),v,y;if(c.getAxisTooltipData){var _=c.getAxisTooltipData(m,e,r);y=_.dataIndices,v=_.nestestValue}else{if(y=c.getData().indicesOfNearest(m[0],e,r.type==="category"?.5:null),!y.length)return;v=c.getData().get(m[0],y[0])}if(!(v==null||!isFinite(v))){var S=e-v,I=Math.abs(S);I<=o&&((I=0&&s<0)&&(o=I,s=S,i=v,a.length=0),Te(y,function(E){a.push({seriesIndex:c.seriesIndex,dataIndexInside:E,dataIndex:c.getData().getRawIndex(E)})}))}}),{payloadBatch:a,snapToValue:i}}function CCe(e,t,r,n){e[t.key]={value:r,payloadBatch:n}}function PCe(e,t,r,n){var i=r.payloadBatch,a=t.axis,o=a.model,s=t.axisPointerModel;if(!(!t.triggerTooltip||!i.length)){var c=t.coordSys.model,d=Ay(c),m=e.map[d];m||(m=e.map[d]={coordSysId:c.id,coordSysIndex:c.componentIndex,coordSysType:c.type,coordSysMainType:c.mainType,dataByAxis:[]},e.list.push(m)),m.dataByAxis.push({axisDim:a.dim,axisIndex:o.componentIndex,axisType:o.type,axisId:o.id,value:n,valueLabelOpt:{precision:s.get(["label","precision"]),formatter:s.get(["label","formatter"])},seriesDataIndices:i.slice()})}}function ACe(e,t,r){var n=r.axesInfo=[];Te(t,function(i,a){var o=i.axisPointerModel.option,s=e[a];s?(!i.useHandle&&(o.status="show"),o.value=s.value,o.seriesDataIndices=(s.payloadBatch||[]).slice()):!i.useHandle&&(o.status="hide"),o.status==="show"&&n.push({axisDim:i.axis.dim,axisIndex:i.axis.model.componentIndex,value:o.value})})}function ICe(e,t,r,n){if(ob(t)||!e.list.length){n({type:"hideTip"});return}var i=((e.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};n({type:"showTip",escapeConnect:!0,x:t[0],y:t[1],tooltipOption:r.tooltipOption,position:r.position,dataIndexInside:i.dataIndexInside,dataIndex:i.dataIndex,seriesIndex:i.seriesIndex,dataByCoordSys:e.list})}function ECe(e,t,r){var n=r.getZr(),i="axisPointerLastHighlights",a=X6(n)[i]||{},o=X6(n)[i]={};Te(e,function(d,m){var v=d.axisPointerModel.option;v.status==="show"&&d.triggerEmphasis&&Te(v.seriesDataIndices,function(y){var _=y.seriesIndex+" | "+y.dataIndex;o[_]=y})});var s=[],c=[];Te(a,function(d,m){!o[m]&&c.push(d)}),Te(o,function(d,m){!a[m]&&s.push(d)}),c.length&&r.dispatchAction({type:"downplay",escapeConnect:!0,notBlur:!0,batch:c}),s.length&&r.dispatchAction({type:"highlight",escapeConnect:!0,notBlur:!0,batch:s})}function MCe(e,t){for(var r=0;r<(e||[]).length;r++){var n=e[r];if(t.axis.dim===n.axisDim&&t.axis.model.componentIndex===n.axisIndex)return n}}function Y6(e){var t=e.axis.model,r={},n=r.axisDim=e.axis.dim;return r.axisIndex=r[n+"AxisIndex"]=t.componentIndex,r.axisName=r[n+"AxisName"]=t.name,r.axisId=r[n+"AxisId"]=t.id,r}function ob(e){return!e||e[0]==null||isNaN(e[0])||e[1]==null||isNaN(e[1])}function vU(e){rU.registerAxisPointerClass("CartesianAxisPointer",pCe),e.registerComponentModel(vCe),e.registerComponentView(wCe),e.registerPreprocessor(function(t){if(t){(!t.axisPointer||t.axisPointer.length===0)&&(t.axisPointer={});var r=t.axisPointer.link;r&&!Ft(r)&&(t.axisPointer.link=[r])}}),e.registerProcessor(e.PRIORITY.PROCESSOR.STATISTIC,function(t,r){t.getComponent("axisPointer").coordSysAxesInfo=MTe(t,r)}),e.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},SCe)}function gU(e){$o(aU),$o(vU)}var J6=["x","y","radius","angle","single"],DCe=["cartesian2d","polar","singleAxis"];function LCe(e){var t=e.get("coordinateSystem");return Zr(DCe,t)>=0}function Xu(e){return e+"Axis"}function kCe(e,t){var r=dr(),n=[],i=dr();e.eachComponent({mainType:"dataZoom",query:t},function(m){i.get(m.uid)||s(m)});var a;do a=!1,e.eachComponent("dataZoom",o);while(a);function o(m){!i.get(m.uid)&&c(m)&&(s(m),a=!0)}function s(m){i.set(m.uid,!0),n.push(m),d(m)}function c(m){var v=!1;return m.eachTargetAxis(function(y,_){var S=r.get(y);S&&S[_]&&(v=!0)}),v}function d(m){m.eachTargetAxis(function(v,y){(r.get(v)||r.set(v,[]))[y]=!0})}return n}function yU(e){var t=e.ecModel,r={infoList:[],infoMap:dr()};return e.eachTargetAxis(function(n,i){var a=t.getComponent(Xu(n),i);if(a){var o=a.getCoordSysModel();if(o){var s=o.uid,c=r.infoMap.get(s);c||(c={model:o,axisModels:[]},r.infoList.push(c),r.infoMap.set(s,c)),c.axisModels.push(a)}}}),r}var yC=function(){function e(){this.indexList=[],this.indexMap=[]}return e.prototype.add=function(t){this.indexMap[t]||(this.indexList.push(t),this.indexMap[t]=!0)},e}(),vx=function(e){mt(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r._autoThrottle=!0,r._noTarget=!0,r._rangePropMode=["percent","percent"],r}return t.prototype.init=function(r,n,i){var a=Q6(r);this.settledOption=a,this.mergeDefaultAndTheme(r,i),this._doInit(a)},t.prototype.mergeOption=function(r){var n=Q6(r);Gr(this.option,r,!0),Gr(this.settledOption,n,!0),this._doInit(n)},t.prototype._doInit=function(r){var n=this.option;this._setDefaultThrottle(r),this._updateRangeUse(r);var i=this.settledOption;Te([["start","startValue"],["end","endValue"]],function(a,o){this._rangePropMode[o]==="value"&&(n[a[0]]=i[a[0]]=null)},this),this._resetTarget()},t.prototype._resetTarget=function(){var r=this.get("orient",!0),n=this._targetAxisInfoMap=dr(),i=this._fillSpecifiedTargetAxis(n);i?this._orient=r||this._makeAutoOrientByTargetAxis():(this._orient=r||"horizontal",this._fillAutoTargetAxisByOrient(n,this._orient)),this._noTarget=!0,n.each(function(a){a.indexList.length&&(this._noTarget=!1)},this)},t.prototype._fillSpecifiedTargetAxis=function(r){var n=!1;return Te(J6,function(i){var a=this.getReferringComponents(Xu(i),Xye);if(a.specified){n=!0;var o=new yC;Te(a.models,function(s){o.add(s.componentIndex)}),r.set(i,o)}},this),n},t.prototype._fillAutoTargetAxisByOrient=function(r,n){var i=this.ecModel,a=!0;if(a){var o=n==="vertical"?"y":"x",s=i.findComponents({mainType:o+"Axis"});c(s,o)}if(a){var s=i.findComponents({mainType:"singleAxis",filter:function(m){return m.get("orient",!0)===n}});c(s,"single")}function c(d,m){var v=d[0];if(v){var y=new yC;if(y.add(v.componentIndex),r.set(m,y),a=!1,m==="x"||m==="y"){var _=v.getReferringComponents("grid",Ra).models[0];_&&Te(d,function(S){v.componentIndex!==S.componentIndex&&_===S.getReferringComponents("grid",Ra).models[0]&&y.add(S.componentIndex)})}}}a&&Te(J6,function(d){if(a){var m=i.findComponents({mainType:Xu(d),filter:function(y){return y.get("type",!0)==="category"}});if(m[0]){var v=new yC;v.add(m[0].componentIndex),r.set(d,v),a=!1}}},this)},t.prototype._makeAutoOrientByTargetAxis=function(){var r;return this.eachTargetAxis(function(n){!r&&(r=n)},this),r==="y"?"vertical":"horizontal"},t.prototype._setDefaultThrottle=function(r){if(r.hasOwnProperty("throttle")&&(this._autoThrottle=!1),this._autoThrottle){var n=this.ecModel.option;this.option.throttle=n.animation&&n.animationDurationUpdate>0?100:20}},t.prototype._updateRangeUse=function(r){var n=this._rangePropMode,i=this.get("rangeMode");Te([["start","startValue"],["end","endValue"]],function(a,o){var s=r[a[0]]!=null,c=r[a[1]]!=null;s&&!c?n[o]="percent":!s&&c?n[o]="value":i?n[o]=i[o]:s&&(n[o]="percent")})},t.prototype.noTarget=function(){return this._noTarget},t.prototype.getFirstTargetAxisModel=function(){var r;return this.eachTargetAxis(function(n,i){r==null&&(r=this.ecModel.getComponent(Xu(n),i))},this),r},t.prototype.eachTargetAxis=function(r,n){this._targetAxisInfoMap.each(function(i,a){Te(i.indexList,function(o){r.call(n,a,o)})})},t.prototype.getAxisProxy=function(r,n){var i=this.getAxisModel(r,n);if(i)return i.__dzAxisProxy},t.prototype.getAxisModel=function(r,n){var i=this._targetAxisInfoMap.get(r);if(i&&i.indexMap[n])return this.ecModel.getComponent(Xu(r),n)},t.prototype.setRawRange=function(r){var n=this.option,i=this.settledOption;Te([["start","startValue"],["end","endValue"]],function(a){(r[a[0]]!=null||r[a[1]]!=null)&&(n[a[0]]=i[a[0]]=r[a[0]],n[a[1]]=i[a[1]]=r[a[1]])},this),this._updateRangeUse(r)},t.prototype.setCalculatedRange=function(r){var n=this.option;Te(["start","startValue","end","endValue"],function(i){n[i]=r[i]})},t.prototype.getPercentRange=function(){var r=this.findRepresentativeAxisProxy();if(r)return r.getDataPercentWindow()},t.prototype.getValueRange=function(r,n){if(r==null&&n==null){var i=this.findRepresentativeAxisProxy();if(i)return i.getDataValueWindow()}else return this.getAxisProxy(r,n).getDataValueWindow()},t.prototype.findRepresentativeAxisProxy=function(r){if(r)return r.__dzAxisProxy;for(var n,i=this._targetAxisInfoMap.keys(),a=0;ao[1];if(R&&!$&&!G)return!0;R&&(E=!0),$&&(S=!0),G&&(I=!0)}return E&&S&&I})}else zd(m,function(_){if(a==="empty")c.setData(d=d.map(_,function(I){return s(I)?I:NaN}));else{var S={};S[_]=o,d.selectRange(S)}});zd(m,function(_){d.setApproximateExtent(o,_)})}});function s(c){return c>=o[0]&&c<=o[1]}},e.prototype._updateMinMaxSpan=function(){var t=this._minMaxSpan={},r=this._dataZoomModel,n=this._dataExtent;zd(["min","max"],function(i){var a=r.get(i+"Span"),o=r.get(i+"ValueSpan");o!=null&&(o=this.getAxisModel().axis.scale.parse(o)),o!=null?a=Qi(n[0]+o,n,[0,100],!0):a!=null&&(o=Qi(a,[0,100],n,!0)-n[0]),t[i+"Span"]=a,t[i+"ValueSpan"]=o},this)},e.prototype._setAxisModel=function(){var t=this.getAxisModel(),r=this._percentWindow,n=this._valueWindow;if(r){var i=J7(n,[0,500]);i=Math.min(i,20);var a=t.axis.scale.rawExtentInfo;r[0]!==0&&a.setDeterminedMinMax("min",+n[0].toFixed(i)),r[1]!==100&&a.setDeterminedMinMax("max",+n[1].toFixed(i)),a.freeze()}},e}();function OCe(e,t,r){var n=[1/0,-1/0];zd(r,function(o){wSe(n,o.getData(),t)});var i=e.getAxisModel(),a=yH(i.axis.scale,i,n).calculate();return[a.min,a.max]}var zCe={getTargetSeries:function(e){function t(i){e.eachComponent("dataZoom",function(a){a.eachTargetAxis(function(o,s){var c=e.getComponent(Xu(o),s);i(o,s,c,a)})})}t(function(i,a,o,s){o.__dzAxisProxy=null});var r=[];t(function(i,a,o,s){o.__dzAxisProxy||(o.__dzAxisProxy=new RCe(i,a,s,e),r.push(o.__dzAxisProxy))});var n=dr();return Te(r,function(i){Te(i.getTargetSeriesModels(),function(a){n.set(a.uid,a)})}),n},overallReset:function(e,t){e.eachComponent("dataZoom",function(r){r.eachTargetAxis(function(n,i){r.getAxisProxy(n,i).reset(r)}),r.eachTargetAxis(function(n,i){r.getAxisProxy(n,i).filterData(r,t)})}),e.eachComponent("dataZoom",function(r){var n=r.findRepresentativeAxisProxy();if(n){var i=n.getDataPercentWindow(),a=n.getDataValueWindow();r.setCalculatedRange({start:i[0],end:i[1],startValue:a[0],endValue:a[1]})}})}};function BCe(e){e.registerAction("dataZoom",function(t,r){var n=kCe(r,t);Te(n,function(i){i.setRawRange({start:t.start,end:t.end,startValue:t.startValue,endValue:t.endValue})})})}var tB=!1;function bU(e){tB||(tB=!0,e.registerProcessor(e.PRIORITY.PROCESSOR.FILTER,zCe),BCe(e),e.registerSubTypeDefaulter("dataZoom",function(){return"slider"}))}function FCe(e,t){var r=Cw(t.get("padding")),n=t.getItemStyle(["color","opacity"]);return n.fill=t.get("backgroundColor"),e=new Zn({shape:{x:e.x-r[3],y:e.y-r[0],width:e.width+r[1]+r[3],height:e.height+r[0]+r[2],r:t.get("borderRadius")},style:n,silent:!0,z2:-1}),e}var $Ce=function(e){mt(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.type="tooltip",t.dependencies=["axisPointer"],t.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}},t}(Qr);function xU(e){var t=e.get("confine");return t!=null?!!t:e.get("renderMode")==="richText"}function wU(e){if(gr.domSupported){for(var t=document.documentElement.style,r=0,n=e.length;r-1?(s+="top:50%",c+="translateY(-50%) rotate("+(d=a==="left"?-225:-45)+"deg)"):(s+="left:50%",c+="translateX(-50%) rotate("+(d=a==="top"?225:45)+"deg)");var m=d*Math.PI/180,v=o+i,y=v*Math.abs(Math.cos(m))+v*Math.abs(Math.sin(m)),_=Math.round(((y-Math.SQRT2*i)/2+Math.SQRT2*i-(y-v)/2)*100)/100;s+=";"+a+":-"+_+"px";var S=t+" solid "+i+"px;",I=["position:absolute;width:"+o+"px;height:"+o+"px;z-index:-1;",s+";"+c+";","border-bottom:"+S,"border-right:"+S,"background-color:"+n+";"];return'
'}function WCe(e,t){var r="cubic-bezier(0.23,1,0.32,1)",n=" "+e/2+"s "+r,i="opacity"+n+",visibility"+n;return t||(n=" "+e+"s "+r,i+=gr.transformSupported?","+eD+n:",left"+n+",top"+n),jCe+":"+i}function rB(e,t,r){var n=e.toFixed(0)+"px",i=t.toFixed(0)+"px";if(!gr.transformSupported)return r?"top:"+i+";left:"+n+";":[["top",i],["left",n]];var a=gr.transform3dSupported,o="translate"+(a?"3d":"")+"("+n+","+i+(a?",0":"")+")";return r?"top:0;left:0;"+eD+":"+o+";":[["top",0],["left",0],[SU,o]]}function qCe(e){var t=[],r=e.get("fontSize"),n=e.getTextColor();n&&t.push("color:"+n),t.push("font:"+e.getFont()),r&&t.push("line-height:"+Math.round(r*3/2)+"px");var i=e.get("textShadowColor"),a=e.get("textShadowBlur")||0,o=e.get("textShadowOffsetX")||0,s=e.get("textShadowOffsetY")||0;return i&&a&&t.push("text-shadow:"+o+"px "+s+"px "+a+"px "+i),Te(["decoration","align"],function(c){var d=e.get(c);d&&t.push("text-"+c+":"+d)}),t.join(";")}function ZCe(e,t,r){var n=[],i=e.get("transitionDuration"),a=e.get("backgroundColor"),o=e.get("shadowBlur"),s=e.get("shadowColor"),c=e.get("shadowOffsetX"),d=e.get("shadowOffsetY"),m=e.getModel("textStyle"),v=Ij(e,"html"),y=c+"px "+d+"px "+o+"px "+s;return n.push("box-shadow:"+y),t&&i&&n.push(WCe(i,r)),a&&n.push("background-color:"+a),Te(["width","color","radius"],function(_){var S="border-"+_,I=rj(S),E=e.get(I);E!=null&&n.push(S+":"+E+(_==="color"?"":"px"))}),n.push(qCe(m)),v!=null&&n.push("padding:"+Cw(v).join("px ")+"px"),n.join(";")+";"}function nB(e,t,r,n,i){var a=t&&t.painter;if(r){var o=a&&a.getViewportRoot();o&&_ge(e,o,r,n,i)}else{e[0]=n,e[1]=i;var s=a&&a.getViewportRootOffset();s&&(e[0]+=s.offsetLeft,e[1]+=s.offsetTop)}e[2]=e[0]/t.getWidth(),e[3]=e[1]/t.getHeight()}var XCe=function(){function e(t,r){if(this._show=!1,this._styleCoord=[0,0,0,0],this._enterable=!0,this._alwaysShowContent=!1,this._firstShow=!0,this._longHide=!0,gr.wxa)return null;var n=document.createElement("div");n.domBelongToZr=!0,this.el=n;var i=this._zr=t.getZr(),a=r.appendTo,o=a&&(Wt(a)?document.querySelector(a):ly(a)?a:nr(a)&&a(t.getDom()));nB(this._styleCoord,i,o,t.getWidth()/2,t.getHeight()/2),(o||t.getDom()).appendChild(n),this._api=t,this._container=o;var s=this;n.onmouseenter=function(){s._enterable&&(clearTimeout(s._hideTimeout),s._show=!0),s._inContent=!0},n.onmousemove=function(c){if(c=c||window.event,!s._enterable){var d=i.handler,m=i.painter.getViewportRoot();So(m,c,!0),d.dispatch("mousemove",c)}},n.onmouseleave=function(){s._inContent=!1,s._enterable&&s._show&&s.hideLater(s._hideDelay)}}return e.prototype.update=function(t){if(!this._container){var r=this._api.getDom(),n=VCe(r,"position"),i=r.style;i.position!=="absolute"&&n!=="absolute"&&(i.position="relative")}var a=t.get("alwaysShowContent");a&&this._moveIfResized(),this._alwaysShowContent=a,this.el.className=t.get("className")||""},e.prototype.show=function(t,r){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var n=this.el,i=n.style,a=this._styleCoord;n.innerHTML?i.cssText=HCe+ZCe(t,!this._firstShow,this._longHide)+rB(a[0],a[1],!0)+("border-color:"+lf(r)+";")+(t.get("extraCssText")||"")+(";pointer-events:"+(this._enterable?"auto":"none")):i.display="none",this._show=!0,this._firstShow=!1,this._longHide=!1},e.prototype.setContent=function(t,r,n,i,a){var o=this.el;if(t==null){o.innerHTML="";return}var s="";if(Wt(a)&&n.get("trigger")==="item"&&!xU(n)&&(s=GCe(n,i,a)),Wt(t))o.innerHTML=t+s;else if(t){o.innerHTML="",Ft(t)||(t=[t]);for(var c=0;c=0?this._tryShow(a,o):i==="leave"&&this._hide(o))},this))},t.prototype._keepShow=function(){var r=this._tooltipModel,n=this._ecModel,i=this._api,a=r.get("triggerOn");if(this._lastX!=null&&this._lastY!=null&&a!=="none"&&a!=="click"){var o=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout(function(){!i.isDisposed()&&o.manuallyShowTip(r,n,i,{x:o._lastX,y:o._lastY,dataByCoordSys:o._lastDataByCoordSys})})}},t.prototype.manuallyShowTip=function(r,n,i,a){if(!(a.from===this.uid||gr.node||!i.getDom())){var o=oB(a,i);this._ticket="";var s=a.dataByCoordSys,c=rPe(a,n,i);if(c){var d=c.el.getBoundingRect().clone();d.applyTransform(c.el.transform),this._tryShow({offsetX:d.x+d.width/2,offsetY:d.y+d.height/2,target:c.el,position:a.position,positionDefault:"bottom"},o)}else if(a.tooltip&&a.x!=null&&a.y!=null){var m=YCe;m.x=a.x,m.y=a.y,m.update(),Hr(m).tooltipConfig={name:null,option:a.tooltip},this._tryShow({offsetX:a.x,offsetY:a.y,target:m},o)}else if(s)this._tryShow({offsetX:a.x,offsetY:a.y,position:a.position,dataByCoordSys:s,tooltipOption:a.tooltipOption},o);else if(a.seriesIndex!=null){if(this._manuallyAxisShowTip(r,n,i,a))return;var v=mU(a,n),y=v.point[0],_=v.point[1];y!=null&&_!=null&&this._tryShow({offsetX:y,offsetY:_,target:v.el,position:a.position,positionDefault:"bottom"},o)}else a.x!=null&&a.y!=null&&(i.dispatchAction({type:"updateAxisPointer",x:a.x,y:a.y}),this._tryShow({offsetX:a.x,offsetY:a.y,position:a.position,target:i.getZr().findHover(a.x,a.y).target},o))}},t.prototype.manuallyHideTip=function(r,n,i,a){var o=this._tooltipContent;this._tooltipModel&&o.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=this._lastDataByCoordSys=null,a.from!==this.uid&&this._hide(oB(a,i))},t.prototype._manuallyAxisShowTip=function(r,n,i,a){var o=a.seriesIndex,s=a.dataIndex,c=n.getComponent("axisPointer").coordSysAxesInfo;if(!(o==null||s==null||c==null)){var d=n.getSeriesByIndex(o);if(d){var m=d.getData(),v=Xv([m.getItemModel(s),d,(d.coordinateSystem||{}).model],this._tooltipModel);if(v.get("trigger")==="axis")return i.dispatchAction({type:"updateAxisPointer",seriesIndex:o,dataIndex:s,position:a.position}),!0}}},t.prototype._tryShow=function(r,n){var i=r.target,a=this._tooltipModel;if(a){this._lastX=r.offsetX,this._lastY=r.offsetY;var o=r.dataByCoordSys;if(o&&o.length)this._showAxisTooltip(o,r);else if(i){var s=Hr(i);if(s.ssrType==="legend")return;this._lastDataByCoordSys=null;var c,d;ug(i,function(m){if(Hr(m).dataIndex!=null)return c=m,!0;if(Hr(m).tooltipConfig!=null)return d=m,!0},!0),c?this._showSeriesItemTooltip(r,c,n):d?this._showComponentItemTooltip(r,d,n):this._hide(n)}else this._lastDataByCoordSys=null,this._hide(n)}},t.prototype._showOrMove=function(r,n){var i=r.get("showDelay");n=_r(n,this),clearTimeout(this._showTimout),i>0?this._showTimout=setTimeout(n,i):n()},t.prototype._showAxisTooltip=function(r,n){var i=this._ecModel,a=this._tooltipModel,o=[n.offsetX,n.offsetY],s=Xv([n.tooltipOption],a),c=this._renderMode,d=[],m=sc("section",{blocks:[],noHeader:!0}),v=[],y=new NT;Te(r,function(L){Te(L.dataByAxis,function(R){var $=i.getComponent(R.axisDim+"Axis",R.axisIndex),G=R.value;if(!(!$||G==null)){var j=fU(G,$.axis,i,R.seriesDataIndices,R.valueLabelOpt),H=sc("section",{header:j,noHeader:!qs(j),sortBlocks:!0,blocks:[]});m.blocks.push(H),Te(R.seriesDataIndices,function(Z){var Q=i.getSeriesByIndex(Z.seriesIndex),ee=Z.dataIndexInside,ne=Q.getDataParams(ee);if(!(ne.dataIndex<0)){ne.axisDim=R.axisDim,ne.axisIndex=R.axisIndex,ne.axisType=R.axisType,ne.axisId=R.axisId,ne.axisValue=FM($.axis,{value:G}),ne.axisValueLabel=j,ne.marker=y.makeTooltipMarker("item",lf(ne.color),c);var ie=rz(Q.formatTooltip(ee,!0,null)),ce=ie.frag;if(ce){var Ae=Xv([Q],a).get("valueFormatter");H.blocks.push(Ae?St({valueFormatter:Ae},ce):ce)}ie.text&&v.push(ie.text),d.push(ne)}})}})}),m.blocks.reverse(),v.reverse();var _=n.position,S=s.get("order"),I=sz(m,y,c,S,i.get("useUTC"),s.get("textStyle"));I&&v.unshift(I);var E=c==="richText"?` + +`:"
",M=v.join(E);this._showOrMove(s,function(){this._updateContentNotChangedOnAxis(r,d)?this._updatePosition(s,_,o[0],o[1],this._tooltipContent,d):this._showTooltipContent(s,M,d,Math.random()+"",o[0],o[1],_,null,y)})},t.prototype._showSeriesItemTooltip=function(r,n,i){var a=this._ecModel,o=Hr(n),s=o.seriesIndex,c=a.getSeriesByIndex(s),d=o.dataModel||c,m=o.dataIndex,v=o.dataType,y=d.getData(v),_=this._renderMode,S=r.positionDefault,I=Xv([y.getItemModel(m),d,c&&(c.coordinateSystem||{}).model],this._tooltipModel,S?{position:S}:null),E=I.get("trigger");if(!(E!=null&&E!=="item")){var M=d.getDataParams(m,v),L=new NT;M.marker=L.makeTooltipMarker("item",lf(M.color),_);var R=rz(d.formatTooltip(m,!1,v)),$=I.get("order"),G=I.get("valueFormatter"),j=R.frag,H=j?sz(G?St({valueFormatter:G},j):j,L,_,$,a.get("useUTC"),I.get("textStyle")):R.text,Z="item_"+d.name+"_"+m;this._showOrMove(I,function(){this._showTooltipContent(I,H,M,Z,r.offsetX,r.offsetY,r.position,r.target,L)}),i({type:"showTip",dataIndexInside:m,dataIndex:y.getRawIndex(m),seriesIndex:s,from:this.uid})}},t.prototype._showComponentItemTooltip=function(r,n,i){var a=this._renderMode==="html",o=Hr(n),s=o.tooltipConfig,c=s.option||{},d=c.encodeHTMLContent;if(Wt(c)){var m=c;c={content:m,formatter:m},d=!0}d&&a&&c.content&&(c=Dr(c),c.content=Ma(c.content));var v=[c],y=this._ecModel.getComponent(o.componentMainType,o.componentIndex);y&&v.push(y),v.push({formatter:c.content});var _=r.positionDefault,S=Xv(v,this._tooltipModel,_?{position:_}:null),I=S.get("content"),E=Math.random()+"",M=new NT;this._showOrMove(S,function(){var L=Dr(S.get("formatterParams")||{});this._showTooltipContent(S,I,L,E,r.offsetX,r.offsetY,r.position,n,M)}),i({type:"showTip",from:this.uid})},t.prototype._showTooltipContent=function(r,n,i,a,o,s,c,d,m){if(this._ticket="",!(!r.get("showContent")||!r.get("show"))){var v=this._tooltipContent;v.setEnterable(r.get("enterable"));var y=r.get("formatter");c=c||r.get("position");var _=n,S=this._getNearestPoint([o,s],i,r.get("trigger"),r.get("borderColor")),I=S.color;if(y)if(Wt(y)){var E=r.ecModel.get("useUTC"),M=Ft(i)?i[0]:i,L=M&&M.axisType&&M.axisType.indexOf("time")>=0;_=y,L&&(_=bw(M.axisValue,_,E)),_=nj(_,i,!0)}else if(nr(y)){var R=_r(function($,G){$===this._ticket&&(v.setContent(G,m,r,I,c),this._updatePosition(r,c,o,s,v,i,d))},this);this._ticket=a,_=y(i,a,R)}else _=y;v.setContent(_,m,r,I,c),v.show(r,I),this._updatePosition(r,c,o,s,v,i,d)}},t.prototype._getNearestPoint=function(r,n,i,a){if(i==="axis"||Ft(n))return{color:a||(this._renderMode==="html"?"#fff":"none")};if(!Ft(n))return{color:a||n.color||n.borderColor}},t.prototype._updatePosition=function(r,n,i,a,o,s,c){var d=this._api.getWidth(),m=this._api.getHeight();n=n||r.get("position");var v=o.getSize(),y=r.get("align"),_=r.get("verticalAlign"),S=c&&c.getBoundingRect().clone();if(c&&S.applyTransform(c.transform),nr(n)&&(n=n([i,a],s,o.el,S,{viewSize:[d,m],contentSize:v.slice()})),Ft(n))i=li(n[0],d),a=li(n[1],m);else if(sr(n)){var I=n;I.width=v[0],I.height=v[1];var E=kp(I,{width:d,height:m});i=E.x,a=E.y,y=null,_=null}else if(Wt(n)&&c){var M=tPe(n,S,v,r.get("borderWidth"));i=M[0],a=M[1]}else{var M=QCe(i,a,o,d,m,y?null:20,_?null:20);i=M[0],a=M[1]}if(y&&(i-=sB(y)?v[0]/2:y==="right"?v[0]:0),_&&(a-=sB(_)?v[1]/2:_==="bottom"?v[1]:0),xU(r)){var M=ePe(i,a,o,d,m);i=M[0],a=M[1]}o.moveTo(i,a)},t.prototype._updateContentNotChangedOnAxis=function(r,n){var i=this._lastDataByCoordSys,a=this._cbParamsList,o=!!i&&i.length===r.length;return o&&Te(i,function(s,c){var d=s.dataByAxis||[],m=r[c]||{},v=m.dataByAxis||[];o=o&&d.length===v.length,o&&Te(d,function(y,_){var S=v[_]||{},I=y.seriesDataIndices||[],E=S.seriesDataIndices||[];o=o&&y.value===S.value&&y.axisType===S.axisType&&y.axisId===S.axisId&&I.length===E.length,o&&Te(I,function(M,L){var R=E[L];o=o&&M.seriesIndex===R.seriesIndex&&M.dataIndex===R.dataIndex}),a&&Te(y.seriesDataIndices,function(M){var L=M.seriesIndex,R=n[L],$=a[L];R&&$&&$.data!==R.data&&(o=!1)})})}),this._lastDataByCoordSys=r,this._cbParamsList=n,!!o},t.prototype._hide=function(r){this._lastDataByCoordSys=null,r({type:"hideTip",from:this.uid})},t.prototype.dispose=function(r,n){gr.node||!n.getDom()||(sx(this,"_updatePosition"),this._tooltipContent.dispose(),JA("itemTooltip",n))},t.type="tooltip",t}(lo);function Xv(e,t,r){var n=t.ecModel,i;r?(i=new qn(r,n,n),i=new qn(t.option,i,n)):i=t;for(var a=e.length-1;a>=0;a--){var o=e[a];o&&(o instanceof qn&&(o=o.get("tooltip",!0)),Wt(o)&&(o={formatter:o}),o&&(i=new qn(o,i,n)))}return i}function oB(e,t){return e.dispatchAction||_r(t.dispatchAction,t)}function QCe(e,t,r,n,i,a,o){var s=r.getSize(),c=s[0],d=s[1];return a!=null&&(e+c+a+2>n?e-=c+a:e+=a),o!=null&&(t+d+o>i?t-=d+o:t+=o),[e,t]}function ePe(e,t,r,n,i){var a=r.getSize(),o=a[0],s=a[1];return e=Math.min(e+o,n)-o,t=Math.min(t+s,i)-s,e=Math.max(e,0),t=Math.max(t,0),[e,t]}function tPe(e,t,r,n){var i=r[0],a=r[1],o=Math.ceil(Math.SQRT2*n)+8,s=0,c=0,d=t.width,m=t.height;switch(e){case"inside":s=t.x+d/2-i/2,c=t.y+m/2-a/2;break;case"top":s=t.x+d/2-i/2,c=t.y-a-o;break;case"bottom":s=t.x+d/2-i/2,c=t.y+m+o;break;case"left":s=t.x-i-o,c=t.y+m/2-a/2;break;case"right":s=t.x+d+o,c=t.y+m/2-a/2}return[s,c]}function sB(e){return e==="center"||e==="middle"}function rPe(e,t,r){var n=JE(e).queryOptionMap,i=n.keys()[0];if(!(!i||i==="series")){var a=Xy(t,i,n.get(i),{useDefault:!1,enableAll:!1,enableNone:!1}),o=a.models[0];if(o){var s=r.getViewOfComponentModel(o),c;if(s.group.traverse(function(d){var m=Hr(d).tooltipConfig;if(m&&m.name===e.name)return c=d,!0}),c)return{componentMainType:i,componentIndex:o.componentIndex,el:c}}}}function CU(e){$o(vU),e.registerComponentModel($Ce),e.registerComponentView(JCe),e.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},na),e.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},na)}var nPe=function(e){mt(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r.layoutMode={type:"box",ignoreSize:!0},r}return t.type="title",t.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"}},t}(Qr),iPe=function(e){mt(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.prototype.render=function(r,n,i){if(this.group.removeAll(),!!r.get("show")){var a=this.group,o=r.getModel("textStyle"),s=r.getModel("subtextStyle"),c=r.get("textAlign"),d=wr(r.get("textBaseline"),r.get("textVerticalAlign")),m=new Vi({style:ql(o,{text:r.get("text"),fill:o.getTextColor()},{disableBox:!0}),z2:10}),v=m.getBoundingRect(),y=r.get("subtext"),_=new Vi({style:ql(s,{text:y,fill:s.getTextColor(),y:v.height+r.get("itemGap"),verticalAlign:"top"},{disableBox:!0}),z2:10}),S=r.get("link"),I=r.get("sublink"),E=r.get("triggerEvent",!0);m.silent=!S&&!E,_.silent=!I&&!E,S&&m.on("click",function(){F4(S,"_"+r.get("target"))}),I&&_.on("click",function(){F4(I,"_"+r.get("subtarget"))}),Hr(m).eventData=Hr(_).eventData=E?{componentType:"title",componentIndex:r.componentIndex}:null,a.add(m),y&&a.add(_);var M=a.getBoundingRect(),L=r.getBoxLayoutParams();L.width=M.width,L.height=M.height;var R=kp(L,{width:i.getWidth(),height:i.getHeight()},r.get("padding"));c||(c=r.get("left")||r.get("right"),c==="middle"&&(c="center"),c==="right"?R.x+=R.width:c==="center"&&(R.x+=R.width/2)),d||(d=r.get("top")||r.get("bottom"),d==="center"&&(d="middle"),d==="bottom"?R.y+=R.height:d==="middle"&&(R.y+=R.height/2),d=d||"top"),a.x=R.x,a.y=R.y,a.markRedraw();var $={align:c,verticalAlign:d};m.setStyle($),_.setStyle($),M=a.getBoundingRect();var G=R.margin,j=r.getItemStyle(["color","opacity"]);j.fill=r.get("backgroundColor");var H=new Zn({shape:{x:M.x-G[3],y:M.y-G[0],width:M.width+G[1]+G[3],height:M.height+G[0]+G[2],r:r.get("borderRadius")},style:j,subPixelOptimize:!0,silent:!0});a.add(H)}},t.type="title",t}(lo);function PU(e){e.registerComponentModel(nPe),e.registerComponentView(iPe)}function aPe(e,t){if(!e)return!1;for(var r=Ft(e)?e:[e],n=0;n=0&&(o[a]=+o[a].toFixed(y)),[o,v]}var _C={min:Pn(b1,"min"),max:Pn(b1,"max"),average:Pn(b1,"average"),median:Pn(b1,"median")};function uPe(e,t){if(t){var r=e.getData(),n=e.coordinateSystem,i=n&&n.dimensions;if(!lPe(t)&&!Ft(t.coord)&&Ft(i)){var a=cPe(t,r,n,e);if(t=Dr(t),t.type&&_C[t.type]&&a.baseAxis&&a.valueAxis){var o=Zr(i,a.baseAxis.dim),s=Zr(i,a.valueAxis.dim),c=_C[t.type](r,a.baseDataDim,a.valueDataDim,o,s);t.coord=c[0],t.value=c[1]}else t.coord=[t.xAxis!=null?t.xAxis:t.radiusAxis,t.yAxis!=null?t.yAxis:t.angleAxis]}if(t.coord==null||!Ft(i))t.coord=[];else for(var d=t.coord,m=0;m<2;m++)_C[d[m]]&&(d[m]=AU(r,r.mapDimension(i[m]),d[m]));return t}}function cPe(e,t,r,n){var i={};return e.valueIndex!=null||e.valueDim!=null?(i.valueDataDim=e.valueIndex!=null?t.getDimension(e.valueIndex):e.valueDim,i.valueAxis=r.getAxis(hPe(n,i.valueDataDim)),i.baseAxis=r.getOtherAxis(i.valueAxis),i.baseDataDim=t.mapDimension(i.baseAxis.dim)):(i.baseAxis=n.getBaseAxis(),i.valueAxis=r.getOtherAxis(i.baseAxis),i.baseDataDim=t.mapDimension(i.baseAxis.dim),i.valueDataDim=t.mapDimension(i.valueAxis.dim)),i}function hPe(e,t){var r=e.getData().getDimensionInfo(t);return r&&r.coordDim}function fPe(e,t){return e&&e.containData&&t.coord&&!sPe(t)?e.containData(t.coord):!0}function dPe(e,t){return e?function(r,n,i,a){var o=a<2?r.coord&&r.coord[a]:r.value;return hp(o,t[a])}:function(r,n,i,a){return hp(r.value,t[a])}}function AU(e,t,r){if(r==="average"){var n=0,i=0;return e.each(t,function(a,o){isNaN(a)||(n+=a,i++)}),n/i}else return r==="median"?e.getMedian(t):e.getDataExtent(t)[r==="max"?1:0]}var bC=Kn(),pPe=function(e){mt(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.prototype.init=function(){this.markerGroupMap=dr()},t.prototype.render=function(r,n,i){var a=this,o=this.markerGroupMap;o.each(function(s){bC(s).keep=!1}),n.eachSeries(function(s){var c=Iy.getMarkerModelFromSeries(s,a.type);c&&a.renderSeries(s,c,n,i)}),o.each(function(s){!bC(s).keep&&a.group.remove(s.group)})},t.prototype.markKeep=function(r){bC(r).keep=!0},t.prototype.toggleBlurSeries=function(r,n){var i=this;Te(r,function(a){var o=Iy.getMarkerModelFromSeries(a,i.type);if(o){var s=o.getData();s.eachItemGraphicEl(function(c){c&&(n?xV(c):iM(c))})}})},t.type="marker",t}(lo);function lB(e,t,r){var n=t.coordinateSystem;e.each(function(i){var a=e.getItemModel(i),o,s=li(a.get("x"),r.getWidth()),c=li(a.get("y"),r.getHeight());if(!isNaN(s)&&!isNaN(c))o=[s,c];else if(t.getMarkerPosition)o=t.getMarkerPosition(e.getValues(e.dimensions,i));else if(n){var d=e.get(n.dimensions[0],i),m=e.get(n.dimensions[1],i);o=n.dataToPoint([d,m])}isNaN(s)||(o[0]=s),isNaN(c)||(o[1]=c),e.setItemLayout(i,o)})}var mPe=function(e){mt(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.prototype.updateTransform=function(r,n,i){n.eachSeries(function(a){var o=Iy.getMarkerModelFromSeries(a,"markPoint");o&&(lB(o.getData(),a,i),this.markerGroupMap.get(a.id).updateLayout())},this)},t.prototype.renderSeries=function(r,n,i,a){var o=r.coordinateSystem,s=r.id,c=r.getData(),d=this.markerGroupMap,m=d.get(s)||d.set(s,new XM),v=vPe(o,r,n);n.setData(v),lB(n.getData(),r,a),v.each(function(y){var _=v.getItemModel(y),S=_.getShallow("symbol"),I=_.getShallow("symbolSize"),E=_.getShallow("symbolRotate"),M=_.getShallow("symbolOffset"),L=_.getShallow("symbolKeepAspect");if(nr(S)||nr(I)||nr(E)||nr(M)){var R=n.getRawValue(y),$=n.getDataParams(y);nr(S)&&(S=S(R,$)),nr(I)&&(I=I(R,$)),nr(E)&&(E=E(R,$)),nr(M)&&(M=M(R,$))}var G=_.getModel("itemStyle").getItemStyle(),j=Bj(c,"color");G.fill||(G.fill=j),v.setItemVisual(y,{symbol:S,symbolSize:I,symbolRotate:E,symbolOffset:M,symbolKeepAspect:L,style:G})}),m.updateData(v),this.group.add(m.group),v.eachItemGraphicEl(function(y){y.traverse(function(_){Hr(_).dataModel=n})}),this.markKeep(m),m.group.silent=n.get("silent")||r.get("silent")},t.type="markPoint",t}(pPe);function vPe(e,t,r){var n;e?n=Yt(e&&e.dimensions,function(s){var c=t.getData().getDimensionInfo(t.getData().mapDimension(s))||{};return St(St({},c),{name:s,ordinalMeta:null})}):n=[{name:"value",type:"float"}];var i=new OM(n,r),a=Yt(r.get("data"),Pn(uPe,t));e&&(a=Ri(a,Pn(fPe,e)));var o=dPe(!!e,n);return i.initData(a,null,o),i}function gPe(e){e.registerComponentModel(oPe),e.registerComponentView(mPe),e.registerPreprocessor(function(t){aPe(t.series,"markPoint")&&(t.markPoint=t.markPoint||{})})}var yPe=function(e,t){if(t==="all")return{type:"all",title:e.getLocaleModel().get(["legend","selector","all"])};if(t==="inverse")return{type:"inverse",title:e.getLocaleModel().get(["legend","selector","inverse"])}},QA=function(e){mt(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r.layoutMode={type:"box",ignoreSize:!0},r}return t.prototype.init=function(r,n,i){this.mergeDefaultAndTheme(r,i),r.selected=r.selected||{},this._updateSelector(r)},t.prototype.mergeOption=function(r,n){e.prototype.mergeOption.call(this,r,n),this._updateSelector(r)},t.prototype._updateSelector=function(r){var n=r.selector,i=this.ecModel;n===!0&&(n=r.selector=["all","inverse"]),Ft(n)&&Te(n,function(a,o){Wt(a)&&(a={type:a}),n[o]=Gr(a,yPe(i,a.type))})},t.prototype.optionUpdated=function(){this._updateData(this.ecModel);var r=this._data;if(r[0]&&this.get("selectedMode")==="single"){for(var n=!1,i=0;i=0},t.prototype.getOrient=function(){return this.get("orient")==="vertical"?{index:1,name:"vertical"}:{index:0,name:"horizontal"}},t.type="legend.plain",t.dependencies=["series"],t.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}},t}(Qr),Ed=Pn,eI=Te,x1=$n,IU=function(e){mt(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r.newlineDisabled=!1,r}return t.prototype.init=function(){this.group.add(this._contentGroup=new x1),this.group.add(this._selectorGroup=new x1),this._isFirstRender=!0},t.prototype.getContentGroup=function(){return this._contentGroup},t.prototype.getSelectorGroup=function(){return this._selectorGroup},t.prototype.render=function(r,n,i){var a=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),!!r.get("show",!0)){var o=r.get("align"),s=r.get("orient");(!o||o==="auto")&&(o=r.get("left")==="right"&&s==="vertical"?"right":"left");var c=r.get("selector",!0),d=r.get("selectorPosition",!0);c&&(!d||d==="auto")&&(d=s==="horizontal"?"end":"start"),this.renderInner(o,r,n,i,c,s,d);var m=r.getBoxLayoutParams(),v={width:i.getWidth(),height:i.getHeight()},y=r.get("padding"),_=kp(m,v,y),S=this.layoutInner(r,o,_,a,c,d),I=kp(sn({width:S.width,height:S.height},m),v,y);this.group.x=I.x-S.x,this.group.y=I.y-S.y,this.group.markRedraw(),this.group.add(this._backgroundEl=FCe(S,r))}},t.prototype.resetInner=function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},t.prototype.renderInner=function(r,n,i,a,o,s,c){var d=this.getContentGroup(),m=dr(),v=n.get("selectedMode"),y=[];i.eachRawSeries(function(_){!_.get("legendHoverLink")&&y.push(_.id)}),eI(n.getData(),function(_,S){var I=_.get("name");if(!this.newlineDisabled&&(I===""||I===` +`)){var E=new x1;E.newline=!0,d.add(E);return}var M=i.getSeriesByName(I)[0];if(!m.get(I))if(M){var L=M.getData(),R=L.getVisual("legendLineStyle")||{},$=L.getVisual("legendIcon"),G=L.getVisual("style"),j=this._createItem(M,I,S,_,n,r,R,G,$,v,a);j.on("click",Ed(uB,I,null,a,y)).on("mouseover",Ed(tI,M.name,null,a,y)).on("mouseout",Ed(rI,M.name,null,a,y)),i.ssr&&j.eachChild(function(H){var Z=Hr(H);Z.seriesIndex=M.seriesIndex,Z.dataIndex=S,Z.ssrType="legend"}),m.set(I,!0)}else i.eachRawSeries(function(H){if(!m.get(I)&&H.legendVisualProvider){var Z=H.legendVisualProvider;if(!Z.containName(I))return;var Q=Z.indexOfName(I),ee=Z.getItemVisual(Q,"style"),ne=Z.getItemVisual(Q,"legendIcon"),ie=Ks(ee.fill);ie&&ie[3]===0&&(ie[3]=.2,ee=St(St({},ee),{fill:tw(ie,"rgba")}));var ce=this._createItem(H,I,S,_,n,r,{},ee,ne,v,a);ce.on("click",Ed(uB,null,I,a,y)).on("mouseover",Ed(tI,null,I,a,y)).on("mouseout",Ed(rI,null,I,a,y)),i.ssr&&ce.eachChild(function(Ae){var ue=Hr(Ae);ue.seriesIndex=H.seriesIndex,ue.dataIndex=S,ue.ssrType="legend"}),m.set(I,!0)}},this)},this),o&&this._createSelector(o,n,a,s,c)},t.prototype._createSelector=function(r,n,i,a,o){var s=this.getSelectorGroup();eI(r,function(d){var m=d.type,v=new Vi({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){i.dispatchAction({type:m==="all"?"legendAllSelect":"legendInverseSelect"})}});s.add(v);var y=n.getModel("selectorLabel"),_=n.getModel(["emphasis","selectorLabel"]);yw(v,{normal:y,emphasis:_},{defaultText:d.title}),ex(v)})},t.prototype._createItem=function(r,n,i,a,o,s,c,d,m,v,y){var _=r.visualDrawType,S=o.get("itemWidth"),I=o.get("itemHeight"),E=o.isSelected(n),M=a.get("symbolRotate"),L=a.get("symbolKeepAspect"),R=a.get("icon");m=R||m||"roundRect";var $=_Pe(m,a,c,d,_,E,y),G=new x1,j=a.getModel("textStyle");if(nr(r.getLegendIcon)&&(!R||R==="inherit"))G.add(r.getLegendIcon({itemWidth:S,itemHeight:I,icon:m,iconRotate:M,itemStyle:$.itemStyle,lineStyle:$.lineStyle,symbolKeepAspect:L}));else{var H=R==="inherit"&&r.getData().getVisual("symbol")?M==="inherit"?r.getData().getVisual("symbolRotate"):M:0;G.add(bPe({itemWidth:S,itemHeight:I,icon:m,iconRotate:H,itemStyle:$.itemStyle,lineStyle:$.lineStyle,symbolKeepAspect:L}))}var Z=s==="left"?S+5:-5,Q=s,ee=o.get("formatter"),ne=n;Wt(ee)&&ee?ne=ee.replace("{name}",n??""):nr(ee)&&(ne=ee(n));var ie=E?j.getTextColor():a.get("inactiveColor");G.add(new Vi({style:ql(j,{text:ne,x:Z,y:I/2,fill:ie,align:Q,verticalAlign:"middle"},{inheritColor:ie})}));var ce=new Zn({shape:G.getBoundingRect(),style:{fill:"transparent"}}),Ae=a.getModel("tooltip");return Ae.get("show")&&hM({el:ce,componentModel:o,itemName:n,itemTooltipOption:Ae.option}),G.add(ce),G.eachChild(function(ue){ue.silent=!0}),ce.silent=!v,this.getContentGroup().add(G),ex(G),G.__legendDataIndex=i,G},t.prototype.layoutInner=function(r,n,i,a,o,s){var c=this.getContentGroup(),d=this.getSelectorGroup();zg(r.get("orient"),c,r.get("itemGap"),i.width,i.height);var m=c.getBoundingRect(),v=[-m.x,-m.y];if(d.markRedraw(),c.markRedraw(),o){zg("horizontal",d,r.get("selectorItemGap",!0));var y=d.getBoundingRect(),_=[-y.x,-y.y],S=r.get("selectorButtonGap",!0),I=r.getOrient().index,E=I===0?"width":"height",M=I===0?"height":"width",L=I===0?"y":"x";s==="end"?_[I]+=m[E]+S:v[I]+=y[E]+S,_[1-I]+=m[M]/2-y[M]/2,d.x=_[0],d.y=_[1],c.x=v[0],c.y=v[1];var R={x:0,y:0};return R[E]=m[E]+S+y[E],R[M]=Math.max(m[M],y[M]),R[L]=Math.min(0,y[L]+_[1-I]),R}else return c.x=v[0],c.y=v[1],this.group.getBoundingRect()},t.prototype.remove=function(){this.getContentGroup().removeAll(),this._isFirstRender=!0},t.type="legend.plain",t}(lo);function _Pe(e,t,r,n,i,a,o){function s(E,M){E.lineWidth==="auto"&&(E.lineWidth=M.lineWidth>0?2:0),eI(E,function(L,R){E[R]==="inherit"&&(E[R]=M[R])})}var c=t.getModel("itemStyle"),d=c.getItemStyle(),m=e.lastIndexOf("empty",0)===0?"fill":"stroke",v=c.getShallow("decal");d.decal=!v||v==="inherit"?n.decal:RA(v,o),d.fill==="inherit"&&(d.fill=n[i]),d.stroke==="inherit"&&(d.stroke=n[m]),d.opacity==="inherit"&&(d.opacity=(i==="fill"?n:r).opacity),s(d,n);var y=t.getModel("lineStyle"),_=y.getLineStyle();if(s(_,r),d.fill==="auto"&&(d.fill=n.fill),d.stroke==="auto"&&(d.stroke=n.fill),_.stroke==="auto"&&(_.stroke=n.fill),!a){var S=t.get("inactiveBorderWidth"),I=d[m];d.lineWidth=S==="auto"?n.lineWidth>0&&I?2:0:d.lineWidth,d.fill=t.get("inactiveColor"),d.stroke=t.get("inactiveBorderColor"),_.stroke=y.get("inactiveColor"),_.lineWidth=y.get("inactiveWidth")}return{itemStyle:d,lineStyle:_}}function bPe(e){var t=e.icon||"roundRect",r=ds(t,0,0,e.itemWidth,e.itemHeight,e.itemStyle.fill,e.symbolKeepAspect);return r.setStyle(e.itemStyle),r.rotation=(e.iconRotate||0)*Math.PI/180,r.setOrigin([e.itemWidth/2,e.itemHeight/2]),t.indexOf("empty")>-1&&(r.style.stroke=r.style.fill,r.style.fill="#fff",r.style.lineWidth=2),r}function uB(e,t,r,n){rI(e,t,r,n),r.dispatchAction({type:"legendToggleSelect",name:e??t}),tI(e,t,r,n)}function EU(e){for(var t=e.getZr().storage.getDisplayList(),r,n=0,i=t.length;ni[o],E=[-_.x,-_.y];n||(E[a]=m[d]);var M=[0,0],L=[-S.x,-S.y],R=wr(r.get("pageButtonGap",!0),r.get("itemGap",!0));if(I){var $=r.get("pageButtonPosition",!0);$==="end"?L[a]+=i[o]-S[o]:M[a]+=S[o]+R}L[1-a]+=_[s]/2-S[s]/2,m.setPosition(E),v.setPosition(M),y.setPosition(L);var G={x:0,y:0};if(G[o]=I?i[o]:_[o],G[s]=Math.max(_[s],S[s]),G[c]=Math.min(0,S[c]+L[1-a]),v.__rectSize=i[o],I){var j={x:0,y:0};j[o]=Math.max(i[o]-S[o]-R,0),j[s]=G[s],v.setClipPath(new Zn({shape:j})),v.__rectSize=j[o]}else y.eachChild(function(Z){Z.attr({invisible:!0,silent:!0})});var H=this._getPageInfo(r);return H.pageIndex!=null&&el(m,{x:H.contentPosition[0],y:H.contentPosition[1]},I?r:null),this._updatePageInfoView(r,H),G},t.prototype._pageGo=function(r,n,i){var a=this._getPageInfo(n)[r];a!=null&&i.dispatchAction({type:"legendScroll",scrollDataIndex:a,legendId:n.id})},t.prototype._updatePageInfoView=function(r,n){var i=this._controllerGroup;Te(["pagePrev","pageNext"],function(m){var v=m+"DataIndex",y=n[v]!=null,_=i.childOfName(m);_&&(_.setStyle("fill",y?r.get("pageIconColor",!0):r.get("pageIconInactiveColor",!0)),_.cursor=y?"pointer":"default")});var a=i.childOfName("pageText"),o=r.get("pageFormatter"),s=n.pageIndex,c=s!=null?s+1:0,d=n.pageCount;a&&o&&a.setStyle("text",Wt(o)?o.replace("{current}",c==null?"":c+"").replace("{total}",d==null?"":d+""):o({current:c,total:d}))},t.prototype._getPageInfo=function(r){var n=r.get("scrollDataIndex",!0),i=this.getContentGroup(),a=this._containerGroup.__rectSize,o=r.getOrient().index,s=xC[o],c=wC[o],d=this._findTargetItemIndex(n),m=i.children(),v=m[d],y=m.length,_=y?1:0,S={contentPosition:[i.x,i.y],pageCount:_,pageIndex:_-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!v)return S;var I=$(v);S.contentPosition[o]=-I.s;for(var E=d+1,M=I,L=I,R=null;E<=y;++E)R=$(m[E]),(!R&&L.e>M.s+a||R&&!G(R,M.s))&&(L.i>M.i?M=L:M=R,M&&(S.pageNextDataIndex==null&&(S.pageNextDataIndex=M.i),++S.pageCount)),L=R;for(var E=d-1,M=I,L=I,R=null;E>=-1;--E)R=$(m[E]),(!R||!G(L,R.s))&&M.i=H&&j.s<=H+a}},t.prototype._findTargetItemIndex=function(r){if(!this._showController)return 0;var n,i=this.getContentGroup(),a;return i.eachChild(function(o,s){var c=o.__legendDataIndex;a==null&&c!=null&&(a=s),c===r&&(n=s)}),n??a},t.type="legend.scroll",t}(IU);function CPe(e){e.registerAction("legendScroll","legendscroll",function(t,r){var n=t.scrollDataIndex;n!=null&&r.eachComponent({mainType:"legend",subType:"scroll",query:t},function(i){i.setScrollDataIndex(n)})})}function PPe(e){$o(MU),e.registerComponentModel(SPe),e.registerComponentView(TPe),CPe(e)}function APe(e){$o(MU),$o(PPe)}var IPe=function(e){mt(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.type="dataZoom.inside",t.defaultOption=fM(vx.defaultOption,{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),t}(vx),tD=Kn();function EPe(e,t,r){tD(e).coordSysRecordMap.each(function(n){var i=n.dataZoomInfoMap.get(t.uid);i&&(i.getRange=r)})}function MPe(e,t){for(var r=tD(e).coordSysRecordMap,n=r.keys(),i=0;in[r+t]&&(t=s),i=i&&o.get("preventDefaultMouseMove",!0)}),{controlType:t,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!i}}}function OPe(e){e.registerProcessor(e.PRIORITY.PROCESSOR.FILTER,function(t,r){var n=tD(r),i=n.coordSysRecordMap||(n.coordSysRecordMap=dr());i.each(function(a){a.dataZoomInfoMap=null}),t.eachComponent({mainType:"dataZoom",subType:"inside"},function(a){var o=yU(a);Te(o.infoList,function(s){var c=s.model.uid,d=i.get(c)||i.set(c,DPe(r,s.model)),m=d.dataZoomInfoMap||(d.dataZoomInfoMap=dr());m.set(a.uid,{dzReferCoordSysInfo:s,model:a,getRange:null})})}),i.each(function(a){var o=a.controller,s,c=a.dataZoomInfoMap;if(c){var d=c.keys()[0];d!=null&&(s=c.get(d))}if(!s){DU(i,a);return}var m=RPe(c);o.enable(m.controlType,m.opt),o.setPointerChecker(a.containsPoint),Iw(a,"dispatchAction",s.model.get("throttle",!0),"fixRate")})})}var zPe=function(e){mt(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type="dataZoom.inside",r}return t.prototype.render=function(r,n,i){if(e.prototype.render.apply(this,arguments),r.noTarget()){this._clear();return}this.range=r.getPercentRange(),EPe(i,r,{pan:_r(SC.pan,this),zoom:_r(SC.zoom,this),scrollMove:_r(SC.scrollMove,this)})},t.prototype.dispose=function(){this._clear(),e.prototype.dispose.apply(this,arguments)},t.prototype._clear=function(){MPe(this.api,this.dataZoomModel),this.range=null},t.type="dataZoom.inside",t}(_U),SC={zoom:function(e,t,r,n){var i=this.range,a=i.slice(),o=e.axisModels[0];if(o){var s=TC[t](null,[n.originX,n.originY],o,r,e),c=(s.signal>0?s.pixelStart+s.pixelLength-s.pixel:s.pixel-s.pixelStart)/s.pixelLength*(a[1]-a[0])+a[0],d=Math.max(1/n.scale,0);a[0]=(a[0]-c)*d+c,a[1]=(a[1]-c)*d+c;var m=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();if(Ow(0,a,[0,100],0,m.minSpan,m.maxSpan),this.range=a,i[0]!==a[0]||i[1]!==a[1])return a}},pan:fB(function(e,t,r,n,i,a){var o=TC[n]([a.oldX,a.oldY],[a.newX,a.newY],t,i,r);return o.signal*(e[1]-e[0])*o.pixel/o.pixelLength}),scrollMove:fB(function(e,t,r,n,i,a){var o=TC[n]([0,0],[a.scrollDelta,a.scrollDelta],t,i,r);return o.signal*(e[1]-e[0])*a.scrollDelta})};function fB(e){return function(t,r,n,i){var a=this.range,o=a.slice(),s=t.axisModels[0];if(s){var c=e(o,s,t,r,n,i);if(Ow(c,o,[0,100],"all"),this.range=o,a[0]!==o[0]||a[1]!==o[1])return o}}}var TC={grid:function(e,t,r,n,i){var a=r.axis,o={},s=i.model.coordinateSystem.getRect();return e=e||[0,0],a.dim==="x"?(o.pixel=t[0]-e[0],o.pixelLength=s.width,o.pixelStart=s.x,o.signal=a.inverse?1:-1):(o.pixel=t[1]-e[1],o.pixelLength=s.height,o.pixelStart=s.y,o.signal=a.inverse?-1:1),o},polar:function(e,t,r,n,i){var a=r.axis,o={},s=i.model.coordinateSystem,c=s.getRadiusAxis().getExtent(),d=s.getAngleAxis().getExtent();return e=e?s.pointToCoord(e):[0,0],t=s.pointToCoord(t),r.mainType==="radiusAxis"?(o.pixel=t[0]-e[0],o.pixelLength=c[1]-c[0],o.pixelStart=c[0],o.signal=a.inverse?1:-1):(o.pixel=t[1]-e[1],o.pixelLength=d[1]-d[0],o.pixelStart=d[0],o.signal=a.inverse?-1:1),o},singleAxis:function(e,t,r,n,i){var a=r.axis,o=i.model.coordinateSystem.getRect(),s={};return e=e||[0,0],a.orient==="horizontal"?(s.pixel=t[0]-e[0],s.pixelLength=o.width,s.pixelStart=o.x,s.signal=a.inverse?1:-1):(s.pixel=t[1]-e[1],s.pixelLength=o.height,s.pixelStart=o.y,s.signal=a.inverse?-1:1),s}};function BPe(e){bU(e),e.registerComponentModel(IPe),e.registerComponentView(zPe),OPe(e)}var FPe=function(e){mt(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.type="dataZoom.slider",t.layoutMode="box",t.defaultOption=fM(vx.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"}}}),t}(vx),Yv=Zn,dB=7,$Pe=1,CC=30,NPe=7,Jv="horizontal",pB="vertical",VPe=5,jPe=["line","bar","candlestick","scatter"],HPe={easing:"cubicOut",duration:100,delay:0},UPe=function(e){mt(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r._displayables={},r}return t.prototype.init=function(r,n){this.api=n,this._onBrush=_r(this._onBrush,this),this._onBrushEnd=_r(this._onBrushEnd,this)},t.prototype.render=function(r,n,i,a){if(e.prototype.render.apply(this,arguments),Iw(this,"_dispatchZoomAction",r.get("throttle"),"fixRate"),this._orient=r.getOrient(),r.get("show")===!1){this.group.removeAll();return}if(r.noTarget()){this._clear(),this.group.removeAll();return}(!a||a.type!=="dataZoom"||a.from!==this.uid)&&this._buildView(),this._updateView()},t.prototype.dispose=function(){this._clear(),e.prototype.dispose.apply(this,arguments)},t.prototype._clear=function(){sx(this,"_dispatchZoomAction");var r=this.api.getZr();r.off("mousemove",this._onBrush),r.off("mouseup",this._onBrushEnd)},t.prototype._buildView=function(){var r=this.group;r.removeAll(),this._brushing=!1,this._displayables.brushRect=null,this._resetLocation(),this._resetInterval();var n=this._displayables.sliderGroup=new $n;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),r.add(n),this._positionGroup()},t.prototype._resetLocation=function(){var r=this.dataZoomModel,n=this.api,i=r.get("brushSelect"),a=i?NPe:0,o=this._findCoordRect(),s={width:n.getWidth(),height:n.getHeight()},c=this._orient===Jv?{right:s.width-o.x-o.width,top:s.height-CC-dB-a,width:o.width,height:CC}:{right:dB,top:o.y,width:CC,height:o.height},d=Qy(r.option);Te(["right","top","width","height"],function(v){d[v]==="ph"&&(d[v]=c[v])});var m=kp(d,s);this._location={x:m.x,y:m.y},this._size=[m.width,m.height],this._orient===pB&&this._size.reverse()},t.prototype._positionGroup=function(){var r=this.group,n=this._location,i=this._orient,a=this.dataZoomModel.getFirstTargetAxisModel(),o=a&&a.get("inverse"),s=this._displayables.sliderGroup,c=(this._dataShadowInfo||{}).otherAxisInverse;s.attr(i===Jv&&!o?{scaleY:c?1:-1,scaleX:1}:i===Jv&&o?{scaleY:c?1:-1,scaleX:-1}:i===pB&&!o?{scaleY:c?-1:1,scaleX:1,rotation:Math.PI/2}:{scaleY:c?-1:1,scaleX:-1,rotation:Math.PI/2});var d=r.getBoundingRect([s]);r.x=n.x-d.x,r.y=n.y-d.y,r.markRedraw()},t.prototype._getViewExtent=function(){return[0,this._size[0]]},t.prototype._renderBackground=function(){var r=this.dataZoomModel,n=this._size,i=this._displayables.sliderGroup,a=r.get("brushSelect");i.add(new Yv({silent:!0,shape:{x:0,y:0,width:n[0],height:n[1]},style:{fill:r.get("backgroundColor")},z2:-40}));var o=new Yv({shape:{x:0,y:0,width:n[0],height:n[1]},style:{fill:"transparent"},z2:0,onclick:_r(this._onClickPanel,this)}),s=this.api.getZr();a?(o.on("mousedown",this._onBrushStart,this),o.cursor="crosshair",s.on("mousemove",this._onBrush),s.on("mouseup",this._onBrushEnd)):(s.off("mousemove",this._onBrush),s.off("mouseup",this._onBrushEnd)),i.add(o)},t.prototype._renderDataShadow=function(){var r=this._dataShadowInfo=this._prepareDataShadowInfo();if(this._displayables.dataShadowSegs=[],!r)return;var n=this._size,i=this._shadowSize||[],a=r.series,o=a.getRawData(),s=a.getShadowDim&&a.getShadowDim(),c=s&&o.getDimensionInfo(s)?a.getShadowDim():r.otherDim;if(c==null)return;var d=this._shadowPolygonPts,m=this._shadowPolylinePts;if(o!==this._shadowData||c!==this._shadowDim||n[0]!==i[0]||n[1]!==i[1]){var v=o.getDataExtent(c),y=(v[1]-v[0])*.3;v=[v[0]-y,v[1]+y];var _=[0,n[1]],S=[0,n[0]],I=[[n[0],0],[0,0]],E=[],M=S[1]/(o.count()-1),L=0,R=Math.round(o.count()/n[0]),$;o.each([c],function(Q,ee){if(R>0&&ee%R){L+=M;return}var ne=Q==null||isNaN(Q)||Q==="",ie=ne?0:Qi(Q,v,_,!0);ne&&!$&&ee?(I.push([I[I.length-1][0],0]),E.push([E[E.length-1][0],0])):!ne&&$&&(I.push([L,0]),E.push([L,0])),I.push([L,ie]),E.push([L,ie]),L+=M,$=ne}),d=this._shadowPolygonPts=I,m=this._shadowPolylinePts=E}this._shadowData=o,this._shadowDim=c,this._shadowSize=[n[0],n[1]];var G=this.dataZoomModel;function j(Q){var ee=G.getModel(Q?"selectedDataBackground":"dataBackground"),ne=new $n,ie=new dw({shape:{points:d},segmentIgnoreThreshold:1,style:ee.getModel("areaStyle").getAreaStyle(),silent:!0,z2:-20}),ce=new Yy({shape:{points:m},segmentIgnoreThreshold:1,style:ee.getModel("lineStyle").getLineStyle(),silent:!0,z2:-19});return ne.add(ie),ne.add(ce),ne}for(var H=0;H<3;H++){var Z=j(H===1);this._displayables.sliderGroup.add(Z),this._displayables.dataShadowSegs.push(Z)}},t.prototype._prepareDataShadowInfo=function(){var r=this.dataZoomModel,n=r.get("showDataShadow");if(n!==!1){var i,a=this.ecModel;return r.eachTargetAxis(function(o,s){var c=r.getAxisProxy(o,s).getTargetSeriesModels();Te(c,function(d){if(!i&&!(n!==!0&&Zr(jPe,d.get("type"))<0)){var m=a.getComponent(Xu(o),s).axis,v=GPe(o),y,_=d.coordinateSystem;v!=null&&_.getOtherAxis&&(y=_.getOtherAxis(m).inverse),v=d.getData().mapDimension(v),i={thisAxis:m,series:d,thisDim:o,otherDim:v,otherAxisInverse:y}}},this)},this),i}},t.prototype._renderHandle=function(){var r=this.group,n=this._displayables,i=n.handles=[null,null],a=n.handleLabels=[null,null],o=this._displayables.sliderGroup,s=this._size,c=this.dataZoomModel,d=this.api,m=c.get("borderRadius")||0,v=c.get("brushSelect"),y=n.filler=new Yv({silent:v,style:{fill:c.get("fillerColor")},textConfig:{position:"inside"}});o.add(y),o.add(new Yv({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:s[0],height:s[1],r:m},style:{stroke:c.get("dataBackgroundColor")||c.get("borderColor"),lineWidth:$Pe,fill:"rgba(0,0,0,0)"}})),Te([0,1],function(R){var $=c.get("handleIcon");!ux[$]&&$.indexOf("path://")<0&&$.indexOf("image://")<0&&($="path://"+$);var G=ds($,-1,0,2,2,null,!0);G.attr({cursor:mB(this._orient),draggable:!0,drift:_r(this._onDragMove,this,R),ondragend:_r(this._onDragEnd,this),onmouseover:_r(this._showDataInfo,this,!0),onmouseout:_r(this._showDataInfo,this,!1),z2:5});var j=G.getBoundingRect(),H=c.get("handleSize");this._handleHeight=li(H,this._size[1]),this._handleWidth=j.width/j.height*this._handleHeight,G.setStyle(c.getModel("handleStyle").getItemStyle()),G.style.strokeNoScale=!0,G.rectHover=!0,G.ensureState("emphasis").style=c.getModel(["emphasis","handleStyle"]).getItemStyle(),ex(G);var Z=c.get("handleColor");Z!=null&&(G.style.fill=Z),o.add(i[R]=G);var Q=c.getModel("textStyle");r.add(a[R]=new Vi({silent:!0,invisible:!0,style:ql(Q,{x:0,y:0,text:"",verticalAlign:"middle",align:"center",fill:Q.getTextColor(),font:Q.getFont()}),z2:10}))},this);var _=y;if(v){var S=li(c.get("moveHandleSize"),s[1]),I=n.moveHandle=new Zn({style:c.getModel("moveHandleStyle").getItemStyle(),silent:!0,shape:{r:[0,0,2,2],y:s[1]-.5,height:S}}),E=S*.8,M=n.moveHandleIcon=ds(c.get("moveHandleIcon"),-E/2,-E/2,E,E,"#fff",!0);M.silent=!0,M.y=s[1]+S/2-.5,I.ensureState("emphasis").style=c.getModel(["emphasis","moveHandleStyle"]).getItemStyle();var L=Math.min(s[1]/2,Math.max(S,10));_=n.moveZone=new Zn({invisible:!0,shape:{y:s[1]-L,height:S+L}}),_.on("mouseover",function(){d.enterEmphasis(I)}).on("mouseout",function(){d.leaveEmphasis(I)}),o.add(I),o.add(M),o.add(_)}_.attr({draggable:!0,cursor:mB(this._orient),drift:_r(this._onDragMove,this,"all"),ondragstart:_r(this._showDataInfo,this,!0),ondragend:_r(this._onDragEnd,this),onmouseover:_r(this._showDataInfo,this,!0),onmouseout:_r(this._showDataInfo,this,!1)})},t.prototype._resetInterval=function(){var r=this._range=this.dataZoomModel.getPercentRange(),n=this._getViewExtent();this._handleEnds=[Qi(r[0],[0,100],n,!0),Qi(r[1],[0,100],n,!0)]},t.prototype._updateInterval=function(r,n){var i=this.dataZoomModel,a=this._handleEnds,o=this._getViewExtent(),s=i.findRepresentativeAxisProxy().getMinMaxSpan(),c=[0,100];Ow(n,a,o,i.get("zoomLock")?"all":r,s.minSpan!=null?Qi(s.minSpan,c,o,!0):null,s.maxSpan!=null?Qi(s.maxSpan,c,o,!0):null);var d=this._range,m=this._range=ag([Qi(a[0],o,c,!0),Qi(a[1],o,c,!0)]);return!d||d[0]!==m[0]||d[1]!==m[1]},t.prototype._updateView=function(r){var n=this._displayables,i=this._handleEnds,a=ag(i.slice()),o=this._size;Te([0,1],function(_){var S=n.handles[_],I=this._handleHeight;S.attr({scaleX:I/2,scaleY:I/2,x:i[_]+(_?-1:1),y:o[1]/2-I/2})},this),n.filler.setShape({x:a[0],y:0,width:a[1]-a[0],height:o[1]});var s={x:a[0],width:a[1]-a[0]};n.moveHandle&&(n.moveHandle.setShape(s),n.moveZone.setShape(s),n.moveZone.getBoundingRect(),n.moveHandleIcon&&n.moveHandleIcon.attr("x",s.x+s.width/2));for(var c=n.dataShadowSegs,d=[0,a[0],a[1],o[0]],m=0;mn[0]||i[1]<0||i[1]>n[1])){var a=this._handleEnds,o=(a[0]+a[1])/2,s=this._updateInterval("all",i[0]-o);this._updateView(),s&&this._dispatchZoomAction(!1)}},t.prototype._onBrushStart=function(r){var n=r.offsetX,i=r.offsetY;this._brushStart=new bn(n,i),this._brushing=!0,this._brushStartTime=+new Date},t.prototype._onBrushEnd=function(r){if(this._brushing){var n=this._displayables.brushRect;if(this._brushing=!1,!!n){n.attr("ignore",!0);var i=n.shape,a=+new Date;if(!(a-this._brushStartTime<200&&Math.abs(i.width)<5)){var o=this._getViewExtent(),s=[0,100];this._range=ag([Qi(i.x,o,s,!0),Qi(i.x+i.width,o,s,!0)]),this._handleEnds=[i.x,i.x+i.width],this._updateView(),this._dispatchZoomAction(!1)}}}},t.prototype._onBrush=function(r){this._brushing&&(Lp(r.event),this._updateBrushRect(r.offsetX,r.offsetY))},t.prototype._updateBrushRect=function(r,n){var i=this._displayables,a=this.dataZoomModel,o=i.brushRect;o||(o=i.brushRect=new Yv({silent:!0,style:a.getModel("brushStyle").getItemStyle()}),i.sliderGroup.add(o)),o.attr("ignore",!1);var s=this._brushStart,c=this._displayables.sliderGroup,d=c.transformCoordToLocal(r,n),m=c.transformCoordToLocal(s.x,s.y),v=this._size;d[0]=Math.max(Math.min(v[0],d[0]),0),o.setShape({x:m[0],y:0,width:d[0]-m[0],height:v[1]})},t.prototype._dispatchZoomAction=function(r){var n=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,animation:r?HPe:null,start:n[0],end:n[1]})},t.prototype._findCoordRect=function(){var r,n=yU(this.dataZoomModel).infoList;if(!r&&n.length){var i=n[0].model.coordinateSystem;r=i.getRect&&i.getRect()}if(!r){var a=this.api.getWidth(),o=this.api.getHeight();r={x:a*.2,y:o*.2,width:a*.6,height:o*.6}}return r},t.type="dataZoom.slider",t}(_U);function GPe(e){var t={x:"y",y:"x",radius:"angle",angle:"radius"};return t[e]}function mB(e){return e==="vertical"?"ns-resize":"ew-resize"}function WPe(e){e.registerComponentModel(FPe),e.registerComponentView(UPe),bU(e)}function qPe(e){$o(BPe),$o(WPe)}$o([D2e,PU,CU,gPe,gU,UTe,oCe]);const ZPe={name:"BusChartVue",components:{"v-chart":MH},data:()=>({lines:[],stops1:[],stops2:[],historyBusData:[],themeColor:"#212529",themeColor_rev:"#DEE2E6",echartsOption:{tooltip:{show:!1},title:[{subtext:`By bilibili@交通数据小旭学长 +GitHub@ni1o1`,sublink:"https://github.com/ni1o1/nikebus",textAlign:"right",bottom:"2%",left:"98%"}],grid:[{top:"10%",bottom:"0%",left:"26px",right:"14px"}],yAxis:[{inverse:!0,min:-100,max:4500,type:"value",boundaryGap:!1,show:!1,splitLine:{show:!1}}],xAxis:[{position:"top",verticalAlign:"top",axisLine:{show:!1},axisTick:{show:!1},axisLabel:{interval:0},type:"category",data:[`L1号线 +工学院方向 +COE`,`L1号线 +欣园方向 +JHL`,`L2号线 +科研楼方向 +RSB`,`L2号线 +欣园方向 +JHL`],splitLine:{show:!1}}],series:[{type:"scatter",label:{fontSize:8,show:!0,color:"#212529",position:"right",formatter:"{b}"},data:[]},{type:"lines",coordinateSystem:"cartesian2d",data:[]},{type:"scatter",name:"bus",label:{fontSize:11,show:!0,color:"#212529",textBorderColor:"#DEE2E6",textBorderWidth:2.5,fontWeight:"bold",position:"right",distance:-5,formatter:"{b}"},data:[]}],stateAnimation:{duration:500}},timer:{},second:0}),methods:{setEchartsOption(e){this.echartsOption=e},checkTheme(){window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?(this.themeColor="#DEE2E6",this.themeColor_rev="#212529"):(this.themeColor="#212529",this.themeColor_rev="#DEE2E6"),this.updateSeriesColor()},updateSeriesColor(){this.echartsOption.series=this.echartsOption.series.map(e=>(e.label&&(e.label.color=this.themeColor,e.label.textBorderColor=this.themeColor_rev),e))},load_data(){Lr.all([Lr.get("/bus_echart/line1.json"),Lr.get("/bus_echart/line2.json"),Lr.get("/bus_echart/stop1.json"),Lr.get("/bus_echart/stop2.json")]).then(Lr.spread((e,t,r,n)=>{const i=e.data,a=t.data,o=r.data,s=n.data;this.lines=[i,a],this.stops1=o,this.stops2=s;const c=o.features.map(_=>({value:[1,Fs(i.features[0],_).properties.location*1e3],name:_.properties.name,symbolSize:8,itemStyle:{color:"#ff881b",opacity:1}})),d=o.features.map(_=>({value:[0,$s(i.features[0])*1e3-Fs(i.features[0],_).properties.location*1e3],name:_.properties.name,symbolSize:8,itemStyle:{color:"#ff881b",opacity:1}})),m=s.features.map(_=>({value:[3,Fs(a.features[0],_).properties.location*1e3],name:_.properties.name,symbolSize:8,itemStyle:{color:"#379ff4",opacity:1}})),v=s.features.map(_=>({value:[2,$s(a.features[0])*1e3-Fs(a.features[0],_).properties.location*1e3],name:_.properties.name,symbolSize:8,itemStyle:{color:"#379ff4",opacity:1}})),y={series:[{data:[...c,...d,...m,...v]},{data:[{coords:[[0,0],[0,$s(i.features[0])*1e3]],lineStyle:{color:"#ff881b",width:2,opacity:1}},{coords:[[1,0],[1,$s(i.features[0])*1e3]],lineStyle:{color:"#ff881b",width:2,opacity:1}},{coords:[[2,0],[2,$s(a.features[0])*1e3]],lineStyle:{color:"#379ff4",width:2,opacity:1}},{coords:[[3,0],[3,$s(a.features[0])*1e3]],lineStyle:{color:"#379ff4",width:2,opacity:1}}]}]};this.setEchartsOption(y)}))},updateBusPos(){this.lines.length>0&&Lr.get("https://bus.sustcra.com/api/v2/monitor_osm/").then(e=>{const r=e.data.filter(i=>i.is_operating==1).map(i=>{let a=0;i.route_code=="XYBS2"?a=1:i.route_code=="XYBS1"&&(a=0);const o=Pi([i.lng,i.lat]);let s=this.lines[a].features[0],c=Fs(s,o),d=c.properties.location,m=d*1e3;return i.route_dir>0&&(m=$s(s)*1e3-d*1e3),c.properties.dist*1e3>100|m<100?{value:[-1,0],name:"粤B"+i.id.slice(2),itemStyle:{color:"#222",show:!1},symbol:"image://https://bus.sustcra.com/bus-top-view.png",symbolSize:30,symbolRotate:180,speed:i.speed}:{value:[1-i.route_dir+a*2,m],name:"粤B"+i.id.slice(2),itemStyle:{color:"#222"},symbol:"image://https://bus.sustcra.com/bus-top-view.png",symbolSize:30,symbolRotate:180,speed:i.speed}});this.historyBusData=r.filter(i=>typeof i<"u");const n={series:[{},{},{data:r}]};this.setEchartsOption(n)})},refresh(){this.second+=1,this.second%10===0?this.updateBusPos():navigator.geolocation&&navigator.geolocation.getCurrentPosition(e=>{let t=e.coords.latitude,r=e.coords.longitude;const n=Pi([r,t]),i=GP(n,this.stops1),a=Fs(this.lines[0].features[0],i).properties.location*1e3,o=$s(this.lines[0].features[0])*1e3-Fs(this.lines[0].features[0],i).properties.location*1e3,s=GP(n,this.stops2),c=Fs(this.lines[1].features[0],s).properties.location*1e3,d=$s(this.lines[1].features[0])*1e3-Fs(this.lines[1].features[0],s).properties.location*1e3,m=this.historyBusData.filter($=>$.value[0]===0&&$.value[1]<=o).map($=>parseInt((o-$.value[1])/250)),v=this.historyBusData.filter($=>$.value[0]===1&&$.value[1]<=a).map($=>parseInt((a-$.value[1])/250)),y=this.historyBusData.filter($=>$.value[0]===2&&$.value[1]<=d).map($=>parseInt((d-$.value[1])/250)),_=this.historyBusData.filter($=>$.value[0]===3&&$.value[1]<=c).map($=>parseInt((c-$.value[1])/250)),S=m.length>0?` + ~`+Math.min(...m)+"min.":"",I=v.length>0?` + ~`+Math.min(...v)+"min.":"",E=y.length>0?` + ~`+Math.min(...y)+"min.":"",M=_.length>0?` + ~`+Math.min(..._)+"min.":"";let L=[],R=[];L=[{name:"最近"+I,itemStyle:{color:"#ff881b"},coord:[1,a]},{name:"最近"+S,itemStyle:{color:"#ff881b"},coord:[0,o]}],R=[{name:"最近"+M,itemStyle:{color:"#379ff4"},coord:[3,c]},{name:"最近"+E,itemStyle:{color:"#379ff4"},coord:[2,d]}],this.setEchartsOption({series:[{markPoint:{symbol:"arrow",symbolRotate:-90,symbolOffset:["-50%",0],symbolSize:10,label:{fontSize:10,show:!0,color:"#666",position:"left",formatter:"{b}"},data:[...L,...R]}},{},{}]})})}},watch:{lines:"updateBusPos"},created(){this.checkTheme(),window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",this.checkTheme)},mounted(){this.load_data(),this.updateBusPos(),this.timer=setInterval(()=>{this.refresh()},500)},unmounted(){clearInterval(this.timer)}},XPe=e=>(vI("data-v-c197242b"),e=e(),gI(),e),KPe=XPe(()=>It("img",{src:"https://visitor-badge.laobi.icu/badge?page_id=nikebus",alt:"visitor badge",class:"visitor-badge"},null,-1));function YPe(e,t,r,n,i,a){const o=jn("v-chart");return et(),Tt(Er,null,[ke(o,{class:"chart",option:e.echartsOption,autoresize:!0},null,8,["option"]),KPe],64)}const JPe=Ir(ZPe,[["render",YPe],["__scopeId","data-v-c197242b"],["__file","BusChartVue.vue"]]),QPe={name:"RealtimeTraffic",data(){return{baseUrl:"https://susteen.itbill.cn/api/v1/traffic",trafficList:[],formatter:new Intl.DateTimeFormat("zh-CN",{hour12:!1,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"})}},mounted(){this.getTrafficList()},methods:{async getTrafficList(){try{const e=await Lr.get(this.baseUrl+"/canteens");this.trafficList=e.data.data;const t=this.trafficList.map(n=>Lr.get(`${this.baseUrl}/canteens/${n.canteen_id}`)),r=await Promise.all(t);this.trafficList=this.trafficList.map((n,i)=>({...n,booth_traffic:r[i].data.data}))}catch(e){console.error("Error fetching traffic data:",e)}},timeFormat(e){const t=new Date(e);return this.formatter.format(t)}}},eAe={class:"container mt-3"},tAe={class:"card-header"},rAe={class:"card-title"},nAe={class:"card-subtitle"},iAe={class:"card-subtitle"},aAe={class:"list-group"};function oAe(e,t,r,n,i,a){return et(),An(rl,{name:"fade",mode:"out-in",appear:""},{default:jr(()=>[It("div",eAe,[(et(!0),Tt(Er,null,xa(i.trafficList,o=>(et(),Tt("div",{class:"card mb-3",key:o.canteen_id},[It("div",tAe,[It("h5",rAe,mr(o.canteen_name)+" "+mr(o.canteen_en_name),1),It("p",nAe,"平均人数 Avg Number: "+mr(o.avg_number.toFixed(2)),1),It("p",iAe,"更新时间 Last Updated: "+mr(a.timeFormat(o.time)),1)]),It("ul",aAe,[(et(!0),Tt(Er,null,xa(o.booth_traffic,s=>(et(),Tt("li",{class:"list-group-item",key:s.booth_id},[It("strong",null,mr(s.booth_name)+" "+mr(s.booth_en_name),1),Js(" - 排队人数约: "+mr(s.avg_number)+" 人 ",1)]))),128))])]))),128))])]),_:1})}const sAe=Ir(QPe,[["render",oAe],["__scopeId","data-v-dd3dd0a4"],["__file","RealtimeTraffic.vue"]]);$o([z2e,sTe,gU,CU,PU,APe,qPe]);const lAe={name:"TrendChart",components:{"a-config-provider":Zh,"data-request":X8,"object-selector":Z8,"v-chart":MH},data(){return{}},setup(){},methods:{getUrl(e,t){const r=new Date,n=r.getFullYear(),i=String(r.getMonth()+1).padStart(2,"0"),a=String(r.getDate()).padStart(2,"0"),o=`${n}${i}${a}`;return`https://susteen.itbill.cn/api/v1/traffic/booths/${e}?date=${o}&meal=${t}`},getChartData(e,t){if(e)return e=e.data,{title:{text:["早餐 Breakfast","午餐 Lunch","晚餐 Dinner"][t]},xAxis:{type:"category",data:e.map(n=>n.time.slice(11,16))},yAxis:{type:"value",name:"人数 Number"},series:[{data:e.map(n=>n.number),type:"line",lineStyle:{color:"rgb(90,120,200)"}}],dataZoom:[{type:"slider",xAxisIndex:0,start:50,end:100}]}}}},uAe={id:"bustable"},cAe=It("br",null,null,-1);function hAe(e,t,r,n,i,a){const o=jn("v-chart"),s=jn("data-request"),c=jn("object-selector"),d=jn("a-config-provider");return et(),Tt("div",uAe,[ke(d,{theme:{token:{colorPrimary:"#ED6D00"}}},{default:jr(()=>[ke(c,{objs:{"中心餐厅 | Center Cafeteria":!0,"十栋餐厅 | Building 10 No.2 Cafeteria":!1}},{default:jr(m=>[cAe,ke(d,{theme:{token:{colorPrimary:"#49BF7C"}}},{default:jr(()=>[ke(c,{objs:m.selected?{"麻辣烫 | Spicy Hot Pot":11,"大众菜左 | Popular Dishes":12,"大众菜右 | Popular Dishes":13,"风味面食 | Noodles":14,"潮汕卤味套餐 | Chiu Chow-style Brino Meat":15,"铁锅拌饭 | Rice with Mixed Vegetables":16}:{"大众菜左 | Popular Dishes":21,"大众菜右 | Popular Dishes":22}},{default:jr(v=>[(et(),Tt(Er,null,xa([0,1,2],y=>It("div",{key:y},[ke(s,{path:a.getUrl(v.selected,y)},{default:jr(({data:_})=>[ke(o,{class:"echarts",option:a.getChartData(_,y)},null,8,["option"])]),_:2},1032,["path"])])),64))]),_:2},1032,["objs"])]),_:2},1024)]),_:1})]),_:1})])}const fAe=Ir(lAe,[["render",hAe],["__file","TrendChart.vue"]]),dAe={name:"Menu",setup(){const e=Qt([]),t=()=>{const r=new Date,n=r.getFullYear(),i=String(r.getMonth()+1).padStart(2,"0"),a=String(r.getDate()).padStart(2,"0");Lr.get(`https://susteen.itbill.cn/api/v1/menu/${n}/${i}/${a}`).then(o=>{e.value=o.data.data}).catch(o=>console.log("Error in Menu: "+o))};return Tn(()=>{t()}),{dailyMenus:e}}},pAe=["src","alt"];function mAe(e,t,r,n,i,a){return et(!0),Tt(Er,null,xa(n.dailyMenus,o=>(et(),Tt("div",{key:o.canteen_id},[It("img",{class:"menu-img",src:o.url,alt:o.canteen_id,sizes:"width=200px"},null,8,pAe)]))),128)}const vAe=Ir(dAe,[["render",mAe],["__scopeId","data-v-d435a83a"],["__file","Menu.vue"]]),gAe={name:"Canteen",components:{ASegmented:q8,RealtimeTraffic:sAe,TrendChart:fAe,Menu:vAe},data(){return{}},setup(){const e=Qt("realtime-queue-length"),t=Qt("realtime-queue-length"),r=Qt([{value:"realtime-queue-length",payload:{title:"实时排队人数",subTitle:"Queue Length"}},{value:"queue-trend-chart",payload:{title:"排队趋势图",subTitle:"Queue Trend"}},{value:"daily-menus",payload:{title:"今日菜谱",subTitle:"Daily Menus"}}]);return{initSelect:e,currentSelect:t,tabOptions:r,switchTab:i=>{t.value=i}}}},yAe={style:{padding:"4px 0px"}},_Ae={class:"tab-container"},bAe={key:0},xAe={key:1},wAe={key:2};function SAe(e,t,r,n,i,a){const o=jn("a-segmented"),s=jn("RealtimeTraffic"),c=jn("TrendChart"),d=jn("Menu");return et(),Tt("div",null,[ke(o,{value:n.initSelect,"onUpdate:value":t[0]||(t[0]=m=>n.initSelect=m),options:n.tabOptions,onChange:n.switchTab},{label:jr(({payload:m})=>[It("div",yAe,[It("div",null,mr(m.title),1),It("div",null,mr(m.subTitle),1)])]),_:1},8,["value","options","onChange"]),It("div",_Ae,[n.currentSelect==="realtime-queue-length"?(et(),Tt("div",bAe,[ke(s)])):Xr("",!0),n.currentSelect==="queue-trend-chart"?(et(),Tt("div",xAe,[ke(c)])):Xr("",!0),n.currentSelect==="daily-menus"?(et(),Tt("div",wAe,[ke(d)])):Xr("",!0)])])}const TAe=Ir(gAe,[["render",SAe],["__file","Canteen.vue"]]),CAe={name:"adsense-inline",mounted(){this.adsenseAddLoad()},methods:{adsenseAddLoad(){let e=document.createElement("script");e.type="text/javascript",e.text="(adsbygoogle = window.adsbygoogle || []).push({});",document.getElementsByTagName("body")[0].appendChild(e)}}},PAe={class:"container"},AAe=It("ins",{class:"adsbygoogle",style:{display:"block"},"data-ad-client":"ca-pub-9039393129169217","data-ad-slot":"6679712662","data-ad-format":"auto","data-full-width-responsive":"true"},null,-1),IAe=[AAe];function EAe(e,t,r,n,i,a){return et(),Tt("div",PAe,IAe)}const MAe=Ir(CAe,[["render",EAe],["__file","adsense-inline.vue"]]),DAe={name:"adsense-displayad",mounted(){this.adsenseAddLoad()},methods:{adsenseAddLoad(){let e=document.createElement("script");e.type="text/javascript",e.text="(adsbygoogle = window.adsbygoogle || []).push({});",document.getElementsByTagName("body")[0].appendChild(e)}}},LAe={class:"container"},kAe=It("ins",{class:"adsbygoogle",style:{display:"block","min-width":"300px","max-width":"970px",width:"100%",height:"103px"},"data-ad-client":"ca-pub-9039393129169217","data-ad-slot":"6679712662"},null,-1),RAe=[kAe];function OAe(e,t,r,n,i,a){return et(),Tt("div",LAe,RAe)}const zAe=Ir(DAe,[["render",OAe],["__file","adsense-displayad.vue"]]),BAe=ms({enhance({app:e}){e.component("BusTable",Mce),e.component("TabView",Fce),e.component("RealtimeMap",Fve),e.component("CampusMap",jve),e.component("WeatherSpan",qve),e.component("AdSenseInline",MAe),e.component("AdSenseDisplayAD",zAe),e.component("BusChartVue",JPe),e.component("Canteen",TAe)}}),FAe=Object.freeze(Object.defineProperty({__proto__:null,default:BAe},Symbol.toStringTag,{value:"Module"})),w1=[fY,wY,EY,MY,HY,XY,KY,rJ,ete,vte,Mte,zte,FAe].map(e=>e.default).filter(Boolean),$Ae=JSON.parse(`{"base":"/","lang":"en-US","title":"","description":"","head":[["link",{"rel":"icon","href":"/logo-assets/touch/homescreen192.png"}],["meta",{"name":"theme-color","content":"#49BF7C"}],["link",{"rel":"manifest","href":"/manifest.webmanifest"}],["meta",{"prefix":"og: http://ogp.me/ns#","property":"og:type","content":"article"}],["meta",{"prefix":"og: http://ogp.me/ns#","property":"og:image","content":"https://mirrors.sustech.edu.cn/git/sustech-online/sustech-online-ng/-/raw/master/docs/assets/og-image.png"}],["meta",{"prefix":"og: http://ogp.me/ns#","property":"og:article:author","content":"sustech.online"}],["meta",{"name":"apple-mobile-web-app-capable","content":"yes"}],["meta",{"name":"apple-mobile-web-app-status-bar-style","content":"black"}],["link",{"rel":"apple-touch-icon","href":"/logo-assets/touch/homescreen168.png"}],["meta",{"name":"msapplication-TileImage","content":"/logo-assets/touch/homescreen144.png"}],["meta",{"name":"msapplication-TileColor","content":"#49BF7C"}],["meta",{"name":"google-site-verification","content":"Av-srANCmFA_yZ8Iasa1yQsIPJCF_zlP5AoD35m6_Ww"}],["script",{"async":true,"src":"https://googletagmanager.com/gtag/js?id=G-1BQBXDGY3R"}],["script",{},"\\n window.dataLayer = window.dataLayer || [];\\n function gtag(){dataLayer.push(arguments);}\\n gtag('js', new Date());\\n gtag('config', 'G-1BQBXDGY3R');\\n "],["script",{"src":"/wx_helper.js"}],["script",{"src":"https://res.wx.qq.com/open/js/jweixin-1.6.0.js"}],["script",{"src":"https://mirrors.sustech.edu.cn/cdnjs/ajax/libs/jquery/3.6.0/jquery.min.js"}],["script",{"src":"https://mirrors.sustech.edu.cn/cdnjs/ajax/libs/fancybox/3.5.7/jquery.fancybox.min.js"}],["link",{"rel":"stylesheet","type":"text/css","href":"https://mirrors.sustech.edu.cn/cdnjs/ajax/libs/fancybox/3.5.7/jquery.fancybox.min.css"}],["script",{"src":"https://mirrors.sustech.edu.cn/cdnjs/ajax/libs/datatables/1.10.21/js/jquery.dataTables.min.js"}],["link",{"rel":"stylesheet","type":"text/css","href":"https://mirrors.sustech.edu.cn/cdnjs/ajax/libs/datatables/1.10.21/css/jquery.dataTables.min.css"}]],"locales":{"/":{"title":"南科手册","lang":"zh-CN","description":"Online manual for sustecher"}}}`);var hg=on($Ae),NAe=tK,VAe=()=>{const e=PK({history:NAe(zF("/")),routes:[{name:"vuepress-route",path:"/:catchAll(.*)",components:{}}],scrollBehavior:(t,r,n)=>n||(t.hash?{el:t.hash}:{top:0})});return e.beforeResolve(async(t,r)=>{if(t.path!==r.path||r===Rl){const n=Xg(t.fullPath);if(n.path!==t.fullPath)return n.path;const i=await n.loader();t.meta={...n.meta,_pageChunk:i}}else t.path===r.path&&(t.meta=r.meta)}),e},jAe=e=>{e.component("ClientOnly",MI),e.component("Content",DI),e.component("RouteLink",zy)},HAe=(e,t,r)=>{const n=Le(()=>t.currentRoute.value.path),i=pq((E,M)=>({get(){return E(),t.currentRoute.value.meta._pageChunk},set(L){t.currentRoute.value.meta._pageChunk=L,M()}})),a=Le(()=>Jc.resolveLayouts(r)),o=Le(()=>Jc.resolveRouteLocale(hg.value.locales,n.value)),s=Le(()=>Jc.resolveSiteLocaleData(hg.value,o.value)),c=Le(()=>i.value.comp),d=Le(()=>i.value.data),m=Le(()=>d.value.frontmatter),v=Le(()=>Jc.resolvePageHeadTitle(d.value,s.value)),y=Le(()=>Jc.resolvePageHead(v.value,m.value,s.value)),_=Le(()=>Jc.resolvePageLang(d.value,s.value)),S=Le(()=>Jc.resolvePageLayout(d.value,a.value)),I={layouts:a,pageData:d,pageComponent:c,pageFrontmatter:m,pageHead:y,pageHeadTitle:v,pageLang:_,pageLayout:S,redirects:$C,routeLocale:o,routePath:n,routes:ep,siteData:hg,siteLocaleData:s};return e.provide(II,I),Object.defineProperties(e.config.globalProperties,{$frontmatter:{get:()=>m.value},$head:{get:()=>y.value},$headTitle:{get:()=>v.value},$lang:{get:()=>_.value},$page:{get:()=>d.value},$routeLocale:{get:()=>o.value},$site:{get:()=>hg.value},$siteLocale:{get:()=>s.value},$withBase:{get:()=>Lx}}),I},UAe=()=>{const e=EK(),t=XF();let r=[];const n=()=>{e.value.forEach(o=>{const s=GAe(o);s&&r.push(s)})},i=()=>{const o=[];return e.value.forEach(s=>{const c=WAe(s);c&&o.push(c)}),o},a=()=>{document.documentElement.lang=t.value;const o=i();r.forEach((s,c)=>{const d=o.findIndex(m=>s.isEqualNode(m));d===-1?(s.remove(),delete r[c]):o.splice(d,1)}),o.forEach(s=>document.head.appendChild(s)),r=[...r.filter(s=>!!s),...o]};Fi(LK,a),Tn(()=>{n(),$r(e,a,{immediate:!1})})},GAe=([e,t,r=""])=>{const n=Object.entries(t).map(([s,c])=>os(c)?`[${s}=${JSON.stringify(c)}]`:c===!0?`[${s}]`:"").join(""),i=`head > ${e}${n}`;return Array.from(document.querySelectorAll(i)).find(s=>s.innerText===r)||null},WAe=([e,t,r])=>{if(!os(e))return null;const n=document.createElement(e);return CI(t)&&Object.entries(t).forEach(([i,a])=>{os(a)?n.setAttribute(i,a):a===!0&&n.setAttribute(i,"")}),os(r)&&n.appendChild(document.createTextNode(r)),n},qAe=oX,ZAe=async()=>{var r;const e=qAe({name:"Vuepress",setup(){var a;UAe();for(const o of w1)(a=o.setup)==null||a.call(o);const n=w1.flatMap(({rootComponents:o=[]})=>o.map(s=>xr(s))),i=MK();return()=>[xr(i.value),n]}}),t=VAe();jAe(e),HAe(e,t,w1);for(const n of w1)await((r=n.enhance)==null?void 0:r.call(n,{app:e,router:t,siteData:hg}));return e.use(t),{app:e,router:t}};ZAe().then(({app:e,router:t})=>{t.isReady().then(()=>{e.mount("#app")})});export{Ir as _,ke as a,It as b,Tt as c,ZAe as createVueApp,Js as d,yZ as e,et as o,jn as r,jr as w}; diff --git a/assets/apply-Mqz1rxRF.png b/assets/apply-Mqz1rxRF.png new file mode 100644 index 000000000..003fa2321 Binary files /dev/null and b/assets/apply-Mqz1rxRF.png differ diff --git a/assets/bb-due-gcal-DccOKgd1.png b/assets/bb-due-gcal-DccOKgd1.png new file mode 100644 index 000000000..8b1298b7d Binary files /dev/null and b/assets/bb-due-gcal-DccOKgd1.png differ diff --git a/assets/bb-due-macos-BQd1bwvP.png b/assets/bb-due-macos-BQd1bwvP.png new file mode 100644 index 000000000..52d1987b9 Binary files /dev/null and b/assets/bb-due-macos-BQd1bwvP.png differ diff --git a/assets/building-11-elevator.html-D_4lhWz7.js b/assets/building-11-elevator.html-D_4lhWz7.js new file mode 100644 index 000000000..4662e439f --- /dev/null +++ b/assets/building-11-elevator.html-D_4lhWz7.js @@ -0,0 +1 @@ +import{_ as e,o as a,c as s,e as i}from"./app-CAXKJsZK.js";const l="/assets/DSC_4009-CVrohAjq.jpg",n="/assets/ezgif-1-4b6eb0f482-BVt8zFf5.gif",t="/assets/DSC_4011-DMNposez.jpg",h="/assets/ezgif-4-ff801845c5-Bnwc69Bj.gif",p="/assets/ezgif-4-9deed49e58-CHHBtRy5.gif",r={},c=i('

如何“破解”11栋电梯

by 曹正阳

事先声明

安全

电梯是特种设备,和人身安全直接相关,请严肃的使用电梯。本文目的是为了给大家丰富眼界,不鼓励效仿,你的安全需要你自己负责。

背景介绍

本文主要写给11栋土著,但以防你没有11栋住宿经验,简单介绍一下11栋的电梯。

11栋共有四部电梯,除消防电梯外,其余三部因为人太多,限制了每部电梯的具体到达楼层。

比如2号电梯可以到达1~2楼,11~14楼。

比如2号电梯可以到达1~2楼,11~14楼。

长久以来,三部电梯只能使用一部。即使当所有电梯都空闲,你也只能选择对应的一部,不免有些难受。

“破解”流程

使用其他电梯去到目标楼层

前提条件

**除了你,没有其他人在使用电梯。**一般这种情况会发生在深夜和假期人少的时候。

原理

开始长按某个楼层键的一瞬间,意味着取消去往这个楼层。当电梯只有一个目的地,即面板上只有一个楼层的按键亮着,长按这个个亮着的按键不到两秒,电梯会在当前运行位置停下来,松手按键变暗。再按开门键,你就可以到达运行停止位置的楼层。

图仅仅在演示长按可以取消,此时电梯还是会前往1楼。

图仅仅在演示长按可以取消,此时电梯还是会前往1楼。

具体操作

假设你是一位11楼的住户,刚踢完球大汗淋漓。和你一同等待电梯的,只有一位刚结束学习的13楼住户,你不想给这位13楼住户留下不好的印象,于是你进入了最右边的3号电梯。

DSC_4011.JPG

你按下了15楼的按钮,但你不是真的要去15楼。

ezgif-4-ff801845c5.gif

在电梯数字快要跳到11楼时,你开始长按15楼按键,电梯失去了目标,停在了11楼。松开按着15楼的手,面板上15楼按键熄灭。

ezgif-4-9deed49e58.gif

于是你潇洒地按下开门键,你来到了11楼,看着2号电梯屏幕上残留的13,你满意地离开。

从2楼下到1楼

前提条件

首先电梯不能从2楼下行到1楼(截止2022年8月,11栋2楼因为怕人多从2楼蹭电梯,所以不能下行)

然后**除了你,没有其他人在使用电梯。**一般这种情况会发生在深夜和假期人少的时候。

具体操作

先按下2楼某一部电梯的上行键,待电梯开门后,按下1楼的按键,电梯会迟疑一会然后下行。

总结

使用其他电梯去到目标楼层

不管用不用,增加了一种上行方式,能够有得选总是好的。

中、低楼层的同学除特定电梯、楼梯外,还多出另外一部或两部电梯的特定使用权。而15~17楼的高楼层同学较为可怜,没有操作的余地。

从2楼下到1楼

增加了一种下行方式,能够有得选总是好的。

',39),d=[c];function o(f,g){return a(),s("div",null,d)}const m=e(r,[["render",o],["__file","building-11-elevator.html.vue"]]),b=JSON.parse('{"path":"/facility/building-11-elevator.html","title":"如何“破解”11栋电梯","lang":"zh-CN","frontmatter":{},"headers":[{"level":2,"title":"安全","slug":"安全","link":"#安全","children":[]},{"level":2,"title":"背景介绍","slug":"背景介绍","link":"#背景介绍","children":[]},{"level":2,"title":"使用其他电梯去到目标楼层","slug":"使用其他电梯去到目标楼层","link":"#使用其他电梯去到目标楼层","children":[]},{"level":2,"title":"前提条件","slug":"前提条件","link":"#前提条件","children":[{"level":3,"title":"原理","slug":"原理","link":"#原理","children":[]},{"level":3,"title":"具体操作","slug":"具体操作","link":"#具体操作","children":[]}]},{"level":2,"title":"从2楼下到1楼","slug":"从2楼下到1楼","link":"#从2楼下到1楼","children":[{"level":3,"title":"前提条件","slug":"前提条件-1","link":"#前提条件-1","children":[]},{"level":3,"title":"具体操作","slug":"具体操作-1","link":"#具体操作-1","children":[]},{"level":3,"title":"使用其他电梯去到目标楼层","slug":"使用其他电梯去到目标楼层-1","link":"#使用其他电梯去到目标楼层-1","children":[]},{"level":3,"title":"从2楼下到1楼","slug":"从2楼下到1楼-1","link":"#从2楼下到1楼-1","children":[]}]}],"git":{"updatedTime":1660914355000,"contributors":[{"name":"liziwl","email":"leezisy@gmail.com","commits":1}]},"filePathRelative":"facility/building-11-elevator.md"}');export{m as comp,b as data}; diff --git a/assets/busline2-T2yEECUm.png b/assets/busline2-T2yEECUm.png new file mode 100644 index 000000000..d4b47dbf9 Binary files /dev/null and b/assets/busline2-T2yEECUm.png differ diff --git a/assets/busline2-a5ykBpx8.js b/assets/busline2-a5ykBpx8.js new file mode 100644 index 000000000..c90577424 --- /dev/null +++ b/assets/busline2-a5ykBpx8.js @@ -0,0 +1 @@ +const s="/assets/busline2-T2yEECUm.png";export{s as _}; diff --git a/assets/bustimer-old.html-CIk1RF6S.js b/assets/bustimer-old.html-CIk1RF6S.js new file mode 100644 index 000000000..5a56c5271 --- /dev/null +++ b/assets/bustimer-old.html-CIk1RF6S.js @@ -0,0 +1 @@ +import{_ as r}from"./busline2-a5ykBpx8.js";import{_ as c,r as t,o as m,c as u,a as e,w as l,e as h,b as a}from"./app-CAXKJsZK.js";const p={},d=h('

🚌校园巴士时刻表 SUSTech Campus Bus Info

路线图 System Map

车辆位置 Bus Realtime Loaction

位置每5秒自动刷新。Location refreshes automatically every 5 seconds

',5),_=a("h2",{id:"时间表-timetable",tabindex:"-1"},[a("a",{class:"header-anchor",href:"#时间表-timetable"},[a("span",null,"时间表 Timetable")])],-1);function b(f,y){const n=t("RealtimeMap"),s=t("ClientOnly"),o=t("BusChartVue"),i=t("BusTable");return m(),u("div",null,[d,e(s,null,{default:l(()=>[e(n)]),_:1}),e(s,null,{default:l(()=>[e(o)]),_:1}),_,e(i)])}const x=c(p,[["render",b],["__file","bustimer-old.html.vue"]]),C=JSON.parse('{"path":"/transport/bustimer-old.html","title":"🚌校园巴士时刻表 SUSTech Campus Bus Info","lang":"zh-CN","frontmatter":{},"headers":[{"level":2,"title":"路线图 System Map","slug":"路线图-system-map","link":"#路线图-system-map","children":[]},{"level":2,"title":"车辆位置 Bus Realtime Loaction","slug":"车辆位置-bus-realtime-loaction","link":"#车辆位置-bus-realtime-loaction","children":[]},{"level":2,"title":"时间表 Timetable","slug":"时间表-timetable","link":"#时间表-timetable","children":[]}],"git":{"updatedTime":1704120499000,"contributors":[{"name":"liziwl","email":"leezisy@gmail.com","commits":5}]},"filePathRelative":"transport/bustimer-old.md"}');export{x as comp,C as data}; diff --git a/assets/bustimer-wx.html-BjIRbdkY.js b/assets/bustimer-wx.html-BjIRbdkY.js new file mode 100644 index 000000000..665679247 --- /dev/null +++ b/assets/bustimer-wx.html-BjIRbdkY.js @@ -0,0 +1 @@ +import{_ as o,r as s,o as i,c as r,a as t,w as l,b as e}from"./app-CAXKJsZK.js";const c={},m=e("h1",{id:"🚌校园巴士时刻表-sustech-campus-bus-info",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#🚌校园巴士时刻表-sustech-campus-bus-info"},[e("span",null,"🚌校园巴士时刻表 SUSTech Campus Bus Info")])],-1),u=e("p",null,[e("img",{src:"https://mirrors.sustech.edu.cn/site/sustech-online/img/misc/lzexp-ad-20241012.jpg",alt:""}),e("img",{src:"https://mirrors.sustech.edu.cn/site/sustech-online/img/misc/sustown-ad-202409.png",alt:""}),e("img",{src:"https://mirrors.sustech.edu.cn/site/sustech-online/img/misc/nces-ad-202308.png",alt:""}),e("a",{href:"https://nces.cra.moe/",target:"_blank",rel:"noopener noreferrer"},[e("strong",null,"点此访问NCES")])],-1),p=e("p",null,[e("em",null,"如需切换暗色主题,请切换后刷新页面")],-1),h=e("p",null,[e("em",null,"Pls REFRESH after toggle dark mode.")],-1);function d(_,f){const n=s("TabView"),a=s("ClientOnly");return i(),r("div",null,[m,t(a,null,{default:l(()=>[t(n,{isMapTabEnabled:!0})]),_:1}),u,p,h])}const b=o(c,[["render",d],["__file","bustimer-wx.html.vue"]]),x=JSON.parse('{"path":"/transport/bustimer-wx.html","title":"🚌校园巴士时刻表 SUSTech Campus Bus Info","lang":"zh-CN","frontmatter":{"sidebar":false,"navbar":false},"headers":[],"git":{"updatedTime":1729246826000,"contributors":[{"name":"liziwl","email":"leezisy@gmail.com","commits":17},{"name":"sparkcyf","email":"sparktour@outlook.com","commits":15},{"name":"Ziqiang Li","email":"leezisy@gmail.com","commits":1}]},"filePathRelative":"transport/bustimer-wx.md"}');export{b as comp,x as data}; diff --git a/assets/bustimer.html-OKnEiwmm.js b/assets/bustimer.html-OKnEiwmm.js new file mode 100644 index 000000000..ea10846d5 --- /dev/null +++ b/assets/bustimer.html-OKnEiwmm.js @@ -0,0 +1 @@ +import{_ as i,r as s,o as m,c,a as t,w as l,b as e}from"./app-CAXKJsZK.js";const r={},u=e("h1",{id:"🚌校园巴士时刻表-sustech-campus-bus-info",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#🚌校园巴士时刻表-sustech-campus-bus-info"},[e("span",null,"🚌校园巴士时刻表 SUSTech Campus Bus Info")])],-1),p=e("p",null,[e("em",null,"如需切换亮/暗主题,请切换后刷新页面")],-1),h=e("p",null,[e("em",null,"Pls REFRESH after toggle dark mode.")],-1),d=e("p",null,[e("img",{src:"https://mirrors.sustech.edu.cn/site/sustech-online/img/misc/lzexp-ad-20241012.jpg",alt:""}),e("img",{src:"https://mirrors.sustech.edu.cn/site/sustech-online/img/misc/sustown-ad-202409.png",alt:""}),e("img",{src:"https://mirrors.sustech.edu.cn/site/sustech-online/img/misc/nces-ad-202308.png",alt:""}),e("a",{href:"https://nces.cra.moe/",target:"_blank",rel:"noopener noreferrer"},[e("strong",null,"点此访问NCES")])],-1);function _(g,f){const n=s("TabView"),o=s("ClientOnly"),a=s("AdSenseDisplayAD");return m(),c("div",null,[u,t(o,null,{default:l(()=>[t(n,{isMapTabEnabled:!0})]),_:1}),p,h,d,t(a)])}const y=i(r,[["render",_],["__file","bustimer.html.vue"]]),S=JSON.parse('{"path":"/transport/bustimer.html","title":"🚌校园巴士时刻表 SUSTech Campus Bus Info","lang":"zh-CN","frontmatter":{},"headers":[],"git":{"updatedTime":1729246826000,"contributors":[{"name":"sparkcyf","email":"sparktour@outlook.com","commits":19},{"name":"liziwl","email":"leezisy@gmail.com","commits":16},{"name":"ZiJian Zhang","email":"doomspec@outlook.com","commits":2},{"name":"Qing Yu","email":"53589767+ni1o1@users.noreply.github.com","commits":1},{"name":"Ziqiang Li","email":"leezisy@gmail.com","commits":1},{"name":"yzhang","email":"583181285@qq.com","commits":1}]},"filePathRelative":"transport/bustimer.md"}');export{y as comp,S as data}; diff --git a/assets/c31235e66edd43d69202f54f3c0aed46-CrIWxq_u.jpeg b/assets/c31235e66edd43d69202f54f3c0aed46-CrIWxq_u.jpeg new file mode 100644 index 000000000..62aabee71 Binary files /dev/null and b/assets/c31235e66edd43d69202f54f3c0aed46-CrIWxq_u.jpeg differ diff --git a/assets/c49bd903118a448eba26fed3624dadc6-CGKmnvsU.jpeg b/assets/c49bd903118a448eba26fed3624dadc6-CGKmnvsU.jpeg new file mode 100644 index 000000000..d88da7477 Binary files /dev/null and b/assets/c49bd903118a448eba26fed3624dadc6-CGKmnvsU.jpeg differ diff --git a/assets/canteen-wx.html-B01Guv6X.js b/assets/canteen-wx.html-B01Guv6X.js new file mode 100644 index 000000000..6b6a709ad --- /dev/null +++ b/assets/canteen-wx.html-B01Guv6X.js @@ -0,0 +1 @@ +import{_ as s,r as t,o as c,c as r,a,w as i,d as n,b as e}from"./app-CAXKJsZK.js";const m={},_=e("h1",{id:"🍜饭堂服务",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#🍜饭堂服务"},[e("span",null,"🍜饭堂服务")])],-1),d=e("br",null,null,-1),h=e("br",null,null,-1),u=e("p",null,[n("功能更丰富的食堂服务小程序正在开发中,如果您想查看开发内容或者加入开发,请访问: "),e("a",{href:"https://github.com/SUSTeen-campus",target:"_blank",rel:"noopener noreferrer"},"SUSTeen-campus")],-1);function p(f,x){const o=t("Canteen"),l=t("ClientOnly");return c(),r("div",null,[_,a(l,null,{default:i(()=>[a(o)]),_:1}),d,n(" 上线伊始,如有问题欢迎及时反馈: "),h,n(" susteen-campus@outlook.com "),u])}const C=s(m,[["render",p],["__file","canteen-wx.html.vue"]]),w=JSON.parse('{"path":"/canteen/canteen-wx.html","title":"🍜饭堂服务","lang":"zh-CN","frontmatter":{"sidebar":false,"navbar":false},"headers":[],"git":{"updatedTime":1705924880000,"contributors":[{"name":"Bill","email":"704317542@qq.com","commits":1},{"name":"liziwl","email":"leezisy@gmail.com","commits":1}]},"filePathRelative":"canteen/canteen-wx.md"}');export{C as comp,w as data}; diff --git a/assets/cas-login-D4QYM2jq.png b/assets/cas-login-D4QYM2jq.png new file mode 100644 index 000000000..f51552dff Binary files /dev/null and b/assets/cas-login-D4QYM2jq.png differ diff --git a/assets/catering_map-n8_8spjq.jpg b/assets/catering_map-n8_8spjq.jpg new file mode 100644 index 000000000..2a8dd3c7a Binary files /dev/null and b/assets/catering_map-n8_8spjq.jpg differ diff --git a/assets/chrome-browser-desktop-DZmgYuQU.png b/assets/chrome-browser-desktop-DZmgYuQU.png new file mode 100644 index 000000000..2bcddf61f Binary files /dev/null and b/assets/chrome-browser-desktop-DZmgYuQU.png differ diff --git a/assets/copy-1-nqTdeykV.jpeg b/assets/copy-1-nqTdeykV.jpeg new file mode 100644 index 000000000..2675aa8e3 Binary files /dev/null and b/assets/copy-1-nqTdeykV.jpeg differ diff --git a/assets/copy-2-D_R9Obwy.jpeg b/assets/copy-2-D_R9Obwy.jpeg new file mode 100644 index 000000000..1f19ed37c Binary files /dev/null and b/assets/copy-2-D_R9Obwy.jpeg differ diff --git a/assets/copy-3-J79w5Ux4.jpeg b/assets/copy-3-J79w5Ux4.jpeg new file mode 100644 index 000000000..80bf3eb0e Binary files /dev/null and b/assets/copy-3-J79w5Ux4.jpeg differ diff --git a/assets/copy-4-DDeZHfXy.jpeg b/assets/copy-4-DDeZHfXy.jpeg new file mode 100644 index 000000000..46be2573b Binary files /dev/null and b/assets/copy-4-DDeZHfXy.jpeg differ diff --git a/assets/copy-5-CEqS1KpL.jpeg b/assets/copy-5-CEqS1KpL.jpeg new file mode 100644 index 000000000..6b3327936 Binary files /dev/null and b/assets/copy-5-CEqS1KpL.jpeg differ diff --git a/assets/database-BOsa4PVe.png b/assets/database-BOsa4PVe.png new file mode 100644 index 000000000..64abe9fe5 Binary files /dev/null and b/assets/database-BOsa4PVe.png differ diff --git a/assets/discount-Cv-NMDgn.png b/assets/discount-Cv-NMDgn.png new file mode 100644 index 000000000..9d202b604 Binary files /dev/null and b/assets/discount-Cv-NMDgn.png differ diff --git a/assets/dorm-floor-plan.html-BM8fKf3H.js b/assets/dorm-floor-plan.html-BM8fKf3H.js new file mode 100644 index 000000000..c76962296 --- /dev/null +++ b/assets/dorm-floor-plan.html-BM8fKf3H.js @@ -0,0 +1 @@ +import{_ as e,o as r,c as o,e as t}from"./app-CAXKJsZK.js";const s={},l=t('

宿舍平面图

',9),n=[l];function i(d,h){return r(),o("div",null,n)}const c=e(s,[["render",i],["__file","dorm-floor-plan.html.vue"]]),m=JSON.parse('{"path":"/life/dormitory/dorm-floor-plan.html","title":"宿舍平面图","lang":"zh-CN","frontmatter":{},"headers":[],"git":{"updatedTime":1660966100000,"contributors":[{"name":"sparkcyf","email":"sparktour@outlook.com","commits":2}]},"filePathRelative":"life/dormitory/dorm-floor-plan.md"}');export{c as comp,m as data}; diff --git a/assets/english-vocabulary-daka-vubeHkoT.png b/assets/english-vocabulary-daka-vubeHkoT.png new file mode 100644 index 000000000..8924e0841 Binary files /dev/null and b/assets/english-vocabulary-daka-vubeHkoT.png differ diff --git a/assets/ezgif-1-4b6eb0f482-BVt8zFf5.gif b/assets/ezgif-1-4b6eb0f482-BVt8zFf5.gif new file mode 100644 index 000000000..1b8a07fbf Binary files /dev/null and b/assets/ezgif-1-4b6eb0f482-BVt8zFf5.gif differ diff --git a/assets/ezgif-4-9deed49e58-CHHBtRy5.gif b/assets/ezgif-4-9deed49e58-CHHBtRy5.gif new file mode 100644 index 000000000..b6abbb208 Binary files /dev/null and b/assets/ezgif-4-9deed49e58-CHHBtRy5.gif differ diff --git a/assets/ezgif-4-ff801845c5-Bnwc69Bj.gif b/assets/ezgif-4-ff801845c5-Bnwc69Bj.gif new file mode 100644 index 000000000..d854db826 Binary files /dev/null and b/assets/ezgif-4-ff801845c5-Bnwc69Bj.gif differ diff --git a/assets/facdf1031d8e47ecaba7e9bf2fda59ba-Cm_IA808.jpeg b/assets/facdf1031d8e47ecaba7e9bf2fda59ba-Cm_IA808.jpeg new file mode 100644 index 000000000..b4904f84b Binary files /dev/null and b/assets/facdf1031d8e47ecaba7e9bf2fda59ba-Cm_IA808.jpeg differ diff --git a/assets/get-link-Ca6VzPiV.png b/assets/get-link-Ca6VzPiV.png new file mode 100644 index 000000000..9d71c9c0c Binary files /dev/null and b/assets/get-link-Ca6VzPiV.png differ diff --git a/assets/holiday.html-CQKGMrsI.js b/assets/holiday.html-CQKGMrsI.js new file mode 100644 index 000000000..76c190d67 --- /dev/null +++ b/assets/holiday.html-CQKGMrsI.js @@ -0,0 +1 @@ +import{_ as p}from"./busline2-a5ykBpx8.js";import{_ as b,o as m,c as g,e as v}from"./app-CAXKJsZK.js";const w={mounted(){function r(a){var t=new Date;t.setMinutes(t.getMinutes()-a);var o=t.getHours(),s=o<10?"0"+o:o,e=t.getMinutes(),l=e<10?"0"+e:e;return s+":"+l}function c(a){for(var t=r(20),o=r(0),s=0,e=0,l=a.length;e"+$(this).text()+"")}))}},t,o,l=c(i.hl2coe);t=l.now_table;var s=l.row,e=$("#holi-bus-hl2coe").DataTable($.extend(!0,{data:t},a)),h=$(e.row(Math.min(s,t.length)).node()).offset().top-$(e.row(0).node()).offset().top;$("#bus-table-hl2coe .dataTables_scrollBody").scrollTop(h);var l=c(i.coe2hl);o=l.now_table;var _=l.row,f=$("#holi-bus-coe2hl").DataTable($.extend(!0,{data:o},a)),h=$(f.row(Math.min(_,o.length)).node()).offset().top-$(f.row(0).node()).offset().top;$("#bus-table-coe2hl .dataTables_scrollBody").scrollTop(h)}}document.addEventListener("DOMContentLoaded",d,!1),$(document).ready(function(){d()})}},E=v('

🚌校园巴士 - 节假日 (2021年6月18日更新)

快速跳转

节假日仅 1路 运行。

1路 欣园 → 工学院(共58班)

1路 工学院 → 欣园(共58班)

参考文献

  • 2021年6月18日 校园服务办公室 <ocs@sustech.edu.cn> 邮件《【关于调整校园巴士运行班次及线路的通知 Notice on Adjustment of Campus Bus Schedule and Routes【2021】26号》
',11),A=[E];function F(r,c,i,d,a,t){return m(),g("div",null,A)}const D=b(w,[["render",F],["__file","holiday.html.vue"]]),T=JSON.parse('{"path":"/transport/holiday.html","title":"🚌校园巴士 - 节假日 (2021年6月18日更新)","lang":"zh-CN","frontmatter":{},"headers":[{"level":2,"title":"快速跳转","slug":"快速跳转","link":"#快速跳转","children":[]},{"level":2,"title":"1路 欣园 → 工学院(共58班)","slug":"_1路-欣园-→-工学院-共58班","link":"#_1路-欣园-→-工学院-共58班","children":[]},{"level":2,"title":"1路 工学院 → 欣园(共58班)","slug":"_1路-工学院-→-欣园-共58班","link":"#_1路-工学院-→-欣园-共58班","children":[]},{"level":2,"title":"参考文献","slug":"参考文献","link":"#参考文献","children":[]}],"git":{"updatedTime":1640077007000,"contributors":[{"name":"liziwl","email":"leezisy@gmail.com","commits":15},{"name":"sparkcyf","email":"sparktour@outlook.com","commits":6}]},"filePathRelative":"transport/holiday.md"}');export{D as comp,T as data}; diff --git a/assets/ics-url-DhpC3Prc.png b/assets/ics-url-DhpC3Prc.png new file mode 100644 index 000000000..5ed03f25f Binary files /dev/null and b/assets/ics-url-DhpC3Prc.png differ diff --git a/assets/image-1-B6csJZQb.png b/assets/image-1-B6csJZQb.png new file mode 100644 index 000000000..81f2f3ab7 Binary files /dev/null and b/assets/image-1-B6csJZQb.png differ diff --git a/assets/image-10-1024x161-DkWmtf1q.png b/assets/image-10-1024x161-DkWmtf1q.png new file mode 100644 index 000000000..e4b6b811c Binary files /dev/null and b/assets/image-10-1024x161-DkWmtf1q.png differ diff --git a/assets/image-11-1024x983-DDV5JNKh.png b/assets/image-11-1024x983-DDV5JNKh.png new file mode 100644 index 000000000..2e01d2928 Binary files /dev/null and b/assets/image-11-1024x983-DDV5JNKh.png differ diff --git a/assets/image-12-CUobrzB0.png b/assets/image-12-CUobrzB0.png new file mode 100644 index 000000000..9f52c6645 Binary files /dev/null and b/assets/image-12-CUobrzB0.png differ diff --git a/assets/image-13-1024x530-C_IixTJ-.png b/assets/image-13-1024x530-C_IixTJ-.png new file mode 100644 index 000000000..3169da7c5 Binary files /dev/null and b/assets/image-13-1024x530-C_IixTJ-.png differ diff --git a/assets/image-14-1024x783-BgLBSXIu.png b/assets/image-14-1024x783-BgLBSXIu.png new file mode 100644 index 000000000..c1142720e Binary files /dev/null and b/assets/image-14-1024x783-BgLBSXIu.png differ diff --git a/assets/image-15-1024x173-EtrhlDDf.png b/assets/image-15-1024x173-EtrhlDDf.png new file mode 100644 index 000000000..4c1cf19e7 Binary files /dev/null and b/assets/image-15-1024x173-EtrhlDDf.png differ diff --git a/assets/image-16-1024x538-BV4XFbTc.png b/assets/image-16-1024x538-BV4XFbTc.png new file mode 100644 index 000000000..f1ea7ef55 Binary files /dev/null and b/assets/image-16-1024x538-BV4XFbTc.png differ diff --git a/assets/image-18-3YBjRikj.png b/assets/image-18-3YBjRikj.png new file mode 100644 index 000000000..ba65ddbe9 Binary files /dev/null and b/assets/image-18-3YBjRikj.png differ diff --git a/assets/image-2-Tle4xxpZ.png b/assets/image-2-Tle4xxpZ.png new file mode 100644 index 000000000..eaa759e1b Binary files /dev/null and b/assets/image-2-Tle4xxpZ.png differ diff --git a/assets/image-3-CXF_EJ-u.png b/assets/image-3-CXF_EJ-u.png new file mode 100644 index 000000000..9ec10804e Binary files /dev/null and b/assets/image-3-CXF_EJ-u.png differ diff --git a/assets/image-4-1024x143-CvUB2QNq.png b/assets/image-4-1024x143-CvUB2QNq.png new file mode 100644 index 000000000..614e25831 Binary files /dev/null and b/assets/image-4-1024x143-CvUB2QNq.png differ diff --git a/assets/image-5-1024x257-RtzfhPoe.png b/assets/image-5-1024x257-RtzfhPoe.png new file mode 100644 index 000000000..2c2288903 Binary files /dev/null and b/assets/image-5-1024x257-RtzfhPoe.png differ diff --git a/assets/image-6-1024x333-DEGDie81.png b/assets/image-6-1024x333-DEGDie81.png new file mode 100644 index 000000000..0bbbe5753 Binary files /dev/null and b/assets/image-6-1024x333-DEGDie81.png differ diff --git a/assets/image-7-DdQHg9U1.png b/assets/image-7-DdQHg9U1.png new file mode 100644 index 000000000..af11eed66 Binary files /dev/null and b/assets/image-7-DdQHg9U1.png differ diff --git a/assets/image-8-1024x484-VS-E-lnx.png b/assets/image-8-1024x484-VS-E-lnx.png new file mode 100644 index 000000000..a8bc0f53f Binary files /dev/null and b/assets/image-8-1024x484-VS-E-lnx.png differ diff --git a/assets/image-9-1024x435-cSQb0gsr.png b/assets/image-9-1024x435-cSQb0gsr.png new file mode 100644 index 000000000..3e72e7c97 Binary files /dev/null and b/assets/image-9-1024x435-cSQb0gsr.png differ diff --git a/assets/image-BOf741X1.png b/assets/image-BOf741X1.png new file mode 100644 index 000000000..1effd67d2 Binary files /dev/null and b/assets/image-BOf741X1.png differ diff --git a/assets/image1-BskFnSmQ.png b/assets/image1-BskFnSmQ.png new file mode 100644 index 000000000..2e2709e01 Binary files /dev/null and b/assets/image1-BskFnSmQ.png differ diff --git a/assets/image1-DoWOHH_O.png b/assets/image1-DoWOHH_O.png new file mode 100644 index 000000000..e61589712 Binary files /dev/null and b/assets/image1-DoWOHH_O.png differ diff --git a/assets/image1-Dtb_jioi.png b/assets/image1-Dtb_jioi.png new file mode 100644 index 000000000..ee85b8531 Binary files /dev/null and b/assets/image1-Dtb_jioi.png differ diff --git a/assets/image1-ECUwmV4F.jpeg b/assets/image1-ECUwmV4F.jpeg new file mode 100644 index 000000000..e8efe1608 Binary files /dev/null and b/assets/image1-ECUwmV4F.jpeg differ diff --git a/assets/image10-Bs7UBQyO.png b/assets/image10-Bs7UBQyO.png new file mode 100644 index 000000000..2b4282150 Binary files /dev/null and b/assets/image10-Bs7UBQyO.png differ diff --git a/assets/image10-CIuEC8SE.jpeg b/assets/image10-CIuEC8SE.jpeg new file mode 100644 index 000000000..01b38581f Binary files /dev/null and b/assets/image10-CIuEC8SE.jpeg differ diff --git a/assets/image11-DIOxtOhI.png b/assets/image11-DIOxtOhI.png new file mode 100644 index 000000000..16a66122b Binary files /dev/null and b/assets/image11-DIOxtOhI.png differ diff --git a/assets/image11-xDHSppfw.png b/assets/image11-xDHSppfw.png new file mode 100644 index 000000000..14a10e440 Binary files /dev/null and b/assets/image11-xDHSppfw.png differ diff --git a/assets/image12-C1BNlwDb.png b/assets/image12-C1BNlwDb.png new file mode 100644 index 000000000..6c6a8a5c7 Binary files /dev/null and b/assets/image12-C1BNlwDb.png differ diff --git a/assets/image12-CQ9hfe7_.png b/assets/image12-CQ9hfe7_.png new file mode 100644 index 000000000..5b222571e Binary files /dev/null and b/assets/image12-CQ9hfe7_.png differ diff --git a/assets/image13-B27pqTuf.png b/assets/image13-B27pqTuf.png new file mode 100644 index 000000000..344d066af Binary files /dev/null and b/assets/image13-B27pqTuf.png differ diff --git a/assets/image13-CHZsU0j0.png b/assets/image13-CHZsU0j0.png new file mode 100644 index 000000000..a1f073680 Binary files /dev/null and b/assets/image13-CHZsU0j0.png differ diff --git a/assets/image14-BRcW7AM7.jpeg b/assets/image14-BRcW7AM7.jpeg new file mode 100644 index 000000000..62a17e5b1 Binary files /dev/null and b/assets/image14-BRcW7AM7.jpeg differ diff --git a/assets/image14-Cg_YMmmt.png b/assets/image14-Cg_YMmmt.png new file mode 100644 index 000000000..93b19b16f Binary files /dev/null and b/assets/image14-Cg_YMmmt.png differ diff --git a/assets/image15-BSriYUhC.png b/assets/image15-BSriYUhC.png new file mode 100644 index 000000000..8f0388b8d Binary files /dev/null and b/assets/image15-BSriYUhC.png differ diff --git a/assets/image15-OVgsjeJ8.jpeg b/assets/image15-OVgsjeJ8.jpeg new file mode 100644 index 000000000..e65f91b39 Binary files /dev/null and b/assets/image15-OVgsjeJ8.jpeg differ diff --git a/assets/image16-BgJZTIUr.png b/assets/image16-BgJZTIUr.png new file mode 100644 index 000000000..2e0da00a2 Binary files /dev/null and b/assets/image16-BgJZTIUr.png differ diff --git a/assets/image16-DaJFU4ek.png b/assets/image16-DaJFU4ek.png new file mode 100644 index 000000000..2372e6dd3 Binary files /dev/null and b/assets/image16-DaJFU4ek.png differ diff --git a/assets/image17-DsXgkZvY.jpeg b/assets/image17-DsXgkZvY.jpeg new file mode 100644 index 000000000..4e35b7901 Binary files /dev/null and b/assets/image17-DsXgkZvY.jpeg differ diff --git a/assets/image17-DwXeU94y.png b/assets/image17-DwXeU94y.png new file mode 100644 index 000000000..385e07e2c Binary files /dev/null and b/assets/image17-DwXeU94y.png differ diff --git a/assets/image18-BRuBI1TF.png b/assets/image18-BRuBI1TF.png new file mode 100644 index 000000000..58da0068d Binary files /dev/null and b/assets/image18-BRuBI1TF.png differ diff --git a/assets/image18-CqB_g_wS.jpeg b/assets/image18-CqB_g_wS.jpeg new file mode 100644 index 000000000..0642e5e3a Binary files /dev/null and b/assets/image18-CqB_g_wS.jpeg differ diff --git a/assets/image19-4JW6lzvy.png b/assets/image19-4JW6lzvy.png new file mode 100644 index 000000000..6feba30e9 Binary files /dev/null and b/assets/image19-4JW6lzvy.png differ diff --git a/assets/image19-DGSBvNU3.jpeg b/assets/image19-DGSBvNU3.jpeg new file mode 100644 index 000000000..b9be8eb0e Binary files /dev/null and b/assets/image19-DGSBvNU3.jpeg differ diff --git a/assets/image2-BxBWo8LQ.png b/assets/image2-BxBWo8LQ.png new file mode 100644 index 000000000..b01fbf332 Binary files /dev/null and b/assets/image2-BxBWo8LQ.png differ diff --git a/assets/image2-CdyZvAC0.jpeg b/assets/image2-CdyZvAC0.jpeg new file mode 100644 index 000000000..31114c8fb Binary files /dev/null and b/assets/image2-CdyZvAC0.jpeg differ diff --git a/assets/image2-Cm4Ig_YB.jpeg b/assets/image2-Cm4Ig_YB.jpeg new file mode 100644 index 000000000..4911ac647 Binary files /dev/null and b/assets/image2-Cm4Ig_YB.jpeg differ diff --git a/assets/image2-D2Q0-cbv.jpeg b/assets/image2-D2Q0-cbv.jpeg new file mode 100644 index 000000000..2c9ff2a71 Binary files /dev/null and b/assets/image2-D2Q0-cbv.jpeg differ diff --git a/assets/image20-CwyGyoWh.jpeg b/assets/image20-CwyGyoWh.jpeg new file mode 100644 index 000000000..c48844c5d Binary files /dev/null and b/assets/image20-CwyGyoWh.jpeg differ diff --git a/assets/image20-mm6JrlZy.png b/assets/image20-mm6JrlZy.png new file mode 100644 index 000000000..ffbb01b47 Binary files /dev/null and b/assets/image20-mm6JrlZy.png differ diff --git a/assets/image21-B3aVqUX9.png b/assets/image21-B3aVqUX9.png new file mode 100644 index 000000000..287bb68c4 Binary files /dev/null and b/assets/image21-B3aVqUX9.png differ diff --git a/assets/image21-BtKyssOQ.jpeg b/assets/image21-BtKyssOQ.jpeg new file mode 100644 index 000000000..1e88c4c8d Binary files /dev/null and b/assets/image21-BtKyssOQ.jpeg differ diff --git a/assets/image22-BGfQR_aX.jpeg b/assets/image22-BGfQR_aX.jpeg new file mode 100644 index 000000000..8ae596789 Binary files /dev/null and b/assets/image22-BGfQR_aX.jpeg differ diff --git a/assets/image22-DOlsnL1K.png b/assets/image22-DOlsnL1K.png new file mode 100644 index 000000000..274629160 Binary files /dev/null and b/assets/image22-DOlsnL1K.png differ diff --git a/assets/image23-B2OabiRj.jpeg b/assets/image23-B2OabiRj.jpeg new file mode 100644 index 000000000..69e295468 Binary files /dev/null and b/assets/image23-B2OabiRj.jpeg differ diff --git a/assets/image23-BvzF1gW9.jpeg b/assets/image23-BvzF1gW9.jpeg new file mode 100644 index 000000000..b45829a53 Binary files /dev/null and b/assets/image23-BvzF1gW9.jpeg differ diff --git a/assets/image24-C5XOGTLC.jpeg b/assets/image24-C5XOGTLC.jpeg new file mode 100644 index 000000000..6ceea845b Binary files /dev/null and b/assets/image24-C5XOGTLC.jpeg differ diff --git a/assets/image24-DKo76l3F.png b/assets/image24-DKo76l3F.png new file mode 100644 index 000000000..0e3106ac5 Binary files /dev/null and b/assets/image24-DKo76l3F.png differ diff --git a/assets/image25-OypBi0yC.png b/assets/image25-OypBi0yC.png new file mode 100644 index 000000000..a7e55aa20 Binary files /dev/null and b/assets/image25-OypBi0yC.png differ diff --git a/assets/image25-VUemPYBx.png b/assets/image25-VUemPYBx.png new file mode 100644 index 000000000..fd3209393 Binary files /dev/null and b/assets/image25-VUemPYBx.png differ diff --git a/assets/image26-B_J42oJX.jpeg b/assets/image26-B_J42oJX.jpeg new file mode 100644 index 000000000..0ffcbe6bd Binary files /dev/null and b/assets/image26-B_J42oJX.jpeg differ diff --git a/assets/image26-CHTpb2DT.png b/assets/image26-CHTpb2DT.png new file mode 100644 index 000000000..467ecda91 Binary files /dev/null and b/assets/image26-CHTpb2DT.png differ diff --git a/assets/image27-CunGN7TX.png b/assets/image27-CunGN7TX.png new file mode 100644 index 000000000..3d125f77a Binary files /dev/null and b/assets/image27-CunGN7TX.png differ diff --git a/assets/image27-Oz1LEXb4.png b/assets/image27-Oz1LEXb4.png new file mode 100644 index 000000000..e32f5fe2e Binary files /dev/null and b/assets/image27-Oz1LEXb4.png differ diff --git a/assets/image28-ABtr9Ts_.png b/assets/image28-ABtr9Ts_.png new file mode 100644 index 000000000..3a2c421bf Binary files /dev/null and b/assets/image28-ABtr9Ts_.png differ diff --git a/assets/image28-BfOuEOuF.jpeg b/assets/image28-BfOuEOuF.jpeg new file mode 100644 index 000000000..26f2cd72d Binary files /dev/null and b/assets/image28-BfOuEOuF.jpeg differ diff --git a/assets/image29-B4PLPi56.jpeg b/assets/image29-B4PLPi56.jpeg new file mode 100644 index 000000000..c88104a10 Binary files /dev/null and b/assets/image29-B4PLPi56.jpeg differ diff --git a/assets/image29-DKo2yjxs.png b/assets/image29-DKo2yjxs.png new file mode 100644 index 000000000..221e50193 Binary files /dev/null and b/assets/image29-DKo2yjxs.png differ diff --git a/assets/image3-B8A_26BC.jpeg b/assets/image3-B8A_26BC.jpeg new file mode 100644 index 000000000..c450be47f Binary files /dev/null and b/assets/image3-B8A_26BC.jpeg differ diff --git a/assets/image3-C4jOo88y.jpeg b/assets/image3-C4jOo88y.jpeg new file mode 100644 index 000000000..cc9b5c3b4 Binary files /dev/null and b/assets/image3-C4jOo88y.jpeg differ diff --git a/assets/image3-nHPNyjYO.jpeg b/assets/image3-nHPNyjYO.jpeg new file mode 100644 index 000000000..0b00ccdd2 Binary files /dev/null and b/assets/image3-nHPNyjYO.jpeg differ diff --git a/assets/image30-BLQ3azUU.png b/assets/image30-BLQ3azUU.png new file mode 100644 index 000000000..e5a5f7e0b Binary files /dev/null and b/assets/image30-BLQ3azUU.png differ diff --git a/assets/image30-CpNwEp_u.jpeg b/assets/image30-CpNwEp_u.jpeg new file mode 100644 index 000000000..8eca5851b Binary files /dev/null and b/assets/image30-CpNwEp_u.jpeg differ diff --git a/assets/image31-CLrP7BaH.jpeg b/assets/image31-CLrP7BaH.jpeg new file mode 100644 index 000000000..1241d7be1 Binary files /dev/null and b/assets/image31-CLrP7BaH.jpeg differ diff --git a/assets/image31-KU6y0qqx.png b/assets/image31-KU6y0qqx.png new file mode 100644 index 000000000..94da21749 Binary files /dev/null and b/assets/image31-KU6y0qqx.png differ diff --git a/assets/image32-DmvEZHRf.png b/assets/image32-DmvEZHRf.png new file mode 100644 index 000000000..23cb96e7a Binary files /dev/null and b/assets/image32-DmvEZHRf.png differ diff --git a/assets/image32-jv6-5WX7.jpeg b/assets/image32-jv6-5WX7.jpeg new file mode 100644 index 000000000..797a7a664 Binary files /dev/null and b/assets/image32-jv6-5WX7.jpeg differ diff --git a/assets/image33-BaqpBAzF.png b/assets/image33-BaqpBAzF.png new file mode 100644 index 000000000..9f3b7819b Binary files /dev/null and b/assets/image33-BaqpBAzF.png differ diff --git a/assets/image33-CZjhOOFR.png b/assets/image33-CZjhOOFR.png new file mode 100644 index 000000000..2c6e386a8 Binary files /dev/null and b/assets/image33-CZjhOOFR.png differ diff --git a/assets/image34-D4jvtoHy.png b/assets/image34-D4jvtoHy.png new file mode 100644 index 000000000..66eb57f41 Binary files /dev/null and b/assets/image34-D4jvtoHy.png differ diff --git a/assets/image34-DwanO9_S.jpeg b/assets/image34-DwanO9_S.jpeg new file mode 100644 index 000000000..b42bdf7ec Binary files /dev/null and b/assets/image34-DwanO9_S.jpeg differ diff --git a/assets/image35-Cj7CXdDj.png b/assets/image35-Cj7CXdDj.png new file mode 100644 index 000000000..525c206a6 Binary files /dev/null and b/assets/image35-Cj7CXdDj.png differ diff --git a/assets/image35-ZwohbpkG.jpeg b/assets/image35-ZwohbpkG.jpeg new file mode 100644 index 000000000..fc41cc68f Binary files /dev/null and b/assets/image35-ZwohbpkG.jpeg differ diff --git a/assets/image36-DDssfvBB.jpeg b/assets/image36-DDssfvBB.jpeg new file mode 100644 index 000000000..ff3e9fb8e Binary files /dev/null and b/assets/image36-DDssfvBB.jpeg differ diff --git a/assets/image36-DrrocsGT.png b/assets/image36-DrrocsGT.png new file mode 100644 index 000000000..080685f77 Binary files /dev/null and b/assets/image36-DrrocsGT.png differ diff --git a/assets/image37-DNP-kH_V.jpeg b/assets/image37-DNP-kH_V.jpeg new file mode 100644 index 000000000..56b642e3a Binary files /dev/null and b/assets/image37-DNP-kH_V.jpeg differ diff --git a/assets/image37-DNpJb2me.png b/assets/image37-DNpJb2me.png new file mode 100644 index 000000000..5cef241df Binary files /dev/null and b/assets/image37-DNpJb2me.png differ diff --git a/assets/image38--_y9HBV2.jpeg b/assets/image38--_y9HBV2.jpeg new file mode 100644 index 000000000..c8f6b7e9c Binary files /dev/null and b/assets/image38--_y9HBV2.jpeg differ diff --git a/assets/image38-Be6kijKz.png b/assets/image38-Be6kijKz.png new file mode 100644 index 000000000..70d1d44f5 Binary files /dev/null and b/assets/image38-Be6kijKz.png differ diff --git a/assets/image39-CgS4mFk4.jpeg b/assets/image39-CgS4mFk4.jpeg new file mode 100644 index 000000000..510458d58 Binary files /dev/null and b/assets/image39-CgS4mFk4.jpeg differ diff --git a/assets/image39-D_aBA11X.png b/assets/image39-D_aBA11X.png new file mode 100644 index 000000000..1231bb684 Binary files /dev/null and b/assets/image39-D_aBA11X.png differ diff --git a/assets/image4-BSINR7j1.jpeg b/assets/image4-BSINR7j1.jpeg new file mode 100644 index 000000000..47f22110f Binary files /dev/null and b/assets/image4-BSINR7j1.jpeg differ diff --git a/assets/image4-DBmm_xrH.jpeg b/assets/image4-DBmm_xrH.jpeg new file mode 100644 index 000000000..dda3cd170 Binary files /dev/null and b/assets/image4-DBmm_xrH.jpeg differ diff --git a/assets/image4-NEWzqlpm.jpeg b/assets/image4-NEWzqlpm.jpeg new file mode 100644 index 000000000..94274dbd4 Binary files /dev/null and b/assets/image4-NEWzqlpm.jpeg differ diff --git a/assets/image40-BJ0gkS_O.jpeg b/assets/image40-BJ0gkS_O.jpeg new file mode 100644 index 000000000..f9858315a Binary files /dev/null and b/assets/image40-BJ0gkS_O.jpeg differ diff --git a/assets/image40-DDM5EaSz.png b/assets/image40-DDM5EaSz.png new file mode 100644 index 000000000..ae22d7198 Binary files /dev/null and b/assets/image40-DDM5EaSz.png differ diff --git a/assets/image41-CNNRVavA.jpeg b/assets/image41-CNNRVavA.jpeg new file mode 100644 index 000000000..1da0c05f1 Binary files /dev/null and b/assets/image41-CNNRVavA.jpeg differ diff --git a/assets/image41-Cz2c6v8B.png b/assets/image41-Cz2c6v8B.png new file mode 100644 index 000000000..27bc8993c Binary files /dev/null and b/assets/image41-Cz2c6v8B.png differ diff --git a/assets/image42-BcKUQaUm.png b/assets/image42-BcKUQaUm.png new file mode 100644 index 000000000..b0f3b6a58 Binary files /dev/null and b/assets/image42-BcKUQaUm.png differ diff --git a/assets/image42-DI1iVfx_.jpeg b/assets/image42-DI1iVfx_.jpeg new file mode 100644 index 000000000..10f44b4da Binary files /dev/null and b/assets/image42-DI1iVfx_.jpeg differ diff --git a/assets/image43-DVKY89aE.png b/assets/image43-DVKY89aE.png new file mode 100644 index 000000000..54abfce81 Binary files /dev/null and b/assets/image43-DVKY89aE.png differ diff --git a/assets/image43-uh462urN.png b/assets/image43-uh462urN.png new file mode 100644 index 000000000..0b6266570 Binary files /dev/null and b/assets/image43-uh462urN.png differ diff --git a/assets/image44-Mwti7cF8.png b/assets/image44-Mwti7cF8.png new file mode 100644 index 000000000..9c925087e Binary files /dev/null and b/assets/image44-Mwti7cF8.png differ diff --git a/assets/image44-gab5olmJ.png b/assets/image44-gab5olmJ.png new file mode 100644 index 000000000..8d16af082 Binary files /dev/null and b/assets/image44-gab5olmJ.png differ diff --git a/assets/image45-Cf1Tdpdv.jpeg b/assets/image45-Cf1Tdpdv.jpeg new file mode 100644 index 000000000..0af9fcdb5 Binary files /dev/null and b/assets/image45-Cf1Tdpdv.jpeg differ diff --git a/assets/image46-BpABpAnt.png b/assets/image46-BpABpAnt.png new file mode 100644 index 000000000..bbd99641a Binary files /dev/null and b/assets/image46-BpABpAnt.png differ diff --git a/assets/image46-CzH_zvM_.jpeg b/assets/image46-CzH_zvM_.jpeg new file mode 100644 index 000000000..5b0317993 Binary files /dev/null and b/assets/image46-CzH_zvM_.jpeg differ diff --git a/assets/image47-B_Ld7rFV.png b/assets/image47-B_Ld7rFV.png new file mode 100644 index 000000000..b75484cae Binary files /dev/null and b/assets/image47-B_Ld7rFV.png differ diff --git a/assets/image47-DAFeS3sf.jpeg b/assets/image47-DAFeS3sf.jpeg new file mode 100644 index 000000000..4441c7c7c Binary files /dev/null and b/assets/image47-DAFeS3sf.jpeg differ diff --git a/assets/image48-CPUP8zzX.jpeg b/assets/image48-CPUP8zzX.jpeg new file mode 100644 index 000000000..19328e838 Binary files /dev/null and b/assets/image48-CPUP8zzX.jpeg differ diff --git a/assets/image48-pIj1O0VD.png b/assets/image48-pIj1O0VD.png new file mode 100644 index 000000000..bbbc18b0d Binary files /dev/null and b/assets/image48-pIj1O0VD.png differ diff --git a/assets/image49-BDd1eAP0.png b/assets/image49-BDd1eAP0.png new file mode 100644 index 000000000..b8658222a Binary files /dev/null and b/assets/image49-BDd1eAP0.png differ diff --git a/assets/image49-eUmGykMu.png b/assets/image49-eUmGykMu.png new file mode 100644 index 000000000..f8f309245 Binary files /dev/null and b/assets/image49-eUmGykMu.png differ diff --git a/assets/image5-CW1BFElk.png b/assets/image5-CW1BFElk.png new file mode 100644 index 000000000..490668432 Binary files /dev/null and b/assets/image5-CW1BFElk.png differ diff --git a/assets/image5-Ce7wQIiF.jpeg b/assets/image5-Ce7wQIiF.jpeg new file mode 100644 index 000000000..32e03a349 Binary files /dev/null and b/assets/image5-Ce7wQIiF.jpeg differ diff --git a/assets/image5-DYrxJOp9.jpeg b/assets/image5-DYrxJOp9.jpeg new file mode 100644 index 000000000..cb22cb386 Binary files /dev/null and b/assets/image5-DYrxJOp9.jpeg differ diff --git a/assets/image5-tqyOvKYH.jpeg b/assets/image5-tqyOvKYH.jpeg new file mode 100644 index 000000000..caf8b9b0f Binary files /dev/null and b/assets/image5-tqyOvKYH.jpeg differ diff --git a/assets/image50-CBHEquKd.jpeg b/assets/image50-CBHEquKd.jpeg new file mode 100644 index 000000000..f7c7411b8 Binary files /dev/null and b/assets/image50-CBHEquKd.jpeg differ diff --git a/assets/image51-BDypRng3.jpeg b/assets/image51-BDypRng3.jpeg new file mode 100644 index 000000000..ddf0b93f3 Binary files /dev/null and b/assets/image51-BDypRng3.jpeg differ diff --git a/assets/image52-HQx_dN_g.jpeg b/assets/image52-HQx_dN_g.jpeg new file mode 100644 index 000000000..2e395e28a Binary files /dev/null and b/assets/image52-HQx_dN_g.jpeg differ diff --git a/assets/image53-DFaZ4KqX.jpeg b/assets/image53-DFaZ4KqX.jpeg new file mode 100644 index 000000000..fe389ff6b Binary files /dev/null and b/assets/image53-DFaZ4KqX.jpeg differ diff --git a/assets/image54-JFPD17Aw.jpeg b/assets/image54-JFPD17Aw.jpeg new file mode 100644 index 000000000..65e384d5d Binary files /dev/null and b/assets/image54-JFPD17Aw.jpeg differ diff --git a/assets/image55-CBmsroyr.jpeg b/assets/image55-CBmsroyr.jpeg new file mode 100644 index 000000000..63010aae0 Binary files /dev/null and b/assets/image55-CBmsroyr.jpeg differ diff --git a/assets/image56-dmX5SWZA.jpeg b/assets/image56-dmX5SWZA.jpeg new file mode 100644 index 000000000..2dca001c4 Binary files /dev/null and b/assets/image56-dmX5SWZA.jpeg differ diff --git a/assets/image57--OUrtZEL.jpeg b/assets/image57--OUrtZEL.jpeg new file mode 100644 index 000000000..f0612ce7b Binary files /dev/null and b/assets/image57--OUrtZEL.jpeg differ diff --git a/assets/image58-Cnzbgp5u.jpeg b/assets/image58-Cnzbgp5u.jpeg new file mode 100644 index 000000000..37e64822c Binary files /dev/null and b/assets/image58-Cnzbgp5u.jpeg differ diff --git a/assets/image59-gyuRKcwv.jpeg b/assets/image59-gyuRKcwv.jpeg new file mode 100644 index 000000000..185689ed6 Binary files /dev/null and b/assets/image59-gyuRKcwv.jpeg differ diff --git a/assets/image6-C-j_jZUC.jpeg b/assets/image6-C-j_jZUC.jpeg new file mode 100644 index 000000000..94be35dc0 Binary files /dev/null and b/assets/image6-C-j_jZUC.jpeg differ diff --git a/assets/image6-CnwxmlzT.jpeg b/assets/image6-CnwxmlzT.jpeg new file mode 100644 index 000000000..1460024d8 Binary files /dev/null and b/assets/image6-CnwxmlzT.jpeg differ diff --git a/assets/image6-DZ6lisGw.png b/assets/image6-DZ6lisGw.png new file mode 100644 index 000000000..ede5262ae Binary files /dev/null and b/assets/image6-DZ6lisGw.png differ diff --git a/assets/image6-Dhxhr7o2.jpeg b/assets/image6-Dhxhr7o2.jpeg new file mode 100644 index 000000000..aa0ee7782 Binary files /dev/null and b/assets/image6-Dhxhr7o2.jpeg differ diff --git a/assets/image60-BCD2wFQA.jpeg b/assets/image60-BCD2wFQA.jpeg new file mode 100644 index 000000000..8b42de3a6 Binary files /dev/null and b/assets/image60-BCD2wFQA.jpeg differ diff --git a/assets/image61-BbKRZuMF.jpeg b/assets/image61-BbKRZuMF.jpeg new file mode 100644 index 000000000..8a720da65 Binary files /dev/null and b/assets/image61-BbKRZuMF.jpeg differ diff --git a/assets/image62-CwYKlRpq.jpeg b/assets/image62-CwYKlRpq.jpeg new file mode 100644 index 000000000..2aa0fe96e Binary files /dev/null and b/assets/image62-CwYKlRpq.jpeg differ diff --git a/assets/image63-BE_RjBTX.png b/assets/image63-BE_RjBTX.png new file mode 100644 index 000000000..447016515 Binary files /dev/null and b/assets/image63-BE_RjBTX.png differ diff --git a/assets/image64-PORycvN-.jpeg b/assets/image64-PORycvN-.jpeg new file mode 100644 index 000000000..d670243bb Binary files /dev/null and b/assets/image64-PORycvN-.jpeg differ diff --git a/assets/image65-BDWp_3K1.jpeg b/assets/image65-BDWp_3K1.jpeg new file mode 100644 index 000000000..2d85569a2 Binary files /dev/null and b/assets/image65-BDWp_3K1.jpeg differ diff --git a/assets/image66-DDLCujJ3.jpg b/assets/image66-DDLCujJ3.jpg new file mode 100644 index 000000000..b098c6264 Binary files /dev/null and b/assets/image66-DDLCujJ3.jpg differ diff --git a/assets/image67-B5mbBNC1.jpeg b/assets/image67-B5mbBNC1.jpeg new file mode 100644 index 000000000..f55557d8e Binary files /dev/null and b/assets/image67-B5mbBNC1.jpeg differ diff --git a/assets/image68-BH4qOgex.jpeg b/assets/image68-BH4qOgex.jpeg new file mode 100644 index 000000000..c373a5f06 Binary files /dev/null and b/assets/image68-BH4qOgex.jpeg differ diff --git a/assets/image69-C9IVEop1.jpeg b/assets/image69-C9IVEop1.jpeg new file mode 100644 index 000000000..537ed2db5 Binary files /dev/null and b/assets/image69-C9IVEop1.jpeg differ diff --git a/assets/image7-B9OsWRfy.jpeg b/assets/image7-B9OsWRfy.jpeg new file mode 100644 index 000000000..328298c7f Binary files /dev/null and b/assets/image7-B9OsWRfy.jpeg differ diff --git a/assets/image7-CeyUlTOe.png b/assets/image7-CeyUlTOe.png new file mode 100644 index 000000000..5cae51694 Binary files /dev/null and b/assets/image7-CeyUlTOe.png differ diff --git a/assets/image7-DUtnkrs7.png b/assets/image7-DUtnkrs7.png new file mode 100644 index 000000000..472d7e227 Binary files /dev/null and b/assets/image7-DUtnkrs7.png differ diff --git a/assets/image8-Ch2BhYSe.png b/assets/image8-Ch2BhYSe.png new file mode 100644 index 000000000..a2effbe0c Binary files /dev/null and b/assets/image8-Ch2BhYSe.png differ diff --git a/assets/image8-Dyn5N6GM.jpeg b/assets/image8-Dyn5N6GM.jpeg new file mode 100644 index 000000000..04244140c Binary files /dev/null and b/assets/image8-Dyn5N6GM.jpeg differ diff --git a/assets/image9-CmX9m1AC.jpeg b/assets/image9-CmX9m1AC.jpeg new file mode 100644 index 000000000..87bb7d909 Binary files /dev/null and b/assets/image9-CmX9m1AC.jpeg differ diff --git a/assets/index-DTEEl-sV.js b/assets/index-DTEEl-sV.js new file mode 100644 index 000000000..693265450 --- /dev/null +++ b/assets/index-DTEEl-sV.js @@ -0,0 +1 @@ +var v=function(){return!!(window.location.hostname==="localhost"||window.location.hostname==="[::1]"||window.location.hostname.match(/^127(?:\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/))},c;typeof window<"u"&&(typeof Promise<"u"?c=new Promise(function(t){return window.addEventListener("load",t)}):c={then:function(t){return window.addEventListener("load",t)}});function s(t,n){n===void 0&&(n={});var i=n.registrationOptions;i===void 0&&(i={}),delete n.registrationOptions;var e=function(r){for(var f=[],a=arguments.length-1;a-- >0;)f[a]=arguments[a+1];n&&n[r]&&n[r].apply(n,f)};"serviceWorker"in navigator&&c.then(function(){v()?(l(t,e,i),navigator.serviceWorker.ready.then(function(r){e("ready",r)}).catch(function(r){return o(e,r)})):(u(t,e,i),navigator.serviceWorker.ready.then(function(r){e("ready",r)}).catch(function(r){return o(e,r)}))})}function o(t,n){navigator.onLine||t("offline"),t("error",n)}function u(t,n,i){navigator.serviceWorker.register(t,i).then(function(e){if(n("registered",e),e.waiting){n("updated",e);return}e.onupdatefound=function(){n("updatefound",e);var r=e.installing;r.onstatechange=function(){r.state==="installed"&&(navigator.serviceWorker.controller?n("updated",e):n("cached",e))}}}).catch(function(e){return o(n,e)})}function l(t,n,i){fetch(t).then(function(e){e.status===404?(n("error",new Error("Service worker not found at "+t)),d()):e.headers.get("content-type").indexOf("javascript")===-1?(n("error",new Error("Expected "+t+" to have javascript content-type, but received "+e.headers.get("content-type"))),d()):u(t,n,i)}).catch(function(e){return o(n,e)})}function d(){"serviceWorker"in navigator&&navigator.serviceWorker.ready.then(function(t){t.unregister()}).catch(function(t){return o(emit,t)})}export{s as register,d as unregister}; diff --git a/assets/index-DWGeGWcS.js b/assets/index-DWGeGWcS.js new file mode 100644 index 000000000..d7c66ac0d --- /dev/null +++ b/assets/index-DWGeGWcS.js @@ -0,0 +1,14 @@ +/*! @docsearch/js 3.6.1 | MIT License | © Algolia, Inc. and contributors | https://docsearch.algolia.com */function on(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),n.push.apply(n,r)}return n}function N(t){for(var e=1;et.length)&&(e=t.length);for(var n=0,r=new Array(e);n3)for(n=[n],i=3;i0?Ue(d.type,d.props,d.key,null,d.__v):d)!=null){if(d.__=n,d.__b=n.__b+1,(y=g[a])===null||y&&d.key==y.key&&d.type===y.type)g[a]=void 0;else for(h=0;h<_;h++){if((y=g[h])&&d.key==y.key&&d.type===y.type){g[h]=void 0;break}y=null}Qt(t,d,y=y||Et,o,i,u,s,l,f),v=d.__e,(h=d.ref)&&y.ref!=h&&(m||(m=[]),y.ref&&m.push(y.ref,null,d),m.push(h,d.__c||v,d)),v!=null?(p==null&&(p=v),typeof d.type=="function"&&d.__k!=null&&d.__k===y.__k?d.__d=l=vr(d,l,t):l=dr(t,d,y,g,v,l),f||n.type!=="option"?typeof n.type=="function"&&(n.__d=l):t.value=""):l&&y.__e==l&&l.parentNode!=t&&(l=nt(y))}for(n.__e=p,a=_;a--;)g[a]!=null&&(typeof n.type=="function"&&g[a].__e!=null&&g[a].__e==n.__d&&(n.__d=nt(r,a+1)),gr(g[a],g[a]));if(m)for(a=0;a3)for(n=[n],i=3;i=n.__.length&&n.__.push({}),n.__[t]}function Gt(t){return Ce=1,br(Sr,t)}function br(t,e,n){var r=it(xe++,2);return r.t=t,r.__c||(r.__=[n?n(e):Sr(void 0,e),function(o){var i=r.t(r.__[0],o);r.__[0]!==i&&(r.__=[i,r.__[1]],r.__c.setState({}))}],r.__c=K),r.__}function Yt(t,e){var n=it(xe++,3);!j.__s&&Xt(n.__H,e)&&(n.__=t,n.__H=e,K.__H.__h.push(n))}function hn(t,e){var n=it(xe++,4);!j.__s&&Xt(n.__H,e)&&(n.__=t,n.__H=e,K.__h.push(n))}function Ct(t,e){var n=it(xe++,7);return Xt(n.__H,e)&&(n.__=t(),n.__H=e,n.__h=t),n.__}function eo(){Ft.forEach(function(t){if(t.__P)try{t.__H.__h.forEach(bt),t.__H.__h.forEach(Bt),t.__H.__h=[]}catch(e){t.__H.__h=[],j.__e(e,t.__v)}}),Ft=[]}j.__b=function(t){K=null,fn&&fn(t)},j.__r=function(t){mn&&mn(t),xe=0;var e=(K=t.__c).__H;e&&(e.__h.forEach(bt),e.__h.forEach(Bt),e.__h=[])},j.diffed=function(t){pn&&pn(t);var e=t.__c;e&&e.__H&&e.__H.__h.length&&(Ft.push(e)!==1&&sn===j.requestAnimationFrame||((sn=j.requestAnimationFrame)||function(n){var r,o=function(){clearTimeout(i),yn&&cancelAnimationFrame(r),setTimeout(n)},i=setTimeout(o,100);yn&&(r=requestAnimationFrame(o))})(eo)),K=void 0},j.__c=function(t,e){e.some(function(n){try{n.__h.forEach(bt),n.__h=n.__h.filter(function(r){return!r.__||Bt(r)})}catch(r){e.some(function(o){o.__h&&(o.__h=[])}),e=[],j.__e(r,n.__v)}}),vn&&vn(t,e)},j.unmount=function(t){dn&&dn(t);var e=t.__c;if(e&&e.__H)try{e.__H.__.forEach(bt)}catch(n){j.__e(n,e.__v)}};var yn=typeof requestAnimationFrame=="function";function bt(t){var e=K;typeof t.__c=="function"&&t.__c(),K=e}function Bt(t){var e=K;t.__c=t.__(),K=e}function Xt(t,e){return!t||t.length!==e.length||e.some(function(n,r){return n!==t[r]})}function Sr(t,e){return typeof e=="function"?e(t):e}function Or(t,e){for(var n in e)t[n]=e[n];return t}function Vt(t,e){for(var n in t)if(n!=="__source"&&!(n in e))return!0;for(var r in e)if(r!=="__source"&&t[r]!==e[r])return!0;return!1}function Kt(t){this.props=t}(Kt.prototype=new te).isPureReactComponent=!0,Kt.prototype.shouldComponentUpdate=function(t,e){return Vt(this.props,t)||Vt(this.state,e)};var gn=j.__b;j.__b=function(t){t.type&&t.type.__f&&t.ref&&(t.props.ref=t.ref,t.ref=null),gn&&gn(t)};var to=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911,_n=function(t,e){return t==null?null:ie(ie(t).map(e))},no={map:_n,forEach:_n,count:function(t){return t?ie(t).length:0},only:function(t){var e=ie(t);if(e.length!==1)throw"Children.only";return e[0]},toArray:ie},ro=j.__e;function St(){this.__u=0,this.t=null,this.__b=null}function wr(t){var e=t.__.__c;return e&&e.__e&&e.__e(t)}function Le(){this.u=null,this.o=null}j.__e=function(t,e,n){if(t.then){for(var r,o=e;o=o.__;)if((r=o.__c)&&r.__c)return e.__e==null&&(e.__e=n.__e,e.__k=n.__k),r.__c(t,e)}ro(t,e,n)},(St.prototype=new te).__c=function(t,e){var n=e.__c,r=this;r.t==null&&(r.t=[]),r.t.push(n);var o=wr(r.__v),i=!1,u=function(){i||(i=!0,n.componentWillUnmount=n.__c,o?o(s):s())};n.__c=n.componentWillUnmount,n.componentWillUnmount=function(){u(),n.__c&&n.__c()};var s=function(){if(!--r.__u){if(r.state.__e){var f=r.state.__e;r.__v.__k[0]=function h(y,d,v){return y&&(y.__v=null,y.__k=y.__k&&y.__k.map(function(p){return h(p,d,v)}),y.__c&&y.__c.__P===d&&(y.__e&&v.insertBefore(y.__e,y.__d),y.__c.__e=!0,y.__c.__P=v)),y}(f,f.__c.__P,f.__c.__O)}var a;for(r.setState({__e:r.__b=null});a=r.t.pop();)a.forceUpdate()}},l=e.__h===!0;r.__u++||l||r.setState({__e:r.__b=r.__v.__k[0]}),t.then(u,u)},St.prototype.componentWillUnmount=function(){this.t=[]},St.prototype.render=function(t,e){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=function i(u,s,l){return u&&(u.__c&&u.__c.__H&&(u.__c.__H.__.forEach(function(f){typeof f.__c=="function"&&f.__c()}),u.__c.__H=null),(u=Or({},u)).__c!=null&&(u.__c.__P===l&&(u.__c.__P=s),u.__c=null),u.__k=u.__k&&u.__k.map(function(f){return i(f,s,l)})),u}(this.__b,n,r.__O=r.__P)}this.__b=null}var o=e.__e&&ee(pe,null,t.fallback);return o&&(o.__h=null),[ee(pe,null,e.__e?null:t.children),o]};var bn=function(t,e,n){if(++n[1]===n[0]&&t.o.delete(e),t.props.revealOrder&&(t.props.revealOrder[0]!=="t"||!t.o.size))for(n=t.u;n;){for(;n.length>3;)n.pop()();if(n[1]>>1,1),e.i.removeChild(r)}}),rt(ee(oo,{context:e.context},t.__v),e.l)):e.l&&e.componentWillUnmount()}function Er(t,e){return ee(io,{__v:t,i:e})}(Le.prototype=new te).__e=function(t){var e=this,n=wr(e.__v),r=e.o.get(t);return r[0]++,function(o){var i=function(){e.props.revealOrder?(r.push(o),bn(e,t,r)):o()};n?n(i):i()}},Le.prototype.render=function(t){this.u=null,this.o=new Map;var e=ie(t.children);t.revealOrder&&t.revealOrder[0]==="b"&&e.reverse();for(var n=e.length;n--;)this.o.set(e[n],this.u=[1,0,this.u]);return t.children},Le.prototype.componentDidUpdate=Le.prototype.componentDidMount=function(){var t=this;this.o.forEach(function(e,n){bn(t,n,e)})};var jr=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,ao=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|fill|flood|font|glyph(?!R)|horiz|marker(?!H|W|U)|overline|paint|stop|strikethrough|stroke|text(?!L)|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,co=function(t){return(typeof Symbol<"u"&&D(Symbol())=="symbol"?/fil|che|rad/i:/fil|che|ra/i).test(t)};function Pr(t,e,n){return e.__k==null&&(e.textContent=""),rt(t,e),typeof n=="function"&&n(),t?t.__c:null}te.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(t){Object.defineProperty(te.prototype,t,{configurable:!0,get:function(){return this["UNSAFE_"+t]},set:function(e){Object.defineProperty(this,t,{configurable:!0,writable:!0,value:e})}})});var Sn=j.event;function uo(){}function lo(){return this.cancelBubble}function so(){return this.defaultPrevented}j.event=function(t){return Sn&&(t=Sn(t)),t.persist=uo,t.isPropagationStopped=lo,t.isDefaultPrevented=so,t.nativeEvent=t};var Ir,On={configurable:!0,get:function(){return this.class}},wn=j.vnode;j.vnode=function(t){var e=t.type,n=t.props,r=n;if(typeof e=="string"){for(var o in r={},n){var i=n[o];o==="value"&&"defaultValue"in n&&i==null||(o==="defaultValue"&&"value"in n&&n.value==null?o="value":o==="download"&&i===!0?i="":/ondoubleclick/i.test(o)?o="ondblclick":/^onchange(textarea|input)/i.test(o+e)&&!co(n.type)?o="oninput":/^on(Ani|Tra|Tou|BeforeInp)/.test(o)?o=o.toLowerCase():ao.test(o)?o=o.replace(/[A-Z0-9]/,"-$&").toLowerCase():i===null&&(i=void 0),r[o]=i)}e=="select"&&r.multiple&&Array.isArray(r.value)&&(r.value=ie(n.children).forEach(function(u){u.props.selected=r.value.indexOf(u.props.value)!=-1})),e=="select"&&r.defaultValue!=null&&(r.value=ie(n.children).forEach(function(u){u.props.selected=r.multiple?r.defaultValue.indexOf(u.props.value)!=-1:r.defaultValue==u.props.value})),t.props=r}e&&n.class!=n.className&&(On.enumerable="className"in n,n.className!=null&&(r.class=n.className),Object.defineProperty(r,"className",On)),t.$$typeof=jr,wn&&wn(t)};var En=j.__r;j.__r=function(t){En&&En(t),Ir=t.__c};var fo={ReactCurrentDispatcher:{current:{readContext:function(t){return Ir.__n[t.__c].props.value}}}};function jn(t){return!!t&&t.$$typeof===jr}(typeof performance>"u"?"undefined":D(performance))=="object"&&typeof performance.now=="function"&&performance.now.bind(performance);var c={useState:Gt,useReducer:br,useEffect:Yt,useLayoutEffect:hn,useRef:function(t){return Ce=5,Ct(function(){return{current:t}},[])},useImperativeHandle:function(t,e,n){Ce=6,hn(function(){typeof t=="function"?t(e()):t&&(t.current=e())},n==null?n:n.concat(t))},useMemo:Ct,useCallback:function(t,e){return Ce=8,Ct(function(){return t},e)},useContext:function(t){var e=K.context[t.__c],n=it(xe++,9);return n.__c=t,e?(n.__==null&&(n.__=!0,e.sub(K)),e.props.value):t.__},useDebugValue:function(t,e){j.useDebugValue&&j.useDebugValue(e?e(t):t)},version:"16.8.0",Children:no,render:Pr,hydrate:function(t,e,n){return _r(t,e),typeof n=="function"&&n(),t?t.__c:null},unmountComponentAtNode:function(t){return!!t.__k&&(rt(null,t),!0)},createPortal:Er,createElement:ee,createContext:function(t,e){var n={__c:e="__cC"+sr++,__:t,Consumer:function(r,o){return r.children(o)},Provider:function(r){var o,i;return this.getChildContext||(o=[],(i={})[e]=this,this.getChildContext=function(){return i},this.shouldComponentUpdate=function(u){this.props.value!==u.value&&o.some(Ut)},this.sub=function(u){o.push(u);var s=u.componentWillUnmount;u.componentWillUnmount=function(){o.splice(o.indexOf(u),1),s&&s.call(u)}}),r.children}};return n.Provider.__=n.Consumer.contextType=n},createFactory:function(t){return ee.bind(null,t)},cloneElement:function(t){return jn(t)?Xr.apply(null,arguments):t},createRef:function(){return{current:null}},Fragment:pe,isValidElement:jn,findDOMNode:function(t){return t&&(t.base||t.nodeType===1&&t)||null},Component:te,PureComponent:Kt,memo:function(t,e){function n(o){var i=this.props.ref,u=i==o.ref;return!u&&i&&(i.call?i(null):i.current=null),e?!e(this.props,o)||!u:Vt(this.props,o)}function r(o){return this.shouldComponentUpdate=n,ee(t,o)}return r.displayName="Memo("+(t.displayName||t.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r},forwardRef:function(t){function e(n,r){var o=Or({},n);return delete o.ref,t(o,(r=n.ref||r)&&(D(r)!="object"||"current"in r)?r:null)}return e.$$typeof=to,e.render=e,e.prototype.isReactComponent=e.__f=!0,e.displayName="ForwardRef("+(t.displayName||t.name)+")",e},unstable_batchedUpdates:function(t,e){return t(e)},StrictMode:pe,Suspense:St,SuspenseList:Le,lazy:function(t){var e,n,r;function o(i){if(e||(e=t()).then(function(u){n=u.default||u},function(u){r=u}),r)throw r;if(!n)throw e;return ee(n,i)}return o.displayName="Lazy",o.__f=!0,o},__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:fo},mo=["facetName","facetQuery"];function Pn(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),n.push.apply(n,r)}return n}function Fe(t){for(var e=1;e=0||(a[l]=u[l]);return a}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}function be(t,e){return function(n){if(Array.isArray(n))return n}(t)||function(n,r){var o=n==null?null:typeof Symbol<"u"&&n[Symbol.iterator]||n["@@iterator"];if(o!=null){var i,u,s=[],l=!0,f=!1;try{for(o=o.call(n);!(l=(i=o.next()).done)&&(s.push(i.value),!r||s.length!==r);l=!0);}catch(a){f=!0,u=a}finally{try{l||o.return==null||o.return()}finally{if(f)throw u}}return s}}(t,e)||Dr(t,e)||function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function Dr(t,e){if(t){if(typeof t=="string")return Wt(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set"?Array.from(t):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Wt(t,e):void 0}}function Wt(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);nt.length)&&(e=t.length);for(var n=0,r=new Array(e);nt.length)&&(e=t.length);for(var n=0,r=new Array(e);n=0||(a[l]=u[l]);return a}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}function An(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),n.push.apply(n,r)}return n}function Ae(t){for(var e=1;e1&&arguments[1]!==void 0?arguments[1]:20,n=[],r=0;rt.length)&&(e=t.length);for(var n=0,r=new Array(e);n=3||y===2&&d>=4||y===1&&d>=10);function p(m,g,_){if(v&&_!==void 0){var b=_[0].__autocomplete_algoliaCredentials,S={"X-Algolia-Application-Id":b.appId,"X-Algolia-API-Key":b.apiKey};a.apply(void 0,[m].concat(st(g),[{headers:S}]))}else a.apply(void 0,[m].concat(st(g)))}return{init:function(m,g){a("init",{appId:m,apiKey:g})},setUserToken:function(m){a("setUserToken",m)},clickedObjectIDsAfterSearch:function(){for(var m=arguments.length,g=new Array(m),_=0;_0&&p("clickedObjectIDsAfterSearch",ft(g),g[0].items)},clickedObjectIDs:function(){for(var m=arguments.length,g=new Array(m),_=0;_0&&p("clickedObjectIDs",ft(g),g[0].items)},clickedFilters:function(){for(var m=arguments.length,g=new Array(m),_=0;_0&&a.apply(void 0,["clickedFilters"].concat(g))},convertedObjectIDsAfterSearch:function(){for(var m=arguments.length,g=new Array(m),_=0;_0&&p("convertedObjectIDsAfterSearch",ft(g),g[0].items)},convertedObjectIDs:function(){for(var m=arguments.length,g=new Array(m),_=0;_0&&p("convertedObjectIDs",ft(g),g[0].items)},convertedFilters:function(){for(var m=arguments.length,g=new Array(m),_=0;_0&&a.apply(void 0,["convertedFilters"].concat(g))},viewedObjectIDs:function(){for(var m=arguments.length,g=new Array(m),_=0;_0&&g.reduce(function(b,S){var O=S.items,E=xr(S,So);return[].concat(st(b),st(wo(Ae(Ae({},E),{},{objectIDs:(O==null?void 0:O.map(function(k){return k.objectID}))||E.objectIDs})).map(function(k){return{items:O,payload:k}})))},[]).forEach(function(b){var S=b.items;return p("viewedObjectIDs",[b.payload],S)})},viewedFilters:function(){for(var m=arguments.length,g=new Array(m),_=0;_0&&a.apply(void 0,["viewedFilters"].concat(g))}}}(u),l={current:[]},f=Cr(function(a){var h=a.state;if(h.isOpen){var y=h.collections.reduce(function(d,v){return[].concat(Oe(d),Oe(v.items))},[]).filter(xt);Ar(l.current.map(function(d){return d.objectID}),y.map(function(d){return d.objectID}))||(l.current=y,y.length>0&&Io({onItemsChange:r,items:y,insights:s,state:h}))}},0);return{name:"aa.algoliaInsightsPlugin",subscribe:function(a){var h=a.setContext,y=a.onSelect,d=a.onActive;u("addAlgoliaAgent","insights-plugin"),h({algoliaInsightsPlugin:{__algoliaSearchParameters:{clickAnalytics:!0},insights:s}}),y(function(v){var p=v.item,m=v.state,g=v.event;xt(p)&&o({state:m,event:g,insights:s,item:p,insightsEvents:[me({eventName:"Item Selected"},kn({item:p,items:l.current}))]})}),d(function(v){var p=v.item,m=v.state,g=v.event;xt(p)&&i({state:m,event:g,insights:s,item:p,insightsEvents:[me({eventName:"Item Active"},kn({item:p,items:l.current}))]})})},onStateChange:function(a){var h=a.state;f({state:h})},__autocomplete_pluginOptions:t}}function wt(t,e){var n=e;return{then:function(r,o){return wt(t.then(mt(r,n,t),mt(o,n,t)),n)},catch:function(r){return wt(t.catch(mt(r,n,t)),n)},finally:function(r){return r&&n.onCancelList.push(r),wt(t.finally(mt(r&&function(){return n.onCancelList=[],r()},n,t)),n)},cancel:function(){n.isCanceled=!0;var r=n.onCancelList;n.onCancelList=[],r.forEach(function(o){o()})},isCanceled:function(){return n.isCanceled===!0}}}function Nn(t){return wt(t,{isCanceled:!1,onCancelList:[]})}function mt(t,e,n){return t?function(r){return e.isCanceled?r:t(r)}:n}function Tn(t,e,n,r){if(!n)return null;if(t<0&&(e===null||r!==null&&e===0))return n+t;var o=(e===null?-1:e)+t;return o<=-1||o>=n?r===null?null:0:o}function Rn(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),n.push.apply(n,r)}return n}function qn(t){for(var e=1;et.length)&&(e=t.length);for(var n=0,r=new Array(e);nt.length)&&(e=t.length);for(var n=0,r=new Array(e);n=0||(M[w]=P[w]);return M}(_,b);if(Object.getOwnPropertySymbols){var k=Object.getOwnPropertySymbols(_);for(O=0;O=0||Object.prototype.propertyIsEnumerable.call(_,S)&&(E[S]=_[S])}return E}(t,qo);qe&&o.environment.clearTimeout(qe);var f=l.setCollections,a=l.setIsOpen,h=l.setQuery,y=l.setActiveItemId,d=l.setStatus;if(h(i),y(o.defaultActiveItemId),!i&&o.openOnFocus===!1){var v,p=s.getState().collections.map(function(_){return Re(Re({},_),{},{items:[]})});d("idle"),f(p),a((v=r.isOpen)!==null&&v!==void 0?v:o.shouldPanelOpen({state:s.getState()}));var m=Nn(Kn(p).then(function(){return Promise.resolve()}));return s.pendingRequests.add(m)}d("loading"),qe=o.environment.setTimeout(function(){d("stalled")},o.stallThreshold);var g=Nn(Kn(o.getSources(Re({query:i,refresh:u,state:s.getState()},l)).then(function(_){return Promise.all(_.map(function(b){return Promise.resolve(b.getItems(Re({query:i,refresh:u,state:s.getState()},l))).then(function(S){return function(O,E,k){if(I=O,!!(I!=null&&I.execute)){var P=O.requesterId==="algolia"?Object.assign.apply(Object,[{}].concat(Tr(Object.keys(k.context).map(function(w){var T;return(T=k.context[w])===null||T===void 0?void 0:T.__algoliaSearchParameters})))):{};return Ee(Ee({},O),{},{requests:O.queries.map(function(w){return{query:O.requesterId==="algolia"?Ee(Ee({},w),{},{params:Ee(Ee({},P),w.params)}):w,sourceId:E,transformResponse:O.transformResponse}})})}var I;return{items:O,sourceId:E}}(S,b.sourceId,s.getState())})})).then(Ro).then(function(b){return function(S,O,E){return O.map(function(k){var P,I=S.filter(function(C){return C.sourceId===k.sourceId}),w=I.map(function(C){return C.items}),T=I[0].transformResponse,M=T?T({results:P=w,hits:P.map(function(C){return C.hits}).filter(Boolean),facetHits:P.map(function(C){var z;return(z=C.facetHits)===null||z===void 0?void 0:z.map(function(ae){return{label:ae.value,count:ae.count,_highlightResult:{label:{value:ae.highlighted}}}})}).filter(Boolean)}):w;return k.onResolve({source:k,results:w,items:M,state:E.getState()}),M.every(Boolean),'The `getItems` function from source "'.concat(k.sourceId,'" must return an array of items but returned ').concat(JSON.stringify(void 0),`. + +Did you forget to return items? + +See: https://www.algolia.com/doc/ui-libraries/autocomplete/core-concepts/sources/#param-getitems`),{source:k,items:M}})}(b,_,s)}).then(function(b){return function(S){var O=S.props,E=S.state,k=S.collections.reduce(function(I,w){return vt(vt({},I),{},Nr({},w.source.sourceId,vt(vt({},w.source),{},{getItems:function(){return ot(w.items)}})))},{}),P=O.plugins.reduce(function(I,w){return w.reshape?w.reshape(I):I},{sourcesBySourceId:k,state:E}).sourcesBySourceId;return ot(O.reshape({sourcesBySourceId:P,sources:Object.values(P),state:E})).filter(Boolean).map(function(I){return{source:I,items:I.getItems()}})}({collections:b,props:o,state:s.getState()})})}))).then(function(_){var b;d("idle"),f(_);var S=o.shouldPanelOpen({state:s.getState()});a((b=r.isOpen)!==null&&b!==void 0?b:o.openOnFocus&&!i&&S||S);var O=De(s.getState());if(s.getState().activeItemId!==null&&O){var E=O.item,k=O.itemInputValue,P=O.itemUrl,I=O.source;I.onActive(Re({event:e,item:E,itemInputValue:k,itemUrl:P,refresh:u,source:I,state:s.getState()},l))}}).finally(function(){d("idle"),qe&&o.environment.clearTimeout(qe)});return s.pendingRequests.add(g)}function Ge(t){return Ge=typeof Symbol=="function"&&D(Symbol.iterator)=="symbol"?function(e){return D(e)}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":D(e)},Ge(t)}var Mo=["event","props","refresh","store"];function Wn(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),n.push.apply(n,r)}return n}function ye(t){for(var e=1;e=0||(a[l]=u[l]);return a}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}function Xe(t){return Xe=typeof Symbol=="function"&&D(Symbol.iterator)=="symbol"?function(e){return D(e)}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":D(e)},Xe(t)}function Jn(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),n.push.apply(n,r)}return n}function $o(t){for(var e=1;e0},reshape:function(d){return d.sources}},l),{},{id:(a=l.id)!==null&&a!==void 0?a:"autocomplete-".concat(go++),plugins:y,initialState:we({activeItemId:null,query:"",completion:null,collections:[],isOpen:!1,status:"idle",context:{}},l.initialState),onStateChange:function(d){var v;(v=l.onStateChange)===null||v===void 0||v.call(l,d),y.forEach(function(p){var m;return(m=p.onStateChange)===null||m===void 0?void 0:m.call(p,d)})},onSubmit:function(d){var v;(v=l.onSubmit)===null||v===void 0||v.call(l,d),y.forEach(function(p){var m;return(m=p.onSubmit)===null||m===void 0?void 0:m.call(p,d)})},onReset:function(d){var v;(v=l.onReset)===null||v===void 0||v.call(l,d),y.forEach(function(p){var m;return(m=p.onReset)===null||m===void 0?void 0:m.call(p,d)})},getSources:function(d){return Promise.all([].concat(function(v){return function(p){if(Array.isArray(p))return Tt(p)}(v)||function(p){if(typeof Symbol<"u"&&p[Symbol.iterator]!=null||p["@@iterator"]!=null)return Array.from(p)}(v)||function(p,m){if(p){if(typeof p=="string")return Tt(p,m);var g=Object.prototype.toString.call(p).slice(8,-1);return g==="Object"&&p.constructor&&(g=p.constructor.name),g==="Map"||g==="Set"?Array.from(p):g==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(g)?Tt(p,m):void 0}}(v)||function(){throw new TypeError(`Invalid attempt to spread non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}(y.map(function(v){return v.getSources})),[l.getSources]).filter(Boolean).map(function(v){return function(p,m){var g=[];return Promise.resolve(p(m)).then(function(_){return Promise.all(_.filter(function(b){return!!b}).map(function(b){if(b.sourceId,g.includes(b.sourceId))throw new Error("[Autocomplete] The `sourceId` ".concat(JSON.stringify(b.sourceId)," is not unique."));g.push(b.sourceId);var S={getItemInputValue:function(E){return E.state.query},getItemUrl:function(){},onSelect:function(E){(0,E.setIsOpen)(!1)},onActive:Ot,onResolve:Ot};Object.keys(S).forEach(function(E){S[E].__default=!0});var O=qn(qn({},S),b);return Promise.resolve(O)}))})}(v,d)})).then(function(v){return ot(v)}).then(function(v){return v.map(function(p){return we(we({},p),{},{onSelect:function(m){p.onSelect(m),f.forEach(function(g){var _;return(_=g.onSelect)===null||_===void 0?void 0:_.call(g,m)})},onActive:function(m){p.onActive(m),f.forEach(function(g){var _;return(_=g.onActive)===null||_===void 0?void 0:_.call(g,m)})},onResolve:function(m){p.onResolve(m),f.forEach(function(g){var _;return(_=g.onResolve)===null||_===void 0?void 0:_.call(g,m)})}})})})},navigator:we({navigate:function(d){var v=d.itemUrl;h.location.assign(v)},navigateNewTab:function(d){var v=d.itemUrl,p=h.open(v,"_blank","noopener");p==null||p.focus()},navigateNewWindow:function(d){var v=d.itemUrl;h.open(v,"_blank","noopener")}},l.navigator)})}(t,e),r=function(l,f,a){var h,y=f.initialState;return{getState:function(){return y},dispatch:function(d,v){var p=function(m){for(var g=1;g=0||(ct[G]=Se[G]);return ct}(L,ne);if(Object.getOwnPropertySymbols){var Q=Object.getOwnPropertySymbols(L);for(V=0;V=0||Object.prototype.propertyIsEnumerable.call(L,$)&&(ce[$]=L[$])}return ce}(I,Mo);if(w.key==="ArrowUp"||w.key==="ArrowDown"){var ae=function(){var L=T.environment.document.getElementById("".concat(T.id,"-item-").concat(C.getState().activeItemId));L&&(L.scrollIntoViewIfNeeded?L.scrollIntoViewIfNeeded(!1):L.scrollIntoView(!1))},at=function(){var L=De(C.getState());if(C.getState().activeItemId!==null&&L){var ne=L.item,$=L.itemInputValue,V=L.itemUrl,ce=L.source;ce.onActive(ye({event:w,item:ne,itemInputValue:$,itemUrl:V,refresh:M,source:ce,state:C.getState()},z))}};w.preventDefault(),C.getState().isOpen===!1&&(T.openOnFocus||C.getState().query)?je(ye({event:w,props:T,query:C.getState().query,refresh:M,store:C},z)).then(function(){C.dispatch(w.key,{nextActiveItemId:T.defaultActiveItemId}),at(),setTimeout(ae,0)}):(C.dispatch(w.key,{}),at(),ae())}else if(w.key==="Escape")w.preventDefault(),C.dispatch(w.key,null),C.pendingRequests.cancelAll();else if(w.key==="Tab")C.dispatch("blur",null),C.pendingRequests.cancelAll();else if(w.key==="Enter"){if(C.getState().activeItemId===null||C.getState().collections.every(function(L){return L.items.length===0}))return void(T.debug||C.pendingRequests.cancelAll());w.preventDefault();var de=De(C.getState()),H=de.item,he=de.itemInputValue,J=de.itemUrl,Z=de.source;if(w.metaKey||w.ctrlKey)J!==void 0&&(Z.onSelect(ye({event:w,item:H,itemInputValue:he,itemUrl:J,refresh:M,source:Z,state:C.getState()},z)),T.navigator.navigateNewTab({itemUrl:J,item:H,state:C.getState()}));else if(w.shiftKey)J!==void 0&&(Z.onSelect(ye({event:w,item:H,itemInputValue:he,itemUrl:J,refresh:M,source:Z,state:C.getState()},z)),T.navigator.navigateNewWindow({itemUrl:J,item:H,state:C.getState()}));else if(!w.altKey){if(J!==void 0)return Z.onSelect(ye({event:w,item:H,itemInputValue:he,itemUrl:J,refresh:M,source:Z,state:C.getState()},z)),void T.navigator.navigate({itemUrl:J,item:H,state:C.getState()});je(ye({event:w,nextState:{isOpen:!1},props:T,query:he,refresh:M,store:C},z)).then(function(){Z.onSelect(ye({event:w,item:H,itemInputValue:he,itemUrl:J,refresh:M,source:Z,state:C.getState()},z))})}}})(F({event:P,props:f,refresh:a,store:h},y))},onFocus:m,onBlur:Ot,onClick:function(P){v.inputElement!==f.environment.document.activeElement||h.getState().isOpen||m(P)}},S)},getPanelProps:function(v){return F({onMouseDown:function(p){p.preventDefault()},onMouseLeave:function(){h.dispatch("mouseleave",null)}},v)},getListProps:function(v){var p=v||{},m=p.sourceIndex,g=ge(p,Wo);return F({role:"listbox","aria-labelledby":"".concat(d(f.id,m),"-label"),id:"".concat(d(f.id,m),"-list")},g)},getItemProps:function(v){var p=v.item,m=v.source,g=v.sourceIndex,_=ge(v,zo);return F({id:"".concat(d(f.id,g),"-item-").concat(p.__autocomplete_id),role:"option","aria-selected":h.getState().activeItemId===p.__autocomplete_id,onMouseMove:function(b){if(p.__autocomplete_id!==h.getState().activeItemId){h.dispatch("mousemove",p.__autocomplete_id);var S=De(h.getState());if(h.getState().activeItemId!==null&&S){var O=S.item,E=S.itemInputValue,k=S.itemUrl,P=S.source;P.onActive(F({event:b,item:O,itemInputValue:E,itemUrl:k,refresh:a,source:P,state:h.getState()},y))}}},onMouseDown:function(b){b.preventDefault()},onClick:function(b){var S=m.getItemInputValue({item:p,state:h.getState()}),O=m.getItemUrl({item:p,state:h.getState()});(O?Promise.resolve():je(F({event:b,nextState:{isOpen:!1},props:f,query:S,refresh:a,store:h},y))).then(function(){m.onSelect(F({event:b,item:p,itemInputValue:S,itemUrl:O,refresh:a,source:m,state:h.getState()},y))})}},_)}}}(_e({props:n,refresh:u,store:r,navigator:n.navigator},o));function u(){return je(_e({event:new Event("input"),nextState:{isOpen:r.getState().isOpen},props:n,navigator:n.navigator,query:r.getState().query,refresh:u,store:r},o))}if(t.insights&&!n.plugins.some(function(l){return l.name==="aa.algoliaInsightsPlugin"})){var s=typeof t.insights=="boolean"?{}:t.insights;n.plugins.push(Do(s))}return n.plugins.forEach(function(l){var f;return(f=l.subscribe)===null||f===void 0?void 0:f.call(l,_e(_e({},o),{},{navigator:n.navigator,refresh:u,onSelect:function(a){e.push({onSelect:a})},onActive:function(a){e.push({onActive:a})},onResolve:function(a){e.push({onResolve:a})}}))}),function(l){var f,a,h=l.metadata,y=l.environment;if(!((f=y.navigator)===null||f===void 0||(a=f.userAgent)===null||a===void 0)&&a.includes("Algolia Crawler")){var d=y.document.createElement("meta"),v=y.document.querySelector("head");d.name="algolia:metadata",setTimeout(function(){d.content=JSON.stringify(h),v.appendChild(d)},0)}}({metadata:Zo({plugins:n.plugins,options:t}),environment:n.environment}),_e(_e({refresh:u,navigator:n.navigator},i),o)}function ei(t){var e=t.translations,n=(e===void 0?{}:e).searchByText,r=n===void 0?"Search by":n;return c.createElement("a",{href:"https://www.algolia.com/ref/docsearch/?utm_source=".concat(window.location.hostname,"&utm_medium=referral&utm_content=powered_by&utm_campaign=docsearch"),target:"_blank",rel:"noopener noreferrer"},c.createElement("span",{className:"DocSearch-Label"},r),c.createElement("svg",{width:"77",height:"19","aria-label":"Algolia",role:"img",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 2196.2 500"},c.createElement("defs",null,c.createElement("style",null,".cls-1,.cls-2{fill:#003dff;}.cls-2{fill-rule:evenodd;}")),c.createElement("path",{className:"cls-2",d:"M1070.38,275.3V5.91c0-3.63-3.24-6.39-6.82-5.83l-50.46,7.94c-2.87,.45-4.99,2.93-4.99,5.84l.17,273.22c0,12.92,0,92.7,95.97,95.49,3.33,.1,6.09-2.58,6.09-5.91v-40.78c0-2.96-2.19-5.51-5.12-5.84-34.85-4.01-34.85-47.57-34.85-54.72Z"}),c.createElement("rect",{className:"cls-1",x:"1845.88",y:"104.73",width:"62.58",height:"277.9",rx:"5.9",ry:"5.9"}),c.createElement("path",{className:"cls-2",d:"M1851.78,71.38h50.77c3.26,0,5.9-2.64,5.9-5.9V5.9c0-3.62-3.24-6.39-6.82-5.83l-50.77,7.95c-2.87,.45-4.99,2.92-4.99,5.83v51.62c0,3.26,2.64,5.9,5.9,5.9Z"}),c.createElement("path",{className:"cls-2",d:"M1764.03,275.3V5.91c0-3.63-3.24-6.39-6.82-5.83l-50.46,7.94c-2.87,.45-4.99,2.93-4.99,5.84l.17,273.22c0,12.92,0,92.7,95.97,95.49,3.33,.1,6.09-2.58,6.09-5.91v-40.78c0-2.96-2.19-5.51-5.12-5.84-34.85-4.01-34.85-47.57-34.85-54.72Z"}),c.createElement("path",{className:"cls-2",d:"M1631.95,142.72c-11.14-12.25-24.83-21.65-40.78-28.31-15.92-6.53-33.26-9.85-52.07-9.85-18.78,0-36.15,3.17-51.92,9.85-15.59,6.66-29.29,16.05-40.76,28.31-11.47,12.23-20.38,26.87-26.76,44.03-6.38,17.17-9.24,37.37-9.24,58.36,0,20.99,3.19,36.87,9.55,54.21,6.38,17.32,15.14,32.11,26.45,44.36,11.29,12.23,24.83,21.62,40.6,28.46,15.77,6.83,40.12,10.33,52.4,10.48,12.25,0,36.78-3.82,52.7-10.48,15.92-6.68,29.46-16.23,40.78-28.46,11.29-12.25,20.05-27.04,26.25-44.36,6.22-17.34,9.24-33.22,9.24-54.21,0-20.99-3.34-41.19-10.03-58.36-6.38-17.17-15.14-31.8-26.43-44.03Zm-44.43,163.75c-11.47,15.75-27.56,23.7-48.09,23.7-20.55,0-36.63-7.8-48.1-23.7-11.47-15.75-17.21-34.01-17.21-61.2,0-26.89,5.59-49.14,17.06-64.87,11.45-15.75,27.54-23.52,48.07-23.52,20.55,0,36.63,7.78,48.09,23.52,11.47,15.57,17.36,37.98,17.36,64.87,0,27.19-5.72,45.3-17.19,61.2Z"}),c.createElement("path",{className:"cls-2",d:"M894.42,104.73h-49.33c-48.36,0-90.91,25.48-115.75,64.1-14.52,22.58-22.99,49.63-22.99,78.73,0,44.89,20.13,84.92,51.59,111.1,2.93,2.6,6.05,4.98,9.31,7.14,12.86,8.49,28.11,13.47,44.52,13.47,1.23,0,2.46-.03,3.68-.09,.36-.02,.71-.05,1.07-.07,.87-.05,1.75-.11,2.62-.2,.34-.03,.68-.08,1.02-.12,.91-.1,1.82-.21,2.73-.34,.21-.03,.42-.07,.63-.1,32.89-5.07,61.56-30.82,70.9-62.81v57.83c0,3.26,2.64,5.9,5.9,5.9h50.42c3.26,0,5.9-2.64,5.9-5.9V110.63c0-3.26-2.64-5.9-5.9-5.9h-56.32Zm0,206.92c-12.2,10.16-27.97,13.98-44.84,15.12-.16,.01-.33,.03-.49,.04-1.12,.07-2.24,.1-3.36,.1-42.24,0-77.12-35.89-77.12-79.37,0-10.25,1.96-20.01,5.42-28.98,11.22-29.12,38.77-49.74,71.06-49.74h49.33v142.83Z"}),c.createElement("path",{className:"cls-2",d:"M2133.97,104.73h-49.33c-48.36,0-90.91,25.48-115.75,64.1-14.52,22.58-22.99,49.63-22.99,78.73,0,44.89,20.13,84.92,51.59,111.1,2.93,2.6,6.05,4.98,9.31,7.14,12.86,8.49,28.11,13.47,44.52,13.47,1.23,0,2.46-.03,3.68-.09,.36-.02,.71-.05,1.07-.07,.87-.05,1.75-.11,2.62-.2,.34-.03,.68-.08,1.02-.12,.91-.1,1.82-.21,2.73-.34,.21-.03,.42-.07,.63-.1,32.89-5.07,61.56-30.82,70.9-62.81v57.83c0,3.26,2.64,5.9,5.9,5.9h50.42c3.26,0,5.9-2.64,5.9-5.9V110.63c0-3.26-2.64-5.9-5.9-5.9h-56.32Zm0,206.92c-12.2,10.16-27.97,13.98-44.84,15.12-.16,.01-.33,.03-.49,.04-1.12,.07-2.24,.1-3.36,.1-42.24,0-77.12-35.89-77.12-79.37,0-10.25,1.96-20.01,5.42-28.98,11.22-29.12,38.77-49.74,71.06-49.74h49.33v142.83Z"}),c.createElement("path",{className:"cls-2",d:"M1314.05,104.73h-49.33c-48.36,0-90.91,25.48-115.75,64.1-11.79,18.34-19.6,39.64-22.11,62.59-.58,5.3-.88,10.68-.88,16.14s.31,11.15,.93,16.59c4.28,38.09,23.14,71.61,50.66,94.52,2.93,2.6,6.05,4.98,9.31,7.14,12.86,8.49,28.11,13.47,44.52,13.47h0c17.99,0,34.61-5.93,48.16-15.97,16.29-11.58,28.88-28.54,34.48-47.75v50.26h-.11v11.08c0,21.84-5.71,38.27-17.34,49.36-11.61,11.08-31.04,16.63-58.25,16.63-11.12,0-28.79-.59-46.6-2.41-2.83-.29-5.46,1.5-6.27,4.22l-12.78,43.11c-1.02,3.46,1.27,7.02,4.83,7.53,21.52,3.08,42.52,4.68,54.65,4.68,48.91,0,85.16-10.75,108.89-32.21,21.48-19.41,33.15-48.89,35.2-88.52V110.63c0-3.26-2.64-5.9-5.9-5.9h-56.32Zm0,64.1s.65,139.13,0,143.36c-12.08,9.77-27.11,13.59-43.49,14.7-.16,.01-.33,.03-.49,.04-1.12,.07-2.24,.1-3.36,.1-1.32,0-2.63-.03-3.94-.1-40.41-2.11-74.52-37.26-74.52-79.38,0-10.25,1.96-20.01,5.42-28.98,11.22-29.12,38.77-49.74,71.06-49.74h49.33Z"}),c.createElement("path",{className:"cls-1",d:"M249.83,0C113.3,0,2,110.09,.03,246.16c-2,138.19,110.12,252.7,248.33,253.5,42.68,.25,83.79-10.19,120.3-30.03,3.56-1.93,4.11-6.83,1.08-9.51l-23.38-20.72c-4.75-4.21-11.51-5.4-17.36-2.92-25.48,10.84-53.17,16.38-81.71,16.03-111.68-1.37-201.91-94.29-200.13-205.96,1.76-110.26,92-199.41,202.67-199.41h202.69V407.41l-115-102.18c-3.72-3.31-9.42-2.66-12.42,1.31-18.46,24.44-48.53,39.64-81.93,37.34-46.33-3.2-83.87-40.5-87.34-86.81-4.15-55.24,39.63-101.52,94-101.52,49.18,0,89.68,37.85,93.91,85.95,.38,4.28,2.31,8.27,5.52,11.12l29.95,26.55c3.4,3.01,8.79,1.17,9.63-3.3,2.16-11.55,2.92-23.58,2.07-35.92-4.82-70.34-61.8-126.93-132.17-131.26-80.68-4.97-148.13,58.14-150.27,137.25-2.09,77.1,61.08,143.56,138.19,145.26,32.19,.71,62.03-9.41,86.14-26.95l150.26,133.2c6.44,5.71,16.61,1.14,16.61-7.47V9.48C499.66,4.25,495.42,0,490.18,0H249.83Z"})))}function yt(t){return c.createElement("svg",{width:"15",height:"15","aria-label":t.ariaLabel,role:"img"},c.createElement("g",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.2"},t.children))}function ti(t){var e=t.translations,n=e===void 0?{}:e,r=n.selectText,o=r===void 0?"to select":r,i=n.selectKeyAriaLabel,u=i===void 0?"Enter key":i,s=n.navigateText,l=s===void 0?"to navigate":s,f=n.navigateUpKeyAriaLabel,a=f===void 0?"Arrow up":f,h=n.navigateDownKeyAriaLabel,y=h===void 0?"Arrow down":h,d=n.closeText,v=d===void 0?"to close":d,p=n.closeKeyAriaLabel,m=p===void 0?"Escape key":p,g=n.searchByText,_=g===void 0?"Search by":g;return c.createElement(c.Fragment,null,c.createElement("div",{className:"DocSearch-Logo"},c.createElement(ei,{translations:{searchByText:_}})),c.createElement("ul",{className:"DocSearch-Commands"},c.createElement("li",null,c.createElement("kbd",{className:"DocSearch-Commands-Key"},c.createElement(yt,{ariaLabel:u},c.createElement("path",{d:"M12 3.53088v3c0 1-1 2-2 2H4M7 11.53088l-3-3 3-3"}))),c.createElement("span",{className:"DocSearch-Label"},o)),c.createElement("li",null,c.createElement("kbd",{className:"DocSearch-Commands-Key"},c.createElement(yt,{ariaLabel:y},c.createElement("path",{d:"M7.5 3.5v8M10.5 8.5l-3 3-3-3"}))),c.createElement("kbd",{className:"DocSearch-Commands-Key"},c.createElement(yt,{ariaLabel:a},c.createElement("path",{d:"M7.5 11.5v-8M10.5 6.5l-3-3-3 3"}))),c.createElement("span",{className:"DocSearch-Label"},l)),c.createElement("li",null,c.createElement("kbd",{className:"DocSearch-Commands-Key"},c.createElement(yt,{ariaLabel:m},c.createElement("path",{d:"M13.6167 8.936c-.1065.3583-.6883.962-1.4875.962-.7993 0-1.653-.9165-1.653-2.1258v-.5678c0-1.2548.7896-2.1016 1.653-2.1016.8634 0 1.3601.4778 1.4875 1.0724M9 6c-.1352-.4735-.7506-.9219-1.46-.8972-.7092.0246-1.344.57-1.344 1.2166s.4198.8812 1.3445.9805C8.465 7.3992 8.968 7.9337 9 8.5c.032.5663-.454 1.398-1.4595 1.398C6.6593 9.898 6 9 5.963 8.4851m-1.4748.5368c-.2635.5941-.8099.876-1.5443.876s-1.7073-.6248-1.7073-2.204v-.4603c0-1.0416.721-2.131 1.7073-2.131.9864 0 1.6425 1.031 1.5443 2.2492h-2.956"}))),c.createElement("span",{className:"DocSearch-Label"},v))))}function ni(t){var e=t.hit,n=t.children;return c.createElement("a",{href:e.url},n)}function ri(){return c.createElement("svg",{viewBox:"0 0 38 38",stroke:"currentColor",strokeOpacity:".5"},c.createElement("g",{fill:"none",fillRule:"evenodd"},c.createElement("g",{transform:"translate(1 1)",strokeWidth:"2"},c.createElement("circle",{strokeOpacity:".3",cx:"18",cy:"18",r:"18"}),c.createElement("path",{d:"M36 18c0-9.94-8.06-18-18-18"},c.createElement("animateTransform",{attributeName:"transform",type:"rotate",from:"0 18 18",to:"360 18 18",dur:"1s",repeatCount:"indefinite"})))))}function oi(){return c.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20"},c.createElement("g",{stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round"},c.createElement("path",{d:"M3.18 6.6a8.23 8.23 0 1112.93 9.94h0a8.23 8.23 0 01-11.63 0"}),c.createElement("path",{d:"M6.44 7.25H2.55V3.36M10.45 6v5.6M10.45 11.6L13 13"})))}function Jt(){return c.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20"},c.createElement("path",{d:"M10 10l5.09-5.09L10 10l5.09 5.09L10 10zm0 0L4.91 4.91 10 10l-5.09 5.09L10 10z",stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round"}))}function ii(){return c.createElement("svg",{className:"DocSearch-Hit-Select-Icon",width:"20",height:"20",viewBox:"0 0 20 20"},c.createElement("g",{stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round"},c.createElement("path",{d:"M18 3v4c0 2-2 4-4 4H2"}),c.createElement("path",{d:"M8 17l-6-6 6-6"})))}var ai=function(){return c.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20"},c.createElement("path",{d:"M17 6v12c0 .52-.2 1-1 1H4c-.7 0-1-.33-1-1V2c0-.55.42-1 1-1h8l5 5zM14 8h-3.13c-.51 0-.87-.34-.87-.87V4",stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinejoin:"round"}))};function ci(t){switch(t.type){case"lvl1":return c.createElement(ai,null);case"content":return c.createElement(li,null);default:return c.createElement(ui,null)}}function ui(){return c.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20"},c.createElement("path",{d:"M13 13h4-4V8H7v5h6v4-4H7V8H3h4V3v5h6V3v5h4-4v5zm-6 0v4-4H3h4z",stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round"}))}function li(){return c.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20"},c.createElement("path",{d:"M17 5H3h14zm0 5H3h14zm0 5H3h14z",stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinejoin:"round"}))}function Gn(){return c.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20"},c.createElement("path",{d:"M10 14.2L5 17l1-5.6-4-4 5.5-.7 2.5-5 2.5 5 5.6.8-4 4 .9 5.5z",stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinejoin:"round"}))}function si(){return c.createElement("svg",{width:"40",height:"40",viewBox:"0 0 20 20",fill:"none",fillRule:"evenodd",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"},c.createElement("path",{d:"M19 4.8a16 16 0 00-2-1.2m-3.3-1.2A16 16 0 001.1 4.7M16.7 8a12 12 0 00-2.8-1.4M10 6a12 12 0 00-6.7 2M12.3 14.7a4 4 0 00-4.5 0M14.5 11.4A8 8 0 0010 10M3 16L18 2M10 18h0"}))}function fi(){return c.createElement("svg",{width:"40",height:"40",viewBox:"0 0 20 20",fill:"none",fillRule:"evenodd",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"},c.createElement("path",{d:"M15.5 4.8c2 3 1.7 7-1 9.7h0l4.3 4.3-4.3-4.3a7.8 7.8 0 01-9.8 1m-2.2-2.2A7.8 7.8 0 0113.2 2.4M2 18L18 2"}))}function mi(t){var e=t.translations,n=e===void 0?{}:e,r=n.titleText,o=r===void 0?"Unable to fetch results":r,i=n.helpText,u=i===void 0?"You might want to check your network connection.":i;return c.createElement("div",{className:"DocSearch-ErrorScreen"},c.createElement("div",{className:"DocSearch-Screen-Icon"},c.createElement(si,null)),c.createElement("p",{className:"DocSearch-Title"},o),c.createElement("p",{className:"DocSearch-Help"},u))}var pi=["translations"];function vi(t){var e=t.translations,n=e===void 0?{}:e,r=ve(t,pi),o=n.noResultsText,i=o===void 0?"No results for":o,u=n.suggestedQueryText,s=u===void 0?"Try searching for":u,l=n.reportMissingResultsText,f=l===void 0?"Believe this query should return results?":l,a=n.reportMissingResultsLinkText,h=a===void 0?"Let us know.":a,y=r.state.context.searchSuggestions;return c.createElement("div",{className:"DocSearch-NoResults"},c.createElement("div",{className:"DocSearch-Screen-Icon"},c.createElement(fi,null)),c.createElement("p",{className:"DocSearch-Title"},i,' "',c.createElement("strong",null,r.state.query),'"'),y&&y.length>0&&c.createElement("div",{className:"DocSearch-NoResults-Prefill-List"},c.createElement("p",{className:"DocSearch-Help"},s,":"),c.createElement("ul",null,y.slice(0,3).reduce(function(d,v){return[].concat(function(p){return function(m){if(Array.isArray(m))return Wt(m)}(p)||function(m){if(typeof Symbol<"u"&&m[Symbol.iterator]!=null||m["@@iterator"]!=null)return Array.from(m)}(p)||Dr(p)||function(){throw new TypeError(`Invalid attempt to spread non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}(d),[c.createElement("li",{key:v},c.createElement("button",{className:"DocSearch-Prefill",key:v,type:"button",onClick:function(){r.setQuery(v.toLowerCase()+" "),r.refresh(),r.inputRef.current.focus()}},v))])},[]))),r.getMissingResultsUrl&&c.createElement("p",{className:"DocSearch-Help"},"".concat(f," "),c.createElement("a",{href:r.getMissingResultsUrl({query:r.state.query}),target:"_blank",rel:"noopener noreferrer"},h)))}var di=["hit","attribute","tagName"];function Yn(t,e){return e.split(".").reduce(function(n,r){return n!=null&&n[r]?n[r]:null},t)}function Pe(t){var e=t.hit,n=t.attribute,r=t.tagName;return ee(r===void 0?"span":r,Fe(Fe({},ve(t,di)),{},{dangerouslySetInnerHTML:{__html:Yn(e,"_snippetResult.".concat(n,".value"))||Yn(e,n)}}))}function $t(t){return t.collection&&t.collection.items.length!==0?c.createElement("section",{className:"DocSearch-Hits"},c.createElement("div",{className:"DocSearch-Hit-source"},t.title),c.createElement("ul",t.getListProps(),t.collection.items.map(function(e,n){return c.createElement(hi,B({key:[t.title,e.objectID].join(":"),item:e,index:n},t))}))):null}function hi(t){var e=t.item,n=t.index,r=t.renderIcon,o=t.renderAction,i=t.getItemProps,u=t.onItemClick,s=t.collection,l=t.hitComponent,f=be(c.useState(!1),2),a=f[0],h=f[1],y=be(c.useState(!1),2),d=y[0],v=y[1],p=c.useRef(null),m=l;return c.createElement("li",B({className:["DocSearch-Hit",e.__docsearch_parent&&"DocSearch-Hit--Child",a&&"DocSearch-Hit--deleting",d&&"DocSearch-Hit--favoriting"].filter(Boolean).join(" "),onTransitionEnd:function(){p.current&&p.current()}},i({item:e,source:s.source,onClick:function(g){u(e,g)}})),c.createElement(m,{hit:e},c.createElement("div",{className:"DocSearch-Hit-Container"},r({item:e,index:n}),e.hierarchy[e.type]&&e.type==="lvl1"&&c.createElement("div",{className:"DocSearch-Hit-content-wrapper"},c.createElement(Pe,{className:"DocSearch-Hit-title",hit:e,attribute:"hierarchy.lvl1"}),e.content&&c.createElement(Pe,{className:"DocSearch-Hit-path",hit:e,attribute:"content"})),e.hierarchy[e.type]&&(e.type==="lvl2"||e.type==="lvl3"||e.type==="lvl4"||e.type==="lvl5"||e.type==="lvl6")&&c.createElement("div",{className:"DocSearch-Hit-content-wrapper"},c.createElement(Pe,{className:"DocSearch-Hit-title",hit:e,attribute:"hierarchy.".concat(e.type)}),c.createElement(Pe,{className:"DocSearch-Hit-path",hit:e,attribute:"hierarchy.lvl1"})),e.type==="content"&&c.createElement("div",{className:"DocSearch-Hit-content-wrapper"},c.createElement(Pe,{className:"DocSearch-Hit-title",hit:e,attribute:"content"}),c.createElement(Pe,{className:"DocSearch-Hit-path",hit:e,attribute:"hierarchy.lvl1"})),o({item:e,runDeleteTransition:function(g){h(!0),p.current=g},runFavoriteTransition:function(g){v(!0),p.current=g}}))))}function Xn(t,e,n){return t.reduce(function(r,o){var i=e(o);return r.hasOwnProperty(i)||(r[i]=[]),r[i].length<(n||5)&&r[i].push(o),r},{})}function er(t){return t}function gt(t){return t.button===1||t.altKey||t.ctrlKey||t.metaKey||t.shiftKey}function yi(){}var qr=/(|<\/mark>)/g,gi=RegExp(qr.source);function Lr(t){var e,n,r=t;if(!r.__docsearch_parent&&!t._highlightResult)return t.hierarchy.lvl0;var o=((r.__docsearch_parent?(e=r.__docsearch_parent)===null||e===void 0||(e=e._highlightResult)===null||e===void 0||(e=e.hierarchy)===null||e===void 0?void 0:e.lvl0:(n=t._highlightResult)===null||n===void 0||(n=n.hierarchy)===null||n===void 0?void 0:n.lvl0)||{}).value;return o&&gi.test(o)?o.replace(qr,""):o}function _i(t){return c.createElement("div",{className:"DocSearch-Dropdown-Container"},t.state.collections.map(function(e){if(e.items.length===0)return null;var n=Lr(e.items[0]);return c.createElement($t,B({},t,{key:e.source.sourceId,title:n,collection:e,renderIcon:function(r){var o,i=r.item,u=r.index;return c.createElement(c.Fragment,null,i.__docsearch_parent&&c.createElement("svg",{className:"DocSearch-Hit-Tree",viewBox:"0 0 24 54"},c.createElement("g",{stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round"},i.__docsearch_parent!==((o=e.items[u+1])===null||o===void 0?void 0:o.__docsearch_parent)?c.createElement("path",{d:"M8 6v21M20 27H8.3"}):c.createElement("path",{d:"M8 6v42M20 27H8.3"}))),c.createElement("div",{className:"DocSearch-Hit-icon"},c.createElement(ci,{type:i.type})))},renderAction:function(){return c.createElement("div",{className:"DocSearch-Hit-action"},c.createElement(ii,null))}}))}),t.resultsFooterComponent&&c.createElement("section",{className:"DocSearch-HitsFooter"},c.createElement(t.resultsFooterComponent,{state:t.state})))}var bi=["translations"];function Si(t){var e=t.translations,n=e===void 0?{}:e,r=ve(t,bi),o=n.recentSearchesTitle,i=o===void 0?"Recent":o,u=n.noRecentSearchesText,s=u===void 0?"No recent searches":u,l=n.saveRecentSearchButtonTitle,f=l===void 0?"Save this search":l,a=n.removeRecentSearchButtonTitle,h=a===void 0?"Remove this search from history":a,y=n.favoriteSearchesTitle,d=y===void 0?"Favorite":y,v=n.removeFavoriteSearchButtonTitle,p=v===void 0?"Remove this search from favorites":v;return r.state.status==="idle"&&r.hasCollections===!1?r.disableUserPersonalization?null:c.createElement("div",{className:"DocSearch-StartScreen"},c.createElement("p",{className:"DocSearch-Help"},s)):r.hasCollections===!1?null:c.createElement("div",{className:"DocSearch-Dropdown-Container"},c.createElement($t,B({},r,{title:i,collection:r.state.collections[0],renderIcon:function(){return c.createElement("div",{className:"DocSearch-Hit-icon"},c.createElement(oi,null))},renderAction:function(m){var g=m.item,_=m.runFavoriteTransition,b=m.runDeleteTransition;return c.createElement(c.Fragment,null,c.createElement("div",{className:"DocSearch-Hit-action"},c.createElement("button",{className:"DocSearch-Hit-action-button",title:f,type:"submit",onClick:function(S){S.preventDefault(),S.stopPropagation(),_(function(){r.favoriteSearches.add(g),r.recentSearches.remove(g),r.refresh()})}},c.createElement(Gn,null))),c.createElement("div",{className:"DocSearch-Hit-action"},c.createElement("button",{className:"DocSearch-Hit-action-button",title:h,type:"submit",onClick:function(S){S.preventDefault(),S.stopPropagation(),b(function(){r.recentSearches.remove(g),r.refresh()})}},c.createElement(Jt,null))))}})),c.createElement($t,B({},r,{title:d,collection:r.state.collections[1],renderIcon:function(){return c.createElement("div",{className:"DocSearch-Hit-icon"},c.createElement(Gn,null))},renderAction:function(m){var g=m.item,_=m.runDeleteTransition;return c.createElement("div",{className:"DocSearch-Hit-action"},c.createElement("button",{className:"DocSearch-Hit-action-button",title:p,type:"submit",onClick:function(b){b.preventDefault(),b.stopPropagation(),_(function(){r.favoriteSearches.remove(g),r.refresh()})}},c.createElement(Jt,null)))}})))}var Oi=["translations"],wi=c.memo(function(t){var e=t.translations,n=e===void 0?{}:e,r=ve(t,Oi);if(r.state.status==="error")return c.createElement(mi,{translations:n==null?void 0:n.errorScreen});var o=r.state.collections.some(function(i){return i.items.length>0});return r.state.query?o===!1?c.createElement(vi,B({},r,{translations:n==null?void 0:n.noResultsScreen})):c.createElement(_i,r):c.createElement(Si,B({},r,{hasCollections:o,translations:n==null?void 0:n.startScreen}))},function(t,e){return e.state.status==="loading"||e.state.status==="stalled"}),Ei=["translations"];function ji(t){var e=t.translations,n=e===void 0?{}:e,r=ve(t,Ei),o=n.resetButtonTitle,i=o===void 0?"Clear the query":o,u=n.resetButtonAriaLabel,s=u===void 0?"Clear the query":u,l=n.cancelButtonText,f=l===void 0?"Cancel":l,a=n.cancelButtonAriaLabel,h=a===void 0?"Cancel":a,y=n.searchInputLabel,d=y===void 0?"Search":y,v=r.getFormProps({inputElement:r.inputRef.current}).onReset;return c.useEffect(function(){r.autoFocus&&r.inputRef.current&&r.inputRef.current.focus()},[r.autoFocus,r.inputRef]),c.useEffect(function(){r.isFromSelection&&r.inputRef.current&&r.inputRef.current.select()},[r.isFromSelection,r.inputRef]),c.createElement(c.Fragment,null,c.createElement("form",{className:"DocSearch-Form",onSubmit:function(p){p.preventDefault()},onReset:v},c.createElement("label",B({className:"DocSearch-MagnifierLabel"},r.getLabelProps()),c.createElement(kr,null),c.createElement("span",{className:"DocSearch-VisuallyHiddenForAccessibility"},d)),c.createElement("div",{className:"DocSearch-LoadingIndicator"},c.createElement(ri,null)),c.createElement("input",B({className:"DocSearch-Input",ref:r.inputRef},r.getInputProps({inputElement:r.inputRef.current,autoFocus:r.autoFocus,maxLength:64}))),c.createElement("button",{type:"reset",title:i,className:"DocSearch-Reset","aria-label":s,hidden:!r.state.query},c.createElement(Jt,null))),c.createElement("button",{className:"DocSearch-Cancel",type:"reset","aria-label":h,onClick:r.onClose},f))}var Pi=["_highlightResult","_snippetResult"];function tr(t){var e=t.key,n=t.limit,r=n===void 0?5:n,o=function(u){return function(){var s="__TEST_KEY__";try{return localStorage.setItem(s,""),localStorage.removeItem(s),!0}catch{return!1}}()===!1?{setItem:function(){},getItem:function(){return[]}}:{setItem:function(s){return window.localStorage.setItem(u,JSON.stringify(s))},getItem:function(){var s=window.localStorage.getItem(u);return s?JSON.parse(s):[]}}}(e),i=o.getItem().slice(0,r);return{add:function(u){var s=u,l=(s._highlightResult,s._snippetResult,ve(s,Pi)),f=i.findIndex(function(a){return a.objectID===l.objectID});f>-1&&i.splice(f,1),i.unshift(l),i=i.slice(0,r),o.setItem(i)},remove:function(u){i=i.filter(function(s){return s.objectID!==u.objectID}),o.setItem(i)},getAll:function(){return i}}}function Ii(t){var e,n="algoliasearch-client-js-".concat(t.key),r=function(){return e===void 0&&(e=t.localStorage||window.localStorage),e},o=function(){return JSON.parse(r().getItem(n)||"{}")},i=function(u){r().setItem(n,JSON.stringify(u))};return{get:function(u,s){var l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{miss:function(){return Promise.resolve()}};return Promise.resolve().then(function(){(function(){var a=t.timeToLive?1e3*t.timeToLive:null,h=o(),y=Object.fromEntries(Object.entries(h).filter(function(v){return Ie(v,2)[1].timestamp!==void 0}));if(i(y),a){var d=Object.fromEntries(Object.entries(y).filter(function(v){var p=Ie(v,2)[1],m=new Date().getTime();return!(p.timestamp+a2&&arguments[2]!==void 0?arguments[2]:{miss:function(){return Promise.resolve()}};return o().then(function(u){return Promise.all([u,i.miss(u)])}).then(function(u){return Ie(u,1)[0]})},set:function(r,o){return Promise.resolve(o)},delete:function(r){return Promise.resolve()},clear:function(){return Promise.resolve()}}:{get:function(r,o){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{miss:function(){return Promise.resolve()}};return n.get(r,o,i).catch(function(){return Me({caches:e}).get(r,o,i)})},set:function(r,o){return n.set(r,o).catch(function(){return Me({caches:e}).set(r,o)})},delete:function(r){return n.delete(r).catch(function(){return Me({caches:e}).delete(r)})},clear:function(){return n.clear().catch(function(){return Me({caches:e}).clear()})}}}function Lt(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{serializable:!0},e={};return{get:function(n,r){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{miss:function(){return Promise.resolve()}},i=JSON.stringify(n);if(i in e)return Promise.resolve(t.serializable?JSON.parse(e[i]):e[i]);var u=r(),s=o&&o.miss||function(){return Promise.resolve()};return u.then(function(l){return s(l)}).then(function(){return u})},set:function(n,r){return e[JSON.stringify(n)]=t.serializable?JSON.stringify(r):r,Promise.resolve(r)},delete:function(n){return delete e[JSON.stringify(n)],Promise.resolve()},clear:function(){return e={},Promise.resolve()}}}function Di(t){for(var e=t.length-1;e>0;e--){var n=Math.floor(Math.random()*(e+1)),r=t[e];t[e]=t[n],t[n]=r}return t}function Mr(t,e){return e&&Object.keys(e).forEach(function(n){t[n]=e[n](t)}),t}function Pt(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r0?r:void 0,timeout:n.timeout||e,headers:n.headers||{},queryParameters:n.queryParameters||{},cacheable:n.cacheable}}var ke={Read:1,Write:2,Any:3};function rr(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return N(N({},t),{},{status:e,lastUpdate:Date.now()})}function Hr(t){return typeof t=="string"?{protocol:"https",url:t,accept:ke.Any}:{protocol:t.protocol||"https",url:t.url,accept:t.accept||ke.Any}}var It="POST";function or(t,e,n,r){var o=[],i=function(y,d){if(y.method!=="GET"&&(y.data!==void 0||d.data!==void 0)){var v=Array.isArray(y.data)?y.data:N(N({},y.data),d.data);return JSON.stringify(v)}}(n,r),u=function(y,d){var v=N(N({},y.headers),d.headers),p={};return Object.keys(v).forEach(function(m){var g=v[m];p[m.toLowerCase()]=g}),p}(t,r),s=n.method,l=n.method!=="GET"?{}:N(N({},n.data),r.data),f=N(N(N({"x-algolia-agent":t.userAgent.value},t.queryParameters),l),r.queryParameters),a=0,h=function y(d,v){var p=d.pop();if(p===void 0)throw{name:"RetryError",message:"Unreachable hosts - your application id may be incorrect. If the error persists, contact support@algolia.com.",transporterStackTrace:ir(o)};var m={data:i,headers:u,method:s,url:Ci(p,n.path,f),connectTimeout:v(a,t.timeouts.connect),responseTimeout:v(a,r.timeout)},g=function(b){var S={request:m,response:b,host:p,triesLeft:d.length};return o.push(S),S},_={onSuccess:function(b){return function(S){try{return JSON.parse(S.content)}catch(O){throw function(E,k){return{name:"DeserializationError",message:E,response:k}}(O.message,S)}}(b)},onRetry:function(b){var S=g(b);return b.isTimedOut&&a++,Promise.all([t.logger.info("Retryable failure",Fr(S)),t.hostsCache.set(p,rr(p,b.isTimedOut?3:2))]).then(function(){return y(d,v)})},onFail:function(b){throw g(b),function(S,O){var E=S.content,k=S.status,P=E;try{P=JSON.parse(E).message}catch{}return function(I,w,T){return{name:"ApiError",message:I,status:w,transporterStackTrace:T}}(P,k,O)}(b,ir(o))}};return t.requester.send(m).then(function(b){return function(S,O){return function(E){var k=E.status;return E.isTimedOut||function(P){var I=P.isTimedOut,w=P.status;return!I&&~~w==0}(E)||~~(k/100)!=2&&~~(k/100)!=4}(S)?O.onRetry(S):~~(S.status/100)==2?O.onSuccess(S):O.onFail(S)}(b,_)})};return function(y,d){return Promise.all(d.map(function(v){return y.get(v,function(){return Promise.resolve(rr(v))})})).then(function(v){var p=v.filter(function(_){return function(b){return b.status===1||Date.now()-b.lastUpdate>12e4}(_)}),m=v.filter(function(_){return function(b){return b.status===3&&Date.now()-b.lastUpdate<=12e4}(_)}),g=[].concat(_t(p),_t(m));return{getTimeout:function(_,b){return(m.length===0&&_===0?1:m.length+3+_)*b},statelessHosts:g.length>0?g.map(function(_){return Hr(_)}):d}})}(t.hostsCache,e).then(function(y){return h(_t(y.statelessHosts).reverse(),y.getTimeout)})}function ki(t){var e={value:"Algolia for JavaScript (".concat(t,")"),add:function(n){var r="; ".concat(n.segment).concat(n.version!==void 0?" (".concat(n.version,")"):"");return e.value.indexOf(r)===-1&&(e.value="".concat(e.value).concat(r)),e}};return e}function Ci(t,e,n){var r=Ur(n),o="".concat(t.protocol,"://").concat(t.url,"/").concat(e.charAt(0)==="/"?e.substr(1):e);return r.length&&(o+="?".concat(r)),o}function Ur(t){return Object.keys(t).map(function(e){return Pt("%s=%s",e,(n=t[e],Object.prototype.toString.call(n)==="[object Object]"||Object.prototype.toString.call(n)==="[object Array]"?JSON.stringify(t[e]):t[e]));var n}).join("&")}function ir(t){return t.map(function(e){return Fr(e)})}function Fr(t){var e=t.request.headers["x-algolia-api-key"]?{"x-algolia-api-key":"*****"}:{};return N(N({},t),{},{request:N(N({},t.request),{},{headers:N(N({},t.request.headers),e)})})}var Ai=function(t){return function(e,n){return e.method==="GET"?t.transporter.read(e,n):t.transporter.write(e,n)}},Br=function(t){return function(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Mr({transporter:t.transporter,appId:t.appId,indexName:e},n.methods)}},ar=function(t){return function(e,n){var r=e.map(function(o){return N(N({},o),{},{params:Ur(o.params||{})})});return t.transporter.read({method:It,path:"1/indexes/*/queries",data:{requests:r},cacheable:!0},n)}},cr=function(t){return function(e,n){return Promise.all(e.map(function(r){var o=r.params,i=o.facetName,u=o.facetQuery,s=function(l,f){if(l==null)return{};var a,h,y=function(v,p){if(v==null)return{};var m,g,_={},b=Object.keys(v);for(g=0;g=0||(_[m]=v[m]);return _}(l,f);if(Object.getOwnPropertySymbols){var d=Object.getOwnPropertySymbols(l);for(h=0;h=0||Object.prototype.propertyIsEnumerable.call(l,a)&&(y[a]=l[a])}return y}(o,mo);return Br(t)(r.indexName,{methods:{searchForFacetValues:Vr}}).searchForFacetValues(i,u,N(N({},n),s))}))}},xi=function(t){return function(e,n,r){return t.transporter.read({method:It,path:Pt("1/answers/%s/prediction",t.indexName),data:{query:e,queryLanguages:n},cacheable:!0},r)}},Ni=function(t){return function(e,n){return t.transporter.read({method:It,path:Pt("1/indexes/%s/query",t.indexName),data:{query:e},cacheable:!0},n)}},Vr=function(t){return function(e,n,r){return t.transporter.read({method:It,path:Pt("1/indexes/%s/facets/%s/query",t.indexName,e),data:{facetQuery:n},cacheable:!0},r)}};function Kr(t,e,n){var r={appId:t,apiKey:e,timeouts:{connect:1,read:2,write:30},requester:{send:function(o){return new Promise(function(i){var u=new XMLHttpRequest;u.open(o.method,o.url,!0),Object.keys(o.headers).forEach(function(a){return u.setRequestHeader(a,o.headers[a])});var s,l=function(a,h){return setTimeout(function(){u.abort(),i({status:0,content:h,isTimedOut:!0})},1e3*a)},f=l(o.connectTimeout,"Connection timeout");u.onreadystatechange=function(){u.readyState>u.OPENED&&s===void 0&&(clearTimeout(f),s=l(o.responseTimeout,"Socket timeout"))},u.onerror=function(){u.status===0&&(clearTimeout(f),clearTimeout(s),i({content:u.responseText||"Network request failed",status:u.status,isTimedOut:!1}))},u.onload=function(){clearTimeout(f),clearTimeout(s),i({content:u.responseText,status:u.status,isTimedOut:!1})},u.send(o.data)})}},logger:{debug:function(o,i){return Promise.resolve()},info:function(o,i){return Promise.resolve()},error:function(o,i){return console.error(o,i),Promise.resolve()}},responsesCache:Lt(),requestsCache:Lt({serializable:!1}),hostsCache:Me({caches:[Ii({key:"4.19.1-".concat(t)}),Lt()]}),userAgent:ki("4.19.1").add({segment:"Browser",version:"lite"}),authMode:0};return function(o){var i=o.appId,u=function(f,a,h){var y={"x-algolia-api-key":h,"x-algolia-application-id":a};return{headers:function(){return f===1?y:{}},queryParameters:function(){return f===0?y:{}}}}(o.authMode!==void 0?o.authMode:1,i,o.apiKey),s=function(f){var a=f.hostsCache,h=f.logger,y=f.requester,d=f.requestsCache,v=f.responsesCache,p=f.timeouts,m=f.userAgent,g=f.hosts,_=f.queryParameters,b={hostsCache:a,logger:h,requester:y,requestsCache:d,responsesCache:v,timeouts:p,userAgent:m,headers:f.headers,queryParameters:_,hosts:g.map(function(S){return Hr(S)}),read:function(S,O){var E=nr(O,b.timeouts.read),k=function(){return or(b,b.hosts.filter(function(I){return(I.accept&ke.Read)!=0}),S,E)};if((E.cacheable!==void 0?E.cacheable:S.cacheable)!==!0)return k();var P={request:S,mappedRequestOptions:E,transporter:{queryParameters:b.queryParameters,headers:b.headers}};return b.responsesCache.get(P,function(){return b.requestsCache.get(P,function(){return b.requestsCache.set(P,k()).then(function(I){return Promise.all([b.requestsCache.delete(P),I])},function(I){return Promise.all([b.requestsCache.delete(P),Promise.reject(I)])}).then(function(I){var w=Ie(I,2);return w[0],w[1]})})},{miss:function(I){return b.responsesCache.set(P,I)}})},write:function(S,O){return or(b,b.hosts.filter(function(E){return(E.accept&ke.Write)!=0}),S,nr(O,b.timeouts.write))}};return b}(N(N({hosts:[{url:"".concat(i,"-dsn.algolia.net"),accept:ke.Read},{url:"".concat(i,".algolia.net"),accept:ke.Write}].concat(Di([{url:"".concat(i,"-1.algolianet.com")},{url:"".concat(i,"-2.algolianet.com")},{url:"".concat(i,"-3.algolianet.com")}]))},o),{},{headers:N(N({},u.headers()),{},{"content-type":"application/x-www-form-urlencoded"},o.headers),queryParameters:N(N({},u.queryParameters()),o.queryParameters)})),l={transporter:s,appId:i,addAlgoliaAgent:function(f,a){s.userAgent.add({segment:f,version:a})},clearCache:function(){return Promise.all([s.requestsCache.clear(),s.responsesCache.clear()]).then(function(){})}};return Mr(l,o.methods)}(N(N(N({},r),n),{},{methods:{search:ar,searchForFacetValues:cr,multipleQueries:ar,multipleSearchForFacetValues:cr,customRequest:Ai,initIndex:function(o){return function(i){return Br(o)(i,{methods:{search:Ni,searchForFacetValues:Vr,findAnswers:xi}})}}}}))}Kr.version="4.19.1";var Ti=["footer","searchBox"];function Ri(t){var e=t.appId,n=t.apiKey,r=t.indexName,o=t.placeholder,i=o===void 0?"Search docs":o,u=t.searchParameters,s=t.maxResultsPerGroup,l=t.onClose,f=l===void 0?yi:l,a=t.transformItems,h=a===void 0?er:a,y=t.hitComponent,d=y===void 0?ni:y,v=t.resultsFooterComponent,p=v===void 0?function(){return null}:v,m=t.navigator,g=t.initialScrollY,_=g===void 0?0:g,b=t.transformSearchClient,S=b===void 0?er:b,O=t.disableUserPersonalization,E=O!==void 0&&O,k=t.initialQuery,P=k===void 0?"":k,I=t.translations,w=I===void 0?{}:I,T=t.getMissingResultsUrl,M=t.insights,C=M!==void 0&&M,z=w.footer,ae=w.searchBox,at=ve(w,Ti),de=be(c.useState({query:"",collections:[],completion:null,context:{},isOpen:!1,activeItemId:null,status:"idle"}),2),H=de[0],he=de[1],J=c.useRef(null),Z=c.useRef(null),L=c.useRef(null),ne=c.useRef(null),$=c.useRef(null),V=c.useRef(10),ce=c.useRef(typeof window<"u"?window.getSelection().toString().slice(0,64):"").current,Q=c.useRef(P||ce).current,Se=function(A,R,U){return c.useMemo(function(){var W=Kr(A,R);return W.addAlgoliaAgent("docsearch","3.6.1"),/docsearch.js \(.*\)/.test(W.transporter.userAgent.value)===!1&&W.addAlgoliaAgent("docsearch-react","3.6.1"),U(W)},[A,R,U])}(e,n,S),ue=c.useRef(tr({key:"__DOCSEARCH_FAVORITE_SEARCHES__".concat(r),limit:10})).current,G=c.useRef(tr({key:"__DOCSEARCH_RECENT_SEARCHES__".concat(r),limit:ue.getAll().length===0?7:4})).current,Y=c.useCallback(function(A){if(!E){var R=A.type==="content"?A.__docsearch_parent:A;R&&ue.getAll().findIndex(function(U){return U.objectID===R.objectID})===-1&&G.add(R)}},[ue,G,E]),ct=c.useCallback(function(A){if(H.context.algoliaInsightsPlugin&&A.__autocomplete_id){var R=A,U={eventName:"Item Selected",index:R.__autocomplete_indexName,items:[R],positions:[A.__autocomplete_id],queryID:R.__autocomplete_queryID};H.context.algoliaInsightsPlugin.insights.clickedObjectIDsAfterSearch(U)}},[H.context.algoliaInsightsPlugin]),le=c.useMemo(function(){return Xo({id:"docsearch",defaultActiveItemId:0,placeholder:i,openOnFocus:!0,initialState:{query:Q,context:{searchSuggestions:[]}},insights:C,navigator:m,onStateChange:function(A){he(A.state)},getSources:function(A){var R=A.query,U=A.state,W=A.setContext,se=A.setStatus;if(!R)return E?[]:[{sourceId:"recentSearches",onSelect:function(q){var X=q.item,Ne=q.event;Y(X),gt(Ne)||f()},getItemUrl:function(q){return q.item.url},getItems:function(){return G.getAll()}},{sourceId:"favoriteSearches",onSelect:function(q){var X=q.item,Ne=q.event;Y(X),gt(Ne)||f()},getItemUrl:function(q){return q.item.url},getItems:function(){return ue.getAll()}}];var fe=!!C;return Se.search([{query:R,indexName:r,params:Fe({attributesToRetrieve:["hierarchy.lvl0","hierarchy.lvl1","hierarchy.lvl2","hierarchy.lvl3","hierarchy.lvl4","hierarchy.lvl5","hierarchy.lvl6","content","type","url"],attributesToSnippet:["hierarchy.lvl1:".concat(V.current),"hierarchy.lvl2:".concat(V.current),"hierarchy.lvl3:".concat(V.current),"hierarchy.lvl4:".concat(V.current),"hierarchy.lvl5:".concat(V.current),"hierarchy.lvl6:".concat(V.current),"content:".concat(V.current)],snippetEllipsisText:"…",highlightPreTag:"",highlightPostTag:"",hitsPerPage:20,clickAnalytics:fe},u)}]).catch(function(q){throw q.name==="RetryError"&&se("error"),q}).then(function(q){var X=q.results[0],Ne=X.hits,Jr=X.nbHits,Dt=Xn(Ne,function(kt){return Lr(kt)},s);U.context.searchSuggestions.length0&&(en(),$.current&&$.current.focus())},[Q,en]),c.useEffect(function(){function A(){if(Z.current){var R=.01*window.innerHeight;Z.current.style.setProperty("--docsearch-vh","".concat(R,"px"))}}return A(),window.addEventListener("resize",A),function(){window.removeEventListener("resize",A)}},[]),c.createElement("div",B({ref:J},zr({"aria-expanded":!0}),{className:["DocSearch","DocSearch-Container",H.status==="stalled"&&"DocSearch-Container--Stalled",H.status==="error"&&"DocSearch-Container--Errored"].filter(Boolean).join(" "),role:"button",tabIndex:0,onMouseDown:function(A){A.target===A.currentTarget&&f()}}),c.createElement("div",{className:"DocSearch-Modal",ref:Z},c.createElement("header",{className:"DocSearch-SearchBar",ref:L},c.createElement(ji,B({},le,{state:H,autoFocus:Q.length===0,inputRef:$,isFromSelection:!!Q&&Q===ce,translations:ae,onClose:f}))),c.createElement("div",{className:"DocSearch-Dropdown",ref:ne},c.createElement(wi,B({},le,{indexName:r,state:H,hitComponent:d,resultsFooterComponent:p,disableUserPersonalization:E,recentSearches:G,favoriteSearches:ue,inputRef:$,translations:at,getMissingResultsUrl:T,onItemClick:function(A,R){ct(A),Y(A),gt(R)||f()}}))),c.createElement("footer",{className:"DocSearch-Footer"},c.createElement(ti,{translations:z}))))}function qi(t){var e,n,r=c.useRef(null),o=be(c.useState(!1),2),i=o[0],u=o[1],s=be(c.useState((t==null?void 0:t.initialQuery)||void 0),2),l=s[0],f=s[1],a=c.useCallback(function(){u(!0)},[u]),h=c.useCallback(function(){u(!1)},[u]);return function(y){var d=y.isOpen,v=y.onOpen,p=y.onClose,m=y.onInput,g=y.searchButtonRef;c.useEffect(function(){function _(b){var S;(b.keyCode===27&&d||((S=b.key)===null||S===void 0?void 0:S.toLowerCase())==="k"&&(b.metaKey||b.ctrlKey)||!function(O){var E=O.target,k=E.tagName;return E.isContentEditable||k==="INPUT"||k==="SELECT"||k==="TEXTAREA"}(b)&&b.key==="/"&&!d)&&(b.preventDefault(),d?p():document.body.classList.contains("DocSearch--active")||document.body.classList.contains("DocSearch--active")||v()),g&&g.current===document.activeElement&&m&&/[a-zA-Z0-9]/.test(String.fromCharCode(b.keyCode))&&m(b)}return window.addEventListener("keydown",_),function(){window.removeEventListener("keydown",_)}},[d,v,p,m,g])}({isOpen:i,onOpen:a,onClose:h,onInput:c.useCallback(function(y){u(!0),f(y.key)},[u,f]),searchButtonRef:r}),c.createElement(c.Fragment,null,c.createElement(yo,{ref:r,translations:t==null||(e=t.translations)===null||e===void 0?void 0:e.button,onClick:a}),i&&Er(c.createElement(Ri,B({},t,{initialScrollY:window.scrollY,initialQuery:l,translations:t==null||(n=t.translations)===null||n===void 0?void 0:n.modal,onClose:h})),document.body))}function Li(t){Pr(c.createElement(qi,Mt({},t,{transformSearchClient:function(e){return e.addAlgoliaAgent("docsearch.js","3.6.1"),t.transformSearchClient?t.transformSearchClient(e):e}})),function(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:window;return typeof e=="string"?n.document.querySelector(e):e}(t.container,t.environment))}export{Li as default}; diff --git a/assets/index-wx.html-BbsdHAGY.js b/assets/index-wx.html-BbsdHAGY.js new file mode 100644 index 000000000..8e46ade8c --- /dev/null +++ b/assets/index-wx.html-BbsdHAGY.js @@ -0,0 +1 @@ +import{_ as c}from"./CC-BY-SA_icon-BrYTWxWC.js";import{_ as p,r as s,o as a,c as o,a as t,b as e,d as r,w as d,e as l}from"./app-CAXKJsZK.js";const u={},f=e("h1",{id:"📚你科手册",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#📚你科手册"},[e("span",null,"📚你科手册")])],-1),g=e("ul",null,[e("li",null,"为 SUSTecher 提供快捷信息查询服务。"),e("li",null,"移动端须点击左上角,打开目录。"),e("li",null,[e("a",{href:"/miniapp"},"微信小程序,点击这里"),r("。")]),e("li",null,[e("a",{href:"/about"},"内容有问题?功能提建议?手册招维护!")])],-1),_={style:{display:"none"}},m=e("symbol",{id:"link-icon",viewBox:"0 0 100 100"},[e("path",{fill:"currentColor",d:"M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"}),r(),e("polygon",{fill:"currentColor",points:"45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"})],-1),b=[m],k={class:"tg"},x=e("th",{class:"tg-0lax"},[e("h3",null,"快捷入口"),e("ul",null,[e("li",null,[e("a",{href:"https://www.sustech.edu.cn/",target:"_blank",rel:"noopener noreferrer"},[r("官网链接 "),e("svg",{"aria-hidden":"true",x:"0px",y:"0px",width:"15",height:"15",class:"icon outbound"},[e("use",{href:"#link-icon"})])])]),e("li",null,[e("a",{href:"https://lib.sustech.edu.cn/",target:"_blank",rel:"noopener noreferrer"},[r("图书馆 "),e("svg",{"aria-hidden":"true",x:"0px",y:"0px",width:"15",height:"15",class:"icon outbound"},[e("use",{href:"#link-icon"})])])]),e("li",null,[e("a",{href:"https://mail.sustech.edu.cn",target:"_blank",rel:"noopener noreferrer"},[r("邮箱服务 "),e("svg",{"aria-hidden":"true",x:"0px",y:"0px",width:"15",height:"15",class:"icon outbound"},[e("use",{href:"#link-icon"})])])]),e("li",null,[e("a",{href:"https://ehall.sustech.edu.cn/new/index.html",target:"_blank",rel:"noopener noreferrer"},[r("服务大厅 "),e("svg",{"aria-hidden":"true",x:"0px",y:"0px",width:"15",height:"15",class:"icon outbound"},[e("use",{href:"#link-icon"})])])]),e("li",null,[e("a",{href:"https://sakai.sustech.edu.cn",target:"_blank",rel:"noopener noreferrer"},[r("Sakai "),e("svg",{"aria-hidden":"true",x:"0px",y:"0px",width:"15",height:"15",class:"icon outbound"},[e("use",{href:"#link-icon"})])]),r(", "),e("a",{href:"https://bb.sustech.edu.cn/",target:"_blank",rel:"noopener noreferrer"},[r("Blackboard"),e("svg",{"aria-hidden":"true",x:"0px",y:"0px",width:"15",height:"15",class:"icon outbound"},[e("use",{href:"#link-icon"})])])]),e("li",null,[e("a",{href:"https://pms.sustech.edu.cn",target:"_blank",rel:"noopener noreferrer"},[r("联创打印"),e("svg",{"aria-hidden":"true",x:"0px",y:"0px",width:"15",height:"15",class:"icon outbound"},[e("use",{href:"#link-icon"})])]),r(", "),e("a",{href:"http://172.18.1.141/",target:"_blank",rel:"noopener noreferrer"},[r("(备用)"),e("svg",{"aria-hidden":"true",x:"0px",y:"0px",width:"15",height:"15",class:"icon outbound"},[e("use",{href:"#link-icon"})])])]),e("li",null,[e("a",{href:"https://campuscard.sustech.edu.cn/epay/thirdconsume/qrcode",target:"_blank",rel:"noopener noreferrer"},[r("校园卡二维码 "),e("svg",{"aria-hidden":"true",x:"0px",y:"0px",width:"15",height:"15",class:"icon outbound"},[e("use",{href:"#link-icon"})])])])])],-1),E={class:"tg-0lax"},v=e("h3",null,[e("a",{href:"./transport/"},[r("交通 / 地图"),e("svg",{"aria-hidden":"true",x:"0px",y:"0px",width:"15",height:"15",class:"icon outbound"},[e("use",{href:"#link-icon"})])])],-1),y=e("li",null,[e("a",{href:"./transport/bustimer.html"},"巴士时刻表与车辆位置查看")],-1),A=e("li",null,[e("a",{href:"/facility/"},"校园街景")],-1),B={href:"https://nces.cra.moe/"},w=e("li",null,[e("a",{href:"http://live.cra.moe/"},"校园风景直播")],-1),C=e("div",{class:"emergency"},[e("p",null,[e("a",{href:"./emergency"},[r("紧急情况?AED,药箱,就医,失窃,前往「应急处理」"),e("svg",{"aria-hidden":"true",x:"0px",y:"0px",width:"15",height:"15",class:"icon outbound"},[e("use",{href:"#link-icon"})])])])],-1),S={id:"牛娃课程评价社区",tabindex:"-1"},z={class:"header-anchor",href:"#牛娃课程评价社区"},F=e("p",null,[e("a",{href:"https://nces.cra.moe/",target:"_blank",rel:"noopener noreferrer"},"牛娃课程评价社区"),r("(NCES,Niuwa Curriculum Evaluation System)是南科大学生的课程评价社区,因此,只有拥有南科大邮箱的同学或老师才可以注册账户。"),e("a",{href:"https://icourse.club/",target:"_blank",rel:"noopener noreferrer"},"中科大同款评教系统"),r(",赓续教改初心。NCES现已支持通过课程名称,代码及教师快速检索课程并直达课程大纲,更加方便你的选课!")],-1),N={id:"如果你是新生",tabindex:"-1"},D={class:"header-anchor",href:"#如果你是新生"},T=e("a",{href:"./if-you-are-a-freshman/preview"},"蓢村拾遗:南科大冷知识2021",-1),P=l('

数说大一

  • 你也可以阅读基于南科大同学大创项目的调查研究成果:

    • https://luckychen.site/ 帮助入学前、大一上、大一下阶段的你更好地适应大学的学习与生活,进而找到自己的发展方向。

    • https://luckychen.site/数说大一/ 《数说大一》——基于392份问卷的统计结果告诉你大一专业选择会遇到的困难。

',2),R={id:"飞跃手册-申请与校招经验",tabindex:"-1"},U={class:"header-anchor",href:"#飞跃手册-申请与校招经验"},V=l('

南科大飞跃手册共有五部分,分别为英语学习,海外交流,选校经验,申请注意事项和个人申请总结,力求为 “如何在南方科技大学为申请国内、海外高校和入职优秀企业做出更全面的准备“ 这一问题作出解答。需要特别指出的是,飞跃手册具有一定的时效性,比如一些热门专业每年的申请形式都会发生极大变化,再比如当我们谈及“xx专业19fall是史上最难申请的一年”,这有可能意味着20fall会更难申请,所以参考往年飞跃手册时请注意。

校园地图

由sustech.online团队制作的校园地图。地图底图采用南科大2022版最新规划图,并添加校园巴士线路,打印机,商店,收发室等实用信息。(尝试新版交互式校园地图!可全屏,实时定位)

点击这里下载矢量PDF版本,目前版本:3.2,2022年8月更新。

版权信息

未做特别声明的内容,均按照CC-BY-SA 4.0协议进行分发。

注意事项

CC-BY-SA协议允许您自由地共享(在任何媒介以任何形式复制、发行本作品),演绎(修改、转换或以本作品为基础进行创作,在任何用途下,甚至商业目的)。

但惟须遵守以下条件:

  1. 署名 — 您必须给出适当的署名,提供指向本许可协议的链接,同时标明是否(对原始作品)作了修改。您可以用任何合理的方式来署名,但是不得以任何方式暗示许可人为您或您的使用背书。
  2. 相同方式共享 — 如果您再混合、转换或者基于本作品进行创作,您必须基于与原先许可协议相同的许可协议 分发您贡献的作品。
  3. 没有附加限制 — 您不得适用法律术语或者 技术措施 从而限制其他人做许可协议允许的事情。

做出特别声明的内容,版权按声明执行。

For International Students

Please use the Google translation tool in Chrome to translate the manual.

支持与备案信息

关于广告

你科手册的建设与运营均由同学独立完成。为了令「你科手册」能够稳定运行,我们可能会在某些页面的底部和小程序中开屏页面中展示由微信Google提供的广告以维持服务器和CDN的开销,敬请谅解。

我们将尽力确保:

  • 应急处理页面内不会出现广告
  • 其他页面内的广告不多于一个

🚧 本站由 SUSTech OSS Mirrors 提供部分静态资源及图片的加速服务,SUSTech CRA 提供技术支持


🏛️ 粤ICP备18047383号

',21);function q(I,W){const i=s("WeatherSpan"),n=s("Badge"),h=s("RouteLink");return a(),o("div",null,[f,t(i),g,(a(),o("svg",_,b)),e("table",k,[e("thead",null,[e("tr",null,[x,e("th",E,[v,e("ul",null,[y,A,e("li",null,[e("a",B,[r("牛娃课程评价社区"),t(n,{text:"春季选课",type:"danger"})])]),w])])])])]),C,e("h2",S,[e("a",z,[e("span",null,[r("牛娃课程评价社区 "),t(n,{text:"选课合作",type:"tip"})])])]),F,e("h2",N,[e("a",D,[e("span",null,[r("如果你是新生... "),t(n,{text:"For Freshman",type:"tip"})])])]),e("p",null,[r("如果你是准大一的同学,可以先看看冯小漠为大家整理南科大的非正统历史故事"),T,r("。"),t(h,{to:"/if-you-are-a-freshman/2021.html"},{default:d(()=>[r("点击这里")]),_:1}),r("看看我们为 2021年的学生准备的 Quickstart of SUSTech,了解并开启你的大学生活!")]),P,e("h2",R,[e("a",U,[e("span",null,[r("飞跃手册:申请与校招经验 "),t(n,{text:"秋季特别合作",type:"tip"})])])]),V])}const M=p(u,[["render",q],["__file","index-wx.html.vue"]]),O=JSON.parse('{"path":"/index-wx.html","title":"📚你科手册","lang":"zh-CN","frontmatter":{},"headers":[{"level":2,"title":"牛娃课程评价社区","slug":"牛娃课程评价社区","link":"#牛娃课程评价社区","children":[]},{"level":2,"title":"如果你是新生...","slug":"如果你是新生","link":"#如果你是新生","children":[]},{"level":2,"title":"飞跃手册:申请与校招经验","slug":"飞跃手册-申请与校招经验","link":"#飞跃手册-申请与校招经验","children":[]},{"level":2,"title":"校园地图","slug":"校园地图","link":"#校园地图","children":[]},{"level":2,"title":"版权信息","slug":"版权信息","link":"#版权信息","children":[]},{"level":2,"title":"For International Students","slug":"for-international-students","link":"#for-international-students","children":[]},{"level":2,"title":"支持与备案信息","slug":"支持与备案信息","link":"#支持与备案信息","children":[{"level":3,"title":"关于广告","slug":"关于广告","link":"#关于广告","children":[]}]}],"git":{"updatedTime":1725108671000,"contributors":[{"name":"liziwl","email":"leezisy@gmail.com","commits":7},{"name":"sparkcyf","email":"sparktour@outlook.com","commits":1}]},"filePathRelative":"index-wx.md"}');export{M as comp,O as data}; diff --git a/assets/index.html-2k2ELrJC.js b/assets/index.html-2k2ELrJC.js new file mode 100644 index 000000000..8aec95772 --- /dev/null +++ b/assets/index.html-2k2ELrJC.js @@ -0,0 +1 @@ +import{_ as e,a as t,b as l,c as n,d as a,e as r}from"./3-By_0Luwc.js";import{_ as p,o as i,c as s,e as h}from"./app-CAXKJsZK.js";const o={},c=h('

🛍周边

提示

点击地名,可以直接跳转到高德地图进行导航。

🛍大型商城

塘朗城

塘朗站

塘朗站B出口即达。

常见的连锁餐饮店铺
麦当劳
海底捞
达美乐披萨
黄记煌三汁焖锅
港七茶餐厅
大家乐
华润万家乐购

宝能城

塘朗站

常见的连锁餐饮店铺
麦当劳
肯德基
必胜客
小龙坎火锅
探鱼
尊宝披萨
肥韬茶餐厅
常见的饮料店铺
一点点
沪上阿姨
喜茶
奈雪的茶
Coco都可

益田假日里

大学城站

大学城站D出口即达。

九方

红山站

红山站A1出口,步行650米即达,步行约8分钟。

大型mall;价位适中,离学较近;商场种类齐全;商场内部有不错的电影院。

西丽天虹

西丽站,地铁25分钟

价位较低,离学校特别近;商场超市种类齐全;商场附近有较多买衣服的平价小店;商场附近就有电影院和美食店(如木屋烧烤、肯德基、必胜客)。

民治大润发

民治站,地铁30分钟

价位较低,离学校特别近;商场超市种类齐全;附近有很多小吃;大润发上层是电影院,性价比较高;有木屋烧烤、肯德基、必胜客、鸡排等。

提示

下方的商场距离学校车程均超过30分钟。

星河 Coco City

白石龙站,地铁40分钟

大型mall;价位适中,性价比较高;有不错的电影院;

华侨城欢乐海岸

深圳湾公园站,距学校约1小时地铁,25分钟车程。

华侨城欢乐海岸是个蛮舒服的地方。依海而建,可以饱览深圳湾海景。这里隐藏着一众高端会所,据说可以坐游艇出海。对于普通游客来说,这里消费略高,但也都在可接受范围内,比较适合晚上情侣或者是三四个好友结伴去玩。有水幕电影和灯光喷泉秀。这里也有全球最大的水母展馆和国内最大的珊瑚展厅,简直不要太浪漫。那里的店很多都是音乐餐吧,菜式也偏休闲化。就着麻辣的蒜香的小龙虾喝几杯精酿,一个晚上很轻松地就过去了。

海上世界

海上世界站,距学校约1小时地铁,40分钟车程。

万象天地

高新园站,地铁50分钟。(坐公交更快)

华为全球旗舰店座落处;众多大品牌在这里开设了大规模、超人气、高档次的专卖店;众多网红品牌在这里聚集;诚品生活所在地(即将退出深圳市场),记得去打卡!

国贸大厦

国贸站,距学校约1小时地铁,40分钟车程。

在国贸大厦的顶层有一个旋转餐厅,是邓小平当年发表南巡讲话的地方。接待过很多的中外政要,包括江泽民、胡锦涛、尼克松、布什等等。餐厅地处罗湖中心,一个小时旋转一周,能眺望深圳湾、红树林、梧桐山、罗湖口岸和对面的香港上水,深圳的精华尽收眼底。在那里吃正餐价格有些偏贵,但是吃早茶倒是个不错的选择。早茶是自助的,人均八十左右。

其实去国贸大厦喝早茶有点“XXX到此一吃”的意思,象征意义大于实际意义。在改革开放四十年风云激荡的起点,看看和小平爷爷当年已截然不同的深圳,感受一下“深圳速度”的神话。从更实际一点的角度来看……牛百叶和鲜虾烧麦还真有点好吃。

福田星河COCO Park

购物公园站,距学校约40分钟地铁,23分钟车程。

隆重推荐一下酒吧集中地COCO PARK。COCO PARK的酒吧都比较国际化,很多外国人会来这里。有些酒吧的waiter也是老外,请用英文点单。 COCO PARK里有一家网红士多便利店。白天看起来就是一家普普通通的便利店,还会嫌它货品少。入夜,八点之后,酒吧开放。拉开冰柜里面就是一条暗道,走进去是Speakeasy酒吧。二楼的入口还有机关,蛮有意思的一家店。

部分推荐酒吧:

EDEN:氛围较好,分为内场与外场,内场为夜店,外场为酒吧。外场鸡尾酒均价68元,适合与朋友小酌。

Sicilia西西里

华强北

华新站,地铁60分钟。

中国最大电子商场之一;有地下商业街和多个购物中心;有深圳文化介绍;附近有图书馆,歌剧院等。

华润万象城

大剧院站,地铁50分钟。

目前深圳最大的购物中心,是集零售、餐饮、娱乐、休闲、文化、康体于一身的“一站式”商业消费中心。购物中心位于罗湖的CBD,深圳书城的旁边。商场里面的环境非常好,很舒适,配套设施也很齐全。商场内有很多世界著名的高端品牌,几乎你能想到的品牌,在这里都能找到。

🏠城中村

田寮村

深圳大学西丽校区南门(惟理门)对面,有一些特色小吃店/餐馆。

福光新村

由原址在南科大的福光村搬迁而来,在田寮村西边,有小吃店、餐馆。福光社区工作站有港澳通行证自动续签机。

塘朗村

天天吃食堂多少会觉得有些厌倦,不妨周末出门小搓一顿,犒劳一下勤奋又聪明的自己。最烟火气食物都藏在村里。哪家粥铺最好吃?这是一届届总结流传的小秘密。糖水,烧烤,椰子鸡……来自四方的食物很自然的流入城市的洼地,不管你从哪里来,总能在村里找到一碗乡愁。

在福光新村西边,较大的城中村,可以配钥匙。塘朗社区工作站有港澳通行证自动续签机。

集悦城

集悦城有蛮多小酒馆,南科大的学长在那里开了一个叫“海浪15”的酒吧。店主有时候能弄出奇奇怪怪又蛮好喝的特调。店里面还有复古游戏机,浓浓的美帝复古风。个人比较中意MAB,点一杯单一麦芽威士忌不加冰——酒什么价冰什么价,冰一化就没有那种醇香了。

🍴周边餐饮

由树德书院学长团整理。

  • 疯码常德米粉:维也纳3好酒店旁,学苑大道1155号107铺,正宗湖南常德粉味,凭校园卡85折(柜台点单)

  • 秦元素:学苑大道与塘朗路交叉口,维也纳3好酒店旁,学苑大道1155-2号,凭校园卡88折(柜台点单)

  • 关中源:水木丹华商业街18号铺,凭校园卡88折(柜台点单)

  • 金达莱:学苑大道南科大雅苑1099号,满100减20元

  • 鱼品记:西丽街道塘朗崇文花园5A栋一楼34号,凭校园卡88折

    • 5-8人 送任意饮料(除苹果醋);8-12人 送一凉菜一荤菜;生日聚会员工帮庆祝送果拼盘+饮料+一荤菜
  • 任我行:南山区崇文花园5b栋商28号,校园卡9折

  • 至尊披萨:南山区塘朗社区唐益路129号塘朗工业园一楼108号铺

    • 美团外卖满40送一瓶饮料;微信电话订餐满100, 7.8折;到店凭校园卡,送两罐饮料
  • 老石烧烤:集悦城门口,凭校园卡88折并赠送饮料

  • 赤焰小串:西丽塘朗村集悦美食城B区4栋01-03号,校园卡9折

  • 一品轩:学苑大道水木丹华园1层-28号一号铺,校园卡88折

  • 原麦多多:桃源街道学苑大道塘朗崇文花园大生优品内,学生证88折

  • 泰渭果园:华晖云门1099号,校园卡9折

  • 轶茶空间:学苑大道1099号华晖云门40号铺,学生证8折

  • 鱼的错:学苑大道1155号塘朗元头巷5栋塘2229号(百果园旁)

  • 尤川麻辣烫:塘朗村54栋

  • 老谭黑鱼:学苑大道田寮大厦1楼

  • 沪上阿姨:学苑大道1155-1号

  • 雪满天:学苑大道1099号华晖云门34号商铺

  • 黄氏正轩:崇文花园东门6A36铺

  • 爽爽甜品:塘朗村1号一楼102铺

  • 益寿轩砂锅粥:西丽街道塘岭路崇文花园5A楼一楼25号

  • unicCoffee&猫咖:学苑大道1155号

🏨住宿

校外的酒店则优先考虑维也纳塘朗雅园。这两家酒店离学校很近,出一号门右转,步行8分钟即可到达。价格略贵,和前台小姐姐说你是南科大学生会有一定折扣。不过雅园的房间会比维也纳略大一些,因此大家可优先考虑雅园。

邦拓美诺行政公寓、滨河云居精品公寓是新开业的酒店式公寓,位于2019年开业的塘朗城购物中心的写字楼内。距离地铁站距离小于200米,交通便利。高层的居住条件使得可以俯瞰南科大一号门全景。房间干净,设备齐全而且新,可用空间大,也不失为一个不错的选择。

参考资料

  • 树德书院《南科行前记》
  • 南科新知新生攻略
',70),d=[c];function g(m,u){return i(),s("div",null,d)}const k=p(o,[["render",g],["__file","index.html.vue"]]),_=JSON.parse('{"path":"/surroundings/","title":"🛍周边","lang":"zh-CN","frontmatter":{},"headers":[{"level":2,"title":"🛍大型商城","slug":"🛍大型商城","link":"#🛍大型商城","children":[{"level":3,"title":"塘朗城","slug":"塘朗城","link":"#塘朗城","children":[]},{"level":3,"title":"宝能城","slug":"宝能城","link":"#宝能城","children":[]},{"level":3,"title":"益田假日里","slug":"益田假日里","link":"#益田假日里","children":[]},{"level":3,"title":"九方","slug":"九方","link":"#九方","children":[]},{"level":3,"title":"西丽天虹","slug":"西丽天虹","link":"#西丽天虹","children":[]},{"level":3,"title":"民治大润发","slug":"民治大润发","link":"#民治大润发","children":[]},{"level":3,"title":"星河 Coco City","slug":"星河-coco-city","link":"#星河-coco-city","children":[]},{"level":3,"title":"华侨城欢乐海岸","slug":"华侨城欢乐海岸","link":"#华侨城欢乐海岸","children":[]},{"level":3,"title":"海上世界","slug":"海上世界","link":"#海上世界","children":[]},{"level":3,"title":"万象天地","slug":"万象天地","link":"#万象天地","children":[]},{"level":3,"title":"国贸大厦","slug":"国贸大厦","link":"#国贸大厦","children":[]},{"level":3,"title":"福田星河COCO Park","slug":"福田星河coco-park","link":"#福田星河coco-park","children":[]},{"level":3,"title":"华强北","slug":"华强北","link":"#华强北","children":[]},{"level":3,"title":"华润万象城","slug":"华润万象城","link":"#华润万象城","children":[]}]},{"level":2,"title":"🏠城中村","slug":"🏠城中村","link":"#🏠城中村","children":[{"level":3,"title":"田寮村","slug":"田寮村","link":"#田寮村","children":[]},{"level":3,"title":"福光新村","slug":"福光新村","link":"#福光新村","children":[]},{"level":3,"title":"塘朗村","slug":"塘朗村","link":"#塘朗村","children":[]},{"level":3,"title":"集悦城","slug":"集悦城","link":"#集悦城","children":[]}]},{"level":2,"title":"🍴周边餐饮","slug":"🍴周边餐饮","link":"#🍴周边餐饮","children":[]},{"level":2,"title":"🏨住宿","slug":"🏨住宿","link":"#🏨住宿","children":[]},{"level":2,"title":"参考资料","slug":"参考资料","link":"#参考资料","children":[]}],"git":{"updatedTime":1658582294000,"contributors":[{"name":"sparkcyf","email":"sparktour@outlook.com","commits":11},{"name":"Nima Yan","email":"68978888+yannima6@users.noreply.github.com","commits":1},{"name":"chenyuheng","email":"pass@chenyuheng.cn","commits":1},{"name":"yannima6","email":"68978888+yannima6@users.noreply.github.com","commits":1}]},"filePathRelative":"surroundings/README.md"}');export{k as comp,_ as data}; diff --git a/assets/index.html-55391GHD.js b/assets/index.html-55391GHD.js new file mode 100644 index 000000000..07e454a49 --- /dev/null +++ b/assets/index.html-55391GHD.js @@ -0,0 +1 @@ +import{_ as c}from"./CC-BY-SA_icon-BrYTWxWC.js";import{_ as p,r as a,o as s,c as o,a as t,b as e,d as r,w as u,e as l}from"./app-CAXKJsZK.js";const d={},f=e("h1",{id:"📚南科手册",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#📚南科手册"},[e("span",null,"📚南科手册")])],-1),m=e("ul",null,[e("li",null,"为 SUSTecher 提供快捷信息查询服务。"),e("li",null,"移动端须点击左上角,打开目录。"),e("li",null,[e("a",{href:"/miniapp"},"微信小程序,点击这里"),r("。")]),e("li",null,[e("a",{href:"/about"},"内容有问题?功能提建议?手册招维护!")])],-1),g={style:{display:"none"}},_=e("symbol",{id:"link-icon",viewBox:"0 0 100 100"},[e("path",{fill:"currentColor",d:"M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"}),r(),e("polygon",{fill:"currentColor",points:"45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"})],-1),b=[_],k={class:"tg"},x=e("th",{class:"tg-0lax"},[e("h3",null,"快捷入口"),e("ul",null,[e("li",null,[e("a",{href:"https://www.sustech.edu.cn/",target:"_blank",rel:"noopener noreferrer"},[r("官网链接 "),e("svg",{"aria-hidden":"true",x:"0px",y:"0px",width:"15",height:"15",class:"icon outbound"},[e("use",{href:"#link-icon"})])])]),e("li",null,[e("a",{href:"https://lib.sustech.edu.cn/",target:"_blank",rel:"noopener noreferrer"},[r("图书馆 "),e("svg",{"aria-hidden":"true",x:"0px",y:"0px",width:"15",height:"15",class:"icon outbound"},[e("use",{href:"#link-icon"})])])]),e("li",null,[e("a",{href:"https://mail.sustech.edu.cn",target:"_blank",rel:"noopener noreferrer"},[r("邮箱服务 "),e("svg",{"aria-hidden":"true",x:"0px",y:"0px",width:"15",height:"15",class:"icon outbound"},[e("use",{href:"#link-icon"})])])]),e("li",null,[e("a",{href:"https://ehall.sustech.edu.cn/new/index.html",target:"_blank",rel:"noopener noreferrer"},[r("服务大厅 "),e("svg",{"aria-hidden":"true",x:"0px",y:"0px",width:"15",height:"15",class:"icon outbound"},[e("use",{href:"#link-icon"})])])]),e("li",null,[e("a",{href:"https://sakai.sustech.edu.cn",target:"_blank",rel:"noopener noreferrer"},[r("Sakai "),e("svg",{"aria-hidden":"true",x:"0px",y:"0px",width:"15",height:"15",class:"icon outbound"},[e("use",{href:"#link-icon"})])]),r(", "),e("a",{href:"https://bb.sustech.edu.cn/",target:"_blank",rel:"noopener noreferrer"},[r("Blackboard"),e("svg",{"aria-hidden":"true",x:"0px",y:"0px",width:"15",height:"15",class:"icon outbound"},[e("use",{href:"#link-icon"})])])]),e("li",null,[e("a",{href:"https://pms.sustech.edu.cn",target:"_blank",rel:"noopener noreferrer"},[r("联创打印"),e("svg",{"aria-hidden":"true",x:"0px",y:"0px",width:"15",height:"15",class:"icon outbound"},[e("use",{href:"#link-icon"})])]),r(", "),e("a",{href:"http://172.18.1.141/",target:"_blank",rel:"noopener noreferrer"},[r("(备用)"),e("svg",{"aria-hidden":"true",x:"0px",y:"0px",width:"15",height:"15",class:"icon outbound"},[e("use",{href:"#link-icon"})])])]),e("li",null,[e("a",{href:"https://campuscard.sustech.edu.cn/epay/thirdconsume/qrcode",target:"_blank",rel:"noopener noreferrer"},[r("校园卡二维码 "),e("svg",{"aria-hidden":"true",x:"0px",y:"0px",width:"15",height:"15",class:"icon outbound"},[e("use",{href:"#link-icon"})])])])])],-1),E={class:"tg-0lax"},v=e("h3",null,[e("a",{href:"./transport/"},[r("交通 / 地图"),e("svg",{"aria-hidden":"true",x:"0px",y:"0px",width:"15",height:"15",class:"icon outbound"},[e("use",{href:"#link-icon"})])])],-1),y=e("li",null,[e("a",{href:"./transport/bustimer.html"},"巴士时刻表与车辆位置查看")],-1),A=e("li",null,[e("a",{href:"/facility/"},"校园街景")],-1),B={href:"https://nces.cra.moe/"},w=e("li",null,[e("a",{href:"http://live.cra.moe/"},"校园风景直播")],-1),C=e("div",{class:"emergency"},[e("p",null,[e("a",{href:"./emergency"},[r("紧急情况?AED,药箱,就医,失窃,前往「应急处理」"),e("svg",{"aria-hidden":"true",x:"0px",y:"0px",width:"15",height:"15",class:"icon outbound"},[e("use",{href:"#link-icon"})])])])],-1),S={id:"牛娃课程评价社区",tabindex:"-1"},z={class:"header-anchor",href:"#牛娃课程评价社区"},D=e("p",null,[e("a",{href:"https://nces.cra.moe/",target:"_blank",rel:"noopener noreferrer"},"牛娃课程评价社区"),r("(NCES,Niuwa Curriculum Evaluation System)是南科大学生的课程评价社区,因此,只有拥有南科大邮箱的同学或老师才可以注册账户。"),e("a",{href:"https://icourse.club/",target:"_blank",rel:"noopener noreferrer"},"中科大同款评教系统"),r(",赓续教改初心。NCES现已支持通过课程名称,代码及教师快速检索课程并直达课程大纲,更加方便你的选课!")],-1),F={id:"如果你是新生",tabindex:"-1"},N={class:"header-anchor",href:"#如果你是新生"},T=e("a",{href:"./if-you-are-a-freshman/preview"},"蓢村拾遗:南科大冷知识2021",-1),R=l('

数说大一

  • 你也可以阅读基于南科大同学大创项目的调查研究成果:

    • https://luckychen.site/ 帮助入学前、大一上、大一下阶段的你更好地适应大学的学习与生活,进而找到自己的发展方向。

    • https://luckychen.site/数说大一/ 《数说大一》——基于392份问卷的统计结果告诉你大一专业选择会遇到的困难。

',2),q={id:"飞跃手册-申请与校招经验",tabindex:"-1"},P={class:"header-anchor",href:"#飞跃手册-申请与校招经验"},U=l('

南科大飞跃手册共有五部分,分别为英语学习,海外交流,选校经验,申请注意事项和个人申请总结,力求为 “如何在南方科技大学为申请国内、海外高校和入职优秀企业做出更全面的准备“ 这一问题作出解答。需要特别指出的是,飞跃手册具有一定的时效性,比如一些热门专业每年的申请形式都会发生极大变化,再比如当我们谈及“xx专业19fall是史上最难申请的一年”,这有可能意味着20fall会更难申请,所以参考往年飞跃手册时请注意。

校园地图

由sustech.online团队制作的校园地图。地图底图采用南科大2022版最新规划图,并添加校园巴士线路,打印机,商店,收发室等实用信息。(尝试新版交互式校园地图!可全屏,实时定位)

点击这里下载矢量PDF版本,目前版本:3.2,2022年8月更新。

版权信息

未做特别声明的内容,均按照CC-BY-SA 4.0协议进行分发。

注意事项

CC-BY-SA协议允许您自由地共享(在任何媒介以任何形式复制、发行本作品),演绎(修改、转换或以本作品为基础进行创作,在任何用途下,甚至商业目的)。

但惟须遵守以下条件:

  1. 署名 — 您必须给出适当的署名,提供指向本许可协议的链接,同时标明是否(对原始作品)作了修改。您可以用任何合理的方式来署名,但是不得以任何方式暗示许可人为您或您的使用背书。
  2. 相同方式共享 — 如果您再混合、转换或者基于本作品进行创作,您必须基于与原先许可协议相同的许可协议 分发您贡献的作品。
  3. 没有附加限制 — 您不得适用法律术语或者 技术措施 从而限制其他人做许可协议允许的事情。

做出特别声明的内容,版权按声明执行。

For International Students

Please use the Google translation tool in Chrome to translate the manual.

支持与备案信息

关于广告

南科手册的建设与运营均由同学独立完成。为了令「南科手册」能够稳定运行,我们可能会在某些页面的底部和小程序中开屏页面中展示由微信Google提供的广告以维持服务器和CDN的开销,敬请谅解。

我们将尽力确保:

  • 应急处理页面内不会出现广告
  • 其他页面内的广告不多于一个

🚧 本站由 SUSTech OSS Mirrors 提供部分静态资源及图片的加速服务,SUSTech CRA 提供技术支持


🏛️ 粤ICP备18047383号

',21);function V(I,L){const i=a("WeatherSpan"),n=a("Badge"),h=a("RouteLink");return s(),o("div",null,[f,t(i),m,(s(),o("svg",g,b)),e("table",k,[e("thead",null,[e("tr",null,[x,e("th",E,[v,e("ul",null,[y,A,e("li",null,[e("a",B,[r("牛娃课程评价社区"),t(n,{text:"春季选课",type:"danger"})])]),w])])])])]),C,e("h2",S,[e("a",z,[e("span",null,[r("牛娃课程评价社区 "),t(n,{text:"选课合作",type:"tip"})])])]),D,e("h2",F,[e("a",N,[e("span",null,[r("如果你是新生... "),t(n,{text:"For Freshman",type:"tip"})])])]),e("p",null,[r("如果你是准大一的同学,可以先看看冯小漠为大家整理南科大的非正统历史故事"),T,r("。"),t(h,{to:"/if-you-are-a-freshman/2021.html"},{default:u(()=>[r("点击这里")]),_:1}),r("看看我们为 2021年的学生准备的 Quickstart of SUSTech,了解并开启你的大学生活!")]),R,e("h2",q,[e("a",P,[e("span",null,[r("飞跃手册:申请与校招经验 "),t(n,{text:"秋季特别合作",type:"tip"})])])]),U])}const j=p(d,[["render",V],["__file","index.html.vue"]]),G=JSON.parse('{"path":"/","title":"📚南科手册","lang":"zh-CN","frontmatter":{},"headers":[{"level":2,"title":"牛娃课程评价社区","slug":"牛娃课程评价社区","link":"#牛娃课程评价社区","children":[]},{"level":2,"title":"如果你是新生...","slug":"如果你是新生","link":"#如果你是新生","children":[]},{"level":2,"title":"飞跃手册:申请与校招经验","slug":"飞跃手册-申请与校招经验","link":"#飞跃手册-申请与校招经验","children":[]},{"level":2,"title":"校园地图","slug":"校园地图","link":"#校园地图","children":[]},{"level":2,"title":"版权信息","slug":"版权信息","link":"#版权信息","children":[]},{"level":2,"title":"For International Students","slug":"for-international-students","link":"#for-international-students","children":[]},{"level":2,"title":"支持与备案信息","slug":"支持与备案信息","link":"#支持与备案信息","children":[{"level":3,"title":"关于广告","slug":"关于广告","link":"#关于广告","children":[]}]}],"git":{"updatedTime":1725108671000,"contributors":[{"name":"liziwl","email":"leezisy@gmail.com","commits":53},{"name":"sparkcyf","email":"sparktour@outlook.com","commits":30},{"name":"Ziqiang Li","email":"leezisy@gmail.com","commits":2},{"name":"yuki","email":"chenjf2020@mail.sustech.edu.cn","commits":2},{"name":"ZiJian Zhang","email":"doomspec@outlook.com","commits":1}]},"filePathRelative":"README.md"}');export{j as comp,G as data}; diff --git a/assets/index.html-6ArOatwO.js b/assets/index.html-6ArOatwO.js new file mode 100644 index 000000000..fa30a7071 --- /dev/null +++ b/assets/index.html-6ArOatwO.js @@ -0,0 +1 @@ +import{_ as a,o as i,c as n,b as e,d as t}from"./app-CAXKJsZK.js";const l={},o=e("h1",{id:"南科手册-微信小程序",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#南科手册-微信小程序"},[e("span",null,"南科手册-微信小程序")])],-1),r=e("h2",{id:"南科手册times",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#南科手册times"},[e("span",null,"南科手册Times")])],-1),c=["src"],h=e("p",null,[t("微信小程序无法跳转到第三方链接,体验完整版请访问 "),e("a",{href:"https://sustech.online",target:"_blank",rel:"noopener noreferrer"},"https://sustech.online"),t("。")],-1);function d(s,m){return i(),n("div",null,[o,r,e("img",{src:s.$withBase("./qr-code.jpg"),alt:"foo","max-width":"200"},null,8,c),h])}const p=a(l,[["render",d],["__file","index.html.vue"]]),f=JSON.parse('{"path":"/miniapp/","title":"南科手册-微信小程序","lang":"zh-CN","frontmatter":{},"headers":[{"level":2,"title":"南科手册Times","slug":"南科手册times","link":"#南科手册times","children":[]}],"git":{"updatedTime":1632137863000,"contributors":[{"name":"liziwl","email":"leezisy@gmail.com","commits":1}]},"filePathRelative":"miniapp/README.md"}');export{p as comp,f as data}; diff --git a/assets/index.html-BC9jjslU.js b/assets/index.html-BC9jjslU.js new file mode 100644 index 000000000..8dcc9f2ff --- /dev/null +++ b/assets/index.html-BC9jjslU.js @@ -0,0 +1 @@ +import{_ as e,o as a,c as n,e as s}from"./app-CAXKJsZK.js";const p={},l=s('

袁长庚老师为新生推荐的书单(2018)

作为一名理工科大学里的文科教师,常被要求“推荐几本好书”。在一个资讯如此发达,资源获取成本如此低廉的时代,我理解上述要求之中隐含着一种信任。但有时又不确信,这种所谓信任是否只是客套甚或懒惰的表现。回想过往两年间,我几乎没有说服任何一名同学培养起阅读的习惯(很多同学爱读书,源于家庭或基础教育阶段的培养,与我无关),甚至愈发没有底气去阐述阅读的意义和必要性。去年秋季认认真真给同学们推荐的书,不知多少人已读完。(念及此,我仍旧怀念一个叫做“麒麟书吧”的地方。当年的蔡店长认真地把书单中的作品都调来,摆在专门的架上,秋冬春夏,走了完整的一个轮回)也罢,正是因为这样无期许、非功利,事情反倒单纯起来。2018年秋季没有开课,仍然列几本书,算是对“工作量”缺失的小小弥补。

今年书单的核心理念是“品性与修养”,或更直白一点说,是“如何在一个变幻不居的时代有所持守”。不消说,这样的立意就已经决定了书单本身与开列者自己的价值观念深切纠缠。但是,与其板起面孔装作客观公正,作为一个人文学者,我更愿意在起初就亮明底线、原则和取舍。我们所处的时代,已经经不起和稀泥、打圆场,而高等教育本身的理想中本就包含着人生观、世界观、价值观的引导。在我们被移动终端和信息巨流所裹挟的生活里,知识和技能的积累不难,但心境和操守的锻铸却不易。

以下罗列作品,都是我曾经读过甚至至今还常常重读的作品。我有意识地放进一些大家写的“小书”。所谓“小”者,只是规模的精致,绝不意味视野的短浅或品味的狭促。相反,在有限的空间内,在高度剪裁的材料中,往往能见真正高远的见识。与去年相似,书单中仍就有九本书,以每天30-50页的阅读量计算,大约一个学期便可读完。

封面

《镜子:照出你看不见的世界史》,爱德华多·加莱亚诺著,广西师范大学出版社2012年

没有哪本著作比《拉丁美洲被切开的血管》更深刻地写出了南美大陆在过往四百年间所遭受的苦难,在战火横飞、独裁当道的年月里,人们把它和婴儿的襁褓一起带在身上,不舍得丢弃。这本杰作的作者正是乌拉圭记者爱德华多·加莱亚诺。作为第三世界公共知识分子的典范,加莱亚诺一直保持着敏锐的批判视角,对不公正的世界体系强加给同胞的痛苦充满愤懑。

市面上关于世界史的书籍近年来汗牛充栋,这其中隐含着大国崛起后的中国人对自我认同的某种焦虑。我们对全球历史的追问,根源上恐怕还在“中国-世界”两极之间所产生的张力。恰因如此,公正的历史观念比事件罗列、逸闻勾沉更为重要。克罗齐有言,“一切历史都是当代史”,历史的阐释终究会进入我们当下所思所感,并生产出想象未来的蓝图。加莱亚诺的这本书,展示的是成王败寇的正统历史书写的背面,保护的是二十世纪解放思潮的历史遗产。推荐它,是想让大家仍然能保有朴素的正义感和对人类命运休戚与共的认知立场。

《万历十五年》,黄仁宇著,中华书局2006年

自1982年被译介至中国大陆以来,此书在数十年间究竟被多少人读过爱过,难以统计。黄仁宇先生早年是南开的学生,抗战时期做过远征军的上尉参谋,后来在密歇根大学念了历史学的博士。他是心怀“大历史”观念的最后一代学人。与今日条块分明,高度专业化的专业史学研究不同,其所关心的是如何从整体上理解中国近代以来的变迁。前几年《明朝那些事儿》风靡一时,里面讲我们当代中国人就某种意义而言仍然生活在明朝的漫长投影之中。这种将明代视作广义之“近代”起点的史观,同样是黄先生本书的题眼。

大家并非专业史学研究者,若想实现“读史使人明智”,重要的即在于把握历史兴衰的宏观脉络和复杂机理,而不是沉迷于野史逸闻的无聊谈资。就这一点而言,市面上流行的不少史书,其实不读也罢。推荐黄先生,推荐的是一种视野和情怀,一种恳切的、饱含情感的进入历史的方式。除本书之外,黄仁宇另有《中国大历史》、《赫逊河畔谈中国历史》,都值得一阅。

《笑谈大先生》,陈丹青著,广西师范大学出版社2011年

“古怕文言文,今怕周树人”,在中国大陆接受过初级教育的人对此恐怕多有会心一笑。主管部门颇有默契地连年削减着鲁迅在课本中的分量,大多数人在走出校门(确切说来是不再上语文课)之后就再也没读过他的作品。但与此同时,鲁迅的思想和艺术遗产,随着我们所处世界不断涌现出的明暗风波,在全世界范围内被不断地保护和珍视。

在强制性教育结束之后因缘际会地发现了鲁迅的诸多面向,是我在过往十多年读书生涯中最感庆幸的经历。我始终认为,鲁迅是一个永恒的、可以不断返回并从中汲取养分,且时时让人感到亲切的朋友。作为当代中国最为重要的艺术家之一,陈丹青的解读不同于多数刻板晦涩的学院作品。以艺术为枢纽,以性情为门径,他引领我们直抵“文学家、思想家、革命家”背后血肉丰满的鲁迅世界。

《当呼吸化为空气》,保罗·卡拉尼什著,浙江文艺出版社2016年

保罗·卡拉尼什是从文学转入生物学的奇才,是耶鲁大学医学院成绩优异的博士生,是斯坦福医院冉冉升起的学术新星,也是一名罕见的在36岁之前便罹患肺癌的患者。这本书是他生命的绝响。在其中你读不到一段精彩人生戛然而止的不甘或怨恨,甚至读不到丝毫的牢骚。面对命运巨大的不公,作者仍然细致而温柔地回溯自己的一生。你甚至会惊讶于一个短暂的生命中所包容的浩瀚。肺癌所造成的躯体上的痛苦毋庸赘言,每念及此,书页中字里行间的恬淡、从容就愈发让人唏嘘。

时至今日,死亡仍旧是所有生命都将迎来的终极命运。我在“理解死亡”的课上曾经希望同学们从这本书里明白一个道理:无论在未来我们将迎来何种辉煌,生命仍然会在终点宣判无可逃避的“失败”。德国哲学家海德格尔说,只有“向死而生”,我们才能真正获得对自身存在的凝视。同学们青春年少,死亡遥远而模糊。不过,生死相依,脱离了对“死亡”的认识,眼下活着的意义就难以得到彻底的澄清。保罗的书是一扇窗,从中我们可以看见,死亡之景也可以明亮。

《小王子的领悟》,周保松著,上海三联书店2018年

圣埃克苏佩里的《小王子》是历久不衰的成人童话,也是香港中文大学政治学教授周保松的最爱。这本书是周先生对《小王子》的领悟,至真至切,促人深省。我在中大读书时,参加过周教授的讲座、沙龙,旁听过他开设的课程。有时下午饿了,匆匆跑到联合书院的饭堂里找吃的,看见他被学生们簇拥着,有说有笑。在森严的学术体系内,他愿意并且不辞辛劳地做一个优秀的“教师”,坚守中文大学六十年来关切国族命运世道人心的传统。

《小王子》的核心在连接万物之爱,它以童话的形式揭示了人类之“爱”的哲学(甚至神学)品质。爱是跨越一切界线,是激进地将自我投诸于他人的生命之中。这本《领悟》既有对原书文本的剖析,也有在此之上对当代人类生存处境的微言大义。它可贵地体现了一个中年知识分子,在纷扰世事、无聊士林的压抑之下,仍对一本童话、一众学生、一个时代保持着孩童般的热情。

《梵高传》,史蒂芬·奈菲、格雷高里·怀特·史密斯著,译林出版社2015年版

说梵高是现代艺术的图腾应不为过,鸢尾花、向日葵印成日历牌、冰箱贴,卖到满世界。与同辈巨匠相比,梵高在深邃的美学之上覆盖了一层热烈而让人亲近的明亮。贩夫走卒,都可以爱梵高,爱他绚丽的黄、欣喜的蓝,丰饶的紫,爱他的世界有一种美好的直白。

百年来,那么多人爱读梵高的传记。他落魄惨淡的一生,没有留下任何妥协、变节、逢迎、逃脱的空间。他的纯粹源于空乏其身的命运捉弄,而造化也终究成全了他一尘不染的纯净心灵。有一年国外剧集中让这个割掉耳朵的男人死而复生,亲临二十一世纪的博物馆,看自己的作品前孩子们静静临摹,情侣们合影留念,泪流满面。风格迭代,大师星移,但艺术的本质仍在于将我们带向某些不可言说的永恒之地。

《月亮和六便士》,毛姆著,上海译文出版社2016年版(译者傅惟慈)

这本书太有名,以至于把它放进书单,已经有落俗套之嫌。更有甚者,以今日眼光审视,一个中年男人抛家舍业追求艺术这类虚幻梦想,可谓渣男。但假若要勉强为之辩护,我不会抬出原型保罗·高更的艺术成就作虎皮。作为芸芸众生,我们都不免在一生中的某些节点胆怯认怂,“算了算了,就听我爸的去读个金融,好歹挣钱多”。但曾有的异想天开哪会轻易熄火?无数万籁俱寂的午夜,扪心问“要是当初如何如何,现在又该如何如何”。感谢毛姆,把全人类的不甘心交给一个爱艺术的混蛋。我们恨他、骂他,也爱他。

年齿徒增,我愈加宽容和理解书里那位思特里克兰德。曾经听过的歌、爱过的画、为之哭过笑过的电影戏剧,都是庸庸日常之中为一道逃逸的出口。有时向远方,有时向故乡。在一个工业文明早已深入骨髓、价值理性无可撼动的年代,艺术仍然是重要的,仍然撄人心魄,像苍茫大海上浮起塞壬的歌。

《他们说,我是幸运的》,艾丽斯·西伯德著,北京联合出版公司2016年版

大洋彼岸的#me too风潮终于席卷此岸,不少国人急匆匆地哀叹“网络暴力”,痛斥“政治正确”。似乎千万女性成长经历中难于启齿、刻骨铭心的伤,揭开来还必须温良恭俭、小心翼翼。

艾丽斯·西伯德是美国著名小说家雷蒙德·卡佛的学生,也是一名性侵犯的受害者。与大多数有类似经历的人不同,她凭借出色的文学天赋,以细腻而又隐忍的笔法将伤口揭开,走向新生。这是一本注定使人感到不快的书。但凭借他人的叙述而进入人类苦难世界,恰是阅读自身无可取代的价值之一。知悉苦痛并非为了把玩他人的隐私,而是不断确信某些人道价值的意义。构建一个性别平等、两性友善的社会,关乎我们每一个人的福祉,而这一切在中国的实现仍旧有赖于同学们这一代新人的自觉和努力。

(西伯德还有一本同样关注性暴力的小说《可爱的骨头》,探讨了更为深邃的生死问题,同样值得一读。)

《大背叛:科学中的欺诈》,霍勒斯·贾德森著,三联书店2018年版

沸沸扬扬的“韩春雨事件”终以一纸“未发现主观造假”的调查结论作结。对中国科学界而言,这种遮掩再一次暴露了规范缺失、监管不力以及尚未形成行业自律所孳生的病灶。以追求客观真理为己任的科学,从不是悬浮在真空之中,它同样嵌入于特定的价值体系与文化观念。

不幸的是,科学的进步史几乎同样是一部充满欺诈和虚伪的历史。对研究人员而言,需要与之斗争的并不仅仅是一个个智识上的挑战、手段上的局限,还有人类自身的贪欲和缺憾。科学研究者早就不再是青灯黄卷深藏于简陋实验室里的隐者,他们同样面对着世俗意义上的名利诱惑。因此,在学术生涯的起步阶段就建立起牢固的自省意识,从每一份作业每一篇报告做起,不存侥幸之心,不越雷池一步,对各位同学而言是关乎未来之路的必修功课。希望这部充斥着荒诞的历史,能作为大家修身之镜鉴。

本书属于三联书店“新知文库”的一种,这套丛书大都引介自西方世界流行科普畅销书,今年夏天刚刚满100种,尤其适合大学生阅读。

以上推荐与所谓“权威”无关,它只是一个长期以读写为生的普通教师的一份邀请。我很庆幸自己出生并成长于前数字时代,在我漫长而孤独的青春期,阅读让我延展了有限的生命。我希望自己曾见识的风景,也能让后来者领略。每一本书都有其品格和灵魂,每一本书与我们的相遇因而也就有万般幻化可能。你爱上某一本书的时刻,也就是你爱上接下来无数本书的时刻。祝愿大家从阅读中得欢喜宁静。

Copyright: 袁长庚, All rights reserved.

',36),t=[l];function r(h,i){return a(),n("div",null,t)}const d=e(p,[["render",r],["__file","index.html.vue"]]),o=JSON.parse('{"path":"/study/book-list-by-prof-yuan/2018/","title":"袁长庚老师为新生推荐的书单(2018)","lang":"zh-CN","frontmatter":{},"headers":[{"level":2,"title":"《镜子:照出你看不见的世界史》,爱德华多·加莱亚诺著,广西师范大学出版社2012年","slug":"《镜子-照出你看不见的世界史》-爱德华多·加莱亚诺著-广西师范大学出版社2012年","link":"#《镜子-照出你看不见的世界史》-爱德华多·加莱亚诺著-广西师范大学出版社2012年","children":[]},{"level":2,"title":"《万历十五年》,黄仁宇著,中华书局2006年","slug":"《万历十五年》-黄仁宇著-中华书局2006年","link":"#《万历十五年》-黄仁宇著-中华书局2006年","children":[]},{"level":2,"title":"《笑谈大先生》,陈丹青著,广西师范大学出版社2011年","slug":"《笑谈大先生》-陈丹青著-广西师范大学出版社2011年","link":"#《笑谈大先生》-陈丹青著-广西师范大学出版社2011年","children":[]},{"level":2,"title":"《当呼吸化为空气》,保罗·卡拉尼什著,浙江文艺出版社2016年","slug":"《当呼吸化为空气》-保罗·卡拉尼什著-浙江文艺出版社2016年","link":"#《当呼吸化为空气》-保罗·卡拉尼什著-浙江文艺出版社2016年","children":[]},{"level":2,"title":"《小王子的领悟》,周保松著,上海三联书店2018年","slug":"《小王子的领悟》-周保松著-上海三联书店2018年","link":"#《小王子的领悟》-周保松著-上海三联书店2018年","children":[]},{"level":2,"title":"《梵高传》,史蒂芬·奈菲、格雷高里·怀特·史密斯著,译林出版社2015年版","slug":"《梵高传》-史蒂芬·奈菲、格雷高里·怀特·史密斯著-译林出版社2015年版","link":"#《梵高传》-史蒂芬·奈菲、格雷高里·怀特·史密斯著-译林出版社2015年版","children":[]},{"level":2,"title":"《月亮和六便士》,毛姆著,上海译文出版社2016年版(译者傅惟慈)","slug":"《月亮和六便士》-毛姆著-上海译文出版社2016年版-译者傅惟慈","link":"#《月亮和六便士》-毛姆著-上海译文出版社2016年版-译者傅惟慈","children":[]},{"level":2,"title":"《他们说,我是幸运的》,艾丽斯·西伯德著,北京联合出版公司2016年版","slug":"《他们说-我是幸运的》-艾丽斯·西伯德著-北京联合出版公司2016年版","link":"#《他们说-我是幸运的》-艾丽斯·西伯德著-北京联合出版公司2016年版","children":[]},{"level":2,"title":"《大背叛:科学中的欺诈》,霍勒斯·贾德森著,三联书店2018年版","slug":"《大背叛-科学中的欺诈》-霍勒斯·贾德森著-三联书店2018年版","link":"#《大背叛-科学中的欺诈》-霍勒斯·贾德森著-三联书店2018年版","children":[]}],"git":{"updatedTime":1640077007000,"contributors":[{"name":"sparkcyf","email":"sparktour@outlook.com","commits":3}]},"filePathRelative":"study/book-list-by-prof-yuan/2018/README.md"}');export{d as comp,o as data}; diff --git a/assets/index.html-BG9HB7g4.js b/assets/index.html-BG9HB7g4.js new file mode 100644 index 000000000..648e06b15 --- /dev/null +++ b/assets/index.html-BG9HB7g4.js @@ -0,0 +1 @@ +import{_ as s,a as c}from"./2024-2-Dsw9L24n.js";import{_ as r,r as i,o,c as d,b as e,a as t,w as l,e as h,d as n}from"./app-CAXKJsZK.js";const m={},u=h('

📅校历

南科校历|南方科技大学

【当前学年】2023-2024 学年 春季学期

历史校历(存档)

',6);function p(_,f){const a=i("RouteLink");return o(),d("div",null,[u,e("ul",null,[e("li",null,[t(a,{to:"/calendar/2023-2024.html"},{default:l(()=>[n("2023-2024 学年")]),_:1})]),e("li",null,[t(a,{to:"/calendar/2022-2023.html"},{default:l(()=>[n("2022-2023 学年")]),_:1})]),e("li",null,[t(a,{to:"/calendar/2021-2022.html"},{default:l(()=>[n("2021-2022 学年")]),_:1})]),e("li",null,[t(a,{to:"/calendar/2020-2021.html"},{default:l(()=>[n("2020-2021 学年")]),_:1})]),e("li",null,[t(a,{to:"/calendar/2019-2020.html"},{default:l(()=>[n("2019-2020 学年")]),_:1})]),e("li",null,[t(a,{to:"/calendar/2018-2019.html"},{default:l(()=>[n("2018-2019 学年")]),_:1})])])])}const k=r(m,[["render",p],["__file","index.html.vue"]]),b=JSON.parse('{"path":"/calendar/","title":"📅校历","lang":"zh-CN","frontmatter":{},"headers":[{"level":2,"title":"【当前学年】2023-2024 学年 春季学期","slug":"【当前学年】2023-2024-学年-春季学期","link":"#【当前学年】2023-2024-学年-春季学期","children":[]},{"level":2,"title":"历史校历(存档)","slug":"历史校历-存档","link":"#历史校历-存档","children":[]}],"git":{"updatedTime":1706355528000,"contributors":[{"name":"sparkcyf","email":"sparktour@outlook.com","commits":14},{"name":"liziwl","email":"leezisy@gmail.com","commits":7},{"name":"Ziqiang Li","email":"leezisy@gmail.com","commits":1},{"name":"chenyuheng","email":"pass@chenyuheng.cn","commits":1}]},"filePathRelative":"calendar/README.md"}');export{k as comp,b as data}; diff --git a/assets/index.html-BQ-FjBAh.js b/assets/index.html-BQ-FjBAh.js new file mode 100644 index 000000000..30e76f6f0 --- /dev/null +++ b/assets/index.html-BQ-FjBAh.js @@ -0,0 +1,105 @@ +import{_ as n,o as s,c as a,e}from"./app-CAXKJsZK.js";const p={},t=e(`

校内远程桌面使用指北

by @jerrylususu

提示

本文初版写于2020年12月,文中所述内容可能已发生变化。请参考各贡献者的修订以获取最新情报。

远程桌面是什么?

远程桌面,是一种远程访问技术,可以从其他设备连接到你的电脑,并访问所有应用、文件和资源,就像坐在自己的电脑前一样。换句话说,这是一项可以把不属于自己的设备(如机房电脑)当成自己的设备使用的技术。

作为一项技术,远程桌面有不同的实现。在 Windows 环境下,最常见的远程桌面实现为 Remote Desktop Protocol (RDP,远程桌面协议),Windows 为其提供了完善的支持。在 Linux 环境下,最常见的远程桌面实现为 Virtual Network Computing (VNC)。其他厂家也有自己的远程桌面实现,如 TeamViewer,AnyDesk,ToDesk,向日葵,甚至于 QQ 的「远程协助」。

本文将着眼于 Windows 环境下 RDP 的配置(即从 Windows 设备连接到 Windows 设备),这也是校内最常见的用例。

(若需要从 iOS / Android / Mac 端远程控制 Windows,可以直接在应用商店中搜索安装 RD Client,iPad 端最新版本支持完整的鼠标操作。若需要从 Windows 端远程控制 Mac,除了 Mac 提供的 VNC 之外,推荐使用流畅性更高的第三方软件,例如 NoMachine 等。)

远程桌面的典型使用场景

  • 购买了重量较重的游戏本或不便于携带的台式机在宿舍,但是想从图书馆、实验室等位置使用。
  • 在参加计算机系的实验课程时,使用宿舍或实验室内性能强大的设备进行编译操作,而不必被机房性能羸弱的电脑限制。
  • 在图书馆专心复习时,仍能访问宿舍电脑上存储的课件、笔记、电子书等资料。
  • 在教室 Pre 的时候发现自己忘了携带所需的资料,可以使用远程桌面从宿舍电脑上取回。
  • 在校内有 WiFi 信号覆盖的位置使用远程桌面连接回宿舍电脑继续工作/学习,而无需手动维持不同设备(如笔记本和台式机)间的数据同步状态。
  • 在宿舍床上使用 iPad 等平板类设备游玩床下电脑中的 Galgame。

不建议使用远程桌面的场景

  • 玩大型游戏、看电影/视频(RDP 主要为日常工作使用优化,变化频繁的画面使用 Steam Remote Play 等技术更适合)
  • 复制体积较大的文件(RDP 对在不同设备间转移小文件十分合适,但文件体积过大可能造成网络阻塞,操作卡死。如有需要转移大文件的需求,可使用 LANDrop校内 Send 文件分享 等工具)

下称自己的设备为「服务端」,机房/教室/图书馆等的设备为「客户端」

服务端配置

  1. 开启「远程桌面」功能。(此功能需要专业版本 Windows,家庭版本可以使用 GitHub 上的开源工具 RDPWrap 开启此功能,教程)。

    注:若按照教程仍然无法开启功能,则可能是服务端 rdpwrap.ini 文件与当前 Windows 版本不匹配,可以从 Github Issues 或其他地方获取 rdpwrap.ini 文件并替换。详情可参考此 B站视频演示

  2. 设置远程桌面端口为非 3389 端口 ,并记住这个端口号 (此为信息中心的限制,为防止病毒通过远程桌面传播,默认阻断了 3389 端口上的 TCP 链接) ,此限制实测在工学院和慧园地区已取消,其他地区待认证。

  3. 查看并记录自己的 IP 地址:打开「任务管理器」,切换到「性能」标签页,在左侧找到「Wi-Fi」,在右侧找到「IPv4 地址」并记录。(通常为以小数点分割的一组数字,如 10.XX.XX.XX

注:如有可能,建议使用网线直接连接。使用 WiFi 可能导致在高峰期时的延迟抖动。

  1. (非必需设置)如果想从非校园网络访问远程设备,可以尝试使用 ZeroTier One 等软件 配置内网穿透 功能。

一键开启远程桌面功能并修改端口为 13389 的注册表文件:

by @BadBoyGuangzhi

打开记事本,复制下方文本到记事本内,另存为 xxx.reg 文件,右键管理员运行即可(已经开启过的也可以使用此文件修改端口为13389,不会重复添加导致冲突)。或者也可以直接使用成品 点我下载成品

Windows Registry Editor Version 5.00
+
+[HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Control\\Terminal Server]
+"fDenyTSConnections"=dword:00000000
+
+[HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Control\\Terminal Server\\Wds\\rdpwd\\Tds\\tcp]
+"PortNumber"=dword:0000344d
+
+[HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Control\\Terminal Server\\WinStations\\RDP-Tcp]
+"PortNumber"=dword:0000344d
+
+[HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\SharedAccess\\Parameters\\FirewallPolicy\\FirewallRules]
+"{4043AE3F-5762-46B6-A755-23E34F020290}"="v2.30|Action=Allow|Active=TRUE|Dir=In|Protocol=17|LPort=13389|Name=RDP-13389-UDP|"
+
+[HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\SharedAccess\\Parameters\\FirewallPolicy\\FirewallRules]
+"{8A4F4940-93E0-4BFC-B35F-2C89A6AD260F}"="v2.30|Action=Allow|Active=TRUE|Dir=In|Protocol=6|LPort=13389|Name=RDP-13389-TCP|"
+
+[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Winlogon]
+"DisableCAD"=dword:00000001
+

从客户端连接

  1. 在「开始」菜单中选择「Windows 附件 / 远程桌面」(或使用 Win+R 打开「运行」窗口,然后输入 mstsc,按下回车)
  2. 在「计算机」文本框中输入自己的 IP 和端口号,用英文冒号分割。(例:10.XX.XX.XX:YYYY
  3. 点击「连接」按钮
  4. 在弹出的认证窗口中输入自己的用户名和密码(如果服务端使用的是微软账户,需要输入微软账户的邮箱和密码)
  5. 在证书确认窗口点击「是」
  6. 如果一切正常,应该能见到远程设备的桌面了。

用于在校内网通过邮箱获取服务端IP地址的 Python 脚本:

by @KagaJiankui

获取IP的脚本
# coding: utf-8
+
+import smtplib
+import time
+import datetime
+from email.mime.text import MIMEText
+from email.header import Header
+import socket
+
+_local_ip = None
+
+mail_info = {
+    'recv_address': 'recv@example.sustech.com', #你的接收端邮箱地址
+    'sender_name': 'send@example.sustech.com', #你的发送端邮箱地址
+    'sender_pwd': 'authenticationcode', #授权码(用于qq或163邮箱)
+    'smtp_server': 'smtp.example.com', #smtp发送服务器(在邮箱帮助页面查看)
+    'subject': '远程电脑IP信息已更新',
+    'content': '您的校内网IP信息: {}'
+}
+
+
+def send_message(content):
+    # 设置发送邮件的内容
+    msg = MIMEText(content, 'plain', 'utf-8')
+    msg['From'] = Header(mail_info.get('sender_name'))
+    msg['Subject'] = Header(mail_info.get('subject'), 'utf-8')
+    msg['To'] = Header(mail_info.get('recv_address'))
+    # 发送邮件
+    smtp = smtplib.SMTP()
+    smtp.connect(mail_info['smtp_server'])
+    smtp.login(mail_info['sender_name'], mail_info['sender_pwd'])
+    smtp.sendmail(mail_info['sender_name'], mail_info['recv_address'],msg.as_string())
+    try:
+        smtp.quit()
+    except smtplib.SMTPException as e:
+        e = "Failed to close SMTP session."
+
+
+def get_host_ip():
+    """
+    这个方法是目前见过最优雅获取本机服务器的IP方法了。没有任何的依赖,也没有去猜测机器上的网络设备信息。
+    而且是利用 UDP 协议来实现的,生成一个UDP包,把自己的 IP 放如到 UDP 协议头中,然后从UDP包中获取本机的IP。
+    这个方法并不会真实的向外部发包,所以用抓包工具是看不到的。但是会申请一个 UDP 的端口,所以如果经常调用也会比较耗时的,这里如果需要可以将查询到的IP给缓存起来,性能可以获得很大提升。
+    :return:
+    """
+    global _local_ip
+    s = None
+    try:
+        if not _local_ip:
+            s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
+            s.connect(('8.8.8.8', 80))
+            _local_ip = s.getsockname()[0]
+        return _local_ip
+    finally:
+        if s:
+            s.close()
+
+
+def mail_ip_send(ip_real):
+    """
+    使用邮件发送IP地址.
+    """
+    info_dict = "校内网IP: " + ip_real + "\\n" + datetime.datetime.now().strftime(
+        "%Y-%m-%d %H:%M:%S %Z") + "\\n"
+    print(info_dict)
+    send_message(info_dict)
+
+
+ip_val = get_host_ip()
+num = 0
+seconds_sleep = 5  # 检测IP地址的时间间隔
+itr = 4 * 3600 / seconds_sleep  # IP地址无变动时默认发送邮件的小时数
+while 1:
+    ip_real = get_host_ip()
+    h = datetime.datetime.now().hour
+    if (ip_real != ip_val) & ((h <= 3) | (h >= 7)) | num == 0:  #晚上3点到早7点之间不发送IP
+        mail_ip_send(ip_real)
+        ip_val = ip_real
+    num += 1
+    if num >= itr:
+        mail_ip_send(ip_real)
+        ip_val = ip_real
+        num = 0
+    time.sleep(seconds_sleep)
+

本脚本要求python>3.0 与对应的依赖。建议使用您的私人邮箱而非学校提供的邮箱作为收发端。在您的台式机或游戏本上直接运行脚本:

$ python ./mailer.py #将文件保存为mailer.py
+

该脚本便会自动检测当前IP地址并发送到您指定的接收端邮箱中。若检测到IP地址变动或经过您指定的等待小时数,脚本即重复发送IP地址。直接运行脚本会占用一个命令行窗口。如果想要隐藏该窗口,可使用 RBTray 等最小化至托盘类工具,或使用 NSSM 等工具将该脚本以系统服务的方式运行。

当您的移动端设备与您的主机连接到同一局域网时,您可以使用这个 IP 地址与对应的端口号连接到您的远程桌面、SSH、Jupyter 等应用的服务端。

在图书馆使用远程桌面

在南科大的三个图书馆中,都有公共的电脑区域,使用此区域的电脑作为远程桌面的客户端也是不错的选择。(笔者自测可以提升 50% ~ 200% 不等的工作/学习效率。)

不同图书馆间电脑对比如下表。

图书馆电脑设备数(约)操作系统屏幕分辨率连接速度
琳恩~50Windows 71080p, 100% DPI百兆
一丹~100Windows 101080p, 125% DPI千兆
涵泳~10Windows 101080p, 125% DPI千兆

在图书馆使用远程桌面的时候,以下几点可以帮助你获得更好的体验:

  1. 如果觉得卡顿,可以在连接前在「体验」标签页中设置连接速度为 WAN (10 Mbps 或更高速度,高延迟) ,并取消勾选「拖动时显示窗口内容」和「菜单和窗口动画」。
  2. 可以携带一条有线耳机插入主机的前端耳机插口(通常为绿色),以在远程桌面中使从服务端获取音频(听歌)。注意每次连接的时候远端设备音量会被设置为 100。
  3. 使用完成后,在关闭远程桌面之外,最好手动关机/重启公用电脑。即使登出了公用电脑(恢复输入学号/密码界面),远程桌面的连接信息(IP,端口号,用户名等)依然会保存在远程桌面应用中,存在泄露个人信息的可能。
  4. 可以安装一个其他远程桌面软件(笔者自己使用 ToDesk)备用,以防因网络波动导致服务端 IP 改变无法连接。

注:在图书馆如果不想远程桌面,但是却想用公用电脑的屏幕,可以携带一根 HDMI / DP / miniDP 转 DVI 转接线。三个图书馆的公用电脑的屏幕的接口均为 VGA + DVI,其中 VGA 接口连接主机,DVI 接口未连接。不建议为了使用屏幕而断开连接主机的 VGA 线,这会为图书馆的维护人员带来困扰。

`,37),l=[t];function i(o,c){return s(),a("div",null,l)}const u=n(p,[["render",i],["__file","index.html.vue"]]),d=JSON.parse('{"path":"/service/network/remote-desktop/","title":"校内远程桌面使用指北","lang":"zh-CN","frontmatter":{},"headers":[{"level":2,"title":"远程桌面是什么?","slug":"远程桌面是什么","link":"#远程桌面是什么","children":[]},{"level":2,"title":"远程桌面的典型使用场景","slug":"远程桌面的典型使用场景","link":"#远程桌面的典型使用场景","children":[]},{"level":2,"title":"不建议使用远程桌面的场景","slug":"不建议使用远程桌面的场景","link":"#不建议使用远程桌面的场景","children":[]},{"level":2,"title":"服务端配置","slug":"服务端配置","link":"#服务端配置","children":[{"level":3,"title":"一键开启远程桌面功能并修改端口为 13389 的注册表文件:","slug":"一键开启远程桌面功能并修改端口为-13389-的注册表文件","link":"#一键开启远程桌面功能并修改端口为-13389-的注册表文件","children":[]}]},{"level":2,"title":"从客户端连接","slug":"从客户端连接","link":"#从客户端连接","children":[{"level":3,"title":"用于在校内网通过邮箱获取服务端IP地址的 Python 脚本:","slug":"用于在校内网通过邮箱获取服务端ip地址的-python-脚本","link":"#用于在校内网通过邮箱获取服务端ip地址的-python-脚本","children":[]}]},{"level":2,"title":"在图书馆使用远程桌面","slug":"在图书馆使用远程桌面","link":"#在图书馆使用远程桌面","children":[]}],"git":{"updatedTime":1655976342000,"contributors":[{"name":"Falken Sakurai","email":"58453886+KagaJiankui@users.noreply.github.com","commits":2},{"name":"Neko Null","email":"jerrylu.mail@qq.com","commits":2},{"name":"Sakuranetin","email":"58973019+Sakuranetin@users.noreply.github.com","commits":2},{"name":"BadBoyGuangzhi","email":"87311458+BadBoyGuangzhi@users.noreply.github.com","commits":1},{"name":"Neko Null","email":"11712709@mail.sustc.edu.cn","commits":1},{"name":"liziwl","email":"leezisy@gmail.com","commits":1},{"name":"sparkcyf","email":"sparktour@outlook.com","commits":1}]},"filePathRelative":"service/network/remote-desktop/README.md"}');export{u as comp,d as data}; diff --git a/assets/index.html-BRDX-VhE.js b/assets/index.html-BRDX-VhE.js new file mode 100644 index 000000000..ab8206b32 --- /dev/null +++ b/assets/index.html-BRDX-VhE.js @@ -0,0 +1 @@ +import{_ as a,o as e,c as r,e as l}from"./app-CAXKJsZK.js";const o="/assets/schedule-DaAD8Yzt.png",s="/assets/get-link-Ca6VzPiV.png",c="/assets/ics-url-DhpC3Prc.png",n="/assets/bb-due-macos-BQd1bwvP.png",t="/assets/bb-due-gcal-DccOKgd1.png",i={},d=l('

BB | 将Blackboard中作业,DDL等日程添加到系统日历

什么是ICS

ICS是一种电子日历格式,它于2009年被列入RFC标准 RFC5545: Internet Calendaring and Scheduling Core Object Specification (iCalendar))

这种日历格式可以被方便的添加到各大系统提供的“日历”应用中。

从Blackboard上获取ICS链接

在Blackboard主页上,点击左侧卡片中的“日程表”。

日程表

在页面的左下角,可以看到一个“获取外部日程表链接

获取外部日程表链接

点击后,Blackboard会生成一个形如 https://bb.sustech.edu.cn/webapps/calendar/calendarFeed/12345678abcdefg/learn.ics的URL。

URL

将URL导入iCloud(适用于IOS/MacOS设备)

HT202361: 使用 iCloud 日历订阅

导入后的效果:

iCloud

将URL导入Google Calendar

Google Calendar: 借助计算机程序同步您的日历

导入后的效果:

Google Calendar

Google Calendar是许多安装有Google Play服务的Android手机的默认日历应用。

将URL导入国产手机系统

截止2020年6月,小米和华为手机暂未支持这一功能。

',22),p=[d];function h(g,b){return e(),r("div",null,p)}const m=a(i,[["render",h],["__file","index.html.vue"]]),k=JSON.parse('{"path":"/service/blackboard/retrive-ics-url/","title":"BB | 将Blackboard中作业,DDL等日程添加到系统日历","lang":"zh-CN","frontmatter":{},"headers":[{"level":2,"title":"什么是ICS","slug":"什么是ics","link":"#什么是ics","children":[]},{"level":2,"title":"从Blackboard上获取ICS链接","slug":"从blackboard上获取ics链接","link":"#从blackboard上获取ics链接","children":[]},{"level":2,"title":"将URL导入iCloud(适用于IOS/MacOS设备)","slug":"将url导入icloud-适用于ios-macos设备","link":"#将url导入icloud-适用于ios-macos设备","children":[]},{"level":2,"title":"将URL导入Google Calendar","slug":"将url导入google-calendar","link":"#将url导入google-calendar","children":[]},{"level":2,"title":"将URL导入国产手机系统","slug":"将url导入国产手机系统","link":"#将url导入国产手机系统","children":[]}],"git":{"updatedTime":1592970118000,"contributors":[{"name":"liziwl","email":"leezisy@gmail.com","commits":1},{"name":"sparkcyf","email":"sparktour@outlook.com","commits":1}]},"filePathRelative":"service/blackboard/retrive-ics-url/README.md"}');export{m as comp,k as data}; diff --git a/assets/index.html-BRf8f6nn.js b/assets/index.html-BRf8f6nn.js new file mode 100644 index 000000000..92bd87504 --- /dev/null +++ b/assets/index.html-BRf8f6nn.js @@ -0,0 +1 @@ +import{_ as h,r as i,o as c,c as d,b as e,a as l,w as n,d as a,e as t}from"./app-CAXKJsZK.js";const p={},u=t('

🖥服务与技巧

SID (Student ID) 相关

🆔学号

💳校园卡&学生证

',5),f=e("li",null,[e("a",{href:"./campus-card"},"校园卡")],-1),m=e("h2",{id:"信息服务",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#信息服务"},[e("span",null,"信息服务")])],-1),g=e("h3",{id:"🌐校园网络",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#🌐校园网络"},[e("span",null,"🌐校园网络")])],-1),k=e("li",null,[e("a",{href:"./network"},"校园网络介绍与连接指南"),e("ul",null,[e("li",null,[e("em",null,"(包括无线网络,有线网络与电信自费宽带)")])])],-1),b=e("li",null,[e("a",{href:"./network/eduroam"},"eduroam(学术网路漫游)")],-1),_=e("li",null,[e("a",{href:"./network/ipv6"},"校内 IPv6 设置教程")],-1),v=e("li",null,[e("a",{href:"./network/apply-for-vpn"},"回校 VPN 申请")],-1),x=t('

Ehall

  1. SUSTech ehall | 成绩查询
  2. SUSTech ehall | 失物招领

计算机研究协会(CRA)

部分项目与科学计算中心合作部署。

  1. 💿SUSTech/CCSE/CRA/LUG镜像站:包含常用镜像与软件源 (已开放公网访问)
  2. 💾Git 服务:使用GitLab部署的代码托管服务。可用CAS登陆 (已开放公网访问)
  3. 📶校园网测速:内网测速。
  4. 📺校园直播:日常校园风景直播,可提供校内社团活动、分享会、座谈会直播支持,详情咨询CRA的同学。
  5. 📄Markdown:在线 Markdown 服务,可用CAS登陆 (已开放公网访问)
  6. 📄ShareLaTeX:在线LaTex服务,Overleaf服务,想体验的同学请自助注册(使用CRA SSO / CAS登陆),如果邮箱并非以sustech.edu.cn结尾,请用南科大邮箱发一封标题为 sharelatex申请 的邮件(写明需要开通账户人的邮箱)到 service@cra.moe,看到邮件之后会手动给大家发送邀请。(如果在您在校外,可以通过 https://sharelatex-ext.cra.ac.cn/ 访问)。
  7. 📁Send 文件分享:上传最大10G的文件,并使用链接将文件分享给在校园网下的其他的同学。文件默认于服务上存储10天,最多可保存30天。文件被加密存储于科学计算中心的服务器上,仅链接拥有者可以访问。(后台无法看到文件的内容)您同时也可以在上传文件后主动删除文件或者设置成在一次下载后自动删除文件。
  8. 🛠 软件资源下载
  9. 🖥️服务状态监控:校园网络,CRA服务监控。
  10. ✏️牛娃课程评价社区:是南科大学生的课程评价社区,只有拥有南科大邮箱的同学或老师才可以注册账户。
  11. DNS123服务:10.20.110.123,可通过此服务访问Google Scholar等学术服务。

牛娃小镇

部分项目与计算机研究协会(CRA)合作部署。

  1. ✏️牛娃课程评价社区:南科大学生的课程评价社区,因此,只有拥有南科大邮箱的同学或老师才可以注册账户。中科大同款评教系统,赓续教改初心。

信息群衍生

  1. SUSTown (微信/QQ小程序,在微信/QQ中搜索上述名称即可)

飞跃手册:申请与校招经验

南科大飞跃手册共有五部分,分别为英语学习,海外交流,选校经验,申请注意事项和个人申请总结,力求为 “如何在南方科技大学为申请国内、海外高校和入职优秀企业做出更全面的准备“ 这一问题作出解答。需要特别指出的是,飞跃手册具有一定的时效性,比如一些热门专业每年的申请形式都会发生极大变化,再比如当我们谈及“xx专业19fall是史上最难申请的一年”,这有可能意味着20fall会更难申请,所以参考往年飞跃手册时请注意。

退税

',13),w=t('

教学相关

👨‍🏫Sakai

🖨联创打印系统

👨‍🏫BlackBoard

',6),S=t('

通讯相关

📧电子邮件服务

💬企业微信

📦邮件与快递收发

🏥医疗服务/就诊

默认转诊医院变更

学校的社区健康服务中心门诊转诊定点医疗机构已在2021年7月改为南方科技大学医院(西丽人民医院),你也可以在转诊时要求转去深圳市内的任何一家三甲医院。

软件授权

学校已购买的软件与服务

',12),A=e("li",null,[a("WPS政府版:请在"),e("a",{href:"http://172.18.7.160/",target:"_blank",rel:"noopener noreferrer"},"此处(内网)"),a("下载")],-1),y=t('

教育邮箱福利

  1. Office 365
    • 仅有 Office online 套件,OneDrive 1TB 100GB 等
    • 不含 桌面版 Office 365 许可
  2. Jetbrains 全家桶
    • 包含JetBarins旗下软件的教育授权
  3. Github Student Pack
    • 包含一年免费.me域名,Digital Ocean一年100美金代金券等服务。
  4. AutoDesk软件
    • 软件授权为教育版
',2),C={id:"非官方windows套件激活服务",tabindex:"-1"},D={class:"header-anchor",href:"#非官方windows套件激活服务"},B=t('
详情

Windows:

  1. 此处查找希望激活的Windows版本,记下相应的KMS客户端安装程序密钥。
  2. 以管理员身份启动cmd,设置kms服务器slmgr /skms dns.cra.moe,设置密钥slmgr /ipk [KMS客户端安装程序密钥]
  3. 激活:slmgr /ato

Office:

  1. 下载Office Tool Plus
  2. 参考 https://www.coolhub.top/archives/14 中的 使用 Office Tool Plus 手动激活 一节,将KMS服务器设置为dns.cra.moe

上述服务仅在学校内网有效。

图书馆服务

除了常规的自习室与纸质书刊借阅服务外,图书馆还提供其他服务:

讨论间

可供小组讨论的隔音空间,一般需要提前预约,预约系统地址(点此)

如果有尚未被预约的讨论间,也可以直接使用。

电子数据库

截至2020年10月,图书馆共购买了152个数据库。下面列出常用的几个数据库,详细列表请查看图书馆网站上的《数据库导航》,如需校外访问,请从此进入

  1. CNKI中国知网数据库(校内免费下载)
  2. CNKI中国知网数据库(校外访问入口)
  3. 百度文库高校版(校内免费下载)
  4. Wind资讯金融数据库(图书馆三楼/慧园三栋313办公室)
  5. 新东方多媒体学习库数据库(校内外都可直接使用)

图书馆荐购

可以通过以下任意方式荐购图书:

教工/学生邮箱的报刊减免

图书馆数据库包含部分外文报刊,但仅限通过数据库访问;Web端,移动端无法访问。部分报刊官网提供教工/学生订阅减免:

  1. Financial Times, 邮箱注册并通过FT人工审核后免费使用(含APP)
  2. Economist, 提供仅面向学生的费用减免(含APP)
  3. Le Monde, 提供教工/学生减免(含APP)

什么值得买

生活好物

电子设备

平板电脑

如需购买苹果产品,请参考macrumors buyers guide

校园标识 / 文档模版

',23);function T(z,P){const r=i("RouteLink"),s=i("Badge"),o=i("AdSenseDisplayAD");return c(),d("div",null,[u,e("ul",null,[f,e("li",null,[l(r,{to:"/service/student-train-ticket/"},{default:n(()=>[a("火车票学生优惠使用指南")]),_:1})])]),m,g,e("ul",null,[k,b,_,v,e("li",null,[l(r,{to:"/service/network/use-vpn/"},{default:n(()=>[a("使用 SSL VPN 客户端说明")]),_:1})]),e("li",null,[l(r,{to:"/service/network/#%E4%BF%A1%E6%81%AF%E4%B8%AD%E5%BF%83"},{default:n(()=>[a("信息中心相关信息")]),_:1})])]),x,e("ul",null,[e("li",null,[l(r,{to:"/service/tax/"},{default:n(()=>[a("如何申报退税?-- 年度个人所得税年度汇算")]),_:1})])]),w,e("ul",null,[e("li",null,[l(r,{to:"/service/blackboard/retrive-ics-url/"},{default:n(()=>[a("Blackboard|将Blackboard中作业,DDL等日程添加到系统日历")]),_:1})])]),S,e("ol",null,[e("li",null,[l(r,{to:"/service/matlab/"},{default:n(()=>[a("Matlab")]),_:1})]),A]),y,e("h3",C,[e("a",D,[e("span",null,[a("非官方Windows套件激活服务"),l(s,{text:"仅限学习与评估用途",type:"warning"})])])]),B,l(o)])}const L=h(p,[["render",T],["__file","index.html.vue"]]),N=JSON.parse('{"path":"/service/","title":"🖥服务与技巧","lang":"zh-CN","frontmatter":{},"headers":[{"level":2,"title":"SID (Student ID) 相关","slug":"sid-student-id-相关","link":"#sid-student-id-相关","children":[{"level":3,"title":"🆔学号","slug":"🆔学号","link":"#🆔学号","children":[]},{"level":3,"title":"💳校园卡&学生证","slug":"💳校园卡-学生证","link":"#💳校园卡-学生证","children":[]}]},{"level":2,"title":"信息服务","slug":"信息服务","link":"#信息服务","children":[{"level":3,"title":"🌐校园网络","slug":"🌐校园网络","link":"#🌐校园网络","children":[]},{"level":3,"title":"Ehall","slug":"ehall","link":"#ehall","children":[]},{"level":3,"title":"计算机研究协会(CRA)","slug":"计算机研究协会-cra","link":"#计算机研究协会-cra","children":[]},{"level":3,"title":"牛娃小镇","slug":"牛娃小镇","link":"#牛娃小镇","children":[]},{"level":3,"title":"信息群衍生","slug":"信息群衍生","link":"#信息群衍生","children":[]},{"level":3,"title":"飞跃手册:申请与校招经验","slug":"飞跃手册-申请与校招经验","link":"#飞跃手册-申请与校招经验","children":[]}]},{"level":2,"title":"退税","slug":"退税","link":"#退税","children":[]},{"level":2,"title":"教学相关","slug":"教学相关","link":"#教学相关","children":[{"level":3,"title":"👨‍🏫Sakai","slug":"👨‍🏫sakai","link":"#👨‍🏫sakai","children":[]},{"level":3,"title":"🖨联创打印系统","slug":"🖨联创打印系统","link":"#🖨联创打印系统","children":[]},{"level":3,"title":"👨‍🏫BlackBoard","slug":"👨‍🏫blackboard","link":"#👨‍🏫blackboard","children":[]}]},{"level":2,"title":"通讯相关","slug":"通讯相关","link":"#通讯相关","children":[{"level":3,"title":"📧电子邮件服务","slug":"📧电子邮件服务","link":"#📧电子邮件服务","children":[]},{"level":3,"title":"💬企业微信","slug":"💬企业微信","link":"#💬企业微信","children":[]}]},{"level":2,"title":"📦邮件与快递收发","slug":"📦邮件与快递收发","link":"#📦邮件与快递收发","children":[]},{"level":2,"title":"🏥医疗服务/就诊","slug":"🏥医疗服务-就诊","link":"#🏥医疗服务-就诊","children":[]},{"level":2,"title":"软件授权","slug":"软件授权","link":"#软件授权","children":[{"level":3,"title":"学校已购买的软件与服务","slug":"学校已购买的软件与服务","link":"#学校已购买的软件与服务","children":[]},{"level":3,"title":"教育邮箱福利","slug":"教育邮箱福利","link":"#教育邮箱福利","children":[]},{"level":3,"title":"非官方Windows套件激活服务","slug":"非官方windows套件激活服务","link":"#非官方windows套件激活服务","children":[]}]},{"level":2,"title":"图书馆服务","slug":"图书馆服务","link":"#图书馆服务","children":[{"level":3,"title":"讨论间","slug":"讨论间","link":"#讨论间","children":[]},{"level":3,"title":"电子数据库","slug":"电子数据库","link":"#电子数据库","children":[]},{"level":3,"title":"图书馆荐购","slug":"图书馆荐购","link":"#图书馆荐购","children":[]},{"level":3,"title":"教工/学生邮箱的报刊减免","slug":"教工-学生邮箱的报刊减免","link":"#教工-学生邮箱的报刊减免","children":[]}]},{"level":2,"title":"什么值得买","slug":"什么值得买","link":"#什么值得买","children":[{"level":3,"title":"生活好物","slug":"生活好物","link":"#生活好物","children":[]},{"level":3,"title":"电子设备","slug":"电子设备","link":"#电子设备","children":[]},{"level":3,"title":"平板电脑","slug":"平板电脑","link":"#平板电脑","children":[]}]},{"level":2,"title":"校园标识 / 文档模版","slug":"校园标识-文档模版","link":"#校园标识-文档模版","children":[]}],"git":{"updatedTime":1721613868000,"contributors":[{"name":"sparkcyf","email":"sparktour@outlook.com","commits":25},{"name":"liziwl","email":"leezisy@gmail.com","commits":17},{"name":"Ziqiang Li","email":"leezisy@gmail.com","commits":4},{"name":"Changxu MIAO","email":"changxumiao@yahoo.com","commits":2},{"name":"Da Hao","email":"v@daidahao.me","commits":2},{"name":"Jizhou Wu","email":"wuchichou@gmail.com","commits":2},{"name":"Yuheng","email":"pass@chenyuheng.cn","commits":2},{"name":"Dazhi FENG","email":"da.zhi0619@gmail.com","commits":1},{"name":"Shilong Li","email":"47763046+lethal233@users.noreply.github.com","commits":1},{"name":"lethal233","email":"11811407@mail.sustech.edu.cn","commits":1},{"name":"yuki","email":"chenjf2020@mail.sustech.edu.cn","commits":1}]},"filePathRelative":"service/README.md"}');export{L as comp,N as data}; diff --git a/assets/index.html-BS4qaOZ1.js b/assets/index.html-BS4qaOZ1.js new file mode 100644 index 000000000..051d07836 --- /dev/null +++ b/assets/index.html-BS4qaOZ1.js @@ -0,0 +1 @@ +import{_ as r,r as s,o as h,c as d,b as e,d as l,a as t,w as a,e as o}from"./app-CAXKJsZK.js";const c={},u=o('

如果你是新生...

提示

右键/长按链接在新窗口打开,以获得更好的阅读效果!

提示

本文写于 2020年8月,部分内容可能已经过时。

到校之前,你可以

加入新生群

根据迎新网上的提示,加入新生群,在QQ群内向学长学姐提出你想问的问题。提问之前,别忘了先看看《提问的智慧》

致仁书院2020新生咨询群:913306082

树仁书院2020新生咨询群:1097888660

致诚书院2020新生咨询群:1106061970

树德书院2020新生咨询群:1033070328

致新书院2020新生咨询群:1128902987

树礼书院2020新生咨询群:807844572

2020全国迎新群(官方):834277170

非官方的2020群:1102473263

云游南科大的校园

',8),_=e("em",null,"(由于疫情缘故,全景航拍都是2019暑假拍摄的,今年没有更新。全景里面的许多建筑都已经完工,在开学之后就可以使用啦!)",-1),p=e("p",null,[e("img",{src:"https://mirrors.sustech.edu.cn/git/sustech-online/sustech-online-ng/-/raw/master/docs/facility/campus-pano.jpg",alt:"湖畔全景"})],-1),f=e("p",null,[l("你也可以在南科大官网中的"),e("a",{href:"https://www.sustech.edu.cn/zh/gallery.html",target:"_blank",rel:"noopener noreferrer"},"南科视界"),l("栏目查看最新的校园照片。")],-1),E={id:"关注几个公众号",tabindex:"-1"},A={class:"header-anchor",href:"#关注几个公众号"},m=e("a",{href:"https://suste.ch/",target:"_blank",rel:"noopener noreferrer"},"网站",-1),B=e("a",{href:"https://sustc.wiki/%E7%89%B9%E6%AE%8A:%E6%89%80%E6%9C%89%E9%A1%B5%E9%9D%A2?from=&to=&namespace=0&hideredirects=1",target:"_blank",rel:"noopener noreferrer"},"轶事",-1),b=e("h3",{id:"了解课程与培养方案",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#了解课程与培养方案"},[e("span",null,"了解课程与培养方案")])],-1),g=e("p",null,"培养方案和课程详述(syllabus)将会陪伴你大学四年,不妨在有空时翻阅一下,寻找你心水的专业与课程。",-1),k=e("li",null,[e("a",{href:"https://mirrors.sustech.edu.cn/courses/%E6%9C%AC%E7%A7%91%E4%BA%BA%E6%89%8D%E5%9F%B9%E5%85%BB%E6%96%B9%E6%A1%88/2021%E7%BA%A7%E6%9C%AC%E7%A7%91%E4%BA%BA%E6%89%8D%E5%9F%B9%E5%85%BB%E6%96%B9%E6%A1%88/",target:"_blank",rel:"noopener noreferrer"},"2020级本科人才培养方案")],-1),x=e("li",null,[e("a",{href:"https://mirrors.sustech.edu.cn/courses/curriculum_for_international_students/",target:"_blank",rel:"noopener noreferrer"},"Curriculum for International Students (2020)")],-1),y=e("p",null,"你也可以现行了解入学后的分级考试都会涉及哪些内容,并决定自己收否需要参加某些考试。",-1),v=e("h3",{id:"读一读来自学长学姐的建议",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#读一读来自学长学姐的建议"},[e("span",null,"读一读来自学长学姐的建议")])],-1),C=e("h3",{id:"或者是南科大网红老师推荐的书单",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#或者是南科大网红老师推荐的书单"},[e("span",null,"或者是南科大网红老师推荐的书单?")])],-1),w=e("h3",{id:"再来看看有没有你感兴趣的社团",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#再来看看有没有你感兴趣的社团"},[e("span",null,"再来看看有没有你感兴趣的社团")])],-1),D=e("h3",{id:"当然-衣食住行也相当重要",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#当然-衣食住行也相当重要"},[e("span",null,"当然,衣食住行也相当重要")])],-1),F=e("h4",{id:"先了解一下住宿环境",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#先了解一下住宿环境"},[e("span",null,"先了解一下住宿环境")])],-1),N=e("h4",{id:"校内都有啥吃的",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#校内都有啥吃的"},[e("span",null,"校内都有啥吃的?")])],-1),q=e("h4",{id:"东西在哪里买",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#东西在哪里买"},[e("span",null,"东西在哪里买?")])],-1),z=e("h4",{id:"想健身",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#想健身"},[e("span",null,"想健身?")])],-1),R=e("h3",{id:"要是我提早到了深圳",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#要是我提早到了深圳"},[e("span",null,"要是我提早到了深圳...")])],-1),Q=e("strong",null,"没提早到也没关系",-1),S=o('

到校之后,你可以...

按照新生报到检查单中的内容进行报到。

',2),T={id:"了解如何连接校园网络",tabindex:"-1"},V={class:"header-anchor",href:"#了解如何连接校园网络"},L={id:"看看其他的实用技巧",tabindex:"-1"},M={class:"header-anchor",href:"#看看其他的实用技巧"},j={id:"添加黄页中提到的常用qq群",tabindex:"-1"},H={class:"header-anchor",href:"#添加黄页中提到的常用qq群"},I=e("h2",{id:"最后",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#最后"},[e("span",null,"最后...")])],-1);function J(O,P){const n=s("RouteLink"),i=s("Badge");return h(),d("div",null,[u,e("p",null,[l("查看南科手册的"),t(n,{to:"/facility/"},{default:a(()=>[l("🏫建筑与设施部分")]),_:1}),l(",看看校园内都有哪些建筑,他们的功能都是什么。或是在"),t(n,{to:"/facility/#%E5%85%A8%E6%99%AF%E7%9C%8B%E6%A0%A1%E5%9B%AD"},{default:a(()=>[l("全景看校园")]),_:1}),l(",一窥航拍的南科大。"),_,l("。")]),p,f,e("h3",E,[e("a",A,[e("span",null,[l("关注几个公众号"),t(i,{text:"Recommend",type:"tip"})])])]),e("p",null,[l("除了南科大的官方公众号和书院公众号,你也可以关注新闻社运营的"),t(n,{to:"/media/#%E5%AD%A6%E7%94%9F%E7%BB%84%E7%BB%87%E4%B8%8E%E7%A4%BE%E5%9B%A2"},{default:a(()=>[l("南科新知")]),_:1}),l(",或是由学生自主运营的"),t(n,{to:"/media/#%E5%BE%AE%E4%BF%A1%E5%85%AC%E4%BC%97%E5%8F%B7"},{default:a(()=>[l("你科周末")]),_:1}),l("。从官方与学生的角度,全面地了解南科大。当然,在"),t(n,{to:"/media/#%F0%9F%93%BA%E5%AA%92%E4%BD%93%E4%B8%8E%E7%BD%91%E7%AB%99"},{default:a(()=>[l("📺媒体与网站")]),_:1}),l("部分中的其他公众号或是"),m,l("中,你或许能够了解南科大的更多"),B,l("。")]),b,g,e("ul",null,[e("li",null,[t(n,{to:"/study/by-shude-college/advice-on-study.html#%E5%85%A5%E5%AD%A6%E8%80%83%E8%AF%95%E7%9A%84%E5%BB%BA%E8%AE%AE"},{default:a(()=>[l("🎓学在南科/课程")]),_:1})]),k,x]),y,v,e("ul",null,[e("li",null,[t(n,{to:"/study/by-shude-college/advice-on-study.html"},{default:a(()=>[l("学习建议 by 树德书院")]),_:1})]),e("li",null,[t(n,{to:"/study/by-shude-college/info-on-study.html"},{default:a(()=>[l("学习制度与信息 by 树德书院")]),_:1})])]),C,e("ul",null,[e("li",null,[t(n,{to:"/study/book-list-by-prof-yuan/2018/"},{default:a(()=>[l("袁长庚老师所推荐的新生书单")]),_:1})])]),w,e("ul",null,[e("li",null,[t(n,{to:"/organizations/#%E7%A4%BE%E5%9B%A2"},{default:a(()=>[l("🎡社团活动")]),_:1})])]),D,e("ul",null,[e("li",null,[t(n,{to:"/life/"},{default:a(()=>[l("👨‍🎓生活在南科")]),_:1})])]),F,e("ul",null,[e("li",null,[t(n,{to:"/life/dormitory/"},{default:a(()=>[l("👨‍🎓生活在南科/住在南科")]),_:1})])]),N,e("ul",null,[e("li",null,[t(n,{to:"/life/catering/"},{default:a(()=>[l("☕️餐饮")]),_:1})])]),q,e("ul",null,[e("li",null,[t(n,{to:"/life/#%E8%B6%85%E5%B8%82"},{default:a(()=>[l("🏪超市")]),_:1})])]),z,e("ul",null,[e("li",null,[t(n,{to:"/life/sports-facility/"},{default:a(()=>[l("🏊‍♀️运动设施")]),_:1})])]),R,e("p",null,[l("不妨去探索"),t(n,{to:"/surroundings/"},{default:a(()=>[l("学校周边的设施")]),_:1}),l("。")]),e("p",null,[Q,l(",你也可以先规划如何"),t(n,{to:"/transport/#%F0%9F%97%BA%E6%8A%B5%E8%BE%BE%E5%8D%97%E6%96%B9%E7%A7%91%E6%8A%80%E5%A4%A7%E5%AD%A6"},{default:a(()=>[l("抵达学校")]),_:1}),l(",看看深圳市内都有"),t(n,{to:"/transport/#%E5%B8%82%E5%86%85%E4%BA%A4%E9%80%9A"},{default:a(()=>[l("哪些交通方式")]),_:1}),l("。")]),S,e("h4",T,[e("a",V,[e("span",null,[l("了解"),t(n,{to:"/service/network/"},{default:a(()=>[l("如何连接校园网络")]),_:1})])])]),e("h4",L,[e("a",M,[e("span",null,[l("看看其他的"),t(n,{to:"/service/"},{default:a(()=>[l("实用技巧")]),_:1})])])]),e("h4",j,[e("a",H,[e("span",null,[l("添加"),t(n,{to:"/contact/"},{default:a(()=>[l("黄页")]),_:1}),l("中提到的常用QQ群")])])]),I,e("p",null,[l("把南科手册添加到浏览器的收藏夹或是桌面!("),t(n,{to:"/site-help/"},{default:a(()=>[l("没错,南科手册也可以作为一个本地应用运行")]),_:1}),l(")你会发现你在未来会经常需要用到它~")])])}const G=r(c,[["render",J],["__file","index.html.vue"]]),K=JSON.parse('{"path":"/if-you-are-a-freshman/","title":"如果你是新生...","lang":"zh-CN","frontmatter":{},"headers":[{"level":2,"title":"到校之前,你可以","slug":"到校之前-你可以","link":"#到校之前-你可以","children":[{"level":3,"title":"加入新生群","slug":"加入新生群","link":"#加入新生群","children":[]},{"level":3,"title":"云游南科大的校园","slug":"云游南科大的校园","link":"#云游南科大的校园","children":[]},{"level":3,"title":"关注几个公众号","slug":"关注几个公众号","link":"#关注几个公众号","children":[]},{"level":3,"title":"了解课程与培养方案","slug":"了解课程与培养方案","link":"#了解课程与培养方案","children":[]},{"level":3,"title":"读一读来自学长学姐的建议","slug":"读一读来自学长学姐的建议","link":"#读一读来自学长学姐的建议","children":[]},{"level":3,"title":"或者是南科大网红老师推荐的书单?","slug":"或者是南科大网红老师推荐的书单","link":"#或者是南科大网红老师推荐的书单","children":[]},{"level":3,"title":"再来看看有没有你感兴趣的社团","slug":"再来看看有没有你感兴趣的社团","link":"#再来看看有没有你感兴趣的社团","children":[]},{"level":3,"title":"当然,衣食住行也相当重要","slug":"当然-衣食住行也相当重要","link":"#当然-衣食住行也相当重要","children":[]},{"level":3,"title":"要是我提早到了深圳...","slug":"要是我提早到了深圳","link":"#要是我提早到了深圳","children":[]}]},{"level":2,"title":"到校之后,你可以...","slug":"到校之后-你可以","link":"#到校之后-你可以","children":[]},{"level":2,"title":"最后...","slug":"最后","link":"#最后","children":[]}],"git":{"updatedTime":1649130118000,"contributors":[{"name":"sparkcyf","email":"sparktour@outlook.com","commits":4},{"name":"liziwl","email":"leezisy@gmail.com","commits":2}]},"filePathRelative":"if-you-are-a-freshman/README.md"}');export{G as comp,K as data}; diff --git a/assets/index.html-BZUn4ZJM.js b/assets/index.html-BZUn4ZJM.js new file mode 100644 index 000000000..12d0e4b45 --- /dev/null +++ b/assets/index.html-BZUn4ZJM.js @@ -0,0 +1 @@ +import{_ as s,o as t,c as n,e}from"./app-CAXKJsZK.js";const r="/assets/online-verification-12306-BEUU626P.jpg",o="/assets/IMG_20210126_195932-CcPoYui6.jpg",a="/assets/IMG_20210126_195856-DXyF--kV.jpg",p="/assets/IMG_20210123_205049-Bw9zRtQM.jpg",i="/assets/IMG_20210126_195515-CPmIN8K2.jpg",l="/assets/IMG_20210126_195546-zqQFyckm.jpg",c="/assets/IMG_20210126_200439_edit_7106211807769-CvvZZbWP.jpg",g="/assets/59cf84079d9ff4f9-C6NKHKEY.jpg",_="/assets/IMG_20210126_205908-CdzCCfcH.jpg",m="/assets/IMG_20210126_205402-BgYMfnkC.jpg",h="/assets/IMG_20210126_210458-CZproeSd.jpg",d="/assets/IMG_20210126_210550-Cg0P0lTE.jpg",f="/assets/IMG_20210126_210622-WmxFxbIh.jpg",u="/assets/Screenshot_20210128_114248_com.MobileTicket-DWgBBsh0.jpg",b="/assets/IMG_20210126_211345-BIDnqlMe.jpg",k={},x=e('

火车票学生优惠使用指南

提示

南科大交通协会的成员更正了本文的一些过时内容,希望可以帮助到有需要的同学。也欢迎校内交通爱好者加入 931634170(QQ)。

12306现已开通在线验证学生资格的通道,同学们可以参考12306的帮助文档,在手机app上进行学生资格验证。同时,没有学信网学籍信息的 新生凭录取通知书(毕业生凭学校开具的书面证明) 可以在12306网站(含手机APP)或车站人工窗口凭有效身份证件购买一次学生家庭所在地至学校所在地之间的单程学生票。

在线资质核验

2022年之前的验证方式

由 周翊澄 贡献

本指南包含对火车票学生优惠的写卡,充磁,验证,购票,进站等操作的说明。

2022春节火车票特别优惠活动(广东学联提供):高校学生补贴-减10元

写卡

第一次使用学生优惠的同学需要将身份证信息写入优惠卡中(优惠卡是学生证中的一页)(图1)

图1 图1(图源南科大学生事务中心)

充磁

学生优惠每学年只能使用4次,因此每年寒假前需要到南科大中心二层学生事务中心进行充磁(大一新生无需充磁) 充磁机器有两种,放在事务中心前台桌上。建议直接咨询前台学生助理,说学生证充磁即可。

图2 图2

图3 图3

自助终端机充磁:选择购票次数充值(图4),放置学生证充磁。高年级或研究生同学如遇到图5情况或充磁后优惠次数不等于4次(图6),请使用小机器充磁。

图4 图4

图5 图5

图6 图6

小机器充磁:将学生证放置在小机器上(图7),按确认即可。(如找不到小机器请咨询前台学生助理)

图7 图7

验证

学生优惠资质可以登录铁路12306APP在线核验了,线下核验渠道仍保留!

因为每年学生优惠资质会自动解绑,所以每学年首次使用学生优惠需携带身份证学生证深圳北站自助售票机或售票窗口验证学生优惠资质并且取出报销凭证,走人工验证通道进站。(图8)

图8 图8

火车站部分机器无法识别学生证,建议使用自动售票处2和自动售票处3的小机器(图9)验证学生优惠资质并取出报销凭证

图9 图9

操作方法(图10 ):选择优惠资质绑定,将学生证身份证依次放置在证件识别区(图11)。选择取报销凭证,将身份证放置在证件识别区。选择信息查询将身份证放置在证件识别区可查询已扣优惠次数(图12)。

图10 图10

图11 图11

图12 图12

购票

疫情后,学生票一年四次,全年可买,以每年10月1日为计数界限。

  • 普速列车学生票,硬座为半价,硬卧为(硬卧原价-0.5✖硬座原价)
  • 动车组列车二等座按公布票价的75%计算。某些公布票价很高,而实际票价较低的动车组列车,如果实际票价已经低于公布票价的75%,此时二等座学生票仍可购买,但是将不会获得优惠。

购票(以12306 App为例)添加乘车人时将旅客类型设置为学生即可。(图13)

图13 图13

接续换乘

如果从深圳到家没有直达的火车,可以在中途车站转乘其他车次列车。这种操作叫做接续换乘

学生票接续换乘时请注意以下事项:

  1. 请预留足够的换乘时间,包括考虑列车可能的晚点
  2. 换乘可以是不同的车站,但是必须在同一个城市。
  3. 一次学生票机会(一年四次)最多购买三段区间,也就是最多进行两次换乘。前后段都买学生票但是中段不买学生票,会被计作两次学生票。但是只买中间一段区间的学生票也是允许的。
  4. 换乘时间不得超过72小时,否则也会被计作两次。
  5. 理论上只能买最短路程,或直达车经过的线路。实际操作中,只要不是明显的绕路都可以出学生票。

进站

  • 如果在绑定资质前就购买了车票,乘车前需取出报销凭证并走人工验证通道(图14)进站,之后三次可直接刷身份证进站。(乘车时请随身携带学生证以备工作人员查验)
  • 如果购票前已经绑定了学生资质,则不需要取报销凭证,可直接刷身份证进站乘车。

图14 图14

后言

铁路部门全面实施电子客票对于新生使用学生优惠可能造成一定的困惑,希望本文能给各位同学提供些许帮助。一切以实际情况为准,如遇到困难及时寻求人工帮助,不要和机器作斗争。请大家注意出行安全,保管好重要证件,做好疫情防护,遇到紧急情况可拨打110。本文仓促写成,如有笔误请联系476084612(QQ)。

南科大交通协会(筹)的成员更正了本文的一些过时内容,希望可以帮助到有需要的同学。也欢迎校内交通爱好者加入 931634170(QQ)。

参考资料:

',6),j=[x];function I(M,q){return t(),n("div",null,j)}const G=s(k,[["render",I],["__file","index.html.vue"]]),P=JSON.parse('{"path":"/service/student-train-ticket/","title":"火车票学生优惠使用指南","lang":"zh-CN","frontmatter":{},"headers":[{"level":2,"title":"2022年之前的验证方式","slug":"_2022年之前的验证方式","link":"#_2022年之前的验证方式","children":[]}],"git":{"updatedTime":1721613868000,"contributors":[{"name":"liziwl","email":"leezisy@gmail.com","commits":2},{"name":"ByteInt","email":"68625666+ByteInt@users.noreply.github.com","commits":1},{"name":"Zhou-Yicheng","email":"52224018+Zhou-Yicheng@users.noreply.github.com","commits":1},{"name":"Ziqiang Li","email":"leezisy@gmail.com","commits":1},{"name":"sparkcyf","email":"sparktour@outlook.com","commits":1}]},"filePathRelative":"service/student-train-ticket/README.md"}');export{G as comp,P as data}; diff --git a/assets/index.html-Bb5AGtLl.js b/assets/index.html-Bb5AGtLl.js new file mode 100644 index 000000000..426b091d3 --- /dev/null +++ b/assets/index.html-Bb5AGtLl.js @@ -0,0 +1 @@ +import{_ as e,o as a,c as l,e as n}from"./app-CAXKJsZK.js";const s={},t=n('

📗教材与图书借还

教材借还

每年的学期初和结束时图书馆都会邮件通知借教材和还教材的时间和地点,大家可以根据自己需求借一些上课可能用到的教材。但是需要记得在学期结束的时候即使按照邮件通知即使归还图书,逾否则逾期的话可能要交逾期费。

图书馆书籍借还

如何找到想要的书?

登陆图书馆首页,在“馆藏书刊”检索中输入该书的题名(刊名)/责任者(作者)/主题词等信息,点击搜索,从检索出的书目信息中,挑选自己想要的图书,并记录该书的索书号,根据图书的楼层分布及索书号到书库查找图书.

如何利用自助借还书机借书、还书?

借书步骤:自助借还书机——“借书”——校园卡放在屏幕右下方的感应区——将书错落地放置于感应区(一次最好不超过5本)——“确认”;还书步骤:自助借还书机——“还书”——将书错落地放置于感应区(一次最好不超过5本)——确认还书信息是否准确——信息无误后将书放入还书箱。

怎样查看个人借书情况和还书期限?

  1. 持本人校园卡在自助借还书机点击“查询”按钮查看;

  2. 打开图书馆网站——登录“我的图书馆”——“我的借阅”或“待还书”——查看;

  3. 关注图书馆微信(网站首页下方扫码),在微信订阅号中下方“服务”栏——“图书续借”

每个读者的借阅权限是多少册图书,借期为多长时间?

可借20册书,借期30天。

',12),i=[t];function r(h,o){return a(),l("div",null,i)}const d=e(s,[["render",r],["__file","index.html.vue"]]),p=JSON.parse('{"path":"/study/borrow-books/","title":"📗教材与图书借还","lang":"zh-CN","frontmatter":{},"headers":[{"level":2,"title":"教材借还","slug":"教材借还","link":"#教材借还","children":[]},{"level":2,"title":"图书馆书籍借还","slug":"图书馆书籍借还","link":"#图书馆书籍借还","children":[{"level":3,"title":"如何找到想要的书?","slug":"如何找到想要的书","link":"#如何找到想要的书","children":[]},{"level":3,"title":"如何利用自助借还书机借书、还书?","slug":"如何利用自助借还书机借书、还书","link":"#如何利用自助借还书机借书、还书","children":[]},{"level":3,"title":"怎样查看个人借书情况和还书期限?","slug":"怎样查看个人借书情况和还书期限","link":"#怎样查看个人借书情况和还书期限","children":[]},{"level":3,"title":"每个读者的借阅权限是多少册图书,借期为多长时间?","slug":"每个读者的借阅权限是多少册图书-借期为多长时间","link":"#每个读者的借阅权限是多少册图书-借期为多长时间","children":[]}]}],"git":{"updatedTime":1596618035000,"contributors":[{"name":"sparkcyf","email":"sparktour@outlook.com","commits":1}]},"filePathRelative":"study/borrow-books/README.md"}');export{d as comp,p as data}; diff --git a/assets/index.html-BivENQ4t.js b/assets/index.html-BivENQ4t.js new file mode 100644 index 000000000..6d33f8959 --- /dev/null +++ b/assets/index.html-BivENQ4t.js @@ -0,0 +1 @@ +import{_ as t,o as e,c as r,e as n}from"./app-CAXKJsZK.js";const h={},a=n('

教授邮件列表

理学院

数学系

姓名邮箱
陈懿茂chenym@sustech.edu.cn
Victor Didenkodiviol@gmail.com
董世杰dongsj@sustech.edu.cn
Efim Zelmanov官网未找到邮箱
方复全fangfq@sustech.edu.cn
付云皓fuyh@sustech.edu.cn
冯致程fengzc@sustech.edu.cn
古嘉雯gujw@sustech.edu.cn
Stavros Garoufalidisstavros@sustech.edu.cn
高辉gaoh@sustech.edu.cn
花永霞huayx@sustech.edu.cn
Jana Hertzrhertz@sustech.edu.cn
胡勇huy@sustech.edu.cn
Ingrid Irmeringridmary@sustech.edu.cn
Alexander Kurganovalexander@sustech.edu.cn
李景治lijz@sustech.edu.cn
李才恒lich@sustech.edu.cn
李展liz7(at)sustech(dot)edu(dot)cn
李觉先lijx2019@sustech.edu.cn
刘博辰liubc@sustech.edu.cn
刘智慧liuzh3@sustech.edu.cn
马富明mafm@sustech.edu.cn
马梓铭官网未找到邮箱
邱雁南qiuyn@sustech.edu.cn
苏琳琳sull@sustech.edu.cn
孙景瑞sunjr@sustech.edu.cn
汤涛tangt@sustech.edu.cn
Raul Mario Ures De La Madridures@sustech.edu.cn
王融wangr3@sustech.edu.cn
吴纪桃wujt@sustech.edu.cn
温家强wenjq@sustech.edu.cn
吴开亮wukl@sustech.edu.cn
邬龙挺官网未找到邮箱
王晓明wangxm@sustech.edu.cn
熊捷xiongj@sustech.edu.cn
向子卿官网未找到邮箱
向青xiangq@sustech.edu.cn
杨将yangj7@sustech.edu.cn
杨燕yangy3@sustech.edu.cn
张振zhangz@sustech.edu.cn
曾萍萍zengpp@sustech.edu.cn
朱一飞zhuyf@sustech.edu.cn
张进zhangj9@sustech.edu.cn
张文龙zhangwl@sustech.edu.cn
张艺赢zhangyy3@sustech.edu.cn
张继平官网未找到邮箱

物理系

姓名邮箱
陈朗chenlang@sustech.edu.cn
陈远珍chenyz@sustech.edu.cn
陈伟强chenwq@sustech.edu.cn
陈卓昱chenzhuoyu@sustech.edu.cn
戴亚南daiyn@sustech.edu.cn
顾铭强gumq@sustech.edu.cn
Sebastian Garcia-Saenzsgarciasaenz@sustech.edu.cn
郭鸣阳guomy@sustech.edu.cn
何佳清hejq@sustech.edu.cn
黄丽huangl@sustech.edu.cn
何洪涛heht@sustech.edu.cn
黄明远huangmy@sustech.edu.cn
胡松柏husb@sustech.edu.cn
蒋绍龙jiangsl@sustech.edu.cn
刘畅liuc@sustech.edu.cn
刘奇航liuqh@sustech.edu.cn
鲁大为ludw@sustech.edu.cn
林君浩linjh@sustech.edu.cn
卢海舟luhz@sustech.edu.cn
李军学lijx3@sustech.edu.cn
刘影liuy37@sustech.edu.cn
刘松lius9@sustech.edu.cn
柳卫平liuwp@sustech.edu.cn
Modesto Leonardolmodesto@sustech.edu.cn
梅佳伟meijw@sustech.edu.cn
马晓光maxg@sustech.edu.cn
吴紫辉wuzh3@sustech.edu.cn
孙煜杰sunyj@sustech.edu.cn
唐叔贤tongsy@sustech.edu.cn
王干wangg@sustech.edu.cn
王克东wangkd@sustech.edu.cn
王善民wangsm@sustech.edu.cn
吴留锁wuls@sustech.edu.cn
王峻岭jwang@sustech.edu.cn
王取泉wangqq6@sustech.edu.cn
王戊wangw7@sustech.edu.cn
薛其坤xueqk@sustech.edu.cn
徐虎xuh@sustech.edu.cn
许志芳xuzf@sustech.edu.cn
谢琳xiel3@sustech.edu.cn
徐泽东xuzd@sustech.edu.cn
俞大鹏yudp@sustech.edu.cn
叶飞yef@sustech.edu.cn
叶茂yem@sustech.edu.cn
姚秋石yaoqs@sustech.edu.cn
杨兵yangbing@sustech.edu.cn
殷嘉鑫yinjx@sustech.edu.cn
张立源zhangly@sustech.edu.cn
赵予生zhaoys@sustech.edu.cn
赵悦zhaoy@sustech.edu.cn
朱金龙zhujl@sustech.edu.cn

化学系

姓名邮箱
支志明官网未找到邮箱
钟龙华oscarchung@sustech.edu.cn
陈忠仁chenzr@sustech.edu.cn
崔剑方cuijf@sustech.edu.cn
常晓勇changxy@sustech.edu.cn
Chris Soon Heng TANchristan@sustech.edu.cn
段乐乐duanll@sustech.edu.cn
董哲dongz@sustech.edu.cn
郭庆guoq@sustech.edu.cn
顾均guj6@sustech.edu.cn
黄乃正官网未找到邮箱
黄立民huanglm@sustech.edu.cn
何川hec@sustech.edu.cn
何凤hef@sustech.edu.cn
何振宇jasonhcy@sustech.edu.cn
郝瑞haor@sustech.edu.cn
贾铁争jiatz@sustech.edu.cn
姜洪岩jianghy@sustech.edu.cn
刘科liuk@sustech.edu.cn
陆为luw@sustech.edu.cn
李鹏飞lipf@sustech.edu.cn
李欣lix7@sustech.edu.cn
刘运根liuyg@sustech.edu.cn
刘心元liuxy3@sustech.edu.cn
刘柳liuleoliu@sustech.edu.cn
李闯创ccli@sustech.edu.cn
马大为madw@sustech.edu.cn
闵龙minl@sustech.edu.cn
毛陵玲maoll@sustech.edu.cn
倪勇niy@sustech.edu.cn
权泽卫quanzw@sustech.edu.cn
曲建飞qujf@sustech.edu.cn
舒伟shuw@sustech.edu.cn
唐勇tangy3@sustech.edu.cn
谭斌tanb@sustech.edu.cn
田瑞军tianrj@sustech.edu.cn
陶丽芝taolz@sustech.edu.cn
黄文忠keithwongmc@sustech.edu.cn
王阳刚wangyg@sustech.edu.cn
王杰wangjie@sustech.edu.cn
王健纯wangjc3@sustech.edu.cn
吴振禹wuzy@sustech.edu.cn
徐晶xuj@sustech.edu.cn
许宗祥xuzx@sustech.edu.cn
谢小江xiexj@sustech.edu.cn
徐晨xuc@sustech.edu.cn
夏海平xiahp@sustech.edu.cn
徐明华xumh@sustech.edu.cn
谢作伟xiezw@sustech.edu.cn
杨学明yangxm@sustech.edu.cn
于洋yuy7@sustech.edu.cn
余沛源yupy@sustech.edu.cn
杨天罡yangtg@sustech.edu.cn
杨烽yangf3@sustech.edu.cn
俞书宏yush@sustech.edu.cn
张绪穆zhangxm@sustech.edu.cn
张元竹zhangyz@sustech.edu.cn
郑智平zhengzp@sustech.edu.cn
周友运zhouyy@sustech.edu.cn
赵斌zhaobin@sustech.edu.cn

地球与空间科学系

姓名邮箱
包雪阳baoxy@sustech.edu.cn
陈晓非chenxf@sustech.edu.cn
陈斌chenb6@sustech.edu.cn
陈克杰chenkj@sustech.edu.cn
陈志豪chenzh@sustech.edu.cn
董莉dongl@sustech.edu.cn
方鑫定fangxd@sustech.edu.cn
傅磊ful@sustech.edu.cn
高科gaok@sustech.edu.cn
郭俊鑫guojx@sustech.edu.cn
韩鹏hanp@sustech.edu.cn
何展翔hezx@sustech.edu.cn
胡佳顺hujs@sustech.edu.cn
景志成jingzc@sustech.edu.cn
林玉峰linyf@sustech.edu.cn
刘凯军liukj@sustech.edu.cn
李景春lijc@susutech.edu.cn
李正伟lizw3@sustech.edu.cn
孟浩然menghr@sustech.edu.cn
钱韵衣qianyy@sustech.edu.cn
任恒鑫renhx@sustech.edu.cn
冉将军ranjj@sustech.edu.cn
孙耀充sunyc@sustech.edu.cn
宋真龙songzl@sustech.edu.cn
田振粮tianzl@sustech.edu.cn
王泽伟wangzw@sustech.edu.cn
王蕊嘉wangrj@sustech.edu.cn
徐锦承xujc@sustech.edu.cn
徐建宽xujk@sustech.edu.cn
徐世庆xusq3@sustech.edu.cn
信丹华xindh@sustech.edu.cn
杨辉yangh@sustech.edu.cn
杨振涛yangzt@sustech.edu.cn
杨剑yangj36@sustech.edu.cn
杨迪琨yangdk@sustech.edu.cn
杨亭yangt3@sustech.edu.cn
俞春泉yucq@sustech.edu.cn
叶生毅yesy@sustech.edu.cn
叶玲玲yell@sustech.edu.cn
杨英杰yangyj@sustech.edu.cn
张伟zhangwei@sustech.edu.cn
张振国zhangzg@sustech.edu.cn
张剑锋zhangjf@sustech.edu.cn

统计与数据科学系

姓名邮箱
陈欣chenx8@sustech.edu.cn
Gabrielle Mary JINGgmjing@sustech.edu.cn
胡延庆huyq@sustech.edu.cn
蒋学军jiangxj@sustech.edu.cn
焦熙云jiaoxy@sustech.edu.cn
荆炳义jingby@sustech.edu.cn
李曾liz9@sustech.edu.cn
马一方mayf@sustech.edu.cn
邵启满shaoqm@sustech.edu.cn
史建清shijq@sustech.edu.cn
田国梁tiangl@sustech.edu.cn
王超wangc6@sustech.edu.cn
徐匆xuc6@sustech.edu.cn
杨丽丽yangll@sustech.edu.cn
杨鹏yangp_AT_sustc.edu.cn.
张卓松zhangzs3@sustech.edu.cn

工学院

力学与航空航天工程系

姓名邮箱
Asit Kumar Gaina.gain@sustech.edu.cn
包斌baob@sustech.edu.cn
陈十一chensy@sustech.edu.cn
曹人靖caorj@sustech.edu.cn
陈曦chenx33@sustech.edu.cn
陈瑜cheny36@sustech.edu.cn
邓巍巍dengww@sustech.edu.cn
丁可琦dingkq@sustech.edu.cn
黄克服huangkf@sustech.edu.cn
黄仕迪huangsd@sustech.edu.cn
洪伟hongw@sustech.edu.cn
鲁春官网未找到邮箱
刘轶军liuyj3@sustech.edu.cn
李晓东lixd@buaa.edu.cn
HsuChew Leeleeh@sustech.edu.cn
李琪liq33@sustech.edu.cn
刘巨liuj36@sustech.edu.cn
刘宇liuy@sustech.edu.cn
李真liz33@sustech.edu.cn
罗圣峰luosf@sustech.edu.cn
李明武limw@sustech.edu.cn
MATTEO LULLIlulli@sustech.edu.cn
马永锋mayf3@sustech.edu.cn
任光明rengm@sustech.edu.cn
单肖文shanxw@sustech.edu.cn
谭唤书tanhs@sustech.edu.cn
唐欣tangx@sustech.edu.cn
滕健tengj@sustech.edu.cn
Vikrant Guptavikrant@sustech.edu.cn
王泉wangq@sustech.edu.cn
王连平wanglp@sustech.edu.cn
万敏平wanmp@sustech.edu.cn
王建春wangjc@sustech.edu.cn
王浩wangh7@sustc.edu.cn
魏佐君weizj@sustech.edu.cn
吴雷wul@sustech.edu.cn
王云朋wangyp@sustech.edu.cn
王波wangb6@sustech.edu.cn
夏克青xiakq@sustech.edu.cn
冼桃xiant@sustech.edu.cn
薛亚辉xueyh@sustech.edu.cn
余鹏yup6@sustech.edu.cn
余同希metxyu@ust.hk
杨灿辉yangch@sustech.edu.cn
杨东yangd3@sustech.edu.cn
杨杨yangy33@sustech.edu.cn
袁鸿雁yuanhy3@sustech.edu.cn
喻田yut3@sustech.edu.cn
章亮炽zhanglc@sustech.edu.cn
周波zhoub3@sustech.edu.cn
张新zhangx8@sustech.edu.cn
张天汉zhangth@sustech.edu.cn

机械与能源工程系

姓名邮箱
白家鸣baijm@sustech.edu.cn
陈士博chensb@sustech.edu.cn
谌骅chenh6@sustech.edu.cn
陈熹翰chenxh@sustech.edu.cn
邓辉dengh@sustech.edu.cn
丁克蜜dingkm@sustech.edu.cn
戴建生daijs@sustech.edu.cn
付成龙fucl@sustech.edu.cn
冯慧娟fenghj@sustech.edu.cn
郭亮guol3@sustech.edu.cn
葛锜geq@sustech.edu.cn
胡程志hucz@sustech.edu.cn
何斌斌hebb@sustech.edu.cn
胡小刚huxg@sustech.edu.cn
江淼jiangm@sustech.edu.cn
贾振中jiazz@sustech.edu.cn
柯文德kewd@sustech.edu.cn
孔贺kongh@sustech.edu.cn
路冬lud@sustech.edu.cn
卢宏兴luhx@sustech.edu.cn
刘思聪liusc@sustech.edu.cn
刘伟liuw2@sustech.edu.cn
林蒙linm@sustech.edu.cn
冷雨泉lengyq@sustech.edu.cn
逯文君luwj@sustech.edu.cn
刘吉liuj9@sustech.edu.cn
刘德荣liudr@sustech.edu.cn
李一举liyj6@sustech.edu.cn
马永胜mays@sustech.edu.cn
潘阳pany@sustech.edu.cn
丘龙斌qiulb@sustech.edu.cn
融亦鸣rongym@sustech.edu.cn
宋超阳songcy@sustech.edu.cn
王海江wanghj@sustech.edu.cn
吴勇波wuyb@sustech.edu.cn
王帅wangs@sustech.edu.cn
魏艳weiy@sustech.edu.cn
王宏强wanghq6@sustech.edu.cn
王峥wangz@sustech.edu.cn
韦齐和weiqh@sustech.edu.cn
万佳雨wanjy@sustech.edu.cn
徐少林xusl@sustech.edu.cn
杨再跃yangzy3@sustech.edu.cn
易娟yij3@sustech.edu.cn
朱强zhuq@sustech.edu.cn
张璧zhangb@sustech.edu.cn
郑裕基zhengyj@sustech.edu.cn
赵永华zhaoyh@sustech.edu.cn
张通达zhangtd@sustech.edu.cn
曾林zengl3@sustech.edu.cn
张巍zhangw3@sustech.edu.cn
曾国松zenggs@sustech.edu.cn
赵天寿zhaots@sustech.edu.cn

材料科学与工程系

姓名邮箱
程鑫chengx@sustech.edu.cn
程春chengc@sustech.edu.cn
陈国强chengq3@sustech.edu.cn
崔结顺cuijs@sustech.edu.cn
陈先强chenxq@sustech.edu.cn
陈少卿chensq3@sustech.edu.cn
邓永红dengyh@sustech.edu.cn
邓梦宇dengmy@sustech.edu.cn
方驹fangj@sustech.edu.cn
冯军fengj@sustech.edu.cn
郭传飞guocf@sustech.edu.cn
郭旭岗guoxg@sustech.edu.cn
郭晗guoh3@sustech.edu.cn
何祝兵hezb@sustech.edu.cn
黄锦涛huangjt@sustech.edu.cn
何进hej3@sustech.edu.cn
何振hez@sustech.edu.cn
黄博远huangby@sustech.edu.cn
梁永晔liangyy@sustech.edu.cn
李辉hui.li@sustech.edu.cn
李贵新ligx@sustech.edu.cn
刘玮书liuws@sustech.edu.cn
罗光富luogf@sustech.edu.cn
娄飞louf@sustech.edu.cn
卢周广luzg@sustech.edu.cn
李波lib6@sustech.edu.cn
李江宇lijy@sustech.edu.cn
李磊lil33@sustech.edu.cn
黎长建licj@sustech.edu.cn
李保文libw@sustech.edu.cn
任富增renfz@sustech.edu.cn
孙大陟sundz@sustech.edu.cn
孙会靓sunhl@sustech.edu.cn
沈翔瀛shenxy@sustech.edu.cn
田颜清tianyq@sustech.edu.cn
田雷蕾tianll@sustech.edu.cn
汪宏wangh6@sustech.edu.cn
王湘麟wangxl3@sustech.edu.cn
温瑞涛wenrt@sustech.edu.cn
邬家臻wujz@sustech.edu.cn
王金龙wangjl6@sustech.edu.cn
徐政和xuzh@sustech.edu.cn
徐强xuq@sustech.edu.cn
徐保民xubm@sustech.edu.cn
项晓东xiangxd@sustech.edu.cn
严明yanm@sustech.edu.cn
叶飞yef3@sustech.edu.cn
杨俊龙yangjl@sustech.edu.cn
于严淏yuyh@sustech.edu.cn
俞书宏yush@sustech.edu.cn
张文清zhangwq@sustech.edu.cn
钟锦辉zhongjh@sustech.edu.cn

电子与电气工程系

姓名邮箱
陈霏fchen@sustech.edu.cn
陈锐chenr@sustc.edu.cn
陈树明chensm@sustech.edu.cn
程庆沙chengqs@sustech.edu.cn
陈晓龙chenxl@sustech.edu.cn
丛龙庆conglq@sustech.edu.cn
蔡月飞caiyf@sustech.edu.cn
贡毅gongy@sustech.edu.cn
高振gaoz@sustech.edu.cn
化梦媛huamy@sustech.edu.cn
何志海hezh@sustech.edu.cn
何力hel@sustech.edu.cn
蹇林旎jianln@sustech.edu.cn
嘉有为jiayw@sustech.edu.cn
姜俊敏jiangjm@sustech.edu.cn
Aung Ko Ko KYAWaung@sustech.edu.cn
刘言军官网未找到邮箱
刘召军liuzj@sustc.edu.cn
罗丹luod@sustech.edu.cn
刘奂奂liuhh@sustech.edu.cn
刘湃liup7@sustech.edu.cn
刘凡liuf6@sustech.edu.cn
Lars Samuelsonlars.samuelson2021@mail.sustech.edu.cn
孟庆虎mengqh@sustech.edu.cn
马俊maj3@sustech.edu.cn
孙小卫官网未找到邮箱
邵理阳shaoly@sustech.edu.cn
沈平shenp@sustech.edu.cn
唐晓颖tangxy@sustech.edu.cn
王锐wangr@sustc.edu.cn
王恺wangk@sustech.edu.cn
王太宏wangth@sustech.edu.cn
王建坤wangjk@sustech.edu.cn
于明yum@sustech.edu.cn
叶涛yet@sustc.edu.cn
虞亚军yuyj@sustech.edu.cn
袁伟杰yuanwj@sustech.edu.cn
游昌盛youcs@sustech.edu.cn
张宏hzhang@sustech.edu.cn
张新海zhangxh@sustech.edu.cn
张福才zhangfc@sustech.edu.cn
张青峰zhangqf@sustech.edu.cn

计算机科学与工程系

姓名邮箱
Asheralieva Aliaasheralievaa@sustech.edu.cn
陈杉chens3@sustech.edu.cn
程然chengr@sustech.edu.cn
丁宇龙dingyl_AT_sustc.edu.cn
郝祁haoq@sustech.edu.cn
Hisao Ishibuchihisao@sustech.edu.cn
刘烨庞liuyp1@sustech.edu.cn
刘佳琳liujl@sustech.edu.cn
刘江liuj@sustech.edu.cn
李卓钊lizz@sustech.edu.cn
马昱欣mayx@sustech.edu.cn
史玉回shiyh@sustech.edu.cn
Joseph, SIFAKISjoseph.sifakis@univ-grenoble-alpes.fr
宋轩songx@sustech.edu.cn
Georgios Theodoropoulosgeorgios@sustech.edu.cn
唐珂tangk3@sustech.edu.cn
陈馨慧tansh3@sustech.edu.cn
唐博tangb3@sustech.edu.cn
唐茗tangm3@sustech.edu.cn
王琦wangqi@sustech.edu.cn
危学涛weixt@sustech.edu.cn
姚新xiny@sustech.edu.cn
袁博yuanb@sustech.edu.cn
杨易Yi.Yang_AT_uts.edu.au
杨鹏yangp_AT_sustc.edu.cn.
杨双华yangsh@sustech.edu.cn
余剑峤yujq3@sustech.edu.cn
于仕琪yusq@sustech.edu.cn
郑锋zhengf@sustech.edu.cn
张煜群zhangyq@sustech.edu.cn
张进zhangj4@sustech.edu.cn
张宇zhangy7@sustech.edu.cn
张锋巍zhangfw@sustech.edu.cn
张建国zhangjg@sustech.edu.cn
张殷乾zhangyq3@sustech.edu.cn

海洋科学与工程系

姓名邮箱
包方闻baofw@sustech.edu.cn
陈永顺johnyc@sustech.edu.cn
陈建飞chenjf3@sustech.edu.cn
蔡巍caiw@sustech.edu.cn
陈雨霏chenyf3@sustech.edu.cn
范陆fanl@sustech.edu.cn
冯兴亚fengxy@sustech.edu.cn
傅勇fuy3@sustech.edu.cn
冯伟强fengwq@sustech.edu.cn
FELIPE FRANCO ORELLANA ROVIROSAfelipe@mail.sustech.edu.cn
郭震guoz3@sustech.edu.cn
侯超houc@sustech.edu.cn
郝马克mark@sustech.edu.cn
侯圣伟housw@sustech.edu.cn
何立朋help@sustech.edu.cn
蒋晓东jiangxd@sustech.edu.cn
刘青松qsliu@sustech.edu.cn
李芯芯lixinxin@sustech.edu.cn
李莹liy66@sustech.edu.cn
刘志强liuzq@sustech.edu.cn
林间linj@sustech.edu.cn
李世林lisl3@sustech.edu.cn
罗彬luob@sustech.edu.cn
林观ling@sustech.edu.cn
罗怡鸣luoym@sustech.edu.cn
Jason Phipps Morganjason@sustc.edu.cn
钱学生qianxs@sustech.edu.cn
孙兆华sunzh@sustech.edu.cn
史亚男shiyn@sustech.edu.cn
宋光铃songgl@sustech.edu.cn
王誉泽wangyz@sustech.edu.cn
吴嘉瑜wujy3@sustech.edu.cn
魏振华weizh@sustech.edu.cn
王凯wangk3@sustech.edu.cn
徐景平xujp@sustech.edu.cn
杨挺tyang@sustech.edu.cn
于勇yuy3@sustech.edu.cn
姚炜琪yaowq@sustech.edu.cn
余锡平yuxp@sustech.edu.cn
张传伦zhangcl@sustech.edu.cn
周祐民chouym@sustech.edu.cn
曾芝瑞zengzr@sustech.edu.cn
张晨zhangc@sustech.edu.cn
仲义zhongy@sustech.edu.cn
郑峰峰zhengff@sustech.edu.cn
周志远zhouzy@sustech.edu.cn
邹广zoug@sustech.edu.cn
展鹏zhanp@sustech.edu.cn
张帆zhangf@sustech.edu.cn

生物医学工程系

姓名邮箱
陈放怡chenfy@sustech.edu.cn
陈义峰chenyf6@sustech.edu.cn
房晓峰fangxf@sustech.edu.cn
顾东风gudf@sustech.edu.cn
郭琼玉guoqy@sustech.edu.cn
郭智勇guozy@sustech.edu.cn
何俊龙hejl@sustech.edu.cn
何思聪hesc@sustech.edu.cn
蒋兴宇jiang@sustech.edu.cn
金大勇jindy@sustech.edu.cn
康天怿kangty@sustech.edu.cn
李凯lik@sustech.edu.cn
刘超liuc33@sustech.edu.cn
刘泉影liuqy@sustech.edu.cn
李依明liym2019@sustech.edu.cn
刘强liuq7@sustech.edu.cn
厉大晏lidy7@mail.sustech.edu.cn
刘洪梅liuhm@sustech.edu.cn
罗智luoz@sustech.edu.cn
李志方lizf3@sustech.edu.cn
刘莹liuy63@sustech.edu.cn
米超mic@sustech.edu.cn
齐伟智qiwz@sustech.edu.cn
唐斌tangb@sustech.edu.cn
唐建波tangjb@sustech.edu.cn
唐浩tangh@sustech.edu.cn
吴长锋wucf@sustech.edu.cn
吴德成wudc@sustech.edu.cn
王斗wangd9@sustech.edu.cn
王文锦wangwj3@sustech.edu.cn
吴伟俊wuwj@sustech.edu.cn
奚磊xilei@sustech.edu.cn
肖凯xiaok3@sustech.edu.cn
杨用yangy9@sustech.edu.cn
姚明曦yaomx@sustech.edu.cn
张明明zhangmm@sustech.edu.cn
张博zhangb3@sustech.edu.cn
张华威官网未找到邮箱
张冲zhangc9@sustech.edu.cn
张路zhanglu@sustech.edu.cn
张俊睿zhangjr6@sustech.edu.cn

环境科学与工程学院

姓名邮箱
贲玉婕benyj@sustech.edu.cn
陈洪chenh3@sustech.edu.cn
陈柯伟chenkw@sustech.edu.cn
段艳华duanyh@sustech.edu.cn
冯炼fengl@sustech.edu.cn
范林峰fanlf@sustech.edu.cn
傅宗玫fuzm@sustech.edu.cn
范典fand@sustech.edu.cn
Luke Gibsonbiodiversity@sustech.edu.cn
郭芷琳guozl@sustech.edu.cn
胡清huq@sustech.edu.cn
韩峰hanf@sustech.edu.cn
姜继平jiangjp@sustech.edu.cn
姜丽光jianglg@sustech.edu.cn
匡星星kuangxx@sustech.edu.cn
李海龙lihailong@sustech.edu.cn
刘崇炫liucx@sustech.edu.cn
刘俊国liujg@sustech.edu.cn
李炜怡liwy3@sustech.edu.cn
刘鑫liux5@sustech.edu.cn
梁修雨liangxy@sustech.edu.cn
雷洋leiy3@sustech.edu.cn
李三百lisb6@sustech.edu.cn
梁凤超liangfc@sustech.edu.cn
刘蓓liub@sustech.edu.cn
刘延liuy8@sustech.edu.cn
刘景富liujf@sustech.edu.cn
裘文慧qiuwh@sustech.edu.cn
齐伟qiw@sustech.edu.cn
史江红shijh@sustech.edu.cn
史海匀shihy@sustech.edu.cn
索红日suohr@sustech.edu.cn
沈惠中shenhz@sustech.edu.cn
陶澍taos@sustech.edu.cn
唐圆圆tangyy@sustech.edu.cn
田勇tiany@sustech.edu.cn
田展tianz@sustech.edu.cn
王俊坚wangjj@sustech.edu.cn
王钟颍wangzy6@sustech.edu.cn
王扬wangyang@sustech.edu.cn
王辰wangc@sustech.edu.cn
王大山wangds6@sustech.edu.cn
夏雨xiay@sustech.edu.cn
徐鹏xup@sustech.edu.cn
肖凯xiaok@sustech.edu.cn
易树平yisp@sustech.edu.cn
叶斌yeb@sustech.edu.cn
颜枫yanf@sustech.edu.cn
杨新yangx@sustech.edu.cn
尹晓光yinxg@sustech.edu.cn
叶建淮yejh@sustech.edu.cn
张东晓zhangdx@sustech.edu.cn
张作泰zhangzt@sustech.edu.cn
郑春苗zhengcm@sustech.edu.cn
郑焰yan.zheng@sustech.edu.cn
郑一zhengy@sustech.edu.cn
曾振中zengzz@sustech.edu.cn
朱雷zhul3@sustech.edu.cn
赵俊良zhaojl3@sustech.edu.cn
张斌田zhangbintian@sustech.edu.cn
郑国贸zhenggm@sustech.edu.cn

深港微电子学院

姓名邮箱
安丰伟anfw@sustech.edu.cn
崔德虎cuidh@sustech.edu.cn
陈全chenq3@sustech.edu.cn
陈凯chenk6@sustech.edu.cn
陈蕾chenl33@sustech.edu.cn
陈鹏chenp6@sustech.edu.cn
陈玉鹏chenyp@sustech.edu.cn
丁孙安dingsa@sustech.edu.cn
方小虎fangxh@sustech.edu.cn
郭跃进guoyj@sustech.edu.cn
高源gaoy@sustech.edu.cn
呼唤huh3@sustech.edu.cn
李携曦khli@sustech.edu.cn
李毅liy37@sustech.edu.cn
林苑菁linyj2020@sustech.edu.cn
李毅达liyd3@sustech.edu.cn
刘晓光liuxg@sustech.edu.cn
林龙扬linly@sustech.edu.cn
刘小龙liuxl@sustech.edu.cn
李明杰limj@sustech.edu.cn
李嘉敏lijm3@sustech.edu.cn
刘荣辉liurh@sustech.edu.cn
毛伟maow@sustech.edu.cn
马宣max3@sustech.edu.cn
潘权panq@sustech.edu.cn
Robert Sokolovskijsokolovskijr@sustech.edu.cn
苏龙兴sulx@sustech.edu.cn
田兆波tianzb@mail.sustech.edu.cn
王敏wangm@sustech.edu.cn
汪飞wangf@sustech.edu.cn
汪青wangq7@sustech.edu.cn
吴小虎wuxh@sustech.edu.cn
王大帅wangds3@sustech.edu.cn
余浩yuh3@sustech.edu.cn
叶怀宇yehy@sustech.edu.cn
于洪宇yuhy@sustech.edu.cn
詹陈长zhancc@sustech.edu.cn
祝渊zhuy3@sustech.edu.cn
张国飙zhanggb@sustech.edu.cn
周菲迟zhoufc@sustech.edu.cn
赵前程zhaoqc@sustech.edu.cn
张汝民zhangrm@sustech.edu.cn

系统设计与智能制造学院

姓名邮箱
白紫千baizq@sustech.edu.cn
陈园chenyuan@sustech.edu.cn
陈亮名chenlm6@sustech.edu.cn
段广仁官网未找到邮箱
丁克蜜dingkm@sustech.edu.cn
Fred HANfred@sustech.edu.cn
洪小平hongxp@sustech.edu.cn
胡颀huq3@sustech.edu.cn
吕冬lvd2019@mail.sustech.edu.cn
刘国平liugp@sustech.edu.cn
李洪飞lihf@sustech.edu.cn
刘涛liut6@sustech.edu.cn
马兆远mazy@sustech.edu.cn
欧钢ougang2020@mail.sustech.edu.cn
Volker Altstädtaltstaedt@uni-bayreuth.de
吴景深wujingshen@sustech.edu.cn
王珂wangk7@sustech.edu.cn
王振坤wangzk3@sustech.edu.cn
吴迪官网未找到邮箱
熊异xiongy3@sustech.edu.cn
徐翔xux3@sustech.edu.cn
叶林yelin@sustech.edu.cn
周利民zhoulm@sustech.edu.cn
张建民zhangjm2021@mail.sustech.edu.cn
周鼎zhoud3@sustech.edu.cn

生命科学学院

生物系

姓名邮箱
杜嘉木dujm@sustech.edu.cn
邓兴旺deng@sustech.edu.cn
郭红卫guohw@sustech.edu.cn
黄安诚huangac@sustech.edu.cn
梁建生liangjs@sustech.edu.cn
李瑞熙lirx@sustech.edu.cn
李文阳liwy@sustech.edu.cn
李健lij8@sustech.edu.cn
梁超liangc@sustech.edu.cn
Peter Pimplpimpl@sustech.edu.cn
宋毅songy3@sustech.edu.cn
吴柘wuz@sustech.edu.cn
翟继先zhaijx@sustech.edu.cn

基础免疫与微生物学系

姓名邮箱
董涛dongt@sustech.edu.cn
何思聪hesc@sustech.edu.cn
刘忠民liuzm@sustech.edu.cn
欧西军ouxj@sustech.edu.cn
温子龙wenzl@sustech.edu.cn
余化鹏yuhp@sustech.edu.cn
周稳zhouw@sustech.edu.cn
张丽zhangl3@sustech.edu.cn

系统生物学系

姓名邮箱
陈炜chenw@sustech.edu.cn
陈曦chenx9@sustech.edu.cn
戴紫薇daizw@sustech.edu.cn
Andrew Hutchinsandrewh@sustech.edu.cn
靳文菲jinwf@sustech.edu.cn
李妍liy33@sustech.edu.cn
孙颖suny@sustech.edu.cn
朱丹灵zhudl@sustech.edu.cn
曾福星zengfx@sustech.edu.cn
郑梅珍zhengmz@sustech.edu.cn

化学生物学系

姓名邮箱
陈永龙chenyl@sustech.edu.cn
龚欣gongx@sustech.edu.cn
黄鸿达huanghd@sustech.edu.cn
李耀旺liyw@sustech.edu.cn
李颜颜liyy6@sustech.edu.cn
廖茂富liaomf@sustech.edu.cn
隋森芳官网未找到邮箱
沈庆涛shenqt@sustech.edu.cn
王玲wangl8@sustech.edu.cn
余聪yuc@sustech.edu.cn
闫凯歌yankg@sustech.edu.cn

神经生物学系

姓名邮箱
程龙珍chenglz@sustech.edu.cn
陈小菁chenxj@sustech.edu.cn
侯圣陶houst@sustech.edu.cn
姬生健jisj@sustech.edu.cn
刘东liud@sustech.edu.cn
饶枫raof@sustech.edu.cn
宋昆songk@sustech.edu.cn
魏志毅weizy@sustech.edu.cn
肖波xiaob@sustech.edu.cn
赵燕zhaoyan@sustech.edu.cn
张明杰zhangmj@sustech.edu.cn

医学院

医学神经科学系

姓名邮箱
宋学军songxuejun@sustech.edu.cn
田瑞琳tianrl@sustech.edu.cn
王子龙wangzl6@sustech.edu.cn

药理学系

姓名邮箱
卞劲松bianjs@sustech.edu.cn
冯宇亮fengyl@sustech.edu.cn
胡宇慧huyh@sustech.edu.cn
贺云娇heyj@sustech.edu.cn
何涟hel3@sustech.edu.cn
胡琪楠huqn@sustech.edu.cn
李婉秋liwq3@sustech.edu.cn
鲁昊骋luhc@sustech.edu.cn
李亮lil@sustech.edu.cn
王鹏wangp6@sustech.edu.cn
王玉琨wangyk@sustech.edu.cn
王莹wangy6@sustech.edu.cn
曾臣zengc@sustech.edu.cn

生物化学系

姓名邮箱
肖国芝xiaogz@sustech.edu.cn
曹惠玲caohl@sustech.edu.cn
车骏chej@mail.sustech.edu.cn
曹丽伟caolw@sustech.edu.cn
杜长征ducz@sustech.edu.cn
郭莹莹官网未找到邮箱
洪鑫hongx@sustech.edu.cn
胡海亮huhl@sustech.edu.cn
贾宁jian@sustech.edu.cn
刘泉liuq3@sustech.edu.cn
吕考升lvks@sustech.edu.cn
刘婕liuj33@sustech.edu.cn
饶海raoh@sustech.edu.cn
苏明媛sumy@sustech.edu.cn
鄢仁鸿yanrh@sustech.edu.cn
张建超zhangjc3@sustech.edu.cn

人类细胞生物和遗传学系

姓名邮箱
陈国安cheng@sustech.edu.cn
陈浩chenh7@sustech.edu.cn
董金堂dongjt@sustech.edu.cn
卢奕luy3@sustech.edu.cn
帅世民shuaism@sustech.edu.cn
夏思源xiasy@sustech.edu.cn
徐鹰xuy9@sustech.edu.cn
张志潜zhangzq@sustech.edu.cn
张宝童zhangbt@sustech.edu.cn

公共卫生及应急管理学院

姓名邮箱
顾东风gudf@sustech.edu.cn
韩昕昕hanxx@sustech.edu.cn
黄捷huangj@sustech.edu.cn
梁凤超liangfc@sustech.edu.cn
裴勇刚peiyg@sustech.edu.cn
王海东wanghd@sustech.edu.cn
杨春富yangcf@sustech.edu.cn
朱斌zhub6@sustech.edu.cn
赵文静zhaowj@sustech.edu.cn

商学院

金融系

姓名邮箱
陈路明chenlm3@sustech.edu.cn
胡大宁hudn@sustech.edu.cn
金李官网未找到邮箱
刘春晖官网未找到邮箱
赖舒芳laisf@sustech.edu.cn
栗沛沛官网未找到邮箱
刘威汉liuwh@sustech.edu.cn
刘南钦liunq@sustech.edu.cn
李润lir7@sustech.edu.cn
李仲飞lizf6@sustech.edu.cn
孙便霞sunbx@sustech.edu.cn
王苏生wangss@sustech.edu.cn
王新杰xinjie.wang@sustech.edu.cn
王赫官网未找到邮箱
王缘wangy36@sustech.edu.cn
王树勋wangsx@sustech.edu.cn
杨招军yangzj@sustech.edu.cn
严硕官网未找到邮箱
杨旭宁官网未找到邮箱
杨博文yangbw@sustech.edu.cn
周倜zhout@sustech.edu.cn
曾晓亮zengxl@sustech.edu.cn
朱昊然zhuhr@sustech.edu.cn

信息系统与管理工程系

姓名邮箱
陈琨chenk@sustech.edu.cn
陈康林chenkl@sustech.edu.cn
樊潇帅fanxs@sustech.edu.cn
顾理一guly@sustech.edu.cn
郭悦guoy@sustech.edu.cn
何翘楚heqc@sustech.edu.cn
黄伟huangw7@sustech.edu.cn
柯玮玲kewl@sustech.edu.cn
李少波lisb3@sustech.edu.cn
雷扬leiy@sustech.edu.cn
李媛媛Liyy3@sustech.edu.cn
刘翰林liuhl@sustech.edu.cn
罗源昆luoyk3@sustech.edu.cn
卢涛lut@sustech.edu.cn
李垚liy68@sustech.edu.cn
刘黎明liulm3@sustech.edu.cn
李崇lic6@sustech.edu.cn
陆晔luye@sustech.edu.cn
钱共鸣qiangm@sustech.edu.cn
覃正qinz@sustech.edu.cn
邱琳qiul@sustech.edu.cn
钱坤qiank@sustech.edu.cn
Moris Strubstrub@sustech.edu.cn
王松昊wangsh2021@sustech.edu.cn
王宇wangy2021@sustech.edu.cn
许婷xut3@sustech.edu.cn
叶茂亮yeml@sustech.edu.cn
杨玉坤yangyk@sustech.edu.cn

人文社会科学学院

人文科学中心

姓名邮箱
陈跃红chenyuehong@sustech.edu.cn
陈劲松chenjs@sustech.edu.cn
李凤亮lifengliang@sustech.edu.cn
刘洋liuy9@sustech.edu.cn
李蓝lil6@sustech.edu.cn
钱艾琳qianal@sustech.edu.cn
孙顺suns@sustech.edu.cn
唐克扬tangky@sustech.edu.cn
田松tians@sustech.edu.cn
吴岩wuy6@sustech.edu.cn
杨果yangg3@sustech.edu.cn
杨莉yangl6@sustech.edu.cn
杨河yangh3@sustech.edu.cn
周秀梅zhouxm@sustech.edu.cn

社会科学中心暨社会科学高等研究院

姓名邮箱
Jie Chen 陈捷chenj7@sustech.edu.cn
唐际根tangjg@sustech.edu.cn
王晓葵wangxk@sustech.edu.cn
王雨wangy63@sustech.edu.cn
王莉莉wangll3@sustech.edu.cn
张静红zhangjh3@sustech.edu.cn

高等教育研究中心

姓名邮箱
高媛cygao@sustech.edu.cn
韩蔚hanwei@sustc.edu.cn
姜帆jiangf6@sustech.edu.cn
李铭lim@sustc.edu.cn
刘绪liux9@sustech.edu.cn
沈红shenh6@sustech.edu.cn
王伯庆wangbq@sustech.edu.cn
赵建华zhaojh@sustech.edu.cn

语言中心

姓名邮箱
褚彧chuy@sustech.edu.cn
董蓉蓉dongrr@sustech.edu.cn
Albert Evansevansa@sustech.edu.cn
胡玉秀huyx@sustech.edu.cn
李卓liz@sustech.edu.cn
刘丽莎liuls@sustech.edu.cn
柳青liuq@sustech.edu.cn
任莉renl@sustech.edu.cn
徐嗣群xusq@sustech.edu.cn
喻永阳yuyy@sustech.edu.cn
张新婷zhangxt@sustech.edu.cn

艺术中心

姓名邮箱
刘辉liuh6@sustech.edu.cn
赵易山zhaoys3@sustech.edu.cn
毕宝仪biby@sustech.edu.cn
温颖weny@sustc.edu.cn
周明聪zhoumc@sustech.edu.cn
纪涛jit@sustech.edu.cn
刘珂廷liukt@sustech.edu.cn
皮晟pis@sustech.edu.cn
李瀚瀚官网未找到邮箱

创新创业学院

创新创业学院

姓名邮箱
韩松hans@sustech.edu.cn
刘正白liuzb3@sustech.edu.cn
李逸明liym3@sustech.edu.cn
宋章启songzq@sustech.edu.cn
王凭慧wangph@sustech.edu.cn
徐洪礼xuhl3@sustech.edu.cn
张浩凡zhanghf@sustech.edu.cn
赵柏松zhaobs@sustech.edu.cn

创新创意设计学院

创新创意设计学院

姓名邮箱
安鹏铖anpc@sustech.edu.cn
费道闻tfischer@sustech.edu.cn
何人可herk@sustech.edu.cn
何净植cmherr@sustech.edu.cn
Seungwoo JEseungwoo@sustech.edu.cn
关道文官网未找到邮箱
雷沁圆leiqy@sustech.edu.cn
罗涛luot@sustech.edu.cn
李雪亮lixl6@sustech.edu.cn
Enza MIGLIOREemigliore@sustech.edu.cn
Mirna ZORDANmzordan@sustech.edu.cn
Marcel Zaes SAGESSER官网未找到邮箱
Marcelo SOARESsoaresmm@sustech.edu.cn
万芳wanf@sustech.edu.cn
徐秋石xuqs3@mail.sustech.edu.cn
萧若薇xiaorw@sustech.edu.cn
张婉琳zhangwl3@sustech.edu.cn

教学单位

思想政治教育与研究中心

姓名邮箱
高玉林gaoyl@sustech.edu.cn
乐正lez@sustech.edu.cn
兰美荣lanmr@sustech.edu.cn
马俊军majj@sustech.edu.cn
帅松林shuaisl@sustech.edu.cn
孙志凤sunzf@sustech.edu.cn
滕明政tengsustc@163.com
王德军wangdj@sustech.edu.cn
王春英wangcy6@sustech.edu.cn
吴清一wuqy@sustech.edu.cn
杨晗旭yanghx@sustech.edu.cn
杨少曼yangsm@sustech.edu.cn
袁海军yuanhj@sustech.edu.cn
尹玮煜yinwy@sustech.edu.cn
祖嘉合zujh@sustc.edu.cn
张守民zhangsm@sustech.edu.cn
张涛zhangt@sustech.edu.cn

体育中心

姓名邮箱
白波baib@sustc.edu.cn
董伦红donglh@sustc.edu.cn
侯思宇housy@sustc.edu.cn
何紫琳hezl@sustech.edu.cn
赖莎lais@sustech.edu.cn
刘健钧liujj@sustc.edu.cn
卢阳luy@sustc.edu.cn
孙颜sunyan@sustc.edu.cn
魏伟成weiwc@sustc.edu.cn
杨佳247784542@qq.com
赵飞zhaof@sustc.edu.cn
赵一品zhaoyp@sustc.edu.cn

科研单位

杰曼诺夫数学中心

姓名邮箱
崔书墨cuism@sustech.edu.cn
董世杰dongsj@sustech.edu.cn
Efim Zelmanov官网未找到邮箱
冯致程fengzc@sustech.edu.cn
Stavros Garoufalidisstavros@sustech.edu.cn
黄少创huangsc@sustech.edu.cn
Ingrid Irmeringridmary@sustech.edu.cn
Mikko Korhonenkorhonen_mikko@hotmail.com
权超禹quancy@sustech.edu.cn
汤涛tangt@sustech.edu.cn
邬龙挺官网未找到邮箱
张继平官网未找到邮箱

格拉布斯研究院

姓名邮箱
Cheng Jun Keejunkee@sustech.edu.cn
陈大发chendf@sustech.edu.cn
汉京春hanjc@sustech.edu.cn
韩亮hanl@sustech.edu.cn
韩兴旺hanxw@sustech.edu.cn
金明宇jinmy@sustech.edu.cn
路正宇luzy@sustech.edu.cn
刘益真liuyz3@mail.sustech.edu.cn
权茂quanm@sustech.edu.cn
饶小峰raoxf@sustech.edu.cn
宋桥songq@sustech.edu.cn
王永彬wangyb1@sustech.edu.cn
王健纯wangjc3@sustech.edu.cn
王健纯wangjc3@sustech.edu.cn
夏海平xiahp@sustech.edu.cn
邢祥友xingxy@sustech.edu.cn
许维词xuwc@mail.sustech.edu.cn
杨清镜yangqj@sustech.edu.cn
张宇峰zhangyf3@sustech.edu.cn

量子科学与工程研究院

姓名邮箱
陈洁菲chenjf@sustech.edu.cn
陈静静chenjj3@sustech.edu.cn
陈廷勇chenty@sustech.edu.cn
陈媛cheny9@sustech.edu.cn
陈朝宇chency@sustech.edu.cn
陈华chenh9@sustech.edu.cn
陈济雷chenjl6@sustech.edu.cn
戴俊峰daijf@sustech.edu.cn
邓修豪dengxh@sustech.edu.cn
邓可dengk@sustech.edu.cn
杜宗正duzz@sustech.edu.cn
邓晓玮dengxw@sustech.edu.cn
付柏山fubs@sustech.edu.cn
范靖云Fanjy@sustech.edu.cn
郭抒guos@sustech.edu.cn
黄培豪huangph@sustech.edu.cn
黄文huangw3@sustech.edu.cn
胡玲hul@sustech.edu.cn
贺煜hey6@sustech.edu.cn
孔良kongl@sustc.edu.cn
李俊lij3@sustech.edu.cn
李剑lij33@sustech.edu.cn
李正达lizd@sustech.edu.cn
林本川linbc@sustech.edu.cn
刘书萍liusp@sustech.edu.cn
陆四荣lusr@sustech.edu.cn
刘松lius3@sustech.edu.cn
路尧luy7@sustech.edu.cn
李勤liqin@sustech.edu.cn
刘旭明liuxm3@sustech.edu.cn
马小明maxm3@sustech.edu.cn
牛晶晶niujj@sustech.edu.cn
潘天洛pantl@sustech.edu.cn
潘长钊pancz@sustech.edu.cn
王小琼wangxq@sustech.edu.cn
苏慧敏suhm@sustech.edu.cn
宋学锋songxf@sustech.edu.cn
邵继峰shaojf@sustech.edu.cn
谭电tand@sustech.edu.cn
谭振兵tanzb@sustech.edu.cn
吴志钢wuzg@sustech.edu.cn
王硕wangs6@sustech.edu.cn
汪福东wangfd@sustech.edu.cn
王浩wangh@sustech.edu.cn
王中凯wangzk@sustech.edu.cn
王玉成wangyc3@sustech.edu.cn
王乐wangl36@sustech.edu.cn
辛涛xint@sustech.edu.cn
徐源xuy5@sustech.edu.cn
俞大鹏yudp@sustech.edu.cn
杨天罡yangtg@sustech.edu.cn
尉石yus3@sustech.edu.cn
虞祥龙yuxl@sustech.edu.cn
杨胜军yangsj@sustech.edu.cn
严通行yantx@sustech.edu.cn
姚娟yaoj3@sustech.edu.cn
张振生zhangzs@sustech.edu.cn
钟满金Zhongmj@sustech.edu.cn
张君华zhangjh6@sustech.edu.cn
郑攀zhengp@sustech.edu.cn
钟有鹏zhongyp@sustech.edu.cn
周盛华zhoush@sustech.edu.cn

前沿与交叉科学研究院

姓名邮箱
崔欢欢cuihh@sustc.edu.cn
陈柔羲chenrx@sustech.edu.cn
樊建涛fanjt@sustech.edu.cn
方亮fangl@sustc.edu.cn
桂志刚guizg@sustc.edu.cn
顾强帅guqs@sustc.edu.cn
韩松柏hansb@sustech.edu.cn
李帅lis6@sustech.edu.cn
李忠良lizl@sustc.edu.cn
李之勇lizy6@sustc.edu.cn
林海斌linhb@sustech.edu.cn
宁澄清ningcq@sustech.edu.cn
苏峰育fysu@sustech.edu.cn
Sornette Didierdidier@sustech.edu.cn
盛洁明shengjm@sustech.edu.cn
王培wangp@sustc.edu.cn
王晓飞wangxf6@sustc.edu.cn
邬苏东wusd@sustc.edu.cn
王朋飞wangpf6@sustech.edu.cn
王李平wanglp3@sustech.edu.cn
向少华xiangsh@sustc.edu.cn
杨琰yangy6@sustech.edu.cn
叶财超yecc@sustech.edu.cn
赵新彦zhaoxy@sustech.edu.cn
赵府zhaof3@sustc.edu.cn
翟晶莹zhaijy@sustc.edu.cn

公共平台

公共分析测试中心

姓名邮箱
吴文政ngamc@sustech.edu.cn
谢宇聪tseyc@sustech.edu.cn
',94),s=[a];function d(u,c){return e(),r("div",null,s)}const o=t(h,[["render",d],["__file","index.html.vue"]]),w=JSON.parse('{"path":"/contact/professor-emails/","title":"教授邮件列表","lang":"zh-CN","frontmatter":{"sidebar":"auto"},"headers":[{"level":2,"title":"理学院","slug":"理学院","link":"#理学院","children":[{"level":3,"title":"数学系","slug":"数学系","link":"#数学系","children":[]},{"level":3,"title":"物理系","slug":"物理系","link":"#物理系","children":[]},{"level":3,"title":"化学系","slug":"化学系","link":"#化学系","children":[]},{"level":3,"title":"地球与空间科学系","slug":"地球与空间科学系","link":"#地球与空间科学系","children":[]},{"level":3,"title":"统计与数据科学系","slug":"统计与数据科学系","link":"#统计与数据科学系","children":[]}]},{"level":2,"title":"工学院","slug":"工学院","link":"#工学院","children":[{"level":3,"title":"力学与航空航天工程系","slug":"力学与航空航天工程系","link":"#力学与航空航天工程系","children":[]},{"level":3,"title":"机械与能源工程系","slug":"机械与能源工程系","link":"#机械与能源工程系","children":[]},{"level":3,"title":"材料科学与工程系","slug":"材料科学与工程系","link":"#材料科学与工程系","children":[]},{"level":3,"title":"电子与电气工程系","slug":"电子与电气工程系","link":"#电子与电气工程系","children":[]},{"level":3,"title":"计算机科学与工程系","slug":"计算机科学与工程系","link":"#计算机科学与工程系","children":[]},{"level":3,"title":"海洋科学与工程系","slug":"海洋科学与工程系","link":"#海洋科学与工程系","children":[]},{"level":3,"title":"生物医学工程系","slug":"生物医学工程系","link":"#生物医学工程系","children":[]},{"level":3,"title":"环境科学与工程学院","slug":"环境科学与工程学院","link":"#环境科学与工程学院","children":[]},{"level":3,"title":"深港微电子学院","slug":"深港微电子学院","link":"#深港微电子学院","children":[]},{"level":3,"title":"系统设计与智能制造学院","slug":"系统设计与智能制造学院","link":"#系统设计与智能制造学院","children":[]}]},{"level":2,"title":"生命科学学院","slug":"生命科学学院","link":"#生命科学学院","children":[{"level":3,"title":"生物系","slug":"生物系","link":"#生物系","children":[]},{"level":3,"title":"基础免疫与微生物学系","slug":"基础免疫与微生物学系","link":"#基础免疫与微生物学系","children":[]},{"level":3,"title":"系统生物学系","slug":"系统生物学系","link":"#系统生物学系","children":[]},{"level":3,"title":"化学生物学系","slug":"化学生物学系","link":"#化学生物学系","children":[]},{"level":3,"title":"神经生物学系","slug":"神经生物学系","link":"#神经生物学系","children":[]}]},{"level":2,"title":"医学院","slug":"医学院","link":"#医学院","children":[{"level":3,"title":"医学神经科学系","slug":"医学神经科学系","link":"#医学神经科学系","children":[]},{"level":3,"title":"药理学系","slug":"药理学系","link":"#药理学系","children":[]},{"level":3,"title":"生物化学系","slug":"生物化学系","link":"#生物化学系","children":[]},{"level":3,"title":"人类细胞生物和遗传学系","slug":"人类细胞生物和遗传学系","link":"#人类细胞生物和遗传学系","children":[]},{"level":3,"title":"公共卫生及应急管理学院","slug":"公共卫生及应急管理学院","link":"#公共卫生及应急管理学院","children":[]}]},{"level":2,"title":"商学院","slug":"商学院","link":"#商学院","children":[{"level":3,"title":"金融系","slug":"金融系","link":"#金融系","children":[]},{"level":3,"title":"信息系统与管理工程系","slug":"信息系统与管理工程系","link":"#信息系统与管理工程系","children":[]}]},{"level":2,"title":"人文社会科学学院","slug":"人文社会科学学院","link":"#人文社会科学学院","children":[{"level":3,"title":"人文科学中心","slug":"人文科学中心","link":"#人文科学中心","children":[]},{"level":3,"title":"社会科学中心暨社会科学高等研究院","slug":"社会科学中心暨社会科学高等研究院","link":"#社会科学中心暨社会科学高等研究院","children":[]},{"level":3,"title":"高等教育研究中心","slug":"高等教育研究中心","link":"#高等教育研究中心","children":[]},{"level":3,"title":"语言中心","slug":"语言中心","link":"#语言中心","children":[]},{"level":3,"title":"艺术中心","slug":"艺术中心","link":"#艺术中心","children":[]}]},{"level":2,"title":"创新创业学院","slug":"创新创业学院","link":"#创新创业学院","children":[{"level":3,"title":"创新创业学院","slug":"创新创业学院-1","link":"#创新创业学院-1","children":[]}]},{"level":2,"title":"创新创意设计学院","slug":"创新创意设计学院","link":"#创新创意设计学院","children":[{"level":3,"title":"创新创意设计学院","slug":"创新创意设计学院-1","link":"#创新创意设计学院-1","children":[]}]},{"level":2,"title":"教学单位","slug":"教学单位","link":"#教学单位","children":[{"level":3,"title":"思想政治教育与研究中心","slug":"思想政治教育与研究中心","link":"#思想政治教育与研究中心","children":[]},{"level":3,"title":"体育中心","slug":"体育中心","link":"#体育中心","children":[]}]},{"level":2,"title":"科研单位","slug":"科研单位","link":"#科研单位","children":[{"level":3,"title":"杰曼诺夫数学中心","slug":"杰曼诺夫数学中心","link":"#杰曼诺夫数学中心","children":[]},{"level":3,"title":"格拉布斯研究院","slug":"格拉布斯研究院","link":"#格拉布斯研究院","children":[]},{"level":3,"title":"量子科学与工程研究院","slug":"量子科学与工程研究院","link":"#量子科学与工程研究院","children":[]},{"level":3,"title":"前沿与交叉科学研究院","slug":"前沿与交叉科学研究院","link":"#前沿与交叉科学研究院","children":[]}]},{"level":2,"title":"公共平台","slug":"公共平台","link":"#公共平台","children":[{"level":3,"title":"公共分析测试中心","slug":"公共分析测试中心","link":"#公共分析测试中心","children":[]}]}],"git":{"updatedTime":1683536510000,"contributors":[{"name":"Fros1er","email":"34234343+Fros1er@users.noreply.github.com","commits":2}]},"filePathRelative":"contact/professor-emails/README.md"}');export{o as comp,w as data}; diff --git a/assets/index.html-Blm1NxVU.js b/assets/index.html-Blm1NxVU.js new file mode 100644 index 000000000..bc65a5e57 --- /dev/null +++ b/assets/index.html-Blm1NxVU.js @@ -0,0 +1 @@ +import{_ as e,o as r,c as a,e as l}from"./app-CAXKJsZK.js";const n={},t=l('

帮助我们完善

主项目托管在 SUSTech-CRA/sustech-online-ng

小程序托管在 SUSTech-CRA/sustech-online-wxapp

快讯网托管在 SUSTech-CRA/sustech-online-daily-blog

如何贡献 / 建议

  1. Pull request

    1. Fork 后,进行修改。
    2. 发起 Merge 请求。
  2. 邮件提交

    1. 发送邮件到 support__at__mail.sustech.online (__at__ 替换为 @)
  3. 代理提交

    1. 进入南科手册 QQ群: 905618908
    2. 提交规范编写的Word,Markdown 文件给管理员。
    3. 管理员整理上传。

贡献者


内容

感谢以下组织对南科手册所做的贡献(排名不分先后)

  • 树德书院先锋团

  • 致诚书院大学长团

  • 学生新闻社《南科新知》

开发 & 维护

李子强 ◇ 樊青远 ◇ 陈宇恒

计算支持

感谢以下个人 / 组织对南科手册所提供的计算支持(排名不分先后)

孙常超 ◇ 计算机研究协会 CRA

软件支持

本手册的部分交互组件开发使用了 Jetbrains Open Source License

南科手册同时参考了:

',21),i=[t];function s(o,h){return r(),a("div",null,i)}const c=e(n,[["render",s],["__file","index.html.vue"]]),u=JSON.parse('{"path":"/about/","title":"帮助我们完善","lang":"zh-CN","frontmatter":{},"headers":[{"level":2,"title":"如何贡献 / 建议","slug":"如何贡献-建议","link":"#如何贡献-建议","children":[]},{"level":2,"title":"贡献者","slug":"贡献者","link":"#贡献者","children":[{"level":3,"title":"内容","slug":"内容","link":"#内容","children":[]},{"level":3,"title":"开发 & 维护","slug":"开发-维护","link":"#开发-维护","children":[]},{"level":3,"title":"计算支持","slug":"计算支持","link":"#计算支持","children":[]},{"level":3,"title":"软件支持","slug":"软件支持","link":"#软件支持","children":[]}]}],"git":{"updatedTime":1704120054000,"contributors":[{"name":"liziwl","email":"leezisy@gmail.com","commits":6},{"name":"sparkcyf","email":"sparktour@outlook.com","commits":5}]},"filePathRelative":"about/README.md"}');export{c as comp,u as data}; diff --git a/assets/index.html-BnGiriS9.js b/assets/index.html-BnGiriS9.js new file mode 100644 index 000000000..a7200174c --- /dev/null +++ b/assets/index.html-BnGiriS9.js @@ -0,0 +1 @@ +import{_ as t,o as e,c as l,e as n}from"./app-CAXKJsZK.js";const a="/assets/1-Bd2cDC6l.png",r="/assets/2-lYRZQMW5.jpeg",i={},s=n('

📦邮件与快递收发

送至南科大的快递与从南科大发出的快递,均通过南科大物业设立的邮件转运中心进行中转。

收发室

地址电话
荔园收发室荔园8栋10188015011
欣园收发室欣园1栋1楼88010648
书院收发室湖畔书院5栋1楼88010111
慧园收发室慧园7栋10488010649
新生宿舍收发室新生宿舍13栋1楼88010670

提示

  1. 收发室服务时间:周一至周日;早上 8:30 至 13:00,下午 14:00 至 19:00 (双十一等特殊情况服务时间以学校邮件通知为准)
  2. 教师公寓大件快递存放在教师公寓四栋物业办公室

自助快递柜

柜体编号位置格口数量电话
1&3教师公寓4栋1楼架空层30488010648
2湖畔书院5栋1楼架空层416
4行政楼103办公室门口160
5第一科研楼1楼架空层719
6荔园9栋1楼架空层352
7学生宿舍8栋1楼架空层672

提示

快递进入快递柜/收发室后,相应的手机号将会收到短信,您也可以关注“近邻宝”公众号,通过微信取件。

提示

有时寄到13栋收发室的物品会被移至8栋的快递柜。需要注意手机收到的取件短信,短信里面有快递的具体位置。如若快递存放在快递柜,可在一天内任意时刻前往取件;如若在收发室,须在收发室开放时间前往。

如何寄件

  • 方法一:去到最近的收发室(13栋收发室),找工作人员,说明自己要寄快递,然后按照规定操作即可

  • 方法二:直接在之前各种快递的app、小程序、公众号上下单,选择上门取件即可(如淘宝、唯品会退货时的上门取件)

Q&A

快递柜是否支持自助寄件?

依据《中华人民共和国邮政法》《中华人民共和国反恐怖主义法》以及《邮政行业安全监督管理办法》等法律、行政法规和相关规定,所有快递一定要经过人工开箱检查后,才能实名制寄出哦!所以,寄件您可移步至就近收发室或选择网上下单预约快递公司上门取件!

快递显示已签收却没有收到取件通知?

有可能是面单收件人电话号码预留有误或系统录入识别号码有误,您可以随时拨打服务电话0755-88010648,帮您查询解答,同时还能再次秒发取件通知哦~

快递派送地址与收件地址不一致?

A1:如您未填写详细的收件地址,会统一派送至荔园8栋收发室,所以寄件时请注意填写详细的收件地址哦~

A2:快递小哥哥在分拣环节收件地址识别有误导致您的快递送错区域,请第一时间拨打服务电话0755-88010648,马上帮您做转件~

哪些物品是不能快递的?

《快递暂行条例》所规定的违禁品。

联系电话

0755-88010648

新的快递收发系统,可扫描下方二维码关注公众微信。

参考资料

',28),d=[s];function c(h,p){return e(),l("div",null,d)}const o=t(i,[["render",c],["__file","index.html.vue"]]),x=JSON.parse('{"path":"/service/mail-and-express/","title":"📦邮件与快递收发","lang":"zh-CN","frontmatter":{"sidebar":"auto"},"headers":[{"level":2,"title":"收发室","slug":"收发室","link":"#收发室","children":[]},{"level":2,"title":"自助快递柜","slug":"自助快递柜","link":"#自助快递柜","children":[]},{"level":2,"title":"如何寄件","slug":"如何寄件","link":"#如何寄件","children":[]},{"level":2,"title":"Q&A","slug":"q-a","link":"#q-a","children":[{"level":3,"title":"快递柜是否支持自助寄件?","slug":"快递柜是否支持自助寄件","link":"#快递柜是否支持自助寄件","children":[]},{"level":3,"title":"快递显示已签收却没有收到取件通知?","slug":"快递显示已签收却没有收到取件通知","link":"#快递显示已签收却没有收到取件通知","children":[]},{"level":3,"title":"快递派送地址与收件地址不一致?","slug":"快递派送地址与收件地址不一致","link":"#快递派送地址与收件地址不一致","children":[]},{"level":3,"title":"哪些物品是不能快递的?","slug":"哪些物品是不能快递的","link":"#哪些物品是不能快递的","children":[]}]},{"level":2,"title":"联系电话","slug":"联系电话","link":"#联系电话","children":[]},{"level":2,"title":"参考资料","slug":"参考资料","link":"#参考资料","children":[]}],"git":{"updatedTime":1661487854000,"contributors":[{"name":"sparkcyf","email":"sparktour@outlook.com","commits":2},{"name":"Ruan","email":"47767371+Ryyyc@users.noreply.github.com","commits":1},{"name":"Ziqiang Li","email":"leezisy@gmail.com","commits":1}]},"filePathRelative":"service/mail-and-express/README.md"}');export{o as comp,x as data}; diff --git a/assets/index.html-C3tGdt7I.js b/assets/index.html-C3tGdt7I.js new file mode 100644 index 000000000..1668e6ee6 --- /dev/null +++ b/assets/index.html-C3tGdt7I.js @@ -0,0 +1 @@ +import{_ as s,r as n,o,c as h,b as t,a as r,w as e,e as i,d as l}from"./app-CAXKJsZK.js";const p={},c=t("h1",{id:"🎡社团活动",tabindex:"-1"},[t("a",{class:"header-anchor",href:"#🎡社团活动"},[t("span",null,"🎡社团活动")])],-1),u={class:"table-of-contents"},g=i('

提示

欢迎社联和各社团与南科手册合作,本页免费提供广告位。详情请查看 贡献页面

注册社团列表

',2),b=i('

相信刚结束高中三年的你们对于丰富多彩的大学生活肯定是充满了期待。没错,大学生活怎么能只有学习学习和学习呢?!没有参加过什么社团组织的话, 我敢打赌你的大学四年会留下遗憾的(赌一包辣条敢不敢)。

社团

学校的社团组织种类很多,同时,当你发现你感兴趣的东西没有响应的社团时,也可以去各个群里吼几嗓子(滑稽),相信总会有那么一帮志同道合的小伙伴,大家可以一起创建起社团,造福自己,造福南科!(啊~~~~)

重头戏当然是秋季学期的百团大战!到那时各个社团都会出动抢人,想尽一切办法给自己的社团增添人气。想象一下,那么多社团一起摆摊宣传,那场面肯定比赶大集还热闹。当然,这也是萌新们了解社团,加入社团的大好时机!如果你想加入社团而又不知从何下手的话,这场百团大战一定不要错过。

提示

不同的社团会由不同的书院来管理,因此有一些社团名称前会带有某个书院的名称,但并不代表只有这个书院的同学才可以加入哦。我们的社团都是面向全校开放、活动的,所以不管你是哪个书院的学生,都可以去寻找自己想去的社团哦。

南科大目前约有在册学生团体数百个,涵盖了思想政治类、志愿公益类、学术科技类、体育竞技类、创新创业类、文化艺术类、自助互益类及其他类别。另外,同学们如果有自己创建学生团体的想法,可依据相应流程创建学生团体。

社团组织简介

团学组织

即校团委和团委指导下的组织。

  • 校团委及其指导下的团学组织:南方科技大学学生会、社团联合会、义工联合会

  • 书院指导的团学组织:学长团、各书院团总支、学生会(自管会)各班级的团学组织:团支委和班委校职能部门指导的学生团体

  • 党委公共关系与宣传部指导的“学生新闻社”招生办公室指导的“招生宣传协会”等

  • 国际学术团体分支及校科研教学单位指导的学生团体:电气和电子工程师协会(IEEE)、美国光学学会(OSA)、国际光学工程学会(SPIE)

体育竞技类学生团体

  • 书院运动项目院队:男足、女足、男篮、女篮、羽毛球队,游泳队等

  • 体育中心指导下的体育竞技校队:校游泳队、校羽毛球队,校定向运动协会;校舞蹈团等;

  • 在社团联合会登记的体育特色社团:

社团名称
乒乓球社
定向越野社
清羽飞扬羽毛球社
搏击社
女子篮球社
炽焱足球社
排球社
跆拳道社
篮球社
轮滑社
散打社
川衡社
南科武学社
篮球社
滑板社
雁落弓社
电竞社
自行车社
女子篮球社
瑜伽社

志愿公益类学生团体

这类学生团体以服务社会、公益环保为主要活动内容。加入这类学生团体,能让你深入了解社会需求,培养社会责任感,同时还能提高你的社交能力、组织策划能力,并有机会结交一些社会人士。

社团名称
绿色营自然保育社
招生宣传社团
猫社
手语社

义工联合会

南方科技大学义工联合会(Southern University Volunteer Association)简称南科大义工联,英文简称“SUVA”,成立于2017年5月,是一个新兴的校级学生组织。义工联的成立是为了整合校内公益力量,进一步保障义工权益,促进志愿活动规范化、公益组织专业化,营造全校的公益氛围。

下辖社团:

社团名称
南科大应急救援队
南科大招协
南科公益
义工联合会—教职工子女分队

思想政治类

社团名称
学生研学社
军事爱好者社团

其它在社团联合会登记的学生社团

文化艺术类社团

在理工科大学艺术家的心,这是一些以文化修养、艺术技巧为主要内容的学生社团,唱,跳,rap应有尽有;加入这类社团,能找到一群有相同志趣的小伙伴,增强彼此的技艺交流中,还可以增强对艺术的理解。

社团名称
桥牌社
西乐社
科幻协会社团
SCAP动漫社
NOVA街舞杜
轻音社
文学社
东亚神话与邦乐研究社
Penbeat社
魔方社
Dauber画社
致仁烘焙社
音乐剧社
桌游社
橡胶调酒社
铜琴社
电子音乐社
日本语言学习社
电影沙龙社
围棋社
推理社
辩论与口才社
拉丁杜
文化创意社
Wink舞社
弈林棋社
吉他社
书画社
万智牌社
摄影社
精灵宝可梦中心社
孟荀学社

学术科技类社团

把自己所学的各类理论知识运用到实践中,将知识迅速转化,是一件很棒的事呢。加入这类社团,能够加深你对知识学习的理解,提高你的实际动手能力和利用知识解决实际问题的能力。

社团名称
航模社
模拟联合国社
工业设计社
天文社
国际材料研究学会(MRS)南科大分会社团
科普社团
电子和电子工程(IEEE)南科大学生分会社团
计算机研究协会社团
虚拟现实技术社
翻译社

创新创业类创新创业社团

能让你有机会接触到项目实际操作的流程和管理,了解市场需求,学习创业技能。

社团名称
创新创业协会社
家教社

筹备社团

社团名称
大学生就业与职业发展社团(筹)
游戏王社(筹)
网球社(筹)

Tips

如何选择心仪的社团

  1. 【学业为主,立足实际】

    南科大学研任务繁重,同学们时间与精力有限,应合理规划社团活动与学习时间,选择一至两个社团为佳。

  2. 【依据爱好,立足社况】

    基于学校的情况与社团的发展状况,了解不同社团组织形式、规模、组织能力、运作模式、以往业绩,依据自己的优势及爱好做出判断。

  3. 【评估双方,立足于己】

    了解过社团的相关情况后,评估一下自己加入目标社团需要投入的时间和精力、自己的期许与对社团的付出,做到知已知彼,不能盲目加入。

  4. 【谨慎创社,立足于情】

    南科大目前社团种类众多,不少社团面临着能否保持长期活力的问题。决定创立新社团之前,要先调查学校是否有类似性质的社团,避免部分社员精力耗散。充分规划社团发展前景,保持社团长期的生命力。

关于社团,学长学姐还想说:

  1. 社团跟选书院没关系!!

    不同社团可能归属在不同书院名下,但并没有什么影响,每个社团都面向全体南科大学生。

  2. 如何了解社团?

    除了会收到各种宣传手册,开学后还会有“百团大战”大型活动,届时大多数社团都会开设摊位进行展示,吸引感兴趣的萌新们加入~另外,也推荐找相关的学长学姐了解情况哦。

  3. 量力而行

    社团虽有趣,但要量力而行,学会取舍。一个社团愉快,两个社团充实,三个就过多了。

  4. 社团有专业老师吗?

    大部分运动类社团,如舞蹈社、羽毛球社、武术社……每个星期都会有几个小时的固定锻炼/上课时间;会有专门的教练/老师上课教学;优秀的社员还可以代表学校参赛;有些非运动类社团也会有指导老师,请具体咨询。

  5. 选择热爱的社团

    不建议加入社团然后长期划水。若真的想从中学到东⻄、交到朋友,要愿意主动花时间。所以建议选择自己真正热爱并能坚持参与的社团。

  6. 社团氛围的营造

    一个积极活跃的社团就像一个大家庭,社员之间坦诚相待,约饭约练习,有很好的归属感。而一个社团是否有活力,也往往靠社员们的热情参与和长期坚持。所以加入社团后一定要学会合理安排时间,积极参与,共同把社团建设成一个大家庭!

参考资料

本页面的编写参考了树德书院学长团所编写的《南科行前记》中的内容。

',41);function f(_,x){const d=n("router-link"),a=n("RouteLink");return o(),h("div",null,[c,t("nav",u,[t("ul",null,[t("li",null,[r(d,{to:"#注册社团列表"},{default:e(()=>[l("注册社团列表")]),_:1})]),t("li",null,[r(d,{to:"#社团"},{default:e(()=>[l("社团")]),_:1})]),t("li",null,[r(d,{to:"#社团组织简介"},{default:e(()=>[l("社团组织简介")]),_:1}),t("ul",null,[t("li",null,[r(d,{to:"#团学组织"},{default:e(()=>[l("团学组织")]),_:1})]),t("li",null,[r(d,{to:"#体育竞技类学生团体"},{default:e(()=>[l("体育竞技类学生团体")]),_:1})]),t("li",null,[r(d,{to:"#志愿公益类学生团体"},{default:e(()=>[l("志愿公益类学生团体")]),_:1})]),t("li",null,[r(d,{to:"#其它在社团联合会登记的学生社团"},{default:e(()=>[l("其它在社团联合会登记的学生社团")]),_:1})]),t("li",null,[r(d,{to:"#文化艺术类社团"},{default:e(()=>[l("文化艺术类社团")]),_:1})]),t("li",null,[r(d,{to:"#学术科技类社团"},{default:e(()=>[l("学术科技类社团")]),_:1})]),t("li",null,[r(d,{to:"#创新创业类创新创业社团"},{default:e(()=>[l("创新创业类创新创业社团")]),_:1})])])]),t("li",null,[r(d,{to:"#tips"},{default:e(()=>[l("Tips")]),_:1}),t("ul",null,[t("li",null,[r(d,{to:"#如何选择心仪的社团"},{default:e(()=>[l("如何选择心仪的社团")]),_:1})]),t("li",null,[r(d,{to:"#关于社团-学长学姐还想说"},{default:e(()=>[l("关于社团,学长学姐还想说:")]),_:1})])])]),t("li",null,[r(d,{to:"#参考资料"},{default:e(()=>[l("参考资料")]),_:1})])])]),g,t("ul",null,[t("li",null,[r(a,{to:"/organizations/registered-organization-2021.html"},{default:e(()=>[l("南方科技大学社团联合会注册社团名单(2020-2021)")]),_:1})]),t("li",null,[r(a,{to:"/organizations/registered-organization-2020.html"},{default:e(()=>[l("南方科技大学社团联合会注册社团名单(2019-2020)")]),_:1})]),t("li",null,[r(a,{to:"/organizations/registered-organization-2019.html"},{default:e(()=>[l("南方科技大学社团联合会注册社团名单(2018-2019)")]),_:1})])]),b])}const k=s(p,[["render",f],["__file","index.html.vue"]]),y=JSON.parse('{"path":"/organizations/","title":"🎡社团活动","lang":"zh-CN","frontmatter":{},"headers":[{"level":2,"title":"注册社团列表","slug":"注册社团列表","link":"#注册社团列表","children":[]},{"level":2,"title":"社团","slug":"社团","link":"#社团","children":[]},{"level":2,"title":"社团组织简介","slug":"社团组织简介","link":"#社团组织简介","children":[{"level":3,"title":"团学组织","slug":"团学组织","link":"#团学组织","children":[]},{"level":3,"title":"体育竞技类学生团体","slug":"体育竞技类学生团体","link":"#体育竞技类学生团体","children":[]},{"level":3,"title":"志愿公益类学生团体","slug":"志愿公益类学生团体","link":"#志愿公益类学生团体","children":[]},{"level":3,"title":"其它在社团联合会登记的学生社团","slug":"其它在社团联合会登记的学生社团","link":"#其它在社团联合会登记的学生社团","children":[]},{"level":3,"title":"文化艺术类社团","slug":"文化艺术类社团","link":"#文化艺术类社团","children":[]},{"level":3,"title":"学术科技类社团","slug":"学术科技类社团","link":"#学术科技类社团","children":[]},{"level":3,"title":"创新创业类创新创业社团","slug":"创新创业类创新创业社团","link":"#创新创业类创新创业社团","children":[]}]},{"level":2,"title":"Tips","slug":"tips","link":"#tips","children":[{"level":3,"title":"如何选择心仪的社团","slug":"如何选择心仪的社团","link":"#如何选择心仪的社团","children":[]},{"level":3,"title":"关于社团,学长学姐还想说:","slug":"关于社团-学长学姐还想说","link":"#关于社团-学长学姐还想说","children":[]}]},{"level":2,"title":"参考资料","slug":"参考资料","link":"#参考资料","children":[]}],"git":{"updatedTime":1658460499000,"contributors":[{"name":"sparkcyf","email":"sparktour@outlook.com","commits":9},{"name":"liziwl","email":"leezisy@gmail.com","commits":2},{"name":"NaN","email":"zhangnan1701@gmail.com","commits":1}]},"filePathRelative":"organizations/README.md"}');export{k as comp,y as data}; diff --git a/assets/index.html-CFWaM9JM.js b/assets/index.html-CFWaM9JM.js new file mode 100644 index 000000000..b57819ae2 --- /dev/null +++ b/assets/index.html-CFWaM9JM.js @@ -0,0 +1 @@ +import{_ as l,o as e,c as i,e as a}from"./app-CAXKJsZK.js";const n={},s=a('

🏊‍♀️运动设施

本页面树德书院学长团编写。

游泳馆

  • 位置:风雨操场游泳馆

  • 开放时间:每年约4月初至12月初开放。(具体以邮件通知为准)开放时间为周一16:00-21:30;周二至周日6:30-21:30.

注意事项

  1. 为保障游泳教学,游泳课时段不对其他人员开放。
  2. 雷雨大风天气等特殊天气,游泳馆将临时闭馆。
  3. 每周一05:30-16:00闭馆对游泳池进行清洗、消毒。
  4. 开馆期间凭本人校园卡进入。
  5. 游泳期间请服从游泳馆管理员及救生员安排,避免发生安全事故。

场馆预约

需至微信/企业微信的**(新)校园场馆/会议预约系统**应用中预约。每日20:00释放7日后全日的预约时段。

体能训练中心

南方科技大学国际体能中心位于润杨体育四楼,是集体能评估、运动康复、体能训练于一体的国际化体能中心,包括身体运动功能分析测力台、人体成分分析仪、量子功能性身体康复训练、肌肉深层按摩器与按摩轴、全速康复训练仪、身体各部位训练机、大型空气压缩机与小型力量综合训练架等训练器材与设备。配套设备包括淋浴、卫生间。同时配有专业指导教练。

注意事项

  1. 凭预约信息及有效证件入场。
  2. 穿着运动鞋入场。
  3. 预约后如果不能在此时间段进场运动,需提前2小时取消预约,否则15日内不能进入该场馆。

搏击馆

  • 位置:风雨操场搏击馆
  • 开放时间:预约制,具体见体育中心官网-场馆预约

南科大搏击训练馆是集武术散打、拳击、自由搏击、脚斗士、摔跤、MMA、巴西柔术、跆拳道等竞技体育专项技术、专项体能训练及实战对抗于一体的国际化训练中心。场馆内配有国际比赛标准的职业搏击擂台、UFC世界搏击最高平台相同标准的日常训练设施装备,以及引进先进的电子教学、测试系统,配置LED显示屏幕。

击剑馆

  • 位置:润扬体育馆一楼
  • 练习室开放时间/击剑社活动时间:周四19:00-21:00;周日15:00-17:00

户外运动公园

包含攀岩墙和真人CS场地。

篮球场

  • 位置:风雨操场篮球馆(室内)教师公寓旁(标准篮球场2块)欣园(标准篮球场7块)
  • 开放时间:风雨操场、欣园篮球场:8:00-22:00 教师公寓旁:8:00-12:00、14:00-21:00

足球场

  • 位置:松禾体育场(11人制标准足球场1块)欣园(5人制标准足球场2块)
  • 开放时间:8:00-22:00

排球场

  • 位置:风雨操场篮球馆旁边

  • 开放时间:8:00-22:00

羽毛球场

  • 位置:润杨体育馆(标准羽毛球场10块)
  • 开放时间:8:00-22:00

网球场

  • 位置:教师公寓旁(标准网球场2块)欣园(标准网球场7块+练习场1块)
  • 开放时间:8:00-22:00

棒球场

  • 位置:教师公寓到三号门间
  • 开放时间:暂时只在大型赛事开放。

棒球运动是一种以棒打球为主要特点,集体性、对抗性很强的球类运动项目。它在国际上开展较为广泛,影响较大。

乒乓球馆

  • 位置:湖畔书院四栋一层二教一层
  • 开放时间:23:00闭馆

台球馆

  • 位置:湖畔书院二栋一层开放时间:全天

台球是一项别有趣味的休闲运动。书院楼下有可以免费使用的台球桌,但是领取球和球杆还是要押学生卡的。

田径场

  • 位置:松禾体育场
  • 开放时间:8:00-22:00(熄灯时间)

舞蹈房

  • 位置:湖畔舞蹈房(湖畔3栋楼下)荔园舞蹈房(荔园6栋)
  • 开放时间:23:00闭馆

在舞蹈房,你可以跳优雅的拉丁,酷炫的街舞,或是做舒缓的瑜伽。你可以在这里尽情地释放自我。和相关社团成员一起享用效果更佳哦。

健身房

  • 位置:湖畔健身房(湖畔三栋楼下)

  • 开放时间:全天不关门,深夜熄灯。

',46),h=[s];function r(t,c){return e(),i("div",null,h)}const d=l(n,[["render",r],["__file","index.html.vue"]]),o=JSON.parse('{"path":"/life/sports-facility/","title":"🏊‍♀️运动设施","lang":"zh-CN","frontmatter":{},"headers":[{"level":2,"title":"游泳馆","slug":"游泳馆","link":"#游泳馆","children":[{"level":3,"title":"注意事项","slug":"注意事项","link":"#注意事项","children":[]}]},{"level":2,"title":"场馆预约","slug":"场馆预约","link":"#场馆预约","children":[]},{"level":2,"title":"体能训练中心","slug":"体能训练中心","link":"#体能训练中心","children":[{"level":3,"title":"注意事项","slug":"注意事项-1","link":"#注意事项-1","children":[]}]},{"level":2,"title":"搏击馆","slug":"搏击馆","link":"#搏击馆","children":[]},{"level":2,"title":"击剑馆","slug":"击剑馆","link":"#击剑馆","children":[]},{"level":2,"title":"户外运动公园","slug":"户外运动公园","link":"#户外运动公园","children":[]},{"level":2,"title":"篮球场","slug":"篮球场","link":"#篮球场","children":[]},{"level":2,"title":"足球场","slug":"足球场","link":"#足球场","children":[]},{"level":2,"title":"排球场","slug":"排球场","link":"#排球场","children":[]},{"level":2,"title":"羽毛球场","slug":"羽毛球场","link":"#羽毛球场","children":[]},{"level":2,"title":"网球场","slug":"网球场","link":"#网球场","children":[]},{"level":2,"title":"棒球场","slug":"棒球场","link":"#棒球场","children":[]},{"level":2,"title":"乒乓球馆","slug":"乒乓球馆","link":"#乒乓球馆","children":[]},{"level":2,"title":"台球馆","slug":"台球馆","link":"#台球馆","children":[]},{"level":2,"title":"田径场","slug":"田径场","link":"#田径场","children":[]},{"level":2,"title":"舞蹈房","slug":"舞蹈房","link":"#舞蹈房","children":[]},{"level":2,"title":"健身房","slug":"健身房","link":"#健身房","children":[]}],"git":{"updatedTime":1720837174000,"contributors":[{"name":"sparkcyf","email":"sparktour@outlook.com","commits":4}]},"filePathRelative":"life/sports-facility/README.md"}');export{d as comp,o as data}; diff --git a/assets/index.html-CGhJILiG.js b/assets/index.html-CGhJILiG.js new file mode 100644 index 000000000..d0a1074f4 --- /dev/null +++ b/assets/index.html-CGhJILiG.js @@ -0,0 +1 @@ +import{_ as l,o as e,c as i,e as a}from"./app-CAXKJsZK.js";const n={},t=a('

🏥就医指南

校内紧急情况

请前往 应急处理页面

默认转诊医院变更

学校的社区健康服务中心门诊转诊定点医疗机构已在2021年7月改为南方科技大学医院(西丽人民医院)

本文内容来自:

报销/缴费

学生均为二档医保,签订劳务合同(缴纳五险一金)的研究助理等职工为一档医保。 职工基本医保二档、居民基本医保的普通门诊待遇:一是报销比例为一级以下医疗机构、二级医院、三级医院分别为75%、65%、55%,退休人员、60周岁及以上居民相应提高5%。

2023年10月起,深圳二档医保到选定社康的上级结算医院不用办转诊,但是如果需要到选定范围外的社康或医院就医,还是要办理转诊手续的。

学生基本医保需要注意的事项或限制:

  1. 缴费周期:当年 9 月 1 日至次年 8 月 31 日,一般秋季学期初于学校缴费系统上进行缴费。
  2. 报销周期:当年 7 月 1 日至次年 6 月 30 日,统筹基金支付额度为本市上上年度在岗职工年平均工资的1.5%(实施初期约为2333元)。
  3. 基本医疗保险二档、三档参保人,应当选定本市一家社康中心作为门诊就医的定点医疗机构。参保人可变更所选定的社康中心或其他定点医疗机构,自变更生效次月起在变更后的社康中心或定点医疗机构门诊就医。
  4. 补充保险:深圳市重特大疾病补充医疗保险,大约是春季学期缴费。

查询医保消费

  1. 微信 - 我的医保凭证(小程序) - 消费明细
  2. 支付宝 - 医保电子凭证 - 支出明细

挂号

  1. 健康160 网站或公众号
  2. 支付宝的便民生活的医疗健康功能
  3. 微信各医院的小程序

在校生常用就诊地点

医院等级从高到低:三级甲等 > 三级医院 > 二级甲等 > ...

南科大社康中心

  • 地址:南科大风雨操场旁

  • 推荐路线:步行/乘坐校巴

  • 简介:小病小伤都可以去学校社康中心治疗,办理医保卡后,买药看病很便宜,但是有可能有时医疗资源不足,此时可以在社康中心开局转诊单,去其他地方就医。另外,闲暇时间同学们可以去社康拔个火罐、贴三伏贴。

大学城社康中心

  • 地址:深圳市南山区塘兴路77号

福光社康中心

  • 深圳市南山区桃源街道留仙路1998号崇文花园5A栋临街铺1-2层

南方科技大学医院(西丽人民医院) 三级医院

  • 南科大社康 默认 转诊医院,2019年由二级甲等升级为三级医院
  • 地址:深圳市南山区西丽留仙大道6019号

深圳大学总医院 三级甲等

  • 地址:深圳市西丽大学城学苑大道1098号

华中科技大学协和深圳医院(南山区人民医院) 三级甲等

  • 地址:深圳市南山区桃园路89号
  • 简介:南山区老牌三甲医院,又叫深圳市第六人民医院。

Tips

  1. 医保卡是能在直属医院看门诊急诊报销交钱时直接优惠,但其他医院只能看急诊报销且这样的报销不是交钱的时候直接优惠,还要后期自己去报销(具体流程可以咨询校社康中心)。
  2. 我校医保卡直属医院默认为学校社康中心和西丽医院。但是可以根据自身情况更改绑定在其他医院和对应社康中心。
  3. 如果是大病住院了那么哪个医院都是可以用医保卡报销的。
  4. 离学校最近的医院是深大总医院,属于三甲医院。
  5. 小病小伤都可以去学校社康中心,办理医保卡后,买药看病都不会很贵,但是有可能有时医疗资源不足,此时可以在社康中心开局转诊单,去其他地方就医。
  6. 可以步行,或乘坐74、43、81、M369、M459等路公交车到达塘朗村(塘朗村口或塘朗派出所站)的 大学城社康中心 就医,价格不高,挂号费15元,医疗设备目前多于学校社康中心。
  7. 紧急情况(遇见蛇等)也可以在信息交流群(286147538)等QQ群联系校内安保人员和物业服务人员以及应急救援队队员。
  8. 一般常见药是可以在学校社康中心买到的,办理社保卡后,价格会很便宜(参考数据为:甲类药品和乙类药品,分别由社区门诊统筹基金按80%和60%的比例支付)
  9. 另外常见外伤处理用品可以直接从书院办公室等处借用急救包。
',30),s=[t];function r(h,c){return e(),i("div",null,s)}const p=l(n,[["render",r],["__file","index.html.vue"]]),d=JSON.parse('{"path":"/service/medical-treatment/","title":"🏥就医指南","lang":"zh-CN","frontmatter":{},"headers":[{"level":2,"title":"报销/缴费","slug":"报销-缴费","link":"#报销-缴费","children":[{"level":3,"title":"查询医保消费","slug":"查询医保消费","link":"#查询医保消费","children":[]}]},{"level":2,"title":"挂号","slug":"挂号","link":"#挂号","children":[]},{"level":2,"title":"在校生常用就诊地点","slug":"在校生常用就诊地点","link":"#在校生常用就诊地点","children":[{"level":3,"title":"南科大社康中心","slug":"南科大社康中心","link":"#南科大社康中心","children":[]},{"level":3,"title":"大学城社康中心","slug":"大学城社康中心","link":"#大学城社康中心","children":[]},{"level":3,"title":"福光社康中心","slug":"福光社康中心","link":"#福光社康中心","children":[]},{"level":3,"title":"南方科技大学医院(西丽人民医院) 三级医院","slug":"南方科技大学医院-西丽人民医院-三级医院","link":"#南方科技大学医院-西丽人民医院-三级医院","children":[]},{"level":3,"title":"深圳大学总医院 三级甲等","slug":"深圳大学总医院-三级甲等","link":"#深圳大学总医院-三级甲等","children":[]},{"level":3,"title":"华中科技大学协和深圳医院(南山区人民医院) 三级甲等","slug":"华中科技大学协和深圳医院-南山区人民医院-三级甲等","link":"#华中科技大学协和深圳医院-南山区人民医院-三级甲等","children":[]}]},{"level":2,"title":"Tips","slug":"tips","link":"#tips","children":[]}],"git":{"updatedTime":1708866444000,"contributors":[{"name":"sparkcyf","email":"sparktour@outlook.com","commits":5},{"name":"liziwl","email":"leezisy@gmail.com","commits":4}]},"filePathRelative":"service/medical-treatment/README.md"}');export{p as comp,d as data}; diff --git a/assets/index.html-CGorN1uQ.js b/assets/index.html-CGorN1uQ.js new file mode 100644 index 000000000..4af84940f --- /dev/null +++ b/assets/index.html-CGorN1uQ.js @@ -0,0 +1 @@ +import{_ as i,r,o as h,c,b as a,d as e,a as t,w as l,e as s}from"./app-CAXKJsZK.js";const o={},d=s('

更新日志

2021-02-21

更新校园巴士实时位置网址

2021-01-31

',4),_=a("h2",{id:"_2021-01-25",tabindex:"-1"},[a("a",{class:"header-anchor",href:"#_2021-01-25"},[a("span",null,"2021-01-25")])],-1),p=s('

修改更新日志的显示方式。

2021-01-23

添加“应急处理”页面。

2021-01-04

更新校历

2020-12-26

更新巴士站点图,工学院站投入运营

2020-12-24

选课参考列表更新

2020-12-23

加入CRA下载站链接

',11);function u(m,f){const n=r("RouteLink");return h(),c("div",null,[d,a("p",null,[e("添加“"),t(n,{to:"/service/student-train-ticket/"},{default:l(()=>[e("火车票学生优惠使用指南")]),_:1}),e("”的页面。")]),_,a("p",null,[e("添加"),t(n,{to:"/service/email/"},{default:l(()=>[e("申请邮箱别名")]),_:1}),e("的方法。")]),p])}const x=i(o,[["render",u],["__file","index.html.vue"]]),v=JSON.parse('{"path":"/news/","title":"更新日志","lang":"zh-CN","frontmatter":{},"headers":[{"level":2,"title":"2021-02-21","slug":"_2021-02-21","link":"#_2021-02-21","children":[]},{"level":2,"title":"2021-01-31","slug":"_2021-01-31","link":"#_2021-01-31","children":[]},{"level":2,"title":"2021-01-25","slug":"_2021-01-25","link":"#_2021-01-25","children":[]},{"level":2,"title":"2021-01-23","slug":"_2021-01-23","link":"#_2021-01-23","children":[]},{"level":2,"title":"2021-01-04","slug":"_2021-01-04","link":"#_2021-01-04","children":[]},{"level":2,"title":"2020-12-26","slug":"_2020-12-26","link":"#_2020-12-26","children":[]},{"level":2,"title":"2020-12-24","slug":"_2020-12-24","link":"#_2020-12-24","children":[]},{"level":2,"title":"2020-12-23","slug":"_2020-12-23","link":"#_2020-12-23","children":[]}],"git":{"updatedTime":1704121847000,"contributors":[{"name":"liziwl","email":"leezisy@gmail.com","commits":5},{"name":"sparkcyf","email":"sparktour@outlook.com","commits":2}]},"filePathRelative":"news/README.md"}');export{x as comp,v as data}; diff --git a/assets/index.html-CMZeBYPL.js b/assets/index.html-CMZeBYPL.js new file mode 100644 index 000000000..891ea26a3 --- /dev/null +++ b/assets/index.html-CMZeBYPL.js @@ -0,0 +1 @@ +import{_ as s,r as i,o as h,c as d,b as e,a as l,w as n,d as t,e as a}from"./app-CAXKJsZK.js";const o={},E=a('

🎓学在南科

学号(SID)

学号是学校在入学分班后为同学分配的识别码,在整个学校中唯一。

课程

课程详述

包含课程简介,纲要与考核形式。推荐使用NCES评课社区 https://nces.cra.moe 进行检索,可使用课程名称,课程代码,授课老师等关键词进行查询。

📖学习建议与攻略

',9),c=e("ul",null,[e("li",null,[e("em",null,"包括入学考试,专业选课,英语学习等信息")])],-1),u=e("ul",null,[e("li",null,[e("em",null,"包括暑假学习建议、大学学习准备、入学考试准备、个人提升。")])],-1),A=e("ul",null,[e("li",null,[e("em",null,"包含GPA表、专业概览、选课指导、学习资源、图书馆学习攻略、学籍管理。")])],-1),p=a('

毕业生质量报告

GPA换算表(本科)

等级A+AA-B+BB-C+CC-D+DD-F
绩点4.003.943.853.733.553.323.092.782.422.081.631.150
百分 参考97~ 10093~ 9690~ 9287~ 8983~ 8680~ 8277~ 7973~ 7670~ 7267~ 6963~ 6660~ 62<60

提示

推荐使用同学开发的网页版GPA计算器快速计算GPA。

GPA换算表(研究生)

等级A+ / AA-B+BB-C+CC-D+DF
绩点4.03.73.33.02.72.32.01.71.31.00
百分 参考95~ 10090~ 9485~ 8980~ 8477~ 7973~ 7670~ 7267~ 6963~ 6660~ 62<60

学生手册

培养方案(本科)

📗教材与图书借还

院系开放信息

计算机科学与工程系

',15),B=a('
  • 计算机安全/渗透测试公开教学与学术队伍
  • 计算机系毕业去向
  • ',2),f=a('

    人文中心

    语言中心

    ',4);function m(_,C){const r=i("RouteLink");return h(),d("div",null,[E,e("ul",null,[e("li",null,[l(r,{to:"/study/paper-tools.html"},{default:n(()=>[t("一些好用工具🔧")]),_:1}),t(":查重,文献管理,参考格式化,翻译,语言检查,同义转写。")]),e("li",null,[l(r,{to:"/study/by-zhicheng-college/%E6%96%B0%E7%94%9F%E6%94%BB%E7%95%A5%E4%B9%8B%E5%AD%A6%E4%B9%A0%E7%AF%87.html"},{default:n(()=>[t("致诚书院新生攻略学习篇(2021)")]),_:1}),c]),e("li",null,[l(r,{to:"/study/by-shude-college/advice-on-study.html"},{default:n(()=>[t("学习建议 by 树德书院(2020)")]),_:1}),u]),e("li",null,[l(r,{to:"/study/by-shude-college/info-on-study.html"},{default:n(()=>[t("学习制度与信息 by 树德书院(2020)")]),_:1}),A])]),p,e("ul",null,[e("li",null,[l(r,{to:"/study/cse/innovative-project.html"},{default:n(()=>[t("创新实践项目汇总")]),_:1})]),B]),f])}const b=s(o,[["render",m],["__file","index.html.vue"]]),k=JSON.parse('{"path":"/study/","title":"🎓学在南科","lang":"zh-CN","frontmatter":{},"headers":[{"level":2,"title":"学号(SID)","slug":"学号-sid","link":"#学号-sid","children":[]},{"level":2,"title":"课程","slug":"课程","link":"#课程","children":[{"level":3,"title":"课程详述","slug":"课程详述","link":"#课程详述","children":[]},{"level":3,"title":"📖学习建议与攻略","slug":"📖学习建议与攻略","link":"#📖学习建议与攻略","children":[]},{"level":3,"title":"毕业生质量报告","slug":"毕业生质量报告","link":"#毕业生质量报告","children":[]},{"level":3,"title":"GPA换算表(本科)","slug":"gpa换算表-本科","link":"#gpa换算表-本科","children":[]},{"level":3,"title":"GPA换算表(研究生)","slug":"gpa换算表-研究生","link":"#gpa换算表-研究生","children":[]}]},{"level":2,"title":"学生手册","slug":"学生手册","link":"#学生手册","children":[]},{"level":2,"title":"培养方案(本科)","slug":"培养方案-本科","link":"#培养方案-本科","children":[]},{"level":2,"title":"📗教材与图书借还","slug":"📗教材与图书借还","link":"#📗教材与图书借还","children":[]},{"level":2,"title":"院系开放信息","slug":"院系开放信息","link":"#院系开放信息","children":[{"level":3,"title":"计算机科学与工程系","slug":"计算机科学与工程系","link":"#计算机科学与工程系","children":[]},{"level":3,"title":"人文中心","slug":"人文中心","link":"#人文中心","children":[]},{"level":3,"title":"语言中心","slug":"语言中心","link":"#语言中心","children":[]}]}],"git":{"updatedTime":1706355037000,"contributors":[{"name":"sparkcyf","email":"sparktour@outlook.com","commits":23},{"name":"liziwl","email":"leezisy@gmail.com","commits":11},{"name":"QuanQuan-CHO","email":"12011619@mail.sustech.edu.cn","commits":1},{"name":"Ziqiang Li","email":"leezisy@gmail.com","commits":1},{"name":"lethal233","email":"11811407@mail.sustech.edu.cn","commits":1}]},"filePathRelative":"study/README.md"}');export{b as comp,k as data}; diff --git a/assets/index.html-CNEv92mS.js b/assets/index.html-CNEv92mS.js new file mode 100644 index 000000000..7a75e502c --- /dev/null +++ b/assets/index.html-CNEv92mS.js @@ -0,0 +1 @@ +import{_ as e,o as a,c as r,e as t}from"./app-CAXKJsZK.js";const n={},o=t('

    📶选择一台合适的路由器

    by @sparkcyf

    提示

    本文参考了acwifi.net的相关文章

    本文写于2024年7月。

    我有需要购买路由器吗?

    除非你有如以下的需求,学校提供的网络服务一般来说已经够用了。

    • 居住于湖畔,并且办了电信的自费宽带。
    • 觉得学校提供的无线速率太慢(学校的路由器使用802.11ax 40Mhz频宽(2*2/3*3),最大单向传输速率约为900Mbps)。
    • 宿舍的无线信号覆盖较差(截至2024年,所有的宿舍均已部署了学校的AP,此问题已大大缓解)。
    • 需要连接其他电子设备(如台式机,开发板,存储服务器等),或需要对局域网进行控制。
    • 使用了无DHCPv6功能的设备,但还想使用IPv6。

    不希望刷机

    由于学校校园网的墙壁网口速率仅1Gbps,因此购买AX3000规格的千兆路由器即可,比如acwifi中所推荐的:

    150元左右可以买到好多AX3000无线规格的,其中多数是联发科的无线方案,这一系列产品,性价比也挺高的。比如 中兴巡天AX3000小米AX3000T 前者149后者159。这比上年双11没便宜了30元左右。XDR3010 也是149元、不知现在是出到V几了。

    希望刷机

    参考恩山论坛,可购买小米的 AX3000T ,或者在二手市场上购买一两年前的AX6,AX6s等。

    如果只希望把路由器作为AP使用,可以购买R2s等多网口开发版作为软路由使用。

    ',12),i=[o];function l(c,s){return a(),r("div",null,i)}const p=e(n,[["render",l],["__file","index.html.vue"]]),d=JSON.parse('{"path":"/service/network/choose-a-router/","title":"📶选择一台合适的路由器","lang":"zh-CN","frontmatter":{},"headers":[{"level":2,"title":"我有需要购买路由器吗?","slug":"我有需要购买路由器吗","link":"#我有需要购买路由器吗","children":[]},{"level":2,"title":"不希望刷机","slug":"不希望刷机","link":"#不希望刷机","children":[]},{"level":2,"title":"希望刷机","slug":"希望刷机","link":"#希望刷机","children":[]}],"git":{"updatedTime":1721613868000,"contributors":[{"name":"sparkcyf","email":"sparktour@outlook.com","commits":2},{"name":"Wenxuan SHI","email":"whexy@outlook.com","commits":1}]},"filePathRelative":"service/network/choose-a-router/README.md"}');export{p as comp,d as data}; diff --git a/assets/index.html-CPvJSkac.js b/assets/index.html-CPvJSkac.js new file mode 100644 index 000000000..cc1695207 --- /dev/null +++ b/assets/index.html-CPvJSkac.js @@ -0,0 +1 @@ +import{_ as n,r as s,o as i,c as a,b as e,d as t,a as o,w as c,e as r}from"./app-CAXKJsZK.js";const m={},p=e("h1",{id:"使用-ssl-vpn-说明",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#使用-ssl-vpn-说明"},[e("span",null,"使用 SSL VPN 说明")])],-1),h=r('
    1. 下载客户端 https://vpn.sustech.edu.cn/com/welcome.html 或者 https://vpn.sustech.edu.cn/com/installClient.html
      • Windows 电脑需用 IE 浏览器打开,并信任证书。
      • Mac 电脑需用 Safari 浏览器打开,并信任证书。
      • 如需使用 Chrome 浏览器访问,会提示“您的连接不是私密连接”,点击旁边空白区域,输入“thisisunsafe”。
    2. 打开客户端,选择账号登录,填写配置
      • 服务器地址:https://vpn.sustech.edu.cn
      • 用户名:8位学号
      • 密码:VPN 系统密码(可能与 CAS 密码不同)

    提示:此VPN的用途仅限回校访问数据库,无法作为其他用途。

    ',2);function u(d,_){const l=s("RouteLink");return i(),a("div",null,[p,e("p",null,[t("查看如何"),o(l,{to:"/service/network/apply-for-vpn/"},{default:c(()=>[t("申请回校 VPN")]),_:1}),t("。")]),h])}const v=n(m,[["render",u],["__file","index.html.vue"]]),N=JSON.parse('{"path":"/service/network/use-vpn/","title":"使用 SSL VPN 说明","lang":"zh-CN","frontmatter":{},"headers":[],"git":{"updatedTime":1649688463000,"contributors":[{"name":"liziwl","email":"leezisy@gmail.com","commits":3},{"name":"Ziqiang Li","email":"leezisy@gmail.com","commits":1}]},"filePathRelative":"service/network/use-vpn/README.md"}');export{v as comp,N as data}; diff --git a/assets/index.html-CWBsguBz.js b/assets/index.html-CWBsguBz.js new file mode 100644 index 000000000..83234dbb5 --- /dev/null +++ b/assets/index.html-CWBsguBz.js @@ -0,0 +1 @@ +import{_ as a,o as s,c as t,e}from"./app-CAXKJsZK.js";const i="/assets/sakai-1-CB0i72O4.png",c="/assets/sakai-2-BlkaU-zu.png",o="/assets/sakai-3-DIkRgFoV.png",n="/assets/sakai-4-0wc6WatQ.png",l="/assets/sakai-5-ByPsWaOq.png",p={},r=e('

    Sakai | 文件分享

    众所周知,Sakai 在校园网环境下访问非常快,通过其传输 或者 分享文件也非常方便,更可免受外网访问速度的限制。

    教程

    1. 进入个人空间

    2. 选择上传文件

    3. 编辑访问权限

      访问红框内网址(https://sakai.sustech.edu.cn/x/VgWvyf)即可下载文件。

    ',4),m=[r];function _(d,h){return s(),t("div",null,m)}const g=a(p,[["render",_],["__file","index.html.vue"]]),f=JSON.parse('{"path":"/service/sakai/","title":"Sakai | 文件分享","lang":"zh-CN","frontmatter":{},"headers":[{"level":2,"title":"教程","slug":"教程","link":"#教程","children":[]}],"git":{"updatedTime":1592970118000,"contributors":[{"name":"sparkcyf","email":"sparktour@outlook.com","commits":2},{"name":"liziwl","email":"leezisy@gmail.com","commits":1}]},"filePathRelative":"service/sakai/README.md"}');export{g as comp,f as data}; diff --git a/assets/index.html-CbACfGEh.js b/assets/index.html-CbACfGEh.js new file mode 100644 index 000000000..03b163f10 --- /dev/null +++ b/assets/index.html-CbACfGEh.js @@ -0,0 +1 @@ +import{_ as e,o as a,c as r,e as c}from"./app-CAXKJsZK.js";const n="/assets/preview-xiaomo-CZrFPupu.jpg",p={},d=c('

    蓢村拾遗:南科大冷知识2021

    以下文章来源于 StudioGloire,作者 馮小漠。

    Snipaste_2021-07-11_22-27-10

    封面图/2019年,九华精舍改名为九华苑

    【1】九山一水、校猫与校树

    南科大“九山社”小记与“九山一水”小史

    榴莲传

    南科大的荔枝

    【2】校名题词

    南方科技大学校名题词浅考

    南方科技大学校名题词续考

    南科大校名题词补记:关于韩美林先生题校名

    【3】消失的村委楼

    冯小漠:村委楼是离我们最近的乡愁

    村委楼探险记

    张家瑜消失的两小时

    【4】世界级榜单与屏幕

    解读2017克巴博高校排行榜:南科大、上海纽约异军突起,意味着什么?

    新益求新 | 校友在埃及金字塔点亮国际屏幕!

    全。。。大陸第八 文化衫 正式上市!

    【5】九华与琳恩

    九华精舍究竟有几幢楼?

    我们发现了南科大琳恩图书馆的一个“小秘密”

    “天雨流芳”的第三层含义

    【6】豪华厕所与独立卫浴

    数据之外——探讨校园问题

    豪华厕所=贪图享乐?所长:一派胡言!

    种拔大学二期工程本、硕、博宿舍实地考察推文

    谈独立卫浴

    【7】学生状况调查

    100个活在南科大的学生

    2020,南科大孩子们的情感体验

    不知道2021年新生是什么情况呢?

    我们期待一下~

    [Fin.]

    Ref

    蓢村拾遗:南科大冷知识2021

    馮小漠的公众号:

    ',39),t=[d];function m(i,s){return a(),r("div",null,t)}const b=e(p,[["render",m],["__file","index.html.vue"]]),o=JSON.parse('{"path":"/if-you-are-a-freshman/preview/","title":"蓢村拾遗:南科大冷知识2021","lang":"zh-CN","frontmatter":{},"headers":[{"level":2,"title":"【1】九山一水、校猫与校树","slug":"【1】九山一水、校猫与校树","link":"#【1】九山一水、校猫与校树","children":[]},{"level":2,"title":"【2】校名题词","slug":"【2】校名题词","link":"#【2】校名题词","children":[]},{"level":2,"title":"【3】消失的村委楼","slug":"【3】消失的村委楼","link":"#【3】消失的村委楼","children":[]},{"level":2,"title":"【4】世界级榜单与屏幕","slug":"【4】世界级榜单与屏幕","link":"#【4】世界级榜单与屏幕","children":[]},{"level":2,"title":"【5】九华与琳恩","slug":"【5】九华与琳恩","link":"#【5】九华与琳恩","children":[]},{"level":2,"title":"【6】豪华厕所与独立卫浴","slug":"【6】豪华厕所与独立卫浴","link":"#【6】豪华厕所与独立卫浴","children":[]},{"level":2,"title":"【7】学生状况调查","slug":"【7】学生状况调查","link":"#【7】学生状况调查","children":[]},{"level":2,"title":"Ref","slug":"ref","link":"#ref","children":[]}],"git":{"updatedTime":1660916295000,"contributors":[{"name":"liziwl","email":"leezisy@gmail.com","commits":2}]},"filePathRelative":"if-you-are-a-freshman/preview/README.md"}');export{b as comp,o as data}; diff --git a/assets/index.html-CeI5cILP.js b/assets/index.html-CeI5cILP.js new file mode 100644 index 000000000..cee7610b2 --- /dev/null +++ b/assets/index.html-CeI5cILP.js @@ -0,0 +1 @@ +import{_ as a,o as e,c as i,e as n}from"./app-CAXKJsZK.js";const t={},d=n('

    选择一台合适的平板电脑

    提示

    本文写于2024年7月。

    我需要平板电脑吗?

    如果你想把自己的笔记/绘图电子化,或者看看爱奇艺(误),那一台平板电脑还是有必要的。

    iPad还是其他的Android平板?

    考虑到主要Android厂商均已推出了自家的手写笔配件,是否购买Android平板取决于你对跨设备传输能力等厂商特性的依赖程度。如果你对此没有需求,并且希望体验更丰富的平板软件生态,那iPad依然是合适的选择。

    需要买笔吗?

    强烈推荐买一支,方便无纸化做笔记。

    ',8),r=[d];function s(o,c){return e(),i("div",null,r)}const h=a(t,[["render",s],["__file","index.html.vue"]]),p=JSON.parse('{"path":"/service/network/choose-a-pad/","title":"选择一台合适的平板电脑","lang":"zh-CN","frontmatter":{},"headers":[{"level":2,"title":"我需要平板电脑吗?","slug":"我需要平板电脑吗","link":"#我需要平板电脑吗","children":[]},{"level":2,"title":"iPad还是其他的Android平板?","slug":"ipad还是其他的android平板","link":"#ipad还是其他的android平板","children":[]},{"level":2,"title":"需要买笔吗?","slug":"需要买笔吗","link":"#需要买笔吗","children":[]}],"git":{"updatedTime":1721613868000,"contributors":[{"name":"sparkcyf","email":"sparktour@outlook.com","commits":2}]},"filePathRelative":"service/network/choose-a-pad/README.md"}');export{h as comp,p as data}; diff --git a/assets/index.html-Cm4nwcoP.js b/assets/index.html-Cm4nwcoP.js new file mode 100644 index 000000000..0164bb1f3 --- /dev/null +++ b/assets/index.html-Cm4nwcoP.js @@ -0,0 +1,28 @@ +import{_ as s,o as e,c as n,e as a}from"./app-CAXKJsZK.js";const i="/assets/image-BOf741X1.png",t="/assets/image-1-B6csJZQb.png",p="/assets/image-2-Tle4xxpZ.png",l="/assets/image-3-CXF_EJ-u.png",r="/assets/image-4-1024x143-CvUB2QNq.png",c="/assets/image-5-1024x257-RtzfhPoe.png",d="/assets/image-6-1024x333-DEGDie81.png",o="/assets/image-7-DdQHg9U1.png",m="/assets/image-8-1024x484-VS-E-lnx.png",v="/assets/image-9-1024x435-cSQb0gsr.png",g="/assets/image-10-1024x161-DkWmtf1q.png",u="/assets/image-11-1024x983-DDV5JNKh.png",h="/assets/image-13-1024x530-C_IixTJ-.png",b="/assets/image-12-CUobrzB0.png",P="/assets/image-14-1024x783-BgLBSXIu.png",_="/assets/image-15-1024x173-EtrhlDDf.png",f="/assets/image-16-1024x538-BV4XFbTc.png",I="/assets/image-18-3YBjRikj.png",x={},k=a('

    校内 IPv6 设置教程

    本篇教程是在南方科技大学的网络环境下写成。据我所知,下发128位前缀 IPv6 地址的学校不止南科大一所,本篇教程事实上具有普适性,其他大学的同学也可以进行参考。

    事实上,在中国电信的家宽一般下发56位前缀的地址,也可使用本方法,但并无必要,可直接由路由分配地址无需 NAT。

    南科大的 IPv6 下发的地址是 128位前缀,换言之,子网大小为 1,仅够一台设备使用。为了让一个物理网口下的多个设备共享网络,常见的解决方案是(1)交换机(2)路由器。两者的区别想必需要用到此教程的同学应该了解,这里仅介绍具体配置。

    IPv6 桥接

    根据工信部《关于开展2019年IPv6网络就绪专项行动的通知》 的要求,“新部署的家庭网关设备应全部支持IPv6,并默认配置支持IPv4/IPv6双栈,能够为网关下挂设备分配 IPv6 地址”。同学们新购买的路由器应该都支持 IPv6。例如水星等,国产路由器一般会将 IPv6 与 IPv4的设置分开。

    在南科大校园网下,在 IPv6 的设置中选择 “桥接模式” 或 ”中继模式“,下级设备应该能分配到 2001 开头的公网 IPv6 地址。

    IPv6 NAT ©️ 戴郭轶

    一些同学如果有特殊需求可能会使用 OpenWrt,里面有丰富的插件提供多样的服务。

    这篇教程可以说是一篇咕咕咕了很久的教程,大概是在去年才开学的时候,当时公网限速在 700KB/s,所以就买了新路由3刷了 OpenWrt 进行多拨来解除限速,(现在解除了,最快能够跑到 90MB/s 左右,没有必要使用多拨来提升带宽)。不过当时也花了很久配置 IPv6 的经验,可能仍值得分享。

    由于南科大的分配的128位前缀的地址,子网空间不足,需要使用本该被淘汰掉的 NAT 网络地址转换使得下级设备能够联网,正确配置后的效果如下:

    img

    同时北洋园和蒲公英pt均能正常识别(需要在OpenWrt开启 UPnP ):

    img

    img

    (PS:不要学我IPv6不打码直接发,因为 v6 默认就是公网地址,我在发完教程后会使用新的地址)

    电脑能成功获取内网IPv6,同时手机也能获得64位的 v6 地址,正常访问 v6 网络:

    img

    相应的流程并不复杂,只需要一台刷入OpenWrt的路由器,一台电脑,WinSCP(可选),以及足够的耐心。

    首先,我们需要登录进入路由器的后台管理页面,依次点击网络-接口:

    将全局网络选项前缀进行修改,我个人使用的是 fd34:fe56:7891:2f3a::/64;可以按照自己喜好选择一个内网前缀。

    img

    随后单击lan一栏的修改,我们需要修改一下内网的设置,滑到下方,点击高级设置,按照下图进行勾选:

    img

    然后点击IPv6设置,路由器通告服务和DHCPv6服务修改为服务器模式,NDP代理设置为禁用,DHCPv6选择无状态的+有状态的,并勾选总是通告默认路由:

    img

    完成后点击保存&应用。

    随后进入wan口的设置,勾选上使用内置的IPv6管理

    img

    随后进入wan6口的设置,将协议修改为DHCPv6客户端,请求IPv6地址为force,请求指定长度的IPv6前缀为已禁用:

    img

    进入高级设置,勾选上使用内置的IPv6管理,强制链路和使用默认网关:

    img

    之后选择网络-DHCP/DNS,进入高级设置,取消勾选禁止解析IPv6 DNS记录:

    img

    进入网络-防火墙:

    将转发改为接受,下面的区域也需要改:

    img

    进入自定义规则,粘贴如下内容:

    img

    WAN6=eth0.2
    +LAN=br-lan
    +ip6tables -t nat -A POSTROUTING -o $WAN6 -j MASQUERADE
    +ip6tables -A FORWARD -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT
    +

    其中 eth0.2br-lan 需要修改为你网络-接口中显示的内容:

    img

    2023.3.22 更新:

    在新版本的linux/openwrt 中,iptables 已经被 nftables 取代,上述命令可能执行失败,我们可以使用以下命令来解决: ip6tables -t nat -I POSTROUTING -s `uci get network.globals.ula_prefix` -j MASQUERADE 这样就无需上述防火墙自定义规则的配置了。

    如果有多拨需求的,提醒一下需要在负载均衡中将 defalut-rule 的备用成员改成默认(使用主路由表),由于我重新刷机做的教程且现在没有多拨的必要,就不演示了,没有需求的可以略过这一点。

    经过如上配置,重启路由器后,在网络,诊断中应该能够成功 ping 通 openwrt.org 的v6了,说明你的路由器已经成功接入 IPv6 网络了:

    img

    但是如果我们打开 https://www.test-IPv6.com/ ,我们电脑还是没有连上v6的,这里就需要我们修改流量转发的路由表了,使用ssh工具连上路由器,没有的可以点击系统-TTYD终端:依次输入一下代码:

    route -A inet6 add default gw fe80::3e8c:93ff:fed0:83c2 dev eth0.2
    +/etc/init.d/firewall restart
    +/etc/init.d/network restart
    +

    其中,第一行的fe80开头的一串v6地址需要修改为本机的默认网关,可以在状态-概览下获得,如图:

    img

    而后面的eth0.2就是你网口的编号了,和防火墙哪那里一样,这个时候我们再打开 https://www.test-IPv6.com/ ,可以发现,我们电脑已经接入IPv6了:

    img

    但是,如果路由器关机重启后,我们刚才输入的三行代码会丢失,也就是会回到路由器有 IPv6 而电脑无法连接 IPv6 的状态,这个时候我们就需要编辑一个开机自启的脚本,让路由器再开机时自动添加:

    具体操作为:使用 WinSCP 连接并登陆进入路由器,在 /etc/hotplug.d/iface/ 目录下新建名为 restart-IPv6 的文件,修改内容为:

    #!/bin/sh
    +[ "$ACTION" = ifup ] || exit 0
    +route -A inet6 add default gw fe80::3e8c:93ff:fed0:83c2 dev eth0.2
    +

    2023.3.22 更新: 如果无法在防火墙自定义规则处修改,请在脚本中添加相关命令。

    最后一行需要修改成和刚才一样的内容,然后给予可执行权限。

    没有 WinSCP 的可以在终端内输入以下内容:

    vim /etc/hotplug.d/iface/restart-IPv6
    +

    然后再文本框中输入上面的三行内容,按 Esc 后退出 insert 模式,输入 :wq 退出。

    然后给予可执行权限:

    chmod +x /etc/hotplug.d/iface/restart-IPv6
    +

    img

    这个时候,恭喜你,成功配置IPv6了哦~

    对了,如果有挂pt需求的同学,别忘了在服务-UPnP中打开哦~

    还存在一些应该是OpenWrt本身的问题,在使用IPv6的时候,无法手动配置端口转发,UPnP的端口转发是成功的,但是在防火墙下无法配置,使用 Socat 也没有成功。

    感谢阅读!如果有什么问题或者建议,可以和我发邮件联系。

    我的个人邮箱为:ntdgy2001@gmail.com / 12011211@mail.sustech.edu.cn

    原文章地址(NAT 部分)©️ 戴郭轶:[https://ntdgy.top/ntdgy/30/]

    IPv6 (Linux systemd)

    学校的 DHCPv6 服务器实现比较灵车,Linux桌面或服务器有时候无法获取到 IPv6 地址,如果你使用 systemd-networkd 配置网络,你可以使用以下设置:

    注意要让 systemd-networkd 接管网络配置。

    创建 /etc/systemd/network/wan.network,文件一定要以 .network 结尾。

    [Match]
    +Name=\`interface\`
    +
    +[Network]
    +DHCP=yes
    +IPv6AcceptRA=true
    +
    +[DHCPv6]
    +WithoutRA=solicit
    +DUIDType=link-layer
    +RapidCommit=false
    +
    +[IPv6AcceptRA]
    +Token=eui64
    +DHCPv6Client=always
    +

    关键是要把 RapidCommit=false 关掉,带上这个标志后学校 DHCPv6 服务器就不会回复 DHCPv6 Solicit 请求。

    有时候学校二层里面也不会发 IPv6 RA,所以最好启用 WithoutRA=solicit 强制启动 DHCPv6 流程。

    Openwrt的客户端并不会带上 RapidCommit,所以没有啥问题。

    `,79),w=[k];function D(A,C){return e(),n("div",null,w)}const N=s(x,[["render",D],["__file","index.html.vue"]]),T=JSON.parse('{"path":"/service/network/ipv6/","title":"校内 IPv6 设置教程","lang":"zh-CN","frontmatter":{},"headers":[{"level":2,"title":"IPv6 桥接","slug":"ipv6-桥接","link":"#ipv6-桥接","children":[]},{"level":2,"title":"IPv6 NAT ©️ 戴郭轶","slug":"ipv6-nat-©️-戴郭轶","link":"#ipv6-nat-©️-戴郭轶","children":[]}],"git":{"updatedTime":1711289314000,"contributors":[{"name":"liziwl","email":"leezisy@gmail.com","commits":3},{"name":"ntdgy","email":"ntdgy2001@gmail.com","commits":2},{"name":"DreamWalkerXZ","email":"dreamwalkerxz@outlook.com","commits":1},{"name":"yuki","email":"chenjf2020@mail.sustech.edu.cn","commits":1}]},"filePathRelative":"service/network/ipv6/README.md"}');export{N as comp,T as data}; diff --git a/assets/index.html-DC28O9ym.js b/assets/index.html-DC28O9ym.js new file mode 100644 index 000000000..2a05de04a --- /dev/null +++ b/assets/index.html-DC28O9ym.js @@ -0,0 +1 @@ +import{_ as e,o as a,c as r,e as t}from"./app-CAXKJsZK.js";const o={},c=t('

    eduroam(学术网路漫游)

    eduroam(education roaming) 是专为科研和教育机构开发的安全的环球跨域无线漫游认证服务,目前已覆盖全球八十余个国家和地区的超过6000家科研机构和教育机构。加入 Eduroam 联盟的机构成员可使用本机构提供的合法账号,在全球已加入 Eduroam 联盟的机构内实现无线网络访问的无障碍漫游。

    注册

    http://eduroam.user.sustech.edu.cn

    配置

    • 用户名(身份):xxxx@sustech.edu.cn (教职工) / your_studentID@mail.sustech.edu.cn (学生)
    • 密码:eduroam系统登录密码(非CAS登录密码)
    • 加密类型:802.1x / EAP协议
    • EAP方法:PEAP
    • 阶段2身份验证:MSCHAPv2
    • CA证书:不验证
    ',6),i=[c];function n(d,l){return a(),r("div",null,i)}const u=e(o,[["render",n],["__file","index.html.vue"]]),m=JSON.parse('{"path":"/service/network/eduroam/","title":"eduroam(学术网路漫游)","lang":"zh-CN","frontmatter":{},"headers":[{"level":2,"title":"注册","slug":"注册","link":"#注册","children":[]},{"level":2,"title":"配置","slug":"配置","link":"#配置","children":[]}],"git":{"updatedTime":1638418660000,"contributors":[{"name":"liziwl","email":"leezisy@gmail.com","commits":1},{"name":"sparkcyf","email":"spark@cra.ac.cn","commits":1}]},"filePathRelative":"service/network/eduroam/README.md"}');export{u as comp,m as data}; diff --git a/assets/index.html-DISSKEos.js b/assets/index.html-DISSKEos.js new file mode 100644 index 000000000..5278e99d8 --- /dev/null +++ b/assets/index.html-DISSKEos.js @@ -0,0 +1 @@ +import{_ as l,r,o as a,c as i,b as e,d as t,a as p,w as c,e as s}from"./app-CAXKJsZK.js";const d="/assets/unifound-home-rBmX145C.png",o="/assets/print-DqQaGmJs.png",g="/assets/print-1-DfCYcH5_.jpeg",m="/assets/print-2-Cbx41LOh.jpeg",h="/assets/print-3-CKmi9PAI.jpeg",x="/assets/print-4-Di5NCfSn.jpeg",y="/assets/print-5-CNPl7qOK.jpeg",_="/assets/copy-1-nqTdeykV.jpeg",f="/assets/copy-2-D_R9Obwy.jpeg",u="/assets/copy-3-J79w5Ux4.jpeg",A="/assets/copy-4-DDeZHfXy.jpeg",b="/assets/copy-5-CEqS1KpL.jpeg",k="/assets/pms-p1-eqxxGdw1.png",j="/assets/pms-p2-7MDb827_.png",v="/assets/pms-p3-CWfAqRyx.png",C="/assets/pms-p4-bgoGqdWr.png",D="/assets/pms-p4-bgoGqdWr.png",q="/assets/pms-p6-FmsP1SCy.png",N="/assets/pms-p7-Nj4D-gUZ.png",w="/assets/pms-p8-Ck82D-lU.png",E="/assets/unifound-1-f2X05JVa.jpeg",S="/assets/unifound-2-0opEHAe1.jpeg",B="/assets/unifound-3-0bWF37vv.jpeg",O="/assets/unifound-4-zViyGVqK.png",R="/assets/unifound-5-DH-O3cXN.jpeg",V="/assets/unifound-6-CiU2H6oB.jpeg",W="/assets/unifound-7-1w-KmnhE.jpeg",G="/assets/unifound-8-Gnjm8OFa.jpeg",H="/assets/unifound-9-WerpZ3uH.jpeg",K="/assets/unifound-10-CeATjA_N.png",P="/assets/scan-2-0-oUvCfvlO.jpeg",U="/assets/scan-2-1-DmdIErhO.jpeg",F="/assets/scan-2-4-BKK06R0O.jpeg",J={},X=s('

    🖨️联创打印系统

    学校在校园各处通过联创打印系统为同学提供打印,复印及扫描服务。

    报障

    若打印机出现故障或缺纸,可以通过拨打信息中心电话88010777报障。

    打印/复印一体机地点

    提示: 前去打印前可提前在「打印点」页面(内网)确认打印点可用状态。

    名称纸质功能
    琳恩图书馆一楼彩色A4 打印,复印,扫描,支持彩色
    琳恩图书馆三楼彩色A4打印,复印,扫描,支持彩色
    第一教学楼二楼彩色A4 打印,复印,扫描,支持彩色
    第一科研楼二楼彩色A4 打印,复印,扫描,支持彩色
    第一科研楼三楼黑白A4打印,复印,扫描,
    第二科研楼四楼彩色A4打印,复印,扫描,支持彩色
    第二科研楼四楼黑白A4、A3打印,复印,扫描,
    第二科研楼五楼彩色A4打印,复印,扫描,支持彩色
    生物楼(第三科研楼)一楼彩色A4、A3打印,复印,扫描,支持彩色
    台州楼(第四科研楼)一楼黑白A4、A3打印,复印,扫描,
    一丹图书馆一楼黑白A4、A3打印,复印,扫描,
    一丹图书馆二楼黑白A4、A3打印,复印,扫描,
    一丹图书馆二楼彩色A4、A3打印,复印,扫描,支持彩色
    书院1栋大厅彩色A4打印,复印,扫描,支持彩色
    书院2栋大厅黑白A4打印,复印,扫描,
    书院3栋大厅彩色A4打印,复印,扫描,支持彩色
    书院3栋大厅黑白A4打印,复印,扫描,
    新生宿舍11栋2楼A4打印,复印,扫描,支持彩色
    涵泳图书馆一楼彩色A4、A3打印,复印,扫描,支持彩色
    教师公寓三栋一楼A4打印,复印,扫描,支持彩色
    荔园1栋二楼彩色A4打印,复印,扫描,支持彩色
    荔园1栋二楼黑白A4打印,复印,扫描
    创园一栋三楼A4打印,复印,扫描,支持彩色
    创园五栋一楼黑白A4打印,复印,扫描,
    创园七栋一楼黑白A4打印,复印,扫描,
    创园九栋一楼彩色A4打印,复印,扫描,支持彩色
    慧园1栋二楼彩色A4打印,复印,扫描,支持彩色
    慧园5栋三楼黑白A4、A3打印,复印,扫描,
    欣园二栋活动室一楼彩色A4打印,复印,扫描,支持彩色
    欣园四栋一楼彩色A4打印,复印,扫描,支持彩色
    ',7),L=e("a",{href:"http://pms.sustech.edu.cn/client/new/cprintPc/printDev.html",target:"_blank",rel:"noopener noreferrer"},"联创打印系统",-1),T=s('

    虽然在打印系统上显示支持A3纸张,但实际上这些打印机一般不会装载A3纸张,也就无法打印出A3幅面的文档了。

    打印教程

    通过浏览器

    (适用于大多数操作系统)

    用浏览器打开联创网页:http://pms.sustech.edu.cn,如果打不开可尝试http://172.18.1.141

    提示pms.sustech.edu.cn这个域名只在学校内网的DNS服务器(172.18.1.92172.18.1.93)上提供(因为它不是一个fully qualified domain name,不会被公共的DNS服务器所收录)。如果哪天突然发现http://pms.sustech.edu.cn打不开了但是http://172.18.1.141可以打开,可以考虑检查一下自己电脑是否采用了学校内网的DNS服务器。

    点击云打印,登陆账户,按照提示操作。

    Home

    print

    通过本地程序

    仅限Windows系统

    1. 在云打印主页下载驱动程序并安装:下载链接(内网)

    2. 在电脑中找到所需打印的文档,然后点击右键选择打印;按照系统要求操作即可,操作完毕后可以在打印文档列表中找到该文档。

    1. 前往打印点打印文件:点击自助打印,转换页面后在感应区放置校园卡(若打印多张需多次放置)即可到打印机旁等待任务完成,取走文件。

    初始界面

    打印初始界面

    打印确认(多个任务需重复刷卡)

    打印成功界面

    复印教程

    1. 携带校园卡及所需打印文件至打印点;
    2. 点击自助复印,转换页面后在感应区放置校园卡,然后到打印机电子版面进行操作。

    1. 点击快速复印图标进入如下页面可对复印进行编辑,其中其他栏中包括缩小放大,双面复印,多合一等功能,在这里不做过多介绍,大家可以自行尝试。

    复印初始界面

    1. 点击开始按键即可开始复印(注意:如若需要正反扫描,或是多合一时要在第一张扫描完成且屏幕上方弹出提示窗口后对文件进行手动翻面并再次点击开始图标)。

    其他栏

    双面(正反面复印)

    多合一(将所需复印的多面文件复印至单面)

    1. 注意:在放置文件时,若是A4大小,请不要超过扫描机上方刻度的A4线位置,否则超出部分将无法被扫描并复印。

    扫描教程

    理光 Ricoh 机型

    由 冯晨曦 贡献 2022年4月2日

    施乐 Xerox/佳能 Canon机型

    由 郭欣格 贡献

    1. 刷卡

    2. 点击机器上的 扫描仪,进入扫描界面

    3. 如果出来的是这个让人看起来就很绝望想把机器砸了的界面

      先冷静一下,点击右边的 简单画面

      然后就会变得很友好了:

    4. 清晰度设置

      点击左上角的 扫描设置,设置扫描清晰度,一般直接设成最高(600dpi):

    5. 设置文件类型

      点击左下角的 文件类型

      • 单页:扫描结果会变成每份只有一面内容的 pdf 上传
      • 多页:扫描结果会合并成一个多面的 pdf 上传
      • 文件类型:根据需要
      • PDF 文件设置:有兴趣的可以自行百度,一般用不上,不需要设置
    6. 设置文件上传位置

      文件夹 → SCAN

      文件会保存在你刷的校园卡的联创里,如图:

      亦可选择直接发到自己的邮箱中,不过需要先再点击一开始的 简单模式,进入设置界面:

      选择 手动输入,输入自己的邮箱

    7. 点击机器上的开始

    8. 结束扫描

      需先点击 # 键,再刷卡退出

    富士 Fujifilm机型

    1.携带校园卡及所需扫描文件至打印点;

    2.点击自助扫描,转换页面后在感应区放置校园卡,然后到打印机电子版面进行操作。

    扫描准备页面

    3.点击快速扫描图标进入如下页面,点击目的地进行接收地址填写

    初始页面

    4.地址填写:选择本地文件夹(扫描仪的邮件发送系统已失效)。

    确认页面

    6.页面转跳后进入初始页面,并可看到将要接收扫描邮件的电子邮箱。在此页面可设置扫描参数,并可继续添加电子邮件地址。确认无误后点击开始按键即开始扫描。

    参考资料

    ',57);function z(M,Z){const n=r("RouteLink");return a(),i("div",null,[X,e("p",null,[t("数据来自"),L,t("。这些打印点的详细地图可以参考"),p(n,{to:"/#%E6%A0%A1%E5%9B%AD%E5%9C%B0%E5%9B%BE"},{default:c(()=>[t("校园地图")]),_:1}),t("。")]),T])}const Y=l(J,[["render",z],["__file","index.html.vue"]]),Q=JSON.parse('{"path":"/service/unifound/","title":"🖨️联创打印系统","lang":"zh-CN","frontmatter":{"sidebar":"auto"},"headers":[{"level":3,"title":"报障","slug":"报障","link":"#报障","children":[]},{"level":2,"title":"打印/复印一体机地点","slug":"打印-复印一体机地点","link":"#打印-复印一体机地点","children":[]},{"level":2,"title":"打印教程","slug":"打印教程","link":"#打印教程","children":[{"level":3,"title":"通过浏览器","slug":"通过浏览器","link":"#通过浏览器","children":[]},{"level":3,"title":"通过本地程序","slug":"通过本地程序","link":"#通过本地程序","children":[]}]},{"level":2,"title":"复印教程","slug":"复印教程","link":"#复印教程","children":[]},{"level":2,"title":"扫描教程","slug":"扫描教程","link":"#扫描教程","children":[{"level":3,"title":"理光 Ricoh 机型","slug":"理光-ricoh-机型","link":"#理光-ricoh-机型","children":[]},{"level":3,"title":"施乐 Xerox/佳能 Canon机型","slug":"施乐-xerox-佳能-canon机型","link":"#施乐-xerox-佳能-canon机型","children":[]},{"level":3,"title":"富士 Fujifilm机型","slug":"富士-fujifilm机型","link":"#富士-fujifilm机型","children":[]}]},{"level":2,"title":"参考资料","slug":"参考资料","link":"#参考资料","children":[]}],"git":{"updatedTime":1648888562000,"contributors":[{"name":"liziwl","email":"leezisy@gmail.com","commits":5},{"name":"sparkcyf","email":"sparktour@outlook.com","commits":5},{"name":"Neko Null","email":"jerrylu.mail@qq.com","commits":3},{"name":"JackyWangMislantiaJnirvana","email":"wmjwld@live.cn","commits":1}]},"filePathRelative":"service/unifound/README.md"}');export{Y as comp,Q as data}; diff --git a/assets/index.html-DIv-Ebu7.js b/assets/index.html-DIv-Ebu7.js new file mode 100644 index 000000000..333ab323a --- /dev/null +++ b/assets/index.html-DIv-Ebu7.js @@ -0,0 +1 @@ +import{_ as r,r as s,o as a,c as i,b as e,d as t,a as l,w as d,e as c}from"./app-CAXKJsZK.js";const m={},g=c('

    📺媒体与网站

    官方媒体

    校级

    名称网址/微信号二维码
    南方科技大学主页https://sustech.edu.cn
    南方科技大学Bilibilihttps://space.bilibili.com/330683960
    南方科技大学Twitterhttps://twitter.com/sustechsz
    南方科技大学Facebookhttps://www.facebook.com/SUSTechSZ/
    南方科技大学微信公众号SUSTech14325

    院、系、部门级

    名称网址/微信号二维码
    南科大团委SUSTech_Youth
    南科大研究生SUSTechGRAD
    南科大理学院gh_7cd0accb5726
    南科大工学院SUSTech_CoE
    南科大医学院SUSTech_Med
    南科大商学院cobsustech
    南科大创新创业学院SUSTech_iCollege
    南科人文gh_dfe75a665840
    南科大计算机系SUSTech-CSE
    南科大电子系sustc_ee
    南科大校友会gh_292ed725cdfc

    书院

    名称网址/微信号二维码
    致仁书院gh_67d6ddcf1965
    树仁书院gh_d955765a8692
    致诚书院SUSTech_ZhiCheng
    树德书院sustc_shude
    树礼书院SUSTCsl
    致新书院SUSTech_zhixin

    信息类公众号

    名称网址/微信号二维码
    南方科技大学图书馆SUSTechLib
    南科大语言中心SUSTechCLESUSTechCLE
    南方科技大学教学信息平台SUSTech_TAO
    南科大招生gotosustech
    南科大学生事务中心gh_5f30bf8a4656
    南科大就业指导中心SUSTech_careercenter
    南科大国际合作部gh_dd1dfb00b9db
    南科大行政服务中心Sustech-ASC
    南科大总务君campusoperation

    学生组织与社团

    名称网址/微信号二维码
    南科大信息平台(学生会)SUSTC_Info
    南科新知(新闻社)gh_db61459fa255
    南科大义工联SUSTech_Volunteers

    自媒体

    南科十年:非官方的创作与声音

    微信公众号

    名称微信号介绍二维码
    串串科技mo_mo_da_mua串串是南科大史上第一位卖串转型成网红的号主,“站对了风口,母猪都能吹起来”诚不我欺。2017年成绩惊人,其代表性推送多次被某院士(的朋友圈)引用,不愧为南科大新媒体界之标杆。
    千字纹yuancg27用可能错误的观点,可能真诚的态度,以及可能笨拙的书写,对抗可能无意义的生命。
    少爷和陈老师gh_907391e11ad8(院长的)个人习作练习本
    你科周末joydiet扎根妮可的野生周末菌。
    南科先知gh_189f9ac8413e在这里读懂南科。
    南科每日见闻sustechdailynews南科每日见闻致力于打造南科大洋葱新闻的频道,读者却发现里面大实话比假新闻还多,感人至深。
    LGBT在南科SUSTC_LGBT把LGBT在南科分享到南科大家长群,家长马上就不愿意了:“南科大这么多同性恋?还得开个号?”他们实在是跟不上潮流了,家长就该知道,这个公众号的粉丝里,腐女比基佬还多!
    南科大表白墙gh_6fe1a8d532fa有些人没人爱,只能去南科大表白墙给心爱的人表白。一看这阅读量,你说一没人爱的表白墙,你还指望它保佑你?
    南科数据SUSTech-data南科数据用7个人的工作量,完成了串串1个人的推文效果;调查了南科大三千人的生活数据,获得了一百来个阅读量。
    MH的情诗gh_56faa346030cMH的情诗从来没有写过情诗,都是他自己写给自己的,蛮不容易的小伙子,里面有自拍,赏脸进去找找吧。
    BelleEaubelleeauBelleEau用了个法语名字,在这么多表里不一的公众号群体里,这是难得的名字和内容如此一致的,都像靡靡之音。这个法语名字音译成白露,太矫情,就该叫:水得漂亮。顺便一提,目前的公众号文章作者叫做枫丹
    StudioGlorirestudiogloireStudioGloire见证了冯小漠从白手起家到过气网红的宝贵青春年华。难得的一个坚守文字气息没有蹭热度的公众号,然后果然也没啥人看。
    双层gh_2b62fead6a8a双层是鹏总的一个小号,听说是他在某报社做新媒体时练手用的。鹏总有花不完的钱,用不完的公众号,幸好女朋友只有一个。
    铮锋媒体工作室Incisive_Blade_Media铮锋是南科大所有自媒体的爸爸,当然,爸爸上了年纪之后,之所以能当爸爸,并不是因为说话精彩,也不是因为人气旺,纯粹就是因为年纪大而已。
    揽雀尾HaggittLee揽雀尾记录的是南科大黑帮文化核心人物李岩松的发家史,最近没怎么看见更新,要么是他又在忙着发家,要么是我取关了。
    张废椅BigHwa2333南科大的文艺公众号有两种:蹭热度涨粉丝,不要脸的;要脸有原则,曲高和寡的。张废椅是第三种,不要脸也没粉丝的,的确是一张废椅了。
    蠢的猫meowumeow蠢的猫是钉总做影评的号,影评号有写得比电影好看的,有文章蹭电影热度的,而这个号有人关注,纯粹因为名字有猫。
    ShiwoHShiwo_H当代艺术很难理解:可以放个小便池,叫装置艺术品;劈开一字马写毛笔字,成了大师;公众号一年一更,还特有道理,说“这儿啥都没有”。
    草莓味大侠gh_3b8708014fed不要关注草莓味大侠,因为这个公众号号主对待推文如对待qq空间的说说一样。当然,评论区也是这样。别浪费时间了。
    巧克力琼脂gh_1f42309c3eee巧克力琼脂发挥强大的文言文功底,全文分析了著名的《诸葛亮骂死王司徒》,成功把已经红遍大江南北的名文又搞冷场了。
    徵羽zy170504徵羽 非常有 成为一个诗人 的潜质 特别是喜欢 把一段话 分行
    没有墨水myms-wanan微信公众号服务能有力地推进文化大发展大繁荣,什么小学生作文都能往上放。
    FishmanInFishlandgh_b13ae4ee27dfFISH是一个行为艺术家,曾经他想做一个“一夜蹿红”的行为艺术,没成功,后来他要做一个“退出江湖”。成功了。
    二十七号病床gh_f9504b1ff650一个曾经做日历失败了,然后转行做3D打印硬糖的老板娘…
    只允许含有中文英文数字gh_624f22da5bd3如果一个公众号的关注量有负数,那么一定属于一个讲数学问题的公众号。
    Scheddi的小世界gh_71b51070297a这位德语名字的小世界,一直在等待插图,这是个小到没有插图的世界。
    过饱和醋酸钠溶液supersaturatedNaAc过饱和醋酸钠是一种没有醋酸的酸味,也没有别的钠盐好用的东西。说明至少有一个优点,就是对自己的号定位准确。
    南科危废wefailed它就像它的微信号说的那样。
    川哥沙雕搬运shadiaochuan这是一个不定期搬运沙雕图、推荐电影、甚至小编还会自掏腰包请大家免费听歌的公众号。
    黑色肥肠HSFC1997喜欢在寂寥无人、蠢蠢欲动的夜晚进行一些单身狗式的过度思考。
    啵闻sustechbowen知道了自己保研消息的博姥爷干了两件事情:一个是感谢自己的导师,还有一个是开了这个公众号吹牛。看着啵宝就像看时尚杂志——月入5k的人,教月入2k的人怎么过月入2w的生活。
    南科周末DeltaLeo南科周末正在努力学习UC浏览器的技术,特别是如何不要脸地抄袭别人的头条。

    网站

    ',18);function o(x,h){const n=s("RouteLink");return a(),i("div",null,[g,e("p",null,[e("em",null,[t("欲查看其他服务网站,请参见"),l(n,{to:"/service/"},{default:d(()=>[t("服务")]),_:1}),t("一节。")])])])}const y=r(m,[["render",o],["__file","index.html.vue"]]),q=JSON.parse('{"path":"/media/","title":"📺媒体与网站","lang":"zh-CN","frontmatter":{},"headers":[{"level":2,"title":"官方媒体","slug":"官方媒体","link":"#官方媒体","children":[{"level":3,"title":"校级","slug":"校级","link":"#校级","children":[]},{"level":3,"title":"院、系、部门级","slug":"院、系、部门级","link":"#院、系、部门级","children":[]},{"level":3,"title":"书院","slug":"书院","link":"#书院","children":[]},{"level":3,"title":"信息类公众号","slug":"信息类公众号","link":"#信息类公众号","children":[]},{"level":3,"title":"学生组织与社团","slug":"学生组织与社团","link":"#学生组织与社团","children":[]}]},{"level":2,"title":"自媒体","slug":"自媒体","link":"#自媒体","children":[{"level":3,"title":"微信公众号","slug":"微信公众号","link":"#微信公众号","children":[]}]},{"level":2,"title":"网站","slug":"网站","link":"#网站","children":[]}],"git":{"updatedTime":1709606105000,"contributors":[{"name":"sparkcyf","email":"sparktour@outlook.com","commits":9},{"name":"liziwl","email":"leezisy@gmail.com","commits":6},{"name":"Ziqiang Li","email":"leezisy@gmail.com","commits":2},{"name":"OSA","email":"osa@sustech.edu.cn","commits":1},{"name":"QuanQuan-CHO","email":"12011619@mail.sustech.edu.cn","commits":1},{"name":"Shilong Li","email":"47763046+lethal233@users.noreply.github.com","commits":1},{"name":"nankeyilu","email":"nankeyilu@protonmail.com","commits":1},{"name":"xciphand","email":"3070073429@qq.com","commits":1}]},"filePathRelative":"media/README.md"}');export{y as comp,q as data}; diff --git a/assets/index.html-DLqRK9Z0.js b/assets/index.html-DLqRK9Z0.js new file mode 100644 index 000000000..2521b6314 --- /dev/null +++ b/assets/index.html-DLqRK9Z0.js @@ -0,0 +1 @@ +import{_ as l,r as n,o,c as p,b as t,a,w as e,d,e as s}from"./app-CAXKJsZK.js";const c="/assets/interior-ohhk0qCC.jpg",m={},u=t("h1",{id:"🏠住在南科",tabindex:"-1"},[t("a",{class:"header-anchor",href:"#🏠住在南科"},[t("span",null,"🏠住在南科")])],-1),f={class:"table-of-contents"},_=t("h2",{id:"宿舍平面图",tabindex:"-1"},[t("a",{class:"header-anchor",href:"#宿舍平面图"},[t("span",null,"宿舍平面图")])],-1),g=s('

    宿舍分配

    提示

    学校每年的宿舍分配情况均有细微变化,本表格更新于2024年秋季。

    宿舍地理位置

    欣园地理位置最高,二期宿舍次之,湖畔最接近山下教学区。

    本科生

    本科生可能被分配至:

    宿舍几人间床/桌形式卫浴电梯楼层备注
    湖畔1栋4上床下桌独立,蹲厕62014年建设
    湖畔2栋4上床下桌独立,蹲厕62014年建设
    湖畔3栋4上床下桌独立,蹲厕62014年建设
    二期11栋4上床下桌公共,坐厕172019年建设
    二期13栋4上床下桌公共,坐厕82019年建设
    二期14栋4上床下桌公共,坐厕92019年建设
    二期15栋4上床下桌公共,坐厕82019年建设
    二期16栋4上床下桌公共,坐厕92019年建设
    荔园4栋4上床下桌独立,蹲厕62017年改造(原为厂房)
    荔园6栋5矮床独立,坐厕62024年改的五人间,先前为机房
    荔园8栋4/5上床下桌(4)/矮床(5)独立,蹲厕72017年改造(原为厂房)

    宿舍面积比较

    荔园5人间 > 荔园4人间 > 湖畔 > 二期宿舍

    研究生

    研究生可能被分配至:

    宿舍几人间床/桌形式卫浴电梯楼层备注
    湖畔4栋2上床下桌/矮床独立,蹲厕72014年建设,曾为本科生宿舍
    湖畔5栋2上床下桌/矮床独立,蹲厕92014年建设,曾为本科生宿舍
    湖畔6栋2上床下桌/矮床独立,蹲厕72014年建设,曾为本科生宿舍
    二期7栋1/2(单改双)矮床/上床下桌(单改双,大房间)/上下床+两个桌子(单改双,小房间)独立,坐厕82019年建设
    二期8栋1/2(单改双)矮床/上床下桌(单改双,大房间)/上下床+两个桌子(单改双,小房间)独立,坐厕72019年建设
    二期9栋1/2(单改双)矮床/上床下桌(单改双,大房间)/上下床+两个桌子(单改双,小房间)独立,坐厕182019年建设
    二期10栋1/2(单改双)矮床/上床下桌(单改双,大房间)/上下床+两个桌子(单改双,小房间)独立,坐厕252019年建设
    二期12栋2矮床独立,坐厕,卫浴分开182019年建设
    二期17栋2矮床独立,坐厕,卫浴分开142019年建设
    荔园6栋3矮床独立,蹲厕72017年改造(原为厂房),曾为本科生宿舍
    荔园7栋3矮床独立,蹲厕72017年改造(原为厂房),曾为本科生宿舍
    荔园8栋3矮床独立,蹲厕72017年改造(原为厂房),曾为本科生宿舍
    欣园1栋4上床下桌独立,坐厕42017年改造(原为厂房),曾为本科生宿舍
    欣园2栋4上床下桌独立,坐厕42017年改造(原为厂房),曾为本科生宿舍
    欣园3栋4上床下桌独立,坐厕42017年改造(原为厂房),曾为本科生宿舍
    集悦城1/2矮床(单人间)/上床下桌(双人间)独立,坐厕4学校租赁

    宿舍面积比较

    欣园4人间 > 荔园3人间 > 二期12/17栋 > 二期7/8/9/10大房间 > 二期7/8/9/10小房间

    集悦城面积未知

    2021年前的信息(仅供参考)

    本节部分由树德书院学长团提供。

    ',18),b=s('

    概况

    大一新生将会统一入住二期宿舍11栋(新生楼),它位于湖畔与荔园之间。

    宿舍共17层楼,每层楼22个房间,每一间住4名学生,配置为上床下桌。宿舍的床尺寸是2050mm*1000mm,可以作为买床单、被子、蚊帐的参考。

    设施

    宿舍内部 一间典型的新生楼宿舍内景

    储物柜

    分为衣柜(橘黄色的柜子)、两床间共享的阶梯型储物柜(内部分为小隔间,最下面可以放一个大行李箱)、鞋柜、鞋柜上面还有一个储物柜(分成两格)。

    用电器

    室内空调(冷热兼有)、电风扇(两个)注意室内不允许用大功率用电器哦, 比如锅、吹风机、卷发棒等(可以去洗漱间用, 配有公共的吹风机),还建议买一个电插板。

    公共设施

    公共卫生间、公共浴室(单间的)、公共洗衣房(在2楼,男女生洗衣机与甩干机分开使用)、晾衣房(可以买个晾衣杆哦)、饮水机、冰箱(放入冰箱内的食物需要进行登记, 如果食物坏掉, 宿管阿姨会直接扔掉)、活动室(吃饭休息、看书、聊天都行)、微波炉(热夜宵,注意用电安全哦)、垃圾桶(洗漱的地方有一个大垃圾桶, 但是不要把宿舍里面的垃圾袋直接扔进去哦)。

    宿舍公约

    是分好宿舍后和舍友们一起制定的一些条约, 比如几点熄灯, 怎么打扫卫生,倒垃圾等相关事宜, 一个好的宿舍公约可以让宿舍更加的温馨整洁哦。

    宿舍生活上的其他问题

    怎么对付蚊子?

    1. 物理防御——蚊帐。蚊帐不但可以防蚊,还可以营造一小片私人空间
    2. 化学防御——无比滴,驱蚊花露水
    3. 物理伤害——苍蝇拍,电蚊拍,巴掌
    4. 化学伤害——杀虫剂(不建议使用电蚊香)

    杀虫剂

    深圳4、5月份的蟑螂最多,但其他时候也可能会在宿舍遇见。北方来的小朋友很有可能被突然窜出来的小强吓到(北方来的学姐深有体会)。用字典拍死绝对不是处理蟑螂的最好方法,因为这样你会:

    成功牺牲一部字典并将在未来邂逅更多蟑螂(因为蟑螂尾部有卵荚,拍扁蟑螂会使蟑螂卵遗留在宿舍各处)

    所以,最好的办法就是用杀虫剂/气雾剂灭掉它,购买蟑螂屋物理粘附也可以。

    洗洁精,洁厕灵,洗手液等

    为了避免出现吃完饭发现没有洗洁精的情况,建议大家来到学校后抽个时间和室友一起把这些必备的清洁物品买齐。

    警告

    84消毒液不能和洁厕灵一起用!!!高中化学第7题做过嗷!!

    除湿袋

    深圳天气非常潮湿,如果不做好除湿工作又连逢阴雨天,被子和衣服都会变的湿漉漉的。因此建议在床头和衣柜里都挂上除湿袋。如果条件允许,也可以宿舍一同购买除湿器。

    烘干器

    不需要买很贵的,200r左右即可。

    深圳阴雨天气较多,一些内衣遇到阴天较难干,被子、鞋子等也不方便使用公共烘干机,所以条件允许的话在宿舍有一个烘干机会带来许多方便。

    雨伞,雨衣

    深圳的天气变幻莫测,尤其在夏季,一会儿烈日当空,一会儿突降暴雨。建议准备晴雨伞,防晒又防雨。总之时刻拿着一把伞总是没有错的, 晒了撑着, 下雨也撑着。

    ',30),x={id:"防晒",tabindex:"-1"},v={class:"header-anchor",href:"#防晒"},k=s('

    深圳太太太太热了,紫外线也很强,一年中有7个月要穿短袖。所以不做好防晒工作的话,很容易就晒黑了。(尤其是胳膊上会有明显的黑白分界)。

    物业

    提示

    24小时物业电话 88015047

    校内物业很给力。但需要和物业约时间,以保证工作人员来修理时宿舍内有人陪同

    书立,文件夹

    随着学习的深入,做过的作业、quiz以及其他书本会越来越多,若不加以收拾,书桌总是乱糟糟的。如果用文件夹把做过的作业和quiz收拾起来,再用书立把每门课的资料分开,桌面会清爽有序很多。

    怎么洗衣服洗鞋

    宿舍楼下会有洗衣房,洗衣烘干洗鞋全部承包!你需要的只是:

    1. 微信公众号关注“海尔洗衣”(洗衣房里会有二维码) 或者下载APP“海尔洗衣”
    2. 一个桶盆:装衣服。可以用记号笔写上名字或者房间号,防止拿错
    3. 洗衣液

    注意

    男女洗衣房不能混用;

    袜子、内衣只能自己洗,不能放洗衣机哦!

    空间利用的小建议

    使用床头挂篮储物

    使用床头挂篮储物

    充分利用书柜

    充分利用书柜

    健忘症必备神器

    健忘症必备神器

    ',17);function y(w,N){const r=n("router-link"),h=n("RouteLink"),i=n("Badge");return o(),p("div",null,[u,t("nav",f,[t("ul",null,[t("li",null,[a(r,{to:"#宿舍平面图"},{default:e(()=>[d("宿舍平面图")]),_:1})]),t("li",null,[a(r,{to:"#宿舍分配"},{default:e(()=>[d("宿舍分配")]),_:1}),t("ul",null,[t("li",null,[a(r,{to:"#宿舍地理位置"},{default:e(()=>[d("宿舍地理位置")]),_:1})]),t("li",null,[a(r,{to:"#本科生"},{default:e(()=>[d("本科生")]),_:1})]),t("li",null,[a(r,{to:"#研究生"},{default:e(()=>[d("研究生")]),_:1})])])]),t("li",null,[a(r,{to:"#_2021年前的信息-仅供参考"},{default:e(()=>[d("2021年前的信息(仅供参考)")]),_:1})])])]),_,t("p",null,[d("包含湖畔,荔园,欣园宿舍的楼层平面图,"),a(h,{to:"/life/dormitory/dorm-floor-plan.html"},{default:e(()=>[d("请至此页面查看")]),_:1}),d("。")]),g,t("blockquote",null,[b,t("h3",x,[t("a",v,[t("span",null,[d("防晒"),a(i,{text:"这一条主要是给妹子们看的",type:"tip"})])])]),k])])}const z=l(m,[["render",y],["__file","index.html.vue"]]),B=JSON.parse('{"path":"/life/dormitory/","title":"🏠住在南科","lang":"zh-CN","frontmatter":{},"headers":[{"level":2,"title":"宿舍平面图","slug":"宿舍平面图","link":"#宿舍平面图","children":[]},{"level":2,"title":"宿舍分配","slug":"宿舍分配","link":"#宿舍分配","children":[{"level":3,"title":"宿舍地理位置","slug":"宿舍地理位置","link":"#宿舍地理位置","children":[]},{"level":3,"title":"本科生","slug":"本科生","link":"#本科生","children":[]},{"level":3,"title":"研究生","slug":"研究生","link":"#研究生","children":[]}]},{"level":2,"title":"2021年前的信息(仅供参考)","slug":"_2021年前的信息-仅供参考","link":"#_2021年前的信息-仅供参考","children":[]}],"git":{"updatedTime":1721642031000,"contributors":[{"name":"sparkcyf","email":"sparktour@outlook.com","commits":8},{"name":"liziwl","email":"leezisy@gmail.com","commits":1}]},"filePathRelative":"life/dormitory/README.md"}');export{z as comp,B as data}; diff --git a/assets/index.html-DMHzskEC.js b/assets/index.html-DMHzskEC.js new file mode 100644 index 000000000..80682ef91 --- /dev/null +++ b/assets/index.html-DMHzskEC.js @@ -0,0 +1 @@ +import{_ as s,r as n,o as c,c as r,a,w as i,d as t,b as e}from"./app-CAXKJsZK.js";const m={},_=e("h1",{id:"🍜饭堂服务",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#🍜饭堂服务"},[e("span",null,"🍜饭堂服务")])],-1),d=e("br",null,null,-1),u=e("br",null,null,-1),h=e("p",null,[t("功能更丰富的食堂服务小程序正在开发中,如果您想查看开发内容或者加入开发,请访问: "),e("a",{href:"https://github.com/SUSTeen-campus",target:"_blank",rel:"noopener noreferrer"},"SUSTeen-campus")],-1);function p(f,x){const o=n("Canteen"),l=n("ClientOnly");return c(),r("div",null,[_,a(l,null,{default:i(()=>[a(o)]),_:1}),d,t(" 上线伊始,如有问题欢迎及时反馈: "),u,t(" susteen-campus@outlook.com "),h])}const C=s(m,[["render",p],["__file","index.html.vue"]]),g=JSON.parse('{"path":"/canteen/","title":"🍜饭堂服务","lang":"zh-CN","frontmatter":{},"headers":[],"git":{"updatedTime":1705924880000,"contributors":[{"name":"Bill","email":"704317542@qq.com","commits":4},{"name":"liziwl","email":"leezisy@gmail.com","commits":1}]},"filePathRelative":"canteen/README.md"}');export{C as comp,g as data}; diff --git a/assets/index.html-DPFaczZw.js b/assets/index.html-DPFaczZw.js new file mode 100644 index 000000000..f2b62f445 --- /dev/null +++ b/assets/index.html-DPFaczZw.js @@ -0,0 +1,39 @@ +import{_ as r,r as p,o,c,b as a,a as s,w as t,d as n,e as i}from"./app-CAXKJsZK.js";const d={},u=a("h1",{id:"🌐网络与信息中心-its-sustech-edu-cn",tabindex:"-1"},[a("a",{class:"header-anchor",href:"#🌐网络与信息中心-its-sustech-edu-cn"},[a("span",null,"🌐网络与信息中心 (its@sustech.edu.cn)")])],-1),h={class:"table-of-contents"},k=i(`

    校内局域网

    南科大的校内局域网主要分为主要包含教学/科研/业务计算机的科研教学网段(172.18.0.0/16)和包含大部分师生员工的个人有线与无线设备的普通网段(10.16.0.0/13)。

    在普通网段中,10.20.0.0/1610.16.0.0/16为有线网段,10.22.0.0/16为电信自费宽带网段。

    学校为支持IPv6的设备分配前缀为2001:DA8:201D::/48的IPv6地址。(仅教育网可访问:SUSTC6-CERNET2)

    接入网络

    南科大师生员工无需为互联网服务付费(电信自费宽带除外)。设备获取的内网IP地址在遵循前述原则下与Mac地址绑定,在较长的时间内不会改变。

    网络接入管理地址:http://172.16.16.20:8900/home

    • MAC 无感知认证:为无法进行 Web 认证的设备,例如:Nintendo Switch,智能音箱,进行入网认证。
    • 查看上网设备
    • 查看上网记录

    有线网络

    接入学校有线网络暂时无需认证,接入电信自费宽带的有线网络时需要验证购买过套餐的同学的学号与密码。

    无线网络 (802.1x 认证)

    学校同时提供了基于802.1x的认证方式。

    注册

    https://wxrz.sustech.edu.cn/ (可能需要于校园网内访问),点击注册后使用CAS登陆,并跟随指引设置密码后即可登陆。

    配置
    • 用户名(身份):xxxx@sustech.edu.cn (教职工) / your_studentID@mail.sustech.edu.cn (学生)
    • 密码:eduroam系统登录密码(非CAS登录密码)
    • 加密类型:802.1x / EAP协议
    • EAP方法:PEAP
    • 阶段2身份验证:MSCHAPv2
    • CA证书:不验证 / Trust on first use

    无线网络 (Web Portal 认证)

    需要通过Web认证,输入学号与密码后才可上网,否则只能访问校内局域网,无线网络的认证地址为:http://172.16.16.20:803/sustc_cas.php

    如联网设备不支持通过Web进行验证(如路由器,开发板等),可以尝试使用同学制作的第三方脚本进行联网,或是更改可进行Web认证设备的Mac地址为不支持Web认证设备的Mac地址代为认证。

    同学制作的无线网络登陆脚本
    #!/bin/bash
    +source /etc/profile
    +set -e
    +curl https://cas.sustech.edu.cn/cas/login?service=http%3A%2F%2F172.16.16.20%3A803%2Fsustc_cas.php > a.txt
    +s=$(grep -o -E "on\\"\\ value=\\"(.+?)\\"" a.txt)
    +echo $s
    +s=\${s#*\\"}
    +s=\${s#*\\"}
    +s=\${s%%\\"*}
    +echo $s
    +unm=此处填入教/学工号
    +pwd=此处填入密码
    +curl "https://cas.sustech.edu.cn/cas/login?service=http%3A%2F%2F172.16.16.20%3A803%2Fsustc_cas.php" --data "username=$unm&password=$pwd&execution=$s&_eventId=submit&geolocation="
    +

    给路由器写了一个登录南科大校园网的脚本

    `,20),b={id:"湖畔宿舍区域的有线网络",tabindex:"-1"},m={class:"header-anchor",href:"#湖畔宿舍区域的有线网络"},v=i('

    湖畔区域墙上的网口仅能以百兆接入校园网。若需以千兆速度接入校园网,可使用AP上的网口接入校园网。AP上的网口仅能访问校园网内网,但不能访问校外网络

    其他有关网络的问题

    在路由器后获取IPv6地址

    使用dhcpclient时获取不到IPv6地址

    • 通常是因为学校的DHCPv6服务器不响应DHCPv6 Solicitation造成的。此问题常出现在安装Debian/Ubuntu(使用dhcpclient作为dhcp客户端的发行版中),如果希望快速解决,可以尝试讲dhcp客户端更改为dhcpcd

    互联网

    出口

    学校目前拥有4Gbps电信163出口带宽,2.5Gbps电信CN2出口带宽,以及1.5Gbps教育网出口带宽。https://biddingoffice.sustc.edu.cn/search/news/id/5085/pid学校信息中心会将访问境外网站的流量发往CN2出口,因此学校内访问境外网站的质量会显著高于普通电信网络。

    学校目前对普通网段设备不限速(Fair Use@Up to 1000Mbps),对科研教学网段限速50Mbps,对教育网IPv4限速20Mbps,暂不对教育网IPv6限速。

    ',10),g={id:"电信自费宽带",tabindex:"-1"},f={class:"header-anchor",href:"#电信自费宽带"},x=i(`

    注意

    由于学校已经放宽网络限速,电信宽带的性价比较低。建议参考湖畔宿舍区域的有线网络一节进行配置。

    中国电信为居住于湖畔宿舍区的同学提供自费电信宽带。

    宽带速率可选50Mbps和100Mbps。其中,100Mbps宽带和手机卡套餐的总价为70元/月。

    电信自费宽带也需要使用购买套餐同学的校园卡账户登录后才可使用,登陆方式为Web认证。也有同学制作了第三方脚本以方便快速验证。

    此处(PDF)是一份电信为南科大同学提供的学生卡套餐的具体内容(含流量与宿舍宽带)。

    同学制作的电信自费网络登陆脚本
    loginurl="https://cas.sustech.edu.cn/cas/login"
    +authip="219.134.142.194"
    +# Insert your CAS info below:
    +username="YOUR_USER_NAME_HERE"
    +password="YOUR_PASSWORD_HERE"
    +
    +while [ true ]
    +do
    +	ret_code=\`curl -I -s --connect-timeout 5 http://www.baidu.com -w %{http_code} | tail -n1\`
    +
    +	if [ $ret_code -ne 200 ] ; then
    +		echo "Attempting to log in the enet system"
    +		rm -f /tmp/cascookie
    +
    +		# You may need to modify the following regex for different distros.
    +		routerip=$(ifconfig | grep -A 1 "^eth0.2" | grep -P -o "(?<=inet addr:).*(?=  Bcast)")
    +		eneturl="http://125.88.59.131:10001/sz/sz112/index.jsp?wlanuserip=$routerip&wlanacip=$authip"
    +		execution=$(curl --silent --cookie-jar /tmp/cascookies -H "User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:71.0) Gecko/20100101 Firefox/71.0" -L "$eneturl"  | grep -o 'execution.*/><input type' | grep -o '[^"]\\{50,\\}')
    +
    +		curl --silent --output /dev/null --cookie /tmp/cascookies --cookie-jar /tmp/cascookies -H "Content-Type: application/x-www-form-urlencoded" -H "User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:71.0) Gecko/20100101 Firefox/71.0" -L -X POST "$loginurl" --data "username=$username&password=$password&execution=$execution&_eventId=submit&geolocation="
    +	else
    +		echo "Connected to Internet, recheck a second later"
    +	fi
    +	sleep 1s
    +done
    +

    NewbieOrange/SUSTech-EnetLogin

    信息中心

    信息中心老师的联系方式如下:

    岗位名称在岗人员名单联系方式
    主任杨海琨88010799
    副主任孙乔羽88010798
    运维管理管立生88010776
    综合保障刘敬、张炳坤88010780
    信息化管理郑善辉88010779
    招生信息化詹涵舒、韩少亮88010789
    教学信息化宋伟中88010788
    综合信息化朱朝阳88010775
    科技管理尹荣荣88010787
    项目管理陈毅88010726

    网络信息中心(页面即将停用)

    • 南科大信息中心沟通群:434226835

    我可以请求信息中心做什么?

    关于学校提供的更多信息服务,请见服务一节

    选择合适的电子产品

    校内网络使用技巧

    `,18),_={id:"同学自行运营的千兆网络加速服务",tabindex:"-1"},y={class:"header-anchor",href:"#同学自行运营的千兆网络加速服务"},w=a("div",{class:"hint-container tip"},[a("p",{class:"hint-container-title"},"提示"),a("p",null,[n("你是否在为湖畔无法使用有线网络,或是校园网游戏丢包而苦恼?现在订阅SUSTC IX,即可以低至30元每月的价格畅享高达1Gbps的电信宽带,性价比远超湖畔电信并保证家庭宽带级别的低丢包率,任何宿舍区域均可订购,可一对一提供安装及技术支持。详情请咨询:qq "),a("strong",null,"2353508907"),n(" 或邮件 "),a("a",{href:"mailto:mai.sakurajima.qwq@gmail.com?subject=SUSTC%20IX%E5%92%A8%E8%AF%A2",target:"_blank",rel:"noopener noreferrer"},"mai.sakurajima.qwq@gmail.com")])],-1);function q(E,A){const e=p("router-link"),l=p("Badge");return o(),c("div",null,[u,a("nav",h,[a("ul",null,[a("li",null,[s(e,{to:"#校内局域网"},{default:t(()=>[n("校内局域网")]),_:1}),a("ul",null,[a("li",null,[s(e,{to:"#接入网络"},{default:t(()=>[n("接入网络")]),_:1})]),a("li",null,[s(e,{to:"#其他有关网络的问题"},{default:t(()=>[n("其他有关网络的问题")]),_:1})])])]),a("li",null,[s(e,{to:"#互联网"},{default:t(()=>[n("互联网")]),_:1}),a("ul",null,[a("li",null,[s(e,{to:"#出口"},{default:t(()=>[n("出口")]),_:1})])])]),a("li",null,[s(e,{to:"#电信自费宽带"},{default:t(()=>[n("电信自费宽带"),s(l,{text:"不再推荐",type:"warning"})]),_:1})]),a("li",null,[s(e,{to:"#信息中心"},{default:t(()=>[n("信息中心")]),_:1})]),a("li",null,[s(e,{to:"#我可以请求信息中心做什么"},{default:t(()=>[n("我可以请求信息中心做什么?")]),_:1})]),a("li",null,[s(e,{to:"#选择合适的电子产品"},{default:t(()=>[n("选择合适的电子产品")]),_:1})]),a("li",null,[s(e,{to:"#校内网络使用技巧"},{default:t(()=>[n("校内网络使用技巧")]),_:1})]),a("li",null,[s(e,{to:"#同学自行运营的千兆网络加速服务"},{default:t(()=>[n("同学自行运营的千兆网络加速服务"),s(l,{text:"广告",type:"tip"})]),_:1})])])]),k,a("h4",b,[a("a",m,[a("span",null,[n("湖畔宿舍区域的有线网络"),s(l,{text:"需特别配置",type:"warning"})])])]),v,a("h2",g,[a("a",f,[a("span",null,[n("电信自费宽带"),s(l,{text:"不再推荐",type:"warning"})])])]),x,a("h2",_,[a("a",y,[a("span",null,[n("同学自行运营的千兆网络加速服务"),s(l,{text:"广告",type:"tip"})])])]),w])}const S=r(d,[["render",q],["__file","index.html.vue"]]),P=JSON.parse('{"path":"/service/network/","title":"🌐网络与信息中心 (its@sustech.edu.cn)","lang":"zh-CN","frontmatter":{"sidebar":"auto"},"headers":[{"level":2,"title":"校内局域网","slug":"校内局域网","link":"#校内局域网","children":[{"level":3,"title":"接入网络","slug":"接入网络","link":"#接入网络","children":[]},{"level":3,"title":"其他有关网络的问题","slug":"其他有关网络的问题","link":"#其他有关网络的问题","children":[]}]},{"level":2,"title":"互联网","slug":"互联网","link":"#互联网","children":[{"level":3,"title":"出口","slug":"出口","link":"#出口","children":[]}]},{"level":2,"title":"电信自费宽带","slug":"电信自费宽带","link":"#电信自费宽带","children":[]},{"level":2,"title":"信息中心","slug":"信息中心","link":"#信息中心","children":[]},{"level":2,"title":"我可以请求信息中心做什么?","slug":"我可以请求信息中心做什么","link":"#我可以请求信息中心做什么","children":[]},{"level":2,"title":"选择合适的电子产品","slug":"选择合适的电子产品","link":"#选择合适的电子产品","children":[]},{"level":2,"title":"校内网络使用技巧","slug":"校内网络使用技巧","link":"#校内网络使用技巧","children":[]},{"level":2,"title":"同学自行运营的千兆网络加速服务","slug":"同学自行运营的千兆网络加速服务","link":"#同学自行运营的千兆网络加速服务","children":[]}],"git":{"updatedTime":1721613868000,"contributors":[{"name":"sparkcyf","email":"sparktour@outlook.com","commits":14},{"name":"liziwl","email":"leezisy@gmail.com","commits":4},{"name":"Fros1er","email":"34234343+Fros1er@users.noreply.github.com","commits":1},{"name":"Neko Null","email":"jerrylu.mail@qq.com","commits":1},{"name":"Satori Komeiji","email":"126173295+satori-k@users.noreply.github.com","commits":1},{"name":"Ziqiang Li","email":"leezisy@gmail.com","commits":1},{"name":"yuki","email":"chenjf2020@mail.sustech.edu.cn","commits":1}]},"filePathRelative":"service/network/README.md"}');export{S as comp,P as data}; diff --git a/assets/index.html-Da0TzRGr.js b/assets/index.html-Da0TzRGr.js new file mode 100644 index 000000000..39a77df5b --- /dev/null +++ b/assets/index.html-Da0TzRGr.js @@ -0,0 +1 @@ +import{_ as s,o as t,c as n,b as e}from"./app-CAXKJsZK.js";const l={},o=e("h1",{id:"全景看校园",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#全景看校园"},[e("span",null,"全景看校园")])],-1),c=e("iframe",{allowfullscreen:"",src:"https://mirrors.sustech.edu.cn/site/sustech-online/panolens/night.html"},null,-1),r=e("iframe",{allowfullscreen:"",src:"https://mirrors.sustech.edu.cn/site/sustech-online/panolens/underhill.html"},null,-1),i=e("iframe",{allowfullscreen:"",src:"https://mirrors.sustech.edu.cn/site/sustech-online/panolens/lakeside.html"},null,-1),a=e("iframe",{allowfullscreen:"",src:"https://mirrors.sustech.edu.cn/site/sustech-online/panolens/liyuan.html"},null,-1),h=e("iframe",{allowfullscreen:"",src:"https://mirrors.sustech.edu.cn/site/sustech-online/panolens/huiyuan.html"},null,-1),u=e("iframe",{allowfullscreen:"",src:"https://mirrors.sustech.edu.cn/site/sustech-online/panolens/aoe.html"},null,-1),m=[o,c,r,i,a,h,u];function d(_,p){return t(),n("div",null,m)}const k=s(l,[["render",d],["__file","index.html.vue"]]),w=JSON.parse('{"path":"/facility/panolens/","title":"全景看校园","lang":"zh-CN","frontmatter":{},"headers":[],"git":{"updatedTime":1625151702000,"contributors":[{"name":"sparkcyf","email":"sparktour@outlook.com","commits":1}]},"filePathRelative":"facility/panolens/README.md"}');export{k as comp,w as data}; diff --git a/assets/index.html-DbtH2J2h.js b/assets/index.html-DbtH2J2h.js new file mode 100644 index 000000000..4dd6618c9 --- /dev/null +++ b/assets/index.html-DbtH2J2h.js @@ -0,0 +1 @@ +import{_ as l,o as i,c as a,e}from"./app-CAXKJsZK.js";const n="/assets/catering_map-n8_8spjq.jpg",h={},s=e('

    ☕️餐饮

    对于南科人来说,光顾得最频繁的餐厅当属校内食堂了。据不完全统计,只是学生食堂,每天就有4000+的客流量。出校吃饭的时间成本太昂贵,上课前下课后在食堂填饱空虚的胃是最好的选择。平心而论,南科大的伙食质量还是很OK的。价格也足够平民,正常情况下每餐成本可以控制在8-12元之间,很少有超过15元的。笔者在刚开学的时候爱上了食堂的肉末面,连着吃了一整个月。拉面,肉夹馍,小炒,白切鸡盖饭,夜宵特供麻辣烫,冬季限定小火锅……即使在平凡的食堂菜单中也能找到吃后可以感慨“人间值得”的好菜。

    ——南科新知:吃喝住行指南 | 新生攻略Vol.2

    南方科技大学餐饮地图

    校内餐厅

    第二学生餐厅

    二期学生宿舍9栋

    • 餐厅位置:二期学生宿舍9栋一层
    • 供应品种:大众菜系、水饺、风味面食
    • 营业时间:
      • 早餐:07:00-09:00
      • 午餐:11:00-13:00
      • 晚餐:17:00-19:00
      • 夜宵:19:00-22:00 (仅周一至周五开放)
    • 经理电话:崔经理 18898832662

    二期学生宿舍10栋

    • 餐厅位置:二期学生宿舍10栋一层、二层
    • 供应品种:大众菜系、早餐肠粉、风味汤粉、卤水套餐、西式套餐、夜宵、烧烤
    • 营业时间:
      • 早餐:07:00-09:00
      • 午餐:11:00-13:00
      • 晚餐:17:00-19:00
      • 夜宵:19:00-22:00 (仅周一至周五开放)
    • 经理电话:崔经理 18898832662

    中心餐厅

    • 餐厅位置:南科大中心一层
    • 供应品种:大众菜系、早餐肠粉、风味粥粉面、铁锅拌饭广式烧味、精美小炒、麻辣烫、小卖部、平价水果
    • 外包档口:肯德基、面点王、茶米相期
    • 营业时间:
      • 早餐:07:00-09:00
      • 午餐:11:00-13:00
      • 晚餐:17:00-19:00
    • 经理电话:杜经理 13760335494

    荔园餐厅

    荔园6栋一层

    • 餐厅位置:荔园6栋一层
    • 供应品种:大众菜系、卤水套餐、粥饼档、素菜
    • 营业时间:
      • 早餐:07:00-09:00
      • 午餐:11:00-13:00
      • 晚餐:17:00-19:00
    • 经理电话:黄经理 13430934058

    荔园6栋二层

    • 餐厅位置:荔园6栋二层
    • 供应品种:精美小炒、特色菜
    • 外包档口:广东靓汤、西北面食、日韩料理
    • 营业时间:
      • 早餐:07:00-09:00
      • 午餐:11:00-13:00
      • 晚餐:17:00-19:00
    • 经理电话:黄经理 13430934058

    创园教工餐厅

    • 餐厅位置:创园2栋一层
    • 供应品种:大众菜系 (午餐)、特色川湘菜 (晚餐)
    • 营业时间:
      • 午餐:11:00-13:00
      • 晚餐:17:00-21:00
    • 经理电话:黄经理 13430934058

    教工餐厅(仅教职工使用)

    • 餐厅位置:教师公寓2栋一层
    • 供应品种:大众菜系、特色菜、风味面食
    • 营业时间:
      • 早餐:07:00-09:00
      • 午餐:11:00-13:00
      • 晚餐:17:20-19:00
    • 经理电话:赵经理 13456850850

    Faculty Club(仅教职工使用)

    • 餐厅位置:教师公寓1、2栋之间
    • 供应品种:大众菜系、特色菜
    • 营业时间:
      • 午餐:11:20-13:00
      • 晚餐:17:20-19:00
    • 经理电话:赵经理 13456850850

    茶餐厅

    • 餐厅位置:专家公寓1栋一层
    • 供应品种:粤菜、客家菜、各地风味菜
    • 营业时间:
      • 午餐:11:30-14:00
      • 晚餐:17:30-21:00
    • 经理电话:赵经理 13456850850

    西餐厅

    • 餐厅位置:专家公寓2栋一层
    • 供应品种:西餐
    • 营业时间:07:30-22:00
    • 经理电话:赵经理 13456850850

    南科麦香屋

    • 餐厅位置:教师公寓2栋一层
    • 供应品种:面包、西点
    • 营业时间:07:30-19:00
    • 经理电话:赵经理 13456850850

    湖畔学生餐厅

    • 餐厅位置:大榕树旁一层、二层
    • 供应品种:特色风味
    • 营业时间:
      • 早餐:06:30-09:30
      • 午餐:10:30-13:30
      • 晚餐:16:30-19:00
      • 夜宵:19:00-22:30
    • 经理电话:段经理 15012847432

    欣园餐厅

    • 餐厅位置:欣园5栋一层
    • 供应品种:待定
    • 营业时间:待定
    • 经理电话:段经理 15012847432

    入驻餐饮

    瑞幸咖啡

    • 餐饮地点:工学院南楼一层、理学院一层大厅
    • 营业时间:07:00-22:00
    • 联系电话:
      • 工学院店:18320284061
      • 理学院店:13066805920

    星巴克

    • 餐饮地点:琳恩图书馆一层
    • 营业时间:07:00-18:00
    • 联系电话:13049844587

    Illy Cafe(学者咖啡)

    • 餐饮地点:第二科研楼一层
    • 营业时间:08:30-20:30
    • 联系电话:13798280743

    赛百味

    • 餐饮地点:第一教学楼一层
    • 营业时间:07:20-22:00
    • 联系电话:13603051823

    果卉鲜

    • 餐饮地点:教师公寓1栋一层
    • 营业时间:10:00-21:00
    • 联系电话:18389693592
    • 特色:无人售卖

    校外餐饮

    周边一节。

    ',46),r=[s];function c(t,d){return i(),a("div",null,r)}const p=l(h,[["render",c],["__file","index.html.vue"]]),o=JSON.parse('{"path":"/life/catering/","title":"☕️餐饮","lang":"zh-CN","frontmatter":{},"headers":[{"level":2,"title":"校内餐厅","slug":"校内餐厅","link":"#校内餐厅","children":[{"level":3,"title":"第二学生餐厅","slug":"第二学生餐厅","link":"#第二学生餐厅","children":[]},{"level":3,"title":"中心餐厅","slug":"中心餐厅","link":"#中心餐厅","children":[]},{"level":3,"title":"荔园餐厅","slug":"荔园餐厅","link":"#荔园餐厅","children":[]},{"level":3,"title":"创园教工餐厅","slug":"创园教工餐厅","link":"#创园教工餐厅","children":[]},{"level":3,"title":"教工餐厅(仅教职工使用)","slug":"教工餐厅-仅教职工使用","link":"#教工餐厅-仅教职工使用","children":[]},{"level":3,"title":"Faculty Club(仅教职工使用)","slug":"faculty-club-仅教职工使用","link":"#faculty-club-仅教职工使用","children":[]},{"level":3,"title":"茶餐厅","slug":"茶餐厅","link":"#茶餐厅","children":[]},{"level":3,"title":"西餐厅","slug":"西餐厅","link":"#西餐厅","children":[]},{"level":3,"title":"南科麦香屋","slug":"南科麦香屋","link":"#南科麦香屋","children":[]},{"level":3,"title":"湖畔学生餐厅","slug":"湖畔学生餐厅","link":"#湖畔学生餐厅","children":[]},{"level":3,"title":"欣园餐厅","slug":"欣园餐厅","link":"#欣园餐厅","children":[]}]},{"level":2,"title":"入驻餐饮","slug":"入驻餐饮","link":"#入驻餐饮","children":[{"level":3,"title":"瑞幸咖啡","slug":"瑞幸咖啡","link":"#瑞幸咖啡","children":[]},{"level":3,"title":"星巴克","slug":"星巴克","link":"#星巴克","children":[]},{"level":3,"title":"Illy Cafe(学者咖啡)","slug":"illy-cafe-学者咖啡","link":"#illy-cafe-学者咖啡","children":[]},{"level":3,"title":"赛百味","slug":"赛百味","link":"#赛百味","children":[]},{"level":3,"title":"果卉鲜","slug":"果卉鲜","link":"#果卉鲜","children":[]}]},{"level":2,"title":"校外餐饮","slug":"校外餐饮","link":"#校外餐饮","children":[]}],"git":{"updatedTime":1693926181000,"contributors":[{"name":"Jizhou Wu","email":"wuchichou@gmail.com","commits":2},{"name":"liziwl","email":"leezisy@gmail.com","commits":1}]},"filePathRelative":"life/catering/README.md"}');export{p as comp,o as data}; diff --git a/assets/index.html-DdZB6oVp.js b/assets/index.html-DdZB6oVp.js new file mode 100644 index 000000000..17d9dd9b4 --- /dev/null +++ b/assets/index.html-DdZB6oVp.js @@ -0,0 +1 @@ +import{_ as a,r as o,o as i,c as s,b as l,d as e,a as r,w as n,e as p}from"./app-CAXKJsZK.js";const c="/assets/apply-Mqz1rxRF.png",m={},d=p('

    申请回校VPN

    1. 下载申请表

    示例

    1. 填写申请表

    2. 提交申请表给生活导师或辅导员签字。

    3. 将表格发送至 its@sustech.edu.cn 申请。

    提示:此VPN的用途仅限回校访问数据库,无法作为其他用途。

    ',6);function _(h,u){const t=o("RouteLink");return i(),s("div",null,[d,l("p",null,[e("查看如何"),r(t,{to:"/service/network/use-vpn/"},{default:n(()=>[e("使用 SSL VPN 客户端说明")]),_:1}),e("。")])])}const k=a(m,[["render",_],["__file","index.html.vue"]]),v=JSON.parse('{"path":"/service/network/apply-for-vpn/","title":"申请回校VPN","lang":"zh-CN","frontmatter":{},"headers":[],"git":{"updatedTime":1721613868000,"contributors":[{"name":"liziwl","email":"leezisy@gmail.com","commits":2},{"name":"sparkcyf","email":"sparktour@outlook.com","commits":2},{"name":"Ziqiang Li","email":"leezisy@gmail.com","commits":1}]},"filePathRelative":"service/network/apply-for-vpn/README.md"}');export{k as comp,v as data}; diff --git a/assets/index.html-DeA_Q-FQ.js b/assets/index.html-DeA_Q-FQ.js new file mode 100644 index 000000000..17c792a8b --- /dev/null +++ b/assets/index.html-DeA_Q-FQ.js @@ -0,0 +1 @@ +import{_ as e,o as a,c as t,e as n}from"./app-CAXKJsZK.js";const l="/assets/discount-Cv-NMDgn.png",s={},h=n('

    💳校园卡

    学校为每一位校内的师生职工提供一张校园卡。

    卡面颜色

    校园卡卡面具有多种颜色。

    以下表格所列颜色为近似颜色

    颜色所属
    橙色本科生,研究生,博士生
    蓝绿色教师,RA,访问人员
    红色家属
    褐色临时卡
    紫色功能卡,设备卡

    校园卡二维码

    二维码链接(需CAS登陆)

    充值

    提示

    2019年9月起,通过微信/支付宝充值校园卡后无需圈存,可直接消费。

    现金充值

    时间为每周三中午11:30-13:00,充值地点:学生食堂一楼;

    自助机充值

    银行卡、信用卡(含国内异地)均可,24小时可充值,不扣手续费;

    微信充值

    微信搜索“企业号南方科技大学”并关注,微信充值成功后需等待5分钟左右持卡至自助充值机补助领取即可。

    支付宝充值

    打开支付宝找到“全部”—“校园生活”—“校园一卡通”—“立即充值”,选择“所在学校”后输入相应个人信息后进行充值即可。

    办公接待卡充值

    需OA填写固定审批,打印后提交至行政服务中心充值,(充值金额小于9万无需报备至财务部)

    校园宝充值

    微信搜索“校园宝”公众号并关注,

    消费系数

    在不同的餐厅/商店,不同类型的校园卡的消费系数不同。目前的消费系数如下图所示。

    校园卡消费系数

    挂失,补办,注销

    挂失、解挂

    提示

    行政服务大厅位于行政楼一楼。

    方法1

    微信关注南方科技大学企业微信号,进入南方科技大学企业微信号--校园卡--卡务--卡挂失。

    方法2

    到自助机上操作(操作方法校园卡务-卡挂失/解挂申请)。

    方法3

    持身份证到行政服务中心六号窗口办理。

    补办

    微信关注南方科技大学企业微信公众号;

    具体步骤:进入南方科技大学企业微信号--校园卡--卡务--卡挂失--补卡,凭短信和本人身份证领卡,教职工卡在行政服务大厅,学生卡在学生事务中心领取。

    注销

    在网上服务大厅提交离职申请后,携带校园卡至行政服务大厅六号窗口注销。

    模拟校园卡

    手机厂商提供的卡模拟工具仅能复制校园卡的ID和非加密部分。但校园卡为CPU卡,并且余额联网,因此通过手机模拟的校园卡只能用于部分门禁(不包括宿舍与大门),储物柜和水卡

    参考资料

    ',43),r=[h];function i(d,c){return a(),t("div",null,r)}const o=e(s,[["render",i],["__file","index.html.vue"]]),u=JSON.parse('{"path":"/service/campus-card/","title":"💳校园卡","lang":"zh-CN","frontmatter":{},"headers":[{"level":2,"title":"卡面颜色","slug":"卡面颜色","link":"#卡面颜色","children":[]},{"level":2,"title":"校园卡二维码","slug":"校园卡二维码","link":"#校园卡二维码","children":[]},{"level":2,"title":"充值","slug":"充值","link":"#充值","children":[{"level":3,"title":"现金充值","slug":"现金充值","link":"#现金充值","children":[]},{"level":3,"title":"自助机充值","slug":"自助机充值","link":"#自助机充值","children":[]},{"level":3,"title":"微信充值","slug":"微信充值","link":"#微信充值","children":[]},{"level":3,"title":"支付宝充值","slug":"支付宝充值","link":"#支付宝充值","children":[]},{"level":3,"title":"办公接待卡充值","slug":"办公接待卡充值","link":"#办公接待卡充值","children":[]},{"level":3,"title":"校园宝充值","slug":"校园宝充值","link":"#校园宝充值","children":[]}]},{"level":2,"title":"消费系数","slug":"消费系数","link":"#消费系数","children":[]},{"level":2,"title":"挂失,补办,注销","slug":"挂失-补办-注销","link":"#挂失-补办-注销","children":[{"level":3,"title":"挂失、解挂","slug":"挂失、解挂","link":"#挂失、解挂","children":[]},{"level":3,"title":"补办","slug":"补办","link":"#补办","children":[]},{"level":3,"title":"注销","slug":"注销","link":"#注销","children":[]}]},{"level":2,"title":"模拟校园卡","slug":"模拟校园卡","link":"#模拟校园卡","children":[]},{"level":2,"title":"参考资料","slug":"参考资料","link":"#参考资料","children":[]}],"git":{"updatedTime":1620134795000,"contributors":[{"name":"liziwl","email":"leezisy@gmail.com","commits":2},{"name":"sparkcyf","email":"sparktour@outlook.com","commits":2}]},"filePathRelative":"service/campus-card/README.md"}');export{o as comp,u as data}; diff --git a/assets/index.html-DghbAH_Y.js b/assets/index.html-DghbAH_Y.js new file mode 100644 index 000000000..14871af6a --- /dev/null +++ b/assets/index.html-DghbAH_Y.js @@ -0,0 +1 @@ +import{_ as d,r as i,o as s,c as h,b as t,d as e,a as l,w as o,e as a}from"./app-CAXKJsZK.js";const p={},c=a('

    📇黄页

    电话与邮件

    座机默认区号0755

    24h 校内服务热线(a.k.a. 物业热线,报修用,查号用): 88010123

    一般办公时间

    • 周一至周五
    • 上午 8:30 - 12:00
    • 下午 2:00 - 5:30

    教学

    • 教授邮件列表

    • 学生事务中心

      • 南科大中心二楼(中心餐厅楼上)
      • 电话:88010555
      • 公共邮箱:servicescenter@sustech.edu.cn
      • 综合事务
        • 档案、医保、卡证户籍、奖助补贷、银行、移动等事务。
      • 本科生教学事务
        • 选课、退课、成绩单打印、学分认定、学籍备案等事务。
      • 研究生事务
        • 综合事务、教务教学、社区管理等事务。
      • 国际生事务
        • 本科国际生、交换生、海外学习等事务。
      • 社区服务
        • 医疗保险、本科生户籍、本科生公寓管理、门禁管理。
    • 国际合作部 | 关于我们

    • 研究生院 | 联系方式

    • 教学工作部 | 联系方式

      • 办公地点: 南科大中心三楼 303,306
      • 公共邮箱(教学事务): tao@sustech.edu.cn
      • 学生学习服务邮箱: tao-sls@sustech.edu.cn
      • 选课咨询电话: 88010300
    • 招生办公室 (本科入学): 88010500,88010507

    • 琳恩图书馆: 88010800

    物流、餐饮、康体、后勤

    名称地址电话工作时间
    行政服务前台行政楼一楼88010596
    信息中心88010777
    专家公寓86664284
    欣园收发室欣园1栋880106488:30-13:00; 14:00-19:00
    慧园收发室慧园7栋88010649
    书院收发室书院5栋88010111
    荔园收发室荔园8栋88015011
    二期收发室二期13栋88010670
    学生餐厅88015026
    教工餐厅88015023
    荔园餐厅88015237
    西餐厅88015240
    茶餐厅88015244
    场馆预订服务专家公寓2栋二楼880106508:00-22:00

    失物招领处

    区域具体位置
    教学楼,科研楼一教201对面的玻璃房
    食堂食堂一楼小卖部(卖饮料处),一楼打饭刷卡的地方
    图书馆一楼前台,各层楼口移动推车
    宿舍区一栋学生事务中心,三栋物业办公室
    行政楼一楼前台
    风雨操场物业管理玻璃房
    大操场,教师公寓一带专家公寓二栋一楼
    荔园食堂二楼卖饮料处,荔园一栋208(教室管理处)
    欣园宿管值班室(好像是在欣园一栋)

    给个小建议,捡到校园卡的同学可以直接给失主发邮件,反正学号名字校园卡上都有。

    医疗与安全

    • 医疗服务由校医疗中心提供,中心内设有内科、外科、口腔科等专科诊室,配有药房、理疗室、治疗室、留观室等功能辅助诊室。

      • 地点: 学生服务楼一楼
      • 服务时间: 周一至周五,上午 8:30-12:00,下午 14:00-17:00
      • 联系电话
        • 全科门诊:88010120
        • 药房:88010499
        • 投诉建议:88010499
        • 社康管理中心投诉、建议、咨询:13632658609
      • 24小时急诊联系电话: 18218715551
      • 急诊范围: 发热、急腹症、外伤等
    • 安保 | 报警: 88010110

    心理成长

    心理咨询服务资源:

    • 【网上服务大厅预约】(首推预约方式) :

      登陆学校官网 ---> “网站导航” ---> “常用系统” ---> “网上服务大厅”(ehall.sustech.edu.cn) ---> 搜索“心理健康管理” 应用 ---> 进行预约

    • 【邮箱预约】

      邮箱:counseling@sustech.edu.cn

      来信请注明姓名、年级、班级、手机号码和个人空闲的时段。

    • 【电话预约】

      紧急或特殊情况下也可通过电话预约:

      0755-88010576(周一至周五8:30—12:00, 14:00-17:30)

    心理中心为我校学生设立了24小时心理热线和24小时QQ在线咨询,均由校外专业心理机构的心理咨询师提供心理咨询服务:

    • 【24小时热线(00:00-24:00)】

      拨打400-098-0708转9

    • 【24小时QQ在线咨询】

      2853301071(添加QQ通过学校名称和学号验证)

    • 如有紧急情况,可拨打深圳心理援助及危机干预热线:(康宁医院)400-995-995-9,0755-25629459

    • 参加团体咨询/辅导、讲座、沙龙等

      请留意 counseling@sustech.edu.cn 邮箱发布的信息

      微信公众号:南科大心理成长中心

    行政

    • 党政办公室: 88010229

    更多官方部门的联系方式

    邮政与快递地址

    提示

    以下地址以书院(湖畔)一栋101室为例

    ',26),u={id:"邮政地址",tabindex:"-1"},m={class:"header-anchor",href:"#邮政地址"},g=a('

    中文

    邮政编码: 518055

    中华人民共和国

    广东省,深圳市,南山区,学苑大道1088号南方科技大学

    书院收发室/书院1栋101

    英文

    Zip Code: 518055

    Residential College Mail Room / Room 101, Residential College 1

    Southern University of Science and Technology , 1088 Xueyuan Avenue,

    Nanshan District, Shenzhen, Guangdong

    P.R. China

    ',4),f={id:"快递地址",tabindex:"-1"},_={class:"header-anchor",href:"#快递地址"},b=t("blockquote",null,[t("p",null,"广东省 深圳市 南山区 桃源街道"),t("p",null,"学苑大道1088号南方科技大学湖畔收发室")],-1),k=a('

    报销抬头

    参考南方科技大学报账服务指南(2019年版)

    名称:南方科技大学

    地址:深圳市南山区学苑大道1088号

    电话:0755-88010000

    开户银行:中信银行深圳分行营业部

    银行账号:8110301013200282614

    统一社会信用代码或纳税人识别号:124403005521093031

    发票信息请再次向财务或秘书确认,以防损失。

    常用Q群

    • 部分可以直接点击群名,自动跳转到 QQ / TIM 页面。
    • 部分需要手动输入群号。
    ',6),q={id:"必备",tabindex:"-1"},v={class:"header-anchor",href:"#必备"},x=a('

    ⬇️ 禁止表情包和水群

    餐饮、住宿

    交易

    游戏

    其他

    美食外卖

    提示

    下面的餐饮服务均为校外商家运营,南科手册不对其做担保。部分可能已经不再服务。

    大部分外卖仅能放在校门口(五号门,六号门,七号门),个别外卖可以送达宿舍楼下。

    QQ群

    • 挑东西凑单群:688705412
    • 一点点奶茶凑单群:638896518
    • 益禾堂配送南科大一群:882972978
    • 湖畔外卖有偿帮带群:751258581

    微信公众号

    • 挑东西(或在QQ群中下单)
    ',16);function y(E,w){const r=i("Badge"),n=i("RouteLink");return s(),h("div",null,[c,t("h3",u,[t("a",m,[t("span",null,[e("邮政地址"),l(r,{text:"适用于挂号信,成绩单等",type:"tip"})])])]),g,t("h3",f,[t("a",_,[t("span",null,[e("快递地址"),l(r,{text:"适用于快递",type:"tip"})])])]),b,t("p",null,[e("更多快递相关信息,请参考"),l(n,{to:"/service/mail-and-express/"},{default:o(()=>[e("邮件与快递收发")]),_:1}),e("一节。")]),k,t("h3",q,[t("a",v,[t("span",null,[e("必备 "),l(r,{text:"推荐加入",type:"tip"})])])]),x])}const R=d(p,[["render",y],["__file","index.html.vue"]]),A=JSON.parse('{"path":"/contact/","title":"📇黄页","lang":"zh-CN","frontmatter":{},"headers":[{"level":2,"title":"电话与邮件","slug":"电话与邮件","link":"#电话与邮件","children":[{"level":3,"title":"教学","slug":"教学","link":"#教学","children":[]},{"level":3,"title":"物流、餐饮、康体、后勤","slug":"物流、餐饮、康体、后勤","link":"#物流、餐饮、康体、后勤","children":[]},{"level":3,"title":"医疗与安全","slug":"医疗与安全","link":"#医疗与安全","children":[]},{"level":3,"title":"心理成长","slug":"心理成长","link":"#心理成长","children":[]},{"level":3,"title":"行政","slug":"行政","link":"#行政","children":[]},{"level":3,"title":"更多官方部门的联系方式","slug":"更多官方部门的联系方式","link":"#更多官方部门的联系方式","children":[]}]},{"level":2,"title":"邮政与快递地址","slug":"邮政与快递地址","link":"#邮政与快递地址","children":[{"level":3,"title":"邮政地址","slug":"邮政地址","link":"#邮政地址","children":[]},{"level":3,"title":"快递地址","slug":"快递地址","link":"#快递地址","children":[]}]},{"level":2,"title":"报销抬头","slug":"报销抬头","link":"#报销抬头","children":[]},{"level":2,"title":"常用Q群","slug":"常用q群","link":"#常用q群","children":[{"level":3,"title":"必备","slug":"必备","link":"#必备","children":[]},{"level":3,"title":"餐饮、住宿","slug":"餐饮、住宿","link":"#餐饮、住宿","children":[]},{"level":3,"title":"交易","slug":"交易","link":"#交易","children":[]},{"level":3,"title":"游戏","slug":"游戏","link":"#游戏","children":[]},{"level":3,"title":"其他","slug":"其他","link":"#其他","children":[]},{"level":3,"title":"美食外卖","slug":"美食外卖","link":"#美食外卖","children":[]}]}],"git":{"updatedTime":1721613868000,"contributors":[{"name":"liziwl","email":"leezisy@gmail.com","commits":11},{"name":"sparkcyf","email":"sparktour@outlook.com","commits":11},{"name":"Ziqiang Li","email":"leezisy@gmail.com","commits":4},{"name":"Da Hao","email":"v@daidahao.me","commits":1},{"name":"Fros1er","email":"34234343+Fros1er@users.noreply.github.com","commits":1},{"name":"Neko Null","email":"11712709@mail.sustc.edu.cn","commits":1},{"name":"Ruan","email":"47767371+Ryyyc@users.noreply.github.com","commits":1}]},"filePathRelative":"contact/README.md"}');export{R as comp,A as data}; diff --git a/assets/index.html-DiFnQrIv.js b/assets/index.html-DiFnQrIv.js new file mode 100644 index 000000000..03a6ff2b4 --- /dev/null +++ b/assets/index.html-DiFnQrIv.js @@ -0,0 +1 @@ +import{_ as i,e as h,c as s,a as I,d as a,b as p}from"./3-By_0Luwc.js";import{_ as o,r as Z,o as b,c as j,b as e,d as g,a as M,e as m}from"./app-CAXKJsZK.js";const c="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iNjAiIGhlaWdodD0iMjAiPjxsaW5lYXJHcmFkaWVudCBpZD0icyIgeDI9IjAiIHkyPSIxMDAlIj48c3RvcCBvZmZzZXQ9IjAiIHN0b3AtY29sb3I9IiNiYmIiIHN0b3Atb3BhY2l0eT0iLjEiLz48c3RvcCBvZmZzZXQ9IjEiIHN0b3Atb3BhY2l0eT0iLjEiLz48L2xpbmVhckdyYWRpZW50PjxjbGlwUGF0aCBpZD0iciI+PHJlY3Qgd2lkdGg9IjYwIiBoZWlnaHQ9IjIwIiByeD0iMyIgZmlsbD0iI2ZmZiIvPjwvY2xpcFBhdGg+PGcgY2xpcC1wYXRoPSJ1cmwoI3IpIj48cmVjdCB3aWR0aD0iNDMiIGhlaWdodD0iMjAiIGZpbGw9IiM1NTUiLz48cmVjdCB4PSI0MyIgd2lkdGg9IjE3IiBoZWlnaHQ9IjIwIiBmaWxsPSIjMDAzNWFkIi8+PHJlY3Qgd2lkdGg9IjYwIiBoZWlnaHQ9IjIwIiBmaWxsPSJ1cmwoI3MpIi8+PC9nPjxnIGZpbGw9IiNmZmYiIHRleHQtYW5jaG9yPSJtaWRkbGUiIGZvbnQtZmFtaWx5PSJWZXJkYW5hLEdlbmV2YSxEZWphVnUgU2FucyxzYW5zLXNlcmlmIiB0ZXh0LXJlbmRlcmluZz0iZ2VvbWV0cmljUHJlY2lzaW9uIiBmb250LXNpemU9IjExMCI+PHRleHQgeD0iMjI1IiB5PSIxNTAiIGZpbGw9IiMwMTAxMDEiIGZpbGwtb3BhY2l0eT0iLjMiIHRyYW5zZm9ybT0ic2NhbGUoLjEpIiB0ZXh0TGVuZ3RoPSIzMzAiPlNaTUM8L3RleHQ+PHRleHQgeD0iMjI1IiB5PSIxNDAiIHRyYW5zZm9ybT0ic2NhbGUoLjEpIiB0ZXh0TGVuZ3RoPSIzMzAiPlNaTUM8L3RleHQ+PHRleHQgeD0iNTA1IiB5PSIxNTAiIGZpbGw9IiMwMTAxMDEiIGZpbGwtb3BhY2l0eT0iLjMiIHRyYW5zZm9ybT0ic2NhbGUoLjEpIiB0ZXh0TGVuZ3RoPSI3MCI+NzwvdGV4dD48dGV4dCB4PSI1MDUiIHk9IjE0MCIgdHJhbnNmb3JtPSJzY2FsZSguMSkiIHRleHRMZW5ndGg9IjcwIj43PC90ZXh0PjwvZz48L3N2Zz4=",G="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iNjYiIGhlaWdodD0iMjAiPjxsaW5lYXJHcmFkaWVudCBpZD0icyIgeDI9IjAiIHkyPSIxMDAlIj48c3RvcCBvZmZzZXQ9IjAiIHN0b3AtY29sb3I9IiNiYmIiIHN0b3Atb3BhY2l0eT0iLjEiLz48c3RvcCBvZmZzZXQ9IjEiIHN0b3Atb3BhY2l0eT0iLjEiLz48L2xpbmVhckdyYWRpZW50PjxjbGlwUGF0aCBpZD0iciI+PHJlY3Qgd2lkdGg9IjY2IiBoZWlnaHQ9IjIwIiByeD0iMyIgZmlsbD0iI2ZmZiIvPjwvY2xpcFBhdGg+PGcgY2xpcC1wYXRoPSJ1cmwoI3IpIj48cmVjdCB3aWR0aD0iNDMiIGhlaWdodD0iMjAiIGZpbGw9IiM1NTUiLz48cmVjdCB4PSI0MyIgd2lkdGg9IjIzIiBoZWlnaHQ9IjIwIiBmaWxsPSIjODdjZWViIi8+PHJlY3Qgd2lkdGg9IjY2IiBoZWlnaHQ9IjIwIiBmaWxsPSJ1cmwoI3MpIi8+PC9nPjxnIGZpbGw9IiNmZmYiIHRleHQtYW5jaG9yPSJtaWRkbGUiIGZvbnQtZmFtaWx5PSJWZXJkYW5hLEdlbmV2YSxEZWphVnUgU2FucyxzYW5zLXNlcmlmIiB0ZXh0LXJlbmRlcmluZz0iZ2VvbWV0cmljUHJlY2lzaW9uIiBmb250LXNpemU9IjExMCI+PHRleHQgeD0iMjI1IiB5PSIxNTAiIGZpbGw9IiMwMTAxMDEiIGZpbGwtb3BhY2l0eT0iLjMiIHRyYW5zZm9ybT0ic2NhbGUoLjEpIiB0ZXh0TGVuZ3RoPSIzMzAiPlNaTUM8L3RleHQ+PHRleHQgeD0iMjI1IiB5PSIxNDAiIHRyYW5zZm9ybT0ic2NhbGUoLjEpIiB0ZXh0TGVuZ3RoPSIzMzAiPlNaTUM8L3RleHQ+PHRleHQgeD0iNTM1IiB5PSIxNTAiIGZpbGw9IiMwMTAxMDEiIGZpbGwtb3BhY2l0eT0iLjMiIHRyYW5zZm9ybT0ic2NhbGUoLjEpIiB0ZXh0TGVuZ3RoPSIxMzAiPjI3PC90ZXh0Pjx0ZXh0IHg9IjUzNSIgeT0iMTQwIiB0cmFuc2Zvcm09InNjYWxlKC4xKSIgdGV4dExlbmd0aD0iMTMwIj4yNzwvdGV4dD48L2c+PC9zdmc+",n="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iNjYiIGhlaWdodD0iMjAiPjxsaW5lYXJHcmFkaWVudCBpZD0icyIgeDI9IjAiIHkyPSIxMDAlIj48c3RvcCBvZmZzZXQ9IjAiIHN0b3AtY29sb3I9IiNiYmIiIHN0b3Atb3BhY2l0eT0iLjEiLz48c3RvcCBvZmZzZXQ9IjEiIHN0b3Atb3BhY2l0eT0iLjEiLz48L2xpbmVhckdyYWRpZW50PjxjbGlwUGF0aCBpZD0iciI+PHJlY3Qgd2lkdGg9IjY2IiBoZWlnaHQ9IjIwIiByeD0iMyIgZmlsbD0iI2ZmZiIvPjwvY2xpcFBhdGg+PGcgY2xpcC1wYXRoPSJ1cmwoI3IpIj48cmVjdCB3aWR0aD0iNDMiIGhlaWdodD0iMjAiIGZpbGw9IiM1NTUiLz48cmVjdCB4PSI0MyIgd2lkdGg9IjIzIiBoZWlnaHQ9IjIwIiBmaWxsPSIjZGU3YzAwIi8+PHJlY3Qgd2lkdGg9IjY2IiBoZWlnaHQ9IjIwIiBmaWxsPSJ1cmwoI3MpIi8+PC9nPjxnIGZpbGw9IiNmZmYiIHRleHQtYW5jaG9yPSJtaWRkbGUiIGZvbnQtZmFtaWx5PSJWZXJkYW5hLEdlbmV2YSxEZWphVnUgU2FucyxzYW5zLXNlcmlmIiB0ZXh0LXJlbmRlcmluZz0iZ2VvbWV0cmljUHJlY2lzaW9uIiBmb250LXNpemU9IjExMCI+PHRleHQgeD0iMjI1IiB5PSIxNTAiIGZpbGw9IiMwMTAxMDEiIGZpbGwtb3BhY2l0eT0iLjMiIHRyYW5zZm9ybT0ic2NhbGUoLjEpIiB0ZXh0TGVuZ3RoPSIzMzAiPlNaTUM8L3RleHQ+PHRleHQgeD0iMjI1IiB5PSIxNDAiIHRyYW5zZm9ybT0ic2NhbGUoLjEpIiB0ZXh0TGVuZ3RoPSIzMzAiPlNaTUM8L3RleHQ+PHRleHQgeD0iNTM1IiB5PSIxNTAiIGZpbGw9IiMwMTAxMDEiIGZpbGwtb3BhY2l0eT0iLjMiIHRyYW5zZm9ybT0ic2NhbGUoLjEpIiB0ZXh0TGVuZ3RoPSIxMzAiPjEzPC90ZXh0Pjx0ZXh0IHg9IjUzNSIgeT0iMTQwIiB0cmFuc2Zvcm09InNjYWxlKC4xKSIgdGV4dExlbmd0aD0iMTMwIj4xMzwvdGV4dD48L2c+PC9zdmc+",l="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iNjYiIGhlaWdodD0iMjAiPjxsaW5lYXJHcmFkaWVudCBpZD0icyIgeDI9IjAiIHkyPSIxMDAlIj48c3RvcCBvZmZzZXQ9IjAiIHN0b3AtY29sb3I9IiNiYmIiIHN0b3Atb3BhY2l0eT0iLjEiLz48c3RvcCBvZmZzZXQ9IjEiIHN0b3Atb3BhY2l0eT0iLjEiLz48L2xpbmVhckdyYWRpZW50PjxjbGlwUGF0aCBpZD0iciI+PHJlY3Qgd2lkdGg9IjY2IiBoZWlnaHQ9IjIwIiByeD0iMyIgZmlsbD0iI2ZmZiIvPjwvY2xpcFBhdGg+PGcgY2xpcC1wYXRoPSJ1cmwoI3IpIj48cmVjdCB3aWR0aD0iNDMiIGhlaWdodD0iMjAiIGZpbGw9IiM1NTUiLz48cmVjdCB4PSI0MyIgd2lkdGg9IjIzIiBoZWlnaHQ9IjIwIiBmaWxsPSIjNmExZDQ0Ii8+PHJlY3Qgd2lkdGg9IjY2IiBoZWlnaHQ9IjIwIiBmaWxsPSJ1cmwoI3MpIi8+PC9nPjxnIGZpbGw9IiNmZmYiIHRleHQtYW5jaG9yPSJtaWRkbGUiIGZvbnQtZmFtaWx5PSJWZXJkYW5hLEdlbmV2YSxEZWphVnUgU2FucyxzYW5zLXNlcmlmIiB0ZXh0LXJlbmRlcmluZz0iZ2VvbWV0cmljUHJlY2lzaW9uIiBmb250LXNpemU9IjExMCI+PHRleHQgeD0iMjI1IiB5PSIxNTAiIGZpbGw9IiMwMTAxMDEiIGZpbGwtb3BhY2l0eT0iLjMiIHRyYW5zZm9ybT0ic2NhbGUoLjEpIiB0ZXh0TGVuZ3RoPSIzMzAiPlNaTUM8L3RleHQ+PHRleHQgeD0iMjI1IiB5PSIxNDAiIHRyYW5zZm9ybT0ic2NhbGUoLjEpIiB0ZXh0TGVuZ3RoPSIzMzAiPlNaTUM8L3RleHQ+PHRleHQgeD0iNTM1IiB5PSIxNTAiIGZpbGw9IiMwMTAxMDEiIGZpbGwtb3BhY2l0eT0iLjMiIHRyYW5zZm9ybT0ic2NhbGUoLjEpIiB0ZXh0TGVuZ3RoPSIxMzAiPjExPC90ZXh0Pjx0ZXh0IHg9IjUzNSIgeT0iMTQwIiB0cmFuc2Zvcm09InNjYWxlKC4xKSIgdGV4dExlbmd0aD0iMTMwIj4xMTwvdGV4dD48L2c+PC9zdmc+",r="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iNjYiIGhlaWdodD0iMjAiPjxsaW5lYXJHcmFkaWVudCBpZD0icyIgeDI9IjAiIHkyPSIxMDAlIj48c3RvcCBvZmZzZXQ9IjAiIHN0b3AtY29sb3I9IiNiYmIiIHN0b3Atb3BhY2l0eT0iLjEiLz48c3RvcCBvZmZzZXQ9IjEiIHN0b3Atb3BhY2l0eT0iLjEiLz48L2xpbmVhckdyYWRpZW50PjxjbGlwUGF0aCBpZD0iciI+PHJlY3Qgd2lkdGg9IjY2IiBoZWlnaHQ9IjIwIiByeD0iMyIgZmlsbD0iI2ZmZiIvPjwvY2xpcFBhdGg+PGcgY2xpcC1wYXRoPSJ1cmwoI3IpIj48cmVjdCB3aWR0aD0iNDMiIGhlaWdodD0iMjAiIGZpbGw9IiM1NTUiLz48cmVjdCB4PSI0MyIgd2lkdGg9IjIzIiBoZWlnaHQ9IjIwIiBmaWxsPSIjYTE5MmIyIi8+PHJlY3Qgd2lkdGg9IjY2IiBoZWlnaHQ9IjIwIiBmaWxsPSJ1cmwoI3MpIi8+PC9nPjxnIGZpbGw9IiNmZmYiIHRleHQtYW5jaG9yPSJtaWRkbGUiIGZvbnQtZmFtaWx5PSJWZXJkYW5hLEdlbmV2YSxEZWphVnUgU2FucyxzYW5zLXNlcmlmIiB0ZXh0LXJlbmRlcmluZz0iZ2VvbWV0cmljUHJlY2lzaW9uIiBmb250LXNpemU9IjExMCI+PHRleHQgeD0iMjI1IiB5PSIxNTAiIGZpbGw9IiMwMTAxMDEiIGZpbGwtb3BhY2l0eT0iLjMiIHRyYW5zZm9ybT0ic2NhbGUoLjEpIiB0ZXh0TGVuZ3RoPSIzMzAiPlNaTUM8L3RleHQ+PHRleHQgeD0iMjI1IiB5PSIxNDAiIHRyYW5zZm9ybT0ic2NhbGUoLjEpIiB0ZXh0TGVuZ3RoPSIzMzAiPlNaTUM8L3RleHQ+PHRleHQgeD0iNTM1IiB5PSIxNTAiIGZpbGw9IiMwMTAxMDEiIGZpbGwtb3BhY2l0eT0iLjMiIHRyYW5zZm9ybT0ic2NhbGUoLjEpIiB0ZXh0TGVuZ3RoPSIxMzAiPjEyPC90ZXh0Pjx0ZXh0IHg9IjUzNSIgeT0iMTQwIiB0cmFuc2Zvcm09InNjYWxlKC4xKSIgdGV4dExlbmd0aD0iMTMwIj4xMjwvdGV4dD48L2c+PC9zdmc+",t="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iNjAiIGhlaWdodD0iMjAiPjxsaW5lYXJHcmFkaWVudCBpZD0icyIgeDI9IjAiIHkyPSIxMDAlIj48c3RvcCBvZmZzZXQ9IjAiIHN0b3AtY29sb3I9IiNiYmIiIHN0b3Atb3BhY2l0eT0iLjEiLz48c3RvcCBvZmZzZXQ9IjEiIHN0b3Atb3BhY2l0eT0iLjEiLz48L2xpbmVhckdyYWRpZW50PjxjbGlwUGF0aCBpZD0iciI+PHJlY3Qgd2lkdGg9IjYwIiBoZWlnaHQ9IjIwIiByeD0iMyIgZmlsbD0iI2ZmZiIvPjwvY2xpcFBhdGg+PGcgY2xpcC1wYXRoPSJ1cmwoI3IpIj48cmVjdCB3aWR0aD0iNDMiIGhlaWdodD0iMjAiIGZpbGw9IiM1NTUiLz48cmVjdCB4PSI0MyIgd2lkdGg9IjE3IiBoZWlnaHQ9IjIwIiBmaWxsPSIjM2FiY2E4Ii8+PHJlY3Qgd2lkdGg9IjYwIiBoZWlnaHQ9IjIwIiBmaWxsPSJ1cmwoI3MpIi8+PC9nPjxnIGZpbGw9IiNmZmYiIHRleHQtYW5jaG9yPSJtaWRkbGUiIGZvbnQtZmFtaWx5PSJWZXJkYW5hLEdlbmV2YSxEZWphVnUgU2FucyxzYW5zLXNlcmlmIiB0ZXh0LXJlbmRlcmluZz0iZ2VvbWV0cmljUHJlY2lzaW9uIiBmb250LXNpemU9IjExMCI+PHRleHQgeD0iMjI1IiB5PSIxNTAiIGZpbGw9IiMwMTAxMDEiIGZpbGwtb3BhY2l0eT0iLjMiIHRyYW5zZm9ybT0ic2NhbGUoLjEpIiB0ZXh0TGVuZ3RoPSIzMzAiPlNaTUM8L3RleHQ+PHRleHQgeD0iMjI1IiB5PSIxNDAiIHRyYW5zZm9ybT0ic2NhbGUoLjEpIiB0ZXh0TGVuZ3RoPSIzMzAiPlNaTUM8L3RleHQ+PHRleHQgeD0iNTA1IiB5PSIxNTAiIGZpbGw9IiMwMTAxMDEiIGZpbGwtb3BhY2l0eT0iLjMiIHRyYW5zZm9ybT0ic2NhbGUoLjEpIiB0ZXh0TGVuZ3RoPSI3MCI+NjwvdGV4dD48dGV4dCB4PSI1MDUiIHk9IjE0MCIgdHJhbnNmb3JtPSJzY2FsZSguMSkiIHRleHRMZW5ndGg9IjcwIj42PC90ZXh0PjwvZz48L3N2Zz4=",P="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iNjAiIGhlaWdodD0iMjAiPjxsaW5lYXJHcmFkaWVudCBpZD0icyIgeDI9IjAiIHkyPSIxMDAlIj48c3RvcCBvZmZzZXQ9IjAiIHN0b3AtY29sb3I9IiNiYmIiIHN0b3Atb3BhY2l0eT0iLjEiLz48c3RvcCBvZmZzZXQ9IjEiIHN0b3Atb3BhY2l0eT0iLjEiLz48L2xpbmVhckdyYWRpZW50PjxjbGlwUGF0aCBpZD0iciI+PHJlY3Qgd2lkdGg9IjYwIiBoZWlnaHQ9IjIwIiByeD0iMyIgZmlsbD0iI2ZmZiIvPjwvY2xpcFBhdGg+PGcgY2xpcC1wYXRoPSJ1cmwoI3IpIj48cmVjdCB3aWR0aD0iNDMiIGhlaWdodD0iMjAiIGZpbGw9IiM1NTUiLz48cmVjdCB4PSI0MyIgd2lkdGg9IjE3IiBoZWlnaHQ9IjIwIiBmaWxsPSIjZTY1M2JjIi8+PHJlY3Qgd2lkdGg9IjYwIiBoZWlnaHQ9IjIwIiBmaWxsPSJ1cmwoI3MpIi8+PC9nPjxnIGZpbGw9IiNmZmYiIHRleHQtYW5jaG9yPSJtaWRkbGUiIGZvbnQtZmFtaWx5PSJWZXJkYW5hLEdlbmV2YSxEZWphVnUgU2FucyxzYW5zLXNlcmlmIiB0ZXh0LXJlbmRlcmluZz0iZ2VvbWV0cmljUHJlY2lzaW9uIiBmb250LXNpemU9IjExMCI+PHRleHQgeD0iMjI1IiB5PSIxNTAiIGZpbGw9IiMwMTAxMDEiIGZpbGwtb3BhY2l0eT0iLjMiIHRyYW5zZm9ybT0ic2NhbGUoLjEpIiB0ZXh0TGVuZ3RoPSIzMzAiPlNaTUM8L3RleHQ+PHRleHQgeD0iMjI1IiB5PSIxNDAiIHRyYW5zZm9ybT0ic2NhbGUoLjEpIiB0ZXh0TGVuZ3RoPSIzMzAiPlNaTUM8L3RleHQ+PHRleHQgeD0iNTA1IiB5PSIxNTAiIGZpbGw9IiMwMTAxMDEiIGZpbGwtb3BhY2l0eT0iLjMiIHRyYW5zZm9ybT0ic2NhbGUoLjEpIiB0ZXh0TGVuZ3RoPSI3MCI+ODwvdGV4dD48dGV4dCB4PSI1MDUiIHk9IjE0MCIgdHJhbnNmb3JtPSJzY2FsZSguMSkiIHRleHRMZW5ndGg9IjcwIj44PC90ZXh0PjwvZz48L3N2Zz4=",x={},B=m('

    🚄交通

    🚌校园巴士


    校园巴士线路图

    点击这里下载矢量PDF版本,目前版本:3.2,2022年8月更新。

    来往南方科技大学的交通

    注:目前因校园三期项目建设,三号门与四号门均不具备人行通过条件。

    公交

    可使用 车来了 微信小程序/ app,查看实时公交信息及发车预测。

    校园周边公交站及公交线路信息列表,更新于 2024.05 :点击这里下载校园周边公交线路图(PDF)

    • 南方科技大学①:M554路
      • 学苑大道西行/西丽方向,校园一号门东侧(出门左转)沿学苑大道约150m处,亦可通过二号门步行到达
    • 南方科技大学②:高快23路、43路、74路、81路、122路、M170路、M459路
      • 学苑大道西行/西丽方向,校园一号门西侧(出门右转)沿学苑大道步行约100m处
    • 南方科技大学:高快23路、43路、74路、81路、122路、M459路、M554路
      • 学苑大道东行/长岭陂方向,校园一号门东南侧(出门过公路左转)
    • 南科大中心、南科大微电子:M170路
      • 南科一路双向,南科大中心站在校园六号门周边,南科大微电子站在校园七号门周边
    • 南山智园北(公交站):43路、74路、81路、122路、M459路、M554路
      • 学苑大道双向,校园三号门周边
    • 塘朗地铁站(公交站):37路、B617路、B638路、B818路、M217路、M299路、M393路、M460路、M554路、高峰专线119路、高峰专线120路、高峰专线150路
      • 留仙大道辅路双向,塘朗地铁站周边

    地铁

    • 5号线(环中线)塘朗站,C出口可步行前往南方科技大学一号门,D出口连通宝能环球汇购物中心
    • 5号线(环中线)长岭陂站,A2出口可步行前往南方科技大学三号门、四号门(均暂时关闭)
    • 7号线(西丽线)深大丽湖站(预计年内开通),途径深圳大学丽湖校区可到达南方科技大学
    • 此外深圳市轨道交通五期项目27号线 将在南科大校园设置南山智园站(工程名)、长岭陂站,预计2029年前开通。

    市内交通

    深圳地铁线路图(2024年)

    szmc-system-map-early-2024 注:深圳地铁 13 号线(石岩线) 暂未开通,
    深圳地铁 11 号线(机场线) 东延段【岗厦北-红岭南】、
    3 号线(龙岗线) 四期工程【双龙-坪地六联】、
    7 号线(西丽线) 二期工程【西丽湖-学府医院】、
    12 号线(南宝线) 二期工程【海上田园东-松岗】、
    13 号线(石岩线) 一期工程南端【深圳湾口岸-高新中】预计年内(2024)开通.

    乘坐市内公共交通

    深圳通

    可用于乘坐市内的公交,地铁,也可在7-11等便利店消费。

    可购买实体卡,或在部分智能手机上开卡。在微信中也有“深圳通”小程序二维码。如需开具乘坐、充值发票,请至各大应用商店下载“深圳通APP”.

    提示

    使用深圳通乘坐地铁有95折优惠,乘坐公交优惠力度更大,并且在不同公交线路、交通方式间换乘享有转乘优惠。

    深圳地铁乘车码

    可用于乘坐深圳地铁,在微信中搜索“腾讯乘车码”小程序,亦可在支付宝、云闪付APP上开通相关功能

    交通联合卡(TU)

    深圳市公共交通均支持交通联合卡(TU),但异地交通联合卡不享受深圳通的折扣。

    🚕出租车

    深圳市的出租车均有统一标识,并配有计价器。下车前请拿好发票。建议不要乘坐非正规或无营运资格的私人车辆。如果出租车师傅不熟悉南方科技大学,可以和ta说“到塘朗地铁站附近”。

    出租车收费

    提示

    截至2020年9月,深圳市的出租车已经实现纯电动化。

    起步价格起步里程超过起步里程后价格(里程价)候时费夜间附加费(23时—次日6时)返空费(6时—23时)[注释 2]燃油附加费
    10 元2.0 公里2.6 元/千米0.8 元/分钟按起步价和里程价的30%加收25-50千米部分,按里程价加收30% 超过50千米部分,按里程价加收60%汽油车1元,电动车不收

    🚗自驾车

    深圳对小客车实行“限外”

    • 深圳“限外”时段为工作日早高峰(7点—9点)和晚高峰(17点30分—19点30分),其余时间段和法定节假日不设限制。
    • 一台外地车在一个工作日限行时段内无论行驶在几条限行道路被记录的,只认定为一次行驶记录;并且第一次、第二次违反限行规定的不予处罚,自第三次起依法处罚,简称“一日一次、三次起罚”。
    • 可参考各大主流地图软件的相关限行提示。
    • 登录深圳市交警局网站“非深号牌载客汽车进入深圳自助申报”入口,提前申报,可以“豁免”每月1次在限行时段、路段行驶。

    提示

    同学出示校园卡后,可乘的士、网约车及私家车进入校园内。

    🗺抵达南方科技大学

    🛤从铁路抵达

    提示

    学生可凭学生证,在通过学生优惠资质核验后,每年购买四次在家庭及学校所在地间的单程学生优惠票。学生优惠票限于使用普速旅客列车硬座、硬卧席位,优惠对应区间硬座票价的一半;或动车组列车二等座席位,票价优惠至对应区间公布票价(票价上限)的 75%。由于部分动车组列车实行浮动票价,即成人票亦相较公布票价有折扣,学生票价格或会高于对应区间成人票票价的 75%。

    目前铁路 12306 已实现在线学生优惠资质核验,但出行时仍需携带学生证供站车工作人员查验。(具体可参考南科大交通协会相关宣传)

    新生可在车站售票窗口持本人身份证、录取通知书,购买家庭居住地前往学校所在地的单程学生优惠票。

    ',39),H={id:"🚄国铁-深圳北站",tabindex:"-1"},W={class:"header-anchor",href:"#🚄国铁-深圳北站"},z=m('

    深圳北站位于深圳市龙华区民治街道,为当前深圳市最大的铁路站点,接发动车组列车,无普速列车。由于其距离南方科技大学校园仅需搭乘两站地铁,若你从市外到达南方科技大学,这一般是最方便的选择

    从东广场出站,乘地铁 往赤湾方向至塘朗站下车。(约15分钟)亦可于东广场的北站公交枢纽搭乘公交(M299、M217路),西广场的深圳北汽车站(公交站)搭乘公交(M459、81路)。

    🚄国铁 福田站

    福田站位于深圳市福田区,为当前深圳市最大地下铁路站点,接发动车组列车。但由于相较于深圳北站离学校距离较远,若是来校报道,车次允许的情况下不建议坐到此站。

    出站后至乘地铁市民中心站或地铁少年宫站,换乘地铁往牛湖方向至深圳北站,转往赤湾方向至塘朗。(约40分钟)

    🚈城际铁路 深圳机场站/深圳机场北站

    位于穗深城际铁路上,对居住于东莞及广州的同学较为方便。

    深圳机场站离地铁站很远,若车次允许可以在深圳机场北站下车转地铁。

    出站后至机场/机场北站乘地铁往赤湾方向至前海湾站,转往黄贝岭方向至塘朗。(约55分钟)

    🚂国铁 深圳站(罗湖)

    深圳站位于深圳市罗湖区,是部分普速列车的始发/终点站,亦为广深城际的终点站,并与深港 罗湖口岸/羅湖管制站 相连。

    出站后至乘地铁 罗湖--科学馆--深圳北站--塘朗。(约55分钟)

    🚂国铁 深圳东站(布吉)

    深圳东站位于深圳市龙岗区布吉街道,是深圳大部分普速列车的始发/终点站。

    出站后至乘地铁 布吉--塘朗。(约35分钟)

    ✈️从机场抵达

    出航站楼后至机场站乘地铁往赤湾方向至前海湾站,转往黄贝岭方向至塘朗。(约55分钟)

    提示

    地铁具有两节商务座车厢(类似于高铁一等座的座椅布置),收取所乘坐区间相对于普通地铁车票的三倍票价,可购买商务车厢单程票,或在商务车厢核准器上验证乘车码/深圳通后乘坐。

    来往附近城市的交通

    香港

    1. 乘地铁 往黄贝岭方向至深圳北站,转高铁。(西九龙口岸/西九龍管制站)
    2. 乘地铁 往黄贝岭方向至深圳北站,转 往福田口岸方向至福田口岸。(福田口岸/落馬洲支線管制站)
    3. 乘地铁 往赤湾方向至深圳北站,转 往科学馆方向至科学馆,转 往罗湖方向至罗湖。(罗湖口岸/羅湖管制站)
    4. 乘地铁 往赤湾方向至西丽站,转 往太安方向至皇岗口岸。(皇岗口岸/落馬洲管制站)
    5. 乘公交 81 路,转 M474 路至深圳湾口岸。(深圳湾口岸/深圳灣管制站)
    6. 乘地铁 往赤湾方向至灵芝站,转 至太子湾站乘船。(蛇口码头-港澳碼頭(中环)/海天客運碼頭(香港机场))
    7. 乘地铁 往黄贝岭方向至深圳北站,转 往福田口岸方向至上梅林站,转 文锦方向至文锦站 。(文锦渡口岸/文锦渡管制站)
    8. 乘地铁 往黄贝岭方向至黄贝岭站,转 往小梅沙方向至 莲塘口岸站。(莲塘口岸/香园围支線管制站)

    广州

    1. 乘地铁 往黄贝岭方向至深圳北站,转高铁。
    2. 乘地铁 往黄贝岭方向至布吉站,转普速列车。
    3. 乘地铁 往赤湾方向至前海湾站,转 往碧头方向至机场北,转穗深城际。
    4. 乘地铁 往赤湾方向至深圳北站,转 往科学馆方向至科学馆,转往罗湖方向至罗湖,转广深城际。

    本次信息更新(20240526)由南方科技大学交通协会(社团)提供支持。

    ',25);function Y(w,y){const d=Z("Badge");return b(),j("div",null,[B,e("h4",H,[e("a",W,[e("span",null,[g("🚄国铁 深圳北站 "),M(d,{text:"推荐",type:"tip"})])])]),z])}const D=o(x,[["render",Y],["__file","index.html.vue"]]),L=JSON.parse('{"path":"/transport/","title":"🚄交通","lang":"zh-CN","frontmatter":{},"headers":[{"level":2,"title":"🚌校园巴士","slug":"🚌校园巴士","link":"#🚌校园巴士","children":[{"level":3,"title":"校园巴士线路图","slug":"校园巴士线路图","link":"#校园巴士线路图","children":[]}]},{"level":2,"title":"来往南方科技大学的交通","slug":"来往南方科技大学的交通","link":"#来往南方科技大学的交通","children":[{"level":3,"title":"公交","slug":"公交","link":"#公交","children":[]},{"level":3,"title":"地铁","slug":"地铁","link":"#地铁","children":[]}]},{"level":2,"title":"市内交通","slug":"市内交通","link":"#市内交通","children":[{"level":3,"title":"深圳地铁线路图(2024年)","slug":"深圳地铁线路图-2024年","link":"#深圳地铁线路图-2024年","children":[]},{"level":3,"title":"乘坐市内公共交通","slug":"乘坐市内公共交通","link":"#乘坐市内公共交通","children":[]},{"level":3,"title":"🚕出租车","slug":"🚕出租车","link":"#🚕出租车","children":[]},{"level":3,"title":"🚗自驾车","slug":"🚗自驾车","link":"#🚗自驾车","children":[]}]},{"level":2,"title":"🗺抵达南方科技大学","slug":"🗺抵达南方科技大学","link":"#🗺抵达南方科技大学","children":[{"level":3,"title":"🛤从铁路抵达","slug":"🛤从铁路抵达","link":"#🛤从铁路抵达","children":[]},{"level":3,"title":"✈️从机场抵达","slug":"✈️从机场抵达","link":"#✈️从机场抵达","children":[]}]},{"level":2,"title":"来往附近城市的交通","slug":"来往附近城市的交通","link":"#来往附近城市的交通","children":[{"level":3,"title":"香港","slug":"香港","link":"#香港","children":[]},{"level":3,"title":"广州","slug":"广州","link":"#广州","children":[]}]},{"level":2,"title":"注","slug":"注","link":"#注","children":[]}],"git":{"updatedTime":1718889956000,"contributors":[{"name":"sparkcyf","email":"sparktour@outlook.com","commits":24},{"name":"liziwl","email":"leezisy@gmail.com","commits":11},{"name":"Eric-Master","email":"104005435+Eric-Master@users.noreply.github.com","commits":2},{"name":"Prurite","email":"44775584+Prurite@users.noreply.github.com","commits":2},{"name":"Page","email":"68625666+ByteInt@users.noreply.github.com","commits":1},{"name":"Stang","email":"pmx42@live.cn","commits":1},{"name":"chenyuheng","email":"pass@chenyuheng.cn","commits":1}]},"filePathRelative":"transport/README.md"}');export{D as comp,L as data}; diff --git a/assets/index.html-DmD24g6o.js b/assets/index.html-DmD24g6o.js new file mode 100644 index 000000000..191c091de --- /dev/null +++ b/assets/index.html-DmD24g6o.js @@ -0,0 +1 @@ +import{_ as t,o as e,c as s,e as n}from"./app-CAXKJsZK.js";const o={},r=n('

    学号(SID)

    学号的含义

    例:一个典型的本科生学号12012345,共有八位:

    1: 第一位为身份,1代表学生,3代表雇员。

    20: 第二、三位为入学年份,20代表20年入学。

    1: 第四位为学生修学的学位,1代表本科生(不含国际生)。

    23: 第五、六位为班级编号,23代表这位同学在23行政班,不同的班级归属于不同的书院,所以可以从班级编号判断出书院。

    45: 第七、八为学生在班内的序号,45代表这位同学在班级内的序列号为45。(实际上一个行政班不会有这么多人)

    ',8),a=[r];function i(c,l){return e(),s("div",null,a)}const p=t(o,[["render",i],["__file","index.html.vue"]]),g=JSON.parse('{"path":"/service/sid/","title":"学号(SID)","lang":"zh-CN","frontmatter":{},"headers":[{"level":2,"title":"学号的含义","slug":"学号的含义","link":"#学号的含义","children":[]}],"git":{"updatedTime":1626484504000,"contributors":[{"name":"elantrean","email":"elantreanfu@gmail.com","commits":2},{"name":"Ryyyc","email":"47767371+Ryyyc@users.noreply.github.com","commits":1},{"name":"liziwl","email":"leezisy@gmail.com","commits":1},{"name":"sparkcyf","email":"sparktour@outlook.com","commits":1}]},"filePathRelative":"service/sid/README.md"}');export{p as comp,g as data}; diff --git a/assets/index.html-Doz9SO92.js b/assets/index.html-Doz9SO92.js new file mode 100644 index 000000000..ded82aa1a --- /dev/null +++ b/assets/index.html-Doz9SO92.js @@ -0,0 +1 @@ +import{_ as e,o as a,c as t,e as s}from"./app-CAXKJsZK.js";const n="/assets/cas-login-D4QYM2jq.png",c={},r=s('

    企业微信

    学校为每位入学的同学开通企业微信,同学在入学后微信关注南方科技大学企业微信号即可激活企业微信。

    通过企业微信登陆CAS

    CAS认证界面

    在绑定企业微信后,使用企业微信扫描右侧绿框中的二维码即可登录CAS。

    使用企业微信联系同学

    目前,学生在企业微信中可以向任意一位本科生,研究生及博士生发起聊天。若对方未安装企业微信,消息将会在微信中显示。

    在企业微信的个人页面,也可查看同学的手机号以方便电话联系。由于企业微信个人信息页带有个人姓名和电话的水印,在截图后请谨慎分享。

    ',8),o=[r];function i(l,h){return a(),t("div",null,o)}const d=e(c,[["render",i],["__file","index.html.vue"]]),_=JSON.parse('{"path":"/service/work-wechat/","title":"企业微信","lang":"zh-CN","frontmatter":{},"headers":[{"level":2,"title":"通过企业微信登陆CAS","slug":"通过企业微信登陆cas","link":"#通过企业微信登陆cas","children":[]},{"level":2,"title":"使用企业微信联系同学","slug":"使用企业微信联系同学","link":"#使用企业微信联系同学","children":[]}],"git":{"updatedTime":1596333743000,"contributors":[{"name":"sparkcyf","email":"sparktour@outlook.com","commits":1}]},"filePathRelative":"service/work-wechat/README.md"}');export{d as comp,_ as data}; diff --git a/assets/index.html-DvdYJi5S.js b/assets/index.html-DvdYJi5S.js new file mode 100644 index 000000000..bf97cc3de --- /dev/null +++ b/assets/index.html-DvdYJi5S.js @@ -0,0 +1 @@ +import{_ as t,o as s,c as e,e as d}from"./app-CAXKJsZK.js";const a="/assets/facdf1031d8e47ecaba7e9bf2fda59ba-Cm_IA808.jpeg",p="/assets/c31235e66edd43d69202f54f3c0aed46-CrIWxq_u.jpeg",r="/assets/afbd3cddd2d945bf852c2fec15fc6519-nZhsHPAy.jpeg",n="/assets/c49bd903118a448eba26fed3624dadc6-CGKmnvsU.jpeg",l="/assets/5e3cf29b0f8a445c94d7446cc68f0e8c-CFIKaRO8.png",i="/assets/880086e6cc0a4858822011a636f7cd2d-BrmG-Vbq.jpeg",c="/assets/8851f3bf244d4a8681ac4a1a15364221-CZcav7nn.jpeg",o="/assets/31d2011305ae4d6680b5c6ebe16c4aa2-D2_F9wKl.jpeg",h="/assets/2d474998994c4bdea64fc0c20e468e4e-2RT7VmBW.jpeg",g="/assets/8d99f0bb36194313a3855fc657cb54c2-B4UyNHqQ.jpeg",m="/assets/0c1fb2d65e7c4e53a58a1d6d003cf6e5-CTp_GP4M.jpeg",_={},f=d('

    如何申报退税?-- 年度个人所得税年度汇算

    TL.DR 太长不读

    汇算指的是清算上一年度预缴税款,多退少补。上年度薪金收入不超过6万元,即可免征个人所得税,如已交税款都可以退回。

    时间窗口:每年4月-6月汇算上一年度。

    汇算方式:

    1. “个人所得税” 手机APP端
    2. 网页WEB端 https://etax.chinatax.gov.cn/

    导读

    从4月1日起,全国各地已经全面开放汇算清缴办理渠道,包括“个人所得税”手机APP端和网页WEB端办理通道。年收入不超过12万可免个税汇算清缴。

    学生该如何办理呢?这份小贴士请收好。

    我们所说的“学生党”,主要是指在校的大学生、研究生、博士生。一般来说,“学生党”的收入主要有两种,一种是奖学金、助学金、学校的研究生补助等,此类不计入汇算清缴;另外一种是导师给予发放的津贴补助、实习单位发放的实习工资、兼职所得报酬等。超过800元即产生税额。

    举个例子,导师每月发津贴1200元,1200-800=400,超出的400按照20%缴纳税款为80元,所以你实际到手为1200-80=1120元。每月工资越多,扣的税越多。

    学生党办理汇算清缴情况

    1. 2019年已交税额大于应缴税额,需要申请退税的同学。由于三助津贴是按劳务报酬计税。在年度汇算的时候,劳务报酬需要并入综合所得计税,多退少补。全年应发税前劳务报酬低于7万5的同学,是不需要交税的,已交税款都可以退回。超过7.5万的同学,按综合所得重新汇算计税后,已交税款大于应缴税额的,可以申请退回多交部分税款。

    2. 2019年从多个单位取得收入,并且已交税额小于应缴税额,需要补税的同学。

    同学们可在个税APP-服务-收入纳税明细查询中查询自己2019年收入合计。

    需申请退税情况举例:

    A同学每月收到3500元的助研津贴,依据税法,按劳务报酬计税。

    劳务报酬所得适用的税率表:

    级数应税收入税率(%)速算扣除数
    1不超过20000元的200
    2超过20000元至50000元的部分302000
    3超过50000元的部分407000

    应税收入为:每次收入不超过四千元的,按收入额减去八百元计算;每次收入四千元以上的,按收入额的百分之八十计算。

    税额=应税收入×税率-速算扣除数

    (1)每月扣税(3500-800)*20%=540元。

    汇算清缴时。工薪所得、劳务报酬所得等纳入综合所得,按年合并计算个税。基本减除费用为6万/年。

    综合所得适用的税率表:

    级数全年应税收入税率 (%)速算扣除数
    1不超过36000元的部分30
    2超过36000元至 144000 元的部分102520
    3超过144000元至 300000 元的部分2016920
    4超过300000元至 420000 元的部分2531920
    5超过420000元至 660000 元的部分3052920
    6超过660000元至 960000 元的部分3585920
    7超过960000元的部 分45181920

    (2)A同学全年应税收入=3500*12*80% - 6万,小于0,所以无需缴纳个人所得税。全年已交税额540*12=6480元都可以退至“个税APP”所填银行卡。

    申报准备

    1. 同学们可以先下载个税APP,应用名为“个人所得税”,下载前请先确认该应用来源于国家税务总局。

    2. 进行注册。

    3. 填写银行卡号。

    简易申报与标准申报的操作流程

    使用手机 APP 端申报,同学们可以从以下两个入口进入年度汇算:

    1、从首页的【常用业务】区块的【综合所得年度汇算】进入;

    2、从【快捷入口】-【我要办税】下或底部【办税】 菜单进入后,点击在【税费申报】下 的【综合所得年度汇算】。

    img

    img

    一、简易申报

    2019 年取得的综合所得收入额未超过 6 万元且已缴税款的同学,可通过简易申报申请退税。

    img

    1、确认申报表信息

    核对个人基础信息、汇缴地、查看收入明细数据,确认已缴税额。

    img

    2、申请退税

    在申报提交完成页面上,选择【申请退税】

    img

    进入银行卡选择界面,会自动带出添加好的银行卡。您也可以点击【添加银行卡信息】。

    img

    选择银行卡后提交退税申请,可以看到退税申请进度。

    二、标准申报

    2019年度综合所得年收入额超过6万元的同学,可以在3月1日至6月30日内,通过标准申报办理年度汇算。进入申报界面,选择【使用已申报数据填写】:

    img

    1、确认基本信息基本信息页面支持修改“电子邮箱、联系地址”信息,选择本次申报的汇缴地。(与简易申报截图类似)

    2、生成和确认申报表信息系统将自动归集您在纳税年度的收入纳税数据[工资薪金、劳务报酬、特许权使用费所得],并直接预填至相应申报栏次。

    img

    img

    img

    3、修改申报表信息若您需要修改已预填的申报数据,可修改对应明细表或附表。

    4、缴纳税款或申请退税

    (1)缴税

    若您存在应补税额但不符合免于申报,可点击【立即缴税】进入缴税。

    (2)申请退税

    若您存在多缴税款,可点击【申请退税】。

    img

    进入银行卡选择界面,会自动带出添加好的银行卡。可以点击【添加银行卡信息】。操作与简易申报一致。

    特别提醒

    1. 如点击【综合所得年度汇算】后,出现“该功能将视疫情形势变化及时开通”, 可能是由于 APP 没有登录,在个人中心登录即可。

    2. 若进入申报时出现“业务处理失败:当前纳税人不存在户籍所在地和经常居 住地”,是由于个人信息未填完整,在个人中心-个人信息补充完整信息即可。

    3. 个税 APP 里的“申诉”功能不是办理退税的功能,是申诉不存在此笔收入。不要随意点击申诉按钮。已有同学误点申诉造成无法进行退税的情况。

    ',63),b=[f];function x(P,v){return s(),e("div",null,b)}const A=t(_,[["render",x],["__file","index.html.vue"]]),k=JSON.parse('{"path":"/service/tax/","title":"如何申报退税?-- 年度个人所得税年度汇算","lang":"zh-CN","frontmatter":{},"headers":[{"level":2,"title":"TL.DR 太长不读","slug":"tl-dr-太长不读","link":"#tl-dr-太长不读","children":[]},{"level":2,"title":"导读","slug":"导读","link":"#导读","children":[]},{"level":2,"title":"学生党办理汇算清缴情况","slug":"学生党办理汇算清缴情况","link":"#学生党办理汇算清缴情况","children":[{"level":3,"title":"需申请退税情况举例:","slug":"需申请退税情况举例","link":"#需申请退税情况举例","children":[]}]},{"level":2,"title":"申报准备","slug":"申报准备","link":"#申报准备","children":[]},{"level":2,"title":"简易申报与标准申报的操作流程","slug":"简易申报与标准申报的操作流程","link":"#简易申报与标准申报的操作流程","children":[{"level":3,"title":"一、简易申报","slug":"一、简易申报","link":"#一、简易申报","children":[]},{"level":3,"title":"二、标准申报","slug":"二、标准申报","link":"#二、标准申报","children":[]}]},{"level":2,"title":"特别提醒","slug":"特别提醒","link":"#特别提醒","children":[]}],"git":{"updatedTime":1642689624000,"contributors":[{"name":"liziwl","email":"leezisy@gmail.com","commits":1}]},"filePathRelative":"service/tax/README.md"}');export{A as comp,k as data}; diff --git a/assets/index.html-Dyljf7_p.js b/assets/index.html-Dyljf7_p.js new file mode 100644 index 000000000..deac304cb --- /dev/null +++ b/assets/index.html-Dyljf7_p.js @@ -0,0 +1 @@ +import{_ as a,o as e,c as t,e as r}from"./app-CAXKJsZK.js";const s="/assets/matlab-DqD36KYU.png",l="/assets/matlab1-Dt0QCjJN.png",o="/assets/matlab2-B1WnLRGG.png",n={},i=r('

    MATLAB 激活

    创建 MathWorks 帐户

    1. 用学校邮箱注册 MathWorks 账号(必须为学校邮箱否则无法使用)注册链接

    若有疑问可以咨询 MathWorks 客服或者易老师:yiha__at__mail.sustech.edu.cn

    安装包下载

    1. 用学校邮箱登录MathWorks

    2. 登录后自动系统自动关联软件许可证,并提供产品多版本的下载链接

      fig

      fig

    安装与激活

    1. 安装时选择 MathWorks 账户登录即可。

      fig

    参考链接

    ',10),c=[i];function h(p,m){return e(),t("div",null,c)}const _=a(n,[["render",h],["__file","index.html.vue"]]),k=JSON.parse('{"path":"/service/matlab/","title":"MATLAB 激活","lang":"zh-CN","frontmatter":{},"headers":[{"level":2,"title":"创建 MathWorks 帐户","slug":"创建-mathworks-帐户","link":"#创建-mathworks-帐户","children":[]},{"level":2,"title":"安装包下载","slug":"安装包下载","link":"#安装包下载","children":[]},{"level":2,"title":"安装与激活","slug":"安装与激活","link":"#安装与激活","children":[]},{"level":2,"title":"参考链接","slug":"参考链接","link":"#参考链接","children":[]}],"git":{"updatedTime":1592970118000,"contributors":[{"name":"liziwl","email":"leezisy@gmail.com","commits":1},{"name":"sparkcyf","email":"sparktour@outlook.com","commits":1}]},"filePathRelative":"service/matlab/README.md"}');export{_ as comp,k as data}; diff --git a/assets/index.html-DzLWaBqz.js b/assets/index.html-DzLWaBqz.js new file mode 100644 index 000000000..85af170d9 --- /dev/null +++ b/assets/index.html-DzLWaBqz.js @@ -0,0 +1 @@ +import{_ as h,r as l,o as c,c as p,b as e,d as r,a as n,w as a,e as i}from"./app-CAXKJsZK.js";const t="/assets/streetview-BPNYhKz7.svg",d={},u=e("h1",{id:"🏫建筑与设施",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#🏫建筑与设施"},[e("span",null,"🏫建筑与设施")])],-1),g=e("p",null,[e("img",{src:"https://mirrors.sustech.edu.cn/site/sustech-online/img/facility/buildings/campus_202209.jpg",alt:"校园全景(从宝能城拍摄)"})],-1),f={id:"校园街景",tabindex:"-1"},m={class:"header-anchor",href:"#校园街景"},b=e("div",{class:"hint-container tip"},[e("p",{class:"hint-container-title"},"提示"),e("p",null,[r("街景图像拍摄于"),e("code",null,"2022年4月"),r(",若想了解街景拍摄的流程,请参考"),e("a",{href:"https://sparktour.me/2021/06/16/campus-streetview/",target:"_blank",rel:"noopener noreferrer"},"此链接"),r("。")])],-1),_=e("p",null,[e("a",{href:"https://mirrors.sustech.edu.cn/site/sustech-pano/202204/#gate1,265,10,90,10",target:"_blank",rel:"noopener noreferrer"},"点击此处"),r("或通过下方的嵌入页面查看校园街景地图!")],-1),k=e("iframe",{src:"https://mirrors.sustech.edu.cn/site/sustech-pano/202204/#gate1,265,10,90,10",name:"iframe_window",width:"100%",height:"600",scrolling:"no",allowfullscreen:"true",webkitallowfullscreen:"true",mozallowfullscreen:"true"},null,-1),y=i('

    校园地图与主要建筑

    校园地图

    上图是南科大的校园平面图。在校园内,建筑大都处于校园西侧。

    致新书院绘制的卡通版地图

    (如果您想直接看带有地点标记的互动式全景图以了解学校,请直接翻到本页底部。)

    新校区(一般称为山下)

    一期校园

    上图中,左上角为国际会议中心,左下角为正在建设中的理学院;中下位置为行政楼和琳恩图书馆,中上方从左到右为第四科研楼到第一科研楼;正中间从左到右是第二教学楼,检测中心和第一教学楼;右侧为南科大中心。

    理学院

    进入街景

    理学院

    理学院已于2022年中完工并完成内部装修,现在从一号门进入南科大,看到的第一个建筑就是理学院。

    琳恩图书馆

    进入街景

    图书馆与行政楼

    琳恩图书馆是南科大的第一个,也是最大图书馆,在2020年前,他同时是南科大的唯一图书馆。图书馆名字中“LYNN”的来历,是因为一位匿名的香港友好人士向南方科技大学教育基金会捐赠港币2000万元,因此他将图书馆冠名为“琳恩图书馆”(LYNN LIBRARY)。

    行政楼

    进入街景

    南科大是因为去行政化出名,但学校还是建了一栋独立的行政楼。在行政楼中长期办公的除了校领导和行政人员,主要还有校宣传部,信息中心和校园卡服务中心:如果需要挂失,补办校园卡,需要去行政楼一楼的校园卡服务中心办理。

    行政楼的一楼还有一个早上会卖面包,一些饮品的面包房和在南科大校内人尽皆知的行政楼厕所

    第一教学楼

    进入街景

    第一教学楼

    简称“一教”。在学校二期工程完成之前,本科生绝大部分基础课都会在第一教学楼上。

    一教分为南北两翼,南翼主要是教室:一楼的大部分教室都是可以容纳150人+的大型教室,平时主要用于上通识基础课和思政课;二楼主要用作了自习室;三楼和四楼有几间教室平时固定用于英语课程,其他的教室则是用于人数较少的课程。

    北翼则大部分为实验室:一楼为电子系实验室,二楼为化学系实验室,三楼四楼则是生物系实验室。北翼的外墙是一块LED大屏幕,平时用于播放讲座信息或是学校的宣传片,晚上会放新闻联播。

    一教的北侧有一个赛百味,一般在课间会排队。

    在一教的楼顶可以看到整个山下,和建设中的公共教学楼和理学院。

    检测中心

    进入街景

    内部主要是一些实验室,包括安装了光刻设备的超净间等。

    第二教学楼

    进入街景

    ~~ 第二教学楼主要教室都是机房(2019年换的电脑是i7-8700K+1080Ti),一般会用于上电子系,计算机系的实验课和一些电脑测评/考试。~~ 二教还有一间多功能教室,现在一般用于乐器排练和美术课程。

    第三教学楼

    第三教学楼与商学院,前景是大草坪

    第三教学楼位于南科大中心与理学院和琳恩图书馆遥遥相望,毗邻商学院大楼。为5层建筑,其中一楼、二楼为阶梯教室以及混合教学教室,三楼为授课型教室,四楼为研讨型教室,五楼为教学机房,共56间教室,教室使用总面积为5800平。

    实测学校对第三教学楼设备不限速(Fair Use@Up to 1000Mbps)不同于其他建筑对科研教学网段限速50Mbps。

    5楼教学机房电脑配置

    • 501, 502, 503, 505, 506, 508: i7 10700K + 32G + 1TB SSD + 4TB HDD + RTX 4000
    • 504: i7 7700K + 16G + 256G SSD + 2TB HDD + P4000
    • 507: i7 7700K + 16G + 1T SSD + 4TB HDD + P4000
    • 509: i7 7700K + 16G + 512G SSD + 2TB HDD + GTX1080
    • 510: i7 7700K + 16G + 512G SSD + 2TB HDD + P4000

    由于每个机房安装的软件都不一样,所以可以根据课程安排来选择机房。

    注意

    如果重新启动计算机,所有数据都将丢失。如果没有U盘,又需要传输文件,可使用 LANDrop校内 Send 文件分享 等工具。如果您需要保存机房数据,安装软件或其他需求联系song.wz@sustech.edu.cn

    第一科研楼

    进入街景

    学校一期建筑之一,包含各种实验室。内部是一个大天井,二楼有一个给机器人或者是智能机械的测试平台。

    第二科研楼

    主要是实验室和教授办公室。

    第三科研楼

    主要是实验室和教授办公室。冷冻电镜也设置于此。

    第四科研楼(台州楼)

    主要是实验室和教授办公室。为什么叫台州楼呢?这栋楼里面有一个“南方科技大学台州研究院”,然后校长的籍贯也是台州,也可能有点关系。

    南科大中心(学生食堂)

    进入街景

    学生餐厅

    学校的第一个食堂,由南科大运营,旧食堂一楼是打菜,南科大中心食堂一楼有一些特色菜(如潮汕粉面,小炒,石锅饭,日料等。

    ',55),x=i('
    一丹图书馆

    南科大的第二个图书馆,内含24小时自习空间。

    国际会议中心

    进入街景

    国际会议中心

    湖畔

    湖畔宿舍航拍

    在上图中,中间按顺时针顺序依次是是湖畔宿舍,九华苑,游泳馆和风雨操场。

    湖畔宿舍群

    ',9),E={class:"hint-container tip"},B=e("p",{class:"hint-container-title"},"宿舍房型图",-1),w=i('

    进入街景

    致仁书院

    湖畔宿舍目前主要居住致仁书院树德书院致诚书院的同学。其中,湖畔1-3栋是四人间,4-6栋则是双人间。湖畔1栋楼下是学生事务中心,3栋的楼下有一间小超市,5栋楼下则是收发室。

    湖畔沿湖一侧有若干建筑,包括书院活动室湖畔健身房舞蹈房。这些建筑的上面是一个大阳台,可以从六栋旁边的楼梯上去。

    书院活动室上方的阳台

    南科人当然是住在南科大宿舍里面了。南科大现阶段三大宿舍区:湖畔、荔园、欣园,选书院的结果已经出来了,宿舍在哪里大家应该都有所了解。在介绍宿舍区之前,先给大家普及一下教学楼的位置:南科大教学区域主要分为两块:第一、第二教学楼区域和荔园教学楼区域,俗称山上和山下。湖畔宿舍区位于这两大教学区的中间位置,去哪儿上课都比较方便;荔园紧贴着荔园教学区,不过到一教上课就需要下山;欣园在山顶,位置最远,上课必须下山。在校内正在建设的二期宿舍据说很漂亮,不过那是2019年的事情了。

    不管之后会不会有什么宿舍的调整,毕竟这是每个人都要花很多时间呆的地方,还是先要把自己的寝室好好地装饰装饰。之前大家在网上羡慕的各种“最美寝室”,终于也能自己动手布置了。地板、茶几、贴纸,提升寝室格调;置物架、收纳盒、挂袋,提高生活效率;衣柜灯、小挂钩、脚踏垫,注重生活细节;LED挂灯、木头钟,提高学习效率……创意无限,大胆想象,把寝室变成自己心中的样子吧。

    楼栋入住学生归属
    1致仁
    2致仁
    3致诚
    4研究生
    5研究生
    6研究生

    九华苑

    进入街景

    一共有九栋别墅,主要居住院士级别的教授,因此也被同学称之为“院士楼”。平时门口的保安不太欢迎同学上去,可能会赶人。

    风雨操场

    进入街景

    风雨操场

    风雨操场的南侧包括排球场搏击馆室内篮球场,风雨操场的二层有一个废弃的网球场(可能是因为怕网球打伤人)。室内设施没有空调,夏天会比较热。大一上的体育课大都会在此处进行。

    游泳馆

    包含一个标准游泳池和旁边的更衣室。游泳池需要凭校园卡换取手牌入场,一般不对校外人员开放。

    二期宿舍

    ',20),v={class:"hint-container tip"},j=e("p",{class:"hint-container-title"},"宿舍房型图",-1),A=e("p",null,[e("a",{href:"https://mirrors.sustech.edu.cn/site/sustech-pano/202204/#node1000,250,5,130,0",target:"_blank",rel:"noopener noreferrer"},[e("img",{src:t,alt:"进入街景"})])],-1),D=e("p",null,[e("img",{src:"https://mirrors.sustech.edu.cn/site/sustech-online/img/facility/buildings/p2-dormitory.jpg",alt:"二期宿舍10栋与餐厅"})],-1),S=i('

    二期宿舍中部有一个两层的二期宿舍学生餐厅,西侧则有一个小型图书馆,学校对他的定位更像是“自习室”。

    楼栋入住学生归属
    7硕士/博士生
    8硕士/博士生
    9硕士/博士生
    10硕士/博士生
    11本科生
    12硕士/博士生
    13树德
    14致新
    15树仁
    16树礼
    17硕士/博士生

    工学院

    进入街景

    建设中的工学院

    工学院已于2022年开始使用,上图是正在建设中的工学院。

    工学院分为南座和北座。

    荔园

    进入街景

    值得一提的是,荔园,创园,慧园与欣园都是原二线关外工业区厂房改建而成的。

    荔园,慧园与欣园

    在上图中,左上角是荔园与创园,左下角是慧园,右侧是欣园。

    荔园入口

    荔园的1,2,5栋主要是教室和实验室,余下部分则为宿舍区域。

    荔园一栋

    荔园5栋的1,2楼是餐厅,由外包商运营。6栋楼下有一个超市。

    创园

    许多院系的实验室和办公区域设置于创园。其中,创园一栋由于进驻了学校的一些机构和校办公司,因此装修水平明显较其他栋高级。

    慧园

    许多院系的实验室和办公区域设置于创园。

    欣园

    进入街景

    欣园主要是宿舍区。

    校园东南区域

    校园东南区域

    在上图中,左侧是田径场和润扬体育馆,中间是教师公寓,右侧是学术交流中心与人文社会科学学院。

    教师公寓与专家公寓

    进入街景

    八栋建筑中,有六栋为教师公寓,两栋为专家公寓。

    教师公寓主要供教职人员居住,一楼设有一间教工餐厅和传言只有faculty才能进的 Faculty Club。森林印务也设置于此。

    专家公寓对外开放,以宾馆的形式运营,一楼有一间西餐厅,一间中餐厅和一间报告厅。

    家长要来学校,住宿的首选当然是专家公寓。就在校内,房间内饰朴素干净,价钱也很亲民,比校外的酒店会便宜100左右。要提醒的是专家公寓是不接受电话预定的,必须要亲自去前台预定。尤其是校园开放日的那几天,房间会非常紧张,最好是提前3到5天预定好。

    棒球场

    进入街景

    位于专家公寓南侧,使用率不是很高。每年会举办一次“海峡两岸学生棒球联赛”

    办公楼(新行政楼)与人文社科学院

    进入街景

    运动场

    润扬体育馆

    进入街景

    润杨体育馆

    叫“润扬体育馆”的原因是因为体育馆是润杨集团冠名的。

    体育馆南侧目前是野战场地,学校购置了基于红外线的模拟枪,可以打真人CS。这里还有一面攀岩墙。

    松禾体育场(田径场)

    进入街景

    松禾体育场

    由松禾资本冠名

    步行公园(后山)

    步行公园

    上图的左侧为长岭陂水库,中间为步行公园,右侧为润扬体育馆,远处的轨道为长岭陂地铁站。

    在后山(步行公园)上可以望见长岭陂水库,智园,长岭陂地铁站和正在建设中的医学院。

    后山的体育馆后方的位置有一块石头,在二期宿舍建成之前是学校的最高点,可以看到整个校园。

    大沙河

    一号门所见的大沙河

    大沙河发源自长岭陂水库泄洪渠,并流经南科大的南侧。

    航拍全景看校园

    注意

    航拍图像拍摄于2019年6月,校园内部分建筑此时仍在修建。自此之后,学校原则上不再允许学生在校内飞行无人机。

    湖畔全景

    同学自行拍摄的互动式校园全景

    一次观看全部全景图像

    分区观看

    南科制霸 -- 标记去过的校园地点

    pic

    图片版权

    ',71);function C(z,T){const o=l("Badge"),s=l("RouteLink");return c(),p("div",null,[u,g,e("h2",f,[e("a",m,[e("span",null,[r("校园街景"),n(o,{text:"2022年4月更新",type:"tip"})])])]),b,_,k,y,e("p",null,[r("详细内容请见"),n(s,{to:"/life/catering/#%E5%AD%A6%E7%94%9F%E9%A4%90%E5%8E%85%EF%BC%88%E4%B8%80%E6%9C%9F%EF%BC%89"},{default:a(()=>[r("餐饮/学生餐厅(一期)")]),_:1}),r("。")]),x,e("div",E,[B,e("p",null,[r("宿舍房型图可至"),n(s,{to:"/life/dormitory/dorm-floor-plan.html"},{default:a(()=>[r("此页面")]),_:1}),r("查看。")])]),w,e("div",v,[j,e("p",null,[r("宿舍房型图可至"),n(s,{to:"/life/dormitory/dorm-floor-plan.html"},{default:a(()=>[r("此页面")]),_:1}),r("查看。")])]),A,D,e("p",null,[r("于2019年8月落成的新宿舍区域,也是未来大部分同学(本科生,研究生,博士生)的居住区域。但与湖畔宿舍相比,二期宿舍缺少独立卫生间,宿舍面积也相对更小一些,但二期宿舍全部配备了电梯。关于11栋新生楼的特殊调度策略有个小技巧可以破解让电梯停到非调度楼层:"),n(s,{to:"/facility/building-11-elevator.html"},{default:a(()=>[r("如何“破解”11栋电梯")]),_:1}),r("。")]),S])}const F=h(d,[["render",C],["__file","index.html.vue"]]),q=JSON.parse('{"path":"/facility/","title":"🏫建筑与设施","lang":"zh-CN","frontmatter":{},"headers":[{"level":2,"title":"校园街景","slug":"校园街景","link":"#校园街景","children":[]},{"level":2,"title":"校园地图与主要建筑","slug":"校园地图与主要建筑","link":"#校园地图与主要建筑","children":[{"level":3,"title":"新校区(一般称为山下)","slug":"新校区-一般称为山下","link":"#新校区-一般称为山下","children":[]},{"level":3,"title":"理学院","slug":"理学院","link":"#理学院","children":[]},{"level":3,"title":"湖畔","slug":"湖畔","link":"#湖畔","children":[]},{"level":3,"title":"二期宿舍","slug":"二期宿舍","link":"#二期宿舍","children":[]},{"level":3,"title":"工学院","slug":"工学院","link":"#工学院","children":[]},{"level":3,"title":"荔园","slug":"荔园","link":"#荔园","children":[]},{"level":3,"title":"创园","slug":"创园","link":"#创园","children":[]},{"level":3,"title":"慧园","slug":"慧园","link":"#慧园","children":[]},{"level":3,"title":"欣园","slug":"欣园","link":"#欣园","children":[]},{"level":3,"title":"校园东南区域","slug":"校园东南区域","link":"#校园东南区域","children":[]},{"level":3,"title":"运动场","slug":"运动场","link":"#运动场","children":[]},{"level":3,"title":"步行公园(后山)","slug":"步行公园-后山","link":"#步行公园-后山","children":[]},{"level":3,"title":"大沙河","slug":"大沙河","link":"#大沙河","children":[]}]},{"level":2,"title":"航拍全景看校园","slug":"航拍全景看校园","link":"#航拍全景看校园","children":[{"level":3,"title":"同学自行拍摄的互动式校园全景","slug":"同学自行拍摄的互动式校园全景","link":"#同学自行拍摄的互动式校园全景","children":[]}]},{"level":2,"title":"南科制霸 -- 标记去过的校园地点","slug":"南科制霸-标记去过的校园地点","link":"#南科制霸-标记去过的校园地点","children":[]},{"level":2,"title":"图片版权","slug":"图片版权","link":"#图片版权","children":[]}],"git":{"updatedTime":1721974271000,"contributors":[{"name":"sparkcyf","email":"sparktour@outlook.com","commits":30},{"name":"liziwl","email":"leezisy@gmail.com","commits":7},{"name":"OSA","email":"osa@sustech.edu.cn","commits":1},{"name":"Ziqiang Li","email":"leezisy@gmail.com","commits":1},{"name":"xyhibari","email":"114352590+xyhibari@users.noreply.github.com","commits":1}]},"filePathRelative":"facility/README.md"}');export{F as comp,q as data}; diff --git a/assets/index.html-Fha3PaEM.js b/assets/index.html-Fha3PaEM.js new file mode 100644 index 000000000..3a3c63571 --- /dev/null +++ b/assets/index.html-Fha3PaEM.js @@ -0,0 +1 @@ +import{_ as e,o as p,c as l,e as t}from"./app-CAXKJsZK.js";const i={},a=t('

    新生报到

    文稿部分来自《2020新生入学指南》

    报到前任务

    1. 网上预报道:请新生于2020年8月5日-27日登录新生报到系统http://freshman.sustech.edu.cn,用户名为18位身份证号,初始密码身份证号后6位。并于8月18日前完善个人基本信息,并上传一寸白底免冠照。报道前进入新生报到系统打印《新生入学报到程序单》。

      (咨询:网络信息中心 0755-88010772)

    2. 书院和导师双选:请于8月5日-8月18日在迎新报到系统同时提交3个书院志愿和导师志愿,进行双向互选。8月21日-22日为书院导师录取完毕后可在系统查询录取结果。

      (咨询:卢老师 0755-88010519)

    3. 入学费用:请持录取通知书内随寄银行卡前往就近银行网点激活,并在2020年8月20日下午6点前将7670元存入卡内。

      (咨询:吴老师 0755-88010802)

    4. 新生资助:家庭经济困难的新生,可以提前填写《南方科技大学家庭经济困难学生认定表》通过报到现场“绿色通道”入学,也可以办理生源地助学贷款。

      (咨询:陶老师 0755-88010516)

    5. 组织关系转移(限共青团员、共产党员):新生于2020年8月24日之前扫描二维码进行智慧团建系统团员身份认证/已注册智慧团建系统的学生团员进行系统内组织关系转移。填写完成后将审核截图上传到迎新报到系统指定位置(截图请保留姓名信息)。

      (咨询:熊老师 0755-88010676)

    6. 户口迁移:非深圳户籍新生入学时可以自愿选择是否办理户籍迁移手续。新生报道日起一个月为户籍转移资料收集限期,逾期视为放弃。

      (咨询:何老师 0755-88010654)

    7. 医保办理:我校本科生参加共三项保险,基本医疗需求保障全覆盖。若当年参加医疗服务其他社会保险,则可不参加我校保险购买,并填写写知情同意书。

    ​ (咨询:周老师 0755-88010579)

    1. 兵役登记:完成后才可入校办理报到手续。2020级所有男性新生在全国征兵网(http://www.gfbzb.gov.cn/)上于8月21日前完成登记。登记后将成功登记的页面截图上传至迎新报到系统指定位置。

    ​ (咨询:陈老师 0755-88010692)

    1. 学生档案:可通过自带档案或寄送档案两种方式提交。档案密封,撕毁无效。报到后未提交完整档案的新生应及时补交。

    ​ (咨询:黄老师 0755-88010512)

    1. 学生手册测试:新生可在迎新网(http://welcome.sustech.edu.cn)上下载《学生手册》学习,并于2020年8月5日-8月27日在迎新报到系统中点击“学生手册测试”进行测试,90分以上为通过。

    2. 入学准备状态测试:新生于2020年8月5日-8月27日在迎新报到系统中点击链接进入测试,一次性填答完毕。

    3. 安全教育测试:新生需要在迎新报到系统中点击链接前往测试平台观看学习视频,并于2020年8月5日-9月4日完成相关题目,80分以上为通过。

    完成上述任务即可在8月27日进行现场报到。上述任务具体操作见《2020新生入学指南》。

    现场报到

    报到时间:2020年8月27日9:00-16:00

    学校报到地点:学生宿舍11栋迎新楼101和102报到大厅

    书院报到地点:二期宿舍11栋各书院楼层

    具体报到手续见《2020新生入学指南》

    因故无法按时到校报到的学生,于8月20日前告知招生办万义超老师,说明原因。

    万老师联系方式:电话0755-88010549,传真0755-88010504,邮箱wanyc@sustech.edu.cn

    报到后

    1. 统一体检

    2. 军训延至寒假第一周(咨询:陈老师 0755-88010692)

    ',20),s=[a];function n(r,o){return p(),l("div",null,s)}const h=e(i,[["render",n],["__file","index.html.vue"]]),d=JSON.parse('{"path":"/life/freshman-register/","title":"新生报到","lang":"zh-CN","frontmatter":{},"headers":[{"level":2,"title":"报到前任务","slug":"报到前任务","link":"#报到前任务","children":[]},{"level":2,"title":"现场报到","slug":"现场报到","link":"#现场报到","children":[]},{"level":2,"title":"报到后","slug":"报到后","link":"#报到后","children":[]}],"git":{"updatedTime":1597232870000,"contributors":[{"name":"sparkcyf","email":"sparktour@outlook.com","commits":2}]},"filePathRelative":"life/freshman-register/README.md"}');export{h as comp,d as data}; diff --git a/assets/index.html-WMIP-AiM.js b/assets/index.html-WMIP-AiM.js new file mode 100644 index 000000000..095bdaab9 --- /dev/null +++ b/assets/index.html-WMIP-AiM.js @@ -0,0 +1 @@ +import{_ as s,r,o as l,c as i,b as e,d as a,a as o,w as c,e as t}from"./app-CAXKJsZK.js";const h="/assets/AED%E5%9C%B0%E5%9B%BE_%E6%95%91%E6%8F%B4%E9%98%9F%E5%9C%B0%E5%9B%BE%E7%BB%84-trKyo-3-.jpg",d="/assets/%E6%80%A5%E6%95%91%E7%AE%B1%E5%9C%B0%E5%9B%BE_%E6%95%91%E6%8F%B4%E9%98%9F%E5%9C%B0%E5%9B%BE%E7%BB%84-CYbXKTgb.jpg",E={},p=t('

    应急处理

    医疗

    紧急医疗

    ',3),m=e("li",null,"拨打医疗急救 120",-1),u=e("li",null,"如果在校内,先拨打24小时客服中心电话 0755-88010123。物业有应急处理包,会尽快赶来救助;再拨打120。或者还有学校物业保安部值班电话 0755-88015047。",-1),g=e("li",null,"还可以打学校医疗中心医生的电话 18218715551 (24h,只要医生没有睡觉就可以接通), 或是学校急救电话 0755-88010120。",-1),_=t('

    校内AED地图©南科大应急救援队

    校内AED实景地图

    校内急救箱地图©南科大应急救援队

    提示

    不保证急救箱药品齐全,如缺少药品请向相关组织反馈进行补充。

    应急手册©南科大应急救援队

    • 手册链接(点此)
    • 包含心肺复苏,止血,包扎,固定,休克,气道异物梗阻,中暑,踩踏事故,消防事故,烧伤、烫伤,触电,食物中毒,毒蛇咬伤,被动物咬伤,溺水,运动损伤,脑梗,脑溢血,心肌梗塞,高原反应,皮肤过敏等指引。
    • 建议平时阅读学习。
    • 应急救援队广告位:附属医院举办周期性的心肺复苏术和AED使用实践培训,狮子会开展周期性的献血活动,欢迎大家关注。

    财物

    • 监控调取审批流程及申请表:(1)联系事件发生所在区域的安管员进行确认。经确认属实后填写《监控查看申请表》;(2)学生申请查监控,需所属书院院长审批;(3)部门职工申请查监控,需所属部门负责人或负责人秘书审批。;(4)审批过的申请表交安保部,由安保项目负责人请示安全、健康与环境办公室负责人签字后,协同中控室工作人员调取。
    • 拨打匪警 110,立案侦查。根据《广东省高级人民法院 广东省人民检察院关于确定盗窃刑事案件数额标准的通知》(粤高法发〔2013〕16号)盗窃数额定量标准为:一类地区包括广州、深圳、珠海、佛山、中山、东莞等六个市,盗窃数额较大的起点掌握在三千元以上数额巨大的起点掌握在十万元以上数额特别巨大的起点掌握在五十万元以上
    • 离学校最近的是塘朗派出所,地址:南山区塘兴路11号,电话:0755-26552833。
    ',11);function f(B,A){const n=r("RouteLink");return l(),i("div",null,[p,e("ol",null,[m,u,g,e("li",null,[a("经过紧急处理后,可查看 "),o(n,{to:"/service/medical-treatment/"},{default:c(()=>[a("🏥就医指南")]),_:1}),a("。")])]),_])}const b=s(E,[["render",f],["__file","index.html.vue"]]),x=JSON.parse('{"path":"/emergency/","title":"应急处理","lang":"zh-CN","frontmatter":{},"headers":[{"level":2,"title":"紧急医疗","slug":"紧急医疗","link":"#紧急医疗","children":[]},{"level":2,"title":"校内AED地图©南科大应急救援队","slug":"校内aed地图©南科大应急救援队","link":"#校内aed地图©南科大应急救援队","children":[]},{"level":2,"title":"校内AED实景地图","slug":"校内aed实景地图","link":"#校内aed实景地图","children":[]},{"level":2,"title":"校内急救箱地图©南科大应急救援队","slug":"校内急救箱地图©南科大应急救援队","link":"#校内急救箱地图©南科大应急救援队","children":[]},{"level":2,"title":"应急手册©南科大应急救援队","slug":"应急手册©南科大应急救援队","link":"#应急手册©南科大应急救援队","children":[]}],"git":{"updatedTime":1668847114000,"contributors":[{"name":"liziwl","email":"leezisy@gmail.com","commits":11},{"name":"sparkcyf","email":"sparktour@outlook.com","commits":2}]},"filePathRelative":"emergency/README.md"}');export{b as comp,x as data}; diff --git a/assets/index.html-ZT-TcLA9.js b/assets/index.html-ZT-TcLA9.js new file mode 100644 index 000000000..c99ebb5f3 --- /dev/null +++ b/assets/index.html-ZT-TcLA9.js @@ -0,0 +1 @@ +import{_ as s,o as e,c as a,e as t}from"./app-CAXKJsZK.js";const o="/assets/add1-CSk_8w_U.png",n="/assets/add2-DjxZNNCU.png",r="/assets/add3-Ck-rhg0Z.png",i="/assets/ios-DIyJ0w6e.png",l="/assets/chrome-browser-desktop-DZmgYuQU.png",p={},d=t('

    ❓站点帮助

    添加南科手册到桌面

    南科手册支持PWA(Progressive Web App),这意味着您可以将它添加到桌面,并作为一个本地应用使用。因此,在下载应用后,即使在网络不佳的环境下,您依然可以阅读南科手册上的内容。

    Andoid

    以Chrome为例:

    三个点

    1. 点击右上角的三个点

    点击“添加到主屏幕”

    1. 点击“添加到主屏幕”

    点击“添加”

    1. 点击“添加”

    iOS

    在Safari中打开南科手册**(只有Safari可以添加)**

    添加到主屏幕

    按图示操作即可:点击图标-添加到主屏幕

    桌面设备(Windows/Mac OS X)

    以Chrome浏览器为例,Edge或是其他国产浏览器流程类似。

    添加按钮

    点击地址栏右侧的加号➕,点击安装即可添加到桌面。

    ',19),c=[d];function h(m,g){return e(),a("div",null,c)}const f=s(p,[["render",h],["__file","index.html.vue"]]),u=JSON.parse('{"path":"/site-help/","title":"❓站点帮助","lang":"zh-CN","frontmatter":{},"headers":[{"level":2,"title":"添加南科手册到桌面","slug":"添加南科手册到桌面","link":"#添加南科手册到桌面","children":[{"level":3,"title":"Andoid","slug":"andoid","link":"#andoid","children":[]},{"level":3,"title":"iOS","slug":"ios","link":"#ios","children":[]},{"level":3,"title":"桌面设备(Windows/Mac OS X)","slug":"桌面设备-windows-mac-os-x","link":"#桌面设备-windows-mac-os-x","children":[]}]}],"git":{"updatedTime":1596728606000,"contributors":[{"name":"sparkcyf","email":"sparktour@outlook.com","commits":2},{"name":"Yuheng","email":"pass@chenyuheng.cn","commits":1}]},"filePathRelative":"site-help/README.md"}');export{f as comp,u as data}; diff --git a/assets/index.html-pvDJYVKw.js b/assets/index.html-pvDJYVKw.js new file mode 100644 index 000000000..a7d746cfd --- /dev/null +++ b/assets/index.html-pvDJYVKw.js @@ -0,0 +1 @@ +import{_ as l,r as n,o as r,c as s,b as e,a as o,w as i,e as a,d as c}from"./app-CAXKJsZK.js";const h={},d=a('

    电子邮件服务

    学校使用企业邮箱作为邮件系统,并为每位同学分配形如12010100@mail.sustech.edu.cn的邮箱。电子邮件可以通过网页或客户端收取。

    申请别名

    一般来说,教职员的邮箱后缀为 @sustech.edu.cn,同学的邮箱后缀为 @mail.sustech.edu.cn,每位同学还可以申请一个带有姓名拼音和入学年份的邮箱别名(如在2020年入学的张三,将可以申请别名为 zhangs2020@mail.sustech.edu.cn 的邮箱。若需申请姓名+入学年份的别名邮箱,向信息中心发主题问“申请邮箱别名”的邮件,即可申请。

    容量不足怎么办

    ',5),p=a('

    通过网页收发邮件

    访问 QQ 企业邮箱登录页https://exmail.qq.com/login,输入邮箱和密码登入。也可通过https://mail.sustech.edu.cn/上方的CAS登录邮箱链接登入,首次登入需要输入密码绑定CAS账户和邮箱。

    通过 QQ 电脑客户端进入企业邮网页

    登录 QQ 企业邮箱网页版后,可在“设置” --> “提醒服务” --> “QQ 提醒”中绑定 QQ 号码,绑定后可以通过网页邮箱上方工具栏中的“QQ 邮箱 / 企业邮箱”选项切换邮箱。 在“设置” --> “提醒服务” --> “QQ 提醒”中选择“点击 QQ 面板的小信封直接进入企业邮箱”选项并保存后,可以直接通过 QQ 电脑客户端进入网页版企业邮箱。

    在移动设备上收发邮件

    参数

    假如一位同学的邮箱是12010100@mail.sustech.edu.cn,密码是sustech-manual

    项目其他参数
    用户名12010100@mail.sustech.edu.cn
    密码sustech-manual
    邮件服务器(Exchange)ex.exmail.qq.com
    发件服务器(SMTP)smtp.exmail.qq.com使用SSL,端口号465
    发件服务器(POP3)pop.exmail.qq.com使用SSL,端口号995
    收件服务器(IMAP)imap.exmail.qq.com使用SSL,端口号993

    微信

    关注“腾讯企业邮箱”公众号,并按提示操作。

    苹果自带邮件应用(Mail.app)

    建议使用Exchange方式收件。

    QQ邮箱客户端

    按照应用提示操作即可。

    Outlook客户端

    建议使用Exchange方式收件。

    安卓手机通用教程

    建议使用Exchange方式收件。

    在计算机上收发邮件

    Windows自带的邮件应用

    建议使用Exchange方式收件。

    MacOS自带的邮件应用

    建议使用IMAP方式收件。

    Outlook桌面版

    MacOS

    由于QQ邮箱不支持完整版的Exchange(只支持Exchange Activesync)因此Outlook Mac桌面版不能以Exchange模式添加账户,只能使用IMAP或POP模式添加账户。

    Windows

    推荐使用Exchange Activesync模式添加。

    我想给老师发邮件,但不知道老师的邮箱该怎么办?

    1. https://faculty.sustech.edu.cn/寻找教师的个人主页**(页面可能会加载大量图片并消耗流量,请考虑直接从搜索引擎直接进入教师的个人主页)**
    2. 复制教师主页的网址 https://faculty.sustech.edu.cn/{faculty_name}/,如姚新老师的主页 https://faculty.sustech.edu.cn/xiny/
    3. 网址的url的path部分{faculty_name}(如xiny)即为相应老师的邮箱前缀,加上@sustech.edu.cn即为老师的邮箱地址(如xiny@sustech.edu.cn)。

    更多阅读/参考

    ',38);function u(m,f){const t=n("RouteLink");return r(),s("div",null,[d,e("ul",null,[e("li",null,[o(t,{to:"/service/email/send-receive-email-by-proxy.html"},{default:i(()=>[c("解决邮箱容量不足的问题")]),_:1})])]),p])}const b=l(h,[["render",u],["__file","index.html.vue"]]),x=JSON.parse('{"path":"/service/email/","title":"电子邮件服务","lang":"zh-CN","frontmatter":{},"headers":[{"level":3,"title":"申请别名","slug":"申请别名","link":"#申请别名","children":[]},{"level":3,"title":"容量不足怎么办","slug":"容量不足怎么办","link":"#容量不足怎么办","children":[]},{"level":2,"title":"通过网页收发邮件","slug":"通过网页收发邮件","link":"#通过网页收发邮件","children":[{"level":3,"title":"通过 QQ 电脑客户端进入企业邮网页","slug":"通过-qq-电脑客户端进入企业邮网页","link":"#通过-qq-电脑客户端进入企业邮网页","children":[]}]},{"level":2,"title":"在移动设备上收发邮件","slug":"在移动设备上收发邮件","link":"#在移动设备上收发邮件","children":[{"level":3,"title":"参数","slug":"参数","link":"#参数","children":[]},{"level":3,"title":"微信","slug":"微信","link":"#微信","children":[]},{"level":3,"title":"苹果自带邮件应用(Mail.app)","slug":"苹果自带邮件应用-mail-app","link":"#苹果自带邮件应用-mail-app","children":[]},{"level":3,"title":"QQ邮箱客户端","slug":"qq邮箱客户端","link":"#qq邮箱客户端","children":[]},{"level":3,"title":"Outlook客户端","slug":"outlook客户端","link":"#outlook客户端","children":[]},{"level":3,"title":"安卓手机通用教程","slug":"安卓手机通用教程","link":"#安卓手机通用教程","children":[]}]},{"level":2,"title":"在计算机上收发邮件","slug":"在计算机上收发邮件","link":"#在计算机上收发邮件","children":[{"level":3,"title":"Windows自带的邮件应用","slug":"windows自带的邮件应用","link":"#windows自带的邮件应用","children":[]},{"level":3,"title":"MacOS自带的邮件应用","slug":"macos自带的邮件应用","link":"#macos自带的邮件应用","children":[]},{"level":3,"title":"Outlook桌面版","slug":"outlook桌面版","link":"#outlook桌面版","children":[]}]},{"level":2,"title":"我想给老师发邮件,但不知道老师的邮箱该怎么办?","slug":"我想给老师发邮件-但不知道老师的邮箱该怎么办","link":"#我想给老师发邮件-但不知道老师的邮箱该怎么办","children":[]},{"level":2,"title":"更多阅读/参考","slug":"更多阅读-参考","link":"#更多阅读-参考","children":[]}],"git":{"updatedTime":1662182259000,"contributors":[{"name":"sparkcyf","email":"sparktour@outlook.com","commits":7},{"name":"liziwl","email":"leezisy@gmail.com","commits":3},{"name":"Yuheng","email":"pass@chenyuheng.cn","commits":2}]},"filePathRelative":"service/email/README.md"}');export{b as comp,x as data}; diff --git a/assets/index.html-w-WI2k6c.js b/assets/index.html-w-WI2k6c.js new file mode 100644 index 000000000..c5ada9855 --- /dev/null +++ b/assets/index.html-w-WI2k6c.js @@ -0,0 +1 @@ +import{_ as s,r as o,o as h,c,b as l,d as e,a as t,w as a,e as n}from"./app-CAXKJsZK.js";const r={},d=l("h1",{id:"👨‍🎓生活在南科",tabindex:"-1"},[l("a",{class:"header-anchor",href:"#👨‍🎓生活在南科"},[l("span",null,"👨‍🎓生活在南科")])],-1),u=l("h2",{id:"住宿",tabindex:"-1"},[l("a",{class:"header-anchor",href:"#住宿"},[l("span",null,"住宿")])],-1),p={class:"hint-container tip"},_=l("p",{class:"hint-container-title"},"宿舍房型图",-1),m=l("li",null,[l("p",null,[l("a",{href:"./dormitory"},"🏠住在南科")]),l("p",null,"包含宿舍概况,位置,房型图等。")],-1),E=l("p",null,"包括新生宿舍、洗衣房介绍,还有一些 tips,由致诚书院大学长团提供。",-1),f=l("h2",{id:"社团",tabindex:"-1"},[l("a",{class:"header-anchor",href:"#社团"},[l("span",null,"社团")])],-1),B=l("p",null,"包括如何选择社团和致诚书院特色社团介绍,由致诚书院大学长团提供。",-1),g=l("h2",{id:"校内介绍",tabindex:"-1"},[l("a",{class:"header-anchor",href:"#校内介绍"},[l("span",null,"校内介绍")])],-1),x=l("p",null,"包括食堂、学习场所、运动场所、活动场所的介绍,由致诚书院大学长团提供。",-1),b=n('

    餐饮

    超市

    ',3),k=n('

    新生宿舍楼下的微喔超市是校内最大的超市,品类也最齐全。

    理发店

    • 教师公寓3栋楼下,可以理发,烫发,旁边是生活服务中心。

    🏊‍♀️运动设施

    介绍校内的所有运动设施,包含地点,开馆时间和简介。

    Tips

    • 出入校门、食堂买饭买水果买饮品、进出宿舍楼等都需要刷校园卡。校门口保安管的比较严格,进出会严查校园卡。学校没有封闭校门时间,随时进出都没问题。但是如果超过晚上十二点进入宿舍大门,要到宿管那里签上名字。
    • 如果打车想要进入学校,在车里朝着保安举一下校园卡,给门口保安展示,保安就会让你进来。
    • 关于校园卡,请参考“校园卡”一节。
    ',8);function v(A,y){const i=o("RouteLink");return h(),c("div",null,[d,u,l("div",p,[_,l("p",null,[e("宿舍房型图可至"),t(i,{to:"/life/dormitory/dorm-floor-plan.html"},{default:a(()=>[e("此页面")]),_:1}),e("查看。")])]),l("ul",null,[m,l("li",null,[l("p",null,[t(i,{to:"/life/by-zhicheng-college/%E6%96%B0%E7%94%9F%E6%94%BB%E7%95%A5%E4%B9%8B%E5%AE%BF%E8%88%8D%E7%94%9F%E6%B4%BB%E7%AF%87.html"},{default:a(()=>[e("新生攻略之宿舍生活篇(2021)")]),_:1})]),E])]),f,l("ul",null,[l("li",null,[l("p",null,[t(i,{to:"/life/by-zhicheng-college/%E6%96%B0%E7%94%9F%E6%94%BB%E7%95%A5%E4%B9%8B%E7%A4%BE%E5%9B%A2%E7%AF%87.html"},{default:a(()=>[e("新生攻略之社团篇(2021)")]),_:1})]),B])]),g,l("ul",null,[l("li",null,[l("p",null,[t(i,{to:"/life/by-zhicheng-college/%E6%96%B0%E7%94%9F%E6%94%BB%E7%95%A5%E4%B9%8B%E6%A0%A1%E5%86%85%E4%BB%8B%E7%BB%8D%E7%AF%87.html"},{default:a(()=>[e("新生攻略之校内介绍篇(2021)")]),_:1})]),x]),l("li",null,[l("p",null,[t(i,{to:"/life/vehicle-charger.html"},{default:a(()=>[e("充电桩分布")]),_:1}),e(":新能源车,两轮电动车,四轮电动车。")])])]),b,l("p",null,[e("湖畔,荔园,欣园,新生宿舍楼下均有超市,具体位置可参考手册首页的"),t(i,{to:"/#%E6%A0%A1%E5%9B%AD%E5%9C%B0%E5%9B%BE"},{default:a(()=>[e("地图")]),_:1}),e("。")]),k])}const z=s(r,[["render",v],["__file","index.html.vue"]]),N=JSON.parse('{"path":"/life/","title":"👨‍🎓生活在南科","lang":"zh-CN","frontmatter":{},"headers":[{"level":2,"title":"住宿","slug":"住宿","link":"#住宿","children":[]},{"level":2,"title":"社团","slug":"社团","link":"#社团","children":[]},{"level":2,"title":"校内介绍","slug":"校内介绍","link":"#校内介绍","children":[]},{"level":2,"title":"餐饮","slug":"餐饮","link":"#餐饮","children":[]},{"level":2,"title":"超市","slug":"超市","link":"#超市","children":[]},{"level":2,"title":"理发店","slug":"理发店","link":"#理发店","children":[]},{"level":2,"title":"🏊‍♀️运动设施","slug":"🏊‍♀️运动设施","link":"#🏊‍♀️运动设施","children":[]},{"level":2,"title":"Tips","slug":"tips","link":"#tips","children":[]}],"git":{"updatedTime":1721642031000,"contributors":[{"name":"sparkcyf","email":"sparktour@outlook.com","commits":7},{"name":"liziwl","email":"leezisy@gmail.com","commits":4},{"name":"Ruan","email":"47767371+Ryyyc@users.noreply.github.com","commits":1},{"name":"lethal233","email":"11811407@mail.sustech.edu.cn","commits":1}]},"filePathRelative":"life/README.md"}');export{z as comp,N as data}; diff --git a/assets/info-on-study.html-B3QFlDfa.js b/assets/info-on-study.html-B3QFlDfa.js new file mode 100644 index 000000000..5d9572d67 --- /dev/null +++ b/assets/info-on-study.html-B3QFlDfa.js @@ -0,0 +1 @@ +import{_ as n,r as a,o as r,c as s,b as t,a as l,w as p,e as o,d as i}from"./app-CAXKJsZK.js";const h="/assets/major-overview-CsDrQ0Z8.png",d="/assets/english-vocabulary-daka-vubeHkoT.png",c="/assets/reader-service-Dp32nGh-.png",g="/assets/database-BOsa4PVe.png",u={},m=o('

    📖学习制度与信息

    包含GPA表、专业概览、选课指导、学习资源、图书馆学习攻略、学籍管理。

    由树德书院学长团整理。

    序言

    经过一个暑假,九月到来之时,大家就要开始在南科大的学习生活啦!我们整理了一些学习制度相关的内容,在正式开始大学生活之前,这一部分的内容尤其重要。由于大学与高中的学习差别比较大,了解这些内容可以帮助大家更好地适应大学的学习生活,调整好自己的学习节奏,制定好自己的长期或短期计划。

    GPA表

    高中和大学最明显的区别就是成绩的构成啦。 南科大有两种计分方式,一种是十三级计分制,一种是二级计分制,具体计分标准看下面:

    十三级计分制(计入GPA)

    等级A+AA-B+BB-C+CC-D+DD-F
    绩点4.003.943.853.733.553.323.092.782.422.081.631.150
    百分 参考97~ 10093~ 9690~ 9287~ 8983~ 8680~ 8277~ 7973~ 7670~ 7267~ 6963~ 6660~ 62<60

    提示

    推荐使用同学开发的网页版GPA计算器快速计算GPA。

    二级计分制(不计入GPA)

    以通过(P,Pass)、不通过(F,Fail)方式记载成绩的课程。成绩为通过的,计入学分,不计入平均学分绩点(GPA);成绩为不通过的,既不计入学分,也不计入平均学分绩点。

    平均学分绩点(GPA)的计算方式

    一门课的学分绩 = 绩点 × 学分数

    平均学分绩点(GPA) = 所修课程学分绩求和 / 所修课程学分数求和

    一个小例子

    高数学分为4,成绩87;大物学分为4,成绩86;JAVA学分为3,成绩91

    高数学分绩 = 3.73×4 = 14.92;大物学分绩 = 3.55×4 = 14.2;JAVA学分绩 = 3.85×3 = 11.55

    GPA =(14.92 + 14.2 + 11.55)÷(4 + 4 + 3)= 3.69727272…

    提示

    大学的成绩和高中不同的是,大学的成绩构成由平时表现和期末考试成绩构成,平时表现包括出勤、作业、presentation等等,每门课第一节课老师都会介绍课程成绩的构成,一定要好好听哦。

    专业概览

    专业概览

    选课指导

    来了南科大,还有一点和高中不一样的是,高中时期课表都是学校安排好的,而在南科大,你需要自己安排好自己的课表。安排课表的时候,需要考虑自己的作息、不同课程的上课地点、一天的课程容量等等,安排课表的时候,可以多多咨询自己的导师和学长学姐们。在这里,我们会简要地介绍一下选课退课的时间安排与流程。

    选课流程:了解培养方案与课程→新生课程初选→导师指导→课程退补选→书院确认

    了解培养方案与课程

    新生来校后将会分发2020****级培养方案,其中不同的专业会有不一样的培养方案与课程建议修读学期,选课前一定要仔细阅读纸质版2020级培养方案哦。

    新生课程初选

    在秋季学期正式开学前一周教务系统将会开放进行选课。春秋季学期选课均采用积分制选课,到时候每个人都会有100分,选课的时候需要将100分进行分配到所选择的各个课进行投注,是对博弈论进行的一场操练哦。每学期选课的总量把握在15-25学分之间**。教务系统具体开放时间将会由教学部学生服务中心发邮件通知。一定要多查看邮件!**

    导师指导

    选课期间可以向书院导师咨询选课意见,后期可以将导师的选课意见填写在导师指导选课意见表中。这也是一个可以跟导师好好交流的机会~

    课程退补选

    春秋季学期的1-3周都是自由退课时间,这段时间可以在教务系统自行退课,成绩单不做记录;同时,退的课将会在对应的课中多出名额,1-3周每天中午13点整将会释放这些名额供学生们进行补选(有时候这样的“抢课”相当激烈,12:59就可以守在电脑前等待释放的名额啦,不失为大学生活的一种乐趣)。

    春秋季学期的4-8周可以到教学工作部学习服务中心进行退课,在此期间退课成绩单上将会记录“W”(Withdrawal退课)。

    第9周起不允许退课。

    附:教学工作部联系方式(选课、加课、打印成绩单、在读证明…)

    办公地点:慧园3栋203、206

    办公时间:周一至周五 上午8:30 - 12:00,下午14:00 - 17:30

    公共邮箱(教学事务):tao@sustech.edu.cn

    学生学习服务邮箱:tao-sls@sustech.edu.cn

    官网:http://tao.sustech.edu.cn/index.html

    一些学习资源

    南科大有很多学习资源!以下会列举一部分,在未来的日子里你们会需要这些哒。

    1. 学生工作部学习中心有针对通识基础必修课的互助课堂,同时,各个书院也有性质类似的学生课堂

    2. 语言中心提供口语、写作辅导、托福、雅思、四六级培训等学习资源。

    3. 各个院系也会组织参观实验室的活动,对某个方向感兴趣的同学也可以主动联系导师申请加入课题组

    4. 南科大图书馆官网网络资源导航:(包括数据库、网络公开课、工具等)

    5. 树德学生会

      • 【学生会·英语单词打卡】

        英语单词打卡

        树德学生会的英语单词打卡旨在通过督促、惩罚、奖励等多种措施,在一个温馨高效的学习氛围里,帮助同学们养成背单词的习惯。

        打卡QQ群:1049298186

      • 【学生会·实验室参观】

        学生会学创部会定期联系各院系各专业,并发布预告,组织一定数量的同学去到该专业。想参加的同学可以报名,听取教授讲解专业知识,进入实验室实践或参观,和学长学姐交流碰撞,更加深层次的了解一个专业。

      • 【学生会·学创刊】

        学创刊是学生会学创部针对同学们需求出品的期刊。包含内容有竞赛消息发布语言学习秘籍公开课程学习指导优秀学长学姐经验访谈等多板块内容,旨在为同学们提供多手资料,帮助大家度过丰富充实的大学四年。

    6. 除了这些资源,身边的老师和同学也是很好的学习资源,有问题可以多向老师同学请教探讨。学习是主动的过程,只有主动才能获取到这些资源鸭。

    图书馆学习攻略

    1. 图书馆是南科大学生平常学习的好地方!进图书馆一定要记得带上校卡刷卡进入哦。

    2. 图书馆的服务时间是周一至周日8:00 - 22:00,疫情期间可能有所变化,开馆时间有任何变化图书馆都会通过发邮件告知大家,大家要记得多查邮箱哦

    3. 琳恩图书馆各个楼层功能:

      一楼:休闲区、报刊区、阅览室、共享学习区、讨论室

      二楼:阅览区、小组活动区

      三楼:电子阅览室、自习区

      提示

      关于一楼的讨论室:在准备做小组presentation的时候可以用到讨论室,讨论室需要上图书馆官网进行预约。

    4. 图书馆有海量的学习资源:图书、数据库、讲座、沙龙,在未来的大学生活中会发挥很大的用处。

    读者服务

    读者服务

    数据库导航

    数据库导航

    附:南科大图书馆新生专栏链接(里面有读者手册,建议大家下载下来好好读一读):

    以上攻略仅供参考,关于图书馆的更多功能和具体信息,首先,你们可以在南科大图书馆官网查看;其次,我们鼓励你们在即将到来的大学生活里自己好好探索一番!

    另外,教学楼的自习室也是学习的好去处。学校的自习室有一教2楼,荔园一栋206、207,荔园二栋304、305。

    学籍管理

    大学的学籍管理制度也与高中有很大的不同,这里我们列出了关于学业的学籍管理制度,更为详细的学籍管理,大家将在学校发的新生学习指导手册中学习到。

    学业警示

    1. 一学期取得的学分未达到9学分***(前文有提到,一学期建议选课控制在15-25分之间~)***;
    2. 一学期通过的同时理工基础课或专业必修课合计未达到两门者(此两类课程已满足培养方案要求的除外)(这就是好好读培养方案的重要性所在啦)

    强制休学

    连续两个学期GPA低于1.5者(进入毕业年级除外)。

    退学

    在读期间第三次受到学业警示者。

    关于考试与成绩

    1. 不及格重修记录:成绩不及格的课程可以重修,不及格成绩和重修成绩都要记录在成绩单中,取最高的成绩计入GPA;

      ​ √必修课不及格必须重修且不可免听

      ​ √选修课不及格可以选择不重修

    2. 旷考:旷考成绩按0分记录在成绩单上,计入GPA,重修后以实际成绩记载,计入GPA,两次成绩均计入GPA;

    3. 违纪重修:违纪课程按0分记录在成绩单上,计入GPA;该科重修成绩按照最高60分记录在成绩单上,计入GPA,两次成绩均计入GPA;

    4. 缓考:特殊情况包括出国交流、参加学科竞赛活动、突发疾病不能参加考试,需在指定日期内申请缓考,申请成功后可参加缓考补考。

    由此可见,旷考和违纪重修的后果非常严重,无论如何都不能做违纪的事情;同时。考试的时间一定要记得,建议考试时间可以舍友之间互相告知,同时设置好闹铃,以防因为睡过头而错过考试时间等遗憾发生。

    参考资料:教学工作部《新生学习指导手册》

    继续阅读...

    ',54);function b(f,k){const e=a("RouteLink");return r(),s("div",null,[m,t("ul",null,[t("li",null,[l(e,{to:"/study/by-shude-college/advice-on-study.html"},{default:p(()=>[i("学习建议(包括暑假学习建议、大学学习准备、入学考试准备、个人提升。)")]),_:1})])])])}const v=n(u,[["render",b],["__file","info-on-study.html.vue"]]),A=JSON.parse('{"path":"/study/by-shude-college/info-on-study.html","title":"📖学习制度与信息","lang":"zh-CN","frontmatter":{"sidebar":"auto"},"headers":[{"level":2,"title":"序言","slug":"序言","link":"#序言","children":[]},{"level":2,"title":"GPA表","slug":"gpa表","link":"#gpa表","children":[{"level":3,"title":"十三级计分制(计入GPA)","slug":"十三级计分制-计入gpa","link":"#十三级计分制-计入gpa","children":[]},{"level":3,"title":"二级计分制(不计入GPA)","slug":"二级计分制-不计入gpa","link":"#二级计分制-不计入gpa","children":[]},{"level":3,"title":"平均学分绩点(GPA)的计算方式","slug":"平均学分绩点-gpa-的计算方式","link":"#平均学分绩点-gpa-的计算方式","children":[]}]},{"level":2,"title":"专业概览","slug":"专业概览","link":"#专业概览","children":[]},{"level":2,"title":"选课指导","slug":"选课指导","link":"#选课指导","children":[{"level":3,"title":"了解培养方案与课程","slug":"了解培养方案与课程","link":"#了解培养方案与课程","children":[]},{"level":3,"title":"新生课程初选","slug":"新生课程初选","link":"#新生课程初选","children":[]},{"level":3,"title":"导师指导","slug":"导师指导","link":"#导师指导","children":[]},{"level":3,"title":"课程退补选","slug":"课程退补选","link":"#课程退补选","children":[]}]},{"level":2,"title":"一些学习资源","slug":"一些学习资源","link":"#一些学习资源","children":[{"level":3,"title":"图书馆学习攻略","slug":"图书馆学习攻略","link":"#图书馆学习攻略","children":[]}]},{"level":2,"title":"学籍管理","slug":"学籍管理","link":"#学籍管理","children":[]},{"level":2,"title":"继续阅读...","slug":"继续阅读","link":"#继续阅读","children":[]}],"git":{"updatedTime":1626178001000,"contributors":[{"name":"sparkcyf","email":"sparktour@outlook.com","commits":5},{"name":"liziwl","email":"leezisy@gmail.com","commits":1}]},"filePathRelative":"study/by-shude-college/info-on-study.md"}');export{v as comp,A as data}; diff --git a/assets/innovative-project.html-Bf9LqWkH.js b/assets/innovative-project.html-Bf9LqWkH.js new file mode 100644 index 000000000..4f69752dd --- /dev/null +++ b/assets/innovative-project.html-Bf9LqWkH.js @@ -0,0 +1 @@ +import{_ as t,o as d,c as r,e}from"./app-CAXKJsZK.js";const a={},i=e('

    南方科技大学计算机系创新实践项目汇总

    本仓库的目的是为后续同学们选择自己的创新实践导师做参考,欢迎大家贡献每年的创新实践情况,文件按照导师组进行分类,从而帮助同学们快速确定导师研究方向新增条目格式如下

    年份项目名称组员数
    2022年春基于transformer的时序预测2

    请提交时按照上述格式添加新的条目,方向条目可以不填(如果不清楚的话)。

    由于本仓库依靠开源贡献更新,如存在任何问题请直接在仓库中的issue板块提出问题,我们将会及时更正

    目录

    项目汇总

    Alia Asheralieva

    年份项目名称组员数
    2022年秋Modelling and Simulation of Blockchains for Internet of Things (IoT) Applications
    2022年秋Mitigating Stragglers’ Effect In Distributed System3

    Georgios Theodoropoulos

    年份项目名称组员数
    2022年秋Image processing Deep Neural Networks inference performance on the edge
    2022年秋Model management in Digital Twins
    2022年秋Self-aware and self-adaptive Digital Twins with agent-based modelling

    Hisao Ishibuchi

    年份项目名称组员数
    2022年春无人机路径规划的多目标优化及仿真3
    2022年秋基于NAS和Transformer的超体积近似3
    2022年秋多目标强化学习在机器人控制问题中的研究与应用2
    2022年秋基于元学习指导代理模型的演化多目标贵重优化算法设计3
    2022年秋少样本学习中的任务异质性问题的多目标解法
    2022年秋面向大规模多目标问题的基于无上界外部档案的高性能进化算法设计
    2022年秋多目标优化算法集成框架设计

    Shin Hwei Tan

    年份项目名称组员数
    2022年春LaTeX错误修复2
    2022年春对GUI 测试用例的自动修复与更新工具的研究3
    2022年秋GUI 测试用例的自动修复与更新
    2022年秋基于Pull Request的自动维护系统
    2022年秋面向初学者的代码审查
    2022年秋协作测试的增量分析研究
    2022年秋面向自动审稿系统的研究

    程然

    年份项目名称组员数
    2022年春可并行分布式多目标遗传算法与演化计算平台2
    2022年春面向边端部署的多目标深度神经网络架构优化算法设计3
    2022年春面向不完全信息博弈游戏的演化强化学习算法3
    2022年秋面化深度学习边缘部署的神AutoML开源平台研发2
    2022年秋基于深度学习的宽体客机机翼形状设计与优化2
    2022年秋基于多模态转换的超临界翼型到流场信息的双向映射2
    2022年秋脉冲神经网路结构研究3

    陈杉

    年份项目名称组员数
    2022年秋端到端加密通信3
    2022年秋免密码认证2
    2022年秋区块链共识机制3

    陈馨慧

    年份项目名称组员数
    2022年秋GUI测试用例的自动修复与更新2
    2022年秋面向初学者的代码审查2
    2022年秋自动修复GUI 测试用例工具的研究2

    郝祁

    年份项目名称组员数
    2022年春3D自动标注3
    2022年春Cross-Domain Transfer Learning for 2D&3D Object Detection2
    2022年春车路协同三维高逼真度仿真3
    2022年春基于对抗网络的自动驾驶场景生成3
    2022年春野外机器人实时定位与建图3
    2022年秋自动驾驶感知系统自主演化研究
    2022年秋自动驾驶地图的自动高精建模
    2022年秋面向L3级自动驾驶系统开发与验证
    2022年秋面向自动驾驶数据集的场景多样性分析
    2022年秋基于对抗网络的自动驾驶场景生成5
    2022年秋自动驾驶数据间域适应性研究
    2022年秋面向自动驾驶的联合目标检测与跟踪
    2022年秋基于CARLA仿真器的泛用型仿真数据集采集工具3
    2022年秋南科大工学院地库真实交通流数据采集及其在CARLA仿真器上的回放
    2022年秋基于UE4引擎的程序化生成技术的地库仿真地图生成3
    2022年秋图像数据隐私保护3
    2022年秋仿真数据采集工具1
    2022年秋高精地图的CG渲染技术的初步探索2
    2022年秋基于CARLA的车辆仿真与检测3
    2022年秋基于分布式技术的高性能自动驾驶仿真器技术研发2
    2022年秋面向自动驾驶仿真与真实场景间域适应性分析3
    2022年秋自动驾驶数据集的视图修复与合成3

    李卓钊

    年份项目名称组员数
    2022年春A comprehensive study of message queue systems3
    2022年春MACHINE LEARNING BASED QUEUING TIME PREDICTION OF BATCH SCHEDULER ON SUPERCOMPUTERS3
    2022年秋Automatically optimizing HPL and HPCG Benchmarks on Supercomputers
    2022年秋A Comprehensive Study of Parallel File Systems for Supercomputers
    2022年秋Benchmarking the performance of multi instance GPU technology of A100 GPUs3
    2022年秋Benchmarking the Performance of Applications within Singularity and Docker Containers3
    2022年秋An Exploration on Various Optimization Techniques to Accelerate Deep Learning Model Training
    2022年秋计算中心计费系统前端页面开发实践3
    2022年秋计算中心用户管理系统开发实践3

    刘江

    年份项目名称组员数
    2022年春白内障智能诊断与筛查系统3
    2022年春辅助临床诊断的超声心动图分析系统3
    2022年春基于CSSO图像的关键参数提取及脑疾病预测研究2
    2022年春基于OCT图像的虹膜快速标注系统2
    2022年春基于超分辨的眼科病灶提取算法2
    2022年春基于多领域数据的白内障手术视频分析3
    2022年春基于跨模态学习的甲骨文识别系统的研发2
    2022年春基于轻量级神经网络架构的致盲性眼病识别技术研究2
    2022年春基于深度学习的显微镜手术器械图片的深度预测2
    2022年春基于深度学习的医学图像配准3
    2022年春基于手术显微镜的视频深度估计3
    2022年春基于医生知识引导的眼底多疾病诊断模型研究2
    2022年春角膜内皮细胞健康状况评估系统2
    2022年秋基于二维眼底照的OCT三维重建3
    2022年秋基于视频处理和深度学习技术,实现手术场景的目标跟踪
    2022年秋基于视频处理和深度学习技术,实现手术场景下的手术器械深度估计
    2022年秋基于深度学习的眼底多模态图像配准2
    2022年秋基于图像与视频处理技术,实现跨域数据的手术视频分析
    2022年秋基于图像处理和深度学习技术,实现图像翻译的手术影像生成3
    2022年秋基于图像处理和深度学习技术,实现白内障患者眼底影像增强系统3
    2022年秋基于图像处理和深度学习技术,辅助心脏临床诊断的超声心动图分析系统框架
    2022年秋基于图像处理和深度学习技术,实现大脑内部颅内动脉瘤自动检测与辅助分析3
    2022年秋基于图像处理和深度学习技术,实现基于MRI影像的视神经三维重建方法研究3
    2022年秋基于图像处理和深度学习技术,实现基于OCT影像组学特征的脑疾病分类研究
    2022年秋基于图像处理技术和眼动分析技术,实现基于医学知识引导的眼底疾病早期AI诊断
    2022年秋基于图像超分辨和深度学习技术,实现眼科病灶提取精准算法
    2022年秋基于图像处理技术及深度学习模型迁移技术,进行眼科病灶与结构提取的OOD算法研究3
    2022年秋基于多媒体技术,进行智能甲骨文识别系统研究
    2022年秋基于多媒体技术,进行下角山与三星堆智能考古可视化系统研究
    2022年秋基于多媒体技术,进行元宇宙场景下的虚拟交互手术模拟系统研发
    2022年秋基于图像处理和深度学习技术,开发结合不确定性信息的眼科角膜内皮细胞量化分析系统
    2022年秋基于图像处理和深度学习技术,研发眼结构中面向环扫影像的多结构分割智能系统
    2022年秋基于图像处理和深度学习技术,进行眼科形状先验信息在睫状肌分割中的研究
    2022年秋基于图像处理和深度学习技术,构建眼科OCT图像的虹膜快速标注系统
    2022年秋基于图像处理和深度学习技术,构建眼科ASOCT图像噪声以及不匹配数据的图像去噪算法研究
    2022年秋基于图像处理和深度学习技术,开发少标签情况下的医疗图像分割
    2022年秋基于图像处理和深度学习技术,开发多任务场景下的医疗图像分析系统
    2022年秋基于图像处理和深度多任务学习的眼科疾病诊断算法研究
    2022年秋Weakly supervised segmentation of fundus images based on gaze-map2
    2022年秋白内障智能诊断和筛查系统3
    2022年秋辅助临床诊断的超声心动图分析系统框架3
    2022年秋基于非配对数据的眼前节光学相干断层图像去噪2
    2022年秋基于高效卷积神经网络的致盲性眼病筛查与诊断系统研发3
    2022年秋基于跨模态学习的甲骨文识别系统的研发3
    2022年秋基于图像翻译的手术影像生成3
    2022年秋开发一种鲁棒的结合transformer的角膜内皮细胞分割backbone3
    2022年秋智能古玉产器地识别系统研发2

    刘佳琳

    年份项目名称组员数
    2022年秋Procedural content generation1
    2022年秋多智体智能决策问题
    2022年秋策略多样性3
    2022年秋基于Rolling Horizon演化算法的游戏玩家建模
    2022年秋Procedural 3D-scenario Generation3
    2022年秋基于多目标演化学习的具有多维多样性的游戏关卡生成3
    2022年秋基于强化学习和质量多样性算法的策略多样性生成1
    2022年秋室内场景的程序化生成3

    刘烨庞

    年份项目名称组员数
    2022年春adaptive random testing for web application3
    2022年春Automated Android Testing2
    2022年春Detecting webassembly VM vulnerabilities via fuzz testing2
    2022年春Testing deep learning based code generators3
    2022年秋基于华为云的安卓应用静态分析微服务架构3
    2022年秋安卓应用API静态兼容性分析3
    2022年秋Android third-party library detection3
    2022年秋硬件与软件能耗问题相关研究
    2022年秋API-Extraction-Analysis3
    2022年秋Application of software test method in random content generation of game scene2
    2022年秋Automated Android Testing2
    2022年秋Detecting webassembly vm vulnerabilities via fuzz testing2
    2022年秋JIT Method Rename3
    2022年秋安卓应用API兼容性问题静态分析技术研究3
    2022年秋变脸app检测3
    2022年秋机器学习模型公平性提升方法的研究2
    2022年秋软件供应链复用组件中license冲突的问题2

    马昱欣

    年份项目名称组员数
    2022年春社交网络数据可视分析2
    2022年秋数据可视化作品设计——地理信息可视化3
    2022年秋数据可视化作品设计——英雄联盟职业联赛数据分析3
    2022年秋数据可视化作品设计——足球数据分析3
    2022年秋数据可视化作品设计——科幻与社会现实3
    2022年秋基于数据可视化的课程教学系统开发3
    2022年秋可解释深度学习系统开发3
    2022年秋可视分析中的情境信息框架
    2022年秋面向虚假新闻检测的可视分析框架

    史玉回

    年份项目名称组员数
    2022年春Automated Solver Design for Real-World Problems2
    2022年春Self-supervised Learning based Device-cloud Collaborative Learning For Recommender System3
    2022年春Visualization Platform for 3D Swarm Robotics Simulator3
    2022年秋视频背景音乐推荐系统3
    2022年秋视频人脸置换系统3
    2022年秋群体无人系统仿真平台
    2022年秋虚拟机器人辅助的群体机器人动态目标追捕
    2022年秋AUTOMATED SOLVER DESIGN FOR REAL-WORLD PROBLEMS2
    2022年秋Visualization Platform for 3D Swarm Robotics Simulator2
    2022年秋基于不同特征的电影分类3
    2022年秋基于自监督学习的设备与云协同推荐系统2

    宋轩

    年份项目名称组员数
    2022年春Causality Inference in Irregular Trafic Flow Prediction3
    2022年春POI兴趣点的可视化系统搭建3
    2022年春UNITY AR的智慧城市研究与开发2
    2022年春地铁智慧调度优化中不同增强学习方法的表现分析3
    2022年春基于Hololens2的AR应用搭建2
    2022年春基于深度强化学习的产品生产价值链物资动态调度方法3
    2022年春基于图神经网络的OD流异常检测2
    2022年春基于位置的社交网络中的超边预测3
    2022年春基于虚拟现实的仿真校园中的疫情模拟3
    2022年春面向交通流数据的深度表示学习2
    2022年春数字孪生模拟系统搭建3
    2022年秋城市人流数字孪生系统3
    2022年秋基于超图知识图谱的基于社交网络的签到数据建模
    2022年秋基于因果图的异常人流建模3
    2022年秋基于元学习的时空数据预测3
    2022年秋时间序列数据的不确定性表征学习3
    2022年秋基于Transformer的长期时间序列预测3
    2022年秋Personalized Federate Learning of Trajectory Prediction3
    2022年秋Study of semantic trajectory compression
    2022年秋The study of building rooftop angle estimation
    2022年秋基于人工智能算法的产品生命周期管控方法研究3
    2022年秋基于深度学习模型的产品价值链因果推断研究
    2022年秋物联网大数据平台设计及关键技术研究2
    2022年秋基于人工智能算法的校园欺凌防控方法研究3
    2022年秋AR陶片博物馆
    2022年秋3D模型贴图的风格迁移3
    2022年秋AR博物馆向导开发3
    2022年秋Knowledge graph based POI recommendation system2
    2022年秋Life-pattern Complementation: Towards Handling Sparse Mobile Phone Mobility Data2
    2022年秋基于轨道数据的电动出租车充放电供需分析与可视化系统开发3
    2022年秋基于弧形CAD wall墙幕影院的裸眼VR开发3
    2022年秋基于区块链数据的图神经网络建模分析及可视化2
    2022年秋基于手机数据的智慧城市能耗排放感知与可视化3
    2022年秋双曲空间基于超图的社交网络签到数据建模2

    唐博

    年份项目名称组员数
    2022年春cost optimization in graph2
    2022年春RGB image guided depth map super resolution3
    2022年春多FPGA系统中时分复用分配算法设计与优化3
    2022年春基于Hologres的新型时空数据索引结构3
    2022年春云原生数据库logstore 原型系统实现3
    2022年春云原生数据库多租户资源调度原型验证3
    2022年秋Batch Influence Maximization2
    2022年秋EPOD: an edge-resident framework for proximity based outlier detection3
    2022年秋Modeling Noisy labels for Facial Expression Recognition3
    2022年秋Testbed for Edge-based Data Analytics(TEDA)3
    2022年秋面向时序有向无环图(TDAG)的可视化研究3
    2022年秋文字到海报的端到端生成2
    2022年秋芯片仿真超图多层分割算法设计及优化2
    2022年秋Identifying seed friends for influence maximization3

    唐珂

    年份项目名称组员数
    2022年春面向旅行商问题的神经网络求解器复现及泛化性能测试2
    2022年秋Predicting the stock market by machine learning3
    2022年秋Building Investment Portfolios by Machine Learning2
    2022年秋Predicting the stock market by machine learning3
    2022年秋基于深度学习的旅行商问题求解器加速技术研究3
    2022年秋基于神经组合优化的限量弧路由技术研究2
    2022年秋面向推荐系统的知识图谱质量评估3

    唐茗

    年份项目名称组员数
    2022年秋去中心化联邦学习系统搭建
    2022年秋分层联邦学习系统搭建
    2022年秋基于区块链的数据买卖系统实现
    2022年秋分布式推理系统搭建2
    2022年秋分层联邦学习2
    2022年秋基于区块链的数据买卖系统实现3
    2022年秋去中心化联邦学习的拓扑结构研究3
    2022年秋去中心化联邦学习系统搭建3

    唐晓颖

    年份项目名称组员数
    2022年春research on unsupervised multi target domain adaptation with application to retinal structure segmentation on various eye images3
    2022年秋Long-tailed multi-label medical image classification and disease recognition3
    2022年秋RESEARCH ON SUPERVISED AND UNSUPERVISED RETINAL OCTA QUALITY ASSESSMENT3

    王琦

    年份项目名称组员数
    2022年秋纠错编码在分布式存储系统中的仿真实现
    2022年秋全同态加密机制的应用与实现5

    危学涛

    年份项目名称组员数
    2022年秋基于AI的美食图片生成系统
    2022年秋内部文件泄漏追踪系统
    2022年秋唐诗宋词配乐系统
    2022年秋探索“网红”IP价值边界之谜
    2022年秋文物数字修复美颜系统
    2022年秋JAVA作业代码所有者确认技术
    2022年秋不同图片生成模型的性能比较2

    杨鹏

    年份项目名称组员数
    2022年秋证券市场仿真研究3

    杨双华

    年份项目名称组员数
    2022年春可变方向的安全隔离网关开发3

    姚新

    年份项目名称组员数
    2022年春大规模含不确定性的复杂车辆调度问题的降维2
    2022年春室内场景的程序化生成2
    2022年秋多目标优化中的目标不平衡问题及其研究
    2022年秋机器学习中的公平性问题及其研究
    2022年秋基于经验的优化2
    2022年秋Multi-objective Facility Layout(多目标设施选址问题)
    2022年秋实现自动驾驶数据集上的基于RPN的目标检测算法
    2022年秋考虑类不平衡(进化)的在线分类问题的研究
    2022年秋实现针对软件故障预测的数据提取的SZZ算法。后续将据此进行基于机器学习的软件缺陷预测研究
    2022年秋Online deep learning
    2022年秋脉冲神经网络硬件实现相关:Brain-inspired learning algorithm design and hardware implementation for spiking neural network based on neuromorphic devices
    2022年秋类脑智能硬件架构设计相关:Brain-inspired hardware architecture design based on self-aware and self-expressive computing system by drawing on the advantages of neuromorphic devices
    2022年秋机器学习模型性能评估:Failure prediction (or performance prediction) for deep neural networks by learning auxiliary models
    2022年秋不同数据集间差异/相似性分析:Analyzing the difference/similarity between two datasets through explainable approaches2
    2022年秋演化强化学习研究
    2022年秋量化交易策略研究
    2022年秋面向自然语义的小样本时序数据增强对比学习
    2022年秋基于GAN的时序数据生成
    2022年秋针对开放大模型API的语义一致性测试工具
    2022年秋感知异常修复技术
    2022年秋智能小警车围堵贼车3
    2022年秋智能小车高速依据轨迹巡航
    2022年秋形式化验证体系与工具链
    2022年秋功能安全风险评价建模与工具
    2022年秋机械臂/机器人仿真平台
    2022年秋智能推理中推理路径的自动发现与高效推理算法研究
    2022年秋云服务可靠性正向设计优化
    2022年秋机器学习组合优化方法的泛化性研究2
    2022年秋Evolutionary Workflow Scheduling in the Cloud2

    于仕琪

    年份项目名称组员数
    2022年春An Automatic Scoring System for Taekwondo3
    2022年春VR手柄光点检测2
    2022年春农业采摘机器人3
    2022年春扫地机器人的SLAM建图和自动回充功能的实现2
    2022年春无人机的识别与跟踪2
    2022年秋Point Cloud Compression2
    2022年秋采用DNN的目标检测模型训练3
    2022年秋基于深度相机的机器狗手势控制系统3
    2022年秋视频风格化3
    2022年秋柚子位姿矫正机器人3

    余剑峤

    年份项目名称组员数
    2022年春基于叙事的2d战旗游戏3
    2022年春游戏开发实践2
    2022年春主流社交平台的情感比较分析2
    2022年秋基于叙事的2D战棋游戏3
    2022年秋结合模拟经营的战棋RPG开发2
    2022年秋游戏制作实践2

    袁博

    年份项目名称组员数
    2022年秋基于强化学习的数字微流控芯片液滴路径规划3

    张锋巍

    年份项目名称组员数
    2022年春arm secure EL22
    2022年春TEE+Blockchain2
    2022年春Verification of TEE3
    2022年春基于硬件辅助的并发漏洞探测工具2
    2022年秋GPU可信执行环境
    2022年秋Arm云平台的“钉枪”攻击
    2022年秋RISC-V安全指令设计与实现3
    2022年秋Arm 安全虚拟化研究3
    2022年秋基于ARM架构的软硬件协同恶意软件分析与对抗技术2
    2022年秋Nailgun Attack
    2022年秋TEE_SEL22

    张建国

    年份项目名称组员数
    2022年春基于动态增强影像的自监督分割研究2
    2022年秋深度学习模型的特征重要性分析方法总结与探究
    2022年秋基于标签噪声的深度学习分割模型总结与探究
    2022年秋基于深度学习的生成模型的智能药物挖掘方法
    2022年秋基于深度学习检测及分割方法的月表撞击坑识别方法
    2022年秋医学影像的联邦学习研究
    2022年秋基于多模态数据的非模态分割研究
    2022年秋Transformer模型的知识蒸馏
    2022年秋深度学习中的不确定性研究
    2022年秋分布外样本(异常样本输入)检测3
    2022年秋生物医学影像分析开源挑战赛
    2022年秋计算机视觉和机器学习中的学生自选课题

    张进

    年份项目名称组员数
    2022年春基于机器学习的无门槛便携吉他2
    2022年春基于声波的接听电话手势感知3
    2022年春基于声波的设备间距离测量3
    2022年秋Acoustic Eavesdropping on Loudspeakers via mmWave-characterized Piezoelectric Effect3
    2022年秋对区块链中最大可抽取价值的研究
    2022年秋对区块链协议中通信模式的研究
    2022年秋基于帧差法的实时视频分析系统3
    2022年秋基于压电薄膜的电子听诊器
    2022年秋Continuous Wrist PPG-based Blood Pressure Measurement
    2022年秋SpiralSpy: Exploring a Stealthy and Practical Covert Channel to Attack Air-gapped Computing Devices via mmWave Sensing
    2022年秋基于PPG的手势识别或追踪1?
    2022年秋基于毫米波雷达的结构健康监测
    2022年秋基于振动信号的交互设计
    2022年秋基于毫米波的双功能系统
    2022年秋基于深度强化学习的全向智能超表面辅助通信系统优化设计
    2022年秋Efficient Volumetric Video Streaming with Edge Computing3
    2022年秋Non-Line-of-Sight Detection and Tracking In-the-Wild Using Doppler Radar3
    2022年秋swin transformer v2 图像分类任务2
    2022年秋swin transformer v2模型迁移中的图像分割和目标检测任务2

    张殷乾

    年份项目名称组员数
    2022年春Wasmtime in TEE2
    2022年春基于RUST的TEE操作系统2
    2022年春基于Rust与TEE开发云服务的安全服务2
    2022年春基于TEE架构的操作系统2
    2022年春可信执行环境在安全多方计算中的应用2
    2022年秋机密区块链2
    2022年秋基于Rust的TEE操作系统4
    2022年秋分布式系统/协议的形式化验证2
    2022年秋TEE-aided MPC System Design
    2022年秋BFT Security Analysis and Design Based on Game Theory2
    2022年秋智能合约漏洞分析
    2022年秋基于程序分析的TEE OS接口安全性分析2
    2022年秋适用于机密云计算场景的可信虚拟化TPM2
    2022年秋移植rCore到SEV机密虚拟机2
    2022年秋Confidential Blockchains2
    2022年秋可信执行环境在安全多方计算中的应用2

    张宇

    年份项目名称组员数
    2022年春a new methodology about generative model3
    2022年春基于DSMAP的多模态风格迁移2
    2022年春基于深度学习的推荐系统2
    2022年秋Recommendation based on Multi-Task Learning3
    2022年秋推荐系统模型的泛化提升3
    2022年秋基于深度学习的语音克隆2

    张煜群

    年份项目名称组员数
    2022年春Exploratory Study of Hybrid Fuzzing based on Concolic Execution2
    2022年春An empirical study of concoloc execution engine2
    2022年春探索污点分析对模糊测试的改进2
    2022年春针对Java虚拟机的即时编译系统的模糊测试技术2
    2022年秋Rust语言的安全性实证研究2
    2022年秋可载入内核模块的模糊测试研究
    2022年秋基于搜索的符号执行方法研究
    2022年秋基于软件成分分析的风险排查2
    2022年秋目标导向的模糊测试研究2
    2022年秋基于AI模型神经元激活率的数据集构建研究
    2022年秋对模糊测试中种⼦调度算法的研究
    2022年秋Accurate Fuzzing Instructed by Constraint Traits2
    2022年秋基于静态程序分析的应用包体积缩减方法探究及研发2
    2022年秋针对异构计算设备的程序优化及任务调度3

    郑锋

    年份项目名称组员数
    2022年春广告场景中的视频剪辑2
    2022年春机器人点云障碍物识别和跟踪3
    2022年春基于文本目标跟踪3
    2022年春跨媒体检索任务3
    2022年春视觉问答任务2
    2022年春小视频自动配乐3
    2022年秋Generic Event Boundary Detection, Captioning and Grounding2
    2022年秋Video Grounding2
    2022年秋多模态无人机视觉平台搭建3
    2022年秋基于联邦学习的瑕疵检测2
    2022年秋基于文本目标跟踪3
    2022年秋跨媒体检索任务3
    2022年秋面向转产场景陶瓷釉面微弱瑕疵检测算法研究2
    2022年秋三维点云物品的识别3
    2022年秋小视频自动配乐3
    ',76),h=[i];function l(n,o){return d(),r("div",null,h)}const c=t(a,[["render",l],["__file","innovative-project.html.vue"]]),b=JSON.parse('{"path":"/study/cse/innovative-project.html","title":"南方科技大学计算机系创新实践项目汇总","lang":"zh-CN","frontmatter":{},"headers":[{"level":2,"title":"目录","slug":"目录","link":"#目录","children":[]},{"level":2,"title":"项目汇总","slug":"项目汇总","link":"#项目汇总","children":[{"level":3,"title":"Alia Asheralieva","slug":"alia-asheralieva","link":"#alia-asheralieva","children":[]},{"level":3,"title":"Georgios Theodoropoulos","slug":"georgios-theodoropoulos","link":"#georgios-theodoropoulos","children":[]},{"level":3,"title":"Hisao Ishibuchi","slug":"hisao-ishibuchi","link":"#hisao-ishibuchi","children":[]},{"level":3,"title":"Shin Hwei Tan","slug":"shin-hwei-tan","link":"#shin-hwei-tan","children":[]},{"level":3,"title":"程然","slug":"程然","link":"#程然","children":[]},{"level":3,"title":"陈杉","slug":"陈杉","link":"#陈杉","children":[]},{"level":3,"title":"陈馨慧","slug":"陈馨慧","link":"#陈馨慧","children":[]},{"level":3,"title":"郝祁","slug":"郝祁","link":"#郝祁","children":[]},{"level":3,"title":"李卓钊","slug":"李卓钊","link":"#李卓钊","children":[]},{"level":3,"title":"刘江","slug":"刘江","link":"#刘江","children":[]},{"level":3,"title":"刘佳琳","slug":"刘佳琳","link":"#刘佳琳","children":[]},{"level":3,"title":"刘烨庞","slug":"刘烨庞","link":"#刘烨庞","children":[]},{"level":3,"title":"马昱欣","slug":"马昱欣","link":"#马昱欣","children":[]},{"level":3,"title":"史玉回","slug":"史玉回","link":"#史玉回","children":[]},{"level":3,"title":"宋轩","slug":"宋轩","link":"#宋轩","children":[]},{"level":3,"title":"唐博","slug":"唐博","link":"#唐博","children":[]},{"level":3,"title":"唐珂","slug":"唐珂","link":"#唐珂","children":[]},{"level":3,"title":"唐茗","slug":"唐茗","link":"#唐茗","children":[]},{"level":3,"title":"唐晓颖","slug":"唐晓颖","link":"#唐晓颖","children":[]},{"level":3,"title":"王琦","slug":"王琦","link":"#王琦","children":[]},{"level":3,"title":"危学涛","slug":"危学涛","link":"#危学涛","children":[]},{"level":3,"title":"杨鹏","slug":"杨鹏","link":"#杨鹏","children":[]},{"level":3,"title":"杨双华","slug":"杨双华","link":"#杨双华","children":[]},{"level":3,"title":"姚新","slug":"姚新","link":"#姚新","children":[]},{"level":3,"title":"于仕琪","slug":"于仕琪","link":"#于仕琪","children":[]},{"level":3,"title":"余剑峤","slug":"余剑峤","link":"#余剑峤","children":[]},{"level":3,"title":"袁博","slug":"袁博","link":"#袁博","children":[]},{"level":3,"title":"张锋巍","slug":"张锋巍","link":"#张锋巍","children":[]},{"level":3,"title":"张建国","slug":"张建国","link":"#张建国","children":[]},{"level":3,"title":"张进","slug":"张进","link":"#张进","children":[]},{"level":3,"title":"张殷乾","slug":"张殷乾","link":"#张殷乾","children":[]},{"level":3,"title":"张宇","slug":"张宇","link":"#张宇","children":[]},{"level":3,"title":"张煜群","slug":"张煜群","link":"#张煜群","children":[]},{"level":3,"title":"郑锋","slug":"郑锋","link":"#郑锋","children":[]}]}],"git":{"updatedTime":null,"contributors":[]},"filePathRelative":"study/cse/innovative-project.md"}');export{c as comp,b as data}; diff --git a/assets/interior-ohhk0qCC.jpg b/assets/interior-ohhk0qCC.jpg new file mode 100644 index 000000000..ce8ee1c9c Binary files /dev/null and b/assets/interior-ohhk0qCC.jpg differ diff --git a/assets/ios-DIyJ0w6e.png b/assets/ios-DIyJ0w6e.png new file mode 100644 index 000000000..cdb6c4551 Binary files /dev/null and b/assets/ios-DIyJ0w6e.png differ diff --git a/assets/major-overview-CsDrQ0Z8.png b/assets/major-overview-CsDrQ0Z8.png new file mode 100644 index 000000000..7a9a65daf Binary files /dev/null and b/assets/major-overview-CsDrQ0Z8.png differ diff --git a/assets/matlab-DqD36KYU.png b/assets/matlab-DqD36KYU.png new file mode 100644 index 000000000..4b5675cb0 Binary files /dev/null and b/assets/matlab-DqD36KYU.png differ diff --git a/assets/matlab1-Dt0QCjJN.png b/assets/matlab1-Dt0QCjJN.png new file mode 100644 index 000000000..05cdf0d30 Binary files /dev/null and b/assets/matlab1-Dt0QCjJN.png differ diff --git a/assets/matlab2-B1WnLRGG.png b/assets/matlab2-B1WnLRGG.png new file mode 100644 index 000000000..da5a34f52 Binary files /dev/null and b/assets/matlab2-B1WnLRGG.png differ diff --git a/assets/online-verification-12306-BEUU626P.jpg b/assets/online-verification-12306-BEUU626P.jpg new file mode 100644 index 000000000..10f38a180 Binary files /dev/null and b/assets/online-verification-12306-BEUU626P.jpg differ diff --git a/assets/paper-tools.html-NZ0vPFXW.js b/assets/paper-tools.html-NZ0vPFXW.js new file mode 100644 index 000000000..7f4995964 --- /dev/null +++ b/assets/paper-tools.html-NZ0vPFXW.js @@ -0,0 +1 @@ +import{_ as e,o as a,c as t,e as r}from"./app-CAXKJsZK.js";const l={},n=r('

    几个赶 ddl 的好用工具🔧

    赶 ddl 的朋友们,你们还好吗? 接下来,我来推荐几个赶 ddl,写论文的好用工具🔧

    Google Translate 翻译器

    https://translate.google.com

    国际大厂出品,用过都知道。

    DeepL Translate 翻译器

    https://www.deepl.com/translator

    好用,长句翻译有时优于谷歌翻译。

    Grammarly (英文)语法检查器

    https://www.grammarly.com

    一键检查,10000字的论文也不用担心自己语法问题啦。

    多语言支持语法检查器

    秘塔写作猫 (中文)语法检查器

    https://xiezuocat.com/

    同样是一键检查,针对中文特别优化。

    QuillBot 同义转写

    https://quillbot.com/

    一个直接帮你 paraphrase,妈妈再也不用担心我降重啦。

    Mybib 参考格式化

    https://www.mybib.com/

    Reference 一键式操作,什么 GBT 7714-2015,APA,IEEE 格式都支持。

    Turnitin 查重

    https://www.turnitin.com/

    查重必备,并且南科大图书馆已购买该服务,可申请免费使用。

    ',25),o=[n];function s(p,i){return a(),t("div",null,o)}const c=e(l,[["render",s],["__file","paper-tools.html.vue"]]),d=JSON.parse('{"path":"/study/paper-tools.html","title":"几个赶 ddl 的好用工具🔧","lang":"zh-CN","frontmatter":{},"headers":[{"level":2,"title":"Google Translate 翻译器","slug":"google-translate-翻译器","link":"#google-translate-翻译器","children":[]},{"level":2,"title":"DeepL Translate 翻译器","slug":"deepl-translate-翻译器","link":"#deepl-translate-翻译器","children":[]},{"level":2,"title":"Grammarly (英文)语法检查器","slug":"grammarly-英文-语法检查器","link":"#grammarly-英文-语法检查器","children":[]},{"level":2,"title":"多语言支持语法检查器","slug":"多语言支持语法检查器","link":"#多语言支持语法检查器","children":[]},{"level":2,"title":"秘塔写作猫 (中文)语法检查器","slug":"秘塔写作猫-中文-语法检查器","link":"#秘塔写作猫-中文-语法检查器","children":[]},{"level":2,"title":"QuillBot 同义转写","slug":"quillbot-同义转写","link":"#quillbot-同义转写","children":[]},{"level":2,"title":"Mybib 参考格式化","slug":"mybib-参考格式化","link":"#mybib-参考格式化","children":[]},{"level":2,"title":"Turnitin 查重","slug":"turnitin-查重","link":"#turnitin-查重","children":[]}],"git":{"updatedTime":1660915408000,"contributors":[{"name":"liziwl","email":"leezisy@gmail.com","commits":2}]},"filePathRelative":"study/paper-tools.md"}');export{c as comp,d as data}; diff --git a/assets/pms-p1-eqxxGdw1.png b/assets/pms-p1-eqxxGdw1.png new file mode 100644 index 000000000..e9a39b81a Binary files /dev/null and b/assets/pms-p1-eqxxGdw1.png differ diff --git a/assets/pms-p2-7MDb827_.png b/assets/pms-p2-7MDb827_.png new file mode 100644 index 000000000..a904289b7 Binary files /dev/null and b/assets/pms-p2-7MDb827_.png differ diff --git a/assets/pms-p3-CWfAqRyx.png b/assets/pms-p3-CWfAqRyx.png new file mode 100644 index 000000000..ac594d2e2 Binary files /dev/null and b/assets/pms-p3-CWfAqRyx.png differ diff --git a/assets/pms-p4-bgoGqdWr.png b/assets/pms-p4-bgoGqdWr.png new file mode 100644 index 000000000..b073e54bb Binary files /dev/null and b/assets/pms-p4-bgoGqdWr.png differ diff --git a/assets/pms-p6-FmsP1SCy.png b/assets/pms-p6-FmsP1SCy.png new file mode 100644 index 000000000..9f0dff0a7 Binary files /dev/null and b/assets/pms-p6-FmsP1SCy.png differ diff --git a/assets/pms-p7-Nj4D-gUZ.png b/assets/pms-p7-Nj4D-gUZ.png new file mode 100644 index 000000000..f68655a48 Binary files /dev/null and b/assets/pms-p7-Nj4D-gUZ.png differ diff --git a/assets/pms-p8-Ck82D-lU.png b/assets/pms-p8-Ck82D-lU.png new file mode 100644 index 000000000..22bdf9fb3 Binary files /dev/null and b/assets/pms-p8-Ck82D-lU.png differ diff --git a/assets/preview-xiaomo-CZrFPupu.jpg b/assets/preview-xiaomo-CZrFPupu.jpg new file mode 100644 index 000000000..faadd07f5 Binary files /dev/null and b/assets/preview-xiaomo-CZrFPupu.jpg differ diff --git a/assets/print-1-DfCYcH5_.jpeg b/assets/print-1-DfCYcH5_.jpeg new file mode 100644 index 000000000..e09470541 Binary files /dev/null and b/assets/print-1-DfCYcH5_.jpeg differ diff --git a/assets/print-2-Cbx41LOh.jpeg b/assets/print-2-Cbx41LOh.jpeg new file mode 100644 index 000000000..822f7f9df Binary files /dev/null and b/assets/print-2-Cbx41LOh.jpeg differ diff --git a/assets/print-3-CKmi9PAI.jpeg b/assets/print-3-CKmi9PAI.jpeg new file mode 100644 index 000000000..3a3c69c53 Binary files /dev/null and b/assets/print-3-CKmi9PAI.jpeg differ diff --git a/assets/print-4-Di5NCfSn.jpeg b/assets/print-4-Di5NCfSn.jpeg new file mode 100644 index 000000000..0a1e5ef18 Binary files /dev/null and b/assets/print-4-Di5NCfSn.jpeg differ diff --git a/assets/print-5-CNPl7qOK.jpeg b/assets/print-5-CNPl7qOK.jpeg new file mode 100644 index 000000000..fd20412ec Binary files /dev/null and b/assets/print-5-CNPl7qOK.jpeg differ diff --git a/assets/print-DqQaGmJs.png b/assets/print-DqQaGmJs.png new file mode 100644 index 000000000..bd60f633c Binary files /dev/null and b/assets/print-DqQaGmJs.png differ diff --git a/assets/reader-service-Dp32nGh-.png b/assets/reader-service-Dp32nGh-.png new file mode 100644 index 000000000..c72f4f997 Binary files /dev/null and b/assets/reader-service-Dp32nGh-.png differ diff --git a/assets/redirect.html-CnLuAqla.js b/assets/redirect.html-CnLuAqla.js new file mode 100644 index 000000000..70d104b0f --- /dev/null +++ b/assets/redirect.html-CnLuAqla.js @@ -0,0 +1 @@ +import{_ as m,o as f,c as p,e as v}from"./app-CAXKJsZK.js";const u={mounted(){function t(){$.getJSON("/2024.json",function(a){var n={};for(let o=0;o🚌校园巴士 - 自动跳转

    根据国家法定节假日和周末自动跳转。如停留在此页面,请刷新。

    🚌校园巴士

    ',4),y=[_];function g(t,a,n,e,i,l){return f(),p("div",null,y)}const w=m(u,[["render",g],["__file","redirect.html.vue"]]),D=JSON.parse('{"path":"/transport/redirect.html","title":"🚌校园巴士 - 自动跳转","lang":"zh-CN","frontmatter":{},"headers":[{"level":2,"title":"根据国家法定节假日和周末自动跳转。如停留在此页面,请刷新。","slug":"根据国家法定节假日和周末自动跳转。如停留在此页面-请刷新。","link":"#根据国家法定节假日和周末自动跳转。如停留在此页面-请刷新。","children":[]},{"level":2,"title":"🚌校园巴士","slug":"🚌校园巴士","link":"#🚌校园巴士","children":[]}],"git":{"updatedTime":1704122464000,"contributors":[{"name":"liziwl","email":"leezisy@gmail.com","commits":9}]},"filePathRelative":"transport/redirect.md"}');export{w as comp,D as data}; diff --git a/assets/registered-organization-2019.html-DYjSnj_m.js b/assets/registered-organization-2019.html-DYjSnj_m.js new file mode 100644 index 000000000..21eea5e6b --- /dev/null +++ b/assets/registered-organization-2019.html-DYjSnj_m.js @@ -0,0 +1 @@ +import{_ as t,o as e,c as n,e as l}from"./app-CAXKJsZK.js";const d={},r=l('

    注册社团列表(2018-2019年度)

    思想政治类

    社团名称社长姓名副社长姓名指导老师
    学生研习社梁振宇许博清 张玄来小栋
    军事爱好者社团张田旭任海翔袁长庚

    学术科技类

    社团名称社长姓名副社长姓名指导老师
    航模社袁浩岚张逸飞 吴梦霏 林悦滢 翟许辰何紫琳、李斯 明
    天文社温黎平万雨豪 许景波叶生毅
    电子和电子工程协会(IEEE)南科 大学生分会社团郑金涛余梦霞班莹莹
    虚拟现实技术社祁晨晨黄德淳郝祁
    国际材料研究学会(MRS)南科 大分会社团李冲王俊玮 韩明昊王芳
    模拟联合国社隋瑗徐阳
    计算机研究协会社团李照钟兆玮 吴江宁郝祁
    翻译社Tan Chin Chin张胡梦圆 毛振江 王超刘姗艺
    工业设计社吴迪黄德淳尉进
    科普社团宋帅东刘威胡玙璠

    创新创业类

    社团名称社长姓名社长学号副社长姓名指导老师
    创新创业协会社叶顶强11810121颜秋阳 申奥 于启东 杨照基张冬

    文化体育类

    社团名称社长姓名副社长姓名指导老师
    桥牌社张楚唯尹水杉 郑旭川李蓝
    乒乓球社韩旭东罗雨萌 骆诗航何紫琳
    炽焱足球社彭程邹镒泽 李荀 李世超赵一品
    Penbeat社陈冶冬汪海鹏 黄炜杰 张一驰郭超
    散打社郭诗岳王颷卢阳
    电子音乐社闫炜杰张晨旭 乔昱淇袁长庚
    Wink舞社林悦滢徐嘉玉赖莎
    雁落弓社汤忠融张森瀚任奕霏
    定向越野社彭睿杰王品轩 孙习羽侯思宇
    西乐社张瑞祺魏林通
    魔方社王珺韩昕汝邱星源
    日本语言学习社王铎霖张子健 李之宸李冬娜
    排球社涂皖欣杨萌钰侯思宇
    弈林棋社王家辰袁靖侯思宇
    科幻协会社团王子瑞徐佳慧吴岩
    Dauber画社陆品谚侯思宇
    电影沙龙社沈洋高膨 黄云浩袁长庚
    吉他社张博文胡浩誉 何相汝魏林通
    Rugby社黄裕清马宇杰 邓周燕 邵师尧 吴凯跃于璐
    SCAP动漫社陈子建钱柏臣 张洋溢Jesse Cancelmo
    川衡社李奇隆蔡依农 郭泰森罗林斯特
    电竞社徐衡张朝滇 张雪琰侯思宇
    致仁烘焙社阎沁琳邹佳迪 吴一凡 刘泽霈邱星源
    围棋社宋政宇吴宇闻 徐楠侯思宇
    书画社熊天楚荐天蓝帅月
    NOVA街舞社李超刘昊天赖莎
    清羽飞扬羽毛球社祝学林刘澄昱 郑煜涛 徐品深 冯浩然 叶可欣魏伟成
    跆拳道社刘怡王庭哲赵洋
    音乐剧社谭荔丹纪涛
    南科武学社唐家豪欧阳灏赵洋
    推理社岑思宇张正源
    万智牌社吴克非杨锐 范霄弈党骐
    自行车社李明阳殷腾峻 杨其朔魏伟成
    搏击社何睿中郭诗岳 王颷 高天栎卢阳
    篮球社肖奕楠李不言董伦红
    女子篮球社吴练璠张沁琳 曹蓝心 张星玥董伦红
    轻音社张淘月聂秋实 刘盛豪 付钰 田野鲁大为
    桌游社周子越贺泽宇
    轮滑社胡世杰胡明涛孙颜
    辩论与口才社于涵霖马敬博刘萍
    滑板社范航瑞唐之遥何绮婷
    摄影社孙思玥张旺 卿博文 张博文郭超
    瑜伽社钱偶讷吴伟悦马缨
    文学社路凯梁钰栋袁长庚
    橡胶调酒社池锟丁启维袁长庚
    拉丁社杨晨煜团委艺术中心 负责
    精灵宝可梦中心社刘畅毓白同旭邱星源
    东亚神话与邦乐研究社胡烜榛何琰 周梓钦王晓葵
    钢琴社郑泽强李文沛 王照坤 王竞辉 南江翊魏林通
    文化创意社熊天楚云泽彬 汪紫烟张璞
    孟荀学社孟斐李岩松 韩志远 谢壮壮 张一凡赵建华
    志愿公益类
    绿色营自然保育社蔡佩静吕沫
    招生宣传社团胡凌云冀潇崔繁
    猫社李游吕玥 黄纪潮吴一敏
    手语社李之宸陈旭丹陈梦鸽
    其他类
    花粉俱乐部社刘怡斌罗培聿 钟万里许嘉桐

    筹备社团

    社团名称社长姓名副社长姓名指导老师
    大学生就业与职业发展社团郭锦桐
    游戏王社唐若皓
    网球社孙云柯
    游泳社方泽桐

    参考资料

    • 关于公布2018-2019年度南方科技大学学生社团年审工作结果的通知(邮件)
    ',13),a=[r];function s(i,g){return e(),n("div",null,a)}const y=t(d,[["render",s],["__file","registered-organization-2019.html.vue"]]),x=JSON.parse('{"path":"/organizations/registered-organization-2019.html","title":"注册社团列表(2018-2019年度)","lang":"zh-CN","frontmatter":{},"headers":[{"level":2,"title":"思想政治类","slug":"思想政治类","link":"#思想政治类","children":[]},{"level":2,"title":"学术科技类","slug":"学术科技类","link":"#学术科技类","children":[]},{"level":2,"title":"创新创业类","slug":"创新创业类","link":"#创新创业类","children":[]},{"level":2,"title":"文化体育类","slug":"文化体育类","link":"#文化体育类","children":[]},{"level":2,"title":"筹备社团","slug":"筹备社团","link":"#筹备社团","children":[]},{"level":2,"title":"参考资料","slug":"参考资料","link":"#参考资料","children":[]}],"git":{"updatedTime":1602669270000,"contributors":[{"name":"sparkcyf","email":"sparktour@outlook.com","commits":1}]},"filePathRelative":"organizations/registered-organization-2019.md"}');export{y as comp,x as data}; diff --git a/assets/registered-organization-2020.html-BUFfIw6e.js b/assets/registered-organization-2020.html-BUFfIw6e.js new file mode 100644 index 000000000..1582d8c5f --- /dev/null +++ b/assets/registered-organization-2020.html-BUFfIw6e.js @@ -0,0 +1 @@ +import{_ as t,o as e,c as n,e as l}from"./app-CAXKJsZK.js";const d={},r=l('

    注册社团列表(2019-2020年度)

    社团名称社团类型社长姓名指导老师姓名主管部门
    NOVA 街舞社文化体育类廖婧池赖莎体育中心
    Wink 舞社文化体育类周今月赖莎体育中心
    辩论社文化体育类丁启维刘萍树礼书院
    定向越野社文化体育类冯浩轩侯思宇体育中心
    乒乓球社文化体育类韩旭东何紫琳 秦晨芳体育中心 校团委
    桥牌社文化体育类郑旭川谢阅校团委
    书画社文化体育类荐天蓝张玉洁致仁书院
    跆拳道社文化体育类陈振宇赵洋体育中心
    自然国学社文化体育类孟斐乐美理学院
    Dauber 画社文化体育类陆品谚侯思宇体育中心
    搏击社文化体育类何睿中卢阳体育中心
    川衡社文化体育类李奇隆罗林斯特体育中心
    电竞社文化体育类徐衡侯思宇体育中心
    翻译社文化体育类Tan Chin Chin谢玲琍语言中心
    钢琴社文化体育类郭傲魏林通树仁书院
    吉他社文化体育类张博文魏林通树仁书院
    南风诗社文化体育类曹子旋李蓝人文科学中心、树礼书 院
    武学社文化体育类杨瀚博赵洋体育中心
    清羽飞扬羽毛球社文化体育类石松林孙瑜 侯杰体育中心 树德书院
    日语社文化体育类年通宇李冬娜党政办公室
    树礼微电影社文化体育类白钰溦王浩树礼书院
    文化创意社文化体育类熊天楚张璞宣传与公共关系部
    西乐社文化体育类阳嘉辉卢雪霞树仁书院
    校园大使文化体育类冯晨曦李思颖校团委
    雁落弓社文化体育类汤忠融任奕霏致新书院
    弈林棋社文化体育类杨奕辰侯思宇体育中心
    游戏王社文化体育类唐若皓陈窗叙重大事项办公室
    游泳社文化体育类方泽桐王鑫体育中心
    致诚歌唱社文化体育类陈宏洋罗芬致诚书院
    致诚设计社文化体育类邓煜王莲君致诚书院
    致诚咏春社文化体育类杜昊澄甘立海致诚书院
    致仁烘焙社文化体育类郭嘉欣顾佳致仁书院
    致仁民乐团文化体育类付钰张玉洁致仁书院
    SCAP 动漫社文化体育类张洋溢原指导老师离职一星
    树礼阿卡贝拉社文化体育类文颖潼解一琪树礼书院
    炽焱足球社文化体育类彭程赵一品体育中心
    东亚神话与邦乐研究社文化体育类胡烜榛王晓葵社科中心
    瑜伽社文化体育类钱偶讷马缨树德书院
    风华主持队文化体育类张欣怡李思颖校团委
    电影沙龙社文化体育类蒋润喆袁长庚社科中心
    电子音乐社文化体育类乔昱淇袁长庚社科中心
    拉丁社文化体育类吴伟悦熊天成校团委
    篮球社文化体育类陈俊滔董伦红体育中心
    轮滑社文化体育类胡世杰孙颜体育中心
    魔方社文化体育类王珺邱星源致仁书院
    女子篮球社文化体育类林慧燕董伦红体育中心
    排球社文化体育类裴鸿婧侯思宇体育中心
    树仁京剧社文化体育类周名昊魏林通树仁书院
    天文社文化体育类黄子炫叶生毅地球与空间科学系
    推理社文化体育类岑思宇杨枫宇树仁书院
    万智牌社文化体育类吴克非党骐党政办公室
    围棋社文化体育类宋政宇侯思宇体育中心
    文学社文化体育类路凯袁长庚社科中心
    橡树调酒社文化体育类池锟袁长庚社科中心
    野战社文化体育类刘瀛泽白波体育中心
    音乐剧社文化体育类谭荔丹纪涛艺术中心
    致仁咖啡社文化体育类丁启维张玉洁致仁书院
    致新非物质文化遗产社文化体育类张程浩陈梦鸽致新书院
    致新古琴社文化体育类李心平陈梦鸽致新书院
    棍网球社(筹)文化体育类梅宏悦郭超树礼书院
    滑板社(筹)文化体育类范航瑞何婷婷化学系
    空手道社(筹)文化体育类李博涵赵洋体育中心
    南枝未央汉服社(筹)文化体育类韦婉儿解一琪树礼书院
    轻小说社(筹)文化体育类贾拿云鲁大为物理系
    摄影社(筹)文化体育类孙思玥郭超树礼书院
    网球社(筹)文化体育类李睿杰白波体育中心
    致诚健身社(筹)文化体育类徐子屹崔科峰致诚书院
    致仁杠铃社(筹)文化体育类王超逸张玉洁致仁书院
    学生研习社思想政治类张玄来小栋树仁书院
    军事爱好者社团(筹)思想政治类张田旭袁长庚社科中心
    猫社志愿公益类闫一茗王坤心理成长中心
    树礼科普社志愿公益类杨宇昂王浩树礼书院
    招生宣传协会志愿公益类胡凌云崔繁招生办
    绿足迹自然保育社志愿公益类蔡佩静吕沫生物系
    树德 STEAM+创客教育社团 (筹)志愿公益类胡艺霖李斯明树德书院
    航模社学术科技类徐嘉睿何紫琳 李斯明体育中心 树德书院
    DataHub 社团学术科技类唐龙飞田国梁统计与数据科学系
    数学物理社学术科技类张奥孔良量子科学与工程研究院
    材料研究学会南科大学生分 会学术科技类王旭扬王芳材料科学与工程系
    工业设计社学术科技类吴迪尉进系统设计与智能制造学 院
    计算机研究协会社团学术科技类樊青远郝祁计算机科学与工程系
    深渔俱乐部学术科技类廖崇霖张传伦 程斯宇海洋科学与工程系
    虚拟现实技术社学术科技类黄德淳吴岩人文中心
    自主智能机器人社团学术科技类郭永杉潘阳 李斯明机械与能源工程系 树德书院
    模拟联合国协会(筹)学术科技类徐源榕徐阳国际合作部
    未来企业家俱乐部创新创业类刘师宇邵理阳创新创业学院
    创新创业协会社创新创业类于启东张冬创新创业学院
    CAN 极客社团(筹)创新创业类王炜皓赵耀计算机科学与工程系
    大学生就业与职业发展社团 (筹)创新创业类米国俊陆经纬就业指导中心
    花粉俱乐部其他类刘行许嘉桐学生工作部
    理想社(筹)其他类蔡任伟陈向东 程要提理学院

    参考资料

    • 关于公布2019-2020年度南方科技大学学生社团年审工作结果的通知(邮件)
    ',4),a=[r];function i(s,c){return e(),n("div",null,a)}const x=t(d,[["render",i],["__file","registered-organization-2020.html.vue"]]),y=JSON.parse('{"path":"/organizations/registered-organization-2020.html","title":"注册社团列表(2019-2020年度)","lang":"zh-CN","frontmatter":{},"headers":[{"level":2,"title":"参考资料","slug":"参考资料","link":"#参考资料","children":[]}],"git":{"updatedTime":1602669270000,"contributors":[{"name":"sparkcyf","email":"sparktour@outlook.com","commits":1}]},"filePathRelative":"organizations/registered-organization-2020.md"}');export{x as comp,y as data}; diff --git a/assets/registered-organization-2021.html-BR5MjOvl.js b/assets/registered-organization-2021.html-BR5MjOvl.js new file mode 100644 index 000000000..e82c4b93a --- /dev/null +++ b/assets/registered-organization-2021.html-BR5MjOvl.js @@ -0,0 +1 @@ +import{_ as t,o as d,c as r,e}from"./app-CAXKJsZK.js";const a={},o=e('

    注册社团列表(2020-2021年度)

    社团名称社团类型社长姓名指导老师姓名主管部门
    NOVA 街舞社文化体育廖婧池赖莎体育中心
    RS 轮滑社文化体育王丹阳孙颜体育中心
    SCAP 动漫社(筹)文化体育张洋溢指导老师离职
    WINK 舞社文化体育周若雨赖莎体育中心
    万智牌社文化体育杨子青党骐党政办公室
    东亚神话与邦乐研 究社文化体育周航王晓葵社科中心
    乒乓球社文化体育韩亦雄秦晨芳 何紫琳校团委 体育中心
    书画社文化体育王子墨张玉洁致仁书院
    凤凰社(筹)文化体育石松林吴晔昊树仁书院
    南枝未央汉服社文化体育韦婉儿解一琪树礼书院
    南风诗社文化体育高强李蓝树礼书院
    围棋社文化体育丁泽洋侯思宇体育中心
    国旗护卫队其他刘炎炜陈子廷征兵工作站
    天文社学术科技唐乐陶叶生毅地理与空间科学系
    学生研习社思想政治张玄杨枫宇树仁书院
    定向越野社文化体育孙逸涵侯思宇 张玉洁体育中心 致仁书院
    川衡社文化体育余天泽罗林斯特 钟宇昕体育中心 树德书院
    开言堂相声社文化体育徐春骥宋帅东致新书院
    弈林棋社文化体育张一鸣侯思宇体育中心
    心理学社(筹)文化体育李秋实王坤学生工作部 心理成长中心
    战术研习社文化体育魏子荀白波体育中心
    拉丁舞社文化体育董小雅熊天成校团委
    招生宣传协会志愿公益郑芙嘉崔繁招生办公室
    排球俱乐部文化体育杨佳怡侯思宇体育中心
    数学物理社(筹)学术科技张奥孔良量子研究院
    文化创意社文化体育云泽彬朱增光宣传与共公关系部
    文学社文化体育姚健袁长庚社会科学中心
    日语社文化体育许天淇李冬娜党政办公室
    明航支教队志愿公益唐易坤熊天成校团委
    机器智能社学术科技韩旭东融亦鸣 宋超阳机械与能源工程系
    树仁京剧社文化体育周名昊魏林通树仁书院
    树仁吉他社文化体育蔡家仪吴晔昊树仁书院
    树德 STEAM+创客 教育社团志愿公益周峻弘李斯明树德书院
    树德力量举社文化体育孙一翔钟宇昕树德书院
    树礼科幻协会文化体育任泰衡李蓝树礼书院
    树礼科普社志愿公益林雨航王浩树礼书院
    树礼说唱社文化体育刘懋祥解一琪树礼书院
    树礼阿卡贝拉社文化体育文颖潼解一琪树礼书院
    校园大使文化体育尹沫文李思颖校团委
    桥牌社文化体育马玄轶夏侯露钰校团委
    棍网球社文化体育孙介朴郭超树礼书院
    模拟联合国协会学术科技郑可锌徐阳国际合作部
    武学社文化体育覃天泽赵洋体育中心
    清羽飞扬社文化体育吴海涵孙瑜 侯杰体育中心 树德书院
    游戏王社文化体育宫正陈窗叙规划发展部
    游泳社文化体育李蔚王鑫体育中心
    狼人杀社(筹)文化体育马晨昊指导老师离职
    猫社志愿公益张闻城王坤学生工作部 心理成长中心
    瑜伽社文化体育王雅淇马缨树德书院
    电声社文化体育宋致远熊天成校团委
    电影沙龙社文化体育陈梓歆袁长庚社会科学中心
    电竞社文化体育周子航侯思宇体育中心
    立直麻雀社文化体育尹水杉顾理一商学院
    篮球社文化体育陈俊滔董伦红体育中心
    粤语社(筹)文化体育陈旭丹钟宇昕树德书院
    绿足迹自然保育社志愿公益蔡佩静吕沫生命科学学院
    美丽中国教育协会 (筹)志愿公益周萌指导老师离职
    翻译社(筹)学术科技毛振江指导老师离职
    自然国学社文化体育孟斐乐美理学院
    致仁 Camerata 咖 啡社文化体育周君泽张玉洁致仁书院
    致仁民乐团文化体育荐天蓝张玉洁致仁书院
    致仁烘培室文化体育王怡张玉洁致仁书院
    致新古琴社文化体育麦晋源陈梦鸽致新书院
    致新非物质文化遗 产社文化体育张程浩陈梦鸽致新书院
    致诚健身社文化体育陈孙兵张瀚文致诚书院
    致诚咏春社文化体育杜昊澄甘立海致诚书院
    致诚歌唱社文化体育岳翼遥张琦致诚书院
    致诚设计社文化体育周安然陈胤淇致诚书院
    航模社学术科技徐嘉睿何紫琳 李斯明体育中心 树德书院
    花粉俱乐部其他刘行许嘉桐学生工作部
    虚拟现实技术社学术科技黄德淳吴岩人文科学中心
    行水国风音乐社 (筹)文化体育张重言侯杰树德书院
    西乐社文化体育李忻睿卢雪霞 周祐民树仁书院 海洋科学与工程系
    计算机研究协会学术科技陈俊峰郝祁计算机科学与工程系
    跆拳道社文化体育陈振宇赵洋体育中心
    轻小说社文化体育贾拿云鲁大为物理系
    辩论社文化体育黄一鸣刘萍树礼书院
    钢琴社文化体育赵子安魏林通树仁书院
    雁落弓社文化体育贺思楠陈梦鸽致新书院
    风华主持队文化体育贾松硕李思颖校团委
    魔方社文化体育马旺张玉洁致仁书院

    参考资料

    • 关于公布2020-2021年度南方科技大学学生社团年审工作结果的通知(邮件)
    ',4),i=[o];function n(s,h){return d(),r("div",null,i)}const c=t(a,[["render",n],["__file","registered-organization-2021.html.vue"]]),m=JSON.parse('{"path":"/organizations/registered-organization-2021.html","title":"注册社团列表(2020-2021年度)","lang":"zh-CN","frontmatter":{},"headers":[{"level":2,"title":"参考资料","slug":"参考资料","link":"#参考资料","children":[]}],"git":{"updatedTime":1658460499000,"contributors":[{"name":"sparkcyf","email":"sparktour@outlook.com","commits":1}]},"filePathRelative":"organizations/registered-organization-2021.md"}');export{c as comp,m as data}; diff --git a/assets/sakai-1-CB0i72O4.png b/assets/sakai-1-CB0i72O4.png new file mode 100644 index 000000000..e0fe74e11 Binary files /dev/null and b/assets/sakai-1-CB0i72O4.png differ diff --git a/assets/sakai-2-BlkaU-zu.png b/assets/sakai-2-BlkaU-zu.png new file mode 100644 index 000000000..bb504e6df Binary files /dev/null and b/assets/sakai-2-BlkaU-zu.png differ diff --git a/assets/sakai-3-DIkRgFoV.png b/assets/sakai-3-DIkRgFoV.png new file mode 100644 index 000000000..ef398f056 Binary files /dev/null and b/assets/sakai-3-DIkRgFoV.png differ diff --git a/assets/sakai-4-0wc6WatQ.png b/assets/sakai-4-0wc6WatQ.png new file mode 100644 index 000000000..c6c5dc74f Binary files /dev/null and b/assets/sakai-4-0wc6WatQ.png differ diff --git a/assets/sakai-5-ByPsWaOq.png b/assets/sakai-5-ByPsWaOq.png new file mode 100644 index 000000000..5462ecf99 Binary files /dev/null and b/assets/sakai-5-ByPsWaOq.png differ diff --git a/assets/scan-2-0-oUvCfvlO.jpeg b/assets/scan-2-0-oUvCfvlO.jpeg new file mode 100644 index 000000000..eb0032aec Binary files /dev/null and b/assets/scan-2-0-oUvCfvlO.jpeg differ diff --git a/assets/scan-2-1-DmdIErhO.jpeg b/assets/scan-2-1-DmdIErhO.jpeg new file mode 100644 index 000000000..d9d0d5999 Binary files /dev/null and b/assets/scan-2-1-DmdIErhO.jpeg differ diff --git a/assets/scan-2-4-BKK06R0O.jpeg b/assets/scan-2-4-BKK06R0O.jpeg new file mode 100644 index 000000000..11f0704ee Binary files /dev/null and b/assets/scan-2-4-BKK06R0O.jpeg differ diff --git a/assets/schedule-DaAD8Yzt.png b/assets/schedule-DaAD8Yzt.png new file mode 100644 index 000000000..36a0ec10a Binary files /dev/null and b/assets/schedule-DaAD8Yzt.png differ diff --git a/assets/send-receive-email-by-proxy.html-eK1B-c2t.js b/assets/send-receive-email-by-proxy.html-eK1B-c2t.js new file mode 100644 index 000000000..6056237ff --- /dev/null +++ b/assets/send-receive-email-by-proxy.html-eK1B-c2t.js @@ -0,0 +1 @@ +import{_ as e,o as i,c as o,e as c}from"./app-CAXKJsZK.js";const l="/assets/1-DVukewBF.png",s="/assets/2-BgrJYuBr.png",a="/assets/3-DAnnB6dV.png",t="/assets/4-DpplwVzI.png",n="/assets/5-Ba5rOnXh.png",r="/assets/6-39SAiQEW.png",d={},p=c('

    解决邮箱容量不足的问题

    by 贾纪源

    要求

    1. 有足够空间的 个人QQ邮箱A
    2. 容量不足的邮箱(以下用 企业邮箱B 举例)提供 POP3(Post Office Protocol 3)服务

    具体效果与配置注意事项

    1. 企业邮箱B 中删除邮件,个人QQ邮箱A 中存储的 企业邮箱B 的邮件不会被删除,以达到备份邮件、清理 企业邮箱B 空间的效果。
    2. 个人QQ邮箱A 中收取 企业邮箱B 的邮件,收件人依然保持显示 “企业邮箱B
    3. 个人QQ邮箱A 中发送或回复 企业邮箱B 的邮件,发件人将显示为 “企业邮箱B 发送 (以 个人QQ邮箱A) 代发”。
    4. 企业邮箱B 的垃圾邮箱策略,垃圾箱中的邮件可以不会被 个人QQ邮箱A 收取。
    5. 部分邮件服务商的POP3协议使用客户端密码,而不是网页账号密码。

    操作步骤

    1. 打开 个人QQ邮箱A,进入设置

      1

    2. 选择其他邮箱

      2

    3. 添加其他邮箱账户(企业邮箱B

      3

    4. 输入学校邮箱账号

      4

    5. 输入学校邮箱密码,点击验证

      5

    6. 输入POP服务器和端口点击验证

      6

    ',9),m=[p];function h(_,g){return i(),o("div",null,m)}const Q=e(d,[["render",h],["__file","send-receive-email-by-proxy.html.vue"]]),f=JSON.parse('{"path":"/service/email/send-receive-email-by-proxy.html","title":"解决邮箱容量不足的问题","lang":"zh-CN","frontmatter":{},"headers":[{"level":2,"title":"要求","slug":"要求","link":"#要求","children":[]},{"level":2,"title":"具体效果与配置注意事项","slug":"具体效果与配置注意事项","link":"#具体效果与配置注意事项","children":[]},{"level":2,"title":"操作步骤","slug":"操作步骤","link":"#操作步骤","children":[]}],"git":{"updatedTime":1681649675000,"contributors":[{"name":"liziwl","email":"leezisy@gmail.com","commits":2},{"name":"Ziqiang Li","email":"leezisy@gmail.com","commits":1}]},"filePathRelative":"service/email/send-receive-email-by-proxy.md"}');export{Q as comp,f as data}; diff --git a/assets/streetview-BPNYhKz7.svg b/assets/streetview-BPNYhKz7.svg new file mode 100644 index 000000000..f1bcdc0d3 --- /dev/null +++ b/assets/streetview-BPNYhKz7.svg @@ -0,0 +1 @@ +查看街景: VIEW STREETVIEW查看街景VIEW STREETVIEW \ No newline at end of file diff --git a/assets/style-h421m8Lc.css b/assets/style-h421m8Lc.css new file mode 100644 index 000000000..6b50c8710 --- /dev/null +++ b/assets/style-h421m8Lc.css @@ -0,0 +1 @@ +@charset "UTF-8";.vp-back-to-top-button{position:fixed!important;inset-inline-end:1rem;bottom:4rem;z-index:100;width:48px;height:48px;padding:12px;border-width:0;border-radius:50%;background:var(--back-to-top-c-bg);color:var(--back-to-top-c-accent);box-shadow:2px 2px 10px 4px var(--back-to-top-c-shadow);cursor:pointer}@media (max-width: 959px){.vp-back-to-top-button{transform:scale(.8);transform-origin:100% 100%}}@media print{.vp-back-to-top-button{display:none}}.vp-back-to-top-button:hover{color:var(--back-to-top-c-accent-hover)}.vp-back-to-top-button .back-to-top-icon{overflow:hidden;width:24px;height:24px;margin:0 auto;background:var(--back-to-top-c-icon);-webkit-mask-image:var(--back-to-top-icon);mask-image:var(--back-to-top-icon);-webkit-mask-position:50%;mask-position:50%;-webkit-mask-size:cover;mask-size:cover}.vp-scroll-progress{position:absolute;right:-2px;bottom:-2px;width:52px;height:52px}.vp-scroll-progress svg{width:100%;height:100%}.vp-scroll-progress circle{opacity:.9;transform:rotate(-90deg);transform-origin:50% 50%}.back-to-top-enter-active,.back-to-top-leave-active{transition:opacity .3s}.back-to-top-enter-from,.back-to-top-leave-to{opacity:0}:root{--back-to-top-z-index: 5;--back-to-top-icon: url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2048%2048'%3e%3cpath%20fill='none'%20stroke='currentColor'%20stroke-linecap='round'%20stroke-linejoin='round'%20stroke-width='4'%20d='M24.008%2014.1V42M12%2026l12-12l12%2012M12%206h24'%20/%3e%3c/svg%3e");--back-to-top-c-bg: var(--vp-c-bg);--back-to-top-c-accent: var(--vp-c-accent);--back-to-top-c-accent-hover: var(--vp-c-accent-hover);--back-to-top-c-shadow: var(--vp-c-shadow);--back-to-top-c-icon: currentcolor}.vp-copy-code-button{position:absolute;top:.5em;right:.5em;z-index:5;width:2.5rem;height:2.5rem;padding:0;border-width:0;border-radius:.5rem;background:transparent;outline:none;opacity:0;cursor:pointer;transition:opacity .4s}@media print{.vp-copy-code-button{display:none}}.vp-copy-code-button:before{content:"";display:inline-block;width:1.25rem;height:1.25rem;padding:.625rem;background:currentcolor;color:var(--copy-code-c-text);font-size:1.25rem;-webkit-mask-image:var(--code-copy-icon);mask-image:var(--code-copy-icon);-webkit-mask-position:50%;mask-position:50%;-webkit-mask-size:1em;mask-size:1em;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}.vp-copy-code-button:focus,.vp-copy-code-button.copied{opacity:1}.vp-copy-code-button:hover,.vp-copy-code-button.copied{background:var(--copy-code-c-hover)}.vp-copy-code-button.copied:before{-webkit-mask-image:var(--code-copied-icon);mask-image:var(--code-copied-icon)}.vp-copy-code-button.copied:after{content:attr(data-copied);position:absolute;top:0;right:calc(100% + .25rem);display:block;height:1.25rem;padding:.625rem;border-radius:.5rem;background:var(--copy-code-c-hover);color:var(--copy-code-c-text);font-weight:500;line-height:1.25rem;white-space:nowrap}.no-copy-code .vp-copy-code-button{display:none}body:not(.no-copy-code) div[class*=language-]:hover:before{display:none}body:not(.no-copy-code) div[class*=language-]:hover .vp-copy-code-button{opacity:1}:root{--code-copy-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23808080' stroke-width='2'%3e%3cpath stroke-linecap='round' stroke-linejoin='round' d='M9 5H7a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2h-2M9 5a2 2 0 0 0 2 2h2a2 2 0 0 0 2-2M9 5a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2' /%3e%3c/svg%3e");--code-copied-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23808080' stroke-width='2'%3e%3cpath stroke-linecap='round' stroke-linejoin='round' d='M9 5H7a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2h-2M9 5a2 2 0 0 0 2 2h2a2 2 0 0 0 2-2M9 5a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2m-6 9 2 2 4-4' /%3e%3c/svg%3e");--copy-code-c-text: var(--code-c-line-number);--copy-code-c-hover: var(--code-c-highlight-bg)}.hint-container{position:relative;border-color:var(--hint-c-accent);background:var(--hint-c-bg);transition:background var(--vp-t-color),border-color var(--vp-t-color),color var(--vp-t-color)}@media print{.hint-container{page-break-inside:avoid}}.hint-container>.hint-container-title{color:var(--hint-c-title)}.hint-container :not(pre)>code{background:var(--note-c-soft)}.hint-container .hint-container-title{position:relative;margin-block:.75em;font-weight:600;line-height:1.25}.hint-container.important,.hint-container.info,.hint-container.note,.hint-container.tip,.hint-container.warning,.hint-container.caution{margin:.85rem 0;padding:.25rem 1rem;border-inline-start-width:.3rem;border-inline-start-style:solid;border-radius:.5rem;color:inherit}@media (max-width: 419px){.hint-container.important,.hint-container.info,.hint-container.note,.hint-container.tip,.hint-container.warning,.hint-container.caution{margin-inline:-.75rem}}.hint-container.important .hint-container-title,.hint-container.info .hint-container-title,.hint-container.note .hint-container-title,.hint-container.tip .hint-container-title,.hint-container.warning .hint-container-title,.hint-container.caution .hint-container-title{padding-inline-start:1.75rem}@media print{.hint-container.important .hint-container-title,.hint-container.info .hint-container-title,.hint-container.note .hint-container-title,.hint-container.tip .hint-container-title,.hint-container.warning .hint-container-title,.hint-container.caution .hint-container-title{padding-inline-start:0}}.hint-container.important .hint-container-title:before,.hint-container.info .hint-container-title:before,.hint-container.note .hint-container-title:before,.hint-container.tip .hint-container-title:before,.hint-container.warning .hint-container-title:before,.hint-container.caution .hint-container-title:before{content:" ";position:absolute;inset-inline-start:0;top:calc(50% - .6125em);width:1.25em;height:1.25em;background-position:left;background-repeat:no-repeat}@media print{.hint-container.important .hint-container-title:before,.hint-container.info .hint-container-title:before,.hint-container.note .hint-container-title:before,.hint-container.tip .hint-container-title:before,.hint-container.warning .hint-container-title:before,.hint-container.caution .hint-container-title:before{display:none}}.hint-container.important p,.hint-container.info p,.hint-container.note p,.hint-container.tip p,.hint-container.warning p,.hint-container.caution p{line-height:1.5}.hint-container.important a,.hint-container.info a,.hint-container.note a,.hint-container.tip a,.hint-container.warning a,.hint-container.caution a{color:var(--vp-c-accent)}.hint-container.important{--hint-c-accent: var(--important-c-accent);--hint-c-bg: var(--important-c-light);--hint-c-title: var(--important-c-dark);--hint-c-soft: var(--important-c-soft)}[data-theme=dark] .hint-container.important{--hint-c-bg: var(--important-c-dark);--hint-c-title: var(--important-c-light)}.hint-container.important>.hint-container-title:before{background-image:url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1024 1024'%3E%3Cpath d='M512 981.333a84.992 84.992 0 0 1-84.907-84.906h169.814A84.992 84.992 0 0 1 512 981.333zm384-128H128v-42.666l85.333-85.334v-256A298.325 298.325 0 0 1 448 177.92V128a64 64 0 0 1 128 0v49.92a298.325 298.325 0 0 1 234.667 291.413v256L896 810.667v42.666zm-426.667-256v85.334h85.334v-85.334h-85.334zm0-256V512h85.334V341.333h-85.334z' fill='%23a371f7'/%3E%3C/svg%3E")}.hint-container.info{--hint-c-accent: var(--info-c-accent);--hint-c-bg: var(--info-c-light);--hint-c-title: var(--info-c-dark);--hint-c-soft: var(--info-c-soft)}[data-theme=dark] .hint-container.info{--hint-c-bg: var(--info-c-dark);--hint-c-title: var(--info-c-light)}.hint-container.info>.hint-container-title:before{background-image:url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10-4.477 10-10 10zm-1-11v6h2v-6h-2zm0-4v2h2V7h-2z' fill='%234cb3d4'/%3E%3C/svg%3E")}.hint-container.note{--hint-c-accent: var(--note-c-accent);--hint-c-bg: var(--note-c-light);--hint-c-title: var(--note-c-dark);--hint-c-soft: var(--note-c-soft)}[data-theme=dark] .hint-container.note{--hint-c-bg: var(--note-c-dark);--hint-c-title: var(--note-c-light)}.hint-container.note>.hint-container-title:before{background-image:url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10-4.477 10-10 10zm-1-11v6h2v-6h-2zm0-4v2h2V7h-2z' fill='%23ccc'/%3E%3C/svg%3E")}.hint-container.tip{--hint-c-accent: var(--tip-c-accent);--hint-c-bg: var(--tip-c-light);--hint-c-title: var(--tip-c-dark);--hint-c-soft: var(--tip-c-soft)}[data-theme=dark] .hint-container.tip{--hint-c-bg: var(--tip-c-dark);--hint-c-title: var(--tip-c-light)}.hint-container.tip>.hint-container-title:before{background-image:url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23009400' d='M7.941 18c-.297-1.273-1.637-2.314-2.187-3a8 8 0 1 1 12.49.002c-.55.685-1.888 1.726-2.185 2.998H7.94zM16 20v1a2 2 0 0 1-2 2h-4a2 2 0 0 1-2-2v-1h8zm-3-9.995V6l-4.5 6.005H11v4l4.5-6H13z'/%3E%3C/svg%3E")}.hint-container.warning{--hint-c-accent: var(--warning-c-accent);--hint-c-bg: var(--warning-c-light);--hint-c-title: var(--warning-c-dark);--hint-c-soft: var(--warning-c-soft)}[data-theme=dark] .hint-container.warning{--hint-c-bg: var(--warning-c-dark);--hint-c-title: var(--warning-c-light)}.hint-container.warning>.hint-container-title:before{background-image:url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1024 1024'%3E%3Cpath d='M576.286 752.57v-95.425q0-7.031-4.771-11.802t-11.3-4.772h-96.43q-6.528 0-11.3 4.772t-4.77 11.802v95.424q0 7.031 4.77 11.803t11.3 4.77h96.43q6.528 0 11.3-4.77t4.77-11.803zm-1.005-187.836 9.04-230.524q0-6.027-5.022-9.543-6.529-5.524-12.053-5.524H456.754q-5.524 0-12.053 5.524-5.022 3.516-5.022 10.547l8.538 229.52q0 5.023 5.022 8.287t12.053 3.265h92.913q7.032 0 11.803-3.265t5.273-8.287zM568.25 95.65l385.714 707.142q17.578 31.641-1.004 63.282-8.538 14.564-23.354 23.102t-31.892 8.538H126.286q-17.076 0-31.892-8.538T71.04 866.074q-18.582-31.641-1.004-63.282L455.75 95.65q8.538-15.57 23.605-24.61T512 62t32.645 9.04 23.605 24.61z' fill='%23e6a700'/%3E%3C/svg%3E")}.hint-container.caution{--hint-c-accent: var(--caution-c-accent);--hint-c-bg: var(--caution-c-light);--hint-c-title: var(--caution-c-dark);--hint-c-soft: var(--caution-c-soft)}[data-theme=dark] .hint-container.caution{--hint-c-bg: var(--caution-c-dark);--hint-c-title: var(--caution-c-light)}.hint-container.caution>.hint-container-title:before{background-image:url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2c5.523 0 10 4.477 10 10v3.764a2 2 0 0 1-1.106 1.789L18 19v1a3 3 0 0 1-2.824 2.995L14.95 23a2.5 2.5 0 0 0 .044-.33L15 22.5V22a2 2 0 0 0-1.85-1.995L13 20h-2a2 2 0 0 0-1.995 1.85L9 22v.5c0 .171.017.339.05.5H9a3 3 0 0 1-3-3v-1l-2.894-1.447A2 2 0 0 1 2 15.763V12C2 6.477 6.477 2 12 2zm-4 9a2 2 0 1 0 0 4 2 2 0 0 0 0-4zm8 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4z' fill='%23e13238'/%3E%3C/svg%3E")}.hint-container.details{--detail-c-bg: var(--detail-c-light);--detail-c-icon: var(--detail-c-icon-light);position:relative;display:block;margin:1rem 0;padding:1.5rem;border-radius:.5rem;background:var(--detail-c-bg);transition:background var(--vp-t-transform),color var(--vp-t-transform)}@media (max-width: 419px){.hint-container.details{margin-inline:-.75rem}}[data-theme=dark] .hint-container.details{--detail-c-bg: var(--detail-c-dark);--detail-c-icon: var(--detail-c-icon-dark)}.hint-container.details h4{margin-top:0}.hint-container.details figure:last-child,.hint-container.details p:last-child{margin-bottom:0;padding-bottom:0}.hint-container.details a{color:var(--vp-c-accent)}.hint-container.details :not(pre)>code{background:var(--detail-c-soft)}.hint-container.details summary{position:relative;margin:-1.5rem;padding-block:1.5rem;padding-inline:4rem 1.5rem;list-style:none;cursor:pointer}.hint-container.details summary::-webkit-details-marker{display:none}.hint-container.details summary::marker{color:transparent;font-size:0}.hint-container.details summary:before,.hint-container.details summary:after{content:" ";position:absolute;inset-inline-start:1.5rem;top:calc(50% - .75rem);width:1.5rem;height:1.5rem}.hint-container.details summary:before{border-radius:50%;background:var(--detail-c-icon);transition:background var(--vp-t-color),transform var(--vp-t-transform)}.hint-container.details summary:after{background-image:url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='rgb(0,0,0,0.5)' d='M7.41 15.41L12 10.83l4.59 4.58L18 14l-6-6-6 6z'/%3E%3C/svg%3E");line-height:normal;transition:transform var(--vp-t-transform);transform:rotate(90deg)}[data-theme=dark] .hint-container.details summary:after{background-image:url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='rgb(255,255,255,0.5)' d='M7.41 15.41L12 10.83l4.59 4.58L18 14l-6-6-6 6z'/%3E%3C/svg%3E")}.hint-container.details[open]>summary{margin-bottom:.5em}.hint-container.details[open]>summary:after{transform:rotate(180deg)}:root{--important-c-accent: #a371f7;--important-c-light: #f4eefe;--important-c-dark: #230555;--important-c-soft: rgb(163 113 247 / 10%);--info-c-accent: #4cb3d4;--info-c-light: #eef9fd;--info-c-dark: #193c47;--info-c-soft: rgb(76 179 212 / 10%);--note-c-accent: #ccc;--note-c-light: #fdfdfe;--note-c-dark: #474748;--note-c-soft: rgb(212 213 216 / 20%);--tip-c-accent: #009400;--tip-c-light: #e6f6e6;--tip-c-dark: #003100;--tip-c-soft: rgb(0 148 0 / 15%);--warning-c-accent: #e6a700;--warning-c-light: #fff8e6;--warning-c-dark: #4d3800;--warning-c-soft: rgb(230 167 0 / 15%);--caution-c-accent: #e13238;--caution-c-light: #ffebec;--caution-c-dark: #4b1113;--caution-c-soft: rgb(225 50 56 / 15%);--detail-c-light: #eee;--detail-c-dark: #333;--detail-c-icon-light: #ccc;--detail-c-icon-dark: #555;--detail-c-soft: rgb(127 127 127 / 15%)}:root{--medium-zoom-z-index: 100;--medium-zoom-c-bg: var(--vp-c-bg-elv, #fff);--medium-zoom-opacity: 1}.medium-zoom-overlay{z-index:var(--medium-zoom-z-index);background-color:var(--medium-zoom-c-bg)!important}.medium-zoom-overlay~img{z-index:calc(var(--medium-zoom-z-index) + 1)}.medium-zoom--opened .medium-zoom-overlay{opacity:var(--medium-zoom-opacity)}:root{--nprogress-c: var(--vp-c-accent);--nprogress-z-index: 1031}#nprogress{pointer-events:none}#nprogress .bar{position:fixed;top:0;left:0;z-index:var(--nprogress-z-index);width:100%;height:2px;background:var(--nprogress-c)}:root{--code-padding-x: 1.25rem;--code-padding-y: 1rem;--code-border-radius: 6px;--code-line-height: 1.6;--code-font-family: consolas, monaco, "Andale Mono", "Ubuntu Mono", monospace}div[class*=language-]{position:relative;border-radius:var(--code-border-radius);background-color:var(--code-c-bg)}div[class*=language-]:before{content:attr(data-title);position:absolute;top:.8em;right:1em;z-index:3;color:var(--code-c-text);font-size:.75rem}div[class*=language-] pre{position:relative;z-index:1;overflow-x:auto;margin:.75rem 0;border-radius:var(--code-border-radius);font-size:14px;font-family:var(--code-font-family);line-height:var(--code-line-height)}div[class*=language-] pre code{display:block;box-sizing:border-box;width:-moz-fit-content;width:fit-content;min-width:100%;padding:var(--code-padding-y) var(--code-padding-x);background-color:transparent!important;overflow-wrap:unset;-webkit-font-smoothing:auto;-moz-osx-font-smoothing:auto}:root{--code-c-text: #f8f8f2;--code-c-bg: #2e3440;--code-c-highlight-bg: #343d4e;--code-c-line-number: rgba(248, 248, 242, .67)}.token.comment,.token.prolog,.token.doctype,.token.cdata{color:#636f88}.token.punctuation{color:#81a1c1}.namespace{opacity:.7}.token.property,.token.tag,.token.constant,.token.symbol,.token.deleted{color:#81a1c1}.token.number{color:#b48ead}.token.boolean{color:#81a1c1}.token.selector,.token.attr-name,.token.string,.token.char,.token.builtin,.token.inserted{color:#a3be8c}.token.operator,.token.entity,.token.url,.language-css .token.string,.style .token.string,.token.variable{color:#81a1c1}.token.atrule,.token.attr-value,.token.function,.token.class-name{color:#88c0d0}.token.keyword{color:#81a1c1}.token.regex,.token.important{color:#ebcb8b}.token.important,.token.bold{font-weight:700}.token.italic{font-style:italic}.token.entity{cursor:help}:root{--code-line-number-width: 3.5rem}div[class*=language-]:not(.line-numbers-mode) .line-numbers{display:none}div[class*=language-].line-numbers-mode:after{content:"";position:absolute;top:0;left:0;width:var(--code-line-number-width);height:100%;border-right:1px solid var(--code-c-highlight-bg, var(--code-c-text));border-radius:var(--code-border-radius) 0 0 var(--code-border-radius);transition:border var(--t-color)}div[class*=language-].line-numbers-mode pre{vertical-align:middle;margin-left:var(--code-line-number-width)}div[class*=language-].line-numbers-mode code{padding-left:1rem}div[class*=language-].line-numbers-mode .line-numbers{counter-reset:line-number;position:absolute;top:0;width:var(--code-line-number-width);padding-top:var(--code-padding-y);color:var(--code-c-line-number, var(--code-c-text));font-size:.875em;line-height:var(--code-line-height);text-align:center}div[class*=language-].line-numbers-mode .line-number{position:relative;z-index:3;font-family:var(--code-font-family);-webkit-user-select:none;-moz-user-select:none;user-select:none}div[class*=language-].line-numbers-mode .line-number:before{content:counter(line-number);counter-increment:line-number}.vp-badge{display:inline-block;vertical-align:top;height:18px;padding:0 6px;border-radius:3px;color:var(--vp-c-accent-text);font-weight:600;font-size:14px;line-height:18px;transition:color var(--vp-t-color),background-color var(--vp-t-color)}.vp-badge.tip{background-color:var(--c-badge-tip)}.vp-badge.warning{background-color:var(--c-badge-warning);color:var(--c-badge-warning-text)}.vp-badge.danger{background-color:var(--c-badge-danger);color:var(--c-badge-danger-text)}.vp-badge+.vp-badge{margin-left:5px}.code-group-nav{margin-top:.85rem;margin-bottom:calc(-1.7rem - 6px);padding-top:10px;padding-bottom:calc(1.7rem - 6px);padding-left:10px;border-top-left-radius:6px;border-top-right-radius:6px;background-color:var(--vp-c-code-tab-bg);transition:background-color var(--t-color)}@media (max-width: 419px){.code-group-nav{margin-right:-1.5rem;margin-left:-1.5rem;border-radius:0}}.code-group-nav-tab{padding:5px;border:0;background-color:transparent;color:var(--vp-c-code-tab-title);font-weight:600;font-size:.85em;line-height:1.4;cursor:pointer}.code-group-nav-tab:focus{outline:none}.code-group-nav-tab:focus-visible{outline:1px solid}.code-group-nav-tab.active{border-bottom:var(--vp-c-code-tab-active) 1px solid}.code-group-item{display:none}.code-group-item.active{display:block}.code-group-item>pre{background-color:orange}.vp-features{display:flex;flex-wrap:wrap;place-content:stretch space-between;align-items:flex-start;margin-top:2.5rem;padding:1.2rem 0;border-top:1px solid var(--vp-c-gutter);transition:border-color var(--vp-t-color)}@media (max-width: 719px){.vp-features{flex-direction:column}}.vp-feature{flex-grow:1;flex-basis:30%;max-width:30%}@media (max-width: 719px){.vp-feature{max-width:100%;padding:0 2.5rem}}.vp-feature h2{padding-bottom:0;border-bottom:none;font-weight:500;font-size:1.4rem}@media (max-width: 419px){.vp-feature h2{font-size:1.25rem}}.vp-feature p{color:var(--vp-c-text-mute)}.vp-footer{padding:2.5rem;border-top:1px solid var(--vp-c-border);color:var(--vp-c-text-mute);text-align:center;transition:border-color var(--vp-t-color)}.vp-hero{text-align:center}.vp-hero-image{display:block;max-width:100%;max-height:280px;margin:3rem auto 1.5rem}@media (max-width: 419px){.vp-hero-image{max-height:210px;margin:2rem auto 1.2rem}}#main-title{font-size:3rem}@media (max-width: 419px){#main-title{font-size:2rem}}#main-title,.vp-hero-description,.vp-hero-actions{margin:1.8rem auto}@media (max-width: 419px){#main-title,.vp-hero-description,.vp-hero-actions{margin:1.2rem auto}}.vp-hero-actions{display:flex;flex-wrap:wrap;gap:1rem;justify-content:center}.vp-hero-description{max-width:35rem;color:var(--vp-c-text-mute);font-size:1.6rem;line-height:1.3}@media (max-width: 419px){.vp-hero-description{font-size:1.2rem}}.vp-hero-action-button{display:inline-block;box-sizing:border-box;padding:.8rem 1.6rem;border-width:2px;border-style:solid;border-radius:4px;font-size:1.2rem;transition:background-color var(--vp-t-color)}@media (max-width: 419px){.vp-hero-action-button{padding:.6rem 1.2rem;font-size:1rem}}.vp-hero-action-button.primary{border-color:var(--vp-c-accent);background-color:var(--vp-c-accent);color:var(--vp-c-accent-text)}.vp-hero-action-button.primary:hover{background-color:var(--vp-c-accent-hover)}.vp-hero-action-button.secondary{border-color:var(--vp-c-accent);background-color:var(--vp-c-bg);color:var(--vp-c-accent)}.vp-hero-action-button.secondary:hover{background-color:var(--vp-c-accent-hover);color:var(--vp-c-accent-text)}.vp-home{display:block;max-width:var(--homepage-width);margin:0 auto;padding:var(--navbar-height) 2rem 0}@media (max-width: 419px){.vp-home{padding-right:1.5rem;padding-left:1.5rem}}.vp-home .theme-default-content{margin:0;padding:0}.vp-site-logo{vertical-align:top;height:var(--navbar-line-height);margin-right:var(--navbar-padding-v)}.vp-site-name{position:relative;color:var(--vp-c-text);font-weight:600;font-size:1.3rem}@media screen and (max-width: 719px){.vp-site-name{display:block;overflow:hidden;width:calc(100vw - 11rem);text-overflow:ellipsis;white-space:nowrap}}.vp-dropdown-enter-from,.vp-dropdown-leave-to{height:0!important}.vp-navbar-dropdown-wrapper{cursor:pointer}.vp-navbar-dropdown-wrapper:not(.mobile){height:1.8rem}.vp-navbar-dropdown-wrapper:not(.mobile):hover .vp-navbar-dropdown,.vp-navbar-dropdown-wrapper:not(.mobile).open .vp-navbar-dropdown{display:block!important}.vp-navbar-dropdown-wrapper.mobile .vp-navbar-dropdown{overflow:hidden;transition:height .1s ease-out;padding-top:.5rem}.vp-navbar-dropdown-wrapper:not(.mobile) .vp-navbar-dropdown{position:absolute;top:100%;right:0;display:none;overflow-y:auto;box-sizing:border-box;height:auto!important;max-height:calc(100vh - 2.7rem);margin:0;padding:.6rem 0;border:1px solid var(--vp-c-border);border-radius:.25rem;background-color:var(--vp-navbar-c-bg);text-align:left;white-space:nowrap}.vp-navbar-dropdown-title{display:block;padding:inherit;border:none;background:transparent;color:var(--vp-c-text);font-weight:500;font-size:.9rem;font-family:inherit;line-height:1.4rem;cursor:inherit}.vp-navbar-dropdown-wrapper.mobile .vp-navbar-dropdown-title{display:none}.vp-navbar-dropdown-title:hover{border-color:transparent}.vp-navbar-dropdown-title-mobile{display:none;padding:inherit;border:none;background:transparent;color:var(--vp-c-text);font-weight:600;font-size:inherit;font-family:inherit;line-height:1.4rem;cursor:inherit}.vp-navbar-dropdown-wrapper.mobile .vp-navbar-dropdown-title-mobile{display:block}.vp-navbar-dropdown-title-mobile:hover{color:var(--vp-c-accent)}.vp-navbar-dropdown-item{color:inherit;line-height:1.7rem}.vp-navbar-dropdown-item a{position:relative;display:block;margin-bottom:0;padding:0 1.5rem 0 1.25rem;border-bottom:none;font-weight:400;line-height:1.7rem}.vp-navbar-dropdown-item a:hover,.vp-navbar-dropdown-item a.route-link-active{color:var(--vp-c-accent)}.vp-navbar-dropdown-item a.route-link-active:after{content:"";position:absolute;top:calc(50% - 2px);left:9px;width:0;height:0;border-top:3px solid transparent;border-bottom:3px solid transparent;border-left:5px solid var(--vp-c-accent)}.vp-navbar-dropdown-wrapper.mobile .vp-navbar-dropdown-item>a{font-size:15px;line-height:2rem}.vp-navbar-dropdown-subtitle{margin:.45rem 0 0;padding:1rem 0 .45rem;border-top:1px solid var(--vp-c-gutter);font-size:.9rem}.vp-navbar-dropdown-wrapper.mobile .vp-navbar-dropdown-subtitle{margin-top:0;padding-top:0;padding-bottom:0;border-top:0;font-size:15px;line-height:2rem}.vp-navbar-dropdown-item:first-child .vp-navbar-dropdown-subtitle{margin-top:0;padding-top:0;border-top:0}.vp-navbar-dropdown-subtitle>span{padding:0 1.5rem 0 1.25rem}.vp-navbar-dropdown-subtitle>a{font-weight:inherit}.vp-navbar-dropdown-subtitle>a.route-link-active:after{display:none}.vp-navbar-dropdown-subitem-wrapper{padding:0;list-style:none}.vp-navbar-dropdown-subitem{font-size:.9em}.vp-navbar-dropdown-wrapper.mobile .vp-navbar-dropdown-subitem{padding-left:1rem;font-size:14px}.vp-navbar-items{display:inline-block}@media print{.vp-navbar-items{display:none}}.vp-navbar-items a{display:inline-block;color:inherit;line-height:1.4rem}.vp-navbar-items a:hover,.vp-navbar-items a.route-link-active{color:var(--vp-c-text)}.vp-navbar-item{position:relative;display:inline-block;margin-left:1.5rem;line-height:var(--navbar-line-height)}@media (max-width: 719px){.vp-navbar-item{margin-left:0}}.vp-navbar-item:first-child{margin-left:0}.vp-navbar-item a:hover,.vp-navbar-item a.route-link-active{color:var(--vp-c-accent)}.vp-navbar-item>a:hover,.vp-navbar-item>a.route-link-active{margin-bottom:-2px;border-bottom:2px solid var(--vp-c-accent)}@media (max-width: 719px){.vp-navbar-item>a:hover,.vp-navbar-item>a.route-link-active{margin-bottom:0;border-bottom:none}}.vp-toggle-color-mode-button{display:flex;margin:auto;margin-left:1rem;border:0;background:none;color:var(--vp-c-text);opacity:.8;cursor:pointer}@media print{.vp-toggle-color-mode-button{display:none}}.vp-toggle-color-mode-button:hover{opacity:1}.vp-toggle-color-mode-button .light-icon,.vp-toggle-color-mode-button .dark-icon{width:1.25rem;height:1.25rem}.vp-toggle-sidebar-button{position:absolute;top:.6rem;left:1rem;display:none;padding:.6rem;cursor:pointer}@media screen and (max-width: 719px){.vp-toggle-sidebar-button{display:block}}.vp-toggle-sidebar-button .icon{display:flex;flex-direction:column;align-items:center;justify-content:center;width:1.25rem;height:1.25rem;cursor:inherit}.vp-toggle-sidebar-button .icon span{display:inline-block;width:100%;height:2px;border-radius:2px;background-color:var(--vp-c-text);transition:transform var(--vp-t-transform)}.vp-toggle-sidebar-button .icon span:nth-child(2){margin:6px 0}.vp-theme-container.sidebar-open .vp-toggle-sidebar-button .icon span:nth-child(1){transform:rotate(45deg) translate3d(5.5px,5.5px,0)}.vp-theme-container.sidebar-open .vp-toggle-sidebar-button .icon span:nth-child(2){transform:scale3d(0,1,1)}.vp-theme-container.sidebar-open .vp-toggle-sidebar-button .icon span:nth-child(3){transform:rotate(-45deg) translate3d(6px,-6px,0)}.vp-theme-container.sidebar-open .vp-toggle-sidebar-button .icon span:nth-child(1),.vp-theme-container.sidebar-open .vp-toggle-sidebar-button .icon span:nth-child(3){transform-origin:center}.vp-navbar{--navbar-line-height: calc( var(--navbar-height) - 2 * var(--navbar-padding-v) );position:fixed;top:0;right:0;left:0;z-index:20;box-sizing:border-box;height:var(--navbar-height);padding:var(--navbar-padding-v) var(--navbar-padding-h);border-bottom:1px solid var(--vp-c-border);background-color:var(--vp-navbar-c-bg);line-height:var(--navbar-line-height);transition:background-color var(--vp-t-color),border-color var(--vp-t-color)}@media screen and (max-width: 719px){.vp-navbar{padding-left:4rem}}.vp-navbar-items-wrapper{position:absolute;top:var(--navbar-padding-v);right:var(--navbar-padding-h);display:flex;box-sizing:border-box;height:var(--navbar-line-height);padding-left:var(--navbar-padding-h);font-size:.9rem;white-space:nowrap}.vp-page-meta{max-width:var(--content-width);margin:0 auto;padding:.75rem 2.5rem;display:flex;flex-wrap:wrap;justify-content:space-between;overflow:auto}@media (max-width: 959px){.vp-page-meta{padding:2rem}}@media (max-width: 419px){.vp-page-meta{padding:1.5rem}}@media print{.vp-page-meta{margin:0!important;padding-right:0!important;padding-left:0!important}}@media (max-width: 719px){.vp-page-meta{display:block}}.vp-page-meta .vp-meta-item{flex-grow:1}.vp-page-meta .vp-meta-item .vp-meta-label{font-weight:500}.vp-page-meta .vp-meta-item .vp-meta-label:not(a){color:var(--vp-c-text-mute)}.vp-page-meta .vp-meta-item .vp-meta-info{color:var(--vp-c-text-mute);font-weight:400}.vp-page-meta .git-info{text-align:end}.vp-page-meta .edit-link{margin-top:.25rem;margin-right:.5rem;margin-bottom:.25rem;font-size:14px}@media print{.vp-page-meta .edit-link{display:none}}.vp-page-meta .edit-link .edit-icon{position:relative;bottom:-.125em;width:1em;height:1em;margin-right:.25em}.vp-page-meta .last-updated,.vp-page-meta .contributors{margin-top:.25rem;margin-bottom:.25rem;font-size:14px}@media (max-width: 719px){.vp-page-meta .last-updated,.vp-page-meta .contributors{font-size:13px;text-align:start}}.vp-page-nav{display:flex;flex-wrap:wrap;max-width:var(--content-width, 740px);min-height:2rem;margin-top:0;margin-right:auto;margin-left:auto;padding:1rem 2rem 0;border-top:1px solid var(--vp-c-gutter);transition:border-top var(--vp-t-color)}@media (max-width: 959px){.vp-page-nav{padding-right:1rem;padding-left:1rem}}@media print{.vp-page-nav{display:none}}.vp-page-nav .route-link{display:inline-block;flex-grow:1;margin:.25rem;padding:.25rem .5rem;border:1px solid var(--vp-c-gutter);border-radius:.25rem}.vp-page-nav .route-link:hover{background:var(--c-bg-soft)}.vp-page-nav .route-link .hint{color:var(--vp-c-text-mute);font-size:.875rem;line-height:2}.vp-page-nav .prev{text-align:start}.vp-page-nav .next{text-align:end}.vp-page{display:block;padding-top:var(--navbar-height);padding-bottom:2rem;padding-left:var(--sidebar-width)}@media (max-width: 959px){.vp-page{padding-left:var(--sidebar-width-mobile)}}@media (max-width: 719px){.vp-page{padding-left:0}}.vp-page .theme-default-content{max-width:var(--content-width);margin:0 auto;padding:2rem 2.5rem;padding-top:0}@media (max-width: 959px){.vp-page .theme-default-content{padding:2rem}}@media (max-width: 419px){.vp-page .theme-default-content{padding:1.5rem}}.vp-sidebar-item{border-left:.25rem solid transparent;color:var(--vp-c-text);cursor:default}.vp-sidebar-item:focus-visible{outline-width:1px;outline-offset:-1px}.vp-sidebar-item.vp-sidebar-heading{box-sizing:border-box;width:100%;margin:0;padding:.35rem 1.5rem .35rem 1.25rem;font-weight:700;font-size:1.1em;transition:color .15s ease}.vp-sidebar-item.vp-sidebar-heading+.vp-sidebar-children{overflow:hidden;transition:height .1s ease-out;margin-bottom:.75rem}.vp-sidebar-item.collapsible{cursor:pointer}.vp-sidebar-item:not(.vp-sidebar-heading){display:inline-block;box-sizing:border-box;width:100%;margin:0;padding:.35rem 1rem .35rem 2rem;font-weight:400;font-size:1em;line-height:1.4}.vp-sidebar-item:not(.vp-sidebar-heading)+.vp-sidebar-children{padding-left:1rem;font-size:.95em}.vp-sidebar-children .vp-sidebar-children .vp-sidebar-item:not(.vp-sidebar-heading){padding:.25rem 1rem .25rem 1.75rem}.vp-sidebar-children .vp-sidebar-children .vp-sidebar-item:not(.vp-sidebar-heading).active{border-left-color:transparent;font-weight:500}a.vp-sidebar-heading+.vp-sidebar-children .vp-sidebar-item:not(.vp-sidebar-heading).active{border-left-color:transparent}.vp-sidebar-item.active:not(p.vp-sidebar-heading){border-left-color:var(--vp-c-accent);color:var(--vp-c-accent);font-weight:600}a.vp-sidebar-item{cursor:pointer}a.vp-sidebar-item:hover{color:var(--vp-c-accent)}.vp-sidebar-items{margin:0;padding:1.5rem 0;list-style-type:none}@media (max-width: 719px){.vp-sidebar-items{padding:1rem 0}}.vp-sidebar-items ul{margin:0;padding:0;list-style-type:none}.vp-sidebar-items a{display:inline-block}.vp-sidebar{position:fixed;top:var(--navbar-height);bottom:0;left:0;z-index:10;overflow-y:auto;box-sizing:border-box;width:var(--sidebar-width);margin:0;border-right:1px solid var(--vp-c-border);background-color:var(--vp-sidebar-c-bg);font-size:16px;transition:transform var(--vp-t-transform),background-color var(--vp-t-color),border-color var(--vp-t-color);scrollbar-color:var(--vp-c-accent) var(--vp-c-gutter);scrollbar-width:thin}@media (max-width: 959px){.vp-sidebar{width:var(--sidebar-width-mobile);font-size:15px}}@media (max-width: 719px){.vp-sidebar{top:0;padding-top:var(--navbar-height);transform:translate(-100%)}}.vp-sidebar::-webkit-scrollbar{width:7px}.vp-sidebar::-webkit-scrollbar-track{background-color:var(--vp-c-gutter)}.vp-sidebar::-webkit-scrollbar-thumb{background-color:var(--vp-c-accent)}.vp-sidebar .vp-navbar-items{display:none;padding:.5rem 0 .75rem;border-bottom:1px solid var(--vp-c-gutter);transition:border-color var(--vp-t-color)}@media (max-width: 719px){.vp-sidebar .vp-navbar-items{display:block}.vp-sidebar .vp-navbar-items .vp-navbar-dropdown-item a.route-link-active:after{top:calc(1rem - 2px)}}.vp-sidebar .vp-navbar-items ul{margin:0;padding:0;list-style-type:none}.vp-sidebar .vp-navbar-items a{font-weight:600}.vp-sidebar .vp-navbar-item{display:block;padding:.5rem 0 .5rem 1.5rem;font-size:1.1em;line-height:1.25rem}.vp-sidebar-mask{position:fixed;top:0;left:0;z-index:9;display:none;width:100vw;height:100vh}.vp-theme-container.no-navbar .vp-sidebar{top:0}@media (max-width: 719px){.vp-theme-container.no-navbar .vp-sidebar{padding-top:0}}.vp-theme-container.no-navbar .vp-page{padding-top:0}.vp-theme-container.no-navbar .theme-default-content h1,.vp-theme-container.no-navbar .theme-default-content h2,.vp-theme-container.no-navbar .theme-default-content h3,.vp-theme-container.no-navbar .theme-default-content h4,.vp-theme-container.no-navbar .theme-default-content h5,.vp-theme-container.no-navbar .theme-default-content h6{margin-top:1.5rem;padding-top:0}.vp-theme-container.no-sidebar .vp-sidebar{display:none}@media (max-width: 719px){.vp-theme-container.no-sidebar .vp-sidebar{display:block}}.vp-theme-container.no-sidebar .vp-page{padding-left:0}@media (max-width: 719px){.vp-theme-container.sidebar-open .vp-sidebar{transform:translate(0)}.vp-theme-container.sidebar-open .vp-sidebar-mask{display:block}}.fade-slide-y-enter-active{transition:all .2s ease}.fade-slide-y-leave-active{transition:all .2s cubic-bezier(1,.5,.8,1)}.fade-slide-y-enter-from,.fade-slide-y-leave-to{opacity:0;transform:translateY(10px)}.vp-theme-container[data-v-59ccf84c]{max-width:740px;margin:0 auto;padding:2rem 2.5rem}@media (max-width: 959px){.vp-theme-container[data-v-59ccf84c]{padding:2rem}}:root{--vp-c-white: #fff;--vp-c-black: #000;--vp-c-grey-text: #dddde3;--vp-c-grey-hover: #e4e4e9;--vp-c-grey-bg: #ebebef;--vp-c-grey-soft: rgb(142 150 170 / 14%);--vp-c-indigo-text: #3451b2;--vp-c-indigo-hover: #3a5ccc;--vp-c-indigo-bg: #5672cd;--vp-c-indigo-soft: rgb(100 108 255 / 14%);--vp-c-purple-text: #6f42c1;--vp-c-purple-hover: #7e4cc9;--vp-c-purple-bg: #8e5cd9;--vp-c-purple-soft: rgb(159 122 234 / 14%);--vp-c-green-text: #18794e;--vp-c-green-hover: #299764;--vp-c-green-bg: #30a46c;--vp-c-green-soft: rgb(16 185 129 / 14%);--vp-c-yellow-text: #915930;--vp-c-yellow-hover: #946300;--vp-c-yellow-bg: #9f6a00;--vp-c-yellow-soft: rgb(234 179 8 / 14%);--vp-c-red-text: #b8272c;--vp-c-red-hover: #d5393e;--vp-c-red-bg: #e0575b;--vp-c-red-soft: rgb(244 63 94 / 14%)}[data-theme=dark]{--vp-c-white: #000;--vp-c-black: #fff;--vp-c-grey-text: #515c67;--vp-c-grey-hover: #414853;--vp-c-grey-bg: #32363f;--vp-c-grey-soft: rgb(101 117 133 / 16%);--vp-c-indigo-text: #a8b1ff;--vp-c-indigo-hover: #5c73e7;--vp-c-indigo-bg: #3e63dd;--vp-c-indigo-soft: rgb(100 108 255 / 16%);--vp-c-purple-text: #c8abfa;--vp-c-purple-hover: #a879e6;--vp-c-purple-bg: #8e5cd9;--vp-c-purple-soft: rgb(159 122 234 / 16%);--vp-c-green-text: #3dd68c;--vp-c-green-hover: #30a46c;--vp-c-green-bg: #298459;--vp-c-green-soft: rgb(16 185 129 / 16%);--vp-c-yellow-text: #f9b44e;--vp-c-yellow-hover: #da8b17;--vp-c-yellow-bg: #a46a0a;--vp-c-yellow-soft: rgb(234 179 8 / 16%);--vp-c-red-text: #f66f81;--vp-c-red-hover: #f14158;--vp-c-red-bg: #b62a3c;--vp-c-red-soft: rgb(244 63 94 / 16%)}html,body{background:var(--vp-c-bg)}html{font-size:16px;font-display:optional;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-tap-highlight-color:transparent;-webkit-text-size-adjust:none;-moz-text-size-adjust:none;text-size-adjust:none}@media print{html{font-size:12pt}}html[data-theme=dark]{color-scheme:dark}body{min-height:100vh;margin:0;padding:0;color:#2c3e50;font-synthesis:style}a{color:var(--vp-c-accent);font-weight:500;text-decoration:none;overflow-wrap:break-word}kbd{display:inline-block;min-width:1em;margin-inline:.125rem;padding:.25em;border:1px solid #eee;border-radius:.25em;box-shadow:1px 1px 4px 0 var(--vp-c-shadow);line-height:1;letter-spacing:-.1em;text-align:center}:not(pre)>code{margin:0;padding:3px 6px;border-radius:4px;background:#7f7f7f1f;font-size:.875em;overflow-wrap:break-word}table code{padding:.1rem .4rem}p a code{color:var(--vp-c-accent);font-weight:400}strong{font-weight:600}h1,h2,h3,h4,h5,h6{font-weight:600;line-height:1.25;overflow-wrap:break-word}h1:focus-visible,h2:focus-visible,h3:focus-visible,h4:focus-visible,h5:focus-visible,h6:focus-visible{outline:none}h1{font-size:2rem}h2{padding-bottom:.3rem;border-bottom:1px solid #eaecef;font-size:1.65rem}h3{font-size:1.35rem}h4{font-size:1.15rem}h5{font-size:1.05rem}h6{font-size:1rem}a.header-anchor{position:relative;color:inherit;text-decoration:none}a.header-anchor:hover:before{content:"¶";position:absolute;top:.4167em;left:-.75em;color:var(--vp-c-accent);font-size:.75em}a.header-anchor:focus-visible{outline:none}a.header-anchor:focus-visible:before{content:"¶";position:absolute;left:-.75em;color:var(--vp-c-accent);outline:auto}p,ul,ol{line-height:1.6;overflow-wrap:break-word}@media print{p,ul,ol{line-height:1.5}}ul,ol{padding-inline-start:1.2em}blockquote{margin:1rem 0;padding:.25rem 0 .25rem 1rem;border-inline-start:.2rem solid #ddd;color:#666;font-size:1rem;overflow-wrap:break-word}blockquote>p{margin:0}hr{border:0;border-top:1px solid #eaecef}table{display:block;overflow-x:auto;margin:1rem 0;border-collapse:collapse}tr:nth-child(odd){background:#f6f8fa}th,td{padding:.6em 1em;border:1px solid #dfe2e5}pre{text-align:left;direction:ltr;white-space:pre;word-spacing:normal;word-wrap:normal;word-break:normal;overflow-wrap:unset;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-hyphens:none;hyphens:none}@media print{pre{white-space:pre-wrap}}pre code{padding:0;border-radius:0}@page{margin:2cm;font-size:12pt;size:a4}@media print{*,:after,:before{box-shadow:none!important;text-shadow:none!important}h2,h3,p{orphans:3;widows:3}h2,h3{page-break-after:avoid}a{color:inherit;font-weight:inherit!important;font-size:inherit!important;text-decoration:underline}a.header-anchor{text-decoration:none}abbr[title]:after{content:" (" attr(title) ")"}pre{border:1px solid #eee;white-space:pre-wrap!important}pre>code{white-space:pre-wrap!important}blockquote{border-inline-start:.2rem solid #ddd;color:inherit}blockquote,pre{orphans:5;widows:5}img,tr,canvas{page-break-inside:avoid}}@media (prefers-reduced-motion: reduce){*,:before,:after{background-attachment:initial!important;scroll-behavior:auto!important;transition-delay:0s!important;transition-duration:0s!important;animation-duration:1ms!important;animation-delay:-1ms!important;animation-iteration-count:1!important}}:root{--vp-c-accent: #3eaf7c;--vp-c-accent-hover: #4abf8a;--vp-c-accent-text: var(--vp-c-white);--vp-c-bg: #fff;--vp-c-bg-alt: #f6f6f7;--vp-c-bg-elv: #fff;--vp-c-text: rgba(60 60 67);--vp-c-text-mute: rgb(60 60 67 / 78%);--vp-c-text-subtle: rgb(60 60 67 / 56%);--vp-c-border: #d7d9da;--vp-c-gutter: #eaecef;--vp-c-border-hard: #d1d4d7;--vp-c-shadow: rgb(0 0 0 / 15%);--vp-c-shadow-hard: #f1f3f5;--vp-c-control: #f8f9fa;--vp-c-control-hover: #f1f3f5;--vp-c-control-active: #e9ecef;--vp-c-control-disabled: #ccc;--vp-navbar-c-bg: var(--vp-c-bg);--vp-sidebar-c-bg: var(--vp-c-bg);--vp-c-code-tab-title: var(--code-c-text, rgb(255 255 255 / 90%));--vp-c-code-tab-bg: var(--code-bg-color, var(--code-c-bg));--vp-c-code-tab-active: var(--vp-c-accent);--c-badge-tip: var(--c-tip);--c-badge-warning: #ecc808;--c-badge-warning-text: var(--vp-c-bg);--c-badge-danger: #dc2626;--c-badge-danger-text: var(--vp-c-bg);--font-family: -apple-system, "BlinkMacSystemFont", "Segoe UI", roboto, oxygen, ubuntu, cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;--navbar-height: 3.6rem;--navbar-padding-v: .7rem;--navbar-padding-h: 1.5rem;--sidebar-width: 20rem;--sidebar-width-mobile: calc(var(--sidebar-width) * .82);--content-width: 740px;--homepage-width: 960px;--vp-t-color: .3s ease;--vp-t-transform: .3s ease;--external-link-icon: url("data:image/svg+xml, %3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' %3E%3Cpath d='M0 0h24v24H0V0z' fill='none' /%3E%3Cpath d='M9 5v2h6.59L4 18.59 5.41 20 17 8.41V15h2V5H9z' /%3E%3C/svg%3E");--external-link-c-icon: var(--vp-c-text-mute)}.DocSearch{--docsearch-primary-color: var(--vp-c-accent);--docsearch-text-color: var(--vp-c-text);--docsearch-highlight-color: var(--vp-c-accent);--docsearch-muted-color: var(--vp-c-text-mute);--docsearch-container-background: rgb(9 10 17 / 80%);--docsearch-modal-background: var(--vp-c-bg-alt);--docsearch-searchbox-background: var(--vp-c-gutter);--docsearch-searchbox-focus-background: var(--vp-c-bg);--docsearch-searchbox-shadow: inset 0 0 0 2px var(--vp-c-accent);--docsearch-hit-color: var(--vp-c-text-mute);--docsearch-hit-active-color: var(--vp-c-bg);--docsearch-hit-background: var(--vp-c-bg);--docsearch-hit-shadow: 0 1px 3px 0 var(--vp-c-border-hard);--docsearch-footer-background: var(--vp-c-bg)}.search-box{--search-c-item-text: var(--vp-c-text-subtle)}[data-theme=dark]{--vp-c-accent: #3aa675;--vp-c-accent-hover: #349469;--vp-c-bg: #22272e;--vp-c-bg-alt: #343b44;--vp-c-bg-elv: #22272e;--vp-c-text: #adbac7;--vp-c-text-mute: rgb(235 235 245 / 60%);--vp-c-text-subtle: rgb(235 235 245 / 38%);--vp-c-border: #3e4c5a;--vp-c-gutter: #373f4c;--vp-c-border-hard: #405064;--vp-c-shadow: rgb(0 0 0 / 30%);--vp-c-shadow-hard: #2f3841;--vp-c-control: #2d333b;--vp-c-control-hover: #2f3841;--vp-c-control-active: #333a44;--vp-c-control-disabled: #3e4c5a;--c-badge-warning: var(--c-warning);--c-badge-warning-text: #3c2e05;--c-badge-danger: var(--c-danger);--c-badge-danger-text: #401416}[data-theme=dark] .DocSearch{--docsearch-modal-shadow: inset 1px 1px 0 0 #2c2e40, 0 3px 8px 0 #000309;--docsearch-key-shadow: inset 0 -2px 0 0 #282d55, inset 0 0 1px 1px #51577d, 0 2px 2px 0 rgb(3 4 9 / 30%);--docsearch-key-gradient: linear-gradient(-225deg, #444950, #1c1e21);--docsearch-footer-shadow: inset 0 1px 0 0 rgb(73 76 106 / 50%), 0 -4px 8px 0 rgb(0 0 0 / 20%)}html,body{background-color:var(--vp-c-bg);accent-color:var(--vp-c-accent);transition:background-color var(--vp-t-color)}[data-theme=dark]{color-scheme:dark}body{color:var(--vp-c-text);font-size:1rem;font-family:var(--font-family)}h2{border-color:var(--vp-c-gutter);transition:border-color var(--vp-t-color)}a{color:var(--vp-c-accent)}code{background-color:var(--vp-c-bg-alt);color:var(--vp-c-text-mute);font-family:var(--code-font-family);transition:background-color var(--vp-t-color)}p a code{color:var(--vp-c-accent)}kbd{border-color:var(--vp-c-border-hard);transition:border-color var(--vp-t-color)}blockquote{border-color:var(--vp-c-border-hard);color:var(--vp-c-text-mute);transition:border-color var(--vp-t-color)}hr{border-color:var(--vp-c-gutter);transition:border-color var(--vp-t-color)}table{transition:border-color var(--vp-t-color)}tr:nth-child(odd){background-color:var(--vp-c-bg-alt);transition:background-color var(--vp-t-color)}tr:nth-child(odd) code{background-color:var(--vp-c-gutter)}th,td{border-color:var(--vp-c-border-hard);transition:border-color var(--vp-t-color)}.theme-default-content h1,.theme-default-content h2,.theme-default-content h3,.theme-default-content h4,.theme-default-content h5,.theme-default-content h6{margin-top:calc(.5rem - var(--navbar-height));margin-bottom:0;padding-top:calc(1rem + var(--navbar-height))}.theme-default-content h1:first-child,.theme-default-content h2:first-child,.theme-default-content h3:first-child,.theme-default-content h4:first-child,.theme-default-content h5:first-child,.theme-default-content h6:first-child{margin-bottom:1rem}.theme-default-content h1:first-child+p,.theme-default-content h1:first-child+pre,.theme-default-content h1:first-child+.custom-container,.theme-default-content h2:first-child+p,.theme-default-content h2:first-child+pre,.theme-default-content h2:first-child+.custom-container,.theme-default-content h3:first-child+p,.theme-default-content h3:first-child+pre,.theme-default-content h3:first-child+.custom-container,.theme-default-content h4:first-child+p,.theme-default-content h4:first-child+pre,.theme-default-content h4:first-child+.custom-container,.theme-default-content h5:first-child+p,.theme-default-content h5:first-child+pre,.theme-default-content h5:first-child+.custom-container,.theme-default-content h6:first-child+p,.theme-default-content h6:first-child+pre,.theme-default-content h6:first-child+.custom-container{margin-top:2rem}@media (max-width: 419px){.theme-default-content h1{font-size:1.9rem}}.theme-default-content a:not(.header-anchor){text-decoration:underline}.theme-default-content img{max-width:100%}div[class*=language-]{margin:.75rem 0;transition:background-color var(--vp-t-color),color var(--vp-t-color)}@media (max-width: 419px){div[class*=language-]{--code-border-radius: 0;margin:.75rem -1.5rem}}div[class*=language-] .line.diff,div[class*=language-] .line.highlighted{transition:background-color var(--vp-t-color)}.table-of-contents .vp-badge{vertical-align:middle}.arrow{display:inline-block;vertical-align:middle;width:1em;height:1em;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='rgba(0,0,0,0.5)' d='M7.41 15.41L12 10.83l4.59 4.58L18 14l-6-6-6 6z'/%3E%3C/svg%3E");background-position:center;background-repeat:no-repeat;line-height:normal;transition:all .3s}[data-theme=dark] .arrow{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='rgba(255,255,255,0.5)' d='M7.41 15.41L12 10.83l4.59 4.58L18 14l-6-6-6 6z'/%3E%3C/svg%3E")}.arrow.down{transform:rotate(180deg)}.arrow.right{transform:rotate(90deg)}.arrow.left{transform:rotate(-90deg)}.vp-external-link-icon:after{content:"";display:inline-block;flex-shrink:0;width:11px;height:11px;margin-top:-1px;margin-left:4px;background:var(--external-link-c-icon);-webkit-mask-image:var(--external-link-icon);mask-image:var(--external-link-icon)}.external-link-icon .external-link:after{content:"";display:inline-block;flex-shrink:0;width:11px;height:11px;margin-top:-1px;margin-left:4px;background:var(--external-link-c-icon);-webkit-mask-image:var(--external-link-icon);mask-image:var(--external-link-icon)}.external-link-icon .theme-default-content a[href*="://"]:not(.no-external-link-icon):after,.external-link-icon .theme-default-content a[target=_blank]:not(.no-external-link-icon):after{content:"";display:inline-block;flex-shrink:0;width:11px;height:11px;margin-top:-1px;margin-left:4px;background:var(--external-link-c-icon);-webkit-mask-image:var(--external-link-icon);mask-image:var(--external-link-icon)}@media screen and (max-width: 719px){.vp-hide-mobile{display:none}}.vp-comment{max-width:var(--content-width);margin:0 auto;padding:2rem 2.5rem}@media (max-width: 959px){.vp-comment{padding:2rem}}@media (max-width: 419px){.vp-comment{padding:1.5rem}}.vp-navbar .DocSearch{transition:background-color var(--vp-t-color)}.vp-navbar .search-box{vertical-align:top;flex:0 0 auto}.home-gray{filter:grayscale(100%);-moz-filter:grayscale(100%);-ms-filter:grayscale(100%);-o-filter:grayscale(100%);filter:progid:DXImageTransform.Microsoft.BasicImage(grayscale=1)}@keyframes rotate{0%{transform:rotate(0)}50%{transform:rotate(360deg)}to{transform:rotate(360deg)}}.popup-enter-active,.popup-leave-active{transition:opacity .3s,transform .3s}.popup-enter-from,.popup-leave-to{opacity:0;transform:translateY(50%) scale(.5)}.sw-hint-popup,.sw-update-popup{position:fixed;inset-inline-end:1rem;bottom:1rem;z-index:var(--pwa-z-index);padding:.5rem .75rem;border-width:0;border-radius:.5rem;background:var(--pwa-c-bg);color:var(--pwa-c-text);box-shadow:0 2px 12px 0 var(--pwa-c-shadow);font-size:1rem;line-height:1.5;cursor:pointer}@media print{.sw-hint-popup,.sw-update-popup{display:none}}.sw-hint-popup .icon-wrapper,.sw-update-popup .icon-wrapper{display:inline-block;vertical-align:middle;width:1.5rem;height:1.5rem;margin-inline-start:.4rem;border-radius:.75rem;background:var(--pwa-c-accent)}.sw-hint-popup .icon-wrapper:hover,.sw-update-popup .icon-wrapper:hover{background:var(--pwa-c-accent-hover)}.sw-hint-popup .icon-wrapper svg,.sw-update-popup .icon-wrapper svg{width:1.2rem;height:1.2rem;margin:.15rem;color:var(--pwa-c-accent-text);animation:rotate 3s ease infinite}:root{--pwa-z-index: 10;--pwa-c-bg: var(--vp-c-bg-elv);--pwa-c-text: var(--vp-c-text);--pwa-c-shadow: var(--vp-c-shadow);--pwa-c-accent: var(--vp-c-accent);--pwa-c-accent-hover: var(--vp-c-accent-hover);--pwa-c-accent-text: var(--vp-c-accent-text);--pwa-c-control: var(--vp-c-control);--pwa-c-control-hover: var(--vp-c-control-hover);--pwa-c-text-mute: var(--vp-c-text-mute)}td[data-v-259a8620],tr[data-v-259a8620]{border:none}table[data-v-dc817d2c]{border-collapse:collapse;border:none;border-spacing:0;font-family:Arial,Helvetica,sans-serif;font-size:14px;color:#444;font-weight:500;margin-top:5px;width:95%;max-width:500px}@media (max-width: 320px){table[data-v-dc817d2c]{font-size:12px}.bus-timer-tb td[data-v-dc817d2c]{padding:0}}.bus-running[data-v-dc817d2c]{background-color:#afff5e3b;color:green}.bus-waiting[data-v-dc817d2c]{background-color:#eeeeee69}.plus-note[data-v-dc817d2c]{font-size:10px}.bus-timer-tb th[data-v-dc817d2c],.bus-timer-tb td[data-v-dc817d2c]{border:none;padding:10px;text-align:left}.bus-timer-tb th[data-v-dc817d2c]{background-color:#dce9f9}.bus-timer-tb th[data-v-dc817d2c]:first-child{border-radius:6px 0 0}.bus-timer-tb th[data-v-dc817d2c]:last-child{border-radius:0 6px 0 0}button{padding:10px 15px;margin:3px}.card[data-v-00202de1]{background-color:#e3e3e3;color:#000;padding:.5rem;font-size:13px}.cards[data-v-00202de1]{max-width:500px;margin:0;display:grid;grid-gap:.3rem;grid-template-columns:repeat(3,1fr)}@media (min-width: 300px){.cards[data-v-00202de1]{grid-template-columns:repeat(4,1fr)}}@media (min-width: 400px){.cards[data-v-00202de1]{grid-template-columns:repeat(6,1fr)}}.ant-segmented[data-v-193a2a3d]{color:unset;font-size:unset;font-variant:unset;font-feature-settings:unset}.tab-container[data-v-193a2a3d]{margin-top:6px}.bus-location-hint[data-v-193a2a3d]{padding-bottom:4px}.maplibregl-map{font:12px/20px Helvetica Neue,Arial,Helvetica,sans-serif;overflow:hidden;position:relative;-webkit-tap-highlight-color:rgb(0 0 0/0)}.maplibregl-canvas{left:0;position:absolute;top:0}.maplibregl-map:fullscreen{height:100%;width:100%}.maplibregl-ctrl-group button.maplibregl-ctrl-compass{touch-action:none}.maplibregl-canvas-container.maplibregl-interactive,.maplibregl-ctrl-group button.maplibregl-ctrl-compass{cursor:grab;-webkit-user-select:none;-moz-user-select:none;user-select:none}.maplibregl-canvas-container.maplibregl-interactive.maplibregl-track-pointer{cursor:pointer}.maplibregl-canvas-container.maplibregl-interactive:active,.maplibregl-ctrl-group button.maplibregl-ctrl-compass:active{cursor:grabbing}.maplibregl-canvas-container.maplibregl-touch-zoom-rotate,.maplibregl-canvas-container.maplibregl-touch-zoom-rotate .maplibregl-canvas{touch-action:pan-x pan-y}.maplibregl-canvas-container.maplibregl-touch-drag-pan,.maplibregl-canvas-container.maplibregl-touch-drag-pan .maplibregl-canvas{touch-action:pinch-zoom}.maplibregl-canvas-container.maplibregl-touch-zoom-rotate.maplibregl-touch-drag-pan,.maplibregl-canvas-container.maplibregl-touch-zoom-rotate.maplibregl-touch-drag-pan .maplibregl-canvas{touch-action:none}.maplibregl-canvas-container.maplibregl-touch-drag-pan.maplibregl-cooperative-gestures,.maplibregl-canvas-container.maplibregl-touch-drag-pan.maplibregl-cooperative-gestures .maplibregl-canvas{touch-action:pan-x pan-y}.maplibregl-ctrl-bottom-left,.maplibregl-ctrl-bottom-right,.maplibregl-ctrl-top-left,.maplibregl-ctrl-top-right{pointer-events:none;position:absolute;z-index:2}.maplibregl-ctrl-top-left{left:0;top:0}.maplibregl-ctrl-top-right{right:0;top:0}.maplibregl-ctrl-bottom-left{bottom:0;left:0}.maplibregl-ctrl-bottom-right{bottom:0;right:0}.maplibregl-ctrl{clear:both;pointer-events:auto;transform:translate(0)}.maplibregl-ctrl-top-left .maplibregl-ctrl{float:left;margin:10px 0 0 10px}.maplibregl-ctrl-top-right .maplibregl-ctrl{float:right;margin:10px 10px 0 0}.maplibregl-ctrl-bottom-left .maplibregl-ctrl{float:left;margin:0 0 10px 10px}.maplibregl-ctrl-bottom-right .maplibregl-ctrl{float:right;margin:0 10px 10px 0}.maplibregl-ctrl-group{background:#fff;border-radius:4px}.maplibregl-ctrl-group:not(:empty){box-shadow:0 0 0 2px #0000001a}@media (forced-colors:active){.maplibregl-ctrl-group:not(:empty){box-shadow:0 0 0 2px ButtonText}}.maplibregl-ctrl-group button{background-color:transparent;border:0;box-sizing:border-box;cursor:pointer;display:block;height:29px;outline:none;padding:0;width:29px}.maplibregl-ctrl-group button+button{border-top:1px solid #ddd}.maplibregl-ctrl button .maplibregl-ctrl-icon{background-position:50%;background-repeat:no-repeat;display:block;height:100%;width:100%}@media (forced-colors:active){.maplibregl-ctrl-icon{background-color:transparent}.maplibregl-ctrl-group button+button{border-top:1px solid ButtonText}}.maplibregl-ctrl button::-moz-focus-inner{border:0;padding:0}.maplibregl-ctrl-attrib-button:focus,.maplibregl-ctrl-group button:focus{box-shadow:0 0 2px 2px #0096ff}.maplibregl-ctrl button:disabled{cursor:not-allowed}.maplibregl-ctrl button:disabled .maplibregl-ctrl-icon{opacity:.25}.maplibregl-ctrl button:not(:disabled):hover{background-color:#0000000d}.maplibregl-ctrl-group button:focus:focus-visible{box-shadow:0 0 2px 2px #0096ff}.maplibregl-ctrl-group button:focus:not(:focus-visible){box-shadow:none}.maplibregl-ctrl-group button:focus:first-child{border-radius:4px 4px 0 0}.maplibregl-ctrl-group button:focus:last-child{border-radius:0 0 4px 4px}.maplibregl-ctrl-group button:focus:only-child{border-radius:inherit}.maplibregl-ctrl button.maplibregl-ctrl-zoom-out .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23333' viewBox='0 0 29 29'%3E%3Cpath d='M10 13c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h9c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13z'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-zoom-in .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23333' viewBox='0 0 29 29'%3E%3Cpath d='M14.5 8.5c-.75 0-1.5.75-1.5 1.5v3h-3c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h3v3c0 .75.75 1.5 1.5 1.5S16 19.75 16 19v-3h3c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-3v-3c0-.75-.75-1.5-1.5-1.5'/%3E%3C/svg%3E")}@media (forced-colors:active){.maplibregl-ctrl button.maplibregl-ctrl-zoom-out .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23fff' viewBox='0 0 29 29'%3E%3Cpath d='M10 13c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h9c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13z'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-zoom-in .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23fff' viewBox='0 0 29 29'%3E%3Cpath d='M14.5 8.5c-.75 0-1.5.75-1.5 1.5v3h-3c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h3v3c0 .75.75 1.5 1.5 1.5S16 19.75 16 19v-3h3c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-3v-3c0-.75-.75-1.5-1.5-1.5'/%3E%3C/svg%3E")}}@media (forced-colors:active) and (prefers-color-scheme:light){.maplibregl-ctrl button.maplibregl-ctrl-zoom-out .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' viewBox='0 0 29 29'%3E%3Cpath d='M10 13c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h9c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13z'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-zoom-in .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' viewBox='0 0 29 29'%3E%3Cpath d='M14.5 8.5c-.75 0-1.5.75-1.5 1.5v3h-3c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h3v3c0 .75.75 1.5 1.5 1.5S16 19.75 16 19v-3h3c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-3v-3c0-.75-.75-1.5-1.5-1.5'/%3E%3C/svg%3E")}}.maplibregl-ctrl button.maplibregl-ctrl-fullscreen .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23333' viewBox='0 0 29 29'%3E%3Cpath d='M24 16v5.5c0 1.75-.75 2.5-2.5 2.5H16v-1l3-1.5-4-5.5 1-1 5.5 4 1.5-3zM6 16l1.5 3 5.5-4 1 1-4 5.5 3 1.5v1H7.5C5.75 24 5 23.25 5 21.5V16zm7-11v1l-3 1.5 4 5.5-1 1-5.5-4L6 13H5V7.5C5 5.75 5.75 5 7.5 5zm11 2.5c0-1.75-.75-2.5-2.5-2.5H16v1l3 1.5-4 5.5 1 1 5.5-4 1.5 3h1z'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-shrink .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' viewBox='0 0 29 29'%3E%3Cpath d='M18.5 16c-1.75 0-2.5.75-2.5 2.5V24h1l1.5-3 5.5 4 1-1-4-5.5 3-1.5v-1zM13 18.5c0-1.75-.75-2.5-2.5-2.5H5v1l3 1.5L4 24l1 1 5.5-4 1.5 3h1zm3-8c0 1.75.75 2.5 2.5 2.5H24v-1l-3-1.5L25 5l-1-1-5.5 4L17 5h-1zM10.5 13c1.75 0 2.5-.75 2.5-2.5V5h-1l-1.5 3L5 4 4 5l4 5.5L5 12v1z'/%3E%3C/svg%3E")}@media (forced-colors:active){.maplibregl-ctrl button.maplibregl-ctrl-fullscreen .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23fff' viewBox='0 0 29 29'%3E%3Cpath d='M24 16v5.5c0 1.75-.75 2.5-2.5 2.5H16v-1l3-1.5-4-5.5 1-1 5.5 4 1.5-3zM6 16l1.5 3 5.5-4 1 1-4 5.5 3 1.5v1H7.5C5.75 24 5 23.25 5 21.5V16zm7-11v1l-3 1.5 4 5.5-1 1-5.5-4L6 13H5V7.5C5 5.75 5.75 5 7.5 5zm11 2.5c0-1.75-.75-2.5-2.5-2.5H16v1l3 1.5-4 5.5 1 1 5.5-4 1.5 3h1z'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-shrink .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23fff' viewBox='0 0 29 29'%3E%3Cpath d='M18.5 16c-1.75 0-2.5.75-2.5 2.5V24h1l1.5-3 5.5 4 1-1-4-5.5 3-1.5v-1zM13 18.5c0-1.75-.75-2.5-2.5-2.5H5v1l3 1.5L4 24l1 1 5.5-4 1.5 3h1zm3-8c0 1.75.75 2.5 2.5 2.5H24v-1l-3-1.5L25 5l-1-1-5.5 4L17 5h-1zM10.5 13c1.75 0 2.5-.75 2.5-2.5V5h-1l-1.5 3L5 4 4 5l4 5.5L5 12v1z'/%3E%3C/svg%3E")}}@media (forced-colors:active) and (prefers-color-scheme:light){.maplibregl-ctrl button.maplibregl-ctrl-fullscreen .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' viewBox='0 0 29 29'%3E%3Cpath d='M24 16v5.5c0 1.75-.75 2.5-2.5 2.5H16v-1l3-1.5-4-5.5 1-1 5.5 4 1.5-3zM6 16l1.5 3 5.5-4 1 1-4 5.5 3 1.5v1H7.5C5.75 24 5 23.25 5 21.5V16zm7-11v1l-3 1.5 4 5.5-1 1-5.5-4L6 13H5V7.5C5 5.75 5.75 5 7.5 5zm11 2.5c0-1.75-.75-2.5-2.5-2.5H16v1l3 1.5-4 5.5 1 1 5.5-4 1.5 3h1z'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-shrink .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' viewBox='0 0 29 29'%3E%3Cpath d='M18.5 16c-1.75 0-2.5.75-2.5 2.5V24h1l1.5-3 5.5 4 1-1-4-5.5 3-1.5v-1zM13 18.5c0-1.75-.75-2.5-2.5-2.5H5v1l3 1.5L4 24l1 1 5.5-4 1.5 3h1zm3-8c0 1.75.75 2.5 2.5 2.5H24v-1l-3-1.5L25 5l-1-1-5.5 4L17 5h-1zM10.5 13c1.75 0 2.5-.75 2.5-2.5V5h-1l-1.5 3L5 4 4 5l4 5.5L5 12v1z'/%3E%3C/svg%3E")}}.maplibregl-ctrl button.maplibregl-ctrl-compass .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23333' viewBox='0 0 29 29'%3E%3Cpath d='m10.5 14 4-8 4 8z'/%3E%3Cpath fill='%23ccc' d='m10.5 16 4 8 4-8z'/%3E%3C/svg%3E")}@media (forced-colors:active){.maplibregl-ctrl button.maplibregl-ctrl-compass .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23fff' viewBox='0 0 29 29'%3E%3Cpath d='m10.5 14 4-8 4 8z'/%3E%3Cpath fill='%23ccc' d='m10.5 16 4 8 4-8z'/%3E%3C/svg%3E")}}@media (forced-colors:active) and (prefers-color-scheme:light){.maplibregl-ctrl button.maplibregl-ctrl-compass .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' viewBox='0 0 29 29'%3E%3Cpath d='m10.5 14 4-8 4 8z'/%3E%3Cpath fill='%23ccc' d='m10.5 16 4 8 4-8z'/%3E%3C/svg%3E")}}.maplibregl-ctrl button.maplibregl-ctrl-terrain .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' fill='%23333' viewBox='0 0 22 22'%3E%3Cpath d='m1.754 13.406 4.453-4.851 3.09 3.09 3.281 3.277.969-.969-3.309-3.312 3.844-4.121 6.148 6.886h1.082v-.855l-7.207-8.07-4.84 5.187L6.169 6.57l-5.48 5.965v.871ZM.688 16.844h20.625v1.375H.688Zm0 0'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-terrain-enabled .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' fill='%2333b5e5' viewBox='0 0 22 22'%3E%3Cpath d='m1.754 13.406 4.453-4.851 3.09 3.09 3.281 3.277.969-.969-3.309-3.312 3.844-4.121 6.148 6.886h1.082v-.855l-7.207-8.07-4.84 5.187L6.169 6.57l-5.48 5.965v.871ZM.688 16.844h20.625v1.375H.688Zm0 0'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23333' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate:disabled .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23aaa' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3Cpath fill='red' d='m14 5 1 1-9 9-1-1z'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-active .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%2333b5e5' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-active-error .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23e58978' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-background .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%2333b5e5' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-background-error .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23e54e33' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-waiting .maplibregl-ctrl-icon{animation:maplibregl-spin 2s linear infinite}@media (forced-colors:active){.maplibregl-ctrl button.maplibregl-ctrl-geolocate .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23fff' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate:disabled .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23999' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3Cpath fill='red' d='m14 5 1 1-9 9-1-1z'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-active .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%2333b5e5' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-active-error .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23e58978' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-background .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%2333b5e5' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-background-error .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23e54e33' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3C/svg%3E")}}@media (forced-colors:active) and (prefers-color-scheme:light){.maplibregl-ctrl button.maplibregl-ctrl-geolocate .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate:disabled .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='%23666' viewBox='0 0 20 20'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1m0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3Cpath fill='red' d='m14 5 1 1-9 9-1-1z'/%3E%3C/svg%3E")}}@keyframes maplibregl-spin{0%{transform:rotate(0)}to{transform:rotate(1turn)}}a.maplibregl-ctrl-logo{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='88' height='23' fill='none'%3E%3Cpath fill='%23000' fill-opacity='.4' fill-rule='evenodd' d='M17.408 16.796h-1.827l2.501-12.095h.198l3.324 6.533.988 2.19.988-2.19 3.258-6.533h.181l2.6 12.095h-1.81l-1.218-5.644-.362-1.71-.658 1.71-2.929 5.644h-.098l-2.914-5.644-.757-1.71-.345 1.71zm1.958-3.42-.726 3.663a1.255 1.255 0 0 1-1.232 1.011h-1.827a1.255 1.255 0 0 1-1.229-1.509l2.501-12.095a1.255 1.255 0 0 1 1.23-1.001h.197a1.25 1.25 0 0 1 1.12.685l3.19 6.273 3.125-6.263a1.25 1.25 0 0 1 1.123-.695h.181a1.255 1.255 0 0 1 1.227.991l1.443 6.71a5 5 0 0 1 .314-.787l.009-.016a4.6 4.6 0 0 1 1.777-1.887c.782-.46 1.668-.667 2.611-.667a4.6 4.6 0 0 1 1.7.32l.306.134c.21-.16.474-.256.759-.256h1.694a1.255 1.255 0 0 1 1.212.925 1.255 1.255 0 0 1 1.212-.925h1.711c.284 0 .545.094.755.252.613-.3 1.312-.45 2.075-.45 1.356 0 2.557.445 3.482 1.4q.47.48.763 1.064V4.701a1.255 1.255 0 0 1 1.255-1.255h1.86A1.255 1.255 0 0 1 54.44 4.7v9.194h2.217c.19 0 .37.043.532.118v-4.77c0-.356.147-.678.385-.906a2.42 2.42 0 0 1-.682-1.71c0-.665.267-1.253.735-1.7a2.45 2.45 0 0 1 1.722-.674 2.43 2.43 0 0 1 1.705.675q.318.302.504.683V4.7a1.255 1.255 0 0 1 1.255-1.255h1.744A1.255 1.255 0 0 1 65.812 4.7v3.335a4.8 4.8 0 0 1 1.526-.246c.938 0 1.817.214 2.59.69a4.47 4.47 0 0 1 1.67 1.743v-.98a1.255 1.255 0 0 1 1.256-1.256h1.777c.233 0 .451.064.639.174a3.4 3.4 0 0 1 1.567-.372c.346 0 .861.02 1.285.232a1.25 1.25 0 0 1 .689 1.004 4.7 4.7 0 0 1 .853-.588c.795-.44 1.675-.647 2.61-.647 1.385 0 2.65.39 3.525 1.396.836.938 1.168 2.173 1.168 3.528q-.001.515-.056 1.051a1.255 1.255 0 0 1-.947 1.09l.408.952a1.255 1.255 0 0 1-.477 1.552c-.418.268-.92.463-1.458.612-.613.171-1.304.244-2.049.244-1.06 0-2.043-.207-2.886-.698l-.015-.008c-.798-.48-1.419-1.135-1.818-1.963l-.004-.008a5.8 5.8 0 0 1-.548-2.512q0-.429.053-.843a1.3 1.3 0 0 1-.333-.086l-.166-.004c-.223 0-.426.062-.643.228-.03.024-.142.139-.142.59v3.883a1.255 1.255 0 0 1-1.256 1.256h-1.777a1.255 1.255 0 0 1-1.256-1.256V15.69l-.032.057a4.8 4.8 0 0 1-1.86 1.833 5.04 5.04 0 0 1-2.484.634 4.5 4.5 0 0 1-1.935-.424 1.25 1.25 0 0 1-.764.258h-1.71a1.255 1.255 0 0 1-1.256-1.255V7.687a2.4 2.4 0 0 1-.428.625c.253.23.412.561.412.93v7.553a1.255 1.255 0 0 1-1.256 1.255h-1.843a1.25 1.25 0 0 1-.894-.373c-.228.23-.544.373-.894.373H51.32a1.255 1.255 0 0 1-1.256-1.255v-1.251l-.061.117a4.7 4.7 0 0 1-1.782 1.884 4.77 4.77 0 0 1-2.485.67 5.6 5.6 0 0 1-1.485-.188l.009 2.764a1.255 1.255 0 0 1-1.255 1.259h-1.729a1.255 1.255 0 0 1-1.255-1.255v-3.537a1.255 1.255 0 0 1-1.167.793h-1.679a1.25 1.25 0 0 1-.77-.263 4.5 4.5 0 0 1-1.945.429c-.885 0-1.724-.21-2.495-.632l-.017-.01a5 5 0 0 1-1.081-.836 1.255 1.255 0 0 1-1.254 1.312h-1.81a1.255 1.255 0 0 1-1.228-.99l-.782-3.625-2.044 3.939a1.25 1.25 0 0 1-1.115.676h-.098a1.25 1.25 0 0 1-1.116-.68l-2.061-3.994zM35.92 16.63l.207-.114.223-.15q.493-.356.735-.785l.061-.118.033 1.332h1.678V9.242h-1.694l-.033 1.267q-.133-.329-.526-.658l-.032-.028a3.2 3.2 0 0 0-.668-.428l-.27-.12a3.3 3.3 0 0 0-1.235-.23q-1.136-.001-1.974.493a3.36 3.36 0 0 0-1.3 1.382q-.445.89-.444 2.074 0 1.2.51 2.107a3.8 3.8 0 0 0 1.382 1.381 3.9 3.9 0 0 0 1.893.477q.795 0 1.455-.33zm-2.789-5.38q-.576.675-.575 1.762 0 1.102.559 1.794.576.675 1.645.675a2.25 2.25 0 0 0 .934-.19 2.2 2.2 0 0 0 .468-.29l.178-.161a2.2 2.2 0 0 0 .397-.561q.244-.5.244-1.15v-.115q0-.708-.296-1.267l-.043-.077a2.2 2.2 0 0 0-.633-.709l-.13-.086-.047-.028a2.1 2.1 0 0 0-1.073-.285q-1.052 0-1.629.692zm2.316 2.706c.163-.17.28-.407.28-.83v-.114c0-.292-.06-.508-.15-.68a.96.96 0 0 0-.353-.389.85.85 0 0 0-.464-.127c-.4 0-.56.114-.664.239l-.01.012c-.148.174-.275.45-.275.945 0 .506.122.801.27.99.097.11.266.224.68.224.303 0 .504-.09.687-.269zm7.545 1.705a2.6 2.6 0 0 0 .331.423q.319.33.755.548l.173.074q.65.255 1.49.255 1.02 0 1.844-.493a3.45 3.45 0 0 0 1.316-1.4q.493-.904.493-2.089 0-1.909-.988-2.913-.988-1.02-2.584-1.02-.898 0-1.575.347a3 3 0 0 0-.415.262l-.199.166a3.4 3.4 0 0 0-.64.82V9.242h-1.712v11.553h1.729l-.017-5.134zm.53-1.138q.206.29.48.5l.155.11.053.034q.51.296 1.119.297 1.07 0 1.645-.675.577-.69.576-1.762 0-1.119-.576-1.777-.558-.675-1.645-.675-.435 0-.835.16a2 2 0 0 0-.284.136 2 2 0 0 0-.363.254 2.2 2.2 0 0 0-.46.569l-.082.162a2.6 2.6 0 0 0-.213 1.072v.115q0 .707.296 1.267l.135.211zm.964-.818a1.1 1.1 0 0 0 .367.385.94.94 0 0 0 .476.118c.423 0 .59-.117.687-.23.159-.194.28-.478.28-.95 0-.53-.133-.8-.266-.952l-.021-.025c-.078-.094-.231-.221-.68-.221a1 1 0 0 0-.503.135l-.012.007a.86.86 0 0 0-.335.343c-.073.133-.132.324-.132.614v.115a1.4 1.4 0 0 0 .14.66zm15.7-6.222q.347-.346.346-.856a1.05 1.05 0 0 0-.345-.79 1.18 1.18 0 0 0-.84-.329q-.51 0-.855.33a1.05 1.05 0 0 0-.346.79q0 .51.346.855.345.346.856.346.51 0 .839-.346zm4.337 9.314.033-1.332q.191.403.59.747l.098.081a4 4 0 0 0 .316.224l.223.122a3.2 3.2 0 0 0 1.44.322 3.8 3.8 0 0 0 1.875-.477 3.5 3.5 0 0 0 1.382-1.366q.527-.89.526-2.09 0-1.184-.444-2.073a3.24 3.24 0 0 0-1.283-1.399q-.823-.51-1.942-.51a3.5 3.5 0 0 0-1.527.344l-.086.043-.165.09a3 3 0 0 0-.33.214q-.432.315-.656.707a2 2 0 0 0-.099.198l.082-1.283V4.701h-1.744v12.095zm.473-2.509a2.5 2.5 0 0 0 .566.7q.117.098.245.18l.144.08a2.1 2.1 0 0 0 .975.232q1.07 0 1.645-.675.576-.69.576-1.778 0-1.102-.576-1.777-.56-.691-1.645-.692a2.2 2.2 0 0 0-1.015.235q-.22.113-.415.282l-.15.142a2.1 2.1 0 0 0-.42.594q-.223.479-.223 1.1v.115q0 .705.293 1.26zm2.616-.293c.157-.191.28-.479.28-.967 0-.51-.13-.79-.276-.961l-.021-.026c-.082-.1-.232-.225-.67-.225a.87.87 0 0 0-.681.279l-.012.011c-.154.155-.274.38-.274.807v.115c0 .285.057.499.144.669a1.1 1.1 0 0 0 .367.405c.137.082.28.123.455.123.423 0 .59-.118.686-.23zm8.266-3.013q.345-.13.724-.14l.069-.002q.493 0 .642.099l.247-1.794q-.196-.099-.717-.099a2.3 2.3 0 0 0-.545.063 2 2 0 0 0-.411.148 2.2 2.2 0 0 0-.4.249 2.5 2.5 0 0 0-.485.499 2.7 2.7 0 0 0-.32.581l-.05.137v-1.48h-1.778v7.553h1.777v-3.884q0-.546.159-.943a1.5 1.5 0 0 1 .466-.636 2.5 2.5 0 0 1 .399-.253 2 2 0 0 1 .224-.099zm9.784 2.656.05-.922q0-1.743-.856-2.698-.838-.97-2.584-.97-1.119-.001-2.007.493a3.46 3.46 0 0 0-1.4 1.382q-.493.906-.493 2.106 0 1.07.428 1.975.428.89 1.332 1.432.906.526 2.255.526.973 0 1.668-.185l.044-.012.135-.04q.613-.184.984-.421l-.542-1.267q-.3.162-.642.274l-.297.087q-.51.131-1.3.131-.954 0-1.497-.444a1.6 1.6 0 0 1-.192-.193q-.366-.44-.512-1.234l-.004-.021zm-5.427-1.256-.003.022h3.752v-.138q-.011-.727-.288-1.118a1 1 0 0 0-.156-.176q-.46-.428-1.316-.428-.986 0-1.494.604-.379.45-.494 1.234zm-27.053 2.77V4.7h-1.86v12.095h5.333V15.15zm7.103-5.908v7.553h-1.843V9.242h1.843z'/%3E%3Cpath fill='%23fff' d='m19.63 11.151-.757-1.71-.345 1.71-1.12 5.644h-1.827L18.083 4.7h.197l3.325 6.533.988 2.19.988-2.19L26.839 4.7h.181l2.6 12.095h-1.81l-1.218-5.644-.362-1.71-.658 1.71-2.93 5.644h-.098l-2.913-5.644zm14.836 5.81q-1.02 0-1.893-.478a3.8 3.8 0 0 1-1.381-1.382q-.51-.906-.51-2.106 0-1.185.444-2.074a3.36 3.36 0 0 1 1.3-1.382q.839-.494 1.974-.494a3.3 3.3 0 0 1 1.234.231 3.3 3.3 0 0 1 .97.575q.396.33.527.659l.033-1.267h1.694v7.553H37.18l-.033-1.332q-.279.593-1.02 1.053a3.17 3.17 0 0 1-1.662.444zm.296-1.482q.938 0 1.58-.642.642-.66.642-1.711v-.115q0-.708-.296-1.267a2.2 2.2 0 0 0-.807-.872 2.1 2.1 0 0 0-1.119-.313q-1.053 0-1.629.692-.575.675-.575 1.76 0 1.103.559 1.795.577.675 1.645.675zm6.521-6.237h1.711v1.4q.906-1.597 2.83-1.597 1.596 0 2.584 1.02.988 1.005.988 2.914 0 1.185-.493 2.09a3.46 3.46 0 0 1-1.316 1.399 3.5 3.5 0 0 1-1.844.493q-.954 0-1.662-.329a2.67 2.67 0 0 1-1.086-.97l.017 5.134h-1.728zm4.048 6.22q1.07 0 1.645-.674.577-.69.576-1.762 0-1.119-.576-1.777-.558-.675-1.645-.675-.592 0-1.12.296-.51.28-.822.823-.296.527-.296 1.234v.115q0 .708.296 1.267.313.543.823.855.51.296 1.119.297z'/%3E%3Cpath fill='%23e1e3e9' d='M51.325 4.7h1.86v10.45h3.473v1.646h-5.333zm7.12 4.542h1.843v7.553h-1.843zm.905-1.415a1.16 1.16 0 0 1-.856-.346 1.17 1.17 0 0 1-.346-.856 1.05 1.05 0 0 1 .346-.79q.346-.329.856-.329.494 0 .839.33a1.05 1.05 0 0 1 .345.79 1.16 1.16 0 0 1-.345.855q-.33.346-.84.346zm7.875 9.133a3.17 3.17 0 0 1-1.662-.444q-.723-.46-1.004-1.053l-.033 1.332h-1.71V4.701h1.743v4.657l-.082 1.283q.279-.658 1.086-1.119a3.5 3.5 0 0 1 1.778-.477q1.119 0 1.942.51a3.24 3.24 0 0 1 1.283 1.4q.445.888.444 2.072 0 1.201-.526 2.09a3.5 3.5 0 0 1-1.382 1.366 3.8 3.8 0 0 1-1.876.477zm-.296-1.481q1.069 0 1.645-.675.577-.69.577-1.778 0-1.102-.577-1.776-.56-.691-1.645-.692a2.12 2.12 0 0 0-1.58.659q-.642.641-.642 1.694v.115q0 .71.296 1.267a2.4 2.4 0 0 0 .807.872 2.1 2.1 0 0 0 1.119.313zm5.927-6.237h1.777v1.481q.263-.757.856-1.217a2.14 2.14 0 0 1 1.349-.46q.527 0 .724.098l-.247 1.794q-.149-.099-.642-.099-.774 0-1.416.494-.626.493-.626 1.58v3.883h-1.777V9.242zm9.534 7.718q-1.35 0-2.255-.526-.904-.543-1.332-1.432a4.6 4.6 0 0 1-.428-1.975q0-1.2.493-2.106a3.46 3.46 0 0 1 1.4-1.382q.889-.495 2.007-.494 1.744 0 2.584.97.855.956.856 2.7 0 .444-.05.92h-5.43q.18 1.005.708 1.45.542.443 1.497.443.79 0 1.3-.131a4 4 0 0 0 .938-.362l.542 1.267q-.411.263-1.119.46-.708.198-1.711.197zm1.596-4.558q.016-1.02-.444-1.432-.46-.428-1.316-.428-1.728 0-1.991 1.86z'/%3E%3Cpath d='M5.074 15.948a.484.657 0 0 0-.486.659v1.84a.484.657 0 0 0 .486.659h4.101a.484.657 0 0 0 .486-.659v-1.84a.484.657 0 0 0-.486-.659zm3.56 1.16H5.617v.838h3.017z' style='fill:%23fff;fill-rule:evenodd;stroke-width:1.03600001'/%3E%3Cg style='stroke-width:1.12603545'%3E%3Cpath d='M-9.408-1.416c-3.833-.025-7.056 2.912-7.08 6.615-.02 3.08 1.653 4.832 3.107 6.268.903.892 1.721 1.74 2.32 2.902l-.525-.004c-.543-.003-.992.304-1.24.639a1.87 1.87 0 0 0-.362 1.121l-.011 1.877c-.003.402.104.787.347 1.125.244.338.688.653 1.23.656l4.142.028c.542.003.99-.306 1.238-.641a1.87 1.87 0 0 0 .363-1.121l.012-1.875a1.87 1.87 0 0 0-.348-1.127c-.243-.338-.688-.653-1.23-.656l-.518-.004c.597-1.145 1.425-1.983 2.348-2.87 1.473-1.414 3.18-3.149 3.2-6.226-.016-3.59-2.923-6.684-6.993-6.707m-.006 1.1v.002c3.274.02 5.92 2.532 5.9 5.6-.017 2.706-1.39 4.026-2.863 5.44-1.034.994-2.118 2.033-2.814 3.633-.018.041-.052.055-.075.065q-.013.004-.02.01a.34.34 0 0 1-.226.084.34.34 0 0 1-.224-.086l-.092-.077c-.699-1.615-1.768-2.669-2.781-3.67-1.454-1.435-2.797-2.762-2.78-5.478.02-3.067 2.7-5.545 5.975-5.523m-.02 2.826c-1.62-.01-2.944 1.315-2.955 2.96-.01 1.646 1.295 2.988 2.916 2.999h.002c1.621.01 2.943-1.316 2.953-2.961.011-1.646-1.294-2.988-2.916-2.998m-.005 1.1c1.017.006 1.829.83 1.822 1.89s-.83 1.874-1.848 1.867c-1.018-.006-1.829-.83-1.822-1.89s.83-1.874 1.848-1.868m-2.155 11.857 4.14.025c.271.002.49.305.487.676l-.013 1.875c-.003.37-.224.67-.495.668l-4.14-.025c-.27-.002-.487-.306-.485-.676l.012-1.875c.003-.37.224-.67.494-.668' style='color:%23000;font-style:normal;font-variant:normal;font-weight:400;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;font-variant-ligatures:normal;font-variant-position:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-alternates:normal;font-feature-settings:normal;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:%23000;letter-spacing:normal;word-spacing:normal;text-transform:none;writing-mode:lr-tb;direction:ltr;text-orientation:mixed;dominant-baseline:auto;baseline-shift:baseline;text-anchor:start;white-space:normal;shape-padding:0;clip-rule:evenodd;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:%23000;solid-opacity:1;vector-effect:none;fill:%23000;fill-opacity:.4;fill-rule:evenodd;stroke:none;stroke-width:2.47727823;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto' transform='translate(15.553 2.85)scale(.88807)'/%3E%3Cpath d='M-9.415-.316C-12.69-.338-15.37 2.14-15.39 5.207c-.017 2.716 1.326 4.041 2.78 5.477 1.013 1 2.081 2.055 2.78 3.67l.092.076a.34.34 0 0 0 .225.086.34.34 0 0 0 .227-.083l.019-.01c.022-.009.057-.024.074-.064.697-1.6 1.78-2.64 2.814-3.634 1.473-1.414 2.847-2.733 2.864-5.44.02-3.067-2.627-5.58-5.901-5.601m-.057 8.784c1.621.011 2.944-1.315 2.955-2.96.01-1.646-1.295-2.988-2.916-2.999-1.622-.01-2.945 1.315-2.955 2.96s1.295 2.989 2.916 3' style='clip-rule:evenodd;fill:%23e1e3e9;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:2.47727823;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:.4' transform='translate(15.553 2.85)scale(.88807)'/%3E%3Cpath d='M-11.594 15.465c-.27-.002-.492.297-.494.668l-.012 1.876c-.003.371.214.673.485.675l4.14.027c.271.002.492-.298.495-.668l.012-1.877c.003-.37-.215-.672-.485-.674z' style='clip-rule:evenodd;fill:%23fff;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:2.47727823;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:.4' transform='translate(15.553 2.85)scale(.88807)'/%3E%3C/g%3E%3C/svg%3E");background-repeat:no-repeat;cursor:pointer;display:block;height:23px;margin:0 0 -4px -4px;overflow:hidden;width:88px}a.maplibregl-ctrl-logo.maplibregl-compact{width:14px}@media (forced-colors:active){a.maplibregl-ctrl-logo{background-color:transparent;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='88' height='23' fill='none'%3E%3Cpath fill='%23000' fill-opacity='.4' fill-rule='evenodd' d='M17.408 16.796h-1.827l2.501-12.095h.198l3.324 6.533.988 2.19.988-2.19 3.258-6.533h.181l2.6 12.095h-1.81l-1.218-5.644-.362-1.71-.658 1.71-2.929 5.644h-.098l-2.914-5.644-.757-1.71-.345 1.71zm1.958-3.42-.726 3.663a1.255 1.255 0 0 1-1.232 1.011h-1.827a1.255 1.255 0 0 1-1.229-1.509l2.501-12.095a1.255 1.255 0 0 1 1.23-1.001h.197a1.25 1.25 0 0 1 1.12.685l3.19 6.273 3.125-6.263a1.25 1.25 0 0 1 1.123-.695h.181a1.255 1.255 0 0 1 1.227.991l1.443 6.71a5 5 0 0 1 .314-.787l.009-.016a4.6 4.6 0 0 1 1.777-1.887c.782-.46 1.668-.667 2.611-.667a4.6 4.6 0 0 1 1.7.32l.306.134c.21-.16.474-.256.759-.256h1.694a1.255 1.255 0 0 1 1.212.925 1.255 1.255 0 0 1 1.212-.925h1.711c.284 0 .545.094.755.252.613-.3 1.312-.45 2.075-.45 1.356 0 2.557.445 3.482 1.4q.47.48.763 1.064V4.701a1.255 1.255 0 0 1 1.255-1.255h1.86A1.255 1.255 0 0 1 54.44 4.7v9.194h2.217c.19 0 .37.043.532.118v-4.77c0-.356.147-.678.385-.906a2.42 2.42 0 0 1-.682-1.71c0-.665.267-1.253.735-1.7a2.45 2.45 0 0 1 1.722-.674 2.43 2.43 0 0 1 1.705.675q.318.302.504.683V4.7a1.255 1.255 0 0 1 1.255-1.255h1.744A1.255 1.255 0 0 1 65.812 4.7v3.335a4.8 4.8 0 0 1 1.526-.246c.938 0 1.817.214 2.59.69a4.47 4.47 0 0 1 1.67 1.743v-.98a1.255 1.255 0 0 1 1.256-1.256h1.777c.233 0 .451.064.639.174a3.4 3.4 0 0 1 1.567-.372c.346 0 .861.02 1.285.232a1.25 1.25 0 0 1 .689 1.004 4.7 4.7 0 0 1 .853-.588c.795-.44 1.675-.647 2.61-.647 1.385 0 2.65.39 3.525 1.396.836.938 1.168 2.173 1.168 3.528q-.001.515-.056 1.051a1.255 1.255 0 0 1-.947 1.09l.408.952a1.255 1.255 0 0 1-.477 1.552c-.418.268-.92.463-1.458.612-.613.171-1.304.244-2.049.244-1.06 0-2.043-.207-2.886-.698l-.015-.008c-.798-.48-1.419-1.135-1.818-1.963l-.004-.008a5.8 5.8 0 0 1-.548-2.512q0-.429.053-.843a1.3 1.3 0 0 1-.333-.086l-.166-.004c-.223 0-.426.062-.643.228-.03.024-.142.139-.142.59v3.883a1.255 1.255 0 0 1-1.256 1.256h-1.777a1.255 1.255 0 0 1-1.256-1.256V15.69l-.032.057a4.8 4.8 0 0 1-1.86 1.833 5.04 5.04 0 0 1-2.484.634 4.5 4.5 0 0 1-1.935-.424 1.25 1.25 0 0 1-.764.258h-1.71a1.255 1.255 0 0 1-1.256-1.255V7.687a2.4 2.4 0 0 1-.428.625c.253.23.412.561.412.93v7.553a1.255 1.255 0 0 1-1.256 1.255h-1.843a1.25 1.25 0 0 1-.894-.373c-.228.23-.544.373-.894.373H51.32a1.255 1.255 0 0 1-1.256-1.255v-1.251l-.061.117a4.7 4.7 0 0 1-1.782 1.884 4.77 4.77 0 0 1-2.485.67 5.6 5.6 0 0 1-1.485-.188l.009 2.764a1.255 1.255 0 0 1-1.255 1.259h-1.729a1.255 1.255 0 0 1-1.255-1.255v-3.537a1.255 1.255 0 0 1-1.167.793h-1.679a1.25 1.25 0 0 1-.77-.263 4.5 4.5 0 0 1-1.945.429c-.885 0-1.724-.21-2.495-.632l-.017-.01a5 5 0 0 1-1.081-.836 1.255 1.255 0 0 1-1.254 1.312h-1.81a1.255 1.255 0 0 1-1.228-.99l-.782-3.625-2.044 3.939a1.25 1.25 0 0 1-1.115.676h-.098a1.25 1.25 0 0 1-1.116-.68l-2.061-3.994zM35.92 16.63l.207-.114.223-.15q.493-.356.735-.785l.061-.118.033 1.332h1.678V9.242h-1.694l-.033 1.267q-.133-.329-.526-.658l-.032-.028a3.2 3.2 0 0 0-.668-.428l-.27-.12a3.3 3.3 0 0 0-1.235-.23q-1.136-.001-1.974.493a3.36 3.36 0 0 0-1.3 1.382q-.445.89-.444 2.074 0 1.2.51 2.107a3.8 3.8 0 0 0 1.382 1.381 3.9 3.9 0 0 0 1.893.477q.795 0 1.455-.33zm-2.789-5.38q-.576.675-.575 1.762 0 1.102.559 1.794.576.675 1.645.675a2.25 2.25 0 0 0 .934-.19 2.2 2.2 0 0 0 .468-.29l.178-.161a2.2 2.2 0 0 0 .397-.561q.244-.5.244-1.15v-.115q0-.708-.296-1.267l-.043-.077a2.2 2.2 0 0 0-.633-.709l-.13-.086-.047-.028a2.1 2.1 0 0 0-1.073-.285q-1.052 0-1.629.692zm2.316 2.706c.163-.17.28-.407.28-.83v-.114c0-.292-.06-.508-.15-.68a.96.96 0 0 0-.353-.389.85.85 0 0 0-.464-.127c-.4 0-.56.114-.664.239l-.01.012c-.148.174-.275.45-.275.945 0 .506.122.801.27.99.097.11.266.224.68.224.303 0 .504-.09.687-.269zm7.545 1.705a2.6 2.6 0 0 0 .331.423q.319.33.755.548l.173.074q.65.255 1.49.255 1.02 0 1.844-.493a3.45 3.45 0 0 0 1.316-1.4q.493-.904.493-2.089 0-1.909-.988-2.913-.988-1.02-2.584-1.02-.898 0-1.575.347a3 3 0 0 0-.415.262l-.199.166a3.4 3.4 0 0 0-.64.82V9.242h-1.712v11.553h1.729l-.017-5.134zm.53-1.138q.206.29.48.5l.155.11.053.034q.51.296 1.119.297 1.07 0 1.645-.675.577-.69.576-1.762 0-1.119-.576-1.777-.558-.675-1.645-.675-.435 0-.835.16a2 2 0 0 0-.284.136 2 2 0 0 0-.363.254 2.2 2.2 0 0 0-.46.569l-.082.162a2.6 2.6 0 0 0-.213 1.072v.115q0 .707.296 1.267l.135.211zm.964-.818a1.1 1.1 0 0 0 .367.385.94.94 0 0 0 .476.118c.423 0 .59-.117.687-.23.159-.194.28-.478.28-.95 0-.53-.133-.8-.266-.952l-.021-.025c-.078-.094-.231-.221-.68-.221a1 1 0 0 0-.503.135l-.012.007a.86.86 0 0 0-.335.343c-.073.133-.132.324-.132.614v.115a1.4 1.4 0 0 0 .14.66zm15.7-6.222q.347-.346.346-.856a1.05 1.05 0 0 0-.345-.79 1.18 1.18 0 0 0-.84-.329q-.51 0-.855.33a1.05 1.05 0 0 0-.346.79q0 .51.346.855.345.346.856.346.51 0 .839-.346zm4.337 9.314.033-1.332q.191.403.59.747l.098.081a4 4 0 0 0 .316.224l.223.122a3.2 3.2 0 0 0 1.44.322 3.8 3.8 0 0 0 1.875-.477 3.5 3.5 0 0 0 1.382-1.366q.527-.89.526-2.09 0-1.184-.444-2.073a3.24 3.24 0 0 0-1.283-1.399q-.823-.51-1.942-.51a3.5 3.5 0 0 0-1.527.344l-.086.043-.165.09a3 3 0 0 0-.33.214q-.432.315-.656.707a2 2 0 0 0-.099.198l.082-1.283V4.701h-1.744v12.095zm.473-2.509a2.5 2.5 0 0 0 .566.7q.117.098.245.18l.144.08a2.1 2.1 0 0 0 .975.232q1.07 0 1.645-.675.576-.69.576-1.778 0-1.102-.576-1.777-.56-.691-1.645-.692a2.2 2.2 0 0 0-1.015.235q-.22.113-.415.282l-.15.142a2.1 2.1 0 0 0-.42.594q-.223.479-.223 1.1v.115q0 .705.293 1.26zm2.616-.293c.157-.191.28-.479.28-.967 0-.51-.13-.79-.276-.961l-.021-.026c-.082-.1-.232-.225-.67-.225a.87.87 0 0 0-.681.279l-.012.011c-.154.155-.274.38-.274.807v.115c0 .285.057.499.144.669a1.1 1.1 0 0 0 .367.405c.137.082.28.123.455.123.423 0 .59-.118.686-.23zm8.266-3.013q.345-.13.724-.14l.069-.002q.493 0 .642.099l.247-1.794q-.196-.099-.717-.099a2.3 2.3 0 0 0-.545.063 2 2 0 0 0-.411.148 2.2 2.2 0 0 0-.4.249 2.5 2.5 0 0 0-.485.499 2.7 2.7 0 0 0-.32.581l-.05.137v-1.48h-1.778v7.553h1.777v-3.884q0-.546.159-.943a1.5 1.5 0 0 1 .466-.636 2.5 2.5 0 0 1 .399-.253 2 2 0 0 1 .224-.099zm9.784 2.656.05-.922q0-1.743-.856-2.698-.838-.97-2.584-.97-1.119-.001-2.007.493a3.46 3.46 0 0 0-1.4 1.382q-.493.906-.493 2.106 0 1.07.428 1.975.428.89 1.332 1.432.906.526 2.255.526.973 0 1.668-.185l.044-.012.135-.04q.613-.184.984-.421l-.542-1.267q-.3.162-.642.274l-.297.087q-.51.131-1.3.131-.954 0-1.497-.444a1.6 1.6 0 0 1-.192-.193q-.366-.44-.512-1.234l-.004-.021zm-5.427-1.256-.003.022h3.752v-.138q-.011-.727-.288-1.118a1 1 0 0 0-.156-.176q-.46-.428-1.316-.428-.986 0-1.494.604-.379.45-.494 1.234zm-27.053 2.77V4.7h-1.86v12.095h5.333V15.15zm7.103-5.908v7.553h-1.843V9.242h1.843z'/%3E%3Cpath fill='%23fff' d='m19.63 11.151-.757-1.71-.345 1.71-1.12 5.644h-1.827L18.083 4.7h.197l3.325 6.533.988 2.19.988-2.19L26.839 4.7h.181l2.6 12.095h-1.81l-1.218-5.644-.362-1.71-.658 1.71-2.93 5.644h-.098l-2.913-5.644zm14.836 5.81q-1.02 0-1.893-.478a3.8 3.8 0 0 1-1.381-1.382q-.51-.906-.51-2.106 0-1.185.444-2.074a3.36 3.36 0 0 1 1.3-1.382q.839-.494 1.974-.494a3.3 3.3 0 0 1 1.234.231 3.3 3.3 0 0 1 .97.575q.396.33.527.659l.033-1.267h1.694v7.553H37.18l-.033-1.332q-.279.593-1.02 1.053a3.17 3.17 0 0 1-1.662.444zm.296-1.482q.938 0 1.58-.642.642-.66.642-1.711v-.115q0-.708-.296-1.267a2.2 2.2 0 0 0-.807-.872 2.1 2.1 0 0 0-1.119-.313q-1.053 0-1.629.692-.575.675-.575 1.76 0 1.103.559 1.795.577.675 1.645.675zm6.521-6.237h1.711v1.4q.906-1.597 2.83-1.597 1.596 0 2.584 1.02.988 1.005.988 2.914 0 1.185-.493 2.09a3.46 3.46 0 0 1-1.316 1.399 3.5 3.5 0 0 1-1.844.493q-.954 0-1.662-.329a2.67 2.67 0 0 1-1.086-.97l.017 5.134h-1.728zm4.048 6.22q1.07 0 1.645-.674.577-.69.576-1.762 0-1.119-.576-1.777-.558-.675-1.645-.675-.592 0-1.12.296-.51.28-.822.823-.296.527-.296 1.234v.115q0 .708.296 1.267.313.543.823.855.51.296 1.119.297z'/%3E%3Cpath fill='%23e1e3e9' d='M51.325 4.7h1.86v10.45h3.473v1.646h-5.333zm7.12 4.542h1.843v7.553h-1.843zm.905-1.415a1.16 1.16 0 0 1-.856-.346 1.17 1.17 0 0 1-.346-.856 1.05 1.05 0 0 1 .346-.79q.346-.329.856-.329.494 0 .839.33a1.05 1.05 0 0 1 .345.79 1.16 1.16 0 0 1-.345.855q-.33.346-.84.346zm7.875 9.133a3.17 3.17 0 0 1-1.662-.444q-.723-.46-1.004-1.053l-.033 1.332h-1.71V4.701h1.743v4.657l-.082 1.283q.279-.658 1.086-1.119a3.5 3.5 0 0 1 1.778-.477q1.119 0 1.942.51a3.24 3.24 0 0 1 1.283 1.4q.445.888.444 2.072 0 1.201-.526 2.09a3.5 3.5 0 0 1-1.382 1.366 3.8 3.8 0 0 1-1.876.477zm-.296-1.481q1.069 0 1.645-.675.577-.69.577-1.778 0-1.102-.577-1.776-.56-.691-1.645-.692a2.12 2.12 0 0 0-1.58.659q-.642.641-.642 1.694v.115q0 .71.296 1.267a2.4 2.4 0 0 0 .807.872 2.1 2.1 0 0 0 1.119.313zm5.927-6.237h1.777v1.481q.263-.757.856-1.217a2.14 2.14 0 0 1 1.349-.46q.527 0 .724.098l-.247 1.794q-.149-.099-.642-.099-.774 0-1.416.494-.626.493-.626 1.58v3.883h-1.777V9.242zm9.534 7.718q-1.35 0-2.255-.526-.904-.543-1.332-1.432a4.6 4.6 0 0 1-.428-1.975q0-1.2.493-2.106a3.46 3.46 0 0 1 1.4-1.382q.889-.495 2.007-.494 1.744 0 2.584.97.855.956.856 2.7 0 .444-.05.92h-5.43q.18 1.005.708 1.45.542.443 1.497.443.79 0 1.3-.131a4 4 0 0 0 .938-.362l.542 1.267q-.411.263-1.119.46-.708.198-1.711.197zm1.596-4.558q.016-1.02-.444-1.432-.46-.428-1.316-.428-1.728 0-1.991 1.86z'/%3E%3Cpath d='M5.074 15.948a.484.657 0 0 0-.486.659v1.84a.484.657 0 0 0 .486.659h4.101a.484.657 0 0 0 .486-.659v-1.84a.484.657 0 0 0-.486-.659zm3.56 1.16H5.617v.838h3.017z' style='fill:%23fff;fill-rule:evenodd;stroke-width:1.03600001'/%3E%3Cg style='stroke-width:1.12603545'%3E%3Cpath d='M-9.408-1.416c-3.833-.025-7.056 2.912-7.08 6.615-.02 3.08 1.653 4.832 3.107 6.268.903.892 1.721 1.74 2.32 2.902l-.525-.004c-.543-.003-.992.304-1.24.639a1.87 1.87 0 0 0-.362 1.121l-.011 1.877c-.003.402.104.787.347 1.125.244.338.688.653 1.23.656l4.142.028c.542.003.99-.306 1.238-.641a1.87 1.87 0 0 0 .363-1.121l.012-1.875a1.87 1.87 0 0 0-.348-1.127c-.243-.338-.688-.653-1.23-.656l-.518-.004c.597-1.145 1.425-1.983 2.348-2.87 1.473-1.414 3.18-3.149 3.2-6.226-.016-3.59-2.923-6.684-6.993-6.707m-.006 1.1v.002c3.274.02 5.92 2.532 5.9 5.6-.017 2.706-1.39 4.026-2.863 5.44-1.034.994-2.118 2.033-2.814 3.633-.018.041-.052.055-.075.065q-.013.004-.02.01a.34.34 0 0 1-.226.084.34.34 0 0 1-.224-.086l-.092-.077c-.699-1.615-1.768-2.669-2.781-3.67-1.454-1.435-2.797-2.762-2.78-5.478.02-3.067 2.7-5.545 5.975-5.523m-.02 2.826c-1.62-.01-2.944 1.315-2.955 2.96-.01 1.646 1.295 2.988 2.916 2.999h.002c1.621.01 2.943-1.316 2.953-2.961.011-1.646-1.294-2.988-2.916-2.998m-.005 1.1c1.017.006 1.829.83 1.822 1.89s-.83 1.874-1.848 1.867c-1.018-.006-1.829-.83-1.822-1.89s.83-1.874 1.848-1.868m-2.155 11.857 4.14.025c.271.002.49.305.487.676l-.013 1.875c-.003.37-.224.67-.495.668l-4.14-.025c-.27-.002-.487-.306-.485-.676l.012-1.875c.003-.37.224-.67.494-.668' style='color:%23000;font-style:normal;font-variant:normal;font-weight:400;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;font-variant-ligatures:normal;font-variant-position:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-alternates:normal;font-feature-settings:normal;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:%23000;letter-spacing:normal;word-spacing:normal;text-transform:none;writing-mode:lr-tb;direction:ltr;text-orientation:mixed;dominant-baseline:auto;baseline-shift:baseline;text-anchor:start;white-space:normal;shape-padding:0;clip-rule:evenodd;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:%23000;solid-opacity:1;vector-effect:none;fill:%23000;fill-opacity:.4;fill-rule:evenodd;stroke:none;stroke-width:2.47727823;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto' transform='translate(15.553 2.85)scale(.88807)'/%3E%3Cpath d='M-9.415-.316C-12.69-.338-15.37 2.14-15.39 5.207c-.017 2.716 1.326 4.041 2.78 5.477 1.013 1 2.081 2.055 2.78 3.67l.092.076a.34.34 0 0 0 .225.086.34.34 0 0 0 .227-.083l.019-.01c.022-.009.057-.024.074-.064.697-1.6 1.78-2.64 2.814-3.634 1.473-1.414 2.847-2.733 2.864-5.44.02-3.067-2.627-5.58-5.901-5.601m-.057 8.784c1.621.011 2.944-1.315 2.955-2.96.01-1.646-1.295-2.988-2.916-2.999-1.622-.01-2.945 1.315-2.955 2.96s1.295 2.989 2.916 3' style='clip-rule:evenodd;fill:%23e1e3e9;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:2.47727823;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:.4' transform='translate(15.553 2.85)scale(.88807)'/%3E%3Cpath d='M-11.594 15.465c-.27-.002-.492.297-.494.668l-.012 1.876c-.003.371.214.673.485.675l4.14.027c.271.002.492-.298.495-.668l.012-1.877c.003-.37-.215-.672-.485-.674z' style='clip-rule:evenodd;fill:%23fff;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:2.47727823;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:.4' transform='translate(15.553 2.85)scale(.88807)'/%3E%3C/g%3E%3C/svg%3E")}}@media (forced-colors:active) and (prefers-color-scheme:light){a.maplibregl-ctrl-logo{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='88' height='23' fill='none'%3E%3Cpath fill='%23000' fill-opacity='.4' fill-rule='evenodd' d='M17.408 16.796h-1.827l2.501-12.095h.198l3.324 6.533.988 2.19.988-2.19 3.258-6.533h.181l2.6 12.095h-1.81l-1.218-5.644-.362-1.71-.658 1.71-2.929 5.644h-.098l-2.914-5.644-.757-1.71-.345 1.71zm1.958-3.42-.726 3.663a1.255 1.255 0 0 1-1.232 1.011h-1.827a1.255 1.255 0 0 1-1.229-1.509l2.501-12.095a1.255 1.255 0 0 1 1.23-1.001h.197a1.25 1.25 0 0 1 1.12.685l3.19 6.273 3.125-6.263a1.25 1.25 0 0 1 1.123-.695h.181a1.255 1.255 0 0 1 1.227.991l1.443 6.71a5 5 0 0 1 .314-.787l.009-.016a4.6 4.6 0 0 1 1.777-1.887c.782-.46 1.668-.667 2.611-.667a4.6 4.6 0 0 1 1.7.32l.306.134c.21-.16.474-.256.759-.256h1.694a1.255 1.255 0 0 1 1.212.925 1.255 1.255 0 0 1 1.212-.925h1.711c.284 0 .545.094.755.252.613-.3 1.312-.45 2.075-.45 1.356 0 2.557.445 3.482 1.4q.47.48.763 1.064V4.701a1.255 1.255 0 0 1 1.255-1.255h1.86A1.255 1.255 0 0 1 54.44 4.7v9.194h2.217c.19 0 .37.043.532.118v-4.77c0-.356.147-.678.385-.906a2.42 2.42 0 0 1-.682-1.71c0-.665.267-1.253.735-1.7a2.45 2.45 0 0 1 1.722-.674 2.43 2.43 0 0 1 1.705.675q.318.302.504.683V4.7a1.255 1.255 0 0 1 1.255-1.255h1.744A1.255 1.255 0 0 1 65.812 4.7v3.335a4.8 4.8 0 0 1 1.526-.246c.938 0 1.817.214 2.59.69a4.47 4.47 0 0 1 1.67 1.743v-.98a1.255 1.255 0 0 1 1.256-1.256h1.777c.233 0 .451.064.639.174a3.4 3.4 0 0 1 1.567-.372c.346 0 .861.02 1.285.232a1.25 1.25 0 0 1 .689 1.004 4.7 4.7 0 0 1 .853-.588c.795-.44 1.675-.647 2.61-.647 1.385 0 2.65.39 3.525 1.396.836.938 1.168 2.173 1.168 3.528q-.001.515-.056 1.051a1.255 1.255 0 0 1-.947 1.09l.408.952a1.255 1.255 0 0 1-.477 1.552c-.418.268-.92.463-1.458.612-.613.171-1.304.244-2.049.244-1.06 0-2.043-.207-2.886-.698l-.015-.008c-.798-.48-1.419-1.135-1.818-1.963l-.004-.008a5.8 5.8 0 0 1-.548-2.512q0-.429.053-.843a1.3 1.3 0 0 1-.333-.086l-.166-.004c-.223 0-.426.062-.643.228-.03.024-.142.139-.142.59v3.883a1.255 1.255 0 0 1-1.256 1.256h-1.777a1.255 1.255 0 0 1-1.256-1.256V15.69l-.032.057a4.8 4.8 0 0 1-1.86 1.833 5.04 5.04 0 0 1-2.484.634 4.5 4.5 0 0 1-1.935-.424 1.25 1.25 0 0 1-.764.258h-1.71a1.255 1.255 0 0 1-1.256-1.255V7.687a2.4 2.4 0 0 1-.428.625c.253.23.412.561.412.93v7.553a1.255 1.255 0 0 1-1.256 1.255h-1.843a1.25 1.25 0 0 1-.894-.373c-.228.23-.544.373-.894.373H51.32a1.255 1.255 0 0 1-1.256-1.255v-1.251l-.061.117a4.7 4.7 0 0 1-1.782 1.884 4.77 4.77 0 0 1-2.485.67 5.6 5.6 0 0 1-1.485-.188l.009 2.764a1.255 1.255 0 0 1-1.255 1.259h-1.729a1.255 1.255 0 0 1-1.255-1.255v-3.537a1.255 1.255 0 0 1-1.167.793h-1.679a1.25 1.25 0 0 1-.77-.263 4.5 4.5 0 0 1-1.945.429c-.885 0-1.724-.21-2.495-.632l-.017-.01a5 5 0 0 1-1.081-.836 1.255 1.255 0 0 1-1.254 1.312h-1.81a1.255 1.255 0 0 1-1.228-.99l-.782-3.625-2.044 3.939a1.25 1.25 0 0 1-1.115.676h-.098a1.25 1.25 0 0 1-1.116-.68l-2.061-3.994zM35.92 16.63l.207-.114.223-.15q.493-.356.735-.785l.061-.118.033 1.332h1.678V9.242h-1.694l-.033 1.267q-.133-.329-.526-.658l-.032-.028a3.2 3.2 0 0 0-.668-.428l-.27-.12a3.3 3.3 0 0 0-1.235-.23q-1.136-.001-1.974.493a3.36 3.36 0 0 0-1.3 1.382q-.445.89-.444 2.074 0 1.2.51 2.107a3.8 3.8 0 0 0 1.382 1.381 3.9 3.9 0 0 0 1.893.477q.795 0 1.455-.33zm-2.789-5.38q-.576.675-.575 1.762 0 1.102.559 1.794.576.675 1.645.675a2.25 2.25 0 0 0 .934-.19 2.2 2.2 0 0 0 .468-.29l.178-.161a2.2 2.2 0 0 0 .397-.561q.244-.5.244-1.15v-.115q0-.708-.296-1.267l-.043-.077a2.2 2.2 0 0 0-.633-.709l-.13-.086-.047-.028a2.1 2.1 0 0 0-1.073-.285q-1.052 0-1.629.692zm2.316 2.706c.163-.17.28-.407.28-.83v-.114c0-.292-.06-.508-.15-.68a.96.96 0 0 0-.353-.389.85.85 0 0 0-.464-.127c-.4 0-.56.114-.664.239l-.01.012c-.148.174-.275.45-.275.945 0 .506.122.801.27.99.097.11.266.224.68.224.303 0 .504-.09.687-.269zm7.545 1.705a2.6 2.6 0 0 0 .331.423q.319.33.755.548l.173.074q.65.255 1.49.255 1.02 0 1.844-.493a3.45 3.45 0 0 0 1.316-1.4q.493-.904.493-2.089 0-1.909-.988-2.913-.988-1.02-2.584-1.02-.898 0-1.575.347a3 3 0 0 0-.415.262l-.199.166a3.4 3.4 0 0 0-.64.82V9.242h-1.712v11.553h1.729l-.017-5.134zm.53-1.138q.206.29.48.5l.155.11.053.034q.51.296 1.119.297 1.07 0 1.645-.675.577-.69.576-1.762 0-1.119-.576-1.777-.558-.675-1.645-.675-.435 0-.835.16a2 2 0 0 0-.284.136 2 2 0 0 0-.363.254 2.2 2.2 0 0 0-.46.569l-.082.162a2.6 2.6 0 0 0-.213 1.072v.115q0 .707.296 1.267l.135.211zm.964-.818a1.1 1.1 0 0 0 .367.385.94.94 0 0 0 .476.118c.423 0 .59-.117.687-.23.159-.194.28-.478.28-.95 0-.53-.133-.8-.266-.952l-.021-.025c-.078-.094-.231-.221-.68-.221a1 1 0 0 0-.503.135l-.012.007a.86.86 0 0 0-.335.343c-.073.133-.132.324-.132.614v.115a1.4 1.4 0 0 0 .14.66zm15.7-6.222q.347-.346.346-.856a1.05 1.05 0 0 0-.345-.79 1.18 1.18 0 0 0-.84-.329q-.51 0-.855.33a1.05 1.05 0 0 0-.346.79q0 .51.346.855.345.346.856.346.51 0 .839-.346zm4.337 9.314.033-1.332q.191.403.59.747l.098.081a4 4 0 0 0 .316.224l.223.122a3.2 3.2 0 0 0 1.44.322 3.8 3.8 0 0 0 1.875-.477 3.5 3.5 0 0 0 1.382-1.366q.527-.89.526-2.09 0-1.184-.444-2.073a3.24 3.24 0 0 0-1.283-1.399q-.823-.51-1.942-.51a3.5 3.5 0 0 0-1.527.344l-.086.043-.165.09a3 3 0 0 0-.33.214q-.432.315-.656.707a2 2 0 0 0-.099.198l.082-1.283V4.701h-1.744v12.095zm.473-2.509a2.5 2.5 0 0 0 .566.7q.117.098.245.18l.144.08a2.1 2.1 0 0 0 .975.232q1.07 0 1.645-.675.576-.69.576-1.778 0-1.102-.576-1.777-.56-.691-1.645-.692a2.2 2.2 0 0 0-1.015.235q-.22.113-.415.282l-.15.142a2.1 2.1 0 0 0-.42.594q-.223.479-.223 1.1v.115q0 .705.293 1.26zm2.616-.293c.157-.191.28-.479.28-.967 0-.51-.13-.79-.276-.961l-.021-.026c-.082-.1-.232-.225-.67-.225a.87.87 0 0 0-.681.279l-.012.011c-.154.155-.274.38-.274.807v.115c0 .285.057.499.144.669a1.1 1.1 0 0 0 .367.405c.137.082.28.123.455.123.423 0 .59-.118.686-.23zm8.266-3.013q.345-.13.724-.14l.069-.002q.493 0 .642.099l.247-1.794q-.196-.099-.717-.099a2.3 2.3 0 0 0-.545.063 2 2 0 0 0-.411.148 2.2 2.2 0 0 0-.4.249 2.5 2.5 0 0 0-.485.499 2.7 2.7 0 0 0-.32.581l-.05.137v-1.48h-1.778v7.553h1.777v-3.884q0-.546.159-.943a1.5 1.5 0 0 1 .466-.636 2.5 2.5 0 0 1 .399-.253 2 2 0 0 1 .224-.099zm9.784 2.656.05-.922q0-1.743-.856-2.698-.838-.97-2.584-.97-1.119-.001-2.007.493a3.46 3.46 0 0 0-1.4 1.382q-.493.906-.493 2.106 0 1.07.428 1.975.428.89 1.332 1.432.906.526 2.255.526.973 0 1.668-.185l.044-.012.135-.04q.613-.184.984-.421l-.542-1.267q-.3.162-.642.274l-.297.087q-.51.131-1.3.131-.954 0-1.497-.444a1.6 1.6 0 0 1-.192-.193q-.366-.44-.512-1.234l-.004-.021zm-5.427-1.256-.003.022h3.752v-.138q-.011-.727-.288-1.118a1 1 0 0 0-.156-.176q-.46-.428-1.316-.428-.986 0-1.494.604-.379.45-.494 1.234zm-27.053 2.77V4.7h-1.86v12.095h5.333V15.15zm7.103-5.908v7.553h-1.843V9.242h1.843z'/%3E%3Cpath fill='%23fff' d='m19.63 11.151-.757-1.71-.345 1.71-1.12 5.644h-1.827L18.083 4.7h.197l3.325 6.533.988 2.19.988-2.19L26.839 4.7h.181l2.6 12.095h-1.81l-1.218-5.644-.362-1.71-.658 1.71-2.93 5.644h-.098l-2.913-5.644zm14.836 5.81q-1.02 0-1.893-.478a3.8 3.8 0 0 1-1.381-1.382q-.51-.906-.51-2.106 0-1.185.444-2.074a3.36 3.36 0 0 1 1.3-1.382q.839-.494 1.974-.494a3.3 3.3 0 0 1 1.234.231 3.3 3.3 0 0 1 .97.575q.396.33.527.659l.033-1.267h1.694v7.553H37.18l-.033-1.332q-.279.593-1.02 1.053a3.17 3.17 0 0 1-1.662.444zm.296-1.482q.938 0 1.58-.642.642-.66.642-1.711v-.115q0-.708-.296-1.267a2.2 2.2 0 0 0-.807-.872 2.1 2.1 0 0 0-1.119-.313q-1.053 0-1.629.692-.575.675-.575 1.76 0 1.103.559 1.795.577.675 1.645.675zm6.521-6.237h1.711v1.4q.906-1.597 2.83-1.597 1.596 0 2.584 1.02.988 1.005.988 2.914 0 1.185-.493 2.09a3.46 3.46 0 0 1-1.316 1.399 3.5 3.5 0 0 1-1.844.493q-.954 0-1.662-.329a2.67 2.67 0 0 1-1.086-.97l.017 5.134h-1.728zm4.048 6.22q1.07 0 1.645-.674.577-.69.576-1.762 0-1.119-.576-1.777-.558-.675-1.645-.675-.592 0-1.12.296-.51.28-.822.823-.296.527-.296 1.234v.115q0 .708.296 1.267.313.543.823.855.51.296 1.119.297z'/%3E%3Cpath fill='%23e1e3e9' d='M51.325 4.7h1.86v10.45h3.473v1.646h-5.333zm7.12 4.542h1.843v7.553h-1.843zm.905-1.415a1.16 1.16 0 0 1-.856-.346 1.17 1.17 0 0 1-.346-.856 1.05 1.05 0 0 1 .346-.79q.346-.329.856-.329.494 0 .839.33a1.05 1.05 0 0 1 .345.79 1.16 1.16 0 0 1-.345.855q-.33.346-.84.346zm7.875 9.133a3.17 3.17 0 0 1-1.662-.444q-.723-.46-1.004-1.053l-.033 1.332h-1.71V4.701h1.743v4.657l-.082 1.283q.279-.658 1.086-1.119a3.5 3.5 0 0 1 1.778-.477q1.119 0 1.942.51a3.24 3.24 0 0 1 1.283 1.4q.445.888.444 2.072 0 1.201-.526 2.09a3.5 3.5 0 0 1-1.382 1.366 3.8 3.8 0 0 1-1.876.477zm-.296-1.481q1.069 0 1.645-.675.577-.69.577-1.778 0-1.102-.577-1.776-.56-.691-1.645-.692a2.12 2.12 0 0 0-1.58.659q-.642.641-.642 1.694v.115q0 .71.296 1.267a2.4 2.4 0 0 0 .807.872 2.1 2.1 0 0 0 1.119.313zm5.927-6.237h1.777v1.481q.263-.757.856-1.217a2.14 2.14 0 0 1 1.349-.46q.527 0 .724.098l-.247 1.794q-.149-.099-.642-.099-.774 0-1.416.494-.626.493-.626 1.58v3.883h-1.777V9.242zm9.534 7.718q-1.35 0-2.255-.526-.904-.543-1.332-1.432a4.6 4.6 0 0 1-.428-1.975q0-1.2.493-2.106a3.46 3.46 0 0 1 1.4-1.382q.889-.495 2.007-.494 1.744 0 2.584.97.855.956.856 2.7 0 .444-.05.92h-5.43q.18 1.005.708 1.45.542.443 1.497.443.79 0 1.3-.131a4 4 0 0 0 .938-.362l.542 1.267q-.411.263-1.119.46-.708.198-1.711.197zm1.596-4.558q.016-1.02-.444-1.432-.46-.428-1.316-.428-1.728 0-1.991 1.86z'/%3E%3Cpath d='M5.074 15.948a.484.657 0 0 0-.486.659v1.84a.484.657 0 0 0 .486.659h4.101a.484.657 0 0 0 .486-.659v-1.84a.484.657 0 0 0-.486-.659zm3.56 1.16H5.617v.838h3.017z' style='fill:%23fff;fill-rule:evenodd;stroke-width:1.03600001'/%3E%3Cg style='stroke-width:1.12603545'%3E%3Cpath d='M-9.408-1.416c-3.833-.025-7.056 2.912-7.08 6.615-.02 3.08 1.653 4.832 3.107 6.268.903.892 1.721 1.74 2.32 2.902l-.525-.004c-.543-.003-.992.304-1.24.639a1.87 1.87 0 0 0-.362 1.121l-.011 1.877c-.003.402.104.787.347 1.125.244.338.688.653 1.23.656l4.142.028c.542.003.99-.306 1.238-.641a1.87 1.87 0 0 0 .363-1.121l.012-1.875a1.87 1.87 0 0 0-.348-1.127c-.243-.338-.688-.653-1.23-.656l-.518-.004c.597-1.145 1.425-1.983 2.348-2.87 1.473-1.414 3.18-3.149 3.2-6.226-.016-3.59-2.923-6.684-6.993-6.707m-.006 1.1v.002c3.274.02 5.92 2.532 5.9 5.6-.017 2.706-1.39 4.026-2.863 5.44-1.034.994-2.118 2.033-2.814 3.633-.018.041-.052.055-.075.065q-.013.004-.02.01a.34.34 0 0 1-.226.084.34.34 0 0 1-.224-.086l-.092-.077c-.699-1.615-1.768-2.669-2.781-3.67-1.454-1.435-2.797-2.762-2.78-5.478.02-3.067 2.7-5.545 5.975-5.523m-.02 2.826c-1.62-.01-2.944 1.315-2.955 2.96-.01 1.646 1.295 2.988 2.916 2.999h.002c1.621.01 2.943-1.316 2.953-2.961.011-1.646-1.294-2.988-2.916-2.998m-.005 1.1c1.017.006 1.829.83 1.822 1.89s-.83 1.874-1.848 1.867c-1.018-.006-1.829-.83-1.822-1.89s.83-1.874 1.848-1.868m-2.155 11.857 4.14.025c.271.002.49.305.487.676l-.013 1.875c-.003.37-.224.67-.495.668l-4.14-.025c-.27-.002-.487-.306-.485-.676l.012-1.875c.003-.37.224-.67.494-.668' style='color:%23000;font-style:normal;font-variant:normal;font-weight:400;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;font-variant-ligatures:normal;font-variant-position:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-alternates:normal;font-feature-settings:normal;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:%23000;letter-spacing:normal;word-spacing:normal;text-transform:none;writing-mode:lr-tb;direction:ltr;text-orientation:mixed;dominant-baseline:auto;baseline-shift:baseline;text-anchor:start;white-space:normal;shape-padding:0;clip-rule:evenodd;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:%23000;solid-opacity:1;vector-effect:none;fill:%23000;fill-opacity:.4;fill-rule:evenodd;stroke:none;stroke-width:2.47727823;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto' transform='translate(15.553 2.85)scale(.88807)'/%3E%3Cpath d='M-9.415-.316C-12.69-.338-15.37 2.14-15.39 5.207c-.017 2.716 1.326 4.041 2.78 5.477 1.013 1 2.081 2.055 2.78 3.67l.092.076a.34.34 0 0 0 .225.086.34.34 0 0 0 .227-.083l.019-.01c.022-.009.057-.024.074-.064.697-1.6 1.78-2.64 2.814-3.634 1.473-1.414 2.847-2.733 2.864-5.44.02-3.067-2.627-5.58-5.901-5.601m-.057 8.784c1.621.011 2.944-1.315 2.955-2.96.01-1.646-1.295-2.988-2.916-2.999-1.622-.01-2.945 1.315-2.955 2.96s1.295 2.989 2.916 3' style='clip-rule:evenodd;fill:%23e1e3e9;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:2.47727823;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:.4' transform='translate(15.553 2.85)scale(.88807)'/%3E%3Cpath d='M-11.594 15.465c-.27-.002-.492.297-.494.668l-.012 1.876c-.003.371.214.673.485.675l4.14.027c.271.002.492-.298.495-.668l.012-1.877c.003-.37-.215-.672-.485-.674z' style='clip-rule:evenodd;fill:%23fff;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:2.47727823;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:.4' transform='translate(15.553 2.85)scale(.88807)'/%3E%3C/g%3E%3C/svg%3E")}}.maplibregl-ctrl.maplibregl-ctrl-attrib{background-color:#ffffff80;margin:0;padding:0 5px}@media screen{.maplibregl-ctrl-attrib.maplibregl-compact{background-color:#fff;border-radius:12px;box-sizing:content-box;color:#000;margin:10px;min-height:20px;padding:2px 24px 2px 0;position:relative}.maplibregl-ctrl-attrib.maplibregl-compact-show{padding:2px 28px 2px 8px;visibility:visible}.maplibregl-ctrl-bottom-left>.maplibregl-ctrl-attrib.maplibregl-compact-show,.maplibregl-ctrl-top-left>.maplibregl-ctrl-attrib.maplibregl-compact-show{border-radius:12px;padding:2px 8px 2px 28px}.maplibregl-ctrl-attrib.maplibregl-compact .maplibregl-ctrl-attrib-inner{display:none}.maplibregl-ctrl-attrib-button{background-color:#ffffff80;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill-rule='evenodd' viewBox='0 0 20 20'%3E%3Cpath d='M4 10a6 6 0 1 0 12 0 6 6 0 1 0-12 0m5-3a1 1 0 1 0 2 0 1 1 0 1 0-2 0m0 3a1 1 0 1 1 2 0v3a1 1 0 1 1-2 0'/%3E%3C/svg%3E");border:0;border-radius:12px;box-sizing:border-box;cursor:pointer;display:none;height:24px;outline:none;position:absolute;right:0;top:0;width:24px}.maplibregl-ctrl-attrib summary.maplibregl-ctrl-attrib-button{-webkit-appearance:none;-moz-appearance:none;appearance:none;list-style:none}.maplibregl-ctrl-attrib summary.maplibregl-ctrl-attrib-button::-webkit-details-marker{display:none}.maplibregl-ctrl-bottom-left .maplibregl-ctrl-attrib-button,.maplibregl-ctrl-top-left .maplibregl-ctrl-attrib-button{left:0}.maplibregl-ctrl-attrib.maplibregl-compact .maplibregl-ctrl-attrib-button,.maplibregl-ctrl-attrib.maplibregl-compact-show .maplibregl-ctrl-attrib-inner{display:block}.maplibregl-ctrl-attrib.maplibregl-compact-show .maplibregl-ctrl-attrib-button{background-color:#0000000d}.maplibregl-ctrl-bottom-right>.maplibregl-ctrl-attrib.maplibregl-compact:after{bottom:0;right:0}.maplibregl-ctrl-top-right>.maplibregl-ctrl-attrib.maplibregl-compact:after{right:0;top:0}.maplibregl-ctrl-top-left>.maplibregl-ctrl-attrib.maplibregl-compact:after{left:0;top:0}.maplibregl-ctrl-bottom-left>.maplibregl-ctrl-attrib.maplibregl-compact:after{bottom:0;left:0}}@media screen and (forced-colors:active){.maplibregl-ctrl-attrib.maplibregl-compact:after{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='%23fff' fill-rule='evenodd' viewBox='0 0 20 20'%3E%3Cpath d='M4 10a6 6 0 1 0 12 0 6 6 0 1 0-12 0m5-3a1 1 0 1 0 2 0 1 1 0 1 0-2 0m0 3a1 1 0 1 1 2 0v3a1 1 0 1 1-2 0'/%3E%3C/svg%3E")}}@media screen and (forced-colors:active) and (prefers-color-scheme:light){.maplibregl-ctrl-attrib.maplibregl-compact:after{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill-rule='evenodd' viewBox='0 0 20 20'%3E%3Cpath d='M4 10a6 6 0 1 0 12 0 6 6 0 1 0-12 0m5-3a1 1 0 1 0 2 0 1 1 0 1 0-2 0m0 3a1 1 0 1 1 2 0v3a1 1 0 1 1-2 0'/%3E%3C/svg%3E")}}.maplibregl-ctrl-attrib a{color:#000000bf;text-decoration:none}.maplibregl-ctrl-attrib a:hover{color:inherit;text-decoration:underline}.maplibregl-attrib-empty{display:none}.maplibregl-ctrl-scale{background-color:#ffffffbf;border:2px solid #333;border-top:#333;box-sizing:border-box;color:#333;font-size:10px;padding:0 5px}.maplibregl-popup{display:flex;left:0;pointer-events:none;position:absolute;top:0;will-change:transform}.maplibregl-popup-anchor-top,.maplibregl-popup-anchor-top-left,.maplibregl-popup-anchor-top-right{flex-direction:column}.maplibregl-popup-anchor-bottom,.maplibregl-popup-anchor-bottom-left,.maplibregl-popup-anchor-bottom-right{flex-direction:column-reverse}.maplibregl-popup-anchor-left{flex-direction:row}.maplibregl-popup-anchor-right{flex-direction:row-reverse}.maplibregl-popup-tip{border:10px solid transparent;height:0;width:0;z-index:1}.maplibregl-popup-anchor-top .maplibregl-popup-tip{align-self:center;border-bottom-color:#fff;border-top:none}.maplibregl-popup-anchor-top-left .maplibregl-popup-tip{align-self:flex-start;border-bottom-color:#fff;border-left:none;border-top:none}.maplibregl-popup-anchor-top-right .maplibregl-popup-tip{align-self:flex-end;border-bottom-color:#fff;border-right:none;border-top:none}.maplibregl-popup-anchor-bottom .maplibregl-popup-tip{align-self:center;border-bottom:none;border-top-color:#fff}.maplibregl-popup-anchor-bottom-left .maplibregl-popup-tip{align-self:flex-start;border-bottom:none;border-left:none;border-top-color:#fff}.maplibregl-popup-anchor-bottom-right .maplibregl-popup-tip{align-self:flex-end;border-bottom:none;border-right:none;border-top-color:#fff}.maplibregl-popup-anchor-left .maplibregl-popup-tip{align-self:center;border-left:none;border-right-color:#fff}.maplibregl-popup-anchor-right .maplibregl-popup-tip{align-self:center;border-left-color:#fff;border-right:none}.maplibregl-popup-close-button{background-color:transparent;border:0;border-radius:0 3px 0 0;cursor:pointer;position:absolute;right:0;top:0}.maplibregl-popup-close-button:hover{background-color:#0000000d}.maplibregl-popup-content{background:#fff;border-radius:3px;box-shadow:0 1px 2px #0000001a;padding:15px 10px;pointer-events:auto;position:relative}.maplibregl-popup-anchor-top-left .maplibregl-popup-content{border-top-left-radius:0}.maplibregl-popup-anchor-top-right .maplibregl-popup-content{border-top-right-radius:0}.maplibregl-popup-anchor-bottom-left .maplibregl-popup-content{border-bottom-left-radius:0}.maplibregl-popup-anchor-bottom-right .maplibregl-popup-content{border-bottom-right-radius:0}.maplibregl-popup-track-pointer{display:none}.maplibregl-popup-track-pointer *{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.maplibregl-map:hover .maplibregl-popup-track-pointer{display:flex}.maplibregl-map:active .maplibregl-popup-track-pointer{display:none}.maplibregl-marker{left:0;position:absolute;top:0;transition:opacity .2s;will-change:transform}.maplibregl-user-location-dot,.maplibregl-user-location-dot:before{background-color:#1da1f2;border-radius:50%;height:15px;width:15px}.maplibregl-user-location-dot:before{animation:maplibregl-user-location-dot-pulse 2s infinite;content:"";position:absolute}.maplibregl-user-location-dot:after{border:2px solid #fff;border-radius:50%;box-shadow:0 0 3px #00000059;box-sizing:border-box;content:"";height:19px;left:-2px;position:absolute;top:-2px;width:19px}@keyframes maplibregl-user-location-dot-pulse{0%{opacity:1;transform:scale(1)}70%{opacity:0;transform:scale(3)}to{opacity:0;transform:scale(1)}}.maplibregl-user-location-dot-stale{background-color:#aaa}.maplibregl-user-location-dot-stale:after{display:none}.maplibregl-user-location-accuracy-circle{background-color:#1da1f233;border-radius:100%;height:1px;width:1px}.maplibregl-crosshair,.maplibregl-crosshair .maplibregl-interactive,.maplibregl-crosshair .maplibregl-interactive:active{cursor:crosshair}.maplibregl-boxzoom{background:#fff;border:2px dotted #202020;height:0;left:0;opacity:.5;position:absolute;top:0;width:0}.maplibregl-cooperative-gesture-screen{align-items:center;background:#0006;color:#fff;display:flex;font-size:1.4em;top:0;right:0;bottom:0;left:0;justify-content:center;line-height:1.2;opacity:0;padding:1rem;pointer-events:none;position:absolute;transition:opacity 1s ease 1s;z-index:99999}.maplibregl-cooperative-gesture-screen.maplibregl-show{opacity:1;transition:opacity .05s}.maplibregl-cooperative-gesture-screen .maplibregl-mobile-message{display:none}@media (hover:none),(width <= 480px){.maplibregl-cooperative-gesture-screen .maplibregl-desktop-message{display:none}.maplibregl-cooperative-gesture-screen .maplibregl-mobile-message{display:block}}.maplibregl-pseudo-fullscreen{height:100%!important;left:0!important;position:fixed!important;top:0!important;width:100%!important;z-index:99999}.map-container[data-v-f131c70b]{height:400px;width:100%}.filter-group[data-v-f131c70b]{font:12px/20px Helvetica Neue,Arial,Helvetica,sans-serif;font-weight:600;position:absolute;top:10px;right:10px;z-index:1;border-radius:3px;width:120px;color:#fff}.filter-group input[type=checkbox]:first-child+label[data-v-f131c70b]{border-radius:3px 3px 0 0}.filter-group label[data-v-f131c70b]:last-child{border-radius:0 0 3px 3px;border:none}.filter-group input[type=checkbox][data-v-f131c70b]{display:none}.filter-group input[type=checkbox]+label[data-v-f131c70b]{background-color:#3386c0;display:block;cursor:pointer;padding:10px;border-bottom:1px solid rgba(0,0,0,.25)}.filter-group input[type=checkbox]+label[data-v-f131c70b]{background-color:#3386c0;text-transform:capitalize}.filter-group input[type=checkbox]+label[data-v-f131c70b]:hover,.filter-group input[type=checkbox]:checked+label[data-v-f131c70b]{background-color:#4ea0da}.filter-group input[type=checkbox]:checked+label[data-v-f131c70b]:before{content:"✔";margin-right:5px}.map-interaction-allow{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBzdGFuZGFsb25lPSJubyI/Pgo8IURPQ1RZUEUgc3ZnIFBVQkxJQyAiLS8vVzNDLy9EVEQgU1ZHIDIwMDEwOTA0Ly9FTiIKICJodHRwOi8vd3d3LnczLm9yZy9UUi8yMDAxL1JFQy1TVkctMjAwMTA5MDQvRFREL3N2ZzEwLmR0ZCI+CjxzdmcgdmVyc2lvbj0iMS4wIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciCiB3aWR0aD0iNTEyLjAwMDAwMHB0IiBoZWlnaHQ9IjUxMi4wMDAwMDBwdCIgdmlld0JveD0iMCAwIDUxMi4wMDAwMDAgNTEyLjAwMDAwMCIKIHByZXNlcnZlQXNwZWN0UmF0aW89InhNaWRZTWlkIG1lZXQiPgoKPGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMC4wMDAwMDAsNTEyLjAwMDAwMCkgc2NhbGUoMC4xMDAwMDAsLTAuMTAwMDAwKSIKZmlsbD0iIzMzMzMzMyIgc3Ryb2tlPSJub25lIj4KPHBhdGggZD0iTTI0MzAgNDg5OSBjLTQ5MyAtNTcgLTg3NSAtNDQ1IC05MzAgLTk0OCAtMTMgLTEyMyAtNyAtMTc3IDMwIC0yMzQKMzcgLTU4IDk2IC04NyAxNzYgLTg3IDEzNSAxIDIxNCA4MiAyMTQgMjIzIDAgMTgzIDk5IDM4NCAyNDMgNDkzIDI4MSAyMTMgNjk4CjE2MyA5MDIgLTEwOSA1NyAtNzUgNzYgLTExMSAxMDYgLTIwMiAyMiAtNjcgMjMgLTg0IDI3IC00NTIgbDMgLTM4MiAtOTE4IC0zCi05MTggLTMgLTg1IC0zMSBjLTE2MyAtNTggLTI4OCAtMTY5IC0zNTkgLTMxNyAtNjkgLTE0NSAtNjYgLTkyIC02NiAtMTE0MiAwCi04NzQgMSAtOTU1IDE4IC0xMDE1IDYxIC0yMjYgMjMxIC0zOTYgNDU3IC00NTcgNjAgLTE3IDE1MSAtMTggMTIzMCAtMTggMTA3OQowIDExNzAgMSAxMjMwIDE4IDIyNiA2MSAzOTYgMjMxIDQ1NyA0NTcgMTcgNjAgMTggMTQxIDE4IDEwMjUgbDAgOTYwIC0yNyA4MApjLTQ5IDE0NSAtMTM3IDI2MiAtMjU3IDM0MiAtNjkgNDYgLTE5NiA5MCAtMjgzIDk5IGwtNjggNyAwIDMyOSBjMCAxODEgLTUKMzcyIC0xMSA0MjUgLTU2IDUwNSAtNDM3IDg4NiAtOTQyIDk0MiAtMTA3IDEyIC0xMzkgMTIgLTI0NyAweiBtMTI5NSAtMjE0OApjNTAgLTIyIDkxIC02OSAxMDUgLTExOSA2IC0yNCAxMCAtMzQ3IDEwIC05MzMgbDAgLTg5NSAtMjcgLTU1IGMtMjMgLTQ1IC0zNwotNTkgLTgyIC04MSBsLTU1IC0yOCAtMTExNSAwIC0xMTE2IDAgLTUxIDI0IGMtNTMgMjUgLTgzIDU4IC0xMDIgMTE1IC0xNiA0NQotMTcgMTc5OCAtMiAxODUzIDE0IDUwIDU1IDk3IDEwNSAxMTkgMzggMTggOTUgMTkgMTE2NSAxOSAxMDcwIDAgMTEyNyAtMQoxMTY1IC0xOXoiLz4KPHBhdGggZD0iTTI0ODcgMjM0MCBjLTIyMiAtMzkgLTM4MyAtMjYyIC0zNDcgLTQ4MiAxOCAtMTE0IDk1IC0yMzQgMTgxIC0yODUKbDI5IC0xNyAwIC0xNjkgYzAgLTE0NSAzIC0xNzMgMTkgLTIwNSAzOSAtNzUgMTAxIC0xMTIgMTkxIC0xMTIgOTAgMCAxNTIgMzcKMTkxIDExMiAxNiAzMiAxOSA2MCAxOSAyMDUgbDAgMTY4IDQ1IDMwIGMxNTYgMTA1IDIxNCAzMzAgMTMwIDUxMiAtNzkgMTc0Ci0yNzEgMjc2IC00NTggMjQzeiIvPgo8L2c+Cjwvc3ZnPgo=);background-size:86% 86%}.map-interaction-lock{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBzdGFuZGFsb25lPSJubyI/Pgo8IURPQ1RZUEUgc3ZnIFBVQkxJQyAiLS8vVzNDLy9EVEQgU1ZHIDIwMDEwOTA0Ly9FTiIKICJodHRwOi8vd3d3LnczLm9yZy9UUi8yMDAxL1JFQy1TVkctMjAwMTA5MDQvRFREL3N2ZzEwLmR0ZCI+CjxzdmcgdmVyc2lvbj0iMS4wIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciCiB3aWR0aD0iNTEyLjAwMDAwMHB0IiBoZWlnaHQ9IjUxMi4wMDAwMDBwdCIgdmlld0JveD0iMCAwIDUxMi4wMDAwMDAgNTEyLjAwMDAwMCIKIHByZXNlcnZlQXNwZWN0UmF0aW89InhNaWRZTWlkIG1lZXQiPgoKPGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMC4wMDAwMDAsNTEyLjAwMDAwMCkgc2NhbGUoMC4xMDAwMDAsLTAuMTAwMDAwKSIKZmlsbD0iIzMzMzMzMyIgc3Ryb2tlPSJub25lIj4KPHBhdGggZD0iTTIzNzAgNTEwNSBjLTQ0MSAtNjkgLTgyNiAtMzk0IC05NjUgLTgxNSAtNTMgLTE2MSAtNTcgLTE5NSAtNjIKLTU0NiBsLTUgLTMzMSAtNzEgLTYgYy0yNTcgLTIwIC00OTcgLTE5OSAtNjA0IC00NTIgLTU0IC0xMjcgLTU0IC0xMjEgLTUxCi0xMjg1IGwzIC0xMDc1IDIzIC03MCBjODQgLTI1MCAyNTYgLTQyMCA1MDIgLTQ5NyBsNzUgLTIzIDEzNDUgMCAxMzQ1IDAgNzUKMjMgYzI0OCA3OSA0MTcgMjQ2IDUwMiA0OTcgbDIzIDcwIDMgMTA3NSBjMyAxMjI3IDcgMTE2MyAtNzkgMTMzOCAtNDIgODcgLTYzCjExNiAtMTMyIDE4NSAtNDUgNDUgLTExMSA5OSAtMTQ3IDEyMCAtODQgNDggLTIwNiA4NyAtMjk3IDk0IGwtNzMgNiAwIDI4MQpjLTEgMjk3IC03IDM4MiAtNDEgNTEwIC0xNTcgNjA3IC03NTEgOTk3IC0xMzY5IDkwMXogbTQxNSAtNTA5IGMyMDQgLTY5IDM2NwotMjE5IDQ0OSAtNDE0IDQ5IC0xMTUgNTYgLTE3OSA1NiAtNDg4IGwwIC0yODQgLTczMSAwIC03MzAgMCAzIDMxOCAzIDMxNyAyOAo4MCBjODggMjUyIDI4OCA0MzMgNTQyIDQ5MSA5OSAyMyAyODIgMTMgMzgwIC0yMHogbTEwODYgLTE2ODcgYzU2IC0yNiAxMDUKLTc1IDEyOCAtMTI5IGwyMSAtNDkgLTIgLTEwMzkgLTMgLTEwMzkgLTMwIC00OSBjLTE5IC0zMCAtNDkgLTYwIC03OSAtNzkKbC00OSAtMzAgLTEyOTcgMCAtMTI5NyAwIC00OSAzMCBjLTMwIDE5IC02MCA0OSAtNzkgNzkgbC0zMCA0OSAtMyAxMDM2IGMtMgo5MzYgLTEgMTA0MCAxNCAxMDc5IDMwIDgwIDk0IDEzNSAxNzYgMTUxIDI0IDUgNjA2IDggMTI5MyA4IDExMzAgLTIgMTI1MyAtNAoxMjg2IC0xOHoiLz4KPHBhdGggZD0iTTI0NjUgMjQyOCBjLTg5IC0xNyAtMTg0IC03MCAtMjUzIC0xNDIgLTIwNCAtMjEyIC0xODEgLTUzMyA1MSAtNzE2Cmw1NyAtNDUgMCAtMTgzIGMwIC0yMDYgOSAtMjQzIDc4IC0zMDMgNTAgLTQ0IDkxIC01OSAxNjQgLTU5IDc2IDAgMTM0IDI2IDE4MQo4MSA1MCA1NyA1NyA5NSA1NyAyOTAgbDAgMTc0IDU3IDQ1IGMyMzEgMTgyIDI1NSA1MDQgNTMgNzE0IC0xMTkgMTI0IC0yNzgKMTc2IC00NDUgMTQ0eiIvPgo8L2c+Cjwvc3ZnPgo=);background-size:80% 80%}.map-container[data-v-86953e35]{height:400px;width:100%}.filter-group[data-v-86953e35]{font:12px/20px Helvetica Neue,Arial,Helvetica,sans-serif;font-weight:600;position:absolute;top:10px;right:10px;z-index:1;border-radius:3px;width:120px;color:#fff}.filter-group input[type=checkbox]:first-child+label[data-v-86953e35]{border-radius:3px 3px 0 0}.filter-group label[data-v-86953e35]:last-child{border-radius:0 0 3px 3px;border:none}.filter-group input[type=checkbox][data-v-86953e35]{display:none}.filter-group input[type=checkbox]+label[data-v-86953e35]{background-color:#3386c0;display:block;cursor:pointer;padding:10px;border-bottom:1px solid rgba(0,0,0,.25)}.filter-group input[type=checkbox]+label[data-v-86953e35]{background-color:#3386c0;text-transform:capitalize}.filter-group input[type=checkbox]+label[data-v-86953e35]:hover,.filter-group input[type=checkbox]:checked+label[data-v-86953e35]{background-color:#4ea0da}.filter-group input[type=checkbox]:checked+label[data-v-86953e35]:before{content:"✔";margin-right:5px}.map-interaction-allow{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBzdGFuZGFsb25lPSJubyI/Pgo8IURPQ1RZUEUgc3ZnIFBVQkxJQyAiLS8vVzNDLy9EVEQgU1ZHIDIwMDEwOTA0Ly9FTiIKICJodHRwOi8vd3d3LnczLm9yZy9UUi8yMDAxL1JFQy1TVkctMjAwMTA5MDQvRFREL3N2ZzEwLmR0ZCI+CjxzdmcgdmVyc2lvbj0iMS4wIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciCiB3aWR0aD0iNTEyLjAwMDAwMHB0IiBoZWlnaHQ9IjUxMi4wMDAwMDBwdCIgdmlld0JveD0iMCAwIDUxMi4wMDAwMDAgNTEyLjAwMDAwMCIKIHByZXNlcnZlQXNwZWN0UmF0aW89InhNaWRZTWlkIG1lZXQiPgoKPGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMC4wMDAwMDAsNTEyLjAwMDAwMCkgc2NhbGUoMC4xMDAwMDAsLTAuMTAwMDAwKSIKZmlsbD0iIzMzMzMzMyIgc3Ryb2tlPSJub25lIj4KPHBhdGggZD0iTTI0MzAgNDg5OSBjLTQ5MyAtNTcgLTg3NSAtNDQ1IC05MzAgLTk0OCAtMTMgLTEyMyAtNyAtMTc3IDMwIC0yMzQKMzcgLTU4IDk2IC04NyAxNzYgLTg3IDEzNSAxIDIxNCA4MiAyMTQgMjIzIDAgMTgzIDk5IDM4NCAyNDMgNDkzIDI4MSAyMTMgNjk4CjE2MyA5MDIgLTEwOSA1NyAtNzUgNzYgLTExMSAxMDYgLTIwMiAyMiAtNjcgMjMgLTg0IDI3IC00NTIgbDMgLTM4MiAtOTE4IC0zCi05MTggLTMgLTg1IC0zMSBjLTE2MyAtNTggLTI4OCAtMTY5IC0zNTkgLTMxNyAtNjkgLTE0NSAtNjYgLTkyIC02NiAtMTE0MiAwCi04NzQgMSAtOTU1IDE4IC0xMDE1IDYxIC0yMjYgMjMxIC0zOTYgNDU3IC00NTcgNjAgLTE3IDE1MSAtMTggMTIzMCAtMTggMTA3OQowIDExNzAgMSAxMjMwIDE4IDIyNiA2MSAzOTYgMjMxIDQ1NyA0NTcgMTcgNjAgMTggMTQxIDE4IDEwMjUgbDAgOTYwIC0yNyA4MApjLTQ5IDE0NSAtMTM3IDI2MiAtMjU3IDM0MiAtNjkgNDYgLTE5NiA5MCAtMjgzIDk5IGwtNjggNyAwIDMyOSBjMCAxODEgLTUKMzcyIC0xMSA0MjUgLTU2IDUwNSAtNDM3IDg4NiAtOTQyIDk0MiAtMTA3IDEyIC0xMzkgMTIgLTI0NyAweiBtMTI5NSAtMjE0OApjNTAgLTIyIDkxIC02OSAxMDUgLTExOSA2IC0yNCAxMCAtMzQ3IDEwIC05MzMgbDAgLTg5NSAtMjcgLTU1IGMtMjMgLTQ1IC0zNwotNTkgLTgyIC04MSBsLTU1IC0yOCAtMTExNSAwIC0xMTE2IDAgLTUxIDI0IGMtNTMgMjUgLTgzIDU4IC0xMDIgMTE1IC0xNiA0NQotMTcgMTc5OCAtMiAxODUzIDE0IDUwIDU1IDk3IDEwNSAxMTkgMzggMTggOTUgMTkgMTE2NSAxOSAxMDcwIDAgMTEyNyAtMQoxMTY1IC0xOXoiLz4KPHBhdGggZD0iTTI0ODcgMjM0MCBjLTIyMiAtMzkgLTM4MyAtMjYyIC0zNDcgLTQ4MiAxOCAtMTE0IDk1IC0yMzQgMTgxIC0yODUKbDI5IC0xNyAwIC0xNjkgYzAgLTE0NSAzIC0xNzMgMTkgLTIwNSAzOSAtNzUgMTAxIC0xMTIgMTkxIC0xMTIgOTAgMCAxNTIgMzcKMTkxIDExMiAxNiAzMiAxOSA2MCAxOSAyMDUgbDAgMTY4IDQ1IDMwIGMxNTYgMTA1IDIxNCAzMzAgMTMwIDUxMiAtNzkgMTc0Ci0yNzEgMjc2IC00NTggMjQzeiIvPgo8L2c+Cjwvc3ZnPgo=);background-size:86% 86%}.map-interaction-lock{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBzdGFuZGFsb25lPSJubyI/Pgo8IURPQ1RZUEUgc3ZnIFBVQkxJQyAiLS8vVzNDLy9EVEQgU1ZHIDIwMDEwOTA0Ly9FTiIKICJodHRwOi8vd3d3LnczLm9yZy9UUi8yMDAxL1JFQy1TVkctMjAwMTA5MDQvRFREL3N2ZzEwLmR0ZCI+CjxzdmcgdmVyc2lvbj0iMS4wIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciCiB3aWR0aD0iNTEyLjAwMDAwMHB0IiBoZWlnaHQ9IjUxMi4wMDAwMDBwdCIgdmlld0JveD0iMCAwIDUxMi4wMDAwMDAgNTEyLjAwMDAwMCIKIHByZXNlcnZlQXNwZWN0UmF0aW89InhNaWRZTWlkIG1lZXQiPgoKPGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMC4wMDAwMDAsNTEyLjAwMDAwMCkgc2NhbGUoMC4xMDAwMDAsLTAuMTAwMDAwKSIKZmlsbD0iIzMzMzMzMyIgc3Ryb2tlPSJub25lIj4KPHBhdGggZD0iTTIzNzAgNTEwNSBjLTQ0MSAtNjkgLTgyNiAtMzk0IC05NjUgLTgxNSAtNTMgLTE2MSAtNTcgLTE5NSAtNjIKLTU0NiBsLTUgLTMzMSAtNzEgLTYgYy0yNTcgLTIwIC00OTcgLTE5OSAtNjA0IC00NTIgLTU0IC0xMjcgLTU0IC0xMjEgLTUxCi0xMjg1IGwzIC0xMDc1IDIzIC03MCBjODQgLTI1MCAyNTYgLTQyMCA1MDIgLTQ5NyBsNzUgLTIzIDEzNDUgMCAxMzQ1IDAgNzUKMjMgYzI0OCA3OSA0MTcgMjQ2IDUwMiA0OTcgbDIzIDcwIDMgMTA3NSBjMyAxMjI3IDcgMTE2MyAtNzkgMTMzOCAtNDIgODcgLTYzCjExNiAtMTMyIDE4NSAtNDUgNDUgLTExMSA5OSAtMTQ3IDEyMCAtODQgNDggLTIwNiA4NyAtMjk3IDk0IGwtNzMgNiAwIDI4MQpjLTEgMjk3IC03IDM4MiAtNDEgNTEwIC0xNTcgNjA3IC03NTEgOTk3IC0xMzY5IDkwMXogbTQxNSAtNTA5IGMyMDQgLTY5IDM2NwotMjE5IDQ0OSAtNDE0IDQ5IC0xMTUgNTYgLTE3OSA1NiAtNDg4IGwwIC0yODQgLTczMSAwIC03MzAgMCAzIDMxOCAzIDMxNyAyOAo4MCBjODggMjUyIDI4OCA0MzMgNTQyIDQ5MSA5OSAyMyAyODIgMTMgMzgwIC0yMHogbTEwODYgLTE2ODcgYzU2IC0yNiAxMDUKLTc1IDEyOCAtMTI5IGwyMSAtNDkgLTIgLTEwMzkgLTMgLTEwMzkgLTMwIC00OSBjLTE5IC0zMCAtNDkgLTYwIC03OSAtNzkKbC00OSAtMzAgLTEyOTcgMCAtMTI5NyAwIC00OSAzMCBjLTMwIDE5IC02MCA0OSAtNzkgNzkgbC0zMCA0OSAtMyAxMDM2IGMtMgo5MzYgLTEgMTA0MCAxNCAxMDc5IDMwIDgwIDk0IDEzNSAxNzYgMTUxIDI0IDUgNjA2IDggMTI5MyA4IDExMzAgLTIgMTI1MyAtNAoxMjg2IC0xOHoiLz4KPHBhdGggZD0iTTI0NjUgMjQyOCBjLTg5IC0xNyAtMTg0IC03MCAtMjUzIC0xNDIgLTIwNCAtMjEyIC0xODEgLTUzMyA1MSAtNzE2Cmw1NyAtNDUgMCAtMTgzIGMwIC0yMDYgOSAtMjQzIDc4IC0zMDMgNTAgLTQ0IDkxIC01OSAxNjQgLTU5IDc2IDAgMTM0IDI2IDE4MQo4MSA1MCA1NyA1NyA5NSA1NyAyOTAgbDAgMTc0IDU3IDQ1IGMyMzEgMTgyIDI1NSA1MDQgNTMgNzE0IC0xMTkgMTI0IC0yNzgKMTc2IC00NDUgMTQ0eiIvPgo8L2c+Cjwvc3ZnPgo=);background-size:80% 80%}.popup-content{line-height:1.2}.chart[data-v-c197242b]{height:90vh;width:100%}.visitor-badge[data-v-c197242b]{display:none}.container[data-v-dd3dd0a4]{font-family:Nunito,sans-serif;color:#333}.card[data-v-dd3dd0a4]{margin:10px 0;border:none;border-radius:16px;overflow:hidden;background-color:#fff;transition:transform .3s ease,box-shadow .3s ease;box-shadow:0 10px 20px #0003}.card[data-v-dd3dd0a4]:hover{transform:translateY(-5px);box-shadow:0 10px 20px #0003}.card-header[data-v-dd3dd0a4]{color:#333;padding:8px 24px;background-color:#fff}.card-subtitle[data-v-dd3dd0a4]{font-size:.875rem;margin-top:4px}.list-group[data-v-dd3dd0a4]{list-style-type:none;padding-left:0;border-radius:16px}.list-group-item[data-v-dd3dd0a4]{list-style-type:none;font-size:.875rem;background-color:#f4f4f4;padding:16px 24px;border:none;transition:background-color .3s}.list-group-item[data-v-dd3dd0a4]:hover{background-color:#f8f9fa}.fade-enter-active[data-v-dd3dd0a4],.fade-leave-active[data-v-dd3dd0a4]{transition:opacity .5s}.fade-enter-from[data-v-dd3dd0a4],.fade-leave-to[data-v-dd3dd0a4]{opacity:0}.echarts{width:100%;height:250px}.menu-img[data-v-d435a83a]{margin-bottom:2rem}.tab-container{margin-top:6px}.tg{border:1px solid transparent;font-weight:400}.tg tr{background-color:transparent}.tg .tg-0lax{border:inherit;font-weight:inherit;text-align:left;vertical-align:top}.tg-0lax h3{padding-top:50px}@media (max-width: 419px){.theme-default-content{padding:1.5rem}h1{margin-top:0}}div.emergency{border-style:solid;border-width:2px;border-color:#fe0000;text-align:center;vertical-align:center}div.emergency p a{color:#fe0000;font-weight:700;word-break:normal}img.wx-qr.medium-zoom-image{min-width:100px;max-width:150px}.bt-sub{margin-top:1%;display:inline-block;width:32%;text-align:center}.bt-sub-new{margin-top:1%;display:inline-block;width:90%;text-align:center}.bt-sub{margin-top:1%;display:inline-block;width:48%;text-align:center}/*! @docsearch/css 3.6.1 | MIT License | © Algolia, Inc. and contributors | https://docsearch.algolia.com */:root{--docsearch-primary-color:#5468ff;--docsearch-text-color:#1c1e21;--docsearch-spacing:12px;--docsearch-icon-stroke-width:1.4;--docsearch-highlight-color:var(--docsearch-primary-color);--docsearch-muted-color:#969faf;--docsearch-container-background:rgba(101,108,133,.8);--docsearch-logo-color:#5468ff;--docsearch-modal-width:560px;--docsearch-modal-height:600px;--docsearch-modal-background:#f5f6f7;--docsearch-modal-shadow:inset 1px 1px 0 0 hsla(0,0%,100%,.5),0 3px 8px 0 #555a64;--docsearch-searchbox-height:56px;--docsearch-searchbox-background:#ebedf0;--docsearch-searchbox-focus-background:#fff;--docsearch-searchbox-shadow:inset 0 0 0 2px var(--docsearch-primary-color);--docsearch-hit-height:56px;--docsearch-hit-color:#444950;--docsearch-hit-active-color:#fff;--docsearch-hit-background:#fff;--docsearch-hit-shadow:0 1px 3px 0 #d4d9e1;--docsearch-key-gradient:linear-gradient(-225deg,#d5dbe4,#f8f8f8);--docsearch-key-shadow:inset 0 -2px 0 0 #cdcde6,inset 0 0 1px 1px #fff,0 1px 2px 1px rgba(30,35,90,.4);--docsearch-key-pressed-shadow:inset 0 -2px 0 0 #cdcde6,inset 0 0 1px 1px #fff,0 1px 1px 0 rgba(30,35,90,.4);--docsearch-footer-height:44px;--docsearch-footer-background:#fff;--docsearch-footer-shadow:0 -1px 0 0 #e0e3e8,0 -3px 6px 0 rgba(69,98,155,.12)}html[data-theme=dark]{--docsearch-text-color:#f5f6f7;--docsearch-container-background:rgba(9,10,17,.8);--docsearch-modal-background:#15172a;--docsearch-modal-shadow:inset 1px 1px 0 0 #2c2e40,0 3px 8px 0 #000309;--docsearch-searchbox-background:#090a11;--docsearch-searchbox-focus-background:#000;--docsearch-hit-color:#bec3c9;--docsearch-hit-shadow:none;--docsearch-hit-background:#090a11;--docsearch-key-gradient:linear-gradient(-26.5deg,#565872,#31355b);--docsearch-key-shadow:inset 0 -2px 0 0 #282d55,inset 0 0 1px 1px #51577d,0 2px 2px 0 rgba(3,4,9,.3);--docsearch-key-pressed-shadow:inset 0 -2px 0 0 #282d55,inset 0 0 1px 1px #51577d,0 1px 1px 0 rgba(3,4,9,.30196078431372547);--docsearch-footer-background:#1e2136;--docsearch-footer-shadow:inset 0 1px 0 0 rgba(73,76,106,.5),0 -4px 8px 0 rgba(0,0,0,.2);--docsearch-logo-color:#fff;--docsearch-muted-color:#7f8497}.DocSearch-Button{align-items:center;background:var(--docsearch-searchbox-background);border:0;border-radius:40px;color:var(--docsearch-muted-color);cursor:pointer;display:flex;font-weight:500;height:36px;justify-content:space-between;margin:0 0 0 16px;padding:0 8px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.DocSearch-Button:active,.DocSearch-Button:focus,.DocSearch-Button:hover{background:var(--docsearch-searchbox-focus-background);box-shadow:var(--docsearch-searchbox-shadow);color:var(--docsearch-text-color);outline:none}.DocSearch-Button-Container{align-items:center;display:flex}.DocSearch-Search-Icon{stroke-width:1.6}.DocSearch-Button .DocSearch-Search-Icon{color:var(--docsearch-text-color)}.DocSearch-Button-Placeholder{font-size:1rem;padding:0 12px 0 6px}.DocSearch-Button-Keys{display:flex;min-width:calc(40px + .8em)}.DocSearch-Button-Key{align-items:center;background:var(--docsearch-key-gradient);border-radius:3px;box-shadow:var(--docsearch-key-shadow);color:var(--docsearch-muted-color);display:flex;height:18px;justify-content:center;margin-right:.4em;position:relative;padding:0 0 2px;border:0;top:-1px;width:20px}.DocSearch-Button-Key--pressed{transform:translate3d(0,1px,0);box-shadow:var(--docsearch-key-pressed-shadow)}@media (max-width:768px){.DocSearch-Button-Keys,.DocSearch-Button-Placeholder{display:none}}.DocSearch--active{overflow:hidden!important}.DocSearch-Container,.DocSearch-Container *{box-sizing:border-box}.DocSearch-Container{background-color:var(--docsearch-container-background);height:100vh;left:0;position:fixed;top:0;width:100vw;z-index:200}.DocSearch-Container a{text-decoration:none}.DocSearch-Link{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;color:var(--docsearch-highlight-color);cursor:pointer;font:inherit;margin:0;padding:0}.DocSearch-Modal{background:var(--docsearch-modal-background);border-radius:6px;box-shadow:var(--docsearch-modal-shadow);flex-direction:column;margin:60px auto auto;max-width:var(--docsearch-modal-width);position:relative}.DocSearch-SearchBar{display:flex;padding:var(--docsearch-spacing) var(--docsearch-spacing) 0}.DocSearch-Form{align-items:center;background:var(--docsearch-searchbox-focus-background);border-radius:4px;box-shadow:var(--docsearch-searchbox-shadow);display:flex;height:var(--docsearch-searchbox-height);margin:0;padding:0 var(--docsearch-spacing);position:relative;width:100%}.DocSearch-Input{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;border:0;color:var(--docsearch-text-color);flex:1;font:inherit;font-size:1.2em;height:100%;outline:none;padding:0 0 0 8px;width:80%}.DocSearch-Input::-moz-placeholder{color:var(--docsearch-muted-color);opacity:1}.DocSearch-Input::placeholder{color:var(--docsearch-muted-color);opacity:1}.DocSearch-Input::-webkit-search-cancel-button,.DocSearch-Input::-webkit-search-decoration,.DocSearch-Input::-webkit-search-results-button,.DocSearch-Input::-webkit-search-results-decoration{display:none}.DocSearch-LoadingIndicator,.DocSearch-MagnifierLabel,.DocSearch-Reset{margin:0;padding:0}.DocSearch-MagnifierLabel,.DocSearch-Reset{align-items:center;color:var(--docsearch-highlight-color);display:flex;justify-content:center}.DocSearch-Container--Stalled .DocSearch-MagnifierLabel,.DocSearch-LoadingIndicator{display:none}.DocSearch-Container--Stalled .DocSearch-LoadingIndicator{align-items:center;color:var(--docsearch-highlight-color);display:flex;justify-content:center}@media screen and (prefers-reduced-motion:reduce){.DocSearch-Reset{animation:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;border-radius:50%;color:var(--docsearch-icon-color);cursor:pointer;right:0;stroke-width:var(--docsearch-icon-stroke-width)}}.DocSearch-Reset{animation:fade-in .1s ease-in forwards;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;border-radius:50%;color:var(--docsearch-icon-color);cursor:pointer;padding:2px;right:0;stroke-width:var(--docsearch-icon-stroke-width)}.DocSearch-Reset[hidden]{display:none}.DocSearch-Reset:hover{color:var(--docsearch-highlight-color)}.DocSearch-LoadingIndicator svg,.DocSearch-MagnifierLabel svg{height:24px;width:24px}.DocSearch-Cancel{display:none}.DocSearch-Dropdown{max-height:calc(var(--docsearch-modal-height) - var(--docsearch-searchbox-height) - var(--docsearch-spacing) - var(--docsearch-footer-height));min-height:var(--docsearch-spacing);overflow-y:auto;overflow-y:overlay;padding:0 var(--docsearch-spacing);scrollbar-color:var(--docsearch-muted-color) var(--docsearch-modal-background);scrollbar-width:thin}.DocSearch-Dropdown::-webkit-scrollbar{width:12px}.DocSearch-Dropdown::-webkit-scrollbar-track{background:transparent}.DocSearch-Dropdown::-webkit-scrollbar-thumb{background-color:var(--docsearch-muted-color);border:3px solid var(--docsearch-modal-background);border-radius:20px}.DocSearch-Dropdown ul{list-style:none;margin:0;padding:0}.DocSearch-Label{font-size:.75em;line-height:1.6em}.DocSearch-Help,.DocSearch-Label{color:var(--docsearch-muted-color)}.DocSearch-Help{font-size:.9em;margin:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.DocSearch-Title{font-size:1.2em}.DocSearch-Logo a{display:flex}.DocSearch-Logo svg{color:var(--docsearch-logo-color);margin-left:8px}.DocSearch-Hits:last-of-type{margin-bottom:24px}.DocSearch-Hits mark{background:none;color:var(--docsearch-highlight-color)}.DocSearch-HitsFooter{color:var(--docsearch-muted-color);display:flex;font-size:.85em;justify-content:center;margin-bottom:var(--docsearch-spacing);padding:var(--docsearch-spacing)}.DocSearch-HitsFooter a{border-bottom:1px solid;color:inherit}.DocSearch-Hit{border-radius:4px;display:flex;padding-bottom:4px;position:relative}@media screen and (prefers-reduced-motion:reduce){.DocSearch-Hit--deleting{transition:none}}.DocSearch-Hit--deleting{opacity:0;transition:all .25s linear}@media screen and (prefers-reduced-motion:reduce){.DocSearch-Hit--favoriting{transition:none}}.DocSearch-Hit--favoriting{transform:scale(0);transform-origin:top center;transition:all .25s linear;transition-delay:.25s}.DocSearch-Hit a{background:var(--docsearch-hit-background);border-radius:4px;box-shadow:var(--docsearch-hit-shadow);display:block;padding-left:var(--docsearch-spacing);width:100%}.DocSearch-Hit-source{background:var(--docsearch-modal-background);color:var(--docsearch-highlight-color);font-size:.85em;font-weight:600;line-height:32px;margin:0 -4px;padding:8px 4px 0;position:sticky;top:0;z-index:10}.DocSearch-Hit-Tree{color:var(--docsearch-muted-color);height:var(--docsearch-hit-height);opacity:.5;stroke-width:var(--docsearch-icon-stroke-width);width:24px}.DocSearch-Hit[aria-selected=true] a{background-color:var(--docsearch-highlight-color)}.DocSearch-Hit[aria-selected=true] mark{text-decoration:underline}.DocSearch-Hit-Container{align-items:center;color:var(--docsearch-hit-color);display:flex;flex-direction:row;height:var(--docsearch-hit-height);padding:0 var(--docsearch-spacing) 0 0}.DocSearch-Hit-icon{height:20px;width:20px}.DocSearch-Hit-action,.DocSearch-Hit-icon{color:var(--docsearch-muted-color);stroke-width:var(--docsearch-icon-stroke-width)}.DocSearch-Hit-action{align-items:center;display:flex;height:22px;width:22px}.DocSearch-Hit-action svg{display:block;height:18px;width:18px}.DocSearch-Hit-action+.DocSearch-Hit-action{margin-left:6px}.DocSearch-Hit-action-button{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;border-radius:50%;color:inherit;cursor:pointer;padding:2px}svg.DocSearch-Hit-Select-Icon{display:none}.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-Select-Icon{display:block}.DocSearch-Hit-action-button:focus,.DocSearch-Hit-action-button:hover{background:#0003;transition:background-color .1s ease-in}@media screen and (prefers-reduced-motion:reduce){.DocSearch-Hit-action-button:focus,.DocSearch-Hit-action-button:hover{transition:none}}.DocSearch-Hit-action-button:focus path,.DocSearch-Hit-action-button:hover path{fill:#fff}.DocSearch-Hit-content-wrapper{display:flex;flex:1 1 auto;flex-direction:column;font-weight:500;justify-content:center;line-height:1.2em;margin:0 8px;overflow-x:hidden;position:relative;text-overflow:ellipsis;white-space:nowrap;width:80%}.DocSearch-Hit-title{font-size:.9em}.DocSearch-Hit-path{color:var(--docsearch-muted-color);font-size:.75em}.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-action,.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-icon,.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-path,.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-text,.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-title,.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-Tree,.DocSearch-Hit[aria-selected=true] mark{color:var(--docsearch-hit-active-color)!important}@media screen and (prefers-reduced-motion:reduce){.DocSearch-Hit-action-button:focus,.DocSearch-Hit-action-button:hover{background:#0003;transition:none}}.DocSearch-ErrorScreen,.DocSearch-NoResults,.DocSearch-StartScreen{font-size:.9em;margin:0 auto;padding:36px 0;text-align:center;width:80%}.DocSearch-Screen-Icon{color:var(--docsearch-muted-color);padding-bottom:12px}.DocSearch-NoResults-Prefill-List{display:inline-block;padding-bottom:24px;text-align:left}.DocSearch-NoResults-Prefill-List ul{display:inline-block;padding:8px 0 0}.DocSearch-NoResults-Prefill-List li{list-style-position:inside;list-style-type:"» "}.DocSearch-Prefill{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;border-radius:1em;color:var(--docsearch-highlight-color);cursor:pointer;display:inline-block;font-size:1em;font-weight:700;padding:0}.DocSearch-Prefill:focus,.DocSearch-Prefill:hover{outline:none;text-decoration:underline}.DocSearch-Footer{align-items:center;background:var(--docsearch-footer-background);border-radius:0 0 8px 8px;box-shadow:var(--docsearch-footer-shadow);display:flex;flex-direction:row-reverse;flex-shrink:0;height:var(--docsearch-footer-height);justify-content:space-between;padding:0 var(--docsearch-spacing);position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:100%;z-index:300}.DocSearch-Commands{color:var(--docsearch-muted-color);display:flex;list-style:none;margin:0;padding:0}.DocSearch-Commands li{align-items:center;display:flex}.DocSearch-Commands li:not(:last-of-type){margin-right:.8em}.DocSearch-Commands-Key{align-items:center;background:var(--docsearch-key-gradient);border-radius:2px;box-shadow:var(--docsearch-key-shadow);display:flex;height:18px;justify-content:center;margin-right:.4em;padding:0 0 1px;color:var(--docsearch-muted-color);border:0;width:20px}.DocSearch-VisuallyHiddenForAccessibility{clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}@media (max-width:768px){:root{--docsearch-spacing:10px;--docsearch-footer-height:40px}.DocSearch-Dropdown{height:100%}.DocSearch-Container{height:100vh;height:-webkit-fill-available;height:calc(var(--docsearch-vh, 1vh)*100);position:absolute}.DocSearch-Footer{border-radius:0;bottom:0;position:absolute}.DocSearch-Hit-content-wrapper{display:flex;position:relative;width:80%}.DocSearch-Modal{border-radius:0;box-shadow:none;height:100vh;height:-webkit-fill-available;height:calc(var(--docsearch-vh, 1vh)*100);margin:0;max-width:100%;width:100%}.DocSearch-Dropdown{max-height:calc(var(--docsearch-vh, 1vh)*100 - var(--docsearch-searchbox-height) - var(--docsearch-spacing) - var(--docsearch-footer-height))}.DocSearch-Cancel{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;color:var(--docsearch-highlight-color);cursor:pointer;display:inline-block;flex:none;font:inherit;font-size:1em;font-weight:500;margin-left:var(--docsearch-spacing);outline:none;overflow:hidden;padding:0;-webkit-user-select:none;-moz-user-select:none;user-select:none;white-space:nowrap}.DocSearch-Commands,.DocSearch-Hit-Tree{display:none}}@keyframes fade-in{0%{opacity:0}to{opacity:1}}@media (max-width: 750px){.DocSearch-Container{position:fixed}}@media print{#docsearch-container,.DocSearch-Button{display:none}} diff --git a/assets/unifound-1-f2X05JVa.jpeg b/assets/unifound-1-f2X05JVa.jpeg new file mode 100644 index 000000000..b600273c5 Binary files /dev/null and b/assets/unifound-1-f2X05JVa.jpeg differ diff --git a/assets/unifound-10-CeATjA_N.png b/assets/unifound-10-CeATjA_N.png new file mode 100644 index 000000000..bcefa612f Binary files /dev/null and b/assets/unifound-10-CeATjA_N.png differ diff --git a/assets/unifound-2-0opEHAe1.jpeg b/assets/unifound-2-0opEHAe1.jpeg new file mode 100644 index 000000000..f29417feb Binary files /dev/null and b/assets/unifound-2-0opEHAe1.jpeg differ diff --git a/assets/unifound-3-0bWF37vv.jpeg b/assets/unifound-3-0bWF37vv.jpeg new file mode 100644 index 000000000..424334163 Binary files /dev/null and b/assets/unifound-3-0bWF37vv.jpeg differ diff --git a/assets/unifound-4-zViyGVqK.png b/assets/unifound-4-zViyGVqK.png new file mode 100644 index 000000000..742286f9b Binary files /dev/null and b/assets/unifound-4-zViyGVqK.png differ diff --git a/assets/unifound-5-DH-O3cXN.jpeg b/assets/unifound-5-DH-O3cXN.jpeg new file mode 100644 index 000000000..cbaa1874a Binary files /dev/null and b/assets/unifound-5-DH-O3cXN.jpeg differ diff --git a/assets/unifound-6-CiU2H6oB.jpeg b/assets/unifound-6-CiU2H6oB.jpeg new file mode 100644 index 000000000..b38ee9eb6 Binary files /dev/null and b/assets/unifound-6-CiU2H6oB.jpeg differ diff --git a/assets/unifound-7-1w-KmnhE.jpeg b/assets/unifound-7-1w-KmnhE.jpeg new file mode 100644 index 000000000..2296537a8 Binary files /dev/null and b/assets/unifound-7-1w-KmnhE.jpeg differ diff --git a/assets/unifound-8-Gnjm8OFa.jpeg b/assets/unifound-8-Gnjm8OFa.jpeg new file mode 100644 index 000000000..a2935ce6d Binary files /dev/null and b/assets/unifound-8-Gnjm8OFa.jpeg differ diff --git a/assets/unifound-9-WerpZ3uH.jpeg b/assets/unifound-9-WerpZ3uH.jpeg new file mode 100644 index 000000000..c37a8ec78 Binary files /dev/null and b/assets/unifound-9-WerpZ3uH.jpeg differ diff --git a/assets/unifound-home-rBmX145C.png b/assets/unifound-home-rBmX145C.png new file mode 100644 index 000000000..b90ca586a Binary files /dev/null and b/assets/unifound-home-rBmX145C.png differ diff --git a/assets/vehicle-charger.html-DyH3SUKE.js b/assets/vehicle-charger.html-DyH3SUKE.js new file mode 100644 index 000000000..193a53d77 --- /dev/null +++ b/assets/vehicle-charger.html-DyH3SUKE.js @@ -0,0 +1 @@ +import{_ as t,o as d,c as r,e}from"./app-CAXKJsZK.js";const a={},h=e('

    充电桩分布

    新能源车

    位置数量(台)
    学生宿舍(7-10栋)57
    工学院101
    学术交流中心15
    南科大中心35
    国际会议中心40
    教师公寓29

    四轮电动车

    位置数量(台)
    二科走廊4
    书院3栋1楼4
    创园4栋1楼4
    创园5栋1楼4
    荔园8栋1楼4
    荔园9栋1楼4

    两轮电动车

    位置数量(台)
    1号门自行车雨糊16
    3号门自行车雨棚16
    欣园1栋自行车棚16
    慧园2栋自行车棚16
    学生宿舍17栋自行车棚10
    学生宿舍12栋10
    第一教学楼10
    教师公寓6栋10
    湖群书院2栋10
    荔园9栋10
    创园5栋10
    ',7),l=[h];function i(c,n){return d(),r("div",null,l)}const o=t(a,[["render",i],["__file","vehicle-charger.html.vue"]]),b=JSON.parse('{"path":"/life/vehicle-charger.html","title":"充电桩分布","lang":"zh-CN","frontmatter":{},"headers":[{"level":2,"title":"新能源车","slug":"新能源车","link":"#新能源车","children":[]},{"level":2,"title":"四轮电动车","slug":"四轮电动车","link":"#四轮电动车","children":[]},{"level":2,"title":"两轮电动车","slug":"两轮电动车","link":"#两轮电动车","children":[]}],"git":{"updatedTime":1650789245000,"contributors":[{"name":"liziwl","email":"leezisy@gmail.com","commits":1}]},"filePathRelative":"life/vehicle-charger.md"}');export{o as comp,b as data}; diff --git a/assets/workday.html-BoYrvDQg.js b/assets/workday.html-BoYrvDQg.js new file mode 100644 index 000000000..4c8984aa5 --- /dev/null +++ b/assets/workday.html-BoYrvDQg.js @@ -0,0 +1 @@ +import{_ as B}from"./busline2-a5ykBpx8.js";import{_ as D,o as T,c as F,e as x}from"./app-CAXKJsZK.js";const y={mounted(){function c(e){var t=new Date;t.setMinutes(t.getMinutes()-e);var o=t.getHours(),r=o<10?"0"+o:o,a=t.getMinutes(),n=a<10?"0"+a:a;return r+":"+n}function i(e){for(var t=c(20),o=c(0),r=0,a=0,n=e.length;a"+$(this).text()+"")}))}},t,o,r,a,n,l=i(d.hl2coe);t=l.now_table;var E=l.row,_=$("#work-bus-hl2coe").DataTable($.extend(!0,{data:t},e)),s=$(_.row(Math.min(E,t.length)).node()).offset().top-$(_.row(0).node()).offset().top;$("#bus-table-hl2coe .dataTables_scrollBody").scrollTop(s);var l=i(d.coe2hl);o=l.now_table;var m=l.row,f=$("#work-bus-coe2hl").DataTable($.extend(!0,{data:o},e)),s=$(f.row(Math.min(m,o.length)).node()).offset().top-$(f.row(0).node()).offset().top;$("#bus-table-coe2hl .dataTables_scrollBody").scrollTop(s);var l=i(d.hl2rb);r=l.now_table;var A=l.row,p=$("#work-bus-hl2rb").DataTable($.extend(!0,{data:r},e)),s=$(p.row(Math.min(A,r.length)).node()).offset().top-$(p.row(0).node()).offset().top;$("#bus-table-hl2rb .dataTables_scrollBody").scrollTop(s);var l=i(d.rb2hl);a=l.now_table;var g=l.row,v=$("#work-bus-rb2hl").DataTable($.extend(!0,{data:a},e)),s=$(v.row(Math.min(g,a.length)).node()).offset().top-$(v.row(0).node()).offset().top;$("#bus-table-rb2hl .dataTables_scrollBody").scrollTop(s);var l=i(d.ip2lh);n=l.now_table;var k=l.row,w=$("#work-bus-ip2lh").DataTable($.extend(!0,{data:n},e)),s=$(w.row(Math.min(k,n.length)).node()).offset().top-$(w.row(0).node()).offset().top;$("#bus-table-ip2lh .dataTables_scrollBody").scrollTop(s)}}document.addEventListener("DOMContentLoaded",b,!1),$(document).ready(function(){b()})}},C=x('

    🚌校园巴士 - 工作日 (2021年6月18日更新)

    快速跳转

    1路 欣园 → 工学院(共109班)

    1路 工学院 → 欣园(共98班)

    2路 欣园 → 科研楼(共71班)

    2路 科研楼 → 欣园(共85班)

    智园 → 教工食堂 → 荔园(共2班)

    参考文献

    • 2021年6月18日 校园服务办公室 <ocs@sustech.edu.cn> 邮件《【关于调整校园巴士运行班次及线路的通知 Notice on Adjustment of Campus Bus Schedule and Routes【2021】26号》
    ',16),M=[C];function N(c,i,d,b,e,t){return T(),F("div",null,M)}const j=D(y,[["render",N],["__file","workday.html.vue"]]),L=JSON.parse('{"path":"/transport/workday.html","title":"🚌校园巴士 - 工作日 (2021年6月18日更新)","lang":"zh-CN","frontmatter":{},"headers":[{"level":2,"title":"快速跳转","slug":"快速跳转","link":"#快速跳转","children":[]},{"level":2,"title":"1路 欣园 → 工学院(共109班)","slug":"_1路-欣园-→-工学院-共109班","link":"#_1路-欣园-→-工学院-共109班","children":[]},{"level":2,"title":"1路 工学院 → 欣园(共98班)","slug":"_1路-工学院-→-欣园-共98班","link":"#_1路-工学院-→-欣园-共98班","children":[]},{"level":2,"title":"2路 欣园 → 科研楼(共71班)","slug":"_2路-欣园-→-科研楼-共71班","link":"#_2路-欣园-→-科研楼-共71班","children":[]},{"level":2,"title":"2路 科研楼 → 欣园(共85班)","slug":"_2路-科研楼-→-欣园-共85班","link":"#_2路-科研楼-→-欣园-共85班","children":[]},{"level":2,"title":"智园 → 教工食堂 → 荔园(共2班)","slug":"智园-→-教工食堂-→-荔园-共2班","link":"#智园-→-教工食堂-→-荔园-共2班","children":[]},{"level":2,"title":"参考文献","slug":"参考文献","link":"#参考文献","children":[]}],"git":{"updatedTime":1640077007000,"contributors":[{"name":"liziwl","email":"leezisy@gmail.com","commits":14},{"name":"sparkcyf","email":"sparktour@outlook.com","commits":7}]},"filePathRelative":"transport/workday.md"}');export{j as comp,L as data}; diff --git "a/assets/\346\200\245\346\225\221\347\256\261\345\234\260\345\233\276_\346\225\221\346\217\264\351\230\237\345\234\260\345\233\276\347\273\204-CYbXKTgb.jpg" "b/assets/\346\200\245\346\225\221\347\256\261\345\234\260\345\233\276_\346\225\221\346\217\264\351\230\237\345\234\260\345\233\276\347\273\204-CYbXKTgb.jpg" new file mode 100644 index 000000000..9cef9cb70 Binary files /dev/null and "b/assets/\346\200\245\346\225\221\347\256\261\345\234\260\345\233\276_\346\225\221\346\217\264\351\230\237\345\234\260\345\233\276\347\273\204-CYbXKTgb.jpg" differ diff --git "a/assets/\346\226\260\347\224\237\346\224\273\347\225\245\344\271\213\345\255\246\344\271\240\347\257\207.html-D6tAPWFR.js" "b/assets/\346\226\260\347\224\237\346\224\273\347\225\245\344\271\213\345\255\246\344\271\240\347\257\207.html-D6tAPWFR.js" new file mode 100644 index 000000000..ee6281de0 --- /dev/null +++ "b/assets/\346\226\260\347\224\237\346\224\273\347\225\245\344\271\213\345\255\246\344\271\240\347\257\207.html-D6tAPWFR.js" @@ -0,0 +1 @@ +import{_ as e,r as i,o as n,c as r,b as a,a as s,w as l,e as o,d as t}from"./app-CAXKJsZK.js";const h="/assets/image1-BskFnSmQ.png",c="/assets/image2-BxBWo8LQ.png",d="/assets/image5-CW1BFElk.png",_="/assets/image6-DZ6lisGw.png",g="/assets/image7-DUtnkrs7.png",m="/assets/image8-Ch2BhYSe.png",u="data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAMCAgMCAgMDAwMEAwMEBQgFBQQEBQoHBwYIDAoMDAsKCwsNDhIQDQ4RDgsLEBYQERMUFRUVDA8XGBYUGBIUFRT/2wBDAQMEBAUEBQkFBQkUDQsNFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBT/wAARCAA5ADkDASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3uLm6wsPExcbHyMnK0tPU1dbX2Nna4uPk5ebn6Onq8vP09fb3+Pn6/9oADAMBAAIRAxEAPwD9S5qz7z/j6rVzVS4tAeRWIFWsjU9dsdBtPtN9fW9naW3/AD9V5h8V/idfWd//AMI14V/0zW7r/j5u/wDnwrhbD4Y6R9l/4qO+ufE93/y/Xd3Xg1s09g/YHZRoHqlx8bPBll4X1DV7PXLHUvsFt/x6Wl99qrlfD37U/gy7vrqw1v7ToF3a/wDHzd3f/Hp/4FV51/aXwd026+zXPhq2/wBFuv8Aj7+w/wCiVf8AHnwyvvGFh9u0DxDc2f8Ao32r+zvtX+iaza0Ksa+xPqyzvPtlWq8/+FHiseMPAenX11Zf2Zdm2/0m0/59a9A+1ivUPOMm51K2s7+0tp5f9Kuv+PasT4o+MbbwH8P9a8Sz/wDLhbfaq8t+K3hS5vfijouuGRLYGx+y2N2P+Pq1uq4z42fEf/hKfhD4l8GarbXv9tX9r9ltv7OtftVeZXx9HD7nZQoXObv/AIkeGvgPa/adevrnUtb1n/Sr67/6eqh1v4tWPxa0bT7bQdX+x+Grq6/06vCvivoOr/Fr+xPGelWNzqX2q1+y31p/z4XX/PrXovwB+EviXwr8OfEtzc6R/pd/bf6Lp13XzF6Dr3PuvqVD6ufQviD4keA/h3dWngy8tvsX/En+3/ZPsH+iWtr/ANfX/HrWB8HPgz4R174U6Lfa9Y3N5d39r/x93f8Ax92tfOl/4w0j7Vd6R4j8M232u1/0W6u/sv2r/wAlat+F/FUvjC2uvhrY+M9Ws9EurW11Cx1HT7m6tbu1/wCvWvpqFehiKx8p9WrexPo/4Aj/AIVN8Qda+Fd9q9zqR/4/7D7Xc/8ALrX03X53/C/4zWPjz426L9ltrnUtQ/ti1/4mN3/z61+gv2uvUOKpQ948Z/aMvLf/AIQO7sTdD7Xf3Vra2P8ApP8Ax63VR2dn9jtf9J/4+6479pi01fwrdaf48u9c/wCKZ0a+tf8AiX/Zv+PX/p6rW8bfEix8B+Df+ElvvtP2T/p0tftVfneeQr4o7MGEPw3svCvifxL4hsftNndat/x9Wn/Lp9q/5+q6uvL/AIb/ABa1f4keLbu2ufDX9iaJ9h+1Wv8AaFz/AKXdVH47t/EPj3xna+A/C+rjwxa2tr9q1jULU4u7W2/6da+cw2GxDrntuvagQX/wl8IePPtdzffabO7urr/j7tLr7LUX/CB+Avhva2ljpVzbf2hf/wDP3df6X/x611Vv+zBfWf8AzV/xA91/0921h/8AItVbD9lexs9Z/tj/AIT3V7zWv+fv/Ra/UspwH1etdnxdfG16VE8k/YM+Cdzpus6h4z177TZ/8uljaXdtX3t9jr570X4F32m6z9rsfiLc2cmP+fW1+1V9CfY6+oq0aPMcv1+vV948Y/ae0Kw8V/Dq1sdUtvtmn3Os2H2r/r1+1V5Bf6dq954j8NfCLVdIvdS+wX9rdf2jd2v+iXVha1718ff+RCP/AF/2H/pVXdn/AFlrXj1sFSPao7HhXirwfpngH4leGdX0qxsdE0m6tbqwvvslr9lpnwp+Hfhr4j3/AIl8S69Yi8u7q/urS1u/+nW1/wBFre/a7/5N98V1L+x//wAkH8Nf9eteVhqUfbiv7p5f8VvCHhH4ZfErRba6Fzpnhq/sbq6uf9Puv+Pquy/Z/wDCdl4n+Fen6vfaOmL/AM26tbS7/wBK/wBF/wCXWvE/+Cqf/IufDX/sMXVfY/w7/wCSe+Gf+vC1/wDSWvaRzGPqf7PngPUW+0/8I1bWZ/6dB9lr1Hyahuf9fVuvQMD/2Q==",f="/assets/image10-Bs7UBQyO.png",A="/assets/image11-xDHSppfw.png",B="/assets/image12-CQ9hfe7_.png",v="/assets/image13-B27pqTuf.png",b="/assets/image14-Cg_YMmmt.png",x="/assets/image15-BSriYUhC.png",E="/assets/image16-BgJZTIUr.png",Q="/assets/image17-DwXeU94y.png",w="/assets/image18-BRuBI1TF.png",q="/assets/image19-4JW6lzvy.png",D="/assets/image20-mm6JrlZy.png",F="/assets/image21-B3aVqUX9.png",P="/assets/image22-BGfQR_aX.jpeg",U="/assets/image23-B2OabiRj.jpeg",k="/assets/image24-DKo76l3F.png",C="/assets/image25-VUemPYBx.png",X="/assets/image26-B_J42oJX.jpeg",V="/assets/image27-CunGN7TX.png",z="/assets/image28-ABtr9Ts_.png",R="/assets/image29-DKo2yjxs.png",W="/assets/image30-BLQ3azUU.png",S="/assets/image31-KU6y0qqx.png",j="/assets/image32-DmvEZHRf.png",I="/assets/image33-BaqpBAzF.png",G="/assets/image34-D4jvtoHy.png",H="/assets/image35-Cj7CXdDj.png",y="/assets/image36-DrrocsGT.png",N="/assets/image37-DNpJb2me.png",M="/assets/image38-Be6kijKz.png",L="/assets/image39-D_aBA11X.png",K="/assets/image40-DDM5EaSz.png",Z="/assets/image41-Cz2c6v8B.png",J="/assets/image42-BcKUQaUm.png",O="/assets/image43-uh462urN.png",Y="/assets/image44-gab5olmJ.png",T="/assets/image46-BpABpAnt.png",$="/assets/image47-B_Ld7rFV.png",aa="/assets/image48-pIj1O0VD.png",pa="/assets/image49-eUmGykMu.png",sa={},la=a("h1",{id:"新生攻略之学习篇",tabindex:"-1"},[a("a",{class:"header-anchor",href:"#新生攻略之学习篇"},[a("span",null,"新生攻略之学习篇")])],-1),ta=a("p",null,[a("em",null,"本部分由 致诚书院大学长团 提供")],-1),ea={class:"table-of-contents"},ia=o('

    入学考试

    南科大新生入学考试安排在新生适应周,根据21届的校历安排,应该是安排在刚刚开学时的军训周(具体时间关注校内通知)。考试只考两门,即英语和计算机,而且目的是为了根据大家的水平给予选课的方案,属于分级考试而非选拔性考试,因此大家不必太担心,以从容的心态准备和面对就好。下面给大家从不同方面简单介绍一下这两门考试,以便大家更好的准备!

    1. 英语

    1. 考试内容: 英语分级考试并分为两部分:听力和阅读,题目与形式与托福考试类似,同学们可以在假期在网上或者购买托福的原题练习,会对考试有一定的帮助。(手机APP推荐:小站托福;电脑网站推荐:
    1. 考试形式:笔试,2个小时
    2. 考试结果:考试结束后,老师们会根据大家的考试成绩并结合大家的英语高考成绩与适应周英语课上大家的表现,综合评定后,将英语水平分为I、II、III,三个等级,水平依次递增,同学们根据自己的等级开始学习对应的英语课程。

    图:三种水平对应的需要修读的英语课程(每学期一门)

    2. 计算机

    1. 考试内容:计算机分级考试不会很难,会考察大家一些计算机的基础知识、逻辑、进制转换、伪代码、Java编程等。编程题也不会为难大家,一般是看程序选择输出结果或者选择一个选项完善程序之类的,大家不用过于担心,不过假期可以对以上内容进行一个简单的了解做一些准备。
    2. 考试形式:根据20级的经验,应该还是以笔试并且全部是选择题的形式。
    3. 考试结果:

    计算机分级考试的结果只分为通过与不通过两种,通过后可以直接修读"计算机程序设计基础"(通识必修课)这门课程,但如果未能通过的话,需要先修读并通过"计算机导论B"这门课程后,方能修读"计算机程序设计基础"。

    总之,南科大的分级考试主旨是为了帮助大家更好的学习大学课程,并不会对大学的成绩造成任何影响,因此学弟学妹们不必过于紧张。不过在考试前按照上述内容科学的备考,争取考出一个较好的成绩,还是对减少一些学业的压力有一定的作用的!预祝大家考试顺利!

    专业与选课

    专业问题是南科大学生在之后会一直关心和迷茫的事情,无论你们现在是不是已经有了目标,去了解专业将是你们之后一定会做的事情呢。而且专业的选择直接关系到了选课,选课也有很多学问,我们为大家总结了专业相关和一些选课要知道的事情,让大家以后不会太手忙脚乱!

    1. 专业

    1. 专业设置 图:南科大本科生可选专业院系设置汇总

    2. 专业选择方面的一点点提醒。 虽然南科大是自由选择专业,但还是需要心里有一点方向的!因为大家开学之后选课是要根据以后要进专业的先修课选择的。比如说,如果你要1+3进数学系或者统计系,你大一上就要开始学数学分析,另外的同学就只需要学高等数学。如果没有确定的方向也不用太担心,一般情况下不同专业都有很多重叠的通识课,你可以选出你感兴趣的几个专业重叠的课程在上学期上,在上学期好好了解自己感兴趣的几个专业,下学期就学这个专业剩下的先修课就好啦。当然如果你没有很强的1+3进专业的意愿的话,你还有一年的探索时间,甚至有机会临时反悔,也可以选择一些专业的先修课看看自己适不适合。

    3. 专业确定的一点点方法建议

      1. 网上了解相关院系的情况:导师及专业的科研情况等等
      2. 与感兴趣的院系的老师们联系,多多交流(注意礼貌!),找到自己感兴趣的科研方向很重要!
      3. 与大三大四的学长学姐多聊一聊,了解自己以后可能会经历什么,要做什么准备等等
      4. 兴趣!当然很重要,这个可以应用于排除法hhhhh

    2. 选课

    选课方法

    大家开学的时候会收到一个大厚本,就是2021级的培养方案啦!因为我们现在也没有大家的培养方案,因此介绍时就以2020级的培养方案为例,都是一样的,可能会有轻微变动而已,大家清楚里面有什么就可以啦!

    1. 学分限制,选课的学分是有界限的,下限15,上限25。就是告诉大家,不要上不够课,也不要上太多课,注意劳逸结合哈。

    2. 课程结构 图:课程结构总结(参考2020级培养方案)

    3. 通识课程。 体育课大家都必须选体育 I,英语要根据大家入学等级测评的结果来选择,思政课在下面四个任选一个(在四年里修完这四门就行,如果学分不够了可以放弃一学期,体育和英语也是同理) 图:大学四门思政课要求

      另外大一上下两个学期必须有一个学期选一门叫做写作与交流的课。

      大家大学四年必须修够人文课程2学分,社科课程2学分,艺术课程2学分(有些艺术社团是可以提供学分滴),至于什么时候选这些课程就完全看你啦,有早早修完的,也有等大三大四课变少之后再选的(说是用来养老的)。

    4. 先修课

    大家的培养方案每个专业上都会有这样的一页。根据这个来选择一个学期的课程就好啦,注意均匀分开两学期的课程。

    P.S.这里建议一定要咨询一下学长学姐课程的难度,比如线代和Java就不适合放在一个学期学,两门课任务都比较重,在一个学期会比较辛苦。当然如果你有信心能处理的话这都不是问题哈哈。

    刚刚也提到了可以先选感兴趣专业重叠的课程。

    另外,如果你入学等级考试计算机没有合格的话,第一个学期是选不了Java的,必须要先修计算机导论的课程。

    42a74e2ffa4e786842e80b66392fcbf

    ​ 图:计算机科学与技术先修课示例

    选课流程

    选课的流程一般是这样的:查看课程信息------积分选课------退补选课------导师确认

    下图是我们为大家总结的流程图:

    图:选课流程总结

    1. 查看课程信息:

      这个环节大家可以看到完整的排课信息了,哪门课什么时间哪位老师,这个时候大家可以开始了解课程并开始选择了,在这个阶段可以先排好自己的课表(虽然大概率以后会改)。建议大家选一门课的时候问问学长学姐有没有推荐的老师以及课程难度(受欢迎的老师并不一定适合所有人,不要追求老师选的人多不多,多问问老师讲课的风格和习惯的讲课方式等等!!这个挺重要的)。

    2. 积分选课:

      这个阶段每个人一共有100积分,为你想选的课程投入一定的积分。比如一节课容量50人,他们投入的积分从高到低排,前50人就选上这门课了,如果最后几名投入积分相同,则都落选。这是一场博弈啊博弈!到时候一门课有多少人选择也会一直更新,当然你看不到他们投入的积分,能不能顺利选到这门课,就看你的脑袋瓜和运气了。(刚刚说到的课表会变动的情况就从这里开始了,很可能你的计划被迫改变,包括下面的阶段)

    3. 退补选课:

      这个阶段,是拼网速的时候了。这时候所有因为各种原因容量没有满的课程,都会在每天中午一点开放抢课,不用积分,先到先得。还有一种方式,就是直接找老师申请加课,注意礼貌!但有些老师会同意,有些老师可能因为教师容量问题没办法同意,建议一定要提前向学长学姐了解一下什么课比较好加上,可以考虑先保住其他课程,如果情况很严峻的话(这应该在积分选课阶段为这里做准备)。

    4. 导师确认:

      最后一个环节是如果你的课表不打算再更改了,可以通过系统让你的生活老师确认你的课表,这个时候的课表就成为了你的最终课表了(确认的具体操作会发邮件通知)。当然,不是这个时候你才可以联系导师,前面如果你对你的选课有迷茫,也是可以找生活导师寻求建议的!

    上面的很多环节到时候都会有邮件通知或有讲座讲解,这里希望同学们先了解一个大概,另外给了一些官方不会讲到的建议,只希望到时候大家不会听不懂或者不了解情况啦。

    英语学习

    1. 英文教学

    1. 南科大的课程主要分为中英双语班和英文班:

      中英双语班:一般来说老师的 ppt 是几乎全英的(会有个别中文注释~),但老师会用中文上课,所以大家的对知识的理解不会有问题啦~

      英文班:英文班当然就是 ppt 和老师上课都是英文的了,但老师的语速大多比较慢,说到比较难的单词也会加上中文翻译,所以听懂课堂内容也不是那么困难滴~(如果英文班没有国际生的话,事情就好商量了,老师会多说一些中文的,但上英文班确实是可以帮助记单词滴)

    2. 一点小建议:一般来说高数和大物课建议选中英双语课。当然,如果"博弈"(积分选课)失败的话可能就会被迫选全英班了。大家还是需要根据自己的英语水平决定,也可以参考英语分级考试的等级哦~

    2. 四六级考试

    1. 目前,南科大的学生在入学的第一个学期(也就是 12月)是不能考英语四级的,大家在第二年6月才能开始四六级的考试,有特殊情况注意邮件通知。

    2. 同学们在大一下学期一定要注意翻看邮箱,不要错过了四六级考试的报名时间(记得要交报名费鸭!,不然就得再等半年啦~)

    3. 四级考试难度不大,大家复习一下词汇,做几套真题应该就没什么问题了(如果想要拿很高分还是要多花些力气哒~),主要是熟悉题型与考试流程。不要像个别学长学姐一样不了解题型,直接被听力炸懵。

    4. 六级就有些难度了,需要大家比较认真复习了(当然学霸除外啦~)

    3. 雅思 & 托福 & GRE

    1. 托福跟雅思一样都是语言能力测试, 而 GRE ( Graduate RecordExamination)是指美国研究生入学考试,关注的是逻辑水平和学术能力。

    2. 雅思和托福的有效期都是 2 年(这个可能根据学校的具体要求有所不同),而 GRE 的有效期是 5 年。

    3. 一般申请英联邦国家的研究生项目,如:英国、澳大利亚、新西兰、加拿大、新加坡等,或者中国香港的大学,就需要提供雅思成绩。

    4. 申请美国的研究生项目,就需要提供托福和 GRE 成绩。

    5. 南科大有很多寒暑假或者整个学期的出国科研或游学项目,一般都会发邮件通知,欢迎大家关注"南科大国际合作部"公众号或官网 https://global.sustech.edu.cn 自行了解。有些项目需要提供雅思或托福语言成绩,所以有意向的同学需要自己规划考语言成绩

    学习方法

    1. 改变认知

    大学的学习内容和高中有很大差别。相比于高中来说,大学课程的节奏更快、设计范围更大。往往老师上课只讲了最重要的部分,需要自己在课余时间花费更多的精力来补充学习。尤其是南科大的英语教学模式,这就更加需要我们在课下做好充足的准备。所以大学学习的最首要的改变就是认知上的改变。我们要认识到大学与高中学习方式上的差别,积极探索新的适合自己的学习方式。这要才能避免陷入被动,收获好成绩。

    2. 各科推荐学习方法

    1)数学

    在南科大数学大一的学习中,主要分为高等数学类(数学分析,高等数学 A 以及高等 数学 B)和线性代数类(高等代数,线性代数 A 以及线性代数 B)。不同专业的数学先修课 程是不同的,大家一定要参考培养方案进行选课。

    数学分析

    数学分析这门课程主要是针对想要进入数学系的同学,对同学们证明方面的要求比较严格。这门课程的难度是非常高的,想要漂亮 gpa 的同学需要慎重考虑噢!

    这门课程对逻辑的要求相当严格,所以预习是十分重要的,大家如果想在暑假期间了解 这门课程的话,可以先去浏览一些相关的教材。

    教材:常庚哲,史济怀《数学分析教程》

    高等数学

    高等数学的适用对象为除数学系外的其它专业的学生,且更偏向于应用。

    教材与教参:

    高数课本 Thomas' Calculus (13th Edition)

    高数中文参考书 同济大学数学系编《高等数学》高等教育出版社

    高等代数

    高等代数完全是针对想进入数学系并且想攻读数学与应用数学专业的学生。这是一门难 度非常大的学科,需要耗费很多的时间。

    和数学分析一样,对于这类课程,提前预习和保证思考的纯粹是相当重要的。并且因为 章节知识的连贯性很强,所以在学习过程中建议频繁的进行自我复习。

    教材:李炯生,查建国,王新茂《线性代数(第二版)》

    线性代数

    线性代数分 A、B 两级教学,A 级适用对象为数学及物理等对数学要求较高的学 生;B 级适用对象为所选专业对线代或数学要求较低的学生。

    刚开始接触这门课的时候或许会感到有些吃力,但只要跟着老师的进度,认真做笔记, 写作业,之后就会越来越得心应手。学习的过程中不要死记硬背,注重对概念的理解,打牢 基础。

    教材与教参:Gilbert Strang: Linear Algebra and its Applications (4th Edition)

    2)物理

    大学物理分 A、B、C 级进行教学,A 级面向物理专业学生,B 级面向物理专业或其它 理工科专业学生,C 级面向非理工科专业学生。

    大学物理 A

    面向物理专业学生,难度稍大,适合在高中对大学物理有所了解,对物理 有着浓厚兴趣并且数学基础较好的同学。如果想要在这门课上拿到一个比较高的等级就要付 出很多的时间去钻研,所以同学们一定要慎重考虑呀!可以点击下方链接下载教材来了解一 下难度哦!

    教材:伯克利物理学教程第一卷(力学)

    伯克利物理学教程第三卷(波动)

    Electricity and Magnetism

    PS:大学物理 A 里的热学与近代物理的教材和大学物理 B用的是同一本。

    大学物理 B 和大学物理 C

    大学物理 B 面向物理专业或其它理工科专业学生,大学物理 C 主要面向金融方面的专业的学生。教学大纲与高中所学内容基本一致,只是在教学内容和教学难度上进行了一定的丰富和拔高。

    教材:Principle of Physics

    物理实验

    旨在培养严谨的科学思维和创新能力,培养理论联系实际特别是与科学技术发展相适应的综合能力。

    参考书:《大学物理实验(第一册 第二版)》高等教育出版社 (可在图书馆借到或在跳蚤市场上收二手书)

    3)生物

    生物分两级教学,A 级的学习侧重于看论文做深入研究,主要面向生物专业、其它对生 物有较高要求专业的学生,B 级的学习背诵的内容更多,主要面向其它对生物有一般要求专业的学生。

    参考资料:Campbell Essential Biology with Physiology

    4)化学

    《化学原理》分两级教学,A 级面向化学专业、其它对化学有较高要求专业的学生,B 级面向其它对化学有一般要求专业的学生。相较于 B 级,A 级的学习内容要更加充实。 参考资料:Chemistry the Central Science

    ps:如果生物和化学在同一学期内同时选修,那么本学期将会有很硬核的背诵任务!所以同 学们最好不要同时修习这两门课呀!

    5)计算机

    计算机导论

    《计算机导论》分两级教学,通过计算机能力测试的学生可选修《计算机导论 A》,未通过的同学则必修《计算机导论 B》。

    参考书及参考资料: Computer Science an Overview (12th Edition)

    《计算机科学概论》

    计算机程序设计基础

    《计算机程序设计基础》分两级教学,A 级面向计算机专业、其它对计算机有 较 高要求专业的学生,B 级面向其它对计算机有一般要求专业的学生,编程语言为 Java。 (注意:必修《计算机导论 B》的同学只有 pass 了这门课才能修《计算机程序设计基础》)

    参考书:Introduction to Java Programming (10th Edition)

    Java: How to Program (8th Edition)

    学习工具

    1. 笔记能手

    纸质笔记vs电子笔记

    同学们可以根据自己的好恶选择

    纸质笔记:

    1. 同学们可以继续保持自己高中所留下来的习惯,容易快速适应

    2. 分页整理,查看起来比较方便,可以同时看多份资料

    3. 条理清楚,写一遍使人印象深刻,也可以时常复习

    4. 便于提交纸质版作业,不需要打印

    电子笔记:

    1. 有许多强大软件,实现更多功能

    2. 方便在电子文档中做注释,笔记方便修改与清除

    3. 电子版笔记方便交流,导出PDF便利

    4. 有些软件可以录音,方便复习

    2.软件分享

    1. 网易有道词典(PC端)

      有道词典PC端可以帮助我们快速适应大学生活,其中最常用的功能就是截屏翻译功能。这个功能可以提高我们阅读英文的速度,提高效率

    2. Quizlet

      Quizlet是南科大英语学习一般都会用到的一个软件。

    ​ 老师通常会利用Quizlet来帮助大家学习NAWL与NGSL词汇。没有用过的小伙伴也不用着急,英语课上老师会教大家如何安装与使用。

    1. MyScript Calculator

      MyScript Calculator是一款手写计算器

    ​ 相比于普通的计算器效率有明显提升,但是因为考试时不允许使用手机或pad,小伙伴们要在具有一定计算能力之后再使用噢~

    1. Notability / GoodNotes

      使用 iPad 记笔记的软件主要以 Notability 和 GoodNotes 居多。

    ​ 两个软件各有优劣,价格也不同,同学们可以根据自己的需求进行选择。

    1. QQ邮箱

      南科大很多事情会以邮件的形式通知,同学们最好养成定期查看邮件,管理邮件的习惯,开学后根据同学们的学号会有相应的腾讯企业邮箱,使用QQ邮箱可以同时管理多个邮件地址。

    3.校内学习相关网站

    本介绍旨在帮助新生了解南科大学生常用的学习系统的进入方式与用法,希望大家能更好的融入大学学习生活!

    南科大官网

    https://www.sustech.edu.cn/(建议收藏进浏览器收藏夹)

    南科大学生常用系统页面

    官网内单击学生即可跳转至该页面

    在学生常用系统中,包括学习部分、生活部分以及其他相关链接。下面就为大家详细介绍一些学习相关的系统。

    本科教务系统

    进入后选择CAS用户登录。

    注:CAS系统为南科大学生与教职工所拥有的系统,学生的账号为学号,初始密码为身份证后六位,几乎所有系统包括WiFi的登录都需要CAS账户登录。

    进入后,有关功能的全部选项集中在右下角处:包括业务查询、业务办理和选课业务。

    1. 业务查询中包括如图所示的几类,日后同学们也会用到,常用的有考试查询、成绩查询、绩点查询、全校课表等。

    1. 业务办理(如下图):比较常用的是场地借用申请,点击进入之后再单击"添加场地借用"即可借用教学区的教室啦,通常可以借教室进行班会,pre练习等活动哦。

    1. 选课业务:包括选课和加课两项业务功能,是进行积分选课、抢课、退课、加课的主要战场!选课具体流程参考攻略上方的介绍!

    点击进入"我要选课"后,即可看到选课信息。最上方可以搜索课程,左上方有课程类别,同学们搜索课程时一定要主义好下方类别是否对应,避免出现找不到的情况。每个课程右侧会显示课程容量与已选人数、冲突课程等,大家要据此来选择课程与判断投入积分的多少!如果点击最左侧"已选"的话,便能查看自己的选课情况,并可以进行更改积分和退课等操作。大学长们也会在大家第一次选课时期给予相应的指导,同学们可以多与大学长沟通以便更好地安排自己的课程哦!

    Blackboard系统

    Blackboard系统,简称BB系统,是南科大教学常用的系统之一,很多课程(如高数、线代等)都会通过该系统发布通知、课件、作业、成绩等,也可以通过BB系统完成作业提交。点击进入并完成登录后,即可进入该系统。

    课程开始后,老师或助教会将同学们拉入对应的课程平台,点击进入后,可以看到老师发布的各种信息:如课程内容、考核方式、课件、作业提交入口等。下图为2020年秋季杨少曼老师思修课平台,供大家参考。

    对于提交作业,一些课程(如高数、线代)虽然会在BB上开通平台,但提交作业采用的是线下的方式,提醒大家在学期初要仔细听好老师的要求哦!也有一些课程,如写作与交流、思修(根据授课老师而定)会采用线上提交的方式,具体操作步骤见下图:

    同时,提醒大家网上提交作业一定要注意ddl!!!迟交或者忘交都是会扣分的哦!

    Sakai系统

    与BB系统并行的另一大重要的教学常用系统,功能与BB类似,大物、Java课程便会用到该系统。点击进入并单击上方log in 即可登录进入系统。

    与BB相同,课程开始后老师或助教会将同学们拉入站点,进入后左侧为菜单栏:单击作业/Assignment即可查看作业提交状态与开始和结束时间。单击左侧作业标题即可进入提交作业界面。同样提醒大家注意作业提交的ddl哦!(下图为2021年春季刘畅老师大物下站点,供大家参考)

    作业提交结束的几天后,老师会在站点给同学们打分并标注错误的题号,大家可点击左侧的成绩册/Gradebook查看自己的得分情况。

    图书馆

    有关馆内资料的搜索与图书借还事项开学后图书馆会安排视频讲解,这里为大家介绍一下图书馆预约功能。进入大学后,很多课程避免不了都要进行小组合作项目,因此图书馆讨论间便成为了一项非常重要的资源,在讨论间同学们可以进行小组项目的讨论,也可以约上三五好友在期末复习周时在讨论间一起讨论问题。

    将图书馆主页面拉到下方即可看到讨论见预约按钮,也可以通过学生常用系统中的"图书馆讨论间预约"直接进入。

    进入并登录后,在资源列表中选择所需要预约的讨论间并按照指示完成预约即可!

    首次预约前,记得阅读预约须知哦!最重要的注意事项包括:①三人以上才可预约,②通过刷卡确认签到,超过十五分钟未签到按照违规处理,违规会取消预约权限一周等。

    4.必备小工具

    计算器:大学与高中的不同之一就在于一些考试能使用计算器了!比如大物、化学等科目更侧重与对知识和能力的考察,因此可以在考试和平时作业时使用计算器,所以人手一个计算器是十分重要的!

    版权信息

    图片来源: App Store,软件截图,网站截图、2020级南方科技大学本科生人才培养方案、唐昕宇

    资料参考: 2020致诚新生攻略之英语学习篇、2020致诚新生攻略之课程学习篇、2020级南方科技大学本科生人才培养方案

    特别鸣谢: 杨少曼老师大一上思修BB站点、刘畅老师大一下Sakai站点

    制作:致诚书院大学长团 段宜凯 贾松硕 王婧懿 唐昕宇

    致诚书院出品,本文已获授权在 sustech.online 转载,转载请注明出处。

    ',171);function na(ra,oa){const p=i("router-link");return n(),r("div",null,[la,ta,a("nav",ea,[a("ul",null,[a("li",null,[s(p,{to:"#入学考试"},{default:l(()=>[t("入学考试")]),_:1}),a("ul",null,[a("li",null,[s(p,{to:"#_1-英语"},{default:l(()=>[t("1. 英语")]),_:1})]),a("li",null,[s(p,{to:"#_2-计算机"},{default:l(()=>[t("2. 计算机")]),_:1})])])]),a("li",null,[s(p,{to:"#专业与选课"},{default:l(()=>[t("专业与选课")]),_:1}),a("ul",null,[a("li",null,[s(p,{to:"#_1-专业"},{default:l(()=>[t("1. 专业")]),_:1})]),a("li",null,[s(p,{to:"#_2-选课"},{default:l(()=>[t("2. 选课")]),_:1})])])]),a("li",null,[s(p,{to:"#英语学习"},{default:l(()=>[t("英语学习")]),_:1}),a("ul",null,[a("li",null,[s(p,{to:"#_1-英文教学"},{default:l(()=>[t("1. 英文教学")]),_:1})]),a("li",null,[s(p,{to:"#_2-四六级考试"},{default:l(()=>[t("2. 四六级考试")]),_:1})]),a("li",null,[s(p,{to:"#_3-雅思-托福-gre"},{default:l(()=>[t("3. 雅思 & 托福 & GRE")]),_:1})])])]),a("li",null,[s(p,{to:"#学习方法"},{default:l(()=>[t("学习方法")]),_:1}),a("ul",null,[a("li",null,[s(p,{to:"#_1-改变认知"},{default:l(()=>[t("1. 改变认知")]),_:1})]),a("li",null,[s(p,{to:"#_2-各科推荐学习方法"},{default:l(()=>[t("2. 各科推荐学习方法")]),_:1})])])]),a("li",null,[s(p,{to:"#学习工具"},{default:l(()=>[t("学习工具")]),_:1}),a("ul",null,[a("li",null,[s(p,{to:"#_1-笔记能手"},{default:l(()=>[t("1. 笔记能手")]),_:1})]),a("li",null,[s(p,{to:"#_2-软件分享"},{default:l(()=>[t("2.软件分享")]),_:1})]),a("li",null,[s(p,{to:"#_3-校内学习相关网站"},{default:l(()=>[t("3.校内学习相关网站")]),_:1})]),a("li",null,[s(p,{to:"#_4-必备小工具"},{default:l(()=>[t("4.必备小工具")]),_:1})])])])])]),ia])}const ca=e(sa,[["render",na],["__file","新生攻略之学习篇.html.vue"]]),da=JSON.parse('{"path":"/study/by-zhicheng-college/%E6%96%B0%E7%94%9F%E6%94%BB%E7%95%A5%E4%B9%8B%E5%AD%A6%E4%B9%A0%E7%AF%87.html","title":"新生攻略之学习篇","lang":"zh-CN","frontmatter":{},"headers":[{"level":2,"title":"入学考试","slug":"入学考试","link":"#入学考试","children":[{"level":3,"title":"1. 英语","slug":"_1-英语","link":"#_1-英语","children":[]},{"level":3,"title":"2. 计算机","slug":"_2-计算机","link":"#_2-计算机","children":[]}]},{"level":2,"title":"专业与选课","slug":"专业与选课","link":"#专业与选课","children":[{"level":3,"title":"1. 专业","slug":"_1-专业","link":"#_1-专业","children":[]},{"level":3,"title":"2. 选课","slug":"_2-选课","link":"#_2-选课","children":[]}]},{"level":2,"title":"英语学习","slug":"英语学习","link":"#英语学习","children":[{"level":3,"title":"1. 英文教学","slug":"_1-英文教学","link":"#_1-英文教学","children":[]},{"level":3,"title":"2. 四六级考试","slug":"_2-四六级考试","link":"#_2-四六级考试","children":[]},{"level":3,"title":"3. 雅思 & 托福 & GRE","slug":"_3-雅思-托福-gre","link":"#_3-雅思-托福-gre","children":[]}]},{"level":2,"title":"学习方法","slug":"学习方法","link":"#学习方法","children":[{"level":3,"title":"1. 改变认知","slug":"_1-改变认知","link":"#_1-改变认知","children":[]},{"level":3,"title":"2. 各科推荐学习方法","slug":"_2-各科推荐学习方法","link":"#_2-各科推荐学习方法","children":[]}]},{"level":2,"title":"学习工具","slug":"学习工具","link":"#学习工具","children":[{"level":3,"title":"1. 笔记能手","slug":"_1-笔记能手","link":"#_1-笔记能手","children":[]},{"level":3,"title":"2.软件分享","slug":"_2-软件分享","link":"#_2-软件分享","children":[]},{"level":3,"title":"3.校内学习相关网站","slug":"_3-校内学习相关网站","link":"#_3-校内学习相关网站","children":[]},{"level":3,"title":"4.必备小工具","slug":"_4-必备小工具","link":"#_4-必备小工具","children":[]}]}],"git":{"updatedTime":1641053234000,"contributors":[{"name":"lethal233","email":"11811407@mail.sustech.edu.cn","commits":1}]},"filePathRelative":"study/by-zhicheng-college/新生攻略之学习篇.md"}');export{ca as comp,da as data}; diff --git "a/assets/\346\226\260\347\224\237\346\224\273\347\225\245\344\271\213\345\256\277\350\210\215\347\224\237\346\264\273\347\257\207.html-DaRl0WBa.js" "b/assets/\346\226\260\347\224\237\346\224\273\347\225\245\344\271\213\345\256\277\350\210\215\347\224\237\346\264\273\347\257\207.html-DaRl0WBa.js" new file mode 100644 index 000000000..615b69db4 --- /dev/null +++ "b/assets/\346\226\260\347\224\237\346\224\273\347\225\245\344\271\213\345\256\277\350\210\215\347\224\237\346\264\273\347\257\207.html-DaRl0WBa.js" @@ -0,0 +1 @@ +import{_ as l,r,o as g,c as i,b as t,d as s,a as n,w as o,e as p}from"./app-CAXKJsZK.js";const c="/assets/image1-DoWOHH_O.png",h="/assets/image2-D2Q0-cbv.jpeg",_="/assets/image3-B8A_26BC.jpeg",d="/assets/image4-NEWzqlpm.jpeg",m="/assets/image5-DYrxJOp9.jpeg",u="/assets/image6-C-j_jZUC.jpeg",f="/assets/image7-B9OsWRfy.jpeg",b={},B={class:"hint-container tip"},k=t("p",{class:"hint-container-title"},"提示",-1),v=t("h1",{id:"新生攻略之宿舍生活篇",tabindex:"-1"},[t("a",{class:"header-anchor",href:"#新生攻略之宿舍生活篇"},[t("span",null,"新生攻略之宿舍生活篇")])],-1),E=t("p",null,[t("em",null,"本部分由 致诚书院大学长团 提供")],-1),x=t("p",null,"首先,热烈欢迎大家来到南科大!大家会在11栋迎新楼度过大一一年的生活,等到大二再搬到书院的住宿区和书院的前辈们住在一起噢。",-1),j=t("p",null,"宿舍是我们每一天的起点和终点,下面小编就以11栋宿舍为中心按照衣食住行用分类跟大家讲一下吧~",-1),N={class:"table-of-contents"},C=p('

    一、住,豪华宿舍配置

    宿舍楼单层的平面图在这里啦,两端是楼梯和卫生间,楼层东侧有额外的消防电梯。中部是功能区,有公共晾衣间、饮水机、电梯和小活动室。小活动室中配有桌椅和沙发,还有冷藏冰柜和微波炉,夜宵好去处(划掉)。

    Ps:下头这个图是自己画的,大家凑合着看看就行哈哈哈。

    公共晾衣间内有撑衣杆,鞋子也可以在这里晾晒,晾晒完毕记得及时取走自己的衣物。饮水机也被放置在这里,提供热水和常温水,热水记得看饮水机上的温度显示,如果接了温水泡面的话 😭(难受)。

    日常用电梯共有三台,是分楼层停靠的,大家注意每个电梯的停靠楼层。电梯高峰期人很多,比如中午时间段大家上下楼比较频繁,建议尽量错峰或者走楼梯锻炼身体doge。

    楼层两侧的卫生间有洗漱台和[独立的淋浴间],淋浴记得插卡使用热水。如果遇到插卡不出热水的情况,可以先检查自己的学生卡是否进行了热水充值,开学充值一元后期无限使用,也就是说热水是免费的哦。还是不可以的话可以找到宿管老师询问情况。

    接下来就是宿舍内部啦,宿舍都是四人间,每人都是标配的下桌上床。宿舍的储物空间还是非常大的,门口有双层柜,床下有衣柜和一个小侧柜,而且床侧楼梯也是隐藏的柜子哦。衣柜里的隔层板是可活动的,可以根据自己的需求大小调整。窗外还有一个小的晾衣杆,如果内衣裤不想拿到公共晾衣间的话,晾在这里就好啦,不过记得用夹子固定一下,如果被风吹下去就...

    二、食,只隔一条马路的双层复式食堂

    校内共四处学生食堂,按照距离11栋远近来说:10栋第二学生食堂,也就是常说的新生食堂,荔园食堂,一教食堂和中心食堂。还有一处欣园食堂,不过大家很少会在那里吃饭。新生食堂周内有时也会供应夜宵,大家可以注意一下食堂的通知哦。大家日常吃饭其实还有很多选择,比如赛百味、肯德基或者南科麦香屋(面包坊)等等,详细的介绍可以参考之前的新生攻略之食堂篇。小声:校外也有很多好吃的噢,大家加油寻找吧~

    三、衣,24h自助洗衣系统

    在宿舍楼2层东侧有洗衣间,洗衣机、烘干机和洗鞋机一应俱全。手机上下载海狸洗衣APP,可以实时查看洗衣机的使用情况,进行预约或者使用。男女生的洗衣机是分开的,大家使用时注意区分。其中也有一套大号洗衣机和烘干机可以清洗被褥等大号衣物。**请不要在洗衣机里清洗内衣裤和袜子等,保持自己和他人的卫生健康。**衣服清洗完毕及时从洗衣机内取走,不然很可能被拿错哦。

    各大应用商店均可下载,本图截取自小米应用商店

    四、行,地处学校中部的黄金地带

    因为学校的地势呈一个斜坡,而11栋正好处于坡的中部,再向上是荔园和欣园,向下则是教学楼图书馆等,所以去哪里都比较方便啦。11栋楼下有学生宿舍校巴站,疫情期间大家乘车需要佩戴口罩哦。因为学校的斜坡地势,想购买自行车的同学注意了,骑下去很爽,但骑上来还是挺累的,建议购买可变速的自行车。深圳的太阳很毒,而且有时会发生短时强降雨,大家出门记得一定要带防晒晴雨伞呀。

    五、用,其余的生活使用细节

    宿舍楼旁边的十三栋配有天虹超市快递收发室(广东省深圳市南方科技大学13栋快递收发室),大家采购和网购都很方便啦,也可以向外寄快递的。当然有时候快递公司会把快递投放在快递柜中,一般会放在8栋快递柜,在新生食堂西侧,涵泳图书馆南侧一层。大家可以在手机上关注微信公众号近邻宝校园,绑定好手机号后就可以方便地在手机上看到自己的快递是否到达啦。

    宿舍用电每人都有每年120度免费额度,超额度是会断电的,大家要节约用电呀。宿舍内电器功率不得超过1500W。电控系统会在每年2月末和8月末按照宿舍人数进行充值。如果遇到度数不够使用的话,可以在南方科技大学企业微信中进行水电充值,点击水电充值,绑定好房间即可充值。饭卡充值也是在这里的,点击校园卡选项,进入充值界面即可。
    全校范围内提供免费的WiFi,大家认证登录后就可以免费使用了。

    如果有小可爱不小心丢失了自己的校园卡可以通过以下两个方式补办噢(注意!!!任选其一!!!不要两个都弄!!!小编曾经两个同时进行然后一次补了两张卡,痛苦面具 😭。 ①在琳恩图书馆或者书院一栋学生事务中心的[自助补卡机]进行补办,需要扣款20元作为补卡费用,保证卡里有足够的金额就好。可以当场取卡,但是门禁需要过[几个小时]才能转移成功,新卡是不支持1元热水继承的,需要再进行热水充值。
    ②在南方科技大学企业微信进行挂失补卡,在微信上付款等待补卡通知,补好后会有老师通知去书院一栋学生事务中心领取。

    还有一个小提醒,宿舍内还是需要配备蟑螂药的,11栋宿舍楼虽然很新,但是深圳蟑螂更强(卑微.jpg),保持宿舍内干净卫生,做到有备无患就好啦。如果在宿舍楼内发现蟑螂,可以向宿管老师报备,联系专业的杀虫人员处理。宿舍楼应该会建立一个新生宿舍微信群,大家有任何情况都可以在微信群里向宿管老师反应。

    好啦,这就是宿舍生活的大致情况啦!大家还有什么问题都可以在群里提出,大学长们会耐心解答的,希望大家在宿舍都能开心每一天!

    版权信息

    图片来源: 南方科技大学官网、南方科技大学致诚书院微信公众号、我的手机

    资料参考: 2020级新生攻略之宿舍生活篇

    制作:致诚书院大学长团 闫瑞泽

    致诚书院出品,本文已获授权在 sustech.online 转载,转载请注明出处。

    ',25);function y(A,F){const a=r("RouteLink"),e=r("router-link");return g(),i("div",null,[t("div",B,[k,t("p",null,[s("本文写于2020年,其中的部分内容已过时,如需查看较新的宿舍区域与分配,请参考"),n(a,{to:"/life/dormitory/"},{default:o(()=>[s("🏠住在南科")]),_:1}),s("一节。")])]),v,E,x,j,t("nav",N,[t("ul",null,[t("li",null,[n(e,{to:"#一、住-豪华宿舍配置"},{default:o(()=>[s("一、住,豪华宿舍配置")]),_:1})]),t("li",null,[n(e,{to:"#二、食-只隔一条马路的双层复式食堂"},{default:o(()=>[s("二、食,只隔一条马路的双层复式食堂")]),_:1})]),t("li",null,[n(e,{to:"#三、衣-24h自助洗衣系统"},{default:o(()=>[s("三、衣,24h自助洗衣系统")]),_:1})]),t("li",null,[n(e,{to:"#四、行-地处学校中部的黄金地带"},{default:o(()=>[s("四、行,地处学校中部的黄金地带")]),_:1})]),t("li",null,[n(e,{to:"#五、用-其余的生活使用细节"},{default:o(()=>[s("五、用,其余的生活使用细节")]),_:1})])])]),C])}const W=l(b,[["render",y],["__file","新生攻略之宿舍生活篇.html.vue"]]),z=JSON.parse('{"path":"/life/by-zhicheng-college/%E6%96%B0%E7%94%9F%E6%94%BB%E7%95%A5%E4%B9%8B%E5%AE%BF%E8%88%8D%E7%94%9F%E6%B4%BB%E7%AF%87.html","title":"新生攻略之宿舍生活篇","lang":"zh-CN","frontmatter":{},"headers":[{"level":2,"title":"一、住,豪华宿舍配置","slug":"一、住-豪华宿舍配置","link":"#一、住-豪华宿舍配置","children":[]},{"level":2,"title":"二、食,只隔一条马路的双层复式食堂","slug":"二、食-只隔一条马路的双层复式食堂","link":"#二、食-只隔一条马路的双层复式食堂","children":[]},{"level":2,"title":"三、衣,24h自助洗衣系统","slug":"三、衣-24h自助洗衣系统","link":"#三、衣-24h自助洗衣系统","children":[]},{"level":2,"title":"四、行,地处学校中部的黄金地带","slug":"四、行-地处学校中部的黄金地带","link":"#四、行-地处学校中部的黄金地带","children":[]},{"level":2,"title":"五、用,其余的生活使用细节","slug":"五、用-其余的生活使用细节","link":"#五、用-其余的生活使用细节","children":[]}],"git":{"updatedTime":1721641731000,"contributors":[{"name":"lethal233","email":"11811407@mail.sustech.edu.cn","commits":1},{"name":"sparkcyf","email":"sparktour@outlook.com","commits":1}]},"filePathRelative":"life/by-zhicheng-college/新生攻略之宿舍生活篇.md"}');export{W as comp,z as data}; diff --git "a/assets/\346\226\260\347\224\237\346\224\273\347\225\245\344\271\213\346\240\241\345\206\205\344\273\213\347\273\215\347\257\207.html-DxIWELax.js" "b/assets/\346\226\260\347\224\237\346\224\273\347\225\245\344\271\213\346\240\241\345\206\205\344\273\213\347\273\215\347\257\207.html-DxIWELax.js" new file mode 100644 index 000000000..6f1d63570 --- /dev/null +++ "b/assets/\346\226\260\347\224\237\346\224\273\347\225\245\344\271\213\346\240\241\345\206\205\344\273\213\347\273\215\347\257\207.html-DxIWELax.js" @@ -0,0 +1 @@ +import{_ as n,r,o as i,c as l,b as s,a as t,w as e,e as g,d as a}from"./app-CAXKJsZK.js";const o="/assets/image1-Dtb_jioi.png",_="/assets/image2-Cm4Ig_YB.jpeg",c="/assets/image3-nHPNyjYO.jpeg",m="/assets/image4-DBmm_xrH.jpeg",h="/assets/image5-Ce7wQIiF.jpeg",d="/assets/image6-Dhxhr7o2.jpeg",u="/assets/image7-CeyUlTOe.png",f="/assets/image8-Dyn5N6GM.jpeg",j="/assets/image9-CmX9m1AC.jpeg",B="/assets/image10-CIuEC8SE.jpeg",v="/assets/image11-DIOxtOhI.png",b="/assets/image12-C1BNlwDb.png",k="/assets/image13-CHZsU0j0.png",x="/assets/image14-BRcW7AM7.jpeg",C="/assets/image15-OVgsjeJ8.jpeg",D="/assets/image16-DaJFU4ek.png",O="/assets/image17-DsXgkZvY.jpeg",E="/assets/image18-CqB_g_wS.jpeg",N="/assets/image19-DGSBvNU3.jpeg",y="/assets/image20-CwyGyoWh.jpeg",F="/assets/image21-BtKyssOQ.jpeg",w="/assets/image22-DOlsnL1K.png",S="/assets/image23-BvzF1gW9.jpeg",T="/assets/image24-C5XOGTLC.jpeg",A="/assets/image25-OypBi0yC.png",P="/assets/image26-CHTpb2DT.png",q="/assets/image27-Oz1LEXb4.png",H="/assets/image28-BfOuEOuF.jpeg",V="/assets/image29-B4PLPi56.jpeg",z="/assets/image30-CpNwEp_u.jpeg",K="/assets/image31-CLrP7BaH.jpeg",R="/assets/image32-jv6-5WX7.jpeg",X="/assets/image33-CZjhOOFR.png",U="/assets/image34-DwanO9_S.jpeg",Z="/assets/image35-ZwohbpkG.jpeg",I="/assets/image36-DDssfvBB.jpeg",L="/assets/image37-DNP-kH_V.jpeg",J="/assets/image38--_y9HBV2.jpeg",W="/assets/image39-CgS4mFk4.jpeg",G="/assets/image40-BJ0gkS_O.jpeg",M="/assets/image41-CNNRVavA.jpeg",Y="/assets/image42-DI1iVfx_.jpeg",Q="/assets/image43-DVKY89aE.png",$="/assets/image44-Mwti7cF8.png",ss="/assets/image45-Cf1Tdpdv.jpeg",ps="/assets/image46-CzH_zvM_.jpeg",ts="/assets/image47-DAFeS3sf.jpeg",es="/assets/image48-CPUP8zzX.jpeg",as="/assets/image49-BDd1eAP0.png",ns="/assets/image50-CBHEquKd.jpeg",rs="/assets/image51-BDypRng3.jpeg",is="/assets/image52-HQx_dN_g.jpeg",ls="/assets/image53-DFaZ4KqX.jpeg",gs="/assets/image54-JFPD17Aw.jpeg",os="/assets/image55-CBmsroyr.jpeg",_s="/assets/image56-dmX5SWZA.jpeg",cs="/assets/image57--OUrtZEL.jpeg",ms="/assets/image58-Cnzbgp5u.jpeg",hs="/assets/image59-gyuRKcwv.jpeg",ds="/assets/image60-BCD2wFQA.jpeg",us="/assets/image61-BbKRZuMF.jpeg",fs="/assets/image62-CwYKlRpq.jpeg",js="/assets/image63-BE_RjBTX.png",Bs="/assets/image64-PORycvN-.jpeg",vs="/assets/image65-BDWp_3K1.jpeg",bs="/assets/image66-DDLCujJ3.jpg",ks="/assets/image67-B5mbBNC1.jpeg",xs="/assets/image68-BH4qOgex.jpeg",Cs="/assets/image69-C9IVEop1.jpeg",Ds={},Os=s("h1",{id:"新生攻略之校内介绍篇",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#新生攻略之校内介绍篇"},[s("span",null,"新生攻略之校内介绍篇")])],-1),Es=s("p",null,[s("em",null,"本部分由 致诚书院大学长团 提供")],-1),Ns={class:"table-of-contents"},ys=g('

    食堂篇

    1. 高消费餐厅

    1)西餐厅

    正如其名,牛排、烩饭、扒类、鹅肝等菜品在西餐厅一应俱全,橙宝开学时和导师在这里聚餐后就念念不忘呢~偶尔想去奢侈一把的话要记得提前预约哦! 人均:120 - 150元

    2)茶餐厅

    好吃的中式共享菜,在西餐厅旁,位置较为隐蔽。 人均:30 - 50

    3)南苑小筑

    坐落在润扬斜对面,南苑小筑店面复古,港味扑面而来。橙宝超爱和朋友一起去吃南苑小筑的各种扒餐、焗饭、中式简餐、港式云吞面和共享菜。它对犯懒的阿宅们也十分友好,可在公众号点餐,由小哥送到大家宿舍楼下呢! 人均:30 - 60元

    2. 新生食堂

    早餐(7:00 -- 9:00)

    十栋食堂提供中西式点心、粥、茶叶蛋等常规早餐。其中不得不强调靠门窗口的肠粉,橙宝可是心甘情愿为它早起排队的哦! 人均:5 - 10元

    午餐&晚餐

    1)十栋

    一楼:自选窗口中提供小盘菜、卤肉套餐、海南鸡套餐、水煮肉片等,其中金灿灿的绝美鸡米饭绝对值得一试!肠粉窗口在中午提供面食,不过调料、种类都较少,大家可以自己多多尝试~

    二楼:西式套餐(炒饭或意面+蔬菜+肉排+酱料)。分量很足,连橙宝都吃撑了呢。

    2)九栋

    一元一个的好吃水饺(有怪怪的茴香口味)、广式煲仔饭、自选小盘菜(提醒大家看清价格,合理搭配!不然很容易一顿30元+)。

    夜宵**(工作日19:30 -- 22:00)**:

    包括粥、汤圆、炒粉等等,晚课后的心灵抚慰~

    硬件配置:微波炉、饮水机+杯子

    1. 十栋小盘菜均价:12-25元

    九栋煲仔饭均价:15-20元

    十栋西式套餐均价:20元

    十栋面食均价:15元

    3. 中心食堂&湖畔食堂

    1)中心食堂

    作为2020年末冉冉升起的新星,它左连一丹图书馆,右接第二科研楼,且入驻了面点王、KFC(含早餐)和茶米相期门店,让你在校内也能尝绝美点心、吃汉堡炸鸡、喝果茶奶茶。

    橙宝告诉大家一个小秘密:在面点王一次性点两块酱骨架,小哥有时候会给你三块哦~

    面点王均价:15 - 25元

    橙宝高声呐喊:食堂自营的菜品也是一绝!!

    早餐:

    和新生食堂相似,但只在周末提供哦~

    午餐&晚餐:

    各窗口包含风味面食、定制小炒、东北炖菜、潮汕卤味套餐、麻辣烫、大众菜等等。味道惊艳舌尖,价格并不很高。

    均价:10 - 30元

    大众菜窗口旁有贩卖饮品的大冰柜

    2)湖畔食堂

    早餐:

    和新生食堂相似,只在周中提供哦~

    午餐&晚餐:

    以最高的性价比傲视群雄,它的大众菜包含5元、3元、1元的菜式,小炒鸡柳、菠萝咕噜肉、煎鱼等菜式相当好吃,非常适合吃土的少男少女。(但橙宝有时候也会被略过重的油量狠狠油到)进门左手边的面食窗口也提供炸酱面、番茄鸡蛋面、猪杂面等多个选择。

    大众菜均价:6 - 9元

    面食均价:10 - 15元

    小卖部:

    在自选窗口对面,售卖奶类饮品、咖啡和平价小面包。

    4. 欣园食堂&荔园食堂

    1)欣园食堂

    欣园食堂比较遥远,大家去的机会比较少,但是仍然十分的美味。

    2)荔园食堂

    橙宝在荔园下课后的第一目的地,就是六栋的荔园食堂啦。

    早餐(7:00 -- 9:00)

    和新生食堂相似,但是种类更丰富,橙宝觉得荔园的肉包更好吃~

    午餐&晚餐:

    一楼:得到众多好评的大众菜,不过价格多变,一定要看好价格哦。

    二楼:学校食堂中TOP水平之一,据说这里有学校最好吃的面!其他窗口也提供包含鸡排饭、特色小碟菜等菜品,橙宝都很推荐。

    一楼均价:8 - 15元

    二楼均价:15 - 20元

    【Tip:传统食堂都需要大家倾倒食物残渣,回收餐具,一定不要忘了哦。】

    5. "非常规"餐厅

    1)赛百味食堂

    坐落在第一科研楼与第一教学楼之间的经典快餐店,售卖自选夹层的美式三明治、小块披萨、鸡肉卷、薯宝、鸡翅、曲奇等小吃。校内折扣也挺香的,大家可以理性尝试~

    均价:20 - 30

    2)星巴克食堂

    小资情调、少人排队的高贵星爸爸,除饮品外提供美食三明治、千层面、精致小蛋糕等,是在琳恩图书馆学累了下来放松的优选。 均价:30 - 40

    3)超市食堂

    唯一的全天候营业的食堂,懒觉者的早午餐唯一指定食堂,你面对其他食堂排队长龙望而却步时的好去处,主要有湖畔超市、荔园超市、天虹微喔三家,提供车仔面、关东煮、各种熟食与面包。此外,天虹提供加热、煮面的服务哦~但是橙宝告诉大家,在妮可,不多吃正经食堂的话是会后悔的!

    4)学者咖啡&湖畔一栋致仁咖啡社

    第二科研楼一楼的学者咖啡提供咖啡、超级美味的饺子、牛肉面和冰淇淋(听说在哪里可以经常遇见留学生哦)

    湖畔一楼的咖啡社环境和氛围也非常棒哦。

    以上就是妮可的食堂介绍啦,橙宝希望大家可以在南科大吃的开心。校外还有更多的深圳美食,大家可以移步至本公众号相关推送查看。

    学习场所篇

    1. 两个主要教学区域

    说到上课,妮可主要有两个教学区域:第一教学楼荔园

    1)第一教学楼

    门外的超大显示屏,滚动播放学校最新动态

    一楼宽阔明亮的教室,有时有名叫"麻酱"的猫猫出没哦

    高层也有让人心旷神怡的露天平台~

    而一教隔壁的 第二教学楼 布满机房,是计算机系上机课程的授课场所

    2)荔园

    相比一教,荔园多出的实验室和机房为各专业实验课提供场所。其他和第一教学楼相差不大。

    略显抽象的夜景

    阶梯教室

    不知不觉就下课啦!橙宝知道努力的大家没有学够,想温习刚刚学过的知识。这时除了一教和荔园的空教室都可以进入自习外,图书馆更是一个很好的选择!

    2. 图书馆

    学校里共有三个图书馆:琳恩图书馆,一丹图书馆,涵泳图书馆

    1)琳恩图书馆

    位于第一教学楼对面,下课后来这里很方便。

    一楼门口有一家星巴克,可以带杯咖啡优雅地进馆自习!

    一楼自习区左侧是美丽落地窗,同时有打印机、自助借还书机和图书杀菌机、半开放讨论区

    二楼有半开放讨论区

    图为三楼睡觉区,同时也有电脑区、大量藏书

    2)一丹图书馆

    一丹图书馆由慈善家陈一丹先生捐赠,分为24小时开放的一楼自习区和8:00 -- 22:00开放的其余楼层,白天入馆记得走二楼大门哦!

    一楼是通宵自习室,来这里学习的人非常多,临近考试的时候更是座无虚席。也有舒适的小沙发哦【Tip:一楼大门仅在22:00-次日8:00开放】

    二楼有藏书室(含打印机)和电脑区

    三楼有半开放讨论间、封闭式讨论间(后者需要在官网预约)。同学们可以在这里组队学习,还可以借用白板、投影等设备~

    四楼是常规自习室。这里可以看到湖畔美丽的景色,橙宝超喜欢的!

    3)涵泳图书馆

    包含自习室、讨论间,室内可漂亮了,不过位置相对较少。

    3. 科研楼

    1)第一科研楼

    在第一教学楼对面,一楼的报告厅承办许多活动和讲座(e.g. 书院教育讲座、s赛决赛线下观赛活动地点)

    二楼有联创打印机,在一教打印机坏了或者没纸的时候能来这里救急哦

    2)第二科研楼

    教授们的办公室、院系的实验室

    3)第四科研楼

    步道乐跑的打卡点,到时候跟着导航走就好啦

    4. 院系大楼

    1)工学院

    新建成的理工院楼中老师们已经就位,实验室在陆陆续续往里面搬迁

    2)理学院

    一号校门进来的大楼就是理学院!

    3)商学院

    4)人文社科学院

    人文社科学院老师的办公地点,为学校增添许多人文、历史气息

    除了上课和科研,橙宝呼吁大家多多去老师们的[办公室]提问哦!主要分布在第一教学楼,科研楼,院系大楼,慧园,人文社科学院,具体位置请积极询问老师~

    运动场所篇

    图:介绍顺序一览

    1.欣园区

    1)篮球场

    一共有10个全场,是全校最大的篮球场

    2)足球场

    五人制小场,一共有两个全场,可以在这里举行一些小型比赛

    3)网球场

    2.松禾体育场 + 润杨体育馆

    1)标准400m跑道+标准足球场

    2)真人cs场地&攀岩墙(跑道旁)

    cs随时都可以打,只需要提前预约就可以啦

    攀岩墙一般供体育课中的攀岩课教学使用

    3)室内羽毛球场

    位于润杨体育馆一楼,有大型活动时会撤去场地,提醒大家留意邮件通知哦

    4)润扬健身房

    润杨健身房位于润杨体育馆四楼,24小时开放,较湖畔健身房设施更全,内有各种自由、固定器械,还配备空调,饮水机和淋浴间。

    3.湖畔运动区

    1)湖畔健身房

    24小时开放,相比润扬健身房空间较小,固定器械较少。

    2)舞房

    位于湖畔健身房隔壁,配有空调和音响,是体育课和社团课的授课场所,没有课程时可以随时进去热舞。

    3)乒乓球馆

    位于湖畔四栋楼下,共有十几台乒乓球桌,随时开放。

    4)台球馆

    位于湖畔二栋楼下,有两个九球台和一个斯诺克台,同学们只需要向宿管交50元现金押金就能开桌啦。

    4.风雨操场

    1)篮球场

    是室内篮球场,只有一个全场,记得要预约哦

    2)排球场

    3)拳击馆

    4)游泳馆

    户外游泳池,只有夏天开放,记得留意邮件通知哦

    5.棒球场

    一大片用来打棒球的草地,也是棒球课和棒球社社活的场地。

    活动场所篇

    1. 致诚活动室

    当你想和朋友一起玩玩桌游,当你想和你的ta一起坐下来好好聊聊天,当你突然需要小组讨论,当你想找个地方躲避炎炎夏日,当你手痒想弹弹钢琴......这些问题都有同一个答案:去致诚活动室啊!

    致诚活动室位于湖畔三栋对面,左临湖畔超市、右接健身房舞房,旁设有会议室。内设台灯、桌椅、沙发、钢琴与适量书籍等,组成它温馨明亮的室内布置。活动室是与朋友玩耍、多人聚会的好去处,有时也会举行橙子节、音乐角等书院活动。

    【橙宝提醒大家:休息时段玩耍请注意控制音量哦!】

    2. 学生事务中心

    学生事务中心位于中心食堂二楼,内设有失物招领处与补办学生卡的机器(橙宝祝大家永远不要使用它,但补办新卡时不要忘了冲一元水费哦),学校开通银行卡、高铁优惠票等业务也很可能需要到这里办理。

    3. 社康中心

    社康中心上接十一栋,下接教师公寓,旁临游泳馆。若大家有任何身体状况,都可以前往此处挂号就诊。一定记得听从医嘱,该去大医院检查一定要去,在学校要照顾好自己嗷。

    4. 国际会议中心

    一号门旁的豪华会议+表演场所,校庆、跨年晚会(十佳歌手总决赛)等等大型节目的举办场地。

    5. 教工之家

    位于教师公寓内,坐校巴到专家公寓站即可快速到达。它是每年致诚生日会的举办场地,同时也大概率是致诚舞会的举办场地。

    版权信息

    图片来源: 1088SUSTech,致新书院,SUSTechOnline,卓著,郑微言,邬静芙

    资料参考: 南方科技大学致诚书院公众号

    特别鸣谢: 致新书院提供校园地图

    制作:致诚书院大学长团 邬静芙,郑微言,卓著

    致诚书院出品,本文已获授权在 sustech.online 转载,转载请注明出处。

    ',227);function Fs(ws,Ss){const p=r("router-link");return i(),l("div",null,[Os,Es,s("nav",Ns,[s("ul",null,[s("li",null,[t(p,{to:"#食堂篇"},{default:e(()=>[a("食堂篇")]),_:1}),s("ul",null,[s("li",null,[t(p,{to:"#_1-高消费餐厅"},{default:e(()=>[a("1. 高消费餐厅")]),_:1})]),s("li",null,[t(p,{to:"#_2-新生食堂"},{default:e(()=>[a("2. 新生食堂")]),_:1})]),s("li",null,[t(p,{to:"#_3-中心食堂-湖畔食堂"},{default:e(()=>[a("3. 中心食堂&湖畔食堂")]),_:1})]),s("li",null,[t(p,{to:"#_4-欣园食堂-荔园食堂"},{default:e(()=>[a("4. 欣园食堂&荔园食堂")]),_:1})]),s("li",null,[t(p,{to:"#_5-非常规-餐厅"},{default:e(()=>[a('5. "非常规"餐厅')]),_:1})])])]),s("li",null,[t(p,{to:"#学习场所篇"},{default:e(()=>[a("学习场所篇")]),_:1}),s("ul",null,[s("li",null,[t(p,{to:"#_1-两个主要教学区域"},{default:e(()=>[a("1. 两个主要教学区域")]),_:1})]),s("li",null,[t(p,{to:"#_2-图书馆"},{default:e(()=>[a("2. 图书馆")]),_:1})]),s("li",null,[t(p,{to:"#_3-科研楼"},{default:e(()=>[a("3. 科研楼")]),_:1})]),s("li",null,[t(p,{to:"#_4-院系大楼"},{default:e(()=>[a("4. 院系大楼")]),_:1})])])]),s("li",null,[t(p,{to:"#运动场所篇"},{default:e(()=>[a("运动场所篇")]),_:1}),s("ul",null,[s("li",null,[t(p,{to:"#_1-欣园区"},{default:e(()=>[a("1.欣园区")]),_:1})]),s("li",null,[t(p,{to:"#_2-松禾体育场-润杨体育馆"},{default:e(()=>[a("2.松禾体育场 + 润杨体育馆")]),_:1})]),s("li",null,[t(p,{to:"#_3-湖畔运动区"},{default:e(()=>[a("3.湖畔运动区")]),_:1})]),s("li",null,[t(p,{to:"#_4-风雨操场"},{default:e(()=>[a("4.风雨操场")]),_:1})]),s("li",null,[t(p,{to:"#_5-棒球场"},{default:e(()=>[a("5.棒球场")]),_:1})])])]),s("li",null,[t(p,{to:"#活动场所篇"},{default:e(()=>[a("活动场所篇")]),_:1}),s("ul",null,[s("li",null,[t(p,{to:"#_1-致诚活动室"},{default:e(()=>[a("1. 致诚活动室")]),_:1})]),s("li",null,[t(p,{to:"#_2-学生事务中心"},{default:e(()=>[a("2. 学生事务中心")]),_:1})]),s("li",null,[t(p,{to:"#_3-社康中心"},{default:e(()=>[a("3. 社康中心")]),_:1})]),s("li",null,[t(p,{to:"#_4-国际会议中心"},{default:e(()=>[a("4. 国际会议中心")]),_:1})]),s("li",null,[t(p,{to:"#_5-教工之家"},{default:e(()=>[a("5. 教工之家")]),_:1})])])])])]),ys])}const As=n(Ds,[["render",Fs],["__file","新生攻略之校内介绍篇.html.vue"]]),Ps=JSON.parse('{"path":"/life/by-zhicheng-college/%E6%96%B0%E7%94%9F%E6%94%BB%E7%95%A5%E4%B9%8B%E6%A0%A1%E5%86%85%E4%BB%8B%E7%BB%8D%E7%AF%87.html","title":"新生攻略之校内介绍篇","lang":"zh-CN","frontmatter":{},"headers":[{"level":2,"title":"食堂篇","slug":"食堂篇","link":"#食堂篇","children":[{"level":3,"title":"1. 高消费餐厅","slug":"_1-高消费餐厅","link":"#_1-高消费餐厅","children":[]},{"level":3,"title":"2. 新生食堂","slug":"_2-新生食堂","link":"#_2-新生食堂","children":[]},{"level":3,"title":"3. 中心食堂&湖畔食堂","slug":"_3-中心食堂-湖畔食堂","link":"#_3-中心食堂-湖畔食堂","children":[]},{"level":3,"title":"4. 欣园食堂&荔园食堂","slug":"_4-欣园食堂-荔园食堂","link":"#_4-欣园食堂-荔园食堂","children":[]},{"level":3,"title":"5. \\"非常规\\"餐厅","slug":"_5-非常规-餐厅","link":"#_5-非常规-餐厅","children":[]}]},{"level":2,"title":"学习场所篇","slug":"学习场所篇","link":"#学习场所篇","children":[{"level":3,"title":"1. 两个主要教学区域","slug":"_1-两个主要教学区域","link":"#_1-两个主要教学区域","children":[]},{"level":3,"title":"2. 图书馆","slug":"_2-图书馆","link":"#_2-图书馆","children":[]},{"level":3,"title":"3. 科研楼","slug":"_3-科研楼","link":"#_3-科研楼","children":[]},{"level":3,"title":"4. 院系大楼","slug":"_4-院系大楼","link":"#_4-院系大楼","children":[]}]},{"level":2,"title":"运动场所篇","slug":"运动场所篇","link":"#运动场所篇","children":[{"level":3,"title":"1.欣园区","slug":"_1-欣园区","link":"#_1-欣园区","children":[]},{"level":3,"title":"2.松禾体育场 + 润杨体育馆","slug":"_2-松禾体育场-润杨体育馆","link":"#_2-松禾体育场-润杨体育馆","children":[]},{"level":3,"title":"3.湖畔运动区","slug":"_3-湖畔运动区","link":"#_3-湖畔运动区","children":[]},{"level":3,"title":"4.风雨操场","slug":"_4-风雨操场","link":"#_4-风雨操场","children":[]},{"level":3,"title":"5.棒球场","slug":"_5-棒球场","link":"#_5-棒球场","children":[]}]},{"level":2,"title":"活动场所篇","slug":"活动场所篇","link":"#活动场所篇","children":[{"level":3,"title":"1. 致诚活动室","slug":"_1-致诚活动室","link":"#_1-致诚活动室","children":[]},{"level":3,"title":"2. 学生事务中心","slug":"_2-学生事务中心","link":"#_2-学生事务中心","children":[]},{"level":3,"title":"3. 社康中心","slug":"_3-社康中心","link":"#_3-社康中心","children":[]},{"level":3,"title":"4. 国际会议中心","slug":"_4-国际会议中心","link":"#_4-国际会议中心","children":[]},{"level":3,"title":"5. 教工之家","slug":"_5-教工之家","link":"#_5-教工之家","children":[]}]}],"git":{"updatedTime":1641050582000,"contributors":[{"name":"lethal233","email":"11811407@mail.sustech.edu.cn","commits":1}]},"filePathRelative":"life/by-zhicheng-college/新生攻略之校内介绍篇.md"}');export{As as comp,Ps as data}; diff --git "a/assets/\346\226\260\347\224\237\346\224\273\347\225\245\344\271\213\347\244\276\345\233\242\347\257\207.html-D6mtc7o1.js" "b/assets/\346\226\260\347\224\237\346\224\273\347\225\245\344\271\213\347\244\276\345\233\242\347\257\207.html-D6mtc7o1.js" new file mode 100644 index 000000000..59ead2653 --- /dev/null +++ "b/assets/\346\226\260\347\224\237\346\224\273\347\225\245\344\271\213\347\244\276\345\233\242\347\257\207.html-D6mtc7o1.js" @@ -0,0 +1 @@ +import{_ as n,r as s,o as i,c as r,b as e,a,w as t,e as h,d as p}from"./app-CAXKJsZK.js";const o="/assets/image1-ECUwmV4F.jpeg",d="/assets/image2-CdyZvAC0.jpeg",c="/assets/image3-C4jOo88y.jpeg",u="/assets/image4-BSINR7j1.jpeg",g="/assets/image5-tqyOvKYH.jpeg",_="/assets/image6-CnwxmlzT.jpeg",f={},m=e("h1",{id:"新生攻略之社团篇",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#新生攻略之社团篇"},[e("span",null,"新生攻略之社团篇")])],-1),v=e("p",null,[e("em",null,"本部分由 致诚书院大学长团 提供")],-1),x={class:"table-of-contents"},b=h('

    前言

    欢迎各位2021级的新生们加入南科大!刚刚结束高考的你们,一定对未来的大学生活充满了期待吧!相信,你也想要拥有丰富多彩的大学校园生活,如此,社团活动又怎能缺席!

    南科大目前共有社团百余个,主要分为思想政治、学术科技、创新创业、文化体育、志愿公益五个大类。社团为爱好相同的同学们提供了相聚相识、交流进步的平台,也为有一技之长的同学建立了提升能力、展示自我的机会。加入社团,不仅可以强化相关领域的技能水平,还可以在培养兴趣爱好的同时,提升个人人际交往能力。

    本篇攻略,就让橙宝带你了解南科大社团!

    一、如何选择合适的社团?

    想要加入社团却不知道如何了解社团?不要担心,"百团大战"就是你了解社团的好时机!南科大社团联合会会在每年初秋举办一年一度的"百团大战"活动,届时,各个社团都会精心布置自己的摊位,展示自己的风采,张罗来往同学驻足观看,给予同学们了解社团、加入社团的机会。此外,有的社团也会利用qq空间或是微信公众号来进行宣传,同学们可以多多留意。遇到感兴趣的社团,也不妨加入该社团的招新群了解一下噢~

    在这里还有一个小小的提醒,有些社团由于受到特定书院管理,名字前会加上该书院的名字(如致诚咏春社、致仁民乐团等),但这并不意味着其他书院同学不能加入该社团噢!在南科大,所有社团都是面向全校同学开放的,只要你有兴趣,就去报名参加吧!

    二、学生社团联合会注册社团名单(截止2020.9)

    思想政治类

    学生研习社

    学术科技类

    航模社 社团数学物理社 DataHub社团

    材料研究学会南科大学生分会 工业设计社 计算机研究协会社团

    深渔俱乐部 虚拟现实技术社 自主智能机器人社团

    创新创业类

    未来企业家俱乐部 创新创业协会

    文化体育类

    致仁民乐团社 辩论社 Wink舞社

    定向越野社 乒乓球社 桥牌社

    东亚神话与邦乐研究社 书画社 跆拳道社

    清羽飞扬羽毛球社 自然国学社 Dauber画社

    树礼微电影社 搏击社 川衡社

    树仁钢琴社 电竞社 NOVA街舞社

    文化创意社 翻译社 吉他社

    致诚歌唱社 猫社 南风诗社

    树礼阿卡贝拉社 武学社 日语社

    致诚设计社 西乐社 校园大使

    雁落弓社 弈林棋社 游戏王社

    致诚咏春社 游泳社 万智牌社

    致仁烘焙社 电影沙龙社 篮球社

    南枝未央汉服社 网球社 树礼科幻协会

    SCAP动漫社 轮滑社 魔方社

    致仁咖啡社 致诚健身社 Susmusic树礼说唱社

    炽焱足球社 排球社 树仁京剧社

    电影沙龙社 音乐剧社 瑜伽社

    电子音乐社 拉丁社 风华主持队

    女子篮球社 天文社 推理社

    橡树调酒社 围棋社 文学社

    致新非物质文化遗产社 致新古琴社 野战社

    树德力量举社 开言堂相声社

    志愿公益类

    绿足迹自然保育社 树礼科普社 招生宣传协会

    其他类

    花粉俱乐部

    筹备社团

    军事爱好者社团(筹) 粤语社(筹) 滑板社(筹)

    大学生就业与职业发展社团(筹) 棍网球社(筹) CAN极客社团(筹)

    空手道社(筹) 理想社(筹) 模拟联合国协会(筹)

    绿色智慧校园社(筹) 轻小说社(筹) 摄影社(筹)

    行水国风音乐社(筹) 狼人杀社(筹) 致仁微创社(筹)

    海洋机器人社(筹) 立直麻雀社(筹) 美丽中国教育协会(筹)

    电声乐社(筹) 树德STEAM+创客教育社团(筹)

    (部分社团可能已转正,该名单仅供参考)

    Ps:部分社团(如合唱团、舞蹈团、季风剧社等)直接由艺术中心管辖,加入需要进行具有相应的能力,并经过选拔,不归属社团联合会管理,故未包含在本名单内。敬请谅解!

    三、致诚书院特色社团

    致诚健身社

    致诚书院健身社于2020年初开始策划,2020年七月正式成立,现有社员约25人。社团目前设有社长一名,由致诚书院2020级陈孙兵担任;副社长分别由2018级侯文楚、2019级杨扬和2020级黄宇海三位同学担任。设有指导老师和指导教练各一名,分别由致诚书院辅导员张瀚文老师和颜永涛教练担任。社团指定活动室为致诚书院三栋楼下健身房。

    致诚书院健身社的宗旨是通过专业、科学的训练方式,提高运动表现力,提升个人自信,丰富课余生活,从而达到快乐健身的目的。健身社不只关注训练健硕的肌肉,更重要的是,希望通过综合性的训练,提高基础力量和核心力量,从而提高个人在篮球、羽毛球以及排球运动等中的表现力。所以,无论是健身小白还是健身大佬,在这里,都能找到适合自己的位置。

    致诚歌唱社

    歌唱社全名"南方科技大学致诚书院歌唱社团",由校内爱好唱歌的学生组成,由致诚书院和艺术中心共同指导及管理。南方科技大学在籍学生,只要对唱歌有浓厚兴趣,具备一定的声乐基础,遵守本社团章程,皆可申请入社,通过面试考核即可正式成为本社社员。预计每学期招收新生20位以内。

    歌唱社社内氛围良好,一群志趣相投的同学们聚集在一起,不分年龄,有的只是对唱歌和音乐的共同信仰与追求。大家在歌声中相识,用音乐传递快乐,用音乐互相鼓励。

    社团拥有强大的专业辅导老师阵容。社团成员们更是活跃在学校内各类大、小型舞台、晚会上。2020年南科好声音十佳歌手有七位来自致诚歌唱社,校庆晚会的舞台上也经常出现着歌唱社成员的身影。我社在2020年成功举办致诚音乐角活动,并在2021致诚橙子节音乐表演中获得成功,同学们反响良好。

    致诚歌唱社荣获2020年度艺术中心优秀社团一等奖。

    致诚设计社

    致诚设计社是由致诚书院和艺术中心共同指导的艺术社团,旨在让学生了解平面设计的基础理论和知识,包括海报设计、logo设计、包装设计等,同时也致力于提升学生的设计应用能力,激发想象力和创造力,培养学生的设计思维,致力于学生审美素养的提升。

    设计社每周安排一节培训课,由知名的专业设计师Max和Christy进行指导,课堂有趣又实用。同时,设计社经常现身于学校各个活动中,每次都给同学们不一样的创造体验。设计社的同学们也有更多机会去尝试设计出不同的作品,有机会出现在书院或学校组织的展览中,以及为学校活动进行logo、海报等设计哦!

    致诚咏春社

    在致诚咏春社,你将获得:

    专业的咏春教练!手把手的精准指导,让大家的练武路上从不迷茫。

    负责的练教课堂!除了有教练前来的正课,为了保证部员们的练习质量,我们还在每周周三周五自发组织,由学长带头的自主练教课程!

    温馨的社团氛围!温暖的社团环境,更是给了大家在练习的辛苦中的一丝甜津。

    四、创建社团

    如果你没有找到喜欢的社团,你可以选择联合小伙伴一起创建社团哦。根据社联要求,一个社团的成立需要至少 10 位发起者(有可能修订到更多人数)以及相应的指导老师。如果条件尽数满足的话,那就可以轻松的组建自己的社团啦!不过作为新生入学,橙宝还是建议第一年尽量避免进行一些如同创建社团这样的耗费精力的活动,毕竟学习要紧哦!

    尾声

    社团作为大学生活的调味剂,可以使我们在学习之余获得丰富的课余时光,让我们在短暂休息的同时收获珍贵的友谊,变得更加积极。同时橙宝也要提醒各位,在加入社团收获快乐的同时,也不能忘记学业噢!如果本末倒置,那就太得不偿失啦!

    本篇攻略到此就结束啦,橙宝在此祝愿各位21级的小伙伴们都能找到自己感兴趣的社团,收获充实又愉快的大学生活!

    版权信息

    图片来源: 南科大社联菌公众号 南方科技大学致诚书院公众号

    资料参考: 南科大社联菌公众号 社团联合会社团名单 南方科技大学致诚书院公众号

    特别鸣谢: 致诚书院2020级大学长杜昊澄 帮我改文案的聪明人(x)

    制作:致诚书院大学长团 林瀚兰

    致诚书院出品,本文已获授权在 sustech.online 转载,转载请注明出处。

    ',83);function k(E,B){const l=s("router-link");return i(),r("div",null,[m,v,e("nav",x,[e("ul",null,[e("li",null,[a(l,{to:"#前言"},{default:t(()=>[p("前言")]),_:1})]),e("li",null,[a(l,{to:"#一、如何选择合适的社团"},{default:t(()=>[p("一、如何选择合适的社团?")]),_:1})]),e("li",null,[a(l,{to:"#二、学生社团联合会注册社团名单-截止2020-9"},{default:t(()=>[p("二、学生社团联合会注册社团名单(截止2020.9)")]),_:1}),e("ul",null,[e("li",null,[a(l,{to:"#思想政治类"},{default:t(()=>[p("思想政治类")]),_:1})]),e("li",null,[a(l,{to:"#学术科技类"},{default:t(()=>[p("学术科技类")]),_:1})]),e("li",null,[a(l,{to:"#创新创业类"},{default:t(()=>[p("创新创业类")]),_:1})]),e("li",null,[a(l,{to:"#文化体育类"},{default:t(()=>[p("文化体育类")]),_:1})]),e("li",null,[a(l,{to:"#志愿公益类"},{default:t(()=>[p("志愿公益类")]),_:1})]),e("li",null,[a(l,{to:"#其他类"},{default:t(()=>[p("其他类")]),_:1})]),e("li",null,[a(l,{to:"#筹备社团"},{default:t(()=>[p("筹备社团")]),_:1})])])]),e("li",null,[a(l,{to:"#三、致诚书院特色社团"},{default:t(()=>[p("三、致诚书院特色社团")]),_:1}),e("ul",null,[e("li",null,[a(l,{to:"#致诚健身社"},{default:t(()=>[p("致诚健身社")]),_:1})]),e("li",null,[a(l,{to:"#致诚歌唱社"},{default:t(()=>[p("致诚歌唱社")]),_:1})]),e("li",null,[a(l,{to:"#致诚设计社"},{default:t(()=>[p("致诚设计社")]),_:1})]),e("li",null,[a(l,{to:"#致诚咏春社"},{default:t(()=>[p("致诚咏春社")]),_:1})])])]),e("li",null,[a(l,{to:"#四、创建社团"},{default:t(()=>[p("四、创建社团")]),_:1})]),e("li",null,[a(l,{to:"#尾声"},{default:t(()=>[p("尾声")]),_:1})])])]),b])}const q=n(f,[["render",k],["__file","新生攻略之社团篇.html.vue"]]),A=JSON.parse('{"path":"/life/by-zhicheng-college/%E6%96%B0%E7%94%9F%E6%94%BB%E7%95%A5%E4%B9%8B%E7%A4%BE%E5%9B%A2%E7%AF%87.html","title":"新生攻略之社团篇","lang":"zh-CN","frontmatter":{},"headers":[{"level":2,"title":"前言","slug":"前言","link":"#前言","children":[]},{"level":2,"title":"一、如何选择合适的社团?","slug":"一、如何选择合适的社团","link":"#一、如何选择合适的社团","children":[]},{"level":2,"title":"二、学生社团联合会注册社团名单(截止2020.9)","slug":"二、学生社团联合会注册社团名单-截止2020-9","link":"#二、学生社团联合会注册社团名单-截止2020-9","children":[{"level":3,"title":"思想政治类","slug":"思想政治类","link":"#思想政治类","children":[]},{"level":3,"title":"学术科技类","slug":"学术科技类","link":"#学术科技类","children":[]},{"level":3,"title":"创新创业类","slug":"创新创业类","link":"#创新创业类","children":[]},{"level":3,"title":"文化体育类","slug":"文化体育类","link":"#文化体育类","children":[]},{"level":3,"title":"志愿公益类","slug":"志愿公益类","link":"#志愿公益类","children":[]},{"level":3,"title":"其他类","slug":"其他类","link":"#其他类","children":[]},{"level":3,"title":"筹备社团","slug":"筹备社团","link":"#筹备社团","children":[]}]},{"level":2,"title":"三、致诚书院特色社团","slug":"三、致诚书院特色社团","link":"#三、致诚书院特色社团","children":[{"level":3,"title":"致诚健身社","slug":"致诚健身社","link":"#致诚健身社","children":[]},{"level":3,"title":"致诚歌唱社","slug":"致诚歌唱社","link":"#致诚歌唱社","children":[]},{"level":3,"title":"致诚设计社","slug":"致诚设计社","link":"#致诚设计社","children":[]},{"level":3,"title":"致诚咏春社","slug":"致诚咏春社","link":"#致诚咏春社","children":[]}]},{"level":2,"title":"四、创建社团","slug":"四、创建社团","link":"#四、创建社团","children":[]},{"level":2,"title":"尾声","slug":"尾声","link":"#尾声","children":[]}],"git":{"updatedTime":1641050582000,"contributors":[{"name":"lethal233","email":"11811407@mail.sustech.edu.cn","commits":1}]},"filePathRelative":"life/by-zhicheng-college/新生攻略之社团篇.md"}');export{q as comp,A as data}; diff --git a/baidu_verify_yQSeRkHJla.html b/baidu_verify_yQSeRkHJla.html new file mode 100644 index 000000000..c436fa529 --- /dev/null +++ b/baidu_verify_yQSeRkHJla.html @@ -0,0 +1 @@ +yQSeRkHJla \ No newline at end of file diff --git a/bus_echart/line1.json b/bus_echart/line1.json new file mode 100644 index 000000000..e3ab92b38 --- /dev/null +++ b/bus_echart/line1.json @@ -0,0 +1,7 @@ +{ +"type": "FeatureCollection", +"name": "line1", +"features": [ +{ "type": "Feature", "properties": { }, "geometry": { "type": "LineString", "coordinates": [ [ 113.990200060822701, 22.603344460572981 ], [ 113.990333174477954, 22.6027102287388 ], [ 113.990514670805609, 22.602456133880072 ], [ 113.990841364195418, 22.602195989143752 ], [ 113.991522590249474, 22.601607860773861 ], [ 113.991928480107561, 22.601056324430257 ], [ 113.992014308823357, 22.600526671759035 ], [ 113.991857592439558, 22.599956793999745 ], [ 113.991319364892504, 22.59945330686925 ], [ 113.990811827365107, 22.599193050967941 ], [ 113.990575899339404, 22.599034258589519 ], [ 113.9904009525345, 22.59862018369482 ], [ 113.990297849077294, 22.59752639824848 ], [ 113.990406327742804, 22.597096158685559 ], [ 113.990876062144395, 22.597041478974589 ], [ 113.991556690432802, 22.597245555836601 ], [ 113.992034233315295, 22.597268141810218 ], [ 113.992716208614596, 22.5968173712095 ], [ 113.993255214215793, 22.596303261873739 ], [ 113.993825116256502, 22.596059903602399 ], [ 113.994263768917307, 22.596071162002989 ], [ 113.994550623676702, 22.595519179429939 ], [ 113.995287231625795, 22.59597241715224 ], [ 113.996529642577698, 22.59731692465482 ], [ 113.998045551138802, 22.59902110136386 ], [ 113.998796135228801, 22.599533641486811 ], [ 113.999268394440591, 22.59985760187152 ], [ 113.999694748456065, 22.60001075474797 ], [ 113.99959043851149, 22.600077670561472 ], [ 113.998862527224802, 22.600735126645151 ], [ 113.998734780644995, 22.60117875994807 ], [ 113.998727256701201, 22.601482470906578 ], [ 113.998481110292403, 22.60178382602745 ], [ 113.998261380730199, 22.6021205004729 ], [ 113.998069751945195, 22.602587716731222 ], [ 113.998002614761702, 22.60300575140722 ], [ 113.997951304905101, 22.603237178781896 ], [ 113.997875516790629, 22.603308756445561 ], [ 113.997744992815711, 22.603304545994757 ], [ 113.996886641557893, 22.602980895656401 ], [ 113.996240102907393, 22.602883482030911 ], [ 113.995692321548532, 22.602884199237216 ], [ 113.99544081214448, 22.60296074557758 ], [ 113.995081378986399, 22.603359305092631 ], [ 113.994741145789746, 22.603739446476169 ], [ 113.994480941287335, 22.603995004469603 ], [ 113.994202150749047, 22.604231976427151 ], [ 113.993949700332195, 22.60464554145209 ], [ 113.99351020410505, 22.605376557033196 ], [ 113.993517765384382, 22.605457210679489 ], [ 113.993563133060434, 22.60551013963487 ], [ 113.994420192192678, 22.606010786177364 ], [ 113.994877490364317, 22.606242258091399 ], [ 113.995278497141001, 22.606402240970631 ], [ 113.995327766644706, 22.606673415602611 ], [ 113.996490585116902, 22.6063775771138 ], [ 113.997715653744606, 22.60596002561628 ], [ 113.998320711544395, 22.60613169032316 ], [ 113.998664870688501, 22.606599236851789 ], [ 113.998897946580101, 22.608153316116329 ], [ 113.998161891211794, 22.609753417676441 ], [ 113.9976555155949, 22.610514448689759 ], [ 113.997348907905405, 22.61067741494136 ] ] } } +] +} diff --git a/bus_echart/line1_dir2.json b/bus_echart/line1_dir2.json new file mode 100644 index 000000000..3d0d0886d --- /dev/null +++ b/bus_echart/line1_dir2.json @@ -0,0 +1,8 @@ +{ +"type": "FeatureCollection", +"name": "line1_dir2", +"crs": { "type": "name", "properties": { "name": "urn:ogc:def:crs:OGC:1.3:CRS84" } }, +"features": [ +{ "type": "Feature", "properties": { }, "geometry": { "type": "LineString", "coordinates": [ [ 113.990195209100918, 22.603359950080943 ], [ 113.990264777696609, 22.602969879384361 ], [ 113.990380810814315, 22.602613491951406 ], [ 113.990612877049728, 22.602356561476483 ], [ 113.991006560841953, 22.602045758482628 ], [ 113.991246915157191, 22.601842700526642 ], [ 113.991391956554338, 22.601722523369016 ], [ 113.991478981392618, 22.601643786610573 ], [ 113.991521882373362, 22.601603862466593 ], [ 113.991633995607671, 22.601483109056794 ], [ 113.991769272208089, 22.601354310412173 ], [ 113.9920345671635, 22.600520030614991 ], [ 113.991935605721906, 22.60002742855453 ], [ 113.991319364892504, 22.59945330686925 ], [ 113.990811827365107, 22.599193050967941 ], [ 113.990575899339404, 22.599034258589519 ], [ 113.9904009525345, 22.59862018369482 ], [ 113.990297849077294, 22.59752639824848 ], [ 113.990406327742804, 22.597096158685559 ], [ 113.990876062144395, 22.597041478974589 ], [ 113.991556690432802, 22.597245555836601 ], [ 113.992034233315295, 22.597268141810218 ], [ 113.992716208614596, 22.5968173712095 ], [ 113.993255214215793, 22.596303261873739 ], [ 113.993825116256502, 22.596059903602399 ], [ 113.994263768917307, 22.596071162002989 ], [ 113.994550623676702, 22.595519179429939 ], [ 113.995287231625795, 22.59597241715224 ], [ 113.996529642577698, 22.59731692465482 ], [ 113.998045551138802, 22.59902110136386 ], [ 113.998796135228801, 22.599533641486811 ], [ 113.999617218935498, 22.600021304717611 ], [ 113.998862527224802, 22.600735126645151 ], [ 113.998734780644995, 22.60117875994807 ], [ 113.998727256701201, 22.601482470906578 ], [ 113.998481110292403, 22.60178382602745 ], [ 113.998261380730199, 22.6021205004729 ], [ 113.998069751945195, 22.602587716731222 ], [ 113.998002614761702, 22.60300575140722 ], [ 113.997948911711902, 22.603250629401881 ], [ 113.997860239698099, 22.603341259123599 ], [ 113.996886641557893, 22.602980895656401 ], [ 113.996240102907393, 22.602883482030911 ], [ 113.995511755429106, 22.602900402831931 ], [ 113.995081378986399, 22.603359305092631 ], [ 113.994494659845699, 22.60394737599491 ], [ 113.993949700332195, 22.60464554145209 ], [ 113.993478403889895, 22.605480929778221 ], [ 113.995278497141001, 22.606402240970631 ], [ 113.995327766644706, 22.606673415602611 ], [ 113.996490585116902, 22.6063775771138 ], [ 113.997715653744606, 22.60596002561628 ], [ 113.998320711544395, 22.60613169032316 ], [ 113.998664870688501, 22.606599236851789 ], [ 113.998897946580101, 22.608153316116329 ], [ 113.998161891211794, 22.609753417676441 ], [ 113.9976555155949, 22.610514448689759 ], [ 113.997348907905405, 22.61067741494136 ] ] } } +] +} diff --git a/bus_echart/line2.json b/bus_echart/line2.json new file mode 100644 index 000000000..b912ec7c8 --- /dev/null +++ b/bus_echart/line2.json @@ -0,0 +1,7 @@ +{ +"type": "FeatureCollection", +"name": "line2", +"features": [ +{ "type": "Feature", "properties": { }, "geometry": { "type": "LineString", "coordinates": [ [ 113.991459678304494, 22.599604921099228 ], [ 113.991896923307195, 22.599936617485952 ], [ 113.992010569899804, 22.6005318195689 ], [ 113.991917242336896, 22.60102266627295 ], [ 113.991712546568195, 22.601367155914083 ], [ 113.991526274764496, 22.601612498395962 ], [ 113.992045849875581, 22.60262745159568 ], [ 113.992339522764453, 22.602968084896109 ], [ 113.992798857282978, 22.603280910653833 ], [ 113.99298710913483, 22.60350336409337 ], [ 113.993853067653333, 22.603677155592816 ], [ 113.994199451060737, 22.604268045049292 ], [ 113.993864148579476, 22.604784676421257 ], [ 113.993509428331166, 22.605403434168586 ], [ 113.99351895664168, 22.605477278575066 ], [ 113.993583272737652, 22.605524920127628 ], [ 113.995278497141001, 22.606402240970631 ], [ 113.995327766644706, 22.606673415602611 ], [ 113.996490585116902, 22.6063775771138 ], [ 113.997715653744606, 22.60596002561628 ], [ 113.998320711544395, 22.60613169032316 ], [ 113.998664870688501, 22.606599236851789 ], [ 113.998897946580101, 22.608153316116329 ], [ 113.998161891211794, 22.609753417676441 ], [ 113.9976555155949, 22.610514448689759 ], [ 113.997348907905405, 22.61067741494136 ] ] } } +] +} diff --git a/bus_echart/stop1.json b/bus_echart/stop1.json new file mode 100644 index 000000000..1b30270e8 --- /dev/null +++ b/bus_echart/stop1.json @@ -0,0 +1,21 @@ +{ + "type": "FeatureCollection", + "crs": { "type": "name", "properties": { "name": "urn:ogc:def:crs:OGC:1.3:CRS84" } }, + "features": [ + { "type": "Feature", "properties": { "name": "工学院\nCOE", "dist": 0.0 }, "geometry": { "type": "Point", "coordinates": [113.9902, 22.60336] } }, + { "type": "Feature", "properties": { "name": "科研楼\nResearch Bldg.", "dist": 542.89970148591362 }, "geometry": { "type": "Point", "coordinates": [113.99153, 22.599643] } }, + { "type": "Feature", "properties": { "name": "七号门\nGate7", "dist": 907.62735789785825 }, "geometry": { "type": "Point", "coordinates": [113.990399, 22.597132] } }, + { "type": "Feature", "properties": { "name": "行政楼\nAdmin. Bldg.", "dist": 1149.0456938127084 }, "geometry": { "type": "Point", "coordinates": [113.992403, 22.597011] } }, + { "type": "Feature", "properties": { "name": "1号门\nGate 1", "dist": 1513.4263569176362 }, "geometry": { "type": "Point", "coordinates": [113.994898, 22.59569] } }, + { "type": "Feature", "properties": { "name": "2号门\nGate 2", "dist": 1752 }, "geometry": { "type": "Point", "coordinates": [113.99585,22.59788] } }, + { "type": "Feature", "properties": { "name": "3号门\nGate 3", "dist": 2230.3249460522952 }, "geometry": { "type": "Point", "coordinates": [113.99939, 22.599893] } }, + { "type": "Feature", "properties": { "name": "专家公寓\nGuest Houses", "dist": 2546.2198658400307 }, "geometry": { "type": "Point", "coordinates": [113.998329, 22.601975] } }, + { "type": "Feature", "properties": { "name": "教工餐厅\nFaculty Cafeteria", "dist": 2727.0013627137873 }, "geometry": { "type": "Point", "coordinates": [113.997811, 22.603325] } }, + { "type": "Feature", "properties": { "name": "社康中心\nHealth Center", "dist": 2939.8507316668038 }, "geometry": { "type": "Point", "coordinates": [113.995981, 22.60293] } }, + { "type": "Feature", "properties": { "name": "学生宿舍\nStu. Dormitories", "dist": 3238.416725109053 }, "geometry": { "type": "Point", "coordinates": [113.993824, 22.604854] } }, + { "type": "Feature", "properties": { "name": "荔园\nLychee Hill", "dist": 3621.0661168663187 }, "geometry": { "type": "Point", "coordinates": [113.995238, 22.606518] } }, + { "type": "Feature", "properties": { "name": "创园\nChuang Yuan", "dist": 3804.8412646531024 }, "geometry": { "type": "Point", "coordinates": [113.996732, 22.606278] } }, + { "type": "Feature", "properties": { "name": "慧园\nHui Yuan", "dist": 3991.5552242009744 }, "geometry": { "type": "Point", "coordinates": [113.998372, 22.606102] } }, + { "type": "Feature", "properties": { "name": "欣园\nJoy Highland", "dist": 4592.7727333861958 }, "geometry": { "type": "Point", "coordinates": [113.997473, 22.610667] } } + ] +} \ No newline at end of file diff --git a/bus_echart/stop2.json b/bus_echart/stop2.json new file mode 100644 index 000000000..a2119fff1 --- /dev/null +++ b/bus_echart/stop2.json @@ -0,0 +1,13 @@ +{ + "type": "FeatureCollection", + "crs": { "type": "name", "properties": { "name": "urn:ogc:def:crs:OGC:1.3:CRS84" } }, + "features": [ + { "type": "Feature", "properties": { "name": "科研楼\nResearch Bldg.", "dist": 8.96320513008415 }, "geometry": { "type": "Point", "coordinates": [113.99153, 22.599643] } }, + { "type": "Feature", "properties": { "name": "工学院\nCOE", "dist": 546.92460644903099 }, "geometry": { "type": "Point", "coordinates": [113.9902, 22.60336] } }, + { "type": "Feature", "properties": { "name": "学生宿舍\nStu. Dormitories", "dist": 3238.416725109053 }, "geometry": { "type": "Point", "coordinates": [113.993824, 22.604854] } }, + { "type": "Feature", "properties": { "name": "荔园\nLychee Hill", "dist": 1357.3744467274953 }, "geometry": { "type": "Point", "coordinates": [113.995238, 22.606518] } }, + { "type": "Feature", "properties": { "name": "创园\nChuang Yuan", "dist": 1541.1495945142797 }, "geometry": { "type": "Point", "coordinates": [113.996732, 22.606278] } }, + { "type": "Feature", "properties": { "name": "慧园\nHui Yuan", "dist": 1727.8635540621517 }, "geometry": { "type": "Point", "coordinates": [113.998372, 22.606102] } }, + { "type": "Feature", "properties": { "name": "欣园\nJoy Highland", "dist": 2329.0810632473731 }, "geometry": { "type": "Point", "coordinates": [113.997473, 22.610667] } } + ] +} \ No newline at end of file diff --git a/bus_times/one_down.json b/bus_times/one_down.json new file mode 100644 index 000000000..f368125b6 --- /dev/null +++ b/bus_times/one_down.json @@ -0,0 +1,179 @@ +{ + "times": [ + "07:00", + "07:05", + "07:10", + "07:15", + "07:20", + "07:25", + "07:30", + "07:35", + "07:40", + "07:45", + "07:50", + "07:55", + "08:00", + "08:05", + "08:10", + "08:15", + "08:20", + "08:25", + "08:30", + "08:35", + "08:40", + "08:45", + "08:50", + "08:55", + "09:00", + "09:05", + "09:10", + "09:15", + "09:20", + "09:25", + "09:30", + "09:35", + "09:40", + "09:50", + "10:00", + "10:10", + "10:20", + "10:30", + "10:40", + "10:50", + "11:00", + "11:20", + "11:35", + "11:45", + "11:50", + "12:00", + "12:10", + "12:20", + "12:30", + "12:40", + "12:50", + "12:55", + "13:00", + "13:10", + "13:20", + "13:30", + "13:40", + "13:50", + "14:00", + "14:10", + "14:20", + "14:30", + "14:40", + "14:50", + "15:00", + "15:10", + "15:20", + "15:30", + "15:40", + "15:50", + "16:00", + "16:10", + "16:20", + "16:30", + "16:40", + "16:50", + "17:00", + "17:10", + "17:15", + "17:25", + "17:30", + "17:35", + "17:40", + "17:45", + "17:50", + "17:55", + "18:00", + "18:05", + "18:10", + "18:15", + "18:20", + "18:30", + "18:40", + "18:50", + "19:00", + "19:10", + "19:20", + "19:30", + "19:40", + "19:50", + "20:00", + "20:10", + "20:20", + "20:30", + "20:40", + "20:50", + "21:00", + "21:10", + "21:20", + "21:30", + "21:40", + "21:50", + "22:00", + "22:15", + "22:30", + "22:45" + ], + "stations": [ + [ + "欣园", + 0 + ], + [ + "慧园", + 0.07692307692307693 + ], + [ + "创园", + 0.15384615384615385 + ], + [ + "荔园", + 0.23076923076923078 + ], + [ + "学生宿舍", + 0.3076923076923077 + ], + [ + "社康中心", + 0.38461538461538464 + ], + [ + "教工餐厅", + 0.46153846153846156 + ], + [ + "专家公寓", + 0.5384615384615384 + ], + [ + "三号门", + 0.6153846153846154 + ], + [ + "一号门", + 0.6923076923076923 + ], + [ + "行政楼", + 0.7692307692307693 + ], + [ + "七号门", + 0.8461538461538461 + ], + [ + "科研楼", + 0.9230769230769231 + ], + [ + "工学院", + 1 + ] + ], + "minuteOnRoad": 20 +} \ No newline at end of file diff --git a/bus_times/one_down_holiday.json b/bus_times/one_down_holiday.json new file mode 100644 index 000000000..1b68a6c32 --- /dev/null +++ b/bus_times/one_down_holiday.json @@ -0,0 +1,123 @@ +{ + "times": [ + "07:00", + "07:20", + "07:40", + "08:00", + "08:20", + "08:40", + "09:00", + "09:20", + "09:40", + "10:00", + "10:20", + "10:40", + "10:50", + "11:00", + "11:10", + "11:20", + "11:30", + "11:40", + "11:50", + "12:00", + "12:10", + "12:20", + "12:30", + "12:40", + "12:50", + "13:00", + "13:20", + "13:40", + "14:00", + "14:20", + "14:40", + "15:00", + "15:20", + "15:40", + "16:00", + "16:20", + "16:40", + "17:00", + "17:10", + "17:20", + "17:30", + "17:40", + "17:50", + "18:00", + "18:10", + "18:20", + "18:30", + "18:40", + "18:50", + "19:00", + "19:10", + "19:20", + "19:40", + "20:00", + "20:20", + "20:40", + "21:00", + "21:20", + "21:40", + "22:00" + ], + "stations": [ + [ + "欣园", + 0 + ], + [ + "慧园", + 0.07692307692307693 + ], + [ + "创园", + 0.15384615384615385 + ], + [ + "荔园", + 0.23076923076923078 + ], + [ + "学生宿舍", + 0.3076923076923077 + ], + [ + "社康中心", + 0.38461538461538464 + ], + [ + "教工餐厅", + 0.46153846153846156 + ], + [ + "专家公寓", + 0.5384615384615384 + ], + [ + "三号门", + 0.6153846153846154 + ], + [ + "一号门", + 0.6923076923076923 + ], + [ + "行政楼", + 0.7692307692307693 + ], + [ + "七号门", + 0.8461538461538461 + ], + [ + "科研楼", + 0.9230769230769231 + ], + [ + "工学院", + 1 + ] + ], + "minuteOnRoad": 20 +} \ No newline at end of file diff --git a/bus_times/one_up.json b/bus_times/one_up.json new file mode 100644 index 000000000..d7c3d72da --- /dev/null +++ b/bus_times/one_up.json @@ -0,0 +1,163 @@ +{ + "times": [ + "07:20", + "07:25", + "07:30", + "07:40", + "07:46", + "07:50", + "08:00", + "08:05", + "08:10", + "08:15", + "08:20", + "08:25", + "08:30", + "08:35", + "08:40", + "08:45", + "08:50", + "08:55", + "09:00", + "09:05", + "09:10", + "09:15", + "09:20", + "09:25", + "09:30", + "09:40", + "09:50", + "10:00", + "10:10", + "10:20", + "10:30", + "10:40", + "10:50", + "11:00", + "11:10", + "11:20", + "11:30", + "11:40", + "11:50", + "12:00", + "12:10", + "12:20", + "12:30", + "12:40", + "12:45", + "12:55", + "13:00", + "13:10", + "13:20", + "13:40", + "13:50", + "14:00", + "14:10", + "14:20", + "14:30", + "14:40", + "14:50", + "15:00", + "15:10", + "15:20", + "15:30", + "15:40", + "15:50", + "16:00", + "16:10", + "16:20", + "16:30", + "16:40", + "16:50", + "17:00", + "17:10", + "17:20", + "17:30", + "17:35", + "17:40", + "17:45", + "17:50", + "18:00", + "18:10", + "18:20", + "18:30", + "18:40", + "18:50", + "19:00", + "19:10", + "19:20", + "19:30", + "19:40", + "19:50", + "20:00", + "20:10", + "20:20", + "20:30", + "20:50", + "21:00", + "21:20", + "21:30", + "21:50", + "22:00", + "22:15", + "22:40", + "22:50", + "22:55", + "23:05" + ], + "stations": [ + [ + "工学院", + 0 + ], + [ + "科研楼", + 0.07692307692307693 + ], + [ + "七号门", + 0.15384615384615385 + ], + [ + "行政楼", + 0.23076923076923078 + ], + [ + "一号门", + 0.3076923076923077 + ], + [ + "三号门", + 0.38461538461538464 + ], + [ + "专家公寓", + 0.46153846153846156 + ], + [ + "教工餐厅", + 0.5384615384615384 + ], + [ + "社康中心", + 0.6153846153846154 + ], + [ + "学生宿舍", + 0.6923076923076923 + ], + [ + "荔园", + 0.7692307692307693 + ], + [ + "慧园", + 0.9230769230769231 + ], + [ + "欣园", + 1 + ] + ], + "minuteOnRoad": 20 +} \ No newline at end of file diff --git a/bus_times/one_up_holiday.json b/bus_times/one_up_holiday.json new file mode 100644 index 000000000..66920a78a --- /dev/null +++ b/bus_times/one_up_holiday.json @@ -0,0 +1,119 @@ +{ + "times": [ + "07:20", + "07:40", + "08:00", + "08:20", + "08:40", + "09:00", + "09:20", + "09:40", + "10:00", + "10:20", + "10:40", + "11:00", + "11:10", + "11:20", + "11:30", + "11:40", + "11:50", + "12:00", + "12:10", + "12:20", + "12:30", + "12:40", + "12:50", + "13:00", + "13:20", + "13:40", + "14:00", + "14:20", + "14:40", + "15:00", + "15:20", + "15:40", + "16:00", + "16:20", + "16:40", + "17:00", + "17:10", + "17:20", + "17:30", + "17:40", + "17:50", + "18:00", + "18:10", + "18:20", + "18:30", + "18:40", + "18:50", + "19:00", + "19:10", + "19:20", + "19:30", + "19:40", + "20:00", + "20:20", + "20:40", + "21:00", + "21:20", + "21:40", + "22:00", + "22:20" + ], + "stations": [ + [ + "工学院", + 0 + ], + [ + "科研楼", + 0.07692307692307693 + ], + [ + "七号门", + 0.15384615384615385 + ], + [ + "行政楼", + 0.23076923076923078 + ], + [ + "一号门", + 0.3076923076923077 + ], + [ + "三号门", + 0.38461538461538464 + ], + [ + "专家公寓", + 0.46153846153846156 + ], + [ + "教工餐厅", + 0.5384615384615384 + ], + [ + "社康中心", + 0.6153846153846154 + ], + [ + "学生宿舍", + 0.6923076923076923 + ], + [ + "荔园", + 0.7692307692307693 + ], + [ + "慧园", + 0.9230769230769231 + ], + [ + "欣园", + 1 + ] + ], + "minuteOnRoad": 20 +} \ No newline at end of file diff --git a/bus_times/two_down.json b/bus_times/two_down.json new file mode 100644 index 000000000..1f983c1cb --- /dev/null +++ b/bus_times/two_down.json @@ -0,0 +1,118 @@ +{ + "times": [ + "07:32", + "07:36", + "07:42", + "07:44", + "07:46", + "07:48", + "07:55", + "08:03", + "08:10", + "08:18", + "08:24", + "08:30", + "08:40", + "08:48", + "08:54", + "08:57", + "09:06", + "09:13", + "09:18", + "09:23", + "09:26", + "09:33", + "09:36", + "09:38", + "09:43", + "09:48", + "09:53", + "09:55", + "09:58", + "10:03", + "10:10", + "10:25", + "10:35", + "10:45", + "10:55", + "11:05", + "11:10", + "11:20", + "11:30", + "11:40", + "11:50", + "11:55", + "12:05", + "12:15", + "12:25", + "12:35", + "12:45", + "13:05", + "13:23", + "13:26", + "13:33", + "13:36", + "13:45", + "13:55", + "14:10", + "14:20", + "14:30", + "14:50", + "15:10", + "15:20", + "15:30", + "15:40", + "15:53", + "15:56", + "16:05", + "16:20", + "16:40", + "17:00", + "17:10", + "17:20", + "17:26", + "17:36", + "17:46", + "17:53", + "18:06", + "18:16", + "18:23", + "18:26", + "18:35", + "18:50", + "19:05", + "19:15", + "19:25" + ], + "stations": [ + [ + "欣园", + 0 + ], + [ + "慧园", + 0.16666666666666666 + ], + [ + "创园", + 0.3333333333333333 + ], + [ + "荔园", + 0.5 + ], + [ + "学生宿舍", + 0.6666666666666666 + ], + [ + "工学院", + 0.8333333333333334 + ], + [ + "科研楼", + 1 + ] + ], + "minuteOnRoad": 15 +} \ No newline at end of file diff --git a/bus_times/two_up.json b/bus_times/two_up.json new file mode 100644 index 000000000..56e8ec3bf --- /dev/null +++ b/bus_times/two_up.json @@ -0,0 +1,123 @@ +{ + "times": [ + "07:35", + "07:43", + "07:55", + "08:13", + "08:22", + "08:28", + "08:34", + "08:38", + "08:48", + "08:57", + "09:03", + "09:13", + "09:33", + "09:35", + "09:43", + "09:46", + "09:53", + "09:56", + "10:03", + "10:06", + "10:15", + "10:25", + "10:35", + "10:45", + "10:55", + "11:05", + "11:15", + "11:25", + "11:35", + "11:45", + "11:55", + "12:05", + "12:15", + "12:18", + "12:25", + "12:33", + "12:36", + "12:45", + "12:55", + "13:05", + "13:15", + "13:25", + "13:33", + "13:36", + "13:45", + "13:53", + "13:56", + "14:15", + "14:25", + "14:35", + "14:45", + "14:55", + "15:10", + "15:30", + "15:45", + "15:58", + "16:03", + "16:06", + "16:20", + "16:40", + "17:10", + "17:20", + "17:35", + "17:45", + "17:55", + "18:05", + "18:15", + "18:23", + "18:26", + "18:40", + "18:50", + "19:05", + "19:15", + "19:25", + "19:35", + "19:45", + "19:55", + "20:05", + "20:25", + "20:45", + "20:55", + "21:03", + "21:10", + "21:40", + "21:53", + "21:56", + "22:10", + "22:30" + ], + "stations": [ + [ + "科研楼", + 0 + ], + [ + "工学院", + 0.16666666666666666 + ], + [ + "学生宿舍", + 0.3333333333333333 + ], + [ + "荔园", + 0.5 + ], + [ + "创园", + 0.6666666666666666 + ], + [ + "慧园", + 0.8333333333333334 + ], + [ + "欣园", + 1 + ] + ], + "minuteOnRoad": 15 +} \ No newline at end of file diff --git a/calendar/2018-2019.html b/calendar/2018-2019.html new file mode 100644 index 000000000..0740496d5 --- /dev/null +++ b/calendar/2018-2019.html @@ -0,0 +1,48 @@ + + + + + + + + + 校历 - 2018-2019 学年 | 南科手册 + + + + + + + + + diff --git a/calendar/2019-2020.html b/calendar/2019-2020.html new file mode 100644 index 000000000..d276134b4 --- /dev/null +++ b/calendar/2019-2020.html @@ -0,0 +1,48 @@ + + + + + + + + + 校历 - 2019-2020 学年 | 南科手册 + + + + + + + + + diff --git a/calendar/2020-2021.html b/calendar/2020-2021.html new file mode 100644 index 000000000..a978c67db --- /dev/null +++ b/calendar/2020-2021.html @@ -0,0 +1,48 @@ + + + + + + + + + 校历 - 2020-2021 学年 | 南科手册 + + + + + + + + + diff --git a/calendar/2021-2022.html b/calendar/2021-2022.html new file mode 100644 index 000000000..295f87f3d --- /dev/null +++ b/calendar/2021-2022.html @@ -0,0 +1,48 @@ + + + + + + + + + 校历 - 2021-2022 学年 | 南科手册 + + + + + + + + + diff --git a/calendar/2021fall.html b/calendar/2021fall.html new file mode 100644 index 000000000..2bb3beeca --- /dev/null +++ b/calendar/2021fall.html @@ -0,0 +1,48 @@ + + + + + + + + + 南科手册 + + + + + + + + + diff --git a/calendar/2022-2023.html b/calendar/2022-2023.html new file mode 100644 index 000000000..10c6d175c --- /dev/null +++ b/calendar/2022-2023.html @@ -0,0 +1,48 @@ + + + + + + + + + 校历 - 2022-2023 学年 | 南科手册 + + + + + + + + + diff --git a/calendar/2023-2024.html b/calendar/2023-2024.html new file mode 100644 index 000000000..3c7710671 --- /dev/null +++ b/calendar/2023-2024.html @@ -0,0 +1,48 @@ + + + + + + + + + 校历 - 2023-2024 学年 | 南科手册 + + + + + + + + + diff --git a/calendar/index.html b/calendar/index.html new file mode 100644 index 000000000..38ffe94a3 --- /dev/null +++ b/calendar/index.html @@ -0,0 +1,48 @@ + + + + + + + + + 📅校历 | 南科手册 + + + + + + + + + diff --git a/canteen/booths.json b/canteen/booths.json new file mode 100644 index 000000000..d4d29927e --- /dev/null +++ b/canteen/booths.json @@ -0,0 +1,12 @@ +{ + "中心餐厅": { + "麻辣烫": 11, + "大众菜左": 12, + "大众菜右": 13, + "特色菜左": 14, + "特色菜中": 15, + "特色菜右": 16 + }, + + "十栋餐厅": { "大众菜左": 21, "大众菜右": 22 } +} diff --git a/canteen/canteen-wx.html b/canteen/canteen-wx.html new file mode 100644 index 000000000..12a60159c --- /dev/null +++ b/canteen/canteen-wx.html @@ -0,0 +1,48 @@ + + + + + + + + + 🍜饭堂服务 | 南科手册 + + + + + +
    + + + diff --git a/canteen/canteens.json b/canteen/canteens.json new file mode 100644 index 000000000..ea8df6210 --- /dev/null +++ b/canteen/canteens.json @@ -0,0 +1,4 @@ +{ + "中心餐厅": "中心餐厅", + "十栋餐厅": "十栋餐厅" +} \ No newline at end of file diff --git a/canteen/index.html b/canteen/index.html new file mode 100644 index 000000000..68008ec77 --- /dev/null +++ b/canteen/index.html @@ -0,0 +1,48 @@ + + + + + + + + + 🍜饭堂服务 | 南科手册 + + + + + + + + + diff --git a/contact/index.html b/contact/index.html new file mode 100644 index 000000000..2a9c7c59e --- /dev/null +++ b/contact/index.html @@ -0,0 +1,48 @@ + + + + + + + + + 📇黄页 | 南科手册 + + + + + +
    + + + diff --git a/contact/professor-emails/index.html b/contact/professor-emails/index.html new file mode 100644 index 000000000..4b3cc469e --- /dev/null +++ b/contact/professor-emails/index.html @@ -0,0 +1,48 @@ + + + + + + + + + 教授邮件列表 | 南科手册 + + + + + +
    + + + diff --git a/emergency/index.html b/emergency/index.html new file mode 100644 index 000000000..05f100905 --- /dev/null +++ b/emergency/index.html @@ -0,0 +1,48 @@ + + + + + + + + + 应急处理 | 南科手册 + + + + + +
    + + + diff --git a/facility/building-11-elevator.html b/facility/building-11-elevator.html new file mode 100644 index 000000000..f77f4b4a8 --- /dev/null +++ b/facility/building-11-elevator.html @@ -0,0 +1,48 @@ + + + + + + + + + 如何“破解”11栋电梯 | 南科手册 + + + + + +
    + + + diff --git a/facility/index.html b/facility/index.html new file mode 100644 index 000000000..07bb08c1f --- /dev/null +++ b/facility/index.html @@ -0,0 +1,48 @@ + + + + + + + + + 🏫建筑与设施 | 南科手册 + + + + + +
    + + + diff --git a/facility/panolens/index.html b/facility/panolens/index.html new file mode 100644 index 000000000..b6516dbfb --- /dev/null +++ b/facility/panolens/index.html @@ -0,0 +1,48 @@ + + + + + + + + + 全景看校园 | 南科手册 + + + + + + + + + diff --git a/if-you-are-a-freshman/2021.html b/if-you-are-a-freshman/2021.html new file mode 100644 index 000000000..f8bd16767 --- /dev/null +++ b/if-you-are-a-freshman/2021.html @@ -0,0 +1,48 @@ + + + + + + + + + 如果你是新生... | 南科手册 + + + + + +
    + + + diff --git a/if-you-are-a-freshman/index.html b/if-you-are-a-freshman/index.html new file mode 100644 index 000000000..51a8bd9ab --- /dev/null +++ b/if-you-are-a-freshman/index.html @@ -0,0 +1,48 @@ + + + + + + + + + 如果你是新生... | 南科手册 + + + + + +
    + + + diff --git a/if-you-are-a-freshman/preview/index.html b/if-you-are-a-freshman/preview/index.html new file mode 100644 index 000000000..de4709558 --- /dev/null +++ b/if-you-are-a-freshman/preview/index.html @@ -0,0 +1,48 @@ + + + + + + + + + 蓢村拾遗:南科大冷知识2021 | 南科手册 + + + + + +
    + + + diff --git a/index-wx.html b/index-wx.html new file mode 100644 index 000000000..10ecac552 --- /dev/null +++ b/index-wx.html @@ -0,0 +1,48 @@ + + + + + + + + + 📚你科手册 | 南科手册 + + + + + +
    + + + diff --git a/index.html b/index.html new file mode 100644 index 000000000..8236c0f05 --- /dev/null +++ b/index.html @@ -0,0 +1,48 @@ + + + + + + + + + 📚南科手册 | 南科手册 + + + + + +
    + + + diff --git "a/life/by-zhicheng-college/\346\226\260\347\224\237\346\224\273\347\225\245\344\271\213\345\256\277\350\210\215\347\224\237\346\264\273\347\257\207.html" "b/life/by-zhicheng-college/\346\226\260\347\224\237\346\224\273\347\225\245\344\271\213\345\256\277\350\210\215\347\224\237\346\264\273\347\257\207.html" new file mode 100644 index 000000000..908307100 --- /dev/null +++ "b/life/by-zhicheng-college/\346\226\260\347\224\237\346\224\273\347\225\245\344\271\213\345\256\277\350\210\215\347\224\237\346\264\273\347\257\207.html" @@ -0,0 +1,48 @@ + + + + + + + + + 新生攻略之宿舍生活篇 | 南科手册 + + + + + +
    + + + diff --git "a/life/by-zhicheng-college/\346\226\260\347\224\237\346\224\273\347\225\245\344\271\213\346\240\241\345\206\205\344\273\213\347\273\215\347\257\207.html" "b/life/by-zhicheng-college/\346\226\260\347\224\237\346\224\273\347\225\245\344\271\213\346\240\241\345\206\205\344\273\213\347\273\215\347\257\207.html" new file mode 100644 index 000000000..d57f9be1f --- /dev/null +++ "b/life/by-zhicheng-college/\346\226\260\347\224\237\346\224\273\347\225\245\344\271\213\346\240\241\345\206\205\344\273\213\347\273\215\347\257\207.html" @@ -0,0 +1,48 @@ + + + + + + + + + 新生攻略之校内介绍篇 | 南科手册 + + + + + +
    + + + diff --git "a/life/by-zhicheng-college/\346\226\260\347\224\237\346\224\273\347\225\245\344\271\213\347\244\276\345\233\242\347\257\207.html" "b/life/by-zhicheng-college/\346\226\260\347\224\237\346\224\273\347\225\245\344\271\213\347\244\276\345\233\242\347\257\207.html" new file mode 100644 index 000000000..12287f95e --- /dev/null +++ "b/life/by-zhicheng-college/\346\226\260\347\224\237\346\224\273\347\225\245\344\271\213\347\244\276\345\233\242\347\257\207.html" @@ -0,0 +1,48 @@ + + + + + + + + + 新生攻略之社团篇 | 南科手册 + + + + + +
    + + + diff --git a/life/catering/index.html b/life/catering/index.html new file mode 100644 index 000000000..ddeb55524 --- /dev/null +++ b/life/catering/index.html @@ -0,0 +1,48 @@ + + + + + + + + + ☕️餐饮 | 南科手册 + + + + + +
    + + + diff --git a/life/dormitory/dorm-floor-plan.html b/life/dormitory/dorm-floor-plan.html new file mode 100644 index 000000000..9442ceb1a --- /dev/null +++ b/life/dormitory/dorm-floor-plan.html @@ -0,0 +1,48 @@ + + + + + + + + + 宿舍平面图 | 南科手册 + + + + + + + + + diff --git a/life/dormitory/index.html b/life/dormitory/index.html new file mode 100644 index 000000000..9550689a0 --- /dev/null +++ b/life/dormitory/index.html @@ -0,0 +1,48 @@ + + + + + + + + + 🏠住在南科 | 南科手册 + + + + + +
    + + + diff --git a/life/freshman-register/index.html b/life/freshman-register/index.html new file mode 100644 index 000000000..bc8a23994 --- /dev/null +++ b/life/freshman-register/index.html @@ -0,0 +1,48 @@ + + + + + + + + + 新生报到 | 南科手册 + + + + + +
    + + + diff --git a/life/index.html b/life/index.html new file mode 100644 index 000000000..b7e228bc3 --- /dev/null +++ b/life/index.html @@ -0,0 +1,48 @@ + + + + + + + + + 👨‍🎓生活在南科 | 南科手册 + + + + + +
    + + + diff --git a/life/sports-facility/index.html b/life/sports-facility/index.html new file mode 100644 index 000000000..1e9b7328b --- /dev/null +++ b/life/sports-facility/index.html @@ -0,0 +1,48 @@ + + + + + + + + + 🏊‍♀️运动设施 | 南科手册 + + + + + +
    + + + diff --git a/life/vehicle-charger.html b/life/vehicle-charger.html new file mode 100644 index 000000000..db015415b --- /dev/null +++ b/life/vehicle-charger.html @@ -0,0 +1,48 @@ + + + + + + + + + 充电桩分布 | 南科手册 + + + + + +
    + + + diff --git a/logo-assets/touch/homescreen144.png b/logo-assets/touch/homescreen144.png new file mode 100644 index 000000000..5449a4bae Binary files /dev/null and b/logo-assets/touch/homescreen144.png differ diff --git a/logo-assets/touch/homescreen168.png b/logo-assets/touch/homescreen168.png new file mode 100644 index 000000000..b0387f2f1 Binary files /dev/null and b/logo-assets/touch/homescreen168.png differ diff --git a/logo-assets/touch/homescreen192.png b/logo-assets/touch/homescreen192.png new file mode 100644 index 000000000..19bd1b904 Binary files /dev/null and b/logo-assets/touch/homescreen192.png differ diff --git a/logo-assets/touch/homescreen48.png b/logo-assets/touch/homescreen48.png new file mode 100644 index 000000000..aaa11829f Binary files /dev/null and b/logo-assets/touch/homescreen48.png differ diff --git a/logo-assets/touch/homescreen512.png b/logo-assets/touch/homescreen512.png new file mode 100644 index 000000000..93b6c60d4 Binary files /dev/null and b/logo-assets/touch/homescreen512.png differ diff --git a/logo-assets/touch/homescreen72.png b/logo-assets/touch/homescreen72.png new file mode 100644 index 000000000..dcb38901c Binary files /dev/null and b/logo-assets/touch/homescreen72.png differ diff --git a/logo-assets/touch/homescreen96.png b/logo-assets/touch/homescreen96.png new file mode 100644 index 000000000..2dfe87d19 Binary files /dev/null and b/logo-assets/touch/homescreen96.png differ diff --git a/manifest.webmanifest b/manifest.webmanifest new file mode 100644 index 000000000..2df369efd --- /dev/null +++ b/manifest.webmanifest @@ -0,0 +1 @@ +{"name":"南科手册","short_name":"南科手册","description":"Online manual for sustecher","lang":"zh-CN","start_url":"/index.html","scope":"/","display":"standalone","theme_color":"#3eaf7c","background_color":"#fff","orientation":"portrait-primary","prefer_related_applications":false,"icons":[{"src":"logo-assets/touch/homescreen48.png","sizes":"48x48","type":"image/png"},{"src":"logo-assets/touch/homescreen72.png","sizes":"72x72","type":"image/png"},{"src":"logo-assets/touch/homescreen96.png","sizes":"96x96","type":"image/png"},{"src":"logo-assets/touch/homescreen144.png","sizes":"144x144","type":"image/png"},{"src":"logo-assets/touch/homescreen168.png","sizes":"168x168","type":"image/png"},{"src":"logo-assets/touch/homescreen192.png","sizes":"192x192","type":"image/png"},{"src":"logo-assets/touch/homescreen512.png","sizes":"512x512","type":"image/png"}]} diff --git a/media/index.html b/media/index.html new file mode 100644 index 000000000..dfd9c4367 --- /dev/null +++ b/media/index.html @@ -0,0 +1,48 @@ + + + + + + + + + 📺媒体与网站 | 南科手册 + + + + + +
    + + + diff --git a/miniapp/index.html b/miniapp/index.html new file mode 100644 index 000000000..21ecd033a --- /dev/null +++ b/miniapp/index.html @@ -0,0 +1,48 @@ + + + + + + + + + 南科手册-微信小程序 | 南科手册 + + + + + + + + + diff --git a/news/index.html b/news/index.html new file mode 100644 index 000000000..b70b3e8b9 --- /dev/null +++ b/news/index.html @@ -0,0 +1,48 @@ + + + + + + + + + 更新日志 | 南科手册 + + + + + + + + + diff --git a/organizations/index.html b/organizations/index.html new file mode 100644 index 000000000..965ac9768 --- /dev/null +++ b/organizations/index.html @@ -0,0 +1,48 @@ + + + + + + + + + 🎡社团活动 | 南科手册 + + + + + +
    + + + diff --git a/organizations/registered-organization-2019.html b/organizations/registered-organization-2019.html new file mode 100644 index 000000000..2cdba5042 --- /dev/null +++ b/organizations/registered-organization-2019.html @@ -0,0 +1,48 @@ + + + + + + + + + 注册社团列表(2018-2019年度) | 南科手册 + + + + + +
    + + + diff --git a/organizations/registered-organization-2020.html b/organizations/registered-organization-2020.html new file mode 100644 index 000000000..219b8b2b0 --- /dev/null +++ b/organizations/registered-organization-2020.html @@ -0,0 +1,48 @@ + + + + + + + + + 注册社团列表(2019-2020年度) | 南科手册 + + + + + +
    + + + diff --git a/organizations/registered-organization-2021.html b/organizations/registered-organization-2021.html new file mode 100644 index 000000000..23cb6258b --- /dev/null +++ b/organizations/registered-organization-2021.html @@ -0,0 +1,48 @@ + + + + + + + + + 注册社团列表(2020-2021年度) | 南科手册 + + + + + +
    + + + diff --git a/qr-code.jpg b/qr-code.jpg new file mode 100644 index 000000000..edd13c754 Binary files /dev/null and b/qr-code.jpg differ diff --git a/realtime-bus-map/line1.geojson b/realtime-bus-map/line1.geojson new file mode 100644 index 000000000..4e65d54e6 --- /dev/null +++ b/realtime-bus-map/line1.geojson @@ -0,0 +1,285 @@ +{ + "type": "FeatureCollection", + "features": [ + { + "type": "Feature", + "geometry": { + "type": "LineString", + "coordinates": [ + [ + 113.9902000608227, + 22.60334446057298, + 0 + ], + [ + 113.9903507353066, + 22.60274690433305, + 0 + ], + [ + 113.9908897685934, + 22.60223280847205, + 0 + ], + [ + 113.9916260097764, + 22.60156692563558, + 0 + ], + [ + 113.9920446448193, + 22.60109135771524, + 0 + ], + [ + 113.9920345671635, + 22.60052003061499, + 0 + ], + [ + 113.9919356057219, + 22.60002742855453, + 0 + ], + [ + 113.9913193648925, + 22.59945330686925, + 0 + ], + [ + 113.9908118273651, + 22.59919305096794, + 0 + ], + [ + 113.9905758993394, + 22.59903425858952, + 0 + ], + [ + 113.9904009525345, + 22.59862018369482, + 0 + ], + [ + 113.9902978490773, + 22.59752639824848, + 0 + ], + [ + 113.9904063277428, + 22.59709615868556, + 0 + ], + [ + 113.9908760621444, + 22.59704147897459, + 0 + ], + [ + 113.9915566904328, + 22.5972455558366, + 0 + ], + [ + 113.9920342333153, + 22.59726814181022, + 0 + ], + [ + 113.9927162086146, + 22.5968173712095, + 0 + ], + [ + 113.9932552142158, + 22.59630326187374, + 0 + ], + [ + 113.9938251162565, + 22.5960599036024, + 0 + ], + [ + 113.9942637689173, + 22.59607116200299, + 0 + ], + [ + 113.9945506236767, + 22.59551917942994, + 0 + ], + [ + 113.9952872316258, + 22.59597241715224, + 0 + ], + [ + 113.9965296425777, + 22.59731692465482, + 0 + ], + [ + 113.9980455511388, + 22.59902110136386, + 0 + ], + [ + 113.9987961352288, + 22.59953364148681, + 0 + ], + [ + 113.9996172189355, + 22.60002130471761, + 0 + ], + [ + 113.9988625272248, + 22.60073512664515, + 0 + ], + [ + 113.998734780645, + 22.60117875994807, + 0 + ], + [ + 113.9987272567012, + 22.60148247090658, + 0 + ], + [ + 113.9984811102924, + 22.60178382602745, + 0 + ], + [ + 113.9982613807302, + 22.6021205004729, + 0 + ], + [ + 113.9980697519452, + 22.60258771673122, + 0 + ], + [ + 113.9980026147617, + 22.60300575140722, + 0 + ], + [ + 113.9979489117119, + 22.60325062940188, + 0 + ], + [ + 113.9978602396981, + 22.6033412591236, + 0 + ], + [ + 113.9968866415579, + 22.6029808956564, + 0 + ], + [ + 113.9962401029074, + 22.60288348203091, + 0 + ], + [ + 113.9955117554291, + 22.60290040283193, + 0 + ], + [ + 113.9950813789864, + 22.60335930509263, + 0 + ], + [ + 113.9944946598457, + 22.60394737599491, + 0 + ], + [ + 113.9939497003322, + 22.60464554145209, + 0 + ], + [ + 113.9934784038899, + 22.60548092977822, + 0 + ], + [ + 113.995278497141, + 22.60640224097063, + 0 + ], + [ + 113.9953277666447, + 22.60667341560261, + 0 + ], + [ + 113.9964905851169, + 22.6063775771138, + 0 + ], + [ + 113.9977156537446, + 22.60596002561628, + 0 + ], + [ + 113.9983207115444, + 22.60613169032316, + 0 + ], + [ + 113.9986648706885, + 22.60659923685179, + 0 + ], + [ + 113.9988979465801, + 22.60815331611633, + 0 + ], + [ + 113.9981618912118, + 22.60975341767644, + 0 + ], + [ + 113.9976555155949, + 22.61051444868976, + 0 + ], + [ + 113.9973489079054, + 22.61067741494136, + 0 + ] + ] + }, + "properties": { + "name": "Line1", + "styleUrl": "#msn_ylw-pushpin", + "styleHash": "3e8201bc", + "styleMapHash": { + "normal": "#sn_ylw-pushpin", + "highlight": "#sh_ylw-pushpin" + }, + "stroke": "#ff97bc", + "stroke-opacity": 1, + "stroke-width": 5 + } + } + ] +} \ No newline at end of file diff --git a/realtime-bus-map/line2.geojson b/realtime-bus-map/line2.geojson new file mode 100644 index 000000000..749ec217a --- /dev/null +++ b/realtime-bus-map/line2.geojson @@ -0,0 +1,145 @@ +{ + "type": "FeatureCollection", + "features": [ + { + "type": "Feature", + "geometry": { + "type": "LineString", + "coordinates": [ + [ + 113.9914596783045, + 22.59960492109923, + 0 + ], + [ + 113.9918969233072, + 22.59993661748595, + 0 + ], + [ + 113.9920105698998, + 22.6005318195689, + 0 + ], + [ + 113.9919172423369, + 22.60102266627295, + 0 + ], + [ + 113.9917196221943, + 22.601431625928, + 0 + ], + [ + 113.9912862193332, + 22.60181812810236, + 0 + ], + [ + 113.9909041713777, + 22.60213330809864, + 0 + ], + [ + 113.9904804856139, + 22.60253483338519, + 0 + ], + [ + 113.9903330314688, + 22.60277899659393, + 0 + ], + [ + 113.9900477774609, + 22.60433153499769, + 0 + ], + [ + 113.9900962409839, + 22.60464254738627, + 0 + ], + [ + 113.9903161120924, + 22.60505460565142, + 0 + ], + [ + 113.9915641615897, + 22.60511717356275, + 0 + ], + [ + 113.9934784038899, + 22.60548092977822, + 0 + ], + [ + 113.995278497141, + 22.60640224097063, + 0 + ], + [ + 113.9953277666447, + 22.60667341560261, + 0 + ], + [ + 113.9964905851169, + 22.6063775771138, + 0 + ], + [ + 113.9977156537446, + 22.60596002561628, + 0 + ], + [ + 113.9983207115444, + 22.60613169032316, + 0 + ], + [ + 113.9986648706885, + 22.60659923685179, + 0 + ], + [ + 113.9988979465801, + 22.60815331611633, + 0 + ], + [ + 113.9981618912118, + 22.60975341767644, + 0 + ], + [ + 113.9976555155949, + 22.61051444868976, + 0 + ], + [ + 113.9973489079054, + 22.61067741494136, + 0 + ] + ] + }, + "properties": { + "name": "Line2", + "styleUrl": "#msn_ylw-pushpin", + "styleHash": "305bface", + "styleMapHash": { + "normal": "#sn_ylw-pushpin", + "highlight": "#sh_ylw-pushpin" + }, + "stroke": "#ffd100", + "stroke-opacity": 1, + "stroke-width": 5 + } + } + ] +} \ No newline at end of file diff --git a/robot.txt b/robot.txt new file mode 100644 index 000000000..df843278a --- /dev/null +++ b/robot.txt @@ -0,0 +1,5 @@ +User-agent: * + +Allow: / + +Sitemap: https://sustech.online/sitemap.xml diff --git a/service-worker.js b/service-worker.js new file mode 100644 index 000000000..36617d234 --- /dev/null +++ b/service-worker.js @@ -0,0 +1 @@ +if(!self.define){let s,e={};const a=(a,i)=>(a=new URL(a+".js",i).href,e[a]||new Promise((e=>{if("document"in self){const s=document.createElement("script");s.src=a,s.onload=e,document.head.appendChild(s)}else s=a,importScripts(a),e()})).then((()=>{let s=e[a];if(!s)throw new Error(`Module ${a} didn’t register its module`);return s})));self.define=(i,d)=>{const c=s||("document"in self?document.currentScript.src:"")||location.href;if(e[c])return;let r={};const t=s=>a(s,c),l={module:{uri:c},exports:r,require:t};e[c]=Promise.all(i.map((s=>l[s]||t(s)))).then((s=>(d(...s),r)))}}define(["./workbox-b584cb72"],(function(s){"use strict";self.addEventListener("message",(s=>{s.data&&"SKIP_WAITING"===s.data.type&&self.skipWaiting()})),s.clientsClaim(),s.precacheAndRoute([{url:"assets/2018-2019.html-BwvWFhgm.js",revision:"9c7ddff60a5612f121aef4dcb7e7f6cd"},{url:"assets/2019-2020.html-Db2lJysB.js",revision:"7804eaf40e662eda6b68cb136bdffe8d"},{url:"assets/2020-2021.html-DUfiIUal.js",revision:"170ddec161500fbd214b528ba748fc86"},{url:"assets/2021-2022.html-C_NxjIvl.js",revision:"50c3b17a082ae88d6874af71298053ab"},{url:"assets/2021.html-BtvRM_eq.js",revision:"68a58a4c5c76dda4099e84e24e8f582d"},{url:"assets/2021fall.html-VTielChk.js",revision:"0bd6ab5fe7b95efa7876063a305bacdb"},{url:"assets/2022-2023.html-CT6qDa6y.js",revision:"48e46e5ecc50d0823944864f4611ac9c"},{url:"assets/2023-2024.html-CceQ4CII.js",revision:"b91e4cbc331147e3f3f06e83c69a4c90"},{url:"assets/2024-2-Dsw9L24n.js",revision:"f88d0a78328b31f2357247390e481a52"},{url:"assets/3-By_0Luwc.js",revision:"203930807b5117646828687a50966e4d"},{url:"assets/404.html-C7Zu1eiz.js",revision:"c9c281ac5c0e56b7424c382f099230ff"},{url:"assets/adt.html-Dozl1b7B.js",revision:"d7e873f05cd871726f2c4124715b53fe"},{url:"assets/advice-on-study.html-D5d8w7Xe.js",revision:"9ccd142e4167d2bf8dff8e074ede3f71"},{url:"assets/app-CAXKJsZK.js",revision:"a354c8c9f6addff741da741259063cf5"},{url:"assets/building-11-elevator.html-D_4lhWz7.js",revision:"153ced998adb48a50bc9bbb5accaf994"},{url:"assets/busline2-a5ykBpx8.js",revision:"c12e4a468cfa8aa4ae18d76440c79db8"},{url:"assets/bustimer-old.html-CIk1RF6S.js",revision:"a34be5975b4b2fd5672ba2557c68f099"},{url:"assets/bustimer-wx.html-BjIRbdkY.js",revision:"5ae204821deabae02c4c01eb1a9b5f8b"},{url:"assets/bustimer.html-OKnEiwmm.js",revision:"b611b7f99b4caa34df45127722f4ffe8"},{url:"assets/canteen-wx.html-B01Guv6X.js",revision:"de6a9738c98b2fe3c7d9d700d690df33"},{url:"assets/CC-BY-SA_icon-5Xmumph6.svg",revision:"af17d52ad72e6d1015d183d060e68046"},{url:"assets/CC-BY-SA_icon-BrYTWxWC.js",revision:"5705c7d01271c4fa53d2857071b1558f"},{url:"assets/dorm-floor-plan.html-BM8fKf3H.js",revision:"e4c1c47b6938abe441ade084fcfc5fa9"},{url:"assets/holiday.html-CQKGMrsI.js",revision:"307b548e6e700330e06f7080b0d39833"},{url:"assets/index-DTEEl-sV.js",revision:"46a193641571106d3b7b43f9bc2a2735"},{url:"assets/index-DWGeGWcS.js",revision:"9eb55c04adcd8c5b42ba99cf8cea9a47"},{url:"assets/index-wx.html-BbsdHAGY.js",revision:"4102df82e79aa58bc6205b48c126d6c2"},{url:"assets/index.html-2k2ELrJC.js",revision:"5bf6e49d7b40f2e8358fe399a96f3d02"},{url:"assets/index.html-55391GHD.js",revision:"0f451f8fc570bd6c294d097eb9f8f04a"},{url:"assets/index.html-6ArOatwO.js",revision:"1d05c9ab36c5ca507a18de559d64d2cd"},{url:"assets/index.html-Bb5AGtLl.js",revision:"0448bdde97f1724d6e6f4a96bb491b10"},{url:"assets/index.html-BC9jjslU.js",revision:"a23ba09b4dd1aaf2244f8c17fee26457"},{url:"assets/index.html-BG9HB7g4.js",revision:"3ccc30af3ce5c393de333f1c709cc667"},{url:"assets/index.html-BivENQ4t.js",revision:"cd1a00c7bb88c90b9712322bf6875112"},{url:"assets/index.html-Blm1NxVU.js",revision:"bdbe9173ed18e6120b2be8ea0a1f2903"},{url:"assets/index.html-BnGiriS9.js",revision:"152a7cc2a87e3bb4df9c9e96293cc4a4"},{url:"assets/index.html-BQ-FjBAh.js",revision:"348365efbfd10c33653fb7a19287e24c"},{url:"assets/index.html-BRDX-VhE.js",revision:"fcfa334e9ff71ede8974bd9b9e8ea9f6"},{url:"assets/index.html-BRf8f6nn.js",revision:"ca2a6745466063fc2230f3d402a55585"},{url:"assets/index.html-BS4qaOZ1.js",revision:"1fadb7edbb547241a1817f341a219cd4"},{url:"assets/index.html-BZUn4ZJM.js",revision:"3b1c99c48347b4e6c1df53e8937994ce"},{url:"assets/index.html-C3tGdt7I.js",revision:"1901bccdad86580e17609491fa1bb72b"},{url:"assets/index.html-CbACfGEh.js",revision:"20d3e0025d07e28f17a96eace0dcd580"},{url:"assets/index.html-CeI5cILP.js",revision:"c01b6b7613b6fd528639db77a6ec416e"},{url:"assets/index.html-CFWaM9JM.js",revision:"88c62e5e877fc1fb8c99806c36fa2ecb"},{url:"assets/index.html-CGhJILiG.js",revision:"f9690ded93dcb5f1bcef341775599252"},{url:"assets/index.html-CGorN1uQ.js",revision:"493442335c1433718a833218064e5975"},{url:"assets/index.html-Cm4nwcoP.js",revision:"9f61297c794b4cdad905db7cb9ad09a1"},{url:"assets/index.html-CMZeBYPL.js",revision:"9155aa0b92dac44ec9b465c767a6ffc1"},{url:"assets/index.html-CNEv92mS.js",revision:"509479cdc13481e90b687721aa7c63f4"},{url:"assets/index.html-CPvJSkac.js",revision:"21c20a4dc94a13be1fc5323c4e36365d"},{url:"assets/index.html-CWBsguBz.js",revision:"c2eb84b6d12ff2bfa959e123acc676c3"},{url:"assets/index.html-Da0TzRGr.js",revision:"c48d7f40b014a0c89c8966a8e3638624"},{url:"assets/index.html-DbtH2J2h.js",revision:"7a2315c7354d921aaeb1c73c73f91523"},{url:"assets/index.html-DC28O9ym.js",revision:"a38b2bc9bfcadce552ee7ec1d2aded78"},{url:"assets/index.html-DdZB6oVp.js",revision:"e027b3d9d834690fb92862fdc41cd815"},{url:"assets/index.html-DeA_Q-FQ.js",revision:"cc92650910ee19af9fa04e79236d5bfc"},{url:"assets/index.html-DghbAH_Y.js",revision:"fbdd58992d425b607722bcb9846afe59"},{url:"assets/index.html-DiFnQrIv.js",revision:"b65f638e3b56e0d19988ce24a8efa582"},{url:"assets/index.html-DISSKEos.js",revision:"f9e8b738b744f6285fbb2a02871a7c94"},{url:"assets/index.html-DIv-Ebu7.js",revision:"ddc43f7ac56f16914d43749d7b0c22a1"},{url:"assets/index.html-DLqRK9Z0.js",revision:"87432ccf232b1582ee21cad5b09ed00f"},{url:"assets/index.html-DmD24g6o.js",revision:"bd255455fd2cf0cd6930b25079e3c04c"},{url:"assets/index.html-DMHzskEC.js",revision:"4d8de37c493d76648d76e228d76718d3"},{url:"assets/index.html-Doz9SO92.js",revision:"df1f6412e9024e38deb4133ff0c7512c"},{url:"assets/index.html-DPFaczZw.js",revision:"8f6ef5f4c1d299bf8f4c49241fc25f72"},{url:"assets/index.html-DvdYJi5S.js",revision:"710f99a22d151bd7adf8053f3ff36950"},{url:"assets/index.html-Dyljf7_p.js",revision:"8648c75902abf6f524e688b18e0b8d73"},{url:"assets/index.html-DzLWaBqz.js",revision:"e76ab9936cd093ae5996601126c3e640"},{url:"assets/index.html-Fha3PaEM.js",revision:"b3cfa3ff9cc24def290a4a10f5ccfc58"},{url:"assets/index.html-pvDJYVKw.js",revision:"ce35709131e9dd9ecac08cc2354da107"},{url:"assets/index.html-w-WI2k6c.js",revision:"f9a1cd7d9d983ea12c5ed00fd95cf1c9"},{url:"assets/index.html-WMIP-AiM.js",revision:"1f3505a982ddb16d27c9a9ef84407ac8"},{url:"assets/index.html-ZT-TcLA9.js",revision:"a206befa2c7e45a9b2bb881b25961fd8"},{url:"assets/info-on-study.html-B3QFlDfa.js",revision:"3a78ea5623505c2a5445b9178f0aac6a"},{url:"assets/innovative-project.html-Bf9LqWkH.js",revision:"3cfda9a6f88eb7ef93e7117dae8d4c92"},{url:"assets/paper-tools.html-NZ0vPFXW.js",revision:"ba7ae4d2ef5f6e63336a9504e5151091"},{url:"assets/redirect.html-CnLuAqla.js",revision:"e6d719bab93a6ff128b1564b0966c5ba"},{url:"assets/registered-organization-2019.html-DYjSnj_m.js",revision:"4b837f417a561e5e009fde55f451ea63"},{url:"assets/registered-organization-2020.html-BUFfIw6e.js",revision:"b3606ff1bdfd0bc033738fe128f63595"},{url:"assets/registered-organization-2021.html-BR5MjOvl.js",revision:"313320950444acadd90a7f92e686cfd5"},{url:"assets/send-receive-email-by-proxy.html-eK1B-c2t.js",revision:"d280bb0decb67e18ba89cdad788a54e1"},{url:"assets/streetview-BPNYhKz7.svg",revision:"1827283dd10029f62907c30200d911b5"},{url:"assets/style-h421m8Lc.css",revision:"02364ddb86aaf781e48406145b116997"},{url:"assets/vehicle-charger.html-DyH3SUKE.js",revision:"4420d0dcafb6d2ef2d50022c8b5149bb"},{url:"assets/workday.html-BoYrvDQg.js",revision:"d074c3219688a838ca0c2c28bf2a5da2"},{url:"assets/新生攻略之学习篇.html-D6tAPWFR.js",revision:"420c2c9c7f679d92c3528df4282a8007"},{url:"assets/新生攻略之宿舍生活篇.html-DaRl0WBa.js",revision:"15b1b61456cd73baa755253d78b0eae3"},{url:"assets/新生攻略之校内介绍篇.html-DxIWELax.js",revision:"a7d68648cd101142a109441827435d42"},{url:"assets/新生攻略之社团篇.html-D6mtc7o1.js",revision:"e0ef134ce46041bf62835f0f1d2897ae"},{url:"wx_helper.js",revision:"ae5796a0770fb4529273541aec77ad1d"},{url:"index.html",revision:"7378713df79eb0c875877327d4ae5166"},{url:"404.html",revision:"5275297e1db6ed4cc7a1d6e5079d838b"}],{}),s.cleanupOutdatedCaches()})); diff --git a/service/blackboard/retrive-ics-url/index.html b/service/blackboard/retrive-ics-url/index.html new file mode 100644 index 000000000..f117c603e --- /dev/null +++ b/service/blackboard/retrive-ics-url/index.html @@ -0,0 +1,48 @@ + + + + + + + + + BB | 将Blackboard中作业,DDL等日程添加到系统日历 | 南科手册 + + + + + +
    + + + diff --git a/service/campus-card/index.html b/service/campus-card/index.html new file mode 100644 index 000000000..25475e2d3 --- /dev/null +++ b/service/campus-card/index.html @@ -0,0 +1,48 @@ + + + + + + + + + 💳校园卡 | 南科手册 + + + + + +
    + + + diff --git a/service/email/index.html b/service/email/index.html new file mode 100644 index 000000000..063322e90 --- /dev/null +++ b/service/email/index.html @@ -0,0 +1,48 @@ + + + + + + + + + 电子邮件服务 | 南科手册 + + + + + +
    + + + diff --git a/service/email/send-receive-email-by-proxy.html b/service/email/send-receive-email-by-proxy.html new file mode 100644 index 000000000..a46b86749 --- /dev/null +++ b/service/email/send-receive-email-by-proxy.html @@ -0,0 +1,48 @@ + + + + + + + + + 解决邮箱容量不足的问题 | 南科手册 + + + + + +
    + + + diff --git a/service/index.html b/service/index.html new file mode 100644 index 000000000..ff3c5dce2 --- /dev/null +++ b/service/index.html @@ -0,0 +1,48 @@ + + + + + + + + + 🖥服务与技巧 | 南科手册 + + + + + +
    + + + diff --git a/service/mail-and-express/index.html b/service/mail-and-express/index.html new file mode 100644 index 000000000..3d4711b3d --- /dev/null +++ b/service/mail-and-express/index.html @@ -0,0 +1,48 @@ + + + + + + + + + 📦邮件与快递收发 | 南科手册 + + + + + +
    + + + diff --git a/service/matlab/index.html b/service/matlab/index.html new file mode 100644 index 000000000..d9b3466d0 --- /dev/null +++ b/service/matlab/index.html @@ -0,0 +1,48 @@ + + + + + + + + + MATLAB 激活 | 南科手册 + + + + + +
    + + + diff --git a/service/medical-treatment/index.html b/service/medical-treatment/index.html new file mode 100644 index 000000000..cc7be8f8b --- /dev/null +++ b/service/medical-treatment/index.html @@ -0,0 +1,48 @@ + + + + + + + + + 🏥就医指南 | 南科手册 + + + + + +
    + + + diff --git a/service/network/apply-for-vpn/index.html b/service/network/apply-for-vpn/index.html new file mode 100644 index 000000000..8890ae80f --- /dev/null +++ b/service/network/apply-for-vpn/index.html @@ -0,0 +1,48 @@ + + + + + + + + + 申请回校VPN | 南科手册 + + + + + + + + + diff --git a/service/network/choose-a-pad/index.html b/service/network/choose-a-pad/index.html new file mode 100644 index 000000000..7b6457941 --- /dev/null +++ b/service/network/choose-a-pad/index.html @@ -0,0 +1,48 @@ + + + + + + + + + 选择一台合适的平板电脑 | 南科手册 + + + + + +
    + + + diff --git a/service/network/choose-a-router/index.html b/service/network/choose-a-router/index.html new file mode 100644 index 000000000..0100ca7f7 --- /dev/null +++ b/service/network/choose-a-router/index.html @@ -0,0 +1,48 @@ + + + + + + + + + 📶选择一台合适的路由器 | 南科手册 + + + + + +
    + + + diff --git a/service/network/eduroam/index.html b/service/network/eduroam/index.html new file mode 100644 index 000000000..70b024058 --- /dev/null +++ b/service/network/eduroam/index.html @@ -0,0 +1,48 @@ + + + + + + + + + eduroam(学术网路漫游) | 南科手册 + + + + + +
    + + + diff --git a/service/network/index.html b/service/network/index.html new file mode 100644 index 000000000..6582f3058 --- /dev/null +++ b/service/network/index.html @@ -0,0 +1,86 @@ + + + + + + + + + 🌐网络与信息中心 (its@sustech.edu.cn) | 南科手册 + + + + + +
    + + + diff --git a/service/network/ipv6/index.html b/service/network/ipv6/index.html new file mode 100644 index 000000000..be6ea143b --- /dev/null +++ b/service/network/ipv6/index.html @@ -0,0 +1,75 @@ + + + + + + + + + 校内 IPv6 设置教程 | 南科手册 + + + + + +
    + + + diff --git a/service/network/remote-desktop/index.html b/service/network/remote-desktop/index.html new file mode 100644 index 000000000..2599925d8 --- /dev/null +++ b/service/network/remote-desktop/index.html @@ -0,0 +1,152 @@ + + + + + + + + + 校内远程桌面使用指北 | 南科手册 + + + + + +
    + + + diff --git a/service/network/use-vpn/index.html b/service/network/use-vpn/index.html new file mode 100644 index 000000000..3f6312b8b --- /dev/null +++ b/service/network/use-vpn/index.html @@ -0,0 +1,48 @@ + + + + + + + + + 使用 SSL VPN 说明 | 南科手册 + + + + + +
    + + + diff --git a/service/sakai/index.html b/service/sakai/index.html new file mode 100644 index 000000000..425eb1e71 --- /dev/null +++ b/service/sakai/index.html @@ -0,0 +1,48 @@ + + + + + + + + + Sakai | 文件分享 | 南科手册 + + + + + +
    + + + diff --git a/service/sid/index.html b/service/sid/index.html new file mode 100644 index 000000000..1fb4b7088 --- /dev/null +++ b/service/sid/index.html @@ -0,0 +1,48 @@ + + + + + + + + + 学号(SID) | 南科手册 + + + + + +
    + + + diff --git a/service/student-train-ticket/index.html b/service/student-train-ticket/index.html new file mode 100644 index 000000000..9c9d56469 --- /dev/null +++ b/service/student-train-ticket/index.html @@ -0,0 +1,48 @@ + + + + + + + + + 火车票学生优惠使用指南 | 南科手册 + + + + + +
    + + + diff --git a/service/tax/index.html b/service/tax/index.html new file mode 100644 index 000000000..7a1d05241 --- /dev/null +++ b/service/tax/index.html @@ -0,0 +1,48 @@ + + + + + + + + + 如何申报退税?-- 年度个人所得税年度汇算 | 南科手册 + + + + + +
    + + + diff --git a/service/unifound/index.html b/service/unifound/index.html new file mode 100644 index 000000000..170235a24 --- /dev/null +++ b/service/unifound/index.html @@ -0,0 +1,48 @@ + + + + + + + + + 🖨️联创打印系统 | 南科手册 + + + + + +
    + + + diff --git a/service/work-wechat/index.html b/service/work-wechat/index.html new file mode 100644 index 000000000..ac33eeece --- /dev/null +++ b/service/work-wechat/index.html @@ -0,0 +1,48 @@ + + + + + + + + + 企业微信 | 南科手册 + + + + + +
    + + + diff --git a/site-help/adt.html b/site-help/adt.html new file mode 100644 index 000000000..3686c6b91 --- /dev/null +++ b/site-help/adt.html @@ -0,0 +1,48 @@ + + + + + + + + + ADT | 南科手册 + + + + + + + + + diff --git a/site-help/index.html b/site-help/index.html new file mode 100644 index 000000000..ebc26b294 --- /dev/null +++ b/site-help/index.html @@ -0,0 +1,48 @@ + + + + + + + + + ❓站点帮助 | 南科手册 + + + + + +
    + + + diff --git a/sitemap.xml b/sitemap.xml new file mode 100644 index 000000000..efbc37aeb --- /dev/null +++ b/sitemap.xml @@ -0,0 +1,3 @@ + + +https://sustech.online/2024-08-31T12:51:11.000Zdailyhttps://sustech.online/index-wx.html2024-08-31T12:51:11.000Zdailyhttps://sustech.online/about/2024-01-01T14:40:54.000Zdailyhttps://sustech.online/calendar/2018-2019.html2021-12-21T08:56:47.000Zdailyhttps://sustech.online/calendar/2019-2020.html2021-12-21T08:56:47.000Zdailyhttps://sustech.online/calendar/2020-2021.html2021-12-21T08:56:47.000Zdailyhttps://sustech.online/calendar/2021-2022.html2022-12-15T07:33:39.000Zdailyhttps://sustech.online/calendar/2021fall.html2022-02-14T08:12:16.000Zdailyhttps://sustech.online/calendar/2022-2023.html2022-12-16T03:03:14.000Zdailyhttps://sustech.online/calendar/2023-2024.html2024-01-27T11:38:48.000Zdailyhttps://sustech.online/calendar/2024-01-27T11:38:48.000Zdailyhttps://sustech.online/canteen/2024-01-22T12:01:20.000Zdailyhttps://sustech.online/canteen/canteen-wx.html2024-01-22T12:01:20.000Zdailyhttps://sustech.online/contact/2024-07-22T02:04:28.000Zdailyhttps://sustech.online/emergency/2022-11-19T08:38:34.000Zdailyhttps://sustech.online/facility/2024-07-26T06:11:11.000Zdailyhttps://sustech.online/facility/building-11-elevator.html2022-08-19T13:05:55.000Zdailyhttps://sustech.online/if-you-are-a-freshman/2021.html2022-01-01T16:07:14.000Zdailyhttps://sustech.online/if-you-are-a-freshman/2022-04-05T03:41:58.000Zdailyhttps://sustech.online/life/2024-07-22T09:53:51.000Zdailyhttps://sustech.online/life/vehicle-charger.html2022-04-24T08:34:05.000Zdailyhttps://sustech.online/media/2024-03-05T02:35:05.000Zdailyhttps://sustech.online/miniapp/2021-09-20T11:37:43.000Zdailyhttps://sustech.online/news/2024-01-01T15:10:47.000Zdailyhttps://sustech.online/organizations/2022-07-22T03:28:19.000Zdailyhttps://sustech.online/organizations/registered-organization-2019.html2020-10-14T09:54:30.000Zdailyhttps://sustech.online/organizations/registered-organization-2020.html2020-10-14T09:54:30.000Zdailyhttps://sustech.online/organizations/registered-organization-2021.html2022-07-22T03:28:19.000Zdailyhttps://sustech.online/service/2024-07-22T02:04:28.000Zdailyhttps://sustech.online/site-help/2020-08-06T15:43:26.000Zdailyhttps://sustech.online/site-help/adt.html2024-03-05T09:41:17.000Zdailyhttps://sustech.online/study/2024-01-27T11:30:37.000Zdailyhttps://sustech.online/study/paper-tools.html2022-08-19T13:23:28.000Zdailyhttps://sustech.online/surroundings/2022-07-23T13:18:14.000Zdailyhttps://sustech.online/transport/2024-06-20T13:25:56.000Zdailyhttps://sustech.online/transport/bustimer-old.html2024-01-01T14:48:19.000Zdailyhttps://sustech.online/transport/bustimer-wx.html2024-10-18T10:20:26.000Zdailyhttps://sustech.online/transport/bustimer.html2024-10-18T10:20:26.000Zdailyhttps://sustech.online/transport/holiday.html2021-12-21T08:56:47.000Zdailyhttps://sustech.online/transport/redirect.html2024-01-01T15:21:04.000Zdailyhttps://sustech.online/transport/workday.html2021-12-21T08:56:47.000Zdailyhttps://sustech.online/contact/professor-emails/2023-05-08T09:01:50.000Zdailyhttps://sustech.online/facility/panolens/2021-07-01T15:01:42.000Zdailyhttps://sustech.online/if-you-are-a-freshman/preview/2022-08-19T13:38:15.000Zdailyhttps://sustech.online/life/by-zhicheng-college/%E6%96%B0%E7%94%9F%E6%94%BB%E7%95%A5%E4%B9%8B%E5%AE%BF%E8%88%8D%E7%94%9F%E6%B4%BB%E7%AF%87.html2024-07-22T09:48:51.000Zdailyhttps://sustech.online/life/by-zhicheng-college/%E6%96%B0%E7%94%9F%E6%94%BB%E7%95%A5%E4%B9%8B%E6%A0%A1%E5%86%85%E4%BB%8B%E7%BB%8D%E7%AF%87.html2022-01-01T15:23:02.000Zdailyhttps://sustech.online/life/by-zhicheng-college/%E6%96%B0%E7%94%9F%E6%94%BB%E7%95%A5%E4%B9%8B%E7%A4%BE%E5%9B%A2%E7%AF%87.html2022-01-01T15:23:02.000Zdailyhttps://sustech.online/life/catering/2023-09-05T15:03:01.000Zdailyhttps://sustech.online/life/dormitory/2024-07-22T09:53:51.000Zdailyhttps://sustech.online/life/dormitory/dorm-floor-plan.html2022-08-20T03:28:20.000Zdailyhttps://sustech.online/life/freshman-register/2020-08-12T11:47:50.000Zdailyhttps://sustech.online/life/sports-facility/2024-07-13T02:19:34.000Zdailyhttps://sustech.online/service/campus-card/2021-05-04T13:26:35.000Zdailyhttps://sustech.online/service/email/2022-09-03T05:17:39.000Zdailyhttps://sustech.online/service/email/send-receive-email-by-proxy.html2023-04-16T12:54:35.000Zdailyhttps://sustech.online/service/mail-and-express/2022-08-26T04:24:14.000Zdailyhttps://sustech.online/service/matlab/2020-06-24T03:41:58.000Zdailyhttps://sustech.online/service/medical-treatment/2024-02-25T13:07:24.000Zdailyhttps://sustech.online/service/network/2024-07-22T02:04:28.000Zdailyhttps://sustech.online/service/sakai/2020-06-24T03:41:58.000Zdailyhttps://sustech.online/service/sid/2021-07-17T01:15:04.000Zdailyhttps://sustech.online/service/student-train-ticket/2024-07-22T02:04:28.000Zdailyhttps://sustech.online/service/tax/2022-01-20T14:40:24.000Zdailyhttps://sustech.online/service/unifound/2022-04-02T08:36:02.000Zdailyhttps://sustech.online/service/work-wechat/2020-08-02T02:02:23.000Zdailyhttps://sustech.online/study/borrow-books/2020-08-05T09:00:35.000Zdailyhttps://sustech.online/study/by-shude-college/advice-on-study.html2021-08-11T14:49:53.000Zdailyhttps://sustech.online/study/by-shude-college/info-on-study.html2021-07-13T12:06:41.000Zdailyhttps://sustech.online/study/by-zhicheng-college/%E6%96%B0%E7%94%9F%E6%94%BB%E7%95%A5%E4%B9%8B%E5%AD%A6%E4%B9%A0%E7%AF%87.html2022-01-01T16:07:14.000Zdailyhttps://sustech.online/study/cse/innovative-project.htmldailyhttps://sustech.online/service/blackboard/retrive-ics-url/2020-06-24T03:41:58.000Zdailyhttps://sustech.online/service/network/apply-for-vpn/2024-07-22T02:04:28.000Zdailyhttps://sustech.online/service/network/choose-a-pad/2024-07-22T02:04:28.000Zdailyhttps://sustech.online/service/network/choose-a-router/2024-07-22T02:04:28.000Zdailyhttps://sustech.online/service/network/eduroam/2021-12-02T04:17:40.000Zdailyhttps://sustech.online/service/network/ipv6/2024-03-24T14:08:34.000Zdailyhttps://sustech.online/service/network/remote-desktop/2022-06-23T09:25:42.000Zdailyhttps://sustech.online/service/network/use-vpn/2022-04-11T14:47:43.000Zdailyhttps://sustech.online/study/book-list-by-prof-yuan/2018/2021-12-21T08:56:47.000Zdaily \ No newline at end of file diff --git a/sitemap.xsl b/sitemap.xsl new file mode 100644 index 000000000..a76881a48 --- /dev/null +++ b/sitemap.xsl @@ -0,0 +1,207 @@ + + + + + + + XML Sitemap + + + + + +
    +

    Sitemap

    + + + + + + + + + + + + + + + + + + + + + +
    + + PriorityChange FrequencyLast Updated Time
    + + + + + + + + + + + + + 0.5 + + + + + + + + + - + + + + +
    +
    + + + +
    +
    diff --git a/study/book-list-by-prof-yuan/2018/index.html b/study/book-list-by-prof-yuan/2018/index.html new file mode 100644 index 000000000..5799ac04c --- /dev/null +++ b/study/book-list-by-prof-yuan/2018/index.html @@ -0,0 +1,48 @@ + + + + + + + + + 袁长庚老师为新生推荐的书单(2018) | 南科手册 + + + + + +
    + + + diff --git a/study/borrow-books/index.html b/study/borrow-books/index.html new file mode 100644 index 000000000..33435099b --- /dev/null +++ b/study/borrow-books/index.html @@ -0,0 +1,48 @@ + + + + + + + + + 📗教材与图书借还 | 南科手册 + + + + + +
    + + + diff --git a/study/by-shude-college/advice-on-study.html b/study/by-shude-college/advice-on-study.html new file mode 100644 index 000000000..2743ed177 --- /dev/null +++ b/study/by-shude-college/advice-on-study.html @@ -0,0 +1,48 @@ + + + + + + + + + 📖学习建议 | 南科手册 + + + + + +
    + + + diff --git a/study/by-shude-college/info-on-study.html b/study/by-shude-college/info-on-study.html new file mode 100644 index 000000000..a4e1fae19 --- /dev/null +++ b/study/by-shude-college/info-on-study.html @@ -0,0 +1,48 @@ + + + + + + + + + 📖学习制度与信息 | 南科手册 + + + + + +
    + + + diff --git "a/study/by-zhicheng-college/\346\226\260\347\224\237\346\224\273\347\225\245\344\271\213\345\255\246\344\271\240\347\257\207.html" "b/study/by-zhicheng-college/\346\226\260\347\224\237\346\224\273\347\225\245\344\271\213\345\255\246\344\271\240\347\257\207.html" new file mode 100644 index 000000000..4c34bc2c2 --- /dev/null +++ "b/study/by-zhicheng-college/\346\226\260\347\224\237\346\224\273\347\225\245\344\271\213\345\255\246\344\271\240\347\257\207.html" @@ -0,0 +1,48 @@ + + + + + + + + + 新生攻略之学习篇 | 南科手册 + + + + + +
    + + + diff --git a/study/cse/innovative-project.html b/study/cse/innovative-project.html new file mode 100644 index 000000000..714e5b331 --- /dev/null +++ b/study/cse/innovative-project.html @@ -0,0 +1,48 @@ + + + + + + + + + 南方科技大学计算机系创新实践项目汇总 | 南科手册 + + + + + +
    + + + diff --git a/study/index.html b/study/index.html new file mode 100644 index 000000000..539c5b3b2 --- /dev/null +++ b/study/index.html @@ -0,0 +1,48 @@ + + + + + + + + + 🎓学在南科 | 南科手册 + + + + + +
    + + + diff --git a/study/paper-tools.html b/study/paper-tools.html new file mode 100644 index 000000000..9ef9b9b86 --- /dev/null +++ b/study/paper-tools.html @@ -0,0 +1,48 @@ + + + + + + + + + 几个赶 ddl 的好用工具🔧 | 南科手册 + + + + + +
    + + + diff --git a/surroundings/index.html b/surroundings/index.html new file mode 100644 index 000000000..2079f0fac --- /dev/null +++ b/surroundings/index.html @@ -0,0 +1,48 @@ + + + + + + + + + 🛍周边 | 南科手册 + + + + + +
    + + + diff --git a/transport/bustimer-old.html b/transport/bustimer-old.html new file mode 100644 index 000000000..347343685 --- /dev/null +++ b/transport/bustimer-old.html @@ -0,0 +1,48 @@ + + + + + + + + + 🚌校园巴士时刻表 SUSTech Campus Bus Info | 南科手册 + + + + + + + + + diff --git a/transport/bustimer-wx.html b/transport/bustimer-wx.html new file mode 100644 index 000000000..1bcee4310 --- /dev/null +++ b/transport/bustimer-wx.html @@ -0,0 +1,48 @@ + + + + + + + + + 🚌校园巴士时刻表 SUSTech Campus Bus Info | 南科手册 + + + + + +
    + + + diff --git a/transport/bustimer.html b/transport/bustimer.html new file mode 100644 index 000000000..da109b2d3 --- /dev/null +++ b/transport/bustimer.html @@ -0,0 +1,48 @@ + + + + + + + + + 🚌校园巴士时刻表 SUSTech Campus Bus Info | 南科手册 + + + + + + + + + diff --git a/transport/holiday.html b/transport/holiday.html new file mode 100644 index 000000000..8aeb8cd16 --- /dev/null +++ b/transport/holiday.html @@ -0,0 +1,48 @@ + + + + + + + + + 🚌校园巴士 - 节假日 (2021年6月18日更新) | 南科手册 + + + + + + + + + diff --git a/transport/index.html b/transport/index.html new file mode 100644 index 000000000..7e4378c98 --- /dev/null +++ b/transport/index.html @@ -0,0 +1,48 @@ + + + + + + + + + 🚄交通 | 南科手册 + + + + + +
    + + + diff --git a/transport/redirect.html b/transport/redirect.html new file mode 100644 index 000000000..281ec13d1 --- /dev/null +++ b/transport/redirect.html @@ -0,0 +1,48 @@ + + + + + + + + + 🚌校园巴士 - 自动跳转 | 南科手册 + + + + + + + + + diff --git a/transport/workday.html b/transport/workday.html new file mode 100644 index 000000000..13c5c9f13 --- /dev/null +++ b/transport/workday.html @@ -0,0 +1,48 @@ + + + + + + + + + 🚌校园巴士 - 工作日 (2021年6月18日更新) | 南科手册 + + + + + + + + + diff --git a/workbox-b584cb72.js b/workbox-b584cb72.js new file mode 100644 index 000000000..b46d3f76f --- /dev/null +++ b/workbox-b584cb72.js @@ -0,0 +1 @@ +define(["exports"],(function(t){"use strict";try{self["workbox:core:7.0.0"]&&_()}catch(t){}const e=(t,...e)=>{let s=t;return e.length>0&&(s+=` :: ${JSON.stringify(e)}`),s};class s extends Error{constructor(t,s){super(e(t,s)),this.name=t,this.details=s}}try{self["workbox:routing:7.0.0"]&&_()}catch(t){}const n=t=>t&&"object"==typeof t?t:{handle:t};class i{constructor(t,e,s="GET"){this.handler=n(e),this.match=t,this.method=s}setCatchHandler(t){this.catchHandler=n(t)}}class r extends i{constructor(t,e,s){super((({url:e})=>{const s=t.exec(e.href);if(s&&(e.origin===location.origin||0===s.index))return s.slice(1)}),e,s)}}class o{constructor(){this.t=new Map,this.i=new Map}get routes(){return this.t}addFetchListener(){self.addEventListener("fetch",(t=>{const{request:e}=t,s=this.handleRequest({request:e,event:t});s&&t.respondWith(s)}))}addCacheListener(){self.addEventListener("message",(t=>{if(t.data&&"CACHE_URLS"===t.data.type){const{payload:e}=t.data,s=Promise.all(e.urlsToCache.map((e=>{"string"==typeof e&&(e=[e]);const s=new Request(...e);return this.handleRequest({request:s,event:t})})));t.waitUntil(s),t.ports&&t.ports[0]&&s.then((()=>t.ports[0].postMessage(!0)))}}))}handleRequest({request:t,event:e}){const s=new URL(t.url,location.href);if(!s.protocol.startsWith("http"))return;const n=s.origin===location.origin,{params:i,route:r}=this.findMatchingRoute({event:e,request:t,sameOrigin:n,url:s});let o=r&&r.handler;const c=t.method;if(!o&&this.i.has(c)&&(o=this.i.get(c)),!o)return;let a;try{a=o.handle({url:s,request:t,event:e,params:i})}catch(t){a=Promise.reject(t)}const h=r&&r.catchHandler;return a instanceof Promise&&(this.o||h)&&(a=a.catch((async n=>{if(h)try{return await h.handle({url:s,request:t,event:e,params:i})}catch(t){t instanceof Error&&(n=t)}if(this.o)return this.o.handle({url:s,request:t,event:e});throw n}))),a}findMatchingRoute({url:t,sameOrigin:e,request:s,event:n}){const i=this.t.get(s.method)||[];for(const r of i){let i;const o=r.match({url:t,sameOrigin:e,request:s,event:n});if(o)return i=o,(Array.isArray(i)&&0===i.length||o.constructor===Object&&0===Object.keys(o).length||"boolean"==typeof o)&&(i=void 0),{route:r,params:i}}return{}}setDefaultHandler(t,e="GET"){this.i.set(e,n(t))}setCatchHandler(t){this.o=n(t)}registerRoute(t){this.t.has(t.method)||this.t.set(t.method,[]),this.t.get(t.method).push(t)}unregisterRoute(t){if(!this.t.has(t.method))throw new s("unregister-route-but-not-found-with-method",{method:t.method});const e=this.t.get(t.method).indexOf(t);if(!(e>-1))throw new s("unregister-route-route-not-registered");this.t.get(t.method).splice(e,1)}}let c;const a=()=>(c||(c=new o,c.addFetchListener(),c.addCacheListener()),c);const h={googleAnalytics:"googleAnalytics",precache:"precache-v2",prefix:"workbox",runtime:"runtime",suffix:"undefined"!=typeof registration?registration.scope:""},u=t=>[h.prefix,t,h.suffix].filter((t=>t&&t.length>0)).join("-"),l=t=>t||u(h.precache),f=t=>t||u(h.runtime);function w(t,e){const s=e();return t.waitUntil(s),s}try{self["workbox:precaching:7.0.0"]&&_()}catch(t){}function d(t){if(!t)throw new s("add-to-cache-list-unexpected-type",{entry:t});if("string"==typeof t){const e=new URL(t,location.href);return{cacheKey:e.href,url:e.href}}const{revision:e,url:n}=t;if(!n)throw new s("add-to-cache-list-unexpected-type",{entry:t});if(!e){const t=new URL(n,location.href);return{cacheKey:t.href,url:t.href}}const i=new URL(n,location.href),r=new URL(n,location.href);return i.searchParams.set("__WB_REVISION__",e),{cacheKey:i.href,url:r.href}}class p{constructor(){this.updatedURLs=[],this.notUpdatedURLs=[],this.handlerWillStart=async({request:t,state:e})=>{e&&(e.originalRequest=t)},this.cachedResponseWillBeUsed=async({event:t,state:e,cachedResponse:s})=>{if("install"===t.type&&e&&e.originalRequest&&e.originalRequest instanceof Request){const t=e.originalRequest.url;s?this.notUpdatedURLs.push(t):this.updatedURLs.push(t)}return s}}}class y{constructor({precacheController:t}){this.cacheKeyWillBeUsed=async({request:t,params:e})=>{const s=(null==e?void 0:e.cacheKey)||this.h.getCacheKeyForURL(t.url);return s?new Request(s,{headers:t.headers}):t},this.h=t}}let g;async function R(t,e){let n=null;if(t.url){n=new URL(t.url).origin}if(n!==self.location.origin)throw new s("cross-origin-copy-response",{origin:n});const i=t.clone(),r={headers:new Headers(i.headers),status:i.status,statusText:i.statusText},o=e?e(r):r,c=function(){if(void 0===g){const t=new Response("");if("body"in t)try{new Response(t.body),g=!0}catch(t){g=!1}g=!1}return g}()?i.body:await i.blob();return new Response(c,o)}function m(t,e){const s=new URL(t);for(const t of e)s.searchParams.delete(t);return s.href}class v{constructor(){this.promise=new Promise(((t,e)=>{this.resolve=t,this.reject=e}))}}const q=new Set;try{self["workbox:strategies:7.0.0"]&&_()}catch(t){}function U(t){return"string"==typeof t?new Request(t):t}class L{constructor(t,e){this.u={},Object.assign(this,e),this.event=e.event,this.l=t,this.p=new v,this.R=[],this.m=[...t.plugins],this.v=new Map;for(const t of this.m)this.v.set(t,{});this.event.waitUntil(this.p.promise)}async fetch(t){const{event:e}=this;let n=U(t);if("navigate"===n.mode&&e instanceof FetchEvent&&e.preloadResponse){const t=await e.preloadResponse;if(t)return t}const i=this.hasCallback("fetchDidFail")?n.clone():null;try{for(const t of this.iterateCallbacks("requestWillFetch"))n=await t({request:n.clone(),event:e})}catch(t){if(t instanceof Error)throw new s("plugin-error-request-will-fetch",{thrownErrorMessage:t.message})}const r=n.clone();try{let t;t=await fetch(n,"navigate"===n.mode?void 0:this.l.fetchOptions);for(const s of this.iterateCallbacks("fetchDidSucceed"))t=await s({event:e,request:r,response:t});return t}catch(t){throw i&&await this.runCallbacks("fetchDidFail",{error:t,event:e,originalRequest:i.clone(),request:r.clone()}),t}}async fetchAndCachePut(t){const e=await this.fetch(t),s=e.clone();return this.waitUntil(this.cachePut(t,s)),e}async cacheMatch(t){const e=U(t);let s;const{cacheName:n,matchOptions:i}=this.l,r=await this.getCacheKey(e,"read"),o=Object.assign(Object.assign({},i),{cacheName:n});s=await caches.match(r,o);for(const t of this.iterateCallbacks("cachedResponseWillBeUsed"))s=await t({cacheName:n,matchOptions:i,cachedResponse:s,request:r,event:this.event})||void 0;return s}async cachePut(t,e){const n=U(t);var i;await(i=0,new Promise((t=>setTimeout(t,i))));const r=await this.getCacheKey(n,"write");if(!e)throw new s("cache-put-with-no-response",{url:(o=r.url,new URL(String(o),location.href).href.replace(new RegExp(`^${location.origin}`),""))});var o;const c=await this.q(e);if(!c)return!1;const{cacheName:a,matchOptions:h}=this.l,u=await self.caches.open(a),l=this.hasCallback("cacheDidUpdate"),f=l?await async function(t,e,s,n){const i=m(e.url,s);if(e.url===i)return t.match(e,n);const r=Object.assign(Object.assign({},n),{ignoreSearch:!0}),o=await t.keys(e,r);for(const e of o)if(i===m(e.url,s))return t.match(e,n)}(u,r.clone(),["__WB_REVISION__"],h):null;try{await u.put(r,l?c.clone():c)}catch(t){if(t instanceof Error)throw"QuotaExceededError"===t.name&&await async function(){for(const t of q)await t()}(),t}for(const t of this.iterateCallbacks("cacheDidUpdate"))await t({cacheName:a,oldResponse:f,newResponse:c.clone(),request:r,event:this.event});return!0}async getCacheKey(t,e){const s=`${t.url} | ${e}`;if(!this.u[s]){let n=t;for(const t of this.iterateCallbacks("cacheKeyWillBeUsed"))n=U(await t({mode:e,request:n,event:this.event,params:this.params}));this.u[s]=n}return this.u[s]}hasCallback(t){for(const e of this.l.plugins)if(t in e)return!0;return!1}async runCallbacks(t,e){for(const s of this.iterateCallbacks(t))await s(e)}*iterateCallbacks(t){for(const e of this.l.plugins)if("function"==typeof e[t]){const s=this.v.get(e),n=n=>{const i=Object.assign(Object.assign({},n),{state:s});return e[t](i)};yield n}}waitUntil(t){return this.R.push(t),t}async doneWaiting(){let t;for(;t=this.R.shift();)await t}destroy(){this.p.resolve(null)}async q(t){let e=t,s=!1;for(const t of this.iterateCallbacks("cacheWillUpdate"))if(e=await t({request:this.request,response:e,event:this.event})||void 0,s=!0,!e)break;return s||e&&200!==e.status&&(e=void 0),e}}class b{constructor(t={}){this.cacheName=f(t.cacheName),this.plugins=t.plugins||[],this.fetchOptions=t.fetchOptions,this.matchOptions=t.matchOptions}handle(t){const[e]=this.handleAll(t);return e}handleAll(t){t instanceof FetchEvent&&(t={event:t,request:t.request});const e=t.event,s="string"==typeof t.request?new Request(t.request):t.request,n="params"in t?t.params:void 0,i=new L(this,{event:e,request:s,params:n}),r=this.U(i,s,e);return[r,this.L(r,i,s,e)]}async U(t,e,n){let i;await t.runCallbacks("handlerWillStart",{event:n,request:e});try{if(i=await this._(e,t),!i||"error"===i.type)throw new s("no-response",{url:e.url})}catch(s){if(s instanceof Error)for(const r of t.iterateCallbacks("handlerDidError"))if(i=await r({error:s,event:n,request:e}),i)break;if(!i)throw s}for(const s of t.iterateCallbacks("handlerWillRespond"))i=await s({event:n,request:e,response:i});return i}async L(t,e,s,n){let i,r;try{i=await t}catch(r){}try{await e.runCallbacks("handlerDidRespond",{event:n,request:s,response:i}),await e.doneWaiting()}catch(t){t instanceof Error&&(r=t)}if(await e.runCallbacks("handlerDidComplete",{event:n,request:s,response:i,error:r}),e.destroy(),r)throw r}}class C extends b{constructor(t={}){t.cacheName=l(t.cacheName),super(t),this.C=!1!==t.fallbackToNetwork,this.plugins.push(C.copyRedirectedCacheableResponsesPlugin)}async _(t,e){const s=await e.cacheMatch(t);return s||(e.event&&"install"===e.event.type?await this.O(t,e):await this.N(t,e))}async N(t,e){let n;const i=e.params||{};if(!this.C)throw new s("missing-precache-entry",{cacheName:this.cacheName,url:t.url});{const s=i.integrity,r=t.integrity,o=!r||r===s;n=await e.fetch(new Request(t,{integrity:"no-cors"!==t.mode?r||s:void 0})),s&&o&&"no-cors"!==t.mode&&(this.k(),await e.cachePut(t,n.clone()))}return n}async O(t,e){this.k();const n=await e.fetch(t);if(!await e.cachePut(t,n.clone()))throw new s("bad-precaching-response",{url:t.url,status:n.status});return n}k(){let t=null,e=0;for(const[s,n]of this.plugins.entries())n!==C.copyRedirectedCacheableResponsesPlugin&&(n===C.defaultPrecacheCacheabilityPlugin&&(t=s),n.cacheWillUpdate&&e++);0===e?this.plugins.push(C.defaultPrecacheCacheabilityPlugin):e>1&&null!==t&&this.plugins.splice(t,1)}}C.defaultPrecacheCacheabilityPlugin={cacheWillUpdate:async({response:t})=>!t||t.status>=400?null:t},C.copyRedirectedCacheableResponsesPlugin={cacheWillUpdate:async({response:t})=>t.redirected?await R(t):t};class E{constructor({cacheName:t,plugins:e=[],fallbackToNetwork:s=!0}={}){this.K=new Map,this.P=new Map,this.T=new Map,this.l=new C({cacheName:l(t),plugins:[...e,new y({precacheController:this})],fallbackToNetwork:s}),this.install=this.install.bind(this),this.activate=this.activate.bind(this)}get strategy(){return this.l}precache(t){this.addToCacheList(t),this.W||(self.addEventListener("install",this.install),self.addEventListener("activate",this.activate),this.W=!0)}addToCacheList(t){const e=[];for(const n of t){"string"==typeof n?e.push(n):n&&void 0===n.revision&&e.push(n.url);const{cacheKey:t,url:i}=d(n),r="string"!=typeof n&&n.revision?"reload":"default";if(this.K.has(i)&&this.K.get(i)!==t)throw new s("add-to-cache-list-conflicting-entries",{firstEntry:this.K.get(i),secondEntry:t});if("string"!=typeof n&&n.integrity){if(this.T.has(t)&&this.T.get(t)!==n.integrity)throw new s("add-to-cache-list-conflicting-integrities",{url:i});this.T.set(t,n.integrity)}if(this.K.set(i,t),this.P.set(i,r),e.length>0){const t=`Workbox is precaching URLs without revision info: ${e.join(", ")}\nThis is generally NOT safe. Learn more at https://bit.ly/wb-precache`;console.warn(t)}}}install(t){return w(t,(async()=>{const e=new p;this.strategy.plugins.push(e);for(const[e,s]of this.K){const n=this.T.get(s),i=this.P.get(e),r=new Request(e,{integrity:n,cache:i,credentials:"same-origin"});await Promise.all(this.strategy.handleAll({params:{cacheKey:s},request:r,event:t}))}const{updatedURLs:s,notUpdatedURLs:n}=e;return{updatedURLs:s,notUpdatedURLs:n}}))}activate(t){return w(t,(async()=>{const t=await self.caches.open(this.strategy.cacheName),e=await t.keys(),s=new Set(this.K.values()),n=[];for(const i of e)s.has(i.url)||(await t.delete(i),n.push(i.url));return{deletedURLs:n}}))}getURLsToCacheKeys(){return this.K}getCachedURLs(){return[...this.K.keys()]}getCacheKeyForURL(t){const e=new URL(t,location.href);return this.K.get(e.href)}getIntegrityForCacheKey(t){return this.T.get(t)}async matchPrecache(t){const e=t instanceof Request?t.url:t,s=this.getCacheKeyForURL(e);if(s){return(await self.caches.open(this.strategy.cacheName)).match(s)}}createHandlerBoundToURL(t){const e=this.getCacheKeyForURL(t);if(!e)throw new s("non-precached-url",{url:t});return s=>(s.request=new Request(t),s.params=Object.assign({cacheKey:e},s.params),this.strategy.handle(s))}}let O;const x=()=>(O||(O=new E),O);class N extends i{constructor(t,e){super((({request:s})=>{const n=t.getURLsToCacheKeys();for(const i of function*(t,{ignoreURLParametersMatching:e=[/^utm_/,/^fbclid$/],directoryIndex:s="index.html",cleanURLs:n=!0,urlManipulation:i}={}){const r=new URL(t,location.href);r.hash="",yield r.href;const o=function(t,e=[]){for(const s of[...t.searchParams.keys()])e.some((t=>t.test(s)))&&t.searchParams.delete(s);return t}(r,e);if(yield o.href,s&&o.pathname.endsWith("/")){const t=new URL(o.href);t.pathname+=s,yield t.href}if(n){const t=new URL(o.href);t.pathname+=".html",yield t.href}if(i){const t=i({url:r});for(const e of t)yield e.href}}(s.url,e)){const e=n.get(i);if(e){return{cacheKey:e,integrity:t.getIntegrityForCacheKey(e)}}}}),t.strategy)}}function k(t){const e=x();!function(t,e,n){let o;if("string"==typeof t){const s=new URL(t,location.href);o=new i((({url:t})=>t.href===s.href),e,n)}else if(t instanceof RegExp)o=new r(t,e,n);else if("function"==typeof t)o=new i(t,e,n);else{if(!(t instanceof i))throw new s("unsupported-route-type",{moduleName:"workbox-routing",funcName:"registerRoute",paramName:"capture"});o=t}a().registerRoute(o)}(new N(e,t))}t.cleanupOutdatedCaches=function(){self.addEventListener("activate",(t=>{const e=l();t.waitUntil((async(t,e="-precache-")=>{const s=(await self.caches.keys()).filter((s=>s.includes(e)&&s.includes(self.registration.scope)&&s!==t));return await Promise.all(s.map((t=>self.caches.delete(t)))),s})(e).then((t=>{})))}))},t.clientsClaim=function(){self.addEventListener("activate",(()=>self.clients.claim()))},t.precacheAndRoute=function(t,e){!function(t){x().precache(t)}(t),k(e)}})); diff --git a/wx_helper.js b/wx_helper.js new file mode 100644 index 000000000..dc18c9cf2 --- /dev/null +++ b/wx_helper.js @@ -0,0 +1,137 @@ +ENABLE_LOG = false; + +function post_to_wx() { + var obj = { + 'msgType': "heartbeat", + 'shareTitle': document.title, + 'shareURL': document.URL, + 'scrollTop': document.documentElement.scrollTop, + 'time': (new Date()).valueOf() + }; + wx.miniProgram.postMessage({ + data: obj + }); + wx.miniProgram.getEnv(function (res) { + window.is_miniprogram = res.miniprogram; + }); +} +setInterval(post_to_wx, 1000); + +function handleOutURL(url, whitelist_flag, file_flag, file_ext) { + if (ENABLE_LOG) { + console.log("劫持链接 " + url); + } + wx.miniProgram.navigateTo({ + url: '/pages/index/redirect?outURL=' + encodeURIComponent(url) + + '&inwhitelist=' + whitelist_flag + + '&handleFile=' + file_flag + + '&ext=' + file_ext, + }); +} + +function override_onclick(event) { + /// 优化小程序内的文件或者外链显示 + if (window.is_miniprogram) { + let url = event.currentTarget.getAttribute('href'); + + let url_obj = new URL(url); + let whitelist = new Set(); + whitelist.add("mirrors.sustech.edu.cn"); + whitelist.add("bus.sustcra.com"); + whitelist.add("sustech.online"); + whitelist.add("daily.sustech.online"); + whitelist.add("susteen.itbill.cn") + whitelist.add(""); + + let supportFiles = new Set(); + supportFiles.add("doc"); + supportFiles.add("docx"); + supportFiles.add("xls"); + supportFiles.add("xlsx"); + supportFiles.add("ppt"); + supportFiles.add("pptx"); + supportFiles.add("pdf"); + let the_hostname = url_obj.hostname; + let path_ext = url_obj.pathname.split('.').pop().toLowerCase(); + let whitelist_flag = whitelist.has(the_hostname); + let file_flag = supportFiles.has(path_ext); + if (whitelist_flag && !file_flag) { + // 当 url 在白名单里面,且不为可微信显示的文件。 + if (ENABLE_LOG) { + console.log("放行白名单页面 " + url); + } + window.location.href = url; + return; + } + + event.preventDefault(); + if (ENABLE_LOG) { + console.log("小程序环境,拦截外部链接或者可显示文件。"); + } + handleOutURL(url, whitelist_flag, file_flag, path_ext); + } +} + +function reset_all_anchor() { + var anchors = document.getElementsByTagName('a'); + for (var i = 0; i < anchors.length; i++) { + var anchor = anchors[i]; + if (anchor.hasAttribute("data-fancybox")) { + if (ENABLE_LOG) { + console.log("skip fancybox a tag: ", anchor.getAttribute('href')); + } + } else { + anchor.onclick = function (event) { + override_onclick(event); + } + } + } +} +setInterval(reset_all_anchor, 1000); + +function isInWechatMP() { + return navigator.userAgent.match(/miniprogram/i) || window.__wxjs_environment === 'miniprogram'; +}; + +function load_adsense() { + console.log("判断环境,加载 adsense") + + if (isInWechatMP() === false) { + console.log("非小程序环境,加载"); + var oScript = document.createElement("script"); + oScript.src = "https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"; + oScript.setAttribute("async", ""); + oScript.setAttribute("data-ad-client", "ca-pub-9039393129169217"); + document.head.appendChild(oScript); + // + } else { + console.log("小程序环境,跳过"); + } +} +setTimeout("load_adsense()", 500); + +// 是否启用哀悼用黑白遮罩 +ENABLE_HOME_GRAY = false; +function changeGray() { + if (ENABLE_HOME_GRAY) { + if (window.location.pathname === '/') { + document.getElementsByClassName("navbar")[0].classList.add("home-gray"); + document.getElementsByClassName("sidebar")[0].classList.add("home-gray"); + document.getElementsByClassName("page")[0].classList.add("home-gray"); + } else { + document.getElementsByClassName("page")[0].classList.remove("home-gray"); + document.getElementsByClassName("sidebar")[0].classList.remove("home-gray"); + document.getElementsByClassName("navbar")[0].classList.remove("home-gray"); + } + } +} + +domObserver = new MutationObserver(function (mutations) { + // DOM 有任何变化,包括js导致的跳转 + changeGray(); +}); +domObserver.observe(document, { subtree: true, childList: true }); + +window.addEventListener('hashchange', () => { + changeGray(); +}, false);