diff --git a/docs/document/404.html b/docs/document/404.html index 41654ecda..1a770af55 100644 --- a/docs/document/404.html +++ b/docs/document/404.html @@ -6,7 +6,7 @@ 404 | Artplayer.js - + @@ -14,9 +14,9 @@ -
Skip to content

404

PAGE NOT FOUND

But if you don't change your direction, and if you keep looking, you may end up where you are heading.
- - +
Skip to content

404

PAGE NOT FOUND

But if you don't change your direction, and if you keep looking, you may end up where you are heading.
+ + \ No newline at end of file diff --git a/docs/document/advanced/built-in.html b/docs/document/advanced/built-in.html index 2635701ea..7c251050e 100644 --- a/docs/document/advanced/built-in.html +++ b/docs/document/advanced/built-in.html @@ -7,8 +7,8 @@ - - + + @@ -16,7 +16,7 @@ -
Skip to content
On this page

高级属性

这里的 高级属性 是指挂载在 实例 的 二级属性,比较少用

option

播放器的选项

▶ Run Code
js
var art = new Artplayer({
+    
Skip to content
On this page

高级属性

这里的 高级属性 是指挂载在 实例 的 二级属性,比较少用

option

播放器的选项

▶ Run Code
js
var art = new Artplayer({
     container: '.artplayer-app',
     url: '/assets/sample/video.mp4',
 });
@@ -227,8 +227,8 @@
     art.plugins.add(myPlugin);
 });
 
- - + + \ No newline at end of file diff --git a/docs/document/advanced/class.html b/docs/document/advanced/class.html index d3fd48314..af8566f76 100644 --- a/docs/document/advanced/class.html +++ b/docs/document/advanced/class.html @@ -7,8 +7,8 @@ - - + + @@ -16,7 +16,7 @@ -
Skip to content
On this page

静态属性

这里的 静态属性 是指挂载在 构造函数 的 一级属性,非常少使用

提示

有些属性是全大写的,说明这些属性是不稳定的,可能会在将来被更改

instances

返回全部播放器实例的数组,假如你想同时管理多个播放器的时候,可以用到该属性

▶ Run Code
js
console.info([...Artplayer.instances]);
+    
Skip to content
On this page

静态属性

这里的 静态属性 是指挂载在 构造函数 的 一级属性,非常少使用

提示

有些属性是全大写的,说明这些属性是不稳定的,可能会在将来被更改

instances

返回全部播放器实例的数组,假如你想同时管理多个播放器的时候,可以用到该属性

▶ Run Code
js
console.info([...Artplayer.instances]);
 
 var art = new Artplayer({
     container: '.artplayer-app',
@@ -36,8 +36,8 @@
 

html

返回播放器所需的 html 字符串

▶ Run Code
js
console.info(Artplayer.html);
 

option

返回播放器的默认选项

▶ Run Code
js
console.info(Artplayer.option);
 

DEBUG

CONTEXTMENU

NOTICE_TIME

SETTING_WIDTH

SETTING_ITEM_WIDTH

SETTING_ITEM_HEIGHT

INDICATOR_SIZE

INDICATOR_SIZE_ICON

INDICATOR_SIZE_MOBILE

INDICATOR_SIZE_MOBILE_ICON

VOLUME_PANEL_WIDTH

VOLUME_HANDLE_WIDTH

RESIZE_TIME

SCROLL_TIME

SCROLL_GAP

AUTO_PLAYBACK_MAX

AUTO_PLAYBACK_MIN

AUTO_PLAYBACK_TIMEOUT

RECONNECT_TIME_MAX

RECONNECT_SLEEP_TIME

CONTROL_HIDE_TIME

DB_CLICE_TIME

MOBILE_AUTO_PLAYBACKRATE

MOBILE_AUTO_PLAYBACKRATE_TIME

MOBILE_AUTO_ORIENTATION_TIME

INFO_LOOP_TIME

FAST_FORWARD_VALUE

FAST_FORWARD_TIME

TOUCH_MOVE_RATIO

VOLUME_STEP

SEEK_STEP

PROGRESS_HEIGHT

PLAYBACK_RATE

ASPECT_RATIO

FLIP

- - + + \ No newline at end of file diff --git a/docs/document/advanced/event.html b/docs/document/advanced/event.html index d6e213cb6..77cb3e678 100644 --- a/docs/document/advanced/event.html +++ b/docs/document/advanced/event.html @@ -7,8 +7,8 @@ - - + + @@ -16,7 +16,7 @@ -
Skip to content
On this page

实例事件

播放器的事件分为两种,一种视频的 原生事件 (前缀 video:),另外一种是 自定义事件

监听事件:

▶ Run Code
js
var art = new Artplayer({
+    
Skip to content
On this page

实例事件

播放器的事件分为两种,一种视频的 原生事件 (前缀 video:),另外一种是 自定义事件

监听事件:

▶ Run Code
js
var art = new Artplayer({
     container: '.artplayer-app',
     url: '/assets/sample/video.mp4',
 });
@@ -337,8 +337,8 @@
     console.info('subtitleSwitch', url);
 });
 

video:canplay

浏览器可以播放媒体文件了,但估计没有足够的数据来支撑播放到结束,不必停下来进一步缓冲内容

video:canplaythrough

浏览器估计它可以在不停止内容缓冲的情况下播放媒体直到结束

video:complete

OfflineAudioContext 渲染完成

video:durationchange

duration 属性的值改变时触发

video:emptied

媒体内容变为空;例如,当这个 media 已经加载完成(或者部分加载完成),则发送此事件,并调用 load() 方法重新加载它

video:ended

视频停止播放,因为 media 已经到达结束点

video:error

获取媒体数据时出错,或者资源类型不是受支持的媒体格式

video:loadeddata

media 中的首帧已经完成加载

video:loadedmetadata

已加载元数据

video:pause

播放已暂停

video:play

播放已开始

video:playing

由于缺乏数据而暂停或延迟后,播放准备开始

video:progress

在浏览器加载资源时周期性触发

video:ratechange

播放速率发生变化

video:seeked

跳帧(seek)操作完成

video:seeking

跳帧(seek)操作开始

video:stalled

用户代理(user agent)正在尝试获取媒体数据,但数据意外未出现

video:suspend

媒体数据加载已暂停

video:timeupdate

currentTime 属性指定的时间发生变化

video:volumechange

音量发生变化

video:waiting

由于暂时缺少数据,播放已停止

- - + + \ No newline at end of file diff --git a/docs/document/advanced/plugin.html b/docs/document/advanced/plugin.html index 2f6fe74f5..6fae0d29d 100644 --- a/docs/document/advanced/plugin.html +++ b/docs/document/advanced/plugin.html @@ -7,8 +7,8 @@ - - + + @@ -16,7 +16,7 @@ -
Skip to content
On this page

编写插件

但你已经知道播放器的属性, 方法和事件后,再编写插件是非常简单的事

可以在实例化的时候加载插件的函数

▶ Run Code
js
function myPlugin(art) {
+    
Skip to content
On this page

编写插件

但你已经知道播放器的属性, 方法和事件后,再编写插件是非常简单的事

可以在实例化的时候加载插件的函数

▶ Run Code
js
function myPlugin(art) {
     console.info(art);
     return {
         name: 'myPlugin',
@@ -118,8 +118,8 @@
     ],
 });
 
- - + + \ No newline at end of file diff --git a/docs/document/advanced/property.html b/docs/document/advanced/property.html index 6500ca209..a72d5388f 100644 --- a/docs/document/advanced/property.html +++ b/docs/document/advanced/property.html @@ -7,8 +7,8 @@ - - + + @@ -16,7 +16,7 @@ -
Skip to content
On this page

实例属性

这里的 实例属性 是指挂载在 实例 的 一级属性,比较常用

play

  • Type: Function

播放视频

▶ Run Code
js
var art = new Artplayer({
+    
Skip to content
On this page

实例属性

这里的 实例属性 是指挂载在 实例 的 一级属性,比较常用

play

  • Type: Function

播放视频

▶ Run Code
js
var art = new Artplayer({
     container: '.artplayer-app',
     url: '/assets/sample/video.mp4',
     muted: true,
@@ -410,8 +410,8 @@
 
 console.info(art.video);
 
- - + + \ No newline at end of file diff --git a/docs/document/assets/advanced_built-in.md.d5fa367f.js b/docs/document/assets/advanced_built-in.md.f6d6e866.js similarity index 99% rename from docs/document/assets/advanced_built-in.md.d5fa367f.js rename to docs/document/assets/advanced_built-in.md.f6d6e866.js index ee2c2433f..6079fe70a 100644 --- a/docs/document/assets/advanced_built-in.md.d5fa367f.js +++ b/docs/document/assets/advanced_built-in.md.f6d6e866.js @@ -1,4 +1,4 @@ -import{_ as a,c as l,o as p,a as s,b as n}from"./app.6a0c1274.js";const X=JSON.parse('{"title":"高级属性","description":"","frontmatter":{},"headers":[{"level":2,"title":"option","slug":"option","link":"#option","children":[]},{"level":2,"title":"whitelist","slug":"whitelist","link":"#whitelist","children":[]},{"level":2,"title":"template","slug":"template","link":"#template","children":[]},{"level":2,"title":"events","slug":"events","link":"#events","children":[]},{"level":2,"title":"storage","slug":"storage","link":"#storage","children":[]},{"level":2,"title":"icons","slug":"icons","link":"#icons","children":[]},{"level":2,"title":"i18n","slug":"i18n","link":"#i18n","children":[]},{"level":2,"title":"notice","slug":"notice","link":"#notice","children":[]},{"level":2,"title":"layers","slug":"layers","link":"#layers","children":[]},{"level":2,"title":"controls","slug":"controls","link":"#controls","children":[]},{"level":2,"title":"contextmenu","slug":"contextmenu","link":"#contextmenu","children":[]},{"level":2,"title":"subtitle","slug":"subtitle","link":"#subtitle","children":[]},{"level":2,"title":"loading","slug":"loading","link":"#loading","children":[]},{"level":2,"title":"hotkey","slug":"hotkey","link":"#hotkey","children":[]},{"level":2,"title":"mask","slug":"mask","link":"#mask","children":[]},{"level":2,"title":"setting","slug":"setting","link":"#setting","children":[]},{"level":2,"title":"plugins","slug":"plugins","link":"#plugins","children":[]}],"relativePath":"advanced/built-in.md","lastUpdated":1673441101000}'),o={name:"advanced/built-in.md"},e=s('

高级属性

这里的 高级属性 是指挂载在 实例 的 二级属性,比较少用

option

播放器的选项

',4),c=n("div",{className:"run-code"},"▶ Run Code",-1),r=s(`
js
var art = new Artplayer({
+import{_ as a,c as l,o as p,a as s,b as n}from"./app.fcc4273a.js";const X=JSON.parse('{"title":"高级属性","description":"","frontmatter":{},"headers":[{"level":2,"title":"option","slug":"option","link":"#option","children":[]},{"level":2,"title":"whitelist","slug":"whitelist","link":"#whitelist","children":[]},{"level":2,"title":"template","slug":"template","link":"#template","children":[]},{"level":2,"title":"events","slug":"events","link":"#events","children":[]},{"level":2,"title":"storage","slug":"storage","link":"#storage","children":[]},{"level":2,"title":"icons","slug":"icons","link":"#icons","children":[]},{"level":2,"title":"i18n","slug":"i18n","link":"#i18n","children":[]},{"level":2,"title":"notice","slug":"notice","link":"#notice","children":[]},{"level":2,"title":"layers","slug":"layers","link":"#layers","children":[]},{"level":2,"title":"controls","slug":"controls","link":"#controls","children":[]},{"level":2,"title":"contextmenu","slug":"contextmenu","link":"#contextmenu","children":[]},{"level":2,"title":"subtitle","slug":"subtitle","link":"#subtitle","children":[]},{"level":2,"title":"loading","slug":"loading","link":"#loading","children":[]},{"level":2,"title":"hotkey","slug":"hotkey","link":"#hotkey","children":[]},{"level":2,"title":"mask","slug":"mask","link":"#mask","children":[]},{"level":2,"title":"setting","slug":"setting","link":"#setting","children":[]},{"level":2,"title":"plugins","slug":"plugins","link":"#plugins","children":[]}],"relativePath":"advanced/built-in.md","lastUpdated":1673441101000}'),o={name:"advanced/built-in.md"},e=s('

高级属性

这里的 高级属性 是指挂载在 实例 的 二级属性,比较少用

option

播放器的选项

',4),c=n("div",{className:"run-code"},"▶ Run Code",-1),r=s(`
js
var art = new Artplayer({
     container: '.artplayer-app',
     url: '/assets/sample/video.mp4',
 });
diff --git a/docs/document/assets/advanced_built-in.md.d5fa367f.lean.js b/docs/document/assets/advanced_built-in.md.f6d6e866.lean.js
similarity index 97%
rename from docs/document/assets/advanced_built-in.md.d5fa367f.lean.js
rename to docs/document/assets/advanced_built-in.md.f6d6e866.lean.js
index 20de5061a..0117c1864 100644
--- a/docs/document/assets/advanced_built-in.md.d5fa367f.lean.js
+++ b/docs/document/assets/advanced_built-in.md.f6d6e866.lean.js
@@ -1 +1 @@
-import{_ as a,c as l,o as p,a as s,b as n}from"./app.6a0c1274.js";const X=JSON.parse('{"title":"高级属性","description":"","frontmatter":{},"headers":[{"level":2,"title":"option","slug":"option","link":"#option","children":[]},{"level":2,"title":"whitelist","slug":"whitelist","link":"#whitelist","children":[]},{"level":2,"title":"template","slug":"template","link":"#template","children":[]},{"level":2,"title":"events","slug":"events","link":"#events","children":[]},{"level":2,"title":"storage","slug":"storage","link":"#storage","children":[]},{"level":2,"title":"icons","slug":"icons","link":"#icons","children":[]},{"level":2,"title":"i18n","slug":"i18n","link":"#i18n","children":[]},{"level":2,"title":"notice","slug":"notice","link":"#notice","children":[]},{"level":2,"title":"layers","slug":"layers","link":"#layers","children":[]},{"level":2,"title":"controls","slug":"controls","link":"#controls","children":[]},{"level":2,"title":"contextmenu","slug":"contextmenu","link":"#contextmenu","children":[]},{"level":2,"title":"subtitle","slug":"subtitle","link":"#subtitle","children":[]},{"level":2,"title":"loading","slug":"loading","link":"#loading","children":[]},{"level":2,"title":"hotkey","slug":"hotkey","link":"#hotkey","children":[]},{"level":2,"title":"mask","slug":"mask","link":"#mask","children":[]},{"level":2,"title":"setting","slug":"setting","link":"#setting","children":[]},{"level":2,"title":"plugins","slug":"plugins","link":"#plugins","children":[]}],"relativePath":"advanced/built-in.md","lastUpdated":1673441101000}'),o={name:"advanced/built-in.md"},e=s("",4),c=n("div",{className:"run-code"},"▶ Run Code",-1),r=s("",4),t=n("div",{className:"run-code"},"▶ Run Code",-1),D=s("",4),F=n("div",{className:"run-code"},"▶ Run Code",-1),y=s("",5),i=n("div",{className:"run-code"},"▶ Run Code",-1),A=s("",5),C=n("div",{className:"run-code"},"▶ Run Code",-1),d=s("",2),b=n("div",{className:"run-code"},"▶ Run Code",-1),u=s("",3),m=n("div",{className:"run-code"},"▶ Run Code",-1),_=s("",5),h=n("div",{className:"run-code"},"▶ Run Code",-1),g=s("",4),v=n("div",{className:"run-code"},"▶ Run Code",-1),E=s("",5),T=n("div",{className:"run-code"},"▶ Run Code",-1),k=s("",5),w=n("div",{className:"run-code"},"▶ Run Code",-1),f=s("",5),S=n("div",{className:"run-code"},"▶ Run Code",-1),P=s("",5),I=n("div",{className:"run-code"},"▶ Run Code",-1),N=s("",4),R=n("div",{className:"run-code"},"▶ Run Code",-1),V=s("",4),j=n("div",{className:"run-code"},"▶ Run Code",-1),x=s("",5),O=n("div",{className:"run-code"},"▶ Run Code",-1),M=s("",4),$=n("div",{className:"run-code"},"▶ Run Code",-1),z=s("",4),B=n("div",{className:"run-code"},"▶ Run Code",-1),G=s("",1),L=[e,c,r,t,D,F,y,i,A,C,d,b,u,m,_,h,g,v,E,T,k,w,f,S,P,I,N,R,V,j,x,O,M,$,z,B,G];function W(q,J,U,Y,H,K){return p(),l("div",null,L)}const Z=a(o,[["render",W]]);export{X as __pageData,Z as default};
+import{_ as a,c as l,o as p,a as s,b as n}from"./app.fcc4273a.js";const X=JSON.parse('{"title":"高级属性","description":"","frontmatter":{},"headers":[{"level":2,"title":"option","slug":"option","link":"#option","children":[]},{"level":2,"title":"whitelist","slug":"whitelist","link":"#whitelist","children":[]},{"level":2,"title":"template","slug":"template","link":"#template","children":[]},{"level":2,"title":"events","slug":"events","link":"#events","children":[]},{"level":2,"title":"storage","slug":"storage","link":"#storage","children":[]},{"level":2,"title":"icons","slug":"icons","link":"#icons","children":[]},{"level":2,"title":"i18n","slug":"i18n","link":"#i18n","children":[]},{"level":2,"title":"notice","slug":"notice","link":"#notice","children":[]},{"level":2,"title":"layers","slug":"layers","link":"#layers","children":[]},{"level":2,"title":"controls","slug":"controls","link":"#controls","children":[]},{"level":2,"title":"contextmenu","slug":"contextmenu","link":"#contextmenu","children":[]},{"level":2,"title":"subtitle","slug":"subtitle","link":"#subtitle","children":[]},{"level":2,"title":"loading","slug":"loading","link":"#loading","children":[]},{"level":2,"title":"hotkey","slug":"hotkey","link":"#hotkey","children":[]},{"level":2,"title":"mask","slug":"mask","link":"#mask","children":[]},{"level":2,"title":"setting","slug":"setting","link":"#setting","children":[]},{"level":2,"title":"plugins","slug":"plugins","link":"#plugins","children":[]}],"relativePath":"advanced/built-in.md","lastUpdated":1673441101000}'),o={name:"advanced/built-in.md"},e=s("",4),c=n("div",{className:"run-code"},"▶ Run Code",-1),r=s("",4),t=n("div",{className:"run-code"},"▶ Run Code",-1),D=s("",4),F=n("div",{className:"run-code"},"▶ Run Code",-1),y=s("",5),i=n("div",{className:"run-code"},"▶ Run Code",-1),A=s("",5),C=n("div",{className:"run-code"},"▶ Run Code",-1),d=s("",2),b=n("div",{className:"run-code"},"▶ Run Code",-1),u=s("",3),m=n("div",{className:"run-code"},"▶ Run Code",-1),_=s("",5),h=n("div",{className:"run-code"},"▶ Run Code",-1),g=s("",4),v=n("div",{className:"run-code"},"▶ Run Code",-1),E=s("",5),T=n("div",{className:"run-code"},"▶ Run Code",-1),k=s("",5),w=n("div",{className:"run-code"},"▶ Run Code",-1),f=s("",5),S=n("div",{className:"run-code"},"▶ Run Code",-1),P=s("",5),I=n("div",{className:"run-code"},"▶ Run Code",-1),N=s("",4),R=n("div",{className:"run-code"},"▶ Run Code",-1),V=s("",4),j=n("div",{className:"run-code"},"▶ Run Code",-1),x=s("",5),O=n("div",{className:"run-code"},"▶ Run Code",-1),M=s("",4),$=n("div",{className:"run-code"},"▶ Run Code",-1),z=s("",4),B=n("div",{className:"run-code"},"▶ Run Code",-1),G=s("",1),L=[e,c,r,t,D,F,y,i,A,C,d,b,u,m,_,h,g,v,E,T,k,w,f,S,P,I,N,R,V,j,x,O,M,$,z,B,G];function W(q,J,U,Y,H,K){return p(),l("div",null,L)}const Z=a(o,[["render",W]]);export{X as __pageData,Z as default};
diff --git a/docs/document/assets/advanced_class.md.ab92c097.js b/docs/document/assets/advanced_class.md.4438415e.js
similarity index 99%
rename from docs/document/assets/advanced_class.md.ab92c097.js
rename to docs/document/assets/advanced_class.md.4438415e.js
index 23e285454..01e95b72d 100644
--- a/docs/document/assets/advanced_class.md.ab92c097.js
+++ b/docs/document/assets/advanced_class.md.4438415e.js
@@ -1,4 +1,4 @@
-import{_ as s,c as n,o as l,a as e,b as a}from"./app.6a0c1274.js";const U=JSON.parse('{"title":"静态属性","description":"","frontmatter":{},"headers":[{"level":2,"title":"instances","slug":"instances","link":"#instances","children":[]},{"level":2,"title":"version","slug":"version","link":"#version","children":[]},{"level":2,"title":"env","slug":"env","link":"#env","children":[]},{"level":2,"title":"build","slug":"build","link":"#build","children":[]},{"level":2,"title":"config","slug":"config","link":"#config","children":[]},{"level":2,"title":"utils","slug":"utils","link":"#utils","children":[]},{"level":2,"title":"scheme","slug":"scheme","link":"#scheme","children":[]},{"level":2,"title":"Emitter","slug":"emitter","link":"#emitter","children":[]},{"level":2,"title":"validator","slug":"validator","link":"#validator","children":[]},{"level":2,"title":"kindOf","slug":"kindof","link":"#kindof","children":[]},{"level":2,"title":"html","slug":"html","link":"#html","children":[]},{"level":2,"title":"option","slug":"option","link":"#option","children":[]},{"level":2,"title":"DEBUG","slug":"debug","link":"#debug","children":[]},{"level":2,"title":"CONTEXTMENU","slug":"contextmenu","link":"#contextmenu","children":[]},{"level":2,"title":"NOTICE_TIME","slug":"notice-time","link":"#notice-time","children":[]},{"level":2,"title":"SETTING_WIDTH","slug":"setting-width","link":"#setting-width","children":[]},{"level":2,"title":"SETTING_ITEM_WIDTH","slug":"setting-item-width","link":"#setting-item-width","children":[]},{"level":2,"title":"SETTING_ITEM_HEIGHT","slug":"setting-item-height","link":"#setting-item-height","children":[]},{"level":2,"title":"INDICATOR_SIZE","slug":"indicator-size","link":"#indicator-size","children":[]},{"level":2,"title":"INDICATOR_SIZE_ICON","slug":"indicator-size-icon","link":"#indicator-size-icon","children":[]},{"level":2,"title":"INDICATOR_SIZE_MOBILE","slug":"indicator-size-mobile","link":"#indicator-size-mobile","children":[]},{"level":2,"title":"INDICATOR_SIZE_MOBILE_ICON","slug":"indicator-size-mobile-icon","link":"#indicator-size-mobile-icon","children":[]},{"level":2,"title":"VOLUME_PANEL_WIDTH","slug":"volume-panel-width","link":"#volume-panel-width","children":[]},{"level":2,"title":"VOLUME_HANDLE_WIDTH","slug":"volume-handle-width","link":"#volume-handle-width","children":[]},{"level":2,"title":"RESIZE_TIME","slug":"resize-time","link":"#resize-time","children":[]},{"level":2,"title":"SCROLL_TIME","slug":"scroll-time","link":"#scroll-time","children":[]},{"level":2,"title":"SCROLL_GAP","slug":"scroll-gap","link":"#scroll-gap","children":[]},{"level":2,"title":"AUTO_PLAYBACK_MAX","slug":"auto-playback-max","link":"#auto-playback-max","children":[]},{"level":2,"title":"AUTO_PLAYBACK_MIN","slug":"auto-playback-min","link":"#auto-playback-min","children":[]},{"level":2,"title":"AUTO_PLAYBACK_TIMEOUT","slug":"auto-playback-timeout","link":"#auto-playback-timeout","children":[]},{"level":2,"title":"RECONNECT_TIME_MAX","slug":"reconnect-time-max","link":"#reconnect-time-max","children":[]},{"level":2,"title":"RECONNECT_SLEEP_TIME","slug":"reconnect-sleep-time","link":"#reconnect-sleep-time","children":[]},{"level":2,"title":"CONTROL_HIDE_TIME","slug":"control-hide-time","link":"#control-hide-time","children":[]},{"level":2,"title":"DB_CLICE_TIME","slug":"db-clice-time","link":"#db-clice-time","children":[]},{"level":2,"title":"MOBILE_AUTO_PLAYBACKRATE","slug":"mobile-auto-playbackrate","link":"#mobile-auto-playbackrate","children":[]},{"level":2,"title":"MOBILE_AUTO_PLAYBACKRATE_TIME","slug":"mobile-auto-playbackrate-time","link":"#mobile-auto-playbackrate-time","children":[]},{"level":2,"title":"MOBILE_AUTO_ORIENTATION_TIME","slug":"mobile-auto-orientation-time","link":"#mobile-auto-orientation-time","children":[]},{"level":2,"title":"INFO_LOOP_TIME","slug":"info-loop-time","link":"#info-loop-time","children":[]},{"level":2,"title":"FAST_FORWARD_VALUE","slug":"fast-forward-value","link":"#fast-forward-value","children":[]},{"level":2,"title":"FAST_FORWARD_TIME","slug":"fast-forward-time","link":"#fast-forward-time","children":[]},{"level":2,"title":"TOUCH_MOVE_RATIO","slug":"touch-move-ratio","link":"#touch-move-ratio","children":[]},{"level":2,"title":"VOLUME_STEP","slug":"volume-step","link":"#volume-step","children":[]},{"level":2,"title":"SEEK_STEP","slug":"seek-step","link":"#seek-step","children":[]},{"level":2,"title":"PROGRESS_HEIGHT","slug":"progress-height","link":"#progress-height","children":[]},{"level":2,"title":"PLAYBACK_RATE","slug":"playback-rate","link":"#playback-rate","children":[]},{"level":2,"title":"ASPECT_RATIO","slug":"aspect-ratio","link":"#aspect-ratio","children":[]},{"level":2,"title":"FLIP","slug":"flip","link":"#flip","children":[]}],"relativePath":"advanced/class.md","lastUpdated":1673441101000}'),i={name:"advanced/class.md"},o=e('

静态属性

这里的 静态属性 是指挂载在 构造函数 的 一级属性,非常少使用

提示

有些属性是全大写的,说明这些属性是不稳定的,可能会在将来被更改

instances

返回全部播放器实例的数组,假如你想同时管理多个播放器的时候,可以用到该属性

',5),t=a("div",{className:"run-code"},"▶ Run Code",-1),r=e(`
js
console.info([...Artplayer.instances]);
+import{_ as s,c as n,o as l,a as e,b as a}from"./app.fcc4273a.js";const U=JSON.parse('{"title":"静态属性","description":"","frontmatter":{},"headers":[{"level":2,"title":"instances","slug":"instances","link":"#instances","children":[]},{"level":2,"title":"version","slug":"version","link":"#version","children":[]},{"level":2,"title":"env","slug":"env","link":"#env","children":[]},{"level":2,"title":"build","slug":"build","link":"#build","children":[]},{"level":2,"title":"config","slug":"config","link":"#config","children":[]},{"level":2,"title":"utils","slug":"utils","link":"#utils","children":[]},{"level":2,"title":"scheme","slug":"scheme","link":"#scheme","children":[]},{"level":2,"title":"Emitter","slug":"emitter","link":"#emitter","children":[]},{"level":2,"title":"validator","slug":"validator","link":"#validator","children":[]},{"level":2,"title":"kindOf","slug":"kindof","link":"#kindof","children":[]},{"level":2,"title":"html","slug":"html","link":"#html","children":[]},{"level":2,"title":"option","slug":"option","link":"#option","children":[]},{"level":2,"title":"DEBUG","slug":"debug","link":"#debug","children":[]},{"level":2,"title":"CONTEXTMENU","slug":"contextmenu","link":"#contextmenu","children":[]},{"level":2,"title":"NOTICE_TIME","slug":"notice-time","link":"#notice-time","children":[]},{"level":2,"title":"SETTING_WIDTH","slug":"setting-width","link":"#setting-width","children":[]},{"level":2,"title":"SETTING_ITEM_WIDTH","slug":"setting-item-width","link":"#setting-item-width","children":[]},{"level":2,"title":"SETTING_ITEM_HEIGHT","slug":"setting-item-height","link":"#setting-item-height","children":[]},{"level":2,"title":"INDICATOR_SIZE","slug":"indicator-size","link":"#indicator-size","children":[]},{"level":2,"title":"INDICATOR_SIZE_ICON","slug":"indicator-size-icon","link":"#indicator-size-icon","children":[]},{"level":2,"title":"INDICATOR_SIZE_MOBILE","slug":"indicator-size-mobile","link":"#indicator-size-mobile","children":[]},{"level":2,"title":"INDICATOR_SIZE_MOBILE_ICON","slug":"indicator-size-mobile-icon","link":"#indicator-size-mobile-icon","children":[]},{"level":2,"title":"VOLUME_PANEL_WIDTH","slug":"volume-panel-width","link":"#volume-panel-width","children":[]},{"level":2,"title":"VOLUME_HANDLE_WIDTH","slug":"volume-handle-width","link":"#volume-handle-width","children":[]},{"level":2,"title":"RESIZE_TIME","slug":"resize-time","link":"#resize-time","children":[]},{"level":2,"title":"SCROLL_TIME","slug":"scroll-time","link":"#scroll-time","children":[]},{"level":2,"title":"SCROLL_GAP","slug":"scroll-gap","link":"#scroll-gap","children":[]},{"level":2,"title":"AUTO_PLAYBACK_MAX","slug":"auto-playback-max","link":"#auto-playback-max","children":[]},{"level":2,"title":"AUTO_PLAYBACK_MIN","slug":"auto-playback-min","link":"#auto-playback-min","children":[]},{"level":2,"title":"AUTO_PLAYBACK_TIMEOUT","slug":"auto-playback-timeout","link":"#auto-playback-timeout","children":[]},{"level":2,"title":"RECONNECT_TIME_MAX","slug":"reconnect-time-max","link":"#reconnect-time-max","children":[]},{"level":2,"title":"RECONNECT_SLEEP_TIME","slug":"reconnect-sleep-time","link":"#reconnect-sleep-time","children":[]},{"level":2,"title":"CONTROL_HIDE_TIME","slug":"control-hide-time","link":"#control-hide-time","children":[]},{"level":2,"title":"DB_CLICE_TIME","slug":"db-clice-time","link":"#db-clice-time","children":[]},{"level":2,"title":"MOBILE_AUTO_PLAYBACKRATE","slug":"mobile-auto-playbackrate","link":"#mobile-auto-playbackrate","children":[]},{"level":2,"title":"MOBILE_AUTO_PLAYBACKRATE_TIME","slug":"mobile-auto-playbackrate-time","link":"#mobile-auto-playbackrate-time","children":[]},{"level":2,"title":"MOBILE_AUTO_ORIENTATION_TIME","slug":"mobile-auto-orientation-time","link":"#mobile-auto-orientation-time","children":[]},{"level":2,"title":"INFO_LOOP_TIME","slug":"info-loop-time","link":"#info-loop-time","children":[]},{"level":2,"title":"FAST_FORWARD_VALUE","slug":"fast-forward-value","link":"#fast-forward-value","children":[]},{"level":2,"title":"FAST_FORWARD_TIME","slug":"fast-forward-time","link":"#fast-forward-time","children":[]},{"level":2,"title":"TOUCH_MOVE_RATIO","slug":"touch-move-ratio","link":"#touch-move-ratio","children":[]},{"level":2,"title":"VOLUME_STEP","slug":"volume-step","link":"#volume-step","children":[]},{"level":2,"title":"SEEK_STEP","slug":"seek-step","link":"#seek-step","children":[]},{"level":2,"title":"PROGRESS_HEIGHT","slug":"progress-height","link":"#progress-height","children":[]},{"level":2,"title":"PLAYBACK_RATE","slug":"playback-rate","link":"#playback-rate","children":[]},{"level":2,"title":"ASPECT_RATIO","slug":"aspect-ratio","link":"#aspect-ratio","children":[]},{"level":2,"title":"FLIP","slug":"flip","link":"#flip","children":[]}],"relativePath":"advanced/class.md","lastUpdated":1673441101000}'),i={name:"advanced/class.md"},o=e('

静态属性

这里的 静态属性 是指挂载在 构造函数 的 一级属性,非常少使用

提示

有些属性是全大写的,说明这些属性是不稳定的,可能会在将来被更改

instances

返回全部播放器实例的数组,假如你想同时管理多个播放器的时候,可以用到该属性

',5),t=a("div",{className:"run-code"},"▶ Run Code",-1),r=e(`
js
console.info([...Artplayer.instances]);
 
 var art = new Artplayer({
     container: '.artplayer-app',
diff --git a/docs/document/assets/advanced_class.md.ab92c097.lean.js b/docs/document/assets/advanced_class.md.4438415e.lean.js
similarity index 98%
rename from docs/document/assets/advanced_class.md.ab92c097.lean.js
rename to docs/document/assets/advanced_class.md.4438415e.lean.js
index a1a9edfbb..598db9f1c 100644
--- a/docs/document/assets/advanced_class.md.ab92c097.lean.js
+++ b/docs/document/assets/advanced_class.md.4438415e.lean.js
@@ -1 +1 @@
-import{_ as s,c as n,o as l,a as e,b as a}from"./app.6a0c1274.js";const U=JSON.parse('{"title":"静态属性","description":"","frontmatter":{},"headers":[{"level":2,"title":"instances","slug":"instances","link":"#instances","children":[]},{"level":2,"title":"version","slug":"version","link":"#version","children":[]},{"level":2,"title":"env","slug":"env","link":"#env","children":[]},{"level":2,"title":"build","slug":"build","link":"#build","children":[]},{"level":2,"title":"config","slug":"config","link":"#config","children":[]},{"level":2,"title":"utils","slug":"utils","link":"#utils","children":[]},{"level":2,"title":"scheme","slug":"scheme","link":"#scheme","children":[]},{"level":2,"title":"Emitter","slug":"emitter","link":"#emitter","children":[]},{"level":2,"title":"validator","slug":"validator","link":"#validator","children":[]},{"level":2,"title":"kindOf","slug":"kindof","link":"#kindof","children":[]},{"level":2,"title":"html","slug":"html","link":"#html","children":[]},{"level":2,"title":"option","slug":"option","link":"#option","children":[]},{"level":2,"title":"DEBUG","slug":"debug","link":"#debug","children":[]},{"level":2,"title":"CONTEXTMENU","slug":"contextmenu","link":"#contextmenu","children":[]},{"level":2,"title":"NOTICE_TIME","slug":"notice-time","link":"#notice-time","children":[]},{"level":2,"title":"SETTING_WIDTH","slug":"setting-width","link":"#setting-width","children":[]},{"level":2,"title":"SETTING_ITEM_WIDTH","slug":"setting-item-width","link":"#setting-item-width","children":[]},{"level":2,"title":"SETTING_ITEM_HEIGHT","slug":"setting-item-height","link":"#setting-item-height","children":[]},{"level":2,"title":"INDICATOR_SIZE","slug":"indicator-size","link":"#indicator-size","children":[]},{"level":2,"title":"INDICATOR_SIZE_ICON","slug":"indicator-size-icon","link":"#indicator-size-icon","children":[]},{"level":2,"title":"INDICATOR_SIZE_MOBILE","slug":"indicator-size-mobile","link":"#indicator-size-mobile","children":[]},{"level":2,"title":"INDICATOR_SIZE_MOBILE_ICON","slug":"indicator-size-mobile-icon","link":"#indicator-size-mobile-icon","children":[]},{"level":2,"title":"VOLUME_PANEL_WIDTH","slug":"volume-panel-width","link":"#volume-panel-width","children":[]},{"level":2,"title":"VOLUME_HANDLE_WIDTH","slug":"volume-handle-width","link":"#volume-handle-width","children":[]},{"level":2,"title":"RESIZE_TIME","slug":"resize-time","link":"#resize-time","children":[]},{"level":2,"title":"SCROLL_TIME","slug":"scroll-time","link":"#scroll-time","children":[]},{"level":2,"title":"SCROLL_GAP","slug":"scroll-gap","link":"#scroll-gap","children":[]},{"level":2,"title":"AUTO_PLAYBACK_MAX","slug":"auto-playback-max","link":"#auto-playback-max","children":[]},{"level":2,"title":"AUTO_PLAYBACK_MIN","slug":"auto-playback-min","link":"#auto-playback-min","children":[]},{"level":2,"title":"AUTO_PLAYBACK_TIMEOUT","slug":"auto-playback-timeout","link":"#auto-playback-timeout","children":[]},{"level":2,"title":"RECONNECT_TIME_MAX","slug":"reconnect-time-max","link":"#reconnect-time-max","children":[]},{"level":2,"title":"RECONNECT_SLEEP_TIME","slug":"reconnect-sleep-time","link":"#reconnect-sleep-time","children":[]},{"level":2,"title":"CONTROL_HIDE_TIME","slug":"control-hide-time","link":"#control-hide-time","children":[]},{"level":2,"title":"DB_CLICE_TIME","slug":"db-clice-time","link":"#db-clice-time","children":[]},{"level":2,"title":"MOBILE_AUTO_PLAYBACKRATE","slug":"mobile-auto-playbackrate","link":"#mobile-auto-playbackrate","children":[]},{"level":2,"title":"MOBILE_AUTO_PLAYBACKRATE_TIME","slug":"mobile-auto-playbackrate-time","link":"#mobile-auto-playbackrate-time","children":[]},{"level":2,"title":"MOBILE_AUTO_ORIENTATION_TIME","slug":"mobile-auto-orientation-time","link":"#mobile-auto-orientation-time","children":[]},{"level":2,"title":"INFO_LOOP_TIME","slug":"info-loop-time","link":"#info-loop-time","children":[]},{"level":2,"title":"FAST_FORWARD_VALUE","slug":"fast-forward-value","link":"#fast-forward-value","children":[]},{"level":2,"title":"FAST_FORWARD_TIME","slug":"fast-forward-time","link":"#fast-forward-time","children":[]},{"level":2,"title":"TOUCH_MOVE_RATIO","slug":"touch-move-ratio","link":"#touch-move-ratio","children":[]},{"level":2,"title":"VOLUME_STEP","slug":"volume-step","link":"#volume-step","children":[]},{"level":2,"title":"SEEK_STEP","slug":"seek-step","link":"#seek-step","children":[]},{"level":2,"title":"PROGRESS_HEIGHT","slug":"progress-height","link":"#progress-height","children":[]},{"level":2,"title":"PLAYBACK_RATE","slug":"playback-rate","link":"#playback-rate","children":[]},{"level":2,"title":"ASPECT_RATIO","slug":"aspect-ratio","link":"#aspect-ratio","children":[]},{"level":2,"title":"FLIP","slug":"flip","link":"#flip","children":[]}],"relativePath":"advanced/class.md","lastUpdated":1673441101000}'),i={name:"advanced/class.md"},o=e("",5),t=a("div",{className:"run-code"},"▶ Run Code",-1),r=e("",3),c=a("div",{className:"run-code"},"▶ Run Code",-1),d=e("",3),p=a("div",{className:"run-code"},"▶ Run Code",-1),h=e("",3),_=a("div",{className:"run-code"},"▶ Run Code",-1),u=e("",3),A=a("div",{className:"run-code"},"▶ Run Code",-1),m=e("",3),C=a("div",{className:"run-code"},"▶ Run Code",-1),b=e("",4),D=a("div",{className:"run-code"},"▶ Run Code",-1),y=e("",3),T=a("div",{className:"run-code"},"▶ Run Code",-1),v=e("",3),F=a("div",{className:"run-code"},"▶ Run Code",-1),g=e("",3),E=a("div",{className:"run-code"},"▶ Run Code",-1),I=e("",3),f=a("div",{className:"run-code"},"▶ Run Code",-1),k=e("",3),O=a("div",{className:"run-code"},"▶ Run Code",-1),S=e("",36),N=[o,t,r,c,d,p,h,_,u,A,m,C,b,D,y,T,v,F,g,E,I,f,k,O,S];function R(x,P,M,L,w,V){return l(),n("div",null,N)}const j=s(i,[["render",R]]);export{U as __pageData,j as default};
+import{_ as s,c as n,o as l,a as e,b as a}from"./app.fcc4273a.js";const U=JSON.parse('{"title":"静态属性","description":"","frontmatter":{},"headers":[{"level":2,"title":"instances","slug":"instances","link":"#instances","children":[]},{"level":2,"title":"version","slug":"version","link":"#version","children":[]},{"level":2,"title":"env","slug":"env","link":"#env","children":[]},{"level":2,"title":"build","slug":"build","link":"#build","children":[]},{"level":2,"title":"config","slug":"config","link":"#config","children":[]},{"level":2,"title":"utils","slug":"utils","link":"#utils","children":[]},{"level":2,"title":"scheme","slug":"scheme","link":"#scheme","children":[]},{"level":2,"title":"Emitter","slug":"emitter","link":"#emitter","children":[]},{"level":2,"title":"validator","slug":"validator","link":"#validator","children":[]},{"level":2,"title":"kindOf","slug":"kindof","link":"#kindof","children":[]},{"level":2,"title":"html","slug":"html","link":"#html","children":[]},{"level":2,"title":"option","slug":"option","link":"#option","children":[]},{"level":2,"title":"DEBUG","slug":"debug","link":"#debug","children":[]},{"level":2,"title":"CONTEXTMENU","slug":"contextmenu","link":"#contextmenu","children":[]},{"level":2,"title":"NOTICE_TIME","slug":"notice-time","link":"#notice-time","children":[]},{"level":2,"title":"SETTING_WIDTH","slug":"setting-width","link":"#setting-width","children":[]},{"level":2,"title":"SETTING_ITEM_WIDTH","slug":"setting-item-width","link":"#setting-item-width","children":[]},{"level":2,"title":"SETTING_ITEM_HEIGHT","slug":"setting-item-height","link":"#setting-item-height","children":[]},{"level":2,"title":"INDICATOR_SIZE","slug":"indicator-size","link":"#indicator-size","children":[]},{"level":2,"title":"INDICATOR_SIZE_ICON","slug":"indicator-size-icon","link":"#indicator-size-icon","children":[]},{"level":2,"title":"INDICATOR_SIZE_MOBILE","slug":"indicator-size-mobile","link":"#indicator-size-mobile","children":[]},{"level":2,"title":"INDICATOR_SIZE_MOBILE_ICON","slug":"indicator-size-mobile-icon","link":"#indicator-size-mobile-icon","children":[]},{"level":2,"title":"VOLUME_PANEL_WIDTH","slug":"volume-panel-width","link":"#volume-panel-width","children":[]},{"level":2,"title":"VOLUME_HANDLE_WIDTH","slug":"volume-handle-width","link":"#volume-handle-width","children":[]},{"level":2,"title":"RESIZE_TIME","slug":"resize-time","link":"#resize-time","children":[]},{"level":2,"title":"SCROLL_TIME","slug":"scroll-time","link":"#scroll-time","children":[]},{"level":2,"title":"SCROLL_GAP","slug":"scroll-gap","link":"#scroll-gap","children":[]},{"level":2,"title":"AUTO_PLAYBACK_MAX","slug":"auto-playback-max","link":"#auto-playback-max","children":[]},{"level":2,"title":"AUTO_PLAYBACK_MIN","slug":"auto-playback-min","link":"#auto-playback-min","children":[]},{"level":2,"title":"AUTO_PLAYBACK_TIMEOUT","slug":"auto-playback-timeout","link":"#auto-playback-timeout","children":[]},{"level":2,"title":"RECONNECT_TIME_MAX","slug":"reconnect-time-max","link":"#reconnect-time-max","children":[]},{"level":2,"title":"RECONNECT_SLEEP_TIME","slug":"reconnect-sleep-time","link":"#reconnect-sleep-time","children":[]},{"level":2,"title":"CONTROL_HIDE_TIME","slug":"control-hide-time","link":"#control-hide-time","children":[]},{"level":2,"title":"DB_CLICE_TIME","slug":"db-clice-time","link":"#db-clice-time","children":[]},{"level":2,"title":"MOBILE_AUTO_PLAYBACKRATE","slug":"mobile-auto-playbackrate","link":"#mobile-auto-playbackrate","children":[]},{"level":2,"title":"MOBILE_AUTO_PLAYBACKRATE_TIME","slug":"mobile-auto-playbackrate-time","link":"#mobile-auto-playbackrate-time","children":[]},{"level":2,"title":"MOBILE_AUTO_ORIENTATION_TIME","slug":"mobile-auto-orientation-time","link":"#mobile-auto-orientation-time","children":[]},{"level":2,"title":"INFO_LOOP_TIME","slug":"info-loop-time","link":"#info-loop-time","children":[]},{"level":2,"title":"FAST_FORWARD_VALUE","slug":"fast-forward-value","link":"#fast-forward-value","children":[]},{"level":2,"title":"FAST_FORWARD_TIME","slug":"fast-forward-time","link":"#fast-forward-time","children":[]},{"level":2,"title":"TOUCH_MOVE_RATIO","slug":"touch-move-ratio","link":"#touch-move-ratio","children":[]},{"level":2,"title":"VOLUME_STEP","slug":"volume-step","link":"#volume-step","children":[]},{"level":2,"title":"SEEK_STEP","slug":"seek-step","link":"#seek-step","children":[]},{"level":2,"title":"PROGRESS_HEIGHT","slug":"progress-height","link":"#progress-height","children":[]},{"level":2,"title":"PLAYBACK_RATE","slug":"playback-rate","link":"#playback-rate","children":[]},{"level":2,"title":"ASPECT_RATIO","slug":"aspect-ratio","link":"#aspect-ratio","children":[]},{"level":2,"title":"FLIP","slug":"flip","link":"#flip","children":[]}],"relativePath":"advanced/class.md","lastUpdated":1673441101000}'),i={name:"advanced/class.md"},o=e("",5),t=a("div",{className:"run-code"},"▶ Run Code",-1),r=e("",3),c=a("div",{className:"run-code"},"▶ Run Code",-1),d=e("",3),p=a("div",{className:"run-code"},"▶ Run Code",-1),h=e("",3),_=a("div",{className:"run-code"},"▶ Run Code",-1),u=e("",3),A=a("div",{className:"run-code"},"▶ Run Code",-1),m=e("",3),C=a("div",{className:"run-code"},"▶ Run Code",-1),b=e("",4),D=a("div",{className:"run-code"},"▶ Run Code",-1),y=e("",3),T=a("div",{className:"run-code"},"▶ Run Code",-1),v=e("",3),F=a("div",{className:"run-code"},"▶ Run Code",-1),g=e("",3),E=a("div",{className:"run-code"},"▶ Run Code",-1),I=e("",3),f=a("div",{className:"run-code"},"▶ Run Code",-1),k=e("",3),O=a("div",{className:"run-code"},"▶ Run Code",-1),S=e("",36),N=[o,t,r,c,d,p,h,_,u,A,m,C,b,D,y,T,v,F,g,E,I,f,k,O,S];function R(x,P,M,L,w,V){return l(),n("div",null,N)}const j=s(i,[["render",R]]);export{U as __pageData,j as default};
diff --git a/docs/document/assets/advanced_event.md.c05dcd09.js b/docs/document/assets/advanced_event.md.a872c7ef.js
similarity index 99%
rename from docs/document/assets/advanced_event.md.c05dcd09.js
rename to docs/document/assets/advanced_event.md.a872c7ef.js
index d806d76bc..724270669 100644
--- a/docs/document/assets/advanced_event.md.c05dcd09.js
+++ b/docs/document/assets/advanced_event.md.a872c7ef.js
@@ -1,4 +1,4 @@
-import{_ as l,c as p,o as e,b as s,d as a,a as n}from"./app.6a0c1274.js";const Ps=JSON.parse('{"title":"实例事件","description":"","frontmatter":{},"headers":[{"level":2,"title":"ready","slug":"ready","link":"#ready","children":[]},{"level":2,"title":"restart","slug":"restart","link":"#restart","children":[]},{"level":2,"title":"pause","slug":"pause","link":"#pause","children":[]},{"level":2,"title":"play","slug":"play","link":"#play","children":[]},{"level":2,"title":"hotkey","slug":"hotkey","link":"#hotkey","children":[]},{"level":2,"title":"destroy","slug":"destroy","link":"#destroy","children":[]},{"level":2,"title":"url","slug":"url","link":"#url","children":[]},{"level":2,"title":"focus","slug":"focus","link":"#focus","children":[]},{"level":2,"title":"blur","slug":"blur","link":"#blur","children":[]},{"level":2,"title":"dblclick","slug":"dblclick","link":"#dblclick","children":[]},{"level":2,"title":"click","slug":"click","link":"#click","children":[]},{"level":2,"title":"error","slug":"error","link":"#error","children":[]},{"level":2,"title":"hover","slug":"hover","link":"#hover","children":[]},{"level":2,"title":"mousemove","slug":"mousemove","link":"#mousemove","children":[]},{"level":2,"title":"resize","slug":"resize","link":"#resize","children":[]},{"level":2,"title":"view","slug":"view","link":"#view","children":[]},{"level":2,"title":"aspectRatio","slug":"aspectratio","link":"#aspectratio","children":[]},{"level":2,"title":"autoHeight","slug":"autoheight","link":"#autoheight","children":[]},{"level":2,"title":"autoSize","slug":"autosize","link":"#autosize","children":[]},{"level":2,"title":"flip","slug":"flip","link":"#flip","children":[]},{"level":2,"title":"fullscreen","slug":"fullscreen","link":"#fullscreen","children":[]},{"level":2,"title":"fullscreenWeb","slug":"fullscreenweb","link":"#fullscreenweb","children":[]},{"level":2,"title":"mini","slug":"mini","link":"#mini","children":[]},{"level":2,"title":"pip","slug":"pip","link":"#pip","children":[]},{"level":2,"title":"screenshot","slug":"screenshot","link":"#screenshot","children":[]},{"level":2,"title":"seek","slug":"seek","link":"#seek","children":[]},{"level":2,"title":"subtitleOffset","slug":"subtitleoffset","link":"#subtitleoffset","children":[]},{"level":2,"title":"subtitleUpdate","slug":"subtitleupdate","link":"#subtitleupdate","children":[]},{"level":2,"title":"subtitleLoad","slug":"subtitleload","link":"#subtitleload","children":[]},{"level":2,"title":"subtitleSwitch","slug":"subtitleswitch","link":"#subtitleswitch","children":[]},{"level":2,"title":"video:canplay","slug":"video-canplay","link":"#video-canplay","children":[]},{"level":2,"title":"video:canplaythrough","slug":"video-canplaythrough","link":"#video-canplaythrough","children":[]},{"level":2,"title":"video:complete","slug":"video-complete","link":"#video-complete","children":[]},{"level":2,"title":"video:durationchange","slug":"video-durationchange","link":"#video-durationchange","children":[]},{"level":2,"title":"video:emptied","slug":"video-emptied","link":"#video-emptied","children":[]},{"level":2,"title":"video:ended","slug":"video-ended","link":"#video-ended","children":[]},{"level":2,"title":"video:error","slug":"video-error","link":"#video-error","children":[]},{"level":2,"title":"video:loadeddata","slug":"video-loadeddata","link":"#video-loadeddata","children":[]},{"level":2,"title":"video:loadedmetadata","slug":"video-loadedmetadata","link":"#video-loadedmetadata","children":[]},{"level":2,"title":"video:pause","slug":"video-pause","link":"#video-pause","children":[]},{"level":2,"title":"video:play","slug":"video-play","link":"#video-play","children":[]},{"level":2,"title":"video:playing","slug":"video-playing","link":"#video-playing","children":[]},{"level":2,"title":"video:progress","slug":"video-progress","link":"#video-progress","children":[]},{"level":2,"title":"video:ratechange","slug":"video-ratechange","link":"#video-ratechange","children":[]},{"level":2,"title":"video:seeked","slug":"video-seeked","link":"#video-seeked","children":[]},{"level":2,"title":"video:seeking","slug":"video-seeking","link":"#video-seeking","children":[]},{"level":2,"title":"video:stalled","slug":"video-stalled","link":"#video-stalled","children":[]},{"level":2,"title":"video:suspend","slug":"video-suspend","link":"#video-suspend","children":[]},{"level":2,"title":"video:timeupdate","slug":"video-timeupdate","link":"#video-timeupdate","children":[]},{"level":2,"title":"video:volumechange","slug":"video-volumechange","link":"#video-volumechange","children":[]},{"level":2,"title":"video:waiting","slug":"video-waiting","link":"#video-waiting","children":[]}],"relativePath":"advanced/event.md","lastUpdated":1673441101000}'),o={name:"advanced/event.md"},r=s("h1",{id:"实例事件",tabindex:"-1"},[a("实例事件 "),s("a",{class:"header-anchor",href:"#实例事件","aria-hidden":"true"},"#")],-1),c=s("p",null,[a("播放器的事件分为两种,一种视频的 "),s("code",null,"原生事件"),a(" (前缀 "),s("code",null,"video:"),a("),另外一种是 "),s("code",null,"自定义事件")],-1),t=s("p",null,"监听事件:",-1),D=s("div",{className:"run-code"},"▶ Run Code",-1),y=n(`
js
var art = new Artplayer({
+import{_ as l,c as p,o as e,b as s,d as a,a as n}from"./app.fcc4273a.js";const Ps=JSON.parse('{"title":"实例事件","description":"","frontmatter":{},"headers":[{"level":2,"title":"ready","slug":"ready","link":"#ready","children":[]},{"level":2,"title":"restart","slug":"restart","link":"#restart","children":[]},{"level":2,"title":"pause","slug":"pause","link":"#pause","children":[]},{"level":2,"title":"play","slug":"play","link":"#play","children":[]},{"level":2,"title":"hotkey","slug":"hotkey","link":"#hotkey","children":[]},{"level":2,"title":"destroy","slug":"destroy","link":"#destroy","children":[]},{"level":2,"title":"url","slug":"url","link":"#url","children":[]},{"level":2,"title":"focus","slug":"focus","link":"#focus","children":[]},{"level":2,"title":"blur","slug":"blur","link":"#blur","children":[]},{"level":2,"title":"dblclick","slug":"dblclick","link":"#dblclick","children":[]},{"level":2,"title":"click","slug":"click","link":"#click","children":[]},{"level":2,"title":"error","slug":"error","link":"#error","children":[]},{"level":2,"title":"hover","slug":"hover","link":"#hover","children":[]},{"level":2,"title":"mousemove","slug":"mousemove","link":"#mousemove","children":[]},{"level":2,"title":"resize","slug":"resize","link":"#resize","children":[]},{"level":2,"title":"view","slug":"view","link":"#view","children":[]},{"level":2,"title":"aspectRatio","slug":"aspectratio","link":"#aspectratio","children":[]},{"level":2,"title":"autoHeight","slug":"autoheight","link":"#autoheight","children":[]},{"level":2,"title":"autoSize","slug":"autosize","link":"#autosize","children":[]},{"level":2,"title":"flip","slug":"flip","link":"#flip","children":[]},{"level":2,"title":"fullscreen","slug":"fullscreen","link":"#fullscreen","children":[]},{"level":2,"title":"fullscreenWeb","slug":"fullscreenweb","link":"#fullscreenweb","children":[]},{"level":2,"title":"mini","slug":"mini","link":"#mini","children":[]},{"level":2,"title":"pip","slug":"pip","link":"#pip","children":[]},{"level":2,"title":"screenshot","slug":"screenshot","link":"#screenshot","children":[]},{"level":2,"title":"seek","slug":"seek","link":"#seek","children":[]},{"level":2,"title":"subtitleOffset","slug":"subtitleoffset","link":"#subtitleoffset","children":[]},{"level":2,"title":"subtitleUpdate","slug":"subtitleupdate","link":"#subtitleupdate","children":[]},{"level":2,"title":"subtitleLoad","slug":"subtitleload","link":"#subtitleload","children":[]},{"level":2,"title":"subtitleSwitch","slug":"subtitleswitch","link":"#subtitleswitch","children":[]},{"level":2,"title":"video:canplay","slug":"video-canplay","link":"#video-canplay","children":[]},{"level":2,"title":"video:canplaythrough","slug":"video-canplaythrough","link":"#video-canplaythrough","children":[]},{"level":2,"title":"video:complete","slug":"video-complete","link":"#video-complete","children":[]},{"level":2,"title":"video:durationchange","slug":"video-durationchange","link":"#video-durationchange","children":[]},{"level":2,"title":"video:emptied","slug":"video-emptied","link":"#video-emptied","children":[]},{"level":2,"title":"video:ended","slug":"video-ended","link":"#video-ended","children":[]},{"level":2,"title":"video:error","slug":"video-error","link":"#video-error","children":[]},{"level":2,"title":"video:loadeddata","slug":"video-loadeddata","link":"#video-loadeddata","children":[]},{"level":2,"title":"video:loadedmetadata","slug":"video-loadedmetadata","link":"#video-loadedmetadata","children":[]},{"level":2,"title":"video:pause","slug":"video-pause","link":"#video-pause","children":[]},{"level":2,"title":"video:play","slug":"video-play","link":"#video-play","children":[]},{"level":2,"title":"video:playing","slug":"video-playing","link":"#video-playing","children":[]},{"level":2,"title":"video:progress","slug":"video-progress","link":"#video-progress","children":[]},{"level":2,"title":"video:ratechange","slug":"video-ratechange","link":"#video-ratechange","children":[]},{"level":2,"title":"video:seeked","slug":"video-seeked","link":"#video-seeked","children":[]},{"level":2,"title":"video:seeking","slug":"video-seeking","link":"#video-seeking","children":[]},{"level":2,"title":"video:stalled","slug":"video-stalled","link":"#video-stalled","children":[]},{"level":2,"title":"video:suspend","slug":"video-suspend","link":"#video-suspend","children":[]},{"level":2,"title":"video:timeupdate","slug":"video-timeupdate","link":"#video-timeupdate","children":[]},{"level":2,"title":"video:volumechange","slug":"video-volumechange","link":"#video-volumechange","children":[]},{"level":2,"title":"video:waiting","slug":"video-waiting","link":"#video-waiting","children":[]}],"relativePath":"advanced/event.md","lastUpdated":1673441101000}'),o={name:"advanced/event.md"},r=s("h1",{id:"实例事件",tabindex:"-1"},[a("实例事件 "),s("a",{class:"header-anchor",href:"#实例事件","aria-hidden":"true"},"#")],-1),c=s("p",null,[a("播放器的事件分为两种,一种视频的 "),s("code",null,"原生事件"),a(" (前缀 "),s("code",null,"video:"),a("),另外一种是 "),s("code",null,"自定义事件")],-1),t=s("p",null,"监听事件:",-1),D=s("div",{className:"run-code"},"▶ Run Code",-1),y=n(`
js
var art = new Artplayer({
     container: '.artplayer-app',
     url: '/assets/sample/video.mp4',
 });
diff --git a/docs/document/assets/advanced_event.md.c05dcd09.lean.js b/docs/document/assets/advanced_event.md.a872c7ef.lean.js
similarity index 98%
rename from docs/document/assets/advanced_event.md.c05dcd09.lean.js
rename to docs/document/assets/advanced_event.md.a872c7ef.lean.js
index bee6404f6..7344e4b9a 100644
--- a/docs/document/assets/advanced_event.md.c05dcd09.lean.js
+++ b/docs/document/assets/advanced_event.md.a872c7ef.lean.js
@@ -1 +1 @@
-import{_ as l,c as p,o as e,b as s,d as a,a as n}from"./app.6a0c1274.js";const Ps=JSON.parse('{"title":"实例事件","description":"","frontmatter":{},"headers":[{"level":2,"title":"ready","slug":"ready","link":"#ready","children":[]},{"level":2,"title":"restart","slug":"restart","link":"#restart","children":[]},{"level":2,"title":"pause","slug":"pause","link":"#pause","children":[]},{"level":2,"title":"play","slug":"play","link":"#play","children":[]},{"level":2,"title":"hotkey","slug":"hotkey","link":"#hotkey","children":[]},{"level":2,"title":"destroy","slug":"destroy","link":"#destroy","children":[]},{"level":2,"title":"url","slug":"url","link":"#url","children":[]},{"level":2,"title":"focus","slug":"focus","link":"#focus","children":[]},{"level":2,"title":"blur","slug":"blur","link":"#blur","children":[]},{"level":2,"title":"dblclick","slug":"dblclick","link":"#dblclick","children":[]},{"level":2,"title":"click","slug":"click","link":"#click","children":[]},{"level":2,"title":"error","slug":"error","link":"#error","children":[]},{"level":2,"title":"hover","slug":"hover","link":"#hover","children":[]},{"level":2,"title":"mousemove","slug":"mousemove","link":"#mousemove","children":[]},{"level":2,"title":"resize","slug":"resize","link":"#resize","children":[]},{"level":2,"title":"view","slug":"view","link":"#view","children":[]},{"level":2,"title":"aspectRatio","slug":"aspectratio","link":"#aspectratio","children":[]},{"level":2,"title":"autoHeight","slug":"autoheight","link":"#autoheight","children":[]},{"level":2,"title":"autoSize","slug":"autosize","link":"#autosize","children":[]},{"level":2,"title":"flip","slug":"flip","link":"#flip","children":[]},{"level":2,"title":"fullscreen","slug":"fullscreen","link":"#fullscreen","children":[]},{"level":2,"title":"fullscreenWeb","slug":"fullscreenweb","link":"#fullscreenweb","children":[]},{"level":2,"title":"mini","slug":"mini","link":"#mini","children":[]},{"level":2,"title":"pip","slug":"pip","link":"#pip","children":[]},{"level":2,"title":"screenshot","slug":"screenshot","link":"#screenshot","children":[]},{"level":2,"title":"seek","slug":"seek","link":"#seek","children":[]},{"level":2,"title":"subtitleOffset","slug":"subtitleoffset","link":"#subtitleoffset","children":[]},{"level":2,"title":"subtitleUpdate","slug":"subtitleupdate","link":"#subtitleupdate","children":[]},{"level":2,"title":"subtitleLoad","slug":"subtitleload","link":"#subtitleload","children":[]},{"level":2,"title":"subtitleSwitch","slug":"subtitleswitch","link":"#subtitleswitch","children":[]},{"level":2,"title":"video:canplay","slug":"video-canplay","link":"#video-canplay","children":[]},{"level":2,"title":"video:canplaythrough","slug":"video-canplaythrough","link":"#video-canplaythrough","children":[]},{"level":2,"title":"video:complete","slug":"video-complete","link":"#video-complete","children":[]},{"level":2,"title":"video:durationchange","slug":"video-durationchange","link":"#video-durationchange","children":[]},{"level":2,"title":"video:emptied","slug":"video-emptied","link":"#video-emptied","children":[]},{"level":2,"title":"video:ended","slug":"video-ended","link":"#video-ended","children":[]},{"level":2,"title":"video:error","slug":"video-error","link":"#video-error","children":[]},{"level":2,"title":"video:loadeddata","slug":"video-loadeddata","link":"#video-loadeddata","children":[]},{"level":2,"title":"video:loadedmetadata","slug":"video-loadedmetadata","link":"#video-loadedmetadata","children":[]},{"level":2,"title":"video:pause","slug":"video-pause","link":"#video-pause","children":[]},{"level":2,"title":"video:play","slug":"video-play","link":"#video-play","children":[]},{"level":2,"title":"video:playing","slug":"video-playing","link":"#video-playing","children":[]},{"level":2,"title":"video:progress","slug":"video-progress","link":"#video-progress","children":[]},{"level":2,"title":"video:ratechange","slug":"video-ratechange","link":"#video-ratechange","children":[]},{"level":2,"title":"video:seeked","slug":"video-seeked","link":"#video-seeked","children":[]},{"level":2,"title":"video:seeking","slug":"video-seeking","link":"#video-seeking","children":[]},{"level":2,"title":"video:stalled","slug":"video-stalled","link":"#video-stalled","children":[]},{"level":2,"title":"video:suspend","slug":"video-suspend","link":"#video-suspend","children":[]},{"level":2,"title":"video:timeupdate","slug":"video-timeupdate","link":"#video-timeupdate","children":[]},{"level":2,"title":"video:volumechange","slug":"video-volumechange","link":"#video-volumechange","children":[]},{"level":2,"title":"video:waiting","slug":"video-waiting","link":"#video-waiting","children":[]}],"relativePath":"advanced/event.md","lastUpdated":1673441101000}'),o={name:"advanced/event.md"},r=s("h1",{id:"实例事件",tabindex:"-1"},[a("实例事件 "),s("a",{class:"header-anchor",href:"#实例事件","aria-hidden":"true"},"#")],-1),c=s("p",null,[a("播放器的事件分为两种,一种视频的 "),s("code",null,"原生事件"),a(" (前缀 "),s("code",null,"video:"),a("),另外一种是 "),s("code",null,"自定义事件")],-1),t=s("p",null,"监听事件:",-1),D=s("div",{className:"run-code"},"▶ Run Code",-1),y=n("",2),F=s("div",{className:"run-code"},"▶ Run Code",-1),i=n("",2),A=s("div",{className:"run-code"},"▶ Run Code",-1),C=n("",2),d=s("div",{className:"run-code"},"▶ Run Code",-1),u=n("",4),b=s("div",{className:"run-code"},"▶ Run Code",-1),h=n("",3),m=s("div",{className:"run-code"},"▶ Run Code",-1),_=n("",3),v=s("div",{className:"run-code"},"▶ Run Code",-1),g=n("",3),E=s("div",{className:"run-code"},"▶ Run Code",-1),T=n("",3),f=s("div",{className:"run-code"},"▶ Run Code",-1),k=n("",3),S=s("div",{className:"run-code"},"▶ Run Code",-1),w=n("",3),R=s("div",{className:"run-code"},"▶ Run Code",-1),N=n("",3),V=s("div",{className:"run-code"},"▶ Run Code",-1),P=n("",3),j=s("div",{className:"run-code"},"▶ Run Code",-1),I=n("",3),x=s("div",{className:"run-code"},"▶ Run Code",-1),z=n("",3),O=s("div",{className:"run-code"},"▶ Run Code",-1),U=n("",3),H=s("div",{className:"run-code"},"▶ Run Code",-1),W=n("",3),L=s("div",{className:"run-code"},"▶ Run Code",-1),$=n("",3),B=s("div",{className:"run-code"},"▶ Run Code",-1),J=n("",3),q=s("div",{className:"run-code"},"▶ Run Code",-1),G=n("",3),K=s("div",{className:"run-code"},"▶ Run Code",-1),M=n("",3),Q=s("div",{className:"run-code"},"▶ Run Code",-1),X=n("",3),Y=s("div",{className:"run-code"},"▶ Run Code",-1),Z=n("",3),ss=s("div",{className:"run-code"},"▶ Run Code",-1),ns=n("",3),as=s("div",{className:"run-code"},"▶ Run Code",-1),ls=n("",3),ps=s("div",{className:"run-code"},"▶ Run Code",-1),es=n("",3),os=s("div",{className:"run-code"},"▶ Run Code",-1),rs=n("",3),cs=s("div",{className:"run-code"},"▶ Run Code",-1),ts=n("",3),Ds=s("div",{className:"run-code"},"▶ Run Code",-1),ys=n("",3),Fs=s("div",{className:"run-code"},"▶ Run Code",-1),is=n("",3),As=s("div",{className:"run-code"},"▶ Run Code",-1),Cs=n("",3),ds=s("div",{className:"run-code"},"▶ Run Code",-1),us=n("",3),bs=s("div",{className:"run-code"},"▶ Run Code",-1),hs=n("",3),ms=s("div",{className:"run-code"},"▶ Run Code",-1),_s=n("",3),vs=s("div",{className:"run-code"},"▶ Run Code",-1),gs=n("",43),Es=[r,c,t,D,y,F,i,A,C,d,u,b,h,m,_,v,g,E,T,f,k,S,w,R,N,V,P,j,I,x,z,O,U,H,W,L,$,B,J,q,G,K,M,Q,X,Y,Z,ss,ns,as,ls,ps,es,os,rs,cs,ts,Ds,ys,Fs,is,As,Cs,ds,us,bs,hs,ms,_s,vs,gs];function Ts(fs,ks,Ss,ws,Rs,Ns){return e(),p("div",null,Es)}const js=l(o,[["render",Ts]]);export{Ps as __pageData,js as default};
+import{_ as l,c as p,o as e,b as s,d as a,a as n}from"./app.fcc4273a.js";const Ps=JSON.parse('{"title":"实例事件","description":"","frontmatter":{},"headers":[{"level":2,"title":"ready","slug":"ready","link":"#ready","children":[]},{"level":2,"title":"restart","slug":"restart","link":"#restart","children":[]},{"level":2,"title":"pause","slug":"pause","link":"#pause","children":[]},{"level":2,"title":"play","slug":"play","link":"#play","children":[]},{"level":2,"title":"hotkey","slug":"hotkey","link":"#hotkey","children":[]},{"level":2,"title":"destroy","slug":"destroy","link":"#destroy","children":[]},{"level":2,"title":"url","slug":"url","link":"#url","children":[]},{"level":2,"title":"focus","slug":"focus","link":"#focus","children":[]},{"level":2,"title":"blur","slug":"blur","link":"#blur","children":[]},{"level":2,"title":"dblclick","slug":"dblclick","link":"#dblclick","children":[]},{"level":2,"title":"click","slug":"click","link":"#click","children":[]},{"level":2,"title":"error","slug":"error","link":"#error","children":[]},{"level":2,"title":"hover","slug":"hover","link":"#hover","children":[]},{"level":2,"title":"mousemove","slug":"mousemove","link":"#mousemove","children":[]},{"level":2,"title":"resize","slug":"resize","link":"#resize","children":[]},{"level":2,"title":"view","slug":"view","link":"#view","children":[]},{"level":2,"title":"aspectRatio","slug":"aspectratio","link":"#aspectratio","children":[]},{"level":2,"title":"autoHeight","slug":"autoheight","link":"#autoheight","children":[]},{"level":2,"title":"autoSize","slug":"autosize","link":"#autosize","children":[]},{"level":2,"title":"flip","slug":"flip","link":"#flip","children":[]},{"level":2,"title":"fullscreen","slug":"fullscreen","link":"#fullscreen","children":[]},{"level":2,"title":"fullscreenWeb","slug":"fullscreenweb","link":"#fullscreenweb","children":[]},{"level":2,"title":"mini","slug":"mini","link":"#mini","children":[]},{"level":2,"title":"pip","slug":"pip","link":"#pip","children":[]},{"level":2,"title":"screenshot","slug":"screenshot","link":"#screenshot","children":[]},{"level":2,"title":"seek","slug":"seek","link":"#seek","children":[]},{"level":2,"title":"subtitleOffset","slug":"subtitleoffset","link":"#subtitleoffset","children":[]},{"level":2,"title":"subtitleUpdate","slug":"subtitleupdate","link":"#subtitleupdate","children":[]},{"level":2,"title":"subtitleLoad","slug":"subtitleload","link":"#subtitleload","children":[]},{"level":2,"title":"subtitleSwitch","slug":"subtitleswitch","link":"#subtitleswitch","children":[]},{"level":2,"title":"video:canplay","slug":"video-canplay","link":"#video-canplay","children":[]},{"level":2,"title":"video:canplaythrough","slug":"video-canplaythrough","link":"#video-canplaythrough","children":[]},{"level":2,"title":"video:complete","slug":"video-complete","link":"#video-complete","children":[]},{"level":2,"title":"video:durationchange","slug":"video-durationchange","link":"#video-durationchange","children":[]},{"level":2,"title":"video:emptied","slug":"video-emptied","link":"#video-emptied","children":[]},{"level":2,"title":"video:ended","slug":"video-ended","link":"#video-ended","children":[]},{"level":2,"title":"video:error","slug":"video-error","link":"#video-error","children":[]},{"level":2,"title":"video:loadeddata","slug":"video-loadeddata","link":"#video-loadeddata","children":[]},{"level":2,"title":"video:loadedmetadata","slug":"video-loadedmetadata","link":"#video-loadedmetadata","children":[]},{"level":2,"title":"video:pause","slug":"video-pause","link":"#video-pause","children":[]},{"level":2,"title":"video:play","slug":"video-play","link":"#video-play","children":[]},{"level":2,"title":"video:playing","slug":"video-playing","link":"#video-playing","children":[]},{"level":2,"title":"video:progress","slug":"video-progress","link":"#video-progress","children":[]},{"level":2,"title":"video:ratechange","slug":"video-ratechange","link":"#video-ratechange","children":[]},{"level":2,"title":"video:seeked","slug":"video-seeked","link":"#video-seeked","children":[]},{"level":2,"title":"video:seeking","slug":"video-seeking","link":"#video-seeking","children":[]},{"level":2,"title":"video:stalled","slug":"video-stalled","link":"#video-stalled","children":[]},{"level":2,"title":"video:suspend","slug":"video-suspend","link":"#video-suspend","children":[]},{"level":2,"title":"video:timeupdate","slug":"video-timeupdate","link":"#video-timeupdate","children":[]},{"level":2,"title":"video:volumechange","slug":"video-volumechange","link":"#video-volumechange","children":[]},{"level":2,"title":"video:waiting","slug":"video-waiting","link":"#video-waiting","children":[]}],"relativePath":"advanced/event.md","lastUpdated":1673441101000}'),o={name:"advanced/event.md"},r=s("h1",{id:"实例事件",tabindex:"-1"},[a("实例事件 "),s("a",{class:"header-anchor",href:"#实例事件","aria-hidden":"true"},"#")],-1),c=s("p",null,[a("播放器的事件分为两种,一种视频的 "),s("code",null,"原生事件"),a(" (前缀 "),s("code",null,"video:"),a("),另外一种是 "),s("code",null,"自定义事件")],-1),t=s("p",null,"监听事件:",-1),D=s("div",{className:"run-code"},"▶ Run Code",-1),y=n("",2),F=s("div",{className:"run-code"},"▶ Run Code",-1),i=n("",2),A=s("div",{className:"run-code"},"▶ Run Code",-1),C=n("",2),d=s("div",{className:"run-code"},"▶ Run Code",-1),u=n("",4),b=s("div",{className:"run-code"},"▶ Run Code",-1),h=n("",3),m=s("div",{className:"run-code"},"▶ Run Code",-1),_=n("",3),v=s("div",{className:"run-code"},"▶ Run Code",-1),g=n("",3),E=s("div",{className:"run-code"},"▶ Run Code",-1),T=n("",3),f=s("div",{className:"run-code"},"▶ Run Code",-1),k=n("",3),S=s("div",{className:"run-code"},"▶ Run Code",-1),w=n("",3),R=s("div",{className:"run-code"},"▶ Run Code",-1),N=n("",3),V=s("div",{className:"run-code"},"▶ Run Code",-1),P=n("",3),j=s("div",{className:"run-code"},"▶ Run Code",-1),I=n("",3),x=s("div",{className:"run-code"},"▶ Run Code",-1),z=n("",3),O=s("div",{className:"run-code"},"▶ Run Code",-1),U=n("",3),H=s("div",{className:"run-code"},"▶ Run Code",-1),W=n("",3),L=s("div",{className:"run-code"},"▶ Run Code",-1),$=n("",3),B=s("div",{className:"run-code"},"▶ Run Code",-1),J=n("",3),q=s("div",{className:"run-code"},"▶ Run Code",-1),G=n("",3),K=s("div",{className:"run-code"},"▶ Run Code",-1),M=n("",3),Q=s("div",{className:"run-code"},"▶ Run Code",-1),X=n("",3),Y=s("div",{className:"run-code"},"▶ Run Code",-1),Z=n("",3),ss=s("div",{className:"run-code"},"▶ Run Code",-1),ns=n("",3),as=s("div",{className:"run-code"},"▶ Run Code",-1),ls=n("",3),ps=s("div",{className:"run-code"},"▶ Run Code",-1),es=n("",3),os=s("div",{className:"run-code"},"▶ Run Code",-1),rs=n("",3),cs=s("div",{className:"run-code"},"▶ Run Code",-1),ts=n("",3),Ds=s("div",{className:"run-code"},"▶ Run Code",-1),ys=n("",3),Fs=s("div",{className:"run-code"},"▶ Run Code",-1),is=n("",3),As=s("div",{className:"run-code"},"▶ Run Code",-1),Cs=n("",3),ds=s("div",{className:"run-code"},"▶ Run Code",-1),us=n("",3),bs=s("div",{className:"run-code"},"▶ Run Code",-1),hs=n("",3),ms=s("div",{className:"run-code"},"▶ Run Code",-1),_s=n("",3),vs=s("div",{className:"run-code"},"▶ Run Code",-1),gs=n("",43),Es=[r,c,t,D,y,F,i,A,C,d,u,b,h,m,_,v,g,E,T,f,k,S,w,R,N,V,P,j,I,x,z,O,U,H,W,L,$,B,J,q,G,K,M,Q,X,Y,Z,ss,ns,as,ls,ps,es,os,rs,cs,ts,Ds,ys,Fs,is,As,Cs,ds,us,bs,hs,ms,_s,vs,gs];function Ts(fs,ks,Ss,ws,Rs,Ns){return e(),p("div",null,Es)}const js=l(o,[["render",Ts]]);export{Ps as __pageData,js as default};
diff --git a/docs/document/assets/advanced_plugin.md.e12f32ab.js b/docs/document/assets/advanced_plugin.md.6eb8fb90.js
similarity index 99%
rename from docs/document/assets/advanced_plugin.md.e12f32ab.js
rename to docs/document/assets/advanced_plugin.md.6eb8fb90.js
index 96238020e..fba0d4b1a 100644
--- a/docs/document/assets/advanced_plugin.md.e12f32ab.js
+++ b/docs/document/assets/advanced_plugin.md.6eb8fb90.js
@@ -1,4 +1,4 @@
-import{_ as l,c as p,o,b as s,d as n,a}from"./app.6a0c1274.js";const v=JSON.parse('{"title":"编写插件","description":"","frontmatter":{},"headers":[],"relativePath":"advanced/plugin.md","lastUpdated":1673441101000}'),e={name:"advanced/plugin.md"},r=s("h1",{id:"编写插件",tabindex:"-1"},[n("编写插件 "),s("a",{class:"header-anchor",href:"#编写插件","aria-hidden":"true"},"#")],-1),c=s("p",null,[n("但你已经知道播放器的"),s("code",null,"属性"),n(", "),s("code",null,"方法"),n("和"),s("code",null,"事件"),n("后,再编写插件是非常简单的事")],-1),t=s("p",null,"可以在实例化的时候加载插件的函数",-1),F=s("div",{className:"run-code"},"▶ Run Code",-1),D=a(`
js
function myPlugin(art) {
+import{_ as l,c as p,o,b as s,d as n,a}from"./app.fcc4273a.js";const v=JSON.parse('{"title":"编写插件","description":"","frontmatter":{},"headers":[],"relativePath":"advanced/plugin.md","lastUpdated":1673441101000}'),e={name:"advanced/plugin.md"},r=s("h1",{id:"编写插件",tabindex:"-1"},[n("编写插件 "),s("a",{class:"header-anchor",href:"#编写插件","aria-hidden":"true"},"#")],-1),c=s("p",null,[n("但你已经知道播放器的"),s("code",null,"属性"),n(", "),s("code",null,"方法"),n("和"),s("code",null,"事件"),n("后,再编写插件是非常简单的事")],-1),t=s("p",null,"可以在实例化的时候加载插件的函数",-1),F=s("div",{className:"run-code"},"▶ Run Code",-1),D=a(`
js
function myPlugin(art) {
     console.info(art);
     return {
         name: 'myPlugin',
diff --git a/docs/document/assets/advanced_plugin.md.e12f32ab.lean.js b/docs/document/assets/advanced_plugin.md.6eb8fb90.lean.js
similarity index 93%
rename from docs/document/assets/advanced_plugin.md.e12f32ab.lean.js
rename to docs/document/assets/advanced_plugin.md.6eb8fb90.lean.js
index 21edc64f5..56e474c4a 100644
--- a/docs/document/assets/advanced_plugin.md.e12f32ab.lean.js
+++ b/docs/document/assets/advanced_plugin.md.6eb8fb90.lean.js
@@ -1 +1 @@
-import{_ as l,c as p,o,b as s,d as n,a}from"./app.6a0c1274.js";const v=JSON.parse('{"title":"编写插件","description":"","frontmatter":{},"headers":[],"relativePath":"advanced/plugin.md","lastUpdated":1673441101000}'),e={name:"advanced/plugin.md"},r=s("h1",{id:"编写插件",tabindex:"-1"},[n("编写插件 "),s("a",{class:"header-anchor",href:"#编写插件","aria-hidden":"true"},"#")],-1),c=s("p",null,[n("但你已经知道播放器的"),s("code",null,"属性"),n(", "),s("code",null,"方法"),n("和"),s("code",null,"事件"),n("后,再编写插件是非常简单的事")],-1),t=s("p",null,"可以在实例化的时候加载插件的函数",-1),F=s("div",{className:"run-code"},"▶ Run Code",-1),D=a("",2),y=s("div",{className:"run-code"},"▶ Run Code",-1),i=a("",2),A=s("div",{className:"run-code"},"▶ Run Code",-1),C=a("",1),b=[r,c,t,F,D,y,i,A,C];function u(m,d,h,_,g,E){return o(),p("div",null,b)}const T=l(e,[["render",u]]);export{v as __pageData,T as default};
+import{_ as l,c as p,o,b as s,d as n,a}from"./app.fcc4273a.js";const v=JSON.parse('{"title":"编写插件","description":"","frontmatter":{},"headers":[],"relativePath":"advanced/plugin.md","lastUpdated":1673441101000}'),e={name:"advanced/plugin.md"},r=s("h1",{id:"编写插件",tabindex:"-1"},[n("编写插件 "),s("a",{class:"header-anchor",href:"#编写插件","aria-hidden":"true"},"#")],-1),c=s("p",null,[n("但你已经知道播放器的"),s("code",null,"属性"),n(", "),s("code",null,"方法"),n("和"),s("code",null,"事件"),n("后,再编写插件是非常简单的事")],-1),t=s("p",null,"可以在实例化的时候加载插件的函数",-1),F=s("div",{className:"run-code"},"▶ Run Code",-1),D=a("",2),y=s("div",{className:"run-code"},"▶ Run Code",-1),i=a("",2),A=s("div",{className:"run-code"},"▶ Run Code",-1),C=a("",1),b=[r,c,t,F,D,y,i,A,C];function u(m,d,h,_,g,E){return o(),p("div",null,b)}const T=l(e,[["render",u]]);export{v as __pageData,T as default};
diff --git a/docs/document/assets/advanced_property.md.10e4e242.js b/docs/document/assets/advanced_property.md.44cedbca.js
similarity index 99%
rename from docs/document/assets/advanced_property.md.10e4e242.js
rename to docs/document/assets/advanced_property.md.44cedbca.js
index d7febeb23..15f0edffa 100644
--- a/docs/document/assets/advanced_property.md.10e4e242.js
+++ b/docs/document/assets/advanced_property.md.44cedbca.js
@@ -1,4 +1,4 @@
-import{_ as a,c as l,o as p,a as s,b as n}from"./app.6a0c1274.js";const Ls=JSON.parse('{"title":"实例属性","description":"","frontmatter":{},"headers":[{"level":2,"title":"play","slug":"play","link":"#play","children":[]},{"level":2,"title":"pause","slug":"pause","link":"#pause","children":[]},{"level":2,"title":"toggle","slug":"toggle","link":"#toggle","children":[]},{"level":2,"title":"destroy","slug":"destroy","link":"#destroy","children":[]},{"level":2,"title":"seek","slug":"seek","link":"#seek","children":[]},{"level":2,"title":"forward","slug":"forward","link":"#forward","children":[]},{"level":2,"title":"backward","slug":"backward","link":"#backward","children":[]},{"level":2,"title":"volume","slug":"volume","link":"#volume","children":[]},{"level":2,"title":"url","slug":"url","link":"#url","children":[]},{"level":2,"title":"switchUrl","slug":"switchurl","link":"#switchurl","children":[]},{"level":2,"title":"switchQuality","slug":"switchquality","link":"#switchquality","children":[]},{"level":2,"title":"muted","slug":"muted","link":"#muted","children":[]},{"level":2,"title":"currentTime","slug":"currenttime","link":"#currenttime","children":[]},{"level":2,"title":"duration","slug":"duration","link":"#duration","children":[]},{"level":2,"title":"screenshot","slug":"screenshot","link":"#screenshot","children":[]},{"level":2,"title":"getDataURL","slug":"getdataurl","link":"#getdataurl","children":[]},{"level":2,"title":"getBlobUrl","slug":"getbloburl","link":"#getbloburl","children":[]},{"level":2,"title":"fullscreen","slug":"fullscreen","link":"#fullscreen","children":[]},{"level":2,"title":"fullscreenWeb","slug":"fullscreenweb","link":"#fullscreenweb","children":[]},{"level":2,"title":"pip","slug":"pip","link":"#pip","children":[]},{"level":2,"title":"poster","slug":"poster","link":"#poster","children":[]},{"level":2,"title":"mini","slug":"mini","link":"#mini","children":[]},{"level":2,"title":"playing","slug":"playing","link":"#playing","children":[]},{"level":2,"title":"autoSize","slug":"autosize","link":"#autosize","children":[]},{"level":2,"title":"rect","slug":"rect","link":"#rect","children":[]},{"level":2,"title":"flip","slug":"flip","link":"#flip","children":[]},{"level":2,"title":"playbackRate","slug":"playbackrate","link":"#playbackrate","children":[]},{"level":2,"title":"aspectRatio","slug":"aspectratio","link":"#aspectratio","children":[]},{"level":2,"title":"loop","slug":"loop","link":"#loop","children":[]},{"level":2,"title":"autoHeight","slug":"autoheight","link":"#autoheight","children":[]},{"level":2,"title":"attr","slug":"attr","link":"#attr","children":[]},{"level":2,"title":"title","slug":"title","link":"#title","children":[]},{"level":2,"title":"type","slug":"type","link":"#type","children":[]},{"level":2,"title":"theme","slug":"theme","link":"#theme","children":[]},{"level":2,"title":"airplay","slug":"airplay","link":"#airplay","children":[]},{"level":2,"title":"loaded","slug":"loaded","link":"#loaded","children":[]},{"level":2,"title":"played","slug":"played","link":"#played","children":[]},{"level":2,"title":"proxy","slug":"proxy","link":"#proxy","children":[]},{"level":2,"title":"query","slug":"query","link":"#query","children":[]},{"level":2,"title":"video","slug":"video","link":"#video","children":[]}],"relativePath":"advanced/property.md","lastUpdated":1673441101000}'),o={name:"advanced/property.md"},e=s('

实例属性

这里的 实例属性 是指挂载在 实例 的 一级属性,比较常用

play

  • Type: Function

播放视频

',5),r=n("div",{className:"run-code"},"▶ Run Code",-1),c=s(`
js
var art = new Artplayer({
+import{_ as a,c as l,o as p,a as s,b as n}from"./app.fcc4273a.js";const Ls=JSON.parse('{"title":"实例属性","description":"","frontmatter":{},"headers":[{"level":2,"title":"play","slug":"play","link":"#play","children":[]},{"level":2,"title":"pause","slug":"pause","link":"#pause","children":[]},{"level":2,"title":"toggle","slug":"toggle","link":"#toggle","children":[]},{"level":2,"title":"destroy","slug":"destroy","link":"#destroy","children":[]},{"level":2,"title":"seek","slug":"seek","link":"#seek","children":[]},{"level":2,"title":"forward","slug":"forward","link":"#forward","children":[]},{"level":2,"title":"backward","slug":"backward","link":"#backward","children":[]},{"level":2,"title":"volume","slug":"volume","link":"#volume","children":[]},{"level":2,"title":"url","slug":"url","link":"#url","children":[]},{"level":2,"title":"switchUrl","slug":"switchurl","link":"#switchurl","children":[]},{"level":2,"title":"switchQuality","slug":"switchquality","link":"#switchquality","children":[]},{"level":2,"title":"muted","slug":"muted","link":"#muted","children":[]},{"level":2,"title":"currentTime","slug":"currenttime","link":"#currenttime","children":[]},{"level":2,"title":"duration","slug":"duration","link":"#duration","children":[]},{"level":2,"title":"screenshot","slug":"screenshot","link":"#screenshot","children":[]},{"level":2,"title":"getDataURL","slug":"getdataurl","link":"#getdataurl","children":[]},{"level":2,"title":"getBlobUrl","slug":"getbloburl","link":"#getbloburl","children":[]},{"level":2,"title":"fullscreen","slug":"fullscreen","link":"#fullscreen","children":[]},{"level":2,"title":"fullscreenWeb","slug":"fullscreenweb","link":"#fullscreenweb","children":[]},{"level":2,"title":"pip","slug":"pip","link":"#pip","children":[]},{"level":2,"title":"poster","slug":"poster","link":"#poster","children":[]},{"level":2,"title":"mini","slug":"mini","link":"#mini","children":[]},{"level":2,"title":"playing","slug":"playing","link":"#playing","children":[]},{"level":2,"title":"autoSize","slug":"autosize","link":"#autosize","children":[]},{"level":2,"title":"rect","slug":"rect","link":"#rect","children":[]},{"level":2,"title":"flip","slug":"flip","link":"#flip","children":[]},{"level":2,"title":"playbackRate","slug":"playbackrate","link":"#playbackrate","children":[]},{"level":2,"title":"aspectRatio","slug":"aspectratio","link":"#aspectratio","children":[]},{"level":2,"title":"loop","slug":"loop","link":"#loop","children":[]},{"level":2,"title":"autoHeight","slug":"autoheight","link":"#autoheight","children":[]},{"level":2,"title":"attr","slug":"attr","link":"#attr","children":[]},{"level":2,"title":"title","slug":"title","link":"#title","children":[]},{"level":2,"title":"type","slug":"type","link":"#type","children":[]},{"level":2,"title":"theme","slug":"theme","link":"#theme","children":[]},{"level":2,"title":"airplay","slug":"airplay","link":"#airplay","children":[]},{"level":2,"title":"loaded","slug":"loaded","link":"#loaded","children":[]},{"level":2,"title":"played","slug":"played","link":"#played","children":[]},{"level":2,"title":"proxy","slug":"proxy","link":"#proxy","children":[]},{"level":2,"title":"query","slug":"query","link":"#query","children":[]},{"level":2,"title":"video","slug":"video","link":"#video","children":[]}],"relativePath":"advanced/property.md","lastUpdated":1673441101000}'),o={name:"advanced/property.md"},e=s('

实例属性

这里的 实例属性 是指挂载在 实例 的 一级属性,比较常用

play

  • Type: Function

播放视频

',5),r=n("div",{className:"run-code"},"▶ Run Code",-1),c=s(`
js
var art = new Artplayer({
     container: '.artplayer-app',
     url: '/assets/sample/video.mp4',
     muted: true,
diff --git a/docs/document/assets/advanced_property.md.10e4e242.lean.js b/docs/document/assets/advanced_property.md.44cedbca.lean.js
similarity index 98%
rename from docs/document/assets/advanced_property.md.10e4e242.lean.js
rename to docs/document/assets/advanced_property.md.44cedbca.lean.js
index d1e511513..e505abdab 100644
--- a/docs/document/assets/advanced_property.md.10e4e242.lean.js
+++ b/docs/document/assets/advanced_property.md.44cedbca.lean.js
@@ -1 +1 @@
-import{_ as a,c as l,o as p,a as s,b as n}from"./app.6a0c1274.js";const Ls=JSON.parse('{"title":"实例属性","description":"","frontmatter":{},"headers":[{"level":2,"title":"play","slug":"play","link":"#play","children":[]},{"level":2,"title":"pause","slug":"pause","link":"#pause","children":[]},{"level":2,"title":"toggle","slug":"toggle","link":"#toggle","children":[]},{"level":2,"title":"destroy","slug":"destroy","link":"#destroy","children":[]},{"level":2,"title":"seek","slug":"seek","link":"#seek","children":[]},{"level":2,"title":"forward","slug":"forward","link":"#forward","children":[]},{"level":2,"title":"backward","slug":"backward","link":"#backward","children":[]},{"level":2,"title":"volume","slug":"volume","link":"#volume","children":[]},{"level":2,"title":"url","slug":"url","link":"#url","children":[]},{"level":2,"title":"switchUrl","slug":"switchurl","link":"#switchurl","children":[]},{"level":2,"title":"switchQuality","slug":"switchquality","link":"#switchquality","children":[]},{"level":2,"title":"muted","slug":"muted","link":"#muted","children":[]},{"level":2,"title":"currentTime","slug":"currenttime","link":"#currenttime","children":[]},{"level":2,"title":"duration","slug":"duration","link":"#duration","children":[]},{"level":2,"title":"screenshot","slug":"screenshot","link":"#screenshot","children":[]},{"level":2,"title":"getDataURL","slug":"getdataurl","link":"#getdataurl","children":[]},{"level":2,"title":"getBlobUrl","slug":"getbloburl","link":"#getbloburl","children":[]},{"level":2,"title":"fullscreen","slug":"fullscreen","link":"#fullscreen","children":[]},{"level":2,"title":"fullscreenWeb","slug":"fullscreenweb","link":"#fullscreenweb","children":[]},{"level":2,"title":"pip","slug":"pip","link":"#pip","children":[]},{"level":2,"title":"poster","slug":"poster","link":"#poster","children":[]},{"level":2,"title":"mini","slug":"mini","link":"#mini","children":[]},{"level":2,"title":"playing","slug":"playing","link":"#playing","children":[]},{"level":2,"title":"autoSize","slug":"autosize","link":"#autosize","children":[]},{"level":2,"title":"rect","slug":"rect","link":"#rect","children":[]},{"level":2,"title":"flip","slug":"flip","link":"#flip","children":[]},{"level":2,"title":"playbackRate","slug":"playbackrate","link":"#playbackrate","children":[]},{"level":2,"title":"aspectRatio","slug":"aspectratio","link":"#aspectratio","children":[]},{"level":2,"title":"loop","slug":"loop","link":"#loop","children":[]},{"level":2,"title":"autoHeight","slug":"autoheight","link":"#autoheight","children":[]},{"level":2,"title":"attr","slug":"attr","link":"#attr","children":[]},{"level":2,"title":"title","slug":"title","link":"#title","children":[]},{"level":2,"title":"type","slug":"type","link":"#type","children":[]},{"level":2,"title":"theme","slug":"theme","link":"#theme","children":[]},{"level":2,"title":"airplay","slug":"airplay","link":"#airplay","children":[]},{"level":2,"title":"loaded","slug":"loaded","link":"#loaded","children":[]},{"level":2,"title":"played","slug":"played","link":"#played","children":[]},{"level":2,"title":"proxy","slug":"proxy","link":"#proxy","children":[]},{"level":2,"title":"query","slug":"query","link":"#query","children":[]},{"level":2,"title":"video","slug":"video","link":"#video","children":[]}],"relativePath":"advanced/property.md","lastUpdated":1673441101000}'),o={name:"advanced/property.md"},e=s("",5),r=n("div",{className:"run-code"},"▶ Run Code",-1),c=s("",4),t=n("div",{className:"run-code"},"▶ Run Code",-1),D=s("",4),y=n("div",{className:"run-code"},"▶ Run Code",-1),F=s("",4),i=n("div",{className:"run-code"},"▶ Run Code",-1),A=s("",4),C=n("div",{className:"run-code"},"▶ Run Code",-1),d=s("",4),u=n("div",{className:"run-code"},"▶ Run Code",-1),b=s("",4),h=n("div",{className:"run-code"},"▶ Run Code",-1),m=s("",4),_=n("div",{className:"run-code"},"▶ Run Code",-1),g=s("",4),v=n("div",{className:"run-code"},"▶ Run Code",-1),T=s("",5),E=n("div",{className:"run-code"},"▶ Run Code",-1),S=s("",5),k=n("div",{className:"run-code"},"▶ Run Code",-1),f=s("",4),w=n("div",{className:"run-code"},"▶ Run Code",-1),P=s("",4),R=n("div",{className:"run-code"},"▶ Run Code",-1),N=s("",4),I=n("div",{className:"run-code"},"▶ Run Code",-1),V=s("",5),j=n("div",{className:"run-code"},"▶ Run Code",-1),x=s("",4),G=n("div",{className:"run-code"},"▶ Run Code",-1),B=s("",4),q=n("div",{className:"run-code"},"▶ Run Code",-1),z=s("",4),U=n("div",{className:"run-code"},"▶ Run Code",-1),L=s("",5),O=n("div",{className:"run-code"},"▶ Run Code",-1),W=s("",4),H=n("div",{className:"run-code"},"▶ Run Code",-1),$=s("",5),M=n("div",{className:"run-code"},"▶ Run Code",-1),Q=s("",4),J=n("div",{className:"run-code"},"▶ Run Code",-1),K=s("",4),X=n("div",{className:"run-code"},"▶ Run Code",-1),Y=s("",4),Z=n("div",{className:"run-code"},"▶ Run Code",-1),ss=s("",4),ns=n("div",{className:"run-code"},"▶ Run Code",-1),as=s("",5),ls=n("div",{className:"run-code"},"▶ Run Code",-1),ps=s("",4),os=n("div",{className:"run-code"},"▶ Run Code",-1),es=s("",4),rs=n("div",{className:"run-code"},"▶ Run Code",-1),cs=s("",4),ts=n("div",{className:"run-code"},"▶ Run Code",-1),Ds=s("",5),ys=n("div",{className:"run-code"},"▶ Run Code",-1),Fs=s("",5),is=n("div",{className:"run-code"},"▶ Run Code",-1),As=s("",4),Cs=n("div",{className:"run-code"},"▶ Run Code",-1),ds=s("",4),us=n("div",{className:"run-code"},"▶ Run Code",-1),bs=s("",4),hs=n("div",{className:"run-code"},"▶ Run Code",-1),ms=s("",4),_s=n("div",{className:"run-code"},"▶ Run Code",-1),gs=s("",4),vs=n("div",{className:"run-code"},"▶ Run Code",-1),Ts=s("",4),Es=n("div",{className:"run-code"},"▶ Run Code",-1),Ss=s("",4),ks=n("div",{className:"run-code"},"▶ Run Code",-1),fs=s("",5),ws=n("div",{className:"run-code"},"▶ Run Code",-1),Ps=s("",4),Rs=n("div",{className:"run-code"},"▶ Run Code",-1),Ns=s("",1),Is=[e,r,c,t,D,y,F,i,A,C,d,u,b,h,m,_,g,v,T,E,S,k,f,w,P,R,N,I,V,j,x,G,B,q,z,U,L,O,W,H,$,M,Q,J,K,X,Y,Z,ss,ns,as,ls,ps,os,es,rs,cs,ts,Ds,ys,Fs,is,As,Cs,ds,us,bs,hs,ms,_s,gs,vs,Ts,Es,Ss,ks,fs,ws,Ps,Rs,Ns];function Vs(js,xs,Gs,Bs,qs,zs){return p(),l("div",null,Is)}const Os=a(o,[["render",Vs]]);export{Ls as __pageData,Os as default};
+import{_ as a,c as l,o as p,a as s,b as n}from"./app.fcc4273a.js";const Ls=JSON.parse('{"title":"实例属性","description":"","frontmatter":{},"headers":[{"level":2,"title":"play","slug":"play","link":"#play","children":[]},{"level":2,"title":"pause","slug":"pause","link":"#pause","children":[]},{"level":2,"title":"toggle","slug":"toggle","link":"#toggle","children":[]},{"level":2,"title":"destroy","slug":"destroy","link":"#destroy","children":[]},{"level":2,"title":"seek","slug":"seek","link":"#seek","children":[]},{"level":2,"title":"forward","slug":"forward","link":"#forward","children":[]},{"level":2,"title":"backward","slug":"backward","link":"#backward","children":[]},{"level":2,"title":"volume","slug":"volume","link":"#volume","children":[]},{"level":2,"title":"url","slug":"url","link":"#url","children":[]},{"level":2,"title":"switchUrl","slug":"switchurl","link":"#switchurl","children":[]},{"level":2,"title":"switchQuality","slug":"switchquality","link":"#switchquality","children":[]},{"level":2,"title":"muted","slug":"muted","link":"#muted","children":[]},{"level":2,"title":"currentTime","slug":"currenttime","link":"#currenttime","children":[]},{"level":2,"title":"duration","slug":"duration","link":"#duration","children":[]},{"level":2,"title":"screenshot","slug":"screenshot","link":"#screenshot","children":[]},{"level":2,"title":"getDataURL","slug":"getdataurl","link":"#getdataurl","children":[]},{"level":2,"title":"getBlobUrl","slug":"getbloburl","link":"#getbloburl","children":[]},{"level":2,"title":"fullscreen","slug":"fullscreen","link":"#fullscreen","children":[]},{"level":2,"title":"fullscreenWeb","slug":"fullscreenweb","link":"#fullscreenweb","children":[]},{"level":2,"title":"pip","slug":"pip","link":"#pip","children":[]},{"level":2,"title":"poster","slug":"poster","link":"#poster","children":[]},{"level":2,"title":"mini","slug":"mini","link":"#mini","children":[]},{"level":2,"title":"playing","slug":"playing","link":"#playing","children":[]},{"level":2,"title":"autoSize","slug":"autosize","link":"#autosize","children":[]},{"level":2,"title":"rect","slug":"rect","link":"#rect","children":[]},{"level":2,"title":"flip","slug":"flip","link":"#flip","children":[]},{"level":2,"title":"playbackRate","slug":"playbackrate","link":"#playbackrate","children":[]},{"level":2,"title":"aspectRatio","slug":"aspectratio","link":"#aspectratio","children":[]},{"level":2,"title":"loop","slug":"loop","link":"#loop","children":[]},{"level":2,"title":"autoHeight","slug":"autoheight","link":"#autoheight","children":[]},{"level":2,"title":"attr","slug":"attr","link":"#attr","children":[]},{"level":2,"title":"title","slug":"title","link":"#title","children":[]},{"level":2,"title":"type","slug":"type","link":"#type","children":[]},{"level":2,"title":"theme","slug":"theme","link":"#theme","children":[]},{"level":2,"title":"airplay","slug":"airplay","link":"#airplay","children":[]},{"level":2,"title":"loaded","slug":"loaded","link":"#loaded","children":[]},{"level":2,"title":"played","slug":"played","link":"#played","children":[]},{"level":2,"title":"proxy","slug":"proxy","link":"#proxy","children":[]},{"level":2,"title":"query","slug":"query","link":"#query","children":[]},{"level":2,"title":"video","slug":"video","link":"#video","children":[]}],"relativePath":"advanced/property.md","lastUpdated":1673441101000}'),o={name:"advanced/property.md"},e=s("",5),r=n("div",{className:"run-code"},"▶ Run Code",-1),c=s("",4),t=n("div",{className:"run-code"},"▶ Run Code",-1),D=s("",4),y=n("div",{className:"run-code"},"▶ Run Code",-1),F=s("",4),i=n("div",{className:"run-code"},"▶ Run Code",-1),A=s("",4),C=n("div",{className:"run-code"},"▶ Run Code",-1),d=s("",4),u=n("div",{className:"run-code"},"▶ Run Code",-1),b=s("",4),h=n("div",{className:"run-code"},"▶ Run Code",-1),m=s("",4),_=n("div",{className:"run-code"},"▶ Run Code",-1),g=s("",4),v=n("div",{className:"run-code"},"▶ Run Code",-1),T=s("",5),E=n("div",{className:"run-code"},"▶ Run Code",-1),S=s("",5),k=n("div",{className:"run-code"},"▶ Run Code",-1),f=s("",4),w=n("div",{className:"run-code"},"▶ Run Code",-1),P=s("",4),R=n("div",{className:"run-code"},"▶ Run Code",-1),N=s("",4),I=n("div",{className:"run-code"},"▶ Run Code",-1),V=s("",5),j=n("div",{className:"run-code"},"▶ Run Code",-1),x=s("",4),G=n("div",{className:"run-code"},"▶ Run Code",-1),B=s("",4),q=n("div",{className:"run-code"},"▶ Run Code",-1),z=s("",4),U=n("div",{className:"run-code"},"▶ Run Code",-1),L=s("",5),O=n("div",{className:"run-code"},"▶ Run Code",-1),W=s("",4),H=n("div",{className:"run-code"},"▶ Run Code",-1),$=s("",5),M=n("div",{className:"run-code"},"▶ Run Code",-1),Q=s("",4),J=n("div",{className:"run-code"},"▶ Run Code",-1),K=s("",4),X=n("div",{className:"run-code"},"▶ Run Code",-1),Y=s("",4),Z=n("div",{className:"run-code"},"▶ Run Code",-1),ss=s("",4),ns=n("div",{className:"run-code"},"▶ Run Code",-1),as=s("",5),ls=n("div",{className:"run-code"},"▶ Run Code",-1),ps=s("",4),os=n("div",{className:"run-code"},"▶ Run Code",-1),es=s("",4),rs=n("div",{className:"run-code"},"▶ Run Code",-1),cs=s("",4),ts=n("div",{className:"run-code"},"▶ Run Code",-1),Ds=s("",5),ys=n("div",{className:"run-code"},"▶ Run Code",-1),Fs=s("",5),is=n("div",{className:"run-code"},"▶ Run Code",-1),As=s("",4),Cs=n("div",{className:"run-code"},"▶ Run Code",-1),ds=s("",4),us=n("div",{className:"run-code"},"▶ Run Code",-1),bs=s("",4),hs=n("div",{className:"run-code"},"▶ Run Code",-1),ms=s("",4),_s=n("div",{className:"run-code"},"▶ Run Code",-1),gs=s("",4),vs=n("div",{className:"run-code"},"▶ Run Code",-1),Ts=s("",4),Es=n("div",{className:"run-code"},"▶ Run Code",-1),Ss=s("",4),ks=n("div",{className:"run-code"},"▶ Run Code",-1),fs=s("",5),ws=n("div",{className:"run-code"},"▶ Run Code",-1),Ps=s("",4),Rs=n("div",{className:"run-code"},"▶ Run Code",-1),Ns=s("",1),Is=[e,r,c,t,D,y,F,i,A,C,d,u,b,h,m,_,g,v,T,E,S,k,f,w,P,R,N,I,V,j,x,G,B,q,z,U,L,O,W,H,$,M,Q,J,K,X,Y,Z,ss,ns,as,ls,ps,os,es,rs,cs,ts,Ds,ys,Fs,is,As,Cs,ds,us,bs,hs,ms,_s,gs,vs,Ts,Es,Ss,ks,fs,ws,Ps,Rs,Ns];function Vs(js,xs,Gs,Bs,qs,zs){return p(),l("div",null,Is)}const Os=a(o,[["render",Vs]]);export{Ls as __pageData,Os as default};
diff --git a/docs/document/assets/app.6a0c1274.js b/docs/document/assets/app.fcc4273a.js
similarity index 75%
rename from docs/document/assets/app.6a0c1274.js
rename to docs/document/assets/app.fcc4273a.js
index 9e05d179f..a23bde4b3 100644
--- a/docs/document/assets/app.6a0c1274.js
+++ b/docs/document/assets/app.fcc4273a.js
@@ -1,4 +1,4 @@
-function Qs(e,t){const n=Object.create(null),s=e.split(",");for(let o=0;o!!n[o.toLowerCase()]:o=>!!n[o]}function ts(e){if(Q(e)){const t={};for(let n=0;n{if(n){const s=n.split(Zr);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function pe(e){let t="";if(be(e))t=e;else if(Q(e))for(let n=0;nbe(e)?e:e==null?"":Q(e)||ve(e)&&(e.toString===Fi||!ne(e.toString))?JSON.stringify(e,Ni,2):String(e),Ni=(e,t)=>t&&t.__v_isRef?Ni(e,t.value):Ht(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,o])=>(n[`${s} =>`]=o,n),{})}:Bi(t)?{[`Set(${t.size})`]:[...t.values()]}:ve(t)&&!Q(t)&&!Di(t)?String(t):t,ge={},Bt=[],We=()=>{},ol=()=>!1,il=/^on[^a-z]/,wn=e=>il.test(e),Js=e=>e.startsWith("onUpdate:"),Pe=Object.assign,Xs=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},rl=Object.prototype.hasOwnProperty,ce=(e,t)=>rl.call(e,t),Q=Array.isArray,Ht=e=>ns(e)==="[object Map]",Bi=e=>ns(e)==="[object Set]",ne=e=>typeof e=="function",be=e=>typeof e=="string",Zs=e=>typeof e=="symbol",ve=e=>e!==null&&typeof e=="object",Hi=e=>ve(e)&&ne(e.then)&&ne(e.catch),Fi=Object.prototype.toString,ns=e=>Fi.call(e),ll=e=>ns(e).slice(8,-1),Di=e=>ns(e)==="[object Object]",eo=e=>be(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,rn=Qs(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),ss=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},cl=/-(\w)/g,st=ss(e=>e.replace(cl,(t,n)=>n?n.toUpperCase():"")),al=/\B([A-Z])/g,Yt=ss(e=>e.replace(al,"-$1").toLowerCase()),os=ss(e=>e.charAt(0).toUpperCase()+e.slice(1)),xs=ss(e=>e?`on${os(e)}`:""),pn=(e,t)=>!Object.is(e,t),Bn=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},_n=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let Mo;const ul=()=>Mo||(Mo=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});let Ne;class fl{constructor(t=!1){this.detached=t,this.active=!0,this.effects=[],this.cleanups=[],this.parent=Ne,!t&&Ne&&(this.index=(Ne.scopes||(Ne.scopes=[])).push(this)-1)}run(t){if(this.active){const n=Ne;try{return Ne=this,t()}finally{Ne=n}}}on(){Ne=this}off(){Ne=this.parent}stop(t){if(this.active){let n,s;for(n=0,s=this.effects.length;n{const t=new Set(e);return t.w=0,t.n=0,t},Ri=e=>(e.w&_t)>0,zi=e=>(e.n&_t)>0,_l=({deps:e})=>{if(e.length)for(let t=0;t{const{deps:t}=e;if(t.length){let n=0;for(let s=0;s{(f==="length"||f>=c)&&l.push(a)})}else switch(n!==void 0&&l.push(r.get(n)),t){case"add":Q(e)?eo(n)&&l.push(r.get("length")):(l.push(r.get(Vt)),Ht(e)&&l.push(r.get(Os)));break;case"delete":Q(e)||(l.push(r.get(Vt)),Ht(e)&&l.push(r.get(Os)));break;case"set":Ht(e)&&l.push(r.get(Vt));break}if(l.length===1)l[0]&&Ns(l[0]);else{const c=[];for(const a of l)a&&c.push(...a);Ns(to(c))}}function Ns(e,t){const n=Q(e)?e:[...e];for(const s of n)s.computed&&Oo(s);for(const s of n)s.computed||Oo(s)}function Oo(e,t){(e!==qe||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}const gl=Qs("__proto__,__v_isRef,__isVue"),qi=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Zs)),vl=so(),yl=so(!1,!0),bl=so(!0),No=xl();function xl(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const s=fe(this);for(let i=0,r=this.length;i{e[t]=function(...n){Qt();const s=fe(this)[t].apply(this,n);return Jt(),s}}),e}function so(e=!1,t=!1){return function(s,o,i){if(o==="__v_isReactive")return!e;if(o==="__v_isReadonly")return e;if(o==="__v_isShallow")return t;if(o==="__v_raw"&&i===(e?t?Bl:Qi:t?Yi:Gi).get(s))return s;const r=Q(s);if(!e&&r&&ce(No,o))return Reflect.get(No,o,i);const l=Reflect.get(s,o,i);return(Zs(o)?qi.has(o):gl(o))||(e||Fe(s,"get",o),t)?l:Se(l)?r&&eo(o)?l:l.value:ve(l)?e?ro(l):rs(l):l}}const wl=Ki(),kl=Ki(!0);function Ki(e=!1){return function(n,s,o,i){let r=n[s];if(qt(r)&&Se(r)&&!Se(o))return!1;if(!e&&(!zn(o)&&!qt(o)&&(r=fe(r),o=fe(o)),!Q(n)&&Se(r)&&!Se(o)))return r.value=o,!0;const l=Q(n)&&eo(s)?Number(s)e,is=e=>Reflect.getPrototypeOf(e);function Cn(e,t,n=!1,s=!1){e=e.__v_raw;const o=fe(e),i=fe(t);n||(t!==i&&Fe(o,"get",t),Fe(o,"get",i));const{has:r}=is(o),l=s?oo:n?co:mn;if(r.call(o,t))return l(e.get(t));if(r.call(o,i))return l(e.get(i));e!==o&&e.get(t)}function Sn(e,t=!1){const n=this.__v_raw,s=fe(n),o=fe(e);return t||(e!==o&&Fe(s,"has",e),Fe(s,"has",o)),e===o?n.has(e):n.has(e)||n.has(o)}function Tn(e,t=!1){return e=e.__v_raw,!t&&Fe(fe(e),"iterate",Vt),Reflect.get(e,"size",e)}function Bo(e){e=fe(e);const t=fe(this);return is(t).has.call(t,e)||(t.add(e),rt(t,"add",e,e)),this}function Ho(e,t){t=fe(t);const n=fe(this),{has:s,get:o}=is(n);let i=s.call(n,e);i||(e=fe(e),i=s.call(n,e));const r=o.call(n,e);return n.set(e,t),i?pn(t,r)&&rt(n,"set",e,t):rt(n,"add",e,t),this}function Fo(e){const t=fe(this),{has:n,get:s}=is(t);let o=n.call(t,e);o||(e=fe(e),o=n.call(t,e)),s&&s.call(t,e);const i=t.delete(e);return o&&rt(t,"delete",e,void 0),i}function Do(){const e=fe(this),t=e.size!==0,n=e.clear();return t&&rt(e,"clear",void 0,void 0),n}function En(e,t){return function(s,o){const i=this,r=i.__v_raw,l=fe(r),c=t?oo:e?co:mn;return!e&&Fe(l,"iterate",Vt),r.forEach((a,f)=>s.call(o,c(a),c(f),i))}}function Vn(e,t,n){return function(...s){const o=this.__v_raw,i=fe(o),r=Ht(i),l=e==="entries"||e===Symbol.iterator&&r,c=e==="keys"&&r,a=o[e](...s),f=n?oo:t?co:mn;return!t&&Fe(i,"iterate",c?Os:Vt),{next(){const{value:h,done:_}=a.next();return _?{value:h,done:_}:{value:l?[f(h[0]),f(h[1])]:f(h),done:_}},[Symbol.iterator](){return this}}}}function ct(e){return function(...t){return e==="delete"?!1:this}}function El(){const e={get(i){return Cn(this,i)},get size(){return Tn(this)},has:Sn,add:Bo,set:Ho,delete:Fo,clear:Do,forEach:En(!1,!1)},t={get(i){return Cn(this,i,!1,!0)},get size(){return Tn(this)},has:Sn,add:Bo,set:Ho,delete:Fo,clear:Do,forEach:En(!1,!0)},n={get(i){return Cn(this,i,!0)},get size(){return Tn(this,!0)},has(i){return Sn.call(this,i,!0)},add:ct("add"),set:ct("set"),delete:ct("delete"),clear:ct("clear"),forEach:En(!0,!1)},s={get(i){return Cn(this,i,!0,!0)},get size(){return Tn(this,!0)},has(i){return Sn.call(this,i,!0)},add:ct("add"),set:ct("set"),delete:ct("delete"),clear:ct("clear"),forEach:En(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=Vn(i,!1,!1),n[i]=Vn(i,!0,!1),t[i]=Vn(i,!1,!0),s[i]=Vn(i,!0,!0)}),[e,n,t,s]}const[Vl,Ll,Al,Ml]=El();function io(e,t){const n=t?e?Ml:Al:e?Ll:Vl;return(s,o,i)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?s:Reflect.get(ce(n,o)&&o in s?n:s,o,i)}const Il={get:io(!1,!1)},Ol={get:io(!1,!0)},Nl={get:io(!0,!1)},Gi=new WeakMap,Yi=new WeakMap,Qi=new WeakMap,Bl=new WeakMap;function Hl(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Fl(e){return e.__v_skip||!Object.isExtensible(e)?0:Hl(ll(e))}function rs(e){return qt(e)?e:lo(e,!1,Wi,Il,Gi)}function Dl(e){return lo(e,!1,Tl,Ol,Yi)}function ro(e){return lo(e,!0,Sl,Nl,Qi)}function lo(e,t,n,s,o){if(!ve(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=o.get(e);if(i)return i;const r=Fl(e);if(r===0)return e;const l=new Proxy(e,r===2?s:n);return o.set(e,l),l}function Ft(e){return qt(e)?Ft(e.__v_raw):!!(e&&e.__v_isReactive)}function qt(e){return!!(e&&e.__v_isReadonly)}function zn(e){return!!(e&&e.__v_isShallow)}function Ji(e){return Ft(e)||qt(e)}function fe(e){const t=e&&e.__v_raw;return t?fe(t):e}function ln(e){return Rn(e,"__v_skip",!0),e}const mn=e=>ve(e)?rs(e):e,co=e=>ve(e)?ro(e):e;function Xi(e){ht&&qe&&(e=fe(e),Ui(e.dep||(e.dep=to())))}function Zi(e,t){e=fe(e),e.dep&&Ns(e.dep)}function Se(e){return!!(e&&e.__v_isRef===!0)}function le(e){return er(e,!1)}function Rl(e){return er(e,!0)}function er(e,t){return Se(e)?e:new zl(e,t)}class zl{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:fe(t),this._value=n?t:mn(t)}get value(){return Xi(this),this._value}set value(t){const n=this.__v_isShallow||zn(t)||qt(t);t=n?t:fe(t),pn(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:mn(t),Zi(this))}}function g(e){return Se(e)?e.value:e}const jl={get:(e,t,n)=>g(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const o=e[t];return Se(o)&&!Se(n)?(o.value=n,!0):Reflect.set(e,t,n,s)}};function tr(e){return Ft(e)?e:new Proxy(e,jl)}var nr;class Ul{constructor(t,n,s,o){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this[nr]=!1,this._dirty=!0,this.effect=new no(t,()=>{this._dirty||(this._dirty=!0,Zi(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=s}get value(){const t=fe(this);return Xi(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}nr="__v_isReadonly";function ql(e,t,n=!1){let s,o;const i=ne(e);return i?(s=e,o=We):(s=e.get,o=e.set),new Ul(s,o,i||!o,n)}function pt(e,t,n,s){let o;try{o=s?e(...s):e()}catch(i){ls(i,t,n)}return o}function ze(e,t,n,s){if(ne(e)){const i=pt(e,t,n,s);return i&&Hi(i)&&i.catch(r=>{ls(r,t,n)}),i}const o=[];for(let i=0;i>>1;vn(Ce[s])tt&&Ce.splice(t,1)}function Yl(e){Q(e)?Dt.push(...e):(!it||!it.includes(e,e.allowRecurse?Pt+1:Pt))&&Dt.push(e),or()}function Ro(e,t=gn?tt+1:0){for(;tvn(n)-vn(s)),Pt=0;Pte.id==null?1/0:e.id,Ql=(e,t)=>{const n=vn(e)-vn(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function ir(e){Bs=!1,gn=!0,Ce.sort(Ql);const t=We;try{for(tt=0;ttbe(m)?m.trim():m)),h&&(o=n.map(_n))}let l,c=s[l=xs(t)]||s[l=xs(st(t))];!c&&i&&(c=s[l=xs(Yt(t))]),c&&ze(c,e,6,o);const a=s[l+"Once"];if(a){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,ze(a,e,6,o)}}function rr(e,t,n=!1){const s=t.emitsCache,o=s.get(e);if(o!==void 0)return o;const i=e.emits;let r={},l=!1;if(!ne(e)){const c=a=>{const f=rr(a,t,!0);f&&(l=!0,Pe(r,f))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!i&&!l?(ve(e)&&s.set(e,null),null):(Q(i)?i.forEach(c=>r[c]=null):Pe(r,i),ve(e)&&s.set(e,r),r)}function cs(e,t){return!e||!wn(t)?!1:(t=t.slice(2).replace(/Once$/,""),ce(e,t[0].toLowerCase()+t.slice(1))||ce(e,Yt(t))||ce(e,t))}let $e=null,as=null;function Un(e){const t=$e;return $e=e,as=e&&e.type.__scopeId||null,t}function Ge(e){as=e}function Ye(){as=null}function B(e,t=$e,n){if(!t||e._n)return e;const s=(...o)=>{s._d&&Zo(-1);const i=Un(t);let r;try{r=e(...o)}finally{Un(i),s._d&&Zo(1)}return r};return s._n=!0,s._c=!0,s._d=!0,s}function ws(e){const{type:t,vnode:n,proxy:s,withProxy:o,props:i,propsOptions:[r],slots:l,attrs:c,emit:a,render:f,renderCache:h,data:_,setupState:m,ctx:S,inheritAttrs:A}=e;let W,y;const w=Un(e);try{if(n.shapeFlag&4){const O=o||s;W=Ue(f.call(O,O,h,i,m,_,S)),y=c}else{const O=t;W=Ue(O.length>1?O(i,{attrs:c,slots:l,emit:a}):O(i,null)),y=t.props?c:Xl(c)}}catch(O){fn.length=0,ls(O,e,1),W=I(He)}let C=W;if(y&&A!==!1){const O=Object.keys(y),{shapeFlag:z}=C;O.length&&z&7&&(r&&O.some(Js)&&(y=Zl(y,r)),C=mt(C,y))}return n.dirs&&(C=mt(C),C.dirs=C.dirs?C.dirs.concat(n.dirs):n.dirs),n.transition&&(C.transition=n.transition),W=C,Un(w),W}const Xl=e=>{let t;for(const n in e)(n==="class"||n==="style"||wn(n))&&((t||(t={}))[n]=e[n]);return t},Zl=(e,t)=>{const n={};for(const s in e)(!Js(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function ec(e,t,n){const{props:s,children:o,component:i}=e,{props:r,children:l,patchFlag:c}=t,a=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return s?zo(s,r,a):!!r;if(c&8){const f=t.dynamicProps;for(let h=0;he.__isSuspense;function lr(e,t){t&&t.pendingBranch?Q(e)?t.effects.push(...e):t.effects.push(e):Yl(e)}function Rt(e,t){if(we){let n=we.provides;const s=we.parent&&we.parent.provides;s===n&&(n=we.provides=Object.create(s)),n[e]=t}}function Be(e,t,n=!1){const s=we||$e;if(s){const o=s.parent==null?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides;if(o&&e in o)return o[e];if(arguments.length>1)return n&&ne(t)?t.call(s.proxy):t}}function At(e,t){return us(e,null,t)}function sc(e,t){return us(e,null,{flush:"post"})}const Ln={};function nt(e,t,n){return us(e,t,n)}function us(e,t,{immediate:n,deep:s,flush:o,onTrack:i,onTrigger:r}=ge){const l=we;let c,a=!1,f=!1;if(Se(e)?(c=()=>e.value,a=zn(e)):Ft(e)?(c=()=>e,s=!0):Q(e)?(f=!0,a=e.some(C=>Ft(C)||zn(C)),c=()=>e.map(C=>{if(Se(C))return C.value;if(Ft(C))return Et(C);if(ne(C))return pt(C,l,2)})):ne(e)?t?c=()=>pt(e,l,2):c=()=>{if(!(l&&l.isUnmounted))return h&&h(),ze(e,l,3,[_])}:c=We,t&&s){const C=c;c=()=>Et(C())}let h,_=C=>{h=y.onStop=()=>{pt(C,l,4)}},m;if(bn)if(_=We,t?n&&ze(t,l,3,[c(),f?[]:void 0,_]):c(),o==="sync"){const C=Xc();m=C.__watcherHandles||(C.__watcherHandles=[])}else return We;let S=f?new Array(e.length).fill(Ln):Ln;const A=()=>{if(y.active)if(t){const C=y.run();(s||a||(f?C.some((O,z)=>pn(O,S[z])):pn(C,S)))&&(h&&h(),ze(t,l,3,[C,S===Ln?void 0:f&&S[0]===Ln?[]:S,_]),S=C)}else y.run()};A.allowRecurse=!!t;let W;o==="sync"?W=A:o==="post"?W=()=>Ae(A,l&&l.suspense):(A.pre=!0,l&&(A.id=l.uid),W=()=>fo(A));const y=new no(c,W);t?n?A():S=y.run():o==="post"?Ae(y.run.bind(y),l&&l.suspense):y.run();const w=()=>{y.stop(),l&&l.scope&&Xs(l.scope.effects,y)};return m&&m.push(w),w}function oc(e,t,n){const s=this.proxy,o=be(e)?e.includes(".")?cr(s,e):()=>s[e]:e.bind(s,s);let i;ne(t)?i=t:(i=t.handler,n=t);const r=we;Wt(this);const l=us(o,i.bind(s),n);return r?Wt(r):Lt(),l}function cr(e,t){const n=t.split(".");return()=>{let s=e;for(let o=0;o{Et(n,t)});else if(Di(e))for(const n in e)Et(e[n],t);return e}function ic(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Qe(()=>{e.isMounted=!0}),hr(()=>{e.isUnmounting=!0}),e}const De=[Function,Array],rc={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:De,onEnter:De,onAfterEnter:De,onEnterCancelled:De,onBeforeLeave:De,onLeave:De,onAfterLeave:De,onLeaveCancelled:De,onBeforeAppear:De,onAppear:De,onAfterAppear:De,onAppearCancelled:De},setup(e,{slots:t}){const n=bo(),s=ic();let o;return()=>{const i=t.default&&fr(t.default(),!0);if(!i||!i.length)return;let r=i[0];if(i.length>1){for(const A of i)if(A.type!==He){r=A;break}}const l=fe(e),{mode:c}=l;if(s.isLeaving)return ks(r);const a=jo(r);if(!a)return ks(r);const f=Hs(a,l,s,n);Fs(a,f);const h=n.subTree,_=h&&jo(h);let m=!1;const{getTransitionKey:S}=a.type;if(S){const A=S();o===void 0?o=A:A!==o&&(o=A,m=!0)}if(_&&_.type!==He&&(!Ct(a,_)||m)){const A=Hs(_,l,s,n);if(Fs(_,A),c==="out-in")return s.isLeaving=!0,A.afterLeave=()=>{s.isLeaving=!1,n.update.active!==!1&&n.update()},ks(r);c==="in-out"&&a.type!==He&&(A.delayLeave=(W,y,w)=>{const C=ur(s,_);C[String(_.key)]=_,W._leaveCb=()=>{y(),W._leaveCb=void 0,delete f.delayedLeave},f.delayedLeave=w})}return r}}},ar=rc;function ur(e,t){const{leavingVNodes:n}=e;let s=n.get(t.type);return s||(s=Object.create(null),n.set(t.type,s)),s}function Hs(e,t,n,s){const{appear:o,mode:i,persisted:r=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:a,onEnterCancelled:f,onBeforeLeave:h,onLeave:_,onAfterLeave:m,onLeaveCancelled:S,onBeforeAppear:A,onAppear:W,onAfterAppear:y,onAppearCancelled:w}=t,C=String(e.key),O=ur(n,e),z=(V,Y)=>{V&&ze(V,s,9,Y)},G=(V,Y)=>{const J=Y[1];z(V,Y),Q(V)?V.every(se=>se.length<=1)&&J():V.length<=1&&J()},X={mode:i,persisted:r,beforeEnter(V){let Y=l;if(!n.isMounted)if(o)Y=A||l;else return;V._leaveCb&&V._leaveCb(!0);const J=O[C];J&&Ct(e,J)&&J.el._leaveCb&&J.el._leaveCb(),z(Y,[V])},enter(V){let Y=c,J=a,se=f;if(!n.isMounted)if(o)Y=W||c,J=y||a,se=w||f;else return;let F=!1;const oe=V._enterCb=j=>{F||(F=!0,j?z(se,[V]):z(J,[V]),X.delayedLeave&&X.delayedLeave(),V._enterCb=void 0)};Y?G(Y,[V,oe]):oe()},leave(V,Y){const J=String(e.key);if(V._enterCb&&V._enterCb(!0),n.isUnmounting)return Y();z(h,[V]);let se=!1;const F=V._leaveCb=oe=>{se||(se=!0,Y(),oe?z(S,[V]):z(m,[V]),V._leaveCb=void 0,O[J]===e&&delete O[J])};O[J]=e,_?G(_,[V,F]):F()},clone(V){return Hs(V,t,n,s)}};return X}function ks(e){if(fs(e))return e=mt(e),e.children=null,e}function jo(e){return fs(e)?e.children?e.children[0]:void 0:e}function Fs(e,t){e.shapeFlag&6&&e.component?Fs(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function fr(e,t=!1,n){let s=[],o=0;for(let i=0;i1)for(let i=0;i!!e.type.__asyncLoader,fs=e=>e.type.__isKeepAlive;function lc(e,t){dr(e,"a",t)}function cc(e,t){dr(e,"da",t)}function dr(e,t,n=we){const s=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(ds(t,s,n),n){let o=n.parent;for(;o&&o.parent;)fs(o.parent.vnode)&&ac(s,t,n,o),o=o.parent}}function ac(e,t,n,s){const o=ds(t,e,s,!0);Xt(()=>{Xs(s[t],o)},n)}function ds(e,t,n=we,s=!1){if(n){const o=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...r)=>{if(n.isUnmounted)return;Qt(),Wt(n);const l=ze(t,n,e,r);return Lt(),Jt(),l});return s?o.unshift(i):o.push(i),i}}const lt=e=>(t,n=we)=>(!bn||e==="sp")&&ds(e,(...s)=>t(...s),n),uc=lt("bm"),Qe=lt("m"),fc=lt("bu"),ho=lt("u"),hr=lt("bum"),Xt=lt("um"),dc=lt("sp"),hc=lt("rtg"),pc=lt("rtc");function _c(e,t=we){ds("ec",e,t)}function Uo(e,t){const n=$e;if(n===null)return e;const s=ps(n)||n.proxy,o=e.dirs||(e.dirs=[]);for(let i=0;it(r,l,void 0,i&&i[l]));else{const r=Object.keys(e);o=new Array(r.length);for(let l=0,c=r.length;lWn(t)?!(t.type===He||t.type===te&&!mr(t.children)):!0)?e:null}const Ds=e=>e?Sr(e)?ps(e)||e.proxy:Ds(e.parent):null,cn=Pe(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Ds(e.parent),$root:e=>Ds(e.root),$emit:e=>e.emit,$options:e=>mo(e),$forceUpdate:e=>e.f||(e.f=()=>fo(e.update)),$nextTick:e=>e.n||(e.n=uo.bind(e.proxy)),$watch:e=>oc.bind(e)}),$s=(e,t)=>e!==ge&&!e.__isScriptSetup&&ce(e,t),mc={get({_:e},t){const{ctx:n,setupState:s,data:o,props:i,accessCache:r,type:l,appContext:c}=e;let a;if(t[0]!=="$"){const m=r[t];if(m!==void 0)switch(m){case 1:return s[t];case 2:return o[t];case 4:return n[t];case 3:return i[t]}else{if($s(s,t))return r[t]=1,s[t];if(o!==ge&&ce(o,t))return r[t]=2,o[t];if((a=e.propsOptions[0])&&ce(a,t))return r[t]=3,i[t];if(n!==ge&&ce(n,t))return r[t]=4,n[t];Rs&&(r[t]=0)}}const f=cn[t];let h,_;if(f)return t==="$attrs"&&Fe(e,"get",t),f(e);if((h=l.__cssModules)&&(h=h[t]))return h;if(n!==ge&&ce(n,t))return r[t]=4,n[t];if(_=c.config.globalProperties,ce(_,t))return _[t]},set({_:e},t,n){const{data:s,setupState:o,ctx:i}=e;return $s(o,t)?(o[t]=n,!0):s!==ge&&ce(s,t)?(s[t]=n,!0):ce(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:o,propsOptions:i}},r){let l;return!!n[r]||e!==ge&&ce(e,r)||$s(t,r)||(l=i[0])&&ce(l,r)||ce(s,r)||ce(cn,r)||ce(o.config.globalProperties,r)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:ce(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};let Rs=!0;function gc(e){const t=mo(e),n=e.proxy,s=e.ctx;Rs=!1,t.beforeCreate&&Ko(t.beforeCreate,e,"bc");const{data:o,computed:i,methods:r,watch:l,provide:c,inject:a,created:f,beforeMount:h,mounted:_,beforeUpdate:m,updated:S,activated:A,deactivated:W,beforeDestroy:y,beforeUnmount:w,destroyed:C,unmounted:O,render:z,renderTracked:G,renderTriggered:X,errorCaptured:V,serverPrefetch:Y,expose:J,inheritAttrs:se,components:F,directives:oe,filters:j}=t;if(a&&vc(a,s,null,e.appContext.config.unwrapInjectedRef),r)for(const ye in r){const _e=r[ye];ne(_e)&&(s[ye]=_e.bind(n))}if(o){const ye=o.call(n,n);ve(ye)&&(e.data=rs(ye))}if(Rs=!0,i)for(const ye in i){const _e=i[ye],yt=ne(_e)?_e.bind(n,n):ne(_e.get)?_e.get.bind(n,n):We,$n=!ne(_e)&&ne(_e.set)?_e.set.bind(n):We,bt=ie({get:yt,set:$n});Object.defineProperty(s,ye,{enumerable:!0,configurable:!0,get:()=>bt.value,set:Xe=>bt.value=Xe})}if(l)for(const ye in l)gr(l[ye],s,n,ye);if(c){const ye=ne(c)?c.call(n):c;Reflect.ownKeys(ye).forEach(_e=>{Rt(_e,ye[_e])})}f&&Ko(f,e,"c");function de(ye,_e){Q(_e)?_e.forEach(yt=>ye(yt.bind(n))):_e&&ye(_e.bind(n))}if(de(uc,h),de(Qe,_),de(fc,m),de(ho,S),de(lc,A),de(cc,W),de(_c,V),de(pc,G),de(hc,X),de(hr,w),de(Xt,O),de(dc,Y),Q(J))if(J.length){const ye=e.exposed||(e.exposed={});J.forEach(_e=>{Object.defineProperty(ye,_e,{get:()=>n[_e],set:yt=>n[_e]=yt})})}else e.exposed||(e.exposed={});z&&e.render===We&&(e.render=z),se!=null&&(e.inheritAttrs=se),F&&(e.components=F),oe&&(e.directives=oe)}function vc(e,t,n=We,s=!1){Q(e)&&(e=zs(e));for(const o in e){const i=e[o];let r;ve(i)?"default"in i?r=Be(i.from||o,i.default,!0):r=Be(i.from||o):r=Be(i),Se(r)&&s?Object.defineProperty(t,o,{enumerable:!0,configurable:!0,get:()=>r.value,set:l=>r.value=l}):t[o]=r}}function Ko(e,t,n){ze(Q(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function gr(e,t,n,s){const o=s.includes(".")?cr(n,s):()=>n[s];if(be(e)){const i=t[e];ne(i)&&nt(o,i)}else if(ne(e))nt(o,e.bind(n));else if(ve(e))if(Q(e))e.forEach(i=>gr(i,t,n,s));else{const i=ne(e.handler)?e.handler.bind(n):t[e.handler];ne(i)&&nt(o,i,e)}}function mo(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:o,optionsCache:i,config:{optionMergeStrategies:r}}=e.appContext,l=i.get(t);let c;return l?c=l:!o.length&&!n&&!s?c=t:(c={},o.length&&o.forEach(a=>qn(c,a,r,!0)),qn(c,t,r)),ve(t)&&i.set(t,c),c}function qn(e,t,n,s=!1){const{mixins:o,extends:i}=t;i&&qn(e,i,n,!0),o&&o.forEach(r=>qn(e,r,n,!0));for(const r in t)if(!(s&&r==="expose")){const l=yc[r]||n&&n[r];e[r]=l?l(e[r],t[r]):t[r]}return e}const yc={data:Wo,props:$t,emits:$t,methods:$t,computed:$t,beforeCreate:Te,created:Te,beforeMount:Te,mounted:Te,beforeUpdate:Te,updated:Te,beforeDestroy:Te,beforeUnmount:Te,destroyed:Te,unmounted:Te,activated:Te,deactivated:Te,errorCaptured:Te,serverPrefetch:Te,components:$t,directives:$t,watch:xc,provide:Wo,inject:bc};function Wo(e,t){return t?e?function(){return Pe(ne(e)?e.call(this,this):e,ne(t)?t.call(this,this):t)}:t:e}function bc(e,t){return $t(zs(e),zs(t))}function zs(e){if(Q(e)){const t={};for(let n=0;n0)&&!(r&16)){if(r&8){const f=e.vnode.dynamicProps;for(let h=0;h{c=!0;const[_,m]=yr(h,t,!0);Pe(r,_),m&&l.push(...m)};!n&&t.mixins.length&&t.mixins.forEach(f),e.extends&&f(e.extends),e.mixins&&e.mixins.forEach(f)}if(!i&&!c)return ve(e)&&s.set(e,Bt),Bt;if(Q(i))for(let f=0;f-1,m[1]=A<0||S-1||ce(m,"default"))&&l.push(h)}}}const a=[r,l];return ve(e)&&s.set(e,a),a}function Go(e){return e[0]!=="$"}function Yo(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:e===null?"null":""}function Qo(e,t){return Yo(e)===Yo(t)}function Jo(e,t){return Q(t)?t.findIndex(n=>Qo(n,e)):ne(t)&&Qo(t,e)?0:-1}const br=e=>e[0]==="_"||e==="$stable",go=e=>Q(e)?e.map(Ue):[Ue(e)],$c=(e,t,n)=>{if(t._n)return t;const s=B((...o)=>go(t(...o)),n);return s._c=!1,s},xr=(e,t,n)=>{const s=e._ctx;for(const o in e){if(br(o))continue;const i=e[o];if(ne(i))t[o]=$c(o,i,s);else if(i!=null){const r=go(i);t[o]=()=>r}}},wr=(e,t)=>{const n=go(t);e.slots.default=()=>n},Pc=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=fe(t),Rn(t,"_",n)):xr(t,e.slots={})}else e.slots={},t&&wr(e,t);Rn(e.slots,hs,1)},Cc=(e,t,n)=>{const{vnode:s,slots:o}=e;let i=!0,r=ge;if(s.shapeFlag&32){const l=t._;l?n&&l===1?i=!1:(Pe(o,t),!n&&l===1&&delete o._):(i=!t.$stable,xr(t,o)),r=t}else t&&(wr(e,t),r={default:1});if(i)for(const l in o)!br(l)&&!(l in r)&&delete o[l]};function kr(){return{app:null,config:{isNativeTag:ol,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let Sc=0;function Tc(e,t){return function(s,o=null){ne(s)||(s=Object.assign({},s)),o!=null&&!ve(o)&&(o=null);const i=kr(),r=new Set;let l=!1;const c=i.app={_uid:Sc++,_component:s,_props:o,_container:null,_context:i,_instance:null,version:Zc,get config(){return i.config},set config(a){},use(a,...f){return r.has(a)||(a&&ne(a.install)?(r.add(a),a.install(c,...f)):ne(a)&&(r.add(a),a(c,...f))),c},mixin(a){return i.mixins.includes(a)||i.mixins.push(a),c},component(a,f){return f?(i.components[a]=f,c):i.components[a]},directive(a,f){return f?(i.directives[a]=f,c):i.directives[a]},mount(a,f,h){if(!l){const _=I(s,o);return _.appContext=i,f&&t?t(_,a):e(_,a,h),l=!0,c._container=a,a.__vue_app__=c,ps(_.component)||_.component.proxy}},unmount(){l&&(e(null,c._container),delete c._container.__vue_app__)},provide(a,f){return i.provides[a]=f,c}};return c}}function Kn(e,t,n,s,o=!1){if(Q(e)){e.forEach((_,m)=>Kn(_,t&&(Q(t)?t[m]:t),n,s,o));return}if(zt(s)&&!o)return;const i=s.shapeFlag&4?ps(s.component)||s.component.proxy:s.el,r=o?null:i,{i:l,r:c}=e,a=t&&t.r,f=l.refs===ge?l.refs={}:l.refs,h=l.setupState;if(a!=null&&a!==c&&(be(a)?(f[a]=null,ce(h,a)&&(h[a]=null)):Se(a)&&(a.value=null)),ne(c))pt(c,l,12,[r,f]);else{const _=be(c),m=Se(c);if(_||m){const S=()=>{if(e.f){const A=_?ce(h,c)?h[c]:f[c]:c.value;o?Q(A)&&Xs(A,i):Q(A)?A.includes(i)||A.push(i):_?(f[c]=[i],ce(h,c)&&(h[c]=f[c])):(c.value=[i],e.k&&(f[e.k]=c.value))}else _?(f[c]=r,ce(h,c)&&(h[c]=r)):m&&(c.value=r,e.k&&(f[e.k]=r))};r?(S.id=-1,Ae(S,n)):S()}}}let at=!1;const An=e=>/svg/.test(e.namespaceURI)&&e.tagName!=="foreignObject",Mn=e=>e.nodeType===8;function Ec(e){const{mt:t,p:n,o:{patchProp:s,createText:o,nextSibling:i,parentNode:r,remove:l,insert:c,createComment:a}}=e,f=(y,w)=>{if(!w.hasChildNodes()){n(null,y,w),jn(),w._vnode=y;return}at=!1,h(w.firstChild,y,null,null,null),jn(),w._vnode=y,at&&console.error("Hydration completed but contains mismatches.")},h=(y,w,C,O,z,G=!1)=>{const X=Mn(y)&&y.data==="[",V=()=>A(y,w,C,O,z,X),{type:Y,ref:J,shapeFlag:se,patchFlag:F}=w;let oe=y.nodeType;w.el=y,F===-2&&(G=!1,w.dynamicChildren=null);let j=null;switch(Y){case Kt:oe!==3?w.children===""?(c(w.el=o(""),r(y),y),j=y):j=V():(y.data!==w.children&&(at=!0,y.data=w.children),j=i(y));break;case He:oe!==8||X?j=V():j=i(y);break;case un:if(X&&(y=i(y),oe=y.nodeType),oe===1||oe===3){j=y;const Ie=!w.children.length;for(let de=0;de{G=G||!!w.dynamicChildren;const{type:X,props:V,patchFlag:Y,shapeFlag:J,dirs:se}=w,F=X==="input"&&se||X==="option";if(F||Y!==-1){if(se&&et(w,null,C,"created"),V)if(F||!G||Y&48)for(const j in V)(F&&j.endsWith("value")||wn(j)&&!rn(j))&&s(y,j,null,V[j],!1,void 0,C);else V.onClick&&s(y,"onClick",null,V.onClick,!1,void 0,C);let oe;if((oe=V&&V.onVnodeBeforeMount)&&Re(oe,C,w),se&&et(w,null,C,"beforeMount"),((oe=V&&V.onVnodeMounted)||se)&&lr(()=>{oe&&Re(oe,C,w),se&&et(w,null,C,"mounted")},O),J&16&&!(V&&(V.innerHTML||V.textContent))){let j=m(y.firstChild,w,y,C,O,z,G);for(;j;){at=!0;const Ie=j;j=j.nextSibling,l(Ie)}}else J&8&&y.textContent!==w.children&&(at=!0,y.textContent=w.children)}return y.nextSibling},m=(y,w,C,O,z,G,X)=>{X=X||!!w.dynamicChildren;const V=w.children,Y=V.length;for(let J=0;J{const{slotScopeIds:X}=w;X&&(z=z?z.concat(X):X);const V=r(y),Y=m(i(y),w,V,C,O,z,G);return Y&&Mn(Y)&&Y.data==="]"?i(w.anchor=Y):(at=!0,c(w.anchor=a("]"),V,Y),Y)},A=(y,w,C,O,z,G)=>{if(at=!0,w.el=null,G){const Y=W(y);for(;;){const J=i(y);if(J&&J!==Y)l(J);else break}}const X=i(y),V=r(y);return l(y),n(null,w,V,X,C,O,An(V),z),X},W=y=>{let w=0;for(;y;)if(y=i(y),y&&Mn(y)&&(y.data==="["&&w++,y.data==="]")){if(w===0)return i(y);w--}return y};return[f,h]}const Ae=lr;function Vc(e){return Lc(e,Ec)}function Lc(e,t){const n=ul();n.__VUE__=!0;const{insert:s,remove:o,patchProp:i,createElement:r,createText:l,createComment:c,setText:a,setElementText:f,parentNode:h,nextSibling:_,setScopeId:m=We,insertStaticContent:S}=e,A=(u,d,b,$=null,k=null,E=null,N=!1,T=null,M=!!d.dynamicChildren)=>{if(u===d)return;u&&!Ct(u,d)&&($=Pn(u),Xe(u,k,E,!0),u=null),d.patchFlag===-2&&(M=!1,d.dynamicChildren=null);const{type:P,ref:U,shapeFlag:D}=d;switch(P){case Kt:W(u,d,b,$);break;case He:y(u,d,b,$);break;case un:u==null&&w(d,b,$,N);break;case te:F(u,d,b,$,k,E,N,T,M);break;default:D&1?z(u,d,b,$,k,E,N,T,M):D&6?oe(u,d,b,$,k,E,N,T,M):(D&64||D&128)&&P.process(u,d,b,$,k,E,N,T,M,It)}U!=null&&k&&Kn(U,u&&u.ref,E,d||u,!d)},W=(u,d,b,$)=>{if(u==null)s(d.el=l(d.children),b,$);else{const k=d.el=u.el;d.children!==u.children&&a(k,d.children)}},y=(u,d,b,$)=>{u==null?s(d.el=c(d.children||""),b,$):d.el=u.el},w=(u,d,b,$)=>{[u.el,u.anchor]=S(u.children,d,b,$,u.el,u.anchor)},C=({el:u,anchor:d},b,$)=>{let k;for(;u&&u!==d;)k=_(u),s(u,b,$),u=k;s(d,b,$)},O=({el:u,anchor:d})=>{let b;for(;u&&u!==d;)b=_(u),o(u),u=b;o(d)},z=(u,d,b,$,k,E,N,T,M)=>{N=N||d.type==="svg",u==null?G(d,b,$,k,E,N,T,M):Y(u,d,k,E,N,T,M)},G=(u,d,b,$,k,E,N,T)=>{let M,P;const{type:U,props:D,shapeFlag:q,transition:Z,dirs:re}=u;if(M=u.el=r(u.type,E,D&&D.is,D),q&8?f(M,u.children):q&16&&V(u.children,M,null,$,k,E&&U!=="foreignObject",N,T),re&&et(u,null,$,"created"),D){for(const he in D)he!=="value"&&!rn(he)&&i(M,he,null,D[he],E,u.children,$,k,ot);"value"in D&&i(M,"value",null,D.value),(P=D.onVnodeBeforeMount)&&Re(P,$,u)}X(M,u,u.scopeId,N,$),re&&et(u,null,$,"beforeMount");const me=(!k||k&&!k.pendingBranch)&&Z&&!Z.persisted;me&&Z.beforeEnter(M),s(M,d,b),((P=D&&D.onVnodeMounted)||me||re)&&Ae(()=>{P&&Re(P,$,u),me&&Z.enter(M),re&&et(u,null,$,"mounted")},k)},X=(u,d,b,$,k)=>{if(b&&m(u,b),$)for(let E=0;E<$.length;E++)m(u,$[E]);if(k){let E=k.subTree;if(d===E){const N=k.vnode;X(u,N,N.scopeId,N.slotScopeIds,k.parent)}}},V=(u,d,b,$,k,E,N,T,M=0)=>{for(let P=M;P{const T=d.el=u.el;let{patchFlag:M,dynamicChildren:P,dirs:U}=d;M|=u.patchFlag&16;const D=u.props||ge,q=d.props||ge;let Z;b&&xt(b,!1),(Z=q.onVnodeBeforeUpdate)&&Re(Z,b,d,u),U&&et(d,u,b,"beforeUpdate"),b&&xt(b,!0);const re=k&&d.type!=="foreignObject";if(P?J(u.dynamicChildren,P,T,b,$,re,E):N||_e(u,d,T,null,b,$,re,E,!1),M>0){if(M&16)se(T,d,D,q,b,$,k);else if(M&2&&D.class!==q.class&&i(T,"class",null,q.class,k),M&4&&i(T,"style",D.style,q.style,k),M&8){const me=d.dynamicProps;for(let he=0;he{Z&&Re(Z,b,d,u),U&&et(d,u,b,"updated")},$)},J=(u,d,b,$,k,E,N)=>{for(let T=0;T{if(b!==$){if(b!==ge)for(const T in b)!rn(T)&&!(T in $)&&i(u,T,b[T],null,N,d.children,k,E,ot);for(const T in $){if(rn(T))continue;const M=$[T],P=b[T];M!==P&&T!=="value"&&i(u,T,P,M,N,d.children,k,E,ot)}"value"in $&&i(u,"value",b.value,$.value)}},F=(u,d,b,$,k,E,N,T,M)=>{const P=d.el=u?u.el:l(""),U=d.anchor=u?u.anchor:l("");let{patchFlag:D,dynamicChildren:q,slotScopeIds:Z}=d;Z&&(T=T?T.concat(Z):Z),u==null?(s(P,b,$),s(U,b,$),V(d.children,b,U,k,E,N,T,M)):D>0&&D&64&&q&&u.dynamicChildren?(J(u.dynamicChildren,q,b,k,E,N,T),(d.key!=null||k&&d===k.subTree)&&vo(u,d,!0)):_e(u,d,b,U,k,E,N,T,M)},oe=(u,d,b,$,k,E,N,T,M)=>{d.slotScopeIds=T,u==null?d.shapeFlag&512?k.ctx.activate(d,b,$,N,M):j(d,b,$,k,E,N,M):Ie(u,d,M)},j=(u,d,b,$,k,E,N)=>{const T=u.component=jc(u,$,k);if(fs(u)&&(T.ctx.renderer=It),Uc(T),T.asyncDep){if(k&&k.registerDep(T,de),!u.el){const M=T.subTree=I(He);y(null,M,d,b)}return}de(T,u,d,b,k,E,N)},Ie=(u,d,b)=>{const $=d.component=u.component;if(ec(u,d,b))if($.asyncDep&&!$.asyncResolved){ye($,d,b);return}else $.next=d,Gl($.update),$.update();else d.el=u.el,$.vnode=d},de=(u,d,b,$,k,E,N)=>{const T=()=>{if(u.isMounted){let{next:U,bu:D,u:q,parent:Z,vnode:re}=u,me=U,he;xt(u,!1),U?(U.el=re.el,ye(u,U,N)):U=re,D&&Bn(D),(he=U.props&&U.props.onVnodeBeforeUpdate)&&Re(he,Z,U,re),xt(u,!0);const xe=ws(u),je=u.subTree;u.subTree=xe,A(je,xe,h(je.el),Pn(je),u,k,E),U.el=xe.el,me===null&&tc(u,xe.el),q&&Ae(q,k),(he=U.props&&U.props.onVnodeUpdated)&&Ae(()=>Re(he,Z,U,re),k)}else{let U;const{el:D,props:q}=d,{bm:Z,m:re,parent:me}=u,he=zt(d);if(xt(u,!1),Z&&Bn(Z),!he&&(U=q&&q.onVnodeBeforeMount)&&Re(U,me,d),xt(u,!0),D&&bs){const xe=()=>{u.subTree=ws(u),bs(D,u.subTree,u,k,null)};he?d.type.__asyncLoader().then(()=>!u.isUnmounted&&xe()):xe()}else{const xe=u.subTree=ws(u);A(null,xe,b,$,u,k,E),d.el=xe.el}if(re&&Ae(re,k),!he&&(U=q&&q.onVnodeMounted)){const xe=d;Ae(()=>Re(U,me,xe),k)}(d.shapeFlag&256||me&&zt(me.vnode)&&me.vnode.shapeFlag&256)&&u.a&&Ae(u.a,k),u.isMounted=!0,d=b=$=null}},M=u.effect=new no(T,()=>fo(P),u.scope),P=u.update=()=>M.run();P.id=u.uid,xt(u,!0),P()},ye=(u,d,b)=>{d.component=u;const $=u.vnode.props;u.vnode=d,u.next=null,kc(u,d.props,$,b),Cc(u,d.children,b),Qt(),Ro(),Jt()},_e=(u,d,b,$,k,E,N,T,M=!1)=>{const P=u&&u.children,U=u?u.shapeFlag:0,D=d.children,{patchFlag:q,shapeFlag:Z}=d;if(q>0){if(q&128){$n(P,D,b,$,k,E,N,T,M);return}else if(q&256){yt(P,D,b,$,k,E,N,T,M);return}}Z&8?(U&16&&ot(P,k,E),D!==P&&f(b,D)):U&16?Z&16?$n(P,D,b,$,k,E,N,T,M):ot(P,k,E,!0):(U&8&&f(b,""),Z&16&&V(D,b,$,k,E,N,T,M))},yt=(u,d,b,$,k,E,N,T,M)=>{u=u||Bt,d=d||Bt;const P=u.length,U=d.length,D=Math.min(P,U);let q;for(q=0;qU?ot(u,k,E,!0,!1,D):V(d,b,$,k,E,N,T,M,D)},$n=(u,d,b,$,k,E,N,T,M)=>{let P=0;const U=d.length;let D=u.length-1,q=U-1;for(;P<=D&&P<=q;){const Z=u[P],re=d[P]=M?dt(d[P]):Ue(d[P]);if(Ct(Z,re))A(Z,re,b,null,k,E,N,T,M);else break;P++}for(;P<=D&&P<=q;){const Z=u[D],re=d[q]=M?dt(d[q]):Ue(d[q]);if(Ct(Z,re))A(Z,re,b,null,k,E,N,T,M);else break;D--,q--}if(P>D){if(P<=q){const Z=q+1,re=Zq)for(;P<=D;)Xe(u[P],k,E,!0),P++;else{const Z=P,re=P,me=new Map;for(P=re;P<=q;P++){const Oe=d[P]=M?dt(d[P]):Ue(d[P]);Oe.key!=null&&me.set(Oe.key,P)}let he,xe=0;const je=q-re+1;let Ot=!1,Vo=0;const en=new Array(je);for(P=0;P=je){Xe(Oe,k,E,!0);continue}let Ze;if(Oe.key!=null)Ze=me.get(Oe.key);else for(he=re;he<=q;he++)if(en[he-re]===0&&Ct(Oe,d[he])){Ze=he;break}Ze===void 0?Xe(Oe,k,E,!0):(en[Ze-re]=P+1,Ze>=Vo?Vo=Ze:Ot=!0,A(Oe,d[Ze],b,null,k,E,N,T,M),xe++)}const Lo=Ot?Ac(en):Bt;for(he=Lo.length-1,P=je-1;P>=0;P--){const Oe=re+P,Ze=d[Oe],Ao=Oe+1{const{el:E,type:N,transition:T,children:M,shapeFlag:P}=u;if(P&6){bt(u.component.subTree,d,b,$);return}if(P&128){u.suspense.move(d,b,$);return}if(P&64){N.move(u,d,b,It);return}if(N===te){s(E,d,b);for(let D=0;DT.enter(E),k);else{const{leave:D,delayLeave:q,afterLeave:Z}=T,re=()=>s(E,d,b),me=()=>{D(E,()=>{re(),Z&&Z()})};q?q(E,re,me):me()}else s(E,d,b)},Xe=(u,d,b,$=!1,k=!1)=>{const{type:E,props:N,ref:T,children:M,dynamicChildren:P,shapeFlag:U,patchFlag:D,dirs:q}=u;if(T!=null&&Kn(T,null,b,u,!0),U&256){d.ctx.deactivate(u);return}const Z=U&1&&q,re=!zt(u);let me;if(re&&(me=N&&N.onVnodeBeforeUnmount)&&Re(me,d,u),U&6)Jr(u.component,b,$);else{if(U&128){u.suspense.unmount(b,$);return}Z&&et(u,null,d,"beforeUnmount"),U&64?u.type.remove(u,d,b,k,It,$):P&&(E!==te||D>0&&D&64)?ot(P,d,b,!1,!0):(E===te&&D&384||!k&&U&16)&&ot(M,d,b),$&&To(u)}(re&&(me=N&&N.onVnodeUnmounted)||Z)&&Ae(()=>{me&&Re(me,d,u),Z&&et(u,null,d,"unmounted")},b)},To=u=>{const{type:d,el:b,anchor:$,transition:k}=u;if(d===te){Qr(b,$);return}if(d===un){O(u);return}const E=()=>{o(b),k&&!k.persisted&&k.afterLeave&&k.afterLeave()};if(u.shapeFlag&1&&k&&!k.persisted){const{leave:N,delayLeave:T}=k,M=()=>N(b,E);T?T(u.el,E,M):M()}else E()},Qr=(u,d)=>{let b;for(;u!==d;)b=_(u),o(u),u=b;o(d)},Jr=(u,d,b)=>{const{bum:$,scope:k,update:E,subTree:N,um:T}=u;$&&Bn($),k.stop(),E&&(E.active=!1,Xe(N,u,d,b)),T&&Ae(T,d),Ae(()=>{u.isUnmounted=!0},d),d&&d.pendingBranch&&!d.isUnmounted&&u.asyncDep&&!u.asyncResolved&&u.suspenseId===d.pendingId&&(d.deps--,d.deps===0&&d.resolve())},ot=(u,d,b,$=!1,k=!1,E=0)=>{for(let N=E;Nu.shapeFlag&6?Pn(u.component.subTree):u.shapeFlag&128?u.suspense.next():_(u.anchor||u.el),Eo=(u,d,b)=>{u==null?d._vnode&&Xe(d._vnode,null,null,!0):A(d._vnode||null,u,d,null,null,null,b),Ro(),jn(),d._vnode=u},It={p:A,um:Xe,m:bt,r:To,mt:j,mc:V,pc:_e,pbc:J,n:Pn,o:e};let ys,bs;return t&&([ys,bs]=t(It)),{render:Eo,hydrate:ys,createApp:Tc(Eo,ys)}}function xt({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function vo(e,t,n=!1){const s=e.children,o=t.children;if(Q(s)&&Q(o))for(let i=0;i>1,e[n[l]]0&&(t[s]=n[i-1]),n[i]=s)}}for(i=n.length,r=n[i-1];i-- >0;)n[i]=r,r=t[r];return n}const Mc=e=>e.__isTeleport,an=e=>e&&(e.disabled||e.disabled===""),Xo=e=>typeof SVGElement<"u"&&e instanceof SVGElement,Us=(e,t)=>{const n=e&&e.to;return be(n)?t?t(n):null:n},Ic={__isTeleport:!0,process(e,t,n,s,o,i,r,l,c,a){const{mc:f,pc:h,pbc:_,o:{insert:m,querySelector:S,createText:A,createComment:W}}=a,y=an(t.props);let{shapeFlag:w,children:C,dynamicChildren:O}=t;if(e==null){const z=t.el=A(""),G=t.anchor=A("");m(z,n,s),m(G,n,s);const X=t.target=Us(t.props,S),V=t.targetAnchor=A("");X&&(m(V,X),r=r||Xo(X));const Y=(J,se)=>{w&16&&f(C,J,se,o,i,r,l,c)};y?Y(n,G):X&&Y(X,V)}else{t.el=e.el;const z=t.anchor=e.anchor,G=t.target=e.target,X=t.targetAnchor=e.targetAnchor,V=an(e.props),Y=V?n:G,J=V?z:X;if(r=r||Xo(G),O?(_(e.dynamicChildren,O,Y,o,i,r,l),vo(e,t,!0)):c||h(e,t,Y,J,o,i,r,l,!1),y)V||In(t,n,z,a,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const se=t.target=Us(t.props,S);se&&In(t,se,null,a,0)}else V&&In(t,G,X,a,1)}$r(t)},remove(e,t,n,s,{um:o,o:{remove:i}},r){const{shapeFlag:l,children:c,anchor:a,targetAnchor:f,target:h,props:_}=e;if(h&&i(f),(r||!an(_))&&(i(a),l&16))for(let m=0;m0?Ke||Bt:null,Bc(),yn>0&&Ke&&Ke.push(e),e}function x(e,t,n,s,o,i){return Pr(v(e,t,n,s,o,i,!0))}function ee(e,t,n,s,o){return Pr(I(e,t,n,s,o,!0))}function Wn(e){return e?e.__v_isVNode===!0:!1}function Ct(e,t){return e.type===t.type&&e.key===t.key}const hs="__vInternal",Cr=({key:e})=>e??null,Hn=({ref:e,ref_key:t,ref_for:n})=>e!=null?be(e)||Se(e)||ne(e)?{i:$e,r:e,k:t,f:!!n}:e:null;function v(e,t=null,n=null,s=0,o=null,i=e===te?0:1,r=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Cr(t),ref:t&&Hn(t),scopeId:as,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:s,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:$e};return l?(yo(c,n),i&128&&e.normalize(c)):n&&(c.shapeFlag|=be(n)?8:16),yn>0&&!r&&Ke&&(c.patchFlag>0||i&6)&&c.patchFlag!==32&&Ke.push(c),c}const I=Hc;function Hc(e,t=null,n=null,s=0,o=null,i=!1){if((!e||e===pr)&&(e=He),Wn(e)){const l=mt(e,t,!0);return n&&yo(l,n),yn>0&&!i&&Ke&&(l.shapeFlag&6?Ke[Ke.indexOf(e)]=l:Ke.push(l)),l.patchFlag|=-2,l}if(Gc(e)&&(e=e.__vccOpts),t){t=Fc(t);let{class:l,style:c}=t;l&&!be(l)&&(t.class=pe(l)),ve(c)&&(Ji(c)&&!Q(c)&&(c=Pe({},c)),t.style=ts(c))}const r=be(e)?1:nc(e)?128:Mc(e)?64:ve(e)?4:ne(e)?2:0;return v(e,t,n,s,o,r,i,!0)}function Fc(e){return e?Ji(e)||hs in e?Pe({},e):e:null}function mt(e,t,n=!1){const{props:s,ref:o,patchFlag:i,children:r}=e,l=t?Fn(s||{},t):s;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&Cr(l),ref:t&&t.ref?n&&o?Q(o)?o.concat(Hn(t)):[o,Hn(t)]:Hn(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:r,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==te?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&mt(e.ssContent),ssFallback:e.ssFallback&&mt(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx}}function Le(e=" ",t=0){return I(Kt,null,e,t)}function Dc(e,t){const n=I(un,null,e);return n.staticCount=t,n}function K(e="",t=!1){return t?(p(),ee(He,null,e)):I(He,null,e)}function Ue(e){return e==null||typeof e=="boolean"?I(He):Q(e)?I(te,null,e.slice()):typeof e=="object"?dt(e):I(Kt,null,String(e))}function dt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:mt(e)}function yo(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(Q(t))n=16;else if(typeof t=="object")if(s&65){const o=t.default;o&&(o._c&&(o._d=!1),yo(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!(hs in t)?t._ctx=$e:o===3&&$e&&($e.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else ne(t)?(t={default:t,_ctx:$e},n=32):(t=String(t),s&64?(n=16,t=[Le(t)]):n=8);e.children=t,e.shapeFlag|=n}function Fn(...e){const t={};for(let n=0;nwe||$e,Wt=e=>{we=e,e.scope.on()},Lt=()=>{we&&we.scope.off(),we=null};function Sr(e){return e.vnode.shapeFlag&4}let bn=!1;function Uc(e,t=!1){bn=t;const{props:n,children:s}=e.vnode,o=Sr(e);wc(e,n,o,t),Pc(e,s);const i=o?qc(e,t):void 0;return bn=!1,i}function qc(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=ln(new Proxy(e.ctx,mc));const{setup:s}=n;if(s){const o=e.setupContext=s.length>1?Er(e):null;Wt(e),Qt();const i=pt(s,e,0,[e.props,o]);if(Jt(),Lt(),Hi(i)){if(i.then(Lt,Lt),t)return i.then(r=>{ei(e,r,t)}).catch(r=>{ls(r,e,0)});e.asyncDep=i}else ei(e,i,t)}else Tr(e,t)}function ei(e,t,n){ne(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ve(t)&&(e.setupState=tr(t)),Tr(e,n)}let ti;function Tr(e,t,n){const s=e.type;if(!e.render){if(!t&&ti&&!s.render){const o=s.template||mo(e).template;if(o){const{isCustomElement:i,compilerOptions:r}=e.appContext.config,{delimiters:l,compilerOptions:c}=s,a=Pe(Pe({isCustomElement:i,delimiters:l},r),c);s.render=ti(o,a)}}e.render=s.render||We}Wt(e),Qt(),gc(e),Jt(),Lt()}function Kc(e){return new Proxy(e.attrs,{get(t,n){return Fe(e,"get","$attrs"),t[n]}})}function Er(e){const t=s=>{e.exposed=s||{}};let n;return{get attrs(){return n||(n=Kc(e))},slots:e.slots,emit:e.emit,expose:t}}function ps(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(tr(ln(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in cn)return cn[n](e)},has(t,n){return n in t||n in cn}}))}function Wc(e,t=!0){return ne(e)?e.displayName||e.name:e.name||t&&e.__name}function Gc(e){return ne(e)&&"__vccOpts"in e}const ie=(e,t)=>ql(e,t,bn);function Yc(){return Qc().slots}function Qc(){const e=bo();return e.setupContext||(e.setupContext=Er(e))}function Gn(e,t,n){const s=arguments.length;return s===2?ve(t)&&!Q(t)?Wn(t)?I(e,null,[t]):I(e,t):I(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&Wn(n)&&(n=[n]),I(e,t,n))}const Jc=Symbol(""),Xc=()=>Be(Jc),Zc="3.2.45",ea="http://www.w3.org/2000/svg",St=typeof document<"u"?document:null,ni=St&&St.createElement("template"),ta={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const o=t?St.createElementNS(ea,e):St.createElement(e,n?{is:n}:void 0);return e==="select"&&s&&s.multiple!=null&&o.setAttribute("multiple",s.multiple),o},createText:e=>St.createTextNode(e),createComment:e=>St.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>St.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,o,i){const r=n?n.previousSibling:t.lastChild;if(o&&(o===i||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===i||!(o=o.nextSibling)););else{ni.innerHTML=s?`${e}`:e;const l=ni.content;if(s){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,n)}return[r?r.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function na(e,t,n){const s=e._vtc;s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}function sa(e,t,n){const s=e.style,o=be(n);if(n&&!o){for(const i in n)qs(s,i,n[i]);if(t&&!be(t))for(const i in t)n[i]==null&&qs(s,i,"")}else{const i=s.display;o?t!==n&&(s.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(s.display=i)}}const si=/\s*!important$/;function qs(e,t,n){if(Q(n))n.forEach(s=>qs(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=oa(e,t);si.test(n)?e.setProperty(Yt(s),n.replace(si,""),"important"):e[s]=n}}const oi=["Webkit","Moz","ms"],Ps={};function oa(e,t){const n=Ps[t];if(n)return n;let s=st(t);if(s!=="filter"&&s in e)return Ps[t]=s;s=os(s);for(let o=0;oCs||(ua.then(()=>Cs=0),Cs=Date.now());function da(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;ze(ha(s,n.value),t,5,[s])};return n.value=e,n.attached=fa(),n}function ha(e,t){if(Q(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>o=>!o._stopped&&s&&s(o))}else return t}const li=/^on[a-z]/,pa=(e,t,n,s,o=!1,i,r,l,c)=>{t==="class"?na(e,s,o):t==="style"?sa(e,n,s):wn(t)?Js(t)||ca(e,t,n,s,r):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):_a(e,t,s,o))?ra(e,t,s,i,r,l,c):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),ia(e,t,s,o))};function _a(e,t,n,s){return s?!!(t==="innerHTML"||t==="textContent"||t in e&&li.test(t)&&ne(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||li.test(t)&&be(n)?!1:t in e}const ut="transition",tn="animation",_s=(e,{slots:t})=>Gn(ar,ma(e),t);_s.displayName="Transition";const Vr={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};_s.props=Pe({},ar.props,Vr);const wt=(e,t=[])=>{Q(e)?e.forEach(n=>n(...t)):e&&e(...t)},ci=e=>e?Q(e)?e.some(t=>t.length>1):e.length>1:!1;function ma(e){const t={};for(const F in e)F in Vr||(t[F]=e[F]);if(e.css===!1)return t;const{name:n="v",type:s,duration:o,enterFromClass:i=`${n}-enter-from`,enterActiveClass:r=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:c=i,appearActiveClass:a=r,appearToClass:f=l,leaveFromClass:h=`${n}-leave-from`,leaveActiveClass:_=`${n}-leave-active`,leaveToClass:m=`${n}-leave-to`}=e,S=ga(o),A=S&&S[0],W=S&&S[1],{onBeforeEnter:y,onEnter:w,onEnterCancelled:C,onLeave:O,onLeaveCancelled:z,onBeforeAppear:G=y,onAppear:X=w,onAppearCancelled:V=C}=t,Y=(F,oe,j)=>{kt(F,oe?f:l),kt(F,oe?a:r),j&&j()},J=(F,oe)=>{F._isLeaving=!1,kt(F,h),kt(F,m),kt(F,_),oe&&oe()},se=F=>(oe,j)=>{const Ie=F?X:w,de=()=>Y(oe,F,j);wt(Ie,[oe,de]),ai(()=>{kt(oe,F?c:i),ft(oe,F?f:l),ci(Ie)||ui(oe,s,A,de)})};return Pe(t,{onBeforeEnter(F){wt(y,[F]),ft(F,i),ft(F,r)},onBeforeAppear(F){wt(G,[F]),ft(F,c),ft(F,a)},onEnter:se(!1),onAppear:se(!0),onLeave(F,oe){F._isLeaving=!0;const j=()=>J(F,oe);ft(F,h),ba(),ft(F,_),ai(()=>{F._isLeaving&&(kt(F,h),ft(F,m),ci(O)||ui(F,s,W,j))}),wt(O,[F,j])},onEnterCancelled(F){Y(F,!1),wt(C,[F])},onAppearCancelled(F){Y(F,!0),wt(V,[F])},onLeaveCancelled(F){J(F),wt(z,[F])}})}function ga(e){if(e==null)return null;if(ve(e))return[Ss(e.enter),Ss(e.leave)];{const t=Ss(e);return[t,t]}}function Ss(e){return _n(e)}function ft(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e._vtc||(e._vtc=new Set)).add(t)}function kt(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const{_vtc:n}=e;n&&(n.delete(t),n.size||(e._vtc=void 0))}function ai(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let va=0;function ui(e,t,n,s){const o=e._endId=++va,i=()=>{o===e._endId&&s()};if(n)return setTimeout(i,n);const{type:r,timeout:l,propCount:c}=ya(e,t);if(!r)return s();const a=r+"end";let f=0;const h=()=>{e.removeEventListener(a,_),i()},_=m=>{m.target===e&&++f>=c&&h()};setTimeout(()=>{f(n[S]||"").split(", "),o=s(`${ut}Delay`),i=s(`${ut}Duration`),r=fi(o,i),l=s(`${tn}Delay`),c=s(`${tn}Duration`),a=fi(l,c);let f=null,h=0,_=0;t===ut?r>0&&(f=ut,h=r,_=i.length):t===tn?a>0&&(f=tn,h=a,_=c.length):(h=Math.max(r,a),f=h>0?r>a?ut:tn:null,_=f?f===ut?i.length:c.length:0);const m=f===ut&&/\b(transform|all)(,|$)/.test(s(`${ut}Property`).toString());return{type:f,timeout:h,propCount:_,hasTransform:m}}function fi(e,t){for(;e.lengthdi(n)+di(e[s])))}function di(e){return Number(e.slice(0,-1).replace(",","."))*1e3}function ba(){return document.body.offsetHeight}const hi=e=>{const t=e.props["onUpdate:modelValue"]||!1;return Q(t)?n=>Bn(t,n):t};function xa(e){e.target.composing=!0}function pi(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const wa={created(e,{modifiers:{lazy:t,trim:n,number:s}},o){e._assign=hi(o);const i=s||o.props&&o.props.type==="number";Nt(e,t?"change":"input",r=>{if(r.target.composing)return;let l=e.value;n&&(l=l.trim()),i&&(l=_n(l)),e._assign(l)}),n&&Nt(e,"change",()=>{e.value=e.value.trim()}),t||(Nt(e,"compositionstart",xa),Nt(e,"compositionend",pi),Nt(e,"change",pi))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:s,number:o}},i){if(e._assign=hi(i),e.composing||document.activeElement===e&&e.type!=="range"&&(n||s&&e.value.trim()===t||(o||e.type==="number")&&_n(e.value)===t))return;const r=t??"";e.value!==r&&(e.value=r)}},ka=["ctrl","shift","alt","meta"],$a={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>ka.some(n=>e[`${n}Key`]&&!t.includes(n))},Lr=(e,t)=>(n,...s)=>{for(let o=0;o{nn(e,!1)}):nn(e,t))},beforeUnmount(e,{value:t}){nn(e,t)}};function nn(e,t){e.style.display=t?e._vod:"none"}const Ca=Pe({patchProp:pa},ta);let Ts,_i=!1;function Sa(){return Ts=_i?Ts:Vc(Ca),_i=!0,Ts}const Ta=(...e)=>{const t=Sa().createApp(...e),{mount:n}=t;return t.mount=s=>{const o=Ea(s);if(o)return n(o,!0,o instanceof SVGElement)},t};function Ea(e){return be(e)?document.querySelector(e):e}const H=(e,t)=>{const n=e.__vccOpts||e;for(const[s,o]of t)n[s]=o;return n},Va="modulepreload",La=function(e){return"/document/"+e},mi={},Ar=function(t,n,s){if(!n||n.length===0)return t();const o=document.getElementsByTagName("link");return Promise.all(n.map(i=>{if(i=La(i),i in mi)return;mi[i]=!0;const r=i.endsWith(".css"),l=r?'[rel="stylesheet"]':"";if(!!s)for(let f=o.length-1;f>=0;f--){const h=o[f];if(h.href===i&&(!r||h.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${i}"]${l}`))return;const a=document.createElement("link");if(a.rel=r?"stylesheet":Va,r||(a.as="script",a.crossOrigin=""),a.href=i,document.head.appendChild(a),r)return new Promise((f,h)=>{a.addEventListener("load",f),a.addEventListener("error",()=>h(new Error(`Unable to preload CSS for ${i}`)))})})).then(()=>t())};const Aa=R({__name:"VPBadge",props:{text:null,type:null},setup(e){return(t,n)=>(p(),x("span",{class:pe(["VPBadge",e.type??"tip"])},[L(t.$slots,"default",{},()=>[Le(ae(e.text),1)],!0)],2))}});const Ma=H(Aa,[["__scopeId","data-v-350d3852"]]),Ia=JSON.parse('{"lang":"en-US","title":"Artplayer.js","description":"ArtPlayer.js is a modern and full featured HTML5 video player","base":"/document/","head":[],"appearance":"dark","themeConfig":{"siteTitle":"Artplayer.js","logo":"/logo.png","nav":[{"text":"中文版","link":"/"},{"text":"English","link":"/en/","activeMatch":"/en/"},{"text":"Online Editor","link":"https://artplayer.org"},{"text":"4.6.x","items":[{"text":"Changelog","link":"https://github.com/zhw2590582/ArtPlayer/blob/master/CHANGELOG_CN.md"},{"text":"Q群: 320881312","link":"https://raw.githubusercontent.com/zhw2590582/ArtPlayer/master/images/qqgroup.png"}]}],"socialLinks":[{"icon":"github","link":"https://github.com/zhw2590582/ArtPlayer"}],"sidebar":{"/":[{"text":"开始","collapsible":true,"items":[{"text":"安装使用","link":"/"},{"text":"基础选项","link":"/start/option"},{"text":"组件配置","link":"/start/component"},{"text":"设置面板","link":"/start/setting"}]},{"text":"高级","collapsible":true,"items":[{"text":"实例属性","link":"/advanced/property"},{"text":"高级属性","link":"/advanced/built-in"},{"text":"静态属性","link":"/advanced/class"},{"text":"实例事件","link":"/advanced/event"},{"text":"编写插件","link":"/advanced/plugin"}]},{"text":"插件","collapsible":true,"items":[{"text":"弹幕库","link":"/plugin/danmuku"},{"text":"视频广告","link":"/plugin/ads"},{"text":"Iframe 控制","link":"/plugin/iframe"},{"text":"HLS 画质","link":"/plugin/hls-quality"},{"text":"控制器皮肤","link":"/plugin/control-ui"}]},{"text":"第三方库","collapsible":true,"items":[{"text":"hls.js","link":"/library/hls"},{"text":"flv.js","link":"/library/flv"},{"text":"dash.js","link":"/library/dash"}]}],"/en/":[{"text":"Quick start","collapsible":true,"items":[{"text":"Install","link":"/en/"},{"text":"Option","link":"/en/start/option"},{"text":"Component","link":"/en/start/component"},{"text":"Setting","link":"/en/start/setting"}]},{"text":"Advanced","collapsible":true,"items":[{"text":"Instance Property","link":"/en/advanced/property"},{"text":"Advanced Property","link":"/en/advanced/built-in"},{"text":"Static Property","link":"/en/advanced/class"},{"text":"Instance Event","link":"/en/advanced/event"},{"text":"Writing Plugin","link":"/en/advanced/plugin"}]},{"text":"Plugins","collapsible":true,"items":[{"text":"Video Ads","link":"/en/plugin/ads"},{"text":"Iframe Control","link":"/en/plugin/iframe"},{"text":"HLS Quality","link":"/en/plugin/hls-quality"},{"text":"Control UI","link":"/en/plugin/control-ui"}]},{"text":"Libraries","collapsible":true,"items":[{"text":"hls.js","link":"/en/library/hls"},{"text":"flv.js","link":"/en/library/flv"},{"text":"dash.js","link":"/en/library/dash"}]}]},"editLink":{"pattern":"https://github.com/zhw2590582/ArtPlayer/tree/master/packages/artplayer-vitepress/docs/:path","text":"Edit this page on GitHub"}},"locales":{},"langs":{},"scrollOffset":90,"cleanUrls":"disabled"}'),ms=/^[a-z]+:/i,Oa=/^pathname:\/\//,gi="vitepress-theme-appearance",Ee=typeof window<"u",Mr={relativePath:"",title:"404",description:"Not Found",headers:[],frontmatter:{sidebar:!1,layout:"page"},lastUpdated:0};function Na(e,t){t.sort((n,s)=>{const o=s.split("/").length-n.split("/").length;return o!==0?o:s.length-n.length});for(const n of t)if(e.startsWith(n))return n}function vi(e,t){const n=Na(t,Object.keys(e));return n?e[n]:void 0}function Ba(e){const{locales:t}=e.themeConfig||{},n=e.locales;return t&&n?Object.keys(t).reduce((s,o)=>(s[o]={label:t[o].label,lang:n[o].lang},s),{}):{}}function Ha(e,t){t=Da(e,t);const n=vi(e.locales||{},t),s=vi(e.themeConfig.locales||{},t);return Object.assign({},e,n,{themeConfig:Object.assign({},e.themeConfig,s,{locales:{}}),lang:(n||e).lang,locales:{},langs:Ba(e)})}function Ir(e,t){const n=t.title||e.title,s=t.titleTemplate??e.titleTemplate;if(typeof s=="string"&&s.includes(":title"))return s.replace(/:title/g,n);const o=Fa(e.title,s);return`${n}${o}`}function Fa(e,t){return t===!1?"":t===!0||t===void 0?` | ${e}`:e===t?"":` | ${t}`}function Da(e,t){if(!Ee)return t;const n=e.base,s=n.endsWith("/")?n.slice(0,-1):n;return t.slice(s.length)}function Ra(e,t){const[n,s]=t;if(n!=="meta")return!1;const o=Object.entries(s)[0];return o==null?!1:e.some(([i,r])=>i===n&&r[o[0]]===o[1])}function za(e,t){return[...e.filter(n=>!Ra(t,n)),...t]}const ja=/[\u0000-\u001F"#$&*+,:;<=>?[\]^`{|}\u007F]/g,Ua=/^[a-z]:/i;function yi(e){const t=Ua.exec(e),n=t?t[0]:"";return n+e.slice(n.length).replace(ja,"_").replace(/(^|\/)_+(?=[^/]*$)/,"$1")}function qa(e,t){return`${e}${t}`.replace(/\/+/g,"/")}function xn(e){return ms.test(e)?e:qa(Gt.value.base,e)}function Or(e){let t=e.replace(/\.html$/,"");if(t=decodeURIComponent(t),t=t.replace(/\/$/,"/index"),Ee){const n="/document/";t=yi(t.slice(n.length).replace(/\//g,"_")||"index")+".md";let s=__VP_HASH_MAP__[t.toLowerCase()];!s&&t.endsWith("_index.md")&&(t=t.slice(0,-9)+".md",s=__VP_HASH_MAP__[t.toLowerCase()]),t=`${n}assets/${t}.${s}.js`}else t=`./${yi(t.slice(1).replace(/\//g,"_"))}.md.js`;return t}const Nr=Symbol(),Gt=Rl(Ia);function Ka(e){const t=ie(()=>Ha(Gt.value,e.path));return{site:t,theme:ie(()=>t.value.themeConfig),page:ie(()=>e.data),frontmatter:ie(()=>e.data.frontmatter),lang:ie(()=>t.value.lang),localePath:ie(()=>{const{langs:n,lang:s}=t.value,o=Object.keys(n).find(i=>n[i].lang===s);return xn(o||"/")}),title:ie(()=>Ir(t.value,e.data)),description:ie(()=>e.data.description||t.value.description),isDark:le(!1)}}function ue(){const e=Be(Nr);if(!e)throw new Error("vitepress data not properly injected in app");return e}const Br=Symbol(),bi="http://a.com",Wa=()=>({path:"/",component:null,data:Mr});function Ga(e,t){const n=rs(Wa()),s={route:n,go:o};async function o(l=Ee?location.href:"/"){var a,f;await((a=s.onBeforeRouteChange)==null?void 0:a.call(s,l));const c=new URL(l,bi);Gt.value.cleanUrls==="disabled"&&!c.pathname.endsWith("/")&&!c.pathname.endsWith(".html")&&(c.pathname+=".html",l=c.pathname+c.search+c.hash),Ee&&(history.replaceState({scrollPosition:window.scrollY},document.title),history.pushState(null,"",l)),await r(l),await((f=s.onAfterRouteChanged)==null?void 0:f.call(s,l))}let i=null;async function r(l,c=0,a=!1){const f=new URL(l,bi),h=i=f.pathname;try{let _=await e(h);if(i===h){i=null;const{default:m,__pageData:S}=_;if(!m)throw new Error(`Invalid route component: ${m}`);n.path=Ee?h:xn(h),n.component=ln(m),n.data=ln(S),Ee&&uo(()=>{if(f.hash&&!c){let A=null;try{A=document.querySelector(decodeURIComponent(f.hash))}catch(W){console.warn(W)}if(A){xi(A,f.hash);return}}window.scrollTo(0,c)})}}catch(_){if(!/fetch/.test(_.message)&&!/^\/404(\.html|\/)?$/.test(l)&&console.error(_),!a)try{const m=await fetch(Gt.value.base+"hashmap.json");window.__VP_HASH_MAP__=await m.json(),await r(l,c,!0);return}catch{}i===h&&(i=null,n.path=Ee?h:xn(h),n.component=t?ln(t):null,n.data=Mr)}}return Ee&&(window.addEventListener("click",l=>{if(l.target.closest("button"))return;const a=l.target.closest("a");if(a&&!a.closest(".vp-raw")&&!a.download){const{href:f,origin:h,pathname:_,hash:m,search:S,target:A}=a,W=window.location,y=_.match(/\.\w+$/);!l.ctrlKey&&!l.shiftKey&&!l.altKey&&!l.metaKey&&A!=="_blank"&&h===W.origin&&!(y&&y[0]!==".html")&&(l.preventDefault(),_===W.pathname&&S===W.search?m&&m!==W.hash&&(history.pushState(null,"",m),window.dispatchEvent(new Event("hashchange")),xi(a,m,a.classList.contains("header-anchor"))):o(f))}},{capture:!0}),window.addEventListener("popstate",l=>{r(location.href,l.state&&l.state.scrollPosition||0)}),window.addEventListener("hashchange",l=>{l.preventDefault()})),s}function Ya(){const e=Be(Br);if(!e)throw new Error("useRouter() is called without provider.");return e}function vt(){return Ya().route}function xi(e,t,n=!1){let s=null;try{s=e.classList.contains("header-anchor")?e:document.querySelector(decodeURIComponent(t))}catch(o){console.warn(o)}if(s){let o=Gt.value.scrollOffset;typeof o=="string"&&(o=document.querySelector(o).getBoundingClientRect().bottom+24);const i=parseInt(window.getComputedStyle(s).paddingTop,10),r=window.scrollY+s.getBoundingClientRect().top-o+i;!n||Math.abs(r-window.scrollY)>window.innerHeight?window.scrollTo(0,r):window.scrollTo({left:0,top:r,behavior:"smooth"})}}const Qa=R({name:"VitePressContent",props:{onContentUpdated:Function},setup(e){const t=vt();return ho(()=>{var n;(n=e.onContentUpdated)==null||n.call(e)}),()=>Gn("div",{style:{position:"relative"}},[t.component?Gn(t.component):null])}});var wi;const kn=typeof window<"u";kn&&((wi=window==null?void 0:window.navigator)!=null&&wi.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function Ja(e){return e}function Xa(e){return hl()?(pl(e),!0):!1}function Za(e){return typeof e=="function"?ie(e):le(e)}function eu(e,t=!0){bo()?Qe(e):t?e():uo(e)}const tu=kn?window:void 0;kn&&window.document;kn&&window.navigator;kn&&window.location;function nu(e,t=!1){const n=le(),s=()=>n.value=Boolean(e());return s(),eu(s,t),n}function Ks(e,t={}){const{window:n=tu}=t,s=nu(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let o;const i=le(!1),r=()=>{o&&("removeEventListener"in o?o.removeEventListener("change",l):o.removeListener(l))},l=()=>{s.value&&(r(),o=n.matchMedia(Za(e).value),i.value=o.matches,"addEventListener"in o?o.addEventListener("change",l):o.addListener(l))};return At(l),Xa(()=>r()),i}const Ws=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Gs="__vueuse_ssr_handlers__";Ws[Gs]=Ws[Gs]||{};Ws[Gs];var ki;(function(e){e.UP="UP",e.RIGHT="RIGHT",e.DOWN="DOWN",e.LEFT="LEFT",e.NONE="NONE"})(ki||(ki={}));var su=Object.defineProperty,$i=Object.getOwnPropertySymbols,ou=Object.prototype.hasOwnProperty,iu=Object.prototype.propertyIsEnumerable,Pi=(e,t,n)=>t in e?su(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ru=(e,t)=>{for(var n in t||(t={}))ou.call(t,n)&&Pi(e,n,t[n]);if($i)for(var n of $i(t))iu.call(t,n)&&Pi(e,n,t[n]);return e};const lu={easeInSine:[.12,0,.39,0],easeOutSine:[.61,1,.88,1],easeInOutSine:[.37,0,.63,1],easeInQuad:[.11,0,.5,0],easeOutQuad:[.5,1,.89,1],easeInOutQuad:[.45,0,.55,1],easeInCubic:[.32,0,.67,0],easeOutCubic:[.33,1,.68,1],easeInOutCubic:[.65,0,.35,1],easeInQuart:[.5,0,.75,0],easeOutQuart:[.25,1,.5,1],easeInOutQuart:[.76,0,.24,1],easeInQuint:[.64,0,.78,0],easeOutQuint:[.22,1,.36,1],easeInOutQuint:[.83,0,.17,1],easeInExpo:[.7,0,.84,0],easeOutExpo:[.16,1,.3,1],easeInOutExpo:[.87,0,.13,1],easeInCirc:[.55,0,1,.45],easeOutCirc:[0,.55,.45,1],easeInOutCirc:[.85,0,.15,1],easeInBack:[.36,0,.66,-.56],easeOutBack:[.34,1.56,.64,1],easeInOutBack:[.68,-.6,.32,1.6]};ru({linear:Ja},lu);const Hr=/#.*$/,cu=/(index)?\.(md|html)$/,au=typeof window<"u",uu=le(au?location.hash:"");function fu(e){return ms.test(e)}function du(e,t){let n,s=!1;return()=>{n&&clearTimeout(n),s?n=setTimeout(e,t):(e(),s=!0,setTimeout(()=>{s=!1},t))}}function Zt(e,t,n=!1){if(t===void 0)return!1;if(e=Si(`/${e}`),n)return new RegExp(t).test(e);if(Si(t)!==e)return!1;const s=t.match(Hr);return s?uu.value===s[0]:!0}function Ci(e){return/^\//.test(e)?e:`/${e}`}function Si(e){return decodeURI(e).replace(Hr,"").replace(cu,"")}function Yn(e){if(fu(e))return e.replace(Oa,"");const{site:t}=ue(),{pathname:n,search:s,hash:o}=new URL(e,"http://example.com"),i=n.endsWith("/")||n.endsWith(".html")?e:`${n.replace(/(\.md)?$/,t.value.cleanUrls==="disabled"?".html":"")}${s}${o}`;return xn(i)}function Fr(e,t){if(Array.isArray(e))return e;if(e==null)return[];t=Ci(t);const n=Object.keys(e).sort((s,o)=>o.split("/").length-s.split("/").length).find(s=>t.startsWith(Ci(s)));return n?e[n]:[]}function hu(e){const t=[];function n(s){for(const o of s)o.link&&t.push({...o,link:o.link}),"items"in o&&n(o.items)}for(const s of e)n(s.items);return t}function Je(){const e=vt(),{theme:t,frontmatter:n}=ue(),s=Ks("(min-width: 960px)"),o=le(!1),i=ie(()=>{const _=t.value.sidebar,m=e.data.relativePath;return _?Fr(_,m):[]}),r=ie(()=>n.value.sidebar!==!1&&i.value.length>0&&n.value.layout!=="home"),l=ie(()=>n.value.layout!=="home"&&n.value.aside!==!1),c=ie(()=>r.value&&s.value);function a(){o.value=!0}function f(){o.value=!1}function h(){o.value?f():a()}return{isOpen:o,sidebar:i,hasSidebar:r,hasAside:l,isSidebarEnabled:c,open:a,close:f,toggle:h}}function pu(e,t){let n;At(()=>{n=e.value?document.activeElement:void 0}),Qe(()=>{window.addEventListener("keyup",s)}),Xt(()=>{window.removeEventListener("keyup",s)});function s(o){o.key==="Escape"&&e.value&&(t(),n==null||n.focus())}}const _u=R({__name:"VPSkipLink",setup(e){const t=vt(),n=le();nt(()=>t.path,()=>n.value.focus());function s({target:o}){const i=document.querySelector(o.hash);if(i){const r=()=>{i.removeAttribute("tabindex"),i.removeEventListener("blur",r)};i.setAttribute("tabindex","-1"),i.addEventListener("blur",r),i.focus(),window.scrollTo(0,0)}}return(o,i)=>(p(),x(te,null,[v("span",{ref_key:"backToTop",ref:n,tabindex:"-1"},null,512),v("a",{href:"#VPContent",class:"VPSkipLink visually-hidden",onClick:s}," Skip to content ")],64))}});const mu=H(_u,[["__scopeId","data-v-151f2593"]]),gu={key:0,class:"VPBackdrop"},vu=R({__name:"VPBackdrop",props:{show:{type:Boolean}},setup(e){return(t,n)=>(p(),ee(_s,{name:"fade"},{default:B(()=>[e.show?(p(),x("div",gu)):K("",!0)]),_:1}))}});const yu=H(vu,[["__scopeId","data-v-c7c65b34"]]);function bu(){const e=le(!1);function t(){e.value=!0,window.addEventListener("resize",o)}function n(){e.value=!1,window.removeEventListener("resize",o)}function s(){e.value?n():t()}function o(){window.outerWidth>=768&&n()}const i=vt();return nt(()=>i.path,n),{isScreenOpen:e,openScreen:t,closeScreen:n,toggleScreen:s}}const xu=["src","alt"],wu={inheritAttrs:!1},ku=R({...wu,__name:"VPImage",props:{image:null,alt:null},setup(e){return(t,n)=>{const s=gt("VPImage",!0);return e.image?(p(),x(te,{key:0},[typeof e.image=="string"||"src"in e.image?(p(),x("img",Fn({key:0,class:"VPImage"},typeof e.image=="string"?t.$attrs:{...e.image,...t.$attrs},{src:g(xn)(typeof e.image=="string"?e.image:e.image.src),alt:e.alt??(typeof e.image=="string"?"":e.image.alt||"")}),null,16,xu)):(p(),x(te,{key:1},[I(s,Fn({class:"dark",image:e.image.dark,alt:e.image.alt},t.$attrs),null,16,["image","alt"]),I(s,Fn({class:"light",image:e.image.light,alt:e.image.alt},t.$attrs),null,16,["image","alt"])],64))],64)):K("",!0)}}});const xo=H(ku,[["__scopeId","data-v-6db2186b"]]),$u=["href"],Pu=R({__name:"VPNavBarTitle",setup(e){const{site:t,theme:n}=ue(),{hasSidebar:s}=Je();return(o,i)=>(p(),x("div",{class:pe(["VPNavBarTitle",{"has-sidebar":g(s)}])},[v("a",{class:"title",href:g(t).base},[L(o.$slots,"nav-bar-title-before",{},void 0,!0),I(xo,{class:"logo",image:g(n).logo},null,8,["image"]),g(n).siteTitle?(p(),x(te,{key:0},[Le(ae(g(n).siteTitle),1)],64)):g(n).siteTitle===void 0?(p(),x(te,{key:1},[Le(ae(g(t).title),1)],64)):K("",!0),L(o.$slots,"nav-bar-title-after",{},void 0,!0)],8,$u)],2))}});const Cu=H(Pu,[["__scopeId","data-v-d5925166"]]),Su="/document/assets/flex-logo.2489261b.svg";function Es(e,t){return typeof e>"u"?t:e}function Ti(e){const t=Array(e);for(let n=0;n=this.minlength&&(l||!r[f])){let _=On(c,o,a),m="";switch(this.tokenize){case"full":if(3S;A--)if(A-S>=this.minlength){const W=On(c,o,a,h,S);m=f.substring(S,A),this.push_index(r,m,W,e,n)}break}case"reverse":if(2=this.minlength){const A=On(c,o,a,h,S);this.push_index(r,m,A,e,n)}m=""}case"forward":if(1=this.minlength&&this.push_index(r,m,_,e,n);break}default:if(this.boost&&(_=Math.min(0|_/this.boost(t,f,a),c-1)),this.push_index(r,f,_,e,n),l&&1=this.minlength&&!S[f]){S[f]=1;const C=On(A+(o/2>A?0:1),o,a,y-1,w-1),O=this.bidirectional&&f>W;this.push_index(i,O?W:f,C,e,n,O?f:W)}}}}}this.fastupdate||(this.register[e]=1)}}return this};function On(e,t,n,s,o){return n&&1=this.minlength&&!h[m]){if(!this.optimize&&!i&&!this.map[m])return r;_[A++]=m,h[m]=1}e=_,s=e.length}if(!s)return r;t||(t=100);let c,a=this.depth&&1=n)))));m++);if(a)return o?Li(l,n,0):void(e[e.length]=l)}return!t&&l};function Li(e,t,n){return e=e.length===1?e[0]:Eu(e),n||e.length>t?e.slice(n,n+t):e}function Ai(e,t,n,s){if(n){const o=s&&t>n;e=e[o?t:n],e=e&&e[o?n:t]}else e=e[t];return e}Ve.prototype.contain=function(e){return!!this.register[e]},Ve.prototype.update=function(e,t){return this.remove(e).add(e,t)},Ve.prototype.remove=function(e,t){const n=this.register[e];if(n){if(this.fastupdate)for(let s,o=0;o{if(o.value){for(var y=f.value.search(o.value,{enrich:!0}),w=[],C=0;C!y||!y.length?[]:y.reduce((C,O)=>(C[w(O)]||(C[w(O)]=[]),C[w(O)].push(O),C),{}),A=()=>{setTimeout(()=>{r.value&&r.value.focus()},100),W(),s.value=!0};Qe(async()=>{var O,z;const y=await Ar(()=>import("./chunks/virtual_search-data.fe0caec7.js"),[]);l.value=y.default.INDEX_DATA,c.value=y.default.PREVIEW_LOOKUP,a.value=y.default.Options,i.value=window.location.origin+t.value,h.value=((O=a.value)==null?void 0:O.buttonLabel)||h.value,_.value=((z=a.value)==null?void 0:z.placeholder)||_.value;var w=new Ve(a.value);w.import("reg",l.value.reg),w.import("cfg",l.value.cfg),w.import("map",l.value.map),w.import("ctx",l.value.ctx),f.value=w,n.value.innerHTML=/(Mac|iPhone|iPod|iPad)/i.test(navigator.platform)?"⌘":"Ctrl";const C=G=>{G.key==="k"&&(G.ctrlKey||G.metaKey)&&(G.preventDefault(),A())};window.addEventListener("keydown",C)});function W(){s.value=!1,o.value=""}return(y,w)=>{const C=gt("ClientOnly");return p(),x("div",Yu,[I(C,null,{default:B(()=>[(p(),ee(Nc,{to:"body"},[Uo(v("div",{class:"modal-back",onClick:w[2]||(w[2]=O=>s.value=!1)},[v("div",{class:"modal",onClick:w[1]||(w[1]=Lr(()=>{},["stop"]))},[v("form",Qu,[Ju,Uo(v("input",{class:"DocSearch-Input","aria-autocomplete":"both","aria-labelledby":"docsearch-label",id:"docsearch-input",autocomplete:"off",autocorrect:"off",autocapitalize:"off",enterkeyhint:"search",spellcheck:"false",autofocus:"true","onUpdate:modelValue":w[0]||(w[0]=O=>o.value=O),placeholder:_.value,maxlength:"64",type:"search",ref_key:"input",ref:r},null,8,Xu),[[wa,o.value]])]),v("div",Zu,[(p(!0),x(te,null,ke(S(g(m),O=>O.link.split("/").slice(0,-1).join("-")),(O,z)=>(p(),x("div",{key:z},[v("span",ef,ae(z?z.toString()[0].toUpperCase()+z.toString().slice(1):"Home"),1),(p(!0),x(te,null,ke(O,G=>(p(),x("a",{href:i.value+G.link,key:G.id,onClick:W},[v("div",nf,[v("span",sf,ae(G.link.includes("#")?"#":"▤"),1),v("div",of,[v("h3",null,ae(G.title),1),v("p",null,[v("div",{innerHTML:G.preview},null,8,rf)])]),lf])],8,tf))),128))]))),128))]),cf])],512),[[Pa,s.value]])]))]),_:1}),v("div",{id:"docsearch",onClick:w[3]||(w[3]=O=>A())},[v("button",af,[v("span",uf,[ff,v("span",df,ae(h.value),1)]),v("span",hf,[v("span",{class:"DocSearch-Button-Key",ref_key:"metaKey",ref:n},"Meta",512),pf])])])])}}});const mf={},gf={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",height:"24px",viewBox:"0 0 24 24",width:"24px"},vf=v("path",{d:"M0 0h24v24H0V0z",fill:"none"},null,-1),yf=v("path",{d:"M9 5v2h6.59L4 18.59 5.41 20 17 8.41V15h2V5H9z"},null,-1),bf=[vf,yf];function xf(e,t){return p(),x("svg",gf,bf)}const wf=H(mf,[["render",xf]]),kf=R({__name:"VPLink",props:{href:null,noIcon:{type:Boolean}},setup(e){const t=e,n=ie(()=>t.href&&ms.test(t.href));return(s,o)=>(p(),ee(_o(e.href?"a":"span"),{class:pe(["VPLink",{link:e.href}]),href:e.href?g(Yn)(e.href):void 0,target:g(n)?"_blank":void 0,rel:g(n)?"noreferrer":void 0},{default:B(()=>[L(s.$slots,"default",{},void 0,!0),g(n)&&!e.noIcon?(p(),ee(wf,{key:0,class:"icon"})):K("",!0)]),_:3},8,["class","href","target","rel"]))}});const Mt=H(kf,[["__scopeId","data-v-3c355974"]]),$f=R({__name:"VPNavBarMenuLink",props:{item:null},setup(e){const{page:t}=ue();return(n,s)=>(p(),ee(Mt,{class:pe({VPNavBarMenuLink:!0,active:g(Zt)(g(t).relativePath,e.item.activeMatch||e.item.link,!!e.item.activeMatch)}),href:e.item.link,noIcon:!0},{default:B(()=>[Le(ae(e.item.text),1)]),_:1},8,["class","href"]))}});const Pf=H($f,[["__scopeId","data-v-47a2263e"]]),wo=le();let Dr=!1,Ls=0;function Cf(e){const t=le(!1);if(typeof window<"u"){!Dr&&Sf(),Ls++;const n=nt(wo,s=>{var o,i,r;s===e.el.value||(o=e.el.value)!=null&&o.contains(s)?(t.value=!0,(i=e.onFocus)==null||i.call(e)):(t.value=!1,(r=e.onBlur)==null||r.call(e))});Xt(()=>{n(),Ls--,Ls||Tf()})}return ro(t)}function Sf(){document.addEventListener("focusin",Rr),Dr=!0,wo.value=document.activeElement}function Tf(){document.removeEventListener("focusin",Rr)}function Rr(){wo.value=document.activeElement}const Ef={},Vf={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},Lf=v("path",{d:"M12,16c-0.3,0-0.5-0.1-0.7-0.3l-6-6c-0.4-0.4-0.4-1,0-1.4s1-0.4,1.4,0l5.3,5.3l5.3-5.3c0.4-0.4,1-0.4,1.4,0s0.4,1,0,1.4l-6,6C12.5,15.9,12.3,16,12,16z"},null,-1),Af=[Lf];function Mf(e,t){return p(),x("svg",Vf,Af)}const zr=H(Ef,[["render",Mf]]),If={},Of={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},Nf=v("circle",{cx:"12",cy:"12",r:"2"},null,-1),Bf=v("circle",{cx:"19",cy:"12",r:"2"},null,-1),Hf=v("circle",{cx:"5",cy:"12",r:"2"},null,-1),Ff=[Nf,Bf,Hf];function Df(e,t){return p(),x("svg",Of,Ff)}const Rf=H(If,[["render",Df]]),zf={class:"VPMenuLink"},jf=R({__name:"VPMenuLink",props:{item:null},setup(e){const{page:t}=ue();return(n,s)=>(p(),x("div",zf,[I(Mt,{class:pe({active:g(Zt)(g(t).relativePath,e.item.activeMatch||e.item.link)}),href:e.item.link},{default:B(()=>[Le(ae(e.item.text),1)]),_:1},8,["class","href"])]))}});const gs=H(jf,[["__scopeId","data-v-e8e0fb1d"]]),Uf={class:"VPMenuGroup"},qf={key:0,class:"title"},Kf=R({__name:"VPMenuGroup",props:{text:null,items:null},setup(e){return(t,n)=>(p(),x("div",Uf,[e.text?(p(),x("p",qf,ae(e.text),1)):K("",!0),(p(!0),x(te,null,ke(e.items,s=>(p(),x(te,null,["link"in s?(p(),ee(gs,{key:0,item:s},null,8,["item"])):K("",!0)],64))),256))]))}});const Wf=H(Kf,[["__scopeId","data-v-9ca52130"]]),Gf={class:"VPMenu"},Yf={key:0,class:"items"},Qf=R({__name:"VPMenu",props:{items:null},setup(e){return(t,n)=>(p(),x("div",Gf,[e.items?(p(),x("div",Yf,[(p(!0),x(te,null,ke(e.items,s=>(p(),x(te,{key:s.text},["link"in s?(p(),ee(gs,{key:0,item:s},null,8,["item"])):(p(),ee(Wf,{key:1,text:s.text,items:s.items},null,8,["text","items"]))],64))),128))])):K("",!0),L(t.$slots,"default",{},void 0,!0)]))}});const Jf=H(Qf,[["__scopeId","data-v-1c5d0cfc"]]),Xf=["aria-expanded","aria-label"],Zf={key:0,class:"text"},ed={class:"menu"},td=R({__name:"VPFlyout",props:{icon:null,button:null,label:null,items:null},setup(e){const t=le(!1),n=le();Cf({el:n,onBlur:s});function s(){t.value=!1}return(o,i)=>(p(),x("div",{class:"VPFlyout",ref_key:"el",ref:n,onMouseenter:i[1]||(i[1]=r=>t.value=!0),onMouseleave:i[2]||(i[2]=r=>t.value=!1)},[v("button",{type:"button",class:"button","aria-haspopup":"true","aria-expanded":t.value,"aria-label":e.label,onClick:i[0]||(i[0]=r=>t.value=!t.value)},[e.button||e.icon?(p(),x("span",Zf,[e.icon?(p(),ee(_o(e.icon),{key:0,class:"option-icon"})):K("",!0),Le(" "+ae(e.button)+" ",1),I(zr,{class:"text-icon"})])):(p(),ee(Rf,{key:1,class:"icon"}))],8,Xf),v("div",ed,[I(Jf,{items:e.items},{default:B(()=>[L(o.$slots,"default",{},void 0,!0)]),_:3},8,["items"])])],544))}});const ko=H(td,[["__scopeId","data-v-6ffb57d3"]]),nd=R({__name:"VPNavBarMenuGroup",props:{item:null},setup(e){const{page:t}=ue();return(n,s)=>(p(),ee(ko,{class:pe({VPNavBarMenuGroup:!0,active:g(Zt)(g(t).relativePath,e.item.activeMatch,!!e.item.activeMatch)}),button:e.item.text,items:e.item.items},null,8,["class","button","items"]))}}),sd=e=>(Ge("data-v-f83db6ba"),e=e(),Ye(),e),od={key:0,"aria-labelledby":"main-nav-aria-label",class:"VPNavBarMenu"},id=sd(()=>v("span",{id:"main-nav-aria-label",class:"visually-hidden"},"Main Navigation",-1)),rd=R({__name:"VPNavBarMenu",setup(e){const{theme:t}=ue();return(n,s)=>g(t).nav?(p(),x("nav",od,[id,(p(!0),x(te,null,ke(g(t).nav,o=>(p(),x(te,{key:o.text},["link"in o?(p(),ee(Pf,{key:0,item:o},null,8,["item"])):(p(),ee(nd,{key:1,item:o},null,8,["item"]))],64))),128))])):K("",!0)}});const ld=H(rd,[["__scopeId","data-v-f83db6ba"]]),cd={},ad={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},ud=v("path",{d:"M0 0h24v24H0z",fill:"none"},null,-1),fd=v("path",{d:" M12.87 15.07l-2.54-2.51.03-.03c1.74-1.94 2.98-4.17 3.71-6.53H17V4h-7V2H8v2H1v1.99h11.17C11.5 7.92 10.44 9.75 9 11.35 8.07 10.32 7.3 9.19 6.69 8h-2c.73 1.63 1.73 3.17 2.98 4.56l-5.09 5.02L4 19l5-5 3.11 3.11.76-2.04zM18.5 10h-2L12 22h2l1.12-3h4.75L21 22h2l-4.5-12zm-2.62 7l1.62-4.33L19.12 17h-3.24z ",class:"css-c4d79v"},null,-1),dd=[ud,fd];function hd(e,t){return p(),x("svg",ad,dd)}const jr=H(cd,[["render",hd]]),pd={class:"items"},_d={class:"title"},md=R({__name:"VPNavBarTranslations",setup(e){const{theme:t}=ue();return(n,s)=>g(t).localeLinks?(p(),ee(ko,{key:0,class:"VPNavBarTranslations",icon:jr},{default:B(()=>[v("div",pd,[v("p",_d,ae(g(t).localeLinks.text),1),(p(!0),x(te,null,ke(g(t).localeLinks.items,o=>(p(),ee(gs,{key:o.link,item:o},null,8,["item"]))),128))])]),_:1})):K("",!0)}});const gd=H(md,[["__scopeId","data-v-db824e91"]]);const vd={},yd={class:"VPSwitch",type:"button",role:"switch"},bd={class:"check"},xd={key:0,class:"icon"};function wd(e,t){return p(),x("button",yd,[v("span",bd,[e.$slots.default?(p(),x("span",xd,[L(e.$slots,"default",{},void 0,!0)])):K("",!0)])])}const kd=H(vd,[["render",wd],["__scopeId","data-v-eba7420e"]]),$d={},Pd={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},Cd=Dc('',9),Sd=[Cd];function Td(e,t){return p(),x("svg",Pd,Sd)}const Ed=H($d,[["render",Td]]),Vd={},Ld={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},Ad=v("path",{d:"M12.1,22c-0.3,0-0.6,0-0.9,0c-5.5-0.5-9.5-5.4-9-10.9c0.4-4.8,4.2-8.6,9-9c0.4,0,0.8,0.2,1,0.5c0.2,0.3,0.2,0.8-0.1,1.1c-2,2.7-1.4,6.4,1.3,8.4c2.1,1.6,5,1.6,7.1,0c0.3-0.2,0.7-0.3,1.1-0.1c0.3,0.2,0.5,0.6,0.5,1c-0.2,2.7-1.5,5.1-3.6,6.8C16.6,21.2,14.4,22,12.1,22zM9.3,4.4c-2.9,1-5,3.6-5.2,6.8c-0.4,4.4,2.8,8.3,7.2,8.7c2.1,0.2,4.2-0.4,5.8-1.8c1.1-0.9,1.9-2.1,2.4-3.4c-2.5,0.9-5.3,0.5-7.5-1.1C9.2,11.4,8.1,7.7,9.3,4.4z"},null,-1),Md=[Ad];function Id(e,t){return p(),x("svg",Ld,Md)}const Od=H(Vd,[["render",Id]]),Nd=R({__name:"VPSwitchAppearance",setup(e){const{site:t,isDark:n}=ue(),s=le(!1),o=typeof localStorage<"u"?i():()=>{};Qe(()=>{s.value=document.documentElement.classList.contains("dark")});function i(){const r=window.matchMedia("(prefers-color-scheme: dark)"),l=document.documentElement.classList;let c=localStorage.getItem(gi),a=t.value.appearance==="dark"&&c==null||(c==="auto"||c==null?r.matches:c==="dark");r.onchange=_=>{c==="auto"&&h(a=_.matches)};function f(){h(a=!a),c=a?r.matches?"auto":"dark":r.matches?"light":"auto",localStorage.setItem(gi,c)}function h(_){const m=document.createElement("style");m.type="text/css",m.appendChild(document.createTextNode(`:not(.VPSwitchAppearance):not(.VPSwitchAppearance *) {
+function Qs(e,t){const n=Object.create(null),s=e.split(",");for(let o=0;o!!n[o.toLowerCase()]:o=>!!n[o]}function ts(e){if(Q(e)){const t={};for(let n=0;n{if(n){const s=n.split(Zr);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function pe(e){let t="";if(be(e))t=e;else if(Q(e))for(let n=0;nbe(e)?e:e==null?"":Q(e)||ve(e)&&(e.toString===Fi||!ne(e.toString))?JSON.stringify(e,Ni,2):String(e),Ni=(e,t)=>t&&t.__v_isRef?Ni(e,t.value):Ht(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,o])=>(n[`${s} =>`]=o,n),{})}:Bi(t)?{[`Set(${t.size})`]:[...t.values()]}:ve(t)&&!Q(t)&&!Di(t)?String(t):t,ge={},Bt=[],We=()=>{},ol=()=>!1,il=/^on[^a-z]/,wn=e=>il.test(e),Js=e=>e.startsWith("onUpdate:"),Pe=Object.assign,Xs=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},rl=Object.prototype.hasOwnProperty,ce=(e,t)=>rl.call(e,t),Q=Array.isArray,Ht=e=>ns(e)==="[object Map]",Bi=e=>ns(e)==="[object Set]",ne=e=>typeof e=="function",be=e=>typeof e=="string",Zs=e=>typeof e=="symbol",ve=e=>e!==null&&typeof e=="object",Hi=e=>ve(e)&&ne(e.then)&&ne(e.catch),Fi=Object.prototype.toString,ns=e=>Fi.call(e),ll=e=>ns(e).slice(8,-1),Di=e=>ns(e)==="[object Object]",eo=e=>be(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,rn=Qs(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),ss=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},cl=/-(\w)/g,st=ss(e=>e.replace(cl,(t,n)=>n?n.toUpperCase():"")),al=/\B([A-Z])/g,Yt=ss(e=>e.replace(al,"-$1").toLowerCase()),os=ss(e=>e.charAt(0).toUpperCase()+e.slice(1)),xs=ss(e=>e?`on${os(e)}`:""),pn=(e,t)=>!Object.is(e,t),Bn=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},_n=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let Mo;const ul=()=>Mo||(Mo=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});let Ne;class fl{constructor(t=!1){this.detached=t,this.active=!0,this.effects=[],this.cleanups=[],this.parent=Ne,!t&&Ne&&(this.index=(Ne.scopes||(Ne.scopes=[])).push(this)-1)}run(t){if(this.active){const n=Ne;try{return Ne=this,t()}finally{Ne=n}}}on(){Ne=this}off(){Ne=this.parent}stop(t){if(this.active){let n,s;for(n=0,s=this.effects.length;n{const t=new Set(e);return t.w=0,t.n=0,t},Ri=e=>(e.w&_t)>0,zi=e=>(e.n&_t)>0,_l=({deps:e})=>{if(e.length)for(let t=0;t{const{deps:t}=e;if(t.length){let n=0;for(let s=0;s{(f==="length"||f>=c)&&l.push(a)})}else switch(n!==void 0&&l.push(r.get(n)),t){case"add":Q(e)?eo(n)&&l.push(r.get("length")):(l.push(r.get(Vt)),Ht(e)&&l.push(r.get(Os)));break;case"delete":Q(e)||(l.push(r.get(Vt)),Ht(e)&&l.push(r.get(Os)));break;case"set":Ht(e)&&l.push(r.get(Vt));break}if(l.length===1)l[0]&&Ns(l[0]);else{const c=[];for(const a of l)a&&c.push(...a);Ns(to(c))}}function Ns(e,t){const n=Q(e)?e:[...e];for(const s of n)s.computed&&Oo(s);for(const s of n)s.computed||Oo(s)}function Oo(e,t){(e!==qe||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}const gl=Qs("__proto__,__v_isRef,__isVue"),qi=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Zs)),vl=so(),yl=so(!1,!0),bl=so(!0),No=xl();function xl(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const s=fe(this);for(let i=0,r=this.length;i{e[t]=function(...n){Qt();const s=fe(this)[t].apply(this,n);return Jt(),s}}),e}function so(e=!1,t=!1){return function(s,o,i){if(o==="__v_isReactive")return!e;if(o==="__v_isReadonly")return e;if(o==="__v_isShallow")return t;if(o==="__v_raw"&&i===(e?t?Bl:Qi:t?Yi:Gi).get(s))return s;const r=Q(s);if(!e&&r&&ce(No,o))return Reflect.get(No,o,i);const l=Reflect.get(s,o,i);return(Zs(o)?qi.has(o):gl(o))||(e||Fe(s,"get",o),t)?l:Se(l)?r&&eo(o)?l:l.value:ve(l)?e?ro(l):rs(l):l}}const wl=Ki(),kl=Ki(!0);function Ki(e=!1){return function(n,s,o,i){let r=n[s];if(qt(r)&&Se(r)&&!Se(o))return!1;if(!e&&(!zn(o)&&!qt(o)&&(r=fe(r),o=fe(o)),!Q(n)&&Se(r)&&!Se(o)))return r.value=o,!0;const l=Q(n)&&eo(s)?Number(s)e,is=e=>Reflect.getPrototypeOf(e);function Cn(e,t,n=!1,s=!1){e=e.__v_raw;const o=fe(e),i=fe(t);n||(t!==i&&Fe(o,"get",t),Fe(o,"get",i));const{has:r}=is(o),l=s?oo:n?co:mn;if(r.call(o,t))return l(e.get(t));if(r.call(o,i))return l(e.get(i));e!==o&&e.get(t)}function Sn(e,t=!1){const n=this.__v_raw,s=fe(n),o=fe(e);return t||(e!==o&&Fe(s,"has",e),Fe(s,"has",o)),e===o?n.has(e):n.has(e)||n.has(o)}function Tn(e,t=!1){return e=e.__v_raw,!t&&Fe(fe(e),"iterate",Vt),Reflect.get(e,"size",e)}function Bo(e){e=fe(e);const t=fe(this);return is(t).has.call(t,e)||(t.add(e),rt(t,"add",e,e)),this}function Ho(e,t){t=fe(t);const n=fe(this),{has:s,get:o}=is(n);let i=s.call(n,e);i||(e=fe(e),i=s.call(n,e));const r=o.call(n,e);return n.set(e,t),i?pn(t,r)&&rt(n,"set",e,t):rt(n,"add",e,t),this}function Fo(e){const t=fe(this),{has:n,get:s}=is(t);let o=n.call(t,e);o||(e=fe(e),o=n.call(t,e)),s&&s.call(t,e);const i=t.delete(e);return o&&rt(t,"delete",e,void 0),i}function Do(){const e=fe(this),t=e.size!==0,n=e.clear();return t&&rt(e,"clear",void 0,void 0),n}function En(e,t){return function(s,o){const i=this,r=i.__v_raw,l=fe(r),c=t?oo:e?co:mn;return!e&&Fe(l,"iterate",Vt),r.forEach((a,f)=>s.call(o,c(a),c(f),i))}}function Vn(e,t,n){return function(...s){const o=this.__v_raw,i=fe(o),r=Ht(i),l=e==="entries"||e===Symbol.iterator&&r,c=e==="keys"&&r,a=o[e](...s),f=n?oo:t?co:mn;return!t&&Fe(i,"iterate",c?Os:Vt),{next(){const{value:h,done:_}=a.next();return _?{value:h,done:_}:{value:l?[f(h[0]),f(h[1])]:f(h),done:_}},[Symbol.iterator](){return this}}}}function ct(e){return function(...t){return e==="delete"?!1:this}}function El(){const e={get(i){return Cn(this,i)},get size(){return Tn(this)},has:Sn,add:Bo,set:Ho,delete:Fo,clear:Do,forEach:En(!1,!1)},t={get(i){return Cn(this,i,!1,!0)},get size(){return Tn(this)},has:Sn,add:Bo,set:Ho,delete:Fo,clear:Do,forEach:En(!1,!0)},n={get(i){return Cn(this,i,!0)},get size(){return Tn(this,!0)},has(i){return Sn.call(this,i,!0)},add:ct("add"),set:ct("set"),delete:ct("delete"),clear:ct("clear"),forEach:En(!0,!1)},s={get(i){return Cn(this,i,!0,!0)},get size(){return Tn(this,!0)},has(i){return Sn.call(this,i,!0)},add:ct("add"),set:ct("set"),delete:ct("delete"),clear:ct("clear"),forEach:En(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=Vn(i,!1,!1),n[i]=Vn(i,!0,!1),t[i]=Vn(i,!1,!0),s[i]=Vn(i,!0,!0)}),[e,n,t,s]}const[Vl,Ll,Al,Ml]=El();function io(e,t){const n=t?e?Ml:Al:e?Ll:Vl;return(s,o,i)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?s:Reflect.get(ce(n,o)&&o in s?n:s,o,i)}const Il={get:io(!1,!1)},Ol={get:io(!1,!0)},Nl={get:io(!0,!1)},Gi=new WeakMap,Yi=new WeakMap,Qi=new WeakMap,Bl=new WeakMap;function Hl(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Fl(e){return e.__v_skip||!Object.isExtensible(e)?0:Hl(ll(e))}function rs(e){return qt(e)?e:lo(e,!1,Wi,Il,Gi)}function Dl(e){return lo(e,!1,Tl,Ol,Yi)}function ro(e){return lo(e,!0,Sl,Nl,Qi)}function lo(e,t,n,s,o){if(!ve(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=o.get(e);if(i)return i;const r=Fl(e);if(r===0)return e;const l=new Proxy(e,r===2?s:n);return o.set(e,l),l}function Ft(e){return qt(e)?Ft(e.__v_raw):!!(e&&e.__v_isReactive)}function qt(e){return!!(e&&e.__v_isReadonly)}function zn(e){return!!(e&&e.__v_isShallow)}function Ji(e){return Ft(e)||qt(e)}function fe(e){const t=e&&e.__v_raw;return t?fe(t):e}function ln(e){return Rn(e,"__v_skip",!0),e}const mn=e=>ve(e)?rs(e):e,co=e=>ve(e)?ro(e):e;function Xi(e){ht&&qe&&(e=fe(e),Ui(e.dep||(e.dep=to())))}function Zi(e,t){e=fe(e),e.dep&&Ns(e.dep)}function Se(e){return!!(e&&e.__v_isRef===!0)}function le(e){return er(e,!1)}function Rl(e){return er(e,!0)}function er(e,t){return Se(e)?e:new zl(e,t)}class zl{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:fe(t),this._value=n?t:mn(t)}get value(){return Xi(this),this._value}set value(t){const n=this.__v_isShallow||zn(t)||qt(t);t=n?t:fe(t),pn(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:mn(t),Zi(this))}}function g(e){return Se(e)?e.value:e}const jl={get:(e,t,n)=>g(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const o=e[t];return Se(o)&&!Se(n)?(o.value=n,!0):Reflect.set(e,t,n,s)}};function tr(e){return Ft(e)?e:new Proxy(e,jl)}var nr;class Ul{constructor(t,n,s,o){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this[nr]=!1,this._dirty=!0,this.effect=new no(t,()=>{this._dirty||(this._dirty=!0,Zi(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=s}get value(){const t=fe(this);return Xi(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}nr="__v_isReadonly";function ql(e,t,n=!1){let s,o;const i=ne(e);return i?(s=e,o=We):(s=e.get,o=e.set),new Ul(s,o,i||!o,n)}function pt(e,t,n,s){let o;try{o=s?e(...s):e()}catch(i){ls(i,t,n)}return o}function ze(e,t,n,s){if(ne(e)){const i=pt(e,t,n,s);return i&&Hi(i)&&i.catch(r=>{ls(r,t,n)}),i}const o=[];for(let i=0;i>>1;vn(Ce[s])tt&&Ce.splice(t,1)}function Yl(e){Q(e)?Dt.push(...e):(!it||!it.includes(e,e.allowRecurse?Pt+1:Pt))&&Dt.push(e),or()}function Ro(e,t=gn?tt+1:0){for(;tvn(n)-vn(s)),Pt=0;Pte.id==null?1/0:e.id,Ql=(e,t)=>{const n=vn(e)-vn(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function ir(e){Bs=!1,gn=!0,Ce.sort(Ql);const t=We;try{for(tt=0;ttbe(m)?m.trim():m)),h&&(o=n.map(_n))}let l,c=s[l=xs(t)]||s[l=xs(st(t))];!c&&i&&(c=s[l=xs(Yt(t))]),c&&ze(c,e,6,o);const a=s[l+"Once"];if(a){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,ze(a,e,6,o)}}function rr(e,t,n=!1){const s=t.emitsCache,o=s.get(e);if(o!==void 0)return o;const i=e.emits;let r={},l=!1;if(!ne(e)){const c=a=>{const f=rr(a,t,!0);f&&(l=!0,Pe(r,f))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!i&&!l?(ve(e)&&s.set(e,null),null):(Q(i)?i.forEach(c=>r[c]=null):Pe(r,i),ve(e)&&s.set(e,r),r)}function cs(e,t){return!e||!wn(t)?!1:(t=t.slice(2).replace(/Once$/,""),ce(e,t[0].toLowerCase()+t.slice(1))||ce(e,Yt(t))||ce(e,t))}let $e=null,as=null;function Un(e){const t=$e;return $e=e,as=e&&e.type.__scopeId||null,t}function Ge(e){as=e}function Ye(){as=null}function B(e,t=$e,n){if(!t||e._n)return e;const s=(...o)=>{s._d&&Zo(-1);const i=Un(t);let r;try{r=e(...o)}finally{Un(i),s._d&&Zo(1)}return r};return s._n=!0,s._c=!0,s._d=!0,s}function ws(e){const{type:t,vnode:n,proxy:s,withProxy:o,props:i,propsOptions:[r],slots:l,attrs:c,emit:a,render:f,renderCache:h,data:_,setupState:m,ctx:S,inheritAttrs:A}=e;let W,y;const w=Un(e);try{if(n.shapeFlag&4){const O=o||s;W=Ue(f.call(O,O,h,i,m,_,S)),y=c}else{const O=t;W=Ue(O.length>1?O(i,{attrs:c,slots:l,emit:a}):O(i,null)),y=t.props?c:Xl(c)}}catch(O){fn.length=0,ls(O,e,1),W=I(He)}let C=W;if(y&&A!==!1){const O=Object.keys(y),{shapeFlag:z}=C;O.length&&z&7&&(r&&O.some(Js)&&(y=Zl(y,r)),C=mt(C,y))}return n.dirs&&(C=mt(C),C.dirs=C.dirs?C.dirs.concat(n.dirs):n.dirs),n.transition&&(C.transition=n.transition),W=C,Un(w),W}const Xl=e=>{let t;for(const n in e)(n==="class"||n==="style"||wn(n))&&((t||(t={}))[n]=e[n]);return t},Zl=(e,t)=>{const n={};for(const s in e)(!Js(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function ec(e,t,n){const{props:s,children:o,component:i}=e,{props:r,children:l,patchFlag:c}=t,a=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return s?zo(s,r,a):!!r;if(c&8){const f=t.dynamicProps;for(let h=0;he.__isSuspense;function lr(e,t){t&&t.pendingBranch?Q(e)?t.effects.push(...e):t.effects.push(e):Yl(e)}function Rt(e,t){if(we){let n=we.provides;const s=we.parent&&we.parent.provides;s===n&&(n=we.provides=Object.create(s)),n[e]=t}}function Be(e,t,n=!1){const s=we||$e;if(s){const o=s.parent==null?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides;if(o&&e in o)return o[e];if(arguments.length>1)return n&&ne(t)?t.call(s.proxy):t}}function At(e,t){return us(e,null,t)}function sc(e,t){return us(e,null,{flush:"post"})}const Ln={};function nt(e,t,n){return us(e,t,n)}function us(e,t,{immediate:n,deep:s,flush:o,onTrack:i,onTrigger:r}=ge){const l=we;let c,a=!1,f=!1;if(Se(e)?(c=()=>e.value,a=zn(e)):Ft(e)?(c=()=>e,s=!0):Q(e)?(f=!0,a=e.some(C=>Ft(C)||zn(C)),c=()=>e.map(C=>{if(Se(C))return C.value;if(Ft(C))return Et(C);if(ne(C))return pt(C,l,2)})):ne(e)?t?c=()=>pt(e,l,2):c=()=>{if(!(l&&l.isUnmounted))return h&&h(),ze(e,l,3,[_])}:c=We,t&&s){const C=c;c=()=>Et(C())}let h,_=C=>{h=y.onStop=()=>{pt(C,l,4)}},m;if(bn)if(_=We,t?n&&ze(t,l,3,[c(),f?[]:void 0,_]):c(),o==="sync"){const C=Xc();m=C.__watcherHandles||(C.__watcherHandles=[])}else return We;let S=f?new Array(e.length).fill(Ln):Ln;const A=()=>{if(y.active)if(t){const C=y.run();(s||a||(f?C.some((O,z)=>pn(O,S[z])):pn(C,S)))&&(h&&h(),ze(t,l,3,[C,S===Ln?void 0:f&&S[0]===Ln?[]:S,_]),S=C)}else y.run()};A.allowRecurse=!!t;let W;o==="sync"?W=A:o==="post"?W=()=>Ae(A,l&&l.suspense):(A.pre=!0,l&&(A.id=l.uid),W=()=>fo(A));const y=new no(c,W);t?n?A():S=y.run():o==="post"?Ae(y.run.bind(y),l&&l.suspense):y.run();const w=()=>{y.stop(),l&&l.scope&&Xs(l.scope.effects,y)};return m&&m.push(w),w}function oc(e,t,n){const s=this.proxy,o=be(e)?e.includes(".")?cr(s,e):()=>s[e]:e.bind(s,s);let i;ne(t)?i=t:(i=t.handler,n=t);const r=we;Wt(this);const l=us(o,i.bind(s),n);return r?Wt(r):Lt(),l}function cr(e,t){const n=t.split(".");return()=>{let s=e;for(let o=0;o{Et(n,t)});else if(Di(e))for(const n in e)Et(e[n],t);return e}function ic(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Qe(()=>{e.isMounted=!0}),hr(()=>{e.isUnmounting=!0}),e}const De=[Function,Array],rc={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:De,onEnter:De,onAfterEnter:De,onEnterCancelled:De,onBeforeLeave:De,onLeave:De,onAfterLeave:De,onLeaveCancelled:De,onBeforeAppear:De,onAppear:De,onAfterAppear:De,onAppearCancelled:De},setup(e,{slots:t}){const n=bo(),s=ic();let o;return()=>{const i=t.default&&fr(t.default(),!0);if(!i||!i.length)return;let r=i[0];if(i.length>1){for(const A of i)if(A.type!==He){r=A;break}}const l=fe(e),{mode:c}=l;if(s.isLeaving)return ks(r);const a=jo(r);if(!a)return ks(r);const f=Hs(a,l,s,n);Fs(a,f);const h=n.subTree,_=h&&jo(h);let m=!1;const{getTransitionKey:S}=a.type;if(S){const A=S();o===void 0?o=A:A!==o&&(o=A,m=!0)}if(_&&_.type!==He&&(!Ct(a,_)||m)){const A=Hs(_,l,s,n);if(Fs(_,A),c==="out-in")return s.isLeaving=!0,A.afterLeave=()=>{s.isLeaving=!1,n.update.active!==!1&&n.update()},ks(r);c==="in-out"&&a.type!==He&&(A.delayLeave=(W,y,w)=>{const C=ur(s,_);C[String(_.key)]=_,W._leaveCb=()=>{y(),W._leaveCb=void 0,delete f.delayedLeave},f.delayedLeave=w})}return r}}},ar=rc;function ur(e,t){const{leavingVNodes:n}=e;let s=n.get(t.type);return s||(s=Object.create(null),n.set(t.type,s)),s}function Hs(e,t,n,s){const{appear:o,mode:i,persisted:r=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:a,onEnterCancelled:f,onBeforeLeave:h,onLeave:_,onAfterLeave:m,onLeaveCancelled:S,onBeforeAppear:A,onAppear:W,onAfterAppear:y,onAppearCancelled:w}=t,C=String(e.key),O=ur(n,e),z=(V,Y)=>{V&&ze(V,s,9,Y)},G=(V,Y)=>{const J=Y[1];z(V,Y),Q(V)?V.every(se=>se.length<=1)&&J():V.length<=1&&J()},X={mode:i,persisted:r,beforeEnter(V){let Y=l;if(!n.isMounted)if(o)Y=A||l;else return;V._leaveCb&&V._leaveCb(!0);const J=O[C];J&&Ct(e,J)&&J.el._leaveCb&&J.el._leaveCb(),z(Y,[V])},enter(V){let Y=c,J=a,se=f;if(!n.isMounted)if(o)Y=W||c,J=y||a,se=w||f;else return;let F=!1;const oe=V._enterCb=j=>{F||(F=!0,j?z(se,[V]):z(J,[V]),X.delayedLeave&&X.delayedLeave(),V._enterCb=void 0)};Y?G(Y,[V,oe]):oe()},leave(V,Y){const J=String(e.key);if(V._enterCb&&V._enterCb(!0),n.isUnmounting)return Y();z(h,[V]);let se=!1;const F=V._leaveCb=oe=>{se||(se=!0,Y(),oe?z(S,[V]):z(m,[V]),V._leaveCb=void 0,O[J]===e&&delete O[J])};O[J]=e,_?G(_,[V,F]):F()},clone(V){return Hs(V,t,n,s)}};return X}function ks(e){if(fs(e))return e=mt(e),e.children=null,e}function jo(e){return fs(e)?e.children?e.children[0]:void 0:e}function Fs(e,t){e.shapeFlag&6&&e.component?Fs(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function fr(e,t=!1,n){let s=[],o=0;for(let i=0;i1)for(let i=0;i!!e.type.__asyncLoader,fs=e=>e.type.__isKeepAlive;function lc(e,t){dr(e,"a",t)}function cc(e,t){dr(e,"da",t)}function dr(e,t,n=we){const s=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(ds(t,s,n),n){let o=n.parent;for(;o&&o.parent;)fs(o.parent.vnode)&&ac(s,t,n,o),o=o.parent}}function ac(e,t,n,s){const o=ds(t,e,s,!0);Xt(()=>{Xs(s[t],o)},n)}function ds(e,t,n=we,s=!1){if(n){const o=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...r)=>{if(n.isUnmounted)return;Qt(),Wt(n);const l=ze(t,n,e,r);return Lt(),Jt(),l});return s?o.unshift(i):o.push(i),i}}const lt=e=>(t,n=we)=>(!bn||e==="sp")&&ds(e,(...s)=>t(...s),n),uc=lt("bm"),Qe=lt("m"),fc=lt("bu"),ho=lt("u"),hr=lt("bum"),Xt=lt("um"),dc=lt("sp"),hc=lt("rtg"),pc=lt("rtc");function _c(e,t=we){ds("ec",e,t)}function Uo(e,t){const n=$e;if(n===null)return e;const s=ps(n)||n.proxy,o=e.dirs||(e.dirs=[]);for(let i=0;it(r,l,void 0,i&&i[l]));else{const r=Object.keys(e);o=new Array(r.length);for(let l=0,c=r.length;lWn(t)?!(t.type===He||t.type===te&&!mr(t.children)):!0)?e:null}const Ds=e=>e?Sr(e)?ps(e)||e.proxy:Ds(e.parent):null,cn=Pe(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Ds(e.parent),$root:e=>Ds(e.root),$emit:e=>e.emit,$options:e=>mo(e),$forceUpdate:e=>e.f||(e.f=()=>fo(e.update)),$nextTick:e=>e.n||(e.n=uo.bind(e.proxy)),$watch:e=>oc.bind(e)}),$s=(e,t)=>e!==ge&&!e.__isScriptSetup&&ce(e,t),mc={get({_:e},t){const{ctx:n,setupState:s,data:o,props:i,accessCache:r,type:l,appContext:c}=e;let a;if(t[0]!=="$"){const m=r[t];if(m!==void 0)switch(m){case 1:return s[t];case 2:return o[t];case 4:return n[t];case 3:return i[t]}else{if($s(s,t))return r[t]=1,s[t];if(o!==ge&&ce(o,t))return r[t]=2,o[t];if((a=e.propsOptions[0])&&ce(a,t))return r[t]=3,i[t];if(n!==ge&&ce(n,t))return r[t]=4,n[t];Rs&&(r[t]=0)}}const f=cn[t];let h,_;if(f)return t==="$attrs"&&Fe(e,"get",t),f(e);if((h=l.__cssModules)&&(h=h[t]))return h;if(n!==ge&&ce(n,t))return r[t]=4,n[t];if(_=c.config.globalProperties,ce(_,t))return _[t]},set({_:e},t,n){const{data:s,setupState:o,ctx:i}=e;return $s(o,t)?(o[t]=n,!0):s!==ge&&ce(s,t)?(s[t]=n,!0):ce(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:o,propsOptions:i}},r){let l;return!!n[r]||e!==ge&&ce(e,r)||$s(t,r)||(l=i[0])&&ce(l,r)||ce(s,r)||ce(cn,r)||ce(o.config.globalProperties,r)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:ce(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};let Rs=!0;function gc(e){const t=mo(e),n=e.proxy,s=e.ctx;Rs=!1,t.beforeCreate&&Ko(t.beforeCreate,e,"bc");const{data:o,computed:i,methods:r,watch:l,provide:c,inject:a,created:f,beforeMount:h,mounted:_,beforeUpdate:m,updated:S,activated:A,deactivated:W,beforeDestroy:y,beforeUnmount:w,destroyed:C,unmounted:O,render:z,renderTracked:G,renderTriggered:X,errorCaptured:V,serverPrefetch:Y,expose:J,inheritAttrs:se,components:F,directives:oe,filters:j}=t;if(a&&vc(a,s,null,e.appContext.config.unwrapInjectedRef),r)for(const ye in r){const _e=r[ye];ne(_e)&&(s[ye]=_e.bind(n))}if(o){const ye=o.call(n,n);ve(ye)&&(e.data=rs(ye))}if(Rs=!0,i)for(const ye in i){const _e=i[ye],yt=ne(_e)?_e.bind(n,n):ne(_e.get)?_e.get.bind(n,n):We,$n=!ne(_e)&&ne(_e.set)?_e.set.bind(n):We,bt=ie({get:yt,set:$n});Object.defineProperty(s,ye,{enumerable:!0,configurable:!0,get:()=>bt.value,set:Xe=>bt.value=Xe})}if(l)for(const ye in l)gr(l[ye],s,n,ye);if(c){const ye=ne(c)?c.call(n):c;Reflect.ownKeys(ye).forEach(_e=>{Rt(_e,ye[_e])})}f&&Ko(f,e,"c");function de(ye,_e){Q(_e)?_e.forEach(yt=>ye(yt.bind(n))):_e&&ye(_e.bind(n))}if(de(uc,h),de(Qe,_),de(fc,m),de(ho,S),de(lc,A),de(cc,W),de(_c,V),de(pc,G),de(hc,X),de(hr,w),de(Xt,O),de(dc,Y),Q(J))if(J.length){const ye=e.exposed||(e.exposed={});J.forEach(_e=>{Object.defineProperty(ye,_e,{get:()=>n[_e],set:yt=>n[_e]=yt})})}else e.exposed||(e.exposed={});z&&e.render===We&&(e.render=z),se!=null&&(e.inheritAttrs=se),F&&(e.components=F),oe&&(e.directives=oe)}function vc(e,t,n=We,s=!1){Q(e)&&(e=zs(e));for(const o in e){const i=e[o];let r;ve(i)?"default"in i?r=Be(i.from||o,i.default,!0):r=Be(i.from||o):r=Be(i),Se(r)&&s?Object.defineProperty(t,o,{enumerable:!0,configurable:!0,get:()=>r.value,set:l=>r.value=l}):t[o]=r}}function Ko(e,t,n){ze(Q(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function gr(e,t,n,s){const o=s.includes(".")?cr(n,s):()=>n[s];if(be(e)){const i=t[e];ne(i)&&nt(o,i)}else if(ne(e))nt(o,e.bind(n));else if(ve(e))if(Q(e))e.forEach(i=>gr(i,t,n,s));else{const i=ne(e.handler)?e.handler.bind(n):t[e.handler];ne(i)&&nt(o,i,e)}}function mo(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:o,optionsCache:i,config:{optionMergeStrategies:r}}=e.appContext,l=i.get(t);let c;return l?c=l:!o.length&&!n&&!s?c=t:(c={},o.length&&o.forEach(a=>qn(c,a,r,!0)),qn(c,t,r)),ve(t)&&i.set(t,c),c}function qn(e,t,n,s=!1){const{mixins:o,extends:i}=t;i&&qn(e,i,n,!0),o&&o.forEach(r=>qn(e,r,n,!0));for(const r in t)if(!(s&&r==="expose")){const l=yc[r]||n&&n[r];e[r]=l?l(e[r],t[r]):t[r]}return e}const yc={data:Wo,props:$t,emits:$t,methods:$t,computed:$t,beforeCreate:Te,created:Te,beforeMount:Te,mounted:Te,beforeUpdate:Te,updated:Te,beforeDestroy:Te,beforeUnmount:Te,destroyed:Te,unmounted:Te,activated:Te,deactivated:Te,errorCaptured:Te,serverPrefetch:Te,components:$t,directives:$t,watch:xc,provide:Wo,inject:bc};function Wo(e,t){return t?e?function(){return Pe(ne(e)?e.call(this,this):e,ne(t)?t.call(this,this):t)}:t:e}function bc(e,t){return $t(zs(e),zs(t))}function zs(e){if(Q(e)){const t={};for(let n=0;n0)&&!(r&16)){if(r&8){const f=e.vnode.dynamicProps;for(let h=0;h{c=!0;const[_,m]=yr(h,t,!0);Pe(r,_),m&&l.push(...m)};!n&&t.mixins.length&&t.mixins.forEach(f),e.extends&&f(e.extends),e.mixins&&e.mixins.forEach(f)}if(!i&&!c)return ve(e)&&s.set(e,Bt),Bt;if(Q(i))for(let f=0;f-1,m[1]=A<0||S-1||ce(m,"default"))&&l.push(h)}}}const a=[r,l];return ve(e)&&s.set(e,a),a}function Go(e){return e[0]!=="$"}function Yo(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:e===null?"null":""}function Qo(e,t){return Yo(e)===Yo(t)}function Jo(e,t){return Q(t)?t.findIndex(n=>Qo(n,e)):ne(t)&&Qo(t,e)?0:-1}const br=e=>e[0]==="_"||e==="$stable",go=e=>Q(e)?e.map(Ue):[Ue(e)],$c=(e,t,n)=>{if(t._n)return t;const s=B((...o)=>go(t(...o)),n);return s._c=!1,s},xr=(e,t,n)=>{const s=e._ctx;for(const o in e){if(br(o))continue;const i=e[o];if(ne(i))t[o]=$c(o,i,s);else if(i!=null){const r=go(i);t[o]=()=>r}}},wr=(e,t)=>{const n=go(t);e.slots.default=()=>n},Pc=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=fe(t),Rn(t,"_",n)):xr(t,e.slots={})}else e.slots={},t&&wr(e,t);Rn(e.slots,hs,1)},Cc=(e,t,n)=>{const{vnode:s,slots:o}=e;let i=!0,r=ge;if(s.shapeFlag&32){const l=t._;l?n&&l===1?i=!1:(Pe(o,t),!n&&l===1&&delete o._):(i=!t.$stable,xr(t,o)),r=t}else t&&(wr(e,t),r={default:1});if(i)for(const l in o)!br(l)&&!(l in r)&&delete o[l]};function kr(){return{app:null,config:{isNativeTag:ol,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let Sc=0;function Tc(e,t){return function(s,o=null){ne(s)||(s=Object.assign({},s)),o!=null&&!ve(o)&&(o=null);const i=kr(),r=new Set;let l=!1;const c=i.app={_uid:Sc++,_component:s,_props:o,_container:null,_context:i,_instance:null,version:Zc,get config(){return i.config},set config(a){},use(a,...f){return r.has(a)||(a&&ne(a.install)?(r.add(a),a.install(c,...f)):ne(a)&&(r.add(a),a(c,...f))),c},mixin(a){return i.mixins.includes(a)||i.mixins.push(a),c},component(a,f){return f?(i.components[a]=f,c):i.components[a]},directive(a,f){return f?(i.directives[a]=f,c):i.directives[a]},mount(a,f,h){if(!l){const _=I(s,o);return _.appContext=i,f&&t?t(_,a):e(_,a,h),l=!0,c._container=a,a.__vue_app__=c,ps(_.component)||_.component.proxy}},unmount(){l&&(e(null,c._container),delete c._container.__vue_app__)},provide(a,f){return i.provides[a]=f,c}};return c}}function Kn(e,t,n,s,o=!1){if(Q(e)){e.forEach((_,m)=>Kn(_,t&&(Q(t)?t[m]:t),n,s,o));return}if(zt(s)&&!o)return;const i=s.shapeFlag&4?ps(s.component)||s.component.proxy:s.el,r=o?null:i,{i:l,r:c}=e,a=t&&t.r,f=l.refs===ge?l.refs={}:l.refs,h=l.setupState;if(a!=null&&a!==c&&(be(a)?(f[a]=null,ce(h,a)&&(h[a]=null)):Se(a)&&(a.value=null)),ne(c))pt(c,l,12,[r,f]);else{const _=be(c),m=Se(c);if(_||m){const S=()=>{if(e.f){const A=_?ce(h,c)?h[c]:f[c]:c.value;o?Q(A)&&Xs(A,i):Q(A)?A.includes(i)||A.push(i):_?(f[c]=[i],ce(h,c)&&(h[c]=f[c])):(c.value=[i],e.k&&(f[e.k]=c.value))}else _?(f[c]=r,ce(h,c)&&(h[c]=r)):m&&(c.value=r,e.k&&(f[e.k]=r))};r?(S.id=-1,Ae(S,n)):S()}}}let at=!1;const An=e=>/svg/.test(e.namespaceURI)&&e.tagName!=="foreignObject",Mn=e=>e.nodeType===8;function Ec(e){const{mt:t,p:n,o:{patchProp:s,createText:o,nextSibling:i,parentNode:r,remove:l,insert:c,createComment:a}}=e,f=(y,w)=>{if(!w.hasChildNodes()){n(null,y,w),jn(),w._vnode=y;return}at=!1,h(w.firstChild,y,null,null,null),jn(),w._vnode=y,at&&console.error("Hydration completed but contains mismatches.")},h=(y,w,C,O,z,G=!1)=>{const X=Mn(y)&&y.data==="[",V=()=>A(y,w,C,O,z,X),{type:Y,ref:J,shapeFlag:se,patchFlag:F}=w;let oe=y.nodeType;w.el=y,F===-2&&(G=!1,w.dynamicChildren=null);let j=null;switch(Y){case Kt:oe!==3?w.children===""?(c(w.el=o(""),r(y),y),j=y):j=V():(y.data!==w.children&&(at=!0,y.data=w.children),j=i(y));break;case He:oe!==8||X?j=V():j=i(y);break;case un:if(X&&(y=i(y),oe=y.nodeType),oe===1||oe===3){j=y;const Ie=!w.children.length;for(let de=0;de{G=G||!!w.dynamicChildren;const{type:X,props:V,patchFlag:Y,shapeFlag:J,dirs:se}=w,F=X==="input"&&se||X==="option";if(F||Y!==-1){if(se&&et(w,null,C,"created"),V)if(F||!G||Y&48)for(const j in V)(F&&j.endsWith("value")||wn(j)&&!rn(j))&&s(y,j,null,V[j],!1,void 0,C);else V.onClick&&s(y,"onClick",null,V.onClick,!1,void 0,C);let oe;if((oe=V&&V.onVnodeBeforeMount)&&Re(oe,C,w),se&&et(w,null,C,"beforeMount"),((oe=V&&V.onVnodeMounted)||se)&&lr(()=>{oe&&Re(oe,C,w),se&&et(w,null,C,"mounted")},O),J&16&&!(V&&(V.innerHTML||V.textContent))){let j=m(y.firstChild,w,y,C,O,z,G);for(;j;){at=!0;const Ie=j;j=j.nextSibling,l(Ie)}}else J&8&&y.textContent!==w.children&&(at=!0,y.textContent=w.children)}return y.nextSibling},m=(y,w,C,O,z,G,X)=>{X=X||!!w.dynamicChildren;const V=w.children,Y=V.length;for(let J=0;J{const{slotScopeIds:X}=w;X&&(z=z?z.concat(X):X);const V=r(y),Y=m(i(y),w,V,C,O,z,G);return Y&&Mn(Y)&&Y.data==="]"?i(w.anchor=Y):(at=!0,c(w.anchor=a("]"),V,Y),Y)},A=(y,w,C,O,z,G)=>{if(at=!0,w.el=null,G){const Y=W(y);for(;;){const J=i(y);if(J&&J!==Y)l(J);else break}}const X=i(y),V=r(y);return l(y),n(null,w,V,X,C,O,An(V),z),X},W=y=>{let w=0;for(;y;)if(y=i(y),y&&Mn(y)&&(y.data==="["&&w++,y.data==="]")){if(w===0)return i(y);w--}return y};return[f,h]}const Ae=lr;function Vc(e){return Lc(e,Ec)}function Lc(e,t){const n=ul();n.__VUE__=!0;const{insert:s,remove:o,patchProp:i,createElement:r,createText:l,createComment:c,setText:a,setElementText:f,parentNode:h,nextSibling:_,setScopeId:m=We,insertStaticContent:S}=e,A=(u,d,b,$=null,k=null,E=null,N=!1,T=null,M=!!d.dynamicChildren)=>{if(u===d)return;u&&!Ct(u,d)&&($=Pn(u),Xe(u,k,E,!0),u=null),d.patchFlag===-2&&(M=!1,d.dynamicChildren=null);const{type:P,ref:U,shapeFlag:D}=d;switch(P){case Kt:W(u,d,b,$);break;case He:y(u,d,b,$);break;case un:u==null&&w(d,b,$,N);break;case te:F(u,d,b,$,k,E,N,T,M);break;default:D&1?z(u,d,b,$,k,E,N,T,M):D&6?oe(u,d,b,$,k,E,N,T,M):(D&64||D&128)&&P.process(u,d,b,$,k,E,N,T,M,It)}U!=null&&k&&Kn(U,u&&u.ref,E,d||u,!d)},W=(u,d,b,$)=>{if(u==null)s(d.el=l(d.children),b,$);else{const k=d.el=u.el;d.children!==u.children&&a(k,d.children)}},y=(u,d,b,$)=>{u==null?s(d.el=c(d.children||""),b,$):d.el=u.el},w=(u,d,b,$)=>{[u.el,u.anchor]=S(u.children,d,b,$,u.el,u.anchor)},C=({el:u,anchor:d},b,$)=>{let k;for(;u&&u!==d;)k=_(u),s(u,b,$),u=k;s(d,b,$)},O=({el:u,anchor:d})=>{let b;for(;u&&u!==d;)b=_(u),o(u),u=b;o(d)},z=(u,d,b,$,k,E,N,T,M)=>{N=N||d.type==="svg",u==null?G(d,b,$,k,E,N,T,M):Y(u,d,k,E,N,T,M)},G=(u,d,b,$,k,E,N,T)=>{let M,P;const{type:U,props:D,shapeFlag:q,transition:Z,dirs:re}=u;if(M=u.el=r(u.type,E,D&&D.is,D),q&8?f(M,u.children):q&16&&V(u.children,M,null,$,k,E&&U!=="foreignObject",N,T),re&&et(u,null,$,"created"),D){for(const he in D)he!=="value"&&!rn(he)&&i(M,he,null,D[he],E,u.children,$,k,ot);"value"in D&&i(M,"value",null,D.value),(P=D.onVnodeBeforeMount)&&Re(P,$,u)}X(M,u,u.scopeId,N,$),re&&et(u,null,$,"beforeMount");const me=(!k||k&&!k.pendingBranch)&&Z&&!Z.persisted;me&&Z.beforeEnter(M),s(M,d,b),((P=D&&D.onVnodeMounted)||me||re)&&Ae(()=>{P&&Re(P,$,u),me&&Z.enter(M),re&&et(u,null,$,"mounted")},k)},X=(u,d,b,$,k)=>{if(b&&m(u,b),$)for(let E=0;E<$.length;E++)m(u,$[E]);if(k){let E=k.subTree;if(d===E){const N=k.vnode;X(u,N,N.scopeId,N.slotScopeIds,k.parent)}}},V=(u,d,b,$,k,E,N,T,M=0)=>{for(let P=M;P{const T=d.el=u.el;let{patchFlag:M,dynamicChildren:P,dirs:U}=d;M|=u.patchFlag&16;const D=u.props||ge,q=d.props||ge;let Z;b&&xt(b,!1),(Z=q.onVnodeBeforeUpdate)&&Re(Z,b,d,u),U&&et(d,u,b,"beforeUpdate"),b&&xt(b,!0);const re=k&&d.type!=="foreignObject";if(P?J(u.dynamicChildren,P,T,b,$,re,E):N||_e(u,d,T,null,b,$,re,E,!1),M>0){if(M&16)se(T,d,D,q,b,$,k);else if(M&2&&D.class!==q.class&&i(T,"class",null,q.class,k),M&4&&i(T,"style",D.style,q.style,k),M&8){const me=d.dynamicProps;for(let he=0;he{Z&&Re(Z,b,d,u),U&&et(d,u,b,"updated")},$)},J=(u,d,b,$,k,E,N)=>{for(let T=0;T{if(b!==$){if(b!==ge)for(const T in b)!rn(T)&&!(T in $)&&i(u,T,b[T],null,N,d.children,k,E,ot);for(const T in $){if(rn(T))continue;const M=$[T],P=b[T];M!==P&&T!=="value"&&i(u,T,P,M,N,d.children,k,E,ot)}"value"in $&&i(u,"value",b.value,$.value)}},F=(u,d,b,$,k,E,N,T,M)=>{const P=d.el=u?u.el:l(""),U=d.anchor=u?u.anchor:l("");let{patchFlag:D,dynamicChildren:q,slotScopeIds:Z}=d;Z&&(T=T?T.concat(Z):Z),u==null?(s(P,b,$),s(U,b,$),V(d.children,b,U,k,E,N,T,M)):D>0&&D&64&&q&&u.dynamicChildren?(J(u.dynamicChildren,q,b,k,E,N,T),(d.key!=null||k&&d===k.subTree)&&vo(u,d,!0)):_e(u,d,b,U,k,E,N,T,M)},oe=(u,d,b,$,k,E,N,T,M)=>{d.slotScopeIds=T,u==null?d.shapeFlag&512?k.ctx.activate(d,b,$,N,M):j(d,b,$,k,E,N,M):Ie(u,d,M)},j=(u,d,b,$,k,E,N)=>{const T=u.component=jc(u,$,k);if(fs(u)&&(T.ctx.renderer=It),Uc(T),T.asyncDep){if(k&&k.registerDep(T,de),!u.el){const M=T.subTree=I(He);y(null,M,d,b)}return}de(T,u,d,b,k,E,N)},Ie=(u,d,b)=>{const $=d.component=u.component;if(ec(u,d,b))if($.asyncDep&&!$.asyncResolved){ye($,d,b);return}else $.next=d,Gl($.update),$.update();else d.el=u.el,$.vnode=d},de=(u,d,b,$,k,E,N)=>{const T=()=>{if(u.isMounted){let{next:U,bu:D,u:q,parent:Z,vnode:re}=u,me=U,he;xt(u,!1),U?(U.el=re.el,ye(u,U,N)):U=re,D&&Bn(D),(he=U.props&&U.props.onVnodeBeforeUpdate)&&Re(he,Z,U,re),xt(u,!0);const xe=ws(u),je=u.subTree;u.subTree=xe,A(je,xe,h(je.el),Pn(je),u,k,E),U.el=xe.el,me===null&&tc(u,xe.el),q&&Ae(q,k),(he=U.props&&U.props.onVnodeUpdated)&&Ae(()=>Re(he,Z,U,re),k)}else{let U;const{el:D,props:q}=d,{bm:Z,m:re,parent:me}=u,he=zt(d);if(xt(u,!1),Z&&Bn(Z),!he&&(U=q&&q.onVnodeBeforeMount)&&Re(U,me,d),xt(u,!0),D&&bs){const xe=()=>{u.subTree=ws(u),bs(D,u.subTree,u,k,null)};he?d.type.__asyncLoader().then(()=>!u.isUnmounted&&xe()):xe()}else{const xe=u.subTree=ws(u);A(null,xe,b,$,u,k,E),d.el=xe.el}if(re&&Ae(re,k),!he&&(U=q&&q.onVnodeMounted)){const xe=d;Ae(()=>Re(U,me,xe),k)}(d.shapeFlag&256||me&&zt(me.vnode)&&me.vnode.shapeFlag&256)&&u.a&&Ae(u.a,k),u.isMounted=!0,d=b=$=null}},M=u.effect=new no(T,()=>fo(P),u.scope),P=u.update=()=>M.run();P.id=u.uid,xt(u,!0),P()},ye=(u,d,b)=>{d.component=u;const $=u.vnode.props;u.vnode=d,u.next=null,kc(u,d.props,$,b),Cc(u,d.children,b),Qt(),Ro(),Jt()},_e=(u,d,b,$,k,E,N,T,M=!1)=>{const P=u&&u.children,U=u?u.shapeFlag:0,D=d.children,{patchFlag:q,shapeFlag:Z}=d;if(q>0){if(q&128){$n(P,D,b,$,k,E,N,T,M);return}else if(q&256){yt(P,D,b,$,k,E,N,T,M);return}}Z&8?(U&16&&ot(P,k,E),D!==P&&f(b,D)):U&16?Z&16?$n(P,D,b,$,k,E,N,T,M):ot(P,k,E,!0):(U&8&&f(b,""),Z&16&&V(D,b,$,k,E,N,T,M))},yt=(u,d,b,$,k,E,N,T,M)=>{u=u||Bt,d=d||Bt;const P=u.length,U=d.length,D=Math.min(P,U);let q;for(q=0;qU?ot(u,k,E,!0,!1,D):V(d,b,$,k,E,N,T,M,D)},$n=(u,d,b,$,k,E,N,T,M)=>{let P=0;const U=d.length;let D=u.length-1,q=U-1;for(;P<=D&&P<=q;){const Z=u[P],re=d[P]=M?dt(d[P]):Ue(d[P]);if(Ct(Z,re))A(Z,re,b,null,k,E,N,T,M);else break;P++}for(;P<=D&&P<=q;){const Z=u[D],re=d[q]=M?dt(d[q]):Ue(d[q]);if(Ct(Z,re))A(Z,re,b,null,k,E,N,T,M);else break;D--,q--}if(P>D){if(P<=q){const Z=q+1,re=Zq)for(;P<=D;)Xe(u[P],k,E,!0),P++;else{const Z=P,re=P,me=new Map;for(P=re;P<=q;P++){const Oe=d[P]=M?dt(d[P]):Ue(d[P]);Oe.key!=null&&me.set(Oe.key,P)}let he,xe=0;const je=q-re+1;let Ot=!1,Vo=0;const en=new Array(je);for(P=0;P=je){Xe(Oe,k,E,!0);continue}let Ze;if(Oe.key!=null)Ze=me.get(Oe.key);else for(he=re;he<=q;he++)if(en[he-re]===0&&Ct(Oe,d[he])){Ze=he;break}Ze===void 0?Xe(Oe,k,E,!0):(en[Ze-re]=P+1,Ze>=Vo?Vo=Ze:Ot=!0,A(Oe,d[Ze],b,null,k,E,N,T,M),xe++)}const Lo=Ot?Ac(en):Bt;for(he=Lo.length-1,P=je-1;P>=0;P--){const Oe=re+P,Ze=d[Oe],Ao=Oe+1{const{el:E,type:N,transition:T,children:M,shapeFlag:P}=u;if(P&6){bt(u.component.subTree,d,b,$);return}if(P&128){u.suspense.move(d,b,$);return}if(P&64){N.move(u,d,b,It);return}if(N===te){s(E,d,b);for(let D=0;DT.enter(E),k);else{const{leave:D,delayLeave:q,afterLeave:Z}=T,re=()=>s(E,d,b),me=()=>{D(E,()=>{re(),Z&&Z()})};q?q(E,re,me):me()}else s(E,d,b)},Xe=(u,d,b,$=!1,k=!1)=>{const{type:E,props:N,ref:T,children:M,dynamicChildren:P,shapeFlag:U,patchFlag:D,dirs:q}=u;if(T!=null&&Kn(T,null,b,u,!0),U&256){d.ctx.deactivate(u);return}const Z=U&1&&q,re=!zt(u);let me;if(re&&(me=N&&N.onVnodeBeforeUnmount)&&Re(me,d,u),U&6)Jr(u.component,b,$);else{if(U&128){u.suspense.unmount(b,$);return}Z&&et(u,null,d,"beforeUnmount"),U&64?u.type.remove(u,d,b,k,It,$):P&&(E!==te||D>0&&D&64)?ot(P,d,b,!1,!0):(E===te&&D&384||!k&&U&16)&&ot(M,d,b),$&&To(u)}(re&&(me=N&&N.onVnodeUnmounted)||Z)&&Ae(()=>{me&&Re(me,d,u),Z&&et(u,null,d,"unmounted")},b)},To=u=>{const{type:d,el:b,anchor:$,transition:k}=u;if(d===te){Qr(b,$);return}if(d===un){O(u);return}const E=()=>{o(b),k&&!k.persisted&&k.afterLeave&&k.afterLeave()};if(u.shapeFlag&1&&k&&!k.persisted){const{leave:N,delayLeave:T}=k,M=()=>N(b,E);T?T(u.el,E,M):M()}else E()},Qr=(u,d)=>{let b;for(;u!==d;)b=_(u),o(u),u=b;o(d)},Jr=(u,d,b)=>{const{bum:$,scope:k,update:E,subTree:N,um:T}=u;$&&Bn($),k.stop(),E&&(E.active=!1,Xe(N,u,d,b)),T&&Ae(T,d),Ae(()=>{u.isUnmounted=!0},d),d&&d.pendingBranch&&!d.isUnmounted&&u.asyncDep&&!u.asyncResolved&&u.suspenseId===d.pendingId&&(d.deps--,d.deps===0&&d.resolve())},ot=(u,d,b,$=!1,k=!1,E=0)=>{for(let N=E;Nu.shapeFlag&6?Pn(u.component.subTree):u.shapeFlag&128?u.suspense.next():_(u.anchor||u.el),Eo=(u,d,b)=>{u==null?d._vnode&&Xe(d._vnode,null,null,!0):A(d._vnode||null,u,d,null,null,null,b),Ro(),jn(),d._vnode=u},It={p:A,um:Xe,m:bt,r:To,mt:j,mc:V,pc:_e,pbc:J,n:Pn,o:e};let ys,bs;return t&&([ys,bs]=t(It)),{render:Eo,hydrate:ys,createApp:Tc(Eo,ys)}}function xt({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function vo(e,t,n=!1){const s=e.children,o=t.children;if(Q(s)&&Q(o))for(let i=0;i>1,e[n[l]]0&&(t[s]=n[i-1]),n[i]=s)}}for(i=n.length,r=n[i-1];i-- >0;)n[i]=r,r=t[r];return n}const Mc=e=>e.__isTeleport,an=e=>e&&(e.disabled||e.disabled===""),Xo=e=>typeof SVGElement<"u"&&e instanceof SVGElement,Us=(e,t)=>{const n=e&&e.to;return be(n)?t?t(n):null:n},Ic={__isTeleport:!0,process(e,t,n,s,o,i,r,l,c,a){const{mc:f,pc:h,pbc:_,o:{insert:m,querySelector:S,createText:A,createComment:W}}=a,y=an(t.props);let{shapeFlag:w,children:C,dynamicChildren:O}=t;if(e==null){const z=t.el=A(""),G=t.anchor=A("");m(z,n,s),m(G,n,s);const X=t.target=Us(t.props,S),V=t.targetAnchor=A("");X&&(m(V,X),r=r||Xo(X));const Y=(J,se)=>{w&16&&f(C,J,se,o,i,r,l,c)};y?Y(n,G):X&&Y(X,V)}else{t.el=e.el;const z=t.anchor=e.anchor,G=t.target=e.target,X=t.targetAnchor=e.targetAnchor,V=an(e.props),Y=V?n:G,J=V?z:X;if(r=r||Xo(G),O?(_(e.dynamicChildren,O,Y,o,i,r,l),vo(e,t,!0)):c||h(e,t,Y,J,o,i,r,l,!1),y)V||In(t,n,z,a,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const se=t.target=Us(t.props,S);se&&In(t,se,null,a,0)}else V&&In(t,G,X,a,1)}$r(t)},remove(e,t,n,s,{um:o,o:{remove:i}},r){const{shapeFlag:l,children:c,anchor:a,targetAnchor:f,target:h,props:_}=e;if(h&&i(f),(r||!an(_))&&(i(a),l&16))for(let m=0;m0?Ke||Bt:null,Bc(),yn>0&&Ke&&Ke.push(e),e}function x(e,t,n,s,o,i){return Pr(v(e,t,n,s,o,i,!0))}function ee(e,t,n,s,o){return Pr(I(e,t,n,s,o,!0))}function Wn(e){return e?e.__v_isVNode===!0:!1}function Ct(e,t){return e.type===t.type&&e.key===t.key}const hs="__vInternal",Cr=({key:e})=>e??null,Hn=({ref:e,ref_key:t,ref_for:n})=>e!=null?be(e)||Se(e)||ne(e)?{i:$e,r:e,k:t,f:!!n}:e:null;function v(e,t=null,n=null,s=0,o=null,i=e===te?0:1,r=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Cr(t),ref:t&&Hn(t),scopeId:as,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:s,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:$e};return l?(yo(c,n),i&128&&e.normalize(c)):n&&(c.shapeFlag|=be(n)?8:16),yn>0&&!r&&Ke&&(c.patchFlag>0||i&6)&&c.patchFlag!==32&&Ke.push(c),c}const I=Hc;function Hc(e,t=null,n=null,s=0,o=null,i=!1){if((!e||e===pr)&&(e=He),Wn(e)){const l=mt(e,t,!0);return n&&yo(l,n),yn>0&&!i&&Ke&&(l.shapeFlag&6?Ke[Ke.indexOf(e)]=l:Ke.push(l)),l.patchFlag|=-2,l}if(Gc(e)&&(e=e.__vccOpts),t){t=Fc(t);let{class:l,style:c}=t;l&&!be(l)&&(t.class=pe(l)),ve(c)&&(Ji(c)&&!Q(c)&&(c=Pe({},c)),t.style=ts(c))}const r=be(e)?1:nc(e)?128:Mc(e)?64:ve(e)?4:ne(e)?2:0;return v(e,t,n,s,o,r,i,!0)}function Fc(e){return e?Ji(e)||hs in e?Pe({},e):e:null}function mt(e,t,n=!1){const{props:s,ref:o,patchFlag:i,children:r}=e,l=t?Fn(s||{},t):s;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&Cr(l),ref:t&&t.ref?n&&o?Q(o)?o.concat(Hn(t)):[o,Hn(t)]:Hn(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:r,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==te?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&mt(e.ssContent),ssFallback:e.ssFallback&&mt(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx}}function Le(e=" ",t=0){return I(Kt,null,e,t)}function Dc(e,t){const n=I(un,null,e);return n.staticCount=t,n}function K(e="",t=!1){return t?(p(),ee(He,null,e)):I(He,null,e)}function Ue(e){return e==null||typeof e=="boolean"?I(He):Q(e)?I(te,null,e.slice()):typeof e=="object"?dt(e):I(Kt,null,String(e))}function dt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:mt(e)}function yo(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(Q(t))n=16;else if(typeof t=="object")if(s&65){const o=t.default;o&&(o._c&&(o._d=!1),yo(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!(hs in t)?t._ctx=$e:o===3&&$e&&($e.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else ne(t)?(t={default:t,_ctx:$e},n=32):(t=String(t),s&64?(n=16,t=[Le(t)]):n=8);e.children=t,e.shapeFlag|=n}function Fn(...e){const t={};for(let n=0;nwe||$e,Wt=e=>{we=e,e.scope.on()},Lt=()=>{we&&we.scope.off(),we=null};function Sr(e){return e.vnode.shapeFlag&4}let bn=!1;function Uc(e,t=!1){bn=t;const{props:n,children:s}=e.vnode,o=Sr(e);wc(e,n,o,t),Pc(e,s);const i=o?qc(e,t):void 0;return bn=!1,i}function qc(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=ln(new Proxy(e.ctx,mc));const{setup:s}=n;if(s){const o=e.setupContext=s.length>1?Er(e):null;Wt(e),Qt();const i=pt(s,e,0,[e.props,o]);if(Jt(),Lt(),Hi(i)){if(i.then(Lt,Lt),t)return i.then(r=>{ei(e,r,t)}).catch(r=>{ls(r,e,0)});e.asyncDep=i}else ei(e,i,t)}else Tr(e,t)}function ei(e,t,n){ne(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ve(t)&&(e.setupState=tr(t)),Tr(e,n)}let ti;function Tr(e,t,n){const s=e.type;if(!e.render){if(!t&&ti&&!s.render){const o=s.template||mo(e).template;if(o){const{isCustomElement:i,compilerOptions:r}=e.appContext.config,{delimiters:l,compilerOptions:c}=s,a=Pe(Pe({isCustomElement:i,delimiters:l},r),c);s.render=ti(o,a)}}e.render=s.render||We}Wt(e),Qt(),gc(e),Jt(),Lt()}function Kc(e){return new Proxy(e.attrs,{get(t,n){return Fe(e,"get","$attrs"),t[n]}})}function Er(e){const t=s=>{e.exposed=s||{}};let n;return{get attrs(){return n||(n=Kc(e))},slots:e.slots,emit:e.emit,expose:t}}function ps(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(tr(ln(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in cn)return cn[n](e)},has(t,n){return n in t||n in cn}}))}function Wc(e,t=!0){return ne(e)?e.displayName||e.name:e.name||t&&e.__name}function Gc(e){return ne(e)&&"__vccOpts"in e}const ie=(e,t)=>ql(e,t,bn);function Yc(){return Qc().slots}function Qc(){const e=bo();return e.setupContext||(e.setupContext=Er(e))}function Gn(e,t,n){const s=arguments.length;return s===2?ve(t)&&!Q(t)?Wn(t)?I(e,null,[t]):I(e,t):I(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&Wn(n)&&(n=[n]),I(e,t,n))}const Jc=Symbol(""),Xc=()=>Be(Jc),Zc="3.2.45",ea="http://www.w3.org/2000/svg",St=typeof document<"u"?document:null,ni=St&&St.createElement("template"),ta={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const o=t?St.createElementNS(ea,e):St.createElement(e,n?{is:n}:void 0);return e==="select"&&s&&s.multiple!=null&&o.setAttribute("multiple",s.multiple),o},createText:e=>St.createTextNode(e),createComment:e=>St.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>St.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,o,i){const r=n?n.previousSibling:t.lastChild;if(o&&(o===i||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===i||!(o=o.nextSibling)););else{ni.innerHTML=s?`${e}`:e;const l=ni.content;if(s){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,n)}return[r?r.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function na(e,t,n){const s=e._vtc;s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}function sa(e,t,n){const s=e.style,o=be(n);if(n&&!o){for(const i in n)qs(s,i,n[i]);if(t&&!be(t))for(const i in t)n[i]==null&&qs(s,i,"")}else{const i=s.display;o?t!==n&&(s.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(s.display=i)}}const si=/\s*!important$/;function qs(e,t,n){if(Q(n))n.forEach(s=>qs(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=oa(e,t);si.test(n)?e.setProperty(Yt(s),n.replace(si,""),"important"):e[s]=n}}const oi=["Webkit","Moz","ms"],Ps={};function oa(e,t){const n=Ps[t];if(n)return n;let s=st(t);if(s!=="filter"&&s in e)return Ps[t]=s;s=os(s);for(let o=0;oCs||(ua.then(()=>Cs=0),Cs=Date.now());function da(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;ze(ha(s,n.value),t,5,[s])};return n.value=e,n.attached=fa(),n}function ha(e,t){if(Q(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>o=>!o._stopped&&s&&s(o))}else return t}const li=/^on[a-z]/,pa=(e,t,n,s,o=!1,i,r,l,c)=>{t==="class"?na(e,s,o):t==="style"?sa(e,n,s):wn(t)?Js(t)||ca(e,t,n,s,r):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):_a(e,t,s,o))?ra(e,t,s,i,r,l,c):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),ia(e,t,s,o))};function _a(e,t,n,s){return s?!!(t==="innerHTML"||t==="textContent"||t in e&&li.test(t)&&ne(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||li.test(t)&&be(n)?!1:t in e}const ut="transition",tn="animation",_s=(e,{slots:t})=>Gn(ar,ma(e),t);_s.displayName="Transition";const Vr={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};_s.props=Pe({},ar.props,Vr);const wt=(e,t=[])=>{Q(e)?e.forEach(n=>n(...t)):e&&e(...t)},ci=e=>e?Q(e)?e.some(t=>t.length>1):e.length>1:!1;function ma(e){const t={};for(const F in e)F in Vr||(t[F]=e[F]);if(e.css===!1)return t;const{name:n="v",type:s,duration:o,enterFromClass:i=`${n}-enter-from`,enterActiveClass:r=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:c=i,appearActiveClass:a=r,appearToClass:f=l,leaveFromClass:h=`${n}-leave-from`,leaveActiveClass:_=`${n}-leave-active`,leaveToClass:m=`${n}-leave-to`}=e,S=ga(o),A=S&&S[0],W=S&&S[1],{onBeforeEnter:y,onEnter:w,onEnterCancelled:C,onLeave:O,onLeaveCancelled:z,onBeforeAppear:G=y,onAppear:X=w,onAppearCancelled:V=C}=t,Y=(F,oe,j)=>{kt(F,oe?f:l),kt(F,oe?a:r),j&&j()},J=(F,oe)=>{F._isLeaving=!1,kt(F,h),kt(F,m),kt(F,_),oe&&oe()},se=F=>(oe,j)=>{const Ie=F?X:w,de=()=>Y(oe,F,j);wt(Ie,[oe,de]),ai(()=>{kt(oe,F?c:i),ft(oe,F?f:l),ci(Ie)||ui(oe,s,A,de)})};return Pe(t,{onBeforeEnter(F){wt(y,[F]),ft(F,i),ft(F,r)},onBeforeAppear(F){wt(G,[F]),ft(F,c),ft(F,a)},onEnter:se(!1),onAppear:se(!0),onLeave(F,oe){F._isLeaving=!0;const j=()=>J(F,oe);ft(F,h),ba(),ft(F,_),ai(()=>{F._isLeaving&&(kt(F,h),ft(F,m),ci(O)||ui(F,s,W,j))}),wt(O,[F,j])},onEnterCancelled(F){Y(F,!1),wt(C,[F])},onAppearCancelled(F){Y(F,!0),wt(V,[F])},onLeaveCancelled(F){J(F),wt(z,[F])}})}function ga(e){if(e==null)return null;if(ve(e))return[Ss(e.enter),Ss(e.leave)];{const t=Ss(e);return[t,t]}}function Ss(e){return _n(e)}function ft(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e._vtc||(e._vtc=new Set)).add(t)}function kt(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const{_vtc:n}=e;n&&(n.delete(t),n.size||(e._vtc=void 0))}function ai(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let va=0;function ui(e,t,n,s){const o=e._endId=++va,i=()=>{o===e._endId&&s()};if(n)return setTimeout(i,n);const{type:r,timeout:l,propCount:c}=ya(e,t);if(!r)return s();const a=r+"end";let f=0;const h=()=>{e.removeEventListener(a,_),i()},_=m=>{m.target===e&&++f>=c&&h()};setTimeout(()=>{f(n[S]||"").split(", "),o=s(`${ut}Delay`),i=s(`${ut}Duration`),r=fi(o,i),l=s(`${tn}Delay`),c=s(`${tn}Duration`),a=fi(l,c);let f=null,h=0,_=0;t===ut?r>0&&(f=ut,h=r,_=i.length):t===tn?a>0&&(f=tn,h=a,_=c.length):(h=Math.max(r,a),f=h>0?r>a?ut:tn:null,_=f?f===ut?i.length:c.length:0);const m=f===ut&&/\b(transform|all)(,|$)/.test(s(`${ut}Property`).toString());return{type:f,timeout:h,propCount:_,hasTransform:m}}function fi(e,t){for(;e.lengthdi(n)+di(e[s])))}function di(e){return Number(e.slice(0,-1).replace(",","."))*1e3}function ba(){return document.body.offsetHeight}const hi=e=>{const t=e.props["onUpdate:modelValue"]||!1;return Q(t)?n=>Bn(t,n):t};function xa(e){e.target.composing=!0}function pi(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const wa={created(e,{modifiers:{lazy:t,trim:n,number:s}},o){e._assign=hi(o);const i=s||o.props&&o.props.type==="number";Nt(e,t?"change":"input",r=>{if(r.target.composing)return;let l=e.value;n&&(l=l.trim()),i&&(l=_n(l)),e._assign(l)}),n&&Nt(e,"change",()=>{e.value=e.value.trim()}),t||(Nt(e,"compositionstart",xa),Nt(e,"compositionend",pi),Nt(e,"change",pi))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:s,number:o}},i){if(e._assign=hi(i),e.composing||document.activeElement===e&&e.type!=="range"&&(n||s&&e.value.trim()===t||(o||e.type==="number")&&_n(e.value)===t))return;const r=t??"";e.value!==r&&(e.value=r)}},ka=["ctrl","shift","alt","meta"],$a={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>ka.some(n=>e[`${n}Key`]&&!t.includes(n))},Lr=(e,t)=>(n,...s)=>{for(let o=0;o{nn(e,!1)}):nn(e,t))},beforeUnmount(e,{value:t}){nn(e,t)}};function nn(e,t){e.style.display=t?e._vod:"none"}const Ca=Pe({patchProp:pa},ta);let Ts,_i=!1;function Sa(){return Ts=_i?Ts:Vc(Ca),_i=!0,Ts}const Ta=(...e)=>{const t=Sa().createApp(...e),{mount:n}=t;return t.mount=s=>{const o=Ea(s);if(o)return n(o,!0,o instanceof SVGElement)},t};function Ea(e){return be(e)?document.querySelector(e):e}const H=(e,t)=>{const n=e.__vccOpts||e;for(const[s,o]of t)n[s]=o;return n},Va="modulepreload",La=function(e){return"/document/"+e},mi={},Ar=function(t,n,s){if(!n||n.length===0)return t();const o=document.getElementsByTagName("link");return Promise.all(n.map(i=>{if(i=La(i),i in mi)return;mi[i]=!0;const r=i.endsWith(".css"),l=r?'[rel="stylesheet"]':"";if(!!s)for(let f=o.length-1;f>=0;f--){const h=o[f];if(h.href===i&&(!r||h.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${i}"]${l}`))return;const a=document.createElement("link");if(a.rel=r?"stylesheet":Va,r||(a.as="script",a.crossOrigin=""),a.href=i,document.head.appendChild(a),r)return new Promise((f,h)=>{a.addEventListener("load",f),a.addEventListener("error",()=>h(new Error(`Unable to preload CSS for ${i}`)))})})).then(()=>t())};const Aa=R({__name:"VPBadge",props:{text:null,type:null},setup(e){return(t,n)=>(p(),x("span",{class:pe(["VPBadge",e.type??"tip"])},[L(t.$slots,"default",{},()=>[Le(ae(e.text),1)],!0)],2))}});const Ma=H(Aa,[["__scopeId","data-v-350d3852"]]),Ia=JSON.parse('{"lang":"en-US","title":"Artplayer.js","description":"ArtPlayer.js is a modern and full featured HTML5 video player","base":"/document/","head":[],"appearance":"dark","themeConfig":{"siteTitle":"Artplayer.js","logo":"/logo.png","nav":[{"text":"中文版","link":"/"},{"text":"English","link":"/en/","activeMatch":"/en/"},{"text":"Online Editor","link":"https://artplayer.org"},{"text":"4.6.x","items":[{"text":"Changelog","link":"https://github.com/zhw2590582/ArtPlayer/blob/master/CHANGELOG_CN.md"},{"text":"Donation","link":"https://github.com/zhw2590582/ArtPlayer#donations"},{"text":"Q群: 320881312","link":"https://github.com/zhw2590582/ArtPlayer#qq-group"}]}],"socialLinks":[{"icon":"github","link":"https://github.com/zhw2590582/ArtPlayer"}],"sidebar":{"/":[{"text":"开始","collapsible":true,"items":[{"text":"安装使用","link":"/"},{"text":"基础选项","link":"/start/option"},{"text":"组件配置","link":"/start/component"},{"text":"设置面板","link":"/start/setting"}]},{"text":"高级","collapsible":true,"items":[{"text":"实例属性","link":"/advanced/property"},{"text":"高级属性","link":"/advanced/built-in"},{"text":"静态属性","link":"/advanced/class"},{"text":"实例事件","link":"/advanced/event"},{"text":"编写插件","link":"/advanced/plugin"}]},{"text":"插件","collapsible":true,"items":[{"text":"弹幕库","link":"/plugin/danmuku"},{"text":"视频广告","link":"/plugin/ads"},{"text":"Iframe 控制","link":"/plugin/iframe"},{"text":"HLS 画质","link":"/plugin/hls-quality"},{"text":"控制器皮肤","link":"/plugin/control-ui"}]},{"text":"第三方库","collapsible":true,"items":[{"text":"hls.js","link":"/library/hls"},{"text":"flv.js","link":"/library/flv"},{"text":"dash.js","link":"/library/dash"}]}],"/en/":[{"text":"Quick start","collapsible":true,"items":[{"text":"Install","link":"/en/"},{"text":"Option","link":"/en/start/option"},{"text":"Component","link":"/en/start/component"},{"text":"Setting","link":"/en/start/setting"}]},{"text":"Advanced","collapsible":true,"items":[{"text":"Instance Property","link":"/en/advanced/property"},{"text":"Advanced Property","link":"/en/advanced/built-in"},{"text":"Static Property","link":"/en/advanced/class"},{"text":"Instance Event","link":"/en/advanced/event"},{"text":"Writing Plugin","link":"/en/advanced/plugin"}]},{"text":"Plugins","collapsible":true,"items":[{"text":"Video Ads","link":"/en/plugin/ads"},{"text":"Iframe Control","link":"/en/plugin/iframe"},{"text":"HLS Quality","link":"/en/plugin/hls-quality"},{"text":"Control UI","link":"/en/plugin/control-ui"}]},{"text":"Libraries","collapsible":true,"items":[{"text":"hls.js","link":"/en/library/hls"},{"text":"flv.js","link":"/en/library/flv"},{"text":"dash.js","link":"/en/library/dash"}]}]},"editLink":{"pattern":"https://github.com/zhw2590582/ArtPlayer/tree/master/packages/artplayer-vitepress/docs/:path","text":"Edit this page on GitHub"}},"locales":{},"langs":{},"scrollOffset":90,"cleanUrls":"disabled"}'),ms=/^[a-z]+:/i,Oa=/^pathname:\/\//,gi="vitepress-theme-appearance",Ee=typeof window<"u",Mr={relativePath:"",title:"404",description:"Not Found",headers:[],frontmatter:{sidebar:!1,layout:"page"},lastUpdated:0};function Na(e,t){t.sort((n,s)=>{const o=s.split("/").length-n.split("/").length;return o!==0?o:s.length-n.length});for(const n of t)if(e.startsWith(n))return n}function vi(e,t){const n=Na(t,Object.keys(e));return n?e[n]:void 0}function Ba(e){const{locales:t}=e.themeConfig||{},n=e.locales;return t&&n?Object.keys(t).reduce((s,o)=>(s[o]={label:t[o].label,lang:n[o].lang},s),{}):{}}function Ha(e,t){t=Da(e,t);const n=vi(e.locales||{},t),s=vi(e.themeConfig.locales||{},t);return Object.assign({},e,n,{themeConfig:Object.assign({},e.themeConfig,s,{locales:{}}),lang:(n||e).lang,locales:{},langs:Ba(e)})}function Ir(e,t){const n=t.title||e.title,s=t.titleTemplate??e.titleTemplate;if(typeof s=="string"&&s.includes(":title"))return s.replace(/:title/g,n);const o=Fa(e.title,s);return`${n}${o}`}function Fa(e,t){return t===!1?"":t===!0||t===void 0?` | ${e}`:e===t?"":` | ${t}`}function Da(e,t){if(!Ee)return t;const n=e.base,s=n.endsWith("/")?n.slice(0,-1):n;return t.slice(s.length)}function Ra(e,t){const[n,s]=t;if(n!=="meta")return!1;const o=Object.entries(s)[0];return o==null?!1:e.some(([i,r])=>i===n&&r[o[0]]===o[1])}function za(e,t){return[...e.filter(n=>!Ra(t,n)),...t]}const ja=/[\u0000-\u001F"#$&*+,:;<=>?[\]^`{|}\u007F]/g,Ua=/^[a-z]:/i;function yi(e){const t=Ua.exec(e),n=t?t[0]:"";return n+e.slice(n.length).replace(ja,"_").replace(/(^|\/)_+(?=[^/]*$)/,"$1")}function qa(e,t){return`${e}${t}`.replace(/\/+/g,"/")}function xn(e){return ms.test(e)?e:qa(Gt.value.base,e)}function Or(e){let t=e.replace(/\.html$/,"");if(t=decodeURIComponent(t),t=t.replace(/\/$/,"/index"),Ee){const n="/document/";t=yi(t.slice(n.length).replace(/\//g,"_")||"index")+".md";let s=__VP_HASH_MAP__[t.toLowerCase()];!s&&t.endsWith("_index.md")&&(t=t.slice(0,-9)+".md",s=__VP_HASH_MAP__[t.toLowerCase()]),t=`${n}assets/${t}.${s}.js`}else t=`./${yi(t.slice(1).replace(/\//g,"_"))}.md.js`;return t}const Nr=Symbol(),Gt=Rl(Ia);function Ka(e){const t=ie(()=>Ha(Gt.value,e.path));return{site:t,theme:ie(()=>t.value.themeConfig),page:ie(()=>e.data),frontmatter:ie(()=>e.data.frontmatter),lang:ie(()=>t.value.lang),localePath:ie(()=>{const{langs:n,lang:s}=t.value,o=Object.keys(n).find(i=>n[i].lang===s);return xn(o||"/")}),title:ie(()=>Ir(t.value,e.data)),description:ie(()=>e.data.description||t.value.description),isDark:le(!1)}}function ue(){const e=Be(Nr);if(!e)throw new Error("vitepress data not properly injected in app");return e}const Br=Symbol(),bi="http://a.com",Wa=()=>({path:"/",component:null,data:Mr});function Ga(e,t){const n=rs(Wa()),s={route:n,go:o};async function o(l=Ee?location.href:"/"){var a,f;await((a=s.onBeforeRouteChange)==null?void 0:a.call(s,l));const c=new URL(l,bi);Gt.value.cleanUrls==="disabled"&&!c.pathname.endsWith("/")&&!c.pathname.endsWith(".html")&&(c.pathname+=".html",l=c.pathname+c.search+c.hash),Ee&&(history.replaceState({scrollPosition:window.scrollY},document.title),history.pushState(null,"",l)),await r(l),await((f=s.onAfterRouteChanged)==null?void 0:f.call(s,l))}let i=null;async function r(l,c=0,a=!1){const f=new URL(l,bi),h=i=f.pathname;try{let _=await e(h);if(i===h){i=null;const{default:m,__pageData:S}=_;if(!m)throw new Error(`Invalid route component: ${m}`);n.path=Ee?h:xn(h),n.component=ln(m),n.data=ln(S),Ee&&uo(()=>{if(f.hash&&!c){let A=null;try{A=document.querySelector(decodeURIComponent(f.hash))}catch(W){console.warn(W)}if(A){xi(A,f.hash);return}}window.scrollTo(0,c)})}}catch(_){if(!/fetch/.test(_.message)&&!/^\/404(\.html|\/)?$/.test(l)&&console.error(_),!a)try{const m=await fetch(Gt.value.base+"hashmap.json");window.__VP_HASH_MAP__=await m.json(),await r(l,c,!0);return}catch{}i===h&&(i=null,n.path=Ee?h:xn(h),n.component=t?ln(t):null,n.data=Mr)}}return Ee&&(window.addEventListener("click",l=>{if(l.target.closest("button"))return;const a=l.target.closest("a");if(a&&!a.closest(".vp-raw")&&!a.download){const{href:f,origin:h,pathname:_,hash:m,search:S,target:A}=a,W=window.location,y=_.match(/\.\w+$/);!l.ctrlKey&&!l.shiftKey&&!l.altKey&&!l.metaKey&&A!=="_blank"&&h===W.origin&&!(y&&y[0]!==".html")&&(l.preventDefault(),_===W.pathname&&S===W.search?m&&m!==W.hash&&(history.pushState(null,"",m),window.dispatchEvent(new Event("hashchange")),xi(a,m,a.classList.contains("header-anchor"))):o(f))}},{capture:!0}),window.addEventListener("popstate",l=>{r(location.href,l.state&&l.state.scrollPosition||0)}),window.addEventListener("hashchange",l=>{l.preventDefault()})),s}function Ya(){const e=Be(Br);if(!e)throw new Error("useRouter() is called without provider.");return e}function vt(){return Ya().route}function xi(e,t,n=!1){let s=null;try{s=e.classList.contains("header-anchor")?e:document.querySelector(decodeURIComponent(t))}catch(o){console.warn(o)}if(s){let o=Gt.value.scrollOffset;typeof o=="string"&&(o=document.querySelector(o).getBoundingClientRect().bottom+24);const i=parseInt(window.getComputedStyle(s).paddingTop,10),r=window.scrollY+s.getBoundingClientRect().top-o+i;!n||Math.abs(r-window.scrollY)>window.innerHeight?window.scrollTo(0,r):window.scrollTo({left:0,top:r,behavior:"smooth"})}}const Qa=R({name:"VitePressContent",props:{onContentUpdated:Function},setup(e){const t=vt();return ho(()=>{var n;(n=e.onContentUpdated)==null||n.call(e)}),()=>Gn("div",{style:{position:"relative"}},[t.component?Gn(t.component):null])}});var wi;const kn=typeof window<"u";kn&&((wi=window==null?void 0:window.navigator)!=null&&wi.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function Ja(e){return e}function Xa(e){return hl()?(pl(e),!0):!1}function Za(e){return typeof e=="function"?ie(e):le(e)}function eu(e,t=!0){bo()?Qe(e):t?e():uo(e)}const tu=kn?window:void 0;kn&&window.document;kn&&window.navigator;kn&&window.location;function nu(e,t=!1){const n=le(),s=()=>n.value=Boolean(e());return s(),eu(s,t),n}function Ks(e,t={}){const{window:n=tu}=t,s=nu(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let o;const i=le(!1),r=()=>{o&&("removeEventListener"in o?o.removeEventListener("change",l):o.removeListener(l))},l=()=>{s.value&&(r(),o=n.matchMedia(Za(e).value),i.value=o.matches,"addEventListener"in o?o.addEventListener("change",l):o.addListener(l))};return At(l),Xa(()=>r()),i}const Ws=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Gs="__vueuse_ssr_handlers__";Ws[Gs]=Ws[Gs]||{};Ws[Gs];var ki;(function(e){e.UP="UP",e.RIGHT="RIGHT",e.DOWN="DOWN",e.LEFT="LEFT",e.NONE="NONE"})(ki||(ki={}));var su=Object.defineProperty,$i=Object.getOwnPropertySymbols,ou=Object.prototype.hasOwnProperty,iu=Object.prototype.propertyIsEnumerable,Pi=(e,t,n)=>t in e?su(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ru=(e,t)=>{for(var n in t||(t={}))ou.call(t,n)&&Pi(e,n,t[n]);if($i)for(var n of $i(t))iu.call(t,n)&&Pi(e,n,t[n]);return e};const lu={easeInSine:[.12,0,.39,0],easeOutSine:[.61,1,.88,1],easeInOutSine:[.37,0,.63,1],easeInQuad:[.11,0,.5,0],easeOutQuad:[.5,1,.89,1],easeInOutQuad:[.45,0,.55,1],easeInCubic:[.32,0,.67,0],easeOutCubic:[.33,1,.68,1],easeInOutCubic:[.65,0,.35,1],easeInQuart:[.5,0,.75,0],easeOutQuart:[.25,1,.5,1],easeInOutQuart:[.76,0,.24,1],easeInQuint:[.64,0,.78,0],easeOutQuint:[.22,1,.36,1],easeInOutQuint:[.83,0,.17,1],easeInExpo:[.7,0,.84,0],easeOutExpo:[.16,1,.3,1],easeInOutExpo:[.87,0,.13,1],easeInCirc:[.55,0,1,.45],easeOutCirc:[0,.55,.45,1],easeInOutCirc:[.85,0,.15,1],easeInBack:[.36,0,.66,-.56],easeOutBack:[.34,1.56,.64,1],easeInOutBack:[.68,-.6,.32,1.6]};ru({linear:Ja},lu);const Hr=/#.*$/,cu=/(index)?\.(md|html)$/,au=typeof window<"u",uu=le(au?location.hash:"");function fu(e){return ms.test(e)}function du(e,t){let n,s=!1;return()=>{n&&clearTimeout(n),s?n=setTimeout(e,t):(e(),s=!0,setTimeout(()=>{s=!1},t))}}function Zt(e,t,n=!1){if(t===void 0)return!1;if(e=Si(`/${e}`),n)return new RegExp(t).test(e);if(Si(t)!==e)return!1;const s=t.match(Hr);return s?uu.value===s[0]:!0}function Ci(e){return/^\//.test(e)?e:`/${e}`}function Si(e){return decodeURI(e).replace(Hr,"").replace(cu,"")}function Yn(e){if(fu(e))return e.replace(Oa,"");const{site:t}=ue(),{pathname:n,search:s,hash:o}=new URL(e,"http://example.com"),i=n.endsWith("/")||n.endsWith(".html")?e:`${n.replace(/(\.md)?$/,t.value.cleanUrls==="disabled"?".html":"")}${s}${o}`;return xn(i)}function Fr(e,t){if(Array.isArray(e))return e;if(e==null)return[];t=Ci(t);const n=Object.keys(e).sort((s,o)=>o.split("/").length-s.split("/").length).find(s=>t.startsWith(Ci(s)));return n?e[n]:[]}function hu(e){const t=[];function n(s){for(const o of s)o.link&&t.push({...o,link:o.link}),"items"in o&&n(o.items)}for(const s of e)n(s.items);return t}function Je(){const e=vt(),{theme:t,frontmatter:n}=ue(),s=Ks("(min-width: 960px)"),o=le(!1),i=ie(()=>{const _=t.value.sidebar,m=e.data.relativePath;return _?Fr(_,m):[]}),r=ie(()=>n.value.sidebar!==!1&&i.value.length>0&&n.value.layout!=="home"),l=ie(()=>n.value.layout!=="home"&&n.value.aside!==!1),c=ie(()=>r.value&&s.value);function a(){o.value=!0}function f(){o.value=!1}function h(){o.value?f():a()}return{isOpen:o,sidebar:i,hasSidebar:r,hasAside:l,isSidebarEnabled:c,open:a,close:f,toggle:h}}function pu(e,t){let n;At(()=>{n=e.value?document.activeElement:void 0}),Qe(()=>{window.addEventListener("keyup",s)}),Xt(()=>{window.removeEventListener("keyup",s)});function s(o){o.key==="Escape"&&e.value&&(t(),n==null||n.focus())}}const _u=R({__name:"VPSkipLink",setup(e){const t=vt(),n=le();nt(()=>t.path,()=>n.value.focus());function s({target:o}){const i=document.querySelector(o.hash);if(i){const r=()=>{i.removeAttribute("tabindex"),i.removeEventListener("blur",r)};i.setAttribute("tabindex","-1"),i.addEventListener("blur",r),i.focus(),window.scrollTo(0,0)}}return(o,i)=>(p(),x(te,null,[v("span",{ref_key:"backToTop",ref:n,tabindex:"-1"},null,512),v("a",{href:"#VPContent",class:"VPSkipLink visually-hidden",onClick:s}," Skip to content ")],64))}});const mu=H(_u,[["__scopeId","data-v-151f2593"]]),gu={key:0,class:"VPBackdrop"},vu=R({__name:"VPBackdrop",props:{show:{type:Boolean}},setup(e){return(t,n)=>(p(),ee(_s,{name:"fade"},{default:B(()=>[e.show?(p(),x("div",gu)):K("",!0)]),_:1}))}});const yu=H(vu,[["__scopeId","data-v-c7c65b34"]]);function bu(){const e=le(!1);function t(){e.value=!0,window.addEventListener("resize",o)}function n(){e.value=!1,window.removeEventListener("resize",o)}function s(){e.value?n():t()}function o(){window.outerWidth>=768&&n()}const i=vt();return nt(()=>i.path,n),{isScreenOpen:e,openScreen:t,closeScreen:n,toggleScreen:s}}const xu=["src","alt"],wu={inheritAttrs:!1},ku=R({...wu,__name:"VPImage",props:{image:null,alt:null},setup(e){return(t,n)=>{const s=gt("VPImage",!0);return e.image?(p(),x(te,{key:0},[typeof e.image=="string"||"src"in e.image?(p(),x("img",Fn({key:0,class:"VPImage"},typeof e.image=="string"?t.$attrs:{...e.image,...t.$attrs},{src:g(xn)(typeof e.image=="string"?e.image:e.image.src),alt:e.alt??(typeof e.image=="string"?"":e.image.alt||"")}),null,16,xu)):(p(),x(te,{key:1},[I(s,Fn({class:"dark",image:e.image.dark,alt:e.image.alt},t.$attrs),null,16,["image","alt"]),I(s,Fn({class:"light",image:e.image.light,alt:e.image.alt},t.$attrs),null,16,["image","alt"])],64))],64)):K("",!0)}}});const xo=H(ku,[["__scopeId","data-v-6db2186b"]]),$u=["href"],Pu=R({__name:"VPNavBarTitle",setup(e){const{site:t,theme:n}=ue(),{hasSidebar:s}=Je();return(o,i)=>(p(),x("div",{class:pe(["VPNavBarTitle",{"has-sidebar":g(s)}])},[v("a",{class:"title",href:g(t).base},[L(o.$slots,"nav-bar-title-before",{},void 0,!0),I(xo,{class:"logo",image:g(n).logo},null,8,["image"]),g(n).siteTitle?(p(),x(te,{key:0},[Le(ae(g(n).siteTitle),1)],64)):g(n).siteTitle===void 0?(p(),x(te,{key:1},[Le(ae(g(t).title),1)],64)):K("",!0),L(o.$slots,"nav-bar-title-after",{},void 0,!0)],8,$u)],2))}});const Cu=H(Pu,[["__scopeId","data-v-d5925166"]]),Su="/document/assets/flex-logo.2489261b.svg";function Es(e,t){return typeof e>"u"?t:e}function Ti(e){const t=Array(e);for(let n=0;n=this.minlength&&(l||!r[f])){let _=On(c,o,a),m="";switch(this.tokenize){case"full":if(3S;A--)if(A-S>=this.minlength){const W=On(c,o,a,h,S);m=f.substring(S,A),this.push_index(r,m,W,e,n)}break}case"reverse":if(2=this.minlength){const A=On(c,o,a,h,S);this.push_index(r,m,A,e,n)}m=""}case"forward":if(1=this.minlength&&this.push_index(r,m,_,e,n);break}default:if(this.boost&&(_=Math.min(0|_/this.boost(t,f,a),c-1)),this.push_index(r,f,_,e,n),l&&1=this.minlength&&!S[f]){S[f]=1;const C=On(A+(o/2>A?0:1),o,a,y-1,w-1),O=this.bidirectional&&f>W;this.push_index(i,O?W:f,C,e,n,O?f:W)}}}}}this.fastupdate||(this.register[e]=1)}}return this};function On(e,t,n,s,o){return n&&1=this.minlength&&!h[m]){if(!this.optimize&&!i&&!this.map[m])return r;_[A++]=m,h[m]=1}e=_,s=e.length}if(!s)return r;t||(t=100);let c,a=this.depth&&1=n)))));m++);if(a)return o?Li(l,n,0):void(e[e.length]=l)}return!t&&l};function Li(e,t,n){return e=e.length===1?e[0]:Eu(e),n||e.length>t?e.slice(n,n+t):e}function Ai(e,t,n,s){if(n){const o=s&&t>n;e=e[o?t:n],e=e&&e[o?n:t]}else e=e[t];return e}Ve.prototype.contain=function(e){return!!this.register[e]},Ve.prototype.update=function(e,t){return this.remove(e).add(e,t)},Ve.prototype.remove=function(e,t){const n=this.register[e];if(n){if(this.fastupdate)for(let s,o=0;o{if(o.value){for(var y=f.value.search(o.value,{enrich:!0}),w=[],C=0;C!y||!y.length?[]:y.reduce((C,O)=>(C[w(O)]||(C[w(O)]=[]),C[w(O)].push(O),C),{}),A=()=>{setTimeout(()=>{r.value&&r.value.focus()},100),W(),s.value=!0};Qe(async()=>{var O,z;const y=await Ar(()=>import("./chunks/virtual_search-data.fe0caec7.js"),[]);l.value=y.default.INDEX_DATA,c.value=y.default.PREVIEW_LOOKUP,a.value=y.default.Options,i.value=window.location.origin+t.value,h.value=((O=a.value)==null?void 0:O.buttonLabel)||h.value,_.value=((z=a.value)==null?void 0:z.placeholder)||_.value;var w=new Ve(a.value);w.import("reg",l.value.reg),w.import("cfg",l.value.cfg),w.import("map",l.value.map),w.import("ctx",l.value.ctx),f.value=w,n.value.innerHTML=/(Mac|iPhone|iPod|iPad)/i.test(navigator.platform)?"⌘":"Ctrl";const C=G=>{G.key==="k"&&(G.ctrlKey||G.metaKey)&&(G.preventDefault(),A())};window.addEventListener("keydown",C)});function W(){s.value=!1,o.value=""}return(y,w)=>{const C=gt("ClientOnly");return p(),x("div",Yu,[I(C,null,{default:B(()=>[(p(),ee(Nc,{to:"body"},[Uo(v("div",{class:"modal-back",onClick:w[2]||(w[2]=O=>s.value=!1)},[v("div",{class:"modal",onClick:w[1]||(w[1]=Lr(()=>{},["stop"]))},[v("form",Qu,[Ju,Uo(v("input",{class:"DocSearch-Input","aria-autocomplete":"both","aria-labelledby":"docsearch-label",id:"docsearch-input",autocomplete:"off",autocorrect:"off",autocapitalize:"off",enterkeyhint:"search",spellcheck:"false",autofocus:"true","onUpdate:modelValue":w[0]||(w[0]=O=>o.value=O),placeholder:_.value,maxlength:"64",type:"search",ref_key:"input",ref:r},null,8,Xu),[[wa,o.value]])]),v("div",Zu,[(p(!0),x(te,null,ke(S(g(m),O=>O.link.split("/").slice(0,-1).join("-")),(O,z)=>(p(),x("div",{key:z},[v("span",ef,ae(z?z.toString()[0].toUpperCase()+z.toString().slice(1):"Home"),1),(p(!0),x(te,null,ke(O,G=>(p(),x("a",{href:i.value+G.link,key:G.id,onClick:W},[v("div",nf,[v("span",sf,ae(G.link.includes("#")?"#":"▤"),1),v("div",of,[v("h3",null,ae(G.title),1),v("p",null,[v("div",{innerHTML:G.preview},null,8,rf)])]),lf])],8,tf))),128))]))),128))]),cf])],512),[[Pa,s.value]])]))]),_:1}),v("div",{id:"docsearch",onClick:w[3]||(w[3]=O=>A())},[v("button",af,[v("span",uf,[ff,v("span",df,ae(h.value),1)]),v("span",hf,[v("span",{class:"DocSearch-Button-Key",ref_key:"metaKey",ref:n},"Meta",512),pf])])])])}}});const mf={},gf={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",height:"24px",viewBox:"0 0 24 24",width:"24px"},vf=v("path",{d:"M0 0h24v24H0V0z",fill:"none"},null,-1),yf=v("path",{d:"M9 5v2h6.59L4 18.59 5.41 20 17 8.41V15h2V5H9z"},null,-1),bf=[vf,yf];function xf(e,t){return p(),x("svg",gf,bf)}const wf=H(mf,[["render",xf]]),kf=R({__name:"VPLink",props:{href:null,noIcon:{type:Boolean}},setup(e){const t=e,n=ie(()=>t.href&&ms.test(t.href));return(s,o)=>(p(),ee(_o(e.href?"a":"span"),{class:pe(["VPLink",{link:e.href}]),href:e.href?g(Yn)(e.href):void 0,target:g(n)?"_blank":void 0,rel:g(n)?"noreferrer":void 0},{default:B(()=>[L(s.$slots,"default",{},void 0,!0),g(n)&&!e.noIcon?(p(),ee(wf,{key:0,class:"icon"})):K("",!0)]),_:3},8,["class","href","target","rel"]))}});const Mt=H(kf,[["__scopeId","data-v-3c355974"]]),$f=R({__name:"VPNavBarMenuLink",props:{item:null},setup(e){const{page:t}=ue();return(n,s)=>(p(),ee(Mt,{class:pe({VPNavBarMenuLink:!0,active:g(Zt)(g(t).relativePath,e.item.activeMatch||e.item.link,!!e.item.activeMatch)}),href:e.item.link,noIcon:!0},{default:B(()=>[Le(ae(e.item.text),1)]),_:1},8,["class","href"]))}});const Pf=H($f,[["__scopeId","data-v-47a2263e"]]),wo=le();let Dr=!1,Ls=0;function Cf(e){const t=le(!1);if(typeof window<"u"){!Dr&&Sf(),Ls++;const n=nt(wo,s=>{var o,i,r;s===e.el.value||(o=e.el.value)!=null&&o.contains(s)?(t.value=!0,(i=e.onFocus)==null||i.call(e)):(t.value=!1,(r=e.onBlur)==null||r.call(e))});Xt(()=>{n(),Ls--,Ls||Tf()})}return ro(t)}function Sf(){document.addEventListener("focusin",Rr),Dr=!0,wo.value=document.activeElement}function Tf(){document.removeEventListener("focusin",Rr)}function Rr(){wo.value=document.activeElement}const Ef={},Vf={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},Lf=v("path",{d:"M12,16c-0.3,0-0.5-0.1-0.7-0.3l-6-6c-0.4-0.4-0.4-1,0-1.4s1-0.4,1.4,0l5.3,5.3l5.3-5.3c0.4-0.4,1-0.4,1.4,0s0.4,1,0,1.4l-6,6C12.5,15.9,12.3,16,12,16z"},null,-1),Af=[Lf];function Mf(e,t){return p(),x("svg",Vf,Af)}const zr=H(Ef,[["render",Mf]]),If={},Of={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},Nf=v("circle",{cx:"12",cy:"12",r:"2"},null,-1),Bf=v("circle",{cx:"19",cy:"12",r:"2"},null,-1),Hf=v("circle",{cx:"5",cy:"12",r:"2"},null,-1),Ff=[Nf,Bf,Hf];function Df(e,t){return p(),x("svg",Of,Ff)}const Rf=H(If,[["render",Df]]),zf={class:"VPMenuLink"},jf=R({__name:"VPMenuLink",props:{item:null},setup(e){const{page:t}=ue();return(n,s)=>(p(),x("div",zf,[I(Mt,{class:pe({active:g(Zt)(g(t).relativePath,e.item.activeMatch||e.item.link)}),href:e.item.link},{default:B(()=>[Le(ae(e.item.text),1)]),_:1},8,["class","href"])]))}});const gs=H(jf,[["__scopeId","data-v-e8e0fb1d"]]),Uf={class:"VPMenuGroup"},qf={key:0,class:"title"},Kf=R({__name:"VPMenuGroup",props:{text:null,items:null},setup(e){return(t,n)=>(p(),x("div",Uf,[e.text?(p(),x("p",qf,ae(e.text),1)):K("",!0),(p(!0),x(te,null,ke(e.items,s=>(p(),x(te,null,["link"in s?(p(),ee(gs,{key:0,item:s},null,8,["item"])):K("",!0)],64))),256))]))}});const Wf=H(Kf,[["__scopeId","data-v-9ca52130"]]),Gf={class:"VPMenu"},Yf={key:0,class:"items"},Qf=R({__name:"VPMenu",props:{items:null},setup(e){return(t,n)=>(p(),x("div",Gf,[e.items?(p(),x("div",Yf,[(p(!0),x(te,null,ke(e.items,s=>(p(),x(te,{key:s.text},["link"in s?(p(),ee(gs,{key:0,item:s},null,8,["item"])):(p(),ee(Wf,{key:1,text:s.text,items:s.items},null,8,["text","items"]))],64))),128))])):K("",!0),L(t.$slots,"default",{},void 0,!0)]))}});const Jf=H(Qf,[["__scopeId","data-v-1c5d0cfc"]]),Xf=["aria-expanded","aria-label"],Zf={key:0,class:"text"},ed={class:"menu"},td=R({__name:"VPFlyout",props:{icon:null,button:null,label:null,items:null},setup(e){const t=le(!1),n=le();Cf({el:n,onBlur:s});function s(){t.value=!1}return(o,i)=>(p(),x("div",{class:"VPFlyout",ref_key:"el",ref:n,onMouseenter:i[1]||(i[1]=r=>t.value=!0),onMouseleave:i[2]||(i[2]=r=>t.value=!1)},[v("button",{type:"button",class:"button","aria-haspopup":"true","aria-expanded":t.value,"aria-label":e.label,onClick:i[0]||(i[0]=r=>t.value=!t.value)},[e.button||e.icon?(p(),x("span",Zf,[e.icon?(p(),ee(_o(e.icon),{key:0,class:"option-icon"})):K("",!0),Le(" "+ae(e.button)+" ",1),I(zr,{class:"text-icon"})])):(p(),ee(Rf,{key:1,class:"icon"}))],8,Xf),v("div",ed,[I(Jf,{items:e.items},{default:B(()=>[L(o.$slots,"default",{},void 0,!0)]),_:3},8,["items"])])],544))}});const ko=H(td,[["__scopeId","data-v-6ffb57d3"]]),nd=R({__name:"VPNavBarMenuGroup",props:{item:null},setup(e){const{page:t}=ue();return(n,s)=>(p(),ee(ko,{class:pe({VPNavBarMenuGroup:!0,active:g(Zt)(g(t).relativePath,e.item.activeMatch,!!e.item.activeMatch)}),button:e.item.text,items:e.item.items},null,8,["class","button","items"]))}}),sd=e=>(Ge("data-v-f83db6ba"),e=e(),Ye(),e),od={key:0,"aria-labelledby":"main-nav-aria-label",class:"VPNavBarMenu"},id=sd(()=>v("span",{id:"main-nav-aria-label",class:"visually-hidden"},"Main Navigation",-1)),rd=R({__name:"VPNavBarMenu",setup(e){const{theme:t}=ue();return(n,s)=>g(t).nav?(p(),x("nav",od,[id,(p(!0),x(te,null,ke(g(t).nav,o=>(p(),x(te,{key:o.text},["link"in o?(p(),ee(Pf,{key:0,item:o},null,8,["item"])):(p(),ee(nd,{key:1,item:o},null,8,["item"]))],64))),128))])):K("",!0)}});const ld=H(rd,[["__scopeId","data-v-f83db6ba"]]),cd={},ad={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},ud=v("path",{d:"M0 0h24v24H0z",fill:"none"},null,-1),fd=v("path",{d:" M12.87 15.07l-2.54-2.51.03-.03c1.74-1.94 2.98-4.17 3.71-6.53H17V4h-7V2H8v2H1v1.99h11.17C11.5 7.92 10.44 9.75 9 11.35 8.07 10.32 7.3 9.19 6.69 8h-2c.73 1.63 1.73 3.17 2.98 4.56l-5.09 5.02L4 19l5-5 3.11 3.11.76-2.04zM18.5 10h-2L12 22h2l1.12-3h4.75L21 22h2l-4.5-12zm-2.62 7l1.62-4.33L19.12 17h-3.24z ",class:"css-c4d79v"},null,-1),dd=[ud,fd];function hd(e,t){return p(),x("svg",ad,dd)}const jr=H(cd,[["render",hd]]),pd={class:"items"},_d={class:"title"},md=R({__name:"VPNavBarTranslations",setup(e){const{theme:t}=ue();return(n,s)=>g(t).localeLinks?(p(),ee(ko,{key:0,class:"VPNavBarTranslations",icon:jr},{default:B(()=>[v("div",pd,[v("p",_d,ae(g(t).localeLinks.text),1),(p(!0),x(te,null,ke(g(t).localeLinks.items,o=>(p(),ee(gs,{key:o.link,item:o},null,8,["item"]))),128))])]),_:1})):K("",!0)}});const gd=H(md,[["__scopeId","data-v-db824e91"]]);const vd={},yd={class:"VPSwitch",type:"button",role:"switch"},bd={class:"check"},xd={key:0,class:"icon"};function wd(e,t){return p(),x("button",yd,[v("span",bd,[e.$slots.default?(p(),x("span",xd,[L(e.$slots,"default",{},void 0,!0)])):K("",!0)])])}const kd=H(vd,[["render",wd],["__scopeId","data-v-eba7420e"]]),$d={},Pd={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},Cd=Dc('',9),Sd=[Cd];function Td(e,t){return p(),x("svg",Pd,Sd)}const Ed=H($d,[["render",Td]]),Vd={},Ld={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},Ad=v("path",{d:"M12.1,22c-0.3,0-0.6,0-0.9,0c-5.5-0.5-9.5-5.4-9-10.9c0.4-4.8,4.2-8.6,9-9c0.4,0,0.8,0.2,1,0.5c0.2,0.3,0.2,0.8-0.1,1.1c-2,2.7-1.4,6.4,1.3,8.4c2.1,1.6,5,1.6,7.1,0c0.3-0.2,0.7-0.3,1.1-0.1c0.3,0.2,0.5,0.6,0.5,1c-0.2,2.7-1.5,5.1-3.6,6.8C16.6,21.2,14.4,22,12.1,22zM9.3,4.4c-2.9,1-5,3.6-5.2,6.8c-0.4,4.4,2.8,8.3,7.2,8.7c2.1,0.2,4.2-0.4,5.8-1.8c1.1-0.9,1.9-2.1,2.4-3.4c-2.5,0.9-5.3,0.5-7.5-1.1C9.2,11.4,8.1,7.7,9.3,4.4z"},null,-1),Md=[Ad];function Id(e,t){return p(),x("svg",Ld,Md)}const Od=H(Vd,[["render",Id]]),Nd=R({__name:"VPSwitchAppearance",setup(e){const{site:t,isDark:n}=ue(),s=le(!1),o=typeof localStorage<"u"?i():()=>{};Qe(()=>{s.value=document.documentElement.classList.contains("dark")});function i(){const r=window.matchMedia("(prefers-color-scheme: dark)"),l=document.documentElement.classList;let c=localStorage.getItem(gi),a=t.value.appearance==="dark"&&c==null||(c==="auto"||c==null?r.matches:c==="dark");r.onchange=_=>{c==="auto"&&h(a=_.matches)};function f(){h(a=!a),c=a?r.matches?"auto":"dark":r.matches?"light":"auto",localStorage.setItem(gi,c)}function h(_){const m=document.createElement("style");m.type="text/css",m.appendChild(document.createTextNode(`:not(.VPSwitchAppearance):not(.VPSwitchAppearance *) {
   -webkit-transition: none !important;
   -moz-transition: none !important;
   -o-transition: none !important;
diff --git a/docs/document/assets/en_index.md.943b3f33.js b/docs/document/assets/en_index.md.452db7ee.js
similarity index 86%
rename from docs/document/assets/en_index.md.943b3f33.js
rename to docs/document/assets/en_index.md.452db7ee.js
index d30c51976..6f21e99ac 100644
--- a/docs/document/assets/en_index.md.943b3f33.js
+++ b/docs/document/assets/en_index.md.452db7ee.js
@@ -1 +1 @@
-import{_ as t,c as a,o as n,b as e,d as s}from"./app.6a0c1274.js";const x=JSON.parse('{"title":"WIP...","description":"","frontmatter":{},"headers":[],"relativePath":"en/index.md","lastUpdated":1673441101000}'),r={name:"en/index.md"},d=e("h1",{id:"wip",tabindex:"-1"},[s("WIP... "),e("a",{class:"header-anchor",href:"#wip","aria-hidden":"true"},"#")],-1),o=[d];function c(i,_,p,h,l,f){return n(),a("div",null,o)}const u=t(r,[["render",c]]);export{x as __pageData,u as default};
+import{_ as t,c as a,o as n,b as e,d as s}from"./app.fcc4273a.js";const x=JSON.parse('{"title":"WIP...","description":"","frontmatter":{},"headers":[],"relativePath":"en/index.md","lastUpdated":1673441101000}'),r={name:"en/index.md"},d=e("h1",{id:"wip",tabindex:"-1"},[s("WIP... "),e("a",{class:"header-anchor",href:"#wip","aria-hidden":"true"},"#")],-1),o=[d];function c(i,_,p,h,l,f){return n(),a("div",null,o)}const u=t(r,[["render",c]]);export{x as __pageData,u as default};
diff --git a/docs/document/assets/en_index.md.943b3f33.lean.js b/docs/document/assets/en_index.md.452db7ee.lean.js
similarity index 86%
rename from docs/document/assets/en_index.md.943b3f33.lean.js
rename to docs/document/assets/en_index.md.452db7ee.lean.js
index d30c51976..6f21e99ac 100644
--- a/docs/document/assets/en_index.md.943b3f33.lean.js
+++ b/docs/document/assets/en_index.md.452db7ee.lean.js
@@ -1 +1 @@
-import{_ as t,c as a,o as n,b as e,d as s}from"./app.6a0c1274.js";const x=JSON.parse('{"title":"WIP...","description":"","frontmatter":{},"headers":[],"relativePath":"en/index.md","lastUpdated":1673441101000}'),r={name:"en/index.md"},d=e("h1",{id:"wip",tabindex:"-1"},[s("WIP... "),e("a",{class:"header-anchor",href:"#wip","aria-hidden":"true"},"#")],-1),o=[d];function c(i,_,p,h,l,f){return n(),a("div",null,o)}const u=t(r,[["render",c]]);export{x as __pageData,u as default};
+import{_ as t,c as a,o as n,b as e,d as s}from"./app.fcc4273a.js";const x=JSON.parse('{"title":"WIP...","description":"","frontmatter":{},"headers":[],"relativePath":"en/index.md","lastUpdated":1673441101000}'),r={name:"en/index.md"},d=e("h1",{id:"wip",tabindex:"-1"},[s("WIP... "),e("a",{class:"header-anchor",href:"#wip","aria-hidden":"true"},"#")],-1),o=[d];function c(i,_,p,h,l,f){return n(),a("div",null,o)}const u=t(r,[["render",c]]);export{x as __pageData,u as default};
diff --git a/docs/document/assets/index.md.71948947.js b/docs/document/assets/index.md.c7d9ca26.js
similarity index 97%
rename from docs/document/assets/index.md.71948947.js
rename to docs/document/assets/index.md.c7d9ca26.js
index 63ff514df..0394a0a71 100644
--- a/docs/document/assets/index.md.71948947.js
+++ b/docs/document/assets/index.md.c7d9ca26.js
@@ -1,10 +1,10 @@
-import{_ as s,c as n,o as a,a as l}from"./app.6a0c1274.js";const C=JSON.parse('{"title":"安装使用","description":"","frontmatter":{},"headers":[{"level":2,"title":"安装","slug":"安装","link":"#安装","children":[]},{"level":2,"title":"CDN","slug":"cdn","link":"#cdn","children":[]},{"level":2,"title":"使用","slug":"使用","link":"#使用","children":[]},{"level":2,"title":"Vue.js","slug":"vue-js","link":"#vue-js","children":[]},{"level":2,"title":"React.js","slug":"react-js","link":"#react-js","children":[]},{"level":2,"title":"语法提示","slug":"语法提示","link":"#语法提示","children":[]}],"relativePath":"index.md","lastUpdated":1673441101000}'),p={name:"index.md"},e=l(`

安装使用

安装

bash
npm install artplayer
+import{_ as s,c as n,o as a,a as l}from"./app.fcc4273a.js";const C=JSON.parse('{"title":"安装使用","description":"","frontmatter":{},"headers":[{"level":2,"title":"安装","slug":"安装","link":"#安装","children":[]},{"level":2,"title":"CDN","slug":"cdn","link":"#cdn","children":[]},{"level":2,"title":"使用","slug":"使用","link":"#使用","children":[]},{"level":2,"title":"Vue.js","slug":"vue-js","link":"#vue-js","children":[]},{"level":2,"title":"React.js","slug":"react-js","link":"#react-js","children":[]},{"level":2,"title":"语法提示","slug":"语法提示","link":"#语法提示","children":[]}],"relativePath":"index.md","lastUpdated":1673441101000}'),p={name:"index.md"},e=l(`

安装使用

安装

bash
npm install artplayer
 
bash
yarn add artplayer
 
bash
pnpm add artplayer
 
html
<script src="path/to/artplayer.js"></script>
-

CDN

bash
https://cdn.jsdelivr.net/npm/artplayer/dist/artplayer.js
+

CDN

bash
https://cdn.jsdelivr.net/npm/artplayer/dist/artplayer.js
 
bash
https://unpkg.com/artplayer/dist/artplayer.js
-

使用

js
import Artplayer from 'artplayer';
+

使用

js
import Artplayer from 'artplayer';
 
 const art = new Artplayer({
     container: '.artplayer-app',
@@ -25,7 +25,7 @@ import{_ as s,c as n,o as a,a as l}from"./app.6a0c1274.js";const C=JSON.parse('{
         <div class="artplayer-app"></div>
     </body>
 </html>
-

提示

播放器的尺寸依赖于容器 container 的尺寸,所以你的容器 container 必须是有尺寸的

以下链接可以看到更多的使用例子

/packages/artplayer-template

Vue.js

vue
<template>
+

提示

播放器的尺寸依赖于容器 container 的尺寸,所以你的容器 container 必须是有尺寸的

以下链接可以看到更多的使用例子

/packages/artplayer-template

Vue.js

vue
<template>
   <div ref="artRef"></div>
 </template>
 
@@ -91,7 +91,7 @@ import{_ as s,c as n,o as a,a as l}from"./app.6a0c1274.js";const C=JSON.parse('{
   },
 };
 </script>
-

Artplayer 非响应式:

在 Vue.js 里直接修改 option 是不会改变播放器的

React.js

jsx
import { useEffect, useRef } from 'react';
+

Artplayer 非响应式:

在 Vue.js 里直接修改 option 是不会改变播放器的

React.js

jsx
import { useEffect, useRef } from 'react';
 import Artplayer from 'artplayer';
 
 export default function Player({ option, getInstance, ...rest }) {
diff --git a/docs/document/assets/index.md.71948947.lean.js b/docs/document/assets/index.md.c7d9ca26.lean.js
similarity index 92%
rename from docs/document/assets/index.md.71948947.lean.js
rename to docs/document/assets/index.md.c7d9ca26.lean.js
index d70c44a3b..fb2e4d6b4 100644
--- a/docs/document/assets/index.md.71948947.lean.js
+++ b/docs/document/assets/index.md.c7d9ca26.lean.js
@@ -1 +1 @@
-import{_ as s,c as n,o as a,a as l}from"./app.6a0c1274.js";const C=JSON.parse('{"title":"安装使用","description":"","frontmatter":{},"headers":[{"level":2,"title":"安装","slug":"安装","link":"#安装","children":[]},{"level":2,"title":"CDN","slug":"cdn","link":"#cdn","children":[]},{"level":2,"title":"使用","slug":"使用","link":"#使用","children":[]},{"level":2,"title":"Vue.js","slug":"vue-js","link":"#vue-js","children":[]},{"level":2,"title":"React.js","slug":"react-js","link":"#react-js","children":[]},{"level":2,"title":"语法提示","slug":"语法提示","link":"#语法提示","children":[]}],"relativePath":"index.md","lastUpdated":1673441101000}'),p={name:"index.md"},e=l("",23),o=[e];function t(r,c,y,F,D,i){return a(),n("div",null,o)}const u=s(p,[["render",t]]);export{C as __pageData,u as default};
+import{_ as s,c as n,o as a,a as l}from"./app.fcc4273a.js";const C=JSON.parse('{"title":"安装使用","description":"","frontmatter":{},"headers":[{"level":2,"title":"安装","slug":"安装","link":"#安装","children":[]},{"level":2,"title":"CDN","slug":"cdn","link":"#cdn","children":[]},{"level":2,"title":"使用","slug":"使用","link":"#使用","children":[]},{"level":2,"title":"Vue.js","slug":"vue-js","link":"#vue-js","children":[]},{"level":2,"title":"React.js","slug":"react-js","link":"#react-js","children":[]},{"level":2,"title":"语法提示","slug":"语法提示","link":"#语法提示","children":[]}],"relativePath":"index.md","lastUpdated":1673441101000}'),p={name:"index.md"},e=l("",23),o=[e];function t(r,c,y,F,D,i){return a(),n("div",null,o)}const u=s(p,[["render",t]]);export{C as __pageData,u as default};
diff --git a/docs/document/assets/library_dash.md.0efbf551.js b/docs/document/assets/library_dash.md.08fe87ea.js
similarity index 98%
rename from docs/document/assets/library_dash.md.0efbf551.js
rename to docs/document/assets/library_dash.md.08fe87ea.js
index 2095eecaf..8b7df1bdc 100644
--- a/docs/document/assets/library_dash.md.0efbf551.js
+++ b/docs/document/assets/library_dash.md.08fe87ea.js
@@ -1,4 +1,4 @@
-import{_ as n,c as l,o as p,b as s,d as a,a as o}from"./app.6a0c1274.js";const m=JSON.parse('{"title":"dash.js","description":"","frontmatter":{},"headers":[],"relativePath":"library/dash.md","lastUpdated":1673441101000}'),e={name:"library/dash.md"},r=s("h1",{id:"dash-js",tabindex:"-1"},[a("dash.js "),s("a",{class:"header-anchor",href:"#dash-js","aria-hidden":"true"},"#")],-1),t=s("p",null,[a("👉 "),s("a",{href:"https://github.com/Dash-Industry-Forum/dash.js",target:"_blank",rel:"noreferrer"},"https://github.com/Dash-Industry-Forum/dash.js")],-1),c=s("div",{className:"run-code","data-libs":"https://cdnjs.cloudflare.com/ajax/libs/dashjs/4.5.2/dash.all.min.js"}," ▶ Run Code ",-1),F=o(`
js
function playMpd(video, url, art) {
+import{_ as n,c as l,o as p,b as s,d as a,a as o}from"./app.fcc4273a.js";const m=JSON.parse('{"title":"dash.js","description":"","frontmatter":{},"headers":[],"relativePath":"library/dash.md","lastUpdated":1673441101000}'),e={name:"library/dash.md"},r=s("h1",{id:"dash-js",tabindex:"-1"},[a("dash.js "),s("a",{class:"header-anchor",href:"#dash-js","aria-hidden":"true"},"#")],-1),t=s("p",null,[a("👉 "),s("a",{href:"https://github.com/Dash-Industry-Forum/dash.js",target:"_blank",rel:"noreferrer"},"https://github.com/Dash-Industry-Forum/dash.js")],-1),c=s("div",{className:"run-code","data-libs":"https://cdnjs.cloudflare.com/ajax/libs/dashjs/4.5.2/dash.all.min.js"}," ▶ Run Code ",-1),F=o(`
js
function playMpd(video, url, art) {
     if (dashjs.supportsMediaSource()) {
         const dash = dashjs.MediaPlayer().create();
         dash.initialize(video, url, art.option.autoplay);
diff --git a/docs/document/assets/library_dash.md.0efbf551.lean.js b/docs/document/assets/library_dash.md.08fe87ea.lean.js
similarity index 84%
rename from docs/document/assets/library_dash.md.0efbf551.lean.js
rename to docs/document/assets/library_dash.md.08fe87ea.lean.js
index 667e8fc50..1b94f55a4 100644
--- a/docs/document/assets/library_dash.md.0efbf551.lean.js
+++ b/docs/document/assets/library_dash.md.08fe87ea.lean.js
@@ -1 +1 @@
-import{_ as n,c as l,o as p,b as s,d as a,a as o}from"./app.6a0c1274.js";const m=JSON.parse('{"title":"dash.js","description":"","frontmatter":{},"headers":[],"relativePath":"library/dash.md","lastUpdated":1673441101000}'),e={name:"library/dash.md"},r=s("h1",{id:"dash-js",tabindex:"-1"},[a("dash.js "),s("a",{class:"header-anchor",href:"#dash-js","aria-hidden":"true"},"#")],-1),t=s("p",null,[a("👉 "),s("a",{href:"https://github.com/Dash-Industry-Forum/dash.js",target:"_blank",rel:"noreferrer"},"https://github.com/Dash-Industry-Forum/dash.js")],-1),c=s("div",{className:"run-code","data-libs":"https://cdnjs.cloudflare.com/ajax/libs/dashjs/4.5.2/dash.all.min.js"}," ▶ Run Code ",-1),F=o("",1),y=[r,t,c,F];function D(i,A,C,d,h,b){return p(),l("div",null,y)}const _=n(e,[["render",D]]);export{m as __pageData,_ as default};
+import{_ as n,c as l,o as p,b as s,d as a,a as o}from"./app.fcc4273a.js";const m=JSON.parse('{"title":"dash.js","description":"","frontmatter":{},"headers":[],"relativePath":"library/dash.md","lastUpdated":1673441101000}'),e={name:"library/dash.md"},r=s("h1",{id:"dash-js",tabindex:"-1"},[a("dash.js "),s("a",{class:"header-anchor",href:"#dash-js","aria-hidden":"true"},"#")],-1),t=s("p",null,[a("👉 "),s("a",{href:"https://github.com/Dash-Industry-Forum/dash.js",target:"_blank",rel:"noreferrer"},"https://github.com/Dash-Industry-Forum/dash.js")],-1),c=s("div",{className:"run-code","data-libs":"https://cdnjs.cloudflare.com/ajax/libs/dashjs/4.5.2/dash.all.min.js"}," ▶ Run Code ",-1),F=o("",1),y=[r,t,c,F];function D(i,A,C,d,h,b){return p(),l("div",null,y)}const _=n(e,[["render",D]]);export{m as __pageData,_ as default};
diff --git a/docs/document/assets/library_flv.md.60789a7a.js b/docs/document/assets/library_flv.md.fa1ac1fb.js
similarity index 98%
rename from docs/document/assets/library_flv.md.60789a7a.js
rename to docs/document/assets/library_flv.md.fa1ac1fb.js
index 38fe035aa..04a853f38 100644
--- a/docs/document/assets/library_flv.md.60789a7a.js
+++ b/docs/document/assets/library_flv.md.fa1ac1fb.js
@@ -1,4 +1,4 @@
-import{_ as a,c as l,o as p,b as s,d as n,a as o}from"./app.6a0c1274.js";const f=JSON.parse('{"title":"flv.js","description":"","frontmatter":{},"headers":[],"relativePath":"library/flv.md","lastUpdated":1673441101000}'),e={name:"library/flv.md"},r=s("h1",{id:"flv-js",tabindex:"-1"},[n("flv.js "),s("a",{class:"header-anchor",href:"#flv-js","aria-hidden":"true"},"#")],-1),t=s("p",null,[n("👉 "),s("a",{href:"https://github.com/Bilibili/flv.js",target:"_blank",rel:"noreferrer"},"https://github.com/Bilibili/flv.js")],-1),c=s("div",{className:"run-code","data-libs":"https://cdnjs.cloudflare.com/ajax/libs/flv.js/1.6.2/flv.min.js"}," ▶ Run Code ",-1),F=o(`
js
function playFlv(video, url, art) {
+import{_ as a,c as l,o as p,b as s,d as n,a as o}from"./app.fcc4273a.js";const f=JSON.parse('{"title":"flv.js","description":"","frontmatter":{},"headers":[],"relativePath":"library/flv.md","lastUpdated":1673441101000}'),e={name:"library/flv.md"},r=s("h1",{id:"flv-js",tabindex:"-1"},[n("flv.js "),s("a",{class:"header-anchor",href:"#flv-js","aria-hidden":"true"},"#")],-1),t=s("p",null,[n("👉 "),s("a",{href:"https://github.com/Bilibili/flv.js",target:"_blank",rel:"noreferrer"},"https://github.com/Bilibili/flv.js")],-1),c=s("div",{className:"run-code","data-libs":"https://cdnjs.cloudflare.com/ajax/libs/flv.js/1.6.2/flv.min.js"}," ▶ Run Code ",-1),F=o(`
js
function playFlv(video, url, art) {
     if (flvjs.isSupported()) {
         const flv = flvjs.createPlayer({ type: 'flv', url });
         flv.attachMediaElement(video);
diff --git a/docs/document/assets/library_flv.md.60789a7a.lean.js b/docs/document/assets/library_flv.md.fa1ac1fb.lean.js
similarity index 83%
rename from docs/document/assets/library_flv.md.60789a7a.lean.js
rename to docs/document/assets/library_flv.md.fa1ac1fb.lean.js
index 9a2109b15..2894b76c5 100644
--- a/docs/document/assets/library_flv.md.60789a7a.lean.js
+++ b/docs/document/assets/library_flv.md.fa1ac1fb.lean.js
@@ -1 +1 @@
-import{_ as a,c as l,o as p,b as s,d as n,a as o}from"./app.6a0c1274.js";const f=JSON.parse('{"title":"flv.js","description":"","frontmatter":{},"headers":[],"relativePath":"library/flv.md","lastUpdated":1673441101000}'),e={name:"library/flv.md"},r=s("h1",{id:"flv-js",tabindex:"-1"},[n("flv.js "),s("a",{class:"header-anchor",href:"#flv-js","aria-hidden":"true"},"#")],-1),t=s("p",null,[n("👉 "),s("a",{href:"https://github.com/Bilibili/flv.js",target:"_blank",rel:"noreferrer"},"https://github.com/Bilibili/flv.js")],-1),c=s("div",{className:"run-code","data-libs":"https://cdnjs.cloudflare.com/ajax/libs/flv.js/1.6.2/flv.min.js"}," ▶ Run Code ",-1),F=o("",1),y=[r,t,c,F];function D(i,A,C,b,d,u){return p(),l("div",null,y)}const h=a(e,[["render",D]]);export{f as __pageData,h as default};
+import{_ as a,c as l,o as p,b as s,d as n,a as o}from"./app.fcc4273a.js";const f=JSON.parse('{"title":"flv.js","description":"","frontmatter":{},"headers":[],"relativePath":"library/flv.md","lastUpdated":1673441101000}'),e={name:"library/flv.md"},r=s("h1",{id:"flv-js",tabindex:"-1"},[n("flv.js "),s("a",{class:"header-anchor",href:"#flv-js","aria-hidden":"true"},"#")],-1),t=s("p",null,[n("👉 "),s("a",{href:"https://github.com/Bilibili/flv.js",target:"_blank",rel:"noreferrer"},"https://github.com/Bilibili/flv.js")],-1),c=s("div",{className:"run-code","data-libs":"https://cdnjs.cloudflare.com/ajax/libs/flv.js/1.6.2/flv.min.js"}," ▶ Run Code ",-1),F=o("",1),y=[r,t,c,F];function D(i,A,C,b,d,u){return p(),l("div",null,y)}const h=a(e,[["render",D]]);export{f as __pageData,h as default};
diff --git a/docs/document/assets/library_hls.md.ab796b88.js b/docs/document/assets/library_hls.md.334fc6be.js
similarity index 98%
rename from docs/document/assets/library_hls.md.ab796b88.js
rename to docs/document/assets/library_hls.md.334fc6be.js
index 820f31a85..203773969 100644
--- a/docs/document/assets/library_hls.md.ab796b88.js
+++ b/docs/document/assets/library_hls.md.334fc6be.js
@@ -1,4 +1,4 @@
-import{_ as a,c as l,o as p,b as s,d as n,a as o}from"./app.6a0c1274.js";const m=JSON.parse('{"title":"hls.js","description":"","frontmatter":{},"headers":[],"relativePath":"library/hls.md","lastUpdated":1673441101000}'),e={name:"library/hls.md"},r=s("h1",{id:"hls-js",tabindex:"-1"},[n("hls.js "),s("a",{class:"header-anchor",href:"#hls-js","aria-hidden":"true"},"#")],-1),t=s("p",null,[n("👉 "),s("a",{href:"https://github.com/video-dev/hls.js",target:"_blank",rel:"noreferrer"},"https://github.com/video-dev/hls.js")],-1),c=s("div",{className:"run-code","data-libs":"https://cdnjs.cloudflare.com/ajax/libs/hls.js/8.0.0-beta.3/hls.min.js"}," ▶ Run Code ",-1),F=o(`
js
function playM3u8(video, url, art) {
+import{_ as a,c as l,o as p,b as s,d as n,a as o}from"./app.fcc4273a.js";const m=JSON.parse('{"title":"hls.js","description":"","frontmatter":{},"headers":[],"relativePath":"library/hls.md","lastUpdated":1673441101000}'),e={name:"library/hls.md"},r=s("h1",{id:"hls-js",tabindex:"-1"},[n("hls.js "),s("a",{class:"header-anchor",href:"#hls-js","aria-hidden":"true"},"#")],-1),t=s("p",null,[n("👉 "),s("a",{href:"https://github.com/video-dev/hls.js",target:"_blank",rel:"noreferrer"},"https://github.com/video-dev/hls.js")],-1),c=s("div",{className:"run-code","data-libs":"https://cdnjs.cloudflare.com/ajax/libs/hls.js/8.0.0-beta.3/hls.min.js"}," ▶ Run Code ",-1),F=o(`
js
function playM3u8(video, url, art) {
     if (Hls.isSupported()) {
         const hls = new Hls();
         hls.loadSource(url);
diff --git a/docs/document/assets/library_hls.md.ab796b88.lean.js b/docs/document/assets/library_hls.md.334fc6be.lean.js
similarity index 84%
rename from docs/document/assets/library_hls.md.ab796b88.lean.js
rename to docs/document/assets/library_hls.md.334fc6be.lean.js
index 001b85d05..15f3f55dd 100644
--- a/docs/document/assets/library_hls.md.ab796b88.lean.js
+++ b/docs/document/assets/library_hls.md.334fc6be.lean.js
@@ -1 +1 @@
-import{_ as a,c as l,o as p,b as s,d as n,a as o}from"./app.6a0c1274.js";const m=JSON.parse('{"title":"hls.js","description":"","frontmatter":{},"headers":[],"relativePath":"library/hls.md","lastUpdated":1673441101000}'),e={name:"library/hls.md"},r=s("h1",{id:"hls-js",tabindex:"-1"},[n("hls.js "),s("a",{class:"header-anchor",href:"#hls-js","aria-hidden":"true"},"#")],-1),t=s("p",null,[n("👉 "),s("a",{href:"https://github.com/video-dev/hls.js",target:"_blank",rel:"noreferrer"},"https://github.com/video-dev/hls.js")],-1),c=s("div",{className:"run-code","data-libs":"https://cdnjs.cloudflare.com/ajax/libs/hls.js/8.0.0-beta.3/hls.min.js"}," ▶ Run Code ",-1),F=o("",1),y=[r,t,c,F];function D(i,A,C,b,d,h){return p(),l("div",null,y)}const _=a(e,[["render",D]]);export{m as __pageData,_ as default};
+import{_ as a,c as l,o as p,b as s,d as n,a as o}from"./app.fcc4273a.js";const m=JSON.parse('{"title":"hls.js","description":"","frontmatter":{},"headers":[],"relativePath":"library/hls.md","lastUpdated":1673441101000}'),e={name:"library/hls.md"},r=s("h1",{id:"hls-js",tabindex:"-1"},[n("hls.js "),s("a",{class:"header-anchor",href:"#hls-js","aria-hidden":"true"},"#")],-1),t=s("p",null,[n("👉 "),s("a",{href:"https://github.com/video-dev/hls.js",target:"_blank",rel:"noreferrer"},"https://github.com/video-dev/hls.js")],-1),c=s("div",{className:"run-code","data-libs":"https://cdnjs.cloudflare.com/ajax/libs/hls.js/8.0.0-beta.3/hls.min.js"}," ▶ Run Code ",-1),F=o("",1),y=[r,t,c,F];function D(i,A,C,b,d,h){return p(),l("div",null,y)}const _=a(e,[["render",D]]);export{m as __pageData,_ as default};
diff --git a/docs/document/assets/plugin_ads.md.5c83dc19.js b/docs/document/assets/plugin_ads.md.49584a49.js
similarity index 96%
rename from docs/document/assets/plugin_ads.md.5c83dc19.js
rename to docs/document/assets/plugin_ads.md.49584a49.js
index 5bd2f64f8..7125e694d 100644
--- a/docs/document/assets/plugin_ads.md.5c83dc19.js
+++ b/docs/document/assets/plugin_ads.md.49584a49.js
@@ -1,8 +1,8 @@
-import{_ as a,c as n,o as l,a as s,b as p}from"./app.6a0c1274.js";const u=JSON.parse('{"title":"视频广告","description":"","frontmatter":{},"headers":[{"level":2,"title":"演示","slug":"演示","link":"#演示","children":[]},{"level":2,"title":"安装","slug":"安装","link":"#安装","children":[]},{"level":2,"title":"CDN","slug":"cdn","link":"#cdn","children":[]},{"level":2,"title":"使用","slug":"使用","link":"#使用","children":[]}],"relativePath":"plugin/ads.md","lastUpdated":1673441101000}'),e={name:"plugin/ads.md"},o=s(`

视频广告

演示

👉 查看完整演示

安装

bash
npm install artplayer-plugin-ads
+import{_ as a,c as n,o as l,a as s,b as p}from"./app.fcc4273a.js";const u=JSON.parse('{"title":"视频广告","description":"","frontmatter":{},"headers":[{"level":2,"title":"演示","slug":"演示","link":"#演示","children":[]},{"level":2,"title":"安装","slug":"安装","link":"#安装","children":[]},{"level":2,"title":"CDN","slug":"cdn","link":"#cdn","children":[]},{"level":2,"title":"使用","slug":"使用","link":"#使用","children":[]}],"relativePath":"plugin/ads.md","lastUpdated":1673441101000}'),e={name:"plugin/ads.md"},o=s(`

视频广告

演示

👉 查看完整演示

安装

bash
npm install artplayer-plugin-ads
 
bash
yarn add artplayer-plugin-ads
 
bash
pnpm add artplayer-plugin-ads
 
html
<script src="path/to/artplayer-plugin-ads.js"></script>
-

CDN

bash
https://cdn.jsdelivr.net/npm/artplayer-plugin-ads/dist/artplayer-plugin-ads.js
+

CDN

bash
https://cdn.jsdelivr.net/npm/artplayer-plugin-ads/dist/artplayer-plugin-ads.js
 
bash
https://unpkg.com/artplayer-plugin-ads/dist/artplayer-plugin-ads.js
 

使用

`,8),r=p("div",{className:"run-code","data-libs":"./uncompiled/artplayer-plugin-ads/index.js"}," ▶ Run Code ",-1),c=s(`
js
var art = new Artplayer({
     container: '.artplayer-app',
diff --git a/docs/document/assets/plugin_ads.md.5c83dc19.lean.js b/docs/document/assets/plugin_ads.md.49584a49.lean.js
similarity index 91%
rename from docs/document/assets/plugin_ads.md.5c83dc19.lean.js
rename to docs/document/assets/plugin_ads.md.49584a49.lean.js
index a53b45398..c8b4a8a04 100644
--- a/docs/document/assets/plugin_ads.md.5c83dc19.lean.js
+++ b/docs/document/assets/plugin_ads.md.49584a49.lean.js
@@ -1 +1 @@
-import{_ as a,c as n,o as l,a as s,b as p}from"./app.6a0c1274.js";const u=JSON.parse('{"title":"视频广告","description":"","frontmatter":{},"headers":[{"level":2,"title":"演示","slug":"演示","link":"#演示","children":[]},{"level":2,"title":"安装","slug":"安装","link":"#安装","children":[]},{"level":2,"title":"CDN","slug":"cdn","link":"#cdn","children":[]},{"level":2,"title":"使用","slug":"使用","link":"#使用","children":[]}],"relativePath":"plugin/ads.md","lastUpdated":1673441101000}'),e={name:"plugin/ads.md"},o=s("",8),r=p("div",{className:"run-code","data-libs":"./uncompiled/artplayer-plugin-ads/index.js"}," ▶ Run Code ",-1),c=s("",1),t=[o,r,c];function i(y,D,F,C,d,b){return l(),n("div",null,t)}const m=a(e,[["render",i]]);export{u as __pageData,m as default};
+import{_ as a,c as n,o as l,a as s,b as p}from"./app.fcc4273a.js";const u=JSON.parse('{"title":"视频广告","description":"","frontmatter":{},"headers":[{"level":2,"title":"演示","slug":"演示","link":"#演示","children":[]},{"level":2,"title":"安装","slug":"安装","link":"#安装","children":[]},{"level":2,"title":"CDN","slug":"cdn","link":"#cdn","children":[]},{"level":2,"title":"使用","slug":"使用","link":"#使用","children":[]}],"relativePath":"plugin/ads.md","lastUpdated":1673441101000}'),e={name:"plugin/ads.md"},o=s("",8),r=p("div",{className:"run-code","data-libs":"./uncompiled/artplayer-plugin-ads/index.js"}," ▶ Run Code ",-1),c=s("",1),t=[o,r,c];function i(y,D,F,C,d,b){return l(),n("div",null,t)}const m=a(e,[["render",i]]);export{u as __pageData,m as default};
diff --git a/docs/document/assets/plugin_control-ui.md.e77b781e.js b/docs/document/assets/plugin_control-ui.md.e0e1ab21.js
similarity index 95%
rename from docs/document/assets/plugin_control-ui.md.e77b781e.js
rename to docs/document/assets/plugin_control-ui.md.e0e1ab21.js
index d073a295d..9d54a95a7 100644
--- a/docs/document/assets/plugin_control-ui.md.e77b781e.js
+++ b/docs/document/assets/plugin_control-ui.md.e0e1ab21.js
@@ -1,8 +1,8 @@
-import{_ as n,c as l,o as p,a as s,b as a}from"./app.6a0c1274.js";const m=JSON.parse('{"title":"控制器皮肤","description":"","frontmatter":{},"headers":[{"level":2,"title":"演示","slug":"演示","link":"#演示","children":[]},{"level":2,"title":"安装","slug":"安装","link":"#安装","children":[]},{"level":2,"title":"CDN","slug":"cdn","link":"#cdn","children":[]},{"level":2,"title":"使用","slug":"使用","link":"#使用","children":[]},{"level":2,"title":"enable","slug":"enable","link":"#enable","children":[]}],"relativePath":"plugin/control-ui.md","lastUpdated":1673441101000}'),e={name:"plugin/control-ui.md"},o=s(`

控制器皮肤

演示

👉 查看完整演示

安装

bash
npm install artplayer-plugin-control
+import{_ as n,c as l,o as p,a as s,b as a}from"./app.fcc4273a.js";const m=JSON.parse('{"title":"控制器皮肤","description":"","frontmatter":{},"headers":[{"level":2,"title":"演示","slug":"演示","link":"#演示","children":[]},{"level":2,"title":"安装","slug":"安装","link":"#安装","children":[]},{"level":2,"title":"CDN","slug":"cdn","link":"#cdn","children":[]},{"level":2,"title":"使用","slug":"使用","link":"#使用","children":[]},{"level":2,"title":"enable","slug":"enable","link":"#enable","children":[]}],"relativePath":"plugin/control-ui.md","lastUpdated":1673441101000}'),e={name:"plugin/control-ui.md"},o=s(`

控制器皮肤

演示

👉 查看完整演示

安装

bash
npm install artplayer-plugin-control
 
bash
yarn add artplayer-plugin-control
 
bash
pnpm add artplayer-plugin-control
 
html
<script src="path/to/artplayer-plugin-control.js"></script>
-

CDN

bash
https://cdn.jsdelivr.net/npm/artplayer-plugin-control/dist/artplayer-plugin-control.js
+

CDN

bash
https://cdn.jsdelivr.net/npm/artplayer-plugin-control/dist/artplayer-plugin-control.js
 
bash
https://unpkg.com/artplayer-plugin-control/dist/artplayer-plugin-control.js
 

使用

`,8),r=a("div",{className:"run-code","data-libs":"./uncompiled/artplayer-plugin-control/index.js"}," ▶ Run Code ",-1),t=s(`
js
var art = new Artplayer({
     container: '.artplayer-app',
diff --git a/docs/document/assets/plugin_control-ui.md.e77b781e.lean.js b/docs/document/assets/plugin_control-ui.md.e0e1ab21.lean.js
similarity index 93%
rename from docs/document/assets/plugin_control-ui.md.e77b781e.lean.js
rename to docs/document/assets/plugin_control-ui.md.e0e1ab21.lean.js
index eb842960e..e9424804a 100644
--- a/docs/document/assets/plugin_control-ui.md.e77b781e.lean.js
+++ b/docs/document/assets/plugin_control-ui.md.e0e1ab21.lean.js
@@ -1 +1 @@
-import{_ as n,c as l,o as p,a as s,b as a}from"./app.6a0c1274.js";const m=JSON.parse('{"title":"控制器皮肤","description":"","frontmatter":{},"headers":[{"level":2,"title":"演示","slug":"演示","link":"#演示","children":[]},{"level":2,"title":"安装","slug":"安装","link":"#安装","children":[]},{"level":2,"title":"CDN","slug":"cdn","link":"#cdn","children":[]},{"level":2,"title":"使用","slug":"使用","link":"#使用","children":[]},{"level":2,"title":"enable","slug":"enable","link":"#enable","children":[]}],"relativePath":"plugin/control-ui.md","lastUpdated":1673441101000}'),e={name:"plugin/control-ui.md"},o=s("",8),r=a("div",{className:"run-code","data-libs":"./uncompiled/artplayer-plugin-control/index.js"}," ▶ Run Code ",-1),t=s("",4),c=a("div",{className:"run-code","data-libs":"./uncompiled/artplayer-plugin-control/index.js"}," ▶ Run Code ",-1),i=s("",1),y=[o,r,t,c,i];function D(d,F,C,b,u,A){return p(),l("div",null,y)}const g=n(e,[["render",D]]);export{m as __pageData,g as default};
+import{_ as n,c as l,o as p,a as s,b as a}from"./app.fcc4273a.js";const m=JSON.parse('{"title":"控制器皮肤","description":"","frontmatter":{},"headers":[{"level":2,"title":"演示","slug":"演示","link":"#演示","children":[]},{"level":2,"title":"安装","slug":"安装","link":"#安装","children":[]},{"level":2,"title":"CDN","slug":"cdn","link":"#cdn","children":[]},{"level":2,"title":"使用","slug":"使用","link":"#使用","children":[]},{"level":2,"title":"enable","slug":"enable","link":"#enable","children":[]}],"relativePath":"plugin/control-ui.md","lastUpdated":1673441101000}'),e={name:"plugin/control-ui.md"},o=s("",8),r=a("div",{className:"run-code","data-libs":"./uncompiled/artplayer-plugin-control/index.js"}," ▶ Run Code ",-1),t=s("",4),c=a("div",{className:"run-code","data-libs":"./uncompiled/artplayer-plugin-control/index.js"}," ▶ Run Code ",-1),i=s("",1),y=[o,r,t,c,i];function D(d,F,C,b,u,A){return p(),l("div",null,y)}const g=n(e,[["render",D]]);export{m as __pageData,g as default};
diff --git a/docs/document/assets/plugin_danmuku.md.3b4c32ba.js b/docs/document/assets/plugin_danmuku.md.475ba7a9.js
similarity index 99%
rename from docs/document/assets/plugin_danmuku.md.3b4c32ba.js
rename to docs/document/assets/plugin_danmuku.md.475ba7a9.js
index 2bd281b05..7a10173e6 100644
--- a/docs/document/assets/plugin_danmuku.md.3b4c32ba.js
+++ b/docs/document/assets/plugin_danmuku.md.475ba7a9.js
@@ -1,8 +1,8 @@
-import{_ as a,c as l,o as p,a as s,b as n}from"./app.6a0c1274.js";const V=JSON.parse('{"title":"弹幕库","description":"","frontmatter":{},"headers":[{"level":2,"title":"演示","slug":"演示","link":"#演示","children":[]},{"level":2,"title":"安装","slug":"安装","link":"#安装","children":[]},{"level":2,"title":"CDN","slug":"cdn","link":"#cdn","children":[]},{"level":2,"title":"选项","slug":"选项","link":"#选项","children":[]},{"level":2,"title":"使用弹幕数组","slug":"使用弹幕数组","link":"#使用弹幕数组","children":[]},{"level":2,"title":"使用弹幕 XML","slug":"使用弹幕-xml","link":"#使用弹幕-xml","children":[]},{"level":2,"title":"使用异步调用","slug":"使用异步调用","link":"#使用异步调用","children":[]},{"level":2,"title":"hide/show","slug":"hide-show","link":"#hide-show","children":[]},{"level":2,"title":"isHide","slug":"ishide","link":"#ishide","children":[]},{"level":2,"title":"emit","slug":"emit","link":"#emit","children":[]},{"level":2,"title":"config","slug":"config","link":"#config","children":[]},{"level":2,"title":"load","slug":"load","link":"#load","children":[]},{"level":2,"title":"reset","slug":"reset","link":"#reset","children":[]},{"level":2,"title":"option","slug":"option","link":"#option","children":[]},{"level":2,"title":"事件","slug":"事件","link":"#事件","children":[]}],"relativePath":"plugin/danmuku.md","lastUpdated":1673441101000}'),o={name:"plugin/danmuku.md"},e=s(`

弹幕库

演示

👉 查看完整演示

安装

bash
npm install artplayer-plugin-danmuku
+import{_ as a,c as l,o as p,a as s,b as n}from"./app.fcc4273a.js";const R=JSON.parse('{"title":"弹幕库","description":"","frontmatter":{},"headers":[{"level":2,"title":"演示","slug":"演示","link":"#演示","children":[]},{"level":2,"title":"安装","slug":"安装","link":"#安装","children":[]},{"level":2,"title":"CDN","slug":"cdn","link":"#cdn","children":[]},{"level":2,"title":"选项","slug":"选项","link":"#选项","children":[]},{"level":2,"title":"使用弹幕数组","slug":"使用弹幕数组","link":"#使用弹幕数组","children":[]},{"level":2,"title":"使用弹幕 XML","slug":"使用弹幕-xml","link":"#使用弹幕-xml","children":[]},{"level":2,"title":"使用异步调用","slug":"使用异步调用","link":"#使用异步调用","children":[]},{"level":2,"title":"hide/show","slug":"hide-show","link":"#hide-show","children":[]},{"level":2,"title":"isHide","slug":"ishide","link":"#ishide","children":[]},{"level":2,"title":"emit","slug":"emit","link":"#emit","children":[]},{"level":2,"title":"config","slug":"config","link":"#config","children":[]},{"level":2,"title":"load","slug":"load","link":"#load","children":[]},{"level":2,"title":"reset","slug":"reset","link":"#reset","children":[]},{"level":2,"title":"option","slug":"option","link":"#option","children":[]},{"level":2,"title":"事件","slug":"事件","link":"#事件","children":[]}],"relativePath":"plugin/danmuku.md","lastUpdated":1673441101000}'),o={name:"plugin/danmuku.md"},e=s(`

弹幕库

演示

👉 查看完整演示

安装

bash
npm install artplayer-plugin-danmuku
 
bash
yarn add artplayer-plugin-danmuku
 
bash
pnpm add artplayer-plugin-danmuku
 
html
<script src="path/to/artplayer-plugin-danmuku.js"></script>
-

CDN

bash
https://cdn.jsdelivr.net/npm/artplayer-plugin-danmuku/dist/artplayer-plugin-danmuku.js
+

CDN

bash
https://cdn.jsdelivr.net/npm/artplayer-plugin-danmuku/dist/artplayer-plugin-danmuku.js
 
bash
https://unpkg.com/artplayer-plugin-danmuku/dist/artplayer-plugin-danmuku.js
 

选项

js
{
     danmuku: [], // 弹幕库,支持数组, xml 地址, Promise返回数组
@@ -298,4 +298,4 @@ import{_ as a,c as l,o as p,a as s,b as n}from"./app.6a0c1274.js";const V=JSON.p
 art.on('artplayerPluginDanmuku:destroy', () => {
     console.info('弹幕销毁');
 });
-
`,3),T=[e,r,c,t,D,F,y,i,C,A,u,b,m,d,h,g,_,E,v,k,f];function x(P,B,w,S,j,I){return p(),l("div",null,T)}const R=a(o,[["render",x]]);export{V as __pageData,R as default}; +
`,3),T=[e,r,c,t,D,F,y,i,C,A,u,b,m,d,h,g,_,E,v,k,f];function x(P,B,S,w,j,V){return p(),l("div",null,T)}const I=a(o,[["render",x]]);export{R as __pageData,I as default}; diff --git a/docs/document/assets/plugin_danmuku.md.3b4c32ba.lean.js b/docs/document/assets/plugin_danmuku.md.475ba7a9.lean.js similarity index 90% rename from docs/document/assets/plugin_danmuku.md.3b4c32ba.lean.js rename to docs/document/assets/plugin_danmuku.md.475ba7a9.lean.js index e39d77ede..dfe5c672f 100644 --- a/docs/document/assets/plugin_danmuku.md.3b4c32ba.lean.js +++ b/docs/document/assets/plugin_danmuku.md.475ba7a9.lean.js @@ -1 +1 @@ -import{_ as a,c as l,o as p,a as s,b as n}from"./app.6a0c1274.js";const V=JSON.parse('{"title":"弹幕库","description":"","frontmatter":{},"headers":[{"level":2,"title":"演示","slug":"演示","link":"#演示","children":[]},{"level":2,"title":"安装","slug":"安装","link":"#安装","children":[]},{"level":2,"title":"CDN","slug":"cdn","link":"#cdn","children":[]},{"level":2,"title":"选项","slug":"选项","link":"#选项","children":[]},{"level":2,"title":"使用弹幕数组","slug":"使用弹幕数组","link":"#使用弹幕数组","children":[]},{"level":2,"title":"使用弹幕 XML","slug":"使用弹幕-xml","link":"#使用弹幕-xml","children":[]},{"level":2,"title":"使用异步调用","slug":"使用异步调用","link":"#使用异步调用","children":[]},{"level":2,"title":"hide/show","slug":"hide-show","link":"#hide-show","children":[]},{"level":2,"title":"isHide","slug":"ishide","link":"#ishide","children":[]},{"level":2,"title":"emit","slug":"emit","link":"#emit","children":[]},{"level":2,"title":"config","slug":"config","link":"#config","children":[]},{"level":2,"title":"load","slug":"load","link":"#load","children":[]},{"level":2,"title":"reset","slug":"reset","link":"#reset","children":[]},{"level":2,"title":"option","slug":"option","link":"#option","children":[]},{"level":2,"title":"事件","slug":"事件","link":"#事件","children":[]}],"relativePath":"plugin/danmuku.md","lastUpdated":1673441101000}'),o={name:"plugin/danmuku.md"},e=s("",10),r=n("div",{className:"run-code","data-libs":"./uncompiled/artplayer-plugin-danmuku/index.js"}," ▶ Run Code ",-1),c=s("",2),t=n("div",{className:"run-code","data-libs":"./uncompiled/artplayer-plugin-danmuku/index.js"}," ▶ Run Code ",-1),D=s("",2),F=n("div",{className:"run-code","data-libs":"./uncompiled/artplayer-plugin-danmuku/index.js"}," ▶ Run Code ",-1),y=s("",3),i=n("div",{className:"run-code","data-libs":"./uncompiled/artplayer-plugin-danmuku/index.js"}," ▶ Run Code ",-1),C=s("",3),A=n("div",{className:"run-code","data-libs":"./uncompiled/artplayer-plugin-danmuku/index.js"}," ▶ Run Code ",-1),u=s("",3),b=n("div",{className:"run-code","data-libs":"./uncompiled/artplayer-plugin-danmuku/index.js"}," ▶ Run Code ",-1),m=s("",4),d=n("div",{className:"run-code","data-libs":"./uncompiled/artplayer-plugin-danmuku/index.js"}," ▶ Run Code ",-1),h=s("",3),g=n("div",{className:"run-code","data-libs":"./uncompiled/artplayer-plugin-danmuku/index.js"}," ▶ Run Code ",-1),_=s("",3),E=n("div",{className:"run-code","data-libs":"./uncompiled/artplayer-plugin-danmuku/index.js"}," ▶ Run Code ",-1),v=s("",3),k=n("div",{className:"run-code","data-libs":"./uncompiled/artplayer-plugin-danmuku/index.js"}," ▶ Run Code ",-1),f=s("",3),T=[e,r,c,t,D,F,y,i,C,A,u,b,m,d,h,g,_,E,v,k,f];function x(P,B,w,S,j,I){return p(),l("div",null,T)}const R=a(o,[["render",x]]);export{V as __pageData,R as default}; +import{_ as a,c as l,o as p,a as s,b as n}from"./app.fcc4273a.js";const R=JSON.parse('{"title":"弹幕库","description":"","frontmatter":{},"headers":[{"level":2,"title":"演示","slug":"演示","link":"#演示","children":[]},{"level":2,"title":"安装","slug":"安装","link":"#安装","children":[]},{"level":2,"title":"CDN","slug":"cdn","link":"#cdn","children":[]},{"level":2,"title":"选项","slug":"选项","link":"#选项","children":[]},{"level":2,"title":"使用弹幕数组","slug":"使用弹幕数组","link":"#使用弹幕数组","children":[]},{"level":2,"title":"使用弹幕 XML","slug":"使用弹幕-xml","link":"#使用弹幕-xml","children":[]},{"level":2,"title":"使用异步调用","slug":"使用异步调用","link":"#使用异步调用","children":[]},{"level":2,"title":"hide/show","slug":"hide-show","link":"#hide-show","children":[]},{"level":2,"title":"isHide","slug":"ishide","link":"#ishide","children":[]},{"level":2,"title":"emit","slug":"emit","link":"#emit","children":[]},{"level":2,"title":"config","slug":"config","link":"#config","children":[]},{"level":2,"title":"load","slug":"load","link":"#load","children":[]},{"level":2,"title":"reset","slug":"reset","link":"#reset","children":[]},{"level":2,"title":"option","slug":"option","link":"#option","children":[]},{"level":2,"title":"事件","slug":"事件","link":"#事件","children":[]}],"relativePath":"plugin/danmuku.md","lastUpdated":1673441101000}'),o={name:"plugin/danmuku.md"},e=s("",10),r=n("div",{className:"run-code","data-libs":"./uncompiled/artplayer-plugin-danmuku/index.js"}," ▶ Run Code ",-1),c=s("",2),t=n("div",{className:"run-code","data-libs":"./uncompiled/artplayer-plugin-danmuku/index.js"}," ▶ Run Code ",-1),D=s("",2),F=n("div",{className:"run-code","data-libs":"./uncompiled/artplayer-plugin-danmuku/index.js"}," ▶ Run Code ",-1),y=s("",3),i=n("div",{className:"run-code","data-libs":"./uncompiled/artplayer-plugin-danmuku/index.js"}," ▶ Run Code ",-1),C=s("",3),A=n("div",{className:"run-code","data-libs":"./uncompiled/artplayer-plugin-danmuku/index.js"}," ▶ Run Code ",-1),u=s("",3),b=n("div",{className:"run-code","data-libs":"./uncompiled/artplayer-plugin-danmuku/index.js"}," ▶ Run Code ",-1),m=s("",4),d=n("div",{className:"run-code","data-libs":"./uncompiled/artplayer-plugin-danmuku/index.js"}," ▶ Run Code ",-1),h=s("",3),g=n("div",{className:"run-code","data-libs":"./uncompiled/artplayer-plugin-danmuku/index.js"}," ▶ Run Code ",-1),_=s("",3),E=n("div",{className:"run-code","data-libs":"./uncompiled/artplayer-plugin-danmuku/index.js"}," ▶ Run Code ",-1),v=s("",3),k=n("div",{className:"run-code","data-libs":"./uncompiled/artplayer-plugin-danmuku/index.js"}," ▶ Run Code ",-1),f=s("",3),T=[e,r,c,t,D,F,y,i,C,A,u,b,m,d,h,g,_,E,v,k,f];function x(P,B,S,w,j,V){return p(),l("div",null,T)}const I=a(o,[["render",x]]);export{R as __pageData,I as default}; diff --git a/docs/document/assets/plugin_hls-quality.md.b08ccc68.js b/docs/document/assets/plugin_hls-quality.md.75fa84d3.js similarity index 87% rename from docs/document/assets/plugin_hls-quality.md.b08ccc68.js rename to docs/document/assets/plugin_hls-quality.md.75fa84d3.js index a439ae9bd..f15adb6f9 100644 --- a/docs/document/assets/plugin_hls-quality.md.b08ccc68.js +++ b/docs/document/assets/plugin_hls-quality.md.75fa84d3.js @@ -1,7 +1,7 @@ -import{_ as a,c as s,o as l,a as e}from"./app.6a0c1274.js";const y=JSON.parse('{"title":"HLS 画质","description":"","frontmatter":{},"headers":[{"level":2,"title":"演示","slug":"演示","link":"#演示","children":[]},{"level":2,"title":"安装","slug":"安装","link":"#安装","children":[]},{"level":2,"title":"CDN","slug":"cdn","link":"#cdn","children":[]}],"relativePath":"plugin/hls-quality.md","lastUpdated":1673441101000}'),n={name:"plugin/hls-quality.md"},p=e(`

HLS 画质

演示

👉 查看完整演示

安装

bash
npm install artplayer-plugin-hls-quality
+import{_ as a,c as s,o as l,a as e}from"./app.fcc4273a.js";const y=JSON.parse('{"title":"HLS 画质","description":"","frontmatter":{},"headers":[{"level":2,"title":"演示","slug":"演示","link":"#演示","children":[]},{"level":2,"title":"安装","slug":"安装","link":"#安装","children":[]},{"level":2,"title":"CDN","slug":"cdn","link":"#cdn","children":[]}],"relativePath":"plugin/hls-quality.md","lastUpdated":1673441101000}'),n={name:"plugin/hls-quality.md"},p=e(`

HLS 画质

演示

👉 查看完整演示

安装

bash
npm install artplayer-plugin-hls-quality
 
bash
yarn add artplayer-plugin-hls-quality
 
bash
pnpm add artplayer-plugin-hls-quality
 
html
<script src="path/to/artplayer-plugin-hls-quality.js"></script>
-

CDN

bash
https://cdn.jsdelivr.net/npm/artplayer-plugin-hls-quality/dist/artplayer-plugin-hls-quality.js
+

CDN

bash
https://cdn.jsdelivr.net/npm/artplayer-plugin-hls-quality/dist/artplayer-plugin-hls-quality.js
 
bash
https://unpkg.com/artplayer-plugin-hls-quality/dist/artplayer-plugin-hls-quality.js
 
`,7),t=[p];function i(r,o,c,d,u,h){return l(),s("div",null,t)}const m=a(n,[["render",i]]);export{y as __pageData,m as default}; diff --git a/docs/document/assets/plugin_hls-quality.md.b08ccc68.lean.js b/docs/document/assets/plugin_hls-quality.md.75fa84d3.lean.js similarity index 89% rename from docs/document/assets/plugin_hls-quality.md.b08ccc68.lean.js rename to docs/document/assets/plugin_hls-quality.md.75fa84d3.lean.js index e73b00758..f750cc00c 100644 --- a/docs/document/assets/plugin_hls-quality.md.b08ccc68.lean.js +++ b/docs/document/assets/plugin_hls-quality.md.75fa84d3.lean.js @@ -1 +1 @@ -import{_ as a,c as s,o as l,a as e}from"./app.6a0c1274.js";const y=JSON.parse('{"title":"HLS 画质","description":"","frontmatter":{},"headers":[{"level":2,"title":"演示","slug":"演示","link":"#演示","children":[]},{"level":2,"title":"安装","slug":"安装","link":"#安装","children":[]},{"level":2,"title":"CDN","slug":"cdn","link":"#cdn","children":[]}],"relativePath":"plugin/hls-quality.md","lastUpdated":1673441101000}'),n={name:"plugin/hls-quality.md"},p=e("",7),t=[p];function i(r,o,c,d,u,h){return l(),s("div",null,t)}const m=a(n,[["render",i]]);export{y as __pageData,m as default}; +import{_ as a,c as s,o as l,a as e}from"./app.fcc4273a.js";const y=JSON.parse('{"title":"HLS 画质","description":"","frontmatter":{},"headers":[{"level":2,"title":"演示","slug":"演示","link":"#演示","children":[]},{"level":2,"title":"安装","slug":"安装","link":"#安装","children":[]},{"level":2,"title":"CDN","slug":"cdn","link":"#cdn","children":[]}],"relativePath":"plugin/hls-quality.md","lastUpdated":1673441101000}'),n={name:"plugin/hls-quality.md"},p=e("",7),t=[p];function i(r,o,c,d,u,h){return l(),s("div",null,t)}const m=a(n,[["render",i]]);export{y as __pageData,m as default}; diff --git a/docs/document/assets/plugin_iframe.md.b08a7caf.js b/docs/document/assets/plugin_iframe.md.df4119d4.js similarity index 97% rename from docs/document/assets/plugin_iframe.md.b08a7caf.js rename to docs/document/assets/plugin_iframe.md.df4119d4.js index c652edaff..7dd4648e1 100644 --- a/docs/document/assets/plugin_iframe.md.b08a7caf.js +++ b/docs/document/assets/plugin_iframe.md.df4119d4.js @@ -1,10 +1,10 @@ -import{_ as s,c as a,o as n,a as l}from"./app.6a0c1274.js";const C=JSON.parse('{"title":"Iframe 控制","description":"","frontmatter":{},"headers":[{"level":2,"title":"说明","slug":"说明","link":"#说明","children":[]},{"level":2,"title":"演示","slug":"演示","link":"#演示","children":[]},{"level":2,"title":"安装","slug":"安装","link":"#安装","children":[]},{"level":2,"title":"CDN","slug":"cdn","link":"#cdn","children":[]},{"level":2,"title":"使用","slug":"使用","link":"#使用","children":[]},{"level":2,"title":"实例接口","slug":"实例接口","link":"#实例接口","children":[{"level":3,"title":"commit","slug":"commit","link":"#commit","children":[]},{"level":3,"title":"message","slug":"message","link":"#message","children":[]},{"level":3,"title":"destroy","slug":"destroy","link":"#destroy","children":[]}]},{"level":2,"title":"Iframe 接口","slug":"iframe-接口","link":"#iframe-接口","children":[{"level":3,"title":"inject","slug":"inject","link":"#inject","children":[]},{"level":3,"title":"postMessage","slug":"postmessage","link":"#postmessage","children":[]}]}],"relativePath":"plugin/iframe.md","lastUpdated":1673441101000}'),p={name:"plugin/iframe.md"},e=l(`

Iframe 控制

说明

通过该插件,你可以轻松在 index.html 里控制跨域 iframe.html 页面里的播放器,如在 index.html 里通过代码控制 iframe.html 播放器的功能,或者获取 iframe.html 播放器的值

演示

👉 查看完整演示

安装

bash
npm install artplayer-plugin-iframe
+import{_ as s,c as a,o as n,a as l}from"./app.fcc4273a.js";const C=JSON.parse('{"title":"Iframe 控制","description":"","frontmatter":{},"headers":[{"level":2,"title":"说明","slug":"说明","link":"#说明","children":[]},{"level":2,"title":"演示","slug":"演示","link":"#演示","children":[]},{"level":2,"title":"安装","slug":"安装","link":"#安装","children":[]},{"level":2,"title":"CDN","slug":"cdn","link":"#cdn","children":[]},{"level":2,"title":"使用","slug":"使用","link":"#使用","children":[]},{"level":2,"title":"实例接口","slug":"实例接口","link":"#实例接口","children":[{"level":3,"title":"commit","slug":"commit","link":"#commit","children":[]},{"level":3,"title":"message","slug":"message","link":"#message","children":[]},{"level":3,"title":"destroy","slug":"destroy","link":"#destroy","children":[]}]},{"level":2,"title":"Iframe 接口","slug":"iframe-接口","link":"#iframe-接口","children":[{"level":3,"title":"inject","slug":"inject","link":"#inject","children":[]},{"level":3,"title":"postMessage","slug":"postmessage","link":"#postmessage","children":[]}]}],"relativePath":"plugin/iframe.md","lastUpdated":1673441101000}'),p={name:"plugin/iframe.md"},e=l(`

Iframe 控制

说明

通过该插件,你可以轻松在 index.html 里控制跨域 iframe.html 页面里的播放器,如在 index.html 里通过代码控制 iframe.html 播放器的功能,或者获取 iframe.html 播放器的值

演示

👉 查看完整演示

安装

bash
npm install artplayer-plugin-iframe
 
bash
yarn add artplayer-plugin-iframe
 
bash
pnpm add artplayer-plugin-iframe
 
html
<script src="path/to/artplayer-plugin-iframe.js"></script>
-

CDN

bash
https://cdn.jsdelivr.net/npm/artplayer-plugin-iframe/dist/artplayer-plugin-iframe.js
+

CDN

bash
https://cdn.jsdelivr.net/npm/artplayer-plugin-iframe/dist/artplayer-plugin-iframe.js
 
bash
https://unpkg.com/artplayer-plugin-iframe/dist/artplayer-plugin-iframe.js
-

使用

html
<!DOCTYPE html>
+

使用

html
<!DOCTYPE html>
 <html>
     <head>
         <title>ArtPlayer</title>
diff --git a/docs/document/assets/plugin_iframe.md.b08a7caf.lean.js b/docs/document/assets/plugin_iframe.md.df4119d4.lean.js
similarity index 95%
rename from docs/document/assets/plugin_iframe.md.b08a7caf.lean.js
rename to docs/document/assets/plugin_iframe.md.df4119d4.lean.js
index df60bb549..0a991a7b3 100644
--- a/docs/document/assets/plugin_iframe.md.b08a7caf.lean.js
+++ b/docs/document/assets/plugin_iframe.md.df4119d4.lean.js
@@ -1 +1 @@
-import{_ as s,c as a,o as n,a as l}from"./app.6a0c1274.js";const C=JSON.parse('{"title":"Iframe 控制","description":"","frontmatter":{},"headers":[{"level":2,"title":"说明","slug":"说明","link":"#说明","children":[]},{"level":2,"title":"演示","slug":"演示","link":"#演示","children":[]},{"level":2,"title":"安装","slug":"安装","link":"#安装","children":[]},{"level":2,"title":"CDN","slug":"cdn","link":"#cdn","children":[]},{"level":2,"title":"使用","slug":"使用","link":"#使用","children":[]},{"level":2,"title":"实例接口","slug":"实例接口","link":"#实例接口","children":[{"level":3,"title":"commit","slug":"commit","link":"#commit","children":[]},{"level":3,"title":"message","slug":"message","link":"#message","children":[]},{"level":3,"title":"destroy","slug":"destroy","link":"#destroy","children":[]}]},{"level":2,"title":"Iframe 接口","slug":"iframe-接口","link":"#iframe-接口","children":[{"level":3,"title":"inject","slug":"inject","link":"#inject","children":[]},{"level":3,"title":"postMessage","slug":"postmessage","link":"#postmessage","children":[]}]}],"relativePath":"plugin/iframe.md","lastUpdated":1673441101000}'),p={name:"plugin/iframe.md"},e=l("",29),o=[e];function r(t,c,i,F,y,D){return n(),a("div",null,o)}const b=s(p,[["render",r]]);export{C as __pageData,b as default};
+import{_ as s,c as a,o as n,a as l}from"./app.fcc4273a.js";const C=JSON.parse('{"title":"Iframe 控制","description":"","frontmatter":{},"headers":[{"level":2,"title":"说明","slug":"说明","link":"#说明","children":[]},{"level":2,"title":"演示","slug":"演示","link":"#演示","children":[]},{"level":2,"title":"安装","slug":"安装","link":"#安装","children":[]},{"level":2,"title":"CDN","slug":"cdn","link":"#cdn","children":[]},{"level":2,"title":"使用","slug":"使用","link":"#使用","children":[]},{"level":2,"title":"实例接口","slug":"实例接口","link":"#实例接口","children":[{"level":3,"title":"commit","slug":"commit","link":"#commit","children":[]},{"level":3,"title":"message","slug":"message","link":"#message","children":[]},{"level":3,"title":"destroy","slug":"destroy","link":"#destroy","children":[]}]},{"level":2,"title":"Iframe 接口","slug":"iframe-接口","link":"#iframe-接口","children":[{"level":3,"title":"inject","slug":"inject","link":"#inject","children":[]},{"level":3,"title":"postMessage","slug":"postmessage","link":"#postmessage","children":[]}]}],"relativePath":"plugin/iframe.md","lastUpdated":1673441101000}'),p={name:"plugin/iframe.md"},e=l("",29),o=[e];function r(t,c,i,F,y,D){return n(),a("div",null,o)}const b=s(p,[["render",r]]);export{C as __pageData,b as default};
diff --git a/docs/document/assets/start_component.md.523be2bd.js b/docs/document/assets/start_component.md.3cab1080.js
similarity index 99%
rename from docs/document/assets/start_component.md.523be2bd.js
rename to docs/document/assets/start_component.md.3cab1080.js
index 47dc3fbbe..8befafd6d 100644
--- a/docs/document/assets/start_component.md.523be2bd.js
+++ b/docs/document/assets/start_component.md.3cab1080.js
@@ -1,4 +1,4 @@
-import{_ as a,c as l,o as p,a as s,b as n}from"./app.6a0c1274.js";const T=JSON.parse('{"title":"组件配置","description":"","frontmatter":{},"headers":[{"level":2,"title":"layers","slug":"layers","link":"#layers","children":[]},{"level":2,"title":"controls","slug":"controls","link":"#controls","children":[]},{"level":2,"title":"contextmenu","slug":"contextmenu","link":"#contextmenu","children":[]}],"relativePath":"start/component.md","lastUpdated":1673441101000}'),o={name:"start/component.md"},e=s('

组件配置

这里所说的组件配置主要是指:layers , controls , contextmenu 这三个共用的配置:

属性类型描述
disableBoolean是否禁用组件
nameString组件唯一名称,用于标记类名
indexNumber组件索引,用于显示的优先级
htmlString, Element组件的 DOM 元素
styleObject组件样式对象
clickFunction组件点击事件
mountedFunction组件挂载后触发
tooltipString组件的提示文本

提示

  • 当前组件只能添加,并没有销毁的功能
  • 通过 name 选项可以快速获取组件的 DOM 元素
  • 通过 index 选项可以控制组件出现的顺序

layers

实例化时添加一个层,例如可以添加 logo 或者 广告 等等

',6),c=n("div",{className:"run-code"},"▶ Run Code",-1),r=s(`
js
var img = '/assets/sample/layer.png';
+import{_ as a,c as l,o as p,a as s,b as n}from"./app.fcc4273a.js";const T=JSON.parse('{"title":"组件配置","description":"","frontmatter":{},"headers":[{"level":2,"title":"layers","slug":"layers","link":"#layers","children":[]},{"level":2,"title":"controls","slug":"controls","link":"#controls","children":[]},{"level":2,"title":"contextmenu","slug":"contextmenu","link":"#contextmenu","children":[]}],"relativePath":"start/component.md","lastUpdated":1673441101000}'),o={name:"start/component.md"},e=s('

组件配置

这里所说的组件配置主要是指:layers , controls , contextmenu 这三个共用的配置:

属性类型描述
disableBoolean是否禁用组件
nameString组件唯一名称,用于标记类名
indexNumber组件索引,用于显示的优先级
htmlString, Element组件的 DOM 元素
styleObject组件样式对象
clickFunction组件点击事件
mountedFunction组件挂载后触发
tooltipString组件的提示文本

提示

  • 当前组件只能添加,并没有销毁的功能
  • 通过 name 选项可以快速获取组件的 DOM 元素
  • 通过 index 选项可以控制组件出现的顺序

layers

实例化时添加一个层,例如可以添加 logo 或者 广告 等等

',6),c=n("div",{className:"run-code"},"▶ Run Code",-1),r=s(`
js
var img = '/assets/sample/layer.png';
 var art = new Artplayer({
     container: '.artplayer-app',
     url: '/assets/sample/video.mp4',
diff --git a/docs/document/assets/start_component.md.523be2bd.lean.js b/docs/document/assets/start_component.md.3cab1080.lean.js
similarity index 93%
rename from docs/document/assets/start_component.md.523be2bd.lean.js
rename to docs/document/assets/start_component.md.3cab1080.lean.js
index b6caf14d1..9ce6f33a8 100644
--- a/docs/document/assets/start_component.md.523be2bd.lean.js
+++ b/docs/document/assets/start_component.md.3cab1080.lean.js
@@ -1 +1 @@
-import{_ as a,c as l,o as p,a as s,b as n}from"./app.6a0c1274.js";const T=JSON.parse('{"title":"组件配置","description":"","frontmatter":{},"headers":[{"level":2,"title":"layers","slug":"layers","link":"#layers","children":[]},{"level":2,"title":"controls","slug":"controls","link":"#controls","children":[]},{"level":2,"title":"contextmenu","slug":"contextmenu","link":"#contextmenu","children":[]}],"relativePath":"start/component.md","lastUpdated":1673441101000}'),o={name:"start/component.md"},e=s("",6),c=n("div",{className:"run-code"},"▶ Run Code",-1),r=s("",2),t=n("div",{className:"run-code"},"▶ Run Code",-1),D=s("",4),F=n("div",{className:"run-code"},"▶ Run Code",-1),y=s("",5),i=n("div",{className:"run-code"},"▶ Run Code",-1),A=s("",2),C=n("div",{className:"run-code"},"▶ Run Code",-1),d=s("",1),b=[e,c,r,t,D,F,y,i,A,C,d];function h(u,m,g,_,E,f){return p(),l("div",null,b)}const x=a(o,[["render",h]]);export{T as __pageData,x as default};
+import{_ as a,c as l,o as p,a as s,b as n}from"./app.fcc4273a.js";const T=JSON.parse('{"title":"组件配置","description":"","frontmatter":{},"headers":[{"level":2,"title":"layers","slug":"layers","link":"#layers","children":[]},{"level":2,"title":"controls","slug":"controls","link":"#controls","children":[]},{"level":2,"title":"contextmenu","slug":"contextmenu","link":"#contextmenu","children":[]}],"relativePath":"start/component.md","lastUpdated":1673441101000}'),o={name:"start/component.md"},e=s("",6),c=n("div",{className:"run-code"},"▶ Run Code",-1),r=s("",2),t=n("div",{className:"run-code"},"▶ Run Code",-1),D=s("",4),F=n("div",{className:"run-code"},"▶ Run Code",-1),y=s("",5),i=n("div",{className:"run-code"},"▶ Run Code",-1),A=s("",2),C=n("div",{className:"run-code"},"▶ Run Code",-1),d=s("",1),b=[e,c,r,t,D,F,y,i,A,C,d];function h(u,m,g,_,E,f){return p(),l("div",null,b)}const x=a(o,[["render",h]]);export{T as __pageData,x as default};
diff --git a/docs/document/assets/start_option.md.a1a97f2a.js b/docs/document/assets/start_option.md.b5d9fd52.js
similarity index 99%
rename from docs/document/assets/start_option.md.a1a97f2a.js
rename to docs/document/assets/start_option.md.b5d9fd52.js
index d7e5ff202..6c49ec40b 100644
--- a/docs/document/assets/start_option.md.a1a97f2a.js
+++ b/docs/document/assets/start_option.md.b5d9fd52.js
@@ -1,4 +1,4 @@
-import{_ as a,c as l,o as p,a as s,b as n}from"./app.6a0c1274.js";const Dn=JSON.parse('{"title":"基础选项","description":"","frontmatter":{},"headers":[{"level":2,"title":"container","slug":"container","link":"#container","children":[]},{"level":2,"title":"url","slug":"url","link":"#url","children":[]},{"level":2,"title":"id","slug":"id","link":"#id","children":[]},{"level":2,"title":"onReady","slug":"onready","link":"#onready","children":[]},{"level":2,"title":"poster","slug":"poster","link":"#poster","children":[]},{"level":2,"title":"title","slug":"title","link":"#title","children":[]},{"level":2,"title":"theme","slug":"theme","link":"#theme","children":[]},{"level":2,"title":"volume","slug":"volume","link":"#volume","children":[]},{"level":2,"title":"isLive","slug":"islive","link":"#islive","children":[]},{"level":2,"title":"muted","slug":"muted","link":"#muted","children":[]},{"level":2,"title":"autoplay","slug":"autoplay","link":"#autoplay","children":[]},{"level":2,"title":"autoSize","slug":"autosize","link":"#autosize","children":[]},{"level":2,"title":"autoMini","slug":"automini","link":"#automini","children":[]},{"level":2,"title":"loop","slug":"loop","link":"#loop","children":[]},{"level":2,"title":"flip","slug":"flip","link":"#flip","children":[]},{"level":2,"title":"playbackRate","slug":"playbackrate","link":"#playbackrate","children":[]},{"level":2,"title":"aspectRatio","slug":"aspectratio","link":"#aspectratio","children":[]},{"level":2,"title":"screenshot","slug":"screenshot","link":"#screenshot","children":[]},{"level":2,"title":"setting","slug":"setting","link":"#setting","children":[]},{"level":2,"title":"hotkey","slug":"hotkey","link":"#hotkey","children":[]},{"level":2,"title":"pip","slug":"pip","link":"#pip","children":[]},{"level":2,"title":"mutex","slug":"mutex","link":"#mutex","children":[]},{"level":2,"title":"fullscreen","slug":"fullscreen","link":"#fullscreen","children":[]},{"level":2,"title":"fullscreenWeb","slug":"fullscreenweb","link":"#fullscreenweb","children":[]},{"level":2,"title":"subtitleOffset","slug":"subtitleoffset","link":"#subtitleoffset","children":[]},{"level":2,"title":"miniProgressBar","slug":"miniprogressbar","link":"#miniprogressbar","children":[]},{"level":2,"title":"useSSR","slug":"usessr","link":"#usessr","children":[]},{"level":2,"title":"playsInline","slug":"playsinline","link":"#playsinline","children":[]},{"level":2,"title":"layers","slug":"layers","link":"#layers","children":[]},{"level":2,"title":"settings","slug":"settings","link":"#settings","children":[]},{"level":2,"title":"contextmenu","slug":"contextmenu","link":"#contextmenu","children":[]},{"level":2,"title":"controls","slug":"controls","link":"#controls","children":[]},{"level":2,"title":"quality","slug":"quality","link":"#quality","children":[]},{"level":2,"title":"highlight","slug":"highlight","link":"#highlight","children":[]},{"level":2,"title":"plugins","slug":"plugins","link":"#plugins","children":[]},{"level":2,"title":"whitelist","slug":"whitelist","link":"#whitelist","children":[]},{"level":2,"title":"thumbnails","slug":"thumbnails","link":"#thumbnails","children":[]},{"level":2,"title":"subtitle","slug":"subtitle","link":"#subtitle","children":[]},{"level":2,"title":"moreVideoAttr","slug":"morevideoattr","link":"#morevideoattr","children":[]},{"level":2,"title":"icons","slug":"icons","link":"#icons","children":[]},{"level":2,"title":"type","slug":"type","link":"#type","children":[]},{"level":2,"title":"customType","slug":"customtype","link":"#customtype","children":[]},{"level":2,"title":"lang","slug":"lang","link":"#lang","children":[]},{"level":2,"title":"i18n","slug":"i18n","link":"#i18n","children":[]},{"level":2,"title":"lock","slug":"lock","link":"#lock","children":[]},{"level":2,"title":"fastForward","slug":"fastforward","link":"#fastforward","children":[]},{"level":2,"title":"autoPlayback","slug":"autoplayback","link":"#autoplayback","children":[]},{"level":2,"title":"autoOrientation","slug":"autoorientation","link":"#autoorientation","children":[]},{"level":2,"title":"airplay","slug":"airplay","link":"#airplay","children":[]}],"relativePath":"start/option.md","lastUpdated":1673441101000}'),e={name:"start/option.md"},o=s('

基础选项

container

  • Type: String, Element
  • Default: #artplayer

播放器挂载的 DOM 容器

',4),c=n("div",{className:"run-code"},"▶ Run Code",-1),r=s(`
js
var art = new Artplayer({
+import{_ as a,c as l,o as p,a as s,b as n}from"./app.fcc4273a.js";const Dn=JSON.parse('{"title":"基础选项","description":"","frontmatter":{},"headers":[{"level":2,"title":"container","slug":"container","link":"#container","children":[]},{"level":2,"title":"url","slug":"url","link":"#url","children":[]},{"level":2,"title":"id","slug":"id","link":"#id","children":[]},{"level":2,"title":"onReady","slug":"onready","link":"#onready","children":[]},{"level":2,"title":"poster","slug":"poster","link":"#poster","children":[]},{"level":2,"title":"title","slug":"title","link":"#title","children":[]},{"level":2,"title":"theme","slug":"theme","link":"#theme","children":[]},{"level":2,"title":"volume","slug":"volume","link":"#volume","children":[]},{"level":2,"title":"isLive","slug":"islive","link":"#islive","children":[]},{"level":2,"title":"muted","slug":"muted","link":"#muted","children":[]},{"level":2,"title":"autoplay","slug":"autoplay","link":"#autoplay","children":[]},{"level":2,"title":"autoSize","slug":"autosize","link":"#autosize","children":[]},{"level":2,"title":"autoMini","slug":"automini","link":"#automini","children":[]},{"level":2,"title":"loop","slug":"loop","link":"#loop","children":[]},{"level":2,"title":"flip","slug":"flip","link":"#flip","children":[]},{"level":2,"title":"playbackRate","slug":"playbackrate","link":"#playbackrate","children":[]},{"level":2,"title":"aspectRatio","slug":"aspectratio","link":"#aspectratio","children":[]},{"level":2,"title":"screenshot","slug":"screenshot","link":"#screenshot","children":[]},{"level":2,"title":"setting","slug":"setting","link":"#setting","children":[]},{"level":2,"title":"hotkey","slug":"hotkey","link":"#hotkey","children":[]},{"level":2,"title":"pip","slug":"pip","link":"#pip","children":[]},{"level":2,"title":"mutex","slug":"mutex","link":"#mutex","children":[]},{"level":2,"title":"fullscreen","slug":"fullscreen","link":"#fullscreen","children":[]},{"level":2,"title":"fullscreenWeb","slug":"fullscreenweb","link":"#fullscreenweb","children":[]},{"level":2,"title":"subtitleOffset","slug":"subtitleoffset","link":"#subtitleoffset","children":[]},{"level":2,"title":"miniProgressBar","slug":"miniprogressbar","link":"#miniprogressbar","children":[]},{"level":2,"title":"useSSR","slug":"usessr","link":"#usessr","children":[]},{"level":2,"title":"playsInline","slug":"playsinline","link":"#playsinline","children":[]},{"level":2,"title":"layers","slug":"layers","link":"#layers","children":[]},{"level":2,"title":"settings","slug":"settings","link":"#settings","children":[]},{"level":2,"title":"contextmenu","slug":"contextmenu","link":"#contextmenu","children":[]},{"level":2,"title":"controls","slug":"controls","link":"#controls","children":[]},{"level":2,"title":"quality","slug":"quality","link":"#quality","children":[]},{"level":2,"title":"highlight","slug":"highlight","link":"#highlight","children":[]},{"level":2,"title":"plugins","slug":"plugins","link":"#plugins","children":[]},{"level":2,"title":"whitelist","slug":"whitelist","link":"#whitelist","children":[]},{"level":2,"title":"thumbnails","slug":"thumbnails","link":"#thumbnails","children":[]},{"level":2,"title":"subtitle","slug":"subtitle","link":"#subtitle","children":[]},{"level":2,"title":"moreVideoAttr","slug":"morevideoattr","link":"#morevideoattr","children":[]},{"level":2,"title":"icons","slug":"icons","link":"#icons","children":[]},{"level":2,"title":"type","slug":"type","link":"#type","children":[]},{"level":2,"title":"customType","slug":"customtype","link":"#customtype","children":[]},{"level":2,"title":"lang","slug":"lang","link":"#lang","children":[]},{"level":2,"title":"i18n","slug":"i18n","link":"#i18n","children":[]},{"level":2,"title":"lock","slug":"lock","link":"#lock","children":[]},{"level":2,"title":"fastForward","slug":"fastforward","link":"#fastforward","children":[]},{"level":2,"title":"autoPlayback","slug":"autoplayback","link":"#autoplayback","children":[]},{"level":2,"title":"autoOrientation","slug":"autoorientation","link":"#autoorientation","children":[]},{"level":2,"title":"airplay","slug":"airplay","link":"#airplay","children":[]}],"relativePath":"start/option.md","lastUpdated":1673441101000}'),e={name:"start/option.md"},o=s('

基础选项

container

  • Type: String, Element
  • Default: #artplayer

播放器挂载的 DOM 容器

',4),c=n("div",{className:"run-code"},"▶ Run Code",-1),r=s(`
js
var art = new Artplayer({
     container: '.artplayer-app', 
     // container: document.querySelector('.artplayer-app'),
     url: '/assets/sample/video.mp4',
diff --git a/docs/document/assets/start_option.md.a1a97f2a.lean.js b/docs/document/assets/start_option.md.b5d9fd52.lean.js
similarity index 99%
rename from docs/document/assets/start_option.md.a1a97f2a.lean.js
rename to docs/document/assets/start_option.md.b5d9fd52.lean.js
index ca20c93cb..a0e889693 100644
--- a/docs/document/assets/start_option.md.a1a97f2a.lean.js
+++ b/docs/document/assets/start_option.md.b5d9fd52.lean.js
@@ -1 +1 @@
-import{_ as a,c as l,o as p,a as s,b as n}from"./app.6a0c1274.js";const Dn=JSON.parse('{"title":"基础选项","description":"","frontmatter":{},"headers":[{"level":2,"title":"container","slug":"container","link":"#container","children":[]},{"level":2,"title":"url","slug":"url","link":"#url","children":[]},{"level":2,"title":"id","slug":"id","link":"#id","children":[]},{"level":2,"title":"onReady","slug":"onready","link":"#onready","children":[]},{"level":2,"title":"poster","slug":"poster","link":"#poster","children":[]},{"level":2,"title":"title","slug":"title","link":"#title","children":[]},{"level":2,"title":"theme","slug":"theme","link":"#theme","children":[]},{"level":2,"title":"volume","slug":"volume","link":"#volume","children":[]},{"level":2,"title":"isLive","slug":"islive","link":"#islive","children":[]},{"level":2,"title":"muted","slug":"muted","link":"#muted","children":[]},{"level":2,"title":"autoplay","slug":"autoplay","link":"#autoplay","children":[]},{"level":2,"title":"autoSize","slug":"autosize","link":"#autosize","children":[]},{"level":2,"title":"autoMini","slug":"automini","link":"#automini","children":[]},{"level":2,"title":"loop","slug":"loop","link":"#loop","children":[]},{"level":2,"title":"flip","slug":"flip","link":"#flip","children":[]},{"level":2,"title":"playbackRate","slug":"playbackrate","link":"#playbackrate","children":[]},{"level":2,"title":"aspectRatio","slug":"aspectratio","link":"#aspectratio","children":[]},{"level":2,"title":"screenshot","slug":"screenshot","link":"#screenshot","children":[]},{"level":2,"title":"setting","slug":"setting","link":"#setting","children":[]},{"level":2,"title":"hotkey","slug":"hotkey","link":"#hotkey","children":[]},{"level":2,"title":"pip","slug":"pip","link":"#pip","children":[]},{"level":2,"title":"mutex","slug":"mutex","link":"#mutex","children":[]},{"level":2,"title":"fullscreen","slug":"fullscreen","link":"#fullscreen","children":[]},{"level":2,"title":"fullscreenWeb","slug":"fullscreenweb","link":"#fullscreenweb","children":[]},{"level":2,"title":"subtitleOffset","slug":"subtitleoffset","link":"#subtitleoffset","children":[]},{"level":2,"title":"miniProgressBar","slug":"miniprogressbar","link":"#miniprogressbar","children":[]},{"level":2,"title":"useSSR","slug":"usessr","link":"#usessr","children":[]},{"level":2,"title":"playsInline","slug":"playsinline","link":"#playsinline","children":[]},{"level":2,"title":"layers","slug":"layers","link":"#layers","children":[]},{"level":2,"title":"settings","slug":"settings","link":"#settings","children":[]},{"level":2,"title":"contextmenu","slug":"contextmenu","link":"#contextmenu","children":[]},{"level":2,"title":"controls","slug":"controls","link":"#controls","children":[]},{"level":2,"title":"quality","slug":"quality","link":"#quality","children":[]},{"level":2,"title":"highlight","slug":"highlight","link":"#highlight","children":[]},{"level":2,"title":"plugins","slug":"plugins","link":"#plugins","children":[]},{"level":2,"title":"whitelist","slug":"whitelist","link":"#whitelist","children":[]},{"level":2,"title":"thumbnails","slug":"thumbnails","link":"#thumbnails","children":[]},{"level":2,"title":"subtitle","slug":"subtitle","link":"#subtitle","children":[]},{"level":2,"title":"moreVideoAttr","slug":"morevideoattr","link":"#morevideoattr","children":[]},{"level":2,"title":"icons","slug":"icons","link":"#icons","children":[]},{"level":2,"title":"type","slug":"type","link":"#type","children":[]},{"level":2,"title":"customType","slug":"customtype","link":"#customtype","children":[]},{"level":2,"title":"lang","slug":"lang","link":"#lang","children":[]},{"level":2,"title":"i18n","slug":"i18n","link":"#i18n","children":[]},{"level":2,"title":"lock","slug":"lock","link":"#lock","children":[]},{"level":2,"title":"fastForward","slug":"fastforward","link":"#fastforward","children":[]},{"level":2,"title":"autoPlayback","slug":"autoplayback","link":"#autoplayback","children":[]},{"level":2,"title":"autoOrientation","slug":"autoorientation","link":"#autoorientation","children":[]},{"level":2,"title":"airplay","slug":"airplay","link":"#airplay","children":[]}],"relativePath":"start/option.md","lastUpdated":1673441101000}'),e={name:"start/option.md"},o=s("",4),c=n("div",{className:"run-code"},"▶ Run Code",-1),r=s("",7),t=n("div",{className:"run-code"},"▶ Run Code",-1),D=s("",2),i=n("div",{className:"run-code"},"▶ Run Code",-1),y=s("",5),F=n("div",{className:"run-code"},"▶ Run Code",-1),C=s("",4),d=n("div",{className:"run-code"},"▶ Run Code",-1),A=s("",7),h=n("div",{className:"run-code"},"▶ Run Code",-1),u=s("",4),b=n("div",{className:"run-code"},"▶ Run Code",-1),m=s("",4),g=n("div",{className:"run-code"},"▶ Run Code",-1),_=s("",4),v=n("div",{className:"run-code"},"▶ Run Code",-1),T=s("",5),E=n("div",{className:"run-code"},"▶ Run Code",-1),f=s("",4),S=n("div",{className:"run-code"},"▶ Run Code",-1),k=s("",4),w=n("div",{className:"run-code"},"▶ Run Code",-1),P=s("",5),R=n("div",{className:"run-code"},"▶ Run Code",-1),j=s("",4),N=n("div",{className:"run-code"},"▶ Run Code",-1),I=s("",4),V=n("div",{className:"run-code"},"▶ Run Code",-1),x=s("",4),B=n("div",{className:"run-code"},"▶ Run Code",-1),O=s("",4),q=n("div",{className:"run-code"},"▶ Run Code",-1),z=s("",4),M=n("div",{className:"run-code"},"▶ Run Code",-1),L=s("",4),$=n("div",{className:"run-code"},"▶ Run Code",-1),H=s("",5),Y=n("div",{className:"run-code"},"▶ Run Code",-1),W=s("",4),J=n("div",{className:"run-code"},"▶ Run Code",-1),U=s("",6),G=n("div",{className:"run-code"},"▶ Run Code",-1),K=s("",4),Q=n("div",{className:"run-code"},"▶ Run Code",-1),X=s("",4),Z=n("div",{className:"run-code"},"▶ Run Code",-1),ss=s("",4),ns=n("div",{className:"run-code"},"▶ Run Code",-1),as=s("",4),ls=n("div",{className:"run-code"},"▶ Run Code",-1),ps=s("",4),es=n("div",{className:"run-code"},"▶ Run Code",-1),os=s("",5),cs=n("div",{className:"run-code"},"▶ Run Code",-1),rs=s("",4),ts=n("div",{className:"run-code"},"▶ Run Code",-1),Ds=s("",4),is=n("div",{className:"run-code"},"▶ Run Code",-1),ys=s("",5),Fs=n("div",{className:"run-code"},"▶ Run Code",-1),Cs=s("",5),ds=n("div",{className:"run-code"},"▶ Run Code",-1),As=s("",5),hs=n("div",{className:"run-code"},"▶ Run Code",-1),us=s("",6),bs=n("div",{className:"run-code"},"▶ Run Code",-1),ms=s("",5),gs=n("div",{className:"run-code"},"▶ Run Code",-1),_s=s("",4),vs=n("div",{className:"run-code"},"▶ Run Code",-1),Ts=s("",6),Es=n("div",{className:"run-code"},"▶ Run Code",-1),fs=s("",6),Ss=n("div",{className:"run-code"},"▶ Run Code",-1),ks=s("",6),ws=n("div",{className:"run-code"},"▶ Run Code",-1),Ps=s("",4),Rs=n("div",{className:"run-code"},"▶ Run Code",-1),js=s("",4),Ns=n("div",{className:"run-code"},"▶ Run Code",-1),Is=s("",5),Vs=n("div",{className:"run-code"},"▶ Run Code",-1),xs=s("",6),Bs=n("div",{className:"run-code"},"▶ Run Code",-1),Os=s("",4),qs=n("div",{className:"run-code"},"▶ Run Code",-1),zs=s("",5),Ms=n("div",{className:"run-code"},"▶ Run Code",-1),Ls=s("",2),$s=n("div",{className:"run-code"},"▶ Run Code",-1),Hs=s("",5),Ys=n("div",{className:"run-code"},"▶ Run Code",-1),Ws=s("",4),Js=n("div",{className:"run-code"},"▶ Run Code",-1),Us=s("",4),Gs=n("div",{className:"run-code"},"▶ Run Code",-1),Ks=s("",5),Qs=n("div",{className:"run-code"},"▶ Run Code",-1),Xs=s("",4),Zs=n("div",{className:"run-code"},"▶ Run Code",-1),sn=s("",1),nn=[o,c,r,t,D,i,y,F,C,d,A,h,u,b,m,g,_,v,T,E,f,S,k,w,P,R,j,N,I,V,x,B,O,q,z,M,L,$,H,Y,W,J,U,G,K,Q,X,Z,ss,ns,as,ls,ps,es,os,cs,rs,ts,Ds,is,ys,Fs,Cs,ds,As,hs,us,bs,ms,gs,_s,vs,Ts,Es,fs,Ss,ks,ws,Ps,Rs,js,Ns,Is,Vs,xs,Bs,Os,qs,zs,Ms,Ls,$s,Hs,Ys,Ws,Js,Us,Gs,Ks,Qs,Xs,Zs,sn];function an(ln,pn,en,on,cn,rn){return p(),l("div",null,nn)}const yn=a(e,[["render",an]]);export{Dn as __pageData,yn as default};
+import{_ as a,c as l,o as p,a as s,b as n}from"./app.fcc4273a.js";const Dn=JSON.parse('{"title":"基础选项","description":"","frontmatter":{},"headers":[{"level":2,"title":"container","slug":"container","link":"#container","children":[]},{"level":2,"title":"url","slug":"url","link":"#url","children":[]},{"level":2,"title":"id","slug":"id","link":"#id","children":[]},{"level":2,"title":"onReady","slug":"onready","link":"#onready","children":[]},{"level":2,"title":"poster","slug":"poster","link":"#poster","children":[]},{"level":2,"title":"title","slug":"title","link":"#title","children":[]},{"level":2,"title":"theme","slug":"theme","link":"#theme","children":[]},{"level":2,"title":"volume","slug":"volume","link":"#volume","children":[]},{"level":2,"title":"isLive","slug":"islive","link":"#islive","children":[]},{"level":2,"title":"muted","slug":"muted","link":"#muted","children":[]},{"level":2,"title":"autoplay","slug":"autoplay","link":"#autoplay","children":[]},{"level":2,"title":"autoSize","slug":"autosize","link":"#autosize","children":[]},{"level":2,"title":"autoMini","slug":"automini","link":"#automini","children":[]},{"level":2,"title":"loop","slug":"loop","link":"#loop","children":[]},{"level":2,"title":"flip","slug":"flip","link":"#flip","children":[]},{"level":2,"title":"playbackRate","slug":"playbackrate","link":"#playbackrate","children":[]},{"level":2,"title":"aspectRatio","slug":"aspectratio","link":"#aspectratio","children":[]},{"level":2,"title":"screenshot","slug":"screenshot","link":"#screenshot","children":[]},{"level":2,"title":"setting","slug":"setting","link":"#setting","children":[]},{"level":2,"title":"hotkey","slug":"hotkey","link":"#hotkey","children":[]},{"level":2,"title":"pip","slug":"pip","link":"#pip","children":[]},{"level":2,"title":"mutex","slug":"mutex","link":"#mutex","children":[]},{"level":2,"title":"fullscreen","slug":"fullscreen","link":"#fullscreen","children":[]},{"level":2,"title":"fullscreenWeb","slug":"fullscreenweb","link":"#fullscreenweb","children":[]},{"level":2,"title":"subtitleOffset","slug":"subtitleoffset","link":"#subtitleoffset","children":[]},{"level":2,"title":"miniProgressBar","slug":"miniprogressbar","link":"#miniprogressbar","children":[]},{"level":2,"title":"useSSR","slug":"usessr","link":"#usessr","children":[]},{"level":2,"title":"playsInline","slug":"playsinline","link":"#playsinline","children":[]},{"level":2,"title":"layers","slug":"layers","link":"#layers","children":[]},{"level":2,"title":"settings","slug":"settings","link":"#settings","children":[]},{"level":2,"title":"contextmenu","slug":"contextmenu","link":"#contextmenu","children":[]},{"level":2,"title":"controls","slug":"controls","link":"#controls","children":[]},{"level":2,"title":"quality","slug":"quality","link":"#quality","children":[]},{"level":2,"title":"highlight","slug":"highlight","link":"#highlight","children":[]},{"level":2,"title":"plugins","slug":"plugins","link":"#plugins","children":[]},{"level":2,"title":"whitelist","slug":"whitelist","link":"#whitelist","children":[]},{"level":2,"title":"thumbnails","slug":"thumbnails","link":"#thumbnails","children":[]},{"level":2,"title":"subtitle","slug":"subtitle","link":"#subtitle","children":[]},{"level":2,"title":"moreVideoAttr","slug":"morevideoattr","link":"#morevideoattr","children":[]},{"level":2,"title":"icons","slug":"icons","link":"#icons","children":[]},{"level":2,"title":"type","slug":"type","link":"#type","children":[]},{"level":2,"title":"customType","slug":"customtype","link":"#customtype","children":[]},{"level":2,"title":"lang","slug":"lang","link":"#lang","children":[]},{"level":2,"title":"i18n","slug":"i18n","link":"#i18n","children":[]},{"level":2,"title":"lock","slug":"lock","link":"#lock","children":[]},{"level":2,"title":"fastForward","slug":"fastforward","link":"#fastforward","children":[]},{"level":2,"title":"autoPlayback","slug":"autoplayback","link":"#autoplayback","children":[]},{"level":2,"title":"autoOrientation","slug":"autoorientation","link":"#autoorientation","children":[]},{"level":2,"title":"airplay","slug":"airplay","link":"#airplay","children":[]}],"relativePath":"start/option.md","lastUpdated":1673441101000}'),e={name:"start/option.md"},o=s("",4),c=n("div",{className:"run-code"},"▶ Run Code",-1),r=s("",7),t=n("div",{className:"run-code"},"▶ Run Code",-1),D=s("",2),i=n("div",{className:"run-code"},"▶ Run Code",-1),y=s("",5),F=n("div",{className:"run-code"},"▶ Run Code",-1),C=s("",4),d=n("div",{className:"run-code"},"▶ Run Code",-1),A=s("",7),h=n("div",{className:"run-code"},"▶ Run Code",-1),u=s("",4),b=n("div",{className:"run-code"},"▶ Run Code",-1),m=s("",4),g=n("div",{className:"run-code"},"▶ Run Code",-1),_=s("",4),v=n("div",{className:"run-code"},"▶ Run Code",-1),T=s("",5),E=n("div",{className:"run-code"},"▶ Run Code",-1),f=s("",4),S=n("div",{className:"run-code"},"▶ Run Code",-1),k=s("",4),w=n("div",{className:"run-code"},"▶ Run Code",-1),P=s("",5),R=n("div",{className:"run-code"},"▶ Run Code",-1),j=s("",4),N=n("div",{className:"run-code"},"▶ Run Code",-1),I=s("",4),V=n("div",{className:"run-code"},"▶ Run Code",-1),x=s("",4),B=n("div",{className:"run-code"},"▶ Run Code",-1),O=s("",4),q=n("div",{className:"run-code"},"▶ Run Code",-1),z=s("",4),M=n("div",{className:"run-code"},"▶ Run Code",-1),L=s("",4),$=n("div",{className:"run-code"},"▶ Run Code",-1),H=s("",5),Y=n("div",{className:"run-code"},"▶ Run Code",-1),W=s("",4),J=n("div",{className:"run-code"},"▶ Run Code",-1),U=s("",6),G=n("div",{className:"run-code"},"▶ Run Code",-1),K=s("",4),Q=n("div",{className:"run-code"},"▶ Run Code",-1),X=s("",4),Z=n("div",{className:"run-code"},"▶ Run Code",-1),ss=s("",4),ns=n("div",{className:"run-code"},"▶ Run Code",-1),as=s("",4),ls=n("div",{className:"run-code"},"▶ Run Code",-1),ps=s("",4),es=n("div",{className:"run-code"},"▶ Run Code",-1),os=s("",5),cs=n("div",{className:"run-code"},"▶ Run Code",-1),rs=s("",4),ts=n("div",{className:"run-code"},"▶ Run Code",-1),Ds=s("",4),is=n("div",{className:"run-code"},"▶ Run Code",-1),ys=s("",5),Fs=n("div",{className:"run-code"},"▶ Run Code",-1),Cs=s("",5),ds=n("div",{className:"run-code"},"▶ Run Code",-1),As=s("",5),hs=n("div",{className:"run-code"},"▶ Run Code",-1),us=s("",6),bs=n("div",{className:"run-code"},"▶ Run Code",-1),ms=s("",5),gs=n("div",{className:"run-code"},"▶ Run Code",-1),_s=s("",4),vs=n("div",{className:"run-code"},"▶ Run Code",-1),Ts=s("",6),Es=n("div",{className:"run-code"},"▶ Run Code",-1),fs=s("",6),Ss=n("div",{className:"run-code"},"▶ Run Code",-1),ks=s("",6),ws=n("div",{className:"run-code"},"▶ Run Code",-1),Ps=s("",4),Rs=n("div",{className:"run-code"},"▶ Run Code",-1),js=s("",4),Ns=n("div",{className:"run-code"},"▶ Run Code",-1),Is=s("",5),Vs=n("div",{className:"run-code"},"▶ Run Code",-1),xs=s("",6),Bs=n("div",{className:"run-code"},"▶ Run Code",-1),Os=s("",4),qs=n("div",{className:"run-code"},"▶ Run Code",-1),zs=s("",5),Ms=n("div",{className:"run-code"},"▶ Run Code",-1),Ls=s("",2),$s=n("div",{className:"run-code"},"▶ Run Code",-1),Hs=s("",5),Ys=n("div",{className:"run-code"},"▶ Run Code",-1),Ws=s("",4),Js=n("div",{className:"run-code"},"▶ Run Code",-1),Us=s("",4),Gs=n("div",{className:"run-code"},"▶ Run Code",-1),Ks=s("",5),Qs=n("div",{className:"run-code"},"▶ Run Code",-1),Xs=s("",4),Zs=n("div",{className:"run-code"},"▶ Run Code",-1),sn=s("",1),nn=[o,c,r,t,D,i,y,F,C,d,A,h,u,b,m,g,_,v,T,E,f,S,k,w,P,R,j,N,I,V,x,B,O,q,z,M,L,$,H,Y,W,J,U,G,K,Q,X,Z,ss,ns,as,ls,ps,es,os,cs,rs,ts,Ds,is,ys,Fs,Cs,ds,As,hs,us,bs,ms,gs,_s,vs,Ts,Es,fs,Ss,ks,ws,Ps,Rs,js,Ns,Is,Vs,xs,Bs,Os,qs,zs,Ms,Ls,$s,Hs,Ys,Ws,Js,Us,Gs,Ks,Qs,Xs,Zs,sn];function an(ln,pn,en,on,cn,rn){return p(),l("div",null,nn)}const yn=a(e,[["render",an]]);export{Dn as __pageData,yn as default};
diff --git a/docs/document/assets/start_setting.md.abec6ab5.js b/docs/document/assets/start_setting.md.c974b93d.js
similarity index 99%
rename from docs/document/assets/start_setting.md.abec6ab5.js
rename to docs/document/assets/start_setting.md.c974b93d.js
index bb36bc6f9..42e500be8 100644
--- a/docs/document/assets/start_setting.md.abec6ab5.js
+++ b/docs/document/assets/start_setting.md.c974b93d.js
@@ -1,4 +1,4 @@
-import{_ as l,c as p,o,b as s,d as n,a}from"./app.6a0c1274.js";const w=JSON.parse('{"title":"设置面板","description":"","frontmatter":{},"headers":[{"level":2,"title":"选择列表","slug":"选择列表","link":"#选择列表","children":[]},{"level":2,"title":"列表嵌套","slug":"列表嵌套","link":"#列表嵌套","children":[]},{"level":2,"title":"切换按钮","slug":"切换按钮","link":"#切换按钮","children":[]},{"level":2,"title":"范围滑块","slug":"范围滑块","link":"#范围滑块","children":[]}],"relativePath":"start/setting.md","lastUpdated":1673441101000}'),e={name:"start/setting.md"},t=s("h1",{id:"设置面板",tabindex:"-1"},[n("设置面板 "),s("a",{class:"header-anchor",href:"#设置面板","aria-hidden":"true"},"#")],-1),c=s("p",null,[n("需先打开设置面板,播放器默认自带四个设置项:"),s("code",null,"flip"),n(", "),s("code",null,"playbackRate"),n(", "),s("code",null,"aspectRatio"),n(", "),s("code",null,"subtitleOffset")],-1),r=s("div",{className:"run-code"},"▶ Run Code",-1),D=a(`
js
var art = new Artplayer({
+import{_ as l,c as p,o,b as s,d as n,a}from"./app.fcc4273a.js";const w=JSON.parse('{"title":"设置面板","description":"","frontmatter":{},"headers":[{"level":2,"title":"选择列表","slug":"选择列表","link":"#选择列表","children":[]},{"level":2,"title":"列表嵌套","slug":"列表嵌套","link":"#列表嵌套","children":[]},{"level":2,"title":"切换按钮","slug":"切换按钮","link":"#切换按钮","children":[]},{"level":2,"title":"范围滑块","slug":"范围滑块","link":"#范围滑块","children":[]}],"relativePath":"start/setting.md","lastUpdated":1673441101000}'),e={name:"start/setting.md"},t=s("h1",{id:"设置面板",tabindex:"-1"},[n("设置面板 "),s("a",{class:"header-anchor",href:"#设置面板","aria-hidden":"true"},"#")],-1),c=s("p",null,[n("需先打开设置面板,播放器默认自带四个设置项:"),s("code",null,"flip"),n(", "),s("code",null,"playbackRate"),n(", "),s("code",null,"aspectRatio"),n(", "),s("code",null,"subtitleOffset")],-1),r=s("div",{className:"run-code"},"▶ Run Code",-1),D=a(`
js
var art = new Artplayer({
     container: '.artplayer-app',
     url: '/assets/sample/video.mp4',
 	setting: true,
diff --git a/docs/document/assets/start_setting.md.abec6ab5.lean.js b/docs/document/assets/start_setting.md.c974b93d.lean.js
similarity index 95%
rename from docs/document/assets/start_setting.md.abec6ab5.lean.js
rename to docs/document/assets/start_setting.md.c974b93d.lean.js
index 8081c0e0c..cece13718 100644
--- a/docs/document/assets/start_setting.md.abec6ab5.lean.js
+++ b/docs/document/assets/start_setting.md.c974b93d.lean.js
@@ -1 +1 @@
-import{_ as l,c as p,o,b as s,d as n,a}from"./app.6a0c1274.js";const w=JSON.parse('{"title":"设置面板","description":"","frontmatter":{},"headers":[{"level":2,"title":"选择列表","slug":"选择列表","link":"#选择列表","children":[]},{"level":2,"title":"列表嵌套","slug":"列表嵌套","link":"#列表嵌套","children":[]},{"level":2,"title":"切换按钮","slug":"切换按钮","link":"#切换按钮","children":[]},{"level":2,"title":"范围滑块","slug":"范围滑块","link":"#范围滑块","children":[]}],"relativePath":"start/setting.md","lastUpdated":1673441101000}'),e={name:"start/setting.md"},t=s("h1",{id:"设置面板",tabindex:"-1"},[n("设置面板 "),s("a",{class:"header-anchor",href:"#设置面板","aria-hidden":"true"},"#")],-1),c=s("p",null,[n("需先打开设置面板,播放器默认自带四个设置项:"),s("code",null,"flip"),n(", "),s("code",null,"playbackRate"),n(", "),s("code",null,"aspectRatio"),n(", "),s("code",null,"subtitleOffset")],-1),r=s("div",{className:"run-code"},"▶ Run Code",-1),D=a("",3),y=s("div",{className:"run-code"},"▶ Run Code",-1),F=a("",2),C=s("div",{className:"run-code"},"▶ Run Code",-1),A=a("",3),i=s("div",{className:"run-code"},"▶ Run Code",-1),d=a("",4),b=s("div",{className:"run-code"},"▶ Run Code",-1),u=a("",1),m=[t,c,r,D,y,F,C,A,i,d,b,u];function h(_,g,E,v,f,S){return o(),p("div",null,m)}const P=l(e,[["render",h]]);export{w as __pageData,P as default};
+import{_ as l,c as p,o,b as s,d as n,a}from"./app.fcc4273a.js";const w=JSON.parse('{"title":"设置面板","description":"","frontmatter":{},"headers":[{"level":2,"title":"选择列表","slug":"选择列表","link":"#选择列表","children":[]},{"level":2,"title":"列表嵌套","slug":"列表嵌套","link":"#列表嵌套","children":[]},{"level":2,"title":"切换按钮","slug":"切换按钮","link":"#切换按钮","children":[]},{"level":2,"title":"范围滑块","slug":"范围滑块","link":"#范围滑块","children":[]}],"relativePath":"start/setting.md","lastUpdated":1673441101000}'),e={name:"start/setting.md"},t=s("h1",{id:"设置面板",tabindex:"-1"},[n("设置面板 "),s("a",{class:"header-anchor",href:"#设置面板","aria-hidden":"true"},"#")],-1),c=s("p",null,[n("需先打开设置面板,播放器默认自带四个设置项:"),s("code",null,"flip"),n(", "),s("code",null,"playbackRate"),n(", "),s("code",null,"aspectRatio"),n(", "),s("code",null,"subtitleOffset")],-1),r=s("div",{className:"run-code"},"▶ Run Code",-1),D=a("",3),y=s("div",{className:"run-code"},"▶ Run Code",-1),F=a("",2),C=s("div",{className:"run-code"},"▶ Run Code",-1),A=a("",3),i=s("div",{className:"run-code"},"▶ Run Code",-1),d=a("",4),b=s("div",{className:"run-code"},"▶ Run Code",-1),u=a("",1),m=[t,c,r,D,y,F,C,A,i,d,b,u];function h(_,g,E,v,f,S){return o(),p("div",null,m)}const P=l(e,[["render",h]]);export{w as __pageData,P as default};
diff --git a/docs/document/en/index.html b/docs/document/en/index.html
index 88c7a8d4c..ad3399c8e 100644
--- a/docs/document/en/index.html
+++ b/docs/document/en/index.html
@@ -7,8 +7,8 @@
     
     
     
-    
-    
+    
+    
     
     
   
@@ -16,9 +16,9 @@
   
   
   
-    
-    
-    
+    
+    
+    
     
   
 
\ No newline at end of file
diff --git a/docs/document/hashmap.json b/docs/document/hashmap.json
index 2f82dde3c..384641f50 100644
--- a/docs/document/hashmap.json
+++ b/docs/document/hashmap.json
@@ -1 +1 @@
-{"advanced_class.md":"ab92c097","advanced_built-in.md":"d5fa367f","library_dash.md":"0efbf551","advanced_plugin.md":"e12f32ab","en_index.md":"943b3f33","library_hls.md":"ab796b88","plugin_control-ui.md":"e77b781e","index.md":"71948947","library_flv.md":"60789a7a","plugin_ads.md":"5c83dc19","plugin_hls-quality.md":"b08ccc68","plugin_iframe.md":"b08a7caf","advanced_property.md":"10e4e242","plugin_danmuku.md":"3b4c32ba","start_component.md":"523be2bd","advanced_event.md":"c05dcd09","start_setting.md":"abec6ab5","start_option.md":"a1a97f2a"}
+{"en_index.md":"452db7ee","advanced_plugin.md":"6eb8fb90","library_hls.md":"334fc6be","library_dash.md":"08fe87ea","advanced_class.md":"4438415e","advanced_built-in.md":"f6d6e866","plugin_control-ui.md":"e0e1ab21","library_flv.md":"fa1ac1fb","plugin_hls-quality.md":"75fa84d3","index.md":"c7d9ca26","plugin_ads.md":"49584a49","advanced_property.md":"44cedbca","plugin_danmuku.md":"475ba7a9","plugin_iframe.md":"df4119d4","advanced_event.md":"a872c7ef","start_component.md":"3cab1080","start_setting.md":"c974b93d","start_option.md":"b5d9fd52"}
diff --git a/docs/document/index.html b/docs/document/index.html
index 050e1664a..c555f3ca1 100644
--- a/docs/document/index.html
+++ b/docs/document/index.html
@@ -7,8 +7,8 @@
     
     
     
-    
-    
+    
+    
     
     
   
@@ -16,13 +16,13 @@
   
   
   
-    
Skip to content
On this page

安装使用

安装

bash
npm install artplayer
+    
Skip to content
On this page

安装使用

安装

bash
npm install artplayer
 
bash
yarn add artplayer
 
bash
pnpm add artplayer
 
html
<script src="path/to/artplayer.js"></script>
-

CDN

bash
https://cdn.jsdelivr.net/npm/artplayer/dist/artplayer.js
+

CDN

bash
https://cdn.jsdelivr.net/npm/artplayer/dist/artplayer.js
 
bash
https://unpkg.com/artplayer/dist/artplayer.js
-

使用

js
import Artplayer from 'artplayer';
+

使用

js
import Artplayer from 'artplayer';
 
 const art = new Artplayer({
     container: '.artplayer-app',
@@ -43,7 +43,7 @@
         <div class="artplayer-app"></div>
     </body>
 </html>
-

提示

播放器的尺寸依赖于容器 container 的尺寸,所以你的容器 container 必须是有尺寸的

以下链接可以看到更多的使用例子

/packages/artplayer-template

Vue.js

vue
<template>
+

提示

播放器的尺寸依赖于容器 container 的尺寸,所以你的容器 container 必须是有尺寸的

以下链接可以看到更多的使用例子

/packages/artplayer-template

Vue.js

vue
<template>
   <div ref="artRef"></div>
 </template>
 
@@ -109,7 +109,7 @@
   },
 };
 </script>
-

Artplayer 非响应式:

在 Vue.js 里直接修改 option 是不会改变播放器的

React.js

jsx
import { useEffect, useRef } from 'react';
+

Artplayer 非响应式:

在 Vue.js 里直接修改 option 是不会改变播放器的

React.js

jsx
import { useEffect, useRef } from 'react';
 import Artplayer from 'artplayer';
 
 export default function Player({ option, getInstance, ...rest }) {
@@ -177,8 +177,8 @@
   }
 }
 
- - + + \ No newline at end of file diff --git a/docs/document/library/dash.html b/docs/document/library/dash.html index bf7aac91d..79b6bd610 100644 --- a/docs/document/library/dash.html +++ b/docs/document/library/dash.html @@ -7,8 +7,8 @@ - - + + @@ -16,7 +16,7 @@ -
Skip to content
On this page

dash.js

👉 https://github.com/Dash-Industry-Forum/dash.js

▶ Run Code
js
function playMpd(video, url, art) {
+    
Skip to content
On this page

dash.js

👉 https://github.com/Dash-Industry-Forum/dash.js

▶ Run Code
js
function playMpd(video, url, art) {
     if (dashjs.supportsMediaSource()) {
         const dash = dashjs.MediaPlayer().create();
         dash.initialize(video, url, art.option.autoplay);
@@ -43,8 +43,8 @@
     console.info(art.dash);
 });
 
- - + + \ No newline at end of file diff --git a/docs/document/library/flv.html b/docs/document/library/flv.html index 2c239014a..179bbf14c 100644 --- a/docs/document/library/flv.html +++ b/docs/document/library/flv.html @@ -7,8 +7,8 @@ - - + + @@ -16,7 +16,7 @@ -
Skip to content
On this page

flv.js

👉 https://github.com/Bilibili/flv.js

▶ Run Code
js
function playFlv(video, url, art) {
+    
Skip to content
On this page

flv.js

👉 https://github.com/Bilibili/flv.js

▶ Run Code
js
function playFlv(video, url, art) {
     if (flvjs.isSupported()) {
         const flv = flvjs.createPlayer({ type: 'flv', url });
         flv.attachMediaElement(video);
@@ -44,8 +44,8 @@
     console.info(art.flv);
 });
 
- - + + \ No newline at end of file diff --git a/docs/document/library/hls.html b/docs/document/library/hls.html index 66adaa8a2..d573a615c 100644 --- a/docs/document/library/hls.html +++ b/docs/document/library/hls.html @@ -7,8 +7,8 @@ - - + + @@ -16,7 +16,7 @@ -
Skip to content
On this page

hls.js

👉 https://github.com/video-dev/hls.js

▶ Run Code
js
function playM3u8(video, url, art) {
+    
Skip to content
On this page

hls.js

👉 https://github.com/video-dev/hls.js

▶ Run Code
js
function playM3u8(video, url, art) {
     if (Hls.isSupported()) {
         const hls = new Hls();
         hls.loadSource(url);
@@ -46,8 +46,8 @@
     console.info(art.hls);
 });
 
- - + + \ No newline at end of file diff --git a/docs/document/plugin/ads.html b/docs/document/plugin/ads.html index 136b178c7..dd5837965 100644 --- a/docs/document/plugin/ads.html +++ b/docs/document/plugin/ads.html @@ -7,8 +7,8 @@ - - + + @@ -16,11 +16,11 @@ -
Skip to content
On this page

视频广告

演示

👉 查看完整演示

安装

bash
npm install artplayer-plugin-ads
+    
Skip to content
On this page

视频广告

演示

👉 查看完整演示

安装

bash
npm install artplayer-plugin-ads
 
bash
yarn add artplayer-plugin-ads
 
bash
pnpm add artplayer-plugin-ads
 
html
<script src="path/to/artplayer-plugin-ads.js"></script>
-

CDN

bash
https://cdn.jsdelivr.net/npm/artplayer-plugin-ads/dist/artplayer-plugin-ads.js
+

CDN

bash
https://cdn.jsdelivr.net/npm/artplayer-plugin-ads/dist/artplayer-plugin-ads.js
 
bash
https://unpkg.com/artplayer-plugin-ads/dist/artplayer-plugin-ads.js
 

使用

▶ Run Code
js
var art = new Artplayer({
     container: '.artplayer-app',
@@ -71,8 +71,8 @@
     console.info(ads);
 });
 
- - + + \ No newline at end of file diff --git a/docs/document/plugin/control-ui.html b/docs/document/plugin/control-ui.html index 9a2f08cfa..37aa11b5d 100644 --- a/docs/document/plugin/control-ui.html +++ b/docs/document/plugin/control-ui.html @@ -7,8 +7,8 @@ - - + + @@ -16,11 +16,11 @@ -
Skip to content
On this page

控制器皮肤

演示

👉 查看完整演示

安装

bash
npm install artplayer-plugin-control
+    
Skip to content
On this page

控制器皮肤

演示

👉 查看完整演示

安装

bash
npm install artplayer-plugin-control
 
bash
yarn add artplayer-plugin-control
 
bash
pnpm add artplayer-plugin-control
 
html
<script src="path/to/artplayer-plugin-control.js"></script>
-

CDN

bash
https://cdn.jsdelivr.net/npm/artplayer-plugin-control/dist/artplayer-plugin-control.js
+

CDN

bash
https://cdn.jsdelivr.net/npm/artplayer-plugin-control/dist/artplayer-plugin-control.js
 
bash
https://unpkg.com/artplayer-plugin-control/dist/artplayer-plugin-control.js
 

使用

▶ Run Code
js
var art = new Artplayer({
     container: '.artplayer-app',
@@ -51,8 +51,8 @@
     ],
 });
 
- - + + \ No newline at end of file diff --git a/docs/document/plugin/danmuku.html b/docs/document/plugin/danmuku.html index da202e294..d8b5d2eb4 100644 --- a/docs/document/plugin/danmuku.html +++ b/docs/document/plugin/danmuku.html @@ -7,8 +7,8 @@ - - + + @@ -16,11 +16,11 @@ -
Skip to content
On this page

弹幕库

演示

👉 查看完整演示

安装

bash
npm install artplayer-plugin-danmuku
+    
Skip to content
On this page

弹幕库

演示

👉 查看完整演示

安装

bash
npm install artplayer-plugin-danmuku
 
bash
yarn add artplayer-plugin-danmuku
 
bash
pnpm add artplayer-plugin-danmuku
 
html
<script src="path/to/artplayer-plugin-danmuku.js"></script>
-

CDN

bash
https://cdn.jsdelivr.net/npm/artplayer-plugin-danmuku/dist/artplayer-plugin-danmuku.js
+

CDN

bash
https://cdn.jsdelivr.net/npm/artplayer-plugin-danmuku/dist/artplayer-plugin-danmuku.js
 
bash
https://unpkg.com/artplayer-plugin-danmuku/dist/artplayer-plugin-danmuku.js
 

选项

js
{
     danmuku: [], // 弹幕库,支持数组, xml 地址, Promise返回数组
@@ -317,8 +317,8 @@
     console.info('弹幕销毁');
 });
 
- - + + \ No newline at end of file diff --git a/docs/document/plugin/hls-quality.html b/docs/document/plugin/hls-quality.html index ebcca1417..e73e992d9 100644 --- a/docs/document/plugin/hls-quality.html +++ b/docs/document/plugin/hls-quality.html @@ -7,8 +7,8 @@ - - + + @@ -16,15 +16,15 @@ -
Skip to content
On this page

HLS 画质

演示

👉 查看完整演示

安装

bash
npm install artplayer-plugin-hls-quality
+    
Skip to content
On this page

HLS 画质

演示

👉 查看完整演示

安装

bash
npm install artplayer-plugin-hls-quality
 
bash
yarn add artplayer-plugin-hls-quality
 
bash
pnpm add artplayer-plugin-hls-quality
 
html
<script src="path/to/artplayer-plugin-hls-quality.js"></script>
-

CDN

bash
https://cdn.jsdelivr.net/npm/artplayer-plugin-hls-quality/dist/artplayer-plugin-hls-quality.js
+

CDN

bash
https://cdn.jsdelivr.net/npm/artplayer-plugin-hls-quality/dist/artplayer-plugin-hls-quality.js
 
bash
https://unpkg.com/artplayer-plugin-hls-quality/dist/artplayer-plugin-hls-quality.js
 
- - + + \ No newline at end of file diff --git a/docs/document/plugin/iframe.html b/docs/document/plugin/iframe.html index 5fbee2b58..fa5b64d6e 100644 --- a/docs/document/plugin/iframe.html +++ b/docs/document/plugin/iframe.html @@ -7,8 +7,8 @@ - - + + @@ -16,13 +16,13 @@ -
Skip to content
On this page

Iframe 控制

说明

通过该插件,你可以轻松在 index.html 里控制跨域 iframe.html 页面里的播放器,如在 index.html 里通过代码控制 iframe.html 播放器的功能,或者获取 iframe.html 播放器的值

演示

👉 查看完整演示

安装

bash
npm install artplayer-plugin-iframe
+    
Skip to content
On this page

Iframe 控制

说明

通过该插件,你可以轻松在 index.html 里控制跨域 iframe.html 页面里的播放器,如在 index.html 里通过代码控制 iframe.html 播放器的功能,或者获取 iframe.html 播放器的值

演示

👉 查看完整演示

安装

bash
npm install artplayer-plugin-iframe
 
bash
yarn add artplayer-plugin-iframe
 
bash
pnpm add artplayer-plugin-iframe
 
html
<script src="path/to/artplayer-plugin-iframe.js"></script>
-

CDN

bash
https://cdn.jsdelivr.net/npm/artplayer-plugin-iframe/dist/artplayer-plugin-iframe.js
+

CDN

bash
https://cdn.jsdelivr.net/npm/artplayer-plugin-iframe/dist/artplayer-plugin-iframe.js
 
bash
https://unpkg.com/artplayer-plugin-iframe/dist/artplayer-plugin-iframe.js
-

使用

html
<!DOCTYPE html>
+

使用

html
<!DOCTYPE html>
 <html>
     <head>
         <title>ArtPlayer</title>
@@ -115,8 +115,8 @@
     });
 });
 
- - + + \ No newline at end of file diff --git a/docs/document/start/component.html b/docs/document/start/component.html index 6393ad56b..f973ce838 100644 --- a/docs/document/start/component.html +++ b/docs/document/start/component.html @@ -7,8 +7,8 @@ - - + + @@ -16,7 +16,7 @@ -
Skip to content
On this page

组件配置

这里所说的组件配置主要是指:layers , controls , contextmenu 这三个共用的配置:

属性类型描述
disableBoolean是否禁用组件
nameString组件唯一名称,用于标记类名
indexNumber组件索引,用于显示的优先级
htmlString, Element组件的 DOM 元素
styleObject组件样式对象
clickFunction组件点击事件
mountedFunction组件挂载后触发
tooltipString组件的提示文本

提示

  • 当前组件只能添加,并没有销毁的功能
  • 通过 name 选项可以快速获取组件的 DOM 元素
  • 通过 index 选项可以控制组件出现的顺序

layers

实例化时添加一个层,例如可以添加 logo 或者 广告 等等

▶ Run Code
js
var img = '/assets/sample/layer.png';
+    
Skip to content
On this page

组件配置

这里所说的组件配置主要是指:layers , controls , contextmenu 这三个共用的配置:

属性类型描述
disableBoolean是否禁用组件
nameString组件唯一名称,用于标记类名
indexNumber组件索引,用于显示的优先级
htmlString, Element组件的 DOM 元素
styleObject组件样式对象
clickFunction组件点击事件
mountedFunction组件挂载后触发
tooltipString组件的提示文本

提示

  • 当前组件只能添加,并没有销毁的功能
  • 通过 name 选项可以快速获取组件的 DOM 元素
  • 通过 index 选项可以控制组件出现的顺序

layers

实例化时添加一个层,例如可以添加 logo 或者 广告 等等

▶ Run Code
js
var img = '/assets/sample/layer.png';
 var art = new Artplayer({
     container: '.artplayer-app',
     url: '/assets/sample/video.mp4',
@@ -163,8 +163,8 @@
 
 console.info(art.contextmenu['your-menu']);
 
- - + + \ No newline at end of file diff --git a/docs/document/start/option.html b/docs/document/start/option.html index 3abf46341..b568ed249 100644 --- a/docs/document/start/option.html +++ b/docs/document/start/option.html @@ -7,8 +7,8 @@ - - + + @@ -16,7 +16,7 @@ -
Skip to content
On this page

基础选项

container

  • Type: String, Element
  • Default: #artplayer

播放器挂载的 DOM 容器

▶ Run Code
js
var art = new Artplayer({
+    
Skip to content
On this page

基础选项

container

  • Type: String, Element
  • Default: #artplayer

播放器挂载的 DOM 容器

▶ Run Code
js
var art = new Artplayer({
     container: '.artplayer-app', 
     // container: document.querySelector('.artplayer-app'),
     url: '/assets/sample/video.mp4',
@@ -451,8 +451,8 @@
     airplay: true,
 });
 
- - + + \ No newline at end of file diff --git a/docs/document/start/setting.html b/docs/document/start/setting.html index ab0aa1645..11165a554 100644 --- a/docs/document/start/setting.html +++ b/docs/document/start/setting.html @@ -7,8 +7,8 @@ - - + + @@ -16,7 +16,7 @@ -
Skip to content
On this page

设置面板

需先打开设置面板,播放器默认自带四个设置项:flip, playbackRate, aspectRatio, subtitleOffset

▶ Run Code
js
var art = new Artplayer({
+    
Skip to content
On this page

设置面板

需先打开设置面板,播放器默认自带四个设置项:flip, playbackRate, aspectRatio, subtitleOffset

▶ Run Code
js
var art = new Artplayer({
     container: '.artplayer-app',
     url: '/assets/sample/video.mp4',
 	setting: true,
@@ -165,8 +165,8 @@
     ],
 });
 
- - + + \ No newline at end of file diff --git a/packages/artplayer-vitepress/docs/.vitepress/cache/deps/@theme_index.js b/packages/artplayer-vitepress/docs/.vitepress/cache/deps/@theme_index.js index 2e70ced3c..7dc54bb50 100644 --- a/packages/artplayer-vitepress/docs/.vitepress/cache/deps/@theme_index.js +++ b/packages/artplayer-vitepress/docs/.vitepress/cache/deps/@theme_index.js @@ -1,24 +1,24 @@ // node_modules/vitepress/dist/client/theme-default/index.js -import "C:/Users/laozh/Desktop/github/ArtPlayer/packages/artplayer-vitepress/node_modules/vitepress/dist/client/theme-default/styles/fonts.css"; -import "C:/Users/laozh/Desktop/github/ArtPlayer/packages/artplayer-vitepress/node_modules/vitepress/dist/client/theme-default/styles/vars.css"; -import "C:/Users/laozh/Desktop/github/ArtPlayer/packages/artplayer-vitepress/node_modules/vitepress/dist/client/theme-default/styles/base.css"; -import "C:/Users/laozh/Desktop/github/ArtPlayer/packages/artplayer-vitepress/node_modules/vitepress/dist/client/theme-default/styles/utils.css"; -import "C:/Users/laozh/Desktop/github/ArtPlayer/packages/artplayer-vitepress/node_modules/vitepress/dist/client/theme-default/styles/components/custom-block.css"; -import "C:/Users/laozh/Desktop/github/ArtPlayer/packages/artplayer-vitepress/node_modules/vitepress/dist/client/theme-default/styles/components/vp-code.css"; -import "C:/Users/laozh/Desktop/github/ArtPlayer/packages/artplayer-vitepress/node_modules/vitepress/dist/client/theme-default/styles/components/vp-code-group.css"; -import "C:/Users/laozh/Desktop/github/ArtPlayer/packages/artplayer-vitepress/node_modules/vitepress/dist/client/theme-default/styles/components/vp-doc.css"; -import "C:/Users/laozh/Desktop/github/ArtPlayer/packages/artplayer-vitepress/node_modules/vitepress/dist/client/theme-default/styles/components/vp-sponsor.css"; -import VPBadge from "C:/Users/laozh/Desktop/github/ArtPlayer/packages/artplayer-vitepress/node_modules/vitepress/dist/client/theme-default/components/VPBadge.vue"; -import Layout from "C:/Users/laozh/Desktop/github/ArtPlayer/packages/artplayer-vitepress/node_modules/vitepress/dist/client/theme-default/Layout.vue"; -import NotFound from "C:/Users/laozh/Desktop/github/ArtPlayer/packages/artplayer-vitepress/node_modules/vitepress/dist/client/theme-default/NotFound.vue"; -import { default as default2 } from "C:/Users/laozh/Desktop/github/ArtPlayer/packages/artplayer-vitepress/node_modules/vitepress/dist/client/theme-default/components/VPHomeHero.vue"; -import { default as default3 } from "C:/Users/laozh/Desktop/github/ArtPlayer/packages/artplayer-vitepress/node_modules/vitepress/dist/client/theme-default/components/VPHomeFeatures.vue"; -import { default as default4 } from "C:/Users/laozh/Desktop/github/ArtPlayer/packages/artplayer-vitepress/node_modules/vitepress/dist/client/theme-default/components/VPHomeSponsors.vue"; -import { default as default5 } from "C:/Users/laozh/Desktop/github/ArtPlayer/packages/artplayer-vitepress/node_modules/vitepress/dist/client/theme-default/components/VPDocAsideSponsors.vue"; -import { default as default6 } from "C:/Users/laozh/Desktop/github/ArtPlayer/packages/artplayer-vitepress/node_modules/vitepress/dist/client/theme-default/components/VPTeamPage.vue"; -import { default as default7 } from "C:/Users/laozh/Desktop/github/ArtPlayer/packages/artplayer-vitepress/node_modules/vitepress/dist/client/theme-default/components/VPTeamPageTitle.vue"; -import { default as default8 } from "C:/Users/laozh/Desktop/github/ArtPlayer/packages/artplayer-vitepress/node_modules/vitepress/dist/client/theme-default/components/VPTeamPageSection.vue"; -import { default as default9 } from "C:/Users/laozh/Desktop/github/ArtPlayer/packages/artplayer-vitepress/node_modules/vitepress/dist/client/theme-default/components/VPTeamMembers.vue"; +import "/Users/zhaohaiwei/Desktop/github/ArtPlayer/packages/artplayer-vitepress/node_modules/vitepress/dist/client/theme-default/styles/fonts.css"; +import "/Users/zhaohaiwei/Desktop/github/ArtPlayer/packages/artplayer-vitepress/node_modules/vitepress/dist/client/theme-default/styles/vars.css"; +import "/Users/zhaohaiwei/Desktop/github/ArtPlayer/packages/artplayer-vitepress/node_modules/vitepress/dist/client/theme-default/styles/base.css"; +import "/Users/zhaohaiwei/Desktop/github/ArtPlayer/packages/artplayer-vitepress/node_modules/vitepress/dist/client/theme-default/styles/utils.css"; +import "/Users/zhaohaiwei/Desktop/github/ArtPlayer/packages/artplayer-vitepress/node_modules/vitepress/dist/client/theme-default/styles/components/custom-block.css"; +import "/Users/zhaohaiwei/Desktop/github/ArtPlayer/packages/artplayer-vitepress/node_modules/vitepress/dist/client/theme-default/styles/components/vp-code.css"; +import "/Users/zhaohaiwei/Desktop/github/ArtPlayer/packages/artplayer-vitepress/node_modules/vitepress/dist/client/theme-default/styles/components/vp-code-group.css"; +import "/Users/zhaohaiwei/Desktop/github/ArtPlayer/packages/artplayer-vitepress/node_modules/vitepress/dist/client/theme-default/styles/components/vp-doc.css"; +import "/Users/zhaohaiwei/Desktop/github/ArtPlayer/packages/artplayer-vitepress/node_modules/vitepress/dist/client/theme-default/styles/components/vp-sponsor.css"; +import VPBadge from "/Users/zhaohaiwei/Desktop/github/ArtPlayer/packages/artplayer-vitepress/node_modules/vitepress/dist/client/theme-default/components/VPBadge.vue"; +import Layout from "/Users/zhaohaiwei/Desktop/github/ArtPlayer/packages/artplayer-vitepress/node_modules/vitepress/dist/client/theme-default/Layout.vue"; +import NotFound from "/Users/zhaohaiwei/Desktop/github/ArtPlayer/packages/artplayer-vitepress/node_modules/vitepress/dist/client/theme-default/NotFound.vue"; +import { default as default2 } from "/Users/zhaohaiwei/Desktop/github/ArtPlayer/packages/artplayer-vitepress/node_modules/vitepress/dist/client/theme-default/components/VPHomeHero.vue"; +import { default as default3 } from "/Users/zhaohaiwei/Desktop/github/ArtPlayer/packages/artplayer-vitepress/node_modules/vitepress/dist/client/theme-default/components/VPHomeFeatures.vue"; +import { default as default4 } from "/Users/zhaohaiwei/Desktop/github/ArtPlayer/packages/artplayer-vitepress/node_modules/vitepress/dist/client/theme-default/components/VPHomeSponsors.vue"; +import { default as default5 } from "/Users/zhaohaiwei/Desktop/github/ArtPlayer/packages/artplayer-vitepress/node_modules/vitepress/dist/client/theme-default/components/VPDocAsideSponsors.vue"; +import { default as default6 } from "/Users/zhaohaiwei/Desktop/github/ArtPlayer/packages/artplayer-vitepress/node_modules/vitepress/dist/client/theme-default/components/VPTeamPage.vue"; +import { default as default7 } from "/Users/zhaohaiwei/Desktop/github/ArtPlayer/packages/artplayer-vitepress/node_modules/vitepress/dist/client/theme-default/components/VPTeamPageTitle.vue"; +import { default as default8 } from "/Users/zhaohaiwei/Desktop/github/ArtPlayer/packages/artplayer-vitepress/node_modules/vitepress/dist/client/theme-default/components/VPTeamPageSection.vue"; +import { default as default9 } from "/Users/zhaohaiwei/Desktop/github/ArtPlayer/packages/artplayer-vitepress/node_modules/vitepress/dist/client/theme-default/components/VPTeamMembers.vue"; var theme = { Layout, NotFound, diff --git a/packages/artplayer-vitepress/docs/.vitepress/cache/deps/_metadata.json b/packages/artplayer-vitepress/docs/.vitepress/cache/deps/_metadata.json index 0f21241d1..550cbb252 100644 --- a/packages/artplayer-vitepress/docs/.vitepress/cache/deps/_metadata.json +++ b/packages/artplayer-vitepress/docs/.vitepress/cache/deps/_metadata.json @@ -1,17 +1,17 @@ { - "hash": "7a49d08d", - "browserHash": "4df1cc4c", + "hash": "88983794", + "browserHash": "db84c00b", "optimized": { "vue": { "src": "../../../../node_modules/vue/dist/vue.runtime.esm-bundler.js", "file": "vue.js", - "fileHash": "9fa186ee", + "fileHash": "b317fa7b", "needsInterop": false }, "@theme/index": { "src": "../../../../node_modules/vitepress/dist/client/theme-default/index.js", "file": "@theme_index.js", - "fileHash": "b4ca0e88", + "fileHash": "027e158b", "needsInterop": false } }, diff --git a/packages/artplayer-vitepress/docs/.vitepress/cache/deps/vue.js b/packages/artplayer-vitepress/docs/.vitepress/cache/deps/vue.js index bd4af9e79..cd812256b 100644 --- a/packages/artplayer-vitepress/docs/.vitepress/cache/deps/vue.js +++ b/packages/artplayer-vitepress/docs/.vitepress/cache/deps/vue.js @@ -196,6 +196,7 @@ var toRawType = (value) => { var isPlainObject = (val) => toTypeString(val) === "[object Object]"; var isIntegerKey = (key) => isString(key) && key !== "NaN" && key[0] !== "-" && "" + parseInt(key, 10) === key; var isReservedProp = makeMap( + // the leading comma is intentional so empty string "" is also included ",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted" ); var isBuiltInDirective = makeMap("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"); @@ -265,9 +266,17 @@ var EffectScope = class { warn(`cannot run an inactive effect scope.`); } } + /** + * This should only be called on non-detached scopes + * @internal + */ on() { activeEffectScope = this; } + /** + * This should only be called on non-detached scopes + * @internal + */ off() { activeEffectScope = this.parent; } @@ -726,7 +735,10 @@ var shallowReadonlyHandlers = extend({}, readonlyHandlers, { var toShallow = (value) => value; var getProto = (v) => Reflect.getPrototypeOf(v); function get$1(target, key, isReadonly2 = false, isShallow3 = false) { - target = target["__v_raw"]; + target = target[ + "__v_raw" + /* ReactiveFlags.RAW */ + ]; const rawTarget = toRaw(target); const rawKey = toRaw(key); if (!isReadonly2) { @@ -746,7 +758,10 @@ function get$1(target, key, isReadonly2 = false, isShallow3 = false) { } } function has$1(key, isReadonly2 = false) { - const target = this["__v_raw"]; + const target = this[ + "__v_raw" + /* ReactiveFlags.RAW */ + ]; const rawTarget = toRaw(target); const rawKey = toRaw(key); if (!isReadonly2) { @@ -758,7 +773,10 @@ function has$1(key, isReadonly2 = false) { return key === rawKey ? target.has(key) : target.has(key) || target.has(rawKey); } function size(target, isReadonly2 = false) { - target = target["__v_raw"]; + target = target[ + "__v_raw" + /* ReactiveFlags.RAW */ + ]; !isReadonly2 && track(toRaw(target), "iterate", ITERATE_KEY); return Reflect.get(target, "size", target); } @@ -823,7 +841,10 @@ function clear() { function createForEach(isReadonly2, isShallow3) { return function forEach(callback, thisArg) { const observed = this; - const target = observed["__v_raw"]; + const target = observed[ + "__v_raw" + /* ReactiveFlags.RAW */ + ]; const rawTarget = toRaw(target); const wrap = isShallow3 ? toShallow : isReadonly2 ? toReadonly : toReactive; !isReadonly2 && track(rawTarget, "iterate", ITERATE_KEY); @@ -834,7 +855,10 @@ function createForEach(isReadonly2, isShallow3) { } function createIterableMethod(method, isReadonly2, isShallow3) { return function(...args) { - const target = this["__v_raw"]; + const target = this[ + "__v_raw" + /* ReactiveFlags.RAW */ + ]; const rawTarget = toRaw(target); const targetIsMap = isMap(rawTarget); const isPair = method === "entries" || method === Symbol.iterator && targetIsMap; @@ -843,6 +867,7 @@ function createIterableMethod(method, isReadonly2, isShallow3) { const wrap = isShallow3 ? toShallow : isReadonly2 ? toReadonly : toReactive; !isReadonly2 && track(rawTarget, "iterate", isKeyOnly ? MAP_KEY_ITERATE_KEY : ITERATE_KEY); return { + // iterator protocol next() { const { value, done } = innerIterator.next(); return done ? { value, done } : { @@ -850,6 +875,7 @@ function createIterableMethod(method, isReadonly2, isShallow3) { done }; }, + // iterable protocol [Symbol.iterator]() { return this; } @@ -904,10 +930,22 @@ function createInstrumentations() { has(key) { return has$1.call(this, key, true); }, - add: createReadonlyMethod("add"), - set: createReadonlyMethod("set"), - delete: createReadonlyMethod("delete"), - clear: createReadonlyMethod("clear"), + add: createReadonlyMethod( + "add" + /* TriggerOpTypes.ADD */ + ), + set: createReadonlyMethod( + "set" + /* TriggerOpTypes.SET */ + ), + delete: createReadonlyMethod( + "delete" + /* TriggerOpTypes.DELETE */ + ), + clear: createReadonlyMethod( + "clear" + /* TriggerOpTypes.CLEAR */ + ), forEach: createForEach(true, false) }; const shallowReadonlyInstrumentations2 = { @@ -920,10 +958,22 @@ function createInstrumentations() { has(key) { return has$1.call(this, key, true); }, - add: createReadonlyMethod("add"), - set: createReadonlyMethod("set"), - delete: createReadonlyMethod("delete"), - clear: createReadonlyMethod("clear"), + add: createReadonlyMethod( + "add" + /* TriggerOpTypes.ADD */ + ), + set: createReadonlyMethod( + "set" + /* TriggerOpTypes.SET */ + ), + delete: createReadonlyMethod( + "delete" + /* TriggerOpTypes.DELETE */ + ), + clear: createReadonlyMethod( + "clear" + /* TriggerOpTypes.CLEAR */ + ), forEach: createForEach(true, true) }; const iteratorMethods = ["keys", "values", "entries", Symbol.iterator]; @@ -992,7 +1042,10 @@ function targetTypeMap(rawType) { } } function getTargetType(value) { - return value["__v_skip"] || !Object.isExtensible(value) ? 0 : targetTypeMap(toRawType(value)); + return value[ + "__v_skip" + /* ReactiveFlags.SKIP */ + ] || !Object.isExtensible(value) ? 0 : targetTypeMap(toRawType(value)); } function reactive(target) { if (isReadonly(target)) { @@ -1016,7 +1069,13 @@ function createReactiveObject(target, isReadonly2, baseHandlers, collectionHandl } return target; } - if (target["__v_raw"] && !(isReadonly2 && target["__v_isReactive"])) { + if (target[ + "__v_raw" + /* ReactiveFlags.RAW */ + ] && !(isReadonly2 && target[ + "__v_isReactive" + /* ReactiveFlags.IS_REACTIVE */ + ])) { return target; } const existingProxy = proxyMap.get(target); @@ -1033,21 +1092,36 @@ function createReactiveObject(target, isReadonly2, baseHandlers, collectionHandl } function isReactive(value) { if (isReadonly(value)) { - return isReactive(value["__v_raw"]); + return isReactive(value[ + "__v_raw" + /* ReactiveFlags.RAW */ + ]); } - return !!(value && value["__v_isReactive"]); + return !!(value && value[ + "__v_isReactive" + /* ReactiveFlags.IS_REACTIVE */ + ]); } function isReadonly(value) { - return !!(value && value["__v_isReadonly"]); + return !!(value && value[ + "__v_isReadonly" + /* ReactiveFlags.IS_READONLY */ + ]); } function isShallow(value) { - return !!(value && value["__v_isShallow"]); + return !!(value && value[ + "__v_isShallow" + /* ReactiveFlags.IS_SHALLOW */ + ]); } function isProxy(value) { return isReactive(value) || isReadonly(value); } function toRaw(observed) { - const raw = observed && observed["__v_raw"]; + const raw = observed && observed[ + "__v_raw" + /* ReactiveFlags.RAW */ + ]; return raw ? toRaw(raw) : observed; } function markRaw(value) { @@ -1206,7 +1280,10 @@ var ComputedRefImpl = class { }); this.effect.computed = this; this.effect.active = this._cacheable = !isSSR; - this["__v_isReadonly"] = isReadonly2; + this[ + "__v_isReadonly" + /* ReactiveFlags.IS_READONLY */ + ] = isReadonly2; } get value() { const self2 = toRaw(this); @@ -1270,7 +1347,8 @@ function warn2(msg, ...args) { ]); } else { const warnArgs = [`[Vue warn]: ${msg}`, ...args]; - if (trace.length && true) { + if (trace.length && // avoid spamming console during tests + true) { warnArgs.push(` `, ...formatTrace(trace)); } @@ -1342,35 +1420,122 @@ function formatProp(key, value, raw) { } } var ErrorTypeStrings = { - ["sp"]: "serverPrefetch hook", - ["bc"]: "beforeCreate hook", - ["c"]: "created hook", - ["bm"]: "beforeMount hook", - ["m"]: "mounted hook", - ["bu"]: "beforeUpdate hook", - ["u"]: "updated", - ["bum"]: "beforeUnmount hook", - ["um"]: "unmounted hook", - ["a"]: "activated hook", - ["da"]: "deactivated hook", - ["ec"]: "errorCaptured hook", - ["rtc"]: "renderTracked hook", - ["rtg"]: "renderTriggered hook", - [0]: "setup function", - [1]: "render function", - [2]: "watcher getter", - [3]: "watcher callback", - [4]: "watcher cleanup function", - [5]: "native event handler", - [6]: "component event handler", - [7]: "vnode hook", - [8]: "directive hook", - [9]: "transition hook", - [10]: "app errorHandler", - [11]: "app warnHandler", - [12]: "ref function", - [13]: "async component loader", - [14]: "scheduler flush. This is likely a Vue internals bug. Please open an issue at https://new-issue.vuejs.org/?repo=vuejs/core" + [ + "sp" + /* LifecycleHooks.SERVER_PREFETCH */ + ]: "serverPrefetch hook", + [ + "bc" + /* LifecycleHooks.BEFORE_CREATE */ + ]: "beforeCreate hook", + [ + "c" + /* LifecycleHooks.CREATED */ + ]: "created hook", + [ + "bm" + /* LifecycleHooks.BEFORE_MOUNT */ + ]: "beforeMount hook", + [ + "m" + /* LifecycleHooks.MOUNTED */ + ]: "mounted hook", + [ + "bu" + /* LifecycleHooks.BEFORE_UPDATE */ + ]: "beforeUpdate hook", + [ + "u" + /* LifecycleHooks.UPDATED */ + ]: "updated", + [ + "bum" + /* LifecycleHooks.BEFORE_UNMOUNT */ + ]: "beforeUnmount hook", + [ + "um" + /* LifecycleHooks.UNMOUNTED */ + ]: "unmounted hook", + [ + "a" + /* LifecycleHooks.ACTIVATED */ + ]: "activated hook", + [ + "da" + /* LifecycleHooks.DEACTIVATED */ + ]: "deactivated hook", + [ + "ec" + /* LifecycleHooks.ERROR_CAPTURED */ + ]: "errorCaptured hook", + [ + "rtc" + /* LifecycleHooks.RENDER_TRACKED */ + ]: "renderTracked hook", + [ + "rtg" + /* LifecycleHooks.RENDER_TRIGGERED */ + ]: "renderTriggered hook", + [ + 0 + /* ErrorCodes.SETUP_FUNCTION */ + ]: "setup function", + [ + 1 + /* ErrorCodes.RENDER_FUNCTION */ + ]: "render function", + [ + 2 + /* ErrorCodes.WATCH_GETTER */ + ]: "watcher getter", + [ + 3 + /* ErrorCodes.WATCH_CALLBACK */ + ]: "watcher callback", + [ + 4 + /* ErrorCodes.WATCH_CLEANUP */ + ]: "watcher cleanup function", + [ + 5 + /* ErrorCodes.NATIVE_EVENT_HANDLER */ + ]: "native event handler", + [ + 6 + /* ErrorCodes.COMPONENT_EVENT_HANDLER */ + ]: "component event handler", + [ + 7 + /* ErrorCodes.VNODE_HOOK */ + ]: "vnode hook", + [ + 8 + /* ErrorCodes.DIRECTIVE_HOOK */ + ]: "directive hook", + [ + 9 + /* ErrorCodes.TRANSITION_HOOK */ + ]: "transition hook", + [ + 10 + /* ErrorCodes.APP_ERROR_HANDLER */ + ]: "app errorHandler", + [ + 11 + /* ErrorCodes.APP_WARN_HANDLER */ + ]: "app warnHandler", + [ + 12 + /* ErrorCodes.FUNCTION_REF */ + ]: "ref function", + [ + 13 + /* ErrorCodes.ASYNC_COMPONENT_LOADER */ + ]: "async component loader", + [ + 14 + /* ErrorCodes.SCHEDULER */ + ]: "scheduler flush. This is likely a Vue internals bug. Please open an issue at https://new-issue.vuejs.org/?repo=vuejs/core" }; function callWithErrorHandling(fn, instance, type, args) { let res; @@ -1562,7 +1727,12 @@ function flushJobs(seen) { if (check(job)) { continue; } - callWithErrorHandling(job, null, 14); + callWithErrorHandling( + job, + null, + 14 + /* ErrorCodes.SCHEDULER */ + ); } } } finally { @@ -1714,7 +1884,12 @@ function setDevtoolsHook(hook, target) { devtools.enabled = true; buffer.forEach(({ event, args }) => devtools.emit(event, ...args)); buffer = []; - } else if (typeof window !== "undefined" && window.HTMLElement && !((_b = (_a2 = window.navigator) === null || _a2 === void 0 ? void 0 : _a2.userAgent) === null || _b === void 0 ? void 0 : _b.includes("jsdom"))) { + } else if (// handle late devtools injection - only do this if we are in an actual + // browser environment to avoid the timer handle stalling test runner exit + // (#4815) + typeof window !== "undefined" && // some envs mock window but not fully + window.HTMLElement && // also exclude jsdom + !((_b = (_a2 = window.navigator) === null || _a2 === void 0 ? void 0 : _a2.userAgent) === null || _b === void 0 ? void 0 : _b.includes("jsdom"))) { const replay = target.__VUE_DEVTOOLS_HOOK_REPLAY__ = target.__VUE_DEVTOOLS_HOOK_REPLAY__ || []; replay.push((newHook) => { setDevtoolsHook(newHook, target); @@ -1742,11 +1917,21 @@ function devtoolsInitApp(app, version2) { function devtoolsUnmountApp(app) { emit("app:unmount", app); } -var devtoolsComponentAdded = createDevtoolsComponentHook("component:added"); -var devtoolsComponentUpdated = createDevtoolsComponentHook("component:updated"); -var _devtoolsComponentRemoved = createDevtoolsComponentHook("component:removed"); +var devtoolsComponentAdded = createDevtoolsComponentHook( + "component:added" + /* DevtoolsHooks.COMPONENT_ADDED */ +); +var devtoolsComponentUpdated = createDevtoolsComponentHook( + "component:updated" + /* DevtoolsHooks.COMPONENT_UPDATED */ +); +var _devtoolsComponentRemoved = createDevtoolsComponentHook( + "component:removed" + /* DevtoolsHooks.COMPONENT_REMOVED */ +); var devtoolsComponentRemoved = (component) => { - if (devtools && typeof devtools.cleanupBuffer === "function" && !devtools.cleanupBuffer(component)) { + if (devtools && typeof devtools.cleanupBuffer === "function" && // remove the component if it wasn't buffered + !devtools.cleanupBuffer(component)) { _devtoolsComponentRemoved(component); } }; @@ -1755,8 +1940,14 @@ function createDevtoolsComponentHook(hook) { emit(hook, component.appContext.app, component.uid, component.parent ? component.parent.uid : void 0, component); }; } -var devtoolsPerfStart = createDevtoolsPerformanceHook("perf:start"); -var devtoolsPerfEnd = createDevtoolsPerformanceHook("perf:end"); +var devtoolsPerfStart = createDevtoolsPerformanceHook( + "perf:start" + /* DevtoolsHooks.PERFORMANCE_START */ +); +var devtoolsPerfEnd = createDevtoolsPerformanceHook( + "perf:end" + /* DevtoolsHooks.PERFORMANCE_END */ +); function createDevtoolsPerformanceHook(hook) { return (component, type, time) => { emit(hook, component.appContext.app, component.uid, component, type, time); @@ -1810,7 +2001,8 @@ function emit$1(instance, event, ...rawArgs) { } } let handlerName; - let handler = props[handlerName = toHandlerKey(event)] || props[handlerName = toHandlerKey(camelize(event))]; + let handler = props[handlerName = toHandlerKey(event)] || // also try camelCase event handler (#2249) + props[handlerName = toHandlerKey(camelize(event))]; if (!handler && isModelListener2) { handler = props[handlerName = toHandlerKey(hyphenate(event))]; } @@ -1952,12 +2144,21 @@ function renderComponentRoot(instance) { }, slots, emit: emit2 - } : { attrs, slots, emit: emit2 }) : render3(props, null)); + } : { attrs, slots, emit: emit2 }) : render3( + props, + null + /* we know it doesn't need it */ + )); fallthroughAttrs = Component.props ? attrs : getFunctionalFallthrough(attrs); } } catch (err) { blockStack.length = 0; - handleError(err, instance, 1); + handleError( + err, + instance, + 1 + /* ErrorCodes.RENDER_FUNCTION */ + ); result = createVNode(Comment); } let root = result; @@ -2147,6 +2348,10 @@ function updateHOCHostEl({ vnode, parent }, el) { var isSuspense = (type) => type.__isSuspense; var SuspenseImpl = { name: "Suspense", + // In order to make Suspense tree-shakable, we need to avoid importing it + // directly in the renderer. The renderer checks for the __isSuspense flag + // on a vnode's type and calls the `process` method, passing in renderer + // internals. __isSuspense: true, process(n1, n2, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized, rendererInternals) { if (n1 == null) { @@ -2181,6 +2386,7 @@ function mountSuspense(vnode, container, anchor, parentComponent, parentSuspense anchor, parentComponent, null, + // fallback tree will not have suspense context isSVG, slotScopeIds ); @@ -2210,6 +2416,7 @@ function patchSuspense(n1, n2, container, anchor, parentComponent, isSVG, slotSc anchor, parentComponent, null, + // fallback tree will not have suspense context isSVG, slotScopeIds, optimized @@ -2239,6 +2446,7 @@ function patchSuspense(n1, n2, container, anchor, parentComponent, isSVG, slotSc anchor, parentComponent, null, + // fallback tree will not have suspense context isSVG, slotScopeIds, optimized @@ -2323,7 +2531,13 @@ function createSuspenseBoundary(vnode, parent, parentComponent, container, hidde if (delayEnter) { activeBranch.transition.afterLeave = () => { if (pendingId === suspense.pendingId) { - move(pendingBranch, container2, anchor2, 0); + move( + pendingBranch, + container2, + anchor2, + 0 + /* MoveType.ENTER */ + ); } }; } @@ -2333,7 +2547,13 @@ function createSuspenseBoundary(vnode, parent, parentComponent, container, hidde unmount(activeBranch, parentComponent2, suspense, true); } if (!delayEnter) { - move(pendingBranch, container2, anchor2, 0); + move( + pendingBranch, + container2, + anchor2, + 0 + /* MoveType.ENTER */ + ); } } setActiveBranch(suspense, pendingBranch); @@ -2373,6 +2593,7 @@ function createSuspenseBoundary(vnode, parent, parentComponent, container, hidde anchor2, parentComponent2, null, + // fallback tree will not have suspense context isSVG2, slotScopeIds, optimized @@ -2388,7 +2609,9 @@ function createSuspenseBoundary(vnode, parent, parentComponent, container, hidde activeBranch, parentComponent2, null, + // no suspense so unmount hooks fire now true + // shouldRemove ); if (!delayEnter) { mountFallback(); @@ -2408,7 +2631,12 @@ function createSuspenseBoundary(vnode, parent, parentComponent, container, hidde } const hydratedEl = instance.vnode.el; instance.asyncDep.catch((err) => { - handleError(err, instance, 0); + handleError( + err, + instance, + 0 + /* ErrorCodes.SETUP_FUNCTION */ + ); }).then((asyncSetupResult) => { if (instance.isUnmounted || suspense.isUnmounted || suspense.pendingId !== instance.suspenseId) { return; @@ -2426,7 +2654,12 @@ function createSuspenseBoundary(vnode, parent, parentComponent, container, hidde setupRenderEffect( instance, vnode2, + // component may have been moved before resolve. + // if this is not a hydration, instance.subTree will be the comment + // placeholder. parentNode(hydratedEl || instance.subTree.el), + // anchor will not be used if this is hydration, so only need to + // consider the comment placeholder case. hydratedEl ? null : next(instance.subTree), suspense, isSVG, @@ -2457,7 +2690,20 @@ function createSuspenseBoundary(vnode, parent, parentComponent, container, hidde return suspense; } function hydrateSuspense(node, vnode, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized, rendererInternals, hydrateNode) { - const suspense = vnode.suspense = createSuspenseBoundary(vnode, parentSuspense, parentComponent, node.parentNode, document.createElement("div"), null, isSVG, slotScopeIds, optimized, rendererInternals, true); + const suspense = vnode.suspense = createSuspenseBoundary( + vnode, + parentSuspense, + parentComponent, + node.parentNode, + document.createElement("div"), + null, + isSVG, + slotScopeIds, + optimized, + rendererInternals, + true + /* hydrating */ + ); const result = hydrateNode(node, suspense.pendingBranch = vnode.ssContent, parentComponent, suspense, slotScopeIds, optimized); if (suspense.deps === 0) { suspense.resolve(); @@ -2594,14 +2840,24 @@ function doWatch(source, cb, { immediate, deep, flush, onTrack, onTrigger } = EM } else if (isReactive(s)) { return traverse(s); } else if (isFunction(s)) { - return callWithErrorHandling(s, instance, 2); + return callWithErrorHandling( + s, + instance, + 2 + /* ErrorCodes.WATCH_GETTER */ + ); } else { warnInvalidSource(s); } }); } else if (isFunction(source)) { if (cb) { - getter = () => callWithErrorHandling(source, instance, 2); + getter = () => callWithErrorHandling( + source, + instance, + 2 + /* ErrorCodes.WATCH_GETTER */ + ); } else { getter = () => { if (instance && instance.isUnmounted) { @@ -2624,7 +2880,12 @@ function doWatch(source, cb, { immediate, deep, flush, onTrack, onTrigger } = EM let cleanup; let onCleanup = (fn) => { cleanup = effect2.onStop = () => { - callWithErrorHandling(fn, instance, 4); + callWithErrorHandling( + fn, + instance, + 4 + /* ErrorCodes.WATCH_CLEANUP */ + ); }; }; let ssrCleanup; @@ -2659,6 +2920,7 @@ function doWatch(source, cb, { immediate, deep, flush, onTrack, onTrigger } = EM } callWithAsyncErrorHandling(cb, instance, 3, [ newValue, + // pass undefined as the old value when it's changed for the first time oldValue === INITIAL_WATCHER_VALUE ? void 0 : isMultiSource && oldValue[0] === INITIAL_WATCHER_VALUE ? [] : oldValue, onCleanup ]); @@ -2737,7 +2999,10 @@ function createPathGetter(ctx, path) { }; } function traverse(value, seen) { - if (!isObject(value) || value["__v_skip"]) { + if (!isObject(value) || value[ + "__v_skip" + /* ReactiveFlags.SKIP */ + ]) { return value; } seen = seen || /* @__PURE__ */ new Set(); @@ -2784,14 +3049,17 @@ var BaseTransitionImpl = { mode: String, appear: Boolean, persisted: Boolean, + // enter onBeforeEnter: TransitionHookValidator, onEnter: TransitionHookValidator, onAfterEnter: TransitionHookValidator, onEnterCancelled: TransitionHookValidator, + // leave onBeforeLeave: TransitionHookValidator, onLeave: TransitionHookValidator, onAfterLeave: TransitionHookValidator, onLeaveCancelled: TransitionHookValidator, + // appear onBeforeAppear: TransitionHookValidator, onAppear: TransitionHookValidator, onAfterAppear: TransitionHookValidator, @@ -2918,7 +3186,10 @@ function resolveTransitionHooks(vnode, props, state, instance) { } } if (el._leaveCb) { - el._leaveCb(true); + el._leaveCb( + true + /* cancelled */ + ); } const leavingVNode = leavingVNodesCache[key]; if (leavingVNode && isSameVNodeType(vnode, leavingVNode) && leavingVNode.el._leaveCb) { @@ -2963,7 +3234,10 @@ function resolveTransitionHooks(vnode, props, state, instance) { leave(el, remove2) { const key2 = String(vnode.key); if (el._enterCb) { - el._enterCb(true); + el._enterCb( + true + /* cancelled */ + ); } if (state.isUnmounting) { return remove2(); @@ -3053,6 +3327,7 @@ function defineAsyncComponent(source) { errorComponent, delay = 200, timeout, + // undefined = never times out suspensible = true, onError: userOnError } = source; @@ -3107,7 +3382,13 @@ function defineAsyncComponent(source) { } const onError = (err) => { pendingRequest = null; - handleError(err, instance, 13, !errorComponent); + handleError( + err, + instance, + 13, + !errorComponent + /* do not throw in dev if user provided error component */ + ); }; if (suspensible && instance.suspense || isInSSRComponentSetup) { return load().then((comp) => { @@ -3170,6 +3451,9 @@ function createInnerComp(comp, parent) { var isKeepAlive = (vnode) => vnode.type.__isKeepAlive; var KeepAliveImpl = { name: `KeepAlive`, + // Marker for special handling inside the renderer. We are not using a === + // check directly on KeepAlive in the renderer, because importing it directly + // would prevent it from being tree-shaken. __isKeepAlive: true, props: { include: [String, RegExp, Array], @@ -3257,6 +3541,7 @@ var KeepAliveImpl = { include && pruneCache((name) => matches(include, name)); exclude && pruneCache((name) => !matches(exclude, name)); }, + // prune post-render after `current` has been updated { flush: "post", deep: true } ); let pendingCacheKey = null; @@ -3375,7 +3660,13 @@ function registerKeepAliveHook(hook, type, target = currentInstance) { } } function injectToKeepAliveRoot(hook, type, target, keepAliveRoot) { - const injected = injectHook(type, hook, keepAliveRoot, true); + const injected = injectHook( + type, + hook, + keepAliveRoot, + true + /* prepend */ + ); onUnmounted(() => { remove(keepAliveRoot[type], injected); }, target); @@ -3413,15 +3704,42 @@ function injectHook(type, hook, target = currentInstance, prepend = false) { } } var createHook = (lifecycle) => (hook, target = currentInstance) => (!isInSSRComponentSetup || lifecycle === "sp") && injectHook(lifecycle, (...args) => hook(...args), target); -var onBeforeMount = createHook("bm"); -var onMounted = createHook("m"); -var onBeforeUpdate = createHook("bu"); -var onUpdated = createHook("u"); -var onBeforeUnmount = createHook("bum"); -var onUnmounted = createHook("um"); -var onServerPrefetch = createHook("sp"); -var onRenderTriggered = createHook("rtg"); -var onRenderTracked = createHook("rtc"); +var onBeforeMount = createHook( + "bm" + /* LifecycleHooks.BEFORE_MOUNT */ +); +var onMounted = createHook( + "m" + /* LifecycleHooks.MOUNTED */ +); +var onBeforeUpdate = createHook( + "bu" + /* LifecycleHooks.BEFORE_UPDATE */ +); +var onUpdated = createHook( + "u" + /* LifecycleHooks.UPDATED */ +); +var onBeforeUnmount = createHook( + "bum" + /* LifecycleHooks.BEFORE_UNMOUNT */ +); +var onUnmounted = createHook( + "um" + /* LifecycleHooks.UNMOUNTED */ +); +var onServerPrefetch = createHook( + "sp" + /* LifecycleHooks.SERVER_PREFETCH */ +); +var onRenderTriggered = createHook( + "rtg" + /* LifecycleHooks.RENDER_TRIGGERED */ +); +var onRenderTracked = createHook( + "rtc" + /* LifecycleHooks.RENDER_TRACKED */ +); function onErrorCaptured(hook, target = currentInstance) { injectHook("ec", hook, target); } @@ -3504,12 +3822,21 @@ function resolveAsset(type, name, warnMissing = true, maybeSelfReference = false if (instance) { const Component = instance.type; if (type === COMPONENTS) { - const selfName = getComponentName(Component, false); + const selfName = getComponentName( + Component, + false + /* do not include inferred name to avoid breaking existing code */ + ); if (selfName && (selfName === name || selfName === camelize(name) || selfName === capitalize(camelize(name)))) { return Component; } } - const res = resolve(instance[type] || Component[type], name) || resolve(instance.appContext[type], name); + const res = ( + // local registration + // check instance[type] first which is resolved for options API + resolve(instance[type] || Component[type], name) || // global registration + resolve(instance.appContext[type], name) + ); if (!res && maybeSelfReference) { return Component; } @@ -3595,9 +3922,15 @@ function renderSlot(slots, name, props = {}, fallback, noSlotted) { } openBlock(); const validSlotContent = slot && ensureValidVNode(slot(props)); - const rendered = createBlock(Fragment, { - key: props.key || validSlotContent && validSlotContent.key || `_${name}` - }, validSlotContent || (fallback ? fallback() : []), validSlotContent && slots._ === 1 ? 64 : -2); + const rendered = createBlock( + Fragment, + { + key: props.key || validSlotContent && validSlotContent.key || `_${name}` + }, + validSlotContent || (fallback ? fallback() : []), + validSlotContent && slots._ === 1 ? 64 : -2 + /* PatchFlags.BAIL */ + ); if (!noSlotted && rendered.scopeId) { rendered.slotScopeIds = [rendered.scopeId + "-s"]; } @@ -3635,22 +3968,26 @@ var getPublicInstance = (i) => { return getExposeProxy(i) || i.proxy; return getPublicInstance(i.parent); }; -var publicPropertiesMap = extend(/* @__PURE__ */ Object.create(null), { - $: (i) => i, - $el: (i) => i.vnode.el, - $data: (i) => i.data, - $props: (i) => true ? shallowReadonly(i.props) : i.props, - $attrs: (i) => true ? shallowReadonly(i.attrs) : i.attrs, - $slots: (i) => true ? shallowReadonly(i.slots) : i.slots, - $refs: (i) => true ? shallowReadonly(i.refs) : i.refs, - $parent: (i) => getPublicInstance(i.parent), - $root: (i) => getPublicInstance(i.root), - $emit: (i) => i.emit, - $options: (i) => __VUE_OPTIONS_API__ ? resolveMergedOptions(i) : i.type, - $forceUpdate: (i) => i.f || (i.f = () => queueJob(i.update)), - $nextTick: (i) => i.n || (i.n = nextTick.bind(i.proxy)), - $watch: (i) => __VUE_OPTIONS_API__ ? instanceWatch.bind(i) : NOOP -}); +var publicPropertiesMap = ( + // Move PURE marker to new line to workaround compiler discarding it + // due to type annotation + extend(/* @__PURE__ */ Object.create(null), { + $: (i) => i, + $el: (i) => i.vnode.el, + $data: (i) => i.data, + $props: (i) => true ? shallowReadonly(i.props) : i.props, + $attrs: (i) => true ? shallowReadonly(i.attrs) : i.attrs, + $slots: (i) => true ? shallowReadonly(i.slots) : i.slots, + $refs: (i) => true ? shallowReadonly(i.refs) : i.refs, + $parent: (i) => getPublicInstance(i.parent), + $root: (i) => getPublicInstance(i.root), + $emit: (i) => i.emit, + $options: (i) => __VUE_OPTIONS_API__ ? resolveMergedOptions(i) : i.type, + $forceUpdate: (i) => i.f || (i.f = () => queueJob(i.update)), + $nextTick: (i) => i.n || (i.n = nextTick.bind(i.proxy)), + $watch: (i) => __VUE_OPTIONS_API__ ? instanceWatch.bind(i) : NOOP + }) +); var isReservedPrefix = (key) => key === "_" || key === "$"; var hasSetupBinding = (state, key) => state !== EMPTY_OBJ && !state.__isScriptSetup && hasOwn(state, key); var PublicInstanceProxyHandlers = { @@ -3706,7 +4043,9 @@ var PublicInstanceProxyHandlers = { { return globalProperties[key]; } - } else if (currentRenderingInstance && (!isString(key) || key.indexOf("__v") !== 0)) { + } else if (currentRenderingInstance && (!isString(key) || // #1091 avoid internal isRef/isVNode checks on component instance leading + // to infinite warning loop + key.indexOf("__v") !== 0)) { if (data !== EMPTY_OBJ && isReservedPrefix(key[0]) && hasOwn(data, key)) { warn2(`Property ${JSON.stringify(key)} must be accessed via $data because it starts with a reserved character ("$" or "_") and is not proxied on the render context.`); } else if (instance === currentRenderingInstance) { @@ -3791,6 +4130,8 @@ function createDevRenderContext(instance) { configurable: true, enumerable: false, get: () => publicPropertiesMap[key](instance), + // intercepted by the proxy so no need for implementation, + // but needed to prevent set errors set: NOOP }); }); @@ -3843,15 +4184,22 @@ function applyOptions(instance) { const ctx = instance.ctx; shouldCacheAccess = false; if (options.beforeCreate) { - callHook(options.beforeCreate, instance, "bc"); + callHook( + options.beforeCreate, + instance, + "bc" + /* LifecycleHooks.BEFORE_CREATE */ + ); } const { + // state data: dataOptions, computed: computedOptions, methods, watch: watchOptions, provide: provideOptions, inject: injectOptions, + // lifecycle created, beforeMount, mounted, @@ -3868,8 +4216,10 @@ function applyOptions(instance) { renderTriggered, errorCaptured, serverPrefetch, + // public API expose, inheritAttrs, + // assets components, directives, filters @@ -3973,7 +4323,12 @@ function applyOptions(instance) { }); } if (created) { - callHook(created, instance, "c"); + callHook( + created, + instance, + "c" + /* LifecycleHooks.CREATED */ + ); } function registerLifecycleHook(register, hook) { if (isArray(hook)) { @@ -4027,7 +4382,12 @@ function resolveInjections(injectOptions, ctx, checkDuplicateProperties = NOOP, let injected; if (isObject(opt)) { if ("default" in opt) { - injected = inject(opt.from || key, opt.default, true); + injected = inject( + opt.from || key, + opt.default, + true + /* treat default function as factory */ + ); } else { injected = inject(opt.from || key); } @@ -4131,8 +4491,10 @@ var internalOptionMergeStrats = { data: mergeDataFn, props: mergeObjectOptions, emits: mergeObjectOptions, + // objects methods: mergeObjectOptions, computed: mergeObjectOptions, + // lifecycle beforeCreate: mergeAsArray, created: mergeAsArray, beforeMount: mergeAsArray, @@ -4147,9 +4509,12 @@ var internalOptionMergeStrats = { deactivated: mergeAsArray, errorCaptured: mergeAsArray, serverPrefetch: mergeAsArray, + // assets components: mergeObjectOptions, directives: mergeObjectOptions, + // watch watch: mergeWatchOptions, + // provide / inject provide: mergeDataFn, inject: mergeInject }; @@ -4231,7 +4596,10 @@ function updateProps(instance, rawProps, rawPrevProps, optimized) { const rawCurrentProps = toRaw(props); const [options] = instance.propsOptions; let hasAttrsChanged = false; - if (!isInHmrContext(instance) && (optimized || patchFlag > 0) && !(patchFlag & 16)) { + if (// always force full diff in dev + // - #1942 if hmr is enabled with sfc component + // - vite#872 non-sfc component used by sfc component + !isInHmrContext(instance) && (optimized || patchFlag > 0) && !(patchFlag & 16)) { if (patchFlag & 8) { const propsToUpdate = instance.vnode.dynamicProps; for (let i = 0; i < propsToUpdate.length; i++) { @@ -4248,7 +4616,15 @@ function updateProps(instance, rawProps, rawPrevProps, optimized) { } } else { const camelizedKey = camelize(key); - props[camelizedKey] = resolvePropValue(options, rawCurrentProps, camelizedKey, value, instance, false); + props[camelizedKey] = resolvePropValue( + options, + rawCurrentProps, + camelizedKey, + value, + instance, + false + /* isAbsent */ + ); } } else { if (value !== attrs[key]) { @@ -4266,8 +4642,17 @@ function updateProps(instance, rawProps, rawPrevProps, optimized) { for (const key in rawCurrentProps) { if (!rawProps || !hasOwn(rawProps, key) && ((kebabKey = hyphenate(key)) === key || !hasOwn(rawProps, kebabKey))) { if (options) { - if (rawPrevProps && (rawPrevProps[key] !== void 0 || rawPrevProps[kebabKey] !== void 0)) { - props[key] = resolvePropValue(options, rawCurrentProps, key, void 0, instance, true); + if (rawPrevProps && (rawPrevProps[key] !== void 0 || // for kebab-case + rawPrevProps[kebabKey] !== void 0)) { + props[key] = resolvePropValue( + options, + rawCurrentProps, + key, + void 0, + instance, + true + /* isAbsent */ + ); } } else { delete props[key]; @@ -4344,10 +4729,16 @@ function resolvePropValue(options, props, key, value, instance, isAbsent) { value = defaultValue; } } - if (opt[0]) { + if (opt[ + 0 + /* BooleanFlags.shouldCast */ + ]) { if (isAbsent && !hasDefault) { value = false; - } else if (opt[1] && (value === "" || value === hyphenate(key))) { + } else if (opt[ + 1 + /* BooleanFlags.shouldCastTrue */ + ] && (value === "" || value === hyphenate(key))) { value = true; } } @@ -4410,8 +4801,14 @@ function normalizePropsOptions(comp, appContext, asMixin = false) { if (prop) { const booleanIndex = getTypeIndex(Boolean, prop.type); const stringIndex = getTypeIndex(String, prop.type); - prop[0] = booleanIndex > -1; - prop[1] = stringIndex < 0 || booleanIndex < stringIndex; + prop[ + 0 + /* BooleanFlags.shouldCast */ + ] = booleanIndex > -1; + prop[ + 1 + /* BooleanFlags.shouldCastTrue */ + ] = stringIndex < 0 || booleanIndex < stringIndex; if (booleanIndex > -1 || hasOwn(prop, "default")) { needCastKeys.push(normalizedKey); } @@ -5027,7 +5424,8 @@ function createHydrationFunctions(rendererInternals) { dirs && invokeDirectiveHook(vnode, null, parentComponent, "mounted"); }, parentSuspense); } - if (shapeFlag & 16 && !(props && (props.innerHTML || props.textContent))) { + if (shapeFlag & 16 && // skip if element has innerHTML / textContent + !(props && (props.innerHTML || props.textContent))) { let next = hydrateChildren(el.firstChild, vnode, el, parentComponent, parentSuspense, slotScopeIds, optimized); let hasWarned2 = false; while (next) { @@ -5456,7 +5854,18 @@ function baseCreateRenderer(options, createHydrationFns) { for (let i = 0; i < newChildren.length; i++) { const oldVNode = oldChildren[i]; const newVNode = newChildren[i]; - const container = oldVNode.el && (oldVNode.type === Fragment || !isSameVNodeType(oldVNode, newVNode) || oldVNode.shapeFlag & (6 | 64)) ? hostParentNode(oldVNode.el) : fallbackContainer; + const container = ( + // oldVNode may be an errored async setup() component inside Suspense + // which will not have a mounted element + oldVNode.el && (oldVNode.type === Fragment || // - In the case of different nodes, there is going to be a replacement + // which also requires the correct parent container + !isSameVNodeType(oldVNode, newVNode) || // - In the case of a component, it could contain anything. + oldVNode.shapeFlag & (6 | 64)) ? hostParentNode(oldVNode.el) : ( + // In other cases, the parent container is not actually used so we + // just pass the block element here to avoid a DOM parentNode call. + fallbackContainer + ) + ); patch(oldVNode, newVNode, container, null, parentComponent, parentSuspense, isSVG, slotScopeIds, true); } }; @@ -5500,12 +5909,23 @@ function baseCreateRenderer(options, createHydrationFns) { hostInsert(fragmentEndAnchor, container, anchor); mountChildren(n2.children, container, fragmentEndAnchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized); } else { - if (patchFlag > 0 && patchFlag & 64 && dynamicChildren && n1.dynamicChildren) { + if (patchFlag > 0 && patchFlag & 64 && dynamicChildren && // #2715 the previous fragment could've been a BAILed one as a result + // of renderSlot() with no valid children + n1.dynamicChildren) { patchBlockChildren(n1.dynamicChildren, dynamicChildren, container, parentComponent, parentSuspense, isSVG, slotScopeIds); if (parentComponent && parentComponent.type.__hmrId) { traverseStaticChildren(n1, n2); - } else if (n2.key != null || parentComponent && n2 === parentComponent.subTree) { - traverseStaticChildren(n1, n2, true); + } else if (// #2080 if the stable fragment has a key, it's a