diff --git a/404.html b/404.html index 5792372ae..acef0a7a9 100644 --- a/404.html +++ b/404.html @@ -30,11 +30,11 @@ PvZ2 Gardendless 官方网站|完全重置的PVZ2体验 - - + + -
跳至主要內容
- +
跳至主要內容
+ diff --git a/assets/404.html-BsxaBU9C.js b/assets/404.html-D8Ys2-iV.js similarity index 94% rename from assets/404.html-BsxaBU9C.js rename to assets/404.html-D8Ys2-iV.js index 76307a910..f7a9bf5a4 100644 --- a/assets/404.html-BsxaBU9C.js +++ b/assets/404.html-D8Ys2-iV.js @@ -1 +1 @@ -import{_ as t}from"./plugin-vue_export-helper-DlAUqK2U.js";import{c as e,o,a as n}from"./app-JWH7-BAb.js";const r={},a=n("p",null,"404 Not Found",-1),c=[a];function p(s,i){return o(),e("div",null,c)}const d=t(r,[["render",p],["__file","404.html.vue"]]),u=JSON.parse('{"path":"/404.html","title":"","lang":"zh-CN","frontmatter":{"layout":"NotFound","description":"404 Not Found","head":[["meta",{"property":"og:url","content":"https://www.pvzge.com/404.html"}],["meta",{"property":"og:site_name","content":"PvZ2 Gardendless 官方网站|完全重置的PVZ2体验"}],["meta",{"property":"og:description","content":"404 Not Found"}],["meta",{"property":"og:type","content":"website"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"article:author","content":"LMYY"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"WebPage\\",\\"name\\":\\"\\",\\"description\\":\\"404 Not Found\\"}"]]},"headers":[],"git":{},"readingTime":{"minutes":0.01,"words":3},"filePathRelative":null,"autoDesc":true,"excerpt":"

404 Not Found

\\n"}');export{d as comp,u as data}; +import{_ as t}from"./plugin-vue_export-helper-DlAUqK2U.js";import{c as e,o,a as n}from"./app-B6aPqg13.js";const r={},a=n("p",null,"404 Not Found",-1),c=[a];function p(s,i){return o(),e("div",null,c)}const d=t(r,[["render",p],["__file","404.html.vue"]]),u=JSON.parse('{"path":"/404.html","title":"","lang":"zh-CN","frontmatter":{"layout":"NotFound","description":"404 Not Found","head":[["meta",{"property":"og:url","content":"https://www.pvzge.com/404.html"}],["meta",{"property":"og:site_name","content":"PvZ2 Gardendless 官方网站|完全重置的PVZ2体验"}],["meta",{"property":"og:description","content":"404 Not Found"}],["meta",{"property":"og:type","content":"website"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"article:author","content":"LMYY"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"WebPage\\",\\"name\\":\\"\\",\\"description\\":\\"404 Not Found\\"}"]]},"headers":[],"git":{},"readingTime":{"minutes":0.01,"words":3},"filePathRelative":null,"autoDesc":true,"excerpt":"

404 Not Found

\\n"}');export{d as comp,u as data}; diff --git a/assets/Acknowledgement.html-DEvPwo3n.js b/assets/Acknowledgement.html-BW13Jasm.js similarity index 98% rename from assets/Acknowledgement.html-DEvPwo3n.js rename to assets/Acknowledgement.html-BW13Jasm.js index d415e08b3..3e49aae1a 100644 --- a/assets/Acknowledgement.html-DEvPwo3n.js +++ b/assets/Acknowledgement.html-BW13Jasm.js @@ -1 +1 @@ -import{_ as t}from"./plugin-vue_export-helper-DlAUqK2U.js";import{c as i,o as n,a as e}from"./app-JWH7-BAb.js";const o={},a=e("ul",null,[e("li",null,'Presented by @南Garden in both Bilibili and Youtube.",'),e("li",null,'Animation by @南Garden.",'),e("li",null,'Textures from vanilla and by @南Garden, @AIM752,@索菲sophine from Bilibili and @卡爾小枇杷 from Bilibili(@loquatceres16 from Youtube).",'),e("li",null,'Music from vanilla and by @某不科学的三叶草, @29贵妇Lady_29, @刘振宇Hubery in Bilibili.",'),e("li",null,"This Website and Web App are developed and maintained by @绫墨依言."),e("li",null,"Speicial thanks to everyone in the chat group of QQ and all the players who have contributed to the game.")],-1),l=[a];function r(d,m){return n(),i("div",null,l)}const s=t(o,[["render",r],["__file","Acknowledgement.html.vue"]]),u=JSON.parse('{"path":"/contribution/Acknowledgement.html","title":"鸣谢","lang":"zh-CN","frontmatter":{"title":"鸣谢","icon":"heart","pageInfo":false,"comment":false,"index":true,"order":2,"description":"Presented by @南Garden in both Bilibili and Youtube.\\", Animation by @南Garden.\\", Textures from vanilla and by @南Garden, @AIM752,@索菲sophine from Bilibili and @卡爾小枇杷 from Bilibili(@...","head":[["link",{"rel":"alternate","hreflang":"en-us","href":"https://www.pvzge.com/en/contribution/Acknowledgement.html"}],["meta",{"property":"og:url","content":"https://www.pvzge.com/contribution/Acknowledgement.html"}],["meta",{"property":"og:site_name","content":"PvZ2 Gardendless 官方网站|完全重置的PVZ2体验"}],["meta",{"property":"og:title","content":"鸣谢"}],["meta",{"property":"og:description","content":"Presented by @南Garden in both Bilibili and Youtube.\\", Animation by @南Garden.\\", Textures from vanilla and by @南Garden, @AIM752,@索菲sophine from Bilibili and @卡爾小枇杷 from Bilibili(@..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:locale:alternate","content":"en-US"}],["meta",{"property":"og:updated_time","content":"2024-07-21T16:51:49.000Z"}],["meta",{"property":"article:author","content":"LMYY"}],["meta",{"property":"article:modified_time","content":"2024-07-21T16:51:49.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"鸣谢\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-07-21T16:51:49.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"LMYY\\",\\"url\\":\\"https://gaozih.com\\"}]}"]]},"headers":[],"git":{"createdTime":1720769305000,"updatedTime":1721580709000,"contributors":[{"name":"Gzh0821","email":"gaozih0821@outlook.com","commits":4}]},"readingTime":{"minutes":0.39,"words":117},"filePathRelative":"contribution/Acknowledgement.md","localizedDate":"2024年7月12日","autoDesc":true,"excerpt":""}');export{s as comp,u as data}; +import{_ as t}from"./plugin-vue_export-helper-DlAUqK2U.js";import{c as i,o as n,a as e}from"./app-B6aPqg13.js";const o={},a=e("ul",null,[e("li",null,'Presented by @南Garden in both Bilibili and Youtube.",'),e("li",null,'Animation by @南Garden.",'),e("li",null,'Textures from vanilla and by @南Garden, @AIM752,@索菲sophine from Bilibili and @卡爾小枇杷 from Bilibili(@loquatceres16 from Youtube).",'),e("li",null,'Music from vanilla and by @某不科学的三叶草, @29贵妇Lady_29, @刘振宇Hubery in Bilibili.",'),e("li",null,"This Website and Web App are developed and maintained by @绫墨依言."),e("li",null,"Speicial thanks to everyone in the chat group of QQ and all the players who have contributed to the game.")],-1),l=[a];function r(d,m){return n(),i("div",null,l)}const s=t(o,[["render",r],["__file","Acknowledgement.html.vue"]]),u=JSON.parse('{"path":"/contribution/Acknowledgement.html","title":"鸣谢","lang":"zh-CN","frontmatter":{"title":"鸣谢","icon":"heart","pageInfo":false,"comment":false,"index":true,"order":2,"description":"Presented by @南Garden in both Bilibili and Youtube.\\", Animation by @南Garden.\\", Textures from vanilla and by @南Garden, @AIM752,@索菲sophine from Bilibili and @卡爾小枇杷 from Bilibili(@...","head":[["link",{"rel":"alternate","hreflang":"en-us","href":"https://www.pvzge.com/en/contribution/Acknowledgement.html"}],["meta",{"property":"og:url","content":"https://www.pvzge.com/contribution/Acknowledgement.html"}],["meta",{"property":"og:site_name","content":"PvZ2 Gardendless 官方网站|完全重置的PVZ2体验"}],["meta",{"property":"og:title","content":"鸣谢"}],["meta",{"property":"og:description","content":"Presented by @南Garden in both Bilibili and Youtube.\\", Animation by @南Garden.\\", Textures from vanilla and by @南Garden, @AIM752,@索菲sophine from Bilibili and @卡爾小枇杷 from Bilibili(@..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:locale:alternate","content":"en-US"}],["meta",{"property":"og:updated_time","content":"2024-07-21T16:51:49.000Z"}],["meta",{"property":"article:author","content":"LMYY"}],["meta",{"property":"article:modified_time","content":"2024-07-21T16:51:49.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"鸣谢\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-07-21T16:51:49.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"LMYY\\",\\"url\\":\\"https://gaozih.com\\"}]}"]]},"headers":[],"git":{"createdTime":1720769305000,"updatedTime":1721580709000,"contributors":[{"name":"Gzh0821","email":"gaozih0821@outlook.com","commits":4}]},"readingTime":{"minutes":0.39,"words":117},"filePathRelative":"contribution/Acknowledgement.md","localizedDate":"2024年7月12日","autoDesc":true,"excerpt":""}');export{s as comp,u as data}; diff --git a/assets/Acknowledgement.html-Bb3o6wPT.js b/assets/Acknowledgement.html-CxMh4kVK.js similarity index 98% rename from assets/Acknowledgement.html-Bb3o6wPT.js rename to assets/Acknowledgement.html-CxMh4kVK.js index 57207155a..14e0a61a5 100644 --- a/assets/Acknowledgement.html-Bb3o6wPT.js +++ b/assets/Acknowledgement.html-CxMh4kVK.js @@ -1 +1 @@ -import{_ as t}from"./plugin-vue_export-helper-DlAUqK2U.js";import{c as n,o as i,a as e}from"./app-JWH7-BAb.js";const o={},l=e("ul",null,[e("li",null,'Presented by @南Garden in both Bilibili and Youtube.",'),e("li",null,'Animation by @南Garden.",'),e("li",null,'Textures from vanilla and by @南Garden, @AIM752,@索菲sophine from Bilibili and @卡爾小枇杷 from Bilibili(@loquatceres16 from Youtube).",'),e("li",null,'Music from vanilla and by @某不科学的三叶草, @29贵妇Lady_29, @刘振宇Hubery in Bilibili.",'),e("li",null,"This Website and Web App are developed and maintained by @绫墨依言."),e("li",null,"Speicial thanks to everyone in the chat group of QQ and all the players who have contributed to the game.")],-1),a=[l];function r(d,m){return i(),n("div",null,a)}const s=t(o,[["render",r],["__file","Acknowledgement.html.vue"]]),u=JSON.parse('{"path":"/en/contribution/Acknowledgement.html","title":"Acknowledgement","lang":"en-US","frontmatter":{"title":"Acknowledgement","icon":"heart","pageInfo":false,"comment":false,"index":true,"order":2,"description":"Presented by @南Garden in both Bilibili and Youtube.\\", Animation by @南Garden.\\", Textures from vanilla and by @南Garden, @AIM752,@索菲sophine from Bilibili and @卡爾小枇杷 from Bilibili(@...","head":[["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://www.pvzge.com/contribution/Acknowledgement.html"}],["meta",{"property":"og:url","content":"https://www.pvzge.com/en/contribution/Acknowledgement.html"}],["meta",{"property":"og:site_name","content":"PvZ2 Gardendless Official Website|A completely remastered PVZ2 experience"}],["meta",{"property":"og:title","content":"Acknowledgement"}],["meta",{"property":"og:description","content":"Presented by @南Garden in both Bilibili and Youtube.\\", Animation by @南Garden.\\", Textures from vanilla and by @南Garden, @AIM752,@索菲sophine from Bilibili and @卡爾小枇杷 from Bilibili(@..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:locale:alternate","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-07-24T04:06:40.000Z"}],["meta",{"property":"article:author","content":"LMYY"}],["meta",{"property":"article:modified_time","content":"2024-07-24T04:06:40.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"Acknowledgement\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-07-24T04:06:40.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"LMYY\\",\\"url\\":\\"https://gaozih.com\\"}]}"]]},"headers":[],"git":{"createdTime":1720769305000,"updatedTime":1721794000000,"contributors":[{"name":"Gzh0821","email":"gaozih0821@outlook.com","commits":2}]},"readingTime":{"minutes":0.39,"words":116},"filePathRelative":"en/contribution/Acknowledgement.md","localizedDate":"July 12, 2024","autoDesc":true,"excerpt":""}');export{s as comp,u as data}; +import{_ as t}from"./plugin-vue_export-helper-DlAUqK2U.js";import{c as n,o as i,a as e}from"./app-B6aPqg13.js";const o={},l=e("ul",null,[e("li",null,'Presented by @南Garden in both Bilibili and Youtube.",'),e("li",null,'Animation by @南Garden.",'),e("li",null,'Textures from vanilla and by @南Garden, @AIM752,@索菲sophine from Bilibili and @卡爾小枇杷 from Bilibili(@loquatceres16 from Youtube).",'),e("li",null,'Music from vanilla and by @某不科学的三叶草, @29贵妇Lady_29, @刘振宇Hubery in Bilibili.",'),e("li",null,"This Website and Web App are developed and maintained by @绫墨依言."),e("li",null,"Speicial thanks to everyone in the chat group of QQ and all the players who have contributed to the game.")],-1),a=[l];function r(d,m){return i(),n("div",null,a)}const s=t(o,[["render",r],["__file","Acknowledgement.html.vue"]]),u=JSON.parse('{"path":"/en/contribution/Acknowledgement.html","title":"Acknowledgement","lang":"en-US","frontmatter":{"title":"Acknowledgement","icon":"heart","pageInfo":false,"comment":false,"index":true,"order":2,"description":"Presented by @南Garden in both Bilibili and Youtube.\\", Animation by @南Garden.\\", Textures from vanilla and by @南Garden, @AIM752,@索菲sophine from Bilibili and @卡爾小枇杷 from Bilibili(@...","head":[["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://www.pvzge.com/contribution/Acknowledgement.html"}],["meta",{"property":"og:url","content":"https://www.pvzge.com/en/contribution/Acknowledgement.html"}],["meta",{"property":"og:site_name","content":"PvZ2 Gardendless Official Website|A completely remastered PVZ2 experience"}],["meta",{"property":"og:title","content":"Acknowledgement"}],["meta",{"property":"og:description","content":"Presented by @南Garden in both Bilibili and Youtube.\\", Animation by @南Garden.\\", Textures from vanilla and by @南Garden, @AIM752,@索菲sophine from Bilibili and @卡爾小枇杷 from Bilibili(@..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:locale:alternate","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-07-24T04:06:40.000Z"}],["meta",{"property":"article:author","content":"LMYY"}],["meta",{"property":"article:modified_time","content":"2024-07-24T04:06:40.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"Acknowledgement\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-07-24T04:06:40.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"LMYY\\",\\"url\\":\\"https://gaozih.com\\"}]}"]]},"headers":[],"git":{"createdTime":1720769305000,"updatedTime":1721794000000,"contributors":[{"name":"Gzh0821","email":"gaozih0821@outlook.com","commits":2}]},"readingTime":{"minutes":0.39,"words":116},"filePathRelative":"en/contribution/Acknowledgement.md","localizedDate":"July 12, 2024","autoDesc":true,"excerpt":""}');export{s as comp,u as data}; diff --git a/assets/Agreement.html-ZZSfQ9le.js b/assets/Agreement.html-_62h_0lW.js similarity index 98% rename from assets/Agreement.html-ZZSfQ9le.js rename to assets/Agreement.html-_62h_0lW.js index 2779e7975..e31205631 100644 --- a/assets/Agreement.html-ZZSfQ9le.js +++ b/assets/Agreement.html-_62h_0lW.js @@ -1 +1 @@ -import{_ as e}from"./plugin-vue_export-helper-DlAUqK2U.js";import{c as t,o as n,e as r}from"./app-JWH7-BAb.js";const o={},l=r('

《PvZ2 Gardendless》使用协议

欢迎使用《PvZ2 Gardendless》!在下载、使用在线版或以任何形式使用本游戏及相关服务之前,请务必仔细阅读以下条款:

本游戏仅供个人学习交流使用。未经版权所有者书面许可,不得以任何形式修改、复制、分发本游戏。

游戏仅供娱乐和个人使用,制作者不对因使用本游戏而引起的任何直接或间接损失负责。

游戏中所有植物、僵尸及相关素材属于其原创作者或版权所有者所有。

未经版权所有者书面许可,严禁将本游戏用于任何商业用途,包括但不限于销售、广告、赞助等。

如您下载、使用在线版或以任何形式使用本游戏,您需遵守本协议及可能涉及的其他相关协议。

"PvZ2 Gardendless" Usage Agreement

Welcome to "PvZ2 Gardendless"! Before downloading, using the online version, or using this game in any form, please read the following terms carefully:

This game is only for personal learning and communication. Without written permission from the copyright owner, you may not modify, copy, distribute, or use this game in any form.

The game is provided for entertainment and personal use only. The creators are not responsible for any direct or indirect losses caused by the use of this game.

All plants, zombies, and related materials in the game belong to their original creators or copyright owners.

Without written permission from the copyright owner, commercial use of this game, including but not limited to sales, advertising, sponsorship, etc., is strictly prohibited.

If you download, use the online version, or use this game in any form, you agree to comply with this agreement and any other relevant agreements.

',24),i=[l];function a(s,p){return n(),t("div",null,i)}const c=e(o,[["render",a],["__file","Agreement.html.vue"]]),u=JSON.parse('{"path":"/instructions/Agreement.html","title":"使用协议","lang":"zh-CN","frontmatter":{"title":"使用协议","icon":"handshake","index":true,"order":1,"pageInfo":false,"comment":false,"description":"《PvZ2 Gardendless》使用协议 欢迎使用《PvZ2 Gardendless》!在下载、使用在线版或以任何形式使用本游戏及相关服务之前,请务必仔细阅读以下条款: 使用许可 本游戏仅供个人学习交流使用。未经版权所有者书面许可,不得以任何形式修改、复制、分发本游戏。 免责声明 游戏仅供娱乐和个人使用,制作者不对因使用本游戏而引起的任何直接或间接...","head":[["link",{"rel":"alternate","hreflang":"en-us","href":"https://www.pvzge.com/en/instructions/Agreement.html"}],["meta",{"property":"og:url","content":"https://www.pvzge.com/instructions/Agreement.html"}],["meta",{"property":"og:site_name","content":"PvZ2 Gardendless 官方网站|完全重置的PVZ2体验"}],["meta",{"property":"og:title","content":"使用协议"}],["meta",{"property":"og:description","content":"《PvZ2 Gardendless》使用协议 欢迎使用《PvZ2 Gardendless》!在下载、使用在线版或以任何形式使用本游戏及相关服务之前,请务必仔细阅读以下条款: 使用许可 本游戏仅供个人学习交流使用。未经版权所有者书面许可,不得以任何形式修改、复制、分发本游戏。 免责声明 游戏仅供娱乐和个人使用,制作者不对因使用本游戏而引起的任何直接或间接..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:locale:alternate","content":"en-US"}],["meta",{"property":"og:updated_time","content":"2024-07-21T03:48:08.000Z"}],["meta",{"property":"article:author","content":"LMYY"}],["meta",{"property":"article:modified_time","content":"2024-07-21T03:48:08.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"使用协议\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-07-21T03:48:08.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"LMYY\\",\\"url\\":\\"https://gaozih.com\\"}]}"]]},"headers":[{"level":2,"title":"《PvZ2 Gardendless》使用协议","slug":"《pvz2-gardendless》使用协议","link":"#《pvz2-gardendless》使用协议","children":[]},{"level":2,"title":"\\"PvZ2 Gardendless\\" Usage Agreement","slug":"pvz2-gardendless-usage-agreement","link":"#pvz2-gardendless-usage-agreement","children":[]}],"git":{"createdTime":1720715796000,"updatedTime":1721533688000,"contributors":[{"name":"Gzh0821","email":"gaozih0821@outlook.com","commits":2}]},"readingTime":{"minutes":1.44,"words":431},"filePathRelative":"instructions/Agreement.md","localizedDate":"2024年7月11日","autoDesc":true,"excerpt":"

《PvZ2 Gardendless》使用协议

\\n

欢迎使用《PvZ2 Gardendless》!在下载、使用在线版或以任何形式使用本游戏及相关服务之前,请务必仔细阅读以下条款:

\\n\\n

本游戏仅供个人学习交流使用。未经版权所有者书面许可,不得以任何形式修改、复制、分发本游戏。

\\n\\n

游戏仅供娱乐和个人使用,制作者不对因使用本游戏而引起的任何直接或间接损失负责。

\\n\\n

游戏中所有植物、僵尸及相关素材属于其原创作者或版权所有者所有。

"}');export{c as comp,u as data}; +import{_ as e}from"./plugin-vue_export-helper-DlAUqK2U.js";import{c as t,o as n,e as r}from"./app-B6aPqg13.js";const o={},l=r('

《PvZ2 Gardendless》使用协议

欢迎使用《PvZ2 Gardendless》!在下载、使用在线版或以任何形式使用本游戏及相关服务之前,请务必仔细阅读以下条款:

本游戏仅供个人学习交流使用。未经版权所有者书面许可,不得以任何形式修改、复制、分发本游戏。

游戏仅供娱乐和个人使用,制作者不对因使用本游戏而引起的任何直接或间接损失负责。

游戏中所有植物、僵尸及相关素材属于其原创作者或版权所有者所有。

未经版权所有者书面许可,严禁将本游戏用于任何商业用途,包括但不限于销售、广告、赞助等。

如您下载、使用在线版或以任何形式使用本游戏,您需遵守本协议及可能涉及的其他相关协议。

"PvZ2 Gardendless" Usage Agreement

Welcome to "PvZ2 Gardendless"! Before downloading, using the online version, or using this game in any form, please read the following terms carefully:

This game is only for personal learning and communication. Without written permission from the copyright owner, you may not modify, copy, distribute, or use this game in any form.

The game is provided for entertainment and personal use only. The creators are not responsible for any direct or indirect losses caused by the use of this game.

All plants, zombies, and related materials in the game belong to their original creators or copyright owners.

Without written permission from the copyright owner, commercial use of this game, including but not limited to sales, advertising, sponsorship, etc., is strictly prohibited.

If you download, use the online version, or use this game in any form, you agree to comply with this agreement and any other relevant agreements.

',24),i=[l];function a(s,p){return n(),t("div",null,i)}const c=e(o,[["render",a],["__file","Agreement.html.vue"]]),u=JSON.parse('{"path":"/instructions/Agreement.html","title":"使用协议","lang":"zh-CN","frontmatter":{"title":"使用协议","icon":"handshake","index":true,"order":1,"pageInfo":false,"comment":false,"description":"《PvZ2 Gardendless》使用协议 欢迎使用《PvZ2 Gardendless》!在下载、使用在线版或以任何形式使用本游戏及相关服务之前,请务必仔细阅读以下条款: 使用许可 本游戏仅供个人学习交流使用。未经版权所有者书面许可,不得以任何形式修改、复制、分发本游戏。 免责声明 游戏仅供娱乐和个人使用,制作者不对因使用本游戏而引起的任何直接或间接...","head":[["link",{"rel":"alternate","hreflang":"en-us","href":"https://www.pvzge.com/en/instructions/Agreement.html"}],["meta",{"property":"og:url","content":"https://www.pvzge.com/instructions/Agreement.html"}],["meta",{"property":"og:site_name","content":"PvZ2 Gardendless 官方网站|完全重置的PVZ2体验"}],["meta",{"property":"og:title","content":"使用协议"}],["meta",{"property":"og:description","content":"《PvZ2 Gardendless》使用协议 欢迎使用《PvZ2 Gardendless》!在下载、使用在线版或以任何形式使用本游戏及相关服务之前,请务必仔细阅读以下条款: 使用许可 本游戏仅供个人学习交流使用。未经版权所有者书面许可,不得以任何形式修改、复制、分发本游戏。 免责声明 游戏仅供娱乐和个人使用,制作者不对因使用本游戏而引起的任何直接或间接..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:locale:alternate","content":"en-US"}],["meta",{"property":"og:updated_time","content":"2024-07-21T03:48:08.000Z"}],["meta",{"property":"article:author","content":"LMYY"}],["meta",{"property":"article:modified_time","content":"2024-07-21T03:48:08.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"使用协议\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-07-21T03:48:08.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"LMYY\\",\\"url\\":\\"https://gaozih.com\\"}]}"]]},"headers":[{"level":2,"title":"《PvZ2 Gardendless》使用协议","slug":"《pvz2-gardendless》使用协议","link":"#《pvz2-gardendless》使用协议","children":[]},{"level":2,"title":"\\"PvZ2 Gardendless\\" Usage Agreement","slug":"pvz2-gardendless-usage-agreement","link":"#pvz2-gardendless-usage-agreement","children":[]}],"git":{"createdTime":1720715796000,"updatedTime":1721533688000,"contributors":[{"name":"Gzh0821","email":"gaozih0821@outlook.com","commits":2}]},"readingTime":{"minutes":1.44,"words":431},"filePathRelative":"instructions/Agreement.md","localizedDate":"2024年7月11日","autoDesc":true,"excerpt":"

《PvZ2 Gardendless》使用协议

\\n

欢迎使用《PvZ2 Gardendless》!在下载、使用在线版或以任何形式使用本游戏及相关服务之前,请务必仔细阅读以下条款:

\\n\\n

本游戏仅供个人学习交流使用。未经版权所有者书面许可,不得以任何形式修改、复制、分发本游戏。

\\n\\n

游戏仅供娱乐和个人使用,制作者不对因使用本游戏而引起的任何直接或间接损失负责。

\\n\\n

游戏中所有植物、僵尸及相关素材属于其原创作者或版权所有者所有。

"}');export{c as comp,u as data}; diff --git a/assets/Agreement.html-BkJ8IzLW.js b/assets/Agreement.html-lmrFJvZA.js similarity index 98% rename from assets/Agreement.html-BkJ8IzLW.js rename to assets/Agreement.html-lmrFJvZA.js index e7518b71d..cee348f43 100644 --- a/assets/Agreement.html-BkJ8IzLW.js +++ b/assets/Agreement.html-lmrFJvZA.js @@ -1 +1 @@ -import{_ as e}from"./plugin-vue_export-helper-DlAUqK2U.js";import{c as t,o as n,e as r}from"./app-JWH7-BAb.js";const o={},i=r('

"PvZ2 Gardendless" Usage Agreement

Welcome to "PvZ2 Gardendless"! Before downloading, using the online version, or using this game in any form, please read the following terms carefully:

This game is only for personal learning and communication. Without written permission from the copyright owner, you may not modify, copy, distribute, or use this game in any form.

The game is provided for entertainment and personal use only. The creators are not responsible for any direct or indirect losses caused by the use of this game.

All plants, zombies, and related materials in the game belong to their original creators or copyright owners.

Without written permission from the copyright owner, commercial use of this game, including but not limited to sales, advertising, sponsorship, etc., is strictly prohibited.

If you download, use the online version, or use this game in any form, you agree to comply with this agreement and any other relevant agreements.

《PvZ2 Gardendless》使用协议

欢迎使用《PvZ2 Gardendless》!在下载、使用在线版或以任何形式使用本游戏及相关服务之前,请务必仔细阅读以下条款:

本游戏仅供个人学习交流使用。未经版权所有者书面许可,不得以任何形式修改、复制、分发本游戏。

游戏仅供娱乐和个人使用,制作者不对因使用本游戏而引起的任何直接或间接损失负责。

游戏中所有植物、僵尸及相关素材属于其原创作者或版权所有者所有。

未经版权所有者书面许可,严禁将本游戏用于任何商业用途,包括但不限于销售、广告、赞助等。

如您下载、使用在线版或以任何形式使用本游戏,您需遵守本协议及可能涉及的其他相关协议。

',24),a=[i];function s(l,m){return n(),t("div",null,a)}const g=e(o,[["render",s],["__file","Agreement.html.vue"]]),c=JSON.parse('{"path":"/en/instructions/Agreement.html","title":"Usage Agreement","lang":"en-US","frontmatter":{"title":"Usage Agreement","icon":"handshake","index":true,"order":1,"pageInfo":false,"comment":false,"description":"\\"PvZ2 Gardendless\\" Usage Agreement Welcome to \\"PvZ2 Gardendless\\"! Before downloading, using the online version, or using this game in any form, please read the following terms c...","head":[["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://www.pvzge.com/instructions/Agreement.html"}],["meta",{"property":"og:url","content":"https://www.pvzge.com/en/instructions/Agreement.html"}],["meta",{"property":"og:site_name","content":"PvZ2 Gardendless Official Website|A completely remastered PVZ2 experience"}],["meta",{"property":"og:title","content":"Usage Agreement"}],["meta",{"property":"og:description","content":"\\"PvZ2 Gardendless\\" Usage Agreement Welcome to \\"PvZ2 Gardendless\\"! Before downloading, using the online version, or using this game in any form, please read the following terms c..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:locale:alternate","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-07-24T09:32:12.000Z"}],["meta",{"property":"article:author","content":"LMYY"}],["meta",{"property":"article:modified_time","content":"2024-07-24T09:32:12.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"Usage Agreement\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-07-24T09:32:12.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"LMYY\\",\\"url\\":\\"https://gaozih.com\\"}]}"]]},"headers":[{"level":2,"title":"\\"PvZ2 Gardendless\\" Usage Agreement","slug":"pvz2-gardendless-usage-agreement","link":"#pvz2-gardendless-usage-agreement","children":[]},{"level":2,"title":"《PvZ2 Gardendless》使用协议","slug":"《pvz2-gardendless》使用协议","link":"#《pvz2-gardendless》使用协议","children":[]}],"git":{"createdTime":1720715796000,"updatedTime":1721813532000,"contributors":[{"name":"Gzh0821","email":"gaozih0821@outlook.com","commits":2}]},"readingTime":{"minutes":1.43,"words":429},"filePathRelative":"en/instructions/Agreement.md","localizedDate":"July 11, 2024","autoDesc":true,"excerpt":"

\\"PvZ2 Gardendless\\" Usage Agreement

\\n

Welcome to \\"PvZ2 Gardendless\\"! Before downloading, using the online version, or using this game in any form, please read the following terms carefully:

\\n\\n

This game is only for personal learning and communication. Without written permission from the copyright owner, you may not modify, copy, distribute, or use this game in any form.

"}');export{g as comp,c as data}; +import{_ as e}from"./plugin-vue_export-helper-DlAUqK2U.js";import{c as t,o as n,e as r}from"./app-B6aPqg13.js";const o={},i=r('

"PvZ2 Gardendless" Usage Agreement

Welcome to "PvZ2 Gardendless"! Before downloading, using the online version, or using this game in any form, please read the following terms carefully:

This game is only for personal learning and communication. Without written permission from the copyright owner, you may not modify, copy, distribute, or use this game in any form.

The game is provided for entertainment and personal use only. The creators are not responsible for any direct or indirect losses caused by the use of this game.

All plants, zombies, and related materials in the game belong to their original creators or copyright owners.

Without written permission from the copyright owner, commercial use of this game, including but not limited to sales, advertising, sponsorship, etc., is strictly prohibited.

If you download, use the online version, or use this game in any form, you agree to comply with this agreement and any other relevant agreements.

《PvZ2 Gardendless》使用协议

欢迎使用《PvZ2 Gardendless》!在下载、使用在线版或以任何形式使用本游戏及相关服务之前,请务必仔细阅读以下条款:

本游戏仅供个人学习交流使用。未经版权所有者书面许可,不得以任何形式修改、复制、分发本游戏。

游戏仅供娱乐和个人使用,制作者不对因使用本游戏而引起的任何直接或间接损失负责。

游戏中所有植物、僵尸及相关素材属于其原创作者或版权所有者所有。

未经版权所有者书面许可,严禁将本游戏用于任何商业用途,包括但不限于销售、广告、赞助等。

如您下载、使用在线版或以任何形式使用本游戏,您需遵守本协议及可能涉及的其他相关协议。

',24),a=[i];function s(l,m){return n(),t("div",null,a)}const g=e(o,[["render",s],["__file","Agreement.html.vue"]]),c=JSON.parse('{"path":"/en/instructions/Agreement.html","title":"Usage Agreement","lang":"en-US","frontmatter":{"title":"Usage Agreement","icon":"handshake","index":true,"order":1,"pageInfo":false,"comment":false,"description":"\\"PvZ2 Gardendless\\" Usage Agreement Welcome to \\"PvZ2 Gardendless\\"! Before downloading, using the online version, or using this game in any form, please read the following terms c...","head":[["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://www.pvzge.com/instructions/Agreement.html"}],["meta",{"property":"og:url","content":"https://www.pvzge.com/en/instructions/Agreement.html"}],["meta",{"property":"og:site_name","content":"PvZ2 Gardendless Official Website|A completely remastered PVZ2 experience"}],["meta",{"property":"og:title","content":"Usage Agreement"}],["meta",{"property":"og:description","content":"\\"PvZ2 Gardendless\\" Usage Agreement Welcome to \\"PvZ2 Gardendless\\"! Before downloading, using the online version, or using this game in any form, please read the following terms c..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:locale:alternate","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-07-24T09:32:12.000Z"}],["meta",{"property":"article:author","content":"LMYY"}],["meta",{"property":"article:modified_time","content":"2024-07-24T09:32:12.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"Usage Agreement\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-07-24T09:32:12.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"LMYY\\",\\"url\\":\\"https://gaozih.com\\"}]}"]]},"headers":[{"level":2,"title":"\\"PvZ2 Gardendless\\" Usage Agreement","slug":"pvz2-gardendless-usage-agreement","link":"#pvz2-gardendless-usage-agreement","children":[]},{"level":2,"title":"《PvZ2 Gardendless》使用协议","slug":"《pvz2-gardendless》使用协议","link":"#《pvz2-gardendless》使用协议","children":[]}],"git":{"createdTime":1720715796000,"updatedTime":1721813532000,"contributors":[{"name":"Gzh0821","email":"gaozih0821@outlook.com","commits":2}]},"readingTime":{"minutes":1.43,"words":429},"filePathRelative":"en/instructions/Agreement.md","localizedDate":"July 11, 2024","autoDesc":true,"excerpt":"

\\"PvZ2 Gardendless\\" Usage Agreement

\\n

Welcome to \\"PvZ2 Gardendless\\"! Before downloading, using the online version, or using this game in any form, please read the following terms carefully:

\\n\\n

This game is only for personal learning and communication. Without written permission from the copyright owner, you may not modify, copy, distribute, or use this game in any form.

"}');export{g as comp,c as data}; diff --git a/assets/Disclaimer.html-DFtSTBsJ.js b/assets/Disclaimer.html-DTowDS4Q.js similarity index 99% rename from assets/Disclaimer.html-DFtSTBsJ.js rename to assets/Disclaimer.html-DTowDS4Q.js index f3c2e9c6c..0ed242b6e 100644 --- a/assets/Disclaimer.html-DFtSTBsJ.js +++ b/assets/Disclaimer.html-DTowDS4Q.js @@ -1 +1 @@ -import{_ as e}from"./plugin-vue_export-helper-DlAUqK2U.js";import{c as t,o as i,e as r}from"./app-JWH7-BAb.js";const o={},a=r('

This game is a non-commercial fan-made creation, created solely for entertainment purposes and as a tribute to the original "Plants vs. Zombies 2" series. Please read the following important statements:

This game is developed by enthusiasts and is distributed completely free of charge, with no commercial intent whatsoever. All non-commercial income and donations will be used for server maintenance and work production.

All plants, zombies, game sound effects, background music, and other related imagery used in this game are the property of the original creators of the "Plants vs. Zombies 2" series. We hold deep respect and gratitude towards the original work and its creators.

The creators and team behind this game have no intention of infringing upon any copyrights or intellectual property rights. The game content is created purely out of personal interest and should not be used for any commercial purposes. If there are any concerns regarding copyright infringement, please contact us immediately, and we will take prompt action to rectify the situation.

We recognize the significance of the original work and encourage players to support the official "Plants vs. Zombies 2" series. This game is intended as a creative and technical homage to the original, and is not an officially licensed extension or sequel.

Without explicit written permission from the copyright holders, no individual or organization may use this game for any form of commercial activity, including but not limited to sales, advertising, sponsorship, etc.

For any inquiries or concerns regarding copyright or other matters, please contact us through the following channels:

bilibili: 南Garden

We appreciate your understanding and support, and hope you enjoy this fan-made game crafted with passion!

《PvZ2 Gardendless》免责声明

本游戏为非商业性质的同人创作作品,旨在向原《植物大战僵尸2》系列致敬,并为喜爱该系列的玩家提供娱乐。以下是本游戏的重要声明:

本游戏是由爱好者自主制作,完全免费发布,不涉及任何商业目的。所有非商业性收入和捐赠将用于服务器维护和作品制作。

本游戏中使用的所有植物、僵尸、游戏音效、背景音乐及其他相关图像素材,均为《植物大战僵尸2》原作品的版权所有者所有。我们对原作品及其创作者充满尊敬与感激之情。

制作者及团队无意侵犯任何版权或知识产权。游戏内容仅为个人兴趣制作,不得用于任何商业用途。如有侵权行为,请立即联系我们,我们将立即采取措施予以纠正。

我们深知原作品的重要性,并鼓励玩家支持正版《植物大战僵尸2》系列游戏。本游戏旨在通过创意和技术向原作致敬,并非官方授权的扩展或续集。

未经版权所有者书面许可,任何组织或个人不得将本游戏用于任何形式的商业用途,包括但不限于销售、广告、赞助等。

如有任何关于版权或其他问题的疑问,请通过以下联系方式与我们取得联系:

bilibili: 南Garden

我们感谢您的理解和支持,希望您享受这款由爱好者制作的游戏!

',32),n=[a];function s(l,c){return i(),t("div",null,n)}const m=e(o,[["render",s],["__file","Disclaimer.html.vue"]]),h=JSON.parse('{"path":"/en/instructions/Disclaimer.html","title":"Copyright Disclaimer","lang":"en-US","frontmatter":{"title":"Copyright Disclaimer","icon":"copyright","index":true,"order":2,"pageInfo":false,"comment":false,"description":"Disclaimer and Copyright Notice for \\"PvZ2 Gardendless\\" This game is a non-commercial fan-made creation, created solely for entertainment purposes and as a tribute to the origina...","head":[["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://www.pvzge.com/instructions/Disclaimer.html"}],["meta",{"property":"og:url","content":"https://www.pvzge.com/en/instructions/Disclaimer.html"}],["meta",{"property":"og:site_name","content":"PvZ2 Gardendless Official Website|A completely remastered PVZ2 experience"}],["meta",{"property":"og:title","content":"Copyright Disclaimer"}],["meta",{"property":"og:description","content":"Disclaimer and Copyright Notice for \\"PvZ2 Gardendless\\" This game is a non-commercial fan-made creation, created solely for entertainment purposes and as a tribute to the origina..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:locale:alternate","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-07-24T09:32:12.000Z"}],["meta",{"property":"article:author","content":"LMYY"}],["meta",{"property":"article:modified_time","content":"2024-07-24T09:32:12.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"Copyright Disclaimer\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-07-24T09:32:12.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"LMYY\\",\\"url\\":\\"https://gaozih.com\\"}]}"]]},"headers":[{"level":2,"title":"Disclaimer and Copyright Notice for \\"PvZ2 Gardendless\\"","slug":"disclaimer-and-copyright-notice-for-pvz2-gardendless","link":"#disclaimer-and-copyright-notice-for-pvz2-gardendless","children":[]},{"level":2,"title":"《PvZ2 Gardendless》免责声明","slug":"《pvz2-gardendless》免责声明","link":"#《pvz2-gardendless》免责声明","children":[]}],"git":{"createdTime":1720715796000,"updatedTime":1721813532000,"contributors":[{"name":"Gzh0821","email":"gaozih0821@outlook.com","commits":2}]},"readingTime":{"minutes":2.55,"words":765},"filePathRelative":"en/instructions/Disclaimer.md","localizedDate":"July 11, 2024","autoDesc":true,"excerpt":"

Disclaimer and Copyright Notice for \\"PvZ2 Gardendless\\"

\\n

This game is a non-commercial fan-made creation, created solely for entertainment purposes and as a tribute to the original \\"Plants vs. Zombies 2\\" series. Please read the following important statements:

\\n"}');export{m as comp,h as data}; +import{_ as e}from"./plugin-vue_export-helper-DlAUqK2U.js";import{c as t,o as i,e as r}from"./app-B6aPqg13.js";const o={},a=r('

This game is a non-commercial fan-made creation, created solely for entertainment purposes and as a tribute to the original "Plants vs. Zombies 2" series. Please read the following important statements:

This game is developed by enthusiasts and is distributed completely free of charge, with no commercial intent whatsoever. All non-commercial income and donations will be used for server maintenance and work production.

All plants, zombies, game sound effects, background music, and other related imagery used in this game are the property of the original creators of the "Plants vs. Zombies 2" series. We hold deep respect and gratitude towards the original work and its creators.

The creators and team behind this game have no intention of infringing upon any copyrights or intellectual property rights. The game content is created purely out of personal interest and should not be used for any commercial purposes. If there are any concerns regarding copyright infringement, please contact us immediately, and we will take prompt action to rectify the situation.

We recognize the significance of the original work and encourage players to support the official "Plants vs. Zombies 2" series. This game is intended as a creative and technical homage to the original, and is not an officially licensed extension or sequel.

Without explicit written permission from the copyright holders, no individual or organization may use this game for any form of commercial activity, including but not limited to sales, advertising, sponsorship, etc.

For any inquiries or concerns regarding copyright or other matters, please contact us through the following channels:

bilibili: 南Garden

We appreciate your understanding and support, and hope you enjoy this fan-made game crafted with passion!

《PvZ2 Gardendless》免责声明

本游戏为非商业性质的同人创作作品,旨在向原《植物大战僵尸2》系列致敬,并为喜爱该系列的玩家提供娱乐。以下是本游戏的重要声明:

本游戏是由爱好者自主制作,完全免费发布,不涉及任何商业目的。所有非商业性收入和捐赠将用于服务器维护和作品制作。

本游戏中使用的所有植物、僵尸、游戏音效、背景音乐及其他相关图像素材,均为《植物大战僵尸2》原作品的版权所有者所有。我们对原作品及其创作者充满尊敬与感激之情。

制作者及团队无意侵犯任何版权或知识产权。游戏内容仅为个人兴趣制作,不得用于任何商业用途。如有侵权行为,请立即联系我们,我们将立即采取措施予以纠正。

我们深知原作品的重要性,并鼓励玩家支持正版《植物大战僵尸2》系列游戏。本游戏旨在通过创意和技术向原作致敬,并非官方授权的扩展或续集。

未经版权所有者书面许可,任何组织或个人不得将本游戏用于任何形式的商业用途,包括但不限于销售、广告、赞助等。

如有任何关于版权或其他问题的疑问,请通过以下联系方式与我们取得联系:

bilibili: 南Garden

我们感谢您的理解和支持,希望您享受这款由爱好者制作的游戏!

',32),n=[a];function s(l,c){return i(),t("div",null,n)}const m=e(o,[["render",s],["__file","Disclaimer.html.vue"]]),h=JSON.parse('{"path":"/en/instructions/Disclaimer.html","title":"Copyright Disclaimer","lang":"en-US","frontmatter":{"title":"Copyright Disclaimer","icon":"copyright","index":true,"order":2,"pageInfo":false,"comment":false,"description":"Disclaimer and Copyright Notice for \\"PvZ2 Gardendless\\" This game is a non-commercial fan-made creation, created solely for entertainment purposes and as a tribute to the origina...","head":[["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://www.pvzge.com/instructions/Disclaimer.html"}],["meta",{"property":"og:url","content":"https://www.pvzge.com/en/instructions/Disclaimer.html"}],["meta",{"property":"og:site_name","content":"PvZ2 Gardendless Official Website|A completely remastered PVZ2 experience"}],["meta",{"property":"og:title","content":"Copyright Disclaimer"}],["meta",{"property":"og:description","content":"Disclaimer and Copyright Notice for \\"PvZ2 Gardendless\\" This game is a non-commercial fan-made creation, created solely for entertainment purposes and as a tribute to the origina..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:locale:alternate","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-07-24T09:32:12.000Z"}],["meta",{"property":"article:author","content":"LMYY"}],["meta",{"property":"article:modified_time","content":"2024-07-24T09:32:12.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"Copyright Disclaimer\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-07-24T09:32:12.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"LMYY\\",\\"url\\":\\"https://gaozih.com\\"}]}"]]},"headers":[{"level":2,"title":"Disclaimer and Copyright Notice for \\"PvZ2 Gardendless\\"","slug":"disclaimer-and-copyright-notice-for-pvz2-gardendless","link":"#disclaimer-and-copyright-notice-for-pvz2-gardendless","children":[]},{"level":2,"title":"《PvZ2 Gardendless》免责声明","slug":"《pvz2-gardendless》免责声明","link":"#《pvz2-gardendless》免责声明","children":[]}],"git":{"createdTime":1720715796000,"updatedTime":1721813532000,"contributors":[{"name":"Gzh0821","email":"gaozih0821@outlook.com","commits":2}]},"readingTime":{"minutes":2.55,"words":765},"filePathRelative":"en/instructions/Disclaimer.md","localizedDate":"July 11, 2024","autoDesc":true,"excerpt":"

Disclaimer and Copyright Notice for \\"PvZ2 Gardendless\\"

\\n

This game is a non-commercial fan-made creation, created solely for entertainment purposes and as a tribute to the original \\"Plants vs. Zombies 2\\" series. Please read the following important statements:

\\n"}');export{m as comp,h as data}; diff --git a/assets/Disclaimer.html-BPOHAe09.js b/assets/Disclaimer.html-Dznz4heT.js similarity index 99% rename from assets/Disclaimer.html-BPOHAe09.js rename to assets/Disclaimer.html-Dznz4heT.js index 91bd417db..4a2ba1cb9 100644 --- a/assets/Disclaimer.html-BPOHAe09.js +++ b/assets/Disclaimer.html-Dznz4heT.js @@ -1 +1 @@ -import{_ as e}from"./plugin-vue_export-helper-DlAUqK2U.js";import{c as t,o as i,e as n}from"./app-JWH7-BAb.js";const o={},r=n('

《PvZ2 Gardendless》免责声明

本游戏为非商业性质的同人创作作品,旨在向原《植物大战僵尸2》系列致敬,并为喜爱该系列的玩家提供娱乐。以下是本游戏的重要声明:

本游戏是由爱好者自主制作,完全免费发布,不涉及任何商业目的。所有非商业性收入和捐赠将用于服务器维护和作品制作。

本游戏中使用的所有植物、僵尸、游戏音效、背景音乐及其他相关图像素材,均为《植物大战僵尸2》原作品的版权所有者所有。我们对原作品及其创作者充满尊敬与感激之情。

制作者及团队无意侵犯任何版权或知识产权。游戏内容仅为个人兴趣制作,不得用于任何商业用途。如有侵权行为,请立即联系我们,我们将立即采取措施予以纠正。

我们深知原作品的重要性,并鼓励玩家支持正版《植物大战僵尸2》系列游戏。本游戏旨在通过创意和技术向原作致敬,并非官方授权的扩展或续集。

未经版权所有者书面许可,任何组织或个人不得将本游戏用于任何形式的商业用途,包括但不限于销售、广告、赞助等。

如有任何关于版权或其他问题的疑问,请通过以下联系方式与我们取得联系:

bilibili: 南Garden

我们感谢您的理解和支持,希望您享受这款由爱好者制作的游戏!

This game is a non-commercial fan-made creation, created solely for entertainment purposes and as a tribute to the original "Plants vs. Zombies 2" series. Please read the following important statements:

This game is developed by enthusiasts and is distributed completely free of charge, with no commercial intent whatsoever. All non-commercial income and donations will be used for server maintenance and work production.

All plants, zombies, game sound effects, background music, and other related imagery used in this game are the property of the original creators of the "Plants vs. Zombies 2" series. We hold deep respect and gratitude towards the original work and its creators.

The creators and team behind this game have no intention of infringing upon any copyrights or intellectual property rights. The game content is created purely out of personal interest and should not be used for any commercial purposes. If there are any concerns regarding copyright infringement, please contact us immediately, and we will take prompt action to rectify the situation.

We recognize the significance of the original work and encourage players to support the official "Plants vs. Zombies 2" series. This game is intended as a creative and technical homage to the original, and is not an officially licensed extension or sequel.

Without explicit written permission from the copyright holders, no individual or organization may use this game for any form of commercial activity, including but not limited to sales, advertising, sponsorship, etc.

For any inquiries or concerns regarding copyright or other matters, please contact us through the following channels:

bilibili: 南Garden

We appreciate your understanding and support, and hope you enjoy this fan-made game crafted with passion!

',32),a=[r];function s(l,p){return i(),t("div",null,a)}const m=e(o,[["render",s],["__file","Disclaimer.html.vue"]]),h=JSON.parse('{"path":"/instructions/Disclaimer.html","title":"免责声明","lang":"zh-CN","frontmatter":{"title":"免责声明","icon":"copyright","index":true,"order":2,"pageInfo":false,"comment":false,"description":"《PvZ2 Gardendless》免责声明 本游戏为非商业性质的同人创作作品,旨在向原《植物大战僵尸2》系列致敬,并为喜爱该系列的玩家提供娱乐。以下是本游戏的重要声明: 非商业性质声明 本游戏是由爱好者自主制作,完全免费发布,不涉及任何商业目的。所有非商业性收入和捐赠将用于服务器维护和作品制作。 版权声明 本游戏中使用的所有植物、僵尸、游戏音效、背景...","head":[["link",{"rel":"alternate","hreflang":"en-us","href":"https://www.pvzge.com/en/instructions/Disclaimer.html"}],["meta",{"property":"og:url","content":"https://www.pvzge.com/instructions/Disclaimer.html"}],["meta",{"property":"og:site_name","content":"PvZ2 Gardendless 官方网站|完全重置的PVZ2体验"}],["meta",{"property":"og:title","content":"免责声明"}],["meta",{"property":"og:description","content":"《PvZ2 Gardendless》免责声明 本游戏为非商业性质的同人创作作品,旨在向原《植物大战僵尸2》系列致敬,并为喜爱该系列的玩家提供娱乐。以下是本游戏的重要声明: 非商业性质声明 本游戏是由爱好者自主制作,完全免费发布,不涉及任何商业目的。所有非商业性收入和捐赠将用于服务器维护和作品制作。 版权声明 本游戏中使用的所有植物、僵尸、游戏音效、背景..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:locale:alternate","content":"en-US"}],["meta",{"property":"og:updated_time","content":"2024-07-21T03:48:08.000Z"}],["meta",{"property":"article:author","content":"LMYY"}],["meta",{"property":"article:modified_time","content":"2024-07-21T03:48:08.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"免责声明\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-07-21T03:48:08.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"LMYY\\",\\"url\\":\\"https://gaozih.com\\"}]}"]]},"headers":[{"level":2,"title":"《PvZ2 Gardendless》免责声明","slug":"《pvz2-gardendless》免责声明","link":"#《pvz2-gardendless》免责声明","children":[]},{"level":2,"title":"Disclaimer and Copyright Notice for \\"PvZ2 Gardendless\\"","slug":"disclaimer-and-copyright-notice-for-pvz2-gardendless","link":"#disclaimer-and-copyright-notice-for-pvz2-gardendless","children":[]}],"git":{"createdTime":1720715796000,"updatedTime":1721533688000,"contributors":[{"name":"Gzh0821","email":"gaozih0821@outlook.com","commits":3}]},"readingTime":{"minutes":2.56,"words":767},"filePathRelative":"instructions/Disclaimer.md","localizedDate":"2024年7月11日","autoDesc":true,"excerpt":"

《PvZ2 Gardendless》免责声明

\\n

本游戏为非商业性质的同人创作作品,旨在向原《植物大战僵尸2》系列致敬,并为喜爱该系列的玩家提供娱乐。以下是本游戏的重要声明:

\\n\\n

本游戏是由爱好者自主制作,完全免费发布,不涉及任何商业目的。所有非商业性收入和捐赠将用于服务器维护和作品制作。

\\n\\n

本游戏中使用的所有植物、僵尸、游戏音效、背景音乐及其他相关图像素材,均为《植物大战僵尸2》原作品的版权所有者所有。我们对原作品及其创作者充满尊敬与感激之情。

"}');export{m as comp,h as data}; +import{_ as e}from"./plugin-vue_export-helper-DlAUqK2U.js";import{c as t,o as i,e as n}from"./app-B6aPqg13.js";const o={},r=n('

《PvZ2 Gardendless》免责声明

本游戏为非商业性质的同人创作作品,旨在向原《植物大战僵尸2》系列致敬,并为喜爱该系列的玩家提供娱乐。以下是本游戏的重要声明:

本游戏是由爱好者自主制作,完全免费发布,不涉及任何商业目的。所有非商业性收入和捐赠将用于服务器维护和作品制作。

本游戏中使用的所有植物、僵尸、游戏音效、背景音乐及其他相关图像素材,均为《植物大战僵尸2》原作品的版权所有者所有。我们对原作品及其创作者充满尊敬与感激之情。

制作者及团队无意侵犯任何版权或知识产权。游戏内容仅为个人兴趣制作,不得用于任何商业用途。如有侵权行为,请立即联系我们,我们将立即采取措施予以纠正。

我们深知原作品的重要性,并鼓励玩家支持正版《植物大战僵尸2》系列游戏。本游戏旨在通过创意和技术向原作致敬,并非官方授权的扩展或续集。

未经版权所有者书面许可,任何组织或个人不得将本游戏用于任何形式的商业用途,包括但不限于销售、广告、赞助等。

如有任何关于版权或其他问题的疑问,请通过以下联系方式与我们取得联系:

bilibili: 南Garden

我们感谢您的理解和支持,希望您享受这款由爱好者制作的游戏!

This game is a non-commercial fan-made creation, created solely for entertainment purposes and as a tribute to the original "Plants vs. Zombies 2" series. Please read the following important statements:

This game is developed by enthusiasts and is distributed completely free of charge, with no commercial intent whatsoever. All non-commercial income and donations will be used for server maintenance and work production.

All plants, zombies, game sound effects, background music, and other related imagery used in this game are the property of the original creators of the "Plants vs. Zombies 2" series. We hold deep respect and gratitude towards the original work and its creators.

The creators and team behind this game have no intention of infringing upon any copyrights or intellectual property rights. The game content is created purely out of personal interest and should not be used for any commercial purposes. If there are any concerns regarding copyright infringement, please contact us immediately, and we will take prompt action to rectify the situation.

We recognize the significance of the original work and encourage players to support the official "Plants vs. Zombies 2" series. This game is intended as a creative and technical homage to the original, and is not an officially licensed extension or sequel.

Without explicit written permission from the copyright holders, no individual or organization may use this game for any form of commercial activity, including but not limited to sales, advertising, sponsorship, etc.

For any inquiries or concerns regarding copyright or other matters, please contact us through the following channels:

bilibili: 南Garden

We appreciate your understanding and support, and hope you enjoy this fan-made game crafted with passion!

',32),a=[r];function s(l,p){return i(),t("div",null,a)}const m=e(o,[["render",s],["__file","Disclaimer.html.vue"]]),h=JSON.parse('{"path":"/instructions/Disclaimer.html","title":"免责声明","lang":"zh-CN","frontmatter":{"title":"免责声明","icon":"copyright","index":true,"order":2,"pageInfo":false,"comment":false,"description":"《PvZ2 Gardendless》免责声明 本游戏为非商业性质的同人创作作品,旨在向原《植物大战僵尸2》系列致敬,并为喜爱该系列的玩家提供娱乐。以下是本游戏的重要声明: 非商业性质声明 本游戏是由爱好者自主制作,完全免费发布,不涉及任何商业目的。所有非商业性收入和捐赠将用于服务器维护和作品制作。 版权声明 本游戏中使用的所有植物、僵尸、游戏音效、背景...","head":[["link",{"rel":"alternate","hreflang":"en-us","href":"https://www.pvzge.com/en/instructions/Disclaimer.html"}],["meta",{"property":"og:url","content":"https://www.pvzge.com/instructions/Disclaimer.html"}],["meta",{"property":"og:site_name","content":"PvZ2 Gardendless 官方网站|完全重置的PVZ2体验"}],["meta",{"property":"og:title","content":"免责声明"}],["meta",{"property":"og:description","content":"《PvZ2 Gardendless》免责声明 本游戏为非商业性质的同人创作作品,旨在向原《植物大战僵尸2》系列致敬,并为喜爱该系列的玩家提供娱乐。以下是本游戏的重要声明: 非商业性质声明 本游戏是由爱好者自主制作,完全免费发布,不涉及任何商业目的。所有非商业性收入和捐赠将用于服务器维护和作品制作。 版权声明 本游戏中使用的所有植物、僵尸、游戏音效、背景..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:locale:alternate","content":"en-US"}],["meta",{"property":"og:updated_time","content":"2024-07-21T03:48:08.000Z"}],["meta",{"property":"article:author","content":"LMYY"}],["meta",{"property":"article:modified_time","content":"2024-07-21T03:48:08.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"免责声明\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-07-21T03:48:08.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"LMYY\\",\\"url\\":\\"https://gaozih.com\\"}]}"]]},"headers":[{"level":2,"title":"《PvZ2 Gardendless》免责声明","slug":"《pvz2-gardendless》免责声明","link":"#《pvz2-gardendless》免责声明","children":[]},{"level":2,"title":"Disclaimer and Copyright Notice for \\"PvZ2 Gardendless\\"","slug":"disclaimer-and-copyright-notice-for-pvz2-gardendless","link":"#disclaimer-and-copyright-notice-for-pvz2-gardendless","children":[]}],"git":{"createdTime":1720715796000,"updatedTime":1721533688000,"contributors":[{"name":"Gzh0821","email":"gaozih0821@outlook.com","commits":3}]},"readingTime":{"minutes":2.56,"words":767},"filePathRelative":"instructions/Disclaimer.md","localizedDate":"2024年7月11日","autoDesc":true,"excerpt":"

《PvZ2 Gardendless》免责声明

\\n

本游戏为非商业性质的同人创作作品,旨在向原《植物大战僵尸2》系列致敬,并为喜爱该系列的玩家提供娱乐。以下是本游戏的重要声明:

\\n\\n

本游戏是由爱好者自主制作,完全免费发布,不涉及任何商业目的。所有非商业性收入和捐赠将用于服务器维护和作品制作。

\\n\\n

本游戏中使用的所有植物、僵尸、游戏音效、背景音乐及其他相关图像素材,均为《植物大战僵尸2》原作品的版权所有者所有。我们对原作品及其创作者充满尊敬与感激之情。

"}');export{m as comp,h as data}; diff --git a/assets/FAQ.html-BOdrs66k.js b/assets/FAQ.html-BOdrs66k.js deleted file mode 100644 index b77eee10a..000000000 --- a/assets/FAQ.html-BOdrs66k.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as t}from"./plugin-vue_export-helper-DlAUqK2U.js";import{c as e,o as d,e as a}from"./app-JWH7-BAb.js";const n={},r=a('

常见游玩问题

此问题汇总仅截至“WWP2”版本

此 Q&A by@索菲 sophine

怎么没有中文?

本游戏仅有英文,并没有制作中文版本。

pvz2 这个游戏是分国际服和国服的,国际服有民间的汉化,而国服的官方汉化做的不甚理想。

首先是为了还原国际版,我们目前版本的首要目标就是还原国际版,并且做出一些我们的特色,事实上大家也确实看到了我们这个版本的特色内容。

所以 就是为了还原,要使用和国际版一样的英文。

其次,以这个游戏的玩法来说,没有汉化,对于游玩过程的影响其实并不是很大,可以搞汉化,但现阶段不是非要搞汉化。

最后,如果决定要汉化,又面临了到底要采取哪个版本的问题,选民间汉化或是选官方汉化都会遭受非议。横竖都不是。

然后,如果要自己汉化这个游戏的话,汉化难度其实特别高。因为它有各种英文双关梗,如果汉化了,很有可能失去了这一独特的趣味。

不仅如此,还有一些人说,“哪有一上来就搞汉化的”,这样就更让我们很为难了,所以暂时搁置了汉化。

目前关于汉化,我们还没有计划,或许哪天这个版本开源了,会有人尝试作出汉化的,给您造成的不便,希望您谅解。

目前仅有一个粉丝尝试制作了汉化版本,然而最近并没有跟进更新,已经落后于最新进度几个版本,不建议游玩。

启动的时候卡白屏怎么办?

开头出现火烧 EA 的画面,其实是在加载游戏资源,在启动时出现的问题,多半是在开始加载时产生的。

目前暂且做出两种可能性解释,一是开头火焰的渲染容易导致崩溃,二是自动调整分辨率而导致出现问题。

下个版本将拟定关闭自动切换分辨率功能,或将解决此问题。

很多遇到此问题的人多次尝试以后便解决了此问题,因此我们建议您先反复尝试一番。

另外,如果您是从网盘下载的版本,可以尝试在群内下载资源,我们也遇到了多个玩家无法运行网盘版本但却可以运行群内版本。

该现象的原因尚且不明,但是上传的文件应是同一文件。

沙盒模式在哪里?

游戏的设置界面有一个“Sandbox Level”按钮,点击即可,对于沙盒模式各个按钮的作用,下面给出解释:

操作效果
Tab切换舞台效果
Backspace(完全)涨潮
Enter(完全)退潮
←/→涨潮或退潮一格
鼠标滚轮(要放在卡牌上)切换卡牌
F5时间停滞
F1生成僵尸
Free plants植物不耗费阳光
Cooldown off种植无冷却
Free plant food免费叶绿素
i 旁的箭头僵尸出场方式

以上仅限于沙盒模式,下面列出一些普通模式的快捷键:

为什么僵王关卡没有出怪?

海盗和埃及僵王仍在制作中,请耐心等待,当前版本仅开发完成海盗和埃及两个世界,西部尚未制作完成。

为什么有的其他的关卡没有出怪?

神秘埃及和海盗港湾的部分小游戏关卡,以及西部的后半关卡仍然在制作中,没有出怪即是没有制作完成。

全屏显示率好怪,应该怎么办。

初次启动游戏是固定全屏的,按F4可以取消全屏。 目前游戏已经针对 16:10 和 16:9 的电脑进行了 UI 适配,如果您仍然有显示上的问题,请及时向作者反映,我们会尽快修复。

为什么所有的UI都不见了?

按下~键可以隐藏ui,请您检查是否是误按此按键致使UI被隐藏。

为什么一开始就是植物全解锁?

具体存档功能仍然在制作之中,因此存档一开始即为全解锁,我们将在未来版本加入此功能。请您稍安勿躁。

另外,点击金币和钻石边上的加号,即可直接使其数量增多,未来如果您在设置中选择了ALLOW CHEAT(允许作弊), 此功能仍然会保留,如果未允许作弊,此功能将会允许您将金币与钻石相互兑换。

设置界面内容翻译

English中文
Music音乐
Sound FX音效
Resolution分辨率
Difficulty难度(A 最高 D 最低)
Upper card layer将卡槽置顶,当植物卡槽被巨人僵尸等僵尸阻挡时使用
Allow cheat允许作弊(在游戏中可以点击加号自由增加叶绿素和阳光)
Sandbox level沙盒关卡
Square tip mode切换种植的时候的十字或者每一个格子红绿色记号
Full screen全屏
',39),l=[r];function p(i,o){return d(),e("div",null,l)}const s=t(n,[["render",p],["__file","FAQ.html.vue"]]),u=JSON.parse('{"path":"/guide/FAQ.html","title":"常见问题FAQ","lang":"zh-CN","frontmatter":{"title":"常见问题FAQ","icon":"question","pageInfo":false,"comment":false,"index":true,"order":2,"description":"常见游玩问题 注 此问题汇总仅截至“WWP2”版本 此 Q&A by@索菲 sophine 怎么没有中文? 本游戏仅有英文,并没有制作中文版本。 关于汉化问题的解释: pvz2 这个游戏是分国际服和国服的,国际服有民间的汉化,而国服的官方汉化做的不甚理想。 首先是为了还原国际版,我们目前版本的首要目标就是还原国际版,并且做出一些我们的特色,事实上大家也...","head":[["link",{"rel":"alternate","hreflang":"en-us","href":"https://www.pvzge.com/en/guide/FAQ.html"}],["meta",{"property":"og:url","content":"https://www.pvzge.com/guide/FAQ.html"}],["meta",{"property":"og:site_name","content":"PvZ2 Gardendless 官方网站|完全重置的PVZ2体验"}],["meta",{"property":"og:title","content":"常见问题FAQ"}],["meta",{"property":"og:description","content":"常见游玩问题 注 此问题汇总仅截至“WWP2”版本 此 Q&A by@索菲 sophine 怎么没有中文? 本游戏仅有英文,并没有制作中文版本。 关于汉化问题的解释: pvz2 这个游戏是分国际服和国服的,国际服有民间的汉化,而国服的官方汉化做的不甚理想。 首先是为了还原国际版,我们目前版本的首要目标就是还原国际版,并且做出一些我们的特色,事实上大家也..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:locale:alternate","content":"en-US"}],["meta",{"property":"og:updated_time","content":"2024-07-21T17:03:32.000Z"}],["meta",{"property":"article:author","content":"LMYY"}],["meta",{"property":"article:modified_time","content":"2024-07-21T17:03:32.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"常见问题FAQ\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-07-21T17:03:32.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"LMYY\\",\\"url\\":\\"https://gaozih.com\\"}]}"]]},"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":"为什么所有的UI都不见了?","slug":"为什么所有的ui都不见了","link":"#为什么所有的ui都不见了","children":[]},{"level":2,"title":"为什么一开始就是植物全解锁?","slug":"为什么一开始就是植物全解锁","link":"#为什么一开始就是植物全解锁","children":[]},{"level":2,"title":"设置界面内容翻译","slug":"设置界面内容翻译","link":"#设置界面内容翻译","children":[]}],"git":{"createdTime":1721118125000,"updatedTime":1721581412000,"contributors":[{"name":"Gzh0821","email":"gaozih0821@outlook.com","commits":3}]},"readingTime":{"minutes":4.78,"words":1434},"filePathRelative":"guide/FAQ.md","localizedDate":"2024年7月16日","autoDesc":true,"excerpt":"

常见游玩问题

\\n
\\n

\\n

此问题汇总仅截至“WWP2”版本

\\n

此 Q&A by@索菲 sophine

\\n
\\n

怎么没有中文?

\\n

本游戏仅有英文,并没有制作中文版本。

\\n\\n

pvz2 这个游戏是分国际服和国服的,国际服有民间的汉化,而国服的官方汉化做的不甚理想。

\\n

首先是为了还原国际版,我们目前版本的首要目标就是还原国际版,并且做出一些我们的特色,事实上大家也确实看到了我们这个版本的特色内容。

"}');export{s as comp,u as data}; diff --git a/assets/FAQ.html-BYLOiL5M.js b/assets/FAQ.html-BYLOiL5M.js deleted file mode 100644 index ce13de078..000000000 --- a/assets/FAQ.html-BYLOiL5M.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as t}from"./plugin-vue_export-helper-DlAUqK2U.js";import{c as e,o as d,e as a}from"./app-JWH7-BAb.js";const n={},r=a('

常见游玩问题

Note

此问题汇总仅截至“WWP2”版本

此 Q&A by@索菲 sophine

怎么没有中文?

本游戏仅有英文,并没有制作中文版本。

pvz2 这个游戏是分国际服和国服的,国际服有民间的汉化,而国服的官方汉化做的不甚理想。

首先是为了还原国际版,我们目前版本的首要目标就是还原国际版,并且做出一些我们的特色,事实上大家也确实看到了我们这个版本的特色内容。

所以 就是为了还原,要使用和国际版一样的英文。

其次,以这个游戏的玩法来说,没有汉化,对于游玩过程的影响其实并不是很大,可以搞汉化,但现阶段不是非要搞汉化。

最后,如果决定要汉化,又面临了到底要采取哪个版本的问题,选民间汉化或是选官方汉化都会遭受非议。横竖都不是。

然后,如果要自己汉化这个游戏的话,汉化难度其实特别高。因为它有各种英文双关梗,如果汉化了,很有可能失去了这一独特的趣味。

不仅如此,还有一些人说,“哪有一上来就搞汉化的”,这样就更让我们很为难了,所以暂时搁置了汉化。

目前关于汉化,我们还没有计划,或许哪天这个版本开源了,会有人尝试作出汉化的,给您造成的不便,希望您谅解。

目前仅有一个粉丝尝试制作了汉化版本,然而最近并没有跟进更新,已经落后于最新进度几个版本,不建议游玩。

启动的时候卡白屏怎么办?

开头出现火烧 EA 的画面,其实是在加载游戏资源,在启动时出现的问题,多半是在开始加载时产生的。

目前暂且做出两种可能性解释,一是开头火焰的渲染容易导致崩溃,二是自动调整分辨率而导致出现问题。

下个版本将拟定关闭自动切换分辨率功能,或将解决此问题。

很多遇到此问题的人多次尝试以后便解决了此问题,因此我们建议您先反复尝试一番。

另外,如果您是从网盘下载的版本,可以尝试在群内下载资源,我们也遇到了多个玩家无法运行网盘版本但却可以运行群内版本。

该现象的原因尚且不明,但是上传的文件应是同一文件。

沙盒模式在哪里?

游戏的设置界面有一个“Sandbox Level”按钮,点击即可,对于沙盒模式各个按钮的作用,下面给出解释:

操作效果
Tab切换舞台效果
Backspace(完全)涨潮
Enter(完全)退潮
←/→涨潮或退潮一格
鼠标滚轮(要放在卡牌上)切换卡牌
F5时间停滞
F1生成僵尸
Free plants植物不耗费阳光
Cooldown off种植无冷却
Free plant food免费叶绿素
i 旁的箭头僵尸出场方式

以上仅限于沙盒模式,下面列出一些普通模式的快捷键:

为什么僵王关卡没有出怪?

海盗和埃及僵王仍在制作中,请耐心等待,当前版本仅开发完成海盗和埃及两个世界,西部尚未制作完成。

为什么有的其他的关卡没有出怪?

神秘埃及和海盗港湾的部分小游戏关卡,以及西部的后半关卡仍然在制作中,没有出怪即是没有制作完成。

全屏显示率好怪,应该怎么办。

初次启动游戏是固定全屏的,按F4可以取消全屏。 目前游戏已经针对 16:10 和 16:9 的电脑进行了 UI 适配,如果您仍然有显示上的问题,请及时向作者反映,我们会尽快修复。

为什么所有的UI都不见了?

按下~键可以隐藏ui,请您检查是否是误按此按键致使UI被隐藏。

为什么一开始就是植物全解锁?

具体存档功能仍然在制作之中,因此存档一开始即为全解锁,我们将在未来版本加入此功能。请您稍安勿躁。

另外,点击金币和钻石边上的加号,即可直接使其数量增多,未来如果您在设置中选择了ALLOW CHEAT(允许作弊), 此功能仍然会保留,如果未允许作弊,此功能将会允许您将金币与钻石相互兑换。

设置界面内容翻译

English中文
Music音乐
Sound FX音效
Resolution分辨率
Difficulty难度(A 最高 D 最低)
Upper card layer将卡槽置顶,当植物卡槽被巨人僵尸等僵尸阻挡时使用
Allow cheat允许作弊(在游戏中可以点击加号自由增加叶绿素和阳光)
Sandbox level沙盒关卡
Square tip mode切换种植的时候的十字或者每一个格子红绿色记号
Full screen全屏
',39),l=[r];function p(i,o){return d(),e("div",null,l)}const s=t(n,[["render",p],["__file","FAQ.html.vue"]]),m=JSON.parse('{"path":"/en/guide/FAQ.html","title":"FAQ","lang":"en-US","frontmatter":{"title":"FAQ","icon":"question","pageInfo":false,"comment":false,"index":true,"order":2,"description":"常见游玩问题 Note 此问题汇总仅截至“WWP2”版本 此 Q&A by@索菲 sophine 怎么没有中文? 本游戏仅有英文,并没有制作中文版本。 关于汉化问题的解释: pvz2 这个游戏是分国际服和国服的,国际服有民间的汉化,而国服的官方汉化做的不甚理想。 首先是为了还原国际版,我们目前版本的首要目标就是还原国际版,并且做出一些我们的特色,事实上...","head":[["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://www.pvzge.com/guide/FAQ.html"}],["meta",{"property":"og:url","content":"https://www.pvzge.com/en/guide/FAQ.html"}],["meta",{"property":"og:site_name","content":"PvZ2 Gardendless Official Website|A completely remastered PVZ2 experience"}],["meta",{"property":"og:title","content":"FAQ"}],["meta",{"property":"og:description","content":"常见游玩问题 Note 此问题汇总仅截至“WWP2”版本 此 Q&A by@索菲 sophine 怎么没有中文? 本游戏仅有英文,并没有制作中文版本。 关于汉化问题的解释: pvz2 这个游戏是分国际服和国服的,国际服有民间的汉化,而国服的官方汉化做的不甚理想。 首先是为了还原国际版,我们目前版本的首要目标就是还原国际版,并且做出一些我们的特色,事实上..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:locale:alternate","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-07-24T09:32:12.000Z"}],["meta",{"property":"article:author","content":"LMYY"}],["meta",{"property":"article:modified_time","content":"2024-07-24T09:32:12.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"FAQ\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-07-24T09:32:12.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"LMYY\\",\\"url\\":\\"https://gaozih.com\\"}]}"]]},"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":"为什么所有的UI都不见了?","slug":"为什么所有的ui都不见了","link":"#为什么所有的ui都不见了","children":[]},{"level":2,"title":"为什么一开始就是植物全解锁?","slug":"为什么一开始就是植物全解锁","link":"#为什么一开始就是植物全解锁","children":[]},{"level":2,"title":"设置界面内容翻译","slug":"设置界面内容翻译","link":"#设置界面内容翻译","children":[]}],"git":{"createdTime":1721118125000,"updatedTime":1721813532000,"contributors":[{"name":"Gzh0821","email":"gaozih0821@outlook.com","commits":2}]},"readingTime":{"minutes":4.77,"words":1430},"filePathRelative":"en/guide/FAQ.md","localizedDate":"July 16, 2024","autoDesc":true,"excerpt":"

常见游玩问题

\\n
\\n

Note

\\n

此问题汇总仅截至“WWP2”版本

\\n

此 Q&A by@索菲 sophine

\\n
\\n

怎么没有中文?

\\n

本游戏仅有英文,并没有制作中文版本。

\\n\\n

pvz2 这个游戏是分国际服和国服的,国际服有民间的汉化,而国服的官方汉化做的不甚理想。

\\n

首先是为了还原国际版,我们目前版本的首要目标就是还原国际版,并且做出一些我们的特色,事实上大家也确实看到了我们这个版本的特色内容。

"}');export{s as comp,m as data}; diff --git a/assets/FAQ.html-CkBPOjMJ.js b/assets/FAQ.html-CkBPOjMJ.js new file mode 100644 index 000000000..e8a4e6b96 --- /dev/null +++ b/assets/FAQ.html-CkBPOjMJ.js @@ -0,0 +1 @@ +import{_ as e}from"./plugin-vue_export-helper-DlAUqK2U.js";import{c as t,o as a,e as o}from"./app-B6aPqg13.js";const i={},s=o('

Frequently Asked Game Questions

Note

This FaQ is Valid till “WWP2” version

Q&A by @索菲 sophine

What should I do if I get stuck with a white screen at startup?

The opening image of flaming EA is actually loading game resources, and the problem occurs at startup, mostly when it starts loading. There are two possible explanations for this situation, either the rendering of the flames at the beginning tends to cause crashes, or the problem is caused by auto-adjustment of the resolution(invalid in latest version). Many people who have encountered this problem have resolved it after several attempts, so we recommend that you try it again and again. In addition, most of the white screen cases we have recorded so far are using Lenovo laptops, so please refer to your computer configuration to make a judgement.

Where are the sandbox levels?

There is a “Sandbox Level” button on the game's settings screen. Once inside, there is a purple “i” button, click on it to get a description of the keys.

FunctionsResult
TabSwitch Stage Effect
BackspaceSpawn or Push the Tide(Totally)
EnterPull the Tide(Totally)
←/→Push or Pull the Tide by One Square Width
Scroll at the CardsChange Seedpackets
F5Stop Gaming Update
F1Spawn Random Zombies
Free plantsPlant without Sun Cost
Cooldown offPlant without Cooling Down
Free PlantfoodFree Plantfood Effect
Arrow near the 'i'Set the Spawn Style of Zombies from Seedpackets

The above is limited to sandbox levels, some shortcuts for normal mode are listed below: While the game is in progress, press [a] to collect sunlight, coins and diamonds. Right-click on a plant to play water animation. Middle-click on a plant in the field to trigger a plant food effect. Use the keyboard to automatically match the spare Banana Rocket or Missile Toe on the field. Use the [b] key for the former and the [n] key for the latter. Press [~] to hide UI.

Why is there no zombie in the zomboss level?

The Zomboss Mechs are still under development, patience is virtue.

Why is there Tutorial Zombies in some of the World Levels? Or the level is not playable?

Tutorial Zombies and Peashooters are usually placeholders of the uncompleted Zombies or Plants.

They will be replaced by what they should have been in vanilla in the future.

The full screen resolution is so weird, what should I do?

Initial launch of the game is fixed full screen, press F4 to cancel the full screen.

Currently the game has been UI adapted for 16:10 and 16:9 screens, if you have problems about screen display, please reflect them to the author and we will fix them as soon as possible.

Why are the UI gone?

Press the [~] key to hide UI, please check if the UI is hidden by pressing this key by mistake. If invalid, unfortunately this problem might be brought by the devices you are using.

Why is the plant all unlocked in the first place?

The archive feature is still under development, that's why all the plants and levels are fully unlocked from the beginning, and we will add this feature in future versions.

In addition, clicking on the plus sign on the side of the gold and diamonds can directly increase their number, in the future, if you select [ALLOW CHEAT] in the Settings, this function will still be retained, if you do not allow cheating, this function will allow you to exchange gold and diamonds with each other.

',21),n=[s];function l(r,h){return a(),t("div",null,n)}const p=e(i,[["render",l],["__file","FAQ.html.vue"]]),u=JSON.parse('{"path":"/en/guide/FAQ.html","title":"FAQ","lang":"en-US","frontmatter":{"title":"FAQ","icon":"question","pageInfo":false,"comment":false,"index":true,"order":2,"description":"Frequently Asked Game Questions Note This FaQ is Valid till “WWP2” version Q&A by @索菲 sophine What should I do if I get stuck with a white screen at startup? The opening image o...","head":[["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://www.pvzge.com/guide/FAQ.html"}],["meta",{"property":"og:url","content":"https://www.pvzge.com/en/guide/FAQ.html"}],["meta",{"property":"og:site_name","content":"PvZ2 Gardendless Official Website|A completely remastered PVZ2 experience"}],["meta",{"property":"og:title","content":"FAQ"}],["meta",{"property":"og:description","content":"Frequently Asked Game Questions Note This FaQ is Valid till “WWP2” version Q&A by @索菲 sophine What should I do if I get stuck with a white screen at startup? The opening image o..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:locale:alternate","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-07-24T11:17:27.000Z"}],["meta",{"property":"article:author","content":"LMYY"}],["meta",{"property":"article:modified_time","content":"2024-07-24T11:17:27.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"FAQ\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-07-24T11:17:27.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"LMYY\\",\\"url\\":\\"https://gaozih.com\\"}]}"]]},"headers":[{"level":2,"title":"Frequently Asked Game Questions","slug":"frequently-asked-game-questions","link":"#frequently-asked-game-questions","children":[]},{"level":2,"title":"What should I do if I get stuck with a white screen at startup?","slug":"what-should-i-do-if-i-get-stuck-with-a-white-screen-at-startup","link":"#what-should-i-do-if-i-get-stuck-with-a-white-screen-at-startup","children":[]},{"level":2,"title":"Where are the sandbox levels?","slug":"where-are-the-sandbox-levels","link":"#where-are-the-sandbox-levels","children":[]},{"level":2,"title":"Why is there no zombie in the zomboss level?","slug":"why-is-there-no-zombie-in-the-zomboss-level","link":"#why-is-there-no-zombie-in-the-zomboss-level","children":[]},{"level":2,"title":"Why is there Tutorial Zombies in some of the World Levels? Or the level is not playable?","slug":"why-is-there-tutorial-zombies-in-some-of-the-world-levels-or-the-level-is-not-playable","link":"#why-is-there-tutorial-zombies-in-some-of-the-world-levels-or-the-level-is-not-playable","children":[]},{"level":2,"title":"The full screen resolution is so weird, what should I do?","slug":"the-full-screen-resolution-is-so-weird-what-should-i-do","link":"#the-full-screen-resolution-is-so-weird-what-should-i-do","children":[]},{"level":2,"title":"Why are the UI gone?","slug":"why-are-the-ui-gone","link":"#why-are-the-ui-gone","children":[]},{"level":2,"title":"Why is the plant all unlocked in the first place?","slug":"why-is-the-plant-all-unlocked-in-the-first-place","link":"#why-is-the-plant-all-unlocked-in-the-first-place","children":[]}],"git":{"createdTime":1721118125000,"updatedTime":1721819847000,"contributors":[{"name":"Gzh0821","email":"gaozih0821@outlook.com","commits":3}]},"readingTime":{"minutes":2.03,"words":608},"filePathRelative":"en/guide/FAQ.md","localizedDate":"July 16, 2024","autoDesc":true,"excerpt":"

Frequently Asked Game Questions

\\n
\\n

Note

\\n

This FaQ is Valid till “WWP2” version

\\n

Q&A by @索菲 sophine

\\n
\\n

What should I do if I get stuck with a white screen at startup?

\\n

The opening image of flaming EA is actually loading game resources, and the problem occurs at startup, mostly when it starts loading.\\nThere are two possible explanations for this situation, either the rendering of the flames at the beginning tends to cause crashes, or the problem is caused by auto-adjustment of the resolution(invalid in latest version).\\nMany people who have encountered this problem have resolved it after several attempts, so we recommend that you try it again and again. In addition, most of the white screen cases we have recorded so far are using Lenovo laptops, so please refer to your computer configuration to make a judgement.

"}');export{p as comp,u as data}; diff --git a/assets/FAQ.html-mIHf4-HR.js b/assets/FAQ.html-mIHf4-HR.js new file mode 100644 index 000000000..3843d8905 --- /dev/null +++ b/assets/FAQ.html-mIHf4-HR.js @@ -0,0 +1 @@ +import{_ as t}from"./plugin-vue_export-helper-DlAUqK2U.js";import{c as e,o as d,e as a}from"./app-B6aPqg13.js";const n={},r=a('

常见游玩问题

此问题汇总仅截至“WWP2”版本

此 Q&A by@索菲 sophine

怎么没有中文?

本游戏仅有英文,并没有制作中文版本。

pvz2 这个游戏是分国际服和国服的,国际服有民间的汉化,而国服的官方汉化做的不甚理想。

首先是为了还原国际版,我们目前版本的首要目标就是还原国际版,并且做出一些我们的特色,事实上大家也确实看到了我们这个版本的特色内容。

所以 就是为了还原,要使用和国际版一样的英文。

其次,以这个游戏的玩法来说,没有汉化,对于游玩过程的影响其实并不是很大,可以搞汉化,但现阶段不是非要搞汉化。

最后,如果决定要汉化,又面临了到底要采取哪个版本的问题,选民间汉化或是选官方汉化都会遭受非议。横竖都不是。

然后,如果要自己汉化这个游戏的话,汉化难度其实特别高。因为它有各种英文双关梗,如果汉化了,很有可能失去了这一独特的趣味。

不仅如此,还有一些人说,“哪有一上来就搞汉化的”,这样就更让我们很为难了,所以暂时搁置了汉化。

目前关于汉化,我们还没有计划,或许哪天这个版本开源了,会有人尝试作出汉化的,给您造成的不便,希望您谅解。

目前仅有一个粉丝尝试制作了汉化版本,然而最近并没有跟进更新,已经落后于最新进度几个版本,不建议游玩。

启动的时候卡白屏怎么办?

开头出现火烧 EA 的画面,其实是在加载游戏资源,在启动时出现的问题,多半是在开始加载时产生的。

目前暂且做出两种可能性解释,一是开头火焰的渲染容易导致崩溃,二是自动调整分辨率而导致出现问题。

下个版本将拟定关闭自动切换分辨率功能,或将解决此问题。

很多遇到此问题的人多次尝试以后便解决了此问题,因此我们建议您先反复尝试一番。

另外,如果您是从网盘下载的版本,可以尝试在群内下载资源,我们也遇到了多个玩家无法运行网盘版本但却可以运行群内版本。

该现象的原因尚且不明,但是上传的文件应是同一文件。

沙盒模式在哪里?

游戏的设置界面有一个“Sandbox Level”按钮,点击即可,对于沙盒模式各个按钮的作用,下面给出解释:

操作效果
Tab切换舞台效果
Backspace(完全)涨潮
Enter(完全)退潮
←/→涨潮或退潮一格
鼠标滚轮(要放在卡牌上)切换卡牌
F5时间停滞
F1生成僵尸
Free plants植物不耗费阳光
Cooldown off种植无冷却
Free plant food免费叶绿素
i 旁的箭头僵尸出场方式

以上仅限于沙盒模式,下面列出一些普通模式的快捷键:

为什么僵王关卡没有出怪?

海盗和埃及僵王仍在制作中,请耐心等待,当前版本仅开发完成海盗和埃及两个世界,西部尚未制作完成。

为什么有的其他的关卡没有出怪?

神秘埃及和海盗港湾的部分小游戏关卡,以及西部的后半关卡仍然在制作中,没有出怪即是没有制作完成。

全屏显示率好怪,应该怎么办。

初次启动游戏是固定全屏的,按F4可以取消全屏。 目前游戏已经针对 16:10 和 16:9 的电脑进行了 UI 适配,如果您仍然有显示上的问题,请及时向作者反映,我们会尽快修复。

为什么所有的 UI 都不见了?

按下~键可以隐藏 ui,请您检查是否是误按此按键致使 UI 被隐藏。

为什么一开始就是植物全解锁?

具体存档功能仍然在制作之中,因此存档一开始即为全解锁,我们将在未来版本加入此功能。请您稍安勿躁。

另外,点击金币和钻石边上的加号,即可直接使其数量增多,未来如果您在设置中选择了ALLOW CHEAT(允许作弊), 此功能仍然会保留,如果未允许作弊,此功能将会允许您将金币与钻石相互兑换。

设置界面内容翻译

English中文
Music音乐
Sound FX音效
Resolution分辨率
Difficulty难度(A 最高 D 最低)
Upper card layer将卡槽置顶,当植物卡槽被巨人僵尸等僵尸阻挡时使用
Allow cheat允许作弊(在游戏中可以点击加号自由增加叶绿素和阳光)
Sandbox level沙盒关卡
Square tip mode切换种植的时候的十字或者每一个格子红绿色记号
Full screen全屏
',39),l=[r];function p(i,o){return d(),e("div",null,l)}const s=t(n,[["render",p],["__file","FAQ.html.vue"]]),u=JSON.parse('{"path":"/guide/FAQ.html","title":"常见问题FAQ","lang":"zh-CN","frontmatter":{"title":"常见问题FAQ","icon":"question","pageInfo":false,"comment":false,"index":true,"order":2,"description":"常见游玩问题 注 此问题汇总仅截至“WWP2”版本 此 Q&A by@索菲 sophine 怎么没有中文? 本游戏仅有英文,并没有制作中文版本。 关于汉化问题的解释: pvz2 这个游戏是分国际服和国服的,国际服有民间的汉化,而国服的官方汉化做的不甚理想。 首先是为了还原国际版,我们目前版本的首要目标就是还原国际版,并且做出一些我们的特色,事实上大家也...","head":[["link",{"rel":"alternate","hreflang":"en-us","href":"https://www.pvzge.com/en/guide/FAQ.html"}],["meta",{"property":"og:url","content":"https://www.pvzge.com/guide/FAQ.html"}],["meta",{"property":"og:site_name","content":"PvZ2 Gardendless 官方网站|完全重置的PVZ2体验"}],["meta",{"property":"og:title","content":"常见问题FAQ"}],["meta",{"property":"og:description","content":"常见游玩问题 注 此问题汇总仅截至“WWP2”版本 此 Q&A by@索菲 sophine 怎么没有中文? 本游戏仅有英文,并没有制作中文版本。 关于汉化问题的解释: pvz2 这个游戏是分国际服和国服的,国际服有民间的汉化,而国服的官方汉化做的不甚理想。 首先是为了还原国际版,我们目前版本的首要目标就是还原国际版,并且做出一些我们的特色,事实上大家也..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:locale:alternate","content":"en-US"}],["meta",{"property":"og:updated_time","content":"2024-07-24T11:17:27.000Z"}],["meta",{"property":"article:author","content":"LMYY"}],["meta",{"property":"article:modified_time","content":"2024-07-24T11:17:27.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"常见问题FAQ\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-07-24T11:17:27.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"LMYY\\",\\"url\\":\\"https://gaozih.com\\"}]}"]]},"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":"为什么所有的 UI 都不见了?","slug":"为什么所有的-ui-都不见了","link":"#为什么所有的-ui-都不见了","children":[]},{"level":2,"title":"为什么一开始就是植物全解锁?","slug":"为什么一开始就是植物全解锁","link":"#为什么一开始就是植物全解锁","children":[]},{"level":2,"title":"设置界面内容翻译","slug":"设置界面内容翻译","link":"#设置界面内容翻译","children":[]}],"git":{"createdTime":1721118125000,"updatedTime":1721819847000,"contributors":[{"name":"Gzh0821","email":"gaozih0821@outlook.com","commits":4}]},"readingTime":{"minutes":4.78,"words":1434},"filePathRelative":"guide/FAQ.md","localizedDate":"2024年7月16日","autoDesc":true,"excerpt":"

常见游玩问题

\\n
\\n

\\n

此问题汇总仅截至“WWP2”版本

\\n

此 Q&A by@索菲 sophine

\\n
\\n

怎么没有中文?

\\n

本游戏仅有英文,并没有制作中文版本。

\\n\\n

pvz2 这个游戏是分国际服和国服的,国际服有民间的汉化,而国服的官方汉化做的不甚理想。

\\n

首先是为了还原国际版,我们目前版本的首要目标就是还原国际版,并且做出一些我们的特色,事实上大家也确实看到了我们这个版本的特色内容。

"}');export{s as comp,u as data}; diff --git a/assets/OpenSource.html--5Hy3qoL.js b/assets/OpenSource.html-Bi2gxy7_.js similarity index 99% rename from assets/OpenSource.html--5Hy3qoL.js rename to assets/OpenSource.html-Bi2gxy7_.js index 243bd2acc..54702ff0d 100644 --- a/assets/OpenSource.html--5Hy3qoL.js +++ b/assets/OpenSource.html-Bi2gxy7_.js @@ -1 +1 @@ -import{_ as e}from"./plugin-vue_export-helper-DlAUqK2U.js";import{c as t,o,e as i}from"./app-JWH7-BAb.js";const n={},r=i('

"PvZ2 Gardenless" Official Website Open Source Agreement

Copyright [2024] [Gaozih/Gzh0821/LMYY and contributors]

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Apache License 2.0

Apache License

Version 2.0, January 2004

http://www.apache.org/licenses/

TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION

  1. Definitions.

    "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document.

    "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License.

    "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity.

    "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License.

    "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files.

    "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types.

    "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below).

    "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof.

    "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution."

    "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work.

  2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form.

  3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed.

  4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions:

    (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and

    (b) You must cause any modified files to carry prominent notices stating that You changed the files; and

    (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and

    (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License.

    You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License.

  5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions.

  6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file.

  7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License.

  8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages.

  9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability.

    END OF TERMS AND CONDITIONS

',11),a=[r];function s(c,h){return o(),t("div",null,a)}const u=e(n,[["render",s],["__file","OpenSource.html.vue"]]),p=JSON.parse('{"path":"/en/instructions/OpenSource.html","title":"Opensource Agreement","lang":"en-US","frontmatter":{"title":"Opensource Agreement","icon":"gavel","index":true,"order":3,"pageInfo":false,"comment":false,"description":"\\"PvZ2 Gardenless\\" Official Website Open Source Agreement Copyright [2024] [Gaozih/Gzh0821/LMYY and contributors] Licensed under the Apache License, Version 2.0 (the \\"License\\"); ...","head":[["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://www.pvzge.com/instructions/OpenSource.html"}],["meta",{"property":"og:url","content":"https://www.pvzge.com/en/instructions/OpenSource.html"}],["meta",{"property":"og:site_name","content":"PvZ2 Gardendless Official Website|A completely remastered PVZ2 experience"}],["meta",{"property":"og:title","content":"Opensource Agreement"}],["meta",{"property":"og:description","content":"\\"PvZ2 Gardenless\\" Official Website Open Source Agreement Copyright [2024] [Gaozih/Gzh0821/LMYY and contributors] Licensed under the Apache License, Version 2.0 (the \\"License\\"); ..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:locale:alternate","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-07-24T09:32:12.000Z"}],["meta",{"property":"article:author","content":"LMYY"}],["meta",{"property":"article:modified_time","content":"2024-07-24T09:32:12.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"Opensource Agreement\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-07-24T09:32:12.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"LMYY\\",\\"url\\":\\"https://gaozih.com\\"}]}"]]},"headers":[{"level":2,"title":"\\"PvZ2 Gardenless\\" Official Website Open Source Agreement","slug":"pvz2-gardenless-official-website-open-source-agreement","link":"#pvz2-gardenless-official-website-open-source-agreement","children":[]},{"level":2,"title":"Apache License 2.0","slug":"apache-license-2-0","link":"#apache-license-2-0","children":[]}],"git":{"createdTime":1720715796000,"updatedTime":1721813532000,"contributors":[{"name":"Gzh0821","email":"gaozih0821@outlook.com","commits":2}]},"readingTime":{"minutes":5.13,"words":1538},"filePathRelative":"en/instructions/OpenSource.md","localizedDate":"July 11, 2024","autoDesc":true,"excerpt":"

\\"PvZ2 Gardenless\\" Official Website Open Source Agreement

\\n

Copyright [2024] [Gaozih/Gzh0821/LMYY and contributors]

\\n

Licensed under the Apache License, Version 2.0 (the \\"License\\");\\nyou may not use this file except in compliance with the License.\\nYou may obtain a copy of the License at

"}');export{u as comp,p as data}; +import{_ as e}from"./plugin-vue_export-helper-DlAUqK2U.js";import{c as t,o,e as i}from"./app-B6aPqg13.js";const n={},r=i('

"PvZ2 Gardenless" Official Website Open Source Agreement

Copyright [2024] [Gaozih/Gzh0821/LMYY and contributors]

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Apache License 2.0

Apache License

Version 2.0, January 2004

http://www.apache.org/licenses/

TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION

  1. Definitions.

    "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document.

    "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License.

    "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity.

    "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License.

    "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files.

    "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types.

    "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below).

    "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof.

    "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution."

    "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work.

  2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form.

  3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed.

  4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions:

    (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and

    (b) You must cause any modified files to carry prominent notices stating that You changed the files; and

    (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and

    (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License.

    You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License.

  5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions.

  6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file.

  7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License.

  8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages.

  9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability.

    END OF TERMS AND CONDITIONS

',11),a=[r];function s(c,h){return o(),t("div",null,a)}const u=e(n,[["render",s],["__file","OpenSource.html.vue"]]),p=JSON.parse('{"path":"/en/instructions/OpenSource.html","title":"Opensource Agreement","lang":"en-US","frontmatter":{"title":"Opensource Agreement","icon":"gavel","index":true,"order":3,"pageInfo":false,"comment":false,"description":"\\"PvZ2 Gardenless\\" Official Website Open Source Agreement Copyright [2024] [Gaozih/Gzh0821/LMYY and contributors] Licensed under the Apache License, Version 2.0 (the \\"License\\"); ...","head":[["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://www.pvzge.com/instructions/OpenSource.html"}],["meta",{"property":"og:url","content":"https://www.pvzge.com/en/instructions/OpenSource.html"}],["meta",{"property":"og:site_name","content":"PvZ2 Gardendless Official Website|A completely remastered PVZ2 experience"}],["meta",{"property":"og:title","content":"Opensource Agreement"}],["meta",{"property":"og:description","content":"\\"PvZ2 Gardenless\\" Official Website Open Source Agreement Copyright [2024] [Gaozih/Gzh0821/LMYY and contributors] Licensed under the Apache License, Version 2.0 (the \\"License\\"); ..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:locale:alternate","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-07-24T09:32:12.000Z"}],["meta",{"property":"article:author","content":"LMYY"}],["meta",{"property":"article:modified_time","content":"2024-07-24T09:32:12.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"Opensource Agreement\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-07-24T09:32:12.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"LMYY\\",\\"url\\":\\"https://gaozih.com\\"}]}"]]},"headers":[{"level":2,"title":"\\"PvZ2 Gardenless\\" Official Website Open Source Agreement","slug":"pvz2-gardenless-official-website-open-source-agreement","link":"#pvz2-gardenless-official-website-open-source-agreement","children":[]},{"level":2,"title":"Apache License 2.0","slug":"apache-license-2-0","link":"#apache-license-2-0","children":[]}],"git":{"createdTime":1720715796000,"updatedTime":1721813532000,"contributors":[{"name":"Gzh0821","email":"gaozih0821@outlook.com","commits":2}]},"readingTime":{"minutes":5.13,"words":1538},"filePathRelative":"en/instructions/OpenSource.md","localizedDate":"July 11, 2024","autoDesc":true,"excerpt":"

\\"PvZ2 Gardenless\\" Official Website Open Source Agreement

\\n

Copyright [2024] [Gaozih/Gzh0821/LMYY and contributors]

\\n

Licensed under the Apache License, Version 2.0 (the \\"License\\");\\nyou may not use this file except in compliance with the License.\\nYou may obtain a copy of the License at

"}');export{u as comp,p as data}; diff --git a/assets/OpenSource.html-BvAcKOea.js b/assets/OpenSource.html-ChScQOaM.js similarity index 99% rename from assets/OpenSource.html-BvAcKOea.js rename to assets/OpenSource.html-ChScQOaM.js index f6bce6352..f310ef67b 100644 --- a/assets/OpenSource.html-BvAcKOea.js +++ b/assets/OpenSource.html-ChScQOaM.js @@ -1 +1 @@ -import{_ as e}from"./plugin-vue_export-helper-DlAUqK2U.js";import{c as t,o,e as i}from"./app-JWH7-BAb.js";const n={},r=i('

《PvZ2 Gardendless》官方网站开源声明

Copyright [2024] [Gaozih/Gzh0821/LMYY and contributors]

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Apache License 2.0

Apache License

Version 2.0, January 2004

http://www.apache.org/licenses/

TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION

  1. Definitions.

    "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document.

    "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License.

    "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity.

    "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License.

    "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files.

    "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types.

    "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below).

    "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof.

    "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution."

    "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work.

  2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form.

  3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed.

  4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions:

    (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and

    (b) You must cause any modified files to carry prominent notices stating that You changed the files; and

    (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and

    (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License.

    You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License.

  5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions.

  6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file.

  7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License.

  8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages.

  9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability.

    END OF TERMS AND CONDITIONS

',11),a=[r];function s(c,h){return o(),t("div",null,a)}const u=e(n,[["render",s],["__file","OpenSource.html.vue"]]),p=JSON.parse('{"path":"/instructions/OpenSource.html","title":"开源声明","lang":"zh-CN","frontmatter":{"title":"开源声明","icon":"gavel","index":true,"order":3,"pageInfo":false,"comment":false,"description":"《PvZ2 Gardendless》官方网站开源声明 Copyright [2024] [Gaozih/Gzh0821/LMYY and contributors] Licensed under the Apache License, Version 2.0 (the \\"License\\"); you may not use this file exce...","head":[["link",{"rel":"alternate","hreflang":"en-us","href":"https://www.pvzge.com/en/instructions/OpenSource.html"}],["meta",{"property":"og:url","content":"https://www.pvzge.com/instructions/OpenSource.html"}],["meta",{"property":"og:site_name","content":"PvZ2 Gardendless 官方网站|完全重置的PVZ2体验"}],["meta",{"property":"og:title","content":"开源声明"}],["meta",{"property":"og:description","content":"《PvZ2 Gardendless》官方网站开源声明 Copyright [2024] [Gaozih/Gzh0821/LMYY and contributors] Licensed under the Apache License, Version 2.0 (the \\"License\\"); you may not use this file exce..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:locale:alternate","content":"en-US"}],["meta",{"property":"og:updated_time","content":"2024-07-21T03:48:08.000Z"}],["meta",{"property":"article:author","content":"LMYY"}],["meta",{"property":"article:modified_time","content":"2024-07-21T03:48:08.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"开源声明\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-07-21T03:48:08.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"LMYY\\",\\"url\\":\\"https://gaozih.com\\"}]}"]]},"headers":[{"level":2,"title":"《PvZ2 Gardendless》官方网站开源声明","slug":"《pvz2-gardendless》官方网站开源声明","link":"#《pvz2-gardendless》官方网站开源声明","children":[]},{"level":2,"title":"Apache License 2.0","slug":"apache-license-2-0","link":"#apache-license-2-0","children":[]}],"git":{"createdTime":1720715796000,"updatedTime":1721533688000,"contributors":[{"name":"Gzh0821","email":"gaozih0821@outlook.com","commits":2}]},"readingTime":{"minutes":5.14,"words":1543},"filePathRelative":"instructions/OpenSource.md","localizedDate":"2024年7月11日","autoDesc":true,"excerpt":"

《PvZ2 Gardendless》官方网站开源声明

\\n

Copyright [2024] [Gaozih/Gzh0821/LMYY and contributors]

\\n

Licensed under the Apache License, Version 2.0 (the \\"License\\");\\nyou may not use this file except in compliance with the License.\\nYou may obtain a copy of the License at

\\n

http://www.apache.org/licenses/LICENSE-2.0

"}');export{u as comp,p as data}; +import{_ as e}from"./plugin-vue_export-helper-DlAUqK2U.js";import{c as t,o,e as i}from"./app-B6aPqg13.js";const n={},r=i('

《PvZ2 Gardendless》官方网站开源声明

Copyright [2024] [Gaozih/Gzh0821/LMYY and contributors]

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Apache License 2.0

Apache License

Version 2.0, January 2004

http://www.apache.org/licenses/

TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION

  1. Definitions.

    "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document.

    "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License.

    "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity.

    "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License.

    "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files.

    "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types.

    "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below).

    "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof.

    "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution."

    "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work.

  2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form.

  3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed.

  4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions:

    (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and

    (b) You must cause any modified files to carry prominent notices stating that You changed the files; and

    (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and

    (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License.

    You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License.

  5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions.

  6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file.

  7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License.

  8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages.

  9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability.

    END OF TERMS AND CONDITIONS

',11),a=[r];function s(c,h){return o(),t("div",null,a)}const u=e(n,[["render",s],["__file","OpenSource.html.vue"]]),p=JSON.parse('{"path":"/instructions/OpenSource.html","title":"开源声明","lang":"zh-CN","frontmatter":{"title":"开源声明","icon":"gavel","index":true,"order":3,"pageInfo":false,"comment":false,"description":"《PvZ2 Gardendless》官方网站开源声明 Copyright [2024] [Gaozih/Gzh0821/LMYY and contributors] Licensed under the Apache License, Version 2.0 (the \\"License\\"); you may not use this file exce...","head":[["link",{"rel":"alternate","hreflang":"en-us","href":"https://www.pvzge.com/en/instructions/OpenSource.html"}],["meta",{"property":"og:url","content":"https://www.pvzge.com/instructions/OpenSource.html"}],["meta",{"property":"og:site_name","content":"PvZ2 Gardendless 官方网站|完全重置的PVZ2体验"}],["meta",{"property":"og:title","content":"开源声明"}],["meta",{"property":"og:description","content":"《PvZ2 Gardendless》官方网站开源声明 Copyright [2024] [Gaozih/Gzh0821/LMYY and contributors] Licensed under the Apache License, Version 2.0 (the \\"License\\"); you may not use this file exce..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:locale:alternate","content":"en-US"}],["meta",{"property":"og:updated_time","content":"2024-07-21T03:48:08.000Z"}],["meta",{"property":"article:author","content":"LMYY"}],["meta",{"property":"article:modified_time","content":"2024-07-21T03:48:08.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"开源声明\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-07-21T03:48:08.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"LMYY\\",\\"url\\":\\"https://gaozih.com\\"}]}"]]},"headers":[{"level":2,"title":"《PvZ2 Gardendless》官方网站开源声明","slug":"《pvz2-gardendless》官方网站开源声明","link":"#《pvz2-gardendless》官方网站开源声明","children":[]},{"level":2,"title":"Apache License 2.0","slug":"apache-license-2-0","link":"#apache-license-2-0","children":[]}],"git":{"createdTime":1720715796000,"updatedTime":1721533688000,"contributors":[{"name":"Gzh0821","email":"gaozih0821@outlook.com","commits":2}]},"readingTime":{"minutes":5.14,"words":1543},"filePathRelative":"instructions/OpenSource.md","localizedDate":"2024年7月11日","autoDesc":true,"excerpt":"

《PvZ2 Gardendless》官方网站开源声明

\\n

Copyright [2024] [Gaozih/Gzh0821/LMYY and contributors]

\\n

Licensed under the Apache License, Version 2.0 (the \\"License\\");\\nyou may not use this file except in compliance with the License.\\nYou may obtain a copy of the License at

\\n

http://www.apache.org/licenses/LICENSE-2.0

"}');export{u as comp,p as data}; diff --git a/assets/PvZinfo.html-BvRJ1Duw.js b/assets/PvZinfo.html-CMzpARBf.js similarity index 98% rename from assets/PvZinfo.html-BvRJ1Duw.js rename to assets/PvZinfo.html-CMzpARBf.js index 800e81c46..0ac92a322 100644 --- a/assets/PvZinfo.html-BvRJ1Duw.js +++ b/assets/PvZinfo.html-CMzpARBf.js @@ -1 +1 @@ -import{_ as e}from"./plugin-vue_export-helper-DlAUqK2U.js";import{c as t,o as n,e as a}from"./app-JWH7-BAb.js";const o={},i=a('

Important

This website, Game and related content are not endorsed by or affiliated with EA.

本网站,游戏和相关内容并未获得 EA 认可或与 EA 有合作关系。

Plants vs. Zombies Original Version Information

Plants vs. Zombies 2 and related series games are developed and published by Electronic Arts Inc. and its subsidiary PopCap Games. All related copyrights and intellectual property rights belong to Electronic Arts and PopCap Games.

The Chinese version of Plants vs. Zombies 2 is operated by the agent, Talkweb Game, and the copyright belongs to Talkweb Information System Co., Ltd.

Please visit the official websites for more information about Plants vs. Zombies 2 and to download the original game:

Plants vs. Zombies series website: EA-PvZ

Plants vs. Zombies 2 Chinese version official website: 植物大战僵尸2中文版

《植物大战僵尸》原版信息

《植物大战僵尸2》及相关系列游戏是由Electronic Arts Inc.及其子公司PopCap Games开发与发行的, 所有相关版权和知识产权归Electronic Arts及PopCap Games所有。

《植物大战僵尸2中文版》由代理方拓维游戏运营,拓维信息系统股份有限公司版权所有。

请访问官方网站获取更多关于《植物大战僵尸2》的信息以及原版游戏的下载:

《植物大战僵尸》系列游戏网站:EA-PvZ

《植物大战僵尸2中文版》官方网站:植物大战僵尸2中文版

',13),r=[i];function s(l,p){return n(),t("div",null,r)}const d=e(o,[["render",s],["__file","PvZinfo.html.vue"]]),h=JSON.parse('{"path":"/en/instructions/PvZinfo.html","title":"Original Version","lang":"en-US","frontmatter":{"title":"Original Version","icon":"circle-info","index":true,"order":4,"pageInfo":false,"comment":false,"description":"Important This website, Game and related content are not endorsed by or affiliated with EA. 本网站,游戏和相关内容并未获得 EA 认可或与 EA 有合作关系。 Plants vs. Zombies Original Version Information Pla...","head":[["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://www.pvzge.com/instructions/PvZinfo.html"}],["meta",{"property":"og:url","content":"https://www.pvzge.com/en/instructions/PvZinfo.html"}],["meta",{"property":"og:site_name","content":"PvZ2 Gardendless Official Website|A completely remastered PVZ2 experience"}],["meta",{"property":"og:title","content":"Original Version"}],["meta",{"property":"og:description","content":"Important This website, Game and related content are not endorsed by or affiliated with EA. 本网站,游戏和相关内容并未获得 EA 认可或与 EA 有合作关系。 Plants vs. Zombies Original Version Information Pla..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:locale:alternate","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-07-24T09:32:12.000Z"}],["meta",{"property":"article:author","content":"LMYY"}],["meta",{"property":"article:modified_time","content":"2024-07-24T09:32:12.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"Original Version\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-07-24T09:32:12.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"LMYY\\",\\"url\\":\\"https://gaozih.com\\"}]}"]]},"headers":[{"level":2,"title":"Plants vs. Zombies Original Version Information","slug":"plants-vs-zombies-original-version-information","link":"#plants-vs-zombies-original-version-information","children":[]},{"level":2,"title":"《植物大战僵尸》原版信息","slug":"《植物大战僵尸》原版信息","link":"#《植物大战僵尸》原版信息","children":[]}],"git":{"createdTime":1720715796000,"updatedTime":1721813532000,"contributors":[{"name":"Gzh0821","email":"gaozih0821@outlook.com","commits":2}]},"readingTime":{"minutes":1.15,"words":345},"filePathRelative":"en/instructions/PvZinfo.md","localizedDate":"July 11, 2024","autoDesc":true,"excerpt":"
\\n

Important

\\n

This website, Game and related content are not endorsed by or affiliated with EA.

\\n

本网站,游戏和相关内容并未获得 EA 认可或与 EA 有合作关系。

\\n
\\n

Plants vs. Zombies Original Version Information

\\n

Plants vs. Zombies 2 and related series games are developed and published by Electronic Arts Inc. and its subsidiary PopCap Games. All related copyrights and intellectual property rights belong to Electronic Arts and PopCap Games.

"}');export{d as comp,h as data}; +import{_ as e}from"./plugin-vue_export-helper-DlAUqK2U.js";import{c as t,o as n,e as a}from"./app-B6aPqg13.js";const o={},i=a('

Important

This website, Game and related content are not endorsed by or affiliated with EA.

本网站,游戏和相关内容并未获得 EA 认可或与 EA 有合作关系。

Plants vs. Zombies Original Version Information

Plants vs. Zombies 2 and related series games are developed and published by Electronic Arts Inc. and its subsidiary PopCap Games. All related copyrights and intellectual property rights belong to Electronic Arts and PopCap Games.

The Chinese version of Plants vs. Zombies 2 is operated by the agent, Talkweb Game, and the copyright belongs to Talkweb Information System Co., Ltd.

Please visit the official websites for more information about Plants vs. Zombies 2 and to download the original game:

Plants vs. Zombies series website: EA-PvZ

Plants vs. Zombies 2 Chinese version official website: 植物大战僵尸2中文版

《植物大战僵尸》原版信息

《植物大战僵尸2》及相关系列游戏是由Electronic Arts Inc.及其子公司PopCap Games开发与发行的, 所有相关版权和知识产权归Electronic Arts及PopCap Games所有。

《植物大战僵尸2中文版》由代理方拓维游戏运营,拓维信息系统股份有限公司版权所有。

请访问官方网站获取更多关于《植物大战僵尸2》的信息以及原版游戏的下载:

《植物大战僵尸》系列游戏网站:EA-PvZ

《植物大战僵尸2中文版》官方网站:植物大战僵尸2中文版

',13),r=[i];function s(l,p){return n(),t("div",null,r)}const d=e(o,[["render",s],["__file","PvZinfo.html.vue"]]),h=JSON.parse('{"path":"/en/instructions/PvZinfo.html","title":"Original Version","lang":"en-US","frontmatter":{"title":"Original Version","icon":"circle-info","index":true,"order":4,"pageInfo":false,"comment":false,"description":"Important This website, Game and related content are not endorsed by or affiliated with EA. 本网站,游戏和相关内容并未获得 EA 认可或与 EA 有合作关系。 Plants vs. Zombies Original Version Information Pla...","head":[["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://www.pvzge.com/instructions/PvZinfo.html"}],["meta",{"property":"og:url","content":"https://www.pvzge.com/en/instructions/PvZinfo.html"}],["meta",{"property":"og:site_name","content":"PvZ2 Gardendless Official Website|A completely remastered PVZ2 experience"}],["meta",{"property":"og:title","content":"Original Version"}],["meta",{"property":"og:description","content":"Important This website, Game and related content are not endorsed by or affiliated with EA. 本网站,游戏和相关内容并未获得 EA 认可或与 EA 有合作关系。 Plants vs. Zombies Original Version Information Pla..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:locale:alternate","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-07-24T09:32:12.000Z"}],["meta",{"property":"article:author","content":"LMYY"}],["meta",{"property":"article:modified_time","content":"2024-07-24T09:32:12.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"Original Version\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-07-24T09:32:12.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"LMYY\\",\\"url\\":\\"https://gaozih.com\\"}]}"]]},"headers":[{"level":2,"title":"Plants vs. Zombies Original Version Information","slug":"plants-vs-zombies-original-version-information","link":"#plants-vs-zombies-original-version-information","children":[]},{"level":2,"title":"《植物大战僵尸》原版信息","slug":"《植物大战僵尸》原版信息","link":"#《植物大战僵尸》原版信息","children":[]}],"git":{"createdTime":1720715796000,"updatedTime":1721813532000,"contributors":[{"name":"Gzh0821","email":"gaozih0821@outlook.com","commits":2}]},"readingTime":{"minutes":1.15,"words":345},"filePathRelative":"en/instructions/PvZinfo.md","localizedDate":"July 11, 2024","autoDesc":true,"excerpt":"
\\n

Important

\\n

This website, Game and related content are not endorsed by or affiliated with EA.

\\n

本网站,游戏和相关内容并未获得 EA 认可或与 EA 有合作关系。

\\n
\\n

Plants vs. Zombies Original Version Information

\\n

Plants vs. Zombies 2 and related series games are developed and published by Electronic Arts Inc. and its subsidiary PopCap Games. All related copyrights and intellectual property rights belong to Electronic Arts and PopCap Games.

"}');export{d as comp,h as data}; diff --git a/assets/PvZinfo.html-CRT-V-8Q.js b/assets/PvZinfo.html-lSHPv2OI.js similarity index 98% rename from assets/PvZinfo.html-CRT-V-8Q.js rename to assets/PvZinfo.html-lSHPv2OI.js index 4f572f4c1..b4e059392 100644 --- a/assets/PvZinfo.html-CRT-V-8Q.js +++ b/assets/PvZinfo.html-lSHPv2OI.js @@ -1 +1 @@ -import{_ as e}from"./plugin-vue_export-helper-DlAUqK2U.js";import{c as t,o as n,e as o}from"./app-JWH7-BAb.js";const a={},i=o('

重要

本网站,游戏和相关内容并未获得 EA 认可或与 EA 有合作关系。

This website, Game and related content are not endorsed by or affiliated with EA.

《植物大战僵尸》原版信息

《植物大战僵尸2》及相关系列游戏是由Electronic Arts Inc.及其子公司PopCap Games开发与发行的, 所有相关版权和知识产权归Electronic Arts及PopCap Games所有。

《植物大战僵尸2中文版》由代理方拓维游戏运营,拓维信息系统股份有限公司版权所有。

请访问官方网站获取更多关于《植物大战僵尸2》的信息以及原版游戏的下载:

《植物大战僵尸》系列游戏网站:EA-PvZ

《植物大战僵尸2中文版》官方网站:植物大战僵尸2中文版

Plants vs. Zombies Original Version Information

Plants vs. Zombies 2 and related series games are developed and published by Electronic Arts Inc. and its subsidiary PopCap Games. All related copyrights and intellectual property rights belong to Electronic Arts and PopCap Games.

The Chinese version of Plants vs. Zombies 2 is operated by the agent, Talkweb Game, and the copyright belongs to Talkweb Information System Co., Ltd.

Please visit the official websites for more information about Plants vs. Zombies 2 and to download the original game:

Plants vs. Zombies series website: EA-PvZ

Plants vs. Zombies 2 Chinese version official website: 植物大战僵尸2中文版

',13),r=[i];function s(l,p){return n(),t("div",null,r)}const d=e(a,[["render",s],["__file","PvZinfo.html.vue"]]),h=JSON.parse('{"path":"/instructions/PvZinfo.html","title":"原版信息","lang":"zh-CN","frontmatter":{"title":"原版信息","icon":"circle-info","index":true,"order":4,"pageInfo":false,"comment":false,"description":"重要 本网站,游戏和相关内容并未获得 EA 认可或与 EA 有合作关系。 This website, Game and related content are not endorsed by or affiliated with EA. 《植物大战僵尸》原版信息 《植物大战僵尸2》及相关系列游戏是由Electronic Arts Inc.及其子公司Po...","head":[["link",{"rel":"alternate","hreflang":"en-us","href":"https://www.pvzge.com/en/instructions/PvZinfo.html"}],["meta",{"property":"og:url","content":"https://www.pvzge.com/instructions/PvZinfo.html"}],["meta",{"property":"og:site_name","content":"PvZ2 Gardendless 官方网站|完全重置的PVZ2体验"}],["meta",{"property":"og:title","content":"原版信息"}],["meta",{"property":"og:description","content":"重要 本网站,游戏和相关内容并未获得 EA 认可或与 EA 有合作关系。 This website, Game and related content are not endorsed by or affiliated with EA. 《植物大战僵尸》原版信息 《植物大战僵尸2》及相关系列游戏是由Electronic Arts Inc.及其子公司Po..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:locale:alternate","content":"en-US"}],["meta",{"property":"og:updated_time","content":"2024-07-22T11:38:58.000Z"}],["meta",{"property":"article:author","content":"LMYY"}],["meta",{"property":"article:modified_time","content":"2024-07-22T11:38:58.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"原版信息\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-07-22T11:38:58.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"LMYY\\",\\"url\\":\\"https://gaozih.com\\"}]}"]]},"headers":[{"level":2,"title":"《植物大战僵尸》原版信息","slug":"《植物大战僵尸》原版信息","link":"#《植物大战僵尸》原版信息","children":[]},{"level":2,"title":"Plants vs. Zombies Original Version Information","slug":"plants-vs-zombies-original-version-information","link":"#plants-vs-zombies-original-version-information","children":[]}],"git":{"createdTime":1720715796000,"updatedTime":1721648338000,"contributors":[{"name":"Gzh0821","email":"gaozih0821@outlook.com","commits":3}]},"readingTime":{"minutes":1.16,"words":347},"filePathRelative":"instructions/PvZinfo.md","localizedDate":"2024年7月11日","autoDesc":true,"excerpt":"
\\n

重要

\\n

本网站,游戏和相关内容并未获得 EA 认可或与 EA 有合作关系。

\\n

This website, Game and related content are not endorsed by or affiliated with EA.

\\n
\\n

《植物大战僵尸》原版信息

\\n

《植物大战僵尸2》及相关系列游戏是由Electronic Arts Inc.及其子公司PopCap Games开发与发行的,\\n所有相关版权和知识产权归Electronic Arts及PopCap Games所有。

"}');export{d as comp,h as data}; +import{_ as e}from"./plugin-vue_export-helper-DlAUqK2U.js";import{c as t,o as n,e as o}from"./app-B6aPqg13.js";const a={},i=o('

重要

本网站,游戏和相关内容并未获得 EA 认可或与 EA 有合作关系。

This website, Game and related content are not endorsed by or affiliated with EA.

《植物大战僵尸》原版信息

《植物大战僵尸2》及相关系列游戏是由Electronic Arts Inc.及其子公司PopCap Games开发与发行的, 所有相关版权和知识产权归Electronic Arts及PopCap Games所有。

《植物大战僵尸2中文版》由代理方拓维游戏运营,拓维信息系统股份有限公司版权所有。

请访问官方网站获取更多关于《植物大战僵尸2》的信息以及原版游戏的下载:

《植物大战僵尸》系列游戏网站:EA-PvZ

《植物大战僵尸2中文版》官方网站:植物大战僵尸2中文版

Plants vs. Zombies Original Version Information

Plants vs. Zombies 2 and related series games are developed and published by Electronic Arts Inc. and its subsidiary PopCap Games. All related copyrights and intellectual property rights belong to Electronic Arts and PopCap Games.

The Chinese version of Plants vs. Zombies 2 is operated by the agent, Talkweb Game, and the copyright belongs to Talkweb Information System Co., Ltd.

Please visit the official websites for more information about Plants vs. Zombies 2 and to download the original game:

Plants vs. Zombies series website: EA-PvZ

Plants vs. Zombies 2 Chinese version official website: 植物大战僵尸2中文版

',13),r=[i];function s(l,p){return n(),t("div",null,r)}const d=e(a,[["render",s],["__file","PvZinfo.html.vue"]]),h=JSON.parse('{"path":"/instructions/PvZinfo.html","title":"原版信息","lang":"zh-CN","frontmatter":{"title":"原版信息","icon":"circle-info","index":true,"order":4,"pageInfo":false,"comment":false,"description":"重要 本网站,游戏和相关内容并未获得 EA 认可或与 EA 有合作关系。 This website, Game and related content are not endorsed by or affiliated with EA. 《植物大战僵尸》原版信息 《植物大战僵尸2》及相关系列游戏是由Electronic Arts Inc.及其子公司Po...","head":[["link",{"rel":"alternate","hreflang":"en-us","href":"https://www.pvzge.com/en/instructions/PvZinfo.html"}],["meta",{"property":"og:url","content":"https://www.pvzge.com/instructions/PvZinfo.html"}],["meta",{"property":"og:site_name","content":"PvZ2 Gardendless 官方网站|完全重置的PVZ2体验"}],["meta",{"property":"og:title","content":"原版信息"}],["meta",{"property":"og:description","content":"重要 本网站,游戏和相关内容并未获得 EA 认可或与 EA 有合作关系。 This website, Game and related content are not endorsed by or affiliated with EA. 《植物大战僵尸》原版信息 《植物大战僵尸2》及相关系列游戏是由Electronic Arts Inc.及其子公司Po..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:locale:alternate","content":"en-US"}],["meta",{"property":"og:updated_time","content":"2024-07-22T11:38:58.000Z"}],["meta",{"property":"article:author","content":"LMYY"}],["meta",{"property":"article:modified_time","content":"2024-07-22T11:38:58.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"原版信息\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-07-22T11:38:58.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"LMYY\\",\\"url\\":\\"https://gaozih.com\\"}]}"]]},"headers":[{"level":2,"title":"《植物大战僵尸》原版信息","slug":"《植物大战僵尸》原版信息","link":"#《植物大战僵尸》原版信息","children":[]},{"level":2,"title":"Plants vs. Zombies Original Version Information","slug":"plants-vs-zombies-original-version-information","link":"#plants-vs-zombies-original-version-information","children":[]}],"git":{"createdTime":1720715796000,"updatedTime":1721648338000,"contributors":[{"name":"Gzh0821","email":"gaozih0821@outlook.com","commits":3}]},"readingTime":{"minutes":1.16,"words":347},"filePathRelative":"instructions/PvZinfo.md","localizedDate":"2024年7月11日","autoDesc":true,"excerpt":"
\\n

重要

\\n

本网站,游戏和相关内容并未获得 EA 认可或与 EA 有合作关系。

\\n

This website, Game and related content are not endorsed by or affiliated with EA.

\\n
\\n

《植物大战僵尸》原版信息

\\n

《植物大战僵尸2》及相关系列游戏是由Electronic Arts Inc.及其子公司PopCap Games开发与发行的,\\n所有相关版权和知识产权归Electronic Arts及PopCap Games所有。

"}');export{d as comp,h as data}; diff --git a/assets/SearchResult-CoBWpZg6.js b/assets/SearchResult-BSdpJFS6.js similarity index 97% rename from assets/SearchResult-CoBWpZg6.js rename to assets/SearchResult-BSdpJFS6.js index bf1c20e81..ea2bbe73c 100644 --- a/assets/SearchResult-CoBWpZg6.js +++ b/assets/SearchResult-BSdpJFS6.js @@ -1 +1 @@ -import{u as M,j as te,k as se,l as Y,m as le,P as ae,n as re,p as ie,f as P,q as Q,s as ue,v as B,x as s,y as ne,R as j,z as oe,A as ce,B as ve,C as de,D as he,E as pe,G as me,H as ye,I as ge,J as q,K as fe,L as He,M as ke,N as I,O as _,Q as Re}from"./app-JWH7-BAb.js";const be=["/","/contribution/Acknowledgement.html","/contribution/","/contribution/Sponsor.html","/contribution/development.html","/contribution/feedback.html","/download/","/en/","/guide/FAQ.html","/guide/","/guide/requirement.html","/instructions/Agreement.html","/instructions/Disclaimer.html","/instructions/OpenSource.html","/instructions/PvZinfo.html","/instructions/","/en/contribution/Acknowledgement.html","/en/contribution/","/en/contribution/Sponsor.html","/en/contribution/development.html","/en/contribution/feedback.html","/en/download/","/en/guide/FAQ.html","/en/guide/","/en/guide/requirement.html","/en/instructions/Agreement.html","/en/instructions/Disclaimer.html","/en/instructions/OpenSource.html","/en/instructions/PvZinfo.html","/en/instructions/","/404.html"],we="SEARCH_PRO_QUERY_HISTORY",g=M(we,[]),Qe=()=>{const{queryHistoryCount:l}=q,a=l>0;return{enabled:a,queryHistory:g,addQueryHistory:r=>{a&&(g.value=Array.from(new Set([r,...g.value.slice(0,l-1)])))},removeQueryHistory:r=>{g.value=[...g.value.slice(0,r),...g.value.slice(r+1)]}}},E=l=>be[l.id]+("anchor"in l?`#${l.anchor}`:""),qe="SEARCH_PRO_RESULT_HISTORY",{resultHistoryCount:U}=q,f=M(qe,[]),Se=()=>{const l=U>0;return{enabled:l,resultHistory:f,addResultHistory:a=>{if(l){const r={link:E(a),display:a.display};"header"in a&&(r.header=a.header),f.value=[r,...f.value.slice(0,U-1)]}},removeResultHistory:a=>{f.value=[...f.value.slice(0,a),...f.value.slice(a+1)]}}},xe=l=>{const a=de(),r=Y(),S=he(),u=P(0),R=Q(()=>u.value>0),p=pe([]);return me(()=>{const{search:m,terminate:x}=ye(),H=ge(c=>{const k=c.join(" "),{searchFilter:A=h=>h,splitWord:C,suggestionsFilter:F,...y}=a.value;k?(u.value+=1,m(c.join(" "),r.value,y).then(h=>A(h,k,r.value,S.value)).then(h=>{u.value-=1,p.value=h}).catch(h=>{console.warn(h),u.value-=1,u.value||(p.value=[])})):p.value=[]},q.searchDelay-q.suggestDelay);B([l,r],([c])=>H(c),{immediate:!0}),fe(()=>{x()})}),{isSearching:R,results:p}};var Ce=te({name:"SearchResult",props:{queries:{type:Array,required:!0},isFocusing:Boolean},emits:["close","updateQuery"],setup(l,{emit:a}){const r=se(),S=Y(),u=le(ae),{enabled:R,addQueryHistory:p,queryHistory:m,removeQueryHistory:x}=Qe(),{enabled:H,resultHistory:c,addResultHistory:k,removeResultHistory:A}=Se(),C=R||H,F=re(l,"queries"),{results:y,isSearching:h}=xe(F),i=ie({isQuery:!0,index:0}),v=P(0),d=P(0),T=Q(()=>C&&(m.value.length>0||c.value.length>0)),D=Q(()=>y.value.length>0),L=Q(()=>y.value[v.value]||null),Z=()=>{const{isQuery:e,index:t}=i;t===0?(i.isQuery=!e,i.index=e?c.value.length-1:m.value.length-1):i.index=t-1},z=()=>{const{isQuery:e,index:t}=i;t===(e?m.value.length-1:c.value.length-1)?(i.isQuery=!e,i.index=0):i.index=t+1},G=()=>{v.value=v.value>0?v.value-1:y.value.length-1,d.value=L.value.contents.length-1},J=()=>{v.value=v.value{d.value{d.value>0?d.value-=1:G()},O=e=>e.map(t=>Re(t)?t:s(t[0],t[1])),V=e=>{if(e.type==="customField"){const t=He[e.index]||"$content",[n,w=""]=ke(t)?t[S.value].split("$content"):t.split("$content");return e.display.map(o=>s("div",O([n,...o,w])))}return e.display.map(t=>s("div",O(t)))},b=()=>{v.value=0,d.value=0,a("updateQuery",""),a("close")},W=()=>R?s("ul",{class:"search-pro-result-list"},s("li",{class:"search-pro-result-list-item"},[s("div",{class:"search-pro-result-title"},u.value.queryHistory),m.value.map((e,t)=>s("div",{class:["search-pro-result-item",{active:i.isQuery&&i.index===t}],onClick:()=>{a("updateQuery",e)}},[s(I,{class:"search-pro-result-type"}),s("div",{class:"search-pro-result-content"},e),s("button",{class:"search-pro-remove-icon",innerHTML:_,onClick:n=>{n.preventDefault(),n.stopPropagation(),x(t)}})]))])):null,X=()=>H?s("ul",{class:"search-pro-result-list"},s("li",{class:"search-pro-result-list-item"},[s("div",{class:"search-pro-result-title"},u.value.resultHistory),c.value.map((e,t)=>s(j,{to:e.link,class:["search-pro-result-item",{active:!i.isQuery&&i.index===t}],onClick:()=>{b()}},()=>[s(I,{class:"search-pro-result-type"}),s("div",{class:"search-pro-result-content"},[e.header?s("div",{class:"content-header"},e.header):null,s("div",e.display.map(n=>O(n)).flat())]),s("button",{class:"search-pro-remove-icon",innerHTML:_,onClick:n=>{n.preventDefault(),n.stopPropagation(),A(t)}})]))])):null;return ue("keydown",e=>{if(l.isFocusing){if(D.value){if(e.key==="ArrowUp")N();else if(e.key==="ArrowDown")K();else if(e.key==="Enter"){const t=L.value.contents[d.value];p(l.queries.join(" ")),k(t),r.push(E(t)),b()}}else if(H){if(e.key==="ArrowUp")Z();else if(e.key==="ArrowDown")z();else if(e.key==="Enter"){const{index:t}=i;i.isQuery?(a("updateQuery",m.value[t]),e.preventDefault()):(r.push(c.value[t].link),b())}}}}),B([v,d],()=>{var e;(e=document.querySelector(".search-pro-result-list-item.active .search-pro-result-item.active"))==null||e.scrollIntoView(!1)},{flush:"post"}),()=>s("div",{class:["search-pro-result-wrapper",{empty:l.queries.length?!D.value:!T.value}],id:"search-pro-results"},l.queries.length?h.value?s(ne,{hint:u.value.searching}):D.value?s("ul",{class:"search-pro-result-list"},y.value.map(({title:e,contents:t},n)=>{const w=v.value===n;return s("li",{class:["search-pro-result-list-item",{active:w}]},[s("div",{class:"search-pro-result-title"},e||u.value.defaultTitle),t.map((o,ee)=>{const $=w&&d.value===ee;return s(j,{to:E(o),class:["search-pro-result-item",{active:$,"aria-selected":$}],onClick:()=>{p(l.queries.join(" ")),k(o),b()}},()=>[o.type==="text"?null:s(o.type==="title"?oe:o.type==="heading"?ce:ve,{class:"search-pro-result-type"}),s("div",{class:"search-pro-result-content"},[o.type==="text"&&o.header?s("div",{class:"content-header"},o.header):null,s("div",V(o))])])})])})):u.value.emptyResult:C?T.value?[W(),X()]:u.value.emptyHistory:u.value.emptyResult)}});export{Ce as default}; +import{u as M,j as te,k as se,l as Y,m as le,P as ae,n as re,p as ie,f as P,q as Q,s as ue,v as B,x as s,y as ne,R as j,z as oe,A as ce,B as ve,C as de,D as he,E as pe,G as me,H as ye,I as ge,J as q,K as fe,L as He,M as ke,N as I,O as _,Q as Re}from"./app-B6aPqg13.js";const be=["/","/contribution/Acknowledgement.html","/contribution/","/contribution/Sponsor.html","/contribution/development.html","/contribution/feedback.html","/en/","/download/","/guide/FAQ.html","/guide/","/guide/requirement.html","/instructions/Agreement.html","/instructions/Disclaimer.html","/instructions/OpenSource.html","/instructions/PvZinfo.html","/instructions/","/en/contribution/Acknowledgement.html","/en/contribution/","/en/contribution/Sponsor.html","/en/contribution/development.html","/en/contribution/feedback.html","/en/download/","/en/guide/FAQ.html","/en/guide/","/en/guide/requirement.html","/en/instructions/Agreement.html","/en/instructions/Disclaimer.html","/en/instructions/OpenSource.html","/en/instructions/PvZinfo.html","/en/instructions/","/404.html"],we="SEARCH_PRO_QUERY_HISTORY",g=M(we,[]),Qe=()=>{const{queryHistoryCount:l}=q,a=l>0;return{enabled:a,queryHistory:g,addQueryHistory:r=>{a&&(g.value=Array.from(new Set([r,...g.value.slice(0,l-1)])))},removeQueryHistory:r=>{g.value=[...g.value.slice(0,r),...g.value.slice(r+1)]}}},E=l=>be[l.id]+("anchor"in l?`#${l.anchor}`:""),qe="SEARCH_PRO_RESULT_HISTORY",{resultHistoryCount:U}=q,f=M(qe,[]),Se=()=>{const l=U>0;return{enabled:l,resultHistory:f,addResultHistory:a=>{if(l){const r={link:E(a),display:a.display};"header"in a&&(r.header=a.header),f.value=[r,...f.value.slice(0,U-1)]}},removeResultHistory:a=>{f.value=[...f.value.slice(0,a),...f.value.slice(a+1)]}}},xe=l=>{const a=de(),r=Y(),S=he(),u=P(0),R=Q(()=>u.value>0),p=pe([]);return me(()=>{const{search:m,terminate:x}=ye(),H=ge(c=>{const k=c.join(" "),{searchFilter:A=h=>h,splitWord:C,suggestionsFilter:F,...y}=a.value;k?(u.value+=1,m(c.join(" "),r.value,y).then(h=>A(h,k,r.value,S.value)).then(h=>{u.value-=1,p.value=h}).catch(h=>{console.warn(h),u.value-=1,u.value||(p.value=[])})):p.value=[]},q.searchDelay-q.suggestDelay);B([l,r],([c])=>H(c),{immediate:!0}),fe(()=>{x()})}),{isSearching:R,results:p}};var Ce=te({name:"SearchResult",props:{queries:{type:Array,required:!0},isFocusing:Boolean},emits:["close","updateQuery"],setup(l,{emit:a}){const r=se(),S=Y(),u=le(ae),{enabled:R,addQueryHistory:p,queryHistory:m,removeQueryHistory:x}=Qe(),{enabled:H,resultHistory:c,addResultHistory:k,removeResultHistory:A}=Se(),C=R||H,F=re(l,"queries"),{results:y,isSearching:h}=xe(F),i=ie({isQuery:!0,index:0}),v=P(0),d=P(0),T=Q(()=>C&&(m.value.length>0||c.value.length>0)),D=Q(()=>y.value.length>0),L=Q(()=>y.value[v.value]||null),Z=()=>{const{isQuery:e,index:t}=i;t===0?(i.isQuery=!e,i.index=e?c.value.length-1:m.value.length-1):i.index=t-1},z=()=>{const{isQuery:e,index:t}=i;t===(e?m.value.length-1:c.value.length-1)?(i.isQuery=!e,i.index=0):i.index=t+1},G=()=>{v.value=v.value>0?v.value-1:y.value.length-1,d.value=L.value.contents.length-1},J=()=>{v.value=v.value{d.value{d.value>0?d.value-=1:G()},O=e=>e.map(t=>Re(t)?t:s(t[0],t[1])),V=e=>{if(e.type==="customField"){const t=He[e.index]||"$content",[n,w=""]=ke(t)?t[S.value].split("$content"):t.split("$content");return e.display.map(o=>s("div",O([n,...o,w])))}return e.display.map(t=>s("div",O(t)))},b=()=>{v.value=0,d.value=0,a("updateQuery",""),a("close")},W=()=>R?s("ul",{class:"search-pro-result-list"},s("li",{class:"search-pro-result-list-item"},[s("div",{class:"search-pro-result-title"},u.value.queryHistory),m.value.map((e,t)=>s("div",{class:["search-pro-result-item",{active:i.isQuery&&i.index===t}],onClick:()=>{a("updateQuery",e)}},[s(I,{class:"search-pro-result-type"}),s("div",{class:"search-pro-result-content"},e),s("button",{class:"search-pro-remove-icon",innerHTML:_,onClick:n=>{n.preventDefault(),n.stopPropagation(),x(t)}})]))])):null,X=()=>H?s("ul",{class:"search-pro-result-list"},s("li",{class:"search-pro-result-list-item"},[s("div",{class:"search-pro-result-title"},u.value.resultHistory),c.value.map((e,t)=>s(j,{to:e.link,class:["search-pro-result-item",{active:!i.isQuery&&i.index===t}],onClick:()=>{b()}},()=>[s(I,{class:"search-pro-result-type"}),s("div",{class:"search-pro-result-content"},[e.header?s("div",{class:"content-header"},e.header):null,s("div",e.display.map(n=>O(n)).flat())]),s("button",{class:"search-pro-remove-icon",innerHTML:_,onClick:n=>{n.preventDefault(),n.stopPropagation(),A(t)}})]))])):null;return ue("keydown",e=>{if(l.isFocusing){if(D.value){if(e.key==="ArrowUp")N();else if(e.key==="ArrowDown")K();else if(e.key==="Enter"){const t=L.value.contents[d.value];p(l.queries.join(" ")),k(t),r.push(E(t)),b()}}else if(H){if(e.key==="ArrowUp")Z();else if(e.key==="ArrowDown")z();else if(e.key==="Enter"){const{index:t}=i;i.isQuery?(a("updateQuery",m.value[t]),e.preventDefault()):(r.push(c.value[t].link),b())}}}}),B([v,d],()=>{var e;(e=document.querySelector(".search-pro-result-list-item.active .search-pro-result-item.active"))==null||e.scrollIntoView(!1)},{flush:"post"}),()=>s("div",{class:["search-pro-result-wrapper",{empty:l.queries.length?!D.value:!T.value}],id:"search-pro-results"},l.queries.length?h.value?s(ne,{hint:u.value.searching}):D.value?s("ul",{class:"search-pro-result-list"},y.value.map(({title:e,contents:t},n)=>{const w=v.value===n;return s("li",{class:["search-pro-result-list-item",{active:w}]},[s("div",{class:"search-pro-result-title"},e||u.value.defaultTitle),t.map((o,ee)=>{const $=w&&d.value===ee;return s(j,{to:E(o),class:["search-pro-result-item",{active:$,"aria-selected":$}],onClick:()=>{p(l.queries.join(" ")),k(o),b()}},()=>[o.type==="text"?null:s(o.type==="title"?oe:o.type==="heading"?ce:ve,{class:"search-pro-result-type"}),s("div",{class:"search-pro-result-content"},[o.type==="text"&&o.header?s("div",{class:"content-header"},o.header):null,s("div",V(o))])])})])})):u.value.emptyResult:C?T.value?[W(),X()]:u.value.emptyHistory:u.value.emptyResult)}});export{Ce as default}; diff --git a/assets/Sponsor.html-DvfMZIfb.js b/assets/Sponsor.html-ComdjcDU.js similarity index 98% rename from assets/Sponsor.html-DvfMZIfb.js rename to assets/Sponsor.html-ComdjcDU.js index 1b07572b3..becebb468 100644 --- a/assets/Sponsor.html-DvfMZIfb.js +++ b/assets/Sponsor.html-ComdjcDU.js @@ -1 +1 @@ -import{_ as a}from"./plugin-vue_export-helper-DlAUqK2U.js";import{r,c as i,a as e,b as o,d as t,o as l}from"./app-JWH7-BAb.js";const p={},c=e("h2",{id:"sponsors-of-the-official-website-of-pvz2-gardendless",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#sponsors-of-the-official-website-of-pvz2-gardendless"},[e("span",null,"Sponsors of the official website of PvZ2 Gardendless")])],-1),d=e("a",{href:"https://space.bilibili.com/451272694",target:"_blank",rel:"noopener noreferrer"},"@普通的一名博客 plunt",-1),f=e("a",{href:"https://space.bilibili.com/355909245",target:"_blank",rel:"noopener noreferrer"},"@南Garden",-1),h=e("p",null,"Thank you for all your support of the PvZ2 Gardendless game and website!",-1);function m(b,g){const n=r("HopeIcon"),s=r("BiliBili");return l(),i("div",null,[c,e("p",null,[o("Special thanks to "),t(n,{icon:"fa-brands fa-bilibili"}),o(),d,o(" for sponsoring this website domain.")]),t(s,{bvid:"BV1HE4m1d7nt"}),t(n,{icon:"fa-brands fa-bilibili"}),o(),f,o(',the developer of the game "PvZ2 Gardendless", has provided a lot of support for the development and maintenance of this website.'),h])}const v=a(p,[["render",m],["__file","Sponsor.html.vue"]]),S=JSON.parse('{"path":"/en/contribution/Sponsor.html","title":"Sponsor","lang":"en-US","frontmatter":{"title":"Sponsor","icon":"fa-solid fa-hand-holding-heart","pageInfo":false,"comment":false,"index":true,"order":4,"description":"Sponsors of the official website of PvZ2 Gardendless Special thanks to","head":[["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://www.pvzge.com/contribution/Sponsor.html"}],["meta",{"property":"og:url","content":"https://www.pvzge.com/en/contribution/Sponsor.html"}],["meta",{"property":"og:site_name","content":"PvZ2 Gardendless Official Website|A completely remastered PVZ2 experience"}],["meta",{"property":"og:title","content":"Sponsor"}],["meta",{"property":"og:description","content":"Sponsors of the official website of PvZ2 Gardendless Special thanks to"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:locale:alternate","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-07-24T04:53:44.000Z"}],["meta",{"property":"article:author","content":"LMYY"}],["meta",{"property":"article:modified_time","content":"2024-07-24T04:53:44.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"Sponsor\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-07-24T04:53:44.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"LMYY\\",\\"url\\":\\"https://gaozih.com\\"}]}"]]},"headers":[{"level":2,"title":"Sponsors of the official website of PvZ2 Gardendless","slug":"sponsors-of-the-official-website-of-pvz2-gardendless","link":"#sponsors-of-the-official-website-of-pvz2-gardendless","children":[]}],"git":{"createdTime":1720972614000,"updatedTime":1721796824000,"contributors":[{"name":"Gzh0821","email":"gaozih0821@outlook.com","commits":4}]},"readingTime":{"minutes":0.34,"words":101},"filePathRelative":"en/contribution/Sponsor.md","localizedDate":"July 14, 2024","autoDesc":true,"excerpt":"

Sponsors of the official website of PvZ2 Gardendless

\\n

Special thanks to

\\n"}');export{v as comp,S as data}; +import{_ as a}from"./plugin-vue_export-helper-DlAUqK2U.js";import{r,c as i,a as e,b as o,d as t,o as l}from"./app-B6aPqg13.js";const p={},c=e("h2",{id:"sponsors-of-the-official-website-of-pvz2-gardendless",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#sponsors-of-the-official-website-of-pvz2-gardendless"},[e("span",null,"Sponsors of the official website of PvZ2 Gardendless")])],-1),d=e("a",{href:"https://space.bilibili.com/451272694",target:"_blank",rel:"noopener noreferrer"},"@普通的一名博客 plunt",-1),f=e("a",{href:"https://space.bilibili.com/355909245",target:"_blank",rel:"noopener noreferrer"},"@南Garden",-1),h=e("p",null,"Thank you for all your support of the PvZ2 Gardendless game and website!",-1);function m(b,g){const n=r("HopeIcon"),s=r("BiliBili");return l(),i("div",null,[c,e("p",null,[o("Special thanks to "),t(n,{icon:"fa-brands fa-bilibili"}),o(),d,o(" for sponsoring this website domain.")]),t(s,{bvid:"BV1HE4m1d7nt"}),t(n,{icon:"fa-brands fa-bilibili"}),o(),f,o(',the developer of the game "PvZ2 Gardendless", has provided a lot of support for the development and maintenance of this website.'),h])}const v=a(p,[["render",m],["__file","Sponsor.html.vue"]]),S=JSON.parse('{"path":"/en/contribution/Sponsor.html","title":"Sponsor","lang":"en-US","frontmatter":{"title":"Sponsor","icon":"fa-solid fa-hand-holding-heart","pageInfo":false,"comment":false,"index":true,"order":4,"description":"Sponsors of the official website of PvZ2 Gardendless Special thanks to","head":[["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://www.pvzge.com/contribution/Sponsor.html"}],["meta",{"property":"og:url","content":"https://www.pvzge.com/en/contribution/Sponsor.html"}],["meta",{"property":"og:site_name","content":"PvZ2 Gardendless Official Website|A completely remastered PVZ2 experience"}],["meta",{"property":"og:title","content":"Sponsor"}],["meta",{"property":"og:description","content":"Sponsors of the official website of PvZ2 Gardendless Special thanks to"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:locale:alternate","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2024-07-24T04:53:44.000Z"}],["meta",{"property":"article:author","content":"LMYY"}],["meta",{"property":"article:modified_time","content":"2024-07-24T04:53:44.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"Sponsor\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-07-24T04:53:44.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"LMYY\\",\\"url\\":\\"https://gaozih.com\\"}]}"]]},"headers":[{"level":2,"title":"Sponsors of the official website of PvZ2 Gardendless","slug":"sponsors-of-the-official-website-of-pvz2-gardendless","link":"#sponsors-of-the-official-website-of-pvz2-gardendless","children":[]}],"git":{"createdTime":1720972614000,"updatedTime":1721796824000,"contributors":[{"name":"Gzh0821","email":"gaozih0821@outlook.com","commits":4}]},"readingTime":{"minutes":0.34,"words":101},"filePathRelative":"en/contribution/Sponsor.md","localizedDate":"July 14, 2024","autoDesc":true,"excerpt":"

Sponsors of the official website of PvZ2 Gardendless

\\n

Special thanks to

\\n"}');export{v as comp,S as data}; diff --git a/assets/Sponsor.html-CgSSlvSM.js b/assets/Sponsor.html-D2EKmiE0.js similarity index 97% rename from assets/Sponsor.html-CgSSlvSM.js rename to assets/Sponsor.html-D2EKmiE0.js index 17aa21671..35af3431a 100644 --- a/assets/Sponsor.html-CgSSlvSM.js +++ b/assets/Sponsor.html-D2EKmiE0.js @@ -1 +1 @@ -import{_ as i}from"./plugin-vue_export-helper-DlAUqK2U.js";import{r,c as l,a as e,b as t,d as o,o as s}from"./app-JWH7-BAb.js";const c={},p=e("h2",{id:"《pvz2-gardendless》官网的赞助者",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#《pvz2-gardendless》官网的赞助者"},[e("span",null,"《PvZ2 Gardendless》官网的赞助者")])],-1),d=e("a",{href:"https://space.bilibili.com/451272694",target:"_blank",rel:"noopener noreferrer"},"@普通的一名博客 plunt",-1),m=e("a",{href:"https://space.bilibili.com/355909245",target:"_blank",rel:"noopener noreferrer"},"@南Garden",-1),h=e("p",null,"感谢所有对《PvZ2 Gardendless》游戏和官网的支持!",-1);function _(f,g){const n=r("HopeIcon"),a=r("BiliBili");return s(),l("div",null,[p,e("p",null,[t("特别感谢 "),o(n,{icon:"fa-brands fa-bilibili"}),t(),d,t(" 赞助本网站域名。")]),o(a,{bvid:"BV1HE4m1d7nt"}),e("p",null,[t("《PvZ2 Gardendless》游戏的开发者 "),o(n,{icon:"fa-brands fa-bilibili"}),t(),m,t("对本网站的开发和维护提供了大量的支持。")]),h])}const v=i(c,[["render",_],["__file","Sponsor.html.vue"]]),y=JSON.parse('{"path":"/contribution/Sponsor.html","title":"赞助者","lang":"zh-CN","frontmatter":{"title":"赞助者","icon":"fa-solid fa-hand-holding-heart","pageInfo":false,"comment":false,"index":true,"order":4,"description":"《PvZ2 Gardendless》官网的赞助者 特别感谢","head":[["link",{"rel":"alternate","hreflang":"en-us","href":"https://www.pvzge.com/en/contribution/Sponsor.html"}],["meta",{"property":"og:url","content":"https://www.pvzge.com/contribution/Sponsor.html"}],["meta",{"property":"og:site_name","content":"PvZ2 Gardendless 官方网站|完全重置的PVZ2体验"}],["meta",{"property":"og:title","content":"赞助者"}],["meta",{"property":"og:description","content":"《PvZ2 Gardendless》官网的赞助者 特别感谢"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:locale:alternate","content":"en-US"}],["meta",{"property":"og:updated_time","content":"2024-07-24T04:53:44.000Z"}],["meta",{"property":"article:author","content":"LMYY"}],["meta",{"property":"article:modified_time","content":"2024-07-24T04:53:44.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"赞助者\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-07-24T04:53:44.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"LMYY\\",\\"url\\":\\"https://gaozih.com\\"}]}"]]},"headers":[{"level":2,"title":"《PvZ2 Gardendless》官网的赞助者","slug":"《pvz2-gardendless》官网的赞助者","link":"#《pvz2-gardendless》官网的赞助者","children":[]}],"git":{"createdTime":1720972614000,"updatedTime":1721796824000,"contributors":[{"name":"Gzh0821","email":"gaozih0821@outlook.com","commits":5}]},"readingTime":{"minutes":0.38,"words":113},"filePathRelative":"contribution/Sponsor.md","localizedDate":"2024年7月14日","autoDesc":true,"excerpt":"

《PvZ2 Gardendless》官网的赞助者

\\n

特别感谢

\\n"}');export{v as comp,y as data}; +import{_ as i}from"./plugin-vue_export-helper-DlAUqK2U.js";import{r,c as l,a as e,b as t,d as o,o as s}from"./app-B6aPqg13.js";const c={},p=e("h2",{id:"《pvz2-gardendless》官网的赞助者",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#《pvz2-gardendless》官网的赞助者"},[e("span",null,"《PvZ2 Gardendless》官网的赞助者")])],-1),d=e("a",{href:"https://space.bilibili.com/451272694",target:"_blank",rel:"noopener noreferrer"},"@普通的一名博客 plunt",-1),m=e("a",{href:"https://space.bilibili.com/355909245",target:"_blank",rel:"noopener noreferrer"},"@南Garden",-1),h=e("p",null,"感谢所有对《PvZ2 Gardendless》游戏和官网的支持!",-1);function _(f,g){const n=r("HopeIcon"),a=r("BiliBili");return s(),l("div",null,[p,e("p",null,[t("特别感谢 "),o(n,{icon:"fa-brands fa-bilibili"}),t(),d,t(" 赞助本网站域名。")]),o(a,{bvid:"BV1HE4m1d7nt"}),e("p",null,[t("《PvZ2 Gardendless》游戏的开发者 "),o(n,{icon:"fa-brands fa-bilibili"}),t(),m,t("对本网站的开发和维护提供了大量的支持。")]),h])}const v=i(c,[["render",_],["__file","Sponsor.html.vue"]]),y=JSON.parse('{"path":"/contribution/Sponsor.html","title":"赞助者","lang":"zh-CN","frontmatter":{"title":"赞助者","icon":"fa-solid fa-hand-holding-heart","pageInfo":false,"comment":false,"index":true,"order":4,"description":"《PvZ2 Gardendless》官网的赞助者 特别感谢","head":[["link",{"rel":"alternate","hreflang":"en-us","href":"https://www.pvzge.com/en/contribution/Sponsor.html"}],["meta",{"property":"og:url","content":"https://www.pvzge.com/contribution/Sponsor.html"}],["meta",{"property":"og:site_name","content":"PvZ2 Gardendless 官方网站|完全重置的PVZ2体验"}],["meta",{"property":"og:title","content":"赞助者"}],["meta",{"property":"og:description","content":"《PvZ2 Gardendless》官网的赞助者 特别感谢"}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:locale:alternate","content":"en-US"}],["meta",{"property":"og:updated_time","content":"2024-07-24T04:53:44.000Z"}],["meta",{"property":"article:author","content":"LMYY"}],["meta",{"property":"article:modified_time","content":"2024-07-24T04:53:44.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"赞助者\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2024-07-24T04:53:44.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"LMYY\\",\\"url\\":\\"https://gaozih.com\\"}]}"]]},"headers":[{"level":2,"title":"《PvZ2 Gardendless》官网的赞助者","slug":"《pvz2-gardendless》官网的赞助者","link":"#《pvz2-gardendless》官网的赞助者","children":[]}],"git":{"createdTime":1720972614000,"updatedTime":1721796824000,"contributors":[{"name":"Gzh0821","email":"gaozih0821@outlook.com","commits":5}]},"readingTime":{"minutes":0.38,"words":113},"filePathRelative":"contribution/Sponsor.md","localizedDate":"2024年7月14日","autoDesc":true,"excerpt":"

《PvZ2 Gardendless》官网的赞助者

\\n

特别感谢

\\n"}');export{v as comp,y as data}; diff --git a/assets/app-JWH7-BAb.js b/assets/app-B6aPqg13.js similarity index 94% rename from assets/app-JWH7-BAb.js rename to assets/app-B6aPqg13.js index e5b5308b9..e9a15f1a5 100644 --- a/assets/app-JWH7-BAb.js +++ b/assets/app-B6aPqg13.js @@ -1,4 +1,4 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/index.html-DQoBnhdb.js","assets/plugin-vue_export-helper-DlAUqK2U.js","assets/Acknowledgement.html-DEvPwo3n.js","assets/index.html-CXWB-Kxr.js","assets/Sponsor.html-CgSSlvSM.js","assets/development.html-DOTiGSFo.js","assets/feedback.html-DT2bLfpn.js","assets/index.html-BrISj-PR.js","assets/axios-B4uVmeYG.js","assets/index.html-BfmEi8Xe.js","assets/FAQ.html-BOdrs66k.js","assets/index.html-0yX6UMuR.js","assets/requirement.html-DVoXk-cm.js","assets/Agreement.html-ZZSfQ9le.js","assets/Disclaimer.html-BPOHAe09.js","assets/OpenSource.html-BvAcKOea.js","assets/PvZinfo.html-CRT-V-8Q.js","assets/index.html-DIyKMmEA.js","assets/Acknowledgement.html-Bb3o6wPT.js","assets/index.html-DV-eN5x_.js","assets/Sponsor.html-DvfMZIfb.js","assets/development.html-CjzNF74z.js","assets/feedback.html-Bn-ydV2V.js","assets/index.html-Dc8IljF6.js","assets/FAQ.html-BYLOiL5M.js","assets/index.html-y09Y1X4G.js","assets/requirement.html-DDcWuGjB.js","assets/Agreement.html-BkJ8IzLW.js","assets/Disclaimer.html-DFtSTBsJ.js","assets/OpenSource.html--5Hy3qoL.js","assets/PvZinfo.html-BvRJ1Duw.js","assets/index.html-C4HN3cTq.js","assets/404.html-BsxaBU9C.js","assets/vidstack-audio-D2ylweZx.js","assets/vidstack-DuY_sHvx-D2LlTD37.js","assets/vidstack-C-clE4br-D5-XR7Kt.js","assets/vidstack-video-CWeQ13Xe.js","assets/vidstack-hls-C6uO5d1R.js","assets/vidstack-dash-CN7yhjMt.js","assets/vidstack-vimeo-yxLnhx89.js","assets/vidstack-DBsjVADd-t1vIdf9H.js","assets/vidstack-krOAtKMi-C3UUF7YD.js","assets/vidstack-youtube-C6lKwRbG.js","assets/vidstack-Zc3I7oOd-CA6XwpqT.js","assets/vidstack-player-default-layout-BJPPev0n.js","assets/vidstack-D2YigfqZ-BLArkuQb.js","assets/vidstack-player-ui-B3Ew_Qfp.js","assets/vidstack-BwnT8mmU-XaG381DE.js","assets/hls.min-Ck6d70Lw.js","assets/commonjsHelpers-CqkleIqs.js","assets/dash.all.min-CAyvvgYm.js"])))=>i.map(i=>d[i]); +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/index.html-BuZJtQQL.js","assets/plugin-vue_export-helper-DlAUqK2U.js","assets/Acknowledgement.html-BW13Jasm.js","assets/index.html-wt5M9-LL.js","assets/Sponsor.html-D2EKmiE0.js","assets/development.html-CeZGPhZ8.js","assets/feedback.html-wYdfyfw6.js","assets/index.html-r85RabCw.js","assets/index.html-tWtN4m0h.js","assets/axios-B4uVmeYG.js","assets/FAQ.html-mIHf4-HR.js","assets/index.html-BpNzmU6p.js","assets/requirement.html-CQfNS4c8.js","assets/Agreement.html-_62h_0lW.js","assets/Disclaimer.html-Dznz4heT.js","assets/OpenSource.html-ChScQOaM.js","assets/PvZinfo.html-lSHPv2OI.js","assets/index.html-DFyztGay.js","assets/Acknowledgement.html-CxMh4kVK.js","assets/index.html-Dm3Ckyza.js","assets/Sponsor.html-ComdjcDU.js","assets/development.html-DTVIQPFl.js","assets/feedback.html-ej1iZ9Eq.js","assets/index.html-CVIQOZO2.js","assets/FAQ.html-CkBPOjMJ.js","assets/index.html-Du4LwUDS.js","assets/requirement.html-BNbn5ibM.js","assets/Agreement.html-lmrFJvZA.js","assets/Disclaimer.html-DTowDS4Q.js","assets/OpenSource.html-Bi2gxy7_.js","assets/PvZinfo.html-CMzpARBf.js","assets/index.html-244Zx-LA.js","assets/404.html-D8Ys2-iV.js","assets/vidstack-audio-B46OykX5.js","assets/vidstack-DuY_sHvx-u6sZZE9B.js","assets/vidstack-C-clE4br-HyHNSE32.js","assets/vidstack-video-DgFSyE0k.js","assets/vidstack-hls-B1foyyu_.js","assets/vidstack-dash-Dc9EpqFM.js","assets/vidstack-vimeo-5UnC3C7m.js","assets/vidstack-DBsjVADd-BPaB3YcI.js","assets/vidstack-krOAtKMi-C3UUF7YD.js","assets/vidstack-youtube-B0O9fYuS.js","assets/vidstack-Zc3I7oOd-CA6XwpqT.js","assets/vidstack-player-default-layout-BaQyumWW.js","assets/vidstack-D2YigfqZ-BLArkuQb.js","assets/vidstack-player-ui-eaTuNaDe.js","assets/vidstack-BwnT8mmU-Bdxs9Dwe.js","assets/hls.min-Ck6d70Lw.js","assets/commonjsHelpers-CqkleIqs.js","assets/dash.all.min-CAyvvgYm.js"])))=>i.map(i=>d[i]); /** * @vue/shared v3.4.33 * (c) 2018-present Yuxi (Evan) You and Vue contributors @@ -7,25 +7,25 @@ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/index.html-DQoB * @vue/reactivity v3.4.33 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/let pt;class $f{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=pt,!e&&pt&&(this.index=(pt.scopes||(pt.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const n=pt;try{return pt=this,e()}finally{pt=n}}}on(){pt=this}off(){pt=this.parent}stop(e){if(this._active){let n,s;for(n=0,s=this.effects.length;n=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),Nn()}return this._dirtyLevel>=4}set dirty(e){this._dirtyLevel=e?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let e=An,n=Qn;try{return An=!0,Qn=this,this._runnings++,ec(this),this.fn()}finally{tc(this),this._runnings--,Qn=n,An=e}}stop(){this.active&&(ec(this),tc(this),this.onStop&&this.onStop(),this.active=!1)}}function xf(t){return t.value}function ec(t){t._trackId++,t._depsLength=0}function tc(t){if(t.deps.length>t._depsLength){for(let e=t._depsLength;e{const n=new Map;return n.cleanup=t,n.computed=e,n},gr=new WeakMap,Xn=Symbol(""),Ko=Symbol("");function dt(t,e,n){if(An&&Qn){let s=gr.get(t);s||gr.set(t,s=new Map);let i=s.get(n);i||s.set(n,i=S1(()=>s.delete(n))),E1(Qn,i)}}function hn(t,e,n,s,i,r){const o=gr.get(t);if(!o)return;let a=[];if(e==="clear")a=[...o.values()];else if(n==="length"&&ie(t)){const l=Number(s);o.forEach((c,u)=>{(u==="length"||!Hn(u)&&u>=l)&&a.push(c)})}else switch(n!==void 0&&a.push(o.get(n)),e){case"add":ie(t)?Ha(n)&&a.push(o.get("length")):(a.push(o.get(Xn)),bs(t)&&a.push(o.get(Ko)));break;case"delete":ie(t)||(a.push(o.get(Xn)),bs(t)&&a.push(o.get(Ko)));break;case"set":bs(t)&&a.push(o.get(Xn));break}Fa();for(const l of a)l&&T1(l,4);qa()}function Af(t,e){const n=gr.get(t);return n&&n.get(e)}const Pf=Ma("__proto__,__v_isRef,__isVue"),$1=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(Hn)),nc=Of();function Of(){const t={};return["includes","indexOf","lastIndexOf"].forEach(e=>{t[e]=function(...n){const s=ve(this);for(let r=0,o=this.length;r{t[e]=function(...n){Vn(),Fa();const s=ve(this)[e].apply(this,n);return qa(),Nn(),s}}),t}function If(t){Hn(t)||(t=String(t));const e=ve(this);return dt(e,"has",t),e.hasOwnProperty(t)}class _1{constructor(e=!1,n=!1){this._isReadonly=e,this._isShallow=n}get(e,n,s){const i=this._isReadonly,r=this._isShallow;if(n==="__v_isReactive")return!i;if(n==="__v_isReadonly")return i;if(n==="__v_isShallow")return r;if(n==="__v_raw")return s===(i?r?Gf:P1:r?A1:x1).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(s)?e:void 0;const o=ie(e);if(!i){if(o&&ge(nc,n))return Reflect.get(nc,n,s);if(n==="hasOwnProperty")return If}const a=Reflect.get(e,n,s);return(Hn(n)?$1.has(n):Pf(n))||(i||dt(e,"get",n),r)?a:Ke(a)?o&&Ha(n)?a:a.value:_e(a)?i?Pi(a):Ai(a):a}}class L1 extends _1{constructor(e=!1){super(!1,e)}set(e,n,s,i){let r=e[n];if(!this._isShallow){const l=ss(r);if(!Ls(s)&&!ss(s)&&(r=ve(r),s=ve(s)),!ie(e)&&Ke(r)&&!Ke(s))return l?!1:(r.value=s,!0)}const o=ie(e)&&Ha(n)?Number(n)t,Br=t=>Reflect.getPrototypeOf(t);function Gi(t,e,n=!1,s=!1){t=t.__v_raw;const i=ve(t),r=ve(e);n||(On(e,r)&&dt(i,"get",e),dt(i,"get",r));const{has:o}=Br(i),a=s?Ba:n?Ga:fi;if(o.call(i,e))return a(t.get(e));if(o.call(i,r))return a(t.get(r));t!==i&&t.get(e)}function Ui(t,e=!1){const n=this.__v_raw,s=ve(n),i=ve(t);return e||(On(t,i)&&dt(s,"has",t),dt(s,"has",i)),t===i?n.has(t):n.has(t)||n.has(i)}function Ki(t,e=!1){return t=t.__v_raw,!e&&dt(ve(t),"iterate",Xn),Reflect.get(t,"size",t)}function sc(t,e=!1){!e&&!Ls(t)&&!ss(t)&&(t=ve(t));const n=ve(this);return Br(n).has.call(n,t)||(n.add(t),hn(n,"add",t,t)),this}function ic(t,e,n=!1){!n&&!Ls(e)&&!ss(e)&&(e=ve(e));const s=ve(this),{has:i,get:r}=Br(s);let o=i.call(s,t);o||(t=ve(t),o=i.call(s,t));const a=r.call(s,t);return s.set(t,e),o?On(e,a)&&hn(s,"set",t,e):hn(s,"add",t,e),this}function rc(t){const e=ve(this),{has:n,get:s}=Br(e);let i=n.call(e,t);i||(t=ve(t),i=n.call(e,t)),s&&s.call(e,t);const r=e.delete(t);return i&&hn(e,"delete",t,void 0),r}function oc(){const t=ve(this),e=t.size!==0,n=t.clear();return e&&hn(t,"clear",void 0,void 0),n}function Zi(t,e){return function(s,i){const r=this,o=r.__v_raw,a=ve(o),l=e?Ba:t?Ga:fi;return!t&&dt(a,"iterate",Xn),o.forEach((c,u)=>s.call(i,l(c),l(u),r))}}function Yi(t,e,n){return function(...s){const i=this.__v_raw,r=ve(i),o=bs(r),a=t==="entries"||t===Symbol.iterator&&o,l=t==="keys"&&o,c=i[t](...s),u=n?Ba:e?Ga:fi;return!e&&dt(r,"iterate",l?Ko:Xn),{next(){const{value:d,done:h}=c.next();return h?{value:d,done:h}:{value:a?[u(d[0]),u(d[1])]:u(d),done:h}},[Symbol.iterator](){return this}}}}function bn(t){return function(...e){return t==="delete"?!1:t==="clear"?void 0:this}}function Vf(){const t={get(r){return Gi(this,r)},get size(){return Ki(this)},has:Ui,add:sc,set:ic,delete:rc,clear:oc,forEach:Zi(!1,!1)},e={get(r){return Gi(this,r,!1,!0)},get size(){return Ki(this)},has:Ui,add(r){return sc.call(this,r,!0)},set(r,o){return ic.call(this,r,o,!0)},delete:rc,clear:oc,forEach:Zi(!1,!0)},n={get(r){return Gi(this,r,!0)},get size(){return Ki(this,!0)},has(r){return Ui.call(this,r,!0)},add:bn("add"),set:bn("set"),delete:bn("delete"),clear:bn("clear"),forEach:Zi(!0,!1)},s={get(r){return Gi(this,r,!0,!0)},get size(){return Ki(this,!0)},has(r){return Ui.call(this,r,!0)},add:bn("add"),set:bn("set"),delete:bn("delete"),clear:bn("clear"),forEach:Zi(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(r=>{t[r]=Yi(r,!1,!1),n[r]=Yi(r,!0,!1),e[r]=Yi(r,!1,!0),s[r]=Yi(r,!0,!0)}),[t,n,e,s]}const[Nf,jf,Ff,qf]=Vf();function za(t,e){const n=e?t?qf:Ff:t?jf:Nf;return(s,i,r)=>i==="__v_isReactive"?!t:i==="__v_isReadonly"?t:i==="__v_raw"?s:Reflect.get(ge(n,i)&&i in s?n:s,i,r)}const Bf={get:za(!1,!1)},zf={get:za(!1,!0)},Wf={get:za(!0,!1)};const x1=new WeakMap,A1=new WeakMap,P1=new WeakMap,Gf=new WeakMap;function Uf(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Kf(t){return t.__v_skip||!Object.isExtensible(t)?0:Uf(pf(t))}function Ai(t){return ss(t)?t:Wa(t,!1,Rf,Bf,x1)}function O1(t){return Wa(t,!1,Hf,zf,A1)}function Pi(t){return Wa(t,!0,Df,Wf,P1)}function Wa(t,e,n,s,i){if(!_e(t)||t.__v_raw&&!(e&&t.__v_isReactive))return t;const r=i.get(t);if(r)return r;const o=Kf(t);if(o===0)return t;const a=new Proxy(t,o===2?s:n);return i.set(t,a),a}function ws(t){return ss(t)?ws(t.__v_raw):!!(t&&t.__v_isReactive)}function ss(t){return!!(t&&t.__v_isReadonly)}function Ls(t){return!!(t&&t.__v_isShallow)}function I1(t){return t?!!t.__v_raw:!1}function ve(t){const e=t&&t.__v_raw;return e?ve(e):t}function Zf(t){return Object.isExtensible(t)&&m1(t,"__v_skip",!0),t}const fi=t=>_e(t)?Ai(t):t,Ga=t=>_e(t)?Pi(t):t;class M1{constructor(e,n,s,i){this.getter=e,this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new ja(()=>e(this._value),()=>Xs(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!i,this.__v_isReadonly=s}get value(){const e=ve(this);return(!e._cacheable||e.effect.dirty)&&On(e._value,e._value=e.effect.run())&&Xs(e,4),Ua(e),e.effect._dirtyLevel>=2&&Xs(e,2),e._value}set value(e){this._setter(e)}get _dirty(){return this.effect.dirty}set _dirty(e){this.effect.dirty=e}}function Yf(t,e,n=!1){let s,i;const r=oe(t);return r?(s=t,i=Ot):(s=t.get,i=t.set),new M1(s,i,r||!i,n)}function Ua(t){var e;An&&Qn&&(t=ve(t),E1(Qn,(e=t.dep)!=null?e:t.dep=S1(()=>t.dep=void 0,t instanceof M1?t:void 0)))}function Xs(t,e=4,n,s){t=ve(t);const i=t.dep;i&&T1(i,e)}function Ke(t){return!!(t&&t.__v_isRef===!0)}function Q(t){return R1(t,!1)}function Fe(t){return R1(t,!0)}function R1(t,e){return Ke(t)?t:new Qf(t,e)}class Qf{constructor(e,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?e:ve(e),this._value=n?e:fi(e)}get value(){return Ua(this),this._value}set value(e){const n=this.__v_isShallow||Ls(e)||ss(e);e=n?e:ve(e),On(e,this._rawValue)&&(this._rawValue,this._rawValue=e,this._value=n?e:fi(e),Xs(this,4))}}function Nt(t){return Ke(t)?t.value:t}const Xf={get:(t,e,n)=>Nt(Reflect.get(t,e,n)),set:(t,e,n,s)=>{const i=t[e];return Ke(i)&&!Ke(n)?(i.value=n,!0):Reflect.set(t,e,n,s)}};function D1(t){return ws(t)?t:new Proxy(t,Xf)}class Jf{constructor(e){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:s}=e(()=>Ua(this),()=>Xs(this));this._get=n,this._set=s}get value(){return this._get()}set value(e){this._set(e)}}function H1(t){return new Jf(t)}class eh{constructor(e,n,s){this._object=e,this._key=n,this._defaultValue=s,this.__v_isRef=!0}get value(){const e=this._object[this._key];return e===void 0?this._defaultValue:e}set value(e){this._object[this._key]=e}get dep(){return Af(ve(this._object),this._key)}}class th{constructor(e){this._getter=e,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function zr(t,e,n){return Ke(t)?t:oe(t)?new th(t):_e(t)&&arguments.length>1?nh(t,e,n):Q(t)}function nh(t,e,n){const s=t[e];return Ke(s)?s:new eh(t,e,n)}/** +**/let pt;class $f{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=pt,!e&&pt&&(this.index=(pt.scopes||(pt.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const n=pt;try{return pt=this,e()}finally{pt=n}}}on(){pt=this}off(){pt=this.parent}stop(e){if(this._active){let n,s;for(n=0,s=this.effects.length;n=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),Nn()}return this._dirtyLevel>=4}set dirty(e){this._dirtyLevel=e?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let e=An,n=Yn;try{return An=!0,Yn=this,this._runnings++,ec(this),this.fn()}finally{tc(this),this._runnings--,Yn=n,An=e}}stop(){this.active&&(ec(this),tc(this),this.onStop&&this.onStop(),this.active=!1)}}function xf(t){return t.value}function ec(t){t._trackId++,t._depsLength=0}function tc(t){if(t.deps.length>t._depsLength){for(let e=t._depsLength;e{const n=new Map;return n.cleanup=t,n.computed=e,n},gr=new WeakMap,Xn=Symbol(""),Ko=Symbol("");function dt(t,e,n){if(An&&Yn){let s=gr.get(t);s||gr.set(t,s=new Map);let i=s.get(n);i||s.set(n,i=S1(()=>s.delete(n))),E1(Yn,i)}}function hn(t,e,n,s,i,r){const o=gr.get(t);if(!o)return;let a=[];if(e==="clear")a=[...o.values()];else if(n==="length"&&ie(t)){const l=Number(s);o.forEach((c,u)=>{(u==="length"||!Hn(u)&&u>=l)&&a.push(c)})}else switch(n!==void 0&&a.push(o.get(n)),e){case"add":ie(t)?Ha(n)&&a.push(o.get("length")):(a.push(o.get(Xn)),bs(t)&&a.push(o.get(Ko)));break;case"delete":ie(t)||(a.push(o.get(Xn)),bs(t)&&a.push(o.get(Ko)));break;case"set":bs(t)&&a.push(o.get(Xn));break}Fa();for(const l of a)l&&T1(l,4);qa()}function Af(t,e){const n=gr.get(t);return n&&n.get(e)}const Pf=Ma("__proto__,__v_isRef,__isVue"),$1=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(Hn)),nc=Of();function Of(){const t={};return["includes","indexOf","lastIndexOf"].forEach(e=>{t[e]=function(...n){const s=ve(this);for(let r=0,o=this.length;r{t[e]=function(...n){Vn(),Fa();const s=ve(this)[e].apply(this,n);return qa(),Nn(),s}}),t}function If(t){Hn(t)||(t=String(t));const e=ve(this);return dt(e,"has",t),e.hasOwnProperty(t)}class _1{constructor(e=!1,n=!1){this._isReadonly=e,this._isShallow=n}get(e,n,s){const i=this._isReadonly,r=this._isShallow;if(n==="__v_isReactive")return!i;if(n==="__v_isReadonly")return i;if(n==="__v_isShallow")return r;if(n==="__v_raw")return s===(i?r?Gf:P1:r?A1:x1).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(s)?e:void 0;const o=ie(e);if(!i){if(o&&ge(nc,n))return Reflect.get(nc,n,s);if(n==="hasOwnProperty")return If}const a=Reflect.get(e,n,s);return(Hn(n)?$1.has(n):Pf(n))||(i||dt(e,"get",n),r)?a:Ke(a)?o&&Ha(n)?a:a.value:_e(a)?i?Pi(a):Ai(a):a}}class L1 extends _1{constructor(e=!1){super(!1,e)}set(e,n,s,i){let r=e[n];if(!this._isShallow){const l=ss(r);if(!Ls(s)&&!ss(s)&&(r=ve(r),s=ve(s)),!ie(e)&&Ke(r)&&!Ke(s))return l?!1:(r.value=s,!0)}const o=ie(e)&&Ha(n)?Number(n)t,Br=t=>Reflect.getPrototypeOf(t);function Gi(t,e,n=!1,s=!1){t=t.__v_raw;const i=ve(t),r=ve(e);n||(On(e,r)&&dt(i,"get",e),dt(i,"get",r));const{has:o}=Br(i),a=s?Ba:n?Ga:fi;if(o.call(i,e))return a(t.get(e));if(o.call(i,r))return a(t.get(r));t!==i&&t.get(e)}function Ui(t,e=!1){const n=this.__v_raw,s=ve(n),i=ve(t);return e||(On(t,i)&&dt(s,"has",t),dt(s,"has",i)),t===i?n.has(t):n.has(t)||n.has(i)}function Ki(t,e=!1){return t=t.__v_raw,!e&&dt(ve(t),"iterate",Xn),Reflect.get(t,"size",t)}function sc(t,e=!1){!e&&!Ls(t)&&!ss(t)&&(t=ve(t));const n=ve(this);return Br(n).has.call(n,t)||(n.add(t),hn(n,"add",t,t)),this}function ic(t,e,n=!1){!n&&!Ls(e)&&!ss(e)&&(e=ve(e));const s=ve(this),{has:i,get:r}=Br(s);let o=i.call(s,t);o||(t=ve(t),o=i.call(s,t));const a=r.call(s,t);return s.set(t,e),o?On(e,a)&&hn(s,"set",t,e):hn(s,"add",t,e),this}function rc(t){const e=ve(this),{has:n,get:s}=Br(e);let i=n.call(e,t);i||(t=ve(t),i=n.call(e,t)),s&&s.call(e,t);const r=e.delete(t);return i&&hn(e,"delete",t,void 0),r}function oc(){const t=ve(this),e=t.size!==0,n=t.clear();return e&&hn(t,"clear",void 0,void 0),n}function Zi(t,e){return function(s,i){const r=this,o=r.__v_raw,a=ve(o),l=e?Ba:t?Ga:fi;return!t&&dt(a,"iterate",Xn),o.forEach((c,u)=>s.call(i,l(c),l(u),r))}}function Qi(t,e,n){return function(...s){const i=this.__v_raw,r=ve(i),o=bs(r),a=t==="entries"||t===Symbol.iterator&&o,l=t==="keys"&&o,c=i[t](...s),u=n?Ba:e?Ga:fi;return!e&&dt(r,"iterate",l?Ko:Xn),{next(){const{value:d,done:h}=c.next();return h?{value:d,done:h}:{value:a?[u(d[0]),u(d[1])]:u(d),done:h}},[Symbol.iterator](){return this}}}}function bn(t){return function(...e){return t==="delete"?!1:t==="clear"?void 0:this}}function Vf(){const t={get(r){return Gi(this,r)},get size(){return Ki(this)},has:Ui,add:sc,set:ic,delete:rc,clear:oc,forEach:Zi(!1,!1)},e={get(r){return Gi(this,r,!1,!0)},get size(){return Ki(this)},has:Ui,add(r){return sc.call(this,r,!0)},set(r,o){return ic.call(this,r,o,!0)},delete:rc,clear:oc,forEach:Zi(!1,!0)},n={get(r){return Gi(this,r,!0)},get size(){return Ki(this,!0)},has(r){return Ui.call(this,r,!0)},add:bn("add"),set:bn("set"),delete:bn("delete"),clear:bn("clear"),forEach:Zi(!0,!1)},s={get(r){return Gi(this,r,!0,!0)},get size(){return Ki(this,!0)},has(r){return Ui.call(this,r,!0)},add:bn("add"),set:bn("set"),delete:bn("delete"),clear:bn("clear"),forEach:Zi(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(r=>{t[r]=Qi(r,!1,!1),n[r]=Qi(r,!0,!1),e[r]=Qi(r,!1,!0),s[r]=Qi(r,!0,!0)}),[t,n,e,s]}const[Nf,jf,Ff,qf]=Vf();function za(t,e){const n=e?t?qf:Ff:t?jf:Nf;return(s,i,r)=>i==="__v_isReactive"?!t:i==="__v_isReadonly"?t:i==="__v_raw"?s:Reflect.get(ge(n,i)&&i in s?n:s,i,r)}const Bf={get:za(!1,!1)},zf={get:za(!1,!0)},Wf={get:za(!0,!1)};const x1=new WeakMap,A1=new WeakMap,P1=new WeakMap,Gf=new WeakMap;function Uf(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Kf(t){return t.__v_skip||!Object.isExtensible(t)?0:Uf(pf(t))}function Ai(t){return ss(t)?t:Wa(t,!1,Rf,Bf,x1)}function O1(t){return Wa(t,!1,Hf,zf,A1)}function Pi(t){return Wa(t,!0,Df,Wf,P1)}function Wa(t,e,n,s,i){if(!_e(t)||t.__v_raw&&!(e&&t.__v_isReactive))return t;const r=i.get(t);if(r)return r;const o=Kf(t);if(o===0)return t;const a=new Proxy(t,o===2?s:n);return i.set(t,a),a}function ws(t){return ss(t)?ws(t.__v_raw):!!(t&&t.__v_isReactive)}function ss(t){return!!(t&&t.__v_isReadonly)}function Ls(t){return!!(t&&t.__v_isShallow)}function I1(t){return t?!!t.__v_raw:!1}function ve(t){const e=t&&t.__v_raw;return e?ve(e):t}function Zf(t){return Object.isExtensible(t)&&m1(t,"__v_skip",!0),t}const fi=t=>_e(t)?Ai(t):t,Ga=t=>_e(t)?Pi(t):t;class M1{constructor(e,n,s,i){this.getter=e,this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new ja(()=>e(this._value),()=>Xs(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!i,this.__v_isReadonly=s}get value(){const e=ve(this);return(!e._cacheable||e.effect.dirty)&&On(e._value,e._value=e.effect.run())&&Xs(e,4),Ua(e),e.effect._dirtyLevel>=2&&Xs(e,2),e._value}set value(e){this._setter(e)}get _dirty(){return this.effect.dirty}set _dirty(e){this.effect.dirty=e}}function Qf(t,e,n=!1){let s,i;const r=oe(t);return r?(s=t,i=Ot):(s=t.get,i=t.set),new M1(s,i,r||!i,n)}function Ua(t){var e;An&&Yn&&(t=ve(t),E1(Yn,(e=t.dep)!=null?e:t.dep=S1(()=>t.dep=void 0,t instanceof M1?t:void 0)))}function Xs(t,e=4,n,s){t=ve(t);const i=t.dep;i&&T1(i,e)}function Ke(t){return!!(t&&t.__v_isRef===!0)}function Y(t){return R1(t,!1)}function Fe(t){return R1(t,!0)}function R1(t,e){return Ke(t)?t:new Yf(t,e)}class Yf{constructor(e,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?e:ve(e),this._value=n?e:fi(e)}get value(){return Ua(this),this._value}set value(e){const n=this.__v_isShallow||Ls(e)||ss(e);e=n?e:ve(e),On(e,this._rawValue)&&(this._rawValue,this._rawValue=e,this._value=n?e:fi(e),Xs(this,4))}}function Nt(t){return Ke(t)?t.value:t}const Xf={get:(t,e,n)=>Nt(Reflect.get(t,e,n)),set:(t,e,n,s)=>{const i=t[e];return Ke(i)&&!Ke(n)?(i.value=n,!0):Reflect.set(t,e,n,s)}};function D1(t){return ws(t)?t:new Proxy(t,Xf)}class Jf{constructor(e){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:s}=e(()=>Ua(this),()=>Xs(this));this._get=n,this._set=s}get value(){return this._get()}set value(e){this._set(e)}}function H1(t){return new Jf(t)}class eh{constructor(e,n,s){this._object=e,this._key=n,this._defaultValue=s,this.__v_isRef=!0}get value(){const e=this._object[this._key];return e===void 0?this._defaultValue:e}set value(e){this._object[this._key]=e}get dep(){return Af(ve(this._object),this._key)}}class th{constructor(e){this._getter=e,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function zr(t,e,n){return Ke(t)?t:oe(t)?new th(t):_e(t)&&arguments.length>1?nh(t,e,n):Y(t)}function nh(t,e,n){const s=t[e];return Ke(s)?s:new eh(t,e,n)}/** * @vue/runtime-core v3.4.33 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/function Pn(t,e,n,s){try{return s?t(...s):t()}catch(i){Oi(i,e,n)}}function Rt(t,e,n,s){if(oe(t)){const i=Pn(t,e,n,s);return i&&f1(i)&&i.catch(r=>{Oi(r,e,n)}),i}if(ie(t)){const i=[];for(let r=0;r>>1,i=et[s],r=pi(i);rJt&&et.splice(e,1)}function oh(t){ie(t)?ks.push(...t):(!Sn||!Sn.includes(t,t.allowRecurse?Gn+1:Gn))&&ks.push(t),N1()}function ac(t,e,n=hi?Jt+1:0){for(;npi(n)-pi(s));if(ks.length=0,Sn){Sn.push(...e);return}for(Sn=e,Gn=0;Gnt.id==null?1/0:t.id,ah=(t,e)=>{const n=pi(t)-pi(e);if(n===0){if(t.pre&&!e.pre)return-1;if(e.pre&&!t.pre)return 1}return n};function j1(t){Zo=!1,hi=!0,et.sort(ah);try{for(Jt=0;Jt{s._d&&wc(-1);const r=yr(e);let o;try{o=t(...i)}finally{yr(r),s._d&&wc(1)}return o};return s._n=!0,s._c=!0,s._d=!0,s}function Qt(t,e,n,s){const i=t.dirs,r=e&&e.dirs;for(let o=0;o{t.isMounted=!0}),Ya(()=>{t.isUnmounting=!0}),t}const Tt=[Function,Array],B1={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Tt,onEnter:Tt,onAfterEnter:Tt,onEnterCancelled:Tt,onBeforeLeave:Tt,onLeave:Tt,onAfterLeave:Tt,onLeaveCancelled:Tt,onBeforeAppear:Tt,onAppear:Tt,onAfterAppear:Tt,onAppearCancelled:Tt},z1=t=>{const e=t.subTree;return e.component?z1(e.component):e},ch={name:"BaseTransition",props:B1,setup(t,{slots:e}){const n=Vs(),s=q1();return()=>{const i=e.default&&Za(e.default(),!0);if(!i||!i.length)return;let r=i[0];if(i.length>1){for(const h of i)if(h.type!==ct){r=h;break}}const o=ve(t),{mode:a}=o;if(s.isLeaving)return fo(r);const l=lc(r);if(!l)return fo(r);let c=mi(l,o,s,n,h=>c=h);xs(l,c);const u=n.subTree,d=u&&lc(u);if(d&&d.type!==ct&&!Kn(l,d)&&z1(n).type!==ct){const h=mi(d,o,s,n);if(xs(d,h),a==="out-in"&&l.type!==ct)return s.isLeaving=!0,h.afterLeave=()=>{s.isLeaving=!1,n.update.active!==!1&&(n.effect.dirty=!0,n.update())},fo(r);a==="in-out"&&l.type!==ct&&(h.delayLeave=(p,m,v)=>{const w=W1(s,d);w[String(d.key)]=d,p[$n]=()=>{m(),p[$n]=void 0,delete c.delayedLeave},c.delayedLeave=v})}return r}}},uh=ch;function W1(t,e){const{leavingVNodes:n}=t;let s=n.get(e.type);return s||(s=Object.create(null),n.set(e.type,s)),s}function mi(t,e,n,s,i){const{appear:r,mode:o,persisted:a=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:u,onEnterCancelled:d,onBeforeLeave:h,onLeave:p,onAfterLeave:m,onLeaveCancelled:v,onBeforeAppear:w,onAppear:C,onAfterAppear:k,onAppearCancelled:y}=e,E=String(t.key),x=W1(n,t),P=(D,L)=>{D&&Rt(D,s,9,L)},A=(D,L)=>{const N=L[1];P(D,L),ie(D)?D.every(I=>I.length<=1)&&N():D.length<=1&&N()},F={mode:o,persisted:a,beforeEnter(D){let L=l;if(!n.isMounted)if(r)L=w||l;else return;D[$n]&&D[$n](!0);const N=x[E];N&&Kn(t,N)&&N.el[$n]&&N.el[$n](),P(L,[D])},enter(D){let L=c,N=u,I=d;if(!n.isMounted)if(r)L=C||c,N=k||u,I=y||d;else return;let Z=!1;const J=D[Qi]=ae=>{Z||(Z=!0,ae?P(I,[D]):P(N,[D]),F.delayedLeave&&F.delayedLeave(),D[Qi]=void 0)};L?A(L,[D,J]):J()},leave(D,L){const N=String(t.key);if(D[Qi]&&D[Qi](!0),n.isUnmounting)return L();P(h,[D]);let I=!1;const Z=D[$n]=J=>{I||(I=!0,L(),J?P(v,[D]):P(m,[D]),D[$n]=void 0,x[N]===t&&delete x[N])};x[N]=t,p?A(p,[D,Z]):Z()},clone(D){const L=mi(D,e,n,s,i);return i&&i(L),L}};return F}function fo(t){if(Ii(t))return t=In(t),t.children=null,t}function lc(t){if(!Ii(t))return t;const{shapeFlag:e,children:n}=t;if(n){if(e&16)return n[0];if(e&32&&oe(n.default))return n.default()}}function xs(t,e){t.shapeFlag&6&&t.component?xs(t.component.subTree,e):t.shapeFlag&128?(t.ssContent.transition=e.clone(t.ssContent),t.ssFallback.transition=e.clone(t.ssFallback)):t.transition=e}function Za(t,e=!1,n){let s=[],i=0;for(let r=0;r1)for(let r=0;r!!t.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function G1(t){oe(t)&&(t={loader:t});const{loader:e,loadingComponent:n,errorComponent:s,delay:i=200,timeout:r,suspensible:o=!0,onError:a}=t;let l=null,c,u=0;const d=()=>(u++,l=null,h()),h=()=>{let p;return l||(p=l=e().catch(m=>{if(m=m instanceof Error?m:new Error(String(m)),a)return new Promise((v,w)=>{a(m,()=>v(d()),()=>w(m),u+1)});throw m}).then(m=>p!==l&&l?l:(m&&(m.__esModule||m[Symbol.toStringTag]==="Module")&&(m=m.default),c=m,m)))};return K({name:"AsyncComponentWrapper",__asyncLoader:h,get __asyncResolved(){return c},setup(){const p=Qe;if(c)return()=>ho(c,p);const m=k=>{l=null,Oi(k,p,13,!s)};if(o&&p.suspense||Ri)return h().then(k=>()=>ho(k,p)).catch(k=>(m(k),()=>s?Ne(s,{error:k}):null));const v=Q(!1),w=Q(),C=Q(!!i);return i&&setTimeout(()=>{C.value=!1},i),r!=null&&setTimeout(()=>{if(!v.value&&!w.value){const k=new Error(`Async component timed out after ${r}ms.`);m(k),w.value=k}},r),h().then(()=>{v.value=!0,p.parent&&Ii(p.parent.vnode)&&(p.parent.effect.dirty=!0,Wr(p.parent.update))}).catch(k=>{m(k),w.value=k}),()=>{if(v.value&&c)return ho(c,p);if(w.value&&s)return Ne(s,{error:w.value});if(n&&!C.value)return Ne(n)}}})}function ho(t,e){const{ref:n,props:s,children:i,ce:r}=e.vnode,o=Ne(t,s,i);return o.ref=n,o.ce=r,delete e.vnode.ce,o}const Ii=t=>t.type.__isKeepAlive;function dh(t,e){U1(t,"a",e)}function fh(t,e){U1(t,"da",e)}function U1(t,e,n=Qe){const s=t.__wdc||(t.__wdc=()=>{let i=n;for(;i;){if(i.isDeactivated)return;i=i.parent}return t()});if(Gr(e,s,n),n){let i=n.parent;for(;i&&i.parent;)Ii(i.parent.vnode)&&hh(s,e,n,i),i=i.parent}}function hh(t,e,n,s){const i=Gr(e,t,s,!0);jn(()=>{Da(s[e],i)},n)}function Gr(t,e,n=Qe,s=!1){if(n){const i=n[t]||(n[t]=[]),r=e.__weh||(e.__weh=(...o)=>{Vn();const a=Mi(n),l=Rt(e,n,t,o);return a(),Nn(),l});return s?i.unshift(r):i.push(r),r}}const mn=t=>(e,n=Qe)=>{(!Ri||t==="sp")&&Gr(t,(...s)=>e(...s),n)},ph=mn("bm"),we=mn("m"),mh=mn("bu"),K1=mn("u"),Ya=mn("bum"),jn=mn("um"),gh=mn("sp"),vh=mn("rtg"),yh=mn("rtc");function bh(t,e=Qe){Gr("ec",t,e)}const Z1="components";function qt(t,e){return wh(Z1,t,!0,e)||t}const Ch=Symbol.for("v-ndc");function wh(t,e,n=!0,s=!1){const i=It||Qe;if(i){const r=i.type;if(t===Z1){const a=h6(r,!1);if(a&&(a===e||a===wt(e)||a===xi(wt(e))))return r}const o=cc(i[t]||r[t],e)||cc(i.appContext[t],e);return!o&&s?r:o}}function cc(t,e){return t&&(t[e]||t[wt(e)]||t[xi(wt(e))])}function Hv(t,e,n,s){let i;const r=n;if(ie(t)||Be(t)){i=new Array(t.length);for(let o=0,a=t.length;oe(o,a,void 0,r));else{const o=Object.keys(t);i=new Array(o.length);for(let a=0,l=o.length;at?yd(t)?tl(t):Yo(t.parent):null,ei=Ue(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>t.props,$attrs:t=>t.attrs,$slots:t=>t.slots,$refs:t=>t.refs,$parent:t=>Yo(t.parent),$root:t=>Yo(t.root),$emit:t=>t.emit,$options:t=>Qa(t),$forceUpdate:t=>t.f||(t.f=()=>{t.effect.dirty=!0,Wr(t.update)}),$nextTick:t=>t.n||(t.n=an.bind(t.proxy)),$watch:t=>Gh.bind(t)}),po=(t,e)=>t!==Me&&!t.__isScriptSetup&&ge(t,e),kh={get({_:t},e){if(e==="__v_skip")return!0;const{ctx:n,setupState:s,data:i,props:r,accessCache:o,type:a,appContext:l}=t;let c;if(e[0]!=="$"){const p=o[e];if(p!==void 0)switch(p){case 1:return s[e];case 2:return i[e];case 4:return n[e];case 3:return r[e]}else{if(po(s,e))return o[e]=1,s[e];if(i!==Me&&ge(i,e))return o[e]=2,i[e];if((c=t.propsOptions[0])&&ge(c,e))return o[e]=3,r[e];if(n!==Me&&ge(n,e))return o[e]=4,n[e];Qo&&(o[e]=0)}}const u=ei[e];let d,h;if(u)return e==="$attrs"&&dt(t.attrs,"get",""),u(t);if((d=a.__cssModules)&&(d=d[e]))return d;if(n!==Me&&ge(n,e))return o[e]=4,n[e];if(h=l.config.globalProperties,ge(h,e))return h[e]},set({_:t},e,n){const{data:s,setupState:i,ctx:r}=t;return po(i,e)?(i[e]=n,!0):s!==Me&&ge(s,e)?(s[e]=n,!0):ge(t.props,e)||e[0]==="$"&&e.slice(1)in t?!1:(r[e]=n,!0)},has({_:{data:t,setupState:e,accessCache:n,ctx:s,appContext:i,propsOptions:r}},o){let a;return!!n[o]||t!==Me&&ge(t,o)||po(e,o)||(a=r[0])&&ge(a,o)||ge(s,o)||ge(ei,o)||ge(i.config.globalProperties,o)},defineProperty(t,e,n){return n.get!=null?t._.accessCache[e]=0:ge(n,"value")&&this.set(t,e,n.value,null),Reflect.defineProperty(t,e,n)}};function uc(t){return ie(t)?t.reduce((e,n)=>(e[n]=null,e),{}):t}let Qo=!0;function Eh(t){const e=Qa(t),n=t.proxy,s=t.ctx;Qo=!1,e.beforeCreate&&dc(e.beforeCreate,t,"bc");const{data:i,computed:r,methods:o,watch:a,provide:l,inject:c,created:u,beforeMount:d,mounted:h,beforeUpdate:p,updated:m,activated:v,deactivated:w,beforeDestroy:C,beforeUnmount:k,destroyed:y,unmounted:E,render:x,renderTracked:P,renderTriggered:A,errorCaptured:F,serverPrefetch:D,expose:L,inheritAttrs:N,components:I,directives:Z,filters:J}=e;if(c&&Th(c,s,null),o)for(const j in o){const V=o[j];oe(V)&&(s[j]=V.bind(n))}if(i){const j=i.call(n,n);_e(j)&&(t.data=Ai(j))}if(Qo=!0,r)for(const j in r){const V=r[j],ue=oe(V)?V.bind(n,n):oe(V.get)?V.get.bind(n,n):Ot,Re=!oe(V)&&oe(V.set)?V.set.bind(n):Ot,ze=S({get:ue,set:Re});Object.defineProperty(s,j,{enumerable:!0,configurable:!0,get:()=>ze.value,set:De=>ze.value=De})}if(a)for(const j in a)Y1(a[j],s,n,j);if(l){const j=oe(l)?l.call(n):l;Reflect.ownKeys(j).forEach(V=>{Jn(V,j[V])})}u&&dc(u,t,"c");function q(j,V){ie(V)?V.forEach(ue=>j(ue.bind(n))):V&&j(V.bind(n))}if(q(ph,d),q(we,h),q(mh,p),q(K1,m),q(dh,v),q(fh,w),q(bh,F),q(yh,P),q(vh,A),q(Ya,k),q(jn,E),q(gh,D),ie(L))if(L.length){const j=t.exposed||(t.exposed={});L.forEach(V=>{Object.defineProperty(j,V,{get:()=>n[V],set:ue=>n[V]=ue})})}else t.exposed||(t.exposed={});x&&t.render===Ot&&(t.render=x),N!=null&&(t.inheritAttrs=N),I&&(t.components=I),Z&&(t.directives=Z)}function Th(t,e,n=Ot){ie(t)&&(t=Xo(t));for(const s in t){const i=t[s];let r;_e(i)?"default"in i?r=je(i.from||s,i.default,!0):r=je(i.from||s):r=je(i),Ke(r)?Object.defineProperty(e,s,{enumerable:!0,configurable:!0,get:()=>r.value,set:o=>r.value=o}):e[s]=r}}function dc(t,e,n){Rt(ie(t)?t.map(s=>s.bind(e.proxy)):t.bind(e.proxy),e,n)}function Y1(t,e,n,s){const i=s.includes(".")?dd(n,s):()=>n[s];if(Be(t)){const r=e[t];oe(r)&&he(i,r)}else if(oe(t))he(i,t.bind(n));else if(_e(t))if(ie(t))t.forEach(r=>Y1(r,e,n,s));else{const r=oe(t.handler)?t.handler.bind(n):e[t.handler];oe(r)&&he(i,r,t)}}function Qa(t){const e=t.type,{mixins:n,extends:s}=e,{mixins:i,optionsCache:r,config:{optionMergeStrategies:o}}=t.appContext,a=r.get(e);let l;return a?l=a:!i.length&&!n&&!s?l=e:(l={},i.length&&i.forEach(c=>br(l,c,o,!0)),br(l,e,o)),_e(e)&&r.set(e,l),l}function br(t,e,n,s=!1){const{mixins:i,extends:r}=e;r&&br(t,r,n,!0),i&&i.forEach(o=>br(t,o,n,!0));for(const o in e)if(!(s&&o==="expose")){const a=Sh[o]||n&&n[o];t[o]=a?a(t[o],e[o]):e[o]}return t}const Sh={data:fc,props:hc,emits:hc,methods:Ys,computed:Ys,beforeCreate:it,created:it,beforeMount:it,mounted:it,beforeUpdate:it,updated:it,beforeDestroy:it,beforeUnmount:it,destroyed:it,unmounted:it,activated:it,deactivated:it,errorCaptured:it,serverPrefetch:it,components:Ys,directives:Ys,watch:_h,provide:fc,inject:$h};function fc(t,e){return e?t?function(){return Ue(oe(t)?t.call(this,this):t,oe(e)?e.call(this,this):e)}:e:t}function $h(t,e){return Ys(Xo(t),Xo(e))}function Xo(t){if(ie(t)){const e={};for(let n=0;n1)return n&&oe(e)?e.call(s&&s.proxy):e}}const X1={},J1=()=>Object.create(X1),ed=t=>Object.getPrototypeOf(t)===X1;function Ah(t,e,n,s=!1){const i={},r=J1();t.propsDefaults=Object.create(null),td(t,e,i,r);for(const o in t.propsOptions[0])o in i||(i[o]=void 0);n?t.props=s?i:O1(i):t.type.props?t.props=i:t.props=r,t.attrs=r}function Ph(t,e,n,s){const{props:i,attrs:r,vnode:{patchFlag:o}}=t,a=ve(i),[l]=t.propsOptions;let c=!1;if((s||o>0)&&!(o&16)){if(o&8){const u=t.vnode.dynamicProps;for(let d=0;d{l=!0;const[h,p]=nd(d,e,!0);Ue(o,h),p&&a.push(...p)};!n&&e.mixins.length&&e.mixins.forEach(u),t.extends&&u(t.extends),t.mixins&&t.mixins.forEach(u)}if(!r&&!l)return _e(t)&&s.set(t,ys),ys;if(ie(r))for(let u=0;u-1,p[1]=v<0||m-1||ge(p,"default"))&&a.push(d)}}}const c=[o,a];return _e(t)&&s.set(t,c),c}function pc(t){return t[0]!=="$"&&!Cs(t)}function mc(t){return t===null?"null":typeof t=="function"?t.name||"":typeof t=="object"&&t.constructor&&t.constructor.name||""}function gc(t,e){return mc(t)===mc(e)}function vc(t,e){return ie(e)?e.findIndex(n=>gc(n,t)):oe(e)&&gc(e,t)?0:-1}const sd=t=>t[0]==="_"||t==="$stable",Xa=t=>ie(t)?t.map(Lt):[Lt(t)],Ih=(t,e,n)=>{if(e._n)return e;const s=lh((...i)=>Xa(e(...i)),n);return s._c=!1,s},id=(t,e,n)=>{const s=t._ctx;for(const i in t){if(sd(i))continue;const r=t[i];if(oe(r))e[i]=Ih(i,r,s);else if(r!=null){const o=Xa(r);e[i]=()=>o}}},rd=(t,e)=>{const n=Xa(e);t.slots.default=()=>n},od=(t,e,n)=>{for(const s in e)(n||s!=="_")&&(t[s]=e[s])},Mh=(t,e,n)=>{const s=t.slots=J1();if(t.vnode.shapeFlag&32){const i=e._;i?(od(s,e,n),n&&m1(s,"_",i,!0)):id(e,s)}else e&&rd(t,e)},Rh=(t,e,n)=>{const{vnode:s,slots:i}=t;let r=!0,o=Me;if(s.shapeFlag&32){const a=e._;a?n&&a===1?r=!1:od(i,e,n):(r=!e.$stable,id(e,i)),o=e}else e&&(rd(t,e),o={default:1});if(r)for(const a in i)!sd(a)&&o[a]==null&&delete i[a]};function Cr(t,e,n,s,i=!1){if(ie(t)){t.forEach((h,p)=>Cr(h,e&&(ie(e)?e[p]:e),n,s,i));return}if(Js(s)&&!i)return;const r=s.shapeFlag&4?tl(s.component):s.el,o=i?null:r,{i:a,r:l}=t,c=e&&e.r,u=a.refs===Me?a.refs={}:a.refs,d=a.setupState;if(c!=null&&c!==l&&(Be(c)?(u[c]=null,ge(d,c)&&(d[c]=null)):Ke(c)&&(c.value=null)),oe(l))Pn(l,a,12,[o,u]);else{const h=Be(l),p=Ke(l);if(h||p){const m=()=>{if(t.f){const v=h?ge(d,l)?d[l]:u[l]:l.value;i?ie(v)&&Da(v,r):ie(v)?v.includes(r)||v.push(r):h?(u[l]=[r],ge(d,l)&&(d[l]=u[l])):(l.value=[r],t.k&&(u[t.k]=l.value))}else h?(u[l]=o,ge(d,l)&&(d[l]=o)):p&&(l.value=o,t.k&&(u[t.k]=o))};o?(m.id=-1,at(m,n)):m()}}}const Dh=Symbol("_vte"),Hh=t=>t.__isTeleport;let yc=!1;const fs=()=>{yc||(console.error("Hydration completed but contains mismatches."),yc=!0)},Vh=t=>t.namespaceURI.includes("svg")&&t.tagName!=="foreignObject",Nh=t=>t.namespaceURI.includes("MathML"),Xi=t=>{if(Vh(t))return"svg";if(Nh(t))return"mathml"},Ji=t=>t.nodeType===8;function jh(t){const{mt:e,p:n,o:{patchProp:s,createText:i,nextSibling:r,parentNode:o,remove:a,insert:l,createComment:c}}=t,u=(y,E)=>{if(!E.hasChildNodes()){n(null,y,E),vr(),E._vnode=y;return}d(E.firstChild,y,null,null,null),vr(),E._vnode=y},d=(y,E,x,P,A,F=!1)=>{F=F||!!E.dynamicChildren;const D=Ji(y)&&y.data==="[",L=()=>v(y,E,x,P,A,D),{type:N,ref:I,shapeFlag:Z,patchFlag:J}=E;let ae=y.nodeType;E.el=y,J===-2&&(F=!1,E.dynamicChildren=null);let q=null;switch(N){case es:ae!==3?E.children===""?(l(E.el=i(""),o(y),y),q=y):q=L():(y.data!==E.children&&(fs(),y.data=E.children),q=r(y));break;case ct:k(y)?(q=r(y),C(E.el=y.content.firstChild,y,x)):ae!==8||D?q=L():q=r(y);break;case ni:if(D&&(y=r(y),ae=y.nodeType),ae===1||ae===3){q=y;const j=!E.children.length;for(let V=0;V{F=F||!!E.dynamicChildren;const{type:D,props:L,patchFlag:N,shapeFlag:I,dirs:Z,transition:J}=E,ae=D==="input"||D==="option";if(ae||N!==-1){Z&&Qt(E,null,x,"created");let q=!1;if(k(y)){q=ad(P,J)&&x&&x.vnode.props&&x.vnode.props.appear;const V=y.content.firstChild;q&&J.beforeEnter(V),C(V,y,x),E.el=y=V}if(I&16&&!(L&&(L.innerHTML||L.textContent))){let V=p(y.firstChild,E,y,x,P,A,F);for(;V;){fs();const ue=V;V=V.nextSibling,a(ue)}}else I&8&&y.textContent!==E.children&&(fs(),y.textContent=E.children);if(L){if(ae||!F||N&48)for(const V in L)(ae&&(V.endsWith("value")||V==="indeterminate")||Li(V)&&!Cs(V)||V[0]===".")&&s(y,V,null,L[V],void 0,x);else if(L.onClick)s(y,"onClick",null,L.onClick,void 0,x);else if(N&4&&ws(L.style))for(const V in L.style)L.style[V]}let j;(j=L&&L.onVnodeBeforeMount)&&$t(j,x,E),Z&&Qt(E,null,x,"beforeMount"),((j=L&&L.onVnodeMounted)||Z||q)&&hd(()=>{j&&$t(j,x,E),q&&J.enter(y),Z&&Qt(E,null,x,"mounted")},P)}return y.nextSibling},p=(y,E,x,P,A,F,D)=>{D=D||!!E.dynamicChildren;const L=E.children,N=L.length;for(let I=0;I{const{slotScopeIds:D}=E;D&&(A=A?A.concat(D):D);const L=o(y),N=p(r(y),E,L,x,P,A,F);return N&&Ji(N)&&N.data==="]"?r(E.anchor=N):(fs(),l(E.anchor=c("]"),L,N),N)},v=(y,E,x,P,A,F)=>{if(fs(),E.el=null,F){const N=w(y);for(;;){const I=r(y);if(I&&I!==N)a(I);else break}}const D=r(y),L=o(y);return a(y),n(null,E,L,D,x,P,Xi(L),A),D},w=(y,E="[",x="]")=>{let P=0;for(;y;)if(y=r(y),y&&Ji(y)&&(y.data===E&&P++,y.data===x)){if(P===0)return r(y);P--}return y},C=(y,E,x)=>{const P=E.parentNode;P&&P.replaceChild(y,E);let A=x;for(;A;)A.vnode.el===E&&(A.vnode.el=A.subTree.el=y),A=A.parent},k=y=>y.nodeType===1&&y.tagName.toLowerCase()==="template";return[u,d]}const at=hd;function Fh(t){return qh(t,jh)}function qh(t,e){const n=g1();n.__VUE__=!0;const{insert:s,remove:i,patchProp:r,createElement:o,createText:a,createComment:l,setText:c,setElementText:u,parentNode:d,nextSibling:h,setScopeId:p=Ot,insertStaticContent:m}=t,v=(g,b,T,O=null,_=null,R=null,G=void 0,B=null,z=!!b.dynamicChildren)=>{if(g===b)return;g&&!Kn(g,b)&&(O=$(g),De(g,_,R,!0),g=null),b.patchFlag===-2&&(z=!1,b.dynamicChildren=null);const{type:M,ref:Y,shapeFlag:ee}=b;switch(M){case es:w(g,b,T,O);break;case ct:C(g,b,T,O);break;case ni:g==null&&k(b,T,O,G);break;case gt:I(g,b,T,O,_,R,G,B,z);break;default:ee&1?x(g,b,T,O,_,R,G,B,z):ee&6?Z(g,b,T,O,_,R,G,B,z):(ee&64||ee&128)&&M.process(g,b,T,O,_,R,G,B,z,U)}Y!=null&&_&&Cr(Y,g&&g.ref,R,b||g,!b)},w=(g,b,T,O)=>{if(g==null)s(b.el=a(b.children),T,O);else{const _=b.el=g.el;b.children!==g.children&&c(_,b.children)}},C=(g,b,T,O)=>{g==null?s(b.el=l(b.children||""),T,O):b.el=g.el},k=(g,b,T,O)=>{[g.el,g.anchor]=m(g.children,b,T,O,g.el,g.anchor)},y=({el:g,anchor:b},T,O)=>{let _;for(;g&&g!==b;)_=h(g),s(g,T,O),g=_;s(b,T,O)},E=({el:g,anchor:b})=>{let T;for(;g&&g!==b;)T=h(g),i(g),g=T;i(b)},x=(g,b,T,O,_,R,G,B,z)=>{b.type==="svg"?G="svg":b.type==="math"&&(G="mathml"),g==null?P(b,T,O,_,R,G,B,z):D(g,b,_,R,G,B,z)},P=(g,b,T,O,_,R,G,B)=>{let z,M;const{props:Y,shapeFlag:ee,transition:X,dirs:re}=g;if(z=g.el=o(g.type,R,Y&&Y.is,Y),ee&8?u(z,g.children):ee&16&&F(g.children,z,null,O,_,mo(g,R),G,B),re&&Qt(g,null,O,"created"),A(z,g,g.scopeId,G,O),Y){for(const xe in Y)xe!=="value"&&!Cs(xe)&&r(z,xe,null,Y[xe],R,O);"value"in Y&&r(z,"value",null,Y.value,R),(M=Y.onVnodeBeforeMount)&&$t(M,O,g)}re&&Qt(g,null,O,"beforeMount");const de=ad(_,X);de&&X.beforeEnter(z),s(z,b,T),((M=Y&&Y.onVnodeMounted)||de||re)&&at(()=>{M&&$t(M,O,g),de&&X.enter(z),re&&Qt(g,null,O,"mounted")},_)},A=(g,b,T,O,_)=>{if(T&&p(g,T),O)for(let R=0;R{for(let M=z;M{const B=b.el=g.el;let{patchFlag:z,dynamicChildren:M,dirs:Y}=b;z|=g.patchFlag&16;const ee=g.props||Me,X=b.props||Me;let re;if(T&&Bn(T,!1),(re=X.onVnodeBeforeUpdate)&&$t(re,T,b,g),Y&&Qt(b,g,T,"beforeUpdate"),T&&Bn(T,!0),(ee.innerHTML&&X.innerHTML==null||ee.textContent&&X.textContent==null)&&u(B,""),M?L(g.dynamicChildren,M,B,T,O,mo(b,_),R):G||V(g,b,B,null,T,O,mo(b,_),R,!1),z>0){if(z&16)N(B,ee,X,T,_);else if(z&2&&ee.class!==X.class&&r(B,"class",null,X.class,_),z&4&&r(B,"style",ee.style,X.style,_),z&8){const de=b.dynamicProps;for(let xe=0;xe{re&&$t(re,T,b,g),Y&&Qt(b,g,T,"updated")},O)},L=(g,b,T,O,_,R,G)=>{for(let B=0;B{if(b!==T){if(b!==Me)for(const R in b)!Cs(R)&&!(R in T)&&r(g,R,b[R],null,_,O);for(const R in T){if(Cs(R))continue;const G=T[R],B=b[R];G!==B&&R!=="value"&&r(g,R,B,G,_,O)}"value"in T&&r(g,"value",b.value,T.value,_)}},I=(g,b,T,O,_,R,G,B,z)=>{const M=b.el=g?g.el:a(""),Y=b.anchor=g?g.anchor:a("");let{patchFlag:ee,dynamicChildren:X,slotScopeIds:re}=b;re&&(B=B?B.concat(re):re),g==null?(s(M,T,O),s(Y,T,O),F(b.children||[],T,Y,_,R,G,B,z)):ee>0&&ee&64&&X&&g.dynamicChildren?(L(g.dynamicChildren,X,T,_,R,G,B),(b.key!=null||_&&b===_.subTree)&&ld(g,b,!0)):V(g,b,T,Y,_,R,G,B,z)},Z=(g,b,T,O,_,R,G,B,z)=>{b.slotScopeIds=B,g==null?b.shapeFlag&512?_.ctx.activate(b,T,O,G,z):J(b,T,O,_,R,G,z):ae(g,b,z)},J=(g,b,T,O,_,R,G)=>{const B=g.component=l6(g,O,_);if(Ii(g)&&(B.ctx.renderer=U),c6(B,!1,G),B.asyncDep){if(_&&_.registerDep(B,q,G),!g.el){const z=B.subTree=Ne(ct);C(null,z,b,T)}}else q(B,g,b,T,_,R,G)},ae=(g,b,T)=>{const O=b.component=g.component;if(Qh(g,b,T))if(O.asyncDep&&!O.asyncResolved){j(O,b,T);return}else O.next=b,rh(O.update),O.effect.dirty=!0,O.update();else b.el=g.el,O.vnode=b},q=(g,b,T,O,_,R,G)=>{const B=()=>{if(g.isMounted){let{next:Y,bu:ee,u:X,parent:re,vnode:de}=g;{const ds=cd(g);if(ds){Y&&(Y.el=de.el,j(g,Y,G)),ds.asyncDep.then(()=>{g.isUnmounted||B()});return}}let xe=Y,Ce;Bn(g,!1),Y?(Y.el=de.el,j(g,Y,G)):Y=de,ee&&co(ee),(Ce=Y.props&&Y.props.onVnodeBeforeUpdate)&&$t(Ce,re,Y,de),Bn(g,!0);const Ye=go(g),Ht=g.subTree;g.subTree=Ye,v(Ht,Ye,d(Ht.el),$(Ht),g,_,R),Y.el=Ye.el,xe===null&&Xh(g,Ye.el),X&&at(X,_),(Ce=Y.props&&Y.props.onVnodeUpdated)&&at(()=>$t(Ce,re,Y,de),_)}else{let Y;const{el:ee,props:X}=b,{bm:re,m:de,parent:xe}=g,Ce=Js(b);if(Bn(g,!1),re&&co(re),!Ce&&(Y=X&&X.onVnodeBeforeMount)&&$t(Y,xe,b),Bn(g,!0),ee&&ye){const Ye=()=>{g.subTree=go(g),ye(ee,g.subTree,g,_,null)};Ce?b.type.__asyncLoader().then(()=>!g.isUnmounted&&Ye()):Ye()}else{const Ye=g.subTree=go(g);v(null,Ye,T,O,g,_,R),b.el=Ye.el}if(de&&at(de,_),!Ce&&(Y=X&&X.onVnodeMounted)){const Ye=b;at(()=>$t(Y,xe,Ye),_)}(b.shapeFlag&256||xe&&Js(xe.vnode)&&xe.vnode.shapeFlag&256)&&g.a&&at(g.a,_),g.isMounted=!0,b=T=O=null}},z=g.effect=new ja(B,Ot,()=>Wr(M),g.scope),M=g.update=()=>{z.dirty&&z.run()};M.i=g,M.id=g.uid,Bn(g,!0),M()},j=(g,b,T)=>{b.component=g;const O=g.vnode.props;g.vnode=b,g.next=null,Ph(g,b.props,O,T),Rh(g,b.children,T),Vn(),ac(g),Nn()},V=(g,b,T,O,_,R,G,B,z=!1)=>{const M=g&&g.children,Y=g?g.shapeFlag:0,ee=b.children,{patchFlag:X,shapeFlag:re}=b;if(X>0){if(X&128){Re(M,ee,T,O,_,R,G,B,z);return}else if(X&256){ue(M,ee,T,O,_,R,G,B,z);return}}re&8?(Y&16&&He(M,_,R),ee!==M&&u(T,ee)):Y&16?re&16?Re(M,ee,T,O,_,R,G,B,z):He(M,_,R,!0):(Y&8&&u(T,""),re&16&&F(ee,T,O,_,R,G,B,z))},ue=(g,b,T,O,_,R,G,B,z)=>{g=g||ys,b=b||ys;const M=g.length,Y=b.length,ee=Math.min(M,Y);let X;for(X=0;XY?He(g,_,R,!0,!1,ee):F(b,T,O,_,R,G,B,z,ee)},Re=(g,b,T,O,_,R,G,B,z)=>{let M=0;const Y=b.length;let ee=g.length-1,X=Y-1;for(;M<=ee&&M<=X;){const re=g[M],de=b[M]=z?_n(b[M]):Lt(b[M]);if(Kn(re,de))v(re,de,T,null,_,R,G,B,z);else break;M++}for(;M<=ee&&M<=X;){const re=g[ee],de=b[X]=z?_n(b[X]):Lt(b[X]);if(Kn(re,de))v(re,de,T,null,_,R,G,B,z);else break;ee--,X--}if(M>ee){if(M<=X){const re=X+1,de=reX)for(;M<=ee;)De(g[M],_,R,!0),M++;else{const re=M,de=M,xe=new Map;for(M=de;M<=X;M++){const ft=b[M]=z?_n(b[M]):Lt(b[M]);ft.key!=null&&xe.set(ft.key,M)}let Ce,Ye=0;const Ht=X-de+1;let ds=!1,Yl=0;const Ws=new Array(Ht);for(M=0;M=Ht){De(ft,_,R,!0);continue}let Yt;if(ft.key!=null)Yt=xe.get(ft.key);else for(Ce=de;Ce<=X;Ce++)if(Ws[Ce-de]===0&&Kn(ft,b[Ce])){Yt=Ce;break}Yt===void 0?De(ft,_,R,!0):(Ws[Yt-de]=M+1,Yt>=Yl?Yl=Yt:ds=!0,v(ft,b[Yt],T,null,_,R,G,B,z),Ye++)}const Ql=ds?Bh(Ws):ys;for(Ce=Ql.length-1,M=Ht-1;M>=0;M--){const ft=de+M,Yt=b[ft],Xl=ft+1{const{el:R,type:G,transition:B,children:z,shapeFlag:M}=g;if(M&6){ze(g.component.subTree,b,T,O);return}if(M&128){g.suspense.move(b,T,O);return}if(M&64){G.move(g,b,T,U);return}if(G===gt){s(R,b,T);for(let ee=0;eeB.enter(R),_);else{const{leave:ee,delayLeave:X,afterLeave:re}=B,de=()=>s(R,b,T),xe=()=>{ee(R,()=>{de(),re&&re()})};X?X(R,de,xe):xe()}else s(R,b,T)},De=(g,b,T,O=!1,_=!1)=>{const{type:R,props:G,ref:B,children:z,dynamicChildren:M,shapeFlag:Y,patchFlag:ee,dirs:X,cacheIndex:re}=g;if(ee===-2&&(_=!1),B!=null&&Cr(B,null,T,g,!0),re!=null&&(b.renderCache[re]=void 0),Y&256){b.ctx.deactivate(g);return}const de=Y&1&&X,xe=!Js(g);let Ce;if(xe&&(Ce=G&&G.onVnodeBeforeUnmount)&&$t(Ce,b,g),Y&6)st(g.component,T,O);else{if(Y&128){g.suspense.unmount(T,O);return}de&&Qt(g,null,b,"beforeUnmount"),Y&64?g.type.remove(g,b,T,U,O):M&&!M.hasOnce&&(R!==gt||ee>0&&ee&64)?He(M,b,T,!1,!0):(R===gt&&ee&384||!_&&Y&16)&&He(z,b,T),O&&Ze(g)}(xe&&(Ce=G&&G.onVnodeUnmounted)||de)&&at(()=>{Ce&&$t(Ce,b,g),de&&Qt(g,null,b,"unmounted")},T)},Ze=g=>{const{type:b,el:T,anchor:O,transition:_}=g;if(b===gt){ot(T,O);return}if(b===ni){E(g);return}const R=()=>{i(T),_&&!_.persisted&&_.afterLeave&&_.afterLeave()};if(g.shapeFlag&1&&_&&!_.persisted){const{leave:G,delayLeave:B}=_,z=()=>G(T,R);B?B(g.el,R,z):z()}else R()},ot=(g,b)=>{let T;for(;g!==b;)T=h(g),i(g),g=T;i(b)},st=(g,b,T)=>{const{bum:O,scope:_,update:R,subTree:G,um:B,m:z,a:M}=g;bc(z),bc(M),O&&co(O),_.stop(),R&&(R.active=!1,De(G,g,b,T)),B&&at(B,b),at(()=>{g.isUnmounted=!0},b),b&&b.pendingBranch&&!b.isUnmounted&&g.asyncDep&&!g.asyncResolved&&g.suspenseId===b.pendingId&&(b.deps--,b.deps===0&&b.resolve())},He=(g,b,T,O=!1,_=!1,R=0)=>{for(let G=R;G{if(g.shapeFlag&6)return $(g.component.subTree);if(g.shapeFlag&128)return g.suspense.next();const b=h(g.anchor||g.el),T=b&&b[Dh];return T?h(T):b};let W=!1;const H=(g,b,T)=>{g==null?b._vnode&&De(b._vnode,null,null,!0):v(b._vnode||null,g,b,null,null,null,T),W||(W=!0,ac(),vr(),W=!1),b._vnode=g},U={p:v,um:De,m:ze,r:Ze,mt:J,mc:F,pc:V,pbc:L,n:$,o:t};let le,ye;return e&&([le,ye]=e(U)),{render:H,hydrate:le,createApp:xh(H,le)}}function mo({type:t,props:e},n){return n==="svg"&&t==="foreignObject"||n==="mathml"&&t==="annotation-xml"&&e&&e.encoding&&e.encoding.includes("html")?void 0:n}function Bn({effect:t,update:e},n){t.allowRecurse=e.allowRecurse=n}function ad(t,e){return(!t||t&&!t.pendingBranch)&&e&&!e.persisted}function ld(t,e,n=!1){const s=t.children,i=e.children;if(ie(s)&&ie(i))for(let r=0;r>1,t[n[a]]0&&(e[s]=n[r-1]),n[r]=s)}}for(r=n.length,o=n[r-1];r-- >0;)n[r]=o,o=e[o];return n}function cd(t){const e=t.subTree.component;if(e)return e.asyncDep&&!e.asyncResolved?e:cd(e)}function bc(t){if(t)for(let e=0;eje(zh);function ud(t,e){return Ja(t,null,e)}const er={};function he(t,e,n){return Ja(t,e,n)}function Ja(t,e,{immediate:n,deep:s,flush:i,once:r,onTrack:o,onTrigger:a}=Me){if(e&&r){const P=e;e=(...A)=>{P(...A),x()}}const l=Qe,c=P=>s===!0?P:Un(P,s===!1?1:void 0);let u,d=!1,h=!1;if(Ke(t)?(u=()=>t.value,d=Ls(t)):ws(t)?(u=()=>c(t),d=!0):ie(t)?(h=!0,d=t.some(P=>ws(P)||Ls(P)),u=()=>t.map(P=>{if(Ke(P))return P.value;if(ws(P))return c(P);if(oe(P))return Pn(P,l,2)})):oe(t)?e?u=()=>Pn(t,l,2):u=()=>(p&&p(),Rt(t,l,3,[m])):u=Ot,e&&s){const P=u;u=()=>Un(P())}let p,m=P=>{p=y.onStop=()=>{Pn(P,l,4),p=y.onStop=void 0}},v;if(Ri)if(m=Ot,e?n&&Rt(e,l,3,[u(),h?[]:void 0,m]):u(),i==="sync"){const P=Wh();v=P.__watcherHandles||(P.__watcherHandles=[])}else return Ot;let w=h?new Array(t.length).fill(er):er;const C=()=>{if(!(!y.active||!y.dirty))if(e){const P=y.run();(s||d||(h?P.some((A,F)=>On(A,w[F])):On(P,w)))&&(p&&p(),Rt(e,l,3,[P,w===er?void 0:h&&w[0]===er?[]:w,m]),w=P)}else y.run()};C.allowRecurse=!!e;let k;i==="sync"?k=C:i==="post"?k=()=>at(C,l&&l.suspense):(C.pre=!0,l&&(C.id=l.uid),k=()=>Wr(C));const y=new ja(u,Ot,k),E=C1(),x=()=>{y.stop(),E&&Da(E.effects,y)};return e?n?C():w=y.run():i==="post"?at(y.run.bind(y),l&&l.suspense):y.run(),v&&v.push(x),x}function Gh(t,e,n){const s=this.proxy,i=Be(t)?t.includes(".")?dd(s,t):()=>s[t]:t.bind(s,s);let r;oe(e)?r=e:(r=e.handler,n=e);const o=Mi(this),a=Ja(i,r.bind(s),n);return o(),a}function dd(t,e){const n=e.split(".");return()=>{let s=t;for(let i=0;i{Un(s,e,n)});else if(p1(t)){for(const s in t)Un(t[s],e,n);for(const s of Object.getOwnPropertySymbols(t))Object.prototype.propertyIsEnumerable.call(t,s)&&Un(t[s],e,n)}return t}const Uh=(t,e)=>e==="modelValue"||e==="model-value"?t.modelModifiers:t[`${e}Modifiers`]||t[`${wt(e)}Modifiers`]||t[`${os(e)}Modifiers`];function Kh(t,e,...n){if(t.isUnmounted)return;const s=t.vnode.props||Me;let i=n;const r=e.startsWith("update:"),o=r&&Uh(s,e.slice(7));o&&(o.trim&&(i=n.map(u=>Be(u)?u.trim():u)),o.number&&(i=n.map(vf)));let a,l=s[a=lo(e)]||s[a=lo(wt(e))];!l&&r&&(l=s[a=lo(os(e))]),l&&Rt(l,t,6,i);const c=s[a+"Once"];if(c){if(!t.emitted)t.emitted={};else if(t.emitted[a])return;t.emitted[a]=!0,Rt(c,t,6,i)}}function fd(t,e,n=!1){const s=e.emitsCache,i=s.get(t);if(i!==void 0)return i;const r=t.emits;let o={},a=!1;if(!oe(t)){const l=c=>{const u=fd(c,e,!0);u&&(a=!0,Ue(o,u))};!n&&e.mixins.length&&e.mixins.forEach(l),t.extends&&l(t.extends),t.mixins&&t.mixins.forEach(l)}return!r&&!a?(_e(t)&&s.set(t,null),null):(ie(r)?r.forEach(l=>o[l]=null):Ue(o,r),_e(t)&&s.set(t,o),o)}function Ur(t,e){return!t||!Li(e)?!1:(e=e.slice(2).replace(/Once$/,""),ge(t,e[0].toLowerCase()+e.slice(1))||ge(t,os(e))||ge(t,e))}function go(t){const{type:e,vnode:n,proxy:s,withProxy:i,propsOptions:[r],slots:o,attrs:a,emit:l,render:c,renderCache:u,props:d,data:h,setupState:p,ctx:m,inheritAttrs:v}=t,w=yr(t);let C,k;try{if(n.shapeFlag&4){const E=i||s,x=E;C=Lt(c.call(x,E,u,d,p,h,m)),k=a}else{const E=e;C=Lt(E.length>1?E(d,{attrs:a,slots:o,emit:l}):E(d,null)),k=e.props?a:Zh(a)}}catch(E){si.length=0,Oi(E,t,1),C=Ne(ct)}let y=C;if(k&&v!==!1){const E=Object.keys(k),{shapeFlag:x}=y;E.length&&x&7&&(r&&E.some(Ra)&&(k=Yh(k,r)),y=In(y,k,!1,!0))}return n.dirs&&(y=In(y,null,!1,!0),y.dirs=y.dirs?y.dirs.concat(n.dirs):n.dirs),n.transition&&(y.transition=n.transition),C=y,yr(w),C}const Zh=t=>{let e;for(const n in t)(n==="class"||n==="style"||Li(n))&&((e||(e={}))[n]=t[n]);return e},Yh=(t,e)=>{const n={};for(const s in t)(!Ra(s)||!(s.slice(9)in e))&&(n[s]=t[s]);return n};function Qh(t,e,n){const{props:s,children:i,component:r}=t,{props:o,children:a,patchFlag:l}=e,c=r.emitsOptions;if(e.dirs||e.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return s?Cc(s,o,c):!!o;if(l&8){const u=e.dynamicProps;for(let d=0;dt.__isSuspense;function hd(t,e){e&&e.pendingBranch?ie(t)?e.effects.push(...t):e.effects.push(t):oh(t)}const gt=Symbol.for("v-fgt"),es=Symbol.for("v-txt"),ct=Symbol.for("v-cmt"),ni=Symbol.for("v-stc"),si=[];let yt=null;function e6(t=!1){si.push(yt=t?null:[])}function t6(){si.pop(),yt=si[si.length-1]||null}let gi=1;function wc(t){gi+=t,t<0&&yt&&(yt.hasOnce=!0)}function pd(t){return t.dynamicChildren=gi>0?yt||ys:null,t6(),gi>0&&yt&&yt.push(t),t}function Vv(t,e,n,s,i,r){return pd(gd(t,e,n,s,i,r,!0))}function n6(t,e,n,s,i){return pd(Ne(t,e,n,s,i,!0))}function ea(t){return t?t.__v_isVNode===!0:!1}function Kn(t,e){return t.type===e.type&&t.key===e.key}const md=({key:t})=>t??null,fr=({ref:t,ref_key:e,ref_for:n})=>(typeof t=="number"&&(t=""+t),t!=null?Be(t)||Ke(t)||oe(t)?{i:It,r:t,k:e,f:!!n}:t:null);function gd(t,e=null,n=null,s=0,i=null,r=t===gt?0:1,o=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&md(e),ref:e&&fr(e),scopeId:F1,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:r,patchFlag:s,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:It};return a?(el(l,n),r&128&&t.normalize(l)):n&&(l.shapeFlag|=Be(n)?8:16),gi>0&&!o&&yt&&(l.patchFlag>0||r&6)&&l.patchFlag!==32&&yt.push(l),l}const Ne=s6;function s6(t,e=null,n=null,s=0,i=null,r=!1){if((!t||t===Ch)&&(t=ct),ea(t)){const a=In(t,e,!0);return n&&el(a,n),gi>0&&!r&&yt&&(a.shapeFlag&6?yt[yt.indexOf(t)]=a:yt.push(a)),a.patchFlag=-2,a}if(p6(t)&&(t=t.__vccOpts),e){e=i6(e);let{class:a,style:l}=e;a&&!Be(a)&&(e.class=Na(a)),_e(l)&&(I1(l)&&!ie(l)&&(l=Ue({},l)),e.style=Va(l))}const o=Be(t)?1:Jh(t)?128:Hh(t)?64:_e(t)?4:oe(t)?2:0;return gd(t,e,n,s,i,o,r,!0)}function i6(t){return t?I1(t)||ed(t)?Ue({},t):t:null}function In(t,e,n=!1,s=!1){const{props:i,ref:r,patchFlag:o,children:a,transition:l}=t,c=e?r6(i||{},e):i,u={__v_isVNode:!0,__v_skip:!0,type:t.type,props:c,key:c&&md(c),ref:e&&e.ref?n&&r?ie(r)?r.concat(fr(e)):[r,fr(e)]:fr(e):r,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:a,target:t.target,targetStart:t.targetStart,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==gt?o===-1?16:o|16:o,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:l,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&In(t.ssContent),ssFallback:t.ssFallback&&In(t.ssFallback),el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce};return l&&s&&xs(u,l.clone(u)),u}function vd(t=" ",e=0){return Ne(es,null,t,e)}function Nv(t,e){const n=Ne(ni,null,t);return n.staticCount=e,n}function jv(t="",e=!1){return e?(e6(),n6(ct,null,t)):Ne(ct,null,t)}function Lt(t){return t==null||typeof t=="boolean"?Ne(ct):ie(t)?Ne(gt,null,t.slice()):typeof t=="object"?_n(t):Ne(es,null,String(t))}function _n(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:In(t)}function el(t,e){let n=0;const{shapeFlag:s}=t;if(e==null)e=null;else if(ie(e))n=16;else if(typeof e=="object")if(s&65){const i=e.default;i&&(i._c&&(i._d=!1),el(t,i()),i._c&&(i._d=!0));return}else{n=32;const i=e._;!i&&!ed(e)?e._ctx=It:i===3&&It&&(It.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else oe(e)?(e={default:e,_ctx:It},n=32):(e=String(e),s&64?(n=16,e=[vd(e)]):n=8);t.children=e,t.shapeFlag|=n}function r6(...t){const e={};for(let n=0;nQe||It;let wr,ta;{const t=g1(),e=(n,s)=>{let i;return(i=t[n])||(i=t[n]=[]),i.push(s),r=>{i.length>1?i.forEach(o=>o(r)):i[0](r)}};wr=e("__VUE_INSTANCE_SETTERS__",n=>Qe=n),ta=e("__VUE_SSR_SETTERS__",n=>Ri=n)}const Mi=t=>{const e=Qe;return wr(t),t.scope.on(),()=>{t.scope.off(),wr(e)}},kc=()=>{Qe&&Qe.scope.off(),wr(null)};function yd(t){return t.vnode.shapeFlag&4}let Ri=!1;function c6(t,e=!1,n=!1){e&&ta(e);const{props:s,children:i}=t.vnode,r=yd(t);Ah(t,s,r,e),Mh(t,i,n);const o=r?u6(t,e):void 0;return e&&ta(!1),o}function u6(t,e){const n=t.type;t.accessCache=Object.create(null),t.proxy=new Proxy(t.ctx,kh);const{setup:s}=n;if(s){const i=t.setupContext=s.length>1?f6(t):null,r=Mi(t);Vn();const o=Pn(s,t,0,[t.props,i]);if(Nn(),r(),f1(o)){if(o.then(kc,kc),e)return o.then(a=>{Ec(t,a,e)}).catch(a=>{Oi(a,t,0)});t.asyncDep=o}else Ec(t,o,e)}else bd(t,e)}function Ec(t,e,n){oe(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:_e(e)&&(t.setupState=D1(e)),bd(t,n)}let Tc;function bd(t,e,n){const s=t.type;if(!t.render){if(!e&&Tc&&!s.render){const i=s.template||Qa(t).template;if(i){const{isCustomElement:r,compilerOptions:o}=t.appContext.config,{delimiters:a,compilerOptions:l}=s,c=Ue(Ue({isCustomElement:r,delimiters:a},o),l);s.render=Tc(i,c)}}t.render=s.render||Ot}{const i=Mi(t);Vn();try{Eh(t)}finally{Nn(),i()}}}const d6={get(t,e){return dt(t,"get",""),t[e]}};function f6(t){const e=n=>{t.exposed=n||{}};return{attrs:new Proxy(t.attrs,d6),slots:t.slots,emit:t.emit,expose:e}}function tl(t){return t.exposed?t.exposeProxy||(t.exposeProxy=new Proxy(D1(Zf(t.exposed)),{get(e,n){if(n in e)return e[n];if(n in ei)return ei[n](t)},has(e,n){return n in e||n in ei}})):t.proxy}function h6(t,e=!0){return oe(t)?t.displayName||t.name:t.name||e&&t.__name}function p6(t){return oe(t)&&"__vccOpts"in t}const S=(t,e)=>Yf(t,e,Ri);function f(t,e,n){const s=arguments.length;return s===2?_e(e)&&!ie(e)?ea(e)?Ne(t,null,[e]):Ne(t,e):Ne(t,null,e):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&ea(n)&&(n=[n]),Ne(t,e,n))}const m6="3.4.33";/** +**/function Pn(t,e,n,s){try{return s?t(...s):t()}catch(i){Oi(i,e,n)}}function Rt(t,e,n,s){if(oe(t)){const i=Pn(t,e,n,s);return i&&f1(i)&&i.catch(r=>{Oi(r,e,n)}),i}if(ie(t)){const i=[];for(let r=0;r>>1,i=et[s],r=pi(i);rJt&&et.splice(e,1)}function oh(t){ie(t)?ks.push(...t):(!Sn||!Sn.includes(t,t.allowRecurse?Gn+1:Gn))&&ks.push(t),N1()}function ac(t,e,n=hi?Jt+1:0){for(;npi(n)-pi(s));if(ks.length=0,Sn){Sn.push(...e);return}for(Sn=e,Gn=0;Gnt.id==null?1/0:t.id,ah=(t,e)=>{const n=pi(t)-pi(e);if(n===0){if(t.pre&&!e.pre)return-1;if(e.pre&&!t.pre)return 1}return n};function j1(t){Zo=!1,hi=!0,et.sort(ah);try{for(Jt=0;Jt{s._d&&wc(-1);const r=yr(e);let o;try{o=t(...i)}finally{yr(r),s._d&&wc(1)}return o};return s._n=!0,s._c=!0,s._d=!0,s}function Yt(t,e,n,s){const i=t.dirs,r=e&&e.dirs;for(let o=0;o{t.isMounted=!0}),Qa(()=>{t.isUnmounting=!0}),t}const Tt=[Function,Array],B1={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Tt,onEnter:Tt,onAfterEnter:Tt,onEnterCancelled:Tt,onBeforeLeave:Tt,onLeave:Tt,onAfterLeave:Tt,onLeaveCancelled:Tt,onBeforeAppear:Tt,onAppear:Tt,onAfterAppear:Tt,onAppearCancelled:Tt},z1=t=>{const e=t.subTree;return e.component?z1(e.component):e},ch={name:"BaseTransition",props:B1,setup(t,{slots:e}){const n=Vs(),s=q1();return()=>{const i=e.default&&Za(e.default(),!0);if(!i||!i.length)return;let r=i[0];if(i.length>1){for(const h of i)if(h.type!==ct){r=h;break}}const o=ve(t),{mode:a}=o;if(s.isLeaving)return fo(r);const l=lc(r);if(!l)return fo(r);let c=mi(l,o,s,n,h=>c=h);xs(l,c);const u=n.subTree,d=u&&lc(u);if(d&&d.type!==ct&&!Kn(l,d)&&z1(n).type!==ct){const h=mi(d,o,s,n);if(xs(d,h),a==="out-in"&&l.type!==ct)return s.isLeaving=!0,h.afterLeave=()=>{s.isLeaving=!1,n.update.active!==!1&&(n.effect.dirty=!0,n.update())},fo(r);a==="in-out"&&l.type!==ct&&(h.delayLeave=(p,m,v)=>{const w=W1(s,d);w[String(d.key)]=d,p[$n]=()=>{m(),p[$n]=void 0,delete c.delayedLeave},c.delayedLeave=v})}return r}}},uh=ch;function W1(t,e){const{leavingVNodes:n}=t;let s=n.get(e.type);return s||(s=Object.create(null),n.set(e.type,s)),s}function mi(t,e,n,s,i){const{appear:r,mode:o,persisted:a=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:u,onEnterCancelled:d,onBeforeLeave:h,onLeave:p,onAfterLeave:m,onLeaveCancelled:v,onBeforeAppear:w,onAppear:C,onAfterAppear:k,onAppearCancelled:y}=e,E=String(t.key),x=W1(n,t),P=(D,L)=>{D&&Rt(D,s,9,L)},A=(D,L)=>{const N=L[1];P(D,L),ie(D)?D.every(I=>I.length<=1)&&N():D.length<=1&&N()},F={mode:o,persisted:a,beforeEnter(D){let L=l;if(!n.isMounted)if(r)L=w||l;else return;D[$n]&&D[$n](!0);const N=x[E];N&&Kn(t,N)&&N.el[$n]&&N.el[$n](),P(L,[D])},enter(D){let L=c,N=u,I=d;if(!n.isMounted)if(r)L=C||c,N=k||u,I=y||d;else return;let Z=!1;const J=D[Yi]=ae=>{Z||(Z=!0,ae?P(I,[D]):P(N,[D]),F.delayedLeave&&F.delayedLeave(),D[Yi]=void 0)};L?A(L,[D,J]):J()},leave(D,L){const N=String(t.key);if(D[Yi]&&D[Yi](!0),n.isUnmounting)return L();P(h,[D]);let I=!1;const Z=D[$n]=J=>{I||(I=!0,L(),J?P(v,[D]):P(m,[D]),D[$n]=void 0,x[N]===t&&delete x[N])};x[N]=t,p?A(p,[D,Z]):Z()},clone(D){const L=mi(D,e,n,s,i);return i&&i(L),L}};return F}function fo(t){if(Ii(t))return t=In(t),t.children=null,t}function lc(t){if(!Ii(t))return t;const{shapeFlag:e,children:n}=t;if(n){if(e&16)return n[0];if(e&32&&oe(n.default))return n.default()}}function xs(t,e){t.shapeFlag&6&&t.component?xs(t.component.subTree,e):t.shapeFlag&128?(t.ssContent.transition=e.clone(t.ssContent),t.ssFallback.transition=e.clone(t.ssFallback)):t.transition=e}function Za(t,e=!1,n){let s=[],i=0;for(let r=0;r1)for(let r=0;r!!t.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function G1(t){oe(t)&&(t={loader:t});const{loader:e,loadingComponent:n,errorComponent:s,delay:i=200,timeout:r,suspensible:o=!0,onError:a}=t;let l=null,c,u=0;const d=()=>(u++,l=null,h()),h=()=>{let p;return l||(p=l=e().catch(m=>{if(m=m instanceof Error?m:new Error(String(m)),a)return new Promise((v,w)=>{a(m,()=>v(d()),()=>w(m),u+1)});throw m}).then(m=>p!==l&&l?l:(m&&(m.__esModule||m[Symbol.toStringTag]==="Module")&&(m=m.default),c=m,m)))};return K({name:"AsyncComponentWrapper",__asyncLoader:h,get __asyncResolved(){return c},setup(){const p=Ye;if(c)return()=>ho(c,p);const m=k=>{l=null,Oi(k,p,13,!s)};if(o&&p.suspense||Ri)return h().then(k=>()=>ho(k,p)).catch(k=>(m(k),()=>s?Ne(s,{error:k}):null));const v=Y(!1),w=Y(),C=Y(!!i);return i&&setTimeout(()=>{C.value=!1},i),r!=null&&setTimeout(()=>{if(!v.value&&!w.value){const k=new Error(`Async component timed out after ${r}ms.`);m(k),w.value=k}},r),h().then(()=>{v.value=!0,p.parent&&Ii(p.parent.vnode)&&(p.parent.effect.dirty=!0,Wr(p.parent.update))}).catch(k=>{m(k),w.value=k}),()=>{if(v.value&&c)return ho(c,p);if(w.value&&s)return Ne(s,{error:w.value});if(n&&!C.value)return Ne(n)}}})}function ho(t,e){const{ref:n,props:s,children:i,ce:r}=e.vnode,o=Ne(t,s,i);return o.ref=n,o.ce=r,delete e.vnode.ce,o}const Ii=t=>t.type.__isKeepAlive;function dh(t,e){U1(t,"a",e)}function fh(t,e){U1(t,"da",e)}function U1(t,e,n=Ye){const s=t.__wdc||(t.__wdc=()=>{let i=n;for(;i;){if(i.isDeactivated)return;i=i.parent}return t()});if(Gr(e,s,n),n){let i=n.parent;for(;i&&i.parent;)Ii(i.parent.vnode)&&hh(s,e,n,i),i=i.parent}}function hh(t,e,n,s){const i=Gr(e,t,s,!0);jn(()=>{Da(s[e],i)},n)}function Gr(t,e,n=Ye,s=!1){if(n){const i=n[t]||(n[t]=[]),r=e.__weh||(e.__weh=(...o)=>{Vn();const a=Mi(n),l=Rt(e,n,t,o);return a(),Nn(),l});return s?i.unshift(r):i.push(r),r}}const mn=t=>(e,n=Ye)=>{(!Ri||t==="sp")&&Gr(t,(...s)=>e(...s),n)},ph=mn("bm"),we=mn("m"),mh=mn("bu"),K1=mn("u"),Qa=mn("bum"),jn=mn("um"),gh=mn("sp"),vh=mn("rtg"),yh=mn("rtc");function bh(t,e=Ye){Gr("ec",t,e)}const Z1="components";function qt(t,e){return wh(Z1,t,!0,e)||t}const Ch=Symbol.for("v-ndc");function wh(t,e,n=!0,s=!1){const i=It||Ye;if(i){const r=i.type;if(t===Z1){const a=h6(r,!1);if(a&&(a===e||a===wt(e)||a===xi(wt(e))))return r}const o=cc(i[t]||r[t],e)||cc(i.appContext[t],e);return!o&&s?r:o}}function cc(t,e){return t&&(t[e]||t[wt(e)]||t[xi(wt(e))])}function Hv(t,e,n,s){let i;const r=n;if(ie(t)||Be(t)){i=new Array(t.length);for(let o=0,a=t.length;oe(o,a,void 0,r));else{const o=Object.keys(t);i=new Array(o.length);for(let a=0,l=o.length;at?yd(t)?tl(t):Qo(t.parent):null,ei=Ue(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>t.props,$attrs:t=>t.attrs,$slots:t=>t.slots,$refs:t=>t.refs,$parent:t=>Qo(t.parent),$root:t=>Qo(t.root),$emit:t=>t.emit,$options:t=>Ya(t),$forceUpdate:t=>t.f||(t.f=()=>{t.effect.dirty=!0,Wr(t.update)}),$nextTick:t=>t.n||(t.n=an.bind(t.proxy)),$watch:t=>Gh.bind(t)}),po=(t,e)=>t!==Me&&!t.__isScriptSetup&&ge(t,e),kh={get({_:t},e){if(e==="__v_skip")return!0;const{ctx:n,setupState:s,data:i,props:r,accessCache:o,type:a,appContext:l}=t;let c;if(e[0]!=="$"){const p=o[e];if(p!==void 0)switch(p){case 1:return s[e];case 2:return i[e];case 4:return n[e];case 3:return r[e]}else{if(po(s,e))return o[e]=1,s[e];if(i!==Me&&ge(i,e))return o[e]=2,i[e];if((c=t.propsOptions[0])&&ge(c,e))return o[e]=3,r[e];if(n!==Me&&ge(n,e))return o[e]=4,n[e];Yo&&(o[e]=0)}}const u=ei[e];let d,h;if(u)return e==="$attrs"&&dt(t.attrs,"get",""),u(t);if((d=a.__cssModules)&&(d=d[e]))return d;if(n!==Me&&ge(n,e))return o[e]=4,n[e];if(h=l.config.globalProperties,ge(h,e))return h[e]},set({_:t},e,n){const{data:s,setupState:i,ctx:r}=t;return po(i,e)?(i[e]=n,!0):s!==Me&&ge(s,e)?(s[e]=n,!0):ge(t.props,e)||e[0]==="$"&&e.slice(1)in t?!1:(r[e]=n,!0)},has({_:{data:t,setupState:e,accessCache:n,ctx:s,appContext:i,propsOptions:r}},o){let a;return!!n[o]||t!==Me&&ge(t,o)||po(e,o)||(a=r[0])&&ge(a,o)||ge(s,o)||ge(ei,o)||ge(i.config.globalProperties,o)},defineProperty(t,e,n){return n.get!=null?t._.accessCache[e]=0:ge(n,"value")&&this.set(t,e,n.value,null),Reflect.defineProperty(t,e,n)}};function uc(t){return ie(t)?t.reduce((e,n)=>(e[n]=null,e),{}):t}let Yo=!0;function Eh(t){const e=Ya(t),n=t.proxy,s=t.ctx;Yo=!1,e.beforeCreate&&dc(e.beforeCreate,t,"bc");const{data:i,computed:r,methods:o,watch:a,provide:l,inject:c,created:u,beforeMount:d,mounted:h,beforeUpdate:p,updated:m,activated:v,deactivated:w,beforeDestroy:C,beforeUnmount:k,destroyed:y,unmounted:E,render:x,renderTracked:P,renderTriggered:A,errorCaptured:F,serverPrefetch:D,expose:L,inheritAttrs:N,components:I,directives:Z,filters:J}=e;if(c&&Th(c,s,null),o)for(const j in o){const V=o[j];oe(V)&&(s[j]=V.bind(n))}if(i){const j=i.call(n,n);_e(j)&&(t.data=Ai(j))}if(Yo=!0,r)for(const j in r){const V=r[j],ue=oe(V)?V.bind(n,n):oe(V.get)?V.get.bind(n,n):Ot,Re=!oe(V)&&oe(V.set)?V.set.bind(n):Ot,ze=S({get:ue,set:Re});Object.defineProperty(s,j,{enumerable:!0,configurable:!0,get:()=>ze.value,set:De=>ze.value=De})}if(a)for(const j in a)Q1(a[j],s,n,j);if(l){const j=oe(l)?l.call(n):l;Reflect.ownKeys(j).forEach(V=>{Jn(V,j[V])})}u&&dc(u,t,"c");function q(j,V){ie(V)?V.forEach(ue=>j(ue.bind(n))):V&&j(V.bind(n))}if(q(ph,d),q(we,h),q(mh,p),q(K1,m),q(dh,v),q(fh,w),q(bh,F),q(yh,P),q(vh,A),q(Qa,k),q(jn,E),q(gh,D),ie(L))if(L.length){const j=t.exposed||(t.exposed={});L.forEach(V=>{Object.defineProperty(j,V,{get:()=>n[V],set:ue=>n[V]=ue})})}else t.exposed||(t.exposed={});x&&t.render===Ot&&(t.render=x),N!=null&&(t.inheritAttrs=N),I&&(t.components=I),Z&&(t.directives=Z)}function Th(t,e,n=Ot){ie(t)&&(t=Xo(t));for(const s in t){const i=t[s];let r;_e(i)?"default"in i?r=je(i.from||s,i.default,!0):r=je(i.from||s):r=je(i),Ke(r)?Object.defineProperty(e,s,{enumerable:!0,configurable:!0,get:()=>r.value,set:o=>r.value=o}):e[s]=r}}function dc(t,e,n){Rt(ie(t)?t.map(s=>s.bind(e.proxy)):t.bind(e.proxy),e,n)}function Q1(t,e,n,s){const i=s.includes(".")?dd(n,s):()=>n[s];if(Be(t)){const r=e[t];oe(r)&&he(i,r)}else if(oe(t))he(i,t.bind(n));else if(_e(t))if(ie(t))t.forEach(r=>Q1(r,e,n,s));else{const r=oe(t.handler)?t.handler.bind(n):e[t.handler];oe(r)&&he(i,r,t)}}function Ya(t){const e=t.type,{mixins:n,extends:s}=e,{mixins:i,optionsCache:r,config:{optionMergeStrategies:o}}=t.appContext,a=r.get(e);let l;return a?l=a:!i.length&&!n&&!s?l=e:(l={},i.length&&i.forEach(c=>br(l,c,o,!0)),br(l,e,o)),_e(e)&&r.set(e,l),l}function br(t,e,n,s=!1){const{mixins:i,extends:r}=e;r&&br(t,r,n,!0),i&&i.forEach(o=>br(t,o,n,!0));for(const o in e)if(!(s&&o==="expose")){const a=Sh[o]||n&&n[o];t[o]=a?a(t[o],e[o]):e[o]}return t}const Sh={data:fc,props:hc,emits:hc,methods:Qs,computed:Qs,beforeCreate:it,created:it,beforeMount:it,mounted:it,beforeUpdate:it,updated:it,beforeDestroy:it,beforeUnmount:it,destroyed:it,unmounted:it,activated:it,deactivated:it,errorCaptured:it,serverPrefetch:it,components:Qs,directives:Qs,watch:_h,provide:fc,inject:$h};function fc(t,e){return e?t?function(){return Ue(oe(t)?t.call(this,this):t,oe(e)?e.call(this,this):e)}:e:t}function $h(t,e){return Qs(Xo(t),Xo(e))}function Xo(t){if(ie(t)){const e={};for(let n=0;n1)return n&&oe(e)?e.call(s&&s.proxy):e}}const X1={},J1=()=>Object.create(X1),ed=t=>Object.getPrototypeOf(t)===X1;function Ah(t,e,n,s=!1){const i={},r=J1();t.propsDefaults=Object.create(null),td(t,e,i,r);for(const o in t.propsOptions[0])o in i||(i[o]=void 0);n?t.props=s?i:O1(i):t.type.props?t.props=i:t.props=r,t.attrs=r}function Ph(t,e,n,s){const{props:i,attrs:r,vnode:{patchFlag:o}}=t,a=ve(i),[l]=t.propsOptions;let c=!1;if((s||o>0)&&!(o&16)){if(o&8){const u=t.vnode.dynamicProps;for(let d=0;d{l=!0;const[h,p]=nd(d,e,!0);Ue(o,h),p&&a.push(...p)};!n&&e.mixins.length&&e.mixins.forEach(u),t.extends&&u(t.extends),t.mixins&&t.mixins.forEach(u)}if(!r&&!l)return _e(t)&&s.set(t,ys),ys;if(ie(r))for(let u=0;u-1,p[1]=v<0||m-1||ge(p,"default"))&&a.push(d)}}}const c=[o,a];return _e(t)&&s.set(t,c),c}function pc(t){return t[0]!=="$"&&!Cs(t)}function mc(t){return t===null?"null":typeof t=="function"?t.name||"":typeof t=="object"&&t.constructor&&t.constructor.name||""}function gc(t,e){return mc(t)===mc(e)}function vc(t,e){return ie(e)?e.findIndex(n=>gc(n,t)):oe(e)&&gc(e,t)?0:-1}const sd=t=>t[0]==="_"||t==="$stable",Xa=t=>ie(t)?t.map(Lt):[Lt(t)],Ih=(t,e,n)=>{if(e._n)return e;const s=lh((...i)=>Xa(e(...i)),n);return s._c=!1,s},id=(t,e,n)=>{const s=t._ctx;for(const i in t){if(sd(i))continue;const r=t[i];if(oe(r))e[i]=Ih(i,r,s);else if(r!=null){const o=Xa(r);e[i]=()=>o}}},rd=(t,e)=>{const n=Xa(e);t.slots.default=()=>n},od=(t,e,n)=>{for(const s in e)(n||s!=="_")&&(t[s]=e[s])},Mh=(t,e,n)=>{const s=t.slots=J1();if(t.vnode.shapeFlag&32){const i=e._;i?(od(s,e,n),n&&m1(s,"_",i,!0)):id(e,s)}else e&&rd(t,e)},Rh=(t,e,n)=>{const{vnode:s,slots:i}=t;let r=!0,o=Me;if(s.shapeFlag&32){const a=e._;a?n&&a===1?r=!1:od(i,e,n):(r=!e.$stable,id(e,i)),o=e}else e&&(rd(t,e),o={default:1});if(r)for(const a in i)!sd(a)&&o[a]==null&&delete i[a]};function Cr(t,e,n,s,i=!1){if(ie(t)){t.forEach((h,p)=>Cr(h,e&&(ie(e)?e[p]:e),n,s,i));return}if(Js(s)&&!i)return;const r=s.shapeFlag&4?tl(s.component):s.el,o=i?null:r,{i:a,r:l}=t,c=e&&e.r,u=a.refs===Me?a.refs={}:a.refs,d=a.setupState;if(c!=null&&c!==l&&(Be(c)?(u[c]=null,ge(d,c)&&(d[c]=null)):Ke(c)&&(c.value=null)),oe(l))Pn(l,a,12,[o,u]);else{const h=Be(l),p=Ke(l);if(h||p){const m=()=>{if(t.f){const v=h?ge(d,l)?d[l]:u[l]:l.value;i?ie(v)&&Da(v,r):ie(v)?v.includes(r)||v.push(r):h?(u[l]=[r],ge(d,l)&&(d[l]=u[l])):(l.value=[r],t.k&&(u[t.k]=l.value))}else h?(u[l]=o,ge(d,l)&&(d[l]=o)):p&&(l.value=o,t.k&&(u[t.k]=o))};o?(m.id=-1,at(m,n)):m()}}}const Dh=Symbol("_vte"),Hh=t=>t.__isTeleport;let yc=!1;const fs=()=>{yc||(console.error("Hydration completed but contains mismatches."),yc=!0)},Vh=t=>t.namespaceURI.includes("svg")&&t.tagName!=="foreignObject",Nh=t=>t.namespaceURI.includes("MathML"),Xi=t=>{if(Vh(t))return"svg";if(Nh(t))return"mathml"},Ji=t=>t.nodeType===8;function jh(t){const{mt:e,p:n,o:{patchProp:s,createText:i,nextSibling:r,parentNode:o,remove:a,insert:l,createComment:c}}=t,u=(y,E)=>{if(!E.hasChildNodes()){n(null,y,E),vr(),E._vnode=y;return}d(E.firstChild,y,null,null,null),vr(),E._vnode=y},d=(y,E,x,P,A,F=!1)=>{F=F||!!E.dynamicChildren;const D=Ji(y)&&y.data==="[",L=()=>v(y,E,x,P,A,D),{type:N,ref:I,shapeFlag:Z,patchFlag:J}=E;let ae=y.nodeType;E.el=y,J===-2&&(F=!1,E.dynamicChildren=null);let q=null;switch(N){case es:ae!==3?E.children===""?(l(E.el=i(""),o(y),y),q=y):q=L():(y.data!==E.children&&(fs(),y.data=E.children),q=r(y));break;case ct:k(y)?(q=r(y),C(E.el=y.content.firstChild,y,x)):ae!==8||D?q=L():q=r(y);break;case ni:if(D&&(y=r(y),ae=y.nodeType),ae===1||ae===3){q=y;const j=!E.children.length;for(let V=0;V{F=F||!!E.dynamicChildren;const{type:D,props:L,patchFlag:N,shapeFlag:I,dirs:Z,transition:J}=E,ae=D==="input"||D==="option";if(ae||N!==-1){Z&&Yt(E,null,x,"created");let q=!1;if(k(y)){q=ad(P,J)&&x&&x.vnode.props&&x.vnode.props.appear;const V=y.content.firstChild;q&&J.beforeEnter(V),C(V,y,x),E.el=y=V}if(I&16&&!(L&&(L.innerHTML||L.textContent))){let V=p(y.firstChild,E,y,x,P,A,F);for(;V;){fs();const ue=V;V=V.nextSibling,a(ue)}}else I&8&&y.textContent!==E.children&&(fs(),y.textContent=E.children);if(L){if(ae||!F||N&48)for(const V in L)(ae&&(V.endsWith("value")||V==="indeterminate")||Li(V)&&!Cs(V)||V[0]===".")&&s(y,V,null,L[V],void 0,x);else if(L.onClick)s(y,"onClick",null,L.onClick,void 0,x);else if(N&4&&ws(L.style))for(const V in L.style)L.style[V]}let j;(j=L&&L.onVnodeBeforeMount)&&$t(j,x,E),Z&&Yt(E,null,x,"beforeMount"),((j=L&&L.onVnodeMounted)||Z||q)&&hd(()=>{j&&$t(j,x,E),q&&J.enter(y),Z&&Yt(E,null,x,"mounted")},P)}return y.nextSibling},p=(y,E,x,P,A,F,D)=>{D=D||!!E.dynamicChildren;const L=E.children,N=L.length;for(let I=0;I{const{slotScopeIds:D}=E;D&&(A=A?A.concat(D):D);const L=o(y),N=p(r(y),E,L,x,P,A,F);return N&&Ji(N)&&N.data==="]"?r(E.anchor=N):(fs(),l(E.anchor=c("]"),L,N),N)},v=(y,E,x,P,A,F)=>{if(fs(),E.el=null,F){const N=w(y);for(;;){const I=r(y);if(I&&I!==N)a(I);else break}}const D=r(y),L=o(y);return a(y),n(null,E,L,D,x,P,Xi(L),A),D},w=(y,E="[",x="]")=>{let P=0;for(;y;)if(y=r(y),y&&Ji(y)&&(y.data===E&&P++,y.data===x)){if(P===0)return r(y);P--}return y},C=(y,E,x)=>{const P=E.parentNode;P&&P.replaceChild(y,E);let A=x;for(;A;)A.vnode.el===E&&(A.vnode.el=A.subTree.el=y),A=A.parent},k=y=>y.nodeType===1&&y.tagName.toLowerCase()==="template";return[u,d]}const at=hd;function Fh(t){return qh(t,jh)}function qh(t,e){const n=g1();n.__VUE__=!0;const{insert:s,remove:i,patchProp:r,createElement:o,createText:a,createComment:l,setText:c,setElementText:u,parentNode:d,nextSibling:h,setScopeId:p=Ot,insertStaticContent:m}=t,v=(g,b,T,O=null,_=null,R=null,G=void 0,B=null,z=!!b.dynamicChildren)=>{if(g===b)return;g&&!Kn(g,b)&&(O=$(g),De(g,_,R,!0),g=null),b.patchFlag===-2&&(z=!1,b.dynamicChildren=null);const{type:M,ref:Q,shapeFlag:ee}=b;switch(M){case es:w(g,b,T,O);break;case ct:C(g,b,T,O);break;case ni:g==null&&k(b,T,O,G);break;case gt:I(g,b,T,O,_,R,G,B,z);break;default:ee&1?x(g,b,T,O,_,R,G,B,z):ee&6?Z(g,b,T,O,_,R,G,B,z):(ee&64||ee&128)&&M.process(g,b,T,O,_,R,G,B,z,U)}Q!=null&&_&&Cr(Q,g&&g.ref,R,b||g,!b)},w=(g,b,T,O)=>{if(g==null)s(b.el=a(b.children),T,O);else{const _=b.el=g.el;b.children!==g.children&&c(_,b.children)}},C=(g,b,T,O)=>{g==null?s(b.el=l(b.children||""),T,O):b.el=g.el},k=(g,b,T,O)=>{[g.el,g.anchor]=m(g.children,b,T,O,g.el,g.anchor)},y=({el:g,anchor:b},T,O)=>{let _;for(;g&&g!==b;)_=h(g),s(g,T,O),g=_;s(b,T,O)},E=({el:g,anchor:b})=>{let T;for(;g&&g!==b;)T=h(g),i(g),g=T;i(b)},x=(g,b,T,O,_,R,G,B,z)=>{b.type==="svg"?G="svg":b.type==="math"&&(G="mathml"),g==null?P(b,T,O,_,R,G,B,z):D(g,b,_,R,G,B,z)},P=(g,b,T,O,_,R,G,B)=>{let z,M;const{props:Q,shapeFlag:ee,transition:X,dirs:re}=g;if(z=g.el=o(g.type,R,Q&&Q.is,Q),ee&8?u(z,g.children):ee&16&&F(g.children,z,null,O,_,mo(g,R),G,B),re&&Yt(g,null,O,"created"),A(z,g,g.scopeId,G,O),Q){for(const xe in Q)xe!=="value"&&!Cs(xe)&&r(z,xe,null,Q[xe],R,O);"value"in Q&&r(z,"value",null,Q.value,R),(M=Q.onVnodeBeforeMount)&&$t(M,O,g)}re&&Yt(g,null,O,"beforeMount");const de=ad(_,X);de&&X.beforeEnter(z),s(z,b,T),((M=Q&&Q.onVnodeMounted)||de||re)&&at(()=>{M&&$t(M,O,g),de&&X.enter(z),re&&Yt(g,null,O,"mounted")},_)},A=(g,b,T,O,_)=>{if(T&&p(g,T),O)for(let R=0;R{for(let M=z;M{const B=b.el=g.el;let{patchFlag:z,dynamicChildren:M,dirs:Q}=b;z|=g.patchFlag&16;const ee=g.props||Me,X=b.props||Me;let re;if(T&&Bn(T,!1),(re=X.onVnodeBeforeUpdate)&&$t(re,T,b,g),Q&&Yt(b,g,T,"beforeUpdate"),T&&Bn(T,!0),(ee.innerHTML&&X.innerHTML==null||ee.textContent&&X.textContent==null)&&u(B,""),M?L(g.dynamicChildren,M,B,T,O,mo(b,_),R):G||V(g,b,B,null,T,O,mo(b,_),R,!1),z>0){if(z&16)N(B,ee,X,T,_);else if(z&2&&ee.class!==X.class&&r(B,"class",null,X.class,_),z&4&&r(B,"style",ee.style,X.style,_),z&8){const de=b.dynamicProps;for(let xe=0;xe{re&&$t(re,T,b,g),Q&&Yt(b,g,T,"updated")},O)},L=(g,b,T,O,_,R,G)=>{for(let B=0;B{if(b!==T){if(b!==Me)for(const R in b)!Cs(R)&&!(R in T)&&r(g,R,b[R],null,_,O);for(const R in T){if(Cs(R))continue;const G=T[R],B=b[R];G!==B&&R!=="value"&&r(g,R,B,G,_,O)}"value"in T&&r(g,"value",b.value,T.value,_)}},I=(g,b,T,O,_,R,G,B,z)=>{const M=b.el=g?g.el:a(""),Q=b.anchor=g?g.anchor:a("");let{patchFlag:ee,dynamicChildren:X,slotScopeIds:re}=b;re&&(B=B?B.concat(re):re),g==null?(s(M,T,O),s(Q,T,O),F(b.children||[],T,Q,_,R,G,B,z)):ee>0&&ee&64&&X&&g.dynamicChildren?(L(g.dynamicChildren,X,T,_,R,G,B),(b.key!=null||_&&b===_.subTree)&&ld(g,b,!0)):V(g,b,T,Q,_,R,G,B,z)},Z=(g,b,T,O,_,R,G,B,z)=>{b.slotScopeIds=B,g==null?b.shapeFlag&512?_.ctx.activate(b,T,O,G,z):J(b,T,O,_,R,G,z):ae(g,b,z)},J=(g,b,T,O,_,R,G)=>{const B=g.component=l6(g,O,_);if(Ii(g)&&(B.ctx.renderer=U),c6(B,!1,G),B.asyncDep){if(_&&_.registerDep(B,q,G),!g.el){const z=B.subTree=Ne(ct);C(null,z,b,T)}}else q(B,g,b,T,_,R,G)},ae=(g,b,T)=>{const O=b.component=g.component;if(Yh(g,b,T))if(O.asyncDep&&!O.asyncResolved){j(O,b,T);return}else O.next=b,rh(O.update),O.effect.dirty=!0,O.update();else b.el=g.el,O.vnode=b},q=(g,b,T,O,_,R,G)=>{const B=()=>{if(g.isMounted){let{next:Q,bu:ee,u:X,parent:re,vnode:de}=g;{const ds=cd(g);if(ds){Q&&(Q.el=de.el,j(g,Q,G)),ds.asyncDep.then(()=>{g.isUnmounted||B()});return}}let xe=Q,Ce;Bn(g,!1),Q?(Q.el=de.el,j(g,Q,G)):Q=de,ee&&co(ee),(Ce=Q.props&&Q.props.onVnodeBeforeUpdate)&&$t(Ce,re,Q,de),Bn(g,!0);const Qe=go(g),Ht=g.subTree;g.subTree=Qe,v(Ht,Qe,d(Ht.el),$(Ht),g,_,R),Q.el=Qe.el,xe===null&&Xh(g,Qe.el),X&&at(X,_),(Ce=Q.props&&Q.props.onVnodeUpdated)&&at(()=>$t(Ce,re,Q,de),_)}else{let Q;const{el:ee,props:X}=b,{bm:re,m:de,parent:xe}=g,Ce=Js(b);if(Bn(g,!1),re&&co(re),!Ce&&(Q=X&&X.onVnodeBeforeMount)&&$t(Q,xe,b),Bn(g,!0),ee&&ye){const Qe=()=>{g.subTree=go(g),ye(ee,g.subTree,g,_,null)};Ce?b.type.__asyncLoader().then(()=>!g.isUnmounted&&Qe()):Qe()}else{const Qe=g.subTree=go(g);v(null,Qe,T,O,g,_,R),b.el=Qe.el}if(de&&at(de,_),!Ce&&(Q=X&&X.onVnodeMounted)){const Qe=b;at(()=>$t(Q,xe,Qe),_)}(b.shapeFlag&256||xe&&Js(xe.vnode)&&xe.vnode.shapeFlag&256)&&g.a&&at(g.a,_),g.isMounted=!0,b=T=O=null}},z=g.effect=new ja(B,Ot,()=>Wr(M),g.scope),M=g.update=()=>{z.dirty&&z.run()};M.i=g,M.id=g.uid,Bn(g,!0),M()},j=(g,b,T)=>{b.component=g;const O=g.vnode.props;g.vnode=b,g.next=null,Ph(g,b.props,O,T),Rh(g,b.children,T),Vn(),ac(g),Nn()},V=(g,b,T,O,_,R,G,B,z=!1)=>{const M=g&&g.children,Q=g?g.shapeFlag:0,ee=b.children,{patchFlag:X,shapeFlag:re}=b;if(X>0){if(X&128){Re(M,ee,T,O,_,R,G,B,z);return}else if(X&256){ue(M,ee,T,O,_,R,G,B,z);return}}re&8?(Q&16&&He(M,_,R),ee!==M&&u(T,ee)):Q&16?re&16?Re(M,ee,T,O,_,R,G,B,z):He(M,_,R,!0):(Q&8&&u(T,""),re&16&&F(ee,T,O,_,R,G,B,z))},ue=(g,b,T,O,_,R,G,B,z)=>{g=g||ys,b=b||ys;const M=g.length,Q=b.length,ee=Math.min(M,Q);let X;for(X=0;XQ?He(g,_,R,!0,!1,ee):F(b,T,O,_,R,G,B,z,ee)},Re=(g,b,T,O,_,R,G,B,z)=>{let M=0;const Q=b.length;let ee=g.length-1,X=Q-1;for(;M<=ee&&M<=X;){const re=g[M],de=b[M]=z?_n(b[M]):Lt(b[M]);if(Kn(re,de))v(re,de,T,null,_,R,G,B,z);else break;M++}for(;M<=ee&&M<=X;){const re=g[ee],de=b[X]=z?_n(b[X]):Lt(b[X]);if(Kn(re,de))v(re,de,T,null,_,R,G,B,z);else break;ee--,X--}if(M>ee){if(M<=X){const re=X+1,de=reX)for(;M<=ee;)De(g[M],_,R,!0),M++;else{const re=M,de=M,xe=new Map;for(M=de;M<=X;M++){const ft=b[M]=z?_n(b[M]):Lt(b[M]);ft.key!=null&&xe.set(ft.key,M)}let Ce,Qe=0;const Ht=X-de+1;let ds=!1,Ql=0;const Ws=new Array(Ht);for(M=0;M=Ht){De(ft,_,R,!0);continue}let Qt;if(ft.key!=null)Qt=xe.get(ft.key);else for(Ce=de;Ce<=X;Ce++)if(Ws[Ce-de]===0&&Kn(ft,b[Ce])){Qt=Ce;break}Qt===void 0?De(ft,_,R,!0):(Ws[Qt-de]=M+1,Qt>=Ql?Ql=Qt:ds=!0,v(ft,b[Qt],T,null,_,R,G,B,z),Qe++)}const Yl=ds?Bh(Ws):ys;for(Ce=Yl.length-1,M=Ht-1;M>=0;M--){const ft=de+M,Qt=b[ft],Xl=ft+1{const{el:R,type:G,transition:B,children:z,shapeFlag:M}=g;if(M&6){ze(g.component.subTree,b,T,O);return}if(M&128){g.suspense.move(b,T,O);return}if(M&64){G.move(g,b,T,U);return}if(G===gt){s(R,b,T);for(let ee=0;eeB.enter(R),_);else{const{leave:ee,delayLeave:X,afterLeave:re}=B,de=()=>s(R,b,T),xe=()=>{ee(R,()=>{de(),re&&re()})};X?X(R,de,xe):xe()}else s(R,b,T)},De=(g,b,T,O=!1,_=!1)=>{const{type:R,props:G,ref:B,children:z,dynamicChildren:M,shapeFlag:Q,patchFlag:ee,dirs:X,cacheIndex:re}=g;if(ee===-2&&(_=!1),B!=null&&Cr(B,null,T,g,!0),re!=null&&(b.renderCache[re]=void 0),Q&256){b.ctx.deactivate(g);return}const de=Q&1&&X,xe=!Js(g);let Ce;if(xe&&(Ce=G&&G.onVnodeBeforeUnmount)&&$t(Ce,b,g),Q&6)st(g.component,T,O);else{if(Q&128){g.suspense.unmount(T,O);return}de&&Yt(g,null,b,"beforeUnmount"),Q&64?g.type.remove(g,b,T,U,O):M&&!M.hasOnce&&(R!==gt||ee>0&&ee&64)?He(M,b,T,!1,!0):(R===gt&&ee&384||!_&&Q&16)&&He(z,b,T),O&&Ze(g)}(xe&&(Ce=G&&G.onVnodeUnmounted)||de)&&at(()=>{Ce&&$t(Ce,b,g),de&&Yt(g,null,b,"unmounted")},T)},Ze=g=>{const{type:b,el:T,anchor:O,transition:_}=g;if(b===gt){ot(T,O);return}if(b===ni){E(g);return}const R=()=>{i(T),_&&!_.persisted&&_.afterLeave&&_.afterLeave()};if(g.shapeFlag&1&&_&&!_.persisted){const{leave:G,delayLeave:B}=_,z=()=>G(T,R);B?B(g.el,R,z):z()}else R()},ot=(g,b)=>{let T;for(;g!==b;)T=h(g),i(g),g=T;i(b)},st=(g,b,T)=>{const{bum:O,scope:_,update:R,subTree:G,um:B,m:z,a:M}=g;bc(z),bc(M),O&&co(O),_.stop(),R&&(R.active=!1,De(G,g,b,T)),B&&at(B,b),at(()=>{g.isUnmounted=!0},b),b&&b.pendingBranch&&!b.isUnmounted&&g.asyncDep&&!g.asyncResolved&&g.suspenseId===b.pendingId&&(b.deps--,b.deps===0&&b.resolve())},He=(g,b,T,O=!1,_=!1,R=0)=>{for(let G=R;G{if(g.shapeFlag&6)return $(g.component.subTree);if(g.shapeFlag&128)return g.suspense.next();const b=h(g.anchor||g.el),T=b&&b[Dh];return T?h(T):b};let W=!1;const H=(g,b,T)=>{g==null?b._vnode&&De(b._vnode,null,null,!0):v(b._vnode||null,g,b,null,null,null,T),W||(W=!0,ac(),vr(),W=!1),b._vnode=g},U={p:v,um:De,m:ze,r:Ze,mt:J,mc:F,pc:V,pbc:L,n:$,o:t};let le,ye;return e&&([le,ye]=e(U)),{render:H,hydrate:le,createApp:xh(H,le)}}function mo({type:t,props:e},n){return n==="svg"&&t==="foreignObject"||n==="mathml"&&t==="annotation-xml"&&e&&e.encoding&&e.encoding.includes("html")?void 0:n}function Bn({effect:t,update:e},n){t.allowRecurse=e.allowRecurse=n}function ad(t,e){return(!t||t&&!t.pendingBranch)&&e&&!e.persisted}function ld(t,e,n=!1){const s=t.children,i=e.children;if(ie(s)&&ie(i))for(let r=0;r>1,t[n[a]]0&&(e[s]=n[r-1]),n[r]=s)}}for(r=n.length,o=n[r-1];r-- >0;)n[r]=o,o=e[o];return n}function cd(t){const e=t.subTree.component;if(e)return e.asyncDep&&!e.asyncResolved?e:cd(e)}function bc(t){if(t)for(let e=0;eje(zh);function ud(t,e){return Ja(t,null,e)}const er={};function he(t,e,n){return Ja(t,e,n)}function Ja(t,e,{immediate:n,deep:s,flush:i,once:r,onTrack:o,onTrigger:a}=Me){if(e&&r){const P=e;e=(...A)=>{P(...A),x()}}const l=Ye,c=P=>s===!0?P:Un(P,s===!1?1:void 0);let u,d=!1,h=!1;if(Ke(t)?(u=()=>t.value,d=Ls(t)):ws(t)?(u=()=>c(t),d=!0):ie(t)?(h=!0,d=t.some(P=>ws(P)||Ls(P)),u=()=>t.map(P=>{if(Ke(P))return P.value;if(ws(P))return c(P);if(oe(P))return Pn(P,l,2)})):oe(t)?e?u=()=>Pn(t,l,2):u=()=>(p&&p(),Rt(t,l,3,[m])):u=Ot,e&&s){const P=u;u=()=>Un(P())}let p,m=P=>{p=y.onStop=()=>{Pn(P,l,4),p=y.onStop=void 0}},v;if(Ri)if(m=Ot,e?n&&Rt(e,l,3,[u(),h?[]:void 0,m]):u(),i==="sync"){const P=Wh();v=P.__watcherHandles||(P.__watcherHandles=[])}else return Ot;let w=h?new Array(t.length).fill(er):er;const C=()=>{if(!(!y.active||!y.dirty))if(e){const P=y.run();(s||d||(h?P.some((A,F)=>On(A,w[F])):On(P,w)))&&(p&&p(),Rt(e,l,3,[P,w===er?void 0:h&&w[0]===er?[]:w,m]),w=P)}else y.run()};C.allowRecurse=!!e;let k;i==="sync"?k=C:i==="post"?k=()=>at(C,l&&l.suspense):(C.pre=!0,l&&(C.id=l.uid),k=()=>Wr(C));const y=new ja(u,Ot,k),E=C1(),x=()=>{y.stop(),E&&Da(E.effects,y)};return e?n?C():w=y.run():i==="post"?at(y.run.bind(y),l&&l.suspense):y.run(),v&&v.push(x),x}function Gh(t,e,n){const s=this.proxy,i=Be(t)?t.includes(".")?dd(s,t):()=>s[t]:t.bind(s,s);let r;oe(e)?r=e:(r=e.handler,n=e);const o=Mi(this),a=Ja(i,r.bind(s),n);return o(),a}function dd(t,e){const n=e.split(".");return()=>{let s=t;for(let i=0;i{Un(s,e,n)});else if(p1(t)){for(const s in t)Un(t[s],e,n);for(const s of Object.getOwnPropertySymbols(t))Object.prototype.propertyIsEnumerable.call(t,s)&&Un(t[s],e,n)}return t}const Uh=(t,e)=>e==="modelValue"||e==="model-value"?t.modelModifiers:t[`${e}Modifiers`]||t[`${wt(e)}Modifiers`]||t[`${os(e)}Modifiers`];function Kh(t,e,...n){if(t.isUnmounted)return;const s=t.vnode.props||Me;let i=n;const r=e.startsWith("update:"),o=r&&Uh(s,e.slice(7));o&&(o.trim&&(i=n.map(u=>Be(u)?u.trim():u)),o.number&&(i=n.map(vf)));let a,l=s[a=lo(e)]||s[a=lo(wt(e))];!l&&r&&(l=s[a=lo(os(e))]),l&&Rt(l,t,6,i);const c=s[a+"Once"];if(c){if(!t.emitted)t.emitted={};else if(t.emitted[a])return;t.emitted[a]=!0,Rt(c,t,6,i)}}function fd(t,e,n=!1){const s=e.emitsCache,i=s.get(t);if(i!==void 0)return i;const r=t.emits;let o={},a=!1;if(!oe(t)){const l=c=>{const u=fd(c,e,!0);u&&(a=!0,Ue(o,u))};!n&&e.mixins.length&&e.mixins.forEach(l),t.extends&&l(t.extends),t.mixins&&t.mixins.forEach(l)}return!r&&!a?(_e(t)&&s.set(t,null),null):(ie(r)?r.forEach(l=>o[l]=null):Ue(o,r),_e(t)&&s.set(t,o),o)}function Ur(t,e){return!t||!Li(e)?!1:(e=e.slice(2).replace(/Once$/,""),ge(t,e[0].toLowerCase()+e.slice(1))||ge(t,os(e))||ge(t,e))}function go(t){const{type:e,vnode:n,proxy:s,withProxy:i,propsOptions:[r],slots:o,attrs:a,emit:l,render:c,renderCache:u,props:d,data:h,setupState:p,ctx:m,inheritAttrs:v}=t,w=yr(t);let C,k;try{if(n.shapeFlag&4){const E=i||s,x=E;C=Lt(c.call(x,E,u,d,p,h,m)),k=a}else{const E=e;C=Lt(E.length>1?E(d,{attrs:a,slots:o,emit:l}):E(d,null)),k=e.props?a:Zh(a)}}catch(E){si.length=0,Oi(E,t,1),C=Ne(ct)}let y=C;if(k&&v!==!1){const E=Object.keys(k),{shapeFlag:x}=y;E.length&&x&7&&(r&&E.some(Ra)&&(k=Qh(k,r)),y=In(y,k,!1,!0))}return n.dirs&&(y=In(y,null,!1,!0),y.dirs=y.dirs?y.dirs.concat(n.dirs):n.dirs),n.transition&&(y.transition=n.transition),C=y,yr(w),C}const Zh=t=>{let e;for(const n in t)(n==="class"||n==="style"||Li(n))&&((e||(e={}))[n]=t[n]);return e},Qh=(t,e)=>{const n={};for(const s in t)(!Ra(s)||!(s.slice(9)in e))&&(n[s]=t[s]);return n};function Yh(t,e,n){const{props:s,children:i,component:r}=t,{props:o,children:a,patchFlag:l}=e,c=r.emitsOptions;if(e.dirs||e.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return s?Cc(s,o,c):!!o;if(l&8){const u=e.dynamicProps;for(let d=0;dt.__isSuspense;function hd(t,e){e&&e.pendingBranch?ie(t)?e.effects.push(...t):e.effects.push(t):oh(t)}const gt=Symbol.for("v-fgt"),es=Symbol.for("v-txt"),ct=Symbol.for("v-cmt"),ni=Symbol.for("v-stc"),si=[];let yt=null;function e6(t=!1){si.push(yt=t?null:[])}function t6(){si.pop(),yt=si[si.length-1]||null}let gi=1;function wc(t){gi+=t,t<0&&yt&&(yt.hasOnce=!0)}function pd(t){return t.dynamicChildren=gi>0?yt||ys:null,t6(),gi>0&&yt&&yt.push(t),t}function Vv(t,e,n,s,i,r){return pd(gd(t,e,n,s,i,r,!0))}function n6(t,e,n,s,i){return pd(Ne(t,e,n,s,i,!0))}function ea(t){return t?t.__v_isVNode===!0:!1}function Kn(t,e){return t.type===e.type&&t.key===e.key}const md=({key:t})=>t??null,fr=({ref:t,ref_key:e,ref_for:n})=>(typeof t=="number"&&(t=""+t),t!=null?Be(t)||Ke(t)||oe(t)?{i:It,r:t,k:e,f:!!n}:t:null);function gd(t,e=null,n=null,s=0,i=null,r=t===gt?0:1,o=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&md(e),ref:e&&fr(e),scopeId:F1,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:r,patchFlag:s,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:It};return a?(el(l,n),r&128&&t.normalize(l)):n&&(l.shapeFlag|=Be(n)?8:16),gi>0&&!o&&yt&&(l.patchFlag>0||r&6)&&l.patchFlag!==32&&yt.push(l),l}const Ne=s6;function s6(t,e=null,n=null,s=0,i=null,r=!1){if((!t||t===Ch)&&(t=ct),ea(t)){const a=In(t,e,!0);return n&&el(a,n),gi>0&&!r&&yt&&(a.shapeFlag&6?yt[yt.indexOf(t)]=a:yt.push(a)),a.patchFlag=-2,a}if(p6(t)&&(t=t.__vccOpts),e){e=i6(e);let{class:a,style:l}=e;a&&!Be(a)&&(e.class=Na(a)),_e(l)&&(I1(l)&&!ie(l)&&(l=Ue({},l)),e.style=Va(l))}const o=Be(t)?1:Jh(t)?128:Hh(t)?64:_e(t)?4:oe(t)?2:0;return gd(t,e,n,s,i,o,r,!0)}function i6(t){return t?I1(t)||ed(t)?Ue({},t):t:null}function In(t,e,n=!1,s=!1){const{props:i,ref:r,patchFlag:o,children:a,transition:l}=t,c=e?r6(i||{},e):i,u={__v_isVNode:!0,__v_skip:!0,type:t.type,props:c,key:c&&md(c),ref:e&&e.ref?n&&r?ie(r)?r.concat(fr(e)):[r,fr(e)]:fr(e):r,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:a,target:t.target,targetStart:t.targetStart,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==gt?o===-1?16:o|16:o,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:l,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&In(t.ssContent),ssFallback:t.ssFallback&&In(t.ssFallback),el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce};return l&&s&&xs(u,l.clone(u)),u}function vd(t=" ",e=0){return Ne(es,null,t,e)}function Nv(t,e){const n=Ne(ni,null,t);return n.staticCount=e,n}function jv(t="",e=!1){return e?(e6(),n6(ct,null,t)):Ne(ct,null,t)}function Lt(t){return t==null||typeof t=="boolean"?Ne(ct):ie(t)?Ne(gt,null,t.slice()):typeof t=="object"?_n(t):Ne(es,null,String(t))}function _n(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:In(t)}function el(t,e){let n=0;const{shapeFlag:s}=t;if(e==null)e=null;else if(ie(e))n=16;else if(typeof e=="object")if(s&65){const i=e.default;i&&(i._c&&(i._d=!1),el(t,i()),i._c&&(i._d=!0));return}else{n=32;const i=e._;!i&&!ed(e)?e._ctx=It:i===3&&It&&(It.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else oe(e)?(e={default:e,_ctx:It},n=32):(e=String(e),s&64?(n=16,e=[vd(e)]):n=8);t.children=e,t.shapeFlag|=n}function r6(...t){const e={};for(let n=0;nYe||It;let wr,ta;{const t=g1(),e=(n,s)=>{let i;return(i=t[n])||(i=t[n]=[]),i.push(s),r=>{i.length>1?i.forEach(o=>o(r)):i[0](r)}};wr=e("__VUE_INSTANCE_SETTERS__",n=>Ye=n),ta=e("__VUE_SSR_SETTERS__",n=>Ri=n)}const Mi=t=>{const e=Ye;return wr(t),t.scope.on(),()=>{t.scope.off(),wr(e)}},kc=()=>{Ye&&Ye.scope.off(),wr(null)};function yd(t){return t.vnode.shapeFlag&4}let Ri=!1;function c6(t,e=!1,n=!1){e&&ta(e);const{props:s,children:i}=t.vnode,r=yd(t);Ah(t,s,r,e),Mh(t,i,n);const o=r?u6(t,e):void 0;return e&&ta(!1),o}function u6(t,e){const n=t.type;t.accessCache=Object.create(null),t.proxy=new Proxy(t.ctx,kh);const{setup:s}=n;if(s){const i=t.setupContext=s.length>1?f6(t):null,r=Mi(t);Vn();const o=Pn(s,t,0,[t.props,i]);if(Nn(),r(),f1(o)){if(o.then(kc,kc),e)return o.then(a=>{Ec(t,a,e)}).catch(a=>{Oi(a,t,0)});t.asyncDep=o}else Ec(t,o,e)}else bd(t,e)}function Ec(t,e,n){oe(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:_e(e)&&(t.setupState=D1(e)),bd(t,n)}let Tc;function bd(t,e,n){const s=t.type;if(!t.render){if(!e&&Tc&&!s.render){const i=s.template||Ya(t).template;if(i){const{isCustomElement:r,compilerOptions:o}=t.appContext.config,{delimiters:a,compilerOptions:l}=s,c=Ue(Ue({isCustomElement:r,delimiters:a},o),l);s.render=Tc(i,c)}}t.render=s.render||Ot}{const i=Mi(t);Vn();try{Eh(t)}finally{Nn(),i()}}}const d6={get(t,e){return dt(t,"get",""),t[e]}};function f6(t){const e=n=>{t.exposed=n||{}};return{attrs:new Proxy(t.attrs,d6),slots:t.slots,emit:t.emit,expose:e}}function tl(t){return t.exposed?t.exposeProxy||(t.exposeProxy=new Proxy(D1(Zf(t.exposed)),{get(e,n){if(n in e)return e[n];if(n in ei)return ei[n](t)},has(e,n){return n in e||n in ei}})):t.proxy}function h6(t,e=!0){return oe(t)?t.displayName||t.name:t.name||e&&t.__name}function p6(t){return oe(t)&&"__vccOpts"in t}const S=(t,e)=>Qf(t,e,Ri);function f(t,e,n){const s=arguments.length;return s===2?_e(e)&&!ie(e)?ea(e)?Ne(t,null,[e]):Ne(t,e):Ne(t,null,e):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&ea(n)&&(n=[n]),Ne(t,e,n))}const m6="3.4.33";/** * @vue/runtime-dom v3.4.33 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/const g6="http://www.w3.org/2000/svg",v6="http://www.w3.org/1998/Math/MathML",fn=typeof document<"u"?document:null,Sc=fn&&fn.createElement("template"),y6={insert:(t,e,n)=>{e.insertBefore(t,n||null)},remove:t=>{const e=t.parentNode;e&&e.removeChild(t)},createElement:(t,e,n,s)=>{const i=e==="svg"?fn.createElementNS(g6,t):e==="mathml"?fn.createElementNS(v6,t):n?fn.createElement(t,{is:n}):fn.createElement(t);return t==="select"&&s&&s.multiple!=null&&i.setAttribute("multiple",s.multiple),i},createText:t=>fn.createTextNode(t),createComment:t=>fn.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>fn.querySelector(t),setScopeId(t,e){t.setAttribute(e,"")},insertStaticContent(t,e,n,s,i,r){const o=n?n.previousSibling:e.lastChild;if(i&&(i===r||i.nextSibling))for(;e.insertBefore(i.cloneNode(!0),n),!(i===r||!(i=i.nextSibling)););else{Sc.innerHTML=s==="svg"?`${t}`:s==="mathml"?`${t}`:t;const a=Sc.content;if(s==="svg"||s==="mathml"){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}e.insertBefore(a,n)}return[o?o.nextSibling:e.firstChild,n?n.previousSibling:e.lastChild]}},Cn="transition",Gs="animation",As=Symbol("_vtc"),Mn=(t,{slots:e})=>f(uh,wd(t),e);Mn.displayName="Transition";const Cd={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},b6=Mn.props=Ue({},B1,Cd),zn=(t,e=[])=>{ie(t)?t.forEach(n=>n(...e)):t&&t(...e)},$c=t=>t?ie(t)?t.some(e=>e.length>1):t.length>1:!1;function wd(t){const e={};for(const I in t)I in Cd||(e[I]=t[I]);if(t.css===!1)return e;const{name:n="v",type:s,duration:i,enterFromClass:r=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=r,appearActiveClass:c=o,appearToClass:u=a,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:h=`${n}-leave-active`,leaveToClass:p=`${n}-leave-to`}=t,m=C6(i),v=m&&m[0],w=m&&m[1],{onBeforeEnter:C,onEnter:k,onEnterCancelled:y,onLeave:E,onLeaveCancelled:x,onBeforeAppear:P=C,onAppear:A=k,onAppearCancelled:F=y}=e,D=(I,Z,J)=>{Tn(I,Z?u:a),Tn(I,Z?c:o),J&&J()},L=(I,Z)=>{I._isLeaving=!1,Tn(I,d),Tn(I,p),Tn(I,h),Z&&Z()},N=I=>(Z,J)=>{const ae=I?A:k,q=()=>D(Z,I,J);zn(ae,[Z,q]),_c(()=>{Tn(Z,I?l:r),un(Z,I?u:a),$c(ae)||Lc(Z,s,v,q)})};return Ue(e,{onBeforeEnter(I){zn(C,[I]),un(I,r),un(I,o)},onBeforeAppear(I){zn(P,[I]),un(I,l),un(I,c)},onEnter:N(!1),onAppear:N(!0),onLeave(I,Z){I._isLeaving=!0;const J=()=>L(I,Z);un(I,d),un(I,h),Ed(),_c(()=>{I._isLeaving&&(Tn(I,d),un(I,p),$c(E)||Lc(I,s,w,J))}),zn(E,[I,J])},onEnterCancelled(I){D(I,!1),zn(y,[I])},onAppearCancelled(I){D(I,!0),zn(F,[I])},onLeaveCancelled(I){L(I),zn(x,[I])}})}function C6(t){if(t==null)return null;if(_e(t))return[vo(t.enter),vo(t.leave)];{const e=vo(t);return[e,e]}}function vo(t){return yf(t)}function un(t,e){e.split(/\s+/).forEach(n=>n&&t.classList.add(n)),(t[As]||(t[As]=new Set)).add(e)}function Tn(t,e){e.split(/\s+/).forEach(s=>s&&t.classList.remove(s));const n=t[As];n&&(n.delete(e),n.size||(t[As]=void 0))}function _c(t){requestAnimationFrame(()=>{requestAnimationFrame(t)})}let w6=0;function Lc(t,e,n,s){const i=t._endId=++w6,r=()=>{i===t._endId&&s()};if(n)return setTimeout(r,n);const{type:o,timeout:a,propCount:l}=kd(t,e);if(!o)return s();const c=o+"end";let u=0;const d=()=>{t.removeEventListener(c,h),r()},h=p=>{p.target===t&&++u>=l&&d()};setTimeout(()=>{u(n[m]||"").split(", "),i=s(`${Cn}Delay`),r=s(`${Cn}Duration`),o=xc(i,r),a=s(`${Gs}Delay`),l=s(`${Gs}Duration`),c=xc(a,l);let u=null,d=0,h=0;e===Cn?o>0&&(u=Cn,d=o,h=r.length):e===Gs?c>0&&(u=Gs,d=c,h=l.length):(d=Math.max(o,c),u=d>0?o>c?Cn:Gs:null,h=u?u===Cn?r.length:l.length:0);const p=u===Cn&&/\b(transform|all)(,|$)/.test(s(`${Cn}Property`).toString());return{type:u,timeout:d,propCount:h,hasTransform:p}}function xc(t,e){for(;t.lengthAc(n)+Ac(t[s])))}function Ac(t){return t==="auto"?0:Number(t.slice(0,-1).replace(",","."))*1e3}function Ed(){return document.body.offsetHeight}function k6(t,e,n){const s=t[As];s&&(e=(e?[e,...s]:[...s]).join(" ")),e==null?t.removeAttribute("class"):n?t.setAttribute("class",e):t.className=e}const Pc=Symbol("_vod"),E6=Symbol("_vsh"),T6=Symbol(""),S6=/(^|;)\s*display\s*:/;function $6(t,e,n){const s=t.style,i=Be(n);let r=!1;if(n&&!i){if(e)if(Be(e))for(const o of e.split(";")){const a=o.slice(0,o.indexOf(":")).trim();n[a]==null&&hr(s,a,"")}else for(const o in e)n[o]==null&&hr(s,o,"");for(const o in n)o==="display"&&(r=!0),hr(s,o,n[o])}else if(i){if(e!==n){const o=s[T6];o&&(n+=";"+o),s.cssText=n,r=S6.test(n)}}else e&&t.removeAttribute("style");Pc in t&&(t[Pc]=r?s.display:"",t[E6]&&(s.display="none"))}const Oc=/\s*!important$/;function hr(t,e,n){if(ie(n))n.forEach(s=>hr(t,e,s));else if(n==null&&(n=""),e.startsWith("--"))t.setProperty(e,n);else{const s=_6(t,e);Oc.test(n)?t.setProperty(os(s),n.replace(Oc,""),"important"):t[s]=n}}const Ic=["Webkit","Moz","ms"],yo={};function _6(t,e){const n=yo[e];if(n)return n;let s=wt(e);if(s!=="filter"&&s in t)return yo[e]=s;s=xi(s);for(let i=0;ibo||(I6.then(()=>bo=0),bo=Date.now());function R6(t,e){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;Rt(D6(s,n.value),e,5,[s])};return n.value=t,n.attached=M6(),n}function D6(t,e){if(ie(e)){const n=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{n.call(t),t._stopped=!0},e.map(s=>i=>!i._stopped&&s&&s(i))}else return e}const Vc=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)>96&&t.charCodeAt(2)<123,H6=(t,e,n,s,i,r)=>{const o=i==="svg";e==="class"?k6(t,s,o):e==="style"?$6(t,n,s):Li(e)?Ra(e)||P6(t,e,n,s,r):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):V6(t,e,s,o))?(L6(t,e,s),!t.tagName.includes("-")&&(e==="value"||e==="checked"||e==="selected")&&Rc(t,e,s,o,r,e!=="value")):(e==="true-value"?t._trueValue=s:e==="false-value"&&(t._falseValue=s),Rc(t,e,s,o))};function V6(t,e,n,s){if(s)return!!(e==="innerHTML"||e==="textContent"||e in t&&Vc(e)&&oe(n));if(e==="spellcheck"||e==="draggable"||e==="translate"||e==="form"||e==="list"&&t.tagName==="INPUT"||e==="type"&&t.tagName==="TEXTAREA")return!1;if(e==="width"||e==="height"){const i=t.tagName;if(i==="IMG"||i==="VIDEO"||i==="CANVAS"||i==="SOURCE")return!1}return Vc(e)&&Be(n)?!1:e in t}const Td=new WeakMap,Sd=new WeakMap,kr=Symbol("_moveCb"),Nc=Symbol("_enterCb"),$d={name:"TransitionGroup",props:Ue({},b6,{tag:String,moveClass:String}),setup(t,{slots:e}){const n=Vs(),s=q1();let i,r;return K1(()=>{if(!i.length)return;const o=t.moveClass||`${t.name||"v"}-move`;if(!z6(i[0].el,n.vnode.el,o))return;i.forEach(F6),i.forEach(q6);const a=i.filter(B6);Ed(),a.forEach(l=>{const c=l.el,u=c.style;un(c,o),u.transform=u.webkitTransform=u.transitionDuration="";const d=c[kr]=h=>{h&&h.target!==c||(!h||/transform$/.test(h.propertyName))&&(c.removeEventListener("transitionend",d),c[kr]=null,Tn(c,o))};c.addEventListener("transitionend",d)})}),()=>{const o=ve(t),a=wd(o);let l=o.tag||gt;if(i=[],r)for(let c=0;cdelete t.mode;$d.props;const j6=$d;function F6(t){const e=t.el;e[kr]&&e[kr](),e[Nc]&&e[Nc]()}function q6(t){Sd.set(t,t.el.getBoundingClientRect())}function B6(t){const e=Td.get(t),n=Sd.get(t),s=e.left-n.left,i=e.top-n.top;if(s||i){const r=t.el.style;return r.transform=r.webkitTransform=`translate(${s}px,${i}px)`,r.transitionDuration="0s",t}}function z6(t,e,n){const s=t.cloneNode(),i=t[As];i&&i.forEach(a=>{a.split(/\s+/).forEach(l=>l&&s.classList.remove(l))}),n.split(/\s+/).forEach(a=>a&&s.classList.add(a)),s.style.display="none";const r=e.nodeType===1?e:e.parentNode;r.appendChild(s);const{hasTransform:o}=kd(s);return r.removeChild(s),o}const W6=Ue({patchProp:H6},y6);let Co,jc=!1;function G6(){return Co=jc?Co:Fh(W6),jc=!0,Co}const U6=(...t)=>{const e=G6().createApp(...t),{mount:n}=e;return e.mount=s=>{const i=Z6(s);if(i)return n(i,!0,K6(i))},e};function K6(t){if(t instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&t instanceof MathMLElement)return"mathml"}function Z6(t){return Be(t)?document.querySelector(t):t}var Di=t=>/^[a-z][a-z0-9+.-]*:/.test(t)||t.startsWith("//"),Y6=/.md((\?|#).*)?$/,Kr=(t,e="/")=>Di(t)||t.startsWith("/")&&!t.startsWith(e)&&!Y6.test(t),Ns=t=>/^(https?:)?\/\//.test(t),Fc=t=>{if(!t||t.endsWith("/"))return t;let e=t.replace(/(^|\/)README.md$/i,"$1index.html");return e.endsWith(".md")?e=e.substring(0,e.length-3)+".html":e.endsWith(".html")||(e=e+".html"),e.endsWith("/index.html")&&(e=e.substring(0,e.length-10)),e},Q6="http://.",X6=(t,e)=>{if(!t.startsWith("/")&&e){const n=e.slice(0,e.lastIndexOf("/"));return Fc(new URL(`${n}/${t}`,Q6).pathname)}return Fc(t)},J6=(t,e)=>{const n=Object.keys(t).sort((s,i)=>{const r=i.split("/").length-s.split("/").length;return r!==0?r:i.length-s.length});for(const s of n)if(e.startsWith(s))return s;return"/"},e0=/(#|\?)/,_d=t=>{const[e,...n]=t.split(e0);return{pathname:e,hashAndQueries:n.join("")}},t0=["link","meta","script","style","noscript","template"],n0=["title","base"],s0=([t,e,n])=>n0.includes(t)?t:t0.includes(t)?t==="meta"&&e.name?`${t}.${e.name}`:t==="template"&&e.id?`${t}.${e.id}`:JSON.stringify([t,Object.entries(e).map(([s,i])=>typeof i=="boolean"?i?[s,""]:null:[s,i]).filter(s=>s!=null).sort(([s],[i])=>s.localeCompare(i)),n]):null,i0=t=>{const e=new Set,n=[];return t.forEach(s=>{const i=s0(s);i&&!e.has(i)&&(e.add(i),n.push(s))}),n},r0=t=>t[0]==="/"?t:`/${t}`,Ld=t=>t[t.length-1]==="/"||t.endsWith(".html")?t:`${t}/`,nl=t=>t[t.length-1]==="/"?t.slice(0,-1):t,xd=t=>t[0]==="/"?t.slice(1):t,js=t=>Object.prototype.toString.call(t)==="[object Object]",Oe=t=>typeof t=="string";const o0="modulepreload",a0=function(t){return"/"+t},qc={},ne=function(e,n,s){let i=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName("link");const r=document.querySelector("meta[property=csp-nonce]"),o=(r==null?void 0:r.nonce)||(r==null?void 0:r.getAttribute("nonce"));i=Promise.all(n.map(a=>{if(a=a0(a),a in qc)return;qc[a]=!0;const l=a.endsWith(".css"),c=l?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${a}"]${c}`))return;const u=document.createElement("link");if(u.rel=l?"stylesheet":o0,l||(u.as="script",u.crossOrigin=""),u.href=a,o&&u.setAttribute("nonce",o),document.head.appendChild(u),l)return new Promise((d,h)=>{u.addEventListener("load",d),u.addEventListener("error",()=>h(new Error(`Unable to preload CSS for ${a}`)))})}))}return i.then(()=>e()).catch(r=>{const o=new Event("vite:preloadError",{cancelable:!0});if(o.payload=r,window.dispatchEvent(o),!o.defaultPrevented)throw r})},l0=JSON.parse("{}"),c0=Object.fromEntries([["/",{loader:()=>ne(()=>import("./index.html-DQoBnhdb.js"),__vite__mapDeps([0,1])),meta:{t:"主页",i:"home"}}],["/contribution/Acknowledgement.html",{loader:()=>ne(()=>import("./Acknowledgement.html-DEvPwo3n.js"),__vite__mapDeps([2,1])),meta:{t:"鸣谢",i:"heart",O:2}}],["/contribution/",{loader:()=>ne(()=>import("./index.html-CXWB-Kxr.js"),__vite__mapDeps([3,1])),meta:{t:"用户社区",i:"comment"}}],["/contribution/Sponsor.html",{loader:()=>ne(()=>import("./Sponsor.html-CgSSlvSM.js"),__vite__mapDeps([4,1])),meta:{t:"赞助者",i:"fa-solid fa-hand-holding-heart",O:4}}],["/contribution/development.html",{loader:()=>ne(()=>import("./development.html-DOTiGSFo.js"),__vite__mapDeps([5,1])),meta:{t:"协助开发",i:"code",O:3}}],["/contribution/feedback.html",{loader:()=>ne(()=>import("./feedback.html-DT2bLfpn.js"),__vite__mapDeps([6,1])),meta:{t:"问题反馈",i:"comments",O:5}}],["/download/",{loader:()=>ne(()=>import("./index.html-BrISj-PR.js"),__vite__mapDeps([7,8,1])),meta:{t:"下载链接",i:"download"}}],["/en/",{loader:()=>ne(()=>import("./index.html-BfmEi8Xe.js"),__vite__mapDeps([9,1])),meta:{t:"Home Page",i:"home"}}],["/guide/FAQ.html",{loader:()=>ne(()=>import("./FAQ.html-BOdrs66k.js"),__vite__mapDeps([10,1])),meta:{t:"常见问题FAQ",i:"question",O:2}}],["/guide/",{loader:()=>ne(()=>import("./index.html-0yX6UMuR.js"),__vite__mapDeps([11,1])),meta:{t:"游玩指南",i:"book"}}],["/guide/requirement.html",{loader:()=>ne(()=>import("./requirement.html-DVoXk-cm.js"),__vite__mapDeps([12,1])),meta:{t:"系统和环境要求",i:"sliders",O:3}}],["/instructions/Agreement.html",{loader:()=>ne(()=>import("./Agreement.html-ZZSfQ9le.js"),__vite__mapDeps([13,1])),meta:{t:"使用协议",i:"handshake",O:1}}],["/instructions/Disclaimer.html",{loader:()=>ne(()=>import("./Disclaimer.html-BPOHAe09.js"),__vite__mapDeps([14,1])),meta:{t:"免责声明",i:"copyright",O:2}}],["/instructions/OpenSource.html",{loader:()=>ne(()=>import("./OpenSource.html-BvAcKOea.js"),__vite__mapDeps([15,1])),meta:{t:"开源声明",i:"gavel",O:3}}],["/instructions/PvZinfo.html",{loader:()=>ne(()=>import("./PvZinfo.html-CRT-V-8Q.js"),__vite__mapDeps([16,1])),meta:{t:"原版信息",i:"circle-info",O:4}}],["/instructions/",{loader:()=>ne(()=>import("./index.html-DIyKMmEA.js"),__vite__mapDeps([17,1])),meta:{t:"协议和声明",i:"info"}}],["/en/contribution/Acknowledgement.html",{loader:()=>ne(()=>import("./Acknowledgement.html-Bb3o6wPT.js"),__vite__mapDeps([18,1])),meta:{t:"Acknowledgement",i:"heart",O:2}}],["/en/contribution/",{loader:()=>ne(()=>import("./index.html-DV-eN5x_.js"),__vite__mapDeps([19,1])),meta:{t:"Community",i:"comment"}}],["/en/contribution/Sponsor.html",{loader:()=>ne(()=>import("./Sponsor.html-DvfMZIfb.js"),__vite__mapDeps([20,1])),meta:{t:"Sponsor",i:"fa-solid fa-hand-holding-heart",O:4}}],["/en/contribution/development.html",{loader:()=>ne(()=>import("./development.html-CjzNF74z.js"),__vite__mapDeps([21,1])),meta:{t:"Development Help",i:"code",O:3}}],["/en/contribution/feedback.html",{loader:()=>ne(()=>import("./feedback.html-Bn-ydV2V.js"),__vite__mapDeps([22,1])),meta:{t:"Feedback",i:"comments",O:5}}],["/en/download/",{loader:()=>ne(()=>import("./index.html-Dc8IljF6.js"),__vite__mapDeps([23,8,1])),meta:{t:"Download",i:"download"}}],["/en/guide/FAQ.html",{loader:()=>ne(()=>import("./FAQ.html-BYLOiL5M.js"),__vite__mapDeps([24,1])),meta:{t:"FAQ",i:"question",O:2}}],["/en/guide/",{loader:()=>ne(()=>import("./index.html-y09Y1X4G.js"),__vite__mapDeps([25,1])),meta:{t:"Guide",i:"book"}}],["/en/guide/requirement.html",{loader:()=>ne(()=>import("./requirement.html-DDcWuGjB.js"),__vite__mapDeps([26,1])),meta:{t:"System Requirements",i:"sliders",O:3}}],["/en/instructions/Agreement.html",{loader:()=>ne(()=>import("./Agreement.html-BkJ8IzLW.js"),__vite__mapDeps([27,1])),meta:{t:"Usage Agreement",i:"handshake",O:1}}],["/en/instructions/Disclaimer.html",{loader:()=>ne(()=>import("./Disclaimer.html-DFtSTBsJ.js"),__vite__mapDeps([28,1])),meta:{t:"Copyright Disclaimer",i:"copyright",O:2}}],["/en/instructions/OpenSource.html",{loader:()=>ne(()=>import("./OpenSource.html--5Hy3qoL.js"),__vite__mapDeps([29,1])),meta:{t:"Opensource Agreement",i:"gavel",O:3}}],["/en/instructions/PvZinfo.html",{loader:()=>ne(()=>import("./PvZinfo.html-BvRJ1Duw.js"),__vite__mapDeps([30,1])),meta:{t:"Original Version",i:"circle-info",O:4}}],["/en/instructions/",{loader:()=>ne(()=>import("./index.html-C4HN3cTq.js"),__vite__mapDeps([31,1])),meta:{t:"Agreement and Statement",i:"info"}}],["/404.html",{loader:()=>ne(()=>import("./404.html-BsxaBU9C.js"),__vite__mapDeps([32,1])),meta:{t:""}}]]);/*! +**/const g6="http://www.w3.org/2000/svg",v6="http://www.w3.org/1998/Math/MathML",fn=typeof document<"u"?document:null,Sc=fn&&fn.createElement("template"),y6={insert:(t,e,n)=>{e.insertBefore(t,n||null)},remove:t=>{const e=t.parentNode;e&&e.removeChild(t)},createElement:(t,e,n,s)=>{const i=e==="svg"?fn.createElementNS(g6,t):e==="mathml"?fn.createElementNS(v6,t):n?fn.createElement(t,{is:n}):fn.createElement(t);return t==="select"&&s&&s.multiple!=null&&i.setAttribute("multiple",s.multiple),i},createText:t=>fn.createTextNode(t),createComment:t=>fn.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>fn.querySelector(t),setScopeId(t,e){t.setAttribute(e,"")},insertStaticContent(t,e,n,s,i,r){const o=n?n.previousSibling:e.lastChild;if(i&&(i===r||i.nextSibling))for(;e.insertBefore(i.cloneNode(!0),n),!(i===r||!(i=i.nextSibling)););else{Sc.innerHTML=s==="svg"?`${t}`:s==="mathml"?`${t}`:t;const a=Sc.content;if(s==="svg"||s==="mathml"){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}e.insertBefore(a,n)}return[o?o.nextSibling:e.firstChild,n?n.previousSibling:e.lastChild]}},Cn="transition",Gs="animation",As=Symbol("_vtc"),Mn=(t,{slots:e})=>f(uh,wd(t),e);Mn.displayName="Transition";const Cd={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},b6=Mn.props=Ue({},B1,Cd),zn=(t,e=[])=>{ie(t)?t.forEach(n=>n(...e)):t&&t(...e)},$c=t=>t?ie(t)?t.some(e=>e.length>1):t.length>1:!1;function wd(t){const e={};for(const I in t)I in Cd||(e[I]=t[I]);if(t.css===!1)return e;const{name:n="v",type:s,duration:i,enterFromClass:r=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=r,appearActiveClass:c=o,appearToClass:u=a,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:h=`${n}-leave-active`,leaveToClass:p=`${n}-leave-to`}=t,m=C6(i),v=m&&m[0],w=m&&m[1],{onBeforeEnter:C,onEnter:k,onEnterCancelled:y,onLeave:E,onLeaveCancelled:x,onBeforeAppear:P=C,onAppear:A=k,onAppearCancelled:F=y}=e,D=(I,Z,J)=>{Tn(I,Z?u:a),Tn(I,Z?c:o),J&&J()},L=(I,Z)=>{I._isLeaving=!1,Tn(I,d),Tn(I,p),Tn(I,h),Z&&Z()},N=I=>(Z,J)=>{const ae=I?A:k,q=()=>D(Z,I,J);zn(ae,[Z,q]),_c(()=>{Tn(Z,I?l:r),un(Z,I?u:a),$c(ae)||Lc(Z,s,v,q)})};return Ue(e,{onBeforeEnter(I){zn(C,[I]),un(I,r),un(I,o)},onBeforeAppear(I){zn(P,[I]),un(I,l),un(I,c)},onEnter:N(!1),onAppear:N(!0),onLeave(I,Z){I._isLeaving=!0;const J=()=>L(I,Z);un(I,d),un(I,h),Ed(),_c(()=>{I._isLeaving&&(Tn(I,d),un(I,p),$c(E)||Lc(I,s,w,J))}),zn(E,[I,J])},onEnterCancelled(I){D(I,!1),zn(y,[I])},onAppearCancelled(I){D(I,!0),zn(F,[I])},onLeaveCancelled(I){L(I),zn(x,[I])}})}function C6(t){if(t==null)return null;if(_e(t))return[vo(t.enter),vo(t.leave)];{const e=vo(t);return[e,e]}}function vo(t){return yf(t)}function un(t,e){e.split(/\s+/).forEach(n=>n&&t.classList.add(n)),(t[As]||(t[As]=new Set)).add(e)}function Tn(t,e){e.split(/\s+/).forEach(s=>s&&t.classList.remove(s));const n=t[As];n&&(n.delete(e),n.size||(t[As]=void 0))}function _c(t){requestAnimationFrame(()=>{requestAnimationFrame(t)})}let w6=0;function Lc(t,e,n,s){const i=t._endId=++w6,r=()=>{i===t._endId&&s()};if(n)return setTimeout(r,n);const{type:o,timeout:a,propCount:l}=kd(t,e);if(!o)return s();const c=o+"end";let u=0;const d=()=>{t.removeEventListener(c,h),r()},h=p=>{p.target===t&&++u>=l&&d()};setTimeout(()=>{u(n[m]||"").split(", "),i=s(`${Cn}Delay`),r=s(`${Cn}Duration`),o=xc(i,r),a=s(`${Gs}Delay`),l=s(`${Gs}Duration`),c=xc(a,l);let u=null,d=0,h=0;e===Cn?o>0&&(u=Cn,d=o,h=r.length):e===Gs?c>0&&(u=Gs,d=c,h=l.length):(d=Math.max(o,c),u=d>0?o>c?Cn:Gs:null,h=u?u===Cn?r.length:l.length:0);const p=u===Cn&&/\b(transform|all)(,|$)/.test(s(`${Cn}Property`).toString());return{type:u,timeout:d,propCount:h,hasTransform:p}}function xc(t,e){for(;t.lengthAc(n)+Ac(t[s])))}function Ac(t){return t==="auto"?0:Number(t.slice(0,-1).replace(",","."))*1e3}function Ed(){return document.body.offsetHeight}function k6(t,e,n){const s=t[As];s&&(e=(e?[e,...s]:[...s]).join(" ")),e==null?t.removeAttribute("class"):n?t.setAttribute("class",e):t.className=e}const Pc=Symbol("_vod"),E6=Symbol("_vsh"),T6=Symbol(""),S6=/(^|;)\s*display\s*:/;function $6(t,e,n){const s=t.style,i=Be(n);let r=!1;if(n&&!i){if(e)if(Be(e))for(const o of e.split(";")){const a=o.slice(0,o.indexOf(":")).trim();n[a]==null&&hr(s,a,"")}else for(const o in e)n[o]==null&&hr(s,o,"");for(const o in n)o==="display"&&(r=!0),hr(s,o,n[o])}else if(i){if(e!==n){const o=s[T6];o&&(n+=";"+o),s.cssText=n,r=S6.test(n)}}else e&&t.removeAttribute("style");Pc in t&&(t[Pc]=r?s.display:"",t[E6]&&(s.display="none"))}const Oc=/\s*!important$/;function hr(t,e,n){if(ie(n))n.forEach(s=>hr(t,e,s));else if(n==null&&(n=""),e.startsWith("--"))t.setProperty(e,n);else{const s=_6(t,e);Oc.test(n)?t.setProperty(os(s),n.replace(Oc,""),"important"):t[s]=n}}const Ic=["Webkit","Moz","ms"],yo={};function _6(t,e){const n=yo[e];if(n)return n;let s=wt(e);if(s!=="filter"&&s in t)return yo[e]=s;s=xi(s);for(let i=0;ibo||(I6.then(()=>bo=0),bo=Date.now());function R6(t,e){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;Rt(D6(s,n.value),e,5,[s])};return n.value=t,n.attached=M6(),n}function D6(t,e){if(ie(e)){const n=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{n.call(t),t._stopped=!0},e.map(s=>i=>!i._stopped&&s&&s(i))}else return e}const Vc=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)>96&&t.charCodeAt(2)<123,H6=(t,e,n,s,i,r)=>{const o=i==="svg";e==="class"?k6(t,s,o):e==="style"?$6(t,n,s):Li(e)?Ra(e)||P6(t,e,n,s,r):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):V6(t,e,s,o))?(L6(t,e,s),!t.tagName.includes("-")&&(e==="value"||e==="checked"||e==="selected")&&Rc(t,e,s,o,r,e!=="value")):(e==="true-value"?t._trueValue=s:e==="false-value"&&(t._falseValue=s),Rc(t,e,s,o))};function V6(t,e,n,s){if(s)return!!(e==="innerHTML"||e==="textContent"||e in t&&Vc(e)&&oe(n));if(e==="spellcheck"||e==="draggable"||e==="translate"||e==="form"||e==="list"&&t.tagName==="INPUT"||e==="type"&&t.tagName==="TEXTAREA")return!1;if(e==="width"||e==="height"){const i=t.tagName;if(i==="IMG"||i==="VIDEO"||i==="CANVAS"||i==="SOURCE")return!1}return Vc(e)&&Be(n)?!1:e in t}const Td=new WeakMap,Sd=new WeakMap,kr=Symbol("_moveCb"),Nc=Symbol("_enterCb"),$d={name:"TransitionGroup",props:Ue({},b6,{tag:String,moveClass:String}),setup(t,{slots:e}){const n=Vs(),s=q1();let i,r;return K1(()=>{if(!i.length)return;const o=t.moveClass||`${t.name||"v"}-move`;if(!z6(i[0].el,n.vnode.el,o))return;i.forEach(F6),i.forEach(q6);const a=i.filter(B6);Ed(),a.forEach(l=>{const c=l.el,u=c.style;un(c,o),u.transform=u.webkitTransform=u.transitionDuration="";const d=c[kr]=h=>{h&&h.target!==c||(!h||/transform$/.test(h.propertyName))&&(c.removeEventListener("transitionend",d),c[kr]=null,Tn(c,o))};c.addEventListener("transitionend",d)})}),()=>{const o=ve(t),a=wd(o);let l=o.tag||gt;if(i=[],r)for(let c=0;cdelete t.mode;$d.props;const j6=$d;function F6(t){const e=t.el;e[kr]&&e[kr](),e[Nc]&&e[Nc]()}function q6(t){Sd.set(t,t.el.getBoundingClientRect())}function B6(t){const e=Td.get(t),n=Sd.get(t),s=e.left-n.left,i=e.top-n.top;if(s||i){const r=t.el.style;return r.transform=r.webkitTransform=`translate(${s}px,${i}px)`,r.transitionDuration="0s",t}}function z6(t,e,n){const s=t.cloneNode(),i=t[As];i&&i.forEach(a=>{a.split(/\s+/).forEach(l=>l&&s.classList.remove(l))}),n.split(/\s+/).forEach(a=>a&&s.classList.add(a)),s.style.display="none";const r=e.nodeType===1?e:e.parentNode;r.appendChild(s);const{hasTransform:o}=kd(s);return r.removeChild(s),o}const W6=Ue({patchProp:H6},y6);let Co,jc=!1;function G6(){return Co=jc?Co:Fh(W6),jc=!0,Co}const U6=(...t)=>{const e=G6().createApp(...t),{mount:n}=e;return e.mount=s=>{const i=Z6(s);if(i)return n(i,!0,K6(i))},e};function K6(t){if(t instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&t instanceof MathMLElement)return"mathml"}function Z6(t){return Be(t)?document.querySelector(t):t}var Di=t=>/^[a-z][a-z0-9+.-]*:/.test(t)||t.startsWith("//"),Q6=/.md((\?|#).*)?$/,Kr=(t,e="/")=>Di(t)||t.startsWith("/")&&!t.startsWith(e)&&!Q6.test(t),Ns=t=>/^(https?:)?\/\//.test(t),Fc=t=>{if(!t||t.endsWith("/"))return t;let e=t.replace(/(^|\/)README.md$/i,"$1index.html");return e.endsWith(".md")?e=e.substring(0,e.length-3)+".html":e.endsWith(".html")||(e=e+".html"),e.endsWith("/index.html")&&(e=e.substring(0,e.length-10)),e},Y6="http://.",X6=(t,e)=>{if(!t.startsWith("/")&&e){const n=e.slice(0,e.lastIndexOf("/"));return Fc(new URL(`${n}/${t}`,Y6).pathname)}return Fc(t)},J6=(t,e)=>{const n=Object.keys(t).sort((s,i)=>{const r=i.split("/").length-s.split("/").length;return r!==0?r:i.length-s.length});for(const s of n)if(e.startsWith(s))return s;return"/"},e0=/(#|\?)/,_d=t=>{const[e,...n]=t.split(e0);return{pathname:e,hashAndQueries:n.join("")}},t0=["link","meta","script","style","noscript","template"],n0=["title","base"],s0=([t,e,n])=>n0.includes(t)?t:t0.includes(t)?t==="meta"&&e.name?`${t}.${e.name}`:t==="template"&&e.id?`${t}.${e.id}`:JSON.stringify([t,Object.entries(e).map(([s,i])=>typeof i=="boolean"?i?[s,""]:null:[s,i]).filter(s=>s!=null).sort(([s],[i])=>s.localeCompare(i)),n]):null,i0=t=>{const e=new Set,n=[];return t.forEach(s=>{const i=s0(s);i&&!e.has(i)&&(e.add(i),n.push(s))}),n},r0=t=>t[0]==="/"?t:`/${t}`,Ld=t=>t[t.length-1]==="/"||t.endsWith(".html")?t:`${t}/`,nl=t=>t[t.length-1]==="/"?t.slice(0,-1):t,xd=t=>t[0]==="/"?t.slice(1):t,js=t=>Object.prototype.toString.call(t)==="[object Object]",Oe=t=>typeof t=="string";const o0="modulepreload",a0=function(t){return"/"+t},qc={},ne=function(e,n,s){let i=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName("link");const r=document.querySelector("meta[property=csp-nonce]"),o=(r==null?void 0:r.nonce)||(r==null?void 0:r.getAttribute("nonce"));i=Promise.all(n.map(a=>{if(a=a0(a),a in qc)return;qc[a]=!0;const l=a.endsWith(".css"),c=l?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${a}"]${c}`))return;const u=document.createElement("link");if(u.rel=l?"stylesheet":o0,l||(u.as="script",u.crossOrigin=""),u.href=a,o&&u.setAttribute("nonce",o),document.head.appendChild(u),l)return new Promise((d,h)=>{u.addEventListener("load",d),u.addEventListener("error",()=>h(new Error(`Unable to preload CSS for ${a}`)))})}))}return i.then(()=>e()).catch(r=>{const o=new Event("vite:preloadError",{cancelable:!0});if(o.payload=r,window.dispatchEvent(o),!o.defaultPrevented)throw r})},l0=JSON.parse("{}"),c0=Object.fromEntries([["/",{loader:()=>ne(()=>import("./index.html-BuZJtQQL.js"),__vite__mapDeps([0,1])),meta:{t:"主页",i:"home"}}],["/contribution/Acknowledgement.html",{loader:()=>ne(()=>import("./Acknowledgement.html-BW13Jasm.js"),__vite__mapDeps([2,1])),meta:{t:"鸣谢",i:"heart",O:2}}],["/contribution/",{loader:()=>ne(()=>import("./index.html-wt5M9-LL.js"),__vite__mapDeps([3,1])),meta:{t:"用户社区",i:"comment"}}],["/contribution/Sponsor.html",{loader:()=>ne(()=>import("./Sponsor.html-D2EKmiE0.js"),__vite__mapDeps([4,1])),meta:{t:"赞助者",i:"fa-solid fa-hand-holding-heart",O:4}}],["/contribution/development.html",{loader:()=>ne(()=>import("./development.html-CeZGPhZ8.js"),__vite__mapDeps([5,1])),meta:{t:"协助开发",i:"code",O:3}}],["/contribution/feedback.html",{loader:()=>ne(()=>import("./feedback.html-wYdfyfw6.js"),__vite__mapDeps([6,1])),meta:{t:"问题反馈",i:"comments",O:5}}],["/en/",{loader:()=>ne(()=>import("./index.html-r85RabCw.js"),__vite__mapDeps([7,1])),meta:{t:"Home Page",i:"home"}}],["/download/",{loader:()=>ne(()=>import("./index.html-tWtN4m0h.js"),__vite__mapDeps([8,9,1])),meta:{t:"下载链接",i:"download"}}],["/guide/FAQ.html",{loader:()=>ne(()=>import("./FAQ.html-mIHf4-HR.js"),__vite__mapDeps([10,1])),meta:{t:"常见问题FAQ",i:"question",O:2}}],["/guide/",{loader:()=>ne(()=>import("./index.html-BpNzmU6p.js"),__vite__mapDeps([11,1])),meta:{t:"游玩指南",i:"book"}}],["/guide/requirement.html",{loader:()=>ne(()=>import("./requirement.html-CQfNS4c8.js"),__vite__mapDeps([12,1])),meta:{t:"系统和环境要求",i:"sliders",O:3}}],["/instructions/Agreement.html",{loader:()=>ne(()=>import("./Agreement.html-_62h_0lW.js"),__vite__mapDeps([13,1])),meta:{t:"使用协议",i:"handshake",O:1}}],["/instructions/Disclaimer.html",{loader:()=>ne(()=>import("./Disclaimer.html-Dznz4heT.js"),__vite__mapDeps([14,1])),meta:{t:"免责声明",i:"copyright",O:2}}],["/instructions/OpenSource.html",{loader:()=>ne(()=>import("./OpenSource.html-ChScQOaM.js"),__vite__mapDeps([15,1])),meta:{t:"开源声明",i:"gavel",O:3}}],["/instructions/PvZinfo.html",{loader:()=>ne(()=>import("./PvZinfo.html-lSHPv2OI.js"),__vite__mapDeps([16,1])),meta:{t:"原版信息",i:"circle-info",O:4}}],["/instructions/",{loader:()=>ne(()=>import("./index.html-DFyztGay.js"),__vite__mapDeps([17,1])),meta:{t:"协议和声明",i:"info"}}],["/en/contribution/Acknowledgement.html",{loader:()=>ne(()=>import("./Acknowledgement.html-CxMh4kVK.js"),__vite__mapDeps([18,1])),meta:{t:"Acknowledgement",i:"heart",O:2}}],["/en/contribution/",{loader:()=>ne(()=>import("./index.html-Dm3Ckyza.js"),__vite__mapDeps([19,1])),meta:{t:"Community",i:"comment"}}],["/en/contribution/Sponsor.html",{loader:()=>ne(()=>import("./Sponsor.html-ComdjcDU.js"),__vite__mapDeps([20,1])),meta:{t:"Sponsor",i:"fa-solid fa-hand-holding-heart",O:4}}],["/en/contribution/development.html",{loader:()=>ne(()=>import("./development.html-DTVIQPFl.js"),__vite__mapDeps([21,1])),meta:{t:"Development Help",i:"code",O:3}}],["/en/contribution/feedback.html",{loader:()=>ne(()=>import("./feedback.html-ej1iZ9Eq.js"),__vite__mapDeps([22,1])),meta:{t:"Feedback",i:"comments",O:5}}],["/en/download/",{loader:()=>ne(()=>import("./index.html-CVIQOZO2.js"),__vite__mapDeps([23,9,1])),meta:{t:"Download",i:"download"}}],["/en/guide/FAQ.html",{loader:()=>ne(()=>import("./FAQ.html-CkBPOjMJ.js"),__vite__mapDeps([24,1])),meta:{t:"FAQ",i:"question",O:2}}],["/en/guide/",{loader:()=>ne(()=>import("./index.html-Du4LwUDS.js"),__vite__mapDeps([25,1])),meta:{t:"Guide",i:"book"}}],["/en/guide/requirement.html",{loader:()=>ne(()=>import("./requirement.html-BNbn5ibM.js"),__vite__mapDeps([26,1])),meta:{t:"System Requirements",i:"sliders",O:3}}],["/en/instructions/Agreement.html",{loader:()=>ne(()=>import("./Agreement.html-lmrFJvZA.js"),__vite__mapDeps([27,1])),meta:{t:"Usage Agreement",i:"handshake",O:1}}],["/en/instructions/Disclaimer.html",{loader:()=>ne(()=>import("./Disclaimer.html-DTowDS4Q.js"),__vite__mapDeps([28,1])),meta:{t:"Copyright Disclaimer",i:"copyright",O:2}}],["/en/instructions/OpenSource.html",{loader:()=>ne(()=>import("./OpenSource.html-Bi2gxy7_.js"),__vite__mapDeps([29,1])),meta:{t:"Opensource Agreement",i:"gavel",O:3}}],["/en/instructions/PvZinfo.html",{loader:()=>ne(()=>import("./PvZinfo.html-CMzpARBf.js"),__vite__mapDeps([30,1])),meta:{t:"Original Version",i:"circle-info",O:4}}],["/en/instructions/",{loader:()=>ne(()=>import("./index.html-244Zx-LA.js"),__vite__mapDeps([31,1])),meta:{t:"Agreement and Statement",i:"info"}}],["/404.html",{loader:()=>ne(()=>import("./404.html-D8Ys2-iV.js"),__vite__mapDeps([32,1])),meta:{t:""}}]]);/*! * vue-router v4.4.0 * (c) 2024 Eduardo San Martin Morote * @license MIT - */const ps=typeof document<"u";function u0(t){return t.__esModule||t[Symbol.toStringTag]==="Module"}const ke=Object.assign;function wo(t,e){const n={};for(const s in e){const i=e[s];n[s]=Wt(i)?i.map(t):t(i)}return n}const ii=()=>{},Wt=Array.isArray,Ad=/#/g,d0=/&/g,f0=/\//g,h0=/=/g,p0=/\?/g,Pd=/\+/g,m0=/%5B/g,g0=/%5D/g,Od=/%5E/g,v0=/%60/g,Id=/%7B/g,y0=/%7C/g,Md=/%7D/g,b0=/%20/g;function sl(t){return encodeURI(""+t).replace(y0,"|").replace(m0,"[").replace(g0,"]")}function C0(t){return sl(t).replace(Id,"{").replace(Md,"}").replace(Od,"^")}function na(t){return sl(t).replace(Pd,"%2B").replace(b0,"+").replace(Ad,"%23").replace(d0,"%26").replace(v0,"`").replace(Id,"{").replace(Md,"}").replace(Od,"^")}function w0(t){return na(t).replace(h0,"%3D")}function k0(t){return sl(t).replace(Ad,"%23").replace(p0,"%3F")}function E0(t){return t==null?"":k0(t).replace(f0,"%2F")}function vi(t){try{return decodeURIComponent(""+t)}catch{}return""+t}const T0=/\/$/,S0=t=>t.replace(T0,"");function ko(t,e,n="/"){let s,i={},r="",o="";const a=e.indexOf("#");let l=e.indexOf("?");return a=0&&(l=-1),l>-1&&(s=e.slice(0,l),r=e.slice(l+1,a>-1?a:e.length),i=t(r)),a>-1&&(s=s||e.slice(0,a),o=e.slice(a,e.length)),s=x0(s??e,n),{fullPath:s+(r&&"?")+r+o,path:s,query:i,hash:vi(o)}}function $0(t,e){const n=e.query?t(e.query):"";return e.path+(n&&"?")+n+(e.hash||"")}function Bc(t,e){return!e||!t.toLowerCase().startsWith(e.toLowerCase())?t:t.slice(e.length)||"/"}function _0(t,e,n){const s=e.matched.length-1,i=n.matched.length-1;return s>-1&&s===i&&Ps(e.matched[s],n.matched[i])&&Rd(e.params,n.params)&&t(e.query)===t(n.query)&&e.hash===n.hash}function Ps(t,e){return(t.aliasOf||t)===(e.aliasOf||e)}function Rd(t,e){if(Object.keys(t).length!==Object.keys(e).length)return!1;for(const n in t)if(!L0(t[n],e[n]))return!1;return!0}function L0(t,e){return Wt(t)?zc(t,e):Wt(e)?zc(e,t):t===e}function zc(t,e){return Wt(e)?t.length===e.length&&t.every((n,s)=>n===e[s]):t.length===1&&t[0]===e}function x0(t,e){if(t.startsWith("/"))return t;if(!t)return e;const n=e.split("/"),s=t.split("/"),i=s[s.length-1];(i===".."||i===".")&&s.push("");let r=n.length-1,o,a;for(o=0;o1&&r--;else break;return n.slice(0,r).join("/")+"/"+s.slice(o).join("/")}const dn={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var yi;(function(t){t.pop="pop",t.push="push"})(yi||(yi={}));var ri;(function(t){t.back="back",t.forward="forward",t.unknown=""})(ri||(ri={}));function A0(t){if(!t)if(ps){const e=document.querySelector("base");t=e&&e.getAttribute("href")||"/",t=t.replace(/^\w+:\/\/[^\/]+/,"")}else t="/";return t[0]!=="/"&&t[0]!=="#"&&(t="/"+t),S0(t)}const P0=/^[^#]+#/;function O0(t,e){return t.replace(P0,"#")+e}function I0(t,e){const n=document.documentElement.getBoundingClientRect(),s=t.getBoundingClientRect();return{behavior:e.behavior,left:s.left-n.left-(e.left||0),top:s.top-n.top-(e.top||0)}}const Zr=()=>({left:window.scrollX,top:window.scrollY});function M0(t){let e;if("el"in t){const n=t.el,s=typeof n=="string"&&n.startsWith("#"),i=typeof n=="string"?s?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!i)return;e=I0(i,t)}else e=t;"scrollBehavior"in document.documentElement.style?window.scrollTo(e):window.scrollTo(e.left!=null?e.left:window.scrollX,e.top!=null?e.top:window.scrollY)}function Wc(t,e){return(history.state?history.state.position-e:-1)+t}const sa=new Map;function R0(t,e){sa.set(t,e)}function D0(t){const e=sa.get(t);return sa.delete(t),e}let H0=()=>location.protocol+"//"+location.host;function Dd(t,e){const{pathname:n,search:s,hash:i}=e,r=t.indexOf("#");if(r>-1){let a=i.includes(t.slice(r))?t.slice(r).length:1,l=i.slice(a);return l[0]!=="/"&&(l="/"+l),Bc(l,"")}return Bc(n,t)+s+i}function V0(t,e,n,s){let i=[],r=[],o=null;const a=({state:h})=>{const p=Dd(t,location),m=n.value,v=e.value;let w=0;if(h){if(n.value=p,e.value=h,o&&o===m){o=null;return}w=v?h.position-v.position:0}else s(p);i.forEach(C=>{C(n.value,m,{delta:w,type:yi.pop,direction:w?w>0?ri.forward:ri.back:ri.unknown})})};function l(){o=n.value}function c(h){i.push(h);const p=()=>{const m=i.indexOf(h);m>-1&&i.splice(m,1)};return r.push(p),p}function u(){const{history:h}=window;h.state&&h.replaceState(ke({},h.state,{scroll:Zr()}),"")}function d(){for(const h of r)h();r=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:l,listen:c,destroy:d}}function Gc(t,e,n,s=!1,i=!1){return{back:t,current:e,forward:n,replaced:s,position:window.history.length,scroll:i?Zr():null}}function N0(t){const{history:e,location:n}=window,s={value:Dd(t,n)},i={value:e.state};i.value||r(s.value,{back:null,current:s.value,forward:null,position:e.length-1,replaced:!0,scroll:null},!0);function r(l,c,u){const d=t.indexOf("#"),h=d>-1?(n.host&&document.querySelector("base")?t:t.slice(d))+l:H0()+t+l;try{e[u?"replaceState":"pushState"](c,"",h),i.value=c}catch(p){console.error(p),n[u?"replace":"assign"](h)}}function o(l,c){const u=ke({},e.state,Gc(i.value.back,l,i.value.forward,!0),c,{position:i.value.position});r(l,u,!0),s.value=l}function a(l,c){const u=ke({},i.value,e.state,{forward:l,scroll:Zr()});r(u.current,u,!0);const d=ke({},Gc(s.value,l,null),{position:u.position+1},c);r(l,d,!1),s.value=l}return{location:s,state:i,push:a,replace:o}}function j0(t){t=A0(t);const e=N0(t),n=V0(t,e.state,e.location,e.replace);function s(r,o=!0){o||n.pauseListeners(),history.go(r)}const i=ke({location:"",base:t,go:s,createHref:O0.bind(null,t)},e,n);return Object.defineProperty(i,"location",{enumerable:!0,get:()=>e.location.value}),Object.defineProperty(i,"state",{enumerable:!0,get:()=>e.state.value}),i}function F0(t){return typeof t=="string"||t&&typeof t=="object"}function Hd(t){return typeof t=="string"||typeof t=="symbol"}const Vd=Symbol("");var Uc;(function(t){t[t.aborted=4]="aborted",t[t.cancelled=8]="cancelled",t[t.duplicated=16]="duplicated"})(Uc||(Uc={}));function Os(t,e){return ke(new Error,{type:t,[Vd]:!0},e)}function cn(t,e){return t instanceof Error&&Vd in t&&(e==null||!!(t.type&e))}const Kc="[^/]+?",q0={sensitive:!1,strict:!1,start:!0,end:!0},B0=/[.+*?^${}()[\]/\\]/g;function z0(t,e){const n=ke({},q0,e),s=[];let i=n.start?"^":"";const r=[];for(const c of t){const u=c.length?[]:[90];n.strict&&!c.length&&(i+="/");for(let d=0;de.length?e.length===1&&e[0]===80?1:-1:0}function Nd(t,e){let n=0;const s=t.score,i=e.score;for(;n0&&e[e.length-1]<0}const G0={type:0,value:""},U0=/[a-zA-Z0-9_]/;function K0(t){if(!t)return[[]];if(t==="/")return[[G0]];if(!t.startsWith("/"))throw new Error(`Invalid path "${t}"`);function e(p){throw new Error(`ERR (${n})/"${c}": ${p}`)}let n=0,s=n;const i=[];let r;function o(){r&&i.push(r),r=[]}let a=0,l,c="",u="";function d(){c&&(n===0?r.push({type:0,value:c}):n===1||n===2||n===3?(r.length>1&&(l==="*"||l==="+")&&e(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),r.push({type:1,value:c,regexp:u,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):e("Invalid state to consume buffer"),c="")}function h(){c+=l}for(;a{o(y)}:ii}function o(d){if(Hd(d)){const h=s.get(d);h&&(s.delete(d),n.splice(n.indexOf(h),1),h.children.forEach(o),h.alias.forEach(o))}else{const h=n.indexOf(d);h>-1&&(n.splice(h,1),d.record.name&&s.delete(d.record.name),d.children.forEach(o),d.alias.forEach(o))}}function a(){return n}function l(d){const h=ep(d,n);n.splice(h,0,d),d.record.name&&!Qc(d)&&s.set(d.record.name,d)}function c(d,h){let p,m={},v,w;if("name"in d&&d.name){if(p=s.get(d.name),!p)throw Os(1,{location:d});w=p.record.name,m=ke(Yc(h.params,p.keys.filter(y=>!y.optional).concat(p.parent?p.parent.keys.filter(y=>y.optional):[]).map(y=>y.name)),d.params&&Yc(d.params,p.keys.map(y=>y.name))),v=p.stringify(m)}else if(d.path!=null)v=d.path,p=n.find(y=>y.re.test(v)),p&&(m=p.parse(v),w=p.record.name);else{if(p=h.name?s.get(h.name):n.find(y=>y.re.test(h.path)),!p)throw Os(1,{location:d,currentLocation:h});w=p.record.name,m=ke({},h.params,d.params),v=p.stringify(m)}const C=[];let k=p;for(;k;)C.unshift(k.record),k=k.parent;return{name:w,path:v,params:m,matched:C,meta:J0(C)}}t.forEach(d=>r(d));function u(){n.length=0,s.clear()}return{addRoute:r,resolve:c,removeRoute:o,clearRoutes:u,getRoutes:a,getRecordMatcher:i}}function Yc(t,e){const n={};for(const s of e)s in t&&(n[s]=t[s]);return n}function Q0(t){return{path:t.path,redirect:t.redirect,name:t.name,meta:t.meta||{},aliasOf:void 0,beforeEnter:t.beforeEnter,props:X0(t),children:t.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in t?t.components||null:t.component&&{default:t.component}}}function X0(t){const e={},n=t.props||!1;if("component"in t)e.default=n;else for(const s in t.components)e[s]=typeof n=="object"?n[s]:n;return e}function Qc(t){for(;t;){if(t.record.aliasOf)return!0;t=t.parent}return!1}function J0(t){return t.reduce((e,n)=>ke(e,n.meta),{})}function Xc(t,e){const n={};for(const s in t)n[s]=s in e?e[s]:t[s];return n}function ep(t,e){let n=0,s=e.length;for(;n!==s;){const r=n+s>>1;Nd(t,e[r])<0?s=r:n=r+1}const i=tp(t);return i&&(s=e.lastIndexOf(i,s-1)),s}function tp(t){let e=t;for(;e=e.parent;)if(jd(e)&&Nd(t,e)===0)return e}function jd({record:t}){return!!(t.name||t.components&&Object.keys(t.components).length||t.redirect)}function np(t){const e={};if(t===""||t==="?")return e;const s=(t[0]==="?"?t.slice(1):t).split("&");for(let i=0;ir&&na(r)):[s&&na(s)]).forEach(r=>{r!==void 0&&(e+=(e.length?"&":"")+n,r!=null&&(e+="="+r))})}return e}function sp(t){const e={};for(const n in t){const s=t[n];s!==void 0&&(e[n]=Wt(s)?s.map(i=>i==null?null:""+i):s==null?s:""+s)}return e}const ip=Symbol(""),eu=Symbol(""),Yr=Symbol(""),il=Symbol(""),ia=Symbol("");function Us(){let t=[];function e(s){return t.push(s),()=>{const i=t.indexOf(s);i>-1&&t.splice(i,1)}}function n(){t=[]}return{add:e,list:()=>t.slice(),reset:n}}function Ln(t,e,n,s,i,r=o=>o()){const o=s&&(s.enterCallbacks[i]=s.enterCallbacks[i]||[]);return()=>new Promise((a,l)=>{const c=h=>{h===!1?l(Os(4,{from:n,to:e})):h instanceof Error?l(h):F0(h)?l(Os(2,{from:e,to:h})):(o&&s.enterCallbacks[i]===o&&typeof h=="function"&&o.push(h),a())},u=r(()=>t.call(s&&s.instances[i],e,n,c));let d=Promise.resolve(u);t.length<3&&(d=d.then(c)),d.catch(h=>l(h))})}function Eo(t,e,n,s,i=r=>r()){const r=[];for(const o of t)for(const a in o.components){let l=o.components[a];if(!(e!=="beforeRouteEnter"&&!o.instances[a]))if(rp(l)){const u=(l.__vccOpts||l)[e];u&&r.push(Ln(u,n,s,o,a,i))}else{let c=l();r.push(()=>c.then(u=>{if(!u)return Promise.reject(new Error(`Couldn't resolve component "${a}" at "${o.path}"`));const d=u0(u)?u.default:u;o.components[a]=d;const p=(d.__vccOpts||d)[e];return p&&Ln(p,n,s,o,a,i)()}))}}return r}function rp(t){return typeof t=="object"||"displayName"in t||"props"in t||"__vccOpts"in t}function tu(t){const e=je(Yr),n=je(il),s=S(()=>{const l=Nt(t.to);return e.resolve(l)}),i=S(()=>{const{matched:l}=s.value,{length:c}=l,u=l[c-1],d=n.matched;if(!u||!d.length)return-1;const h=d.findIndex(Ps.bind(null,u));if(h>-1)return h;const p=nu(l[c-2]);return c>1&&nu(u)===p&&d[d.length-1].path!==p?d.findIndex(Ps.bind(null,l[c-2])):h}),r=S(()=>i.value>-1&&cp(n.params,s.value.params)),o=S(()=>i.value>-1&&i.value===n.matched.length-1&&Rd(n.params,s.value.params));function a(l={}){return lp(l)?e[Nt(t.replace)?"replace":"push"](Nt(t.to)).catch(ii):Promise.resolve()}return{route:s,href:S(()=>s.value.href),isActive:r,isExactActive:o,navigate:a}}const op=K({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:tu,setup(t,{slots:e}){const n=Ai(tu(t)),{options:s}=je(Yr),i=S(()=>({[su(t.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[su(t.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const r=e.default&&e.default(n);return t.custom?r:f("a",{"aria-current":n.isExactActive?t.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:i.value},r)}}}),ap=op;function lp(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)&&!t.defaultPrevented&&!(t.button!==void 0&&t.button!==0)){if(t.currentTarget&&t.currentTarget.getAttribute){const e=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}return t.preventDefault&&t.preventDefault(),!0}}function cp(t,e){for(const n in e){const s=e[n],i=t[n];if(typeof s=="string"){if(s!==i)return!1}else if(!Wt(i)||i.length!==s.length||s.some((r,o)=>r!==i[o]))return!1}return!0}function nu(t){return t?t.aliasOf?t.aliasOf.path:t.path:""}const su=(t,e,n)=>t??e??n,up=K({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(t,{attrs:e,slots:n}){const s=je(ia),i=S(()=>t.route||s.value),r=je(eu,0),o=S(()=>{let c=Nt(r);const{matched:u}=i.value;let d;for(;(d=u[c])&&!d.components;)c++;return c}),a=S(()=>i.value.matched[o.value]);Jn(eu,S(()=>o.value+1)),Jn(ip,a),Jn(ia,i);const l=Q();return he(()=>[l.value,a.value,t.name],([c,u,d],[h,p,m])=>{u&&(u.instances[d]=c,p&&p!==u&&c&&c===h&&(u.leaveGuards.size||(u.leaveGuards=p.leaveGuards),u.updateGuards.size||(u.updateGuards=p.updateGuards))),c&&u&&(!p||!Ps(u,p)||!h)&&(u.enterCallbacks[d]||[]).forEach(v=>v(c))},{flush:"post"}),()=>{const c=i.value,u=t.name,d=a.value,h=d&&d.components[u];if(!h)return iu(n.default,{Component:h,route:c});const p=d.props[u],m=p?p===!0?c.params:typeof p=="function"?p(c):p:null,w=f(h,ke({},m,e,{onVnodeUnmounted:C=>{C.component.isUnmounted&&(d.instances[u]=null)},ref:l}));return iu(n.default,{Component:w,route:c})||w}}});function iu(t,e){if(!t)return null;const n=t(e);return n.length===1?n[0]:n}const dp=up;function fp(t){const e=Y0(t.routes,t),n=t.parseQuery||np,s=t.stringifyQuery||Jc,i=t.history,r=Us(),o=Us(),a=Us(),l=Fe(dn);let c=dn;ps&&t.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=wo.bind(null,$=>""+$),d=wo.bind(null,E0),h=wo.bind(null,vi);function p($,W){let H,U;return Hd($)?(H=e.getRecordMatcher($),U=W):U=$,e.addRoute(U,H)}function m($){const W=e.getRecordMatcher($);W&&e.removeRoute(W)}function v(){return e.getRoutes().map($=>$.record)}function w($){return!!e.getRecordMatcher($)}function C($,W){if(W=ke({},W||l.value),typeof $=="string"){const b=ko(n,$,W.path),T=e.resolve({path:b.path},W),O=i.createHref(b.fullPath);return ke(b,T,{params:h(T.params),hash:vi(b.hash),redirectedFrom:void 0,href:O})}let H;if($.path!=null)H=ke({},$,{path:ko(n,$.path,W.path).path});else{const b=ke({},$.params);for(const T in b)b[T]==null&&delete b[T];H=ke({},$,{params:d(b)}),W.params=d(W.params)}const U=e.resolve(H,W),le=$.hash||"";U.params=u(h(U.params));const ye=$0(s,ke({},$,{hash:C0(le),path:U.path})),g=i.createHref(ye);return ke({fullPath:ye,hash:le,query:s===Jc?sp($.query):$.query||{}},U,{redirectedFrom:void 0,href:g})}function k($){return typeof $=="string"?ko(n,$,l.value.path):ke({},$)}function y($,W){if(c!==$)return Os(8,{from:W,to:$})}function E($){return A($)}function x($){return E(ke(k($),{replace:!0}))}function P($){const W=$.matched[$.matched.length-1];if(W&&W.redirect){const{redirect:H}=W;let U=typeof H=="function"?H($):H;return typeof U=="string"&&(U=U.includes("?")||U.includes("#")?U=k(U):{path:U},U.params={}),ke({query:$.query,hash:$.hash,params:U.path!=null?{}:$.params},U)}}function A($,W){const H=c=C($),U=l.value,le=$.state,ye=$.force,g=$.replace===!0,b=P(H);if(b)return A(ke(k(b),{state:typeof b=="object"?ke({},le,b.state):le,force:ye,replace:g}),W||H);const T=H;T.redirectedFrom=W;let O;return!ye&&_0(s,U,H)&&(O=Os(16,{to:T,from:U}),ze(U,U,!0,!1)),(O?Promise.resolve(O):L(T,U)).catch(_=>cn(_)?cn(_,2)?_:Re(_):V(_,T,U)).then(_=>{if(_){if(cn(_,2))return A(ke({replace:g},k(_.to),{state:typeof _.to=="object"?ke({},le,_.to.state):le,force:ye}),W||T)}else _=I(T,U,!0,g,le);return N(T,U,_),_})}function F($,W){const H=y($,W);return H?Promise.reject(H):Promise.resolve()}function D($){const W=ot.values().next().value;return W&&typeof W.runWithContext=="function"?W.runWithContext($):$()}function L($,W){let H;const[U,le,ye]=hp($,W);H=Eo(U.reverse(),"beforeRouteLeave",$,W);for(const b of U)b.leaveGuards.forEach(T=>{H.push(Ln(T,$,W))});const g=F.bind(null,$,W);return H.push(g),He(H).then(()=>{H=[];for(const b of r.list())H.push(Ln(b,$,W));return H.push(g),He(H)}).then(()=>{H=Eo(le,"beforeRouteUpdate",$,W);for(const b of le)b.updateGuards.forEach(T=>{H.push(Ln(T,$,W))});return H.push(g),He(H)}).then(()=>{H=[];for(const b of ye)if(b.beforeEnter)if(Wt(b.beforeEnter))for(const T of b.beforeEnter)H.push(Ln(T,$,W));else H.push(Ln(b.beforeEnter,$,W));return H.push(g),He(H)}).then(()=>($.matched.forEach(b=>b.enterCallbacks={}),H=Eo(ye,"beforeRouteEnter",$,W,D),H.push(g),He(H))).then(()=>{H=[];for(const b of o.list())H.push(Ln(b,$,W));return H.push(g),He(H)}).catch(b=>cn(b,8)?b:Promise.reject(b))}function N($,W,H){a.list().forEach(U=>D(()=>U($,W,H)))}function I($,W,H,U,le){const ye=y($,W);if(ye)return ye;const g=W===dn,b=ps?history.state:{};H&&(U||g?i.replace($.fullPath,ke({scroll:g&&b&&b.scroll},le)):i.push($.fullPath,le)),l.value=$,ze($,W,H,g),Re()}let Z;function J(){Z||(Z=i.listen(($,W,H)=>{if(!st.listening)return;const U=C($),le=P(U);if(le){A(ke(le,{replace:!0}),U).catch(ii);return}c=U;const ye=l.value;ps&&R0(Wc(ye.fullPath,H.delta),Zr()),L(U,ye).catch(g=>cn(g,12)?g:cn(g,2)?(A(g.to,U).then(b=>{cn(b,20)&&!H.delta&&H.type===yi.pop&&i.go(-1,!1)}).catch(ii),Promise.reject()):(H.delta&&i.go(-H.delta,!1),V(g,U,ye))).then(g=>{g=g||I(U,ye,!1),g&&(H.delta&&!cn(g,8)?i.go(-H.delta,!1):H.type===yi.pop&&cn(g,20)&&i.go(-1,!1)),N(U,ye,g)}).catch(ii)}))}let ae=Us(),q=Us(),j;function V($,W,H){Re($);const U=q.list();return U.length?U.forEach(le=>le($,W,H)):console.error($),Promise.reject($)}function ue(){return j&&l.value!==dn?Promise.resolve():new Promise(($,W)=>{ae.add([$,W])})}function Re($){return j||(j=!$,J(),ae.list().forEach(([W,H])=>$?H($):W()),ae.reset()),$}function ze($,W,H,U){const{scrollBehavior:le}=t;if(!ps||!le)return Promise.resolve();const ye=!H&&D0(Wc($.fullPath,0))||(U||!H)&&history.state&&history.state.scroll||null;return an().then(()=>le($,W,ye)).then(g=>g&&M0(g)).catch(g=>V(g,$,W))}const De=$=>i.go($);let Ze;const ot=new Set,st={currentRoute:l,listening:!0,addRoute:p,removeRoute:m,clearRoutes:e.clearRoutes,hasRoute:w,getRoutes:v,resolve:C,options:t,push:E,replace:x,go:De,back:()=>De(-1),forward:()=>De(1),beforeEach:r.add,beforeResolve:o.add,afterEach:a.add,onError:q.add,isReady:ue,install($){const W=this;$.component("RouterLink",ap),$.component("RouterView",dp),$.config.globalProperties.$router=W,Object.defineProperty($.config.globalProperties,"$route",{enumerable:!0,get:()=>Nt(l)}),ps&&!Ze&&l.value===dn&&(Ze=!0,E(i.location).catch(le=>{}));const H={};for(const le in dn)Object.defineProperty(H,le,{get:()=>l.value[le],enumerable:!0});$.provide(Yr,W),$.provide(il,O1(H)),$.provide(ia,l);const U=$.unmount;ot.add($),$.unmount=function(){ot.delete($),ot.size<1&&(c=dn,Z&&Z(),Z=null,l.value=dn,Ze=!1,j=!1),U()}}};function He($){return $.reduce((W,H)=>W.then(()=>D(H)),Promise.resolve())}return st}function hp(t,e){const n=[],s=[],i=[],r=Math.max(e.matched.length,t.matched.length);for(let o=0;oPs(c,a))?s.push(a):n.push(a));const l=t.matched[o];l&&(e.matched.find(c=>Ps(c,l))||i.push(l))}return[n,s,i]}function Fs(){return je(Yr)}function ln(t){return je(il)}var rl=Symbol(""),Zt=()=>{const t=je(rl);if(!t)throw new Error("useClientData() is called without provider.");return t},pp=()=>Zt().pageComponent,qe=()=>Zt().pageData,Ie=()=>Zt().pageFrontmatter,mp=()=>Zt().pageHead,ol=()=>Zt().pageLang,gp=()=>Zt().pageLayout,Fn=()=>Zt().routeLocale,vp=()=>Zt().routePath,Fd=()=>Zt().routes,al=()=>Zt().siteData,Hi=()=>Zt().siteLocaleData,yp=Symbol(""),ra=Fe(l0),Es=Fe(c0),qd=(t,e)=>{const n=X6(t,e);if(Es.value[n])return n;const s=encodeURI(n);if(Es.value[s])return s;const i=ra.value[n]||ra.value[s];return i||n},pn=(t,e)=>{const{pathname:n,hashAndQueries:s}=_d(t),i=qd(n,e),r=i+s;return Es.value[i]?{...Es.value[i],path:r,notFound:!1}:{...Es.value["/404.html"],path:r,notFound:!0}},bp=(t,e)=>{const{pathname:n,hashAndQueries:s}=_d(t);return qd(n,e)+s},Cp=t=>{if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)&&!t.defaultPrevented&&!(t.button!==void 0&&t.button!==0)){if(t.currentTarget){const e=t.currentTarget.getAttribute("target");if(e!=null&&e.match(/\b_blank\b/i))return}return t.preventDefault(),!0}},Mt=K({name:"RouteLink",props:{to:{type:String,required:!0},active:Boolean,activeClass:{type:String,default:"route-link-active"}},slots:Object,setup(t,{slots:e}){const n=Fs(),s=ln(),i=S(()=>t.to.startsWith("#")||t.to.startsWith("?")?t.to:`/${bp(t.to,s.path).substring(1)}`);return()=>{var r;return f("a",{class:["route-link",{[t.activeClass]:t.active}],href:i.value,onClick:(o={})=>{Cp(o)&&n.push(t.to).catch()}},(r=e.default)==null?void 0:r.call(e))}}}),wp=K({name:"AutoLink",props:{config:{type:Object,required:!0}},slots:Object,setup(t,{slots:e}){const n=zr(t,"config"),s=ln(),i=al(),r=S(()=>Di(n.value.link)),o=S(()=>n.value.target||(r.value?"_blank":void 0)),a=S(()=>o.value==="_blank"),l=S(()=>!r.value&&!a.value),c=S(()=>n.value.rel||(a.value?"noopener noreferrer":null)),u=S(()=>n.value.ariaLabel??n.value.text),d=S(()=>{if(n.value.exact)return!1;const p=Object.keys(i.value.locales);return p.length?p.every(m=>m!==n.value.link):n.value.link!=="/"}),h=S(()=>l.value?n.value.activeMatch?(n.value.activeMatch instanceof RegExp?n.value.activeMatch:new RegExp(n.value.activeMatch,"u")).test(s.path):d.value?s.path.startsWith(n.value.link):s.path===n.value.link:!1);return()=>{const{before:p,after:m,default:v}=e,w=(v==null?void 0:v(n.value))||[p==null?void 0:p(n.value),n.value.text,m==null?void 0:m(n.value)];return l.value?f(Mt,{class:"auto-link",to:n.value.link,active:h.value,"aria-label":u.value},()=>w):f("a",{class:"auto-link external-link",href:n.value.link,"aria-label":u.value,rel:c.value,target:o.value},w)}}}),Qr=K({name:"ClientOnly",setup(t,e){const n=Q(!1);return we(()=>{n.value=!0}),()=>{var s,i;return n.value?(i=(s=e.slots).default)==null?void 0:i.call(s):null}}}),Bd=K({name:"Content",props:{path:{type:String,required:!1,default:""}},setup(t){const e=pp(),n=S(()=>{if(!t.path)return e.value;const s=pn(t.path);return G1(()=>s.loader().then(({comp:i})=>i))});return()=>f(n.value)}}),kp="Layout",Ep="en-US",Wn=Ai({resolveLayouts:t=>t.reduce((e,n)=>({...e,...n.layouts}),{}),resolvePageHead:(t,e,n)=>{const s=Oe(e.description)?e.description:n.description,i=[...Array.isArray(e.head)?e.head:[],...n.head,["title",{},t],["meta",{name:"description",content:s}]];return i0(i)},resolvePageHeadTitle:(t,e)=>[t.title,e.title].filter(n=>!!n).join(" | "),resolvePageLang:(t,e)=>t.lang||e.lang||Ep,resolvePageLayout:(t,e)=>{const n=Oe(t.frontmatter.layout)?t.frontmatter.layout:kp;if(!e[n])throw new Error(`[vuepress] Cannot resolve layout: ${n}`);return e[n]},resolveRouteLocale:(t,e)=>J6(t,decodeURI(e)),resolveSiteLocaleData:({base:t,locales:e,...n},s)=>{var i;return{...n,...e[s],head:[...((i=e[s])==null?void 0:i.head)??[],...n.head??[]]}}}),Dt=(t={})=>t,We=t=>Ns(t)?t:`/${xd(t)}`;const Tp=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),Sp=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),gn=t=>{const e=Fn();return S(()=>t[e.value]??{})},$p=()=>{const t=Fd();return S(()=>Object.keys(t.value))};var vt=Uint8Array,vs=Uint16Array,_p=Int32Array,zd=new vt([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),Wd=new vt([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),Lp=new vt([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),Gd=function(t,e){for(var n=new vs(31),s=0;s<31;++s)n[s]=e+=1<>1|(Pe&21845)<<1;wn=(wn&52428)>>2|(wn&13107)<<2,wn=(wn&61680)>>4|(wn&3855)<<4,oa[Pe]=((wn&65280)>>8|(wn&255)<<8)>>1}var oi=function(t,e,n){for(var s=t.length,i=0,r=new vs(e);i>l]=c}else for(a=new vs(s),i=0;i>15-t[i]);return a},Vi=new vt(288);for(var Pe=0;Pe<144;++Pe)Vi[Pe]=8;for(var Pe=144;Pe<256;++Pe)Vi[Pe]=9;for(var Pe=256;Pe<280;++Pe)Vi[Pe]=7;for(var Pe=280;Pe<288;++Pe)Vi[Pe]=8;var Zd=new vt(32);for(var Pe=0;Pe<32;++Pe)Zd[Pe]=5;var Op=oi(Vi,9,1),Ip=oi(Zd,5,1),To=function(t){for(var e=t[0],n=1;ne&&(e=t[n]);return e},Vt=function(t,e,n){var s=e/8|0;return(t[s]|t[s+1]<<8)>>(e&7)&n},So=function(t,e){var n=e/8|0;return(t[n]|t[n+1]<<8|t[n+2]<<16)>>(e&7)},Mp=function(t){return(t+7)/8|0},Yd=function(t,e,n){return(e==null||e<0)&&(e=0),(n==null||n>t.length)&&(n=t.length),new vt(t.subarray(e,n))},Rp=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],_t=function(t,e,n){var s=new Error(e||Rp[t]);if(s.code=t,Error.captureStackTrace&&Error.captureStackTrace(s,_t),!n)throw s;return s},Dp=function(t,e,n,s){var i=t.length,r=0;if(!i||e.f&&!e.l)return n||new vt(0);var o=!n,a=o||e.i!=2,l=e.i;o&&(n=new vt(i*3));var c=function(le){var ye=n.length;if(le>ye){var g=new vt(Math.max(ye*2,le));g.set(n),n=g}},u=e.f||0,d=e.p||0,h=e.b||0,p=e.l,m=e.d,v=e.m,w=e.n,C=i*8;do{if(!p){u=Vt(t,d,1);var k=Vt(t,d+1,3);if(d+=3,k)if(k==1)p=Op,m=Ip,v=9,w=5;else if(k==2){var P=Vt(t,d,31)+257,A=Vt(t,d+10,15)+4,F=P+Vt(t,d+5,31)+1;d+=14;for(var D=new vt(F),L=new vt(19),N=0;N>4;if(y<16)D[N++]=y;else{var q=0,j=0;for(y==16?(j=3+Vt(t,d,3),d+=2,q=D[N-1]):y==17?(j=3+Vt(t,d,7),d+=3):y==18&&(j=11+Vt(t,d,127),d+=7);j--;)D[N++]=q}}var V=D.subarray(0,P),ue=D.subarray(P);v=To(V),w=To(ue),p=oi(V,v,1),m=oi(ue,w,1)}else _t(1);else{var y=Mp(d)+4,E=t[y-4]|t[y-3]<<8,x=y+E;if(x>i){l&&_t(0);break}a&&c(h+E),n.set(t.subarray(y,x),h),e.b=h+=E,e.p=d=x*8,e.f=u;continue}if(d>C){l&&_t(0);break}}a&&c(h+131072);for(var Re=(1<>4;if(d+=q&15,d>C){l&&_t(0);break}if(q||_t(2),Ze<256)n[h++]=Ze;else if(Ze==256){De=d,p=null;break}else{var ot=Ze-254;if(Ze>264){var N=Ze-257,st=zd[N];ot=Vt(t,d,(1<>4;He||_t(3),d+=He&15;var ue=Pp[$];if($>3){var st=Wd[$];ue+=So(t,d)&(1<C){l&&_t(0);break}a&&c(h+131072);var W=h+ot;if(h>4>7||(t[0]<<8|t[1])%31)&&_t(6,"invalid zlib data"),(t[1]>>5&1)==+!e&&_t(6,"invalid zlib data: "+(t[1]&32?"need":"unexpected")+" dictionary"),(t[1]>>3&4)+2};function Np(t,e){return Dp(t.subarray(Vp(t,e),-4),{i:2},e,e)}var aa=typeof TextDecoder<"u"&&new TextDecoder,jp=0;try{aa.decode(Hp,{stream:!0}),jp=1}catch{}var Fp=function(t){for(var e="",n=0;;){var s=t[n++],i=(s>127)+(s>223)+(s>239);if(n+i>t.length)return{s:e,r:Yd(t,n-1)};i?i==3?(s=((s&15)<<18|(t[n++]&63)<<12|(t[n++]&63)<<6|t[n++]&63)-65536,e+=String.fromCharCode(55296|s>>10,56320|s&1023)):i&1?e+=String.fromCharCode((s&31)<<6|t[n++]&63):e+=String.fromCharCode((s&15)<<12|(t[n++]&63)<<6|t[n++]&63):e+=String.fromCharCode(s)}};function qp(t,e){{for(var n=new vt(t.length),s=0;s{const e=atob(t);return Bp(Np(qp(e)))},Xe=(t,e)=>{var s;const n=(s=(e==null?void 0:e._instance)||Vs())==null?void 0:s.appContext.components;return n?t in n||wt(t)in n||xi(wt(t))in n:!1},Qd=t=>new Promise(e=>setTimeout(e,t)),Xd=t=>typeof t<"u",$o=t=>typeof t=="number",Er=Array.isArray,Is=(t,e)=>Oe(t)&&t.startsWith(e),zp=(t,e)=>Oe(t)&&t.endsWith(e),Jd=Object.entries,as=Object.keys,Wp=Object.values,Gp=t=>{if(t){if(typeof t=="number")return new Date(t);const e=Date.parse(t.toString());if(!Number.isNaN(e))return new Date(e)}return null},ll=t=>Is(t,"/");function qs(t){return C1()?(Lf(t),!0):!1}function Je(t){return typeof t=="function"?t():Nt(t)}const Ni=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Up=Object.prototype.toString,Kp=t=>Up.call(t)==="[object Object]",nn=()=>{},la=Zp();function Zp(){var t,e;return Ni&&((t=window==null?void 0:window.navigator)==null?void 0:t.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((e=window==null?void 0:window.navigator)==null?void 0:e.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function cl(t,e){function n(...s){return new Promise((i,r)=>{Promise.resolve(t(()=>e.apply(this,s),{fn:e,thisArg:this,args:s})).then(i).catch(r)})}return n}const e3=t=>t();function Yp(t,e={}){let n,s,i=nn;const r=a=>{clearTimeout(a),i(),i=nn};return a=>{const l=Je(t),c=Je(e.maxWait);return n&&r(n),l<=0||c!==void 0&&c<=0?(s&&(r(s),s=null),Promise.resolve(a())):new Promise((u,d)=>{i=e.rejectOnCancel?d:u,c&&!s&&(s=setTimeout(()=>{n&&r(n),s=null,u(a())},c)),n=setTimeout(()=>{s&&r(s),s=null,u(a())},l)})}}function Qp(...t){let e=0,n,s=!0,i=nn,r,o,a,l,c;!Ke(t[0])&&typeof t[0]=="object"?{delay:o,trailing:a=!0,leading:l=!0,rejectOnCancel:c=!1}=t[0]:[o,a=!0,l=!0,c=!1]=t;const u=()=>{n&&(clearTimeout(n),n=void 0,i(),i=nn)};return h=>{const p=Je(o),m=Date.now()-e,v=()=>r=h();return u(),p<=0?(e=Date.now(),v()):(m>p&&(l||!s)?(e=Date.now(),v()):a&&(r=new Promise((w,C)=>{i=c?C:w,n=setTimeout(()=>{e=Date.now(),s=!0,w(v()),u()},Math.max(0,p-m))})),!l&&!n&&(n=setTimeout(()=>s=!0,p)),s=!1,r)}}function Xp(t=e3){const e=Q(!0);function n(){e.value=!1}function s(){e.value=!0}const i=(...r)=>{e.value&&t(...r)};return{isActive:Pi(e),pause:n,resume:s,eventFilter:i}}function Jp(t){let e;function n(){return e||(e=t()),e}return n.reset=async()=>{const s=e;e=void 0,s&&await s},n}function t3(t){return Vs()}function e4(...t){if(t.length!==1)return zr(...t);const e=t[0];return typeof e=="function"?Pi(H1(()=>({get:e,set:nn}))):Q(e)}function n3(t,e=200,n={}){return cl(Yp(e,n),t)}function t4(t,e=200,n=!1,s=!0,i=!1){return cl(Qp(e,n,s,i),t)}function n4(t,e,n={}){const{eventFilter:s=e3,...i}=n;return he(t,cl(s,e),i)}function s4(t,e,n={}){const{eventFilter:s,...i}=n,{eventFilter:r,pause:o,resume:a,isActive:l}=Xp(s);return{stop:n4(t,e,{...i,eventFilter:r}),pause:o,resume:a,isActive:l}}function Xr(t,e=!0,n){t3()?we(t,n):e?t():an(t)}function i4(t,e){t3()&&jn(t,e)}function r4(t,e,n={}){const{immediate:s=!0}=n,i=Q(!1);let r=null;function o(){r&&(clearTimeout(r),r=null)}function a(){i.value=!1,o()}function l(...c){o(),i.value=!0,r=setTimeout(()=>{i.value=!1,r=null,t(...c)},Je(e))}return s&&(i.value=!0,Ni&&l()),qs(a),{isPending:Pi(i),start:l,stop:a}}function bi(t=!1,e={}){const{truthyValue:n=!0,falsyValue:s=!1}=e,i=Ke(t),r=Q(t);function o(a){if(arguments.length)return r.value=a,r.value;{const l=Je(n);return r.value=r.value===l?Je(s):l,r.value}}return i?o:[r,o]}function bt(t){var e;const n=Je(t);return(e=n==null?void 0:n.$el)!=null?e:n}const Gt=Ni?window:void 0,s3=Ni?window.document:void 0,i3=Ni?window.navigator:void 0;function $e(...t){let e,n,s,i;if(typeof t[0]=="string"||Array.isArray(t[0])?([n,s,i]=t,e=Gt):[e,n,s,i]=t,!e)return nn;Array.isArray(n)||(n=[n]),Array.isArray(s)||(s=[s]);const r=[],o=()=>{r.forEach(u=>u()),r.length=0},a=(u,d,h,p)=>(u.addEventListener(d,h,p),()=>u.removeEventListener(d,h,p)),l=he(()=>[bt(e),Je(i)],([u,d])=>{if(o(),!u)return;const h=Kp(d)?{...d}:d;r.push(...n.flatMap(p=>s.map(m=>a(u,p,m,h))))},{immediate:!0,flush:"post"}),c=()=>{l(),o()};return qs(c),c}let ou=!1;function o4(t,e,n={}){const{window:s=Gt,ignore:i=[],capture:r=!0,detectIframe:o=!1}=n;if(!s)return nn;la&&!ou&&(ou=!0,Array.from(s.document.body.children).forEach(h=>h.addEventListener("click",nn)),s.document.documentElement.addEventListener("click",nn));let a=!0;const l=h=>i.some(p=>{if(typeof p=="string")return Array.from(s.document.querySelectorAll(p)).some(m=>m===h.target||h.composedPath().includes(m));{const m=bt(p);return m&&(h.target===m||h.composedPath().includes(m))}}),u=[$e(s,"click",h=>{const p=bt(t);if(!(!p||p===h.target||h.composedPath().includes(p))){if(h.detail===0&&(a=!l(h)),!a){a=!0;return}e(h)}},{passive:!0,capture:r}),$e(s,"pointerdown",h=>{const p=bt(t);a=!l(h)&&!!(p&&!h.composedPath().includes(p))},{passive:!0}),o&&$e(s,"blur",h=>{setTimeout(()=>{var p;const m=bt(t);((p=s.document.activeElement)==null?void 0:p.tagName)==="IFRAME"&&!(m!=null&&m.contains(s.document.activeElement))&&e(h)},0)})].filter(Boolean);return()=>u.forEach(h=>h())}function a4(){const t=Q(!1),e=Vs();return e&&we(()=>{t.value=!0},e),t}function ji(t){const e=a4();return S(()=>(e.value,!!t()))}function ul(t,e={}){const{window:n=Gt}=e,s=ji(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let i;const r=Q(!1),o=c=>{r.value=c.matches},a=()=>{i&&("removeEventListener"in i?i.removeEventListener("change",o):i.removeListener(o))},l=ud(()=>{s.value&&(a(),i=n.matchMedia(Je(t)),"addEventListener"in i?i.addEventListener("change",o):i.addListener(o),r.value=i.matches)});return qs(()=>{l(),a(),i=void 0}),r}function au(t,e={}){const{controls:n=!1,navigator:s=i3}=e,i=ji(()=>s&&"permissions"in s);let r;const o=typeof t=="string"?{name:t}:t,a=Q(),l=()=>{r&&(a.value=r.state)},c=Jp(async()=>{if(i.value){if(!r)try{r=await s.permissions.query(o),$e(r,"change",l),l()}catch{a.value="prompt"}return r}});return c(),n?{state:a,isSupported:i,query:c}:a}function l4(t={}){const{navigator:e=i3,read:n=!1,source:s,copiedDuring:i=1500,legacy:r=!1}=t,o=ji(()=>e&&"clipboard"in e),a=au("clipboard-read"),l=au("clipboard-write"),c=S(()=>o.value||r),u=Q(""),d=Q(!1),h=r4(()=>d.value=!1,i);function p(){o.value&&C(a.value)?e.clipboard.readText().then(k=>{u.value=k}):u.value=w()}c.value&&n&&$e(["copy","cut"],p);async function m(k=Je(s)){c.value&&k!=null&&(o.value&&C(l.value)?await e.clipboard.writeText(k):v(k),u.value=k,d.value=!0,h.start())}function v(k){const y=document.createElement("textarea");y.value=k??"",y.style.position="absolute",y.style.opacity="0",document.body.appendChild(y),y.select(),document.execCommand("copy"),y.remove()}function w(){var k,y,E;return(E=(y=(k=document==null?void 0:document.getSelection)==null?void 0:k.call(document))==null?void 0:y.toString())!=null?E:""}function C(k){return k==="granted"||k==="prompt"}return{isSupported:c,text:u,copied:d,copy:m}}const tr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},nr="__vueuse_ssr_handlers__",c4=u4();function u4(){return nr in tr||(tr[nr]=tr[nr]||{}),tr[nr]}function d4(t,e){return c4[t]||e}function f4(t){return t==null?"any":t instanceof Set?"set":t instanceof Map?"map":t instanceof Date?"date":typeof t=="boolean"?"boolean":typeof t=="string"?"string":typeof t=="object"?"object":Number.isNaN(t)?"any":"number"}const h4={boolean:{read:t=>t==="true",write:t=>String(t)},object:{read:t=>JSON.parse(t),write:t=>JSON.stringify(t)},number:{read:t=>Number.parseFloat(t),write:t=>String(t)},any:{read:t=>t,write:t=>String(t)},string:{read:t=>t,write:t=>String(t)},map:{read:t=>new Map(JSON.parse(t)),write:t=>JSON.stringify(Array.from(t.entries()))},set:{read:t=>new Set(JSON.parse(t)),write:t=>JSON.stringify(Array.from(t))},date:{read:t=>new Date(t),write:t=>t.toISOString()}},lu="vueuse-storage";function ls(t,e,n,s={}){var i;const{flush:r="pre",deep:o=!0,listenToStorageChanges:a=!0,writeDefaults:l=!0,mergeDefaults:c=!1,shallow:u,window:d=Gt,eventFilter:h,onError:p=L=>{console.error(L)},initOnMounted:m}=s,v=(u?Fe:Q)(typeof e=="function"?e():e);if(!n)try{n=d4("getDefaultStorage",()=>{var L;return(L=Gt)==null?void 0:L.localStorage})()}catch(L){p(L)}if(!n)return v;const w=Je(e),C=f4(w),k=(i=s.serializer)!=null?i:h4[C],{pause:y,resume:E}=s4(v,()=>P(v.value),{flush:r,deep:o,eventFilter:h});d&&a&&Xr(()=>{$e(d,"storage",F),$e(d,lu,D),m&&F()}),m||F();function x(L,N){d&&d.dispatchEvent(new CustomEvent(lu,{detail:{key:t,oldValue:L,newValue:N,storageArea:n}}))}function P(L){try{const N=n.getItem(t);if(L==null)x(N,null),n.removeItem(t);else{const I=k.write(L);N!==I&&(n.setItem(t,I),x(N,I))}}catch(N){p(N)}}function A(L){const N=L?L.newValue:n.getItem(t);if(N==null)return l&&w!=null&&n.setItem(t,k.write(w)),w;if(!L&&c){const I=k.read(N);return typeof c=="function"?c(I,w):C==="object"&&!Array.isArray(I)?{...w,...I}:I}else return typeof N!="string"?N:k.read(N)}function F(L){if(!(L&&L.storageArea!==n)){if(L&&L.key==null){v.value=w;return}if(!(L&&L.key!==t)){y();try{(L==null?void 0:L.newValue)!==k.write(v.value)&&(v.value=A(L))}catch(N){p(N)}finally{L?an(E):E()}}}}function D(L){F(L.detail)}return v}function p4(t){return ul("(prefers-color-scheme: dark)",t)}function m4(t,e,n={}){const{window:s=Gt,...i}=n;let r;const o=ji(()=>s&&"ResizeObserver"in s),a=()=>{r&&(r.disconnect(),r=void 0)},l=S(()=>Array.isArray(t)?t.map(d=>bt(d)):[bt(t)]),c=he(l,d=>{if(a(),o.value&&s){r=new ResizeObserver(e);for(const h of d)h&&r.observe(h,i)}},{immediate:!0,flush:"post"}),u=()=>{a(),c()};return qs(u),{isSupported:o,stop:u}}function g4(t,e={width:0,height:0},n={}){const{window:s=Gt,box:i="content-box"}=n,r=S(()=>{var d,h;return(h=(d=bt(t))==null?void 0:d.namespaceURI)==null?void 0:h.includes("svg")}),o=Q(e.width),a=Q(e.height),{stop:l}=m4(t,([d])=>{const h=i==="border-box"?d.borderBoxSize:i==="content-box"?d.contentBoxSize:d.devicePixelContentBoxSize;if(s&&r.value){const p=bt(t);if(p){const m=p.getBoundingClientRect();o.value=m.width,a.value=m.height}}else if(h){const p=Array.isArray(h)?h:[h];o.value=p.reduce((m,{inlineSize:v})=>m+v,0),a.value=p.reduce((m,{blockSize:v})=>m+v,0)}else o.value=d.contentRect.width,a.value=d.contentRect.height},n);Xr(()=>{const d=bt(t);d&&(o.value="offsetWidth"in d?d.offsetWidth:e.width,a.value="offsetHeight"in d?d.offsetHeight:e.height)});const c=he(()=>bt(t),d=>{o.value=d?e.width:0,a.value=d?e.height:0});function u(){l(),c()}return{width:o,height:a,stop:u}}const cu=["fullscreenchange","webkitfullscreenchange","webkitendfullscreen","mozfullscreenchange","MSFullscreenChange"];function dl(t,e={}){const{document:n=s3,autoExit:s=!1}=e,i=S(()=>{var C;return(C=bt(t))!=null?C:n==null?void 0:n.querySelector("html")}),r=Q(!1),o=S(()=>["requestFullscreen","webkitRequestFullscreen","webkitEnterFullscreen","webkitEnterFullScreen","webkitRequestFullScreen","mozRequestFullScreen","msRequestFullscreen"].find(C=>n&&C in n||i.value&&C in i.value)),a=S(()=>["exitFullscreen","webkitExitFullscreen","webkitExitFullScreen","webkitCancelFullScreen","mozCancelFullScreen","msExitFullscreen"].find(C=>n&&C in n||i.value&&C in i.value)),l=S(()=>["fullScreen","webkitIsFullScreen","webkitDisplayingFullscreen","mozFullScreen","msFullscreenElement"].find(C=>n&&C in n||i.value&&C in i.value)),c=["fullscreenElement","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement"].find(C=>n&&C in n),u=ji(()=>i.value&&n&&o.value!==void 0&&a.value!==void 0&&l.value!==void 0),d=()=>c?(n==null?void 0:n[c])===i.value:!1,h=()=>{if(l.value){if(n&&n[l.value]!=null)return n[l.value];{const C=i.value;if((C==null?void 0:C[l.value])!=null)return!!C[l.value]}}return!1};async function p(){if(!(!u.value||!r.value)){if(a.value)if((n==null?void 0:n[a.value])!=null)await n[a.value]();else{const C=i.value;(C==null?void 0:C[a.value])!=null&&await C[a.value]()}r.value=!1}}async function m(){if(!u.value||r.value)return;h()&&await p();const C=i.value;o.value&&(C==null?void 0:C[o.value])!=null&&(await C[o.value](),r.value=!0)}async function v(){await(r.value?p():m())}const w=()=>{const C=h();(!C||C&&d())&&(r.value=C)};return $e(n,cu,w,!1),$e(()=>bt(i),cu,w,!1),s&&qs(p),{isSupported:u,isFullscreen:r,enter:m,exit:p,toggle:v}}function _o(t){return typeof Window<"u"&&t instanceof Window?t.document.documentElement:typeof Document<"u"&&t instanceof Document?t.documentElement:t}function Fv(t,e,n={}){const{window:s=Gt}=n;return ls(t,e,s==null?void 0:s.localStorage,n)}function Lo(t,e=nn,n={}){const{immediate:s=!0,manual:i=!1,type:r="text/javascript",async:o=!0,crossOrigin:a,referrerPolicy:l,noModule:c,defer:u,document:d=s3,attrs:h={}}=n,p=Q(null);let m=null;const v=k=>new Promise((y,E)=>{const x=F=>(p.value=F,y(F),F);if(!d){y(!1);return}let P=!1,A=d.querySelector(`script[src="${Je(t)}"]`);A?A.hasAttribute("data-loaded")&&x(A):(A=d.createElement("script"),A.type=r,A.async=o,A.src=Je(t),u&&(A.defer=u),a&&(A.crossOrigin=a),c&&(A.noModule=c),l&&(A.referrerPolicy=l),Object.entries(h).forEach(([F,D])=>A==null?void 0:A.setAttribute(F,D)),P=!0),A.addEventListener("error",F=>E(F)),A.addEventListener("abort",F=>E(F)),A.addEventListener("load",()=>{A.setAttribute("data-loaded","true"),e(A),x(A)}),P&&(A=d.head.appendChild(A)),k||x(A)}),w=(k=!0)=>(m||(m=v(k)),m),C=()=>{if(!d)return;m=null,p.value&&(p.value=null);const k=d.querySelector(`script[src="${Je(t)}"]`);k&&d.head.removeChild(k)};return s&&!i&&Xr(w),i||i4(C),{scriptTag:p,load:w,unload:C}}function r3(t){const e=window.getComputedStyle(t);if(e.overflowX==="scroll"||e.overflowY==="scroll"||e.overflowX==="auto"&&t.clientWidth1?!0:(e.preventDefault&&e.preventDefault(),!1)}const xo=new WeakMap;function fl(t,e=!1){const n=Q(e);let s=null,i="";he(e4(t),a=>{const l=_o(Je(a));if(l){const c=l;if(xo.get(c)||xo.set(c,c.style.overflow),c.style.overflow!=="hidden"&&(i=c.style.overflow),c.style.overflow==="hidden")return n.value=!0;if(n.value)return c.style.overflow="hidden"}},{immediate:!0});const r=()=>{const a=_o(Je(t));!a||n.value||(la&&(s=$e(a,"touchmove",l=>{v4(l)},{passive:!1})),a.style.overflow="hidden",n.value=!0)},o=()=>{const a=_o(Je(t));!a||!n.value||(la&&(s==null||s()),a.style.overflow=i,xo.delete(a),n.value=!1)};return qs(o),S({get(){return n.value},set(a){a?r():o()}})}function o3(t,e,n={}){const{window:s=Gt}=n;return ls(t,e,s==null?void 0:s.sessionStorage,n)}function y4(t={}){const{window:e=Gt,behavior:n="auto"}=t;if(!e)return{x:Q(0),y:Q(0)};const s=Q(e.scrollX),i=Q(e.scrollY),r=S({get(){return s.value},set(a){scrollTo({left:a,behavior:n})}}),o=S({get(){return i.value},set(a){scrollTo({top:a,behavior:n})}});return $e(e,"scroll",()=>{s.value=e.scrollX,i.value=e.scrollY},{capture:!1,passive:!0}),{x:r,y:o}}function b4(t={}){const{window:e=Gt,initialWidth:n=Number.POSITIVE_INFINITY,initialHeight:s=Number.POSITIVE_INFINITY,listenOrientation:i=!0,includeScrollbar:r=!0}=t,o=Q(n),a=Q(s),l=()=>{e&&(r?(o.value=e.innerWidth,a.value=e.innerHeight):(o.value=e.document.documentElement.clientWidth,a.value=e.document.documentElement.clientHeight))};if(l(),Xr(l),$e("resize",l,{passive:!0}),i){const c=ul("(orientation: portrait)");he(c,()=>l())}return{width:o,height:a}}var C4=K({name:"FontIcon",props:{icon:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""}},setup(t){const e=S(()=>{const s=["font-icon icon"],i=`fas fa-${t.icon}`;return s.push("fa-fw fa-sm"),s.push(t.icon.includes(" ")?t.icon:i),s}),n=S(()=>{const s={};return t.color&&(s.color=t.color),t.size&&(s["font-size"]=Number.isNaN(Number(t.size))?t.size:`${t.size}px`),as(s).length?s:null});return()=>t.icon?f("span",{key:t.icon,class:e.value,style:n.value}):null}});const a3=({type:t="info",text:e="",vertical:n,color:s},{slots:i})=>{var r;return f("span",{class:["vp-badge",t,{diy:s}],style:{verticalAlign:n??!1,backgroundColor:s??!1}},((r=i.default)==null?void 0:r.call(i))??e)};a3.displayName="Badge";const Le=({name:t="",color:e="currentColor",ariaLabel:n},{attrs:s,slots:i})=>{var r;return f("svg",{xmlns:"http://www.w3.org/2000/svg",class:["icon",`${t}-icon`],viewBox:"0 0 1024 1024",fill:e,"aria-label":n??`${t} icon`,...s},(r=i.default)==null?void 0:r.call(i))};Le.displayName="IconBase";const hl=({size:t=48,stroke:e=4,wrapper:n=!0,height:s=2*t})=>{const i=f("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,height:t,preserveAspectRatio:"xMidYMid",viewBox:"25 25 50 50"},[f("animateTransform",{attributeName:"transform",type:"rotate",dur:"2s",keyTimes:"0;1",repeatCount:"indefinite",values:"0;360"}),f("circle",{cx:"50",cy:"50",r:"20",fill:"none",stroke:"currentColor","stroke-width":e,"stroke-linecap":"round"},[f("animate",{attributeName:"stroke-dasharray",dur:"1.5s",keyTimes:"0;0.5;1",repeatCount:"indefinite",values:"1,200;90,200;1,200"}),f("animate",{attributeName:"stroke-dashoffset",dur:"1.5s",keyTimes:"0;0.5;1",repeatCount:"indefinite",values:"0;-35px;-125px"})])]);return n?f("div",{class:"loading-icon-wrapper",style:`display:flex;align-items:center;justify-content:center;height:${s}px`},i):i};hl.displayName="LoadingIcon";const Jr=(t,{slots:e})=>{var n;return(n=e.default)==null?void 0:n.call(e)},w4=t=>Ns(t)?t:`https://github.com/${t}`,pl=(t="")=>!Ns(t)||/github\.com/.test(t)?"GitHub":/bitbucket\.org/.test(t)?"Bitbucket":/gitlab\.com/.test(t)?"GitLab":/gitee\.com/.test(t)?"Gitee":null,l3=()=>f(Le,{name:"github"},()=>f("path",{d:"M511.957 21.333C241.024 21.333 21.333 240.981 21.333 512c0 216.832 140.544 400.725 335.574 465.664 24.49 4.395 32.256-10.07 32.256-23.083 0-11.69.256-44.245 0-85.205-136.448 29.61-164.736-64.64-164.736-64.64-22.315-56.704-54.4-71.765-54.4-71.765-44.587-30.464 3.285-29.824 3.285-29.824 49.195 3.413 75.179 50.517 75.179 50.517 43.776 75.008 114.816 53.333 142.762 40.79 4.523-31.66 17.152-53.377 31.19-65.537-108.971-12.458-223.488-54.485-223.488-242.602 0-53.547 19.114-97.323 50.517-131.67-5.035-12.33-21.93-62.293 4.779-129.834 0 0 41.258-13.184 134.912 50.346a469.803 469.803 0 0 1 122.88-16.554c41.642.213 83.626 5.632 122.88 16.554 93.653-63.488 134.784-50.346 134.784-50.346 26.752 67.541 9.898 117.504 4.864 129.834 31.402 34.347 50.474 78.123 50.474 131.67 0 188.586-114.73 230.016-224.042 242.09 17.578 15.232 33.578 44.672 33.578 90.454v135.85c0 13.142 7.936 27.606 32.854 22.87C862.25 912.597 1002.667 728.747 1002.667 512c0-271.019-219.648-490.667-490.71-490.667z"}));l3.displayName="GitHubIcon";const c3=()=>f(Le,{name:"gitee"},()=>f("path",{d:"M512 992C246.92 992 32 777.08 32 512S246.92 32 512 32s480 214.92 480 480-214.92 480-480 480zm242.97-533.34H482.39a23.7 23.7 0 0 0-23.7 23.7l-.03 59.28c0 13.08 10.59 23.7 23.7 23.7h165.96a23.7 23.7 0 0 1 23.7 23.7v11.85a71.1 71.1 0 0 1-71.1 71.1H375.71a23.7 23.7 0 0 1-23.7-23.7V423.11a71.1 71.1 0 0 1 71.1-71.1h331.8a23.7 23.7 0 0 0 23.7-23.7l.06-59.25a23.73 23.73 0 0 0-23.7-23.73H423.11a177.78 177.78 0 0 0-177.78 177.75v331.83c0 13.08 10.62 23.7 23.7 23.7h349.62a159.99 159.99 0 0 0 159.99-159.99V482.33a23.7 23.7 0 0 0-23.7-23.7z"}));c3.displayName="GiteeIcon";const u3=()=>f(Le,{name:"bitbucket"},()=>f("path",{d:"M575.256 490.862c6.29 47.981-52.005 85.723-92.563 61.147-45.714-20.004-45.714-92.562-1.133-113.152 38.29-23.442 93.696 7.424 93.696 52.005zm63.451-11.996c-10.276-81.152-102.29-134.839-177.152-101.156-47.433 21.138-79.433 71.424-77.129 124.562 2.853 69.705 69.157 126.866 138.862 120.576S647.3 548.571 638.708 478.83zm136.558-309.723c-25.161-33.134-67.986-38.839-105.728-45.13-106.862-17.151-216.576-17.7-323.438 1.134-35.438 5.706-75.447 11.996-97.719 43.996 36.572 34.304 88.576 39.424 135.424 45.129 84.553 10.862 171.447 11.447 256 .585 47.433-5.705 99.987-10.276 135.424-45.714zm32.585 591.433c-16.018 55.99-6.839 131.438-66.304 163.986-102.29 56.576-226.304 62.867-338.87 42.862-59.43-10.862-129.135-29.696-161.72-85.723-14.3-54.858-23.442-110.848-32.585-166.84l3.438-9.142 10.276-5.157c170.277 112.567 408.576 112.567 579.438 0 26.844 8.01 6.84 40.558 6.29 60.014zm103.424-549.157c-19.42 125.148-41.728 249.71-63.415 374.272-6.29 36.572-41.728 57.162-71.424 72.558-106.862 53.724-231.424 62.866-348.562 50.286-79.433-8.558-160.585-29.696-225.134-79.433-30.28-23.443-30.28-63.415-35.986-97.134-20.005-117.138-42.862-234.277-57.161-352.585 6.839-51.42 64.585-73.728 107.447-89.71 57.16-21.138 118.272-30.866 178.87-36.571 129.134-12.58 261.157-8.01 386.304 28.562 44.581 13.13 92.563 31.415 122.844 69.705 13.714 17.7 9.143 40.01 6.29 60.014z"}));u3.displayName="BitbucketIcon";const d3=()=>f(Le,{name:"source"},()=>f("path",{d:"M601.92 475.2c0 76.428-8.91 83.754-28.512 99.594-14.652 11.88-43.956 14.058-78.012 16.434-18.81 1.386-40.392 2.97-62.172 6.534-18.612 2.97-36.432 9.306-53.064 17.424V299.772c37.818-21.978 63.36-62.766 63.36-109.692 0-69.894-56.826-126.72-126.72-126.72S190.08 120.186 190.08 190.08c0 46.926 25.542 87.714 63.36 109.692v414.216c-37.818 21.978-63.36 62.766-63.36 109.692 0 69.894 56.826 126.72 126.72 126.72s126.72-56.826 126.72-126.72c0-31.086-11.286-59.598-29.7-81.576 13.266-9.504 27.522-17.226 39.996-19.206 16.038-2.574 32.868-3.762 50.688-5.148 48.312-3.366 103.158-7.326 148.896-44.55 61.182-49.698 74.25-103.158 75.24-187.902V475.2h-126.72zM316.8 126.72c34.848 0 63.36 28.512 63.36 63.36s-28.512 63.36-63.36 63.36-63.36-28.512-63.36-63.36 28.512-63.36 63.36-63.36zm0 760.32c-34.848 0-63.36-28.512-63.36-63.36s28.512-63.36 63.36-63.36 63.36 28.512 63.36 63.36-28.512 63.36-63.36 63.36zM823.68 158.4h-95.04V63.36h-126.72v95.04h-95.04v126.72h95.04v95.04h126.72v-95.04h95.04z"}));d3.displayName="SourceIcon";const k4=({link:t,type:e=pl(t??"")})=>{if(!e)return null;const n=e.toLowerCase();return f(n==="bitbucket"?u3:n==="github"?l3:n==="gitlab"?"GitLab":n==="gitee"?c3:d3)};function E4(){const t=Q(!1),e=Vs();return e&&we(()=>{t.value=!0},e),t}function T4(t){return E4(),S(()=>!!t())}const S4=()=>T4(()=>typeof window<"u"&&window.navigator&&"userAgent"in window.navigator),$4=()=>{const t=S4();return S(()=>t.value&&/\b(?:Android|iPhone)/i.test(navigator.userAgent))},_4=t=>[/\((ipad);[-\w),; ]+apple/i,/applecoremedia\/[\w.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i].some(e=>e.test(t)),L4=t=>[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/cfnetwork\/.+darwin/i].some(e=>e.test(t)),x4=t=>[/(mac os x) ?([\w. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i].some(e=>e.test(t)),A4=(t,e=0)=>{let n=3735928559^e,s=1103547991^e;for(let i=0,r;i>>16,2246822507),n^=Math.imul(s^s>>>13,3266489909),s=Math.imul(s^s>>>16,2246822507),s^=Math.imul(n^n>>>13,3266489909),4294967296*(2097151&s)+(n>>>0)},f3=(t,e)=>A4(t)%e,h3=/#.*$/u,P4=t=>{const e=h3.exec(t);return e?e[0]:""},uu=t=>decodeURI(t).replace(h3,"").replace(/\/index\.html$/iu,"/").replace(/\/(README|index)\.md$/iu,"/").replace(/\.(?:html|md)$/iu,""),p3=(t,e)=>{if(!Xd(e))return!1;const n=uu(t.path),s=uu(e),i=P4(e);return i?i===t.hash&&(!s||n===s):n===s};var O4=t=>Object.prototype.toString.call(t)==="[object Object]",Ci=t=>typeof t=="string";const m3=Array.isArray,du=t=>O4(t)&&Ci(t.name),fu=(t,e=!1)=>t?m3(t)?t.map(n=>Ci(n)?{name:n}:du(n)?n:null).filter(n=>n!==null):Ci(t)?[{name:t}]:du(t)?[t]:(console.error(`Expect "author" to be \`AuthorInfo[] | AuthorInfo | string[] | string ${e?"":"| false"} | undefined\`, but got`,t),[]):[],g3=(t,e)=>{if(t){if(m3(t)&&t.every(Ci))return t;if(Ci(t))return[t];console.error(`Expect ${e} to be \`string[] | string | undefined\`, but got`,t)}return[]},I4=t=>g3(t,"category"),M4=t=>g3(t,"tag"),R4="accelerometer; autoplay; clipboard-write; encrypted-media; fullscreen; gyroscope; picture-in-picture",hu=t=>Oe(t)?t:`${t}px`,D4=(t,e=0)=>{const n=Fe(),s=S(()=>hu(Nt(t.width)??"100%")),i=Q("auto"),r=l=>{if(Oe(l)){const[c,u]=l.split(":"),d=Number(c)/Number(u);if(!Number.isNaN(d))return d}return typeof l=="number"?l:16/9},o=l=>{const c=Nt(t.height),u=r(Nt(t.ratio));return c?hu(c):`${Number(l)/u+Nt(e)}px`},a=()=>{n.value&&(i.value=o(n.value.clientWidth))};return we(()=>{a(),Ke(e)&&he(e,a),$e("orientationchange",a),$e("resize",a)}),{el:n,width:s,height:i,resize:a}},pu="https://player.bilibili.com/player.html";var H4=K({name:"BiliBili",props:{bvid:{type:String,default:""},aid:{type:String,default:""},cid:{type:String,default:""},title:{type:String,default:"A BiliBili video"},page:{type:[String,Number],default:1},width:{type:[String,Number],default:"100%"},height:{type:[String,Number],default:void 0},ratio:{type:[String,Number],default:16/9},time:{type:[String,Number],default:0},autoplay:Boolean},setup(t){const{el:e,width:n,height:s,resize:i}=D4(t),r=Q(!1),o=S(()=>{const{aid:a,bvid:l,cid:c,autoplay:u,time:d,page:h}=t;return a&&c?`${pu}?aid=${a}&cid=${c}&t=${d}&autoplay=${u?1:0}&p=${h}`:l?`${pu}?bvid=${l}&t=${d}&autoplay=${u?1:0}`:null});return()=>o.value?[f("div",{class:"bilibili-desc"},f("a",{class:"sr-only",href:o.value},t.title)),f("iframe",{ref:e,src:o.value,title:t.title,class:"bilibili-iframe",allow:R4,style:{width:n.value,height:r.value?s.value:0},onLoad:()=>{r.value=!0,i()}}),r.value?null:f(hl)]:[]}});const v3=({title:t,desc:e="",logo:n,background:s,color:i,link:r})=>{const o=[n?f("img",{class:"vp-card-logo",src:We(n),loading:"lazy","no-view":""}):null,f("div",{class:"vp-card-content"},[f("div",{class:"vp-card-title",innerHTML:t}),f("hr"),f("div",{class:"vp-card-desc",innerHTML:e})])],a={};return s&&(a.background=s),i&&(a.color=i),r?Kr(r)?f("a",{class:"vp-card",href:r,target:"_blank",style:a},o):f(Mt,{to:r,class:"vp-card",style:a},()=>o):f("div",{class:"vp-card",style:a},o)};v3.displayName="VPCard";const rn=Symbol(0);let Tr=!1,ca=!1,Bt=null,Ts=null,At=null,mt=0,ms=[],ml={};const V4=()=>{},Bs=0,y3=1,Sr=2,eo=3;function N4(){Tr=!0,queueMicrotask(b3)}function b3(){if(!ms.length){Tr=!1;return}ca=!0;for(let t=0;t=0;n--)wl(e[n])}function F4(t){const e=ua();return Fi(e,t.length?t.bind(null,Ms.bind(e)):t,null)}function se(t){return Fi(Bt,t,null)}function wi(t){return Fi(null,t,null)}function ki(){ca||b3()}function to(){return Bt}function xt(t,e){try{return Fi(e,t,null)}catch(n){gl(e,n);return}}function C3(t,e=Bt){return e==null?void 0:e.$cx[t]}function q4(t,e,n=Bt){n&&(n.$cx={...n.$cx,[t]:e})}function tt(t){if(!t||!Bt)return t||V4;const e=Bt;return e.$d?Array.isArray(e.$d)?e.$d.push(t):e.$d=[e.$d,t]:e.$d=t,function(){e.$st!==eo&&(t.call(null),no(e.$d)?e.$d=null:Array.isArray(e.$d)&&e.$d.splice(e.$d.indexOf(t),1))}}function Ms(t=!0){if(this.$st!==eo){if(this.$h)if(Array.isArray(this.$h))for(let e=this.$h.length-1;e>=0;e--)Ms.call(this.$h[e]);else Ms.call(this.$h);if(t){const e=this[rn];e&&(Array.isArray(e.$h)?e.$h.splice(e.$h.indexOf(this),1):e.$h=null),B4(this)}}}function B4(t){t.$st=eo,t.$d&&w3(t),t.$s&&da(t,0),t[rn]=null,t.$s=null,t.$o=null,t.$h=null,t.$cx=ml,t.$eh=null}function w3(t){try{if(Array.isArray(t.$d))for(let e=t.$d.length-1;e>=0;e--){const n=t.$d[e];n.call(n)}else t.$d.call(t.$d);t.$d=null}catch(e){gl(t,e)}}function Fi(t,e,n){const s=Bt,i=Ts;Bt=t,Ts=n;try{return e.call(t)}finally{Bt=s,Ts=i}}function gl(t,e){if(!t||!t.$eh)throw e;let n=0,s=t.$eh.length,i=e;for(n=0;n0){t.$s.length=mt+At.length;for(let n=0;n=e)&&(t.$e&&t.$st===Bs&&(ms.push(t),Tr||N4()),t.$st=e,t.$o))for(let n=0;n"u"}function qv(t){return kl(t)||zt(t)}function Bv(t){return(t==null?void 0:t.constructor)===Object}function Ei(t){return typeof t=="number"&&!Number.isNaN(t)}function pe(t){return typeof t=="string"}function gu(t){return typeof t=="boolean"}function sn(t){return typeof t=="function"}function jt(t){return Array.isArray(t)}var vu;const G4=Event,$3=Symbol("DOM_EVENT");class Ae extends G4{constructor(e,...n){var i,r;super(e,n[0]),this[vu]=!0,this.triggers=new U4,this.detail=(i=n[0])==null?void 0:i.detail;const s=(r=n[0])==null?void 0:r.trigger;s&&this.triggers.add(s)}get trigger(){return this.triggers.source}get originEvent(){return this.triggers.origin}get isOriginTrusted(){var e;return((e=this.triggers.origin)==null?void 0:e.isTrusted)??!1}}vu=$3;class U4{constructor(){this.chain=[]}get source(){return this.chain[0]}get origin(){return this.chain[this.chain.length-1]}add(e){this.chain.push(e),K4(e)&&this.chain.push(...e.triggers)}remove(e){return this.chain.splice(this.chain.indexOf(e),1)[0]}has(e){return this.chain.some(n=>n===e)}hasType(e){return!!this.findType(e)}findType(e){return this.chain.find(n=>n.type===e)}walk(e){for(const n of this.chain){const s=e(n);if(s)return[n,s]}}[Symbol.iterator](){return this.chain.values()}}function K4(t){return!!(t!=null&&t[$3])}class _3 extends EventTarget{addEventListener(e,n,s){return super.addEventListener(e,n,s)}removeEventListener(e,n,s){return super.removeEventListener(e,n,s)}}function ce(t,e,n,s){return t.addEventListener(e,n,s),tt(()=>t.removeEventListener(e,n,s))}function zv(t){return!!(t!=null&&t.type.startsWith("pointer"))}function Z4(t){return!!(t!=null&&t.type.startsWith("touch"))}function Wv(t){return/^(click|mouse)/.test((t==null?void 0:t.type)??"")}function El(t){return!!(t!=null&&t.type.startsWith("key"))}function Gv(t){return El(t)&&t.key==="Enter"}function L3(t){return El(t)&&(t.key==="Enter"||t.key===" ")}function Y4(t){return t instanceof Node}function Ve(t,e,n){if(t)if(!n&&n!==""&&n!==0)t.removeAttribute(e);else{const s=n===!0?"":n+"";t.getAttribute(e)!==s&&t.setAttribute(e,s)}else return}function is(t,e,n){if(t)!n&&n!==0?t.style.removeProperty(e):t.style.setProperty(e,n+"");else return}function yu(t,e,n){t.classList[n?"add":"remove"](e)}function Ge(t,e){const n=Cl(t,null,e),s=vl.bind(n);return s[rn]=!0,s.set=k3.bind(n),s}function Q4(t){return no(t)&&rn in t}function Rs(t,e){const n=Cl(e==null?void 0:e.initial,t,e),s=vl.bind(n);return s[rn]=!0,s}function X4(t,e){const n=Cl(null,function(){let i=t();return no(i)&&tt(i),null},void 0);return n.$e=!0,T3(n),Ms.bind(n,!0)}function Uv(t){return Q4(t)&&"set"in t}const te=X4;function J4(t){return{id:Symbol(),provide:t}}function x3(t,e,n=to()){var i;const s=!zt(e);q4(t.id,s?e:(i=t.provide)==null?void 0:i.call(t),n)}function A3(t){return C3(t.id)}function Kv(t){return!zt(C3(t.id))}const ai=Symbol(0),li=Symbol(0),P3=Symbol(0);var bu;const Ao={};class e5{constructor(e,n,s){var o;this[bu]=null,this.$el=Ge(null),this.a=null,this.d=null,this.f=null,this.g=null,this.e=null,this.o=!1,this.i=Ao,this.b=null,this.c=null,this.l=[],this.m=[],this.j=[],this.n=[],this.d=n,s!=null&&s.scope&&s.scope.append(n);let i=e.state,r=e.props;if(i&&(this.h=i.create(),this.k=new Proxy(this.h,{get:(a,l)=>this.h[l]()}),x3(i,this.h)),r&&(this.i=t5(r),s!=null&&s.props))for(const a of Object.keys(s.props))(o=this.i[a])==null||o.set(s.props[a]);tt(this.p.bind(this))}w(){xt(()=>{for(const e of this.l)e()},this.d)}x(e){this.a||(this.a=e,this.$el.set(e),xt(()=>{this.f=ua(),xt(()=>{for(const n of this.m)n(this.a);this.q(),this.r()},this.f)},this.d),e.dispatchEvent(new Event("attached")))}s(){var e;(e=this.f)==null||e.dispose(),this.f=null,this.g=null,this.a=null,this.$el.set(null)}y(){!this.a||!this.f||!this.j.length||xt(()=>{this.g=ua(),xt(()=>{for(const e of this.j)e(this.a)},this.g)},this.f)}z(){var e;(e=this.g)==null||e.dispose(),this.g=null}p(){if(this.o)return;this.o=!0,xt(()=>{for(const n of this.n)n(this.a)},this.d);const e=this.a;this.s(),this.d.dispose(),this.l.length=0,this.m.length=0,this.j.length=0,this.n.length=0,this.e=null,this.b=null,this.c=null,this.i=Ao,this.d=null,this.k=Ao,this.h=null,e&&delete e.$}t(e){e.onSetup&&this.l.push(e.onSetup.bind(e)),e.onAttach&&this.m.push(e.onAttach.bind(e)),e.onConnect&&this.j.push(e.onConnect.bind(e)),e.onDestroy&&this.n.push(e.onDestroy.bind(e))}q(){if(this.b)for(const e of Object.keys(this.b))sn(this.b[e])?te(this.u.bind(this,e)):Ve(this.a,e,this.b[e])}r(){if(this.c)for(const e of Object.keys(this.c))sn(this.c[e])?te(this.v.bind(this,e)):is(this.a,e,this.c[e])}u(e){Ve(this.a,e,this.b[e].call(this.e))}v(e){is(this.a,e,this.c[e].call(this.e))}}bu=P3;function t5(t){const e={};for(const n of Object.keys(t)){const s=t[n];e[n]=Ge(s,s)}return e}let ci={$$:null};function n5(t,e){return F4(()=>{ci.$$=new e5(t,to(),e);const n=new t;return ci.$$.e=n,ci.$$=null,n})}class qi extends EventTarget{constructor(){super(),ci.$$&&this.attach(ci)}get el(){return this.$$.a}get $el(){return this.$$.$el()}get scope(){return this.$$.d}get attachScope(){return this.$$.f}get connectScope(){return this.$$.g}get $props(){return this.$$.i}get $state(){return this.$$.h}get state(){return this.$$.k}attach({$$:e}){return this.$$=e,e.t(this),this}addEventListener(e,n,s){this.listen(e,n,s)}removeEventListener(e,n,s){var i;(i=this.el)==null||i.removeEventListener(e,n,s)}setAttributes(e){this.$$.b||(this.$$.b={}),Object.assign(this.$$.b,e)}setStyles(e){this.$$.c||(this.$$.c={}),Object.assign(this.$$.c,e)}setCSSVars(e){this.setStyles(e)}createEvent(e,...n){return new Ae(e,n[0])}dispatch(e,...n){if(!this.el)return!1;const s=e instanceof Event?e:new Ae(e,n[0]);return Object.defineProperty(s,"target",{get:()=>this.$$.e}),wi(()=>{var i,r;return(r=(i=this.$$)[P3])==null||r.call(i,s),this.el.dispatchEvent(s)})}dispatchEvent(e){return this.dispatch(e)}listen(e,n,s){return this.el?ce(this.el,e,n,s):$r}}class Tl extends qi{subscribe(e){return xt(()=>te(()=>e(this.state)),this.$$.d)}destroy(){this.$$.p()}}function nt(t,e,n){t[ai]||(t[ai]=new Set),t[ai].add(e)}function kt(t,e,n){t[li]||(t[li]=new Set),t[li].add(e)}class O3{constructor(e){this.id=Symbol(0),this.record=e,this.A=Object.getOwnPropertyDescriptors(e)}create(){const e={},n=new Proxy(e,{get:(s,i)=>e[i]()});for(const s of Object.keys(this.record)){const i=this.A[s].get;e[s]=i?Rs(i.bind(n)):Ge(this.record[s])}return e}reset(e,n){for(const s of Object.keys(e))!this.A[s].get&&(!n||n(s))&&e[s].set(this.record[s])}}function Zv(t){return A3(t)}function s5(t,e){for(const n of t)n(e)}function I3(t){return t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function i5(t){return t.replace(/-./g,e=>e[1].toUpperCase())}function r5(t){return t.charAt(0).toUpperCase()+t.slice(1)}function Yv(t){return sn(t)?t():t}function Qv(t){return t?"true":"false"}function o5(){const t=new Set;return{add(...e){for(const n of e)t.add(n)},empty(){for(const e of t)e();t.clear()}}}function Xv(){const t=o5();return tt(t.empty),t}function Jv(t){return Object.keys(t)}function fa(){let t,e;return{promise:new Promise((s,i)=>{t=s,e=i}),resolve:t,reject:e}}function a5(t){return new Promise(e=>setTimeout(e,t))}function Sl(t){let e=-1,n;function s(...i){n=i,!(e>=0)&&(e=window.requestAnimationFrame(()=>{t.apply(this,n),e=-1,n=void 0}))}return s}const l5=typeof window<"u"?"requestIdleCallback"in window?window.requestIdleCallback:t=>window.setTimeout(t,1):$r;function c5(t,e){return new Promise(n=>{l5(s=>{t==null||t(s),n()},e)})}var ht={fullscreenEnabled:0,fullscreenElement:1,requestFullscreen:2,exitFullscreen:3,fullscreenchange:4,fullscreenerror:5,fullscreen:6},Cu=["webkitFullscreenEnabled","webkitFullscreenElement","webkitRequestFullscreen","webkitExitFullscreen","webkitfullscreenchange","webkitfullscreenerror","-webkit-full-screen"],wu=["mozFullScreenEnabled","mozFullScreenElement","mozRequestFullScreen","mozCancelFullScreen","mozfullscreenchange","mozfullscreenerror","-moz-full-screen"],ku=["msFullscreenEnabled","msFullscreenElement","msRequestFullscreen","msExitFullscreen","MSFullscreenChange","MSFullscreenError","-ms-fullscreen"],lt=typeof window<"u"&&typeof window.document<"u"?window.document:{},St="fullscreenEnabled"in lt&&Object.keys(ht)||Cu[0]in lt&&Cu||wu[0]in lt&&wu||ku[0]in lt&&ku||[],xn={requestFullscreen:function(t){return t[St[ht.requestFullscreen]]()},requestFullscreenFunction:function(t){return t[St[ht.requestFullscreen]]},get exitFullscreen(){return lt[St[ht.exitFullscreen]].bind(lt)},get fullscreenPseudoClass(){return":"+St[ht.fullscreen]},addEventListener:function(t,e,n){return lt.addEventListener(St[ht[t]],e,n)},removeEventListener:function(t,e,n){return lt.removeEventListener(St[ht[t]],e,n)},get fullscreenEnabled(){return!!lt[St[ht.fullscreenEnabled]]},set fullscreenEnabled(t){},get fullscreenElement(){return lt[St[ht.fullscreenElement]]},set fullscreenElement(t){},get onfullscreenchange(){return lt[("on"+St[ht.fullscreenchange]).toLowerCase()]},set onfullscreenchange(t){return lt[("on"+St[ht.fullscreenchange]).toLowerCase()]=t},get onfullscreenerror(){return lt[("on"+St[ht.fullscreenerror]).toLowerCase()]},set onfullscreenerror(t){return lt[("on"+St[ht.fullscreenerror]).toLowerCase()]=t}},M3=u5;function u5(t,e,n){var s=null,i=null,r=n&&n.leading,o=n&&n.trailing;r==null&&(r=!0),o==null&&(o=!r),r==!0&&(o=!1);var a=function(){s&&(clearTimeout(s),s=null)},l=function(){var u=i;a(),u&&u()},c=function(){var u=r&&!s,d=this,h=arguments;if(i=function(){return t.apply(d,h)},s||(s=setTimeout(function(){if(s=null,o)return i()},e)),u)return u=!1,i()};return c.cancel=a,c.flush=l,c}var R3=d5;function d5(t,e,n){var s=null,i=null,r=function(){s&&(clearTimeout(s),i=null,s=null)},o=function(){var l=i;r(),l&&l()},a=function(){if(!e)return t.apply(this,arguments);var l=this,c=arguments,u=n&&!s;if(r(),i=function(){t.apply(l,c)},s=setTimeout(function(){if(s=null,!u){var d=i;return i=null,d()}},e),u)return i()};return a.cancel=r,a.flush=o,a}const Eu=t=>typeof t=="object"&&t!=null&&t.nodeType===1,Tu=(t,e)=>(!e||t!=="hidden")&&t!=="visible"&&t!=="clip",Po=(t,e)=>{if(t.clientHeight{const i=(r=>{if(!r.ownerDocument||!r.ownerDocument.defaultView)return null;try{return r.ownerDocument.defaultView.frameElement}catch{return null}})(s);return!!i&&(i.clientHeightre||r>t&&o=e&&a>=n?r-t-s:o>e&&an?o-e+i:0,f5=t=>{const e=t.parentElement;return e??(t.getRootNode().host||null)},ey=(t,e)=>{var n,s,i,r;if(typeof document>"u")return[];const{scrollMode:o,block:a,inline:l,boundary:c,skipOverflowHiddenElements:u}=e,d=typeof c=="function"?c:q=>q!==c;if(!Eu(t))throw new TypeError("Invalid target");const h=document.scrollingElement||document.documentElement,p=[];let m=t;for(;Eu(m)&&d(m);){if(m=f5(m),m===h){p.push(m);break}m!=null&&m===document.body&&Po(m)&&!Po(document.documentElement)||m!=null&&Po(m,u)&&p.push(m)}const v=(s=(n=window.visualViewport)==null?void 0:n.width)!=null?s:innerWidth,w=(r=(i=window.visualViewport)==null?void 0:i.height)!=null?r:innerHeight,{scrollX:C,scrollY:k}=window,{height:y,width:E,top:x,right:P,bottom:A,left:F}=t.getBoundingClientRect(),{top:D,right:L,bottom:N,left:I}=(q=>{const j=window.getComputedStyle(q);return{top:parseFloat(j.scrollMarginTop)||0,right:parseFloat(j.scrollMarginRight)||0,bottom:parseFloat(j.scrollMarginBottom)||0,left:parseFloat(j.scrollMarginLeft)||0}})(t);let Z=a==="start"||a==="nearest"?x-D:a==="end"?A+N:x+y/2-D+N,J=l==="center"?F+E/2-I+L:l==="end"?P+L:F-I;const ae=[];for(let q=0;q=0&&F>=0&&A<=w&&P<=v&&x>=Re&&A<=De&&F>=Ze&&P<=ze)return ae;const ot=getComputedStyle(j),st=parseInt(ot.borderLeftWidth,10),He=parseInt(ot.borderTopWidth,10),$=parseInt(ot.borderRightWidth,10),W=parseInt(ot.borderBottomWidth,10);let H=0,U=0;const le="offsetWidth"in j?j.offsetWidth-j.clientWidth-st-$:0,ye="offsetHeight"in j?j.offsetHeight-j.clientHeight-He-W:0,g="offsetWidth"in j?j.offsetWidth===0?0:ue/j.offsetWidth:0,b="offsetHeight"in j?j.offsetHeight===0?0:V/j.offsetHeight:0;if(h===j)H=a==="start"?Z:a==="end"?Z-w:a==="nearest"?sr(k,k+w,w,He,W,k+Z,k+Z+y,y):Z-w/2,U=l==="start"?J:l==="center"?J-v/2:l==="end"?J-v:sr(C,C+v,v,st,$,C+J,C+J+E,E),H=Math.max(0,H+k),U=Math.max(0,U+C);else{H=a==="start"?Z-Re-He:a==="end"?Z-De+W+ye:a==="nearest"?sr(Re,De,V,He,W+ye,Z,Z+y,y):Z-(Re+V/2)+ye/2,U=l==="start"?J-Ze-st:l==="center"?J-(Ze+ue/2)+le/2:l==="end"?J-ze+$+le:sr(Ze,ze,ue,st,$+le,J,J+E,E);const{scrollLeft:T,scrollTop:O}=j;H=b===0?0:Math.max(0,Math.min(O+H/b,j.scrollHeight-V/b+ye)),U=g===0?0:Math.max(0,Math.min(T+U/g,j.scrollWidth-ue/g+le)),Z+=O-H,J+=T-U}ae.push({el:j,top:H,left:U})}return ae},Oo=t=>t===null?"":t+"",h5=t=>t===null?null:t+"",p5=t=>t===null?0:Number(t),m5=t=>t!==null,g5=()=>null,v5=t=>t===null?[]:JSON.parse(t),y5=t=>t===null?{}:JSON.parse(t);function b5(t){if(t===null)return h5;switch(typeof t){case"undefined":return Oo;case"string":return Oo;case"boolean":return m5;case"number":return p5;case"function":return g5;case"object":return jt(t)?v5:y5;default:return Oo}}const kn=Symbol(0),D3=Symbol(0),ts=Symbol(0),Zn=Symbol(0);function H3(t,e){var n,s,i;const o=class o extends t{constructor(...l){if(super(...l),this[s]=0,this[i]=null,this.keepAlive=!1,this.forwardKeepAlive=!0,this.$=xt(()=>n5(e),null),this.$.$$.t(this),e.props){const c=this.$props,u=Object.getOwnPropertyDescriptors(this);for(const d of Object.keys(u))d in e.props&&(c[d].set(this[d]),delete this[d])}}static get observedAttributes(){var l;if(!this[kn]&&e.props){const c=new Map;for(const u of Object.keys(e.props)){let d=(l=this.attrs)==null?void 0:l[u],h=pe(d)?d:d&&(d==null?void 0:d.attr);h!==!1&&(h||(h=I3(u)),c.set(h,{C:u,B:d&&!pe(d)&&(d==null?void 0:d.converter)||b5(e.props[u])}))}this[kn]=c}return this[kn]?Array.from(this[kn].keys()):[]}get scope(){return this.$.$$.d}get attachScope(){return this.$.$$.f}get connectScope(){return this.$.$$.g}get $props(){return this.$.$$.i}get $state(){return this.$.$$.h}get state(){return this.$.state}attributeChangedCallback(l,c,u){var p;const d=this.constructor;if(!d[kn]){(p=super.attributeChangedCallback)==null||p.call(this,l,c,u);return}const h=d[kn].get(l);h&&(this[h.C]=h.B(u))}connectedCallback(){var u;const l=(u=this.$)==null?void 0:u.$$;if(!l||l.o)return;if(this[ts]!==2){w5.call(this);return}if(!this.isConnected)return;this.hasAttribute("keep-alive")&&(this.keepAlive=!0),l.y(),jt(this[Zn])&&s5(this[Zn],this),this[Zn]=null;const c=super.connectedCallback;c&&xt(()=>c.call(this),this.connectScope)}disconnectedCallback(){var u;const l=(u=this.$)==null?void 0:u.$$;if(!l||l.o)return;l.z();const c=super.disconnectedCallback;c&&c.call(this),!this.keepAlive&&!this.hasAttribute("keep-alive")&&setTimeout(()=>{requestAnimationFrame(()=>{this.isConnected||l.p()})},0)}[(n=kn,s=ts,i=Zn,D3)](){const l=this.$.$$,c=this.constructor;if(l.o)return;const u=c[kn];if(u)for(const d of this.attributes){let h=u.get(d.name);h&&h.B&&l.i[h.C].set(h.B(this.getAttribute(d.name)))}l.w(),l.x(this),this[ts]=2,this.connectedCallback()}subscribe(l){return this.$.subscribe(l)}destroy(){this.disconnectedCallback(),this.$.destroy()}};o[n]=null;let r=o;return C5(r,e),r}function C5(t,e){const n=t.prototype,s=e.prototype;if(e.props)for(const i of Object.keys(e.props))Object.defineProperty(n,i,{enumerable:!0,configurable:!0,get(){return this.$props[i]()},set(r){this.$props[i].set(r)}});if(s[ai])for(const i of s[ai])Object.defineProperty(n,i,{enumerable:!0,configurable:!0,get(){return this.$[i]},set(r){this.$[i]=r}});if(s[li])for(const i of s[li])n[i]=function(...r){return this.$[i](...r)}}function w5(){if(this[ts]!==0)return;this[ts]=1;const t=E5(this),e=t&&window.customElements.get(t.localName),n=t&&t[ts]===2;if(t&&(!e||!n)){k5.call(this,t);return}V3.call(this,t)}async function k5(t){await window.customElements.whenDefined(t.localName),t[ts]!==2&&await new Promise(e=>(t[Zn]??(t[Zn]=[])).push(e)),V3.call(this,t)}function V3(t){if(this.isConnected){if(t){t.keepAlive&&t.forwardKeepAlive&&(this.keepAlive=!0,this.setAttribute("keep-alive",""));const e=this.$.$$.d;e&&t.$.$$.f.append(e)}this[D3]()}}function E5(t){let e=t.parentNode,n=t.localName.split("-",1)[0]+"-";for(;e;){if(e.nodeType===1&&e.localName.startsWith(n))return e;e=e.parentNode}return null}function $l(t,e=!1){(e||!window.customElements.get(t.tagName))&&window.customElements.define(t.tagName,t)}var ty=' ',ny=' ',sy=' ',iy='',ry='',oy='',ay=' ',ly='',cy='',uy=' ',dy='',fy=' ',hy=' ',py='',my='',gy=' ',vy=' ',yy='',by=' ',Cy=' ',wy=' ',ky=' ',Ey=' ',Ty='',Sy=' ',$y='',_y=' ',Ly=' ',xy='',Ay=' ',Py=' ';const N3=J4();function _l(){return A3(N3)}function Oy(){return _l().$state}const T5=(navigator==null?void 0:navigator.userAgent.toLowerCase())||"",j3=/iphone|ipad|ipod|ios|crios|fxios/i.test(T5),F3=/(iphone|ipod)/gi.test((navigator==null?void 0:navigator.platform)||""),S5=!!window.chrome,Iy=!!window.safari||j3;function q3(){return $5()&&sn(screen.orientation.unlock)}function $5(){return!zt(window.screen.orientation)&&!zt(window.screen.orientation.lock)}function _5(t,e){return t||(t=document.createElement("audio")),t.canPlayType(e).length>0}function L5(t,e){return t||(t=document.createElement("video")),t.canPlayType(e).length>0}function x5(t){return t||(t=document.createElement("video")),t.canPlayType("application/vnd.apple.mpegurl").length>0}function My(t){return!!document.pictureInPictureEnabled&&!(t!=null&&t.disablePictureInPicture)}function Ry(t){return sn(t==null?void 0:t.webkitSupportsPresentationMode)&&sn(t==null?void 0:t.webkitSetPresentationMode)}async function A5(){const t=document.createElement("video");return t.volume=.5,await a5(0),t.volume===.5}function P5(){return(window==null?void 0:window.ManagedMediaSource)??(window==null?void 0:window.MediaSource)??(window==null?void 0:window.WebKitMediaSource)}function O5(){return(window==null?void 0:window.SourceBuffer)??(window==null?void 0:window.WebKitSourceBuffer)}function Ll(){const t=P5();if(zt(t))return!1;const e=t&&sn(t.isTypeSupported)&&t.isTypeSupported('video/mp4; codecs="avc1.42E01E,mp4a.40.2"'),n=O5(),s=zt(n)||!zt(n.prototype)&&sn(n.prototype.appendBuffer)&&sn(n.prototype.remove);return!!e&&!!s}function I5(){return Ll()}const M5=/\.(m4a|m4b|mp4a|mpga|mp2|mp2a|mp3|m2a|m3a|wav|weba|aac|oga|spx|flac)($|\?)/i,R5=new Set(["audio/mpeg","audio/ogg","audio/3gp","audio/mp3","audio/webm","audio/flac"]),D5=/\.(mp4|og[gv]|webm|mov|m4v)(#t=[,\d+]+)?($|\?)/i,H5=new Set(["video/mp4","video/webm","video/3gp","video/ogg","video/avi","video/mpeg"]),V5=/\.(m3u8)($|\?)/i,N5=/\.(mpd)($|\?)/i,j5=new Set(["application/vnd.apple.mpegurl","audio/mpegurl","audio/x-mpegurl","application/x-mpegurl","video/x-mpegurl","video/mpegurl","application/mpegurl"]),F5=new Set(["application/dash+xml"]);function xl({src:t,type:e}){return pe(t)?M5.test(t)||R5.has(e)||t.startsWith("blob:")&&e==="audio/object":e==="audio/object"}function Al(t){return pe(t.src)?D5.test(t.src)||H5.has(t.type)||t.src.startsWith("blob:")&&t.type==="video/object"||Bi(t)&&x5():t.type==="video/object"}function Bi({src:t,type:e}){return pe(t)&&V5.test(t)||j5.has(e)}function Pl({src:t,type:e}){return pe(t)&&N5.test(t)||F5.has(e)}function q5(t){return pe(t.src)&&(xl(t)||Al(t)||Bi(t))}function Dy(t){return typeof window.MediaStream<"u"&&t instanceof window.MediaStream}class pr{get length(){return this.ta.length}constructor(e,n){jt(e)?this.ta=e:!zt(e)&&!zt(n)?this.ta=[[e,n]]:this.ta=[]}start(e){return this.ta[e][0]??1/0}end(e){return this.ta[e][1]??1/0}}function Su(t){if(!t.length)return null;let e=t.start(0);for(let n=1;ne&&(e=s)}return e}function B5(t){if(t.length<=1)return t;t.sort((s,i)=>s[0]-i[0]);let e=[],n=t[0];for(let s=1;s=i[0]-1?n=[n[0],Math.max(n[1],i[1])]:(e.push(n),n=i)}return e.push(n),e}function z5(t,e,n){let s=e[0],i=e[1];return ns&&(e[1]=n,i===-1&&t.push(e)),B5(t),e)}function Hy(t,e){const n=new URLSearchParams;for(const s of Object.keys(e))n.set(s,e[s]+"");return t+"?"+n.toString()}function so(t,e="preconnect"){const n=document.querySelector(`link[href="${t}"]`);if(!kl(n))return!0;const s=document.createElement("link");return s.rel=e,s.href=t,s.crossOrigin="true",document.head.append(s),!0}const ir={};function Vy(t){if(ir[t])return ir[t].promise;const e=fa(),n=document.querySelector(`script[src="${t}"]`);if(!kl(n))return e.resolve(),e.promise;const s=document.createElement("script");return s.src=t,s.onload=()=>{e.resolve(),delete ir[t]},s.onerror=()=>{e.reject(),delete ir[t]},setTimeout(()=>document.head.append(s),0),e.promise}function mr(t){return t==="use-credentials"?"include":pe(t)?"same-origin":void 0}function Ny({title:t,src:e,download:n}){const s=gu(n)||n===""?e.src:pe(n)?n:n==null?void 0:n.url;return W5({url:s,src:e,download:n})?{url:s,name:!gu(n)&&!pe(n)&&(n==null?void 0:n.filename)||t.toLowerCase()||"media"}:null}function W5({url:t,src:e,download:n}){return pe(t)&&(n&&n!==!0||xl(e)||Al(e))}function $u(t,e){return e>=t.startTime&&eo.includes(l.kind)&&l.mode==="showing");if(a!==s){if(!a){n(null),s=null;return}a.readyState==2?n(a):(n(null),xt(()=>{const l=ce(a,"load",()=>{n(a),l()},{once:!0})},i)),s=a}}return r(),ce(t,"mode-change",r)}function jy(t,e,n){G5(t,e,s=>{if(!s){n("");return}const i=()=>{const r=s==null?void 0:s.activeCues[0];n((r==null?void 0:r.text)||"")};i(),ce(s,"cue-change",i)})}const U5=Symbol(0),K5=Symbol(0),Z5=Symbol(0),Y5=Symbol(0),Q5=Symbol(0),X5=Symbol(0),J5=Symbol(0),fe={Db:U5,ma:K5,Eb:Z5,Z:Y5,hb:Q5,_:X5,Mf:J5};var _u,Lu,xu;class _r extends _3{constructor(e){super(),this.id="",this.label="",this.language="",this.default=!1,this.Z=!1,this.ua=0,this.U="disabled",this.Nf={},this.$c=[],this.B=[],this.Fb=[],this[xu]=0,this[Lu]=null,this[_u]=null;for(const n of Object.keys(e))this[n]=e[n];this.type||(this.type="vtt"),e.content?this._h(e):e.src||(this[fe.ma]=2)}static createId(e){return`vds-${e.type}-${e.kind}-${e.src??e.label??"?"}`}get metadata(){return this.Nf}get regions(){return this.$c}get cues(){return this.B}get activeCues(){return this.Fb}get readyState(){return this[fe.ma]}get mode(){return this.U}set mode(e){this.setMode(e)}addCue(e,n){var r;let s=0,i=this.B.length;for(s=0;s=0){const r=this.Fb.includes(e);this.B.splice(s,1),(i=this[fe._])==null||i.track.removeCue(e),this.dispatchEvent(new Ae("remove-cue",{detail:e,trigger:n})),r&&this[fe.Eb](this.ua,n)}}setMode(e,n){var s;this.U!==e&&(this.U=e,e==="disabled"?(this.Fb=[],this.Of()):this.readyState===2?this[fe.Eb](this.ua,n):this.Pf(),this.dispatchEvent(new Ae("mode-change",{detail:this,trigger:n})),(s=this[fe.hb])==null||s.call(this))}[(xu=fe.ma,Lu=fe.hb,_u=fe._,fe.Eb)](e,n){if(this.ua=e,this.mode==="disabled"||!this.B.length)return;const s=[];for(let r=0,o=this.B.length;r{const{parseText:n,VTTCue:s,VTTRegion:i}=await import("./prod-BQqsgCK6.js").then(r=>r.d);return{parseText:n,VTTCue:s,VTTRegion:i}},[]).then(({parseText:n,VTTCue:s,VTTRegion:i})=>{!pe(e.content)||e.type==="json"?(this.Qf(e.content,s,i),this.readyState!==3&&this.Ga()):n(e.content,{type:e.type}).then(({cues:r,regions:o})=>{this.B=r,this.$c=o,this.Ga()})})}async Pf(){var e,n;if(!(!this.Z||this[fe.ma]>0)){if(this[fe.ma]=1,this.dispatchEvent(new Ae("load-start")),!this.src){this.Ga();return}try{const{parseResponse:s,VTTCue:i,VTTRegion:r}=await ne(async()=>{const{parseResponse:l,VTTCue:c,VTTRegion:u}=await import("./prod-BQqsgCK6.js").then(d=>d.d);return{parseResponse:l,VTTCue:c,VTTRegion:u}},[]),o=(e=this[fe.Db])==null?void 0:e.call(this),a=fetch(this.src,{headers:this.type==="json"?{"Content-Type":"application/json"}:void 0,credentials:mr(o)});if(this.type==="json")this.Qf(await(await a).text(),i,r);else{const{errors:l,metadata:c,regions:u,cues:d}=await s(a,{type:this.type,encoding:this.encoding});if(((n=l[0])==null?void 0:n.code)===0)throw l[0];this.Nf=c,this.$c=u,this.B=d}this.Ga()}catch(s){this.Rf(s)}}}Ga(){if(this[fe.ma]=2,!this.src||this.type!=="vtt"){const n=this[fe._];if(n&&!n.managed)for(const s of this.B)n.track.addCue(s)}const e=new Ae("load");this[fe.Eb](this.ua,e),this.dispatchEvent(e)}Rf(e){this[fe.ma]=3,this.dispatchEvent(new Ae("error",{detail:e}))}Qf(e,n,s){try{const{regions:i,cues:r}=t7(e,n,s);this.$c=i,this.B=r}catch(i){this.Rf(i)}}Of(e){this.dispatchEvent(new Ae("cue-change",{trigger:e}))}}const e7=/captions|subtitles/;function Ft(t){return e7.test(t.kind)}function t7(t,e,n){const s=pe(t)?JSON.parse(t):t;let i=[],r=[];return s.regions&&n&&(i=s.regions.map(o=>Object.assign(new n,o))),(s.cues||jt(s))&&(r=(jt(s)?s:s.cues).filter(o=>Ei(o.startTime)&&Ei(o.endTime)).map(o=>Object.assign(new e(0,0,""),o))),{regions:i,cues:r}}const n7=Symbol(0),s7=Symbol(0),i7=Symbol(0),r7=Symbol(0),o7=Symbol(0),a7=Symbol(0),l7=Symbol(0),c7=Symbol(0),u7=Symbol(0),be={da:n7,cc:s7,z:i7,ea:r7,Yc:o7,Od:a7,Gf:l7,Hf:c7,If:u7},d7=Symbol(0),f7=Symbol(0),Xt={Wa:d7,Ia:f7};function Io(t){return t instanceof Error?t:Error(typeof t=="string"?t:JSON.stringify(t))}function Fy(t,e){if(!t)throw Error("Assertion failed.")}const Lr=Math.min,ns=Math.max,xr=Math.round,rr=Math.floor,Rn=t=>({x:t,y:t}),h7={left:"right",right:"left",bottom:"top",top:"bottom"},p7={start:"end",end:"start"};function Au(t,e,n){return ns(t,Lr(e,n))}function Ol(t,e){return typeof t=="function"?t(e):t}function Ds(t){return t.split("-")[0]}function Il(t){return t.split("-")[1]}function B3(t){return t==="x"?"y":"x"}function z3(t){return t==="y"?"height":"width"}function Ti(t){return["top","bottom"].includes(Ds(t))?"y":"x"}function W3(t){return B3(Ti(t))}function m7(t,e,n){n===void 0&&(n=!1);const s=Il(t),i=W3(t),r=z3(i);let o=i==="x"?s===(n?"end":"start")?"right":"left":s==="start"?"bottom":"top";return e.reference[r]>e.floating[r]&&(o=Ar(o)),[o,Ar(o)]}function g7(t){const e=Ar(t);return[ha(t),e,ha(e)]}function ha(t){return t.replace(/start|end/g,e=>p7[e])}function v7(t,e,n){const s=["left","right"],i=["right","left"],r=["top","bottom"],o=["bottom","top"];switch(t){case"top":case"bottom":return n?e?i:s:e?s:i;case"left":case"right":return e?r:o;default:return[]}}function y7(t,e,n,s){const i=Il(t);let r=v7(Ds(t),n==="start",s);return i&&(r=r.map(o=>o+"-"+i),e&&(r=r.concat(r.map(ha)))),r}function Ar(t){return t.replace(/left|right|bottom|top/g,e=>h7[e])}function b7(t){return{top:0,right:0,bottom:0,left:0,...t}}function C7(t){return typeof t!="number"?b7(t):{top:t,right:t,bottom:t,left:t}}function Pr(t){const{x:e,y:n,width:s,height:i}=t;return{width:s,height:i,top:n,left:e,right:e+s,bottom:n+i,x:e,y:n}}function Pu(t,e,n){let{reference:s,floating:i}=t;const r=Ti(e),o=W3(e),a=z3(o),l=Ds(e),c=r==="y",u=s.x+s.width/2-i.width/2,d=s.y+s.height/2-i.height/2,h=s[a]/2-i[a]/2;let p;switch(l){case"top":p={x:u,y:s.y-i.height};break;case"bottom":p={x:u,y:s.y+s.height};break;case"right":p={x:s.x+s.width,y:d};break;case"left":p={x:s.x-i.width,y:d};break;default:p={x:s.x,y:s.y}}switch(Il(e)){case"start":p[o]-=h*(n&&c?-1:1);break;case"end":p[o]+=h*(n&&c?-1:1);break}return p}const w7=async(t,e,n)=>{const{placement:s="bottom",strategy:i="absolute",middleware:r=[],platform:o}=n,a=r.filter(Boolean),l=await(o.isRTL==null?void 0:o.isRTL(e));let c=await o.getElementRects({reference:t,floating:e,strategy:i}),{x:u,y:d}=Pu(c,s,l),h=s,p={},m=0;for(let v=0;vJ<=0)){var N,I;const J=(((N=r.flip)==null?void 0:N.index)||0)+1,ae=A[J];if(ae)return{data:{index:J,overflows:L},reset:{placement:ae}};let q=(I=L.filter(j=>j.overflows[0]<=0).sort((j,V)=>j.overflows[1]-V.overflows[1])[0])==null?void 0:I.placement;if(!q)switch(p){case"bestFit":{var Z;const j=(Z=L.filter(V=>{if(P){const ue=Ti(V.placement);return ue===k||ue==="y"}return!0}).map(V=>[V.placement,V.overflows.filter(ue=>ue>0).reduce((ue,Re)=>ue+Re,0)]).sort((V,ue)=>V[1]-ue[1])[0])==null?void 0:Z[0];j&&(q=j);break}case"initialPlacement":q=a;break}if(i!==q)return{reset:{placement:q}}}return{}}}},E7=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){const{x:n,y:s,placement:i}=e,{mainAxis:r=!0,crossAxis:o=!1,limiter:a={fn:w=>{let{x:C,y:k}=w;return{x:C,y:k}}},...l}=Ol(t,e),c={x:n,y:s},u=await G3(e,l),d=Ti(Ds(i)),h=B3(d);let p=c[h],m=c[d];if(r){const w=h==="y"?"top":"left",C=h==="y"?"bottom":"right",k=p+u[w],y=p-u[C];p=Au(k,p,y)}if(o){const w=d==="y"?"top":"left",C=d==="y"?"bottom":"right",k=m+u[w],y=m-u[C];m=Au(k,m,y)}const v=a.fn({...e,[h]:p,[d]:m});return{...v,data:{x:v.x-n,y:v.y-s}}}}};function zs(t){return U3(t)?(t.nodeName||"").toLowerCase():"#document"}function Ct(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function vn(t){var e;return(e=(U3(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function U3(t){return t instanceof Node||t instanceof Ct(t).Node}function Ut(t){return t instanceof Element||t instanceof Ct(t).Element}function on(t){return t instanceof HTMLElement||t instanceof Ct(t).HTMLElement}function Ou(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof Ct(t).ShadowRoot}function zi(t){const{overflow:e,overflowX:n,overflowY:s,display:i}=Kt(t);return/auto|scroll|overlay|hidden|clip/.test(e+s+n)&&!["inline","contents"].includes(i)}function T7(t){return["table","td","th"].includes(zs(t))}function io(t){return[":popover-open",":modal"].some(e=>{try{return t.matches(e)}catch{return!1}})}function Ml(t){const e=Rl(),n=Ut(t)?Kt(t):t;return n.transform!=="none"||n.perspective!=="none"||(n.containerType?n.containerType!=="normal":!1)||!e&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!e&&(n.filter?n.filter!=="none":!1)||["transform","perspective","filter"].some(s=>(n.willChange||"").includes(s))||["paint","layout","strict","content"].some(s=>(n.contain||"").includes(s))}function S7(t){let e=Dn(t);for(;on(e)&&!Hs(e);){if(Ml(e))return e;if(io(e))return null;e=Dn(e)}return null}function Rl(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Hs(t){return["html","body","#document"].includes(zs(t))}function Kt(t){return Ct(t).getComputedStyle(t)}function ro(t){return Ut(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function Dn(t){if(zs(t)==="html")return t;const e=t.assignedSlot||t.parentNode||Ou(t)&&t.host||vn(t);return Ou(e)?e.host:e}function K3(t){const e=Dn(t);return Hs(e)?t.ownerDocument?t.ownerDocument.body:t.body:on(e)&&zi(e)?e:K3(e)}function Si(t,e,n){var s;e===void 0&&(e=[]),n===void 0&&(n=!0);const i=K3(t),r=i===((s=t.ownerDocument)==null?void 0:s.body),o=Ct(i);return r?e.concat(o,o.visualViewport||[],zi(i)?i:[],o.frameElement&&n?Si(o.frameElement):[]):e.concat(i,Si(i,[],n))}function Z3(t){const e=Kt(t);let n=parseFloat(e.width)||0,s=parseFloat(e.height)||0;const i=on(t),r=i?t.offsetWidth:n,o=i?t.offsetHeight:s,a=xr(n)!==r||xr(s)!==o;return a&&(n=r,s=o),{width:n,height:s,$:a}}function Dl(t){return Ut(t)?t:t.contextElement}function Ss(t){const e=Dl(t);if(!on(e))return Rn(1);const n=e.getBoundingClientRect(),{width:s,height:i,$:r}=Z3(e);let o=(r?xr(n.width):n.width)/s,a=(r?xr(n.height):n.height)/i;return(!o||!Number.isFinite(o))&&(o=1),(!a||!Number.isFinite(a))&&(a=1),{x:o,y:a}}const $7=Rn(0);function Y3(t){const e=Ct(t);return!Rl()||!e.visualViewport?$7:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function _7(t,e,n){return e===void 0&&(e=!1),!n||e&&n!==Ct(t)?!1:e}function rs(t,e,n,s){e===void 0&&(e=!1),n===void 0&&(n=!1);const i=t.getBoundingClientRect(),r=Dl(t);let o=Rn(1);e&&(s?Ut(s)&&(o=Ss(s)):o=Ss(t));const a=_7(r,n,s)?Y3(r):Rn(0);let l=(i.left+a.x)/o.x,c=(i.top+a.y)/o.y,u=i.width/o.x,d=i.height/o.y;if(r){const h=Ct(r),p=s&&Ut(s)?Ct(s):s;let m=h,v=m.frameElement;for(;v&&s&&p!==m;){const w=Ss(v),C=v.getBoundingClientRect(),k=Kt(v),y=C.left+(v.clientLeft+parseFloat(k.paddingLeft))*w.x,E=C.top+(v.clientTop+parseFloat(k.paddingTop))*w.y;l*=w.x,c*=w.y,u*=w.x,d*=w.y,l+=y,c+=E,m=Ct(v),v=m.frameElement}}return Pr({width:u,height:d,x:l,y:c})}function L7(t){let{elements:e,rect:n,offsetParent:s,strategy:i}=t;const r=i==="fixed",o=vn(s),a=e?io(e.floating):!1;if(s===o||a&&r)return n;let l={scrollLeft:0,scrollTop:0},c=Rn(1);const u=Rn(0),d=on(s);if((d||!d&&!r)&&((zs(s)!=="body"||zi(o))&&(l=ro(s)),on(s))){const h=rs(s);c=Ss(s),u.x=h.x+s.clientLeft,u.y=h.y+s.clientTop}return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-l.scrollLeft*c.x+u.x,y:n.y*c.y-l.scrollTop*c.y+u.y}}function x7(t){return Array.from(t.getClientRects())}function Q3(t){return rs(vn(t)).left+ro(t).scrollLeft}function A7(t){const e=vn(t),n=ro(t),s=t.ownerDocument.body,i=ns(e.scrollWidth,e.clientWidth,s.scrollWidth,s.clientWidth),r=ns(e.scrollHeight,e.clientHeight,s.scrollHeight,s.clientHeight);let o=-n.scrollLeft+Q3(t);const a=-n.scrollTop;return Kt(s).direction==="rtl"&&(o+=ns(e.clientWidth,s.clientWidth)-i),{width:i,height:r,x:o,y:a}}function P7(t,e){const n=Ct(t),s=vn(t),i=n.visualViewport;let r=s.clientWidth,o=s.clientHeight,a=0,l=0;if(i){r=i.width,o=i.height;const c=Rl();(!c||c&&e==="fixed")&&(a=i.offsetLeft,l=i.offsetTop)}return{width:r,height:o,x:a,y:l}}function O7(t,e){const n=rs(t,!0,e==="fixed"),s=n.top+t.clientTop,i=n.left+t.clientLeft,r=on(t)?Ss(t):Rn(1),o=t.clientWidth*r.x,a=t.clientHeight*r.y,l=i*r.x,c=s*r.y;return{width:o,height:a,x:l,y:c}}function Iu(t,e,n){let s;if(e==="viewport")s=P7(t,n);else if(e==="document")s=A7(vn(t));else if(Ut(e))s=O7(e,n);else{const i=Y3(t);s={...e,x:e.x-i.x,y:e.y-i.y}}return Pr(s)}function X3(t,e){const n=Dn(t);return n===e||!Ut(n)||Hs(n)?!1:Kt(n).position==="fixed"||X3(n,e)}function I7(t,e){const n=e.get(t);if(n)return n;let s=Si(t,[],!1).filter(a=>Ut(a)&&zs(a)!=="body"),i=null;const r=Kt(t).position==="fixed";let o=r?Dn(t):t;for(;Ut(o)&&!Hs(o);){const a=Kt(o),l=Ml(o);!l&&a.position==="fixed"&&(i=null),(r?!l&&!i:!l&&a.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||zi(o)&&!l&&X3(t,o))?s=s.filter(u=>u!==o):i=a,o=Dn(o)}return e.set(t,s),s}function M7(t){let{element:e,boundary:n,rootBoundary:s,strategy:i}=t;const o=[...n==="clippingAncestors"?io(e)?[]:I7(e,this._c):[].concat(n),s],a=o[0],l=o.reduce((c,u)=>{const d=Iu(e,u,i);return c.top=ns(d.top,c.top),c.right=Lr(d.right,c.right),c.bottom=Lr(d.bottom,c.bottom),c.left=ns(d.left,c.left),c},Iu(e,a,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function R7(t){const{width:e,height:n}=Z3(t);return{width:e,height:n}}function D7(t,e,n){const s=on(e),i=vn(e),r=n==="fixed",o=rs(t,!0,r,e);let a={scrollLeft:0,scrollTop:0};const l=Rn(0);if(s||!s&&!r)if((zs(e)!=="body"||zi(i))&&(a=ro(e)),s){const d=rs(e,!0,r,e);l.x=d.x+e.clientLeft,l.y=d.y+e.clientTop}else i&&(l.x=Q3(i));const c=o.left+a.scrollLeft-l.x,u=o.top+a.scrollTop-l.y;return{x:c,y:u,width:o.width,height:o.height}}function Mo(t){return Kt(t).position==="static"}function Mu(t,e){return!on(t)||Kt(t).position==="fixed"?null:e?e(t):t.offsetParent}function J3(t,e){const n=Ct(t);if(io(t))return n;if(!on(t)){let i=Dn(t);for(;i&&!Hs(i);){if(Ut(i)&&!Mo(i))return i;i=Dn(i)}return n}let s=Mu(t,e);for(;s&&T7(s)&&Mo(s);)s=Mu(s,e);return s&&Hs(s)&&Mo(s)&&!Ml(s)?n:s||S7(t)||n}const H7=async function(t){const e=this.getOffsetParent||J3,n=this.getDimensions,s=await n(t.floating);return{reference:D7(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:s.width,height:s.height}}};function V7(t){return Kt(t).direction==="rtl"}const N7={convertOffsetParentRelativeRectToViewportRelativeRect:L7,getDocumentElement:vn,getClippingRect:M7,getOffsetParent:J3,getElementRects:H7,getClientRects:x7,getDimensions:R7,getScale:Ss,isElement:Ut,isRTL:V7};function j7(t,e){let n=null,s;const i=vn(t);function r(){var a;clearTimeout(s),(a=n)==null||a.disconnect(),n=null}function o(a,l){a===void 0&&(a=!1),l===void 0&&(l=1),r();const{left:c,top:u,width:d,height:h}=t.getBoundingClientRect();if(a||e(),!d||!h)return;const p=rr(u),m=rr(i.clientWidth-(c+d)),v=rr(i.clientHeight-(u+h)),w=rr(c),k={rootMargin:-p+"px "+-m+"px "+-v+"px "+-w+"px",threshold:ns(0,Lr(1,l))||1};let y=!0;function E(x){const P=x[0].intersectionRatio;if(P!==l){if(!y)return o();P?o(!1,P):s=setTimeout(()=>{o(!1,1e-7)},1e3)}y=!1}try{n=new IntersectionObserver(E,{...k,root:i.ownerDocument})}catch{n=new IntersectionObserver(E,k)}n.observe(t)}return o(!0),r}function F7(t,e,n,s){s===void 0&&(s={});const{ancestorScroll:i=!0,ancestorResize:r=!0,elementResize:o=typeof ResizeObserver=="function",layoutShift:a=typeof IntersectionObserver=="function",animationFrame:l=!1}=s,c=Dl(t),u=i||r?[...c?Si(c):[],...Si(e)]:[];u.forEach(C=>{i&&C.addEventListener("scroll",n,{passive:!0}),r&&C.addEventListener("resize",n)});const d=c&&a?j7(c,n):null;let h=-1,p=null;o&&(p=new ResizeObserver(C=>{let[k]=C;k&&k.target===c&&p&&(p.unobserve(e),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var y;(y=p)==null||y.observe(e)})),n()}),c&&!l&&p.observe(c),p.observe(e));let m,v=l?rs(t):null;l&&w();function w(){const C=rs(t);v&&(C.x!==v.x||C.y!==v.y||C.width!==v.width||C.height!==v.height)&&n(),v=C,m=requestAnimationFrame(w)}return n(),()=>{var C;u.forEach(k=>{i&&k.removeEventListener("scroll",n),r&&k.removeEventListener("resize",n)}),d==null||d(),(C=p)==null||C.disconnect(),p=null,l&&cancelAnimationFrame(m)}}const q7=E7,B7=k7,z7=(t,e,n)=>{const s=new Map,i={platform:N7,...n},r={...i.platform,_c:s};return w7(t,e,{...i,platform:r})};function qy(t,e,n){if(t)return ce(t,e,n)}function By(t,e){const n=e.composedPath()[0];return Y4(n)&&t.contains(n)}const pa=new Set;{let t=function(){for(const e of pa)try{e()}catch{}window.requestAnimationFrame(t)};t()}function W7(t){return pa.add(t),()=>pa.delete(t)}function Ru(t,e,n){t.hasAttribute(e)||t.setAttribute(e,n)}function zy(t,e){if(t.hasAttribute("aria-label")||t.hasAttribute("data-no-label"))return;if(!sn(e)){Ve(t,"aria-label",e);return}function n(){Ve(t,"aria-label",e())}te(n)}function G7(t){const e=getComputedStyle(t);return e.display!=="none"&&parseInt(e.opacity)>0}function U7(t){return!!t&&("checkVisibility"in t?t.checkVisibility({checkOpacity:!0,checkVisibilityCSS:!0}):G7(t))}function Wy(t,e){return W7(()=>e(U7(t)))}function Gy(t,e,n){for(;e;){if(e===t)return!0;if(n!=null&&n(e))break;e=e.parentElement}return!1}function Uy(t,e){ce(t,"pointerup",n=>{n.button===0&&!n.defaultPrevented&&e(n)}),ce(t,"keydown",n=>{L3(n)&&e(n)})}function K7(t){return Z4(t)&&(t.touches.length>1||t.changedTouches.length>1)}function Ky(t){let e=to(),n=window.requestAnimationFrame(()=>{xt(t,e),n=-1});return()=>void window.cancelAnimationFrame(n)}function Zy(t,e,n){let s,i=t,r=t.parentElement,o=t.content.firstElementChild,a=[];!o&&t.firstElementChild&&(t.innerHTML=t.firstElementChild.outerHTML,t.firstElementChild.remove(),o=t.content.firstElementChild);for(let l=0;l{for(let l=0;ln.includes("left")?`calc(-1 * ${d})`:d,u=d=>l?`calc(-1 * ${d})`:d;return F7(e,t,()=>{z7(e,t,{placement:a,middleware:[...o.middleware??[],B7({fallbackAxisSideDirection:"start",crossAxis:!1}),q7()],...o}).then(({x:d,y:h,middlewareData:p})=>{var v;const m=!!((v=p.flip)!=null&&v.index);l=n.includes(m?"bottom":"top"),t.setAttribute("data-placement",m?n.startsWith("top")?n.replace("top","bottom"):n.replace("bottom","top"):n),Object.assign(t.style,{top:`calc(${h+"px"} + ${u(r?r+"px":`var(--${s}-y-offset, 0px)`)})`,left:`calc(${d+"px"} + ${c(i?i+"px":`var(--${s}-x-offset, 0px)`)})`})})})}function Jy(t){return getComputedStyle(t).animationName!=="none"}function eb(t){const e=document.createElement("slot");return e.name=t,e}function tb(t){const e=Ge(!1);return te(()=>{const n=t();n&&(ce(n,"transitionstart",()=>e.set(!0)),ce(n,"transitionend",()=>e.set(!1)))}),e}function nb(t,e){function n(){const s=t();if(!s)return;e();const i=new ResizeObserver(Sl(e));return i.observe(s),()=>i.disconnect()}te(n)}function sb(t){const e=Z7(t),n=Y7(t);let s=!1;return Rs(()=>{const i=e();return s&&!i?!1:(s=i,i||n())})}function Z7(t){const e=Ge(!1);return te(()=>{const n=t();if(!n){e.set(!1);return}ce(n,"mouseenter",()=>e.set(!0)),ce(n,"mouseleave",()=>e.set(!1))}),e}function Y7(t){const e=Ge(!1);return te(()=>{const n=t();if(!n){e.set(!1);return}ce(n,"focusin",()=>e.set(!0)),ce(n,"focusout",()=>e.set(!1))}),e}function e2(t){return t instanceof HTMLElement}function Q7(){const t=Ge("dark"),e=window.matchMedia("(prefers-color-scheme: light)");function n(){t.set(e.matches?"light":"dark")}return n(),ce(e,"change",n),t}function ib(t,e){te(()=>{const s=e();if(s==="system"){const i=Q7();te(()=>n(i()));return}n(s)});function n(s){yu(t,"light",s==="light"),yu(t,"dark",s==="dark")}}function rb(t,e=2){return Number(t.toFixed(e))}function ob(t){var e;return((e=String(t).split(".")[1])==null?void 0:e.length)??0}function X7(t,e,n){return Math.max(t,Math.min(n,e))}let ma=Ge(!1);ce(document,"pointerdown",()=>{ma.set(!1)}),ce(document,"keydown",t=>{t.metaKey||t.altKey||t.ctrlKey||ma.set(!0)});class J7 extends qi{constructor(){super(...arguments),this.Dc=Ge(!1)}onConnect(e){te(()=>{if(!ma()){this.Dc.set(!1),or(e,!1),this.listen("pointerenter",this.Oe.bind(this)),this.listen("pointerleave",this.Pe.bind(this));return}const n=document.activeElement===e;this.Dc.set(n),or(e,n),this.listen("focus",this.Ec.bind(this)),this.listen("blur",this.qk.bind(this))})}focused(){return this.Dc()}Ec(){this.Dc.set(!0),or(this.el,!0)}qk(){this.Dc.set(!1),or(this.el,!1)}Oe(){Du(this.el,!0)}Pe(){Du(this.el,!1)}}function or(t,e){Ve(t,"data-focus",e),Ve(t,"data-hocus",e)}function Du(t,e){Ve(t,"data-hocus",e),Ve(t,"data-hover",e)}var Hu;class t2 extends _3{constructor(){super(...arguments),this.A=[],this[Hu]=!1}get length(){return this.A.length}get readonly(){return this[be.Yc]}indexOf(e){return this.A.indexOf(e)}getById(e){return e===""?null:this.A.find(n=>n.id===e)??null}toArray(){return[...this.A]}[(Hu=be.Yc,Symbol.iterator)](){return this.A.values()}[be.da](e,n){const s=this.A.length;""+s in this||Object.defineProperty(this,s,{get(){return this.A[s]}}),!this.A.includes(e)&&(this.A.push(e),this.dispatchEvent(new Ae("add",{detail:e,trigger:n})))}[be.cc](e,n){var i;const s=this.A.indexOf(e);s>=0&&((i=this[be.Hf])==null||i.call(this,e,n),this.A.splice(s,1),this.dispatchEvent(new Ae("remove",{detail:e,trigger:n})))}[be.z](e){var n;for(const s of[...this.A])this[be.cc](s,e);this.A=[],this[be.Od](!1,e),(n=this[be.Gf])==null||n.call(this)}[be.Od](e,n){this[be.Yc]!==e&&(this[be.Yc]=e,this.dispatchEvent(new Ae("readonly-change",{detail:e,trigger:n})))}}const ga=xn.fullscreenEnabled;class e9 extends qi{constructor(){super(...arguments),this.dc=!1,this.Pd=!1}get active(){return this.Pd}get supported(){return ga}onConnect(){ce(xn,"fullscreenchange",this.E.bind(this)),ce(xn,"fullscreenerror",this.Q.bind(this)),tt(this.Fa.bind(this))}async Fa(){ga&&await this.exit()}E(e){const n=Ro(this.el);n!==this.Pd&&(n||(this.dc=!1),this.Pd=n,this.dispatch("fullscreen-change",{detail:n,trigger:e}))}Q(e){this.dc&&(this.dispatch("fullscreen-error",{detail:null,trigger:e}),this.dc=!1)}async enter(){try{return this.dc=!0,!this.el||Ro(this.el)?void 0:(Vu(),xn.requestFullscreen(this.el))}catch(e){throw this.dc=!1,e}}async exit(){if(!(!this.el||!Ro(this.el)))return Vu(),xn.exitFullscreen()}}function Ro(t){if(xn.fullscreenElement===t)return!0;try{return t.matches(xn.fullscreenPseudoClass)}catch{return!1}}function Vu(){if(!ga)throw Error("[vidstack] no fullscreen API")}const Dr=class Dr extends qi{constructor(){super(...arguments),this.la=Ge(this.Jf()),this.Cb=Ge(!1)}get type(){return this.la()}get locked(){return this.Cb()}get portrait(){return this.la().startsWith("portrait")}get landscape(){return this.la().startsWith("landscape")}get supported(){return Dr.supported}onConnect(){if(this.supported)ce(screen.orientation,"change",this.Kf.bind(this));else{const e=window.matchMedia("(orientation: landscape)");e.onchange=this.Kf.bind(this),tt(()=>e.onchange=null)}tt(this.Fa.bind(this))}async Fa(){this.supported&&this.Cb()&&await this.unlock()}Kf(e){this.la.set(this.Jf()),this.dispatch("orientation-change",{detail:{orientation:se(this.la),lock:this._c},trigger:e})}async lock(e){se(this.Cb)||this._c===e||(this.Lf(),await screen.orientation.lock(e),this.Cb.set(!0),this._c=e)}async unlock(){se(this.Cb)&&(this.Lf(),this._c=void 0,await screen.orientation.unlock(),this.Cb.set(!1))}Lf(){if(!this.supported)throw Error("[vidstack] no orientation API")}Jf(){return this.supported?window.screen.orientation.type:window.innerWidth>=window.innerHeight?"landscape-primary":"portrait-primary"}};Dr.supported=q3();let Or=Dr;function va(t){return!pe(t)&&"width"in t&&"height"in t&&Ei(t.width)&&Ei(t.height)}const n2=new O3({artist:"",artwork:null,audioTrack:null,audioTracks:[],autoPlay:!1,autoPlayError:null,audioGain:null,buffered:new pr,canLoad:!1,canLoadPoster:!1,canFullscreen:!1,canOrientScreen:q3(),canPictureInPicture:!1,canPlay:!1,clipStartTime:0,clipEndTime:0,controls:!1,get iOSControls(){return F3&&this.mediaType==="video"&&(!this.playsInline||!xn.fullscreenEnabled&&this.fullscreen)},get nativeControls(){return this.controls||this.iOSControls},controlsVisible:!1,get controlsHidden(){return!this.controlsVisible},crossOrigin:null,ended:!1,error:null,fullscreen:!1,get loop(){return this.providedLoop||this.userPrefersLoop},logLevel:"silent",mediaType:"unknown",muted:!1,paused:!0,played:new pr,playing:!1,playsInline:!1,pictureInPicture:!1,preload:"metadata",playbackRate:1,qualities:[],quality:null,autoQuality:!1,canSetQuality:!0,canSetPlaybackRate:!0,canSetVolume:!1,canSetAudioGain:!1,seekable:new pr,seeking:!1,source:{src:"",type:""},sources:[],started:!1,textTracks:[],textTrack:null,get hasCaptions(){return this.textTracks.filter(Ft).length>0},volume:1,waiting:!1,realCurrentTime:0,get currentTime(){return this.ended?this.duration:this.clipStartTime>0?Math.max(0,Math.min(this.realCurrentTime-this.clipStartTime,this.duration)):this.realCurrentTime},providedDuration:-1,intrinsicDuration:0,get realDuration(){return this.providedDuration>0?this.providedDuration:this.intrinsicDuration},get duration(){return this.clipEndTime>0?this.clipEndTime-this.clipStartTime:Math.max(0,this.realDuration-this.clipStartTime)},get title(){return this.providedTitle||this.inferredTitle},get poster(){return this.providedPoster||this.inferredPoster},get viewType(){return this.providedViewType!=="unknown"?this.providedViewType:this.inferredViewType},get streamType(){return this.providedStreamType!=="unknown"?this.providedStreamType:this.inferredStreamType},get currentSrc(){return this.source},get bufferedStart(){const t=Su(this.buffered)??0;return Math.max(0,t-this.clipStartTime)},get bufferedEnd(){const t=ui(this.buffered)??0;return Math.min(this.duration,Math.max(0,t-this.clipStartTime))},get seekableStart(){const t=Su(this.seekable)??0;return Math.max(0,t-this.clipStartTime)},get seekableEnd(){const t=this.canPlay?ui(this.seekable)??1/0:0;return this.clipEndTime>0?Math.max(this.clipEndTime,Math.max(0,t-this.clipStartTime)):t},get seekableWindow(){return Math.max(0,this.seekableEnd-this.seekableStart)},canAirPlay:!1,canGoogleCast:!1,remotePlaybackState:"disconnected",remotePlaybackType:"none",remotePlaybackLoader:null,remotePlaybackInfo:null,get isAirPlayConnected(){return this.remotePlaybackType==="airplay"&&this.remotePlaybackState==="connected"},get isGoogleCastConnected(){return this.remotePlaybackType==="google-cast"&&this.remotePlaybackState==="connected"},pointer:"fine",orientation:"landscape",width:0,height:0,mediaWidth:0,mediaHeight:0,lastKeyboardAction:null,userBehindLiveEdge:!1,liveEdgeTolerance:10,minLiveDVRWindow:60,get canSeek(){return/unknown|on-demand|:dvr/.test(this.streamType)&&Number.isFinite(this.seekableWindow)&&(!this.live||/:dvr/.test(this.streamType)&&this.seekableWindow>=this.minLiveDVRWindow)},get live(){return this.streamType.includes("live")||!Number.isFinite(this.realDuration)},get liveEdgeStart(){return this.live&&Number.isFinite(this.seekableEnd)?Math.max(0,(this.liveSyncPosition??this.seekableEnd)-this.liveEdgeTolerance):0},get liveEdge(){return this.live&&(!this.canSeek||!this.userBehindLiveEdge&&this.currentTime>=this.liveEdgeStart)},get liveEdgeWindow(){return this.live&&Number.isFinite(this.seekableEnd)?this.seekableEnd-this.liveEdgeStart:0},autoPlaying:!1,providedTitle:"",inferredTitle:"",providedLoop:!1,userPrefersLoop:!1,providedPoster:"",inferredPoster:"",inferredViewType:"unknown",providedViewType:"unknown",providedStreamType:"unknown",inferredStreamType:"unknown",liveSyncPosition:null,savedState:null}),s2=new Set(["autoPlayError","autoPlaying","buffered","canPlay","error","paused","played","playing","seekable","seeking","waiting"]),t9=new Set([...s2,"ended","inferredPoster","inferredStreamType","inferredTitle","intrinsicDuration","liveSyncPosition","realCurrentTime","savedState","started","userBehindLiveEdge"]);function Nu(t,e=!1){const n=e?s2:t9;n2.reset(t,s=>n.has(s)),ki()}class n9{constructor(e=void 0){this.bc=e,this.G=null,this.f=null,this.Rd=-1}setTarget(e){this.G=e}getPlayer(e){var n;return this.f?this.f:((n=e??this.G)==null||n.dispatchEvent(new Ae("find-media-player",{detail:s=>void(this.f=s),bubbles:!0,composed:!0})),this.f)}setPlayer(e){this.f=e}startLoading(e){this.s("media-start-loading",e)}startLoadingPoster(e){this.s("media-poster-start-loading",e)}requestAirPlay(e){this.s("media-airplay-request",e)}requestGoogleCast(e){this.s("media-google-cast-request",e)}play(e){this.s("media-play-request",e)}pause(e){this.s("media-pause-request",e)}mute(e){this.s("media-mute-request",e)}unmute(e){this.s("media-unmute-request",e)}enterFullscreen(e,n){this.s("media-enter-fullscreen-request",n,e)}exitFullscreen(e,n){this.s("media-exit-fullscreen-request",n,e)}lockScreenOrientation(e,n){this.s("media-orientation-lock-request",n,e)}unlockScreenOrientation(e){this.s("media-orientation-unlock-request",e)}enterPictureInPicture(e){this.s("media-enter-pip-request",e)}exitPictureInPicture(e){this.s("media-exit-pip-request",e)}seeking(e,n){this.s("media-seeking-request",n,e)}seek(e,n){this.s("media-seek-request",n,e)}seekToLiveEdge(e){this.s("media-live-edge-request",e)}changeDuration(e,n){this.s("media-duration-change-request",n,e)}changeClipStart(e,n){this.s("media-clip-start-change-request",n,e)}changeClipEnd(e,n){this.s("media-clip-end-change-request",n,e)}changeVolume(e,n){this.s("media-volume-change-request",n,Math.max(0,Math.min(1,e)))}changeAudioTrack(e,n){this.s("media-audio-track-change-request",n,e)}changeQuality(e,n){this.s("media-quality-change-request",n,e)}requestAutoQuality(e){this.changeQuality(-1,e)}changeTextTrackMode(e,n,s){this.s("media-text-track-change-request",s,{index:e,mode:n})}changePlaybackRate(e,n){this.s("media-rate-change-request",n,e)}changeAudioGain(e,n){this.s("media-audio-gain-change-request",n,e)}resumeControls(e){this.s("media-resume-controls-request",e)}pauseControls(e){this.s("media-pause-controls-request",e)}togglePaused(e){const n=this.getPlayer(e==null?void 0:e.target);n&&(n.state.paused?this.play(e):this.pause(e))}toggleControls(e){const n=this.getPlayer(e==null?void 0:e.target);n&&(n.controls.showing?n.controls.hide(0,e):n.controls.show(0,e))}toggleMuted(e){const n=this.getPlayer(e==null?void 0:e.target);n&&(n.state.muted?this.unmute(e):this.mute(e))}toggleFullscreen(e,n){const s=this.getPlayer(n==null?void 0:n.target);s&&(s.state.fullscreen?this.exitFullscreen(e,n):this.enterFullscreen(e,n))}togglePictureInPicture(e){const n=this.getPlayer(e==null?void 0:e.target);n&&(n.state.pictureInPicture?this.exitPictureInPicture(e):this.enterPictureInPicture(e))}showCaptions(e){const n=this.getPlayer(e==null?void 0:e.target);if(!n)return;let s=n.state.textTracks,i=this.Rd;(!s[i]||!Ft(s[i]))&&(i=-1),i===-1&&(i=s.findIndex(r=>Ft(r)&&r.default)),i===-1&&(i=s.findIndex(r=>Ft(r))),i>=0&&this.changeTextTrackMode(i,"showing",e),this.Rd=-1}disableCaptions(e){const n=this.getPlayer(e==null?void 0:e.target);if(!n)return;const s=n.state.textTracks,i=n.state.textTrack;if(i){const r=s.indexOf(i);this.changeTextTrackMode(r,"disabled",e),this.Rd=r}}toggleCaptions(e){const n=this.getPlayer(e==null?void 0:e.target);n&&(n.state.textTrack?this.disableCaptions():this.showCaptions())}userPrefersLoopChange(e,n){this.s("media-user-loop-change-request",n,e)}s(e,n,s){var a,l;const i=new Ae(e,{bubbles:!0,composed:!0,cancelable:!0,detail:s,trigger:n});let r=(n==null?void 0:n.target)||null;r&&r instanceof Tl&&(r=r.el),r=!r||r===document||r===window||r===document.body||((a=this.f)==null?void 0:a.el)&&r instanceof Node&&!this.f.el.contains(r)?this.G??((l=this.getPlayer())==null?void 0:l.el):r??this.G,this.f?e==="media-play-request"&&!this.f.state.canLoad?r==null||r.dispatchEvent(i):this.f.canPlayQueue.k(e,()=>r==null?void 0:r.dispatchEvent(i)):r==null||r.dispatchEvent(i)}Va(e){}}class s9{constructor(){this.playerId="vds-player",this.mediaId=null,this.H={volume:null,muted:null,audioGain:null,time:null,lang:null,captions:null,rate:null,quality:null},this.saveTimeThrottled=M3(this.saveTime.bind(this),1e3)}async getVolume(){return this.H.volume}async setVolume(e){this.H.volume=e,this.save()}async getMuted(){return this.H.muted}async setMuted(e){this.H.muted=e,this.save()}async getTime(){return this.H.time}async setTime(e,n){const s=e<0;this.H.time=s?null:e,s||n?this.saveTime():this.saveTimeThrottled()}async getLang(){return this.H.lang}async setLang(e){this.H.lang=e,this.save()}async getCaptions(){return this.H.captions}async setCaptions(e){this.H.captions=e,this.save()}async getPlaybackRate(){return this.H.rate}async setPlaybackRate(e){this.H.rate=e,this.save()}async getAudioGain(){return this.H.audioGain}async setAudioGain(e){this.H.audioGain=e,this.save()}async getVideoQuality(){return this.H.quality}async setVideoQuality(e){this.H.quality=e,this.save()}onChange(e,n,s="vds-player"){const i=s?localStorage.getItem(s):null,r=n?localStorage.getItem(n):null;this.playerId=s,this.mediaId=n,this.H={volume:null,muted:null,audioGain:null,lang:null,captions:null,rate:null,quality:null,...i?JSON.parse(i):{},time:r?+r:null}}save(){if(!this.playerId)return;const e=JSON.stringify({...this.H,time:void 0});localStorage.setItem(this.playerId,e)}saveTime(){if(!this.mediaId)return;const e=(this.H.time??0).toString();localStorage.setItem(this.mediaId,e)}}class i9{constructor(){this.priority=0,this.Uf=!0,this.m=null,this.J=null,this.va=new Set}canRender(e,n){return!!n}attach(e){this.m=e,e&&(e.textTracks.onchange=this.E.bind(this))}addTrack(e){this.va.add(e),this.ci(e)}removeTrack(e){var n,s;(s=(n=e[fe._])==null?void 0:n.remove)==null||s.call(n),e[fe._]=null,this.va.delete(e)}changeTrack(e){const n=e==null?void 0:e[fe._];n&&n.track.mode!=="showing"&&(n.track.mode="showing"),this.J=e}setDisplay(e){this.Uf=e,this.E()}detach(){this.m&&(this.m.textTracks.onchange=null);for(const e of this.va)this.removeTrack(e);this.va.clear(),this.m=null,this.J=null}ci(e){var s;if(!this.m)return;const n=e[s=fe._]??(e[s]=this.di(e));e2(n)&&(this.m.append(n),n.track.mode=n.default?"showing":"disabled")}di(e){const n=document.createElement("track"),s=e.default||e.mode==="showing",i=e.src&&e.type==="vtt";return n.id=e.id,n.src=i?e.src:"",n.label=e.label,n.kind=e.kind,n.default=s,e.language&&(n.srclang=e.language),s&&!i&&this.Vf(e,n.track),n}Vf(e,n){var s;if(!(e.src&&e.type==="vtt"||(s=n.cues)!=null&&s.length))for(const i of e.cues)n.addCue(i)}E(e){for(const n of this.va){const s=n[fe._];if(!s)continue;if(!this.Uf){s.track.mode=s.managed?"hidden":"disabled";continue}const i=s.track.mode==="showing";i&&this.Vf(n,s.track),n.setMode(i?"showing":"disabled",e)}}}class r9{constructor(e){this.a=e,this.m=null,this.bd=[],this.Wf=!1,this.wa=null,this.jb=null;const n=e.textTracks;this.Wd=n,te(this.Xd.bind(this)),tt(this.ei.bind(this)),ce(n,"add",this.Yd.bind(this)),ce(n,"remove",this.fi.bind(this)),ce(n,"mode-change",this.Ha.bind(this))}Xd(){const{nativeControls:e}=this.a.$state;this.Wf=e(),this.Ha()}add(e){this.bd.push(e),wi(this.Ha.bind(this))}remove(e){e.detach(),this.bd.splice(this.bd.indexOf(e),1),wi(this.Ha.bind(this))}Xf(e){requestAnimationFrame(()=>{if(this.m=e,e){this.wa=new i9,this.wa.attach(e);for(const n of this.Wd)this.Yf(n)}this.Ha()})}Yf(e){var n;Ft(e)&&((n=this.wa)==null||n.addTrack(e))}gi(e){var n;Ft(e)&&((n=this.wa)==null||n.removeTrack(e))}Yd(e){this.Yf(e.detail)}fi(e){this.gi(e.detail)}Ha(){var s,i,r,o,a,l,c;const e=this.Wd.selected;if(this.m&&(this.Wf||e!=null&&e[fe.Mf])){(s=this.jb)==null||s.changeTrack(null),(i=this.wa)==null||i.setDisplay(!0),(r=this.wa)==null||r.changeTrack(e);return}if((o=this.wa)==null||o.setDisplay(!1),(a=this.wa)==null||a.changeTrack(null),!e){(l=this.jb)==null||l.changeTrack(null);return}const n=this.bd.sort((u,d)=>u.priority-d.priority).find(u=>u.canRender(e,this.m));this.jb!==n&&((c=this.jb)==null||c.detach(),n==null||n.attach(this.m),this.jb=n??null),n==null||n.changeTrack(e)}ei(){var e,n;(e=this.wa)==null||e.detach(),this.wa=null,(n=this.jb)==null||n.detach(),this.jb=null}}class o9 extends t2{constructor(){super(),this.Z=!1,this.kb={},this.lb=null,this.mb=null,this.bg=R3(async()=>{var s;if(!this.Z)return;!this.mb&&this.lb&&(this.mb=await this.lb.getLang());const e=await((s=this.lb)==null?void 0:s.getCaptions()),n=[["captions","subtitles"],"chapters","descriptions","metadata"];for(const i of n){const r=this.getByKind(i);if(r.find(u=>u.mode==="showing"))continue;const o=this.mb?r.find(u=>u.language===this.mb):null,a=jt(i)?this.kb[i.find(u=>this.kb[u])||""]:this.kb[i],l=o??a,c=l&&Ft(l);l&&(!c||e!==!1)&&(l.mode="showing",c&&this.cg(l))}},300),this.Zd=null,this.ag=this.hi.bind(this)}get selected(){return this.A.find(n=>n.mode==="showing"&&Ft(n))??null}get selectedIndex(){const e=this.selected;return e?this.indexOf(e):-1}get preferredLang(){return this.mb}set preferredLang(e){this.mb=e,this.$f(e)}add(e,n){const s=e instanceof _r,i=s?e:new _r(e),r=e.kind==="captions"||e.kind==="subtitles"?"captions":e.kind;return this.kb[r]&&e.default&&delete e.default,i.addEventListener("mode-change",this.ag),this[be.da](i,n),i[fe.Db]=this[fe.Db],this.Z&&i[fe.Z](),e.default&&(this.kb[r]=i),this.bg(),this}remove(e,n){if(this.Zd=e,!!this.A.includes(e))return e===this.kb[e.kind]&&delete this.kb[e.kind],e.mode="disabled",e[fe.hb]=null,e.removeEventListener("mode-change",this.ag),this[be.cc](e,n),this.Zd=null,this}clear(e){for(const n of[...this.A])this.remove(n,e);return this}getByKind(e){const n=Array.isArray(e)?e:[e];return this.A.filter(s=>n.includes(s.kind))}[fe.Z](){if(!this.Z){for(const e of this.A)e[fe.Z]();this.Z=!0,this.bg()}}hi(e){const n=e.detail;if(this.lb&&Ft(n)&&n!==this.Zd&&this.cg(n),n.mode==="showing"){const s=Ft(n)?["captions","subtitles"]:[n.kind];for(const i of this.A)i.mode==="showing"&&i!=n&&s.includes(i.kind)&&(i.mode="disabled")}this.dispatchEvent(new Ae("mode-change",{detail:e.detail,trigger:e}))}cg(e){var n,s;e.mode!=="disabled"&&this.$f(e.language),(s=(n=this.lb)==null?void 0:n.setCaptions)==null||s.call(n,e.mode==="showing")}$f(e){var n,s;(s=(n=this.lb)==null?void 0:n.setLang)==null||s.call(n,this.mb=e)}setStorage(e){this.lb=e}}const Ks=Symbol(0);class i2 extends t2{get selected(){return this.A.find(e=>e.selected)??null}get selectedIndex(){return this.A.findIndex(e=>e.selected)}[be.Hf](e,n){this[be.ea](e,!1,n)}[be.da](e,n){e[Ks]=!1,Object.defineProperty(e,"selected",{get(){return this[Ks]},set:s=>{var i;this.readonly||((i=this[be.If])==null||i.call(this),this[be.ea](e,s))}}),super[be.da](e,n)}[be.ea](e,n,s){if(n===(e==null?void 0:e[Ks]))return;const i=this.selected;e&&(e[Ks]=n),(n?i!==e:i===e)&&(i&&(i[Ks]=!1),this.dispatchEvent(new Ae("change",{detail:{prev:i,current:this.selected},trigger:s})))}}class a9 extends i2{}class l9 extends i2{constructor(){super(...arguments),this.cd=!1,this.switch="current"}get auto(){return this.cd||this.readonly}[be.If](){this[Xt.Wa](!1)}[be.Gf](e){this[Xt.Ia]=void 0,this[Xt.Wa](!1,e)}autoSelect(e){var n;this.readonly||this.cd||!this[Xt.Ia]||((n=this[Xt.Ia])==null||n.call(this,e),this[Xt.Wa](!0,e))}getBySrc(e){return this.A.find(n=>n.src===e)}[Xt.Wa](e,n){this.cd!==e&&(this.cd=e,this.dispatchEvent(new Ae("auto-change",{detail:e,trigger:n})))}}function r2(t){return t instanceof HTMLAudioElement}function o2(t){return t instanceof HTMLVideoElement}function c9(t){return r2(t)||o2(t)}function u9(t){return t instanceof HTMLIFrameElement}class us extends qi{}const d9={togglePaused:"k Space",toggleMuted:"m",toggleFullscreen:"f",togglePictureInPicture:"i",toggleCaptions:"c",seekBackward:"j J ArrowLeft",seekForward:"l L ArrowRight",volumeUp:"ArrowUp",volumeDown:"ArrowDown",speedUp:">",slowDown:"<"},ar=new Set(["Shift","Alt","Meta","Ctrl"]),f9='button, [role="button"]',ju='input, textarea, select, [contenteditable], [role^="menuitem"], [role="timer"]';class h9 extends us{constructor(e){super(),this.a=e,this.Ib=null}onConnect(){te(this.ii.bind(this))}ii(){const{keyDisabled:e,keyTarget:n}=this.$props;if(e())return;const s=n()==="player"?this.el:document,i=Ge(!1);s===this.el?(this.listen("focusin",()=>i.set(!0)),this.listen("focusout",r=>{this.el.contains(r.target)||i.set(!1)})):(se(i)||i.set(document.querySelector("[data-media-player]")===this.el),ce(document,"focusin",r=>{const o=r.composedPath().find(a=>a instanceof Element&&a.localName==="media-player");o!==void 0&&i.set(this.el===o)})),te(()=>{i()&&(ce(s,"keyup",this.hc.bind(this)),ce(s,"keydown",this.ic.bind(this)),ce(s,"keydown",this.ji.bind(this),{capture:!0}))})}hc(e){var r,o;const n=document.activeElement;if(!e.key||!this.$state.canSeek()||n!=null&&n.matches(ju))return;let{method:s,value:i}=this._d(e);if(!pe(i)&&!jt(i)){(r=i==null?void 0:i.onKeyUp)==null||r.call(i,{event:e,player:this.a.player,remote:this.a.remote}),(o=i==null?void 0:i.callback)==null||o.call(i,e,this.a.remote);return}if(s!=null&&s.startsWith("seek")&&(e.preventDefault(),e.stopPropagation(),this.Ib?(this.dg(e,s==="seekForward"),this.Ib=null):(this.a.remote.seek(this.dd,e),this.dd=void 0)),s!=null&&s.startsWith("volume")){const a=this.el.querySelector("[data-media-volume-slider]");a==null||a.dispatchEvent(new KeyboardEvent("keyup",{key:s==="volumeUp"?"Up":"Down",shiftKey:e.shiftKey,trigger:e}))}}ic(e){var o,a,l,c;if(!e.key||ar.has(e.key))return;const n=document.activeElement;if(n!=null&&n.matches(ju)||L3(e)&&(n!=null&&n.matches(f9)))return;let{method:s,value:i}=this._d(e),r=!e.metaKey&&/^[0-9]$/.test(e.key);if(!pe(i)&&!jt(i)&&!r){(o=i==null?void 0:i.onKeyDown)==null||o.call(i,{event:e,player:this.a.player,remote:this.a.remote}),(a=i==null?void 0:i.callback)==null||a.call(i,e,this.a.remote);return}if(!s&&r){e.preventDefault(),e.stopPropagation(),this.a.remote.seek(this.$state.duration()/10*Number(e.key),e);return}if(s){switch(e.preventDefault(),e.stopPropagation(),s){case"seekForward":case"seekBackward":this.Ja(e,s,s==="seekForward");break;case"volumeUp":case"volumeDown":const u=this.el.querySelector("[data-media-volume-slider]");if(u)u.dispatchEvent(new KeyboardEvent("keydown",{key:s==="volumeUp"?"Up":"Down",shiftKey:e.shiftKey,trigger:e}));else{const h=e.shiftKey?.1:.05;this.a.remote.changeVolume(this.$state.volume()+(s==="volumeUp"?+h:-h),e)}break;case"toggleFullscreen":this.a.remote.toggleFullscreen("prefer-media",e);break;case"speedUp":case"slowDown":const d=this.$state.playbackRate();this.a.remote.changePlaybackRate(Math.max(.25,Math.min(2,d+(s==="speedUp"?.25:-.25))),e);break;default:(c=(l=this.a.remote)[s])==null||c.call(l,e)}this.$state.lastKeyboardAction.set({action:s,event:e})}}ji(e){c9(e.target)&&this._d(e).method&&e.preventDefault()}_d(e){const n={...this.$props.keyShortcuts(),...this.a.ariaKeys},s=Object.keys(n).find(i=>{var l;const r=n[i],o=jt(r)?r.join(" "):pe(r)?r:r==null?void 0:r.keys,a=(l=jt(o)?o:o==null?void 0:o.split(" "))==null?void 0:l.map(c=>m9(c).replace(/Control/g,"Ctrl").split("+"));return a==null?void 0:a.some(c=>{const u=new Set(c.filter(d=>ar.has(d)));for(const d of ar){const h=d.toLowerCase()+"Key";if(!u.has(d)&&e[h])return!1}return c.every(d=>ar.has(d)?e[d.toLowerCase()+"Key"]:e.key===d.replace("Space"," "))})});return{method:s,value:s?n[s]:null}}ki(e,n){const s=e.shiftKey?10:5;return this.dd=Math.max(0,Math.min((this.dd??this.$state.currentTime())+(n==="seekForward"?+s:-s),this.$state.duration()))}dg(e,n){var s;(s=this.Ib)==null||s.dispatchEvent(new KeyboardEvent(e.type,{key:n?"Right":"Left",shiftKey:e.shiftKey,trigger:e}))}Ja(e,n,s){this.$state.canSeek()&&(this.Ib||(this.Ib=this.el.querySelector("[data-media-time-slider]")),this.Ib?this.dg(e,s):this.a.remote.seeking(this.ki(e,n),e))}}const p9=["!","@","#","$","%","^","&","*","(",")"];function m9(t){return t.replace(/Shift\+(\d)/g,(e,n)=>p9[n-1])}class g9 extends us{constructor(){super(...arguments),this.Sd=-2,this.Gb=!1,this.Sf=Ge(!1),this.Td=Ge(!1),this.ec=null,this.Ud=Ge(!0),this.defaultDelay=2e3}get canIdle(){return this.Ud()}set canIdle(e){this.Ud.set(e)}get hideOnMouseLeave(){const{hideControlsOnMouseLeave:e}=this.$props;return this.Sf()||e()}set hideOnMouseLeave(e){this.Sf.set(e)}get showing(){return this.$state.controlsVisible()}show(e=0,n){this.Vd(),this.Gb||this.ad(!0,e,n)}hide(e=this.defaultDelay,n){this.Vd(),this.Gb||this.ad(!1,e,n)}pause(e){this.Gb=!0,this.Vd(),this.ad(!0,0,e)}resume(e){this.Gb=!1,!this.$state.paused()&&this.ad(!1,this.defaultDelay,e)}onConnect(){te(this.Hb.bind(this))}Hb(){const{viewType:e}=this.$state;if(!this.Ud())return;if(e()==="audio"){this.show();return}te(this.$h.bind(this)),te(this.fc.bind(this));const n=this.gc.bind(this),s=this.ib.bind(this);this.listen("can-play",i=>this.show(0,i)),this.listen("play",n),this.listen("pause",s),this.listen("auto-play-fail",s)}$h(){const{started:e,pointer:n,paused:s}=this.$state;if(!e()||n()!=="fine")return;const i=this.hideOnMouseLeave;(!i||!this.Td())&&te(()=>{s()||this.listen("pointermove",this.Tf.bind(this))}),i&&(this.listen("mouseenter",this.ai.bind(this)),this.listen("mouseleave",this.bi.bind(this)))}fc(){const{paused:e,started:n,autoPlayError:s}=this.$state;if(e()||s()&&!n())return;const i=this.Tf.bind(this);te(()=>{const r=this.$state.pointer(),o=r==="coarse",a=[o?"touchend":"pointerup","keydown"];for(const l of a)this.listen(l,i,{passive:!1})})}gc(e){this.show(0,e),this.hide(void 0,e)}ib(e){this.show(0,e)}ai(e){this.Td.set(!1),this.show(0,e),this.hide(void 0,e)}bi(e){this.Td.set(!0),this.hide(0,e)}Vd(){window.clearTimeout(this.Sd),this.Sd=-1}Tf(e){var n;e.MEDIA_GESTURE||this.Gb||K7(e)||(El(e)&&(e.key==="Escape"?((n=this.el)==null||n.focus(),this.ec=null):this.ec&&(e.preventDefault(),requestAnimationFrame(()=>{var s;(s=this.ec)==null||s.focus(),this.ec=null}))),this.show(0,e),this.hide(this.defaultDelay,e))}ad(e,n,s){if(n===0){this.E(e,s);return}this.Sd=window.setTimeout(()=>{this.scope&&this.E(e&&!this.Gb,s)},n)}E(e,n){var s;this.$state.controlsVisible()!==e&&(this.$state.controlsVisible.set(e),!e&&document.activeElement&&((s=this.el)!=null&&s.contains(document.activeElement))&&(this.ec=document.activeElement,requestAnimationFrame(()=>{var i;(i=this.el)==null||i.focus({preventScroll:!0})})),this.dispatch("controls-change",{detail:e,trigger:n}))}}class v9{constructor(){this.name="audio"}canPlay(e){return xl(e)?!pe(e.src)||e.type==="?"||_5(this.target,e.type):!1}mediaType(){return"audio"}async load(e){return new(await ne(async()=>{const{AudioProvider:n}=await import("./vidstack-audio-D2ylweZx.js");return{AudioProvider:n}},__vite__mapDeps([33,34,35]))).AudioProvider(this.target,e)}}class Hl{constructor(){this.name="video"}canPlay(e){return Al(e)?!pe(e.src)||e.type==="?"||L5(this.target,e.type):!1}mediaType(){return"video"}async load(e){return new(await ne(async()=>{const{VideoProvider:n}=await import("./vidstack-video-CWeQ13Xe.js");return{VideoProvider:n}},__vite__mapDeps([36,34,35]))).VideoProvider(this.target,e)}}const Hr=class Hr extends Hl{constructor(){super(...arguments),this.name="hls"}canPlay(e){return Hr.supported&&Bi(e)}async load(e){return new(await ne(async()=>{const{HLSProvider:n}=await import("./vidstack-hls-C6uO5d1R.js");return{HLSProvider:n}},__vite__mapDeps([37,36,34,35]))).HLSProvider(this.target,e)}};Hr.supported=Ll();let ya=Hr;const Vr=class Vr extends Hl{constructor(){super(...arguments),this.name="dash"}canPlay(e){return Vr.supported&&Pl(e)}async load(e){return new(await ne(async()=>{const{DASHProvider:n}=await import("./vidstack-dash-CN7yhjMt.js");return{DASHProvider:n}},__vite__mapDeps([38,36,34,35]))).DASHProvider(this.target,e)}};Vr.supported=I5();let ba=Vr;class y9{constructor(){this.name="vimeo"}preconnect(){const e=["https://i.vimeocdn.com","https://f.vimeocdn.com","https://fresnel.vimeocdn.com"];for(const n of e)so(n)}canPlay(e){return pe(e.src)&&e.type==="video/vimeo"}mediaType(){return"video"}async load(e){return new(await ne(async()=>{const{VimeoProvider:n}=await import("./vidstack-vimeo-yxLnhx89.js");return{VimeoProvider:n}},__vite__mapDeps([39,35,40,41]))).VimeoProvider(this.target,e)}async loadPoster(e,n,s){const{resolveVimeoVideoId:i,getVimeoVideoInfo:r}=await ne(async()=>{const{resolveVimeoVideoId:l,getVimeoVideoInfo:c}=await import("./vidstack-krOAtKMi-C3UUF7YD.js");return{resolveVimeoVideoId:l,getVimeoVideoInfo:c}},[]);if(!pe(e.src))return null;const{videoId:o,hash:a}=i(e.src);return o?r(o,s,a).then(l=>l?l.poster:null):null}}class b9{constructor(){this.name="youtube"}preconnect(){const e=["https://www.google.com","https://i.ytimg.com","https://googleads.g.doubleclick.net","https://static.doubleclick.net"];for(const n of e)so(n)}canPlay(e){return pe(e.src)&&e.type==="video/youtube"}mediaType(){return"video"}async load(e){return new(await ne(async()=>{const{YouTubeProvider:n}=await import("./vidstack-youtube-C6lKwRbG.js");return{YouTubeProvider:n}},__vite__mapDeps([42,40,43]))).YouTubeProvider(this.target,e)}async loadPoster(e,n,s){const{findYouTubePoster:i,resolveYouTubeVideoId:r}=await ne(async()=>{const{findYouTubePoster:a,resolveYouTubeVideoId:l}=await import("./vidstack-Zc3I7oOd-CA6XwpqT.js");return{findYouTubePoster:a,resolveYouTubeVideoId:l}},[]),o=pe(e.src)&&r(e.src);return o?i(o,s):null}}const Do=Symbol(0),C9=["autoPlay","canAirPlay","canFullscreen","canGoogleCast","canLoad","canLoadPoster","canPictureInPicture","canPlay","canSeek","ended","fullscreen","isAirPlayConnected","isGoogleCastConnected","live","liveEdge","loop","mediaType","muted","paused","pictureInPicture","playing","playsInline","remotePlaybackState","remotePlaybackType","seeking","started","streamType","viewType","waiting"],w9={artist:"",artwork:null,autoplay:!1,autoPlay:!1,clipStartTime:0,clipEndTime:0,controls:!1,currentTime:0,crossorigin:null,crossOrigin:null,duration:-1,fullscreenOrientation:"landscape",googleCast:{},load:"visible",posterLoad:"visible",logLevel:"silent",loop:!1,muted:!1,paused:!0,playsinline:!1,playsInline:!1,playbackRate:1,poster:"",preload:"metadata",preferNativeHLS:!1,src:"",title:"",controlsDelay:2e3,hideControlsOnMouseLeave:!1,viewType:"unknown",streamType:"unknown",volume:1,liveEdgeTolerance:10,minLiveDVRWindow:60,keyDisabled:!1,keyTarget:"player",keyShortcuts:d9,storage:null};class Fu extends us{constructor(e,n){super(),this.la=e,this.La=n}async onAttach(e){const n=this.$props[this.la]();if(n==="eager")requestAnimationFrame(this.La);else if(n==="idle")c5(this.La);else if(n==="visible"){let s,i=new IntersectionObserver(r=>{this.scope&&r[0].isIntersecting&&(s==null||s(),s=void 0,this.La())});i.observe(e),s=tt(()=>i.disconnect())}}}class k9{constructor(e,n){this.V=e,this.a=n,this.c=(s,...i)=>{this.V(new Ae(s,{detail:i==null?void 0:i[0],trigger:i==null?void 0:i[1]}))}}async Ga(e,n){return wi(async()=>{var N,I,Z,J,ae,q,j;this.a;const{autoPlay:s,canPlay:i,started:r,duration:o,seekable:a,buffered:l,remotePlaybackInfo:c,playsInline:u,savedState:d,source:h}=this.a.$state;if(i())return;const p={duration:(e==null?void 0:e.duration)??o(),seekable:(e==null?void 0:e.seekable)??a(),buffered:(e==null?void 0:e.buffered)??l(),provider:this.a.$provider()};this.c("can-play",p,n),ki();let m=this.a.$provider(),{storage:v,qualities:w}=this.a,{muted:C,volume:k,clipStartTime:y,playbackRate:E}=this.a.$props;await((N=v==null?void 0:v.onLoad)==null?void 0:N.call(v,h()));const x=(I=d())==null?void 0:I.currentTime,P=(Z=d())==null?void 0:Z.paused,A=await(v==null?void 0:v.getTime()),F=x??A??y(),D=P||P!==!1&&!r()&&s();if(m){m.setVolume(await(v==null?void 0:v.getVolume())??k()),m.setMuted(C()||!!await(v==null?void 0:v.getMuted()));const V=await(v==null?void 0:v.getAudioGain())??1;V>1&&((ae=(J=m.audioGain)==null?void 0:J.setGain)==null||ae.call(J,V)),(q=m.setPlaybackRate)==null||q.call(m,await(v==null?void 0:v.getPlaybackRate())??E()),(j=m.setPlaysInline)==null||j.call(m,u()),F>0&&m.setCurrentTime(F)}const L=await(v==null?void 0:v.getVideoQuality());if(L&&w.length){let V=null,ue=1/0;for(const Re of w){const ze=Math.abs(L.width-Re.width)+Math.abs(L.height-Re.height)+(L.bitrate?Math.abs(L.bitrate-(Re.bitrate??0)):0);ze0&&this.c("started",void 0,n),c.set(null)})}async kj(e){const{player:n,$state:{autoPlaying:s,muted:i}}=this.a;s.set(!0);const r=new Ae("auto-play-attempt",{trigger:e});try{await n.play(r)}catch{}}}class E9{constructor(){this.i=new Map}k(e,n){this.i.set(e,n)}xe(e){const n=this.rg(e);return this.i.delete(e),n}rg(e){return this.i.get(e)}ub(e){this.i.delete(e)}Pm(){this.i.clear()}}class a2{constructor(){this.wc=!1,this.ye=fa(),this.i=new Map}get Qm(){return this.i.size}get Rm(){return this.wc}async Sm(){this.wc||await this.ye.promise}k(e,n){if(this.wc){n();return}this.i.delete(e),this.i.set(e,n)}xe(e){var n;(n=this.i.get(e))==null||n(),this.i.delete(e)}Xa(){this.sg(),this.wc=!0,this.i.size>0&&this.sg()}$(){this.wc=!1}z(){this.$(),this.i.clear(),this.tg()}sg(){for(const e of this.i.keys())this.xe(e);this.tg()}tg(){this.ye.resolve(),this.ye=fa()}}class T9 extends us{constructor(e,n,s){super(),this.Ba=e,this.g=n,this.a=s,this.zc=new a2,this.Fe=!1,this.C=s.$provider,this.yc=new g9,this.pd=new e9,this.bb=new Or}onAttach(){this.listen("fullscreen-change",this.Qd.bind(this))}onConnect(){const e=Object.getOwnPropertyNames(Object.getPrototypeOf(this)),n=this.Hj.bind(this);for(const s of e)s.startsWith("media-")&&this.listen(s,n);this.Ij(),te(this.Jj.bind(this)),te(this.Kj.bind(this)),te(this.Lj.bind(this)),te(this.Mj.bind(this)),te(this.Nj.bind(this)),te(this.Oj.bind(this)),te(this.Pj.bind(this))}onDestroy(){try{const e=this.createEvent("destroy"),{pictureInPicture:n,fullscreen:s}=this.$state;s()&&this.Lg("prefer-media",e),n()&&this.Ge(e)}catch{}this.zc.z()}Ij(){const{load:e}=this.$props,{canLoad:n}=this.$state;if(e()!=="play"||n())return;const s=this.listen("media-play-request",i=>{this.Gg(i),s()})}Jj(){const e=this.C(),n=this.$state.canPlay();return e&&n&&this.zc.Xa(),()=>{this.zc.$()}}Hj(e){e.stopPropagation(),!e.defaultPrevented&&this[e.type]&&(se(this.C)?this[e.type](e):this.zc.k(e.type,()=>{se(this.C)&&this[e.type](e)}))}async Ac(e){const{canPlay:n,paused:s,autoPlaying:i}=this.$state;if(this.Gg(e)||!se(s))return;e&&this.g.i.k("media-play-request",e);const r=se(i);try{const o=se(this.C);return Ho(o,se(n)),await o.play()}catch(o){const a=this.createEvent("play-fail",{detail:Io(o),trigger:e});throw a.autoPlay=r,this.Ba.V(a),o}}Gg(e){const{load:n}=this.$props,{canLoad:s}=this.$state;if(n()==="play"&&!s()){const i=this.createEvent("media-start-loading",{trigger:e});return this.dispatchEvent(i),this.zc.k("media-play-request",async()=>{try{await this.Ac(i)}catch{}}),!0}return!1}async Ee(e){const{canPlay:n,paused:s}=this.$state;if(!se(s)){e&&this.g.i.k("media-pause-request",e);try{const i=se(this.C);return Ho(i,se(n)),await i.pause()}catch(i){throw this.g.i.ub("media-pause-request"),i}}}Hg(e,n){const{audioGain:s,canSetAudioGain:i}=this.$state;if(s()===e)return;const r=this.C();if(!(r!=null&&r.audioGain)||!i())throw Error("[vidstack] audio gain api not available");n&&this.g.i.k("media-audio-gain-change-request",n),r.audioGain.setGain(e)}Ig(e){const{canPlay:n,live:s,liveEdge:i,canSeek:r,liveSyncPosition:o,seekableEnd:a,userBehindLiveEdge:l}=this.$state;if(l.set(!1),se(()=>!s()||i()||!r()))return;const c=se(this.C);Ho(c,se(n)),e&&this.g.i.k("media-seek-request",e);const u=a()-2;c.setCurrentTime(Math.min(u,o()??u))}async Jg(e="prefer-media",n){const s=this.Kg(e);if(qu(e,s),!s.active)return se(this.$state.pictureInPicture)&&(this.Fe=!0,await this.Ge(n)),n&&this.g.i.k("media-enter-fullscreen-request",n),s.enter()}async Lg(e="prefer-media",n){const s=this.Kg(e);if(qu(e,s),!!s.active){n&&this.g.i.k("media-exit-fullscreen-request",n);try{const i=await s.exit();return this.Fe&&se(this.$state.canPictureInPicture)&&await this.He(),i}finally{this.Fe=!1}}}Kg(e){const n=se(this.C);return e==="prefer-media"&&this.pd.supported||e==="media"?this.pd:n==null?void 0:n.fullscreen}async He(e){if(this.Mg(),!this.$state.pictureInPicture())return e&&this.g.i.k("media-enter-pip-request",e),await this.C().pictureInPicture.enter()}async Ge(e){if(this.Mg(),!!this.$state.pictureInPicture())return e&&this.g.i.k("media-exit-pip-request",e),await this.C().pictureInPicture.exit()}Mg(){if(!this.$state.canPictureInPicture())throw Error("[vidstack] no pip support")}Kj(){this.yc.defaultDelay=this.$props.controlsDelay()}Lj(){var s,i;const{canSetAudioGain:e}=this.$state,n=!!((i=(s=this.C())==null?void 0:s.audioGain)!=null&&i.supported);e.set(n)}Mj(){var s,i;const{canAirPlay:e}=this.$state,n=!!((i=(s=this.C())==null?void 0:s.airPlay)!=null&&i.supported);e.set(n)}Nj(){const{canGoogleCast:e,source:n}=this.$state,s=S5&&!j3&&q5(n());e.set(s)}Oj(){var s,i;const{canFullscreen:e}=this.$state,n=this.pd.supported||!!((i=(s=this.C())==null?void 0:s.fullscreen)!=null&&i.supported);e.set(n)}Pj(){var s,i;const{canPictureInPicture:e}=this.$state,n=!!((i=(s=this.C())==null?void 0:s.pictureInPicture)!=null&&i.supported);e.set(n)}async"media-airplay-request"(e){try{await this.Ng(e)}catch{}}async Ng(e){var n;try{const s=(n=this.C())==null?void 0:n.airPlay;if(!(s!=null&&s.supported))throw Error("No AirPlay adapter.");return e&&this.g.i.k("media-airplay-request",e),await s.prompt()}catch(s){throw this.g.i.ub("media-airplay-request"),s}}async"media-google-cast-request"(e){try{await this.Og(e)}catch{}}async Og(e){try{const{canGoogleCast:n}=this.$state;if(!se(n)){const i=Error("Cast not available.");throw i.code="CAST_NOT_AVAILABLE",i}if(so("https://www.gstatic.com"),!this.qd){const i=await ne(()=>import("./vidstack-CMYUT9x7-Dj5gtChS.js").then(r=>r.v),[]);this.qd=new i.GoogleCastLoader}await this.qd.prompt(this.a),e&&this.g.i.k("media-google-cast-request",e);const s=se(this.$state.remotePlaybackState)!=="disconnected";s&&this.$state.savedState.set({paused:se(this.$state.paused),currentTime:se(this.$state.currentTime)}),this.$state.remotePlaybackLoader.set(s?this.qd:null)}catch(n){throw this.g.i.ub("media-google-cast-request"),n}}"media-clip-start-change-request"(e){const{clipStartTime:n}=this.$state;n.set(e.detail)}"media-clip-end-change-request"(e){const{clipEndTime:n}=this.$state;n.set(e.detail),this.dispatch("duration-change",{detail:e.detail,trigger:e})}"media-duration-change-request"(e){const{providedDuration:n,clipEndTime:s}=this.$state;n.set(e.detail),s()<=0&&this.dispatch("duration-change",{detail:e.detail,trigger:e})}"media-audio-track-change-request"(e){const{logger:n,audioTracks:s}=this.a;if(s.readonly)return;const i=e.detail,r=s[i];if(r){const o=e.type;this.g.i.k(o,e),r.selected=!0}}async"media-enter-fullscreen-request"(e){try{await this.Jg(e.detail,e)}catch(n){this.Zc(n,e)}}async"media-exit-fullscreen-request"(e){try{await this.Lg(e.detail,e)}catch(n){this.Zc(n,e)}}async Qd(e){const n=se(this.$props.fullscreenOrientation),s=e.detail;if(!(zt(n)||n==="none"||!this.bb.supported))if(s){if(this.bb.locked)return;this.dispatch("media-orientation-lock-request",{detail:n,trigger:e})}else this.bb.locked&&this.dispatch("media-orientation-unlock-request",{trigger:e})}Zc(e,n){this.Ba.V(this.createEvent("fullscreen-error",{detail:Io(e)}))}async"media-orientation-lock-request"(e){const n=e.type;try{this.g.i.k(n,e),await this.bb.lock(e.detail)}catch{this.g.i.ub(n)}}async"media-orientation-unlock-request"(e){const n=e.type;try{this.g.i.k(n,e),await this.bb.unlock()}catch{this.g.i.ub(n)}}async"media-enter-pip-request"(e){try{await this.He(e)}catch(n){this.Pg(n,e)}}async"media-exit-pip-request"(e){try{await this.Ge(e)}catch(n){this.Pg(n,e)}}Pg(e,n){this.Ba.V(this.createEvent("picture-in-picture-error",{detail:Io(e)}))}"media-live-edge-request"(e){const{live:n,liveEdge:s,canSeek:i}=this.$state;if(!(!n()||s()||!i())){this.g.i.k("media-seek-request",e);try{this.Ig()}catch{this.g.i.ub("media-seek-request")}}}async"media-loop-request"(e){try{this.g.Ob=!0,this.g.Bc=!0,await this.Ac(e)}catch{this.g.Ob=!1}}"media-user-loop-change-request"(e){this.$state.userPrefersLoop.set(e.detail)}async"media-pause-request"(e){if(!this.$state.paused())try{await this.Ee(e)}catch{}}async"media-play-request"(e){if(this.$state.paused())try{await this.Ac(e)}catch{}}"media-rate-change-request"(e){const{playbackRate:n,canSetPlaybackRate:s}=this.$state;if(n()===e.detail||!s())return;const i=this.C();i!=null&&i.setPlaybackRate&&(this.g.i.k("media-rate-change-request",e),i.setPlaybackRate(e.detail))}"media-audio-gain-change-request"(e){try{this.Hg(e.detail,e)}catch{}}"media-quality-change-request"(e){var o,a;const{qualities:n,storage:s,logger:i}=this.a;if(n.readonly)return;this.g.i.k("media-quality-change-request",e);const r=e.detail;if(r<0)n.autoSelect(e),e.isOriginTrusted&&((o=s==null?void 0:s.setVideoQuality)==null||o.call(s,null));else{const l=n[r];l&&(l.selected=!0,e.isOriginTrusted&&((a=s==null?void 0:s.setVideoQuality)==null||a.call(s,{id:l.id,width:l.width,height:l.height,bitrate:l.bitrate})))}}"media-pause-controls-request"(e){const n=e.type;this.g.i.k(n,e),this.yc.pause(e)}"media-resume-controls-request"(e){const n=e.type;this.g.i.k(n,e),this.yc.resume(e)}"media-seek-request"(e){const{seekableStart:n,seekableEnd:s,ended:i,canSeek:r,live:o,userBehindLiveEdge:a,clipStartTime:l}=this.$state,c=e.detail;i()&&(this.g.Bc=!0);const u=e.type;this.g.Ja=!1,this.g.i.ub(u);const d=c+l(),h=Math.floor(d)===Math.floor(s()),p=h?s():Math.min(Math.max(n()+.1,d),s()-.1);!Number.isFinite(p)||!r()||(this.g.i.k(u,e),this.C().setCurrentTime(p),o()&&e.isOriginTrusted&&Math.abs(s()-p)>=2&&a.set(!0))}"media-seeking-request"(e){const n=e.type;this.g.i.k(n,e),this.$state.seeking.set(!0),this.g.Ja=!0}"media-start-loading"(e){if(this.$state.canLoad())return;const n=e.type;this.g.i.k(n,e),this.Ba.V(this.createEvent("can-load"))}"media-poster-start-loading"(e){if(this.$state.canLoadPoster())return;const n=e.type;this.g.i.k(n,e),this.Ba.V(this.createEvent("can-load-poster"))}"media-text-track-change-request"(e){const{index:n,mode:s}=e.detail,i=this.a.textTracks[n];if(i){const r=e.type;this.g.i.k(r,e),i.setMode(s,e)}}"media-mute-request"(e){if(this.$state.muted())return;const n=e.type;this.g.i.k(n,e),this.C().setMuted(!0)}"media-unmute-request"(e){const{muted:n,volume:s}=this.$state;if(!n())return;const i=e.type;this.g.i.k(i,e),this.a.$provider().setMuted(!1),s()===0&&(this.g.i.k(i,e),this.C().setVolume(.25))}"media-volume-change-request"(e){const{muted:n,volume:s}=this.$state,i=e.detail;if(s()===i)return;const r=e.type;this.g.i.k(r,e),this.C().setVolume(i),i>0&&n()&&(this.g.i.k(r,e),this.C().setMuted(!1))}Qa(e,n,s){}}function Ho(t,e){if(!(t&&e))throw Error("[vidstack] media not ready")}function qu(t,e){if(!(e!=null&&e.supported))throw Error("[vidstack] no fullscreen support")}class S9{constructor(){this.Ja=!1,this.Ob=!1,this.Bc=!1,this.i=new E9}}const $9=new Set(["auto-play","auto-play-fail","can-load","sources-change","source-change","load-start","abort","error","loaded-metadata","loaded-data","can-play","play","play-fail","pause","playing","seeking","seeked","waiting"]);class _9 extends us{constructor(e,n){super(),this.g=e,this.a=n,this.u=new Map,this.rd=!1,this.On=[],this.Ln=[-1,-1],this.sd=!1,this.Cc=!1,this.Ke=null,this.seeking=M3(s=>{const{seeking:i,realCurrentTime:r,paused:o}=this.$state;i.set(!0),r.set(s.detail),this.D("media-seeking-request",s),o()&&(this.Pb=s,this.Le()),this.Ln=[-1,-1]},150,{leading:!0}),this.Le=R3(()=>{if(!this.Pb)return;this.sd=!0;const{waiting:s,playing:i}=this.$state;s.set(!0),i.set(!1);const r=this.createEvent("waiting",{trigger:this.Pb});this.u.set("waiting",r),this.dispatch(r),this.Pb=void 0,this.sd=!1},300)}onAttach(e){e.setAttribute("aria-busy","true"),this.listen("fullscreen-change",this["fullscreen-change"].bind(this)),this.listen("fullscreen-error",this["fullscreen-error"].bind(this)),this.listen("orientation-change",this["orientation-change"].bind(this))}onConnect(e){te(this.Qj.bind(this)),this.Rj(),this.Sj(),this.Tj(),this.Uj(),tt(this.Vj.bind(this))}onDestroy(){const{audioTracks:e,qualities:n,textTracks:s}=this.a;e[be.z](),n[be.z](),s[be.z](),this.Ie()}V(e){if(!this.scope)return;const n=e.type;wi(()=>{var s;return(s=this[e.type])==null?void 0:s.call(this,e)}),$9.has(n)&&this.u.set(n,e),this.dispatch(e)}Uj(){this.Cc&&(requestAnimationFrame(()=>{this.scope&&this.a.remote.play(new Ae("dom-connect"))}),this.Cc=!1)}Vj(){var e;this.Cc||(this.Cc=!this.$state.paused(),(e=this.a.$provider())==null||e.pause())}vb(){this.Qg(),this.rd=!1,this.g.Bc=!1,this.g.Ob=!1,this.sd=!1,this.Pb=void 0,this.u.clear()}D(e,n){const s=this.g.i.xe(e);s&&(n.request=s,n.triggers.add(s))}Rj(){this.Je(),this.Rg();const e=this.a.textTracks;ce(e,"add",this.Je.bind(this)),ce(e,"remove",this.Je.bind(this)),ce(e,"mode-change",this.Rg.bind(this))}Sj(){const e=this.a.qualities;ce(e,"add",this.ld.bind(this)),ce(e,"remove",this.ld.bind(this)),ce(e,"change",this.Za.bind(this)),ce(e,"auto-change",this.Wj.bind(this)),ce(e,"readonly-change",this.Xj.bind(this))}Tj(){const e=this.a.audioTracks;ce(e,"add",this.Sg.bind(this)),ce(e,"remove",this.Sg.bind(this)),ce(e,"change",this.Yj.bind(this))}Je(e){const{textTracks:n}=this.$state;n.set(this.a.textTracks.toArray()),this.dispatch("text-tracks-change",{detail:n(),trigger:e})}Rg(e){e&&this.D("media-text-track-change-request",e);const n=this.a.textTracks.selected,{textTrack:s}=this.$state;s()!==n&&(s.set(n),this.dispatch("text-track-change",{detail:n,trigger:e}))}Sg(e){const{audioTracks:n}=this.$state;n.set(this.a.audioTracks.toArray()),this.dispatch("audio-tracks-change",{detail:n(),trigger:e})}Yj(e){const{audioTrack:n}=this.$state;n.set(this.a.audioTracks.selected),e&&this.D("media-audio-track-change-request",e),this.dispatch("audio-track-change",{detail:n(),trigger:e})}ld(e){const{qualities:n}=this.$state;n.set(this.a.qualities.toArray()),this.dispatch("qualities-change",{detail:n(),trigger:e})}Za(e){const{quality:n}=this.$state;n.set(this.a.qualities.selected),e&&this.D("media-quality-change-request",e),this.dispatch("quality-change",{detail:n(),trigger:e})}Wj(){const{qualities:e}=this.a,n=e.auto;this.$state.autoQuality.set(n),n||this.Ie()}Tg(){this.Ie(),this.Ke=te(()=>{const{qualities:e}=this.a,{mediaWidth:n,mediaHeight:s}=this.$state,i=n(),r=s();if(i===0||r===0)return;let o=null,a=1/0;for(const l of e){const c=Math.abs(l.width-i)+Math.abs(l.height-r);c{requestAnimationFrame(()=>{this.scope&&(this.$state.inferredViewType.set(e.detail),this.dispatch("view-type-change",{detail:r,trigger:e}))})},0)}"stream-type-change"(e){const n=this.u.get("source-change");n&&e.triggers.add(n);const{streamType:s,inferredStreamType:i}=this.$state;i.set(e.detail),e.detail=s()}"rate-change"(e){var i;const{storage:n}=this.a,{canPlay:s}=this.$state;this.$state.playbackRate.set(e.detail),this.D("media-rate-change-request",e),s()&&((i=n==null?void 0:n.setPlaybackRate)==null||i.call(n,e.detail))}"remote-playback-change"(e){const{remotePlaybackState:n,remotePlaybackType:s}=this.$state,{type:i,state:r}=e.detail,o=r==="connected";s.set(i),n.set(r);const a=i==="airplay"?"media-airplay-request":"media-google-cast-request";if(o)this.D(a,e);else{const l=this.g.i.rg(a);l&&(e.request=l,e.triggers.add(l))}}"sources-change"(e){const n=this.$state.sources(),s=e.detail;this.$state.sources.set(s),this.Zj(n,s,e)}Zj(e,n,s){let{qualities:i}=this.a,r=!1,o=!1;for(const a of e){if(!va(a))continue;if(!n.some(c=>c.src===a.src)){const c=i.getBySrc(a.src);c&&(i[be.cc](c,s),o=!0)}}o&&!i.length&&(this.$state.savedState.set(null),i[be.z](s));for(const a of n){if(!va(a)||i.getBySrc(a.src))continue;const l={id:a.id??a.height+"p",bitrate:null,codec:null,...a,selected:!1};i[be.da](l,s),r=!0}r&&!i[Xt.Ia]&&(this.Tg(),i[Xt.Ia]=this.Tg.bind(this),i[Xt.Wa](!0,s))}"source-change"(e){var s,i;e.isQualityChange=((s=e.originEvent)==null?void 0:s.type)==="quality-change";const n=e.detail;this.Ug(e,e.isQualityChange),this.u.set(e.type,e),this.$state.source.set(n),(i=this.el)==null||i.setAttribute("aria-busy","true")}Ug(e,n=!1){const{audioTracks:s,qualities:i}=this.a;if(!n){this.On=[],this.Ln=[-1,-1],s[be.z](e),i[be.z](e),Nu(this.$state,n),this.vb();return}Nu(this.$state,n),this.vb()}abort(e){const n=this.u.get("source-change");n&&e.triggers.add(n);const s=this.u.get("can-load");s&&!e.triggers.hasType("can-load")&&e.triggers.add(s)}"load-start"(e){const n=this.u.get("source-change");n&&e.triggers.add(n)}error(e){this.$state.error.set(e.detail);const n=this.u.get("abort");n&&e.triggers.add(n)}"loaded-metadata"(e){const n=this.u.get("load-start");n&&e.triggers.add(n)}"loaded-data"(e){const n=this.u.get("load-start");n&&e.triggers.add(n)}"can-play"(e){var s;const n=this.u.get("loaded-metadata");n&&e.triggers.add(n),this.Vg(e.detail),(s=this.el)==null||s.setAttribute("aria-busy","false")}"can-play-through"(e){this.Vg(e.detail);const n=this.u.get("can-play");n&&e.triggers.add(n)}Vg(e){const{seekable:n,buffered:s,intrinsicDuration:i,canPlay:r}=this.$state;r.set(!0),s.set(e.buffered),n.set(e.seekable);const o=ui(e.seekable)??1/0;i.set(o)}"duration-change"(e){const{live:n,intrinsicDuration:s,providedDuration:i,clipEndTime:r,ended:o}=this.$state,a=e.detail;if(!n()){const l=Number.isNaN(a)?0:a;s.set(l),o()&&this.Wg(e)}(i()>0||r()>0)&&e.stopImmediatePropagation()}progress(e){const{buffered:n,bufferedEnd:s,seekable:i,seekableEnd:r,live:o,intrinsicDuration:a}=this.$state,{buffered:l,seekable:c}=e.detail,u=ui(l)??1/0,d=l.length!==n().length,h=u>s(),p=ui(c)??1/0,m=c.length!==i().length,v=p>r();(d||h)&&n.set(l),(m||v)&&i.set(c),o()&&(a.set(p),this.dispatch("duration-change",{detail:p,trigger:e}))}play(e){const{paused:n,autoPlayError:s,ended:i,autoPlaying:r,playsInline:o,pointer:a,muted:l,viewType:c,live:u,userBehindLiveEdge:d}=this.$state;if(this._j(),!n()){e.stopImmediatePropagation();return}e.autoPlay=r();const h=this.u.get("waiting");h&&e.triggers.add(h),this.D("media-play-request",e),this.u.set("play",e),n.set(!1),s.set(null),e.autoPlay&&(this.V(this.createEvent("auto-play",{detail:{muted:l()},trigger:e})),r.set(!1)),(i()||this.g.Bc)&&(this.g.Bc=!1,i.set(!1),this.V(this.createEvent("replay",{trigger:e}))),!o()&&c()==="video"&&a()==="coarse"&&this.a.remote.enterFullscreen("prefer-media",e),u()&&!d()&&this.a.remote.seekToLiveEdge(e)}_j(e){if(!se(this.a.$provider))return;const{ended:s,seekableStart:i,clipStartTime:r,clipEndTime:o,realCurrentTime:a,duration:l}=this.$state,c=a()0&&a()>=o()||Math.abs(a()-l())<.1||s();return c&&this.dispatch("media-seek-request",{detail:(r()>0?0:i())+.1,trigger:e}),c}"play-fail"(e){const{muted:n,autoPlaying:s}=this.$state,i=this.u.get("play");i&&e.triggers.add(i),this.D("media-play-request",e);const{paused:r,playing:o}=this.$state;r.set(!0),o.set(!1),this.vb(),this.u.set("play-fail",e),e.autoPlay&&(this.V(this.createEvent("auto-play-fail",{detail:{muted:n(),error:e.detail},trigger:e})),s.set(!1))}playing(e){const n=this.u.get("play"),s=this.u.get("seeked");n?e.triggers.add(n):s&&e.triggers.add(s),setTimeout(()=>this.vb(),0);const{paused:i,playing:r,live:o,liveSyncPosition:a,seekableEnd:l,started:c,currentTime:u,seeking:d,ended:h}=this.$state;if(i.set(!1),r.set(!0),d.set(!1),h.set(!1),this.g.Ob){this.g.Ob=!1;return}if(o()&&!c()&&u()===0){const p=a()??l()-2;Number.isFinite(p)&&this.a.$provider().setCurrentTime(p)}this.started(e)}started(e){const{started:n}=this.$state;n()||(n.set(!0),this.V(this.createEvent("started",{trigger:e})))}pause(e){var r;(r=this.el)!=null&&r.isConnected||(this.Cc=!0),this.D("media-pause-request",e);const n=this.u.get("seeked");n&&e.triggers.add(n);const{paused:s,playing:i}=this.$state;s.set(!0),i.set(!1),this.rd&&setTimeout(()=>{this.V(this.createEvent("end",{trigger:e})),this.rd=!1},0),this.vb()}"time-change"(e){if(this.g.Ob){e.stopImmediatePropagation();return}let{waiting:n,played:s,clipEndTime:i,realCurrentTime:r,currentTime:o}=this.$state,a=e.detail,l=i();r.set(a),this.Pn(),n.set(!1);for(const c of this.a.textTracks)c[fe.Eb](a,e);l>0&&a>=l&&(this.rd=!0,this.dispatch("media-pause-request",{trigger:e})),this.$j(),this.dispatch("time-update",{detail:{currentTime:o(),played:s()},trigger:e})}Pn(){const{currentTime:e,played:n,paused:s}=this.$state;s()||(this.Ln=z5(this.On,this.Ln,e()),n.set(new pr(this.On)))}Wg(e){const{clipStartTime:n,clipEndTime:s,duration:i}=this.$state;n()>0||s()>0||this.V(this.createEvent("time-change",{detail:i(),trigger:e}))}$j(){var i;const{storage:e}=this.a,{canPlay:n,realCurrentTime:s}=this.$state;n()&&((i=e==null?void 0:e.setTime)==null||i.call(e,s()))}"audio-gain-change"(e){var r;const{storage:n}=this.a,{canPlay:s,audioGain:i}=this.$state;i.set(e.detail),this.D("media-audio-gain-change-request",e),s()&&((r=n==null?void 0:n.setAudioGain)==null||r.call(n,i()))}"volume-change"(e){var a,l;const{storage:n}=this.a,{volume:s,muted:i,canPlay:r}=this.$state,o=e.detail;s.set(o.volume),i.set(o.muted||o.volume===0),this.D("media-volume-change-request",e),this.D(o.muted?"media-mute-request":"media-unmute-request",e),r()&&((a=n==null?void 0:n.setVolume)==null||a.call(n,s()),(l=n==null?void 0:n.setMuted)==null||l.call(n,i()))}seeked(e){const{seeking:n,currentTime:s,realCurrentTime:i,paused:r,seekableEnd:o,ended:a}=this.$state;if(this.g.Ja)n.set(!0),e.stopImmediatePropagation();else if(n()){const l=this.u.get("waiting");l&&e.triggers.add(l);const c=this.u.get("seeking");c&&!e.triggers.has(c)&&e.triggers.add(c),r()&&this.Qg(),n.set(!1),i.set(e.detail),this.D("media-seek-request",e);const u=e==null?void 0:e.originEvent;u!=null&&u.isTrusted&&!/seek/.test(u.type)&&this.started(e)}Math.floor(s())!==Math.floor(o())?a.set(!1):this.end(e)}waiting(e){this.sd||this.g.Ja||(e.stopImmediatePropagation(),this.Pb=e,this.Le())}end(e){const{loop:n,ended:s}=this.$state;if(!(!n()&&s())){if(n()){setTimeout(()=>{requestAnimationFrame(()=>{this._j(e),this.dispatch("media-loop-request",{trigger:e})})},10);return}setTimeout(()=>this.lc(e),0)}}lc(e){var a;const{storage:n}=this.a,{paused:s,seeking:i,ended:r,duration:o}=this.$state;this.Wg(e),s()||this.dispatch("pause",{trigger:e}),i()&&this.dispatch("seeked",{detail:o(),trigger:e}),r.set(!0),this.vb(),(a=n==null?void 0:n.setTime)==null||a.call(n,o(),!0),this.dispatch("ended",{trigger:e})}Qg(){this.Le.cancel(),this.$state.waiting.set(!1)}"fullscreen-change"(e){const n=e.detail;this.$state.fullscreen.set(n),this.D(n?"media-enter-fullscreen-request":"media-exit-fullscreen-request",e)}"fullscreen-error"(e){this.D("media-enter-fullscreen-request",e),this.D("media-exit-fullscreen-request",e)}"orientation-change"(e){const n=e.detail.lock;this.D(n?"media-orientation-lock-request":"media-orientation-unlock-request",e)}"picture-in-picture-change"(e){const n=e.detail;this.$state.pictureInPicture.set(n),this.D(n?"media-enter-pip-request":"media-exit-pip-request",e)}"picture-in-picture-error"(e){this.D("media-enter-pip-request",e),this.D("media-exit-pip-request",e)}"title-change"(e){e.trigger&&(e.stopImmediatePropagation(),this.$state.inferredTitle.set(e.detail))}"poster-change"(e){e.trigger&&(e.stopImmediatePropagation(),this.$state.inferredPoster.set(e.detail))}}class L9 extends us{onSetup(){this.Hb();const e=[this.bk,this.ck,this.Jn,this.Kn,this.Xd,this.Ca,this.ek,this.fk,this.gk,this.hk,this.ik,this.Me,this.jk,this.kk,this.td];for(const n of e)te(n.bind(this))}Hb(){var s;const e={duration:"providedDuration",loop:"providedLoop",poster:"providedPoster",streamType:"providedStreamType",title:"providedTitle",viewType:"providedViewType"},n=new Set(["currentTime","paused","playbackRate","volume"]);for(const i of Object.keys(this.$props))n.has(i)||(s=this.$state[e[i]??i])==null||s.set(this.$props[i]());this.$state.muted.set(this.$props.muted()||this.$props.volume()===0)}kk(){const{viewType:e,streamType:n,title:s,poster:i,loop:r}=this.$props,o=this.$state;o.providedPoster.set(i()),o.providedStreamType.set(n()),o.providedViewType.set(e()),o.providedTitle.set(s()),o.providedLoop.set(r())}ak(){}bk(){const{artist:e,artwork:n}=this.$props;this.$state.artist.set(e()),this.$state.artwork.set(n())}td(){const{title:e}=this.$state;this.dispatch("title-change",{detail:e()})}ck(){const e=this.$props.autoPlay()||this.$props.autoplay();this.$state.autoPlay.set(e),this.dispatch("auto-play-change",{detail:e})}ik(){const e=this.$state.loop();this.dispatch("loop-change",{detail:e})}Xd(){const e=this.$props.controls();this.$state.controls.set(e)}jk(){const{poster:e}=this.$state;this.dispatch("poster-change",{detail:e()})}Ca(){const e=this.$props.crossOrigin()??this.$props.crossorigin(),n=e===!0?"":e;this.$state.crossOrigin.set(n)}ek(){const{duration:e}=this.$props;this.dispatch("media-duration-change-request",{detail:e()})}Me(){const e=this.$props.playsInline()||this.$props.playsinline();this.$state.playsInline.set(e),this.dispatch("plays-inline-change",{detail:e})}Jn(){const{clipStartTime:e}=this.$props;this.dispatch("media-clip-start-change-request",{detail:e()})}Kn(){const{clipEndTime:e}=this.$props;this.dispatch("media-clip-end-change-request",{detail:e()})}fk(){this.dispatch("live-change",{detail:this.$state.live()})}hk(){this.$state.liveEdgeTolerance.set(this.$props.liveEdgeTolerance()),this.$state.minLiveDVRWindow.set(this.$props.minLiveDVRWindow())}gk(){this.dispatch("live-edge-change",{detail:this.$state.liveEdge()})}}const di=class di extends us{constructor(){super()}onConnect(){te(this.lk.bind(this)),te(this.mk.bind(this));const e=this.nk.bind(this);for(const n of di.Xg)navigator.mediaSession.setActionHandler(n,e);tt(this.Fa.bind(this))}Fa(){for(const e of di.Xg)navigator.mediaSession.setActionHandler(e,null)}lk(){const{title:e,artist:n,artwork:s,poster:i}=this.$state;navigator.mediaSession.metadata=new MediaMetadata({title:e(),artist:n(),artwork:s()??[{src:i()}]})}mk(){const{canPlay:e,paused:n}=this.$state;navigator.mediaSession.playbackState=e()?n()?"paused":"playing":"none"}nk(e){const n=new Ae("media-session-action",{detail:e});switch(e.action){case"play":this.dispatch("media-play-request",{trigger:n});break;case"pause":this.dispatch("media-pause-request",{trigger:n});break;case"seekto":case"seekforward":case"seekbackward":this.dispatch("media-seek-request",{detail:Ei(e.seekTime)?e.seekTime:this.$state.currentTime()+(e.seekOffset??10),trigger:n});break}}};di.Xg=["play","pause","seekforward","seekbackward","seekto"];let Ca=di;var x9=Object.defineProperty,A9=Object.getOwnPropertyDescriptor,Te=(t,e,n,s)=>{for(var i=s>1?void 0:s?A9(e,n):e,r=t.length-1,o;r>=0;r--)(o=t[r])&&(i=(s?o(e,n,i):o(i))||i);return s&&i&&x9(e,n,i),i},tn;const Ee=(tn=class extends Tl{constructor(){super(),this.canPlayQueue=new a2,this.Re=!1,new L9;const e={player:this,qualities:new l9,audioTracks:new a9,storage:null,$provider:Ge(null),$providerSetup:Ge(!1),$props:this.$props,$state:this.$state};e.remote=this.remoteControl=new n9(void 0),e.remote.setPlayer(this),e.textTracks=new o9,e.textTracks[fe.Db]=this.$state.crossOrigin,e.textRenderers=new r9(e),e.ariaKeys={},this.a=e,x3(N3,e),this.orientation=new Or,new J7,new h9(e);const n=new S9;this.Ba=new _9(n,e),this.W=new T9(this.Ba,n,e),e.delegate=new k9(this.Ba.V.bind(this.Ba),e),typeof navigator<"u"&&"mediaSession"in navigator&&new Ca,new Fu("load",this.startLoading.bind(this)),new Fu("posterLoad",this.startLoadingPoster.bind(this))}get p(){return this.a.$provider()}get vd(){return this.$props}onSetup(){this.rk(),te(this.sk.bind(this)),te(this.tk.bind(this)),te(this.fc.bind(this)),te(this.Fc.bind(this)),te(this.Qb.bind(this)),te(this.Me.bind(this)),te(this.Qe.bind(this))}onAttach(e){e.setAttribute("data-media-player",""),Ru(e,"tabindex","0"),Ru(e,"role","region"),te(this.uk.bind(this)),te(this.td.bind(this)),te(this.Yg.bind(this)),ce(e,"find-media-player",this.vk.bind(this))}onConnect(e){F3&&Ve(e,"data-iphone","");const n=window.matchMedia("(pointer: coarse)");this.Zg(n),n.onchange=this.Zg.bind(this);const s=new ResizeObserver(Sl(this.pa.bind(this)));s.observe(e),te(this.pa.bind(this)),this.dispatch("media-player-connect",{detail:this,bubbles:!0,composed:!0}),tt(()=>{s.disconnect(),n.onchange=null})}onDestroy(){this.a.player=null,this.canPlayQueue.z()}td(){const e=this.$el,{title:n,live:s,viewType:i,providedTitle:r}=this.$state,o=s(),a=r5(i()),l=a!=="Unknown"?`${o?"Live ":""}${a}`:o?"Live":"Media",c=n();Ve(this.el,"aria-label",`${l} Player`+(c?` - ${c}`:"")),e!=null&&e.hasAttribute("title")&&(this.Re=!0,e==null||e.removeAttribute("title"))}Yg(){const e=this.orientation.landscape?"landscape":"portrait";this.$state.orientation.set(e),Ve(this.el,"data-orientation",e),this.pa()}sk(){this.$state.canPlay()&&this.p?this.canPlayQueue.Xa():this.canPlayQueue.$()}rk(){if(tn[Do]){this.setAttributes(tn[Do]);return}const e={"data-load":function(){return this.$props.load()},"data-captions":function(){const s=this.$state.textTrack();return!!s&&Ft(s)},"data-ios-controls":function(){return this.$state.iOSControls()},"data-controls":function(){return this.controls.showing},"data-buffering":function(){const{canLoad:s,canPlay:i,waiting:r}=this.$state;return s()&&(!i()||r())},"data-error":function(){const{error:s}=this.$state;return!!s()},"data-autoplay-error":function(){const{autoPlayError:s}=this.$state;return!!s()}},n={autoPlay:"autoplay",canAirPlay:"can-airplay",canPictureInPicture:"can-pip",pictureInPicture:"pip",playsInline:"playsinline",remotePlaybackState:"remote-state",remotePlaybackType:"remote-type",isAirPlayConnected:"airplay",isGoogleCastConnected:"google-cast"};for(const s of C9){const i="data-"+(n[s]??I3(s));e[i]=function(){return this.$state[s]()}}delete e.title,tn[Do]=e,this.setAttributes(e)}vk(e){e.detail(this)}pa(){if(!this.el)return;const e=this.el.clientWidth,n=this.el.clientHeight;this.$state.width.set(e),this.$state.height.set(n),is(this.el,"--player-width",e+"px"),is(this.el,"--player-height",n+"px")}Zg(e){const n=e.matches?"coarse":"fine";Ve(this.el,"data-pointer",n),this.$state.pointer.set(n),this.pa()}get provider(){return this.p}get controls(){return this.W.yc}set controls(e){this.vd.controls.set(e)}get title(){return se(this.$state.providedTitle)}set title(e){if(this.Re){this.Re=!1;return}this.$state.providedTitle.set(e)}get qualities(){return this.a.qualities}get audioTracks(){return this.a.audioTracks}get textTracks(){return this.a.textTracks}get textRenderers(){return this.a.textRenderers}get duration(){return this.$state.duration()}set duration(e){this.vd.duration.set(e)}get paused(){return se(this.$state.paused)}set paused(e){this._g(e)}fc(){this._g(this.$props.paused())}_g(e){e?this.canPlayQueue.k("paused",()=>this.W.Ee()):this.canPlayQueue.k("paused",()=>this.W.Ac())}get muted(){return se(this.$state.muted)}set muted(e){this.vd.muted.set(e)}tk(){this.wk(this.$props.muted())}wk(e){this.canPlayQueue.k("muted",()=>{this.p&&this.p.setMuted(e)})}get currentTime(){return se(this.$state.currentTime)}set currentTime(e){this.$g(e)}Qb(){this.$g(this.$props.currentTime())}$g(e){this.canPlayQueue.k("currentTime",()=>{const{currentTime:n,clipStartTime:s,seekableStart:i,seekableEnd:r}=this.$state;e!==se(n)&&se(()=>{if(!this.p)return;const o=e+s(),a=Math.floor(o)===Math.floor(r()),l=a?r():Math.min(Math.max(i()+.1,o),r()-.1);Number.isFinite(l)&&this.p.setCurrentTime(l)})})}get volume(){return se(this.$state.volume)}set volume(e){this.vd.volume.set(e)}Fc(){this.xk(this.$props.volume())}xk(e){const n=X7(0,e,1);this.canPlayQueue.k("volume",()=>{this.p&&this.p.setVolume(n)})}get playbackRate(){return se(this.$state.playbackRate)}set playbackRate(e){this.ah(e)}Qe(){this.ah(this.$props.playbackRate())}ah(e){this.canPlayQueue.k("rate",()=>{var n,s;this.p&&((s=(n=this.p).setPlaybackRate)==null||s.call(n,e))})}Me(){this.yk(this.$props.playsInline())}yk(e){this.canPlayQueue.k("playsinline",()=>{var n,s;this.p&&((s=(n=this.p).setPlaysInline)==null||s.call(n,e))})}uk(){var s;let e=this.$props.storage(),n=pe(e)?new s9:e;if(n!=null&&n.onChange){const{source:i}=this.$state,r=pe(e)?e:(s=this.el)==null?void 0:s.id,o=Rs(this.zk.bind(this));te(()=>n.onChange(i(),o(),r||void 0))}this.a.storage=n,this.a.textTracks.setStorage(n),tt(()=>{var i;(i=n==null?void 0:n.onDestroy)==null||i.call(n),this.a.storage=null,this.a.textTracks.setStorage(null)})}zk(){const{clipStartTime:e,clipEndTime:n}=this.$props,{source:s}=this.$state,i=s();return i.src?`${i.src}:${e()}:${n()}`:null}async play(e){return this.W.Ac(e)}async pause(e){return this.W.Ee(e)}async enterFullscreen(e,n){return this.W.Jg(e,n)}async exitFullscreen(e,n){return this.W.Lg(e,n)}enterPictureInPicture(e){return this.W.He(e)}exitPictureInPicture(e){return this.W.Ge(e)}seekToLiveEdge(e){this.W.Ig(e)}startLoading(e){this.a.delegate.c("can-load",void 0,e)}startLoadingPoster(e){this.a.delegate.c("can-load-poster",void 0,e)}requestAirPlay(e){return this.W.Ng(e)}requestGoogleCast(e){return this.W.Og(e)}setAudioGain(e,n){return this.W.Hg(e,n)}destroy(){super.destroy(),this.a.remote.setPlayer(null),this.dispatch("destroy")}},tn.props=w9,tn.state=n2,tn);Te([nt],Ee.prototype,"canPlayQueue",2);Te([nt],Ee.prototype,"remoteControl",2);Te([nt],Ee.prototype,"provider",1);Te([nt],Ee.prototype,"controls",1);Te([nt],Ee.prototype,"orientation",2);Te([nt],Ee.prototype,"title",1);Te([nt],Ee.prototype,"qualities",1);Te([nt],Ee.prototype,"audioTracks",1);Te([nt],Ee.prototype,"textTracks",1);Te([nt],Ee.prototype,"textRenderers",1);Te([nt],Ee.prototype,"duration",1);Te([nt],Ee.prototype,"paused",1);Te([nt],Ee.prototype,"muted",1);Te([nt],Ee.prototype,"currentTime",1);Te([nt],Ee.prototype,"volume",1);Te([nt],Ee.prototype,"playbackRate",1);Te([kt],Ee.prototype,"play",1);Te([kt],Ee.prototype,"pause",1);Te([kt],Ee.prototype,"enterFullscreen",1);Te([kt],Ee.prototype,"exitFullscreen",1);Te([kt],Ee.prototype,"enterPictureInPicture",1);Te([kt],Ee.prototype,"exitPictureInPicture",1);Te([kt],Ee.prototype,"seekToLiveEdge",1);Te([kt],Ee.prototype,"startLoading",1);Te([kt],Ee.prototype,"startLoadingPoster",1);Te([kt],Ee.prototype,"requestAirPlay",1);Te([kt],Ee.prototype,"requestGoogleCast",1);Te([kt],Ee.prototype,"setAudioGain",1);let P9=Ee;function O9(t,e){return fetch(t,e).then(n=>n.text()).then(n=>/type="static"/.test(n)?"on-demand":"live")}function l2(t,e){return fetch(t,e).then(n=>n.text()).then(n=>{const s=I9(n);if(s)return l2(/^https?:/.test(s)?s:new URL(s,t).href,e);const i=/EXT-X-PLAYLIST-TYPE:\s*VOD/.test(n)?"on-demand":"live";return i==="live"&&M9(n)>=10&&(/#EXT-X-DVR-ENABLED:\s*true/.test(n)||n.includes("#EXT-X-DISCONTINUITY"))?"live:dvr":i})}function I9(t){const e=t.match(/#EXT-X-STREAM-INF:[^\n]+(\n[^\n]+)*/g);return e?e[0].split(` + */const ps=typeof document<"u";function u0(t){return t.__esModule||t[Symbol.toStringTag]==="Module"}const ke=Object.assign;function wo(t,e){const n={};for(const s in e){const i=e[s];n[s]=Wt(i)?i.map(t):t(i)}return n}const ii=()=>{},Wt=Array.isArray,Ad=/#/g,d0=/&/g,f0=/\//g,h0=/=/g,p0=/\?/g,Pd=/\+/g,m0=/%5B/g,g0=/%5D/g,Od=/%5E/g,v0=/%60/g,Id=/%7B/g,y0=/%7C/g,Md=/%7D/g,b0=/%20/g;function sl(t){return encodeURI(""+t).replace(y0,"|").replace(m0,"[").replace(g0,"]")}function C0(t){return sl(t).replace(Id,"{").replace(Md,"}").replace(Od,"^")}function na(t){return sl(t).replace(Pd,"%2B").replace(b0,"+").replace(Ad,"%23").replace(d0,"%26").replace(v0,"`").replace(Id,"{").replace(Md,"}").replace(Od,"^")}function w0(t){return na(t).replace(h0,"%3D")}function k0(t){return sl(t).replace(Ad,"%23").replace(p0,"%3F")}function E0(t){return t==null?"":k0(t).replace(f0,"%2F")}function vi(t){try{return decodeURIComponent(""+t)}catch{}return""+t}const T0=/\/$/,S0=t=>t.replace(T0,"");function ko(t,e,n="/"){let s,i={},r="",o="";const a=e.indexOf("#");let l=e.indexOf("?");return a=0&&(l=-1),l>-1&&(s=e.slice(0,l),r=e.slice(l+1,a>-1?a:e.length),i=t(r)),a>-1&&(s=s||e.slice(0,a),o=e.slice(a,e.length)),s=x0(s??e,n),{fullPath:s+(r&&"?")+r+o,path:s,query:i,hash:vi(o)}}function $0(t,e){const n=e.query?t(e.query):"";return e.path+(n&&"?")+n+(e.hash||"")}function Bc(t,e){return!e||!t.toLowerCase().startsWith(e.toLowerCase())?t:t.slice(e.length)||"/"}function _0(t,e,n){const s=e.matched.length-1,i=n.matched.length-1;return s>-1&&s===i&&Ps(e.matched[s],n.matched[i])&&Rd(e.params,n.params)&&t(e.query)===t(n.query)&&e.hash===n.hash}function Ps(t,e){return(t.aliasOf||t)===(e.aliasOf||e)}function Rd(t,e){if(Object.keys(t).length!==Object.keys(e).length)return!1;for(const n in t)if(!L0(t[n],e[n]))return!1;return!0}function L0(t,e){return Wt(t)?zc(t,e):Wt(e)?zc(e,t):t===e}function zc(t,e){return Wt(e)?t.length===e.length&&t.every((n,s)=>n===e[s]):t.length===1&&t[0]===e}function x0(t,e){if(t.startsWith("/"))return t;if(!t)return e;const n=e.split("/"),s=t.split("/"),i=s[s.length-1];(i===".."||i===".")&&s.push("");let r=n.length-1,o,a;for(o=0;o1&&r--;else break;return n.slice(0,r).join("/")+"/"+s.slice(o).join("/")}const dn={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var yi;(function(t){t.pop="pop",t.push="push"})(yi||(yi={}));var ri;(function(t){t.back="back",t.forward="forward",t.unknown=""})(ri||(ri={}));function A0(t){if(!t)if(ps){const e=document.querySelector("base");t=e&&e.getAttribute("href")||"/",t=t.replace(/^\w+:\/\/[^\/]+/,"")}else t="/";return t[0]!=="/"&&t[0]!=="#"&&(t="/"+t),S0(t)}const P0=/^[^#]+#/;function O0(t,e){return t.replace(P0,"#")+e}function I0(t,e){const n=document.documentElement.getBoundingClientRect(),s=t.getBoundingClientRect();return{behavior:e.behavior,left:s.left-n.left-(e.left||0),top:s.top-n.top-(e.top||0)}}const Zr=()=>({left:window.scrollX,top:window.scrollY});function M0(t){let e;if("el"in t){const n=t.el,s=typeof n=="string"&&n.startsWith("#"),i=typeof n=="string"?s?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!i)return;e=I0(i,t)}else e=t;"scrollBehavior"in document.documentElement.style?window.scrollTo(e):window.scrollTo(e.left!=null?e.left:window.scrollX,e.top!=null?e.top:window.scrollY)}function Wc(t,e){return(history.state?history.state.position-e:-1)+t}const sa=new Map;function R0(t,e){sa.set(t,e)}function D0(t){const e=sa.get(t);return sa.delete(t),e}let H0=()=>location.protocol+"//"+location.host;function Dd(t,e){const{pathname:n,search:s,hash:i}=e,r=t.indexOf("#");if(r>-1){let a=i.includes(t.slice(r))?t.slice(r).length:1,l=i.slice(a);return l[0]!=="/"&&(l="/"+l),Bc(l,"")}return Bc(n,t)+s+i}function V0(t,e,n,s){let i=[],r=[],o=null;const a=({state:h})=>{const p=Dd(t,location),m=n.value,v=e.value;let w=0;if(h){if(n.value=p,e.value=h,o&&o===m){o=null;return}w=v?h.position-v.position:0}else s(p);i.forEach(C=>{C(n.value,m,{delta:w,type:yi.pop,direction:w?w>0?ri.forward:ri.back:ri.unknown})})};function l(){o=n.value}function c(h){i.push(h);const p=()=>{const m=i.indexOf(h);m>-1&&i.splice(m,1)};return r.push(p),p}function u(){const{history:h}=window;h.state&&h.replaceState(ke({},h.state,{scroll:Zr()}),"")}function d(){for(const h of r)h();r=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:l,listen:c,destroy:d}}function Gc(t,e,n,s=!1,i=!1){return{back:t,current:e,forward:n,replaced:s,position:window.history.length,scroll:i?Zr():null}}function N0(t){const{history:e,location:n}=window,s={value:Dd(t,n)},i={value:e.state};i.value||r(s.value,{back:null,current:s.value,forward:null,position:e.length-1,replaced:!0,scroll:null},!0);function r(l,c,u){const d=t.indexOf("#"),h=d>-1?(n.host&&document.querySelector("base")?t:t.slice(d))+l:H0()+t+l;try{e[u?"replaceState":"pushState"](c,"",h),i.value=c}catch(p){console.error(p),n[u?"replace":"assign"](h)}}function o(l,c){const u=ke({},e.state,Gc(i.value.back,l,i.value.forward,!0),c,{position:i.value.position});r(l,u,!0),s.value=l}function a(l,c){const u=ke({},i.value,e.state,{forward:l,scroll:Zr()});r(u.current,u,!0);const d=ke({},Gc(s.value,l,null),{position:u.position+1},c);r(l,d,!1),s.value=l}return{location:s,state:i,push:a,replace:o}}function j0(t){t=A0(t);const e=N0(t),n=V0(t,e.state,e.location,e.replace);function s(r,o=!0){o||n.pauseListeners(),history.go(r)}const i=ke({location:"",base:t,go:s,createHref:O0.bind(null,t)},e,n);return Object.defineProperty(i,"location",{enumerable:!0,get:()=>e.location.value}),Object.defineProperty(i,"state",{enumerable:!0,get:()=>e.state.value}),i}function F0(t){return typeof t=="string"||t&&typeof t=="object"}function Hd(t){return typeof t=="string"||typeof t=="symbol"}const Vd=Symbol("");var Uc;(function(t){t[t.aborted=4]="aborted",t[t.cancelled=8]="cancelled",t[t.duplicated=16]="duplicated"})(Uc||(Uc={}));function Os(t,e){return ke(new Error,{type:t,[Vd]:!0},e)}function cn(t,e){return t instanceof Error&&Vd in t&&(e==null||!!(t.type&e))}const Kc="[^/]+?",q0={sensitive:!1,strict:!1,start:!0,end:!0},B0=/[.+*?^${}()[\]/\\]/g;function z0(t,e){const n=ke({},q0,e),s=[];let i=n.start?"^":"";const r=[];for(const c of t){const u=c.length?[]:[90];n.strict&&!c.length&&(i+="/");for(let d=0;de.length?e.length===1&&e[0]===80?1:-1:0}function Nd(t,e){let n=0;const s=t.score,i=e.score;for(;n0&&e[e.length-1]<0}const G0={type:0,value:""},U0=/[a-zA-Z0-9_]/;function K0(t){if(!t)return[[]];if(t==="/")return[[G0]];if(!t.startsWith("/"))throw new Error(`Invalid path "${t}"`);function e(p){throw new Error(`ERR (${n})/"${c}": ${p}`)}let n=0,s=n;const i=[];let r;function o(){r&&i.push(r),r=[]}let a=0,l,c="",u="";function d(){c&&(n===0?r.push({type:0,value:c}):n===1||n===2||n===3?(r.length>1&&(l==="*"||l==="+")&&e(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),r.push({type:1,value:c,regexp:u,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):e("Invalid state to consume buffer"),c="")}function h(){c+=l}for(;a{o(y)}:ii}function o(d){if(Hd(d)){const h=s.get(d);h&&(s.delete(d),n.splice(n.indexOf(h),1),h.children.forEach(o),h.alias.forEach(o))}else{const h=n.indexOf(d);h>-1&&(n.splice(h,1),d.record.name&&s.delete(d.record.name),d.children.forEach(o),d.alias.forEach(o))}}function a(){return n}function l(d){const h=ep(d,n);n.splice(h,0,d),d.record.name&&!Yc(d)&&s.set(d.record.name,d)}function c(d,h){let p,m={},v,w;if("name"in d&&d.name){if(p=s.get(d.name),!p)throw Os(1,{location:d});w=p.record.name,m=ke(Qc(h.params,p.keys.filter(y=>!y.optional).concat(p.parent?p.parent.keys.filter(y=>y.optional):[]).map(y=>y.name)),d.params&&Qc(d.params,p.keys.map(y=>y.name))),v=p.stringify(m)}else if(d.path!=null)v=d.path,p=n.find(y=>y.re.test(v)),p&&(m=p.parse(v),w=p.record.name);else{if(p=h.name?s.get(h.name):n.find(y=>y.re.test(h.path)),!p)throw Os(1,{location:d,currentLocation:h});w=p.record.name,m=ke({},h.params,d.params),v=p.stringify(m)}const C=[];let k=p;for(;k;)C.unshift(k.record),k=k.parent;return{name:w,path:v,params:m,matched:C,meta:J0(C)}}t.forEach(d=>r(d));function u(){n.length=0,s.clear()}return{addRoute:r,resolve:c,removeRoute:o,clearRoutes:u,getRoutes:a,getRecordMatcher:i}}function Qc(t,e){const n={};for(const s of e)s in t&&(n[s]=t[s]);return n}function Y0(t){return{path:t.path,redirect:t.redirect,name:t.name,meta:t.meta||{},aliasOf:void 0,beforeEnter:t.beforeEnter,props:X0(t),children:t.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in t?t.components||null:t.component&&{default:t.component}}}function X0(t){const e={},n=t.props||!1;if("component"in t)e.default=n;else for(const s in t.components)e[s]=typeof n=="object"?n[s]:n;return e}function Yc(t){for(;t;){if(t.record.aliasOf)return!0;t=t.parent}return!1}function J0(t){return t.reduce((e,n)=>ke(e,n.meta),{})}function Xc(t,e){const n={};for(const s in t)n[s]=s in e?e[s]:t[s];return n}function ep(t,e){let n=0,s=e.length;for(;n!==s;){const r=n+s>>1;Nd(t,e[r])<0?s=r:n=r+1}const i=tp(t);return i&&(s=e.lastIndexOf(i,s-1)),s}function tp(t){let e=t;for(;e=e.parent;)if(jd(e)&&Nd(t,e)===0)return e}function jd({record:t}){return!!(t.name||t.components&&Object.keys(t.components).length||t.redirect)}function np(t){const e={};if(t===""||t==="?")return e;const s=(t[0]==="?"?t.slice(1):t).split("&");for(let i=0;ir&&na(r)):[s&&na(s)]).forEach(r=>{r!==void 0&&(e+=(e.length?"&":"")+n,r!=null&&(e+="="+r))})}return e}function sp(t){const e={};for(const n in t){const s=t[n];s!==void 0&&(e[n]=Wt(s)?s.map(i=>i==null?null:""+i):s==null?s:""+s)}return e}const ip=Symbol(""),eu=Symbol(""),Qr=Symbol(""),il=Symbol(""),ia=Symbol("");function Us(){let t=[];function e(s){return t.push(s),()=>{const i=t.indexOf(s);i>-1&&t.splice(i,1)}}function n(){t=[]}return{add:e,list:()=>t.slice(),reset:n}}function Ln(t,e,n,s,i,r=o=>o()){const o=s&&(s.enterCallbacks[i]=s.enterCallbacks[i]||[]);return()=>new Promise((a,l)=>{const c=h=>{h===!1?l(Os(4,{from:n,to:e})):h instanceof Error?l(h):F0(h)?l(Os(2,{from:e,to:h})):(o&&s.enterCallbacks[i]===o&&typeof h=="function"&&o.push(h),a())},u=r(()=>t.call(s&&s.instances[i],e,n,c));let d=Promise.resolve(u);t.length<3&&(d=d.then(c)),d.catch(h=>l(h))})}function Eo(t,e,n,s,i=r=>r()){const r=[];for(const o of t)for(const a in o.components){let l=o.components[a];if(!(e!=="beforeRouteEnter"&&!o.instances[a]))if(rp(l)){const u=(l.__vccOpts||l)[e];u&&r.push(Ln(u,n,s,o,a,i))}else{let c=l();r.push(()=>c.then(u=>{if(!u)return Promise.reject(new Error(`Couldn't resolve component "${a}" at "${o.path}"`));const d=u0(u)?u.default:u;o.components[a]=d;const p=(d.__vccOpts||d)[e];return p&&Ln(p,n,s,o,a,i)()}))}}return r}function rp(t){return typeof t=="object"||"displayName"in t||"props"in t||"__vccOpts"in t}function tu(t){const e=je(Qr),n=je(il),s=S(()=>{const l=Nt(t.to);return e.resolve(l)}),i=S(()=>{const{matched:l}=s.value,{length:c}=l,u=l[c-1],d=n.matched;if(!u||!d.length)return-1;const h=d.findIndex(Ps.bind(null,u));if(h>-1)return h;const p=nu(l[c-2]);return c>1&&nu(u)===p&&d[d.length-1].path!==p?d.findIndex(Ps.bind(null,l[c-2])):h}),r=S(()=>i.value>-1&&cp(n.params,s.value.params)),o=S(()=>i.value>-1&&i.value===n.matched.length-1&&Rd(n.params,s.value.params));function a(l={}){return lp(l)?e[Nt(t.replace)?"replace":"push"](Nt(t.to)).catch(ii):Promise.resolve()}return{route:s,href:S(()=>s.value.href),isActive:r,isExactActive:o,navigate:a}}const op=K({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:tu,setup(t,{slots:e}){const n=Ai(tu(t)),{options:s}=je(Qr),i=S(()=>({[su(t.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[su(t.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const r=e.default&&e.default(n);return t.custom?r:f("a",{"aria-current":n.isExactActive?t.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:i.value},r)}}}),ap=op;function lp(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)&&!t.defaultPrevented&&!(t.button!==void 0&&t.button!==0)){if(t.currentTarget&&t.currentTarget.getAttribute){const e=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}return t.preventDefault&&t.preventDefault(),!0}}function cp(t,e){for(const n in e){const s=e[n],i=t[n];if(typeof s=="string"){if(s!==i)return!1}else if(!Wt(i)||i.length!==s.length||s.some((r,o)=>r!==i[o]))return!1}return!0}function nu(t){return t?t.aliasOf?t.aliasOf.path:t.path:""}const su=(t,e,n)=>t??e??n,up=K({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(t,{attrs:e,slots:n}){const s=je(ia),i=S(()=>t.route||s.value),r=je(eu,0),o=S(()=>{let c=Nt(r);const{matched:u}=i.value;let d;for(;(d=u[c])&&!d.components;)c++;return c}),a=S(()=>i.value.matched[o.value]);Jn(eu,S(()=>o.value+1)),Jn(ip,a),Jn(ia,i);const l=Y();return he(()=>[l.value,a.value,t.name],([c,u,d],[h,p,m])=>{u&&(u.instances[d]=c,p&&p!==u&&c&&c===h&&(u.leaveGuards.size||(u.leaveGuards=p.leaveGuards),u.updateGuards.size||(u.updateGuards=p.updateGuards))),c&&u&&(!p||!Ps(u,p)||!h)&&(u.enterCallbacks[d]||[]).forEach(v=>v(c))},{flush:"post"}),()=>{const c=i.value,u=t.name,d=a.value,h=d&&d.components[u];if(!h)return iu(n.default,{Component:h,route:c});const p=d.props[u],m=p?p===!0?c.params:typeof p=="function"?p(c):p:null,w=f(h,ke({},m,e,{onVnodeUnmounted:C=>{C.component.isUnmounted&&(d.instances[u]=null)},ref:l}));return iu(n.default,{Component:w,route:c})||w}}});function iu(t,e){if(!t)return null;const n=t(e);return n.length===1?n[0]:n}const dp=up;function fp(t){const e=Q0(t.routes,t),n=t.parseQuery||np,s=t.stringifyQuery||Jc,i=t.history,r=Us(),o=Us(),a=Us(),l=Fe(dn);let c=dn;ps&&t.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=wo.bind(null,$=>""+$),d=wo.bind(null,E0),h=wo.bind(null,vi);function p($,W){let H,U;return Hd($)?(H=e.getRecordMatcher($),U=W):U=$,e.addRoute(U,H)}function m($){const W=e.getRecordMatcher($);W&&e.removeRoute(W)}function v(){return e.getRoutes().map($=>$.record)}function w($){return!!e.getRecordMatcher($)}function C($,W){if(W=ke({},W||l.value),typeof $=="string"){const b=ko(n,$,W.path),T=e.resolve({path:b.path},W),O=i.createHref(b.fullPath);return ke(b,T,{params:h(T.params),hash:vi(b.hash),redirectedFrom:void 0,href:O})}let H;if($.path!=null)H=ke({},$,{path:ko(n,$.path,W.path).path});else{const b=ke({},$.params);for(const T in b)b[T]==null&&delete b[T];H=ke({},$,{params:d(b)}),W.params=d(W.params)}const U=e.resolve(H,W),le=$.hash||"";U.params=u(h(U.params));const ye=$0(s,ke({},$,{hash:C0(le),path:U.path})),g=i.createHref(ye);return ke({fullPath:ye,hash:le,query:s===Jc?sp($.query):$.query||{}},U,{redirectedFrom:void 0,href:g})}function k($){return typeof $=="string"?ko(n,$,l.value.path):ke({},$)}function y($,W){if(c!==$)return Os(8,{from:W,to:$})}function E($){return A($)}function x($){return E(ke(k($),{replace:!0}))}function P($){const W=$.matched[$.matched.length-1];if(W&&W.redirect){const{redirect:H}=W;let U=typeof H=="function"?H($):H;return typeof U=="string"&&(U=U.includes("?")||U.includes("#")?U=k(U):{path:U},U.params={}),ke({query:$.query,hash:$.hash,params:U.path!=null?{}:$.params},U)}}function A($,W){const H=c=C($),U=l.value,le=$.state,ye=$.force,g=$.replace===!0,b=P(H);if(b)return A(ke(k(b),{state:typeof b=="object"?ke({},le,b.state):le,force:ye,replace:g}),W||H);const T=H;T.redirectedFrom=W;let O;return!ye&&_0(s,U,H)&&(O=Os(16,{to:T,from:U}),ze(U,U,!0,!1)),(O?Promise.resolve(O):L(T,U)).catch(_=>cn(_)?cn(_,2)?_:Re(_):V(_,T,U)).then(_=>{if(_){if(cn(_,2))return A(ke({replace:g},k(_.to),{state:typeof _.to=="object"?ke({},le,_.to.state):le,force:ye}),W||T)}else _=I(T,U,!0,g,le);return N(T,U,_),_})}function F($,W){const H=y($,W);return H?Promise.reject(H):Promise.resolve()}function D($){const W=ot.values().next().value;return W&&typeof W.runWithContext=="function"?W.runWithContext($):$()}function L($,W){let H;const[U,le,ye]=hp($,W);H=Eo(U.reverse(),"beforeRouteLeave",$,W);for(const b of U)b.leaveGuards.forEach(T=>{H.push(Ln(T,$,W))});const g=F.bind(null,$,W);return H.push(g),He(H).then(()=>{H=[];for(const b of r.list())H.push(Ln(b,$,W));return H.push(g),He(H)}).then(()=>{H=Eo(le,"beforeRouteUpdate",$,W);for(const b of le)b.updateGuards.forEach(T=>{H.push(Ln(T,$,W))});return H.push(g),He(H)}).then(()=>{H=[];for(const b of ye)if(b.beforeEnter)if(Wt(b.beforeEnter))for(const T of b.beforeEnter)H.push(Ln(T,$,W));else H.push(Ln(b.beforeEnter,$,W));return H.push(g),He(H)}).then(()=>($.matched.forEach(b=>b.enterCallbacks={}),H=Eo(ye,"beforeRouteEnter",$,W,D),H.push(g),He(H))).then(()=>{H=[];for(const b of o.list())H.push(Ln(b,$,W));return H.push(g),He(H)}).catch(b=>cn(b,8)?b:Promise.reject(b))}function N($,W,H){a.list().forEach(U=>D(()=>U($,W,H)))}function I($,W,H,U,le){const ye=y($,W);if(ye)return ye;const g=W===dn,b=ps?history.state:{};H&&(U||g?i.replace($.fullPath,ke({scroll:g&&b&&b.scroll},le)):i.push($.fullPath,le)),l.value=$,ze($,W,H,g),Re()}let Z;function J(){Z||(Z=i.listen(($,W,H)=>{if(!st.listening)return;const U=C($),le=P(U);if(le){A(ke(le,{replace:!0}),U).catch(ii);return}c=U;const ye=l.value;ps&&R0(Wc(ye.fullPath,H.delta),Zr()),L(U,ye).catch(g=>cn(g,12)?g:cn(g,2)?(A(g.to,U).then(b=>{cn(b,20)&&!H.delta&&H.type===yi.pop&&i.go(-1,!1)}).catch(ii),Promise.reject()):(H.delta&&i.go(-H.delta,!1),V(g,U,ye))).then(g=>{g=g||I(U,ye,!1),g&&(H.delta&&!cn(g,8)?i.go(-H.delta,!1):H.type===yi.pop&&cn(g,20)&&i.go(-1,!1)),N(U,ye,g)}).catch(ii)}))}let ae=Us(),q=Us(),j;function V($,W,H){Re($);const U=q.list();return U.length?U.forEach(le=>le($,W,H)):console.error($),Promise.reject($)}function ue(){return j&&l.value!==dn?Promise.resolve():new Promise(($,W)=>{ae.add([$,W])})}function Re($){return j||(j=!$,J(),ae.list().forEach(([W,H])=>$?H($):W()),ae.reset()),$}function ze($,W,H,U){const{scrollBehavior:le}=t;if(!ps||!le)return Promise.resolve();const ye=!H&&D0(Wc($.fullPath,0))||(U||!H)&&history.state&&history.state.scroll||null;return an().then(()=>le($,W,ye)).then(g=>g&&M0(g)).catch(g=>V(g,$,W))}const De=$=>i.go($);let Ze;const ot=new Set,st={currentRoute:l,listening:!0,addRoute:p,removeRoute:m,clearRoutes:e.clearRoutes,hasRoute:w,getRoutes:v,resolve:C,options:t,push:E,replace:x,go:De,back:()=>De(-1),forward:()=>De(1),beforeEach:r.add,beforeResolve:o.add,afterEach:a.add,onError:q.add,isReady:ue,install($){const W=this;$.component("RouterLink",ap),$.component("RouterView",dp),$.config.globalProperties.$router=W,Object.defineProperty($.config.globalProperties,"$route",{enumerable:!0,get:()=>Nt(l)}),ps&&!Ze&&l.value===dn&&(Ze=!0,E(i.location).catch(le=>{}));const H={};for(const le in dn)Object.defineProperty(H,le,{get:()=>l.value[le],enumerable:!0});$.provide(Qr,W),$.provide(il,O1(H)),$.provide(ia,l);const U=$.unmount;ot.add($),$.unmount=function(){ot.delete($),ot.size<1&&(c=dn,Z&&Z(),Z=null,l.value=dn,Ze=!1,j=!1),U()}}};function He($){return $.reduce((W,H)=>W.then(()=>D(H)),Promise.resolve())}return st}function hp(t,e){const n=[],s=[],i=[],r=Math.max(e.matched.length,t.matched.length);for(let o=0;oPs(c,a))?s.push(a):n.push(a));const l=t.matched[o];l&&(e.matched.find(c=>Ps(c,l))||i.push(l))}return[n,s,i]}function Fs(){return je(Qr)}function ln(t){return je(il)}var rl=Symbol(""),Zt=()=>{const t=je(rl);if(!t)throw new Error("useClientData() is called without provider.");return t},pp=()=>Zt().pageComponent,qe=()=>Zt().pageData,Ie=()=>Zt().pageFrontmatter,mp=()=>Zt().pageHead,ol=()=>Zt().pageLang,gp=()=>Zt().pageLayout,Fn=()=>Zt().routeLocale,vp=()=>Zt().routePath,Fd=()=>Zt().routes,al=()=>Zt().siteData,Hi=()=>Zt().siteLocaleData,yp=Symbol(""),ra=Fe(l0),Es=Fe(c0),qd=(t,e)=>{const n=X6(t,e);if(Es.value[n])return n;const s=encodeURI(n);if(Es.value[s])return s;const i=ra.value[n]||ra.value[s];return i||n},pn=(t,e)=>{const{pathname:n,hashAndQueries:s}=_d(t),i=qd(n,e),r=i+s;return Es.value[i]?{...Es.value[i],path:r,notFound:!1}:{...Es.value["/404.html"],path:r,notFound:!0}},bp=(t,e)=>{const{pathname:n,hashAndQueries:s}=_d(t);return qd(n,e)+s},Cp=t=>{if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)&&!t.defaultPrevented&&!(t.button!==void 0&&t.button!==0)){if(t.currentTarget){const e=t.currentTarget.getAttribute("target");if(e!=null&&e.match(/\b_blank\b/i))return}return t.preventDefault(),!0}},Mt=K({name:"RouteLink",props:{to:{type:String,required:!0},active:Boolean,activeClass:{type:String,default:"route-link-active"}},slots:Object,setup(t,{slots:e}){const n=Fs(),s=ln(),i=S(()=>t.to.startsWith("#")||t.to.startsWith("?")?t.to:`/${bp(t.to,s.path).substring(1)}`);return()=>{var r;return f("a",{class:["route-link",{[t.activeClass]:t.active}],href:i.value,onClick:(o={})=>{Cp(o)&&n.push(t.to).catch()}},(r=e.default)==null?void 0:r.call(e))}}}),wp=K({name:"AutoLink",props:{config:{type:Object,required:!0}},slots:Object,setup(t,{slots:e}){const n=zr(t,"config"),s=ln(),i=al(),r=S(()=>Di(n.value.link)),o=S(()=>n.value.target||(r.value?"_blank":void 0)),a=S(()=>o.value==="_blank"),l=S(()=>!r.value&&!a.value),c=S(()=>n.value.rel||(a.value?"noopener noreferrer":null)),u=S(()=>n.value.ariaLabel??n.value.text),d=S(()=>{if(n.value.exact)return!1;const p=Object.keys(i.value.locales);return p.length?p.every(m=>m!==n.value.link):n.value.link!=="/"}),h=S(()=>l.value?n.value.activeMatch?(n.value.activeMatch instanceof RegExp?n.value.activeMatch:new RegExp(n.value.activeMatch,"u")).test(s.path):d.value?s.path.startsWith(n.value.link):s.path===n.value.link:!1);return()=>{const{before:p,after:m,default:v}=e,w=(v==null?void 0:v(n.value))||[p==null?void 0:p(n.value),n.value.text,m==null?void 0:m(n.value)];return l.value?f(Mt,{class:"auto-link",to:n.value.link,active:h.value,"aria-label":u.value},()=>w):f("a",{class:"auto-link external-link",href:n.value.link,"aria-label":u.value,rel:c.value,target:o.value},w)}}}),Yr=K({name:"ClientOnly",setup(t,e){const n=Y(!1);return we(()=>{n.value=!0}),()=>{var s,i;return n.value?(i=(s=e.slots).default)==null?void 0:i.call(s):null}}}),Bd=K({name:"Content",props:{path:{type:String,required:!1,default:""}},setup(t){const e=pp(),n=S(()=>{if(!t.path)return e.value;const s=pn(t.path);return G1(()=>s.loader().then(({comp:i})=>i))});return()=>f(n.value)}}),kp="Layout",Ep="en-US",Wn=Ai({resolveLayouts:t=>t.reduce((e,n)=>({...e,...n.layouts}),{}),resolvePageHead:(t,e,n)=>{const s=Oe(e.description)?e.description:n.description,i=[...Array.isArray(e.head)?e.head:[],...n.head,["title",{},t],["meta",{name:"description",content:s}]];return i0(i)},resolvePageHeadTitle:(t,e)=>[t.title,e.title].filter(n=>!!n).join(" | "),resolvePageLang:(t,e)=>t.lang||e.lang||Ep,resolvePageLayout:(t,e)=>{const n=Oe(t.frontmatter.layout)?t.frontmatter.layout:kp;if(!e[n])throw new Error(`[vuepress] Cannot resolve layout: ${n}`);return e[n]},resolveRouteLocale:(t,e)=>J6(t,decodeURI(e)),resolveSiteLocaleData:({base:t,locales:e,...n},s)=>{var i;return{...n,...e[s],head:[...((i=e[s])==null?void 0:i.head)??[],...n.head??[]]}}}),Dt=(t={})=>t,We=t=>Ns(t)?t:`/${xd(t)}`;const Tp=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),Sp=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),gn=t=>{const e=Fn();return S(()=>t[e.value]??{})},$p=()=>{const t=Fd();return S(()=>Object.keys(t.value))};var vt=Uint8Array,vs=Uint16Array,_p=Int32Array,zd=new vt([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),Wd=new vt([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),Lp=new vt([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),Gd=function(t,e){for(var n=new vs(31),s=0;s<31;++s)n[s]=e+=1<>1|(Pe&21845)<<1;wn=(wn&52428)>>2|(wn&13107)<<2,wn=(wn&61680)>>4|(wn&3855)<<4,oa[Pe]=((wn&65280)>>8|(wn&255)<<8)>>1}var oi=function(t,e,n){for(var s=t.length,i=0,r=new vs(e);i>l]=c}else for(a=new vs(s),i=0;i>15-t[i]);return a},Vi=new vt(288);for(var Pe=0;Pe<144;++Pe)Vi[Pe]=8;for(var Pe=144;Pe<256;++Pe)Vi[Pe]=9;for(var Pe=256;Pe<280;++Pe)Vi[Pe]=7;for(var Pe=280;Pe<288;++Pe)Vi[Pe]=8;var Zd=new vt(32);for(var Pe=0;Pe<32;++Pe)Zd[Pe]=5;var Op=oi(Vi,9,1),Ip=oi(Zd,5,1),To=function(t){for(var e=t[0],n=1;ne&&(e=t[n]);return e},Vt=function(t,e,n){var s=e/8|0;return(t[s]|t[s+1]<<8)>>(e&7)&n},So=function(t,e){var n=e/8|0;return(t[n]|t[n+1]<<8|t[n+2]<<16)>>(e&7)},Mp=function(t){return(t+7)/8|0},Qd=function(t,e,n){return(e==null||e<0)&&(e=0),(n==null||n>t.length)&&(n=t.length),new vt(t.subarray(e,n))},Rp=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],_t=function(t,e,n){var s=new Error(e||Rp[t]);if(s.code=t,Error.captureStackTrace&&Error.captureStackTrace(s,_t),!n)throw s;return s},Dp=function(t,e,n,s){var i=t.length,r=0;if(!i||e.f&&!e.l)return n||new vt(0);var o=!n,a=o||e.i!=2,l=e.i;o&&(n=new vt(i*3));var c=function(le){var ye=n.length;if(le>ye){var g=new vt(Math.max(ye*2,le));g.set(n),n=g}},u=e.f||0,d=e.p||0,h=e.b||0,p=e.l,m=e.d,v=e.m,w=e.n,C=i*8;do{if(!p){u=Vt(t,d,1);var k=Vt(t,d+1,3);if(d+=3,k)if(k==1)p=Op,m=Ip,v=9,w=5;else if(k==2){var P=Vt(t,d,31)+257,A=Vt(t,d+10,15)+4,F=P+Vt(t,d+5,31)+1;d+=14;for(var D=new vt(F),L=new vt(19),N=0;N>4;if(y<16)D[N++]=y;else{var q=0,j=0;for(y==16?(j=3+Vt(t,d,3),d+=2,q=D[N-1]):y==17?(j=3+Vt(t,d,7),d+=3):y==18&&(j=11+Vt(t,d,127),d+=7);j--;)D[N++]=q}}var V=D.subarray(0,P),ue=D.subarray(P);v=To(V),w=To(ue),p=oi(V,v,1),m=oi(ue,w,1)}else _t(1);else{var y=Mp(d)+4,E=t[y-4]|t[y-3]<<8,x=y+E;if(x>i){l&&_t(0);break}a&&c(h+E),n.set(t.subarray(y,x),h),e.b=h+=E,e.p=d=x*8,e.f=u;continue}if(d>C){l&&_t(0);break}}a&&c(h+131072);for(var Re=(1<>4;if(d+=q&15,d>C){l&&_t(0);break}if(q||_t(2),Ze<256)n[h++]=Ze;else if(Ze==256){De=d,p=null;break}else{var ot=Ze-254;if(Ze>264){var N=Ze-257,st=zd[N];ot=Vt(t,d,(1<>4;He||_t(3),d+=He&15;var ue=Pp[$];if($>3){var st=Wd[$];ue+=So(t,d)&(1<C){l&&_t(0);break}a&&c(h+131072);var W=h+ot;if(h>4>7||(t[0]<<8|t[1])%31)&&_t(6,"invalid zlib data"),(t[1]>>5&1)==+!e&&_t(6,"invalid zlib data: "+(t[1]&32?"need":"unexpected")+" dictionary"),(t[1]>>3&4)+2};function Np(t,e){return Dp(t.subarray(Vp(t,e),-4),{i:2},e,e)}var aa=typeof TextDecoder<"u"&&new TextDecoder,jp=0;try{aa.decode(Hp,{stream:!0}),jp=1}catch{}var Fp=function(t){for(var e="",n=0;;){var s=t[n++],i=(s>127)+(s>223)+(s>239);if(n+i>t.length)return{s:e,r:Qd(t,n-1)};i?i==3?(s=((s&15)<<18|(t[n++]&63)<<12|(t[n++]&63)<<6|t[n++]&63)-65536,e+=String.fromCharCode(55296|s>>10,56320|s&1023)):i&1?e+=String.fromCharCode((s&31)<<6|t[n++]&63):e+=String.fromCharCode((s&15)<<12|(t[n++]&63)<<6|t[n++]&63):e+=String.fromCharCode(s)}};function qp(t,e){{for(var n=new vt(t.length),s=0;s{const e=atob(t);return Bp(Np(qp(e)))},Xe=(t,e)=>{var s;const n=(s=(e==null?void 0:e._instance)||Vs())==null?void 0:s.appContext.components;return n?t in n||wt(t)in n||xi(wt(t))in n:!1},Yd=t=>new Promise(e=>setTimeout(e,t)),Xd=t=>typeof t<"u",$o=t=>typeof t=="number",Er=Array.isArray,Is=(t,e)=>Oe(t)&&t.startsWith(e),zp=(t,e)=>Oe(t)&&t.endsWith(e),Jd=Object.entries,as=Object.keys,Wp=Object.values,Gp=t=>{if(t){if(typeof t=="number")return new Date(t);const e=Date.parse(t.toString());if(!Number.isNaN(e))return new Date(e)}return null},ll=t=>Is(t,"/");function qs(t){return C1()?(Lf(t),!0):!1}function Je(t){return typeof t=="function"?t():Nt(t)}const Ni=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Up=Object.prototype.toString,Kp=t=>Up.call(t)==="[object Object]",nn=()=>{},la=Zp();function Zp(){var t,e;return Ni&&((t=window==null?void 0:window.navigator)==null?void 0:t.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((e=window==null?void 0:window.navigator)==null?void 0:e.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function cl(t,e){function n(...s){return new Promise((i,r)=>{Promise.resolve(t(()=>e.apply(this,s),{fn:e,thisArg:this,args:s})).then(i).catch(r)})}return n}const e3=t=>t();function Qp(t,e={}){let n,s,i=nn;const r=a=>{clearTimeout(a),i(),i=nn};return a=>{const l=Je(t),c=Je(e.maxWait);return n&&r(n),l<=0||c!==void 0&&c<=0?(s&&(r(s),s=null),Promise.resolve(a())):new Promise((u,d)=>{i=e.rejectOnCancel?d:u,c&&!s&&(s=setTimeout(()=>{n&&r(n),s=null,u(a())},c)),n=setTimeout(()=>{s&&r(s),s=null,u(a())},l)})}}function Yp(...t){let e=0,n,s=!0,i=nn,r,o,a,l,c;!Ke(t[0])&&typeof t[0]=="object"?{delay:o,trailing:a=!0,leading:l=!0,rejectOnCancel:c=!1}=t[0]:[o,a=!0,l=!0,c=!1]=t;const u=()=>{n&&(clearTimeout(n),n=void 0,i(),i=nn)};return h=>{const p=Je(o),m=Date.now()-e,v=()=>r=h();return u(),p<=0?(e=Date.now(),v()):(m>p&&(l||!s)?(e=Date.now(),v()):a&&(r=new Promise((w,C)=>{i=c?C:w,n=setTimeout(()=>{e=Date.now(),s=!0,w(v()),u()},Math.max(0,p-m))})),!l&&!n&&(n=setTimeout(()=>s=!0,p)),s=!1,r)}}function Xp(t=e3){const e=Y(!0);function n(){e.value=!1}function s(){e.value=!0}const i=(...r)=>{e.value&&t(...r)};return{isActive:Pi(e),pause:n,resume:s,eventFilter:i}}function Jp(t){let e;function n(){return e||(e=t()),e}return n.reset=async()=>{const s=e;e=void 0,s&&await s},n}function t3(t){return Vs()}function e4(...t){if(t.length!==1)return zr(...t);const e=t[0];return typeof e=="function"?Pi(H1(()=>({get:e,set:nn}))):Y(e)}function n3(t,e=200,n={}){return cl(Qp(e,n),t)}function t4(t,e=200,n=!1,s=!0,i=!1){return cl(Yp(e,n,s,i),t)}function n4(t,e,n={}){const{eventFilter:s=e3,...i}=n;return he(t,cl(s,e),i)}function s4(t,e,n={}){const{eventFilter:s,...i}=n,{eventFilter:r,pause:o,resume:a,isActive:l}=Xp(s);return{stop:n4(t,e,{...i,eventFilter:r}),pause:o,resume:a,isActive:l}}function Xr(t,e=!0,n){t3()?we(t,n):e?t():an(t)}function i4(t,e){t3()&&jn(t,e)}function r4(t,e,n={}){const{immediate:s=!0}=n,i=Y(!1);let r=null;function o(){r&&(clearTimeout(r),r=null)}function a(){i.value=!1,o()}function l(...c){o(),i.value=!0,r=setTimeout(()=>{i.value=!1,r=null,t(...c)},Je(e))}return s&&(i.value=!0,Ni&&l()),qs(a),{isPending:Pi(i),start:l,stop:a}}function bi(t=!1,e={}){const{truthyValue:n=!0,falsyValue:s=!1}=e,i=Ke(t),r=Y(t);function o(a){if(arguments.length)return r.value=a,r.value;{const l=Je(n);return r.value=r.value===l?Je(s):l,r.value}}return i?o:[r,o]}function bt(t){var e;const n=Je(t);return(e=n==null?void 0:n.$el)!=null?e:n}const Gt=Ni?window:void 0,s3=Ni?window.document:void 0,i3=Ni?window.navigator:void 0;function $e(...t){let e,n,s,i;if(typeof t[0]=="string"||Array.isArray(t[0])?([n,s,i]=t,e=Gt):[e,n,s,i]=t,!e)return nn;Array.isArray(n)||(n=[n]),Array.isArray(s)||(s=[s]);const r=[],o=()=>{r.forEach(u=>u()),r.length=0},a=(u,d,h,p)=>(u.addEventListener(d,h,p),()=>u.removeEventListener(d,h,p)),l=he(()=>[bt(e),Je(i)],([u,d])=>{if(o(),!u)return;const h=Kp(d)?{...d}:d;r.push(...n.flatMap(p=>s.map(m=>a(u,p,m,h))))},{immediate:!0,flush:"post"}),c=()=>{l(),o()};return qs(c),c}let ou=!1;function o4(t,e,n={}){const{window:s=Gt,ignore:i=[],capture:r=!0,detectIframe:o=!1}=n;if(!s)return nn;la&&!ou&&(ou=!0,Array.from(s.document.body.children).forEach(h=>h.addEventListener("click",nn)),s.document.documentElement.addEventListener("click",nn));let a=!0;const l=h=>i.some(p=>{if(typeof p=="string")return Array.from(s.document.querySelectorAll(p)).some(m=>m===h.target||h.composedPath().includes(m));{const m=bt(p);return m&&(h.target===m||h.composedPath().includes(m))}}),u=[$e(s,"click",h=>{const p=bt(t);if(!(!p||p===h.target||h.composedPath().includes(p))){if(h.detail===0&&(a=!l(h)),!a){a=!0;return}e(h)}},{passive:!0,capture:r}),$e(s,"pointerdown",h=>{const p=bt(t);a=!l(h)&&!!(p&&!h.composedPath().includes(p))},{passive:!0}),o&&$e(s,"blur",h=>{setTimeout(()=>{var p;const m=bt(t);((p=s.document.activeElement)==null?void 0:p.tagName)==="IFRAME"&&!(m!=null&&m.contains(s.document.activeElement))&&e(h)},0)})].filter(Boolean);return()=>u.forEach(h=>h())}function a4(){const t=Y(!1),e=Vs();return e&&we(()=>{t.value=!0},e),t}function ji(t){const e=a4();return S(()=>(e.value,!!t()))}function ul(t,e={}){const{window:n=Gt}=e,s=ji(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let i;const r=Y(!1),o=c=>{r.value=c.matches},a=()=>{i&&("removeEventListener"in i?i.removeEventListener("change",o):i.removeListener(o))},l=ud(()=>{s.value&&(a(),i=n.matchMedia(Je(t)),"addEventListener"in i?i.addEventListener("change",o):i.addListener(o),r.value=i.matches)});return qs(()=>{l(),a(),i=void 0}),r}function au(t,e={}){const{controls:n=!1,navigator:s=i3}=e,i=ji(()=>s&&"permissions"in s);let r;const o=typeof t=="string"?{name:t}:t,a=Y(),l=()=>{r&&(a.value=r.state)},c=Jp(async()=>{if(i.value){if(!r)try{r=await s.permissions.query(o),$e(r,"change",l),l()}catch{a.value="prompt"}return r}});return c(),n?{state:a,isSupported:i,query:c}:a}function l4(t={}){const{navigator:e=i3,read:n=!1,source:s,copiedDuring:i=1500,legacy:r=!1}=t,o=ji(()=>e&&"clipboard"in e),a=au("clipboard-read"),l=au("clipboard-write"),c=S(()=>o.value||r),u=Y(""),d=Y(!1),h=r4(()=>d.value=!1,i);function p(){o.value&&C(a.value)?e.clipboard.readText().then(k=>{u.value=k}):u.value=w()}c.value&&n&&$e(["copy","cut"],p);async function m(k=Je(s)){c.value&&k!=null&&(o.value&&C(l.value)?await e.clipboard.writeText(k):v(k),u.value=k,d.value=!0,h.start())}function v(k){const y=document.createElement("textarea");y.value=k??"",y.style.position="absolute",y.style.opacity="0",document.body.appendChild(y),y.select(),document.execCommand("copy"),y.remove()}function w(){var k,y,E;return(E=(y=(k=document==null?void 0:document.getSelection)==null?void 0:k.call(document))==null?void 0:y.toString())!=null?E:""}function C(k){return k==="granted"||k==="prompt"}return{isSupported:c,text:u,copied:d,copy:m}}const tr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},nr="__vueuse_ssr_handlers__",c4=u4();function u4(){return nr in tr||(tr[nr]=tr[nr]||{}),tr[nr]}function d4(t,e){return c4[t]||e}function f4(t){return t==null?"any":t instanceof Set?"set":t instanceof Map?"map":t instanceof Date?"date":typeof t=="boolean"?"boolean":typeof t=="string"?"string":typeof t=="object"?"object":Number.isNaN(t)?"any":"number"}const h4={boolean:{read:t=>t==="true",write:t=>String(t)},object:{read:t=>JSON.parse(t),write:t=>JSON.stringify(t)},number:{read:t=>Number.parseFloat(t),write:t=>String(t)},any:{read:t=>t,write:t=>String(t)},string:{read:t=>t,write:t=>String(t)},map:{read:t=>new Map(JSON.parse(t)),write:t=>JSON.stringify(Array.from(t.entries()))},set:{read:t=>new Set(JSON.parse(t)),write:t=>JSON.stringify(Array.from(t))},date:{read:t=>new Date(t),write:t=>t.toISOString()}},lu="vueuse-storage";function ls(t,e,n,s={}){var i;const{flush:r="pre",deep:o=!0,listenToStorageChanges:a=!0,writeDefaults:l=!0,mergeDefaults:c=!1,shallow:u,window:d=Gt,eventFilter:h,onError:p=L=>{console.error(L)},initOnMounted:m}=s,v=(u?Fe:Y)(typeof e=="function"?e():e);if(!n)try{n=d4("getDefaultStorage",()=>{var L;return(L=Gt)==null?void 0:L.localStorage})()}catch(L){p(L)}if(!n)return v;const w=Je(e),C=f4(w),k=(i=s.serializer)!=null?i:h4[C],{pause:y,resume:E}=s4(v,()=>P(v.value),{flush:r,deep:o,eventFilter:h});d&&a&&Xr(()=>{$e(d,"storage",F),$e(d,lu,D),m&&F()}),m||F();function x(L,N){d&&d.dispatchEvent(new CustomEvent(lu,{detail:{key:t,oldValue:L,newValue:N,storageArea:n}}))}function P(L){try{const N=n.getItem(t);if(L==null)x(N,null),n.removeItem(t);else{const I=k.write(L);N!==I&&(n.setItem(t,I),x(N,I))}}catch(N){p(N)}}function A(L){const N=L?L.newValue:n.getItem(t);if(N==null)return l&&w!=null&&n.setItem(t,k.write(w)),w;if(!L&&c){const I=k.read(N);return typeof c=="function"?c(I,w):C==="object"&&!Array.isArray(I)?{...w,...I}:I}else return typeof N!="string"?N:k.read(N)}function F(L){if(!(L&&L.storageArea!==n)){if(L&&L.key==null){v.value=w;return}if(!(L&&L.key!==t)){y();try{(L==null?void 0:L.newValue)!==k.write(v.value)&&(v.value=A(L))}catch(N){p(N)}finally{L?an(E):E()}}}}function D(L){F(L.detail)}return v}function p4(t){return ul("(prefers-color-scheme: dark)",t)}function m4(t,e,n={}){const{window:s=Gt,...i}=n;let r;const o=ji(()=>s&&"ResizeObserver"in s),a=()=>{r&&(r.disconnect(),r=void 0)},l=S(()=>Array.isArray(t)?t.map(d=>bt(d)):[bt(t)]),c=he(l,d=>{if(a(),o.value&&s){r=new ResizeObserver(e);for(const h of d)h&&r.observe(h,i)}},{immediate:!0,flush:"post"}),u=()=>{a(),c()};return qs(u),{isSupported:o,stop:u}}function g4(t,e={width:0,height:0},n={}){const{window:s=Gt,box:i="content-box"}=n,r=S(()=>{var d,h;return(h=(d=bt(t))==null?void 0:d.namespaceURI)==null?void 0:h.includes("svg")}),o=Y(e.width),a=Y(e.height),{stop:l}=m4(t,([d])=>{const h=i==="border-box"?d.borderBoxSize:i==="content-box"?d.contentBoxSize:d.devicePixelContentBoxSize;if(s&&r.value){const p=bt(t);if(p){const m=p.getBoundingClientRect();o.value=m.width,a.value=m.height}}else if(h){const p=Array.isArray(h)?h:[h];o.value=p.reduce((m,{inlineSize:v})=>m+v,0),a.value=p.reduce((m,{blockSize:v})=>m+v,0)}else o.value=d.contentRect.width,a.value=d.contentRect.height},n);Xr(()=>{const d=bt(t);d&&(o.value="offsetWidth"in d?d.offsetWidth:e.width,a.value="offsetHeight"in d?d.offsetHeight:e.height)});const c=he(()=>bt(t),d=>{o.value=d?e.width:0,a.value=d?e.height:0});function u(){l(),c()}return{width:o,height:a,stop:u}}const cu=["fullscreenchange","webkitfullscreenchange","webkitendfullscreen","mozfullscreenchange","MSFullscreenChange"];function dl(t,e={}){const{document:n=s3,autoExit:s=!1}=e,i=S(()=>{var C;return(C=bt(t))!=null?C:n==null?void 0:n.querySelector("html")}),r=Y(!1),o=S(()=>["requestFullscreen","webkitRequestFullscreen","webkitEnterFullscreen","webkitEnterFullScreen","webkitRequestFullScreen","mozRequestFullScreen","msRequestFullscreen"].find(C=>n&&C in n||i.value&&C in i.value)),a=S(()=>["exitFullscreen","webkitExitFullscreen","webkitExitFullScreen","webkitCancelFullScreen","mozCancelFullScreen","msExitFullscreen"].find(C=>n&&C in n||i.value&&C in i.value)),l=S(()=>["fullScreen","webkitIsFullScreen","webkitDisplayingFullscreen","mozFullScreen","msFullscreenElement"].find(C=>n&&C in n||i.value&&C in i.value)),c=["fullscreenElement","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement"].find(C=>n&&C in n),u=ji(()=>i.value&&n&&o.value!==void 0&&a.value!==void 0&&l.value!==void 0),d=()=>c?(n==null?void 0:n[c])===i.value:!1,h=()=>{if(l.value){if(n&&n[l.value]!=null)return n[l.value];{const C=i.value;if((C==null?void 0:C[l.value])!=null)return!!C[l.value]}}return!1};async function p(){if(!(!u.value||!r.value)){if(a.value)if((n==null?void 0:n[a.value])!=null)await n[a.value]();else{const C=i.value;(C==null?void 0:C[a.value])!=null&&await C[a.value]()}r.value=!1}}async function m(){if(!u.value||r.value)return;h()&&await p();const C=i.value;o.value&&(C==null?void 0:C[o.value])!=null&&(await C[o.value](),r.value=!0)}async function v(){await(r.value?p():m())}const w=()=>{const C=h();(!C||C&&d())&&(r.value=C)};return $e(n,cu,w,!1),$e(()=>bt(i),cu,w,!1),s&&qs(p),{isSupported:u,isFullscreen:r,enter:m,exit:p,toggle:v}}function _o(t){return typeof Window<"u"&&t instanceof Window?t.document.documentElement:typeof Document<"u"&&t instanceof Document?t.documentElement:t}function Fv(t,e,n={}){const{window:s=Gt}=n;return ls(t,e,s==null?void 0:s.localStorage,n)}function Lo(t,e=nn,n={}){const{immediate:s=!0,manual:i=!1,type:r="text/javascript",async:o=!0,crossOrigin:a,referrerPolicy:l,noModule:c,defer:u,document:d=s3,attrs:h={}}=n,p=Y(null);let m=null;const v=k=>new Promise((y,E)=>{const x=F=>(p.value=F,y(F),F);if(!d){y(!1);return}let P=!1,A=d.querySelector(`script[src="${Je(t)}"]`);A?A.hasAttribute("data-loaded")&&x(A):(A=d.createElement("script"),A.type=r,A.async=o,A.src=Je(t),u&&(A.defer=u),a&&(A.crossOrigin=a),c&&(A.noModule=c),l&&(A.referrerPolicy=l),Object.entries(h).forEach(([F,D])=>A==null?void 0:A.setAttribute(F,D)),P=!0),A.addEventListener("error",F=>E(F)),A.addEventListener("abort",F=>E(F)),A.addEventListener("load",()=>{A.setAttribute("data-loaded","true"),e(A),x(A)}),P&&(A=d.head.appendChild(A)),k||x(A)}),w=(k=!0)=>(m||(m=v(k)),m),C=()=>{if(!d)return;m=null,p.value&&(p.value=null);const k=d.querySelector(`script[src="${Je(t)}"]`);k&&d.head.removeChild(k)};return s&&!i&&Xr(w),i||i4(C),{scriptTag:p,load:w,unload:C}}function r3(t){const e=window.getComputedStyle(t);if(e.overflowX==="scroll"||e.overflowY==="scroll"||e.overflowX==="auto"&&t.clientWidth1?!0:(e.preventDefault&&e.preventDefault(),!1)}const xo=new WeakMap;function fl(t,e=!1){const n=Y(e);let s=null,i="";he(e4(t),a=>{const l=_o(Je(a));if(l){const c=l;if(xo.get(c)||xo.set(c,c.style.overflow),c.style.overflow!=="hidden"&&(i=c.style.overflow),c.style.overflow==="hidden")return n.value=!0;if(n.value)return c.style.overflow="hidden"}},{immediate:!0});const r=()=>{const a=_o(Je(t));!a||n.value||(la&&(s=$e(a,"touchmove",l=>{v4(l)},{passive:!1})),a.style.overflow="hidden",n.value=!0)},o=()=>{const a=_o(Je(t));!a||!n.value||(la&&(s==null||s()),a.style.overflow=i,xo.delete(a),n.value=!1)};return qs(o),S({get(){return n.value},set(a){a?r():o()}})}function o3(t,e,n={}){const{window:s=Gt}=n;return ls(t,e,s==null?void 0:s.sessionStorage,n)}function y4(t={}){const{window:e=Gt,behavior:n="auto"}=t;if(!e)return{x:Y(0),y:Y(0)};const s=Y(e.scrollX),i=Y(e.scrollY),r=S({get(){return s.value},set(a){scrollTo({left:a,behavior:n})}}),o=S({get(){return i.value},set(a){scrollTo({top:a,behavior:n})}});return $e(e,"scroll",()=>{s.value=e.scrollX,i.value=e.scrollY},{capture:!1,passive:!0}),{x:r,y:o}}function b4(t={}){const{window:e=Gt,initialWidth:n=Number.POSITIVE_INFINITY,initialHeight:s=Number.POSITIVE_INFINITY,listenOrientation:i=!0,includeScrollbar:r=!0}=t,o=Y(n),a=Y(s),l=()=>{e&&(r?(o.value=e.innerWidth,a.value=e.innerHeight):(o.value=e.document.documentElement.clientWidth,a.value=e.document.documentElement.clientHeight))};if(l(),Xr(l),$e("resize",l,{passive:!0}),i){const c=ul("(orientation: portrait)");he(c,()=>l())}return{width:o,height:a}}var C4=K({name:"FontIcon",props:{icon:{type:String,default:""},color:{type:String,default:""},size:{type:[String,Number],default:""}},setup(t){const e=S(()=>{const s=["font-icon icon"],i=`fas fa-${t.icon}`;return s.push("fa-fw fa-sm"),s.push(t.icon.includes(" ")?t.icon:i),s}),n=S(()=>{const s={};return t.color&&(s.color=t.color),t.size&&(s["font-size"]=Number.isNaN(Number(t.size))?t.size:`${t.size}px`),as(s).length?s:null});return()=>t.icon?f("span",{key:t.icon,class:e.value,style:n.value}):null}});const a3=({type:t="info",text:e="",vertical:n,color:s},{slots:i})=>{var r;return f("span",{class:["vp-badge",t,{diy:s}],style:{verticalAlign:n??!1,backgroundColor:s??!1}},((r=i.default)==null?void 0:r.call(i))??e)};a3.displayName="Badge";const Le=({name:t="",color:e="currentColor",ariaLabel:n},{attrs:s,slots:i})=>{var r;return f("svg",{xmlns:"http://www.w3.org/2000/svg",class:["icon",`${t}-icon`],viewBox:"0 0 1024 1024",fill:e,"aria-label":n??`${t} icon`,...s},(r=i.default)==null?void 0:r.call(i))};Le.displayName="IconBase";const hl=({size:t=48,stroke:e=4,wrapper:n=!0,height:s=2*t})=>{const i=f("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,height:t,preserveAspectRatio:"xMidYMid",viewBox:"25 25 50 50"},[f("animateTransform",{attributeName:"transform",type:"rotate",dur:"2s",keyTimes:"0;1",repeatCount:"indefinite",values:"0;360"}),f("circle",{cx:"50",cy:"50",r:"20",fill:"none",stroke:"currentColor","stroke-width":e,"stroke-linecap":"round"},[f("animate",{attributeName:"stroke-dasharray",dur:"1.5s",keyTimes:"0;0.5;1",repeatCount:"indefinite",values:"1,200;90,200;1,200"}),f("animate",{attributeName:"stroke-dashoffset",dur:"1.5s",keyTimes:"0;0.5;1",repeatCount:"indefinite",values:"0;-35px;-125px"})])]);return n?f("div",{class:"loading-icon-wrapper",style:`display:flex;align-items:center;justify-content:center;height:${s}px`},i):i};hl.displayName="LoadingIcon";const Jr=(t,{slots:e})=>{var n;return(n=e.default)==null?void 0:n.call(e)},w4=t=>Ns(t)?t:`https://github.com/${t}`,pl=(t="")=>!Ns(t)||/github\.com/.test(t)?"GitHub":/bitbucket\.org/.test(t)?"Bitbucket":/gitlab\.com/.test(t)?"GitLab":/gitee\.com/.test(t)?"Gitee":null,l3=()=>f(Le,{name:"github"},()=>f("path",{d:"M511.957 21.333C241.024 21.333 21.333 240.981 21.333 512c0 216.832 140.544 400.725 335.574 465.664 24.49 4.395 32.256-10.07 32.256-23.083 0-11.69.256-44.245 0-85.205-136.448 29.61-164.736-64.64-164.736-64.64-22.315-56.704-54.4-71.765-54.4-71.765-44.587-30.464 3.285-29.824 3.285-29.824 49.195 3.413 75.179 50.517 75.179 50.517 43.776 75.008 114.816 53.333 142.762 40.79 4.523-31.66 17.152-53.377 31.19-65.537-108.971-12.458-223.488-54.485-223.488-242.602 0-53.547 19.114-97.323 50.517-131.67-5.035-12.33-21.93-62.293 4.779-129.834 0 0 41.258-13.184 134.912 50.346a469.803 469.803 0 0 1 122.88-16.554c41.642.213 83.626 5.632 122.88 16.554 93.653-63.488 134.784-50.346 134.784-50.346 26.752 67.541 9.898 117.504 4.864 129.834 31.402 34.347 50.474 78.123 50.474 131.67 0 188.586-114.73 230.016-224.042 242.09 17.578 15.232 33.578 44.672 33.578 90.454v135.85c0 13.142 7.936 27.606 32.854 22.87C862.25 912.597 1002.667 728.747 1002.667 512c0-271.019-219.648-490.667-490.71-490.667z"}));l3.displayName="GitHubIcon";const c3=()=>f(Le,{name:"gitee"},()=>f("path",{d:"M512 992C246.92 992 32 777.08 32 512S246.92 32 512 32s480 214.92 480 480-214.92 480-480 480zm242.97-533.34H482.39a23.7 23.7 0 0 0-23.7 23.7l-.03 59.28c0 13.08 10.59 23.7 23.7 23.7h165.96a23.7 23.7 0 0 1 23.7 23.7v11.85a71.1 71.1 0 0 1-71.1 71.1H375.71a23.7 23.7 0 0 1-23.7-23.7V423.11a71.1 71.1 0 0 1 71.1-71.1h331.8a23.7 23.7 0 0 0 23.7-23.7l.06-59.25a23.73 23.73 0 0 0-23.7-23.73H423.11a177.78 177.78 0 0 0-177.78 177.75v331.83c0 13.08 10.62 23.7 23.7 23.7h349.62a159.99 159.99 0 0 0 159.99-159.99V482.33a23.7 23.7 0 0 0-23.7-23.7z"}));c3.displayName="GiteeIcon";const u3=()=>f(Le,{name:"bitbucket"},()=>f("path",{d:"M575.256 490.862c6.29 47.981-52.005 85.723-92.563 61.147-45.714-20.004-45.714-92.562-1.133-113.152 38.29-23.442 93.696 7.424 93.696 52.005zm63.451-11.996c-10.276-81.152-102.29-134.839-177.152-101.156-47.433 21.138-79.433 71.424-77.129 124.562 2.853 69.705 69.157 126.866 138.862 120.576S647.3 548.571 638.708 478.83zm136.558-309.723c-25.161-33.134-67.986-38.839-105.728-45.13-106.862-17.151-216.576-17.7-323.438 1.134-35.438 5.706-75.447 11.996-97.719 43.996 36.572 34.304 88.576 39.424 135.424 45.129 84.553 10.862 171.447 11.447 256 .585 47.433-5.705 99.987-10.276 135.424-45.714zm32.585 591.433c-16.018 55.99-6.839 131.438-66.304 163.986-102.29 56.576-226.304 62.867-338.87 42.862-59.43-10.862-129.135-29.696-161.72-85.723-14.3-54.858-23.442-110.848-32.585-166.84l3.438-9.142 10.276-5.157c170.277 112.567 408.576 112.567 579.438 0 26.844 8.01 6.84 40.558 6.29 60.014zm103.424-549.157c-19.42 125.148-41.728 249.71-63.415 374.272-6.29 36.572-41.728 57.162-71.424 72.558-106.862 53.724-231.424 62.866-348.562 50.286-79.433-8.558-160.585-29.696-225.134-79.433-30.28-23.443-30.28-63.415-35.986-97.134-20.005-117.138-42.862-234.277-57.161-352.585 6.839-51.42 64.585-73.728 107.447-89.71 57.16-21.138 118.272-30.866 178.87-36.571 129.134-12.58 261.157-8.01 386.304 28.562 44.581 13.13 92.563 31.415 122.844 69.705 13.714 17.7 9.143 40.01 6.29 60.014z"}));u3.displayName="BitbucketIcon";const d3=()=>f(Le,{name:"source"},()=>f("path",{d:"M601.92 475.2c0 76.428-8.91 83.754-28.512 99.594-14.652 11.88-43.956 14.058-78.012 16.434-18.81 1.386-40.392 2.97-62.172 6.534-18.612 2.97-36.432 9.306-53.064 17.424V299.772c37.818-21.978 63.36-62.766 63.36-109.692 0-69.894-56.826-126.72-126.72-126.72S190.08 120.186 190.08 190.08c0 46.926 25.542 87.714 63.36 109.692v414.216c-37.818 21.978-63.36 62.766-63.36 109.692 0 69.894 56.826 126.72 126.72 126.72s126.72-56.826 126.72-126.72c0-31.086-11.286-59.598-29.7-81.576 13.266-9.504 27.522-17.226 39.996-19.206 16.038-2.574 32.868-3.762 50.688-5.148 48.312-3.366 103.158-7.326 148.896-44.55 61.182-49.698 74.25-103.158 75.24-187.902V475.2h-126.72zM316.8 126.72c34.848 0 63.36 28.512 63.36 63.36s-28.512 63.36-63.36 63.36-63.36-28.512-63.36-63.36 28.512-63.36 63.36-63.36zm0 760.32c-34.848 0-63.36-28.512-63.36-63.36s28.512-63.36 63.36-63.36 63.36 28.512 63.36 63.36-28.512 63.36-63.36 63.36zM823.68 158.4h-95.04V63.36h-126.72v95.04h-95.04v126.72h95.04v95.04h126.72v-95.04h95.04z"}));d3.displayName="SourceIcon";const k4=({link:t,type:e=pl(t??"")})=>{if(!e)return null;const n=e.toLowerCase();return f(n==="bitbucket"?u3:n==="github"?l3:n==="gitlab"?"GitLab":n==="gitee"?c3:d3)};function E4(){const t=Y(!1),e=Vs();return e&&we(()=>{t.value=!0},e),t}function T4(t){return E4(),S(()=>!!t())}const S4=()=>T4(()=>typeof window<"u"&&window.navigator&&"userAgent"in window.navigator),$4=()=>{const t=S4();return S(()=>t.value&&/\b(?:Android|iPhone)/i.test(navigator.userAgent))},_4=t=>[/\((ipad);[-\w),; ]+apple/i,/applecoremedia\/[\w.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i].some(e=>e.test(t)),L4=t=>[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/cfnetwork\/.+darwin/i].some(e=>e.test(t)),x4=t=>[/(mac os x) ?([\w. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i].some(e=>e.test(t)),A4=(t,e=0)=>{let n=3735928559^e,s=1103547991^e;for(let i=0,r;i>>16,2246822507),n^=Math.imul(s^s>>>13,3266489909),s=Math.imul(s^s>>>16,2246822507),s^=Math.imul(n^n>>>13,3266489909),4294967296*(2097151&s)+(n>>>0)},f3=(t,e)=>A4(t)%e,h3=/#.*$/u,P4=t=>{const e=h3.exec(t);return e?e[0]:""},uu=t=>decodeURI(t).replace(h3,"").replace(/\/index\.html$/iu,"/").replace(/\/(README|index)\.md$/iu,"/").replace(/\.(?:html|md)$/iu,""),p3=(t,e)=>{if(!Xd(e))return!1;const n=uu(t.path),s=uu(e),i=P4(e);return i?i===t.hash&&(!s||n===s):n===s};var O4=t=>Object.prototype.toString.call(t)==="[object Object]",Ci=t=>typeof t=="string";const m3=Array.isArray,du=t=>O4(t)&&Ci(t.name),fu=(t,e=!1)=>t?m3(t)?t.map(n=>Ci(n)?{name:n}:du(n)?n:null).filter(n=>n!==null):Ci(t)?[{name:t}]:du(t)?[t]:(console.error(`Expect "author" to be \`AuthorInfo[] | AuthorInfo | string[] | string ${e?"":"| false"} | undefined\`, but got`,t),[]):[],g3=(t,e)=>{if(t){if(m3(t)&&t.every(Ci))return t;if(Ci(t))return[t];console.error(`Expect ${e} to be \`string[] | string | undefined\`, but got`,t)}return[]},I4=t=>g3(t,"category"),M4=t=>g3(t,"tag"),R4="accelerometer; autoplay; clipboard-write; encrypted-media; fullscreen; gyroscope; picture-in-picture",hu=t=>Oe(t)?t:`${t}px`,D4=(t,e=0)=>{const n=Fe(),s=S(()=>hu(Nt(t.width)??"100%")),i=Y("auto"),r=l=>{if(Oe(l)){const[c,u]=l.split(":"),d=Number(c)/Number(u);if(!Number.isNaN(d))return d}return typeof l=="number"?l:16/9},o=l=>{const c=Nt(t.height),u=r(Nt(t.ratio));return c?hu(c):`${Number(l)/u+Nt(e)}px`},a=()=>{n.value&&(i.value=o(n.value.clientWidth))};return we(()=>{a(),Ke(e)&&he(e,a),$e("orientationchange",a),$e("resize",a)}),{el:n,width:s,height:i,resize:a}},pu="https://player.bilibili.com/player.html";var H4=K({name:"BiliBili",props:{bvid:{type:String,default:""},aid:{type:String,default:""},cid:{type:String,default:""},title:{type:String,default:"A BiliBili video"},page:{type:[String,Number],default:1},width:{type:[String,Number],default:"100%"},height:{type:[String,Number],default:void 0},ratio:{type:[String,Number],default:16/9},time:{type:[String,Number],default:0},autoplay:Boolean},setup(t){const{el:e,width:n,height:s,resize:i}=D4(t),r=Y(!1),o=S(()=>{const{aid:a,bvid:l,cid:c,autoplay:u,time:d,page:h}=t;return a&&c?`${pu}?aid=${a}&cid=${c}&t=${d}&autoplay=${u?1:0}&p=${h}`:l?`${pu}?bvid=${l}&t=${d}&autoplay=${u?1:0}`:null});return()=>o.value?[f("div",{class:"bilibili-desc"},f("a",{class:"sr-only",href:o.value},t.title)),f("iframe",{ref:e,src:o.value,title:t.title,class:"bilibili-iframe",allow:R4,style:{width:n.value,height:r.value?s.value:0},onLoad:()=>{r.value=!0,i()}}),r.value?null:f(hl)]:[]}});const v3=({title:t,desc:e="",logo:n,background:s,color:i,link:r})=>{const o=[n?f("img",{class:"vp-card-logo",src:We(n),loading:"lazy","no-view":""}):null,f("div",{class:"vp-card-content"},[f("div",{class:"vp-card-title",innerHTML:t}),f("hr"),f("div",{class:"vp-card-desc",innerHTML:e})])],a={};return s&&(a.background=s),i&&(a.color=i),r?Kr(r)?f("a",{class:"vp-card",href:r,target:"_blank",style:a},o):f(Mt,{to:r,class:"vp-card",style:a},()=>o):f("div",{class:"vp-card",style:a},o)};v3.displayName="VPCard";const rn=Symbol(0);let Tr=!1,ca=!1,Bt=null,Ts=null,At=null,mt=0,ms=[],ml={};const V4=()=>{},Bs=0,y3=1,Sr=2,eo=3;function N4(){Tr=!0,queueMicrotask(b3)}function b3(){if(!ms.length){Tr=!1;return}ca=!0;for(let t=0;t=0;n--)wl(e[n])}function F4(t){const e=ua();return Fi(e,t.length?t.bind(null,Ms.bind(e)):t,null)}function se(t){return Fi(Bt,t,null)}function wi(t){return Fi(null,t,null)}function ki(){ca||b3()}function to(){return Bt}function xt(t,e){try{return Fi(e,t,null)}catch(n){gl(e,n);return}}function C3(t,e=Bt){return e==null?void 0:e.$cx[t]}function q4(t,e,n=Bt){n&&(n.$cx={...n.$cx,[t]:e})}function tt(t){if(!t||!Bt)return t||V4;const e=Bt;return e.$d?Array.isArray(e.$d)?e.$d.push(t):e.$d=[e.$d,t]:e.$d=t,function(){e.$st!==eo&&(t.call(null),no(e.$d)?e.$d=null:Array.isArray(e.$d)&&e.$d.splice(e.$d.indexOf(t),1))}}function Ms(t=!0){if(this.$st!==eo){if(this.$h)if(Array.isArray(this.$h))for(let e=this.$h.length-1;e>=0;e--)Ms.call(this.$h[e]);else Ms.call(this.$h);if(t){const e=this[rn];e&&(Array.isArray(e.$h)?e.$h.splice(e.$h.indexOf(this),1):e.$h=null),B4(this)}}}function B4(t){t.$st=eo,t.$d&&w3(t),t.$s&&da(t,0),t[rn]=null,t.$s=null,t.$o=null,t.$h=null,t.$cx=ml,t.$eh=null}function w3(t){try{if(Array.isArray(t.$d))for(let e=t.$d.length-1;e>=0;e--){const n=t.$d[e];n.call(n)}else t.$d.call(t.$d);t.$d=null}catch(e){gl(t,e)}}function Fi(t,e,n){const s=Bt,i=Ts;Bt=t,Ts=n;try{return e.call(t)}finally{Bt=s,Ts=i}}function gl(t,e){if(!t||!t.$eh)throw e;let n=0,s=t.$eh.length,i=e;for(n=0;n0){t.$s.length=mt+At.length;for(let n=0;n=e)&&(t.$e&&t.$st===Bs&&(ms.push(t),Tr||N4()),t.$st=e,t.$o))for(let n=0;n"u"}function qv(t){return kl(t)||zt(t)}function Bv(t){return(t==null?void 0:t.constructor)===Object}function Ei(t){return typeof t=="number"&&!Number.isNaN(t)}function pe(t){return typeof t=="string"}function gu(t){return typeof t=="boolean"}function sn(t){return typeof t=="function"}function jt(t){return Array.isArray(t)}var vu;const G4=Event,$3=Symbol("DOM_EVENT");class Ae extends G4{constructor(e,...n){var i,r;super(e,n[0]),this[vu]=!0,this.triggers=new U4,this.detail=(i=n[0])==null?void 0:i.detail;const s=(r=n[0])==null?void 0:r.trigger;s&&this.triggers.add(s)}get trigger(){return this.triggers.source}get originEvent(){return this.triggers.origin}get isOriginTrusted(){var e;return((e=this.triggers.origin)==null?void 0:e.isTrusted)??!1}}vu=$3;class U4{constructor(){this.chain=[]}get source(){return this.chain[0]}get origin(){return this.chain[this.chain.length-1]}add(e){this.chain.push(e),K4(e)&&this.chain.push(...e.triggers)}remove(e){return this.chain.splice(this.chain.indexOf(e),1)[0]}has(e){return this.chain.some(n=>n===e)}hasType(e){return!!this.findType(e)}findType(e){return this.chain.find(n=>n.type===e)}walk(e){for(const n of this.chain){const s=e(n);if(s)return[n,s]}}[Symbol.iterator](){return this.chain.values()}}function K4(t){return!!(t!=null&&t[$3])}class _3 extends EventTarget{addEventListener(e,n,s){return super.addEventListener(e,n,s)}removeEventListener(e,n,s){return super.removeEventListener(e,n,s)}}function ce(t,e,n,s){return t.addEventListener(e,n,s),tt(()=>t.removeEventListener(e,n,s))}function zv(t){return!!(t!=null&&t.type.startsWith("pointer"))}function Z4(t){return!!(t!=null&&t.type.startsWith("touch"))}function Wv(t){return/^(click|mouse)/.test((t==null?void 0:t.type)??"")}function El(t){return!!(t!=null&&t.type.startsWith("key"))}function Gv(t){return El(t)&&t.key==="Enter"}function L3(t){return El(t)&&(t.key==="Enter"||t.key===" ")}function Q4(t){return t instanceof Node}function Ve(t,e,n){if(t)if(!n&&n!==""&&n!==0)t.removeAttribute(e);else{const s=n===!0?"":n+"";t.getAttribute(e)!==s&&t.setAttribute(e,s)}else return}function is(t,e,n){if(t)!n&&n!==0?t.style.removeProperty(e):t.style.setProperty(e,n+"");else return}function yu(t,e,n){t.classList[n?"add":"remove"](e)}function Ge(t,e){const n=Cl(t,null,e),s=vl.bind(n);return s[rn]=!0,s.set=k3.bind(n),s}function Y4(t){return no(t)&&rn in t}function Rs(t,e){const n=Cl(e==null?void 0:e.initial,t,e),s=vl.bind(n);return s[rn]=!0,s}function X4(t,e){const n=Cl(null,function(){let i=t();return no(i)&&tt(i),null},void 0);return n.$e=!0,T3(n),Ms.bind(n,!0)}function Uv(t){return Y4(t)&&"set"in t}const te=X4;function J4(t){return{id:Symbol(),provide:t}}function x3(t,e,n=to()){var i;const s=!zt(e);q4(t.id,s?e:(i=t.provide)==null?void 0:i.call(t),n)}function A3(t){return C3(t.id)}function Kv(t){return!zt(C3(t.id))}const ai=Symbol(0),li=Symbol(0),P3=Symbol(0);var bu;const Ao={};class e5{constructor(e,n,s){var o;this[bu]=null,this.$el=Ge(null),this.a=null,this.d=null,this.f=null,this.g=null,this.e=null,this.o=!1,this.i=Ao,this.b=null,this.c=null,this.l=[],this.m=[],this.j=[],this.n=[],this.d=n,s!=null&&s.scope&&s.scope.append(n);let i=e.state,r=e.props;if(i&&(this.h=i.create(),this.k=new Proxy(this.h,{get:(a,l)=>this.h[l]()}),x3(i,this.h)),r&&(this.i=t5(r),s!=null&&s.props))for(const a of Object.keys(s.props))(o=this.i[a])==null||o.set(s.props[a]);tt(this.p.bind(this))}w(){xt(()=>{for(const e of this.l)e()},this.d)}x(e){this.a||(this.a=e,this.$el.set(e),xt(()=>{this.f=ua(),xt(()=>{for(const n of this.m)n(this.a);this.q(),this.r()},this.f)},this.d),e.dispatchEvent(new Event("attached")))}s(){var e;(e=this.f)==null||e.dispose(),this.f=null,this.g=null,this.a=null,this.$el.set(null)}y(){!this.a||!this.f||!this.j.length||xt(()=>{this.g=ua(),xt(()=>{for(const e of this.j)e(this.a)},this.g)},this.f)}z(){var e;(e=this.g)==null||e.dispose(),this.g=null}p(){if(this.o)return;this.o=!0,xt(()=>{for(const n of this.n)n(this.a)},this.d);const e=this.a;this.s(),this.d.dispose(),this.l.length=0,this.m.length=0,this.j.length=0,this.n.length=0,this.e=null,this.b=null,this.c=null,this.i=Ao,this.d=null,this.k=Ao,this.h=null,e&&delete e.$}t(e){e.onSetup&&this.l.push(e.onSetup.bind(e)),e.onAttach&&this.m.push(e.onAttach.bind(e)),e.onConnect&&this.j.push(e.onConnect.bind(e)),e.onDestroy&&this.n.push(e.onDestroy.bind(e))}q(){if(this.b)for(const e of Object.keys(this.b))sn(this.b[e])?te(this.u.bind(this,e)):Ve(this.a,e,this.b[e])}r(){if(this.c)for(const e of Object.keys(this.c))sn(this.c[e])?te(this.v.bind(this,e)):is(this.a,e,this.c[e])}u(e){Ve(this.a,e,this.b[e].call(this.e))}v(e){is(this.a,e,this.c[e].call(this.e))}}bu=P3;function t5(t){const e={};for(const n of Object.keys(t)){const s=t[n];e[n]=Ge(s,s)}return e}let ci={$$:null};function n5(t,e){return F4(()=>{ci.$$=new e5(t,to(),e);const n=new t;return ci.$$.e=n,ci.$$=null,n})}class qi extends EventTarget{constructor(){super(),ci.$$&&this.attach(ci)}get el(){return this.$$.a}get $el(){return this.$$.$el()}get scope(){return this.$$.d}get attachScope(){return this.$$.f}get connectScope(){return this.$$.g}get $props(){return this.$$.i}get $state(){return this.$$.h}get state(){return this.$$.k}attach({$$:e}){return this.$$=e,e.t(this),this}addEventListener(e,n,s){this.listen(e,n,s)}removeEventListener(e,n,s){var i;(i=this.el)==null||i.removeEventListener(e,n,s)}setAttributes(e){this.$$.b||(this.$$.b={}),Object.assign(this.$$.b,e)}setStyles(e){this.$$.c||(this.$$.c={}),Object.assign(this.$$.c,e)}setCSSVars(e){this.setStyles(e)}createEvent(e,...n){return new Ae(e,n[0])}dispatch(e,...n){if(!this.el)return!1;const s=e instanceof Event?e:new Ae(e,n[0]);return Object.defineProperty(s,"target",{get:()=>this.$$.e}),wi(()=>{var i,r;return(r=(i=this.$$)[P3])==null||r.call(i,s),this.el.dispatchEvent(s)})}dispatchEvent(e){return this.dispatch(e)}listen(e,n,s){return this.el?ce(this.el,e,n,s):$r}}class Tl extends qi{subscribe(e){return xt(()=>te(()=>e(this.state)),this.$$.d)}destroy(){this.$$.p()}}function nt(t,e,n){t[ai]||(t[ai]=new Set),t[ai].add(e)}function kt(t,e,n){t[li]||(t[li]=new Set),t[li].add(e)}class O3{constructor(e){this.id=Symbol(0),this.record=e,this.A=Object.getOwnPropertyDescriptors(e)}create(){const e={},n=new Proxy(e,{get:(s,i)=>e[i]()});for(const s of Object.keys(this.record)){const i=this.A[s].get;e[s]=i?Rs(i.bind(n)):Ge(this.record[s])}return e}reset(e,n){for(const s of Object.keys(e))!this.A[s].get&&(!n||n(s))&&e[s].set(this.record[s])}}function Zv(t){return A3(t)}function s5(t,e){for(const n of t)n(e)}function I3(t){return t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function i5(t){return t.replace(/-./g,e=>e[1].toUpperCase())}function r5(t){return t.charAt(0).toUpperCase()+t.slice(1)}function Qv(t){return sn(t)?t():t}function Yv(t){return t?"true":"false"}function o5(){const t=new Set;return{add(...e){for(const n of e)t.add(n)},empty(){for(const e of t)e();t.clear()}}}function Xv(){const t=o5();return tt(t.empty),t}function Jv(t){return Object.keys(t)}function fa(){let t,e;return{promise:new Promise((s,i)=>{t=s,e=i}),resolve:t,reject:e}}function a5(t){return new Promise(e=>setTimeout(e,t))}function Sl(t){let e=-1,n;function s(...i){n=i,!(e>=0)&&(e=window.requestAnimationFrame(()=>{t.apply(this,n),e=-1,n=void 0}))}return s}const l5=typeof window<"u"?"requestIdleCallback"in window?window.requestIdleCallback:t=>window.setTimeout(t,1):$r;function c5(t,e){return new Promise(n=>{l5(s=>{t==null||t(s),n()},e)})}var ht={fullscreenEnabled:0,fullscreenElement:1,requestFullscreen:2,exitFullscreen:3,fullscreenchange:4,fullscreenerror:5,fullscreen:6},Cu=["webkitFullscreenEnabled","webkitFullscreenElement","webkitRequestFullscreen","webkitExitFullscreen","webkitfullscreenchange","webkitfullscreenerror","-webkit-full-screen"],wu=["mozFullScreenEnabled","mozFullScreenElement","mozRequestFullScreen","mozCancelFullScreen","mozfullscreenchange","mozfullscreenerror","-moz-full-screen"],ku=["msFullscreenEnabled","msFullscreenElement","msRequestFullscreen","msExitFullscreen","MSFullscreenChange","MSFullscreenError","-ms-fullscreen"],lt=typeof window<"u"&&typeof window.document<"u"?window.document:{},St="fullscreenEnabled"in lt&&Object.keys(ht)||Cu[0]in lt&&Cu||wu[0]in lt&&wu||ku[0]in lt&&ku||[],xn={requestFullscreen:function(t){return t[St[ht.requestFullscreen]]()},requestFullscreenFunction:function(t){return t[St[ht.requestFullscreen]]},get exitFullscreen(){return lt[St[ht.exitFullscreen]].bind(lt)},get fullscreenPseudoClass(){return":"+St[ht.fullscreen]},addEventListener:function(t,e,n){return lt.addEventListener(St[ht[t]],e,n)},removeEventListener:function(t,e,n){return lt.removeEventListener(St[ht[t]],e,n)},get fullscreenEnabled(){return!!lt[St[ht.fullscreenEnabled]]},set fullscreenEnabled(t){},get fullscreenElement(){return lt[St[ht.fullscreenElement]]},set fullscreenElement(t){},get onfullscreenchange(){return lt[("on"+St[ht.fullscreenchange]).toLowerCase()]},set onfullscreenchange(t){return lt[("on"+St[ht.fullscreenchange]).toLowerCase()]=t},get onfullscreenerror(){return lt[("on"+St[ht.fullscreenerror]).toLowerCase()]},set onfullscreenerror(t){return lt[("on"+St[ht.fullscreenerror]).toLowerCase()]=t}},M3=u5;function u5(t,e,n){var s=null,i=null,r=n&&n.leading,o=n&&n.trailing;r==null&&(r=!0),o==null&&(o=!r),r==!0&&(o=!1);var a=function(){s&&(clearTimeout(s),s=null)},l=function(){var u=i;a(),u&&u()},c=function(){var u=r&&!s,d=this,h=arguments;if(i=function(){return t.apply(d,h)},s||(s=setTimeout(function(){if(s=null,o)return i()},e)),u)return u=!1,i()};return c.cancel=a,c.flush=l,c}var R3=d5;function d5(t,e,n){var s=null,i=null,r=function(){s&&(clearTimeout(s),i=null,s=null)},o=function(){var l=i;r(),l&&l()},a=function(){if(!e)return t.apply(this,arguments);var l=this,c=arguments,u=n&&!s;if(r(),i=function(){t.apply(l,c)},s=setTimeout(function(){if(s=null,!u){var d=i;return i=null,d()}},e),u)return i()};return a.cancel=r,a.flush=o,a}const Eu=t=>typeof t=="object"&&t!=null&&t.nodeType===1,Tu=(t,e)=>(!e||t!=="hidden")&&t!=="visible"&&t!=="clip",Po=(t,e)=>{if(t.clientHeight{const i=(r=>{if(!r.ownerDocument||!r.ownerDocument.defaultView)return null;try{return r.ownerDocument.defaultView.frameElement}catch{return null}})(s);return!!i&&(i.clientHeightre||r>t&&o=e&&a>=n?r-t-s:o>e&&an?o-e+i:0,f5=t=>{const e=t.parentElement;return e??(t.getRootNode().host||null)},ey=(t,e)=>{var n,s,i,r;if(typeof document>"u")return[];const{scrollMode:o,block:a,inline:l,boundary:c,skipOverflowHiddenElements:u}=e,d=typeof c=="function"?c:q=>q!==c;if(!Eu(t))throw new TypeError("Invalid target");const h=document.scrollingElement||document.documentElement,p=[];let m=t;for(;Eu(m)&&d(m);){if(m=f5(m),m===h){p.push(m);break}m!=null&&m===document.body&&Po(m)&&!Po(document.documentElement)||m!=null&&Po(m,u)&&p.push(m)}const v=(s=(n=window.visualViewport)==null?void 0:n.width)!=null?s:innerWidth,w=(r=(i=window.visualViewport)==null?void 0:i.height)!=null?r:innerHeight,{scrollX:C,scrollY:k}=window,{height:y,width:E,top:x,right:P,bottom:A,left:F}=t.getBoundingClientRect(),{top:D,right:L,bottom:N,left:I}=(q=>{const j=window.getComputedStyle(q);return{top:parseFloat(j.scrollMarginTop)||0,right:parseFloat(j.scrollMarginRight)||0,bottom:parseFloat(j.scrollMarginBottom)||0,left:parseFloat(j.scrollMarginLeft)||0}})(t);let Z=a==="start"||a==="nearest"?x-D:a==="end"?A+N:x+y/2-D+N,J=l==="center"?F+E/2-I+L:l==="end"?P+L:F-I;const ae=[];for(let q=0;q=0&&F>=0&&A<=w&&P<=v&&x>=Re&&A<=De&&F>=Ze&&P<=ze)return ae;const ot=getComputedStyle(j),st=parseInt(ot.borderLeftWidth,10),He=parseInt(ot.borderTopWidth,10),$=parseInt(ot.borderRightWidth,10),W=parseInt(ot.borderBottomWidth,10);let H=0,U=0;const le="offsetWidth"in j?j.offsetWidth-j.clientWidth-st-$:0,ye="offsetHeight"in j?j.offsetHeight-j.clientHeight-He-W:0,g="offsetWidth"in j?j.offsetWidth===0?0:ue/j.offsetWidth:0,b="offsetHeight"in j?j.offsetHeight===0?0:V/j.offsetHeight:0;if(h===j)H=a==="start"?Z:a==="end"?Z-w:a==="nearest"?sr(k,k+w,w,He,W,k+Z,k+Z+y,y):Z-w/2,U=l==="start"?J:l==="center"?J-v/2:l==="end"?J-v:sr(C,C+v,v,st,$,C+J,C+J+E,E),H=Math.max(0,H+k),U=Math.max(0,U+C);else{H=a==="start"?Z-Re-He:a==="end"?Z-De+W+ye:a==="nearest"?sr(Re,De,V,He,W+ye,Z,Z+y,y):Z-(Re+V/2)+ye/2,U=l==="start"?J-Ze-st:l==="center"?J-(Ze+ue/2)+le/2:l==="end"?J-ze+$+le:sr(Ze,ze,ue,st,$+le,J,J+E,E);const{scrollLeft:T,scrollTop:O}=j;H=b===0?0:Math.max(0,Math.min(O+H/b,j.scrollHeight-V/b+ye)),U=g===0?0:Math.max(0,Math.min(T+U/g,j.scrollWidth-ue/g+le)),Z+=O-H,J+=T-U}ae.push({el:j,top:H,left:U})}return ae},Oo=t=>t===null?"":t+"",h5=t=>t===null?null:t+"",p5=t=>t===null?0:Number(t),m5=t=>t!==null,g5=()=>null,v5=t=>t===null?[]:JSON.parse(t),y5=t=>t===null?{}:JSON.parse(t);function b5(t){if(t===null)return h5;switch(typeof t){case"undefined":return Oo;case"string":return Oo;case"boolean":return m5;case"number":return p5;case"function":return g5;case"object":return jt(t)?v5:y5;default:return Oo}}const kn=Symbol(0),D3=Symbol(0),ts=Symbol(0),Zn=Symbol(0);function H3(t,e){var n,s,i;const o=class o extends t{constructor(...l){if(super(...l),this[s]=0,this[i]=null,this.keepAlive=!1,this.forwardKeepAlive=!0,this.$=xt(()=>n5(e),null),this.$.$$.t(this),e.props){const c=this.$props,u=Object.getOwnPropertyDescriptors(this);for(const d of Object.keys(u))d in e.props&&(c[d].set(this[d]),delete this[d])}}static get observedAttributes(){var l;if(!this[kn]&&e.props){const c=new Map;for(const u of Object.keys(e.props)){let d=(l=this.attrs)==null?void 0:l[u],h=pe(d)?d:d&&(d==null?void 0:d.attr);h!==!1&&(h||(h=I3(u)),c.set(h,{C:u,B:d&&!pe(d)&&(d==null?void 0:d.converter)||b5(e.props[u])}))}this[kn]=c}return this[kn]?Array.from(this[kn].keys()):[]}get scope(){return this.$.$$.d}get attachScope(){return this.$.$$.f}get connectScope(){return this.$.$$.g}get $props(){return this.$.$$.i}get $state(){return this.$.$$.h}get state(){return this.$.state}attributeChangedCallback(l,c,u){var p;const d=this.constructor;if(!d[kn]){(p=super.attributeChangedCallback)==null||p.call(this,l,c,u);return}const h=d[kn].get(l);h&&(this[h.C]=h.B(u))}connectedCallback(){var u;const l=(u=this.$)==null?void 0:u.$$;if(!l||l.o)return;if(this[ts]!==2){w5.call(this);return}if(!this.isConnected)return;this.hasAttribute("keep-alive")&&(this.keepAlive=!0),l.y(),jt(this[Zn])&&s5(this[Zn],this),this[Zn]=null;const c=super.connectedCallback;c&&xt(()=>c.call(this),this.connectScope)}disconnectedCallback(){var u;const l=(u=this.$)==null?void 0:u.$$;if(!l||l.o)return;l.z();const c=super.disconnectedCallback;c&&c.call(this),!this.keepAlive&&!this.hasAttribute("keep-alive")&&setTimeout(()=>{requestAnimationFrame(()=>{this.isConnected||l.p()})},0)}[(n=kn,s=ts,i=Zn,D3)](){const l=this.$.$$,c=this.constructor;if(l.o)return;const u=c[kn];if(u)for(const d of this.attributes){let h=u.get(d.name);h&&h.B&&l.i[h.C].set(h.B(this.getAttribute(d.name)))}l.w(),l.x(this),this[ts]=2,this.connectedCallback()}subscribe(l){return this.$.subscribe(l)}destroy(){this.disconnectedCallback(),this.$.destroy()}};o[n]=null;let r=o;return C5(r,e),r}function C5(t,e){const n=t.prototype,s=e.prototype;if(e.props)for(const i of Object.keys(e.props))Object.defineProperty(n,i,{enumerable:!0,configurable:!0,get(){return this.$props[i]()},set(r){this.$props[i].set(r)}});if(s[ai])for(const i of s[ai])Object.defineProperty(n,i,{enumerable:!0,configurable:!0,get(){return this.$[i]},set(r){this.$[i]=r}});if(s[li])for(const i of s[li])n[i]=function(...r){return this.$[i](...r)}}function w5(){if(this[ts]!==0)return;this[ts]=1;const t=E5(this),e=t&&window.customElements.get(t.localName),n=t&&t[ts]===2;if(t&&(!e||!n)){k5.call(this,t);return}V3.call(this,t)}async function k5(t){await window.customElements.whenDefined(t.localName),t[ts]!==2&&await new Promise(e=>(t[Zn]??(t[Zn]=[])).push(e)),V3.call(this,t)}function V3(t){if(this.isConnected){if(t){t.keepAlive&&t.forwardKeepAlive&&(this.keepAlive=!0,this.setAttribute("keep-alive",""));const e=this.$.$$.d;e&&t.$.$$.f.append(e)}this[D3]()}}function E5(t){let e=t.parentNode,n=t.localName.split("-",1)[0]+"-";for(;e;){if(e.nodeType===1&&e.localName.startsWith(n))return e;e=e.parentNode}return null}function $l(t,e=!1){(e||!window.customElements.get(t.tagName))&&window.customElements.define(t.tagName,t)}var ty=' ',ny=' ',sy=' ',iy='',ry='',oy='',ay=' ',ly='',cy='',uy=' ',dy='',fy=' ',hy=' ',py='',my='',gy=' ',vy=' ',yy='',by=' ',Cy=' ',wy=' ',ky=' ',Ey=' ',Ty='',Sy=' ',$y='',_y=' ',Ly=' ',xy='',Ay=' ',Py=' ';const N3=J4();function _l(){return A3(N3)}function Oy(){return _l().$state}const T5=(navigator==null?void 0:navigator.userAgent.toLowerCase())||"",j3=/iphone|ipad|ipod|ios|crios|fxios/i.test(T5),F3=/(iphone|ipod)/gi.test((navigator==null?void 0:navigator.platform)||""),S5=!!window.chrome,Iy=!!window.safari||j3;function q3(){return $5()&&sn(screen.orientation.unlock)}function $5(){return!zt(window.screen.orientation)&&!zt(window.screen.orientation.lock)}function _5(t,e){return t||(t=document.createElement("audio")),t.canPlayType(e).length>0}function L5(t,e){return t||(t=document.createElement("video")),t.canPlayType(e).length>0}function x5(t){return t||(t=document.createElement("video")),t.canPlayType("application/vnd.apple.mpegurl").length>0}function My(t){return!!document.pictureInPictureEnabled&&!(t!=null&&t.disablePictureInPicture)}function Ry(t){return sn(t==null?void 0:t.webkitSupportsPresentationMode)&&sn(t==null?void 0:t.webkitSetPresentationMode)}async function A5(){const t=document.createElement("video");return t.volume=.5,await a5(0),t.volume===.5}function P5(){return(window==null?void 0:window.ManagedMediaSource)??(window==null?void 0:window.MediaSource)??(window==null?void 0:window.WebKitMediaSource)}function O5(){return(window==null?void 0:window.SourceBuffer)??(window==null?void 0:window.WebKitSourceBuffer)}function Ll(){const t=P5();if(zt(t))return!1;const e=t&&sn(t.isTypeSupported)&&t.isTypeSupported('video/mp4; codecs="avc1.42E01E,mp4a.40.2"'),n=O5(),s=zt(n)||!zt(n.prototype)&&sn(n.prototype.appendBuffer)&&sn(n.prototype.remove);return!!e&&!!s}function I5(){return Ll()}const M5=/\.(m4a|m4b|mp4a|mpga|mp2|mp2a|mp3|m2a|m3a|wav|weba|aac|oga|spx|flac)($|\?)/i,R5=new Set(["audio/mpeg","audio/ogg","audio/3gp","audio/mp3","audio/webm","audio/flac"]),D5=/\.(mp4|og[gv]|webm|mov|m4v)(#t=[,\d+]+)?($|\?)/i,H5=new Set(["video/mp4","video/webm","video/3gp","video/ogg","video/avi","video/mpeg"]),V5=/\.(m3u8)($|\?)/i,N5=/\.(mpd)($|\?)/i,j5=new Set(["application/vnd.apple.mpegurl","audio/mpegurl","audio/x-mpegurl","application/x-mpegurl","video/x-mpegurl","video/mpegurl","application/mpegurl"]),F5=new Set(["application/dash+xml"]);function xl({src:t,type:e}){return pe(t)?M5.test(t)||R5.has(e)||t.startsWith("blob:")&&e==="audio/object":e==="audio/object"}function Al(t){return pe(t.src)?D5.test(t.src)||H5.has(t.type)||t.src.startsWith("blob:")&&t.type==="video/object"||Bi(t)&&x5():t.type==="video/object"}function Bi({src:t,type:e}){return pe(t)&&V5.test(t)||j5.has(e)}function Pl({src:t,type:e}){return pe(t)&&N5.test(t)||F5.has(e)}function q5(t){return pe(t.src)&&(xl(t)||Al(t)||Bi(t))}function Dy(t){return typeof window.MediaStream<"u"&&t instanceof window.MediaStream}class pr{get length(){return this.ta.length}constructor(e,n){jt(e)?this.ta=e:!zt(e)&&!zt(n)?this.ta=[[e,n]]:this.ta=[]}start(e){return this.ta[e][0]??1/0}end(e){return this.ta[e][1]??1/0}}function Su(t){if(!t.length)return null;let e=t.start(0);for(let n=1;ne&&(e=s)}return e}function B5(t){if(t.length<=1)return t;t.sort((s,i)=>s[0]-i[0]);let e=[],n=t[0];for(let s=1;s=i[0]-1?n=[n[0],Math.max(n[1],i[1])]:(e.push(n),n=i)}return e.push(n),e}function z5(t,e,n){let s=e[0],i=e[1];return ns&&(e[1]=n,i===-1&&t.push(e)),B5(t),e)}function Hy(t,e){const n=new URLSearchParams;for(const s of Object.keys(e))n.set(s,e[s]+"");return t+"?"+n.toString()}function so(t,e="preconnect"){const n=document.querySelector(`link[href="${t}"]`);if(!kl(n))return!0;const s=document.createElement("link");return s.rel=e,s.href=t,s.crossOrigin="true",document.head.append(s),!0}const ir={};function Vy(t){if(ir[t])return ir[t].promise;const e=fa(),n=document.querySelector(`script[src="${t}"]`);if(!kl(n))return e.resolve(),e.promise;const s=document.createElement("script");return s.src=t,s.onload=()=>{e.resolve(),delete ir[t]},s.onerror=()=>{e.reject(),delete ir[t]},setTimeout(()=>document.head.append(s),0),e.promise}function mr(t){return t==="use-credentials"?"include":pe(t)?"same-origin":void 0}function Ny({title:t,src:e,download:n}){const s=gu(n)||n===""?e.src:pe(n)?n:n==null?void 0:n.url;return W5({url:s,src:e,download:n})?{url:s,name:!gu(n)&&!pe(n)&&(n==null?void 0:n.filename)||t.toLowerCase()||"media"}:null}function W5({url:t,src:e,download:n}){return pe(t)&&(n&&n!==!0||xl(e)||Al(e))}function $u(t,e){return e>=t.startTime&&eo.includes(l.kind)&&l.mode==="showing");if(a!==s){if(!a){n(null),s=null;return}a.readyState==2?n(a):(n(null),xt(()=>{const l=ce(a,"load",()=>{n(a),l()},{once:!0})},i)),s=a}}return r(),ce(t,"mode-change",r)}function jy(t,e,n){G5(t,e,s=>{if(!s){n("");return}const i=()=>{const r=s==null?void 0:s.activeCues[0];n((r==null?void 0:r.text)||"")};i(),ce(s,"cue-change",i)})}const U5=Symbol(0),K5=Symbol(0),Z5=Symbol(0),Q5=Symbol(0),Y5=Symbol(0),X5=Symbol(0),J5=Symbol(0),fe={Db:U5,ma:K5,Eb:Z5,Z:Q5,hb:Y5,_:X5,Mf:J5};var _u,Lu,xu;class _r extends _3{constructor(e){super(),this.id="",this.label="",this.language="",this.default=!1,this.Z=!1,this.ua=0,this.U="disabled",this.Nf={},this.$c=[],this.B=[],this.Fb=[],this[xu]=0,this[Lu]=null,this[_u]=null;for(const n of Object.keys(e))this[n]=e[n];this.type||(this.type="vtt"),e.content?this._h(e):e.src||(this[fe.ma]=2)}static createId(e){return`vds-${e.type}-${e.kind}-${e.src??e.label??"?"}`}get metadata(){return this.Nf}get regions(){return this.$c}get cues(){return this.B}get activeCues(){return this.Fb}get readyState(){return this[fe.ma]}get mode(){return this.U}set mode(e){this.setMode(e)}addCue(e,n){var r;let s=0,i=this.B.length;for(s=0;s=0){const r=this.Fb.includes(e);this.B.splice(s,1),(i=this[fe._])==null||i.track.removeCue(e),this.dispatchEvent(new Ae("remove-cue",{detail:e,trigger:n})),r&&this[fe.Eb](this.ua,n)}}setMode(e,n){var s;this.U!==e&&(this.U=e,e==="disabled"?(this.Fb=[],this.Of()):this.readyState===2?this[fe.Eb](this.ua,n):this.Pf(),this.dispatchEvent(new Ae("mode-change",{detail:this,trigger:n})),(s=this[fe.hb])==null||s.call(this))}[(xu=fe.ma,Lu=fe.hb,_u=fe._,fe.Eb)](e,n){if(this.ua=e,this.mode==="disabled"||!this.B.length)return;const s=[];for(let r=0,o=this.B.length;r{const{parseText:n,VTTCue:s,VTTRegion:i}=await import("./prod-htmGlEAu.js").then(r=>r.d);return{parseText:n,VTTCue:s,VTTRegion:i}},[]).then(({parseText:n,VTTCue:s,VTTRegion:i})=>{!pe(e.content)||e.type==="json"?(this.Qf(e.content,s,i),this.readyState!==3&&this.Ga()):n(e.content,{type:e.type}).then(({cues:r,regions:o})=>{this.B=r,this.$c=o,this.Ga()})})}async Pf(){var e,n;if(!(!this.Z||this[fe.ma]>0)){if(this[fe.ma]=1,this.dispatchEvent(new Ae("load-start")),!this.src){this.Ga();return}try{const{parseResponse:s,VTTCue:i,VTTRegion:r}=await ne(async()=>{const{parseResponse:l,VTTCue:c,VTTRegion:u}=await import("./prod-htmGlEAu.js").then(d=>d.d);return{parseResponse:l,VTTCue:c,VTTRegion:u}},[]),o=(e=this[fe.Db])==null?void 0:e.call(this),a=fetch(this.src,{headers:this.type==="json"?{"Content-Type":"application/json"}:void 0,credentials:mr(o)});if(this.type==="json")this.Qf(await(await a).text(),i,r);else{const{errors:l,metadata:c,regions:u,cues:d}=await s(a,{type:this.type,encoding:this.encoding});if(((n=l[0])==null?void 0:n.code)===0)throw l[0];this.Nf=c,this.$c=u,this.B=d}this.Ga()}catch(s){this.Rf(s)}}}Ga(){if(this[fe.ma]=2,!this.src||this.type!=="vtt"){const n=this[fe._];if(n&&!n.managed)for(const s of this.B)n.track.addCue(s)}const e=new Ae("load");this[fe.Eb](this.ua,e),this.dispatchEvent(e)}Rf(e){this[fe.ma]=3,this.dispatchEvent(new Ae("error",{detail:e}))}Qf(e,n,s){try{const{regions:i,cues:r}=t7(e,n,s);this.$c=i,this.B=r}catch(i){this.Rf(i)}}Of(e){this.dispatchEvent(new Ae("cue-change",{trigger:e}))}}const e7=/captions|subtitles/;function Ft(t){return e7.test(t.kind)}function t7(t,e,n){const s=pe(t)?JSON.parse(t):t;let i=[],r=[];return s.regions&&n&&(i=s.regions.map(o=>Object.assign(new n,o))),(s.cues||jt(s))&&(r=(jt(s)?s:s.cues).filter(o=>Ei(o.startTime)&&Ei(o.endTime)).map(o=>Object.assign(new e(0,0,""),o))),{regions:i,cues:r}}const n7=Symbol(0),s7=Symbol(0),i7=Symbol(0),r7=Symbol(0),o7=Symbol(0),a7=Symbol(0),l7=Symbol(0),c7=Symbol(0),u7=Symbol(0),be={da:n7,cc:s7,z:i7,ea:r7,Yc:o7,Od:a7,Gf:l7,Hf:c7,If:u7},d7=Symbol(0),f7=Symbol(0),Xt={Wa:d7,Ia:f7};function Io(t){return t instanceof Error?t:Error(typeof t=="string"?t:JSON.stringify(t))}function Fy(t,e){if(!t)throw Error("Assertion failed.")}const Lr=Math.min,ns=Math.max,xr=Math.round,rr=Math.floor,Rn=t=>({x:t,y:t}),h7={left:"right",right:"left",bottom:"top",top:"bottom"},p7={start:"end",end:"start"};function Au(t,e,n){return ns(t,Lr(e,n))}function Ol(t,e){return typeof t=="function"?t(e):t}function Ds(t){return t.split("-")[0]}function Il(t){return t.split("-")[1]}function B3(t){return t==="x"?"y":"x"}function z3(t){return t==="y"?"height":"width"}function Ti(t){return["top","bottom"].includes(Ds(t))?"y":"x"}function W3(t){return B3(Ti(t))}function m7(t,e,n){n===void 0&&(n=!1);const s=Il(t),i=W3(t),r=z3(i);let o=i==="x"?s===(n?"end":"start")?"right":"left":s==="start"?"bottom":"top";return e.reference[r]>e.floating[r]&&(o=Ar(o)),[o,Ar(o)]}function g7(t){const e=Ar(t);return[ha(t),e,ha(e)]}function ha(t){return t.replace(/start|end/g,e=>p7[e])}function v7(t,e,n){const s=["left","right"],i=["right","left"],r=["top","bottom"],o=["bottom","top"];switch(t){case"top":case"bottom":return n?e?i:s:e?s:i;case"left":case"right":return e?r:o;default:return[]}}function y7(t,e,n,s){const i=Il(t);let r=v7(Ds(t),n==="start",s);return i&&(r=r.map(o=>o+"-"+i),e&&(r=r.concat(r.map(ha)))),r}function Ar(t){return t.replace(/left|right|bottom|top/g,e=>h7[e])}function b7(t){return{top:0,right:0,bottom:0,left:0,...t}}function C7(t){return typeof t!="number"?b7(t):{top:t,right:t,bottom:t,left:t}}function Pr(t){const{x:e,y:n,width:s,height:i}=t;return{width:s,height:i,top:n,left:e,right:e+s,bottom:n+i,x:e,y:n}}function Pu(t,e,n){let{reference:s,floating:i}=t;const r=Ti(e),o=W3(e),a=z3(o),l=Ds(e),c=r==="y",u=s.x+s.width/2-i.width/2,d=s.y+s.height/2-i.height/2,h=s[a]/2-i[a]/2;let p;switch(l){case"top":p={x:u,y:s.y-i.height};break;case"bottom":p={x:u,y:s.y+s.height};break;case"right":p={x:s.x+s.width,y:d};break;case"left":p={x:s.x-i.width,y:d};break;default:p={x:s.x,y:s.y}}switch(Il(e)){case"start":p[o]-=h*(n&&c?-1:1);break;case"end":p[o]+=h*(n&&c?-1:1);break}return p}const w7=async(t,e,n)=>{const{placement:s="bottom",strategy:i="absolute",middleware:r=[],platform:o}=n,a=r.filter(Boolean),l=await(o.isRTL==null?void 0:o.isRTL(e));let c=await o.getElementRects({reference:t,floating:e,strategy:i}),{x:u,y:d}=Pu(c,s,l),h=s,p={},m=0;for(let v=0;vJ<=0)){var N,I;const J=(((N=r.flip)==null?void 0:N.index)||0)+1,ae=A[J];if(ae)return{data:{index:J,overflows:L},reset:{placement:ae}};let q=(I=L.filter(j=>j.overflows[0]<=0).sort((j,V)=>j.overflows[1]-V.overflows[1])[0])==null?void 0:I.placement;if(!q)switch(p){case"bestFit":{var Z;const j=(Z=L.filter(V=>{if(P){const ue=Ti(V.placement);return ue===k||ue==="y"}return!0}).map(V=>[V.placement,V.overflows.filter(ue=>ue>0).reduce((ue,Re)=>ue+Re,0)]).sort((V,ue)=>V[1]-ue[1])[0])==null?void 0:Z[0];j&&(q=j);break}case"initialPlacement":q=a;break}if(i!==q)return{reset:{placement:q}}}return{}}}},E7=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){const{x:n,y:s,placement:i}=e,{mainAxis:r=!0,crossAxis:o=!1,limiter:a={fn:w=>{let{x:C,y:k}=w;return{x:C,y:k}}},...l}=Ol(t,e),c={x:n,y:s},u=await G3(e,l),d=Ti(Ds(i)),h=B3(d);let p=c[h],m=c[d];if(r){const w=h==="y"?"top":"left",C=h==="y"?"bottom":"right",k=p+u[w],y=p-u[C];p=Au(k,p,y)}if(o){const w=d==="y"?"top":"left",C=d==="y"?"bottom":"right",k=m+u[w],y=m-u[C];m=Au(k,m,y)}const v=a.fn({...e,[h]:p,[d]:m});return{...v,data:{x:v.x-n,y:v.y-s}}}}};function zs(t){return U3(t)?(t.nodeName||"").toLowerCase():"#document"}function Ct(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function vn(t){var e;return(e=(U3(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function U3(t){return t instanceof Node||t instanceof Ct(t).Node}function Ut(t){return t instanceof Element||t instanceof Ct(t).Element}function on(t){return t instanceof HTMLElement||t instanceof Ct(t).HTMLElement}function Ou(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof Ct(t).ShadowRoot}function zi(t){const{overflow:e,overflowX:n,overflowY:s,display:i}=Kt(t);return/auto|scroll|overlay|hidden|clip/.test(e+s+n)&&!["inline","contents"].includes(i)}function T7(t){return["table","td","th"].includes(zs(t))}function io(t){return[":popover-open",":modal"].some(e=>{try{return t.matches(e)}catch{return!1}})}function Ml(t){const e=Rl(),n=Ut(t)?Kt(t):t;return n.transform!=="none"||n.perspective!=="none"||(n.containerType?n.containerType!=="normal":!1)||!e&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!e&&(n.filter?n.filter!=="none":!1)||["transform","perspective","filter"].some(s=>(n.willChange||"").includes(s))||["paint","layout","strict","content"].some(s=>(n.contain||"").includes(s))}function S7(t){let e=Dn(t);for(;on(e)&&!Hs(e);){if(Ml(e))return e;if(io(e))return null;e=Dn(e)}return null}function Rl(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Hs(t){return["html","body","#document"].includes(zs(t))}function Kt(t){return Ct(t).getComputedStyle(t)}function ro(t){return Ut(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function Dn(t){if(zs(t)==="html")return t;const e=t.assignedSlot||t.parentNode||Ou(t)&&t.host||vn(t);return Ou(e)?e.host:e}function K3(t){const e=Dn(t);return Hs(e)?t.ownerDocument?t.ownerDocument.body:t.body:on(e)&&zi(e)?e:K3(e)}function Si(t,e,n){var s;e===void 0&&(e=[]),n===void 0&&(n=!0);const i=K3(t),r=i===((s=t.ownerDocument)==null?void 0:s.body),o=Ct(i);return r?e.concat(o,o.visualViewport||[],zi(i)?i:[],o.frameElement&&n?Si(o.frameElement):[]):e.concat(i,Si(i,[],n))}function Z3(t){const e=Kt(t);let n=parseFloat(e.width)||0,s=parseFloat(e.height)||0;const i=on(t),r=i?t.offsetWidth:n,o=i?t.offsetHeight:s,a=xr(n)!==r||xr(s)!==o;return a&&(n=r,s=o),{width:n,height:s,$:a}}function Dl(t){return Ut(t)?t:t.contextElement}function Ss(t){const e=Dl(t);if(!on(e))return Rn(1);const n=e.getBoundingClientRect(),{width:s,height:i,$:r}=Z3(e);let o=(r?xr(n.width):n.width)/s,a=(r?xr(n.height):n.height)/i;return(!o||!Number.isFinite(o))&&(o=1),(!a||!Number.isFinite(a))&&(a=1),{x:o,y:a}}const $7=Rn(0);function Q3(t){const e=Ct(t);return!Rl()||!e.visualViewport?$7:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function _7(t,e,n){return e===void 0&&(e=!1),!n||e&&n!==Ct(t)?!1:e}function rs(t,e,n,s){e===void 0&&(e=!1),n===void 0&&(n=!1);const i=t.getBoundingClientRect(),r=Dl(t);let o=Rn(1);e&&(s?Ut(s)&&(o=Ss(s)):o=Ss(t));const a=_7(r,n,s)?Q3(r):Rn(0);let l=(i.left+a.x)/o.x,c=(i.top+a.y)/o.y,u=i.width/o.x,d=i.height/o.y;if(r){const h=Ct(r),p=s&&Ut(s)?Ct(s):s;let m=h,v=m.frameElement;for(;v&&s&&p!==m;){const w=Ss(v),C=v.getBoundingClientRect(),k=Kt(v),y=C.left+(v.clientLeft+parseFloat(k.paddingLeft))*w.x,E=C.top+(v.clientTop+parseFloat(k.paddingTop))*w.y;l*=w.x,c*=w.y,u*=w.x,d*=w.y,l+=y,c+=E,m=Ct(v),v=m.frameElement}}return Pr({width:u,height:d,x:l,y:c})}function L7(t){let{elements:e,rect:n,offsetParent:s,strategy:i}=t;const r=i==="fixed",o=vn(s),a=e?io(e.floating):!1;if(s===o||a&&r)return n;let l={scrollLeft:0,scrollTop:0},c=Rn(1);const u=Rn(0),d=on(s);if((d||!d&&!r)&&((zs(s)!=="body"||zi(o))&&(l=ro(s)),on(s))){const h=rs(s);c=Ss(s),u.x=h.x+s.clientLeft,u.y=h.y+s.clientTop}return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-l.scrollLeft*c.x+u.x,y:n.y*c.y-l.scrollTop*c.y+u.y}}function x7(t){return Array.from(t.getClientRects())}function Y3(t){return rs(vn(t)).left+ro(t).scrollLeft}function A7(t){const e=vn(t),n=ro(t),s=t.ownerDocument.body,i=ns(e.scrollWidth,e.clientWidth,s.scrollWidth,s.clientWidth),r=ns(e.scrollHeight,e.clientHeight,s.scrollHeight,s.clientHeight);let o=-n.scrollLeft+Y3(t);const a=-n.scrollTop;return Kt(s).direction==="rtl"&&(o+=ns(e.clientWidth,s.clientWidth)-i),{width:i,height:r,x:o,y:a}}function P7(t,e){const n=Ct(t),s=vn(t),i=n.visualViewport;let r=s.clientWidth,o=s.clientHeight,a=0,l=0;if(i){r=i.width,o=i.height;const c=Rl();(!c||c&&e==="fixed")&&(a=i.offsetLeft,l=i.offsetTop)}return{width:r,height:o,x:a,y:l}}function O7(t,e){const n=rs(t,!0,e==="fixed"),s=n.top+t.clientTop,i=n.left+t.clientLeft,r=on(t)?Ss(t):Rn(1),o=t.clientWidth*r.x,a=t.clientHeight*r.y,l=i*r.x,c=s*r.y;return{width:o,height:a,x:l,y:c}}function Iu(t,e,n){let s;if(e==="viewport")s=P7(t,n);else if(e==="document")s=A7(vn(t));else if(Ut(e))s=O7(e,n);else{const i=Q3(t);s={...e,x:e.x-i.x,y:e.y-i.y}}return Pr(s)}function X3(t,e){const n=Dn(t);return n===e||!Ut(n)||Hs(n)?!1:Kt(n).position==="fixed"||X3(n,e)}function I7(t,e){const n=e.get(t);if(n)return n;let s=Si(t,[],!1).filter(a=>Ut(a)&&zs(a)!=="body"),i=null;const r=Kt(t).position==="fixed";let o=r?Dn(t):t;for(;Ut(o)&&!Hs(o);){const a=Kt(o),l=Ml(o);!l&&a.position==="fixed"&&(i=null),(r?!l&&!i:!l&&a.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||zi(o)&&!l&&X3(t,o))?s=s.filter(u=>u!==o):i=a,o=Dn(o)}return e.set(t,s),s}function M7(t){let{element:e,boundary:n,rootBoundary:s,strategy:i}=t;const o=[...n==="clippingAncestors"?io(e)?[]:I7(e,this._c):[].concat(n),s],a=o[0],l=o.reduce((c,u)=>{const d=Iu(e,u,i);return c.top=ns(d.top,c.top),c.right=Lr(d.right,c.right),c.bottom=Lr(d.bottom,c.bottom),c.left=ns(d.left,c.left),c},Iu(e,a,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function R7(t){const{width:e,height:n}=Z3(t);return{width:e,height:n}}function D7(t,e,n){const s=on(e),i=vn(e),r=n==="fixed",o=rs(t,!0,r,e);let a={scrollLeft:0,scrollTop:0};const l=Rn(0);if(s||!s&&!r)if((zs(e)!=="body"||zi(i))&&(a=ro(e)),s){const d=rs(e,!0,r,e);l.x=d.x+e.clientLeft,l.y=d.y+e.clientTop}else i&&(l.x=Y3(i));const c=o.left+a.scrollLeft-l.x,u=o.top+a.scrollTop-l.y;return{x:c,y:u,width:o.width,height:o.height}}function Mo(t){return Kt(t).position==="static"}function Mu(t,e){return!on(t)||Kt(t).position==="fixed"?null:e?e(t):t.offsetParent}function J3(t,e){const n=Ct(t);if(io(t))return n;if(!on(t)){let i=Dn(t);for(;i&&!Hs(i);){if(Ut(i)&&!Mo(i))return i;i=Dn(i)}return n}let s=Mu(t,e);for(;s&&T7(s)&&Mo(s);)s=Mu(s,e);return s&&Hs(s)&&Mo(s)&&!Ml(s)?n:s||S7(t)||n}const H7=async function(t){const e=this.getOffsetParent||J3,n=this.getDimensions,s=await n(t.floating);return{reference:D7(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:s.width,height:s.height}}};function V7(t){return Kt(t).direction==="rtl"}const N7={convertOffsetParentRelativeRectToViewportRelativeRect:L7,getDocumentElement:vn,getClippingRect:M7,getOffsetParent:J3,getElementRects:H7,getClientRects:x7,getDimensions:R7,getScale:Ss,isElement:Ut,isRTL:V7};function j7(t,e){let n=null,s;const i=vn(t);function r(){var a;clearTimeout(s),(a=n)==null||a.disconnect(),n=null}function o(a,l){a===void 0&&(a=!1),l===void 0&&(l=1),r();const{left:c,top:u,width:d,height:h}=t.getBoundingClientRect();if(a||e(),!d||!h)return;const p=rr(u),m=rr(i.clientWidth-(c+d)),v=rr(i.clientHeight-(u+h)),w=rr(c),k={rootMargin:-p+"px "+-m+"px "+-v+"px "+-w+"px",threshold:ns(0,Lr(1,l))||1};let y=!0;function E(x){const P=x[0].intersectionRatio;if(P!==l){if(!y)return o();P?o(!1,P):s=setTimeout(()=>{o(!1,1e-7)},1e3)}y=!1}try{n=new IntersectionObserver(E,{...k,root:i.ownerDocument})}catch{n=new IntersectionObserver(E,k)}n.observe(t)}return o(!0),r}function F7(t,e,n,s){s===void 0&&(s={});const{ancestorScroll:i=!0,ancestorResize:r=!0,elementResize:o=typeof ResizeObserver=="function",layoutShift:a=typeof IntersectionObserver=="function",animationFrame:l=!1}=s,c=Dl(t),u=i||r?[...c?Si(c):[],...Si(e)]:[];u.forEach(C=>{i&&C.addEventListener("scroll",n,{passive:!0}),r&&C.addEventListener("resize",n)});const d=c&&a?j7(c,n):null;let h=-1,p=null;o&&(p=new ResizeObserver(C=>{let[k]=C;k&&k.target===c&&p&&(p.unobserve(e),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var y;(y=p)==null||y.observe(e)})),n()}),c&&!l&&p.observe(c),p.observe(e));let m,v=l?rs(t):null;l&&w();function w(){const C=rs(t);v&&(C.x!==v.x||C.y!==v.y||C.width!==v.width||C.height!==v.height)&&n(),v=C,m=requestAnimationFrame(w)}return n(),()=>{var C;u.forEach(k=>{i&&k.removeEventListener("scroll",n),r&&k.removeEventListener("resize",n)}),d==null||d(),(C=p)==null||C.disconnect(),p=null,l&&cancelAnimationFrame(m)}}const q7=E7,B7=k7,z7=(t,e,n)=>{const s=new Map,i={platform:N7,...n},r={...i.platform,_c:s};return w7(t,e,{...i,platform:r})};function qy(t,e,n){if(t)return ce(t,e,n)}function By(t,e){const n=e.composedPath()[0];return Q4(n)&&t.contains(n)}const pa=new Set;{let t=function(){for(const e of pa)try{e()}catch{}window.requestAnimationFrame(t)};t()}function W7(t){return pa.add(t),()=>pa.delete(t)}function Ru(t,e,n){t.hasAttribute(e)||t.setAttribute(e,n)}function zy(t,e){if(t.hasAttribute("aria-label")||t.hasAttribute("data-no-label"))return;if(!sn(e)){Ve(t,"aria-label",e);return}function n(){Ve(t,"aria-label",e())}te(n)}function G7(t){const e=getComputedStyle(t);return e.display!=="none"&&parseInt(e.opacity)>0}function U7(t){return!!t&&("checkVisibility"in t?t.checkVisibility({checkOpacity:!0,checkVisibilityCSS:!0}):G7(t))}function Wy(t,e){return W7(()=>e(U7(t)))}function Gy(t,e,n){for(;e;){if(e===t)return!0;if(n!=null&&n(e))break;e=e.parentElement}return!1}function Uy(t,e){ce(t,"pointerup",n=>{n.button===0&&!n.defaultPrevented&&e(n)}),ce(t,"keydown",n=>{L3(n)&&e(n)})}function K7(t){return Z4(t)&&(t.touches.length>1||t.changedTouches.length>1)}function Ky(t){let e=to(),n=window.requestAnimationFrame(()=>{xt(t,e),n=-1});return()=>void window.cancelAnimationFrame(n)}function Zy(t,e,n){let s,i=t,r=t.parentElement,o=t.content.firstElementChild,a=[];!o&&t.firstElementChild&&(t.innerHTML=t.firstElementChild.outerHTML,t.firstElementChild.remove(),o=t.content.firstElementChild);for(let l=0;l{for(let l=0;ln.includes("left")?`calc(-1 * ${d})`:d,u=d=>l?`calc(-1 * ${d})`:d;return F7(e,t,()=>{z7(e,t,{placement:a,middleware:[...o.middleware??[],B7({fallbackAxisSideDirection:"start",crossAxis:!1}),q7()],...o}).then(({x:d,y:h,middlewareData:p})=>{var v;const m=!!((v=p.flip)!=null&&v.index);l=n.includes(m?"bottom":"top"),t.setAttribute("data-placement",m?n.startsWith("top")?n.replace("top","bottom"):n.replace("bottom","top"):n),Object.assign(t.style,{top:`calc(${h+"px"} + ${u(r?r+"px":`var(--${s}-y-offset, 0px)`)})`,left:`calc(${d+"px"} + ${c(i?i+"px":`var(--${s}-x-offset, 0px)`)})`})})})}function Jy(t){return getComputedStyle(t).animationName!=="none"}function eb(t){const e=document.createElement("slot");return e.name=t,e}function tb(t){const e=Ge(!1);return te(()=>{const n=t();n&&(ce(n,"transitionstart",()=>e.set(!0)),ce(n,"transitionend",()=>e.set(!1)))}),e}function nb(t,e){function n(){const s=t();if(!s)return;e();const i=new ResizeObserver(Sl(e));return i.observe(s),()=>i.disconnect()}te(n)}function sb(t){const e=Z7(t),n=Q7(t);let s=!1;return Rs(()=>{const i=e();return s&&!i?!1:(s=i,i||n())})}function Z7(t){const e=Ge(!1);return te(()=>{const n=t();if(!n){e.set(!1);return}ce(n,"mouseenter",()=>e.set(!0)),ce(n,"mouseleave",()=>e.set(!1))}),e}function Q7(t){const e=Ge(!1);return te(()=>{const n=t();if(!n){e.set(!1);return}ce(n,"focusin",()=>e.set(!0)),ce(n,"focusout",()=>e.set(!1))}),e}function e2(t){return t instanceof HTMLElement}function Y7(){const t=Ge("dark"),e=window.matchMedia("(prefers-color-scheme: light)");function n(){t.set(e.matches?"light":"dark")}return n(),ce(e,"change",n),t}function ib(t,e){te(()=>{const s=e();if(s==="system"){const i=Y7();te(()=>n(i()));return}n(s)});function n(s){yu(t,"light",s==="light"),yu(t,"dark",s==="dark")}}function rb(t,e=2){return Number(t.toFixed(e))}function ob(t){var e;return((e=String(t).split(".")[1])==null?void 0:e.length)??0}function X7(t,e,n){return Math.max(t,Math.min(n,e))}let ma=Ge(!1);ce(document,"pointerdown",()=>{ma.set(!1)}),ce(document,"keydown",t=>{t.metaKey||t.altKey||t.ctrlKey||ma.set(!0)});class J7 extends qi{constructor(){super(...arguments),this.Dc=Ge(!1)}onConnect(e){te(()=>{if(!ma()){this.Dc.set(!1),or(e,!1),this.listen("pointerenter",this.Oe.bind(this)),this.listen("pointerleave",this.Pe.bind(this));return}const n=document.activeElement===e;this.Dc.set(n),or(e,n),this.listen("focus",this.Ec.bind(this)),this.listen("blur",this.qk.bind(this))})}focused(){return this.Dc()}Ec(){this.Dc.set(!0),or(this.el,!0)}qk(){this.Dc.set(!1),or(this.el,!1)}Oe(){Du(this.el,!0)}Pe(){Du(this.el,!1)}}function or(t,e){Ve(t,"data-focus",e),Ve(t,"data-hocus",e)}function Du(t,e){Ve(t,"data-hocus",e),Ve(t,"data-hover",e)}var Hu;class t2 extends _3{constructor(){super(...arguments),this.A=[],this[Hu]=!1}get length(){return this.A.length}get readonly(){return this[be.Yc]}indexOf(e){return this.A.indexOf(e)}getById(e){return e===""?null:this.A.find(n=>n.id===e)??null}toArray(){return[...this.A]}[(Hu=be.Yc,Symbol.iterator)](){return this.A.values()}[be.da](e,n){const s=this.A.length;""+s in this||Object.defineProperty(this,s,{get(){return this.A[s]}}),!this.A.includes(e)&&(this.A.push(e),this.dispatchEvent(new Ae("add",{detail:e,trigger:n})))}[be.cc](e,n){var i;const s=this.A.indexOf(e);s>=0&&((i=this[be.Hf])==null||i.call(this,e,n),this.A.splice(s,1),this.dispatchEvent(new Ae("remove",{detail:e,trigger:n})))}[be.z](e){var n;for(const s of[...this.A])this[be.cc](s,e);this.A=[],this[be.Od](!1,e),(n=this[be.Gf])==null||n.call(this)}[be.Od](e,n){this[be.Yc]!==e&&(this[be.Yc]=e,this.dispatchEvent(new Ae("readonly-change",{detail:e,trigger:n})))}}const ga=xn.fullscreenEnabled;class e9 extends qi{constructor(){super(...arguments),this.dc=!1,this.Pd=!1}get active(){return this.Pd}get supported(){return ga}onConnect(){ce(xn,"fullscreenchange",this.E.bind(this)),ce(xn,"fullscreenerror",this.Q.bind(this)),tt(this.Fa.bind(this))}async Fa(){ga&&await this.exit()}E(e){const n=Ro(this.el);n!==this.Pd&&(n||(this.dc=!1),this.Pd=n,this.dispatch("fullscreen-change",{detail:n,trigger:e}))}Q(e){this.dc&&(this.dispatch("fullscreen-error",{detail:null,trigger:e}),this.dc=!1)}async enter(){try{return this.dc=!0,!this.el||Ro(this.el)?void 0:(Vu(),xn.requestFullscreen(this.el))}catch(e){throw this.dc=!1,e}}async exit(){if(!(!this.el||!Ro(this.el)))return Vu(),xn.exitFullscreen()}}function Ro(t){if(xn.fullscreenElement===t)return!0;try{return t.matches(xn.fullscreenPseudoClass)}catch{return!1}}function Vu(){if(!ga)throw Error("[vidstack] no fullscreen API")}const Dr=class Dr extends qi{constructor(){super(...arguments),this.la=Ge(this.Jf()),this.Cb=Ge(!1)}get type(){return this.la()}get locked(){return this.Cb()}get portrait(){return this.la().startsWith("portrait")}get landscape(){return this.la().startsWith("landscape")}get supported(){return Dr.supported}onConnect(){if(this.supported)ce(screen.orientation,"change",this.Kf.bind(this));else{const e=window.matchMedia("(orientation: landscape)");e.onchange=this.Kf.bind(this),tt(()=>e.onchange=null)}tt(this.Fa.bind(this))}async Fa(){this.supported&&this.Cb()&&await this.unlock()}Kf(e){this.la.set(this.Jf()),this.dispatch("orientation-change",{detail:{orientation:se(this.la),lock:this._c},trigger:e})}async lock(e){se(this.Cb)||this._c===e||(this.Lf(),await screen.orientation.lock(e),this.Cb.set(!0),this._c=e)}async unlock(){se(this.Cb)&&(this.Lf(),this._c=void 0,await screen.orientation.unlock(),this.Cb.set(!1))}Lf(){if(!this.supported)throw Error("[vidstack] no orientation API")}Jf(){return this.supported?window.screen.orientation.type:window.innerWidth>=window.innerHeight?"landscape-primary":"portrait-primary"}};Dr.supported=q3();let Or=Dr;function va(t){return!pe(t)&&"width"in t&&"height"in t&&Ei(t.width)&&Ei(t.height)}const n2=new O3({artist:"",artwork:null,audioTrack:null,audioTracks:[],autoPlay:!1,autoPlayError:null,audioGain:null,buffered:new pr,canLoad:!1,canLoadPoster:!1,canFullscreen:!1,canOrientScreen:q3(),canPictureInPicture:!1,canPlay:!1,clipStartTime:0,clipEndTime:0,controls:!1,get iOSControls(){return F3&&this.mediaType==="video"&&(!this.playsInline||!xn.fullscreenEnabled&&this.fullscreen)},get nativeControls(){return this.controls||this.iOSControls},controlsVisible:!1,get controlsHidden(){return!this.controlsVisible},crossOrigin:null,ended:!1,error:null,fullscreen:!1,get loop(){return this.providedLoop||this.userPrefersLoop},logLevel:"silent",mediaType:"unknown",muted:!1,paused:!0,played:new pr,playing:!1,playsInline:!1,pictureInPicture:!1,preload:"metadata",playbackRate:1,qualities:[],quality:null,autoQuality:!1,canSetQuality:!0,canSetPlaybackRate:!0,canSetVolume:!1,canSetAudioGain:!1,seekable:new pr,seeking:!1,source:{src:"",type:""},sources:[],started:!1,textTracks:[],textTrack:null,get hasCaptions(){return this.textTracks.filter(Ft).length>0},volume:1,waiting:!1,realCurrentTime:0,get currentTime(){return this.ended?this.duration:this.clipStartTime>0?Math.max(0,Math.min(this.realCurrentTime-this.clipStartTime,this.duration)):this.realCurrentTime},providedDuration:-1,intrinsicDuration:0,get realDuration(){return this.providedDuration>0?this.providedDuration:this.intrinsicDuration},get duration(){return this.clipEndTime>0?this.clipEndTime-this.clipStartTime:Math.max(0,this.realDuration-this.clipStartTime)},get title(){return this.providedTitle||this.inferredTitle},get poster(){return this.providedPoster||this.inferredPoster},get viewType(){return this.providedViewType!=="unknown"?this.providedViewType:this.inferredViewType},get streamType(){return this.providedStreamType!=="unknown"?this.providedStreamType:this.inferredStreamType},get currentSrc(){return this.source},get bufferedStart(){const t=Su(this.buffered)??0;return Math.max(0,t-this.clipStartTime)},get bufferedEnd(){const t=ui(this.buffered)??0;return Math.min(this.duration,Math.max(0,t-this.clipStartTime))},get seekableStart(){const t=Su(this.seekable)??0;return Math.max(0,t-this.clipStartTime)},get seekableEnd(){const t=this.canPlay?ui(this.seekable)??1/0:0;return this.clipEndTime>0?Math.max(this.clipEndTime,Math.max(0,t-this.clipStartTime)):t},get seekableWindow(){return Math.max(0,this.seekableEnd-this.seekableStart)},canAirPlay:!1,canGoogleCast:!1,remotePlaybackState:"disconnected",remotePlaybackType:"none",remotePlaybackLoader:null,remotePlaybackInfo:null,get isAirPlayConnected(){return this.remotePlaybackType==="airplay"&&this.remotePlaybackState==="connected"},get isGoogleCastConnected(){return this.remotePlaybackType==="google-cast"&&this.remotePlaybackState==="connected"},pointer:"fine",orientation:"landscape",width:0,height:0,mediaWidth:0,mediaHeight:0,lastKeyboardAction:null,userBehindLiveEdge:!1,liveEdgeTolerance:10,minLiveDVRWindow:60,get canSeek(){return/unknown|on-demand|:dvr/.test(this.streamType)&&Number.isFinite(this.seekableWindow)&&(!this.live||/:dvr/.test(this.streamType)&&this.seekableWindow>=this.minLiveDVRWindow)},get live(){return this.streamType.includes("live")||!Number.isFinite(this.realDuration)},get liveEdgeStart(){return this.live&&Number.isFinite(this.seekableEnd)?Math.max(0,(this.liveSyncPosition??this.seekableEnd)-this.liveEdgeTolerance):0},get liveEdge(){return this.live&&(!this.canSeek||!this.userBehindLiveEdge&&this.currentTime>=this.liveEdgeStart)},get liveEdgeWindow(){return this.live&&Number.isFinite(this.seekableEnd)?this.seekableEnd-this.liveEdgeStart:0},autoPlaying:!1,providedTitle:"",inferredTitle:"",providedLoop:!1,userPrefersLoop:!1,providedPoster:"",inferredPoster:"",inferredViewType:"unknown",providedViewType:"unknown",providedStreamType:"unknown",inferredStreamType:"unknown",liveSyncPosition:null,savedState:null}),s2=new Set(["autoPlayError","autoPlaying","buffered","canPlay","error","paused","played","playing","seekable","seeking","waiting"]),t9=new Set([...s2,"ended","inferredPoster","inferredStreamType","inferredTitle","intrinsicDuration","liveSyncPosition","realCurrentTime","savedState","started","userBehindLiveEdge"]);function Nu(t,e=!1){const n=e?s2:t9;n2.reset(t,s=>n.has(s)),ki()}class n9{constructor(e=void 0){this.bc=e,this.G=null,this.f=null,this.Rd=-1}setTarget(e){this.G=e}getPlayer(e){var n;return this.f?this.f:((n=e??this.G)==null||n.dispatchEvent(new Ae("find-media-player",{detail:s=>void(this.f=s),bubbles:!0,composed:!0})),this.f)}setPlayer(e){this.f=e}startLoading(e){this.s("media-start-loading",e)}startLoadingPoster(e){this.s("media-poster-start-loading",e)}requestAirPlay(e){this.s("media-airplay-request",e)}requestGoogleCast(e){this.s("media-google-cast-request",e)}play(e){this.s("media-play-request",e)}pause(e){this.s("media-pause-request",e)}mute(e){this.s("media-mute-request",e)}unmute(e){this.s("media-unmute-request",e)}enterFullscreen(e,n){this.s("media-enter-fullscreen-request",n,e)}exitFullscreen(e,n){this.s("media-exit-fullscreen-request",n,e)}lockScreenOrientation(e,n){this.s("media-orientation-lock-request",n,e)}unlockScreenOrientation(e){this.s("media-orientation-unlock-request",e)}enterPictureInPicture(e){this.s("media-enter-pip-request",e)}exitPictureInPicture(e){this.s("media-exit-pip-request",e)}seeking(e,n){this.s("media-seeking-request",n,e)}seek(e,n){this.s("media-seek-request",n,e)}seekToLiveEdge(e){this.s("media-live-edge-request",e)}changeDuration(e,n){this.s("media-duration-change-request",n,e)}changeClipStart(e,n){this.s("media-clip-start-change-request",n,e)}changeClipEnd(e,n){this.s("media-clip-end-change-request",n,e)}changeVolume(e,n){this.s("media-volume-change-request",n,Math.max(0,Math.min(1,e)))}changeAudioTrack(e,n){this.s("media-audio-track-change-request",n,e)}changeQuality(e,n){this.s("media-quality-change-request",n,e)}requestAutoQuality(e){this.changeQuality(-1,e)}changeTextTrackMode(e,n,s){this.s("media-text-track-change-request",s,{index:e,mode:n})}changePlaybackRate(e,n){this.s("media-rate-change-request",n,e)}changeAudioGain(e,n){this.s("media-audio-gain-change-request",n,e)}resumeControls(e){this.s("media-resume-controls-request",e)}pauseControls(e){this.s("media-pause-controls-request",e)}togglePaused(e){const n=this.getPlayer(e==null?void 0:e.target);n&&(n.state.paused?this.play(e):this.pause(e))}toggleControls(e){const n=this.getPlayer(e==null?void 0:e.target);n&&(n.controls.showing?n.controls.hide(0,e):n.controls.show(0,e))}toggleMuted(e){const n=this.getPlayer(e==null?void 0:e.target);n&&(n.state.muted?this.unmute(e):this.mute(e))}toggleFullscreen(e,n){const s=this.getPlayer(n==null?void 0:n.target);s&&(s.state.fullscreen?this.exitFullscreen(e,n):this.enterFullscreen(e,n))}togglePictureInPicture(e){const n=this.getPlayer(e==null?void 0:e.target);n&&(n.state.pictureInPicture?this.exitPictureInPicture(e):this.enterPictureInPicture(e))}showCaptions(e){const n=this.getPlayer(e==null?void 0:e.target);if(!n)return;let s=n.state.textTracks,i=this.Rd;(!s[i]||!Ft(s[i]))&&(i=-1),i===-1&&(i=s.findIndex(r=>Ft(r)&&r.default)),i===-1&&(i=s.findIndex(r=>Ft(r))),i>=0&&this.changeTextTrackMode(i,"showing",e),this.Rd=-1}disableCaptions(e){const n=this.getPlayer(e==null?void 0:e.target);if(!n)return;const s=n.state.textTracks,i=n.state.textTrack;if(i){const r=s.indexOf(i);this.changeTextTrackMode(r,"disabled",e),this.Rd=r}}toggleCaptions(e){const n=this.getPlayer(e==null?void 0:e.target);n&&(n.state.textTrack?this.disableCaptions():this.showCaptions())}userPrefersLoopChange(e,n){this.s("media-user-loop-change-request",n,e)}s(e,n,s){var a,l;const i=new Ae(e,{bubbles:!0,composed:!0,cancelable:!0,detail:s,trigger:n});let r=(n==null?void 0:n.target)||null;r&&r instanceof Tl&&(r=r.el),r=!r||r===document||r===window||r===document.body||((a=this.f)==null?void 0:a.el)&&r instanceof Node&&!this.f.el.contains(r)?this.G??((l=this.getPlayer())==null?void 0:l.el):r??this.G,this.f?e==="media-play-request"&&!this.f.state.canLoad?r==null||r.dispatchEvent(i):this.f.canPlayQueue.k(e,()=>r==null?void 0:r.dispatchEvent(i)):r==null||r.dispatchEvent(i)}Va(e){}}class s9{constructor(){this.playerId="vds-player",this.mediaId=null,this.H={volume:null,muted:null,audioGain:null,time:null,lang:null,captions:null,rate:null,quality:null},this.saveTimeThrottled=M3(this.saveTime.bind(this),1e3)}async getVolume(){return this.H.volume}async setVolume(e){this.H.volume=e,this.save()}async getMuted(){return this.H.muted}async setMuted(e){this.H.muted=e,this.save()}async getTime(){return this.H.time}async setTime(e,n){const s=e<0;this.H.time=s?null:e,s||n?this.saveTime():this.saveTimeThrottled()}async getLang(){return this.H.lang}async setLang(e){this.H.lang=e,this.save()}async getCaptions(){return this.H.captions}async setCaptions(e){this.H.captions=e,this.save()}async getPlaybackRate(){return this.H.rate}async setPlaybackRate(e){this.H.rate=e,this.save()}async getAudioGain(){return this.H.audioGain}async setAudioGain(e){this.H.audioGain=e,this.save()}async getVideoQuality(){return this.H.quality}async setVideoQuality(e){this.H.quality=e,this.save()}onChange(e,n,s="vds-player"){const i=s?localStorage.getItem(s):null,r=n?localStorage.getItem(n):null;this.playerId=s,this.mediaId=n,this.H={volume:null,muted:null,audioGain:null,lang:null,captions:null,rate:null,quality:null,...i?JSON.parse(i):{},time:r?+r:null}}save(){if(!this.playerId)return;const e=JSON.stringify({...this.H,time:void 0});localStorage.setItem(this.playerId,e)}saveTime(){if(!this.mediaId)return;const e=(this.H.time??0).toString();localStorage.setItem(this.mediaId,e)}}class i9{constructor(){this.priority=0,this.Uf=!0,this.m=null,this.J=null,this.va=new Set}canRender(e,n){return!!n}attach(e){this.m=e,e&&(e.textTracks.onchange=this.E.bind(this))}addTrack(e){this.va.add(e),this.ci(e)}removeTrack(e){var n,s;(s=(n=e[fe._])==null?void 0:n.remove)==null||s.call(n),e[fe._]=null,this.va.delete(e)}changeTrack(e){const n=e==null?void 0:e[fe._];n&&n.track.mode!=="showing"&&(n.track.mode="showing"),this.J=e}setDisplay(e){this.Uf=e,this.E()}detach(){this.m&&(this.m.textTracks.onchange=null);for(const e of this.va)this.removeTrack(e);this.va.clear(),this.m=null,this.J=null}ci(e){var s;if(!this.m)return;const n=e[s=fe._]??(e[s]=this.di(e));e2(n)&&(this.m.append(n),n.track.mode=n.default?"showing":"disabled")}di(e){const n=document.createElement("track"),s=e.default||e.mode==="showing",i=e.src&&e.type==="vtt";return n.id=e.id,n.src=i?e.src:"",n.label=e.label,n.kind=e.kind,n.default=s,e.language&&(n.srclang=e.language),s&&!i&&this.Vf(e,n.track),n}Vf(e,n){var s;if(!(e.src&&e.type==="vtt"||(s=n.cues)!=null&&s.length))for(const i of e.cues)n.addCue(i)}E(e){for(const n of this.va){const s=n[fe._];if(!s)continue;if(!this.Uf){s.track.mode=s.managed?"hidden":"disabled";continue}const i=s.track.mode==="showing";i&&this.Vf(n,s.track),n.setMode(i?"showing":"disabled",e)}}}class r9{constructor(e){this.a=e,this.m=null,this.bd=[],this.Wf=!1,this.wa=null,this.jb=null;const n=e.textTracks;this.Wd=n,te(this.Xd.bind(this)),tt(this.ei.bind(this)),ce(n,"add",this.Yd.bind(this)),ce(n,"remove",this.fi.bind(this)),ce(n,"mode-change",this.Ha.bind(this))}Xd(){const{nativeControls:e}=this.a.$state;this.Wf=e(),this.Ha()}add(e){this.bd.push(e),wi(this.Ha.bind(this))}remove(e){e.detach(),this.bd.splice(this.bd.indexOf(e),1),wi(this.Ha.bind(this))}Xf(e){requestAnimationFrame(()=>{if(this.m=e,e){this.wa=new i9,this.wa.attach(e);for(const n of this.Wd)this.Yf(n)}this.Ha()})}Yf(e){var n;Ft(e)&&((n=this.wa)==null||n.addTrack(e))}gi(e){var n;Ft(e)&&((n=this.wa)==null||n.removeTrack(e))}Yd(e){this.Yf(e.detail)}fi(e){this.gi(e.detail)}Ha(){var s,i,r,o,a,l,c;const e=this.Wd.selected;if(this.m&&(this.Wf||e!=null&&e[fe.Mf])){(s=this.jb)==null||s.changeTrack(null),(i=this.wa)==null||i.setDisplay(!0),(r=this.wa)==null||r.changeTrack(e);return}if((o=this.wa)==null||o.setDisplay(!1),(a=this.wa)==null||a.changeTrack(null),!e){(l=this.jb)==null||l.changeTrack(null);return}const n=this.bd.sort((u,d)=>u.priority-d.priority).find(u=>u.canRender(e,this.m));this.jb!==n&&((c=this.jb)==null||c.detach(),n==null||n.attach(this.m),this.jb=n??null),n==null||n.changeTrack(e)}ei(){var e,n;(e=this.wa)==null||e.detach(),this.wa=null,(n=this.jb)==null||n.detach(),this.jb=null}}class o9 extends t2{constructor(){super(),this.Z=!1,this.kb={},this.lb=null,this.mb=null,this.bg=R3(async()=>{var s;if(!this.Z)return;!this.mb&&this.lb&&(this.mb=await this.lb.getLang());const e=await((s=this.lb)==null?void 0:s.getCaptions()),n=[["captions","subtitles"],"chapters","descriptions","metadata"];for(const i of n){const r=this.getByKind(i);if(r.find(u=>u.mode==="showing"))continue;const o=this.mb?r.find(u=>u.language===this.mb):null,a=jt(i)?this.kb[i.find(u=>this.kb[u])||""]:this.kb[i],l=o??a,c=l&&Ft(l);l&&(!c||e!==!1)&&(l.mode="showing",c&&this.cg(l))}},300),this.Zd=null,this.ag=this.hi.bind(this)}get selected(){return this.A.find(n=>n.mode==="showing"&&Ft(n))??null}get selectedIndex(){const e=this.selected;return e?this.indexOf(e):-1}get preferredLang(){return this.mb}set preferredLang(e){this.mb=e,this.$f(e)}add(e,n){const s=e instanceof _r,i=s?e:new _r(e),r=e.kind==="captions"||e.kind==="subtitles"?"captions":e.kind;return this.kb[r]&&e.default&&delete e.default,i.addEventListener("mode-change",this.ag),this[be.da](i,n),i[fe.Db]=this[fe.Db],this.Z&&i[fe.Z](),e.default&&(this.kb[r]=i),this.bg(),this}remove(e,n){if(this.Zd=e,!!this.A.includes(e))return e===this.kb[e.kind]&&delete this.kb[e.kind],e.mode="disabled",e[fe.hb]=null,e.removeEventListener("mode-change",this.ag),this[be.cc](e,n),this.Zd=null,this}clear(e){for(const n of[...this.A])this.remove(n,e);return this}getByKind(e){const n=Array.isArray(e)?e:[e];return this.A.filter(s=>n.includes(s.kind))}[fe.Z](){if(!this.Z){for(const e of this.A)e[fe.Z]();this.Z=!0,this.bg()}}hi(e){const n=e.detail;if(this.lb&&Ft(n)&&n!==this.Zd&&this.cg(n),n.mode==="showing"){const s=Ft(n)?["captions","subtitles"]:[n.kind];for(const i of this.A)i.mode==="showing"&&i!=n&&s.includes(i.kind)&&(i.mode="disabled")}this.dispatchEvent(new Ae("mode-change",{detail:e.detail,trigger:e}))}cg(e){var n,s;e.mode!=="disabled"&&this.$f(e.language),(s=(n=this.lb)==null?void 0:n.setCaptions)==null||s.call(n,e.mode==="showing")}$f(e){var n,s;(s=(n=this.lb)==null?void 0:n.setLang)==null||s.call(n,this.mb=e)}setStorage(e){this.lb=e}}const Ks=Symbol(0);class i2 extends t2{get selected(){return this.A.find(e=>e.selected)??null}get selectedIndex(){return this.A.findIndex(e=>e.selected)}[be.Hf](e,n){this[be.ea](e,!1,n)}[be.da](e,n){e[Ks]=!1,Object.defineProperty(e,"selected",{get(){return this[Ks]},set:s=>{var i;this.readonly||((i=this[be.If])==null||i.call(this),this[be.ea](e,s))}}),super[be.da](e,n)}[be.ea](e,n,s){if(n===(e==null?void 0:e[Ks]))return;const i=this.selected;e&&(e[Ks]=n),(n?i!==e:i===e)&&(i&&(i[Ks]=!1),this.dispatchEvent(new Ae("change",{detail:{prev:i,current:this.selected},trigger:s})))}}class a9 extends i2{}class l9 extends i2{constructor(){super(...arguments),this.cd=!1,this.switch="current"}get auto(){return this.cd||this.readonly}[be.If](){this[Xt.Wa](!1)}[be.Gf](e){this[Xt.Ia]=void 0,this[Xt.Wa](!1,e)}autoSelect(e){var n;this.readonly||this.cd||!this[Xt.Ia]||((n=this[Xt.Ia])==null||n.call(this,e),this[Xt.Wa](!0,e))}getBySrc(e){return this.A.find(n=>n.src===e)}[Xt.Wa](e,n){this.cd!==e&&(this.cd=e,this.dispatchEvent(new Ae("auto-change",{detail:e,trigger:n})))}}function r2(t){return t instanceof HTMLAudioElement}function o2(t){return t instanceof HTMLVideoElement}function c9(t){return r2(t)||o2(t)}function u9(t){return t instanceof HTMLIFrameElement}class us extends qi{}const d9={togglePaused:"k Space",toggleMuted:"m",toggleFullscreen:"f",togglePictureInPicture:"i",toggleCaptions:"c",seekBackward:"j J ArrowLeft",seekForward:"l L ArrowRight",volumeUp:"ArrowUp",volumeDown:"ArrowDown",speedUp:">",slowDown:"<"},ar=new Set(["Shift","Alt","Meta","Ctrl"]),f9='button, [role="button"]',ju='input, textarea, select, [contenteditable], [role^="menuitem"], [role="timer"]';class h9 extends us{constructor(e){super(),this.a=e,this.Ib=null}onConnect(){te(this.ii.bind(this))}ii(){const{keyDisabled:e,keyTarget:n}=this.$props;if(e())return;const s=n()==="player"?this.el:document,i=Ge(!1);s===this.el?(this.listen("focusin",()=>i.set(!0)),this.listen("focusout",r=>{this.el.contains(r.target)||i.set(!1)})):(se(i)||i.set(document.querySelector("[data-media-player]")===this.el),ce(document,"focusin",r=>{const o=r.composedPath().find(a=>a instanceof Element&&a.localName==="media-player");o!==void 0&&i.set(this.el===o)})),te(()=>{i()&&(ce(s,"keyup",this.hc.bind(this)),ce(s,"keydown",this.ic.bind(this)),ce(s,"keydown",this.ji.bind(this),{capture:!0}))})}hc(e){var r,o;const n=document.activeElement;if(!e.key||!this.$state.canSeek()||n!=null&&n.matches(ju))return;let{method:s,value:i}=this._d(e);if(!pe(i)&&!jt(i)){(r=i==null?void 0:i.onKeyUp)==null||r.call(i,{event:e,player:this.a.player,remote:this.a.remote}),(o=i==null?void 0:i.callback)==null||o.call(i,e,this.a.remote);return}if(s!=null&&s.startsWith("seek")&&(e.preventDefault(),e.stopPropagation(),this.Ib?(this.dg(e,s==="seekForward"),this.Ib=null):(this.a.remote.seek(this.dd,e),this.dd=void 0)),s!=null&&s.startsWith("volume")){const a=this.el.querySelector("[data-media-volume-slider]");a==null||a.dispatchEvent(new KeyboardEvent("keyup",{key:s==="volumeUp"?"Up":"Down",shiftKey:e.shiftKey,trigger:e}))}}ic(e){var o,a,l,c;if(!e.key||ar.has(e.key))return;const n=document.activeElement;if(n!=null&&n.matches(ju)||L3(e)&&(n!=null&&n.matches(f9)))return;let{method:s,value:i}=this._d(e),r=!e.metaKey&&/^[0-9]$/.test(e.key);if(!pe(i)&&!jt(i)&&!r){(o=i==null?void 0:i.onKeyDown)==null||o.call(i,{event:e,player:this.a.player,remote:this.a.remote}),(a=i==null?void 0:i.callback)==null||a.call(i,e,this.a.remote);return}if(!s&&r){e.preventDefault(),e.stopPropagation(),this.a.remote.seek(this.$state.duration()/10*Number(e.key),e);return}if(s){switch(e.preventDefault(),e.stopPropagation(),s){case"seekForward":case"seekBackward":this.Ja(e,s,s==="seekForward");break;case"volumeUp":case"volumeDown":const u=this.el.querySelector("[data-media-volume-slider]");if(u)u.dispatchEvent(new KeyboardEvent("keydown",{key:s==="volumeUp"?"Up":"Down",shiftKey:e.shiftKey,trigger:e}));else{const h=e.shiftKey?.1:.05;this.a.remote.changeVolume(this.$state.volume()+(s==="volumeUp"?+h:-h),e)}break;case"toggleFullscreen":this.a.remote.toggleFullscreen("prefer-media",e);break;case"speedUp":case"slowDown":const d=this.$state.playbackRate();this.a.remote.changePlaybackRate(Math.max(.25,Math.min(2,d+(s==="speedUp"?.25:-.25))),e);break;default:(c=(l=this.a.remote)[s])==null||c.call(l,e)}this.$state.lastKeyboardAction.set({action:s,event:e})}}ji(e){c9(e.target)&&this._d(e).method&&e.preventDefault()}_d(e){const n={...this.$props.keyShortcuts(),...this.a.ariaKeys},s=Object.keys(n).find(i=>{var l;const r=n[i],o=jt(r)?r.join(" "):pe(r)?r:r==null?void 0:r.keys,a=(l=jt(o)?o:o==null?void 0:o.split(" "))==null?void 0:l.map(c=>m9(c).replace(/Control/g,"Ctrl").split("+"));return a==null?void 0:a.some(c=>{const u=new Set(c.filter(d=>ar.has(d)));for(const d of ar){const h=d.toLowerCase()+"Key";if(!u.has(d)&&e[h])return!1}return c.every(d=>ar.has(d)?e[d.toLowerCase()+"Key"]:e.key===d.replace("Space"," "))})});return{method:s,value:s?n[s]:null}}ki(e,n){const s=e.shiftKey?10:5;return this.dd=Math.max(0,Math.min((this.dd??this.$state.currentTime())+(n==="seekForward"?+s:-s),this.$state.duration()))}dg(e,n){var s;(s=this.Ib)==null||s.dispatchEvent(new KeyboardEvent(e.type,{key:n?"Right":"Left",shiftKey:e.shiftKey,trigger:e}))}Ja(e,n,s){this.$state.canSeek()&&(this.Ib||(this.Ib=this.el.querySelector("[data-media-time-slider]")),this.Ib?this.dg(e,s):this.a.remote.seeking(this.ki(e,n),e))}}const p9=["!","@","#","$","%","^","&","*","(",")"];function m9(t){return t.replace(/Shift\+(\d)/g,(e,n)=>p9[n-1])}class g9 extends us{constructor(){super(...arguments),this.Sd=-2,this.Gb=!1,this.Sf=Ge(!1),this.Td=Ge(!1),this.ec=null,this.Ud=Ge(!0),this.defaultDelay=2e3}get canIdle(){return this.Ud()}set canIdle(e){this.Ud.set(e)}get hideOnMouseLeave(){const{hideControlsOnMouseLeave:e}=this.$props;return this.Sf()||e()}set hideOnMouseLeave(e){this.Sf.set(e)}get showing(){return this.$state.controlsVisible()}show(e=0,n){this.Vd(),this.Gb||this.ad(!0,e,n)}hide(e=this.defaultDelay,n){this.Vd(),this.Gb||this.ad(!1,e,n)}pause(e){this.Gb=!0,this.Vd(),this.ad(!0,0,e)}resume(e){this.Gb=!1,!this.$state.paused()&&this.ad(!1,this.defaultDelay,e)}onConnect(){te(this.Hb.bind(this))}Hb(){const{viewType:e}=this.$state;if(!this.Ud())return;if(e()==="audio"){this.show();return}te(this.$h.bind(this)),te(this.fc.bind(this));const n=this.gc.bind(this),s=this.ib.bind(this);this.listen("can-play",i=>this.show(0,i)),this.listen("play",n),this.listen("pause",s),this.listen("auto-play-fail",s)}$h(){const{started:e,pointer:n,paused:s}=this.$state;if(!e()||n()!=="fine")return;const i=this.hideOnMouseLeave;(!i||!this.Td())&&te(()=>{s()||this.listen("pointermove",this.Tf.bind(this))}),i&&(this.listen("mouseenter",this.ai.bind(this)),this.listen("mouseleave",this.bi.bind(this)))}fc(){const{paused:e,started:n,autoPlayError:s}=this.$state;if(e()||s()&&!n())return;const i=this.Tf.bind(this);te(()=>{const r=this.$state.pointer(),o=r==="coarse",a=[o?"touchend":"pointerup","keydown"];for(const l of a)this.listen(l,i,{passive:!1})})}gc(e){this.show(0,e),this.hide(void 0,e)}ib(e){this.show(0,e)}ai(e){this.Td.set(!1),this.show(0,e),this.hide(void 0,e)}bi(e){this.Td.set(!0),this.hide(0,e)}Vd(){window.clearTimeout(this.Sd),this.Sd=-1}Tf(e){var n;e.MEDIA_GESTURE||this.Gb||K7(e)||(El(e)&&(e.key==="Escape"?((n=this.el)==null||n.focus(),this.ec=null):this.ec&&(e.preventDefault(),requestAnimationFrame(()=>{var s;(s=this.ec)==null||s.focus(),this.ec=null}))),this.show(0,e),this.hide(this.defaultDelay,e))}ad(e,n,s){if(n===0){this.E(e,s);return}this.Sd=window.setTimeout(()=>{this.scope&&this.E(e&&!this.Gb,s)},n)}E(e,n){var s;this.$state.controlsVisible()!==e&&(this.$state.controlsVisible.set(e),!e&&document.activeElement&&((s=this.el)!=null&&s.contains(document.activeElement))&&(this.ec=document.activeElement,requestAnimationFrame(()=>{var i;(i=this.el)==null||i.focus({preventScroll:!0})})),this.dispatch("controls-change",{detail:e,trigger:n}))}}class v9{constructor(){this.name="audio"}canPlay(e){return xl(e)?!pe(e.src)||e.type==="?"||_5(this.target,e.type):!1}mediaType(){return"audio"}async load(e){return new(await ne(async()=>{const{AudioProvider:n}=await import("./vidstack-audio-B46OykX5.js");return{AudioProvider:n}},__vite__mapDeps([33,34,35]))).AudioProvider(this.target,e)}}class Hl{constructor(){this.name="video"}canPlay(e){return Al(e)?!pe(e.src)||e.type==="?"||L5(this.target,e.type):!1}mediaType(){return"video"}async load(e){return new(await ne(async()=>{const{VideoProvider:n}=await import("./vidstack-video-DgFSyE0k.js");return{VideoProvider:n}},__vite__mapDeps([36,34,35]))).VideoProvider(this.target,e)}}const Hr=class Hr extends Hl{constructor(){super(...arguments),this.name="hls"}canPlay(e){return Hr.supported&&Bi(e)}async load(e){return new(await ne(async()=>{const{HLSProvider:n}=await import("./vidstack-hls-B1foyyu_.js");return{HLSProvider:n}},__vite__mapDeps([37,36,34,35]))).HLSProvider(this.target,e)}};Hr.supported=Ll();let ya=Hr;const Vr=class Vr extends Hl{constructor(){super(...arguments),this.name="dash"}canPlay(e){return Vr.supported&&Pl(e)}async load(e){return new(await ne(async()=>{const{DASHProvider:n}=await import("./vidstack-dash-Dc9EpqFM.js");return{DASHProvider:n}},__vite__mapDeps([38,36,34,35]))).DASHProvider(this.target,e)}};Vr.supported=I5();let ba=Vr;class y9{constructor(){this.name="vimeo"}preconnect(){const e=["https://i.vimeocdn.com","https://f.vimeocdn.com","https://fresnel.vimeocdn.com"];for(const n of e)so(n)}canPlay(e){return pe(e.src)&&e.type==="video/vimeo"}mediaType(){return"video"}async load(e){return new(await ne(async()=>{const{VimeoProvider:n}=await import("./vidstack-vimeo-5UnC3C7m.js");return{VimeoProvider:n}},__vite__mapDeps([39,35,40,41]))).VimeoProvider(this.target,e)}async loadPoster(e,n,s){const{resolveVimeoVideoId:i,getVimeoVideoInfo:r}=await ne(async()=>{const{resolveVimeoVideoId:l,getVimeoVideoInfo:c}=await import("./vidstack-krOAtKMi-C3UUF7YD.js");return{resolveVimeoVideoId:l,getVimeoVideoInfo:c}},[]);if(!pe(e.src))return null;const{videoId:o,hash:a}=i(e.src);return o?r(o,s,a).then(l=>l?l.poster:null):null}}class b9{constructor(){this.name="youtube"}preconnect(){const e=["https://www.google.com","https://i.ytimg.com","https://googleads.g.doubleclick.net","https://static.doubleclick.net"];for(const n of e)so(n)}canPlay(e){return pe(e.src)&&e.type==="video/youtube"}mediaType(){return"video"}async load(e){return new(await ne(async()=>{const{YouTubeProvider:n}=await import("./vidstack-youtube-B0O9fYuS.js");return{YouTubeProvider:n}},__vite__mapDeps([42,40,43]))).YouTubeProvider(this.target,e)}async loadPoster(e,n,s){const{findYouTubePoster:i,resolveYouTubeVideoId:r}=await ne(async()=>{const{findYouTubePoster:a,resolveYouTubeVideoId:l}=await import("./vidstack-Zc3I7oOd-CA6XwpqT.js");return{findYouTubePoster:a,resolveYouTubeVideoId:l}},[]),o=pe(e.src)&&r(e.src);return o?i(o,s):null}}const Do=Symbol(0),C9=["autoPlay","canAirPlay","canFullscreen","canGoogleCast","canLoad","canLoadPoster","canPictureInPicture","canPlay","canSeek","ended","fullscreen","isAirPlayConnected","isGoogleCastConnected","live","liveEdge","loop","mediaType","muted","paused","pictureInPicture","playing","playsInline","remotePlaybackState","remotePlaybackType","seeking","started","streamType","viewType","waiting"],w9={artist:"",artwork:null,autoplay:!1,autoPlay:!1,clipStartTime:0,clipEndTime:0,controls:!1,currentTime:0,crossorigin:null,crossOrigin:null,duration:-1,fullscreenOrientation:"landscape",googleCast:{},load:"visible",posterLoad:"visible",logLevel:"silent",loop:!1,muted:!1,paused:!0,playsinline:!1,playsInline:!1,playbackRate:1,poster:"",preload:"metadata",preferNativeHLS:!1,src:"",title:"",controlsDelay:2e3,hideControlsOnMouseLeave:!1,viewType:"unknown",streamType:"unknown",volume:1,liveEdgeTolerance:10,minLiveDVRWindow:60,keyDisabled:!1,keyTarget:"player",keyShortcuts:d9,storage:null};class Fu extends us{constructor(e,n){super(),this.la=e,this.La=n}async onAttach(e){const n=this.$props[this.la]();if(n==="eager")requestAnimationFrame(this.La);else if(n==="idle")c5(this.La);else if(n==="visible"){let s,i=new IntersectionObserver(r=>{this.scope&&r[0].isIntersecting&&(s==null||s(),s=void 0,this.La())});i.observe(e),s=tt(()=>i.disconnect())}}}class k9{constructor(e,n){this.V=e,this.a=n,this.c=(s,...i)=>{this.V(new Ae(s,{detail:i==null?void 0:i[0],trigger:i==null?void 0:i[1]}))}}async Ga(e,n){return wi(async()=>{var N,I,Z,J,ae,q,j;this.a;const{autoPlay:s,canPlay:i,started:r,duration:o,seekable:a,buffered:l,remotePlaybackInfo:c,playsInline:u,savedState:d,source:h}=this.a.$state;if(i())return;const p={duration:(e==null?void 0:e.duration)??o(),seekable:(e==null?void 0:e.seekable)??a(),buffered:(e==null?void 0:e.buffered)??l(),provider:this.a.$provider()};this.c("can-play",p,n),ki();let m=this.a.$provider(),{storage:v,qualities:w}=this.a,{muted:C,volume:k,clipStartTime:y,playbackRate:E}=this.a.$props;await((N=v==null?void 0:v.onLoad)==null?void 0:N.call(v,h()));const x=(I=d())==null?void 0:I.currentTime,P=(Z=d())==null?void 0:Z.paused,A=await(v==null?void 0:v.getTime()),F=x??A??y(),D=P||P!==!1&&!r()&&s();if(m){m.setVolume(await(v==null?void 0:v.getVolume())??k()),m.setMuted(C()||!!await(v==null?void 0:v.getMuted()));const V=await(v==null?void 0:v.getAudioGain())??1;V>1&&((ae=(J=m.audioGain)==null?void 0:J.setGain)==null||ae.call(J,V)),(q=m.setPlaybackRate)==null||q.call(m,await(v==null?void 0:v.getPlaybackRate())??E()),(j=m.setPlaysInline)==null||j.call(m,u()),F>0&&m.setCurrentTime(F)}const L=await(v==null?void 0:v.getVideoQuality());if(L&&w.length){let V=null,ue=1/0;for(const Re of w){const ze=Math.abs(L.width-Re.width)+Math.abs(L.height-Re.height)+(L.bitrate?Math.abs(L.bitrate-(Re.bitrate??0)):0);ze0&&this.c("started",void 0,n),c.set(null)})}async kj(e){const{player:n,$state:{autoPlaying:s,muted:i}}=this.a;s.set(!0);const r=new Ae("auto-play-attempt",{trigger:e});try{await n.play(r)}catch{}}}class E9{constructor(){this.i=new Map}k(e,n){this.i.set(e,n)}xe(e){const n=this.rg(e);return this.i.delete(e),n}rg(e){return this.i.get(e)}ub(e){this.i.delete(e)}Pm(){this.i.clear()}}class a2{constructor(){this.wc=!1,this.ye=fa(),this.i=new Map}get Qm(){return this.i.size}get Rm(){return this.wc}async Sm(){this.wc||await this.ye.promise}k(e,n){if(this.wc){n();return}this.i.delete(e),this.i.set(e,n)}xe(e){var n;(n=this.i.get(e))==null||n(),this.i.delete(e)}Xa(){this.sg(),this.wc=!0,this.i.size>0&&this.sg()}$(){this.wc=!1}z(){this.$(),this.i.clear(),this.tg()}sg(){for(const e of this.i.keys())this.xe(e);this.tg()}tg(){this.ye.resolve(),this.ye=fa()}}class T9 extends us{constructor(e,n,s){super(),this.Ba=e,this.g=n,this.a=s,this.zc=new a2,this.Fe=!1,this.C=s.$provider,this.yc=new g9,this.pd=new e9,this.bb=new Or}onAttach(){this.listen("fullscreen-change",this.Qd.bind(this))}onConnect(){const e=Object.getOwnPropertyNames(Object.getPrototypeOf(this)),n=this.Hj.bind(this);for(const s of e)s.startsWith("media-")&&this.listen(s,n);this.Ij(),te(this.Jj.bind(this)),te(this.Kj.bind(this)),te(this.Lj.bind(this)),te(this.Mj.bind(this)),te(this.Nj.bind(this)),te(this.Oj.bind(this)),te(this.Pj.bind(this))}onDestroy(){try{const e=this.createEvent("destroy"),{pictureInPicture:n,fullscreen:s}=this.$state;s()&&this.Lg("prefer-media",e),n()&&this.Ge(e)}catch{}this.zc.z()}Ij(){const{load:e}=this.$props,{canLoad:n}=this.$state;if(e()!=="play"||n())return;const s=this.listen("media-play-request",i=>{this.Gg(i),s()})}Jj(){const e=this.C(),n=this.$state.canPlay();return e&&n&&this.zc.Xa(),()=>{this.zc.$()}}Hj(e){e.stopPropagation(),!e.defaultPrevented&&this[e.type]&&(se(this.C)?this[e.type](e):this.zc.k(e.type,()=>{se(this.C)&&this[e.type](e)}))}async Ac(e){const{canPlay:n,paused:s,autoPlaying:i}=this.$state;if(this.Gg(e)||!se(s))return;e&&this.g.i.k("media-play-request",e);const r=se(i);try{const o=se(this.C);return Ho(o,se(n)),await o.play()}catch(o){const a=this.createEvent("play-fail",{detail:Io(o),trigger:e});throw a.autoPlay=r,this.Ba.V(a),o}}Gg(e){const{load:n}=this.$props,{canLoad:s}=this.$state;if(n()==="play"&&!s()){const i=this.createEvent("media-start-loading",{trigger:e});return this.dispatchEvent(i),this.zc.k("media-play-request",async()=>{try{await this.Ac(i)}catch{}}),!0}return!1}async Ee(e){const{canPlay:n,paused:s}=this.$state;if(!se(s)){e&&this.g.i.k("media-pause-request",e);try{const i=se(this.C);return Ho(i,se(n)),await i.pause()}catch(i){throw this.g.i.ub("media-pause-request"),i}}}Hg(e,n){const{audioGain:s,canSetAudioGain:i}=this.$state;if(s()===e)return;const r=this.C();if(!(r!=null&&r.audioGain)||!i())throw Error("[vidstack] audio gain api not available");n&&this.g.i.k("media-audio-gain-change-request",n),r.audioGain.setGain(e)}Ig(e){const{canPlay:n,live:s,liveEdge:i,canSeek:r,liveSyncPosition:o,seekableEnd:a,userBehindLiveEdge:l}=this.$state;if(l.set(!1),se(()=>!s()||i()||!r()))return;const c=se(this.C);Ho(c,se(n)),e&&this.g.i.k("media-seek-request",e);const u=a()-2;c.setCurrentTime(Math.min(u,o()??u))}async Jg(e="prefer-media",n){const s=this.Kg(e);if(qu(e,s),!s.active)return se(this.$state.pictureInPicture)&&(this.Fe=!0,await this.Ge(n)),n&&this.g.i.k("media-enter-fullscreen-request",n),s.enter()}async Lg(e="prefer-media",n){const s=this.Kg(e);if(qu(e,s),!!s.active){n&&this.g.i.k("media-exit-fullscreen-request",n);try{const i=await s.exit();return this.Fe&&se(this.$state.canPictureInPicture)&&await this.He(),i}finally{this.Fe=!1}}}Kg(e){const n=se(this.C);return e==="prefer-media"&&this.pd.supported||e==="media"?this.pd:n==null?void 0:n.fullscreen}async He(e){if(this.Mg(),!this.$state.pictureInPicture())return e&&this.g.i.k("media-enter-pip-request",e),await this.C().pictureInPicture.enter()}async Ge(e){if(this.Mg(),!!this.$state.pictureInPicture())return e&&this.g.i.k("media-exit-pip-request",e),await this.C().pictureInPicture.exit()}Mg(){if(!this.$state.canPictureInPicture())throw Error("[vidstack] no pip support")}Kj(){this.yc.defaultDelay=this.$props.controlsDelay()}Lj(){var s,i;const{canSetAudioGain:e}=this.$state,n=!!((i=(s=this.C())==null?void 0:s.audioGain)!=null&&i.supported);e.set(n)}Mj(){var s,i;const{canAirPlay:e}=this.$state,n=!!((i=(s=this.C())==null?void 0:s.airPlay)!=null&&i.supported);e.set(n)}Nj(){const{canGoogleCast:e,source:n}=this.$state,s=S5&&!j3&&q5(n());e.set(s)}Oj(){var s,i;const{canFullscreen:e}=this.$state,n=this.pd.supported||!!((i=(s=this.C())==null?void 0:s.fullscreen)!=null&&i.supported);e.set(n)}Pj(){var s,i;const{canPictureInPicture:e}=this.$state,n=!!((i=(s=this.C())==null?void 0:s.pictureInPicture)!=null&&i.supported);e.set(n)}async"media-airplay-request"(e){try{await this.Ng(e)}catch{}}async Ng(e){var n;try{const s=(n=this.C())==null?void 0:n.airPlay;if(!(s!=null&&s.supported))throw Error("No AirPlay adapter.");return e&&this.g.i.k("media-airplay-request",e),await s.prompt()}catch(s){throw this.g.i.ub("media-airplay-request"),s}}async"media-google-cast-request"(e){try{await this.Og(e)}catch{}}async Og(e){try{const{canGoogleCast:n}=this.$state;if(!se(n)){const i=Error("Cast not available.");throw i.code="CAST_NOT_AVAILABLE",i}if(so("https://www.gstatic.com"),!this.qd){const i=await ne(()=>import("./vidstack-CMYUT9x7-DXxNi-tS.js").then(r=>r.v),[]);this.qd=new i.GoogleCastLoader}await this.qd.prompt(this.a),e&&this.g.i.k("media-google-cast-request",e);const s=se(this.$state.remotePlaybackState)!=="disconnected";s&&this.$state.savedState.set({paused:se(this.$state.paused),currentTime:se(this.$state.currentTime)}),this.$state.remotePlaybackLoader.set(s?this.qd:null)}catch(n){throw this.g.i.ub("media-google-cast-request"),n}}"media-clip-start-change-request"(e){const{clipStartTime:n}=this.$state;n.set(e.detail)}"media-clip-end-change-request"(e){const{clipEndTime:n}=this.$state;n.set(e.detail),this.dispatch("duration-change",{detail:e.detail,trigger:e})}"media-duration-change-request"(e){const{providedDuration:n,clipEndTime:s}=this.$state;n.set(e.detail),s()<=0&&this.dispatch("duration-change",{detail:e.detail,trigger:e})}"media-audio-track-change-request"(e){const{logger:n,audioTracks:s}=this.a;if(s.readonly)return;const i=e.detail,r=s[i];if(r){const o=e.type;this.g.i.k(o,e),r.selected=!0}}async"media-enter-fullscreen-request"(e){try{await this.Jg(e.detail,e)}catch(n){this.Zc(n,e)}}async"media-exit-fullscreen-request"(e){try{await this.Lg(e.detail,e)}catch(n){this.Zc(n,e)}}async Qd(e){const n=se(this.$props.fullscreenOrientation),s=e.detail;if(!(zt(n)||n==="none"||!this.bb.supported))if(s){if(this.bb.locked)return;this.dispatch("media-orientation-lock-request",{detail:n,trigger:e})}else this.bb.locked&&this.dispatch("media-orientation-unlock-request",{trigger:e})}Zc(e,n){this.Ba.V(this.createEvent("fullscreen-error",{detail:Io(e)}))}async"media-orientation-lock-request"(e){const n=e.type;try{this.g.i.k(n,e),await this.bb.lock(e.detail)}catch{this.g.i.ub(n)}}async"media-orientation-unlock-request"(e){const n=e.type;try{this.g.i.k(n,e),await this.bb.unlock()}catch{this.g.i.ub(n)}}async"media-enter-pip-request"(e){try{await this.He(e)}catch(n){this.Pg(n,e)}}async"media-exit-pip-request"(e){try{await this.Ge(e)}catch(n){this.Pg(n,e)}}Pg(e,n){this.Ba.V(this.createEvent("picture-in-picture-error",{detail:Io(e)}))}"media-live-edge-request"(e){const{live:n,liveEdge:s,canSeek:i}=this.$state;if(!(!n()||s()||!i())){this.g.i.k("media-seek-request",e);try{this.Ig()}catch{this.g.i.ub("media-seek-request")}}}async"media-loop-request"(e){try{this.g.Ob=!0,this.g.Bc=!0,await this.Ac(e)}catch{this.g.Ob=!1}}"media-user-loop-change-request"(e){this.$state.userPrefersLoop.set(e.detail)}async"media-pause-request"(e){if(!this.$state.paused())try{await this.Ee(e)}catch{}}async"media-play-request"(e){if(this.$state.paused())try{await this.Ac(e)}catch{}}"media-rate-change-request"(e){const{playbackRate:n,canSetPlaybackRate:s}=this.$state;if(n()===e.detail||!s())return;const i=this.C();i!=null&&i.setPlaybackRate&&(this.g.i.k("media-rate-change-request",e),i.setPlaybackRate(e.detail))}"media-audio-gain-change-request"(e){try{this.Hg(e.detail,e)}catch{}}"media-quality-change-request"(e){var o,a;const{qualities:n,storage:s,logger:i}=this.a;if(n.readonly)return;this.g.i.k("media-quality-change-request",e);const r=e.detail;if(r<0)n.autoSelect(e),e.isOriginTrusted&&((o=s==null?void 0:s.setVideoQuality)==null||o.call(s,null));else{const l=n[r];l&&(l.selected=!0,e.isOriginTrusted&&((a=s==null?void 0:s.setVideoQuality)==null||a.call(s,{id:l.id,width:l.width,height:l.height,bitrate:l.bitrate})))}}"media-pause-controls-request"(e){const n=e.type;this.g.i.k(n,e),this.yc.pause(e)}"media-resume-controls-request"(e){const n=e.type;this.g.i.k(n,e),this.yc.resume(e)}"media-seek-request"(e){const{seekableStart:n,seekableEnd:s,ended:i,canSeek:r,live:o,userBehindLiveEdge:a,clipStartTime:l}=this.$state,c=e.detail;i()&&(this.g.Bc=!0);const u=e.type;this.g.Ja=!1,this.g.i.ub(u);const d=c+l(),h=Math.floor(d)===Math.floor(s()),p=h?s():Math.min(Math.max(n()+.1,d),s()-.1);!Number.isFinite(p)||!r()||(this.g.i.k(u,e),this.C().setCurrentTime(p),o()&&e.isOriginTrusted&&Math.abs(s()-p)>=2&&a.set(!0))}"media-seeking-request"(e){const n=e.type;this.g.i.k(n,e),this.$state.seeking.set(!0),this.g.Ja=!0}"media-start-loading"(e){if(this.$state.canLoad())return;const n=e.type;this.g.i.k(n,e),this.Ba.V(this.createEvent("can-load"))}"media-poster-start-loading"(e){if(this.$state.canLoadPoster())return;const n=e.type;this.g.i.k(n,e),this.Ba.V(this.createEvent("can-load-poster"))}"media-text-track-change-request"(e){const{index:n,mode:s}=e.detail,i=this.a.textTracks[n];if(i){const r=e.type;this.g.i.k(r,e),i.setMode(s,e)}}"media-mute-request"(e){if(this.$state.muted())return;const n=e.type;this.g.i.k(n,e),this.C().setMuted(!0)}"media-unmute-request"(e){const{muted:n,volume:s}=this.$state;if(!n())return;const i=e.type;this.g.i.k(i,e),this.a.$provider().setMuted(!1),s()===0&&(this.g.i.k(i,e),this.C().setVolume(.25))}"media-volume-change-request"(e){const{muted:n,volume:s}=this.$state,i=e.detail;if(s()===i)return;const r=e.type;this.g.i.k(r,e),this.C().setVolume(i),i>0&&n()&&(this.g.i.k(r,e),this.C().setMuted(!1))}Qa(e,n,s){}}function Ho(t,e){if(!(t&&e))throw Error("[vidstack] media not ready")}function qu(t,e){if(!(e!=null&&e.supported))throw Error("[vidstack] no fullscreen support")}class S9{constructor(){this.Ja=!1,this.Ob=!1,this.Bc=!1,this.i=new E9}}const $9=new Set(["auto-play","auto-play-fail","can-load","sources-change","source-change","load-start","abort","error","loaded-metadata","loaded-data","can-play","play","play-fail","pause","playing","seeking","seeked","waiting"]);class _9 extends us{constructor(e,n){super(),this.g=e,this.a=n,this.u=new Map,this.rd=!1,this.On=[],this.Ln=[-1,-1],this.sd=!1,this.Cc=!1,this.Ke=null,this.seeking=M3(s=>{const{seeking:i,realCurrentTime:r,paused:o}=this.$state;i.set(!0),r.set(s.detail),this.D("media-seeking-request",s),o()&&(this.Pb=s,this.Le()),this.Ln=[-1,-1]},150,{leading:!0}),this.Le=R3(()=>{if(!this.Pb)return;this.sd=!0;const{waiting:s,playing:i}=this.$state;s.set(!0),i.set(!1);const r=this.createEvent("waiting",{trigger:this.Pb});this.u.set("waiting",r),this.dispatch(r),this.Pb=void 0,this.sd=!1},300)}onAttach(e){e.setAttribute("aria-busy","true"),this.listen("fullscreen-change",this["fullscreen-change"].bind(this)),this.listen("fullscreen-error",this["fullscreen-error"].bind(this)),this.listen("orientation-change",this["orientation-change"].bind(this))}onConnect(e){te(this.Qj.bind(this)),this.Rj(),this.Sj(),this.Tj(),this.Uj(),tt(this.Vj.bind(this))}onDestroy(){const{audioTracks:e,qualities:n,textTracks:s}=this.a;e[be.z](),n[be.z](),s[be.z](),this.Ie()}V(e){if(!this.scope)return;const n=e.type;wi(()=>{var s;return(s=this[e.type])==null?void 0:s.call(this,e)}),$9.has(n)&&this.u.set(n,e),this.dispatch(e)}Uj(){this.Cc&&(requestAnimationFrame(()=>{this.scope&&this.a.remote.play(new Ae("dom-connect"))}),this.Cc=!1)}Vj(){var e;this.Cc||(this.Cc=!this.$state.paused(),(e=this.a.$provider())==null||e.pause())}vb(){this.Qg(),this.rd=!1,this.g.Bc=!1,this.g.Ob=!1,this.sd=!1,this.Pb=void 0,this.u.clear()}D(e,n){const s=this.g.i.xe(e);s&&(n.request=s,n.triggers.add(s))}Rj(){this.Je(),this.Rg();const e=this.a.textTracks;ce(e,"add",this.Je.bind(this)),ce(e,"remove",this.Je.bind(this)),ce(e,"mode-change",this.Rg.bind(this))}Sj(){const e=this.a.qualities;ce(e,"add",this.ld.bind(this)),ce(e,"remove",this.ld.bind(this)),ce(e,"change",this.Za.bind(this)),ce(e,"auto-change",this.Wj.bind(this)),ce(e,"readonly-change",this.Xj.bind(this))}Tj(){const e=this.a.audioTracks;ce(e,"add",this.Sg.bind(this)),ce(e,"remove",this.Sg.bind(this)),ce(e,"change",this.Yj.bind(this))}Je(e){const{textTracks:n}=this.$state;n.set(this.a.textTracks.toArray()),this.dispatch("text-tracks-change",{detail:n(),trigger:e})}Rg(e){e&&this.D("media-text-track-change-request",e);const n=this.a.textTracks.selected,{textTrack:s}=this.$state;s()!==n&&(s.set(n),this.dispatch("text-track-change",{detail:n,trigger:e}))}Sg(e){const{audioTracks:n}=this.$state;n.set(this.a.audioTracks.toArray()),this.dispatch("audio-tracks-change",{detail:n(),trigger:e})}Yj(e){const{audioTrack:n}=this.$state;n.set(this.a.audioTracks.selected),e&&this.D("media-audio-track-change-request",e),this.dispatch("audio-track-change",{detail:n(),trigger:e})}ld(e){const{qualities:n}=this.$state;n.set(this.a.qualities.toArray()),this.dispatch("qualities-change",{detail:n(),trigger:e})}Za(e){const{quality:n}=this.$state;n.set(this.a.qualities.selected),e&&this.D("media-quality-change-request",e),this.dispatch("quality-change",{detail:n(),trigger:e})}Wj(){const{qualities:e}=this.a,n=e.auto;this.$state.autoQuality.set(n),n||this.Ie()}Tg(){this.Ie(),this.Ke=te(()=>{const{qualities:e}=this.a,{mediaWidth:n,mediaHeight:s}=this.$state,i=n(),r=s();if(i===0||r===0)return;let o=null,a=1/0;for(const l of e){const c=Math.abs(l.width-i)+Math.abs(l.height-r);c{requestAnimationFrame(()=>{this.scope&&(this.$state.inferredViewType.set(e.detail),this.dispatch("view-type-change",{detail:r,trigger:e}))})},0)}"stream-type-change"(e){const n=this.u.get("source-change");n&&e.triggers.add(n);const{streamType:s,inferredStreamType:i}=this.$state;i.set(e.detail),e.detail=s()}"rate-change"(e){var i;const{storage:n}=this.a,{canPlay:s}=this.$state;this.$state.playbackRate.set(e.detail),this.D("media-rate-change-request",e),s()&&((i=n==null?void 0:n.setPlaybackRate)==null||i.call(n,e.detail))}"remote-playback-change"(e){const{remotePlaybackState:n,remotePlaybackType:s}=this.$state,{type:i,state:r}=e.detail,o=r==="connected";s.set(i),n.set(r);const a=i==="airplay"?"media-airplay-request":"media-google-cast-request";if(o)this.D(a,e);else{const l=this.g.i.rg(a);l&&(e.request=l,e.triggers.add(l))}}"sources-change"(e){const n=this.$state.sources(),s=e.detail;this.$state.sources.set(s),this.Zj(n,s,e)}Zj(e,n,s){let{qualities:i}=this.a,r=!1,o=!1;for(const a of e){if(!va(a))continue;if(!n.some(c=>c.src===a.src)){const c=i.getBySrc(a.src);c&&(i[be.cc](c,s),o=!0)}}o&&!i.length&&(this.$state.savedState.set(null),i[be.z](s));for(const a of n){if(!va(a)||i.getBySrc(a.src))continue;const l={id:a.id??a.height+"p",bitrate:null,codec:null,...a,selected:!1};i[be.da](l,s),r=!0}r&&!i[Xt.Ia]&&(this.Tg(),i[Xt.Ia]=this.Tg.bind(this),i[Xt.Wa](!0,s))}"source-change"(e){var s,i;e.isQualityChange=((s=e.originEvent)==null?void 0:s.type)==="quality-change";const n=e.detail;this.Ug(e,e.isQualityChange),this.u.set(e.type,e),this.$state.source.set(n),(i=this.el)==null||i.setAttribute("aria-busy","true")}Ug(e,n=!1){const{audioTracks:s,qualities:i}=this.a;if(!n){this.On=[],this.Ln=[-1,-1],s[be.z](e),i[be.z](e),Nu(this.$state,n),this.vb();return}Nu(this.$state,n),this.vb()}abort(e){const n=this.u.get("source-change");n&&e.triggers.add(n);const s=this.u.get("can-load");s&&!e.triggers.hasType("can-load")&&e.triggers.add(s)}"load-start"(e){const n=this.u.get("source-change");n&&e.triggers.add(n)}error(e){this.$state.error.set(e.detail);const n=this.u.get("abort");n&&e.triggers.add(n)}"loaded-metadata"(e){const n=this.u.get("load-start");n&&e.triggers.add(n)}"loaded-data"(e){const n=this.u.get("load-start");n&&e.triggers.add(n)}"can-play"(e){var s;const n=this.u.get("loaded-metadata");n&&e.triggers.add(n),this.Vg(e.detail),(s=this.el)==null||s.setAttribute("aria-busy","false")}"can-play-through"(e){this.Vg(e.detail);const n=this.u.get("can-play");n&&e.triggers.add(n)}Vg(e){const{seekable:n,buffered:s,intrinsicDuration:i,canPlay:r}=this.$state;r.set(!0),s.set(e.buffered),n.set(e.seekable);const o=ui(e.seekable)??1/0;i.set(o)}"duration-change"(e){const{live:n,intrinsicDuration:s,providedDuration:i,clipEndTime:r,ended:o}=this.$state,a=e.detail;if(!n()){const l=Number.isNaN(a)?0:a;s.set(l),o()&&this.Wg(e)}(i()>0||r()>0)&&e.stopImmediatePropagation()}progress(e){const{buffered:n,bufferedEnd:s,seekable:i,seekableEnd:r,live:o,intrinsicDuration:a}=this.$state,{buffered:l,seekable:c}=e.detail,u=ui(l)??1/0,d=l.length!==n().length,h=u>s(),p=ui(c)??1/0,m=c.length!==i().length,v=p>r();(d||h)&&n.set(l),(m||v)&&i.set(c),o()&&(a.set(p),this.dispatch("duration-change",{detail:p,trigger:e}))}play(e){const{paused:n,autoPlayError:s,ended:i,autoPlaying:r,playsInline:o,pointer:a,muted:l,viewType:c,live:u,userBehindLiveEdge:d}=this.$state;if(this._j(),!n()){e.stopImmediatePropagation();return}e.autoPlay=r();const h=this.u.get("waiting");h&&e.triggers.add(h),this.D("media-play-request",e),this.u.set("play",e),n.set(!1),s.set(null),e.autoPlay&&(this.V(this.createEvent("auto-play",{detail:{muted:l()},trigger:e})),r.set(!1)),(i()||this.g.Bc)&&(this.g.Bc=!1,i.set(!1),this.V(this.createEvent("replay",{trigger:e}))),!o()&&c()==="video"&&a()==="coarse"&&this.a.remote.enterFullscreen("prefer-media",e),u()&&!d()&&this.a.remote.seekToLiveEdge(e)}_j(e){if(!se(this.a.$provider))return;const{ended:s,seekableStart:i,clipStartTime:r,clipEndTime:o,realCurrentTime:a,duration:l}=this.$state,c=a()0&&a()>=o()||Math.abs(a()-l())<.1||s();return c&&this.dispatch("media-seek-request",{detail:(r()>0?0:i())+.1,trigger:e}),c}"play-fail"(e){const{muted:n,autoPlaying:s}=this.$state,i=this.u.get("play");i&&e.triggers.add(i),this.D("media-play-request",e);const{paused:r,playing:o}=this.$state;r.set(!0),o.set(!1),this.vb(),this.u.set("play-fail",e),e.autoPlay&&(this.V(this.createEvent("auto-play-fail",{detail:{muted:n(),error:e.detail},trigger:e})),s.set(!1))}playing(e){const n=this.u.get("play"),s=this.u.get("seeked");n?e.triggers.add(n):s&&e.triggers.add(s),setTimeout(()=>this.vb(),0);const{paused:i,playing:r,live:o,liveSyncPosition:a,seekableEnd:l,started:c,currentTime:u,seeking:d,ended:h}=this.$state;if(i.set(!1),r.set(!0),d.set(!1),h.set(!1),this.g.Ob){this.g.Ob=!1;return}if(o()&&!c()&&u()===0){const p=a()??l()-2;Number.isFinite(p)&&this.a.$provider().setCurrentTime(p)}this.started(e)}started(e){const{started:n}=this.$state;n()||(n.set(!0),this.V(this.createEvent("started",{trigger:e})))}pause(e){var r;(r=this.el)!=null&&r.isConnected||(this.Cc=!0),this.D("media-pause-request",e);const n=this.u.get("seeked");n&&e.triggers.add(n);const{paused:s,playing:i}=this.$state;s.set(!0),i.set(!1),this.rd&&setTimeout(()=>{this.V(this.createEvent("end",{trigger:e})),this.rd=!1},0),this.vb()}"time-change"(e){if(this.g.Ob){e.stopImmediatePropagation();return}let{waiting:n,played:s,clipEndTime:i,realCurrentTime:r,currentTime:o}=this.$state,a=e.detail,l=i();r.set(a),this.Pn(),n.set(!1);for(const c of this.a.textTracks)c[fe.Eb](a,e);l>0&&a>=l&&(this.rd=!0,this.dispatch("media-pause-request",{trigger:e})),this.$j(),this.dispatch("time-update",{detail:{currentTime:o(),played:s()},trigger:e})}Pn(){const{currentTime:e,played:n,paused:s}=this.$state;s()||(this.Ln=z5(this.On,this.Ln,e()),n.set(new pr(this.On)))}Wg(e){const{clipStartTime:n,clipEndTime:s,duration:i}=this.$state;n()>0||s()>0||this.V(this.createEvent("time-change",{detail:i(),trigger:e}))}$j(){var i;const{storage:e}=this.a,{canPlay:n,realCurrentTime:s}=this.$state;n()&&((i=e==null?void 0:e.setTime)==null||i.call(e,s()))}"audio-gain-change"(e){var r;const{storage:n}=this.a,{canPlay:s,audioGain:i}=this.$state;i.set(e.detail),this.D("media-audio-gain-change-request",e),s()&&((r=n==null?void 0:n.setAudioGain)==null||r.call(n,i()))}"volume-change"(e){var a,l;const{storage:n}=this.a,{volume:s,muted:i,canPlay:r}=this.$state,o=e.detail;s.set(o.volume),i.set(o.muted||o.volume===0),this.D("media-volume-change-request",e),this.D(o.muted?"media-mute-request":"media-unmute-request",e),r()&&((a=n==null?void 0:n.setVolume)==null||a.call(n,s()),(l=n==null?void 0:n.setMuted)==null||l.call(n,i()))}seeked(e){const{seeking:n,currentTime:s,realCurrentTime:i,paused:r,seekableEnd:o,ended:a}=this.$state;if(this.g.Ja)n.set(!0),e.stopImmediatePropagation();else if(n()){const l=this.u.get("waiting");l&&e.triggers.add(l);const c=this.u.get("seeking");c&&!e.triggers.has(c)&&e.triggers.add(c),r()&&this.Qg(),n.set(!1),i.set(e.detail),this.D("media-seek-request",e);const u=e==null?void 0:e.originEvent;u!=null&&u.isTrusted&&!/seek/.test(u.type)&&this.started(e)}Math.floor(s())!==Math.floor(o())?a.set(!1):this.end(e)}waiting(e){this.sd||this.g.Ja||(e.stopImmediatePropagation(),this.Pb=e,this.Le())}end(e){const{loop:n,ended:s}=this.$state;if(!(!n()&&s())){if(n()){setTimeout(()=>{requestAnimationFrame(()=>{this._j(e),this.dispatch("media-loop-request",{trigger:e})})},10);return}setTimeout(()=>this.lc(e),0)}}lc(e){var a;const{storage:n}=this.a,{paused:s,seeking:i,ended:r,duration:o}=this.$state;this.Wg(e),s()||this.dispatch("pause",{trigger:e}),i()&&this.dispatch("seeked",{detail:o(),trigger:e}),r.set(!0),this.vb(),(a=n==null?void 0:n.setTime)==null||a.call(n,o(),!0),this.dispatch("ended",{trigger:e})}Qg(){this.Le.cancel(),this.$state.waiting.set(!1)}"fullscreen-change"(e){const n=e.detail;this.$state.fullscreen.set(n),this.D(n?"media-enter-fullscreen-request":"media-exit-fullscreen-request",e)}"fullscreen-error"(e){this.D("media-enter-fullscreen-request",e),this.D("media-exit-fullscreen-request",e)}"orientation-change"(e){const n=e.detail.lock;this.D(n?"media-orientation-lock-request":"media-orientation-unlock-request",e)}"picture-in-picture-change"(e){const n=e.detail;this.$state.pictureInPicture.set(n),this.D(n?"media-enter-pip-request":"media-exit-pip-request",e)}"picture-in-picture-error"(e){this.D("media-enter-pip-request",e),this.D("media-exit-pip-request",e)}"title-change"(e){e.trigger&&(e.stopImmediatePropagation(),this.$state.inferredTitle.set(e.detail))}"poster-change"(e){e.trigger&&(e.stopImmediatePropagation(),this.$state.inferredPoster.set(e.detail))}}class L9 extends us{onSetup(){this.Hb();const e=[this.bk,this.ck,this.Jn,this.Kn,this.Xd,this.Ca,this.ek,this.fk,this.gk,this.hk,this.ik,this.Me,this.jk,this.kk,this.td];for(const n of e)te(n.bind(this))}Hb(){var s;const e={duration:"providedDuration",loop:"providedLoop",poster:"providedPoster",streamType:"providedStreamType",title:"providedTitle",viewType:"providedViewType"},n=new Set(["currentTime","paused","playbackRate","volume"]);for(const i of Object.keys(this.$props))n.has(i)||(s=this.$state[e[i]??i])==null||s.set(this.$props[i]());this.$state.muted.set(this.$props.muted()||this.$props.volume()===0)}kk(){const{viewType:e,streamType:n,title:s,poster:i,loop:r}=this.$props,o=this.$state;o.providedPoster.set(i()),o.providedStreamType.set(n()),o.providedViewType.set(e()),o.providedTitle.set(s()),o.providedLoop.set(r())}ak(){}bk(){const{artist:e,artwork:n}=this.$props;this.$state.artist.set(e()),this.$state.artwork.set(n())}td(){const{title:e}=this.$state;this.dispatch("title-change",{detail:e()})}ck(){const e=this.$props.autoPlay()||this.$props.autoplay();this.$state.autoPlay.set(e),this.dispatch("auto-play-change",{detail:e})}ik(){const e=this.$state.loop();this.dispatch("loop-change",{detail:e})}Xd(){const e=this.$props.controls();this.$state.controls.set(e)}jk(){const{poster:e}=this.$state;this.dispatch("poster-change",{detail:e()})}Ca(){const e=this.$props.crossOrigin()??this.$props.crossorigin(),n=e===!0?"":e;this.$state.crossOrigin.set(n)}ek(){const{duration:e}=this.$props;this.dispatch("media-duration-change-request",{detail:e()})}Me(){const e=this.$props.playsInline()||this.$props.playsinline();this.$state.playsInline.set(e),this.dispatch("plays-inline-change",{detail:e})}Jn(){const{clipStartTime:e}=this.$props;this.dispatch("media-clip-start-change-request",{detail:e()})}Kn(){const{clipEndTime:e}=this.$props;this.dispatch("media-clip-end-change-request",{detail:e()})}fk(){this.dispatch("live-change",{detail:this.$state.live()})}hk(){this.$state.liveEdgeTolerance.set(this.$props.liveEdgeTolerance()),this.$state.minLiveDVRWindow.set(this.$props.minLiveDVRWindow())}gk(){this.dispatch("live-edge-change",{detail:this.$state.liveEdge()})}}const di=class di extends us{constructor(){super()}onConnect(){te(this.lk.bind(this)),te(this.mk.bind(this));const e=this.nk.bind(this);for(const n of di.Xg)navigator.mediaSession.setActionHandler(n,e);tt(this.Fa.bind(this))}Fa(){for(const e of di.Xg)navigator.mediaSession.setActionHandler(e,null)}lk(){const{title:e,artist:n,artwork:s,poster:i}=this.$state;navigator.mediaSession.metadata=new MediaMetadata({title:e(),artist:n(),artwork:s()??[{src:i()}]})}mk(){const{canPlay:e,paused:n}=this.$state;navigator.mediaSession.playbackState=e()?n()?"paused":"playing":"none"}nk(e){const n=new Ae("media-session-action",{detail:e});switch(e.action){case"play":this.dispatch("media-play-request",{trigger:n});break;case"pause":this.dispatch("media-pause-request",{trigger:n});break;case"seekto":case"seekforward":case"seekbackward":this.dispatch("media-seek-request",{detail:Ei(e.seekTime)?e.seekTime:this.$state.currentTime()+(e.seekOffset??10),trigger:n});break}}};di.Xg=["play","pause","seekforward","seekbackward","seekto"];let Ca=di;var x9=Object.defineProperty,A9=Object.getOwnPropertyDescriptor,Te=(t,e,n,s)=>{for(var i=s>1?void 0:s?A9(e,n):e,r=t.length-1,o;r>=0;r--)(o=t[r])&&(i=(s?o(e,n,i):o(i))||i);return s&&i&&x9(e,n,i),i},tn;const Ee=(tn=class extends Tl{constructor(){super(),this.canPlayQueue=new a2,this.Re=!1,new L9;const e={player:this,qualities:new l9,audioTracks:new a9,storage:null,$provider:Ge(null),$providerSetup:Ge(!1),$props:this.$props,$state:this.$state};e.remote=this.remoteControl=new n9(void 0),e.remote.setPlayer(this),e.textTracks=new o9,e.textTracks[fe.Db]=this.$state.crossOrigin,e.textRenderers=new r9(e),e.ariaKeys={},this.a=e,x3(N3,e),this.orientation=new Or,new J7,new h9(e);const n=new S9;this.Ba=new _9(n,e),this.W=new T9(this.Ba,n,e),e.delegate=new k9(this.Ba.V.bind(this.Ba),e),typeof navigator<"u"&&"mediaSession"in navigator&&new Ca,new Fu("load",this.startLoading.bind(this)),new Fu("posterLoad",this.startLoadingPoster.bind(this))}get p(){return this.a.$provider()}get vd(){return this.$props}onSetup(){this.rk(),te(this.sk.bind(this)),te(this.tk.bind(this)),te(this.fc.bind(this)),te(this.Fc.bind(this)),te(this.Qb.bind(this)),te(this.Me.bind(this)),te(this.Qe.bind(this))}onAttach(e){e.setAttribute("data-media-player",""),Ru(e,"tabindex","0"),Ru(e,"role","region"),te(this.uk.bind(this)),te(this.td.bind(this)),te(this.Yg.bind(this)),ce(e,"find-media-player",this.vk.bind(this))}onConnect(e){F3&&Ve(e,"data-iphone","");const n=window.matchMedia("(pointer: coarse)");this.Zg(n),n.onchange=this.Zg.bind(this);const s=new ResizeObserver(Sl(this.pa.bind(this)));s.observe(e),te(this.pa.bind(this)),this.dispatch("media-player-connect",{detail:this,bubbles:!0,composed:!0}),tt(()=>{s.disconnect(),n.onchange=null})}onDestroy(){this.a.player=null,this.canPlayQueue.z()}td(){const e=this.$el,{title:n,live:s,viewType:i,providedTitle:r}=this.$state,o=s(),a=r5(i()),l=a!=="Unknown"?`${o?"Live ":""}${a}`:o?"Live":"Media",c=n();Ve(this.el,"aria-label",`${l} Player`+(c?` - ${c}`:"")),e!=null&&e.hasAttribute("title")&&(this.Re=!0,e==null||e.removeAttribute("title"))}Yg(){const e=this.orientation.landscape?"landscape":"portrait";this.$state.orientation.set(e),Ve(this.el,"data-orientation",e),this.pa()}sk(){this.$state.canPlay()&&this.p?this.canPlayQueue.Xa():this.canPlayQueue.$()}rk(){if(tn[Do]){this.setAttributes(tn[Do]);return}const e={"data-load":function(){return this.$props.load()},"data-captions":function(){const s=this.$state.textTrack();return!!s&&Ft(s)},"data-ios-controls":function(){return this.$state.iOSControls()},"data-controls":function(){return this.controls.showing},"data-buffering":function(){const{canLoad:s,canPlay:i,waiting:r}=this.$state;return s()&&(!i()||r())},"data-error":function(){const{error:s}=this.$state;return!!s()},"data-autoplay-error":function(){const{autoPlayError:s}=this.$state;return!!s()}},n={autoPlay:"autoplay",canAirPlay:"can-airplay",canPictureInPicture:"can-pip",pictureInPicture:"pip",playsInline:"playsinline",remotePlaybackState:"remote-state",remotePlaybackType:"remote-type",isAirPlayConnected:"airplay",isGoogleCastConnected:"google-cast"};for(const s of C9){const i="data-"+(n[s]??I3(s));e[i]=function(){return this.$state[s]()}}delete e.title,tn[Do]=e,this.setAttributes(e)}vk(e){e.detail(this)}pa(){if(!this.el)return;const e=this.el.clientWidth,n=this.el.clientHeight;this.$state.width.set(e),this.$state.height.set(n),is(this.el,"--player-width",e+"px"),is(this.el,"--player-height",n+"px")}Zg(e){const n=e.matches?"coarse":"fine";Ve(this.el,"data-pointer",n),this.$state.pointer.set(n),this.pa()}get provider(){return this.p}get controls(){return this.W.yc}set controls(e){this.vd.controls.set(e)}get title(){return se(this.$state.providedTitle)}set title(e){if(this.Re){this.Re=!1;return}this.$state.providedTitle.set(e)}get qualities(){return this.a.qualities}get audioTracks(){return this.a.audioTracks}get textTracks(){return this.a.textTracks}get textRenderers(){return this.a.textRenderers}get duration(){return this.$state.duration()}set duration(e){this.vd.duration.set(e)}get paused(){return se(this.$state.paused)}set paused(e){this._g(e)}fc(){this._g(this.$props.paused())}_g(e){e?this.canPlayQueue.k("paused",()=>this.W.Ee()):this.canPlayQueue.k("paused",()=>this.W.Ac())}get muted(){return se(this.$state.muted)}set muted(e){this.vd.muted.set(e)}tk(){this.wk(this.$props.muted())}wk(e){this.canPlayQueue.k("muted",()=>{this.p&&this.p.setMuted(e)})}get currentTime(){return se(this.$state.currentTime)}set currentTime(e){this.$g(e)}Qb(){this.$g(this.$props.currentTime())}$g(e){this.canPlayQueue.k("currentTime",()=>{const{currentTime:n,clipStartTime:s,seekableStart:i,seekableEnd:r}=this.$state;e!==se(n)&&se(()=>{if(!this.p)return;const o=e+s(),a=Math.floor(o)===Math.floor(r()),l=a?r():Math.min(Math.max(i()+.1,o),r()-.1);Number.isFinite(l)&&this.p.setCurrentTime(l)})})}get volume(){return se(this.$state.volume)}set volume(e){this.vd.volume.set(e)}Fc(){this.xk(this.$props.volume())}xk(e){const n=X7(0,e,1);this.canPlayQueue.k("volume",()=>{this.p&&this.p.setVolume(n)})}get playbackRate(){return se(this.$state.playbackRate)}set playbackRate(e){this.ah(e)}Qe(){this.ah(this.$props.playbackRate())}ah(e){this.canPlayQueue.k("rate",()=>{var n,s;this.p&&((s=(n=this.p).setPlaybackRate)==null||s.call(n,e))})}Me(){this.yk(this.$props.playsInline())}yk(e){this.canPlayQueue.k("playsinline",()=>{var n,s;this.p&&((s=(n=this.p).setPlaysInline)==null||s.call(n,e))})}uk(){var s;let e=this.$props.storage(),n=pe(e)?new s9:e;if(n!=null&&n.onChange){const{source:i}=this.$state,r=pe(e)?e:(s=this.el)==null?void 0:s.id,o=Rs(this.zk.bind(this));te(()=>n.onChange(i(),o(),r||void 0))}this.a.storage=n,this.a.textTracks.setStorage(n),tt(()=>{var i;(i=n==null?void 0:n.onDestroy)==null||i.call(n),this.a.storage=null,this.a.textTracks.setStorage(null)})}zk(){const{clipStartTime:e,clipEndTime:n}=this.$props,{source:s}=this.$state,i=s();return i.src?`${i.src}:${e()}:${n()}`:null}async play(e){return this.W.Ac(e)}async pause(e){return this.W.Ee(e)}async enterFullscreen(e,n){return this.W.Jg(e,n)}async exitFullscreen(e,n){return this.W.Lg(e,n)}enterPictureInPicture(e){return this.W.He(e)}exitPictureInPicture(e){return this.W.Ge(e)}seekToLiveEdge(e){this.W.Ig(e)}startLoading(e){this.a.delegate.c("can-load",void 0,e)}startLoadingPoster(e){this.a.delegate.c("can-load-poster",void 0,e)}requestAirPlay(e){return this.W.Ng(e)}requestGoogleCast(e){return this.W.Og(e)}setAudioGain(e,n){return this.W.Hg(e,n)}destroy(){super.destroy(),this.a.remote.setPlayer(null),this.dispatch("destroy")}},tn.props=w9,tn.state=n2,tn);Te([nt],Ee.prototype,"canPlayQueue",2);Te([nt],Ee.prototype,"remoteControl",2);Te([nt],Ee.prototype,"provider",1);Te([nt],Ee.prototype,"controls",1);Te([nt],Ee.prototype,"orientation",2);Te([nt],Ee.prototype,"title",1);Te([nt],Ee.prototype,"qualities",1);Te([nt],Ee.prototype,"audioTracks",1);Te([nt],Ee.prototype,"textTracks",1);Te([nt],Ee.prototype,"textRenderers",1);Te([nt],Ee.prototype,"duration",1);Te([nt],Ee.prototype,"paused",1);Te([nt],Ee.prototype,"muted",1);Te([nt],Ee.prototype,"currentTime",1);Te([nt],Ee.prototype,"volume",1);Te([nt],Ee.prototype,"playbackRate",1);Te([kt],Ee.prototype,"play",1);Te([kt],Ee.prototype,"pause",1);Te([kt],Ee.prototype,"enterFullscreen",1);Te([kt],Ee.prototype,"exitFullscreen",1);Te([kt],Ee.prototype,"enterPictureInPicture",1);Te([kt],Ee.prototype,"exitPictureInPicture",1);Te([kt],Ee.prototype,"seekToLiveEdge",1);Te([kt],Ee.prototype,"startLoading",1);Te([kt],Ee.prototype,"startLoadingPoster",1);Te([kt],Ee.prototype,"requestAirPlay",1);Te([kt],Ee.prototype,"requestGoogleCast",1);Te([kt],Ee.prototype,"setAudioGain",1);let P9=Ee;function O9(t,e){return fetch(t,e).then(n=>n.text()).then(n=>/type="static"/.test(n)?"on-demand":"live")}function l2(t,e){return fetch(t,e).then(n=>n.text()).then(n=>{const s=I9(n);if(s)return l2(/^https?:/.test(s)?s:new URL(s,t).href,e);const i=/EXT-X-PLAYLIST-TYPE:\s*VOD/.test(n)?"on-demand":"live";return i==="live"&&M9(n)>=10&&(/#EXT-X-DVR-ENABLED:\s*true/.test(n)||n.includes("#EXT-X-DISCONTINUITY"))?"live:dvr":i})}function I9(t){const e=t.match(/#EXT-X-STREAM-INF:[^\n]+(\n[^\n]+)*/g);return e?e[0].split(` `)[1].trim():null}function M9(t){const e=t.split(` -`);for(const n of e)if(n.startsWith("#EXT-X-TARGETDURATION")){const s=parseFloat(n.split(":")[1]);if(!isNaN(s))return s}return-1}const wa=new Map;class R9{constructor(e,n,s,i=[]){this.wd=e,this.a=n,this.X=s,this.Se=!1;const r=new ba,o=new ya,a=new Hl,l=new v9,c=new b9,u=new y9,d=[c,u];this.Te=Rs(()=>{const p=n.$state.remotePlaybackLoader(),m=n.$props.preferNativeHLS()?[a,l,r,o,...d,...i]:[o,a,l,r,...d,...i];return p?[p,...m]:m});const{$state:h}=n;h.sources.set(Bu(n.$props.src()));for(const p of h.sources()){const m=this.Te().find(w=>w.canPlay(p));if(!m)continue;const v=m.mediaType(p);this.a.$state.source.set(p),this.a.$state.mediaType.set(v),this.a.$state.inferredViewType.set(v),this.X.set(m),this.Se=!0;break}}get c(){return this.a.delegate.c}connect(){const e=this.X();this.Se&&(this.bh(this.a.$state.source(),e),this.ch(e),this.Se=!1),te(this.Ak.bind(this)),te(this.Bk.bind(this)),te(this.Ck.bind(this)),te(this.Dk.bind(this)),te(this.Ek.bind(this))}Ak(){this.c("sources-change",[...Bu(this.a.$props.src()),...this.wd()])}Bk(){var o;const{$state:e}=this.a,n=e.sources(),s=se(e.source),i=this.dh(s,n);if(((o=n[0])==null?void 0:o.src)&&!i.src&&!i.type){const{crossOrigin:a}=e,l=mr(a()),c=new AbortController;return Promise.all(n.map(u=>pe(u.src)&&u.type==="?"?fetch(u.src,{method:"HEAD",credentials:l,signal:c.signal}).then(d=>(u.type=d.headers.get("content-type")||"??",wa.set(u.src,u.type),u)).catch(()=>u):u)).then(u=>{if(c.signal.aborted)return;const d=this.dh(se(e.source),u);ki(),d.src||this.c("error",{message:"Failed to load resource.",code:4})}),()=>c.abort()}ki()}dh(e,n){let s={src:"",type:""},i=null,r=new Ae("sources-change",{detail:{sources:n}}),o=this.Te(),{started:a,paused:l,currentTime:c,quality:u,savedState:d}=this.a.$state;for(const h of n){const p=o.find(m=>m.canPlay(h));if(p){s=h,i=p;break}}if(va(s)){const h=u(),p=n.find(m=>m.src===(h==null?void 0:h.src));se(a)?d.set({paused:se(l),currentTime:se(c)}):d.set(null),p&&(s=p,r=new Ae("quality-change",{detail:{quality:h}}))}return Wu(e,s)||this.bh(s,i,r),i!==se(this.X)&&this.ch(i,r),s}bh(e,n,s){this.c("source-change",e,s),this.c("media-type-change",(n==null?void 0:n.mediaType(e))||"unknown",s)}ch(e,n){this.a.$providerSetup.set(!1),this.c("provider-change",null,n),e&&se(()=>{var s;return(s=e.preconnect)==null?void 0:s.call(e,this.a)}),this.X.set(e),this.c("provider-loader-change",e,n)}Ck(){const e=this.a.$provider();if(!(!e||se(this.a.$providerSetup))){if(this.a.$state.canLoad()){xt(()=>e.setup(),e.scope),this.a.$providerSetup.set(!0);return}se(()=>{var n;return(n=e.preconnect)==null?void 0:n.call(e)})}}Dk(){if(!this.a.$providerSetup())return;const e=this.a.$provider(),n=this.a.$state.source(),s=se(this.a.$state.crossOrigin),i=se(this.a.$props.preferNativeHLS);if(!Wu(e==null?void 0:e.currentSrc,n)){if(this.a.$state.canLoad()){const r=new AbortController;return Bi(n)?(i||!Ll())&&l2(n.src,{credentials:mr(s),signal:r.signal}).then(o=>{this.c("stream-type-change",o)}).catch($r):Pl(n)?O9(n.src,{credentials:mr(s),signal:r.signal}).then(o=>{this.c("stream-type-change",o)}).catch($r):this.c("stream-type-change","on-demand"),se(()=>{const o=se(this.a.$state.preload);return e==null?void 0:e.loadSource(n,o).catch(a=>{})}),()=>r.abort()}try{pe(n.src)&&so(new URL(n.src).origin)}catch{}}}Ek(){const e=this.X(),{providedPoster:n,source:s,canLoadPoster:i}=this.a.$state;if(!e||!e.loadPoster||!s()||!i()||n())return;const r=new AbortController,o=new Ae("source-change",{detail:s});return e.loadPoster(s(),this.a,r).then(a=>{this.c("poster-change",a||"",o)}).catch(()=>{this.c("poster-change","",o)}),()=>{r.abort()}}}function Bu(t){return(jt(t)?t:[t]).map(e=>pe(e)?{src:e,type:zu(e)}:{...e,type:zu(e.src,e.type)})}function zu(t,e){return pe(e)&&e.length?e:pe(t)&&wa.has(t)?wa.get(t):!e&&Bi({src:t,type:""})?"application/x-mpegurl":!e&&Pl({src:t,type:""})?"application/dash+xml":!pe(t)||t.startsWith("blob:")?"video/object":t.includes("youtube")||t.includes("youtu.be")?"video/youtube":t.includes("vimeo")&&!t.includes("progressive_redirect")&&!t.includes(".m3u8")?"video/vimeo":"?"}function Wu(t,e){return(t==null?void 0:t.src)===(e==null?void 0:e.src)&&(t==null?void 0:t.type)===(e==null?void 0:e.type)}class D9{constructor(e,n){this.xd=e,this.a=n,this.eh=[],te(this.Fk.bind(this))}Fk(){const e=this.xd();for(const n of this.eh)if(!e.some(s=>s.id===n.id)){const s=n.id&&this.a.textTracks.getById(n.id);s&&this.a.textTracks.remove(s)}for(const n of e){const s=n.id||_r.createId(n);this.a.textTracks.getById(s)||(n.id=s,this.a.textTracks.add(n))}this.eh=e}}var H9=Object.defineProperty,V9=Object.getOwnPropertyDescriptor,N9=(t,e,n,s)=>{for(var i=V9(e,n),r=t.length-1,o;r>=0;r--)(o=t[r])&&(i=o(e,n,i)||i);return i&&H9(e,n,i),i};const Nr=class Nr extends Tl{constructor(){super(...arguments),this.wd=Ge([]),this.xd=Ge([]),this.X=null,this.Ue=-1}onSetup(){this.a=_l(),this.fh=new R9(this.wd,this.a,this.$state.loader,this.$props.loaders())}onAttach(e){e.setAttribute("data-media-provider","")}onConnect(e){this.fh.connect(),new D9(this.xd,this.a);const n=new ResizeObserver(Sl(this.pa.bind(this)));n.observe(e);const s=new MutationObserver(this.Gc.bind(this));s.observe(e,{attributes:!0,childList:!0}),this.pa(),this.Gc(),tt(()=>{n.disconnect(),s.disconnect()})}load(e){window.cancelAnimationFrame(this.Ue),this.Ue=requestAnimationFrame(()=>this.Gk(e)),tt(()=>{window.cancelAnimationFrame(this.Ue)})}Gk(e){if(!this.scope)return;const n=this.$state.loader(),{$provider:s}=this.a;this.X===n&&(n==null?void 0:n.target)===e&&se(s)||(this.gh(),this.X=n,n&&(n.target=e||null),!(!n||!e)&&n.load(this.a).then(i=>{this.scope&&se(this.$state.loader)===n&&this.a.delegate.c("provider-change",i)}))}onDestroy(){this.X=null,this.gh()}gh(){var e;(e=this.a)==null||e.delegate.c("provider-change",null)}pa(){if(!this.el)return;const{player:e,$state:n}=this.a,s=this.el.offsetWidth,i=this.el.offsetHeight;e&&(n.mediaWidth.set(s),n.mediaHeight.set(i),e.el&&(is(e.el,"--media-width",s+"px"),is(e.el,"--media-height",i+"px")))}Gc(){const e=[],n=[],s=this.el.children;for(const i of s)if(!i.hasAttribute("data-vds")){if(i instanceof HTMLSourceElement){const r={id:i.id,src:i.src,type:i.type};for(const o of["id","src","width","height","bitrate","codec"]){const a=i.getAttribute(`data-${o}`);pe(a)&&(r[o]=/id|src|codec/.test(o)?a:Number(a))}e.push(r)}else if(i instanceof HTMLTrackElement){const r={src:i.src,kind:i.track.kind,language:i.srclang,label:i.label,default:i.default,type:i.getAttribute("data-type")};n.push({id:i.id||_r.createId(r),...r})}}this.wd.set(e),this.xd.set(n),ki()}};Nr.props={loaders:[]},Nr.state=new O3({loader:null});let Ir=Nr;N9([kt],Ir.prototype,"load");const Zl=class Zl extends H3(HTMLElement,Ir){constructor(){super(...arguments),this.G=null,this.Xm=null}onSetup(){this.a=_l(),this.setAttribute("keep-alive","")}onDestroy(){var e,n;(e=this.Xm)==null||e.remove(),this.Xm=null,(n=this.G)==null||n.remove(),this.G=null}onConnect(){te(()=>{var a,l,c;const e=this.$state.loader(),n=(e==null?void 0:e.name)==="youtube",s=(e==null?void 0:e.name)==="vimeo",i=n||s,r=(e==null?void 0:e.name)==="google-cast",o=e?r?this.kn():i?this.ln():e.mediaType()==="audio"?this.mn():this.an():null;if(this.G!==o){const u=((a=this.G)==null?void 0:a.parentElement)??this;(l=this.G)==null||l.remove(),this.G=o,o&&u.prepend(o),i&&o&&te(()=>{var w;const{nativeControls:d,viewType:h}=this.a.$state,p=d(),m=h()==="audio";!p&&!m?(this.Xm=this.querySelector(".vds-blocker"),this.Xm||(this.Xm=document.createElement("div"),this.Xm.classList.add("vds-blocker"),o.after(this.Xm))):((w=this.Xm)==null||w.remove(),this.Xm=null),Ve(o,"data-no-controls",!p)})}n?o==null||o.classList.add("vds-youtube"):s&&(o==null||o.classList.add("vds-vimeo")),i||((c=this.Xm)==null||c.remove(),this.Xm=null),this.load(o)})}mn(){const e=this.G instanceof HTMLAudioElement?this.G:document.createElement("audio");Ve(e,"preload","none"),Ve(e,"aria-hidden","true");const{controls:n,crossOrigin:s}=this.a.$state;return te(()=>{Ve(e,"controls",n()),Ve(e,"crossorigin",s())}),e}an(){const e=this.G instanceof HTMLVideoElement?this.G:document.createElement("video"),{crossOrigin:n,poster:s,nativeControls:i}=this.a.$state,r=Rs(()=>i()?"true":null),o=Rs(()=>s()&&i()?s():null);return te(()=>{Ve(e,"controls",r()),Ve(e,"crossorigin",n()),Ve(e,"poster",o())}),e}ln(){const e=this.G instanceof HTMLIFrameElement?this.G:document.createElement("iframe"),{nativeControls:n}=this.a.$state;return te(()=>Ve(e,"tabindex",n()?null:-1)),e}kn(){var n;if((n=this.G)!=null&&n.classList.contains("vds-google-cast"))return this.G;const e=document.createElement("div");return e.classList.add("vds-google-cast"),ne(async()=>{const{insertContent:s}=await import("./vidstack-BmG4eXX--Lb4svZpN.js");return{insertContent:s}},[]).then(({insertContent:s})=>{s(e,this.a.$state)}),e}};Zl.tagName="media-provider";let ka=Zl;const jr=class jr extends H3(HTMLElement,P9){};jr.tagName="media-player",jr.attrs={autoPlay:"autoplay",crossOrigin:"crossorigin",playsInline:"playsinline",preferNativeHLS:"prefer-native-hls",minLiveDVRWindow:"min-live-dvr-window"};let Ea=jr;$l(Ea);$l(ka);class j9{constructor(e){this.props=e,this.name="vidstack"}async load(){await ne(()=>import("./vidstack-player-default-layout-BJPPev0n.js"),__vite__mapDeps([44,45])),await ne(()=>import("./vidstack-player-ui-B3Ew_Qfp.js"),__vite__mapDeps([46,45,47]))}create(){const e=[document.createElement("media-audio-layout"),document.createElement("media-video-layout")];if(this.props)for(const[n,s]of Object.entries(this.props))for(const i of e)i[n]=s;return e}}const Gu=Symbol();class F9{static async create({target:e,layout:n,tracks:s,...i}){if(pe(e)&&(e=document.querySelector(e)),!e2(e))throw Error(`[vidstack] target must be of type \`HTMLElement\`, found \`${typeof e}\``);let r=document.createElement("media-player"),o=document.createElement("media-provider"),a,l=!r2(e)&&!o2(e)&&!u9(e);if(r.setAttribute("keep-alive",""),i.poster&&(n==null?void 0:n.name)!=="plyr"){if(!customElements.get("media-poster")){const{MediaPosterElement:p}=await ne(async()=>{const{MediaPosterElement:m}=await import("./vidstack-BwnT8mmU-XaG381DE.js");return{MediaPosterElement:m}},[]);$l(p)}const h=document.createElement("media-poster");(n==null?void 0:n.name)==="vidstack"&&h.classList.add("vds-poster"),o.append(h)}n&&(e.removeAttribute("controls"),n[Gu]||(await n.load(),n[Gu]=!0),a=await n.create());const c=e.getAttribute("title");c&&r.setAttribute("title",c);const u=e.getAttribute("width"),d=e.getAttribute("height");(u||d)&&(u&&(r.style.width=u),d&&(r.style.height=d),r.style.aspectRatio="unset");for(const h of e.attributes){const p=h.name.replace("data-",""),m=i5(p);if(m in r)r.setAttribute(p,h.value);else if(a!=null&&a.length)for(const v of a)m in v&&v.setAttribute(p,h.value)}for(const[h,p]of Object.entries(i))r[h]=p;if(s)for(const h of s)r.textTracks.add(h);if(r.append(o),a)for(const h of a)r.append(h);if(l)e.append(r);else{for(const h of[...e.children])o.append(h);e.replaceWith(r)}return r}}const Uu=t=>Ns(t)?t:We(t);var q9={"/en/":{},"/":{Play:"播放",Pause:"暂停","Enter Fullscreen":"进入全屏","Exit Fullscreen":"退出全屏","Enter PiP":"进入画中画","Exit PiP":"退出画中画","Closed-Captions On":"开启字幕","Closed-Captions Off":"关闭字幕",Mute:"静音",Volume:"音量","Seek Forward":"快进","Seek Backward":"快退",Announcements:"公告",Accessibility:"无障碍",Audio:"音频",Auto:"自动",Boost:"增强",Captions:"字幕","Caption Styles":"字幕样式","Captions look like this":"字幕样式",Chapters:"章节",Connected:"已连接",Continue:"继续",Connecting:"连接中",Default:"默认",Disabled:"已禁用",Disconnected:"已断开连接","Display Background":"显示背景",Download:"下载",Font:"字体",Family:"字体",Fullscreen:"全屏","Keyboard Animations":"键盘动画",LIVE:"直播",Loop:"循环",Normal:"正常",Off:"关闭",Playback:"播放",PiP:"画中画",Quality:"画质",Replay:"重播",Reset:"重置",Seek:"搜索",Settings:"设置","Skip To Live":"跳转到直播",Speed:"速度",Size:"大小",Color:"颜色",Opacity:"透明度",Shadow:"阴影",Text:"文本","Text Background":"文本背景",Track:"轨道",Unmute:"取消静音"}},B9=K({name:"VidStack",props:{src:{type:[String,Array,Object],required:!0},tracks:{type:Array,default:()=>[]},poster:{type:String,default:""},thumbnails:{type:String,default:""},title:{type:String,default:""},player:{type:Object,default:()=>({})},layout:{type:Object,default:()=>({})},darkmode:Boolean},setup(t){const e=Q(),n=gn(q9);let s=null;return we(async()=>{const i={target:e.value,crossOrigin:!0,poster:t.poster,title:t.title,...t.player,layout:new j9({colorScheme:t.darkmode?"dark":"light",thumbnails:t.thumbnails,translations:n.value,...t.layout})};i.src=Oe(t.src)?Uu(t.src):Er(t.src)?t.src.map(r=>Oe(r)?Uu(r):r):t.src,t.tracks.length&&(i.tracks=t.tracks),s=await F9.create(i),s.addEventListener("provider-change",()=>{var r,o;((r=s.provider)==null?void 0:r.type)==="hls"?s.provider.library=()=>ne(()=>import("./hls.min-Ck6d70Lw.js").then(a=>a.h),__vite__mapDeps([48,49])):((o=s.provider)==null?void 0:o.type)==="dash"&&(s.provider.library=()=>ne(()=>import("./dash.all.min-CAyvvgYm.js").then(a=>a.d),__vite__mapDeps([50,49])))})}),Ya(()=>{s==null||s.destroy()}),()=>f("div",{ref:e})}});const z9=Dt({enhance:({app:t})=>{Xe("FontIcon")||t.component("FontIcon",C4),Xe("Badge")||t.component("Badge",a3),Xe("BiliBili")||t.component("BiliBili",H4),Xe("VPCard")||t.component("VPCard",v3),Xe("VidStack")||t.component("VidStack",B9)},setup:()=>{Lo("https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6/js/brands.min.js",()=>{},{attrs:{"data-auto-replace-svg":"nest"}}),Lo("https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6/js/solid.min.js",()=>{},{attrs:{"data-auto-replace-svg":"nest"}}),Lo("https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6/js/fontawesome.min.js",()=>{},{attrs:{"data-auto-replace-svg":"nest"}})},rootComponents:[]}),W9=Object.freeze(Object.defineProperty({__proto__:null,default:z9},Symbol.toStringTag,{value:"Module"})),Ku=async(t,e)=>{const{path:n,query:s}=t.currentRoute.value,{scrollBehavior:i}=t.options;t.options.scrollBehavior=void 0,await t.replace({path:n,query:s,hash:e}),t.options.scrollBehavior=i},G9=({headerLinkSelector:t,headerAnchorSelector:e,delay:n,offset:s=5})=>{const i=Fs();$e("scroll",n3(()=>{var m,v;const o=Math.max(window.scrollY,document.documentElement.scrollTop,document.body.scrollTop);if(Math.abs(o-0)d.some(C=>C.hash===w.hash));for(let w=0;w=(((m=C.parentElement)==null?void 0:m.offsetTop)??0)-s,E=!k||o<(((v=k.parentElement)==null?void 0:v.offsetTop)??0)-s;if(!(y&&E))continue;const P=decodeURIComponent(i.currentRoute.value.hash),A=decodeURIComponent(C.hash);if(P===A)return;if(u){for(let F=w+1;FOe(t.title)?{title:t.title}:null;const u2=Symbol(""),J9=t=>{c2=t},e8=()=>je(u2),t8=t=>{t.provide(u2,c2)};var n8={"/en/":{title:"Catalog",empty:"No catalog"},"/":{title:"目录",empty:"暂无目录"}};const s8=K({name:"Catalog",props:{base:{type:String,default:""},level:{type:Number,default:3},index:Boolean,hideHeading:Boolean},setup(t){const e=e8(),n=gn(n8),s=qe(),i=Fd(),r=al(),a=Fe(Jd(i.value).map(([c,{meta:u}])=>{const d=e(u);if(!d)return null;const h=c.split("/").length;return{level:zp(c,"/")?h-2:h-1,base:c.replace(/\/[^/]+\/?$/,"/"),path:c,...d}}).filter(c=>js(c)&&Oe(c.title))),l=S(()=>{const c=t.base?r0(Ld(t.base)):s.value.path.replace(/\/[^/]+$/,"/"),u=c.split("/").length-2,d=[];return a.value.filter(({level:h,path:p})=>{if(!Is(p,c)||p===c)return!1;if(c==="/"){const m=as(r.value.locales).filter(v=>v!=="/");if(p==="/404.html"||m.some(v=>Is(p,v)))return!1}return h-u<=t.level}).sort(({title:h,level:p,order:m},{title:v,level:w,order:C})=>{const k=p-w;return k||($o(m)?$o(C)?m>0?C>0?m-C:-1:C<0?m-C:1:m:$o(C)?C:h.localeCompare(v))}).forEach(h=>{var v;const{base:p,level:m}=h;switch(m-u){case 1:{d.push(h);break}case 2:{const w=d.find(C=>C.path===p);w&&(w.children??(w.children=[])).push(h);break}default:{const w=d.find(C=>C.path===p.replace(/\/[^/]+\/$/,"/"));if(w){const C=(v=w.children)==null?void 0:v.find(k=>k.path===p);C&&(C.children??(C.children=[])).push(h)}}}}),d});return()=>{const c=l.value.some(u=>u.children);return f("div",{class:["vp-catalog-wrapper",{index:t.index}]},[t.hideHeading?null:f("h2",{class:"vp-catalog-main-title"},n.value.title),l.value.length?f(t.index?"ol":"ul",{class:["vp-catalogs",{deep:c}]},l.value.map(({children:u=[],title:d,path:h,content:p})=>{const m=f(Mt,{class:"vp-catalog-title",to:h},()=>p?f(p):d);return f("li",{class:"vp-catalog"},c?[f("h3",{id:d,class:["vp-catalog-child-title",{"has-children":u.length}]},[f("a",{href:`#${d}`,class:"vp-catalog-header-anchor","aria-hidden":!0},"#"),m]),u.length?f(t.index?"ol":"ul",{class:"vp-child-catalogs"},u.map(({children:v=[],content:w,path:C,title:k})=>f("li",{class:"vp-child-catalog"},[f("div",{class:["vp-catalog-sub-title",{"has-children":v.length}]},[f("a",{href:`#${k}`,class:"vp-catalog-header-anchor"},"#"),f(Mt,{class:"vp-catalog-title",to:C},()=>w?f(w):k)]),v.length?f(t.index?"ol":"div",{class:t.index?"vp-sub-catalogs":"vp-sub-catalogs-wrapper"},v.map(({content:y,path:E,title:x})=>t.index?f("li",{class:"vp-sub-catalog"},f(Mt,{to:E},()=>y?f(y):x)):f(Mt,{class:"vp-sub-catalog-link",to:E},()=>y?f(y):x))):null]))):null]:f("div",{class:"vp-catalog-child-title"},m))})):f("p",{class:"vp-empty-catalog"},n.value.empty)])}}}),i8=Dt({enhance:({app:t})=>{t8(t),Xe("Catalog",t)||t.component("Catalog",s8)}}),r8=Object.freeze(Object.defineProperty({__proto__:null,default:i8},Symbol.toStringTag,{value:"Module"}));var o8={"/en/":{backToTop:"Back to top"},"/":{backToTop:"返回顶部"}};const a8=K({name:"BackToTop",setup(){const t=Ie(),e=gn(o8),n=Fe(),{height:s}=g4(n),{height:i}=b4(),{y:r}=y4(),o=S(()=>t.value.backToTop!==!1&&r.value>100),a=S(()=>r.value/(s.value-i.value)*100);return we(()=>{n.value=document.body}),()=>f(Mn,{name:"back-to-top"},()=>o.value?f("button",{type:"button",class:"vp-back-to-top-button","aria-label":e.value.backToTop,onClick:()=>{window.scrollTo({top:0,behavior:"smooth"})}},[f("span",{class:"vp-scroll-progress",role:"progressbar","aria-labelledby":"loadinglabel","aria-valuenow":a.value},f("svg",f("circle",{cx:"26",cy:"26",r:"24",fill:"none",stroke:"currentColor","stroke-width":"4","stroke-dasharray":`${Math.PI*a.value*.48} ${Math.PI*(100-a.value)*.48}`}))),f("div",{class:"back-to-top-icon"})]):null)}}),l8=Dt({rootComponents:[a8]}),c8=Object.freeze(Object.defineProperty({__proto__:null,default:l8},Symbol.toStringTag,{value:"Module"}));/** +`);for(const n of e)if(n.startsWith("#EXT-X-TARGETDURATION")){const s=parseFloat(n.split(":")[1]);if(!isNaN(s))return s}return-1}const wa=new Map;class R9{constructor(e,n,s,i=[]){this.wd=e,this.a=n,this.X=s,this.Se=!1;const r=new ba,o=new ya,a=new Hl,l=new v9,c=new b9,u=new y9,d=[c,u];this.Te=Rs(()=>{const p=n.$state.remotePlaybackLoader(),m=n.$props.preferNativeHLS()?[a,l,r,o,...d,...i]:[o,a,l,r,...d,...i];return p?[p,...m]:m});const{$state:h}=n;h.sources.set(Bu(n.$props.src()));for(const p of h.sources()){const m=this.Te().find(w=>w.canPlay(p));if(!m)continue;const v=m.mediaType(p);this.a.$state.source.set(p),this.a.$state.mediaType.set(v),this.a.$state.inferredViewType.set(v),this.X.set(m),this.Se=!0;break}}get c(){return this.a.delegate.c}connect(){const e=this.X();this.Se&&(this.bh(this.a.$state.source(),e),this.ch(e),this.Se=!1),te(this.Ak.bind(this)),te(this.Bk.bind(this)),te(this.Ck.bind(this)),te(this.Dk.bind(this)),te(this.Ek.bind(this))}Ak(){this.c("sources-change",[...Bu(this.a.$props.src()),...this.wd()])}Bk(){var o;const{$state:e}=this.a,n=e.sources(),s=se(e.source),i=this.dh(s,n);if(((o=n[0])==null?void 0:o.src)&&!i.src&&!i.type){const{crossOrigin:a}=e,l=mr(a()),c=new AbortController;return Promise.all(n.map(u=>pe(u.src)&&u.type==="?"?fetch(u.src,{method:"HEAD",credentials:l,signal:c.signal}).then(d=>(u.type=d.headers.get("content-type")||"??",wa.set(u.src,u.type),u)).catch(()=>u):u)).then(u=>{if(c.signal.aborted)return;const d=this.dh(se(e.source),u);ki(),d.src||this.c("error",{message:"Failed to load resource.",code:4})}),()=>c.abort()}ki()}dh(e,n){let s={src:"",type:""},i=null,r=new Ae("sources-change",{detail:{sources:n}}),o=this.Te(),{started:a,paused:l,currentTime:c,quality:u,savedState:d}=this.a.$state;for(const h of n){const p=o.find(m=>m.canPlay(h));if(p){s=h,i=p;break}}if(va(s)){const h=u(),p=n.find(m=>m.src===(h==null?void 0:h.src));se(a)?d.set({paused:se(l),currentTime:se(c)}):d.set(null),p&&(s=p,r=new Ae("quality-change",{detail:{quality:h}}))}return Wu(e,s)||this.bh(s,i,r),i!==se(this.X)&&this.ch(i,r),s}bh(e,n,s){this.c("source-change",e,s),this.c("media-type-change",(n==null?void 0:n.mediaType(e))||"unknown",s)}ch(e,n){this.a.$providerSetup.set(!1),this.c("provider-change",null,n),e&&se(()=>{var s;return(s=e.preconnect)==null?void 0:s.call(e,this.a)}),this.X.set(e),this.c("provider-loader-change",e,n)}Ck(){const e=this.a.$provider();if(!(!e||se(this.a.$providerSetup))){if(this.a.$state.canLoad()){xt(()=>e.setup(),e.scope),this.a.$providerSetup.set(!0);return}se(()=>{var n;return(n=e.preconnect)==null?void 0:n.call(e)})}}Dk(){if(!this.a.$providerSetup())return;const e=this.a.$provider(),n=this.a.$state.source(),s=se(this.a.$state.crossOrigin),i=se(this.a.$props.preferNativeHLS);if(!Wu(e==null?void 0:e.currentSrc,n)){if(this.a.$state.canLoad()){const r=new AbortController;return Bi(n)?(i||!Ll())&&l2(n.src,{credentials:mr(s),signal:r.signal}).then(o=>{this.c("stream-type-change",o)}).catch($r):Pl(n)?O9(n.src,{credentials:mr(s),signal:r.signal}).then(o=>{this.c("stream-type-change",o)}).catch($r):this.c("stream-type-change","on-demand"),se(()=>{const o=se(this.a.$state.preload);return e==null?void 0:e.loadSource(n,o).catch(a=>{})}),()=>r.abort()}try{pe(n.src)&&so(new URL(n.src).origin)}catch{}}}Ek(){const e=this.X(),{providedPoster:n,source:s,canLoadPoster:i}=this.a.$state;if(!e||!e.loadPoster||!s()||!i()||n())return;const r=new AbortController,o=new Ae("source-change",{detail:s});return e.loadPoster(s(),this.a,r).then(a=>{this.c("poster-change",a||"",o)}).catch(()=>{this.c("poster-change","",o)}),()=>{r.abort()}}}function Bu(t){return(jt(t)?t:[t]).map(e=>pe(e)?{src:e,type:zu(e)}:{...e,type:zu(e.src,e.type)})}function zu(t,e){return pe(e)&&e.length?e:pe(t)&&wa.has(t)?wa.get(t):!e&&Bi({src:t,type:""})?"application/x-mpegurl":!e&&Pl({src:t,type:""})?"application/dash+xml":!pe(t)||t.startsWith("blob:")?"video/object":t.includes("youtube")||t.includes("youtu.be")?"video/youtube":t.includes("vimeo")&&!t.includes("progressive_redirect")&&!t.includes(".m3u8")?"video/vimeo":"?"}function Wu(t,e){return(t==null?void 0:t.src)===(e==null?void 0:e.src)&&(t==null?void 0:t.type)===(e==null?void 0:e.type)}class D9{constructor(e,n){this.xd=e,this.a=n,this.eh=[],te(this.Fk.bind(this))}Fk(){const e=this.xd();for(const n of this.eh)if(!e.some(s=>s.id===n.id)){const s=n.id&&this.a.textTracks.getById(n.id);s&&this.a.textTracks.remove(s)}for(const n of e){const s=n.id||_r.createId(n);this.a.textTracks.getById(s)||(n.id=s,this.a.textTracks.add(n))}this.eh=e}}var H9=Object.defineProperty,V9=Object.getOwnPropertyDescriptor,N9=(t,e,n,s)=>{for(var i=V9(e,n),r=t.length-1,o;r>=0;r--)(o=t[r])&&(i=o(e,n,i)||i);return i&&H9(e,n,i),i};const Nr=class Nr extends Tl{constructor(){super(...arguments),this.wd=Ge([]),this.xd=Ge([]),this.X=null,this.Ue=-1}onSetup(){this.a=_l(),this.fh=new R9(this.wd,this.a,this.$state.loader,this.$props.loaders())}onAttach(e){e.setAttribute("data-media-provider","")}onConnect(e){this.fh.connect(),new D9(this.xd,this.a);const n=new ResizeObserver(Sl(this.pa.bind(this)));n.observe(e);const s=new MutationObserver(this.Gc.bind(this));s.observe(e,{attributes:!0,childList:!0}),this.pa(),this.Gc(),tt(()=>{n.disconnect(),s.disconnect()})}load(e){window.cancelAnimationFrame(this.Ue),this.Ue=requestAnimationFrame(()=>this.Gk(e)),tt(()=>{window.cancelAnimationFrame(this.Ue)})}Gk(e){if(!this.scope)return;const n=this.$state.loader(),{$provider:s}=this.a;this.X===n&&(n==null?void 0:n.target)===e&&se(s)||(this.gh(),this.X=n,n&&(n.target=e||null),!(!n||!e)&&n.load(this.a).then(i=>{this.scope&&se(this.$state.loader)===n&&this.a.delegate.c("provider-change",i)}))}onDestroy(){this.X=null,this.gh()}gh(){var e;(e=this.a)==null||e.delegate.c("provider-change",null)}pa(){if(!this.el)return;const{player:e,$state:n}=this.a,s=this.el.offsetWidth,i=this.el.offsetHeight;e&&(n.mediaWidth.set(s),n.mediaHeight.set(i),e.el&&(is(e.el,"--media-width",s+"px"),is(e.el,"--media-height",i+"px")))}Gc(){const e=[],n=[],s=this.el.children;for(const i of s)if(!i.hasAttribute("data-vds")){if(i instanceof HTMLSourceElement){const r={id:i.id,src:i.src,type:i.type};for(const o of["id","src","width","height","bitrate","codec"]){const a=i.getAttribute(`data-${o}`);pe(a)&&(r[o]=/id|src|codec/.test(o)?a:Number(a))}e.push(r)}else if(i instanceof HTMLTrackElement){const r={src:i.src,kind:i.track.kind,language:i.srclang,label:i.label,default:i.default,type:i.getAttribute("data-type")};n.push({id:i.id||_r.createId(r),...r})}}this.wd.set(e),this.xd.set(n),ki()}};Nr.props={loaders:[]},Nr.state=new O3({loader:null});let Ir=Nr;N9([kt],Ir.prototype,"load");const Zl=class Zl extends H3(HTMLElement,Ir){constructor(){super(...arguments),this.G=null,this.Xm=null}onSetup(){this.a=_l(),this.setAttribute("keep-alive","")}onDestroy(){var e,n;(e=this.Xm)==null||e.remove(),this.Xm=null,(n=this.G)==null||n.remove(),this.G=null}onConnect(){te(()=>{var a,l,c;const e=this.$state.loader(),n=(e==null?void 0:e.name)==="youtube",s=(e==null?void 0:e.name)==="vimeo",i=n||s,r=(e==null?void 0:e.name)==="google-cast",o=e?r?this.kn():i?this.ln():e.mediaType()==="audio"?this.mn():this.an():null;if(this.G!==o){const u=((a=this.G)==null?void 0:a.parentElement)??this;(l=this.G)==null||l.remove(),this.G=o,o&&u.prepend(o),i&&o&&te(()=>{var w;const{nativeControls:d,viewType:h}=this.a.$state,p=d(),m=h()==="audio";!p&&!m?(this.Xm=this.querySelector(".vds-blocker"),this.Xm||(this.Xm=document.createElement("div"),this.Xm.classList.add("vds-blocker"),o.after(this.Xm))):((w=this.Xm)==null||w.remove(),this.Xm=null),Ve(o,"data-no-controls",!p)})}n?o==null||o.classList.add("vds-youtube"):s&&(o==null||o.classList.add("vds-vimeo")),i||((c=this.Xm)==null||c.remove(),this.Xm=null),this.load(o)})}mn(){const e=this.G instanceof HTMLAudioElement?this.G:document.createElement("audio");Ve(e,"preload","none"),Ve(e,"aria-hidden","true");const{controls:n,crossOrigin:s}=this.a.$state;return te(()=>{Ve(e,"controls",n()),Ve(e,"crossorigin",s())}),e}an(){const e=this.G instanceof HTMLVideoElement?this.G:document.createElement("video"),{crossOrigin:n,poster:s,nativeControls:i}=this.a.$state,r=Rs(()=>i()?"true":null),o=Rs(()=>s()&&i()?s():null);return te(()=>{Ve(e,"controls",r()),Ve(e,"crossorigin",n()),Ve(e,"poster",o())}),e}ln(){const e=this.G instanceof HTMLIFrameElement?this.G:document.createElement("iframe"),{nativeControls:n}=this.a.$state;return te(()=>Ve(e,"tabindex",n()?null:-1)),e}kn(){var n;if((n=this.G)!=null&&n.classList.contains("vds-google-cast"))return this.G;const e=document.createElement("div");return e.classList.add("vds-google-cast"),ne(async()=>{const{insertContent:s}=await import("./vidstack-BmG4eXX--BI7S4l5E.js");return{insertContent:s}},[]).then(({insertContent:s})=>{s(e,this.a.$state)}),e}};Zl.tagName="media-provider";let ka=Zl;const jr=class jr extends H3(HTMLElement,P9){};jr.tagName="media-player",jr.attrs={autoPlay:"autoplay",crossOrigin:"crossorigin",playsInline:"playsinline",preferNativeHLS:"prefer-native-hls",minLiveDVRWindow:"min-live-dvr-window"};let Ea=jr;$l(Ea);$l(ka);class j9{constructor(e){this.props=e,this.name="vidstack"}async load(){await ne(()=>import("./vidstack-player-default-layout-BaQyumWW.js"),__vite__mapDeps([44,45])),await ne(()=>import("./vidstack-player-ui-eaTuNaDe.js"),__vite__mapDeps([46,45,47]))}create(){const e=[document.createElement("media-audio-layout"),document.createElement("media-video-layout")];if(this.props)for(const[n,s]of Object.entries(this.props))for(const i of e)i[n]=s;return e}}const Gu=Symbol();class F9{static async create({target:e,layout:n,tracks:s,...i}){if(pe(e)&&(e=document.querySelector(e)),!e2(e))throw Error(`[vidstack] target must be of type \`HTMLElement\`, found \`${typeof e}\``);let r=document.createElement("media-player"),o=document.createElement("media-provider"),a,l=!r2(e)&&!o2(e)&&!u9(e);if(r.setAttribute("keep-alive",""),i.poster&&(n==null?void 0:n.name)!=="plyr"){if(!customElements.get("media-poster")){const{MediaPosterElement:p}=await ne(async()=>{const{MediaPosterElement:m}=await import("./vidstack-BwnT8mmU-Bdxs9Dwe.js");return{MediaPosterElement:m}},[]);$l(p)}const h=document.createElement("media-poster");(n==null?void 0:n.name)==="vidstack"&&h.classList.add("vds-poster"),o.append(h)}n&&(e.removeAttribute("controls"),n[Gu]||(await n.load(),n[Gu]=!0),a=await n.create());const c=e.getAttribute("title");c&&r.setAttribute("title",c);const u=e.getAttribute("width"),d=e.getAttribute("height");(u||d)&&(u&&(r.style.width=u),d&&(r.style.height=d),r.style.aspectRatio="unset");for(const h of e.attributes){const p=h.name.replace("data-",""),m=i5(p);if(m in r)r.setAttribute(p,h.value);else if(a!=null&&a.length)for(const v of a)m in v&&v.setAttribute(p,h.value)}for(const[h,p]of Object.entries(i))r[h]=p;if(s)for(const h of s)r.textTracks.add(h);if(r.append(o),a)for(const h of a)r.append(h);if(l)e.append(r);else{for(const h of[...e.children])o.append(h);e.replaceWith(r)}return r}}const Uu=t=>Ns(t)?t:We(t);var q9={"/en/":{},"/":{Play:"播放",Pause:"暂停","Enter Fullscreen":"进入全屏","Exit Fullscreen":"退出全屏","Enter PiP":"进入画中画","Exit PiP":"退出画中画","Closed-Captions On":"开启字幕","Closed-Captions Off":"关闭字幕",Mute:"静音",Volume:"音量","Seek Forward":"快进","Seek Backward":"快退",Announcements:"公告",Accessibility:"无障碍",Audio:"音频",Auto:"自动",Boost:"增强",Captions:"字幕","Caption Styles":"字幕样式","Captions look like this":"字幕样式",Chapters:"章节",Connected:"已连接",Continue:"继续",Connecting:"连接中",Default:"默认",Disabled:"已禁用",Disconnected:"已断开连接","Display Background":"显示背景",Download:"下载",Font:"字体",Family:"字体",Fullscreen:"全屏","Keyboard Animations":"键盘动画",LIVE:"直播",Loop:"循环",Normal:"正常",Off:"关闭",Playback:"播放",PiP:"画中画",Quality:"画质",Replay:"重播",Reset:"重置",Seek:"搜索",Settings:"设置","Skip To Live":"跳转到直播",Speed:"速度",Size:"大小",Color:"颜色",Opacity:"透明度",Shadow:"阴影",Text:"文本","Text Background":"文本背景",Track:"轨道",Unmute:"取消静音"}},B9=K({name:"VidStack",props:{src:{type:[String,Array,Object],required:!0},tracks:{type:Array,default:()=>[]},poster:{type:String,default:""},thumbnails:{type:String,default:""},title:{type:String,default:""},player:{type:Object,default:()=>({})},layout:{type:Object,default:()=>({})},darkmode:Boolean},setup(t){const e=Y(),n=gn(q9);let s=null;return we(async()=>{const i={target:e.value,crossOrigin:!0,poster:t.poster,title:t.title,...t.player,layout:new j9({colorScheme:t.darkmode?"dark":"light",thumbnails:t.thumbnails,translations:n.value,...t.layout})};i.src=Oe(t.src)?Uu(t.src):Er(t.src)?t.src.map(r=>Oe(r)?Uu(r):r):t.src,t.tracks.length&&(i.tracks=t.tracks),s=await F9.create(i),s.addEventListener("provider-change",()=>{var r,o;((r=s.provider)==null?void 0:r.type)==="hls"?s.provider.library=()=>ne(()=>import("./hls.min-Ck6d70Lw.js").then(a=>a.h),__vite__mapDeps([48,49])):((o=s.provider)==null?void 0:o.type)==="dash"&&(s.provider.library=()=>ne(()=>import("./dash.all.min-CAyvvgYm.js").then(a=>a.d),__vite__mapDeps([50,49])))})}),Qa(()=>{s==null||s.destroy()}),()=>f("div",{ref:e})}});const z9=Dt({enhance:({app:t})=>{Xe("FontIcon")||t.component("FontIcon",C4),Xe("Badge")||t.component("Badge",a3),Xe("BiliBili")||t.component("BiliBili",H4),Xe("VPCard")||t.component("VPCard",v3),Xe("VidStack")||t.component("VidStack",B9)},setup:()=>{Lo("https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6/js/brands.min.js",()=>{},{attrs:{"data-auto-replace-svg":"nest"}}),Lo("https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6/js/solid.min.js",()=>{},{attrs:{"data-auto-replace-svg":"nest"}}),Lo("https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6/js/fontawesome.min.js",()=>{},{attrs:{"data-auto-replace-svg":"nest"}})},rootComponents:[]}),W9=Object.freeze(Object.defineProperty({__proto__:null,default:z9},Symbol.toStringTag,{value:"Module"})),Ku=async(t,e)=>{const{path:n,query:s}=t.currentRoute.value,{scrollBehavior:i}=t.options;t.options.scrollBehavior=void 0,await t.replace({path:n,query:s,hash:e}),t.options.scrollBehavior=i},G9=({headerLinkSelector:t,headerAnchorSelector:e,delay:n,offset:s=5})=>{const i=Fs();$e("scroll",n3(()=>{var m,v;const o=Math.max(window.scrollY,document.documentElement.scrollTop,document.body.scrollTop);if(Math.abs(o-0)d.some(C=>C.hash===w.hash));for(let w=0;w=(((m=C.parentElement)==null?void 0:m.offsetTop)??0)-s,E=!k||o<(((v=k.parentElement)==null?void 0:v.offsetTop)??0)-s;if(!(y&&E))continue;const P=decodeURIComponent(i.currentRoute.value.hash),A=decodeURIComponent(C.hash);if(P===A)return;if(u){for(let F=w+1;FOe(t.title)?{title:t.title}:null;const u2=Symbol(""),J9=t=>{c2=t},e8=()=>je(u2),t8=t=>{t.provide(u2,c2)};var n8={"/en/":{title:"Catalog",empty:"No catalog"},"/":{title:"目录",empty:"暂无目录"}};const s8=K({name:"Catalog",props:{base:{type:String,default:""},level:{type:Number,default:3},index:Boolean,hideHeading:Boolean},setup(t){const e=e8(),n=gn(n8),s=qe(),i=Fd(),r=al(),a=Fe(Jd(i.value).map(([c,{meta:u}])=>{const d=e(u);if(!d)return null;const h=c.split("/").length;return{level:zp(c,"/")?h-2:h-1,base:c.replace(/\/[^/]+\/?$/,"/"),path:c,...d}}).filter(c=>js(c)&&Oe(c.title))),l=S(()=>{const c=t.base?r0(Ld(t.base)):s.value.path.replace(/\/[^/]+$/,"/"),u=c.split("/").length-2,d=[];return a.value.filter(({level:h,path:p})=>{if(!Is(p,c)||p===c)return!1;if(c==="/"){const m=as(r.value.locales).filter(v=>v!=="/");if(p==="/404.html"||m.some(v=>Is(p,v)))return!1}return h-u<=t.level}).sort(({title:h,level:p,order:m},{title:v,level:w,order:C})=>{const k=p-w;return k||($o(m)?$o(C)?m>0?C>0?m-C:-1:C<0?m-C:1:m:$o(C)?C:h.localeCompare(v))}).forEach(h=>{var v;const{base:p,level:m}=h;switch(m-u){case 1:{d.push(h);break}case 2:{const w=d.find(C=>C.path===p);w&&(w.children??(w.children=[])).push(h);break}default:{const w=d.find(C=>C.path===p.replace(/\/[^/]+\/$/,"/"));if(w){const C=(v=w.children)==null?void 0:v.find(k=>k.path===p);C&&(C.children??(C.children=[])).push(h)}}}}),d});return()=>{const c=l.value.some(u=>u.children);return f("div",{class:["vp-catalog-wrapper",{index:t.index}]},[t.hideHeading?null:f("h2",{class:"vp-catalog-main-title"},n.value.title),l.value.length?f(t.index?"ol":"ul",{class:["vp-catalogs",{deep:c}]},l.value.map(({children:u=[],title:d,path:h,content:p})=>{const m=f(Mt,{class:"vp-catalog-title",to:h},()=>p?f(p):d);return f("li",{class:"vp-catalog"},c?[f("h3",{id:d,class:["vp-catalog-child-title",{"has-children":u.length}]},[f("a",{href:`#${d}`,class:"vp-catalog-header-anchor","aria-hidden":!0},"#"),m]),u.length?f(t.index?"ol":"ul",{class:"vp-child-catalogs"},u.map(({children:v=[],content:w,path:C,title:k})=>f("li",{class:"vp-child-catalog"},[f("div",{class:["vp-catalog-sub-title",{"has-children":v.length}]},[f("a",{href:`#${k}`,class:"vp-catalog-header-anchor"},"#"),f(Mt,{class:"vp-catalog-title",to:C},()=>w?f(w):k)]),v.length?f(t.index?"ol":"div",{class:t.index?"vp-sub-catalogs":"vp-sub-catalogs-wrapper"},v.map(({content:y,path:E,title:x})=>t.index?f("li",{class:"vp-sub-catalog"},f(Mt,{to:E},()=>y?f(y):x)):f(Mt,{class:"vp-sub-catalog-link",to:E},()=>y?f(y):x))):null]))):null]:f("div",{class:"vp-catalog-child-title"},m))})):f("p",{class:"vp-empty-catalog"},n.value.empty)])}}}),i8=Dt({enhance:({app:t})=>{t8(t),Xe("Catalog",t)||t.component("Catalog",s8)}}),r8=Object.freeze(Object.defineProperty({__proto__:null,default:i8},Symbol.toStringTag,{value:"Module"}));var o8={"/en/":{backToTop:"Back to top"},"/":{backToTop:"返回顶部"}};const a8=K({name:"BackToTop",setup(){const t=Ie(),e=gn(o8),n=Fe(),{height:s}=g4(n),{height:i}=b4(),{y:r}=y4(),o=S(()=>t.value.backToTop!==!1&&r.value>100),a=S(()=>r.value/(s.value-i.value)*100);return we(()=>{n.value=document.body}),()=>f(Mn,{name:"back-to-top"},()=>o.value?f("button",{type:"button",class:"vp-back-to-top-button","aria-label":e.value.backToTop,onClick:()=>{window.scrollTo({top:0,behavior:"smooth"})}},[f("span",{class:"vp-scroll-progress",role:"progressbar","aria-labelledby":"loadinglabel","aria-valuenow":a.value},f("svg",f("circle",{cx:"26",cy:"26",r:"24",fill:"none",stroke:"currentColor","stroke-width":"4","stroke-dasharray":`${Math.PI*a.value*.48} ${Math.PI*(100-a.value)*.48}`}))),f("div",{class:"back-to-top-icon"})]):null)}}),l8=Dt({rootComponents:[a8]}),c8=Object.freeze(Object.defineProperty({__proto__:null,default:l8},Symbol.toStringTag,{value:"Module"}));/** * NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress * @license MIT - */const me={settings:{minimum:.08,easing:"ease",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,barSelector:'[role="bar"]',parent:"body",template:'
'},status:null,set:t=>{const e=me.isStarted();t=Vo(t,me.settings.minimum,1),me.status=t===1?null:t;const n=me.render(!e),s=n.querySelector(me.settings.barSelector),i=me.settings.speed,r=me.settings.easing;return n.offsetWidth,u8(o=>{lr(s,{transform:"translate3d("+Zu(t)+"%,0,0)",transition:"all "+i+"ms "+r}),t===1?(lr(n,{transition:"none",opacity:"1"}),n.offsetWidth,setTimeout(()=>{lr(n,{transition:"all "+i+"ms linear",opacity:"0"}),setTimeout(()=>{me.remove(),o()},i)},i)):setTimeout(()=>o(),i)}),me},isStarted:()=>typeof me.status=="number",start:()=>{me.status||me.set(0);const t=()=>{setTimeout(()=>{me.status&&(me.trickle(),t())},me.settings.trickleSpeed)};return me.settings.trickle&&t(),me},done:t=>!t&&!me.status?me:me.inc(.3+.5*Math.random()).set(1),inc:t=>{let e=me.status;return e?(typeof t!="number"&&(t=(1-e)*Vo(Math.random()*e,.1,.95)),e=Vo(e+t,0,.994),me.set(e)):me.start()},trickle:()=>me.inc(Math.random()*me.settings.trickleRate),render:t=>{if(me.isRendered())return document.getElementById("nprogress");Yu(document.documentElement,"nprogress-busy");const e=document.createElement("div");e.id="nprogress",e.innerHTML=me.settings.template;const n=e.querySelector(me.settings.barSelector),s=t?"-100":Zu(me.status||0),i=document.querySelector(me.settings.parent);return lr(n,{transition:"all 0 linear",transform:"translate3d("+s+"%,0,0)"}),i!==document.body&&Yu(i,"nprogress-custom-parent"),i==null||i.appendChild(e),e},remove:()=>{Qu(document.documentElement,"nprogress-busy"),Qu(document.querySelector(me.settings.parent),"nprogress-custom-parent");const t=document.getElementById("nprogress");t&&d8(t)},isRendered:()=>!!document.getElementById("nprogress")},Vo=(t,e,n)=>tn?n:t,Zu=t=>(-1+t)*100,u8=function(){const t=[];function e(){const n=t.shift();n&&n(e)}return function(n){t.push(n),t.length===1&&e()}}(),lr=function(){const t=["Webkit","O","Moz","ms"],e={};function n(o){return o.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(a,l){return l.toUpperCase()})}function s(o){const a=document.body.style;if(o in a)return o;let l=t.length;const c=o.charAt(0).toUpperCase()+o.slice(1);let u;for(;l--;)if(u=t[l]+c,u in a)return u;return o}function i(o){return o=n(o),e[o]??(e[o]=s(o))}function r(o,a,l){a=i(a),o.style[a]=l}return function(o,a){for(const l in a){const c=a[l];c!==void 0&&Object.prototype.hasOwnProperty.call(a,l)&&r(o,l,c)}}}(),d2=(t,e)=>(typeof t=="string"?t:Vl(t)).indexOf(" "+e+" ")>=0,Yu=(t,e)=>{const n=Vl(t),s=n+e;d2(n,e)||(t.className=s.substring(1))},Qu=(t,e)=>{const n=Vl(t);if(!d2(t,e))return;const s=n.replace(" "+e+" "," ");t.className=s.substring(1,s.length-1)},Vl=t=>(" "+(t.className||"")+" ").replace(/\s+/gi," "),d8=t=>{t&&t.parentNode&&t.parentNode.removeChild(t)},f8=()=>{we(()=>{const t=Fs(),e=new Set;e.add(t.currentRoute.value.path),t.beforeEach(n=>{e.has(n.path)||me.start()}),t.afterEach(n=>{e.add(n.path),me.done()})})},h8=Dt({setup(){f8()}}),p8=Object.freeze(Object.defineProperty({__proto__:null,default:h8},Symbol.toStringTag,{value:"Module"})),m8=JSON.parse(`{"encrypt":{"config":{"/demo/encrypt.html":["$2a$10$zdwrqD.G6hE2satNgZYAWesdSAsH1myise0gst5zR2MiqRB6LUltS"],"/zh/demo/encrypt.html":["$2a$10$bsmDi6p6DgvVKUw6RMiddejMdoJck3a3SOBy7A2agv/YM1SQoYe3i"]}},"author":{"name":"LMYY","url":"https://gaozih.com"},"license":"Apache 2.0","logo":"pvzg_nav.png","repo":"Gzh0821/pvzg_site","docsDir":"src","lastUpdated":false,"contributors":false,"editLink":false,"locales":{"/en/":{"lang":"en-US","navbarLocales":{"langName":"English","selectLangAriaLabel":"Select language"},"metaLocales":{"author":"Author","date":"Writing Date","origin":"Original","views":"Page views","category":"Category","tag":"Tag","readingTime":"Reading Time","words":"Words","toc":"On This Page","prev":"Prev","next":"Next","lastUpdated":"Last update","contributors":"Contributors","editLink":"Edit this page on GitHub","print":"Print"},"outlookLocales":{"themeColor":"Theme Color","darkmode":"Theme Mode","fullscreen":"Full Screen"},"encryptLocales":{"iconLabel":"Page Encrypted","placeholder":"Enter password","remember":"Remember password","errorHint":"Please enter the correct password!"},"routeLocales":{"skipToContent":"Skip to main content","notFoundTitle":"Page not found","notFoundMsg":["There’s nothing here.","How did we get here?","That’s a Four-Oh-Four.","Looks like we've got some broken links."],"back":"Go back","home":"Take me home","openInNewWindow":"Open in new window"},"navbar":["/en/","/en/download/","/en/guide/","/en/instructions/","/en/contribution/",{"text":"Online Play","link":"https://pvz2-test.gaozih.com","icon":"circle-play"}],"navbarTitle":"PvZ2 Gardendless","sidebar":{"/en/download/":"structure","/en/instructions/":"structure","/en/guide/":"structure","/en/contribution/":"structure","/en/":[]},"footer":"Official website of PvZ2 Gardendless: pvzge.com","copyright":"Copyright 2021-2024 Gaozih © All Rights Reserved.","displayFooter":true},"/":{"lang":"zh-CN","navbarLocales":{"langName":"简体中文","selectLangAriaLabel":"选择语言"},"metaLocales":{"author":"作者","date":"写作日期","origin":"原创","views":"访问量","category":"分类","tag":"标签","readingTime":"阅读时间","words":"字数","toc":"此页内容","prev":"上一页","next":"下一页","lastUpdated":"上次编辑于","contributors":"贡献者","editLink":"在 GitHub 上编辑此页","print":"打印"},"outlookLocales":{"themeColor":"主题色","darkmode":"外观","fullscreen":"全屏"},"encryptLocales":{"iconLabel":"文章已加密","placeholder":"输入密码","remember":"记住密码","errorHint":"请输入正确的密码"},"routeLocales":{"skipToContent":"跳至主要內容","notFoundTitle":"页面不存在","notFoundMsg":["这里什么也没有","我们是怎么来到这儿的?","这 是 四 零 四 !","看起来你访问了一个失效的链接"],"back":"返回上一页","home":"带我回家","openInNewWindow":"Open in new window"},"navbar":["/","/download/","/guide/","/instructions/","/contribution/",{"text":"在线游玩","link":"https://pvz2-test.gaozih.com","icon":"circle-play"}],"navbarTitle":"","sidebar":{"/download/":"structure","/instructions/":"structure","/guide/":"structure","/contribution/":"structure","/":[]},"footer":"《PvZ2 Gardendless》官方网站: pvzge.com","copyright":"Copyright 2021-2024 Gaozih © All Rights Reserved.","displayFooter":true}}}`),g8=Q(m8),f2=()=>g8,h2=Symbol(""),v8=()=>{const t=je(h2);if(!t)throw new Error("useThemeLocaleData() is called without provider.");return t},y8=(t,e)=>{const{locales:n,...s}=t;return{...s,...n==null?void 0:n[e]}},b8=Dt({enhance({app:t}){const e=f2(),n=t._context.provides[rl],s=S(()=>y8(e.value,n.routeLocale.value));t.provide(h2,s),Object.defineProperties(t.config.globalProperties,{$theme:{get(){return e.value}},$themeLocale:{get(){return s.value}}})}}),C8=Object.freeze(Object.defineProperty({__proto__:null,default:b8},Symbol.toStringTag,{value:"Module"}));var w8={provider:"Giscus",lightTheme:"https://unpkg.com/vuepress-theme-hope@2.0.0-rc.52/templates/giscus/light.css",darkTheme:"https://unpkg.com/vuepress-theme-hope@2.0.0-rc.52/templates/giscus/dark.css",repo:"Gzh0821/pvzg_site",repoId:"R_kgDOMVGuyA",category:"Announcements",categoryId:"DIC_kwDOMVGuyM4ChC2W"};const k8=w8,E8=Q(k8),p2=Symbol(""),m2=()=>je(p2),T8=m2,S8=t=>{t.provide(p2,E8)},g2=()=>f("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",preserveAspectRatio:"xMidYMid",viewBox:"0 0 100 100"},[f("circle",{cx:"28",cy:"75",r:"11",fill:"currentColor"},f("animate",{attributeName:"fill-opacity",begin:"0s",dur:"1s",keyTimes:"0;0.2;1",repeatCount:"indefinite",values:"0;1;1"})),f("path",{fill:"none",stroke:"#88baf0","stroke-width":"10",d:"M28 47a28 28 0 0 1 28 28"},f("animate",{attributeName:"stroke-opacity",begin:"0.1s",dur:"1s",keyTimes:"0;0.2;1",repeatCount:"indefinite",values:"0;1;1"})),f("path",{fill:"none",stroke:"#88baf0","stroke-width":"10",d:"M28 25a50 50 0 0 1 50 50"},f("animate",{attributeName:"stroke-opacity",begin:"0.2s",dur:"1s",keyTimes:"0;0.2;1",repeatCount:"indefinite",values:"0;1;1"}))]);g2.displayName="LoadingIcon";const Xu=["ar","ca","da","de","en","eo","es","fa","fr","he","id","it","ja","ko","nl","pl","pt","ro","ru","th","tr","uk","uz","vi","zh-CN","zh-TW"],$8=K({name:"GiscusComment",props:{identifier:{type:String,required:!0},darkmode:Boolean},setup(t){const e=T8(),n=ol(),s=S(()=>!!(e.value.repo&&e.value.repoId&&e.value.category&&e.value.categoryId)),i=Q(!1),r=S(()=>{if(Xu.includes(n.value))return n.value;const a=n.value.split("-")[0];return Xu.includes(a)?a:"en"}),o=S(()=>({repo:e.value.repo,repoId:e.value.repoId,category:e.value.category,categoryId:e.value.categoryId,lang:r.value,theme:t.darkmode?e.value.darkTheme||"dark":e.value.lightTheme||"light",mapping:e.value.mapping||"pathname",term:t.identifier,inputPosition:e.value.inputPosition||"top",reactionsEnabled:e.value.reactionsEnabled===!1?"0":"1",strict:e.value.strict===!1?"0":"1",loading:e.value.lazyLoading===!1?"eager":"lazy",emitMetadata:"0"}));return we(async()=>{await ne(()=>import("./giscus-D-fkNSKD.js"),[]),i.value=!0}),()=>s.value?f("div",{id:"comment",class:["giscus-wrapper",{"input-top":e.value.inputPosition!=="bottom"}]},i.value?f("giscus-widget",o.value):f(g2)):null}}),_8=K({name:"CommentService",props:{darkmode:Boolean},setup(t){const e=m2(),n=qe(),s=Ie(),i=S(()=>e.value.comment!==!1),r=S(()=>s.value.comment||i.value&&s.value.comment!==!1);return()=>f($8,{id:"vp-comment",identifier:s.value.commentID||n.value.path,darkmode:t.darkmode,style:{display:r.value?"block":"none"}})}}),L8=Dt({enhance:({app:t})=>{S8(t),t.component("CommentService",_8)}}),x8=Object.freeze(Object.defineProperty({__proto__:null,default:L8},Symbol.toStringTag,{value:"Module"})),A8=/language-(shellscript|shell|bash|sh|zsh)/,P8=({delay:t=500,duration:e=2e3,locales:n,selector:s,showInMobile:i,ignoreSelector:r=[],transform:o})=>{const a=ul("(max-width: 419px)"),l=S(()=>!a.value||i),c=gn(n),u=qe(),d=w=>{var k;if(w.hasAttribute("copy-code-registered"))return;const C=document.createElement("button");C.type="button",C.classList.add("vp-copy-code-button"),C.setAttribute("aria-label",c.value.copy),C.setAttribute("data-copied",c.value.copied),(k=w.parentElement)==null||k.insertBefore(C,w),w.setAttribute("copy-code-registered","")};he(()=>[u.value.path,l.value],async()=>{document.body.classList.toggle("copy-code-disabled",!l.value),l.value&&(await an(),await Qd(t),document.querySelectorAll(s.join(",")).forEach(d))},{immediate:!0});const{copy:p}=l4({legacy:!0}),m=new WeakMap,v=(w,C,k)=>{const y=C.cloneNode(!0);r.length&&y.querySelectorAll(r.join(",")).forEach(x=>x.remove()),o&&o(y);let E=y.textContent||"";A8.test(w.className)&&(E=E.replace(/^ *(\$|>) /gm,"")),p(E).then(()=>{if(e<=0)return;k.classList.add("copied"),clearTimeout(m.get(k));const x=setTimeout(()=>{k.classList.remove("copied"),k.blur(),m.delete(k)},e);m.set(k,x)})};$e("click",w=>{const C=w.target;if(l.value&&C.matches('div[class*="language-"] > button.vp-copy-code-button')){const k=C.parentElement,y=C.nextElementSibling;if(!k||!y)return;v(k,y,C)}})};var O8={"/en/":{copy:"Copy code",copied:"Copied"},"/":{copy:"复制代码",copied:"已复制"}},I8=['.theme-hope-content div[class*="language-"] pre'];const M8=Dt({setup:()=>{P8({selector:I8,locales:O8,duration:2e3,delay:500,showInMobile:!1})}}),R8=Object.freeze(Object.defineProperty({__proto__:null,default:M8},Symbol.toStringTag,{value:"Module"})),cr=ls("VUEPRESS_CODE_TAB_STORE",{});var D8=K({name:"CodeTabs",props:{active:{type:Number,default:0},data:{type:Array,required:!0},id:{type:String,required:!0},tabId:{type:String,default:""}},slots:Object,setup(t,{slots:e}){const n=Q(t.active),s=Fe([]),i=()=>{t.tabId&&(cr.value[t.tabId]=t.data[n.value].id)},r=(c=n.value)=>{n.value=c{n.value=c>0?c-1:s.value.length-1,s.value[n.value].focus()},a=(c,u)=>{c.key===" "||c.key==="Enter"?(c.preventDefault(),n.value=u):c.key==="ArrowRight"?(c.preventDefault(),r()):c.key==="ArrowLeft"&&(c.preventDefault(),o()),t.tabId&&(cr.value[t.tabId]=t.data[n.value].id)},l=()=>{if(t.tabId){const c=t.data.findIndex(({id:u})=>cr.value[t.tabId]===u);if(c!==-1)return c}return t.active};return we(()=>{n.value=l(),he(()=>cr.value[t.tabId],(c,u)=>{if(t.tabId&&c!==u){const d=t.data.findIndex(({id:h})=>h===c);d!==-1&&(n.value=d)}})}),()=>t.data.length?f("div",{class:"vp-code-tabs"},[f("div",{class:"vp-code-tabs-nav",role:"tablist"},t.data.map(({id:c},u)=>{const d=u===n.value;return f("button",{type:"button",ref:h=>{h&&(s.value[u]=h)},class:["vp-code-tab-nav",{active:d}],role:"tab","aria-controls":`codetab-${t.id}-${u}`,"aria-selected":d,onClick:()=>{n.value=u,i()},onKeydown:h=>a(h,u)},e[`title${u}`]({value:c,isActive:d}))})),t.data.map(({id:c},u)=>{const d=u===n.value;return f("div",{class:["vp-code-tab",{active:d}],id:`codetab-${t.id}-${u}`,role:"tabpanel","aria-expanded":d},[f("div",{class:"vp-code-tab-title"},e[`title${u}`]({value:c,isActive:d})),e[`tab${u}`]({value:c,isActive:d})])})]):null}});const v2=({active:t=!1},{slots:e})=>{var n;return f("div",{class:["code-group-item",{active:t}],"aria-selected":t},(n=e.default)==null?void 0:n.call(e))};v2.displayName="CodeGroupItem";const H8=K({name:"CodeGroup",slots:Object,setup(t,{slots:e}){const n=Q(-1),s=Fe([]),i=(a=n.value)=>{n.value=a{n.value=a>0?a-1:s.value.length-1,s.value[n.value].focus()},o=(a,l)=>{a.key===" "||a.key==="Enter"?(a.preventDefault(),n.value=l):a.key==="ArrowRight"?(a.preventDefault(),i(l)):a.key==="ArrowLeft"&&(a.preventDefault(),r(l))};return()=>{var l;const a=(((l=e.default)==null?void 0:l.call(e))||[]).filter(c=>c.type.name==="CodeGroupItem").map(c=>(c.props===null&&(c.props={}),c));return a.length===0?null:(n.value<0||n.value>a.length-1?(n.value=a.findIndex(c=>"active"in c.props),n.value===-1&&(n.value=0)):a.forEach((c,u)=>{c.props.active=u===n.value}),f("div",{class:"code-group"},[f("div",{class:"code-group-nav"},a.map((c,u)=>{const d=u===n.value;return f("button",{type:"button",ref:h=>{h&&(s.value[u]=h)},class:["code-group-nav-tab",{active:d}],"aria-pressed":d,"aria-expanded":d,onClick:()=>{n.value=u},onKeydown:h=>o(h,u)},c.props.title)})),a]))}}}),V8='',N8='';var j8={useBabel:!1,jsLib:[],cssLib:[],codepenLayout:"left",codepenEditors:"101",babel:"https://unpkg.com/@babel/standalone/babel.min.js",vue:"https://unpkg.com/vue/dist/vue.global.prod.js",react:"https://unpkg.com/react/umd/react.production.min.js",reactDOM:"https://unpkg.com/react-dom/umd/react-dom.production.min.js"};const No=j8,Ju={html:{types:["html","slim","haml","md","markdown","vue"],map:{html:"none",vue:"none",md:"markdown"}},js:{types:["js","javascript","coffee","coffeescript","ts","typescript","ls","livescript"],map:{js:"none",javascript:"none",coffee:"coffeescript",ls:"livescript",ts:"typescript"}},css:{types:["css","less","sass","scss","stylus","styl"],map:{css:"none",styl:"stylus"}}},F8=(t,e,n)=>{const s=document.createElement(t);return js(e)&&as(e).forEach(i=>{if(i.indexOf("data"))s[i]=e[i];else{const r=i.replace("data","");s.dataset[r]=e[i]}}),s},Nl=t=>({...No,...t,jsLib:Array.from(new Set([...No.jsLib??[],...t.jsLib??[]])),cssLib:Array.from(new Set([...No.cssLib??[],...t.cssLib??[]]))}),$s=(t,e)=>{if(Xd(t[e]))return t[e];const n=new Promise(s=>{var r;const i=document.createElement("script");i.src=e,(r=document.querySelector("body"))==null||r.appendChild(i),i.onload=()=>{s()}});return t[e]=n,n},q8=(t,e)=>{if(e.css&&Array.from(t.childNodes).every(n=>n.nodeName!=="STYLE")){const n=F8("style",{innerHTML:e.css});t.appendChild(n)}},B8=(t,e,n)=>{const s=n.getScript();if(s&&Array.from(e.childNodes).every(i=>i.nodeName!=="SCRIPT")){const i=document.createElement("script");i.appendChild(document.createTextNode(`{const document=window.document.querySelector('#${t} .vp-code-demo-display').shadowRoot; + */const me={settings:{minimum:.08,easing:"ease",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,barSelector:'[role="bar"]',parent:"body",template:'
'},status:null,set:t=>{const e=me.isStarted();t=Vo(t,me.settings.minimum,1),me.status=t===1?null:t;const n=me.render(!e),s=n.querySelector(me.settings.barSelector),i=me.settings.speed,r=me.settings.easing;return n.offsetWidth,u8(o=>{lr(s,{transform:"translate3d("+Zu(t)+"%,0,0)",transition:"all "+i+"ms "+r}),t===1?(lr(n,{transition:"none",opacity:"1"}),n.offsetWidth,setTimeout(()=>{lr(n,{transition:"all "+i+"ms linear",opacity:"0"}),setTimeout(()=>{me.remove(),o()},i)},i)):setTimeout(()=>o(),i)}),me},isStarted:()=>typeof me.status=="number",start:()=>{me.status||me.set(0);const t=()=>{setTimeout(()=>{me.status&&(me.trickle(),t())},me.settings.trickleSpeed)};return me.settings.trickle&&t(),me},done:t=>!t&&!me.status?me:me.inc(.3+.5*Math.random()).set(1),inc:t=>{let e=me.status;return e?(typeof t!="number"&&(t=(1-e)*Vo(Math.random()*e,.1,.95)),e=Vo(e+t,0,.994),me.set(e)):me.start()},trickle:()=>me.inc(Math.random()*me.settings.trickleRate),render:t=>{if(me.isRendered())return document.getElementById("nprogress");Qu(document.documentElement,"nprogress-busy");const e=document.createElement("div");e.id="nprogress",e.innerHTML=me.settings.template;const n=e.querySelector(me.settings.barSelector),s=t?"-100":Zu(me.status||0),i=document.querySelector(me.settings.parent);return lr(n,{transition:"all 0 linear",transform:"translate3d("+s+"%,0,0)"}),i!==document.body&&Qu(i,"nprogress-custom-parent"),i==null||i.appendChild(e),e},remove:()=>{Yu(document.documentElement,"nprogress-busy"),Yu(document.querySelector(me.settings.parent),"nprogress-custom-parent");const t=document.getElementById("nprogress");t&&d8(t)},isRendered:()=>!!document.getElementById("nprogress")},Vo=(t,e,n)=>tn?n:t,Zu=t=>(-1+t)*100,u8=function(){const t=[];function e(){const n=t.shift();n&&n(e)}return function(n){t.push(n),t.length===1&&e()}}(),lr=function(){const t=["Webkit","O","Moz","ms"],e={};function n(o){return o.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(a,l){return l.toUpperCase()})}function s(o){const a=document.body.style;if(o in a)return o;let l=t.length;const c=o.charAt(0).toUpperCase()+o.slice(1);let u;for(;l--;)if(u=t[l]+c,u in a)return u;return o}function i(o){return o=n(o),e[o]??(e[o]=s(o))}function r(o,a,l){a=i(a),o.style[a]=l}return function(o,a){for(const l in a){const c=a[l];c!==void 0&&Object.prototype.hasOwnProperty.call(a,l)&&r(o,l,c)}}}(),d2=(t,e)=>(typeof t=="string"?t:Vl(t)).indexOf(" "+e+" ")>=0,Qu=(t,e)=>{const n=Vl(t),s=n+e;d2(n,e)||(t.className=s.substring(1))},Yu=(t,e)=>{const n=Vl(t);if(!d2(t,e))return;const s=n.replace(" "+e+" "," ");t.className=s.substring(1,s.length-1)},Vl=t=>(" "+(t.className||"")+" ").replace(/\s+/gi," "),d8=t=>{t&&t.parentNode&&t.parentNode.removeChild(t)},f8=()=>{we(()=>{const t=Fs(),e=new Set;e.add(t.currentRoute.value.path),t.beforeEach(n=>{e.has(n.path)||me.start()}),t.afterEach(n=>{e.add(n.path),me.done()})})},h8=Dt({setup(){f8()}}),p8=Object.freeze(Object.defineProperty({__proto__:null,default:h8},Symbol.toStringTag,{value:"Module"})),m8=JSON.parse(`{"encrypt":{"config":{"/demo/encrypt.html":["$2a$10$KWyOGXst3YPyMJWafuOAQ.sBpG1qfn2XoNuh3Hil0ec9O8UMt1QJ."],"/zh/demo/encrypt.html":["$2a$10$gmAwhFACGMpzubZzaJip/eiQPysVyiV/a2nuQkY/3cwtbP4bulfpO"]}},"author":{"name":"LMYY","url":"https://gaozih.com"},"license":"Apache 2.0","logo":"pvzg_nav.png","repo":"Gzh0821/pvzg_site","docsDir":"src","lastUpdated":false,"contributors":false,"editLink":false,"locales":{"/en/":{"lang":"en-US","navbarLocales":{"langName":"English","selectLangAriaLabel":"Select language"},"metaLocales":{"author":"Author","date":"Writing Date","origin":"Original","views":"Page views","category":"Category","tag":"Tag","readingTime":"Reading Time","words":"Words","toc":"On This Page","prev":"Prev","next":"Next","lastUpdated":"Last update","contributors":"Contributors","editLink":"Edit this page on GitHub","print":"Print"},"outlookLocales":{"themeColor":"Theme Color","darkmode":"Theme Mode","fullscreen":"Full Screen"},"encryptLocales":{"iconLabel":"Page Encrypted","placeholder":"Enter password","remember":"Remember password","errorHint":"Please enter the correct password!"},"routeLocales":{"skipToContent":"Skip to main content","notFoundTitle":"Page not found","notFoundMsg":["There’s nothing here.","How did we get here?","That’s a Four-Oh-Four.","Looks like we've got some broken links."],"back":"Go back","home":"Take me home","openInNewWindow":"Open in new window"},"navbar":["/en/","/en/download/","/en/guide/","/en/instructions/","/en/contribution/",{"text":"Online Play","link":"https://pvz2-test.gaozih.com","icon":"circle-play"}],"navbarTitle":"PvZ2 Gardendless","sidebar":{"/en/download/":"structure","/en/instructions/":"structure","/en/guide/":"structure","/en/contribution/":"structure","/en/":[]},"footer":"Official website of PvZ2 Gardendless: pvzge.com","copyright":"Copyright 2021-2024 Gaozih © All Rights Reserved.","displayFooter":true},"/":{"lang":"zh-CN","navbarLocales":{"langName":"简体中文","selectLangAriaLabel":"选择语言"},"metaLocales":{"author":"作者","date":"写作日期","origin":"原创","views":"访问量","category":"分类","tag":"标签","readingTime":"阅读时间","words":"字数","toc":"此页内容","prev":"上一页","next":"下一页","lastUpdated":"上次编辑于","contributors":"贡献者","editLink":"在 GitHub 上编辑此页","print":"打印"},"outlookLocales":{"themeColor":"主题色","darkmode":"外观","fullscreen":"全屏"},"encryptLocales":{"iconLabel":"文章已加密","placeholder":"输入密码","remember":"记住密码","errorHint":"请输入正确的密码"},"routeLocales":{"skipToContent":"跳至主要內容","notFoundTitle":"页面不存在","notFoundMsg":["这里什么也没有","我们是怎么来到这儿的?","这 是 四 零 四 !","看起来你访问了一个失效的链接"],"back":"返回上一页","home":"带我回家","openInNewWindow":"Open in new window"},"navbar":["/","/download/","/guide/","/instructions/","/contribution/",{"text":"在线游玩","link":"https://pvz2-test.gaozih.com","icon":"circle-play"}],"navbarTitle":"","sidebar":{"/download/":"structure","/instructions/":"structure","/guide/":"structure","/contribution/":"structure","/":[]},"footer":"《PvZ2 Gardendless》官方网站: pvzge.com","copyright":"Copyright 2021-2024 Gaozih © All Rights Reserved.","displayFooter":true}}}`),g8=Y(m8),f2=()=>g8,h2=Symbol(""),v8=()=>{const t=je(h2);if(!t)throw new Error("useThemeLocaleData() is called without provider.");return t},y8=(t,e)=>{const{locales:n,...s}=t;return{...s,...n==null?void 0:n[e]}},b8=Dt({enhance({app:t}){const e=f2(),n=t._context.provides[rl],s=S(()=>y8(e.value,n.routeLocale.value));t.provide(h2,s),Object.defineProperties(t.config.globalProperties,{$theme:{get(){return e.value}},$themeLocale:{get(){return s.value}}})}}),C8=Object.freeze(Object.defineProperty({__proto__:null,default:b8},Symbol.toStringTag,{value:"Module"}));var w8={provider:"Giscus",lightTheme:"https://unpkg.com/vuepress-theme-hope@2.0.0-rc.52/templates/giscus/light.css",darkTheme:"https://unpkg.com/vuepress-theme-hope@2.0.0-rc.52/templates/giscus/dark.css",repo:"Gzh0821/pvzg_site",repoId:"R_kgDOMVGuyA",category:"Announcements",categoryId:"DIC_kwDOMVGuyM4ChC2W"};const k8=w8,E8=Y(k8),p2=Symbol(""),m2=()=>je(p2),T8=m2,S8=t=>{t.provide(p2,E8)},g2=()=>f("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",preserveAspectRatio:"xMidYMid",viewBox:"0 0 100 100"},[f("circle",{cx:"28",cy:"75",r:"11",fill:"currentColor"},f("animate",{attributeName:"fill-opacity",begin:"0s",dur:"1s",keyTimes:"0;0.2;1",repeatCount:"indefinite",values:"0;1;1"})),f("path",{fill:"none",stroke:"#88baf0","stroke-width":"10",d:"M28 47a28 28 0 0 1 28 28"},f("animate",{attributeName:"stroke-opacity",begin:"0.1s",dur:"1s",keyTimes:"0;0.2;1",repeatCount:"indefinite",values:"0;1;1"})),f("path",{fill:"none",stroke:"#88baf0","stroke-width":"10",d:"M28 25a50 50 0 0 1 50 50"},f("animate",{attributeName:"stroke-opacity",begin:"0.2s",dur:"1s",keyTimes:"0;0.2;1",repeatCount:"indefinite",values:"0;1;1"}))]);g2.displayName="LoadingIcon";const Xu=["ar","ca","da","de","en","eo","es","fa","fr","he","id","it","ja","ko","nl","pl","pt","ro","ru","th","tr","uk","uz","vi","zh-CN","zh-TW"],$8=K({name:"GiscusComment",props:{identifier:{type:String,required:!0},darkmode:Boolean},setup(t){const e=T8(),n=ol(),s=S(()=>!!(e.value.repo&&e.value.repoId&&e.value.category&&e.value.categoryId)),i=Y(!1),r=S(()=>{if(Xu.includes(n.value))return n.value;const a=n.value.split("-")[0];return Xu.includes(a)?a:"en"}),o=S(()=>({repo:e.value.repo,repoId:e.value.repoId,category:e.value.category,categoryId:e.value.categoryId,lang:r.value,theme:t.darkmode?e.value.darkTheme||"dark":e.value.lightTheme||"light",mapping:e.value.mapping||"pathname",term:t.identifier,inputPosition:e.value.inputPosition||"top",reactionsEnabled:e.value.reactionsEnabled===!1?"0":"1",strict:e.value.strict===!1?"0":"1",loading:e.value.lazyLoading===!1?"eager":"lazy",emitMetadata:"0"}));return we(async()=>{await ne(()=>import("./giscus-D-fkNSKD.js"),[]),i.value=!0}),()=>s.value?f("div",{id:"comment",class:["giscus-wrapper",{"input-top":e.value.inputPosition!=="bottom"}]},i.value?f("giscus-widget",o.value):f(g2)):null}}),_8=K({name:"CommentService",props:{darkmode:Boolean},setup(t){const e=m2(),n=qe(),s=Ie(),i=S(()=>e.value.comment!==!1),r=S(()=>s.value.comment||i.value&&s.value.comment!==!1);return()=>f($8,{id:"vp-comment",identifier:s.value.commentID||n.value.path,darkmode:t.darkmode,style:{display:r.value?"block":"none"}})}}),L8=Dt({enhance:({app:t})=>{S8(t),t.component("CommentService",_8)}}),x8=Object.freeze(Object.defineProperty({__proto__:null,default:L8},Symbol.toStringTag,{value:"Module"})),A8=/language-(shellscript|shell|bash|sh|zsh)/,P8=({delay:t=500,duration:e=2e3,locales:n,selector:s,showInMobile:i,ignoreSelector:r=[],transform:o})=>{const a=ul("(max-width: 419px)"),l=S(()=>!a.value||i),c=gn(n),u=qe(),d=w=>{var k;if(w.hasAttribute("copy-code-registered"))return;const C=document.createElement("button");C.type="button",C.classList.add("vp-copy-code-button"),C.setAttribute("aria-label",c.value.copy),C.setAttribute("data-copied",c.value.copied),(k=w.parentElement)==null||k.insertBefore(C,w),w.setAttribute("copy-code-registered","")};he(()=>[u.value.path,l.value],async()=>{document.body.classList.toggle("copy-code-disabled",!l.value),l.value&&(await an(),await Yd(t),document.querySelectorAll(s.join(",")).forEach(d))},{immediate:!0});const{copy:p}=l4({legacy:!0}),m=new WeakMap,v=(w,C,k)=>{const y=C.cloneNode(!0);r.length&&y.querySelectorAll(r.join(",")).forEach(x=>x.remove()),o&&o(y);let E=y.textContent||"";A8.test(w.className)&&(E=E.replace(/^ *(\$|>) /gm,"")),p(E).then(()=>{if(e<=0)return;k.classList.add("copied"),clearTimeout(m.get(k));const x=setTimeout(()=>{k.classList.remove("copied"),k.blur(),m.delete(k)},e);m.set(k,x)})};$e("click",w=>{const C=w.target;if(l.value&&C.matches('div[class*="language-"] > button.vp-copy-code-button')){const k=C.parentElement,y=C.nextElementSibling;if(!k||!y)return;v(k,y,C)}})};var O8={"/en/":{copy:"Copy code",copied:"Copied"},"/":{copy:"复制代码",copied:"已复制"}},I8=['.theme-hope-content div[class*="language-"] pre'];const M8=Dt({setup:()=>{P8({selector:I8,locales:O8,duration:2e3,delay:500,showInMobile:!1})}}),R8=Object.freeze(Object.defineProperty({__proto__:null,default:M8},Symbol.toStringTag,{value:"Module"})),cr=ls("VUEPRESS_CODE_TAB_STORE",{});var D8=K({name:"CodeTabs",props:{active:{type:Number,default:0},data:{type:Array,required:!0},id:{type:String,required:!0},tabId:{type:String,default:""}},slots:Object,setup(t,{slots:e}){const n=Y(t.active),s=Fe([]),i=()=>{t.tabId&&(cr.value[t.tabId]=t.data[n.value].id)},r=(c=n.value)=>{n.value=c{n.value=c>0?c-1:s.value.length-1,s.value[n.value].focus()},a=(c,u)=>{c.key===" "||c.key==="Enter"?(c.preventDefault(),n.value=u):c.key==="ArrowRight"?(c.preventDefault(),r()):c.key==="ArrowLeft"&&(c.preventDefault(),o()),t.tabId&&(cr.value[t.tabId]=t.data[n.value].id)},l=()=>{if(t.tabId){const c=t.data.findIndex(({id:u})=>cr.value[t.tabId]===u);if(c!==-1)return c}return t.active};return we(()=>{n.value=l(),he(()=>cr.value[t.tabId],(c,u)=>{if(t.tabId&&c!==u){const d=t.data.findIndex(({id:h})=>h===c);d!==-1&&(n.value=d)}})}),()=>t.data.length?f("div",{class:"vp-code-tabs"},[f("div",{class:"vp-code-tabs-nav",role:"tablist"},t.data.map(({id:c},u)=>{const d=u===n.value;return f("button",{type:"button",ref:h=>{h&&(s.value[u]=h)},class:["vp-code-tab-nav",{active:d}],role:"tab","aria-controls":`codetab-${t.id}-${u}`,"aria-selected":d,onClick:()=>{n.value=u,i()},onKeydown:h=>a(h,u)},e[`title${u}`]({value:c,isActive:d}))})),t.data.map(({id:c},u)=>{const d=u===n.value;return f("div",{class:["vp-code-tab",{active:d}],id:`codetab-${t.id}-${u}`,role:"tabpanel","aria-expanded":d},[f("div",{class:"vp-code-tab-title"},e[`title${u}`]({value:c,isActive:d})),e[`tab${u}`]({value:c,isActive:d})])})]):null}});const v2=({active:t=!1},{slots:e})=>{var n;return f("div",{class:["code-group-item",{active:t}],"aria-selected":t},(n=e.default)==null?void 0:n.call(e))};v2.displayName="CodeGroupItem";const H8=K({name:"CodeGroup",slots:Object,setup(t,{slots:e}){const n=Y(-1),s=Fe([]),i=(a=n.value)=>{n.value=a{n.value=a>0?a-1:s.value.length-1,s.value[n.value].focus()},o=(a,l)=>{a.key===" "||a.key==="Enter"?(a.preventDefault(),n.value=l):a.key==="ArrowRight"?(a.preventDefault(),i(l)):a.key==="ArrowLeft"&&(a.preventDefault(),r(l))};return()=>{var l;const a=(((l=e.default)==null?void 0:l.call(e))||[]).filter(c=>c.type.name==="CodeGroupItem").map(c=>(c.props===null&&(c.props={}),c));return a.length===0?null:(n.value<0||n.value>a.length-1?(n.value=a.findIndex(c=>"active"in c.props),n.value===-1&&(n.value=0)):a.forEach((c,u)=>{c.props.active=u===n.value}),f("div",{class:"code-group"},[f("div",{class:"code-group-nav"},a.map((c,u)=>{const d=u===n.value;return f("button",{type:"button",ref:h=>{h&&(s.value[u]=h)},class:["code-group-nav-tab",{active:d}],"aria-pressed":d,"aria-expanded":d,onClick:()=>{n.value=u},onKeydown:h=>o(h,u)},c.props.title)})),a]))}}}),V8='',N8='';var j8={useBabel:!1,jsLib:[],cssLib:[],codepenLayout:"left",codepenEditors:"101",babel:"https://unpkg.com/@babel/standalone/babel.min.js",vue:"https://unpkg.com/vue/dist/vue.global.prod.js",react:"https://unpkg.com/react/umd/react.production.min.js",reactDOM:"https://unpkg.com/react-dom/umd/react-dom.production.min.js"};const No=j8,Ju={html:{types:["html","slim","haml","md","markdown","vue"],map:{html:"none",vue:"none",md:"markdown"}},js:{types:["js","javascript","coffee","coffeescript","ts","typescript","ls","livescript"],map:{js:"none",javascript:"none",coffee:"coffeescript",ls:"livescript",ts:"typescript"}},css:{types:["css","less","sass","scss","stylus","styl"],map:{css:"none",styl:"stylus"}}},F8=(t,e,n)=>{const s=document.createElement(t);return js(e)&&as(e).forEach(i=>{if(i.indexOf("data"))s[i]=e[i];else{const r=i.replace("data","");s.dataset[r]=e[i]}}),s},Nl=t=>({...No,...t,jsLib:Array.from(new Set([...No.jsLib??[],...t.jsLib??[]])),cssLib:Array.from(new Set([...No.cssLib??[],...t.cssLib??[]]))}),$s=(t,e)=>{if(Xd(t[e]))return t[e];const n=new Promise(s=>{var r;const i=document.createElement("script");i.src=e,(r=document.querySelector("body"))==null||r.appendChild(i),i.onload=()=>{s()}});return t[e]=n,n},q8=(t,e)=>{if(e.css&&Array.from(t.childNodes).every(n=>n.nodeName!=="STYLE")){const n=F8("style",{innerHTML:e.css});t.appendChild(n)}},B8=(t,e,n)=>{const s=n.getScript();if(s&&Array.from(e.childNodes).every(i=>i.nodeName!=="SCRIPT")){const i=document.createElement("script");i.appendChild(document.createTextNode(`{const document=window.document.querySelector('#${t} .vp-code-demo-display').shadowRoot; ${s}}`)),e.appendChild(i)}},z8=["html","js","css"],W8=t=>{const e=as(t),n={html:[],js:[],css:[],isLegal:!1};return z8.forEach(s=>{const i=e.filter(r=>Ju[s].types.includes(r));if(i.length){const r=i[0];n[s]=[t[r].replace(/^\n|\n$/g,""),Ju[s].map[r]??r]}}),n.isLegal=(!n.html.length||n.html[1]==="none")&&(!n.js.length||n.js[1]==="none")&&(!n.css.length||n.css[1]==="none"),n},y2=t=>t.replace(/
/g,"
").replace(/<((\S+)[^<]*?)\s+\/>/g,"<$1>"),b2=t=>`
${y2(t)}
`,G8=t=>`${t.replace("export default ","const $reactApp = ").replace(/App\.__style__(\s*)=(\s*)`([\s\S]*)?`/,"")}; -ReactDOM.createRoot(document.getElementById("app")).render(React.createElement($reactApp))`,U8=t=>t.replace(/export\s+default\s*\{(\n*[\s\S]*)\n*\}\s*;?$/u,"Vue.createApp({$1}).mount('#app')").replace(/export\s+default\s*define(Async)?Component\s*\(\s*\{(\n*[\s\S]*)\n*\}\s*\)\s*;?$/u,"Vue.createApp({$1}).mount('#app')").trim(),C2=t=>`(function(exports){var module={};module.exports=exports;${t};return module.exports.__esModule.exports.default:module.exports;})({})`,K8=(t,e)=>{const n=Nl(e),s=t.js[0]??"";return{...n,html:y2(t.html[0]??""),js:s,css:t.css[0]??"",isLegal:t.isLegal,getScript:()=>{var i;return n.useBabel?((i=window.Babel.transform(s,{presets:["es2015"]}))==null?void 0:i.code)??"":s}}},Z8=/