diff --git a/assets/iframe-router.0e61c9e3.js b/assets/iframe-router.5fc57411.js similarity index 88% rename from assets/iframe-router.0e61c9e3.js rename to assets/iframe-router.5fc57411.js index c40867b2..96a73949 100644 --- a/assets/iframe-router.0e61c9e3.js +++ b/assets/iframe-router.5fc57411.js @@ -1,4 +1,4 @@ -import{o as e,a as p,u as d}from"./vue-libs.67be768b.js";const v=function(){const s=document.createElement("link").relList;if(s&&s.supports&&s.supports("modulepreload"))return;for(const t of document.querySelectorAll('link[rel="modulepreload"]'))l(t);new MutationObserver(t=>{for(const c of t)if(c.type==="childList")for(const r of c.addedNodes)r.tagName==="LINK"&&r.rel==="modulepreload"&&l(r)}).observe(document,{childList:!0,subtree:!0});function n(t){const c={};return t.integrity&&(c.integrity=t.integrity),t.referrerpolicy&&(c.referrerPolicy=t.referrerpolicy),t.crossorigin==="use-credentials"?c.credentials="include":t.crossorigin==="anonymous"?c.credentials="omit":c.credentials="same-origin",c}function l(t){if(t.ep)return;t.ep=!0;const c=n(t);fetch(t.href,c)}};v();var Ln=(a,s)=>{const n=a.__vccOpts||a;for(const[l,t]of s)n[l]=t;return n};const b={class:"van-doc-markdown-body"},q=d('

\u66F4\u65B0\u65E5\u5FD7

v1.10.2

2022-01-11

Bug Fixes

v1.10.1

2022-01-04

Bug Fixes

Document

Feature

v1.10.0

2021-12-21

Bug Fixes

Document

Feature

v1.9.2

2021-10-28

Bug Fixes

Feature

v1.9.1

2021-09-29

Bug Fixes

Document

Feature

v1.9.0

2021-09-27

Bug Fixes

Document

Feature

Performance

v1.8.7

2021-09-22

Features

1.8.6

2021-09-20

Features

Bug Fixes

1.8.5

2021-09-15

Bug Fixes

1.8.4

2021-09-07

Bug Fixes

Features

v1.8.3

2021-08-30

Bug Fixes

Features

Performance Improvements

v1.8.2

2021-08-18

Bug Fixes

v1.8.1

2021-08-18

Feature

Bug Fixes

v1.8.0

2021-08-11

Feature

Performance

v1.7.2

2021-07-19

Bug Fixes

Features

1.7.1

2021-07-06

Bug Fixes

1.7.0

2021-07-04

Bug Fixes

Features

Improvements

1.6.9

2021-06-06

Bug Fixes

1.6.9-beta.2

2021-05-22

Bug Fixes

Features

1.6.8

2021-02-26

Features

Bug Fixes

Improvements

1.6.7

2021-01-27

Features

Bug Fixes

1.6.6

2021-01-21

Features

Bug Fixes

Improvements

1.6.5

2021-01-19

Features

Bug Fixes

Improvements

1.6.4

2020-12-18

Improvements

Bug Fixes

1.6.3

2020-12-09

Features

Improvements

Bug Fixes

1.6.2

2020-11-29

Features

Bug Fixes

Improvements

1.6.1

2020-11-12

Bug Fixes

1.6.0

2020-11-11

Features

Bug Fixes

1.5.2

2020-10-15

Features

Bug Fixes

1.5.1

2020-09-29

Features

Bug Fixes

1.5.0

2020-08-27

Features

Bug Fixes

1.4.4

2020-08-12

Bug Fixes

v1.4.3

2020-08-07

Features

v1.4.2

2020-08-03

Features

Bug Fixes

v1.4.1

2020-07-28

Features

Bug Fixes

v1.4.0

2020-07-17

Features

Bug Fixes

v1.3.3

2020-06-24

Features

Bug Fixes

v1.3.2

2020-06-04

Features

Bug Fixes

v1.3.1

2020-05-24

Features

Bug Fixes

v1.3.0

2020-05-08

\u652F\u6301\u7B80\u6613\u53CC\u5411\u7ED1\u5B9A

1.3.0 \u4E2D\uFF0C\u6211\u4EEC\u4E3A\u6570\u4E2A\u8868\u5355\u7EC4\u4EF6\u652F\u6301\u4E86\u7B80\u6613\u53CC\u5411\u7ED1\u5B9A\uFF0C\u6D89\u53CA\u7EC4\u4EF6\u6709

Slider #3107

Search #3106

Rate #3105

Features

Bug Fixes

v1.2.2

2020-04-21

Features

Bug Fixes

v1.2.1

2020-04-12

Features

Bug Fixes

v1.2.0

2020-04-04

Features

Bug Fixes

v1.1.0

2020-03-21

Features

Bug Fixes

v1.0.7

2020-03-04

Features

Bug Fixes

v1.0.6

2020-02-24

Features

Bug Fixes

v1.0.5

2020-02-07

Features

Bug Fixes

v1.0.4

2020-01-21

Features

Bug Fixes

v1.0.3

2020-01-09

Features

Bug Fixes

v1.0.2

2019-12-31

Features

Improvements

Bug Fixes

v1.0.1

2019-12-23

Features

Improvements

Bug Fixes

v1.0.0

2019-12-11

\u4E3B\u8981\u53D8\u52A8

\u65B0\u7EC4\u4EF6

\u5728 Vant Weapp 1.0 \u7248\u672C\u4E2D\uFF0C\u6211\u4EEC\u65B0\u589E\u4E86 11 \u4E2A\u5B9E\u7528\u7684\u57FA\u7840\u7EC4\u4EF6\uFF1A

\u6837\u5F0F\u5B9A\u5236

\u5728 1.0 \u8FED\u4EE3\u8BA1\u5212\u786E\u5B9A\u4E4B\u521D\uFF0C\u6211\u4EEC\u5C31\u4E0D\u65AD\u601D\u8003\u8FD9\u6837\u4E00\u4E2A\u95EE\u9898 -- \u8BE5\u5982\u4F55\u7ED9\u7528\u6237\u63D0\u4F9B\u52A8\u6001\u5207\u6362\u4E3B\u9898\u6837\u5F0F\u7684\u529F\u80FD\u5462\uFF1F

\u5FAE\u4FE1\u5C0F\u7A0B\u5E8F\u7684\u73AF\u5883\u662F\u975E\u5E38\u7279\u6B8A\u7684\u3002\u4E0D\u5177\u6709\u52A8\u6001\u52A0\u8F7D\u4EE3\u7801\u7684\u673A\u5236\uFF0C\u540C\u65F6\u5FAE\u4FE1\u53C8\u9650\u5236\u4E86\u4EE3\u7801\u7684\u4E3B\u5305\u5927\u5C0F\u548C\u603B\u5927\u5C0F\u3002\u4F20\u7EDF\u7684\u57FA\u4E8E\u9884\u8BBE\u7684\u6837\u5F0F\u5B9A\u5236\u8FC7\u4E8E\u81C3\u80BF\uFF0C\u4E0D\u518D\u9002\u5408\u5FAE\u4FE1\u5C0F\u7A0B\u5E8F\u7684\u73AF\u5883\u3002

\u5FAE\u4FE1\u5C0F\u7A0B\u5E8F\u81EA\u5B9A\u4E49\u7EC4\u4EF6\u7684\u7EC4\u4EF6\u6A21\u578B\u76F8\u5F53\u4E8E\u4E00\u4E2A\u7B80\u5316\u7248\u7684 Shadow DOM\uFF0C\u5E78\u8FD0\u7684\u662F\uFF0C\u5C0F\u7A0B\u5E8F\u4E5F\u652F\u6301\u4E86 CSS \u81EA\u5B9A\u4E49\u5C5E\u6027 \u7684\u7279\u6027\u3002\u6700\u7EC8\uFF0C\u6211\u4EEC\u57FA\u4E8E CSS \u81EA\u5B9A\u4E49\u5C5E\u6027\u8BBE\u8BA1\u4E86\u6837\u5F0F\u5B9A\u5236\u7684\u65B9\u6848\uFF0C\u5F00\u53D1\u8005\u4F7F\u7528\u7075\u6D3B\u3001\u65B9\u4FBF\uFF0C\u7EC4\u4EF6\u7EF4\u62A4\u4E5F\u66F4\u7B80\u5355\u3002

\u4ECE 1.0 \u7248\u672C\u5F00\u59CB\uFF0CVant Weapp \u4E2D\u7684\u6240\u6709\u7EC4\u4EF6\u90FD\u652F\u6301\u901A\u8FC7 CSS \u7EC4\u5B9A\u4E49\u5C5E\u6027 \u8FDB\u884C\u6837\u5F0F\u5B9A\u5236\uFF0C\u5177\u4F53\u4F7F\u7528\u59FF\u52BF\u53EF\u67E5\u770B\u76F8\u5173\u6587\u6863

\u5B9A\u5236\u4E3B\u9898

\u4E0D\u517C\u5BB9\u66F4\u65B0

1.0 \u7248\u672C\u4E2D\u5305\u542B\u5C11\u91CF\u4E0D\u517C\u5BB9\u66F4\u65B0\uFF0C\u4E3B\u8981\u662F\u547D\u540D\u8C03\u6574\u548C\u79FB\u9664\u4E2A\u522B\u5C5E\u6027\u3002\u5BF9\u4E8E\u6B63\u5728\u4F7F\u7528 0.x \u7248\u672C\u7684\u9879\u76EE\uFF0C\u8BF7\u6309\u7167\u4E0B\u65B9\u7684\u5217\u8868\u4F9D\u6B21\u68C0\u67E5\uFF0C\u5927\u90E8\u5206\u9879\u76EE\u53EF\u4EE5\u65E0\u75DB\u5347\u7EA7\u3002

Badge
Notify
SwitchCell
Transition

\u65B0\u7279\u6027

ActionSheet
Area
Button
Checkbox
Color
DatetimePicker
Dialog
Field
GoodsActionButton
GoodsActionIcon
GridItem
Icon
Loading
NoticeBar
Notify
Progress
Radio
Rate
SlidebarItem
Slider
SwipeCell
Switch
Stepper
Steps
Tabs
TreeSelect
',53),f=[q],y={setup(a,{expose:s}){return s({frontmatter:{}}),(l,t)=>(e(),p("div",b,f))}},x={class:"van-doc-markdown-body"},_=d(`

\u6837\u5F0F\u8986\u76D6

\u4ECB\u7ECD

Vant Weapp \u57FA\u4E8E\u5FAE\u4FE1\u5C0F\u7A0B\u5E8F\u7684\u673A\u5236\uFF0C\u4E3A\u5F00\u53D1\u8005\u63D0\u4F9B\u4E86\u4EE5\u4E0B 3 \u79CD\u4FEE\u6539\u7EC4\u4EF6\u6837\u5F0F\u7684\u65B9\u6CD5

\u89E3\u9664\u6837\u5F0F\u9694\u79BB

\u6837\u5F0F\u9694\u79BB\u7684\u76F8\u5173\u80CC\u666F\u77E5\u8BC6\u8BF7\u67E5\u9605\u5FAE\u4FE1\u5C0F\u7A0B\u5E8F\u6587\u6863


Vant Weapp \u7684\u6240\u6709\u7EC4\u4EF6\u90FD\u5F00\u542F\u4E86addGlobalClass: true\u4EE5\u63A5\u53D7\u5916\u90E8\u6837\u5F0F\u7684\u5F71\u54CD\uFF0C\u53EF\u4EE5\u4F7F\u7528\u5982\u4E0B 2 \u79CD\u65B9\u5F0F\u8986\u76D6\u7EC4\u4EF6\u6837\u5F0F

\u5728\u9875\u9762\u4E2D\u4F7F\u7528 Vant Weapp \u7EC4\u4EF6\u65F6\uFF0C\u53EF\u76F4\u63A5\u5728\u9875\u9762\u7684\u6837\u5F0F\u6587\u4EF6\u4E2D\u8986\u76D6\u6837\u5F0F

<van-button type="primary">\u4E3B\u8981\u6309\u94AE</van-button>
+import{o as e,a as p,u as d}from"./vue-libs.67be768b.js";const v=function(){const s=document.createElement("link").relList;if(s&&s.supports&&s.supports("modulepreload"))return;for(const t of document.querySelectorAll('link[rel="modulepreload"]'))l(t);new MutationObserver(t=>{for(const c of t)if(c.type==="childList")for(const r of c.addedNodes)r.tagName==="LINK"&&r.rel==="modulepreload"&&l(r)}).observe(document,{childList:!0,subtree:!0});function n(t){const c={};return t.integrity&&(c.integrity=t.integrity),t.referrerpolicy&&(c.referrerPolicy=t.referrerpolicy),t.crossorigin==="use-credentials"?c.credentials="include":t.crossorigin==="anonymous"?c.credentials="omit":c.credentials="same-origin",c}function l(t){if(t.ep)return;t.ep=!0;const c=n(t);fetch(t.href,c)}};v();var Ln=(a,s)=>{const n=a.__vccOpts||a;for(const[l,t]of s)n[l]=t;return n};const b={class:"van-doc-markdown-body"},q=d('

\u66F4\u65B0\u65E5\u5FD7

v1.10.3

2022-05-02

Feature

  • Area: \u65B0\u589E show-toolbar \u5C5E\u6027 #4752
  • CollapseItem: \u65B0\u589E size \u5C5E\u6027 #4829
  • uploader: preview-size \u5C5E\u6027\u7C7B\u578B\u652F\u6301 Array \u81EA\u5B9A\u4E49\u5BBD\u9AD8 #4798

Bug Fixes

  • Calendar: \u4FEE\u590D\u8BBE\u7F6E maxDate \u548C minDate \u540E\uFF0C\u5468\u51E0\u663E\u793A\u4E0D\u6B63\u786E\u7684\u95EE\u9898 #4742
  • NoticeBar: \u4FEE\u590D\u65E0\u6CD5\u4ECE\u521D\u59CB\u6700\u5DE6\u4FA7\u4F4D\u7F6E\u5F00\u59CB\u6EDA\u52A8\u7684\u95EE\u9898 #4746

v1.10.2

2022-01-11

Bug Fixes

  • build: \u4FEE\u590D\u7F16\u8BD1\u65F6 dts \u6587\u4EF6\u4E22\u5931 #4741
  • Calendar: \u4FEE\u590D row-height \u6837\u5F0F\u95EE\u9898 #4733
  • ShareSheet: \u4FEE\u590D \u70B9\u51FB\u6587\u5B57 \u65F6 \u672A\u89E6\u53D1\u5C0F\u7A0B\u5E8F\u5F00\u653E\u80FD\u529B #4739

v1.10.1

2022-01-04

Bug Fixes

  • NoticeBar: \u79FB\u9664 \u9ED8\u8BA4 icon \u5C3A\u5BF8 #4692
  • Tab: \u4FEE\u590D \u6ED1\u52A8\u5931\u6548\u95EE\u9898 #4715

Document

  • quickstart: \u589E\u52A0 \u7528\u6237\u9690\u79C1\u4FDD\u62A4 \u8BF4\u660E #4711

Feature

  • GoodsAction: \u589E\u52A0 GoodsActionIcon \u7EC4\u4EF6\u7684 class-prefix \u5C5E\u6027 #4712

v1.10.0

2021-12-21

Bug Fixes

  • page-scroll: \u4FEE\u590D\u5F53 vanPageScroller \u4E3A undefined \u65F6\u62A5\u9519 #4640
  • Switch: \u4FEE\u590D\u5F53\u4F7F\u7528 active-value \u65F6 \u81EA\u5B9A\u4E49\u989C\u8272\u5931\u6548 #4645
  • Toast: \u4FEE\u590D\u5F53 type \u4E3A success/error \u65F6 toast \u6837\u5F0F\u4E0D\u6B63\u786E #4587

Document

  • NoticeBar: \u4FEE\u590D\u6587\u6863\u4E2D \u5355\u4F4D\u6807\u8BC6 \u9519\u8BEF #4641

Feature

  • Stepper: \u65B0\u589E always-embed \u5C5E\u6027 #4678

v1.9.2

2021-10-28

Bug Fixes

  • Calendar: \u9009\u62E9\u6700\u5C0F\u53EF\u9009\u65E5\u671F\u8303\u56F4 #4569
  • Collapse: \u4FEE\u590D\u591A\u6B21\u70B9\u51FB\u5931\u6548\u95EE\u9898 #4567
  • Tab: \u4FEE\u590D\u5361\u7247\u6A21\u5F0F\u6807\u7B7E\u9875\u6837\u5F0F\u95EE\u9898 #4582
  • Tab: \u4FEE\u590D\u591A\u6307\u6ED1\u52A8\u591A\u4E2A\u6807\u7B7E\u95EE\u9898 #4539

Feature

  • DropdownMenu: \u65B0\u589E --dropdown-menu-box-shadow CssVariable #4565
  • DropdownMenu: \u65B0\u589E custom-class #4583
  • Field: \u65B0\u589E always-embed \u5C5E\u6027 #4571
  • Toast: \u652F\u6301 html type #4581

v1.9.1

2021-09-29

Bug Fixes

  • CheckBox: \u79FB\u9664\u65E0\u7528\u65B9\u6CD5 #4527
  • Slider: \u4FEE\u590D vertical \u5C5E\u6027\u5BFC\u81F4\u70B9\u51FB\u65E0\u6548\u95EE\u9898 #4532

Document

  • Calendar: Day \u6570\u636E\u7ED3\u6784\u589E\u52A0 className \u5C5E\u6027\u8BF4\u660E #4524

Feature

  • Calendar: \u589E\u52A0 readonly \u5C5E\u6027 #4529

v1.9.0

2021-09-27

Bug Fixes

  • Slider: \u79FB\u9664 theme mixin #4520
  • Tab: \u4FEE\u590D\u521D\u59CB\u4F4D\u7F6E\u4E0D\u6B63\u786E\u95EE\u9898 #4521

Document

  • ActionSheet: \u6DFB\u52A0 show \u5C5E\u6027\u8BF4\u660E #4518

Feature

  • Slider: \u6DFB\u52A0 vertical \u5C5E\u6027 #4486

Performance

  • \u79FB\u9664 CSS variables \u517C\u5BB9\u4EE3\u7801 #4487

v1.8.7

2021-09-22

Features

  • Icons: \u65B0\u589E guide-o \u56FE\u6807 #4507

1.8.6

2021-09-20

Features

  • Calendar: \u65B0\u589E confirmDisabledText \u9ED8\u8BA4\u6587\u6848 #4490) (8629da1

Bug Fixes

  • \u79FB\u9664 optionalTypes #4501) (3afe10c
  • Docs: \u4FEE\u590D\u6587\u6863\u9519\u8BEF #4489

1.8.5

2021-09-15

Bug Fixes

  • Calendar: \u4FEE\u590D\u8D85\u51FA\u9009\u62E9\u8303\u56F4 toast \u63D0\u793A\u4E00\u76F4\u5B58\u5728\u95EE\u9898 #4474
  • page-scroll: \u4FEE\u590D isDef \u53D6\u53CD\u95EE\u9898 #4488

1.8.4

2021-09-07

Bug Fixes

  • page-scroll: \u4FEE\u590D getCurrentPage \u4E3A\u7A7A\u65F6\u62A5\u9519 #4458

Features

  • Field: \u65B0\u589E clear-trigger \u5C5E\u6027 #4461
  • Search: \u65B0\u589E clear-icon \u5C5E\u6027 #4463
  • Search: \u65B0\u589E clear-trigger \u5C5E\u6027 9e17b13
  • Slider: \u65B0\u589E range \u5C5E\u6027 #4442

v1.8.3

2021-08-30

Bug Fixes

  • Calendar: \u4FEE\u590D default-date \u5C5E\u6027\u5931\u6548\u95EE\u9898 #4430
  • ShareSheet: \u8C03\u6574 overlayStyle \u5C5E\u6027\u7C7B\u578B\u4E3A string 8c408e2
  • Stepper: \u8C03\u6574 minus/plus slots \u4F4D\u7F6E #4427
  • Sticky: \u4FEE\u590D root \u4E3A null \u65F6\uFF0C\u8BFB\u53D6 root.top \u62A5\u9519\u95EE\u9898 #4433
  • Calendar: \u8C03\u6574 minDate \u548C maxDate \u4F20\u503C\u7C7B\u578B\u4E3A Number 37d8e69

Features

  • Popup: \u65B0\u589E lock-scroll \u5C5E\u6027 #4384

Performance Improvements

  • Radio: label \u7684 margin-left \u6539\u4E3A padding-left\uFF0C\u589E\u5927\u53EF\u70B9\u51FB\u533A\u57DF\uFF0C\u589E\u5F3A\u7528\u6237\u4F53\u9A8C #4165

v1.8.2

2021-08-18

Bug Fixes

  • Calendar: \u4FEE\u590D template \u5F15\u7528\u8DEF\u5F84\u4E0D\u662F\u76F8\u5BF9\u8DEF\u5F84\u7684\u95EE\u9898 7f7cf6
  • Field: \u4FEE\u590D template \u5F15\u7528\u8DEF\u5F84\u4E0D\u662F\u76F8\u5BF9\u8DEF\u5F84\u7684\u95EE\u9898 6dd42a

v1.8.1

2021-08-18

Feature

  • Calendar: \u65B0\u589E click-subtitle \u4E8B\u4EF6 #4385
  • Circle: \u4F7F\u7528 setTimeout \u4EE3\u66FF setInterval #4401

Bug Fixes

  • Picker: \u4FEE\u590D template \u5F15\u7528\u8DEF\u5F84\u4E0D\u662F\u76F8\u5BF9\u8DEF\u5F84\u7684\u95EE\u9898 #4408

v1.8.0

2021-08-11

Feature

  • Overlay: \u65B0\u589E lock-scroll \u5C5E\u6027 #4383
  • search: \u65B0\u589E click-input \u4E8B\u4EF6 #4357

Performance

  • \u79FB\u9664\u4E86 iOS8 \u76F8\u5173\u7684 polyfill\uFF0C\u51CF\u5C11\u5305\u4F53\u79EF #4395

v1.7.2

2021-07-19

Bug Fixes

  • Calendar: \u521D\u59CB\u65E5\u671F\u8BBE\u7F6E\u4E3A\u5F53\u524D\u65E5\u671F #4339

Features

  • Cell: CellGroup \u65B0\u589E inset \u5C5E\u6027 #4341
  • Search: \u65B0\u589E click-input \u4E8B\u4EF6 #4337

1.7.1

2021-07-06

Bug Fixes

  • Col: \u4FEE\u590D\u6837\u5F0F\u95EE\u9898 #4322
  • Grid: \u589E\u52A0 icon-prefix \u5C5E\u6027\u9ED8\u8BA4\u503C #4318
  • IndexBar: \u4FEE\u590D\u5F53\u7D22\u5F15\u5217\u8868\u4E3A\u7A7A\u65F6\u62A5\u9519 #4310

1.7.0

2021-07-04

Bug Fixes

  • Button: \u4FEE\u590D type \u4E3A getUserInfo & wx.getUserProfile \u53EF\u7528\u65F6 lang \u53C2\u6570\u5931\u6548 #4250
  • ShareSheet: \u65B0\u589E\u5185\u7F6E icon weapp-qrcode wechat-moments #4256

Features

  • Checkbox: \u589E\u52A0 direction \u5C5E\u6027\uFF0C\u8BBE\u7F6E\u6392\u5217\u65B9\u5411 #4265
  • ConfigProvider: \u589E\u52A0\u5168\u5C40\u914D\u7F6E\u7EC4\u4EF6 #4279
  • Grid: \u589E\u52A0 reverse \u5C5E\u6027\uFF0C\u652F\u6301\u6587\u672C&\u56FE\u7247\u4F4D\u7F6E\u4E92\u6362 #4280
  • GridItem: \u589E\u52A0 icon-prefix \u5C5E\u6027\uFF0C\u652F\u6301\u7B2C\u4E09\u65B9\u5B57\u4F53 #4276
  • Rate: \u589E\u52A0\u66F4\u591A css \u53D8\u91CF #4297
  • Slider: \u589E\u52A0\u66F4\u591A css \u53D8\u91CF #4305

Improvements

  • wxs style \u65B9\u6CD5\u652F\u6301\u9A7C\u5CF0\u53D8\u91CF\u547D\u540D\uFF0C\u4EE5\u4FBF\u80FD\u66F4\u597D\u7684\u5728 wxml \u4E2D\u4F7F\u7528 #4281

1.6.9

2021-06-06

Bug Fixes

  • DatetimePicker: \u4FEE\u590D \u52A8\u6001\u8BBE\u7F6E min-hour min-date \u663E\u793A\u4E0D\u6B63\u786E #4245
  • Tabs: \u4FEE\u590D tab \u6570\u91CF\u8F83\u591A\u65F6\u6EDA\u52A8\u8DDD\u79BB\u4E0D\u6B63\u786E #4202
  • Uploader: \u4FEE\u590D demo \u4E2D beforeRead \u62A5\u9519 #4235

1.6.9-beta.2

2021-05-22

Bug Fixes

  • Button: \u4FEE\u590D open-type \u4E0D\u751F\u6548 #4222
  • Calendar: \u4FEE\u590D allow-same-day \u5F00\u542F\u65F6 custom-color \u5C5E\u6027\u65E0\u6548 #4200
  • Circle: \u4FEE\u590D value \u662F\u5C0F\u6570\u65F6\u6296\u52A8\u7684\u60C5\u51B5 #4152
  • NoticeBar: \u8C03\u6574\u6EDA\u52A8\u884C\u4E3A #4201
  • NoticeBar: \u4FEE\u590D\u4E0D\u6B63\u786E\u7684\u6EDA\u52A8\u901F\u5EA6 cde3876
  • Radio: \u652F\u6301\u52A8\u6001\u8BBE\u7F6E disabled #4191
  • Rate: \u652F\u6301\u6ED1\u52A8\u9009\u62E9\u534A\u661F #4195

Features

  • Calendar: \u589E\u52A0 first-day-of-week \u5C5E\u6027\uFF0C\u8BBE\u7F6E\u5468\u8D77\u59CB\u65E5 #4211
  • Calendar: \u589E\u52A0 show-range-prompt \u5C5E\u6027\u548C over-range \u4E8B\u4EF6\uFF0C\u8BBE\u7F6E\u662F\u5426\u5C55\u793A\u63D0\u793A\u6587\u6848 #4212
  • Icons: \u56FE\u6807\u5E93\u8FC1\u79FB\u81F3 iconfont.cn #4219
  • OpenType: \u652F\u6301 getUserProfile #4203
  • Panel: \u79FB\u9664 useFooterSlot #4205

1.6.8

2021-02-26

Features

  • NoticeBar: \u65B0\u589E\u9ED8\u8BA4\u63D2\u69FD (#4048)
  • Stepper: \u65B0\u589E theme \u5C5E\u6027\uFF0C\u652F\u6301\u5706\u5F62\u98CE\u683C (#4049)
  • Stepper: \u65B0\u589E plus & minus \u63D2\u69FD (#4049)

Bug Fixes

  • Checkbox: \u4FEE\u590D label-position \u5C5E\u6027\u65E0\u6548 (#4036)
  • Dialog: \u4FEE\u590D beforeClose \u65B9\u6CD5\u7C7B\u578B\u5B9A\u4E49 (#4019)

Improvements

  • Circle: \u5F53\u5185\u7F6E canvas \u4E0D\u652F\u6301\u540C\u5C42\u6E32\u67D3\u65F6\u964D\u7EA7\u81F3\u9ED8\u8BA4 type (#4050)

1.6.7

2021-01-27

Features

  • Radio: \u65B0\u589E direction \u5C5E\u6027 (#4007)

Bug Fixes

  • Icons: \u4FEE\u590D\u90E8\u5206\u5730\u533A\u56FE\u6807\u4E0D\u663E\u793A (#4012)
  • Transition: \u4FEE\u590D\u9ED8\u8BA4\u8BBE\u7F6E show \u5C5E\u6027\u4E3A true \u65F6\u4E0D\u751F\u6548 (#4005)

1.6.6

2021-01-21

Features

  • Uploader: \u652F\u6301\u6587\u4EF6\u9884\u89C8 (#3975)

Bug Fixes

  • Picker: \u4FEE\u590D\u6807\u9898\u680F\u65E0\u6CD5\u663E\u793A (#3973)

Improvements

  • Calendar: \u4F18\u5316\u6A21\u677F\u4EE3\u7801 (#3972)

1.6.5

2021-01-19

Features

  • Field: \u65B0\u589E input \u63D2\u69FD (#3932)
  • Field: \u65B0\u589E click-input \u4E8B\u4EF6 (#3932)
  • Icon: \u65B0\u589E delete-o\u3001sort\u3001font\u3001font-o\u3001revoke \u56FE\u6807 (#3881)

Bug Fixes

  • Button: \u4FEE\u590D custom-style \u5C5E\u6027\u4E0D\u751F\u6548 (#3903)
  • Dialog: \u4FEE\u590D close-on-click-overlay \u5C5E\u6027\u4E0D\u751F\u6548 (#3913)

Improvements

  • Cell: \u4F18\u5316\u6027\u80FD (#3888)
  • Col: \u4F18\u5316\u6027\u80FD (#3886)
  • Divider: \u4F18\u5316\u6027\u80FD (#3887)
  • Empty: \u4F18\u5316\u6027\u80FD (#3933)
  • Loading: \u4F18\u5316\u6027\u80FD (#3892)
  • Notice-bar: \u4F18\u5316\u6027\u80FD (#3891)
  • Notify: \u4F18\u5316\u6027\u80FD (#3893)
  • Picker: \u4F18\u5316\u6027\u80FD (#3949)
  • Stepper: \u4F18\u5316\u6027\u80FD (#3890)
  • Sticky: \u4F18\u5316\u6027\u80FD (#3879)
  • SwipeCell: \u4F18\u5316\u6027\u80FD (#3928)
  • Switch: \u4F18\u5316\u6027\u80FD (#3889)
  • Tag: \u4F18\u5316\u6027\u80FD (#3894)
  • Transition: \u4F18\u5316\u6027\u80FD (#3895)
  • Uploader: \u4F18\u5316\u6027\u80FD (#3897)

1.6.4

2020-12-18

Improvements

  • Tab: \u4F18\u5316\u7C98\u6027\u5E03\u5C40\u65F6\u7684\u6E32\u67D3\u6027\u80FD (#3875)
  • Grid: \u4F7F\u7528 wxs \u4F18\u5316\u6027\u80FD (#3839)
  • Image: \u4F7F\u7528 wxs \u4F18\u5316\u6027\u80FD (#3839)
  • Button: \u4F7F\u7528 wxs \u4F18\u5316\u6027\u80FD (#3839)
  • Icon: \u51CF\u5C11\u4EE3\u7801\u4F53\u79EF (#3839)
  • Checkbox: \u51CF\u5C11\u4EE3\u7801\u4F53\u79EF (#3839)
  • Slider: \u51CF\u5C11\u4EE3\u7801\u4F53\u79EF (#3839)

Bug Fixes

  • Calendar: \u4FEE\u590D\u5728 phone \u8BBE\u5907\u4E0A\u9009\u62E9\u65E5\u671F\u540E\u663E\u793A\u9519\u8BEF (#3833)
  • GoodsAction: \u4FEE\u590D\u90E8\u5206\u8BBE\u5907\u4E0A\u9AD8\u5EA6\u5F02\u5E38 (#3865)
  • Slider: \u4FEE\u590D\u8BBE\u7F6E max min \u65F6\u6ED1\u52A8\u4E0D\u5747\u5300 (#3876)
  • Tab: \u4FEE\u590D\u5207\u6362\u65F6\u5185\u5BB9\u533A\u95EA\u70C1\u7684\u95EE\u9898 (#3866)

1.6.3

2020-12-09

Features

  • Dialog: \u65B0\u589E beforeClose \u5C5E\u6027 (#3815)
  • uploader: \u65B0\u589E\u82E5\u5E72 CSS \u53D8\u91CF (#3797)
  • Aarea: \u652F\u6301\u4E0D\u4F20\u5165 county_list \u6570\u636E (#3824)
  • Tab: \u65B0\u589E resize \u65B9\u6CD5 (#3827)

Improvements

  • Collapse: \u4F7F\u7528 animate \u63D0\u5347\u52A8\u753B\u6027\u80FD (#3826)
  • Tab: \u4F18\u5316\u6837\u5F0F\u62FC\u88C5\u6027\u80FD (#3827)

Bug Fixes

  • Field: \u4FEE\u590D\u8F93\u5165\u4E2D\u6587\u65F6\u663E\u793A\u5B57\u6570\u6682\u65F6\u8D85\u51FA maxlength (#3802)
  • Info: \u4FEE\u590D\u6837\u5F0F\u9519\u8BEF (#3823)
  • NavBar: \u4FEE\u590D\u52A8\u6001\u6E32\u67D3\u65F6\u7EC4\u4EF6\u62A5\u9519 (#3822)
  • Progress: \u4FEE\u590D percentage \u4E3A 0 \u65F6\u6837\u5F0F\u5F02\u5E38 (#3808)

1.6.2

2020-11-29

Features

  • Tabbar: \u65B0\u589E placeholder icon-prefix \u5C5E\u6027 (#3792)

Bug Fixes

  • DatetimePicker: \u4FEE\u590D type=year-month \u65F6\u9009\u62E9\u51FA\u73B0\u62A5\u9519 (#3783)
  • Info: \u4FEE\u590D\u90E8\u5206\u5B89\u5353\u8BBE\u5907\u4E2D\u6587\u6848\u4E0D\u5B8C\u5168\u5C45\u4E2D (#3778)
  • Tab: \u4FEE\u590D ellipsis \u4E3A false \u65F6\u4E0B\u5212\u7EBF\u4F4D\u7F6E\u4E0D\u6B63\u786E (#3777)
  • Notify: \u4FEE\u590D\u7EC4\u4EF6\u672A\u5168\u5C40\u5C45\u4E2D (#3751)

Improvements

  • Icon: \u4F7F\u7528 wxs \u4F18\u5316\u6027\u80FD (#3791)

1.6.1

2020-11-12

Bug Fixes

  • Field: \u4FEE\u590D\u672A\u4F20\u5165 label \u5C5E\u6027\u65F6\u4ECD\u6E32\u67D3 label #3756
  • Picker: \u4FEE\u590D confirm\u3001cancel \u4E8B\u4EF6\u62A5\u9519 #3755

1.6.0

2020-11-11

Features

  • SwipeCell: \u65B0\u589E\u5916\u90E8\u6837\u5F0F\u7C7B custom-class #3678
  • ActionSheet: \u8C03\u6574\u53D6\u6D88\u6587\u5B57\u989C\u8272\u81F3 @gray-7 #3719
  • ActionSheet: \u8C03\u6574\u9876\u90E8\u680F\u6837\u5F0F #3720
  • ActionSheet: \u8C03\u6574\u52A0\u8F7D\u56FE\u6807\u5927\u5C0F\u81F3 22px #3718
  • ActionSheet: \u8C03\u6574\u63CF\u8FF0\u6587\u5B57\u6837\u5F0F #3726
  • Cell: \u8C03\u6574\u56FE\u6807\u5916\u8FB9\u8DDD\u81F3 4px #3721
  • DropdownMenu: \u589E\u52A0\u9ED8\u8BA4\u9634\u5F71 #3723
  • DropdownMenu: \u8C03\u6574\u9009\u4E2D\u6001\u9ED8\u8BA4\u989C\u8272\u81F3 #ee0a24 #3725
  • Image: \u8C03\u6574\u56FE\u6807\u5927\u5C0F\u81F3 36px #3724
  • Popup: \u8C03\u6574\u5706\u89D2\u81F3 16px #3713
  • Search: \u8C03\u6574\u5DE6\u4FA7\u5185\u8FB9\u8DDD\u81F3 12px #3716
  • Sidebar: \u8C03\u6574\u5BBD\u5EA6\u81F3 85px #3722
  • TabbarItem: \u8C03\u6574\u56FE\u6807\u5927\u5C0F\u81F3 22px #3717

Bug Fixes

  • Field: \u4FEE\u590D\u4F7F\u7528 label \u5C5E\u6027\u65F6 label-class \u6837\u5F0F\u7C7B\u4E0D\u751F\u6548 #3729
  • NoticeBar: \u4FEE\u590D\u5185\u5BB9\u8F83\u77ED\u65F6\u5F00\u542F scrollable \u4E0D\u751F\u6548 #3727
  • SidebarItem: \u4FEE\u590D\u957F\u6570\u5B57\u4E0D\u6362\u884C\u7684\u95EE\u9898 #3714
  • Tag: \u9ED8\u8BA4\u5B57\u4F53\u52A0\u5165 miui #3715

1.5.2

2020-10-15

Features

  • Uploader: \u6807\u51C6\u5316 file-list \u4E0E\u4E8B\u4EF6\u53C2\u6570 #3673
  • Uploader: \u65B0\u589E thumb\uFF0C\u652F\u6301\u7F29\u7565\u56FE\u5C55\u793A #3673
  • GoodsAction: \u65B0\u589E\u82E5\u5E72 CSS \u53D8\u91CF #3654
  • \u79FB\u52A8 @types/wechat-miniprogram \u81F3 dependencies #3654

Bug Fixes

  • Button: \u4FEE\u590D\u7EC6\u8FB9\u6846\u6837\u5F0F\u95EE\u9898 #3653
  • Tab: \u91CD\u6784\u52A8\u753B\u5B9E\u73B0\uFF0C\u4E0D\u518D\u4F7F\u7528 transform #3668

1.5.1

2020-09-29

Features

  • Card: \u65B0\u589E origin-price tag \u63D2\u69FD #3645
  • ShareSheet: \u8C03\u6574\u9ED8\u8BA4 z-index \u81F3 100 #3575
  • ShareSheet: \u65B0\u589E item \u5C5E\u6027 openType #3575
  • Uploader: \u6269\u5927\u5220\u9664\u6309\u94AE\u70B9\u51FB\u533A\u57DF #3631

Bug Fixes

  • Uploader: \u652F\u6301\u9884\u89C8\u89C6\u9891 #3594
  • Dialog: \u8C03\u6574\u7C7B\u578B\u5B9A\u4E49 #3630
  • NavBar: \u4FEE\u590D CSS \u53D8\u91CF --nav-bar-icon-color \u4E0D\u751F\u6548 #3643
  • NavBar: \u4FEE\u590D\u672A\u8BBE\u7F6E title \u65F6\u6837\u5F0F\u5F02\u5E38 #3643
  • Tab: \u4FEE\u590D line-width \u5C5E\u6027\u4E0D\u652F\u6301 string #3628

1.5.0

2020-08-27

Features

  • ShareSheet: \u65B0\u589E\u7EC4\u4EF6 #3559
  • Icons: \u5347\u7EA7 @vant/icons \u81F3 v1.2.5 #3539
  • sidebar: \u65B0\u589E badge \u5C5E\u6027 #3564
  • Tabs: \u8C03\u6574\u9ED8\u8BA4 line-width \u81F3 40px #3518
  • Tabs: \u53BB\u9664\u9ED8\u8BA4\u8FB9\u6846 #3519
  • TreeSelect: \u65B0\u589E selected-icon \u5C5E\u6027 #3565
  • TreeSelect: \u652F\u6301 badge\u3001dot \u663E\u793A #3565

Bug Fixes

  • collapse: \u4FEE\u590D\u5D4C\u5957\u5728 popup \u7B49\u7EC4\u4EF6\u4E2D\u65F6\u9ED8\u8BA4\u5C55\u5F00\u65E0\u6548 #3562
  • empty: \u4FEE\u590D image\u3001description \u63D2\u69FD\u4E0D\u751F\u6548 #3563

1.4.4

2020-08-12

Bug Fixes

  • Transition: \u91CD\u6784\u7EC4\u4EF6\u4EE5\u4FEE\u590D\u5361\u987F\u95EE\u9898 #3498
  • Icon: \u4FEE\u590D\u6570\u5B57\u672A\u5BF9\u9F50 #3501
  • Tab: \u4FEE\u590D\u53EF\u6EDA\u52A8\u65F6\u4E0B\u5212\u7EBF\u4F4D\u7F6E\u9519\u8BEF #3511

v1.4.3

2020-08-07

Features

  • Dialog: \u589E\u52A0\u5706\u89D2\u6309\u94AE\u6837\u5F0F #3476
  • Cell: \u8C03\u6574\u4E0B\u5212\u7EBF\u4F4D\u7F6E #3487
  • Tab: \u8C03\u6574\u9ED8\u8BA4\u6EDA\u52A8\u9608\u503C\u81F3 5 \u4E2A\u3001\u4F18\u5316\u6837\u5F0F #3459

v1.4.2

2020-08-03

Features

  • Toast: \u4F18\u5316\u6837\u5F0F #3451
  • Tag: \u4F18\u5316\u6837\u5F0F #3465

Bug Fixes

  • Calendar: \u4FEE\u590D\u8D85\u51FA max-range \u65F6\u672A\u663E\u793A Toast #3466
  • Tab: \u4FEE\u590D\u624B\u52BF\u6EDA\u52A8\u53EF\u5207\u6362\u81F3\u7981\u7528\u9879 #3467

v1.4.1

2020-07-28

Features

  • Picker: \u8C03\u6574\u9ED8\u8BA4\u53EF\u89C1\u7684\u9009\u9879\u4E2A\u6570\u4E3A 6 \u4E2A #3418
  • Toast: \u8C03\u6574\u5706\u89D2\u4E3A 8px #3419

Bug Fixes

  • Slider: \u4FEE\u590D\u70B9\u51FB\u4F1A\u89E6\u53D1 drag \u4E8B\u4EF6 #3415
  • Area: \u4FEE\u590D\u4E2D\u95F4\u5217\u65E0\u6CD5\u6EDA\u52A8 #3443

v1.4.0

2020-07-17

Features

  • Empty: \u65B0\u589E Empty \u7EC4\u4EF6 #3327
  • NoticeBar: \u65B0\u589E background \u5C5E\u6027 #3388
  • NoticeBar: \u65B0\u589E close \u4E8B\u4EF6 #3388
  • GridItem: \u65B0\u589E icon-color \u5C5E\u6027 #3386
  • NavBar: \u73B0\u5728 custom-style \u5C06\u5F71\u54CD\u6839\u8282\u70B9#3371
  • Cell: \u65B0\u589E title-style \u5C5E\u6027, fix Field label width #3370
  • Uploader: \u66F4\u65B0 failed \u56FE\u6807 #3359
  • Uploader: \u66F4\u65B0\u5220\u9664\u56FE\u6807\u6837\u5F0F #3385
  • Uploader: \u79FB\u9664\u5706\u89D2\u6837\u5F0F #3384
  • Field: \u66F4\u65B0\u7981\u7528\u6001\u6837\u5F0F #3358
  • Field: \u66F4\u65B0 label \u6837\u5F0F #3357
  • Picker: \u8C03\u6574 action button \u6837\u5F0F #3316

Bug Fixes

  • Collapse: \u4F7F\u7528 animation \u91CD\u6784\u52A8\u753B\u90E8\u5206\u903B\u8F91\u4EE5\u4FEE\u590D\u52A8\u753B\u5361\u987F #3401
  • Uploader: \u4FEE\u590D loading \u6837\u5F0F\u9519\u8BEF\u3001\u8C03\u6574 previewSize \u5C5E\u6027\u9ED8\u8BA4\u503C #3317
  • Area: \u4FEE\u590D\u4F4E\u7248\u672C\u57FA\u7840\u5E93\u4E0B columns-num \u8BBE\u7F6E\u4E3A 1 \u6216 2 \u65F6\u771F\u673A\u73AF\u5883\u62A5\u9519 #3318
  • DatetimePicker: \u4FEE\u590D\u4F7F\u7528 formatter \u65F6\uFF0C\u4E8B\u4EF6\u8FD4\u56DE\u503C\u53EF\u80FD\u4E0D\u6B63\u786E #3352
  • Field: \u4FEE\u590D textarea \u6A21\u5F0F\u4E0B label \u4E0E value \u4E0D\u5728\u540C\u4E00\u6C34\u5E73\u7EBF\u4E0A #3383
  • Dialog: show dialog after class ready #3374
  • Calendar: confirm-disabled-text \u5C5E\u6027\u589E\u52A0\u9ED8\u8BA4\u503C #3394

v1.3.3

2020-06-24

Features

  • steps: \u4E3A\u6BCF\u4E00\u9879\u589E\u52A0 inactiveIcon\u3001activeIcon \u5C5E\u6027 #3315
  • field: \u589E\u52A0\u5916\u90E8\u6837\u5F0F\u7C7B label-class #3311
  • field: \u73B0\u5728\u603B\u4F1A\u4ECE\u5185\u90E8 set value \u503C #3313
  • uploader: \u4E3A\u6BCF\u4E00\u9879\u589E\u52A0 deletable \u5C5E\u6027 #3270
  • uploader: \u6269\u5927\u5220\u9664\u56FE\u6807\u7684\u53EF\u70B9\u51FB\u533A\u57DF #3265

Bug Fixes

  • tabbar: \u4FEE\u590D iphone-se \u4E0A\u9AD8\u5EA6\u5F02\u5E38 #3314
  • grid: \u4FEE\u590D text \u4E0E icon \u540C\u65F6\u8BBE\u7F6E\u65F6\u6837\u5F0F\u5F02\u5E38 #3310
  • calendar: \u4FEE\u590D\u591A\u9009\u6A21\u5F0F\u4E0B default-date \u5C5E\u6027\u4E0D\u751F\u6548 #3284
  • circle: \u4FEE\u590D type="2d" \u65F6\u65E0\u6CD5\u52A8\u6001\u53D8\u66F4 value #3264
  • nav-bar: \u4FEE\u590D\u672A\u8BBE\u7F6E left-text \u65F6\u5DE6\u4FA7\u56FE\u6807\u6837\u5F0F\u5F02\u5E38 #3263

v1.3.2

2020-06-04

Features

  • button: \u65B0\u589E form-type \u5C5E\u6027 #3208
  • grid: \u65B0\u589E icon-size\u3001badge \u5C5E\u6027 #3236
  • grid: \u65B0\u589E direction \u5C5E\u6027 #3192

Bug Fixes

  • Grid: \u4FEE\u590D\u5F00\u542F square \u65F6\u6A2A\u3001\u7EB5\u5411\u95F4\u8DDD\u4E0D\u540C #3231
  • uploader: \u4FEE\u590D\u70B9\u51FB\u5220\u9664\u56FE\u6807\u65F6\u89E6\u53D1 click-preview \u4E8B\u4EF6 #3230
  • circle: \u4FEE\u590D type="2d" \u4E0D\u751F\u6548 #3228
  • calendar: \u4FEE\u590D\u5728\u9009\u62E9\u533A\u95F4\u65F6\uFF0C\u70B9\u51FB\u786E\u5B9A\u62A5\u9519 #3195
  • tag: \u4FEE\u590D css \u53D8\u91CF\u540D\u62FC\u5199\u9519\u8BEF #3191

v1.3.1

2020-05-24

Features

  • Button: \u65B0\u589E class-prefix \u5C5E\u6027 #3159
  • Collapse: \u65B0\u589E open\u3001close \u4E8B\u4EF6 #3176

Bug Fixes

  • \u4FEE\u590D\u63A7\u5236\u53F0\u63D0\u793A\u9009\u62E9\u5668\u9519\u8BEF\u7684\u95EE\u9898 #3137
  • \u4FEE\u590D GoodsActionButton \u5728\u67D0\u4E9B\u60C5\u51B5\u4E0B\u62A5\u9519\u7684\u95EE\u9898 #3145

v1.3.0

2020-05-08

\u652F\u6301\u7B80\u6613\u53CC\u5411\u7ED1\u5B9A

1.3.0 \u4E2D\uFF0C\u6211\u4EEC\u4E3A\u6570\u4E2A\u8868\u5355\u7EC4\u4EF6\u652F\u6301\u4E86\u7B80\u6613\u53CC\u5411\u7ED1\u5B9A\uFF0C\u6D89\u53CA\u7EC4\u4EF6\u6709

Slider #3107

Search #3106

Rate #3105

Features

  • sticky: \u65B0\u589E scroll-top \u5C5E\u6027 #3115
  • button: \u65B0\u589E dataset \u5C5E\u6027 #3075
  • uploader: \u6240\u6709\u7C7B\u578B\u90FD\u4F1A\u89E6\u53D1 click-preview \u4E8B\u4EF6 #3071
  • Uploader: \u5C5E\u6027 accept \u65B0\u589E\u503C media #3047
  • feat: \u65B0\u589E\u57FA\u7840 font-family #3061
  • submit-bar: \u4F7F\u7528\u53E6\u4E00\u4E2A view \u5B9E\u73B0 safe-area-inset-bottom \u4EE5\u907F\u514D\u6837\u5F0F\u51B2\u7A81 #3104

Bug Fixes

  • dialog: \u4FEE\u590D title \u591A\u4F59\u7A7A\u683C\u7684\u95EE\u9898 #3069
  • tab: \u4FEE\u590D tab \u4E2A\u6570\u591A\u65F6\u663E\u793A\u6EDA\u52A8\u6761 #3072
  • Sticky: \u4FEE\u590D\u4F7F\u7528\u7EC4\u4EF6\u65F6\u9875\u9762 onPageScroll \u5931\u6548 #3092
  • button: \u4FEE\u590D disabled \u5C5E\u6027\u5BF9 open-type \u7C7B\u578B\u7684\u6309\u94AE\u65E0\u6548 #3076

v1.2.2

2020-04-21

Features

  • GoodsActionButton: \u65B0\u589E CSS \u53D8\u91CF goods-action-line-height #3037
  • Calendar: \u9009\u62E9\u533A\u95F4\u5927\u4E8E range \u65F6\u81EA\u52A8\u9009\u4E2D\u6700\u5927\u8303\u56F4 #3026
  • Notify: \u65B0\u589E top \u5C5E\u6027 #3018

Bug Fixes

  • Field: \u4FEE\u590D\u672A\u8BBE\u7F6E autosize \u65F6 wxs \u62A5\u9519 #3038
  • Field: \u907F\u514D\u8BBE\u7F6E showClear \u4E3A undefined #3012

v1.2.1

2020-04-12

Features

  • Field: \u652F\u6301\u5C0F\u7A0B\u5E8F\u53CC\u5411\u7ED1\u5B9A #2986
  • Calendar: \u591A\u9009\u6A21\u5F0F\u4E0B\u65B0\u589E unselect \u4E8B\u4EF6 #2990

Bug Fixes

  • IndexBar: \u79FB\u9664 scroll-top \u5C5E\u6027 #2999
  • Uploader: \u4FEE\u590D\u56FE\u7247\u540E\u7F00\u540D\u4E3A\u5927\u5199\u65F6\u672A\u6B63\u5E38\u8BC6\u522B #2987
  • Field: \u4FEE\u590D autosize \u5C5E\u6027 \u8BBE\u7F6E max-height \u4E0D\u751F\u6548 #3007

v1.2.0

2020-04-04

Features

  • TreeSelect: \u66F4\u65B0 nav \u80CC\u666F\u8272 #2952
  • Sticky: \u4F7F\u7528 page scroll \u91CD\u6784\u7EC4\u4EF6 #2950
  • Field: \u65B0\u589E auto-focus\u3001disable-default-padding\u3001cursor \u5C5E\u6027 #2936
  • Field: \u65B0\u589E linechange\u3001keyboardheightchange \u4E8B\u4EF6 #2936
  • Uploader: \u652F\u6301\u663E\u793A\u4E0A\u4F20\u72B6\u6001 #2929
  • Image: mode \u5C5E\u6027\u65B0\u589E widthFix\u3001heightFix #2908
  • Canvas: \u65B0\u589E type \u5C5E\u6027 #2906
  • NavBar: \u65B0\u589E placeholder \u5C5E\u6027 #2896

Bug Fixes

  • Field: \u4FEE\u590D\u8F93\u5165\u8FC7\u5FEB\u65F6\u8F93\u5165\u6846\u5185\u5BB9\u4E0D\u65AD\u56DE\u9000 #2936
  • Calendar: \u4FEE\u590D show-confirm \u4E3A true \u65F6\u7EC4\u4EF6\u521D\u59CB\u5316\u62A5\u9519 #2951
  • Tab: \u4FEE\u590D type \u4E3A card \u65F6 color \u5BF9\u8FB9\u6846\u65E0\u6548 #2941

v1.1.0

2020-03-21

Features

  • \u65B0\u589E Calendar \u65E5\u5386\u7EC4\u4EF6 #2894
  • Grid: \u65B0\u589E\u5916\u90E8\u6837\u5F0F\u7C7B custom-class\u3001content-class\u3001icon-class\u3001text-class #2882
  • Steps: \u65B0\u589E click \u4E8B\u4EF6 #2874
  • SideBar: \u65B0\u589E title \u63D2\u69FD #2873
  • Uploader: \u65B0\u589E upload-icon \u5C5E\u6027 #2869
  • Uploader: \u65B0\u589E show-upload \u5C5E\u6027 #2868
  • Uploader: \u66F4\u65B0\u6837\u5F0F\u3001\u8C03\u6574\u4E8B\u4EF6\u89E6\u53D1\u987A\u5E8F\u4E0E vant \u4E00\u81F4 #2886
  • Field: \u65B0\u589E show-word-limit \u5C5E\u6027 #2856
  • Field: autosize \u5C5E\u6027\u652F\u6301\u4F20\u5165\u5BF9\u8C61\uFF0C\u6307\u5B9A maxHeight \u4E0E minHeight #2856
  • Field: \u65B0\u589E\u82E5\u5E72 CSS \u53D8\u91CF #2856

Bug Fixes

  • Button: \u79FB\u9664 lang \u5C5E\u6027\u9ED8\u8BA4\u503C #2883
  • Button: \u4FEE\u590D disabled \u5C5E\u6027\u5BF9\u539F\u751F\u4E8B\u4EF6\u65E0\u6548 #2878

v1.0.7

2020-03-04

Features

  • DropdownItem: \u65B0\u589E popupStyle \u5C5E\u6027 #2804
  • DropdownItem: \u65B0\u589E open close opened closed \u4E8B\u4EF6 #2804
  • Card: \u65B0\u589E price num \u63D2\u69FD #2787
  • Card: \u65B0\u589E origin-price-class \u5916\u90E8\u6837\u5F0F\u7C7B #2787

Bug Fixes

  • Tab: \u4FEE\u590D\u5185\u5BB9\u9879\u9AD8\u5EA6\u4E0D\u540C\u65F6\u7C98\u6027\u5E03\u5C40\u5F02\u5E38 #2817
  • Picker: \u4FEE\u590D\u672A\u9009\u4E2D\u9879\u6837\u5F0F\u672A\u7F6E\u7070 #2816
  • GoodsActionButton: \u4FEE\u590D\u4EC5\u4F7F\u7528\u4E00\u4E2A button \u65F6\u6837\u5F0F\u5F02\u5E38 #2808
  • Radio: name\u7C7B\u578B\u4E0Evalue\u7EDF\u4E00 #2801
  • Uploader: \u4FEE\u590D\u6587\u6863\u9519\u8BEF #2777

v1.0.6

2020-02-24

Features

  • GoodsActionButton: \u65B0\u589E\u9ED8\u8BA4 slot #2779
  • SubmitBar: \u66F4\u65B0\u5706\u89D2\u6837\u5F0F #2755
  • Card: \u66F4\u65B0\u6837\u5F0F #2754
  • \u4F18\u5316 relation \u90E8\u5206\u4EE3\u7801 #2760

Bug Fixes

  • DropdownItem: \u4FEE\u590D\u70B9\u51FB\u9009\u9879\u65F6\u4E0D\u89E6\u53D1close\u4E8B\u4EF6 #2766
  • GoodsActionButton: \u4FEE\u590D\u4F4E\u7248\u672C\u57FA\u7840\u5E93\u4E0B\u7684\u6837\u5F0F\u95EE\u9898 #2762
  • Tabs: \u4FEE\u590D\u70B9\u51FB\u7981\u7528\u9879\u65F6\u4E8B\u4EF6\u53C2\u6570\u9519\u8BEF #2758
  • Checkbox: \u4FEE\u590D\u52A8\u6001\u8BBE\u7F6Edisabled\u5C5E\u6027\u65E0\u6548 #2748
  • Button: add loading color when plain is true #2746
  • Radio: \u4FEE\u590Dlabel-disabled\u6587\u6863\u9519\u8BEF #2763

v1.0.5

2020-02-07

Features

  • ActionSheet: actions \u652F\u6301\u66F4\u591A openType #2715
  • Uploader: \u65B0\u589E\u5F00\u59CBdisabled\u65F6\u7684\u7EC4\u4EF6\u6837\u5F0F #2720
  • Icon: \u8C03\u6574\u793A\u4F8B\u5C0F\u7A0B\u5E8F\u9875\u9762\u4E0E vant \u5BF9\u9F50 #2728
  • \u793A\u4F8B\u5C0F\u7A0B\u5E8F\u9996\u9875\u4E0E vant \u5BF9\u9F50 #2729
  • \u5B8C\u5584\u5FEB\u901F\u4E0A\u624B\u6587\u6863\uFF0C\u589E\u52A0 npm \u6784\u5EFA\u8BF4\u660E #2726

Bug Fixes

  • Radio: \u4FEE\u590Ddisabled\u5C5E\u6027\u4E0D\u751F\u6548 #2711
  • Tab: \u4FEE\u590Danimated\u5C5E\u6027\u65E0\u6CD5\u52A8\u6001\u5207\u6362 #2712
  • Circle: \u4FEE\u6B63\u6587\u6863\u9519\u8BEF\uFF0Csize\u5C5E\u6027\u4E0D\u652F\u6301string\u7C7B\u578B #2694
  • \u4FEE\u6B63\u6587\u6863\u9ED8\u8BA4 slot \u540D\u79F0\u4E3A default \u7684\u9519\u8BEF #2726
  • TreeSelect: \u4FEE\u6B63\u6587\u6863\u793A\u4F8B\u4EE3\u7801\u6807\u7B7E\u95ED\u5408\u9519\u8BEF #2710

v1.0.4

2020-01-21

Features

  • Stepper: \u65B0\u589E disable-long-press \u5C5E\u6027 #2691
  • quickstart: \u5FEB\u901F\u4E0A\u624B\u65B0\u589E\u5173\u95ED style v2 \u8BF4\u660E #2704
  • Search: \u65B0\u589E background\u3001disabled\u3001input-align \u6587\u6863\u793A\u4F8B #2698
  • Icon: \u6587\u6863\u65B0\u589E\u56FE\u6807\u6587\u5B57\u52A0\u8F7D\u5931\u8D25\u8BF4\u660E #2681

Bug Fixes

  • Sticky: \u4FEE\u590D\u771F\u673A\u4E0A\u9875\u9762\u6EDA\u52A8\u7F13\u6162\u65F6\u65E0\u6CD5\u5438\u9876/\u53D6\u6D88\u5438\u9876 #2703
  • DropdownItem: \u4FEE\u590D wx:key \u8B66\u544A #2670
  • IndexBar: \u6587\u6863\u4FEE\u590D\u7EC4\u4EF6\u5F15\u5165\u8DEF\u5F84\u9519\u8BEF #2689
  • \u5347\u7EA7\u4F9D\u8D56\u7248\u672C\u4EE5\u907F\u514D\u5B89\u5168\u8B66\u544A #2680

v1.0.3

2020-01-09

Features

  • npm \u5305\u9ED8\u8BA4\u8F93\u51FA es5 \u7248\u672C\u4EE3\u7801 #2639
  • Steps: \u65B0\u589E\u5916\u90E8\u6837\u5F0F\u7C7B desc-class #2630

Bug Fixes

  • Tab: \u89E3\u51B3\u52A8\u6001\u6DFB\u52A0\u9009\u9879\u65F6\uFF0C\u987A\u5E8F\u9519\u4E71\u548C\u4E0B\u5212\u7EBF\u957F\u5EA6\u4E0D\u53D8\u7684\u95EE\u9898 #2663
  • NavBar: \u4FEE\u590D\u8FD4\u56DE\u56FE\u6807\u672A\u5C45\u4E2D\u7684\u95EE\u9898 #2633

v1.0.2

2019-12-31

Features

  • Skeleton: \u65B0\u589E\u5916\u90E8\u6837\u5F0F\u7C7Brow-class``avatar-class``title-class #2612
  • SwipeCell: \u652F\u6301\u52A8\u6001\u4FEE\u6539width\u5C5E\u6027 #2607
  • Uploader: \u65B0\u589Ecamera``compressed``maxDuration\u5C5E\u6027 #2584

Improvements

  • Tab: \u4F18\u5316\u5F39\u6027\u6EDA\u52A8\u6548\u679C #2606

Bug Fixes

  • IndexBar: \u4FEE\u590D\u5B57\u6BCD\u672A\u5168\u90E8\u5B9A\u4E49\u65F6 click \u4E8B\u4EF6\u62A5\u9519 #2605
  • Field: \u4FEE\u590D\u70B9\u51FB\u6E05\u9664\u56FE\u6807\u540E\u4E0B\u4E00\u6B21\u70B9\u51FB\u65E0\u6548 #2602

v1.0.1

2019-12-23

Features

  • Uploader: \u65B0\u589E sizeType \u5C5E\u6027 #2563
  • GoodsActionButton: \u65B0\u589E plain \u5C5E\u6027 #2559
  • Uploader: \u53BB\u9664 use-slot \u5C5E\u6027 #2551
  • \u65B0\u589E\u6837\u5F0F\u8986\u76D6\u8BF4\u660E\u6587\u6863 #2566

Improvements

  • \u4F7F\u7528 nextTick \u4F18\u5316\u90E8\u5206\u5F02\u6B65\u903B\u8F91 #2561
  • wxs \u65B0\u589E addUnit \u65B9\u6CD5\u4EE5\u51CF\u5C11 setData \u8C03\u7528\u6B21\u6570 #2550

Bug Fixes

  • Tag: \u4FEE\u590D\u672A\u4F9D\u8D56 van-icon \u7EC4\u4EF6 #2579
  • Notify: \u4FEE\u590D safeAreaInsetTop \u4E0D\u751F\u6548 #2558
  • Uploader: \u4FEE\u590D capture \u5C5E\u6027\u4E0D\u751F\u6548 #2551

v1.0.0

2019-12-11

\u4E3B\u8981\u53D8\u52A8

  • npm \u5305\u540D\u7531 vant-weapp \u91CD\u547D\u540D\u4E3A @vant/weapp
  • \u589E\u52A0\u5341\u4E00\u4E2A\u65B0\u7EC4\u4EF6
  • \u589E\u52A0\u6570\u5341\u4E2A API
  • \u6240\u6709\u7EC4\u4EF6\u652F\u6301\u901A\u8FC7CSS\u81EA\u5B9A\u4E49\u5C5E\u6027\u81EA\u5B9A\u4E49\u6837\u5F0F
  • \u4F7F\u7528env()\u91CD\u6784 iOS \u5B89\u5168\u533A\u57DF\u9002\u914D
  • \u8C03\u6574\u90E8\u5206 API \u547D\u540D\uFF0C\u5E9F\u9664\u5C11\u91CF API

\u65B0\u7EC4\u4EF6

\u5728 Vant Weapp 1.0 \u7248\u672C\u4E2D\uFF0C\u6211\u4EEC\u65B0\u589E\u4E86 11 \u4E2A\u5B9E\u7528\u7684\u57FA\u7840\u7EC4\u4EF6\uFF1A

  • Grid \u5BAB\u683C\uFF0C\u7528\u4E8E\u5C55\u793A\u5185\u5BB9\u6216\u8FDB\u884C\u9875\u9762\u5BFC\u822A
  • Image \u56FE\u7247\uFF0C\u589E\u5F3A\u7248\u7684 Image \u6807\u7B7E\uFF0C\u652F\u6301\u56FE\u7247\u61D2\u52A0\u8F7D\u4E0E\u52A0\u8F7D\u5931\u8D25\u63D0\u793A
  • Circle \u73AF\u5F62\u8FDB\u5EA6\u6761\uFF0C\u544A\u77E5\u7528\u6237\u5F53\u524D\u7684\u72B6\u6001\u548C\u8FDB\u5EA6
  • Overaly \u906E\u7F69\u5C42\uFF0C\u7528\u4E8E\u5F3A\u8C03\u7279\u5B9A\u7684\u9875\u9762\u5143\u7D20\uFF0C\u5E76\u963B\u6B62\u7528\u6237\u8FDB\u884C\u5176\u4ED6\u64CD\u4F5C
  • Divider \u5206\u5272\u7EBF\uFF0C\u533A\u9694\u5185\u5BB9\u7684\u5206\u5272\u7EBF
  • Sticky \u7C98\u6027\u5E03\u5C40\uFF0C\u4E0E CSS \u4E2Dposition: sticky\u5C5E\u6027\u5B9E\u73B0\u7684\u6548\u679C\u7C7B\u4F3C
  • Skeleton \u9AA8\u67B6\u5C4F\uFF0C\u5728\u5F85\u52A0\u8F7D\u533A\u57DF\u5C55\u793A\u7684\u5360\u4F4D\u533A\u5757\uFF0C\u63D0\u4F9B\u754C\u9762\u52A0\u8F7D\u8FC7\u7A0B\u4E2D\u7684\u8FC7\u6E21\u6548\u679C
  • IndexBar \u7D22\u5F15\u680F\uFF0C\u901A\u8BAF\u5F55\u4E2D\u7684\u5B57\u6BCD\u7D22\u5F15\u680F\uFF0C\u7528\u4E8E\u957F\u5217\u8868\u5FEB\u901F\u7D22\u5F15
  • Uploader \u6587\u4EF6\u4E0A\u4F20\uFF0C\u4E0A\u4F20\u4E00\u4E2A\u6216\u591A\u4E2A\u6587\u4EF6
  • CountDown \u5012\u8BA1\u65F6\uFF0C\u7528\u4E8E\u663E\u793A\u6D3B\u52A8\u5012\u8BA1\u65F6\u3001\u77ED\u4FE1\u9A8C\u8BC1\u7801\u7B49
  • DropdownMenu \u4E0B\u62C9\u83DC\u5355\uFF0C\u7528\u4E8E\u5217\u8868\u7684\u5206\u7C7B\u9009\u62E9\u3001\u7B5B\u9009\u53CA\u6392\u5E8F

\u6837\u5F0F\u5B9A\u5236

\u5728 1.0 \u8FED\u4EE3\u8BA1\u5212\u786E\u5B9A\u4E4B\u521D\uFF0C\u6211\u4EEC\u5C31\u4E0D\u65AD\u601D\u8003\u8FD9\u6837\u4E00\u4E2A\u95EE\u9898 -- \u8BE5\u5982\u4F55\u7ED9\u7528\u6237\u63D0\u4F9B\u52A8\u6001\u5207\u6362\u4E3B\u9898\u6837\u5F0F\u7684\u529F\u80FD\u5462\uFF1F

\u5FAE\u4FE1\u5C0F\u7A0B\u5E8F\u7684\u73AF\u5883\u662F\u975E\u5E38\u7279\u6B8A\u7684\u3002\u4E0D\u5177\u6709\u52A8\u6001\u52A0\u8F7D\u4EE3\u7801\u7684\u673A\u5236\uFF0C\u540C\u65F6\u5FAE\u4FE1\u53C8\u9650\u5236\u4E86\u4EE3\u7801\u7684\u4E3B\u5305\u5927\u5C0F\u548C\u603B\u5927\u5C0F\u3002\u4F20\u7EDF\u7684\u57FA\u4E8E\u9884\u8BBE\u7684\u6837\u5F0F\u5B9A\u5236\u8FC7\u4E8E\u81C3\u80BF\uFF0C\u4E0D\u518D\u9002\u5408\u5FAE\u4FE1\u5C0F\u7A0B\u5E8F\u7684\u73AF\u5883\u3002

\u5FAE\u4FE1\u5C0F\u7A0B\u5E8F\u81EA\u5B9A\u4E49\u7EC4\u4EF6\u7684\u7EC4\u4EF6\u6A21\u578B\u76F8\u5F53\u4E8E\u4E00\u4E2A\u7B80\u5316\u7248\u7684 Shadow DOM\uFF0C\u5E78\u8FD0\u7684\u662F\uFF0C\u5C0F\u7A0B\u5E8F\u4E5F\u652F\u6301\u4E86 CSS \u81EA\u5B9A\u4E49\u5C5E\u6027 \u7684\u7279\u6027\u3002\u6700\u7EC8\uFF0C\u6211\u4EEC\u57FA\u4E8E CSS \u81EA\u5B9A\u4E49\u5C5E\u6027\u8BBE\u8BA1\u4E86\u6837\u5F0F\u5B9A\u5236\u7684\u65B9\u6848\uFF0C\u5F00\u53D1\u8005\u4F7F\u7528\u7075\u6D3B\u3001\u65B9\u4FBF\uFF0C\u7EC4\u4EF6\u7EF4\u62A4\u4E5F\u66F4\u7B80\u5355\u3002

\u4ECE 1.0 \u7248\u672C\u5F00\u59CB\uFF0CVant Weapp \u4E2D\u7684\u6240\u6709\u7EC4\u4EF6\u90FD\u652F\u6301\u901A\u8FC7 CSS \u7EC4\u5B9A\u4E49\u5C5E\u6027 \u8FDB\u884C\u6837\u5F0F\u5B9A\u5236\uFF0C\u5177\u4F53\u4F7F\u7528\u59FF\u52BF\u53EF\u67E5\u770B\u76F8\u5173\u6587\u6863

\u5B9A\u5236\u4E3B\u9898

\u4E0D\u517C\u5BB9\u66F4\u65B0

1.0 \u7248\u672C\u4E2D\u5305\u542B\u5C11\u91CF\u4E0D\u517C\u5BB9\u66F4\u65B0\uFF0C\u4E3B\u8981\u662F\u547D\u540D\u8C03\u6574\u548C\u79FB\u9664\u4E2A\u522B\u5C5E\u6027\u3002\u5BF9\u4E8E\u6B63\u5728\u4F7F\u7528 0.x \u7248\u672C\u7684\u9879\u76EE\uFF0C\u8BF7\u6309\u7167\u4E0B\u65B9\u7684\u5217\u8868\u4F9D\u6B21\u68C0\u67E5\uFF0C\u5927\u90E8\u5206\u9879\u76EE\u53EF\u4EE5\u65E0\u75DB\u5347\u7EA7\u3002

Badge
  • BadgeGroup\u91CD\u547D\u540D\u4E3ASidebar
  • Badge\u91CD\u547D\u540D\u4E3ASlidebarItem
  • active\u5C5E\u6027\u91CD\u547D\u540D\u4E3AactiveKey
Notify
  • text\u9009\u9879\u91CD\u547D\u540D\u4E3Amessage
  • backgroundColor\u9009\u9879\u91CD\u547D\u540D\u4E3Abackground
  • \u53BB\u9664transitionend\u4E8B\u4EF6\uFF0C\u65B0\u589E 6 \u4E2A\u4E8B\u4EF6
SwitchCell
  • \u79FB\u9664\u4E86SwitchCell\u7EC4\u4EF6\uFF0C\u53EF\u4EE5\u4F7F\u7528Cell\u548CSwitch\u7EC4\u4EF6\u4EE3\u66FF
Transition
  • \u53BB\u9664transitionend\u4E8B\u4EF6\uFF0C\u65B0\u589E 6 \u4E2A\u4E8B\u4EF6

\u65B0\u7279\u6027

ActionSheet
  • \u65B0\u589Eclick-overlay\u4E8B\u4EF6
  • \u65B0\u589Eclose-on-click-action\u5C5E\u6027
  • \u65B0\u589Ecolor\u5C5E\u6027
  • \u65B0\u589Edescription\u5C5E\u6027
  • \u65B0\u589Eround\u5C5E\u6027
Area
  • \u65B0\u589Ecolumns-placeholder\u5C5E\u6027
  • reset\u65B9\u6CD5\u652F\u6301\u4F20\u5165code\u53C2\u6570
Button
  • \u65B0\u589Eloading-type\u5C5E\u6027
  • color\u5C5E\u6027\u652F\u6301\u6E10\u53D8\u8272
  • \u5207\u6362disabled\u65F6\u589E\u52A0\u8FC7\u6E21\u6548\u679C
Checkbox
  • \u65B0\u589Eicon-size\u5C5E\u6027
Color
  • \u57FA\u7840\u7EA2\u8272\u66F4\u65B0\u4E3A#ee0a24
DatetimePicker
  • \u65B0\u589Efilter\u5C5E\u6027
Dialog
  • \u4F18\u5316\u6587\u5B57\u6362\u884C
  • \u65B0\u589Etitle\u63D2\u69FD
  • \u65B0\u589Econfirm-button-color\u5C5E\u6027
  • \u65B0\u589Ecancel-button-color\u5C5E\u6027
  • \u65B0\u589Ewidth\u5C5E\u6027
  • \u65B0\u589Eoverlay-style\u5C5E\u6027
Field
  • \u65B0\u589Eclickable\u5C5E\u6027
  • \u65B0\u589Earrow-direction\u5C5E\u6027
  • \u65B0\u589Ehold-keyboard\u5C5E\u6027
GoodsActionButton
  • \u65B0\u589Ecolor\u5C5E\u6027
  • \u6837\u5F0F\u5347\u7EA7\u4E3A\u5706\u89D2\u98CE\u683C
GoodsActionIcon
  • \u65B0\u589Eicon\u63D2\u69FD
  • \u65B0\u589Edot\u5C5E\u6027
GridItem
  • \u65B0\u589Einfo\u5C5E\u6027
  • \u65B0\u589Edot\u5C5E\u6027
Icon
  • \u65B0\u589Edot\u5C5E\u6027
  • \u65B0\u589Edown\u56FE\u6807
  • \u65B0\u589Ewap-hone\u5B9E\u5E95\u98CE\u683C\u56FE\u6807
  • \u652F\u6301number\u7C7B\u578B\u7684size\u5C5E\u6027
Loading
  • \u652F\u6301number\u7C7B\u578B\u7684size\u5C5E\u6027
NoticeBar
  • \u963B\u6B62\u5173\u95ED\u56FE\u6807\u70B9\u51FB\u4E8B\u4EF6\u5192\u6CE1
Notify
  • \u65B0\u589Eclear\u65B9\u6CD5
  • \u65B0\u589Eround\u5C5E\u6027
  • \u65B0\u589Ecloseable\u5C5E\u6027
  • \u65B0\u589Eclose-icon\u5C5E\u6027
  • \u65B0\u589Eclose-icon-position\u5C5E\u6027
Progress
  • \u65B0\u589Estroke-width\u5C5E\u6027
Radio
  • \u65B0\u589Eicon-size\u5C5E\u6027
Rate
  • \u4F18\u5316\u624B\u52BF\u5224\u65AD
  • \u65B0\u589Egutter\u5C5E\u6027
  • \u65B0\u589Etouchable\u5C5E\u6027
  • \u652F\u6301string\u7C7B\u578B\u7684size\u5C5E\u6027
  • \u65B0\u589Eaction-text\u5C5E\u6027
  • \u65B0\u589Eleft-icon\u63D2\u69FD
  • \u65B0\u589Eright-icon\u63D2\u69FD
SlidebarItem
  • \u65B0\u589Edot\u5C5E\u6027
Slider
  • \u65B0\u589Edrag-start\u4E8B\u4EF6
  • \u65B0\u589Edrag-end\u4E8B\u4EF6
  • \u652F\u6301\u4F20\u5165\u4EFB\u610F\u8303\u56F4\u7684max\u548Cmin\u5C5E\u6027
  • \u652F\u6301number\u7C7B\u578B\u7684bar-height\u5C5E\u6027
  • \u589E\u52A0\u6ED1\u52A8\u52A8\u753B
  • \u589E\u5927\u70B9\u51FB\u533A\u57DF
SwipeCell
  • \u65B0\u589Ename\u5C5E\u6027
  • \u65B0\u589Eopen\u4E8B\u4EF6
  • \u652F\u6301\u6253\u5F00\u72B6\u6001\u4E92\u65A5
Switch
  • \u52A0\u8F7D\u56FE\u6807\u7684\u989C\u8272\u4F1A\u8DDF\u968F\u5F00\u5173\u72B6\u6001\u53D8\u5316
Stepper
  • \u652F\u6301\u957F\u6309\u624B\u52BF
  • \u65B0\u589Einput-width\u5C5E\u6027
  • \u65B0\u589Ebutton-size\u5C5E\u6027
  • \u65B0\u589EdecimalLength\u5C5E\u6027
  • \u65B0\u589E disablePlus\u3001disableMinus \u5C5E\u6027
Steps
  • \u65B0\u589Eactive-icon\u5C5E\u6027
  • \u65B0\u589Einactive-icon\u5C5E\u6027
Tabs
  • \u4F7F\u7528 Sticky \u7EC4\u4EF6\u91CD\u6784\u5438\u9876\u5B9E\u73B0
  • \u65B0\u589Ename\u5C5E\u6027
  • \u65B0\u589Eline-height\u5C5E\u6027
  • \u65B0\u589Eellipsis\u5C5E\u6027
  • \u65B0\u589Elazy-render\u5C5E\u6027
  • line-width\u5C5E\u6027\u652F\u6301String\u7C7B\u578B
  • \u589E\u52A0\u4E91\u5F00\u53D1\u7ED3\u5408\u793A\u4F8B
TreeSelect
  • \u65B0\u589Emax\u5C5E\u6027
  • \u65B0\u589Econtent\u63D2\u69FD
',54),f=[q],y={setup(a,{expose:s}){return s({frontmatter:{}}),(l,t)=>(e(),p("div",b,f))}},x={class:"van-doc-markdown-body"},_=d(`

\u6837\u5F0F\u8986\u76D6

\u4ECB\u7ECD

Vant Weapp \u57FA\u4E8E\u5FAE\u4FE1\u5C0F\u7A0B\u5E8F\u7684\u673A\u5236\uFF0C\u4E3A\u5F00\u53D1\u8005\u63D0\u4F9B\u4E86\u4EE5\u4E0B 3 \u79CD\u4FEE\u6539\u7EC4\u4EF6\u6837\u5F0F\u7684\u65B9\u6CD5

\u89E3\u9664\u6837\u5F0F\u9694\u79BB

\u6837\u5F0F\u9694\u79BB\u7684\u76F8\u5173\u80CC\u666F\u77E5\u8BC6\u8BF7\u67E5\u9605\u5FAE\u4FE1\u5C0F\u7A0B\u5E8F\u6587\u6863


Vant Weapp \u7684\u6240\u6709\u7EC4\u4EF6\u90FD\u5F00\u542F\u4E86addGlobalClass: true\u4EE5\u63A5\u53D7\u5916\u90E8\u6837\u5F0F\u7684\u5F71\u54CD\uFF0C\u53EF\u4EE5\u4F7F\u7528\u5982\u4E0B 2 \u79CD\u65B9\u5F0F\u8986\u76D6\u7EC4\u4EF6\u6837\u5F0F

\u5728\u9875\u9762\u4E2D\u4F7F\u7528 Vant Weapp \u7EC4\u4EF6\u65F6\uFF0C\u53EF\u76F4\u63A5\u5728\u9875\u9762\u7684\u6837\u5F0F\u6587\u4EF6\u4E2D\u8986\u76D6\u6837\u5F0F

<van-button type="primary">\u4E3B\u8981\u6309\u94AE</van-button>
 
/* page.wxss */
 .van-button--primary {
   font-size: 20px;
@@ -239,7 +239,7 @@ npm run dev
     console.log(e.detail);
   },
 });
-

API

Props

\u53C2\u6570\u8BF4\u660E\u7C7B\u578B\u9ED8\u8BA4\u503C
show\u662F\u5426\u663E\u793A\u52A8\u4F5C\u9762\u677Fboolean-
actions\u83DC\u5355\u9009\u9879Array[]
title\u6807\u9898string-
description v1.0.0\u9009\u9879\u4E0A\u65B9\u7684\u63CF\u8FF0\u4FE1\u606Fstring-
z-indexz-index \u5C42\u7EA7number100
cancel-text\u53D6\u6D88\u6309\u94AE\u6587\u5B57string-
overlay\u662F\u5426\u663E\u793A\u906E\u7F69\u5C42boolean-
round v1.0.0\u662F\u5426\u663E\u793A\u5706\u89D2booleantrue
close-on-click-action\u662F\u5426\u5728\u70B9\u51FB\u9009\u9879\u540E\u5173\u95EDbooleantrue
close-on-click-overlay\u70B9\u51FB\u906E\u7F69\u662F\u5426\u5173\u95ED\u83DC\u5355boolean-
safe-area-inset-bottom\u662F\u5426\u4E3A iPhoneX \u7559\u51FA\u5E95\u90E8\u5B89\u5168\u8DDD\u79BBbooleantrue

Events

\u4E8B\u4EF6\u540D\u8BF4\u660E\u53C2\u6570
bind:select\u9009\u4E2D\u9009\u9879\u65F6\u89E6\u53D1\uFF0C\u7981\u7528\u6216\u52A0\u8F7D\u72B6\u6001\u4E0B\u4E0D\u4F1A\u89E6\u53D1event.detail: \u9009\u9879\u5BF9\u5E94\u7684\u5BF9\u8C61
bind:close\u5173\u95ED\u65F6\u89E6\u53D1-
bind:cancel\u53D6\u6D88\u6309\u94AE\u70B9\u51FB\u65F6\u89E6\u53D1-
bind:click-overlay\u70B9\u51FB\u906E\u7F69\u5C42\u65F6\u89E6\u53D1-
bind:getuserinfo\u7528\u6237\u70B9\u51FB\u8BE5\u6309\u94AE\u65F6\uFF0C\u4F1A\u8FD4\u56DE\u83B7\u53D6\u5230\u7684\u7528\u6237\u4FE1\u606F\uFF0C\u56DE\u8C03\u7684 detail \u6570\u636E\u4E0E wx.getUserInfo \u8FD4\u56DE\u7684\u4E00\u81F4\uFF0CopenType="getUserInfo"\u65F6\u6709\u6548-
bind:contact\u5BA2\u670D\u6D88\u606F\u56DE\u8C03\uFF0CopenType="contact"\u65F6\u6709\u6548-
bind:getphonenumber\u83B7\u53D6\u7528\u6237\u624B\u673A\u53F7\u56DE\u8C03\uFF0CopenType="getPhoneNumber"\u65F6\u6709\u6548-
bind:error\u5F53\u4F7F\u7528\u5F00\u653E\u80FD\u529B\u65F6\uFF0C\u53D1\u751F\u9519\u8BEF\u7684\u56DE\u8C03\uFF0CopenType="launchApp"\u65F6\u6709\u6548-
bind:launchapp\u6253\u5F00 APP \u6210\u529F\u7684\u56DE\u8C03\uFF0CopenType="launchApp"\u65F6\u6709\u6548-
bind:opensetting\u5728\u6253\u5F00\u6388\u6743\u8BBE\u7F6E\u9875\u540E\u56DE\u8C03\uFF0CopenType="openSetting"\u65F6\u6709\u6548-

actions

API\u4E2D\u7684actions\u4E3A\u4E00\u4E2A\u5BF9\u8C61\u6570\u7EC4\uFF0C\u6570\u7EC4\u4E2D\u7684\u6BCF\u4E00\u4E2A\u5BF9\u8C61\u914D\u7F6E\u6BCF\u4E00\u5217\uFF0C\u6BCF\u4E00\u5217\u6709\u4EE5\u4E0Bkey\uFF1A

\u952E\u540D\u8BF4\u660E\u7C7B\u578B\u9ED8\u8BA4\u503C
name\u6807\u9898string-
subname\u4E8C\u7EA7\u6807\u9898string-
color\u9009\u9879\u6587\u5B57\u989C\u8272string-
loading\u662F\u5426\u4E3A\u52A0\u8F7D\u72B6\u6001boolean-
disabled\u662F\u5426\u4E3A\u7981\u7528\u72B6\u6001boolean-
className\u4E3A\u5BF9\u5E94\u5217\u6DFB\u52A0\u989D\u5916\u7684 class \u7C7B\u540Dstring-
openType\u5FAE\u4FE1\u5F00\u653E\u80FD\u529B\uFF0C\u5177\u4F53\u652F\u6301\u53EF\u53C2\u8003 \u5FAE\u4FE1\u5B98\u65B9\u6587\u6863string-
lang\u6307\u5B9A\u8FD4\u56DE\u7528\u6237\u4FE1\u606F\u7684\u8BED\u8A00\uFF0Czh_CN \u7B80\u4F53\u4E2D\u6587\uFF0Czh_TW \u7E41\u4F53\u4E2D\u6587\uFF0Cen \u82F1\u6587stringen
sessionFrom\u4F1A\u8BDD\u6765\u6E90\uFF0CopenType="contact"\u65F6\u6709\u6548string-
sendMessageTitle\u4F1A\u8BDD\u5185\u6D88\u606F\u5361\u7247\u6807\u9898\uFF0CopenType="contact"\u65F6\u6709\u6548string\u5F53\u524D\u6807\u9898
sendMessagePath\u4F1A\u8BDD\u5185\u6D88\u606F\u5361\u7247\u70B9\u51FB\u8DF3\u8F6C\u5C0F\u7A0B\u5E8F\u8DEF\u5F84\uFF0CopenType="contact"\u65F6\u6709\u6548string\u5F53\u524D\u5206\u4EAB\u8DEF\u5F84
sendMessageImg\u4F1A\u8BDD\u5185\u6D88\u606F\u5361\u7247\u56FE\u7247\uFF0CopenType="contact"\u65F6\u6709\u6548string\u622A\u56FE
showMessageCard\u662F\u5426\u663E\u793A\u4F1A\u8BDD\u5185\u6D88\u606F\u5361\u7247\uFF0C\u8BBE\u7F6E\u6B64\u53C2\u6570\u4E3A true\uFF0C\u7528\u6237\u8FDB\u5165\u5BA2\u670D\u4F1A\u8BDD\u4F1A\u5728\u53F3\u4E0B\u89D2\u663E\u793A"\u53EF\u80FD\u8981\u53D1\u9001\u7684\u5C0F\u7A0B\u5E8F"\u63D0\u793A\uFF0C\u7528\u6237\u70B9\u51FB\u540E\u53EF\u4EE5\u5FEB\u901F\u53D1\u9001\u5C0F\u7A0B\u5E8F\u6D88\u606F\uFF0CopenType="contact"\u65F6\u6709\u6548stringfalse
appParameter\u6253\u5F00 APP \u65F6\uFF0C\u5411 APP \u4F20\u9012\u7684\u53C2\u6570\uFF0CopenType=launchApp \u65F6\u6709\u6548string-
`,14),U=[L],R={setup(a,{expose:s}){return s({frontmatter:{}}),(l,t)=>(e(),p("div",E,U))}},V={class:"van-doc-markdown-body"},G=d(`

Area \u7701\u5E02\u533A\u9009\u62E9

\u4ECB\u7ECD

\u7701\u5E02\u533A\u9009\u62E9\u7EC4\u4EF6\u901A\u5E38\u4E0E \u5F39\u51FA\u5C42 \u7EC4\u4EF6\u914D\u5408\u4F7F\u7528\u3002

\u5F15\u5165

\u5728app.json\u6216index.json\u4E2D\u5F15\u5165\u7EC4\u4EF6\uFF0C\u8BE6\u7EC6\u4ECB\u7ECD\u89C1\u5FEB\u901F\u4E0A\u624B\u3002

"usingComponents": {
+

API

Props

\u53C2\u6570\u8BF4\u660E\u7C7B\u578B\u9ED8\u8BA4\u503C
show\u662F\u5426\u663E\u793A\u52A8\u4F5C\u9762\u677Fboolean-
actions\u83DC\u5355\u9009\u9879Array[]
title\u6807\u9898string-
description v1.0.0\u9009\u9879\u4E0A\u65B9\u7684\u63CF\u8FF0\u4FE1\u606Fstring-
z-indexz-index \u5C42\u7EA7number100
cancel-text\u53D6\u6D88\u6309\u94AE\u6587\u5B57string-
overlay\u662F\u5426\u663E\u793A\u906E\u7F69\u5C42boolean-
round v1.0.0\u662F\u5426\u663E\u793A\u5706\u89D2booleantrue
close-on-click-action\u662F\u5426\u5728\u70B9\u51FB\u9009\u9879\u540E\u5173\u95EDbooleantrue
close-on-click-overlay\u70B9\u51FB\u906E\u7F69\u662F\u5426\u5173\u95ED\u83DC\u5355boolean-
safe-area-inset-bottom\u662F\u5426\u4E3A iPhoneX \u7559\u51FA\u5E95\u90E8\u5B89\u5168\u8DDD\u79BBbooleantrue

Events

\u4E8B\u4EF6\u540D\u8BF4\u660E\u53C2\u6570
bind:select\u9009\u4E2D\u9009\u9879\u65F6\u89E6\u53D1\uFF0C\u7981\u7528\u6216\u52A0\u8F7D\u72B6\u6001\u4E0B\u4E0D\u4F1A\u89E6\u53D1event.detail: \u9009\u9879\u5BF9\u5E94\u7684\u5BF9\u8C61
bind:close\u5173\u95ED\u65F6\u89E6\u53D1-
bind:cancel\u53D6\u6D88\u6309\u94AE\u70B9\u51FB\u65F6\u89E6\u53D1-
bind:click-overlay\u70B9\u51FB\u906E\u7F69\u5C42\u65F6\u89E6\u53D1-
bind:getuserinfo\u7528\u6237\u70B9\u51FB\u8BE5\u6309\u94AE\u65F6\uFF0C\u4F1A\u8FD4\u56DE\u83B7\u53D6\u5230\u7684\u7528\u6237\u4FE1\u606F\uFF0C\u56DE\u8C03\u7684 detail \u6570\u636E\u4E0E wx.getUserInfo \u8FD4\u56DE\u7684\u4E00\u81F4\uFF0CopenType="getUserInfo"\u65F6\u6709\u6548-
bind:contact\u5BA2\u670D\u6D88\u606F\u56DE\u8C03\uFF0CopenType="contact"\u65F6\u6709\u6548-
bind:getphonenumber\u83B7\u53D6\u7528\u6237\u624B\u673A\u53F7\u56DE\u8C03\uFF0CopenType="getPhoneNumber"\u65F6\u6709\u6548-
bind:error\u5F53\u4F7F\u7528\u5F00\u653E\u80FD\u529B\u65F6\uFF0C\u53D1\u751F\u9519\u8BEF\u7684\u56DE\u8C03\uFF0CopenType="launchApp"\u65F6\u6709\u6548-
bind:launchapp\u6253\u5F00 APP \u6210\u529F\u7684\u56DE\u8C03\uFF0CopenType="launchApp"\u65F6\u6709\u6548-
bind:opensetting\u5728\u6253\u5F00\u6388\u6743\u8BBE\u7F6E\u9875\u540E\u56DE\u8C03\uFF0CopenType="openSetting"\u65F6\u6709\u6548-

actions

API\u4E2D\u7684actions\u4E3A\u4E00\u4E2A\u5BF9\u8C61\u6570\u7EC4\uFF0C\u6570\u7EC4\u4E2D\u7684\u6BCF\u4E00\u4E2A\u5BF9\u8C61\u914D\u7F6E\u6BCF\u4E00\u5217\uFF0C\u6BCF\u4E00\u5217\u6709\u4EE5\u4E0Bkey\uFF1A

\u952E\u540D\u8BF4\u660E\u7C7B\u578B\u9ED8\u8BA4\u503C
name\u6807\u9898string-
subname\u4E8C\u7EA7\u6807\u9898string-
color\u9009\u9879\u6587\u5B57\u989C\u8272string-
loading\u662F\u5426\u4E3A\u52A0\u8F7D\u72B6\u6001boolean-
disabled\u662F\u5426\u4E3A\u7981\u7528\u72B6\u6001boolean-
className\u4E3A\u5BF9\u5E94\u5217\u6DFB\u52A0\u989D\u5916\u7684 class \u7C7B\u540Dstring-
openType\u5FAE\u4FE1\u5F00\u653E\u80FD\u529B\uFF0C\u5177\u4F53\u652F\u6301\u53EF\u53C2\u8003 \u5FAE\u4FE1\u5B98\u65B9\u6587\u6863string-
lang\u6307\u5B9A\u8FD4\u56DE\u7528\u6237\u4FE1\u606F\u7684\u8BED\u8A00\uFF0Czh_CN \u7B80\u4F53\u4E2D\u6587\uFF0Czh_TW \u7E41\u4F53\u4E2D\u6587\uFF0Cen \u82F1\u6587stringen
sessionFrom\u4F1A\u8BDD\u6765\u6E90\uFF0CopenType="contact"\u65F6\u6709\u6548string-
sendMessageTitle\u4F1A\u8BDD\u5185\u6D88\u606F\u5361\u7247\u6807\u9898\uFF0CopenType="contact"\u65F6\u6709\u6548string\u5F53\u524D\u6807\u9898
sendMessagePath\u4F1A\u8BDD\u5185\u6D88\u606F\u5361\u7247\u70B9\u51FB\u8DF3\u8F6C\u5C0F\u7A0B\u5E8F\u8DEF\u5F84\uFF0CopenType="contact"\u65F6\u6709\u6548string\u5F53\u524D\u5206\u4EAB\u8DEF\u5F84
sendMessageImg\u4F1A\u8BDD\u5185\u6D88\u606F\u5361\u7247\u56FE\u7247\uFF0CopenType="contact"\u65F6\u6709\u6548string\u622A\u56FE
showMessageCard\u662F\u5426\u663E\u793A\u4F1A\u8BDD\u5185\u6D88\u606F\u5361\u7247\uFF0C\u8BBE\u7F6E\u6B64\u53C2\u6570\u4E3A true\uFF0C\u7528\u6237\u8FDB\u5165\u5BA2\u670D\u4F1A\u8BDD\u4F1A\u5728\u53F3\u4E0B\u89D2\u663E\u793A"\u53EF\u80FD\u8981\u53D1\u9001\u7684\u5C0F\u7A0B\u5E8F"\u63D0\u793A\uFF0C\u7528\u6237\u70B9\u51FB\u540E\u53EF\u4EE5\u5FEB\u901F\u53D1\u9001\u5C0F\u7A0B\u5E8F\u6D88\u606F\uFF0CopenType="contact"\u65F6\u6709\u6548stringfalse
appParameter\u6253\u5F00 APP \u65F6\uFF0C\u5411 APP \u4F20\u9012\u7684\u53C2\u6570\uFF0CopenType=launchApp \u65F6\u6709\u6548string-
`,14),R=[L],U={setup(a,{expose:s}){return s({frontmatter:{}}),(l,t)=>(e(),p("div",E,R))}},V={class:"van-doc-markdown-body"},G=d(`

Area \u7701\u5E02\u533A\u9009\u62E9

\u4ECB\u7ECD

\u7701\u5E02\u533A\u9009\u62E9\u7EC4\u4EF6\u901A\u5E38\u4E0E \u5F39\u51FA\u5C42 \u7EC4\u4EF6\u914D\u5408\u4F7F\u7528\u3002

\u5F15\u5165

\u5728app.json\u6216index.json\u4E2D\u5F15\u5165\u7EC4\u4EF6\uFF0C\u8BE6\u7EC6\u4ECB\u7ECD\u89C1\u5FEB\u901F\u4E0A\u624B\u3002

"usingComponents": {
   "van-area": "@vant/weapp/area/index"
 }
 

\u4EE3\u7801\u6F14\u793A

\u57FA\u7840\u7528\u6CD5

\u521D\u59CB\u5316\u7701\u5E02\u533A\u7EC4\u4EF6\u65F6\uFF0C\u9700\u8981\u901A\u8FC7 area-list \u5C5E\u6027\u4F20\u5165\u7701\u5E02\u533A\u6570\u636E\u3002

<van-area area-list="{{ areaList }}" />
@@ -288,7 +288,7 @@ db.collection(catch((err) => {
     console.log(err);
   });
-

API

Props

\u53C2\u6570\u8BF4\u660E\u7C7B\u578B\u9ED8\u8BA4\u503C
value\u5F53\u524D\u9009\u4E2D\u7684\u7701\u5E02\u533Acodestring-
title\u9876\u90E8\u680F\u6807\u9898string-
area-list\u7701\u5E02\u533A\u6570\u636E\uFF0C\u683C\u5F0F\u89C1\u4E0B\u65B9object-
columns-num\u7701\u5E02\u533A\u663E\u793A\u5217\u6570\uFF0C3-\u7701\u5E02\u533A\uFF0C2-\u7701\u5E02\uFF0C1-\u7701string | number3
columns-placeholder\u5217\u5360\u4F4D\u63D0\u793A\u6587\u5B57string[][]
loading\u662F\u5426\u663E\u793A\u52A0\u8F7D\u72B6\u6001booleanfalse
item-height\u9009\u9879\u9AD8\u5EA6number44
visible-item-count\u53EF\u89C1\u7684\u9009\u9879\u4E2A\u6570number6
confirm-button-text\u786E\u8BA4\u6309\u94AE\u6587\u5B57string\u786E\u8BA4
cancel-button-text\u53D6\u6D88\u6309\u94AE\u6587\u5B57string\u53D6\u6D88
show-toolbar 1.10.3\u662F\u5426\u663E\u793A\u9876\u90E8\u680Fbooleantrue

Events

\u4E8B\u4EF6\u8BF4\u660E\u56DE\u8C03\u53C2\u6570
bind:confirm\u70B9\u51FB\u53F3\u4E0A\u65B9\u5B8C\u6210\u6309\u94AE\u4E00\u4E2A\u6570\u7EC4\u53C2\u6570\uFF0C\u5177\u4F53\u683C\u5F0F\u770B\u4E0B\u65B9\u6570\u636E\u683C\u5F0F\u7AE0\u8282
bind:cancel\u70B9\u51FB\u53D6\u6D88\u6309\u94AE\u65F6-
bind:change\u9009\u9879\u6539\u53D8\u65F6\u89E6\u53D1Picker \u5B9E\u4F8B\uFF0C\u6240\u6709\u5217\u9009\u4E2D\u503C\uFF0C\u5F53\u524D\u5217\u5BF9\u5E94\u7684\u7D22\u5F15

\u65B9\u6CD5

\u901A\u8FC7 selectComponent \u53EF\u4EE5\u83B7\u53D6\u5230 Area \u5B9E\u4F8B\u5E76\u8C03\u7528\u5B9E\u4F8B\u65B9\u6CD5\u3002

\u65B9\u6CD5\u540D\u53C2\u6570\u8FD4\u56DE\u503C\u4ECB\u7ECD
resetcode: string-\u6839\u636E code \u91CD\u7F6E\u6240\u6709\u9009\u9879\uFF0C\u82E5\u4E0D\u4F20 code\uFF0C\u5219\u91CD\u7F6E\u5230\u7B2C\u4E00\u9879

\u70B9\u51FB\u5B8C\u6210\u65F6\u8FD4\u56DE\u7684\u6570\u636E\u683C\u5F0F

\u8FD4\u56DE\u7684\u6570\u636E\u6574\u4F53\u4E3A\u4E00\u4E2A Object\uFF0C\u5305\u542B values, indexs \u4E24\u4E2A key\u3002

values \u6574\u4F53\u4E3A\u4E00\u4E2A\u6570\u7EC4\uFF0C\u6570\u7EC4\u5185\u5305\u542B columnsNum \u4E2A\u6570\u636E\uFF0C \u6BCF\u4E2A\u6570\u636E\u5BF9\u5E94\u4E00\u5217\u9009\u9879\u4E2D\u88AB\u9009\u4E2D\u7684\u6570\u636E\u3002

code \u4EE3\u8868\u88AB\u9009\u4E2D\u7684\u5730\u533A\u7F16\u7801\uFF0C name \u4EE3\u8868\u88AB\u9009\u4E2D\u7684\u5730\u533A\u540D\u79F0\u3002

[
+

API

Props

\u53C2\u6570\u8BF4\u660E\u7C7B\u578B\u9ED8\u8BA4\u503C
value\u5F53\u524D\u9009\u4E2D\u7684\u7701\u5E02\u533Acodestring-
title\u9876\u90E8\u680F\u6807\u9898string-
area-list\u7701\u5E02\u533A\u6570\u636E\uFF0C\u683C\u5F0F\u89C1\u4E0B\u65B9object-
columns-num\u7701\u5E02\u533A\u663E\u793A\u5217\u6570\uFF0C3-\u7701\u5E02\u533A\uFF0C2-\u7701\u5E02\uFF0C1-\u7701string | number3
columns-placeholder\u5217\u5360\u4F4D\u63D0\u793A\u6587\u5B57string[][]
loading\u662F\u5426\u663E\u793A\u52A0\u8F7D\u72B6\u6001booleanfalse
item-height\u9009\u9879\u9AD8\u5EA6number44
visible-item-count\u53EF\u89C1\u7684\u9009\u9879\u4E2A\u6570number6
confirm-button-text\u786E\u8BA4\u6309\u94AE\u6587\u5B57string\u786E\u8BA4
cancel-button-text\u53D6\u6D88\u6309\u94AE\u6587\u5B57string\u53D6\u6D88
show-toolbar 1.10.3\u662F\u5426\u663E\u793A\u9876\u90E8\u680Fbooleantrue

Events

\u4E8B\u4EF6\u8BF4\u660E\u56DE\u8C03\u53C2\u6570
bind:confirm\u70B9\u51FB\u53F3\u4E0A\u65B9\u5B8C\u6210\u6309\u94AE\u4E00\u4E2A\u6570\u7EC4\u53C2\u6570\uFF0C\u5177\u4F53\u683C\u5F0F\u770B\u4E0B\u65B9\u6570\u636E\u683C\u5F0F\u7AE0\u8282
bind:cancel\u70B9\u51FB\u53D6\u6D88\u6309\u94AE\u65F6-
bind:change\u9009\u9879\u6539\u53D8\u65F6\u89E6\u53D1Picker \u5B9E\u4F8B\uFF0C\u6240\u6709\u5217\u9009\u4E2D\u503C\uFF0C\u5F53\u524D\u5217\u5BF9\u5E94\u7684\u7D22\u5F15

\u65B9\u6CD5

\u901A\u8FC7 selectComponent \u53EF\u4EE5\u83B7\u53D6\u5230 Area \u5B9E\u4F8B\u5E76\u8C03\u7528\u5B9E\u4F8B\u65B9\u6CD5\u3002

\u65B9\u6CD5\u540D\u53C2\u6570\u8FD4\u56DE\u503C\u4ECB\u7ECD
resetcode: string-\u6839\u636E code \u91CD\u7F6E\u6240\u6709\u9009\u9879\uFF0C\u82E5\u4E0D\u4F20 code\uFF0C\u5219\u91CD\u7F6E\u5230\u7B2C\u4E00\u9879

\u70B9\u51FB\u5B8C\u6210\u65F6\u8FD4\u56DE\u7684\u6570\u636E\u683C\u5F0F

\u8FD4\u56DE\u7684\u6570\u636E\u6574\u4F53\u4E3A\u4E00\u4E2A Object\uFF0C\u5305\u542B values, index \u4E24\u4E2A key\u3002

values \u6574\u4F53\u4E3A\u4E00\u4E2A\u6570\u7EC4\uFF0C\u6570\u7EC4\u5185\u5305\u542B columnsNum \u4E2A\u6570\u636E\uFF0C \u6BCF\u4E2A\u6570\u636E\u5BF9\u5E94\u4E00\u5217\u9009\u9879\u4E2D\u88AB\u9009\u4E2D\u7684\u6570\u636E\u3002

code \u4EE3\u8868\u88AB\u9009\u4E2D\u7684\u5730\u533A\u7F16\u7801\uFF0C name \u4EE3\u8868\u88AB\u9009\u4E2D\u7684\u5730\u533A\u540D\u79F0\u3002

[
   {
     code: '110000',
     name: '\u5317\u4EAC\u5E02',
@@ -302,7 +302,7 @@ db.collection(name: '\u4E1C\u57CE\u533A',
   },
 ];
-

indexs \u4E3A\u4E00\u4E2A\u6570\u7EC4\uFF0C\u6570\u7EC4\u5185\u5305\u542B columnsNum \u4E2A\u6570\u636E\uFF0C \u6BCF\u4E2A\u6570\u636E\u5BF9\u5E94\u4E00\u5217\u9009\u9879\u4E2D\u88AB\u9009\u4E2D\u9879\u7684\u5E8F\u53F7\u3002

`,17),O=[G],M={setup(a,{expose:s}){return s({frontmatter:{}}),(l,t)=>(e(),p("div",V,O))}},W={class:"van-doc-markdown-body"},H=d(`

Button \u6309\u94AE

\u4ECB\u7ECD

\u6309\u94AE\u7528\u4E8E\u89E6\u53D1\u4E00\u4E2A\u64CD\u4F5C\uFF0C\u5982\u63D0\u4EA4\u8868\u5355\u3002

\u5F15\u5165

\u5728app.json\u6216index.json\u4E2D\u5F15\u5165\u7EC4\u4EF6\uFF0C\u8BE6\u7EC6\u4ECB\u7ECD\u89C1\u5FEB\u901F\u4E0A\u624B\u3002

"usingComponents": {
+

index \u4E3A\u4E00\u4E2A\u6570\u7EC4\uFF0C\u6570\u7EC4\u5185\u5305\u542B columnsNum \u4E2A\u6570\u636E\uFF0C \u6BCF\u4E2A\u6570\u636E\u5BF9\u5E94\u4E00\u5217\u9009\u9879\u4E2D\u88AB\u9009\u4E2D\u9879\u7684\u5E8F\u53F7\u3002

`,17),O=[G],M={setup(a,{expose:s}){return s({frontmatter:{}}),(l,t)=>(e(),p("div",V,O))}},W={class:"van-doc-markdown-body"},H=d(`

Button \u6309\u94AE

\u4ECB\u7ECD

\u6309\u94AE\u7528\u4E8E\u89E6\u53D1\u4E00\u4E2A\u64CD\u4F5C\uFF0C\u5982\u63D0\u4EA4\u8868\u5355\u3002

\u5F15\u5165

\u5728app.json\u6216index.json\u4E2D\u5F15\u5165\u7EC4\u4EF6\uFF0C\u8BE6\u7EC6\u4ECB\u7ECD\u89C1\u5FEB\u901F\u4E0A\u624B\u3002

"usingComponents": {
   "van-button": "@vant/weapp/button/index"
 }
 

\u4EE3\u7801\u6F14\u793A

\u6309\u94AE\u7C7B\u578B

\u652F\u6301default\u3001primary\u3001info\u3001warning\u3001danger\u4E94\u79CD\u7C7B\u578B\uFF0C\u9ED8\u8BA4\u4E3Adefault\u3002

<van-button type="default">\u9ED8\u8BA4\u6309\u94AE</van-button>
@@ -1083,7 +1083,7 @@ page {
     },
   },
 });
-

API

Props

\u53C2\u6570\u8BF4\u660E\u7C7B\u578B\u9ED8\u8BA4\u503C
value\u5F53\u524D\u9009\u4E2D\u503Cstring | number-
type\u7C7B\u578B\uFF0C\u53EF\u9009\u503C\u4E3A date time year-month
\u4E0D\u5EFA\u8BAE\u52A8\u6001\u4FEE\u6539
stringdatetime
min-date\u53EF\u9009\u7684\u6700\u5C0F\u65F6\u95F4\uFF0C\u7CBE\u786E\u5230\u5206\u949Fnumber\u5341\u5E74\u524D
max-date\u53EF\u9009\u7684\u6700\u5927\u65F6\u95F4\uFF0C\u7CBE\u786E\u5230\u5206\u949Fnumber\u5341\u5E74\u540E
min-hour\u53EF\u9009\u7684\u6700\u5C0F\u5C0F\u65F6\uFF0C\u9488\u5BF9 time \u7C7B\u578Bnumber0
max-hour\u53EF\u9009\u7684\u6700\u5927\u5C0F\u65F6\uFF0C\u9488\u5BF9 time \u7C7B\u578Bnumber23
min-minute\u53EF\u9009\u7684\u6700\u5C0F\u5206\u949F\uFF0C\u9488\u5BF9 time \u7C7B\u578Bnumber0
max-minute\u53EF\u9009\u7684\u6700\u5927\u5206\u949F\uFF0C\u9488\u5BF9 time \u7C7B\u578Bnumber59
filter\u9009\u9879\u8FC7\u6EE4\u51FD\u6570(type, values) => values-
formatter\u9009\u9879\u683C\u5F0F\u5316\u51FD\u6570(type, value) => value-
title\u9876\u90E8\u680F\u6807\u9898string''
show-toolbar\u662F\u5426\u663E\u793A\u9876\u90E8\u680Fbooleantrue
loading\u662F\u5426\u663E\u793A\u52A0\u8F7D\u72B6\u6001booleanfalse
item-height\u9009\u9879\u9AD8\u5EA6number44
confirm-button-text\u786E\u8BA4\u6309\u94AE\u6587\u5B57string\u786E\u8BA4
cancel-button-text\u53D6\u6D88\u6309\u94AE\u6587\u5B57string\u53D6\u6D88
visible-item-count\u53EF\u89C1\u7684\u9009\u9879\u4E2A\u6570number6

Events

\u4E8B\u4EF6\u540D\u79F0\u8BF4\u660E\u56DE\u8C03\u53C2\u6570
bind:input\u5F53\u503C\u53D8\u5316\u65F6\u89E6\u53D1\u7684\u4E8B\u4EF6\u5F53\u524D value
bind:change\u5F53\u503C\u53D8\u5316\u65F6\u89E6\u53D1\u7684\u4E8B\u4EF6\u7EC4\u4EF6\u5B9E\u4F8B
bind:confirm\u70B9\u51FB\u5B8C\u6210\u6309\u94AE\u65F6\u89E6\u53D1\u7684\u4E8B\u4EF6\u5F53\u524D value
bind:cancel\u70B9\u51FB\u53D6\u6D88\u6309\u94AE\u65F6\u89E6\u53D1\u7684\u4E8B\u4EF6-

change \u4E8B\u4EF6

\u5728change\u4E8B\u4EF6\u4E2D\uFF0C\u53EF\u4EE5\u83B7\u53D6\u5230\u7EC4\u4EF6\u5B9E\u4F8B\uFF0C\u5BF9\u7EC4\u4EF6\u8FDB\u884C\u76F8\u5E94\u7684\u66F4\u65B0\u7B49\u64CD\u4F5C\uFF1A

\u51FD\u6570\u8BF4\u660E
getColumnValue(index)\u83B7\u53D6\u5BF9\u5E94\u5217\u4E2D\u9009\u4E2D\u7684\u503C
setColumnValue(index, value)\u8BBE\u7F6E\u5BF9\u5E94\u5217\u4E2D\u9009\u4E2D\u7684\u503C
getColumnValues(index)\u83B7\u53D6\u5BF9\u5E94\u5217\u4E2D\u6240\u6709\u7684\u5907\u9009\u503C
setColumnValues(index, values)\u8BBE\u7F6E\u5BF9\u5E94\u5217\u4E2D\u6240\u6709\u7684\u5907\u9009\u503C
getValues()\u83B7\u53D6\u6240\u6709\u5217\u4E2D\u88AB\u9009\u4E2D\u7684\u503C\uFF0C\u8FD4\u56DE\u4E00\u4E2A\u6570\u7EC4
setValues(values)values\u4E3A\u4E00\u4E2A\u6570\u7EC4\uFF0C\u8BBE\u7F6E\u6240\u6709\u5217\u4E2D\u88AB\u9009\u4E2D\u7684\u503C

\u5916\u90E8\u6837\u5F0F\u7C7B

\u7C7B\u540D\u8BF4\u660E
active-class\u9009\u4E2D\u9879\u6837\u5F0F\u7C7B
toolbar-class\u9876\u90E8\u680F\u6837\u5F0F\u7C7B
column-class\u5217\u6837\u5F0F\u7C7B
`,14),Es=[Ns],Ls={setup(a,{expose:s}){return s({frontmatter:{}}),(l,t)=>(e(),p("div",Fs,Es))}},Us={class:"van-doc-markdown-body"},Rs=d(`

Dialog \u5F39\u51FA\u6846

\u4ECB\u7ECD

\u5F39\u51FA\u6A21\u6001\u6846\uFF0C\u5E38\u7528\u4E8E\u6D88\u606F\u63D0\u793A\u3001\u6D88\u606F\u786E\u8BA4\uFF0C\u6216\u5728\u5F53\u524D\u9875\u9762\u5185\u5B8C\u6210\u7279\u5B9A\u7684\u4EA4\u4E92\u64CD\u4F5C\uFF0C\u652F\u6301\u51FD\u6570\u8C03\u7528\u548C\u7EC4\u4EF6\u8C03\u7528\u4E24\u79CD\u65B9\u5F0F\u3002

\u5F15\u5165

\u5728app.json\u6216index.json\u4E2D\u5F15\u5165\u7EC4\u4EF6\uFF0C\u8BE6\u7EC6\u4ECB\u7ECD\u89C1\u5FEB\u901F\u4E0A\u624B\u3002

"usingComponents": {
+

API

Props

\u53C2\u6570\u8BF4\u660E\u7C7B\u578B\u9ED8\u8BA4\u503C
value\u5F53\u524D\u9009\u4E2D\u503Cstring | number-
type\u7C7B\u578B\uFF0C\u53EF\u9009\u503C\u4E3A date time year-month
\u4E0D\u5EFA\u8BAE\u52A8\u6001\u4FEE\u6539
stringdatetime
min-date\u53EF\u9009\u7684\u6700\u5C0F\u65F6\u95F4\uFF0C\u7CBE\u786E\u5230\u5206\u949Fnumber\u5341\u5E74\u524D
max-date\u53EF\u9009\u7684\u6700\u5927\u65F6\u95F4\uFF0C\u7CBE\u786E\u5230\u5206\u949Fnumber\u5341\u5E74\u540E
min-hour\u53EF\u9009\u7684\u6700\u5C0F\u5C0F\u65F6\uFF0C\u9488\u5BF9 time \u7C7B\u578Bnumber0
max-hour\u53EF\u9009\u7684\u6700\u5927\u5C0F\u65F6\uFF0C\u9488\u5BF9 time \u7C7B\u578Bnumber23
min-minute\u53EF\u9009\u7684\u6700\u5C0F\u5206\u949F\uFF0C\u9488\u5BF9 time \u7C7B\u578Bnumber0
max-minute\u53EF\u9009\u7684\u6700\u5927\u5206\u949F\uFF0C\u9488\u5BF9 time \u7C7B\u578Bnumber59
filter\u9009\u9879\u8FC7\u6EE4\u51FD\u6570(type \u53EF\u80FD\u503C\u4E3A year, month, day, hour, minute)(type, values) => values-
formatter\u9009\u9879\u683C\u5F0F\u5316\u51FD\u6570(type \u53EF\u80FD\u503C\u4E3A year, month, day, hour, minute)(type, value) => value-
title\u9876\u90E8\u680F\u6807\u9898string''
show-toolbar\u662F\u5426\u663E\u793A\u9876\u90E8\u680Fbooleantrue
loading\u662F\u5426\u663E\u793A\u52A0\u8F7D\u72B6\u6001booleanfalse
item-height\u9009\u9879\u9AD8\u5EA6number44
confirm-button-text\u786E\u8BA4\u6309\u94AE\u6587\u5B57string\u786E\u8BA4
cancel-button-text\u53D6\u6D88\u6309\u94AE\u6587\u5B57string\u53D6\u6D88
visible-item-count\u53EF\u89C1\u7684\u9009\u9879\u4E2A\u6570number6

Events

\u4E8B\u4EF6\u540D\u79F0\u8BF4\u660E\u56DE\u8C03\u53C2\u6570
bind:input\u5F53\u503C\u53D8\u5316\u65F6\u89E6\u53D1\u7684\u4E8B\u4EF6\u5F53\u524D value
bind:change\u5F53\u503C\u53D8\u5316\u65F6\u89E6\u53D1\u7684\u4E8B\u4EF6\u7EC4\u4EF6\u5B9E\u4F8B
bind:confirm\u70B9\u51FB\u5B8C\u6210\u6309\u94AE\u65F6\u89E6\u53D1\u7684\u4E8B\u4EF6\u5F53\u524D value
bind:cancel\u70B9\u51FB\u53D6\u6D88\u6309\u94AE\u65F6\u89E6\u53D1\u7684\u4E8B\u4EF6-

change \u4E8B\u4EF6

\u5728change\u4E8B\u4EF6\u4E2D\uFF0C\u53EF\u4EE5\u83B7\u53D6\u5230\u7EC4\u4EF6\u5B9E\u4F8B\uFF0C\u5BF9\u7EC4\u4EF6\u8FDB\u884C\u76F8\u5E94\u7684\u66F4\u65B0\u7B49\u64CD\u4F5C\uFF1A

\u51FD\u6570\u8BF4\u660E
getColumnValue(index)\u83B7\u53D6\u5BF9\u5E94\u5217\u4E2D\u9009\u4E2D\u7684\u503C
setColumnValue(index, value)\u8BBE\u7F6E\u5BF9\u5E94\u5217\u4E2D\u9009\u4E2D\u7684\u503C
getColumnValues(index)\u83B7\u53D6\u5BF9\u5E94\u5217\u4E2D\u6240\u6709\u7684\u5907\u9009\u503C
setColumnValues(index, values)\u8BBE\u7F6E\u5BF9\u5E94\u5217\u4E2D\u6240\u6709\u7684\u5907\u9009\u503C
getValues()\u83B7\u53D6\u6240\u6709\u5217\u4E2D\u88AB\u9009\u4E2D\u7684\u503C\uFF0C\u8FD4\u56DE\u4E00\u4E2A\u6570\u7EC4
setValues(values)values\u4E3A\u4E00\u4E2A\u6570\u7EC4\uFF0C\u8BBE\u7F6E\u6240\u6709\u5217\u4E2D\u88AB\u9009\u4E2D\u7684\u503C

\u5916\u90E8\u6837\u5F0F\u7C7B

\u7C7B\u540D\u8BF4\u660E
active-class\u9009\u4E2D\u9879\u6837\u5F0F\u7C7B
toolbar-class\u9876\u90E8\u680F\u6837\u5F0F\u7C7B
column-class\u5217\u6837\u5F0F\u7C7B
`,14),Es=[Ns],Ls={setup(a,{expose:s}){return s({frontmatter:{}}),(l,t)=>(e(),p("div",Fs,Es))}},Rs={class:"van-doc-markdown-body"},Us=d(`

Dialog \u5F39\u51FA\u6846

\u4ECB\u7ECD

\u5F39\u51FA\u6A21\u6001\u6846\uFF0C\u5E38\u7528\u4E8E\u6D88\u606F\u63D0\u793A\u3001\u6D88\u606F\u786E\u8BA4\uFF0C\u6216\u5728\u5F53\u524D\u9875\u9762\u5185\u5B8C\u6210\u7279\u5B9A\u7684\u4EA4\u4E92\u64CD\u4F5C\uFF0C\u652F\u6301\u51FD\u6570\u8C03\u7528\u548C\u7EC4\u4EF6\u8C03\u7528\u4E24\u79CD\u65B9\u5F0F\u3002

\u5F15\u5165

\u5728app.json\u6216index.json\u4E2D\u5F15\u5165\u7EC4\u4EF6\uFF0C\u8BE6\u7EC6\u4ECB\u7ECD\u89C1\u5FEB\u901F\u4E0A\u624B\u3002

"usingComponents": {
   "van-dialog": "@vant/weapp/dialog/index"
 }
 

\u4EE3\u7801\u6F14\u793A

\u6D88\u606F\u63D0\u793A

\u7528\u4E8E\u63D0\u793A\u4E00\u4E9B\u6D88\u606F\uFF0C\u53EA\u5305\u542B\u4E00\u4E2A\u786E\u8BA4\u6309\u94AE\u3002

<van-dialog id="van-dialog" />
@@ -1174,7 +1174,7 @@ page {
     this.setData({ show: false });
   },
 });
-

API

\u65B9\u6CD5

\u65B9\u6CD5\u540D\u53C2\u6570\u8FD4\u56DE\u503C\u4ECB\u7ECD
DialogoptionsPromise\u5C55\u793A\u5F39\u7A97
Dialog.alertoptionsPromise\u5C55\u793A\u6D88\u606F\u63D0\u793A\u5F39\u7A97
Dialog.confirmoptionsPromise\u5C55\u793A\u6D88\u606F\u786E\u8BA4\u5F39\u7A97
Dialog.setDefaultOptionsoptionsvoid\u4FEE\u6539\u9ED8\u8BA4\u914D\u7F6E\uFF0C\u5BF9\u6240\u6709 Dialog \u751F\u6548
Dialog.resetDefaultOptions-void\u91CD\u7F6E\u9ED8\u8BA4\u914D\u7F6E\uFF0C\u5BF9\u6240\u6709 Dialog \u751F\u6548
Dialog.close-void\u5173\u95ED\u5F39\u7A97
Dialog.stopLoading-void\u505C\u6B62\u6309\u94AE\u7684\u52A0\u8F7D\u72B6\u6001

Options

\u901A\u8FC7\u51FD\u6570\u8C03\u7528 Dialog \u65F6\uFF0C\u652F\u6301\u4F20\u5165\u4EE5\u4E0B\u9009\u9879\uFF1A

\u53C2\u6570\u8BF4\u660E\u7C7B\u578B\u9ED8\u8BA4\u503C
title\u6807\u9898string-
width\u5F39\u7A97\u5BBD\u5EA6\uFF0C\u9ED8\u8BA4\u5355\u4F4D\u4E3Apxstring | number320px
message\u6587\u672C\u5185\u5BB9\uFF0C\u652F\u6301\u901A\u8FC7\\n\u6362\u884Cstring-
messageAlign\u5185\u5BB9\u5BF9\u9F50\u65B9\u5F0F\uFF0C\u53EF\u9009\u503C\u4E3Aleft rightstringcenter
theme\u6837\u5F0F\u98CE\u683C\uFF0C\u53EF\u9009\u503C\u4E3Around-buttonstringdefault
zIndexz-index \u5C42\u7EA7number100
className\u81EA\u5B9A\u4E49\u7C7B\u540D\uFF0Cdialog \u5728\u81EA\u5B9A\u4E49\u7EC4\u4EF6\u5185\u65F6\u65E0\u6548string''
customStyle\u81EA\u5B9A\u4E49\u6837\u5F0Fstring''
selector\u81EA\u5B9A\u4E49\u9009\u62E9\u5668stringvan-dialog
showConfirmButton\u662F\u5426\u5C55\u793A\u786E\u8BA4\u6309\u94AEbooleantrue
showCancelButton\u662F\u5426\u5C55\u793A\u53D6\u6D88\u6309\u94AEbooleanfalse
confirmButtonText\u786E\u8BA4\u6309\u94AE\u7684\u6587\u6848string\u786E\u8BA4
cancelButtonText\u53D6\u6D88\u6309\u94AE\u7684\u6587\u6848string\u53D6\u6D88
overlay\u662F\u5426\u5C55\u793A\u906E\u7F69\u5C42booleantrue
overlayStyle\u81EA\u5B9A\u4E49\u906E\u7F69\u5C42\u6837\u5F0Fobject-
closeOnClickOverlay\u70B9\u51FB\u906E\u7F69\u5C42\u65F6\u662F\u5426\u5173\u95ED\u5F39\u7A97booleanfalse
asyncClose\u5DF2\u5E9F\u5F03\uFF0C\u5C06\u5728 2.0.0 \u79FB\u9664\uFF0C\u8BF7\u4F7F\u7528 beforeClose \u5C5E\u6027\u4EE3\u66FFbooleanfalse
beforeClose\u5173\u95ED\u524D\u7684\u56DE\u8C03\u51FD\u6570\uFF0C\u8FD4\u56DE false \u53EF\u963B\u6B62\u5173\u95ED\uFF0C\u652F\u6301\u8FD4\u56DE Promise(action) => boolean | Promise<boolean>-
context\u9009\u62E9\u5668\u7684\u9009\u62E9\u8303\u56F4\uFF0C\u53EF\u4EE5\u4F20\u5165\u81EA\u5B9A\u4E49\u7EC4\u4EF6\u7684 this \u4F5C\u4E3A\u4E0A\u4E0B\u6587object\u5F53\u524D\u9875\u9762
transition\u52A8\u753B\u540D\u79F0\uFF0C\u53EF\u9009\u503C\u4E3Afade nonestringscale
confirmButtonOpenType\u786E\u8BA4\u6309\u94AE\u7684\u5FAE\u4FE1\u5F00\u653E\u80FD\u529B\uFF0C\u5177\u4F53\u652F\u6301\u53EF\u53C2\u8003 \u5FAE\u4FE1\u5B98\u65B9\u6587\u6863string-

OpenType Options

\u4F7F\u7528confirmButtonOpenType\u540E\uFF0C\u652F\u6301\u4EE5\u4E0B\u9009\u9879\uFF1A

\u53C2\u6570\u8BF4\u660E\u7C7B\u578B\u9ED8\u8BA4\u503Copen-type
appParameter\u6253\u5F00 APP \u65F6\uFF0C\u5411 APP \u4F20\u9012\u7684\u53C2\u6570string-launchApp
lang\u6307\u5B9A\u8FD4\u56DE\u7528\u6237\u4FE1\u606F\u7684\u8BED\u8A00\uFF0Czh_CN \u7B80\u4F53\u4E2D\u6587\uFF0C
zh_TW \u7E41\u4F53\u4E2D\u6587\uFF0Cen \u82F1\u6587
stringengetUserInfo
sessionFrom\u4F1A\u8BDD\u6765\u6E90string-contact
businessId\u5BA2\u670D\u6D88\u606F\u5B50\u5546\u6237 idnumber-contact
sendMessageTitle\u4F1A\u8BDD\u5185\u6D88\u606F\u5361\u7247\u6807\u9898string\u5F53\u524D\u6807\u9898contact
sendMessagePath\u4F1A\u8BDD\u5185\u6D88\u606F\u5361\u7247\u70B9\u51FB\u8DF3\u8F6C\u5C0F\u7A0B\u5E8F\u8DEF\u5F84string\u5F53\u524D\u5206\u4EAB\u8DEF\u5F84contact
sendMessageImgsendMessageImgstring\u622A\u56FEcontact
showMessageCard\u663E\u793A\u4F1A\u8BDD\u5185\u6D88\u606F\u5361\u7247stringfalsecontact

Props

\u901A\u8FC7\u7EC4\u4EF6\u8C03\u7528 Dialog \u65F6\uFF0C\u652F\u6301\u4EE5\u4E0B Props:

\u53C2\u6570\u8BF4\u660E\u7C7B\u578B\u9ED8\u8BA4\u503C
show\u662F\u5426\u663E\u793A\u5F39\u7A97boolean-
title\u6807\u9898string-
width\u5F39\u7A97\u5BBD\u5EA6\uFF0C\u9ED8\u8BA4\u5355\u4F4D\u4E3Apxstring | number320px
message\u6587\u672C\u5185\u5BB9\uFF0C\u652F\u6301\u901A\u8FC7\\n\u6362\u884Cstring-
theme\u6837\u5F0F\u98CE\u683C\uFF0C\u53EF\u9009\u503C\u4E3Around-buttonstringdefault
message-align\u5185\u5BB9\u5BF9\u9F50\u65B9\u5F0F\uFF0C\u53EF\u9009\u503C\u4E3Aleft rightstringcenter
z-indexz-index \u5C42\u7EA7number100
class-name\u81EA\u5B9A\u4E49\u7C7B\u540D\uFF0Cdialog \u5728\u81EA\u5B9A\u4E49\u7EC4\u4EF6\u5185\u65F6\u65E0\u6548string''
custom-style\u81EA\u5B9A\u4E49\u6837\u5F0Fstring''
show-confirm-button\u662F\u5426\u5C55\u793A\u786E\u8BA4\u6309\u94AEbooleantrue
show-cancel-button\u662F\u5426\u5C55\u793A\u53D6\u6D88\u6309\u94AEbooleanfalse
confirm-button-text\u786E\u8BA4\u6309\u94AE\u7684\u6587\u6848string\u786E\u8BA4
cancel-button-text\u53D6\u6D88\u6309\u94AE\u7684\u6587\u6848string\u53D6\u6D88
confirm-button-color\u786E\u8BA4\u6309\u94AE\u7684\u5B57\u4F53\u989C\u8272string#ee0a24
cancel-button-color\u53D6\u6D88\u6309\u94AE\u7684\u5B57\u4F53\u989C\u8272string#333
overlay\u662F\u5426\u5C55\u793A\u906E\u7F69\u5C42booleantrue
overlay-style v1.0.0\u81EA\u5B9A\u4E49\u906E\u7F69\u5C42\u6837\u5F0Fobject-
close-on-click-overlay\u70B9\u51FB\u906E\u7F69\u5C42\u65F6\u662F\u5426\u5173\u95ED\u5F39\u7A97booleanfalse
use-slot\u662F\u5426\u4F7F\u7528\u81EA\u5B9A\u4E49\u5185\u5BB9\u7684\u63D2\u69FDbooleanfalse
use-title-slot\u662F\u5426\u4F7F\u7528\u81EA\u5B9A\u4E49\u6807\u9898\u7684\u63D2\u69FDbooleanfalse
async-close\u5DF2\u5E9F\u5F03\uFF0C\u5C06\u5728 2.0.0 \u79FB\u9664\uFF0C\u8BF7\u4F7F\u7528 beforeClose \u5C5E\u6027\u4EE3\u66FFbooleanfalse
before-close\u5173\u95ED\u524D\u7684\u56DE\u8C03\u51FD\u6570\uFF0C\u8FD4\u56DE false \u53EF\u963B\u6B62\u5173\u95ED\uFF0C\u652F\u6301\u8FD4\u56DE Promise(action) => boolean | Promise<boolean>-
transition\u52A8\u753B\u540D\u79F0\uFF0C\u53EF\u9009\u503C\u4E3Afadestringscale
confirm-button-open-type\u786E\u8BA4\u6309\u94AE\u7684\u5FAE\u4FE1\u5F00\u653E\u80FD\u529B\uFF0C\u5177\u4F53\u652F\u6301\u53EF\u53C2\u8003 \u5FAE\u4FE1\u5B98\u65B9\u6587\u6863string-

OpenType Props

\u4F7F\u7528confirm-button-open-type\u540E\uFF0C\u652F\u6301\u4EE5\u4E0B Props\uFF1A

\u53C2\u6570\u8BF4\u660E\u7C7B\u578B\u9ED8\u8BA4\u503Copen-type
app-parameter\u6253\u5F00 APP \u65F6\uFF0C\u5411 APP \u4F20\u9012\u7684\u53C2\u6570string-launchApp
lang\u6307\u5B9A\u8FD4\u56DE\u7528\u6237\u4FE1\u606F\u7684\u8BED\u8A00\uFF0Czh_CN \u7B80\u4F53\u4E2D\u6587\uFF0C
zh_TW \u7E41\u4F53\u4E2D\u6587\uFF0Cen \u82F1\u6587
stringengetUserInfo
session-from\u4F1A\u8BDD\u6765\u6E90string-contact
business-id\u5BA2\u670D\u6D88\u606F\u5B50\u5546\u6237 idnumber-contact
send-message-title\u4F1A\u8BDD\u5185\u6D88\u606F\u5361\u7247\u6807\u9898string\u5F53\u524D\u6807\u9898contact
send-message-path\u4F1A\u8BDD\u5185\u6D88\u606F\u5361\u7247\u70B9\u51FB\u8DF3\u8F6C\u5C0F\u7A0B\u5E8F\u8DEF\u5F84string\u5F53\u524D\u5206\u4EAB\u8DEF\u5F84contact
send-message-imgsendMessageImgstring\u622A\u56FEcontact
show-message-card\u663E\u793A\u4F1A\u8BDD\u5185\u6D88\u606F\u5361\u7247stringfalsecontact

Events

\u4E8B\u4EF6\u8BF4\u660E\u56DE\u8C03\u53C2\u6570
bind:close\u5F39\u7A97\u5173\u95ED\u65F6\u89E6\u53D1event.detail: \u89E6\u53D1\u5173\u95ED\u4E8B\u4EF6\u7684\u6765\u6E90\uFF0C
\u679A\u4E3E\u4E3Aconfirm,cancel,overlay
bind:confirm\u70B9\u51FB\u786E\u8BA4\u6309\u94AE\u65F6\u89E6\u53D1-
bind:cancel\u70B9\u51FB\u53D6\u6D88\u6309\u94AE\u65F6\u89E6\u53D1-
bind:getuserinfo\u70B9\u51FB\u786E\u8BA4\u6309\u94AE\u65F6\uFF0C\u4F1A\u8FD4\u56DE\u83B7\u53D6\u5230\u7684\u7528\u6237\u4FE1\u606F\uFF0C
\u4ECE\u8FD4\u56DE\u53C2\u6570\u7684 detail \u4E2D\u83B7\u53D6\u5230\u7684\u503C\u540C wx.getUserInfo
-
bind:contact\u5BA2\u670D\u6D88\u606F\u56DE\u8C03-
bind:getphonenumber\u83B7\u53D6\u7528\u6237\u624B\u673A\u53F7\u56DE\u8C03-
bind:error\u5F53\u4F7F\u7528\u5F00\u653E\u80FD\u529B\u65F6\uFF0C\u53D1\u751F\u9519\u8BEF\u7684\u56DE\u8C03-
bind:opensetting\u5728\u6253\u5F00\u6388\u6743\u8BBE\u7F6E\u9875\u540E\u56DE\u8C03-

Slot

\u540D\u79F0\u8BF4\u660E
title\u81EA\u5B9A\u4E49title\u663E\u793A\u5185\u5BB9\uFF0C\u5982\u679C\u8BBE\u7F6E\u4E86title\u5C5E\u6027\u5219\u4E0D\u751F\u6548
`,17),Vs=[Rs],Gs={setup(a,{expose:s}){return s({frontmatter:{}}),(l,t)=>(e(),p("div",Us,Vs))}},Os={class:"van-doc-markdown-body"},Ms=d(`

Divider \u5206\u5272\u7EBF

\u4ECB\u7ECD

\u7528\u4E8E\u5C06\u5185\u5BB9\u5206\u9694\u4E3A\u591A\u4E2A\u533A\u57DF\u3002

\u5F15\u5165

\u5728app.json\u6216index.json\u4E2D\u5F15\u5165\u7EC4\u4EF6\uFF0C\u9ED8\u8BA4\u4E3AES6\u7248\u672C\uFF0CES5\u5F15\u5165\u65B9\u5F0F\u53C2\u89C1\u5FEB\u901F\u4E0A\u624B

"usingComponents": {
+

API

\u65B9\u6CD5

\u65B9\u6CD5\u540D\u53C2\u6570\u8FD4\u56DE\u503C\u4ECB\u7ECD
DialogoptionsPromise\u5C55\u793A\u5F39\u7A97
Dialog.alertoptionsPromise\u5C55\u793A\u6D88\u606F\u63D0\u793A\u5F39\u7A97
Dialog.confirmoptionsPromise\u5C55\u793A\u6D88\u606F\u786E\u8BA4\u5F39\u7A97
Dialog.setDefaultOptionsoptionsvoid\u4FEE\u6539\u9ED8\u8BA4\u914D\u7F6E\uFF0C\u5BF9\u6240\u6709 Dialog \u751F\u6548
Dialog.resetDefaultOptions-void\u91CD\u7F6E\u9ED8\u8BA4\u914D\u7F6E\uFF0C\u5BF9\u6240\u6709 Dialog \u751F\u6548
Dialog.close-void\u5173\u95ED\u5F39\u7A97
Dialog.stopLoading-void\u505C\u6B62\u6309\u94AE\u7684\u52A0\u8F7D\u72B6\u6001

Options

\u901A\u8FC7\u51FD\u6570\u8C03\u7528 Dialog \u65F6\uFF0C\u652F\u6301\u4F20\u5165\u4EE5\u4E0B\u9009\u9879\uFF1A

\u53C2\u6570\u8BF4\u660E\u7C7B\u578B\u9ED8\u8BA4\u503C
title\u6807\u9898string-
width\u5F39\u7A97\u5BBD\u5EA6\uFF0C\u9ED8\u8BA4\u5355\u4F4D\u4E3Apxstring | number320px
message\u6587\u672C\u5185\u5BB9\uFF0C\u652F\u6301\u901A\u8FC7\\n\u6362\u884Cstring-
messageAlign\u5185\u5BB9\u5BF9\u9F50\u65B9\u5F0F\uFF0C\u53EF\u9009\u503C\u4E3Aleft rightstringcenter
theme\u6837\u5F0F\u98CE\u683C\uFF0C\u53EF\u9009\u503C\u4E3Around-buttonstringdefault
zIndexz-index \u5C42\u7EA7number100
className\u81EA\u5B9A\u4E49\u7C7B\u540D\uFF0Cdialog \u5728\u81EA\u5B9A\u4E49\u7EC4\u4EF6\u5185\u65F6\u65E0\u6548string''
customStyle\u81EA\u5B9A\u4E49\u6837\u5F0Fstring''
selector\u81EA\u5B9A\u4E49\u9009\u62E9\u5668stringvan-dialog
showConfirmButton\u662F\u5426\u5C55\u793A\u786E\u8BA4\u6309\u94AEbooleantrue
showCancelButton\u662F\u5426\u5C55\u793A\u53D6\u6D88\u6309\u94AEbooleanfalse
confirmButtonText\u786E\u8BA4\u6309\u94AE\u7684\u6587\u6848string\u786E\u8BA4
cancelButtonText\u53D6\u6D88\u6309\u94AE\u7684\u6587\u6848string\u53D6\u6D88
overlay\u662F\u5426\u5C55\u793A\u906E\u7F69\u5C42booleantrue
overlayStyle\u81EA\u5B9A\u4E49\u906E\u7F69\u5C42\u6837\u5F0Fobject-
closeOnClickOverlay\u70B9\u51FB\u906E\u7F69\u5C42\u65F6\u662F\u5426\u5173\u95ED\u5F39\u7A97booleanfalse
asyncClose\u5DF2\u5E9F\u5F03\uFF0C\u5C06\u5728 2.0.0 \u79FB\u9664\uFF0C\u8BF7\u4F7F\u7528 beforeClose \u5C5E\u6027\u4EE3\u66FFbooleanfalse
beforeClose\u5173\u95ED\u524D\u7684\u56DE\u8C03\u51FD\u6570\uFF0C\u8FD4\u56DE false \u53EF\u963B\u6B62\u5173\u95ED\uFF0C\u652F\u6301\u8FD4\u56DE Promise(action) => boolean | Promise<boolean>-
context\u9009\u62E9\u5668\u7684\u9009\u62E9\u8303\u56F4\uFF0C\u53EF\u4EE5\u4F20\u5165\u81EA\u5B9A\u4E49\u7EC4\u4EF6\u7684 this \u4F5C\u4E3A\u4E0A\u4E0B\u6587object\u5F53\u524D\u9875\u9762
transition\u52A8\u753B\u540D\u79F0\uFF0C\u53EF\u9009\u503C\u4E3Afade nonestringscale
confirmButtonOpenType\u786E\u8BA4\u6309\u94AE\u7684\u5FAE\u4FE1\u5F00\u653E\u80FD\u529B\uFF0C\u5177\u4F53\u652F\u6301\u53EF\u53C2\u8003 \u5FAE\u4FE1\u5B98\u65B9\u6587\u6863string-

OpenType Options

\u4F7F\u7528confirmButtonOpenType\u540E\uFF0C\u652F\u6301\u4EE5\u4E0B\u9009\u9879\uFF1A

\u53C2\u6570\u8BF4\u660E\u7C7B\u578B\u9ED8\u8BA4\u503Copen-type
appParameter\u6253\u5F00 APP \u65F6\uFF0C\u5411 APP \u4F20\u9012\u7684\u53C2\u6570string-launchApp
lang\u6307\u5B9A\u8FD4\u56DE\u7528\u6237\u4FE1\u606F\u7684\u8BED\u8A00\uFF0Czh_CN \u7B80\u4F53\u4E2D\u6587\uFF0C
zh_TW \u7E41\u4F53\u4E2D\u6587\uFF0Cen \u82F1\u6587
stringengetUserInfo
sessionFrom\u4F1A\u8BDD\u6765\u6E90string-contact
businessId\u5BA2\u670D\u6D88\u606F\u5B50\u5546\u6237 idnumber-contact
sendMessageTitle\u4F1A\u8BDD\u5185\u6D88\u606F\u5361\u7247\u6807\u9898string\u5F53\u524D\u6807\u9898contact
sendMessagePath\u4F1A\u8BDD\u5185\u6D88\u606F\u5361\u7247\u70B9\u51FB\u8DF3\u8F6C\u5C0F\u7A0B\u5E8F\u8DEF\u5F84string\u5F53\u524D\u5206\u4EAB\u8DEF\u5F84contact
sendMessageImgsendMessageImgstring\u622A\u56FEcontact
showMessageCard\u663E\u793A\u4F1A\u8BDD\u5185\u6D88\u606F\u5361\u7247stringfalsecontact

Props

\u901A\u8FC7\u7EC4\u4EF6\u8C03\u7528 Dialog \u65F6\uFF0C\u652F\u6301\u4EE5\u4E0B Props:

\u53C2\u6570\u8BF4\u660E\u7C7B\u578B\u9ED8\u8BA4\u503C
show\u662F\u5426\u663E\u793A\u5F39\u7A97boolean-
title\u6807\u9898string-
width\u5F39\u7A97\u5BBD\u5EA6\uFF0C\u9ED8\u8BA4\u5355\u4F4D\u4E3Apxstring | number320px
message\u6587\u672C\u5185\u5BB9\uFF0C\u652F\u6301\u901A\u8FC7\\n\u6362\u884Cstring-
theme\u6837\u5F0F\u98CE\u683C\uFF0C\u53EF\u9009\u503C\u4E3Around-buttonstringdefault
message-align\u5185\u5BB9\u5BF9\u9F50\u65B9\u5F0F\uFF0C\u53EF\u9009\u503C\u4E3Aleft rightstringcenter
z-indexz-index \u5C42\u7EA7number100
class-name\u81EA\u5B9A\u4E49\u7C7B\u540D\uFF0Cdialog \u5728\u81EA\u5B9A\u4E49\u7EC4\u4EF6\u5185\u65F6\u65E0\u6548string''
custom-style\u81EA\u5B9A\u4E49\u6837\u5F0Fstring''
show-confirm-button\u662F\u5426\u5C55\u793A\u786E\u8BA4\u6309\u94AEbooleantrue
show-cancel-button\u662F\u5426\u5C55\u793A\u53D6\u6D88\u6309\u94AEbooleanfalse
confirm-button-text\u786E\u8BA4\u6309\u94AE\u7684\u6587\u6848string\u786E\u8BA4
cancel-button-text\u53D6\u6D88\u6309\u94AE\u7684\u6587\u6848string\u53D6\u6D88
confirm-button-color\u786E\u8BA4\u6309\u94AE\u7684\u5B57\u4F53\u989C\u8272string#ee0a24
cancel-button-color\u53D6\u6D88\u6309\u94AE\u7684\u5B57\u4F53\u989C\u8272string#333
overlay\u662F\u5426\u5C55\u793A\u906E\u7F69\u5C42booleantrue
overlay-style v1.0.0\u81EA\u5B9A\u4E49\u906E\u7F69\u5C42\u6837\u5F0Fobject-
close-on-click-overlay\u70B9\u51FB\u906E\u7F69\u5C42\u65F6\u662F\u5426\u5173\u95ED\u5F39\u7A97booleanfalse
use-slot\u662F\u5426\u4F7F\u7528\u81EA\u5B9A\u4E49\u5185\u5BB9\u7684\u63D2\u69FDbooleanfalse
use-title-slot\u662F\u5426\u4F7F\u7528\u81EA\u5B9A\u4E49\u6807\u9898\u7684\u63D2\u69FDbooleanfalse
async-close\u5DF2\u5E9F\u5F03\uFF0C\u5C06\u5728 2.0.0 \u79FB\u9664\uFF0C\u8BF7\u4F7F\u7528 beforeClose \u5C5E\u6027\u4EE3\u66FFbooleanfalse
before-close\u5173\u95ED\u524D\u7684\u56DE\u8C03\u51FD\u6570\uFF0C\u8FD4\u56DE false \u53EF\u963B\u6B62\u5173\u95ED\uFF0C\u652F\u6301\u8FD4\u56DE Promise(action) => boolean | Promise<boolean>-
transition\u52A8\u753B\u540D\u79F0\uFF0C\u53EF\u9009\u503C\u4E3Afadestringscale
confirm-button-open-type\u786E\u8BA4\u6309\u94AE\u7684\u5FAE\u4FE1\u5F00\u653E\u80FD\u529B\uFF0C\u5177\u4F53\u652F\u6301\u53EF\u53C2\u8003 \u5FAE\u4FE1\u5B98\u65B9\u6587\u6863string-

OpenType Props

\u4F7F\u7528confirm-button-open-type\u540E\uFF0C\u652F\u6301\u4EE5\u4E0B Props\uFF1A

\u53C2\u6570\u8BF4\u660E\u7C7B\u578B\u9ED8\u8BA4\u503Copen-type
app-parameter\u6253\u5F00 APP \u65F6\uFF0C\u5411 APP \u4F20\u9012\u7684\u53C2\u6570string-launchApp
lang\u6307\u5B9A\u8FD4\u56DE\u7528\u6237\u4FE1\u606F\u7684\u8BED\u8A00\uFF0Czh_CN \u7B80\u4F53\u4E2D\u6587\uFF0C
zh_TW \u7E41\u4F53\u4E2D\u6587\uFF0Cen \u82F1\u6587
stringengetUserInfo
session-from\u4F1A\u8BDD\u6765\u6E90string-contact
business-id\u5BA2\u670D\u6D88\u606F\u5B50\u5546\u6237 idnumber-contact
send-message-title\u4F1A\u8BDD\u5185\u6D88\u606F\u5361\u7247\u6807\u9898string\u5F53\u524D\u6807\u9898contact
send-message-path\u4F1A\u8BDD\u5185\u6D88\u606F\u5361\u7247\u70B9\u51FB\u8DF3\u8F6C\u5C0F\u7A0B\u5E8F\u8DEF\u5F84string\u5F53\u524D\u5206\u4EAB\u8DEF\u5F84contact
send-message-imgsendMessageImgstring\u622A\u56FEcontact
show-message-card\u663E\u793A\u4F1A\u8BDD\u5185\u6D88\u606F\u5361\u7247stringfalsecontact

Events

\u4E8B\u4EF6\u8BF4\u660E\u56DE\u8C03\u53C2\u6570
bind:close\u5F39\u7A97\u5173\u95ED\u65F6\u89E6\u53D1event.detail: \u89E6\u53D1\u5173\u95ED\u4E8B\u4EF6\u7684\u6765\u6E90\uFF0C
\u679A\u4E3E\u4E3Aconfirm,cancel,overlay
bind:confirm\u70B9\u51FB\u786E\u8BA4\u6309\u94AE\u65F6\u89E6\u53D1-
bind:cancel\u70B9\u51FB\u53D6\u6D88\u6309\u94AE\u65F6\u89E6\u53D1-
bind:getuserinfo\u70B9\u51FB\u786E\u8BA4\u6309\u94AE\u65F6\uFF0C\u4F1A\u8FD4\u56DE\u83B7\u53D6\u5230\u7684\u7528\u6237\u4FE1\u606F\uFF0C
\u4ECE\u8FD4\u56DE\u53C2\u6570\u7684 detail \u4E2D\u83B7\u53D6\u5230\u7684\u503C\u540C wx.getUserInfo
-
bind:contact\u5BA2\u670D\u6D88\u606F\u56DE\u8C03-
bind:getphonenumber\u83B7\u53D6\u7528\u6237\u624B\u673A\u53F7\u56DE\u8C03-
bind:error\u5F53\u4F7F\u7528\u5F00\u653E\u80FD\u529B\u65F6\uFF0C\u53D1\u751F\u9519\u8BEF\u7684\u56DE\u8C03-
bind:opensetting\u5728\u6253\u5F00\u6388\u6743\u8BBE\u7F6E\u9875\u540E\u56DE\u8C03-

Slot

\u540D\u79F0\u8BF4\u660E
title\u81EA\u5B9A\u4E49title\u663E\u793A\u5185\u5BB9\uFF0C\u5982\u679C\u8BBE\u7F6E\u4E86title\u5C5E\u6027\u5219\u4E0D\u751F\u6548
`,17),Vs=[Us],Gs={setup(a,{expose:s}){return s({frontmatter:{}}),(l,t)=>(e(),p("div",Rs,Vs))}},Os={class:"van-doc-markdown-body"},Ms=d(`

Divider \u5206\u5272\u7EBF

\u4ECB\u7ECD

\u7528\u4E8E\u5C06\u5185\u5BB9\u5206\u9694\u4E3A\u591A\u4E2A\u533A\u57DF\u3002

\u5F15\u5165

\u5728app.json\u6216index.json\u4E2D\u5F15\u5165\u7EC4\u4EF6\uFF0C\u9ED8\u8BA4\u4E3AES6\u7248\u672C\uFF0CES5\u5F15\u5165\u65B9\u5F0F\u53C2\u89C1\u5FEB\u901F\u4E0A\u624B

"usingComponents": {
   "van-divider": "@vant/weapp/divider/index"
 }
 

Vant Weapp 1.0 \u7248\u672C\u5F00\u59CB\u652F\u6301\u6B64\u7EC4\u4EF6\uFF0C\u5347\u7EA7\u65B9\u5F0F\u53C2\u89C1\u5FEB\u901F\u4E0A\u624B\u3002

\u4EE3\u7801\u6F14\u793A

\u57FA\u7840\u7528\u6CD5

<van-divider />
@@ -1712,7 +1712,7 @@ page {
 });
 
<!-- \u5728\u9875\u9762\u5185\u6DFB\u52A0\u81EA\u5B9A\u4E49\u8282\u70B9 -->
 <van-notify id="custom-selector" />
-

API

\u65B9\u6CD5

\u65B9\u6CD5\u540D\u8BF4\u660E\u53C2\u6570\u8FD4\u56DE\u503C
Notify\u5C55\u793A\u63D0\u793Aoptions | messagenotify \u5B9E\u4F8B
Notify.clear\u5173\u95ED\u63D0\u793Aoptionsvoid

Options

\u53C2\u6570\u8BF4\u660E\u7C7B\u578B\u9ED8\u8BA4\u503C
type v1.0.0\u7C7B\u578B\uFF0C\u53EF\u9009\u503C\u4E3A primary success warningstringdanger
message v1.0.0\u5C55\u793A\u6587\u6848\uFF0C\u652F\u6301\u901A\u8FC7\\n\u6362\u884Cstring''
duration\u5C55\u793A\u65F6\u957F(ms)\uFF0C\u503C\u4E3A 0 \u65F6\uFF0Cnotify \u4E0D\u4F1A\u6D88\u5931number3000
selector\u81EA\u5B9A\u4E49\u8282\u70B9\u9009\u62E9\u5668stringvan-notify
color\u5B57\u4F53\u989C\u8272string#fff
top\u9876\u90E8\u8DDD\u79BBnumber0
background\u80CC\u666F\u989C\u8272string-
context\u9009\u62E9\u5668\u7684\u9009\u62E9\u8303\u56F4\uFF0C\u53EF\u4EE5\u4F20\u5165\u81EA\u5B9A\u4E49\u7EC4\u4EF6\u7684 this \u4F5C\u4E3A\u4E0A\u4E0B\u6587object\u5F53\u524D\u9875\u9762
onClick\u70B9\u51FB\u65F6\u7684\u56DE\u8C03\u51FD\u6570Function-
onOpened\u5B8C\u5168\u5C55\u793A\u540E\u7684\u56DE\u8C03\u51FD\u6570Function-
onClose\u5173\u95ED\u65F6\u7684\u56DE\u8C03\u51FD\u6570Function-
safeAreaInsetTop\u662F\u5426\u7559\u51FA\u9876\u90E8\u5B89\u5168\u8DDD\u79BB\uFF08\u72B6\u6001\u680F\u9AD8\u5EA6\uFF09booleanfalse
`,11),Ua=[La],Ra={setup(a,{expose:s}){return s({frontmatter:{}}),(l,t)=>(e(),p("div",Ea,Ua))}},Va={class:"van-doc-markdown-body"},Ga=d(`

Overlay \u906E\u7F69\u5C42

\u4ECB\u7ECD

\u521B\u5EFA\u4E00\u4E2A\u906E\u7F69\u5C42\uFF0C\u7528\u4E8E\u5F3A\u8C03\u7279\u5B9A\u7684\u9875\u9762\u5143\u7D20\uFF0C\u5E76\u963B\u6B62\u7528\u6237\u8FDB\u884C\u5176\u4ED6\u64CD\u4F5C\u3002

\u5F15\u5165

\u5728app.json\u6216index.json\u4E2D\u5F15\u5165\u7EC4\u4EF6\uFF0C\u8BE6\u7EC6\u4ECB\u7ECD\u89C1\u5FEB\u901F\u4E0A\u624B\u3002

"usingComponents": {
+

API

\u65B9\u6CD5

\u65B9\u6CD5\u540D\u8BF4\u660E\u53C2\u6570\u8FD4\u56DE\u503C
Notify\u5C55\u793A\u63D0\u793Aoptions | messagenotify \u5B9E\u4F8B
Notify.clear\u5173\u95ED\u63D0\u793Aoptionsvoid

Options

\u53C2\u6570\u8BF4\u660E\u7C7B\u578B\u9ED8\u8BA4\u503C
type v1.0.0\u7C7B\u578B\uFF0C\u53EF\u9009\u503C\u4E3A primary success warningstringdanger
message v1.0.0\u5C55\u793A\u6587\u6848\uFF0C\u652F\u6301\u901A\u8FC7\\n\u6362\u884Cstring''
duration\u5C55\u793A\u65F6\u957F(ms)\uFF0C\u503C\u4E3A 0 \u65F6\uFF0Cnotify \u4E0D\u4F1A\u6D88\u5931number3000
selector\u81EA\u5B9A\u4E49\u8282\u70B9\u9009\u62E9\u5668stringvan-notify
color\u5B57\u4F53\u989C\u8272string#fff
top\u9876\u90E8\u8DDD\u79BBnumber0
background\u80CC\u666F\u989C\u8272string-
context\u9009\u62E9\u5668\u7684\u9009\u62E9\u8303\u56F4\uFF0C\u53EF\u4EE5\u4F20\u5165\u81EA\u5B9A\u4E49\u7EC4\u4EF6\u7684 this \u4F5C\u4E3A\u4E0A\u4E0B\u6587object\u5F53\u524D\u9875\u9762
onClick\u70B9\u51FB\u65F6\u7684\u56DE\u8C03\u51FD\u6570Function-
onOpened\u5B8C\u5168\u5C55\u793A\u540E\u7684\u56DE\u8C03\u51FD\u6570Function-
onClose\u5173\u95ED\u65F6\u7684\u56DE\u8C03\u51FD\u6570Function-
safeAreaInsetTop\u662F\u5426\u7559\u51FA\u9876\u90E8\u5B89\u5168\u8DDD\u79BB\uFF08\u72B6\u6001\u680F\u9AD8\u5EA6\uFF09booleanfalse
`,11),Ra=[La],Ua={setup(a,{expose:s}){return s({frontmatter:{}}),(l,t)=>(e(),p("div",Ea,Ra))}},Va={class:"van-doc-markdown-body"},Ga=d(`

Overlay \u906E\u7F69\u5C42

\u4ECB\u7ECD

\u521B\u5EFA\u4E00\u4E2A\u906E\u7F69\u5C42\uFF0C\u7528\u4E8E\u5F3A\u8C03\u7279\u5B9A\u7684\u9875\u9762\u5143\u7D20\uFF0C\u5E76\u963B\u6B62\u7528\u6237\u8FDB\u884C\u5176\u4ED6\u64CD\u4F5C\u3002

\u5F15\u5165

\u5728app.json\u6216index.json\u4E2D\u5F15\u5165\u7EC4\u4EF6\uFF0C\u8BE6\u7EC6\u4ECB\u7ECD\u89C1\u5FEB\u901F\u4E0A\u624B\u3002

"usingComponents": {
   "van-overlay": "@vant/weapp/overlay/index"
 }
 

\u4EE3\u7801\u6F14\u793A

\u57FA\u7840\u7528\u6CD5

<van-button type="primary" bind:click="onClickShow">\u663E\u793A\u906E\u7F69\u5C42</van-button>
@@ -2392,7 +2392,7 @@ page {
   },
 });
 

\u81EA\u5B9A\u4E49\u5927\u5C0F

\u901A\u8FC7input-width\u5C5E\u6027\u8BBE\u7F6E\u8F93\u5165\u6846\u5BBD\u5EA6\uFF0C\u901A\u8FC7button-size\u5C5E\u6027\u8BBE\u7F6E\u6309\u94AE\u5927\u5C0F\u548C\u8F93\u5165\u6846\u9AD8\u5EA6\u3002

<van-stepper value="{{ 1 }}" input-width="40px" button-size="32px" />
-

API

Props

\u53C2\u6570\u8BF4\u660E\u7C7B\u578B\u9ED8\u8BA4\u503C
name\u5728\u8868\u5355\u5185\u63D0\u4EA4\u65F6\u7684\u6807\u8BC6\u7B26string-
value\u8F93\u5165\u503Cstring | number\u6700\u5C0F\u503C
min\u6700\u5C0F\u503Cstring | number1
max\u6700\u5927\u503Cstring | number-
step\u6B65\u957Fstring | number1
integer\u662F\u5426\u53EA\u5141\u8BB8\u8F93\u5165\u6574\u6570booleanfalse
disabled\u662F\u5426\u7981\u7528booleanfalse
disable-input\u662F\u5426\u7981\u7528\u8F93\u5165\u6846booleanfalse
async-change\u662F\u5426\u5F00\u542F\u5F02\u6B65\u53D8\u66F4\uFF0C\u5F00\u542F\u540E\u9700\u8981\u624B\u52A8\u63A7\u5236\u8F93\u5165\u503Cbooleanfalse
input-width\u8F93\u5165\u6846\u5BBD\u5EA6\uFF0C\u9ED8\u8BA4\u5355\u4F4D\u4E3A pxstring | number32px
button-size\u6309\u94AE\u5927\u5C0F\uFF0C\u9ED8\u8BA4\u5355\u4F4D\u4E3A px\uFF0C\u8F93\u5165\u6846\u9AD8\u5EA6\u4F1A\u548C\u6309\u94AE\u5927\u5C0F\u4FDD\u6301\u4E00\u81F4string | number28px
show-plus\u662F\u5426\u663E\u793A\u589E\u52A0\u6309\u94AEbooleantrue
show-minus\u662F\u5426\u663E\u793A\u51CF\u5C11\u6309\u94AEbooleantrue
decimal-length\u56FA\u5B9A\u663E\u793A\u7684\u5C0F\u6570\u4F4D\u6570number-
theme\u6837\u5F0F\u98CE\u683C\uFF0C\u53EF\u9009\u503C\u4E3A roundstring-
disable-plus\u662F\u5426\u7981\u7528\u589E\u52A0\u6309\u94AEboolean-
disable-minus\u662F\u5426\u7981\u7528\u51CF\u5C11\u6309\u94AEboolean-
long-press\u662F\u5426\u5F00\u542F\u957F\u6309\u624B\u52BFbooleantrue
always-embed v1.9.3\u5F3A\u5236 input \u5904\u4E8E\u540C\u5C42\u72B6\u6001\uFF0C\u9ED8\u8BA4 focus \u65F6 input \u4F1A\u5207\u5230\u975E\u540C\u5C42\u72B6\u6001 (\u4EC5\u5728 iOS \u4E0B\u751F\u6548)booleanfalse

Events

\u4E8B\u4EF6\u540D\u8BF4\u660E\u56DE\u8C03\u53C2\u6570
bind:change\u5F53\u7ED1\u5B9A\u503C\u53D8\u5316\u65F6\u89E6\u53D1\u7684\u4E8B\u4EF6event.detail: \u5F53\u524D\u8F93\u5165\u7684\u503C
bind:overlimit\u70B9\u51FB\u4E0D\u53EF\u7528\u7684\u6309\u94AE\u65F6\u89E6\u53D1-
bind:plus\u70B9\u51FB\u589E\u52A0\u6309\u94AE\u65F6\u89E6\u53D1-
bind:minus\u70B9\u51FB\u51CF\u5C11\u6309\u94AE\u65F6\u89E6\u53D1-
bind:focus\u8F93\u5165\u6846\u805A\u7126\u65F6\u89E6\u53D1-
bind:blur\u8F93\u5165\u6846\u5931\u7126\u65F6\u89E6\u53D1-

Slot

\u540D\u79F0\u8BF4\u660E
plus\u52A0\u53F7\u6309\u94AE
minus\u51CF\u53F7\u6309\u94AE

\u5916\u90E8\u6837\u5F0F\u7C7B

\u7C7B\u540D\u8BF4\u660E
custom-class\u6839\u8282\u70B9\u6837\u5F0F\u7C7B
input-class\u8F93\u5165\u6846\u6837\u5F0F\u7C7B
plus-class\u52A0\u53F7\u6309\u94AE\u6837\u5F0F\u7C7B
minus-class\u51CF\u53F7\u6309\u94AE\u6837\u5F0F\u7C7B
`,18),Et=[Nt],Lt={setup(a,{expose:s}){return s({frontmatter:{}}),(l,t)=>(e(),p("div",Ft,Et))}},Ut={class:"van-doc-markdown-body"},Rt=d(`

Steps \u6B65\u9AA4\u6761

\u4ECB\u7ECD

\u7528\u4E8E\u5C55\u793A\u64CD\u4F5C\u6D41\u7A0B\u7684\u5404\u4E2A\u73AF\u8282\uFF0C\u8BA9\u7528\u6237\u4E86\u89E3\u5F53\u524D\u7684\u64CD\u4F5C\u5728\u6574\u4F53\u6D41\u7A0B\u4E2D\u7684\u4F4D\u7F6E\u3002

\u5F15\u5165

\u5728app.json\u6216index.json\u4E2D\u5F15\u5165\u7EC4\u4EF6\uFF0C\u8BE6\u7EC6\u4ECB\u7ECD\u89C1\u5FEB\u901F\u4E0A\u624B\u3002

"usingComponents": {
+

API

Props

\u53C2\u6570\u8BF4\u660E\u7C7B\u578B\u9ED8\u8BA4\u503C
name\u5728\u8868\u5355\u5185\u63D0\u4EA4\u65F6\u7684\u6807\u8BC6\u7B26string-
value\u8F93\u5165\u503Cstring | number\u6700\u5C0F\u503C
min\u6700\u5C0F\u503Cstring | number1
max\u6700\u5927\u503Cstring | number-
step\u6B65\u957Fstring | number1
integer\u662F\u5426\u53EA\u5141\u8BB8\u8F93\u5165\u6574\u6570booleanfalse
disabled\u662F\u5426\u7981\u7528booleanfalse
disable-input\u662F\u5426\u7981\u7528\u8F93\u5165\u6846booleanfalse
async-change\u662F\u5426\u5F00\u542F\u5F02\u6B65\u53D8\u66F4\uFF0C\u5F00\u542F\u540E\u9700\u8981\u624B\u52A8\u63A7\u5236\u8F93\u5165\u503Cbooleanfalse
input-width\u8F93\u5165\u6846\u5BBD\u5EA6\uFF0C\u9ED8\u8BA4\u5355\u4F4D\u4E3A pxstring | number32px
button-size\u6309\u94AE\u5927\u5C0F\uFF0C\u9ED8\u8BA4\u5355\u4F4D\u4E3A px\uFF0C\u8F93\u5165\u6846\u9AD8\u5EA6\u4F1A\u548C\u6309\u94AE\u5927\u5C0F\u4FDD\u6301\u4E00\u81F4string | number28px
show-plus\u662F\u5426\u663E\u793A\u589E\u52A0\u6309\u94AEbooleantrue
show-minus\u662F\u5426\u663E\u793A\u51CF\u5C11\u6309\u94AEbooleantrue
decimal-length\u56FA\u5B9A\u663E\u793A\u7684\u5C0F\u6570\u4F4D\u6570number-
theme\u6837\u5F0F\u98CE\u683C\uFF0C\u53EF\u9009\u503C\u4E3A roundstring-
disable-plus\u662F\u5426\u7981\u7528\u589E\u52A0\u6309\u94AEboolean-
disable-minus\u662F\u5426\u7981\u7528\u51CF\u5C11\u6309\u94AEboolean-
long-press\u662F\u5426\u5F00\u542F\u957F\u6309\u624B\u52BFbooleantrue
always-embed v1.9.3\u5F3A\u5236 input \u5904\u4E8E\u540C\u5C42\u72B6\u6001\uFF0C\u9ED8\u8BA4 focus \u65F6 input \u4F1A\u5207\u5230\u975E\u540C\u5C42\u72B6\u6001 (\u4EC5\u5728 iOS \u4E0B\u751F\u6548)booleanfalse

Events

\u4E8B\u4EF6\u540D\u8BF4\u660E\u56DE\u8C03\u53C2\u6570
bind:change\u5F53\u7ED1\u5B9A\u503C\u53D8\u5316\u65F6\u89E6\u53D1\u7684\u4E8B\u4EF6event.detail: \u5F53\u524D\u8F93\u5165\u7684\u503C
bind:overlimit\u70B9\u51FB\u4E0D\u53EF\u7528\u7684\u6309\u94AE\u65F6\u89E6\u53D1-
bind:plus\u70B9\u51FB\u589E\u52A0\u6309\u94AE\u65F6\u89E6\u53D1-
bind:minus\u70B9\u51FB\u51CF\u5C11\u6309\u94AE\u65F6\u89E6\u53D1-
bind:focus\u8F93\u5165\u6846\u805A\u7126\u65F6\u89E6\u53D1-
bind:blur\u8F93\u5165\u6846\u5931\u7126\u65F6\u89E6\u53D1-

Slot

\u540D\u79F0\u8BF4\u660E
plus\u52A0\u53F7\u6309\u94AE
minus\u51CF\u53F7\u6309\u94AE

\u5916\u90E8\u6837\u5F0F\u7C7B

\u7C7B\u540D\u8BF4\u660E
custom-class\u6839\u8282\u70B9\u6837\u5F0F\u7C7B
input-class\u8F93\u5165\u6846\u6837\u5F0F\u7C7B
plus-class\u52A0\u53F7\u6309\u94AE\u6837\u5F0F\u7C7B
minus-class\u51CF\u53F7\u6309\u94AE\u6837\u5F0F\u7C7B
`,18),Et=[Nt],Lt={setup(a,{expose:s}){return s({frontmatter:{}}),(l,t)=>(e(),p("div",Ft,Et))}},Rt={class:"van-doc-markdown-body"},Ut=d(`

Steps \u6B65\u9AA4\u6761

\u4ECB\u7ECD

\u7528\u4E8E\u5C55\u793A\u64CD\u4F5C\u6D41\u7A0B\u7684\u5404\u4E2A\u73AF\u8282\uFF0C\u8BA9\u7528\u6237\u4E86\u89E3\u5F53\u524D\u7684\u64CD\u4F5C\u5728\u6574\u4F53\u6D41\u7A0B\u4E2D\u7684\u4F4D\u7F6E\u3002

\u5F15\u5165

\u5728app.json\u6216index.json\u4E2D\u5F15\u5165\u7EC4\u4EF6\uFF0C\u8BE6\u7EC6\u4ECB\u7ECD\u89C1\u5FEB\u901F\u4E0A\u624B\u3002

"usingComponents": {
   "van-steps": "@vant/weapp/steps/index"
 }
 

\u4EE3\u7801\u6F14\u793A

\u57FA\u7840\u7528\u6CD5

<van-steps steps="{{ steps }}" active="{{ active }}" />
@@ -2461,7 +2461,7 @@ page {
   direction="vertical"
   active-color="#ee0a24"
 />
-

API

Steps Props

\u53C2\u6570\u8BF4\u660E\u7C7B\u578B\u9ED8\u8BA4\u503C
active\u5F53\u524D\u6B65\u9AA4number0
direction\u663E\u793A\u65B9\u5411\uFF0C\u53EF\u9009\u503C\u4E3A horizontal verticalstringhorizontal
active-color\u6FC0\u6D3B\u72B6\u6001\u989C\u8272string#07c160
inactive-color\u672A\u6FC0\u6D3B\u72B6\u6001\u989C\u8272string#969799
active-icon\u6FC0\u6D3B\u72B6\u6001\u5E95\u90E8\u56FE\u6807\uFF0C\u53EF\u9009\u503C\u89C1 Icon \u7EC4\u4EF6stringchecked
inactive-icon\u672A\u6FC0\u6D3B\u72B6\u6001\u5E95\u90E8\u56FE\u6807\uFF0C\u53EF\u9009\u503C\u89C1 Icon \u7EC4\u4EF6string-

Events

\u4E8B\u4EF6\u540D\u79F0\u8BF4\u660E\u56DE\u8C03\u53C2\u6570
bind:click-step\u70B9\u51FB\u6B65\u9AA4\u65F6\u89E6\u53D1\u7684\u4E8B\u4EF6event.detail:\u5F53\u524D\u6B65\u9AA4\u7684\u7D22\u5F15

\u5916\u90E8\u6837\u5F0F\u7C7B

\u7C7B\u540D\u8BF4\u660E
custom-class\u6839\u8282\u70B9\u6837\u5F0F\u7C7B
desc-class\u63CF\u8FF0\u4FE1\u606F\u6837\u5F0F\u7C7B
`,12),Vt=[Rt],Gt={setup(a,{expose:s}){return s({frontmatter:{}}),(l,t)=>(e(),p("div",Ut,Vt))}},Ot={class:"van-doc-markdown-body"},Mt=d(`

Sticky \u7C98\u6027\u5E03\u5C40

\u4ECB\u7ECD

Sticky \u7EC4\u4EF6\u4E0E CSS \u4E2Dposition: sticky\u5C5E\u6027\u5B9E\u73B0\u7684\u6548\u679C\u4E00\u81F4\uFF0C\u5F53\u7EC4\u4EF6\u5728\u5C4F\u5E55\u8303\u56F4\u5185\u65F6\uFF0C\u4F1A\u6309\u7167\u6B63\u5E38\u7684\u5E03\u5C40\u6392\u5217\uFF0C\u5F53\u7EC4\u4EF6\u6EDA\u51FA\u5C4F\u5E55\u8303\u56F4\u65F6\uFF0C\u59CB\u7EC8\u4F1A\u56FA\u5B9A\u5728\u5C4F\u5E55\u9876\u90E8\u3002

\u5F15\u5165

\u5728app.json\u6216index.json\u4E2D\u5F15\u5165\u7EC4\u4EF6\uFF0C\u8BE6\u7EC6\u4ECB\u7ECD\u89C1\u5FEB\u901F\u4E0A\u624B\u3002

"usingComponents": {
+

API

Steps Props

\u53C2\u6570\u8BF4\u660E\u7C7B\u578B\u9ED8\u8BA4\u503C
active\u5F53\u524D\u6B65\u9AA4number0
steps\u6B65\u9AA4\u914D\u7F6E\u96C6\u5408\uFF0C\u89C1\u4E0B\u9762\u914D\u7F6E\u9879Step \u914D\u7F6E\u9879\u6570\u7EC4[]
direction\u663E\u793A\u65B9\u5411\uFF0C\u53EF\u9009\u503C\u4E3A horizontal verticalstringhorizontal
active-color\u6FC0\u6D3B\u72B6\u6001\u989C\u8272string#07c160
inactive-color\u672A\u6FC0\u6D3B\u72B6\u6001\u989C\u8272string#969799
active-icon\u6FC0\u6D3B\u72B6\u6001\u5E95\u90E8\u56FE\u6807\uFF0C\u53EF\u9009\u503C\u89C1 Icon \u7EC4\u4EF6stringchecked
inactive-icon\u672A\u6FC0\u6D3B\u72B6\u6001\u5E95\u90E8\u56FE\u6807\uFF0C\u53EF\u9009\u503C\u89C1 Icon \u7EC4\u4EF6string-

Events

\u4E8B\u4EF6\u540D\u79F0\u8BF4\u660E\u56DE\u8C03\u53C2\u6570
bind:click-step\u70B9\u51FB\u6B65\u9AA4\u65F6\u89E6\u53D1\u7684\u4E8B\u4EF6event.detail:\u5F53\u524D\u6B65\u9AA4\u7684\u7D22\u5F15

\u5916\u90E8\u6837\u5F0F\u7C7B

\u7C7B\u540D\u8BF4\u660E
custom-class\u6839\u8282\u70B9\u6837\u5F0F\u7C7B
desc-class\u63CF\u8FF0\u4FE1\u606F\u6837\u5F0F\u7C7B

Step \u914D\u7F6E\u9879

\u952E\u540D\u8BF4\u660E\u7C7B\u578B
text\u5F53\u524D\u6B65\u9AA4\u540D\u79F0string
desc\u5F53\u524D\u6B65\u9AA4\u63CF\u8FF0\u4FE1\u606Fstring
activeIcon\u5F53\u524D\u6B65\u9AA4\u6FC0\u6D3B\u72B6\u6001\u5E95\u90E8\u56FE\u6807string
inactiveIcon\u5F53\u524D\u6B65\u9AA4\u672A\u6FC0\u6D3B\u72B6\u6001\u5E95\u90E8\u56FE\u6807\uFF0C\u53EF\u9009\u503C\u89C1 Icon \u7EC4\u4EF6string
`,13),Vt=[Ut],Gt={setup(a,{expose:s}){return s({frontmatter:{}}),(l,t)=>(e(),p("div",Rt,Vt))}},Ot={class:"van-doc-markdown-body"},Mt=d(`

Sticky \u7C98\u6027\u5E03\u5C40

\u4ECB\u7ECD

Sticky \u7EC4\u4EF6\u4E0E CSS \u4E2Dposition: sticky\u5C5E\u6027\u5B9E\u73B0\u7684\u6548\u679C\u4E00\u81F4\uFF0C\u5F53\u7EC4\u4EF6\u5728\u5C4F\u5E55\u8303\u56F4\u5185\u65F6\uFF0C\u4F1A\u6309\u7167\u6B63\u5E38\u7684\u5E03\u5C40\u6392\u5217\uFF0C\u5F53\u7EC4\u4EF6\u6EDA\u51FA\u5C4F\u5E55\u8303\u56F4\u65F6\uFF0C\u59CB\u7EC8\u4F1A\u56FA\u5B9A\u5728\u5C4F\u5E55\u9876\u90E8\u3002

\u5F15\u5165

\u5728app.json\u6216index.json\u4E2D\u5F15\u5165\u7EC4\u4EF6\uFF0C\u8BE6\u7EC6\u4ECB\u7ECD\u89C1\u5FEB\u901F\u4E0A\u624B\u3002

"usingComponents": {
   "van-sticky": "@vant/weapp/sticky/index"
 }
 

Vant Weapp 1.0 \u7248\u672C\u5F00\u59CB\u652F\u6301\u6B64\u7EC4\u4EF6\uFF0C\u5347\u7EA7\u65B9\u5F0F\u53C2\u89C1\u5FEB\u901F\u4E0A\u624B

\u4EE3\u7801\u6F14\u793A

\u57FA\u7840\u7528\u6CD5

\u5C06\u5185\u5BB9\u5305\u88F9\u5728Sticky\u7EC4\u4EF6\u5185\u5373\u53EF\u3002

<van-sticky>
@@ -3217,4 +3217,4 @@ page {
     filePath: chooseResult.url
   });
 }
-

API

Props

\u53C2\u6570\u8BF4\u660E\u7C7B\u578B\u9ED8\u8BA4\u503C
name\u6807\u8BC6\u7B26\uFF0C\u53EF\u4EE5\u5728\u56DE\u8C03\u51FD\u6570\u7684\u7B2C\u4E8C\u9879\u53C2\u6570\u4E2D\u83B7\u53D6string | number-
accept\u63A5\u53D7\u7684\u6587\u4EF6\u7C7B\u578B, \u53EF\u9009\u503C\u4E3Aall media image file videostringimage
sizeType\u6240\u9009\u7684\u56FE\u7247\u7684\u5C3A\u5BF8, \u5F53accept\u4E3Aimage\u7C7B\u578B\u65F6\u8BBE\u7F6E\u6240\u9009\u56FE\u7247\u7684\u5C3A\u5BF8\u53EF\u9009\u503C\u4E3Aoriginal compressedstring[]['original','compressed']
preview-size\u9884\u89C8\u56FE\u548C\u4E0A\u4F20\u533A\u57DF\u7684\u5C3A\u5BF8\uFF0C\u9ED8\u8BA4\u5355\u4F4D\u4E3Apxstring | number80px
preview-image\u662F\u5426\u5728\u4E0A\u4F20\u5B8C\u6210\u540E\u5C55\u793A\u9884\u89C8\u56FEbooleantrue
preview-full-image\u662F\u5426\u5728\u70B9\u51FB\u9884\u89C8\u56FE\u540E\u5C55\u793A\u5168\u5C4F\u56FE\u7247\u9884\u89C8booleantrue
multiple\u662F\u5426\u5F00\u542F\u56FE\u7247\u591A\u9009\uFF0C\u90E8\u5206\u5B89\u5353\u673A\u578B\u4E0D\u652F\u6301booleanfalse
disabled\u662F\u5426\u7981\u7528\u6587\u4EF6\u4E0A\u4F20booleanfalse
show-upload\u662F\u5426\u5C55\u793A\u6587\u4EF6\u4E0A\u4F20\u6309\u94AEbooleantrue
deletable\u662F\u5426\u5C55\u793A\u5220\u9664\u6309\u94AEbooleantrue
capture\u56FE\u7247\u6216\u8005\u89C6\u9891\u9009\u53D6\u6A21\u5F0F\uFF0C\u5F53accept\u4E3Aimage\u7C7B\u578B\u65F6\u8BBE\u7F6Ecapture\u53EF\u9009\u503C\u4E3Acamera\u53EF\u4EE5\u76F4\u63A5\u8C03\u8D77\u6444\u50CF\u5934string | string[]['album', 'camera']
max-size\u6587\u4EF6\u5927\u5C0F\u9650\u5236\uFF0C\u5355\u4F4D\u4E3Abytenumber-
max-count\u6587\u4EF6\u4E0A\u4F20\u6570\u91CF\u9650\u5236number-
upload-text\u4E0A\u4F20\u533A\u57DF\u6587\u5B57\u63D0\u793Astring-
image-fit\u9884\u89C8\u56FE\u88C1\u526A\u6A21\u5F0F\uFF0C\u53EF\u9009\u503C\u53C2\u8003\u5C0F\u7A0B\u5E8Fimage\u7EC4\u4EF6\u7684mode\u5C5E\u6027stringscaleToFill
use-before-read\u662F\u5426\u5F00\u542F\u6587\u4EF6\u8BFB\u53D6\u524D\u4E8B\u4EF6boolean-
camera\u5F53 accept \u4E3A video \u65F6\u751F\u6548\uFF0C\u53EF\u9009\u503C\u4E3A back frontstring-
compressed\u5F53 accept \u4E3A video \u65F6\u751F\u6548\uFF0C\u662F\u5426\u538B\u7F29\u89C6\u9891\uFF0C\u9ED8\u8BA4\u4E3Atrueboolean-
max-duration\u5F53 accept \u4E3A video \u65F6\u751F\u6548\uFF0C\u62CD\u6444\u89C6\u9891\u6700\u957F\u62CD\u6444\u65F6\u95F4\uFF0C\u5355\u4F4D\u79D2number-
upload-icon\u4E0A\u4F20\u533A\u57DF\u56FE\u6807\uFF0C\u53EF\u9009\u503C\u89C1 Icon \u7EC4\u4EF6stringplus

accept \u7684\u5408\u6CD5\u503C

\u53C2\u6570\u8BF4\u660E
media\u56FE\u7247\u548C\u89C6\u9891
image\u56FE\u7247
video\u89C6\u9891
file\u4ECE\u5BA2\u6237\u7AEF\u4F1A\u8BDD\u9009\u62E9\u56FE\u7247\u548C\u89C6\u9891\u4EE5\u5916\u7684\u6587\u4EF6
all\u4ECE\u5BA2\u6237\u7AEF\u4F1A\u8BDD\u9009\u62E9\u6240\u6709\u6587\u4EF6

FileList

file-list \u4E3A\u4E00\u4E2A\u5BF9\u8C61\u6570\u7EC4\uFF0C\u6570\u7EC4\u4E2D\u7684\u6BCF\u4E00\u4E2A\u5BF9\u8C61\u5305\u542B\u4EE5\u4E0B key\u3002

\u53C2\u6570\u8BF4\u660E
url\u56FE\u7247\u548C\u89C6\u9891\u7684\u7F51\u7EDC\u8D44\u6E90\u5730\u5740
name\u6587\u4EF6\u540D\u79F0\uFF0C\u89C6\u9891\u5C06\u5728\u5168\u5C4F\u9884\u89C8\u65F6\u4F5C\u4E3A\u6807\u9898\u663E\u793A
thumb\u56FE\u7247\u7F29\u7565\u56FE\u6216\u89C6\u9891\u5C01\u9762\u7684\u7F51\u7EDC\u8D44\u6E90\u5730\u5740\uFF0C\u4EC5\u5BF9\u56FE\u7247\u548C\u89C6\u9891\u6709\u6548
type\u6587\u4EF6\u7C7B\u578B\uFF0C\u53EF\u9009\u503Cimage video file
isImage\u624B\u52A8\u6807\u8BB0\u56FE\u7247\u8D44\u6E90
isVideo\u624B\u52A8\u6807\u8BB0\u89C6\u9891\u8D44\u6E90

Slot

\u540D\u79F0\u8BF4\u660E
-\u81EA\u5B9A\u4E49\u4E0A\u4F20\u533A\u57DF

Events

\u4E8B\u4EF6\u540D\u8BF4\u660E\u56DE\u8C03\u53C2\u6570
bind:before-read\u6587\u4EF6\u8BFB\u53D6\u524D\uFF0C\u5728\u56DE\u8C03\u51FD\u6570\u4E2D\u8FD4\u56DE false \u53EF\u7EC8\u6B62\u6587\u4EF6\u8BFB\u53D6\uFF0C\u7ED1\u5B9A\u4E8B\u4EF6\u7684\u540C\u65F6\u9700\u8981\u5C06use-before-read\u5C5E\u6027\u8BBE\u7F6E\u4E3Atrueevent.detail.file: \u5F53\u524D\u8BFB\u53D6\u7684\u6587\u4EF6\uFF0Cevent.detail.callback: \u56DE\u8C03\u51FD\u6570\uFF0C\u8C03\u7528callback(false)\u7EC8\u6B62\u6587\u4EF6\u8BFB\u53D6
bind:after-read\u6587\u4EF6\u8BFB\u53D6\u5B8C\u6210\u540Eevent.detail.file: \u5F53\u524D\u8BFB\u53D6\u7684\u6587\u4EF6
bind:oversize\u6587\u4EF6\u8D85\u51FA\u5927\u5C0F\u9650\u5236-
bind:click-preview\u70B9\u51FB\u9884\u89C8\u56FE\u7247event.detail.index: \u70B9\u51FB\u56FE\u7247\u7684\u5E8F\u53F7\u503C
bind:delete\u5220\u9664\u56FE\u7247event.detail.index: \u5220\u9664\u56FE\u7247\u7684\u5E8F\u53F7\u503C
`,18),Tn=[$n],An={setup(a,{expose:s}){return s({frontmatter:{}}),(l,t)=>(e(),p("div",Dn,Tn))}},h={name:"vant-weapp",build:{srcDir:"packages",site:{publicPath:"/vant-weapp/"}},site:{versions:[{label:"0.x",link:"/vant-weapp/0.x"}],title:"Vant Weapp",description:"\u8F7B\u91CF\u3001\u53EF\u9760\u7684\u5C0F\u7A0B\u5E8F UI \u7EC4\u4EF6\u5E93",logo:"https://img.yzcdn.cn/vant/logo.png",simulator:{url:"https://vant-contrib.gitee.io/vant/mobile.html?weapp=1",routeMapper:a=>`/zh-CN${{"/common":"/style","/transition":"/style"}[a]||a}`,syncPathFromSimulator:!1},links:[{logo:"https://img.yzcdn.cn/vant/vant-o.svg",url:"https://vant-contrib.gitee.io/vant/"},{logo:"https://b.yzcdn.cn/vant/logo/github.svg",url:"https://github.com/youzan/vant-weapp"}],baiduAnalytics:{seed:"ad6b5732c36321f2dafed737ac2da92f"},nav:[{title:"\u5F00\u53D1\u6307\u5357",items:[{path:"home",title:"\u4ECB\u7ECD"},{path:"quickstart",title:"\u5FEB\u901F\u4E0A\u624B"},{path:"changelog",title:"\u66F4\u65B0\u65E5\u5FD7"},{path:"custom-style",title:"\u6837\u5F0F\u8986\u76D6"},{path:"theme",title:"\u5B9A\u5236\u4E3B\u9898"}]},{title:"\u57FA\u7840\u7EC4\u4EF6",items:[{path:"button",title:"Button \u6309\u94AE"},{path:"cell",title:"Cell \u5355\u5143\u683C"},{path:"config-provider",title:"ConfigProvider \u5168\u5C40\u914D\u7F6E"},{path:"icon",title:"Icon \u56FE\u6807"},{path:"image",title:"Image \u56FE\u7247"},{path:"col",title:"Layout \u5E03\u5C40"},{path:"popup",title:"Popup \u5F39\u51FA\u5C42"},{path:"common",title:"Style \u5185\u7F6E\u6837\u5F0F"},{path:"toast",title:"Toast \u8F7B\u63D0\u793A"},{path:"transition",title:"transition \u52A8\u753B"}]},{title:"\u8868\u5355\u7EC4\u4EF6",items:[{path:"calendar",title:"Calendar \u65E5\u5386"},{path:"checkbox",title:"Checkbox \u590D\u9009\u6846"},{path:"datetime-picker",title:"DatetimePicker \u65F6\u95F4\u9009\u62E9"},{path:"field",title:"Field \u8F93\u5165\u6846"},{path:"picker",title:"Picker \u9009\u62E9\u5668"},{path:"radio",title:"Radio \u5355\u9009\u6846"},{path:"rate",title:"Rate \u8BC4\u5206"},{path:"search",title:"Search \u641C\u7D22"},{path:"slider",title:"Slider \u6ED1\u5757"},{path:"stepper",title:"Stepper \u6B65\u8FDB\u5668"},{path:"switch",title:"Switch \u5F00\u5173"},{path:"uploader",title:"Uploader \u6587\u4EF6\u4E0A\u4F20"}]},{title:"\u53CD\u9988\u7EC4\u4EF6",items:[{path:"action-sheet",title:"ActionSheet \u52A8\u4F5C\u9762\u677F"},{path:"dialog",title:"Dialog \u5F39\u51FA\u6846"},{path:"dropdown-menu",title:"DropdownMenu \u4E0B\u62C9\u83DC\u5355"},{path:"loading",title:"Loading \u52A0\u8F7D"},{path:"notify",title:"Notify \u6D88\u606F\u901A\u77E5"},{path:"overlay",title:"Overlay \u906E\u7F69\u5C42"},{path:"share-sheet",title:"ShareSheet \u5206\u4EAB\u9762\u677F"},{path:"swipe-cell",title:"SwipeCell \u6ED1\u52A8\u5355\u5143\u683C"}]},{title:"\u5C55\u793A\u7EC4\u4EF6",items:[{path:"circle",title:"Circle \u73AF\u5F62\u8FDB\u5EA6\u6761"},{path:"collapse",title:"Collapse \u6298\u53E0\u9762\u677F"},{path:"count-down",title:"CountDown \u5012\u8BA1\u65F6"},{path:"divider",title:"Divider \u5206\u5272\u7EBF"},{path:"empty",title:"Empty \u7A7A\u72B6\u6001"},{path:"notice-bar",title:"NoticeBar \u901A\u77E5\u680F"},{path:"progress",title:"Progress \u8FDB\u5EA6\u6761"},{path:"skeleton",title:"Skeleton \u9AA8\u67B6\u5C4F"},{path:"steps",title:"Steps \u6B65\u9AA4\u6761"},{path:"sticky",title:"Sticky \u7C98\u6027\u5E03\u5C40"},{path:"tag",title:"Tag \u6807\u7B7E"}]},{title:"\u5BFC\u822A\u7EC4\u4EF6",items:[{path:"grid",title:"Grid \u5BAB\u683C"},{path:"index-bar",title:"IndexBar \u7D22\u5F15\u680F"},{path:"nav-bar",title:"NavBar \u5BFC\u822A\u680F"},{path:"sidebar",title:"Sidebar \u4FA7\u8FB9\u5BFC\u822A"},{path:"tab",title:"Tab \u6807\u7B7E\u9875"},{path:"tabbar",title:"Tabbar \u6807\u7B7E\u680F"},{path:"tree-select",title:"TreeSelect \u5206\u7C7B\u9009\u62E9"}]},{title:"\u4E1A\u52A1\u7EC4\u4EF6",items:[{path:"area",title:"Area \u7701\u5E02\u533A\u9009\u62E9"},{path:"card",title:"Card \u5546\u54C1\u5361\u7247"},{path:"submit-bar",title:"SubmitBar \u63D0\u4EA4\u8BA2\u5355\u680F"},{path:"goods-action",title:"GoodsAction \u5546\u54C1\u5BFC\u822A"}]},{title:"\u5E9F\u5F03",items:[{path:"panel",title:"Panel \u9762\u677F"}]}]}},Un={Changelog:y,CustomStyle:k,Home:S,Quickstart:T,Theme:N,ActionSheet:R,Area:M,Button:Q,Calendar:Y,Card:ns,Cell:ds,Checkbox:is,Circle:js,Col:qs,Collapse:_s,Common:Cs,ConfigProvider:Ds,CountDown:Bs,DatetimePicker:Ls,Dialog:Gs,Divider:Hs,DropdownMenu:Xs,Empty:aa,Field:ea,GoodsAction:oa,Grid:ua,Icon:va,Image:ya,IndexBar:ka,Loading:Sa,NavBar:Ta,NoticeBar:Na,Notify:Ra,Overlay:Ma,Panel:Qa,Picker:Ya,Popup:nt,Progress:dt,Radio:it,Rate:jt,Search:qt,ShareSheet:_t,Sidebar:Ct,Skeleton:Dt,Slider:Bt,Stepper:Lt,Steps:Gt,Sticky:Ht,SubmitBar:Xt,SwipeCell:an,Switch:en,Tab:on,Tabbar:gn,Tag:bn,Toast:xn,Transition:zn,TreeSelect:In,Uploader:An},Rn="1.10.2",u="zh-CN",Bn="en-US",g="vant-cli-lang";let o=u;function Vn(){return o}function Gn(a){o=a,localStorage.setItem(g,a)}function On(a){const s=localStorage.getItem(g);if(s){o=s;return}if(navigator.language&&navigator.language.indexOf("zh-")!==-1){o=u;return}o=a||Bn}const Fn=navigator.userAgent.toLowerCase(),Mn=/ios|iphone|ipod|ipad|android/.test(Fn);function Wn(a,s="-"){return a.replace(/([a-z\d])([A-Z])/g,"$1"+s+"$2").replace(/([A-Z]+)([A-Z][a-z\d]+)/g,"$1"+s+"$2").toLowerCase()}let i=[],j=!1;function Nn(a){j?a():i.push(a)}window.top===window?window.addEventListener("message",a=>{a.data.type==="iframeReady"&&(j=!0,i.forEach(s=>s()),i=[])}):window.top.postMessage({type:"iframeReady"},"*");function m(){var n,l;const a=window.vueRouter,{path:s}=a.currentRoute.value;return((n=h.site.simulator)==null?void 0:n.routeMapper)?(l=h.site.simulator)==null?void 0:l.routeMapper(s):s}function Hn(){window.top.postMessage({type:"replacePath",value:m()},"*")}function Kn(){const a=document.querySelector("iframe");a&&Nn(()=>{a.contentWindow.postMessage({type:"replacePath",value:m()},"*")})}function Qn(a){window.addEventListener("message",s=>{var l,t;if(((l=s.data)==null?void 0:l.type)!=="replacePath")return;const n=((t=s.data)==null?void 0:t.value)||"";a.currentRoute.value.path!==n&&a.replace(n).catch(()=>{})})}export{Ln as _,On as a,Kn as b,h as c,Un as d,Wn as e,Hn as f,Vn as g,Mn as i,Qn as l,Rn as p,Gn as s}; +

API

Props

\u53C2\u6570\u8BF4\u660E\u7C7B\u578B\u9ED8\u8BA4\u503C
name\u6807\u8BC6\u7B26\uFF0C\u53EF\u4EE5\u5728\u56DE\u8C03\u51FD\u6570\u7684\u7B2C\u4E8C\u9879\u53C2\u6570\u4E2D\u83B7\u53D6string | number-
accept\u63A5\u53D7\u7684\u6587\u4EF6\u7C7B\u578B, \u53EF\u9009\u503C\u4E3Aall media image file videostringimage
sizeType\u6240\u9009\u7684\u56FE\u7247\u7684\u5C3A\u5BF8, \u5F53accept\u4E3Aimage\u7C7B\u578B\u65F6\u8BBE\u7F6E\u6240\u9009\u56FE\u7247\u7684\u5C3A\u5BF8\u53EF\u9009\u503C\u4E3Aoriginal compressedstring[]['original','compressed']
preview-size\u9884\u89C8\u56FE\u548C\u4E0A\u4F20\u533A\u57DF\u7684\u5C3A\u5BF8\uFF0C\u9ED8\u8BA4\u5355\u4F4D\u4E3Apxstring | number80px
preview-image\u662F\u5426\u5728\u4E0A\u4F20\u5B8C\u6210\u540E\u5C55\u793A\u9884\u89C8\u56FEbooleantrue
preview-full-image\u662F\u5426\u5728\u70B9\u51FB\u9884\u89C8\u56FE\u540E\u5C55\u793A\u5168\u5C4F\u56FE\u7247\u9884\u89C8booleantrue
multiple\u662F\u5426\u5F00\u542F\u56FE\u7247\u591A\u9009\uFF0C\u90E8\u5206\u5B89\u5353\u673A\u578B\u4E0D\u652F\u6301booleanfalse
disabled\u662F\u5426\u7981\u7528\u6587\u4EF6\u4E0A\u4F20booleanfalse
show-upload\u662F\u5426\u5C55\u793A\u6587\u4EF6\u4E0A\u4F20\u6309\u94AEbooleantrue
deletable\u662F\u5426\u5C55\u793A\u5220\u9664\u6309\u94AEbooleantrue
capture\u56FE\u7247\u6216\u8005\u89C6\u9891\u9009\u53D6\u6A21\u5F0F\uFF0C\u5F53accept\u4E3Aimage\u7C7B\u578B\u65F6\u8BBE\u7F6Ecapture\u53EF\u9009\u503C\u4E3Acamera\u53EF\u4EE5\u76F4\u63A5\u8C03\u8D77\u6444\u50CF\u5934string | string[]['album', 'camera']
max-size\u6587\u4EF6\u5927\u5C0F\u9650\u5236\uFF0C\u5355\u4F4D\u4E3Abytenumber-
max-count\u6587\u4EF6\u4E0A\u4F20\u6570\u91CF\u9650\u5236number-
upload-text\u4E0A\u4F20\u533A\u57DF\u6587\u5B57\u63D0\u793Astring-
image-fit\u9884\u89C8\u56FE\u88C1\u526A\u6A21\u5F0F\uFF0C\u53EF\u9009\u503C\u53C2\u8003\u5C0F\u7A0B\u5E8Fimage\u7EC4\u4EF6\u7684mode\u5C5E\u6027stringscaleToFill
use-before-read\u662F\u5426\u5F00\u542F\u6587\u4EF6\u8BFB\u53D6\u524D\u4E8B\u4EF6boolean-
camera\u5F53 accept \u4E3A video \u65F6\u751F\u6548\uFF0C\u53EF\u9009\u503C\u4E3A back frontstring-
compressed\u5F53 accept \u4E3A video \u65F6\u751F\u6548\uFF0C\u662F\u5426\u538B\u7F29\u89C6\u9891\uFF0C\u9ED8\u8BA4\u4E3Atrueboolean-
max-duration\u5F53 accept \u4E3A video \u65F6\u751F\u6548\uFF0C\u62CD\u6444\u89C6\u9891\u6700\u957F\u62CD\u6444\u65F6\u95F4\uFF0C\u5355\u4F4D\u79D2number-
upload-icon\u4E0A\u4F20\u533A\u57DF\u56FE\u6807\uFF0C\u53EF\u9009\u503C\u89C1 Icon \u7EC4\u4EF6stringplus

accept \u7684\u5408\u6CD5\u503C

\u53C2\u6570\u8BF4\u660E
media\u56FE\u7247\u548C\u89C6\u9891
image\u56FE\u7247
video\u89C6\u9891
file\u4ECE\u5BA2\u6237\u7AEF\u4F1A\u8BDD\u9009\u62E9\u56FE\u7247\u548C\u89C6\u9891\u4EE5\u5916\u7684\u6587\u4EF6
all\u4ECE\u5BA2\u6237\u7AEF\u4F1A\u8BDD\u9009\u62E9\u6240\u6709\u6587\u4EF6

FileList

file-list \u4E3A\u4E00\u4E2A\u5BF9\u8C61\u6570\u7EC4\uFF0C\u6570\u7EC4\u4E2D\u7684\u6BCF\u4E00\u4E2A\u5BF9\u8C61\u5305\u542B\u4EE5\u4E0B key\u3002

\u53C2\u6570\u8BF4\u660E
url\u56FE\u7247\u548C\u89C6\u9891\u7684\u7F51\u7EDC\u8D44\u6E90\u5730\u5740
name\u6587\u4EF6\u540D\u79F0\uFF0C\u89C6\u9891\u5C06\u5728\u5168\u5C4F\u9884\u89C8\u65F6\u4F5C\u4E3A\u6807\u9898\u663E\u793A
thumb\u56FE\u7247\u7F29\u7565\u56FE\u6216\u89C6\u9891\u5C01\u9762\u7684\u7F51\u7EDC\u8D44\u6E90\u5730\u5740\uFF0C\u4EC5\u5BF9\u56FE\u7247\u548C\u89C6\u9891\u6709\u6548
type\u6587\u4EF6\u7C7B\u578B\uFF0C\u53EF\u9009\u503Cimage video file
isImage\u624B\u52A8\u6807\u8BB0\u56FE\u7247\u8D44\u6E90
isVideo\u624B\u52A8\u6807\u8BB0\u89C6\u9891\u8D44\u6E90

Slot

\u540D\u79F0\u8BF4\u660E
-\u81EA\u5B9A\u4E49\u4E0A\u4F20\u533A\u57DF

Events

\u4E8B\u4EF6\u540D\u8BF4\u660E\u56DE\u8C03\u53C2\u6570
bind:before-read\u6587\u4EF6\u8BFB\u53D6\u524D\uFF0C\u5728\u56DE\u8C03\u51FD\u6570\u4E2D\u8FD4\u56DE false \u53EF\u7EC8\u6B62\u6587\u4EF6\u8BFB\u53D6\uFF0C\u7ED1\u5B9A\u4E8B\u4EF6\u7684\u540C\u65F6\u9700\u8981\u5C06use-before-read\u5C5E\u6027\u8BBE\u7F6E\u4E3Atrueevent.detail.file: \u5F53\u524D\u8BFB\u53D6\u7684\u6587\u4EF6\uFF0Cevent.detail.callback: \u56DE\u8C03\u51FD\u6570\uFF0C\u8C03\u7528callback(false)\u7EC8\u6B62\u6587\u4EF6\u8BFB\u53D6
bind:after-read\u6587\u4EF6\u8BFB\u53D6\u5B8C\u6210\u540Eevent.detail.file: \u5F53\u524D\u8BFB\u53D6\u7684\u6587\u4EF6
bind:oversize\u6587\u4EF6\u8D85\u51FA\u5927\u5C0F\u9650\u5236-
bind:click-preview\u70B9\u51FB\u9884\u89C8\u56FE\u7247event.detail.index: \u70B9\u51FB\u56FE\u7247\u7684\u5E8F\u53F7\u503C
bind:delete\u5220\u9664\u56FE\u7247event.detail.index: \u5220\u9664\u56FE\u7247\u7684\u5E8F\u53F7\u503C
`,18),Tn=[$n],An={setup(a,{expose:s}){return s({frontmatter:{}}),(l,t)=>(e(),p("div",Dn,Tn))}},h={name:"vant-weapp",build:{srcDir:"packages",site:{publicPath:"/vant-weapp/"}},site:{versions:[{label:"0.x",link:"/vant-weapp/0.x"}],title:"Vant Weapp",description:"\u8F7B\u91CF\u3001\u53EF\u9760\u7684\u5C0F\u7A0B\u5E8F UI \u7EC4\u4EF6\u5E93",logo:"https://img.yzcdn.cn/vant/logo.png",simulator:{url:"https://vant-contrib.gitee.io/vant/mobile.html?weapp=1",routeMapper:a=>`/zh-CN${{"/common":"/style","/transition":"/style"}[a]||a}`,syncPathFromSimulator:!1},links:[{logo:"https://img.yzcdn.cn/vant/vant-o.svg",url:"https://vant-contrib.gitee.io/vant/"},{logo:"https://b.yzcdn.cn/vant/logo/github.svg",url:"https://github.com/youzan/vant-weapp"}],baiduAnalytics:{seed:"ad6b5732c36321f2dafed737ac2da92f"},nav:[{title:"\u5F00\u53D1\u6307\u5357",items:[{path:"home",title:"\u4ECB\u7ECD"},{path:"quickstart",title:"\u5FEB\u901F\u4E0A\u624B"},{path:"changelog",title:"\u66F4\u65B0\u65E5\u5FD7"},{path:"custom-style",title:"\u6837\u5F0F\u8986\u76D6"},{path:"theme",title:"\u5B9A\u5236\u4E3B\u9898"}]},{title:"\u57FA\u7840\u7EC4\u4EF6",items:[{path:"button",title:"Button \u6309\u94AE"},{path:"cell",title:"Cell \u5355\u5143\u683C"},{path:"config-provider",title:"ConfigProvider \u5168\u5C40\u914D\u7F6E"},{path:"icon",title:"Icon \u56FE\u6807"},{path:"image",title:"Image \u56FE\u7247"},{path:"col",title:"Layout \u5E03\u5C40"},{path:"popup",title:"Popup \u5F39\u51FA\u5C42"},{path:"common",title:"Style \u5185\u7F6E\u6837\u5F0F"},{path:"toast",title:"Toast \u8F7B\u63D0\u793A"},{path:"transition",title:"transition \u52A8\u753B"}]},{title:"\u8868\u5355\u7EC4\u4EF6",items:[{path:"calendar",title:"Calendar \u65E5\u5386"},{path:"checkbox",title:"Checkbox \u590D\u9009\u6846"},{path:"datetime-picker",title:"DatetimePicker \u65F6\u95F4\u9009\u62E9"},{path:"field",title:"Field \u8F93\u5165\u6846"},{path:"picker",title:"Picker \u9009\u62E9\u5668"},{path:"radio",title:"Radio \u5355\u9009\u6846"},{path:"rate",title:"Rate \u8BC4\u5206"},{path:"search",title:"Search \u641C\u7D22"},{path:"slider",title:"Slider \u6ED1\u5757"},{path:"stepper",title:"Stepper \u6B65\u8FDB\u5668"},{path:"switch",title:"Switch \u5F00\u5173"},{path:"uploader",title:"Uploader \u6587\u4EF6\u4E0A\u4F20"}]},{title:"\u53CD\u9988\u7EC4\u4EF6",items:[{path:"action-sheet",title:"ActionSheet \u52A8\u4F5C\u9762\u677F"},{path:"dialog",title:"Dialog \u5F39\u51FA\u6846"},{path:"dropdown-menu",title:"DropdownMenu \u4E0B\u62C9\u83DC\u5355"},{path:"loading",title:"Loading \u52A0\u8F7D"},{path:"notify",title:"Notify \u6D88\u606F\u901A\u77E5"},{path:"overlay",title:"Overlay \u906E\u7F69\u5C42"},{path:"share-sheet",title:"ShareSheet \u5206\u4EAB\u9762\u677F"},{path:"swipe-cell",title:"SwipeCell \u6ED1\u52A8\u5355\u5143\u683C"}]},{title:"\u5C55\u793A\u7EC4\u4EF6",items:[{path:"circle",title:"Circle \u73AF\u5F62\u8FDB\u5EA6\u6761"},{path:"collapse",title:"Collapse \u6298\u53E0\u9762\u677F"},{path:"count-down",title:"CountDown \u5012\u8BA1\u65F6"},{path:"divider",title:"Divider \u5206\u5272\u7EBF"},{path:"empty",title:"Empty \u7A7A\u72B6\u6001"},{path:"notice-bar",title:"NoticeBar \u901A\u77E5\u680F"},{path:"progress",title:"Progress \u8FDB\u5EA6\u6761"},{path:"skeleton",title:"Skeleton \u9AA8\u67B6\u5C4F"},{path:"steps",title:"Steps \u6B65\u9AA4\u6761"},{path:"sticky",title:"Sticky \u7C98\u6027\u5E03\u5C40"},{path:"tag",title:"Tag \u6807\u7B7E"}]},{title:"\u5BFC\u822A\u7EC4\u4EF6",items:[{path:"grid",title:"Grid \u5BAB\u683C"},{path:"index-bar",title:"IndexBar \u7D22\u5F15\u680F"},{path:"nav-bar",title:"NavBar \u5BFC\u822A\u680F"},{path:"sidebar",title:"Sidebar \u4FA7\u8FB9\u5BFC\u822A"},{path:"tab",title:"Tab \u6807\u7B7E\u9875"},{path:"tabbar",title:"Tabbar \u6807\u7B7E\u680F"},{path:"tree-select",title:"TreeSelect \u5206\u7C7B\u9009\u62E9"}]},{title:"\u4E1A\u52A1\u7EC4\u4EF6",items:[{path:"area",title:"Area \u7701\u5E02\u533A\u9009\u62E9"},{path:"card",title:"Card \u5546\u54C1\u5361\u7247"},{path:"submit-bar",title:"SubmitBar \u63D0\u4EA4\u8BA2\u5355\u680F"},{path:"goods-action",title:"GoodsAction \u5546\u54C1\u5BFC\u822A"}]},{title:"\u5E9F\u5F03",items:[{path:"panel",title:"Panel \u9762\u677F"}]}]}},Rn={Changelog:y,CustomStyle:k,Home:S,Quickstart:T,Theme:N,ActionSheet:U,Area:M,Button:Q,Calendar:Y,Card:ns,Cell:ds,Checkbox:is,Circle:js,Col:qs,Collapse:_s,Common:Cs,ConfigProvider:Ds,CountDown:Bs,DatetimePicker:Ls,Dialog:Gs,Divider:Hs,DropdownMenu:Xs,Empty:aa,Field:ea,GoodsAction:oa,Grid:ua,Icon:va,Image:ya,IndexBar:ka,Loading:Sa,NavBar:Ta,NoticeBar:Na,Notify:Ua,Overlay:Ma,Panel:Qa,Picker:Ya,Popup:nt,Progress:dt,Radio:it,Rate:jt,Search:qt,ShareSheet:_t,Sidebar:Ct,Skeleton:Dt,Slider:Bt,Stepper:Lt,Steps:Gt,Sticky:Ht,SubmitBar:Xt,SwipeCell:an,Switch:en,Tab:on,Tabbar:gn,Tag:bn,Toast:xn,Transition:zn,TreeSelect:In,Uploader:An},Un="1.10.3",Bn=navigator.userAgent.toLowerCase(),Vn=/ios|iphone|ipod|ipad|android/.test(Bn);function Gn(a,s="-"){return a.replace(/([a-z\d])([A-Z])/g,"$1"+s+"$2").replace(/([A-Z])([A-Z][a-z\d]+)/g,"$1"+s+"$2").toLowerCase()}function On(a){const s=document.createElement("textarea");s.value=a,s.setAttribute("readonly",""),s.style.position="absolute",s.style.left="-9999px",document.body.appendChild(s);const n=document.getSelection();if(!n)return;const l=n.rangeCount>0?n.getRangeAt(0):!1;s.select(),document.execCommand("copy"),document.body.removeChild(s),l&&(n.removeAllRanges(),n.addRange(l))}const u="zh-CN",Fn="en-US",g="vant-cli-lang";let o=u;function Mn(){return o}function Wn(a){o=a,localStorage.setItem(g,a)}function Hn(a){const s=localStorage.getItem(g);if(s){o=s;return}if(navigator.language&&navigator.language.indexOf("zh-")!==-1){o=u;return}o=a||Fn}let i=[],j=!1;function Nn(a){j?a():i.push(a)}window.top===window?window.addEventListener("message",a=>{a.data.type==="iframeReady"&&(j=!0,i.forEach(s=>s()),i=[])}):window.top.postMessage({type:"iframeReady"},"*");function m(){var n,l;const a=window.vueRouter,{path:s}=a.currentRoute.value;return(n=h.site.simulator)!=null&&n.routeMapper?(l=h.site.simulator)==null?void 0:l.routeMapper(s):s}function Kn(){window.top.postMessage({type:"replacePath",value:m()},"*")}function Qn(){const a=document.querySelector("iframe");a&&Nn(()=>{a.contentWindow.postMessage({type:"replacePath",value:m()},"*")})}function Jn(a){window.addEventListener("message",s=>{var l,t;if(((l=s.data)==null?void 0:l.type)!=="replacePath")return;const n=((t=s.data)==null?void 0:t.value)||"";a.currentRoute.value.path!==n&&a.replace(n).catch(()=>{})})}export{Ln as _,h as a,Hn as b,On as c,Rn as d,Qn as e,Gn as f,Mn as g,Kn as h,Vn as i,Jn as l,Un as p,Wn as s}; diff --git a/assets/main.633b5278.js b/assets/main.633b5278.js deleted file mode 100644 index 2ab0ad84..00000000 --- a/assets/main.633b5278.js +++ /dev/null @@ -1,19 +0,0 @@ -var Hr=Object.defineProperty,Lr=Object.defineProperties;var Rr=Object.getOwnPropertyDescriptors;var xt=Object.getOwnPropertySymbols;var Mr=Object.prototype.hasOwnProperty,qr=Object.prototype.propertyIsEnumerable;var Tt=(e,t,n)=>t in e?Hr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Ht=(e,t)=>{for(var n in t||(t={}))Mr.call(t,n)&&Tt(e,n,t[n]);if(xt)for(var n of xt(t))qr.call(t,n)&&Tt(e,n,t[n]);return e},Lt=(e,t)=>Lr(e,Rr(t));import{_ as B,p as Vr,c as Q,s as Ur,i as Fr,a as $r,l as Br,d as qe,b as zr,e as Rt,g as Wr}from"./iframe-router.0e61c9e3.js";import{c as Ve,n as le,a as C,r as z,o as k,F as Ee,b as Ue,d as H,t as se,e as oe,f as ee,g as Mt,h as Kr,w as Fe,T as Jr,i as Pe,j as Qr,v as Yr,p as Gr,k as Zr,l as Xr,m as eo,q as to,s as no}from"./vue-libs.67be768b.js";const ro={name:"VanDocNavLink",props:{base:String,item:Object},computed:{itemName(){const e=(this.item.title||this.item.name).split(" ");return`${e[0]} ${e.slice(1).join(" ")}`},path(){return`${this.base}${this.item.path}`},active(){return this.$route.path===this.path?!0:this.item.path==="home"?this.$route.path===this.base:!1}},watch:{active(){this.scrollIntoView()}},mounted(){this.scrollIntoView()},methods:{scrollIntoView(){this.active&&this.$el&&this.$el.scrollIntoViewIfNeeded&&this.$el.scrollIntoViewIfNeeded()}}},oo=["href","innerHTML"],ao=["innerHTML"];function io(e,t,n,r,o,a){const i=z("router-link");return n.item.path?(k(),Ve(i,{key:0,class:le({active:a.active}),to:a.path,innerHTML:a.itemName},null,8,["class","to","innerHTML"])):n.item.link?(k(),C("a",{key:1,href:n.item.link,innerHTML:a.itemName},null,8,oo)):(k(),C("a",{key:2,innerHTML:a.itemName},null,8,ao))}var qt=B(ro,[["render",io]]);const co={name:"VanDocNav",components:{[qt.name]:qt},props:{lang:String,navConfig:Array},data(){return{top:64,bottom:0}},computed:{style(){return{top:this.top+"px",bottom:this.bottom+"px"}},base(){return this.lang?`/${this.lang}/`:"/"}},created(){window.addEventListener("scroll",this.onScroll),this.onScroll()},methods:{onScroll(){const{pageYOffset:e}=window;this.top=Math.max(0,64-e)}}},uo={class:"van-doc-nav__title"};function lo(e,t,n,r,o,a){const i=z("van-doc-nav-link");return k(),C("div",{class:"van-doc-nav",style:Mt(a.style)},[(k(!0),C(Ee,null,Ue(n.navConfig,(c,f)=>(k(),C("div",{class:"van-doc-nav__group",key:f},[H("div",uo,se(c.title),1),c.items?(k(!0),C(Ee,{key:0},Ue(c.items,(s,u)=>(k(),C("div",{key:u,class:"van-doc-nav__item"},[oe(i,{item:s,base:a.base},null,8,["item","base"])]))),128)):ee("v-if",!0)]))),128))],4)}var so=B(co,[["render",lo]]);/*! @docsearch/js 3.0.0-alpha.41 | MIT License | © Algolia, Inc. and contributors | https://docsearch.algolia.com */function Vt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function j(e){for(var t=1;t=0||(u[f]=i[f]);return u}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function Be(e,t){return function(n){if(Array.isArray(n))return n}(e)||function(n,r){var o=n==null?null:typeof Symbol!="undefined"&&n[Symbol.iterator]||n["@@iterator"];if(o!=null){var a,i,c=[],f=!0,s=!1;try{for(o=o.call(n);!(f=(a=o.next()).done)&&(c.push(a.value),!r||c.length!==r);f=!0);}catch(u){s=!0,i=u}finally{try{f||o.return==null||o.return()}finally{if(s)throw i}}return c}}(e,t)||Ft(e,t)||function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function ze(e){return function(t){if(Array.isArray(t))return lt(t)}(e)||function(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}(e)||Ft(e)||function(){throw new TypeError(`Invalid attempt to spread non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function Ft(e,t){if(e){if(typeof e=="string")return lt(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?lt(e,t):void 0}}function lt(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n3)for(n=[n],a=3;a0?ke(m.type,m.props,m.key,null,m.__v):m)!=null){if(m.__=n,m.__b=n.__b+1,(h=_[u])===null||h&&m.key==h.key&&m.type===h.type)_[u]=void 0;else for(d=0;d3)for(n=[n],a=3;a=n.__.length&&n.__.push({}),n.__[e]}function fn(e,t,n){var r=De(fe++,2);return r.t=e,r.__c||(r.__=[n?n(t):hn(void 0,t),function(o){var a=r.t(r.__[0],o);r.__[0]!==a&&(r.__=[a,r.__[1]],r.__c.setState({}))}],r.__c=M),r.__}function mn(e,t){var n=De(fe++,4);!y.__s&&dt(n.__H,t)&&(n.__=e,n.__H=t,M.__h.push(n))}function Qe(e,t){var n=De(fe++,7);return dt(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function go(){pt.forEach(function(e){if(e.__P)try{e.__H.__h.forEach(Ye),e.__H.__h.forEach(ht),e.__H.__h=[]}catch(t){e.__H.__h=[],y.__e(t,e.__v)}}),pt=[]}y.__b=function(e){M=null,an&&an(e)},y.__r=function(e){cn&&cn(e),fe=0;var t=(M=e.__c).__H;t&&(t.__h.forEach(Ye),t.__h.forEach(ht),t.__h=[])},y.diffed=function(e){un&&un(e);var t=e.__c;t&&t.__H&&t.__H.__h.length&&(pt.push(t)!==1&&on===y.requestAnimationFrame||((on=y.requestAnimationFrame)||function(n){var r,o=function(){clearTimeout(a),pn&&cancelAnimationFrame(r),setTimeout(n)},a=setTimeout(o,100);pn&&(r=requestAnimationFrame(o))})(go)),M=void 0},y.__c=function(e,t){t.some(function(n){try{n.__h.forEach(Ye),n.__h=n.__h.filter(function(r){return!r.__||ht(r)})}catch(r){t.some(function(o){o.__h&&(o.__h=[])}),t=[],y.__e(r,n.__v)}}),ln&&ln(e,t)},y.unmount=function(e){sn&&sn(e);var t=e.__c;if(t&&t.__H)try{t.__H.__.forEach(Ye)}catch(n){y.__e(n,t.__v)}};var pn=typeof requestAnimationFrame=="function";function Ye(e){var t=M;typeof e.__c=="function"&&e.__c(),M=t}function ht(e){var t=M;e.__c=e.__(),M=t}function dt(e,t){return!e||e.length!==t.length||t.some(function(n,r){return n!==e[r]})}function hn(e,t){return typeof t=="function"?t(e):t}function dn(e,t){for(var n in t)e[n]=t[n];return e}function vt(e,t){for(var n in e)if(n!=="__source"&&!(n in t))return!0;for(var r in t)if(r!=="__source"&&e[r]!==t[r])return!0;return!1}function _t(e){this.props=e}(_t.prototype=new K).isPureReactComponent=!0,_t.prototype.shouldComponentUpdate=function(e,t){return vt(this.props,e)||vt(this.state,t)};var vn=y.__b;y.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),vn&&vn(e)};var yo=typeof Symbol!="undefined"&&Symbol.for&&Symbol.for("react.forward_ref")||3911,_n=function(e,t){return e==null?null:G(G(e).map(t))},bo={map:_n,forEach:_n,count:function(e){return e?G(e).length:0},only:function(e){var t=G(e);if(t.length!==1)throw"Children.only";return t[0]},toArray:G},Oo=y.__e;function Ge(){this.__u=0,this.t=null,this.__b=null}function gn(e){var t=e.__.__c;return t&&t.__e&&t.__e(e)}function Ne(){this.u=null,this.o=null}y.__e=function(e,t,n){if(e.then){for(var r,o=t;o=o.__;)if((r=o.__c)&&r.__c)return t.__e==null&&(t.__e=n.__e,t.__k=n.__k),r.__c(e,t)}Oo(e,t,n)},(Ge.prototype=new K).__c=function(e,t){var n=t.__c,r=this;r.t==null&&(r.t=[]),r.t.push(n);var o=gn(r.__v),a=!1,i=function(){a||(a=!0,n.componentWillUnmount=n.__c,o?o(c):c())};n.__c=n.componentWillUnmount,n.componentWillUnmount=function(){i(),n.__c&&n.__c()};var c=function(){if(!--r.__u){if(r.state.__e){var s=r.state.__e;r.__v.__k[0]=function d(h,m,v){return h&&(h.__v=null,h.__k=h.__k&&h.__k.map(function(p){return d(p,m,v)}),h.__c&&h.__c.__P===m&&(h.__e&&v.insertBefore(h.__e,h.__d),h.__c.__e=!0,h.__c.__P=v)),h}(s,s.__c.__P,s.__c.__O)}var u;for(r.setState({__e:r.__b=null});u=r.t.pop();)u.forceUpdate()}},f=t.__h===!0;r.__u++||f||r.setState({__e:r.__b=r.__v.__k[0]}),e.then(i,i)},Ge.prototype.componentWillUnmount=function(){this.t=[]},Ge.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=function a(i,c,f){return i&&(i.__c&&i.__c.__H&&(i.__c.__H.__.forEach(function(s){typeof s.__c=="function"&&s.__c()}),i.__c.__H=null),(i=dn({},i)).__c!=null&&(i.__c.__P===f&&(i.__c.__P=c),i.__c=null),i.__k=i.__k&&i.__k.map(function(s){return a(s,c,f)})),i}(this.__b,n,r.__O=r.__P)}this.__b=null}var o=t.__e&&W(te,null,e.fallback);return o&&(o.__h=null),[W(te,null,t.__e?null:e.children),o]};var yn=function(e,t,n){if(++n[1]===n[0]&&e.o.delete(t),e.props.revealOrder&&(e.props.revealOrder[0]!=="t"||!e.o.size))for(n=e.u;n;){for(;n.length>3;)n.pop()();if(n[1]>>1,1),t.i.removeChild(r)}}),Ce(W(So,{context:t.context},e.__v),t.l)):t.l&&t.componentWillUnmount()}function bn(e,t){return W(wo,{__v:e,i:t})}(Ne.prototype=new K).__e=function(e){var t=this,n=gn(t.__v),r=t.o.get(e);return r[0]++,function(o){var a=function(){t.props.revealOrder?(r.push(o),yn(t,e,r)):o()};n?n(a):a()}},Ne.prototype.render=function(e){this.u=null,this.o=new Map;var t=G(e.children);e.revealOrder&&e.revealOrder[0]==="b"&&t.reverse();for(var n=t.length;n--;)this.o.set(t[n],this.u=[1,0,this.u]);return e.children},Ne.prototype.componentDidUpdate=Ne.prototype.componentDidMount=function(){var e=this;this.o.forEach(function(t,n){yn(e,n,t)})};var On=typeof Symbol!="undefined"&&Symbol.for&&Symbol.for("react.element")||60103,Eo=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|fill|flood|font|glyph(?!R)|horiz|marker(?!H|W|U)|overline|paint|stop|strikethrough|stroke|text(?!L)|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,Po=function(e){return(typeof Symbol!="undefined"&&$e(Symbol())=="symbol"?/fil|che|rad/i:/fil|che|ra/i).test(e)};function Sn(e,t,n){return t.__k==null&&(t.textContent=""),Ce(e,t),typeof n=="function"&&n(),e?e.__c:null}K.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(K.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var wn=y.event;function jo(){}function ko(){return this.cancelBubble}function Io(){return this.defaultPrevented}y.event=function(e){return wn&&(e=wn(e)),e.persist=jo,e.isPropagationStopped=ko,e.isDefaultPrevented=Io,e.nativeEvent=e};var En,Pn={configurable:!0,get:function(){return this.class}},jn=y.vnode;y.vnode=function(e){var t=e.type,n=e.props,r=n;if(typeof t=="string"){for(var o in r={},n){var a=n[o];o==="value"&&"defaultValue"in n&&a==null||(o==="defaultValue"&&"value"in n&&n.value==null?o="value":o==="download"&&a===!0?a="":/ondoubleclick/i.test(o)?o="ondblclick":/^onchange(textarea|input)/i.test(o+t)&&!Po(n.type)?o="oninput":/^on(Ani|Tra|Tou|BeforeInp)/.test(o)?o=o.toLowerCase():Eo.test(o)?o=o.replace(/[A-Z0-9]/,"-$&").toLowerCase():a===null&&(a=void 0),r[o]=a)}t=="select"&&r.multiple&&Array.isArray(r.value)&&(r.value=G(n.children).forEach(function(i){i.props.selected=r.value.indexOf(i.props.value)!=-1})),t=="select"&&r.defaultValue!=null&&(r.value=G(n.children).forEach(function(i){i.props.selected=r.multiple?r.defaultValue.indexOf(i.props.value)!=-1:r.defaultValue==i.props.value})),e.props=r}t&&n.class!=n.className&&(Pn.enumerable="className"in n,n.className!=null&&(r.class=n.className),Object.defineProperty(r,"className",Pn)),e.$$typeof=On,jn&&jn(e)};var kn=y.__r;y.__r=function(e){kn&&kn(e),En=e.__c};var Co={ReactCurrentDispatcher:{current:{readContext:function(e){return En.__n[e.__c].props.value}}}};(typeof performance=="undefined"?"undefined":$e(performance))=="object"&&typeof performance.now=="function"&&performance.now.bind(performance);function In(e){return!!e&&e.$$typeof===On}var l={useState:function(e){return me=1,fn(hn,e)},useReducer:fn,useEffect:function(e,t){var n=De(fe++,3);!y.__s&&dt(n.__H,t)&&(n.__=e,n.__H=t,M.__H.__h.push(n))},useLayoutEffect:mn,useRef:function(e){return me=5,Qe(function(){return{current:e}},[])},useImperativeHandle:function(e,t,n){me=6,mn(function(){typeof e=="function"?e(t()):e&&(e.current=t())},n==null?n:n.concat(e))},useMemo:Qe,useCallback:function(e,t){return me=8,Qe(function(){return e},t)},useContext:function(e){var t=M.context[e.__c],n=De(fe++,9);return n.__c=e,t?(n.__==null&&(n.__=!0,t.sub(M)),t.props.value):e.__},useDebugValue:function(e,t){y.useDebugValue&&y.useDebugValue(t?t(e):e)},version:"16.8.0",Children:bo,render:Sn,hydrate:function(e,t,n){return rn(e,t),typeof n=="function"&&n(),e?e.__c:null},unmountComponentAtNode:function(e){return!!e.__k&&(Ce(null,e),!0)},createPortal:bn,createElement:W,createContext:function(e,t){var n={__c:t="__cC"+zt++,__:e,Consumer:function(r,o){return r.children(o)},Provider:function(r){var o,a;return this.getChildContext||(o=[],(a={})[t]=this,this.getChildContext=function(){return a},this.shouldComponentUpdate=function(i){this.props.value!==i.value&&o.some(ft)},this.sub=function(i){o.push(i);var c=i.componentWillUnmount;i.componentWillUnmount=function(){o.splice(o.indexOf(i),1),c&&c.call(i)}}),r.children}};return n.Provider.__=n.Consumer.contextType=n},createFactory:function(e){return W.bind(null,e)},cloneElement:function(e){return In(e)?_o.apply(null,arguments):e},createRef:function(){return{current:null}},Fragment:te,isValidElement:In,findDOMNode:function(e){return e&&(e.base||e.nodeType===1&&e)||null},Component:K,PureComponent:_t,memo:function(e,t){function n(o){var a=this.props.ref,i=a==o.ref;return!i&&a&&(a.call?a(null):a.current=null),t?!t(this.props,o)||!i:vt(this.props,o)}function r(o){return this.shouldComponentUpdate=n,W(e,o)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r},forwardRef:function(e){function t(n,r){var o=dn({},n);return delete o.ref,e(o,(r=n.ref||r)&&($e(r)!="object"||"current"in r)?r:null)}return t.$$typeof=yo,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t},unstable_batchedUpdates:function(e,t){return e(t)},StrictMode:te,Suspense:Ge,SuspenseList:Ne,lazy:function(e){var t,n,r;function o(a){if(t||(t=e()).then(function(i){n=i.default||i},function(i){r=i}),r)throw r;if(!n)throw t;return W(n,a)}return o.displayName="Lazy",o.__f=!0,o},__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Co};function Do(){return l.createElement("svg",{width:"15",height:"15",className:"DocSearch-Control-Key-Icon"},l.createElement("path",{d:"M4.505 4.496h2M5.505 5.496v5M8.216 4.496l.055 5.993M10 7.5c.333.333.5.667.5 1v2M12.326 4.5v5.996M8.384 4.496c1.674 0 2.116 0 2.116 1.5s-.442 1.5-2.116 1.5M3.205 9.303c-.09.448-.277 1.21-1.241 1.203C1 10.5.5 9.513.5 8V7c0-1.57.5-2.5 1.464-2.494.964.006 1.134.598 1.24 1.342M12.553 10.5h1.953",strokeWidth:"1.2",stroke:"currentColor",fill:"none",strokeLinecap:"square"}))}function Cn(){return l.createElement("svg",{width:"20",height:"20",className:"DocSearch-Search-Icon",viewBox:"0 0 20 20"},l.createElement("path",{d:"M14.386 14.386l4.0877 4.0877-4.0877-4.0877c-2.9418 2.9419-7.7115 2.9419-10.6533 0-2.9419-2.9418-2.9419-7.7115 0-10.6533 2.9418-2.9419 7.7115-2.9419 10.6533 0 2.9419 2.9418 2.9419 7.7115 0 10.6533z",stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round"}))}function Dn(){return(Dn=Object.assign||function(e){for(var t=1;t=0||(u[f]=i[f]);return u}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var Ao=l.forwardRef(function(e,t){var n=e.translations,r=n===void 0?{}:n,o=No(e,["translations"]),a=r.buttonText,i=a===void 0?"Search":a,c=r.buttonAriaLabel,f=c===void 0?"Search":c,s=Qe(function(){return typeof navigator!="undefined"?/(Mac|iPhone|iPod|iPad)/i.test(navigator.platform)?"\u2318":"Ctrl":null},[]);return l.createElement("button",Dn({type:"button",className:"DocSearch DocSearch-Button","aria-label":f},o,{ref:t}),l.createElement("span",{className:"DocSearch-Button-Container"},l.createElement(Cn,null),l.createElement("span",{className:"DocSearch-Button-Placeholder"},i)),l.createElement("span",{className:"DocSearch-Button-Keys"},s!==null&&l.createElement(l.Fragment,null,l.createElement("span",{className:"DocSearch-Button-Key"},s==="Ctrl"?l.createElement(Do,null):s),l.createElement("span",{className:"DocSearch-Button-Key"},"K"))))}),xo=0;function gt(e){return e.collections.length===0?0:e.collections.reduce(function(t,n){return t+n.items.length},0)}function Ae(e,t){}function Nn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function To(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ho(e,t,n){var r=t.initialState;return{getState:function(){return r},dispatch:function(o,a){var i=function(c){for(var f=1;f=n?r===null?null:0:o}var Lo=function(){};function xn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function Ro(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Tn(e){return(Tn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(e)}function Mo(e,t){var n=[];return Promise.resolve(e(t)).then(function(r){return Ae(Array.isArray(r),"The `getSources` function must return an array of sources but returned type ".concat(JSON.stringify(Tn(r)),`: - -`).concat(JSON.stringify(r,null,2))),Promise.all(r.filter(function(o){return Boolean(o)}).map(function(o){if(Ae(typeof o.sourceId=="string"),n.includes(o.sourceId))throw new Error("[Autocomplete] The `sourceId` ".concat(JSON.stringify(o.sourceId)," is not unique."));n.push(o.sourceId);var a=function(i){for(var c=1;ce.length)&&(t=e.length);for(var n=0,r=new Array(t);ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0||(u[f]=i[f]);return u}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var Te=null;function de(e){var t=e.event,n=e.nextState,r=n===void 0?{}:n,o=e.props,a=e.query,i=e.refresh,c=e.store,f=Qo(e,["event","nextState","props","query","refresh","store"]);Te&&o.environment.clearTimeout(Te);var s,u=f.setCollections,d=f.setIsOpen,h=f.setQuery,m=f.setActiveItemId,v=f.setStatus;return h(a),m(o.defaultActiveItemId),a||o.openOnFocus!==!1?(v("loading"),Te=o.environment.setTimeout(function(){v("stalled")},o.stallThreshold),o.getSources(xe({query:a,refresh:i,state:c.getState()},f)).then(function(p){return v("loading"),Promise.all(p.map(function(g){return Promise.resolve(g.getItems(xe({query:a,refresh:i,state:c.getState()},f))).then(function(_){return zo(_,g.sourceId)})})).then(Wo).then(function(g){return Ko(g,p)}).then(function(g){var _;v("idle"),u(g);var b=o.shouldPanelOpen({state:c.getState()});d((_=r.isOpen)!==null&&_!==void 0?_:o.openOnFocus&&!a&&b||b);var S=pe(c.getState());if(c.getState().activeItemId!==null&&S){var O=S.item,w=S.itemInputValue,D=S.itemUrl,N=S.source;N.onActive(xe({event:t,item:O,itemInputValue:w,itemUrl:D,refresh:i,source:N,state:c.getState()},f))}}).finally(function(){Te&&o.environment.clearTimeout(Te)})})):(v("idle"),u(c.getState().collections.map(function(p){return xe(xe({},p),{},{items:[]})})),d((s=r.isOpen)!==null&&s!==void 0?s:o.shouldPanelOpen({state:c.getState()})),Promise.resolve())}function $n(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function ae(e){for(var t=1;t=0||(u[f]=i[f]);return u}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function Bn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function R(e){for(var t=1;t=0||(u[f]=i[f]);return u}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function Xo(e){var t=e.props,n=e.refresh,r=e.store,o=He(e,["props","refresh","store"]);return{getEnvironmentProps:function(a){var i=a.inputElement,c=a.formElement,f=a.panelElement;return R({onTouchStart:function(s){r.getState().isOpen!==!1&&s.target!==i&&[c,f].some(function(u){return Hn(u,s.target)||Hn(u,t.environment.document.activeElement)})===!1&&r.dispatch("blur",null)},onTouchMove:function(s){r.getState().isOpen!==!1&&i===t.environment.document.activeElement&&s.target!==i&&i.blur()}},He(a,["inputElement","formElement","panelElement"]))},getRootProps:function(a){return R({role:"combobox","aria-expanded":r.getState().isOpen,"aria-haspopup":"listbox","aria-owns":r.getState().isOpen?"".concat(t.id,"-list"):void 0,"aria-labelledby":"".concat(t.id,"-label")},a)},getFormProps:function(a){return a.inputElement,R({action:"",noValidate:!0,role:"search",onSubmit:function(i){var c;i.preventDefault(),t.onSubmit(R({event:i,refresh:n,state:r.getState()},o)),r.dispatch("submit",null),(c=a.inputElement)===null||c===void 0||c.blur()},onReset:function(i){var c;i.preventDefault(),t.onReset(R({event:i,refresh:n,state:r.getState()},o)),r.dispatch("reset",null),(c=a.inputElement)===null||c===void 0||c.focus()}},He(a,["inputElement"]))},getLabelProps:function(a){return R({htmlFor:"".concat(t.id,"-input"),id:"".concat(t.id,"-label")},a)},getInputProps:function(a){function i(m){(t.openOnFocus||Boolean(r.getState().query))&&de(R({event:m,props:t,query:r.getState().completion||r.getState().query,refresh:n,store:r},o)),r.dispatch("focus",null)}var c="ontouchstart"in t.environment,f=a||{},s=(f.inputElement,f.maxLength),u=s===void 0?512:s,d=He(f,["inputElement","maxLength"]),h=pe(r.getState());return R({"aria-autocomplete":"both","aria-activedescendant":r.getState().isOpen&&r.getState().activeItemId!==null?"".concat(t.id,"-item-").concat(r.getState().activeItemId):void 0,"aria-controls":r.getState().isOpen?"".concat(t.id,"-list"):void 0,"aria-labelledby":"".concat(t.id,"-label"),value:r.getState().completion||r.getState().query,id:"".concat(t.id,"-input"),autoComplete:"off",autoCorrect:"off",autoCapitalize:"off",enterKeyHint:h!=null&&h.itemUrl?"go":"search",spellCheck:"false",autoFocus:t.autoFocus,placeholder:t.placeholder,maxLength:u,type:"search",onChange:function(m){de(R({event:m,props:t,query:m.currentTarget.value.slice(0,u),refresh:n,store:r},o))},onKeyDown:function(m){(function(v){var p=v.event,g=v.props,_=v.refresh,b=v.store,S=Go(v,["event","props","refresh","store"]);if(p.key==="ArrowUp"||p.key==="ArrowDown"){var O=function(){var L=g.environment.document.getElementById("".concat(g.id,"-item-").concat(b.getState().activeItemId));L&&(L.scrollIntoViewIfNeeded?L.scrollIntoViewIfNeeded(!1):L.scrollIntoView(!1))},w=function(){var L=pe(b.getState());if(b.getState().activeItemId!==null&&L){var Re=L.item,ge=L.itemInputValue,Me=L.itemUrl,ne=L.source;ne.onActive(ae({event:p,item:Re,itemInputValue:ge,itemUrl:Me,refresh:_,source:ne,state:b.getState()},S))}};p.preventDefault(),b.getState().isOpen===!1&&(g.openOnFocus||Boolean(b.getState().query))?de(ae({event:p,props:g,query:b.getState().query,refresh:_,store:b},S)).then(function(){b.dispatch(p.key,{nextActiveItemId:g.defaultActiveItemId}),w(),setTimeout(O,0)}):(b.dispatch(p.key,{}),w(),O())}else if(p.key==="Escape")p.preventDefault(),b.dispatch(p.key,null);else if(p.key==="Enter"){if(b.getState().activeItemId===null||b.getState().collections.every(function(L){return L.items.length===0}))return;p.preventDefault();var D=pe(b.getState()),N=D.item,F=D.itemInputValue,x=D.itemUrl,T=D.source;if(p.metaKey||p.ctrlKey)x!==void 0&&(T.onSelect(ae({event:p,item:N,itemInputValue:F,itemUrl:x,refresh:_,source:T,state:b.getState()},S)),g.navigator.navigateNewTab({itemUrl:x,item:N,state:b.getState()}));else if(p.shiftKey)x!==void 0&&(T.onSelect(ae({event:p,item:N,itemInputValue:F,itemUrl:x,refresh:_,source:T,state:b.getState()},S)),g.navigator.navigateNewWindow({itemUrl:x,item:N,state:b.getState()}));else if(!p.altKey){if(x!==void 0)return T.onSelect(ae({event:p,item:N,itemInputValue:F,itemUrl:x,refresh:_,source:T,state:b.getState()},S)),void g.navigator.navigate({itemUrl:x,item:N,state:b.getState()});de(ae({event:p,nextState:{isOpen:!1},props:g,query:F,refresh:_,store:b},S)).then(function(){T.onSelect(ae({event:p,item:N,itemInputValue:F,itemUrl:x,refresh:_,source:T,state:b.getState()},S))})}}})(R({event:m,props:t,refresh:n,store:r},o))},onFocus:i,onBlur:function(){c||r.dispatch("blur",null)},onClick:function(m){a.inputElement!==t.environment.document.activeElement||r.getState().isOpen||i(m)}},d)},getPanelProps:function(a){return R({onMouseDown:function(i){i.preventDefault()},onMouseLeave:function(){r.dispatch("mouseleave",null)}},a)},getListProps:function(a){return R({role:"listbox","aria-labelledby":"".concat(t.id,"-label"),id:"".concat(t.id,"-list")},a)},getItemProps:function(a){var i=a.item,c=a.source,f=He(a,["item","source"]);return R({id:"".concat(t.id,"-item-").concat(i.__autocomplete_id),role:"option","aria-selected":r.getState().activeItemId===i.__autocomplete_id,onMouseMove:function(s){if(i.__autocomplete_id!==r.getState().activeItemId){r.dispatch("mousemove",i.__autocomplete_id);var u=pe(r.getState());if(r.getState().activeItemId!==null&&u){var d=u.item,h=u.itemInputValue,m=u.itemUrl,v=u.source;v.onActive(R({event:s,item:d,itemInputValue:h,itemUrl:m,refresh:n,source:v,state:r.getState()},o))}}},onMouseDown:function(s){s.preventDefault()},onClick:function(s){var u=c.getItemInputValue({item:i,state:r.getState()}),d=c.getItemUrl({item:i,state:r.getState()});(d?Promise.resolve():de(R({event:s,nextState:{isOpen:!1},props:t,query:u,refresh:n,store:r},o))).then(function(){c.onSelect(R({event:s,item:i,itemInputValue:u,itemUrl:d,refresh:n,source:c,state:r.getState()},o))})}},f)}}}function zn(e){var t,n=e.state;return n.isOpen===!1||n.activeItemId===null?null:((t=pe(n))===null||t===void 0?void 0:t.itemInputValue)||null}function Wn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function E(e){for(var t=1;t0}},c),{},{id:(s=c.id)!==null&&s!==void 0?s:"autocomplete-".concat(xo++),plugins:d,initialState:he({activeItemId:null,query:"",completion:null,collections:[],isOpen:!1,status:"idle",context:{}},c.initialState),onStateChange:function(h){var m;(m=c.onStateChange)===null||m===void 0||m.call(c,h),d.forEach(function(v){var p;return(p=v.onStateChange)===null||p===void 0?void 0:p.call(v,h)})},onSubmit:function(h){var m;(m=c.onSubmit)===null||m===void 0||m.call(c,h),d.forEach(function(v){var p;return(p=v.onSubmit)===null||p===void 0?void 0:p.call(v,h)})},onReset:function(h){var m;(m=c.onReset)===null||m===void 0||m.call(c,h),d.forEach(function(v){var p;return(p=v.onReset)===null||p===void 0?void 0:p.call(v,h)})},getSources:function(h){return Promise.all([].concat(Uo(d.map(function(m){return m.getSources})),[c.getSources]).filter(Boolean).map(function(m){return Mo(m,h)})).then(function(m){return yt(m)}).then(function(m){return m.map(function(v){return he(he({},v),{},{onSelect:function(p){v.onSelect(p),f.forEach(function(g){var _;return(_=g.onSelect)===null||_===void 0?void 0:_.call(g,p)})},onActive:function(p){v.onActive(p),f.forEach(function(g){var _;return(_=g.onActive)===null||_===void 0?void 0:_.call(g,p)})}})})})},navigator:he({navigate:function(h){var m=h.itemUrl;u.location.assign(m)},navigateNewTab:function(h){var m=h.itemUrl,v=u.open(m,"_blank","noopener");v==null||v.focus()},navigateNewWindow:function(h){var m=h.itemUrl;u.open(m,"_blank","noopener")}},c.navigator)})}(e,t),r=Ho(ta,n,function(c){var f=c.prevState,s=c.state;n.onStateChange(ie({prevState:f,state:s,refresh:i},o))}),o=function(c){var f=c.store;return{setActiveItemId:function(s){f.dispatch("setActiveItemId",s)},setQuery:function(s){f.dispatch("setQuery",s)},setCollections:function(s){var u=0,d=s.map(function(h){return Xe(Xe({},h),{},{items:yt(h.items).map(function(m){return Xe(Xe({},m),{},{__autocomplete_id:u++})})})});f.dispatch("setCollections",d)},setIsOpen:function(s){f.dispatch("setIsOpen",s)},setStatus:function(s){f.dispatch("setStatus",s)},setContext:function(s){f.dispatch("setContext",s)}}}({store:r}),a=Xo(ie({props:n,refresh:i,store:r},o));function i(){return de(ie({event:new Event("input"),nextState:{isOpen:r.getState().isOpen},props:n,query:r.getState().query,refresh:i,store:r},o))}return n.plugins.forEach(function(c){var f;return(f=c.subscribe)===null||f===void 0?void 0:f.call(c,ie(ie({},o),{},{refresh:i,onSelect:function(s){t.push({onSelect:s})},onActive:function(s){t.push({onActive:s})}}))}),ie(ie({refresh:i},a),o)}function oa(){return l.createElement("a",{href:"https://www.algolia.com/docsearch",target:"_blank",rel:"noopener noreferrer"},l.createElement("span",{className:"DocSearch-Label"},"Search by"),l.createElement("svg",{width:"77",height:"19"},l.createElement("path",{d:"M2.5067 0h14.0245c1.384.001 2.5058 1.1205 2.5068 2.5017V16.5c-.0014 1.3808-1.1232 2.4995-2.5068 2.5H2.5067C1.1232 18.9995.0014 17.8808 0 16.5V2.4958A2.495 2.495 0 01.735.7294 2.505 2.505 0 012.5068 0zM37.95 15.0695c-3.7068.0168-3.7068-2.986-3.7068-3.4634L34.2372.3576 36.498 0v11.1794c0 .2715 0 1.9889 1.452 1.994v1.8961zm-9.1666-1.8388c.694 0 1.2086-.0397 1.5678-.1088v-2.2934a5.3639 5.3639 0 00-1.3303-.1679 4.8283 4.8283 0 00-.758.0582 2.2845 2.2845 0 00-.688.2024c-.2029.0979-.371.2362-.4919.4142-.1268.1788-.185.2826-.185.5533 0 .5297.185.8359.5205 1.0375.3355.2016.7928.3053 1.365.3053v-.0008zm-.1969-8.1817c.7463 0 1.3768.092 1.8856.2767.5088.1838.9195.4428 1.2204.7717.3068.334.5147.7777.6423 1.251.1327.4723.196.991.196 1.5603v5.798c-.5235.1036-1.05.192-1.5787.2649-.7048.1037-1.4976.156-2.3774.156-.5832 0-1.1215-.0582-1.6016-.167a3.385 3.385 0 01-1.2432-.5364 2.6034 2.6034 0 01-.8037-.9565c-.191-.3922-.29-.9447-.29-1.5208 0-.5533.11-.905.3246-1.2863a2.7351 2.7351 0 01.8849-.9329c.376-.242.8029-.415 1.2948-.5187a7.4517 7.4517 0 011.5381-.156 7.1162 7.1162 0 011.6667.2024V8.886c0-.259-.0296-.5061-.093-.7372a1.5847 1.5847 0 00-.3245-.6158 1.5079 1.5079 0 00-.6119-.4158 2.6788 2.6788 0 00-.966-.173c-.5206 0-.9948.0634-1.4283.1384a6.5481 6.5481 0 00-1.065.259l-.2712-1.849c.2831-.0986.7048-.1964 1.2491-.2943a9.2979 9.2979 0 011.752-.1501v.0008zm44.6597 8.1193c.6947 0 1.2086-.0405 1.567-.1097v-2.2942a5.3743 5.3743 0 00-1.3303-.1679c-.2485 0-.503.0177-.7573.0582a2.2853 2.2853 0 00-.688.2024 1.2333 1.2333 0 00-.4918.4142c-.1268.1788-.1843.2826-.1843.5533 0 .5297.1843.8359.5198 1.0375.3414.2066.7927.3053 1.365.3053v.0009zm-.191-8.1767c.7463 0 1.3768.0912 1.8856.2759.5087.1847.9195.4436 1.2204.7717.3.329.5147.7786.6414 1.251a5.7248 5.7248 0 01.197 1.562v5.7972c-.3466.0742-.874.1602-1.5788.2648-.7049.1038-1.4976.1552-2.3774.1552-.5832 0-1.1215-.0573-1.6016-.167a3.385 3.385 0 01-1.2432-.5356 2.6034 2.6034 0 01-.8038-.9565c-.191-.3922-.2898-.9447-.2898-1.5216 0-.5533.1098-.905.3245-1.2854a2.7373 2.7373 0 01.8849-.9338c.376-.2412.8029-.4141 1.2947-.5178a7.4545 7.4545 0 012.325-.1097c.2781.0287.5672.081.879.156v-.3686a2.7781 2.7781 0 00-.092-.738 1.5788 1.5788 0 00-.3246-.6166 1.5079 1.5079 0 00-.612-.415 2.6797 2.6797 0 00-.966-.1729c-.5205 0-.9947.0633-1.4282.1384a6.5608 6.5608 0 00-1.065.259l-.2712-1.8498c.283-.0979.7048-.1957 1.2491-.2935a9.8597 9.8597 0 011.752-.1494zm-6.79-1.072c-.7576.001-1.373-.6103-1.3759-1.3664 0-.755.6128-1.3664 1.376-1.3664.764 0 1.3775.6115 1.3775 1.3664s-.6195 1.3664-1.3776 1.3664zm1.1393 11.1507h-2.2726V5.3409l2.2734-.3568v10.0845l-.0008.0017zm-3.984 0c-3.707.0168-3.707-2.986-3.707-3.4642L59.7069.3576 61.9685 0v11.1794c0 .2715 0 1.9889 1.452 1.994V15.0703zm-7.3512-4.979c0-.975-.2138-1.7873-.6305-2.3516-.4167-.571-.9998-.852-1.747-.852-.7454 0-1.3302.281-1.7452.852-.4166.5702-.6195 1.3765-.6195 2.3516 0 .9851.208 1.6473.6254 2.2183.4158.576.9998.8587 1.7461.8587.7454 0 1.3303-.2885 1.747-.8595.4158-.5761.6237-1.2315.6237-2.2184v.0009zm2.3132-.006c0 .7609-.1099 1.3361-.3356 1.9654a4.654 4.654 0 01-.9533 1.6076A4.214 4.214 0 0155.613 14.69c-.579.2412-1.4697.3795-1.9143.3795-.4462-.005-1.3303-.1324-1.9033-.3795a4.307 4.307 0 01-1.474-1.0316c-.4115-.4445-.7293-.9801-.9609-1.6076a5.3423 5.3423 0 01-.3465-1.9653c0-.7608.104-1.493.3356-2.1155a4.683 4.683 0 01.9719-1.5958 4.3383 4.3383 0 011.479-1.0257c.5739-.242 1.2043-.3567 1.8864-.3567.6829 0 1.3125.1197 1.8906.3567a4.1245 4.1245 0 011.4816 1.0257 4.7587 4.7587 0 01.9592 1.5958c.2426.6225.3643 1.3547.3643 2.1155zm-17.0198 0c0 .9448.208 1.9932.6238 2.431.4166.4386.955.6579 1.6142.6579.3584 0 .6998-.0523 1.0176-.1502.3186-.0978.5721-.2134.775-.3517V7.0784a8.8706 8.8706 0 00-1.4926-.1906c-.8206-.0236-1.4452.312-1.8847.8468-.4335.5365-.6533 1.476-.6533 2.3516v-.0008zm6.2863 4.4485c0 1.5385-.3938 2.662-1.1866 3.3773-.791.7136-2.0005 1.0712-3.6308 1.0712-.5958 0-1.834-.1156-2.8228-.334l.3643-1.7865c.8282.173 1.9202.2193 2.4932.2193.9077 0 1.555-.1847 1.943-.5533.388-.3686.578-.916.578-1.643v-.3687a6.8289 6.8289 0 01-.8848.3349c-.3634.1096-.786.167-1.261.167-.6246 0-1.1917-.0979-1.7055-.2944a3.5554 3.5554 0 01-1.3244-.8645c-.3642-.3796-.6541-.8579-.8561-1.4289-.2028-.571-.3068-1.59-.3068-2.339 0-.7034.1099-1.5856.3245-2.1735.2198-.5871.5316-1.0949.9542-1.515.4167-.42.9255-.743 1.5213-.98a5.5923 5.5923 0 012.052-.3855c.7353 0 1.4114.092 2.0707.2024.6592.1088 1.2204.2236 1.6776.35v8.945-.0008zM11.5026 4.2418v-.6511c-.0005-.4553-.3704-.8241-.8266-.8241H8.749c-.4561 0-.826.3688-.8265.824v.669c0 .0742.0693.1264.1445.1096a6.0346 6.0346 0 011.6768-.2362 6.125 6.125 0 011.6202.2185.1116.1116 0 00.1386-.1097zm-5.2806.852l-.3296-.3282a.8266.8266 0 00-1.168 0l-.393.3922a.8199.8199 0 000 1.164l.3237.323c.0524.0515.1268.0397.1733-.0117.191-.259.3989-.507.6305-.7372.2374-.2362.48-.4437.7462-.6335.0575-.0354.0634-.1155.017-.1687zm3.5159 2.069v2.818c0 .081.0879.1392.1622.0987l2.5102-1.2964c.0574-.0287.0752-.0987.0464-.1552a3.1237 3.1237 0 00-2.603-1.574c-.0575 0-.115.0456-.115.1097l-.0008-.0009zm.0008 6.789c-2.0933.0005-3.7915-1.6912-3.7947-3.7804C5.9468 8.0821 7.6452 6.39 9.7387 6.391c2.0932-.0005 3.7911 1.6914 3.794 3.7804a3.7783 3.7783 0 01-1.1124 2.675 3.7936 3.7936 0 01-2.6824 1.1054h.0008zM9.738 4.8002c-1.9218 0-3.6975 1.0232-4.6584 2.6841a5.359 5.359 0 000 5.3683c.9609 1.661 2.7366 2.6841 4.6584 2.6841a5.3891 5.3891 0 003.8073-1.5725 5.3675 5.3675 0 001.578-3.7987 5.3574 5.3574 0 00-1.5771-3.797A5.379 5.379 0 009.7387 4.801l-.0008-.0008z",fill:"currentColor",fillRule:"evenodd"})))}function aa(){return l.createElement(l.Fragment,null,l.createElement("div",{className:"DocSearch-Logo"},l.createElement(oa,null)),l.createElement("ul",{className:"DocSearch-Commands"},l.createElement("li",null,l.createElement("span",{className:"DocSearch-Commands-Key"},l.createElement(tt,null,l.createElement("path",{d:"M12 3.53088v3c0 1-1 2-2 2H4M7 11.53088l-3-3 3-3"}))),l.createElement("span",{className:"DocSearch-Label"},"to select")),l.createElement("li",null,l.createElement("span",{className:"DocSearch-Commands-Key"},l.createElement(tt,null,l.createElement("path",{d:"M7.5 3.5v8M10.5 8.5l-3 3-3-3"}))),l.createElement("span",{className:"DocSearch-Commands-Key"},l.createElement(tt,null,l.createElement("path",{d:"M7.5 11.5v-8M10.5 6.5l-3-3-3 3"}))),l.createElement("span",{className:"DocSearch-Label"},"to navigate")),l.createElement("li",null,l.createElement("span",{className:"DocSearch-Commands-Key"},l.createElement(tt,null,l.createElement("path",{d:"M13.6167 8.936c-.1065.3583-.6883.962-1.4875.962-.7993 0-1.653-.9165-1.653-2.1258v-.5678c0-1.2548.7896-2.1016 1.653-2.1016.8634 0 1.3601.4778 1.4875 1.0724M9 6c-.1352-.4735-.7506-.9219-1.46-.8972-.7092.0246-1.344.57-1.344 1.2166s.4198.8812 1.3445.9805C8.465 7.3992 8.968 7.9337 9 8.5c.032.5663-.454 1.398-1.4595 1.398C6.6593 9.898 6 9 5.963 8.4851m-1.4748.5368c-.2635.5941-.8099.876-1.5443.876s-1.7073-.6248-1.7073-2.204v-.4603c0-1.0416.721-2.131 1.7073-2.131.9864 0 1.6425 1.031 1.5443 2.2492h-2.956"}))),l.createElement("span",{className:"DocSearch-Label"},"to close"))))}function tt(e){return l.createElement("svg",{width:"15",height:"15"},l.createElement("g",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.2"},e.children))}function ia(e){var t=e.hit,n=e.children;return l.createElement("a",{href:t.url},n)}function ca(){return l.createElement("svg",{viewBox:"0 0 38 38",stroke:"currentColor",strokeOpacity:".5"},l.createElement("g",{fill:"none",fillRule:"evenodd"},l.createElement("g",{transform:"translate(1 1)",strokeWidth:"2"},l.createElement("circle",{strokeOpacity:".3",cx:"18",cy:"18",r:"18"}),l.createElement("path",{d:"M36 18c0-9.94-8.06-18-18-18"},l.createElement("animateTransform",{attributeName:"transform",type:"rotate",from:"0 18 18",to:"360 18 18",dur:"1s",repeatCount:"indefinite"})))))}function ua(){return l.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20"},l.createElement("g",{stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round"},l.createElement("path",{d:"M3.18 6.6a8.23 8.23 0 1112.93 9.94h0a8.23 8.23 0 01-11.63 0"}),l.createElement("path",{d:"M6.44 7.25H2.55V3.36M10.45 6v5.6M10.45 11.6L13 13"})))}function St(){return l.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20"},l.createElement("path",{d:"M10 10l5.09-5.09L10 10l5.09 5.09L10 10zm0 0L4.91 4.91 10 10l-5.09 5.09L10 10z",stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round"}))}function la(){return l.createElement("svg",{className:"DocSearch-Hit-Select-Icon",width:"20",height:"20",viewBox:"0 0 20 20"},l.createElement("g",{stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round"},l.createElement("path",{d:"M18 3v4c0 2-2 4-4 4H2"}),l.createElement("path",{d:"M8 17l-6-6 6-6"})))}function sa(e){switch(e.type){case"lvl1":return l.createElement(fa,null);case"content":return l.createElement(pa,null);default:return l.createElement(ma,null)}}function fa(){return l.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20"},l.createElement("path",{d:"M17 6v12c0 .52-.2 1-1 1H4c-.7 0-1-.33-1-1V2c0-.55.42-1 1-1h8l5 5zM14 8h-3.13c-.51 0-.87-.34-.87-.87V4",stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinejoin:"round"}))}function ma(){return l.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20"},l.createElement("path",{d:"M13 13h4-4V8H7v5h6v4-4H7V8H3h4V3v5h6V3v5h4-4v5zm-6 0v4-4H3h4z",stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round"}))}function pa(){return l.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20"},l.createElement("path",{d:"M17 5H3h14zm0 5H3h14zm0 5H3h14z",stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinejoin:"round"}))}function Jn(){return l.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20"},l.createElement("path",{d:"M10 14.2L5 17l1-5.6-4-4 5.5-.7 2.5-5 2.5 5 5.6.8-4 4 .9 5.5z",stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinejoin:"round"}))}function ha(){return l.createElement("svg",{width:"40",height:"40",viewBox:"0 0 20 20",fill:"none",fillRule:"evenodd",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"},l.createElement("path",{d:"M19 4.8a16 16 0 00-2-1.2m-3.3-1.2A16 16 0 001.1 4.7M16.7 8a12 12 0 00-2.8-1.4M10 6a12 12 0 00-6.7 2M12.3 14.7a4 4 0 00-4.5 0M14.5 11.4A8 8 0 0010 10M3 16L18 2M10 18h0"}))}function da(){return l.createElement("svg",{width:"40",height:"40",viewBox:"0 0 20 20",fill:"none",fillRule:"evenodd",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"},l.createElement("path",{d:"M15.5 4.8c2 3 1.7 7-1 9.7h0l4.3 4.3-4.3-4.3a7.8 7.8 0 01-9.8 1m-2.2-2.2A7.8 7.8 0 0113.2 2.4M2 18L18 2"}))}function va(){return l.createElement("div",{className:"DocSearch-ErrorScreen"},l.createElement("div",{className:"DocSearch-Screen-Icon"},l.createElement(ha,null)),l.createElement("p",{className:"DocSearch-Title"},"Unable to fetch results"),l.createElement("p",{className:"DocSearch-Help"},"You might want to check your network connection."))}function _a(e){return function(t){if(Array.isArray(t))return wt(t)}(e)||function(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}(e)||function(t,n){if(!!t){if(typeof t=="string")return wt(t,n);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return wt(t,n)}}(e)||function(){throw new TypeError(`Invalid attempt to spread non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function wt(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&l.createElement("div",{className:"DocSearch-NoResults-Prefill-List"},l.createElement("p",{className:"DocSearch-Help"},"Try searching for:"),l.createElement("ul",null,t.slice(0,3).reduce(function(n,r){return[].concat(_a(n),[l.createElement("li",{key:r},l.createElement("button",{className:"DocSearch-Prefill",key:r,onClick:function(){e.setQuery(r.toLowerCase()+" "),e.refresh(),e.inputRef.current.focus()}},r))])},[]))),l.createElement("p",{className:"DocSearch-Help"},"Believe this query should return results?"," ",l.createElement("a",{href:"https://github.com/algolia/docsearch-configs/issues/new?template=Missing_results.md&title=[".concat(e.indexName,']+Missing+results+for+query+"').concat(e.state.query,'"'),target:"_blank",rel:"noopener noreferrer"},"Let us know"),"."))}function Qn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function Yn(e){for(var t=1;t=0||(u[f]=i[f]);return u}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function Gn(e,t){return t.split(".").reduce(function(n,r){return n&&n[r]},e)}function ve(e){var t=e.hit,n=e.attribute,r=e.tagName;return W(r===void 0?"span":r,Yn(Yn({},ba(e,["hit","attribute","tagName"])),{},{dangerouslySetInnerHTML:{__html:Gn(t,"_snippetResult.".concat(n,".value"))||Gn(t,n)}}))}function Zn(e,t){return function(n){if(Array.isArray(n))return n}(e)||function(n,r){var o=n==null?null:typeof Symbol!="undefined"&&n[Symbol.iterator]||n["@@iterator"];if(o!=null){var a,i,c=[],f=!0,s=!1;try{for(o=o.call(n);!(f=(a=o.next()).done)&&(c.push(a.value),!r||c.length!==r);f=!0);}catch(u){s=!0,i=u}finally{try{f||o.return==null||o.return()}finally{if(s)throw i}}return c}}(e,t)||function(n,r){if(!!n){if(typeof n=="string")return Xn(n,r);var o=Object.prototype.toString.call(n).slice(8,-1);if(o==="Object"&&n.constructor&&(o=n.constructor.name),o==="Map"||o==="Set")return Array.from(n);if(o==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return Xn(n,r)}}(e,t)||function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function Xn(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n|<\/mark>)/g,wa=RegExp(nr.source);function rr(e){var t,n,r,o,a,i=e;if(!i.__docsearch_parent&&!e._highlightResult)return e.hierarchy.lvl0;var c=((i.__docsearch_parent?(t=i.__docsearch_parent)===null||t===void 0||(n=t._highlightResult)===null||n===void 0||(r=n.hierarchy)===null||r===void 0?void 0:r.lvl0:(o=e._highlightResult)===null||o===void 0||(a=o.hierarchy)===null||a===void 0?void 0:a.lvl0)||{}).value;return c&&wa.test(c)?c.replace(nr,""):c}function or(){return(or=Object.assign||function(e){for(var t=1;t0});return e.state.query?t===!1?l.createElement(ga,e):l.createElement(Ea,e):l.createElement(Pa,ar({},e,{hasCollections:t}))},function(e,t){return t.state.status==="loading"||t.state.status==="stalled"});function kt(){return(kt=Object.assign||function(e){for(var t=1;t=0||(u[f]=i[f]);return u}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function Ca(e){return function(){var t="__TEST_KEY__";try{return localStorage.setItem(t,""),localStorage.removeItem(t),!0}catch{return!1}}()===!1?{setItem:function(){},getItem:function(){return[]}}:{setItem:function(t){return window.localStorage.setItem(e,JSON.stringify(t))},getItem:function(){var t=window.localStorage.getItem(e);return t?JSON.parse(t):[]}}}function ir(e){var t=e.key,n=e.limit,r=n===void 0?5:n,o=Ca(t),a=o.getItem().slice(0,r);return{add:function(i){var c=i,f=(c._highlightResult,c._snippetResult,Ia(c,["_highlightResult","_snippetResult"])),s=a.findIndex(function(u){return u.objectID===f.objectID});s>-1&&a.splice(s,1),a.unshift(f),a=a.slice(0,r),o.setItem(a)},remove:function(i){a=a.filter(function(c){return c.objectID!==i.objectID}),o.setItem(a)},getAll:function(){return a}}}function Da(e){var t,n="algoliasearch-client-js-".concat(e.key),r=function(){return t===void 0&&(t=e.localStorage||window.localStorage),t},o=function(){return JSON.parse(r().getItem(n)||"{}")};return{get:function(a,i){var c=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{miss:function(){return Promise.resolve()}};return Promise.resolve().then(function(){var f=JSON.stringify(a),s=o()[f];return Promise.all([s||i(),s!==void 0])}).then(function(f){var s=Be(f,2),u=s[0],d=s[1];return Promise.all([u,d||c.miss(u)])}).then(function(f){return Be(f,1)[0]})},set:function(a,i){return Promise.resolve().then(function(){var c=o();return c[JSON.stringify(a)]=i,r().setItem(n,JSON.stringify(c)),i})},delete:function(a){return Promise.resolve().then(function(){var i=o();delete i[JSON.stringify(a)],r().setItem(n,JSON.stringify(i))})},clear:function(){return Promise.resolve().then(function(){r().removeItem(n)})}}}function Le(e){var t=ze(e.caches),n=t.shift();return n===void 0?{get:function(r,o){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{miss:function(){return Promise.resolve()}},i=o();return i.then(function(c){return Promise.all([c,a.miss(c)])}).then(function(c){return Be(c,1)[0]})},set:function(r,o){return Promise.resolve(o)},delete:function(r){return Promise.resolve()},clear:function(){return Promise.resolve()}}:{get:function(r,o){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{miss:function(){return Promise.resolve()}};return n.get(r,o,a).catch(function(){return Le({caches:t}).get(r,o,a)})},set:function(r,o){return n.set(r,o).catch(function(){return Le({caches:t}).set(r,o)})},delete:function(r){return n.delete(r).catch(function(){return Le({caches:t}).delete(r)})},clear:function(){return n.clear().catch(function(){return Le({caches:t}).clear()})}}}function It(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{serializable:!0},t={};return{get:function(n,r){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{miss:function(){return Promise.resolve()}},a=JSON.stringify(n);if(a in t)return Promise.resolve(e.serializable?JSON.parse(t[a]):t[a]);var i=r(),c=o&&o.miss||function(){return Promise.resolve()};return i.then(function(f){return c(f)}).then(function(){return i})},set:function(n,r){return t[JSON.stringify(n)]=e.serializable?JSON.stringify(r):r,Promise.resolve(r)},delete:function(n){return delete t[JSON.stringify(n)],Promise.resolve()},clear:function(){return t={},Promise.resolve()}}}function Na(e){for(var t=e.length-1;t>0;t--){var n=Math.floor(Math.random()*(t+1)),r=e[t];e[t]=e[n],e[n]=r}return e}function cr(e,t){return t&&Object.keys(t).forEach(function(n){e[n]=t[n](e)}),e}function nt(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r0?r:void 0,timeout:n.timeout||t,headers:n.headers||{},queryParameters:n.queryParameters||{},cacheable:n.cacheable}}var _e={Read:1,Write:2,Any:3},lr=1,Aa=2,sr=3;function fr(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:lr;return j(j({},e),{},{status:t,lastUpdate:Date.now()})}function mr(e){return typeof e=="string"?{protocol:"https",url:e,accept:_e.Any}:{protocol:e.protocol||"https",url:e.url,accept:e.accept||_e.Any}}var pr="GET",ot="POST";function xa(e,t){return Promise.all(t.map(function(n){return e.get(n,function(){return Promise.resolve(fr(n))})})).then(function(n){var r=n.filter(function(i){return function(c){return c.status===lr||Date.now()-c.lastUpdate>12e4}(i)}),o=n.filter(function(i){return function(c){return c.status===sr&&Date.now()-c.lastUpdate<=12e4}(i)}),a=[].concat(ze(r),ze(o));return{getTimeout:function(i,c){return(o.length===0&&i===0?1:o.length+3+i)*c},statelessHosts:a.length>0?a.map(function(i){return mr(i)}):t}})}function hr(e,t,n,r){var o=[],a=function(h,m){if(!(h.method===pr||h.data===void 0&&m.data===void 0)){var v=Array.isArray(h.data)?h.data:j(j({},h.data),m.data);return JSON.stringify(v)}}(n,r),i=function(h,m){var v=j(j({},h.headers),m.headers),p={};return Object.keys(v).forEach(function(g){var _=v[g];p[g.toLowerCase()]=_}),p}(e,r),c=n.method,f=n.method!==pr?{}:j(j({},n.data),r.data),s=j(j(j({"x-algolia-agent":e.userAgent.value},e.queryParameters),f),r.queryParameters),u=0,d=function h(m,v){var p=m.pop();if(p===void 0)throw{name:"RetryError",message:"Unreachable hosts - your application id may be incorrect. If the error persists, contact support@algolia.com.",transporterStackTrace:vr(o)};var g={data:a,headers:i,method:c,url:Ha(p,n.path,s),connectTimeout:v(u,e.timeouts.connect),responseTimeout:v(u,r.timeout)},_=function(S){var O={request:g,response:S,host:p,triesLeft:m.length};return o.push(O),O},b={onSucess:function(S){return function(O){try{return JSON.parse(O.content)}catch(w){throw function(D,N){return{name:"DeserializationError",message:D,response:N}}(w.message,O)}}(S)},onRetry:function(S){var O=_(S);return S.isTimedOut&&u++,Promise.all([e.logger.info("Retryable failure",_r(O)),e.hostsCache.set(p,fr(p,S.isTimedOut?sr:Aa))]).then(function(){return h(m,v)})},onFail:function(S){throw _(S),function(O,w){var D=O.content,N=O.status,F=D;try{F=JSON.parse(D).message}catch{}return function(x,T,L){return{name:"ApiError",message:x,status:T,transporterStackTrace:L}}(F,N,w)}(S,vr(o))}};return e.requester.send(g).then(function(S){return function(O,w){return function(D){var N=D.status;return D.isTimedOut||function(F){var x=F.isTimedOut,T=F.status;return!x&&~~T==0}(D)||~~(N/100)!=2&&~~(N/100)!=4}(O)?w.onRetry(O):~~(O.status/100)==2?w.onSucess(O):w.onFail(O)}(S,b)})};return xa(e.hostsCache,t).then(function(h){return d(ze(h.statelessHosts).reverse(),h.getTimeout)})}function Ta(e){var t={value:"Algolia for JavaScript (".concat(e,")"),add:function(n){var r="; ".concat(n.segment).concat(n.version!==void 0?" (".concat(n.version,")"):"");return t.value.indexOf(r)===-1&&(t.value="".concat(t.value).concat(r)),t}};return t}function Ha(e,t,n){var r=dr(n),o="".concat(e.protocol,"://").concat(e.url,"/").concat(t.charAt(0)==="/"?t.substr(1):t);return r.length&&(o+="?".concat(r)),o}function dr(e){return Object.keys(e).map(function(t){return nt("%s=%s",t,(n=e[t],Object.prototype.toString.call(n)==="[object Object]"||Object.prototype.toString.call(n)==="[object Array]"?JSON.stringify(e[t]):e[t]));var n}).join("&")}function vr(e){return e.map(function(t){return _r(t)})}function _r(e){var t=e.request.headers["x-algolia-api-key"]?{"x-algolia-api-key":"*****"}:{};return j(j({},e),{},{request:j(j({},e.request),{},{headers:j(j({},e.request.headers),t)})})}var La=function(e){var t=e.appId,n=function(o,a,i){var c={"x-algolia-api-key":i,"x-algolia-application-id":a};return{headers:function(){return o===rt.WithinHeaders?c:{}},queryParameters:function(){return o===rt.WithinQueryParameters?c:{}}}}(e.authMode!==void 0?e.authMode:rt.WithinHeaders,t,e.apiKey),r=function(o){var a=o.hostsCache,i=o.logger,c=o.requester,f=o.requestsCache,s=o.responsesCache,u=o.timeouts,d=o.userAgent,h=o.hosts,m=o.queryParameters,v={hostsCache:a,logger:i,requester:c,requestsCache:f,responsesCache:s,timeouts:u,userAgent:d,headers:o.headers,queryParameters:m,hosts:h.map(function(p){return mr(p)}),read:function(p,g){var _=ur(g,v.timeouts.read),b=function(){return hr(v,v.hosts.filter(function(O){return(O.accept&_e.Read)!=0}),p,_)};if((_.cacheable!==void 0?_.cacheable:p.cacheable)!==!0)return b();var S={request:p,mappedRequestOptions:_,transporter:{queryParameters:v.queryParameters,headers:v.headers}};return v.responsesCache.get(S,function(){return v.requestsCache.get(S,function(){return v.requestsCache.set(S,b()).then(function(O){return Promise.all([v.requestsCache.delete(S),O])},function(O){return Promise.all([v.requestsCache.delete(S),Promise.reject(O)])}).then(function(O){var w=Be(O,2);return w[0],w[1]})})},{miss:function(O){return v.responsesCache.set(S,O)}})},write:function(p,g){return hr(v,v.hosts.filter(function(_){return(_.accept&_e.Write)!=0}),p,ur(g,v.timeouts.write))}};return v}(j(j({hosts:[{url:"".concat(t,"-dsn.algolia.net"),accept:_e.Read},{url:"".concat(t,".algolia.net"),accept:_e.Write}].concat(Na([{url:"".concat(t,"-1.algolianet.com")},{url:"".concat(t,"-2.algolianet.com")},{url:"".concat(t,"-3.algolianet.com")}]))},e),{},{headers:j(j(j({},n.headers()),{"content-type":"application/x-www-form-urlencoded"}),e.headers),queryParameters:j(j({},n.queryParameters()),e.queryParameters)}));return cr({transporter:r,appId:t,addAlgoliaAgent:function(o,a){r.userAgent.add({segment:o,version:a})},clearCache:function(){return Promise.all([r.requestsCache.clear(),r.responsesCache.clear()]).then(function(){})}},e.methods)},gr=function(e){return function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r={transporter:e.transporter,appId:e.appId,indexName:t};return cr(r,n.methods)}},yr=function(e){return function(t,n){var r=t.map(function(o){return j(j({},o),{},{params:dr(o.params||{})})});return e.transporter.read({method:ot,path:"1/indexes/*/queries",data:{requests:r},cacheable:!0},n)}},br=function(e){return function(t,n){return Promise.all(t.map(function(r){var o=r.params,a=o.facetName,i=o.facetQuery,c=mo(o,["facetName","facetQuery"]);return gr(e)(r.indexName,{methods:{searchForFacetValues:Or}}).searchForFacetValues(a,i,j(j({},n),c))}))}},Ra=function(e){return function(t,n,r){return e.transporter.read({method:ot,path:nt("1/answers/%s/prediction",e.indexName),data:{query:t,queryLanguages:n},cacheable:!0},r)}},Ma=function(e){return function(t,n){return e.transporter.read({method:ot,path:nt("1/indexes/%s/query",e.indexName),data:{query:t},cacheable:!0},n)}},Or=function(e){return function(t,n,r){return e.transporter.read({method:ot,path:nt("1/indexes/%s/facets/%s/query",e.indexName,t),data:{facetQuery:n},cacheable:!0},r)}},qa=1,Va=2,Ua=3;function Sr(e,t,n){var r,o={appId:e,apiKey:t,timeouts:{connect:1,read:2,write:30},requester:{send:function(a){return new Promise(function(i){var c=new XMLHttpRequest;c.open(a.method,a.url,!0),Object.keys(a.headers).forEach(function(d){return c.setRequestHeader(d,a.headers[d])});var f,s=function(d,h){return setTimeout(function(){c.abort(),i({status:0,content:h,isTimedOut:!0})},1e3*d)},u=s(a.connectTimeout,"Connection timeout");c.onreadystatechange=function(){c.readyState>c.OPENED&&f===void 0&&(clearTimeout(u),f=s(a.responseTimeout,"Socket timeout"))},c.onerror=function(){c.status===0&&(clearTimeout(u),clearTimeout(f),i({content:c.responseText||"Network request failed",status:c.status,isTimedOut:!1}))},c.onload=function(){clearTimeout(u),clearTimeout(f),i({content:c.responseText,status:c.status,isTimedOut:!1})},c.send(a.data)})}},logger:(r=Ua,{debug:function(a,i){return qa>=r&&console.debug(a,i),Promise.resolve()},info:function(a,i){return Va>=r&&console.info(a,i),Promise.resolve()},error:function(a,i){return console.error(a,i),Promise.resolve()}}),responsesCache:It(),requestsCache:It({serializable:!1}),hostsCache:Le({caches:[Da({key:"".concat("4.8.5","-").concat(e)}),It()]}),userAgent:Ta("4.8.5").add({segment:"Browser",version:"lite"}),authMode:rt.WithinQueryParameters};return La(j(j(j({},o),n),{},{methods:{search:yr,searchForFacetValues:br,multipleQueries:yr,multipleSearchForFacetValues:br,initIndex:function(a){return function(i){return gr(a)(i,{methods:{search:Ma,searchForFacetValues:Or,findAnswers:Ra}})}}}}))}Sr.version="4.8.5";function at(){return(at=Object.assign||function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n",highlightPostTag:"",hitsPerPage:20},c)}]).catch(function(A){throw A.name==="RetryError"&&X("error"),A}).then(function(A){var U=A.results[0],$=U.hits,xr=U.nbHits,ct=er($,function(ut){return rr(ut)});return q.context.searchSuggestions.length0&&(At(),ye.current&&ye.current.focus())},[re,At]),l.useEffect(function(){function P(){if(ge.current){var I=.01*window.innerHeight;ge.current.style.setProperty("--docsearch-vh","".concat(I,"px"))}}return P(),window.addEventListener("resize",P),function(){window.removeEventListener("resize",P)}},[]),l.createElement("div",at({ref:Re},Ar({"aria-expanded":!0}),{className:["DocSearch","DocSearch-Container",T.status==="stalled"&&"DocSearch-Container--Stalled",T.status==="error"&&"DocSearch-Container--Errored"].filter(Boolean).join(" "),onMouseDown:function(P){P.target===P.currentTarget&&s()}}),l.createElement("div",{className:"DocSearch-Modal",ref:ge},l.createElement("header",{className:"DocSearch-SearchBar",ref:Me},l.createElement(ka,at({},Se,{state:T,autoFocus:re.length===0,onClose:s,inputRef:ye,isFromSelection:Boolean(re)&&re===Dt}))),l.createElement("div",{className:"DocSearch-Dropdown",ref:ne},l.createElement(ja,at({},Se,{indexName:o,state:T,hitComponent:m,resultsFooterComponent:p,disableUserPersonalization:D,recentSearches:be,favoriteSearches:ce,onItemClick:function(P){Oe(P),s()},inputRef:ye}))),l.createElement("footer",{className:"DocSearch-Footer"},l.createElement(aa,null))))}function Pr(){return(Pr=Object.assign||function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n1&&arguments[1]!==void 0?arguments[1]:window;return typeof t=="string"?n.document.querySelector(t):t}(e.container,e.environment))}const Ka={name:"VanDocSearch",props:{lang:String,searchConfig:Object},watch:{lang(){this.initDocsearch()}},mounted(){this.initDocsearch()},methods:{initDocsearch(){this.searchConfig&&Wa(Lt(Ht({},this.searchConfig),{container:"#docsearch"}))}}},Ja={id:"docsearch"};function Qa(e,t,n,r,o,a){return k(),C("div",Ja)}var Ya=B(Ka,[["render",Qa]]);const Ga={name:"VanDocHeader",components:{SearchInput:Ya},props:{lang:String,config:Object,versions:Array,langConfigs:Array},data(){return{packageVersion:Vr,showVersionPop:!1}},computed:{langLink(){return`#${this.$route.path.replace(this.lang,this.anotherLang.lang)}`},langLabel(){return this.anotherLang.label},anotherLang(){const e=this.langConfigs.filter(t=>t.lang!==this.lang);return e.length?e[0]:{}},searchConfig(){return this.config.searchConfig}},methods:{toggleVersionPop(){const e=!this.showVersionPop,t=e?"add":"remove";document.body[`${t}EventListener`]("click",this.checkHideVersionPop),this.showVersionPop=e},checkHideVersionPop(e){this.$refs.version.contains(e.target)||(this.showVersionPop=!1)},onSwitchLang(e){this.$router.push(this.$route.path.replace(e.from,e.to))},onSwitchVersion(e){e.link&&(location.href=e.link)}}},Za={class:"van-doc-header"},Xa={class:"van-doc-row"},ei={class:"van-doc-header__top"},ti={class:"van-doc-header__logo"},ni=["src"],ri={class:"van-doc-header__top-nav"},oi=["href"],ai=["src"],ii={key:1},ci={key:0,ref:"version",class:"van-doc-header__top-nav-item"},ui={key:0,class:"van-doc-header__version-pop"},li=["onClick"],si={key:1,class:"van-doc-header__top-nav-item"},fi=["href"];function mi(e,t,n,r,o,a){const i=z("search-input");return k(),C("div",Za,[H("div",Xa,[H("div",ei,[H("a",ti,[H("img",{src:n.config.logo},null,8,ni),H("span",null,se(n.config.title),1)]),H("ul",ri,[(k(!0),C(Ee,null,Ue(n.config.links,(c,f)=>(k(),C("li",{key:f,class:"van-doc-header__top-nav-item"},[H("a",{class:"van-doc-header__link",target:"_blank",href:c.url},[c.logo?(k(),C("img",{key:0,src:c.logo},null,8,ai)):c.text?(k(),C("span",ii,se(c.text),1)):ee("v-if",!0)],8,oi)]))),128)),n.versions?(k(),C("li",ci,[H("span",{class:"van-doc-header__cube van-doc-header__version",onClick:t[0]||(t[0]=(...c)=>a.toggleVersionPop&&a.toggleVersionPop(...c))},[Kr(se(o.packageVersion)+" ",1),oe(Jr,{name:"van-doc-dropdown"},{default:Fe(()=>[o.showVersionPop?(k(),C("div",ui,[(k(!0),C(Ee,null,Ue(n.versions,(c,f)=>(k(),C("div",{key:f,class:"van-doc-header__version-pop-item",onClick:s=>a.onSwitchVersion(c)},se(c.label),9,li))),128))])):ee("v-if",!0)]),_:1})])],512)):ee("v-if",!0),a.langLabel&&a.langLink?(k(),C("li",si,[H("a",{class:"van-doc-header__cube",href:a.langLink},se(a.langLabel),9,fi)])):ee("v-if",!0),a.searchConfig?(k(),Ve(i,{key:2,lang:n.lang,"search-config":a.searchConfig},null,8,["lang","search-config"])):ee("v-if",!0)])])])])}var pi=B(Ga,[["render",mi]]);const hi={name:"VanDocContent",computed:{currentPage(){const{path:e}=this.$route;return e?e.split("/").slice(-1)[0]:this.$route.name}},methods:{onClick({target:e}){["H2","H3","H4","H5"].includes(e.tagName)&&this.scrollToAnchor(e)},scrollToAnchor(e){e.id&&this.$router.push({name:this.$route.name,hash:"#"+e.id})}}};function di(e,t,n,r,o,a){return k(),C("div",{class:le(["van-doc-content",`van-doc-content--${a.currentPage}`]),onClick:t[0]||(t[0]=(...i)=>a.onClick&&a.onClick(...i))},[Pe(e.$slots,"default")],2)}var vi=B(hi,[["render",di]]);const _i={name:"VanDocContainer",props:{hasSimulator:Boolean}};function gi(e,t,n,r,o,a){return k(),C("div",{class:le(["van-doc-container van-doc-row",{"van-doc-container--with-simulator":n.hasSimulator}])},[Pe(e.$slots,"default")],2)}var yi=B(_i,[["render",gi]]);const bi={name:"VanDocSimulator",props:{src:String},data(){return{scrollTop:window.scrollY,windowHeight:window.innerHeight}},computed:{isFixed(){return this.scrollTop>60},simulatorStyle(){return{height:Math.min(640,this.windowHeight-90)+"px"}}},mounted(){window.addEventListener("scroll",()=>{this.scrollTop=window.scrollY}),window.addEventListener("resize",()=>{this.windowHeight=window.innerHeight})}},Oi=["src"];function Si(e,t,n,r,o,a){return k(),C("div",{class:le(["van-doc-simulator",{"van-doc-simulator-fixed":a.isFixed}])},[H("iframe",{ref:"iframe",src:n.src,style:Mt(a.simulatorStyle),frameborder:"0"},null,12,Oi)],2)}var wi=B(bi,[["render",Si]]);const Ei={name:"VanDoc",components:{DocNav:so,DocHeader:pi,DocContent:vi,DocContainer:yi,DocSimulator:wi},props:{lang:String,versions:Array,simulator:String,hasSimulator:Boolean,langConfigs:Array,config:{type:Object,required:!0},base:{type:String,default:""}},emits:["switch-version"],watch:{$route(){this.setNav()}},created(){this.setNav(),this.keyboardHandler()},methods:{setNav(){const{nav:e}=this.config,t=e.reduce((o,a)=>o.concat(a.items),[]),n=this.$route.path.split("/").pop();let r;for(let o=0,a=t.length;o{switch(e.keyCode){case 37:this.keyboardNav("prev");break;case 39:this.keyboardNav("next");break}})}}},Pi={class:"van-doc"};function ji(e,t,n,r,o,a){const i=z("doc-header"),c=z("doc-nav"),f=z("doc-content"),s=z("doc-container"),u=z("doc-simulator");return k(),C("div",Pi,[oe(i,{lang:n.lang,config:n.config,versions:n.versions,"lang-configs":n.langConfigs,onSwitchVersion:t[0]||(t[0]=d=>e.$emit("switch-version",d))},null,8,["lang","config","versions","lang-configs"]),oe(c,{lang:n.lang,"nav-config":n.config.nav},null,8,["lang","nav-config"]),oe(s,{"has-simulator":n.hasSimulator},{default:Fe(()=>[oe(f,null,{default:Fe(()=>[Pe(e.$slots,"default")]),_:3})]),_:3},8,["has-simulator"]),n.hasSimulator?(k(),Ve(u,{key:0,src:n.simulator},null,8,["src"])):ee("v-if",!0)])}var ki=B(Ei,[["render",ji]]);const Ii={components:{VanDoc:ki},data(){return{hasSimulator:!0}},computed:{simulator(){var t,n;return((t=Q.site.simulator)==null?void 0:t.url)?(n=Q.site.simulator)==null?void 0:n.url:`${location.pathname.replace(/\/index(\.html)?/,"/")}mobile.html${location.hash}`},lang(){const{lang:e}=this.$route.meta;return e||""},langConfigs(){const{locales:e={}}=Q.site;return Object.keys(e).map(t=>({lang:t,label:e[t].langLabel||""}))},config(){const{locales:e}=Q.site;return e?e[this.lang]:Q.site},versions(){return Q.site.versions||null}},watch:{"$route.path"(){this.setTitleAndToogleSimulator()},lang(e){Ur(e),this.setTitleAndToogleSimulator()},config:{handler(e){e&&this.setTitleAndToogleSimulator()},immediate:!0}},mounted(){this.$route.hash&&this.$nextTick(()=>{const e=document.querySelector(this.$route.hash);e&&e.scrollIntoView()})},methods:{setTitleAndToogleSimulator(){let{title:e}=this.config;const n=this.config.nav.reduce((r,o)=>[...r,...o.items],[]).find(r=>r.path===this.$route.meta.name);n&&n.title?e=n.title+" - "+e:this.config.description&&(e+=` - ${this.config.description}`),document.title=e,this.hasSimulator=!(Q.site.hideSimulator||this.config.hideSimulator||n&&n.hideSimulator)}}},Ci={class:"app"};function Di(e,t,n,r,o,a){const i=z("router-view"),c=z("van-doc");return k(),C("div",Ci,[a.config?(k(),Ve(c,{key:0,lang:a.lang,config:a.config,versions:a.versions,simulator:a.simulator,"has-simulator":o.hasSimulator,"lang-configs":a.langConfigs},{default:Fe(()=>[oe(i)]),_:1},8,["lang","config","versions","simulator","has-simulator","lang-configs"])):ee("v-if",!0)])}var Ni=B(Ii,[["render",Di]]);function Ai(e){const t=document.createElement("textarea");t.value=e,t.setAttribute("readonly",""),t.style.position="absolute",t.style.left="-9999px",document.body.appendChild(t);const n=document.getSelection();if(!n)return;const r=n.rangeCount>0?n.getRangeAt(0):!1;t.select(),document.execCommand("copy"),document.body.removeChild(t),r&&(n.removeAllRanges(),n.addRange(r))}const xi={name:"DemoPlayground",props:{originCode:String,codeSnippet:String,transform:Boolean,compact:Boolean,inline:Boolean},data(){return{showSource:!1,copyStatus:"ready"}},methods:{unescape,toogleSource(){this.showSource=!this.showSource},copySourceCode(){Ai(unescape(this.originCode)),this.copyStatus="copied",setTimeout(()=>{this.copyStatus="ready"},2e3)}}},Ti=e=>(Gr("data-v-9efa7fdc"),e=e(),Zr(),e),Hi={class:"demo-playground--code"},Li={class:"demo-playground--code--actions"},Ri=Ti(()=>H("span",null,null,-1)),Mi=["data-status"],qi=["innerHTML"];function Vi(e,t,n,r,o,a){return k(),C("div",{class:le({"demo-playground":!n.inline,transform:n.transform})},[n.inline?Pe(e.$slots,"default",{key:0},void 0,!0):(k(),C(Ee,{key:1},[H("div",{class:le(["demo-playground--previewer",{compact:n.compact}])},[Pe(e.$slots,"default",{},void 0,!0)],2),H("div",Hi,[H("div",Li,[Ri,H("button",{title:"Copy source code",class:"action-icon",role:"copy","data-status":o.copyStatus,onClick:t[0]||(t[0]=(...i)=>a.copySourceCode&&a.copySourceCode(...i))},null,8,Mi),H("button",{title:"Toggle source code panel",class:"action-icon",role:"source",onClick:t[1]||(t[1]=(...i)=>a.toogleSource&&a.toogleSource(...i))})]),Qr(H("div",{innerHTML:a.unescape(n.codeSnippet),class:"demo-playground--code--content"},null,8,qi),[[Yr,o.showSource]])])],64))],2)}var Ir=B(xi,[["render",Vi],["__scopeId","data-v-9efa7fdc"]]);Fr&&location.replace("mobile.html"+location.hash);const{locales:Cr,defaultLang:Ui}=Q.site;$r(Ui);function Fi(e){if(e.indexOf("_")!==-1){const t=e.split("_"),n=t.shift();return{component:`${Rt(n)}`,lang:t.join("-")}}return{component:`${Rt(e)}`,lang:""}}function $i(e){const t=e.path.split("/")[1];return Object.keys(Cr).indexOf(t)!==-1?t:Wr()}function Bi(){const e=[],t=Object.keys(qe);Cr?e.push({name:"notFound",path:"/:path(.*)+",redirect:r=>({name:$i(r)})}):e.push({name:"notFound",path:"/:path(.*)+",redirect:{name:"home"}});function n(r,o){e.push({name:o||"home",path:`/${o||""}`,component:r,meta:{lang:o}})}return t.forEach(r=>{const{component:o,lang:a}=Fi(r);o==="home"&&n(qe[r],a),a?e.push({name:`${a}/${o}`,path:`/${a}/${o}`,component:qe[r],meta:{lang:a,name:o}}):e.push({name:`${o}`,path:`/${o}`,component:qe[r],meta:{name:o}})}),e}const it=Xr({history:eo(),routes:Bi(),scrollBehavior(e){return e.hash?{el:e.hash}:{top:0}}});it.afterEach(()=>{to(zr)});var Dr;((Dr=Q.site.simulator)==null?void 0:Dr.syncPathFromSimulator)!==!1&&Br(it);window.vueRouter=it;window.app=no(Ni).use(it).component(Ir.name,Ir);setTimeout(()=>{window.app.mount("#app")},0); diff --git a/assets/main.7e327325.css b/assets/main.7e327325.css deleted file mode 100644 index 1e72b020..00000000 --- a/assets/main.7e327325.css +++ /dev/null @@ -1 +0,0 @@ -.van-doc-nav{background-color:#fff;box-shadow:0 8px 12px #ebedf0;left:0;max-width:220px;min-width:220px;overflow-y:scroll;padding:24px 0;position:fixed;z-index:1}@media (min-width:1680px){.van-doc-nav{left:50%;margin-left:-840px}}.van-doc-nav::-webkit-scrollbar{background-color:initial;height:6px;width:6px}.van-doc-nav::-webkit-scrollbar-thumb{background-color:initial;border-radius:6px}.van-doc-nav:hover::-webkit-scrollbar-thumb{background-color:rgba(69,90,100,.2)}.van-doc-nav__group{margin-bottom:16px;padding-left:6px}.van-doc-nav__title{color:#455a64;font-size:15px;font-weight:600;line-height:28px;padding:8px 0 8px 24px}.van-doc-nav__item a{color:#455a64;display:block;font-size:14px;line-height:20px;margin:8px 0;padding:8px 0 8px 24px;transition:color .2s}.van-doc-nav__item a.active,.van-doc-nav__item a:hover{color:#4fc08d}.van-doc-nav__item a.active{background-color:#ebfff0;border-radius:999px;font-weight:600}.van-doc-nav__item a span{font-size:13px}@media (max-width:1300px){.van-doc-nav__item a{font-size:13px}.van-doc-nav__item:active{font-size:14px}}/*! @docsearch/css 3.0.0-alpha.41 | MIT License | © Algolia, Inc. and contributors | https://docsearch.algolia.com */:root{--docsearch-primary-color:#5468ff;--docsearch-text-color:#1c1e21;--docsearch-spacing:12px;--docsearch-icon-stroke-width:1.4;--docsearch-highlight-color:var(--docsearch-primary-color);--docsearch-muted-color:#969faf;--docsearch-container-background:rgba(101,108,133,.8);--docsearch-logo-color:#5468ff;--docsearch-modal-width:560px;--docsearch-modal-height:600px;--docsearch-modal-background:#f5f6f7;--docsearch-modal-shadow:inset 1px 1px 0 0 hsla(0,0%,100%,.5),0 3px 8px 0 #555a64;--docsearch-searchbox-height:56px;--docsearch-searchbox-background:#ebedf0;--docsearch-searchbox-focus-background:#fff;--docsearch-searchbox-shadow:inset 0 0 0 2px var(--docsearch-primary-color);--docsearch-hit-height:56px;--docsearch-hit-color:#444950;--docsearch-hit-active-color:#fff;--docsearch-hit-background:#fff;--docsearch-hit-shadow:0 1px 3px 0 #d4d9e1;--docsearch-key-gradient:linear-gradient(-225deg,#d5dbe4,#f8f8f8);--docsearch-key-shadow:inset 0 -2px 0 0 #cdcde6,inset 0 0 1px 1px #fff,0 1px 2px 1px rgba(30,35,90,.4);--docsearch-footer-height:44px;--docsearch-footer-background:#fff;--docsearch-footer-shadow:0 -1px 0 0 #e0e3e8,0 -3px 6px 0 rgba(69,98,155,.12)}html[data-theme=dark]{--docsearch-text-color:#f5f6f7;--docsearch-container-background:rgba(9,10,17,.8);--docsearch-modal-background:#15172a;--docsearch-modal-shadow:inset 1px 1px 0 0 #2c2e40,0 3px 8px 0 #000309;--docsearch-searchbox-background:#090a11;--docsearch-searchbox-focus-background:#000;--docsearch-hit-color:#bec3c9;--docsearch-hit-shadow:none;--docsearch-hit-background:#090a11;--docsearch-key-gradient:linear-gradient(-26.5deg,#565872,#31355b);--docsearch-key-shadow:inset 0 -2px 0 0 #282d55,inset 0 0 1px 1px #51577d,0 2px 2px 0 rgba(3,4,9,.3);--docsearch-footer-background:#1e2136;--docsearch-footer-shadow:inset 0 1px 0 0 rgba(73,76,106,.5),0 -4px 8px 0 rgba(0,0,0,.2);--docsearch-logo-color:#fff;--docsearch-muted-color:#7f8497}.DocSearch-Button{align-items:center;background:var(--docsearch-searchbox-background);border:0;border-radius:40px;color:var(--docsearch-muted-color);cursor:pointer;display:flex;font-weight:500;height:36px;justify-content:space-between;margin:0 0 0 16px;padding:0 8px;-webkit-user-select:none;user-select:none}.DocSearch-Button:active,.DocSearch-Button:focus,.DocSearch-Button:hover{background:var(--docsearch-searchbox-focus-background);box-shadow:var(--docsearch-searchbox-shadow);color:var(--docsearch-text-color);outline:none}.DocSearch-Button-Container{align-items:center;display:flex}.DocSearch-Search-Icon{stroke-width:1.6}.DocSearch-Button .DocSearch-Search-Icon{color:var(--docsearch-text-color)}.DocSearch-Button-Placeholder{font-size:1rem;padding:0 12px 0 6px}.DocSearch-Button-Keys{display:flex;min-width:calc(40px + 0.8em)}.DocSearch-Button-Key{align-items:center;background:var(--docsearch-key-gradient);border-radius:3px;box-shadow:var(--docsearch-key-shadow);color:var(--docsearch-muted-color);display:flex;height:18px;justify-content:center;margin-right:.4em;padding-bottom:2px;position:relative;top:-1px;width:20px}@media (max-width:750px){.DocSearch-Button-Keys,.DocSearch-Button-Placeholder{display:none}}.DocSearch--active{overflow:hidden!important}.DocSearch-Container,.DocSearch-Container *{box-sizing:border-box}.DocSearch-Container{background-color:var(--docsearch-container-background);height:100vh;left:0;position:fixed;top:0;width:100vw;z-index:200}.DocSearch-Container a{text-decoration:none}.DocSearch-Link{-webkit-appearance:none;appearance:none;background:none;border:0;color:var(--docsearch-highlight-color);cursor:pointer;font:inherit;margin:0;padding:0}.DocSearch-Modal{background:var(--docsearch-modal-background);border-radius:6px;box-shadow:var(--docsearch-modal-shadow);flex-direction:column;margin:60px auto auto;max-width:var(--docsearch-modal-width);position:relative}.DocSearch-SearchBar{display:flex;padding:var(--docsearch-spacing) var(--docsearch-spacing) 0}.DocSearch-Form{align-items:center;background:var(--docsearch-searchbox-focus-background);border-radius:4px;box-shadow:var(--docsearch-searchbox-shadow);display:flex;height:var(--docsearch-searchbox-height);margin:0;padding:0 var(--docsearch-spacing);position:relative;width:100%}.DocSearch-Input{-webkit-appearance:none;appearance:none;background:transparent;border:0;color:var(--docsearch-text-color);flex:1;font:inherit;font-size:1.2em;height:100%;outline:none;padding:0 0 0 8px;width:80%}.DocSearch-Input::-webkit-input-placeholder{color:var(--docsearch-muted-color);opacity:1}.DocSearch-Input::placeholder{color:var(--docsearch-muted-color);opacity:1}.DocSearch-Input::-webkit-search-cancel-button,.DocSearch-Input::-webkit-search-decoration,.DocSearch-Input::-webkit-search-results-button,.DocSearch-Input::-webkit-search-results-decoration{display:none}.DocSearch-LoadingIndicator,.DocSearch-MagnifierLabel,.DocSearch-Reset{margin:0;padding:0}.DocSearch-MagnifierLabel,.DocSearch-Reset{align-items:center;color:var(--docsearch-highlight-color);display:flex;justify-content:center}.DocSearch-Container--Stalled .DocSearch-MagnifierLabel,.DocSearch-LoadingIndicator{display:none}.DocSearch-Container--Stalled .DocSearch-LoadingIndicator{align-items:center;color:var(--docsearch-highlight-color);display:flex;justify-content:center}@media screen and (prefers-reduced-motion:reduce){.DocSearch-Reset{stroke-width:var(--docsearch-icon-stroke-width);animation:none;-webkit-appearance:none;appearance:none;background:none;border:0;border-radius:50%;color:var(--docsearch-icon-color);cursor:pointer;right:0}}.DocSearch-Reset{stroke-width:var(--docsearch-icon-stroke-width);animation:fade-in .1s ease-in forwards;-webkit-appearance:none;appearance:none;background:none;border:0;border-radius:50%;color:var(--docsearch-icon-color);cursor:pointer;padding:2px;right:0}.DocSearch-Reset[hidden]{display:none}.DocSearch-Reset:focus{outline:none}.DocSearch-Reset:hover{color:var(--docsearch-highlight-color)}.DocSearch-LoadingIndicator svg,.DocSearch-MagnifierLabel svg{height:24px;width:24px}.DocSearch-Cancel{display:none}.DocSearch-Dropdown{max-height:calc(var(--docsearch-modal-height) - var(--docsearch-searchbox-height) - var(--docsearch-spacing) - var(--docsearch-footer-height));min-height:var(--docsearch-spacing);overflow-y:auto;overflow-y:overlay;padding:0 var(--docsearch-spacing);scrollbar-color:var(--docsearch-muted-color) var(--docsearch-modal-background);scrollbar-width:thin}.DocSearch-Dropdown::-webkit-scrollbar{width:12px}.DocSearch-Dropdown::-webkit-scrollbar-track{background:transparent}.DocSearch-Dropdown::-webkit-scrollbar-thumb{background-color:var(--docsearch-muted-color);border:3px solid var(--docsearch-modal-background);border-radius:20px}.DocSearch-Dropdown ul{list-style:none;margin:0;padding:0}.DocSearch-Label{font-size:.75em;line-height:1.6em}.DocSearch-Help,.DocSearch-Label{color:var(--docsearch-muted-color)}.DocSearch-Help{font-size:.9em;margin:0;-webkit-user-select:none;user-select:none}.DocSearch-Title{font-size:1.2em}.DocSearch-Logo a{display:flex}.DocSearch-Logo svg{color:var(--docsearch-logo-color);margin-left:8px}.DocSearch-Hits:last-of-type{margin-bottom:24px}.DocSearch-Hits mark{background:none;color:var(--docsearch-highlight-color)}.DocSearch-HitsFooter{color:var(--docsearch-muted-color);display:flex;font-size:.85em;justify-content:center;margin-bottom:var(--docsearch-spacing);padding:var(--docsearch-spacing)}.DocSearch-HitsFooter a{border-bottom:1px solid;color:inherit}.DocSearch-Hit{border-radius:4px;display:flex;padding-bottom:4px;position:relative}@media screen and (prefers-reduced-motion:reduce){.DocSearch-Hit--deleting{transition:none}}.DocSearch-Hit--deleting{opacity:0;transition:all .25s linear}@media screen and (prefers-reduced-motion:reduce){.DocSearch-Hit--favoriting{transition:none}}.DocSearch-Hit--favoriting{transform:scale(0);transform-origin:top center;transition:all .25s linear;transition-delay:.25s}.DocSearch-Hit a{background:var(--docsearch-hit-background);border-radius:4px;box-shadow:var(--docsearch-hit-shadow);display:block;padding-left:var(--docsearch-spacing);width:100%}.DocSearch-Hit-source{background:var(--docsearch-modal-background);color:var(--docsearch-highlight-color);font-size:.85em;font-weight:600;line-height:32px;margin:0 -4px;padding:8px 4px 0;position:-webkit-sticky;position:sticky;top:0;z-index:10}.DocSearch-Hit-Tree{stroke-width:var(--docsearch-icon-stroke-width);color:var(--docsearch-muted-color);height:var(--docsearch-hit-height);opacity:.5;width:24px}.DocSearch-Hit[aria-selected=true] a{background-color:var(--docsearch-highlight-color)}.DocSearch-Hit[aria-selected=true] mark{text-decoration:underline}.DocSearch-Hit-Container{align-items:center;color:var(--docsearch-hit-color);display:flex;flex-direction:row;height:var(--docsearch-hit-height);padding:0 var(--docsearch-spacing) 0 0}.DocSearch-Hit-icon{height:20px;width:20px}.DocSearch-Hit-action,.DocSearch-Hit-icon{stroke-width:var(--docsearch-icon-stroke-width);color:var(--docsearch-muted-color)}.DocSearch-Hit-action{align-items:center;display:flex;height:22px;width:22px}.DocSearch-Hit-action svg{display:block;height:18px;width:18px}.DocSearch-Hit-action+.DocSearch-Hit-action{margin-left:6px}.DocSearch-Hit-action-button{-webkit-appearance:none;appearance:none;background:none;border:0;border-radius:50%;color:inherit;cursor:pointer;padding:2px}svg.DocSearch-Hit-Select-Icon{display:none}.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-Select-Icon{display:block}.DocSearch-Hit-action-button:focus,.DocSearch-Hit-action-button:hover{background:rgba(0,0,0,.2);transition:background-color .1s ease-in}@media screen and (prefers-reduced-motion:reduce){.DocSearch-Hit-action-button:focus,.DocSearch-Hit-action-button:hover{transition:none}}.DocSearch-Hit-action-button:focus path,.DocSearch-Hit-action-button:hover path{fill:#fff}.DocSearch-Hit-content-wrapper{display:flex;flex:1 1 auto;flex-direction:column;font-weight:500;justify-content:center;line-height:1.2em;margin:0 8px;overflow-x:hidden;position:relative;text-overflow:ellipsis;white-space:nowrap;width:80%}.DocSearch-Hit-title{font-size:.9em}.DocSearch-Hit-path{color:var(--docsearch-muted-color);font-size:.75em}.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-Tree,.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-action,.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-icon,.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-path,.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-text,.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-title,.DocSearch-Hit[aria-selected=true] mark{color:var(--docsearch-hit-active-color)!important}@media screen and (prefers-reduced-motion:reduce){.DocSearch-Hit-action-button:focus,.DocSearch-Hit-action-button:hover{background:rgba(0,0,0,.2);transition:none}}.DocSearch-ErrorScreen,.DocSearch-NoResults,.DocSearch-StartScreen{font-size:.9em;margin:0 auto;padding:36px 0;text-align:center;width:80%}.DocSearch-Screen-Icon{color:var(--docsearch-muted-color);padding-bottom:12px}.DocSearch-NoResults-Prefill-List{display:inline-block;padding-bottom:24px;text-align:left}.DocSearch-NoResults-Prefill-List ul{display:inline-block;padding:8px 0 0}.DocSearch-NoResults-Prefill-List li{list-style-position:inside;list-style-type:"\bb "}.DocSearch-Prefill{-webkit-appearance:none;appearance:none;background:none;border:0;border-radius:1em;color:var(--docsearch-highlight-color);cursor:pointer;display:inline-block;font-size:1em;font-weight:700;padding:0}.DocSearch-Prefill:focus,.DocSearch-Prefill:hover{outline:none;text-decoration:underline}.DocSearch-Footer{align-items:center;background:var(--docsearch-footer-background);border-radius:0 0 8px 8px;box-shadow:var(--docsearch-footer-shadow);display:flex;flex-direction:row-reverse;flex-shrink:0;height:var(--docsearch-footer-height);justify-content:space-between;padding:0 var(--docsearch-spacing);position:relative;-webkit-user-select:none;user-select:none;width:100%;z-index:300}.DocSearch-Commands{color:var(--docsearch-muted-color);display:flex;list-style:none;margin:0;padding:0}.DocSearch-Commands li{align-items:center;display:flex}.DocSearch-Commands li:not(:last-of-type){margin-right:.8em}.DocSearch-Commands-Key{align-items:center;background:var(--docsearch-key-gradient);border-radius:2px;box-shadow:var(--docsearch-key-shadow);display:flex;height:18px;justify-content:center;margin-right:.4em;padding-bottom:1px;width:20px}@media (max-width:750px){:root{--docsearch-spacing:10px;--docsearch-footer-height:40px}.DocSearch-Dropdown{height:100%}.DocSearch-Container{height:100vh;height:-webkit-fill-available;height:calc(var(--docsearch-vh, 1vh)*100);position:absolute}.DocSearch-Footer{border-radius:0;bottom:0;position:absolute}.DocSearch-Hit-content-wrapper{display:flex;position:relative;width:80%}.DocSearch-Modal{border-radius:0;box-shadow:none;height:100vh;height:-webkit-fill-available;height:calc(var(--docsearch-vh, 1vh)*100);margin:0;max-width:100%;width:100%}.DocSearch-Dropdown{max-height:calc(var(--docsearch-vh, 1vh)*100 - var(--docsearch-searchbox-height) - var(--docsearch-spacing) - var(--docsearch-footer-height))}.DocSearch-Cancel{-webkit-appearance:none;appearance:none;background:none;border:0;color:var(--docsearch-highlight-color);cursor:pointer;display:inline-block;flex:none;font:inherit;font-size:1em;font-weight:500;margin-left:var(--docsearch-spacing);outline:none;overflow:hidden;padding:0;-webkit-user-select:none;user-select:none;white-space:nowrap}.DocSearch-Commands,.DocSearch-Hit-Tree{display:none}}@keyframes fade-in{0%{opacity:0}to{opacity:1}}#docsearch{display:inline-block;vertical-align:middle}.DocSearch-Button{background:#f7f8fa;height:32px}.DocSearch-Button:hover{box-shadow:none}.DocSearch-Search-Icon{height:18px;width:18px}.DocSearch-Button-Key{font-size:12px}.van-doc-header{background-color:#001938;-webkit-user-select:none;user-select:none;width:100%}.van-doc-header__top{align-items:center;display:flex;height:64px;padding:0 24px}.van-doc-header__top-nav{flex:1;font-size:0;text-align:right}.van-doc-header__top-nav>li{display:inline-block;position:relative;vertical-align:middle}.van-doc-header__top-nav-item{margin-left:16px}.van-doc-header__top-nav-title{display:block;font-size:15px}.van-doc-header__cube{background:#f7f8fa;border:1px solid hsla(0,0%,100%,.7);border-radius:20px;color:#001938;cursor:pointer;display:block;font-size:14px;line-height:30px;padding:0 12px;position:relative;text-align:center;transition:.3s ease-in-out}.van-doc-header__version{padding-right:20px}.van-doc-header__version:after{border-color:transparent transparent currentcolor currentcolor;border-style:solid;border-width:1px;color:#001938;content:"";height:5px;position:absolute;right:9px;top:10px;transform:rotate(-45deg);width:5px}.van-doc-header__version-pop{background-color:#fff;border-radius:8px;box-shadow:0 4px 12px #ebedf0;color:#333;left:0;line-height:36px;overflow:hidden;position:absolute;text-align:left;top:34px;transform-origin:top;transition:.2s cubic-bezier(.215,.61,.355,1);width:100%;z-index:99}.van-doc-header__version-pop-item{padding-left:12px;transition:.2s}.van-doc-header__version-pop-item:hover{background-color:#f7f8fa;color:#1989fa}.van-doc-header__logo{display:block}.van-doc-header__logo img,.van-doc-header__logo span{display:inline-block;vertical-align:middle}.van-doc-header__logo img{margin-right:12px;width:28px}.van-doc-header__logo span{color:#fff;font-size:22px}.van-doc-header__link span{color:#fff;font-size:16px}.van-doc-header__link img{display:block;height:30px;transition:.3s cubic-bezier(.175,.885,.32,1.275);width:30px}.van-doc-header__link img:hover{transform:scale(1.2)}.van-doc-dropdown-enter,.van-doc-dropdown-leave-active{opacity:0;transform:scaleY(0)}.van-doc-card{background-color:#fff;border-radius:20px;box-shadow:0 8px 12px #ebedf0;margin-bottom:24px;padding:24px}.van-doc-card>blockquote a,.van-doc-card>p a,.van-doc-card>table a,.van-doc-card>ul a{-webkit-font-smoothing:auto;color:#1989fa;margin:0 1px}.van-doc-card>blockquote a:hover,.van-doc-card>p a:hover,.van-doc-card>table a:hover,.van-doc-card>ul a:hover{color:#0570db}.van-doc-card>blockquote a:active,.van-doc-card>p a:active,.van-doc-card>table a:active,.van-doc-card>ul a:active{color:#0456a9}.van-doc-card>h3,.van-doc-card>h4,.van-doc-card>h5,.van-doc-card>h6{color:#323233;font-weight:400;line-height:1.6}.van-doc-card>h3[id],.van-doc-card>h4[id],.van-doc-card>h5[id],.van-doc-card>h6[id]{cursor:pointer}.van-doc-card>h3{font-size:20px;font-weight:600;margin-bottom:16px}.van-doc-card>h4{font-size:18px}.van-doc-card>h4,.van-doc-card>h5{font-weight:600;margin:24px 0 12px}.van-doc-card>h5{font-size:16px}.van-doc-card>p{margin-top:8px}.van-doc-card>blockquote p,.van-doc-card>p{color:#34495e;font-size:15px;line-height:26px}.van-doc-card>blockquote p strong,.van-doc-card>p strong{color:#000}.van-doc-card>table{border-collapse:collapse;color:#34495e;font-size:14px;line-height:1.5;margin-top:12px;width:100%}.van-doc-card>table th{font-weight:600;padding:8px 10px;text-align:left}.van-doc-card>table th:first-child{padding-left:0}.van-doc-card>table th:last-child{padding-right:0}.van-doc-card>table td{border-top:1px solid #f1f4f8;padding:8px}.van-doc-card>table td:first-child{padding-left:0}.van-doc-card>table td:first-child code{background-color:rgba(25,137,250,.1);border-radius:20px;color:#1989fa;font-size:11px;font-weight:600;margin:0;padding:2px 6px}.van-doc-card>table td:last-child{padding-right:0}.van-doc-card>table em{-webkit-font-smoothing:auto;color:#4fc08d;display:inline-block;font-family:Source Code Pro,Monaco,Inconsolata,monospace;font-size:14px;font-style:normal;max-width:300px}.van-doc-card>ul{margin:12px 0}.van-doc-card>ol li,.van-doc-card>ul li{color:#34495e;font-size:15px;line-height:26px;margin:5px 0 5px 10px;padding-left:15px;position:relative}.van-doc-card>ol li:before,.van-doc-card>ul li:before{border:1px solid #666;border-radius:50%;box-sizing:border-box;content:"";height:6px;left:0;margin-top:10px;position:absolute;top:0;width:6px}.van-doc-card>hr{border:0;border-top:1px solid #eee;margin:30px 0}.van-doc-card>ol code,.van-doc-card>p code,.van-doc-card>table code,.van-doc-card>ul code{-webkit-font-smoothing:antialiased;border-radius:4px;display:inline;font-family:inherit;font-size:14px;font-weight:600;margin:0 2px;padding:2px 5px;word-break:keep-all}.van-doc-card>blockquote{background-color:#ecf9ff;border-radius:20px;margin:16px 0 0;padding:16px}.van-doc-card>img,.van-doc-card>p img{border-radius:20px;margin:16px 0;width:100%}.van-doc-content{flex:1;padding:0 0 75px;position:relative}.van-doc-content .van-doc-markdown-body{overflow:hidden;padding:24px}.van-doc-content .van-doc-markdown-body h1,.van-doc-content .van-doc-markdown-body h2{color:#323233;font-weight:400;line-height:1.5}.van-doc-content .van-doc-markdown-body h1[id],.van-doc-content .van-doc-markdown-body h2[id]{cursor:pointer}.van-doc-content .van-doc-markdown-body h1{cursor:default;font-size:34px;margin:0 0 30px}.van-doc-content .van-doc-markdown-body h2{font-size:26px;margin:45px 0 20px}.van-doc-content--changelog strong{display:block;font-size:15px;font-weight:600;margin:24px 0 12px}.van-doc-content--changelog h3+p code{margin:0}.van-doc-content--changelog h3 a{color:inherit;font-size:20px}.van-doc-container{box-sizing:border-box;overflow:hidden;padding-left:220px}.van-doc-container--with-simulator{padding-right:384px}@media (max-width:1100px){.van-doc-container--with-simulator{padding-right:352px}}.van-doc-simulator{background:#fafafa;border-radius:20px;box-shadow:0 8px 12px #ebedf0;box-sizing:border-box;min-width:360px;overflow:hidden;position:absolute;right:24px;top:88px;width:360px;z-index:1}@media (max-width:1100px){.van-doc-simulator{left:750px;right:auto}}@media (min-width:1680px){.van-doc-simulator{margin-right:-816px;right:50%}}.van-doc-simulator-fixed{position:fixed;top:24px}.van-doc-simulator iframe{display:block;width:100%}@font-face{font-family:Open Sans;font-style:normal;font-weight:400;src:local("Open Sans Regular"),local("OpenSans-Regular"),url(https://b.yzcdn.cn/vant/mem8YaGs126MiZpBA-UFWJ0bf8pkAp6a.woff2) format("woff2");unicode-range:u+0460-052f,u+1c80-1c88,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-family:Open Sans;font-style:normal;font-weight:400;src:local("Open Sans Regular"),local("OpenSans-Regular"),url(https://b.yzcdn.cn/vant/mem8YaGs126MiZpBA-UFUZ0bf8pkAp6a.woff2) format("woff2");unicode-range:u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-family:Open Sans;font-style:normal;font-weight:400;src:local("Open Sans Regular"),local("OpenSans-Regular"),url(https://b.yzcdn.cn/vant/mem8YaGs126MiZpBA-UFWZ0bf8pkAp6a.woff2) format("woff2");unicode-range:u+1f??}@font-face{font-family:Open Sans;font-style:normal;font-weight:400;src:local("Open Sans Regular"),local("OpenSans-Regular"),url(https://b.yzcdn.cn/vant/mem8YaGs126MiZpBA-UFVp0bf8pkAp6a.woff2) format("woff2");unicode-range:u+0370-03ff}@font-face{font-family:Open Sans;font-style:normal;font-weight:400;src:local("Open Sans Regular"),local("OpenSans-Regular"),url(https://b.yzcdn.cn/vant/mem8YaGs126MiZpBA-UFWp0bf8pkAp6a.woff2) format("woff2");unicode-range:u+0102-0103,u+0110-0111,u+0128-0129,u+0168-0169,u+01a0-01a1,u+01af-01b0,u+1ea0-1ef9,u+20ab}@font-face{font-family:Open Sans;font-style:normal;font-weight:400;src:local("Open Sans Regular"),local("OpenSans-Regular"),url(https://b.yzcdn.cn/vant/mem8YaGs126MiZpBA-UFW50bf8pkAp6a.woff2) format("woff2");unicode-range:u+0100-024f,u+0259,u+1e??,u+2020,u+20a0-20ab,u+20ad-20cf,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:Open Sans;font-style:normal;font-weight:400;src:local("Open Sans Regular"),local("OpenSans-Regular"),url(https://b.yzcdn.cn/vant/mem8YaGs126MiZpBA-UFVZ0bf8pkAg.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+2000-206f,u+2074,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:Open Sans;font-style:normal;font-weight:600;src:local("Open Sans SemiBold"),local("OpenSans-SemiBold"),url(https://b.yzcdn.cn/vant/mem5YaGs126MiZpBA-UNirkOX-hpKKSTj5PW.woff2) format("woff2");unicode-range:u+0460-052f,u+1c80-1c88,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-family:Open Sans;font-style:normal;font-weight:600;src:local("Open Sans SemiBold"),local("OpenSans-SemiBold"),url(https://b.yzcdn.cn/vant/mem5YaGs126MiZpBA-UNirkOVuhpKKSTj5PW.woff2) format("woff2");unicode-range:u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-family:Open Sans;font-style:normal;font-weight:600;src:local("Open Sans SemiBold"),local("OpenSans-SemiBold"),url(https://b.yzcdn.cn/vant/mem5YaGs126MiZpBA-UNirkOXuhpKKSTj5PW.woff2) format("woff2");unicode-range:u+1f??}@font-face{font-family:Open Sans;font-style:normal;font-weight:600;src:local("Open Sans SemiBold"),local("OpenSans-SemiBold"),url(https://b.yzcdn.cn/vant/mem5YaGs126MiZpBA-UNirkOUehpKKSTj5PW.woff2) format("woff2");unicode-range:u+0370-03ff}@font-face{font-family:Open Sans;font-style:normal;font-weight:600;src:local("Open Sans SemiBold"),local("OpenSans-SemiBold"),url(https://b.yzcdn.cn/vant/mem5YaGs126MiZpBA-UNirkOXehpKKSTj5PW.woff2) format("woff2");unicode-range:u+0102-0103,u+0110-0111,u+0128-0129,u+0168-0169,u+01a0-01a1,u+01af-01b0,u+1ea0-1ef9,u+20ab}@font-face{font-family:Open Sans;font-style:normal;font-weight:600;src:local("Open Sans SemiBold"),local("OpenSans-SemiBold"),url(https://b.yzcdn.cn/vant/mem5YaGs126MiZpBA-UNirkOXOhpKKSTj5PW.woff2) format("woff2");unicode-range:u+0100-024f,u+0259,u+1e??,u+2020,u+20a0-20ab,u+20ad-20cf,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:Open Sans;font-style:normal;font-weight:600;src:local("Open Sans SemiBold"),local("OpenSans-SemiBold"),url(https://b.yzcdn.cn/vant/mem5YaGs126MiZpBA-UNirkOUuhpKKSTjw.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+2000-206f,u+2074,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}body{-webkit-font-smoothing:antialiased;background-color:#f7f8fa;color:#323233;font-family:Open Sans,-apple-system,BlinkMacSystemFont,Helvetica Neue,Helvetica,Segoe UI,Arial,Roboto,PingFang SC,miui,Hiragino Sans GB,Microsoft Yahei,sans-serif;font-size:16px;min-width:1100px;overflow-x:auto}body,p{margin:0}h1,h2,h3,h4,h5,h6{font-size:inherit;margin:0}ol,ul{list-style:none;margin:0;padding:0}a{text-decoration:none}.van-doc-row{width:100%}@media (min-width:1680px){.van-doc-row{margin:0 auto;width:1680px}}code{word-wrap:break-word;-webkit-font-smoothing:auto;background-color:#f8f8f8;border-radius:20px;color:#58727e;display:block;font-family:Source Code Pro,Monaco,Inconsolata,monospace;font-size:14px;font-weight:400;line-height:26px;overflow-x:auto;padding:16px 20px;position:relative;white-space:pre-wrap}pre{margin:20px 0 0}pre+p{margin-top:20px!important}.hljs{background:#fff;display:block;overflow-x:auto;padding:.5em}.hljs-subst{color:#58727e}.hljs-addition,.hljs-meta,.hljs-string,.hljs-symbol,.hljs-template-tag,.hljs-template-variable{color:#4fc08d}.hljs-comment,.hljs-quote{color:#999}.hljs-attribute,.hljs-keyword,.hljs-params{color:#8080ff}.hljs-bullet,.hljs-deletion,.hljs-link,.hljs-literal,.hljs-number,.hljs-regexp,.hljs-variable{color:#eb6f6f}.hljs-attr,.hljs-built_in,.hljs-doctag,.hljs-name,.hljs-section,.hljs-selector-class,.hljs-selector-id,.hljs-selector-tag,.hljs-strong,.hljs-title,.hljs-type{color:#4994df}.hljs-emphasis{font-style:italic}.van-doc-intro{padding-top:20px;text-align:center}.van-doc-intro p{margin-bottom:20px}.demo-playground[data-v-9efa7fdc]{background-color:#fff;border:1px solid #ebedf1;border-radius:1px;margin:24px 0}.demo-playground.transform[data-v-9efa7fdc]{transform:translate(0)}.demo-playground--previewer[data-v-9efa7fdc]{border-bottom:1px solid #ebedf1;padding:40px 24px}.demo-playground--previewer.compact[data-v-9efa7fdc]{padding:0}.demo-playground--code--actions[data-v-9efa7fdc]{align-items:center;display:flex;height:40px;padding:0 1em}.demo-playground--code--actions>a[data-v-9efa7fdc]:not(:last-child),.demo-playground--code--actions>button[data-v-9efa7fdc]:not(:last-child){margin-right:8px}.demo-playground--code--actions>a[data-v-9efa7fdc]{display:flex}.demo-playground--code--actions button[data-v-9efa7fdc]{border:0;box-sizing:border-box;cursor:pointer;display:inline-block;height:16px;opacity:.6;outline:none;padding:0;position:relative;transition:opacity .2s,background .2s;width:16px}.demo-playground--code--actions button[data-v-9efa7fdc]:after{bottom:-8px;content:"";left:-8px;position:absolute;right:-8px;top:-8px}.demo-playground--code--actions button[data-v-9efa7fdc]:hover{opacity:.8}.demo-playground--code--actions button[data-v-9efa7fdc]:active{opacity:.9}.demo-playground--code--actions button[data-v-9efa7fdc]:disabled{cursor:not-allowed;opacity:.2}.demo-playground--code--actions button[role=codesandbox][data-v-9efa7fdc]{background-position:-18px 0}.demo-playground--code--actions button[role=codepen][data-v-9efa7fdc]{background-position:-36px 0}.demo-playground--code--actions button[role=source][data-v-9efa7fdc]{background-position:-72px 0}.demo-playground--code--actions button[role=change-jsx][data-v-9efa7fdc]{background-position:-90px 0}.demo-playground--code--actions button[role=change-tsx][data-v-9efa7fdc]{background-position:-108px 0}.demo-playground--code--actions button[role=open-demo][data-v-9efa7fdc]{background-position:-126px 0}.demo-playground--code--actions button[role=motions][data-v-9efa7fdc]{background-position:-162px 0}.demo-playground--code--actions button[role=sketch-component][data-v-9efa7fdc]{background-position:-182px 0}.demo-playground--code--actions button[role=sketch-group][data-v-9efa7fdc]{background-position:-200px 0}.demo-playground--code--actions button[role=copy][data-status=ready][data-v-9efa7fdc]{background-position:-54px 0}.demo-playground--code--actions button[role=copy][data-status=copied][data-v-9efa7fdc]{background-position:-54px -16px;pointer-events:none}.demo-playground--code--actions button[role=refresh][data-v-9efa7fdc]{background-position-x:-144px}.demo-playground--code--actions>span[data-v-9efa7fdc]{display:inline-block;flex:1}.demo-playground--code--content[data-v-9efa7fdc]{border-top:1px dashed #ebedf1}.demo-playground--code--content[data-v-9efa7fdc] pre{margin:0}.demo-playground--code--content[data-v-9efa7fdc] .language-html{border-radius:0}.action-icon[data-v-9efa7fdc]{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAcwAAAA8CAMAAADc4HoZAAABFFBMVEUAAABGT2VGTmZaYXpCvGtIUGg3tGBGTmU3s2A/tmFKUGxFTmRFTWVQWmxFTWRJUGZFTWRGTmRLWWpFTWRGTmVGTmVLVG1FTmRGTWVHTmVFTWRHUGdFTWRGT2ZFTWVGTmU6t2I7xHA3tF9GTWRIT2dFTmRGTmVFTWQ3s2BFTWRGTmVGTmZKUmVFTWRFTWRGTWRGTmVcXHxFTmVFTmVGTmVFTWRIUGdGTWVNU3FGT2ZGTmVHTmVFTWRFTWVFTmVITWRHUGZFTWVFTmRGTmZGTmVFTWVLU2g4tF83tGBFTWQ3s1/LzdT09faoq7Zwdoieoq58gpLj5OeCh5fq6+2/wsmTmKWQlKJfZnpIUGfU1tu0t8BOVWynlyFSAAAASXRSTlMAkoAHEkDQ/dgYFuf0C8gj+KQQmm1oEuyNWNg53kSXfCYI5tEtzq7ivbOgTBy924R1BfHUibcpYw1JcU7v+7E3Nav6XVPDGraPqQuKawAACh1JREFUeNrsm2lT6kgUhg9QFFUkgWDYZfnAVsi+KQJeQdGqt1xm7jZ3lv//PyYdhe7QWQw1zP0w83xQsY9Um4fTp7vToeBczmaX5MN5rXZO/+NGJzGuLejnkw3dADehLHkQyceAWD5C/0my9XqWPLlCK9WHQScirUMk18g7J9ZosYLFajFyT8siLIpuyQkHKBDw4NgYsnDr0Xybaii60rjYzsmdbrqnw0TvpbvkhjYuzinygDXJXLewR2/O/f73w1cWCUj0LkmiU8SeYsc9LXMZIJNjyXkqmbWQCzV8ICawzLO8jh3q4IyciYfugMnMMGYT4C4UJ2fOEbbSc0EyrVp4T/7u4kiZs6jANjwBxkupWMLG7NIlLZvxM+As3nRLTsD/N5xtekmHIEQuhBAoBuREtmaXWVgB41Smc97JbMZA7pqcKKgopbu7FC1BLUgD22MyeVnPWD0bonLLeCQRhIkzQNnz6gHiK0HmxeF4qkKPSsVygh2x2q50SmlZIGIyiQo8OY+XGVExOLVM2WVRbAkDSma0609aQaxKMgOo6YjQ77Tc8d3laxPRxS7R564yI8WSFkymgUNuJqlbomQLisblpnNAf0nrB1j06rTsA7n0SE5L2skkh+Qcm2CP3vGV2QHWp5Ypu4wDosumRpyzNrBwcFmqk4166dBmrFgJ5aeDKhvSklWLBLokgBhcaF3bFL59lV45EQsR3QLVfV0uAuNFhEy2JaC/fcveMVC8ltKSy3RITtjRl34yDSj0r8rMNkyXQksByJOdCmIdslNAKS7V0BIKdpmGQ1+S9slA2IVa60My89HoRKyZ5XTD8rhBX1DwEN85Gw53drIsT6W0FGTKyYmYtgcI427rI1NB5bQyZZeTuNCSXaEpBX2Cotm9qWqdJOqqajN85y8zTC6E8SGZGalmjja4uaQC0OUy0UzSAckNTKS0FGTKyYmYbfQP42brcFGr/X5+N/XDNVG+36+eXCZ3Kbbkbd644cHBW6bpnTlx0vZO6PL0NI/LE8uksxtUqQ7sUgpoAfp0TgLzqQ4oAFkkeFqadCwFxJMz4SKTwogVpIsaBtrv+qdQzZ8ibSB8cpncJW+Z68iQTBq5EXG6N6UIvTHVr2hPpHTX9ZY5Rf0ImfIEyEMmFWHQmk89gHKhBShCP68UoHVfFtZnqV0yahWYVLTdJyMFwE0ms8l+cnFJfWyIuM2TyuQuecsW4xFJMMcd0S1PzBRQGdkaOKosc4DKYn1amSM2rb4H5lwmaVUVqEXJItoA1LBGokwoHWKUS0AqBZTKxOgocJXJl74uLi+Be+I2TyuTu+SkkCInmrZS3kNXkMnnF9RFT5Qpv1cVJkYwmRzxlavMIRClmTgBYmIeU1bpfC+WqS6RKPOKOTxjaWlZXSpWcp4xq1dBZIaBTxH+v95kySLyCQifSCZ3WYuTnYbDKNvpnVMVPUpulvSGPiFRJlq39M5E95bZNYZXD1icTOaoHophQ1EgLcpkrBOsdLJimbglsstMzpnGxZtSE0vjwlKalGVyuEzZJSXQIxJs2kVVDJOLC6NKVK/0jLWrzEzPYB/G6SxV9pJZq2XlyXSHDqlAjW5XjaSCzfsfom2XiX3hbEN4y3G/r64agy7ZifRrXOa6wmMkmT7YZfbwTuPsUoGi2WUyWOlkxZJIkskGWD7YkpWcb4NtAJlVm8tHYEF2m6KofW/pXLe2INxkTs0QeszB5N5rmJVckg55RzI+gTpEToFySRZ1GAcy94lg8AmOtmtSh2QnNebrTCnmWJlzHRatYeRegbomWSZpU2Cq0UdkdgLKlBMzA2EZNpJkmnmZQ9EwqtSDMijqGU+ZeeSqD/pCkikhZ6ZsU8cNc+kuc3EoU0tgT4hE5q3ELgZCTIBh1nECVAWm0fMs3daA8bV4wUN7f0nhAkdCgkztnx9mZ5iQ+zDLSLxdx5bZFK+Tp8wZDNLqFEAmr5myzRh36TfM8obXX01eAeyaqT4LhYvouMccLzNSRIlZmwGzLnGskVWWWWhBmgBZlXPpOwHieEyA5joGsktZJvumXBN5yzSQW/puGhy2XGBDTjZbWDGXLhMgRZ4ArQF8f375+vnP5y/gFawKYHzlEuOzNPGRSVFgSkT37LcCYDSidpnnCUCQaTmUlyaW1QAyxaVJAVjLLmWZViQSUW+Z9RsWE1DmFuMIOZAddIMtTSrA69PTy/dfXr798QMo7GVmzjXyijleJqVwV7d6t4rL2+NlUeY5GE6bBnNp0yCQTG4zBYVIWGa6y6SMCmDoKZOuFQDVYDI1FWlyJtimQR8/vv76/O319enrl89/wdjLZEnsFeO/nee6NImv8MAW6zpSssylKLMMxrHbebJM2eZohYrkUpL5HhKfqohdesokbZED1oFk0gC5M/Kje+e7nafi9fnl8y8mn1+ef6AtyXSNOV4mZd4q7wAo+8s8fqOdA7httJd3Hwlpo12WeUZUv0PaVWaCuTSVqxgGkznPYTYiP/w32lfAr0+/fAF+++2PV6ApyvSK8ZcpL034LbAWclm2kEU/4i8z8C0wf5mcENQIcTxkJnuTOMV1ZBxkniceqYkmnRmtR4ooQWVSJwbD16b/LbAGTEffnvD705NpC3lZphxzrEwbYVZg2Dd+c9pZZpCb08FltrChj8nsAGpiDD0py9RWUIvAkFWOuwcFuA0ok4bALCuKswQFvTk9gMnL85fvz99h0ttsmp8+tdt9LlOKuXC5OS1fOa42c3jUUrW6sIGetB8bwVCUuUCgYyPBZa6B+w/KpHsVgOq4adBhTQ8RonIOwE3ACRBjGMNquJ/ODcc9YgQ8NtJVYfLn568vMImtVrmcoiitVmLuFON6bMRfpiOPY/QOD3T16juZ9V6AA10+MhkkE0Ys6yuzXFgTY35fzTw6L03iV8MOMbTt8CpJwWVa02C9PSyUt8NPKtBK0hEHuoYAzAH0G0z0c+IEjIGALDMfdeYCuD88ahmrxJnMuBE77qilLHPkKnOZlhLz9CcNnFu06hg7lLBGRx21DMHkr9+ZJ6HFKya4TC9atIOf6woBIX6SK8AhaM8D0D//ELR3ryLXlV4xV0qElhEiz0PQbcNoOx+CvlJgIT6H4xUTHCMGd1LE4aVTKpa+jyf4y/z5jycE7lXwxxO0gtFu5svECRrz/4NDf7dvxjYQwzAMdGEE8RaWq2ySh/cf6OGoyQCRANLkBHenWqnzxyGU6aVP0zRN0zTtmzUru64ZWZ923kC0n6tT9WnnnL+y5R51pj6L9ahlx7k6UR8kVt2Sh1W35GHVLXlYdUseVt2Sh1W3fK8aDmuSOmyfelyGwpqkjtvnnvMyENYcdeA+fSxaDNYUdeg+TovBmqAO3sdpMVjD1eH7OC0Ga7A6QR+nxWANVafo47QYrIHqJH0eWhDWMHWaPosWhTVInahPHzisIepUffrAYQ1QJ+vTgVgD1IP6/AHM0QJdY511NAAAAABJRU5ErkJggg==) no-repeat 0 0/230px auto} diff --git a/assets/main.8a2ea6c7.js b/assets/main.8a2ea6c7.js new file mode 100644 index 00000000..20506586 --- /dev/null +++ b/assets/main.8a2ea6c7.js @@ -0,0 +1,13 @@ +var Yr=Object.defineProperty,Gr=Object.defineProperties;var Zr=Object.getOwnPropertyDescriptors;var Kt=Object.getOwnPropertySymbols;var Xr=Object.prototype.hasOwnProperty,eo=Object.prototype.propertyIsEnumerable;var Jt=(e,t,n)=>t in e?Yr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Qt=(e,t)=>{for(var n in t||(t={}))Xr.call(t,n)&&Jt(e,n,t[n]);if(Kt)for(var n of Kt(t))eo.call(t,n)&&Jt(e,n,t[n]);return e},Yt=(e,t)=>Gr(e,Zr(t));import{_ as K,p as to,c as ur,a as Q,s as no,i as ro,b as oo,l as ao,d as Ve,e as io,f as Gt,g as co}from"./iframe-router.5fc57411.js";import{c as st,n as he,a as D,r as $,o as I,F as Ae,b as et,d as R,t as ae,e as ie,f as Y,g as lr,h as uo,w as tt,T as lo,i as Ne,j as so,v as fo,p as po,k as mo,l as ho,m as vo,q as _o,s as go}from"./vue-libs.67be768b.js";const yo={name:"VanDocNavLink",props:{base:String,item:Object},computed:{itemName(){const e=(this.item.title||this.item.name).split(" ");return`${e[0]} ${e.slice(1).join(" ")}`},path(){return`${this.base}${this.item.path}`},active(){return this.$route.path===this.path?!0:this.item.path==="home"?this.$route.path===this.base:!1}},watch:{active(){this.scrollIntoView()}},mounted(){this.scrollIntoView()},methods:{scrollIntoView(){this.active&&this.$el&&this.$el.scrollIntoViewIfNeeded&&this.$el.scrollIntoViewIfNeeded()}}},bo=["href","innerHTML"],Oo=["innerHTML"];function So(e,t,n,r,o,a){const i=$("router-link");return n.item.path?(I(),st(i,{key:0,class:he({active:a.active}),to:a.path,innerHTML:a.itemName},null,8,["class","to","innerHTML"])):n.item.link?(I(),D("a",{key:1,href:n.item.link,innerHTML:a.itemName},null,8,bo)):(I(),D("a",{key:2,innerHTML:a.itemName},null,8,Oo))}var Zt=K(yo,[["render",So]]);const wo={name:"VanDocNav",components:{[Zt.name]:Zt},props:{lang:String,navConfig:Array},data(){return{top:64,bottom:0}},computed:{style(){return{top:this.top+"px",bottom:this.bottom+"px"}},base(){return this.lang?`/${this.lang}/`:"/"}},created(){window.addEventListener("scroll",this.onScroll),this.onScroll()},methods:{onScroll(){const{pageYOffset:e}=window;this.top=Math.max(0,64-e)}}},Eo={class:"van-doc-nav__title"};function jo(e,t,n,r,o,a){const i=$("van-doc-nav-link");return I(),D("div",{class:"van-doc-nav",style:lr(a.style)},[(I(!0),D(Ae,null,et(n.navConfig,(c,s)=>(I(),D("div",{class:"van-doc-nav__group",key:s},[R("div",Eo,ae(c.title),1),c.items?(I(!0),D(Ae,{key:0},et(c.items,(l,u)=>(I(),D("div",{key:u,class:"van-doc-nav__item"},[ie(i,{item:l,base:a.base},null,8,["item","base"])]))),128)):Y("v-if",!0)]))),128))],4)}var Po=K(wo,[["render",jo]]);/*! @docsearch/js 3.0.0-alpha.50 | MIT License | © Algolia, Inc. and contributors | https://docsearch.algolia.com */function Xt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function P(e){for(var t=1;t=0||(u[s]=i[s]);return u}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function nt(e,t){return function(n){if(Array.isArray(n))return n}(e)||function(n,r){var o=n==null?null:typeof Symbol!="undefined"&&n[Symbol.iterator]||n["@@iterator"];if(o!=null){var a,i,c=[],s=!0,l=!1;try{for(o=o.call(n);!(s=(a=o.next()).done)&&(c.push(a.value),!r||c.length!==r);s=!0);}catch(u){l=!0,i=u}finally{try{s||o.return==null||o.return()}finally{if(l)throw i}}return c}}(e,t)||sr(e,t)||function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function rt(e){return function(t){if(Array.isArray(t))return kt(t)}(e)||function(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}(e)||sr(e)||function(){throw new TypeError(`Invalid attempt to spread non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function sr(e,t){if(e){if(typeof e=="string")return kt(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?kt(e,t):void 0}}function kt(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n3)for(n=[n],a=3;a0?De(p.type,p.props,p.key,null,p.__v):p)!=null){if(p.__=n,p.__b=n.__b+1,(m=g[u])===null||m&&p.key==m.key&&p.type===m.type)g[u]=void 0;else for(d=0;d3)for(n=[n],a=3;a=n.__.length&&n.__.push({}),n.__[e]}function fn(e,t,n){var r=He(ve++,2);return r.t=e,r.__c||(r.__=[n?n(t):Sr(void 0,t),function(o){var a=r.t(r.__[0],o);r.__[0]!==a&&(r.__=[a,r.__[1]],r.__c.setState({}))}],r.__c=q),r.__}function pn(e,t){var n=He(ve++,4);!w.__s&&Ut(n.__H,t)&&(n.__=e,n.__H=t,q.__h.push(n))}function Qe(e,t){var n=He(ve++,7);return Ut(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function No(){Ct.forEach(function(e){if(e.__P)try{e.__H.__h.forEach(Ye),e.__H.__h.forEach(Dt),e.__H.__h=[]}catch(t){e.__H.__h=[],w.__e(t,e.__v)}}),Ct=[]}w.__b=function(e){q=null,an&&an(e)},w.__r=function(e){cn&&cn(e),ve=0;var t=(q=e.__c).__H;t&&(t.__h.forEach(Ye),t.__h.forEach(Dt),t.__h=[])},w.diffed=function(e){un&&un(e);var t=e.__c;t&&t.__H&&t.__H.__h.length&&(Ct.push(t)!==1&&on===w.requestAnimationFrame||((on=w.requestAnimationFrame)||function(n){var r,o=function(){clearTimeout(a),mn&&cancelAnimationFrame(r),setTimeout(n)},a=setTimeout(o,100);mn&&(r=requestAnimationFrame(o))})(No)),q=void 0},w.__c=function(e,t){t.some(function(n){try{n.__h.forEach(Ye),n.__h=n.__h.filter(function(r){return!r.__||Dt(r)})}catch(r){t.some(function(o){o.__h&&(o.__h=[])}),t=[],w.__e(r,n.__v)}}),ln&&ln(e,t)},w.unmount=function(e){sn&&sn(e);var t=e.__c;if(t&&t.__H)try{t.__H.__.forEach(Ye)}catch(n){w.__e(n,t.__v)}};var mn=typeof requestAnimationFrame=="function";function Ye(e){var t=q;typeof e.__c=="function"&&e.__c(),q=t}function Dt(e){var t=q;e.__c=e.__(),q=t}function Ut(e,t){return!e||e.length!==t.length||t.some(function(n,r){return n!==e[r]})}function Sr(e,t){return typeof t=="function"?t(e):t}function wr(e,t){for(var n in t)e[n]=t[n];return e}function xt(e,t){for(var n in e)if(n!=="__source"&&!(n in t))return!0;for(var r in t)if(r!=="__source"&&e[r]!==t[r])return!0;return!1}function At(e){this.props=e}(At.prototype=new W).isPureReactComponent=!0,At.prototype.shouldComponentUpdate=function(e,t){return xt(this.props,e)||xt(this.state,t)};var dn=w.__b;w.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),dn&&dn(e)};var To=typeof Symbol!="undefined"&&Symbol.for&&Symbol.for("react.forward_ref")||3911,hn=function(e,t){return e==null?null:Z(Z(e).map(t))},Lo={map:hn,forEach:hn,count:function(e){return e?Z(e).length:0},only:function(e){var t=Z(e);if(t.length!==1)throw"Children.only";return t[0]},toArray:Z},Ro=w.__e;function Ge(){this.__u=0,this.t=null,this.__b=null}function Er(e){var t=e.__.__c;return t&&t.__e&&t.__e(e)}function ke(){this.u=null,this.o=null}w.__e=function(e,t,n){if(e.then){for(var r,o=t;o=o.__;)if((r=o.__c)&&r.__c)return t.__e==null&&(t.__e=n.__e,t.__k=n.__k),r.__c(e,t)}Ro(e,t,n)},(Ge.prototype=new W).__c=function(e,t){var n=t.__c,r=this;r.t==null&&(r.t=[]),r.t.push(n);var o=Er(r.__v),a=!1,i=function(){a||(a=!0,n.componentWillUnmount=n.__c,o?o(c):c())};n.__c=n.componentWillUnmount,n.componentWillUnmount=function(){i(),n.__c&&n.__c()};var c=function(){if(!--r.__u){if(r.state.__e){var l=r.state.__e;r.__v.__k[0]=function d(m,p,v){return m&&(m.__v=null,m.__k=m.__k&&m.__k.map(function(h){return d(h,p,v)}),m.__c&&m.__c.__P===p&&(m.__e&&v.insertBefore(m.__e,m.__d),m.__c.__e=!0,m.__c.__P=v)),m}(l,l.__c.__P,l.__c.__O)}var u;for(r.setState({__e:r.__b=null});u=r.t.pop();)u.forceUpdate()}},s=t.__h===!0;r.__u++||s||r.setState({__e:r.__b=r.__v.__k[0]}),e.then(i,i)},Ge.prototype.componentWillUnmount=function(){this.t=[]},Ge.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=function a(i,c,s){return i&&(i.__c&&i.__c.__H&&(i.__c.__H.__.forEach(function(l){typeof l.__c=="function"&&l.__c()}),i.__c.__H=null),(i=wr({},i)).__c!=null&&(i.__c.__P===s&&(i.__c.__P=c),i.__c=null),i.__k=i.__k&&i.__k.map(function(l){return a(l,c,s)})),i}(this.__b,n,r.__O=r.__P)}this.__b=null}var o=t.__e&&z(te,null,e.fallback);return o&&(o.__h=null),[z(te,null,t.__e?null:e.children),o]};var vn=function(e,t,n){if(++n[1]===n[0]&&e.o.delete(t),e.props.revealOrder&&(e.props.revealOrder[0]!=="t"||!e.o.size))for(n=e.u;n;){for(;n.length>3;)n.pop()();if(n[1]>>1,1),t.i.removeChild(r)}}),Re(z(Ho,{context:t.context},e.__v),t.l)):t.l&&t.componentWillUnmount()}function jr(e,t){return z(Mo,{__v:e,i:t})}(ke.prototype=new W).__e=function(e){var t=this,n=Er(t.__v),r=t.o.get(e);return r[0]++,function(o){var a=function(){t.props.revealOrder?(r.push(o),vn(t,e,r)):o()};n?n(a):a()}},ke.prototype.render=function(e){this.u=null,this.o=new Map;var t=Z(e.children);e.revealOrder&&e.revealOrder[0]==="b"&&t.reverse();for(var n=t.length;n--;)this.o.set(t[n],this.u=[1,0,this.u]);return e.children},ke.prototype.componentDidUpdate=ke.prototype.componentDidMount=function(){var e=this;this.o.forEach(function(t,n){vn(e,n,t)})};var Pr=typeof Symbol!="undefined"&&Symbol.for&&Symbol.for("react.element")||60103,qo=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|fill|flood|font|glyph(?!R)|horiz|marker(?!H|W|U)|overline|paint|stop|strikethrough|stroke|text(?!L)|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,Vo=function(e){return(typeof Symbol!="undefined"&&Te(Symbol())=="symbol"?/fil|che|rad/i:/fil|che|ra/i).test(e)};function kr(e,t,n){return t.__k==null&&(t.textContent=""),Re(e,t),typeof n=="function"&&n(),e?e.__c:null}W.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(W.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var _n=w.event;function Uo(){}function Fo(){return this.cancelBubble}function Bo(){return this.defaultPrevented}w.event=function(e){return _n&&(e=_n(e)),e.persist=Uo,e.isPropagationStopped=Fo,e.isDefaultPrevented=Bo,e.nativeEvent=e};var Ir,gn={configurable:!0,get:function(){return this.class}},yn=w.vnode;w.vnode=function(e){var t=e.type,n=e.props,r=n;if(typeof t=="string"){for(var o in r={},n){var a=n[o];o==="value"&&"defaultValue"in n&&a==null||(o==="defaultValue"&&"value"in n&&n.value==null?o="value":o==="download"&&a===!0?a="":/ondoubleclick/i.test(o)?o="ondblclick":/^onchange(textarea|input)/i.test(o+t)&&!Vo(n.type)?o="oninput":/^on(Ani|Tra|Tou|BeforeInp)/.test(o)?o=o.toLowerCase():qo.test(o)?o=o.replace(/[A-Z0-9]/,"-$&").toLowerCase():a===null&&(a=void 0),r[o]=a)}t=="select"&&r.multiple&&Array.isArray(r.value)&&(r.value=Z(n.children).forEach(function(i){i.props.selected=r.value.indexOf(i.props.value)!=-1})),t=="select"&&r.defaultValue!=null&&(r.value=Z(n.children).forEach(function(i){i.props.selected=r.multiple?r.defaultValue.indexOf(i.props.value)!=-1:r.defaultValue==i.props.value})),e.props=r}t&&n.class!=n.className&&(gn.enumerable="className"in n,n.className!=null&&(r.class=n.className),Object.defineProperty(r,"className",gn)),e.$$typeof=Pr,yn&&yn(e)};var bn=w.__r;w.__r=function(e){bn&&bn(e),Ir=e.__c};var $o={ReactCurrentDispatcher:{current:{readContext:function(e){return Ir.__n[e.__c].props.value}}}};(typeof performance=="undefined"?"undefined":Te(performance))=="object"&&typeof performance.now=="function"&&performance.now.bind(performance);function On(e){return!!e&&e.$$typeof===Pr}var f={useState:function(e){return pe=1,fn(Sr,e)},useReducer:fn,useEffect:function(e,t){var n=He(ve++,3);!w.__s&&Ut(n.__H,t)&&(n.__=e,n.__H=t,q.__H.__h.push(n))},useLayoutEffect:pn,useRef:function(e){return pe=5,Qe(function(){return{current:e}},[])},useImperativeHandle:function(e,t,n){pe=6,pn(function(){typeof e=="function"?e(t()):e&&(e.current=t())},n==null?n:n.concat(e))},useMemo:Qe,useCallback:function(e,t){return pe=8,Qe(function(){return e},t)},useContext:function(e){var t=q.context[e.__c],n=He(ve++,9);return n.__c=e,t?(n.__==null&&(n.__=!0,t.sub(q)),t.props.value):e.__},useDebugValue:function(e,t){w.useDebugValue&&w.useDebugValue(t?t(e):e)},version:"16.8.0",Children:Lo,render:kr,hydrate:function(e,t,n){return Or(e,t),typeof n=="function"&&n(),e?e.__c:null},unmountComponentAtNode:function(e){return!!e.__k&&(Re(null,e),!0)},createPortal:jr,createElement:z,createContext:function(e,t){var n={__c:t="__cC"+pr++,__:e,Consumer:function(r,o){return r.children(o)},Provider:function(r){var o,a;return this.getChildContext||(o=[],(a={})[t]=this,this.getChildContext=function(){return a},this.shouldComponentUpdate=function(i){this.props.value!==i.value&&o.some(It)},this.sub=function(i){o.push(i);var c=i.componentWillUnmount;i.componentWillUnmount=function(){o.splice(o.indexOf(i),1),c&&c.call(i)}}),r.children}};return n.Provider.__=n.Consumer.contextType=n},createFactory:function(e){return z.bind(null,e)},cloneElement:function(e){return On(e)?Ao.apply(null,arguments):e},createRef:function(){return{current:null}},Fragment:te,isValidElement:On,findDOMNode:function(e){return e&&(e.base||e.nodeType===1&&e)||null},Component:W,PureComponent:At,memo:function(e,t){function n(o){var a=this.props.ref,i=a==o.ref;return!i&&a&&(a.call?a(null):a.current=null),t?!t(this.props,o)||!i:xt(this.props,o)}function r(o){return this.shouldComponentUpdate=n,z(e,o)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r},forwardRef:function(e){function t(n,r){var o=wr({},n);return delete o.ref,e(o,(r=n.ref||r)&&(Te(r)!="object"||"current"in r)?r:null)}return t.$$typeof=To,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t},unstable_batchedUpdates:function(e,t){return e(t)},StrictMode:te,Suspense:Ge,SuspenseList:ke,lazy:function(e){var t,n,r;function o(a){if(t||(t=e()).then(function(i){n=i.default||i},function(i){r=i}),r)throw r;if(!n)throw t;return z(n,a)}return o.displayName="Lazy",o.__f=!0,o},__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:$o};function zo(){return f.createElement("svg",{width:"15",height:"15",className:"DocSearch-Control-Key-Icon"},f.createElement("path",{d:"M4.505 4.496h2M5.505 5.496v5M8.216 4.496l.055 5.993M10 7.5c.333.333.5.667.5 1v2M12.326 4.5v5.996M8.384 4.496c1.674 0 2.116 0 2.116 1.5s-.442 1.5-2.116 1.5M3.205 9.303c-.09.448-.277 1.21-1.241 1.203C1 10.5.5 9.513.5 8V7c0-1.57.5-2.5 1.464-2.494.964.006 1.134.598 1.24 1.342M12.553 10.5h1.953",strokeWidth:"1.2",stroke:"currentColor",fill:"none",strokeLinecap:"square"}))}function Cr(){return f.createElement("svg",{width:"20",height:"20",className:"DocSearch-Search-Icon",viewBox:"0 0 20 20"},f.createElement("path",{d:"M14.386 14.386l4.0877 4.0877-4.0877-4.0877c-2.9418 2.9419-7.7115 2.9419-10.6533 0-2.9419-2.9418-2.9419-7.7115 0-10.6533 2.9418-2.9419 7.7115-2.9419 10.6533 0 2.9419 2.9418 2.9419 7.7115 0 10.6533z",stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round"}))}var Wo=["translations"];function Nt(){return Nt=Object.assign||function(e){for(var t=1;t=0||(u[s]=i[s]);return u}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var Jo=f.forwardRef(function(e,t){var n=e.translations,r=n===void 0?{}:n,o=Ko(e,Wo),a=r.buttonText,i=a===void 0?"Search":a,c=r.buttonAriaLabel,s=c===void 0?"Search":c,l=Qe(function(){return typeof navigator!="undefined"?/(Mac|iPhone|iPod|iPad)/i.test(navigator.platform)?"\u2318":"Ctrl":null},[]);return f.createElement("button",Nt({type:"button",className:"DocSearch DocSearch-Button","aria-label":s},o,{ref:t}),f.createElement("span",{className:"DocSearch-Button-Container"},f.createElement(Cr,null),f.createElement("span",{className:"DocSearch-Button-Placeholder"},i)),f.createElement("span",{className:"DocSearch-Button-Keys"},l!==null&&f.createElement(f.Fragment,null,f.createElement("span",{className:"DocSearch-Button-Key"},l==="Ctrl"?f.createElement(zo,null):l),f.createElement("span",{className:"DocSearch-Button-Key"},"K"))))});function Me(e){return e.reduce(function(t,n){return t.concat(n)},[])}var Qo=0;function Tt(e){return e.collections.length===0?0:e.collections.reduce(function(t,n){return t+n.items.length},0)}var Yo=function(){},Go=[{segment:"autocomplete-core",version:"1.5.2"}];function Ze(e,t){var n=t;return{then:function(r,o){return Ze(e.then(Fe(r,n,e),Fe(o,n,e)),n)},catch:function(r){return Ze(e.catch(Fe(r,n,e)),n)},finally:function(r){return r&&n.onCancelList.push(r),Ze(e.finally(Fe(r&&function(){return n.onCancelList=[],r()},n,e)),n)},cancel:function(){n.isCanceled=!0;var r=n.onCancelList;n.onCancelList=[],r.forEach(function(o){o()})},isCanceled:function(){return n.isCanceled===!0}}}function Sn(e){return Ze(e,{isCanceled:!1,onCancelList:[]})}function Fe(e,t,n){return e?function(r){return t.isCanceled?r:e(r)}:n}function wn(e,t,n,r){if(!n)return null;if(e<0&&(t===null||r!==null&&t===0))return n+e;var o=(t===null?-1:t)+e;return o<=-1||o>=n?r===null?null:0:o}function En(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function Zo(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Xo(e,t){var n=[];return Promise.resolve(e(t)).then(function(r){return Promise.all(r.filter(function(o){return Boolean(o)}).map(function(o){if(o.sourceId,n.includes(o.sourceId))throw new Error("[Autocomplete] The `sourceId` ".concat(JSON.stringify(o.sourceId)," is not unique."));n.push(o.sourceId);var a=function(i){for(var c=1;ce.length)&&(t=e.length);for(var n=0,r=new Array(t);ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0||(u[s]=i[s]);return u}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var Nn,St,Ke,je=null,Tn=(Nn=-1,St=-1,Ke=void 0,function(e){var t=++Nn;return Promise.resolve(e).then(function(n){return Ke&&t=0||(u[s]=i[s]);return u}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var _a=["props","refresh","store"],ga=["inputElement","formElement","panelElement"],ya=["inputElement"],ba=["inputElement","maxLength"],Oa=["item","source"];function Rn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function M(e){for(var t=1;t=0||(u[s]=i[s]);return u}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function wa(e){var t=e.props,n=e.refresh,r=e.store,o=Pe(e,_a);return{getEnvironmentProps:function(a){var i=a.inputElement,c=a.formElement,s=a.panelElement;return M({onTouchStart:function(l){!r.getState().isOpen&&r.pendingRequests.isEmpty()||l.target===i||[c,s].some(function(u){return d=u,m=l.target,d===m||d.contains(m);var d,m})===!1&&(r.dispatch("blur",null),t.debug||r.pendingRequests.cancelAll())},onTouchMove:function(l){r.getState().isOpen!==!1&&i===t.environment.document.activeElement&&l.target!==i&&i.blur()}},Pe(a,ga))},getRootProps:function(a){return M({role:"combobox","aria-expanded":r.getState().isOpen,"aria-haspopup":"listbox","aria-owns":r.getState().isOpen?"".concat(t.id,"-list"):void 0,"aria-labelledby":"".concat(t.id,"-label")},a)},getFormProps:function(a){return a.inputElement,M({action:"",noValidate:!0,role:"search",onSubmit:function(i){var c;i.preventDefault(),t.onSubmit(M({event:i,refresh:n,state:r.getState()},o)),r.dispatch("submit",null),(c=a.inputElement)===null||c===void 0||c.blur()},onReset:function(i){var c;i.preventDefault(),t.onReset(M({event:i,refresh:n,state:r.getState()},o)),r.dispatch("reset",null),(c=a.inputElement)===null||c===void 0||c.focus()}},Pe(a,ya))},getLabelProps:function(a){return M({htmlFor:"".concat(t.id,"-input"),id:"".concat(t.id,"-label")},a)},getInputProps:function(a){function i(p){(t.openOnFocus||Boolean(r.getState().query))&&fe(M({event:p,props:t,query:r.getState().completion||r.getState().query,refresh:n,store:r},o)),r.dispatch("focus",null)}var c="ontouchstart"in t.environment,s=a||{},l=(s.inputElement,s.maxLength),u=l===void 0?512:l,d=Pe(s,ba),m=me(r.getState());return M({"aria-autocomplete":"both","aria-activedescendant":r.getState().isOpen&&r.getState().activeItemId!==null?"".concat(t.id,"-item-").concat(r.getState().activeItemId):void 0,"aria-controls":r.getState().isOpen?"".concat(t.id,"-list"):void 0,"aria-labelledby":"".concat(t.id,"-label"),value:r.getState().completion||r.getState().query,id:"".concat(t.id,"-input"),autoComplete:"off",autoCorrect:"off",autoCapitalize:"off",enterKeyHint:m!=null&&m.itemUrl?"go":"search",spellCheck:"false",autoFocus:t.autoFocus,placeholder:t.placeholder,maxLength:u,type:"search",onChange:function(p){fe(M({event:p,props:t,query:p.currentTarget.value.slice(0,u),refresh:n,store:r},o))},onKeyDown:function(p){(function(v){var h=v.event,_=v.props,g=v.refresh,y=v.store,b=va(v,da);if(h.key==="ArrowUp"||h.key==="ArrowDown"){var O=function(){var H=_.environment.document.getElementById("".concat(_.id,"-item-").concat(y.getState().activeItemId));H&&(H.scrollIntoViewIfNeeded?H.scrollIntoViewIfNeeded(!1):H.scrollIntoView(!1))},S=function(){var H=me(y.getState());if(y.getState().activeItemId!==null&&H){var dt=H.item,ht=H.itemInputValue,vt=H.itemUrl,_e=H.source;_e.onActive(re({event:h,item:dt,itemInputValue:ht,itemUrl:vt,refresh:g,source:_e,state:y.getState()},b))}};h.preventDefault(),y.getState().isOpen===!1&&(_.openOnFocus||Boolean(y.getState().query))?fe(re({event:h,props:_,query:y.getState().query,refresh:g,store:y},b)).then(function(){y.dispatch(h.key,{nextActiveItemId:_.defaultActiveItemId}),S(),setTimeout(O,0)}):(y.dispatch(h.key,{}),S(),O())}else if(h.key==="Escape")h.preventDefault(),y.dispatch(h.key,null),y.pendingRequests.cancelAll();else if(h.key==="Enter"){if(y.getState().activeItemId===null||y.getState().collections.every(function(H){return H.items.length===0}))return;h.preventDefault();var k=me(y.getState()),A=k.item,L=k.itemInputValue,C=k.itemUrl,N=k.source;if(h.metaKey||h.ctrlKey)C!==void 0&&(N.onSelect(re({event:h,item:A,itemInputValue:L,itemUrl:C,refresh:g,source:N,state:y.getState()},b)),_.navigator.navigateNewTab({itemUrl:C,item:A,state:y.getState()}));else if(h.shiftKey)C!==void 0&&(N.onSelect(re({event:h,item:A,itemInputValue:L,itemUrl:C,refresh:g,source:N,state:y.getState()},b)),_.navigator.navigateNewWindow({itemUrl:C,item:A,state:y.getState()}));else if(!h.altKey){if(C!==void 0)return N.onSelect(re({event:h,item:A,itemInputValue:L,itemUrl:C,refresh:g,source:N,state:y.getState()},b)),void _.navigator.navigate({itemUrl:C,item:A,state:y.getState()});fe(re({event:h,nextState:{isOpen:!1},props:_,query:L,refresh:g,store:y},b)).then(function(){N.onSelect(re({event:h,item:A,itemInputValue:L,itemUrl:C,refresh:g,source:N,state:y.getState()},b))})}}})(M({event:p,props:t,refresh:n,store:r},o))},onFocus:i,onBlur:function(){c||(r.dispatch("blur",null),t.debug||r.pendingRequests.cancelAll())},onClick:function(p){a.inputElement!==t.environment.document.activeElement||r.getState().isOpen||i(p)}},d)},getPanelProps:function(a){return M({onMouseDown:function(i){i.preventDefault()},onMouseLeave:function(){r.dispatch("mouseleave",null)}},a)},getListProps:function(a){return M({role:"listbox","aria-labelledby":"".concat(t.id,"-label"),id:"".concat(t.id,"-list")},a)},getItemProps:function(a){var i=a.item,c=a.source,s=Pe(a,Oa);return M({id:"".concat(t.id,"-item-").concat(i.__autocomplete_id),role:"option","aria-selected":r.getState().activeItemId===i.__autocomplete_id,onMouseMove:function(l){if(i.__autocomplete_id!==r.getState().activeItemId){r.dispatch("mousemove",i.__autocomplete_id);var u=me(r.getState());if(r.getState().activeItemId!==null&&u){var d=u.item,m=u.itemInputValue,p=u.itemUrl,v=u.source;v.onActive(M({event:l,item:d,itemInputValue:m,itemUrl:p,refresh:n,source:v,state:r.getState()},o))}}},onMouseDown:function(l){l.preventDefault()},onClick:function(l){var u=c.getItemInputValue({item:i,state:r.getState()}),d=c.getItemUrl({item:i,state:r.getState()});(d?Promise.resolve():fe(M({event:l,nextState:{isOpen:!1},props:t,query:u,refresh:n,store:r},o))).then(function(){c.onSelect(M({event:l,item:i,itemInputValue:u,itemUrl:d,refresh:n,source:c,state:r.getState()},o))})}},s)}}}function Hn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function Ea(e){for(var t=1;t0},reshape:function(m){return m.sources}},c),{},{id:(l=c.id)!==null&&l!==void 0?l:"autocomplete-".concat(Qo++),plugins:d,initialState:le({activeItemId:null,query:"",completion:null,collections:[],isOpen:!1,status:"idle",context:{}},c.initialState),onStateChange:function(m){var p;(p=c.onStateChange)===null||p===void 0||p.call(c,m),d.forEach(function(v){var h;return(h=v.onStateChange)===null||h===void 0?void 0:h.call(v,m)})},onSubmit:function(m){var p;(p=c.onSubmit)===null||p===void 0||p.call(c,m),d.forEach(function(v){var h;return(h=v.onSubmit)===null||h===void 0?void 0:h.call(v,m)})},onReset:function(m){var p;(p=c.onReset)===null||p===void 0||p.call(c,m),d.forEach(function(v){var h;return(h=v.onReset)===null||h===void 0?void 0:h.call(v,m)})},getSources:function(m){return Promise.all([].concat(oa(d.map(function(p){return p.getSources})),[c.getSources]).filter(Boolean).map(function(p){return Xo(p,m)})).then(function(p){return Me(p)}).then(function(p){return p.map(function(v){return le(le({},v),{},{onSelect:function(h){v.onSelect(h),s.forEach(function(_){var g;return(g=_.onSelect)===null||g===void 0?void 0:g.call(_,h)})},onActive:function(h){v.onActive(h),s.forEach(function(_){var g;return(g=_.onActive)===null||g===void 0?void 0:g.call(_,h)})}})})})},navigator:le({navigate:function(m){var p=m.itemUrl;u.location.assign(p)},navigateNewTab:function(m){var p=m.itemUrl,v=u.open(p,"_blank","noopener");v==null||v.focus()},navigateNewWindow:function(m){var p=m.itemUrl;u.open(p,"_blank","noopener")}},c.navigator)})}(e,t),r=na(ka,n,function(c){var s=c.prevState,l=c.state;n.onStateChange(oe({prevState:s,state:l,refresh:i},o))}),o=function(c){var s=c.store;return{setActiveItemId:function(l){s.dispatch("setActiveItemId",l)},setQuery:function(l){s.dispatch("setQuery",l)},setCollections:function(l){var u=0,d=l.map(function(m){return $e($e({},m),{},{items:Me(m.items).map(function(p){return $e($e({},p),{},{__autocomplete_id:u++})})})});s.dispatch("setCollections",d)},setIsOpen:function(l){s.dispatch("setIsOpen",l)},setStatus:function(l){s.dispatch("setStatus",l)},setContext:function(l){s.dispatch("setContext",l)}}}({store:r}),a=wa(oe({props:n,refresh:i,store:r},o));function i(){return fe(oe({event:new Event("input"),nextState:{isOpen:r.getState().isOpen},props:n,query:r.getState().query,refresh:i,store:r},o))}return n.plugins.forEach(function(c){var s;return(s=c.subscribe)===null||s===void 0?void 0:s.call(c,oe(oe({},o),{},{refresh:i,onSelect:function(l){t.push({onSelect:l})},onActive:function(l){t.push({onActive:l})}}))}),function(c){var s,l=c.metadata,u=c.environment;if(!((s=u.navigator)===null||s===void 0)&&s.userAgent.includes("Algolia Crawler")){var d=u.document.createElement("meta"),m=u.document.querySelector("head");d.name="algolia:metadata",setTimeout(function(){d.content=JSON.stringify(l),m.appendChild(d)},0)}}({metadata:ja({plugins:n.plugins,options:e}),environment:n.environment}),oe(oe({refresh:i},a),o)}function Da(e){var t=e.translations,n=(t===void 0?{}:t).searchByText,r=n===void 0?"Search by":n;return f.createElement("a",{href:"https://www.algolia.com/ref/docsearch/?utm_source=".concat(window.location.hostname,"&utm_medium=referral&utm_content=powered_by&utm_campaign=docsearch"),target:"_blank",rel:"noopener noreferrer"},f.createElement("span",{className:"DocSearch-Label"},r),f.createElement("svg",{width:"77",height:"19"},f.createElement("path",{d:"M2.5067 0h14.0245c1.384.001 2.5058 1.1205 2.5068 2.5017V16.5c-.0014 1.3808-1.1232 2.4995-2.5068 2.5H2.5067C1.1232 18.9995.0014 17.8808 0 16.5V2.4958A2.495 2.495 0 01.735.7294 2.505 2.505 0 012.5068 0zM37.95 15.0695c-3.7068.0168-3.7068-2.986-3.7068-3.4634L34.2372.3576 36.498 0v11.1794c0 .2715 0 1.9889 1.452 1.994v1.8961zm-9.1666-1.8388c.694 0 1.2086-.0397 1.5678-.1088v-2.2934a5.3639 5.3639 0 00-1.3303-.1679 4.8283 4.8283 0 00-.758.0582 2.2845 2.2845 0 00-.688.2024c-.2029.0979-.371.2362-.4919.4142-.1268.1788-.185.2826-.185.5533 0 .5297.185.8359.5205 1.0375.3355.2016.7928.3053 1.365.3053v-.0008zm-.1969-8.1817c.7463 0 1.3768.092 1.8856.2767.5088.1838.9195.4428 1.2204.7717.3068.334.5147.7777.6423 1.251.1327.4723.196.991.196 1.5603v5.798c-.5235.1036-1.05.192-1.5787.2649-.7048.1037-1.4976.156-2.3774.156-.5832 0-1.1215-.0582-1.6016-.167a3.385 3.385 0 01-1.2432-.5364 2.6034 2.6034 0 01-.8037-.9565c-.191-.3922-.29-.9447-.29-1.5208 0-.5533.11-.905.3246-1.2863a2.7351 2.7351 0 01.8849-.9329c.376-.242.8029-.415 1.2948-.5187a7.4517 7.4517 0 011.5381-.156 7.1162 7.1162 0 011.6667.2024V8.886c0-.259-.0296-.5061-.093-.7372a1.5847 1.5847 0 00-.3245-.6158 1.5079 1.5079 0 00-.6119-.4158 2.6788 2.6788 0 00-.966-.173c-.5206 0-.9948.0634-1.4283.1384a6.5481 6.5481 0 00-1.065.259l-.2712-1.849c.2831-.0986.7048-.1964 1.2491-.2943a9.2979 9.2979 0 011.752-.1501v.0008zm44.6597 8.1193c.6947 0 1.2086-.0405 1.567-.1097v-2.2942a5.3743 5.3743 0 00-1.3303-.1679c-.2485 0-.503.0177-.7573.0582a2.2853 2.2853 0 00-.688.2024 1.2333 1.2333 0 00-.4918.4142c-.1268.1788-.1843.2826-.1843.5533 0 .5297.1843.8359.5198 1.0375.3414.2066.7927.3053 1.365.3053v.0009zm-.191-8.1767c.7463 0 1.3768.0912 1.8856.2759.5087.1847.9195.4436 1.2204.7717.3.329.5147.7786.6414 1.251a5.7248 5.7248 0 01.197 1.562v5.7972c-.3466.0742-.874.1602-1.5788.2648-.7049.1038-1.4976.1552-2.3774.1552-.5832 0-1.1215-.0573-1.6016-.167a3.385 3.385 0 01-1.2432-.5356 2.6034 2.6034 0 01-.8038-.9565c-.191-.3922-.2898-.9447-.2898-1.5216 0-.5533.1098-.905.3245-1.2854a2.7373 2.7373 0 01.8849-.9338c.376-.2412.8029-.4141 1.2947-.5178a7.4545 7.4545 0 012.325-.1097c.2781.0287.5672.081.879.156v-.3686a2.7781 2.7781 0 00-.092-.738 1.5788 1.5788 0 00-.3246-.6166 1.5079 1.5079 0 00-.612-.415 2.6797 2.6797 0 00-.966-.1729c-.5205 0-.9947.0633-1.4282.1384a6.5608 6.5608 0 00-1.065.259l-.2712-1.8498c.283-.0979.7048-.1957 1.2491-.2935a9.8597 9.8597 0 011.752-.1494zm-6.79-1.072c-.7576.001-1.373-.6103-1.3759-1.3664 0-.755.6128-1.3664 1.376-1.3664.764 0 1.3775.6115 1.3775 1.3664s-.6195 1.3664-1.3776 1.3664zm1.1393 11.1507h-2.2726V5.3409l2.2734-.3568v10.0845l-.0008.0017zm-3.984 0c-3.707.0168-3.707-2.986-3.707-3.4642L59.7069.3576 61.9685 0v11.1794c0 .2715 0 1.9889 1.452 1.994V15.0703zm-7.3512-4.979c0-.975-.2138-1.7873-.6305-2.3516-.4167-.571-.9998-.852-1.747-.852-.7454 0-1.3302.281-1.7452.852-.4166.5702-.6195 1.3765-.6195 2.3516 0 .9851.208 1.6473.6254 2.2183.4158.576.9998.8587 1.7461.8587.7454 0 1.3303-.2885 1.747-.8595.4158-.5761.6237-1.2315.6237-2.2184v.0009zm2.3132-.006c0 .7609-.1099 1.3361-.3356 1.9654a4.654 4.654 0 01-.9533 1.6076A4.214 4.214 0 0155.613 14.69c-.579.2412-1.4697.3795-1.9143.3795-.4462-.005-1.3303-.1324-1.9033-.3795a4.307 4.307 0 01-1.474-1.0316c-.4115-.4445-.7293-.9801-.9609-1.6076a5.3423 5.3423 0 01-.3465-1.9653c0-.7608.104-1.493.3356-2.1155a4.683 4.683 0 01.9719-1.5958 4.3383 4.3383 0 011.479-1.0257c.5739-.242 1.2043-.3567 1.8864-.3567.6829 0 1.3125.1197 1.8906.3567a4.1245 4.1245 0 011.4816 1.0257 4.7587 4.7587 0 01.9592 1.5958c.2426.6225.3643 1.3547.3643 2.1155zm-17.0198 0c0 .9448.208 1.9932.6238 2.431.4166.4386.955.6579 1.6142.6579.3584 0 .6998-.0523 1.0176-.1502.3186-.0978.5721-.2134.775-.3517V7.0784a8.8706 8.8706 0 00-1.4926-.1906c-.8206-.0236-1.4452.312-1.8847.8468-.4335.5365-.6533 1.476-.6533 2.3516v-.0008zm6.2863 4.4485c0 1.5385-.3938 2.662-1.1866 3.3773-.791.7136-2.0005 1.0712-3.6308 1.0712-.5958 0-1.834-.1156-2.8228-.334l.3643-1.7865c.8282.173 1.9202.2193 2.4932.2193.9077 0 1.555-.1847 1.943-.5533.388-.3686.578-.916.578-1.643v-.3687a6.8289 6.8289 0 01-.8848.3349c-.3634.1096-.786.167-1.261.167-.6246 0-1.1917-.0979-1.7055-.2944a3.5554 3.5554 0 01-1.3244-.8645c-.3642-.3796-.6541-.8579-.8561-1.4289-.2028-.571-.3068-1.59-.3068-2.339 0-.7034.1099-1.5856.3245-2.1735.2198-.5871.5316-1.0949.9542-1.515.4167-.42.9255-.743 1.5213-.98a5.5923 5.5923 0 012.052-.3855c.7353 0 1.4114.092 2.0707.2024.6592.1088 1.2204.2236 1.6776.35v8.945-.0008zM11.5026 4.2418v-.6511c-.0005-.4553-.3704-.8241-.8266-.8241H8.749c-.4561 0-.826.3688-.8265.824v.669c0 .0742.0693.1264.1445.1096a6.0346 6.0346 0 011.6768-.2362 6.125 6.125 0 011.6202.2185.1116.1116 0 00.1386-.1097zm-5.2806.852l-.3296-.3282a.8266.8266 0 00-1.168 0l-.393.3922a.8199.8199 0 000 1.164l.3237.323c.0524.0515.1268.0397.1733-.0117.191-.259.3989-.507.6305-.7372.2374-.2362.48-.4437.7462-.6335.0575-.0354.0634-.1155.017-.1687zm3.5159 2.069v2.818c0 .081.0879.1392.1622.0987l2.5102-1.2964c.0574-.0287.0752-.0987.0464-.1552a3.1237 3.1237 0 00-2.603-1.574c-.0575 0-.115.0456-.115.1097l-.0008-.0009zm.0008 6.789c-2.0933.0005-3.7915-1.6912-3.7947-3.7804C5.9468 8.0821 7.6452 6.39 9.7387 6.391c2.0932-.0005 3.7911 1.6914 3.794 3.7804a3.7783 3.7783 0 01-1.1124 2.675 3.7936 3.7936 0 01-2.6824 1.1054h.0008zM9.738 4.8002c-1.9218 0-3.6975 1.0232-4.6584 2.6841a5.359 5.359 0 000 5.3683c.9609 1.661 2.7366 2.6841 4.6584 2.6841a5.3891 5.3891 0 003.8073-1.5725 5.3675 5.3675 0 001.578-3.7987 5.3574 5.3574 0 00-1.5771-3.797A5.379 5.379 0 009.7387 4.801l-.0008-.0008z",fill:"currentColor",fillRule:"evenodd"})))}function Je(e){return f.createElement("svg",{width:"15",height:"15"},f.createElement("g",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.2"},e.children))}function xa(e){var t=e.translations,n=t===void 0?{}:t,r=n.selectText,o=r===void 0?"to select":r,a=n.navigateText,i=a===void 0?"to navigate":a,c=n.closeText,s=c===void 0?"to close":c,l=n.searchByText,u=l===void 0?"Search by":l;return f.createElement(f.Fragment,null,f.createElement("div",{className:"DocSearch-Logo"},f.createElement(Da,{translations:{searchByText:u}})),f.createElement("ul",{className:"DocSearch-Commands"},f.createElement("li",null,f.createElement("span",{className:"DocSearch-Commands-Key"},f.createElement(Je,null,f.createElement("path",{d:"M12 3.53088v3c0 1-1 2-2 2H4M7 11.53088l-3-3 3-3"}))),f.createElement("span",{className:"DocSearch-Label"},o)),f.createElement("li",null,f.createElement("span",{className:"DocSearch-Commands-Key"},f.createElement(Je,null,f.createElement("path",{d:"M7.5 3.5v8M10.5 8.5l-3 3-3-3"}))),f.createElement("span",{className:"DocSearch-Commands-Key"},f.createElement(Je,null,f.createElement("path",{d:"M7.5 11.5v-8M10.5 6.5l-3-3-3 3"}))),f.createElement("span",{className:"DocSearch-Label"},i)),f.createElement("li",null,f.createElement("span",{className:"DocSearch-Commands-Key"},f.createElement(Je,null,f.createElement("path",{d:"M13.6167 8.936c-.1065.3583-.6883.962-1.4875.962-.7993 0-1.653-.9165-1.653-2.1258v-.5678c0-1.2548.7896-2.1016 1.653-2.1016.8634 0 1.3601.4778 1.4875 1.0724M9 6c-.1352-.4735-.7506-.9219-1.46-.8972-.7092.0246-1.344.57-1.344 1.2166s.4198.8812 1.3445.9805C8.465 7.3992 8.968 7.9337 9 8.5c.032.5663-.454 1.398-1.4595 1.398C6.6593 9.898 6 9 5.963 8.4851m-1.4748.5368c-.2635.5941-.8099.876-1.5443.876s-1.7073-.6248-1.7073-2.204v-.4603c0-1.0416.721-2.131 1.7073-2.131.9864 0 1.6425 1.031 1.5443 2.2492h-2.956"}))),f.createElement("span",{className:"DocSearch-Label"},s))))}function Aa(e){var t=e.hit,n=e.children;return f.createElement("a",{href:t.url},n)}function Na(){return f.createElement("svg",{viewBox:"0 0 38 38",stroke:"currentColor",strokeOpacity:".5"},f.createElement("g",{fill:"none",fillRule:"evenodd"},f.createElement("g",{transform:"translate(1 1)",strokeWidth:"2"},f.createElement("circle",{strokeOpacity:".3",cx:"18",cy:"18",r:"18"}),f.createElement("path",{d:"M36 18c0-9.94-8.06-18-18-18"},f.createElement("animateTransform",{attributeName:"transform",type:"rotate",from:"0 18 18",to:"360 18 18",dur:"1s",repeatCount:"indefinite"})))))}function Ta(){return f.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20"},f.createElement("g",{stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round"},f.createElement("path",{d:"M3.18 6.6a8.23 8.23 0 1112.93 9.94h0a8.23 8.23 0 01-11.63 0"}),f.createElement("path",{d:"M6.44 7.25H2.55V3.36M10.45 6v5.6M10.45 11.6L13 13"})))}function Lt(){return f.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20"},f.createElement("path",{d:"M10 10l5.09-5.09L10 10l5.09 5.09L10 10zm0 0L4.91 4.91 10 10l-5.09 5.09L10 10z",stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round"}))}function La(){return f.createElement("svg",{className:"DocSearch-Hit-Select-Icon",width:"20",height:"20",viewBox:"0 0 20 20"},f.createElement("g",{stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round"},f.createElement("path",{d:"M18 3v4c0 2-2 4-4 4H2"}),f.createElement("path",{d:"M8 17l-6-6 6-6"})))}var Ra=function(){return f.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20"},f.createElement("path",{d:"M17 6v12c0 .52-.2 1-1 1H4c-.7 0-1-.33-1-1V2c0-.55.42-1 1-1h8l5 5zM14 8h-3.13c-.51 0-.87-.34-.87-.87V4",stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinejoin:"round"}))};function Ha(e){switch(e.type){case"lvl1":return f.createElement(Ra,null);case"content":return f.createElement(qa,null);default:return f.createElement(Ma,null)}}function Ma(){return f.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20"},f.createElement("path",{d:"M13 13h4-4V8H7v5h6v4-4H7V8H3h4V3v5h6V3v5h4-4v5zm-6 0v4-4H3h4z",stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round"}))}function qa(){return f.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20"},f.createElement("path",{d:"M17 5H3h14zm0 5H3h14zm0 5H3h14z",stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinejoin:"round"}))}function Un(){return f.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20"},f.createElement("path",{d:"M10 14.2L5 17l1-5.6-4-4 5.5-.7 2.5-5 2.5 5 5.6.8-4 4 .9 5.5z",stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinejoin:"round"}))}function Va(){return f.createElement("svg",{width:"40",height:"40",viewBox:"0 0 20 20",fill:"none",fillRule:"evenodd",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"},f.createElement("path",{d:"M19 4.8a16 16 0 00-2-1.2m-3.3-1.2A16 16 0 001.1 4.7M16.7 8a12 12 0 00-2.8-1.4M10 6a12 12 0 00-6.7 2M12.3 14.7a4 4 0 00-4.5 0M14.5 11.4A8 8 0 0010 10M3 16L18 2M10 18h0"}))}function Ua(){return f.createElement("svg",{width:"40",height:"40",viewBox:"0 0 20 20",fill:"none",fillRule:"evenodd",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"},f.createElement("path",{d:"M15.5 4.8c2 3 1.7 7-1 9.7h0l4.3 4.3-4.3-4.3a7.8 7.8 0 01-9.8 1m-2.2-2.2A7.8 7.8 0 0113.2 2.4M2 18L18 2"}))}function Fa(e){var t=e.translations,n=t===void 0?{}:t,r=n.titleText,o=r===void 0?"Unable to fetch results":r,a=n.helpText,i=a===void 0?"You might want to check your network connection.":a;return f.createElement("div",{className:"DocSearch-ErrorScreen"},f.createElement("div",{className:"DocSearch-Screen-Icon"},f.createElement(Va,null)),f.createElement("p",{className:"DocSearch-Title"},o),f.createElement("p",{className:"DocSearch-Help"},i))}var Ba=["translations"];function $a(e){return function(t){if(Array.isArray(t))return wt(t)}(e)||function(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}(e)||function(t,n){if(!!t){if(typeof t=="string")return wt(t,n);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return wt(t,n)}}(e)||function(){throw new TypeError(`Invalid attempt to spread non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function wt(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0||(u[s]=i[s]);return u}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function Wa(e){var t=e.translations,n=t===void 0?{}:t,r=za(e,Ba),o=n.noResultsText,a=o===void 0?"No results for":o,i=n.suggestedQueryText,c=i===void 0?"Try searching for":i,s=n.reportMissingResultsText,l=s===void 0?"Believe this query should return results?":s,u=n.reportMissingResultsLinkText,d=u===void 0?"Let us know.":u,m=r.state.context.searchSuggestions;return f.createElement("div",{className:"DocSearch-NoResults"},f.createElement("div",{className:"DocSearch-Screen-Icon"},f.createElement(Ua,null)),f.createElement("p",{className:"DocSearch-Title"},a,' "',f.createElement("strong",null,r.state.query),'"'),m&&m.length>0&&f.createElement("div",{className:"DocSearch-NoResults-Prefill-List"},f.createElement("p",{className:"DocSearch-Help"},c,":"),f.createElement("ul",null,m.slice(0,3).reduce(function(p,v){return[].concat($a(p),[f.createElement("li",{key:v},f.createElement("button",{className:"DocSearch-Prefill",key:v,type:"button",onClick:function(){r.setQuery(v.toLowerCase()+" "),r.refresh(),r.inputRef.current.focus()}},v))])},[]))),r.getMissingResultsUrl&&f.createElement("p",{className:"DocSearch-Help"},"".concat(l," "),f.createElement("a",{href:r.getMissingResultsUrl({query:r.state.query}),target:"_blank",rel:"noopener noreferrer"},d)))}var Ka=["hit","attribute","tagName"];function Fn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function Bn(e){for(var t=1;t=0||(u[s]=i[s]);return u}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function $n(e,t){return t.split(".").reduce(function(n,r){return n!=null&&n[r]?n[r]:null},e)}function se(e){var t=e.hit,n=e.attribute,r=e.tagName;return z(r===void 0?"span":r,Bn(Bn({},Qa(e,Ka)),{},{dangerouslySetInnerHTML:{__html:$n(t,"_snippetResult.".concat(n,".value"))||$n(t,n)}}))}function zn(e,t){return function(n){if(Array.isArray(n))return n}(e)||function(n,r){var o=n==null?null:typeof Symbol!="undefined"&&n[Symbol.iterator]||n["@@iterator"];if(o!=null){var a,i,c=[],s=!0,l=!1;try{for(o=o.call(n);!(s=(a=o.next()).done)&&(c.push(a.value),!r||c.length!==r);s=!0);}catch(u){l=!0,i=u}finally{try{s||o.return==null||o.return()}finally{if(l)throw i}}return c}}(e,t)||function(n,r){if(!!n){if(typeof n=="string")return Wn(n,r);var o=Object.prototype.toString.call(n).slice(8,-1);if(o==="Object"&&n.constructor&&(o=n.constructor.name),o==="Map"||o==="Set")return Array.from(n);if(o==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return Wn(n,r)}}(e,t)||function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function Wn(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n|<\/mark>)/g,Za=RegExp(Ar.source);function Nr(e){var t,n,r,o,a,i=e;if(!i.__docsearch_parent&&!e._highlightResult)return e.hierarchy.lvl0;var c=((i.__docsearch_parent?(t=i.__docsearch_parent)===null||t===void 0||(n=t._highlightResult)===null||n===void 0||(r=n.hierarchy)===null||r===void 0?void 0:r.lvl0:(o=e._highlightResult)===null||o===void 0||(a=o.hierarchy)===null||a===void 0?void 0:a.lvl0)||{}).value;return c&&Za.test(c)?c.replace(Ar,""):c}function Ht(){return Ht=Object.assign||function(e){for(var t=1;t=0||(u[s]=i[s]);return u}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function ni(e){var t=e.translations,n=t===void 0?{}:t,r=ti(e,ei),o=n.recentSearchesTitle,a=o===void 0?"Recent":o,i=n.noRecentSearchesText,c=i===void 0?"No recent searches":i,s=n.saveRecentSearchButtonTitle,l=s===void 0?"Save this search":s,u=n.removeRecentSearchButtonTitle,d=u===void 0?"Remove this search from history":u,m=n.favoriteSearchesTitle,p=m===void 0?"Favorite":m,v=n.removeFavoriteSearchButtonTitle,h=v===void 0?"Remove this search from favorites":v;return r.state.status==="idle"&&r.hasCollections===!1?r.disableUserPersonalization?null:f.createElement("div",{className:"DocSearch-StartScreen"},f.createElement("p",{className:"DocSearch-Help"},c)):r.hasCollections===!1?null:f.createElement("div",{className:"DocSearch-Dropdown-Container"},f.createElement(Rt,ct({},r,{title:a,collection:r.state.collections[0],renderIcon:function(){return f.createElement("div",{className:"DocSearch-Hit-icon"},f.createElement(Ta,null))},renderAction:function(_){var g=_.item,y=_.runFavoriteTransition,b=_.runDeleteTransition;return f.createElement(f.Fragment,null,f.createElement("div",{className:"DocSearch-Hit-action"},f.createElement("button",{className:"DocSearch-Hit-action-button",title:l,type:"submit",onClick:function(O){O.preventDefault(),O.stopPropagation(),y(function(){r.favoriteSearches.add(g),r.recentSearches.remove(g),r.refresh()})}},f.createElement(Un,null))),f.createElement("div",{className:"DocSearch-Hit-action"},f.createElement("button",{className:"DocSearch-Hit-action-button",title:d,type:"submit",onClick:function(O){O.preventDefault(),O.stopPropagation(),b(function(){r.recentSearches.remove(g),r.refresh()})}},f.createElement(Lt,null))))}})),f.createElement(Rt,ct({},r,{title:p,collection:r.state.collections[1],renderIcon:function(){return f.createElement("div",{className:"DocSearch-Hit-icon"},f.createElement(Un,null))},renderAction:function(_){var g=_.item,y=_.runDeleteTransition;return f.createElement("div",{className:"DocSearch-Hit-action"},f.createElement("button",{className:"DocSearch-Hit-action-button",title:h,type:"submit",onClick:function(b){b.preventDefault(),b.stopPropagation(),y(function(){r.favoriteSearches.remove(g),r.refresh()})}},f.createElement(Lt,null)))}})))}var ri=["translations"];function ut(){return ut=Object.assign||function(e){for(var t=1;t=0||(u[s]=i[s]);return u}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var ai=f.memo(function(e){var t=e.translations,n=t===void 0?{}:t,r=oi(e,ri);if(r.state.status==="error")return f.createElement(Fa,{translations:n==null?void 0:n.errorScreen});var o=r.state.collections.some(function(a){return a.items.length>0});return r.state.query?o===!1?f.createElement(Wa,ut({},r,{translations:n==null?void 0:n.noResultsScreen})):f.createElement(Xa,r):f.createElement(ni,ut({},r,{hasCollections:o,translations:n==null?void 0:n.startScreen}))},function(e,t){return t.state.status==="loading"||t.state.status==="stalled"}),ii=["translations"];function lt(){return lt=Object.assign||function(e){for(var t=1;t=0||(u[s]=i[s]);return u}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function ui(e){var t=e.translations,n=t===void 0?{}:t,r=ci(e,ii),o=n.resetButtonTitle,a=o===void 0?"Clear the query":o,i=n.resetButtonAriaLabel,c=i===void 0?"Clear the query":i,s=n.cancelButtonText,l=s===void 0?"Cancel":s,u=n.cancelButtonAriaLabel,d=u===void 0?"Cancel":u,m=r.getFormProps({inputElement:r.inputRef.current}).onReset;return f.useEffect(function(){r.autoFocus&&r.inputRef.current&&r.inputRef.current.focus()},[r.autoFocus,r.inputRef]),f.useEffect(function(){r.isFromSelection&&r.inputRef.current&&r.inputRef.current.select()},[r.isFromSelection,r.inputRef]),f.createElement(f.Fragment,null,f.createElement("form",{className:"DocSearch-Form",onSubmit:function(p){p.preventDefault()},onReset:m},f.createElement("label",lt({className:"DocSearch-MagnifierLabel"},r.getLabelProps()),f.createElement(Cr,null)),f.createElement("div",{className:"DocSearch-LoadingIndicator"},f.createElement(Na,null)),f.createElement("input",lt({className:"DocSearch-Input",ref:r.inputRef},r.getInputProps({inputElement:r.inputRef.current,autoFocus:r.autoFocus,maxLength:64}))),f.createElement("button",{type:"reset",title:a,className:"DocSearch-Reset","aria-label":c,hidden:!r.state.query},f.createElement(Lt,null))),f.createElement("button",{className:"DocSearch-Cancel",type:"reset","aria-label":d,onClick:r.onClose},l))}var li=["_highlightResult","_snippetResult"];function si(e,t){if(e==null)return{};var n,r,o=function(i,c){if(i==null)return{};var s,l,u={},d=Object.keys(i);for(l=0;l=0||(u[s]=i[s]);return u}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function fi(e){return function(){var t="__TEST_KEY__";try{return localStorage.setItem(t,""),localStorage.removeItem(t),!0}catch{return!1}}()===!1?{setItem:function(){},getItem:function(){return[]}}:{setItem:function(t){return window.localStorage.setItem(e,JSON.stringify(t))},getItem:function(){var t=window.localStorage.getItem(e);return t?JSON.parse(t):[]}}}function Qn(e){var t=e.key,n=e.limit,r=n===void 0?5:n,o=fi(t),a=o.getItem().slice(0,r);return{add:function(i){var c=i,s=(c._highlightResult,c._snippetResult,si(c,li)),l=a.findIndex(function(u){return u.objectID===s.objectID});l>-1&&a.splice(l,1),a.unshift(s),a=a.slice(0,r),o.setItem(a)},remove:function(i){a=a.filter(function(c){return c.objectID!==i.objectID}),o.setItem(a)},getAll:function(){return a}}}var pi=["facetName","facetQuery"];function mi(e){var t,n="algoliasearch-client-js-".concat(e.key),r=function(){return t===void 0&&(t=e.localStorage||window.localStorage),t},o=function(){return JSON.parse(r().getItem(n)||"{}")};return{get:function(a,i){var c=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{miss:function(){return Promise.resolve()}};return Promise.resolve().then(function(){var s=JSON.stringify(a),l=o()[s];return Promise.all([l||i(),l!==void 0])}).then(function(s){var l=nt(s,2),u=l[0],d=l[1];return Promise.all([u,d||c.miss(u)])}).then(function(s){return nt(s,1)[0]})},set:function(a,i){return Promise.resolve().then(function(){var c=o();return c[JSON.stringify(a)]=i,r().setItem(n,JSON.stringify(c)),i})},delete:function(a){return Promise.resolve().then(function(){var i=o();delete i[JSON.stringify(a)],r().setItem(n,JSON.stringify(i))})},clear:function(){return Promise.resolve().then(function(){r().removeItem(n)})}}}function Ie(e){var t=rt(e.caches),n=t.shift();return n===void 0?{get:function(r,o){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{miss:function(){return Promise.resolve()}};return o().then(function(i){return Promise.all([i,a.miss(i)])}).then(function(i){return nt(i,1)[0]})},set:function(r,o){return Promise.resolve(o)},delete:function(r){return Promise.resolve()},clear:function(){return Promise.resolve()}}:{get:function(r,o){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{miss:function(){return Promise.resolve()}};return n.get(r,o,a).catch(function(){return Ie({caches:t}).get(r,o,a)})},set:function(r,o){return n.set(r,o).catch(function(){return Ie({caches:t}).set(r,o)})},delete:function(r){return n.delete(r).catch(function(){return Ie({caches:t}).delete(r)})},clear:function(){return n.clear().catch(function(){return Ie({caches:t}).clear()})}}}function Et(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{serializable:!0},t={};return{get:function(n,r){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{miss:function(){return Promise.resolve()}},a=JSON.stringify(n);if(a in t)return Promise.resolve(e.serializable?JSON.parse(t[a]):t[a]);var i=r(),c=o&&o.miss||function(){return Promise.resolve()};return i.then(function(s){return c(s)}).then(function(){return i})},set:function(n,r){return t[JSON.stringify(n)]=e.serializable?JSON.stringify(r):r,Promise.resolve(r)},delete:function(n){return delete t[JSON.stringify(n)],Promise.resolve()},clear:function(){return t={},Promise.resolve()}}}function di(e){for(var t=e.length-1;t>0;t--){var n=Math.floor(Math.random()*(t+1)),r=e[t];e[t]=e[n],e[n]=r}return e}function Tr(e,t){return t&&Object.keys(t).forEach(function(n){e[n]=t[n](e)}),e}function ft(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r0?r:void 0,timeout:n.timeout||t,headers:n.headers||{},queryParameters:n.queryParameters||{},cacheable:n.cacheable}}var de={Read:1,Write:2,Any:3},Lr=1,hi=2,Rr=3;function Hr(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Lr;return P(P({},e),{},{status:t,lastUpdate:Date.now()})}function Mr(e){return typeof e=="string"?{protocol:"https",url:e,accept:de.Any}:{protocol:e.protocol||"https",url:e.url,accept:e.accept||de.Any}}var Gn="GET",pt="POST";function vi(e,t){return Promise.all(t.map(function(n){return e.get(n,function(){return Promise.resolve(Hr(n))})})).then(function(n){var r=n.filter(function(i){return function(c){return c.status===Lr||Date.now()-c.lastUpdate>12e4}(i)}),o=n.filter(function(i){return function(c){return c.status===Rr&&Date.now()-c.lastUpdate<=12e4}(i)}),a=[].concat(rt(r),rt(o));return{getTimeout:function(i,c){return(o.length===0&&i===0?1:o.length+3+i)*c},statelessHosts:a.length>0?a.map(function(i){return Mr(i)}):t}})}function Zn(e,t,n,r){var o=[],a=function(m,p){if(!(m.method===Gn||m.data===void 0&&p.data===void 0)){var v=Array.isArray(m.data)?m.data:P(P({},m.data),p.data);return JSON.stringify(v)}}(n,r),i=function(m,p){var v=P(P({},m.headers),p.headers),h={};return Object.keys(v).forEach(function(_){var g=v[_];h[_.toLowerCase()]=g}),h}(e,r),c=n.method,s=n.method!==Gn?{}:P(P({},n.data),r.data),l=P(P(P({"x-algolia-agent":e.userAgent.value},e.queryParameters),s),r.queryParameters),u=0,d=function m(p,v){var h=p.pop();if(h===void 0)throw{name:"RetryError",message:"Unreachable hosts - your application id may be incorrect. If the error persists, contact support@algolia.com.",transporterStackTrace:Xn(o)};var _={data:a,headers:i,method:c,url:gi(h,n.path,l),connectTimeout:v(u,e.timeouts.connect),responseTimeout:v(u,r.timeout)},g=function(b){var O={request:_,response:b,host:h,triesLeft:p.length};return o.push(O),O},y={onSucess:function(b){return function(O){try{return JSON.parse(O.content)}catch(S){throw function(k,A){return{name:"DeserializationError",message:k,response:A}}(S.message,O)}}(b)},onRetry:function(b){var O=g(b);return b.isTimedOut&&u++,Promise.all([e.logger.info("Retryable failure",Vr(O)),e.hostsCache.set(h,Hr(h,b.isTimedOut?Rr:hi))]).then(function(){return m(p,v)})},onFail:function(b){throw g(b),function(O,S){var k=O.content,A=O.status,L=k;try{L=JSON.parse(k).message}catch{}return function(C,N,H){return{name:"ApiError",message:C,status:N,transporterStackTrace:H}}(L,A,S)}(b,Xn(o))}};return e.requester.send(_).then(function(b){return function(O,S){return function(k){var A=k.status;return k.isTimedOut||function(L){var C=L.isTimedOut,N=L.status;return!C&&~~N==0}(k)||~~(A/100)!=2&&~~(A/100)!=4}(O)?S.onRetry(O):~~(O.status/100)==2?S.onSucess(O):S.onFail(O)}(b,y)})};return vi(e.hostsCache,t).then(function(m){return d(rt(m.statelessHosts).reverse(),m.getTimeout)})}function _i(e){var t={value:"Algolia for JavaScript (".concat(e,")"),add:function(n){var r="; ".concat(n.segment).concat(n.version!==void 0?" (".concat(n.version,")"):"");return t.value.indexOf(r)===-1&&(t.value="".concat(t.value).concat(r)),t}};return t}function gi(e,t,n){var r=qr(n),o="".concat(e.protocol,"://").concat(e.url,"/").concat(t.charAt(0)==="/"?t.substr(1):t);return r.length&&(o+="?".concat(r)),o}function qr(e){return Object.keys(e).map(function(t){return ft("%s=%s",t,(n=e[t],Object.prototype.toString.call(n)==="[object Object]"||Object.prototype.toString.call(n)==="[object Array]"?JSON.stringify(e[t]):e[t]));var n}).join("&")}function Xn(e){return e.map(function(t){return Vr(t)})}function Vr(e){var t=e.request.headers["x-algolia-api-key"]?{"x-algolia-api-key":"*****"}:{};return P(P({},e),{},{request:P(P({},e.request),{},{headers:P(P({},e.request.headers),t)})})}var yi=function(e){var t=e.appId,n=function(a,i,c){var s={"x-algolia-api-key":c,"x-algolia-application-id":i};return{headers:function(){return a===Xe.WithinHeaders?s:{}},queryParameters:function(){return a===Xe.WithinQueryParameters?s:{}}}}(e.authMode!==void 0?e.authMode:Xe.WithinHeaders,t,e.apiKey),r=function(a){var i=a.hostsCache,c=a.logger,s=a.requester,l=a.requestsCache,u=a.responsesCache,d=a.timeouts,m=a.userAgent,p=a.hosts,v=a.queryParameters,h={hostsCache:i,logger:c,requester:s,requestsCache:l,responsesCache:u,timeouts:d,userAgent:m,headers:a.headers,queryParameters:v,hosts:p.map(function(_){return Mr(_)}),read:function(_,g){var y=Yn(g,h.timeouts.read),b=function(){return Zn(h,h.hosts.filter(function(S){return(S.accept&de.Read)!=0}),_,y)};if((y.cacheable!==void 0?y.cacheable:_.cacheable)!==!0)return b();var O={request:_,mappedRequestOptions:y,transporter:{queryParameters:h.queryParameters,headers:h.headers}};return h.responsesCache.get(O,function(){return h.requestsCache.get(O,function(){return h.requestsCache.set(O,b()).then(function(S){return Promise.all([h.requestsCache.delete(O),S])},function(S){return Promise.all([h.requestsCache.delete(O),Promise.reject(S)])}).then(function(S){var k=nt(S,2);return k[0],k[1]})})},{miss:function(S){return h.responsesCache.set(O,S)}})},write:function(_,g){return Zn(h,h.hosts.filter(function(y){return(y.accept&de.Write)!=0}),_,Yn(g,h.timeouts.write))}};return h}(P(P({hosts:[{url:"".concat(t,"-dsn.algolia.net"),accept:de.Read},{url:"".concat(t,".algolia.net"),accept:de.Write}].concat(di([{url:"".concat(t,"-1.algolianet.com")},{url:"".concat(t,"-2.algolianet.com")},{url:"".concat(t,"-3.algolianet.com")}]))},e),{},{headers:P(P(P({},n.headers()),{"content-type":"application/x-www-form-urlencoded"}),e.headers),queryParameters:P(P({},n.queryParameters()),e.queryParameters)})),o={transporter:r,appId:t,addAlgoliaAgent:function(a,i){r.userAgent.add({segment:a,version:i})},clearCache:function(){return Promise.all([r.requestsCache.clear(),r.responsesCache.clear()]).then(function(){})}};return Tr(o,e.methods)},Ur=function(e){return function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r={transporter:e.transporter,appId:e.appId,indexName:t};return Tr(r,n.methods)}},er=function(e){return function(t,n){var r=t.map(function(o){return P(P({},o),{},{params:qr(o.params||{})})});return e.transporter.read({method:pt,path:"1/indexes/*/queries",data:{requests:r},cacheable:!0},n)}},tr=function(e){return function(t,n){return Promise.all(t.map(function(r){var o=r.params,a=o.facetName,i=o.facetQuery,c=Io(o,pi);return Ur(e)(r.indexName,{methods:{searchForFacetValues:Fr}}).searchForFacetValues(a,i,P(P({},n),c))}))}},bi=function(e){return function(t,n,r){return e.transporter.read({method:pt,path:ft("1/answers/%s/prediction",e.indexName),data:{query:t,queryLanguages:n},cacheable:!0},r)}},Oi=function(e){return function(t,n){return e.transporter.read({method:pt,path:ft("1/indexes/%s/query",e.indexName),data:{query:t},cacheable:!0},n)}},Fr=function(e){return function(t,n,r){return e.transporter.read({method:pt,path:ft("1/indexes/%s/facets/%s/query",e.indexName,t),data:{facetQuery:n},cacheable:!0},r)}},Si=1,wi=2,Ei=3;function Br(e,t,n){var r,o={appId:e,apiKey:t,timeouts:{connect:1,read:2,write:30},requester:{send:function(a){return new Promise(function(i){var c=new XMLHttpRequest;c.open(a.method,a.url,!0),Object.keys(a.headers).forEach(function(d){return c.setRequestHeader(d,a.headers[d])});var s,l=function(d,m){return setTimeout(function(){c.abort(),i({status:0,content:m,isTimedOut:!0})},1e3*d)},u=l(a.connectTimeout,"Connection timeout");c.onreadystatechange=function(){c.readyState>c.OPENED&&s===void 0&&(clearTimeout(u),s=l(a.responseTimeout,"Socket timeout"))},c.onerror=function(){c.status===0&&(clearTimeout(u),clearTimeout(s),i({content:c.responseText||"Network request failed",status:c.status,isTimedOut:!1}))},c.onload=function(){clearTimeout(u),clearTimeout(s),i({content:c.responseText,status:c.status,isTimedOut:!1})},c.send(a.data)})}},logger:(r=Ei,{debug:function(a,i){return Si>=r&&console.debug(a,i),Promise.resolve()},info:function(a,i){return wi>=r&&console.info(a,i),Promise.resolve()},error:function(a,i){return console.error(a,i),Promise.resolve()}}),responsesCache:Et(),requestsCache:Et({serializable:!1}),hostsCache:Ie({caches:[mi({key:"".concat("4.8.5","-").concat(e)}),Et()]}),userAgent:_i("4.8.5").add({segment:"Browser",version:"lite"}),authMode:Xe.WithinQueryParameters};return yi(P(P(P({},o),n),{},{methods:{search:er,searchForFacetValues:tr,multipleQueries:er,multipleSearchForFacetValues:tr,initIndex:function(a){return function(i){return Ur(a)(i,{methods:{search:Oi,searchForFacetValues:Fr,findAnswers:bi}})}}}}))}Br.version="4.8.5";var ji=["footer","searchBox"];function xe(){return xe=Object.assign||function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0||(u[s]=i[s]);return u}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function Ci(e){var t=e.appId,n=t===void 0?"BH4D9OD16A":t,r=e.apiKey,o=e.indexName,a=e.placeholder,i=a===void 0?"Search docs":a,c=e.searchParameters,s=e.onClose,l=s===void 0?Ga:s,u=e.transformItems,d=u===void 0?Jn:u,m=e.hitComponent,p=m===void 0?Aa:m,v=e.resultsFooterComponent,h=v===void 0?function(){return null}:v,_=e.navigator,g=e.initialScrollY,y=g===void 0?0:g,b=e.transformSearchClient,O=b===void 0?Jn:b,S=e.disableUserPersonalization,k=S!==void 0&&S,A=e.initialQuery,L=A===void 0?"":A,C=e.translations,N=C===void 0?{}:C,H=e.getMissingResultsUrl,dt=N.footer,ht=N.searchBox,vt=Ii(N,ji),_e=ki(f.useState({query:"",collections:[],completion:null,context:{},isOpen:!1,activeItemId:null,status:"idle"}),2),ge=_e[0],zr=_e[1],Ft=f.useRef(null),_t=f.useRef(null),Bt=f.useRef(null),qe=f.useRef(null),ye=f.useRef(null),X=f.useRef(10),$t=f.useRef(typeof window!="undefined"?window.getSelection().toString().slice(0,64):"").current,ne=f.useRef(L||$t).current,zt=function(j,x,V){return f.useMemo(function(){var U=Br(j,x);return U.addAlgoliaAgent("docsearch","3.0.0-alpha.50"),/docsearch.js \(.*\)/.test(U.transporter.userAgent.value)===!1&&U.addAlgoliaAgent("docsearch-react","3.0.0-alpha.50"),V(U)},[j,x,V])}(n,r,O),ce=f.useRef(Qn({key:"__DOCSEARCH_FAVORITE_SEARCHES__".concat(o),limit:10})).current,be=f.useRef(Qn({key:"__DOCSEARCH_RECENT_SEARCHES__".concat(o),limit:ce.getAll().length===0?7:4})).current,Oe=f.useCallback(function(j){if(!k){var x=j.type==="content"?j.__docsearch_parent:j;x&&ce.getAll().findIndex(function(V){return V.objectID===x.objectID})===-1&&be.add(x)}},[ce,be,k]),Se=f.useMemo(function(){return Ca({id:"docsearch",defaultActiveItemId:0,placeholder:i,openOnFocus:!0,initialState:{query:ne,context:{searchSuggestions:[]}},navigator:_,onStateChange:function(j){zr(j.state)},getSources:function(j){var x=j.query,V=j.state,U=j.setContext,ee=j.setStatus;return x?zt.search([{query:x,indexName:o,params:jt({attributesToRetrieve:["hierarchy.lvl0","hierarchy.lvl1","hierarchy.lvl2","hierarchy.lvl3","hierarchy.lvl4","hierarchy.lvl5","hierarchy.lvl6","content","type","url"],attributesToSnippet:["hierarchy.lvl1:".concat(X.current),"hierarchy.lvl2:".concat(X.current),"hierarchy.lvl3:".concat(X.current),"hierarchy.lvl4:".concat(X.current),"hierarchy.lvl5:".concat(X.current),"hierarchy.lvl6:".concat(X.current),"content:".concat(X.current)],snippetEllipsisText:"\u2026",highlightPreTag:"",highlightPostTag:"",hitsPerPage:20},c)}]).catch(function(T){throw T.name==="RetryError"&&ee("error"),T}).then(function(T){var F=T.results[0],B=F.hits,Jr=F.nbHits,gt=Kn(B,function(yt){return Nr(yt)});return V.context.searchSuggestions.length0&&(Wt(),ye.current&&ye.current.focus())},[ne,Wt]),f.useEffect(function(){function j(){if(_t.current){var x=.01*window.innerHeight;_t.current.style.setProperty("--docsearch-vh","".concat(x,"px"))}}return j(),window.addEventListener("resize",j),function(){window.removeEventListener("resize",j)}},[]),f.createElement("div",xe({ref:Ft},Kr({"aria-expanded":!0}),{className:["DocSearch","DocSearch-Container",ge.status==="stalled"&&"DocSearch-Container--Stalled",ge.status==="error"&&"DocSearch-Container--Errored"].filter(Boolean).join(" "),role:"button",tabIndex:0,onMouseDown:function(j){j.target===j.currentTarget&&l()}}),f.createElement("div",{className:"DocSearch-Modal",ref:_t},f.createElement("header",{className:"DocSearch-SearchBar",ref:Bt},f.createElement(ui,xe({},Se,{state:ge,autoFocus:ne.length===0,inputRef:ye,isFromSelection:Boolean(ne)&&ne===$t,translations:ht,onClose:l}))),f.createElement("div",{className:"DocSearch-Dropdown",ref:qe},f.createElement(ai,xe({},Se,{indexName:o,state:ge,hitComponent:p,resultsFooterComponent:h,disableUserPersonalization:k,recentSearches:be,favoriteSearches:ce,inputRef:ye,translations:vt,getMissingResultsUrl:H,onItemClick:function(j){Oe(j),l()}}))),f.createElement("footer",{className:"DocSearch-Footer"},f.createElement(xa,{translations:dt}))))}function Mt(){return Mt=Object.assign||function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n1&&arguments[1]!==void 0?arguments[1]:window;return typeof t=="string"?n.document.querySelector(t):t}(e.container,e.environment))}const Ai={name:"VanDocSearch",props:{lang:String,searchConfig:Object},watch:{lang(){this.initDocsearch()}},mounted(){this.initDocsearch()},methods:{initDocsearch(){this.searchConfig&&xi(Yt(Qt({},this.searchConfig),{container:"#docsearch"}))}}},Ni={id:"docsearch"};function Ti(e,t,n,r,o,a){return I(),D("div",Ni)}var Li=K(Ai,[["render",Ti]]);const Ri={name:"VanDocHeader",components:{SearchInput:Li},props:{lang:String,config:Object,versions:Array,langConfigs:Array},data(){return{packageVersion:to,showVersionPop:!1}},computed:{langLink(){return`#${this.$route.path.replace(this.lang,this.anotherLang.lang)}`},langLabel(){return this.anotherLang.label},anotherLang(){const e=this.langConfigs.filter(t=>t.lang!==this.lang);return e.length?e[0]:{}},searchConfig(){return this.config.searchConfig}},methods:{toggleVersionPop(){const e=!this.showVersionPop,t=e?"add":"remove";document.body[`${t}EventListener`]("click",this.checkHideVersionPop),this.showVersionPop=e},checkHideVersionPop(e){this.$refs.version.contains(e.target)||(this.showVersionPop=!1)},onSwitchLang(e){this.$router.push(this.$route.path.replace(e.from,e.to))},onSwitchVersion(e){e.link&&(location.href=e.link)}}},Hi={class:"van-doc-header"},Mi={class:"van-doc-row"},qi={class:"van-doc-header__top"},Vi={class:"van-doc-header__logo"},Ui=["src"],Fi={class:"van-doc-header__title"},Bi={key:0,class:"van-doc-header__subtitle"},$i={class:"van-doc-header__top-nav"},zi=["href"],Wi=["src"],Ki={key:1},Ji={key:0,ref:"version",class:"van-doc-header__top-nav-item"},Qi={key:0,class:"van-doc-header__version-pop"},Yi=["onClick"],Gi={key:1,class:"van-doc-header__top-nav-item"},Zi=["href"];function Xi(e,t,n,r,o,a){const i=$("search-input");return I(),D("div",Hi,[R("div",Mi,[R("div",qi,[R("a",Vi,[R("img",{src:n.config.logo},null,8,Ui),R("span",Fi,ae(n.config.title),1),n.config.subtitle?(I(),D("span",Bi,ae(n.config.subtitle),1)):Y("v-if",!0)]),R("ul",$i,[(I(!0),D(Ae,null,et(n.config.links,(c,s)=>(I(),D("li",{key:s,class:"van-doc-header__top-nav-item"},[R("a",{class:"van-doc-header__link",target:"_blank",href:c.url},[c.logo?(I(),D("img",{key:0,src:c.logo},null,8,Wi)):c.text?(I(),D("span",Ki,ae(c.text),1)):Y("v-if",!0)],8,zi)]))),128)),n.versions?(I(),D("li",Ji,[R("span",{class:"van-doc-header__cube van-doc-header__version",onClick:t[0]||(t[0]=(...c)=>a.toggleVersionPop&&a.toggleVersionPop(...c))},[uo(ae(o.packageVersion)+" ",1),ie(lo,{name:"van-doc-dropdown"},{default:tt(()=>[o.showVersionPop?(I(),D("div",Qi,[(I(!0),D(Ae,null,et(n.versions,(c,s)=>(I(),D("div",{key:s,class:"van-doc-header__version-pop-item",onClick:l=>a.onSwitchVersion(c)},ae(c.label),9,Yi))),128))])):Y("v-if",!0)]),_:1})])],512)):Y("v-if",!0),a.langLabel&&a.langLink?(I(),D("li",Gi,[R("a",{class:"van-doc-header__cube",href:a.langLink},ae(a.langLabel),9,Zi)])):Y("v-if",!0),a.searchConfig?(I(),st(i,{key:2,lang:n.lang,"search-config":a.searchConfig},null,8,["lang","search-config"])):Y("v-if",!0)])])])])}var ec=K(Ri,[["render",Xi]]);const tc={name:"VanDocContent",computed:{currentPage(){const{path:e}=this.$route;return e?e.split("/").slice(-1)[0]:this.$route.name}},watch:{$route(e,t){t.path!==e.path&&setTimeout(()=>{this.copyAction()})}},mounted(){this.copyAction()},methods:{onClick({target:e}){["H2","H3","H4","H5"].includes(e.tagName)&&this.scrollToAnchor(e)},scrollToAnchor(e){e.id&&this.$router.push({name:this.$route.name,hash:"#"+e.id})},copyAction(){const e=document.querySelectorAll(".van-doc-card pre code");if(!(!e||!e.length))for(let t=0;t{if(r)return;const o=n.innerText;ur(o),n.classList.add("code-copy-success"),r=setTimeout(()=>{n.classList.remove("code-copy-success"),r=null},1400)})}}}};function nc(e,t,n,r,o,a){return I(),D("div",{class:he(["van-doc-content",`van-doc-content--${a.currentPage}`]),onClick:t[0]||(t[0]=(...i)=>a.onClick&&a.onClick(...i))},[Ne(e.$slots,"default")],2)}var rc=K(tc,[["render",nc]]);const oc={name:"VanDocContainer",props:{hasSimulator:Boolean}};function ac(e,t,n,r,o,a){return I(),D("div",{class:he(["van-doc-container van-doc-row",{"van-doc-container--with-simulator":n.hasSimulator}])},[Ne(e.$slots,"default")],2)}var ic=K(oc,[["render",ac]]);const cc={name:"VanDocSimulator",props:{src:String},data(){return{scrollTop:window.scrollY,windowHeight:window.innerHeight}},computed:{isFixed(){return this.scrollTop>60},simulatorStyle(){return{height:Math.min(640,this.windowHeight-90)+"px"}}},mounted(){window.addEventListener("scroll",()=>{this.scrollTop=window.scrollY}),window.addEventListener("resize",()=>{this.windowHeight=window.innerHeight})}},uc=["src"];function lc(e,t,n,r,o,a){return I(),D("div",{class:he(["van-doc-simulator",{"van-doc-simulator-fixed":a.isFixed}])},[R("iframe",{ref:"iframe",src:n.src,style:lr(a.simulatorStyle),frameborder:"0"},null,12,uc)],2)}var sc=K(cc,[["render",lc]]);const fc={name:"VanDoc",components:{DocNav:Po,DocHeader:ec,DocContent:rc,DocContainer:ic,DocSimulator:sc},props:{lang:String,versions:Array,simulator:String,hasSimulator:Boolean,langConfigs:Array,config:{type:Object,required:!0},base:{type:String,default:""}},emits:["switch-version"],watch:{$route(){this.setNav()}},created(){this.setNav(),this.keyboardHandler()},methods:{setNav(){const{nav:e}=this.config,t=e.reduce((o,a)=>o.concat(a.items),[]),n=this.$route.path.split("/").pop();let r;for(let o=0,a=t.length;o{switch(e.keyCode){case 37:this.keyboardNav("prev");break;case 39:this.keyboardNav("next");break}})}}},pc={class:"van-doc"};function mc(e,t,n,r,o,a){const i=$("doc-header"),c=$("doc-nav"),s=$("doc-content"),l=$("doc-container"),u=$("doc-simulator");return I(),D("div",pc,[ie(i,{lang:n.lang,config:n.config,versions:n.versions,"lang-configs":n.langConfigs,onSwitchVersion:t[0]||(t[0]=d=>e.$emit("switch-version",d))},null,8,["lang","config","versions","lang-configs"]),ie(c,{lang:n.lang,"nav-config":n.config.nav},null,8,["lang","nav-config"]),ie(l,{"has-simulator":n.hasSimulator},{default:tt(()=>[ie(s,null,{default:tt(()=>[Ne(e.$slots,"default")]),_:3})]),_:3},8,["has-simulator"]),n.hasSimulator?(I(),st(u,{key:0,src:n.simulator},null,8,["src"])):Y("v-if",!0)])}var dc=K(fc,[["render",mc]]);const hc={components:{VanDoc:dc},data(){return{hasSimulator:!0}},computed:{simulator(){var t,n;return(t=Q.site.simulator)!=null&&t.url?(n=Q.site.simulator)==null?void 0:n.url:`${location.pathname.replace(/\/index(\.html)?/,"/")}mobile.html${location.hash}`},lang(){const{lang:e}=this.$route.meta;return e||""},langConfigs(){const{locales:e={}}=Q.site;return Object.keys(e).map(t=>({lang:t,label:e[t].langLabel||""}))},config(){const{locales:e}=Q.site;return e?e[this.lang]:Q.site},versions(){return Q.site.versions||null}},watch:{"$route.path"(){this.setTitleAndToogleSimulator()},lang(e){no(e),this.setTitleAndToogleSimulator()},config:{handler(e){e&&this.setTitleAndToogleSimulator()},immediate:!0}},mounted(){this.$route.hash&&this.$nextTick(()=>{const e=document.querySelector(this.$route.hash);e&&e.scrollIntoView()})},methods:{setTitleAndToogleSimulator(){let{title:e}=this.config;const n=this.config.nav.reduce((r,o)=>[...r,...o.items],[]).find(r=>r.path===this.$route.meta.name);n&&n.title?e=n.title+" - "+e:this.config.description&&(e+=` - ${this.config.description}`),document.title=e,this.hasSimulator=!(Q.site.hideSimulator||this.config.hideSimulator||n&&n.hideSimulator)}}},vc={class:"app"};function _c(e,t,n,r,o,a){const i=$("router-view"),c=$("van-doc");return I(),D("div",vc,[a.config?(I(),st(c,{key:0,lang:a.lang,config:a.config,versions:a.versions,simulator:a.simulator,"has-simulator":o.hasSimulator,"lang-configs":a.langConfigs},{default:tt(()=>[ie(i)]),_:1},8,["lang","config","versions","simulator","has-simulator","lang-configs"])):Y("v-if",!0)])}var gc=K(hc,[["render",_c]]);const yc={name:"DemoPlayground",props:{originCode:String,codeSnippet:String,transform:Boolean,compact:Boolean,inline:Boolean},data(){return{showSource:!1,copyStatus:"ready"}},methods:{unescape,toggleSource(){this.showSource=!this.showSource},copySourceCode(){ur(unescape(this.originCode)),this.copyStatus="copied",setTimeout(()=>{this.copyStatus="ready"},2e3)}}},bc=e=>(po("data-v-356bb874"),e=e(),mo(),e),Oc={class:"demo-playground--code"},Sc={class:"demo-playground--code--actions"},wc=bc(()=>R("span",null,null,-1)),Ec=["data-status"],jc=["innerHTML"];function Pc(e,t,n,r,o,a){return I(),D("div",{class:he({"demo-playground":!n.inline,transform:n.transform})},[n.inline?Ne(e.$slots,"default",{key:0},void 0,!0):(I(),D(Ae,{key:1},[R("div",{class:he(["demo-playground--previewer",{compact:n.compact}])},[Ne(e.$slots,"default",{},void 0,!0)],2),R("div",Oc,[R("div",Sc,[wc,R("button",{title:"Copy source code",class:"action-icon",role:"copy","data-status":o.copyStatus,onClick:t[0]||(t[0]=(...i)=>a.copySourceCode&&a.copySourceCode(...i))},null,8,Ec),R("button",{title:"Toggle source code panel",class:"action-icon",role:"source",onClick:t[1]||(t[1]=(...i)=>a.toggleSource&&a.toggleSource(...i))})]),so(R("div",{innerHTML:a.unescape(n.codeSnippet),class:"demo-playground--code--content"},null,8,jc),[[fo,o.showSource]])])],64))],2)}var ir=K(yc,[["render",Pc],["__scopeId","data-v-356bb874"]]);ro&&location.replace("mobile.html"+location.hash);const{locales:$r,defaultLang:kc}=Q.site;oo(kc);function Ic(e){if(e.indexOf("_")!==-1){const t=e.split("_"),n=t.shift();return{component:`${Gt(n)}`,lang:t.join("-")}}return{component:`${Gt(e)}`,lang:""}}function Cc(e){const t=e.path.split("/")[1];return Object.keys($r).indexOf(t)!==-1?t:co()}function Dc(){const e=[],t=Object.keys(Ve);$r?e.push({name:"notFound",path:"/:path(.*)+",redirect:r=>({name:Cc(r)})}):e.push({name:"notFound",path:"/:path(.*)+",redirect:{name:"home"}});function n(r,o){e.push({name:o||"home",path:`/${o||""}`,component:r,meta:{lang:o}})}return t.forEach(r=>{const{component:o,lang:a}=Ic(r);o==="home"&&n(Ve[r],a),a?e.push({name:`${a}/${o}`,path:`/${a}/${o}`,component:Ve[r],meta:{lang:a,name:o}}):e.push({name:`${o}`,path:`/${o}`,component:Ve[r],meta:{name:o}})}),e}const mt=ho({history:vo(),routes:Dc(),scrollBehavior(e){return e.hash?{el:e.hash}:{top:0}}});mt.afterEach(()=>{_o(io)});var cr;((cr=Q.site.simulator)==null?void 0:cr.syncPathFromSimulator)!==!1&&ao(mt);window.vueRouter=mt;window.app=go(gc).use(mt).component(ir.name,ir);setTimeout(()=>{window.app.mount("#app")},0); diff --git a/assets/main.9bcfcbd2.css b/assets/main.9bcfcbd2.css new file mode 100644 index 00000000..ba9a9401 --- /dev/null +++ b/assets/main.9bcfcbd2.css @@ -0,0 +1 @@ +.van-doc-nav{background-color:#fff;box-shadow:0 8px 12px #ebedf0;left:0;max-width:220px;min-width:220px;overflow-y:scroll;padding:24px 0;position:fixed;z-index:1}@media (min-width:1680px){.van-doc-nav{left:50%;margin-left:-840px}}.van-doc-nav::-webkit-scrollbar{background-color:initial;height:6px;width:6px}.van-doc-nav::-webkit-scrollbar-thumb{background-color:initial;border-radius:6px}.van-doc-nav:hover::-webkit-scrollbar-thumb{background-color:rgba(69,90,100,.2)}.van-doc-nav__group{margin-bottom:16px;padding-left:6px}.van-doc-nav__title{color:#455a64;font-size:15px;font-weight:600;line-height:28px;padding:8px 0 8px 24px}.van-doc-nav__item a{color:#455a64;display:block;font-size:14px;line-height:20px;margin:8px 0;padding:8px 0 8px 24px;transition:color .2s}.van-doc-nav__item a.active,.van-doc-nav__item a:hover{color:#4fc08d}.van-doc-nav__item a.active{background-color:#ebfff0;border-radius:999px;font-weight:600}.van-doc-nav__item a span{font-size:13px}@media (max-width:1300px){.van-doc-nav__item a{font-size:13px}.van-doc-nav__item:active{font-size:14px}}/*! @docsearch/css 3.0.0-alpha.50 | MIT License | © Algolia, Inc. and contributors | https://docsearch.algolia.com */:root{--docsearch-primary-color:#5468ff;--docsearch-text-color:#1c1e21;--docsearch-spacing:12px;--docsearch-icon-stroke-width:1.4;--docsearch-highlight-color:var(--docsearch-primary-color);--docsearch-muted-color:#969faf;--docsearch-container-background:rgba(101,108,133,.8);--docsearch-logo-color:#5468ff;--docsearch-modal-width:560px;--docsearch-modal-height:600px;--docsearch-modal-background:#f5f6f7;--docsearch-modal-shadow:inset 1px 1px 0 0 hsla(0,0%,100%,.5),0 3px 8px 0 #555a64;--docsearch-searchbox-height:56px;--docsearch-searchbox-background:#ebedf0;--docsearch-searchbox-focus-background:#fff;--docsearch-searchbox-shadow:inset 0 0 0 2px var(--docsearch-primary-color);--docsearch-hit-height:56px;--docsearch-hit-color:#444950;--docsearch-hit-active-color:#fff;--docsearch-hit-background:#fff;--docsearch-hit-shadow:0 1px 3px 0 #d4d9e1;--docsearch-key-gradient:linear-gradient(-225deg,#d5dbe4,#f8f8f8);--docsearch-key-shadow:inset 0 -2px 0 0 #cdcde6,inset 0 0 1px 1px #fff,0 1px 2px 1px rgba(30,35,90,.4);--docsearch-footer-height:44px;--docsearch-footer-background:#fff;--docsearch-footer-shadow:0 -1px 0 0 #e0e3e8,0 -3px 6px 0 rgba(69,98,155,.12)}html[data-theme=dark]{--docsearch-text-color:#f5f6f7;--docsearch-container-background:rgba(9,10,17,.8);--docsearch-modal-background:#15172a;--docsearch-modal-shadow:inset 1px 1px 0 0 #2c2e40,0 3px 8px 0 #000309;--docsearch-searchbox-background:#090a11;--docsearch-searchbox-focus-background:#000;--docsearch-hit-color:#bec3c9;--docsearch-hit-shadow:none;--docsearch-hit-background:#090a11;--docsearch-key-gradient:linear-gradient(-26.5deg,#565872,#31355b);--docsearch-key-shadow:inset 0 -2px 0 0 #282d55,inset 0 0 1px 1px #51577d,0 2px 2px 0 rgba(3,4,9,.3);--docsearch-footer-background:#1e2136;--docsearch-footer-shadow:inset 0 1px 0 0 rgba(73,76,106,.5),0 -4px 8px 0 rgba(0,0,0,.2);--docsearch-logo-color:#fff;--docsearch-muted-color:#7f8497}.DocSearch-Button{align-items:center;background:var(--docsearch-searchbox-background);border:0;border-radius:40px;color:var(--docsearch-muted-color);cursor:pointer;display:flex;font-weight:500;height:36px;justify-content:space-between;margin:0 0 0 16px;padding:0 8px;-webkit-user-select:none;user-select:none}.DocSearch-Button:active,.DocSearch-Button:focus,.DocSearch-Button:hover{background:var(--docsearch-searchbox-focus-background);box-shadow:var(--docsearch-searchbox-shadow);color:var(--docsearch-text-color);outline:none}.DocSearch-Button-Container{align-items:center;display:flex}.DocSearch-Search-Icon{stroke-width:1.6}.DocSearch-Button .DocSearch-Search-Icon{color:var(--docsearch-text-color)}.DocSearch-Button-Placeholder{font-size:1rem;padding:0 12px 0 6px}.DocSearch-Button-Keys{display:flex;min-width:calc(40px + .8em)}.DocSearch-Button-Key{align-items:center;background:var(--docsearch-key-gradient);border-radius:3px;box-shadow:var(--docsearch-key-shadow);color:var(--docsearch-muted-color);display:flex;height:18px;justify-content:center;margin-right:.4em;padding-bottom:2px;position:relative;top:-1px;width:20px}@media (max-width:750px){.DocSearch-Button-Keys,.DocSearch-Button-Placeholder{display:none}}.DocSearch--active{overflow:hidden!important}.DocSearch-Container,.DocSearch-Container *{box-sizing:border-box}.DocSearch-Container{background-color:var(--docsearch-container-background);height:100vh;left:0;position:fixed;top:0;width:100vw;z-index:200}.DocSearch-Container a{text-decoration:none}.DocSearch-Link{-webkit-appearance:none;appearance:none;background:none;border:0;color:var(--docsearch-highlight-color);cursor:pointer;font:inherit;margin:0;padding:0}.DocSearch-Modal{background:var(--docsearch-modal-background);border-radius:6px;box-shadow:var(--docsearch-modal-shadow);flex-direction:column;margin:60px auto auto;max-width:var(--docsearch-modal-width);position:relative}.DocSearch-SearchBar{display:flex;padding:var(--docsearch-spacing) var(--docsearch-spacing) 0}.DocSearch-Form{align-items:center;background:var(--docsearch-searchbox-focus-background);border-radius:4px;box-shadow:var(--docsearch-searchbox-shadow);display:flex;height:var(--docsearch-searchbox-height);margin:0;padding:0 var(--docsearch-spacing);position:relative;width:100%}.DocSearch-Input{-webkit-appearance:none;appearance:none;background:transparent;border:0;color:var(--docsearch-text-color);flex:1;font:inherit;font-size:1.2em;height:100%;outline:none;padding:0 0 0 8px;width:80%}.DocSearch-Input::-webkit-input-placeholder{color:var(--docsearch-muted-color);opacity:1}.DocSearch-Input::placeholder{color:var(--docsearch-muted-color);opacity:1}.DocSearch-Input::-webkit-search-cancel-button,.DocSearch-Input::-webkit-search-decoration,.DocSearch-Input::-webkit-search-results-button,.DocSearch-Input::-webkit-search-results-decoration{display:none}.DocSearch-LoadingIndicator,.DocSearch-MagnifierLabel,.DocSearch-Reset{margin:0;padding:0}.DocSearch-MagnifierLabel,.DocSearch-Reset{align-items:center;color:var(--docsearch-highlight-color);display:flex;justify-content:center}.DocSearch-Container--Stalled .DocSearch-MagnifierLabel,.DocSearch-LoadingIndicator{display:none}.DocSearch-Container--Stalled .DocSearch-LoadingIndicator{align-items:center;color:var(--docsearch-highlight-color);display:flex;justify-content:center}@media screen and (prefers-reduced-motion:reduce){.DocSearch-Reset{stroke-width:var(--docsearch-icon-stroke-width);animation:none;-webkit-appearance:none;appearance:none;background:none;border:0;border-radius:50%;color:var(--docsearch-icon-color);cursor:pointer;right:0}}.DocSearch-Reset{stroke-width:var(--docsearch-icon-stroke-width);animation:fade-in .1s ease-in forwards;-webkit-appearance:none;appearance:none;background:none;border:0;border-radius:50%;color:var(--docsearch-icon-color);cursor:pointer;padding:2px;right:0}.DocSearch-Reset[hidden]{display:none}.DocSearch-Reset:focus{outline:none}.DocSearch-Reset:hover{color:var(--docsearch-highlight-color)}.DocSearch-LoadingIndicator svg,.DocSearch-MagnifierLabel svg{height:24px;width:24px}.DocSearch-Cancel{display:none}.DocSearch-Dropdown{max-height:calc(var(--docsearch-modal-height) - var(--docsearch-searchbox-height) - var(--docsearch-spacing) - var(--docsearch-footer-height));min-height:var(--docsearch-spacing);overflow-y:auto;overflow-y:overlay;padding:0 var(--docsearch-spacing);scrollbar-color:var(--docsearch-muted-color) var(--docsearch-modal-background);scrollbar-width:thin}.DocSearch-Dropdown::-webkit-scrollbar{width:12px}.DocSearch-Dropdown::-webkit-scrollbar-track{background:transparent}.DocSearch-Dropdown::-webkit-scrollbar-thumb{background-color:var(--docsearch-muted-color);border:3px solid var(--docsearch-modal-background);border-radius:20px}.DocSearch-Dropdown ul{list-style:none;margin:0;padding:0}.DocSearch-Label{font-size:.75em;line-height:1.6em}.DocSearch-Help,.DocSearch-Label{color:var(--docsearch-muted-color)}.DocSearch-Help{font-size:.9em;margin:0;-webkit-user-select:none;user-select:none}.DocSearch-Title{font-size:1.2em}.DocSearch-Logo a{display:flex}.DocSearch-Logo svg{color:var(--docsearch-logo-color);margin-left:8px}.DocSearch-Hits:last-of-type{margin-bottom:24px}.DocSearch-Hits mark{background:none;color:var(--docsearch-highlight-color)}.DocSearch-HitsFooter{color:var(--docsearch-muted-color);display:flex;font-size:.85em;justify-content:center;margin-bottom:var(--docsearch-spacing);padding:var(--docsearch-spacing)}.DocSearch-HitsFooter a{border-bottom:1px solid;color:inherit}.DocSearch-Hit{border-radius:4px;display:flex;padding-bottom:4px;position:relative}@media screen and (prefers-reduced-motion:reduce){.DocSearch-Hit--deleting{transition:none}}.DocSearch-Hit--deleting{opacity:0;transition:all .25s linear}@media screen and (prefers-reduced-motion:reduce){.DocSearch-Hit--favoriting{transition:none}}.DocSearch-Hit--favoriting{transform:scale(0);transform-origin:top center;transition:all .25s linear;transition-delay:.25s}.DocSearch-Hit a{background:var(--docsearch-hit-background);border-radius:4px;box-shadow:var(--docsearch-hit-shadow);display:block;padding-left:var(--docsearch-spacing);width:100%}.DocSearch-Hit-source{background:var(--docsearch-modal-background);color:var(--docsearch-highlight-color);font-size:.85em;font-weight:600;line-height:32px;margin:0 -4px;padding:8px 4px 0;position:-webkit-sticky;position:sticky;top:0;z-index:10}.DocSearch-Hit-Tree{stroke-width:var(--docsearch-icon-stroke-width);color:var(--docsearch-muted-color);height:var(--docsearch-hit-height);opacity:.5;width:24px}.DocSearch-Hit[aria-selected=true] a{background-color:var(--docsearch-highlight-color)}.DocSearch-Hit[aria-selected=true] mark{text-decoration:underline}.DocSearch-Hit-Container{align-items:center;color:var(--docsearch-hit-color);display:flex;flex-direction:row;height:var(--docsearch-hit-height);padding:0 var(--docsearch-spacing) 0 0}.DocSearch-Hit-icon{height:20px;width:20px}.DocSearch-Hit-action,.DocSearch-Hit-icon{stroke-width:var(--docsearch-icon-stroke-width);color:var(--docsearch-muted-color)}.DocSearch-Hit-action{align-items:center;display:flex;height:22px;width:22px}.DocSearch-Hit-action svg{display:block;height:18px;width:18px}.DocSearch-Hit-action+.DocSearch-Hit-action{margin-left:6px}.DocSearch-Hit-action-button{-webkit-appearance:none;appearance:none;background:none;border:0;border-radius:50%;color:inherit;cursor:pointer;padding:2px}svg.DocSearch-Hit-Select-Icon{display:none}.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-Select-Icon{display:block}.DocSearch-Hit-action-button:focus,.DocSearch-Hit-action-button:hover{background:rgba(0,0,0,.2);transition:background-color .1s ease-in}@media screen and (prefers-reduced-motion:reduce){.DocSearch-Hit-action-button:focus,.DocSearch-Hit-action-button:hover{transition:none}}.DocSearch-Hit-action-button:focus path,.DocSearch-Hit-action-button:hover path{fill:#fff}.DocSearch-Hit-content-wrapper{display:flex;flex:1 1 auto;flex-direction:column;font-weight:500;justify-content:center;line-height:1.2em;margin:0 8px;overflow-x:hidden;position:relative;text-overflow:ellipsis;white-space:nowrap;width:80%}.DocSearch-Hit-title{font-size:.9em}.DocSearch-Hit-path{color:var(--docsearch-muted-color);font-size:.75em}.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-Tree,.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-action,.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-icon,.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-path,.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-text,.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-title,.DocSearch-Hit[aria-selected=true] mark{color:var(--docsearch-hit-active-color)!important}@media screen and (prefers-reduced-motion:reduce){.DocSearch-Hit-action-button:focus,.DocSearch-Hit-action-button:hover{background:rgba(0,0,0,.2);transition:none}}.DocSearch-ErrorScreen,.DocSearch-NoResults,.DocSearch-StartScreen{font-size:.9em;margin:0 auto;padding:36px 0;text-align:center;width:80%}.DocSearch-Screen-Icon{color:var(--docsearch-muted-color);padding-bottom:12px}.DocSearch-NoResults-Prefill-List{display:inline-block;padding-bottom:24px;text-align:left}.DocSearch-NoResults-Prefill-List ul{display:inline-block;padding:8px 0 0}.DocSearch-NoResults-Prefill-List li{list-style-position:inside;list-style-type:"\bb "}.DocSearch-Prefill{-webkit-appearance:none;appearance:none;background:none;border:0;border-radius:1em;color:var(--docsearch-highlight-color);cursor:pointer;display:inline-block;font-size:1em;font-weight:700;padding:0}.DocSearch-Prefill:focus,.DocSearch-Prefill:hover{outline:none;text-decoration:underline}.DocSearch-Footer{align-items:center;background:var(--docsearch-footer-background);border-radius:0 0 8px 8px;box-shadow:var(--docsearch-footer-shadow);display:flex;flex-direction:row-reverse;flex-shrink:0;height:var(--docsearch-footer-height);justify-content:space-between;padding:0 var(--docsearch-spacing);position:relative;-webkit-user-select:none;user-select:none;width:100%;z-index:300}.DocSearch-Commands{color:var(--docsearch-muted-color);display:flex;list-style:none;margin:0;padding:0}.DocSearch-Commands li{align-items:center;display:flex}.DocSearch-Commands li:not(:last-of-type){margin-right:.8em}.DocSearch-Commands-Key{align-items:center;background:var(--docsearch-key-gradient);border-radius:2px;box-shadow:var(--docsearch-key-shadow);display:flex;height:18px;justify-content:center;margin-right:.4em;padding-bottom:1px;width:20px}@media (max-width:750px){:root{--docsearch-spacing:10px;--docsearch-footer-height:40px}.DocSearch-Dropdown{height:100%}.DocSearch-Container{height:100vh;height:-webkit-fill-available;height:calc(var(--docsearch-vh, 1vh)*100);position:absolute}.DocSearch-Footer{border-radius:0;bottom:0;position:absolute}.DocSearch-Hit-content-wrapper{display:flex;position:relative;width:80%}.DocSearch-Modal{border-radius:0;box-shadow:none;height:100vh;height:-webkit-fill-available;height:calc(var(--docsearch-vh, 1vh)*100);margin:0;max-width:100%;width:100%}.DocSearch-Dropdown{max-height:calc(var(--docsearch-vh, 1vh)*100 - var(--docsearch-searchbox-height) - var(--docsearch-spacing) - var(--docsearch-footer-height))}.DocSearch-Cancel{-webkit-appearance:none;appearance:none;background:none;border:0;color:var(--docsearch-highlight-color);cursor:pointer;display:inline-block;flex:none;font:inherit;font-size:1em;font-weight:500;margin-left:var(--docsearch-spacing);outline:none;overflow:hidden;padding:0;-webkit-user-select:none;user-select:none;white-space:nowrap}.DocSearch-Commands,.DocSearch-Hit-Tree{display:none}}@keyframes fade-in{0%{opacity:0}to{opacity:1}}#docsearch{display:inline-block;vertical-align:middle}.DocSearch-Button{background:#f7f8fa;height:32px}.DocSearch-Button:hover{box-shadow:none}.DocSearch-Search-Icon{height:18px;width:18px}.DocSearch-Button-Key{font-size:12px}.van-doc-header{background-color:#001938;-webkit-user-select:none;user-select:none;width:100%}.van-doc-header__top{align-items:center;display:flex;height:64px;padding:0 24px}.van-doc-header__top-nav{flex:1;font-size:0;text-align:right}.van-doc-header__top-nav>li{display:inline-block;position:relative;vertical-align:middle}.van-doc-header__top-nav-item{margin-left:16px}.van-doc-header__top-nav-title{display:block;font-size:15px}.van-doc-header__cube{background:#f7f8fa;border:1px solid hsla(0,0%,100%,.7);border-radius:20px;color:#001938;cursor:pointer;display:block;font-size:14px;line-height:30px;padding:0 12px;position:relative;text-align:center;transition:.3s ease-in-out}.van-doc-header__version{padding-right:20px}.van-doc-header__version:after{border-color:transparent transparent currentcolor currentcolor;border-style:solid;border-width:1px;color:#001938;content:"";height:5px;position:absolute;right:9px;top:10px;transform:rotate(-45deg);width:5px}.van-doc-header__version-pop{background-color:#fff;border-radius:8px;box-shadow:0 4px 12px #ebedf0;color:#333;left:0;line-height:36px;overflow:hidden;position:absolute;text-align:left;top:34px;transform-origin:top;transition:.2s cubic-bezier(.215,.61,.355,1);width:100%;z-index:99}.van-doc-header__version-pop-item{padding-left:12px;transition:.2s}.van-doc-header__version-pop-item:hover{background-color:#f7f8fa;color:#1989fa}.van-doc-header__logo{display:block}.van-doc-header__logo img{display:inline-block;margin-right:12px;vertical-align:middle;width:28px}.van-doc-header__title{color:#fff;display:inline-block;font-size:22px;vertical-align:middle}.van-doc-header__subtitle{color:#999;display:inline-block;font-size:13px;margin-left:4px;vertical-align:-4px}.van-doc-header__link span{color:#fff;font-size:16px}.van-doc-header__link img{display:block;height:30px;transition:.3s cubic-bezier(.175,.885,.32,1.275);width:30px}.van-doc-header__link img:hover{transform:scale(1.2)}.van-doc-dropdown-enter,.van-doc-dropdown-leave-active{opacity:0;transform:scaleY(0)}.van-doc-card{background-color:#fff;border-radius:20px;box-shadow:0 8px 12px #ebedf0;margin-bottom:24px;padding:24px}.van-doc-card>pre code{overflow:initial;padding-right:30px;pointer-events:none;position:relative}.van-doc-card>pre:hover code:before{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAAAXNSR0IArs4c6QAADGtJREFUeF7tnW2IXFcZx5+zl6wktssibErjC4J+MvhGUwWrkChUq00VNasfLPiCG1SWPXejQfBDJuAXNbv3mSwGs8W3ighdxb5pUZDuh7aCNiLV5lsRLE1pFiTGNNAxM0fuusF1szv3nDPnnnPPPf+B+TTPefs9z2+fmZvJXEF4gAAI7EhAgA0IgMDOBCAIqgMEhhCAICgPEIAgqAEQsCOADmLHDaMSIQBBEkk0jmlHAILYccOoRAhAkEQSjWPaEYAgdtwwKhECECSRROOYdgQgiB03jEqEAARJJNE4ph0BCGLHDaMSIQBBEkk0jmlHAILYccOoRAhAkEQSjWPaEYAgdtwwKhECECSRROOYdgQgiB03jEqEAATRTHSn0xm/fPnyLUqp8nmT5jCEWRDIsuxir9dbW1paWrMY7nQIBBmCM8/z1yil7iKiTxHRYafkMZkugWUiepCZH9Md4DIOgmxDU0p5KxEdJaIvEtE+l8AxlzWBc0S0zMylMN4eEGQLaimlJKKvQQxvNWi6UCnKN5n5QdOBNvEQZBO1PM9/rpT6hA1IjPFOIGdmrntVCLJBWEp5lohm6gaO+d0RGBsbO7y4uPiouxlvnAmCEJGU8vNE9P06QWPueggIId5dFMUf6pmdKHlBpJR3ENETdQHGvLUTOMfMB+paBYJI+RAR3VMXYMzrhcDRuq5uJS0I3lp5KV4fi9TWRVIXBN3DR/l6WEMpNd3tdldcL5W6IFeI6NWuoWK+IARWmHna9crJCiKlPEhEj7sGivnCEWBm5/XsfMJweMxWnpubOyKEeMBs1Hr0SSJatRiHIfoEukT0Nv3w/0b2+/29rr/gmKwgeZ5/WSn1XcMkfI6Zf2Q4BuEWBPI8f1Ip9R6ToVmW7V9YWDhvMqYqNllBpJQdIjpRBWjz63W0cJP1U4q1fAt8iJmddncIYlB1EMQA1oihEGREgKMORwcZlWC94yFIvXwrZ4cglYiCBkCQoPjXv6CIzyCBczBseQgSODkQJHACKpaHIIHzA0ECJwCCND4BeIvV4BShgwRODjpI4ASggzQ+AeggDU4ROkjg5KCDBE4AOkjjE4AO0uAUoYMETg46SOAEoIM0PgHoIA1OETpI4OSggwROADpI4xOADtLgFKGDBE4OOkjgBKCDND4B6CANThE6SODkoIMETgA6SOMTgA7S4BShgwRODjpI4ASggzQ+AeggDU4ROkjg5KCDBE4AOkjjE4AO0uAUoYMETg46SOAEoIM0PgHoIA1OETpI4OSggwROADqIXgLKvxRKqamxsbEppdRevVE3Rgkhnh8MBs/s2rXr/KlTp16umgeCVBEK+3rSHWTjzk4fIqLyebPjVFwgovuYuXwLteMDgjim7ni6JAXZuGHmcU/3BBx6QxUI4riiHU+XnCA2BTkqcyHEB4ui+O1289jsBz9ePWpG9McnJYiUsrzZ+0f08TiL/D0zb3uPCQjijHEtEyUjiE0hOiTem5ycvLnT6fS2zmmzL3QQh5nBVaz1H4i+l4ju94d126tbtxdF8TQECZkF87Vb30GklLcSUVmY+8zxuBshhHhdURQvQBB3TH3MlIIgxv9S7Rq8Uuq5brf7ZnxId022/vlaLcjs7OxUlmV/Dt09iGiZmY9CkPoL2vUKrRbE8g6yrhnTsA/V+JDuHLfTCVstiJTycSI66JSY2WTPZlk2PeyWwBDEDKjv6NYK0ul0xi9duvSKb6BEVH7F5BwR/anqaybl3iBIgAwZLNlaQebn518/GAz+bsBiPVQpNd3tdldMx9nGQxBbcn7GtVaQPM8PKKX+aIjxpM5ffcM5h4ZDEJc03c/VWkGacrCqlEGQKkJhX29KHQnXGJpysKpzQZAqQmFfb0odQRCDOsB3sQxgjRgKQf4f4CFmXh2RqdFwdBAjXN6DIQgE8V50MS0IQSBITPXqfa8QBIJ4L7qYFoQgECSmevW+VwgCQbwXXUwLQhAIElO9et8rBIEg3osupgUhCASJqV697xWCQBDvRRfTghAEgsRUr973CkEgiPeii2lBCAJBYqpX73uFIBDEe9HFtCAEgSAx1av3vUIQCOK96GJaEIJAkJjq1fteIQgE8V50MS0IQSBITPXqfa8QBIJ4L7qYFoQgECSmevW+VwgCQbwXXUwLQhAIElO9et8rBIEg3osupgUhCASJqV697xWCQBDvRRfTghAEgsRUr973CkEgiPeii2lBCAJBYqpX73uFIBDEe9HFtCAEgSAx1av3vUIQCOK96GJaEIJAkJjq1fteIQgE8V50MS0IQSBITPXqfa8QBIJ4L7qYFoQgECSmevW+VwgCQbwXXUwLQhAIElO9et8rBIEg3osupgUhCASJqV697xWCQBDvRRfTghAEgsRUr973CkHCC/JVIvqOSeazLNu/sLBw3mQMYu0ISCk7RHTCZLQQ4vaiKJ42GVMVK6oCTF9vivlV+5ZS3ktE91fFbXn9JBGtMvOq4TiEGxCQUn6WiH5oMGQ9dGxs7A2Li4vPm44bFp+sIHme36mU+o1LmJgrLIHJyclXdTqdnstdJCvI7OzsRJZl/3QJE3MFJfAIM9/jegfJClKClFKWHeRO11AxXxACn2Hmn7peOXVBjD8Iuk4A5nNC4IIQ4q1FUfzDyWybJklakJmZmT27d+9+QgjxTtdgMZ9XAieZufxj5/yRtCAlzTzPP62U+plzspjQF4ELRHSAmV+sY8HkBdn4LFJeUiwvLeIRH4GcmbmubUOQDbJSyr8R0RvrAo153RMQQvyiKIpPup/5fzNCkE10pZTlv8LeVidwzO2MwDIzH3U22w4TQZAtYKSU3yKi43WDx/wjEfgCM/9gpBk0B0OQbUCVH9wHg8FxXN3SrCJ/YQ8T0beZ+UlfS0KQHUiXl4D37NlTdpL3E9H7fCUE69xA4GUi+h0RPeSra2zeAQTRqEgp5aQQ4l1KqVuIqHzepDEMIZYEhBAXB4PBmhBiLfQXQyGIZRIxLA0CECSNPOOUlgQgiCU4DEuDAARJI884pSUBCGIJDsPSIABB0shz5SnzPH9teZXu6tWrf1leXv535YBEAiBIIone6ZhSyrNKqQ8IId60EfOKUuqcEOLHzLycOB6CIIlWwLFjx97S7/efrTj+Y8z84UQRrR8bgiSafSnlX4lof9XxhRAfL4ril1VxbX0dgrQ1s0POZfibU8/1er13nDlz5kqCqNBBUky6lLL80t9h3bMPBoM7Tp8+/ZRufJvi0EHalE3Ns0gpXyCifZrhJIT4UlEU39ONb1McBGlTNjXPIqVUmqHXw2r7UQTDfXgPhyDekYdfEILo5wCC6LNqTSQE0U8lBNFn1ZpICKKfSgiiz6o1kRBEP5UQRJ9VayIhiH4qIYg+q9ZEQhD9VEIQfVatiYQg+qmEIPqsWhMJQfRTCUH0WbUmEoLopxKC6LNqTSQE0U8lBNFn1ZpICKKfSgiiz6o1kRBEP5UQRJ9VayIhiH4qIYg+q9ZEQhD9VDoXRPP/Om/d4TPM/Hb9bSPSlsDc3NwRIcQDJuOFEF8piuKMyZi2xDoXZHZ2dirLsoumgIQQTymlvmE6DvFGBA4S0QmjEUSklJrudrsrpuPaEO9ckBKKRQtvA8s2n+FQ6F9ZDwW3LkHOEtFMqENhXacE/sXME05njGiyugS5i4h+HREHbHVnAivMPJ0qoFoE2XibhRtitqOqvN0PsIm46hSkfItVvtXCI14CDzPzR+Pd/ug7r00QdJHRk9OAGd7r84aZDTjvDVuoW5CPEVGyP1vZxIQb7CnZn/rZzKhWQTa6iCSiwiAxCA1P4FfMfHf4bYTfQe2ClEecn5+/ezAYPBL+uNiBBgF0jk2QvAhSrpfneXkb5fLrCrdpJAkh/glcIKKvM/NP/C/d3BW9CXIdgZSyvLpVPiFKM+qiFOO+8oojM7/YjC01ZxfeBbl+9I0vzR0hovKJh38Cq0KIlWvXrq0sLS2t+V8+jhWDCbIZT/kFx/Hx8al+v783Dmxx7lIIcUUI8dLExMRLnU6nF+cp/O66EYL4PTJWAwF9AhBEnxUiEyQAQRJMOo6sTwCC6LNCZIIEIEiCSceR9QlAEH1WiEyQAARJMOk4sj4BCKLPCpEJEoAgCSYdR9YnAEH0WSEyQQIQJMGk48j6BCCIPitEJkgAgiSYdBxZnwAE0WeFyAQJQJAEk44j6xOAIPqsEJkgAQiSYNJxZH0CEESfFSITJABBEkw6jqxPAILos0JkggT+AwDMEDJE88DWAAAAAElFTkSuQmCC);background-position:50%;background-size:contain;content:"";cursor:pointer;display:block;height:20px;pointer-events:auto;position:absolute;right:14px;top:11px;width:20px;z-index:9}.van-doc-card>pre .code-copy-success:after{animation:code-copy-animation .2s ease-out;animation-fill-mode:forwards;content:"Copied!";display:block;position:absolute;right:-4px;top:0;z-index:9}@keyframes code-copy-animation{0%{opacity:0;top:0}to{opacity:1;top:-20px}}.van-doc-card>blockquote a,.van-doc-card>p a,.van-doc-card>table a,.van-doc-card>ul a{-webkit-font-smoothing:auto;color:#1989fa;margin:0 1px}.van-doc-card>blockquote a:hover,.van-doc-card>p a:hover,.van-doc-card>table a:hover,.van-doc-card>ul a:hover{color:#0570db}.van-doc-card>blockquote a:active,.van-doc-card>p a:active,.van-doc-card>table a:active,.van-doc-card>ul a:active{color:#0456a9}.van-doc-card>h3,.van-doc-card>h4,.van-doc-card>h5,.van-doc-card>h6{color:#323233;font-weight:400;line-height:1.6}.van-doc-card>h3[id],.van-doc-card>h4[id],.van-doc-card>h5[id],.van-doc-card>h6[id]{cursor:pointer}.van-doc-card>h3{font-size:20px;font-weight:600;margin-bottom:16px}.van-doc-card>h4{font-size:18px}.van-doc-card>h4,.van-doc-card>h5{font-weight:600;margin:24px 0 12px}.van-doc-card>h5{font-size:16px}.van-doc-card>p{margin-top:8px}.van-doc-card>blockquote p,.van-doc-card>p{color:#34495e;font-size:15px;line-height:26px}.van-doc-card>blockquote p strong,.van-doc-card>p strong{color:#000}.van-doc-card>table{border-collapse:collapse;color:#34495e;font-size:14px;line-height:1.5;margin-top:12px;width:100%}.van-doc-card>table th{font-weight:600;padding:8px 10px;text-align:left}.van-doc-card>table th:first-child{padding-left:0}.van-doc-card>table th:last-child{padding-right:0}.van-doc-card>table td{border-top:1px solid #f1f4f8;padding:8px}.van-doc-card>table td:first-child{padding-left:0}.van-doc-card>table td:first-child code{background-color:rgba(25,137,250,.1);border-radius:20px;color:#1989fa;font-size:11px;font-weight:600;margin:0;padding:2px 6px}.van-doc-card>table td:last-child{padding-right:0}.van-doc-card>table em{-webkit-font-smoothing:auto;color:#4fc08d;display:inline-block;font-family:Source Code Pro,Monaco,Inconsolata,monospace;font-size:14px;font-style:normal;max-width:300px}.van-doc-card>ul{margin:12px 0}.van-doc-card>ol li,.van-doc-card>ul li{color:#34495e;font-size:15px;line-height:26px;margin:5px 0 5px 10px;padding-left:15px;position:relative}.van-doc-card>ol li:before,.van-doc-card>ul li:before{border:1px solid #666;border-radius:50%;box-sizing:border-box;content:"";height:6px;left:0;margin-top:10px;position:absolute;top:0;width:6px}.van-doc-card>hr{border:0;border-top:1px solid #eee;margin:30px 0}.van-doc-card>ol code,.van-doc-card>p code,.van-doc-card>table code,.van-doc-card>ul code{-webkit-font-smoothing:antialiased;border-radius:4px;display:inline;font-family:inherit;font-size:14px;font-weight:600;margin:0 2px;padding:2px 5px;word-break:keep-all}.van-doc-card>blockquote{background-color:#ecf9ff;border-radius:20px;margin:16px 0 0;padding:16px}.van-doc-card>img,.van-doc-card>p img{border-radius:20px;margin:16px 0;width:100%}.van-doc-content{flex:1;padding:0 0 75px;position:relative}.van-doc-content .van-doc-markdown-body{overflow:hidden;padding:24px}.van-doc-content .van-doc-markdown-body h1,.van-doc-content .van-doc-markdown-body h2{color:#323233;font-weight:400;line-height:1.5}.van-doc-content .van-doc-markdown-body h1[id],.van-doc-content .van-doc-markdown-body h2[id]{cursor:pointer}.van-doc-content .van-doc-markdown-body h1{cursor:default;font-size:34px;margin:0 0 30px}.van-doc-content .van-doc-markdown-body h2{font-size:26px;margin:45px 0 20px}.van-doc-content--changelog strong{display:block;font-size:15px;font-weight:600;margin:24px 0 12px}.van-doc-content--changelog h3+p code{margin:0}.van-doc-content--changelog h3 a{color:inherit;font-size:20px}.van-doc-container{box-sizing:border-box;overflow:hidden;padding-left:220px}.van-doc-container--with-simulator{padding-right:384px}@media (max-width:1100px){.van-doc-container--with-simulator{padding-right:352px}}.van-doc-simulator{background:#fafafa;border-radius:20px;box-shadow:0 8px 12px #ebedf0;box-sizing:border-box;min-width:360px;overflow:hidden;position:absolute;right:24px;top:88px;width:360px;z-index:1}@media (max-width:1100px){.van-doc-simulator{left:750px;right:auto}}@media (min-width:1680px){.van-doc-simulator{margin-right:-816px;right:50%}}.van-doc-simulator-fixed{position:fixed;top:24px}.van-doc-simulator iframe{display:block;width:100%}@font-face{font-family:Open Sans;font-style:normal;font-weight:400;src:local("Open Sans Regular"),local("OpenSans-Regular"),url(https://b.yzcdn.cn/vant/mem8YaGs126MiZpBA-UFWJ0bf8pkAp6a.woff2) format("woff2");unicode-range:u+0460-052f,u+1c80-1c88,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-family:Open Sans;font-style:normal;font-weight:400;src:local("Open Sans Regular"),local("OpenSans-Regular"),url(https://b.yzcdn.cn/vant/mem8YaGs126MiZpBA-UFUZ0bf8pkAp6a.woff2) format("woff2");unicode-range:u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-family:Open Sans;font-style:normal;font-weight:400;src:local("Open Sans Regular"),local("OpenSans-Regular"),url(https://b.yzcdn.cn/vant/mem8YaGs126MiZpBA-UFWZ0bf8pkAp6a.woff2) format("woff2");unicode-range:u+1f??}@font-face{font-family:Open Sans;font-style:normal;font-weight:400;src:local("Open Sans Regular"),local("OpenSans-Regular"),url(https://b.yzcdn.cn/vant/mem8YaGs126MiZpBA-UFVp0bf8pkAp6a.woff2) format("woff2");unicode-range:u+0370-03ff}@font-face{font-family:Open Sans;font-style:normal;font-weight:400;src:local("Open Sans Regular"),local("OpenSans-Regular"),url(https://b.yzcdn.cn/vant/mem8YaGs126MiZpBA-UFWp0bf8pkAp6a.woff2) format("woff2");unicode-range:u+0102-0103,u+0110-0111,u+0128-0129,u+0168-0169,u+01a0-01a1,u+01af-01b0,u+1ea0-1ef9,u+20ab}@font-face{font-family:Open Sans;font-style:normal;font-weight:400;src:local("Open Sans Regular"),local("OpenSans-Regular"),url(https://b.yzcdn.cn/vant/mem8YaGs126MiZpBA-UFW50bf8pkAp6a.woff2) format("woff2");unicode-range:u+0100-024f,u+0259,u+1e??,u+2020,u+20a0-20ab,u+20ad-20cf,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:Open Sans;font-style:normal;font-weight:400;src:local("Open Sans Regular"),local("OpenSans-Regular"),url(https://b.yzcdn.cn/vant/mem8YaGs126MiZpBA-UFVZ0bf8pkAg.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+2000-206f,u+2074,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:Open Sans;font-style:normal;font-weight:600;src:local("Open Sans SemiBold"),local("OpenSans-SemiBold"),url(https://b.yzcdn.cn/vant/mem5YaGs126MiZpBA-UNirkOX-hpKKSTj5PW.woff2) format("woff2");unicode-range:u+0460-052f,u+1c80-1c88,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-family:Open Sans;font-style:normal;font-weight:600;src:local("Open Sans SemiBold"),local("OpenSans-SemiBold"),url(https://b.yzcdn.cn/vant/mem5YaGs126MiZpBA-UNirkOVuhpKKSTj5PW.woff2) format("woff2");unicode-range:u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-family:Open Sans;font-style:normal;font-weight:600;src:local("Open Sans SemiBold"),local("OpenSans-SemiBold"),url(https://b.yzcdn.cn/vant/mem5YaGs126MiZpBA-UNirkOXuhpKKSTj5PW.woff2) format("woff2");unicode-range:u+1f??}@font-face{font-family:Open Sans;font-style:normal;font-weight:600;src:local("Open Sans SemiBold"),local("OpenSans-SemiBold"),url(https://b.yzcdn.cn/vant/mem5YaGs126MiZpBA-UNirkOUehpKKSTj5PW.woff2) format("woff2");unicode-range:u+0370-03ff}@font-face{font-family:Open Sans;font-style:normal;font-weight:600;src:local("Open Sans SemiBold"),local("OpenSans-SemiBold"),url(https://b.yzcdn.cn/vant/mem5YaGs126MiZpBA-UNirkOXehpKKSTj5PW.woff2) format("woff2");unicode-range:u+0102-0103,u+0110-0111,u+0128-0129,u+0168-0169,u+01a0-01a1,u+01af-01b0,u+1ea0-1ef9,u+20ab}@font-face{font-family:Open Sans;font-style:normal;font-weight:600;src:local("Open Sans SemiBold"),local("OpenSans-SemiBold"),url(https://b.yzcdn.cn/vant/mem5YaGs126MiZpBA-UNirkOXOhpKKSTj5PW.woff2) format("woff2");unicode-range:u+0100-024f,u+0259,u+1e??,u+2020,u+20a0-20ab,u+20ad-20cf,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:Open Sans;font-style:normal;font-weight:600;src:local("Open Sans SemiBold"),local("OpenSans-SemiBold"),url(https://b.yzcdn.cn/vant/mem5YaGs126MiZpBA-UNirkOUuhpKKSTjw.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+2000-206f,u+2074,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}body{-webkit-font-smoothing:antialiased;background-color:#f7f8fa;color:#323233;font-family:Open Sans,-apple-system,BlinkMacSystemFont,Helvetica Neue,Helvetica,Segoe UI,Arial,Roboto,PingFang SC,miui,Hiragino Sans GB,Microsoft Yahei,sans-serif;font-size:16px;min-width:1100px;overflow-x:auto}body,p{margin:0}h1,h2,h3,h4,h5,h6{font-size:inherit;margin:0}ol,ul{list-style:none;margin:0;padding:0}a{text-decoration:none}.van-doc-row{width:100%}@media (min-width:1680px){.van-doc-row{margin:0 auto;width:1680px}}code{word-wrap:break-word;-webkit-font-smoothing:auto;background-color:#f8f8f8;border-radius:20px;color:#58727e;display:block;font-family:Source Code Pro,Monaco,Inconsolata,monospace;font-size:14px;font-weight:400;line-height:26px;overflow-x:auto;padding:16px 20px;position:relative;white-space:pre-wrap}pre{margin:20px 0 0}pre+p{margin-top:20px!important}.hljs{background:#fff;display:block;overflow-x:auto;padding:.5em}.hljs-subst{color:#58727e}.hljs-addition,.hljs-meta,.hljs-string,.hljs-symbol,.hljs-template-tag,.hljs-template-variable{color:#4fc08d}.hljs-comment,.hljs-quote{color:#999}.hljs-attribute,.hljs-keyword,.hljs-params{color:#8080ff}.hljs-bullet,.hljs-deletion,.hljs-link,.hljs-literal,.hljs-number,.hljs-regexp,.hljs-variable{color:#eb6f6f}.hljs-attr,.hljs-built_in,.hljs-doctag,.hljs-name,.hljs-section,.hljs-selector-class,.hljs-selector-id,.hljs-selector-tag,.hljs-strong,.hljs-title,.hljs-type{color:#4994df}.hljs-emphasis{font-style:italic}.van-doc-intro{padding-top:20px;text-align:center}.van-doc-intro p{margin-bottom:20px}.demo-playground[data-v-356bb874]{background-color:#fff;border:1px solid #ebedf1;border-radius:1px;margin:24px 0}.demo-playground.transform[data-v-356bb874]{transform:translate(0)}.demo-playground--previewer[data-v-356bb874]{border-bottom:1px solid #ebedf1;padding:40px 24px}.demo-playground--previewer.compact[data-v-356bb874]{padding:0}.demo-playground--code--actions[data-v-356bb874]{align-items:center;display:flex;height:40px;padding:0 1em}.demo-playground--code--actions>a[data-v-356bb874]:not(:last-child),.demo-playground--code--actions>button[data-v-356bb874]:not(:last-child){margin-right:8px}.demo-playground--code--actions>a[data-v-356bb874]{display:flex}.demo-playground--code--actions button[data-v-356bb874]{border:0;box-sizing:border-box;cursor:pointer;display:inline-block;height:16px;opacity:.6;outline:none;padding:0;position:relative;transition:opacity .2s,background .2s;width:16px}.demo-playground--code--actions button[data-v-356bb874]:after{bottom:-8px;content:"";left:-8px;position:absolute;right:-8px;top:-8px}.demo-playground--code--actions button[data-v-356bb874]:hover{opacity:.8}.demo-playground--code--actions button[data-v-356bb874]:active{opacity:.9}.demo-playground--code--actions button[data-v-356bb874]:disabled{cursor:not-allowed;opacity:.2}.demo-playground--code--actions button[role=codesandbox][data-v-356bb874]{background-position:-18px 0}.demo-playground--code--actions button[role=codepen][data-v-356bb874]{background-position:-36px 0}.demo-playground--code--actions button[role=source][data-v-356bb874]{background-position:-72px 0}.demo-playground--code--actions button[role=change-jsx][data-v-356bb874]{background-position:-90px 0}.demo-playground--code--actions button[role=change-tsx][data-v-356bb874]{background-position:-108px 0}.demo-playground--code--actions button[role=open-demo][data-v-356bb874]{background-position:-126px 0}.demo-playground--code--actions button[role=motions][data-v-356bb874]{background-position:-162px 0}.demo-playground--code--actions button[role=sketch-component][data-v-356bb874]{background-position:-182px 0}.demo-playground--code--actions button[role=sketch-group][data-v-356bb874]{background-position:-200px 0}.demo-playground--code--actions button[role=copy][data-status=ready][data-v-356bb874]{background-position:-54px 0}.demo-playground--code--actions button[role=copy][data-status=copied][data-v-356bb874]{background-position:-54px -16px;pointer-events:none}.demo-playground--code--actions button[role=refresh][data-v-356bb874]{background-position-x:-144px}.demo-playground--code--actions>span[data-v-356bb874]{display:inline-block;flex:1}.demo-playground--code--content[data-v-356bb874]{border-top:1px dashed #ebedf1}.demo-playground--code--content[data-v-356bb874] pre{margin:0}.demo-playground--code--content[data-v-356bb874] .language-html{border-radius:0}.action-icon[data-v-356bb874]{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAcwAAAA8CAMAAADc4HoZAAABFFBMVEUAAABGT2VGTmZaYXpCvGtIUGg3tGBGTmU3s2A/tmFKUGxFTmRFTWVQWmxFTWRJUGZFTWRGTmRLWWpFTWRGTmVGTmVLVG1FTmRGTWVHTmVFTWRHUGdFTWRGT2ZFTWVGTmU6t2I7xHA3tF9GTWRIT2dFTmRGTmVFTWQ3s2BFTWRGTmVGTmZKUmVFTWRFTWRGTWRGTmVcXHxFTmVFTmVGTmVFTWRIUGdGTWVNU3FGT2ZGTmVHTmVFTWRFTWVFTmVITWRHUGZFTWVFTmRGTmZGTmVFTWVLU2g4tF83tGBFTWQ3s1/LzdT09faoq7Zwdoieoq58gpLj5OeCh5fq6+2/wsmTmKWQlKJfZnpIUGfU1tu0t8BOVWynlyFSAAAASXRSTlMAkoAHEkDQ/dgYFuf0C8gj+KQQmm1oEuyNWNg53kSXfCYI5tEtzq7ivbOgTBy924R1BfHUibcpYw1JcU7v+7E3Nav6XVPDGraPqQuKawAACh1JREFUeNrsm2lT6kgUhg9QFFUkgWDYZfnAVsi+KQJeQdGqt1xm7jZ3lv//PyYdhe7QWQw1zP0w83xQsY9Um4fTp7vToeBczmaX5MN5rXZO/+NGJzGuLejnkw3dADehLHkQyceAWD5C/0my9XqWPLlCK9WHQScirUMk18g7J9ZosYLFajFyT8siLIpuyQkHKBDw4NgYsnDr0Xybaii60rjYzsmdbrqnw0TvpbvkhjYuzinygDXJXLewR2/O/f73w1cWCUj0LkmiU8SeYsc9LXMZIJNjyXkqmbWQCzV8ICawzLO8jh3q4IyciYfugMnMMGYT4C4UJ2fOEbbSc0EyrVp4T/7u4kiZs6jANjwBxkupWMLG7NIlLZvxM+As3nRLTsD/N5xtekmHIEQuhBAoBuREtmaXWVgB41Smc97JbMZA7pqcKKgopbu7FC1BLUgD22MyeVnPWD0bonLLeCQRhIkzQNnz6gHiK0HmxeF4qkKPSsVygh2x2q50SmlZIGIyiQo8OY+XGVExOLVM2WVRbAkDSma0609aQaxKMgOo6YjQ77Tc8d3laxPRxS7R564yI8WSFkymgUNuJqlbomQLisblpnNAf0nrB1j06rTsA7n0SE5L2skkh+Qcm2CP3vGV2QHWp5Ypu4wDosumRpyzNrBwcFmqk4166dBmrFgJ5aeDKhvSklWLBLokgBhcaF3bFL59lV45EQsR3QLVfV0uAuNFhEy2JaC/fcveMVC8ltKSy3RITtjRl34yDSj0r8rMNkyXQksByJOdCmIdslNAKS7V0BIKdpmGQ1+S9slA2IVa60My89HoRKyZ5XTD8rhBX1DwEN85Gw53drIsT6W0FGTKyYmYtgcI427rI1NB5bQyZZeTuNCSXaEpBX2Cotm9qWqdJOqqajN85y8zTC6E8SGZGalmjja4uaQC0OUy0UzSAckNTKS0FGTKyYmYbfQP42brcFGr/X5+N/XDNVG+36+eXCZ3Kbbkbd644cHBW6bpnTlx0vZO6PL0NI/LE8uksxtUqQ7sUgpoAfp0TgLzqQ4oAFkkeFqadCwFxJMz4SKTwogVpIsaBtrv+qdQzZ8ibSB8cpncJW+Z68iQTBq5EXG6N6UIvTHVr2hPpHTX9ZY5Rf0ImfIEyEMmFWHQmk89gHKhBShCP68UoHVfFtZnqV0yahWYVLTdJyMFwE0ms8l+cnFJfWyIuM2TyuQuecsW4xFJMMcd0S1PzBRQGdkaOKosc4DKYn1amSM2rb4H5lwmaVUVqEXJItoA1LBGokwoHWKUS0AqBZTKxOgocJXJl74uLi+Be+I2TyuTu+SkkCInmrZS3kNXkMnnF9RFT5Qpv1cVJkYwmRzxlavMIRClmTgBYmIeU1bpfC+WqS6RKPOKOTxjaWlZXSpWcp4xq1dBZIaBTxH+v95kySLyCQifSCZ3WYuTnYbDKNvpnVMVPUpulvSGPiFRJlq39M5E95bZNYZXD1icTOaoHophQ1EgLcpkrBOsdLJimbglsstMzpnGxZtSE0vjwlKalGVyuEzZJSXQIxJs2kVVDJOLC6NKVK/0jLWrzEzPYB/G6SxV9pJZq2XlyXSHDqlAjW5XjaSCzfsfom2XiX3hbEN4y3G/r64agy7ZifRrXOa6wmMkmT7YZfbwTuPsUoGi2WUyWOlkxZJIkskGWD7YkpWcb4NtAJlVm8tHYEF2m6KofW/pXLe2INxkTs0QeszB5N5rmJVckg55RzI+gTpEToFySRZ1GAcy94lg8AmOtmtSh2QnNebrTCnmWJlzHRatYeRegbomWSZpU2Cq0UdkdgLKlBMzA2EZNpJkmnmZQ9EwqtSDMijqGU+ZeeSqD/pCkikhZ6ZsU8cNc+kuc3EoU0tgT4hE5q3ELgZCTIBh1nECVAWm0fMs3daA8bV4wUN7f0nhAkdCgkztnx9mZ5iQ+zDLSLxdx5bZFK+Tp8wZDNLqFEAmr5myzRh36TfM8obXX01eAeyaqT4LhYvouMccLzNSRIlZmwGzLnGskVWWWWhBmgBZlXPpOwHieEyA5joGsktZJvumXBN5yzSQW/puGhy2XGBDTjZbWDGXLhMgRZ4ArQF8f375+vnP5y/gFawKYHzlEuOzNPGRSVFgSkT37LcCYDSidpnnCUCQaTmUlyaW1QAyxaVJAVjLLmWZViQSUW+Z9RsWE1DmFuMIOZAddIMtTSrA69PTy/dfXr798QMo7GVmzjXyijleJqVwV7d6t4rL2+NlUeY5GE6bBnNp0yCQTG4zBYVIWGa6y6SMCmDoKZOuFQDVYDI1FWlyJtimQR8/vv76/O319enrl89/wdjLZEnsFeO/nee6NImv8MAW6zpSssylKLMMxrHbebJM2eZohYrkUpL5HhKfqohdesokbZED1oFk0gC5M/Kje+e7nafi9fnl8y8mn1+ef6AtyXSNOV4mZd4q7wAo+8s8fqOdA7httJd3Hwlpo12WeUZUv0PaVWaCuTSVqxgGkznPYTYiP/w32lfAr0+/fAF+++2PV6ApyvSK8ZcpL034LbAWclm2kEU/4i8z8C0wf5mcENQIcTxkJnuTOMV1ZBxkniceqYkmnRmtR4ooQWVSJwbD16b/LbAGTEffnvD705NpC3lZphxzrEwbYVZg2Dd+c9pZZpCb08FltrChj8nsAGpiDD0py9RWUIvAkFWOuwcFuA0ok4bALCuKswQFvTk9gMnL85fvz99h0ttsmp8+tdt9LlOKuXC5OS1fOa42c3jUUrW6sIGetB8bwVCUuUCgYyPBZa6B+w/KpHsVgOq4adBhTQ8RonIOwE3ACRBjGMNquJ/ODcc9YgQ8NtJVYfLn568vMImtVrmcoiitVmLuFON6bMRfpiOPY/QOD3T16juZ9V6AA10+MhkkE0Ys6yuzXFgTY35fzTw6L03iV8MOMbTt8CpJwWVa02C9PSyUt8NPKtBK0hEHuoYAzAH0G0z0c+IEjIGALDMfdeYCuD88ahmrxJnMuBE77qilLHPkKnOZlhLz9CcNnFu06hg7lLBGRx21DMHkr9+ZJ6HFKya4TC9atIOf6woBIX6SK8AhaM8D0D//ELR3ryLXlV4xV0qElhEiz0PQbcNoOx+CvlJgIT6H4xUTHCMGd1LE4aVTKpa+jyf4y/z5jycE7lXwxxO0gtFu5svECRrz/4NDf7dvxjYQwzAMdGEE8RaWq2ySh/cf6OGoyQCRANLkBHenWqnzxyGU6aVP0zRN0zTtmzUru64ZWZ923kC0n6tT9WnnnL+y5R51pj6L9ahlx7k6UR8kVt2Sh1W35GHVLXlYdUseVt2Sh1W3fK8aDmuSOmyfelyGwpqkjtvnnvMyENYcdeA+fSxaDNYUdeg+TovBmqAO3sdpMVjD1eH7OC0Ga7A6QR+nxWANVafo47QYrIHqJH0eWhDWMHWaPosWhTVInahPHzisIepUffrAYQ1QJ+vTgVgD1IP6/AHM0QJdY511NAAAAABJRU5ErkJggg==) no-repeat 0 0/230px auto} diff --git a/assets/mobile.61bf8711.js b/assets/mobile.b2bdd618.js similarity index 66% rename from assets/mobile.61bf8711.js rename to assets/mobile.b2bdd618.js index b815a78d..2d2f8f66 100644 --- a/assets/mobile.61bf8711.js +++ b/assets/mobile.b2bdd618.js @@ -1 +1 @@ -import{_ as g,e as S,a as R,l as H,g as M,f as P}from"./iframe-router.0e61c9e3.js";import{a as l,t as y,f as K,i as x,o as c,n as z,d as h,r as w,F as D,b as C,c as b,w as L,h as V,e as T,l as X,m as Y,x as W,q,j as U,v as G,y as J,K as Q,s as Z}from"./vue-libs.67be768b.js";const I={name:"DemoBlock",props:{card:Boolean,title:String}},ee={class:"van-doc-demo-block"},te={key:0,class:"van-doc-demo-block__title"},ne={key:1,class:"van-doc-demo-block__card"};function oe(e,r,o,s,i,n){return c(),l("div",ee,[o.title?(c(),l("h2",te,y(o.title),1)):K("v-if",!0),o.card?(c(),l("div",ne,[x(e.$slots,"default")])):x(e.$slots,"default",{key:2})])}var O=g(I,[["render",oe]]);const se={name:"DemoSection",computed:{demoName(){const{meta:e}=this.$route||{};return e&&e.name?`demo-${S(e.name)}`:""}}};function ae(e,r,o,s,i,n){return c(),l("section",{class:z(["van-doc-demo-section",n.demoName])},[x(e.$slots,"default")],2)}var j=g(se,[["render",ae]]);const B={},E={name:"vant-weapp",build:{srcDir:"packages",site:{publicPath:"/vant-weapp/"}},site:{versions:[{label:"0.x",link:"/vant-weapp/0.x"}],title:"Vant Weapp",description:"\u8F7B\u91CF\u3001\u53EF\u9760\u7684\u5C0F\u7A0B\u5E8F UI \u7EC4\u4EF6\u5E93",logo:"https://img.yzcdn.cn/vant/logo.png",simulator:{url:"https://vant-contrib.gitee.io/vant/mobile.html?weapp=1",syncPathFromSimulator:!1},links:[{logo:"https://img.yzcdn.cn/vant/vant-o.svg",url:"https://vant-contrib.gitee.io/vant/"},{logo:"https://b.yzcdn.cn/vant/logo/github.svg",url:"https://github.com/youzan/vant-weapp"}],baiduAnalytics:{seed:"ad6b5732c36321f2dafed737ac2da92f"},nav:[]}},ce={},re={viewBox:"0 0 1024 1024"},ie=h("path",{fill:"#B6C3D2",d:"M601.1 556.5L333.8 289.3c-24.5-24.5-24.5-64.6 0-89.1s64.6-24.5 89.1 0l267.3 267.3c24.5 24.5 24.5 64.6 0 89.1-24.5 24.4-64.6 24.4-89.1-.1z"},null,-1),ue=h("path",{fill:"#B6C3D2",d:"M690.2 556.5L422.9 823.8c-24.5 24.5-64.6 24.5-89.1 0s-24.5-64.6 0-89.1l267.3-267.3c24.5-24.5 64.6-24.5 89.1 0 24.5 24.6 24.5 64.6 0 89.1z"},null,-1),le=[ie,ue];function me(e,r){return c(),l("svg",re,le)}var de=g(ce,[["render",me]]);const _e={components:{ArrowRight:de},props:{lang:String,group:Object},data(){return{active:[]}},computed:{base(){return this.lang?`/${this.lang}`:""}}},he={class:"demo-home-nav"},pe={class:"demo-home-nav__title"},fe={class:"demo-home-nav__group"};function ve(e,r,o,s,i,n){const d=w("arrow-right"),p=w("router-link");return c(),l("div",he,[h("div",pe,y(o.group.title),1),h("div",fe,[(c(!0),l(D,null,C(o.group.items,m=>(c(),b(p,{class:"demo-home-nav__block",key:m.path,to:`${n.base}/${m.path}`},{default:L(()=>[V(y(m.title)+" ",1),T(d,{class:"demo-home-nav__icon"})]),_:2},1032,["to"]))),128))])])}var ge=g(_e,[["render",ve]]);const ye={components:{DemoHomeNav:ge},computed:{lang(){const{lang:e}=this.$route.meta;return e},config(){const{locales:e}=E.site;return e?e[this.lang]:E.site},smallTitle(){return this.config.title.length>=8}}},we={class:"demo-home"},$e=["src"],ke={key:0,class:"demo-home__desc"};function be(e,r,o,s,i,n){const d=w("demo-home-nav");return c(),l("div",we,[h("h1",{class:z(["demo-home__title",{"demo-home__title--small":n.smallTitle}])},[h("img",{src:n.config.logo},null,8,$e),h("span",null,y(n.config.title),1)],2),n.config.description?(c(),l("h2",ke,y(n.config.description),1)):K("v-if",!0),(c(!0),l(D,null,C(n.config.nav,(p,m)=>(c(),b(d,{key:m,lang:n.lang,group:p},null,8,["lang","group"]))),128))])}var A=g(ye,[["render",be]]);const{locales:N,defaultLang:Te}=E.site;R(Te);function xe(e){const r=e.path.split("/")[1];return Object.keys(N).indexOf(r)!==-1?r:M()}function De(){const e=[],r=Object.keys(B),o=N?Object.keys(N):[];return o.length?(e.push({name:"NotFound",path:"/:path(.*)+",redirect:s=>({name:xe(s)})}),o.forEach(s=>{e.push({name:s,path:`/${s}`,component:A,meta:{lang:s}})})):(e.push({name:"NotFound",path:"/:path(.*)+",redirect:{name:"home"}}),e.push({name:"home",path:"/",component:A})),r.forEach(s=>{const i=S(s);o.length?o.forEach(n=>{e.push({name:`${n}/${i}`,path:`/${n}/${i}`,component:B[s],meta:{name:s,lang:n}})}):e.push({name:i,path:`/${i}`,component:B[s],meta:{name:s}})}),e}const $=X({history:Y(),routes:De(),scrollBehavior:(e,r,o)=>o||{x:0,y:0}});W($.currentRoute,()=>{$.currentRoute.value.redirectedFrom||q(P)});H($);window.vueRouter=$;const Le={data(){return{path:"M296.114 508.035c-3.22-13.597.473-28.499 11.079-39.105l333.912-333.912c16.271-16.272 42.653-16.272 58.925 0s16.272 42.654 0 58.926L395.504 498.47l304.574 304.574c16.272 16.272 16.272 42.654 0 58.926s-42.654 16.272-58.926 0L307.241 528.058a41.472 41.472 0 0 1-11.127-20.023z"}},computed:{title(){const{name:e}=this.$route.meta||{};return e?e.replace(/-/g,""):""}},methods:{onBack(){history.length>1?history.back():this.$router.replace("/")}}},Be={class:"demo-nav"},Ee={class:"demo-nav__title"},Ne=["d"];function Se(e,r,o,s,i,n){return U((c(),l("div",Be,[h("div",Ee,y(n.title),1),(c(),l("svg",{class:"demo-nav__back",viewBox:"0 0 1000 1000",onClick:r[0]||(r[0]=(...d)=>n.onBack&&n.onBack(...d))},[h("path",{fill:"#969799","fill-rule":"evenodd",d:i.path},null,8,Ne)]))],512)),[[G,n.title]])}var Ke=g(Le,[["render",Se]]);const ze={components:{DemoNav:Ke}};function Ce(e,r,o,s,i,n){const d=w("demo-nav"),p=w("demo-section"),m=w("router-view");return c(),l(D,null,[T(d),T(m,null,{default:L(({Component:k})=>[(c(),b(Q,null,[T(p,null,{default:L(()=>[(c(),b(J(k)))]),_:2},1024)],1024))]),_:1})],64)}var Oe=g(ze,[["render",Ce]]);(function(){if(typeof window=="undefined")return;var e,r="ontouchstart"in window;document.createTouch||(document.createTouch=function(a,t,u,_,f,v,F){return new o(t,u,{pageX:_,pageY:f,screenX:v,screenY:F,clientX:_-window.pageXOffset,clientY:f-window.pageYOffset},0,0)}),document.createTouchList||(document.createTouchList=function(){for(var a=s(),t=0;t{window.app.mount("#app")},0); +import{_ as g,f as C,b as H,l as M,g as j,h as P}from"./iframe-router.5fc57411.js";import{a as l,t as w,f as O,i as D,o as c,n as A,d as h,r as y,F as N,b as F,c as T,w as L,h as V,e as b,l as X,m as Y,x as W,q,j as U,v as G,y as J,K as Q,s as Z}from"./vue-libs.67be768b.js";const I={name:"DemoBlock",props:{card:Boolean,title:String}},ee={class:"van-doc-demo-block"},te={key:0,class:"van-doc-demo-block__title"},ne={key:1,class:"van-doc-demo-block__card"};function oe(e,r,o,s,i,n){return c(),l("div",ee,[o.title?(c(),l("h2",te,w(o.title),1)):O("v-if",!0),o.card?(c(),l("div",ne,[D(e.$slots,"default")])):D(e.$slots,"default",{key:2})])}var S=g(I,[["render",oe]]);const se={name:"DemoSection",computed:{demoName(){const{meta:e}=this.$route||{};return e&&e.name?`demo-${C(e.name)}`:""}}};function ae(e,r,o,s,i,n){return c(),l("section",{class:A(["van-doc-demo-section",n.demoName])},[D(e.$slots,"default")],2)}var K=g(se,[["render",ae]]);const x={},B={name:"vant-weapp",build:{srcDir:"packages",site:{publicPath:"/vant-weapp/"}},site:{versions:[{label:"0.x",link:"/vant-weapp/0.x"}],title:"Vant Weapp",description:"\u8F7B\u91CF\u3001\u53EF\u9760\u7684\u5C0F\u7A0B\u5E8F UI \u7EC4\u4EF6\u5E93",logo:"https://img.yzcdn.cn/vant/logo.png",simulator:{url:"https://vant-contrib.gitee.io/vant/mobile.html?weapp=1",syncPathFromSimulator:!1},links:[{logo:"https://img.yzcdn.cn/vant/vant-o.svg",url:"https://vant-contrib.gitee.io/vant/"},{logo:"https://b.yzcdn.cn/vant/logo/github.svg",url:"https://github.com/youzan/vant-weapp"}],baiduAnalytics:{seed:"ad6b5732c36321f2dafed737ac2da92f"},nav:[]}},ce={},re={viewBox:"0 0 1024 1024"},ie=h("path",{fill:"#B6C3D2",d:"M601.1 556.5L333.8 289.3c-24.5-24.5-24.5-64.6 0-89.1s64.6-24.5 89.1 0l267.3 267.3c24.5 24.5 24.5 64.6 0 89.1-24.5 24.4-64.6 24.4-89.1-.1z"},null,-1),ue=h("path",{fill:"#B6C3D2",d:"M690.2 556.5L422.9 823.8c-24.5 24.5-64.6 24.5-89.1 0s-24.5-64.6 0-89.1l267.3-267.3c24.5-24.5 64.6-24.5 89.1 0 24.5 24.6 24.5 64.6 0 89.1z"},null,-1),le=[ie,ue];function me(e,r){return c(),l("svg",re,le)}var de=g(ce,[["render",me]]);const _e={components:{ArrowRight:de},props:{lang:String,group:Object},data(){return{active:[]}},computed:{base(){return this.lang?`/${this.lang}`:""}}},he={class:"demo-home-nav"},pe={class:"demo-home-nav__title"},fe={class:"demo-home-nav__group"};function ve(e,r,o,s,i,n){const d=y("arrow-right"),p=y("router-link");return c(),l("div",he,[h("div",pe,w(o.group.title),1),h("div",fe,[(c(!0),l(N,null,F(o.group.items,m=>(c(),T(p,{class:"demo-home-nav__block",key:m.path,to:`${n.base}/${m.path}`},{default:L(()=>[V(w(m.title)+" ",1),b(d,{class:"demo-home-nav__icon"})]),_:2},1032,["to"]))),128))])])}var ge=g(_e,[["render",ve]]);const ye={components:{DemoHomeNav:ge},computed:{lang(){const{lang:e}=this.$route.meta;return e},config(){const{locales:e}=B.site;return e?e[this.lang]:B.site},smallTitle(){return this.config.title.length>=8}}},we={class:"demo-home"},$e=["src"],ke={key:0,class:"demo-home__desc"};function be(e,r,o,s,i,n){const d=y("demo-home-nav");return c(),l("div",we,[h("h1",{class:A(["demo-home__title",{"demo-home__title--small":n.smallTitle}])},[h("img",{src:n.config.logo},null,8,$e),h("span",null,w(n.config.title),1)],2),n.config.description?(c(),l("h2",ke,w(n.config.description),1)):O("v-if",!0),(c(!0),l(N,null,F(n.config.nav,(p,m)=>(c(),T(d,{key:m,lang:n.lang,group:p},null,8,["lang","group"]))),128))])}var z=g(ye,[["render",be]]);const{locales:E,defaultLang:Te}=B.site;H(Te);function xe(e){const r=e.path.split("/")[1];return Object.keys(E).indexOf(r)!==-1?r:j()}function De(){const e=[],r=Object.keys(x),o=E?Object.keys(E):[];return o.length?(e.push({name:"NotFound",path:"/:path(.*)+",redirect:s=>({name:xe(s)})}),o.forEach(s=>{e.push({name:s,path:`/${s}`,component:z,meta:{lang:s}})})):(e.push({name:"NotFound",path:"/:path(.*)+",redirect:{name:"home"}}),e.push({name:"home",path:"/",component:z})),r.forEach(s=>{const i=C(s);o.length?o.forEach(n=>{e.push({name:`${n}/${i}`,path:`/${n}/${i}`,component:x[s],meta:{name:s,lang:n}})}):e.push({name:i,path:`/${i}`,component:x[s],meta:{name:s}})}),e}const $=X({history:Y(),routes:De(),scrollBehavior:(e,r,o)=>o||{x:0,y:0}});W($.currentRoute,()=>{$.currentRoute.value.redirectedFrom||q(P)});M($);window.vueRouter=$;const Le={data(){return{path:"M296.114 508.035c-3.22-13.597.473-28.499 11.079-39.105l333.912-333.912c16.271-16.272 42.653-16.272 58.925 0s16.272 42.654 0 58.926L395.504 498.47l304.574 304.574c16.272 16.272 16.272 42.654 0 58.926s-42.654 16.272-58.926 0L307.241 528.058a41.472 41.472 0 0 1-11.127-20.023z"}},computed:{title(){const{name:e}=this.$route.meta||{};return e?e.replace(/-/g,""):""}},methods:{onBack(){history.length>1?history.back():this.$router.replace("/")}}},Be={class:"demo-nav"},Ee={class:"demo-nav__title"},Ne=["d"];function Se(e,r,o,s,i,n){return U((c(),l("div",Be,[h("div",Ee,w(n.title),1),(c(),l("svg",{class:"demo-nav__back",viewBox:"0 0 1000 1000",onClick:r[0]||(r[0]=(...d)=>n.onBack&&n.onBack(...d))},[h("path",{fill:"#969799","fill-rule":"evenodd",d:i.path},null,8,Ne)]))],512)),[[G,n.title]])}var Ke=g(Le,[["render",Se]]);const ze={components:{DemoNav:Ke}};function Ce(e,r,o,s,i,n){const d=y("demo-nav"),p=y("demo-section"),m=y("router-view");return c(),l(N,null,[b(d),b(m,null,{default:L(({Component:k})=>[(c(),T(Q,null,[b(p,null,{default:L(()=>[(c(),T(J(k)))]),_:2},1024)],1024))]),_:1})],64)}var Oe=g(ze,[["render",Ce]]);(function(){if(typeof window=="undefined")return;var e,r="ontouchstart"in window;document.createTouch||(document.createTouch=function(a,t,u,_,f,v,R){return new o(t,u,{pageX:_,pageY:f,screenX:v,screenY:R,clientX:_-window.pageXOffset,clientY:f-window.pageYOffset},0,0)}),document.createTouchList||(document.createTouchList=function(){for(var a=s(),t=0;t{window.app.mount("#app")},0); diff --git a/assets/vue-libs.67be768b.js b/assets/vue-libs.67be768b.js index 38981590..6364ad40 100644 --- a/assets/vue-libs.67be768b.js +++ b/assets/vue-libs.67be768b.js @@ -1,5 +1,5 @@ -function Mn(e,t){const n=Object.create(null),s=e.split(",");for(let r=0;r!!n[r.toLowerCase()]:r=>!!n[r]}const Xo="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Zo=Mn(Xo);function Hs(e){return!!e||e===""}function Fn(e){if(j(e)){const t={};for(let n=0;n{if(n){const s=n.split(ei);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function Nn(e){let t="";if(ae(e))t=e;else if(j(e))for(let n=0;nae(e)?e:e==null?"":j(e)||de(e)&&(e.toString===js||!U(e.toString))?JSON.stringify(e,Bs,2):String(e),Bs=(e,t)=>t&&t.__v_isRef?Bs(e,t.value):_t(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r])=>(n[`${s} =>`]=r,n),{})}:$s(t)?{[`Set(${t.size})`]:[...t.values()]}:de(t)&&!j(t)&&!Ds(t)?String(t):t,te={},mt=[],Ie=()=>{},ni=()=>!1,si=/^on[^a-z]/,en=e=>si.test(e),Ln=e=>e.startsWith("onUpdate:"),pe=Object.assign,Hn=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},ri=Object.prototype.hasOwnProperty,V=(e,t)=>ri.call(e,t),j=Array.isArray,_t=e=>tn(e)==="[object Map]",$s=e=>tn(e)==="[object Set]",U=e=>typeof e=="function",ae=e=>typeof e=="string",Bn=e=>typeof e=="symbol",de=e=>e!==null&&typeof e=="object",ks=e=>de(e)&&U(e.then)&&U(e.catch),js=Object.prototype.toString,tn=e=>js.call(e),oi=e=>tn(e).slice(8,-1),Ds=e=>tn(e)==="[object Object]",$n=e=>ae(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,nn=Mn(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),sn=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},ii=/-(\w)/g,Le=sn(e=>e.replace(ii,(t,n)=>n?n.toUpperCase():"")),li=/\B([A-Z])/g,yt=sn(e=>e.replace(li,"-$1").toLowerCase()),rn=sn(e=>e.charAt(0).toUpperCase()+e.slice(1)),kn=sn(e=>e?`on${rn(e)}`:""),Mt=(e,t)=>!Object.is(e,t),Ft=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Ks=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let Us;const ci=()=>Us||(Us=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{});let De;class ui{constructor(t=!1){this.active=!0,this.effects=[],this.cleanups=[],!t&&De&&(this.parent=De,this.index=(De.scopes||(De.scopes=[])).push(this)-1)}run(t){if(this.active)try{return De=this,t()}finally{De=this.parent}}on(){De=this}off(){De=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},zs=e=>(e.w&qe)>0,qs=e=>(e.n&qe)>0,ai=({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>=s)&&l.push(c)});else switch(n!==void 0&&l.push(i.get(n)),t){case"add":j(e)?$n(n)&&l.push(i.get("length")):(l.push(i.get(nt)),_t(e)&&l.push(i.get(Un)));break;case"delete":j(e)||(l.push(i.get(nt)),_t(e)&&l.push(i.get(Un)));break;case"set":_t(e)&&l.push(i.get(nt));break}if(l.length===1)l[0]&&qn(l[0]);else{const c=[];for(const f of l)f&&c.push(...f);qn(jn(c))}}function qn(e,t){for(const n of j(e)?e:[...e])(n!==He||n.allowRecurse)&&(n.scheduler?n.scheduler():n.run())}const hi=Mn("__proto__,__v_isRef,__isVue"),Qs=new Set(Object.getOwnPropertyNames(Symbol).map(e=>Symbol[e]).filter(Bn)),pi=Wn(),gi=Wn(!1,!0),mi=Wn(!0),Js=_i();function _i(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const s=Y(this);for(let o=0,i=this.length;o{e[t]=function(...n){bt();const s=Y(this)[t].apply(this,n);return vt(),s}}),e}function Wn(e=!1,t=!1){return function(s,r,o){if(r==="__v_isReactive")return!e;if(r==="__v_isReadonly")return e;if(r==="__v_isShallow")return t;if(r==="__v_raw"&&o===(e?t?Fi:or:t?rr:sr).get(s))return s;const i=j(s);if(!e&&i&&V(Js,r))return Reflect.get(Js,r,o);const l=Reflect.get(s,r,o);return(Bn(r)?Qs.has(r):hi(r))||(e||Ee(s,"get",r),t)?l:ge(l)?!i||!$n(r)?l.value:l:de(l)?e?ir(l):Lt(l):l}}const yi=Xs(),bi=Xs(!0);function Xs(e=!1){return function(n,s,r,o){let i=n[s];if(Ht(i)&&ge(i)&&!ge(r))return!1;if(!e&&!Ht(r)&&(lr(r)||(r=Y(r),i=Y(i)),!j(n)&&ge(i)&&!ge(r)))return i.value=r,!0;const l=j(n)&&$n(s)?Number(s)e,ln=e=>Reflect.getPrototypeOf(e);function cn(e,t,n=!1,s=!1){e=e.__v_raw;const r=Y(e),o=Y(t);t!==o&&!n&&Ee(r,"get",t),!n&&Ee(r,"get",o);const{has:i}=ln(r),l=s?Vn:n?Jn:Bt;if(i.call(r,t))return l(e.get(t));if(i.call(r,o))return l(e.get(o));e!==r&&e.get(t)}function un(e,t=!1){const n=this.__v_raw,s=Y(n),r=Y(e);return e!==r&&!t&&Ee(s,"has",e),!t&&Ee(s,"has",r),e===r?n.has(e):n.has(e)||n.has(r)}function fn(e,t=!1){return e=e.__v_raw,!t&&Ee(Y(e),"iterate",nt),Reflect.get(e,"size",e)}function Gs(e){e=Y(e);const t=Y(this);return ln(t).has.call(t,e)||(t.add(e),Ke(t,"add",e,e)),this}function er(e,t){t=Y(t);const n=Y(this),{has:s,get:r}=ln(n);let o=s.call(n,e);o||(e=Y(e),o=s.call(n,e));const i=r.call(n,e);return n.set(e,t),o?Mt(t,i)&&Ke(n,"set",e,t):Ke(n,"add",e,t),this}function tr(e){const t=Y(this),{has:n,get:s}=ln(t);let r=n.call(t,e);r||(e=Y(e),r=n.call(t,e)),s&&s.call(t,e);const o=t.delete(e);return r&&Ke(t,"delete",e,void 0),o}function nr(){const e=Y(this),t=e.size!==0,n=e.clear();return t&&Ke(e,"clear",void 0,void 0),n}function an(e,t){return function(s,r){const o=this,i=o.__v_raw,l=Y(i),c=t?Vn:e?Jn:Bt;return!e&&Ee(l,"iterate",nt),i.forEach((f,a)=>s.call(r,c(f),c(a),o))}}function dn(e,t,n){return function(...s){const r=this.__v_raw,o=Y(r),i=_t(o),l=e==="entries"||e===Symbol.iterator&&i,c=e==="keys"&&i,f=r[e](...s),a=n?Vn:t?Jn:Bt;return!t&&Ee(o,"iterate",c?Un:nt),{next(){const{value:p,done:h}=f.next();return h?{value:p,done:h}:{value:l?[a(p[0]),a(p[1])]:a(p),done:h}},[Symbol.iterator](){return this}}}}function Ve(e){return function(...t){return e==="delete"?!1:this}}function Ai(){const e={get(o){return cn(this,o)},get size(){return fn(this)},has:un,add:Gs,set:er,delete:tr,clear:nr,forEach:an(!1,!1)},t={get(o){return cn(this,o,!1,!0)},get size(){return fn(this)},has:un,add:Gs,set:er,delete:tr,clear:nr,forEach:an(!1,!0)},n={get(o){return cn(this,o,!0)},get size(){return fn(this,!0)},has(o){return un.call(this,o,!0)},add:Ve("add"),set:Ve("set"),delete:Ve("delete"),clear:Ve("clear"),forEach:an(!0,!1)},s={get(o){return cn(this,o,!0,!0)},get size(){return fn(this,!0)},has(o){return un.call(this,o,!0)},add:Ve("add"),set:Ve("set"),delete:Ve("delete"),clear:Ve("clear"),forEach:an(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{e[o]=dn(o,!1,!1),n[o]=dn(o,!0,!1),t[o]=dn(o,!1,!0),s[o]=dn(o,!0,!0)}),[e,n,t,s]}const[Ri,Pi,Ti,Si]=Ai();function Yn(e,t){const n=t?e?Si:Ti:e?Pi:Ri;return(s,r,o)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(V(n,r)&&r in s?n:s,r,o)}const Oi={get:Yn(!1,!1)},Ii={get:Yn(!1,!0)},Mi={get:Yn(!0,!1)},sr=new WeakMap,rr=new WeakMap,or=new WeakMap,Fi=new WeakMap;function Ni(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Li(e){return e.__v_skip||!Object.isExtensible(e)?0:Ni(oi(e))}function Lt(e){return Ht(e)?e:Qn(e,!1,Zs,Oi,sr)}function Hi(e){return Qn(e,!1,wi,Ii,rr)}function ir(e){return Qn(e,!0,xi,Mi,or)}function Qn(e,t,n,s,r){if(!de(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=r.get(e);if(o)return o;const i=Li(e);if(i===0)return e;const l=new Proxy(e,i===2?s:n);return r.set(e,l),l}function Et(e){return Ht(e)?Et(e.__v_raw):!!(e&&e.__v_isReactive)}function Ht(e){return!!(e&&e.__v_isReadonly)}function lr(e){return!!(e&&e.__v_isShallow)}function cr(e){return Et(e)||Ht(e)}function Y(e){const t=e&&e.__v_raw;return t?Y(t):e}function ur(e){return on(e,"__v_skip",!0),e}const Bt=e=>de(e)?Lt(e):e,Jn=e=>de(e)?ir(e):e;function fr(e){We&&He&&(e=Y(e),Ys(e.dep||(e.dep=jn())))}function ar(e,t){e=Y(e),e.dep&&qn(e.dep)}function ge(e){return!!(e&&e.__v_isRef===!0)}function Bi(e){return dr(e,!1)}function $i(e){return dr(e,!0)}function dr(e,t){return ge(e)?e:new ki(e,t)}class ki{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:Y(t),this._value=n?t:Bt(t)}get value(){return fr(this),this._value}set value(t){t=this.__v_isShallow?t:Y(t),Mt(t,this._rawValue)&&(this._rawValue=t,this._value=this.__v_isShallow?t:Bt(t),ar(this))}}function $t(e){return ge(e)?e.value:e}const ji={get:(e,t,n)=>$t(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return ge(r)&&!ge(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function hr(e){return Et(e)?e:new Proxy(e,ji)}class Di{constructor(t,n,s,r){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this._dirty=!0,this.effect=new zn(t,()=>{this._dirty||(this._dirty=!0,ar(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=s}get value(){const t=Y(this);return fr(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function Ki(e,t,n=!1){let s,r;const o=U(e);return o?(s=e,r=Ie):(s=e.get,r=e.set),new Di(s,r,o||!r,n)}Promise.resolve();function Ye(e,t,n,s){let r;try{r=s?e(...s):e()}catch(o){hn(o,t,n)}return r}function Re(e,t,n,s){if(U(e)){const o=Ye(e,t,n,s);return o&&ks(o)&&o.catch(i=>{hn(i,t,n)}),o}const r=[];for(let o=0;o>>1;Kt(Ce[s])Ue&&Ce.splice(t,1)}function yr(e,t,n,s){j(e)?n.push(...e):(!t||!t.includes(e,e.allowRecurse?s+1:s))&&n.push(e),_r()}function Wi(e){yr(e,jt,kt,Ct)}function Vi(e){yr(e,Qe,Dt,xt)}function es(e,t=null){if(kt.length){for(Gn=t,jt=[...new Set(kt)],kt.length=0,Ct=0;CtKt(n)-Kt(s)),xt=0;xte.id==null?1/0:e.id;function vr(e){Xn=!1,pn=!0,es(e),Ce.sort((n,s)=>Kt(n)-Kt(s));const t=Ie;try{for(Ue=0;Ueb.trim()):p&&(r=n.map(Ks))}let l,c=s[l=kn(t)]||s[l=kn(Le(t))];!c&&o&&(c=s[l=kn(yt(t))]),c&&Re(c,e,6,r);const f=s[l+"Once"];if(f){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Re(f,e,6,r)}}function Er(e,t,n=!1){const s=t.emitsCache,r=s.get(e);if(r!==void 0)return r;const o=e.emits;let i={},l=!1;if(!U(e)){const c=f=>{const a=Er(f,t,!0);a&&(l=!0,pe(i,a))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!o&&!l?(s.set(e,null),null):(j(o)?o.forEach(c=>i[c]=null):pe(i,o),s.set(e,i),i)}function ts(e,t){return!e||!en(t)?!1:(t=t.slice(2).replace(/Once$/,""),V(e,t[0].toLowerCase()+t.slice(1))||V(e,yt(t))||V(e,t))}let xe=null,gn=null;function mn(e){const t=xe;return xe=e,gn=e&&e.type.__scopeId||null,t}function Cu(e){gn=e}function xu(){gn=null}function Qi(e,t=xe,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&Gr(-1);const o=mn(t),i=e(...r);return mn(o),s._d&&Gr(1),i};return s._n=!0,s._c=!0,s._d=!0,s}function ns(e){const{type:t,vnode:n,proxy:s,withProxy:r,props:o,propsOptions:[i],slots:l,attrs:c,emit:f,render:a,renderCache:p,data:h,setupState:b,ctx:R,inheritAttrs:N}=e;let S,O;const x=mn(e);try{if(n.shapeFlag&4){const T=r||s;S=Be(a.call(T,T,p,o,b,h,R)),O=c}else{const T=t;S=Be(T.length>1?T(o,{attrs:c,slots:l,emit:f}):T(o,null)),O=t.props?c:Ji(c)}}catch(T){qt.length=0,hn(T,e,1),S=ye(Me)}let I=S;if(O&&N!==!1){const T=Object.keys(O),{shapeFlag:q}=I;T.length&&q&(1|6)&&(i&&T.some(Ln)&&(O=Xi(O,i)),I=ut(I,O))}return n.dirs&&(I.dirs=I.dirs?I.dirs.concat(n.dirs):n.dirs),n.transition&&(I.transition=n.transition),S=I,mn(x),S}const Ji=e=>{let t;for(const n in e)(n==="class"||n==="style"||en(n))&&((t||(t={}))[n]=e[n]);return t},Xi=(e,t)=>{const n={};for(const s in e)(!Ln(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function Zi(e,t,n){const{props:s,children:r,component:o}=e,{props:i,children:l,patchFlag:c}=t,f=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return s?Cr(s,i,f):!!i;if(c&8){const a=t.dynamicProps;for(let p=0;pe.__isSuspense;function tl(e,t){t&&t.pendingBranch?j(e)?t.effects.push(...e):t.effects.push(e):Vi(e)}function _n(e,t){if(he){let n=he.provides;const s=he.parent&&he.parent.provides;s===n&&(n=he.provides=Object.create(s)),n[e]=t}}function Je(e,t,n=!1){const s=he||xe;if(s){const r=s.parent==null?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides;if(r&&e in r)return r[e];if(arguments.length>1)return n&&U(t)?t.call(s.proxy):t}}const xr={};function Ut(e,t,n){return wr(e,t,n)}function wr(e,t,{immediate:n,deep:s,flush:r,onTrack:o,onTrigger:i}=te){const l=he;let c,f=!1,a=!1;if(ge(e)?(c=()=>e.value,f=lr(e)):Et(e)?(c=()=>e,s=!0):j(e)?(a=!0,f=e.some(Et),c=()=>e.map(O=>{if(ge(O))return O.value;if(Et(O))return st(O);if(U(O))return Ye(O,l,2)})):U(e)?t?c=()=>Ye(e,l,2):c=()=>{if(!(l&&l.isUnmounted))return p&&p(),Re(e,l,3,[h])}:c=Ie,t&&s){const O=c;c=()=>st(O())}let p,h=O=>{p=S.onStop=()=>{Ye(O,l,4)}};if(Vt)return h=Ie,t?n&&Re(t,l,3,[c(),a?[]:void 0,h]):c(),Ie;let b=a?[]:xr;const R=()=>{if(!!S.active)if(t){const O=S.run();(s||f||(a?O.some((x,I)=>Mt(x,b[I])):Mt(O,b)))&&(p&&p(),Re(t,l,3,[O,b===xr?void 0:b,h]),b=O)}else S.run()};R.allowRecurse=!!t;let N;r==="sync"?N=R:r==="post"?N=()=>me(R,l&&l.suspense):N=()=>{!l||l.isMounted?Wi(R):R()};const S=new zn(c,N);return t?n?R():b=S.run():r==="post"?me(S.run.bind(S),l&&l.suspense):S.run(),()=>{S.stop(),l&&l.scope&&Hn(l.scope.effects,S)}}function nl(e,t,n){const s=this.proxy,r=ae(e)?e.includes(".")?Ar(s,e):()=>s[e]:e.bind(s,s);let o;U(t)?o=t:(o=t.handler,n=t);const i=he;wt(this);const l=wr(r,o.bind(s),n);return i?wt(i):ft(),l}function Ar(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;r{st(n,t)});else if(Ds(e))for(const n in e)st(e[n],t);return e}function sl(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return ls(()=>{e.isMounted=!0}),cs(()=>{e.isUnmounting=!0}),e}const Pe=[Function,Array],rl={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Pe,onEnter:Pe,onAfterEnter:Pe,onEnterCancelled:Pe,onBeforeLeave:Pe,onLeave:Pe,onAfterLeave:Pe,onLeaveCancelled:Pe,onBeforeAppear:Pe,onAppear:Pe,onAfterAppear:Pe,onAppearCancelled:Pe},setup(e,{slots:t}){const n=oo(),s=sl();let r;return()=>{const o=t.default&&Sr(t.default(),!0);if(!o||!o.length)return;const i=Y(e),{mode:l}=i,c=o[0];if(s.isLeaving)return rs(c);const f=Tr(c);if(!f)return rs(c);const a=ss(f,i,s,n);yn(f,a);const p=n.subTree,h=p&&Tr(p);let b=!1;const{getTransitionKey:R}=f.type;if(R){const N=R();r===void 0?r=N:N!==r&&(r=N,b=!0)}if(h&&h.type!==Me&&(!ct(f,h)||b)){const N=ss(h,i,s,n);if(yn(h,N),l==="out-in")return s.isLeaving=!0,N.afterLeave=()=>{s.isLeaving=!1,n.update()},rs(c);l==="in-out"&&f.type!==Me&&(N.delayLeave=(S,O,x)=>{const I=Pr(s,h);I[String(h.key)]=h,S._leaveCb=()=>{O(),S._leaveCb=void 0,delete a.delayedLeave},a.delayedLeave=x})}return c}}},Rr=rl;function Pr(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 ss(e,t,n,s){const{appear:r,mode:o,persisted:i=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:f,onEnterCancelled:a,onBeforeLeave:p,onLeave:h,onAfterLeave:b,onLeaveCancelled:R,onBeforeAppear:N,onAppear:S,onAfterAppear:O,onAppearCancelled:x}=t,I=String(e.key),T=Pr(n,e),q=(k,X)=>{k&&Re(k,s,9,X)},Q={mode:o,persisted:i,beforeEnter(k){let X=l;if(!n.isMounted)if(r)X=N||l;else return;k._leaveCb&&k._leaveCb(!0);const J=T[I];J&&ct(e,J)&&J.el._leaveCb&&J.el._leaveCb(),q(X,[k])},enter(k){let X=c,J=f,le=a;if(!n.isMounted)if(r)X=S||c,J=O||f,le=x||a;else return;let ce=!1;const L=k._enterCb=ue=>{ce||(ce=!0,ue?q(le,[k]):q(J,[k]),Q.delayedLeave&&Q.delayedLeave(),k._enterCb=void 0)};X?(X(k,L),X.length<=1&&L()):L()},leave(k,X){const J=String(e.key);if(k._enterCb&&k._enterCb(!0),n.isUnmounting)return X();q(p,[k]);let le=!1;const ce=k._leaveCb=L=>{le||(le=!0,X(),L?q(R,[k]):q(b,[k]),k._leaveCb=void 0,T[J]===e&&delete T[J])};T[J]=e,h?(h(k,ce),h.length<=1&&ce()):ce()},clone(k){return ss(k,t,n,s)}};return Q}function rs(e){if(vn(e))return e=ut(e),e.children=null,e}function Tr(e){return vn(e)?e.children?e.children[0]:void 0:e}function yn(e,t){e.shapeFlag&6&&e.component?yn(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 Sr(e,t=!1){let n=[],s=0;for(let r=0;r1)for(let r=0;r!!e.type.__asyncLoader,vn=e=>e.type.__isKeepAlive,ol={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=oo(),s=n.ctx;if(!s.renderer)return t.default;const r=new Map,o=new Set;let i=null;const l=n.suspense,{renderer:{p:c,m:f,um:a,o:{createElement:p}}}=s,h=p("div");s.activate=(x,I,T,q,Q)=>{const k=x.component;f(x,I,T,0,l),c(k.vnode,x,I,T,k,l,q,x.slotScopeIds,Q),me(()=>{k.isDeactivated=!1,k.a&&Ft(k.a);const X=x.props&&x.props.onVnodeMounted;X&&Se(X,k.parent,x)},l)},s.deactivate=x=>{const I=x.component;f(x,h,null,1,l),me(()=>{I.da&&Ft(I.da);const T=x.props&&x.props.onVnodeUnmounted;T&&Se(T,I.parent,x),I.isDeactivated=!0},l)};function b(x){os(x),a(x,n,l,!0)}function R(x){r.forEach((I,T)=>{const q=bs(I.type);q&&(!x||!x(q))&&N(T)})}function N(x){const I=r.get(x);!i||I.type!==i.type?b(I):i&&os(i),r.delete(x),o.delete(x)}Ut(()=>[e.include,e.exclude],([x,I])=>{x&&R(T=>zt(x,T)),I&&R(T=>!zt(I,T))},{flush:"post",deep:!0});let S=null;const O=()=>{S!=null&&r.set(S,is(n.subTree))};return ls(O),Mr(O),cs(()=>{r.forEach(x=>{const{subTree:I,suspense:T}=n,q=is(I);if(x.type===q.type){os(q);const Q=q.component.da;Q&&me(Q,T);return}b(x)})}),()=>{if(S=null,!t.default)return null;const x=t.default(),I=x[0];if(x.length>1)return i=null,x;if(!Wt(I)||!(I.shapeFlag&4)&&!(I.shapeFlag&128))return i=null,I;let T=is(I);const q=T.type,Q=bs(bn(T)?T.type.__asyncResolved||{}:q),{include:k,exclude:X,max:J}=e;if(k&&(!Q||!zt(k,Q))||X&&Q&&zt(X,Q))return i=T,I;const le=T.key==null?q:T.key,ce=r.get(le);return T.el&&(T=ut(T),I.shapeFlag&128&&(I.ssContent=T)),S=le,ce?(T.el=ce.el,T.component=ce.component,T.transition&&yn(T,T.transition),T.shapeFlag|=512,o.delete(le),o.add(le)):(o.add(le),J&&o.size>parseInt(J,10)&&N(o.values().next().value)),T.shapeFlag|=256,i=T,I}}},wu=ol;function zt(e,t){return j(e)?e.some(n=>zt(n,t)):ae(e)?e.split(",").includes(t):e.test?e.test(t):!1}function il(e,t){Ir(e,"a",t)}function ll(e,t){Ir(e,"da",t)}function Ir(e,t,n=he){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(En(t,s,n),n){let r=n.parent;for(;r&&r.parent;)vn(r.parent.vnode)&&cl(s,t,n,r),r=r.parent}}function cl(e,t,n,s){const r=En(t,e,s,!0);Fr(()=>{Hn(s[t],r)},n)}function os(e){let t=e.shapeFlag;t&256&&(t-=256),t&512&&(t-=512),e.shapeFlag=t}function is(e){return e.shapeFlag&128?e.ssContent:e}function En(e,t,n=he,s=!1){if(n){const r=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{if(n.isUnmounted)return;bt(),wt(n);const l=Re(t,n,e,i);return ft(),vt(),l});return s?r.unshift(o):r.push(o),o}}const ze=e=>(t,n=he)=>(!Vt||e==="sp")&&En(e,t,n),ul=ze("bm"),ls=ze("m"),fl=ze("bu"),Mr=ze("u"),cs=ze("bum"),Fr=ze("um"),al=ze("sp"),dl=ze("rtg"),hl=ze("rtc");function pl(e,t=he){En("ec",e,t)}let us=!0;function gl(e){const t=Hr(e),n=e.proxy,s=e.ctx;us=!1,t.beforeCreate&&Nr(t.beforeCreate,e,"bc");const{data:r,computed:o,methods:i,watch:l,provide:c,inject:f,created:a,beforeMount:p,mounted:h,beforeUpdate:b,updated:R,activated:N,deactivated:S,beforeDestroy:O,beforeUnmount:x,destroyed:I,unmounted:T,render:q,renderTracked:Q,renderTriggered:k,errorCaptured:X,serverPrefetch:J,expose:le,inheritAttrs:ce,components:L,directives:ue,filters:be}=t;if(f&&ml(f,s,null,e.appContext.config.unwrapInjectedRef),i)for(const se in i){const Z=i[se];U(Z)&&(s[se]=Z.bind(n))}if(r){const se=r.call(n,n);de(se)&&(e.data=Lt(se))}if(us=!0,o)for(const se in o){const Z=o[se],we=U(Z)?Z.bind(n,n):U(Z.get)?Z.get.bind(n,n):Ie,pt=!U(Z)&&U(Z.set)?Z.set.bind(n):Ie,je=$e({get:we,set:pt});Object.defineProperty(s,se,{enumerable:!0,configurable:!0,get:()=>je.value,set:Fe=>je.value=Fe})}if(l)for(const se in l)Lr(l[se],s,n,se);if(c){const se=U(c)?c.call(n):c;Reflect.ownKeys(se).forEach(Z=>{_n(Z,se[Z])})}a&&Nr(a,e,"c");function fe(se,Z){j(Z)?Z.forEach(we=>se(we.bind(n))):Z&&se(Z.bind(n))}if(fe(ul,p),fe(ls,h),fe(fl,b),fe(Mr,R),fe(il,N),fe(ll,S),fe(pl,X),fe(hl,Q),fe(dl,k),fe(cs,x),fe(Fr,T),fe(al,J),j(le))if(le.length){const se=e.exposed||(e.exposed={});le.forEach(Z=>{Object.defineProperty(se,Z,{get:()=>n[Z],set:we=>n[Z]=we})})}else e.exposed||(e.exposed={});q&&e.render===Ie&&(e.render=q),ce!=null&&(e.inheritAttrs=ce),L&&(e.components=L),ue&&(e.directives=ue)}function ml(e,t,n=Ie,s=!1){j(e)&&(e=fs(e));for(const r in e){const o=e[r];let i;de(o)?"default"in o?i=Je(o.from||r,o.default,!0):i=Je(o.from||r):i=Je(o),ge(i)&&s?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>i.value,set:l=>i.value=l}):t[r]=i}}function Nr(e,t,n){Re(j(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function Lr(e,t,n,s){const r=s.includes(".")?Ar(n,s):()=>n[s];if(ae(e)){const o=t[e];U(o)&&Ut(r,o)}else if(U(e))Ut(r,e.bind(n));else if(de(e))if(j(e))e.forEach(o=>Lr(o,t,n,s));else{const o=U(e.handler)?e.handler.bind(n):t[e.handler];U(o)&&Ut(r,o,e)}}function Hr(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,l=o.get(t);let c;return l?c=l:!r.length&&!n&&!s?c=t:(c={},r.length&&r.forEach(f=>Cn(c,f,i,!0)),Cn(c,t,i)),o.set(t,c),c}function Cn(e,t,n,s=!1){const{mixins:r,extends:o}=t;o&&Cn(e,o,n,!0),r&&r.forEach(i=>Cn(e,i,n,!0));for(const i in t)if(!(s&&i==="expose")){const l=_l[i]||n&&n[i];e[i]=l?l(e[i],t[i]):t[i]}return e}const _l={data:Br,props:rt,emits:rt,methods:rt,computed:rt,beforeCreate:_e,created:_e,beforeMount:_e,mounted:_e,beforeUpdate:_e,updated:_e,beforeDestroy:_e,beforeUnmount:_e,destroyed:_e,unmounted:_e,activated:_e,deactivated:_e,errorCaptured:_e,serverPrefetch:_e,components:rt,directives:rt,watch:bl,provide:Br,inject:yl};function Br(e,t){return t?e?function(){return pe(U(e)?e.call(this,this):e,U(t)?t.call(this,this):t)}:t:e}function yl(e,t){return rt(fs(e),fs(t))}function fs(e){if(j(e)){const t={};for(let n=0;n0)&&!(i&16)){if(i&8){const a=e.vnode.dynamicProps;for(let p=0;p{c=!0;const[h,b]=kr(p,t,!0);pe(i,h),b&&l.push(...b)};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}if(!o&&!c)return s.set(e,mt),mt;if(j(o))for(let a=0;a-1,b[1]=N<0||R-1||V(b,"default"))&&l.push(p)}}}const f=[i,l];return s.set(e,f),f}function jr(e){return e[0]!=="$"}function Dr(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:e===null?"null":""}function Kr(e,t){return Dr(e)===Dr(t)}function Ur(e,t){return j(t)?t.findIndex(n=>Kr(n,e)):U(t)&&Kr(t,e)?0:-1}const zr=e=>e[0]==="_"||e==="$stable",ds=e=>j(e)?e.map(Be):[Be(e)],Cl=(e,t,n)=>{const s=Qi((...r)=>ds(t(...r)),n);return s._c=!1,s},qr=(e,t,n)=>{const s=e._ctx;for(const r in e){if(zr(r))continue;const o=e[r];if(U(o))t[r]=Cl(r,o,s);else if(o!=null){const i=ds(o);t[r]=()=>i}}},Wr=(e,t)=>{const n=ds(t);e.slots.default=()=>n},xl=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=Y(t),on(t,"_",n)):qr(t,e.slots={})}else e.slots={},t&&Wr(e,t);on(e.slots,An,1)},wl=(e,t,n)=>{const{vnode:s,slots:r}=e;let o=!0,i=te;if(s.shapeFlag&32){const l=t._;l?n&&l===1?o=!1:(pe(r,t),!n&&l===1&&delete r._):(o=!t.$stable,qr(t,r)),i=t}else t&&(Wr(e,t),i={default:1});if(o)for(const l in r)!zr(l)&&!(l in i)&&delete r[l]};function Au(e,t){const n=xe;if(n===null)return e;const s=n.proxy,r=e.dirs||(e.dirs=[]);for(let o=0;ohs(h,t&&(j(t)?t[b]:t),n,s,r));return}if(bn(s)&&!r)return;const o=s.shapeFlag&4?ys(s.component)||s.component.proxy:s.el,i=r?null:o,{i:l,r:c}=e,f=t&&t.r,a=l.refs===te?l.refs={}:l.refs,p=l.setupState;if(f!=null&&f!==c&&(ae(f)?(a[f]=null,V(p,f)&&(p[f]=null)):ge(f)&&(f.value=null)),U(c))Ye(c,l,12,[i,a]);else{const h=ae(c),b=ge(c);if(h||b){const R=()=>{if(e.f){const N=h?a[c]:c.value;r?j(N)&&Hn(N,o):j(N)?N.includes(o)||N.push(o):h?a[c]=[o]:(c.value=[o],e.k&&(a[e.k]=c.value))}else h?(a[c]=i,V(p,c)&&(p[c]=i)):ge(c)&&(c.value=i,e.k&&(a[e.k]=i))};i?(R.id=-1,me(R,n)):R()}}}const me=tl;function Pl(e){return Tl(e)}function Tl(e,t){const n=ci();n.__VUE__=!0;const{insert:s,remove:r,patchProp:o,createElement:i,createText:l,createComment:c,setText:f,setElementText:a,parentNode:p,nextSibling:h,setScopeId:b=Ie,cloneNode:R,insertStaticContent:N}=e,S=(u,d,g,y=null,_=null,C=null,P=!1,E=null,w=!!d.dynamicChildren)=>{if(u===d)return;u&&!ct(u,d)&&(y=H(u),Ae(u,_,C,!0),u=null),d.patchFlag===-2&&(w=!1,d.dynamicChildren=null);const{type:v,ref:B,shapeFlag:M}=d;switch(v){case gs:O(u,d,g,y);break;case Me:x(u,d,g,y);break;case xn:u==null&&I(d,g,y,P);break;case Te:ue(u,d,g,y,_,C,P,E,w);break;default:M&1?Q(u,d,g,y,_,C,P,E,w):M&6?be(u,d,g,y,_,C,P,E,w):(M&64||M&128)&&v.process(u,d,g,y,_,C,P,E,w,re)}B!=null&&_&&hs(B,u&&u.ref,C,d||u,!d)},O=(u,d,g,y)=>{if(u==null)s(d.el=l(d.children),g,y);else{const _=d.el=u.el;d.children!==u.children&&f(_,d.children)}},x=(u,d,g,y)=>{u==null?s(d.el=c(d.children||""),g,y):d.el=u.el},I=(u,d,g,y)=>{[u.el,u.anchor]=N(u.children,d,g,y,u.el,u.anchor)},T=({el:u,anchor:d},g,y)=>{let _;for(;u&&u!==d;)_=h(u),s(u,g,y),u=_;s(d,g,y)},q=({el:u,anchor:d})=>{let g;for(;u&&u!==d;)g=h(u),r(u),u=g;r(d)},Q=(u,d,g,y,_,C,P,E,w)=>{P=P||d.type==="svg",u==null?k(d,g,y,_,C,P,E,w):le(u,d,_,C,P,E,w)},k=(u,d,g,y,_,C,P,E)=>{let w,v;const{type:B,props:M,shapeFlag:$,transition:D,patchFlag:W,dirs:ie}=u;if(u.el&&R!==void 0&&W===-1)w=u.el=R(u.el);else{if(w=u.el=i(u.type,C,M&&M.is,M),$&8?a(w,u.children):$&16&&J(u.children,w,null,y,_,C&&B!=="foreignObject",P,E),ie&&ot(u,null,y,"created"),M){for(const oe in M)oe!=="value"&&!nn(oe)&&o(w,oe,null,M[oe],C,u.children,y,_,A);"value"in M&&o(w,"value",null,M.value),(v=M.onVnodeBeforeMount)&&Se(v,y,u)}X(w,u,u.scopeId,P,y)}ie&&ot(u,null,y,"beforeMount");const ee=(!_||_&&!_.pendingBranch)&&D&&!D.persisted;ee&&D.beforeEnter(w),s(w,d,g),((v=M&&M.onVnodeMounted)||ee||ie)&&me(()=>{v&&Se(v,y,u),ee&&D.enter(w),ie&&ot(u,null,y,"mounted")},_)},X=(u,d,g,y,_)=>{if(g&&b(u,g),y)for(let C=0;C{for(let v=w;v{const E=d.el=u.el;let{patchFlag:w,dynamicChildren:v,dirs:B}=d;w|=u.patchFlag&16;const M=u.props||te,$=d.props||te;let D;g&&it(g,!1),(D=$.onVnodeBeforeUpdate)&&Se(D,g,d,u),B&&ot(d,u,g,"beforeUpdate"),g&&it(g,!0);const W=_&&d.type!=="foreignObject";if(v?ce(u.dynamicChildren,v,E,g,y,W,C):P||we(u,d,E,null,g,y,W,C,!1),w>0){if(w&16)L(E,d,M,$,g,y,_);else if(w&2&&M.class!==$.class&&o(E,"class",null,$.class,_),w&4&&o(E,"style",M.style,$.style,_),w&8){const ie=d.dynamicProps;for(let ee=0;ee{D&&Se(D,g,d,u),B&&ot(d,u,g,"updated")},y)},ce=(u,d,g,y,_,C,P)=>{for(let E=0;E{if(g!==y){for(const E in y){if(nn(E))continue;const w=y[E],v=g[E];w!==v&&E!=="value"&&o(u,E,v,w,P,d.children,_,C,A)}if(g!==te)for(const E in g)!nn(E)&&!(E in y)&&o(u,E,g[E],null,P,d.children,_,C,A);"value"in y&&o(u,"value",g.value,y.value)}},ue=(u,d,g,y,_,C,P,E,w)=>{const v=d.el=u?u.el:l(""),B=d.anchor=u?u.anchor:l("");let{patchFlag:M,dynamicChildren:$,slotScopeIds:D}=d;D&&(E=E?E.concat(D):D),u==null?(s(v,g,y),s(B,g,y),J(d.children,g,B,_,C,P,E,w)):M>0&&M&64&&$&&u.dynamicChildren?(ce(u.dynamicChildren,$,g,_,C,P,E),(d.key!=null||_&&d===_.subTree)&&Yr(u,d,!0)):we(u,d,g,B,_,C,P,E,w)},be=(u,d,g,y,_,C,P,E,w)=>{d.slotScopeIds=E,u==null?d.shapeFlag&512?_.ctx.activate(d,g,y,P,w):ke(d,g,y,_,C,P,w):fe(u,d,w)},ke=(u,d,g,y,_,C,P)=>{const E=u.component=kl(u,y,_);if(vn(u)&&(E.ctx.renderer=re),jl(E),E.asyncDep){if(_&&_.registerDep(E,se),!u.el){const w=E.subTree=ye(Me);x(null,w,d,g)}return}se(E,u,d,g,_,C,P)},fe=(u,d,g)=>{const y=d.component=u.component;if(Zi(u,d,g))if(y.asyncDep&&!y.asyncResolved){Z(y,d,g);return}else y.next=d,qi(y.update),y.update();else d.component=u.component,d.el=u.el,y.vnode=d},se=(u,d,g,y,_,C,P)=>{const E=()=>{if(u.isMounted){let{next:B,bu:M,u:$,parent:D,vnode:W}=u,ie=B,ee;it(u,!1),B?(B.el=W.el,Z(u,B,P)):B=W,M&&Ft(M),(ee=B.props&&B.props.onVnodeBeforeUpdate)&&Se(ee,D,B,W),it(u,!0);const oe=ns(u),Oe=u.subTree;u.subTree=oe,S(Oe,oe,p(Oe.el),H(Oe),u,_,C),B.el=oe.el,ie===null&&Gi(u,oe.el),$&&me($,_),(ee=B.props&&B.props.onVnodeUpdated)&&me(()=>Se(ee,D,B,W),_)}else{let B;const{el:M,props:$}=d,{bm:D,m:W,parent:ie}=u,ee=bn(d);if(it(u,!1),D&&Ft(D),!ee&&(B=$&&$.onVnodeBeforeMount)&&Se(B,ie,d),it(u,!0),M&&K){const oe=()=>{u.subTree=ns(u),K(M,u.subTree,u,_,null)};ee?d.type.__asyncLoader().then(()=>!u.isUnmounted&&oe()):oe()}else{const oe=u.subTree=ns(u);S(null,oe,g,y,u,_,C),d.el=oe.el}if(W&&me(W,_),!ee&&(B=$&&$.onVnodeMounted)){const oe=d;me(()=>Se(B,ie,oe),_)}d.shapeFlag&256&&u.a&&me(u.a,_),u.isMounted=!0,d=g=y=null}},w=u.effect=new zn(E,()=>mr(u.update),u.scope),v=u.update=w.run.bind(w);v.id=u.uid,it(u,!0),v()},Z=(u,d,g)=>{d.component=u;const y=u.vnode.props;u.vnode=d,u.next=null,El(u,d.props,y,g),wl(u,d.children,g),bt(),es(void 0,u.update),vt()},we=(u,d,g,y,_,C,P,E,w=!1)=>{const v=u&&u.children,B=u?u.shapeFlag:0,M=d.children,{patchFlag:$,shapeFlag:D}=d;if($>0){if($&128){je(v,M,g,y,_,C,P,E,w);return}else if($&256){pt(v,M,g,y,_,C,P,E,w);return}}D&8?(B&16&&A(v,_,C),M!==v&&a(g,M)):B&16?D&16?je(v,M,g,y,_,C,P,E,w):A(v,_,C,!0):(B&8&&a(g,""),D&16&&J(M,g,y,_,C,P,E,w))},pt=(u,d,g,y,_,C,P,E,w)=>{u=u||mt,d=d||mt;const v=u.length,B=d.length,M=Math.min(v,B);let $;for($=0;$B?A(u,_,C,!0,!1,M):J(d,g,y,_,C,P,E,w,M)},je=(u,d,g,y,_,C,P,E,w)=>{let v=0;const B=d.length;let M=u.length-1,$=B-1;for(;v<=M&&v<=$;){const D=u[v],W=d[v]=w?Xe(d[v]):Be(d[v]);if(ct(D,W))S(D,W,g,null,_,C,P,E,w);else break;v++}for(;v<=M&&v<=$;){const D=u[M],W=d[$]=w?Xe(d[$]):Be(d[$]);if(ct(D,W))S(D,W,g,null,_,C,P,E,w);else break;M--,$--}if(v>M){if(v<=$){const D=$+1,W=D$)for(;v<=M;)Ae(u[v],_,C,!0),v++;else{const D=v,W=v,ie=new Map;for(v=W;v<=$;v++){const ve=d[v]=w?Xe(d[v]):Be(d[v]);ve.key!=null&&ie.set(ve.key,v)}let ee,oe=0;const Oe=$-W+1;let gt=!1,Fs=0;const It=new Array(Oe);for(v=0;v=Oe){Ae(ve,_,C,!0);continue}let Ne;if(ve.key!=null)Ne=ie.get(ve.key);else for(ee=W;ee<=$;ee++)if(It[ee-W]===0&&ct(ve,d[ee])){Ne=ee;break}Ne===void 0?Ae(ve,_,C,!0):(It[Ne-W]=v+1,Ne>=Fs?Fs=Ne:gt=!0,S(ve,d[Ne],g,null,_,C,P,E,w),oe++)}const Ns=gt?Sl(It):mt;for(ee=Ns.length-1,v=Oe-1;v>=0;v--){const ve=W+v,Ne=d[ve],Ls=ve+1{const{el:C,type:P,transition:E,children:w,shapeFlag:v}=u;if(v&6){Fe(u.component.subTree,d,g,y);return}if(v&128){u.suspense.move(d,g,y);return}if(v&64){P.move(u,d,g,re);return}if(P===Te){s(C,d,g);for(let M=0;ME.enter(C),_);else{const{leave:M,delayLeave:$,afterLeave:D}=E,W=()=>s(C,d,g),ie=()=>{M(C,()=>{W(),D&&D()})};$?$(C,W,ie):ie()}else s(C,d,g)},Ae=(u,d,g,y=!1,_=!1)=>{const{type:C,props:P,ref:E,children:w,dynamicChildren:v,shapeFlag:B,patchFlag:M,dirs:$}=u;if(E!=null&&hs(E,null,g,u,!0),B&256){d.ctx.deactivate(u);return}const D=B&1&&$,W=!bn(u);let ie;if(W&&(ie=P&&P.onVnodeBeforeUnmount)&&Se(ie,d,u),B&6)F(u.component,g,y);else{if(B&128){u.suspense.unmount(g,y);return}D&&ot(u,null,d,"beforeUnmount"),B&64?u.type.remove(u,d,g,_,re,y):v&&(C!==Te||M>0&&M&64)?A(v,d,g,!1,!0):(C===Te&&M&(128|256)||!_&&B&16)&&A(w,d,g),y&&In(u)}(W&&(ie=P&&P.onVnodeUnmounted)||D)&&me(()=>{ie&&Se(ie,d,u),D&&ot(u,null,d,"unmounted")},g)},In=u=>{const{type:d,el:g,anchor:y,transition:_}=u;if(d===Te){m(g,y);return}if(d===xn){q(u);return}const C=()=>{r(g),_&&!_.persisted&&_.afterLeave&&_.afterLeave()};if(u.shapeFlag&1&&_&&!_.persisted){const{leave:P,delayLeave:E}=_,w=()=>P(g,C);E?E(u.el,C,w):w()}else C()},m=(u,d)=>{let g;for(;u!==d;)g=h(u),r(u),u=g;r(d)},F=(u,d,g)=>{const{bum:y,scope:_,update:C,subTree:P,um:E}=u;y&&Ft(y),_.stop(),C&&(C.active=!1,Ae(P,u,d,g)),E&&me(E,d),me(()=>{u.isUnmounted=!0},d),d&&d.pendingBranch&&!d.isUnmounted&&u.asyncDep&&!u.asyncResolved&&u.suspenseId===d.pendingId&&(d.deps--,d.deps===0&&d.resolve())},A=(u,d,g,y=!1,_=!1,C=0)=>{for(let P=C;Pu.shapeFlag&6?H(u.component.subTree):u.shapeFlag&128?u.suspense.next():h(u.anchor||u.el),G=(u,d,g)=>{u==null?d._vnode&&Ae(d._vnode,null,null,!0):S(d._vnode||null,u,d,null,null,null,g),br(),d._vnode=u},re={p:S,um:Ae,m:Fe,r:In,mt:ke,mc:J,pc:we,pbc:ce,n:H,o:e};let z,K;return t&&([z,K]=t(re)),{render:G,hydrate:z,createApp:Rl(G,z)}}function it({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Yr(e,t,n=!1){const s=e.children,r=t.children;if(j(s)&&j(r))for(let o=0;o>1,e[n[l]]0&&(t[s]=n[o-1]),n[o]=s)}}for(o=n.length,i=n[o-1];o-- >0;)n[o]=i,i=t[i];return n}const Ol=e=>e.__isTeleport,ps="components";function Ru(e,t){return Jr(ps,e,!0,t)||e}const Qr=Symbol();function Pu(e){return ae(e)?Jr(ps,e,!1)||e:e||Qr}function Jr(e,t,n=!0,s=!1){const r=xe||he;if(r){const o=r.type;if(e===ps){const l=bs(o);if(l&&(l===t||l===Le(t)||l===rn(Le(t))))return o}const i=Xr(r[e]||o[e],t)||Xr(r.appContext[e],t);return!i&&s?o:i}}function Xr(e,t){return e&&(e[t]||e[Le(t)]||e[rn(Le(t))])}const Te=Symbol(void 0),gs=Symbol(void 0),Me=Symbol(void 0),xn=Symbol(void 0),qt=[];let lt=null;function Zr(e=!1){qt.push(lt=e?null:[])}function Il(){qt.pop(),lt=qt[qt.length-1]||null}let wn=1;function Gr(e){wn+=e}function eo(e){return e.dynamicChildren=wn>0?lt||mt:null,Il(),wn>0&<&<.push(e),e}function Tu(e,t,n,s,r,o){return eo(so(e,t,n,s,r,o,!0))}function to(e,t,n,s,r){return eo(ye(e,t,n,s,r,!0))}function Wt(e){return e?e.__v_isVNode===!0:!1}function ct(e,t){return e.type===t.type&&e.key===t.key}const An="__vInternal",no=({key:e})=>e!=null?e:null,Rn=({ref:e,ref_key:t,ref_for:n})=>e!=null?ae(e)||ge(e)||U(e)?{i:xe,r:e,k:t,f:!!n}:e:null;function so(e,t=null,n=null,s=0,r=null,o=e===Te?0:1,i=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&no(t),ref:t&&Rn(t),scopeId:gn,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:o,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null};return l?(ms(c,n),o&128&&e.normalize(c)):n&&(c.shapeFlag|=ae(n)?8:16),wn>0&&!i&<&&(c.patchFlag>0||o&6)&&c.patchFlag!==32&<.push(c),c}const ye=Ml;function Ml(e,t=null,n=null,s=0,r=null,o=!1){if((!e||e===Qr)&&(e=Me),Wt(e)){const l=ut(e,t,!0);return n&&ms(l,n),l}if(zl(e)&&(e=e.__vccOpts),t){t=Fl(t);let{class:l,style:c}=t;l&&!ae(l)&&(t.class=Nn(l)),de(c)&&(cr(c)&&!j(c)&&(c=pe({},c)),t.style=Fn(c))}const i=ae(e)?1:el(e)?128:Ol(e)?64:de(e)?4:U(e)?2:0;return so(e,t,n,s,r,i,o,!0)}function Fl(e){return e?cr(e)||An in e?pe({},e):e:null}function ut(e,t,n=!1){const{props:s,ref:r,patchFlag:o,children:i}=e,l=t?Ll(s||{},t):s;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&no(l),ref:t&&t.ref?n&&r?j(r)?r.concat(Rn(t)):[r,Rn(t)]:Rn(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Te?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&ut(e.ssContent),ssFallback:e.ssFallback&&ut(e.ssFallback),el:e.el,anchor:e.anchor}}function Nl(e=" ",t=0){return ye(gs,null,e,t)}function Su(e,t){const n=ye(xn,null,e);return n.staticCount=t,n}function Ou(e="",t=!1){return t?(Zr(),to(Me,null,e)):ye(Me,null,e)}function Be(e){return e==null||typeof e=="boolean"?ye(Me):j(e)?ye(Te,null,e.slice()):typeof e=="object"?Xe(e):ye(gs,null,String(e))}function Xe(e){return e.el===null||e.memo?e:ut(e)}function ms(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(j(t))n=16;else if(typeof t=="object")if(s&(1|64)){const r=t.default;r&&(r._c&&(r._d=!1),ms(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!(An in t)?t._ctx=xe:r===3&&xe&&(xe.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else U(t)?(t={default:t,_ctx:xe},n=32):(t=String(t),s&64?(n=16,t=[Nl(t)]):n=8);e.children=t,e.shapeFlag|=n}function Ll(...e){const t={};for(let n=0;nt(i,l,void 0,o&&o[l]));else{const i=Object.keys(e);r=new Array(i.length);for(let l=0,c=i.length;lWt(t)?!(t.type===Me||t.type===Te&&!ro(t.children)):!0)?e:null}const _s=e=>e?io(e)?ys(e)||e.proxy:_s(e.parent):null,Pn=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=>_s(e.parent),$root:e=>_s(e.root),$emit:e=>e.emit,$options:e=>Hr(e),$forceUpdate:e=>()=>mr(e.update),$nextTick:e=>gr.bind(e.proxy),$watch:e=>nl.bind(e)}),Hl={get({_:e},t){const{ctx:n,setupState:s,data:r,props:o,accessCache:i,type:l,appContext:c}=e;let f;if(t[0]!=="$"){const b=i[t];if(b!==void 0)switch(b){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return o[t]}else{if(s!==te&&V(s,t))return i[t]=1,s[t];if(r!==te&&V(r,t))return i[t]=2,r[t];if((f=e.propsOptions[0])&&V(f,t))return i[t]=3,o[t];if(n!==te&&V(n,t))return i[t]=4,n[t];us&&(i[t]=0)}}const a=Pn[t];let p,h;if(a)return t==="$attrs"&&Ee(e,"get",t),a(e);if((p=l.__cssModules)&&(p=p[t]))return p;if(n!==te&&V(n,t))return i[t]=4,n[t];if(h=c.config.globalProperties,V(h,t))return h[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:o}=e;return r!==te&&V(r,t)?(r[t]=n,!0):s!==te&&V(s,t)?(s[t]=n,!0):V(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,propsOptions:o}},i){let l;return!!n[i]||e!==te&&V(e,i)||t!==te&&V(t,i)||(l=o[0])&&V(l,i)||V(s,i)||V(Pn,i)||V(r.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?this.set(e,t,n.get(),null):n.value!=null&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}},Bl=Vr();let $l=0;function kl(e,t,n){const s=e.type,r=(t?t.appContext:e.appContext)||Bl,o={uid:$l++,vnode:e,type:s,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,scope:new ui(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(r.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:kr(s,r),emitsOptions:Er(s,r),emit:null,emitted:null,propsDefaults:te,inheritAttrs:s.inheritAttrs,ctx:te,data:te,props:te,attrs:te,slots:te,refs:te,setupState:te,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return o.ctx={_:o},o.root=t?t.root:o,o.emit=Yi.bind(null,o),e.ce&&e.ce(o),o}let he=null;const oo=()=>he||xe,wt=e=>{he=e,e.scope.on()},ft=()=>{he&&he.scope.off(),he=null};function io(e){return e.vnode.shapeFlag&4}let Vt=!1;function jl(e,t=!1){Vt=t;const{props:n,children:s}=e.vnode,r=io(e);vl(e,n,r,t),xl(e,s);const o=r?Dl(e,t):void 0;return Vt=!1,o}function Dl(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=ur(new Proxy(e.ctx,Hl));const{setup:s}=n;if(s){const r=e.setupContext=s.length>1?Ul(e):null;wt(e),bt();const o=Ye(s,e,0,[e.props,r]);if(vt(),ft(),ks(o)){if(o.then(ft,ft),t)return o.then(i=>{lo(e,i,t)}).catch(i=>{hn(i,e,0)});e.asyncDep=o}else lo(e,o,t)}else uo(e,t)}function lo(e,t,n){U(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:de(t)&&(e.setupState=hr(t)),uo(e,n)}let co;function uo(e,t,n){const s=e.type;if(!e.render){if(!t&&co&&!s.render){const r=s.template;if(r){const{isCustomElement:o,compilerOptions:i}=e.appContext.config,{delimiters:l,compilerOptions:c}=s,f=pe(pe({isCustomElement:o,delimiters:l},i),c);s.render=co(r,f)}}e.render=s.render||Ie}wt(e),bt(),gl(e),vt(),ft()}function Kl(e){return new Proxy(e.attrs,{get(t,n){return Ee(e,"get","$attrs"),t[n]}})}function Ul(e){const t=s=>{e.exposed=s||{}};let n;return{get attrs(){return n||(n=Kl(e))},slots:e.slots,emit:e.emit,expose:t}}function ys(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(hr(ur(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Pn)return Pn[n](e)}}))}function bs(e){return U(e)&&e.displayName||e.name}function zl(e){return U(e)&&"__vccOpts"in e}const $e=(e,t)=>Ki(e,t,Vt);function vs(e,t,n){const s=arguments.length;return s===2?de(t)&&!j(t)?Wt(t)?ye(e,null,[t]):ye(e,t):ye(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&Wt(n)&&(n=[n]),ye(e,t,n))}const ql="3.2.31",Wl="http://www.w3.org/2000/svg",at=typeof document!="undefined"?document:null,fo=at&&at.createElement("template"),Vl={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 r=t?at.createElementNS(Wl,e):at.createElement(e,n?{is:n}:void 0);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>at.createTextNode(e),createComment:e=>at.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>at.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},cloneNode(e){const t=e.cloneNode(!0);return"_value"in e&&(t._value=e._value),t},insertStaticContent(e,t,n,s,r,o){const i=n?n.previousSibling:t.lastChild;if(r&&(r===o||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===o||!(r=r.nextSibling)););else{fo.innerHTML=s?`${e}`:e;const l=fo.content;if(s){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function Yl(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 Ql(e,t,n){const s=e.style,r=ae(n);if(n&&!r){for(const o in n)Es(s,o,n[o]);if(t&&!ae(t))for(const o in t)n[o]==null&&Es(s,o,"")}else{const o=s.display;r?t!==n&&(s.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(s.display=o)}}const ao=/\s*!important$/;function Es(e,t,n){if(j(n))n.forEach(s=>Es(e,t,s));else if(t.startsWith("--"))e.setProperty(t,n);else{const s=Jl(e,t);ao.test(n)?e.setProperty(yt(s),n.replace(ao,""),"important"):e[s]=n}}const ho=["Webkit","Moz","ms"],Cs={};function Jl(e,t){const n=Cs[t];if(n)return n;let s=Le(t);if(s!=="filter"&&s in e)return Cs[t]=s;s=rn(s);for(let r=0;rdocument.createEvent("Event").timeStamp&&(Tn=()=>performance.now());const e=navigator.userAgent.match(/firefox\/(\d+)/i);go=!!(e&&Number(e[1])<=53)}let xs=0;const Gl=Promise.resolve(),ec=()=>{xs=0},tc=()=>xs||(Gl.then(ec),xs=Tn());function nc(e,t,n,s){e.addEventListener(t,n,s)}function sc(e,t,n,s){e.removeEventListener(t,n,s)}function rc(e,t,n,s,r=null){const o=e._vei||(e._vei={}),i=o[t];if(s&&i)i.value=s;else{const[l,c]=oc(t);if(s){const f=o[t]=ic(s,r);nc(e,l,f,c)}else i&&(sc(e,l,i,c),o[t]=void 0)}}const mo=/(?:Once|Passive|Capture)$/;function oc(e){let t;if(mo.test(e)){t={};let n;for(;n=e.match(mo);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[yt(e.slice(2)),t]}function ic(e,t){const n=s=>{const r=s.timeStamp||Tn();(go||r>=n.attached-1)&&Re(lc(s,n.value),t,5,[s])};return n.value=e,n.attached=tc(),n}function lc(e,t){if(j(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>r=>!r._stopped&&s&&s(r))}else return t}const _o=/^on[a-z]/,cc=(e,t,n,s,r=!1,o,i,l,c)=>{t==="class"?Yl(e,s,r):t==="style"?Ql(e,n,s):en(t)?Ln(t)||rc(e,t,n,s,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):uc(e,t,s,r))?Zl(e,t,s,o,i,l,c):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),Xl(e,t,s,r))};function uc(e,t,n,s){return s?!!(t==="innerHTML"||t==="textContent"||t in e&&_o.test(t)&&U(n)):t==="spellcheck"||t==="draggable"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||_o.test(t)&&ae(n)?!1:t in e}const Ze="transition",Yt="animation",yo=(e,{slots:t})=>vs(Rr,fc(e),t);yo.displayName="Transition";const bo={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};yo.props=pe({},Rr.props,bo);const dt=(e,t=[])=>{j(e)?e.forEach(n=>n(...t)):e&&e(...t)},vo=e=>e?j(e)?e.some(t=>t.length>1):e.length>1:!1;function fc(e){const t={};for(const L in e)L in bo||(t[L]=e[L]);if(e.css===!1)return t;const{name:n="v",type:s,duration:r,enterFromClass:o=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:c=o,appearActiveClass:f=i,appearToClass:a=l,leaveFromClass:p=`${n}-leave-from`,leaveActiveClass:h=`${n}-leave-active`,leaveToClass:b=`${n}-leave-to`}=e,R=ac(r),N=R&&R[0],S=R&&R[1],{onBeforeEnter:O,onEnter:x,onEnterCancelled:I,onLeave:T,onLeaveCancelled:q,onBeforeAppear:Q=O,onAppear:k=x,onAppearCancelled:X=I}=t,J=(L,ue,be)=>{At(L,ue?a:l),At(L,ue?f:i),be&&be()},le=(L,ue)=>{At(L,b),At(L,h),ue&&ue()},ce=L=>(ue,be)=>{const ke=L?k:x,fe=()=>J(ue,L,be);dt(ke,[ue,fe]),Eo(()=>{At(ue,L?c:o),Ge(ue,L?a:l),vo(ke)||Co(ue,s,N,fe)})};return pe(t,{onBeforeEnter(L){dt(O,[L]),Ge(L,o),Ge(L,i)},onBeforeAppear(L){dt(Q,[L]),Ge(L,c),Ge(L,f)},onEnter:ce(!1),onAppear:ce(!0),onLeave(L,ue){const be=()=>le(L,ue);Ge(L,p),pc(),Ge(L,h),Eo(()=>{At(L,p),Ge(L,b),vo(T)||Co(L,s,S,be)}),dt(T,[L,be])},onEnterCancelled(L){J(L,!1),dt(I,[L])},onAppearCancelled(L){J(L,!0),dt(X,[L])},onLeaveCancelled(L){le(L),dt(q,[L])}})}function ac(e){if(e==null)return null;if(de(e))return[ws(e.enter),ws(e.leave)];{const t=ws(e);return[t,t]}}function ws(e){return Ks(e)}function Ge(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e._vtc||(e._vtc=new Set)).add(t)}function At(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 Eo(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let dc=0;function Co(e,t,n,s){const r=e._endId=++dc,o=()=>{r===e._endId&&s()};if(n)return setTimeout(o,n);const{type:i,timeout:l,propCount:c}=hc(e,t);if(!i)return s();const f=i+"end";let a=0;const p=()=>{e.removeEventListener(f,h),o()},h=b=>{b.target===e&&++a>=c&&p()};setTimeout(()=>{a(n[R]||"").split(", "),r=s(Ze+"Delay"),o=s(Ze+"Duration"),i=xo(r,o),l=s(Yt+"Delay"),c=s(Yt+"Duration"),f=xo(l,c);let a=null,p=0,h=0;t===Ze?i>0&&(a=Ze,p=i,h=o.length):t===Yt?f>0&&(a=Yt,p=f,h=c.length):(p=Math.max(i,f),a=p>0?i>f?Ze:Yt:null,h=a?a===Ze?o.length:c.length:0);const b=a===Ze&&/\b(transform|all)(,|$)/.test(n[Ze+"Property"]);return{type:a,timeout:p,propCount:h,hasTransform:b}}function xo(e,t){for(;e.lengthwo(n)+wo(e[s])))}function wo(e){return Number(e.slice(0,-1).replace(",","."))*1e3}function pc(){return document.body.offsetHeight}const Fu={beforeMount(e,{value:t},{transition:n}){e._vod=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Qt(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:s}){!t!=!n&&(s?t?(s.beforeEnter(e),Qt(e,!0),s.enter(e)):s.leave(e,()=>{Qt(e,!1)}):Qt(e,t))},beforeUnmount(e,{value:t}){Qt(e,t)}};function Qt(e,t){e.style.display=t?e._vod:"none"}const gc=pe({patchProp:cc},Vl);let Ao;function mc(){return Ao||(Ao=Pl(gc))}const Nu=(...e)=>{const t=mc().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=_c(s);if(!r)return;const o=t._component;!U(o)&&!o.render&&!o.template&&(o.template=r.innerHTML),r.innerHTML="";const i=n(r,!1,r instanceof SVGElement);return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),i},t};function _c(e){return ae(e)?document.querySelector(e):e}/*! +function is(e,t){const n=Object.create(null),s=e.split(",");for(let r=0;r!!n[r.toLowerCase()]:r=>!!n[r]}const Xo="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Zo=is(Xo);function Tr(e){return!!e||e===""}function ls(e){if(j(e)){const t={};for(let n=0;n{if(n){const s=n.split(ei);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function cs(e){let t="";if(ae(e))t=e;else if(j(e))for(let n=0;nae(e)?e:e==null?"":j(e)||de(e)&&(e.toString===Mr||!U(e.toString))?JSON.stringify(e,Sr,2):String(e),Sr=(e,t)=>t&&t.__v_isRef?Sr(e,t.value):Ct(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r])=>(n[`${s} =>`]=r,n),{})}:Or(t)?{[`Set(${t.size})`]:[...t.values()]}:de(t)&&!j(t)&&!Fr(t)?String(t):t,ne={},Et=[],Ie=()=>{},ni=()=>!1,si=/^on[^a-z]/,vn=e=>si.test(e),us=e=>e.startsWith("onUpdate:"),me=Object.assign,fs=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},ri=Object.prototype.hasOwnProperty,V=(e,t)=>ri.call(e,t),j=Array.isArray,Ct=e=>En(e)==="[object Map]",Or=e=>En(e)==="[object Set]",U=e=>typeof e=="function",ae=e=>typeof e=="string",as=e=>typeof e=="symbol",de=e=>e!==null&&typeof e=="object",Ir=e=>de(e)&&U(e.then)&&U(e.catch),Mr=Object.prototype.toString,En=e=>Mr.call(e),oi=e=>En(e).slice(8,-1),Fr=e=>En(e)==="[object Object]",ds=e=>ae(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,on=is(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Cn=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},ii=/-(\w)/g,$e=Cn(e=>e.replace(ii,(t,n)=>n?n.toUpperCase():"")),li=/\B([A-Z])/g,Pt=Cn(e=>e.replace(li,"-$1").toLowerCase()),xn=Cn(e=>e.charAt(0).toUpperCase()+e.slice(1)),Mn=Cn(e=>e?`on${xn(e)}`:""),Wt=(e,t)=>!Object.is(e,t),$t=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Nr=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let Hs;const ci=()=>Hs||(Hs=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{});let De;class ui{constructor(t=!1){this.active=!0,this.effects=[],this.cleanups=[],!t&&De&&(this.parent=De,this.index=(De.scopes||(De.scopes=[])).push(this)-1)}run(t){if(this.active)try{return De=this,t()}finally{De=this.parent}}on(){De=this}off(){De=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},Lr=e=>(e.w&tt)>0,Hr=e=>(e.n&tt)>0,ai=({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>=s)&&l.push(c)});else switch(n!==void 0&&l.push(i.get(n)),t){case"add":j(e)?ds(n)&&l.push(i.get("length")):(l.push(i.get(ft)),Ct(e)&&l.push(i.get(zn)));break;case"delete":j(e)||(l.push(i.get(ft)),Ct(e)&&l.push(i.get(zn)));break;case"set":Ct(e)&&l.push(i.get(ft));break}if(l.length===1)l[0]&&qn(l[0]);else{const c=[];for(const f of l)f&&c.push(...f);qn(hs(c))}}function qn(e,t){for(const n of j(e)?e:[...e])(n!==Be||n.allowRecurse)&&(n.scheduler?n.scheduler():n.run())}const hi=is("__proto__,__v_isRef,__isVue"),kr=new Set(Object.getOwnPropertyNames(Symbol).map(e=>Symbol[e]).filter(as)),pi=gs(),gi=gs(!1,!0),mi=gs(!0),$s=_i();function _i(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const s=Y(this);for(let o=0,i=this.length;o{e[t]=function(...n){Tt();const s=Y(this)[t].apply(this,n);return St(),s}}),e}function gs(e=!1,t=!1){return function(s,r,o){if(r==="__v_isReactive")return!e;if(r==="__v_isReadonly")return e;if(r==="__v_isShallow")return t;if(r==="__v_raw"&&o===(e?t?Fi:zr:t?Ur:Kr).get(s))return s;const i=j(s);if(!e&&i&&V($s,r))return Reflect.get($s,r,o);const l=Reflect.get(s,r,o);return(as(r)?kr.has(r):hi(r))||(e||xe(s,"get",r),t)?l:ge(l)?!i||!ds(r)?l.value:l:de(l)?e?qr(l):Gt(l):l}}const yi=jr(),bi=jr(!0);function jr(e=!1){return function(n,s,r,o){let i=n[s];if(Vt(i)&&ge(i)&&!ge(r))return!1;if(!e&&!Vt(r)&&(Wr(r)||(r=Y(r),i=Y(i)),!j(n)&&ge(i)&&!ge(r)))return i.value=r,!0;const l=j(n)&&ds(s)?Number(s)e,wn=e=>Reflect.getPrototypeOf(e);function en(e,t,n=!1,s=!1){e=e.__v_raw;const r=Y(e),o=Y(t);t!==o&&!n&&xe(r,"get",t),!n&&xe(r,"get",o);const{has:i}=wn(r),l=s?ms:n?bs:Yt;if(i.call(r,t))return l(e.get(t));if(i.call(r,o))return l(e.get(o));e!==r&&e.get(t)}function tn(e,t=!1){const n=this.__v_raw,s=Y(n),r=Y(e);return e!==r&&!t&&xe(s,"has",e),!t&&xe(s,"has",r),e===r?n.has(e):n.has(e)||n.has(r)}function nn(e,t=!1){return e=e.__v_raw,!t&&xe(Y(e),"iterate",ft),Reflect.get(e,"size",e)}function ks(e){e=Y(e);const t=Y(this);return wn(t).has.call(t,e)||(t.add(e),Ue(t,"add",e,e)),this}function js(e,t){t=Y(t);const n=Y(this),{has:s,get:r}=wn(n);let o=s.call(n,e);o||(e=Y(e),o=s.call(n,e));const i=r.call(n,e);return n.set(e,t),o?Wt(t,i)&&Ue(n,"set",e,t):Ue(n,"add",e,t),this}function Ds(e){const t=Y(this),{has:n,get:s}=wn(t);let r=n.call(t,e);r||(e=Y(e),r=n.call(t,e)),s&&s.call(t,e);const o=t.delete(e);return r&&Ue(t,"delete",e,void 0),o}function Ks(){const e=Y(this),t=e.size!==0,n=e.clear();return t&&Ue(e,"clear",void 0,void 0),n}function sn(e,t){return function(s,r){const o=this,i=o.__v_raw,l=Y(i),c=t?ms:e?bs:Yt;return!e&&xe(l,"iterate",ft),i.forEach((f,a)=>s.call(r,c(f),c(a),o))}}function rn(e,t,n){return function(...s){const r=this.__v_raw,o=Y(r),i=Ct(o),l=e==="entries"||e===Symbol.iterator&&i,c=e==="keys"&&i,f=r[e](...s),a=n?ms:t?bs:Yt;return!t&&xe(o,"iterate",c?zn:ft),{next(){const{value:p,done:h}=f.next();return h?{value:p,done:h}:{value:l?[a(p[0]),a(p[1])]:a(p),done:h}},[Symbol.iterator](){return this}}}}function qe(e){return function(...t){return e==="delete"?!1:this}}function Ai(){const e={get(o){return en(this,o)},get size(){return nn(this)},has:tn,add:ks,set:js,delete:Ds,clear:Ks,forEach:sn(!1,!1)},t={get(o){return en(this,o,!1,!0)},get size(){return nn(this)},has:tn,add:ks,set:js,delete:Ds,clear:Ks,forEach:sn(!1,!0)},n={get(o){return en(this,o,!0)},get size(){return nn(this,!0)},has(o){return tn.call(this,o,!0)},add:qe("add"),set:qe("set"),delete:qe("delete"),clear:qe("clear"),forEach:sn(!0,!1)},s={get(o){return en(this,o,!0,!0)},get size(){return nn(this,!0)},has(o){return tn.call(this,o,!0)},add:qe("add"),set:qe("set"),delete:qe("delete"),clear:qe("clear"),forEach:sn(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{e[o]=rn(o,!1,!1),n[o]=rn(o,!0,!1),t[o]=rn(o,!1,!0),s[o]=rn(o,!0,!0)}),[e,n,t,s]}const[Ri,Pi,Ti,Si]=Ai();function _s(e,t){const n=t?e?Si:Ti:e?Pi:Ri;return(s,r,o)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(V(n,r)&&r in s?n:s,r,o)}const Oi={get:_s(!1,!1)},Ii={get:_s(!1,!0)},Mi={get:_s(!0,!1)},Kr=new WeakMap,Ur=new WeakMap,zr=new WeakMap,Fi=new WeakMap;function Ni(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Li(e){return e.__v_skip||!Object.isExtensible(e)?0:Ni(oi(e))}function Gt(e){return Vt(e)?e:ys(e,!1,Dr,Oi,Kr)}function Hi(e){return ys(e,!1,wi,Ii,Ur)}function qr(e){return ys(e,!0,xi,Mi,zr)}function ys(e,t,n,s,r){if(!de(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=r.get(e);if(o)return o;const i=Li(e);if(i===0)return e;const l=new Proxy(e,i===2?s:n);return r.set(e,l),l}function xt(e){return Vt(e)?xt(e.__v_raw):!!(e&&e.__v_isReactive)}function Vt(e){return!!(e&&e.__v_isReadonly)}function Wr(e){return!!(e&&e.__v_isShallow)}function Vr(e){return xt(e)||Vt(e)}function Y(e){const t=e&&e.__v_raw;return t?Y(t):e}function Yr(e){return fn(e,"__v_skip",!0),e}const Yt=e=>de(e)?Gt(e):e,bs=e=>de(e)?qr(e):e;function Qr(e){Ze&&Be&&(e=Y(e),$r(e.dep||(e.dep=hs())))}function Jr(e,t){e=Y(e),e.dep&&qn(e.dep)}function ge(e){return!!(e&&e.__v_isRef===!0)}function Bi(e){return Xr(e,!1)}function $i(e){return Xr(e,!0)}function Xr(e,t){return ge(e)?e:new ki(e,t)}class ki{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:Y(t),this._value=n?t:Yt(t)}get value(){return Qr(this),this._value}set value(t){t=this.__v_isShallow?t:Y(t),Wt(t,this._rawValue)&&(this._rawValue=t,this._value=this.__v_isShallow?t:Yt(t),Jr(this))}}function kt(e){return ge(e)?e.value:e}const ji={get:(e,t,n)=>kt(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return ge(r)&&!ge(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function Zr(e){return xt(e)?e:new Proxy(e,ji)}class Di{constructor(t,n,s,r){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this._dirty=!0,this.effect=new ps(t,()=>{this._dirty||(this._dirty=!0,Jr(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=s}get value(){const t=Y(this);return Qr(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function Ki(e,t,n=!1){let s,r;const o=U(e);return o?(s=e,r=Ie):(s=e.get,r=e.set),new Di(s,r,o||!r,n)}Promise.resolve();function Ge(e,t,n,s){let r;try{r=s?e(...s):e()}catch(o){An(o,t,n)}return r}function Se(e,t,n,s){if(U(e)){const o=Ge(e,t,n,s);return o&&Ir(o)&&o.catch(i=>{An(i,t,n)}),o}const r=[];for(let o=0;o>>1;Qt(Ee[s])Ke&&Ee.splice(t,1)}function so(e,t,n,s){j(e)?n.push(...e):(!t||!t.includes(e,e.allowRecurse?s+1:s))&&n.push(e),no()}function Wi(e){so(e,Ht,jt,yt)}function Vi(e){so(e,Qe,Dt,bt)}function Es(e,t=null){if(jt.length){for(Vn=t,Ht=[...new Set(jt)],jt.length=0,yt=0;ytQt(n)-Qt(s)),bt=0;bte.id==null?1/0:e.id;function oo(e){Wn=!1,an=!0,Es(e),Ee.sort((n,s)=>Qt(n)-Qt(s));const t=Ie;try{for(Ke=0;Keb.trim()):p&&(r=n.map(Nr))}let l,c=s[l=Mn(t)]||s[l=Mn($e(t))];!c&&o&&(c=s[l=Mn(Pt(t))]),c&&Se(c,e,6,r);const f=s[l+"Once"];if(f){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Se(f,e,6,r)}}function io(e,t,n=!1){const s=t.emitsCache,r=s.get(e);if(r!==void 0)return r;const o=e.emits;let i={},l=!1;if(!U(e)){const c=f=>{const a=io(f,t,!0);a&&(l=!0,me(i,a))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!o&&!l?(s.set(e,null),null):(j(o)?o.forEach(c=>i[c]=null):me(i,o),s.set(e,i),i)}function Cs(e,t){return!e||!vn(t)?!1:(t=t.slice(2).replace(/Once$/,""),V(e,t[0].toLowerCase()+t.slice(1))||V(e,Pt(t))||V(e,t))}let Ce=null,Rn=null;function dn(e){const t=Ce;return Ce=e,Rn=e&&e.type.__scopeId||null,t}function Cu(e){Rn=e}function xu(){Rn=null}function Qi(e,t=Ce,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&Gs(-1);const o=dn(t),i=e(...r);return dn(o),s._d&&Gs(1),i};return s._n=!0,s._c=!0,s._d=!0,s}function Fn(e){const{type:t,vnode:n,proxy:s,withProxy:r,props:o,propsOptions:[i],slots:l,attrs:c,emit:f,render:a,renderCache:p,data:h,setupState:b,ctx:R,inheritAttrs:N}=e;let S,O;const x=dn(e);try{if(n.shapeFlag&4){const T=r||s;S=Le(a.call(T,T,p,o,b,h,R)),O=c}else{const T=t;S=Le(T.length>1?T(o,{attrs:c,slots:l,emit:f}):T(o,null)),O=t.props?c:Ji(c)}}catch(T){Ut.length=0,An(T,e,1),S=ye(Me)}let I=S;if(O&&N!==!1){const T=Object.keys(O),{shapeFlag:q}=I;T.length&&q&7&&(i&&T.some(us)&&(O=Xi(O,i)),I=ht(I,O))}return n.dirs&&(I.dirs=I.dirs?I.dirs.concat(n.dirs):n.dirs),n.transition&&(I.transition=n.transition),S=I,dn(x),S}const Ji=e=>{let t;for(const n in e)(n==="class"||n==="style"||vn(n))&&((t||(t={}))[n]=e[n]);return t},Xi=(e,t)=>{const n={};for(const s in e)(!us(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function Zi(e,t,n){const{props:s,children:r,component:o}=e,{props:i,children:l,patchFlag:c}=t,f=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return s?Us(s,i,f):!!i;if(c&8){const a=t.dynamicProps;for(let p=0;pe.__isSuspense;function tl(e,t){t&&t.pendingBranch?j(e)?t.effects.push(...e):t.effects.push(e):Vi(e)}function ln(e,t){if(he){let n=he.provides;const s=he.parent&&he.parent.provides;s===n&&(n=he.provides=Object.create(s)),n[e]=t}}function et(e,t,n=!1){const s=he||Ce;if(s){const r=s.parent==null?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides;if(r&&e in r)return r[e];if(arguments.length>1)return n&&U(t)?t.call(s.proxy):t}}const zs={};function Kt(e,t,n){return lo(e,t,n)}function lo(e,t,{immediate:n,deep:s,flush:r,onTrack:o,onTrigger:i}=ne){const l=he;let c,f=!1,a=!1;if(ge(e)?(c=()=>e.value,f=Wr(e)):xt(e)?(c=()=>e,s=!0):j(e)?(a=!0,f=e.some(xt),c=()=>e.map(O=>{if(ge(O))return O.value;if(xt(O))return ut(O);if(U(O))return Ge(O,l,2)})):U(e)?t?c=()=>Ge(e,l,2):c=()=>{if(!(l&&l.isUnmounted))return p&&p(),Se(e,l,3,[h])}:c=Ie,t&&s){const O=c;c=()=>ut(O())}let p,h=O=>{p=S.onStop=()=>{Ge(O,l,4)}};if(Xt)return h=Ie,t?n&&Se(t,l,3,[c(),a?[]:void 0,h]):c(),Ie;let b=a?[]:zs;const R=()=>{if(!!S.active)if(t){const O=S.run();(s||f||(a?O.some((x,I)=>Wt(x,b[I])):Wt(O,b)))&&(p&&p(),Se(t,l,3,[O,b===zs?void 0:b,h]),b=O)}else S.run()};R.allowRecurse=!!t;let N;r==="sync"?N=R:r==="post"?N=()=>pe(R,l&&l.suspense):N=()=>{!l||l.isMounted?Wi(R):R()};const S=new ps(c,N);return t?n?R():b=S.run():r==="post"?pe(S.run.bind(S),l&&l.suspense):S.run(),()=>{S.stop(),l&&l.scope&&fs(l.scope.effects,S)}}function nl(e,t,n){const s=this.proxy,r=ae(e)?e.includes(".")?co(s,e):()=>s[e]:e.bind(s,s);let o;U(t)?o=t:(o=t.handler,n=t);const i=he;wt(this);const l=lo(r,o.bind(s),n);return i?wt(i):dt(),l}function co(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;r{ut(n,t)});else if(Fr(e))for(const n in e)ut(e[n],t);return e}function sl(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return xs(()=>{e.isMounted=!0}),ws(()=>{e.isUnmounting=!0}),e}const Re=[Function,Array],rl={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Re,onEnter:Re,onAfterEnter:Re,onEnterCancelled:Re,onBeforeLeave:Re,onLeave:Re,onAfterLeave:Re,onLeaveCancelled:Re,onBeforeAppear:Re,onAppear:Re,onAfterAppear:Re,onAppearCancelled:Re},setup(e,{slots:t}){const n=No(),s=sl();let r;return()=>{const o=t.default&&ao(t.default(),!0);if(!o||!o.length)return;const i=Y(e),{mode:l}=i,c=o[0];if(s.isLeaving)return Nn(c);const f=qs(c);if(!f)return Nn(c);const a=Yn(f,i,s,n);hn(f,a);const p=n.subTree,h=p&&qs(p);let b=!1;const{getTransitionKey:R}=f.type;if(R){const N=R();r===void 0?r=N:N!==r&&(r=N,b=!0)}if(h&&h.type!==Me&&(!lt(f,h)||b)){const N=Yn(h,i,s,n);if(hn(h,N),l==="out-in")return s.isLeaving=!0,N.afterLeave=()=>{s.isLeaving=!1,n.update()},Nn(c);l==="in-out"&&f.type!==Me&&(N.delayLeave=(S,O,x)=>{const I=fo(s,h);I[String(h.key)]=h,S._leaveCb=()=>{O(),S._leaveCb=void 0,delete a.delayedLeave},a.delayedLeave=x})}return c}}},uo=rl;function fo(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 Yn(e,t,n,s){const{appear:r,mode:o,persisted:i=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:f,onEnterCancelled:a,onBeforeLeave:p,onLeave:h,onAfterLeave:b,onLeaveCancelled:R,onBeforeAppear:N,onAppear:S,onAfterAppear:O,onAppearCancelled:x}=t,I=String(e.key),T=fo(n,e),q=(k,X)=>{k&&Se(k,s,9,X)},Q={mode:o,persisted:i,beforeEnter(k){let X=l;if(!n.isMounted)if(r)X=N||l;else return;k._leaveCb&&k._leaveCb(!0);const J=T[I];J&<(e,J)&&J.el._leaveCb&&J.el._leaveCb(),q(X,[k])},enter(k){let X=c,J=f,le=a;if(!n.isMounted)if(r)X=S||c,J=O||f,le=x||a;else return;let ce=!1;const L=k._enterCb=ue=>{ce||(ce=!0,ue?q(le,[k]):q(J,[k]),Q.delayedLeave&&Q.delayedLeave(),k._enterCb=void 0)};X?(X(k,L),X.length<=1&&L()):L()},leave(k,X){const J=String(e.key);if(k._enterCb&&k._enterCb(!0),n.isUnmounting)return X();q(p,[k]);let le=!1;const ce=k._leaveCb=L=>{le||(le=!0,X(),L?q(R,[k]):q(b,[k]),k._leaveCb=void 0,T[J]===e&&delete T[J])};T[J]=e,h?(h(k,ce),h.length<=1&&ce()):ce()},clone(k){return Yn(k,t,n,s)}};return Q}function Nn(e){if(Pn(e))return e=ht(e),e.children=null,e}function qs(e){return Pn(e)?e.children?e.children[0]:void 0:e}function hn(e,t){e.shapeFlag&6&&e.component?hn(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 ao(e,t=!1){let n=[],s=0;for(let r=0;r1)for(let r=0;r!!e.type.__asyncLoader,Pn=e=>e.type.__isKeepAlive,ol={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=No(),s=n.ctx;if(!s.renderer)return t.default;const r=new Map,o=new Set;let i=null;const l=n.suspense,{renderer:{p:c,m:f,um:a,o:{createElement:p}}}=s,h=p("div");s.activate=(x,I,T,q,Q)=>{const k=x.component;f(x,I,T,0,l),c(k.vnode,x,I,T,k,l,q,x.slotScopeIds,Q),pe(()=>{k.isDeactivated=!1,k.a&&$t(k.a);const X=x.props&&x.props.onVnodeMounted;X&&Pe(X,k.parent,x)},l)},s.deactivate=x=>{const I=x.component;f(x,h,null,1,l),pe(()=>{I.da&&$t(I.da);const T=x.props&&x.props.onVnodeUnmounted;T&&Pe(T,I.parent,x),I.isDeactivated=!0},l)};function b(x){Ln(x),a(x,n,l,!0)}function R(x){r.forEach((I,T)=>{const q=es(I.type);q&&(!x||!x(q))&&N(T)})}function N(x){const I=r.get(x);!i||I.type!==i.type?b(I):i&&Ln(i),r.delete(x),o.delete(x)}Kt(()=>[e.include,e.exclude],([x,I])=>{x&&R(T=>Bt(x,T)),I&&R(T=>!Bt(I,T))},{flush:"post",deep:!0});let S=null;const O=()=>{S!=null&&r.set(S,Hn(n.subTree))};return xs(O),go(O),ws(()=>{r.forEach(x=>{const{subTree:I,suspense:T}=n,q=Hn(I);if(x.type===q.type){Ln(q);const Q=q.component.da;Q&&pe(Q,T);return}b(x)})}),()=>{if(S=null,!t.default)return null;const x=t.default(),I=x[0];if(x.length>1)return i=null,x;if(!Jt(I)||!(I.shapeFlag&4)&&!(I.shapeFlag&128))return i=null,I;let T=Hn(I);const q=T.type,Q=es(pn(T)?T.type.__asyncResolved||{}:q),{include:k,exclude:X,max:J}=e;if(k&&(!Q||!Bt(k,Q))||X&&Q&&Bt(X,Q))return i=T,I;const le=T.key==null?q:T.key,ce=r.get(le);return T.el&&(T=ht(T),I.shapeFlag&128&&(I.ssContent=T)),S=le,ce?(T.el=ce.el,T.component=ce.component,T.transition&&hn(T,T.transition),T.shapeFlag|=512,o.delete(le),o.add(le)):(o.add(le),J&&o.size>parseInt(J,10)&&N(o.values().next().value)),T.shapeFlag|=256,i=T,I}}},wu=ol;function Bt(e,t){return j(e)?e.some(n=>Bt(n,t)):ae(e)?e.split(",").includes(t):e.test?e.test(t):!1}function il(e,t){po(e,"a",t)}function ll(e,t){po(e,"da",t)}function po(e,t,n=he){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(Tn(t,s,n),n){let r=n.parent;for(;r&&r.parent;)Pn(r.parent.vnode)&&cl(s,t,n,r),r=r.parent}}function cl(e,t,n,s){const r=Tn(t,e,s,!0);mo(()=>{fs(s[t],r)},n)}function Ln(e){let t=e.shapeFlag;t&256&&(t-=256),t&512&&(t-=512),e.shapeFlag=t}function Hn(e){return e.shapeFlag&128?e.ssContent:e}function Tn(e,t,n=he,s=!1){if(n){const r=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{if(n.isUnmounted)return;Tt(),wt(n);const l=Se(t,n,e,i);return dt(),St(),l});return s?r.unshift(o):r.push(o),o}}const ze=e=>(t,n=he)=>(!Xt||e==="sp")&&Tn(e,t,n),ul=ze("bm"),xs=ze("m"),fl=ze("bu"),go=ze("u"),ws=ze("bum"),mo=ze("um"),al=ze("sp"),dl=ze("rtg"),hl=ze("rtc");function pl(e,t=he){Tn("ec",e,t)}let Qn=!0;function gl(e){const t=yo(e),n=e.proxy,s=e.ctx;Qn=!1,t.beforeCreate&&Ws(t.beforeCreate,e,"bc");const{data:r,computed:o,methods:i,watch:l,provide:c,inject:f,created:a,beforeMount:p,mounted:h,beforeUpdate:b,updated:R,activated:N,deactivated:S,beforeDestroy:O,beforeUnmount:x,destroyed:I,unmounted:T,render:q,renderTracked:Q,renderTriggered:k,errorCaptured:X,serverPrefetch:J,expose:le,inheritAttrs:ce,components:L,directives:ue,filters:be}=t;if(f&&ml(f,s,null,e.appContext.config.unwrapInjectedRef),i)for(const se in i){const Z=i[se];U(Z)&&(s[se]=Z.bind(n))}if(r){const se=r.call(n,n);de(se)&&(e.data=Gt(se))}if(Qn=!0,o)for(const se in o){const Z=o[se],we=U(Z)?Z.bind(n,n):U(Z.get)?Z.get.bind(n,n):Ie,pt=!U(Z)&&U(Z.set)?Z.set.bind(n):Ie,je=He({get:we,set:pt});Object.defineProperty(s,se,{enumerable:!0,configurable:!0,get:()=>je.value,set:Fe=>je.value=Fe})}if(l)for(const se in l)_o(l[se],s,n,se);if(c){const se=U(c)?c.call(n):c;Reflect.ownKeys(se).forEach(Z=>{ln(Z,se[Z])})}a&&Ws(a,e,"c");function fe(se,Z){j(Z)?Z.forEach(we=>se(we.bind(n))):Z&&se(Z.bind(n))}if(fe(ul,p),fe(xs,h),fe(fl,b),fe(go,R),fe(il,N),fe(ll,S),fe(pl,X),fe(hl,Q),fe(dl,k),fe(ws,x),fe(mo,T),fe(al,J),j(le))if(le.length){const se=e.exposed||(e.exposed={});le.forEach(Z=>{Object.defineProperty(se,Z,{get:()=>n[Z],set:we=>n[Z]=we})})}else e.exposed||(e.exposed={});q&&e.render===Ie&&(e.render=q),ce!=null&&(e.inheritAttrs=ce),L&&(e.components=L),ue&&(e.directives=ue)}function ml(e,t,n=Ie,s=!1){j(e)&&(e=Jn(e));for(const r in e){const o=e[r];let i;de(o)?"default"in o?i=et(o.from||r,o.default,!0):i=et(o.from||r):i=et(o),ge(i)&&s?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>i.value,set:l=>i.value=l}):t[r]=i}}function Ws(e,t,n){Se(j(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function _o(e,t,n,s){const r=s.includes(".")?co(n,s):()=>n[s];if(ae(e)){const o=t[e];U(o)&&Kt(r,o)}else if(U(e))Kt(r,e.bind(n));else if(de(e))if(j(e))e.forEach(o=>_o(o,t,n,s));else{const o=U(e.handler)?e.handler.bind(n):t[e.handler];U(o)&&Kt(r,o,e)}}function yo(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,l=o.get(t);let c;return l?c=l:!r.length&&!n&&!s?c=t:(c={},r.length&&r.forEach(f=>gn(c,f,i,!0)),gn(c,t,i)),o.set(t,c),c}function gn(e,t,n,s=!1){const{mixins:r,extends:o}=t;o&&gn(e,o,n,!0),r&&r.forEach(i=>gn(e,i,n,!0));for(const i in t)if(!(s&&i==="expose")){const l=_l[i]||n&&n[i];e[i]=l?l(e[i],t[i]):t[i]}return e}const _l={data:Vs,props:it,emits:it,methods:it,computed:it,beforeCreate:_e,created:_e,beforeMount:_e,mounted:_e,beforeUpdate:_e,updated:_e,beforeDestroy:_e,beforeUnmount:_e,destroyed:_e,unmounted:_e,activated:_e,deactivated:_e,errorCaptured:_e,serverPrefetch:_e,components:it,directives:it,watch:bl,provide:Vs,inject:yl};function Vs(e,t){return t?e?function(){return me(U(e)?e.call(this,this):e,U(t)?t.call(this,this):t)}:t:e}function yl(e,t){return it(Jn(e),Jn(t))}function Jn(e){if(j(e)){const t={};for(let n=0;n0)&&!(i&16)){if(i&8){const a=e.vnode.dynamicProps;for(let p=0;p{c=!0;const[h,b]=vo(p,t,!0);me(i,h),b&&l.push(...b)};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}if(!o&&!c)return s.set(e,Et),Et;if(j(o))for(let a=0;a-1,b[1]=N<0||R-1||V(b,"default"))&&l.push(p)}}}const f=[i,l];return s.set(e,f),f}function Ys(e){return e[0]!=="$"}function Qs(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:e===null?"null":""}function Js(e,t){return Qs(e)===Qs(t)}function Xs(e,t){return j(t)?t.findIndex(n=>Js(n,e)):U(t)&&Js(t,e)?0:-1}const Eo=e=>e[0]==="_"||e==="$stable",As=e=>j(e)?e.map(Le):[Le(e)],Cl=(e,t,n)=>{const s=Qi((...r)=>As(t(...r)),n);return s._c=!1,s},Co=(e,t,n)=>{const s=e._ctx;for(const r in e){if(Eo(r))continue;const o=e[r];if(U(o))t[r]=Cl(r,o,s);else if(o!=null){const i=As(o);t[r]=()=>i}}},xo=(e,t)=>{const n=As(t);e.slots.default=()=>n},xl=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=Y(t),fn(t,"_",n)):Co(t,e.slots={})}else e.slots={},t&&xo(e,t);fn(e.slots,Sn,1)},wl=(e,t,n)=>{const{vnode:s,slots:r}=e;let o=!0,i=ne;if(s.shapeFlag&32){const l=t._;l?n&&l===1?o=!1:(me(r,t),!n&&l===1&&delete r._):(o=!t.$stable,Co(t,r)),i=t}else t&&(xo(e,t),i={default:1});if(o)for(const l in r)!Eo(l)&&!(l in i)&&delete r[l]};function Au(e,t){const n=Ce;if(n===null)return e;const s=n.proxy,r=e.dirs||(e.dirs=[]);for(let o=0;oZn(h,t&&(j(t)?t[b]:t),n,s,r));return}if(pn(s)&&!r)return;const o=s.shapeFlag&4?Ss(s.component)||s.component.proxy:s.el,i=r?null:o,{i:l,r:c}=e,f=t&&t.r,a=l.refs===ne?l.refs={}:l.refs,p=l.setupState;if(f!=null&&f!==c&&(ae(f)?(a[f]=null,V(p,f)&&(p[f]=null)):ge(f)&&(f.value=null)),U(c))Ge(c,l,12,[i,a]);else{const h=ae(c),b=ge(c);if(h||b){const R=()=>{if(e.f){const N=h?a[c]:c.value;r?j(N)&&fs(N,o):j(N)?N.includes(o)||N.push(o):h?a[c]=[o]:(c.value=[o],e.k&&(a[e.k]=c.value))}else h?(a[c]=i,V(p,c)&&(p[c]=i)):ge(c)&&(c.value=i,e.k&&(a[e.k]=i))};i?(R.id=-1,pe(R,n)):R()}}}const pe=tl;function Pl(e){return Tl(e)}function Tl(e,t){const n=ci();n.__VUE__=!0;const{insert:s,remove:r,patchProp:o,createElement:i,createText:l,createComment:c,setText:f,setElementText:a,parentNode:p,nextSibling:h,setScopeId:b=Ie,cloneNode:R,insertStaticContent:N}=e,S=(u,d,g,y=null,_=null,C=null,P=!1,E=null,w=!!d.dynamicChildren)=>{if(u===d)return;u&&!lt(u,d)&&(y=H(u),Ae(u,_,C,!0),u=null),d.patchFlag===-2&&(w=!1,d.dynamicChildren=null);const{type:v,ref:B,shapeFlag:M}=d;switch(v){case Ps:O(u,d,g,y);break;case Me:x(u,d,g,y);break;case cn:u==null&&I(d,g,y,P);break;case Te:ue(u,d,g,y,_,C,P,E,w);break;default:M&1?Q(u,d,g,y,_,C,P,E,w):M&6?be(u,d,g,y,_,C,P,E,w):(M&64||M&128)&&v.process(u,d,g,y,_,C,P,E,w,re)}B!=null&&_&&Zn(B,u&&u.ref,C,d||u,!d)},O=(u,d,g,y)=>{if(u==null)s(d.el=l(d.children),g,y);else{const _=d.el=u.el;d.children!==u.children&&f(_,d.children)}},x=(u,d,g,y)=>{u==null?s(d.el=c(d.children||""),g,y):d.el=u.el},I=(u,d,g,y)=>{[u.el,u.anchor]=N(u.children,d,g,y,u.el,u.anchor)},T=({el:u,anchor:d},g,y)=>{let _;for(;u&&u!==d;)_=h(u),s(u,g,y),u=_;s(d,g,y)},q=({el:u,anchor:d})=>{let g;for(;u&&u!==d;)g=h(u),r(u),u=g;r(d)},Q=(u,d,g,y,_,C,P,E,w)=>{P=P||d.type==="svg",u==null?k(d,g,y,_,C,P,E,w):le(u,d,_,C,P,E,w)},k=(u,d,g,y,_,C,P,E)=>{let w,v;const{type:B,props:M,shapeFlag:$,transition:D,patchFlag:W,dirs:ie}=u;if(u.el&&R!==void 0&&W===-1)w=u.el=R(u.el);else{if(w=u.el=i(u.type,C,M&&M.is,M),$&8?a(w,u.children):$&16&&J(u.children,w,null,y,_,C&&B!=="foreignObject",P,E),ie&&nt(u,null,y,"created"),M){for(const oe in M)oe!=="value"&&!on(oe)&&o(w,oe,null,M[oe],C,u.children,y,_,A);"value"in M&&o(w,"value",null,M.value),(v=M.onVnodeBeforeMount)&&Pe(v,y,u)}X(w,u,u.scopeId,P,y)}ie&&nt(u,null,y,"beforeMount");const ee=(!_||_&&!_.pendingBranch)&&D&&!D.persisted;ee&&D.beforeEnter(w),s(w,d,g),((v=M&&M.onVnodeMounted)||ee||ie)&&pe(()=>{v&&Pe(v,y,u),ee&&D.enter(w),ie&&nt(u,null,y,"mounted")},_)},X=(u,d,g,y,_)=>{if(g&&b(u,g),y)for(let C=0;C{for(let v=w;v{const E=d.el=u.el;let{patchFlag:w,dynamicChildren:v,dirs:B}=d;w|=u.patchFlag&16;const M=u.props||ne,$=d.props||ne;let D;g&&st(g,!1),(D=$.onVnodeBeforeUpdate)&&Pe(D,g,d,u),B&&nt(d,u,g,"beforeUpdate"),g&&st(g,!0);const W=_&&d.type!=="foreignObject";if(v?ce(u.dynamicChildren,v,E,g,y,W,C):P||we(u,d,E,null,g,y,W,C,!1),w>0){if(w&16)L(E,d,M,$,g,y,_);else if(w&2&&M.class!==$.class&&o(E,"class",null,$.class,_),w&4&&o(E,"style",M.style,$.style,_),w&8){const ie=d.dynamicProps;for(let ee=0;ee{D&&Pe(D,g,d,u),B&&nt(d,u,g,"updated")},y)},ce=(u,d,g,y,_,C,P)=>{for(let E=0;E{if(g!==y){for(const E in y){if(on(E))continue;const w=y[E],v=g[E];w!==v&&E!=="value"&&o(u,E,v,w,P,d.children,_,C,A)}if(g!==ne)for(const E in g)!on(E)&&!(E in y)&&o(u,E,g[E],null,P,d.children,_,C,A);"value"in y&&o(u,"value",g.value,y.value)}},ue=(u,d,g,y,_,C,P,E,w)=>{const v=d.el=u?u.el:l(""),B=d.anchor=u?u.anchor:l("");let{patchFlag:M,dynamicChildren:$,slotScopeIds:D}=d;D&&(E=E?E.concat(D):D),u==null?(s(v,g,y),s(B,g,y),J(d.children,g,B,_,C,P,E,w)):M>0&&M&64&&$&&u.dynamicChildren?(ce(u.dynamicChildren,$,g,_,C,P,E),(d.key!=null||_&&d===_.subTree)&&Ao(u,d,!0)):we(u,d,g,B,_,C,P,E,w)},be=(u,d,g,y,_,C,P,E,w)=>{d.slotScopeIds=E,u==null?d.shapeFlag&512?_.ctx.activate(d,g,y,P,w):ke(d,g,y,_,C,P,w):fe(u,d,w)},ke=(u,d,g,y,_,C,P)=>{const E=u.component=kl(u,y,_);if(Pn(u)&&(E.ctx.renderer=re),jl(E),E.asyncDep){if(_&&_.registerDep(E,se),!u.el){const w=E.subTree=ye(Me);x(null,w,d,g)}return}se(E,u,d,g,_,C,P)},fe=(u,d,g)=>{const y=d.component=u.component;if(Zi(u,d,g))if(y.asyncDep&&!y.asyncResolved){Z(y,d,g);return}else y.next=d,qi(y.update),y.update();else d.component=u.component,d.el=u.el,y.vnode=d},se=(u,d,g,y,_,C,P)=>{const E=()=>{if(u.isMounted){let{next:B,bu:M,u:$,parent:D,vnode:W}=u,ie=B,ee;st(u,!1),B?(B.el=W.el,Z(u,B,P)):B=W,M&&$t(M),(ee=B.props&&B.props.onVnodeBeforeUpdate)&&Pe(ee,D,B,W),st(u,!0);const oe=Fn(u),Oe=u.subTree;u.subTree=oe,S(Oe,oe,p(Oe.el),H(Oe),u,_,C),B.el=oe.el,ie===null&&Gi(u,oe.el),$&&pe($,_),(ee=B.props&&B.props.onVnodeUpdated)&&pe(()=>Pe(ee,D,B,W),_)}else{let B;const{el:M,props:$}=d,{bm:D,m:W,parent:ie}=u,ee=pn(d);if(st(u,!1),D&&$t(D),!ee&&(B=$&&$.onVnodeBeforeMount)&&Pe(B,ie,d),st(u,!0),M&&K){const oe=()=>{u.subTree=Fn(u),K(M,u.subTree,u,_,null)};ee?d.type.__asyncLoader().then(()=>!u.isUnmounted&&oe()):oe()}else{const oe=u.subTree=Fn(u);S(null,oe,g,y,u,_,C),d.el=oe.el}if(W&&pe(W,_),!ee&&(B=$&&$.onVnodeMounted)){const oe=d;pe(()=>Pe(B,ie,oe),_)}d.shapeFlag&256&&u.a&&pe(u.a,_),u.isMounted=!0,d=g=y=null}},w=u.effect=new ps(E,()=>to(u.update),u.scope),v=u.update=w.run.bind(w);v.id=u.uid,st(u,!0),v()},Z=(u,d,g)=>{d.component=u;const y=u.vnode.props;u.vnode=d,u.next=null,El(u,d.props,y,g),wl(u,d.children,g),Tt(),Es(void 0,u.update),St()},we=(u,d,g,y,_,C,P,E,w=!1)=>{const v=u&&u.children,B=u?u.shapeFlag:0,M=d.children,{patchFlag:$,shapeFlag:D}=d;if($>0){if($&128){je(v,M,g,y,_,C,P,E,w);return}else if($&256){pt(v,M,g,y,_,C,P,E,w);return}}D&8?(B&16&&A(v,_,C),M!==v&&a(g,M)):B&16?D&16?je(v,M,g,y,_,C,P,E,w):A(v,_,C,!0):(B&8&&a(g,""),D&16&&J(M,g,y,_,C,P,E,w))},pt=(u,d,g,y,_,C,P,E,w)=>{u=u||Et,d=d||Et;const v=u.length,B=d.length,M=Math.min(v,B);let $;for($=0;$B?A(u,_,C,!0,!1,M):J(d,g,y,_,C,P,E,w,M)},je=(u,d,g,y,_,C,P,E,w)=>{let v=0;const B=d.length;let M=u.length-1,$=B-1;for(;v<=M&&v<=$;){const D=u[v],W=d[v]=w?Je(d[v]):Le(d[v]);if(lt(D,W))S(D,W,g,null,_,C,P,E,w);else break;v++}for(;v<=M&&v<=$;){const D=u[M],W=d[$]=w?Je(d[$]):Le(d[$]);if(lt(D,W))S(D,W,g,null,_,C,P,E,w);else break;M--,$--}if(v>M){if(v<=$){const D=$+1,W=D$)for(;v<=M;)Ae(u[v],_,C,!0),v++;else{const D=v,W=v,ie=new Map;for(v=W;v<=$;v++){const ve=d[v]=w?Je(d[v]):Le(d[v]);ve.key!=null&&ie.set(ve.key,v)}let ee,oe=0;const Oe=$-W+1;let gt=!1,Fs=0;const It=new Array(Oe);for(v=0;v=Oe){Ae(ve,_,C,!0);continue}let Ne;if(ve.key!=null)Ne=ie.get(ve.key);else for(ee=W;ee<=$;ee++)if(It[ee-W]===0&<(ve,d[ee])){Ne=ee;break}Ne===void 0?Ae(ve,_,C,!0):(It[Ne-W]=v+1,Ne>=Fs?Fs=Ne:gt=!0,S(ve,d[Ne],g,null,_,C,P,E,w),oe++)}const Ns=gt?Sl(It):Et;for(ee=Ns.length-1,v=Oe-1;v>=0;v--){const ve=W+v,Ne=d[ve],Ls=ve+1{const{el:C,type:P,transition:E,children:w,shapeFlag:v}=u;if(v&6){Fe(u.component.subTree,d,g,y);return}if(v&128){u.suspense.move(d,g,y);return}if(v&64){P.move(u,d,g,re);return}if(P===Te){s(C,d,g);for(let M=0;ME.enter(C),_);else{const{leave:M,delayLeave:$,afterLeave:D}=E,W=()=>s(C,d,g),ie=()=>{M(C,()=>{W(),D&&D()})};$?$(C,W,ie):ie()}else s(C,d,g)},Ae=(u,d,g,y=!1,_=!1)=>{const{type:C,props:P,ref:E,children:w,dynamicChildren:v,shapeFlag:B,patchFlag:M,dirs:$}=u;if(E!=null&&Zn(E,null,g,u,!0),B&256){d.ctx.deactivate(u);return}const D=B&1&&$,W=!pn(u);let ie;if(W&&(ie=P&&P.onVnodeBeforeUnmount)&&Pe(ie,d,u),B&6)F(u.component,g,y);else{if(B&128){u.suspense.unmount(g,y);return}D&&nt(u,null,d,"beforeUnmount"),B&64?u.type.remove(u,d,g,_,re,y):v&&(C!==Te||M>0&&M&64)?A(v,d,g,!1,!0):(C===Te&&M&384||!_&&B&16)&&A(w,d,g),y&&In(u)}(W&&(ie=P&&P.onVnodeUnmounted)||D)&&pe(()=>{ie&&Pe(ie,d,u),D&&nt(u,null,d,"unmounted")},g)},In=u=>{const{type:d,el:g,anchor:y,transition:_}=u;if(d===Te){m(g,y);return}if(d===cn){q(u);return}const C=()=>{r(g),_&&!_.persisted&&_.afterLeave&&_.afterLeave()};if(u.shapeFlag&1&&_&&!_.persisted){const{leave:P,delayLeave:E}=_,w=()=>P(g,C);E?E(u.el,C,w):w()}else C()},m=(u,d)=>{let g;for(;u!==d;)g=h(u),r(u),u=g;r(d)},F=(u,d,g)=>{const{bum:y,scope:_,update:C,subTree:P,um:E}=u;y&&$t(y),_.stop(),C&&(C.active=!1,Ae(P,u,d,g)),E&&pe(E,d),pe(()=>{u.isUnmounted=!0},d),d&&d.pendingBranch&&!d.isUnmounted&&u.asyncDep&&!u.asyncResolved&&u.suspenseId===d.pendingId&&(d.deps--,d.deps===0&&d.resolve())},A=(u,d,g,y=!1,_=!1,C=0)=>{for(let P=C;Pu.shapeFlag&6?H(u.component.subTree):u.shapeFlag&128?u.suspense.next():h(u.anchor||u.el),G=(u,d,g)=>{u==null?d._vnode&&Ae(d._vnode,null,null,!0):S(d._vnode||null,u,d,null,null,null,g),ro(),d._vnode=u},re={p:S,um:Ae,m:Fe,r:In,mt:ke,mc:J,pc:we,pbc:ce,n:H,o:e};let z,K;return t&&([z,K]=t(re)),{render:G,hydrate:z,createApp:Rl(G,z)}}function st({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Ao(e,t,n=!1){const s=e.children,r=t.children;if(j(s)&&j(r))for(let o=0;o>1,e[n[l]]0&&(t[s]=n[o-1]),n[o]=s)}}for(o=n.length,i=n[o-1];o-- >0;)n[o]=i,i=t[i];return n}const Ol=e=>e.__isTeleport,Rs="components";function Ru(e,t){return Po(Rs,e,!0,t)||e}const Ro=Symbol();function Pu(e){return ae(e)?Po(Rs,e,!1)||e:e||Ro}function Po(e,t,n=!0,s=!1){const r=Ce||he;if(r){const o=r.type;if(e===Rs){const l=es(o);if(l&&(l===t||l===$e(t)||l===xn($e(t))))return o}const i=Zs(r[e]||o[e],t)||Zs(r.appContext[e],t);return!i&&s?o:i}}function Zs(e,t){return e&&(e[t]||e[$e(t)]||e[xn($e(t))])}const Te=Symbol(void 0),Ps=Symbol(void 0),Me=Symbol(void 0),cn=Symbol(void 0),Ut=[];let at=null;function To(e=!1){Ut.push(at=e?null:[])}function Il(){Ut.pop(),at=Ut[Ut.length-1]||null}let mn=1;function Gs(e){mn+=e}function So(e){return e.dynamicChildren=mn>0?at||Et:null,Il(),mn>0&&at&&at.push(e),e}function Tu(e,t,n,s,r,o){return So(Mo(e,t,n,s,r,o,!0))}function Oo(e,t,n,s,r){return So(ye(e,t,n,s,r,!0))}function Jt(e){return e?e.__v_isVNode===!0:!1}function lt(e,t){return e.type===t.type&&e.key===t.key}const Sn="__vInternal",Io=({key:e})=>e!=null?e:null,un=({ref:e,ref_key:t,ref_for:n})=>e!=null?ae(e)||ge(e)||U(e)?{i:Ce,r:e,k:t,f:!!n}:e:null;function Mo(e,t=null,n=null,s=0,r=null,o=e===Te?0:1,i=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Io(t),ref:t&&un(t),scopeId:Rn,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:o,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null};return l?(Ts(c,n),o&128&&e.normalize(c)):n&&(c.shapeFlag|=ae(n)?8:16),mn>0&&!i&&at&&(c.patchFlag>0||o&6)&&c.patchFlag!==32&&at.push(c),c}const ye=Ml;function Ml(e,t=null,n=null,s=0,r=null,o=!1){if((!e||e===Ro)&&(e=Me),Jt(e)){const l=ht(e,t,!0);return n&&Ts(l,n),l}if(zl(e)&&(e=e.__vccOpts),t){t=Fl(t);let{class:l,style:c}=t;l&&!ae(l)&&(t.class=cs(l)),de(c)&&(Vr(c)&&!j(c)&&(c=me({},c)),t.style=ls(c))}const i=ae(e)?1:el(e)?128:Ol(e)?64:de(e)?4:U(e)?2:0;return Mo(e,t,n,s,r,i,o,!0)}function Fl(e){return e?Vr(e)||Sn in e?me({},e):e:null}function ht(e,t,n=!1){const{props:s,ref:r,patchFlag:o,children:i}=e,l=t?Ll(s||{},t):s;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&Io(l),ref:t&&t.ref?n&&r?j(r)?r.concat(un(t)):[r,un(t)]:un(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Te?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&ht(e.ssContent),ssFallback:e.ssFallback&&ht(e.ssFallback),el:e.el,anchor:e.anchor}}function Nl(e=" ",t=0){return ye(Ps,null,e,t)}function Su(e,t){const n=ye(cn,null,e);return n.staticCount=t,n}function Ou(e="",t=!1){return t?(To(),Oo(Me,null,e)):ye(Me,null,e)}function Le(e){return e==null||typeof e=="boolean"?ye(Me):j(e)?ye(Te,null,e.slice()):typeof e=="object"?Je(e):ye(Ps,null,String(e))}function Je(e){return e.el===null||e.memo?e:ht(e)}function Ts(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(j(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),Ts(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!(Sn in t)?t._ctx=Ce:r===3&&Ce&&(Ce.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else U(t)?(t={default:t,_ctx:Ce},n=32):(t=String(t),s&64?(n=16,t=[Nl(t)]):n=8);e.children=t,e.shapeFlag|=n}function Ll(...e){const t={};for(let n=0;nt(i,l,void 0,o&&o[l]));else{const i=Object.keys(e);r=new Array(i.length);for(let l=0,c=i.length;lJt(t)?!(t.type===Me||t.type===Te&&!Fo(t.children)):!0)?e:null}const Gn=e=>e?Lo(e)?Ss(e)||e.proxy:Gn(e.parent):null,_n=me(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=>Gn(e.parent),$root:e=>Gn(e.root),$emit:e=>e.emit,$options:e=>yo(e),$forceUpdate:e=>()=>to(e.update),$nextTick:e=>eo.bind(e.proxy),$watch:e=>nl.bind(e)}),Hl={get({_:e},t){const{ctx:n,setupState:s,data:r,props:o,accessCache:i,type:l,appContext:c}=e;let f;if(t[0]!=="$"){const b=i[t];if(b!==void 0)switch(b){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return o[t]}else{if(s!==ne&&V(s,t))return i[t]=1,s[t];if(r!==ne&&V(r,t))return i[t]=2,r[t];if((f=e.propsOptions[0])&&V(f,t))return i[t]=3,o[t];if(n!==ne&&V(n,t))return i[t]=4,n[t];Qn&&(i[t]=0)}}const a=_n[t];let p,h;if(a)return t==="$attrs"&&xe(e,"get",t),a(e);if((p=l.__cssModules)&&(p=p[t]))return p;if(n!==ne&&V(n,t))return i[t]=4,n[t];if(h=c.config.globalProperties,V(h,t))return h[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:o}=e;return r!==ne&&V(r,t)?(r[t]=n,!0):s!==ne&&V(s,t)?(s[t]=n,!0):V(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,propsOptions:o}},i){let l;return!!n[i]||e!==ne&&V(e,i)||t!==ne&&V(t,i)||(l=o[0])&&V(l,i)||V(s,i)||V(_n,i)||V(r.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?this.set(e,t,n.get(),null):n.value!=null&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}},Bl=wo();let $l=0;function kl(e,t,n){const s=e.type,r=(t?t.appContext:e.appContext)||Bl,o={uid:$l++,vnode:e,type:s,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,scope:new ui(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(r.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:vo(s,r),emitsOptions:io(s,r),emit:null,emitted:null,propsDefaults:ne,inheritAttrs:s.inheritAttrs,ctx:ne,data:ne,props:ne,attrs:ne,slots:ne,refs:ne,setupState:ne,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return o.ctx={_:o},o.root=t?t.root:o,o.emit=Yi.bind(null,o),e.ce&&e.ce(o),o}let he=null;const No=()=>he||Ce,wt=e=>{he=e,e.scope.on()},dt=()=>{he&&he.scope.off(),he=null};function Lo(e){return e.vnode.shapeFlag&4}let Xt=!1;function jl(e,t=!1){Xt=t;const{props:n,children:s}=e.vnode,r=Lo(e);vl(e,n,r,t),xl(e,s);const o=r?Dl(e,t):void 0;return Xt=!1,o}function Dl(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=Yr(new Proxy(e.ctx,Hl));const{setup:s}=n;if(s){const r=e.setupContext=s.length>1?Ul(e):null;wt(e),Tt();const o=Ge(s,e,0,[e.props,r]);if(St(),dt(),Ir(o)){if(o.then(dt,dt),t)return o.then(i=>{er(e,i,t)}).catch(i=>{An(i,e,0)});e.asyncDep=o}else er(e,o,t)}else Ho(e,t)}function er(e,t,n){U(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:de(t)&&(e.setupState=Zr(t)),Ho(e,n)}let tr;function Ho(e,t,n){const s=e.type;if(!e.render){if(!t&&tr&&!s.render){const r=s.template;if(r){const{isCustomElement:o,compilerOptions:i}=e.appContext.config,{delimiters:l,compilerOptions:c}=s,f=me(me({isCustomElement:o,delimiters:l},i),c);s.render=tr(r,f)}}e.render=s.render||Ie}wt(e),Tt(),gl(e),St(),dt()}function Kl(e){return new Proxy(e.attrs,{get(t,n){return xe(e,"get","$attrs"),t[n]}})}function Ul(e){const t=s=>{e.exposed=s||{}};let n;return{get attrs(){return n||(n=Kl(e))},slots:e.slots,emit:e.emit,expose:t}}function Ss(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Zr(Yr(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in _n)return _n[n](e)}}))}function es(e){return U(e)&&e.displayName||e.name}function zl(e){return U(e)&&"__vccOpts"in e}const He=(e,t)=>Ki(e,t,Xt);function Os(e,t,n){const s=arguments.length;return s===2?de(t)&&!j(t)?Jt(t)?ye(e,null,[t]):ye(e,t):ye(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&Jt(n)&&(n=[n]),ye(e,t,n))}const ql="3.2.31",Wl="http://www.w3.org/2000/svg",ct=typeof document!="undefined"?document:null,nr=ct&&ct.createElement("template"),Vl={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 r=t?ct.createElementNS(Wl,e):ct.createElement(e,n?{is:n}:void 0);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>ct.createTextNode(e),createComment:e=>ct.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>ct.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},cloneNode(e){const t=e.cloneNode(!0);return"_value"in e&&(t._value=e._value),t},insertStaticContent(e,t,n,s,r,o){const i=n?n.previousSibling:t.lastChild;if(r&&(r===o||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===o||!(r=r.nextSibling)););else{nr.innerHTML=s?`${e}`:e;const l=nr.content;if(s){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function Yl(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 Ql(e,t,n){const s=e.style,r=ae(n);if(n&&!r){for(const o in n)ts(s,o,n[o]);if(t&&!ae(t))for(const o in t)n[o]==null&&ts(s,o,"")}else{const o=s.display;r?t!==n&&(s.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(s.display=o)}}const sr=/\s*!important$/;function ts(e,t,n){if(j(n))n.forEach(s=>ts(e,t,s));else if(t.startsWith("--"))e.setProperty(t,n);else{const s=Jl(e,t);sr.test(n)?e.setProperty(Pt(s),n.replace(sr,""),"important"):e[s]=n}}const rr=["Webkit","Moz","ms"],Bn={};function Jl(e,t){const n=Bn[t];if(n)return n;let s=$e(t);if(s!=="filter"&&s in e)return Bn[t]=s;s=xn(s);for(let r=0;rdocument.createEvent("Event").timeStamp&&(yn=()=>performance.now());const e=navigator.userAgent.match(/firefox\/(\d+)/i);Bo=!!(e&&Number(e[1])<=53)}let ns=0;const Gl=Promise.resolve(),ec=()=>{ns=0},tc=()=>ns||(Gl.then(ec),ns=yn());function nc(e,t,n,s){e.addEventListener(t,n,s)}function sc(e,t,n,s){e.removeEventListener(t,n,s)}function rc(e,t,n,s,r=null){const o=e._vei||(e._vei={}),i=o[t];if(s&&i)i.value=s;else{const[l,c]=oc(t);if(s){const f=o[t]=ic(s,r);nc(e,l,f,c)}else i&&(sc(e,l,i,c),o[t]=void 0)}}const ir=/(?:Once|Passive|Capture)$/;function oc(e){let t;if(ir.test(e)){t={};let n;for(;n=e.match(ir);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[Pt(e.slice(2)),t]}function ic(e,t){const n=s=>{const r=s.timeStamp||yn();(Bo||r>=n.attached-1)&&Se(lc(s,n.value),t,5,[s])};return n.value=e,n.attached=tc(),n}function lc(e,t){if(j(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>r=>!r._stopped&&s&&s(r))}else return t}const lr=/^on[a-z]/,cc=(e,t,n,s,r=!1,o,i,l,c)=>{t==="class"?Yl(e,s,r):t==="style"?Ql(e,n,s):vn(t)?us(t)||rc(e,t,n,s,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):uc(e,t,s,r))?Zl(e,t,s,o,i,l,c):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),Xl(e,t,s,r))};function uc(e,t,n,s){return s?!!(t==="innerHTML"||t==="textContent"||t in e&&lr.test(t)&&U(n)):t==="spellcheck"||t==="draggable"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||lr.test(t)&&ae(n)?!1:t in e}const We="transition",Mt="animation",$o=(e,{slots:t})=>Os(uo,fc(e),t);$o.displayName="Transition";const ko={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};$o.props=me({},uo.props,ko);const rt=(e,t=[])=>{j(e)?e.forEach(n=>n(...t)):e&&e(...t)},cr=e=>e?j(e)?e.some(t=>t.length>1):e.length>1:!1;function fc(e){const t={};for(const L in e)L in ko||(t[L]=e[L]);if(e.css===!1)return t;const{name:n="v",type:s,duration:r,enterFromClass:o=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:c=o,appearActiveClass:f=i,appearToClass:a=l,leaveFromClass:p=`${n}-leave-from`,leaveActiveClass:h=`${n}-leave-active`,leaveToClass:b=`${n}-leave-to`}=e,R=ac(r),N=R&&R[0],S=R&&R[1],{onBeforeEnter:O,onEnter:x,onEnterCancelled:I,onLeave:T,onLeaveCancelled:q,onBeforeAppear:Q=O,onAppear:k=x,onAppearCancelled:X=I}=t,J=(L,ue,be)=>{mt(L,ue?a:l),mt(L,ue?f:i),be&&be()},le=(L,ue)=>{mt(L,b),mt(L,h),ue&&ue()},ce=L=>(ue,be)=>{const ke=L?k:x,fe=()=>J(ue,L,be);rt(ke,[ue,fe]),ur(()=>{mt(ue,L?c:o),Ve(ue,L?a:l),cr(ke)||fr(ue,s,N,fe)})};return me(t,{onBeforeEnter(L){rt(O,[L]),Ve(L,o),Ve(L,i)},onBeforeAppear(L){rt(Q,[L]),Ve(L,c),Ve(L,f)},onEnter:ce(!1),onAppear:ce(!0),onLeave(L,ue){const be=()=>le(L,ue);Ve(L,p),pc(),Ve(L,h),ur(()=>{mt(L,p),Ve(L,b),cr(T)||fr(L,s,S,be)}),rt(T,[L,be])},onEnterCancelled(L){J(L,!1),rt(I,[L])},onAppearCancelled(L){J(L,!0),rt(X,[L])},onLeaveCancelled(L){le(L),rt(q,[L])}})}function ac(e){if(e==null)return null;if(de(e))return[$n(e.enter),$n(e.leave)];{const t=$n(e);return[t,t]}}function $n(e){return Nr(e)}function Ve(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e._vtc||(e._vtc=new Set)).add(t)}function mt(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 ur(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let dc=0;function fr(e,t,n,s){const r=e._endId=++dc,o=()=>{r===e._endId&&s()};if(n)return setTimeout(o,n);const{type:i,timeout:l,propCount:c}=hc(e,t);if(!i)return s();const f=i+"end";let a=0;const p=()=>{e.removeEventListener(f,h),o()},h=b=>{b.target===e&&++a>=c&&p()};setTimeout(()=>{a(n[R]||"").split(", "),r=s(We+"Delay"),o=s(We+"Duration"),i=ar(r,o),l=s(Mt+"Delay"),c=s(Mt+"Duration"),f=ar(l,c);let a=null,p=0,h=0;t===We?i>0&&(a=We,p=i,h=o.length):t===Mt?f>0&&(a=Mt,p=f,h=c.length):(p=Math.max(i,f),a=p>0?i>f?We:Mt:null,h=a?a===We?o.length:c.length:0);const b=a===We&&/\b(transform|all)(,|$)/.test(n[We+"Property"]);return{type:a,timeout:p,propCount:h,hasTransform:b}}function ar(e,t){for(;e.lengthdr(n)+dr(e[s])))}function dr(e){return Number(e.slice(0,-1).replace(",","."))*1e3}function pc(){return document.body.offsetHeight}const Fu={beforeMount(e,{value:t},{transition:n}){e._vod=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Ft(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:s}){!t!=!n&&(s?t?(s.beforeEnter(e),Ft(e,!0),s.enter(e)):s.leave(e,()=>{Ft(e,!1)}):Ft(e,t))},beforeUnmount(e,{value:t}){Ft(e,t)}};function Ft(e,t){e.style.display=t?e._vod:"none"}const gc=me({patchProp:cc},Vl);let hr;function mc(){return hr||(hr=Pl(gc))}const Nu=(...e)=>{const t=mc().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=_c(s);if(!r)return;const o=t._component;!U(o)&&!o.render&&!o.template&&(o.template=r.innerHTML),r.innerHTML="";const i=n(r,!1,r instanceof SVGElement);return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),i},t};function _c(e){return ae(e)?document.querySelector(e):e}/*! * vue-router v4.0.12 * (c) 2021 Eduardo San Martin Morote * @license MIT - */const Ro=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol",Rt=e=>Ro?Symbol(e):"_vr_"+e,yc=Rt("rvlm"),Po=Rt("rvd"),As=Rt("r"),To=Rt("rl"),Rs=Rt("rvl"),Pt=typeof window!="undefined";function bc(e){return e.__esModule||Ro&&e[Symbol.toStringTag]==="Module"}const ne=Object.assign;function Ps(e,t){const n={};for(const s in t){const r=t[s];n[s]=Array.isArray(r)?r.map(e):e(r)}return n}const Jt=()=>{},vc=/\/$/,Ec=e=>e.replace(vc,"");function Ts(e,t,n="/"){let s,r={},o="",i="";const l=t.indexOf("?"),c=t.indexOf("#",l>-1?l:0);return l>-1&&(s=t.slice(0,l),o=t.slice(l+1,c>-1?c:t.length),r=e(o)),c>-1&&(s=s||t.slice(0,c),i=t.slice(c,t.length)),s=Ac(s!=null?s:t,n),{fullPath:s+(o&&"?")+o+i,path:s,query:r,hash:i}}function Cc(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function So(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function xc(e,t,n){const s=t.matched.length-1,r=n.matched.length-1;return s>-1&&s===r&&Tt(t.matched[s],n.matched[r])&&Oo(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Tt(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Oo(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!wc(e[n],t[n]))return!1;return!0}function wc(e,t){return Array.isArray(e)?Io(e,t):Array.isArray(t)?Io(t,e):e===t}function Io(e,t){return Array.isArray(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function Ac(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),s=e.split("/");let r=n.length-1,o,i;for(o=0;o({left:window.pageXOffset,top:window.pageYOffset});function Oc(e){let t;if("el"in e){const n=e.el,s=typeof n=="string"&&n.startsWith("#"),r=typeof n=="string"?s?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=Sc(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function Mo(e,t){return(history.state?history.state.position-t:-1)+e}const Ss=new Map;function Ic(e,t){Ss.set(e,t)}function Mc(e){const t=Ss.get(e);return Ss.delete(e),t}let Fc=()=>location.protocol+"//"+location.host;function Fo(e,t){const{pathname:n,search:s,hash:r}=t,o=e.indexOf("#");if(o>-1){let l=r.includes(e.slice(o))?e.slice(o).length:1,c=r.slice(l);return c[0]!=="/"&&(c="/"+c),So(c,"")}return So(n,e)+s+r}function Nc(e,t,n,s){let r=[],o=[],i=null;const l=({state:h})=>{const b=Fo(e,location),R=n.value,N=t.value;let S=0;if(h){if(n.value=b,t.value=h,i&&i===R){i=null;return}S=N?h.position-N.position:0}else s(b);r.forEach(O=>{O(n.value,R,{delta:S,type:Xt.pop,direction:S?S>0?Zt.forward:Zt.back:Zt.unknown})})};function c(){i=n.value}function f(h){r.push(h);const b=()=>{const R=r.indexOf(h);R>-1&&r.splice(R,1)};return o.push(b),b}function a(){const{history:h}=window;!h.state||h.replaceState(ne({},h.state,{scroll:Sn()}),"")}function p(){for(const h of o)h();o=[],window.removeEventListener("popstate",l),window.removeEventListener("beforeunload",a)}return window.addEventListener("popstate",l),window.addEventListener("beforeunload",a),{pauseListeners:c,listen:f,destroy:p}}function No(e,t,n,s=!1,r=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:r?Sn():null}}function Lc(e){const{history:t,location:n}=window,s={value:Fo(e,n)},r={value:t.state};r.value||o(s.value,{back:null,current:s.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(c,f,a){const p=e.indexOf("#"),h=p>-1?(n.host&&document.querySelector("base")?e:e.slice(p))+c:Fc()+e+c;try{t[a?"replaceState":"pushState"](f,"",h),r.value=f}catch(b){console.error(b),n[a?"replace":"assign"](h)}}function i(c,f){const a=ne({},t.state,No(r.value.back,c,r.value.forward,!0),f,{position:r.value.position});o(c,a,!0),s.value=c}function l(c,f){const a=ne({},r.value,t.state,{forward:c,scroll:Sn()});o(a.current,a,!0);const p=ne({},No(s.value,c,null),{position:a.position+1},f);o(c,p,!1),s.value=c}return{location:s,state:r,push:l,replace:i}}function Hc(e){e=Rc(e);const t=Lc(e),n=Nc(e,t.state,t.location,t.replace);function s(o,i=!0){i||n.pauseListeners(),history.go(o)}const r=ne({location:"",base:e,go:s,createHref:Tc.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}function Lu(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),Hc(e)}function Bc(e){return typeof e=="string"||e&&typeof e=="object"}function Lo(e){return typeof e=="string"||typeof e=="symbol"}const et={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Ho=Rt("nf");var Bo;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Bo||(Bo={}));function St(e,t){return ne(new Error,{type:e,[Ho]:!0},t)}function ht(e,t){return e instanceof Error&&Ho in e&&(t==null||!!(e.type&t))}const $o="[^/]+?",$c={sensitive:!1,strict:!1,start:!0,end:!0},kc=/[.+*?^${}()[\]/\\]/g;function jc(e,t){const n=ne({},$c,t),s=[];let r=n.start?"^":"";const o=[];for(const f of e){const a=f.length?[]:[90];n.strict&&!f.length&&(r+="/");for(let p=0;pt.length?t.length===1&&t[0]===40+40?1:-1:0}function Kc(e,t){let n=0;const s=e.score,r=t.score;for(;n1&&(c==="*"||c==="+")&&t(`A repeatable param (${f}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:f,regexp:a,repeatable:c==="*"||c==="+",optional:c==="*"||c==="?"})):t("Invalid state to consume buffer"),f="")}function h(){f+=c}for(;l{i(x)}:Jt}function i(a){if(Lo(a)){const p=s.get(a);p&&(s.delete(a),n.splice(n.indexOf(p),1),p.children.forEach(i),p.alias.forEach(i))}else{const p=n.indexOf(a);p>-1&&(n.splice(p,1),a.record.name&&s.delete(a.record.name),a.children.forEach(i),a.alias.forEach(i))}}function l(){return n}function c(a){let p=0;for(;p=0;)p++;n.splice(p,0,a),a.record.name&&!ko(a)&&s.set(a.record.name,a)}function f(a,p){let h,b={},R,N;if("name"in a&&a.name){if(h=s.get(a.name),!h)throw St(1,{location:a});N=h.record.name,b=ne(Yc(p.params,h.keys.filter(x=>!x.optional).map(x=>x.name)),a.params),R=h.stringify(b)}else if("path"in a)R=a.path,h=n.find(x=>x.re.test(R)),h&&(b=h.parse(R),N=h.record.name);else{if(h=p.name?s.get(p.name):n.find(x=>x.re.test(p.path)),!h)throw St(1,{location:a,currentLocation:p});N=h.record.name,b=ne({},p.params,a.params),R=h.stringify(b)}const S=[];let O=h;for(;O;)S.unshift(O.record),O=O.parent;return{name:N,path:R,params:b,matched:S,meta:Xc(S)}}return e.forEach(a=>o(a)),{addRoute:o,resolve:f,removeRoute:i,getRoutes:l,getRecordMatcher:r}}function Yc(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function Qc(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:Jc(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||{}:{default:e.component}}}function Jc(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const s in e.components)t[s]=typeof n=="boolean"?n:n[s];return t}function ko(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Xc(e){return e.reduce((t,n)=>ne(t,n.meta),{})}function jo(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}const Do=/#/g,Zc=/&/g,Gc=/\//g,eu=/=/g,tu=/\?/g,Ko=/\+/g,nu=/%5B/g,su=/%5D/g,Uo=/%5E/g,ru=/%60/g,zo=/%7B/g,ou=/%7C/g,qo=/%7D/g,iu=/%20/g;function Os(e){return encodeURI(""+e).replace(ou,"|").replace(nu,"[").replace(su,"]")}function lu(e){return Os(e).replace(zo,"{").replace(qo,"}").replace(Uo,"^")}function Is(e){return Os(e).replace(Ko,"%2B").replace(iu,"+").replace(Do,"%23").replace(Zc,"%26").replace(ru,"`").replace(zo,"{").replace(qo,"}").replace(Uo,"^")}function cu(e){return Is(e).replace(eu,"%3D")}function uu(e){return Os(e).replace(Do,"%23").replace(tu,"%3F")}function fu(e){return e==null?"":uu(e).replace(Gc,"%2F")}function On(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function au(e){const t={};if(e===""||e==="?")return t;const s=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;ro&&Is(o)):[s&&Is(s)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function du(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=Array.isArray(s)?s.map(r=>r==null?null:""+r):s==null?s:""+s)}return t}function Gt(){let e=[];function t(s){return e.push(s),()=>{const r=e.indexOf(s);r>-1&&e.splice(r,1)}}function n(){e=[]}return{add:t,list:()=>e,reset:n}}function tt(e,t,n,s,r){const o=s&&(s.enterCallbacks[r]=s.enterCallbacks[r]||[]);return()=>new Promise((i,l)=>{const c=p=>{p===!1?l(St(4,{from:n,to:t})):p instanceof Error?l(p):Bc(p)?l(St(2,{from:t,to:p})):(o&&s.enterCallbacks[r]===o&&typeof p=="function"&&o.push(p),i())},f=e.call(s&&s.instances[r],t,n,c);let a=Promise.resolve(f);e.length<3&&(a=a.then(c)),a.catch(p=>l(p))})}function Ms(e,t,n,s){const r=[];for(const o of e)for(const i in o.components){let l=o.components[i];if(!(t!=="beforeRouteEnter"&&!o.instances[i]))if(hu(l)){const f=(l.__vccOpts||l)[t];f&&r.push(tt(f,n,s,o,i))}else{let c=l();r.push(()=>c.then(f=>{if(!f)return Promise.reject(new Error(`Couldn't resolve component "${i}" at "${o.path}"`));const a=bc(f)?f.default:f;o.components[i]=a;const h=(a.__vccOpts||a)[t];return h&&tt(h,n,s,o,i)()}))}}return r}function hu(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Vo(e){const t=Je(As),n=Je(To),s=$e(()=>t.resolve($t(e.to))),r=$e(()=>{const{matched:c}=s.value,{length:f}=c,a=c[f-1],p=n.matched;if(!a||!p.length)return-1;const h=p.findIndex(Tt.bind(null,a));if(h>-1)return h;const b=Yo(c[f-2]);return f>1&&Yo(a)===b&&p[p.length-1].path!==b?p.findIndex(Tt.bind(null,c[f-2])):h}),o=$e(()=>r.value>-1&&_u(n.params,s.value.params)),i=$e(()=>r.value>-1&&r.value===n.matched.length-1&&Oo(n.params,s.value.params));function l(c={}){return mu(c)?t[$t(e.replace)?"replace":"push"]($t(e.to)).catch(Jt):Promise.resolve()}return{route:s,href:$e(()=>s.value.href),isActive:o,isExactActive:i,navigate:l}}const pu=Or({name:"RouterLink",props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Vo,setup(e,{slots:t}){const n=Lt(Vo(e)),{options:s}=Je(As),r=$e(()=>({[Qo(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[Qo(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&t.default(n);return e.custom?o:vs("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},o)}}}),gu=pu;function mu(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function _u(e,t){for(const n in t){const s=t[n],r=e[n];if(typeof s=="string"){if(s!==r)return!1}else if(!Array.isArray(r)||r.length!==s.length||s.some((o,i)=>o!==r[i]))return!1}return!0}function Yo(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Qo=(e,t,n)=>e!=null?e:t!=null?t:n,yu=Or({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},setup(e,{attrs:t,slots:n}){const s=Je(Rs),r=$e(()=>e.route||s.value),o=Je(Po,0),i=$e(()=>r.value.matched[o]);_n(Po,o+1),_n(yc,i),_n(Rs,r);const l=Bi();return Ut(()=>[l.value,i.value,e.name],([c,f,a],[p,h,b])=>{f&&(f.instances[a]=c,h&&h!==f&&c&&c===p&&(f.leaveGuards.size||(f.leaveGuards=h.leaveGuards),f.updateGuards.size||(f.updateGuards=h.updateGuards))),c&&f&&(!h||!Tt(f,h)||!p)&&(f.enterCallbacks[a]||[]).forEach(R=>R(c))},{flush:"post"}),()=>{const c=r.value,f=i.value,a=f&&f.components[e.name],p=e.name;if(!a)return Jo(n.default,{Component:a,route:c});const h=f.props[e.name],b=h?h===!0?c.params:typeof h=="function"?h(c):h:null,N=vs(a,ne({},b,t,{onVnodeUnmounted:S=>{S.component.isUnmounted&&(f.instances[p]=null)},ref:l}));return Jo(n.default,{Component:N,route:c})||N}}});function Jo(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const bu=yu;function Hu(e){const t=Vc(e.routes,e),n=e.parseQuery||au,s=e.stringifyQuery||Wo,r=e.history,o=Gt(),i=Gt(),l=Gt(),c=$i(et);let f=et;Pt&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const a=Ps.bind(null,m=>""+m),p=Ps.bind(null,fu),h=Ps.bind(null,On);function b(m,F){let A,H;return Lo(m)?(A=t.getRecordMatcher(m),H=F):H=m,t.addRoute(H,A)}function R(m){const F=t.getRecordMatcher(m);F&&t.removeRoute(F)}function N(){return t.getRoutes().map(m=>m.record)}function S(m){return!!t.getRecordMatcher(m)}function O(m,F){if(F=ne({},F||c.value),typeof m=="string"){const K=Ts(n,m,F.path),u=t.resolve({path:K.path},F),d=r.createHref(K.fullPath);return ne(K,u,{params:h(u.params),hash:On(K.hash),redirectedFrom:void 0,href:d})}let A;if("path"in m)A=ne({},m,{path:Ts(n,m.path,F.path).path});else{const K=ne({},m.params);for(const u in K)K[u]==null&&delete K[u];A=ne({},m,{params:p(m.params)}),F.params=p(F.params)}const H=t.resolve(A,F),G=m.hash||"";H.params=a(h(H.params));const re=Cc(s,ne({},m,{hash:lu(G),path:H.path})),z=r.createHref(re);return ne({fullPath:re,hash:G,query:s===Wo?du(m.query):m.query||{}},H,{redirectedFrom:void 0,href:z})}function x(m){return typeof m=="string"?Ts(n,m,c.value.path):ne({},m)}function I(m,F){if(f!==m)return St(8,{from:F,to:m})}function T(m){return k(m)}function q(m){return T(ne(x(m),{replace:!0}))}function Q(m){const F=m.matched[m.matched.length-1];if(F&&F.redirect){const{redirect:A}=F;let H=typeof A=="function"?A(m):A;return typeof H=="string"&&(H=H.includes("?")||H.includes("#")?H=x(H):{path:H},H.params={}),ne({query:m.query,hash:m.hash,params:m.params},H)}}function k(m,F){const A=f=O(m),H=c.value,G=m.state,re=m.force,z=m.replace===!0,K=Q(A);if(K)return k(ne(x(K),{state:G,force:re,replace:z}),F||A);const u=A;u.redirectedFrom=F;let d;return!re&&xc(s,H,A)&&(d=St(16,{to:u,from:H}),pt(H,H,!0,!1)),(d?Promise.resolve(d):J(u,H)).catch(g=>ht(g)?g:se(g,u,H)).then(g=>{if(g){if(ht(g,2))return k(ne(x(g.to),{state:G,force:re,replace:z}),F||u)}else g=ce(u,H,!0,z,G);return le(u,H,g),g})}function X(m,F){const A=I(m,F);return A?Promise.reject(A):Promise.resolve()}function J(m,F){let A;const[H,G,re]=vu(m,F);A=Ms(H.reverse(),"beforeRouteLeave",m,F);for(const K of H)K.leaveGuards.forEach(u=>{A.push(tt(u,m,F))});const z=X.bind(null,m,F);return A.push(z),Ot(A).then(()=>{A=[];for(const K of o.list())A.push(tt(K,m,F));return A.push(z),Ot(A)}).then(()=>{A=Ms(G,"beforeRouteUpdate",m,F);for(const K of G)K.updateGuards.forEach(u=>{A.push(tt(u,m,F))});return A.push(z),Ot(A)}).then(()=>{A=[];for(const K of m.matched)if(K.beforeEnter&&!F.matched.includes(K))if(Array.isArray(K.beforeEnter))for(const u of K.beforeEnter)A.push(tt(u,m,F));else A.push(tt(K.beforeEnter,m,F));return A.push(z),Ot(A)}).then(()=>(m.matched.forEach(K=>K.enterCallbacks={}),A=Ms(re,"beforeRouteEnter",m,F),A.push(z),Ot(A))).then(()=>{A=[];for(const K of i.list())A.push(tt(K,m,F));return A.push(z),Ot(A)}).catch(K=>ht(K,8)?K:Promise.reject(K))}function le(m,F,A){for(const H of l.list())H(m,F,A)}function ce(m,F,A,H,G){const re=I(m,F);if(re)return re;const z=F===et,K=Pt?history.state:{};A&&(H||z?r.replace(m.fullPath,ne({scroll:z&&K&&K.scroll},G)):r.push(m.fullPath,G)),c.value=m,pt(m,F,A,z),we()}let L;function ue(){L=r.listen((m,F,A)=>{const H=O(m),G=Q(H);if(G){k(ne(G,{replace:!0}),H).catch(Jt);return}f=H;const re=c.value;Pt&&Ic(Mo(re.fullPath,A.delta),Sn()),J(H,re).catch(z=>ht(z,4|8)?z:ht(z,2)?(k(z.to,H).then(K=>{ht(K,4|16)&&!A.delta&&A.type===Xt.pop&&r.go(-1,!1)}).catch(Jt),Promise.reject()):(A.delta&&r.go(-A.delta,!1),se(z,H,re))).then(z=>{z=z||ce(H,re,!1),z&&(A.delta?r.go(-A.delta,!1):A.type===Xt.pop&&ht(z,4|16)&&r.go(-1,!1)),le(H,re,z)}).catch(Jt)})}let be=Gt(),ke=Gt(),fe;function se(m,F,A){we(m);const H=ke.list();return H.length?H.forEach(G=>G(m,F,A)):console.error(m),Promise.reject(m)}function Z(){return fe&&c.value!==et?Promise.resolve():new Promise((m,F)=>{be.add([m,F])})}function we(m){fe||(fe=!0,ue(),be.list().forEach(([F,A])=>m?A(m):F()),be.reset())}function pt(m,F,A,H){const{scrollBehavior:G}=e;if(!Pt||!G)return Promise.resolve();const re=!A&&Mc(Mo(m.fullPath,0))||(H||!A)&&history.state&&history.state.scroll||null;return gr().then(()=>G(m,F,re)).then(z=>z&&Oc(z)).catch(z=>se(z,m,F))}const je=m=>r.go(m);let Fe;const Ae=new Set;return{currentRoute:c,addRoute:b,removeRoute:R,hasRoute:S,getRoutes:N,resolve:O,options:e,push:T,replace:q,go:je,back:()=>je(-1),forward:()=>je(1),beforeEach:o.add,beforeResolve:i.add,afterEach:l.add,onError:ke.add,isReady:Z,install(m){const F=this;m.component("RouterLink",gu),m.component("RouterView",bu),m.config.globalProperties.$router=F,Object.defineProperty(m.config.globalProperties,"$route",{enumerable:!0,get:()=>$t(c)}),Pt&&!Fe&&c.value===et&&(Fe=!0,T(r.location).catch(G=>{}));const A={};for(const G in et)A[G]=$e(()=>c.value[G]);m.provide(As,F),m.provide(To,Lt(A)),m.provide(Rs,c);const H=m.unmount;Ae.add(m),m.unmount=function(){Ae.delete(m),Ae.size<1&&(f=et,L&&L(),c.value=et,Fe=!1,fe=!1),H()}}}}function Ot(e){return e.reduce((t,n)=>t.then(()=>n()),Promise.resolve())}function vu(e,t){const n=[],s=[],r=[],o=Math.max(t.matched.length,e.matched.length);for(let i=0;iTt(f,l))?s.push(l):n.push(l));const c=e.matched[i];c&&(t.matched.find(f=>Tt(f,c))||r.push(c))}return[n,s,r]}export{Te as F,wu as K,yo as T,Tu as a,Iu as b,to as c,so as d,ye as e,Ou as f,Fn as g,Nl as h,Mu as i,Au as j,xu as k,Hu as l,Lu as m,Nn as n,Zr as o,Cu as p,gr as q,Ru as r,Nu as s,Eu as t,Su as u,Fu as v,Qi as w,Ut as x,Pu as y}; + */const jo=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol",Ot=e=>jo?Symbol(e):"_vr_"+e,yc=Ot("rvlm"),pr=Ot("rvd"),Is=Ot("r"),Do=Ot("rl"),ss=Ot("rvl"),vt=typeof window!="undefined";function bc(e){return e.__esModule||jo&&e[Symbol.toStringTag]==="Module"}const te=Object.assign;function kn(e,t){const n={};for(const s in t){const r=t[s];n[s]=Array.isArray(r)?r.map(e):e(r)}return n}const zt=()=>{},vc=/\/$/,Ec=e=>e.replace(vc,"");function jn(e,t,n="/"){let s,r={},o="",i="";const l=t.indexOf("?"),c=t.indexOf("#",l>-1?l:0);return l>-1&&(s=t.slice(0,l),o=t.slice(l+1,c>-1?c:t.length),r=e(o)),c>-1&&(s=s||t.slice(0,c),i=t.slice(c,t.length)),s=Ac(s!=null?s:t,n),{fullPath:s+(o&&"?")+o+i,path:s,query:r,hash:i}}function Cc(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function gr(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function xc(e,t,n){const s=t.matched.length-1,r=n.matched.length-1;return s>-1&&s===r&&At(t.matched[s],n.matched[r])&&Ko(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function At(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Ko(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!wc(e[n],t[n]))return!1;return!0}function wc(e,t){return Array.isArray(e)?mr(e,t):Array.isArray(t)?mr(t,e):e===t}function mr(e,t){return Array.isArray(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function Ac(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),s=e.split("/");let r=n.length-1,o,i;for(o=0;o({left:window.pageXOffset,top:window.pageYOffset});function Oc(e){let t;if("el"in e){const n=e.el,s=typeof n=="string"&&n.startsWith("#"),r=typeof n=="string"?s?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=Sc(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function _r(e,t){return(history.state?history.state.position-t:-1)+e}const rs=new Map;function Ic(e,t){rs.set(e,t)}function Mc(e){const t=rs.get(e);return rs.delete(e),t}let Fc=()=>location.protocol+"//"+location.host;function Uo(e,t){const{pathname:n,search:s,hash:r}=t,o=e.indexOf("#");if(o>-1){let l=r.includes(e.slice(o))?e.slice(o).length:1,c=r.slice(l);return c[0]!=="/"&&(c="/"+c),gr(c,"")}return gr(n,e)+s+r}function Nc(e,t,n,s){let r=[],o=[],i=null;const l=({state:h})=>{const b=Uo(e,location),R=n.value,N=t.value;let S=0;if(h){if(n.value=b,t.value=h,i&&i===R){i=null;return}S=N?h.position-N.position:0}else s(b);r.forEach(O=>{O(n.value,R,{delta:S,type:Zt.pop,direction:S?S>0?qt.forward:qt.back:qt.unknown})})};function c(){i=n.value}function f(h){r.push(h);const b=()=>{const R=r.indexOf(h);R>-1&&r.splice(R,1)};return o.push(b),b}function a(){const{history:h}=window;!h.state||h.replaceState(te({},h.state,{scroll:On()}),"")}function p(){for(const h of o)h();o=[],window.removeEventListener("popstate",l),window.removeEventListener("beforeunload",a)}return window.addEventListener("popstate",l),window.addEventListener("beforeunload",a),{pauseListeners:c,listen:f,destroy:p}}function yr(e,t,n,s=!1,r=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:r?On():null}}function Lc(e){const{history:t,location:n}=window,s={value:Uo(e,n)},r={value:t.state};r.value||o(s.value,{back:null,current:s.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(c,f,a){const p=e.indexOf("#"),h=p>-1?(n.host&&document.querySelector("base")?e:e.slice(p))+c:Fc()+e+c;try{t[a?"replaceState":"pushState"](f,"",h),r.value=f}catch(b){console.error(b),n[a?"replace":"assign"](h)}}function i(c,f){const a=te({},t.state,yr(r.value.back,c,r.value.forward,!0),f,{position:r.value.position});o(c,a,!0),s.value=c}function l(c,f){const a=te({},r.value,t.state,{forward:c,scroll:On()});o(a.current,a,!0);const p=te({},yr(s.value,c,null),{position:a.position+1},f);o(c,p,!1),s.value=c}return{location:s,state:r,push:l,replace:i}}function Hc(e){e=Rc(e);const t=Lc(e),n=Nc(e,t.state,t.location,t.replace);function s(o,i=!0){i||n.pauseListeners(),history.go(o)}const r=te({location:"",base:e,go:s,createHref:Tc.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}function Lu(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),Hc(e)}function Bc(e){return typeof e=="string"||e&&typeof e=="object"}function zo(e){return typeof e=="string"||typeof e=="symbol"}const Ye={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},qo=Ot("nf");var br;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(br||(br={}));function Rt(e,t){return te(new Error,{type:e,[qo]:!0},t)}function ot(e,t){return e instanceof Error&&qo in e&&(t==null||!!(e.type&t))}const vr="[^/]+?",$c={sensitive:!1,strict:!1,start:!0,end:!0},kc=/[.+*?^${}()[\]/\\]/g;function jc(e,t){const n=te({},$c,t),s=[];let r=n.start?"^":"";const o=[];for(const f of e){const a=f.length?[]:[90];n.strict&&!f.length&&(r+="/");for(let p=0;pt.length?t.length===1&&t[0]===40+40?1:-1:0}function Kc(e,t){let n=0;const s=e.score,r=t.score;for(;n1&&(c==="*"||c==="+")&&t(`A repeatable param (${f}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:f,regexp:a,repeatable:c==="*"||c==="+",optional:c==="*"||c==="?"})):t("Invalid state to consume buffer"),f="")}function h(){f+=c}for(;l{i(x)}:zt}function i(a){if(zo(a)){const p=s.get(a);p&&(s.delete(a),n.splice(n.indexOf(p),1),p.children.forEach(i),p.alias.forEach(i))}else{const p=n.indexOf(a);p>-1&&(n.splice(p,1),a.record.name&&s.delete(a.record.name),a.children.forEach(i),a.alias.forEach(i))}}function l(){return n}function c(a){let p=0;for(;p=0;)p++;n.splice(p,0,a),a.record.name&&!Er(a)&&s.set(a.record.name,a)}function f(a,p){let h,b={},R,N;if("name"in a&&a.name){if(h=s.get(a.name),!h)throw Rt(1,{location:a});N=h.record.name,b=te(Yc(p.params,h.keys.filter(x=>!x.optional).map(x=>x.name)),a.params),R=h.stringify(b)}else if("path"in a)R=a.path,h=n.find(x=>x.re.test(R)),h&&(b=h.parse(R),N=h.record.name);else{if(h=p.name?s.get(p.name):n.find(x=>x.re.test(p.path)),!h)throw Rt(1,{location:a,currentLocation:p});N=h.record.name,b=te({},p.params,a.params),R=h.stringify(b)}const S=[];let O=h;for(;O;)S.unshift(O.record),O=O.parent;return{name:N,path:R,params:b,matched:S,meta:Xc(S)}}return e.forEach(a=>o(a)),{addRoute:o,resolve:f,removeRoute:i,getRoutes:l,getRecordMatcher:r}}function Yc(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function Qc(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:Jc(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||{}:{default:e.component}}}function Jc(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const s in e.components)t[s]=typeof n=="boolean"?n:n[s];return t}function Er(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Xc(e){return e.reduce((t,n)=>te(t,n.meta),{})}function Cr(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}const Wo=/#/g,Zc=/&/g,Gc=/\//g,eu=/=/g,tu=/\?/g,Vo=/\+/g,nu=/%5B/g,su=/%5D/g,Yo=/%5E/g,ru=/%60/g,Qo=/%7B/g,ou=/%7C/g,Jo=/%7D/g,iu=/%20/g;function Ms(e){return encodeURI(""+e).replace(ou,"|").replace(nu,"[").replace(su,"]")}function lu(e){return Ms(e).replace(Qo,"{").replace(Jo,"}").replace(Yo,"^")}function os(e){return Ms(e).replace(Vo,"%2B").replace(iu,"+").replace(Wo,"%23").replace(Zc,"%26").replace(ru,"`").replace(Qo,"{").replace(Jo,"}").replace(Yo,"^")}function cu(e){return os(e).replace(eu,"%3D")}function uu(e){return Ms(e).replace(Wo,"%23").replace(tu,"%3F")}function fu(e){return e==null?"":uu(e).replace(Gc,"%2F")}function bn(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function au(e){const t={};if(e===""||e==="?")return t;const s=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;ro&&os(o)):[s&&os(s)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function du(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=Array.isArray(s)?s.map(r=>r==null?null:""+r):s==null?s:""+s)}return t}function Nt(){let e=[];function t(s){return e.push(s),()=>{const r=e.indexOf(s);r>-1&&e.splice(r,1)}}function n(){e=[]}return{add:t,list:()=>e,reset:n}}function Xe(e,t,n,s,r){const o=s&&(s.enterCallbacks[r]=s.enterCallbacks[r]||[]);return()=>new Promise((i,l)=>{const c=p=>{p===!1?l(Rt(4,{from:n,to:t})):p instanceof Error?l(p):Bc(p)?l(Rt(2,{from:t,to:p})):(o&&s.enterCallbacks[r]===o&&typeof p=="function"&&o.push(p),i())},f=e.call(s&&s.instances[r],t,n,c);let a=Promise.resolve(f);e.length<3&&(a=a.then(c)),a.catch(p=>l(p))})}function Dn(e,t,n,s){const r=[];for(const o of e)for(const i in o.components){let l=o.components[i];if(!(t!=="beforeRouteEnter"&&!o.instances[i]))if(hu(l)){const f=(l.__vccOpts||l)[t];f&&r.push(Xe(f,n,s,o,i))}else{let c=l();r.push(()=>c.then(f=>{if(!f)return Promise.reject(new Error(`Couldn't resolve component "${i}" at "${o.path}"`));const a=bc(f)?f.default:f;o.components[i]=a;const h=(a.__vccOpts||a)[t];return h&&Xe(h,n,s,o,i)()}))}}return r}function hu(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function wr(e){const t=et(Is),n=et(Do),s=He(()=>t.resolve(kt(e.to))),r=He(()=>{const{matched:c}=s.value,{length:f}=c,a=c[f-1],p=n.matched;if(!a||!p.length)return-1;const h=p.findIndex(At.bind(null,a));if(h>-1)return h;const b=Ar(c[f-2]);return f>1&&Ar(a)===b&&p[p.length-1].path!==b?p.findIndex(At.bind(null,c[f-2])):h}),o=He(()=>r.value>-1&&_u(n.params,s.value.params)),i=He(()=>r.value>-1&&r.value===n.matched.length-1&&Ko(n.params,s.value.params));function l(c={}){return mu(c)?t[kt(e.replace)?"replace":"push"](kt(e.to)).catch(zt):Promise.resolve()}return{route:s,href:He(()=>s.value.href),isActive:o,isExactActive:i,navigate:l}}const pu=ho({name:"RouterLink",props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:wr,setup(e,{slots:t}){const n=Gt(wr(e)),{options:s}=et(Is),r=He(()=>({[Rr(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[Rr(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&t.default(n);return e.custom?o:Os("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},o)}}}),gu=pu;function mu(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function _u(e,t){for(const n in t){const s=t[n],r=e[n];if(typeof s=="string"){if(s!==r)return!1}else if(!Array.isArray(r)||r.length!==s.length||s.some((o,i)=>o!==r[i]))return!1}return!0}function Ar(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Rr=(e,t,n)=>e!=null?e:t!=null?t:n,yu=ho({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},setup(e,{attrs:t,slots:n}){const s=et(ss),r=He(()=>e.route||s.value),o=et(pr,0),i=He(()=>r.value.matched[o]);ln(pr,o+1),ln(yc,i),ln(ss,r);const l=Bi();return Kt(()=>[l.value,i.value,e.name],([c,f,a],[p,h,b])=>{f&&(f.instances[a]=c,h&&h!==f&&c&&c===p&&(f.leaveGuards.size||(f.leaveGuards=h.leaveGuards),f.updateGuards.size||(f.updateGuards=h.updateGuards))),c&&f&&(!h||!At(f,h)||!p)&&(f.enterCallbacks[a]||[]).forEach(R=>R(c))},{flush:"post"}),()=>{const c=r.value,f=i.value,a=f&&f.components[e.name],p=e.name;if(!a)return Pr(n.default,{Component:a,route:c});const h=f.props[e.name],b=h?h===!0?c.params:typeof h=="function"?h(c):h:null,N=Os(a,te({},b,t,{onVnodeUnmounted:S=>{S.component.isUnmounted&&(f.instances[p]=null)},ref:l}));return Pr(n.default,{Component:N,route:c})||N}}});function Pr(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const bu=yu;function Hu(e){const t=Vc(e.routes,e),n=e.parseQuery||au,s=e.stringifyQuery||xr,r=e.history,o=Nt(),i=Nt(),l=Nt(),c=$i(Ye);let f=Ye;vt&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const a=kn.bind(null,m=>""+m),p=kn.bind(null,fu),h=kn.bind(null,bn);function b(m,F){let A,H;return zo(m)?(A=t.getRecordMatcher(m),H=F):H=m,t.addRoute(H,A)}function R(m){const F=t.getRecordMatcher(m);F&&t.removeRoute(F)}function N(){return t.getRoutes().map(m=>m.record)}function S(m){return!!t.getRecordMatcher(m)}function O(m,F){if(F=te({},F||c.value),typeof m=="string"){const K=jn(n,m,F.path),u=t.resolve({path:K.path},F),d=r.createHref(K.fullPath);return te(K,u,{params:h(u.params),hash:bn(K.hash),redirectedFrom:void 0,href:d})}let A;if("path"in m)A=te({},m,{path:jn(n,m.path,F.path).path});else{const K=te({},m.params);for(const u in K)K[u]==null&&delete K[u];A=te({},m,{params:p(m.params)}),F.params=p(F.params)}const H=t.resolve(A,F),G=m.hash||"";H.params=a(h(H.params));const re=Cc(s,te({},m,{hash:lu(G),path:H.path})),z=r.createHref(re);return te({fullPath:re,hash:G,query:s===xr?du(m.query):m.query||{}},H,{redirectedFrom:void 0,href:z})}function x(m){return typeof m=="string"?jn(n,m,c.value.path):te({},m)}function I(m,F){if(f!==m)return Rt(8,{from:F,to:m})}function T(m){return k(m)}function q(m){return T(te(x(m),{replace:!0}))}function Q(m){const F=m.matched[m.matched.length-1];if(F&&F.redirect){const{redirect:A}=F;let H=typeof A=="function"?A(m):A;return typeof H=="string"&&(H=H.includes("?")||H.includes("#")?H=x(H):{path:H},H.params={}),te({query:m.query,hash:m.hash,params:m.params},H)}}function k(m,F){const A=f=O(m),H=c.value,G=m.state,re=m.force,z=m.replace===!0,K=Q(A);if(K)return k(te(x(K),{state:G,force:re,replace:z}),F||A);const u=A;u.redirectedFrom=F;let d;return!re&&xc(s,H,A)&&(d=Rt(16,{to:u,from:H}),pt(H,H,!0,!1)),(d?Promise.resolve(d):J(u,H)).catch(g=>ot(g)?g:se(g,u,H)).then(g=>{if(g){if(ot(g,2))return k(te(x(g.to),{state:G,force:re,replace:z}),F||u)}else g=ce(u,H,!0,z,G);return le(u,H,g),g})}function X(m,F){const A=I(m,F);return A?Promise.reject(A):Promise.resolve()}function J(m,F){let A;const[H,G,re]=vu(m,F);A=Dn(H.reverse(),"beforeRouteLeave",m,F);for(const K of H)K.leaveGuards.forEach(u=>{A.push(Xe(u,m,F))});const z=X.bind(null,m,F);return A.push(z),_t(A).then(()=>{A=[];for(const K of o.list())A.push(Xe(K,m,F));return A.push(z),_t(A)}).then(()=>{A=Dn(G,"beforeRouteUpdate",m,F);for(const K of G)K.updateGuards.forEach(u=>{A.push(Xe(u,m,F))});return A.push(z),_t(A)}).then(()=>{A=[];for(const K of m.matched)if(K.beforeEnter&&!F.matched.includes(K))if(Array.isArray(K.beforeEnter))for(const u of K.beforeEnter)A.push(Xe(u,m,F));else A.push(Xe(K.beforeEnter,m,F));return A.push(z),_t(A)}).then(()=>(m.matched.forEach(K=>K.enterCallbacks={}),A=Dn(re,"beforeRouteEnter",m,F),A.push(z),_t(A))).then(()=>{A=[];for(const K of i.list())A.push(Xe(K,m,F));return A.push(z),_t(A)}).catch(K=>ot(K,8)?K:Promise.reject(K))}function le(m,F,A){for(const H of l.list())H(m,F,A)}function ce(m,F,A,H,G){const re=I(m,F);if(re)return re;const z=F===Ye,K=vt?history.state:{};A&&(H||z?r.replace(m.fullPath,te({scroll:z&&K&&K.scroll},G)):r.push(m.fullPath,G)),c.value=m,pt(m,F,A,z),we()}let L;function ue(){L=r.listen((m,F,A)=>{const H=O(m),G=Q(H);if(G){k(te(G,{replace:!0}),H).catch(zt);return}f=H;const re=c.value;vt&&Ic(_r(re.fullPath,A.delta),On()),J(H,re).catch(z=>ot(z,12)?z:ot(z,2)?(k(z.to,H).then(K=>{ot(K,20)&&!A.delta&&A.type===Zt.pop&&r.go(-1,!1)}).catch(zt),Promise.reject()):(A.delta&&r.go(-A.delta,!1),se(z,H,re))).then(z=>{z=z||ce(H,re,!1),z&&(A.delta?r.go(-A.delta,!1):A.type===Zt.pop&&ot(z,20)&&r.go(-1,!1)),le(H,re,z)}).catch(zt)})}let be=Nt(),ke=Nt(),fe;function se(m,F,A){we(m);const H=ke.list();return H.length?H.forEach(G=>G(m,F,A)):console.error(m),Promise.reject(m)}function Z(){return fe&&c.value!==Ye?Promise.resolve():new Promise((m,F)=>{be.add([m,F])})}function we(m){fe||(fe=!0,ue(),be.list().forEach(([F,A])=>m?A(m):F()),be.reset())}function pt(m,F,A,H){const{scrollBehavior:G}=e;if(!vt||!G)return Promise.resolve();const re=!A&&Mc(_r(m.fullPath,0))||(H||!A)&&history.state&&history.state.scroll||null;return eo().then(()=>G(m,F,re)).then(z=>z&&Oc(z)).catch(z=>se(z,m,F))}const je=m=>r.go(m);let Fe;const Ae=new Set;return{currentRoute:c,addRoute:b,removeRoute:R,hasRoute:S,getRoutes:N,resolve:O,options:e,push:T,replace:q,go:je,back:()=>je(-1),forward:()=>je(1),beforeEach:o.add,beforeResolve:i.add,afterEach:l.add,onError:ke.add,isReady:Z,install(m){const F=this;m.component("RouterLink",gu),m.component("RouterView",bu),m.config.globalProperties.$router=F,Object.defineProperty(m.config.globalProperties,"$route",{enumerable:!0,get:()=>kt(c)}),vt&&!Fe&&c.value===Ye&&(Fe=!0,T(r.location).catch(G=>{}));const A={};for(const G in Ye)A[G]=He(()=>c.value[G]);m.provide(Is,F),m.provide(Do,Gt(A)),m.provide(ss,c);const H=m.unmount;Ae.add(m),m.unmount=function(){Ae.delete(m),Ae.size<1&&(f=Ye,L&&L(),c.value=Ye,Fe=!1,fe=!1),H()}}}}function _t(e){return e.reduce((t,n)=>t.then(()=>n()),Promise.resolve())}function vu(e,t){const n=[],s=[],r=[],o=Math.max(t.matched.length,e.matched.length);for(let i=0;iAt(f,l))?s.push(l):n.push(l));const c=e.matched[i];c&&(t.matched.find(f=>At(f,c))||r.push(c))}return[n,s,r]}export{Te as F,wu as K,$o as T,Tu as a,Iu as b,Oo as c,Mo as d,ye as e,Ou as f,ls as g,Nl as h,Mu as i,Au as j,xu as k,Hu as l,Lu as m,cs as n,To as o,Cu as p,eo as q,Ru as r,Nu as s,Eu as t,Su as u,Fu as v,Qi as w,Kt as x,Pu as y}; diff --git a/index.html b/index.html index af48cca7..92c3663e 100644 --- a/index.html +++ b/index.html @@ -26,10 +26,10 @@ })(); - + - - + +
diff --git a/mobile.html b/mobile.html index 6d3c5d47..915cb6f0 100644 --- a/mobile.html +++ b/mobile.html @@ -30,9 +30,9 @@ } - + - +