From 5e75dc2103046218e40d3b8bf3993795ede2cfb5 Mon Sep 17 00:00:00 2001 From: gruhn Date: Fri, 20 Sep 2024 10:59:33 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20gruhn/vu?= =?UTF-8?q?e-qrcode-reader@7dcd6c822afe0446a97143527a9975ef9ab84715=20?= =?UTF-8?q?=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 404.html | 8 +- api/QrcodeCapture.html | 12 +-- api/QrcodeDropZone.html | 16 ++-- api/QrcodeStream.html | 20 ++--- ...p6K.js => api_QrcodeStream.md.BJpDv_io.js} | 10 +-- ...s => api_QrcodeStream.md.BJpDv_io.lean.js} | 2 +- assets/{app.M3x9aKvg.js => app.DiD9A94Y.js} | 2 +- .../chunks/@localSearchIndexroot.DBcb1Hh6.js | 1 - .../chunks/@localSearchIndexroot.ZwSxP_J3.js | 1 + ...ue_type_script_setup_true_lang.CsTXXFWV.js | 1 + ...ue_type_script_setup_true_lang.DspH0Vrb.js | 1 - assets/chunks/VPLocalSearchBox.ByB8GwlZ.js | 13 +++ assets/chunks/VPLocalSearchBox.Ci3nu08r.js | 13 --- assets/chunks/camera.DE4cteSh.js | 3 - assets/chunks/camera.Y0ohPhsl.js | 3 + assets/chunks/theme.Bu6m7hlu.js | 7 ++ assets/chunks/theme.s67tei5V.js | 7 -- ...MX9qx.js => demos_DragDrop.md.Bh461sua.js} | 2 +- ....js => demos_DragDrop.md.Bh461sua.lean.js} | 2 +- ...uxa22.js => demos_FullDemo.md.CIVJitcX.js} | 2 +- ....js => demos_FullDemo.md.CIVJitcX.lean.js} | 2 +- ...ean.js => demos_Fullscreen.md.CLu4sVrH.js} | 2 +- ...s => demos_Fullscreen.md.CLu4sVrH.lean.js} | 2 +- ... => demos_LoadingIndicator.md.Buy1_mkp.js} | 2 +- ...emos_LoadingIndicator.md.Buy1_mkp.lean.js} | 2 +- ...ScanSameQrcodeMoreThanOnce.md.BV5sETMA.js} | 2 +- ...ameQrcodeMoreThanOnce.md.BV5sETMA.lean.js} | 2 +- ...F.js => demos_SwitchCamera.md.BFfRluhH.js} | 2 +- ...=> demos_SwitchCamera.md.BFfRluhH.lean.js} | 2 +- ...kskOygTt.js => demos_Torch.md.CgwwvdjK.js} | 2 +- ...ean.js => demos_Torch.md.CgwwvdjK.lean.js} | 2 +- ...x4hnZdl.js => demos_Upload.md.C66hzNE9.js} | 2 +- ...an.js => demos_Upload.md.C66hzNE9.lean.js} | 2 +- ...DCaLb.js => demos_Validate.md.zHsMF7yf.js} | 2 +- ....js => demos_Validate.md.zHsMF7yf.lean.js} | 2 +- ...{style.DPXyhsKt.css => style.BecwPQUx.css} | 2 +- demos/DragDrop.html | 16 ++-- demos/FullDemo.html | 18 ++-- demos/Fullscreen.html | 18 ++-- demos/LoadingIndicator.html | 18 ++-- demos/ScanSameQrcodeMoreThanOnce.html | 18 ++-- demos/Simple.html | 12 +-- demos/SwitchCamera.html | 18 ++-- demos/Torch.html | 18 ++-- demos/Upload.html | 16 ++-- demos/Validate.html | 18 ++-- hashmap.json | 2 +- index.html | 10 +-- sw.js | 84 +++++++++---------- 49 files changed, 212 insertions(+), 212 deletions(-) rename assets/{api_QrcodeStream.md.DnuBzp6K.js => api_QrcodeStream.md.BJpDv_io.js} (89%) rename assets/{api_QrcodeStream.md.DnuBzp6K.lean.js => api_QrcodeStream.md.BJpDv_io.lean.js} (79%) rename assets/{app.M3x9aKvg.js => app.DiD9A94Y.js} (95%) delete mode 100644 assets/chunks/@localSearchIndexroot.DBcb1Hh6.js create mode 100644 assets/chunks/@localSearchIndexroot.ZwSxP_J3.js create mode 100644 assets/chunks/QrcodeStream.vue_vue_type_script_setup_true_lang.CsTXXFWV.js delete mode 100644 assets/chunks/QrcodeStream.vue_vue_type_script_setup_true_lang.DspH0Vrb.js create mode 100644 assets/chunks/VPLocalSearchBox.ByB8GwlZ.js delete mode 100644 assets/chunks/VPLocalSearchBox.Ci3nu08r.js delete mode 100644 assets/chunks/camera.DE4cteSh.js create mode 100644 assets/chunks/camera.Y0ohPhsl.js create mode 100644 assets/chunks/theme.Bu6m7hlu.js delete mode 100644 assets/chunks/theme.s67tei5V.js rename assets/{demos_DragDrop.md.KueMX9qx.js => demos_DragDrop.md.Bh461sua.js} (99%) rename assets/{demos_DragDrop.md.KueMX9qx.lean.js => demos_DragDrop.md.Bh461sua.lean.js} (99%) rename assets/{demos_FullDemo.md.dj7uxa22.js => demos_FullDemo.md.CIVJitcX.js} (99%) rename assets/{demos_FullDemo.md.dj7uxa22.lean.js => demos_FullDemo.md.CIVJitcX.lean.js} (99%) rename assets/{demos_Fullscreen.md.D5kCBhsJ.lean.js => demos_Fullscreen.md.CLu4sVrH.js} (99%) rename assets/{demos_Fullscreen.md.D5kCBhsJ.js => demos_Fullscreen.md.CLu4sVrH.lean.js} (99%) rename assets/{demos_LoadingIndicator.md.BPlhc5KO.js => demos_LoadingIndicator.md.Buy1_mkp.js} (98%) rename assets/{demos_LoadingIndicator.md.BPlhc5KO.lean.js => demos_LoadingIndicator.md.Buy1_mkp.lean.js} (98%) rename assets/{demos_ScanSameQrcodeMoreThanOnce.md.Brm_Gomp.js => demos_ScanSameQrcodeMoreThanOnce.md.BV5sETMA.js} (99%) rename assets/{demos_ScanSameQrcodeMoreThanOnce.md.Brm_Gomp.lean.js => demos_ScanSameQrcodeMoreThanOnce.md.BV5sETMA.lean.js} (99%) rename assets/{demos_SwitchCamera.md.CAvxezaF.js => demos_SwitchCamera.md.BFfRluhH.js} (99%) rename assets/{demos_SwitchCamera.md.CAvxezaF.lean.js => demos_SwitchCamera.md.BFfRluhH.lean.js} (99%) rename assets/{demos_Torch.md.kskOygTt.js => demos_Torch.md.CgwwvdjK.js} (99%) rename assets/{demos_Torch.md.kskOygTt.lean.js => demos_Torch.md.CgwwvdjK.lean.js} (99%) rename assets/{demos_Upload.md.Dx4hnZdl.js => demos_Upload.md.C66hzNE9.js} (99%) rename assets/{demos_Upload.md.Dx4hnZdl.lean.js => demos_Upload.md.C66hzNE9.lean.js} (99%) rename assets/{demos_Validate.md.hjIDCaLb.js => demos_Validate.md.zHsMF7yf.js} (99%) rename assets/{demos_Validate.md.hjIDCaLb.lean.js => demos_Validate.md.zHsMF7yf.lean.js} (99%) rename assets/{style.DPXyhsKt.css => style.BecwPQUx.css} (66%) diff --git a/404.html b/404.html index 6ec65690..5c222599 100644 --- a/404.html +++ b/404.html @@ -6,9 +6,9 @@ 404 | Vue Qrcode Reader - + - + @@ -16,8 +16,8 @@ -
Skip to content

404

PAGE NOT FOUND

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

Released under the MIT License.

- +
Skip to content

404

PAGE NOT FOUND

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

Released under the MIT License.

+ \ No newline at end of file diff --git a/api/QrcodeCapture.html b/api/QrcodeCapture.html index c2a6ad0e..e8c83565 100644 --- a/api/QrcodeCapture.html +++ b/api/QrcodeCapture.html @@ -6,12 +6,12 @@ QrcodeCapture | Vue Qrcode Reader - + - + - + @@ -20,7 +20,7 @@ -
Skip to content

QrcodeCapture

Browser Support

The newest API this component depend on is the FileReader API. Vue Native is not supported (see #206).

Internet ExplorerEdgeFirefoxChromeSafari
10+YesYesYesYes¹
  1. It doesn't work in web apps added to home screen (PWA mode) on iOS prior to 11.3 (see this StackOverflow question)

Events

detect

  • Payload Type: DetectedBarcode[]

The component renders to a simple file picker input element. Clicking opens a file dialog. On supporting mobile devices the camera is started to take a picture. The selected images are directly scanned and positive results are indicated by the detect event. You can also select multiple images at the same time (still one event per image though). If no QR code can be recognized an empty array is emitted.

The structure of the event payload is the same as for the detect event on QrcodeStream.

decode removed in v5.0.0

Use detect instead. TODO: link old docs.

Props

formats since v5.3.0

  • Payload Type: BarcodeDetectorOptions['formats']
  • Default: ['qr_code']

The formats prop defines which barcode formats are detected. Supported Formats.

html
<qrcode-capture :formats="['qr_code', 'code_128']"></qrcode-capture>

disabled, capture, multiple, ...

Technically, QrcodeCapture does not explicitly define any other props. But checkout the components template:

html
<template>
+    
Skip to content

QrcodeCapture

Browser Support

The newest API this component depend on is the FileReader API. Vue Native is not supported (see #206).

Internet ExplorerEdgeFirefoxChromeSafari
10+YesYesYesYes¹
  1. It doesn't work in web apps added to home screen (PWA mode) on iOS prior to 11.3 (see this StackOverflow question)

Events

detect

  • Payload Type: DetectedBarcode[]

The component renders to a simple file picker input element. Clicking opens a file dialog. On supporting mobile devices the camera is started to take a picture. The selected images are directly scanned and positive results are indicated by the detect event. You can also select multiple images at the same time (still one event per image though). If no QR code can be recognized an empty array is emitted.

The structure of the event payload is the same as for the detect event on QrcodeStream.

decode removed in v5.0.0

Use detect instead. TODO: link old docs.

Props

formats since v5.3.0

  • Payload Type: BarcodeDetectorOptions['formats']
  • Default: ['qr_code']

The formats prop defines which barcode formats are detected. Supported Formats.

html
<qrcode-capture :formats="['qr_code', 'code_128']"></qrcode-capture>

disabled, capture, multiple, ...

Technically, QrcodeCapture does not explicitly define any other props. But checkout the components template:

html
<template>
   <input
     @change="onChangeInput"
     type="file"
@@ -29,8 +29,8 @@
     capture="environment"
     multiple
   />
-</template>

Because the input element is the root element of the component and because Vue components accept fallthrough attributes you can make use of any valid input attribute:

html
<qrcode-capture disabled />

You can also override attributes. To remove attributes, set them to null:

html
<qrcode-capture :capture="null" />

Slots

no slots

Released under the MIT License.

- +</template>

Because the input element is the root element of the component and because Vue components accept fallthrough attributes you can make use of any valid input attribute:

html
<qrcode-capture disabled />

You can also override attributes. To remove attributes, set them to null:

html
<qrcode-capture :capture="null" />

Slots

no slots

Released under the MIT License.

+ \ No newline at end of file diff --git a/api/QrcodeDropZone.html b/api/QrcodeDropZone.html index 3f13deee..5a07ed06 100644 --- a/api/QrcodeDropZone.html +++ b/api/QrcodeDropZone.html @@ -6,12 +6,12 @@ QrcodeDropZone | Vue Qrcode Reader - + - + - + @@ -20,7 +20,7 @@ -
Skip to content

QrcodeDropZone

Browser Support

The newest API this component depend on is the FileReader API. Vue Native is not supported (see #206).

Internet ExplorerEdgeFirefoxChromeSafari
10+YesYesYesYes

Events

detect

  • Payload Type: DetectedBarcode[]

You can drag-and-drop image files from your desktop or images embedded into other web pages anywhere in the area the component occupies. The images are directly scanned and positive results are indicated by the detect event. You can also drop multiple images at the same time (still one event per image though). If no QR code can be recognized an empty array is emitted.

The structure of the event payload is the same as for the detect event on QrcodeStream.

error new in v5.0.0

Error events are emitted when a dropped url can't be fetched due to CORS or a dropped file has an unsupported file type.

html
<qrcode-drop-zone @detect="onDetect">
+    
Skip to content

QrcodeDropZone

Browser Support

The newest API this component depend on is the FileReader API. Vue Native is not supported (see #206).

Internet ExplorerEdgeFirefoxChromeSafari
10+YesYesYesYes

Events

detect

  • Payload Type: DetectedBarcode[]

You can drag-and-drop image files from your desktop or images embedded into other web pages anywhere in the area the component occupies. The images are directly scanned and positive results are indicated by the detect event. You can also drop multiple images at the same time (still one event per image though). If no QR code can be recognized an empty array is emitted.

The structure of the event payload is the same as for the detect event on QrcodeStream.

error new in v5.0.0

Error events are emitted when a dropped url can't be fetched due to CORS or a dropped file has an unsupported file type.

html
<qrcode-drop-zone @detect="onDetect">
   <!-- ... -->
 </qrcode-drop-zone>
javascript
methods: {
   onError (error) {
@@ -33,7 +33,7 @@
       // idk, open an issue ¯\_(ツ)_/¯
     }
   }
-}

formats since v5.3.0

  • Payload Type: BarcodeDetectorOptions['formats']
  • Default: ['qr_code']

The formats prop defines which barcode formats are detected. Supported Formats.

html
<qrcode-drop-zone :formats="['qr_code', 'code_128']"></qrcode-drop-zone>

dragover

  • Payload Type: Boolean

When the user is dragging something over the the component you might want to apply some emphasizing styling. Do that by reacting to the dragover event.

html
<qrcode-drop-zone @dragover="onDragOver">
+}

formats since v5.3.0

  • Payload Type: BarcodeDetectorOptions['formats']
  • Default: ['qr_code']

The formats prop defines which barcode formats are detected. Supported Formats.

html
<qrcode-drop-zone :formats="['qr_code', 'code_128']"></qrcode-drop-zone>

dragover

  • Payload Type: Boolean

When the user is dragging something over the the component you might want to apply some emphasizing styling. Do that by reacting to the dragover event.

html
<qrcode-drop-zone @dragover="onDragOver">
   <div :class="{ highlight: draggingOver }">
     <!-- ... -->
   </div>
@@ -47,10 +47,10 @@
   onDragOver (draggingOver) {
     this.draggingOver = draggingOver
   }
-}

WARNING

This is a custom event not to be confused with native dragover. If you really need to listen for the DOM event instead, use Vues native event modifier.

decode removed in v5.0.0

Use detect instead.

docs for v4.0.0

Props

no props

Slots

default

This component merely renders a wrapper div. Its height is defined by the content inside so it will have zero height if you don't provide any content.

html
<qrcode-drop-zone>
+}

WARNING

This is a custom event not to be confused with native dragover. If you really need to listen for the DOM event instead, use Vues native event modifier.

decode removed in v5.0.0

Use detect instead.

docs for v4.0.0

Props

no props

Slots

default

This component merely renders a wrapper div. Its height is defined by the content inside so it will have zero height if you don't provide any content.

html
<qrcode-drop-zone>
   <b>put anything here</b>
-</qrcode-drop-zone>

Released under the MIT License.

- +</qrcode-drop-zone>

Released under the MIT License.

+ \ No newline at end of file diff --git a/api/QrcodeStream.html b/api/QrcodeStream.html index 4a9b7a2d..304291f5 100644 --- a/api/QrcodeStream.html +++ b/api/QrcodeStream.html @@ -6,21 +6,21 @@ QrcodeStream | Vue Qrcode Reader - + - + - + - + -
Skip to content

QrcodeStream

Browser Support

This component fundamentally depends on the Stream API. Vue Native is not supported (see #206).

Internet ExplorerEdgeFirefoxChromeSafari
NoYesYesYes¹Yes²
  1. Chrome requires HTTPS or localhost (see Troubleshooting for help)
  2. Safari also requires HTTPS even on localhost (see #48). Support is limited for:
    • web apps added to home screen (PWA mode): at least iOS 13.4 (see #76)
    • iOS browsers other than Safari (Chrome for iOS, Firefox for iOS, ...): at least iOS 14.3 (see #29)
    • WkWebView component in native iOS apps: at least iOS 14.3 (see #29)

Events

detect

  • Payload Type: DetectedBarcode[]

Once a stream from the users camera is loaded, it's displayed and continuously scanned for QR codes. Results are indicated by the detect event.

html
<qrcode-stream @detect="onDetect"></qrcode-stream>
javascript
methods: {
+    
Skip to content

QrcodeStream

Browser Support

This component fundamentally depends on the Stream API. Vue Native is not supported (see #206).

Internet ExplorerEdgeFirefoxChromeSafari
NoYesYesYes¹Yes²
  1. Chrome requires HTTPS or localhost (see Troubleshooting for help)
  2. Safari also requires HTTPS even on localhost (see #48). Support is limited for:
    • web apps added to home screen (PWA mode): at least iOS 13.4 (see #76)
    • iOS browsers other than Safari (Chrome for iOS, Firefox for iOS, ...): at least iOS 14.3 (see #29)
    • WkWebView component in native iOS apps: at least iOS 14.3 (see #29)

Events

detect

  • Payload Type: DetectedBarcode[]

Once a stream from the users camera is loaded, it's displayed and continuously scanned for QR codes. Results are indicated by the detect event.

html
<qrcode-stream @detect="onDetect"></qrcode-stream>
javascript
methods: {
   onDetect (detectedCodes) {
     // ...
   }
@@ -65,11 +65,11 @@
       { "x": 342, "y": 375 }
     ]
   }
-]

TIP

If you scan the same QR code multiple times in a row, detect is still only emitted once. When you hold a QR code in the camera, frames are actually decoded multiple times a second but you don't want to be flooded with detect events that often. That's why the last decoded QR code is always cached and only new results are propagated. However changing the value of paused resets this internal cache.

formats since v5.3.0

  • Payload Type: BarcodeDetectorOptions['formats']
  • Default: ['qr_code']

The formats prop defines which barcode formats are detected. Supported Formats.

html
<qrcode-stream :formats="['qr_code', 'code_128']"></qrcode-stream>

camera-on since v5.0.0

  • Payload Type: Promise<MediaTrackCapabilities>

It might take a while before the component is ready and the scanning process starts. The user has to be asked for camera access permission first and the camera stream has to be loaded.

If you want to show a loading indicator, you can listen for the camera-on event. It's emitted as soon as the camera start streaming.

It carries a promise which resolves with the cameras MediaTrackCapabilities when everything is ready.

html
<qrcode-stream @camera-on="onReady"></qrcode-stream>
javascript
methods: {
+]

TIP

If you scan the same QR code multiple times in a row, detect is still only emitted once. When you hold a QR code in the camera, frames are actually decoded multiple times a second but you don't want to be flooded with detect events that often. That's why the last decoded QR code is always cached and only new results are propagated. However changing the value of paused resets this internal cache.

formats since v5.3.0

  • Payload Type: BarcodeDetectorOptions['formats']
  • Default: ['qr_code']

The formats prop defines which barcode formats are detected. By default, only QR codes are selected, so if you want to scan other barcode formats, you have to modify this prop. See: supported formats.

html
<qrcode-stream :formats="['qr_code', 'code_128']"></qrcode-stream>

WARNING

Don't select more barcode formats than needed. Scanning becomes more expensive the more formats you select.

Under the hood, we use the standard BarcodeDetector browser API. Support varies across devices, operating systems and browsers. The component will prefer to use the native implementation if available and otherwise falls back to a polyfill implementation. Note that even if the native implementation is availabe,
the component still might use the polyfill. For example, if the native implementation only supports the format 'qr_code' but the you select the formats ['qr_code', 'aztec'].

camera-on since v5.0.0

  • Payload Type: Promise<MediaTrackCapabilities>

It might take a while before the component is ready and the scanning process starts. The user has to be asked for camera access permission first and the camera stream has to be loaded.

If you want to show a loading indicator, you can listen for the camera-on event. It's emitted as soon as the camera start streaming.

It carries a promise which resolves with the cameras MediaTrackCapabilities when everything is ready.

html
<qrcode-stream @camera-on="onReady"></qrcode-stream>
javascript
methods: {
   onReady(capabilities) {
     // hide loading indicator
   }
-}

WARNING

In Chrome you can't prompt users for permissions a second time. Once denied, users can only manually grant them. Make sure your users understand why you need access to their camera before you mount this component. Otherwise they might panic and deny and then get frustrated because they don't know how to change their decision.

camera-off since v5.0.0

  • Payload Type: void

Emitted whenever the camera is turned off. This happens whenever the camera constraints are modified and the camera has to be restarted or a different camera is started. For example when switching between front and rear camera.

error since v5.0.0

  • Payload Type: Error

Error events are emitted in particular when camera initialization fails. This can happen a couple of reasons.

html
<qrcode-stream @error="onError"></qrcode-stream>
javascript
methods: {
+}

WARNING

In Chrome you can't prompt users for permissions a second time. Once denied, users can only manually grant them. Make sure your users understand why you need access to their camera before you mount this component. Otherwise they might panic and deny and then get frustrated because they don't know how to change their decision.

camera-off since v5.0.0

  • Payload Type: void

Emitted whenever the camera is turned off. This happens whenever the camera constraints are modified and the camera has to be restarted or a different camera is started. For example when switching between front and rear camera.

error since v5.0.0

  • Payload Type: Error

Error events are emitted in particular when camera initialization fails. This can happen a couple of reasons.

html
<qrcode-stream @error="onError"></qrcode-stream>
javascript
methods: {
   onError(error) {
     if (error.name === 'NotAllowedError') {
       // user denied camera access permission
@@ -85,7 +85,7 @@
       // browser seems to be lacking features
     }
   }
-}

decode removed in v5.0.0

Use detect instead.

docs for v4.0.0

init removed in v5.0.0

Use camera-on/error instead.

docs for v4.0.0

camera removed in v5.0.0

Use constraints instead.

docs for v4.0.0

Props

paused since v5.0.0

  • Input Type: Boolean
  • Default: false

Setting this prop to true freezes the camera. Useful if you want to show some microinteraction after successful scans. When you unpause the camera is restarted so the camera-on event is emitted again.

track

  • Input Type: Function
  • Default: undefined

You can visually highlight detected QR codes in real-time. A transparent canvas overlays the camera stream. When a QR code is detected, its location is painted to the canvas.

To enable this feature, pass a function to track that defines how this should look like. This function is called to produce each frame. It receives the location object as the first argument and a CanvasRenderingContext2D instance as the second argument.

For example check out this demo.

Note that this scanning frequency has to be increased. So if you want to go easy on your target device you might not want to enable tracking.

DANGER

Avoid access to reactive properties in this function (like stuff in data, computed or your Vuex store). The function is called several times a second and might cause memory leaks. To be safe don't access this at all.

constraints

  • Input Type: MediaTrackConstraints
  • Default: { facingMode: "environment" }

With this prop you can pass an object with various camera configuration options. For example whether to use front- or rear camera.

The object must be of type MediaTrackConstriants.

The object is passed as-is to getUserMedia, which is the API call for requesting a camera stream:

js
navigator.mediaDevices.getUserMedia({
+}

decode removed in v5.0.0

Use detect instead.

docs for v4.0.0

init removed in v5.0.0

Use camera-on/error instead.

docs for v4.0.0

camera removed in v5.0.0

Use constraints instead.

docs for v4.0.0

Props

paused since v5.0.0

  • Input Type: Boolean
  • Default: false

Setting this prop to true freezes the camera. Useful if you want to show some microinteraction after successful scans. When you unpause the camera is restarted so the camera-on event is emitted again.

track

  • Input Type: Function
  • Default: undefined

You can visually highlight detected QR codes in real-time. A transparent canvas overlays the camera stream. When a QR code is detected, its location is painted to the canvas.

To enable this feature, pass a function to track that defines how this should look like. This function is called to produce each frame. It receives the location object as the first argument and a CanvasRenderingContext2D instance as the second argument.

For example check out this demo.

Note that this scanning frequency has to be increased. So if you want to go easy on your target device you might not want to enable tracking.

DANGER

Avoid access to reactive properties in this function (like stuff in data, computed or your Vuex store). The function is called several times a second and might cause memory leaks. To be safe don't access this at all.

constraints

  • Input Type: MediaTrackConstraints
  • Default: { facingMode: "environment" }

With this prop you can pass an object with various camera configuration options. For example whether to use front- or rear camera.

The object must be of type MediaTrackConstriants.

The object is passed as-is to getUserMedia, which is the API call for requesting a camera stream:

js
navigator.mediaDevices.getUserMedia({
   audio: false,
   video: the_constraint_object_you_provide
 })

Every time the prop is modified, a new camera stream is requested so the camera-on event is emitted again. You can catch errors with the error event. An error can occur for example when you try to use the front camera on a device that doesn't have one.

html
<qrcode-stream
@@ -119,8 +119,8 @@
   }
 }

Slots

default

Any distributed content overlays the camera stream, wrapped in a position: absolute container.

html
<qrcode-stream>
   <b>stuff here overlays the camera stream</b>
-</qrcode-stream>

Released under the MIT License.

- +</qrcode-stream>

Released under the MIT License.

+ \ No newline at end of file diff --git a/assets/api_QrcodeStream.md.DnuBzp6K.js b/assets/api_QrcodeStream.md.BJpDv_io.js similarity index 89% rename from assets/api_QrcodeStream.md.DnuBzp6K.js rename to assets/api_QrcodeStream.md.BJpDv_io.js index 71367346..f781ce54 100644 --- a/assets/api_QrcodeStream.md.DnuBzp6K.js +++ b/assets/api_QrcodeStream.md.BJpDv_io.js @@ -1,4 +1,4 @@ -import{_ as n,a as h,b as l,c as p,d as r}from"./chunks/safari_32x32.Bkuv9jEj.js";import{_ as k,D as o,c as d,k as s,a as i,I as e,R as t,o as c}from"./chunks/framework.BwCxet3-.js";const ps=JSON.parse('{"title":"QrcodeStream","description":"","frontmatter":{},"headers":[],"relativePath":"api/QrcodeStream.md","filePath":"api/QrcodeStream.md","lastUpdated":1707952687000}'),E={name:"api/QrcodeStream.md"},g=t('

QrcodeStream

Browser Support

This component fundamentally depends on the Stream API. Vue Native is not supported (see #206).

Internet ExplorerEdgeFirefoxChromeSafari
NoYesYesYes¹Yes²
  1. Chrome requires HTTPS or localhost (see Troubleshooting for help)
  2. Safari also requires HTTPS even on localhost (see #48). Support is limited for:
    • web apps added to home screen (PWA mode): at least iOS 13.4 (see #76)
    • iOS browsers other than Safari (Chrome for iOS, Firefox for iOS, ...): at least iOS 14.3 (see #29)
    • WkWebView component in native iOS apps: at least iOS 14.3 (see #29)

Events

detect

Once a stream from the users camera is loaded, it's displayed and continuously scanned for QR codes. Results are indicated by the detect event.

html
<qrcode-stream @detect="onDetect"></qrcode-stream>
javascript
methods: {
+import{_ as n,a as h,b as l,c as p,d as r}from"./chunks/safari_32x32.Bkuv9jEj.js";import{_ as o,D as k,c as d,k as s,a as i,I as e,R as t,o as c}from"./chunks/framework.BwCxet3-.js";const ps=JSON.parse('{"title":"QrcodeStream","description":"","frontmatter":{},"headers":[],"relativePath":"api/QrcodeStream.md","filePath":"api/QrcodeStream.md","lastUpdated":1726829926000}'),E={name:"api/QrcodeStream.md"},g=t('

QrcodeStream

Browser Support

This component fundamentally depends on the Stream API. Vue Native is not supported (see #206).

Internet ExplorerEdgeFirefoxChromeSafari
NoYesYesYes¹Yes²
  1. Chrome requires HTTPS or localhost (see Troubleshooting for help)
  2. Safari also requires HTTPS even on localhost (see #48). Support is limited for:
    • web apps added to home screen (PWA mode): at least iOS 13.4 (see #76)
    • iOS browsers other than Safari (Chrome for iOS, Firefox for iOS, ...): at least iOS 14.3 (see #29)
    • WkWebView component in native iOS apps: at least iOS 14.3 (see #29)

Events

detect

  • Payload Type: DetectedBarcode[]

Once a stream from the users camera is loaded, it's displayed and continuously scanned for QR codes. Results are indicated by the detect event.

html
<qrcode-stream @detect="onDetect"></qrcode-stream>
javascript
methods: {
   onDetect (detectedCodes) {
     // ...
   }
@@ -43,11 +43,11 @@ import{_ as n,a as h,b as l,c as p,d as r}from"./chunks/safari_32x32.Bkuv9jEj.js
       { "x": 342, "y": 375 }
     ]
   }
-]

TIP

If you scan the same QR code multiple times in a row, detect is still only emitted once. When you hold a QR code in the camera, frames are actually decoded multiple times a second but you don't want to be flooded with detect events that often. That's why the last decoded QR code is always cached and only new results are propagated. However changing the value of paused resets this internal cache.

`,14),y={id:"formats",tabindex:"-1"},u=s("code",null,"formats",-1),m=s("a",{class:"header-anchor",href:"#formats","aria-label":'Permalink to "`formats` "'},"​",-1),F=t('
  • Payload Type: BarcodeDetectorOptions['formats']
  • Default: ['qr_code']

The formats prop defines which barcode formats are detected. Supported Formats.

html
<qrcode-stream :formats="['qr_code', 'code_128']"></qrcode-stream>
',3),C={id:"camera-on",tabindex:"-1"},f=s("code",null,"camera-on",-1),b=s("a",{class:"header-anchor",href:"#camera-on","aria-label":'Permalink to "`camera-on` "'},"​",-1),_=t(`
  • Payload Type: Promise<MediaTrackCapabilities>

It might take a while before the component is ready and the scanning process starts. The user has to be asked for camera access permission first and the camera stream has to be loaded.

If you want to show a loading indicator, you can listen for the camera-on event. It's emitted as soon as the camera start streaming.

It carries a promise which resolves with the cameras MediaTrackCapabilities when everything is ready.

html
<qrcode-stream @camera-on="onReady"></qrcode-stream>
javascript
methods: {
+]

TIP

If you scan the same QR code multiple times in a row, detect is still only emitted once. When you hold a QR code in the camera, frames are actually decoded multiple times a second but you don't want to be flooded with detect events that often. That's why the last decoded QR code is always cached and only new results are propagated. However changing the value of paused resets this internal cache.

`,14),y={id:"formats",tabindex:"-1"},u=s("code",null,"formats",-1),m=s("a",{class:"header-anchor",href:"#formats","aria-label":'Permalink to "`formats` "'},"​",-1),F=t('
  • Payload Type: BarcodeDetectorOptions['formats']
  • Default: ['qr_code']

The formats prop defines which barcode formats are detected. By default, only QR codes are selected, so if you want to scan other barcode formats, you have to modify this prop. See: supported formats.

html
<qrcode-stream :formats="['qr_code', 'code_128']"></qrcode-stream>

WARNING

Don't select more barcode formats than needed. Scanning becomes more expensive the more formats you select.

Under the hood, we use the standard BarcodeDetector browser API. Support varies across devices, operating systems and browsers. The component will prefer to use the native implementation if available and otherwise falls back to a polyfill implementation. Note that even if the native implementation is availabe,
the component still might use the polyfill. For example, if the native implementation only supports the format 'qr_code' but the you select the formats ['qr_code', 'aztec'].

',5),C={id:"camera-on",tabindex:"-1"},f=s("code",null,"camera-on",-1),b=s("a",{class:"header-anchor",href:"#camera-on","aria-label":'Permalink to "`camera-on` "'},"​",-1),v=t(`
  • Payload Type: Promise<MediaTrackCapabilities>

It might take a while before the component is ready and the scanning process starts. The user has to be asked for camera access permission first and the camera stream has to be loaded.

If you want to show a loading indicator, you can listen for the camera-on event. It's emitted as soon as the camera start streaming.

It carries a promise which resolves with the cameras MediaTrackCapabilities when everything is ready.

html
<qrcode-stream @camera-on="onReady"></qrcode-stream>
javascript
methods: {
   onReady(capabilities) {
     // hide loading indicator
   }
-}

WARNING

In Chrome you can't prompt users for permissions a second time. Once denied, users can only manually grant them. Make sure your users understand why you need access to their camera before you mount this component. Otherwise they might panic and deny and then get frustrated because they don't know how to change their decision.

`,7),v={id:"camera-off",tabindex:"-1"},q=s("code",null,"camera-off",-1),B=s("a",{class:"header-anchor",href:"#camera-off","aria-label":'Permalink to "`camera-off` "'},"​",-1),A=s("ul",null,[s("li",null,[s("strong",null,"Payload Type:"),i(),s("code",null,"void")])],-1),D=s("p",null,"Emitted whenever the camera is turned off. This happens whenever the camera constraints are modified and the camera has to be restarted or a different camera is started. For example when switching between front and rear camera.",-1),T={id:"error",tabindex:"-1"},x=s("code",null,"error",-1),w=s("a",{class:"header-anchor",href:"#error","aria-label":'Permalink to "`error` "'},"​",-1),S=t(`
  • Payload Type: Error

Error events are emitted in particular when camera initialization fails. This can happen a couple of reasons.

html
<qrcode-stream @error="onError"></qrcode-stream>
javascript
methods: {
+}

WARNING

In Chrome you can't prompt users for permissions a second time. Once denied, users can only manually grant them. Make sure your users understand why you need access to their camera before you mount this component. Otherwise they might panic and deny and then get frustrated because they don't know how to change their decision.

`,7),_={id:"camera-off",tabindex:"-1"},q=s("code",null,"camera-off",-1),B=s("a",{class:"header-anchor",href:"#camera-off","aria-label":'Permalink to "`camera-off` "'},"​",-1),A=s("ul",null,[s("li",null,[s("strong",null,"Payload Type:"),i(),s("code",null,"void")])],-1),D=s("p",null,"Emitted whenever the camera is turned off. This happens whenever the camera constraints are modified and the camera has to be restarted or a different camera is started. For example when switching between front and rear camera.",-1),T={id:"error",tabindex:"-1"},x=s("code",null,"error",-1),w=s("a",{class:"header-anchor",href:"#error","aria-label":'Permalink to "`error` "'},"​",-1),S=t(`
  • Payload Type: Error

Error events are emitted in particular when camera initialization fails. This can happen a couple of reasons.

html
<qrcode-stream @error="onError"></qrcode-stream>
javascript
methods: {
   onError(error) {
     if (error.name === 'NotAllowedError') {
       // user denied camera access permission
@@ -63,7 +63,7 @@ import{_ as n,a as h,b as l,c as p,d as r}from"./chunks/safari_32x32.Bkuv9jEj.js
       // browser seems to be lacking features
     }
   }
-}
`,4),P={id:"decode",tabindex:"-1"},I=s("code",null,"decode",-1),R=s("a",{class:"header-anchor",href:"#decode","aria-label":'Permalink to "`decode` "'},"​",-1),N=s("p",null,[i("Use "),s("code",null,"detect"),i(" instead.")],-1),j=s("p",null,[s("a",{href:"https://github.com/gruhn/vue-qrcode-reader/blob/781484fccd186e8e30c6191f85beec3bd174ef59/docs/api/QrcodeStream.md",target:"_blank",rel:"noreferrer"},"docs for v4.0.0")],-1),M={id:"init",tabindex:"-1"},V=s("code",null,"init",-1),Q=s("a",{class:"header-anchor",href:"#init","aria-label":'Permalink to "`init` "'},"​",-1),O=s("p",null,[i("Use "),s("code",null,"camera-on"),i("/"),s("code",null,"error"),i(" instead.")],-1),W=s("p",null,[s("a",{href:"https://github.com/gruhn/vue-qrcode-reader/blob/781484fccd186e8e30c6191f85beec3bd174ef59/docs/api/QrcodeStream.md",target:"_blank",rel:"noreferrer"},"docs for v4.0.0")],-1),U={id:"camera",tabindex:"-1"},H=s("code",null,"camera",-1),Y=s("a",{class:"header-anchor",href:"#camera","aria-label":'Permalink to "`camera` "'},"​",-1),z=s("p",null,[i("Use "),s("code",null,"constraints"),i(" instead.")],-1),$=s("p",null,[s("a",{href:"https://github.com/gruhn/vue-qrcode-reader/blob/781484fccd186e8e30c6191f85beec3bd174ef59/docs/api/QrcodeStream.md",target:"_blank",rel:"noreferrer"},"docs for v4.0.0")],-1),G=s("h2",{id:"props",tabindex:"-1"},[i("Props "),s("a",{class:"header-anchor",href:"#props","aria-label":'Permalink to "Props"'},"​")],-1),J={id:"paused",tabindex:"-1"},K=s("code",null,"paused",-1),L=s("a",{class:"header-anchor",href:"#paused","aria-label":'Permalink to "`paused` "'},"​",-1),X=t(`
  • Input Type: Boolean
  • Default: false

Setting this prop to true freezes the camera. Useful if you want to show some microinteraction after successful scans. When you unpause the camera is restarted so the camera-on event is emitted again.

track

  • Input Type: Function
  • Default: undefined

You can visually highlight detected QR codes in real-time. A transparent canvas overlays the camera stream. When a QR code is detected, its location is painted to the canvas.

To enable this feature, pass a function to track that defines how this should look like. This function is called to produce each frame. It receives the location object as the first argument and a CanvasRenderingContext2D instance as the second argument.

For example check out this demo.

Note that this scanning frequency has to be increased. So if you want to go easy on your target device you might not want to enable tracking.

DANGER

Avoid access to reactive properties in this function (like stuff in data, computed or your Vuex store). The function is called several times a second and might cause memory leaks. To be safe don't access this at all.

constraints

  • Input Type: MediaTrackConstraints
  • Default: { facingMode: "environment" }

With this prop you can pass an object with various camera configuration options. For example whether to use front- or rear camera.

The object must be of type MediaTrackConstriants.

The object is passed as-is to getUserMedia, which is the API call for requesting a camera stream:

js
navigator.mediaDevices.getUserMedia({
+}
`,4),P={id:"decode",tabindex:"-1"},I=s("code",null,"decode",-1),N=s("a",{class:"header-anchor",href:"#decode","aria-label":'Permalink to "`decode` "'},"​",-1),R=s("p",null,[i("Use "),s("code",null,"detect"),i(" instead.")],-1),j=s("p",null,[s("a",{href:"https://github.com/gruhn/vue-qrcode-reader/blob/781484fccd186e8e30c6191f85beec3bd174ef59/docs/api/QrcodeStream.md",target:"_blank",rel:"noreferrer"},"docs for v4.0.0")],-1),M={id:"init",tabindex:"-1"},V=s("code",null,"init",-1),Q=s("a",{class:"header-anchor",href:"#init","aria-label":'Permalink to "`init` "'},"​",-1),O=s("p",null,[i("Use "),s("code",null,"camera-on"),i("/"),s("code",null,"error"),i(" instead.")],-1),W=s("p",null,[s("a",{href:"https://github.com/gruhn/vue-qrcode-reader/blob/781484fccd186e8e30c6191f85beec3bd174ef59/docs/api/QrcodeStream.md",target:"_blank",rel:"noreferrer"},"docs for v4.0.0")],-1),U={id:"camera",tabindex:"-1"},H=s("code",null,"camera",-1),z=s("a",{class:"header-anchor",href:"#camera","aria-label":'Permalink to "`camera` "'},"​",-1),Y=s("p",null,[i("Use "),s("code",null,"constraints"),i(" instead.")],-1),$=s("p",null,[s("a",{href:"https://github.com/gruhn/vue-qrcode-reader/blob/781484fccd186e8e30c6191f85beec3bd174ef59/docs/api/QrcodeStream.md",target:"_blank",rel:"noreferrer"},"docs for v4.0.0")],-1),G=s("h2",{id:"props",tabindex:"-1"},[i("Props "),s("a",{class:"header-anchor",href:"#props","aria-label":'Permalink to "Props"'},"​")],-1),J={id:"paused",tabindex:"-1"},K=s("code",null,"paused",-1),L=s("a",{class:"header-anchor",href:"#paused","aria-label":'Permalink to "`paused` "'},"​",-1),X=t(`
  • Input Type: Boolean
  • Default: false

Setting this prop to true freezes the camera. Useful if you want to show some microinteraction after successful scans. When you unpause the camera is restarted so the camera-on event is emitted again.

track

  • Input Type: Function
  • Default: undefined

You can visually highlight detected QR codes in real-time. A transparent canvas overlays the camera stream. When a QR code is detected, its location is painted to the canvas.

To enable this feature, pass a function to track that defines how this should look like. This function is called to produce each frame. It receives the location object as the first argument and a CanvasRenderingContext2D instance as the second argument.

For example check out this demo.

Note that this scanning frequency has to be increased. So if you want to go easy on your target device you might not want to enable tracking.

DANGER

Avoid access to reactive properties in this function (like stuff in data, computed or your Vuex store). The function is called several times a second and might cause memory leaks. To be safe don't access this at all.

constraints

  • Input Type: MediaTrackConstraints
  • Default: { facingMode: "environment" }

With this prop you can pass an object with various camera configuration options. For example whether to use front- or rear camera.

The object must be of type MediaTrackConstriants.

The object is passed as-is to getUserMedia, which is the API call for requesting a camera stream:

js
navigator.mediaDevices.getUserMedia({
   audio: false,
   video: the_constraint_object_you_provide
 })

Every time the prop is modified, a new camera stream is requested so the camera-on event is emitted again. You can catch errors with the error event. An error can occur for example when you try to use the front camera on a device that doesn't have one.

html
<qrcode-stream
@@ -97,4 +97,4 @@ import{_ as n,a as h,b as l,c as p,d as r}from"./chunks/safari_32x32.Bkuv9jEj.js
   }
 }

Slots

default

Any distributed content overlays the camera stream, wrapped in a position: absolute container.

html
<qrcode-stream>
   <b>stuff here overlays the camera stream</b>
-</qrcode-stream>
`,28);function Z(ss,is,as,es,ts,ns){const a=o("Badge");return c(),d("div",null,[g,s("h3",y,[u,i(),e(a,{text:"since v5.3.0",type:"info"}),i(),m]),F,s("h3",C,[f,i(),e(a,{text:"since v5.0.0",type:"info"}),i(),b]),_,s("h3",v,[q,i(),e(a,{text:"since v5.0.0",type:"info"}),i(),B]),A,D,s("h3",T,[x,i(),e(a,{text:"since v5.0.0",type:"info"}),i(),w]),S,s("h3",P,[I,i(),e(a,{text:"removed in v5.0.0",type:"danger"}),i(),R]),N,j,s("h3",M,[V,i(),e(a,{text:"removed in v5.0.0",type:"danger"}),i(),Q]),O,W,s("h3",U,[H,i(),e(a,{text:"removed in v5.0.0",type:"danger"}),i(),Y]),z,$,G,s("h3",J,[K,i(),e(a,{text:"since v5.0.0",type:"info"}),i(),L]),X])}const rs=k(E,[["render",Z]]);export{ps as __pageData,rs as default}; +</qrcode-stream>
`,28);function Z(ss,is,as,es,ts,ns){const a=k("Badge");return c(),d("div",null,[g,s("h3",y,[u,i(),e(a,{text:"since v5.3.0",type:"info"}),i(),m]),F,s("h3",C,[f,i(),e(a,{text:"since v5.0.0",type:"info"}),i(),b]),v,s("h3",_,[q,i(),e(a,{text:"since v5.0.0",type:"info"}),i(),B]),A,D,s("h3",T,[x,i(),e(a,{text:"since v5.0.0",type:"info"}),i(),w]),S,s("h3",P,[I,i(),e(a,{text:"removed in v5.0.0",type:"danger"}),i(),N]),R,j,s("h3",M,[V,i(),e(a,{text:"removed in v5.0.0",type:"danger"}),i(),Q]),O,W,s("h3",U,[H,i(),e(a,{text:"removed in v5.0.0",type:"danger"}),i(),z]),Y,$,G,s("h3",J,[K,i(),e(a,{text:"since v5.0.0",type:"info"}),i(),L]),X])}const rs=o(E,[["render",Z]]);export{ps as __pageData,rs as default}; diff --git a/assets/api_QrcodeStream.md.DnuBzp6K.lean.js b/assets/api_QrcodeStream.md.BJpDv_io.lean.js similarity index 79% rename from assets/api_QrcodeStream.md.DnuBzp6K.lean.js rename to assets/api_QrcodeStream.md.BJpDv_io.lean.js index 2add7dea..91cb1748 100644 --- a/assets/api_QrcodeStream.md.DnuBzp6K.lean.js +++ b/assets/api_QrcodeStream.md.BJpDv_io.lean.js @@ -1 +1 @@ -import{_ as n,a as h,b as l,c as p,d as r}from"./chunks/safari_32x32.Bkuv9jEj.js";import{_ as k,D as o,c as d,k as s,a as i,I as e,R as t,o as c}from"./chunks/framework.BwCxet3-.js";const ps=JSON.parse('{"title":"QrcodeStream","description":"","frontmatter":{},"headers":[],"relativePath":"api/QrcodeStream.md","filePath":"api/QrcodeStream.md","lastUpdated":1707952687000}'),E={name:"api/QrcodeStream.md"},g=t("",14),y={id:"formats",tabindex:"-1"},u=s("code",null,"formats",-1),m=s("a",{class:"header-anchor",href:"#formats","aria-label":'Permalink to "`formats` "'},"​",-1),F=t("",3),C={id:"camera-on",tabindex:"-1"},f=s("code",null,"camera-on",-1),b=s("a",{class:"header-anchor",href:"#camera-on","aria-label":'Permalink to "`camera-on` "'},"​",-1),_=t("",7),v={id:"camera-off",tabindex:"-1"},q=s("code",null,"camera-off",-1),B=s("a",{class:"header-anchor",href:"#camera-off","aria-label":'Permalink to "`camera-off` "'},"​",-1),A=s("ul",null,[s("li",null,[s("strong",null,"Payload Type:"),i(),s("code",null,"void")])],-1),D=s("p",null,"Emitted whenever the camera is turned off. This happens whenever the camera constraints are modified and the camera has to be restarted or a different camera is started. For example when switching between front and rear camera.",-1),T={id:"error",tabindex:"-1"},x=s("code",null,"error",-1),w=s("a",{class:"header-anchor",href:"#error","aria-label":'Permalink to "`error` "'},"​",-1),S=t("",4),P={id:"decode",tabindex:"-1"},I=s("code",null,"decode",-1),R=s("a",{class:"header-anchor",href:"#decode","aria-label":'Permalink to "`decode` "'},"​",-1),N=s("p",null,[i("Use "),s("code",null,"detect"),i(" instead.")],-1),j=s("p",null,[s("a",{href:"https://github.com/gruhn/vue-qrcode-reader/blob/781484fccd186e8e30c6191f85beec3bd174ef59/docs/api/QrcodeStream.md",target:"_blank",rel:"noreferrer"},"docs for v4.0.0")],-1),M={id:"init",tabindex:"-1"},V=s("code",null,"init",-1),Q=s("a",{class:"header-anchor",href:"#init","aria-label":'Permalink to "`init` "'},"​",-1),O=s("p",null,[i("Use "),s("code",null,"camera-on"),i("/"),s("code",null,"error"),i(" instead.")],-1),W=s("p",null,[s("a",{href:"https://github.com/gruhn/vue-qrcode-reader/blob/781484fccd186e8e30c6191f85beec3bd174ef59/docs/api/QrcodeStream.md",target:"_blank",rel:"noreferrer"},"docs for v4.0.0")],-1),U={id:"camera",tabindex:"-1"},H=s("code",null,"camera",-1),Y=s("a",{class:"header-anchor",href:"#camera","aria-label":'Permalink to "`camera` "'},"​",-1),z=s("p",null,[i("Use "),s("code",null,"constraints"),i(" instead.")],-1),$=s("p",null,[s("a",{href:"https://github.com/gruhn/vue-qrcode-reader/blob/781484fccd186e8e30c6191f85beec3bd174ef59/docs/api/QrcodeStream.md",target:"_blank",rel:"noreferrer"},"docs for v4.0.0")],-1),G=s("h2",{id:"props",tabindex:"-1"},[i("Props "),s("a",{class:"header-anchor",href:"#props","aria-label":'Permalink to "Props"'},"​")],-1),J={id:"paused",tabindex:"-1"},K=s("code",null,"paused",-1),L=s("a",{class:"header-anchor",href:"#paused","aria-label":'Permalink to "`paused` "'},"​",-1),X=t("",28);function Z(ss,is,as,es,ts,ns){const a=o("Badge");return c(),d("div",null,[g,s("h3",y,[u,i(),e(a,{text:"since v5.3.0",type:"info"}),i(),m]),F,s("h3",C,[f,i(),e(a,{text:"since v5.0.0",type:"info"}),i(),b]),_,s("h3",v,[q,i(),e(a,{text:"since v5.0.0",type:"info"}),i(),B]),A,D,s("h3",T,[x,i(),e(a,{text:"since v5.0.0",type:"info"}),i(),w]),S,s("h3",P,[I,i(),e(a,{text:"removed in v5.0.0",type:"danger"}),i(),R]),N,j,s("h3",M,[V,i(),e(a,{text:"removed in v5.0.0",type:"danger"}),i(),Q]),O,W,s("h3",U,[H,i(),e(a,{text:"removed in v5.0.0",type:"danger"}),i(),Y]),z,$,G,s("h3",J,[K,i(),e(a,{text:"since v5.0.0",type:"info"}),i(),L]),X])}const rs=k(E,[["render",Z]]);export{ps as __pageData,rs as default}; +import{_ as n,a as h,b as l,c as p,d as r}from"./chunks/safari_32x32.Bkuv9jEj.js";import{_ as o,D as k,c as d,k as s,a as i,I as e,R as t,o as c}from"./chunks/framework.BwCxet3-.js";const ps=JSON.parse('{"title":"QrcodeStream","description":"","frontmatter":{},"headers":[],"relativePath":"api/QrcodeStream.md","filePath":"api/QrcodeStream.md","lastUpdated":1726829926000}'),E={name:"api/QrcodeStream.md"},g=t("",14),y={id:"formats",tabindex:"-1"},u=s("code",null,"formats",-1),m=s("a",{class:"header-anchor",href:"#formats","aria-label":'Permalink to "`formats` "'},"​",-1),F=t("",5),C={id:"camera-on",tabindex:"-1"},f=s("code",null,"camera-on",-1),b=s("a",{class:"header-anchor",href:"#camera-on","aria-label":'Permalink to "`camera-on` "'},"​",-1),v=t("",7),_={id:"camera-off",tabindex:"-1"},q=s("code",null,"camera-off",-1),B=s("a",{class:"header-anchor",href:"#camera-off","aria-label":'Permalink to "`camera-off` "'},"​",-1),A=s("ul",null,[s("li",null,[s("strong",null,"Payload Type:"),i(),s("code",null,"void")])],-1),D=s("p",null,"Emitted whenever the camera is turned off. This happens whenever the camera constraints are modified and the camera has to be restarted or a different camera is started. For example when switching between front and rear camera.",-1),T={id:"error",tabindex:"-1"},x=s("code",null,"error",-1),w=s("a",{class:"header-anchor",href:"#error","aria-label":'Permalink to "`error` "'},"​",-1),S=t("",4),P={id:"decode",tabindex:"-1"},I=s("code",null,"decode",-1),N=s("a",{class:"header-anchor",href:"#decode","aria-label":'Permalink to "`decode` "'},"​",-1),R=s("p",null,[i("Use "),s("code",null,"detect"),i(" instead.")],-1),j=s("p",null,[s("a",{href:"https://github.com/gruhn/vue-qrcode-reader/blob/781484fccd186e8e30c6191f85beec3bd174ef59/docs/api/QrcodeStream.md",target:"_blank",rel:"noreferrer"},"docs for v4.0.0")],-1),M={id:"init",tabindex:"-1"},V=s("code",null,"init",-1),Q=s("a",{class:"header-anchor",href:"#init","aria-label":'Permalink to "`init` "'},"​",-1),O=s("p",null,[i("Use "),s("code",null,"camera-on"),i("/"),s("code",null,"error"),i(" instead.")],-1),W=s("p",null,[s("a",{href:"https://github.com/gruhn/vue-qrcode-reader/blob/781484fccd186e8e30c6191f85beec3bd174ef59/docs/api/QrcodeStream.md",target:"_blank",rel:"noreferrer"},"docs for v4.0.0")],-1),U={id:"camera",tabindex:"-1"},H=s("code",null,"camera",-1),z=s("a",{class:"header-anchor",href:"#camera","aria-label":'Permalink to "`camera` "'},"​",-1),Y=s("p",null,[i("Use "),s("code",null,"constraints"),i(" instead.")],-1),$=s("p",null,[s("a",{href:"https://github.com/gruhn/vue-qrcode-reader/blob/781484fccd186e8e30c6191f85beec3bd174ef59/docs/api/QrcodeStream.md",target:"_blank",rel:"noreferrer"},"docs for v4.0.0")],-1),G=s("h2",{id:"props",tabindex:"-1"},[i("Props "),s("a",{class:"header-anchor",href:"#props","aria-label":'Permalink to "Props"'},"​")],-1),J={id:"paused",tabindex:"-1"},K=s("code",null,"paused",-1),L=s("a",{class:"header-anchor",href:"#paused","aria-label":'Permalink to "`paused` "'},"​",-1),X=t("",28);function Z(ss,is,as,es,ts,ns){const a=k("Badge");return c(),d("div",null,[g,s("h3",y,[u,i(),e(a,{text:"since v5.3.0",type:"info"}),i(),m]),F,s("h3",C,[f,i(),e(a,{text:"since v5.0.0",type:"info"}),i(),b]),v,s("h3",_,[q,i(),e(a,{text:"since v5.0.0",type:"info"}),i(),B]),A,D,s("h3",T,[x,i(),e(a,{text:"since v5.0.0",type:"info"}),i(),w]),S,s("h3",P,[I,i(),e(a,{text:"removed in v5.0.0",type:"danger"}),i(),N]),R,j,s("h3",M,[V,i(),e(a,{text:"removed in v5.0.0",type:"danger"}),i(),Q]),O,W,s("h3",U,[H,i(),e(a,{text:"removed in v5.0.0",type:"danger"}),i(),z]),Y,$,G,s("h3",J,[K,i(),e(a,{text:"since v5.0.0",type:"info"}),i(),L]),X])}const rs=o(E,[["render",Z]]);export{ps as __pageData,rs as default}; diff --git a/assets/app.M3x9aKvg.js b/assets/app.DiD9A94Y.js similarity index 95% rename from assets/app.M3x9aKvg.js rename to assets/app.DiD9A94Y.js index 1f92136a..9f260d58 100644 --- a/assets/app.M3x9aKvg.js +++ b/assets/app.DiD9A94Y.js @@ -1,4 +1,4 @@ -import{v as s,aa as p,ab as u,ac as c,ad as l,ae as f,af as d,ag as m,ah as h,ai as A,aj as g,Y as v,d as P,u as y,j as C,z as w,ak as _,al as b,am as E,an as R}from"./chunks/framework.BwCxet3-.js";import{t as j}from"./chunks/theme.s67tei5V.js";function i(e){if(e.extends){const a=i(e.extends);return{...a,...e,async enhanceApp(t){a.enhanceApp&&await a.enhanceApp(t),e.enhanceApp&&await e.enhanceApp(t)}}}return e}const o=i(j),D=P({name:"VitePressApp",setup(){const{site:e}=y();return C(()=>{w(()=>{document.documentElement.lang=e.value.lang,document.documentElement.dir=e.value.dir})}),e.value.router.prefetchLinks&&_(),b(),E(),o.setup&&o.setup(),()=>R(o.Layout)}});async function L(){const e=S(),a=O();a.provide(u,e);const t=c(e.route);return a.provide(l,t),a.component("Content",f),a.component("ClientOnly",d),Object.defineProperties(a.config.globalProperties,{$frontmatter:{get(){return t.frontmatter.value}},$params:{get(){return t.page.value.params}}}),o.enhanceApp&&await o.enhanceApp({app:a,router:e,siteData:m}),{app:a,router:e,data:t}}function O(){return h(D)}function S(){let e=s,a;return A(t=>{let n=g(t),r=null;return n&&(e&&(a=n),(e||a===n)&&(n=n.replace(/\.js$/,".lean.js")),r=v(()=>import(n),__vite__mapDeps([]))),s&&(e=!1),r},o.NotFound)}s&&L().then(({app:e,router:a,data:t})=>{a.go().then(()=>{p(a.route,t.site),e.mount("#app")})});export{L as createApp}; +import{v as s,aa as p,ab as u,ac as c,ad as l,ae as f,af as d,ag as m,ah as h,ai as A,aj as g,Y as v,d as P,u as y,j as C,z as w,ak as _,al as b,am as E,an as R}from"./chunks/framework.BwCxet3-.js";import{t as j}from"./chunks/theme.Bu6m7hlu.js";function i(e){if(e.extends){const a=i(e.extends);return{...a,...e,async enhanceApp(t){a.enhanceApp&&await a.enhanceApp(t),e.enhanceApp&&await e.enhanceApp(t)}}}return e}const o=i(j),D=P({name:"VitePressApp",setup(){const{site:e}=y();return C(()=>{w(()=>{document.documentElement.lang=e.value.lang,document.documentElement.dir=e.value.dir})}),e.value.router.prefetchLinks&&_(),b(),E(),o.setup&&o.setup(),()=>R(o.Layout)}});async function L(){const e=S(),a=O();a.provide(u,e);const t=c(e.route);return a.provide(l,t),a.component("Content",f),a.component("ClientOnly",d),Object.defineProperties(a.config.globalProperties,{$frontmatter:{get(){return t.frontmatter.value}},$params:{get(){return t.page.value.params}}}),o.enhanceApp&&await o.enhanceApp({app:a,router:e,siteData:m}),{app:a,router:e,data:t}}function O(){return h(D)}function S(){let e=s,a;return A(t=>{let n=g(t),r=null;return n&&(e&&(a=n),(e||a===n)&&(n=n.replace(/\.js$/,".lean.js")),r=v(()=>import(n),__vite__mapDeps([]))),s&&(e=!1),r},o.NotFound)}s&&L().then(({app:e,router:a,data:t})=>{a.go().then(()=>{p(a.route,t.site),e.mount("#app")})});export{L as createApp}; function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { __vite__mapDeps.viteFileDeps = [] diff --git a/assets/chunks/@localSearchIndexroot.DBcb1Hh6.js b/assets/chunks/@localSearchIndexroot.DBcb1Hh6.js deleted file mode 100644 index 61c1e464..00000000 --- a/assets/chunks/@localSearchIndexroot.DBcb1Hh6.js +++ /dev/null @@ -1 +0,0 @@ -const e='{"documentCount":58,"nextId":58,"documentIds":{"0":"/vue-qrcode-reader/api/QrcodeCapture.html#qrcodecapture","1":"/vue-qrcode-reader/api/QrcodeCapture.html#browser-support","2":"/vue-qrcode-reader/api/QrcodeCapture.html#events","3":"/vue-qrcode-reader/api/QrcodeCapture.html#detect","4":"/vue-qrcode-reader/api/QrcodeCapture.html#decode","5":"/vue-qrcode-reader/api/QrcodeCapture.html#props","6":"/vue-qrcode-reader/api/QrcodeCapture.html#formats","7":"/vue-qrcode-reader/api/QrcodeCapture.html#disabled-capture-multiple","8":"/vue-qrcode-reader/api/QrcodeCapture.html#slots","9":"/vue-qrcode-reader/api/QrcodeDropZone.html#qrcodedropzone","10":"/vue-qrcode-reader/api/QrcodeDropZone.html#browser-support","11":"/vue-qrcode-reader/api/QrcodeDropZone.html#events","12":"/vue-qrcode-reader/api/QrcodeDropZone.html#detect","13":"/vue-qrcode-reader/api/QrcodeDropZone.html#error","14":"/vue-qrcode-reader/api/QrcodeDropZone.html#formats","15":"/vue-qrcode-reader/api/QrcodeDropZone.html#dragover","16":"/vue-qrcode-reader/api/QrcodeDropZone.html#decode","17":"/vue-qrcode-reader/api/QrcodeDropZone.html#props","18":"/vue-qrcode-reader/api/QrcodeDropZone.html#slots","19":"/vue-qrcode-reader/api/QrcodeDropZone.html#default","20":"/vue-qrcode-reader/api/QrcodeStream.html#qrcodestream","21":"/vue-qrcode-reader/api/QrcodeStream.html#browser-support","22":"/vue-qrcode-reader/api/QrcodeStream.html#events","23":"/vue-qrcode-reader/api/QrcodeStream.html#detect","24":"/vue-qrcode-reader/api/QrcodeStream.html#formats","25":"/vue-qrcode-reader/api/QrcodeStream.html#camera-on","26":"/vue-qrcode-reader/api/QrcodeStream.html#camera-off","27":"/vue-qrcode-reader/api/QrcodeStream.html#error","28":"/vue-qrcode-reader/api/QrcodeStream.html#decode","29":"/vue-qrcode-reader/api/QrcodeStream.html#init","30":"/vue-qrcode-reader/api/QrcodeStream.html#camera","31":"/vue-qrcode-reader/api/QrcodeStream.html#props","32":"/vue-qrcode-reader/api/QrcodeStream.html#paused","33":"/vue-qrcode-reader/api/QrcodeStream.html#track","34":"/vue-qrcode-reader/api/QrcodeStream.html#constraints","35":"/vue-qrcode-reader/api/QrcodeStream.html#torch","36":"/vue-qrcode-reader/api/QrcodeStream.html#slots","37":"/vue-qrcode-reader/api/QrcodeStream.html#default","38":"/vue-qrcode-reader/demos/DragDrop.html#decode-by-drag-drop","39":"/vue-qrcode-reader/demos/DragDrop.html#source","40":"/vue-qrcode-reader/demos/FullDemo.html#full-demo","41":"/vue-qrcode-reader/demos/FullDemo.html#source","42":"/vue-qrcode-reader/demos/Fullscreen.html#fullscreen","43":"/vue-qrcode-reader/demos/Fullscreen.html#source","44":"/vue-qrcode-reader/demos/LoadingIndicator.html#show-loading-indicator","45":"/vue-qrcode-reader/demos/LoadingIndicator.html#source","46":"/vue-qrcode-reader/demos/ScanSameQrcodeMoreThanOnce.html#scan-same-qr-code-more-than-once","47":"/vue-qrcode-reader/demos/ScanSameQrcodeMoreThanOnce.html#source","48":"/vue-qrcode-reader/demos/Simple.html#simple","49":"/vue-qrcode-reader/demos/Simple.html#source","50":"/vue-qrcode-reader/demos/SwitchCamera.html#switch-to-front-camera","51":"/vue-qrcode-reader/demos/SwitchCamera.html#source","52":"/vue-qrcode-reader/demos/Torch.html#torch-flashlight","53":"/vue-qrcode-reader/demos/Torch.html#source","54":"/vue-qrcode-reader/demos/Upload.html#decode-by-upload","55":"/vue-qrcode-reader/demos/Upload.html#source","56":"/vue-qrcode-reader/demos/Validate.html#pause-validate","57":"/vue-qrcode-reader/demos/Validate.html#source"},"fieldIds":{"title":0,"titles":1,"text":2},"fieldLength":{"0":[1,1,1],"1":[2,1,39],"2":[1,1,1],"3":[1,2,69],"4":[1,2,8],"5":[1,1,1],"6":[1,2,25],"7":[4,2,60],"8":[1,1,3],"9":[1,1,1],"10":[2,1,19],"11":[1,1,1],"12":[1,2,64],"13":[1,2,67],"14":[1,2,26],"15":[1,2,65],"16":[1,2,8],"17":[1,1,3],"18":[1,1,1],"19":[1,2,36],"20":[1,1,1],"21":[2,1,58],"22":[1,1,1],"23":[1,2,141],"24":[1,2,25],"25":[2,2,105],"26":[2,2,32],"27":[1,2,73],"28":[1,2,8],"29":[1,2,10],"30":[1,2,8],"31":[1,1,1],"32":[1,2,33],"33":[1,2,105],"34":[1,2,101],"35":[1,2,98],"36":[1,1,1],"37":[1,2,21],"38":[5,1,27],"39":[1,6,106],"40":[2,1,1],"41":[1,3,325],"42":[1,1,26],"43":[1,2,148],"44":[3,1,30],"45":[1,4,61],"46":[7,1,67],"47":[1,8,99],"48":[1,1,38],"49":[1,2,154],"50":[4,1,16],"51":[1,5,90],"52":[3,1,43],"53":[1,3,118],"54":[3,1,52],"55":[1,4,67],"56":[3,1,29],"57":[1,4,134]},"averageFieldLength":[1.5172413793103448,1.9310344827586208,50.87931034482759],"storedFields":{"0":{"title":"QrcodeCapture","titles":[]},"1":{"title":"Browser Support","titles":["QrcodeCapture"]},"2":{"title":"Events","titles":["QrcodeCapture"]},"3":{"title":"detect","titles":["QrcodeCapture","Events"]},"4":{"title":"decode","titles":["QrcodeCapture","Events"]},"5":{"title":"Props","titles":["QrcodeCapture"]},"6":{"title":"formats","titles":["QrcodeCapture","Props"]},"7":{"title":"disabled, capture, multiple, ...","titles":["QrcodeCapture","Props"]},"8":{"title":"Slots","titles":["QrcodeCapture"]},"9":{"title":"QrcodeDropZone","titles":[]},"10":{"title":"Browser Support","titles":["QrcodeDropZone"]},"11":{"title":"Events","titles":["QrcodeDropZone"]},"12":{"title":"detect","titles":["QrcodeDropZone","Events"]},"13":{"title":"error","titles":["QrcodeDropZone","Events"]},"14":{"title":"formats","titles":["QrcodeDropZone","Events"]},"15":{"title":"dragover","titles":["QrcodeDropZone","Events"]},"16":{"title":"decode","titles":["QrcodeDropZone","Events"]},"17":{"title":"Props","titles":["QrcodeDropZone"]},"18":{"title":"Slots","titles":["QrcodeDropZone"]},"19":{"title":"default","titles":["QrcodeDropZone","Slots"]},"20":{"title":"QrcodeStream","titles":[]},"21":{"title":"Browser Support","titles":["QrcodeStream"]},"22":{"title":"Events","titles":["QrcodeStream"]},"23":{"title":"detect","titles":["QrcodeStream","Events"]},"24":{"title":"formats","titles":["QrcodeStream","Events"]},"25":{"title":"camera-on","titles":["QrcodeStream","Events"]},"26":{"title":"camera-off","titles":["QrcodeStream","Events"]},"27":{"title":"error","titles":["QrcodeStream","Events"]},"28":{"title":"decode","titles":["QrcodeStream","Events"]},"29":{"title":"init","titles":["QrcodeStream","Events"]},"30":{"title":"camera","titles":["QrcodeStream","Events"]},"31":{"title":"Props","titles":["QrcodeStream"]},"32":{"title":"paused","titles":["QrcodeStream","Props"]},"33":{"title":"track","titles":["QrcodeStream","Props"]},"34":{"title":"constraints","titles":["QrcodeStream","Props"]},"35":{"title":"torch","titles":["QrcodeStream","Props"]},"36":{"title":"Slots","titles":["QrcodeStream"]},"37":{"title":"default","titles":["QrcodeStream","Slots"]},"38":{"title":"Decode by Drag&Drop","titles":[]},"39":{"title":"Source","titles":["Decode by Drag&Drop",null]},"40":{"title":"Full Demo","titles":[]},"41":{"title":"Source","titles":["Full Demo",null]},"42":{"title":"Fullscreen","titles":[]},"43":{"title":"Source","titles":["Fullscreen",null]},"44":{"title":"Show Loading Indicator","titles":[]},"45":{"title":"Source","titles":["Show Loading Indicator",null]},"46":{"title":"Scan Same QR Code More Than Once","titles":[]},"47":{"title":"Source","titles":["Scan Same QR Code More Than Once",null]},"48":{"title":"Simple","titles":[]},"49":{"title":"Source","titles":["Simple",null]},"50":{"title":"Switch to Front Camera","titles":[]},"51":{"title":"Source","titles":["Switch to Front Camera",null]},"52":{"title":"Torch (Flashlight)","titles":[]},"53":{"title":"Source","titles":["Torch (Flashlight)",null]},"54":{"title":"Decode by Upload","titles":[]},"55":{"title":"Source","titles":["Decode by Upload",null]},"56":{"title":"Pause & Validate","titles":[]},"57":{"title":"Source","titles":["Pause & Validate",null]}},"dirtCount":0,"index":[["|",{"2":{"53":1}}],["\\t\\t",{"2":{"49":1}}],["\\t",{"2":{"49":2}}],["8",{"2":{"41":1,"47":1,"49":1,"57":1}}],["82",{"2":{"23":3}}],["$nexttick",{"2":{"45":1}}],["$refs",{"2":{"43":1}}],["$",{"2":{"41":3,"49":1}}],["`requestfullscreen`",{"2":{"43":3}}],["`bold",{"2":{"41":1}}],["`",{"2":{"41":3,"49":2}}],["`$",{"2":{"41":1}}],["`camera",{"2":{"41":1}}],["`qrcodestream`",{"2":{"41":1}}],["`enumeratedevices`",{"2":{"41":1}}],["+=",{"2":{"41":8,"49":8}}],["+",{"2":{"39":1,"41":2}}],["keys",{"2":{"41":2}}],["key=",{"2":{"41":3,"53":1,"55":1}}],["kind",{"2":{"39":1,"41":2,"53":2}}],["know",{"2":{"25":1}}],["green",{"2":{"57":1}}],["grained",{"2":{"41":1}}],["grant",{"2":{"25":1,"41":1,"49":1}}],["global",{"2":{"49":1}}],["guarantee",{"2":{"41":1}}],["given",{"2":{"41":1}}],["g",{"2":{"41":1}}],["go",{"2":{"33":1,"42":1}}],["getusermedia",{"2":{"34":2}}],["get",{"2":{"25":1}}],["gt",{"2":{"25":1}}],["5",{"2":{"49":1}}],["5cb984",{"2":{"41":1}}],["50px",{"2":{"51":2,"53":2}}],["500",{"2":{"47":1}}],["50",{"2":{"41":1}}],["542",{"2":{"23":1}}],["566",{"2":{"23":2}}],["93",{"2":{"41":1}}],["94",{"2":{"23":1}}],["91",{"2":{"23":1}}],["70",{"2":{"23":3}}],["76",{"2":{"21":1}}],["x26",{"2":{"34":2,"51":4,"57":2}}],["x",{"2":{"23":10,"41":7,"49":2}}],["x3c",{"2":{"6":2,"7":5,"13":4,"14":2,"15":5,"19":4,"23":2,"24":2,"25":2,"27":2,"34":2,"35":2,"37":4,"39":18,"41":37,"43":13,"45":14,"47":17,"49":31,"51":17,"53":21,"55":18,"57":20}}],["2px",{"2":{"49":1}}],["255",{"2":{"47":3,"57":3}}],["258",{"2":{"23":2}}],["2000",{"2":{"57":1}}],["20px",{"2":{"45":1}}],["206",{"2":{"1":1,"10":1,"21":1}}],["2rem",{"2":{"43":1,"45":1}}],["2",{"2":{"41":3,"49":1}}],["240",{"2":{"23":2}}],["244",{"2":{"23":2}}],["260",{"2":{"23":2}}],["29",{"2":{"21":2}}],["4rem",{"2":{"57":1}}],["4",{"2":{"21":1}}],["48",{"2":{"21":1}}],["lang=",{"2":{"41":1,"49":1,"53":1}}],["label>",{"2":{"41":1}}],["label",{"2":{"41":8,"53":2}}],["lacking",{"2":{"27":1}}],["last",{"2":{"23":1,"39":1,"41":1,"46":1,"47":1,"55":1,"56":1,"57":1}}],["lt",{"2":{"25":1}}],["length",{"2":{"53":1}}],["less",{"2":{"42":1}}],["leaks",{"2":{"33":1}}],["least",{"2":{"21":3}}],["left",{"2":{"23":2,"43":1,"51":1,"53":1}}],["long",{"2":{"57":2}}],["low",{"2":{"52":1}}],["log",{"2":{"39":1,"41":1,"53":1,"55":1}}],["logerrors",{"2":{"39":2,"43":2}}],["looks",{"2":{"56":1}}],["look",{"2":{"33":1}}],["location",{"2":{"33":2}}],["localhost",{"2":{"21":2,"27":1,"41":2,"49":2}}],["load",{"2":{"39":1}}],["loading",{"0":{"44":1},"1":{"45":1},"2":{"25":2,"44":1,"45":7}}],["loaded",{"2":{"23":1,"25":1,"35":1}}],["light",{"2":{"52":1}}],["linear",{"2":{"41":1}}],["linewidth",{"2":{"41":2,"49":1}}],["lineto",{"2":{"41":2}}],["link",{"2":{"4":1}}],["limitations",{"2":{"35":1}}],["limited",{"2":{"21":1}}],["like",{"2":{"33":2,"48":1,"56":1}}],["listen",{"2":{"15":1,"25":1,"44":1}}],["z",{"2":{"43":1}}],["zero",{"2":{"19":1}}],["zone>",{"2":{"13":1,"14":1,"15":1,"19":2,"39":1}}],["zone",{"2":{"13":1,"14":1,"15":1,"39":1}}],["007bff",{"2":{"41":1,"49":1}}],["0",{"2":{"16":2,"28":2,"29":2,"30":2,"43":6,"47":1,"49":1,"53":2,"55":1,"57":1}}],["=>",{"2":{"39":1,"41":5,"47":2,"49":1,"53":3,"55":1,"57":1}}],["==",{"2":{"39":1,"43":1,"53":1}}],["===",{"2":{"13":2,"27":6,"34":2,"39":2,"41":8,"49":7,"51":3,"53":1,"57":3}}],["=",{"2":{"15":1,"34":3,"35":1,"39":5,"41":29,"43":3,"45":4,"47":5,"49":9,"51":7,"53":9,"55":2,"57":5}}],["ツ",{"2":{"13":1}}],["¯",{"2":{"13":2}}],["js",{"2":{"49":2}}],["jsmethods",{"2":{"35":1}}],["jsdata",{"2":{"34":1}}],["jsnavigator",{"2":{"34":1}}],["json",{"2":{"23":1,"39":1,"41":1,"47":1,"49":1,"55":1}}],["javascriptdata",{"2":{"15":1}}],["javascriptmethods",{"2":{"13":1,"23":1,"25":1,"27":1}}],["justify",{"2":{"47":1,"57":1}}],["just",{"2":{"13":1,"56":1}}],["using",{"2":{"52":1}}],["useful",{"2":{"32":1}}],["users",{"2":{"23":1,"25":3,"38":1,"50":1,"57":1}}],["user",{"2":{"15":1,"25":1,"27":1,"34":2,"41":2,"43":2,"51":3,"55":1}}],["use",{"2":{"4":1,"7":1,"15":1,"16":1,"27":1,"28":1,"29":1,"30":1,"34":2,"38":1,"41":3,"43":1,"48":1,"49":3,"52":1}}],["umd",{"2":{"49":1}}],["utf",{"2":{"49":1}}],["utilize",{"2":{"48":1}}],["uploaded",{"2":{"54":2}}],["upload",{"0":{"54":1},"1":{"55":1},"2":{"54":1}}],["upc",{"2":{"41":2}}],["ups",{"2":{"39":1}}],["unpkg",{"2":{"49":2}}],["unpause",{"2":{"32":1}}],["undefined",{"2":{"33":1,"41":1,"57":3}}],["understand",{"2":{"25":1}}],["unsupported",{"2":{"13":1,"35":1}}],["url",{"2":{"13":2,"57":2}}],["v",{"2":{"39":1,"41":6,"45":2,"47":1,"51":2,"53":5,"55":2,"57":3}}],["variety",{"2":{"41":2}}],["various",{"2":{"34":1}}],["vary",{"2":{"35":1}}],["value=",{"2":{"41":2,"53":1,"55":1}}],["value",{"2":{"23":1,"41":19,"49":10,"53":6,"55":4}}],["validationpending",{"2":{"57":2}}],["validationfailure",{"2":{"57":2}}],["validation",{"2":{"57":9}}],["validationsuccess",{"2":{"57":2}}],["validate",{"0":{"56":1},"1":{"57":1}}],["valid",{"2":{"7":1}}],["via",{"2":{"54":1}}],["vite",{"2":{"48":1}}],["vitepress",{"2":{"43":1,"47":1,"51":1,"53":1}}],["visible",{"2":{"44":1}}],["visually",{"2":{"33":1,"41":1}}],["viewport",{"2":{"43":1,"49":1}}],["view",{"2":{"41":1,"46":1}}],["videoinput",{"2":{"41":1,"53":1}}],["videodevices",{"2":{"41":2}}],["video",{"2":{"34":1}}],["violation",{"2":{"13":1}}],["void",{"2":{"26":1}}],["v4",{"2":{"16":1,"28":1,"29":1,"30":1}}],["vueqrcodereader",{"2":{"49":1}}],["vuex",{"2":{"33":1}}],["vues",{"2":{"15":1}}],["vue",{"2":{"1":1,"7":1,"10":1,"21":1,"39":1,"41":2,"43":1,"45":1,"47":1,"49":5,"51":1,"53":2,"55":1,"57":1}}],["rgba",{"2":{"47":1,"57":1}}],["rather",{"2":{"41":1,"43":1,"49":1}}],["rawvalue",{"2":{"23":2,"39":1,"41":4,"47":1,"49":1,"55":1,"57":1}}],["rm",{"2":{"41":1}}],["row",{"2":{"23":1,"46":1,"47":1}}],["root",{"2":{"7":1}}],["right",{"2":{"23":2,"41":1,"43":2,"48":1}}],["reload",{"2":{"45":2}}],["reloaded",{"2":{"35":1}}],["re",{"2":{"44":1,"45":1}}],["ref=",{"2":{"43":1}}],["ref",{"2":{"41":7,"49":3,"53":5}}],["red",{"2":{"39":1,"41":2,"49":1,"51":1,"53":1,"57":1}}],["received",{"2":{"56":1}}],["receives",{"2":{"33":1}}],["recognized",{"2":{"3":1,"12":1}}],["required",{"2":{"41":1,"49":1}}],["requires",{"2":{"21":2}}],["requestfullscreen",{"2":{"43":4}}],["requested",{"2":{"34":1}}],["requesting",{"2":{"34":1,"41":1}}],["request",{"2":{"27":1}}],["resolve",{"2":{"47":2,"57":2}}],["resolves",{"2":{"25":1}}],["resetvalidationstate",{"2":{"57":2}}],["reset",{"2":{"46":1}}],["resets",{"2":{"23":1}}],["result",{"2":{"39":5,"41":5,"47":5,"49":5,"55":5,"57":6}}],["results",{"2":{"3":1,"12":1,"23":2}}],["restarted",{"2":{"26":1,"32":1}}],["read",{"2":{"57":1}}],["reader",{"2":{"49":2}}],["ready",{"2":{"25":2}}],["reactive",{"2":{"33":1}}],["reacting",{"2":{"15":1}}],["real",{"2":{"33":1,"41":1}}],["really",{"2":{"15":1,"57":1}}],["reasons",{"2":{"27":1}}],["rear",{"2":{"26":1,"34":1,"35":1,"41":2,"50":1,"51":1,"55":1}}],["return",{"2":{"15":1,"34":1,"39":1,"41":1,"43":3,"45":1,"47":2,"49":1,"51":1,"53":2,"55":1,"57":5}}],["remove",{"2":{"7":1}}],["renders",{"2":{"3":1,"19":1}}],[">destroy",{"2":{"45":1}}],[">",{"2":{"6":1,"7":3,"13":2,"14":1,"15":3,"23":1,"24":1,"25":1,"27":1,"34":1,"35":1,"39":4,"41":12,"43":4,"45":2,"47":4,"49":9,"51":5,"53":8,"55":5,"57":5}}],["hr",{"2":{"55":1}}],["h1>",{"2":{"49":1}}],["h1>simple",{"2":{"49":1}}],["hits",{"2":{"43":1}}],["hide",{"2":{"25":1}}],["highlighted",{"2":{"41":1}}],["highlight",{"2":{"15":1,"33":1}}],["how",{"2":{"25":1,"33":1}}],["however",{"2":{"23":1,"46":1}}],["hold",{"2":{"23":1}}],["home",{"2":{"1":1,"21":1}}],["http",{"2":{"41":1,"49":1,"57":1}}],["https",{"2":{"21":2,"23":1,"27":1,"41":2,"49":4}}],["html>",{"2":{"49":2}}],["html",{"2":{"6":1,"7":3,"13":1,"14":1,"15":1,"19":1,"23":1,"24":1,"25":1,"27":1,"34":1,"35":1,"37":1,"49":2}}],["handling",{"2":{"41":2}}],["happening",{"2":{"54":1}}],["happened",{"2":{"41":1}}],["happen",{"2":{"27":1}}],["happens",{"2":{"26":1}}],["have",{"2":{"19":1,"34":1,"41":1,"46":1,"51":2,"57":1}}],["has",{"2":{"13":1,"25":2,"26":1,"33":1,"35":2,"41":2}}],["head>",{"2":{"49":2}}],["header",{"2":{"13":1}}],["hello",{"2":{"23":1}}],["help",{"2":{"21":1}}],["here",{"2":{"19":1,"23":1,"37":1,"39":1}}],["height",{"2":{"19":2,"23":2,"39":1,"41":3,"47":1,"49":2,"51":1,"53":1,"57":1}}],["fullscreenelement",{"2":{"43":1}}],["fullscreenicon",{"2":{"43":2}}],["fullscreenchange=",{"2":{"43":1}}],["fullscreen",{"0":{"42":1},"1":{"43":1},"2":{"42":1,"43":16}}],["full",{"0":{"40":1},"1":{"41":1}}],["functons",{"2":{"41":1}}],["function",{"2":{"33":5,"41":6,"49":3,"53":2}}],["fundamentally",{"2":{"21":1}}],["following",{"2":{"41":1,"54":1}}],["fontsize",{"2":{"41":2}}],["font",{"2":{"39":2,"41":2,"45":2,"51":1,"53":1,"57":2}}],["force",{"2":{"44":1,"55":1}}],["for=",{"2":{"41":4,"53":1,"55":1}}],["format",{"2":{"23":2,"41":4}}],["formats=",{"2":{"6":1,"14":1,"24":1,"41":1}}],["formats",{"0":{"6":1,"14":1,"24":1},"2":{"6":4,"14":4,"24":4,"41":2}}],["for",{"2":{"3":1,"12":1,"15":1,"16":1,"21":4,"23":1,"25":3,"26":1,"28":1,"29":1,"30":1,"33":1,"34":3,"35":1,"38":1,"41":5,"43":1,"44":1,"48":1,"49":1,"53":1}}],["fff",{"2":{"39":1}}],["flow",{"2":{"47":1,"57":1}}],["flooded",{"2":{"23":1,"46":1}}],["flex",{"2":{"47":2,"57":2}}],["flash",{"2":{"53":2}}],["flashlight",{"0":{"52":1},"1":{"53":1},"2":{"35":3,"52":2}}],["flavor",{"2":{"41":1}}],["feature",{"2":{"33":1,"38":1,"52":1}}],["features",{"2":{"27":1}}],["fetched",{"2":{"13":1}}],["failure",{"2":{"57":3}}],["fails",{"2":{"27":1,"35":1}}],["facingmode",{"2":{"34":5,"41":3,"51":7}}],["fallback",{"2":{"38":1}}],["fallthrough",{"2":{"7":1}}],["false",{"2":{"15":1,"32":1,"34":1,"35":1,"39":1,"41":20,"43":1,"45":3,"47":4,"51":2,"53":2,"57":3}}],["frequency",{"2":{"33":1}}],["freezes",{"2":{"32":1}}],["frame",{"2":{"33":1,"56":1}}],["frames",{"2":{"23":1}}],["front",{"0":{"50":1},"1":{"51":1},"2":{"26":1,"27":1,"34":3,"35":1,"41":2,"50":1,"51":1,"55":1}}],["from",{"2":{"12":1,"13":1,"23":1,"35":1,"39":1,"41":2,"43":2,"45":1,"47":2,"51":2,"53":3,"55":1,"57":1}}],["frustrated",{"2":{"25":1}}],["finally",{"2":{"54":1}}],["fine",{"2":{"41":1}}],["fixed",{"2":{"43":1}}],["film",{"2":{"41":1}}],["filltext",{"2":{"41":1}}],["fillstyle",{"2":{"41":1}}],["filter",{"2":{"41":2,"53":1}}],["files",{"2":{"12":1}}],["file",{"2":{"3":2,"7":1,"13":3,"48":1,"54":2,"55":1}}],["filereader",{"2":{"1":1,"10":1}}],["firstdetectedcode",{"2":{"57":2}}],["firstpoint",{"2":{"41":5}}],["first",{"2":{"25":1,"33":1}}],["firefox",{"2":{"21":1,"43":2}}],["ms",{"2":{"47":2,"57":2}}],["msexitfullscreen",{"2":{"43":2}}],["msrequestfullscreen",{"2":{"43":2}}],["must",{"2":{"34":1,"35":1}}],["multiple",{"0":{"7":1},"2":{"3":1,"7":1,"12":1,"23":3,"41":1,"46":2}}],["micro",{"2":{"41":1}}],["microinteraction",{"2":{"32":1}}],["might",{"2":{"15":1,"25":2,"33":2,"43":1,"46":1,"52":1}}],["margin",{"2":{"41":1,"43":1,"45":1}}],["matrix",{"2":{"41":2}}],["math",{"2":{"41":1}}],["maxi",{"2":{"41":1}}],["max",{"2":{"41":1}}],["map",{"2":{"39":1,"41":2,"47":1,"49":1,"55":1}}],["maybe",{"2":{"27":1}}],["manually",{"2":{"25":1}}],["make",{"2":{"7":1,"25":1,"52":1}}],["memo=",{"2":{"53":1}}],["memory",{"2":{"33":1}}],["meta",{"2":{"49":2}}],["methods",{"2":{"15":1,"34":1,"39":1,"43":1,"45":1,"47":1,"51":1,"55":1,"57":1}}],["message",{"2":{"39":1,"41":1,"49":1,"57":1}}],["means",{"2":{"35":1}}],["mediadeviceinfo",{"2":{"53":2}}],["mediadevices",{"2":{"34":1,"41":1,"53":1}}],["mediatrackconstriants",{"2":{"34":1}}],["mediatrackconstraints",{"2":{"34":1}}],["mediatrackcapabilities",{"2":{"25":2,"35":1}}],["merely",{"2":{"19":1}}],["mozcancelfullscreen",{"2":{"43":2}}],["mozrequestfullscreen",{"2":{"43":2}}],["move",{"2":{"43":1}}],["moveto",{"2":{"41":1}}],["more",{"0":{"46":1},"1":{"47":1},"2":{"41":3,"42":1,"57":1}}],["mounting",{"2":{"44":1}}],["mount",{"2":{"25":1,"49":1}}],["moment",{"2":{"23":1,"35":1}}],["modified",{"2":{"26":1,"34":1}}],["modifier",{"2":{"15":1}}],["model=",{"2":{"41":3,"53":1,"55":1}}],["modern",{"2":{"41":1}}],["mode",{"2":{"1":1,"21":1}}],["mobile",{"2":{"3":1,"41":1,"43":1,"54":1}}],["y",{"2":{"23":10,"41":7,"49":2}}],["your",{"2":{"12":1,"25":1,"33":2,"43":1,"46":1,"48":1,"51":2,"54":2}}],["you",{"2":{"3":1,"7":2,"12":2,"15":2,"19":1,"23":3,"25":5,"27":1,"32":2,"33":3,"34":4,"35":3,"38":1,"39":1,"41":4,"43":1,"46":3,"48":1,"49":1,"50":1,"51":2,"52":2,"54":3,"56":1}}],["yes²",{"2":{"21":1}}],["yes¹",{"2":{"1":1,"21":1}}],["yes",{"2":{"1":3,"10":4,"21":2}}],["black",{"2":{"49":1,"57":1}}],["block",{"2":{"41":1}}],["build",{"2":{"48":1}}],["bundler",{"2":{"48":1}}],["button>",{"2":{"43":1,"45":1,"51":1,"53":1}}],["button",{"2":{"43":6,"44":1,"45":2,"51":3,"53":3}}],["but",{"2":{"7":1,"23":1,"35":2,"41":2,"43":1,"54":1}}],["break",{"2":{"51":2}}],["br",{"2":{"41":1}}],["browsers",{"2":{"21":1,"35":1,"52":1}}],["browser",{"0":{"1":1,"10":1,"21":1},"2":{"27":1,"35":1,"41":1,"48":1,"49":1,"54":1}}],["back",{"2":{"43":1}}],["background",{"2":{"39":2,"43":1,"47":1,"57":1}}],["barcodeformats",{"2":{"41":5}}],["barcode",{"2":{"6":1,"14":1,"23":1,"24":1,"41":4}}],["barcodedetectoroptions",{"2":{"6":1,"14":1,"24":1}}],["border",{"2":{"49":1}}],["body>",{"2":{"49":2}}],["box",{"2":{"41":1}}],["bounding",{"2":{"41":1}}],["boundingbox",{"2":{"23":2,"41":7,"49":1}}],["bold",{"2":{"39":2,"41":1,"45":1,"51":1,"53":1,"57":1}}],["bottom",{"2":{"23":2,"43":2,"45":1}}],["boolean",{"2":{"15":1,"32":1,"35":1}}],["b>stuff",{"2":{"37":1}}],["b>",{"2":{"19":1,"37":1,"39":2,"41":2,"47":2,"49":2,"55":2,"57":2}}],["b>put",{"2":{"19":1}}],["behavior",{"2":{"54":1}}],["below",{"2":{"44":1}}],["beginpath",{"2":{"41":1}}],["becoming",{"2":{"44":1}}],["becomes",{"2":{"41":1,"43":1}}],["because",{"2":{"7":2,"25":1}}],["best",{"2":{"41":1}}],["been",{"2":{"35":1}}],["between",{"2":{"26":1,"44":1}}],["before",{"2":{"25":2,"41":1}}],["be",{"2":{"3":1,"12":1,"13":2,"15":1,"23":1,"25":2,"26":1,"27":1,"33":2,"34":1,"35":2,"38":1,"39":1,"46":1,"52":1,"54":1}}],["by",{"0":{"38":1,"54":1},"1":{"39":1,"55":1},"2":{"3":1,"12":1,"15":1,"19":1,"23":1,"35":1,"41":4,"43":1,"52":1,"56":1}}],["ok",{"2":{"39":1}}],["occur",{"2":{"34":1}}],["occupies",{"2":{"12":1,"42":1}}],["opera",{"2":{"43":2}}],["open",{"2":{"13":1}}],["opens",{"2":{"3":1}}],["option>",{"2":{"41":2,"53":1,"55":1}}],["option",{"2":{"41":16,"53":1,"55":5}}],["options",{"2":{"34":1,"55":4}}],["outline",{"2":{"41":1}}],["out",{"2":{"33":1}}],["object",{"2":{"33":1,"34":4,"35":1,"41":2}}],["overlays",{"2":{"33":1,"37":2}}],["overconstrainederror",{"2":{"27":1,"34":1,"41":1,"49":1,"51":1}}],["over",{"2":{"15":1,"27":1}}],["override",{"2":{"7":1}}],["org",{"2":{"23":1}}],["origin",{"2":{"13":1,"39":1}}],["or",{"2":{"12":1,"13":1,"21":1,"23":1,"26":1,"27":1,"33":1,"34":1,"35":1,"38":1,"41":3,"49":1,"50":1}}],["otherpoints",{"2":{"41":2}}],["otherwise",{"2":{"25":1}}],["other",{"2":{"7":1,"12":1,"21":1,"41":1,"48":1}}],["old",{"2":{"4":1}}],["off=",{"2":{"47":1}}],["off",{"0":{"26":1},"2":{"26":1,"35":2,"52":1,"53":1}}],["often",{"2":{"23":1,"35":1,"41":1,"46":1}}],["of",{"2":{"3":1,"7":2,"12":1,"13":1,"23":3,"27":1,"34":1,"39":1,"41":7,"46":1,"49":1,"52":1}}],["onmounted",{"2":{"53":2}}],["onfullscreenchange",{"2":{"43":2}}],["on`",{"2":{"41":1}}],["oninit",{"2":{"35":2}}],["onready",{"2":{"25":2}}],["on=",{"2":{"25":1,"35":1,"41":1,"45":1,"47":1,"53":1,"57":1}}],["only",{"2":{"23":3,"25":1,"35":1,"41":2,"46":1,"49":1,"52":1}}],["oncameraoff",{"2":{"47":2}}],["oncameraon",{"2":{"45":2,"47":2,"53":2}}],["oncameraready",{"2":{"41":2}}],["once",{"0":{"46":1},"1":{"47":1},"2":{"23":2,"25":1,"35":1}}],["onchangeinput",{"2":{"7":1}}],["ondragover",{"2":{"15":2,"39":2}}],["ondetect",{"2":{"13":1,"23":2,"39":2,"41":2,"47":2,"49":3,"55":2,"57":2}}],["onerror",{"2":{"13":1,"27":2,"34":2,"41":2,"47":2,"49":3,"51":2,"53":1,"57":2}}],["one",{"2":{"3":1,"12":1,"23":1,"34":1,"41":2,"56":1}}],["on",{"0":{"25":1},"2":{"1":2,"3":2,"10":1,"12":1,"21":2,"25":1,"29":1,"32":1,"33":1,"34":3,"35":7,"41":2,"43":2,"44":1,"48":1,"49":1,"50":1,"51":2,"52":1,"53":1,"54":1}}],["createapp",{"2":{"49":2}}],["create",{"2":{"44":1,"45":1}}],["cross",{"2":{"39":1}}],["ctx",{"2":{"41":21,"49":4}}],["centered",{"2":{"41":1}}],["centery",{"2":{"41":3}}],["centerx",{"2":{"41":3}}],["center",{"2":{"39":1,"41":1,"45":1,"47":1,"57":2}}],["custom",{"2":{"15":1}}],["client",{"2":{"54":1}}],["click=",{"2":{"43":1,"45":1,"51":1,"53":1}}],["clicking",{"2":{"3":1}}],["classic",{"2":{"54":1}}],["class=",{"2":{"15":1,"39":4,"41":3,"43":2,"45":1,"47":2,"51":2,"53":1,"55":1,"57":4}}],["closepath",{"2":{"41":1}}],["ch",{"2":{"52":1}}],["choose",{"2":{"50":1}}],["choice",{"2":{"41":1}}],["charset=",{"2":{"49":1}}],["changes",{"2":{"46":1}}],["change",{"2":{"25":1,"41":1,"46":1}}],["change=",{"2":{"7":1}}],["changing",{"2":{"23":1}}],["checkmark",{"2":{"47":2}}],["checkbox",{"2":{"41":3}}],["check",{"2":{"33":1}}],["checkout",{"2":{"7":1}}],["chrome",{"2":{"21":2,"25":1,"43":2}}],["column",{"2":{"57":1}}],["color",{"2":{"39":4,"41":1,"43":1,"47":1,"49":1,"51":1,"53":1,"57":4}}],["comes",{"2":{"54":1}}],["com",{"2":{"49":2}}],["computed",{"2":{"33":1,"41":2,"43":1,"53":2,"57":1}}],["components",{"2":{"7":2,"39":1,"43":1,"45":1,"47":1,"48":1,"51":1,"55":1,"57":1}}],["component",{"2":{"1":1,"3":1,"7":1,"10":1,"12":1,"15":1,"19":1,"21":2,"25":2,"38":1,"42":1,"44":2,"45":1,"54":1}}],["covered",{"2":{"43":1}}],["covers",{"2":{"42":1}}],["codabar",{"2":{"41":1}}],["codes",{"2":{"23":3,"33":1,"41":4,"46":1}}],["code",{"0":{"46":1},"1":{"47":1},"2":{"3":1,"6":3,"12":1,"14":3,"23":5,"24":3,"33":1,"39":2,"41":9,"46":3,"47":2,"49":2,"55":2,"56":1}}],["couple",{"2":{"27":1}}],["cornerpoints",{"2":{"23":2,"41":1}}],["cors",{"2":{"13":2}}],["conditions",{"2":{"52":1}}],["consider",{"2":{"43":1}}],["consistently",{"2":{"35":1}}],["console",{"2":{"39":1,"41":1,"43":1,"47":1,"51":1,"53":3,"55":1,"57":1}}],["const",{"2":{"34":2,"35":1,"41":21,"43":1,"49":6,"51":3,"53":5,"55":1}}],["constraintoptions",{"2":{"41":3}}],["constraint",{"2":{"34":1}}],["constraints=",{"2":{"34":1,"41":1,"51":1,"53":1}}],["constraints",{"0":{"34":1},"2":{"26":1,"30":1,"41":5}}],["confirmation",{"2":{"47":2}}],["configuration",{"2":{"34":1}}],["confused",{"2":{"15":1}}],["context",{"2":{"41":2,"49":2}}],["content=",{"2":{"49":1}}],["content",{"2":{"19":2,"37":1,"46":1,"47":1,"57":1}}],["container",{"2":{"37":1}}],["control",{"2":{"35":1,"41":1}}],["continuously",{"2":{"23":1}}],["case",{"2":{"51":2}}],["care",{"2":{"41":1}}],["carries",{"2":{"25":1}}],["catch",{"2":{"34":1}}],["calling",{"2":{"43":2}}],["call",{"2":{"34":1}}],["called",{"2":{"33":2}}],["cause",{"2":{"33":1}}],["caused",{"2":{"13":1}}],["capabilities",{"2":{"25":1,"35":2,"53":3}}],["capture=",{"2":{"7":2,"55":1}}],["capture>",{"2":{"6":1}}],["capture",{"0":{"7":1},"2":{"6":1,"7":2,"55":2}}],["cache",{"2":{"23":1,"46":1}}],["cached",{"2":{"23":1,"46":1}}],["canvasrenderingcontext2d",{"2":{"33":1}}],["canvas",{"2":{"33":2,"41":1}}],["can",{"2":{"3":2,"7":2,"12":3,"13":2,"25":3,"27":1,"33":1,"34":3,"35":4,"38":1,"39":2,"41":3,"46":1,"50":1,"52":2,"54":1,"56":1}}],["cameramissingerror",{"2":{"34":2,"51":3}}],["cameras",{"2":{"25":1,"41":2,"49":1,"52":1}}],["camera",{"0":{"25":1,"26":1,"30":1,"50":1},"1":{"51":1},"2":{"3":1,"23":2,"25":6,"26":5,"27":5,"29":1,"32":3,"33":1,"34":7,"35":8,"37":2,"41":10,"43":2,"44":2,"45":1,"46":1,"47":2,"49":4,"50":1,"51":4,"52":1,"53":3,"54":1,"55":2,"57":1}}],["etc",{"2":{"43":1}}],["esc",{"2":{"43":1}}],["err",{"2":{"41":10,"49":10,"53":2}}],["errors",{"2":{"34":1}}],["error=",{"2":{"27":1,"34":1,"39":1,"41":1,"43":1,"47":1,"49":1,"51":1,"53":1,"57":1}}],["error",{"0":{"13":1,"27":1},"2":{"13":4,"27":9,"29":1,"34":4,"39":13,"41":15,"43":1,"47":1,"49":12,"51":7,"53":4,"57":1}}],["edge",{"2":{"41":1,"43":2}}],["e",{"2":{"41":2}}],["ean",{"2":{"41":2}}],["easy",{"2":{"33":1}}],["each",{"2":{"33":1,"56":1}}],["en",{"2":{"49":1}}],["enterfullscreen",{"2":{"43":2}}],["entire",{"2":{"42":2,"43":1}}],["enumeratedevices",{"2":{"41":1,"53":1}}],["enable",{"2":{"33":2}}],["environment",{"2":{"7":1,"34":2,"41":2,"51":4,"55":1}}],["every",{"2":{"34":1}}],["everything",{"2":{"25":1,"54":1}}],["even",{"2":{"21":1,"35":1,"43":1}}],["event",{"2":{"3":4,"12":4,"15":4,"23":1,"25":1,"32":1,"34":2,"35":2,"41":1,"43":1,"44":1,"46":1}}],["events",{"0":{"2":1,"11":1,"22":1},"1":{"3":1,"4":1,"12":1,"13":1,"14":1,"15":1,"16":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":1,"29":1,"30":1},"2":{"13":1,"23":1,"27":1,"35":1,"46":1}}],["exitfullscreen",{"2":{"43":4}}],["exit",{"2":{"43":2}}],["exploit",{"2":{"46":1}}],["explicitly",{"2":{"7":1}}],["expanded",{"2":{"41":1}}],["expensive",{"2":{"41":1}}],["export",{"2":{"39":1,"43":1,"45":1,"47":1,"51":1,"55":1,"57":1}}],["example",{"2":{"23":1,"26":1,"33":1,"34":2,"35":1,"48":1}}],["elem",{"2":{"43":9}}],["element",{"2":{"3":1,"7":2,"13":1,"42":1}}],["else",{"2":{"13":2,"27":5,"39":2,"41":7,"43":8,"49":7,"53":1}}],["emphasizing",{"2":{"15":1}}],["empty",{"2":{"3":1,"12":1}}],["embedded",{"2":{"12":1}}],["emitted",{"2":{"3":1,"12":1,"13":1,"23":1,"25":1,"26":1,"27":1,"32":1,"34":1,"35":2,"46":1}}],["quot",{"2":{"34":2,"46":2}}],["question",{"2":{"1":1}}],["qrcodedropzone",{"0":{"9":1},"1":{"10":1,"11":1,"12":1,"13":1,"14":1,"15":1,"16":1,"17":1,"18":1,"19":1},"2":{"38":1,"39":2}}],["qrcode",{"2":{"6":2,"7":2,"13":2,"14":2,"15":2,"19":2,"23":2,"24":2,"25":2,"27":2,"34":2,"35":2,"37":2,"39":2,"41":1,"43":2,"45":2,"47":2,"49":4,"51":2,"53":2,"55":1,"57":2}}],["qrcodestream",{"0":{"20":1},"1":{"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":1,"29":1,"30":1,"31":1,"32":1,"33":1,"34":1,"35":1,"36":1,"37":1},"2":{"3":1,"12":1,"41":1,"42":1,"43":2,"45":2,"47":2,"51":2,"53":1,"57":2}}],["qrcodecapture",{"0":{"0":1},"1":{"1":1,"2":1,"3":1,"4":1,"5":1,"6":1,"7":1,"8":1},"2":{"7":1,"54":1,"55":2}}],["qr",{"0":{"46":1},"1":{"47":1},"2":{"3":1,"6":2,"12":1,"14":2,"23":7,"24":2,"33":2,"41":4,"46":4,"56":1}}],["3000",{"2":{"57":1}}],["300px",{"2":{"39":1}}],["39",{"2":{"41":1}}],["35495e",{"2":{"41":1}}],["359",{"2":{"23":1}}],["3c3c43",{"2":{"39":1}}],["342",{"2":{"23":1}}],["375",{"2":{"23":2}}],["322",{"2":{"23":3}}],["3",{"2":{"1":1,"21":2,"41":1,"49":1}}],["1rem",{"2":{"43":1}}],["1",{"2":{"41":1,"57":1}}],["12",{"2":{"41":1}}],["128",{"2":{"6":1,"14":1,"24":1,"41":1,"47":1}}],["100",{"2":{"47":2,"57":2}}],["1000",{"2":{"43":1}}],["10b981",{"2":{"39":1}}],["10px",{"2":{"39":1,"41":1,"51":2,"53":2,"57":1}}],["10+",{"2":{"1":1,"10":1}}],["160",{"2":{"23":1}}],["188",{"2":{"23":1}}],["178",{"2":{"23":1}}],["14",{"2":{"21":2}}],["135",{"2":{"23":3}}],["13",{"2":{"21":1,"41":1}}],["11",{"2":{"1":1}}],["pending",{"2":{"57":2}}],["permitted",{"2":{"41":1,"49":1}}],["permissions",{"2":{"25":1,"41":1}}],["permission",{"2":{"25":1,"27":1,"41":2,"43":2,"49":1}}],["per",{"2":{"3":1,"12":1}}],["physical",{"2":{"43":1}}],["phones",{"2":{"41":1}}],["push",{"2":{"44":1}}],["pushes",{"2":{"43":1}}],["put",{"2":{"42":1}}],["pdf417",{"2":{"41":1}}],["px",{"2":{"41":1}}],["p>last",{"2":{"49":1}}],["p>",{"2":{"39":2,"41":8,"47":1,"49":2,"51":2,"53":3,"55":3,"57":1}}],["p",{"2":{"39":2,"41":2,"47":1,"49":1,"51":2,"53":1,"55":1,"57":1}}],["position",{"2":{"37":1,"43":2,"47":1,"51":1,"53":1,"57":1}}],["positive",{"2":{"3":1,"12":1}}],["policy",{"2":{"13":1}}],["pausing",{"2":{"56":1}}],["pause",{"0":{"56":1},"1":{"57":1}}],["paused=",{"2":{"47":1,"57":1}}],["paused",{"0":{"32":1},"2":{"23":1,"46":1,"47":4,"56":1,"57":5}}],["paintcentertext",{"2":{"41":2}}],["paintboundingbox",{"2":{"41":2,"49":3}}],["paintoutline",{"2":{"41":2}}],["painted",{"2":{"33":1}}],["padding",{"2":{"39":1,"57":1}}],["passed",{"2":{"34":1}}],["pass",{"2":{"33":1,"34":1}}],["page",{"2":{"27":1,"48":1}}],["pages",{"2":{"12":1}}],["particular",{"2":{"27":1}}],["panic",{"2":{"25":1}}],["payload",{"2":{"3":2,"6":1,"12":2,"14":1,"15":1,"23":2,"24":1,"25":1,"26":1,"27":1,"35":1}}],["pretend",{"2":{"57":1}}],["progress",{"2":{"57":1}}],["project",{"2":{"48":1}}],["produce",{"2":{"33":1}}],["prompted",{"2":{"54":1}}],["prompt",{"2":{"25":1,"43":1}}],["promise",{"2":{"25":2,"47":1,"57":1}}],["process",{"2":{"25":1,"56":1}}],["provide",{"2":{"19":1,"34":1}}],["probably",{"2":{"13":1}}],["properties",{"2":{"33":1}}],["propagated",{"2":{"23":1}}],["prop",{"2":{"6":1,"14":1,"24":1,"32":1,"34":2,"35":1,"46":1,"52":1}}],["props",{"0":{"5":1,"17":1,"31":1},"1":{"6":1,"7":1,"32":1,"33":1,"34":1,"35":1},"2":{"7":1,"17":1}}],["prior",{"2":{"1":1}}],["pick",{"2":{"53":1}}],["picked",{"2":{"41":1}}],["picker",{"2":{"3":1}}],["picture",{"2":{"3":1,"54":1}}],["pwa",{"2":{"1":1,"21":1}}],["adjust",{"2":{"54":1}}],["added",{"2":{"1":1,"21":1}}],["aeschbacher",{"2":{"52":1}}],["available",{"2":{"42":1}}],["avoid",{"2":{"33":1}}],["aztec",{"2":{"41":1}}],["await",{"2":{"41":1,"45":1,"47":1,"53":1,"57":2}}],["amp",{"0":{"38":1,"56":1},"1":{"39":1,"57":1}}],["absolute",{"2":{"37":1,"43":1,"47":1,"51":1,"53":1,"57":1}}],["audio",{"2":{"34":1}}],["again",{"2":{"32":1,"34":1,"35":1,"46":1}}],["after",{"2":{"32":1,"52":1}}],["alt=",{"2":{"43":1,"47":1,"51":1,"53":1}}],["although",{"2":{"27":1}}],["align",{"2":{"39":1,"45":1,"57":1}}],["allows",{"2":{"54":1}}],["allow",{"2":{"50":1}}],["all",{"2":{"33":1,"35":1,"48":1}}],["already",{"2":{"27":1,"41":1,"43":1,"49":1,"52":1}}],["always",{"2":{"23":1,"42":1}}],["also",{"2":{"3":1,"7":1,"12":1,"21":1,"38":1,"41":1,"50":1}}],["active",{"2":{"53":1}}],["actually",{"2":{"23":1,"54":1}}],["across",{"2":{"52":1}}],["access",{"2":{"25":2,"27":1,"33":2,"35":1,"41":3,"43":1,"49":2}}],["accept",{"2":{"7":1}}],["accept=",{"2":{"7":1}}],["accroding",{"2":{"23":1}}],["async",{"2":{"41":1,"45":1,"47":1,"53":1,"57":1}}],["asked",{"2":{"25":1,"43":1}}],["as",{"2":{"3":1,"12":1,"25":2,"33":2,"34":1,"38":2,"53":2}}],["argument",{"2":{"33":2}}],["array",{"2":{"3":1,"12":1,"23":2}}],["area",{"2":{"12":1,"39":2}}],["are",{"2":{"3":2,"6":1,"12":2,"13":1,"14":1,"23":3,"24":1,"26":1,"27":1,"41":4,"49":1,"54":2}}],["another",{"2":{"43":1,"54":1}}],["angle",{"2":{"41":1}}],["anything",{"2":{"19":1}}],["anywhere",{"2":{"12":1}}],["any",{"2":{"7":2,"19":1,"37":1}}],["an",{"2":{"3":1,"12":1,"13":3,"23":2,"34":2,"39":1,"46":1,"48":1}}],["and",{"2":{"3":1,"7":1,"12":2,"13":3,"23":2,"25":4,"26":2,"33":2,"35":2,"38":1,"43":2,"44":2,"45":1,"46":1,"48":1,"52":2,"54":1}}],["attribute",{"2":{"7":1}}],["attributes",{"2":{"7":3}}],["at",{"2":{"3":1,"12":1,"21":3,"23":1,"33":1,"35":1,"56":1}}],["a",{"2":{"3":3,"13":2,"15":1,"19":1,"23":4,"25":4,"26":1,"27":1,"33":5,"34":3,"35":2,"37":1,"38":2,"41":4,"42":1,"43":2,"44":1,"46":3,"48":2,"51":2,"54":1,"56":1,"57":2}}],["app",{"2":{"49":5}}],["apply",{"2":{"15":1}}],["apps",{"2":{"1":1,"21":2}}],["api",{"2":{"1":2,"10":2,"21":1,"23":1,"34":1,"35":1,"41":1,"49":1}}],["wrapped",{"2":{"37":1}}],["wrapper",{"2":{"19":1,"42":1,"43":2}}],["weight",{"2":{"39":2,"41":1,"45":1,"51":1,"53":1,"57":1}}],["we",{"2":{"35":1,"41":1,"46":1}}],["webkitexitfullscreen",{"2":{"43":2}}],["webkitrequestfullscreen",{"2":{"43":2}}],["web",{"2":{"1":1,"12":1,"21":1}}],["world",{"2":{"23":1}}],["works",{"2":{"48":1}}],["work",{"2":{"1":1,"46":1}}],["wkwebview",{"2":{"21":1}}],["window",{"2":{"47":1,"57":1}}],["wide",{"2":{"41":1}}],["width=device",{"2":{"49":1}}],["width=",{"2":{"47":1}}],["width",{"2":{"23":2,"41":5,"43":1,"47":1,"49":3,"51":1,"53":1,"57":1}}],["wikipedia",{"2":{"23":1}}],["will",{"2":{"19":1,"35":2}}],["withbase",{"2":{"43":3,"47":3,"51":3,"53":2}}],["with",{"2":{"15":1,"23":1,"25":1,"34":3,"35":2,"38":1,"43":1,"46":1,"54":4}}],["without",{"2":{"13":1,"43":1,"48":1}}],["watch",{"2":{"43":1}}],["warning",{"2":{"15":1,"25":1}}],["want",{"2":{"15":1,"23":1,"25":1,"32":1,"33":2,"46":1,"52":1}}],["what",{"2":{"39":1}}],["whether",{"2":{"34":1,"35":1}}],["whenever",{"2":{"26":2}}],["when",{"2":{"13":1,"15":1,"23":1,"25":1,"26":1,"27":1,"32":1,"33":1,"34":1,"35":1,"43":1,"46":3}}],["white",{"2":{"41":1,"43":1}}],["while",{"2":{"25":1}}],["which",{"2":{"6":1,"14":1,"24":1,"25":1,"34":1,"54":1}}],["why",{"2":{"23":1,"25":1,"46":1}}],["ts",{"2":{"41":1,"53":1}}],["turning",{"2":{"35":1}}],["turn",{"2":{"35":1,"52":1}}],["turned",{"2":{"26":1}}],["taking",{"2":{"57":1}}],["takes",{"2":{"41":1}}],["take",{"2":{"3":1,"25":1,"54":1}}],["target",{"2":{"33":1}}],["triedrearcamera",{"2":{"51":2}}],["triedfrontcamera",{"2":{"34":2,"51":2}}],["try",{"2":{"34":1}}],["transparent",{"2":{"33":1}}],["track=",{"2":{"41":1,"49":1}}],["trackfunctionoptions",{"2":{"41":3}}],["trackfunctionselected",{"2":{"41":3}}],["tracking",{"2":{"33":1}}],["track",{"0":{"33":1},"2":{"33":1,"41":1}}],["true",{"2":{"32":1,"35":1,"41":1,"45":3,"47":2,"51":2,"57":2}}],["troubleshooting",{"2":{"21":1}}],["title>",{"2":{"49":1}}],["title>simple",{"2":{"49":1}}],["tip",{"2":{"23":1}}],["timeout",{"2":{"47":2,"57":3}}],["times",{"2":{"23":2,"33":1,"46":2}}],["time",{"2":{"3":1,"12":1,"25":1,"33":1,"34":1,"41":1,"56":1,"57":1}}],["textalign",{"2":{"41":1}}],["text",{"2":{"39":1,"41":7,"45":1,"55":5,"57":1}}],["tell",{"2":{"35":2}}],["template>",{"2":{"7":2,"39":2,"41":2,"43":2,"45":2,"47":2,"51":2,"53":2,"55":2,"57":2}}],["template",{"2":{"7":1}}],["technically",{"2":{"7":1}}],["type=",{"2":{"7":1,"41":1}}],["type",{"2":{"3":1,"6":1,"12":1,"13":2,"14":1,"15":1,"23":1,"24":1,"25":1,"26":1,"27":1,"32":1,"33":1,"34":2,"35":1}}],["toggle",{"2":{"43":1,"53":1}}],["torchactive",{"2":{"53":6}}],["torchnotsupported",{"2":{"53":4}}],["torch=",{"2":{"35":1,"53":1}}],["torch",{"0":{"35":1,"52":1},"1":{"53":1},"2":{"35":6,"52":1,"53":3}}],["top",{"2":{"23":2,"43":1,"51":1,"53":1}}],["todo",{"2":{"4":1}}],["to",{"0":{"50":1},"1":{"51":1},"2":{"1":2,"3":2,"7":2,"13":1,"15":4,"21":1,"23":2,"25":5,"26":1,"27":1,"32":2,"33":9,"34":3,"35":1,"41":2,"42":1,"43":1,"44":2,"46":2,"48":1,"49":1,"50":1,"51":2,"52":1,"54":1,"57":1}}],["t",{"2":{"1":1,"13":2,"19":1,"23":1,"25":2,"33":1,"34":1,"35":1,"39":2,"41":1,"43":1,"46":2,"51":2}}],["thing",{"2":{"46":1}}],["this",{"2":{"1":2,"10":1,"15":2,"19":1,"21":1,"23":1,"25":1,"26":1,"27":1,"32":1,"33":7,"34":4,"35":2,"39":6,"41":3,"43":7,"45":5,"46":1,"47":6,"48":2,"49":2,"51":7,"54":1,"55":1,"57":14}}],["than",{"0":{"46":1},"1":{"47":1},"2":{"21":1,"41":1,"49":1}}],["that",{"2":{"15":1,"23":2,"33":2,"34":1,"35":1,"38":1,"39":2,"41":1,"42":1,"46":4,"48":1,"52":1}}],["though",{"2":{"3":1,"12":1,"46":1}}],["there",{"2":{"27":1,"44":1}}],["then",{"2":{"25":1}}],["they",{"2":{"25":2}}],["their",{"2":{"25":2,"50":1}}],["them",{"2":{"7":1,"25":1,"48":1}}],["the",{"2":{"1":2,"3":9,"6":1,"7":4,"10":2,"12":9,"14":1,"15":5,"19":1,"21":1,"23":11,"24":1,"25":7,"26":3,"27":1,"32":3,"33":6,"34":8,"35":13,"37":2,"38":1,"41":11,"42":3,"43":5,"44":5,"46":7,"48":1,"49":1,"50":1,"52":4,"54":2,"56":2,"57":1}}],["dx",{"2":{"41":1}}],["databar",{"2":{"41":2}}],["data",{"2":{"33":1,"39":1,"41":1,"43":1,"45":1,"47":1,"51":1,"55":1,"57":1}}],["danger",{"2":{"33":1}}],["due",{"2":{"13":1,"35":1}}],["dropdown",{"2":{"41":1,"54":1}}],["dropimagedecodeerror",{"2":{"13":1,"39":1}}],["dropimagefetcherror",{"2":{"13":1,"39":1}}],["dropped",{"2":{"13":4}}],["drop",{"0":{"38":1},"1":{"39":1},"2":{"12":2,"13":2,"14":2,"15":2,"19":2,"38":1,"39":7}}],["draggingover",{"2":{"15":5}}],["dragging",{"2":{"15":1}}],["dragover=",{"2":{"15":1,"39":1}}],["dragover",{"0":{"15":1},"2":{"15":2,"39":5}}],["drag",{"0":{"38":1},"1":{"39":1},"2":{"12":1,"13":2,"38":1}}],["doctype",{"2":{"49":1}}],["document",{"2":{"43":9}}],["docs",{"2":{"4":1,"16":1,"28":1,"29":1,"30":1}}],["don",{"2":{"19":1,"23":1,"25":1,"33":1,"46":1,"51":2}}],["dom",{"2":{"15":1}}],["domain",{"2":{"13":1}}],["do",{"2":{"15":1}}],["does",{"2":{"7":1}}],["doesn",{"2":{"1":1,"34":1,"35":1,"43":1,"46":1}}],["did",{"2":{"27":1}}],["dist",{"2":{"49":2}}],["distributed",{"2":{"37":1}}],["display",{"2":{"41":1,"47":1,"57":1}}],["displayed",{"2":{"23":1,"56":1}}],["disabled=",{"2":{"53":1}}],["disabled",{"0":{"7":1},"2":{"7":1}}],["div>",{"2":{"15":1,"39":3,"41":4,"43":1,"45":3,"47":3,"49":2,"51":2,"53":2,"55":2,"57":5}}],["div",{"2":{"15":1,"19":1,"39":1,"43":1,"45":1,"47":1,"49":2,"57":3}}],["different",{"2":{"13":1,"26":1,"41":1}}],["directly",{"2":{"3":1,"12":1,"54":1}}],["dialog",{"2":{"3":1,"43":1,"54":1,"55":1}}],["destroyed",{"2":{"45":4}}],["destroy",{"2":{"44":1}}],["desk",{"2":{"41":1}}],["desktop",{"2":{"12":1,"38":1,"43":1}}],["delay",{"2":{"44":1,"57":1}}],["demos",{"2":{"48":1}}],["demo",{"0":{"40":1},"1":{"41":1},"2":{"33":1,"48":1,"49":2}}],["deviceid",{"2":{"41":3,"53":3}}],["device",{"2":{"27":1,"33":1,"34":2,"35":1,"41":3,"49":1,"50":1,"51":2,"53":4}}],["devices",{"2":{"3":1,"35":3,"41":2,"52":1,"53":5}}],["decision",{"2":{"25":1}}],["decoded",{"2":{"13":1,"23":2,"39":1,"46":3}}],["decode",{"0":{"4":1,"16":1,"28":1,"38":1,"54":1},"1":{"39":1,"55":1},"2":{"39":1,"41":1,"47":1,"55":1,"57":1}}],["deny",{"2":{"25":1}}],["denied",{"2":{"25":1,"27":1}}],["defined",{"2":{"19":1}}],["define",{"2":{"7":1}}],["defines",{"2":{"6":1,"14":1,"24":1,"33":1}}],["defaultconstraintoptions",{"2":{"41":3}}],["default",{"0":{"19":1,"37":1},"2":{"6":1,"14":1,"24":1,"32":1,"33":1,"34":1,"35":1,"39":1,"41":3,"43":1,"45":1,"47":1,"51":1,"55":2,"57":1}}],["detection",{"2":{"23":1,"41":1}}],["detect=",{"2":{"13":1,"23":1,"39":1,"41":1,"47":1,"49":1,"55":1,"57":1}}],["detectedcode",{"2":{"41":7,"49":2}}],["detectedcodes",{"2":{"23":1,"39":3,"41":9,"47":2,"49":4,"55":3}}],["detected",{"2":{"6":1,"14":1,"23":1,"24":1,"33":2,"41":2,"52":1}}],["detectedbarcode",{"2":{"3":1,"12":1,"23":1}}],["detect",{"0":{"3":1,"12":1,"23":1},"2":{"3":2,"4":1,"12":2,"16":1,"23":3,"28":1,"46":1}}],["depends",{"2":{"21":1}}],["depend",{"2":{"1":1,"10":1}}],["icon",{"2":{"53":2}}],["ie",{"2":{"43":2}}],["id=",{"2":{"41":1,"49":1}}],["id",{"2":{"41":2}}],["idk",{"2":{"13":1}}],["implementation",{"2":{"43":1}}],["important",{"2":{"43":1}}],["import",{"2":{"39":1,"41":2,"43":2,"45":1,"47":2,"51":2,"53":3,"55":1,"57":1}}],["img",{"2":{"43":2,"47":1,"51":2,"53":2}}],["img>",{"2":{"13":1}}],["image",{"2":{"3":1,"7":2,"12":2,"13":1,"39":1,"54":1}}],["images",{"2":{"3":2,"12":3,"38":1,"39":2}}],["if=",{"2":{"39":1,"45":2,"51":2,"53":2,"57":3}}],["if",{"2":{"3":1,"12":1,"13":2,"15":1,"19":1,"23":1,"25":1,"27":6,"32":1,"33":1,"34":1,"35":1,"39":2,"41":7,"43":10,"49":7,"51":2,"53":2,"54":1}}],["ios",{"2":{"1":1,"21":7,"41":1}}],["inconsistent",{"2":{"52":1}}],["increased",{"2":{"33":1}}],["index",{"2":{"43":1}}],["indicator",{"0":{"44":1},"1":{"45":1},"2":{"25":2,"44":1,"45":2}}],["indicated",{"2":{"3":1,"12":1,"23":1}}],["invasive",{"2":{"43":1}}],["invoke",{"2":{"41":1}}],["inline",{"2":{"41":1}}],["infrared",{"2":{"41":1}}],["initial",{"2":{"49":1}}],["initialization",{"2":{"27":1}}],["init",{"0":{"29":1}}],["internally",{"2":{"41":1}}],["internal",{"2":{"23":1}}],["into",{"2":{"12":1}}],["insecurecontexterror",{"2":{"41":1,"49":1}}],["instance",{"2":{"33":1}}],["installed",{"2":{"27":1,"41":2,"49":1}}],["instead",{"2":{"4":1,"15":1,"16":1,"28":1,"29":1,"30":1}}],["inside",{"2":{"19":1}}],["input",{"2":{"3":1,"7":3,"32":1,"33":1,"34":1,"35":1,"41":1}}],["in",{"2":{"1":1,"12":1,"21":1,"23":2,"25":1,"27":2,"33":3,"37":1,"41":7,"42":1,"43":1,"46":2,"48":2,"49":3,"52":1,"53":1,"55":1,"57":1}}],["itf",{"2":{"41":1}}],["items",{"2":{"23":1}}],["its",{"2":{"19":1,"33":1}}],["it",{"2":{"1":1,"19":1,"23":1,"25":3,"33":1,"38":1,"46":1,"54":1,"56":1,"57":1}}],["isvalid",{"2":{"57":6}}],["isdraggingover",{"2":{"39":2}}],["issue",{"2":{"13":1}}],["is",{"2":{"1":2,"3":3,"7":1,"10":2,"12":2,"13":1,"15":2,"19":1,"21":2,"23":6,"25":2,"26":2,"27":3,"32":2,"33":4,"34":6,"35":5,"39":1,"41":4,"43":2,"44":1,"46":5,"49":3,"52":1,"54":2,"56":2,"57":2}}],["switchcamera",{"2":{"51":2}}],["switch",{"0":{"50":1},"1":{"51":1},"2":{"51":3}}],["switching",{"2":{"26":1}}],["svg",{"2":{"43":2,"47":1,"51":1,"53":2}}],["skipping",{"2":{"43":1}}],["sponsored",{"2":{"52":1}}],["space",{"2":{"41":1,"42":1}}],["span>",{"2":{"41":1}}],["span",{"2":{"41":1}}],["spec",{"2":{"23":1}}],["src=",{"2":{"43":1,"47":1,"49":2,"51":1,"53":1}}],["src",{"2":{"39":1,"41":1,"43":1,"45":1,"47":1,"51":1,"53":1,"55":1,"57":1}}],["side",{"2":{"54":1}}],["single",{"2":{"48":1}}],["size",{"2":{"45":1,"57":1}}],["simply",{"2":{"42":1}}],["simple",{"0":{"48":1},"1":{"49":1},"2":{"3":1}}],["silently",{"2":{"35":1}}],["should",{"2":{"33":1,"38":1,"41":1}}],["showscanconfirmation",{"2":{"47":4}}],["show=",{"2":{"47":1}}],["show",{"0":{"44":1},"1":{"45":1},"2":{"25":1,"32":1,"44":1}}],["success",{"2":{"57":3}}],["successful",{"2":{"32":1}}],["suitable",{"2":{"27":1,"41":1,"49":1}}],["sure",{"2":{"25":1}}],["supports",{"2":{"54":1}}],["supporting",{"2":{"3":1}}],["supported",{"2":{"1":1,"6":1,"10":1,"14":1,"21":1,"23":1,"24":1,"35":4,"41":2,"49":1,"53":1}}],["support",{"0":{"1":1,"10":1,"21":1},"2":{"21":1,"35":1,"52":1}}],["s",{"2":{"23":2,"25":1,"39":1,"46":2,"57":1}}],["sans",{"2":{"41":1}}],["safe",{"2":{"33":1}}],["safari",{"2":{"21":2,"43":2}}],["same",{"0":{"46":1},"1":{"47":1},"2":{"3":2,"12":2,"13":1,"23":1,"35":2,"46":2}}],["solid",{"2":{"49":1}}],["sorry",{"2":{"39":1}}],["source",{"0":{"39":1,"41":1,"43":1,"45":1,"47":1,"49":1,"51":1,"53":1,"55":1,"57":1}}],["soon",{"2":{"25":1}}],["so",{"2":{"19":1,"32":1,"33":1,"34":1,"42":1,"43":2,"54":1,"56":1,"57":1}}],["sometimes",{"2":{"41":1}}],["something",{"2":{"15":1}}],["some",{"2":{"15":1,"32":1,"39":1,"44":1,"57":1}}],["slots",{"0":{"8":1,"18":1,"36":1},"1":{"19":1,"37":1},"2":{"8":1}}],["step",{"2":{"48":1}}],["style=",{"2":{"49":2}}],["style",{"2":{"41":1,"43":1,"45":1,"47":1,"51":1,"53":1,"57":1}}],["style>",{"2":{"39":2,"41":1,"43":1,"45":1,"47":1,"51":1,"53":1,"57":1}}],["styling",{"2":{"15":1}}],["store",{"2":{"33":1}}],["stuff",{"2":{"33":1}}],["stroketext",{"2":{"41":1}}],["strokerect",{"2":{"41":1,"49":1}}],["stroke",{"2":{"41":1}}],["strokestyle",{"2":{"41":3,"49":1}}],["stringify",{"2":{"39":1,"41":1,"47":1,"49":1,"55":1}}],["streamapinotsupportederror",{"2":{"27":1,"41":1,"49":1}}],["streaming",{"2":{"25":1}}],["stream>",{"2":{"23":1,"24":1,"25":1,"27":1,"34":1,"35":1,"37":2,"43":1,"45":1,"47":1,"49":1,"51":1,"53":1,"57":1}}],["stream",{"2":{"21":1,"23":2,"24":1,"25":2,"27":1,"33":1,"34":3,"35":2,"37":2,"41":2,"43":2,"44":1,"45":1,"47":1,"49":2,"51":1,"53":1,"56":1,"57":1}}],["structure",{"2":{"3":1,"12":1,"23":1}}],["still",{"2":{"3":1,"12":1,"23":1,"56":1}}],["standalone",{"2":{"38":1}}],["starting",{"2":{"52":1}}],["startfrontcamera",{"2":{"34":1}}],["start",{"2":{"25":1}}],["startswith",{"2":{"57":1}}],["starts",{"2":{"25":1}}],["started",{"2":{"3":1,"26":1}}],["stackoverflow",{"2":{"1":1}}],["scale=1",{"2":{"49":1}}],["scans",{"2":{"32":1}}],["scanning",{"2":{"25":1,"33":1,"41":1,"46":1,"54":1}}],["scanned",{"2":{"3":1,"12":1,"23":1,"38":1,"56":1}}],["scan",{"0":{"46":1},"1":{"47":1},"2":{"23":1,"46":1,"47":2}}],["scoped>",{"2":{"41":1,"43":1,"45":1,"47":1,"51":1,"53":1,"57":1}}],["script",{"2":{"41":1,"49":2,"53":1}}],["script>",{"2":{"39":2,"41":1,"43":2,"45":2,"47":2,"49":4,"51":2,"53":1,"55":2,"57":2}}],["screen",{"2":{"1":1,"21":1,"42":1}}],["secure",{"2":{"41":2,"49":2}}],["second",{"2":{"23":1,"25":1,"33":2,"46":1}}],["serif`",{"2":{"41":1}}],["served",{"2":{"27":1}}],["several",{"2":{"33":1}}],["settimeout",{"2":{"47":1,"57":1}}],["setting",{"2":{"32":1}}],["setup",{"2":{"41":1,"49":1,"53":1}}],["set",{"2":{"7":1}}],["select>",{"2":{"41":2,"53":1,"55":1}}],["select",{"2":{"3":1,"41":6,"53":1,"55":1}}],["selectedbarcodeformats",{"2":{"41":2}}],["selectedconstraints",{"2":{"41":3}}],["selected",{"2":{"3":1,"53":6,"55":3}}],["seem",{"2":{"51":2}}],["seems",{"2":{"27":1}}],["see",{"2":{"1":2,"10":1,"21":6,"48":1}}],["new",{"2":{"23":1,"34":1,"47":1,"57":1}}],["newest",{"2":{"1":1,"10":1}}],["need",{"2":{"15":1,"25":1,"41":1,"48":1,"49":1}}],["null",{"2":{"7":2,"39":3,"43":1,"53":3,"55":1,"57":1}}],["navigator",{"2":{"41":1,"53":1}}],["name",{"2":{"13":2,"27":6,"34":1,"39":2,"41":8,"49":8,"51":1}}],["name=",{"2":{"7":1,"49":1}}],["native",{"2":{"1":1,"10":1,"15":2,"21":2}}],["norearcamera",{"2":{"51":3}}],["nofrontcamera",{"2":{"51":3}}],["nowrap",{"2":{"41":1,"47":1,"57":1}}],["none",{"2":{"27":1}}],["no",{"2":{"3":1,"8":1,"12":1,"17":1,"21":1,"27":1,"34":1,"41":1,"49":1}}],["noticed",{"2":{"46":1}}],["nothing",{"2":{"41":1,"54":1}}],["note",{"2":{"33":1,"41":1,"43":1,"52":1}}],["notreadableerror",{"2":{"27":1,"41":1,"49":1}}],["notsupportederror",{"2":{"27":1,"41":1,"49":1}}],["notfounderror",{"2":{"27":1,"41":1,"49":1}}],["notallowederror",{"2":{"27":1,"41":1,"49":1}}],["not",{"2":{"1":1,"7":1,"10":1,"13":1,"15":1,"21":1,"27":1,"33":1,"35":2,"39":1,"41":3,"42":2,"49":2,"53":1,"54":1,"57":1}}]],"serializationVersion":2}';export{e as default}; diff --git a/assets/chunks/@localSearchIndexroot.ZwSxP_J3.js b/assets/chunks/@localSearchIndexroot.ZwSxP_J3.js new file mode 100644 index 00000000..8e35cb7d --- /dev/null +++ b/assets/chunks/@localSearchIndexroot.ZwSxP_J3.js @@ -0,0 +1 @@ +const e='{"documentCount":58,"nextId":58,"documentIds":{"0":"/vue-qrcode-reader/api/QrcodeCapture.html#qrcodecapture","1":"/vue-qrcode-reader/api/QrcodeCapture.html#browser-support","2":"/vue-qrcode-reader/api/QrcodeCapture.html#events","3":"/vue-qrcode-reader/api/QrcodeCapture.html#detect","4":"/vue-qrcode-reader/api/QrcodeCapture.html#decode","5":"/vue-qrcode-reader/api/QrcodeCapture.html#props","6":"/vue-qrcode-reader/api/QrcodeCapture.html#formats","7":"/vue-qrcode-reader/api/QrcodeCapture.html#disabled-capture-multiple","8":"/vue-qrcode-reader/api/QrcodeCapture.html#slots","9":"/vue-qrcode-reader/api/QrcodeDropZone.html#qrcodedropzone","10":"/vue-qrcode-reader/api/QrcodeDropZone.html#browser-support","11":"/vue-qrcode-reader/api/QrcodeDropZone.html#events","12":"/vue-qrcode-reader/api/QrcodeDropZone.html#detect","13":"/vue-qrcode-reader/api/QrcodeDropZone.html#error","14":"/vue-qrcode-reader/api/QrcodeDropZone.html#formats","15":"/vue-qrcode-reader/api/QrcodeDropZone.html#dragover","16":"/vue-qrcode-reader/api/QrcodeDropZone.html#decode","17":"/vue-qrcode-reader/api/QrcodeDropZone.html#props","18":"/vue-qrcode-reader/api/QrcodeDropZone.html#slots","19":"/vue-qrcode-reader/api/QrcodeDropZone.html#default","20":"/vue-qrcode-reader/api/QrcodeStream.html#qrcodestream","21":"/vue-qrcode-reader/api/QrcodeStream.html#browser-support","22":"/vue-qrcode-reader/api/QrcodeStream.html#events","23":"/vue-qrcode-reader/api/QrcodeStream.html#detect","24":"/vue-qrcode-reader/api/QrcodeStream.html#formats","25":"/vue-qrcode-reader/api/QrcodeStream.html#camera-on","26":"/vue-qrcode-reader/api/QrcodeStream.html#camera-off","27":"/vue-qrcode-reader/api/QrcodeStream.html#error","28":"/vue-qrcode-reader/api/QrcodeStream.html#decode","29":"/vue-qrcode-reader/api/QrcodeStream.html#init","30":"/vue-qrcode-reader/api/QrcodeStream.html#camera","31":"/vue-qrcode-reader/api/QrcodeStream.html#props","32":"/vue-qrcode-reader/api/QrcodeStream.html#paused","33":"/vue-qrcode-reader/api/QrcodeStream.html#track","34":"/vue-qrcode-reader/api/QrcodeStream.html#constraints","35":"/vue-qrcode-reader/api/QrcodeStream.html#torch","36":"/vue-qrcode-reader/api/QrcodeStream.html#slots","37":"/vue-qrcode-reader/api/QrcodeStream.html#default","38":"/vue-qrcode-reader/demos/DragDrop.html#decode-by-drag-drop","39":"/vue-qrcode-reader/demos/DragDrop.html#source","40":"/vue-qrcode-reader/demos/FullDemo.html#full-demo","41":"/vue-qrcode-reader/demos/FullDemo.html#source","42":"/vue-qrcode-reader/demos/Fullscreen.html#fullscreen","43":"/vue-qrcode-reader/demos/Fullscreen.html#source","44":"/vue-qrcode-reader/demos/LoadingIndicator.html#show-loading-indicator","45":"/vue-qrcode-reader/demos/LoadingIndicator.html#source","46":"/vue-qrcode-reader/demos/ScanSameQrcodeMoreThanOnce.html#scan-same-qr-code-more-than-once","47":"/vue-qrcode-reader/demos/ScanSameQrcodeMoreThanOnce.html#source","48":"/vue-qrcode-reader/demos/Simple.html#simple","49":"/vue-qrcode-reader/demos/Simple.html#source","50":"/vue-qrcode-reader/demos/SwitchCamera.html#switch-to-front-camera","51":"/vue-qrcode-reader/demos/SwitchCamera.html#source","52":"/vue-qrcode-reader/demos/Torch.html#torch-flashlight","53":"/vue-qrcode-reader/demos/Torch.html#source","54":"/vue-qrcode-reader/demos/Upload.html#decode-by-upload","55":"/vue-qrcode-reader/demos/Upload.html#source","56":"/vue-qrcode-reader/demos/Validate.html#pause-validate","57":"/vue-qrcode-reader/demos/Validate.html#source"},"fieldIds":{"title":0,"titles":1,"text":2},"fieldLength":{"0":[1,1,1],"1":[2,1,39],"2":[1,1,1],"3":[1,2,69],"4":[1,2,8],"5":[1,1,1],"6":[1,2,25],"7":[4,2,60],"8":[1,1,3],"9":[1,1,1],"10":[2,1,19],"11":[1,1,1],"12":[1,2,64],"13":[1,2,67],"14":[1,2,26],"15":[1,2,65],"16":[1,2,8],"17":[1,1,3],"18":[1,1,1],"19":[1,2,36],"20":[1,1,1],"21":[2,1,58],"22":[1,1,1],"23":[1,2,141],"24":[1,2,92],"25":[2,2,105],"26":[2,2,32],"27":[1,2,73],"28":[1,2,8],"29":[1,2,10],"30":[1,2,8],"31":[1,1,1],"32":[1,2,33],"33":[1,2,105],"34":[1,2,101],"35":[1,2,98],"36":[1,1,1],"37":[1,2,21],"38":[5,1,27],"39":[1,6,106],"40":[2,1,1],"41":[1,3,325],"42":[1,1,26],"43":[1,2,148],"44":[3,1,30],"45":[1,4,61],"46":[7,1,67],"47":[1,8,99],"48":[1,1,38],"49":[1,2,154],"50":[4,1,16],"51":[1,5,90],"52":[3,1,43],"53":[1,3,118],"54":[3,1,52],"55":[1,4,67],"56":[3,1,29],"57":[1,4,134]},"averageFieldLength":[1.5172413793103448,1.9310344827586208,52.034482758620705],"storedFields":{"0":{"title":"QrcodeCapture","titles":[]},"1":{"title":"Browser Support","titles":["QrcodeCapture"]},"2":{"title":"Events","titles":["QrcodeCapture"]},"3":{"title":"detect","titles":["QrcodeCapture","Events"]},"4":{"title":"decode","titles":["QrcodeCapture","Events"]},"5":{"title":"Props","titles":["QrcodeCapture"]},"6":{"title":"formats","titles":["QrcodeCapture","Props"]},"7":{"title":"disabled, capture, multiple, ...","titles":["QrcodeCapture","Props"]},"8":{"title":"Slots","titles":["QrcodeCapture"]},"9":{"title":"QrcodeDropZone","titles":[]},"10":{"title":"Browser Support","titles":["QrcodeDropZone"]},"11":{"title":"Events","titles":["QrcodeDropZone"]},"12":{"title":"detect","titles":["QrcodeDropZone","Events"]},"13":{"title":"error","titles":["QrcodeDropZone","Events"]},"14":{"title":"formats","titles":["QrcodeDropZone","Events"]},"15":{"title":"dragover","titles":["QrcodeDropZone","Events"]},"16":{"title":"decode","titles":["QrcodeDropZone","Events"]},"17":{"title":"Props","titles":["QrcodeDropZone"]},"18":{"title":"Slots","titles":["QrcodeDropZone"]},"19":{"title":"default","titles":["QrcodeDropZone","Slots"]},"20":{"title":"QrcodeStream","titles":[]},"21":{"title":"Browser Support","titles":["QrcodeStream"]},"22":{"title":"Events","titles":["QrcodeStream"]},"23":{"title":"detect","titles":["QrcodeStream","Events"]},"24":{"title":"formats","titles":["QrcodeStream","Events"]},"25":{"title":"camera-on","titles":["QrcodeStream","Events"]},"26":{"title":"camera-off","titles":["QrcodeStream","Events"]},"27":{"title":"error","titles":["QrcodeStream","Events"]},"28":{"title":"decode","titles":["QrcodeStream","Events"]},"29":{"title":"init","titles":["QrcodeStream","Events"]},"30":{"title":"camera","titles":["QrcodeStream","Events"]},"31":{"title":"Props","titles":["QrcodeStream"]},"32":{"title":"paused","titles":["QrcodeStream","Props"]},"33":{"title":"track","titles":["QrcodeStream","Props"]},"34":{"title":"constraints","titles":["QrcodeStream","Props"]},"35":{"title":"torch","titles":["QrcodeStream","Props"]},"36":{"title":"Slots","titles":["QrcodeStream"]},"37":{"title":"default","titles":["QrcodeStream","Slots"]},"38":{"title":"Decode by Drag&Drop","titles":[]},"39":{"title":"Source","titles":["Decode by Drag&Drop",null]},"40":{"title":"Full Demo","titles":[]},"41":{"title":"Source","titles":["Full Demo",null]},"42":{"title":"Fullscreen","titles":[]},"43":{"title":"Source","titles":["Fullscreen",null]},"44":{"title":"Show Loading Indicator","titles":[]},"45":{"title":"Source","titles":["Show Loading Indicator",null]},"46":{"title":"Scan Same QR Code More Than Once","titles":[]},"47":{"title":"Source","titles":["Scan Same QR Code More Than Once",null]},"48":{"title":"Simple","titles":[]},"49":{"title":"Source","titles":["Simple",null]},"50":{"title":"Switch to Front Camera","titles":[]},"51":{"title":"Source","titles":["Switch to Front Camera",null]},"52":{"title":"Torch (Flashlight)","titles":[]},"53":{"title":"Source","titles":["Torch (Flashlight)",null]},"54":{"title":"Decode by Upload","titles":[]},"55":{"title":"Source","titles":["Decode by Upload",null]},"56":{"title":"Pause & Validate","titles":[]},"57":{"title":"Source","titles":["Pause & Validate",null]}},"dirtCount":0,"index":[["|",{"2":{"53":1}}],["\\t\\t",{"2":{"49":1}}],["\\t",{"2":{"49":2}}],["8",{"2":{"41":1,"47":1,"49":1,"57":1}}],["82",{"2":{"23":3}}],["$nexttick",{"2":{"45":1}}],["$refs",{"2":{"43":1}}],["$",{"2":{"41":3,"49":1}}],["`requestfullscreen`",{"2":{"43":3}}],["`bold",{"2":{"41":1}}],["`",{"2":{"41":3,"49":2}}],["`$",{"2":{"41":1}}],["`camera",{"2":{"41":1}}],["`qrcodestream`",{"2":{"41":1}}],["`enumeratedevices`",{"2":{"41":1}}],["+=",{"2":{"41":8,"49":8}}],["+",{"2":{"39":1,"41":2}}],["keys",{"2":{"41":2}}],["key=",{"2":{"41":3,"53":1,"55":1}}],["kind",{"2":{"39":1,"41":2,"53":2}}],["know",{"2":{"25":1}}],["green",{"2":{"57":1}}],["grained",{"2":{"41":1}}],["grant",{"2":{"25":1,"41":1,"49":1}}],["global",{"2":{"49":1}}],["guarantee",{"2":{"41":1}}],["given",{"2":{"41":1}}],["g",{"2":{"41":1}}],["go",{"2":{"33":1,"42":1}}],["getusermedia",{"2":{"34":2}}],["get",{"2":{"25":1}}],["gt",{"2":{"25":1}}],["5",{"2":{"49":1}}],["5cb984",{"2":{"41":1}}],["50px",{"2":{"51":2,"53":2}}],["500",{"2":{"47":1}}],["50",{"2":{"41":1}}],["542",{"2":{"23":1}}],["566",{"2":{"23":2}}],["93",{"2":{"41":1}}],["94",{"2":{"23":1}}],["91",{"2":{"23":1}}],["70",{"2":{"23":3}}],["76",{"2":{"21":1}}],["x26",{"2":{"34":2,"51":4,"57":2}}],["x",{"2":{"23":10,"41":7,"49":2}}],["x3c",{"2":{"6":2,"7":5,"13":4,"14":2,"15":5,"19":4,"23":2,"24":2,"25":2,"27":2,"34":2,"35":2,"37":4,"39":18,"41":37,"43":13,"45":14,"47":17,"49":31,"51":17,"53":21,"55":18,"57":20}}],["2px",{"2":{"49":1}}],["255",{"2":{"47":3,"57":3}}],["258",{"2":{"23":2}}],["2000",{"2":{"57":1}}],["20px",{"2":{"45":1}}],["206",{"2":{"1":1,"10":1,"21":1}}],["2rem",{"2":{"43":1,"45":1}}],["2",{"2":{"41":3,"49":1}}],["240",{"2":{"23":2}}],["244",{"2":{"23":2}}],["260",{"2":{"23":2}}],["29",{"2":{"21":2}}],["4rem",{"2":{"57":1}}],["4",{"2":{"21":1}}],["48",{"2":{"21":1}}],["lang=",{"2":{"41":1,"49":1,"53":1}}],["label>",{"2":{"41":1}}],["label",{"2":{"41":8,"53":2}}],["lacking",{"2":{"27":1}}],["last",{"2":{"23":1,"39":1,"41":1,"46":1,"47":1,"55":1,"56":1,"57":1}}],["lt",{"2":{"25":1}}],["length",{"2":{"53":1}}],["less",{"2":{"42":1}}],["leaks",{"2":{"33":1}}],["least",{"2":{"21":3}}],["left",{"2":{"23":2,"43":1,"51":1,"53":1}}],["long",{"2":{"57":2}}],["low",{"2":{"52":1}}],["log",{"2":{"39":1,"41":1,"53":1,"55":1}}],["logerrors",{"2":{"39":2,"43":2}}],["looks",{"2":{"56":1}}],["look",{"2":{"33":1}}],["location",{"2":{"33":2}}],["localhost",{"2":{"21":2,"27":1,"41":2,"49":2}}],["load",{"2":{"39":1}}],["loading",{"0":{"44":1},"1":{"45":1},"2":{"25":2,"44":1,"45":7}}],["loaded",{"2":{"23":1,"25":1,"35":1}}],["light",{"2":{"52":1}}],["linear",{"2":{"41":1}}],["linewidth",{"2":{"41":2,"49":1}}],["lineto",{"2":{"41":2}}],["link",{"2":{"4":1}}],["limitations",{"2":{"35":1}}],["limited",{"2":{"21":1}}],["like",{"2":{"33":2,"48":1,"56":1}}],["listen",{"2":{"15":1,"25":1,"44":1}}],["z",{"2":{"43":1}}],["zero",{"2":{"19":1}}],["zone>",{"2":{"13":1,"14":1,"15":1,"19":2,"39":1}}],["zone",{"2":{"13":1,"14":1,"15":1,"39":1}}],["007bff",{"2":{"41":1,"49":1}}],["0",{"2":{"16":2,"28":2,"29":2,"30":2,"43":6,"47":1,"49":1,"53":2,"55":1,"57":1}}],["=>",{"2":{"39":1,"41":5,"47":2,"49":1,"53":3,"55":1,"57":1}}],["==",{"2":{"39":1,"43":1,"53":1}}],["===",{"2":{"13":2,"27":6,"34":2,"39":2,"41":8,"49":7,"51":3,"53":1,"57":3}}],["=",{"2":{"15":1,"34":3,"35":1,"39":5,"41":29,"43":3,"45":4,"47":5,"49":9,"51":7,"53":9,"55":2,"57":5}}],["ツ",{"2":{"13":1}}],["¯",{"2":{"13":2}}],["js",{"2":{"49":2}}],["jsmethods",{"2":{"35":1}}],["jsdata",{"2":{"34":1}}],["jsnavigator",{"2":{"34":1}}],["json",{"2":{"23":1,"39":1,"41":1,"47":1,"49":1,"55":1}}],["javascriptdata",{"2":{"15":1}}],["javascriptmethods",{"2":{"13":1,"23":1,"25":1,"27":1}}],["justify",{"2":{"47":1,"57":1}}],["just",{"2":{"13":1,"56":1}}],["using",{"2":{"52":1}}],["useful",{"2":{"32":1}}],["users",{"2":{"23":1,"25":3,"38":1,"50":1,"57":1}}],["user",{"2":{"15":1,"25":1,"27":1,"34":2,"41":2,"43":2,"51":3,"55":1}}],["use",{"2":{"4":1,"7":1,"15":1,"16":1,"24":3,"27":1,"28":1,"29":1,"30":1,"34":2,"38":1,"41":3,"43":1,"48":1,"49":3,"52":1}}],["umd",{"2":{"49":1}}],["utf",{"2":{"49":1}}],["utilize",{"2":{"48":1}}],["uploaded",{"2":{"54":2}}],["upload",{"0":{"54":1},"1":{"55":1},"2":{"54":1}}],["upc",{"2":{"41":2}}],["ups",{"2":{"39":1}}],["unpkg",{"2":{"49":2}}],["unpause",{"2":{"32":1}}],["undefined",{"2":{"33":1,"41":1,"57":3}}],["understand",{"2":{"25":1}}],["under",{"2":{"24":1}}],["unsupported",{"2":{"13":1,"35":1}}],["url",{"2":{"13":2,"57":2}}],["v",{"2":{"39":1,"41":6,"45":2,"47":1,"51":2,"53":5,"55":2,"57":3}}],["via",{"2":{"54":1}}],["vite",{"2":{"48":1}}],["vitepress",{"2":{"43":1,"47":1,"51":1,"53":1}}],["visible",{"2":{"44":1}}],["visually",{"2":{"33":1,"41":1}}],["viewport",{"2":{"43":1,"49":1}}],["view",{"2":{"41":1,"46":1}}],["videoinput",{"2":{"41":1,"53":1}}],["videodevices",{"2":{"41":2}}],["video",{"2":{"34":1}}],["violation",{"2":{"13":1}}],["void",{"2":{"26":1}}],["vary",{"2":{"35":1}}],["variety",{"2":{"41":2}}],["varies",{"2":{"24":1}}],["various",{"2":{"34":1}}],["value=",{"2":{"41":2,"53":1,"55":1}}],["value",{"2":{"23":1,"41":19,"49":10,"53":6,"55":4}}],["validationpending",{"2":{"57":2}}],["validationfailure",{"2":{"57":2}}],["validation",{"2":{"57":9}}],["validationsuccess",{"2":{"57":2}}],["validate",{"0":{"56":1},"1":{"57":1}}],["valid",{"2":{"7":1}}],["v4",{"2":{"16":1,"28":1,"29":1,"30":1}}],["vueqrcodereader",{"2":{"49":1}}],["vuex",{"2":{"33":1}}],["vues",{"2":{"15":1}}],["vue",{"2":{"1":1,"7":1,"10":1,"21":1,"39":1,"41":2,"43":1,"45":1,"47":1,"49":5,"51":1,"53":2,"55":1,"57":1}}],["rgba",{"2":{"47":1,"57":1}}],["rather",{"2":{"41":1,"43":1,"49":1}}],["rawvalue",{"2":{"23":2,"39":1,"41":4,"47":1,"49":1,"55":1,"57":1}}],["rm",{"2":{"41":1}}],["row",{"2":{"23":1,"46":1,"47":1}}],["root",{"2":{"7":1}}],["right",{"2":{"23":2,"41":1,"43":2,"48":1}}],["reload",{"2":{"45":2}}],["reloaded",{"2":{"35":1}}],["re",{"2":{"44":1,"45":1}}],["ref=",{"2":{"43":1}}],["ref",{"2":{"41":7,"49":3,"53":5}}],["red",{"2":{"39":1,"41":2,"49":1,"51":1,"53":1,"57":1}}],["received",{"2":{"56":1}}],["receives",{"2":{"33":1}}],["recognized",{"2":{"3":1,"12":1}}],["required",{"2":{"41":1,"49":1}}],["requires",{"2":{"21":2}}],["requestfullscreen",{"2":{"43":4}}],["requested",{"2":{"34":1}}],["requesting",{"2":{"34":1,"41":1}}],["request",{"2":{"27":1}}],["resolve",{"2":{"47":2,"57":2}}],["resolves",{"2":{"25":1}}],["resetvalidationstate",{"2":{"57":2}}],["reset",{"2":{"46":1}}],["resets",{"2":{"23":1}}],["result",{"2":{"39":5,"41":5,"47":5,"49":5,"55":5,"57":6}}],["results",{"2":{"3":1,"12":1,"23":2}}],["restarted",{"2":{"26":1,"32":1}}],["read",{"2":{"57":1}}],["reader",{"2":{"49":2}}],["ready",{"2":{"25":2}}],["reactive",{"2":{"33":1}}],["reacting",{"2":{"15":1}}],["real",{"2":{"33":1,"41":1}}],["really",{"2":{"15":1,"57":1}}],["reasons",{"2":{"27":1}}],["rear",{"2":{"26":1,"34":1,"35":1,"41":2,"50":1,"51":1,"55":1}}],["return",{"2":{"15":1,"34":1,"39":1,"41":1,"43":3,"45":1,"47":2,"49":1,"51":1,"53":2,"55":1,"57":5}}],["remove",{"2":{"7":1}}],["renders",{"2":{"3":1,"19":1}}],[">destroy",{"2":{"45":1}}],[">",{"2":{"6":1,"7":3,"13":2,"14":1,"15":3,"23":1,"24":1,"25":1,"27":1,"34":1,"35":1,"39":4,"41":12,"43":4,"45":2,"47":4,"49":9,"51":5,"53":8,"55":5,"57":5}}],["hr",{"2":{"55":1}}],["h1>",{"2":{"49":1}}],["h1>simple",{"2":{"49":1}}],["hits",{"2":{"43":1}}],["hide",{"2":{"25":1}}],["highlighted",{"2":{"41":1}}],["highlight",{"2":{"15":1,"33":1}}],["how",{"2":{"25":1,"33":1}}],["however",{"2":{"23":1,"46":1}}],["hood",{"2":{"24":1}}],["hold",{"2":{"23":1}}],["home",{"2":{"1":1,"21":1}}],["http",{"2":{"41":1,"49":1,"57":1}}],["https",{"2":{"21":2,"23":1,"27":1,"41":2,"49":4}}],["html>",{"2":{"49":2}}],["html",{"2":{"6":1,"7":3,"13":1,"14":1,"15":1,"19":1,"23":1,"24":1,"25":1,"27":1,"34":1,"35":1,"37":1,"49":2}}],["handling",{"2":{"41":2}}],["happening",{"2":{"54":1}}],["happened",{"2":{"41":1}}],["happen",{"2":{"27":1}}],["happens",{"2":{"26":1}}],["have",{"2":{"19":1,"24":1,"34":1,"41":1,"46":1,"51":2,"57":1}}],["has",{"2":{"13":1,"25":2,"26":1,"33":1,"35":2,"41":2}}],["head>",{"2":{"49":2}}],["header",{"2":{"13":1}}],["hello",{"2":{"23":1}}],["help",{"2":{"21":1}}],["here",{"2":{"19":1,"23":1,"37":1,"39":1}}],["height",{"2":{"19":2,"23":2,"39":1,"41":3,"47":1,"49":2,"51":1,"53":1,"57":1}}],["fullscreenelement",{"2":{"43":1}}],["fullscreenicon",{"2":{"43":2}}],["fullscreenchange=",{"2":{"43":1}}],["fullscreen",{"0":{"42":1},"1":{"43":1},"2":{"42":1,"43":16}}],["full",{"0":{"40":1},"1":{"41":1}}],["functons",{"2":{"41":1}}],["function",{"2":{"33":5,"41":6,"49":3,"53":2}}],["fundamentally",{"2":{"21":1}}],["following",{"2":{"41":1,"54":1}}],["fontsize",{"2":{"41":2}}],["font",{"2":{"39":2,"41":2,"45":2,"51":1,"53":1,"57":2}}],["force",{"2":{"44":1,"55":1}}],["for=",{"2":{"41":4,"53":1,"55":1}}],["format",{"2":{"23":2,"24":1,"41":4}}],["formats=",{"2":{"6":1,"14":1,"24":1,"41":1}}],["formats",{"0":{"6":1,"14":1,"24":1},"2":{"6":4,"14":4,"24":8,"41":2}}],["for",{"2":{"3":1,"12":1,"15":1,"16":1,"21":4,"23":1,"24":1,"25":3,"26":1,"28":1,"29":1,"30":1,"33":1,"34":3,"35":1,"38":1,"41":5,"43":1,"44":1,"48":1,"49":1,"53":1}}],["fff",{"2":{"39":1}}],["flow",{"2":{"47":1,"57":1}}],["flooded",{"2":{"23":1,"46":1}}],["flex",{"2":{"47":2,"57":2}}],["flash",{"2":{"53":2}}],["flashlight",{"0":{"52":1},"1":{"53":1},"2":{"35":3,"52":2}}],["flavor",{"2":{"41":1}}],["feature",{"2":{"33":1,"38":1,"52":1}}],["features",{"2":{"27":1}}],["fetched",{"2":{"13":1}}],["failure",{"2":{"57":3}}],["fails",{"2":{"27":1,"35":1}}],["facingmode",{"2":{"34":5,"41":3,"51":7}}],["fallback",{"2":{"38":1}}],["falls",{"2":{"24":1}}],["fallthrough",{"2":{"7":1}}],["false",{"2":{"15":1,"32":1,"34":1,"35":1,"39":1,"41":20,"43":1,"45":3,"47":4,"51":2,"53":2,"57":3}}],["frequency",{"2":{"33":1}}],["freezes",{"2":{"32":1}}],["frame",{"2":{"33":1,"56":1}}],["frames",{"2":{"23":1}}],["front",{"0":{"50":1},"1":{"51":1},"2":{"26":1,"27":1,"34":3,"35":1,"41":2,"50":1,"51":1,"55":1}}],["from",{"2":{"12":1,"13":1,"23":1,"35":1,"39":1,"41":2,"43":2,"45":1,"47":2,"51":2,"53":3,"55":1,"57":1}}],["frustrated",{"2":{"25":1}}],["finally",{"2":{"54":1}}],["fine",{"2":{"41":1}}],["fixed",{"2":{"43":1}}],["film",{"2":{"41":1}}],["filltext",{"2":{"41":1}}],["fillstyle",{"2":{"41":1}}],["filter",{"2":{"41":2,"53":1}}],["files",{"2":{"12":1}}],["file",{"2":{"3":2,"7":1,"13":3,"48":1,"54":2,"55":1}}],["filereader",{"2":{"1":1,"10":1}}],["firstdetectedcode",{"2":{"57":2}}],["firstpoint",{"2":{"41":5}}],["first",{"2":{"25":1,"33":1}}],["firefox",{"2":{"21":1,"43":2}}],["ms",{"2":{"47":2,"57":2}}],["msexitfullscreen",{"2":{"43":2}}],["msrequestfullscreen",{"2":{"43":2}}],["must",{"2":{"34":1,"35":1}}],["multiple",{"0":{"7":1},"2":{"3":1,"7":1,"12":1,"23":3,"41":1,"46":2}}],["micro",{"2":{"41":1}}],["microinteraction",{"2":{"32":1}}],["might",{"2":{"15":1,"24":1,"25":2,"33":2,"43":1,"46":1,"52":1}}],["margin",{"2":{"41":1,"43":1,"45":1}}],["matrix",{"2":{"41":2}}],["math",{"2":{"41":1}}],["maxi",{"2":{"41":1}}],["max",{"2":{"41":1}}],["map",{"2":{"39":1,"41":2,"47":1,"49":1,"55":1}}],["maybe",{"2":{"27":1}}],["manually",{"2":{"25":1}}],["make",{"2":{"7":1,"25":1,"52":1}}],["memo=",{"2":{"53":1}}],["memory",{"2":{"33":1}}],["meta",{"2":{"49":2}}],["methods",{"2":{"15":1,"34":1,"39":1,"43":1,"45":1,"47":1,"51":1,"55":1,"57":1}}],["message",{"2":{"39":1,"41":1,"49":1,"57":1}}],["means",{"2":{"35":1}}],["mediadeviceinfo",{"2":{"53":2}}],["mediadevices",{"2":{"34":1,"41":1,"53":1}}],["mediatrackconstriants",{"2":{"34":1}}],["mediatrackconstraints",{"2":{"34":1}}],["mediatrackcapabilities",{"2":{"25":2,"35":1}}],["merely",{"2":{"19":1}}],["mozcancelfullscreen",{"2":{"43":2}}],["mozrequestfullscreen",{"2":{"43":2}}],["move",{"2":{"43":1}}],["moveto",{"2":{"41":1}}],["mounting",{"2":{"44":1}}],["mount",{"2":{"25":1,"49":1}}],["more",{"0":{"46":1},"1":{"47":1},"2":{"24":3,"41":3,"42":1,"57":1}}],["moment",{"2":{"23":1,"35":1}}],["modified",{"2":{"26":1,"34":1}}],["modifier",{"2":{"15":1}}],["modify",{"2":{"24":1}}],["model=",{"2":{"41":3,"53":1,"55":1}}],["modern",{"2":{"41":1}}],["mode",{"2":{"1":1,"21":1}}],["mobile",{"2":{"3":1,"41":1,"43":1,"54":1}}],["y",{"2":{"23":10,"41":7,"49":2}}],["your",{"2":{"12":1,"25":1,"33":2,"43":1,"46":1,"48":1,"51":2,"54":2}}],["you",{"2":{"3":1,"7":2,"12":2,"15":2,"19":1,"23":3,"24":4,"25":5,"27":1,"32":2,"33":3,"34":4,"35":3,"38":1,"39":1,"41":4,"43":1,"46":3,"48":1,"49":1,"50":1,"51":2,"52":2,"54":3,"56":1}}],["yes²",{"2":{"21":1}}],["yes¹",{"2":{"1":1,"21":1}}],["yes",{"2":{"1":3,"10":4,"21":2}}],["black",{"2":{"49":1,"57":1}}],["block",{"2":{"41":1}}],["build",{"2":{"48":1}}],["bundler",{"2":{"48":1}}],["button>",{"2":{"43":1,"45":1,"51":1,"53":1}}],["button",{"2":{"43":6,"44":1,"45":2,"51":3,"53":3}}],["but",{"2":{"7":1,"23":1,"24":1,"35":2,"41":2,"43":1,"54":1}}],["break",{"2":{"51":2}}],["br",{"2":{"41":1}}],["browsers",{"2":{"21":1,"24":1,"35":1,"52":1}}],["browser",{"0":{"1":1,"10":1,"21":1},"2":{"24":1,"27":1,"35":1,"41":1,"48":1,"49":1,"54":1}}],["background",{"2":{"39":2,"43":1,"47":1,"57":1}}],["back",{"2":{"24":1,"43":1}}],["barcodeformats",{"2":{"41":5}}],["barcodedetector",{"2":{"24":1}}],["barcodedetectoroptions",{"2":{"6":1,"14":1,"24":1}}],["barcode",{"2":{"6":1,"14":1,"23":1,"24":3,"41":4}}],["border",{"2":{"49":1}}],["body>",{"2":{"49":2}}],["box",{"2":{"41":1}}],["bounding",{"2":{"41":1}}],["boundingbox",{"2":{"23":2,"41":7,"49":1}}],["bold",{"2":{"39":2,"41":1,"45":1,"51":1,"53":1,"57":1}}],["bottom",{"2":{"23":2,"43":2,"45":1}}],["boolean",{"2":{"15":1,"32":1,"35":1}}],["b>stuff",{"2":{"37":1}}],["b>",{"2":{"19":1,"37":1,"39":2,"41":2,"47":2,"49":2,"55":2,"57":2}}],["b>put",{"2":{"19":1}}],["behavior",{"2":{"54":1}}],["below",{"2":{"44":1}}],["beginpath",{"2":{"41":1}}],["best",{"2":{"41":1}}],["been",{"2":{"35":1}}],["between",{"2":{"26":1,"44":1}}],["before",{"2":{"25":2,"41":1}}],["becoming",{"2":{"44":1}}],["becomes",{"2":{"24":1,"41":1,"43":1}}],["because",{"2":{"7":2,"25":1}}],["be",{"2":{"3":1,"12":1,"13":2,"15":1,"23":1,"25":2,"26":1,"27":1,"33":2,"34":1,"35":2,"38":1,"39":1,"46":1,"52":1,"54":1}}],["by",{"0":{"38":1,"54":1},"1":{"39":1,"55":1},"2":{"3":1,"12":1,"15":1,"19":1,"23":1,"24":1,"35":1,"41":4,"43":1,"52":1,"56":1}}],["ok",{"2":{"39":1}}],["occur",{"2":{"34":1}}],["occupies",{"2":{"12":1,"42":1}}],["option>",{"2":{"41":2,"53":1,"55":1}}],["option",{"2":{"41":16,"53":1,"55":5}}],["options",{"2":{"34":1,"55":4}}],["opera",{"2":{"43":2}}],["operating",{"2":{"24":1}}],["open",{"2":{"13":1}}],["opens",{"2":{"3":1}}],["outline",{"2":{"41":1}}],["out",{"2":{"33":1}}],["object",{"2":{"33":1,"34":4,"35":1,"41":2}}],["overlays",{"2":{"33":1,"37":2}}],["overconstrainederror",{"2":{"27":1,"34":1,"41":1,"49":1,"51":1}}],["over",{"2":{"15":1,"27":1}}],["override",{"2":{"7":1}}],["org",{"2":{"23":1}}],["origin",{"2":{"13":1,"39":1}}],["or",{"2":{"12":1,"13":1,"21":1,"23":1,"26":1,"27":1,"33":1,"34":1,"35":1,"38":1,"41":3,"49":1,"50":1}}],["otherpoints",{"2":{"41":2}}],["otherwise",{"2":{"24":1,"25":1}}],["other",{"2":{"7":1,"12":1,"21":1,"24":1,"41":1,"48":1}}],["old",{"2":{"4":1}}],["off=",{"2":{"47":1}}],["off",{"0":{"26":1},"2":{"26":1,"35":2,"52":1,"53":1}}],["often",{"2":{"23":1,"35":1,"41":1,"46":1}}],["of",{"2":{"3":1,"7":2,"12":1,"13":1,"23":3,"27":1,"34":1,"39":1,"41":7,"46":1,"49":1,"52":1}}],["onmounted",{"2":{"53":2}}],["onfullscreenchange",{"2":{"43":2}}],["on`",{"2":{"41":1}}],["oninit",{"2":{"35":2}}],["onready",{"2":{"25":2}}],["on=",{"2":{"25":1,"35":1,"41":1,"45":1,"47":1,"53":1,"57":1}}],["only",{"2":{"23":3,"24":2,"25":1,"35":1,"41":2,"46":1,"49":1,"52":1}}],["oncameraoff",{"2":{"47":2}}],["oncameraon",{"2":{"45":2,"47":2,"53":2}}],["oncameraready",{"2":{"41":2}}],["once",{"0":{"46":1},"1":{"47":1},"2":{"23":2,"25":1,"35":1}}],["onchangeinput",{"2":{"7":1}}],["ondragover",{"2":{"15":2,"39":2}}],["ondetect",{"2":{"13":1,"23":2,"39":2,"41":2,"47":2,"49":3,"55":2,"57":2}}],["onerror",{"2":{"13":1,"27":2,"34":2,"41":2,"47":2,"49":3,"51":2,"53":1,"57":2}}],["one",{"2":{"3":1,"12":1,"23":1,"34":1,"41":2,"56":1}}],["on",{"0":{"25":1},"2":{"1":2,"3":2,"10":1,"12":1,"21":2,"25":1,"29":1,"32":1,"33":1,"34":3,"35":7,"41":2,"43":2,"44":1,"48":1,"49":1,"50":1,"51":2,"52":1,"53":1,"54":1}}],["createapp",{"2":{"49":2}}],["create",{"2":{"44":1,"45":1}}],["cross",{"2":{"39":1}}],["ctx",{"2":{"41":21,"49":4}}],["centered",{"2":{"41":1}}],["centery",{"2":{"41":3}}],["centerx",{"2":{"41":3}}],["center",{"2":{"39":1,"41":1,"45":1,"47":1,"57":2}}],["custom",{"2":{"15":1}}],["client",{"2":{"54":1}}],["click=",{"2":{"43":1,"45":1,"51":1,"53":1}}],["clicking",{"2":{"3":1}}],["classic",{"2":{"54":1}}],["class=",{"2":{"15":1,"39":4,"41":3,"43":2,"45":1,"47":2,"51":2,"53":1,"55":1,"57":4}}],["closepath",{"2":{"41":1}}],["ch",{"2":{"52":1}}],["choose",{"2":{"50":1}}],["choice",{"2":{"41":1}}],["charset=",{"2":{"49":1}}],["changes",{"2":{"46":1}}],["change",{"2":{"25":1,"41":1,"46":1}}],["change=",{"2":{"7":1}}],["changing",{"2":{"23":1}}],["checkmark",{"2":{"47":2}}],["checkbox",{"2":{"41":3}}],["check",{"2":{"33":1}}],["checkout",{"2":{"7":1}}],["chrome",{"2":{"21":2,"25":1,"43":2}}],["column",{"2":{"57":1}}],["color",{"2":{"39":4,"41":1,"43":1,"47":1,"49":1,"51":1,"53":1,"57":4}}],["comes",{"2":{"54":1}}],["com",{"2":{"49":2}}],["computed",{"2":{"33":1,"41":2,"43":1,"53":2,"57":1}}],["components",{"2":{"7":2,"39":1,"43":1,"45":1,"47":1,"48":1,"51":1,"55":1,"57":1}}],["component",{"2":{"1":1,"3":1,"7":1,"10":1,"12":1,"15":1,"19":1,"21":2,"24":2,"25":2,"38":1,"42":1,"44":2,"45":1,"54":1}}],["covered",{"2":{"43":1}}],["covers",{"2":{"42":1}}],["codabar",{"2":{"41":1}}],["codes",{"2":{"23":3,"24":1,"33":1,"41":4,"46":1}}],["code",{"0":{"46":1},"1":{"47":1},"2":{"3":1,"6":3,"12":1,"14":3,"23":5,"24":5,"33":1,"39":2,"41":9,"46":3,"47":2,"49":2,"55":2,"56":1}}],["couple",{"2":{"27":1}}],["cornerpoints",{"2":{"23":2,"41":1}}],["cors",{"2":{"13":2}}],["conditions",{"2":{"52":1}}],["consider",{"2":{"43":1}}],["consistently",{"2":{"35":1}}],["console",{"2":{"39":1,"41":1,"43":1,"47":1,"51":1,"53":3,"55":1,"57":1}}],["const",{"2":{"34":2,"35":1,"41":21,"43":1,"49":6,"51":3,"53":5,"55":1}}],["constraintoptions",{"2":{"41":3}}],["constraint",{"2":{"34":1}}],["constraints=",{"2":{"34":1,"41":1,"51":1,"53":1}}],["constraints",{"0":{"34":1},"2":{"26":1,"30":1,"41":5}}],["confirmation",{"2":{"47":2}}],["configuration",{"2":{"34":1}}],["confused",{"2":{"15":1}}],["context",{"2":{"41":2,"49":2}}],["content=",{"2":{"49":1}}],["content",{"2":{"19":2,"37":1,"46":1,"47":1,"57":1}}],["container",{"2":{"37":1}}],["control",{"2":{"35":1,"41":1}}],["continuously",{"2":{"23":1}}],["case",{"2":{"51":2}}],["care",{"2":{"41":1}}],["carries",{"2":{"25":1}}],["catch",{"2":{"34":1}}],["calling",{"2":{"43":2}}],["call",{"2":{"34":1}}],["called",{"2":{"33":2}}],["cause",{"2":{"33":1}}],["caused",{"2":{"13":1}}],["capabilities",{"2":{"25":1,"35":2,"53":3}}],["capture=",{"2":{"7":2,"55":1}}],["capture>",{"2":{"6":1}}],["capture",{"0":{"7":1},"2":{"6":1,"7":2,"55":2}}],["cache",{"2":{"23":1,"46":1}}],["cached",{"2":{"23":1,"46":1}}],["canvasrenderingcontext2d",{"2":{"33":1}}],["canvas",{"2":{"33":2,"41":1}}],["can",{"2":{"3":2,"7":2,"12":3,"13":2,"25":3,"27":1,"33":1,"34":3,"35":4,"38":1,"39":2,"41":3,"46":1,"50":1,"52":2,"54":1,"56":1}}],["cameramissingerror",{"2":{"34":2,"51":3}}],["cameras",{"2":{"25":1,"41":2,"49":1,"52":1}}],["camera",{"0":{"25":1,"26":1,"30":1,"50":1},"1":{"51":1},"2":{"3":1,"23":2,"25":6,"26":5,"27":5,"29":1,"32":3,"33":1,"34":7,"35":8,"37":2,"41":10,"43":2,"44":2,"45":1,"46":1,"47":2,"49":4,"50":1,"51":4,"52":1,"53":3,"54":1,"55":2,"57":1}}],["etc",{"2":{"43":1}}],["esc",{"2":{"43":1}}],["err",{"2":{"41":10,"49":10,"53":2}}],["errors",{"2":{"34":1}}],["error=",{"2":{"27":1,"34":1,"39":1,"41":1,"43":1,"47":1,"49":1,"51":1,"53":1,"57":1}}],["error",{"0":{"13":1,"27":1},"2":{"13":4,"27":9,"29":1,"34":4,"39":13,"41":15,"43":1,"47":1,"49":12,"51":7,"53":4,"57":1}}],["edge",{"2":{"41":1,"43":2}}],["e",{"2":{"41":2}}],["ean",{"2":{"41":2}}],["easy",{"2":{"33":1}}],["each",{"2":{"33":1,"56":1}}],["en",{"2":{"49":1}}],["enterfullscreen",{"2":{"43":2}}],["entire",{"2":{"42":2,"43":1}}],["enumeratedevices",{"2":{"41":1,"53":1}}],["enable",{"2":{"33":2}}],["environment",{"2":{"7":1,"34":2,"41":2,"51":4,"55":1}}],["every",{"2":{"34":1}}],["everything",{"2":{"25":1,"54":1}}],["even",{"2":{"21":1,"24":1,"35":1,"43":1}}],["event",{"2":{"3":4,"12":4,"15":4,"23":1,"25":1,"32":1,"34":2,"35":2,"41":1,"43":1,"44":1,"46":1}}],["events",{"0":{"2":1,"11":1,"22":1},"1":{"3":1,"4":1,"12":1,"13":1,"14":1,"15":1,"16":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":1,"29":1,"30":1},"2":{"13":1,"23":1,"27":1,"35":1,"46":1}}],["exitfullscreen",{"2":{"43":4}}],["exit",{"2":{"43":2}}],["exploit",{"2":{"46":1}}],["explicitly",{"2":{"7":1}}],["expanded",{"2":{"41":1}}],["export",{"2":{"39":1,"43":1,"45":1,"47":1,"51":1,"55":1,"57":1}}],["expensive",{"2":{"24":1,"41":1}}],["example",{"2":{"23":1,"24":1,"26":1,"33":1,"34":2,"35":1,"48":1}}],["elem",{"2":{"43":9}}],["element",{"2":{"3":1,"7":2,"13":1,"42":1}}],["else",{"2":{"13":2,"27":5,"39":2,"41":7,"43":8,"49":7,"53":1}}],["emphasizing",{"2":{"15":1}}],["empty",{"2":{"3":1,"12":1}}],["embedded",{"2":{"12":1}}],["emitted",{"2":{"3":1,"12":1,"13":1,"23":1,"25":1,"26":1,"27":1,"32":1,"34":1,"35":2,"46":1}}],["quot",{"2":{"34":2,"46":2}}],["question",{"2":{"1":1}}],["qrcodedropzone",{"0":{"9":1},"1":{"10":1,"11":1,"12":1,"13":1,"14":1,"15":1,"16":1,"17":1,"18":1,"19":1},"2":{"38":1,"39":2}}],["qrcode",{"2":{"6":2,"7":2,"13":2,"14":2,"15":2,"19":2,"23":2,"24":2,"25":2,"27":2,"34":2,"35":2,"37":2,"39":2,"41":1,"43":2,"45":2,"47":2,"49":4,"51":2,"53":2,"55":1,"57":2}}],["qrcodestream",{"0":{"20":1},"1":{"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":1,"29":1,"30":1,"31":1,"32":1,"33":1,"34":1,"35":1,"36":1,"37":1},"2":{"3":1,"12":1,"41":1,"42":1,"43":2,"45":2,"47":2,"51":2,"53":1,"57":2}}],["qrcodecapture",{"0":{"0":1},"1":{"1":1,"2":1,"3":1,"4":1,"5":1,"6":1,"7":1,"8":1},"2":{"7":1,"54":1,"55":2}}],["qr",{"0":{"46":1},"1":{"47":1},"2":{"3":1,"6":2,"12":1,"14":2,"23":7,"24":5,"33":2,"41":4,"46":4,"56":1}}],["3000",{"2":{"57":1}}],["300px",{"2":{"39":1}}],["39",{"2":{"41":1}}],["35495e",{"2":{"41":1}}],["359",{"2":{"23":1}}],["3c3c43",{"2":{"39":1}}],["342",{"2":{"23":1}}],["375",{"2":{"23":2}}],["322",{"2":{"23":3}}],["3",{"2":{"1":1,"21":2,"41":1,"49":1}}],["1rem",{"2":{"43":1}}],["1",{"2":{"41":1,"57":1}}],["12",{"2":{"41":1}}],["128",{"2":{"6":1,"14":1,"24":1,"41":1,"47":1}}],["100",{"2":{"47":2,"57":2}}],["1000",{"2":{"43":1}}],["10b981",{"2":{"39":1}}],["10px",{"2":{"39":1,"41":1,"51":2,"53":2,"57":1}}],["10+",{"2":{"1":1,"10":1}}],["160",{"2":{"23":1}}],["188",{"2":{"23":1}}],["178",{"2":{"23":1}}],["14",{"2":{"21":2}}],["135",{"2":{"23":3}}],["13",{"2":{"21":1,"41":1}}],["11",{"2":{"1":1}}],["pending",{"2":{"57":2}}],["permitted",{"2":{"41":1,"49":1}}],["permissions",{"2":{"25":1,"41":1}}],["permission",{"2":{"25":1,"27":1,"41":2,"43":2,"49":1}}],["per",{"2":{"3":1,"12":1}}],["physical",{"2":{"43":1}}],["phones",{"2":{"41":1}}],["push",{"2":{"44":1}}],["pushes",{"2":{"43":1}}],["put",{"2":{"42":1}}],["pdf417",{"2":{"41":1}}],["px",{"2":{"41":1}}],["p>last",{"2":{"49":1}}],["p>",{"2":{"39":2,"41":8,"47":1,"49":2,"51":2,"53":3,"55":3,"57":1}}],["p",{"2":{"39":2,"41":2,"47":1,"49":1,"51":2,"53":1,"55":1,"57":1}}],["position",{"2":{"37":1,"43":2,"47":1,"51":1,"53":1,"57":1}}],["positive",{"2":{"3":1,"12":1}}],["polyfill",{"2":{"24":2}}],["policy",{"2":{"13":1}}],["pausing",{"2":{"56":1}}],["pause",{"0":{"56":1},"1":{"57":1}}],["paused=",{"2":{"47":1,"57":1}}],["paused",{"0":{"32":1},"2":{"23":1,"46":1,"47":4,"56":1,"57":5}}],["paintcentertext",{"2":{"41":2}}],["paintboundingbox",{"2":{"41":2,"49":3}}],["paintoutline",{"2":{"41":2}}],["painted",{"2":{"33":1}}],["padding",{"2":{"39":1,"57":1}}],["passed",{"2":{"34":1}}],["pass",{"2":{"33":1,"34":1}}],["page",{"2":{"27":1,"48":1}}],["pages",{"2":{"12":1}}],["particular",{"2":{"27":1}}],["panic",{"2":{"25":1}}],["payload",{"2":{"3":2,"6":1,"12":2,"14":1,"15":1,"23":2,"24":1,"25":1,"26":1,"27":1,"35":1}}],["pretend",{"2":{"57":1}}],["prefer",{"2":{"24":1}}],["progress",{"2":{"57":1}}],["project",{"2":{"48":1}}],["produce",{"2":{"33":1}}],["prompted",{"2":{"54":1}}],["prompt",{"2":{"25":1,"43":1}}],["promise",{"2":{"25":2,"47":1,"57":1}}],["process",{"2":{"25":1,"56":1}}],["provide",{"2":{"19":1,"34":1}}],["probably",{"2":{"13":1}}],["properties",{"2":{"33":1}}],["propagated",{"2":{"23":1}}],["prop",{"2":{"6":1,"14":1,"24":2,"32":1,"34":2,"35":1,"46":1,"52":1}}],["props",{"0":{"5":1,"17":1,"31":1},"1":{"6":1,"7":1,"32":1,"33":1,"34":1,"35":1},"2":{"7":1,"17":1}}],["prior",{"2":{"1":1}}],["pick",{"2":{"53":1}}],["picked",{"2":{"41":1}}],["picker",{"2":{"3":1}}],["picture",{"2":{"3":1,"54":1}}],["pwa",{"2":{"1":1,"21":1}}],["adjust",{"2":{"54":1}}],["added",{"2":{"1":1,"21":1}}],["aeschbacher",{"2":{"52":1}}],["await",{"2":{"41":1,"45":1,"47":1,"53":1,"57":2}}],["amp",{"0":{"38":1,"56":1},"1":{"39":1,"57":1}}],["absolute",{"2":{"37":1,"43":1,"47":1,"51":1,"53":1,"57":1}}],["audio",{"2":{"34":1}}],["avoid",{"2":{"33":1}}],["availabe",{"2":{"24":1}}],["available",{"2":{"24":1,"42":1}}],["again",{"2":{"32":1,"34":1,"35":1,"46":1}}],["after",{"2":{"32":1,"52":1}}],["aztec",{"2":{"24":1,"41":1}}],["alt=",{"2":{"43":1,"47":1,"51":1,"53":1}}],["although",{"2":{"27":1}}],["align",{"2":{"39":1,"45":1,"57":1}}],["allows",{"2":{"54":1}}],["allow",{"2":{"50":1}}],["all",{"2":{"33":1,"35":1,"48":1}}],["already",{"2":{"27":1,"41":1,"43":1,"49":1,"52":1}}],["always",{"2":{"23":1,"42":1}}],["also",{"2":{"3":1,"7":1,"12":1,"21":1,"38":1,"41":1,"50":1}}],["active",{"2":{"53":1}}],["actually",{"2":{"23":1,"54":1}}],["across",{"2":{"24":1,"52":1}}],["access",{"2":{"25":2,"27":1,"33":2,"35":1,"41":3,"43":1,"49":2}}],["accept",{"2":{"7":1}}],["accept=",{"2":{"7":1}}],["accroding",{"2":{"23":1}}],["async",{"2":{"41":1,"45":1,"47":1,"53":1,"57":1}}],["asked",{"2":{"25":1,"43":1}}],["as",{"2":{"3":1,"12":1,"25":2,"33":2,"34":1,"38":2,"53":2}}],["argument",{"2":{"33":2}}],["array",{"2":{"3":1,"12":1,"23":2}}],["area",{"2":{"12":1,"39":2}}],["are",{"2":{"3":2,"6":1,"12":2,"13":1,"14":1,"23":3,"24":2,"26":1,"27":1,"41":4,"49":1,"54":2}}],["another",{"2":{"43":1,"54":1}}],["angle",{"2":{"41":1}}],["anything",{"2":{"19":1}}],["anywhere",{"2":{"12":1}}],["any",{"2":{"7":2,"19":1,"37":1}}],["an",{"2":{"3":1,"12":1,"13":3,"23":2,"34":2,"39":1,"46":1,"48":1}}],["and",{"2":{"3":1,"7":1,"12":2,"13":3,"23":2,"24":2,"25":4,"26":2,"33":2,"35":2,"38":1,"43":2,"44":2,"45":1,"46":1,"48":1,"52":2,"54":1}}],["attribute",{"2":{"7":1}}],["attributes",{"2":{"7":3}}],["at",{"2":{"3":1,"12":1,"21":3,"23":1,"33":1,"35":1,"56":1}}],["a",{"2":{"3":3,"13":2,"15":1,"19":1,"23":4,"24":1,"25":4,"26":1,"27":1,"33":5,"34":3,"35":2,"37":1,"38":2,"41":4,"42":1,"43":2,"44":1,"46":3,"48":2,"51":2,"54":1,"56":1,"57":2}}],["app",{"2":{"49":5}}],["apply",{"2":{"15":1}}],["apps",{"2":{"1":1,"21":2}}],["api",{"2":{"1":2,"10":2,"21":1,"23":1,"24":1,"34":1,"35":1,"41":1,"49":1}}],["wrapped",{"2":{"37":1}}],["wrapper",{"2":{"19":1,"42":1,"43":2}}],["weight",{"2":{"39":2,"41":1,"45":1,"51":1,"53":1,"57":1}}],["we",{"2":{"24":1,"35":1,"41":1,"46":1}}],["webkitexitfullscreen",{"2":{"43":2}}],["webkitrequestfullscreen",{"2":{"43":2}}],["web",{"2":{"1":1,"12":1,"21":1}}],["world",{"2":{"23":1}}],["works",{"2":{"48":1}}],["work",{"2":{"1":1,"46":1}}],["wkwebview",{"2":{"21":1}}],["window",{"2":{"47":1,"57":1}}],["wide",{"2":{"41":1}}],["width=device",{"2":{"49":1}}],["width=",{"2":{"47":1}}],["width",{"2":{"23":2,"41":5,"43":1,"47":1,"49":3,"51":1,"53":1,"57":1}}],["wikipedia",{"2":{"23":1}}],["will",{"2":{"19":1,"24":1,"35":2}}],["withbase",{"2":{"43":3,"47":3,"51":3,"53":2}}],["with",{"2":{"15":1,"23":1,"25":1,"34":3,"35":2,"38":1,"43":1,"46":1,"54":4}}],["without",{"2":{"13":1,"43":1,"48":1}}],["watch",{"2":{"43":1}}],["warning",{"2":{"15":1,"24":1,"25":1}}],["want",{"2":{"15":1,"23":1,"24":1,"25":1,"32":1,"33":2,"46":1,"52":1}}],["what",{"2":{"39":1}}],["whether",{"2":{"34":1,"35":1}}],["whenever",{"2":{"26":2}}],["when",{"2":{"13":1,"15":1,"23":1,"25":1,"26":1,"27":1,"32":1,"33":1,"34":1,"35":1,"43":1,"46":3}}],["white",{"2":{"41":1,"43":1}}],["while",{"2":{"25":1}}],["which",{"2":{"6":1,"14":1,"24":1,"25":1,"34":1,"54":1}}],["why",{"2":{"23":1,"25":1,"46":1}}],["ts",{"2":{"41":1,"53":1}}],["turning",{"2":{"35":1}}],["turn",{"2":{"35":1,"52":1}}],["turned",{"2":{"26":1}}],["taking",{"2":{"57":1}}],["takes",{"2":{"41":1}}],["take",{"2":{"3":1,"25":1,"54":1}}],["target",{"2":{"33":1}}],["triedrearcamera",{"2":{"51":2}}],["triedfrontcamera",{"2":{"34":2,"51":2}}],["try",{"2":{"34":1}}],["transparent",{"2":{"33":1}}],["track=",{"2":{"41":1,"49":1}}],["trackfunctionoptions",{"2":{"41":3}}],["trackfunctionselected",{"2":{"41":3}}],["tracking",{"2":{"33":1}}],["track",{"0":{"33":1},"2":{"33":1,"41":1}}],["true",{"2":{"32":1,"35":1,"41":1,"45":3,"47":2,"51":2,"57":2}}],["troubleshooting",{"2":{"21":1}}],["title>",{"2":{"49":1}}],["title>simple",{"2":{"49":1}}],["tip",{"2":{"23":1}}],["timeout",{"2":{"47":2,"57":3}}],["times",{"2":{"23":2,"33":1,"46":2}}],["time",{"2":{"3":1,"12":1,"25":1,"33":1,"34":1,"41":1,"56":1,"57":1}}],["textalign",{"2":{"41":1}}],["text",{"2":{"39":1,"41":7,"45":1,"55":5,"57":1}}],["tell",{"2":{"35":2}}],["template>",{"2":{"7":2,"39":2,"41":2,"43":2,"45":2,"47":2,"51":2,"53":2,"55":2,"57":2}}],["template",{"2":{"7":1}}],["technically",{"2":{"7":1}}],["type=",{"2":{"7":1,"41":1}}],["type",{"2":{"3":1,"6":1,"12":1,"13":2,"14":1,"15":1,"23":1,"24":1,"25":1,"26":1,"27":1,"32":1,"33":1,"34":2,"35":1}}],["toggle",{"2":{"43":1,"53":1}}],["torchactive",{"2":{"53":6}}],["torchnotsupported",{"2":{"53":4}}],["torch=",{"2":{"35":1,"53":1}}],["torch",{"0":{"35":1,"52":1},"1":{"53":1},"2":{"35":6,"52":1,"53":3}}],["top",{"2":{"23":2,"43":1,"51":1,"53":1}}],["todo",{"2":{"4":1}}],["to",{"0":{"50":1},"1":{"51":1},"2":{"1":2,"3":2,"7":2,"13":1,"15":4,"21":1,"23":2,"24":4,"25":5,"26":1,"27":1,"32":2,"33":9,"34":3,"35":1,"41":2,"42":1,"43":1,"44":2,"46":2,"48":1,"49":1,"50":1,"51":2,"52":1,"54":1,"57":1}}],["t",{"2":{"1":1,"13":2,"19":1,"23":1,"24":1,"25":2,"33":1,"34":1,"35":1,"39":2,"41":1,"43":1,"46":2,"51":2}}],["thing",{"2":{"46":1}}],["this",{"2":{"1":2,"10":1,"15":2,"19":1,"21":1,"23":1,"24":1,"25":1,"26":1,"27":1,"32":1,"33":7,"34":4,"35":2,"39":6,"41":3,"43":7,"45":5,"46":1,"47":6,"48":2,"49":2,"51":7,"54":1,"55":1,"57":14}}],["than",{"0":{"46":1},"1":{"47":1},"2":{"21":1,"24":1,"41":1,"49":1}}],["that",{"2":{"15":1,"23":2,"24":1,"33":2,"34":1,"35":1,"38":1,"39":2,"41":1,"42":1,"46":4,"48":1,"52":1}}],["though",{"2":{"3":1,"12":1,"46":1}}],["there",{"2":{"27":1,"44":1}}],["then",{"2":{"25":1}}],["they",{"2":{"25":2}}],["their",{"2":{"25":2,"50":1}}],["them",{"2":{"7":1,"25":1,"48":1}}],["the",{"2":{"1":2,"3":9,"6":1,"7":4,"10":2,"12":9,"14":1,"15":5,"19":1,"21":1,"23":11,"24":13,"25":7,"26":3,"27":1,"32":3,"33":6,"34":8,"35":13,"37":2,"38":1,"41":11,"42":3,"43":5,"44":5,"46":7,"48":1,"49":1,"50":1,"52":4,"54":2,"56":2,"57":1}}],["dx",{"2":{"41":1}}],["databar",{"2":{"41":2}}],["data",{"2":{"33":1,"39":1,"41":1,"43":1,"45":1,"47":1,"51":1,"55":1,"57":1}}],["danger",{"2":{"33":1}}],["due",{"2":{"13":1,"35":1}}],["dropdown",{"2":{"41":1,"54":1}}],["dropimagedecodeerror",{"2":{"13":1,"39":1}}],["dropimagefetcherror",{"2":{"13":1,"39":1}}],["dropped",{"2":{"13":4}}],["drop",{"0":{"38":1},"1":{"39":1},"2":{"12":2,"13":2,"14":2,"15":2,"19":2,"38":1,"39":7}}],["draggingover",{"2":{"15":5}}],["dragging",{"2":{"15":1}}],["dragover=",{"2":{"15":1,"39":1}}],["dragover",{"0":{"15":1},"2":{"15":2,"39":5}}],["drag",{"0":{"38":1},"1":{"39":1},"2":{"12":1,"13":2,"38":1}}],["doctype",{"2":{"49":1}}],["document",{"2":{"43":9}}],["docs",{"2":{"4":1,"16":1,"28":1,"29":1,"30":1}}],["don",{"2":{"19":1,"23":1,"24":1,"25":1,"33":1,"46":1,"51":2}}],["dom",{"2":{"15":1}}],["domain",{"2":{"13":1}}],["do",{"2":{"15":1}}],["does",{"2":{"7":1}}],["doesn",{"2":{"1":1,"34":1,"35":1,"43":1,"46":1}}],["did",{"2":{"27":1}}],["dist",{"2":{"49":2}}],["distributed",{"2":{"37":1}}],["display",{"2":{"41":1,"47":1,"57":1}}],["displayed",{"2":{"23":1,"56":1}}],["disabled=",{"2":{"53":1}}],["disabled",{"0":{"7":1},"2":{"7":1}}],["div>",{"2":{"15":1,"39":3,"41":4,"43":1,"45":3,"47":3,"49":2,"51":2,"53":2,"55":2,"57":5}}],["div",{"2":{"15":1,"19":1,"39":1,"43":1,"45":1,"47":1,"49":2,"57":3}}],["different",{"2":{"13":1,"26":1,"41":1}}],["directly",{"2":{"3":1,"12":1,"54":1}}],["dialog",{"2":{"3":1,"43":1,"54":1,"55":1}}],["destroyed",{"2":{"45":4}}],["destroy",{"2":{"44":1}}],["desk",{"2":{"41":1}}],["desktop",{"2":{"12":1,"38":1,"43":1}}],["delay",{"2":{"44":1,"57":1}}],["demos",{"2":{"48":1}}],["demo",{"0":{"40":1},"1":{"41":1},"2":{"33":1,"48":1,"49":2}}],["deviceid",{"2":{"41":3,"53":3}}],["device",{"2":{"27":1,"33":1,"34":2,"35":1,"41":3,"49":1,"50":1,"51":2,"53":4}}],["devices",{"2":{"3":1,"24":1,"35":3,"41":2,"52":1,"53":5}}],["decision",{"2":{"25":1}}],["decoded",{"2":{"13":1,"23":2,"39":1,"46":3}}],["decode",{"0":{"4":1,"16":1,"28":1,"38":1,"54":1},"1":{"39":1,"55":1},"2":{"39":1,"41":1,"47":1,"55":1,"57":1}}],["deny",{"2":{"25":1}}],["denied",{"2":{"25":1,"27":1}}],["defined",{"2":{"19":1}}],["define",{"2":{"7":1}}],["defines",{"2":{"6":1,"14":1,"24":1,"33":1}}],["defaultconstraintoptions",{"2":{"41":3}}],["default",{"0":{"19":1,"37":1},"2":{"6":1,"14":1,"24":2,"32":1,"33":1,"34":1,"35":1,"39":1,"41":3,"43":1,"45":1,"47":1,"51":1,"55":2,"57":1}}],["detection",{"2":{"23":1,"41":1}}],["detect=",{"2":{"13":1,"23":1,"39":1,"41":1,"47":1,"49":1,"55":1,"57":1}}],["detectedcode",{"2":{"41":7,"49":2}}],["detectedcodes",{"2":{"23":1,"39":3,"41":9,"47":2,"49":4,"55":3}}],["detected",{"2":{"6":1,"14":1,"23":1,"24":1,"33":2,"41":2,"52":1}}],["detectedbarcode",{"2":{"3":1,"12":1,"23":1}}],["detect",{"0":{"3":1,"12":1,"23":1},"2":{"3":2,"4":1,"12":2,"16":1,"23":3,"28":1,"46":1}}],["depends",{"2":{"21":1}}],["depend",{"2":{"1":1,"10":1}}],["icon",{"2":{"53":2}}],["ie",{"2":{"43":2}}],["id=",{"2":{"41":1,"49":1}}],["id",{"2":{"41":2}}],["idk",{"2":{"13":1}}],["img",{"2":{"43":2,"47":1,"51":2,"53":2}}],["img>",{"2":{"13":1}}],["important",{"2":{"43":1}}],["import",{"2":{"39":1,"41":2,"43":2,"45":1,"47":2,"51":2,"53":3,"55":1,"57":1}}],["implementation",{"2":{"24":4,"43":1}}],["image",{"2":{"3":1,"7":2,"12":2,"13":1,"39":1,"54":1}}],["images",{"2":{"3":2,"12":3,"38":1,"39":2}}],["if=",{"2":{"39":1,"45":2,"51":2,"53":2,"57":3}}],["if",{"2":{"3":1,"12":1,"13":2,"15":1,"19":1,"23":1,"24":4,"25":1,"27":6,"32":1,"33":1,"34":1,"35":1,"39":2,"41":7,"43":10,"49":7,"51":2,"53":2,"54":1}}],["ios",{"2":{"1":1,"21":7,"41":1}}],["inconsistent",{"2":{"52":1}}],["increased",{"2":{"33":1}}],["index",{"2":{"43":1}}],["indicator",{"0":{"44":1},"1":{"45":1},"2":{"25":2,"44":1,"45":2}}],["indicated",{"2":{"3":1,"12":1,"23":1}}],["invasive",{"2":{"43":1}}],["invoke",{"2":{"41":1}}],["inline",{"2":{"41":1}}],["infrared",{"2":{"41":1}}],["initial",{"2":{"49":1}}],["initialization",{"2":{"27":1}}],["init",{"0":{"29":1}}],["internally",{"2":{"41":1}}],["internal",{"2":{"23":1}}],["into",{"2":{"12":1}}],["insecurecontexterror",{"2":{"41":1,"49":1}}],["instance",{"2":{"33":1}}],["installed",{"2":{"27":1,"41":2,"49":1}}],["instead",{"2":{"4":1,"15":1,"16":1,"28":1,"29":1,"30":1}}],["inside",{"2":{"19":1}}],["input",{"2":{"3":1,"7":3,"32":1,"33":1,"34":1,"35":1,"41":1}}],["in",{"2":{"1":1,"12":1,"21":1,"23":2,"25":1,"27":2,"33":3,"37":1,"41":7,"42":1,"43":1,"46":2,"48":2,"49":3,"52":1,"53":1,"55":1,"57":1}}],["itf",{"2":{"41":1}}],["items",{"2":{"23":1}}],["its",{"2":{"19":1,"33":1}}],["it",{"2":{"1":1,"19":1,"23":1,"25":3,"33":1,"38":1,"46":1,"54":1,"56":1,"57":1}}],["isvalid",{"2":{"57":6}}],["isdraggingover",{"2":{"39":2}}],["issue",{"2":{"13":1}}],["is",{"2":{"1":2,"3":3,"7":1,"10":2,"12":2,"13":1,"15":2,"19":1,"21":2,"23":6,"24":1,"25":2,"26":2,"27":3,"32":2,"33":4,"34":6,"35":5,"39":1,"41":4,"43":2,"44":1,"46":5,"49":3,"52":1,"54":2,"56":2,"57":2}}],["switchcamera",{"2":{"51":2}}],["switch",{"0":{"50":1},"1":{"51":1},"2":{"51":3}}],["switching",{"2":{"26":1}}],["svg",{"2":{"43":2,"47":1,"51":1,"53":2}}],["skipping",{"2":{"43":1}}],["sponsored",{"2":{"52":1}}],["space",{"2":{"41":1,"42":1}}],["span>",{"2":{"41":1}}],["span",{"2":{"41":1}}],["spec",{"2":{"23":1}}],["src=",{"2":{"43":1,"47":1,"49":2,"51":1,"53":1}}],["src",{"2":{"39":1,"41":1,"43":1,"45":1,"47":1,"51":1,"53":1,"55":1,"57":1}}],["side",{"2":{"54":1}}],["single",{"2":{"48":1}}],["size",{"2":{"45":1,"57":1}}],["simply",{"2":{"42":1}}],["simple",{"0":{"48":1},"1":{"49":1},"2":{"3":1}}],["silently",{"2":{"35":1}}],["should",{"2":{"33":1,"38":1,"41":1}}],["showscanconfirmation",{"2":{"47":4}}],["show=",{"2":{"47":1}}],["show",{"0":{"44":1},"1":{"45":1},"2":{"25":1,"32":1,"44":1}}],["success",{"2":{"57":3}}],["successful",{"2":{"32":1}}],["suitable",{"2":{"27":1,"41":1,"49":1}}],["sure",{"2":{"25":1}}],["supports",{"2":{"24":1,"54":1}}],["supporting",{"2":{"3":1}}],["supported",{"2":{"1":1,"6":1,"10":1,"14":1,"21":1,"23":1,"24":1,"35":4,"41":2,"49":1,"53":1}}],["support",{"0":{"1":1,"10":1,"21":1},"2":{"21":1,"24":1,"35":1,"52":1}}],["systems",{"2":{"24":1}}],["s",{"2":{"23":2,"25":1,"39":1,"46":2,"57":1}}],["sans",{"2":{"41":1}}],["safe",{"2":{"33":1}}],["safari",{"2":{"21":2,"43":2}}],["same",{"0":{"46":1},"1":{"47":1},"2":{"3":2,"12":2,"13":1,"23":1,"35":2,"46":2}}],["solid",{"2":{"49":1}}],["sorry",{"2":{"39":1}}],["source",{"0":{"39":1,"41":1,"43":1,"45":1,"47":1,"49":1,"51":1,"53":1,"55":1,"57":1}}],["soon",{"2":{"25":1}}],["so",{"2":{"19":1,"24":1,"32":1,"33":1,"34":1,"42":1,"43":2,"54":1,"56":1,"57":1}}],["sometimes",{"2":{"41":1}}],["something",{"2":{"15":1}}],["some",{"2":{"15":1,"32":1,"39":1,"44":1,"57":1}}],["slots",{"0":{"8":1,"18":1,"36":1},"1":{"19":1,"37":1},"2":{"8":1}}],["step",{"2":{"48":1}}],["style=",{"2":{"49":2}}],["style",{"2":{"41":1,"43":1,"45":1,"47":1,"51":1,"53":1,"57":1}}],["style>",{"2":{"39":2,"41":1,"43":1,"45":1,"47":1,"51":1,"53":1,"57":1}}],["styling",{"2":{"15":1}}],["store",{"2":{"33":1}}],["stuff",{"2":{"33":1}}],["stroketext",{"2":{"41":1}}],["strokerect",{"2":{"41":1,"49":1}}],["stroke",{"2":{"41":1}}],["strokestyle",{"2":{"41":3,"49":1}}],["stringify",{"2":{"39":1,"41":1,"47":1,"49":1,"55":1}}],["streamapinotsupportederror",{"2":{"27":1,"41":1,"49":1}}],["streaming",{"2":{"25":1}}],["stream>",{"2":{"23":1,"24":1,"25":1,"27":1,"34":1,"35":1,"37":2,"43":1,"45":1,"47":1,"49":1,"51":1,"53":1,"57":1}}],["stream",{"2":{"21":1,"23":2,"24":1,"25":2,"27":1,"33":1,"34":3,"35":2,"37":2,"41":2,"43":2,"44":1,"45":1,"47":1,"49":2,"51":1,"53":1,"56":1,"57":1}}],["structure",{"2":{"3":1,"12":1,"23":1}}],["still",{"2":{"3":1,"12":1,"23":1,"24":1,"56":1}}],["standalone",{"2":{"38":1}}],["standard",{"2":{"24":1}}],["starting",{"2":{"52":1}}],["startfrontcamera",{"2":{"34":1}}],["start",{"2":{"25":1}}],["startswith",{"2":{"57":1}}],["starts",{"2":{"25":1}}],["started",{"2":{"3":1,"26":1}}],["stackoverflow",{"2":{"1":1}}],["scale=1",{"2":{"49":1}}],["scans",{"2":{"32":1}}],["scanning",{"2":{"24":1,"25":1,"33":1,"41":1,"46":1,"54":1}}],["scanned",{"2":{"3":1,"12":1,"23":1,"38":1,"56":1}}],["scan",{"0":{"46":1},"1":{"47":1},"2":{"23":1,"24":1,"46":1,"47":2}}],["scoped>",{"2":{"41":1,"43":1,"45":1,"47":1,"51":1,"53":1,"57":1}}],["script",{"2":{"41":1,"49":2,"53":1}}],["script>",{"2":{"39":2,"41":1,"43":2,"45":2,"47":2,"49":4,"51":2,"53":1,"55":2,"57":2}}],["screen",{"2":{"1":1,"21":1,"42":1}}],["secure",{"2":{"41":2,"49":2}}],["second",{"2":{"23":1,"25":1,"33":2,"46":1}}],["serif`",{"2":{"41":1}}],["served",{"2":{"27":1}}],["several",{"2":{"33":1}}],["settimeout",{"2":{"47":1,"57":1}}],["setting",{"2":{"32":1}}],["setup",{"2":{"41":1,"49":1,"53":1}}],["set",{"2":{"7":1}}],["select>",{"2":{"41":2,"53":1,"55":1}}],["select",{"2":{"3":1,"24":3,"41":6,"53":1,"55":1}}],["selectedbarcodeformats",{"2":{"41":2}}],["selectedconstraints",{"2":{"41":3}}],["selected",{"2":{"3":1,"24":1,"53":6,"55":3}}],["seem",{"2":{"51":2}}],["seems",{"2":{"27":1}}],["see",{"2":{"1":2,"10":1,"21":6,"24":1,"48":1}}],["new",{"2":{"23":1,"34":1,"47":1,"57":1}}],["newest",{"2":{"1":1,"10":1}}],["needed",{"2":{"24":1}}],["need",{"2":{"15":1,"25":1,"41":1,"48":1,"49":1}}],["null",{"2":{"7":2,"39":3,"43":1,"53":3,"55":1,"57":1}}],["navigator",{"2":{"41":1,"53":1}}],["name",{"2":{"13":2,"27":6,"34":1,"39":2,"41":8,"49":8,"51":1}}],["name=",{"2":{"7":1,"49":1}}],["native",{"2":{"1":1,"10":1,"15":2,"21":2,"24":3}}],["norearcamera",{"2":{"51":3}}],["nofrontcamera",{"2":{"51":3}}],["nowrap",{"2":{"41":1,"47":1,"57":1}}],["none",{"2":{"27":1}}],["no",{"2":{"3":1,"8":1,"12":1,"17":1,"21":1,"27":1,"34":1,"41":1,"49":1}}],["noticed",{"2":{"46":1}}],["nothing",{"2":{"41":1,"54":1}}],["notreadableerror",{"2":{"27":1,"41":1,"49":1}}],["notsupportederror",{"2":{"27":1,"41":1,"49":1}}],["notfounderror",{"2":{"27":1,"41":1,"49":1}}],["notallowederror",{"2":{"27":1,"41":1,"49":1}}],["note",{"2":{"24":1,"33":1,"41":1,"43":1,"52":1}}],["not",{"2":{"1":1,"7":1,"10":1,"13":1,"15":1,"21":1,"27":1,"33":1,"35":2,"39":1,"41":3,"42":2,"49":2,"53":1,"54":1,"57":1}}]],"serializationVersion":2}';export{e as default}; diff --git a/assets/chunks/QrcodeStream.vue_vue_type_script_setup_true_lang.CsTXXFWV.js b/assets/chunks/QrcodeStream.vue_vue_type_script_setup_true_lang.CsTXXFWV.js new file mode 100644 index 00000000..1329edd0 --- /dev/null +++ b/assets/chunks/QrcodeStream.vue_vue_type_script_setup_true_lang.CsTXXFWV.js @@ -0,0 +1 @@ +import{d as X,h as i,y as u,j as Y,A as Z,g as O,o as ee,c as te,k as g,O as ae,a4 as oe,a7 as ne,r as se}from"./framework.BwCxet3-.js";import{s as p,b as n,c as ie,d as re,k as ce}from"./camera.Y0ohPhsl.js";const ue=X({__name:"QrcodeStream",props:{constraints:{type:Object,default(){return{facingMode:"environment"}}},formats:{type:Array,default:()=>["qr_code"]},paused:{type:Boolean,default:!1},torch:{type:Boolean,default:!1},track:{type:Function}},emits:["detect","camera-on","camera-off","error"],setup(N,{emit:j}){const o=N,h=j,_=i(o.constraints),w=i(o.formats);u(()=>o.constraints,(t,e)=>{JSON.stringify(t)!==JSON.stringify(e)&&(_.value=t)},{deep:!0}),u(()=>o.formats,(t,e)=>{JSON.stringify(t)!==JSON.stringify(e)&&(w.value=t)},{deep:!0});const f=i(),v=i(),l=i(),m=i(!1),y=i(!1);Y(()=>{y.value=!0}),Z(()=>{p()});const M=O(()=>({torch:o.torch,constraints:_.value,shouldStream:y.value&&!o.paused}));u(M,async t=>{const e=l.value;n(e!==void 0,"cameraSettings watcher should never be triggered when component is not mounted. Thus video element should always be defined.");const a=f.value;n(a!==void 0,"cameraSettings watcher should never be triggered when component is not mounted. Thus canvas should always be defined.");const d=a.getContext("2d");if(n(d!==null,"if cavnas is defined, canvas 2d context should also be non-null"),t.shouldStream){p(),m.value=!1;try{const r=await ie(e,t);y.value?(m.value=!0,h("camera-on",r)):await p()}catch(r){h("error",r)}}else a.width=e.videoWidth,a.height=e.videoHeight,d.drawImage(e,0,0,e.videoWidth,e.videoHeight),p(),m.value=!1,h("camera-off")},{deep:!0}),u(w,async t=>{y.value&&await re(t)});const S=O(()=>M.value.shouldStream&&m.value);u(S,t=>{if(t){n(f.value!==void 0,"shouldScan watcher should only be triggered when component is mounted. Thus pause frame canvas is defined"),x(f.value),n(v.value!==void 0,"shouldScan watcher should only be triggered when component is mounted. Thus tracking canvas is defined"),x(v.value);const e=()=>o.track===void 0?500:40;n(l.value!==void 0,"shouldScan watcher should only be triggered when component is mounted. Thus video element is defined"),ce(l.value,{detectHandler:a=>h("detect",a),formats:w.value,locateHandler:J,minDelay:e()})}});const x=t=>{const e=t.getContext("2d");n(e!==null,"canvas 2d context should always be non-null"),e.clearRect(0,0,t.width,t.height)},J=t=>{const e=v.value;n(e!==void 0,"onLocate handler should only be called when component is mounted. Thus tracking canvas is always defined.");const a=l.value;if(n(a!==void 0,"onLocate handler should only be called when component is mounted. Thus video element is always defined."),t.length===0||o.track===void 0)x(e);else{const d=a.offsetWidth,r=a.offsetHeight,k=a.videoWidth,R=a.videoHeight,B=Math.max(d/k,r/R),T=k*B,C=R*B,D=T/k,E=C/R,F=(d-T)/2,z=(r-C)/2,H=({x:c,y:s})=>({x:Math.floor(c*D),y:Math.floor(s*E)}),L=({x:c,y:s})=>({x:Math.floor(c+F),y:Math.floor(s+z)}),I=t.map(c=>{const{boundingBox:s,cornerPoints:Q}=c,{x:U,y:V}=L(H({x:s.x,y:s.y})),{x:$,y:G}=H({x:s.width,y:s.height});return{...c,cornerPoints:Q.map(K=>L(H(K))),boundingBox:DOMRectReadOnly.fromRect({x:U,y:V,width:$,height:G})}});e.width=a.offsetWidth,e.height=a.offsetHeight;const P=e.getContext("2d");o.track(I,P)}},q={width:"100%",height:"100%",position:"relative","z-index":"0"},W={width:"100%",height:"100%",position:"absolute",top:"0",left:"0"},b={width:"100%",height:"100%","object-fit":"cover"},A=O(()=>S.value?b:{...b,visibility:"hidden",position:"absolute"});return(t,e)=>(ee(),te("div",{style:q},[g("video",{ref_key:"videoRef",ref:l,style:ae(A.value),autoplay:"",muted:"",playsinline:""},null,4),oe(g("canvas",{id:"qrcode-stream-pause-frame",ref_key:"pauseFrameRef",ref:f,style:b},null,512),[[ne,!S.value]]),g("canvas",{id:"qrcode-stream-tracking-layer",ref_key:"trackingLayerRef",ref:v,style:W},null,512),g("div",{style:W},[se(t.$slots,"default")])]))}});export{ue as _}; diff --git a/assets/chunks/QrcodeStream.vue_vue_type_script_setup_true_lang.DspH0Vrb.js b/assets/chunks/QrcodeStream.vue_vue_type_script_setup_true_lang.DspH0Vrb.js deleted file mode 100644 index 75f3ed14..00000000 --- a/assets/chunks/QrcodeStream.vue_vue_type_script_setup_true_lang.DspH0Vrb.js +++ /dev/null @@ -1 +0,0 @@ -import{d as X,h as i,y as u,j as Y,A as Z,g as O,o as ee,c as te,k as g,O as ae,a4 as oe,a7 as ne,r as se}from"./framework.BwCxet3-.js";import{s as p,b as n,c as ie,d as re,k as ce}from"./camera.DE4cteSh.js";const ue=X({__name:"QrcodeStream",props:{constraints:{type:Object,default(){return{facingMode:"environment"}}},formats:{type:Array,default:()=>["qr_code"]},paused:{type:Boolean,default:!1},torch:{type:Boolean,default:!1},track:{type:Function}},emits:["detect","camera-on","camera-off","error"],setup(N,{emit:j}){const o=N,h=j,_=i(o.constraints),w=i(o.formats);u(()=>o.constraints,(t,e)=>{JSON.stringify(t)!==JSON.stringify(e)&&(_.value=t)},{deep:!0}),u(()=>o.formats,(t,e)=>{JSON.stringify(t)!==JSON.stringify(e)&&(w.value=t)},{deep:!0});const f=i(),v=i(),l=i(),m=i(!1),y=i(!1);Y(()=>{y.value=!0}),Z(()=>{p()});const M=O(()=>({torch:o.torch,constraints:_.value,shouldStream:y.value&&!o.paused}));u(M,async t=>{const e=l.value;n(e!==void 0,"cameraSettings watcher should never be triggered when component is not mounted. Thus video element should always be defined.");const a=f.value;n(a!==void 0,"cameraSettings watcher should never be triggered when component is not mounted. Thus canvas should always be defined.");const d=a.getContext("2d");if(n(d!==null,"if cavnas is defined, canvas 2d context should also be non-null"),t.shouldStream){p(),m.value=!1;try{const r=await ie(e,t);y.value?(m.value=!0,h("camera-on",r)):await p()}catch(r){h("error",r)}}else a.width=e.videoWidth,a.height=e.videoHeight,d.drawImage(e,0,0,e.videoWidth,e.videoHeight),p(),m.value=!1,h("camera-off")},{deep:!0}),u(w,t=>{y.value&&re(t)});const S=O(()=>M.value.shouldStream&&m.value);u(S,t=>{if(t){n(f.value!==void 0,"shouldScan watcher should only be triggered when component is mounted. Thus pause frame canvas is defined"),x(f.value),n(v.value!==void 0,"shouldScan watcher should only be triggered when component is mounted. Thus tracking canvas is defined"),x(v.value);const e=()=>o.track===void 0?500:40;n(l.value!==void 0,"shouldScan watcher should only be triggered when component is mounted. Thus video element is defined"),ce(l.value,{detectHandler:a=>h("detect",a),formats:w.value,locateHandler:J,minDelay:e()})}});const x=t=>{const e=t.getContext("2d");n(e!==null,"canvas 2d context should always be non-null"),e.clearRect(0,0,t.width,t.height)},J=t=>{const e=v.value;n(e!==void 0,"onLocate handler should only be called when component is mounted. Thus tracking canvas is always defined.");const a=l.value;if(n(a!==void 0,"onLocate handler should only be called when component is mounted. Thus video element is always defined."),t.length===0||o.track===void 0)x(e);else{const d=a.offsetWidth,r=a.offsetHeight,k=a.videoWidth,R=a.videoHeight,B=Math.max(d/k,r/R),T=k*B,C=R*B,D=T/k,E=C/R,F=(d-T)/2,z=(r-C)/2,H=({x:c,y:s})=>({x:Math.floor(c*D),y:Math.floor(s*E)}),L=({x:c,y:s})=>({x:Math.floor(c+F),y:Math.floor(s+z)}),I=t.map(c=>{const{boundingBox:s,cornerPoints:Q}=c,{x:U,y:V}=L(H({x:s.x,y:s.y})),{x:$,y:G}=H({x:s.width,y:s.height});return{...c,cornerPoints:Q.map(K=>L(H(K))),boundingBox:DOMRectReadOnly.fromRect({x:U,y:V,width:$,height:G})}});e.width=a.offsetWidth,e.height=a.offsetHeight;const P=e.getContext("2d");o.track(I,P)}},q={width:"100%",height:"100%",position:"relative","z-index":"0"},W={width:"100%",height:"100%",position:"absolute",top:"0",left:"0"},b={width:"100%",height:"100%","object-fit":"cover"},A=O(()=>S.value?b:{...b,visibility:"hidden",position:"absolute"});return(t,e)=>(ee(),te("div",{style:q},[g("video",{ref_key:"videoRef",ref:l,style:ae(A.value),autoplay:"",muted:"",playsinline:""},null,4),oe(g("canvas",{id:"qrcode-stream-pause-frame",ref_key:"pauseFrameRef",ref:f,style:b},null,512),[[ne,!S.value]]),g("canvas",{id:"qrcode-stream-tracking-layer",ref_key:"trackingLayerRef",ref:v,style:W},null,512),g("div",{style:W},[se(t.$slots,"default")])]))}});export{ue as _}; diff --git a/assets/chunks/VPLocalSearchBox.ByB8GwlZ.js b/assets/chunks/VPLocalSearchBox.ByB8GwlZ.js new file mode 100644 index 00000000..d35c6cbe --- /dev/null +++ b/assets/chunks/VPLocalSearchBox.ByB8GwlZ.js @@ -0,0 +1,13 @@ +import{Y as pt,h as oe,y as Ve,ao as Ct,ap as Nt,d as It,G as xe,aq as et,g as Fe,ar as Dt,as as Ot,z as _t,at as Rt,j as Oe,P as he,W as Ee,au as Mt,U as Lt,V as zt,av as Pt,Z as Bt,v as Vt,aw as $t,o as ee,b as Wt,k as E,a2 as jt,m as G,a4 as Kt,ax as Jt,ay as Ut,c as re,n as tt,e as Se,E as rt,F as nt,a as ve,t as pe,az as Ht,p as Gt,q as qt,a9 as at,aA as Qt,ad as Yt,aj as Zt,_ as Xt}from"./framework.BwCxet3-.js";import{u as er,c as tr,L as rr}from"./theme.Bu6m7hlu.js";const nr={root:()=>pt(()=>import("./@localSearchIndexroot.ZwSxP_J3.js"),__vite__mapDeps([]))};/*! +* tabbable 6.2.0 +* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE +*/var yt=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],Te=yt.join(","),mt=typeof Element>"u",ue=mt?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,Ce=!mt&&Element.prototype.getRootNode?function(o){var e;return o==null||(e=o.getRootNode)===null||e===void 0?void 0:e.call(o)}:function(o){return o==null?void 0:o.ownerDocument},Ne=function o(e,t){var r;t===void 0&&(t=!0);var a=e==null||(r=e.getAttribute)===null||r===void 0?void 0:r.call(e,"inert"),n=a===""||a==="true",i=n||t&&e&&o(e.parentNode);return i},ar=function(e){var t,r=e==null||(t=e.getAttribute)===null||t===void 0?void 0:t.call(e,"contenteditable");return r===""||r==="true"},gt=function(e,t,r){if(Ne(e))return[];var a=Array.prototype.slice.apply(e.querySelectorAll(Te));return t&&ue.call(e,Te)&&a.unshift(e),a=a.filter(r),a},bt=function o(e,t,r){for(var a=[],n=Array.from(e);n.length;){var i=n.shift();if(!Ne(i,!1))if(i.tagName==="SLOT"){var s=i.assignedElements(),u=s.length?s:i.children,l=o(u,!0,r);r.flatten?a.push.apply(a,l):a.push({scopeParent:i,candidates:l})}else{var d=ue.call(i,Te);d&&r.filter(i)&&(t||!e.includes(i))&&a.push(i);var h=i.shadowRoot||typeof r.getShadowRoot=="function"&&r.getShadowRoot(i),v=!Ne(h,!1)&&(!r.shadowRootFilter||r.shadowRootFilter(i));if(h&&v){var p=o(h===!0?i.children:h.children,!0,r);r.flatten?a.push.apply(a,p):a.push({scopeParent:i,candidates:p})}else n.unshift.apply(n,i.children)}}return a},wt=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},se=function(e){if(!e)throw new Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||ar(e))&&!wt(e)?0:e.tabIndex},ir=function(e,t){var r=se(e);return r<0&&t&&!wt(e)?0:r},or=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},xt=function(e){return e.tagName==="INPUT"},sr=function(e){return xt(e)&&e.type==="hidden"},ur=function(e){var t=e.tagName==="DETAILS"&&Array.prototype.slice.apply(e.children).some(function(r){return r.tagName==="SUMMARY"});return t},lr=function(e,t){for(var r=0;rsummary:first-of-type"),i=n?e.parentElement:e;if(ue.call(i,"details:not([open]) *"))return!0;if(!r||r==="full"||r==="legacy-full"){if(typeof a=="function"){for(var s=e;e;){var u=e.parentElement,l=Ce(e);if(u&&!u.shadowRoot&&a(u)===!0)return it(e);e.assignedSlot?e=e.assignedSlot:!u&&l!==e.ownerDocument?e=l.host:e=u}e=s}if(hr(e))return!e.getClientRects().length;if(r!=="legacy-full")return!0}else if(r==="non-zero-area")return it(e);return!1},pr=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if(t.tagName==="FIELDSET"&&t.disabled){for(var r=0;r=0)},mr=function o(e){var t=[],r=[];return e.forEach(function(a,n){var i=!!a.scopeParent,s=i?a.scopeParent:a,u=ir(s,i),l=i?o(a.candidates):s;u===0?i?t.push.apply(t,l):t.push(s):r.push({documentOrder:n,tabIndex:u,item:a,isScope:i,content:l})}),r.sort(or).reduce(function(a,n){return n.isScope?a.push.apply(a,n.content):a.push(n.content),a},[]).concat(t)},gr=function(e,t){t=t||{};var r;return t.getShadowRoot?r=bt([e],t.includeContainer,{filter:$e.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:yr}):r=gt(e,t.includeContainer,$e.bind(null,t)),mr(r)},br=function(e,t){t=t||{};var r;return t.getShadowRoot?r=bt([e],t.includeContainer,{filter:Ie.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):r=gt(e,t.includeContainer,Ie.bind(null,t)),r},le=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return ue.call(e,Te)===!1?!1:$e(t,e)},wr=yt.concat("iframe").join(","),_e=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return ue.call(e,wr)===!1?!1:Ie(t,e)};/*! +* focus-trap 7.6.0 +* @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE +*/function xr(o,e,t){return(e=Er(e))in o?Object.defineProperty(o,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):o[e]=t,o}function ot(o,e){var t=Object.keys(o);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(o);e&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(o,a).enumerable})),t.push.apply(t,r)}return t}function st(o){for(var e=1;e0){var r=e[e.length-1];r!==t&&r.pause()}var a=e.indexOf(t);a===-1||e.splice(a,1),e.push(t)},deactivateTrap:function(e,t){var r=e.indexOf(t);r!==-1&&e.splice(r,1),e.length>0&&e[e.length-1].unpause()}},Sr=function(e){return e.tagName&&e.tagName.toLowerCase()==="input"&&typeof e.select=="function"},Ar=function(e){return(e==null?void 0:e.key)==="Escape"||(e==null?void 0:e.key)==="Esc"||(e==null?void 0:e.keyCode)===27},ge=function(e){return(e==null?void 0:e.key)==="Tab"||(e==null?void 0:e.keyCode)===9},kr=function(e){return ge(e)&&!e.shiftKey},Tr=function(e){return ge(e)&&e.shiftKey},lt=function(e){return setTimeout(e,0)},ct=function(e,t){var r=-1;return e.every(function(a,n){return t(a)?(r=n,!1):!0}),r},ye=function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),a=1;a1?m-1:0),D=1;D=0)f=r.activeElement;else{var c=i.tabbableGroups[0],m=c&&c.firstTabbableNode;f=m||d("fallbackFocus")}if(!f)throw new Error("Your focus-trap needs to have at least one focusable element");return f},v=function(){if(i.containerGroups=i.containers.map(function(f){var c=gr(f,n.tabbableOptions),m=br(f,n.tabbableOptions),N=c.length>0?c[0]:void 0,D=c.length>0?c[c.length-1]:void 0,z=m.find(function(w){return le(w)}),P=m.slice().reverse().find(function(w){return le(w)}),y=!!c.find(function(w){return se(w)>0});return{container:f,tabbableNodes:c,focusableNodes:m,posTabIndexesFound:y,firstTabbableNode:N,lastTabbableNode:D,firstDomTabbableNode:z,lastDomTabbableNode:P,nextTabbableNode:function(B){var U=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,K=c.indexOf(B);return K<0?U?m.slice(m.indexOf(B)+1).find(function(J){return le(J)}):m.slice(0,m.indexOf(B)).reverse().find(function(J){return le(J)}):c[K+(U?1:-1)]}}}),i.tabbableGroups=i.containerGroups.filter(function(f){return f.tabbableNodes.length>0}),i.tabbableGroups.length<=0&&!d("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(i.containerGroups.find(function(f){return f.posTabIndexesFound})&&i.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},p=function(f){var c=f.activeElement;if(c)return c.shadowRoot&&c.shadowRoot.activeElement!==null?p(c.shadowRoot):c},b=function(f){if(f!==!1&&f!==p(document)){if(!f||!f.focus){b(h());return}f.focus({preventScroll:!!n.preventScroll}),i.mostRecentlyFocusedNode=f,Sr(f)&&f.select()}},S=function(f){var c=d("setReturnFocus",f);return c||(c===!1?!1:f)},g=function(f){var c=f.target,m=f.event,N=f.isBackward,D=N===void 0?!1:N;c=c||Ae(m),v();var z=null;if(i.tabbableGroups.length>0){var P=l(c,m),y=P>=0?i.containerGroups[P]:void 0;if(P<0)D?z=i.tabbableGroups[i.tabbableGroups.length-1].lastTabbableNode:z=i.tabbableGroups[0].firstTabbableNode;else if(D){var w=ct(i.tabbableGroups,function(H){var Q=H.firstTabbableNode;return c===Q});if(w<0&&(y.container===c||_e(c,n.tabbableOptions)&&!le(c,n.tabbableOptions)&&!y.nextTabbableNode(c,!1))&&(w=P),w>=0){var B=w===0?i.tabbableGroups.length-1:w-1,U=i.tabbableGroups[B];z=se(c)>=0?U.lastTabbableNode:U.lastDomTabbableNode}else ge(m)||(z=y.nextTabbableNode(c,!1))}else{var K=ct(i.tabbableGroups,function(H){var Q=H.lastTabbableNode;return c===Q});if(K<0&&(y.container===c||_e(c,n.tabbableOptions)&&!le(c,n.tabbableOptions)&&!y.nextTabbableNode(c))&&(K=P),K>=0){var J=K===i.tabbableGroups.length-1?0:K+1,$=i.tabbableGroups[J];z=se(c)>=0?$.firstTabbableNode:$.firstDomTabbableNode}else ge(m)||(z=y.nextTabbableNode(c))}}else z=d("fallbackFocus");return z},A=function(f){var c=Ae(f);if(!(l(c,f)>=0)){if(ye(n.clickOutsideDeactivates,f)){s.deactivate({returnFocus:n.returnFocusOnDeactivate});return}ye(n.allowOutsideClick,f)||f.preventDefault()}},k=function(f){var c=Ae(f),m=l(c,f)>=0;if(m||c instanceof Document)m&&(i.mostRecentlyFocusedNode=c);else{f.stopImmediatePropagation();var N,D=!0;if(i.mostRecentlyFocusedNode)if(se(i.mostRecentlyFocusedNode)>0){var z=l(i.mostRecentlyFocusedNode),P=i.containerGroups[z].tabbableNodes;if(P.length>0){var y=P.findIndex(function(w){return w===i.mostRecentlyFocusedNode});y>=0&&(n.isKeyForward(i.recentNavEvent)?y+1=0&&(N=P[y-1],D=!1))}}else i.containerGroups.some(function(w){return w.tabbableNodes.some(function(B){return se(B)>0})})||(D=!1);else D=!1;D&&(N=g({target:i.mostRecentlyFocusedNode,isBackward:n.isKeyBackward(i.recentNavEvent)})),b(N||i.mostRecentlyFocusedNode||h())}i.recentNavEvent=void 0},F=function(f){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;i.recentNavEvent=f;var m=g({event:f,isBackward:c});m&&(ge(f)&&f.preventDefault(),b(m))},L=function(f){(n.isKeyForward(f)||n.isKeyBackward(f))&&F(f,n.isKeyBackward(f))},M=function(f){Ar(f)&&ye(n.escapeDeactivates,f)!==!1&&(f.preventDefault(),s.deactivate())},V=function(f){var c=Ae(f);l(c,f)>=0||ye(n.clickOutsideDeactivates,f)||ye(n.allowOutsideClick,f)||(f.preventDefault(),f.stopImmediatePropagation())},C=function(){if(i.active)return ut.activateTrap(a,s),i.delayInitialFocusTimer=n.delayInitialFocus?lt(function(){b(h())}):b(h()),r.addEventListener("focusin",k,!0),r.addEventListener("mousedown",A,{capture:!0,passive:!1}),r.addEventListener("touchstart",A,{capture:!0,passive:!1}),r.addEventListener("click",V,{capture:!0,passive:!1}),r.addEventListener("keydown",L,{capture:!0,passive:!1}),r.addEventListener("keydown",M),s},O=function(){if(i.active)return r.removeEventListener("focusin",k,!0),r.removeEventListener("mousedown",A,!0),r.removeEventListener("touchstart",A,!0),r.removeEventListener("click",V,!0),r.removeEventListener("keydown",L,!0),r.removeEventListener("keydown",M),s},T=function(f){var c=f.some(function(m){var N=Array.from(m.removedNodes);return N.some(function(D){return D===i.mostRecentlyFocusedNode})});c&&b(h())},_=typeof window<"u"&&"MutationObserver"in window?new MutationObserver(T):void 0,R=function(){_&&(_.disconnect(),i.active&&!i.paused&&i.containers.map(function(f){_.observe(f,{subtree:!0,childList:!0})}))};return s={get active(){return i.active},get paused(){return i.paused},activate:function(f){if(i.active)return this;var c=u(f,"onActivate"),m=u(f,"onPostActivate"),N=u(f,"checkCanFocusTrap");N||v(),i.active=!0,i.paused=!1,i.nodeFocusedBeforeActivation=r.activeElement,c==null||c();var D=function(){N&&v(),C(),R(),m==null||m()};return N?(N(i.containers.concat()).then(D,D),this):(D(),this)},deactivate:function(f){if(!i.active)return this;var c=st({onDeactivate:n.onDeactivate,onPostDeactivate:n.onPostDeactivate,checkCanReturnFocus:n.checkCanReturnFocus},f);clearTimeout(i.delayInitialFocusTimer),i.delayInitialFocusTimer=void 0,O(),i.active=!1,i.paused=!1,R(),ut.deactivateTrap(a,s);var m=u(c,"onDeactivate"),N=u(c,"onPostDeactivate"),D=u(c,"checkCanReturnFocus"),z=u(c,"returnFocus","returnFocusOnDeactivate");m==null||m();var P=function(){lt(function(){z&&b(S(i.nodeFocusedBeforeActivation)),N==null||N()})};return z&&D?(D(S(i.nodeFocusedBeforeActivation)).then(P,P),this):(P(),this)},pause:function(f){if(i.paused||!i.active)return this;var c=u(f,"onPause"),m=u(f,"onPostPause");return i.paused=!0,c==null||c(),O(),R(),m==null||m(),this},unpause:function(f){if(!i.paused||!i.active)return this;var c=u(f,"onUnpause"),m=u(f,"onPostUnpause");return i.paused=!1,c==null||c(),v(),C(),R(),m==null||m(),this},updateContainerElements:function(f){var c=[].concat(f).filter(Boolean);return i.containers=c.map(function(m){return typeof m=="string"?r.querySelector(m):m}),i.active&&v(),R(),this}},s.updateContainerElements(e),s};function Ir(o,e={}){let t;const{immediate:r,...a}=e,n=oe(!1),i=oe(!1),s=h=>t&&t.activate(h),u=h=>t&&t.deactivate(h),l=()=>{t&&(t.pause(),i.value=!0)},d=()=>{t&&(t.unpause(),i.value=!1)};return Ve(()=>Ct(o),h=>{h&&(t=Nr(h,{...a,onActivate(){n.value=!0,e.onActivate&&e.onActivate()},onDeactivate(){n.value=!1,e.onDeactivate&&e.onDeactivate()}}),r&&s())},{flush:"post"}),Nt(()=>u()),{hasFocus:n,isPaused:i,activate:s,deactivate:u,pause:l,unpause:d}}class fe{constructor(e,t=!0,r=[],a=5e3){this.ctx=e,this.iframes=t,this.exclude=r,this.iframesTimeout=a}static matches(e,t){const r=typeof t=="string"?[t]:t,a=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(a){let n=!1;return r.every(i=>a.call(e,i)?(n=!0,!1):!0),n}else return!1}getContexts(){let e,t=[];return typeof this.ctx>"u"||!this.ctx?e=[]:NodeList.prototype.isPrototypeOf(this.ctx)?e=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?e=this.ctx:typeof this.ctx=="string"?e=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):e=[this.ctx],e.forEach(r=>{const a=t.filter(n=>n.contains(r)).length>0;t.indexOf(r)===-1&&!a&&t.push(r)}),t}getIframeContents(e,t,r=()=>{}){let a;try{const n=e.contentWindow;if(a=n.document,!n||!a)throw new Error("iframe inaccessible")}catch{r()}a&&t(a)}isIframeBlank(e){const t="about:blank",r=e.getAttribute("src").trim();return e.contentWindow.location.href===t&&r!==t&&r}observeIframeLoad(e,t,r){let a=!1,n=null;const i=()=>{if(!a){a=!0,clearTimeout(n);try{this.isIframeBlank(e)||(e.removeEventListener("load",i),this.getIframeContents(e,t,r))}catch{r()}}};e.addEventListener("load",i),n=setTimeout(i,this.iframesTimeout)}onIframeReady(e,t,r){try{e.contentWindow.document.readyState==="complete"?this.isIframeBlank(e)?this.observeIframeLoad(e,t,r):this.getIframeContents(e,t,r):this.observeIframeLoad(e,t,r)}catch{r()}}waitForIframes(e,t){let r=0;this.forEachIframe(e,()=>!0,a=>{r++,this.waitForIframes(a.querySelector("html"),()=>{--r||t()})},a=>{a||t()})}forEachIframe(e,t,r,a=()=>{}){let n=e.querySelectorAll("iframe"),i=n.length,s=0;n=Array.prototype.slice.call(n);const u=()=>{--i<=0&&a(s)};i||u(),n.forEach(l=>{fe.matches(l,this.exclude)?u():this.onIframeReady(l,d=>{t(l)&&(s++,r(d)),u()},u)})}createIterator(e,t,r){return document.createNodeIterator(e,t,r,!1)}createInstanceOnIframe(e){return new fe(e.querySelector("html"),this.iframes)}compareNodeIframe(e,t,r){const a=e.compareDocumentPosition(r),n=Node.DOCUMENT_POSITION_PRECEDING;if(a&n)if(t!==null){const i=t.compareDocumentPosition(r),s=Node.DOCUMENT_POSITION_FOLLOWING;if(i&s)return!0}else return!0;return!1}getIteratorNode(e){const t=e.previousNode();let r;return t===null?r=e.nextNode():r=e.nextNode()&&e.nextNode(),{prevNode:t,node:r}}checkIframeFilter(e,t,r,a){let n=!1,i=!1;return a.forEach((s,u)=>{s.val===r&&(n=u,i=s.handled)}),this.compareNodeIframe(e,t,r)?(n===!1&&!i?a.push({val:r,handled:!0}):n!==!1&&!i&&(a[n].handled=!0),!0):(n===!1&&a.push({val:r,handled:!1}),!1)}handleOpenIframes(e,t,r,a){e.forEach(n=>{n.handled||this.getIframeContents(n.val,i=>{this.createInstanceOnIframe(i).forEachNode(t,r,a)})})}iterateThroughNodes(e,t,r,a,n){const i=this.createIterator(t,e,a);let s=[],u=[],l,d,h=()=>({prevNode:d,node:l}=this.getIteratorNode(i),l);for(;h();)this.iframes&&this.forEachIframe(t,v=>this.checkIframeFilter(l,d,v,s),v=>{this.createInstanceOnIframe(v).forEachNode(e,p=>u.push(p),a)}),u.push(l);u.forEach(v=>{r(v)}),this.iframes&&this.handleOpenIframes(s,e,r,a),n()}forEachNode(e,t,r,a=()=>{}){const n=this.getContexts();let i=n.length;i||a(),n.forEach(s=>{const u=()=>{this.iterateThroughNodes(e,s,t,r,()=>{--i<=0&&a()})};this.iframes?this.waitForIframes(s,u):u()})}}let Dr=class{constructor(e){this.ctx=e,this.ie=!1;const t=window.navigator.userAgent;(t.indexOf("MSIE")>-1||t.indexOf("Trident")>-1)&&(this.ie=!0)}set opt(e){this._opt=Object.assign({},{element:"",className:"",exclude:[],iframes:!1,iframesTimeout:5e3,separateWordSearch:!0,diacritics:!0,synonyms:{},accuracy:"partially",acrossElements:!1,caseSensitive:!1,ignoreJoiners:!1,ignoreGroups:0,ignorePunctuation:[],wildcards:"disabled",each:()=>{},noMatch:()=>{},filter:()=>!0,done:()=>{},debug:!1,log:window.console},e)}get opt(){return this._opt}get iterator(){return new fe(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(e,t="debug"){const r=this.opt.log;this.opt.debug&&typeof r=="object"&&typeof r[t]=="function"&&r[t](`mark.js: ${e}`)}escapeStr(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(e){return this.opt.wildcards!=="disabled"&&(e=this.setupWildcardsRegExp(e)),e=this.escapeStr(e),Object.keys(this.opt.synonyms).length&&(e=this.createSynonymsRegExp(e)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),this.opt.diacritics&&(e=this.createDiacriticsRegExp(e)),e=this.createMergedBlanksRegExp(e),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.createJoinersRegExp(e)),this.opt.wildcards!=="disabled"&&(e=this.createWildcardsRegExp(e)),e=this.createAccuracyRegExp(e),e}createSynonymsRegExp(e){const t=this.opt.synonyms,r=this.opt.caseSensitive?"":"i",a=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let n in t)if(t.hasOwnProperty(n)){const i=t[n],s=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(n):this.escapeStr(n),u=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(i):this.escapeStr(i);s!==""&&u!==""&&(e=e.replace(new RegExp(`(${this.escapeStr(s)}|${this.escapeStr(u)})`,`gm${r}`),a+`(${this.processSynomyms(s)}|${this.processSynomyms(u)})`+a))}return e}processSynomyms(e){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),e}setupWildcardsRegExp(e){return e=e.replace(/(?:\\)*\?/g,t=>t.charAt(0)==="\\"?"?":""),e.replace(/(?:\\)*\*/g,t=>t.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(e){let t=this.opt.wildcards==="withSpaces";return e.replace(/\u0001/g,t?"[\\S\\s]?":"\\S?").replace(/\u0002/g,t?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(e){return e.replace(/[^(|)\\]/g,(t,r,a)=>{let n=a.charAt(r+1);return/[(|)\\]/.test(n)||n===""?t:t+"\0"})}createJoinersRegExp(e){let t=[];const r=this.opt.ignorePunctuation;return Array.isArray(r)&&r.length&&t.push(this.escapeStr(r.join(""))),this.opt.ignoreJoiners&&t.push("\\u00ad\\u200b\\u200c\\u200d"),t.length?e.split(/\u0000+/).join(`[${t.join("")}]*`):e}createDiacriticsRegExp(e){const t=this.opt.caseSensitive?"":"i",r=this.opt.caseSensitive?["aàáảãạăằắẳẵặâầấẩẫậäåāą","AÀÁẢÃẠĂẰẮẲẴẶÂẦẤẨẪẬÄÅĀĄ","cçćč","CÇĆČ","dđď","DĐĎ","eèéẻẽẹêềếểễệëěēę","EÈÉẺẼẸÊỀẾỂỄỆËĚĒĘ","iìíỉĩịîïī","IÌÍỈĨỊÎÏĪ","lł","LŁ","nñňń","NÑŇŃ","oòóỏõọôồốổỗộơởỡớờợöøō","OÒÓỎÕỌÔỒỐỔỖỘƠỞỠỚỜỢÖØŌ","rř","RŘ","sšśșş","SŠŚȘŞ","tťțţ","TŤȚŢ","uùúủũụưừứửữựûüůū","UÙÚỦŨỤƯỪỨỬỮỰÛÜŮŪ","yýỳỷỹỵÿ","YÝỲỶỸỴŸ","zžżź","ZŽŻŹ"]:["aàáảãạăằắẳẵặâầấẩẫậäåāąAÀÁẢÃẠĂẰẮẲẴẶÂẦẤẨẪẬÄÅĀĄ","cçćčCÇĆČ","dđďDĐĎ","eèéẻẽẹêềếểễệëěēęEÈÉẺẼẸÊỀẾỂỄỆËĚĒĘ","iìíỉĩịîïīIÌÍỈĨỊÎÏĪ","lłLŁ","nñňńNÑŇŃ","oòóỏõọôồốổỗộơởỡớờợöøōOÒÓỎÕỌÔỒỐỔỖỘƠỞỠỚỜỢÖØŌ","rřRŘ","sšśșşSŠŚȘŞ","tťțţTŤȚŢ","uùúủũụưừứửữựûüůūUÙÚỦŨỤƯỪỨỬỮỰÛÜŮŪ","yýỳỷỹỵÿYÝỲỶỸỴŸ","zžżźZŽŻŹ"];let a=[];return e.split("").forEach(n=>{r.every(i=>{if(i.indexOf(n)!==-1){if(a.indexOf(i)>-1)return!1;e=e.replace(new RegExp(`[${i}]`,`gm${t}`),`[${i}]`),a.push(i)}return!0})}),e}createMergedBlanksRegExp(e){return e.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(e){const t="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~¡¿";let r=this.opt.accuracy,a=typeof r=="string"?r:r.value,n=typeof r=="string"?[]:r.limiters,i="";switch(n.forEach(s=>{i+=`|${this.escapeStr(s)}`}),a){case"partially":default:return`()(${e})`;case"complementary":return i="\\s"+(i||this.escapeStr(t)),`()([^${i}]*${e}[^${i}]*)`;case"exactly":return`(^|\\s${i})(${e})(?=$|\\s${i})`}}getSeparatedKeywords(e){let t=[];return e.forEach(r=>{this.opt.separateWordSearch?r.split(" ").forEach(a=>{a.trim()&&t.indexOf(a)===-1&&t.push(a)}):r.trim()&&t.indexOf(r)===-1&&t.push(r)}),{keywords:t.sort((r,a)=>a.length-r.length),length:t.length}}isNumeric(e){return Number(parseFloat(e))==e}checkRanges(e){if(!Array.isArray(e)||Object.prototype.toString.call(e[0])!=="[object Object]")return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(e),[];const t=[];let r=0;return e.sort((a,n)=>a.start-n.start).forEach(a=>{let{start:n,end:i,valid:s}=this.callNoMatchOnInvalidRanges(a,r);s&&(a.start=n,a.length=i-n,t.push(a),r=i)}),t}callNoMatchOnInvalidRanges(e,t){let r,a,n=!1;return e&&typeof e.start<"u"?(r=parseInt(e.start,10),a=r+parseInt(e.length,10),this.isNumeric(e.start)&&this.isNumeric(e.length)&&a-t>0&&a-r>0?n=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(e)}`),this.opt.noMatch(e))):(this.log(`Ignoring invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)),{start:r,end:a,valid:n}}checkWhitespaceRanges(e,t,r){let a,n=!0,i=r.length,s=t-i,u=parseInt(e.start,10)-s;return u=u>i?i:u,a=u+parseInt(e.length,10),a>i&&(a=i,this.log(`End range automatically set to the max value of ${i}`)),u<0||a-u<0||u>i||a>i?(n=!1,this.log(`Invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)):r.substring(u,a).replace(/\s+/g,"")===""&&(n=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:u,end:a,valid:n}}getTextNodes(e){let t="",r=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,a=>{r.push({start:t.length,end:(t+=a.textContent).length,node:a})},a=>this.matchesExclude(a.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{e({value:t,nodes:r})})}matchesExclude(e){return fe.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(e,t,r){const a=this.opt.element?this.opt.element:"mark",n=e.splitText(t),i=n.splitText(r-t);let s=document.createElement(a);return s.setAttribute("data-markjs","true"),this.opt.className&&s.setAttribute("class",this.opt.className),s.textContent=n.textContent,n.parentNode.replaceChild(s,n),i}wrapRangeInMappedTextNode(e,t,r,a,n){e.nodes.every((i,s)=>{const u=e.nodes[s+1];if(typeof u>"u"||u.start>t){if(!a(i.node))return!1;const l=t-i.start,d=(r>i.end?i.end:r)-i.start,h=e.value.substr(0,i.start),v=e.value.substr(d+i.start);if(i.node=this.wrapRangeInTextNode(i.node,l,d),e.value=h+v,e.nodes.forEach((p,b)=>{b>=s&&(e.nodes[b].start>0&&b!==s&&(e.nodes[b].start-=d),e.nodes[b].end-=d)}),r-=d,n(i.node.previousSibling,i.start),r>i.end)t=i.end;else return!1}return!0})}wrapMatches(e,t,r,a,n){const i=t===0?0:t+1;this.getTextNodes(s=>{s.nodes.forEach(u=>{u=u.node;let l;for(;(l=e.exec(u.textContent))!==null&&l[i]!=="";){if(!r(l[i],u))continue;let d=l.index;if(i!==0)for(let h=1;h{let u;for(;(u=e.exec(s.value))!==null&&u[i]!=="";){let l=u.index;if(i!==0)for(let h=1;hr(u[i],h),(h,v)=>{e.lastIndex=v,a(h)})}n()})}wrapRangeFromIndex(e,t,r,a){this.getTextNodes(n=>{const i=n.value.length;e.forEach((s,u)=>{let{start:l,end:d,valid:h}=this.checkWhitespaceRanges(s,i,n.value);h&&this.wrapRangeInMappedTextNode(n,l,d,v=>t(v,s,n.value.substring(l,d),u),v=>{r(v,s)})}),a()})}unwrapMatches(e){const t=e.parentNode;let r=document.createDocumentFragment();for(;e.firstChild;)r.appendChild(e.removeChild(e.firstChild));t.replaceChild(r,e),this.ie?this.normalizeTextNode(t):t.normalize()}normalizeTextNode(e){if(e){if(e.nodeType===3)for(;e.nextSibling&&e.nextSibling.nodeType===3;)e.nodeValue+=e.nextSibling.nodeValue,e.parentNode.removeChild(e.nextSibling);else this.normalizeTextNode(e.firstChild);this.normalizeTextNode(e.nextSibling)}}markRegExp(e,t){this.opt=t,this.log(`Searching with expression "${e}"`);let r=0,a="wrapMatches";const n=i=>{r++,this.opt.each(i)};this.opt.acrossElements&&(a="wrapMatchesAcrossElements"),this[a](e,this.opt.ignoreGroups,(i,s)=>this.opt.filter(s,i,r),n,()=>{r===0&&this.opt.noMatch(e),this.opt.done(r)})}mark(e,t){this.opt=t;let r=0,a="wrapMatches";const{keywords:n,length:i}=this.getSeparatedKeywords(typeof e=="string"?[e]:e),s=this.opt.caseSensitive?"":"i",u=l=>{let d=new RegExp(this.createRegExp(l),`gm${s}`),h=0;this.log(`Searching with expression "${d}"`),this[a](d,1,(v,p)=>this.opt.filter(p,l,r,h),v=>{h++,r++,this.opt.each(v)},()=>{h===0&&this.opt.noMatch(l),n[i-1]===l?this.opt.done(r):u(n[n.indexOf(l)+1])})};this.opt.acrossElements&&(a="wrapMatchesAcrossElements"),i===0?this.opt.done(r):u(n[0])}markRanges(e,t){this.opt=t;let r=0,a=this.checkRanges(e);a&&a.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(a)),this.wrapRangeFromIndex(a,(n,i,s,u)=>this.opt.filter(n,i,s,u),(n,i)=>{r++,this.opt.each(n,i)},()=>{this.opt.done(r)})):this.opt.done(r)}unmark(e){this.opt=e;let t=this.opt.element?this.opt.element:"*";t+="[data-markjs]",this.opt.className&&(t+=`.${this.opt.className}`),this.log(`Removal selector "${t}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,r=>{this.unwrapMatches(r)},r=>{const a=fe.matches(r,t),n=this.matchesExclude(r);return!a||n?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function Or(o){const e=new Dr(o);return this.mark=(t,r)=>(e.mark(t,r),this),this.markRegExp=(t,r)=>(e.markRegExp(t,r),this),this.markRanges=(t,r)=>(e.markRanges(t,r),this),this.unmark=t=>(e.unmark(t),this),this}var W=function(){return W=Object.assign||function(e){for(var t,r=1,a=arguments.length;r0&&n[n.length-1])&&(l[0]===6||l[0]===2)){t=0;continue}if(l[0]===3&&(!n||l[1]>n[0]&&l[1]=o.length&&(o=void 0),{value:o&&o[r++],done:!o}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function j(o,e){var t=typeof Symbol=="function"&&o[Symbol.iterator];if(!t)return o;var r=t.call(o),a,n=[],i;try{for(;(e===void 0||e-- >0)&&!(a=r.next()).done;)n.push(a.value)}catch(s){i={error:s}}finally{try{a&&!a.done&&(t=r.return)&&t.call(r)}finally{if(i)throw i.error}}return n}var Mr="ENTRIES",Ft="KEYS",Et="VALUES",q="",Re=function(){function o(e,t){var r=e._tree,a=Array.from(r.keys());this.set=e,this._type=t,this._path=a.length>0?[{node:r,keys:a}]:[]}return o.prototype.next=function(){var e=this.dive();return this.backtrack(),e},o.prototype.dive=function(){if(this._path.length===0)return{done:!0,value:void 0};var e=ce(this._path),t=e.node,r=e.keys;if(ce(r)===q)return{done:!1,value:this.result()};var a=t.get(ce(r));return this._path.push({node:a,keys:Array.from(a.keys())}),this.dive()},o.prototype.backtrack=function(){if(this._path.length!==0){var e=ce(this._path).keys;e.pop(),!(e.length>0)&&(this._path.pop(),this.backtrack())}},o.prototype.key=function(){return this.set._prefix+this._path.map(function(e){var t=e.keys;return ce(t)}).filter(function(e){return e!==q}).join("")},o.prototype.value=function(){return ce(this._path).node.get(q)},o.prototype.result=function(){switch(this._type){case Et:return this.value();case Ft:return this.key();default:return[this.key(),this.value()]}},o.prototype[Symbol.iterator]=function(){return this},o}(),ce=function(o){return o[o.length-1]},Lr=function(o,e,t){var r=new Map;if(e===void 0)return r;for(var a=e.length+1,n=a+t,i=new Uint8Array(n*a).fill(t+1),s=0;st)continue e}St(o.get(p),e,t,r,a,S,i,s+p)}}}catch(f){u={error:f}}finally{try{v&&!v.done&&(l=h.return)&&l.call(h)}finally{if(u)throw u.error}}},Me=function(){function o(e,t){e===void 0&&(e=new Map),t===void 0&&(t=""),this._size=void 0,this._tree=e,this._prefix=t}return o.prototype.atPrefix=function(e){var t,r;if(!e.startsWith(this._prefix))throw new Error("Mismatched prefix");var a=j(De(this._tree,e.slice(this._prefix.length)),2),n=a[0],i=a[1];if(n===void 0){var s=j(Je(i),2),u=s[0],l=s[1];try{for(var d=I(u.keys()),h=d.next();!h.done;h=d.next()){var v=h.value;if(v!==q&&v.startsWith(l)){var p=new Map;return p.set(v.slice(l.length),u.get(v)),new o(p,e)}}}catch(b){t={error:b}}finally{try{h&&!h.done&&(r=d.return)&&r.call(d)}finally{if(t)throw t.error}}}return new o(n,e)},o.prototype.clear=function(){this._size=void 0,this._tree.clear()},o.prototype.delete=function(e){return this._size=void 0,zr(this._tree,e)},o.prototype.entries=function(){return new Re(this,Mr)},o.prototype.forEach=function(e){var t,r;try{for(var a=I(this),n=a.next();!n.done;n=a.next()){var i=j(n.value,2),s=i[0],u=i[1];e(s,u,this)}}catch(l){t={error:l}}finally{try{n&&!n.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}},o.prototype.fuzzyGet=function(e,t){return Lr(this._tree,e,t)},o.prototype.get=function(e){var t=We(this._tree,e);return t!==void 0?t.get(q):void 0},o.prototype.has=function(e){var t=We(this._tree,e);return t!==void 0&&t.has(q)},o.prototype.keys=function(){return new Re(this,Ft)},o.prototype.set=function(e,t){if(typeof e!="string")throw new Error("key must be a string");this._size=void 0;var r=Le(this._tree,e);return r.set(q,t),this},Object.defineProperty(o.prototype,"size",{get:function(){if(this._size)return this._size;this._size=0;for(var e=this.entries();!e.next().done;)this._size+=1;return this._size},enumerable:!1,configurable:!0}),o.prototype.update=function(e,t){if(typeof e!="string")throw new Error("key must be a string");this._size=void 0;var r=Le(this._tree,e);return r.set(q,t(r.get(q))),this},o.prototype.fetch=function(e,t){if(typeof e!="string")throw new Error("key must be a string");this._size=void 0;var r=Le(this._tree,e),a=r.get(q);return a===void 0&&r.set(q,a=t()),a},o.prototype.values=function(){return new Re(this,Et)},o.prototype[Symbol.iterator]=function(){return this.entries()},o.from=function(e){var t,r,a=new o;try{for(var n=I(e),i=n.next();!i.done;i=n.next()){var s=j(i.value,2),u=s[0],l=s[1];a.set(u,l)}}catch(d){t={error:d}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}return a},o.fromObject=function(e){return o.from(Object.entries(e))},o}(),De=function(o,e,t){var r,a;if(t===void 0&&(t=[]),e.length===0||o==null)return[o,t];try{for(var n=I(o.keys()),i=n.next();!i.done;i=n.next()){var s=i.value;if(s!==q&&e.startsWith(s))return t.push([o,s]),De(o.get(s),e.slice(s.length),t)}}catch(u){r={error:u}}finally{try{i&&!i.done&&(a=n.return)&&a.call(n)}finally{if(r)throw r.error}}return t.push([o,e]),De(void 0,"",t)},We=function(o,e){var t,r;if(e.length===0||o==null)return o;try{for(var a=I(o.keys()),n=a.next();!n.done;n=a.next()){var i=n.value;if(i!==q&&e.startsWith(i))return We(o.get(i),e.slice(i.length))}}catch(s){t={error:s}}finally{try{n&&!n.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}},Le=function(o,e){var t,r,a=e.length;e:for(var n=0;o&&n0)throw new Error("Expected documents to be present. Omit the argument to remove all documents.");this._index=new Me,this._documentCount=0,this._documentIds=new Map,this._idToShortId=new Map,this._fieldLength=new Map,this._avgFieldLength=[],this._storedFields=new Map,this._nextId=0}},o.prototype.discard=function(e){var t=this,r=this._idToShortId.get(e);if(r==null)throw new Error("MiniSearch: cannot discard document with ID ".concat(e,": it is not in the index"));this._idToShortId.delete(e),this._documentIds.delete(r),this._storedFields.delete(r),(this._fieldLength.get(r)||[]).forEach(function(a,n){t.removeFieldLength(r,n,t._documentCount,a)}),this._fieldLength.delete(r),this._documentCount-=1,this._dirtCount+=1,this.maybeAutoVacuum()},o.prototype.maybeAutoVacuum=function(){if(this._options.autoVacuum!==!1){var e=this._options.autoVacuum,t=e.minDirtFactor,r=e.minDirtCount,a=e.batchSize,n=e.batchWait;this.conditionalVacuum({batchSize:a,batchWait:n},{minDirtCount:r,minDirtFactor:t})}},o.prototype.discardAll=function(e){var t,r,a=this._options.autoVacuum;try{this._options.autoVacuum=!1;try{for(var n=I(e),i=n.next();!i.done;i=n.next()){var s=i.value;this.discard(s)}}catch(u){t={error:u}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}}finally{this._options.autoVacuum=a}this.maybeAutoVacuum()},o.prototype.replace=function(e){var t=this._options,r=t.idField,a=t.extractField,n=a(e,r);this.discard(n),this.add(e)},o.prototype.vacuum=function(e){return e===void 0&&(e={}),this.conditionalVacuum(e)},o.prototype.conditionalVacuum=function(e,t){var r=this;return this._currentVacuum?(this._enqueuedVacuumConditions=this._enqueuedVacuumConditions&&t,this._enqueuedVacuum!=null?this._enqueuedVacuum:(this._enqueuedVacuum=this._currentVacuum.then(function(){var a=r._enqueuedVacuumConditions;return r._enqueuedVacuumConditions=Ke,r.performVacuuming(e,a)}),this._enqueuedVacuum)):this.vacuumConditionsMet(t)===!1?Promise.resolve():(this._currentVacuum=this.performVacuuming(e),this._currentVacuum)},o.prototype.performVacuuming=function(e,t){return _r(this,void 0,void 0,function(){var r,a,n,i,s,u,l,d,h,v,p,b,S,g,A,k,F,L,M,V,C,O,T,_,R;return Rr(this,function(x){switch(x.label){case 0:if(r=this._dirtCount,!this.vacuumConditionsMet(t))return[3,10];a=e.batchSize||je.batchSize,n=e.batchWait||je.batchWait,i=1,x.label=1;case 1:x.trys.push([1,7,8,9]),s=I(this._index),u=s.next(),x.label=2;case 2:if(u.done)return[3,6];l=j(u.value,2),d=l[0],h=l[1];try{for(v=(O=void 0,I(h)),p=v.next();!p.done;p=v.next()){b=j(p.value,2),S=b[0],g=b[1];try{for(A=(_=void 0,I(g)),k=A.next();!k.done;k=A.next())F=j(k.value,1),L=F[0],!this._documentIds.has(L)&&(g.size<=1?h.delete(S):g.delete(L))}catch(f){_={error:f}}finally{try{k&&!k.done&&(R=A.return)&&R.call(A)}finally{if(_)throw _.error}}}}catch(f){O={error:f}}finally{try{p&&!p.done&&(T=v.return)&&T.call(v)}finally{if(O)throw O.error}}return this._index.get(d).size===0&&this._index.delete(d),i%a!==0?[3,4]:[4,new Promise(function(f){return setTimeout(f,n)})];case 3:x.sent(),x.label=4;case 4:i+=1,x.label=5;case 5:return u=s.next(),[3,2];case 6:return[3,9];case 7:return M=x.sent(),V={error:M},[3,9];case 8:try{u&&!u.done&&(C=s.return)&&C.call(s)}finally{if(V)throw V.error}return[7];case 9:this._dirtCount-=r,x.label=10;case 10:return[4,null];case 11:return x.sent(),this._currentVacuum=this._enqueuedVacuum,this._enqueuedVacuum=null,[2]}})})},o.prototype.vacuumConditionsMet=function(e){if(e==null)return!0;var t=e.minDirtCount,r=e.minDirtFactor;return t=t||Be.minDirtCount,r=r||Be.minDirtFactor,this.dirtCount>=t&&this.dirtFactor>=r},Object.defineProperty(o.prototype,"isVacuuming",{get:function(){return this._currentVacuum!=null},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"dirtCount",{get:function(){return this._dirtCount},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"dirtFactor",{get:function(){return this._dirtCount/(1+this._documentCount+this._dirtCount)},enumerable:!1,configurable:!0}),o.prototype.has=function(e){return this._idToShortId.has(e)},o.prototype.getStoredFields=function(e){var t=this._idToShortId.get(e);if(t!=null)return this._storedFields.get(t)},o.prototype.search=function(e,t){var r,a;t===void 0&&(t={});var n=this.executeQuery(e,t),i=[];try{for(var s=I(n),u=s.next();!u.done;u=s.next()){var l=j(u.value,2),d=l[0],h=l[1],v=h.score,p=h.terms,b=h.match,S=p.length||1,g={id:this._documentIds.get(d),score:v*S,terms:Object.keys(b),queryTerms:p,match:b};Object.assign(g,this._storedFields.get(d)),(t.filter==null||t.filter(g))&&i.push(g)}}catch(A){r={error:A}}finally{try{u&&!u.done&&(a=s.return)&&a.call(s)}finally{if(r)throw r.error}}return e===o.wildcard&&t.boostDocument==null&&this._options.searchOptions.boostDocument==null||i.sort(ht),i},o.prototype.autoSuggest=function(e,t){var r,a,n,i;t===void 0&&(t={}),t=W(W({},this._options.autoSuggestOptions),t);var s=new Map;try{for(var u=I(this.search(e,t)),l=u.next();!l.done;l=u.next()){var d=l.value,h=d.score,v=d.terms,p=v.join(" "),b=s.get(p);b!=null?(b.score+=h,b.count+=1):s.set(p,{score:h,terms:v,count:1})}}catch(M){r={error:M}}finally{try{l&&!l.done&&(a=u.return)&&a.call(u)}finally{if(r)throw r.error}}var S=[];try{for(var g=I(s),A=g.next();!A.done;A=g.next()){var k=j(A.value,2),b=k[0],F=k[1],h=F.score,v=F.terms,L=F.count;S.push({suggestion:b,terms:v,score:h/L})}}catch(M){n={error:M}}finally{try{A&&!A.done&&(i=g.return)&&i.call(g)}finally{if(n)throw n.error}}return S.sort(ht),S},Object.defineProperty(o.prototype,"documentCount",{get:function(){return this._documentCount},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"termCount",{get:function(){return this._index.size},enumerable:!1,configurable:!0}),o.loadJSON=function(e,t){if(t==null)throw new Error("MiniSearch: loadJSON should be given the same options used when serializing the index");return this.loadJS(JSON.parse(e),t)},o.getDefault=function(e){if(Pe.hasOwnProperty(e))return ze(Pe,e);throw new Error('MiniSearch: unknown option "'.concat(e,'"'))},o.loadJS=function(e,t){var r,a,n,i,s,u,l=e.index,d=e.documentCount,h=e.nextId,v=e.documentIds,p=e.fieldIds,b=e.fieldLength,S=e.averageFieldLength,g=e.storedFields,A=e.dirtCount,k=e.serializationVersion;if(k!==1&&k!==2)throw new Error("MiniSearch: cannot deserialize an index created with an incompatible version");var F=new o(t);F._documentCount=d,F._nextId=h,F._documentIds=ke(v),F._idToShortId=new Map,F._fieldIds=p,F._fieldLength=ke(b),F._avgFieldLength=S,F._storedFields=ke(g),F._dirtCount=A||0,F._index=new Me;try{for(var L=I(F._documentIds),M=L.next();!M.done;M=L.next()){var V=j(M.value,2),C=V[0],O=V[1];F._idToShortId.set(O,C)}}catch(P){r={error:P}}finally{try{M&&!M.done&&(a=L.return)&&a.call(L)}finally{if(r)throw r.error}}try{for(var T=I(l),_=T.next();!_.done;_=T.next()){var R=j(_.value,2),x=R[0],f=R[1],c=new Map;try{for(var m=(s=void 0,I(Object.keys(f))),N=m.next();!N.done;N=m.next()){var D=N.value,z=f[D];k===1&&(z=z.ds),c.set(parseInt(D,10),ke(z))}}catch(P){s={error:P}}finally{try{N&&!N.done&&(u=m.return)&&u.call(m)}finally{if(s)throw s.error}}F._index.set(x,c)}}catch(P){n={error:P}}finally{try{_&&!_.done&&(i=T.return)&&i.call(T)}finally{if(n)throw n.error}}return F},o.prototype.executeQuery=function(e,t){var r=this;if(t===void 0&&(t={}),e===o.wildcard)return this.executeWildcardQuery(t);if(typeof e!="string"){var a=W(W(W({},t),e),{queries:void 0}),n=e.queries.map(function(g){return r.executeQuery(g,a)});return this.combineResults(n,a.combineWith)}var i=this._options,s=i.tokenize,u=i.processTerm,l=i.searchOptions,d=W(W({tokenize:s,processTerm:u},l),t),h=d.tokenize,v=d.processTerm,p=h(e).flatMap(function(g){return v(g)}).filter(function(g){return!!g}),b=p.map(jr(d)),S=b.map(function(g){return r.executeQuerySpec(g,d)});return this.combineResults(S,d.combineWith)},o.prototype.executeQuerySpec=function(e,t){var r,a,n,i,s=W(W({},this._options.searchOptions),t),u=(s.fields||this._options.fields).reduce(function(D,z){var P;return W(W({},D),(P={},P[z]=ze(s.boost,z)||1,P))},{}),l=s.boostDocument,d=s.weights,h=s.maxFuzzy,v=s.bm25,p=W(W({},ft.weights),d),b=p.fuzzy,S=p.prefix,g=this._index.get(e.term),A=this.termResults(e.term,e.term,1,g,u,l,v),k,F;if(e.prefix&&(k=this._index.atPrefix(e.term)),e.fuzzy){var L=e.fuzzy===!0?.2:e.fuzzy,M=L<1?Math.min(h,Math.round(e.term.length*L)):L;M&&(F=this._index.fuzzyGet(e.term,M))}if(k)try{for(var V=I(k),C=V.next();!C.done;C=V.next()){var O=j(C.value,2),T=O[0],_=O[1],R=T.length-e.term.length;if(R){F==null||F.delete(T);var x=S*T.length/(T.length+.3*R);this.termResults(e.term,T,x,_,u,l,v,A)}}}catch(D){r={error:D}}finally{try{C&&!C.done&&(a=V.return)&&a.call(V)}finally{if(r)throw r.error}}if(F)try{for(var f=I(F.keys()),c=f.next();!c.done;c=f.next()){var T=c.value,m=j(F.get(T),2),N=m[0],R=m[1];if(R){var x=b*T.length/(T.length+R);this.termResults(e.term,T,x,N,u,l,v,A)}}}catch(D){n={error:D}}finally{try{c&&!c.done&&(i=f.return)&&i.call(f)}finally{if(n)throw n.error}}return A},o.prototype.executeWildcardQuery=function(e){var t,r,a=new Map,n=W(W({},this._options.searchOptions),e);try{for(var i=I(this._documentIds),s=i.next();!s.done;s=i.next()){var u=j(s.value,2),l=u[0],d=u[1],h=n.boostDocument?n.boostDocument(d,"",this._storedFields.get(l)):1;a.set(l,{score:h,terms:[],match:{}})}}catch(v){t={error:v}}finally{try{s&&!s.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return a},o.prototype.combineResults=function(e,t){if(t===void 0&&(t=Ue),e.length===0)return new Map;var r=t.toLowerCase();return e.reduce(Vr[r])||new Map},o.prototype.toJSON=function(){var e,t,r,a,n=[];try{for(var i=I(this._index),s=i.next();!s.done;s=i.next()){var u=j(s.value,2),l=u[0],d=u[1],h={};try{for(var v=(r=void 0,I(d)),p=v.next();!p.done;p=v.next()){var b=j(p.value,2),S=b[0],g=b[1];h[S]=Object.fromEntries(g)}}catch(A){r={error:A}}finally{try{p&&!p.done&&(a=v.return)&&a.call(v)}finally{if(r)throw r.error}}n.push([l,h])}}catch(A){e={error:A}}finally{try{s&&!s.done&&(t=i.return)&&t.call(i)}finally{if(e)throw e.error}}return{documentCount:this._documentCount,nextId:this._nextId,documentIds:Object.fromEntries(this._documentIds),fieldIds:this._fieldIds,fieldLength:Object.fromEntries(this._fieldLength),averageFieldLength:this._avgFieldLength,storedFields:Object.fromEntries(this._storedFields),dirtCount:this._dirtCount,index:n,serializationVersion:2}},o.prototype.termResults=function(e,t,r,a,n,i,s,u){var l,d,h,v,p;if(u===void 0&&(u=new Map),a==null)return u;try{for(var b=I(Object.keys(n)),S=b.next();!S.done;S=b.next()){var g=S.value,A=n[g],k=this._fieldIds[g],F=a.get(k);if(F!=null){var L=F.size,M=this._avgFieldLength[k];try{for(var V=(h=void 0,I(F.keys())),C=V.next();!C.done;C=V.next()){var O=C.value;if(!this._documentIds.has(O)){this.removeTerm(k,O,t),L-=1;continue}var T=i?i(this._documentIds.get(O),t,this._storedFields.get(O)):1;if(T){var _=F.get(O),R=this._fieldLength.get(O)[k],x=Wr(_,L,this._documentCount,R,M,s),f=r*A*T*x,c=u.get(O);if(c){c.score+=f,Jr(c.terms,e);var m=ze(c.match,t);m?m.push(g):c.match[t]=[g]}else u.set(O,{score:f,terms:[e],match:(p={},p[t]=[g],p)})}}}catch(N){h={error:N}}finally{try{C&&!C.done&&(v=V.return)&&v.call(V)}finally{if(h)throw h.error}}}}}catch(N){l={error:N}}finally{try{S&&!S.done&&(d=b.return)&&d.call(b)}finally{if(l)throw l.error}}return u},o.prototype.addTerm=function(e,t,r){var a=this._index.fetch(r,vt),n=a.get(e);if(n==null)n=new Map,n.set(t,1),a.set(e,n);else{var i=n.get(t);n.set(t,(i||0)+1)}},o.prototype.removeTerm=function(e,t,r){if(!this._index.has(r)){this.warnDocumentChanged(t,e,r);return}var a=this._index.fetch(r,vt),n=a.get(e);n==null||n.get(t)==null?this.warnDocumentChanged(t,e,r):n.get(t)<=1?n.size<=1?a.delete(e):n.delete(t):n.set(t,n.get(t)-1),this._index.get(r).size===0&&this._index.delete(r)},o.prototype.warnDocumentChanged=function(e,t,r){var a,n;try{for(var i=I(Object.keys(this._fieldIds)),s=i.next();!s.done;s=i.next()){var u=s.value;if(this._fieldIds[u]===t){this._options.logger("warn","MiniSearch: document with ID ".concat(this._documentIds.get(e),' has changed before removal: term "').concat(r,'" was not present in field "').concat(u,'". Removing a document after it has changed can corrupt the index!'),"version_conflict");return}}}catch(l){a={error:l}}finally{try{s&&!s.done&&(n=i.return)&&n.call(i)}finally{if(a)throw a.error}}},o.prototype.addDocumentId=function(e){var t=this._nextId;return this._idToShortId.set(e,t),this._documentIds.set(t,e),this._documentCount+=1,this._nextId+=1,t},o.prototype.addFields=function(e){for(var t=0;t(Gt("data-v-9357b894"),o=o(),qt(),o),Hr=["aria-owns"],Gr={class:"shell"},qr=["title"],Qr=Z(()=>E("svg",{class:"search-icon",width:"18",height:"18",viewBox:"0 0 24 24","aria-hidden":"true"},[E("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"},[E("circle",{cx:"11",cy:"11",r:"8"}),E("path",{d:"m21 21l-4.35-4.35"})])],-1)),Yr=[Qr],Zr={class:"search-actions before"},Xr=["title"],en=Z(()=>E("svg",{width:"18",height:"18",viewBox:"0 0 24 24","aria-hidden":"true"},[E("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M19 12H5m7 7l-7-7l7-7"})],-1)),tn=[en],rn=["placeholder"],nn={class:"search-actions"},an=["title"],on=Z(()=>E("svg",{width:"18",height:"18",viewBox:"0 0 24 24","aria-hidden":"true"},[E("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M3 14h7v7H3zM3 3h7v7H3zm11 1h7m-7 5h7m-7 6h7m-7 5h7"})],-1)),sn=[on],un=["disabled","title"],ln=Z(()=>E("svg",{width:"18",height:"18",viewBox:"0 0 24 24","aria-hidden":"true"},[E("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M20 5H9l-7 7l7 7h11a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2Zm-2 4l-6 6m0-6l6 6"})],-1)),cn=[ln],fn=["id","role","aria-labelledby"],dn=["aria-selected"],hn=["href","aria-label","onMouseenter","onFocusin"],vn={class:"titles"},pn=Z(()=>E("span",{class:"title-icon"},"#",-1)),yn=["innerHTML"],mn=Z(()=>E("svg",{width:"18",height:"18",viewBox:"0 0 24 24"},[E("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"m9 18l6-6l-6-6"})],-1)),gn={class:"title main"},bn=["innerHTML"],wn={key:0,class:"excerpt-wrapper"},xn={key:0,class:"excerpt",inert:""},Fn=["innerHTML"],En=Z(()=>E("div",{class:"excerpt-gradient-bottom"},null,-1)),Sn=Z(()=>E("div",{class:"excerpt-gradient-top"},null,-1)),An={key:0,class:"no-results"},kn={class:"search-keyboard-shortcuts"},Tn=["aria-label"],Cn=Z(()=>E("svg",{width:"14",height:"14",viewBox:"0 0 24 24"},[E("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M12 19V5m-7 7l7-7l7 7"})],-1)),Nn=[Cn],In=["aria-label"],Dn=Z(()=>E("svg",{width:"14",height:"14",viewBox:"0 0 24 24"},[E("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M12 5v14m7-7l-7 7l-7-7"})],-1)),On=[Dn],_n=["aria-label"],Rn=Z(()=>E("svg",{width:"14",height:"14",viewBox:"0 0 24 24"},[E("g",{fill:"none",stroke:"currentcolor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"},[E("path",{d:"m9 10l-5 5l5 5"}),E("path",{d:"M20 4v7a4 4 0 0 1-4 4H4"})])],-1)),Mn=[Rn],Ln=["aria-label"],zn=It({__name:"VPLocalSearchBox",emits:["close"],setup(o,{emit:e}){var z,P;const t=e,r=xe(),a=xe(),n=xe(nr),i=er(),{activate:s}=Ir(r,{immediate:!0,allowOutsideClick:!0,clickOutsideDeactivates:!0,escapeDeactivates:!0}),{localeIndex:u,theme:l}=i,d=et(async()=>{var y,w,B,U,K,J,$,H,Q;return at(Br.loadJSON((B=await((w=(y=n.value)[u.value])==null?void 0:w.call(y)))==null?void 0:B.default,{fields:["title","titles","text"],storeFields:["title","titles"],searchOptions:{fuzzy:.2,prefix:!0,boost:{title:4,text:2,titles:1},...((U=l.value.search)==null?void 0:U.provider)==="local"&&((J=(K=l.value.search.options)==null?void 0:K.miniSearch)==null?void 0:J.searchOptions)},...(($=l.value.search)==null?void 0:$.provider)==="local"&&((Q=(H=l.value.search.options)==null?void 0:H.miniSearch)==null?void 0:Q.options)}))}),v=Fe(()=>{var y,w;return((y=l.value.search)==null?void 0:y.provider)==="local"&&((w=l.value.search.options)==null?void 0:w.disableQueryPersistence)===!0}).value?oe(""):Dt("vitepress:local-search-filter",""),p=Ot("vitepress:local-search-detailed-list",((z=l.value.search)==null?void 0:z.provider)==="local"&&((P=l.value.search.options)==null?void 0:P.detailedView)===!0),b=Fe(()=>{var y,w,B;return((y=l.value.search)==null?void 0:y.provider)==="local"&&(((w=l.value.search.options)==null?void 0:w.disableDetailedView)===!0||((B=l.value.search.options)==null?void 0:B.detailedView)===!1)}),S=Fe(()=>{var w,B,U,K,J,$,H;const y=((w=l.value.search)==null?void 0:w.options)??l.value.algolia;return((J=(K=(U=(B=y==null?void 0:y.locales)==null?void 0:B[u.value])==null?void 0:U.translations)==null?void 0:K.button)==null?void 0:J.buttonText)||((H=($=y==null?void 0:y.translations)==null?void 0:$.button)==null?void 0:H.buttonText)||"Search"});_t(()=>{b.value&&(p.value=!1)});const g=xe([]),A=oe(!1);Ve(v,()=>{A.value=!1});const k=et(async()=>{if(a.value)return at(new Or(a.value))},null),F=new rr(16);Rt(()=>[d.value,v.value,p.value],async([y,w,B],U,K)=>{var be,He,Ge,qe;(U==null?void 0:U[0])!==y&&F.clear();let J=!1;if(K(()=>{J=!0}),!y)return;g.value=y.search(w).slice(0,16),A.value=!0;const $=B?await Promise.all(g.value.map(Y=>L(Y.id))):[];if(J)return;for(const{id:Y,mod:ne}of $){const ae=Y.slice(0,Y.indexOf("#"));let te=F.get(ae);if(te)continue;te=new Map,F.set(ae,te);const X=ne.default??ne;if(X!=null&&X.render||X!=null&&X.setup){const ie=Qt(X);ie.config.warnHandler=()=>{},ie.provide(Yt,i),Object.defineProperties(ie.config.globalProperties,{$frontmatter:{get(){return i.frontmatter.value}},$params:{get(){return i.page.value.params}}});const Qe=document.createElement("div");ie.mount(Qe),Qe.querySelectorAll("h1, h2, h3, h4, h5, h6").forEach(de=>{var Xe;const we=(Xe=de.querySelector("a"))==null?void 0:Xe.getAttribute("href"),Ye=(we==null?void 0:we.startsWith("#"))&&we.slice(1);if(!Ye)return;let Ze="";for(;(de=de.nextElementSibling)&&!/^h[1-6]$/i.test(de.tagName);)Ze+=de.outerHTML;te.set(Ye,Ze)}),ie.unmount()}if(J)return}const H=new Set;if(g.value=g.value.map(Y=>{const[ne,ae]=Y.id.split("#"),te=F.get(ne),X=(te==null?void 0:te.get(ae))??"";for(const ie in Y.match)H.add(ie);return{...Y,text:X}}),await he(),J)return;await new Promise(Y=>{var ne;(ne=k.value)==null||ne.unmark({done:()=>{var ae;(ae=k.value)==null||ae.markRegExp(D(H),{done:Y})}})});const Q=((be=r.value)==null?void 0:be.querySelectorAll(".result .excerpt"))??[];for(const Y of Q)(He=Y.querySelector('mark[data-markjs="true"]'))==null||He.scrollIntoView({block:"center"});(qe=(Ge=a.value)==null?void 0:Ge.firstElementChild)==null||qe.scrollIntoView({block:"start"})},{debounce:200,immediate:!0});async function L(y){const w=Zt(y.slice(0,y.indexOf("#")));try{if(!w)throw new Error(`Cannot find file for id: ${y}`);return{id:y,mod:await pt(()=>import(w),__vite__mapDeps([]))}}catch(B){return console.error(B),{id:y,mod:{}}}}const M=oe(),V=Fe(()=>{var y;return((y=v.value)==null?void 0:y.length)<=0});function C(y=!0){var w,B;(w=M.value)==null||w.focus(),y&&((B=M.value)==null||B.select())}Oe(()=>{C()});function O(y){y.pointerType==="mouse"&&C()}const T=oe(-1),_=oe(!1);Ve(g,y=>{T.value=y.length?0:-1,R()});function R(){he(()=>{const y=document.querySelector(".result.selected");y&&y.scrollIntoView({block:"nearest"})})}Ee("ArrowUp",y=>{y.preventDefault(),T.value--,T.value<0&&(T.value=g.value.length-1),_.value=!0,R()}),Ee("ArrowDown",y=>{y.preventDefault(),T.value++,T.value>=g.value.length&&(T.value=0),_.value=!0,R()});const x=Mt();Ee("Enter",y=>{if(y.target instanceof HTMLButtonElement&&y.target.type!=="submit")return;const w=g.value[T.value];if(y.target instanceof HTMLInputElement&&!w){y.preventDefault();return}w&&(x.go(w.id),t("close"))}),Ee("Escape",()=>{t("close")});const f={modal:{displayDetails:"Display detailed list",resetButtonTitle:"Reset search",backButtonTitle:"Close search",noResultsText:"No results for",footer:{selectText:"to select",selectKeyAriaLabel:"enter",navigateText:"to navigate",navigateUpKeyAriaLabel:"up arrow",navigateDownKeyAriaLabel:"down arrow",closeText:"to close",closeKeyAriaLabel:"escape"}}},c=Lt(tr)(zt(()=>{var y;return(y=l.value.search)==null?void 0:y.options}),f);Oe(()=>{window.history.pushState(null,"",null)}),Pt("popstate",y=>{y.preventDefault(),t("close")});const m=Bt(Vt?document.body:null);Oe(()=>{he(()=>{m.value=!0,he().then(()=>s())})}),$t(()=>{m.value=!1});function N(){v.value="",he().then(()=>C(!1))}function D(y){return new RegExp([...y].sort((w,B)=>B.length-w.length).map(w=>`(${w.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")})`).join("|"),"gi")}return(y,w)=>{var B,U,K,J;return ee(),Wt(Ht,{to:"body"},[E("div",{ref_key:"el",ref:r,role:"button","aria-owns":(B=g.value)!=null&&B.length?"localsearch-list":void 0,"aria-expanded":"true","aria-haspopup":"listbox","aria-labelledby":"localsearch-label",class:"VPLocalSearchBox"},[E("div",{class:"backdrop",onClick:w[0]||(w[0]=$=>y.$emit("close"))}),E("div",Gr,[E("form",{class:"search-bar",onPointerup:w[4]||(w[4]=$=>O($)),onSubmit:w[5]||(w[5]=jt(()=>{},["prevent"]))},[E("label",{title:S.value,id:"localsearch-label",for:"localsearch-input"},Yr,8,qr),E("div",Zr,[E("button",{class:"back-button",title:G(c)("modal.backButtonTitle"),onClick:w[1]||(w[1]=$=>y.$emit("close"))},tn,8,Xr)]),Kt(E("input",{ref_key:"searchInput",ref:M,"onUpdate:modelValue":w[2]||(w[2]=$=>Ut(v)?v.value=$:null),placeholder:S.value,id:"localsearch-input","aria-labelledby":"localsearch-label",class:"search-input"},null,8,rn),[[Jt,G(v)]]),E("div",nn,[b.value?Se("",!0):(ee(),re("button",{key:0,class:tt(["toggle-layout-button",{"detailed-list":G(p)}]),type:"button",title:G(c)("modal.displayDetails"),onClick:w[3]||(w[3]=$=>T.value>-1&&(p.value=!G(p)))},sn,10,an)),E("button",{class:"clear-button",type:"reset",disabled:V.value,title:G(c)("modal.resetButtonTitle"),onClick:N},cn,8,un)])],32),E("ul",{ref_key:"resultsEl",ref:a,id:(U=g.value)!=null&&U.length?"localsearch-list":void 0,role:(K=g.value)!=null&&K.length?"listbox":void 0,"aria-labelledby":(J=g.value)!=null&&J.length?"localsearch-label":void 0,class:"results",onMousemove:w[7]||(w[7]=$=>_.value=!1)},[(ee(!0),re(nt,null,rt(g.value,($,H)=>(ee(),re("li",{key:$.id,role:"option","aria-selected":T.value===H?"true":"false"},[E("a",{href:$.id,class:tt(["result",{selected:T.value===H}]),"aria-label":[...$.titles,$.title].join(" > "),onMouseenter:Q=>!_.value&&(T.value=H),onFocusin:Q=>T.value=H,onClick:w[6]||(w[6]=Q=>y.$emit("close"))},[E("div",null,[E("div",vn,[pn,(ee(!0),re(nt,null,rt($.titles,(Q,be)=>(ee(),re("span",{key:be,class:"title"},[E("span",{class:"text",innerHTML:Q},null,8,yn),mn]))),128)),E("span",gn,[E("span",{class:"text",innerHTML:$.title},null,8,bn)])]),G(p)?(ee(),re("div",wn,[$.text?(ee(),re("div",xn,[E("div",{class:"vp-doc",innerHTML:$.text},null,8,Fn)])):Se("",!0),En,Sn])):Se("",!0)])],42,hn)],8,dn))),128)),G(v)&&!g.value.length&&A.value?(ee(),re("li",An,[ve(pe(G(c)("modal.noResultsText"))+' "',1),E("strong",null,pe(G(v)),1),ve('" ')])):Se("",!0)],40,fn),E("div",kn,[E("span",null,[E("kbd",{"aria-label":G(c)("modal.footer.navigateUpKeyAriaLabel")},Nn,8,Tn),E("kbd",{"aria-label":G(c)("modal.footer.navigateDownKeyAriaLabel")},On,8,In),ve(" "+pe(G(c)("modal.footer.navigateText")),1)]),E("span",null,[E("kbd",{"aria-label":G(c)("modal.footer.selectKeyAriaLabel")},Mn,8,_n),ve(" "+pe(G(c)("modal.footer.selectText")),1)]),E("span",null,[E("kbd",{"aria-label":G(c)("modal.footer.closeKeyAriaLabel")},"esc",8,Ln),ve(" "+pe(G(c)("modal.footer.closeText")),1)])])])],8,Hr)])}}}),Wn=Xt(zn,[["__scopeId","data-v-9357b894"]]);export{Wn as default}; +function __vite__mapDeps(indexes) { + if (!__vite__mapDeps.viteFileDeps) { + __vite__mapDeps.viteFileDeps = [] + } + return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) +} \ No newline at end of file diff --git a/assets/chunks/VPLocalSearchBox.Ci3nu08r.js b/assets/chunks/VPLocalSearchBox.Ci3nu08r.js deleted file mode 100644 index 6729a938..00000000 --- a/assets/chunks/VPLocalSearchBox.Ci3nu08r.js +++ /dev/null @@ -1,13 +0,0 @@ -import{Y as pt,h as oe,y as Ve,ao as kt,ap as Nt,d as It,G as xe,aq as et,g as Fe,ar as Dt,as as Ot,z as _t,at as Rt,j as Oe,P as he,W as Ee,au as Mt,U as Lt,V as zt,av as Pt,Z as Bt,v as Vt,aw as $t,o as ee,b as Wt,k as E,a2 as jt,m as U,a4 as Kt,ax as Jt,ay as Ut,c as re,n as tt,e as Se,E as rt,F as at,a as ve,t as pe,az as Ht,p as Gt,q as qt,a9 as nt,aA as Qt,ad as Yt,aj as Zt,_ as Xt}from"./framework.BwCxet3-.js";import{u as er,c as tr,L as rr}from"./theme.s67tei5V.js";const ar={root:()=>pt(()=>import("./@localSearchIndexroot.DBcb1Hh6.js"),__vite__mapDeps([]))};/*! -* tabbable 6.2.0 -* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE -*/var mt=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],Te=mt.join(","),yt=typeof Element>"u",ue=yt?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,ke=!yt&&Element.prototype.getRootNode?function(o){var e;return o==null||(e=o.getRootNode)===null||e===void 0?void 0:e.call(o)}:function(o){return o==null?void 0:o.ownerDocument},Ne=function o(e,t){var r;t===void 0&&(t=!0);var n=e==null||(r=e.getAttribute)===null||r===void 0?void 0:r.call(e,"inert"),a=n===""||n==="true",i=a||t&&e&&o(e.parentNode);return i},nr=function(e){var t,r=e==null||(t=e.getAttribute)===null||t===void 0?void 0:t.call(e,"contenteditable");return r===""||r==="true"},gt=function(e,t,r){if(Ne(e))return[];var n=Array.prototype.slice.apply(e.querySelectorAll(Te));return t&&ue.call(e,Te)&&n.unshift(e),n=n.filter(r),n},bt=function o(e,t,r){for(var n=[],a=Array.from(e);a.length;){var i=a.shift();if(!Ne(i,!1))if(i.tagName==="SLOT"){var s=i.assignedElements(),u=s.length?s:i.children,l=o(u,!0,r);r.flatten?n.push.apply(n,l):n.push({scopeParent:i,candidates:l})}else{var d=ue.call(i,Te);d&&r.filter(i)&&(t||!e.includes(i))&&n.push(i);var h=i.shadowRoot||typeof r.getShadowRoot=="function"&&r.getShadowRoot(i),v=!Ne(h,!1)&&(!r.shadowRootFilter||r.shadowRootFilter(i));if(h&&v){var y=o(h===!0?i.children:h.children,!0,r);r.flatten?n.push.apply(n,y):n.push({scopeParent:i,candidates:y})}else a.unshift.apply(a,i.children)}}return n},wt=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},se=function(e){if(!e)throw new Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||nr(e))&&!wt(e)?0:e.tabIndex},ir=function(e,t){var r=se(e);return r<0&&t&&!wt(e)?0:r},or=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},xt=function(e){return e.tagName==="INPUT"},sr=function(e){return xt(e)&&e.type==="hidden"},ur=function(e){var t=e.tagName==="DETAILS"&&Array.prototype.slice.apply(e.children).some(function(r){return r.tagName==="SUMMARY"});return t},lr=function(e,t){for(var r=0;rsummary:first-of-type"),i=a?e.parentElement:e;if(ue.call(i,"details:not([open]) *"))return!0;if(!r||r==="full"||r==="legacy-full"){if(typeof n=="function"){for(var s=e;e;){var u=e.parentElement,l=ke(e);if(u&&!u.shadowRoot&&n(u)===!0)return it(e);e.assignedSlot?e=e.assignedSlot:!u&&l!==e.ownerDocument?e=l.host:e=u}e=s}if(hr(e))return!e.getClientRects().length;if(r!=="legacy-full")return!0}else if(r==="non-zero-area")return it(e);return!1},pr=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if(t.tagName==="FIELDSET"&&t.disabled){for(var r=0;r=0)},yr=function o(e){var t=[],r=[];return e.forEach(function(n,a){var i=!!n.scopeParent,s=i?n.scopeParent:n,u=ir(s,i),l=i?o(n.candidates):s;u===0?i?t.push.apply(t,l):t.push(s):r.push({documentOrder:a,tabIndex:u,item:n,isScope:i,content:l})}),r.sort(or).reduce(function(n,a){return a.isScope?n.push.apply(n,a.content):n.push(a.content),n},[]).concat(t)},gr=function(e,t){t=t||{};var r;return t.getShadowRoot?r=bt([e],t.includeContainer,{filter:$e.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:mr}):r=gt(e,t.includeContainer,$e.bind(null,t)),yr(r)},br=function(e,t){t=t||{};var r;return t.getShadowRoot?r=bt([e],t.includeContainer,{filter:Ie.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):r=gt(e,t.includeContainer,Ie.bind(null,t)),r},le=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return ue.call(e,Te)===!1?!1:$e(t,e)},wr=mt.concat("iframe").join(","),_e=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return ue.call(e,wr)===!1?!1:Ie(t,e)};/*! -* focus-trap 7.5.4 -* @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE -*/function ot(o,e){var t=Object.keys(o);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(o);e&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(o,n).enumerable})),t.push.apply(t,r)}return t}function st(o){for(var e=1;e0){var r=e[e.length-1];r!==t&&r.pause()}var n=e.indexOf(t);n===-1||e.splice(n,1),e.push(t)},deactivateTrap:function(e,t){var r=e.indexOf(t);r!==-1&&e.splice(r,1),e.length>0&&e[e.length-1].unpause()}},Sr=function(e){return e.tagName&&e.tagName.toLowerCase()==="input"&&typeof e.select=="function"},Ar=function(e){return(e==null?void 0:e.key)==="Escape"||(e==null?void 0:e.key)==="Esc"||(e==null?void 0:e.keyCode)===27},ge=function(e){return(e==null?void 0:e.key)==="Tab"||(e==null?void 0:e.keyCode)===9},Cr=function(e){return ge(e)&&!e.shiftKey},Tr=function(e){return ge(e)&&e.shiftKey},lt=function(e){return setTimeout(e,0)},ct=function(e,t){var r=-1;return e.every(function(n,a){return t(n)?(r=a,!1):!0}),r},me=function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n1?p-1:0),I=1;I=0)c=r.activeElement;else{var f=i.tabbableGroups[0],p=f&&f.firstTabbableNode;c=p||d("fallbackFocus")}if(!c)throw new Error("Your focus-trap needs to have at least one focusable element");return c},v=function(){if(i.containerGroups=i.containers.map(function(c){var f=gr(c,a.tabbableOptions),p=br(c,a.tabbableOptions),N=f.length>0?f[0]:void 0,I=f.length>0?f[f.length-1]:void 0,M=p.find(function(m){return le(m)}),z=p.slice().reverse().find(function(m){return le(m)}),P=!!f.find(function(m){return se(m)>0});return{container:c,tabbableNodes:f,focusableNodes:p,posTabIndexesFound:P,firstTabbableNode:N,lastTabbableNode:I,firstDomTabbableNode:M,lastDomTabbableNode:z,nextTabbableNode:function(x){var $=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,j=f.indexOf(x);return j<0?$?p.slice(p.indexOf(x)+1).find(function(G){return le(G)}):p.slice(0,p.indexOf(x)).reverse().find(function(G){return le(G)}):f[j+($?1:-1)]}}}),i.tabbableGroups=i.containerGroups.filter(function(c){return c.tabbableNodes.length>0}),i.tabbableGroups.length<=0&&!d("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(i.containerGroups.find(function(c){return c.posTabIndexesFound})&&i.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},y=function w(c){var f=c.activeElement;if(f)return f.shadowRoot&&f.shadowRoot.activeElement!==null?w(f.shadowRoot):f},b=function w(c){if(c!==!1&&c!==y(document)){if(!c||!c.focus){w(h());return}c.focus({preventScroll:!!a.preventScroll}),i.mostRecentlyFocusedNode=c,Sr(c)&&c.select()}},S=function(c){var f=d("setReturnFocus",c);return f||(f===!1?!1:c)},g=function(c){var f=c.target,p=c.event,N=c.isBackward,I=N===void 0?!1:N;f=f||Ae(p),v();var M=null;if(i.tabbableGroups.length>0){var z=l(f,p),P=z>=0?i.containerGroups[z]:void 0;if(z<0)I?M=i.tabbableGroups[i.tabbableGroups.length-1].lastTabbableNode:M=i.tabbableGroups[0].firstTabbableNode;else if(I){var m=ct(i.tabbableGroups,function(B){var J=B.firstTabbableNode;return f===J});if(m<0&&(P.container===f||_e(f,a.tabbableOptions)&&!le(f,a.tabbableOptions)&&!P.nextTabbableNode(f,!1))&&(m=z),m>=0){var x=m===0?i.tabbableGroups.length-1:m-1,$=i.tabbableGroups[x];M=se(f)>=0?$.lastTabbableNode:$.lastDomTabbableNode}else ge(p)||(M=P.nextTabbableNode(f,!1))}else{var j=ct(i.tabbableGroups,function(B){var J=B.lastTabbableNode;return f===J});if(j<0&&(P.container===f||_e(f,a.tabbableOptions)&&!le(f,a.tabbableOptions)&&!P.nextTabbableNode(f))&&(j=z),j>=0){var G=j===i.tabbableGroups.length-1?0:j+1,q=i.tabbableGroups[G];M=se(f)>=0?q.firstTabbableNode:q.firstDomTabbableNode}else ge(p)||(M=P.nextTabbableNode(f))}}else M=d("fallbackFocus");return M},A=function(c){var f=Ae(c);if(!(l(f,c)>=0)){if(me(a.clickOutsideDeactivates,c)){s.deactivate({returnFocus:a.returnFocusOnDeactivate});return}me(a.allowOutsideClick,c)||c.preventDefault()}},T=function(c){var f=Ae(c),p=l(f,c)>=0;if(p||f instanceof Document)p&&(i.mostRecentlyFocusedNode=f);else{c.stopImmediatePropagation();var N,I=!0;if(i.mostRecentlyFocusedNode)if(se(i.mostRecentlyFocusedNode)>0){var M=l(i.mostRecentlyFocusedNode),z=i.containerGroups[M].tabbableNodes;if(z.length>0){var P=z.findIndex(function(m){return m===i.mostRecentlyFocusedNode});P>=0&&(a.isKeyForward(i.recentNavEvent)?P+1=0&&(N=z[P-1],I=!1))}}else i.containerGroups.some(function(m){return m.tabbableNodes.some(function(x){return se(x)>0})})||(I=!1);else I=!1;I&&(N=g({target:i.mostRecentlyFocusedNode,isBackward:a.isKeyBackward(i.recentNavEvent)})),b(N||i.mostRecentlyFocusedNode||h())}i.recentNavEvent=void 0},F=function(c){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;i.recentNavEvent=c;var p=g({event:c,isBackward:f});p&&(ge(c)&&c.preventDefault(),b(p))},L=function(c){if(Ar(c)&&me(a.escapeDeactivates,c)!==!1){c.preventDefault(),s.deactivate();return}(a.isKeyForward(c)||a.isKeyBackward(c))&&F(c,a.isKeyBackward(c))},R=function(c){var f=Ae(c);l(f,c)>=0||me(a.clickOutsideDeactivates,c)||me(a.allowOutsideClick,c)||(c.preventDefault(),c.stopImmediatePropagation())},V=function(){if(i.active)return ut.activateTrap(n,s),i.delayInitialFocusTimer=a.delayInitialFocus?lt(function(){b(h())}):b(h()),r.addEventListener("focusin",T,!0),r.addEventListener("mousedown",A,{capture:!0,passive:!1}),r.addEventListener("touchstart",A,{capture:!0,passive:!1}),r.addEventListener("click",R,{capture:!0,passive:!1}),r.addEventListener("keydown",L,{capture:!0,passive:!1}),s},k=function(){if(i.active)return r.removeEventListener("focusin",T,!0),r.removeEventListener("mousedown",A,!0),r.removeEventListener("touchstart",A,!0),r.removeEventListener("click",R,!0),r.removeEventListener("keydown",L,!0),s},_=function(c){var f=c.some(function(p){var N=Array.from(p.removedNodes);return N.some(function(I){return I===i.mostRecentlyFocusedNode})});f&&b(h())},C=typeof window<"u"&&"MutationObserver"in window?new MutationObserver(_):void 0,O=function(){C&&(C.disconnect(),i.active&&!i.paused&&i.containers.map(function(c){C.observe(c,{subtree:!0,childList:!0})}))};return s={get active(){return i.active},get paused(){return i.paused},activate:function(c){if(i.active)return this;var f=u(c,"onActivate"),p=u(c,"onPostActivate"),N=u(c,"checkCanFocusTrap");N||v(),i.active=!0,i.paused=!1,i.nodeFocusedBeforeActivation=r.activeElement,f==null||f();var I=function(){N&&v(),V(),O(),p==null||p()};return N?(N(i.containers.concat()).then(I,I),this):(I(),this)},deactivate:function(c){if(!i.active)return this;var f=st({onDeactivate:a.onDeactivate,onPostDeactivate:a.onPostDeactivate,checkCanReturnFocus:a.checkCanReturnFocus},c);clearTimeout(i.delayInitialFocusTimer),i.delayInitialFocusTimer=void 0,k(),i.active=!1,i.paused=!1,O(),ut.deactivateTrap(n,s);var p=u(f,"onDeactivate"),N=u(f,"onPostDeactivate"),I=u(f,"checkCanReturnFocus"),M=u(f,"returnFocus","returnFocusOnDeactivate");p==null||p();var z=function(){lt(function(){M&&b(S(i.nodeFocusedBeforeActivation)),N==null||N()})};return M&&I?(I(S(i.nodeFocusedBeforeActivation)).then(z,z),this):(z(),this)},pause:function(c){if(i.paused||!i.active)return this;var f=u(c,"onPause"),p=u(c,"onPostPause");return i.paused=!0,f==null||f(),k(),O(),p==null||p(),this},unpause:function(c){if(!i.paused||!i.active)return this;var f=u(c,"onUnpause"),p=u(c,"onPostUnpause");return i.paused=!1,f==null||f(),v(),V(),O(),p==null||p(),this},updateContainerElements:function(c){var f=[].concat(c).filter(Boolean);return i.containers=f.map(function(p){return typeof p=="string"?r.querySelector(p):p}),i.active&&v(),O(),this}},s.updateContainerElements(e),s};function Ir(o,e={}){let t;const{immediate:r,...n}=e,a=oe(!1),i=oe(!1),s=h=>t&&t.activate(h),u=h=>t&&t.deactivate(h),l=()=>{t&&(t.pause(),i.value=!0)},d=()=>{t&&(t.unpause(),i.value=!1)};return Ve(()=>kt(o),h=>{h&&(t=Nr(h,{...n,onActivate(){a.value=!0,e.onActivate&&e.onActivate()},onDeactivate(){a.value=!1,e.onDeactivate&&e.onDeactivate()}}),r&&s())},{flush:"post"}),Nt(()=>u()),{hasFocus:a,isPaused:i,activate:s,deactivate:u,pause:l,unpause:d}}class fe{constructor(e,t=!0,r=[],n=5e3){this.ctx=e,this.iframes=t,this.exclude=r,this.iframesTimeout=n}static matches(e,t){const r=typeof t=="string"?[t]:t,n=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(n){let a=!1;return r.every(i=>n.call(e,i)?(a=!0,!1):!0),a}else return!1}getContexts(){let e,t=[];return typeof this.ctx>"u"||!this.ctx?e=[]:NodeList.prototype.isPrototypeOf(this.ctx)?e=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?e=this.ctx:typeof this.ctx=="string"?e=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):e=[this.ctx],e.forEach(r=>{const n=t.filter(a=>a.contains(r)).length>0;t.indexOf(r)===-1&&!n&&t.push(r)}),t}getIframeContents(e,t,r=()=>{}){let n;try{const a=e.contentWindow;if(n=a.document,!a||!n)throw new Error("iframe inaccessible")}catch{r()}n&&t(n)}isIframeBlank(e){const t="about:blank",r=e.getAttribute("src").trim();return e.contentWindow.location.href===t&&r!==t&&r}observeIframeLoad(e,t,r){let n=!1,a=null;const i=()=>{if(!n){n=!0,clearTimeout(a);try{this.isIframeBlank(e)||(e.removeEventListener("load",i),this.getIframeContents(e,t,r))}catch{r()}}};e.addEventListener("load",i),a=setTimeout(i,this.iframesTimeout)}onIframeReady(e,t,r){try{e.contentWindow.document.readyState==="complete"?this.isIframeBlank(e)?this.observeIframeLoad(e,t,r):this.getIframeContents(e,t,r):this.observeIframeLoad(e,t,r)}catch{r()}}waitForIframes(e,t){let r=0;this.forEachIframe(e,()=>!0,n=>{r++,this.waitForIframes(n.querySelector("html"),()=>{--r||t()})},n=>{n||t()})}forEachIframe(e,t,r,n=()=>{}){let a=e.querySelectorAll("iframe"),i=a.length,s=0;a=Array.prototype.slice.call(a);const u=()=>{--i<=0&&n(s)};i||u(),a.forEach(l=>{fe.matches(l,this.exclude)?u():this.onIframeReady(l,d=>{t(l)&&(s++,r(d)),u()},u)})}createIterator(e,t,r){return document.createNodeIterator(e,t,r,!1)}createInstanceOnIframe(e){return new fe(e.querySelector("html"),this.iframes)}compareNodeIframe(e,t,r){const n=e.compareDocumentPosition(r),a=Node.DOCUMENT_POSITION_PRECEDING;if(n&a)if(t!==null){const i=t.compareDocumentPosition(r),s=Node.DOCUMENT_POSITION_FOLLOWING;if(i&s)return!0}else return!0;return!1}getIteratorNode(e){const t=e.previousNode();let r;return t===null?r=e.nextNode():r=e.nextNode()&&e.nextNode(),{prevNode:t,node:r}}checkIframeFilter(e,t,r,n){let a=!1,i=!1;return n.forEach((s,u)=>{s.val===r&&(a=u,i=s.handled)}),this.compareNodeIframe(e,t,r)?(a===!1&&!i?n.push({val:r,handled:!0}):a!==!1&&!i&&(n[a].handled=!0),!0):(a===!1&&n.push({val:r,handled:!1}),!1)}handleOpenIframes(e,t,r,n){e.forEach(a=>{a.handled||this.getIframeContents(a.val,i=>{this.createInstanceOnIframe(i).forEachNode(t,r,n)})})}iterateThroughNodes(e,t,r,n,a){const i=this.createIterator(t,e,n);let s=[],u=[],l,d,h=()=>({prevNode:d,node:l}=this.getIteratorNode(i),l);for(;h();)this.iframes&&this.forEachIframe(t,v=>this.checkIframeFilter(l,d,v,s),v=>{this.createInstanceOnIframe(v).forEachNode(e,y=>u.push(y),n)}),u.push(l);u.forEach(v=>{r(v)}),this.iframes&&this.handleOpenIframes(s,e,r,n),a()}forEachNode(e,t,r,n=()=>{}){const a=this.getContexts();let i=a.length;i||n(),a.forEach(s=>{const u=()=>{this.iterateThroughNodes(e,s,t,r,()=>{--i<=0&&n()})};this.iframes?this.waitForIframes(s,u):u()})}}let Dr=class{constructor(e){this.ctx=e,this.ie=!1;const t=window.navigator.userAgent;(t.indexOf("MSIE")>-1||t.indexOf("Trident")>-1)&&(this.ie=!0)}set opt(e){this._opt=Object.assign({},{element:"",className:"",exclude:[],iframes:!1,iframesTimeout:5e3,separateWordSearch:!0,diacritics:!0,synonyms:{},accuracy:"partially",acrossElements:!1,caseSensitive:!1,ignoreJoiners:!1,ignoreGroups:0,ignorePunctuation:[],wildcards:"disabled",each:()=>{},noMatch:()=>{},filter:()=>!0,done:()=>{},debug:!1,log:window.console},e)}get opt(){return this._opt}get iterator(){return new fe(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(e,t="debug"){const r=this.opt.log;this.opt.debug&&typeof r=="object"&&typeof r[t]=="function"&&r[t](`mark.js: ${e}`)}escapeStr(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(e){return this.opt.wildcards!=="disabled"&&(e=this.setupWildcardsRegExp(e)),e=this.escapeStr(e),Object.keys(this.opt.synonyms).length&&(e=this.createSynonymsRegExp(e)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),this.opt.diacritics&&(e=this.createDiacriticsRegExp(e)),e=this.createMergedBlanksRegExp(e),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.createJoinersRegExp(e)),this.opt.wildcards!=="disabled"&&(e=this.createWildcardsRegExp(e)),e=this.createAccuracyRegExp(e),e}createSynonymsRegExp(e){const t=this.opt.synonyms,r=this.opt.caseSensitive?"":"i",n=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let a in t)if(t.hasOwnProperty(a)){const i=t[a],s=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(a):this.escapeStr(a),u=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(i):this.escapeStr(i);s!==""&&u!==""&&(e=e.replace(new RegExp(`(${this.escapeStr(s)}|${this.escapeStr(u)})`,`gm${r}`),n+`(${this.processSynomyms(s)}|${this.processSynomyms(u)})`+n))}return e}processSynomyms(e){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),e}setupWildcardsRegExp(e){return e=e.replace(/(?:\\)*\?/g,t=>t.charAt(0)==="\\"?"?":""),e.replace(/(?:\\)*\*/g,t=>t.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(e){let t=this.opt.wildcards==="withSpaces";return e.replace(/\u0001/g,t?"[\\S\\s]?":"\\S?").replace(/\u0002/g,t?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(e){return e.replace(/[^(|)\\]/g,(t,r,n)=>{let a=n.charAt(r+1);return/[(|)\\]/.test(a)||a===""?t:t+"\0"})}createJoinersRegExp(e){let t=[];const r=this.opt.ignorePunctuation;return Array.isArray(r)&&r.length&&t.push(this.escapeStr(r.join(""))),this.opt.ignoreJoiners&&t.push("\\u00ad\\u200b\\u200c\\u200d"),t.length?e.split(/\u0000+/).join(`[${t.join("")}]*`):e}createDiacriticsRegExp(e){const t=this.opt.caseSensitive?"":"i",r=this.opt.caseSensitive?["aàáảãạăằắẳẵặâầấẩẫậäåāą","AÀÁẢÃẠĂẰẮẲẴẶÂẦẤẨẪẬÄÅĀĄ","cçćč","CÇĆČ","dđď","DĐĎ","eèéẻẽẹêềếểễệëěēę","EÈÉẺẼẸÊỀẾỂỄỆËĚĒĘ","iìíỉĩịîïī","IÌÍỈĨỊÎÏĪ","lł","LŁ","nñňń","NÑŇŃ","oòóỏõọôồốổỗộơởỡớờợöøō","OÒÓỎÕỌÔỒỐỔỖỘƠỞỠỚỜỢÖØŌ","rř","RŘ","sšśșş","SŠŚȘŞ","tťțţ","TŤȚŢ","uùúủũụưừứửữựûüůū","UÙÚỦŨỤƯỪỨỬỮỰÛÜŮŪ","yýỳỷỹỵÿ","YÝỲỶỸỴŸ","zžżź","ZŽŻŹ"]:["aàáảãạăằắẳẵặâầấẩẫậäåāąAÀÁẢÃẠĂẰẮẲẴẶÂẦẤẨẪẬÄÅĀĄ","cçćčCÇĆČ","dđďDĐĎ","eèéẻẽẹêềếểễệëěēęEÈÉẺẼẸÊỀẾỂỄỆËĚĒĘ","iìíỉĩịîïīIÌÍỈĨỊÎÏĪ","lłLŁ","nñňńNÑŇŃ","oòóỏõọôồốổỗộơởỡớờợöøōOÒÓỎÕỌÔỒỐỔỖỘƠỞỠỚỜỢÖØŌ","rřRŘ","sšśșşSŠŚȘŞ","tťțţTŤȚŢ","uùúủũụưừứửữựûüůūUÙÚỦŨỤƯỪỨỬỮỰÛÜŮŪ","yýỳỷỹỵÿYÝỲỶỸỴŸ","zžżźZŽŻŹ"];let n=[];return e.split("").forEach(a=>{r.every(i=>{if(i.indexOf(a)!==-1){if(n.indexOf(i)>-1)return!1;e=e.replace(new RegExp(`[${i}]`,`gm${t}`),`[${i}]`),n.push(i)}return!0})}),e}createMergedBlanksRegExp(e){return e.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(e){const t="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~¡¿";let r=this.opt.accuracy,n=typeof r=="string"?r:r.value,a=typeof r=="string"?[]:r.limiters,i="";switch(a.forEach(s=>{i+=`|${this.escapeStr(s)}`}),n){case"partially":default:return`()(${e})`;case"complementary":return i="\\s"+(i||this.escapeStr(t)),`()([^${i}]*${e}[^${i}]*)`;case"exactly":return`(^|\\s${i})(${e})(?=$|\\s${i})`}}getSeparatedKeywords(e){let t=[];return e.forEach(r=>{this.opt.separateWordSearch?r.split(" ").forEach(n=>{n.trim()&&t.indexOf(n)===-1&&t.push(n)}):r.trim()&&t.indexOf(r)===-1&&t.push(r)}),{keywords:t.sort((r,n)=>n.length-r.length),length:t.length}}isNumeric(e){return Number(parseFloat(e))==e}checkRanges(e){if(!Array.isArray(e)||Object.prototype.toString.call(e[0])!=="[object Object]")return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(e),[];const t=[];let r=0;return e.sort((n,a)=>n.start-a.start).forEach(n=>{let{start:a,end:i,valid:s}=this.callNoMatchOnInvalidRanges(n,r);s&&(n.start=a,n.length=i-a,t.push(n),r=i)}),t}callNoMatchOnInvalidRanges(e,t){let r,n,a=!1;return e&&typeof e.start<"u"?(r=parseInt(e.start,10),n=r+parseInt(e.length,10),this.isNumeric(e.start)&&this.isNumeric(e.length)&&n-t>0&&n-r>0?a=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(e)}`),this.opt.noMatch(e))):(this.log(`Ignoring invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)),{start:r,end:n,valid:a}}checkWhitespaceRanges(e,t,r){let n,a=!0,i=r.length,s=t-i,u=parseInt(e.start,10)-s;return u=u>i?i:u,n=u+parseInt(e.length,10),n>i&&(n=i,this.log(`End range automatically set to the max value of ${i}`)),u<0||n-u<0||u>i||n>i?(a=!1,this.log(`Invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)):r.substring(u,n).replace(/\s+/g,"")===""&&(a=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:u,end:n,valid:a}}getTextNodes(e){let t="",r=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,n=>{r.push({start:t.length,end:(t+=n.textContent).length,node:n})},n=>this.matchesExclude(n.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{e({value:t,nodes:r})})}matchesExclude(e){return fe.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(e,t,r){const n=this.opt.element?this.opt.element:"mark",a=e.splitText(t),i=a.splitText(r-t);let s=document.createElement(n);return s.setAttribute("data-markjs","true"),this.opt.className&&s.setAttribute("class",this.opt.className),s.textContent=a.textContent,a.parentNode.replaceChild(s,a),i}wrapRangeInMappedTextNode(e,t,r,n,a){e.nodes.every((i,s)=>{const u=e.nodes[s+1];if(typeof u>"u"||u.start>t){if(!n(i.node))return!1;const l=t-i.start,d=(r>i.end?i.end:r)-i.start,h=e.value.substr(0,i.start),v=e.value.substr(d+i.start);if(i.node=this.wrapRangeInTextNode(i.node,l,d),e.value=h+v,e.nodes.forEach((y,b)=>{b>=s&&(e.nodes[b].start>0&&b!==s&&(e.nodes[b].start-=d),e.nodes[b].end-=d)}),r-=d,a(i.node.previousSibling,i.start),r>i.end)t=i.end;else return!1}return!0})}wrapMatches(e,t,r,n,a){const i=t===0?0:t+1;this.getTextNodes(s=>{s.nodes.forEach(u=>{u=u.node;let l;for(;(l=e.exec(u.textContent))!==null&&l[i]!=="";){if(!r(l[i],u))continue;let d=l.index;if(i!==0)for(let h=1;h{let u;for(;(u=e.exec(s.value))!==null&&u[i]!=="";){let l=u.index;if(i!==0)for(let h=1;hr(u[i],h),(h,v)=>{e.lastIndex=v,n(h)})}a()})}wrapRangeFromIndex(e,t,r,n){this.getTextNodes(a=>{const i=a.value.length;e.forEach((s,u)=>{let{start:l,end:d,valid:h}=this.checkWhitespaceRanges(s,i,a.value);h&&this.wrapRangeInMappedTextNode(a,l,d,v=>t(v,s,a.value.substring(l,d),u),v=>{r(v,s)})}),n()})}unwrapMatches(e){const t=e.parentNode;let r=document.createDocumentFragment();for(;e.firstChild;)r.appendChild(e.removeChild(e.firstChild));t.replaceChild(r,e),this.ie?this.normalizeTextNode(t):t.normalize()}normalizeTextNode(e){if(e){if(e.nodeType===3)for(;e.nextSibling&&e.nextSibling.nodeType===3;)e.nodeValue+=e.nextSibling.nodeValue,e.parentNode.removeChild(e.nextSibling);else this.normalizeTextNode(e.firstChild);this.normalizeTextNode(e.nextSibling)}}markRegExp(e,t){this.opt=t,this.log(`Searching with expression "${e}"`);let r=0,n="wrapMatches";const a=i=>{r++,this.opt.each(i)};this.opt.acrossElements&&(n="wrapMatchesAcrossElements"),this[n](e,this.opt.ignoreGroups,(i,s)=>this.opt.filter(s,i,r),a,()=>{r===0&&this.opt.noMatch(e),this.opt.done(r)})}mark(e,t){this.opt=t;let r=0,n="wrapMatches";const{keywords:a,length:i}=this.getSeparatedKeywords(typeof e=="string"?[e]:e),s=this.opt.caseSensitive?"":"i",u=l=>{let d=new RegExp(this.createRegExp(l),`gm${s}`),h=0;this.log(`Searching with expression "${d}"`),this[n](d,1,(v,y)=>this.opt.filter(y,l,r,h),v=>{h++,r++,this.opt.each(v)},()=>{h===0&&this.opt.noMatch(l),a[i-1]===l?this.opt.done(r):u(a[a.indexOf(l)+1])})};this.opt.acrossElements&&(n="wrapMatchesAcrossElements"),i===0?this.opt.done(r):u(a[0])}markRanges(e,t){this.opt=t;let r=0,n=this.checkRanges(e);n&&n.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(n)),this.wrapRangeFromIndex(n,(a,i,s,u)=>this.opt.filter(a,i,s,u),(a,i)=>{r++,this.opt.each(a,i)},()=>{this.opt.done(r)})):this.opt.done(r)}unmark(e){this.opt=e;let t=this.opt.element?this.opt.element:"*";t+="[data-markjs]",this.opt.className&&(t+=`.${this.opt.className}`),this.log(`Removal selector "${t}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,r=>{this.unwrapMatches(r)},r=>{const n=fe.matches(r,t),a=this.matchesExclude(r);return!n||a?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function Or(o){const e=new Dr(o);return this.mark=(t,r)=>(e.mark(t,r),this),this.markRegExp=(t,r)=>(e.markRegExp(t,r),this),this.markRanges=(t,r)=>(e.markRanges(t,r),this),this.unmark=t=>(e.unmark(t),this),this}var W=function(){return W=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0&&a[a.length-1])&&(l[0]===6||l[0]===2)){t=0;continue}if(l[0]===3&&(!a||l[1]>a[0]&&l[1]=o.length&&(o=void 0),{value:o&&o[r++],done:!o}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function K(o,e){var t=typeof Symbol=="function"&&o[Symbol.iterator];if(!t)return o;var r=t.call(o),n,a=[],i;try{for(;(e===void 0||e-- >0)&&!(n=r.next()).done;)a.push(n.value)}catch(s){i={error:s}}finally{try{n&&!n.done&&(t=r.return)&&t.call(r)}finally{if(i)throw i.error}}return a}var Mr="ENTRIES",Ft="KEYS",Et="VALUES",H="",Re=function(){function o(e,t){var r=e._tree,n=Array.from(r.keys());this.set=e,this._type=t,this._path=n.length>0?[{node:r,keys:n}]:[]}return o.prototype.next=function(){var e=this.dive();return this.backtrack(),e},o.prototype.dive=function(){if(this._path.length===0)return{done:!0,value:void 0};var e=ce(this._path),t=e.node,r=e.keys;if(ce(r)===H)return{done:!1,value:this.result()};var n=t.get(ce(r));return this._path.push({node:n,keys:Array.from(n.keys())}),this.dive()},o.prototype.backtrack=function(){if(this._path.length!==0){var e=ce(this._path).keys;e.pop(),!(e.length>0)&&(this._path.pop(),this.backtrack())}},o.prototype.key=function(){return this.set._prefix+this._path.map(function(e){var t=e.keys;return ce(t)}).filter(function(e){return e!==H}).join("")},o.prototype.value=function(){return ce(this._path).node.get(H)},o.prototype.result=function(){switch(this._type){case Et:return this.value();case Ft:return this.key();default:return[this.key(),this.value()]}},o.prototype[Symbol.iterator]=function(){return this},o}(),ce=function(o){return o[o.length-1]},Lr=function(o,e,t){var r=new Map;if(e===void 0)return r;for(var n=e.length+1,a=n+t,i=new Uint8Array(a*n).fill(t+1),s=0;st)continue e}St(o.get(y),e,t,r,n,S,i,s+y)}}}catch(f){u={error:f}}finally{try{v&&!v.done&&(l=h.return)&&l.call(h)}finally{if(u)throw u.error}}},Me=function(){function o(e,t){e===void 0&&(e=new Map),t===void 0&&(t=""),this._size=void 0,this._tree=e,this._prefix=t}return o.prototype.atPrefix=function(e){var t,r;if(!e.startsWith(this._prefix))throw new Error("Mismatched prefix");var n=K(De(this._tree,e.slice(this._prefix.length)),2),a=n[0],i=n[1];if(a===void 0){var s=K(Je(i),2),u=s[0],l=s[1];try{for(var d=D(u.keys()),h=d.next();!h.done;h=d.next()){var v=h.value;if(v!==H&&v.startsWith(l)){var y=new Map;return y.set(v.slice(l.length),u.get(v)),new o(y,e)}}}catch(b){t={error:b}}finally{try{h&&!h.done&&(r=d.return)&&r.call(d)}finally{if(t)throw t.error}}}return new o(a,e)},o.prototype.clear=function(){this._size=void 0,this._tree.clear()},o.prototype.delete=function(e){return this._size=void 0,zr(this._tree,e)},o.prototype.entries=function(){return new Re(this,Mr)},o.prototype.forEach=function(e){var t,r;try{for(var n=D(this),a=n.next();!a.done;a=n.next()){var i=K(a.value,2),s=i[0],u=i[1];e(s,u,this)}}catch(l){t={error:l}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}},o.prototype.fuzzyGet=function(e,t){return Lr(this._tree,e,t)},o.prototype.get=function(e){var t=We(this._tree,e);return t!==void 0?t.get(H):void 0},o.prototype.has=function(e){var t=We(this._tree,e);return t!==void 0&&t.has(H)},o.prototype.keys=function(){return new Re(this,Ft)},o.prototype.set=function(e,t){if(typeof e!="string")throw new Error("key must be a string");this._size=void 0;var r=Le(this._tree,e);return r.set(H,t),this},Object.defineProperty(o.prototype,"size",{get:function(){if(this._size)return this._size;this._size=0;for(var e=this.entries();!e.next().done;)this._size+=1;return this._size},enumerable:!1,configurable:!0}),o.prototype.update=function(e,t){if(typeof e!="string")throw new Error("key must be a string");this._size=void 0;var r=Le(this._tree,e);return r.set(H,t(r.get(H))),this},o.prototype.fetch=function(e,t){if(typeof e!="string")throw new Error("key must be a string");this._size=void 0;var r=Le(this._tree,e),n=r.get(H);return n===void 0&&r.set(H,n=t()),n},o.prototype.values=function(){return new Re(this,Et)},o.prototype[Symbol.iterator]=function(){return this.entries()},o.from=function(e){var t,r,n=new o;try{for(var a=D(e),i=a.next();!i.done;i=a.next()){var s=K(i.value,2),u=s[0],l=s[1];n.set(u,l)}}catch(d){t={error:d}}finally{try{i&&!i.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}return n},o.fromObject=function(e){return o.from(Object.entries(e))},o}(),De=function(o,e,t){var r,n;if(t===void 0&&(t=[]),e.length===0||o==null)return[o,t];try{for(var a=D(o.keys()),i=a.next();!i.done;i=a.next()){var s=i.value;if(s!==H&&e.startsWith(s))return t.push([o,s]),De(o.get(s),e.slice(s.length),t)}}catch(u){r={error:u}}finally{try{i&&!i.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}return t.push([o,e]),De(void 0,"",t)},We=function(o,e){var t,r;if(e.length===0||o==null)return o;try{for(var n=D(o.keys()),a=n.next();!a.done;a=n.next()){var i=a.value;if(i!==H&&e.startsWith(i))return We(o.get(i),e.slice(i.length))}}catch(s){t={error:s}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}},Le=function(o,e){var t,r,n=e.length;e:for(var a=0;o&&a0)throw new Error("Expected documents to be present. Omit the argument to remove all documents.");this._index=new Me,this._documentCount=0,this._documentIds=new Map,this._idToShortId=new Map,this._fieldLength=new Map,this._avgFieldLength=[],this._storedFields=new Map,this._nextId=0}},o.prototype.discard=function(e){var t=this,r=this._idToShortId.get(e);if(r==null)throw new Error("MiniSearch: cannot discard document with ID ".concat(e,": it is not in the index"));this._idToShortId.delete(e),this._documentIds.delete(r),this._storedFields.delete(r),(this._fieldLength.get(r)||[]).forEach(function(n,a){t.removeFieldLength(r,a,t._documentCount,n)}),this._fieldLength.delete(r),this._documentCount-=1,this._dirtCount+=1,this.maybeAutoVacuum()},o.prototype.maybeAutoVacuum=function(){if(this._options.autoVacuum!==!1){var e=this._options.autoVacuum,t=e.minDirtFactor,r=e.minDirtCount,n=e.batchSize,a=e.batchWait;this.conditionalVacuum({batchSize:n,batchWait:a},{minDirtCount:r,minDirtFactor:t})}},o.prototype.discardAll=function(e){var t,r,n=this._options.autoVacuum;try{this._options.autoVacuum=!1;try{for(var a=D(e),i=a.next();!i.done;i=a.next()){var s=i.value;this.discard(s)}}catch(u){t={error:u}}finally{try{i&&!i.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}}finally{this._options.autoVacuum=n}this.maybeAutoVacuum()},o.prototype.replace=function(e){var t=this._options,r=t.idField,n=t.extractField,a=n(e,r);this.discard(a),this.add(e)},o.prototype.vacuum=function(e){return e===void 0&&(e={}),this.conditionalVacuum(e)},o.prototype.conditionalVacuum=function(e,t){var r=this;return this._currentVacuum?(this._enqueuedVacuumConditions=this._enqueuedVacuumConditions&&t,this._enqueuedVacuum!=null?this._enqueuedVacuum:(this._enqueuedVacuum=this._currentVacuum.then(function(){var n=r._enqueuedVacuumConditions;return r._enqueuedVacuumConditions=Ke,r.performVacuuming(e,n)}),this._enqueuedVacuum)):this.vacuumConditionsMet(t)===!1?Promise.resolve():(this._currentVacuum=this.performVacuuming(e),this._currentVacuum)},o.prototype.performVacuuming=function(e,t){return _r(this,void 0,void 0,function(){var r,n,a,i,s,u,l,d,h,v,y,b,S,g,A,T,F,L,R,V,k,_,C,O,w;return Rr(this,function(c){switch(c.label){case 0:if(r=this._dirtCount,!this.vacuumConditionsMet(t))return[3,10];n=e.batchSize||je.batchSize,a=e.batchWait||je.batchWait,i=1,c.label=1;case 1:c.trys.push([1,7,8,9]),s=D(this._index),u=s.next(),c.label=2;case 2:if(u.done)return[3,6];l=K(u.value,2),d=l[0],h=l[1];try{for(v=(_=void 0,D(h)),y=v.next();!y.done;y=v.next()){b=K(y.value,2),S=b[0],g=b[1];try{for(A=(O=void 0,D(g)),T=A.next();!T.done;T=A.next())F=K(T.value,1),L=F[0],!this._documentIds.has(L)&&(g.size<=1?h.delete(S):g.delete(L))}catch(f){O={error:f}}finally{try{T&&!T.done&&(w=A.return)&&w.call(A)}finally{if(O)throw O.error}}}}catch(f){_={error:f}}finally{try{y&&!y.done&&(C=v.return)&&C.call(v)}finally{if(_)throw _.error}}return this._index.get(d).size===0&&this._index.delete(d),i%n!==0?[3,4]:[4,new Promise(function(f){return setTimeout(f,a)})];case 3:c.sent(),c.label=4;case 4:i+=1,c.label=5;case 5:return u=s.next(),[3,2];case 6:return[3,9];case 7:return R=c.sent(),V={error:R},[3,9];case 8:try{u&&!u.done&&(k=s.return)&&k.call(s)}finally{if(V)throw V.error}return[7];case 9:this._dirtCount-=r,c.label=10;case 10:return[4,null];case 11:return c.sent(),this._currentVacuum=this._enqueuedVacuum,this._enqueuedVacuum=null,[2]}})})},o.prototype.vacuumConditionsMet=function(e){if(e==null)return!0;var t=e.minDirtCount,r=e.minDirtFactor;return t=t||Be.minDirtCount,r=r||Be.minDirtFactor,this.dirtCount>=t&&this.dirtFactor>=r},Object.defineProperty(o.prototype,"isVacuuming",{get:function(){return this._currentVacuum!=null},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"dirtCount",{get:function(){return this._dirtCount},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"dirtFactor",{get:function(){return this._dirtCount/(1+this._documentCount+this._dirtCount)},enumerable:!1,configurable:!0}),o.prototype.has=function(e){return this._idToShortId.has(e)},o.prototype.getStoredFields=function(e){var t=this._idToShortId.get(e);if(t!=null)return this._storedFields.get(t)},o.prototype.search=function(e,t){var r,n;t===void 0&&(t={});var a=this.executeQuery(e,t),i=[];try{for(var s=D(a),u=s.next();!u.done;u=s.next()){var l=K(u.value,2),d=l[0],h=l[1],v=h.score,y=h.terms,b=h.match,S=y.length||1,g={id:this._documentIds.get(d),score:v*S,terms:Object.keys(b),queryTerms:y,match:b};Object.assign(g,this._storedFields.get(d)),(t.filter==null||t.filter(g))&&i.push(g)}}catch(A){r={error:A}}finally{try{u&&!u.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}return e===o.wildcard&&t.boostDocument==null&&this._options.searchOptions.boostDocument==null||i.sort(ht),i},o.prototype.autoSuggest=function(e,t){var r,n,a,i;t===void 0&&(t={}),t=W(W({},this._options.autoSuggestOptions),t);var s=new Map;try{for(var u=D(this.search(e,t)),l=u.next();!l.done;l=u.next()){var d=l.value,h=d.score,v=d.terms,y=v.join(" "),b=s.get(y);b!=null?(b.score+=h,b.count+=1):s.set(y,{score:h,terms:v,count:1})}}catch(R){r={error:R}}finally{try{l&&!l.done&&(n=u.return)&&n.call(u)}finally{if(r)throw r.error}}var S=[];try{for(var g=D(s),A=g.next();!A.done;A=g.next()){var T=K(A.value,2),b=T[0],F=T[1],h=F.score,v=F.terms,L=F.count;S.push({suggestion:b,terms:v,score:h/L})}}catch(R){a={error:R}}finally{try{A&&!A.done&&(i=g.return)&&i.call(g)}finally{if(a)throw a.error}}return S.sort(ht),S},Object.defineProperty(o.prototype,"documentCount",{get:function(){return this._documentCount},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"termCount",{get:function(){return this._index.size},enumerable:!1,configurable:!0}),o.loadJSON=function(e,t){if(t==null)throw new Error("MiniSearch: loadJSON should be given the same options used when serializing the index");return this.loadJS(JSON.parse(e),t)},o.getDefault=function(e){if(Pe.hasOwnProperty(e))return ze(Pe,e);throw new Error('MiniSearch: unknown option "'.concat(e,'"'))},o.loadJS=function(e,t){var r,n,a,i,s,u,l=e.index,d=e.documentCount,h=e.nextId,v=e.documentIds,y=e.fieldIds,b=e.fieldLength,S=e.averageFieldLength,g=e.storedFields,A=e.dirtCount,T=e.serializationVersion;if(T!==1&&T!==2)throw new Error("MiniSearch: cannot deserialize an index created with an incompatible version");var F=new o(t);F._documentCount=d,F._nextId=h,F._documentIds=Ce(v),F._idToShortId=new Map,F._fieldIds=y,F._fieldLength=Ce(b),F._avgFieldLength=S,F._storedFields=Ce(g),F._dirtCount=A||0,F._index=new Me;try{for(var L=D(F._documentIds),R=L.next();!R.done;R=L.next()){var V=K(R.value,2),k=V[0],_=V[1];F._idToShortId.set(_,k)}}catch(P){r={error:P}}finally{try{R&&!R.done&&(n=L.return)&&n.call(L)}finally{if(r)throw r.error}}try{for(var C=D(l),O=C.next();!O.done;O=C.next()){var w=K(O.value,2),c=w[0],f=w[1],p=new Map;try{for(var N=(s=void 0,D(Object.keys(f))),I=N.next();!I.done;I=N.next()){var M=I.value,z=f[M];T===1&&(z=z.ds),p.set(parseInt(M,10),Ce(z))}}catch(P){s={error:P}}finally{try{I&&!I.done&&(u=N.return)&&u.call(N)}finally{if(s)throw s.error}}F._index.set(c,p)}}catch(P){a={error:P}}finally{try{O&&!O.done&&(i=C.return)&&i.call(C)}finally{if(a)throw a.error}}return F},o.prototype.executeQuery=function(e,t){var r=this;if(t===void 0&&(t={}),e===o.wildcard)return this.executeWildcardQuery(t);if(typeof e!="string"){var n=W(W(W({},t),e),{queries:void 0}),a=e.queries.map(function(g){return r.executeQuery(g,n)});return this.combineResults(a,n.combineWith)}var i=this._options,s=i.tokenize,u=i.processTerm,l=i.searchOptions,d=W(W({tokenize:s,processTerm:u},l),t),h=d.tokenize,v=d.processTerm,y=h(e).flatMap(function(g){return v(g)}).filter(function(g){return!!g}),b=y.map(jr(d)),S=b.map(function(g){return r.executeQuerySpec(g,d)});return this.combineResults(S,d.combineWith)},o.prototype.executeQuerySpec=function(e,t){var r,n,a,i,s=W(W({},this._options.searchOptions),t),u=(s.fields||this._options.fields).reduce(function(M,z){var P;return W(W({},M),(P={},P[z]=ze(s.boost,z)||1,P))},{}),l=s.boostDocument,d=s.weights,h=s.maxFuzzy,v=s.bm25,y=W(W({},ft.weights),d),b=y.fuzzy,S=y.prefix,g=this._index.get(e.term),A=this.termResults(e.term,e.term,1,g,u,l,v),T,F;if(e.prefix&&(T=this._index.atPrefix(e.term)),e.fuzzy){var L=e.fuzzy===!0?.2:e.fuzzy,R=L<1?Math.min(h,Math.round(e.term.length*L)):L;R&&(F=this._index.fuzzyGet(e.term,R))}if(T)try{for(var V=D(T),k=V.next();!k.done;k=V.next()){var _=K(k.value,2),C=_[0],O=_[1],w=C.length-e.term.length;if(w){F==null||F.delete(C);var c=S*C.length/(C.length+.3*w);this.termResults(e.term,C,c,O,u,l,v,A)}}}catch(M){r={error:M}}finally{try{k&&!k.done&&(n=V.return)&&n.call(V)}finally{if(r)throw r.error}}if(F)try{for(var f=D(F.keys()),p=f.next();!p.done;p=f.next()){var C=p.value,N=K(F.get(C),2),I=N[0],w=N[1];if(w){var c=b*C.length/(C.length+w);this.termResults(e.term,C,c,I,u,l,v,A)}}}catch(M){a={error:M}}finally{try{p&&!p.done&&(i=f.return)&&i.call(f)}finally{if(a)throw a.error}}return A},o.prototype.executeWildcardQuery=function(e){var t,r,n=new Map,a=W(W({},this._options.searchOptions),e);try{for(var i=D(this._documentIds),s=i.next();!s.done;s=i.next()){var u=K(s.value,2),l=u[0],d=u[1],h=a.boostDocument?a.boostDocument(d,"",this._storedFields.get(l)):1;n.set(l,{score:h,terms:[],match:{}})}}catch(v){t={error:v}}finally{try{s&&!s.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return n},o.prototype.combineResults=function(e,t){if(t===void 0&&(t=Ue),e.length===0)return new Map;var r=t.toLowerCase();return e.reduce(Vr[r])||new Map},o.prototype.toJSON=function(){var e,t,r,n,a=[];try{for(var i=D(this._index),s=i.next();!s.done;s=i.next()){var u=K(s.value,2),l=u[0],d=u[1],h={};try{for(var v=(r=void 0,D(d)),y=v.next();!y.done;y=v.next()){var b=K(y.value,2),S=b[0],g=b[1];h[S]=Object.fromEntries(g)}}catch(A){r={error:A}}finally{try{y&&!y.done&&(n=v.return)&&n.call(v)}finally{if(r)throw r.error}}a.push([l,h])}}catch(A){e={error:A}}finally{try{s&&!s.done&&(t=i.return)&&t.call(i)}finally{if(e)throw e.error}}return{documentCount:this._documentCount,nextId:this._nextId,documentIds:Object.fromEntries(this._documentIds),fieldIds:this._fieldIds,fieldLength:Object.fromEntries(this._fieldLength),averageFieldLength:this._avgFieldLength,storedFields:Object.fromEntries(this._storedFields),dirtCount:this._dirtCount,index:a,serializationVersion:2}},o.prototype.termResults=function(e,t,r,n,a,i,s,u){var l,d,h,v,y;if(u===void 0&&(u=new Map),n==null)return u;try{for(var b=D(Object.keys(a)),S=b.next();!S.done;S=b.next()){var g=S.value,A=a[g],T=this._fieldIds[g],F=n.get(T);if(F!=null){var L=F.size,R=this._avgFieldLength[T];try{for(var V=(h=void 0,D(F.keys())),k=V.next();!k.done;k=V.next()){var _=k.value;if(!this._documentIds.has(_)){this.removeTerm(T,_,t),L-=1;continue}var C=i?i(this._documentIds.get(_),t,this._storedFields.get(_)):1;if(C){var O=F.get(_),w=this._fieldLength.get(_)[T],c=Wr(O,L,this._documentCount,w,R,s),f=r*A*C*c,p=u.get(_);if(p){p.score+=f,Jr(p.terms,e);var N=ze(p.match,t);N?N.push(g):p.match[t]=[g]}else u.set(_,{score:f,terms:[e],match:(y={},y[t]=[g],y)})}}}catch(I){h={error:I}}finally{try{k&&!k.done&&(v=V.return)&&v.call(V)}finally{if(h)throw h.error}}}}}catch(I){l={error:I}}finally{try{S&&!S.done&&(d=b.return)&&d.call(b)}finally{if(l)throw l.error}}return u},o.prototype.addTerm=function(e,t,r){var n=this._index.fetch(r,vt),a=n.get(e);if(a==null)a=new Map,a.set(t,1),n.set(e,a);else{var i=a.get(t);a.set(t,(i||0)+1)}},o.prototype.removeTerm=function(e,t,r){if(!this._index.has(r)){this.warnDocumentChanged(t,e,r);return}var n=this._index.fetch(r,vt),a=n.get(e);a==null||a.get(t)==null?this.warnDocumentChanged(t,e,r):a.get(t)<=1?a.size<=1?n.delete(e):a.delete(t):a.set(t,a.get(t)-1),this._index.get(r).size===0&&this._index.delete(r)},o.prototype.warnDocumentChanged=function(e,t,r){var n,a;try{for(var i=D(Object.keys(this._fieldIds)),s=i.next();!s.done;s=i.next()){var u=s.value;if(this._fieldIds[u]===t){this._options.logger("warn","MiniSearch: document with ID ".concat(this._documentIds.get(e),' has changed before removal: term "').concat(r,'" was not present in field "').concat(u,'". Removing a document after it has changed can corrupt the index!'),"version_conflict");return}}}catch(l){n={error:l}}finally{try{s&&!s.done&&(a=i.return)&&a.call(i)}finally{if(n)throw n.error}}},o.prototype.addDocumentId=function(e){var t=this._nextId;return this._idToShortId.set(e,t),this._documentIds.set(t,e),this._documentCount+=1,this._nextId+=1,t},o.prototype.addFields=function(e){for(var t=0;t(Gt("data-v-da1f852b"),o=o(),qt(),o),Hr=["aria-owns"],Gr={class:"shell"},qr=["title"],Qr=Y(()=>E("svg",{class:"search-icon",width:"18",height:"18",viewBox:"0 0 24 24","aria-hidden":"true"},[E("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"},[E("circle",{cx:"11",cy:"11",r:"8"}),E("path",{d:"m21 21l-4.35-4.35"})])],-1)),Yr=[Qr],Zr={class:"search-actions before"},Xr=["title"],ea=Y(()=>E("svg",{width:"18",height:"18",viewBox:"0 0 24 24","aria-hidden":"true"},[E("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M19 12H5m7 7l-7-7l7-7"})],-1)),ta=[ea],ra=["placeholder"],aa={class:"search-actions"},na=["title"],ia=Y(()=>E("svg",{width:"18",height:"18",viewBox:"0 0 24 24","aria-hidden":"true"},[E("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M3 14h7v7H3zM3 3h7v7H3zm11 1h7m-7 5h7m-7 6h7m-7 5h7"})],-1)),oa=[ia],sa=["disabled","title"],ua=Y(()=>E("svg",{width:"18",height:"18",viewBox:"0 0 24 24","aria-hidden":"true"},[E("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M20 5H9l-7 7l7 7h11a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2Zm-2 4l-6 6m0-6l6 6"})],-1)),la=[ua],ca=["id","role","aria-labelledby"],fa=["aria-selected"],da=["href","aria-label","onMouseenter","onFocusin"],ha={class:"titles"},va=Y(()=>E("span",{class:"title-icon"},"#",-1)),pa=["innerHTML"],ma=Y(()=>E("svg",{width:"18",height:"18",viewBox:"0 0 24 24"},[E("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"m9 18l6-6l-6-6"})],-1)),ya={class:"title main"},ga=["innerHTML"],ba={key:0,class:"excerpt-wrapper"},wa={key:0,class:"excerpt",inert:""},xa=["innerHTML"],Fa=Y(()=>E("div",{class:"excerpt-gradient-bottom"},null,-1)),Ea=Y(()=>E("div",{class:"excerpt-gradient-top"},null,-1)),Sa={key:0,class:"no-results"},Aa={class:"search-keyboard-shortcuts"},Ca=["aria-label"],Ta=Y(()=>E("svg",{width:"14",height:"14",viewBox:"0 0 24 24"},[E("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M12 19V5m-7 7l7-7l7 7"})],-1)),ka=[Ta],Na=["aria-label"],Ia=Y(()=>E("svg",{width:"14",height:"14",viewBox:"0 0 24 24"},[E("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M12 5v14m7-7l-7 7l-7-7"})],-1)),Da=[Ia],Oa=["aria-label"],_a=Y(()=>E("svg",{width:"14",height:"14",viewBox:"0 0 24 24"},[E("g",{fill:"none",stroke:"currentcolor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"},[E("path",{d:"m9 10l-5 5l5 5"}),E("path",{d:"M20 4v7a4 4 0 0 1-4 4H4"})])],-1)),Ra=[_a],Ma=["aria-label"],La=It({__name:"VPLocalSearchBox",emits:["close"],setup(o,{emit:e}){var z,P;const t=e,r=xe(),n=xe(),a=xe(ar),i=er(),{activate:s}=Ir(r,{immediate:!0,allowOutsideClick:!0,clickOutsideDeactivates:!0,escapeDeactivates:!0}),{localeIndex:u,theme:l}=i,d=et(async()=>{var m,x,$,j,G,q,B,J,Z;return nt(Br.loadJSON(($=await((x=(m=a.value)[u.value])==null?void 0:x.call(m)))==null?void 0:$.default,{fields:["title","titles","text"],storeFields:["title","titles"],searchOptions:{fuzzy:.2,prefix:!0,boost:{title:4,text:2,titles:1},...((j=l.value.search)==null?void 0:j.provider)==="local"&&((q=(G=l.value.search.options)==null?void 0:G.miniSearch)==null?void 0:q.searchOptions)},...((B=l.value.search)==null?void 0:B.provider)==="local"&&((Z=(J=l.value.search.options)==null?void 0:J.miniSearch)==null?void 0:Z.options)}))}),v=Fe(()=>{var m,x;return((m=l.value.search)==null?void 0:m.provider)==="local"&&((x=l.value.search.options)==null?void 0:x.disableQueryPersistence)===!0}).value?oe(""):Dt("vitepress:local-search-filter",""),y=Ot("vitepress:local-search-detailed-list",((z=l.value.search)==null?void 0:z.provider)==="local"&&((P=l.value.search.options)==null?void 0:P.detailedView)===!0),b=Fe(()=>{var m,x,$;return((m=l.value.search)==null?void 0:m.provider)==="local"&&(((x=l.value.search.options)==null?void 0:x.disableDetailedView)===!0||(($=l.value.search.options)==null?void 0:$.detailedView)===!1)}),S=Fe(()=>{var x,$,j,G,q,B,J;const m=((x=l.value.search)==null?void 0:x.options)??l.value.algolia;return((q=(G=(j=($=m==null?void 0:m.locales)==null?void 0:$[u.value])==null?void 0:j.translations)==null?void 0:G.button)==null?void 0:q.buttonText)||((J=(B=m==null?void 0:m.translations)==null?void 0:B.button)==null?void 0:J.buttonText)||"Search"});_t(()=>{b.value&&(y.value=!1)});const g=xe([]),A=oe(!1);Ve(v,()=>{A.value=!1});const T=et(async()=>{if(n.value)return nt(new Or(n.value))},null),F=new rr(16);Rt(()=>[d.value,v.value,y.value],async([m,x,$],j,G)=>{var be,He,Ge,qe;(j==null?void 0:j[0])!==m&&F.clear();let q=!1;if(G(()=>{q=!0}),!m)return;g.value=m.search(x).slice(0,16),A.value=!0;const B=$?await Promise.all(g.value.map(Q=>L(Q.id))):[];if(q)return;for(const{id:Q,mod:ae}of B){const ne=Q.slice(0,Q.indexOf("#"));let te=F.get(ne);if(te)continue;te=new Map,F.set(ne,te);const X=ae.default??ae;if(X!=null&&X.render||X!=null&&X.setup){const ie=Qt(X);ie.config.warnHandler=()=>{},ie.provide(Yt,i),Object.defineProperties(ie.config.globalProperties,{$frontmatter:{get(){return i.frontmatter.value}},$params:{get(){return i.page.value.params}}});const Qe=document.createElement("div");ie.mount(Qe),Qe.querySelectorAll("h1, h2, h3, h4, h5, h6").forEach(de=>{var Xe;const we=(Xe=de.querySelector("a"))==null?void 0:Xe.getAttribute("href"),Ye=(we==null?void 0:we.startsWith("#"))&&we.slice(1);if(!Ye)return;let Ze="";for(;(de=de.nextElementSibling)&&!/^h[1-6]$/i.test(de.tagName);)Ze+=de.outerHTML;te.set(Ye,Ze)}),ie.unmount()}if(q)return}const J=new Set;if(g.value=g.value.map(Q=>{const[ae,ne]=Q.id.split("#"),te=F.get(ae),X=(te==null?void 0:te.get(ne))??"";for(const ie in Q.match)J.add(ie);return{...Q,text:X}}),await he(),q)return;await new Promise(Q=>{var ae;(ae=T.value)==null||ae.unmark({done:()=>{var ne;(ne=T.value)==null||ne.markRegExp(M(J),{done:Q})}})});const Z=((be=r.value)==null?void 0:be.querySelectorAll(".result .excerpt"))??[];for(const Q of Z)(He=Q.querySelector('mark[data-markjs="true"]'))==null||He.scrollIntoView({block:"center"});(qe=(Ge=n.value)==null?void 0:Ge.firstElementChild)==null||qe.scrollIntoView({block:"start"})},{debounce:200,immediate:!0});async function L(m){const x=Zt(m.slice(0,m.indexOf("#")));try{if(!x)throw new Error(`Cannot find file for id: ${m}`);return{id:m,mod:await pt(()=>import(x),__vite__mapDeps([]))}}catch($){return console.error($),{id:m,mod:{}}}}const R=oe(),V=Fe(()=>{var m;return((m=v.value)==null?void 0:m.length)<=0});function k(m=!0){var x,$;(x=R.value)==null||x.focus(),m&&(($=R.value)==null||$.select())}Oe(()=>{k()});function _(m){m.pointerType==="mouse"&&k()}const C=oe(-1),O=oe(!1);Ve(g,m=>{C.value=m.length?0:-1,w()});function w(){he(()=>{const m=document.querySelector(".result.selected");m&&m.scrollIntoView({block:"nearest"})})}Ee("ArrowUp",m=>{m.preventDefault(),C.value--,C.value<0&&(C.value=g.value.length-1),O.value=!0,w()}),Ee("ArrowDown",m=>{m.preventDefault(),C.value++,C.value>=g.value.length&&(C.value=0),O.value=!0,w()});const c=Mt();Ee("Enter",m=>{if(m.target instanceof HTMLButtonElement&&m.target.type!=="submit")return;const x=g.value[C.value];if(m.target instanceof HTMLInputElement&&!x){m.preventDefault();return}x&&(c.go(x.id),t("close"))}),Ee("Escape",()=>{t("close")});const f={modal:{displayDetails:"Display detailed list",resetButtonTitle:"Reset search",backButtonTitle:"Close search",noResultsText:"No results for",footer:{selectText:"to select",selectKeyAriaLabel:"enter",navigateText:"to navigate",navigateUpKeyAriaLabel:"up arrow",navigateDownKeyAriaLabel:"down arrow",closeText:"to close",closeKeyAriaLabel:"escape"}}},p=Lt(tr)(zt(()=>{var m;return(m=l.value.search)==null?void 0:m.options}),f);Oe(()=>{window.history.pushState(null,"",null)}),Pt("popstate",m=>{m.preventDefault(),t("close")});const N=Bt(Vt?document.body:null);Oe(()=>{he(()=>{N.value=!0,he().then(()=>s())})}),$t(()=>{N.value=!1});function I(){v.value="",he().then(()=>k(!1))}function M(m){return new RegExp([...m].sort((x,$)=>$.length-x.length).map(x=>`(${x.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")})`).join("|"),"gi")}return(m,x)=>{var $,j,G,q;return ee(),Wt(Ht,{to:"body"},[E("div",{ref_key:"el",ref:r,role:"button","aria-owns":($=g.value)!=null&&$.length?"localsearch-list":void 0,"aria-expanded":"true","aria-haspopup":"listbox","aria-labelledby":"localsearch-label",class:"VPLocalSearchBox"},[E("div",{class:"backdrop",onClick:x[0]||(x[0]=B=>m.$emit("close"))}),E("div",Gr,[E("form",{class:"search-bar",onPointerup:x[4]||(x[4]=B=>_(B)),onSubmit:x[5]||(x[5]=jt(()=>{},["prevent"]))},[E("label",{title:S.value,id:"localsearch-label",for:"localsearch-input"},Yr,8,qr),E("div",Zr,[E("button",{class:"back-button",title:U(p)("modal.backButtonTitle"),onClick:x[1]||(x[1]=B=>m.$emit("close"))},ta,8,Xr)]),Kt(E("input",{ref_key:"searchInput",ref:R,"onUpdate:modelValue":x[2]||(x[2]=B=>Ut(v)?v.value=B:null),placeholder:S.value,id:"localsearch-input","aria-labelledby":"localsearch-label",class:"search-input"},null,8,ra),[[Jt,U(v)]]),E("div",aa,[b.value?Se("",!0):(ee(),re("button",{key:0,class:tt(["toggle-layout-button",{"detailed-list":U(y)}]),type:"button",title:U(p)("modal.displayDetails"),onClick:x[3]||(x[3]=B=>C.value>-1&&(y.value=!U(y)))},oa,10,na)),E("button",{class:"clear-button",type:"reset",disabled:V.value,title:U(p)("modal.resetButtonTitle"),onClick:I},la,8,sa)])],32),E("ul",{ref_key:"resultsEl",ref:n,id:(j=g.value)!=null&&j.length?"localsearch-list":void 0,role:(G=g.value)!=null&&G.length?"listbox":void 0,"aria-labelledby":(q=g.value)!=null&&q.length?"localsearch-label":void 0,class:"results",onMousemove:x[7]||(x[7]=B=>O.value=!1)},[(ee(!0),re(at,null,rt(g.value,(B,J)=>(ee(),re("li",{key:B.id,role:"option","aria-selected":C.value===J?"true":"false"},[E("a",{href:B.id,class:tt(["result",{selected:C.value===J}]),"aria-label":[...B.titles,B.title].join(" > "),onMouseenter:Z=>!O.value&&(C.value=J),onFocusin:Z=>C.value=J,onClick:x[6]||(x[6]=Z=>m.$emit("close"))},[E("div",null,[E("div",ha,[va,(ee(!0),re(at,null,rt(B.titles,(Z,be)=>(ee(),re("span",{key:be,class:"title"},[E("span",{class:"text",innerHTML:Z},null,8,pa),ma]))),128)),E("span",ya,[E("span",{class:"text",innerHTML:B.title},null,8,ga)])]),U(y)?(ee(),re("div",ba,[B.text?(ee(),re("div",wa,[E("div",{class:"vp-doc",innerHTML:B.text},null,8,xa)])):Se("",!0),Fa,Ea])):Se("",!0)])],42,da)],8,fa))),128)),U(v)&&!g.value.length&&A.value?(ee(),re("li",Sa,[ve(pe(U(p)("modal.noResultsText"))+' "',1),E("strong",null,pe(U(v)),1),ve('" ')])):Se("",!0)],40,ca),E("div",Aa,[E("span",null,[E("kbd",{"aria-label":U(p)("modal.footer.navigateUpKeyAriaLabel")},ka,8,Ca),E("kbd",{"aria-label":U(p)("modal.footer.navigateDownKeyAriaLabel")},Da,8,Na),ve(" "+pe(U(p)("modal.footer.navigateText")),1)]),E("span",null,[E("kbd",{"aria-label":U(p)("modal.footer.selectKeyAriaLabel")},Ra,8,Oa),ve(" "+pe(U(p)("modal.footer.selectText")),1)]),E("span",null,[E("kbd",{"aria-label":U(p)("modal.footer.closeKeyAriaLabel")},"esc",8,Ma),ve(" "+pe(U(p)("modal.footer.closeText")),1)])])])],8,Hr)])}}}),$a=Xt(La,[["__scopeId","data-v-da1f852b"]]);export{$a as default}; -function __vite__mapDeps(indexes) { - if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = [] - } - return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) -} \ No newline at end of file diff --git a/assets/chunks/camera.DE4cteSh.js b/assets/chunks/camera.DE4cteSh.js deleted file mode 100644 index 27fca03f..00000000 --- a/assets/chunks/camera.DE4cteSh.js +++ /dev/null @@ -1,3 +0,0 @@ -import{d as ri,h as ni,j as ai,a9 as ii,o as oi,b as si,J as ui}from"./framework.BwCxet3-.js";const $o=ri({__name:"DemoWrapper",props:{component:Object},setup(r){const i=r,o=ni();return ai(()=>{i.component&&(o.value=ii(i.component))}),(u,d)=>(oi(),si(ui(o.value)))}});var lr=(r,i,o)=>{if(!i.has(r))throw TypeError("Cannot "+o)},er=(r,i,o)=>(lr(r,i,"read from private field"),o?o.call(r):i.get(r)),ci=(r,i,o)=>{if(i.has(r))throw TypeError("Cannot add the same private member more than once");i instanceof WeakSet?i.add(r):i.set(r,o)},li=(r,i,o,u)=>(lr(r,i,"write to private field"),i.set(r,o),o);const dr=[["aztec","Aztec"],["code_128","Code128"],["code_39","Code39"],["code_93","Code93"],["codabar","Codabar"],["databar","DataBar"],["databar_expanded","DataBarExpanded"],["data_matrix","DataMatrix"],["dx_film_edge","DXFilmEdge"],["ean_13","EAN-13"],["ean_8","EAN-8"],["itf","ITF"],["maxi_code","MaxiCode"],["micro_qr_code","MicroQRCode"],["pdf417","PDF417"],["qr_code","QRCode"],["rm_qr_code","rMQRCode"],["upc_a","UPC-A"],["upc_e","UPC-E"],["linear_codes","Linear-Codes"],["matrix_codes","Matrix-Codes"]],di=[...dr,["unknown"]].map(r=>r[0]),Be=new Map(dr);function fi(r){for(const[i,o]of Be)if(r===o)return i;return"unknown"}function pi(r){if(fr(r))return{width:r.naturalWidth,height:r.naturalHeight};if(pr(r))return{width:r.width.baseVal.value,height:r.height.baseVal.value};if(hr(r))return{width:r.videoWidth,height:r.videoHeight};if(vr(r))return{width:r.width,height:r.height};if(gr(r))return{width:r.displayWidth,height:r.displayHeight};if(mr(r))return{width:r.width,height:r.height};if(yr(r))return{width:r.width,height:r.height};throw new TypeError("The provided value is not of type '(Blob or HTMLCanvasElement or HTMLImageElement or HTMLVideoElement or ImageBitmap or ImageData or OffscreenCanvas or SVGImageElement or VideoFrame)'.")}function fr(r){try{return r instanceof HTMLImageElement}catch{return!1}}function pr(r){try{return r instanceof SVGImageElement}catch{return!1}}function hr(r){try{return r instanceof HTMLVideoElement}catch{return!1}}function mr(r){try{return r instanceof HTMLCanvasElement}catch{return!1}}function vr(r){try{return r instanceof ImageBitmap}catch{return!1}}function yr(r){try{return r instanceof OffscreenCanvas}catch{return!1}}function gr(r){try{return r instanceof VideoFrame}catch{return!1}}function wr(r){try{return r instanceof Blob}catch{return!1}}function hi(r){try{return r instanceof ImageData}catch{return!1}}function mi(r,i){try{const o=new OffscreenCanvas(r,i);if(o.getContext("2d")instanceof OffscreenCanvasRenderingContext2D)return o;throw void 0}catch{const o=document.createElement("canvas");return o.width=r,o.height=i,o}}async function br(r){if(fr(r)&&!await wi(r))throw new DOMException("Failed to load or decode HTMLImageElement.","InvalidStateError");if(pr(r)&&!await bi(r))throw new DOMException("Failed to load or decode SVGImageElement.","InvalidStateError");if(gr(r)&&Ci(r))throw new DOMException("VideoFrame is closed.","InvalidStateError");if(hr(r)&&(r.readyState===0||r.readyState===1))throw new DOMException("Invalid element or state.","InvalidStateError");if(vr(r)&&_i(r))throw new DOMException("The image source is detached.","InvalidStateError");const{width:i,height:o}=pi(r);if(i===0||o===0)return null;const u=mi(i,o).getContext("2d");u.drawImage(r,0,0);try{return u.getImageData(0,0,i,o)}catch{throw new DOMException("Source would taint origin.","SecurityError")}}async function vi(r){let i;try{if(globalThis.createImageBitmap)i=await createImageBitmap(r);else if(globalThis.Image){i=new Image;let o="";try{o=URL.createObjectURL(r),i.src=o,await i.decode()}finally{URL.revokeObjectURL(o)}}else return r}catch{throw new DOMException("Failed to load or decode Blob.","InvalidStateError")}return await br(i)}function yi(r){const{width:i,height:o}=r;if(i===0||o===0)return null;const u=r.getContext("2d");try{return u.getImageData(0,0,i,o)}catch{throw new DOMException("Source would taint origin.","SecurityError")}}async function gi(r){if(wr(r))return await vi(r);if(hi(r)){if($i(r))throw new DOMException("The image data has been detached.","InvalidStateError");return r}return mr(r)||yr(r)?yi(r):await br(r)}async function wi(r){try{return await r.decode(),!0}catch{return!1}}async function bi(r){var i;try{return await((i=r.decode)==null?void 0:i.call(r)),!0}catch{return!1}}function Ci(r){return r.format===null}function $i(r){return r.data.buffer.byteLength===0}function _i(r){return r.width===0&&r.height===0}function tr(r,i){return r instanceof DOMException?new DOMException(`${i}: ${r.message}`,r.name):r instanceof Error?new r.constructor(`${i}: ${r.message}`):new Error(`${i}: ${r}`)}const rr=["Aztec","Codabar","Code128","Code39","Code93","DataBar","DataBarExpanded","DataMatrix","DXFilmEdge","EAN-13","EAN-8","ITF","Linear-Codes","Matrix-Codes","MaxiCode","MicroQRCode","None","PDF417","QRCode","rMQRCode","UPC-A","UPC-E"];function Si(r){return r.join("|")}function Pi(r){const i=nr(r);let o=0,u=rr.length-1;for(;o<=u;){const d=Math.floor((o+u)/2),p=rr[d],g=nr(p);if(g===i)return p;g{const o=r.match(/_(.+?)\.wasm$/);return o?`https://fastly.jsdelivr.net/npm/zxing-wasm@1.1.3/dist/${o[1]}/${r}`:i+r}};let ar=new WeakMap;function dt(r,i){var o;const u=ar.get(r);if(u!=null&&u.modulePromise&&i===void 0)return u.modulePromise;const d=(o=u==null?void 0:u.moduleOverrides)!=null?o:Ri,p=r({...d});return ar.set(r,{moduleOverrides:d,modulePromise:p}),p}async function xi(r,i,o=ye){const u={...ye,...o},d=await dt(r),{size:p}=i,g=new Uint8Array(await i.arrayBuffer()),w=d._malloc(p);d.HEAPU8.set(g,w);const _=d.readBarcodesFromImage(w,p,Cr(d,u));d._free(w);const m=[];for(let $=0;$<_.size();++$)m.push($r(_.get($)));return m}async function Ii(r,i,o=ye){const u={...ye,...o},d=await dt(r),{data:p,width:g,height:w,data:{byteLength:_}}=i,m=d._malloc(_);d.HEAPU8.set(p,m);const $=d.readBarcodesFromPixmap(m,g,w,Cr(d,u));d._free(m);const P=[];for(let C=0;C<$.size();++C)P.push($r($.get(C)));return P}({...ye,formats:[...ye.formats]});var ft=(()=>{var r=typeof document<"u"&&document.currentScript?document.currentScript.src:void 0;return function(i={}){var o=i,u,d;o.ready=new Promise((e,t)=>{u=e,d=t});var p=Object.assign({},o),g="./this.program",w=typeof window=="object",_=typeof importScripts=="function";typeof process=="object"&&typeof process.versions=="object"&&process.versions.node;var m="";function $(e){return o.locateFile?o.locateFile(e,m):m+e}var P;(w||_)&&(_?m=self.location.href:typeof document<"u"&&document.currentScript&&(m=document.currentScript.src),r&&(m=r),m.indexOf("blob:")!==0?m=m.substr(0,m.replace(/[?#].*/,"").lastIndexOf("/")+1):m="",_&&(P=e=>{var t=new XMLHttpRequest;return t.open("GET",e,!1),t.responseType="arraybuffer",t.send(null),new Uint8Array(t.response)})),o.print||console.log.bind(console);var C=o.printErr||console.error.bind(console);Object.assign(o,p),p=null,o.arguments&&o.arguments,o.thisProgram&&(g=o.thisProgram),o.quit&&o.quit;var U;o.wasmBinary&&(U=o.wasmBinary),typeof WebAssembly!="object"&&Oe("no native wasm support detected");var I,V=!1,A,D,X,ge,Y,x,mt,vt;function yt(){var e=I.buffer;o.HEAP8=A=new Int8Array(e),o.HEAP16=X=new Int16Array(e),o.HEAPU8=D=new Uint8Array(e),o.HEAPU16=ge=new Uint16Array(e),o.HEAP32=Y=new Int32Array(e),o.HEAPU32=x=new Uint32Array(e),o.HEAPF32=mt=new Float32Array(e),o.HEAPF64=vt=new Float64Array(e)}var gt=[],wt=[],bt=[];function Fr(){if(o.preRun)for(typeof o.preRun=="function"&&(o.preRun=[o.preRun]);o.preRun.length;)jr(o.preRun.shift());Ge(gt)}function kr(){Ge(wt)}function Ur(){if(o.postRun)for(typeof o.postRun=="function"&&(o.postRun=[o.postRun]);o.postRun.length;)Lr(o.postRun.shift());Ge(bt)}function jr(e){gt.unshift(e)}function Wr(e){wt.unshift(e)}function Lr(e){bt.unshift(e)}var ue=0,we=null;function Hr(e){var t;ue++,(t=o.monitorRunDependencies)===null||t===void 0||t.call(o,ue)}function Br(e){var t;if(ue--,(t=o.monitorRunDependencies)===null||t===void 0||t.call(o,ue),ue==0&&we){var n=we;we=null,n()}}function Oe(e){var t;(t=o.onAbort)===null||t===void 0||t.call(o,e),e="Aborted("+e+")",C(e),V=!0,e+=". Build with -sASSERTIONS for more info.";var n=new WebAssembly.RuntimeError(e);throw d(n),n}var Vr="data:application/octet-stream;base64,",Ct=e=>e.startsWith(Vr),de;de="zxing_reader.wasm",Ct(de)||(de=$(de));function $t(e){if(e==de&&U)return new Uint8Array(U);if(P)return P(e);throw"both async and sync fetching of the wasm failed"}function qr(e){return!U&&(w||_)&&typeof fetch=="function"?fetch(e,{credentials:"same-origin"}).then(t=>{if(!t.ok)throw"failed to load wasm binary file at '"+e+"'";return t.arrayBuffer()}).catch(()=>$t(e)):Promise.resolve().then(()=>$t(e))}function _t(e,t,n){return qr(e).then(a=>WebAssembly.instantiate(a,t)).then(a=>a).then(n,a=>{C(`failed to asynchronously prepare wasm: ${a}`),Oe(a)})}function Gr(e,t,n,a){return!e&&typeof WebAssembly.instantiateStreaming=="function"&&!Ct(t)&&typeof fetch=="function"?fetch(t,{credentials:"same-origin"}).then(s=>{var c=WebAssembly.instantiateStreaming(s,n);return c.then(a,function(l){return C(`wasm streaming compile failed: ${l}`),C("falling back to ArrayBuffer instantiation"),_t(t,n,a)})}):_t(t,n,a)}function Nr(){var e={a:Ia};function t(a,s){return q=a.exports,I=q.ia,yt(),xt=q.ma,Wr(q.ja),Br(),q}Hr();function n(a){t(a.instance)}if(o.instantiateWasm)try{return o.instantiateWasm(e,t)}catch(a){C(`Module.instantiateWasm callback failed with error: ${a}`),d(a)}return Gr(U,de,e,n).catch(d),{}}var Ge=e=>{for(;e.length>0;)e.shift()(o)};o.noExitRuntime;var Me=[],Ae=0,zr=e=>{var t=new Ne(e);return t.get_caught()||(t.set_caught(!0),Ae--),t.set_rethrown(!1),Me.push(t),zt(t.excPtr),t.get_exception_ptr()},re=0,Yr=()=>{F(0,0);var e=Me.pop();Nt(e.excPtr),re=0};function Ne(e){this.excPtr=e,this.ptr=e-24,this.set_type=function(t){x[this.ptr+4>>2]=t},this.get_type=function(){return x[this.ptr+4>>2]},this.set_destructor=function(t){x[this.ptr+8>>2]=t},this.get_destructor=function(){return x[this.ptr+8>>2]},this.set_caught=function(t){t=t?1:0,A[this.ptr+12>>0]=t},this.get_caught=function(){return A[this.ptr+12>>0]!=0},this.set_rethrown=function(t){t=t?1:0,A[this.ptr+13>>0]=t},this.get_rethrown=function(){return A[this.ptr+13>>0]!=0},this.init=function(t,n){this.set_adjusted_ptr(0),this.set_type(t),this.set_destructor(n)},this.set_adjusted_ptr=function(t){x[this.ptr+16>>2]=t},this.get_adjusted_ptr=function(){return x[this.ptr+16>>2]},this.get_exception_ptr=function(){var t=Jt(this.get_type());if(t)return x[this.excPtr>>2];var n=this.get_adjusted_ptr();return n!==0?n:this.excPtr}}var Jr=e=>{throw re||(re=e),re},ze=e=>{var t=re;if(!t)return Te(0),0;var n=new Ne(t);n.set_adjusted_ptr(t);var a=n.get_type();if(!a)return Te(0),t;for(var s in e){var c=e[s];if(c===0||c===a)break;var l=n.ptr+16;if(Yt(c,a,l))return Te(c),t}return Te(a),t},Qr=()=>ze([]),Xr=e=>ze([e]),Kr=(e,t)=>ze([e,t]),Zr=()=>{var e=Me.pop();e||Oe("no exception to throw");var t=e.excPtr;throw e.get_rethrown()||(Me.push(e),e.set_rethrown(!0),e.set_caught(!1),Ae++),re=t,re},en=(e,t,n)=>{var a=new Ne(e);throw a.init(t,n),re=e,Ae++,re},tn=()=>Ae,De={},Ye=e=>{for(;e.length;){var t=e.pop(),n=e.pop();n(t)}};function Je(e){return this.fromWireType(Y[e>>2])}var fe={},ce={},Re={},St,xe=e=>{throw new St(e)},le=(e,t,n)=>{e.forEach(function(f){Re[f]=t});function a(f){var h=n(f);h.length!==e.length&&xe("Mismatched type converter count");for(var y=0;y{ce.hasOwnProperty(f)?s[h]=ce[f]:(c.push(f),fe.hasOwnProperty(f)||(fe[f]=[]),fe[f].push(()=>{s[h]=ce[f],++l,l===c.length&&a(s)}))}),c.length===0&&a(s)},rn=e=>{var t=De[e];delete De[e];var n=t.rawConstructor,a=t.rawDestructor,s=t.fields,c=s.map(l=>l.getterReturnType).concat(s.map(l=>l.setterArgumentType));le([e],c,l=>{var f={};return s.forEach((h,y)=>{var b=h.fieldName,T=l[y],E=h.getter,O=h.getterContext,k=l[y+s.length],H=h.setter,R=h.setterContext;f[b]={read:z=>T.fromWireType(E(O,z)),write:(z,v)=>{var S=[];H(R,z,k.toWireType(S,v)),Ye(S)}}}),[{name:t.name,fromWireType:h=>{var y={};for(var b in f)y[b]=f[b].read(h);return a(h),y},toWireType:(h,y)=>{for(var b in f)if(!(b in y))throw new TypeError(`Missing field: "${b}"`);var T=n();for(b in f)f[b].write(T,y[b]);return h!==null&&h.push(a,T),T},argPackAdvance:ee,readValueFromPointer:Je,destructorFunction:a}]})},nn=(e,t,n,a,s)=>{},an=()=>{for(var e=new Array(256),t=0;t<256;++t)e[t]=String.fromCharCode(t);Pt=e},Pt,N=e=>{for(var t="",n=e;D[n];)t+=Pt[D[n++]];return t},pe,M=e=>{throw new pe(e)};function on(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var a=t.name;if(e||M(`type "${a}" must have a positive integer typeid pointer`),ce.hasOwnProperty(e)){if(n.ignoreDuplicateRegistrations)return;M(`Cannot register type '${a}' twice`)}if(ce[e]=t,delete Re[e],fe.hasOwnProperty(e)){var s=fe[e];delete fe[e],s.forEach(c=>c())}}function Z(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!("argPackAdvance"in t))throw new TypeError("registerType registeredInstance requires argPackAdvance");return on(e,t,n)}var ee=8,sn=(e,t,n,a)=>{t=N(t),Z(e,{name:t,fromWireType:function(s){return!!s},toWireType:function(s,c){return c?n:a},argPackAdvance:ee,readValueFromPointer:function(s){return this.fromWireType(D[s])},destructorFunction:null})},un=e=>({count:e.count,deleteScheduled:e.deleteScheduled,preservePointerOnDelete:e.preservePointerOnDelete,ptr:e.ptr,ptrType:e.ptrType,smartPtr:e.smartPtr,smartPtrType:e.smartPtrType}),Qe=e=>{function t(n){return n.$$.ptrType.registeredClass.name}M(t(e)+" instance already deleted")},Xe=!1,Tt=e=>{},cn=e=>{e.smartPtr?e.smartPtrType.rawDestructor(e.smartPtr):e.ptrType.registeredClass.rawDestructor(e.ptr)},Et=e=>{e.count.value-=1;var t=e.count.value===0;t&&cn(e)},Ot=(e,t,n)=>{if(t===n)return e;if(n.baseClass===void 0)return null;var a=Ot(e,t,n.baseClass);return a===null?null:n.downcast(a)},Mt={},ln=()=>Object.keys($e).length,dn=()=>{var e=[];for(var t in $e)$e.hasOwnProperty(t)&&e.push($e[t]);return e},be=[],Ke=()=>{for(;be.length;){var e=be.pop();e.$$.deleteScheduled=!1,e.delete()}},Ce,fn=e=>{Ce=e,be.length&&Ce&&Ce(Ke)},pn=()=>{o.getInheritedInstanceCount=ln,o.getLiveInheritedInstances=dn,o.flushPendingDeletes=Ke,o.setDelayFunction=fn},$e={},hn=(e,t)=>{for(t===void 0&&M("ptr should not be undefined");e.baseClass;)t=e.upcast(t),e=e.baseClass;return t},mn=(e,t)=>(t=hn(e,t),$e[t]),Ie=(e,t)=>{(!t.ptrType||!t.ptr)&&xe("makeClassHandle requires ptr and ptrType");var n=!!t.smartPtrType,a=!!t.smartPtr;return n!==a&&xe("Both smartPtrType and smartPtr must be specified"),t.count={value:1},_e(Object.create(e,{$$:{value:t,writable:!0}}))};function vn(e){var t=this.getPointee(e);if(!t)return this.destructor(e),null;var n=mn(this.registeredClass,t);if(n!==void 0){if(n.$$.count.value===0)return n.$$.ptr=t,n.$$.smartPtr=e,n.clone();var a=n.clone();return this.destructor(e),a}function s(){return this.isSmartPointer?Ie(this.registeredClass.instancePrototype,{ptrType:this.pointeeType,ptr:t,smartPtrType:this,smartPtr:e}):Ie(this.registeredClass.instancePrototype,{ptrType:this,ptr:e})}var c=this.registeredClass.getActualType(t),l=Mt[c];if(!l)return s.call(this);var f;this.isConst?f=l.constPointerType:f=l.pointerType;var h=Ot(t,this.registeredClass,f.registeredClass);return h===null?s.call(this):this.isSmartPointer?Ie(f.registeredClass.instancePrototype,{ptrType:f,ptr:h,smartPtrType:this,smartPtr:e}):Ie(f.registeredClass.instancePrototype,{ptrType:f,ptr:h})}var _e=e=>typeof FinalizationRegistry>"u"?(_e=t=>t,e):(Xe=new FinalizationRegistry(t=>{Et(t.$$)}),_e=t=>{var n=t.$$,a=!!n.smartPtr;if(a){var s={$$:n};Xe.register(t,s,t)}return t},Tt=t=>Xe.unregister(t),_e(e)),yn=()=>{Object.assign(Fe.prototype,{isAliasOf(e){if(!(this instanceof Fe)||!(e instanceof Fe))return!1;var t=this.$$.ptrType.registeredClass,n=this.$$.ptr;e.$$=e.$$;for(var a=e.$$.ptrType.registeredClass,s=e.$$.ptr;t.baseClass;)n=t.upcast(n),t=t.baseClass;for(;a.baseClass;)s=a.upcast(s),a=a.baseClass;return t===a&&n===s},clone(){if(this.$$.ptr||Qe(this),this.$$.preservePointerOnDelete)return this.$$.count.value+=1,this;var e=_e(Object.create(Object.getPrototypeOf(this),{$$:{value:un(this.$$)}}));return e.$$.count.value+=1,e.$$.deleteScheduled=!1,e},delete(){this.$$.ptr||Qe(this),this.$$.deleteScheduled&&!this.$$.preservePointerOnDelete&&M("Object already scheduled for deletion"),Tt(this),Et(this.$$),this.$$.preservePointerOnDelete||(this.$$.smartPtr=void 0,this.$$.ptr=void 0)},isDeleted(){return!this.$$.ptr},deleteLater(){return this.$$.ptr||Qe(this),this.$$.deleteScheduled&&!this.$$.preservePointerOnDelete&&M("Object already scheduled for deletion"),be.push(this),be.length===1&&Ce&&Ce(Ke),this.$$.deleteScheduled=!0,this}})};function Fe(){}var Se=(e,t)=>Object.defineProperty(t,"name",{value:e}),At=(e,t,n)=>{if(e[t].overloadTable===void 0){var a=e[t];e[t]=function(){return e[t].overloadTable.hasOwnProperty(arguments.length)||M(`Function '${n}' called with an invalid number of arguments (${arguments.length}) - expects one of (${e[t].overloadTable})!`),e[t].overloadTable[arguments.length].apply(this,arguments)},e[t].overloadTable=[],e[t].overloadTable[a.argCount]=a}},Ze=(e,t,n)=>{o.hasOwnProperty(e)?((n===void 0||o[e].overloadTable!==void 0&&o[e].overloadTable[n]!==void 0)&&M(`Cannot register public name '${e}' twice`),At(o,e,e),o.hasOwnProperty(n)&&M(`Cannot register multiple overloads of a function with the same number of arguments (${n})!`),o[e].overloadTable[n]=t):(o[e]=t,n!==void 0&&(o[e].numArguments=n))},gn=48,wn=57,bn=e=>{if(e===void 0)return"_unknown";e=e.replace(/[^a-zA-Z0-9_]/g,"$");var t=e.charCodeAt(0);return t>=gn&&t<=wn?`_${e}`:e};function Cn(e,t,n,a,s,c,l,f){this.name=e,this.constructor=t,this.instancePrototype=n,this.rawDestructor=a,this.baseClass=s,this.getActualType=c,this.upcast=l,this.downcast=f,this.pureVirtualFunctions=[]}var et=(e,t,n)=>{for(;t!==n;)t.upcast||M(`Expected null or instance of ${n.name}, got an instance of ${t.name}`),e=t.upcast(e),t=t.baseClass;return e};function $n(e,t){if(t===null)return this.isReference&&M(`null is not a valid ${this.name}`),0;t.$$||M(`Cannot pass "${it(t)}" as a ${this.name}`),t.$$.ptr||M(`Cannot pass deleted object as a pointer of type ${this.name}`);var n=t.$$.ptrType.registeredClass,a=et(t.$$.ptr,n,this.registeredClass);return a}function _n(e,t){var n;if(t===null)return this.isReference&&M(`null is not a valid ${this.name}`),this.isSmartPointer?(n=this.rawConstructor(),e!==null&&e.push(this.rawDestructor,n),n):0;(!t||!t.$$)&&M(`Cannot pass "${it(t)}" as a ${this.name}`),t.$$.ptr||M(`Cannot pass deleted object as a pointer of type ${this.name}`),!this.isConst&&t.$$.ptrType.isConst&&M(`Cannot convert argument of type ${t.$$.smartPtrType?t.$$.smartPtrType.name:t.$$.ptrType.name} to parameter type ${this.name}`);var a=t.$$.ptrType.registeredClass;if(n=et(t.$$.ptr,a,this.registeredClass),this.isSmartPointer)switch(t.$$.smartPtr===void 0&&M("Passing raw pointer to smart pointer is illegal"),this.sharingPolicy){case 0:t.$$.smartPtrType===this?n=t.$$.smartPtr:M(`Cannot convert argument of type ${t.$$.smartPtrType?t.$$.smartPtrType.name:t.$$.ptrType.name} to parameter type ${this.name}`);break;case 1:n=t.$$.smartPtr;break;case 2:if(t.$$.smartPtrType===this)n=t.$$.smartPtr;else{var s=t.clone();n=this.rawShare(n,ne.toHandle(()=>s.delete())),e!==null&&e.push(this.rawDestructor,n)}break;default:M("Unsupporting sharing policy")}return n}function Sn(e,t){if(t===null)return this.isReference&&M(`null is not a valid ${this.name}`),0;t.$$||M(`Cannot pass "${it(t)}" as a ${this.name}`),t.$$.ptr||M(`Cannot pass deleted object as a pointer of type ${this.name}`),t.$$.ptrType.isConst&&M(`Cannot convert argument of type ${t.$$.ptrType.name} to parameter type ${this.name}`);var n=t.$$.ptrType.registeredClass,a=et(t.$$.ptr,n,this.registeredClass);return a}function Dt(e){return this.fromWireType(x[e>>2])}var Pn=()=>{Object.assign(ke.prototype,{getPointee(e){return this.rawGetPointee&&(e=this.rawGetPointee(e)),e},destructor(e){var t;(t=this.rawDestructor)===null||t===void 0||t.call(this,e)},argPackAdvance:ee,readValueFromPointer:Dt,deleteObject(e){e!==null&&e.delete()},fromWireType:vn})};function ke(e,t,n,a,s,c,l,f,h,y,b){this.name=e,this.registeredClass=t,this.isReference=n,this.isConst=a,this.isSmartPointer=s,this.pointeeType=c,this.sharingPolicy=l,this.rawGetPointee=f,this.rawConstructor=h,this.rawShare=y,this.rawDestructor=b,!s&&t.baseClass===void 0?a?(this.toWireType=$n,this.destructorFunction=null):(this.toWireType=Sn,this.destructorFunction=null):this.toWireType=_n}var Rt=(e,t,n)=>{o.hasOwnProperty(e)||xe("Replacing nonexistant public symbol"),o[e].overloadTable!==void 0&&n!==void 0?o[e].overloadTable[n]=t:(o[e]=t,o[e].argCount=n)},Tn=(e,t,n)=>{var a=o["dynCall_"+e];return n&&n.length?a.apply(null,[t].concat(n)):a.call(null,t)},Ue=[],xt,j=e=>{var t=Ue[e];return t||(e>=Ue.length&&(Ue.length=e+1),Ue[e]=t=xt.get(e)),t},En=(e,t,n)=>{if(e.includes("j"))return Tn(e,t,n);var a=j(t).apply(null,n);return a},On=(e,t)=>{var n=[];return function(){return n.length=0,Object.assign(n,arguments),En(e,t,n)}},K=(e,t)=>{e=N(e);function n(){return e.includes("j")?On(e,t):j(t)}var a=n();return typeof a!="function"&&M(`unknown function pointer with signature ${e}: ${t}`),a},Mn=(e,t)=>{var n=Se(t,function(a){this.name=t,this.message=a;var s=new Error(a).stack;s!==void 0&&(this.stack=this.toString()+` -`+s.replace(/^Error(:[^\n]*)?\n/,""))});return n.prototype=Object.create(e.prototype),n.prototype.constructor=n,n.prototype.toString=function(){return this.message===void 0?this.name:`${this.name}: ${this.message}`},n},It,Ft=e=>{var t=Gt(e),n=N(t);return ae(t),n},je=(e,t)=>{var n=[],a={};function s(c){if(!a[c]&&!ce[c]){if(Re[c]){Re[c].forEach(s);return}n.push(c),a[c]=!0}}throw t.forEach(s),new It(`${e}: `+n.map(Ft).join([", "]))},An=(e,t,n,a,s,c,l,f,h,y,b,T,E)=>{b=N(b),c=K(s,c),f&&(f=K(l,f)),y&&(y=K(h,y)),E=K(T,E);var O=bn(b);Ze(O,function(){je(`Cannot construct ${b} due to unbound types`,[a])}),le([e,t,n],a?[a]:[],function(k){k=k[0];var H,R;a?(H=k.registeredClass,R=H.instancePrototype):R=Fe.prototype;var z=Se(b,function(){if(Object.getPrototypeOf(this)!==v)throw new pe("Use 'new' to construct "+b);if(S.constructor_body===void 0)throw new pe(b+" has no accessible constructor");var Zt=S.constructor_body[arguments.length];if(Zt===void 0)throw new pe(`Tried to invoke ctor of ${b} with invalid number of parameters (${arguments.length}) - expected (${Object.keys(S.constructor_body).toString()}) parameters instead!`);return Zt.apply(this,arguments)}),v=Object.create(R,{constructor:{value:z}});z.prototype=v;var S=new Cn(b,z,v,E,H,c,f,y);if(S.baseClass){var B,G;(G=(B=S.baseClass).__derivedClasses)!==null&&G!==void 0||(B.__derivedClasses=[]),S.baseClass.__derivedClasses.push(S)}var he=new ke(b,S,!0,!1,!1),He=new ke(b+"*",S,!1,!1,!1),Kt=new ke(b+" const*",S,!1,!0,!1);return Mt[e]={pointerType:He,constPointerType:Kt},Rt(O,z),[he,He,Kt]})},tt=(e,t)=>{for(var n=[],a=0;a>2]);return n};function Dn(e){for(var t=1;t{var l=tt(t,n);s=K(a,s),le([],[e],function(f){f=f[0];var h=`constructor ${f.name}`;if(f.registeredClass.constructor_body===void 0&&(f.registeredClass.constructor_body=[]),f.registeredClass.constructor_body[t-1]!==void 0)throw new pe(`Cannot register multiple constructors with identical number of parameters (${t-1}) for class '${f.name}'! Overload resolution is currently only performed using the parameter count, not actual type info!`);return f.registeredClass.constructor_body[t-1]=()=>{je(`Cannot construct ${f.name} due to unbound types`,l)},le([],l,y=>(y.splice(1,0,null),f.registeredClass.constructor_body[t-1]=rt(h,y,null,s,c),[])),[]})},kt=e=>{e=e.trim();const t=e.indexOf("(");return t!==-1?e.substr(0,t):e},xn=(e,t,n,a,s,c,l,f,h)=>{var y=tt(n,a);t=N(t),t=kt(t),c=K(s,c),le([],[e],function(b){b=b[0];var T=`${b.name}.${t}`;t.startsWith("@@")&&(t=Symbol[t.substring(2)]),f&&b.registeredClass.pureVirtualFunctions.push(t);function E(){je(`Cannot call ${T} due to unbound types`,y)}var O=b.registeredClass.instancePrototype,k=O[t];return k===void 0||k.overloadTable===void 0&&k.className!==b.name&&k.argCount===n-2?(E.argCount=n-2,E.className=b.name,O[t]=E):(At(O,t,T),O[t].overloadTable[n-2]=E),le([],y,function(H){var R=rt(T,H,b,c,l);return O[t].overloadTable===void 0?(R.argCount=n-2,O[t]=R):O[t].overloadTable[n-2]=R,[]}),[]})};function In(){Object.assign(Ut.prototype,{get(e){return this.allocated[e]},has(e){return this.allocated[e]!==void 0},allocate(e){var t=this.freelist.pop()||this.allocated.length;return this.allocated[t]=e,t},free(e){this.allocated[e]=void 0,this.freelist.push(e)}})}function Ut(){this.allocated=[void 0],this.freelist=[]}var Q=new Ut,nt=e=>{e>=Q.reserved&&--Q.get(e).refcount===0&&Q.free(e)},Fn=()=>{for(var e=0,t=Q.reserved;t{Q.allocated.push({value:void 0},{value:null},{value:!0},{value:!1}),Q.reserved=Q.allocated.length,o.count_emval_handles=Fn},ne={toValue:e=>(e||M("Cannot use deleted val. handle = "+e),Q.get(e).value),toHandle:e=>{switch(e){case void 0:return 1;case null:return 2;case!0:return 3;case!1:return 4;default:return Q.allocate({refcount:1,value:e})}}},Un=(e,t)=>{t=N(t),Z(e,{name:t,fromWireType:n=>{var a=ne.toValue(n);return nt(n),a},toWireType:(n,a)=>ne.toHandle(a),argPackAdvance:ee,readValueFromPointer:Je,destructorFunction:null})},jn=(e,t,n)=>{switch(t){case 1:return n?function(a){return this.fromWireType(A[a>>0])}:function(a){return this.fromWireType(D[a>>0])};case 2:return n?function(a){return this.fromWireType(X[a>>1])}:function(a){return this.fromWireType(ge[a>>1])};case 4:return n?function(a){return this.fromWireType(Y[a>>2])}:function(a){return this.fromWireType(x[a>>2])};default:throw new TypeError(`invalid integer width (${t}): ${e}`)}},Wn=(e,t,n,a)=>{t=N(t);function s(){}s.values={},Z(e,{name:t,constructor:s,fromWireType:function(c){return this.constructor.values[c]},toWireType:(c,l)=>l.value,argPackAdvance:ee,readValueFromPointer:jn(t,n,a),destructorFunction:null}),Ze(t,s)},at=(e,t)=>{var n=ce[e];return n===void 0&&M(t+" has unknown type "+Ft(e)),n},Ln=(e,t,n)=>{var a=at(e,"enum");t=N(t);var s=a.constructor,c=Object.create(a.constructor.prototype,{value:{value:n},constructor:{value:Se(`${a.name}_${t}`,function(){})}});s.values[n]=c,s[t]=c},it=e=>{if(e===null)return"null";var t=typeof e;return t==="object"||t==="array"||t==="function"?e.toString():""+e},Hn=(e,t)=>{switch(t){case 4:return function(n){return this.fromWireType(mt[n>>2])};case 8:return function(n){return this.fromWireType(vt[n>>3])};default:throw new TypeError(`invalid float width (${t}): ${e}`)}},Bn=(e,t,n)=>{t=N(t),Z(e,{name:t,fromWireType:a=>a,toWireType:(a,s)=>s,argPackAdvance:ee,readValueFromPointer:Hn(t,n),destructorFunction:null})},Vn=(e,t,n,a,s,c,l)=>{var f=tt(t,n);e=N(e),e=kt(e),s=K(a,s),Ze(e,function(){je(`Cannot call ${e} due to unbound types`,f)},t-1),le([],f,function(h){var y=[h[0],null].concat(h.slice(1));return Rt(e,rt(e,y,null,s,c),t-1),[]})},qn=(e,t,n)=>{switch(t){case 1:return n?a=>A[a>>0]:a=>D[a>>0];case 2:return n?a=>X[a>>1]:a=>ge[a>>1];case 4:return n?a=>Y[a>>2]:a=>x[a>>2];default:throw new TypeError(`invalid integer width (${t}): ${e}`)}},Gn=(e,t,n,a,s)=>{t=N(t);var c=b=>b;if(a===0){var l=32-8*n;c=b=>b<>>l}var f=t.includes("unsigned"),h=(b,T)=>{},y;f?y=function(b,T){return h(T,this.name),T>>>0}:y=function(b,T){return h(T,this.name),T},Z(e,{name:t,fromWireType:c,toWireType:y,argPackAdvance:ee,readValueFromPointer:qn(t,n,a!==0),destructorFunction:null})},Nn=(e,t,n)=>{var a=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array],s=a[t];function c(l){var f=x[l>>2],h=x[l+4>>2];return new s(A.buffer,h,f)}n=N(n),Z(e,{name:n,fromWireType:c,argPackAdvance:ee,readValueFromPointer:c},{ignoreDuplicateRegistrations:!0})},jt=(e,t,n,a)=>{if(!(a>0))return 0;for(var s=n,c=n+a-1,l=0;l=55296&&f<=57343){var h=e.charCodeAt(++l);f=65536+((f&1023)<<10)|h&1023}if(f<=127){if(n>=c)break;t[n++]=f}else if(f<=2047){if(n+1>=c)break;t[n++]=192|f>>6,t[n++]=128|f&63}else if(f<=65535){if(n+2>=c)break;t[n++]=224|f>>12,t[n++]=128|f>>6&63,t[n++]=128|f&63}else{if(n+3>=c)break;t[n++]=240|f>>18,t[n++]=128|f>>12&63,t[n++]=128|f>>6&63,t[n++]=128|f&63}}return t[n]=0,n-s},zn=(e,t,n)=>jt(e,D,t,n),Wt=e=>{for(var t=0,n=0;n=55296&&a<=57343?(t+=4,++n):t+=3}return t},Lt=typeof TextDecoder<"u"?new TextDecoder("utf8"):void 0,Yn=(e,t,n)=>{for(var a=t+n,s=t;e[s]&&!(s>=a);)++s;if(s-t>16&&e.buffer&&Lt)return Lt.decode(e.subarray(t,s));for(var c="";t>10,56320|y&1023)}}return c},ot=(e,t)=>e?Yn(D,e,t):"",Jn=(e,t)=>{t=N(t);var n=t==="std::string";Z(e,{name:t,fromWireType(a){var s=x[a>>2],c=a+4,l;if(n)for(var f=c,h=0;h<=s;++h){var y=c+h;if(h==s||D[y]==0){var b=y-f,T=ot(f,b);l===void 0?l=T:(l+="\0",l+=T),f=y+1}}else{for(var E=new Array(s),h=0;h>2]=c,n&&l)zn(s,h,c+1);else if(l)for(var y=0;y255&&(ae(h),M("String has UTF-16 code units that do not fit in 8 bits")),D[h+y]=b}else for(var y=0;y{for(var n=e,a=n>>1,s=a+t/2;!(a>=s)&&ge[a];)++a;if(n=a<<1,n-e>32&&Ht)return Ht.decode(D.subarray(e,n));for(var c="",l=0;!(l>=t/2);++l){var f=X[e+l*2>>1];if(f==0)break;c+=String.fromCharCode(f)}return c},Xn=(e,t,n)=>{var a;if((a=n)!==null&&a!==void 0||(n=2147483647),n<2)return 0;n-=2;for(var s=t,c=n>1]=f,t+=2}return X[t>>1]=0,t-s},Kn=e=>e.length*2,Zn=(e,t)=>{for(var n=0,a="";!(n>=t/4);){var s=Y[e+n*4>>2];if(s==0)break;if(++n,s>=65536){var c=s-65536;a+=String.fromCharCode(55296|c>>10,56320|c&1023)}else a+=String.fromCharCode(s)}return a},ea=(e,t,n)=>{var a;if((a=n)!==null&&a!==void 0||(n=2147483647),n<4)return 0;for(var s=t,c=s+n-4,l=0;l=55296&&f<=57343){var h=e.charCodeAt(++l);f=65536+((f&1023)<<10)|h&1023}if(Y[t>>2]=f,t+=4,t+4>c)break}return Y[t>>2]=0,t-s},ta=e=>{for(var t=0,n=0;n=55296&&a<=57343&&++n,t+=4}return t},ra=(e,t,n)=>{n=N(n);var a,s,c,l,f;t===2?(a=Qn,s=Xn,l=Kn,c=()=>ge,f=1):t===4&&(a=Zn,s=ea,l=ta,c=()=>x,f=2),Z(e,{name:n,fromWireType:h=>{for(var y=x[h>>2],b=c(),T,E=h+4,O=0;O<=y;++O){var k=h+4+O*t;if(O==y||b[k>>f]==0){var H=k-E,R=a(E,H);T===void 0?T=R:(T+="\0",T+=R),E=k+t}}return ae(h),T},toWireType:(h,y)=>{typeof y!="string"&&M(`Cannot pass non-string to C++ string type ${n}`);var b=l(y),T=ct(4+b+t);return x[T>>2]=b>>f,s(y,T+4,b+t),h!==null&&h.push(ae,T),T},argPackAdvance:ee,readValueFromPointer:Je,destructorFunction(h){ae(h)}})},na=(e,t,n,a,s,c)=>{De[e]={name:N(t),rawConstructor:K(n,a),rawDestructor:K(s,c),fields:[]}},aa=(e,t,n,a,s,c,l,f,h,y)=>{De[e].fields.push({fieldName:N(t),getterReturnType:n,getter:K(a,s),getterContext:c,setterArgumentType:l,setter:K(f,h),setterContext:y})},ia=(e,t)=>{t=N(t),Z(e,{isVoid:!0,name:t,argPackAdvance:0,fromWireType:()=>{},toWireType:(n,a)=>{}})},st=[],oa=(e,t,n,a)=>(e=st[e],t=ne.toValue(t),e(null,t,n,a)),sa={},ua=e=>{var t=sa[e];return t===void 0?N(e):t},Bt=()=>{if(typeof globalThis=="object")return globalThis;function e(t){t.$$$embind_global$$$=t;var n=typeof $$$embind_global$$$=="object"&&t.$$$embind_global$$$==t;return n||delete t.$$$embind_global$$$,n}if(typeof $$$embind_global$$$=="object"||(typeof global=="object"&&e(global)?$$$embind_global$$$=global:typeof self=="object"&&e(self)&&($$$embind_global$$$=self),typeof $$$embind_global$$$=="object"))return $$$embind_global$$$;throw Error("unable to get global object.")},ca=e=>e===0?ne.toHandle(Bt()):(e=ua(e),ne.toHandle(Bt()[e])),la=e=>{var t=st.length;return st.push(e),t},da=(e,t)=>{for(var n=new Array(e),a=0;a>2],"parameter "+a);return n},fa=Reflect.construct,pa=(e,t,n)=>{var a=[],s=e.toWireType(a,n);return a.length&&(x[t>>2]=ne.toHandle(a)),s},ha=(e,t,n)=>{var a=da(e,t),s=a.shift();e--;var c=new Array(e),l=(h,y,b,T)=>{for(var E=0,O=0;Oh.name).join(", ")}) => ${s.name}>`;return la(Se(f,l))},ma=e=>{e>4&&(Q.get(e).refcount+=1)},va=e=>{var t=ne.toValue(e);Ye(t),nt(e)},ya=(e,t)=>{e=at(e,"_emval_take_value");var n=e.readValueFromPointer(t);return ne.toHandle(n)},ga=()=>{Oe("")},wa=(e,t,n)=>D.copyWithin(e,t,t+n),ba=()=>2147483648,Ca=e=>{var t=I.buffer,n=(e-t.byteLength+65535)/65536;try{return I.grow(n),yt(),1}catch{}},$a=e=>{var t=D.length;e>>>=0;var n=ba();if(e>n)return!1;for(var a=(h,y)=>h+(y-h%y)%y,s=1;s<=4;s*=2){var c=t*(1+.2/s);c=Math.min(c,e+100663296);var l=Math.min(n,a(Math.max(e,c),65536)),f=Ca(l);if(f)return!0}return!1},ut={},_a=()=>g||"./this.program",Pe=()=>{if(!Pe.strings){var e=(typeof navigator=="object"&&navigator.languages&&navigator.languages[0]||"C").replace("-","_")+".UTF-8",t={USER:"web_user",LOGNAME:"web_user",PATH:"/",PWD:"/",HOME:"/home/web_user",LANG:e,_:_a()};for(var n in ut)ut[n]===void 0?delete t[n]:t[n]=ut[n];var a=[];for(var n in t)a.push(`${n}=${t[n]}`);Pe.strings=a}return Pe.strings},Sa=(e,t)=>{for(var n=0;n>0]=e.charCodeAt(n);A[t>>0]=0},Pa=(e,t)=>{var n=0;return Pe().forEach((a,s)=>{var c=t+n;x[e+s*4>>2]=c,Sa(a,c),n+=a.length+1}),0},Ta=(e,t)=>{var n=Pe();x[e>>2]=n.length;var a=0;return n.forEach(s=>a+=s.length+1),x[t>>2]=a,0},Ea=e=>e,We=e=>e%4===0&&(e%100!==0||e%400===0),Oa=(e,t)=>{for(var n=0,a=0;a<=t;n+=e[a++]);return n},Vt=[31,29,31,30,31,30,31,31,30,31,30,31],qt=[31,28,31,30,31,30,31,31,30,31,30,31],Ma=(e,t)=>{for(var n=new Date(e.getTime());t>0;){var a=We(n.getFullYear()),s=n.getMonth(),c=(a?Vt:qt)[s];if(t>c-n.getDate())t-=c-n.getDate()+1,n.setDate(1),s<11?n.setMonth(s+1):(n.setMonth(0),n.setFullYear(n.getFullYear()+1));else return n.setDate(n.getDate()+t),n}return n};function Aa(e,t,n){var a=Wt(e)+1,s=new Array(a);return jt(e,s,0,s.length),s}var Da=(e,t)=>{A.set(e,t)},Ra=(e,t,n,a)=>{var s=x[a+40>>2],c={tm_sec:Y[a>>2],tm_min:Y[a+4>>2],tm_hour:Y[a+8>>2],tm_mday:Y[a+12>>2],tm_mon:Y[a+16>>2],tm_year:Y[a+20>>2],tm_wday:Y[a+24>>2],tm_yday:Y[a+28>>2],tm_isdst:Y[a+32>>2],tm_gmtoff:Y[a+36>>2],tm_zone:s?ot(s):""},l=ot(n),f={"%c":"%a %b %d %H:%M:%S %Y","%D":"%m/%d/%y","%F":"%Y-%m-%d","%h":"%b","%r":"%I:%M:%S %p","%R":"%H:%M","%T":"%H:%M:%S","%x":"%m/%d/%y","%X":"%H:%M:%S","%Ec":"%c","%EC":"%C","%Ex":"%m/%d/%y","%EX":"%H:%M:%S","%Ey":"%y","%EY":"%Y","%Od":"%d","%Oe":"%e","%OH":"%H","%OI":"%I","%Om":"%m","%OM":"%M","%OS":"%S","%Ou":"%u","%OU":"%U","%OV":"%V","%Ow":"%w","%OW":"%W","%Oy":"%y"};for(var h in f)l=l.replace(new RegExp(h,"g"),f[h]);var y=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],b=["January","February","March","April","May","June","July","August","September","October","November","December"];function T(v,S,B){for(var G=typeof v=="number"?v.toString():v||"";G.length0?1:0}var G;return(G=B(v.getFullYear()-S.getFullYear()))===0&&(G=B(v.getMonth()-S.getMonth()))===0&&(G=B(v.getDate()-S.getDate())),G}function k(v){switch(v.getDay()){case 0:return new Date(v.getFullYear()-1,11,29);case 1:return v;case 2:return new Date(v.getFullYear(),0,3);case 3:return new Date(v.getFullYear(),0,2);case 4:return new Date(v.getFullYear(),0,1);case 5:return new Date(v.getFullYear()-1,11,31);case 6:return new Date(v.getFullYear()-1,11,30)}}function H(v){var S=Ma(new Date(v.tm_year+1900,0,1),v.tm_yday),B=new Date(S.getFullYear(),0,4),G=new Date(S.getFullYear()+1,0,4),he=k(B),He=k(G);return O(he,S)<=0?O(He,S)<=0?S.getFullYear()+1:S.getFullYear():S.getFullYear()-1}var R={"%a":v=>y[v.tm_wday].substring(0,3),"%A":v=>y[v.tm_wday],"%b":v=>b[v.tm_mon].substring(0,3),"%B":v=>b[v.tm_mon],"%C":v=>{var S=v.tm_year+1900;return E(S/100|0,2)},"%d":v=>E(v.tm_mday,2),"%e":v=>T(v.tm_mday,2," "),"%g":v=>H(v).toString().substring(2),"%G":v=>H(v),"%H":v=>E(v.tm_hour,2),"%I":v=>{var S=v.tm_hour;return S==0?S=12:S>12&&(S-=12),E(S,2)},"%j":v=>E(v.tm_mday+Oa(We(v.tm_year+1900)?Vt:qt,v.tm_mon-1),3),"%m":v=>E(v.tm_mon+1,2),"%M":v=>E(v.tm_min,2),"%n":()=>` -`,"%p":v=>v.tm_hour>=0&&v.tm_hour<12?"AM":"PM","%S":v=>E(v.tm_sec,2),"%t":()=>" ","%u":v=>v.tm_wday||7,"%U":v=>{var S=v.tm_yday+7-v.tm_wday;return E(Math.floor(S/7),2)},"%V":v=>{var S=Math.floor((v.tm_yday+7-(v.tm_wday+6)%7)/7);if((v.tm_wday+371-v.tm_yday-2)%7<=2&&S++,S){if(S==53){var B=(v.tm_wday+371-v.tm_yday)%7;B!=4&&(B!=3||!We(v.tm_year))&&(S=1)}}else{S=52;var G=(v.tm_wday+7-v.tm_yday-1)%7;(G==4||G==5&&We(v.tm_year%400-1))&&S++}return E(S,2)},"%w":v=>v.tm_wday,"%W":v=>{var S=v.tm_yday+7-(v.tm_wday+6)%7;return E(Math.floor(S/7),2)},"%y":v=>(v.tm_year+1900).toString().substring(2),"%Y":v=>v.tm_year+1900,"%z":v=>{var S=v.tm_gmtoff,B=S>=0;return S=Math.abs(S)/60,S=S/60*100+S%60,(B?"+":"-")+("0000"+S).slice(-4)},"%Z":v=>v.tm_zone,"%%":()=>"%"};l=l.replace(/%%/g,"\0\0");for(var h in R)l.includes(h)&&(l=l.replace(new RegExp(h,"g"),R[h](c)));l=l.replace(/\0\0/g,"%");var z=Aa(l);return z.length>t?0:(Da(z,e),z.length-1)},xa=(e,t,n,a,s)=>Ra(e,t,n,a);St=o.InternalError=class extends Error{constructor(e){super(e),this.name="InternalError"}},an(),pe=o.BindingError=class extends Error{constructor(e){super(e),this.name="BindingError"}},yn(),pn(),Pn(),It=o.UnboundTypeError=Mn(Error,"UnboundTypeError"),In(),kn();var Ia={s:zr,u:Yr,b:Qr,g:Xr,q:Kr,J:Zr,f:en,V:tn,d:Jr,da:rn,Q:nn,_:sn,ca:An,ba:Rn,w:xn,Y:Un,x:Wn,h:Ln,L:Bn,M:Vn,t:Gn,o:Nn,K:Jn,C:ra,A:na,ea:aa,$:ia,R:oa,ha:nt,fa:ca,Z:ha,N:ma,O:va,aa:ya,B:ga,X:wa,W:$a,T:Pa,U:Ta,E:Qa,D:Wa,F:Ja,n:Xa,a:Fa,e:Ha,m:ja,k:Va,H:za,v:Ga,G:Ya,z:Za,P:ti,l:Ba,j:La,c:Ua,p:ka,I:Na,r:Ka,i:qa,y:ei,ga:Ea,S:xa},q=Nr(),ae=o._free=e=>(ae=o._free=q.ka)(e),ct=o._malloc=e=>(ct=o._malloc=q.la)(e),Gt=e=>(Gt=q.na)(e),F=(e,t)=>(F=q.oa)(e,t),Te=e=>(Te=q.pa)(e),W=()=>(W=q.qa)(),L=e=>(L=q.ra)(e),Nt=e=>(Nt=q.sa)(e),zt=e=>(zt=q.ta)(e),Yt=(e,t,n)=>(Yt=q.ua)(e,t,n),Jt=e=>(Jt=q.va)(e);o.dynCall_viijii=(e,t,n,a,s,c,l)=>(o.dynCall_viijii=q.wa)(e,t,n,a,s,c,l);var Qt=o.dynCall_jiiii=(e,t,n,a,s)=>(Qt=o.dynCall_jiiii=q.xa)(e,t,n,a,s);o.dynCall_iiiiij=(e,t,n,a,s,c,l)=>(o.dynCall_iiiiij=q.ya)(e,t,n,a,s,c,l),o.dynCall_iiiiijj=(e,t,n,a,s,c,l,f,h)=>(o.dynCall_iiiiijj=q.za)(e,t,n,a,s,c,l,f,h),o.dynCall_iiiiiijj=(e,t,n,a,s,c,l,f,h,y)=>(o.dynCall_iiiiiijj=q.Aa)(e,t,n,a,s,c,l,f,h,y);function Fa(e,t){var n=W();try{return j(e)(t)}catch(a){if(L(n),a!==a+0)throw a;F(1,0)}}function ka(e,t,n,a){var s=W();try{j(e)(t,n,a)}catch(c){if(L(s),c!==c+0)throw c;F(1,0)}}function Ua(e,t,n){var a=W();try{j(e)(t,n)}catch(s){if(L(a),s!==s+0)throw s;F(1,0)}}function ja(e,t,n,a){var s=W();try{return j(e)(t,n,a)}catch(c){if(L(s),c!==c+0)throw c;F(1,0)}}function Wa(e,t,n,a,s){var c=W();try{return j(e)(t,n,a,s)}catch(l){if(L(c),l!==l+0)throw l;F(1,0)}}function La(e,t){var n=W();try{j(e)(t)}catch(a){if(L(n),a!==a+0)throw a;F(1,0)}}function Ha(e,t,n){var a=W();try{return j(e)(t,n)}catch(s){if(L(a),s!==s+0)throw s;F(1,0)}}function Ba(e){var t=W();try{j(e)()}catch(n){if(L(t),n!==n+0)throw n;F(1,0)}}function Va(e,t,n,a,s){var c=W();try{return j(e)(t,n,a,s)}catch(l){if(L(c),l!==l+0)throw l;F(1,0)}}function qa(e,t,n,a,s,c,l,f,h,y,b){var T=W();try{j(e)(t,n,a,s,c,l,f,h,y,b)}catch(E){if(L(T),E!==E+0)throw E;F(1,0)}}function Ga(e,t,n,a,s,c,l){var f=W();try{return j(e)(t,n,a,s,c,l)}catch(h){if(L(f),h!==h+0)throw h;F(1,0)}}function Na(e,t,n,a,s){var c=W();try{j(e)(t,n,a,s)}catch(l){if(L(c),l!==l+0)throw l;F(1,0)}}function za(e,t,n,a,s,c){var l=W();try{return j(e)(t,n,a,s,c)}catch(f){if(L(l),f!==f+0)throw f;F(1,0)}}function Ya(e,t,n,a,s,c,l,f){var h=W();try{return j(e)(t,n,a,s,c,l,f)}catch(y){if(L(h),y!==y+0)throw y;F(1,0)}}function Ja(e,t,n,a){var s=W();try{return j(e)(t,n,a)}catch(c){if(L(s),c!==c+0)throw c;F(1,0)}}function Qa(e,t,n,a){var s=W();try{return j(e)(t,n,a)}catch(c){if(L(s),c!==c+0)throw c;F(1,0)}}function Xa(e){var t=W();try{return j(e)()}catch(n){if(L(t),n!==n+0)throw n;F(1,0)}}function Ka(e,t,n,a,s,c,l,f){var h=W();try{j(e)(t,n,a,s,c,l,f)}catch(y){if(L(h),y!==y+0)throw y;F(1,0)}}function Za(e,t,n,a,s,c,l,f,h,y,b,T){var E=W();try{return j(e)(t,n,a,s,c,l,f,h,y,b,T)}catch(O){if(L(E),O!==O+0)throw O;F(1,0)}}function ei(e,t,n,a,s,c,l,f,h,y,b,T,E,O,k,H){var R=W();try{j(e)(t,n,a,s,c,l,f,h,y,b,T,E,O,k,H)}catch(z){if(L(R),z!==z+0)throw z;F(1,0)}}function ti(e,t,n,a,s){var c=W();try{return Qt(e,t,n,a,s)}catch(l){if(L(c),l!==l+0)throw l;F(1,0)}}var Le;we=function e(){Le||Xt(),Le||(we=e)};function Xt(){if(ue>0||(Fr(),ue>0))return;function e(){Le||(Le=!0,o.calledRun=!0,!V&&(kr(),u(o),o.onRuntimeInitialized&&o.onRuntimeInitialized(),Ur()))}o.setStatus?(o.setStatus("Running..."),setTimeout(function(){setTimeout(function(){o.setStatus("")},1),e()},1)):e()}if(o.preInit)for(typeof o.preInit=="function"&&(o.preInit=[o.preInit]);o.preInit.length>0;)o.preInit.pop()();return Xt(),i.ready}})();function Fi(r){return dt(ft,r)}async function ki(r,i){return xi(ft,r,i)}async function Ui(r,i){return Ii(ft,r,i)}var Ee;class pt extends EventTarget{constructor(i={}){var o;super(),ci(this,Ee,void 0);try{const u=(o=i==null?void 0:i.formats)==null?void 0:o.filter(d=>d!=="unknown");if((u==null?void 0:u.length)===0)throw new TypeError("Hint option provided, but is empty.");u==null||u.forEach(d=>{if(!Be.has(d))throw new TypeError(`Failed to read the 'formats' property from 'BarcodeDetectorOptions': The provided value '${d}' is not a valid enum value of type BarcodeFormat.`)}),li(this,Ee,u??[]),Fi().then(d=>{this.dispatchEvent(new CustomEvent("load",{detail:d}))}).catch(d=>{this.dispatchEvent(new CustomEvent("error",{detail:d}))})}catch(u){throw tr(u,"Failed to construct 'BarcodeDetector'")}}static async getSupportedFormats(){return di.filter(i=>i!=="unknown")}async detect(i){try{const o=await gi(i);if(o===null)return[];let u;try{wr(o)?u=await ki(o,{tryHarder:!0,formats:er(this,Ee).map(d=>Be.get(d))}):u=await Ui(o,{tryHarder:!0,formats:er(this,Ee).map(d=>Be.get(d))})}catch(d){throw console.error(d),new DOMException("Barcode detection service unavailable.","NotSupportedError")}return u.map(d=>{const{topLeft:{x:p,y:g},topRight:{x:w,y:_},bottomLeft:{x:m,y:$},bottomRight:{x:P,y:C}}=d.position,U=Math.min(p,w,m,P),I=Math.min(g,_,$,C),V=Math.max(p,w,m,P),A=Math.max(g,_,$,C);return{boundingBox:new DOMRectReadOnly(U,I,V-U,A-I),rawValue:d.text,format:fi(d.format),cornerPoints:[{x:p,y:g},{x:w,y:_},{x:P,y:C},{x:m,y:$}]}})}catch(o){throw tr(o,"Failed to execute 'detect' on 'BarcodeDetector'")}}}Ee=new WeakMap;const ht=(r,i,o="error")=>{let u,d;const p=new Promise((g,w)=>{u=g,d=w,r.addEventListener(i,u),r.addEventListener(o,d)});return p.finally(()=>{r.removeEventListener(i,u),r.removeEventListener(o,d)}),p},ir=r=>new Promise(i=>setTimeout(i,r));class ji extends Error{constructor(){super("can't process cross-origin image"),this.name="DropImageFetchError"}}class _r extends Error{constructor(){super("this browser has no Stream API support"),this.name="StreamApiNotSupportedError"}}class Wi extends Error{constructor(){super("camera access is only permitted in secure context. Use HTTPS or localhost rather than HTTP."),this.name="InsecureContextError"}}class Li extends Error{constructor(){super("Loading camera stream timed out after 6 seconds. If you are on iOS in PWA mode, this is a known issue (see https://github.com/gruhn/vue-qrcode-reader/issues/298)"),this.name="StreamLoadTimeoutError"}}let lt;function Hi(r){window.BarcodeDetector===void 0?(console.debug("[vue-qrcode-reader] BarcodeDetector not available: will use polyfill."),lt=new pt({formats:r})):(console.debug("[vue-qrcode-reader] BarcodeDetector available: will use native API."),lt=new window.BarcodeDetector({formats:r}))}const _o=async(r,{detectHandler:i,locateHandler:o,minDelay:u,formats:d})=>{console.debug("[vue-qrcode-reader] start scanning"),Hi(d);const p=g=>async w=>{if(r.readyState===0)console.debug("[vue-qrcode-reader] stop scanning: video element readyState is 0");else{const{lastScanned:_,contentBefore:m,lastScanHadContent:$}=g;if(w-_!m.includes(V.rawValue));C&&i(P);const U=P.length>0;U&&o(P),!U&&$&&o(P);const I={lastScanned:w,lastScanHadContent:U,contentBefore:C?P.map(V=>V.rawValue):m};window.requestAnimationFrame(p(I))}}};p({lastScanned:performance.now(),contentBefore:[],lastScanHadContent:!1})(performance.now())},Bi=async r=>{if(r.startsWith("http")&&r.includes(location.host)===!1)throw new ji;const i=document.createElement("img");return i.src=r,await ht(i,"load"),i},So=async(r,i=["qr_code"])=>await new pt({formats:i}).detect(r),Po=async(r,i=["qr_code"])=>{const o=new pt({formats:i}),u=await Bi(r);return await o.detect(u)};var Sr={},J={};Object.defineProperty(J,"__esModule",{value:!0});J.compactObject=Er;J.deprecated=Xi;var Vi=J.detectBrowser=Ki;J.disableLog=Yi;J.disableWarnings=Ji;J.extractVersion=Ve;J.filterStats=Zi;J.log=Qi;J.walkStats=qe;J.wrapPeerConnectionEvent=zi;function qi(r,i,o){return i=Gi(i),i in r?Object.defineProperty(r,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[i]=o,r}function Gi(r){var i=Ni(r,"string");return oe(i)==="symbol"?i:String(i)}function Ni(r,i){if(oe(r)!=="object"||r===null)return r;var o=r[Symbol.toPrimitive];if(o!==void 0){var u=o.call(r,i||"default");if(oe(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return(i==="string"?String:Number)(r)}function oe(r){"@babel/helpers - typeof";return oe=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},oe(r)}var Pr=!0,Tr=!0;function Ve(r,i,o){var u=r.match(i);return u&&u.length>=o&&parseInt(u[o],10)}function zi(r,i,o){if(r.RTCPeerConnection){var u=r.RTCPeerConnection.prototype,d=u.addEventListener;u.addEventListener=function(g,w){if(g!==i)return d.apply(this,arguments);var _=function($){var P=o($);P&&(w.handleEvent?w.handleEvent(P):w(P))};return this._eventMap=this._eventMap||{},this._eventMap[i]||(this._eventMap[i]=new Map),this._eventMap[i].set(w,_),d.apply(this,[g,_])};var p=u.removeEventListener;u.removeEventListener=function(g,w){if(g!==i||!this._eventMap||!this._eventMap[i])return p.apply(this,arguments);if(!this._eventMap[i].has(w))return p.apply(this,arguments);var _=this._eventMap[i].get(w);return this._eventMap[i].delete(w),this._eventMap[i].size===0&&delete this._eventMap[i],Object.keys(this._eventMap).length===0&&delete this._eventMap,p.apply(this,[g,_])},Object.defineProperty(u,"on"+i,{get:function(){return this["_on"+i]},set:function(w){this["_on"+i]&&(this.removeEventListener(i,this["_on"+i]),delete this["_on"+i]),w&&this.addEventListener(i,this["_on"+i]=w)},enumerable:!0,configurable:!0})}}function Yi(r){return typeof r!="boolean"?new Error("Argument type: "+oe(r)+". Please use a boolean."):(Pr=r,r?"adapter.js logging disabled":"adapter.js logging enabled")}function Ji(r){return typeof r!="boolean"?new Error("Argument type: "+oe(r)+". Please use a boolean."):(Tr=!r,"adapter.js deprecation warnings "+(r?"disabled":"enabled"))}function Qi(){if((typeof window>"u"?"undefined":oe(window))==="object"){if(Pr)return;typeof console<"u"&&typeof console.log=="function"&&console.log.apply(console,arguments)}}function Xi(r,i){Tr&&console.warn(r+" is deprecated, please use "+i+" instead.")}function Ki(r){var i={browser:null,version:null};if(typeof r>"u"||!r.navigator||!r.navigator.userAgent)return i.browser="Not a browser.",i;var o=r.navigator;if(o.mozGetUserMedia)i.browser="firefox",i.version=Ve(o.userAgent,/Firefox\/(\d+)\./,1);else if(o.webkitGetUserMedia||r.isSecureContext===!1&&r.webkitRTCPeerConnection)i.browser="chrome",i.version=Ve(o.userAgent,/Chrom(e|ium)\/(\d+)\./,2);else if(r.RTCPeerConnection&&o.userAgent.match(/AppleWebKit\/(\d+)\./))i.browser="safari",i.version=Ve(o.userAgent,/AppleWebKit\/(\d+)\./,1),i.supportsUnifiedPlan=r.RTCRtpTransceiver&&"currentDirection"in r.RTCRtpTransceiver.prototype;else return i.browser="Not a supported browser.",i;return i}function or(r){return Object.prototype.toString.call(r)==="[object Object]"}function Er(r){return or(r)?Object.keys(r).reduce(function(i,o){var u=or(r[o]),d=u?Er(r[o]):r[o],p=u&&!Object.keys(d).length;return d===void 0||p?i:Object.assign(i,qi({},o,d))},{}):r}function qe(r,i,o){!i||o.has(i.id)||(o.set(i.id,i),Object.keys(i).forEach(function(u){u.endsWith("Id")?qe(r,r.get(i[u]),o):u.endsWith("Ids")&&i[u].forEach(function(d){qe(r,r.get(d),o)})}))}function Zi(r,i,o){var u=o?"outbound-rtp":"inbound-rtp",d=new Map;if(i===null)return d;var p=[];return r.forEach(function(g){g.type==="track"&&g.trackIdentifier===i.id&&p.push(g)}),p.forEach(function(g){r.forEach(function(w){w.type===u&&w.trackId===g.id&&qe(r,w,d)})}),d}Object.defineProperty(Sr,"__esModule",{value:!0});var eo=Sr.shimGetUserMedia=no,to=ro(J);function Or(r){if(typeof WeakMap!="function")return null;var i=new WeakMap,o=new WeakMap;return(Or=function(d){return d?o:i})(r)}function ro(r,i){if(r&&r.__esModule)return r;if(r===null||ie(r)!=="object"&&typeof r!="function")return{default:r};var o=Or(i);if(o&&o.has(r))return o.get(r);var u={},d=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var p in r)if(p!=="default"&&Object.prototype.hasOwnProperty.call(r,p)){var g=d?Object.getOwnPropertyDescriptor(r,p):null;g&&(g.get||g.set)?Object.defineProperty(u,p,g):u[p]=r[p]}return u.default=r,o&&o.set(r,u),u}function ie(r){"@babel/helpers - typeof";return ie=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},ie(r)}var sr=to.log;function no(r,i){var o=r&&r.navigator;if(o.mediaDevices){var u=function(m){if(ie(m)!=="object"||m.mandatory||m.optional)return m;var $={};return Object.keys(m).forEach(function(P){if(!(P==="require"||P==="advanced"||P==="mediaSource")){var C=ie(m[P])==="object"?m[P]:{ideal:m[P]};C.exact!==void 0&&typeof C.exact=="number"&&(C.min=C.max=C.exact);var U=function(A,D){return A?A+D.charAt(0).toUpperCase()+D.slice(1):D==="deviceId"?"sourceId":D};if(C.ideal!==void 0){$.optional=$.optional||[];var I={};typeof C.ideal=="number"?(I[U("min",P)]=C.ideal,$.optional.push(I),I={},I[U("max",P)]=C.ideal,$.optional.push(I)):(I[U("",P)]=C.ideal,$.optional.push(I))}C.exact!==void 0&&typeof C.exact!="number"?($.mandatory=$.mandatory||{},$.mandatory[U("",P)]=C.exact):["min","max"].forEach(function(V){C[V]!==void 0&&($.mandatory=$.mandatory||{},$.mandatory[U(V,P)]=C[V])})}}),m.advanced&&($.optional=($.optional||[]).concat(m.advanced)),$},d=function(m,$){if(i.version>=61)return $(m);if(m=JSON.parse(JSON.stringify(m)),m&&ie(m.audio)==="object"){var P=function(A,D,X){D in A&&!(X in A)&&(A[X]=A[D],delete A[D])};m=JSON.parse(JSON.stringify(m)),P(m.audio,"autoGainControl","googAutoGainControl"),P(m.audio,"noiseSuppression","googNoiseSuppression"),m.audio=u(m.audio)}if(m&&ie(m.video)==="object"){var C=m.video.facingMode;C=C&&(ie(C)==="object"?C:{ideal:C});var U=i.version<66;if(C&&(C.exact==="user"||C.exact==="environment"||C.ideal==="user"||C.ideal==="environment")&&!(o.mediaDevices.getSupportedConstraints&&o.mediaDevices.getSupportedConstraints().facingMode&&!U)){delete m.video.facingMode;var I;if(C.exact==="environment"||C.ideal==="environment"?I=["back","rear"]:(C.exact==="user"||C.ideal==="user")&&(I=["front"]),I)return o.mediaDevices.enumerateDevices().then(function(V){V=V.filter(function(D){return D.kind==="videoinput"});var A=V.find(function(D){return I.some(function(X){return D.label.toLowerCase().includes(X)})});return!A&&V.length&&I.includes("back")&&(A=V[V.length-1]),A&&(m.video.deviceId=C.exact?{exact:A.deviceId}:{ideal:A.deviceId}),m.video=u(m.video),sr("chrome: "+JSON.stringify(m)),$(m)})}m.video=u(m.video)}return sr("chrome: "+JSON.stringify(m)),$(m)},p=function(m){return i.version>=64?m:{name:{PermissionDeniedError:"NotAllowedError",PermissionDismissedError:"NotAllowedError",InvalidStateError:"NotAllowedError",DevicesNotFoundError:"NotFoundError",ConstraintNotSatisfiedError:"OverconstrainedError",TrackStartError:"NotReadableError",MediaDeviceFailedDueToShutdown:"NotAllowedError",MediaDeviceKillSwitchOn:"NotAllowedError",TabCaptureError:"AbortError",ScreenCaptureError:"AbortError",DeviceCaptureError:"AbortError"}[m.name]||m.name,message:m.message,constraint:m.constraint||m.constraintName,toString:function(){return this.name+(this.message&&": ")+this.message}}},g=function(m,$,P){d(m,function(C){o.webkitGetUserMedia(C,$,function(U){P&&P(p(U))})})};if(o.getUserMedia=g.bind(o),o.mediaDevices.getUserMedia){var w=o.mediaDevices.getUserMedia.bind(o.mediaDevices);o.mediaDevices.getUserMedia=function(_){return d(_,function(m){return w(m).then(function($){if(m.audio&&!$.getAudioTracks().length||m.video&&!$.getVideoTracks().length)throw $.getTracks().forEach(function(P){P.stop()}),new DOMException("","NotFoundError");return $},function($){return Promise.reject(p($))})})}}}}var Mr={};Object.defineProperty(Mr,"__esModule",{value:!0});var ao=Mr.shimGetUserMedia=so,io=oo(J);function Ar(r){if(typeof WeakMap!="function")return null;var i=new WeakMap,o=new WeakMap;return(Ar=function(d){return d?o:i})(r)}function oo(r,i){if(r&&r.__esModule)return r;if(r===null||me(r)!=="object"&&typeof r!="function")return{default:r};var o=Ar(i);if(o&&o.has(r))return o.get(r);var u={},d=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var p in r)if(p!=="default"&&Object.prototype.hasOwnProperty.call(r,p)){var g=d?Object.getOwnPropertyDescriptor(r,p):null;g&&(g.get||g.set)?Object.defineProperty(u,p,g):u[p]=r[p]}return u.default=r,o&&o.set(r,u),u}function me(r){"@babel/helpers - typeof";return me=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},me(r)}function so(r,i){var o=r&&r.navigator,u=r&&r.MediaStreamTrack;if(o.getUserMedia=function(_,m,$){io.deprecated("navigator.getUserMedia","navigator.mediaDevices.getUserMedia"),o.mediaDevices.getUserMedia(_).then(m,$)},!(i.version>55&&"autoGainControl"in o.mediaDevices.getSupportedConstraints())){var d=function(m,$,P){$ in m&&!(P in m)&&(m[P]=m[$],delete m[$])},p=o.mediaDevices.getUserMedia.bind(o.mediaDevices);if(o.mediaDevices.getUserMedia=function(_){return me(_)==="object"&&me(_.audio)==="object"&&(_=JSON.parse(JSON.stringify(_)),d(_.audio,"autoGainControl","mozAutoGainControl"),d(_.audio,"noiseSuppression","mozNoiseSuppression")),p(_)},u&&u.prototype.getSettings){var g=u.prototype.getSettings;u.prototype.getSettings=function(){var _=g.apply(this,arguments);return d(_,"mozAutoGainControl","autoGainControl"),d(_,"mozNoiseSuppression","noiseSuppression"),_}}if(u&&u.prototype.applyConstraints){var w=u.prototype.applyConstraints;u.prototype.applyConstraints=function(_){return this.kind==="audio"&&me(_)==="object"&&(_=JSON.parse(JSON.stringify(_)),d(_,"autoGainControl","mozAutoGainControl"),d(_,"noiseSuppression","mozNoiseSuppression")),w.apply(this,[_])}}}}var te={};Object.defineProperty(te,"__esModule",{value:!0});te.shimAudioContext=go;te.shimCallbacksAPI=po;te.shimConstraints=xr;te.shimCreateOfferLegacy=yo;var uo=te.shimGetUserMedia=ho;te.shimLocalStreamsAPI=lo;te.shimRTCIceServerUrls=mo;te.shimRemoteStreamsAPI=fo;te.shimTrackEventTransceiver=vo;var Dr=co(J);function Rr(r){if(typeof WeakMap!="function")return null;var i=new WeakMap,o=new WeakMap;return(Rr=function(d){return d?o:i})(r)}function co(r,i){if(r&&r.__esModule)return r;if(r===null||se(r)!=="object"&&typeof r!="function")return{default:r};var o=Rr(i);if(o&&o.has(r))return o.get(r);var u={},d=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var p in r)if(p!=="default"&&Object.prototype.hasOwnProperty.call(r,p)){var g=d?Object.getOwnPropertyDescriptor(r,p):null;g&&(g.get||g.set)?Object.defineProperty(u,p,g):u[p]=r[p]}return u.default=r,o&&o.set(r,u),u}function se(r){"@babel/helpers - typeof";return se=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},se(r)}function lo(r){if(!(se(r)!=="object"||!r.RTCPeerConnection)){if("getLocalStreams"in r.RTCPeerConnection.prototype||(r.RTCPeerConnection.prototype.getLocalStreams=function(){return this._localStreams||(this._localStreams=[]),this._localStreams}),!("addStream"in r.RTCPeerConnection.prototype)){var i=r.RTCPeerConnection.prototype.addTrack;r.RTCPeerConnection.prototype.addStream=function(u){var d=this;this._localStreams||(this._localStreams=[]),this._localStreams.includes(u)||this._localStreams.push(u),u.getAudioTracks().forEach(function(p){return i.call(d,p,u)}),u.getVideoTracks().forEach(function(p){return i.call(d,p,u)})},r.RTCPeerConnection.prototype.addTrack=function(u){for(var d=this,p=arguments.length,g=new Array(p>1?p-1:0),w=1;w=0)){u._remoteStreams.push(p);var g=new Event("addstream");g.stream=p,u.dispatchEvent(g)}})}),i.apply(u,arguments)}}}function po(r){if(!(se(r)!=="object"||!r.RTCPeerConnection)){var i=r.RTCPeerConnection.prototype,o=i.createOffer,u=i.createAnswer,d=i.setLocalDescription,p=i.setRemoteDescription,g=i.addIceCandidate;i.createOffer=function(m,$){var P=arguments.length>=2?arguments[2]:arguments[0],C=o.apply(this,[P]);return $?(C.then(m,$),Promise.resolve()):C},i.createAnswer=function(m,$){var P=arguments.length>=2?arguments[2]:arguments[0],C=u.apply(this,[P]);return $?(C.then(m,$),Promise.resolve()):C};var w=function(m,$,P){var C=d.apply(this,[m]);return P?(C.then($,P),Promise.resolve()):C};i.setLocalDescription=w,w=function(m,$,P){var C=p.apply(this,[m]);return P?(C.then($,P),Promise.resolve()):C},i.setRemoteDescription=w,w=function(m,$,P){var C=g.apply(this,[m]);return P?(C.then($,P),Promise.resolve()):C},i.addIceCandidate=w}}function ho(r){var i=r&&r.navigator;if(i.mediaDevices&&i.mediaDevices.getUserMedia){var o=i.mediaDevices,u=o.getUserMedia.bind(o);i.mediaDevices.getUserMedia=function(d){return u(xr(d))}}!i.getUserMedia&&i.mediaDevices&&i.mediaDevices.getUserMedia&&(i.getUserMedia=(function(p,g,w){i.mediaDevices.getUserMedia(p).then(g,w)}).bind(i))}function xr(r){return r&&r.video!==void 0?Object.assign({},r,{video:Dr.compactObject(r.video)}):r}function mo(r){if(r.RTCPeerConnection){var i=r.RTCPeerConnection;r.RTCPeerConnection=function(u,d){if(u&&u.iceServers){for(var p=[],g=0;g{let i=!1,o;return(...u)=>(i||(o=r(u),i=!0),o)};function To(r,i){if(r===!1)throw new Error(i??"assertion failure")}function ur(r){throw new Error("this code should be unreachable")}const bo=wo(()=>{const r=Vi(window);switch(r.browser){case"chrome":eo(window,r);break;case"firefox":ao(window,r);break;case"safari":uo(window,r);break;default:throw new _r}});let ve=Promise.resolve({type:"stop",data:{}});async function cr(r,i,o){var w,_;if(console.debug("[vue-qrcode-reader] starting camera with constraints: ",JSON.stringify(i)),window.isSecureContext!==!0)throw new Wi;if(((w=navigator==null?void 0:navigator.mediaDevices)==null?void 0:w.getUserMedia)===void 0)throw new _r;bo(),console.debug("[vue-qrcode-reader] calling getUserMedia");const u=await navigator.mediaDevices.getUserMedia({audio:!1,video:i});r.srcObject!==void 0?r.srcObject=u:r.mozSrcObject!==void 0?r.mozSrcObject=u:window.URL.createObjectURL?r.src=window.URL.createObjectURL(u):window.webkitURL?r.src=window.webkitURL.createObjectURL(u):r.src=u.id,r.play(),console.debug("[vue-qrcode-reader] waiting for video element to load"),await Promise.race([ht(r,"loadeddata"),ir(6e3).then(()=>{throw new Li})]),console.debug("[vue-qrcode-reader] video element loaded"),await ir(500);const[d]=u.getVideoTracks(),p=((_=d==null?void 0:d.getCapabilities)==null?void 0:_.call(d))??{};let g=!1;return o&&p.torch&&(await d.applyConstraints({advanced:[{torch:!0}]}),g=!0),console.debug("[vue-qrcode-reader] camera ready"),{type:"start",data:{videoEl:r,stream:u,capabilities:p,constraints:i,isTorchOn:g}}}async function Eo(r,{constraints:i,torch:o,restart:u=!1}){ve=ve.then(p=>{if(p.type==="start"){const{data:{videoEl:g,stream:w,constraints:_,isTorchOn:m}}=p;return!u&&r===g&&i===_&&o===m?p:Ir(g,w,m).then(()=>cr(r,i,o))}else if(p.type==="stop"||p.type==="failed")return cr(r,i,o);ur()}).catch(p=>(console.debug(`[vue-qrcode-reader] starting camera failed with "${p}"`),{type:"failed",error:p}));const d=await ve;if(d.type==="stop")throw new Error("Something went wrong with the camera task queue (start task).");if(d.type==="failed")throw d.error;if(d.type==="start")return d.data.capabilities;ur()}async function Ir(r,i,o){console.debug("[vue-qrcode-reader] stopping camera"),r.src="",r.srcObject=null,r.load(),await ht(r,"error");for(const u of i.getTracks())o??await u.applyConstraints({advanced:[{torch:!1}]}),i.removeTrack(u),u.stop();return{type:"stop",data:{}}}async function Oo(){if(ve=ve.then(i=>{if(i.type==="stop"||i.type==="failed")return i;const{data:{videoEl:o,stream:u,isTorchOn:d}}=i;return Ir(o,u,d)}),(await ve).type==="start")throw new Error("Something went wrong with the camera task queue (stop task).")}export{$o as _,Po as a,To as b,Eo as c,Hi as d,_o as k,So as p,Oo as s}; diff --git a/assets/chunks/camera.Y0ohPhsl.js b/assets/chunks/camera.Y0ohPhsl.js new file mode 100644 index 00000000..6bd598a6 --- /dev/null +++ b/assets/chunks/camera.Y0ohPhsl.js @@ -0,0 +1,3 @@ +import{d as ri,h as ni,j as ai,a9 as ii,o as oi,b as si,J as ui}from"./framework.BwCxet3-.js";const _o=ri({__name:"DemoWrapper",props:{component:Object},setup(r){const o=r,i=ni();return ai(()=>{o.component&&(i.value=ii(o.component))}),(u,d)=>(oi(),si(ui(i.value)))}});var cr=(r,o,i)=>{if(!o.has(r))throw TypeError("Cannot "+i)},Zt=(r,o,i)=>(cr(r,o,"read from private field"),i?i.call(r):o.get(r)),ci=(r,o,i)=>{if(o.has(r))throw TypeError("Cannot add the same private member more than once");o instanceof WeakSet?o.add(r):o.set(r,i)},li=(r,o,i,u)=>(cr(r,o,"write to private field"),o.set(r,i),i);const lr=[["aztec","Aztec"],["code_128","Code128"],["code_39","Code39"],["code_93","Code93"],["codabar","Codabar"],["databar","DataBar"],["databar_expanded","DataBarExpanded"],["data_matrix","DataMatrix"],["dx_film_edge","DXFilmEdge"],["ean_13","EAN-13"],["ean_8","EAN-8"],["itf","ITF"],["maxi_code","MaxiCode"],["micro_qr_code","MicroQRCode"],["pdf417","PDF417"],["qr_code","QRCode"],["rm_qr_code","rMQRCode"],["upc_a","UPC-A"],["upc_e","UPC-E"],["linear_codes","Linear-Codes"],["matrix_codes","Matrix-Codes"]],di=[...lr,["unknown"]].map(r=>r[0]),He=new Map(lr);function fi(r){for(const[o,i]of He)if(r===i)return o;return"unknown"}function pi(r){if(dr(r))return{width:r.naturalWidth,height:r.naturalHeight};if(fr(r))return{width:r.width.baseVal.value,height:r.height.baseVal.value};if(pr(r))return{width:r.videoWidth,height:r.videoHeight};if(mr(r))return{width:r.width,height:r.height};if(yr(r))return{width:r.displayWidth,height:r.displayHeight};if(hr(r))return{width:r.width,height:r.height};if(vr(r))return{width:r.width,height:r.height};throw new TypeError("The provided value is not of type '(Blob or HTMLCanvasElement or HTMLImageElement or HTMLVideoElement or ImageBitmap or ImageData or OffscreenCanvas or SVGImageElement or VideoFrame)'.")}function dr(r){try{return r instanceof HTMLImageElement}catch{return!1}}function fr(r){try{return r instanceof SVGImageElement}catch{return!1}}function pr(r){try{return r instanceof HTMLVideoElement}catch{return!1}}function hr(r){try{return r instanceof HTMLCanvasElement}catch{return!1}}function mr(r){try{return r instanceof ImageBitmap}catch{return!1}}function vr(r){try{return r instanceof OffscreenCanvas}catch{return!1}}function yr(r){try{return r instanceof VideoFrame}catch{return!1}}function gr(r){try{return r instanceof Blob}catch{return!1}}function hi(r){try{return r instanceof ImageData}catch{return!1}}function mi(r,o){try{const i=new OffscreenCanvas(r,o);if(i.getContext("2d")instanceof OffscreenCanvasRenderingContext2D)return i;throw void 0}catch{const i=document.createElement("canvas");return i.width=r,i.height=o,i}}async function wr(r){if(dr(r)&&!await wi(r))throw new DOMException("Failed to load or decode HTMLImageElement.","InvalidStateError");if(fr(r)&&!await bi(r))throw new DOMException("Failed to load or decode SVGImageElement.","InvalidStateError");if(yr(r)&&Ci(r))throw new DOMException("VideoFrame is closed.","InvalidStateError");if(pr(r)&&(r.readyState===0||r.readyState===1))throw new DOMException("Invalid element or state.","InvalidStateError");if(mr(r)&&_i(r))throw new DOMException("The image source is detached.","InvalidStateError");const{width:o,height:i}=pi(r);if(o===0||i===0)return null;const u=mi(o,i).getContext("2d");u.drawImage(r,0,0);try{return u.getImageData(0,0,o,i)}catch{throw new DOMException("Source would taint origin.","SecurityError")}}async function vi(r){let o;try{if(globalThis.createImageBitmap)o=await createImageBitmap(r);else if(globalThis.Image){o=new Image;let i="";try{i=URL.createObjectURL(r),o.src=i,await o.decode()}finally{URL.revokeObjectURL(i)}}else return r}catch{throw new DOMException("Failed to load or decode Blob.","InvalidStateError")}return await wr(o)}function yi(r){const{width:o,height:i}=r;if(o===0||i===0)return null;const u=r.getContext("2d");try{return u.getImageData(0,0,o,i)}catch{throw new DOMException("Source would taint origin.","SecurityError")}}async function gi(r){if(gr(r))return await vi(r);if(hi(r)){if($i(r))throw new DOMException("The image data has been detached.","InvalidStateError");return r}return hr(r)||vr(r)?yi(r):await wr(r)}async function wi(r){try{return await r.decode(),!0}catch{return!1}}async function bi(r){var o;try{return await((o=r.decode)==null?void 0:o.call(r)),!0}catch{return!1}}function Ci(r){return r.format===null}function $i(r){return r.data.buffer.byteLength===0}function _i(r){return r.width===0&&r.height===0}function er(r,o){return r instanceof DOMException?new DOMException(`${o}: ${r.message}`,r.name):r instanceof Error?new r.constructor(`${o}: ${r.message}`):new Error(`${o}: ${r}`)}const tr=["Aztec","Codabar","Code128","Code39","Code93","DataBar","DataBarExpanded","DataMatrix","DXFilmEdge","EAN-13","EAN-8","ITF","Linear-Codes","Matrix-Codes","MaxiCode","MicroQRCode","None","PDF417","QRCode","rMQRCode","UPC-A","UPC-E"];function Si(r){return r.join("|")}function Pi(r){const o=rr(r);let i=0,u=tr.length-1;for(;i<=u;){const d=Math.floor((i+u)/2),p=tr[d],g=rr(p);if(g===o)return p;g{const i=r.match(/_(.+?)\.wasm$/);return i?`https://fastly.jsdelivr.net/npm/zxing-wasm@1.1.3/dist/${i[1]}/${r}`:o+r}};let nr=new WeakMap;function dt(r,o){var i;const u=nr.get(r);if(u!=null&&u.modulePromise&&o===void 0)return u.modulePromise;const d=(i=u==null?void 0:u.moduleOverrides)!=null?i:Ri,p=r({...d});return nr.set(r,{moduleOverrides:d,modulePromise:p}),p}async function xi(r,o,i=ye){const u={...ye,...i},d=await dt(r),{size:p}=o,g=new Uint8Array(await o.arrayBuffer()),w=d._malloc(p);d.HEAPU8.set(g,w);const _=d.readBarcodesFromImage(w,p,br(d,u));d._free(w);const m=[];for(let $=0;$<_.size();++$)m.push(Cr(_.get($)));return m}async function Ii(r,o,i=ye){const u={...ye,...i},d=await dt(r),{data:p,width:g,height:w,data:{byteLength:_}}=o,m=d._malloc(_);d.HEAPU8.set(p,m);const $=d.readBarcodesFromPixmap(m,g,w,br(d,u));d._free(m);const P=[];for(let C=0;C<$.size();++C)P.push(Cr($.get(C)));return P}({...ye,formats:[...ye.formats]});var ft=(()=>{var r=typeof document<"u"&&document.currentScript?document.currentScript.src:void 0;return function(o={}){var i=o,u,d;i.ready=new Promise((e,t)=>{u=e,d=t});var p=Object.assign({},i),g="./this.program",w=typeof window=="object",_=typeof importScripts=="function";typeof process=="object"&&typeof process.versions=="object"&&process.versions.node;var m="";function $(e){return i.locateFile?i.locateFile(e,m):m+e}var P;(w||_)&&(_?m=self.location.href:typeof document<"u"&&document.currentScript&&(m=document.currentScript.src),r&&(m=r),m.indexOf("blob:")!==0?m=m.substr(0,m.replace(/[?#].*/,"").lastIndexOf("/")+1):m="",_&&(P=e=>{var t=new XMLHttpRequest;return t.open("GET",e,!1),t.responseType="arraybuffer",t.send(null),new Uint8Array(t.response)})),i.print||console.log.bind(console);var C=i.printErr||console.error.bind(console);Object.assign(i,p),p=null,i.arguments&&i.arguments,i.thisProgram&&(g=i.thisProgram),i.quit&&i.quit;var U;i.wasmBinary&&(U=i.wasmBinary),typeof WebAssembly!="object"&&Oe("no native wasm support detected");var I,V=!1,A,D,X,ge,Y,x,ht,mt;function vt(){var e=I.buffer;i.HEAP8=A=new Int8Array(e),i.HEAP16=X=new Int16Array(e),i.HEAPU8=D=new Uint8Array(e),i.HEAPU16=ge=new Uint16Array(e),i.HEAP32=Y=new Int32Array(e),i.HEAPU32=x=new Uint32Array(e),i.HEAPF32=ht=new Float32Array(e),i.HEAPF64=mt=new Float64Array(e)}var yt=[],gt=[],wt=[];function Fr(){if(i.preRun)for(typeof i.preRun=="function"&&(i.preRun=[i.preRun]);i.preRun.length;)jr(i.preRun.shift());Ge(yt)}function kr(){Ge(gt)}function Ur(){if(i.postRun)for(typeof i.postRun=="function"&&(i.postRun=[i.postRun]);i.postRun.length;)Lr(i.postRun.shift());Ge(wt)}function jr(e){yt.unshift(e)}function Wr(e){gt.unshift(e)}function Lr(e){wt.unshift(e)}var ue=0,we=null;function Br(e){var t;ue++,(t=i.monitorRunDependencies)===null||t===void 0||t.call(i,ue)}function Hr(e){var t;if(ue--,(t=i.monitorRunDependencies)===null||t===void 0||t.call(i,ue),ue==0&&we){var n=we;we=null,n()}}function Oe(e){var t;(t=i.onAbort)===null||t===void 0||t.call(i,e),e="Aborted("+e+")",C(e),V=!0,e+=". Build with -sASSERTIONS for more info.";var n=new WebAssembly.RuntimeError(e);throw d(n),n}var Vr="data:application/octet-stream;base64,",bt=e=>e.startsWith(Vr),de;de="zxing_reader.wasm",bt(de)||(de=$(de));function Ct(e){if(e==de&&U)return new Uint8Array(U);if(P)return P(e);throw"both async and sync fetching of the wasm failed"}function qr(e){return!U&&(w||_)&&typeof fetch=="function"?fetch(e,{credentials:"same-origin"}).then(t=>{if(!t.ok)throw"failed to load wasm binary file at '"+e+"'";return t.arrayBuffer()}).catch(()=>Ct(e)):Promise.resolve().then(()=>Ct(e))}function $t(e,t,n){return qr(e).then(a=>WebAssembly.instantiate(a,t)).then(a=>a).then(n,a=>{C(`failed to asynchronously prepare wasm: ${a}`),Oe(a)})}function Nr(e,t,n,a){return!e&&typeof WebAssembly.instantiateStreaming=="function"&&!bt(t)&&typeof fetch=="function"?fetch(t,{credentials:"same-origin"}).then(s=>{var c=WebAssembly.instantiateStreaming(s,n);return c.then(a,function(l){return C(`wasm streaming compile failed: ${l}`),C("falling back to ArrayBuffer instantiation"),$t(t,n,a)})}):$t(t,n,a)}function Gr(){var e={a:Ia};function t(a,s){return q=a.exports,I=q.ia,vt(),Rt=q.ma,Wr(q.ja),Hr(),q}Br();function n(a){t(a.instance)}if(i.instantiateWasm)try{return i.instantiateWasm(e,t)}catch(a){C(`Module.instantiateWasm callback failed with error: ${a}`),d(a)}return Nr(U,de,e,n).catch(d),{}}var Ge=e=>{for(;e.length>0;)e.shift()(i)};i.noExitRuntime;var Me=[],Ae=0,zr=e=>{var t=new ze(e);return t.get_caught()||(t.set_caught(!0),Ae--),t.set_rethrown(!1),Me.push(t),Gt(t.excPtr),t.get_exception_ptr()},re=0,Yr=()=>{F(0,0);var e=Me.pop();Nt(e.excPtr),re=0};function ze(e){this.excPtr=e,this.ptr=e-24,this.set_type=function(t){x[this.ptr+4>>2]=t},this.get_type=function(){return x[this.ptr+4>>2]},this.set_destructor=function(t){x[this.ptr+8>>2]=t},this.get_destructor=function(){return x[this.ptr+8>>2]},this.set_caught=function(t){t=t?1:0,A[this.ptr+12>>0]=t},this.get_caught=function(){return A[this.ptr+12>>0]!=0},this.set_rethrown=function(t){t=t?1:0,A[this.ptr+13>>0]=t},this.get_rethrown=function(){return A[this.ptr+13>>0]!=0},this.init=function(t,n){this.set_adjusted_ptr(0),this.set_type(t),this.set_destructor(n)},this.set_adjusted_ptr=function(t){x[this.ptr+16>>2]=t},this.get_adjusted_ptr=function(){return x[this.ptr+16>>2]},this.get_exception_ptr=function(){var t=Yt(this.get_type());if(t)return x[this.excPtr>>2];var n=this.get_adjusted_ptr();return n!==0?n:this.excPtr}}var Jr=e=>{throw re||(re=e),re},Ye=e=>{var t=re;if(!t)return Te(0),0;var n=new ze(t);n.set_adjusted_ptr(t);var a=n.get_type();if(!a)return Te(0),t;for(var s in e){var c=e[s];if(c===0||c===a)break;var l=n.ptr+16;if(zt(c,a,l))return Te(c),t}return Te(a),t},Qr=()=>Ye([]),Xr=e=>Ye([e]),Kr=(e,t)=>Ye([e,t]),Zr=()=>{var e=Me.pop();e||Oe("no exception to throw");var t=e.excPtr;throw e.get_rethrown()||(Me.push(e),e.set_rethrown(!0),e.set_caught(!1),Ae++),re=t,re},en=(e,t,n)=>{var a=new ze(e);throw a.init(t,n),re=e,Ae++,re},tn=()=>Ae,De={},Je=e=>{for(;e.length;){var t=e.pop(),n=e.pop();n(t)}};function Qe(e){return this.fromWireType(Y[e>>2])}var fe={},ce={},Re={},_t,xe=e=>{throw new _t(e)},le=(e,t,n)=>{e.forEach(function(f){Re[f]=t});function a(f){var h=n(f);h.length!==e.length&&xe("Mismatched type converter count");for(var y=0;y{ce.hasOwnProperty(f)?s[h]=ce[f]:(c.push(f),fe.hasOwnProperty(f)||(fe[f]=[]),fe[f].push(()=>{s[h]=ce[f],++l,l===c.length&&a(s)}))}),c.length===0&&a(s)},rn=e=>{var t=De[e];delete De[e];var n=t.rawConstructor,a=t.rawDestructor,s=t.fields,c=s.map(l=>l.getterReturnType).concat(s.map(l=>l.setterArgumentType));le([e],c,l=>{var f={};return s.forEach((h,y)=>{var b=h.fieldName,T=l[y],E=h.getter,O=h.getterContext,k=l[y+s.length],B=h.setter,R=h.setterContext;f[b]={read:z=>T.fromWireType(E(O,z)),write:(z,v)=>{var S=[];B(R,z,k.toWireType(S,v)),Je(S)}}}),[{name:t.name,fromWireType:h=>{var y={};for(var b in f)y[b]=f[b].read(h);return a(h),y},toWireType:(h,y)=>{for(var b in f)if(!(b in y))throw new TypeError(`Missing field: "${b}"`);var T=n();for(b in f)f[b].write(T,y[b]);return h!==null&&h.push(a,T),T},argPackAdvance:ee,readValueFromPointer:Qe,destructorFunction:a}]})},nn=(e,t,n,a,s)=>{},an=()=>{for(var e=new Array(256),t=0;t<256;++t)e[t]=String.fromCharCode(t);St=e},St,G=e=>{for(var t="",n=e;D[n];)t+=St[D[n++]];return t},pe,M=e=>{throw new pe(e)};function on(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var a=t.name;if(e||M(`type "${a}" must have a positive integer typeid pointer`),ce.hasOwnProperty(e)){if(n.ignoreDuplicateRegistrations)return;M(`Cannot register type '${a}' twice`)}if(ce[e]=t,delete Re[e],fe.hasOwnProperty(e)){var s=fe[e];delete fe[e],s.forEach(c=>c())}}function Z(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!("argPackAdvance"in t))throw new TypeError("registerType registeredInstance requires argPackAdvance");return on(e,t,n)}var ee=8,sn=(e,t,n,a)=>{t=G(t),Z(e,{name:t,fromWireType:function(s){return!!s},toWireType:function(s,c){return c?n:a},argPackAdvance:ee,readValueFromPointer:function(s){return this.fromWireType(D[s])},destructorFunction:null})},un=e=>({count:e.count,deleteScheduled:e.deleteScheduled,preservePointerOnDelete:e.preservePointerOnDelete,ptr:e.ptr,ptrType:e.ptrType,smartPtr:e.smartPtr,smartPtrType:e.smartPtrType}),Xe=e=>{function t(n){return n.$$.ptrType.registeredClass.name}M(t(e)+" instance already deleted")},Ke=!1,Pt=e=>{},cn=e=>{e.smartPtr?e.smartPtrType.rawDestructor(e.smartPtr):e.ptrType.registeredClass.rawDestructor(e.ptr)},Tt=e=>{e.count.value-=1;var t=e.count.value===0;t&&cn(e)},Et=(e,t,n)=>{if(t===n)return e;if(n.baseClass===void 0)return null;var a=Et(e,t,n.baseClass);return a===null?null:n.downcast(a)},Ot={},ln=()=>Object.keys($e).length,dn=()=>{var e=[];for(var t in $e)$e.hasOwnProperty(t)&&e.push($e[t]);return e},be=[],Ze=()=>{for(;be.length;){var e=be.pop();e.$$.deleteScheduled=!1,e.delete()}},Ce,fn=e=>{Ce=e,be.length&&Ce&&Ce(Ze)},pn=()=>{i.getInheritedInstanceCount=ln,i.getLiveInheritedInstances=dn,i.flushPendingDeletes=Ze,i.setDelayFunction=fn},$e={},hn=(e,t)=>{for(t===void 0&&M("ptr should not be undefined");e.baseClass;)t=e.upcast(t),e=e.baseClass;return t},mn=(e,t)=>(t=hn(e,t),$e[t]),Ie=(e,t)=>{(!t.ptrType||!t.ptr)&&xe("makeClassHandle requires ptr and ptrType");var n=!!t.smartPtrType,a=!!t.smartPtr;return n!==a&&xe("Both smartPtrType and smartPtr must be specified"),t.count={value:1},_e(Object.create(e,{$$:{value:t,writable:!0}}))};function vn(e){var t=this.getPointee(e);if(!t)return this.destructor(e),null;var n=mn(this.registeredClass,t);if(n!==void 0){if(n.$$.count.value===0)return n.$$.ptr=t,n.$$.smartPtr=e,n.clone();var a=n.clone();return this.destructor(e),a}function s(){return this.isSmartPointer?Ie(this.registeredClass.instancePrototype,{ptrType:this.pointeeType,ptr:t,smartPtrType:this,smartPtr:e}):Ie(this.registeredClass.instancePrototype,{ptrType:this,ptr:e})}var c=this.registeredClass.getActualType(t),l=Ot[c];if(!l)return s.call(this);var f;this.isConst?f=l.constPointerType:f=l.pointerType;var h=Et(t,this.registeredClass,f.registeredClass);return h===null?s.call(this):this.isSmartPointer?Ie(f.registeredClass.instancePrototype,{ptrType:f,ptr:h,smartPtrType:this,smartPtr:e}):Ie(f.registeredClass.instancePrototype,{ptrType:f,ptr:h})}var _e=e=>typeof FinalizationRegistry>"u"?(_e=t=>t,e):(Ke=new FinalizationRegistry(t=>{Tt(t.$$)}),_e=t=>{var n=t.$$,a=!!n.smartPtr;if(a){var s={$$:n};Ke.register(t,s,t)}return t},Pt=t=>Ke.unregister(t),_e(e)),yn=()=>{Object.assign(Fe.prototype,{isAliasOf(e){if(!(this instanceof Fe)||!(e instanceof Fe))return!1;var t=this.$$.ptrType.registeredClass,n=this.$$.ptr;e.$$=e.$$;for(var a=e.$$.ptrType.registeredClass,s=e.$$.ptr;t.baseClass;)n=t.upcast(n),t=t.baseClass;for(;a.baseClass;)s=a.upcast(s),a=a.baseClass;return t===a&&n===s},clone(){if(this.$$.ptr||Xe(this),this.$$.preservePointerOnDelete)return this.$$.count.value+=1,this;var e=_e(Object.create(Object.getPrototypeOf(this),{$$:{value:un(this.$$)}}));return e.$$.count.value+=1,e.$$.deleteScheduled=!1,e},delete(){this.$$.ptr||Xe(this),this.$$.deleteScheduled&&!this.$$.preservePointerOnDelete&&M("Object already scheduled for deletion"),Pt(this),Tt(this.$$),this.$$.preservePointerOnDelete||(this.$$.smartPtr=void 0,this.$$.ptr=void 0)},isDeleted(){return!this.$$.ptr},deleteLater(){return this.$$.ptr||Xe(this),this.$$.deleteScheduled&&!this.$$.preservePointerOnDelete&&M("Object already scheduled for deletion"),be.push(this),be.length===1&&Ce&&Ce(Ze),this.$$.deleteScheduled=!0,this}})};function Fe(){}var Se=(e,t)=>Object.defineProperty(t,"name",{value:e}),Mt=(e,t,n)=>{if(e[t].overloadTable===void 0){var a=e[t];e[t]=function(){return e[t].overloadTable.hasOwnProperty(arguments.length)||M(`Function '${n}' called with an invalid number of arguments (${arguments.length}) - expects one of (${e[t].overloadTable})!`),e[t].overloadTable[arguments.length].apply(this,arguments)},e[t].overloadTable=[],e[t].overloadTable[a.argCount]=a}},et=(e,t,n)=>{i.hasOwnProperty(e)?((n===void 0||i[e].overloadTable!==void 0&&i[e].overloadTable[n]!==void 0)&&M(`Cannot register public name '${e}' twice`),Mt(i,e,e),i.hasOwnProperty(n)&&M(`Cannot register multiple overloads of a function with the same number of arguments (${n})!`),i[e].overloadTable[n]=t):(i[e]=t,n!==void 0&&(i[e].numArguments=n))},gn=48,wn=57,bn=e=>{if(e===void 0)return"_unknown";e=e.replace(/[^a-zA-Z0-9_]/g,"$");var t=e.charCodeAt(0);return t>=gn&&t<=wn?`_${e}`:e};function Cn(e,t,n,a,s,c,l,f){this.name=e,this.constructor=t,this.instancePrototype=n,this.rawDestructor=a,this.baseClass=s,this.getActualType=c,this.upcast=l,this.downcast=f,this.pureVirtualFunctions=[]}var tt=(e,t,n)=>{for(;t!==n;)t.upcast||M(`Expected null or instance of ${n.name}, got an instance of ${t.name}`),e=t.upcast(e),t=t.baseClass;return e};function $n(e,t){if(t===null)return this.isReference&&M(`null is not a valid ${this.name}`),0;t.$$||M(`Cannot pass "${ot(t)}" as a ${this.name}`),t.$$.ptr||M(`Cannot pass deleted object as a pointer of type ${this.name}`);var n=t.$$.ptrType.registeredClass,a=tt(t.$$.ptr,n,this.registeredClass);return a}function _n(e,t){var n;if(t===null)return this.isReference&&M(`null is not a valid ${this.name}`),this.isSmartPointer?(n=this.rawConstructor(),e!==null&&e.push(this.rawDestructor,n),n):0;(!t||!t.$$)&&M(`Cannot pass "${ot(t)}" as a ${this.name}`),t.$$.ptr||M(`Cannot pass deleted object as a pointer of type ${this.name}`),!this.isConst&&t.$$.ptrType.isConst&&M(`Cannot convert argument of type ${t.$$.smartPtrType?t.$$.smartPtrType.name:t.$$.ptrType.name} to parameter type ${this.name}`);var a=t.$$.ptrType.registeredClass;if(n=tt(t.$$.ptr,a,this.registeredClass),this.isSmartPointer)switch(t.$$.smartPtr===void 0&&M("Passing raw pointer to smart pointer is illegal"),this.sharingPolicy){case 0:t.$$.smartPtrType===this?n=t.$$.smartPtr:M(`Cannot convert argument of type ${t.$$.smartPtrType?t.$$.smartPtrType.name:t.$$.ptrType.name} to parameter type ${this.name}`);break;case 1:n=t.$$.smartPtr;break;case 2:if(t.$$.smartPtrType===this)n=t.$$.smartPtr;else{var s=t.clone();n=this.rawShare(n,ne.toHandle(()=>s.delete())),e!==null&&e.push(this.rawDestructor,n)}break;default:M("Unsupporting sharing policy")}return n}function Sn(e,t){if(t===null)return this.isReference&&M(`null is not a valid ${this.name}`),0;t.$$||M(`Cannot pass "${ot(t)}" as a ${this.name}`),t.$$.ptr||M(`Cannot pass deleted object as a pointer of type ${this.name}`),t.$$.ptrType.isConst&&M(`Cannot convert argument of type ${t.$$.ptrType.name} to parameter type ${this.name}`);var n=t.$$.ptrType.registeredClass,a=tt(t.$$.ptr,n,this.registeredClass);return a}function At(e){return this.fromWireType(x[e>>2])}var Pn=()=>{Object.assign(ke.prototype,{getPointee(e){return this.rawGetPointee&&(e=this.rawGetPointee(e)),e},destructor(e){var t;(t=this.rawDestructor)===null||t===void 0||t.call(this,e)},argPackAdvance:ee,readValueFromPointer:At,deleteObject(e){e!==null&&e.delete()},fromWireType:vn})};function ke(e,t,n,a,s,c,l,f,h,y,b){this.name=e,this.registeredClass=t,this.isReference=n,this.isConst=a,this.isSmartPointer=s,this.pointeeType=c,this.sharingPolicy=l,this.rawGetPointee=f,this.rawConstructor=h,this.rawShare=y,this.rawDestructor=b,!s&&t.baseClass===void 0?a?(this.toWireType=$n,this.destructorFunction=null):(this.toWireType=Sn,this.destructorFunction=null):this.toWireType=_n}var Dt=(e,t,n)=>{i.hasOwnProperty(e)||xe("Replacing nonexistant public symbol"),i[e].overloadTable!==void 0&&n!==void 0?i[e].overloadTable[n]=t:(i[e]=t,i[e].argCount=n)},Tn=(e,t,n)=>{var a=i["dynCall_"+e];return n&&n.length?a.apply(null,[t].concat(n)):a.call(null,t)},Ue=[],Rt,j=e=>{var t=Ue[e];return t||(e>=Ue.length&&(Ue.length=e+1),Ue[e]=t=Rt.get(e)),t},En=(e,t,n)=>{if(e.includes("j"))return Tn(e,t,n);var a=j(t).apply(null,n);return a},On=(e,t)=>{var n=[];return function(){return n.length=0,Object.assign(n,arguments),En(e,t,n)}},K=(e,t)=>{e=G(e);function n(){return e.includes("j")?On(e,t):j(t)}var a=n();return typeof a!="function"&&M(`unknown function pointer with signature ${e}: ${t}`),a},Mn=(e,t)=>{var n=Se(t,function(a){this.name=t,this.message=a;var s=new Error(a).stack;s!==void 0&&(this.stack=this.toString()+` +`+s.replace(/^Error(:[^\n]*)?\n/,""))});return n.prototype=Object.create(e.prototype),n.prototype.constructor=n,n.prototype.toString=function(){return this.message===void 0?this.name:`${this.name}: ${this.message}`},n},xt,It=e=>{var t=qt(e),n=G(t);return ae(t),n},je=(e,t)=>{var n=[],a={};function s(c){if(!a[c]&&!ce[c]){if(Re[c]){Re[c].forEach(s);return}n.push(c),a[c]=!0}}throw t.forEach(s),new xt(`${e}: `+n.map(It).join([", "]))},An=(e,t,n,a,s,c,l,f,h,y,b,T,E)=>{b=G(b),c=K(s,c),f&&(f=K(l,f)),y&&(y=K(h,y)),E=K(T,E);var O=bn(b);et(O,function(){je(`Cannot construct ${b} due to unbound types`,[a])}),le([e,t,n],a?[a]:[],function(k){k=k[0];var B,R;a?(B=k.registeredClass,R=B.instancePrototype):R=Fe.prototype;var z=Se(b,function(){if(Object.getPrototypeOf(this)!==v)throw new pe("Use 'new' to construct "+b);if(S.constructor_body===void 0)throw new pe(b+" has no accessible constructor");var Kt=S.constructor_body[arguments.length];if(Kt===void 0)throw new pe(`Tried to invoke ctor of ${b} with invalid number of parameters (${arguments.length}) - expected (${Object.keys(S.constructor_body).toString()}) parameters instead!`);return Kt.apply(this,arguments)}),v=Object.create(R,{constructor:{value:z}});z.prototype=v;var S=new Cn(b,z,v,E,B,c,f,y);if(S.baseClass){var H,N;(N=(H=S.baseClass).__derivedClasses)!==null&&N!==void 0||(H.__derivedClasses=[]),S.baseClass.__derivedClasses.push(S)}var he=new ke(b,S,!0,!1,!1),Be=new ke(b+"*",S,!1,!1,!1),Xt=new ke(b+" const*",S,!1,!0,!1);return Ot[e]={pointerType:Be,constPointerType:Xt},Dt(O,z),[he,Be,Xt]})},rt=(e,t)=>{for(var n=[],a=0;a>2]);return n};function Dn(e){for(var t=1;t{var l=rt(t,n);s=K(a,s),le([],[e],function(f){f=f[0];var h=`constructor ${f.name}`;if(f.registeredClass.constructor_body===void 0&&(f.registeredClass.constructor_body=[]),f.registeredClass.constructor_body[t-1]!==void 0)throw new pe(`Cannot register multiple constructors with identical number of parameters (${t-1}) for class '${f.name}'! Overload resolution is currently only performed using the parameter count, not actual type info!`);return f.registeredClass.constructor_body[t-1]=()=>{je(`Cannot construct ${f.name} due to unbound types`,l)},le([],l,y=>(y.splice(1,0,null),f.registeredClass.constructor_body[t-1]=nt(h,y,null,s,c),[])),[]})},Ft=e=>{e=e.trim();const t=e.indexOf("(");return t!==-1?e.substr(0,t):e},xn=(e,t,n,a,s,c,l,f,h)=>{var y=rt(n,a);t=G(t),t=Ft(t),c=K(s,c),le([],[e],function(b){b=b[0];var T=`${b.name}.${t}`;t.startsWith("@@")&&(t=Symbol[t.substring(2)]),f&&b.registeredClass.pureVirtualFunctions.push(t);function E(){je(`Cannot call ${T} due to unbound types`,y)}var O=b.registeredClass.instancePrototype,k=O[t];return k===void 0||k.overloadTable===void 0&&k.className!==b.name&&k.argCount===n-2?(E.argCount=n-2,E.className=b.name,O[t]=E):(Mt(O,t,T),O[t].overloadTable[n-2]=E),le([],y,function(B){var R=nt(T,B,b,c,l);return O[t].overloadTable===void 0?(R.argCount=n-2,O[t]=R):O[t].overloadTable[n-2]=R,[]}),[]})};function In(){Object.assign(kt.prototype,{get(e){return this.allocated[e]},has(e){return this.allocated[e]!==void 0},allocate(e){var t=this.freelist.pop()||this.allocated.length;return this.allocated[t]=e,t},free(e){this.allocated[e]=void 0,this.freelist.push(e)}})}function kt(){this.allocated=[void 0],this.freelist=[]}var Q=new kt,at=e=>{e>=Q.reserved&&--Q.get(e).refcount===0&&Q.free(e)},Fn=()=>{for(var e=0,t=Q.reserved;t{Q.allocated.push({value:void 0},{value:null},{value:!0},{value:!1}),Q.reserved=Q.allocated.length,i.count_emval_handles=Fn},ne={toValue:e=>(e||M("Cannot use deleted val. handle = "+e),Q.get(e).value),toHandle:e=>{switch(e){case void 0:return 1;case null:return 2;case!0:return 3;case!1:return 4;default:return Q.allocate({refcount:1,value:e})}}},Un=(e,t)=>{t=G(t),Z(e,{name:t,fromWireType:n=>{var a=ne.toValue(n);return at(n),a},toWireType:(n,a)=>ne.toHandle(a),argPackAdvance:ee,readValueFromPointer:Qe,destructorFunction:null})},jn=(e,t,n)=>{switch(t){case 1:return n?function(a){return this.fromWireType(A[a>>0])}:function(a){return this.fromWireType(D[a>>0])};case 2:return n?function(a){return this.fromWireType(X[a>>1])}:function(a){return this.fromWireType(ge[a>>1])};case 4:return n?function(a){return this.fromWireType(Y[a>>2])}:function(a){return this.fromWireType(x[a>>2])};default:throw new TypeError(`invalid integer width (${t}): ${e}`)}},Wn=(e,t,n,a)=>{t=G(t);function s(){}s.values={},Z(e,{name:t,constructor:s,fromWireType:function(c){return this.constructor.values[c]},toWireType:(c,l)=>l.value,argPackAdvance:ee,readValueFromPointer:jn(t,n,a),destructorFunction:null}),et(t,s)},it=(e,t)=>{var n=ce[e];return n===void 0&&M(t+" has unknown type "+It(e)),n},Ln=(e,t,n)=>{var a=it(e,"enum");t=G(t);var s=a.constructor,c=Object.create(a.constructor.prototype,{value:{value:n},constructor:{value:Se(`${a.name}_${t}`,function(){})}});s.values[n]=c,s[t]=c},ot=e=>{if(e===null)return"null";var t=typeof e;return t==="object"||t==="array"||t==="function"?e.toString():""+e},Bn=(e,t)=>{switch(t){case 4:return function(n){return this.fromWireType(ht[n>>2])};case 8:return function(n){return this.fromWireType(mt[n>>3])};default:throw new TypeError(`invalid float width (${t}): ${e}`)}},Hn=(e,t,n)=>{t=G(t),Z(e,{name:t,fromWireType:a=>a,toWireType:(a,s)=>s,argPackAdvance:ee,readValueFromPointer:Bn(t,n),destructorFunction:null})},Vn=(e,t,n,a,s,c,l)=>{var f=rt(t,n);e=G(e),e=Ft(e),s=K(a,s),et(e,function(){je(`Cannot call ${e} due to unbound types`,f)},t-1),le([],f,function(h){var y=[h[0],null].concat(h.slice(1));return Dt(e,nt(e,y,null,s,c),t-1),[]})},qn=(e,t,n)=>{switch(t){case 1:return n?a=>A[a>>0]:a=>D[a>>0];case 2:return n?a=>X[a>>1]:a=>ge[a>>1];case 4:return n?a=>Y[a>>2]:a=>x[a>>2];default:throw new TypeError(`invalid integer width (${t}): ${e}`)}},Nn=(e,t,n,a,s)=>{t=G(t);var c=b=>b;if(a===0){var l=32-8*n;c=b=>b<>>l}var f=t.includes("unsigned"),h=(b,T)=>{},y;f?y=function(b,T){return h(T,this.name),T>>>0}:y=function(b,T){return h(T,this.name),T},Z(e,{name:t,fromWireType:c,toWireType:y,argPackAdvance:ee,readValueFromPointer:qn(t,n,a!==0),destructorFunction:null})},Gn=(e,t,n)=>{var a=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array],s=a[t];function c(l){var f=x[l>>2],h=x[l+4>>2];return new s(A.buffer,h,f)}n=G(n),Z(e,{name:n,fromWireType:c,argPackAdvance:ee,readValueFromPointer:c},{ignoreDuplicateRegistrations:!0})},Ut=(e,t,n,a)=>{if(!(a>0))return 0;for(var s=n,c=n+a-1,l=0;l=55296&&f<=57343){var h=e.charCodeAt(++l);f=65536+((f&1023)<<10)|h&1023}if(f<=127){if(n>=c)break;t[n++]=f}else if(f<=2047){if(n+1>=c)break;t[n++]=192|f>>6,t[n++]=128|f&63}else if(f<=65535){if(n+2>=c)break;t[n++]=224|f>>12,t[n++]=128|f>>6&63,t[n++]=128|f&63}else{if(n+3>=c)break;t[n++]=240|f>>18,t[n++]=128|f>>12&63,t[n++]=128|f>>6&63,t[n++]=128|f&63}}return t[n]=0,n-s},zn=(e,t,n)=>Ut(e,D,t,n),jt=e=>{for(var t=0,n=0;n=55296&&a<=57343?(t+=4,++n):t+=3}return t},Wt=typeof TextDecoder<"u"?new TextDecoder("utf8"):void 0,Yn=(e,t,n)=>{for(var a=t+n,s=t;e[s]&&!(s>=a);)++s;if(s-t>16&&e.buffer&&Wt)return Wt.decode(e.subarray(t,s));for(var c="";t>10,56320|y&1023)}}return c},st=(e,t)=>e?Yn(D,e,t):"",Jn=(e,t)=>{t=G(t);var n=t==="std::string";Z(e,{name:t,fromWireType(a){var s=x[a>>2],c=a+4,l;if(n)for(var f=c,h=0;h<=s;++h){var y=c+h;if(h==s||D[y]==0){var b=y-f,T=st(f,b);l===void 0?l=T:(l+="\0",l+=T),f=y+1}}else{for(var E=new Array(s),h=0;h>2]=c,n&&l)zn(s,h,c+1);else if(l)for(var y=0;y255&&(ae(h),M("String has UTF-16 code units that do not fit in 8 bits")),D[h+y]=b}else for(var y=0;y{for(var n=e,a=n>>1,s=a+t/2;!(a>=s)&&ge[a];)++a;if(n=a<<1,n-e>32&&Lt)return Lt.decode(D.subarray(e,n));for(var c="",l=0;!(l>=t/2);++l){var f=X[e+l*2>>1];if(f==0)break;c+=String.fromCharCode(f)}return c},Xn=(e,t,n)=>{var a;if((a=n)!==null&&a!==void 0||(n=2147483647),n<2)return 0;n-=2;for(var s=t,c=n>1]=f,t+=2}return X[t>>1]=0,t-s},Kn=e=>e.length*2,Zn=(e,t)=>{for(var n=0,a="";!(n>=t/4);){var s=Y[e+n*4>>2];if(s==0)break;if(++n,s>=65536){var c=s-65536;a+=String.fromCharCode(55296|c>>10,56320|c&1023)}else a+=String.fromCharCode(s)}return a},ea=(e,t,n)=>{var a;if((a=n)!==null&&a!==void 0||(n=2147483647),n<4)return 0;for(var s=t,c=s+n-4,l=0;l=55296&&f<=57343){var h=e.charCodeAt(++l);f=65536+((f&1023)<<10)|h&1023}if(Y[t>>2]=f,t+=4,t+4>c)break}return Y[t>>2]=0,t-s},ta=e=>{for(var t=0,n=0;n=55296&&a<=57343&&++n,t+=4}return t},ra=(e,t,n)=>{n=G(n);var a,s,c,l,f;t===2?(a=Qn,s=Xn,l=Kn,c=()=>ge,f=1):t===4&&(a=Zn,s=ea,l=ta,c=()=>x,f=2),Z(e,{name:n,fromWireType:h=>{for(var y=x[h>>2],b=c(),T,E=h+4,O=0;O<=y;++O){var k=h+4+O*t;if(O==y||b[k>>f]==0){var B=k-E,R=a(E,B);T===void 0?T=R:(T+="\0",T+=R),E=k+t}}return ae(h),T},toWireType:(h,y)=>{typeof y!="string"&&M(`Cannot pass non-string to C++ string type ${n}`);var b=l(y),T=lt(4+b+t);return x[T>>2]=b>>f,s(y,T+4,b+t),h!==null&&h.push(ae,T),T},argPackAdvance:ee,readValueFromPointer:Qe,destructorFunction(h){ae(h)}})},na=(e,t,n,a,s,c)=>{De[e]={name:G(t),rawConstructor:K(n,a),rawDestructor:K(s,c),fields:[]}},aa=(e,t,n,a,s,c,l,f,h,y)=>{De[e].fields.push({fieldName:G(t),getterReturnType:n,getter:K(a,s),getterContext:c,setterArgumentType:l,setter:K(f,h),setterContext:y})},ia=(e,t)=>{t=G(t),Z(e,{isVoid:!0,name:t,argPackAdvance:0,fromWireType:()=>{},toWireType:(n,a)=>{}})},ut=[],oa=(e,t,n,a)=>(e=ut[e],t=ne.toValue(t),e(null,t,n,a)),sa={},ua=e=>{var t=sa[e];return t===void 0?G(e):t},Bt=()=>{if(typeof globalThis=="object")return globalThis;function e(t){t.$$$embind_global$$$=t;var n=typeof $$$embind_global$$$=="object"&&t.$$$embind_global$$$==t;return n||delete t.$$$embind_global$$$,n}if(typeof $$$embind_global$$$=="object"||(typeof global=="object"&&e(global)?$$$embind_global$$$=global:typeof self=="object"&&e(self)&&($$$embind_global$$$=self),typeof $$$embind_global$$$=="object"))return $$$embind_global$$$;throw Error("unable to get global object.")},ca=e=>e===0?ne.toHandle(Bt()):(e=ua(e),ne.toHandle(Bt()[e])),la=e=>{var t=ut.length;return ut.push(e),t},da=(e,t)=>{for(var n=new Array(e),a=0;a>2],"parameter "+a);return n},fa=Reflect.construct,pa=(e,t,n)=>{var a=[],s=e.toWireType(a,n);return a.length&&(x[t>>2]=ne.toHandle(a)),s},ha=(e,t,n)=>{var a=da(e,t),s=a.shift();e--;var c=new Array(e),l=(h,y,b,T)=>{for(var E=0,O=0;Oh.name).join(", ")}) => ${s.name}>`;return la(Se(f,l))},ma=e=>{e>4&&(Q.get(e).refcount+=1)},va=e=>{var t=ne.toValue(e);Je(t),at(e)},ya=(e,t)=>{e=it(e,"_emval_take_value");var n=e.readValueFromPointer(t);return ne.toHandle(n)},ga=()=>{Oe("")},wa=(e,t,n)=>D.copyWithin(e,t,t+n),ba=()=>2147483648,Ca=e=>{var t=I.buffer,n=(e-t.byteLength+65535)/65536;try{return I.grow(n),vt(),1}catch{}},$a=e=>{var t=D.length;e>>>=0;var n=ba();if(e>n)return!1;for(var a=(h,y)=>h+(y-h%y)%y,s=1;s<=4;s*=2){var c=t*(1+.2/s);c=Math.min(c,e+100663296);var l=Math.min(n,a(Math.max(e,c),65536)),f=Ca(l);if(f)return!0}return!1},ct={},_a=()=>g||"./this.program",Pe=()=>{if(!Pe.strings){var e=(typeof navigator=="object"&&navigator.languages&&navigator.languages[0]||"C").replace("-","_")+".UTF-8",t={USER:"web_user",LOGNAME:"web_user",PATH:"/",PWD:"/",HOME:"/home/web_user",LANG:e,_:_a()};for(var n in ct)ct[n]===void 0?delete t[n]:t[n]=ct[n];var a=[];for(var n in t)a.push(`${n}=${t[n]}`);Pe.strings=a}return Pe.strings},Sa=(e,t)=>{for(var n=0;n>0]=e.charCodeAt(n);A[t>>0]=0},Pa=(e,t)=>{var n=0;return Pe().forEach((a,s)=>{var c=t+n;x[e+s*4>>2]=c,Sa(a,c),n+=a.length+1}),0},Ta=(e,t)=>{var n=Pe();x[e>>2]=n.length;var a=0;return n.forEach(s=>a+=s.length+1),x[t>>2]=a,0},Ea=e=>e,We=e=>e%4===0&&(e%100!==0||e%400===0),Oa=(e,t)=>{for(var n=0,a=0;a<=t;n+=e[a++]);return n},Ht=[31,29,31,30,31,30,31,31,30,31,30,31],Vt=[31,28,31,30,31,30,31,31,30,31,30,31],Ma=(e,t)=>{for(var n=new Date(e.getTime());t>0;){var a=We(n.getFullYear()),s=n.getMonth(),c=(a?Ht:Vt)[s];if(t>c-n.getDate())t-=c-n.getDate()+1,n.setDate(1),s<11?n.setMonth(s+1):(n.setMonth(0),n.setFullYear(n.getFullYear()+1));else return n.setDate(n.getDate()+t),n}return n};function Aa(e,t,n){var a=jt(e)+1,s=new Array(a);return Ut(e,s,0,s.length),s}var Da=(e,t)=>{A.set(e,t)},Ra=(e,t,n,a)=>{var s=x[a+40>>2],c={tm_sec:Y[a>>2],tm_min:Y[a+4>>2],tm_hour:Y[a+8>>2],tm_mday:Y[a+12>>2],tm_mon:Y[a+16>>2],tm_year:Y[a+20>>2],tm_wday:Y[a+24>>2],tm_yday:Y[a+28>>2],tm_isdst:Y[a+32>>2],tm_gmtoff:Y[a+36>>2],tm_zone:s?st(s):""},l=st(n),f={"%c":"%a %b %d %H:%M:%S %Y","%D":"%m/%d/%y","%F":"%Y-%m-%d","%h":"%b","%r":"%I:%M:%S %p","%R":"%H:%M","%T":"%H:%M:%S","%x":"%m/%d/%y","%X":"%H:%M:%S","%Ec":"%c","%EC":"%C","%Ex":"%m/%d/%y","%EX":"%H:%M:%S","%Ey":"%y","%EY":"%Y","%Od":"%d","%Oe":"%e","%OH":"%H","%OI":"%I","%Om":"%m","%OM":"%M","%OS":"%S","%Ou":"%u","%OU":"%U","%OV":"%V","%Ow":"%w","%OW":"%W","%Oy":"%y"};for(var h in f)l=l.replace(new RegExp(h,"g"),f[h]);var y=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],b=["January","February","March","April","May","June","July","August","September","October","November","December"];function T(v,S,H){for(var N=typeof v=="number"?v.toString():v||"";N.length0?1:0}var N;return(N=H(v.getFullYear()-S.getFullYear()))===0&&(N=H(v.getMonth()-S.getMonth()))===0&&(N=H(v.getDate()-S.getDate())),N}function k(v){switch(v.getDay()){case 0:return new Date(v.getFullYear()-1,11,29);case 1:return v;case 2:return new Date(v.getFullYear(),0,3);case 3:return new Date(v.getFullYear(),0,2);case 4:return new Date(v.getFullYear(),0,1);case 5:return new Date(v.getFullYear()-1,11,31);case 6:return new Date(v.getFullYear()-1,11,30)}}function B(v){var S=Ma(new Date(v.tm_year+1900,0,1),v.tm_yday),H=new Date(S.getFullYear(),0,4),N=new Date(S.getFullYear()+1,0,4),he=k(H),Be=k(N);return O(he,S)<=0?O(Be,S)<=0?S.getFullYear()+1:S.getFullYear():S.getFullYear()-1}var R={"%a":v=>y[v.tm_wday].substring(0,3),"%A":v=>y[v.tm_wday],"%b":v=>b[v.tm_mon].substring(0,3),"%B":v=>b[v.tm_mon],"%C":v=>{var S=v.tm_year+1900;return E(S/100|0,2)},"%d":v=>E(v.tm_mday,2),"%e":v=>T(v.tm_mday,2," "),"%g":v=>B(v).toString().substring(2),"%G":v=>B(v),"%H":v=>E(v.tm_hour,2),"%I":v=>{var S=v.tm_hour;return S==0?S=12:S>12&&(S-=12),E(S,2)},"%j":v=>E(v.tm_mday+Oa(We(v.tm_year+1900)?Ht:Vt,v.tm_mon-1),3),"%m":v=>E(v.tm_mon+1,2),"%M":v=>E(v.tm_min,2),"%n":()=>` +`,"%p":v=>v.tm_hour>=0&&v.tm_hour<12?"AM":"PM","%S":v=>E(v.tm_sec,2),"%t":()=>" ","%u":v=>v.tm_wday||7,"%U":v=>{var S=v.tm_yday+7-v.tm_wday;return E(Math.floor(S/7),2)},"%V":v=>{var S=Math.floor((v.tm_yday+7-(v.tm_wday+6)%7)/7);if((v.tm_wday+371-v.tm_yday-2)%7<=2&&S++,S){if(S==53){var H=(v.tm_wday+371-v.tm_yday)%7;H!=4&&(H!=3||!We(v.tm_year))&&(S=1)}}else{S=52;var N=(v.tm_wday+7-v.tm_yday-1)%7;(N==4||N==5&&We(v.tm_year%400-1))&&S++}return E(S,2)},"%w":v=>v.tm_wday,"%W":v=>{var S=v.tm_yday+7-(v.tm_wday+6)%7;return E(Math.floor(S/7),2)},"%y":v=>(v.tm_year+1900).toString().substring(2),"%Y":v=>v.tm_year+1900,"%z":v=>{var S=v.tm_gmtoff,H=S>=0;return S=Math.abs(S)/60,S=S/60*100+S%60,(H?"+":"-")+("0000"+S).slice(-4)},"%Z":v=>v.tm_zone,"%%":()=>"%"};l=l.replace(/%%/g,"\0\0");for(var h in R)l.includes(h)&&(l=l.replace(new RegExp(h,"g"),R[h](c)));l=l.replace(/\0\0/g,"%");var z=Aa(l);return z.length>t?0:(Da(z,e),z.length-1)},xa=(e,t,n,a,s)=>Ra(e,t,n,a);_t=i.InternalError=class extends Error{constructor(e){super(e),this.name="InternalError"}},an(),pe=i.BindingError=class extends Error{constructor(e){super(e),this.name="BindingError"}},yn(),pn(),Pn(),xt=i.UnboundTypeError=Mn(Error,"UnboundTypeError"),In(),kn();var Ia={s:zr,u:Yr,b:Qr,g:Xr,q:Kr,J:Zr,f:en,V:tn,d:Jr,da:rn,Q:nn,_:sn,ca:An,ba:Rn,w:xn,Y:Un,x:Wn,h:Ln,L:Hn,M:Vn,t:Nn,o:Gn,K:Jn,C:ra,A:na,ea:aa,$:ia,R:oa,ha:at,fa:ca,Z:ha,N:ma,O:va,aa:ya,B:ga,X:wa,W:$a,T:Pa,U:Ta,E:Qa,D:Wa,F:Ja,n:Xa,a:Fa,e:Ba,m:ja,k:Va,H:za,v:Na,G:Ya,z:Za,P:ti,l:Ha,j:La,c:Ua,p:ka,I:Ga,r:Ka,i:qa,y:ei,ga:Ea,S:xa},q=Gr(),ae=i._free=e=>(ae=i._free=q.ka)(e),lt=i._malloc=e=>(lt=i._malloc=q.la)(e),qt=e=>(qt=q.na)(e),F=(e,t)=>(F=q.oa)(e,t),Te=e=>(Te=q.pa)(e),W=()=>(W=q.qa)(),L=e=>(L=q.ra)(e),Nt=e=>(Nt=q.sa)(e),Gt=e=>(Gt=q.ta)(e),zt=(e,t,n)=>(zt=q.ua)(e,t,n),Yt=e=>(Yt=q.va)(e);i.dynCall_viijii=(e,t,n,a,s,c,l)=>(i.dynCall_viijii=q.wa)(e,t,n,a,s,c,l);var Jt=i.dynCall_jiiii=(e,t,n,a,s)=>(Jt=i.dynCall_jiiii=q.xa)(e,t,n,a,s);i.dynCall_iiiiij=(e,t,n,a,s,c,l)=>(i.dynCall_iiiiij=q.ya)(e,t,n,a,s,c,l),i.dynCall_iiiiijj=(e,t,n,a,s,c,l,f,h)=>(i.dynCall_iiiiijj=q.za)(e,t,n,a,s,c,l,f,h),i.dynCall_iiiiiijj=(e,t,n,a,s,c,l,f,h,y)=>(i.dynCall_iiiiiijj=q.Aa)(e,t,n,a,s,c,l,f,h,y);function Fa(e,t){var n=W();try{return j(e)(t)}catch(a){if(L(n),a!==a+0)throw a;F(1,0)}}function ka(e,t,n,a){var s=W();try{j(e)(t,n,a)}catch(c){if(L(s),c!==c+0)throw c;F(1,0)}}function Ua(e,t,n){var a=W();try{j(e)(t,n)}catch(s){if(L(a),s!==s+0)throw s;F(1,0)}}function ja(e,t,n,a){var s=W();try{return j(e)(t,n,a)}catch(c){if(L(s),c!==c+0)throw c;F(1,0)}}function Wa(e,t,n,a,s){var c=W();try{return j(e)(t,n,a,s)}catch(l){if(L(c),l!==l+0)throw l;F(1,0)}}function La(e,t){var n=W();try{j(e)(t)}catch(a){if(L(n),a!==a+0)throw a;F(1,0)}}function Ba(e,t,n){var a=W();try{return j(e)(t,n)}catch(s){if(L(a),s!==s+0)throw s;F(1,0)}}function Ha(e){var t=W();try{j(e)()}catch(n){if(L(t),n!==n+0)throw n;F(1,0)}}function Va(e,t,n,a,s){var c=W();try{return j(e)(t,n,a,s)}catch(l){if(L(c),l!==l+0)throw l;F(1,0)}}function qa(e,t,n,a,s,c,l,f,h,y,b){var T=W();try{j(e)(t,n,a,s,c,l,f,h,y,b)}catch(E){if(L(T),E!==E+0)throw E;F(1,0)}}function Na(e,t,n,a,s,c,l){var f=W();try{return j(e)(t,n,a,s,c,l)}catch(h){if(L(f),h!==h+0)throw h;F(1,0)}}function Ga(e,t,n,a,s){var c=W();try{j(e)(t,n,a,s)}catch(l){if(L(c),l!==l+0)throw l;F(1,0)}}function za(e,t,n,a,s,c){var l=W();try{return j(e)(t,n,a,s,c)}catch(f){if(L(l),f!==f+0)throw f;F(1,0)}}function Ya(e,t,n,a,s,c,l,f){var h=W();try{return j(e)(t,n,a,s,c,l,f)}catch(y){if(L(h),y!==y+0)throw y;F(1,0)}}function Ja(e,t,n,a){var s=W();try{return j(e)(t,n,a)}catch(c){if(L(s),c!==c+0)throw c;F(1,0)}}function Qa(e,t,n,a){var s=W();try{return j(e)(t,n,a)}catch(c){if(L(s),c!==c+0)throw c;F(1,0)}}function Xa(e){var t=W();try{return j(e)()}catch(n){if(L(t),n!==n+0)throw n;F(1,0)}}function Ka(e,t,n,a,s,c,l,f){var h=W();try{j(e)(t,n,a,s,c,l,f)}catch(y){if(L(h),y!==y+0)throw y;F(1,0)}}function Za(e,t,n,a,s,c,l,f,h,y,b,T){var E=W();try{return j(e)(t,n,a,s,c,l,f,h,y,b,T)}catch(O){if(L(E),O!==O+0)throw O;F(1,0)}}function ei(e,t,n,a,s,c,l,f,h,y,b,T,E,O,k,B){var R=W();try{j(e)(t,n,a,s,c,l,f,h,y,b,T,E,O,k,B)}catch(z){if(L(R),z!==z+0)throw z;F(1,0)}}function ti(e,t,n,a,s){var c=W();try{return Jt(e,t,n,a,s)}catch(l){if(L(c),l!==l+0)throw l;F(1,0)}}var Le;we=function e(){Le||Qt(),Le||(we=e)};function Qt(){if(ue>0||(Fr(),ue>0))return;function e(){Le||(Le=!0,i.calledRun=!0,!V&&(kr(),u(i),i.onRuntimeInitialized&&i.onRuntimeInitialized(),Ur()))}i.setStatus?(i.setStatus("Running..."),setTimeout(function(){setTimeout(function(){i.setStatus("")},1),e()},1)):e()}if(i.preInit)for(typeof i.preInit=="function"&&(i.preInit=[i.preInit]);i.preInit.length>0;)i.preInit.pop()();return Qt(),o.ready}})();function Fi(r){return dt(ft,r)}async function ki(r,o){return xi(ft,r,o)}async function Ui(r,o){return Ii(ft,r,o)}var Ee;class qe extends EventTarget{constructor(o={}){var i;super(),ci(this,Ee,void 0);try{const u=(i=o==null?void 0:o.formats)==null?void 0:i.filter(d=>d!=="unknown");if((u==null?void 0:u.length)===0)throw new TypeError("Hint option provided, but is empty.");u==null||u.forEach(d=>{if(!He.has(d))throw new TypeError(`Failed to read the 'formats' property from 'BarcodeDetectorOptions': The provided value '${d}' is not a valid enum value of type BarcodeFormat.`)}),li(this,Ee,u??[]),Fi().then(d=>{this.dispatchEvent(new CustomEvent("load",{detail:d}))}).catch(d=>{this.dispatchEvent(new CustomEvent("error",{detail:d}))})}catch(u){throw er(u,"Failed to construct 'BarcodeDetector'")}}static async getSupportedFormats(){return di.filter(o=>o!=="unknown")}async detect(o){try{const i=await gi(o);if(i===null)return[];let u;try{gr(i)?u=await ki(i,{tryHarder:!0,formats:Zt(this,Ee).map(d=>He.get(d))}):u=await Ui(i,{tryHarder:!0,formats:Zt(this,Ee).map(d=>He.get(d))})}catch(d){throw console.error(d),new DOMException("Barcode detection service unavailable.","NotSupportedError")}return u.map(d=>{const{topLeft:{x:p,y:g},topRight:{x:w,y:_},bottomLeft:{x:m,y:$},bottomRight:{x:P,y:C}}=d.position,U=Math.min(p,w,m,P),I=Math.min(g,_,$,C),V=Math.max(p,w,m,P),A=Math.max(g,_,$,C);return{boundingBox:new DOMRectReadOnly(U,I,V-U,A-I),rawValue:d.text,format:fi(d.format),cornerPoints:[{x:p,y:g},{x:w,y:_},{x:P,y:C},{x:m,y:$}]}})}catch(i){throw er(i,"Failed to execute 'detect' on 'BarcodeDetector'")}}}Ee=new WeakMap;const pt=(r,o,i="error")=>{let u,d;const p=new Promise((g,w)=>{u=g,d=w,r.addEventListener(o,u),r.addEventListener(i,d)});return p.finally(()=>{r.removeEventListener(o,u),r.removeEventListener(i,d)}),p},ar=r=>new Promise(o=>setTimeout(o,r));class ji extends Error{constructor(){super("can't process cross-origin image"),this.name="DropImageFetchError"}}class $r extends Error{constructor(){super("this browser has no Stream API support"),this.name="StreamApiNotSupportedError"}}class Wi extends Error{constructor(){super("camera access is only permitted in secure context. Use HTTPS or localhost rather than HTTP."),this.name="InsecureContextError"}}class Li extends Error{constructor(){super("Loading camera stream timed out after 6 seconds. If you are on iOS in PWA mode, this is a known issue (see https://github.com/gruhn/vue-qrcode-reader/issues/298)"),this.name="StreamLoadTimeoutError"}}let _r;async function Bi(r){if(window.BarcodeDetector===void 0)return console.debug("[vue-qrcode-reader] Native BarcodeDetector not supported. Will use polyfill."),new qe({formats:r});const o=await window.BarcodeDetector.getSupportedFormats(),i=r.filter(u=>!o.includes(u));return i.length>0?(console.debug(`[vue-qrcode-reader] Native BarcodeDetector does not support formats ${JSON.stringify(i)}. Will use polyfill.`),new qe({formats:r})):(console.debug("[vue-qrcode-reader] Will use native BarcodeDetector."),new window.BarcodeDetector({formats:r}))}async function Hi(r){_r=await Bi(r)}const So=async(r,{detectHandler:o,locateHandler:i,minDelay:u,formats:d})=>{console.debug("[vue-qrcode-reader] start scanning"),await Hi(d);const p=g=>async w=>{if(r.readyState===0)console.debug("[vue-qrcode-reader] stop scanning: video element readyState is 0");else{const{lastScanned:_,contentBefore:m,lastScanHadContent:$}=g;if(w-_!m.includes(V.rawValue));C&&o(P);const U=P.length>0;U&&i(P),!U&&$&&i(P);const I={lastScanned:w,lastScanHadContent:U,contentBefore:C?P.map(V=>V.rawValue):m};window.requestAnimationFrame(p(I))}}};p({lastScanned:performance.now(),contentBefore:[],lastScanHadContent:!1})(performance.now())},Vi=async r=>{if(r.startsWith("http")&&r.includes(location.host)===!1)throw new ji;const o=document.createElement("img");return o.src=r,await pt(o,"load"),o},Po=async(r,o=["qr_code"])=>await new qe({formats:o}).detect(r),To=async(r,o=["qr_code"])=>{const i=new qe({formats:o}),u=await Vi(r);return await i.detect(u)};var Sr={},J={};Object.defineProperty(J,"__esModule",{value:!0});J.compactObject=Er;J.deprecated=Ki;var qi=J.detectBrowser=Zi;J.disableLog=Ji;J.disableWarnings=Qi;J.extractVersion=Ve;J.filterStats=eo;J.log=Xi;J.walkStats=Ne;J.wrapPeerConnectionEvent=Yi;function Ni(r,o,i){return o=Gi(o),o in r?Object.defineProperty(r,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):r[o]=i,r}function Gi(r){var o=zi(r,"string");return oe(o)==="symbol"?o:String(o)}function zi(r,o){if(oe(r)!=="object"||r===null)return r;var i=r[Symbol.toPrimitive];if(i!==void 0){var u=i.call(r,o||"default");if(oe(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return(o==="string"?String:Number)(r)}function oe(r){"@babel/helpers - typeof";return oe=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(o){return typeof o}:function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},oe(r)}var Pr=!0,Tr=!0;function Ve(r,o,i){var u=r.match(o);return u&&u.length>=i&&parseInt(u[i],10)}function Yi(r,o,i){if(r.RTCPeerConnection){var u=r.RTCPeerConnection.prototype,d=u.addEventListener;u.addEventListener=function(g,w){if(g!==o)return d.apply(this,arguments);var _=function($){var P=i($);P&&(w.handleEvent?w.handleEvent(P):w(P))};return this._eventMap=this._eventMap||{},this._eventMap[o]||(this._eventMap[o]=new Map),this._eventMap[o].set(w,_),d.apply(this,[g,_])};var p=u.removeEventListener;u.removeEventListener=function(g,w){if(g!==o||!this._eventMap||!this._eventMap[o])return p.apply(this,arguments);if(!this._eventMap[o].has(w))return p.apply(this,arguments);var _=this._eventMap[o].get(w);return this._eventMap[o].delete(w),this._eventMap[o].size===0&&delete this._eventMap[o],Object.keys(this._eventMap).length===0&&delete this._eventMap,p.apply(this,[g,_])},Object.defineProperty(u,"on"+o,{get:function(){return this["_on"+o]},set:function(w){this["_on"+o]&&(this.removeEventListener(o,this["_on"+o]),delete this["_on"+o]),w&&this.addEventListener(o,this["_on"+o]=w)},enumerable:!0,configurable:!0})}}function Ji(r){return typeof r!="boolean"?new Error("Argument type: "+oe(r)+". Please use a boolean."):(Pr=r,r?"adapter.js logging disabled":"adapter.js logging enabled")}function Qi(r){return typeof r!="boolean"?new Error("Argument type: "+oe(r)+". Please use a boolean."):(Tr=!r,"adapter.js deprecation warnings "+(r?"disabled":"enabled"))}function Xi(){if((typeof window>"u"?"undefined":oe(window))==="object"){if(Pr)return;typeof console<"u"&&typeof console.log=="function"&&console.log.apply(console,arguments)}}function Ki(r,o){Tr&&console.warn(r+" is deprecated, please use "+o+" instead.")}function Zi(r){var o={browser:null,version:null};if(typeof r>"u"||!r.navigator||!r.navigator.userAgent)return o.browser="Not a browser.",o;var i=r.navigator;if(i.mozGetUserMedia)o.browser="firefox",o.version=Ve(i.userAgent,/Firefox\/(\d+)\./,1);else if(i.webkitGetUserMedia||r.isSecureContext===!1&&r.webkitRTCPeerConnection)o.browser="chrome",o.version=Ve(i.userAgent,/Chrom(e|ium)\/(\d+)\./,2);else if(r.RTCPeerConnection&&i.userAgent.match(/AppleWebKit\/(\d+)\./))o.browser="safari",o.version=Ve(i.userAgent,/AppleWebKit\/(\d+)\./,1),o.supportsUnifiedPlan=r.RTCRtpTransceiver&&"currentDirection"in r.RTCRtpTransceiver.prototype;else return o.browser="Not a supported browser.",o;return o}function ir(r){return Object.prototype.toString.call(r)==="[object Object]"}function Er(r){return ir(r)?Object.keys(r).reduce(function(o,i){var u=ir(r[i]),d=u?Er(r[i]):r[i],p=u&&!Object.keys(d).length;return d===void 0||p?o:Object.assign(o,Ni({},i,d))},{}):r}function Ne(r,o,i){!o||i.has(o.id)||(i.set(o.id,o),Object.keys(o).forEach(function(u){u.endsWith("Id")?Ne(r,r.get(o[u]),i):u.endsWith("Ids")&&o[u].forEach(function(d){Ne(r,r.get(d),i)})}))}function eo(r,o,i){var u=i?"outbound-rtp":"inbound-rtp",d=new Map;if(o===null)return d;var p=[];return r.forEach(function(g){g.type==="track"&&g.trackIdentifier===o.id&&p.push(g)}),p.forEach(function(g){r.forEach(function(w){w.type===u&&w.trackId===g.id&&Ne(r,w,d)})}),d}Object.defineProperty(Sr,"__esModule",{value:!0});var to=Sr.shimGetUserMedia=ao,ro=no(J);function Or(r){if(typeof WeakMap!="function")return null;var o=new WeakMap,i=new WeakMap;return(Or=function(d){return d?i:o})(r)}function no(r,o){if(r&&r.__esModule)return r;if(r===null||ie(r)!=="object"&&typeof r!="function")return{default:r};var i=Or(o);if(i&&i.has(r))return i.get(r);var u={},d=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var p in r)if(p!=="default"&&Object.prototype.hasOwnProperty.call(r,p)){var g=d?Object.getOwnPropertyDescriptor(r,p):null;g&&(g.get||g.set)?Object.defineProperty(u,p,g):u[p]=r[p]}return u.default=r,i&&i.set(r,u),u}function ie(r){"@babel/helpers - typeof";return ie=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(o){return typeof o}:function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},ie(r)}var or=ro.log;function ao(r,o){var i=r&&r.navigator;if(i.mediaDevices){var u=function(m){if(ie(m)!=="object"||m.mandatory||m.optional)return m;var $={};return Object.keys(m).forEach(function(P){if(!(P==="require"||P==="advanced"||P==="mediaSource")){var C=ie(m[P])==="object"?m[P]:{ideal:m[P]};C.exact!==void 0&&typeof C.exact=="number"&&(C.min=C.max=C.exact);var U=function(A,D){return A?A+D.charAt(0).toUpperCase()+D.slice(1):D==="deviceId"?"sourceId":D};if(C.ideal!==void 0){$.optional=$.optional||[];var I={};typeof C.ideal=="number"?(I[U("min",P)]=C.ideal,$.optional.push(I),I={},I[U("max",P)]=C.ideal,$.optional.push(I)):(I[U("",P)]=C.ideal,$.optional.push(I))}C.exact!==void 0&&typeof C.exact!="number"?($.mandatory=$.mandatory||{},$.mandatory[U("",P)]=C.exact):["min","max"].forEach(function(V){C[V]!==void 0&&($.mandatory=$.mandatory||{},$.mandatory[U(V,P)]=C[V])})}}),m.advanced&&($.optional=($.optional||[]).concat(m.advanced)),$},d=function(m,$){if(o.version>=61)return $(m);if(m=JSON.parse(JSON.stringify(m)),m&&ie(m.audio)==="object"){var P=function(A,D,X){D in A&&!(X in A)&&(A[X]=A[D],delete A[D])};m=JSON.parse(JSON.stringify(m)),P(m.audio,"autoGainControl","googAutoGainControl"),P(m.audio,"noiseSuppression","googNoiseSuppression"),m.audio=u(m.audio)}if(m&&ie(m.video)==="object"){var C=m.video.facingMode;C=C&&(ie(C)==="object"?C:{ideal:C});var U=o.version<66;if(C&&(C.exact==="user"||C.exact==="environment"||C.ideal==="user"||C.ideal==="environment")&&!(i.mediaDevices.getSupportedConstraints&&i.mediaDevices.getSupportedConstraints().facingMode&&!U)){delete m.video.facingMode;var I;if(C.exact==="environment"||C.ideal==="environment"?I=["back","rear"]:(C.exact==="user"||C.ideal==="user")&&(I=["front"]),I)return i.mediaDevices.enumerateDevices().then(function(V){V=V.filter(function(D){return D.kind==="videoinput"});var A=V.find(function(D){return I.some(function(X){return D.label.toLowerCase().includes(X)})});return!A&&V.length&&I.includes("back")&&(A=V[V.length-1]),A&&(m.video.deviceId=C.exact?{exact:A.deviceId}:{ideal:A.deviceId}),m.video=u(m.video),or("chrome: "+JSON.stringify(m)),$(m)})}m.video=u(m.video)}return or("chrome: "+JSON.stringify(m)),$(m)},p=function(m){return o.version>=64?m:{name:{PermissionDeniedError:"NotAllowedError",PermissionDismissedError:"NotAllowedError",InvalidStateError:"NotAllowedError",DevicesNotFoundError:"NotFoundError",ConstraintNotSatisfiedError:"OverconstrainedError",TrackStartError:"NotReadableError",MediaDeviceFailedDueToShutdown:"NotAllowedError",MediaDeviceKillSwitchOn:"NotAllowedError",TabCaptureError:"AbortError",ScreenCaptureError:"AbortError",DeviceCaptureError:"AbortError"}[m.name]||m.name,message:m.message,constraint:m.constraint||m.constraintName,toString:function(){return this.name+(this.message&&": ")+this.message}}},g=function(m,$,P){d(m,function(C){i.webkitGetUserMedia(C,$,function(U){P&&P(p(U))})})};if(i.getUserMedia=g.bind(i),i.mediaDevices.getUserMedia){var w=i.mediaDevices.getUserMedia.bind(i.mediaDevices);i.mediaDevices.getUserMedia=function(_){return d(_,function(m){return w(m).then(function($){if(m.audio&&!$.getAudioTracks().length||m.video&&!$.getVideoTracks().length)throw $.getTracks().forEach(function(P){P.stop()}),new DOMException("","NotFoundError");return $},function($){return Promise.reject(p($))})})}}}}var Mr={};Object.defineProperty(Mr,"__esModule",{value:!0});var io=Mr.shimGetUserMedia=uo,oo=so(J);function Ar(r){if(typeof WeakMap!="function")return null;var o=new WeakMap,i=new WeakMap;return(Ar=function(d){return d?i:o})(r)}function so(r,o){if(r&&r.__esModule)return r;if(r===null||me(r)!=="object"&&typeof r!="function")return{default:r};var i=Ar(o);if(i&&i.has(r))return i.get(r);var u={},d=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var p in r)if(p!=="default"&&Object.prototype.hasOwnProperty.call(r,p)){var g=d?Object.getOwnPropertyDescriptor(r,p):null;g&&(g.get||g.set)?Object.defineProperty(u,p,g):u[p]=r[p]}return u.default=r,i&&i.set(r,u),u}function me(r){"@babel/helpers - typeof";return me=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(o){return typeof o}:function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},me(r)}function uo(r,o){var i=r&&r.navigator,u=r&&r.MediaStreamTrack;if(i.getUserMedia=function(_,m,$){oo.deprecated("navigator.getUserMedia","navigator.mediaDevices.getUserMedia"),i.mediaDevices.getUserMedia(_).then(m,$)},!(o.version>55&&"autoGainControl"in i.mediaDevices.getSupportedConstraints())){var d=function(m,$,P){$ in m&&!(P in m)&&(m[P]=m[$],delete m[$])},p=i.mediaDevices.getUserMedia.bind(i.mediaDevices);if(i.mediaDevices.getUserMedia=function(_){return me(_)==="object"&&me(_.audio)==="object"&&(_=JSON.parse(JSON.stringify(_)),d(_.audio,"autoGainControl","mozAutoGainControl"),d(_.audio,"noiseSuppression","mozNoiseSuppression")),p(_)},u&&u.prototype.getSettings){var g=u.prototype.getSettings;u.prototype.getSettings=function(){var _=g.apply(this,arguments);return d(_,"mozAutoGainControl","autoGainControl"),d(_,"mozNoiseSuppression","noiseSuppression"),_}}if(u&&u.prototype.applyConstraints){var w=u.prototype.applyConstraints;u.prototype.applyConstraints=function(_){return this.kind==="audio"&&me(_)==="object"&&(_=JSON.parse(JSON.stringify(_)),d(_,"autoGainControl","mozAutoGainControl"),d(_,"noiseSuppression","mozNoiseSuppression")),w.apply(this,[_])}}}}var te={};Object.defineProperty(te,"__esModule",{value:!0});te.shimAudioContext=wo;te.shimCallbacksAPI=ho;te.shimConstraints=xr;te.shimCreateOfferLegacy=go;var co=te.shimGetUserMedia=mo;te.shimLocalStreamsAPI=fo;te.shimRTCIceServerUrls=vo;te.shimRemoteStreamsAPI=po;te.shimTrackEventTransceiver=yo;var Dr=lo(J);function Rr(r){if(typeof WeakMap!="function")return null;var o=new WeakMap,i=new WeakMap;return(Rr=function(d){return d?i:o})(r)}function lo(r,o){if(r&&r.__esModule)return r;if(r===null||se(r)!=="object"&&typeof r!="function")return{default:r};var i=Rr(o);if(i&&i.has(r))return i.get(r);var u={},d=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var p in r)if(p!=="default"&&Object.prototype.hasOwnProperty.call(r,p)){var g=d?Object.getOwnPropertyDescriptor(r,p):null;g&&(g.get||g.set)?Object.defineProperty(u,p,g):u[p]=r[p]}return u.default=r,i&&i.set(r,u),u}function se(r){"@babel/helpers - typeof";return se=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(o){return typeof o}:function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},se(r)}function fo(r){if(!(se(r)!=="object"||!r.RTCPeerConnection)){if("getLocalStreams"in r.RTCPeerConnection.prototype||(r.RTCPeerConnection.prototype.getLocalStreams=function(){return this._localStreams||(this._localStreams=[]),this._localStreams}),!("addStream"in r.RTCPeerConnection.prototype)){var o=r.RTCPeerConnection.prototype.addTrack;r.RTCPeerConnection.prototype.addStream=function(u){var d=this;this._localStreams||(this._localStreams=[]),this._localStreams.includes(u)||this._localStreams.push(u),u.getAudioTracks().forEach(function(p){return o.call(d,p,u)}),u.getVideoTracks().forEach(function(p){return o.call(d,p,u)})},r.RTCPeerConnection.prototype.addTrack=function(u){for(var d=this,p=arguments.length,g=new Array(p>1?p-1:0),w=1;w=0)){u._remoteStreams.push(p);var g=new Event("addstream");g.stream=p,u.dispatchEvent(g)}})}),o.apply(u,arguments)}}}function ho(r){if(!(se(r)!=="object"||!r.RTCPeerConnection)){var o=r.RTCPeerConnection.prototype,i=o.createOffer,u=o.createAnswer,d=o.setLocalDescription,p=o.setRemoteDescription,g=o.addIceCandidate;o.createOffer=function(m,$){var P=arguments.length>=2?arguments[2]:arguments[0],C=i.apply(this,[P]);return $?(C.then(m,$),Promise.resolve()):C},o.createAnswer=function(m,$){var P=arguments.length>=2?arguments[2]:arguments[0],C=u.apply(this,[P]);return $?(C.then(m,$),Promise.resolve()):C};var w=function(m,$,P){var C=d.apply(this,[m]);return P?(C.then($,P),Promise.resolve()):C};o.setLocalDescription=w,w=function(m,$,P){var C=p.apply(this,[m]);return P?(C.then($,P),Promise.resolve()):C},o.setRemoteDescription=w,w=function(m,$,P){var C=g.apply(this,[m]);return P?(C.then($,P),Promise.resolve()):C},o.addIceCandidate=w}}function mo(r){var o=r&&r.navigator;if(o.mediaDevices&&o.mediaDevices.getUserMedia){var i=o.mediaDevices,u=i.getUserMedia.bind(i);o.mediaDevices.getUserMedia=function(d){return u(xr(d))}}!o.getUserMedia&&o.mediaDevices&&o.mediaDevices.getUserMedia&&(o.getUserMedia=(function(p,g,w){o.mediaDevices.getUserMedia(p).then(g,w)}).bind(o))}function xr(r){return r&&r.video!==void 0?Object.assign({},r,{video:Dr.compactObject(r.video)}):r}function vo(r){if(r.RTCPeerConnection){var o=r.RTCPeerConnection;r.RTCPeerConnection=function(u,d){if(u&&u.iceServers){for(var p=[],g=0;g{let o=!1,i;return(...u)=>(o||(i=r(u),o=!0),i)};function Eo(r,o){if(r===!1)throw new Error(o??"assertion failure")}function sr(r){throw new Error("this code should be unreachable")}const Co=bo(()=>{const r=qi(window);switch(r.browser){case"chrome":to(window,r);break;case"firefox":io(window,r);break;case"safari":co(window,r);break;default:throw new $r}});let ve=Promise.resolve({type:"stop",data:{}});async function ur(r,o,i){var w,_;if(console.debug("[vue-qrcode-reader] starting camera with constraints: ",JSON.stringify(o)),window.isSecureContext!==!0)throw new Wi;if(((w=navigator==null?void 0:navigator.mediaDevices)==null?void 0:w.getUserMedia)===void 0)throw new $r;Co(),console.debug("[vue-qrcode-reader] calling getUserMedia");const u=await navigator.mediaDevices.getUserMedia({audio:!1,video:o});r.srcObject!==void 0?r.srcObject=u:r.mozSrcObject!==void 0?r.mozSrcObject=u:window.URL.createObjectURL?r.src=window.URL.createObjectURL(u):window.webkitURL?r.src=window.webkitURL.createObjectURL(u):r.src=u.id,r.play(),console.debug("[vue-qrcode-reader] waiting for video element to load"),await Promise.race([pt(r,"loadeddata"),ar(6e3).then(()=>{throw new Li})]),console.debug("[vue-qrcode-reader] video element loaded"),await ar(500);const[d]=u.getVideoTracks(),p=((_=d==null?void 0:d.getCapabilities)==null?void 0:_.call(d))??{};let g=!1;return i&&p.torch&&(await d.applyConstraints({advanced:[{torch:!0}]}),g=!0),console.debug("[vue-qrcode-reader] camera ready"),{type:"start",data:{videoEl:r,stream:u,capabilities:p,constraints:o,isTorchOn:g}}}async function Oo(r,{constraints:o,torch:i,restart:u=!1}){ve=ve.then(p=>{if(p.type==="start"){const{data:{videoEl:g,stream:w,constraints:_,isTorchOn:m}}=p;return!u&&r===g&&o===_&&i===m?p:Ir(g,w,m).then(()=>ur(r,o,i))}else if(p.type==="stop"||p.type==="failed")return ur(r,o,i);sr()}).catch(p=>(console.debug(`[vue-qrcode-reader] starting camera failed with "${p}"`),{type:"failed",error:p}));const d=await ve;if(d.type==="stop")throw new Error("Something went wrong with the camera task queue (start task).");if(d.type==="failed")throw d.error;if(d.type==="start")return d.data.capabilities;sr()}async function Ir(r,o,i){console.debug("[vue-qrcode-reader] stopping camera"),r.src="",r.srcObject=null,r.load(),await pt(r,"error");for(const u of o.getTracks())i??await u.applyConstraints({advanced:[{torch:!1}]}),o.removeTrack(u),u.stop();return{type:"stop",data:{}}}async function Mo(){if(ve=ve.then(o=>{if(o.type==="stop"||o.type==="failed")return o;const{data:{videoEl:i,stream:u,isTorchOn:d}}=o;return Ir(i,u,d)}),(await ve).type==="start")throw new Error("Something went wrong with the camera task queue (stop task).")}export{_o as _,To as a,Eo as b,Oo as c,Hi as d,So as k,Po as p,Mo as s}; diff --git a/assets/chunks/theme.Bu6m7hlu.js b/assets/chunks/theme.Bu6m7hlu.js new file mode 100644 index 00000000..a99c47e8 --- /dev/null +++ b/assets/chunks/theme.Bu6m7hlu.js @@ -0,0 +1,7 @@ +var De=Object.defineProperty;var Fe=(s,e,t)=>e in s?De(s,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):s[e]=t;var oe=(s,e,t)=>(Fe(s,typeof e!="symbol"?e+"":e,t),t);import{d as $,o as a,c as l,r as u,n as T,a as H,t as L,_ as m,b as k,w as h,e as f,T as ce,u as xe,i as Oe,l as Ue,f as ue,g as b,h as M,j as U,k as c,m as i,p as E,q as D,s as O,v as K,x as re,y as G,z as ee,A as de,B as Ve,C as Ge,D as j,F as C,E as B,G as ve,H as Y,I as _,J as x,K as Le,L as te,M as X,N as se,O as je,P as Re,Q as Se,R as qe,S as Ke,U as We,V as Ye,W as ye,X as Je,Y as Xe,Z as Me,$ as Ce,a0 as Ze,a1 as Qe,a2 as et,a3 as tt}from"./framework.BwCxet3-.js";const st=$({__name:"VPBadge",props:{text:{},type:{default:"tip"}},setup(s){return(e,t)=>(a(),l("span",{class:T(["VPBadge",e.type])},[u(e.$slots,"default",{},()=>[H(L(e.text),1)],!0)],2))}}),nt=m(st,[["__scopeId","data-v-75f292a6"]]),ot={key:0,class:"VPBackdrop"},at=$({__name:"VPBackdrop",props:{show:{type:Boolean}},setup(s){return(e,t)=>(a(),k(ce,{name:"fade"},{default:h(()=>[e.show?(a(),l("div",ot)):f("",!0)]),_:1}))}}),rt=m(at,[["__scopeId","data-v-760ecdb1"]]),P=xe;function it(s,e){let t,n=!1;return()=>{t&&clearTimeout(t),n?t=setTimeout(s,e):(s(),(n=!0)&&setTimeout(()=>n=!1,e))}}function ie(s){return/^\//.test(s)?s:`/${s}`}function he(s){const{pathname:e,search:t,hash:n,protocol:o}=new URL(s,"http://a.com");if(Oe(s)||s.startsWith("#")||!o.startsWith("http")||/\.(?!html|md)\w+($|\?)/i.test(s)&&Ue(s))return s;const{site:r}=P(),d=e.endsWith("/")||e.endsWith(".html")?s:s.replace(/(?:(^\.+)\/)?.*$/,`$1${e.replace(/(\.md)?$/,r.value.cleanUrls?"":".html")}${t}${n}`);return ue(d)}function J({removeCurrent:s=!0,correspondingLink:e=!1}={}){const{site:t,localeIndex:n,page:o,theme:r}=P(),d=b(()=>{var v,g;return{label:(v=t.value.locales[n.value])==null?void 0:v.label,link:((g=t.value.locales[n.value])==null?void 0:g.link)||(n.value==="root"?"/":`/${n.value}/`)}});return{localeLinks:b(()=>Object.entries(t.value.locales).flatMap(([v,g])=>s&&d.value.label===g.label?[]:{text:g.label,link:lt(g.link||(v==="root"?"/":`/${v}/`),r.value.i18nRouting!==!1&&e,o.value.relativePath.slice(d.value.link.length-1),!t.value.cleanUrls)})),currentLang:d}}function lt(s,e,t,n){return e?s.replace(/\/$/,"")+ie(t.replace(/(^|\/)index\.md$/,"$1").replace(/\.md$/,n?".html":"")):s}const ct=s=>(E("data-v-7e500f96"),s=s(),D(),s),ut={class:"NotFound"},dt={class:"code"},vt={class:"title"},ht=ct(()=>c("div",{class:"divider"},null,-1)),pt={class:"quote"},_t={class:"action"},ft=["href","aria-label"],mt=$({__name:"NotFound",setup(s){const{site:e,theme:t}=P(),{localeLinks:n}=J({removeCurrent:!1}),o=M("/");return U(()=>{var d;const r=window.location.pathname.replace(e.value.base,"").replace(/(^.*?\/).*$/,"/$1");n.value.length&&(o.value=((d=n.value.find(({link:p})=>p.startsWith(r)))==null?void 0:d.link)||n.value[0].link)}),(r,d)=>{var p,v,g,w,y;return a(),l("div",ut,[c("p",dt,L(((p=i(t).notFound)==null?void 0:p.code)??"404"),1),c("h1",vt,L(((v=i(t).notFound)==null?void 0:v.title)??"PAGE NOT FOUND"),1),ht,c("blockquote",pt,L(((g=i(t).notFound)==null?void 0:g.quote)??"But if you don't change your direction, and if you keep looking, you may end up where you are heading."),1),c("div",_t,[c("a",{class:"link",href:i(ue)(o.value),"aria-label":((w=i(t).notFound)==null?void 0:w.linkLabel)??"go to home"},L(((y=i(t).notFound)==null?void 0:y.linkText)??"Take me home"),9,ft)])])}}}),gt=m(mt,[["__scopeId","data-v-7e500f96"]]);function Ie(s,e){if(Array.isArray(s))return Z(s);if(s==null)return[];e=ie(e);const t=Object.keys(s).sort((o,r)=>r.split("/").length-o.split("/").length).find(o=>e.startsWith(ie(o))),n=t?s[t]:[];return Array.isArray(n)?Z(n):Z(n.items,n.base)}function $t(s){const e=[];let t=0;for(const n in s){const o=s[n];if(o.items){t=e.push(o);continue}e[t]||e.push({items:[]}),e[t].items.push(o)}return e}function kt(s){const e=[];function t(n){for(const o of n)o.text&&o.link&&e.push({text:o.text,link:o.link,docFooterText:o.docFooterText}),o.items&&t(o.items)}return t(s),e}function le(s,e){return Array.isArray(e)?e.some(t=>le(s,t)):O(s,e.link)?!0:e.items?le(s,e.items):!1}function Z(s,e){return[...s].map(t=>{const n={...t},o=n.base||e;return o&&n.link&&(n.link=o+n.link),n.items&&(n.items=Z(n.items,o)),n})}function F(){const{frontmatter:s,page:e,theme:t}=P(),n=re("(min-width: 960px)"),o=M(!1),r=b(()=>{const A=t.value.sidebar,V=e.value.relativePath;return A?Ie(A,V):[]}),d=M(r.value);G(r,(A,V)=>{JSON.stringify(A)!==JSON.stringify(V)&&(d.value=r.value)});const p=b(()=>s.value.sidebar!==!1&&d.value.length>0&&s.value.layout!=="home"),v=b(()=>g?s.value.aside==null?t.value.aside==="left":s.value.aside==="left":!1),g=b(()=>s.value.layout==="home"?!1:s.value.aside!=null?!!s.value.aside:t.value.aside!==!1),w=b(()=>p.value&&n.value),y=b(()=>p.value?$t(d.value):[]);function I(){o.value=!0}function S(){o.value=!1}function N(){o.value?S():I()}return{isOpen:o,sidebar:d,sidebarGroups:y,hasSidebar:p,hasAside:g,leftAside:v,isSidebarEnabled:w,open:I,close:S,toggle:N}}function bt(s,e){let t;ee(()=>{t=s.value?document.activeElement:void 0}),U(()=>{window.addEventListener("keyup",n)}),de(()=>{window.removeEventListener("keyup",n)});function n(o){o.key==="Escape"&&s.value&&(e(),t==null||t.focus())}}const Te=M(K?location.hash:"");K&&window.addEventListener("hashchange",()=>{Te.value=location.hash});function yt(s){const{page:e}=P(),t=M(!1),n=b(()=>s.value.collapsed!=null),o=b(()=>!!s.value.link),r=M(!1),d=()=>{r.value=O(e.value.relativePath,s.value.link)};G([e,s,Te],d),U(d);const p=b(()=>r.value?!0:s.value.items?le(e.value.relativePath,s.value.items):!1),v=b(()=>!!(s.value.items&&s.value.items.length));ee(()=>{t.value=!!(n.value&&s.value.collapsed)}),Ve(()=>{(r.value||p.value)&&(t.value=!1)});function g(){n.value&&(t.value=!t.value)}return{collapsed:t,collapsible:n,isLink:o,isActiveLink:r,hasActiveLink:p,hasChildren:v,toggle:g}}function Pt(){const{hasSidebar:s}=F(),e=re("(min-width: 960px)"),t=re("(min-width: 1280px)");return{isAsideEnabled:b(()=>!t.value&&!e.value?!1:s.value?t.value:e.value)}}const wt=71;function pe(s){return typeof s.outline=="object"&&!Array.isArray(s.outline)&&s.outline.label||s.outlineTitle||"On this page"}function _e(s){const e=[...document.querySelectorAll(".VPDoc :where(h1,h2,h3,h4,h5,h6)")].filter(t=>t.id&&t.hasChildNodes()).map(t=>{const n=Number(t.tagName[1]);return{title:Vt(t),link:"#"+t.id,level:n}});return Lt(e,s)}function Vt(s){let e="";for(const t of s.childNodes)if(t.nodeType===1){if(t.classList.contains("VPBadge")||t.classList.contains("header-anchor")||t.classList.contains("ignore-header"))continue;e+=t.textContent}else t.nodeType===3&&(e+=t.textContent);return e.trim()}function Lt(s,e){if(e===!1)return[];const t=(typeof e=="object"&&!Array.isArray(e)?e.level:e)||2,[n,o]=typeof t=="number"?[t,t]:t==="deep"?[2,6]:t;s=s.filter(d=>d.level>=n&&d.level<=o);const r=[];e:for(let d=0;d=0;v--){const g=s[v];if(g.level{requestAnimationFrame(r),window.addEventListener("scroll",n)}),Ge(()=>{d(location.hash)}),de(()=>{window.removeEventListener("scroll",n)});function r(){if(!t.value)return;const p=[].slice.call(s.value.querySelectorAll(".outline-link")),v=[].slice.call(document.querySelectorAll(".content .header-anchor")).filter(S=>p.some(N=>N.hash===S.hash&&S.offsetParent!==null)),g=window.scrollY,w=window.innerHeight,y=document.body.offsetHeight,I=Math.abs(g+w-y)<1;if(v.length&&I){d(v[v.length-1].hash);return}for(let S=0;S{const o=j("VPDocOutlineItem",!0);return a(),l("ul",{class:T(t.root?"root":"nested")},[(a(!0),l(C,null,B(t.headers,({children:r,link:d,title:p})=>(a(),l("li",null,[c("a",{class:"outline-link",href:d,onClick:e,title:p},L(p),9,Ct),r!=null&&r.length?(a(),k(o,{key:0,headers:r},null,8,["headers"])):f("",!0)]))),256))],2)}}}),fe=m(It,[["__scopeId","data-v-f572b6c7"]]),Tt=s=>(E("data-v-b2afe6e7"),s=s(),D(),s),At={class:"content"},Nt={class:"outline-title",role:"heading","aria-level":"2"},Bt={"aria-labelledby":"doc-outline-aria-label"},Ht=Tt(()=>c("span",{class:"visually-hidden",id:"doc-outline-aria-label"}," Table of Contents for current page ",-1)),zt=$({__name:"VPDocAsideOutline",setup(s){const{frontmatter:e,theme:t}=P(),n=ve([]);Y(()=>{n.value=_e(e.value.outline??t.value.outline)});const o=M(),r=M();return St(o,r),(d,p)=>(a(),l("div",{class:T(["VPDocAsideOutline",{"has-outline":n.value.length>0}]),ref_key:"container",ref:o,role:"navigation"},[c("div",At,[c("div",{class:"outline-marker",ref_key:"marker",ref:r},null,512),c("div",Nt,L(i(pe)(i(t))),1),c("nav",Bt,[Ht,_(fe,{headers:n.value,root:!0},null,8,["headers"])])])],2))}}),Et=m(zt,[["__scopeId","data-v-b2afe6e7"]]),Dt={class:"VPDocAsideCarbonAds"},Ft=$({__name:"VPDocAsideCarbonAds",props:{carbonAds:{}},setup(s){const e=()=>null;return(t,n)=>(a(),l("div",Dt,[_(i(e),{"carbon-ads":t.carbonAds},null,8,["carbon-ads"])]))}}),xt=s=>(E("data-v-bf5b0a1a"),s=s(),D(),s),Ot={class:"VPDocAside"},Ut=xt(()=>c("div",{class:"spacer"},null,-1)),Gt=$({__name:"VPDocAside",setup(s){const{theme:e}=P();return(t,n)=>(a(),l("div",Ot,[u(t.$slots,"aside-top",{},void 0,!0),u(t.$slots,"aside-outline-before",{},void 0,!0),_(Et),u(t.$slots,"aside-outline-after",{},void 0,!0),Ut,u(t.$slots,"aside-ads-before",{},void 0,!0),i(e).carbonAds?(a(),k(Ft,{key:0,"carbon-ads":i(e).carbonAds},null,8,["carbon-ads"])):f("",!0),u(t.$slots,"aside-ads-after",{},void 0,!0),u(t.$slots,"aside-bottom",{},void 0,!0)]))}}),jt=m(Gt,[["__scopeId","data-v-bf5b0a1a"]]);function Rt(){const{theme:s,page:e}=P();return b(()=>{const{text:t="Edit this page",pattern:n=""}=s.value.editLink||{};let o;return typeof n=="function"?o=n(e.value):o=n.replace(/:path/g,e.value.filePath),{url:o,text:t}})}function qt(){const{page:s,theme:e,frontmatter:t}=P();return b(()=>{var v,g,w,y,I,S,N,A;const n=Ie(e.value.sidebar,s.value.relativePath),o=kt(n),r=o.findIndex(V=>O(s.value.relativePath,V.link)),d=((v=e.value.docFooter)==null?void 0:v.prev)===!1&&!t.value.prev||t.value.prev===!1,p=((g=e.value.docFooter)==null?void 0:g.next)===!1&&!t.value.next||t.value.next===!1;return{prev:d?void 0:{text:(typeof t.value.prev=="string"?t.value.prev:typeof t.value.prev=="object"?t.value.prev.text:void 0)??((w=o[r-1])==null?void 0:w.docFooterText)??((y=o[r-1])==null?void 0:y.text),link:(typeof t.value.prev=="object"?t.value.prev.link:void 0)??((I=o[r-1])==null?void 0:I.link)},next:p?void 0:{text:(typeof t.value.next=="string"?t.value.next:typeof t.value.next=="object"?t.value.next.text:void 0)??((S=o[r+1])==null?void 0:S.docFooterText)??((N=o[r+1])==null?void 0:N.text),link:(typeof t.value.next=="object"?t.value.next.link:void 0)??((A=o[r+1])==null?void 0:A.link)}}})}const Kt={},Wt={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Yt=c("path",{d:"M18,23H4c-1.7,0-3-1.3-3-3V6c0-1.7,1.3-3,3-3h7c0.6,0,1,0.4,1,1s-0.4,1-1,1H4C3.4,5,3,5.4,3,6v14c0,0.6,0.4,1,1,1h14c0.6,0,1-0.4,1-1v-7c0-0.6,0.4-1,1-1s1,0.4,1,1v7C21,21.7,19.7,23,18,23z"},null,-1),Jt=c("path",{d:"M8,17c-0.3,0-0.5-0.1-0.7-0.3C7,16.5,6.9,16.1,7,15.8l1-4c0-0.2,0.1-0.3,0.3-0.5l9.5-9.5c1.2-1.2,3.2-1.2,4.4,0c1.2,1.2,1.2,3.2,0,4.4l-9.5,9.5c-0.1,0.1-0.3,0.2-0.5,0.3l-4,1C8.2,17,8.1,17,8,17zM9.9,12.5l-0.5,2.1l2.1-0.5l9.3-9.3c0.4-0.4,0.4-1.1,0-1.6c-0.4-0.4-1.2-0.4-1.6,0l0,0L9.9,12.5z M18.5,2.5L18.5,2.5L18.5,2.5z"},null,-1),Xt=[Yt,Jt];function Zt(s,e){return a(),l("svg",Wt,Xt)}const Qt=m(Kt,[["render",Zt]]),z=$({__name:"VPLink",props:{tag:{},href:{},noIcon:{type:Boolean},target:{},rel:{}},setup(s){const e=s,t=b(()=>e.tag??(e.href?"a":"span")),n=b(()=>e.href&&Le.test(e.href));return(o,r)=>(a(),k(x(t.value),{class:T(["VPLink",{link:o.href,"vp-external-link-icon":n.value,"no-icon":o.noIcon}]),href:o.href?i(he)(o.href):void 0,target:o.target??(n.value?"_blank":void 0),rel:o.rel??(n.value?"noreferrer":void 0)},{default:h(()=>[u(o.$slots,"default")]),_:3},8,["class","href","target","rel"]))}}),es={class:"VPLastUpdated"},ts=["datetime"],ss=$({__name:"VPDocFooterLastUpdated",setup(s){const{theme:e,page:t,frontmatter:n,lang:o}=P(),r=b(()=>new Date(n.value.lastUpdated??t.value.lastUpdated)),d=b(()=>r.value.toISOString()),p=M("");return U(()=>{ee(()=>{var v,g,w;p.value=new Intl.DateTimeFormat((g=(v=e.value.lastUpdated)==null?void 0:v.formatOptions)!=null&&g.forceLocale?o.value:void 0,((w=e.value.lastUpdated)==null?void 0:w.formatOptions)??{dateStyle:"short",timeStyle:"short"}).format(r.value)})}),(v,g)=>{var w;return a(),l("p",es,[H(L(((w=i(e).lastUpdated)==null?void 0:w.text)||i(e).lastUpdatedText||"Last updated")+": ",1),c("time",{datetime:d.value},L(p.value),9,ts)])}}}),ns=m(ss,[["__scopeId","data-v-3e59b6ea"]]),os={key:0,class:"VPDocFooter"},as={key:0,class:"edit-info"},rs={key:0,class:"edit-link"},is={key:1,class:"last-updated"},ls={key:1,class:"prev-next"},cs={class:"pager"},us=["innerHTML"],ds=["innerHTML"],vs={class:"pager"},hs=["innerHTML"],ps=["innerHTML"],_s=$({__name:"VPDocFooter",setup(s){const{theme:e,page:t,frontmatter:n}=P(),o=Rt(),r=qt(),d=b(()=>e.value.editLink&&n.value.editLink!==!1),p=b(()=>t.value.lastUpdated&&n.value.lastUpdated!==!1),v=b(()=>d.value||p.value||r.value.prev||r.value.next);return(g,w)=>{var y,I,S,N;return v.value?(a(),l("footer",os,[u(g.$slots,"doc-footer-before",{},void 0,!0),d.value||p.value?(a(),l("div",as,[d.value?(a(),l("div",rs,[_(z,{class:"edit-link-button",href:i(o).url,"no-icon":!0},{default:h(()=>[_(Qt,{class:"edit-link-icon","aria-label":"edit icon"}),H(" "+L(i(o).text),1)]),_:1},8,["href"])])):f("",!0),p.value?(a(),l("div",is,[_(ns)])):f("",!0)])):f("",!0),(y=i(r).prev)!=null&&y.link||(I=i(r).next)!=null&&I.link?(a(),l("nav",ls,[c("div",cs,[(S=i(r).prev)!=null&&S.link?(a(),k(z,{key:0,class:"pager-link prev",href:i(r).prev.link},{default:h(()=>{var A;return[c("span",{class:"desc",innerHTML:((A=i(e).docFooter)==null?void 0:A.prev)||"Previous page"},null,8,us),c("span",{class:"title",innerHTML:i(r).prev.text},null,8,ds)]}),_:1},8,["href"])):f("",!0)]),c("div",vs,[(N=i(r).next)!=null&&N.link?(a(),k(z,{key:0,class:"pager-link next",href:i(r).next.link},{default:h(()=>{var A;return[c("span",{class:"desc",innerHTML:((A=i(e).docFooter)==null?void 0:A.next)||"Next page"},null,8,hs),c("span",{class:"title",innerHTML:i(r).next.text},null,8,ps)]}),_:1},8,["href"])):f("",!0)])])):f("",!0)])):f("",!0)}}}),fs=m(_s,[["__scopeId","data-v-af81018a"]]),ms={},gs={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},$s=c("path",{d:"M9,19c-0.3,0-0.5-0.1-0.7-0.3c-0.4-0.4-0.4-1,0-1.4l5.3-5.3L8.3,6.7c-0.4-0.4-0.4-1,0-1.4s1-0.4,1.4,0l6,6c0.4,0.4,0.4,1,0,1.4l-6,6C9.5,18.9,9.3,19,9,19z"},null,-1),ks=[$s];function bs(s,e){return a(),l("svg",gs,ks)}const me=m(ms,[["render",bs]]),ys={key:0,class:"VPDocOutlineDropdown"},Ps={key:0,class:"items"},ws=$({__name:"VPDocOutlineDropdown",setup(s){const{frontmatter:e,theme:t}=P(),n=M(!1);Y(()=>{n.value=!1});const o=ve([]);return Y(()=>{o.value=_e(e.value.outline??t.value.outline)}),(r,d)=>o.value.length>0?(a(),l("div",ys,[c("button",{onClick:d[0]||(d[0]=p=>n.value=!n.value),class:T({open:n.value})},[H(L(i(pe)(i(t)))+" ",1),_(me,{class:"icon"})],2),n.value?(a(),l("div",Ps,[_(fe,{headers:o.value},null,8,["headers"])])):f("",!0)])):f("",!0)}}),Vs=m(ws,[["__scopeId","data-v-50d70e3e"]]),Ls=s=>(E("data-v-d6e7173f"),s=s(),D(),s),Ss={class:"container"},Ms=Ls(()=>c("div",{class:"aside-curtain"},null,-1)),Cs={class:"aside-container"},Is={class:"aside-content"},Ts={class:"content"},As={class:"content-container"},Ns={class:"main"},Bs=$({__name:"VPDoc",setup(s){const{theme:e}=P(),t=te(),{hasSidebar:n,hasAside:o,leftAside:r}=F(),d=b(()=>t.path.replace(/[./]+/g,"_").replace(/_html$/,""));return(p,v)=>{const g=j("Content");return a(),l("div",{class:T(["VPDoc",{"has-sidebar":i(n),"has-aside":i(o)}])},[u(p.$slots,"doc-top",{},void 0,!0),c("div",Ss,[i(o)?(a(),l("div",{key:0,class:T(["aside",{"left-aside":i(r)}])},[Ms,c("div",Cs,[c("div",Is,[_(jt,null,{"aside-top":h(()=>[u(p.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":h(()=>[u(p.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":h(()=>[u(p.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":h(()=>[u(p.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":h(()=>[u(p.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":h(()=>[u(p.$slots,"aside-ads-after",{},void 0,!0)]),_:3})])])],2)):f("",!0),c("div",Ts,[c("div",As,[u(p.$slots,"doc-before",{},void 0,!0),_(Vs),c("main",Ns,[_(g,{class:T(["vp-doc",[d.value,i(e).externalLinkIcon&&"external-link-icon-enabled"]])},null,8,["class"])]),_(fs,null,{"doc-footer-before":h(()=>[u(p.$slots,"doc-footer-before",{},void 0,!0)]),_:3}),u(p.$slots,"doc-after",{},void 0,!0)])])]),u(p.$slots,"doc-bottom",{},void 0,!0)],2)}}}),Hs=m(Bs,[["__scopeId","data-v-d6e7173f"]]),zs=$({__name:"VPButton",props:{tag:{},size:{default:"medium"},theme:{default:"brand"},text:{},href:{}},setup(s){const e=s,t=b(()=>e.href&&Le.test(e.href)),n=b(()=>e.tag||e.href?"a":"button");return(o,r)=>(a(),k(x(n.value),{class:T(["VPButton",[o.size,o.theme]]),href:o.href?i(he)(o.href):void 0,target:t.value?"_blank":void 0,rel:t.value?"noreferrer":void 0},{default:h(()=>[H(L(o.text),1)]),_:1},8,["class","href","target","rel"]))}}),Es=m(zs,[["__scopeId","data-v-dab43781"]]),Ds=["src","alt"],Fs=$({inheritAttrs:!1,__name:"VPImage",props:{image:{},alt:{}},setup(s){return(e,t)=>{const n=j("VPImage",!0);return e.image?(a(),l(C,{key:0},[typeof e.image=="string"||"src"in e.image?(a(),l("img",X({key:0,class:"VPImage"},typeof e.image=="string"?e.$attrs:{...e.image,...e.$attrs},{src:i(ue)(typeof e.image=="string"?e.image:e.image.src),alt:e.alt??(typeof e.image=="string"?"":e.image.alt||"")}),null,16,Ds)):(a(),l(C,{key:1},[_(n,X({class:"dark",image:e.image.dark,alt:e.image.alt},e.$attrs),null,16,["image","alt"]),_(n,X({class:"light",image:e.image.light,alt:e.image.alt},e.$attrs),null,16,["image","alt"])],64))],64)):f("",!0)}}}),Q=m(Fs,[["__scopeId","data-v-5e9d3743"]]),xs=s=>(E("data-v-3d55d3ac"),s=s(),D(),s),Os={class:"container"},Us={class:"main"},Gs={key:0,class:"name"},js=["innerHTML"],Rs=["innerHTML"],qs=["innerHTML"],Ks={key:0,class:"actions"},Ws={key:0,class:"image"},Ys={class:"image-container"},Js=xs(()=>c("div",{class:"image-bg"},null,-1)),Xs=$({__name:"VPHero",props:{name:{},text:{},tagline:{},image:{},actions:{}},setup(s){const e=se("hero-image-slot-exists");return(t,n)=>(a(),l("div",{class:T(["VPHero",{"has-image":t.image||i(e)}])},[c("div",Os,[c("div",Us,[u(t.$slots,"home-hero-info",{},()=>[t.name?(a(),l("h1",Gs,[c("span",{innerHTML:t.name,class:"clip"},null,8,js)])):f("",!0),t.text?(a(),l("p",{key:1,innerHTML:t.text,class:"text"},null,8,Rs)):f("",!0),t.tagline?(a(),l("p",{key:2,innerHTML:t.tagline,class:"tagline"},null,8,qs)):f("",!0)],!0),t.actions?(a(),l("div",Ks,[(a(!0),l(C,null,B(t.actions,o=>(a(),l("div",{key:o.link,class:"action"},[_(Es,{tag:"a",size:"medium",theme:o.theme,text:o.text,href:o.link},null,8,["theme","text","href"])]))),128))])):f("",!0)]),t.image||i(e)?(a(),l("div",Ws,[c("div",Ys,[Js,u(t.$slots,"home-hero-image",{},()=>[t.image?(a(),k(Q,{key:0,class:"image-src",image:t.image},null,8,["image"])):f("",!0)],!0)])])):f("",!0)])],2))}}),Zs=m(Xs,[["__scopeId","data-v-3d55d3ac"]]),Qs=$({__name:"VPHomeHero",setup(s){const{frontmatter:e}=P();return(t,n)=>i(e).hero?(a(),k(Zs,{key:0,class:"VPHomeHero",name:i(e).hero.name,text:i(e).hero.text,tagline:i(e).hero.tagline,image:i(e).hero.image,actions:i(e).hero.actions},{"home-hero-info":h(()=>[u(t.$slots,"home-hero-info")]),"home-hero-image":h(()=>[u(t.$slots,"home-hero-image")]),_:3},8,["name","text","tagline","image","actions"])):f("",!0)}}),en={},tn={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},sn=c("path",{d:"M19.9,12.4c0.1-0.2,0.1-0.5,0-0.8c-0.1-0.1-0.1-0.2-0.2-0.3l-7-7c-0.4-0.4-1-0.4-1.4,0s-0.4,1,0,1.4l5.3,5.3H5c-0.6,0-1,0.4-1,1s0.4,1,1,1h11.6l-5.3,5.3c-0.4,0.4-0.4,1,0,1.4c0.2,0.2,0.5,0.3,0.7,0.3s0.5-0.1,0.7-0.3l7-7C19.8,12.6,19.9,12.5,19.9,12.4z"},null,-1),nn=[sn];function on(s,e){return a(),l("svg",tn,nn)}const an=m(en,[["render",on]]),rn={class:"box"},ln={key:0,class:"icon"},cn=["innerHTML"],un=["innerHTML"],dn=["innerHTML"],vn={key:4,class:"link-text"},hn={class:"link-text-value"},pn=$({__name:"VPFeature",props:{icon:{},title:{},details:{},link:{},linkText:{},rel:{},target:{}},setup(s){return(e,t)=>(a(),k(z,{class:"VPFeature",href:e.link,rel:e.rel,target:e.target,"no-icon":!0,tag:e.link?"a":"div"},{default:h(()=>[c("article",rn,[typeof e.icon=="object"&&e.icon.wrap?(a(),l("div",ln,[_(Q,{image:e.icon,alt:e.icon.alt,height:e.icon.height||48,width:e.icon.width||48},null,8,["image","alt","height","width"])])):typeof e.icon=="object"?(a(),k(Q,{key:1,image:e.icon,alt:e.icon.alt,height:e.icon.height||48,width:e.icon.width||48},null,8,["image","alt","height","width"])):e.icon?(a(),l("div",{key:2,class:"icon",innerHTML:e.icon},null,8,cn)):f("",!0),c("h2",{class:"title",innerHTML:e.title},null,8,un),e.details?(a(),l("p",{key:3,class:"details",innerHTML:e.details},null,8,dn)):f("",!0),e.linkText?(a(),l("div",vn,[c("p",hn,[H(L(e.linkText)+" ",1),_(an,{class:"link-text-icon"})])])):f("",!0)])]),_:1},8,["href","rel","target","tag"]))}}),_n=m(pn,[["__scopeId","data-v-9e238735"]]),fn={key:0,class:"VPFeatures"},mn={class:"container"},gn={class:"items"},$n=$({__name:"VPFeatures",props:{features:{}},setup(s){const e=s,t=b(()=>{const n=e.features.length;if(n){if(n===2)return"grid-2";if(n===3)return"grid-3";if(n%3===0)return"grid-6";if(n>3)return"grid-4"}else return});return(n,o)=>n.features?(a(),l("div",fn,[c("div",mn,[c("div",gn,[(a(!0),l(C,null,B(n.features,r=>(a(),l("div",{key:r.title,class:T(["item",[t.value]])},[_(_n,{icon:r.icon,title:r.title,details:r.details,link:r.link,"link-text":r.linkText,rel:r.rel,target:r.target},null,8,["icon","title","details","link","link-text","rel","target"])],2))),128))])])])):f("",!0)}}),kn=m($n,[["__scopeId","data-v-ca45db35"]]),bn=$({__name:"VPHomeFeatures",setup(s){const{frontmatter:e}=P();return(t,n)=>i(e).features?(a(),k(kn,{key:0,class:"VPHomeFeatures",features:i(e).features},null,8,["features"])):f("",!0)}}),yn={class:"VPHome"},Pn=$({__name:"VPHome",setup(s){return(e,t)=>{const n=j("Content");return a(),l("div",yn,[u(e.$slots,"home-hero-before",{},void 0,!0),_(Qs,null,{"home-hero-info":h(()=>[u(e.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-image":h(()=>[u(e.$slots,"home-hero-image",{},void 0,!0)]),_:3}),u(e.$slots,"home-hero-after",{},void 0,!0),u(e.$slots,"home-features-before",{},void 0,!0),_(bn),u(e.$slots,"home-features-after",{},void 0,!0),_(n)])}}}),wn=m(Pn,[["__scopeId","data-v-01afa548"]]),Vn={},Ln={class:"VPPage"};function Sn(s,e){const t=j("Content");return a(),l("div",Ln,[u(s.$slots,"page-top"),_(t),u(s.$slots,"page-bottom")])}const Mn=m(Vn,[["render",Sn]]),Cn=$({__name:"VPContent",setup(s){const{page:e,frontmatter:t}=P(),{hasSidebar:n}=F();return(o,r)=>(a(),l("div",{class:T(["VPContent",{"has-sidebar":i(n),"is-home":i(t).layout==="home"}]),id:"VPContent"},[i(e).isNotFound?u(o.$slots,"not-found",{key:0},()=>[_(gt)],!0):i(t).layout==="page"?(a(),k(Mn,{key:1},{"page-top":h(()=>[u(o.$slots,"page-top",{},void 0,!0)]),"page-bottom":h(()=>[u(o.$slots,"page-bottom",{},void 0,!0)]),_:3})):i(t).layout==="home"?(a(),k(wn,{key:2},{"home-hero-before":h(()=>[u(o.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info":h(()=>[u(o.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-image":h(()=>[u(o.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":h(()=>[u(o.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":h(()=>[u(o.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":h(()=>[u(o.$slots,"home-features-after",{},void 0,!0)]),_:3})):i(t).layout&&i(t).layout!=="doc"?(a(),k(x(i(t).layout),{key:3})):(a(),k(Hs,{key:4},{"doc-top":h(()=>[u(o.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":h(()=>[u(o.$slots,"doc-bottom",{},void 0,!0)]),"doc-footer-before":h(()=>[u(o.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":h(()=>[u(o.$slots,"doc-before",{},void 0,!0)]),"doc-after":h(()=>[u(o.$slots,"doc-after",{},void 0,!0)]),"aside-top":h(()=>[u(o.$slots,"aside-top",{},void 0,!0)]),"aside-outline-before":h(()=>[u(o.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":h(()=>[u(o.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":h(()=>[u(o.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":h(()=>[u(o.$slots,"aside-ads-after",{},void 0,!0)]),"aside-bottom":h(()=>[u(o.$slots,"aside-bottom",{},void 0,!0)]),_:3}))],2))}}),In=m(Cn,[["__scopeId","data-v-3c9d3bd7"]]),Tn={class:"container"},An=["innerHTML"],Nn=["innerHTML"],Bn=$({__name:"VPFooter",setup(s){const{theme:e,frontmatter:t}=P(),{hasSidebar:n}=F();return(o,r)=>i(e).footer&&i(t).footer!==!1?(a(),l("footer",{key:0,class:T(["VPFooter",{"has-sidebar":i(n)}])},[c("div",Tn,[i(e).footer.message?(a(),l("p",{key:0,class:"message",innerHTML:i(e).footer.message},null,8,An)):f("",!0),i(e).footer.copyright?(a(),l("p",{key:1,class:"copyright",innerHTML:i(e).footer.copyright},null,8,Nn)):f("",!0)])],2)):f("",!0)}}),Hn=m(Bn,[["__scopeId","data-v-119c886c"]]),zn={class:"header"},En={class:"outline"},Dn=$({__name:"VPLocalNavOutlineDropdown",props:{headers:{},navHeight:{}},setup(s){const e=s,{theme:t}=P(),n=M(!1),o=M(0),r=M();Y(()=>{n.value=!1});function d(){n.value=!n.value,o.value=window.innerHeight+Math.min(window.scrollY-e.navHeight,0)}function p(g){g.target.classList.contains("outline-link")&&(r.value&&(r.value.style.transition="none"),Re(()=>{n.value=!1}))}function v(){n.value=!1,window.scrollTo({top:0,left:0,behavior:"smooth"})}return(g,w)=>(a(),l("div",{class:"VPLocalNavOutlineDropdown",style:je({"--vp-vh":o.value+"px"})},[g.headers.length>0?(a(),l("button",{key:0,onClick:d,class:T({open:n.value})},[H(L(i(pe)(i(t)))+" ",1),_(me,{class:"icon"})],2)):(a(),l("button",{key:1,onClick:v},L(i(t).returnToTopLabel||"Return to top"),1)),_(ce,{name:"flyout"},{default:h(()=>[n.value?(a(),l("div",{key:0,ref_key:"items",ref:r,class:"items",onClick:p},[c("div",zn,[c("a",{class:"top-link",href:"#",onClick:v},L(i(t).returnToTopLabel||"Return to top"),1)]),c("div",En,[_(fe,{headers:g.headers},null,8,["headers"])])],512)):f("",!0)]),_:1})],4))}}),Fn=m(Dn,[["__scopeId","data-v-5033ea2f"]]),xn={},On={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},Un=c("path",{d:"M17,11H3c-0.6,0-1-0.4-1-1s0.4-1,1-1h14c0.6,0,1,0.4,1,1S17.6,11,17,11z"},null,-1),Gn=c("path",{d:"M21,7H3C2.4,7,2,6.6,2,6s0.4-1,1-1h18c0.6,0,1,0.4,1,1S21.6,7,21,7z"},null,-1),jn=c("path",{d:"M21,15H3c-0.6,0-1-0.4-1-1s0.4-1,1-1h18c0.6,0,1,0.4,1,1S21.6,15,21,15z"},null,-1),Rn=c("path",{d:"M17,19H3c-0.6,0-1-0.4-1-1s0.4-1,1-1h14c0.6,0,1,0.4,1,1S17.6,19,17,19z"},null,-1),qn=[Un,Gn,jn,Rn];function Kn(s,e){return a(),l("svg",On,qn)}const Wn=m(xn,[["render",Kn]]),Yn=["aria-expanded"],Jn={class:"menu-text"},Xn=$({__name:"VPLocalNav",props:{open:{type:Boolean}},emits:["open-menu"],setup(s){const{theme:e,frontmatter:t}=P(),{hasSidebar:n}=F(),{y:o}=Se(),r=ve([]),d=M(0);U(()=>{d.value=parseInt(getComputedStyle(document.documentElement).getPropertyValue("--vp-nav-height"))}),Y(()=>{r.value=_e(t.value.outline??e.value.outline)});const p=b(()=>r.value.length===0&&!n.value),v=b(()=>({VPLocalNav:!0,fixed:p.value,"reached-top":o.value>=d.value}));return(g,w)=>i(t).layout!=="home"&&(!p.value||i(o)>=d.value)?(a(),l("div",{key:0,class:T(v.value)},[i(n)?(a(),l("button",{key:0,class:"menu","aria-expanded":g.open,"aria-controls":"VPSidebarNav",onClick:w[0]||(w[0]=y=>g.$emit("open-menu"))},[_(Wn,{class:"menu-icon"}),c("span",Jn,L(i(e).sidebarMenuLabel||"Menu"),1)],8,Yn)):f("",!0),_(Fn,{headers:r.value,navHeight:d.value},null,8,["headers","navHeight"])],2)):f("",!0)}}),Zn=m(Xn,[["__scopeId","data-v-152dc0a6"]]);function Qn(){const s=M(!1);function e(){s.value=!0,window.addEventListener("resize",o)}function t(){s.value=!1,window.removeEventListener("resize",o)}function n(){s.value?t():e()}function o(){window.outerWidth>=768&&t()}const r=te();return G(()=>r.path,t),{isScreenOpen:s,openScreen:e,closeScreen:t,toggleScreen:n}}const eo={},to={class:"VPSwitch",type:"button",role:"switch"},so={class:"check"},no={key:0,class:"icon"};function oo(s,e){return a(),l("button",to,[c("span",so,[s.$slots.default?(a(),l("span",no,[u(s.$slots,"default",{},void 0,!0)])):f("",!0)])])}const ao=m(eo,[["render",oo],["__scopeId","data-v-a376846d"]]),ro={},io={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},lo=c("path",{d:"M12.1,22c-0.3,0-0.6,0-0.9,0c-5.5-0.5-9.5-5.4-9-10.9c0.4-4.8,4.2-8.6,9-9c0.4,0,0.8,0.2,1,0.5c0.2,0.3,0.2,0.8-0.1,1.1c-2,2.7-1.4,6.4,1.3,8.4c2.1,1.6,5,1.6,7.1,0c0.3-0.2,0.7-0.3,1.1-0.1c0.3,0.2,0.5,0.6,0.5,1c-0.2,2.7-1.5,5.1-3.6,6.8C16.6,21.2,14.4,22,12.1,22zM9.3,4.4c-2.9,1-5,3.6-5.2,6.8c-0.4,4.4,2.8,8.3,7.2,8.7c2.1,0.2,4.2-0.4,5.8-1.8c1.1-0.9,1.9-2.1,2.4-3.4c-2.5,0.9-5.3,0.5-7.5-1.1C9.2,11.4,8.1,7.7,9.3,4.4z"},null,-1),co=[lo];function uo(s,e){return a(),l("svg",io,co)}const vo=m(ro,[["render",uo]]),ho={},po={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},_o=qe('',9),fo=[_o];function mo(s,e){return a(),l("svg",po,fo)}const go=m(ho,[["render",mo]]),$o=$({__name:"VPSwitchAppearance",setup(s){const{isDark:e}=P(),t=se("toggle-appearance",()=>{e.value=!e.value}),n=b(()=>e.value?"Switch to light theme":"Switch to dark theme");return(o,r)=>(a(),k(ao,{title:n.value,class:"VPSwitchAppearance","aria-checked":i(e),onClick:i(t)},{default:h(()=>[_(go,{class:"sun"}),_(vo,{class:"moon"})]),_:1},8,["title","aria-checked","onClick"]))}}),ge=m($o,[["__scopeId","data-v-ad0435dc"]]),ko={key:0,class:"VPNavBarAppearance"},bo=$({__name:"VPNavBarAppearance",setup(s){const{site:e}=P();return(t,n)=>i(e).appearance&&i(e).appearance!=="force-dark"?(a(),l("div",ko,[_(ge)])):f("",!0)}}),yo=m(bo,[["__scopeId","data-v-b7841039"]]),$e=M();let Ae=!1,ae=0;function Po(s){const e=M(!1);if(K){!Ae&&wo(),ae++;const t=G($e,n=>{var o,r,d;n===s.el.value||(o=s.el.value)!=null&&o.contains(n)?(e.value=!0,(r=s.onFocus)==null||r.call(s)):(e.value=!1,(d=s.onBlur)==null||d.call(s))});de(()=>{t(),ae--,ae||Vo()})}return Ke(e)}function wo(){document.addEventListener("focusin",Ne),Ae=!0,$e.value=document.activeElement}function Vo(){document.removeEventListener("focusin",Ne)}function Ne(){$e.value=document.activeElement}const Lo={},So={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},Mo=c("path",{d:"M12,16c-0.3,0-0.5-0.1-0.7-0.3l-6-6c-0.4-0.4-0.4-1,0-1.4s1-0.4,1.4,0l5.3,5.3l5.3-5.3c0.4-0.4,1-0.4,1.4,0s0.4,1,0,1.4l-6,6C12.5,15.9,12.3,16,12,16z"},null,-1),Co=[Mo];function Io(s,e){return a(),l("svg",So,Co)}const Be=m(Lo,[["render",Io]]),To={},Ao={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},No=c("circle",{cx:"12",cy:"12",r:"2"},null,-1),Bo=c("circle",{cx:"19",cy:"12",r:"2"},null,-1),Ho=c("circle",{cx:"5",cy:"12",r:"2"},null,-1),zo=[No,Bo,Ho];function Eo(s,e){return a(),l("svg",Ao,zo)}const Do=m(To,[["render",Eo]]),Fo={class:"VPMenuLink"},xo=$({__name:"VPMenuLink",props:{item:{}},setup(s){const{page:e}=P();return(t,n)=>(a(),l("div",Fo,[_(z,{class:T({active:i(O)(i(e).relativePath,t.item.activeMatch||t.item.link,!!t.item.activeMatch)}),href:t.item.link,target:t.item.target,rel:t.item.rel},{default:h(()=>[H(L(t.item.text),1)]),_:1},8,["class","href","target","rel"])]))}}),ne=m(xo,[["__scopeId","data-v-37b2c1b0"]]),Oo={class:"VPMenuGroup"},Uo={key:0,class:"title"},Go=$({__name:"VPMenuGroup",props:{text:{},items:{}},setup(s){return(e,t)=>(a(),l("div",Oo,[e.text?(a(),l("p",Uo,L(e.text),1)):f("",!0),(a(!0),l(C,null,B(e.items,n=>(a(),l(C,null,["link"in n?(a(),k(ne,{key:0,item:n},null,8,["item"])):f("",!0)],64))),256))]))}}),jo=m(Go,[["__scopeId","data-v-677038ba"]]),Ro={class:"VPMenu"},qo={key:0,class:"items"},Ko=$({__name:"VPMenu",props:{items:{}},setup(s){return(e,t)=>(a(),l("div",Ro,[e.items?(a(),l("div",qo,[(a(!0),l(C,null,B(e.items,n=>(a(),l(C,{key:n.text},["link"in n?(a(),k(ne,{key:0,item:n},null,8,["item"])):(a(),k(jo,{key:1,text:n.text,items:n.items},null,8,["text","items"]))],64))),128))])):f("",!0),u(e.$slots,"default",{},void 0,!0)]))}}),Wo=m(Ko,[["__scopeId","data-v-e092295d"]]),Yo=["aria-expanded","aria-label"],Jo={key:0,class:"text"},Xo=["innerHTML"],Zo={class:"menu"},Qo=$({__name:"VPFlyout",props:{icon:{},button:{},label:{},items:{}},setup(s){const e=M(!1),t=M();Po({el:t,onBlur:n});function n(){e.value=!1}return(o,r)=>(a(),l("div",{class:"VPFlyout",ref_key:"el",ref:t,onMouseenter:r[1]||(r[1]=d=>e.value=!0),onMouseleave:r[2]||(r[2]=d=>e.value=!1)},[c("button",{type:"button",class:"button","aria-haspopup":"true","aria-expanded":e.value,"aria-label":o.label,onClick:r[0]||(r[0]=d=>e.value=!e.value)},[o.button||o.icon?(a(),l("span",Jo,[o.icon?(a(),k(x(o.icon),{key:0,class:"option-icon"})):f("",!0),o.button?(a(),l("span",{key:1,innerHTML:o.button},null,8,Xo)):f("",!0),_(Be,{class:"text-icon"})])):(a(),k(Do,{key:1,class:"icon"}))],8,Yo),c("div",Zo,[_(Wo,{items:o.items},{default:h(()=>[u(o.$slots,"default",{},void 0,!0)]),_:3},8,["items"])])],544))}}),ke=m(Qo,[["__scopeId","data-v-4503a85a"]]),ea={discord:'Discord',facebook:'Facebook',github:'GitHub',instagram:'Instagram',linkedin:'LinkedIn',mastodon:'Mastodon',slack:'Slack',twitter:'Twitter',x:'X',youtube:'YouTube'},ta=["href","aria-label","innerHTML"],sa=$({__name:"VPSocialLink",props:{icon:{},link:{},ariaLabel:{}},setup(s){const e=s,t=b(()=>typeof e.icon=="object"?e.icon.svg:ea[e.icon]);return(n,o)=>(a(),l("a",{class:"VPSocialLink no-icon",href:n.link,"aria-label":n.ariaLabel??(typeof n.icon=="string"?n.icon:""),target:"_blank",rel:"noopener",innerHTML:t.value},null,8,ta))}}),na=m(sa,[["__scopeId","data-v-3fe18e52"]]),oa={class:"VPSocialLinks"},aa=$({__name:"VPSocialLinks",props:{links:{}},setup(s){return(e,t)=>(a(),l("div",oa,[(a(!0),l(C,null,B(e.links,({link:n,icon:o,ariaLabel:r})=>(a(),k(na,{key:n,icon:o,link:n,ariaLabel:r},null,8,["icon","link","ariaLabel"]))),128))]))}}),be=m(aa,[["__scopeId","data-v-68495ffe"]]),ra={key:0,class:"group translations"},ia={class:"trans-title"},la={key:1,class:"group"},ca={class:"item appearance"},ua={class:"label"},da={class:"appearance-action"},va={key:2,class:"group"},ha={class:"item social-links"},pa=$({__name:"VPNavBarExtra",setup(s){const{site:e,theme:t}=P(),{localeLinks:n,currentLang:o}=J({correspondingLink:!0}),r=b(()=>n.value.length&&o.value.label||e.value.appearance||t.value.socialLinks);return(d,p)=>r.value?(a(),k(ke,{key:0,class:"VPNavBarExtra",label:"extra navigation"},{default:h(()=>[i(n).length&&i(o).label?(a(),l("div",ra,[c("p",ia,L(i(o).label),1),(a(!0),l(C,null,B(i(n),v=>(a(),k(ne,{key:v.link,item:v},null,8,["item"]))),128))])):f("",!0),i(e).appearance&&i(e).appearance!=="force-dark"?(a(),l("div",la,[c("div",ca,[c("p",ua,L(i(t).darkModeSwitchLabel||"Appearance"),1),c("div",da,[_(ge)])])])):f("",!0),i(t).socialLinks?(a(),l("div",va,[c("div",ha,[_(be,{class:"social-links-list",links:i(t).socialLinks},null,8,["links"])])])):f("",!0)]),_:1})):f("",!0)}}),_a=m(pa,[["__scopeId","data-v-e63311d1"]]),fa=s=>(E("data-v-86747396"),s=s(),D(),s),ma=["aria-expanded"],ga=fa(()=>c("span",{class:"container"},[c("span",{class:"top"}),c("span",{class:"middle"}),c("span",{class:"bottom"})],-1)),$a=[ga],ka=$({__name:"VPNavBarHamburger",props:{active:{type:Boolean}},emits:["click"],setup(s){return(e,t)=>(a(),l("button",{type:"button",class:T(["VPNavBarHamburger",{active:e.active}]),"aria-label":"mobile navigation","aria-expanded":e.active,"aria-controls":"VPNavScreen",onClick:t[0]||(t[0]=n=>e.$emit("click"))},$a,10,ma))}}),ba=m(ka,[["__scopeId","data-v-86747396"]]),ya=["innerHTML"],Pa=$({__name:"VPNavBarMenuLink",props:{item:{}},setup(s){const{page:e}=P();return(t,n)=>(a(),k(z,{class:T({VPNavBarMenuLink:!0,active:i(O)(i(e).relativePath,t.item.activeMatch||t.item.link,!!t.item.activeMatch)}),href:t.item.link,target:t.item.target,rel:t.item.rel,tabindex:"0"},{default:h(()=>[c("span",{innerHTML:t.item.text},null,8,ya)]),_:1},8,["class","href","target","rel"]))}}),wa=m(Pa,[["__scopeId","data-v-df5294d2"]]),Va=$({__name:"VPNavBarMenuGroup",props:{item:{}},setup(s){const e=s,{page:t}=P(),n=r=>"link"in r?O(t.value.relativePath,r.link,!!e.item.activeMatch):r.items.some(n),o=b(()=>n(e.item));return(r,d)=>(a(),k(ke,{class:T({VPNavBarMenuGroup:!0,active:i(O)(i(t).relativePath,r.item.activeMatch,!!r.item.activeMatch)||o.value}),button:r.item.text,items:r.item.items},null,8,["class","button","items"]))}}),La=s=>(E("data-v-1bbcfa39"),s=s(),D(),s),Sa={key:0,"aria-labelledby":"main-nav-aria-label",class:"VPNavBarMenu"},Ma=La(()=>c("span",{id:"main-nav-aria-label",class:"visually-hidden"},"Main Navigation",-1)),Ca=$({__name:"VPNavBarMenu",setup(s){const{theme:e}=P();return(t,n)=>i(e).nav?(a(),l("nav",Sa,[Ma,(a(!0),l(C,null,B(i(e).nav,o=>(a(),l(C,{key:o.text},["link"in o?(a(),k(wa,{key:0,item:o},null,8,["item"])):(a(),k(Va,{key:1,item:o},null,8,["item"]))],64))),128))])):f("",!0)}}),Ia=m(Ca,[["__scopeId","data-v-1bbcfa39"]]);function Ta(s,e){const{localeIndex:t}=P();function n(o){var S,N;const r=o.split("."),d=s&&typeof s=="object",p=d&&((N=(S=s.locales)==null?void 0:S[t.value])==null?void 0:N.translations)||null,v=d&&s.translations||null;let g=p,w=v,y=e;const I=r.pop();for(const A of r){let V=null;const R=y==null?void 0:y[A];R&&(V=y=R);const W=w==null?void 0:w[A];W&&(V=w=W);const q=g==null?void 0:g[A];q&&(V=g=q),R||(y=V),W||(w=V),q||(g=V)}return(g==null?void 0:g[I])??(w==null?void 0:w[I])??(y==null?void 0:y[I])??""}return n}const Aa=["aria-label"],Na={class:"DocSearch-Button-Container"},Ba=c("svg",{class:"DocSearch-Search-Icon",width:"20",height:"20",viewBox:"0 0 20 20","aria-label":"search icon"},[c("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","fill-rule":"evenodd","stroke-linecap":"round","stroke-linejoin":"round"})],-1),Ha={class:"DocSearch-Button-Placeholder"},za=c("span",{class:"DocSearch-Button-Keys"},[c("kbd",{class:"DocSearch-Button-Key"}),c("kbd",{class:"DocSearch-Button-Key"},"K")],-1),we=$({__name:"VPNavBarSearchButton",setup(s){const{theme:e}=P(),t={button:{buttonText:"Search",buttonAriaLabel:"Search"}},n=We(Ta)(Ye(()=>{var o;return(o=e.value.search)==null?void 0:o.options}),t);return(o,r)=>(a(),l("button",{type:"button",class:"DocSearch DocSearch-Button","aria-label":i(n)("button.buttonAriaLabel")},[c("span",Na,[Ba,c("span",Ha,L(i(n)("button.buttonText")),1)]),za],8,Aa))}}),Ea={class:"VPNavBarSearch"},Da={id:"local-search"},Fa={key:1,id:"docsearch"},xa=$({__name:"VPNavBarSearch",setup(s){const e=Je(()=>Xe(()=>import("./VPLocalSearchBox.ByB8GwlZ.js"),__vite__mapDeps([0,1]))),t=()=>null,{theme:n}=P(),o=M(!1),r=M(!1);U(()=>{});function d(){o.value||(o.value=!0,setTimeout(p,16))}function p(){const y=new Event("keydown");y.key="k",y.metaKey=!0,window.dispatchEvent(y),setTimeout(()=>{document.querySelector(".DocSearch-Modal")||p()},16)}function v(y){const I=y.target,S=I.tagName;return I.isContentEditable||S==="INPUT"||S==="SELECT"||S==="TEXTAREA"}const g=M(!1);ye("k",y=>{(y.ctrlKey||y.metaKey)&&(y.preventDefault(),g.value=!0)}),ye("/",y=>{v(y)||(y.preventDefault(),g.value=!0)});const w="local";return(y,I)=>{var S;return a(),l("div",Ea,[i(w)==="local"?(a(),l(C,{key:0},[g.value?(a(),k(i(e),{key:0,onClose:I[0]||(I[0]=N=>g.value=!1)})):f("",!0),c("div",Da,[_(we,{onClick:I[1]||(I[1]=N=>g.value=!0)})])],64)):i(w)==="algolia"?(a(),l(C,{key:1},[o.value?(a(),k(i(t),{key:0,algolia:((S=i(n).search)==null?void 0:S.options)??i(n).algolia,onVnodeBeforeMount:I[2]||(I[2]=N=>r.value=!0)},null,8,["algolia"])):f("",!0),r.value?f("",!0):(a(),l("div",Fa,[_(we,{onClick:d})]))],64)):f("",!0)])}}}),Oa=$({__name:"VPNavBarSocialLinks",setup(s){const{theme:e}=P();return(t,n)=>i(e).socialLinks?(a(),k(be,{key:0,class:"VPNavBarSocialLinks",links:i(e).socialLinks},null,8,["links"])):f("",!0)}}),Ua=m(Oa,[["__scopeId","data-v-1c3e0170"]]),Ga=["href"],ja=$({__name:"VPNavBarTitle",setup(s){const{site:e,theme:t}=P(),{hasSidebar:n}=F(),{currentLang:o}=J();return(r,d)=>(a(),l("div",{class:T(["VPNavBarTitle",{"has-sidebar":i(n)}])},[c("a",{class:"title",href:i(t).logoLink??i(he)(i(o).link)},[u(r.$slots,"nav-bar-title-before",{},void 0,!0),i(t).logo?(a(),k(Q,{key:0,class:"logo",image:i(t).logo},null,8,["image"])):f("",!0),i(t).siteTitle?(a(),l(C,{key:1},[H(L(i(t).siteTitle),1)],64)):i(t).siteTitle===void 0?(a(),l(C,{key:2},[H(L(i(e).title),1)],64)):f("",!0),u(r.$slots,"nav-bar-title-after",{},void 0,!0)],8,Ga)],2))}}),Ra=m(ja,[["__scopeId","data-v-8eeccf5d"]]),qa={},Ka={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},Wa=c("path",{d:"M0 0h24v24H0z",fill:"none"},null,-1),Ya=c("path",{d:" M12.87 15.07l-2.54-2.51.03-.03c1.74-1.94 2.98-4.17 3.71-6.53H17V4h-7V2H8v2H1v1.99h11.17C11.5 7.92 10.44 9.75 9 11.35 8.07 10.32 7.3 9.19 6.69 8h-2c.73 1.63 1.73 3.17 2.98 4.56l-5.09 5.02L4 19l5-5 3.11 3.11.76-2.04zM18.5 10h-2L12 22h2l1.12-3h4.75L21 22h2l-4.5-12zm-2.62 7l1.62-4.33L19.12 17h-3.24z ",class:"css-c4d79v"},null,-1),Ja=[Wa,Ya];function Xa(s,e){return a(),l("svg",Ka,Ja)}const He=m(qa,[["render",Xa]]),Za={class:"items"},Qa={class:"title"},er=$({__name:"VPNavBarTranslations",setup(s){const{theme:e}=P(),{localeLinks:t,currentLang:n}=J({correspondingLink:!0});return(o,r)=>i(t).length&&i(n).label?(a(),k(ke,{key:0,class:"VPNavBarTranslations",icon:He,label:i(e).langMenuLabel||"Change language"},{default:h(()=>[c("div",Za,[c("p",Qa,L(i(n).label),1),(a(!0),l(C,null,B(i(t),d=>(a(),k(ne,{key:d.link,item:d},null,8,["item"]))),128))])]),_:1},8,["label"])):f("",!0)}}),tr=m(er,[["__scopeId","data-v-b3619d6c"]]),sr=s=>(E("data-v-78bbe7f7"),s=s(),D(),s),nr={class:"container"},or={class:"title"},ar={class:"content"},rr=sr(()=>c("div",{class:"curtain"},null,-1)),ir={class:"content-body"},lr=$({__name:"VPNavBar",props:{isScreenOpen:{type:Boolean}},emits:["toggle-screen"],setup(s){const{y:e}=Se(),{hasSidebar:t}=F(),{frontmatter:n}=P(),o=M({});return Ve(()=>{o.value={"has-sidebar":t.value,top:n.value.layout==="home"&&e.value===0}}),(r,d)=>(a(),l("div",{class:T(["VPNavBar",o.value])},[c("div",nr,[c("div",or,[_(Ra,null,{"nav-bar-title-before":h(()=>[u(r.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":h(()=>[u(r.$slots,"nav-bar-title-after",{},void 0,!0)]),_:3})]),c("div",ar,[rr,c("div",ir,[u(r.$slots,"nav-bar-content-before",{},void 0,!0),_(xa,{class:"search"}),_(Ia,{class:"menu"}),_(tr,{class:"translations"}),_(yo,{class:"appearance"}),_(Ua,{class:"social-links"}),_(_a,{class:"extra"}),u(r.$slots,"nav-bar-content-after",{},void 0,!0),_(ba,{class:"hamburger",active:r.isScreenOpen,onClick:d[0]||(d[0]=p=>r.$emit("toggle-screen"))},null,8,["active"])])])])],2))}}),cr=m(lr,[["__scopeId","data-v-78bbe7f7"]]),ur={key:0,class:"VPNavScreenAppearance"},dr={class:"text"},vr=$({__name:"VPNavScreenAppearance",setup(s){const{site:e,theme:t}=P();return(n,o)=>i(e).appearance&&i(e).appearance!=="force-dark"?(a(),l("div",ur,[c("p",dr,L(i(t).darkModeSwitchLabel||"Appearance"),1),_(ge)])):f("",!0)}}),hr=m(vr,[["__scopeId","data-v-074998bf"]]),pr=$({__name:"VPNavScreenMenuLink",props:{item:{}},setup(s){const e=se("close-screen");return(t,n)=>(a(),k(z,{class:"VPNavScreenMenuLink",href:t.item.link,target:t.item.target,rel:t.item.rel,onClick:i(e)},{default:h(()=>[H(L(t.item.text),1)]),_:1},8,["href","target","rel","onClick"]))}}),_r=m(pr,[["__scopeId","data-v-39873061"]]),fr={},mr={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},gr=c("path",{d:"M18.9,10.9h-6v-6c0-0.6-0.4-1-1-1s-1,0.4-1,1v6h-6c-0.6,0-1,0.4-1,1s0.4,1,1,1h6v6c0,0.6,0.4,1,1,1s1-0.4,1-1v-6h6c0.6,0,1-0.4,1-1S19.5,10.9,18.9,10.9z"},null,-1),$r=[gr];function kr(s,e){return a(),l("svg",mr,$r)}const br=m(fr,[["render",kr]]),yr=$({__name:"VPNavScreenMenuGroupLink",props:{item:{}},setup(s){const e=se("close-screen");return(t,n)=>(a(),k(z,{class:"VPNavScreenMenuGroupLink",href:t.item.link,target:t.item.target,rel:t.item.rel,onClick:i(e)},{default:h(()=>[H(L(t.item.text),1)]),_:1},8,["href","target","rel","onClick"]))}}),ze=m(yr,[["__scopeId","data-v-176ce3f6"]]),Pr={class:"VPNavScreenMenuGroupSection"},wr={key:0,class:"title"},Vr=$({__name:"VPNavScreenMenuGroupSection",props:{text:{},items:{}},setup(s){return(e,t)=>(a(),l("div",Pr,[e.text?(a(),l("p",wr,L(e.text),1)):f("",!0),(a(!0),l(C,null,B(e.items,n=>(a(),k(ze,{key:n.text,item:n},null,8,["item"]))),128))]))}}),Lr=m(Vr,[["__scopeId","data-v-49c21796"]]),Sr=["aria-controls","aria-expanded"],Mr=["innerHTML"],Cr=["id"],Ir={key:1,class:"group"},Tr=$({__name:"VPNavScreenMenuGroup",props:{text:{},items:{}},setup(s){const e=s,t=M(!1),n=b(()=>`NavScreenGroup-${e.text.replace(" ","-").toLowerCase()}`);function o(){t.value=!t.value}return(r,d)=>(a(),l("div",{class:T(["VPNavScreenMenuGroup",{open:t.value}])},[c("button",{class:"button","aria-controls":n.value,"aria-expanded":t.value,onClick:o},[c("span",{class:"button-text",innerHTML:r.text},null,8,Mr),_(br,{class:"button-icon"})],8,Sr),c("div",{id:n.value,class:"items"},[(a(!0),l(C,null,B(r.items,p=>(a(),l(C,{key:p.text},["link"in p?(a(),l("div",{key:p.text,class:"item"},[_(ze,{item:p},null,8,["item"])])):(a(),l("div",Ir,[_(Lr,{text:p.text,items:p.items},null,8,["text","items"])]))],64))),128))],8,Cr)],2))}}),Ar=m(Tr,[["__scopeId","data-v-c4081eb2"]]),Nr={key:0,class:"VPNavScreenMenu"},Br=$({__name:"VPNavScreenMenu",setup(s){const{theme:e}=P();return(t,n)=>i(e).nav?(a(),l("nav",Nr,[(a(!0),l(C,null,B(i(e).nav,o=>(a(),l(C,{key:o.text},["link"in o?(a(),k(_r,{key:0,item:o},null,8,["item"])):(a(),k(Ar,{key:1,text:o.text||"",items:o.items},null,8,["text","items"]))],64))),128))])):f("",!0)}}),Hr=$({__name:"VPNavScreenSocialLinks",setup(s){const{theme:e}=P();return(t,n)=>i(e).socialLinks?(a(),k(be,{key:0,class:"VPNavScreenSocialLinks",links:i(e).socialLinks},null,8,["links"])):f("",!0)}}),zr={class:"list"},Er=$({__name:"VPNavScreenTranslations",setup(s){const{localeLinks:e,currentLang:t}=J({correspondingLink:!0}),n=M(!1);function o(){n.value=!n.value}return(r,d)=>i(e).length&&i(t).label?(a(),l("div",{key:0,class:T(["VPNavScreenTranslations",{open:n.value}])},[c("button",{class:"title",onClick:o},[_(He,{class:"icon lang"}),H(" "+L(i(t).label)+" ",1),_(Be,{class:"icon chevron"})]),c("ul",zr,[(a(!0),l(C,null,B(i(e),p=>(a(),l("li",{key:p.link,class:"item"},[_(z,{class:"link",href:p.link},{default:h(()=>[H(L(p.text),1)]),_:2},1032,["href"])]))),128))])],2)):f("",!0)}}),Dr=m(Er,[["__scopeId","data-v-5e9f31af"]]),Fr={class:"container"},xr=$({__name:"VPNavScreen",props:{open:{type:Boolean}},setup(s){const e=M(null),t=Me(K?document.body:null);return(n,o)=>(a(),k(ce,{name:"fade",onEnter:o[0]||(o[0]=r=>t.value=!0),onAfterLeave:o[1]||(o[1]=r=>t.value=!1)},{default:h(()=>[n.open?(a(),l("div",{key:0,class:"VPNavScreen",ref_key:"screen",ref:e,id:"VPNavScreen"},[c("div",Fr,[u(n.$slots,"nav-screen-content-before",{},void 0,!0),_(Br,{class:"menu"}),_(Dr,{class:"translations"}),_(hr,{class:"appearance"}),_(Hr,{class:"social-links"}),u(n.$slots,"nav-screen-content-after",{},void 0,!0)])],512)):f("",!0)]),_:3}))}}),Or=m(xr,[["__scopeId","data-v-6e741c90"]]),Ur={key:0,class:"VPNav"},Gr=$({__name:"VPNav",setup(s){const{isScreenOpen:e,closeScreen:t,toggleScreen:n}=Qn(),{frontmatter:o}=P(),r=b(()=>o.value.navbar!==!1);return Ce("close-screen",t),ee(()=>{K&&document.documentElement.classList.toggle("hide-nav",!r.value)}),(d,p)=>r.value?(a(),l("header",Ur,[_(cr,{"is-screen-open":i(e),onToggleScreen:i(n)},{"nav-bar-title-before":h(()=>[u(d.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":h(()=>[u(d.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":h(()=>[u(d.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":h(()=>[u(d.$slots,"nav-bar-content-after",{},void 0,!0)]),_:3},8,["is-screen-open","onToggleScreen"]),_(Or,{open:i(e)},{"nav-screen-content-before":h(()=>[u(d.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":h(()=>[u(d.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3},8,["open"])])):f("",!0)}}),jr=m(Gr,[["__scopeId","data-v-951995f0"]]),Rr=s=>(E("data-v-6e3d34cd"),s=s(),D(),s),qr=["role","tabindex"],Kr=Rr(()=>c("div",{class:"indicator"},null,-1)),Wr={key:1,class:"items"},Yr=$({__name:"VPSidebarItem",props:{item:{},depth:{}},setup(s){const e=s,{collapsed:t,collapsible:n,isLink:o,isActiveLink:r,hasActiveLink:d,hasChildren:p,toggle:v}=yt(b(()=>e.item)),g=b(()=>p.value?"section":"div"),w=b(()=>o.value?"a":"div"),y=b(()=>p.value?e.depth+2===7?"p":`h${e.depth+2}`:"p"),I=b(()=>o.value?void 0:"button"),S=b(()=>[[`level-${e.depth}`],{collapsible:n.value},{collapsed:t.value},{"is-link":o.value},{"is-active":r.value},{"has-active":d.value}]);function N(V){"key"in V&&V.key!=="Enter"||!e.item.link&&v()}function A(){e.item.link&&v()}return(V,R)=>{const W=j("VPSidebarItem",!0);return a(),k(x(g.value),{class:T(["VPSidebarItem",S.value])},{default:h(()=>[V.item.text?(a(),l("div",X({key:0,class:"item",role:I.value},Ze(V.item.items?{click:N,keydown:N}:{},!0),{tabindex:V.item.items&&0}),[Kr,V.item.link?(a(),k(z,{key:0,tag:w.value,class:"link",href:V.item.link,rel:V.item.rel,target:V.item.target},{default:h(()=>[(a(),k(x(y.value),{class:"text",innerHTML:V.item.text},null,8,["innerHTML"]))]),_:1},8,["tag","href","rel","target"])):(a(),k(x(y.value),{key:1,class:"text",innerHTML:V.item.text},null,8,["innerHTML"])),V.item.collapsed!=null?(a(),l("div",{key:2,class:"caret",role:"button","aria-label":"toggle section",onClick:A,onKeydown:Qe(A,["enter"]),tabindex:"0"},[_(me,{class:"caret-icon"})],32)):f("",!0)],16,qr)):f("",!0),V.item.items&&V.item.items.length?(a(),l("div",Wr,[V.depth<5?(a(!0),l(C,{key:0},B(V.item.items,q=>(a(),k(W,{key:q.text,item:q,depth:V.depth+1},null,8,["item","depth"]))),128)):f("",!0)])):f("",!0)]),_:1},8,["class"])}}}),Jr=m(Yr,[["__scopeId","data-v-6e3d34cd"]]),Ee=s=>(E("data-v-3646a2da"),s=s(),D(),s),Xr=Ee(()=>c("div",{class:"curtain"},null,-1)),Zr={class:"nav",id:"VPSidebarNav","aria-labelledby":"sidebar-aria-label",tabindex:"-1"},Qr=Ee(()=>c("span",{class:"visually-hidden",id:"sidebar-aria-label"}," Sidebar Navigation ",-1)),ei=$({__name:"VPSidebar",props:{open:{type:Boolean}},setup(s){const{sidebarGroups:e,hasSidebar:t}=F(),n=s,o=M(null),r=Me(K?document.body:null);return G([n,o],()=>{var d;n.open?(r.value=!0,(d=o.value)==null||d.focus()):r.value=!1},{immediate:!0,flush:"post"}),(d,p)=>i(t)?(a(),l("aside",{key:0,class:T(["VPSidebar",{open:d.open}]),ref_key:"navEl",ref:o,onClick:p[0]||(p[0]=et(()=>{},["stop"]))},[Xr,c("nav",Zr,[Qr,u(d.$slots,"sidebar-nav-before",{},void 0,!0),(a(!0),l(C,null,B(i(e),v=>(a(),l("div",{key:v.text,class:"group"},[_(Jr,{item:v,depth:0},null,8,["item"])]))),128)),u(d.$slots,"sidebar-nav-after",{},void 0,!0)])],2)):f("",!0)}}),ti=m(ei,[["__scopeId","data-v-3646a2da"]]),si=$({__name:"VPSkipLink",setup(s){const e=te(),t=M();G(()=>e.path,()=>t.value.focus());function n({target:o}){const r=document.getElementById(decodeURIComponent(o.hash).slice(1));if(r){const d=()=>{r.removeAttribute("tabindex"),r.removeEventListener("blur",d)};r.setAttribute("tabindex","-1"),r.addEventListener("blur",d),r.focus(),window.scrollTo(0,0)}}return(o,r)=>(a(),l(C,null,[c("span",{ref_key:"backToTop",ref:t,tabindex:"-1"},null,512),c("a",{href:"#VPContent",class:"VPSkipLink visually-hidden",onClick:n}," Skip to content ")],64))}}),ni=m(si,[["__scopeId","data-v-125f844f"]]),oi=$({__name:"Layout",setup(s){const{isOpen:e,open:t,close:n}=F(),o=te();G(()=>o.path,n),bt(e,n);const{frontmatter:r}=P(),d=tt(),p=b(()=>!!d["home-hero-image"]);return Ce("hero-image-slot-exists",p),(v,g)=>{const w=j("Content");return i(r).layout!==!1?(a(),l("div",{key:0,class:T(["Layout",i(r).pageClass])},[u(v.$slots,"layout-top",{},void 0,!0),_(ni),_(rt,{class:"backdrop",show:i(e),onClick:i(n)},null,8,["show","onClick"]),_(jr,null,{"nav-bar-title-before":h(()=>[u(v.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":h(()=>[u(v.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":h(()=>[u(v.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":h(()=>[u(v.$slots,"nav-bar-content-after",{},void 0,!0)]),"nav-screen-content-before":h(()=>[u(v.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":h(()=>[u(v.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3}),_(Zn,{open:i(e),onOpenMenu:i(t)},null,8,["open","onOpenMenu"]),_(ti,{open:i(e)},{"sidebar-nav-before":h(()=>[u(v.$slots,"sidebar-nav-before",{},void 0,!0)]),"sidebar-nav-after":h(()=>[u(v.$slots,"sidebar-nav-after",{},void 0,!0)]),_:3},8,["open"]),_(In,null,{"page-top":h(()=>[u(v.$slots,"page-top",{},void 0,!0)]),"page-bottom":h(()=>[u(v.$slots,"page-bottom",{},void 0,!0)]),"not-found":h(()=>[u(v.$slots,"not-found",{},void 0,!0)]),"home-hero-before":h(()=>[u(v.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info":h(()=>[u(v.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-image":h(()=>[u(v.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":h(()=>[u(v.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":h(()=>[u(v.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":h(()=>[u(v.$slots,"home-features-after",{},void 0,!0)]),"doc-footer-before":h(()=>[u(v.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":h(()=>[u(v.$slots,"doc-before",{},void 0,!0)]),"doc-after":h(()=>[u(v.$slots,"doc-after",{},void 0,!0)]),"doc-top":h(()=>[u(v.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":h(()=>[u(v.$slots,"doc-bottom",{},void 0,!0)]),"aside-top":h(()=>[u(v.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":h(()=>[u(v.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":h(()=>[u(v.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":h(()=>[u(v.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":h(()=>[u(v.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":h(()=>[u(v.$slots,"aside-ads-after",{},void 0,!0)]),_:3}),_(Hn),u(v.$slots,"layout-bottom",{},void 0,!0)],2)):(a(),k(w,{key:1}))}}}),ai=m(oi,[["__scopeId","data-v-d9306eb1"]]),li={Layout:ai,enhanceApp:({app:s})=>{s.component("Badge",nt)}};class ci{constructor(e=10){oe(this,"max");oe(this,"cache");this.max=e,this.cache=new Map}get(e){let t=this.cache.get(e);return t!==void 0&&(this.cache.delete(e),this.cache.set(e,t)),t}set(e,t){this.cache.has(e)?this.cache.delete(e):this.cache.size===this.max&&this.cache.delete(this.first()),this.cache.set(e,t)}first(){return this.cache.keys().next().value}clear(){this.cache.clear()}}export{ci as L,Ta as c,li as t,P as u}; +function __vite__mapDeps(indexes) { + if (!__vite__mapDeps.viteFileDeps) { + __vite__mapDeps.viteFileDeps = ["assets/chunks/VPLocalSearchBox.ByB8GwlZ.js","assets/chunks/framework.BwCxet3-.js"] + } + return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) +} \ No newline at end of file diff --git a/assets/chunks/theme.s67tei5V.js b/assets/chunks/theme.s67tei5V.js deleted file mode 100644 index 53b2f535..00000000 --- a/assets/chunks/theme.s67tei5V.js +++ /dev/null @@ -1,7 +0,0 @@ -var De=Object.defineProperty;var Fe=(s,e,t)=>e in s?De(s,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):s[e]=t;var oe=(s,e,t)=>(Fe(s,typeof e!="symbol"?e+"":e,t),t);import{d as $,o as a,c as l,r as u,n as T,a as H,t as L,_ as m,b,w as h,e as f,T as ce,u as xe,i as Oe,l as Ue,f as ue,g as k,h as M,j as U,k as c,m as i,p as E,q as D,s as O,v as K,x as re,y as G,z as ee,A as de,B as Ve,C as Ge,D as j,F as C,E as B,G as ve,H as Y,I as _,J as x,K as Le,L as te,M as X,N as se,O as je,P as Re,Q as Se,R as qe,S as Ke,U as We,V as Ye,W as ye,X as Je,Y as Xe,Z as Me,$ as Ce,a0 as Ze,a1 as Qe,a2 as et,a3 as tt}from"./framework.BwCxet3-.js";const st=$({__name:"VPBadge",props:{text:{},type:{default:"tip"}},setup(s){return(e,t)=>(a(),l("span",{class:T(["VPBadge",e.type])},[u(e.$slots,"default",{},()=>[H(L(e.text),1)],!0)],2))}}),nt=m(st,[["__scopeId","data-v-1d226370"]]),ot={key:0,class:"VPBackdrop"},at=$({__name:"VPBackdrop",props:{show:{type:Boolean}},setup(s){return(e,t)=>(a(),b(ce,{name:"fade"},{default:h(()=>[e.show?(a(),l("div",ot)):f("",!0)]),_:1}))}}),rt=m(at,[["__scopeId","data-v-efa38643"]]),P=xe;function it(s,e){let t,n=!1;return()=>{t&&clearTimeout(t),n?t=setTimeout(s,e):(s(),(n=!0)&&setTimeout(()=>n=!1,e))}}function ie(s){return/^\//.test(s)?s:`/${s}`}function he(s){const{pathname:e,search:t,hash:n,protocol:o}=new URL(s,"http://a.com");if(Oe(s)||s.startsWith("#")||!o.startsWith("http")||/\.(?!html|md)\w+($|\?)/i.test(s)&&Ue(s))return s;const{site:r}=P(),d=e.endsWith("/")||e.endsWith(".html")?s:s.replace(/(?:(^\.+)\/)?.*$/,`$1${e.replace(/(\.md)?$/,r.value.cleanUrls?"":".html")}${t}${n}`);return ue(d)}function J({removeCurrent:s=!0,correspondingLink:e=!1}={}){const{site:t,localeIndex:n,page:o,theme:r}=P(),d=k(()=>{var v,g;return{label:(v=t.value.locales[n.value])==null?void 0:v.label,link:((g=t.value.locales[n.value])==null?void 0:g.link)||(n.value==="root"?"/":`/${n.value}/`)}});return{localeLinks:k(()=>Object.entries(t.value.locales).flatMap(([v,g])=>s&&d.value.label===g.label?[]:{text:g.label,link:lt(g.link||(v==="root"?"/":`/${v}/`),r.value.i18nRouting!==!1&&e,o.value.relativePath.slice(d.value.link.length-1),!t.value.cleanUrls)})),currentLang:d}}function lt(s,e,t,n){return e?s.replace(/\/$/,"")+ie(t.replace(/(^|\/)index\.md$/,"$1").replace(/\.md$/,n?".html":"")):s}const ct=s=>(E("data-v-52dbf34e"),s=s(),D(),s),ut={class:"NotFound"},dt={class:"code"},vt={class:"title"},ht=ct(()=>c("div",{class:"divider"},null,-1)),pt={class:"quote"},_t={class:"action"},ft=["href","aria-label"],mt=$({__name:"NotFound",setup(s){const{site:e,theme:t}=P(),{localeLinks:n}=J({removeCurrent:!1}),o=M("/");return U(()=>{var d;const r=window.location.pathname.replace(e.value.base,"").replace(/(^.*?\/).*$/,"/$1");n.value.length&&(o.value=((d=n.value.find(({link:p})=>p.startsWith(r)))==null?void 0:d.link)||n.value[0].link)}),(r,d)=>{var p,v,g,w,y;return a(),l("div",ut,[c("p",dt,L(((p=i(t).notFound)==null?void 0:p.code)??"404"),1),c("h1",vt,L(((v=i(t).notFound)==null?void 0:v.title)??"PAGE NOT FOUND"),1),ht,c("blockquote",pt,L(((g=i(t).notFound)==null?void 0:g.quote)??"But if you don't change your direction, and if you keep looking, you may end up where you are heading."),1),c("div",_t,[c("a",{class:"link",href:i(ue)(o.value),"aria-label":((w=i(t).notFound)==null?void 0:w.linkLabel)??"go to home"},L(((y=i(t).notFound)==null?void 0:y.linkText)??"Take me home"),9,ft)])])}}}),gt=m(mt,[["__scopeId","data-v-52dbf34e"]]);function Ie(s,e){if(Array.isArray(s))return Z(s);if(s==null)return[];e=ie(e);const t=Object.keys(s).sort((o,r)=>r.split("/").length-o.split("/").length).find(o=>e.startsWith(ie(o))),n=t?s[t]:[];return Array.isArray(n)?Z(n):Z(n.items,n.base)}function $t(s){const e=[];let t=0;for(const n in s){const o=s[n];if(o.items){t=e.push(o);continue}e[t]||e.push({items:[]}),e[t].items.push(o)}return e}function bt(s){const e=[];function t(n){for(const o of n)o.text&&o.link&&e.push({text:o.text,link:o.link,docFooterText:o.docFooterText}),o.items&&t(o.items)}return t(s),e}function le(s,e){return Array.isArray(e)?e.some(t=>le(s,t)):O(s,e.link)?!0:e.items?le(s,e.items):!1}function Z(s,e){return[...s].map(t=>{const n={...t},o=n.base||e;return o&&n.link&&(n.link=o+n.link),n.items&&(n.items=Z(n.items,o)),n})}function F(){const{frontmatter:s,page:e,theme:t}=P(),n=re("(min-width: 960px)"),o=M(!1),r=k(()=>{const A=t.value.sidebar,V=e.value.relativePath;return A?Ie(A,V):[]}),d=M(r.value);G(r,(A,V)=>{JSON.stringify(A)!==JSON.stringify(V)&&(d.value=r.value)});const p=k(()=>s.value.sidebar!==!1&&d.value.length>0&&s.value.layout!=="home"),v=k(()=>g?s.value.aside==null?t.value.aside==="left":s.value.aside==="left":!1),g=k(()=>s.value.layout==="home"?!1:s.value.aside!=null?!!s.value.aside:t.value.aside!==!1),w=k(()=>p.value&&n.value),y=k(()=>p.value?$t(d.value):[]);function I(){o.value=!0}function S(){o.value=!1}function N(){o.value?S():I()}return{isOpen:o,sidebar:d,sidebarGroups:y,hasSidebar:p,hasAside:g,leftAside:v,isSidebarEnabled:w,open:I,close:S,toggle:N}}function kt(s,e){let t;ee(()=>{t=s.value?document.activeElement:void 0}),U(()=>{window.addEventListener("keyup",n)}),de(()=>{window.removeEventListener("keyup",n)});function n(o){o.key==="Escape"&&s.value&&(e(),t==null||t.focus())}}const Te=M(K?location.hash:"");K&&window.addEventListener("hashchange",()=>{Te.value=location.hash});function yt(s){const{page:e}=P(),t=M(!1),n=k(()=>s.value.collapsed!=null),o=k(()=>!!s.value.link),r=M(!1),d=()=>{r.value=O(e.value.relativePath,s.value.link)};G([e,s,Te],d),U(d);const p=k(()=>r.value?!0:s.value.items?le(e.value.relativePath,s.value.items):!1),v=k(()=>!!(s.value.items&&s.value.items.length));ee(()=>{t.value=!!(n.value&&s.value.collapsed)}),Ve(()=>{(r.value||p.value)&&(t.value=!1)});function g(){n.value&&(t.value=!t.value)}return{collapsed:t,collapsible:n,isLink:o,isActiveLink:r,hasActiveLink:p,hasChildren:v,toggle:g}}function Pt(){const{hasSidebar:s}=F(),e=re("(min-width: 960px)"),t=re("(min-width: 1280px)");return{isAsideEnabled:k(()=>!t.value&&!e.value?!1:s.value?t.value:e.value)}}const wt=71;function pe(s){return typeof s.outline=="object"&&!Array.isArray(s.outline)&&s.outline.label||s.outlineTitle||"On this page"}function _e(s){const e=[...document.querySelectorAll(".VPDoc :where(h1,h2,h3,h4,h5,h6)")].filter(t=>t.id&&t.hasChildNodes()).map(t=>{const n=Number(t.tagName[1]);return{title:Vt(t),link:"#"+t.id,level:n}});return Lt(e,s)}function Vt(s){let e="";for(const t of s.childNodes)if(t.nodeType===1){if(t.classList.contains("VPBadge")||t.classList.contains("header-anchor")||t.classList.contains("ignore-header"))continue;e+=t.textContent}else t.nodeType===3&&(e+=t.textContent);return e.trim()}function Lt(s,e){if(e===!1)return[];const t=(typeof e=="object"&&!Array.isArray(e)?e.level:e)||2,[n,o]=typeof t=="number"?[t,t]:t==="deep"?[2,6]:t;s=s.filter(d=>d.level>=n&&d.level<=o);const r=[];e:for(let d=0;d=0;v--){const g=s[v];if(g.level{requestAnimationFrame(r),window.addEventListener("scroll",n)}),Ge(()=>{d(location.hash)}),de(()=>{window.removeEventListener("scroll",n)});function r(){if(!t.value)return;const p=[].slice.call(s.value.querySelectorAll(".outline-link")),v=[].slice.call(document.querySelectorAll(".content .header-anchor")).filter(S=>p.some(N=>N.hash===S.hash&&S.offsetParent!==null)),g=window.scrollY,w=window.innerHeight,y=document.body.offsetHeight,I=Math.abs(g+w-y)<1;if(v.length&&I){d(v[v.length-1].hash);return}for(let S=0;S{const o=j("VPDocOutlineItem",!0);return a(),l("ul",{class:T(t.root?"root":"nested")},[(a(!0),l(C,null,B(t.headers,({children:r,link:d,title:p})=>(a(),l("li",null,[c("a",{class:"outline-link",href:d,onClick:e,title:p},L(p),9,Ct),r!=null&&r.length?(a(),b(o,{key:0,headers:r},null,8,["headers"])):f("",!0)]))),256))],2)}}}),fe=m(It,[["__scopeId","data-v-caa5aba2"]]),Tt=s=>(E("data-v-8ae87eb9"),s=s(),D(),s),At={class:"content"},Nt={class:"outline-title",role:"heading","aria-level":"2"},Bt={"aria-labelledby":"doc-outline-aria-label"},Ht=Tt(()=>c("span",{class:"visually-hidden",id:"doc-outline-aria-label"}," Table of Contents for current page ",-1)),zt=$({__name:"VPDocAsideOutline",setup(s){const{frontmatter:e,theme:t}=P(),n=ve([]);Y(()=>{n.value=_e(e.value.outline??t.value.outline)});const o=M(),r=M();return St(o,r),(d,p)=>(a(),l("div",{class:T(["VPDocAsideOutline",{"has-outline":n.value.length>0}]),ref_key:"container",ref:o,role:"navigation"},[c("div",At,[c("div",{class:"outline-marker",ref_key:"marker",ref:r},null,512),c("div",Nt,L(i(pe)(i(t))),1),c("nav",Bt,[Ht,_(fe,{headers:n.value,root:!0},null,8,["headers"])])])],2))}}),Et=m(zt,[["__scopeId","data-v-8ae87eb9"]]),Dt={class:"VPDocAsideCarbonAds"},Ft=$({__name:"VPDocAsideCarbonAds",props:{carbonAds:{}},setup(s){const e=()=>null;return(t,n)=>(a(),l("div",Dt,[_(i(e),{"carbon-ads":t.carbonAds},null,8,["carbon-ads"])]))}}),xt=s=>(E("data-v-07ecfaff"),s=s(),D(),s),Ot={class:"VPDocAside"},Ut=xt(()=>c("div",{class:"spacer"},null,-1)),Gt=$({__name:"VPDocAside",setup(s){const{theme:e}=P();return(t,n)=>(a(),l("div",Ot,[u(t.$slots,"aside-top",{},void 0,!0),u(t.$slots,"aside-outline-before",{},void 0,!0),_(Et),u(t.$slots,"aside-outline-after",{},void 0,!0),Ut,u(t.$slots,"aside-ads-before",{},void 0,!0),i(e).carbonAds?(a(),b(Ft,{key:0,"carbon-ads":i(e).carbonAds},null,8,["carbon-ads"])):f("",!0),u(t.$slots,"aside-ads-after",{},void 0,!0),u(t.$slots,"aside-bottom",{},void 0,!0)]))}}),jt=m(Gt,[["__scopeId","data-v-07ecfaff"]]);function Rt(){const{theme:s,page:e}=P();return k(()=>{const{text:t="Edit this page",pattern:n=""}=s.value.editLink||{};let o;return typeof n=="function"?o=n(e.value):o=n.replace(/:path/g,e.value.filePath),{url:o,text:t}})}function qt(){const{page:s,theme:e,frontmatter:t}=P();return k(()=>{var v,g,w,y,I,S,N,A;const n=Ie(e.value.sidebar,s.value.relativePath),o=bt(n),r=o.findIndex(V=>O(s.value.relativePath,V.link)),d=((v=e.value.docFooter)==null?void 0:v.prev)===!1&&!t.value.prev||t.value.prev===!1,p=((g=e.value.docFooter)==null?void 0:g.next)===!1&&!t.value.next||t.value.next===!1;return{prev:d?void 0:{text:(typeof t.value.prev=="string"?t.value.prev:typeof t.value.prev=="object"?t.value.prev.text:void 0)??((w=o[r-1])==null?void 0:w.docFooterText)??((y=o[r-1])==null?void 0:y.text),link:(typeof t.value.prev=="object"?t.value.prev.link:void 0)??((I=o[r-1])==null?void 0:I.link)},next:p?void 0:{text:(typeof t.value.next=="string"?t.value.next:typeof t.value.next=="object"?t.value.next.text:void 0)??((S=o[r+1])==null?void 0:S.docFooterText)??((N=o[r+1])==null?void 0:N.text),link:(typeof t.value.next=="object"?t.value.next.link:void 0)??((A=o[r+1])==null?void 0:A.link)}}})}const Kt={},Wt={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Yt=c("path",{d:"M18,23H4c-1.7,0-3-1.3-3-3V6c0-1.7,1.3-3,3-3h7c0.6,0,1,0.4,1,1s-0.4,1-1,1H4C3.4,5,3,5.4,3,6v14c0,0.6,0.4,1,1,1h14c0.6,0,1-0.4,1-1v-7c0-0.6,0.4-1,1-1s1,0.4,1,1v7C21,21.7,19.7,23,18,23z"},null,-1),Jt=c("path",{d:"M8,17c-0.3,0-0.5-0.1-0.7-0.3C7,16.5,6.9,16.1,7,15.8l1-4c0-0.2,0.1-0.3,0.3-0.5l9.5-9.5c1.2-1.2,3.2-1.2,4.4,0c1.2,1.2,1.2,3.2,0,4.4l-9.5,9.5c-0.1,0.1-0.3,0.2-0.5,0.3l-4,1C8.2,17,8.1,17,8,17zM9.9,12.5l-0.5,2.1l2.1-0.5l9.3-9.3c0.4-0.4,0.4-1.1,0-1.6c-0.4-0.4-1.2-0.4-1.6,0l0,0L9.9,12.5z M18.5,2.5L18.5,2.5L18.5,2.5z"},null,-1),Xt=[Yt,Jt];function Zt(s,e){return a(),l("svg",Wt,Xt)}const Qt=m(Kt,[["render",Zt]]),z=$({__name:"VPLink",props:{tag:{},href:{},noIcon:{type:Boolean},target:{},rel:{}},setup(s){const e=s,t=k(()=>e.tag??(e.href?"a":"span")),n=k(()=>e.href&&Le.test(e.href));return(o,r)=>(a(),b(x(t.value),{class:T(["VPLink",{link:o.href,"vp-external-link-icon":n.value,"no-icon":o.noIcon}]),href:o.href?i(he)(o.href):void 0,target:o.target??(n.value?"_blank":void 0),rel:o.rel??(n.value?"noreferrer":void 0)},{default:h(()=>[u(o.$slots,"default")]),_:3},8,["class","href","target","rel"]))}}),es={class:"VPLastUpdated"},ts=["datetime"],ss=$({__name:"VPDocFooterLastUpdated",setup(s){const{theme:e,page:t,frontmatter:n,lang:o}=P(),r=k(()=>new Date(n.value.lastUpdated??t.value.lastUpdated)),d=k(()=>r.value.toISOString()),p=M("");return U(()=>{ee(()=>{var v,g,w;p.value=new Intl.DateTimeFormat((g=(v=e.value.lastUpdated)==null?void 0:v.formatOptions)!=null&&g.forceLocale?o.value:void 0,((w=e.value.lastUpdated)==null?void 0:w.formatOptions)??{dateStyle:"short",timeStyle:"short"}).format(r.value)})}),(v,g)=>{var w;return a(),l("p",es,[H(L(((w=i(e).lastUpdated)==null?void 0:w.text)||i(e).lastUpdatedText||"Last updated")+": ",1),c("time",{datetime:d.value},L(p.value),9,ts)])}}}),ns=m(ss,[["__scopeId","data-v-b89e4218"]]),os={key:0,class:"VPDocFooter"},as={key:0,class:"edit-info"},rs={key:0,class:"edit-link"},is={key:1,class:"last-updated"},ls={key:1,class:"prev-next"},cs={class:"pager"},us=["innerHTML"],ds=["innerHTML"],vs={class:"pager"},hs=["innerHTML"],ps=["innerHTML"],_s=$({__name:"VPDocFooter",setup(s){const{theme:e,page:t,frontmatter:n}=P(),o=Rt(),r=qt(),d=k(()=>e.value.editLink&&n.value.editLink!==!1),p=k(()=>t.value.lastUpdated&&n.value.lastUpdated!==!1),v=k(()=>d.value||p.value||r.value.prev||r.value.next);return(g,w)=>{var y,I,S,N;return v.value?(a(),l("footer",os,[u(g.$slots,"doc-footer-before",{},void 0,!0),d.value||p.value?(a(),l("div",as,[d.value?(a(),l("div",rs,[_(z,{class:"edit-link-button",href:i(o).url,"no-icon":!0},{default:h(()=>[_(Qt,{class:"edit-link-icon","aria-label":"edit icon"}),H(" "+L(i(o).text),1)]),_:1},8,["href"])])):f("",!0),p.value?(a(),l("div",is,[_(ns)])):f("",!0)])):f("",!0),(y=i(r).prev)!=null&&y.link||(I=i(r).next)!=null&&I.link?(a(),l("nav",ls,[c("div",cs,[(S=i(r).prev)!=null&&S.link?(a(),b(z,{key:0,class:"pager-link prev",href:i(r).prev.link},{default:h(()=>{var A;return[c("span",{class:"desc",innerHTML:((A=i(e).docFooter)==null?void 0:A.prev)||"Previous page"},null,8,us),c("span",{class:"title",innerHTML:i(r).prev.text},null,8,ds)]}),_:1},8,["href"])):f("",!0)]),c("div",vs,[(N=i(r).next)!=null&&N.link?(a(),b(z,{key:0,class:"pager-link next",href:i(r).next.link},{default:h(()=>{var A;return[c("span",{class:"desc",innerHTML:((A=i(e).docFooter)==null?void 0:A.next)||"Next page"},null,8,hs),c("span",{class:"title",innerHTML:i(r).next.text},null,8,ps)]}),_:1},8,["href"])):f("",!0)])])):f("",!0)])):f("",!0)}}}),fs=m(_s,[["__scopeId","data-v-8361a5a0"]]),ms={},gs={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},$s=c("path",{d:"M9,19c-0.3,0-0.5-0.1-0.7-0.3c-0.4-0.4-0.4-1,0-1.4l5.3-5.3L8.3,6.7c-0.4-0.4-0.4-1,0-1.4s1-0.4,1.4,0l6,6c0.4,0.4,0.4,1,0,1.4l-6,6C9.5,18.9,9.3,19,9,19z"},null,-1),bs=[$s];function ks(s,e){return a(),l("svg",gs,bs)}const me=m(ms,[["render",ks]]),ys={key:0,class:"VPDocOutlineDropdown"},Ps={key:0,class:"items"},ws=$({__name:"VPDocOutlineDropdown",setup(s){const{frontmatter:e,theme:t}=P(),n=M(!1);Y(()=>{n.value=!1});const o=ve([]);return Y(()=>{o.value=_e(e.value.outline??t.value.outline)}),(r,d)=>o.value.length>0?(a(),l("div",ys,[c("button",{onClick:d[0]||(d[0]=p=>n.value=!n.value),class:T({open:n.value})},[H(L(i(pe)(i(t)))+" ",1),_(me,{class:"icon"})],2),n.value?(a(),l("div",Ps,[_(fe,{headers:o.value},null,8,["headers"])])):f("",!0)])):f("",!0)}}),Vs=m(ws,[["__scopeId","data-v-ded83a70"]]),Ls=s=>(E("data-v-59dee556"),s=s(),D(),s),Ss={class:"container"},Ms=Ls(()=>c("div",{class:"aside-curtain"},null,-1)),Cs={class:"aside-container"},Is={class:"aside-content"},Ts={class:"content"},As={class:"content-container"},Ns={class:"main"},Bs=$({__name:"VPDoc",setup(s){const{theme:e}=P(),t=te(),{hasSidebar:n,hasAside:o,leftAside:r}=F(),d=k(()=>t.path.replace(/[./]+/g,"_").replace(/_html$/,""));return(p,v)=>{const g=j("Content");return a(),l("div",{class:T(["VPDoc",{"has-sidebar":i(n),"has-aside":i(o)}])},[u(p.$slots,"doc-top",{},void 0,!0),c("div",Ss,[i(o)?(a(),l("div",{key:0,class:T(["aside",{"left-aside":i(r)}])},[Ms,c("div",Cs,[c("div",Is,[_(jt,null,{"aside-top":h(()=>[u(p.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":h(()=>[u(p.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":h(()=>[u(p.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":h(()=>[u(p.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":h(()=>[u(p.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":h(()=>[u(p.$slots,"aside-ads-after",{},void 0,!0)]),_:3})])])],2)):f("",!0),c("div",Ts,[c("div",As,[u(p.$slots,"doc-before",{},void 0,!0),_(Vs),c("main",Ns,[_(g,{class:T(["vp-doc",[d.value,i(e).externalLinkIcon&&"external-link-icon-enabled"]])},null,8,["class"])]),_(fs,null,{"doc-footer-before":h(()=>[u(p.$slots,"doc-footer-before",{},void 0,!0)]),_:3}),u(p.$slots,"doc-after",{},void 0,!0)])])]),u(p.$slots,"doc-bottom",{},void 0,!0)],2)}}}),Hs=m(Bs,[["__scopeId","data-v-59dee556"]]),zs=$({__name:"VPButton",props:{tag:{},size:{default:"medium"},theme:{default:"brand"},text:{},href:{}},setup(s){const e=s,t=k(()=>e.href&&Le.test(e.href)),n=k(()=>e.tag||e.href?"a":"button");return(o,r)=>(a(),b(x(n.value),{class:T(["VPButton",[o.size,o.theme]]),href:o.href?i(he)(o.href):void 0,target:t.value?"_blank":void 0,rel:t.value?"noreferrer":void 0},{default:h(()=>[H(L(o.text),1)]),_:1},8,["class","href","target","rel"]))}}),Es=m(zs,[["__scopeId","data-v-cd1bb42d"]]),Ds=["src","alt"],Fs=$({inheritAttrs:!1,__name:"VPImage",props:{image:{},alt:{}},setup(s){return(e,t)=>{const n=j("VPImage",!0);return e.image?(a(),l(C,{key:0},[typeof e.image=="string"||"src"in e.image?(a(),l("img",X({key:0,class:"VPImage"},typeof e.image=="string"?e.$attrs:{...e.image,...e.$attrs},{src:i(ue)(typeof e.image=="string"?e.image:e.image.src),alt:e.alt??(typeof e.image=="string"?"":e.image.alt||"")}),null,16,Ds)):(a(),l(C,{key:1},[_(n,X({class:"dark",image:e.image.dark,alt:e.image.alt},e.$attrs),null,16,["image","alt"]),_(n,X({class:"light",image:e.image.light,alt:e.image.alt},e.$attrs),null,16,["image","alt"])],64))],64)):f("",!0)}}}),Q=m(Fs,[["__scopeId","data-v-523bbe92"]]),xs=s=>(E("data-v-45befcb3"),s=s(),D(),s),Os={class:"container"},Us={class:"main"},Gs={key:0,class:"name"},js=["innerHTML"],Rs=["innerHTML"],qs=["innerHTML"],Ks={key:0,class:"actions"},Ws={key:0,class:"image"},Ys={class:"image-container"},Js=xs(()=>c("div",{class:"image-bg"},null,-1)),Xs=$({__name:"VPHero",props:{name:{},text:{},tagline:{},image:{},actions:{}},setup(s){const e=se("hero-image-slot-exists");return(t,n)=>(a(),l("div",{class:T(["VPHero",{"has-image":t.image||i(e)}])},[c("div",Os,[c("div",Us,[u(t.$slots,"home-hero-info",{},()=>[t.name?(a(),l("h1",Gs,[c("span",{innerHTML:t.name,class:"clip"},null,8,js)])):f("",!0),t.text?(a(),l("p",{key:1,innerHTML:t.text,class:"text"},null,8,Rs)):f("",!0),t.tagline?(a(),l("p",{key:2,innerHTML:t.tagline,class:"tagline"},null,8,qs)):f("",!0)],!0),t.actions?(a(),l("div",Ks,[(a(!0),l(C,null,B(t.actions,o=>(a(),l("div",{key:o.link,class:"action"},[_(Es,{tag:"a",size:"medium",theme:o.theme,text:o.text,href:o.link},null,8,["theme","text","href"])]))),128))])):f("",!0)]),t.image||i(e)?(a(),l("div",Ws,[c("div",Ys,[Js,u(t.$slots,"home-hero-image",{},()=>[t.image?(a(),b(Q,{key:0,class:"image-src",image:t.image},null,8,["image"])):f("",!0)],!0)])])):f("",!0)])],2))}}),Zs=m(Xs,[["__scopeId","data-v-45befcb3"]]),Qs=$({__name:"VPHomeHero",setup(s){const{frontmatter:e}=P();return(t,n)=>i(e).hero?(a(),b(Zs,{key:0,class:"VPHomeHero",name:i(e).hero.name,text:i(e).hero.text,tagline:i(e).hero.tagline,image:i(e).hero.image,actions:i(e).hero.actions},{"home-hero-info":h(()=>[u(t.$slots,"home-hero-info")]),"home-hero-image":h(()=>[u(t.$slots,"home-hero-image")]),_:3},8,["name","text","tagline","image","actions"])):f("",!0)}}),en={},tn={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},sn=c("path",{d:"M19.9,12.4c0.1-0.2,0.1-0.5,0-0.8c-0.1-0.1-0.1-0.2-0.2-0.3l-7-7c-0.4-0.4-1-0.4-1.4,0s-0.4,1,0,1.4l5.3,5.3H5c-0.6,0-1,0.4-1,1s0.4,1,1,1h11.6l-5.3,5.3c-0.4,0.4-0.4,1,0,1.4c0.2,0.2,0.5,0.3,0.7,0.3s0.5-0.1,0.7-0.3l7-7C19.8,12.6,19.9,12.5,19.9,12.4z"},null,-1),nn=[sn];function on(s,e){return a(),l("svg",tn,nn)}const an=m(en,[["render",on]]),rn={class:"box"},ln={key:0,class:"icon"},cn=["innerHTML"],un=["innerHTML"],dn=["innerHTML"],vn={key:4,class:"link-text"},hn={class:"link-text-value"},pn=$({__name:"VPFeature",props:{icon:{},title:{},details:{},link:{},linkText:{},rel:{},target:{}},setup(s){return(e,t)=>(a(),b(z,{class:"VPFeature",href:e.link,rel:e.rel,target:e.target,"no-icon":!0,tag:e.link?"a":"div"},{default:h(()=>[c("article",rn,[typeof e.icon=="object"&&e.icon.wrap?(a(),l("div",ln,[_(Q,{image:e.icon,alt:e.icon.alt,height:e.icon.height||48,width:e.icon.width||48},null,8,["image","alt","height","width"])])):typeof e.icon=="object"?(a(),b(Q,{key:1,image:e.icon,alt:e.icon.alt,height:e.icon.height||48,width:e.icon.width||48},null,8,["image","alt","height","width"])):e.icon?(a(),l("div",{key:2,class:"icon",innerHTML:e.icon},null,8,cn)):f("",!0),c("h2",{class:"title",innerHTML:e.title},null,8,un),e.details?(a(),l("p",{key:3,class:"details",innerHTML:e.details},null,8,dn)):f("",!0),e.linkText?(a(),l("div",vn,[c("p",hn,[H(L(e.linkText)+" ",1),_(an,{class:"link-text-icon"})])])):f("",!0)])]),_:1},8,["href","rel","target","tag"]))}}),_n=m(pn,[["__scopeId","data-v-b73395a1"]]),fn={key:0,class:"VPFeatures"},mn={class:"container"},gn={class:"items"},$n=$({__name:"VPFeatures",props:{features:{}},setup(s){const e=s,t=k(()=>{const n=e.features.length;if(n){if(n===2)return"grid-2";if(n===3)return"grid-3";if(n%3===0)return"grid-6";if(n>3)return"grid-4"}else return});return(n,o)=>n.features?(a(),l("div",fn,[c("div",mn,[c("div",gn,[(a(!0),l(C,null,B(n.features,r=>(a(),l("div",{key:r.title,class:T(["item",[t.value]])},[_(_n,{icon:r.icon,title:r.title,details:r.details,link:r.link,"link-text":r.linkText,rel:r.rel,target:r.target},null,8,["icon","title","details","link","link-text","rel","target"])],2))),128))])])])):f("",!0)}}),bn=m($n,[["__scopeId","data-v-9a45dc9d"]]),kn=$({__name:"VPHomeFeatures",setup(s){const{frontmatter:e}=P();return(t,n)=>i(e).features?(a(),b(bn,{key:0,class:"VPHomeFeatures",features:i(e).features},null,8,["features"])):f("",!0)}}),yn={class:"VPHome"},Pn=$({__name:"VPHome",setup(s){return(e,t)=>{const n=j("Content");return a(),l("div",yn,[u(e.$slots,"home-hero-before",{},void 0,!0),_(Qs,null,{"home-hero-info":h(()=>[u(e.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-image":h(()=>[u(e.$slots,"home-hero-image",{},void 0,!0)]),_:3}),u(e.$slots,"home-hero-after",{},void 0,!0),u(e.$slots,"home-features-before",{},void 0,!0),_(kn),u(e.$slots,"home-features-after",{},void 0,!0),_(n)])}}}),wn=m(Pn,[["__scopeId","data-v-c14391f9"]]),Vn={},Ln={class:"VPPage"};function Sn(s,e){const t=j("Content");return a(),l("div",Ln,[u(s.$slots,"page-top"),_(t),u(s.$slots,"page-bottom")])}const Mn=m(Vn,[["render",Sn]]),Cn=$({__name:"VPContent",setup(s){const{page:e,frontmatter:t}=P(),{hasSidebar:n}=F();return(o,r)=>(a(),l("div",{class:T(["VPContent",{"has-sidebar":i(n),"is-home":i(t).layout==="home"}]),id:"VPContent"},[i(e).isNotFound?u(o.$slots,"not-found",{key:0},()=>[_(gt)],!0):i(t).layout==="page"?(a(),b(Mn,{key:1},{"page-top":h(()=>[u(o.$slots,"page-top",{},void 0,!0)]),"page-bottom":h(()=>[u(o.$slots,"page-bottom",{},void 0,!0)]),_:3})):i(t).layout==="home"?(a(),b(wn,{key:2},{"home-hero-before":h(()=>[u(o.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info":h(()=>[u(o.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-image":h(()=>[u(o.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":h(()=>[u(o.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":h(()=>[u(o.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":h(()=>[u(o.$slots,"home-features-after",{},void 0,!0)]),_:3})):i(t).layout&&i(t).layout!=="doc"?(a(),b(x(i(t).layout),{key:3})):(a(),b(Hs,{key:4},{"doc-top":h(()=>[u(o.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":h(()=>[u(o.$slots,"doc-bottom",{},void 0,!0)]),"doc-footer-before":h(()=>[u(o.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":h(()=>[u(o.$slots,"doc-before",{},void 0,!0)]),"doc-after":h(()=>[u(o.$slots,"doc-after",{},void 0,!0)]),"aside-top":h(()=>[u(o.$slots,"aside-top",{},void 0,!0)]),"aside-outline-before":h(()=>[u(o.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":h(()=>[u(o.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":h(()=>[u(o.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":h(()=>[u(o.$slots,"aside-ads-after",{},void 0,!0)]),"aside-bottom":h(()=>[u(o.$slots,"aside-bottom",{},void 0,!0)]),_:3}))],2))}}),In=m(Cn,[["__scopeId","data-v-694dc94b"]]),Tn={class:"container"},An=["innerHTML"],Nn=["innerHTML"],Bn=$({__name:"VPFooter",setup(s){const{theme:e,frontmatter:t}=P(),{hasSidebar:n}=F();return(o,r)=>i(e).footer&&i(t).footer!==!1?(a(),l("footer",{key:0,class:T(["VPFooter",{"has-sidebar":i(n)}])},[c("div",Tn,[i(e).footer.message?(a(),l("p",{key:0,class:"message",innerHTML:i(e).footer.message},null,8,An)):f("",!0),i(e).footer.copyright?(a(),l("p",{key:1,class:"copyright",innerHTML:i(e).footer.copyright},null,8,Nn)):f("",!0)])],2)):f("",!0)}}),Hn=m(Bn,[["__scopeId","data-v-cc1fd011"]]),zn={class:"header"},En={class:"outline"},Dn=$({__name:"VPLocalNavOutlineDropdown",props:{headers:{},navHeight:{}},setup(s){const e=s,{theme:t}=P(),n=M(!1),o=M(0),r=M();Y(()=>{n.value=!1});function d(){n.value=!n.value,o.value=window.innerHeight+Math.min(window.scrollY-e.navHeight,0)}function p(g){g.target.classList.contains("outline-link")&&(r.value&&(r.value.style.transition="none"),Re(()=>{n.value=!1}))}function v(){n.value=!1,window.scrollTo({top:0,left:0,behavior:"smooth"})}return(g,w)=>(a(),l("div",{class:"VPLocalNavOutlineDropdown",style:je({"--vp-vh":o.value+"px"})},[g.headers.length>0?(a(),l("button",{key:0,onClick:d,class:T({open:n.value})},[H(L(i(pe)(i(t)))+" ",1),_(me,{class:"icon"})],2)):(a(),l("button",{key:1,onClick:v},L(i(t).returnToTopLabel||"Return to top"),1)),_(ce,{name:"flyout"},{default:h(()=>[n.value?(a(),l("div",{key:0,ref_key:"items",ref:r,class:"items",onClick:p},[c("div",zn,[c("a",{class:"top-link",href:"#",onClick:v},L(i(t).returnToTopLabel||"Return to top"),1)]),c("div",En,[_(fe,{headers:g.headers},null,8,["headers"])])],512)):f("",!0)]),_:1})],4))}}),Fn=m(Dn,[["__scopeId","data-v-8a6f1849"]]),xn={},On={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},Un=c("path",{d:"M17,11H3c-0.6,0-1-0.4-1-1s0.4-1,1-1h14c0.6,0,1,0.4,1,1S17.6,11,17,11z"},null,-1),Gn=c("path",{d:"M21,7H3C2.4,7,2,6.6,2,6s0.4-1,1-1h18c0.6,0,1,0.4,1,1S21.6,7,21,7z"},null,-1),jn=c("path",{d:"M21,15H3c-0.6,0-1-0.4-1-1s0.4-1,1-1h18c0.6,0,1,0.4,1,1S21.6,15,21,15z"},null,-1),Rn=c("path",{d:"M17,19H3c-0.6,0-1-0.4-1-1s0.4-1,1-1h14c0.6,0,1,0.4,1,1S17.6,19,17,19z"},null,-1),qn=[Un,Gn,jn,Rn];function Kn(s,e){return a(),l("svg",On,qn)}const Wn=m(xn,[["render",Kn]]),Yn=["aria-expanded"],Jn={class:"menu-text"},Xn=$({__name:"VPLocalNav",props:{open:{type:Boolean}},emits:["open-menu"],setup(s){const{theme:e,frontmatter:t}=P(),{hasSidebar:n}=F(),{y:o}=Se(),r=ve([]),d=M(0);U(()=>{d.value=parseInt(getComputedStyle(document.documentElement).getPropertyValue("--vp-nav-height"))}),Y(()=>{r.value=_e(t.value.outline??e.value.outline)});const p=k(()=>r.value.length===0&&!n.value),v=k(()=>({VPLocalNav:!0,fixed:p.value,"reached-top":o.value>=d.value}));return(g,w)=>i(t).layout!=="home"&&(!p.value||i(o)>=d.value)?(a(),l("div",{key:0,class:T(v.value)},[i(n)?(a(),l("button",{key:0,class:"menu","aria-expanded":g.open,"aria-controls":"VPSidebarNav",onClick:w[0]||(w[0]=y=>g.$emit("open-menu"))},[_(Wn,{class:"menu-icon"}),c("span",Jn,L(i(e).sidebarMenuLabel||"Menu"),1)],8,Yn)):f("",!0),_(Fn,{headers:r.value,navHeight:d.value},null,8,["headers","navHeight"])],2)):f("",!0)}}),Zn=m(Xn,[["__scopeId","data-v-c043f0ce"]]);function Qn(){const s=M(!1);function e(){s.value=!0,window.addEventListener("resize",o)}function t(){s.value=!1,window.removeEventListener("resize",o)}function n(){s.value?t():e()}function o(){window.outerWidth>=768&&t()}const r=te();return G(()=>r.path,t),{isScreenOpen:s,openScreen:e,closeScreen:t,toggleScreen:n}}const eo={},to={class:"VPSwitch",type:"button",role:"switch"},so={class:"check"},no={key:0,class:"icon"};function oo(s,e){return a(),l("button",to,[c("span",so,[s.$slots.default?(a(),l("span",no,[u(s.$slots,"default",{},void 0,!0)])):f("",!0)])])}const ao=m(eo,[["render",oo],["__scopeId","data-v-562fc9b3"]]),ro={},io={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},lo=c("path",{d:"M12.1,22c-0.3,0-0.6,0-0.9,0c-5.5-0.5-9.5-5.4-9-10.9c0.4-4.8,4.2-8.6,9-9c0.4,0,0.8,0.2,1,0.5c0.2,0.3,0.2,0.8-0.1,1.1c-2,2.7-1.4,6.4,1.3,8.4c2.1,1.6,5,1.6,7.1,0c0.3-0.2,0.7-0.3,1.1-0.1c0.3,0.2,0.5,0.6,0.5,1c-0.2,2.7-1.5,5.1-3.6,6.8C16.6,21.2,14.4,22,12.1,22zM9.3,4.4c-2.9,1-5,3.6-5.2,6.8c-0.4,4.4,2.8,8.3,7.2,8.7c2.1,0.2,4.2-0.4,5.8-1.8c1.1-0.9,1.9-2.1,2.4-3.4c-2.5,0.9-5.3,0.5-7.5-1.1C9.2,11.4,8.1,7.7,9.3,4.4z"},null,-1),co=[lo];function uo(s,e){return a(),l("svg",io,co)}const vo=m(ro,[["render",uo]]),ho={},po={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},_o=qe('',9),fo=[_o];function mo(s,e){return a(),l("svg",po,fo)}const go=m(ho,[["render",mo]]),$o=$({__name:"VPSwitchAppearance",setup(s){const{isDark:e}=P(),t=se("toggle-appearance",()=>{e.value=!e.value}),n=k(()=>e.value?"Switch to light theme":"Switch to dark theme");return(o,r)=>(a(),b(ao,{title:n.value,class:"VPSwitchAppearance","aria-checked":i(e),onClick:i(t)},{default:h(()=>[_(go,{class:"sun"}),_(vo,{class:"moon"})]),_:1},8,["title","aria-checked","onClick"]))}}),ge=m($o,[["__scopeId","data-v-b93d5780"]]),bo={key:0,class:"VPNavBarAppearance"},ko=$({__name:"VPNavBarAppearance",setup(s){const{site:e}=P();return(t,n)=>i(e).appearance&&i(e).appearance!=="force-dark"?(a(),l("div",bo,[_(ge)])):f("",!0)}}),yo=m(ko,[["__scopeId","data-v-fb322b61"]]),$e=M();let Ae=!1,ae=0;function Po(s){const e=M(!1);if(K){!Ae&&wo(),ae++;const t=G($e,n=>{var o,r,d;n===s.el.value||(o=s.el.value)!=null&&o.contains(n)?(e.value=!0,(r=s.onFocus)==null||r.call(s)):(e.value=!1,(d=s.onBlur)==null||d.call(s))});de(()=>{t(),ae--,ae||Vo()})}return Ke(e)}function wo(){document.addEventListener("focusin",Ne),Ae=!0,$e.value=document.activeElement}function Vo(){document.removeEventListener("focusin",Ne)}function Ne(){$e.value=document.activeElement}const Lo={},So={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},Mo=c("path",{d:"M12,16c-0.3,0-0.5-0.1-0.7-0.3l-6-6c-0.4-0.4-0.4-1,0-1.4s1-0.4,1.4,0l5.3,5.3l5.3-5.3c0.4-0.4,1-0.4,1.4,0s0.4,1,0,1.4l-6,6C12.5,15.9,12.3,16,12,16z"},null,-1),Co=[Mo];function Io(s,e){return a(),l("svg",So,Co)}const Be=m(Lo,[["render",Io]]),To={},Ao={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},No=c("circle",{cx:"12",cy:"12",r:"2"},null,-1),Bo=c("circle",{cx:"19",cy:"12",r:"2"},null,-1),Ho=c("circle",{cx:"5",cy:"12",r:"2"},null,-1),zo=[No,Bo,Ho];function Eo(s,e){return a(),l("svg",Ao,zo)}const Do=m(To,[["render",Eo]]),Fo={class:"VPMenuLink"},xo=$({__name:"VPMenuLink",props:{item:{}},setup(s){const{page:e}=P();return(t,n)=>(a(),l("div",Fo,[_(z,{class:T({active:i(O)(i(e).relativePath,t.item.activeMatch||t.item.link,!!t.item.activeMatch)}),href:t.item.link,target:t.item.target,rel:t.item.rel},{default:h(()=>[H(L(t.item.text),1)]),_:1},8,["class","href","target","rel"])]))}}),ne=m(xo,[["__scopeId","data-v-90dd40ee"]]),Oo={class:"VPMenuGroup"},Uo={key:0,class:"title"},Go=$({__name:"VPMenuGroup",props:{text:{},items:{}},setup(s){return(e,t)=>(a(),l("div",Oo,[e.text?(a(),l("p",Uo,L(e.text),1)):f("",!0),(a(!0),l(C,null,B(e.items,n=>(a(),l(C,null,["link"in n?(a(),b(ne,{key:0,item:n},null,8,["item"])):f("",!0)],64))),256))]))}}),jo=m(Go,[["__scopeId","data-v-b022b83e"]]),Ro={class:"VPMenu"},qo={key:0,class:"items"},Ko=$({__name:"VPMenu",props:{items:{}},setup(s){return(e,t)=>(a(),l("div",Ro,[e.items?(a(),l("div",qo,[(a(!0),l(C,null,B(e.items,n=>(a(),l(C,{key:n.text},["link"in n?(a(),b(ne,{key:0,item:n},null,8,["item"])):(a(),b(jo,{key:1,text:n.text,items:n.items},null,8,["text","items"]))],64))),128))])):f("",!0),u(e.$slots,"default",{},void 0,!0)]))}}),Wo=m(Ko,[["__scopeId","data-v-64d4d5c3"]]),Yo=["aria-expanded","aria-label"],Jo={key:0,class:"text"},Xo=["innerHTML"],Zo={class:"menu"},Qo=$({__name:"VPFlyout",props:{icon:{},button:{},label:{},items:{}},setup(s){const e=M(!1),t=M();Po({el:t,onBlur:n});function n(){e.value=!1}return(o,r)=>(a(),l("div",{class:"VPFlyout",ref_key:"el",ref:t,onMouseenter:r[1]||(r[1]=d=>e.value=!0),onMouseleave:r[2]||(r[2]=d=>e.value=!1)},[c("button",{type:"button",class:"button","aria-haspopup":"true","aria-expanded":e.value,"aria-label":o.label,onClick:r[0]||(r[0]=d=>e.value=!e.value)},[o.button||o.icon?(a(),l("span",Jo,[o.icon?(a(),b(x(o.icon),{key:0,class:"option-icon"})):f("",!0),o.button?(a(),l("span",{key:1,innerHTML:o.button},null,8,Xo)):f("",!0),_(Be,{class:"text-icon"})])):(a(),b(Do,{key:1,class:"icon"}))],8,Yo),c("div",Zo,[_(Wo,{items:o.items},{default:h(()=>[u(o.$slots,"default",{},void 0,!0)]),_:3},8,["items"])])],544))}}),be=m(Qo,[["__scopeId","data-v-52e1c622"]]),ea={discord:'Discord',facebook:'Facebook',github:'GitHub',instagram:'Instagram',linkedin:'LinkedIn',mastodon:'Mastodon',slack:'Slack',twitter:'Twitter',x:'X',youtube:'YouTube'},ta=["href","aria-label","innerHTML"],sa=$({__name:"VPSocialLink",props:{icon:{},link:{},ariaLabel:{}},setup(s){const e=s,t=k(()=>typeof e.icon=="object"?e.icon.svg:ea[e.icon]);return(n,o)=>(a(),l("a",{class:"VPSocialLink no-icon",href:n.link,"aria-label":n.ariaLabel??(typeof n.icon=="string"?n.icon:""),target:"_blank",rel:"noopener",innerHTML:t.value},null,8,ta))}}),na=m(sa,[["__scopeId","data-v-b25dcc7a"]]),oa={class:"VPSocialLinks"},aa=$({__name:"VPSocialLinks",props:{links:{}},setup(s){return(e,t)=>(a(),l("div",oa,[(a(!0),l(C,null,B(e.links,({link:n,icon:o,ariaLabel:r})=>(a(),b(na,{key:n,icon:o,link:n,ariaLabel:r},null,8,["icon","link","ariaLabel"]))),128))]))}}),ke=m(aa,[["__scopeId","data-v-41336c56"]]),ra={key:0,class:"group translations"},ia={class:"trans-title"},la={key:1,class:"group"},ca={class:"item appearance"},ua={class:"label"},da={class:"appearance-action"},va={key:2,class:"group"},ha={class:"item social-links"},pa=$({__name:"VPNavBarExtra",setup(s){const{site:e,theme:t}=P(),{localeLinks:n,currentLang:o}=J({correspondingLink:!0}),r=k(()=>n.value.length&&o.value.label||e.value.appearance||t.value.socialLinks);return(d,p)=>r.value?(a(),b(be,{key:0,class:"VPNavBarExtra",label:"extra navigation"},{default:h(()=>[i(n).length&&i(o).label?(a(),l("div",ra,[c("p",ia,L(i(o).label),1),(a(!0),l(C,null,B(i(n),v=>(a(),b(ne,{key:v.link,item:v},null,8,["item"]))),128))])):f("",!0),i(e).appearance&&i(e).appearance!=="force-dark"?(a(),l("div",la,[c("div",ca,[c("p",ua,L(i(t).darkModeSwitchLabel||"Appearance"),1),c("div",da,[_(ge)])])])):f("",!0),i(t).socialLinks?(a(),l("div",va,[c("div",ha,[_(ke,{class:"social-links-list",links:i(t).socialLinks},null,8,["links"])])])):f("",!0)]),_:1})):f("",!0)}}),_a=m(pa,[["__scopeId","data-v-72fe95f4"]]),fa=s=>(E("data-v-dbe1cae7"),s=s(),D(),s),ma=["aria-expanded"],ga=fa(()=>c("span",{class:"container"},[c("span",{class:"top"}),c("span",{class:"middle"}),c("span",{class:"bottom"})],-1)),$a=[ga],ba=$({__name:"VPNavBarHamburger",props:{active:{type:Boolean}},emits:["click"],setup(s){return(e,t)=>(a(),l("button",{type:"button",class:T(["VPNavBarHamburger",{active:e.active}]),"aria-label":"mobile navigation","aria-expanded":e.active,"aria-controls":"VPNavScreen",onClick:t[0]||(t[0]=n=>e.$emit("click"))},$a,10,ma))}}),ka=m(ba,[["__scopeId","data-v-dbe1cae7"]]),ya=["innerHTML"],Pa=$({__name:"VPNavBarMenuLink",props:{item:{}},setup(s){const{page:e}=P();return(t,n)=>(a(),b(z,{class:T({VPNavBarMenuLink:!0,active:i(O)(i(e).relativePath,t.item.activeMatch||t.item.link,!!t.item.activeMatch)}),href:t.item.link,target:t.item.target,rel:t.item.rel,tabindex:"0"},{default:h(()=>[c("span",{innerHTML:t.item.text},null,8,ya)]),_:1},8,["class","href","target","rel"]))}}),wa=m(Pa,[["__scopeId","data-v-ae07f9ab"]]),Va=$({__name:"VPNavBarMenuGroup",props:{item:{}},setup(s){const e=s,{page:t}=P(),n=r=>"link"in r?O(t.value.relativePath,r.link,!!e.item.activeMatch):r.items.some(n),o=k(()=>n(e.item));return(r,d)=>(a(),b(be,{class:T({VPNavBarMenuGroup:!0,active:i(O)(i(t).relativePath,r.item.activeMatch,!!r.item.activeMatch)||o.value}),button:r.item.text,items:r.item.items},null,8,["class","button","items"]))}}),La=s=>(E("data-v-7c2b362f"),s=s(),D(),s),Sa={key:0,"aria-labelledby":"main-nav-aria-label",class:"VPNavBarMenu"},Ma=La(()=>c("span",{id:"main-nav-aria-label",class:"visually-hidden"},"Main Navigation",-1)),Ca=$({__name:"VPNavBarMenu",setup(s){const{theme:e}=P();return(t,n)=>i(e).nav?(a(),l("nav",Sa,[Ma,(a(!0),l(C,null,B(i(e).nav,o=>(a(),l(C,{key:o.text},["link"in o?(a(),b(wa,{key:0,item:o},null,8,["item"])):(a(),b(Va,{key:1,item:o},null,8,["item"]))],64))),128))])):f("",!0)}}),Ia=m(Ca,[["__scopeId","data-v-7c2b362f"]]);function Ta(s,e){const{localeIndex:t}=P();function n(o){var S,N;const r=o.split("."),d=s&&typeof s=="object",p=d&&((N=(S=s.locales)==null?void 0:S[t.value])==null?void 0:N.translations)||null,v=d&&s.translations||null;let g=p,w=v,y=e;const I=r.pop();for(const A of r){let V=null;const R=y==null?void 0:y[A];R&&(V=y=R);const W=w==null?void 0:w[A];W&&(V=w=W);const q=g==null?void 0:g[A];q&&(V=g=q),R||(y=V),W||(w=V),q||(g=V)}return(g==null?void 0:g[I])??(w==null?void 0:w[I])??(y==null?void 0:y[I])??""}return n}const Aa=["aria-label"],Na={class:"DocSearch-Button-Container"},Ba=c("svg",{class:"DocSearch-Search-Icon",width:"20",height:"20",viewBox:"0 0 20 20","aria-label":"search icon"},[c("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","fill-rule":"evenodd","stroke-linecap":"round","stroke-linejoin":"round"})],-1),Ha={class:"DocSearch-Button-Placeholder"},za=c("span",{class:"DocSearch-Button-Keys"},[c("kbd",{class:"DocSearch-Button-Key"}),c("kbd",{class:"DocSearch-Button-Key"},"K")],-1),we=$({__name:"VPNavBarSearchButton",setup(s){const{theme:e}=P(),t={button:{buttonText:"Search",buttonAriaLabel:"Search"}},n=We(Ta)(Ye(()=>{var o;return(o=e.value.search)==null?void 0:o.options}),t);return(o,r)=>(a(),l("button",{type:"button",class:"DocSearch DocSearch-Button","aria-label":i(n)("button.buttonAriaLabel")},[c("span",Na,[Ba,c("span",Ha,L(i(n)("button.buttonText")),1)]),za],8,Aa))}}),Ea={class:"VPNavBarSearch"},Da={id:"local-search"},Fa={key:1,id:"docsearch"},xa=$({__name:"VPNavBarSearch",setup(s){const e=Je(()=>Xe(()=>import("./VPLocalSearchBox.Ci3nu08r.js"),__vite__mapDeps([0,1]))),t=()=>null,{theme:n}=P(),o=M(!1),r=M(!1);U(()=>{});function d(){o.value||(o.value=!0,setTimeout(p,16))}function p(){const y=new Event("keydown");y.key="k",y.metaKey=!0,window.dispatchEvent(y),setTimeout(()=>{document.querySelector(".DocSearch-Modal")||p()},16)}function v(y){const I=y.target,S=I.tagName;return I.isContentEditable||S==="INPUT"||S==="SELECT"||S==="TEXTAREA"}const g=M(!1);ye("k",y=>{(y.ctrlKey||y.metaKey)&&(y.preventDefault(),g.value=!0)}),ye("/",y=>{v(y)||(y.preventDefault(),g.value=!0)});const w="local";return(y,I)=>{var S;return a(),l("div",Ea,[i(w)==="local"?(a(),l(C,{key:0},[g.value?(a(),b(i(e),{key:0,onClose:I[0]||(I[0]=N=>g.value=!1)})):f("",!0),c("div",Da,[_(we,{onClick:I[1]||(I[1]=N=>g.value=!0)})])],64)):i(w)==="algolia"?(a(),l(C,{key:1},[o.value?(a(),b(i(t),{key:0,algolia:((S=i(n).search)==null?void 0:S.options)??i(n).algolia,onVnodeBeforeMount:I[2]||(I[2]=N=>r.value=!0)},null,8,["algolia"])):f("",!0),r.value?f("",!0):(a(),l("div",Fa,[_(we,{onClick:d})]))],64)):f("",!0)])}}}),Oa=$({__name:"VPNavBarSocialLinks",setup(s){const{theme:e}=P();return(t,n)=>i(e).socialLinks?(a(),b(ke,{key:0,class:"VPNavBarSocialLinks",links:i(e).socialLinks},null,8,["links"])):f("",!0)}}),Ua=m(Oa,[["__scopeId","data-v-b516bfb1"]]),Ga=["href"],ja=$({__name:"VPNavBarTitle",setup(s){const{site:e,theme:t}=P(),{hasSidebar:n}=F(),{currentLang:o}=J();return(r,d)=>(a(),l("div",{class:T(["VPNavBarTitle",{"has-sidebar":i(n)}])},[c("a",{class:"title",href:i(t).logoLink??i(he)(i(o).link)},[u(r.$slots,"nav-bar-title-before",{},void 0,!0),i(t).logo?(a(),b(Q,{key:0,class:"logo",image:i(t).logo},null,8,["image"])):f("",!0),i(t).siteTitle?(a(),l(C,{key:1},[H(L(i(t).siteTitle),1)],64)):i(t).siteTitle===void 0?(a(),l(C,{key:2},[H(L(i(e).title),1)],64)):f("",!0),u(r.$slots,"nav-bar-title-after",{},void 0,!0)],8,Ga)],2))}}),Ra=m(ja,[["__scopeId","data-v-2d75088b"]]),qa={},Ka={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},Wa=c("path",{d:"M0 0h24v24H0z",fill:"none"},null,-1),Ya=c("path",{d:" M12.87 15.07l-2.54-2.51.03-.03c1.74-1.94 2.98-4.17 3.71-6.53H17V4h-7V2H8v2H1v1.99h11.17C11.5 7.92 10.44 9.75 9 11.35 8.07 10.32 7.3 9.19 6.69 8h-2c.73 1.63 1.73 3.17 2.98 4.56l-5.09 5.02L4 19l5-5 3.11 3.11.76-2.04zM18.5 10h-2L12 22h2l1.12-3h4.75L21 22h2l-4.5-12zm-2.62 7l1.62-4.33L19.12 17h-3.24z ",class:"css-c4d79v"},null,-1),Ja=[Wa,Ya];function Xa(s,e){return a(),l("svg",Ka,Ja)}const He=m(qa,[["render",Xa]]),Za={class:"items"},Qa={class:"title"},er=$({__name:"VPNavBarTranslations",setup(s){const{theme:e}=P(),{localeLinks:t,currentLang:n}=J({correspondingLink:!0});return(o,r)=>i(t).length&&i(n).label?(a(),b(be,{key:0,class:"VPNavBarTranslations",icon:He,label:i(e).langMenuLabel||"Change language"},{default:h(()=>[c("div",Za,[c("p",Qa,L(i(n).label),1),(a(!0),l(C,null,B(i(t),d=>(a(),b(ne,{key:d.link,item:d},null,8,["item"]))),128))])]),_:1},8,["label"])):f("",!0)}}),tr=m(er,[["__scopeId","data-v-227a9881"]]),sr=s=>(E("data-v-0b6416f2"),s=s(),D(),s),nr={class:"container"},or={class:"title"},ar={class:"content"},rr=sr(()=>c("div",{class:"curtain"},null,-1)),ir={class:"content-body"},lr=$({__name:"VPNavBar",props:{isScreenOpen:{type:Boolean}},emits:["toggle-screen"],setup(s){const{y:e}=Se(),{hasSidebar:t}=F(),{frontmatter:n}=P(),o=M({});return Ve(()=>{o.value={"has-sidebar":t.value,top:n.value.layout==="home"&&e.value===0}}),(r,d)=>(a(),l("div",{class:T(["VPNavBar",o.value])},[c("div",nr,[c("div",or,[_(Ra,null,{"nav-bar-title-before":h(()=>[u(r.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":h(()=>[u(r.$slots,"nav-bar-title-after",{},void 0,!0)]),_:3})]),c("div",ar,[rr,c("div",ir,[u(r.$slots,"nav-bar-content-before",{},void 0,!0),_(xa,{class:"search"}),_(Ia,{class:"menu"}),_(tr,{class:"translations"}),_(yo,{class:"appearance"}),_(Ua,{class:"social-links"}),_(_a,{class:"extra"}),u(r.$slots,"nav-bar-content-after",{},void 0,!0),_(ka,{class:"hamburger",active:r.isScreenOpen,onClick:d[0]||(d[0]=p=>r.$emit("toggle-screen"))},null,8,["active"])])])])],2))}}),cr=m(lr,[["__scopeId","data-v-0b6416f2"]]),ur={key:0,class:"VPNavScreenAppearance"},dr={class:"text"},vr=$({__name:"VPNavScreenAppearance",setup(s){const{site:e,theme:t}=P();return(n,o)=>i(e).appearance&&i(e).appearance!=="force-dark"?(a(),l("div",ur,[c("p",dr,L(i(t).darkModeSwitchLabel||"Appearance"),1),_(ge)])):f("",!0)}}),hr=m(vr,[["__scopeId","data-v-9aa87f8f"]]),pr=$({__name:"VPNavScreenMenuLink",props:{item:{}},setup(s){const e=se("close-screen");return(t,n)=>(a(),b(z,{class:"VPNavScreenMenuLink",href:t.item.link,target:t.item.target,rel:t.item.rel,onClick:i(e)},{default:h(()=>[H(L(t.item.text),1)]),_:1},8,["href","target","rel","onClick"]))}}),_r=m(pr,[["__scopeId","data-v-fd8b35e1"]]),fr={},mr={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},gr=c("path",{d:"M18.9,10.9h-6v-6c0-0.6-0.4-1-1-1s-1,0.4-1,1v6h-6c-0.6,0-1,0.4-1,1s0.4,1,1,1h6v6c0,0.6,0.4,1,1,1s1-0.4,1-1v-6h6c0.6,0,1-0.4,1-1S19.5,10.9,18.9,10.9z"},null,-1),$r=[gr];function br(s,e){return a(),l("svg",mr,$r)}const kr=m(fr,[["render",br]]),yr=$({__name:"VPNavScreenMenuGroupLink",props:{item:{}},setup(s){const e=se("close-screen");return(t,n)=>(a(),b(z,{class:"VPNavScreenMenuGroupLink",href:t.item.link,target:t.item.target,rel:t.item.rel,onClick:i(e)},{default:h(()=>[H(L(t.item.text),1)]),_:1},8,["href","target","rel","onClick"]))}}),ze=m(yr,[["__scopeId","data-v-3081106c"]]),Pr={class:"VPNavScreenMenuGroupSection"},wr={key:0,class:"title"},Vr=$({__name:"VPNavScreenMenuGroupSection",props:{text:{},items:{}},setup(s){return(e,t)=>(a(),l("div",Pr,[e.text?(a(),l("p",wr,L(e.text),1)):f("",!0),(a(!0),l(C,null,B(e.items,n=>(a(),b(ze,{key:n.text,item:n},null,8,["item"]))),128))]))}}),Lr=m(Vr,[["__scopeId","data-v-1d5251cc"]]),Sr=["aria-controls","aria-expanded"],Mr=["innerHTML"],Cr=["id"],Ir={key:1,class:"group"},Tr=$({__name:"VPNavScreenMenuGroup",props:{text:{},items:{}},setup(s){const e=s,t=M(!1),n=k(()=>`NavScreenGroup-${e.text.replace(" ","-").toLowerCase()}`);function o(){t.value=!t.value}return(r,d)=>(a(),l("div",{class:T(["VPNavScreenMenuGroup",{open:t.value}])},[c("button",{class:"button","aria-controls":n.value,"aria-expanded":t.value,onClick:o},[c("span",{class:"button-text",innerHTML:r.text},null,8,Mr),_(kr,{class:"button-icon"})],8,Sr),c("div",{id:n.value,class:"items"},[(a(!0),l(C,null,B(r.items,p=>(a(),l(C,{key:p.text},["link"in p?(a(),l("div",{key:p.text,class:"item"},[_(ze,{item:p},null,8,["item"])])):(a(),l("div",Ir,[_(Lr,{text:p.text,items:p.items},null,8,["text","items"])]))],64))),128))],8,Cr)],2))}}),Ar=m(Tr,[["__scopeId","data-v-15810ca9"]]),Nr={key:0,class:"VPNavScreenMenu"},Br=$({__name:"VPNavScreenMenu",setup(s){const{theme:e}=P();return(t,n)=>i(e).nav?(a(),l("nav",Nr,[(a(!0),l(C,null,B(i(e).nav,o=>(a(),l(C,{key:o.text},["link"in o?(a(),b(_r,{key:0,item:o},null,8,["item"])):(a(),b(Ar,{key:1,text:o.text||"",items:o.items},null,8,["text","items"]))],64))),128))])):f("",!0)}}),Hr=$({__name:"VPNavScreenSocialLinks",setup(s){const{theme:e}=P();return(t,n)=>i(e).socialLinks?(a(),b(ke,{key:0,class:"VPNavScreenSocialLinks",links:i(e).socialLinks},null,8,["links"])):f("",!0)}}),zr={class:"list"},Er=$({__name:"VPNavScreenTranslations",setup(s){const{localeLinks:e,currentLang:t}=J({correspondingLink:!0}),n=M(!1);function o(){n.value=!n.value}return(r,d)=>i(e).length&&i(t).label?(a(),l("div",{key:0,class:T(["VPNavScreenTranslations",{open:n.value}])},[c("button",{class:"title",onClick:o},[_(He,{class:"icon lang"}),H(" "+L(i(t).label)+" ",1),_(Be,{class:"icon chevron"})]),c("ul",zr,[(a(!0),l(C,null,B(i(e),p=>(a(),l("li",{key:p.link,class:"item"},[_(z,{class:"link",href:p.link},{default:h(()=>[H(L(p.text),1)]),_:2},1032,["href"])]))),128))])],2)):f("",!0)}}),Dr=m(Er,[["__scopeId","data-v-bdd211bc"]]),Fr={class:"container"},xr=$({__name:"VPNavScreen",props:{open:{type:Boolean}},setup(s){const e=M(null),t=Me(K?document.body:null);return(n,o)=>(a(),b(ce,{name:"fade",onEnter:o[0]||(o[0]=r=>t.value=!0),onAfterLeave:o[1]||(o[1]=r=>t.value=!1)},{default:h(()=>[n.open?(a(),l("div",{key:0,class:"VPNavScreen",ref_key:"screen",ref:e,id:"VPNavScreen"},[c("div",Fr,[u(n.$slots,"nav-screen-content-before",{},void 0,!0),_(Br,{class:"menu"}),_(Dr,{class:"translations"}),_(hr,{class:"appearance"}),_(Hr,{class:"social-links"}),u(n.$slots,"nav-screen-content-after",{},void 0,!0)])],512)):f("",!0)]),_:3}))}}),Or=m(xr,[["__scopeId","data-v-31370a66"]]),Ur={key:0,class:"VPNav"},Gr=$({__name:"VPNav",setup(s){const{isScreenOpen:e,closeScreen:t,toggleScreen:n}=Qn(),{frontmatter:o}=P(),r=k(()=>o.value.navbar!==!1);return Ce("close-screen",t),ee(()=>{K&&document.documentElement.classList.toggle("hide-nav",!r.value)}),(d,p)=>r.value?(a(),l("header",Ur,[_(cr,{"is-screen-open":i(e),onToggleScreen:i(n)},{"nav-bar-title-before":h(()=>[u(d.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":h(()=>[u(d.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":h(()=>[u(d.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":h(()=>[u(d.$slots,"nav-bar-content-after",{},void 0,!0)]),_:3},8,["is-screen-open","onToggleScreen"]),_(Or,{open:i(e)},{"nav-screen-content-before":h(()=>[u(d.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":h(()=>[u(d.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3},8,["open"])])):f("",!0)}}),jr=m(Gr,[["__scopeId","data-v-6cd908e3"]]),Rr=s=>(E("data-v-0ae4f5ba"),s=s(),D(),s),qr=["role","tabindex"],Kr=Rr(()=>c("div",{class:"indicator"},null,-1)),Wr={key:1,class:"items"},Yr=$({__name:"VPSidebarItem",props:{item:{},depth:{}},setup(s){const e=s,{collapsed:t,collapsible:n,isLink:o,isActiveLink:r,hasActiveLink:d,hasChildren:p,toggle:v}=yt(k(()=>e.item)),g=k(()=>p.value?"section":"div"),w=k(()=>o.value?"a":"div"),y=k(()=>p.value?e.depth+2===7?"p":`h${e.depth+2}`:"p"),I=k(()=>o.value?void 0:"button"),S=k(()=>[[`level-${e.depth}`],{collapsible:n.value},{collapsed:t.value},{"is-link":o.value},{"is-active":r.value},{"has-active":d.value}]);function N(V){"key"in V&&V.key!=="Enter"||!e.item.link&&v()}function A(){e.item.link&&v()}return(V,R)=>{const W=j("VPSidebarItem",!0);return a(),b(x(g.value),{class:T(["VPSidebarItem",S.value])},{default:h(()=>[V.item.text?(a(),l("div",X({key:0,class:"item",role:I.value},Ze(V.item.items?{click:N,keydown:N}:{},!0),{tabindex:V.item.items&&0}),[Kr,V.item.link?(a(),b(z,{key:0,tag:w.value,class:"link",href:V.item.link,rel:V.item.rel,target:V.item.target},{default:h(()=>[(a(),b(x(y.value),{class:"text",innerHTML:V.item.text},null,8,["innerHTML"]))]),_:1},8,["tag","href","rel","target"])):(a(),b(x(y.value),{key:1,class:"text",innerHTML:V.item.text},null,8,["innerHTML"])),V.item.collapsed!=null?(a(),l("div",{key:2,class:"caret",role:"button","aria-label":"toggle section",onClick:A,onKeydown:Qe(A,["enter"]),tabindex:"0"},[_(me,{class:"caret-icon"})],32)):f("",!0)],16,qr)):f("",!0),V.item.items&&V.item.items.length?(a(),l("div",Wr,[V.depth<5?(a(!0),l(C,{key:0},B(V.item.items,q=>(a(),b(W,{key:q.text,item:q,depth:V.depth+1},null,8,["item","depth"]))),128)):f("",!0)])):f("",!0)]),_:1},8,["class"])}}}),Jr=m(Yr,[["__scopeId","data-v-0ae4f5ba"]]),Ee=s=>(E("data-v-bc133c36"),s=s(),D(),s),Xr=Ee(()=>c("div",{class:"curtain"},null,-1)),Zr={class:"nav",id:"VPSidebarNav","aria-labelledby":"sidebar-aria-label",tabindex:"-1"},Qr=Ee(()=>c("span",{class:"visually-hidden",id:"sidebar-aria-label"}," Sidebar Navigation ",-1)),ei=$({__name:"VPSidebar",props:{open:{type:Boolean}},setup(s){const{sidebarGroups:e,hasSidebar:t}=F(),n=s,o=M(null),r=Me(K?document.body:null);return G([n,o],()=>{var d;n.open?(r.value=!0,(d=o.value)==null||d.focus()):r.value=!1},{immediate:!0,flush:"post"}),(d,p)=>i(t)?(a(),l("aside",{key:0,class:T(["VPSidebar",{open:d.open}]),ref_key:"navEl",ref:o,onClick:p[0]||(p[0]=et(()=>{},["stop"]))},[Xr,c("nav",Zr,[Qr,u(d.$slots,"sidebar-nav-before",{},void 0,!0),(a(!0),l(C,null,B(i(e),v=>(a(),l("div",{key:v.text,class:"group"},[_(Jr,{item:v,depth:0},null,8,["item"])]))),128)),u(d.$slots,"sidebar-nav-after",{},void 0,!0)])],2)):f("",!0)}}),ti=m(ei,[["__scopeId","data-v-bc133c36"]]),si=$({__name:"VPSkipLink",setup(s){const e=te(),t=M();G(()=>e.path,()=>t.value.focus());function n({target:o}){const r=document.getElementById(decodeURIComponent(o.hash).slice(1));if(r){const d=()=>{r.removeAttribute("tabindex"),r.removeEventListener("blur",d)};r.setAttribute("tabindex","-1"),r.addEventListener("blur",d),r.focus(),window.scrollTo(0,0)}}return(o,r)=>(a(),l(C,null,[c("span",{ref_key:"backToTop",ref:t,tabindex:"-1"},null,512),c("a",{href:"#VPContent",class:"VPSkipLink visually-hidden",onClick:n}," Skip to content ")],64))}}),ni=m(si,[["__scopeId","data-v-94b9217c"]]),oi=$({__name:"Layout",setup(s){const{isOpen:e,open:t,close:n}=F(),o=te();G(()=>o.path,n),kt(e,n);const{frontmatter:r}=P(),d=tt(),p=k(()=>!!d["home-hero-image"]);return Ce("hero-image-slot-exists",p),(v,g)=>{const w=j("Content");return i(r).layout!==!1?(a(),l("div",{key:0,class:T(["Layout",i(r).pageClass])},[u(v.$slots,"layout-top",{},void 0,!0),_(ni),_(rt,{class:"backdrop",show:i(e),onClick:i(n)},null,8,["show","onClick"]),_(jr,null,{"nav-bar-title-before":h(()=>[u(v.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":h(()=>[u(v.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":h(()=>[u(v.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":h(()=>[u(v.$slots,"nav-bar-content-after",{},void 0,!0)]),"nav-screen-content-before":h(()=>[u(v.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":h(()=>[u(v.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3}),_(Zn,{open:i(e),onOpenMenu:i(t)},null,8,["open","onOpenMenu"]),_(ti,{open:i(e)},{"sidebar-nav-before":h(()=>[u(v.$slots,"sidebar-nav-before",{},void 0,!0)]),"sidebar-nav-after":h(()=>[u(v.$slots,"sidebar-nav-after",{},void 0,!0)]),_:3},8,["open"]),_(In,null,{"page-top":h(()=>[u(v.$slots,"page-top",{},void 0,!0)]),"page-bottom":h(()=>[u(v.$slots,"page-bottom",{},void 0,!0)]),"not-found":h(()=>[u(v.$slots,"not-found",{},void 0,!0)]),"home-hero-before":h(()=>[u(v.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info":h(()=>[u(v.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-image":h(()=>[u(v.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":h(()=>[u(v.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":h(()=>[u(v.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":h(()=>[u(v.$slots,"home-features-after",{},void 0,!0)]),"doc-footer-before":h(()=>[u(v.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":h(()=>[u(v.$slots,"doc-before",{},void 0,!0)]),"doc-after":h(()=>[u(v.$slots,"doc-after",{},void 0,!0)]),"doc-top":h(()=>[u(v.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":h(()=>[u(v.$slots,"doc-bottom",{},void 0,!0)]),"aside-top":h(()=>[u(v.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":h(()=>[u(v.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":h(()=>[u(v.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":h(()=>[u(v.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":h(()=>[u(v.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":h(()=>[u(v.$slots,"aside-ads-after",{},void 0,!0)]),_:3}),_(Hn),u(v.$slots,"layout-bottom",{},void 0,!0)],2)):(a(),b(w,{key:1}))}}}),ai=m(oi,[["__scopeId","data-v-3ebf3d00"]]),li={Layout:ai,enhanceApp:({app:s})=>{s.component("Badge",nt)}};class ci{constructor(e=10){oe(this,"max");oe(this,"cache");this.max=e,this.cache=new Map}get(e){let t=this.cache.get(e);return t!==void 0&&(this.cache.delete(e),this.cache.set(e,t)),t}set(e,t){this.cache.has(e)?this.cache.delete(e):this.cache.size===this.max&&this.cache.delete(this.first()),this.cache.set(e,t)}first(){return this.cache.keys().next().value}clear(){this.cache.clear()}}export{ci as L,Ta as c,li as t,P as u}; -function __vite__mapDeps(indexes) { - if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/chunks/VPLocalSearchBox.Ci3nu08r.js","assets/chunks/framework.BwCxet3-.js"] - } - return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) -} \ No newline at end of file diff --git a/assets/demos_DragDrop.md.KueMX9qx.js b/assets/demos_DragDrop.md.Bh461sua.js similarity index 99% rename from assets/demos_DragDrop.md.KueMX9qx.js rename to assets/demos_DragDrop.md.Bh461sua.js index 6174c05c..fb122b25 100644 --- a/assets/demos_DragDrop.md.KueMX9qx.js +++ b/assets/demos_DragDrop.md.Bh461sua.js @@ -1,4 +1,4 @@ -import{p as B,a as m,_ as f}from"./chunks/camera.DE4cteSh.js";import{d as F,o as r,c as E,r as v,a2 as e,_ as A,D as C,k as t,a as d,t as c,e as _,I as y,w as D,n as q,R as b}from"./chunks/framework.BwCxet3-.js";const O=F({__name:"QrcodeDropZone",props:{formats:{type:Array,default:()=>["qr_code"]}},emits:["detect","dragover","error"],setup(s,{emit:h}){const g=s,p=h,n=async a=>{try{const i=await a;p("detect",i)}catch(i){p("error",i)}},l=a=>{p("dragover",a)},o=({dataTransfer:a})=>{if(!a)return;l(!1);const i=[...Array.from(a.files)],k=a.getData("text/uri-list");i.forEach(u=>{n(B(u))}),k!==""&&n(m(k,g.formats))};return(a,i)=>(r(),E("div",{onDrop:e(o,["prevent","stop"]),onDragenter:i[0]||(i[0]=e(k=>l(!0),["prevent","stop"])),onDragleave:i[1]||(i[1]=e(k=>l(!1),["prevent","stop"])),onDragover:i[2]||(i[2]=e(()=>{},["prevent","stop"]))},[v(a.$slots,"default")],32))}}),S={components:{QrcodeDropZone:O},data(){return{result:null,error:null,dragover:!1}},methods:{onDetect(s){console.log(s),this.result=JSON.stringify(s.map(h=>h.rawValue))},logErrors(s){s.name==="DropImageFetchError"?this.error="Sorry, you can't load cross-origin images :/":s.name==="DropImageDecodeError"?this.error="Ok, that's not an image. That can't be decoded.":this.error="Ups, what kind of error is this?! "+s.message},onDragOver(s){this.dragover=s}}},x={class:"decode-result"},w={key:0,class:"drop-error"};function N(s,h,g,p,n,l){const o=C("qrcode-drop-zone");return r(),E("div",null,[t("p",x,[d(" Last result: "),t("b",null,c(n.result),1)]),n.error!==null?(r(),E("p",w,c(n.error),1)):_("",!0),y(o,{onDetect:l.onDetect,onDragover:l.onDragOver,onError:l.logErrors},{default:D(()=>[t("div",{class:q(["drop-area",{dragover:n.dragover}])}," DROP SOME IMAGES HERE ",2)]),_:1},8,["onDetect","onDragover","onError"])])}const I=A(S,[["render",N]]),V=t("h1",{id:"decode-by-drag-drop",tabindex:"-1"},[d("Decode by Drag&Drop "),t("a",{class:"header-anchor",href:"#decode-by-drag-drop","aria-label":'Permalink to "Decode by Drag&Drop"'},"​")],-1),P=t("p",null,[d("With the "),t("code",null,"QrcodeDropZone"),d(" component you can also drag-and-drop images that should be scanned. Use it as a standalone feature or as a fallback for desktop users.")],-1),U=b(`

Source

vue
<template>
+import{p as B,a as m,_ as f}from"./chunks/camera.Y0ohPhsl.js";import{d as F,o as r,c as E,r as v,a2 as e,_ as A,D as C,k as t,a as d,t as c,e as _,I as y,w as D,n as q,R as b}from"./chunks/framework.BwCxet3-.js";const O=F({__name:"QrcodeDropZone",props:{formats:{type:Array,default:()=>["qr_code"]}},emits:["detect","dragover","error"],setup(s,{emit:h}){const g=s,p=h,n=async a=>{try{const i=await a;p("detect",i)}catch(i){p("error",i)}},l=a=>{p("dragover",a)},o=({dataTransfer:a})=>{if(!a)return;l(!1);const i=[...Array.from(a.files)],k=a.getData("text/uri-list");i.forEach(u=>{n(B(u))}),k!==""&&n(m(k,g.formats))};return(a,i)=>(r(),E("div",{onDrop:e(o,["prevent","stop"]),onDragenter:i[0]||(i[0]=e(k=>l(!0),["prevent","stop"])),onDragleave:i[1]||(i[1]=e(k=>l(!1),["prevent","stop"])),onDragover:i[2]||(i[2]=e(()=>{},["prevent","stop"]))},[v(a.$slots,"default")],32))}}),S={components:{QrcodeDropZone:O},data(){return{result:null,error:null,dragover:!1}},methods:{onDetect(s){console.log(s),this.result=JSON.stringify(s.map(h=>h.rawValue))},logErrors(s){s.name==="DropImageFetchError"?this.error="Sorry, you can't load cross-origin images :/":s.name==="DropImageDecodeError"?this.error="Ok, that's not an image. That can't be decoded.":this.error="Ups, what kind of error is this?! "+s.message},onDragOver(s){this.dragover=s}}},x={class:"decode-result"},w={key:0,class:"drop-error"};function N(s,h,g,p,n,l){const o=C("qrcode-drop-zone");return r(),E("div",null,[t("p",x,[d(" Last result: "),t("b",null,c(n.result),1)]),n.error!==null?(r(),E("p",w,c(n.error),1)):_("",!0),y(o,{onDetect:l.onDetect,onDragover:l.onDragOver,onError:l.logErrors},{default:D(()=>[t("div",{class:q(["drop-area",{dragover:n.dragover}])}," DROP SOME IMAGES HERE ",2)]),_:1},8,["onDetect","onDragover","onError"])])}const I=A(S,[["render",N]]),V=t("h1",{id:"decode-by-drag-drop",tabindex:"-1"},[d("Decode by Drag&Drop "),t("a",{class:"header-anchor",href:"#decode-by-drag-drop","aria-label":'Permalink to "Decode by Drag&Drop"'},"​")],-1),P=t("p",null,[d("With the "),t("code",null,"QrcodeDropZone"),d(" component you can also drag-and-drop images that should be scanned. Use it as a standalone feature or as a fallback for desktop users.")],-1),U=b(`

Source

vue
<template>
   <div>
     <p class="decode-result">
       Last result: <b>{{ result }}</b>
diff --git a/assets/demos_DragDrop.md.KueMX9qx.lean.js b/assets/demos_DragDrop.md.Bh461sua.lean.js
similarity index 99%
rename from assets/demos_DragDrop.md.KueMX9qx.lean.js
rename to assets/demos_DragDrop.md.Bh461sua.lean.js
index 6174c05c..fb122b25 100644
--- a/assets/demos_DragDrop.md.KueMX9qx.lean.js
+++ b/assets/demos_DragDrop.md.Bh461sua.lean.js
@@ -1,4 +1,4 @@
-import{p as B,a as m,_ as f}from"./chunks/camera.DE4cteSh.js";import{d as F,o as r,c as E,r as v,a2 as e,_ as A,D as C,k as t,a as d,t as c,e as _,I as y,w as D,n as q,R as b}from"./chunks/framework.BwCxet3-.js";const O=F({__name:"QrcodeDropZone",props:{formats:{type:Array,default:()=>["qr_code"]}},emits:["detect","dragover","error"],setup(s,{emit:h}){const g=s,p=h,n=async a=>{try{const i=await a;p("detect",i)}catch(i){p("error",i)}},l=a=>{p("dragover",a)},o=({dataTransfer:a})=>{if(!a)return;l(!1);const i=[...Array.from(a.files)],k=a.getData("text/uri-list");i.forEach(u=>{n(B(u))}),k!==""&&n(m(k,g.formats))};return(a,i)=>(r(),E("div",{onDrop:e(o,["prevent","stop"]),onDragenter:i[0]||(i[0]=e(k=>l(!0),["prevent","stop"])),onDragleave:i[1]||(i[1]=e(k=>l(!1),["prevent","stop"])),onDragover:i[2]||(i[2]=e(()=>{},["prevent","stop"]))},[v(a.$slots,"default")],32))}}),S={components:{QrcodeDropZone:O},data(){return{result:null,error:null,dragover:!1}},methods:{onDetect(s){console.log(s),this.result=JSON.stringify(s.map(h=>h.rawValue))},logErrors(s){s.name==="DropImageFetchError"?this.error="Sorry, you can't load cross-origin images :/":s.name==="DropImageDecodeError"?this.error="Ok, that's not an image. That can't be decoded.":this.error="Ups, what kind of error is this?! "+s.message},onDragOver(s){this.dragover=s}}},x={class:"decode-result"},w={key:0,class:"drop-error"};function N(s,h,g,p,n,l){const o=C("qrcode-drop-zone");return r(),E("div",null,[t("p",x,[d(" Last result: "),t("b",null,c(n.result),1)]),n.error!==null?(r(),E("p",w,c(n.error),1)):_("",!0),y(o,{onDetect:l.onDetect,onDragover:l.onDragOver,onError:l.logErrors},{default:D(()=>[t("div",{class:q(["drop-area",{dragover:n.dragover}])}," DROP SOME IMAGES HERE ",2)]),_:1},8,["onDetect","onDragover","onError"])])}const I=A(S,[["render",N]]),V=t("h1",{id:"decode-by-drag-drop",tabindex:"-1"},[d("Decode by Drag&Drop "),t("a",{class:"header-anchor",href:"#decode-by-drag-drop","aria-label":'Permalink to "Decode by Drag&Drop"'},"​")],-1),P=t("p",null,[d("With the "),t("code",null,"QrcodeDropZone"),d(" component you can also drag-and-drop images that should be scanned. Use it as a standalone feature or as a fallback for desktop users.")],-1),U=b(`

Source

vue
<template>
+import{p as B,a as m,_ as f}from"./chunks/camera.Y0ohPhsl.js";import{d as F,o as r,c as E,r as v,a2 as e,_ as A,D as C,k as t,a as d,t as c,e as _,I as y,w as D,n as q,R as b}from"./chunks/framework.BwCxet3-.js";const O=F({__name:"QrcodeDropZone",props:{formats:{type:Array,default:()=>["qr_code"]}},emits:["detect","dragover","error"],setup(s,{emit:h}){const g=s,p=h,n=async a=>{try{const i=await a;p("detect",i)}catch(i){p("error",i)}},l=a=>{p("dragover",a)},o=({dataTransfer:a})=>{if(!a)return;l(!1);const i=[...Array.from(a.files)],k=a.getData("text/uri-list");i.forEach(u=>{n(B(u))}),k!==""&&n(m(k,g.formats))};return(a,i)=>(r(),E("div",{onDrop:e(o,["prevent","stop"]),onDragenter:i[0]||(i[0]=e(k=>l(!0),["prevent","stop"])),onDragleave:i[1]||(i[1]=e(k=>l(!1),["prevent","stop"])),onDragover:i[2]||(i[2]=e(()=>{},["prevent","stop"]))},[v(a.$slots,"default")],32))}}),S={components:{QrcodeDropZone:O},data(){return{result:null,error:null,dragover:!1}},methods:{onDetect(s){console.log(s),this.result=JSON.stringify(s.map(h=>h.rawValue))},logErrors(s){s.name==="DropImageFetchError"?this.error="Sorry, you can't load cross-origin images :/":s.name==="DropImageDecodeError"?this.error="Ok, that's not an image. That can't be decoded.":this.error="Ups, what kind of error is this?! "+s.message},onDragOver(s){this.dragover=s}}},x={class:"decode-result"},w={key:0,class:"drop-error"};function N(s,h,g,p,n,l){const o=C("qrcode-drop-zone");return r(),E("div",null,[t("p",x,[d(" Last result: "),t("b",null,c(n.result),1)]),n.error!==null?(r(),E("p",w,c(n.error),1)):_("",!0),y(o,{onDetect:l.onDetect,onDragover:l.onDragOver,onError:l.logErrors},{default:D(()=>[t("div",{class:q(["drop-area",{dragover:n.dragover}])}," DROP SOME IMAGES HERE ",2)]),_:1},8,["onDetect","onDragover","onError"])])}const I=A(S,[["render",N]]),V=t("h1",{id:"decode-by-drag-drop",tabindex:"-1"},[d("Decode by Drag&Drop "),t("a",{class:"header-anchor",href:"#decode-by-drag-drop","aria-label":'Permalink to "Decode by Drag&Drop"'},"​")],-1),P=t("p",null,[d("With the "),t("code",null,"QrcodeDropZone"),d(" component you can also drag-and-drop images that should be scanned. Use it as a standalone feature or as a fallback for desktop users.")],-1),U=b(`

Source

vue
<template>
   <div>
     <p class="decode-result">
       Last result: <b>{{ result }}</b>
diff --git a/assets/demos_FullDemo.md.dj7uxa22.js b/assets/demos_FullDemo.md.CIVJitcX.js
similarity index 99%
rename from assets/demos_FullDemo.md.dj7uxa22.js
rename to assets/demos_FullDemo.md.CIVJitcX.js
index 254066b6..b3f680ce 100644
--- a/assets/demos_FullDemo.md.dj7uxa22.js
+++ b/assets/demos_FullDemo.md.CIVJitcX.js
@@ -1,4 +1,4 @@
-import{_ as I}from"./chunks/camera.DE4cteSh.js";import{d as _,h as E,g as V,o as t,c as k,k as l,a as c,a4 as u,a5 as x,F as B,E as f,t as o,I as D,m as $,a6 as M,p as R,q as U,_ as H,D as Y,w as z,R as j}from"./chunks/framework.BwCxet3-.js";import{_ as Q}from"./chunks/QrcodeStream.vue_vue_type_script_setup_true_lang.DspH0Vrb.js";const W=r=>(R("data-v-df3f27d7"),r=r(),U(),r),X=["value"],J=["value"],L=W(()=>l("br",null,null,-1)),G=["onUpdate:modelValue","id"],K=["for"],Z={class:"error"},ss={class:"decode-result"},is=_({__name:"FullDemo",setup(r){const F=E("");function A(a){console.log(a),F.value=JSON.stringify(a.map(i=>i.rawValue))}const d=E({facingMode:"environment"}),m=[{label:"rear camera",constraints:{facingMode:"environment"}},{label:"front camera",constraints:{facingMode:"user"}}],v=E(m);async function q(){const i=(await navigator.mediaDevices.enumerateDevices()).filter(({kind:s})=>s==="videoinput");v.value=[...m,...i.map(({deviceId:s,label:n})=>({label:`${n} (ID: ${s})`,constraints:{deviceId:s}}))],h.value=""}function S(a,i){for(const s of a){const[n,...y]=s.cornerPoints;i.strokeStyle="red",i.beginPath(),i.moveTo(n.x,n.y);for(const{x:p,y:e}of y)i.lineTo(p,e);i.lineTo(n.x,n.y),i.closePath(),i.stroke()}}function w(a,i){for(const s of a){const{boundingBox:{x:n,y,width:p,height:e}}=s;i.lineWidth=2,i.strokeStyle="#007bff",i.strokeRect(n,y,p,e)}}function T(a,i){for(const s of a){const{boundingBox:n,rawValue:y}=s,p=n.x+n.width/2,e=n.y+n.height/2,N=Math.max(12,50*n.width/i.canvas.width);i.font=`bold ${N}px sans-serif`,i.textAlign="center",i.lineWidth=3,i.strokeStyle="#35495e",i.strokeText(s.rawValue,p,e),i.fillStyle="#5cb984",i.fillText(y,p,e)}}const b=[{text:"nothing (default)",value:void 0},{text:"outline",value:S},{text:"centered text",value:T},{text:"bounding box",value:w}],C=E(b[1]),g=E({aztec:!1,code_128:!1,code_39:!1,code_93:!1,codabar:!1,databar:!1,databar_expanded:!1,data_matrix:!1,dx_film_edge:!1,ean_13:!1,ean_8:!1,itf:!1,maxi_code:!1,micro_qr_code:!1,pdf417:!1,qr_code:!0,rm_qr_code:!1,upc_a:!1,upc_e:!1,linear_codes:!1,matrix_codes:!1}),O=V(()=>Object.keys(g.value).filter(a=>g.value[a])),h=E("");function P(a){h.value=`[${a.name}]: `,a.name==="NotAllowedError"?h.value+="you need to grant camera access permission":a.name==="NotFoundError"?h.value+="no camera on this device":a.name==="NotSupportedError"?h.value+="secure context required (HTTPS, localhost)":a.name==="NotReadableError"?h.value+="is the camera already in use?":a.name==="OverconstrainedError"?h.value+="installed cameras are not suitable":a.name==="StreamApiNotSupportedError"?h.value+="Stream API is not supported in this browser":a.name==="InsecureContextError"?h.value+="Camera access is only permitted in secure context. Use HTTPS or localhost rather than HTTP.":h.value+=a.message}return(a,i)=>(t(),k("div",null,[l("p",null,[c(" Modern mobile phones often have a variety of different cameras installed (e.g. front, rear, wide-angle, infrared, desk-view). The one picked by default is sometimes not the best choice. For more fine-grained control, you can select a camera by device constraints or by the device ID: "),u(l("select",{"onUpdate:modelValue":i[0]||(i[0]=s=>d.value=s)},[(t(!0),k(B,null,f(v.value,s=>(t(),k("option",{key:s.label,value:s.constraints},o(s.label),9,X))),128))],512),[[x,d.value]])]),l("p",null,[c(" Detected codes are visually highlighted in real-time. Use the following dropdown to change the flavor: "),u(l("select",{"onUpdate:modelValue":i[1]||(i[1]=s=>C.value=s)},[(t(),k(B,null,f(b,s=>l("option",{key:s.text,value:s},o(s.text),9,J)),64))],512),[[x,C.value]])]),l("p",null,[c(" By default only QR-codes are detected but a variety of other barcode formats are also supported. You can select one or multiple but the more you select the more expensive scanning becomes: "),L,(t(!0),k(B,null,f(Object.keys(g.value),s=>(t(),k("span",{key:s,class:"barcode-format-checkbox"},[u(l("input",{type:"checkbox","onUpdate:modelValue":n=>g.value[s]=n,id:s},null,8,G),[[M,g.value[s]]]),l("label",{for:s},o(s),9,K)]))),128))]),l("p",Z,o(h.value),1),l("p",ss,[c(" Last result: "),l("b",null,o(F.value),1)]),l("div",null,[D($(Q),{constraints:d.value,track:C.value.value,formats:O.value,onError:P,onDetect:A,onCameraOn:q},null,8,["constraints","track","formats"])])]))}}),as=H(is,[["__scopeId","data-v-df3f27d7"]]),ns=l("h1",{id:"full-demo",tabindex:"-1"},[c("Full Demo "),l("a",{class:"header-anchor",href:"#full-demo","aria-label":'Permalink to "Full Demo"'},"​")],-1),ls=j(`

Source

vue
<template>
+import{_ as I}from"./chunks/camera.Y0ohPhsl.js";import{d as _,h as E,g as V,o as t,c as k,k as l,a as c,a4 as u,a5 as x,F as B,E as f,t as o,I as D,m as $,a6 as M,p as R,q as U,_ as H,D as Y,w as z,R as j}from"./chunks/framework.BwCxet3-.js";import{_ as Q}from"./chunks/QrcodeStream.vue_vue_type_script_setup_true_lang.CsTXXFWV.js";const W=r=>(R("data-v-df3f27d7"),r=r(),U(),r),X=["value"],J=["value"],L=W(()=>l("br",null,null,-1)),G=["onUpdate:modelValue","id"],K=["for"],Z={class:"error"},ss={class:"decode-result"},is=_({__name:"FullDemo",setup(r){const F=E("");function A(a){console.log(a),F.value=JSON.stringify(a.map(i=>i.rawValue))}const d=E({facingMode:"environment"}),m=[{label:"rear camera",constraints:{facingMode:"environment"}},{label:"front camera",constraints:{facingMode:"user"}}],v=E(m);async function q(){const i=(await navigator.mediaDevices.enumerateDevices()).filter(({kind:s})=>s==="videoinput");v.value=[...m,...i.map(({deviceId:s,label:n})=>({label:`${n} (ID: ${s})`,constraints:{deviceId:s}}))],h.value=""}function S(a,i){for(const s of a){const[n,...y]=s.cornerPoints;i.strokeStyle="red",i.beginPath(),i.moveTo(n.x,n.y);for(const{x:p,y:e}of y)i.lineTo(p,e);i.lineTo(n.x,n.y),i.closePath(),i.stroke()}}function w(a,i){for(const s of a){const{boundingBox:{x:n,y,width:p,height:e}}=s;i.lineWidth=2,i.strokeStyle="#007bff",i.strokeRect(n,y,p,e)}}function T(a,i){for(const s of a){const{boundingBox:n,rawValue:y}=s,p=n.x+n.width/2,e=n.y+n.height/2,N=Math.max(12,50*n.width/i.canvas.width);i.font=`bold ${N}px sans-serif`,i.textAlign="center",i.lineWidth=3,i.strokeStyle="#35495e",i.strokeText(s.rawValue,p,e),i.fillStyle="#5cb984",i.fillText(y,p,e)}}const b=[{text:"nothing (default)",value:void 0},{text:"outline",value:S},{text:"centered text",value:T},{text:"bounding box",value:w}],C=E(b[1]),g=E({aztec:!1,code_128:!1,code_39:!1,code_93:!1,codabar:!1,databar:!1,databar_expanded:!1,data_matrix:!1,dx_film_edge:!1,ean_13:!1,ean_8:!1,itf:!1,maxi_code:!1,micro_qr_code:!1,pdf417:!1,qr_code:!0,rm_qr_code:!1,upc_a:!1,upc_e:!1,linear_codes:!1,matrix_codes:!1}),O=V(()=>Object.keys(g.value).filter(a=>g.value[a])),h=E("");function P(a){h.value=`[${a.name}]: `,a.name==="NotAllowedError"?h.value+="you need to grant camera access permission":a.name==="NotFoundError"?h.value+="no camera on this device":a.name==="NotSupportedError"?h.value+="secure context required (HTTPS, localhost)":a.name==="NotReadableError"?h.value+="is the camera already in use?":a.name==="OverconstrainedError"?h.value+="installed cameras are not suitable":a.name==="StreamApiNotSupportedError"?h.value+="Stream API is not supported in this browser":a.name==="InsecureContextError"?h.value+="Camera access is only permitted in secure context. Use HTTPS or localhost rather than HTTP.":h.value+=a.message}return(a,i)=>(t(),k("div",null,[l("p",null,[c(" Modern mobile phones often have a variety of different cameras installed (e.g. front, rear, wide-angle, infrared, desk-view). The one picked by default is sometimes not the best choice. For more fine-grained control, you can select a camera by device constraints or by the device ID: "),u(l("select",{"onUpdate:modelValue":i[0]||(i[0]=s=>d.value=s)},[(t(!0),k(B,null,f(v.value,s=>(t(),k("option",{key:s.label,value:s.constraints},o(s.label),9,X))),128))],512),[[x,d.value]])]),l("p",null,[c(" Detected codes are visually highlighted in real-time. Use the following dropdown to change the flavor: "),u(l("select",{"onUpdate:modelValue":i[1]||(i[1]=s=>C.value=s)},[(t(),k(B,null,f(b,s=>l("option",{key:s.text,value:s},o(s.text),9,J)),64))],512),[[x,C.value]])]),l("p",null,[c(" By default only QR-codes are detected but a variety of other barcode formats are also supported. You can select one or multiple but the more you select the more expensive scanning becomes: "),L,(t(!0),k(B,null,f(Object.keys(g.value),s=>(t(),k("span",{key:s,class:"barcode-format-checkbox"},[u(l("input",{type:"checkbox","onUpdate:modelValue":n=>g.value[s]=n,id:s},null,8,G),[[M,g.value[s]]]),l("label",{for:s},o(s),9,K)]))),128))]),l("p",Z,o(h.value),1),l("p",ss,[c(" Last result: "),l("b",null,o(F.value),1)]),l("div",null,[D($(Q),{constraints:d.value,track:C.value.value,formats:O.value,onError:P,onDetect:A,onCameraOn:q},null,8,["constraints","track","formats"])])]))}}),as=H(is,[["__scopeId","data-v-df3f27d7"]]),ns=l("h1",{id:"full-demo",tabindex:"-1"},[c("Full Demo "),l("a",{class:"header-anchor",href:"#full-demo","aria-label":'Permalink to "Full Demo"'},"​")],-1),ls=j(`

Source

vue
<template>
   <div>
     <p>
       Modern mobile phones often have a variety of different cameras installed (e.g. front, rear,
diff --git a/assets/demos_FullDemo.md.dj7uxa22.lean.js b/assets/demos_FullDemo.md.CIVJitcX.lean.js
similarity index 99%
rename from assets/demos_FullDemo.md.dj7uxa22.lean.js
rename to assets/demos_FullDemo.md.CIVJitcX.lean.js
index 254066b6..b3f680ce 100644
--- a/assets/demos_FullDemo.md.dj7uxa22.lean.js
+++ b/assets/demos_FullDemo.md.CIVJitcX.lean.js
@@ -1,4 +1,4 @@
-import{_ as I}from"./chunks/camera.DE4cteSh.js";import{d as _,h as E,g as V,o as t,c as k,k as l,a as c,a4 as u,a5 as x,F as B,E as f,t as o,I as D,m as $,a6 as M,p as R,q as U,_ as H,D as Y,w as z,R as j}from"./chunks/framework.BwCxet3-.js";import{_ as Q}from"./chunks/QrcodeStream.vue_vue_type_script_setup_true_lang.DspH0Vrb.js";const W=r=>(R("data-v-df3f27d7"),r=r(),U(),r),X=["value"],J=["value"],L=W(()=>l("br",null,null,-1)),G=["onUpdate:modelValue","id"],K=["for"],Z={class:"error"},ss={class:"decode-result"},is=_({__name:"FullDemo",setup(r){const F=E("");function A(a){console.log(a),F.value=JSON.stringify(a.map(i=>i.rawValue))}const d=E({facingMode:"environment"}),m=[{label:"rear camera",constraints:{facingMode:"environment"}},{label:"front camera",constraints:{facingMode:"user"}}],v=E(m);async function q(){const i=(await navigator.mediaDevices.enumerateDevices()).filter(({kind:s})=>s==="videoinput");v.value=[...m,...i.map(({deviceId:s,label:n})=>({label:`${n} (ID: ${s})`,constraints:{deviceId:s}}))],h.value=""}function S(a,i){for(const s of a){const[n,...y]=s.cornerPoints;i.strokeStyle="red",i.beginPath(),i.moveTo(n.x,n.y);for(const{x:p,y:e}of y)i.lineTo(p,e);i.lineTo(n.x,n.y),i.closePath(),i.stroke()}}function w(a,i){for(const s of a){const{boundingBox:{x:n,y,width:p,height:e}}=s;i.lineWidth=2,i.strokeStyle="#007bff",i.strokeRect(n,y,p,e)}}function T(a,i){for(const s of a){const{boundingBox:n,rawValue:y}=s,p=n.x+n.width/2,e=n.y+n.height/2,N=Math.max(12,50*n.width/i.canvas.width);i.font=`bold ${N}px sans-serif`,i.textAlign="center",i.lineWidth=3,i.strokeStyle="#35495e",i.strokeText(s.rawValue,p,e),i.fillStyle="#5cb984",i.fillText(y,p,e)}}const b=[{text:"nothing (default)",value:void 0},{text:"outline",value:S},{text:"centered text",value:T},{text:"bounding box",value:w}],C=E(b[1]),g=E({aztec:!1,code_128:!1,code_39:!1,code_93:!1,codabar:!1,databar:!1,databar_expanded:!1,data_matrix:!1,dx_film_edge:!1,ean_13:!1,ean_8:!1,itf:!1,maxi_code:!1,micro_qr_code:!1,pdf417:!1,qr_code:!0,rm_qr_code:!1,upc_a:!1,upc_e:!1,linear_codes:!1,matrix_codes:!1}),O=V(()=>Object.keys(g.value).filter(a=>g.value[a])),h=E("");function P(a){h.value=`[${a.name}]: `,a.name==="NotAllowedError"?h.value+="you need to grant camera access permission":a.name==="NotFoundError"?h.value+="no camera on this device":a.name==="NotSupportedError"?h.value+="secure context required (HTTPS, localhost)":a.name==="NotReadableError"?h.value+="is the camera already in use?":a.name==="OverconstrainedError"?h.value+="installed cameras are not suitable":a.name==="StreamApiNotSupportedError"?h.value+="Stream API is not supported in this browser":a.name==="InsecureContextError"?h.value+="Camera access is only permitted in secure context. Use HTTPS or localhost rather than HTTP.":h.value+=a.message}return(a,i)=>(t(),k("div",null,[l("p",null,[c(" Modern mobile phones often have a variety of different cameras installed (e.g. front, rear, wide-angle, infrared, desk-view). The one picked by default is sometimes not the best choice. For more fine-grained control, you can select a camera by device constraints or by the device ID: "),u(l("select",{"onUpdate:modelValue":i[0]||(i[0]=s=>d.value=s)},[(t(!0),k(B,null,f(v.value,s=>(t(),k("option",{key:s.label,value:s.constraints},o(s.label),9,X))),128))],512),[[x,d.value]])]),l("p",null,[c(" Detected codes are visually highlighted in real-time. Use the following dropdown to change the flavor: "),u(l("select",{"onUpdate:modelValue":i[1]||(i[1]=s=>C.value=s)},[(t(),k(B,null,f(b,s=>l("option",{key:s.text,value:s},o(s.text),9,J)),64))],512),[[x,C.value]])]),l("p",null,[c(" By default only QR-codes are detected but a variety of other barcode formats are also supported. You can select one or multiple but the more you select the more expensive scanning becomes: "),L,(t(!0),k(B,null,f(Object.keys(g.value),s=>(t(),k("span",{key:s,class:"barcode-format-checkbox"},[u(l("input",{type:"checkbox","onUpdate:modelValue":n=>g.value[s]=n,id:s},null,8,G),[[M,g.value[s]]]),l("label",{for:s},o(s),9,K)]))),128))]),l("p",Z,o(h.value),1),l("p",ss,[c(" Last result: "),l("b",null,o(F.value),1)]),l("div",null,[D($(Q),{constraints:d.value,track:C.value.value,formats:O.value,onError:P,onDetect:A,onCameraOn:q},null,8,["constraints","track","formats"])])]))}}),as=H(is,[["__scopeId","data-v-df3f27d7"]]),ns=l("h1",{id:"full-demo",tabindex:"-1"},[c("Full Demo "),l("a",{class:"header-anchor",href:"#full-demo","aria-label":'Permalink to "Full Demo"'},"​")],-1),ls=j(`

Source

vue
<template>
+import{_ as I}from"./chunks/camera.Y0ohPhsl.js";import{d as _,h as E,g as V,o as t,c as k,k as l,a as c,a4 as u,a5 as x,F as B,E as f,t as o,I as D,m as $,a6 as M,p as R,q as U,_ as H,D as Y,w as z,R as j}from"./chunks/framework.BwCxet3-.js";import{_ as Q}from"./chunks/QrcodeStream.vue_vue_type_script_setup_true_lang.CsTXXFWV.js";const W=r=>(R("data-v-df3f27d7"),r=r(),U(),r),X=["value"],J=["value"],L=W(()=>l("br",null,null,-1)),G=["onUpdate:modelValue","id"],K=["for"],Z={class:"error"},ss={class:"decode-result"},is=_({__name:"FullDemo",setup(r){const F=E("");function A(a){console.log(a),F.value=JSON.stringify(a.map(i=>i.rawValue))}const d=E({facingMode:"environment"}),m=[{label:"rear camera",constraints:{facingMode:"environment"}},{label:"front camera",constraints:{facingMode:"user"}}],v=E(m);async function q(){const i=(await navigator.mediaDevices.enumerateDevices()).filter(({kind:s})=>s==="videoinput");v.value=[...m,...i.map(({deviceId:s,label:n})=>({label:`${n} (ID: ${s})`,constraints:{deviceId:s}}))],h.value=""}function S(a,i){for(const s of a){const[n,...y]=s.cornerPoints;i.strokeStyle="red",i.beginPath(),i.moveTo(n.x,n.y);for(const{x:p,y:e}of y)i.lineTo(p,e);i.lineTo(n.x,n.y),i.closePath(),i.stroke()}}function w(a,i){for(const s of a){const{boundingBox:{x:n,y,width:p,height:e}}=s;i.lineWidth=2,i.strokeStyle="#007bff",i.strokeRect(n,y,p,e)}}function T(a,i){for(const s of a){const{boundingBox:n,rawValue:y}=s,p=n.x+n.width/2,e=n.y+n.height/2,N=Math.max(12,50*n.width/i.canvas.width);i.font=`bold ${N}px sans-serif`,i.textAlign="center",i.lineWidth=3,i.strokeStyle="#35495e",i.strokeText(s.rawValue,p,e),i.fillStyle="#5cb984",i.fillText(y,p,e)}}const b=[{text:"nothing (default)",value:void 0},{text:"outline",value:S},{text:"centered text",value:T},{text:"bounding box",value:w}],C=E(b[1]),g=E({aztec:!1,code_128:!1,code_39:!1,code_93:!1,codabar:!1,databar:!1,databar_expanded:!1,data_matrix:!1,dx_film_edge:!1,ean_13:!1,ean_8:!1,itf:!1,maxi_code:!1,micro_qr_code:!1,pdf417:!1,qr_code:!0,rm_qr_code:!1,upc_a:!1,upc_e:!1,linear_codes:!1,matrix_codes:!1}),O=V(()=>Object.keys(g.value).filter(a=>g.value[a])),h=E("");function P(a){h.value=`[${a.name}]: `,a.name==="NotAllowedError"?h.value+="you need to grant camera access permission":a.name==="NotFoundError"?h.value+="no camera on this device":a.name==="NotSupportedError"?h.value+="secure context required (HTTPS, localhost)":a.name==="NotReadableError"?h.value+="is the camera already in use?":a.name==="OverconstrainedError"?h.value+="installed cameras are not suitable":a.name==="StreamApiNotSupportedError"?h.value+="Stream API is not supported in this browser":a.name==="InsecureContextError"?h.value+="Camera access is only permitted in secure context. Use HTTPS or localhost rather than HTTP.":h.value+=a.message}return(a,i)=>(t(),k("div",null,[l("p",null,[c(" Modern mobile phones often have a variety of different cameras installed (e.g. front, rear, wide-angle, infrared, desk-view). The one picked by default is sometimes not the best choice. For more fine-grained control, you can select a camera by device constraints or by the device ID: "),u(l("select",{"onUpdate:modelValue":i[0]||(i[0]=s=>d.value=s)},[(t(!0),k(B,null,f(v.value,s=>(t(),k("option",{key:s.label,value:s.constraints},o(s.label),9,X))),128))],512),[[x,d.value]])]),l("p",null,[c(" Detected codes are visually highlighted in real-time. Use the following dropdown to change the flavor: "),u(l("select",{"onUpdate:modelValue":i[1]||(i[1]=s=>C.value=s)},[(t(),k(B,null,f(b,s=>l("option",{key:s.text,value:s},o(s.text),9,J)),64))],512),[[x,C.value]])]),l("p",null,[c(" By default only QR-codes are detected but a variety of other barcode formats are also supported. You can select one or multiple but the more you select the more expensive scanning becomes: "),L,(t(!0),k(B,null,f(Object.keys(g.value),s=>(t(),k("span",{key:s,class:"barcode-format-checkbox"},[u(l("input",{type:"checkbox","onUpdate:modelValue":n=>g.value[s]=n,id:s},null,8,G),[[M,g.value[s]]]),l("label",{for:s},o(s),9,K)]))),128))]),l("p",Z,o(h.value),1),l("p",ss,[c(" Last result: "),l("b",null,o(F.value),1)]),l("div",null,[D($(Q),{constraints:d.value,track:C.value.value,formats:O.value,onError:P,onDetect:A,onCameraOn:q},null,8,["constraints","track","formats"])])]))}}),as=H(is,[["__scopeId","data-v-df3f27d7"]]),ns=l("h1",{id:"full-demo",tabindex:"-1"},[c("Full Demo "),l("a",{class:"header-anchor",href:"#full-demo","aria-label":'Permalink to "Full Demo"'},"​")],-1),ls=j(`

Source

vue
<template>
   <div>
     <p>
       Modern mobile phones often have a variety of different cameras installed (e.g. front, rear,
diff --git a/assets/demos_Fullscreen.md.D5kCBhsJ.lean.js b/assets/demos_Fullscreen.md.CLu4sVrH.js
similarity index 99%
rename from assets/demos_Fullscreen.md.D5kCBhsJ.lean.js
rename to assets/demos_Fullscreen.md.CLu4sVrH.js
index 508bf2b9..e9633dcf 100644
--- a/assets/demos_Fullscreen.md.D5kCBhsJ.lean.js
+++ b/assets/demos_Fullscreen.md.CLu4sVrH.js
@@ -1,4 +1,4 @@
-import{_ as y}from"./chunks/camera.DE4cteSh.js";import{_ as F,f as o,D as t,o as k,c as E,I as e,w as r,k as i,n as u,d as C,a as d,R as m}from"./chunks/framework.BwCxet3-.js";import{_ as f}from"./chunks/QrcodeStream.vue_vue_type_script_setup_true_lang.DspH0Vrb.js";const B={components:{QrcodeStream:f},data(){return{fullscreen:!1}},computed:{fullscreenIcon(){return this.fullscreen?"/fullscreen-exit.svg":"/fullscreen.svg"}},watch:{fullscreen(s){s?this.requestFullscreen():this.exitFullscreen()}},methods:{onFullscreenChange(s){this.fullscreen=document.fullscreenElement!==null},requestFullscreen(){const s=this.$refs.wrapper;s.requestFullscreen?s.requestFullscreen():s.mozRequestFullScreen?s.mozRequestFullScreen():s.webkitRequestFullscreen?s.webkitRequestFullscreen():s.msRequestFullscreen&&s.msRequestFullscreen()},exitFullscreen(){document.exitFullscreen?document.exitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.msExitFullscreen&&document.msExitFullscreen()},logErrors:console.error,withBase:o}},A=["src"];function D(s,a,c,h,l,n){const g=t("qrcode-stream");return k(),E("div",{class:u({fullscreen:l.fullscreen}),ref:"wrapper",onFullscreenchange:a[1]||(a[1]=(...p)=>n.onFullscreenChange&&n.onFullscreenChange(...p))},[e(g,{onError:n.logErrors},{default:r(()=>[i("button",{onClick:a[0]||(a[0]=p=>l.fullscreen=!l.fullscreen),class:"fullscreen-button"},[i("img",{src:n.withBase(n.fullscreenIcon),alt:"toggle fullscreen"},null,8,A)])]),_:1},8,["onError"])],34)}const q=F(B,[["render",D],["__scopeId","data-v-39d64d0c"]]),_=i("h1",{id:"fullscreen",tabindex:"-1"},[d("Fullscreen "),i("a",{class:"header-anchor",href:"#fullscreen","aria-label":'Permalink to "Fullscreen"'},"​")],-1),b=i("p",null,[i("code",null,"QrcodeStream"),d(" always covers the entire space available. Not more, not less. So to go fullscreen, simply put the component in a wrapper element that occupies the entire screen.")],-1),x=m(`

Source

vue
<template>
+import{_ as y}from"./chunks/camera.Y0ohPhsl.js";import{_ as F,f as o,D as t,o as k,c as E,I as e,w as r,k as i,n as u,d as C,a as d,R as m}from"./chunks/framework.BwCxet3-.js";import{_ as f}from"./chunks/QrcodeStream.vue_vue_type_script_setup_true_lang.CsTXXFWV.js";const B={components:{QrcodeStream:f},data(){return{fullscreen:!1}},computed:{fullscreenIcon(){return this.fullscreen?"/fullscreen-exit.svg":"/fullscreen.svg"}},watch:{fullscreen(s){s?this.requestFullscreen():this.exitFullscreen()}},methods:{onFullscreenChange(s){this.fullscreen=document.fullscreenElement!==null},requestFullscreen(){const s=this.$refs.wrapper;s.requestFullscreen?s.requestFullscreen():s.mozRequestFullScreen?s.mozRequestFullScreen():s.webkitRequestFullscreen?s.webkitRequestFullscreen():s.msRequestFullscreen&&s.msRequestFullscreen()},exitFullscreen(){document.exitFullscreen?document.exitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.msExitFullscreen&&document.msExitFullscreen()},logErrors:console.error,withBase:o}},A=["src"];function D(s,a,c,h,l,n){const g=t("qrcode-stream");return k(),E("div",{class:u({fullscreen:l.fullscreen}),ref:"wrapper",onFullscreenchange:a[1]||(a[1]=(...p)=>n.onFullscreenChange&&n.onFullscreenChange(...p))},[e(g,{onError:n.logErrors},{default:r(()=>[i("button",{onClick:a[0]||(a[0]=p=>l.fullscreen=!l.fullscreen),class:"fullscreen-button"},[i("img",{src:n.withBase(n.fullscreenIcon),alt:"toggle fullscreen"},null,8,A)])]),_:1},8,["onError"])],34)}const q=F(B,[["render",D],["__scopeId","data-v-39d64d0c"]]),_=i("h1",{id:"fullscreen",tabindex:"-1"},[d("Fullscreen "),i("a",{class:"header-anchor",href:"#fullscreen","aria-label":'Permalink to "Fullscreen"'},"​")],-1),b=i("p",null,[i("code",null,"QrcodeStream"),d(" always covers the entire space available. Not more, not less. So to go fullscreen, simply put the component in a wrapper element that occupies the entire screen.")],-1),x=m(`

Source

vue
<template>
   <div
     :class="{ fullscreen: fullscreen }"
     ref="wrapper"
diff --git a/assets/demos_Fullscreen.md.D5kCBhsJ.js b/assets/demos_Fullscreen.md.CLu4sVrH.lean.js
similarity index 99%
rename from assets/demos_Fullscreen.md.D5kCBhsJ.js
rename to assets/demos_Fullscreen.md.CLu4sVrH.lean.js
index 508bf2b9..e9633dcf 100644
--- a/assets/demos_Fullscreen.md.D5kCBhsJ.js
+++ b/assets/demos_Fullscreen.md.CLu4sVrH.lean.js
@@ -1,4 +1,4 @@
-import{_ as y}from"./chunks/camera.DE4cteSh.js";import{_ as F,f as o,D as t,o as k,c as E,I as e,w as r,k as i,n as u,d as C,a as d,R as m}from"./chunks/framework.BwCxet3-.js";import{_ as f}from"./chunks/QrcodeStream.vue_vue_type_script_setup_true_lang.DspH0Vrb.js";const B={components:{QrcodeStream:f},data(){return{fullscreen:!1}},computed:{fullscreenIcon(){return this.fullscreen?"/fullscreen-exit.svg":"/fullscreen.svg"}},watch:{fullscreen(s){s?this.requestFullscreen():this.exitFullscreen()}},methods:{onFullscreenChange(s){this.fullscreen=document.fullscreenElement!==null},requestFullscreen(){const s=this.$refs.wrapper;s.requestFullscreen?s.requestFullscreen():s.mozRequestFullScreen?s.mozRequestFullScreen():s.webkitRequestFullscreen?s.webkitRequestFullscreen():s.msRequestFullscreen&&s.msRequestFullscreen()},exitFullscreen(){document.exitFullscreen?document.exitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.msExitFullscreen&&document.msExitFullscreen()},logErrors:console.error,withBase:o}},A=["src"];function D(s,a,c,h,l,n){const g=t("qrcode-stream");return k(),E("div",{class:u({fullscreen:l.fullscreen}),ref:"wrapper",onFullscreenchange:a[1]||(a[1]=(...p)=>n.onFullscreenChange&&n.onFullscreenChange(...p))},[e(g,{onError:n.logErrors},{default:r(()=>[i("button",{onClick:a[0]||(a[0]=p=>l.fullscreen=!l.fullscreen),class:"fullscreen-button"},[i("img",{src:n.withBase(n.fullscreenIcon),alt:"toggle fullscreen"},null,8,A)])]),_:1},8,["onError"])],34)}const q=F(B,[["render",D],["__scopeId","data-v-39d64d0c"]]),_=i("h1",{id:"fullscreen",tabindex:"-1"},[d("Fullscreen "),i("a",{class:"header-anchor",href:"#fullscreen","aria-label":'Permalink to "Fullscreen"'},"​")],-1),b=i("p",null,[i("code",null,"QrcodeStream"),d(" always covers the entire space available. Not more, not less. So to go fullscreen, simply put the component in a wrapper element that occupies the entire screen.")],-1),x=m(`

Source

vue
<template>
+import{_ as y}from"./chunks/camera.Y0ohPhsl.js";import{_ as F,f as o,D as t,o as k,c as E,I as e,w as r,k as i,n as u,d as C,a as d,R as m}from"./chunks/framework.BwCxet3-.js";import{_ as f}from"./chunks/QrcodeStream.vue_vue_type_script_setup_true_lang.CsTXXFWV.js";const B={components:{QrcodeStream:f},data(){return{fullscreen:!1}},computed:{fullscreenIcon(){return this.fullscreen?"/fullscreen-exit.svg":"/fullscreen.svg"}},watch:{fullscreen(s){s?this.requestFullscreen():this.exitFullscreen()}},methods:{onFullscreenChange(s){this.fullscreen=document.fullscreenElement!==null},requestFullscreen(){const s=this.$refs.wrapper;s.requestFullscreen?s.requestFullscreen():s.mozRequestFullScreen?s.mozRequestFullScreen():s.webkitRequestFullscreen?s.webkitRequestFullscreen():s.msRequestFullscreen&&s.msRequestFullscreen()},exitFullscreen(){document.exitFullscreen?document.exitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.msExitFullscreen&&document.msExitFullscreen()},logErrors:console.error,withBase:o}},A=["src"];function D(s,a,c,h,l,n){const g=t("qrcode-stream");return k(),E("div",{class:u({fullscreen:l.fullscreen}),ref:"wrapper",onFullscreenchange:a[1]||(a[1]=(...p)=>n.onFullscreenChange&&n.onFullscreenChange(...p))},[e(g,{onError:n.logErrors},{default:r(()=>[i("button",{onClick:a[0]||(a[0]=p=>l.fullscreen=!l.fullscreen),class:"fullscreen-button"},[i("img",{src:n.withBase(n.fullscreenIcon),alt:"toggle fullscreen"},null,8,A)])]),_:1},8,["onError"])],34)}const q=F(B,[["render",D],["__scopeId","data-v-39d64d0c"]]),_=i("h1",{id:"fullscreen",tabindex:"-1"},[d("Fullscreen "),i("a",{class:"header-anchor",href:"#fullscreen","aria-label":'Permalink to "Fullscreen"'},"​")],-1),b=i("p",null,[i("code",null,"QrcodeStream"),d(" always covers the entire space available. Not more, not less. So to go fullscreen, simply put the component in a wrapper element that occupies the entire screen.")],-1),x=m(`

Source

vue
<template>
   <div
     :class="{ fullscreen: fullscreen }"
     ref="wrapper"
diff --git a/assets/demos_LoadingIndicator.md.BPlhc5KO.js b/assets/demos_LoadingIndicator.md.Buy1_mkp.js
similarity index 98%
rename from assets/demos_LoadingIndicator.md.BPlhc5KO.js
rename to assets/demos_LoadingIndicator.md.Buy1_mkp.js
index 4d77814a..f46df789 100644
--- a/assets/demos_LoadingIndicator.md.BPlhc5KO.js
+++ b/assets/demos_LoadingIndicator.md.Buy1_mkp.js
@@ -1,4 +1,4 @@
-import{_ as y}from"./chunks/camera.DE4cteSh.js";import{_ as F}from"./chunks/QrcodeStream.vue_vue_type_script_setup_true_lang.DspH0Vrb.js";import{_ as C,D as E,o as i,c as t,k as s,b as m,w as r,e,d as u,I as k,a as l,R as _}from"./chunks/framework.BwCxet3-.js";const B={components:{QrcodeStream:F},data(){return{loading:!0,destroyed:!1}},methods:{onCameraOn(){this.loading=!1},async reload(){this.destroyed=!0,await this.$nextTick(),this.destroyed=!1,this.loading=!0}}},f={key:0,class:"loading-indicator"};function D(d,a,o,h,p,n){const g=E("qrcode-stream");return i(),t("div",null,[s("button",{onClick:a[0]||(a[0]=(...c)=>n.reload&&n.reload(...c))},"Destroy And Re-Create Component"),p.destroyed?e("",!0):(i(),m(g,{key:0,onCameraOn:n.onCameraOn},{default:r(()=>[p.loading?(i(),t("div",f," Loading... ")):e("",!0)]),_:1},8,["onCameraOn"]))])}const A=C(B,[["render",D],["__scopeId","data-v-3ae3ffac"]]),v=s("h1",{id:"show-loading-indicator",tabindex:"-1"},[l("Show Loading Indicator "),s("a",{class:"header-anchor",href:"#show-loading-indicator","aria-label":'Permalink to "Show Loading Indicator"'},"​")],-1),b=s("p",null,[l("There is some delay between mounting the component and the camera stream becoming visible. Listen for the "),s("code",null,"camera-on"),l(" event to show a loading indicator.")],-1),q=s("p",null,"Push the button below to force destroy and re-create the component.",-1),w=_(`

Source

vue
<template>
+import{_ as y}from"./chunks/camera.Y0ohPhsl.js";import{_ as F}from"./chunks/QrcodeStream.vue_vue_type_script_setup_true_lang.CsTXXFWV.js";import{_ as C,D as E,o as i,c as t,k as s,b as m,w as r,e,d as u,I as k,a as l,R as _}from"./chunks/framework.BwCxet3-.js";const B={components:{QrcodeStream:F},data(){return{loading:!0,destroyed:!1}},methods:{onCameraOn(){this.loading=!1},async reload(){this.destroyed=!0,await this.$nextTick(),this.destroyed=!1,this.loading=!0}}},f={key:0,class:"loading-indicator"};function D(d,a,o,h,p,n){const g=E("qrcode-stream");return i(),t("div",null,[s("button",{onClick:a[0]||(a[0]=(...c)=>n.reload&&n.reload(...c))},"Destroy And Re-Create Component"),p.destroyed?e("",!0):(i(),m(g,{key:0,onCameraOn:n.onCameraOn},{default:r(()=>[p.loading?(i(),t("div",f," Loading... ")):e("",!0)]),_:1},8,["onCameraOn"]))])}const A=C(B,[["render",D],["__scopeId","data-v-3ae3ffac"]]),v=s("h1",{id:"show-loading-indicator",tabindex:"-1"},[l("Show Loading Indicator "),s("a",{class:"header-anchor",href:"#show-loading-indicator","aria-label":'Permalink to "Show Loading Indicator"'},"​")],-1),b=s("p",null,[l("There is some delay between mounting the component and the camera stream becoming visible. Listen for the "),s("code",null,"camera-on"),l(" event to show a loading indicator.")],-1),q=s("p",null,"Push the button below to force destroy and re-create the component.",-1),w=_(`

Source

vue
<template>
   <div>
     <button @click="reload">Destroy And Re-Create Component</button>
 
diff --git a/assets/demos_LoadingIndicator.md.BPlhc5KO.lean.js b/assets/demos_LoadingIndicator.md.Buy1_mkp.lean.js
similarity index 98%
rename from assets/demos_LoadingIndicator.md.BPlhc5KO.lean.js
rename to assets/demos_LoadingIndicator.md.Buy1_mkp.lean.js
index 4d77814a..f46df789 100644
--- a/assets/demos_LoadingIndicator.md.BPlhc5KO.lean.js
+++ b/assets/demos_LoadingIndicator.md.Buy1_mkp.lean.js
@@ -1,4 +1,4 @@
-import{_ as y}from"./chunks/camera.DE4cteSh.js";import{_ as F}from"./chunks/QrcodeStream.vue_vue_type_script_setup_true_lang.DspH0Vrb.js";import{_ as C,D as E,o as i,c as t,k as s,b as m,w as r,e,d as u,I as k,a as l,R as _}from"./chunks/framework.BwCxet3-.js";const B={components:{QrcodeStream:F},data(){return{loading:!0,destroyed:!1}},methods:{onCameraOn(){this.loading=!1},async reload(){this.destroyed=!0,await this.$nextTick(),this.destroyed=!1,this.loading=!0}}},f={key:0,class:"loading-indicator"};function D(d,a,o,h,p,n){const g=E("qrcode-stream");return i(),t("div",null,[s("button",{onClick:a[0]||(a[0]=(...c)=>n.reload&&n.reload(...c))},"Destroy And Re-Create Component"),p.destroyed?e("",!0):(i(),m(g,{key:0,onCameraOn:n.onCameraOn},{default:r(()=>[p.loading?(i(),t("div",f," Loading... ")):e("",!0)]),_:1},8,["onCameraOn"]))])}const A=C(B,[["render",D],["__scopeId","data-v-3ae3ffac"]]),v=s("h1",{id:"show-loading-indicator",tabindex:"-1"},[l("Show Loading Indicator "),s("a",{class:"header-anchor",href:"#show-loading-indicator","aria-label":'Permalink to "Show Loading Indicator"'},"​")],-1),b=s("p",null,[l("There is some delay between mounting the component and the camera stream becoming visible. Listen for the "),s("code",null,"camera-on"),l(" event to show a loading indicator.")],-1),q=s("p",null,"Push the button below to force destroy and re-create the component.",-1),w=_(`

Source

vue
<template>
+import{_ as y}from"./chunks/camera.Y0ohPhsl.js";import{_ as F}from"./chunks/QrcodeStream.vue_vue_type_script_setup_true_lang.CsTXXFWV.js";import{_ as C,D as E,o as i,c as t,k as s,b as m,w as r,e,d as u,I as k,a as l,R as _}from"./chunks/framework.BwCxet3-.js";const B={components:{QrcodeStream:F},data(){return{loading:!0,destroyed:!1}},methods:{onCameraOn(){this.loading=!1},async reload(){this.destroyed=!0,await this.$nextTick(),this.destroyed=!1,this.loading=!0}}},f={key:0,class:"loading-indicator"};function D(d,a,o,h,p,n){const g=E("qrcode-stream");return i(),t("div",null,[s("button",{onClick:a[0]||(a[0]=(...c)=>n.reload&&n.reload(...c))},"Destroy And Re-Create Component"),p.destroyed?e("",!0):(i(),m(g,{key:0,onCameraOn:n.onCameraOn},{default:r(()=>[p.loading?(i(),t("div",f," Loading... ")):e("",!0)]),_:1},8,["onCameraOn"]))])}const A=C(B,[["render",D],["__scopeId","data-v-3ae3ffac"]]),v=s("h1",{id:"show-loading-indicator",tabindex:"-1"},[l("Show Loading Indicator "),s("a",{class:"header-anchor",href:"#show-loading-indicator","aria-label":'Permalink to "Show Loading Indicator"'},"​")],-1),b=s("p",null,[l("There is some delay between mounting the component and the camera stream becoming visible. Listen for the "),s("code",null,"camera-on"),l(" event to show a loading indicator.")],-1),q=s("p",null,"Push the button below to force destroy and re-create the component.",-1),w=_(`

Source

vue
<template>
   <div>
     <button @click="reload">Destroy And Re-Create Component</button>
 
diff --git a/assets/demos_ScanSameQrcodeMoreThanOnce.md.Brm_Gomp.js b/assets/demos_ScanSameQrcodeMoreThanOnce.md.BV5sETMA.js
similarity index 99%
rename from assets/demos_ScanSameQrcodeMoreThanOnce.md.Brm_Gomp.js
rename to assets/demos_ScanSameQrcodeMoreThanOnce.md.BV5sETMA.js
index 2bac5cef..531bced7 100644
--- a/assets/demos_ScanSameQrcodeMoreThanOnce.md.Brm_Gomp.js
+++ b/assets/demos_ScanSameQrcodeMoreThanOnce.md.BV5sETMA.js
@@ -1,4 +1,4 @@
-import{_ as o}from"./chunks/camera.DE4cteSh.js";import{_ as c,f as y,D as p,o as e,c as E,k as s,a as i,t as F,I as l,w as r,a4 as C,a7 as m,d as u,R as B}from"./chunks/framework.BwCxet3-.js";import{_ as f}from"./chunks/QrcodeStream.vue_vue_type_script_setup_true_lang.DspH0Vrb.js";const _={components:{QrcodeStream:f},data(){return{paused:!1,result:"",showScanConfirmation:!1}},methods:{onCameraOn(){this.showScanConfirmation=!1},onCameraOff(){this.showScanConfirmation=!0},onError:console.error,async onDetect(a){this.result=JSON.stringify(a.map(n=>n.rawValue)),this.paused=!0,await this.timeout(500),this.paused=!1},timeout(a){return new Promise(n=>{window.setTimeout(n,a)})},withBase:y}},D={class:"decode-result"},w={class:"scan-confirmation"},A=["src"];function S(a,n,d,k,t,h){const g=p("qrcode-stream");return e(),E("div",null,[s("p",D,[i(" Last result: "),s("b",null,F(t.result),1)]),l(g,{paused:t.paused,onDetect:h.onDetect,onCameraOn:h.onCameraOn,onCameraOff:h.onCameraOff,onError:h.onError},{default:r(()=>[C(s("div",w,[s("img",{src:h.withBase("/checkmark.svg"),alt:"Checkmark",width:"128"},null,8,A)],512),[[m,t.showScanConfirmation]])]),_:1},8,["paused","onDetect","onCameraOn","onCameraOff","onError"])])}const q=c(_,[["render",S],["__scopeId","data-v-2c48d920"]]),v=s("h1",{id:"scan-same-qr-code-more-than-once",tabindex:"-1"},[i("Scan Same QR Code More Than Once "),s("a",{class:"header-anchor",href:"#scan-same-qr-code-more-than-once","aria-label":'Permalink to "Scan Same QR Code More Than Once"'},"​")],-1),O=s("p",null,[i("You might have noticed that scanning the same QR code again doesn't work. The thing is when a QR code is in the view of your the camera it's decoded multiple times a second. You don't want to be flooded with "),s("code",null,"detect"),i(` events that often though. That's why the last decoded QR code is "cached" and an event is only emitted, when the decoded content changes.`)],-1),b=s("p",null,[i("However this cache is reset when you change the "),s("code",null,"paused"),i(" prop. We can exploit that to scan same QR codes multiple times in a row.")],-1),Q=B(`

Source

vue
<template>
+import{_ as o}from"./chunks/camera.Y0ohPhsl.js";import{_ as c,f as y,D as p,o as e,c as E,k as s,a as i,t as F,I as l,w as r,a4 as C,a7 as m,d as u,R as B}from"./chunks/framework.BwCxet3-.js";import{_ as f}from"./chunks/QrcodeStream.vue_vue_type_script_setup_true_lang.CsTXXFWV.js";const _={components:{QrcodeStream:f},data(){return{paused:!1,result:"",showScanConfirmation:!1}},methods:{onCameraOn(){this.showScanConfirmation=!1},onCameraOff(){this.showScanConfirmation=!0},onError:console.error,async onDetect(a){this.result=JSON.stringify(a.map(n=>n.rawValue)),this.paused=!0,await this.timeout(500),this.paused=!1},timeout(a){return new Promise(n=>{window.setTimeout(n,a)})},withBase:y}},D={class:"decode-result"},w={class:"scan-confirmation"},A=["src"];function S(a,n,d,k,t,h){const g=p("qrcode-stream");return e(),E("div",null,[s("p",D,[i(" Last result: "),s("b",null,F(t.result),1)]),l(g,{paused:t.paused,onDetect:h.onDetect,onCameraOn:h.onCameraOn,onCameraOff:h.onCameraOff,onError:h.onError},{default:r(()=>[C(s("div",w,[s("img",{src:h.withBase("/checkmark.svg"),alt:"Checkmark",width:"128"},null,8,A)],512),[[m,t.showScanConfirmation]])]),_:1},8,["paused","onDetect","onCameraOn","onCameraOff","onError"])])}const q=c(_,[["render",S],["__scopeId","data-v-2c48d920"]]),v=s("h1",{id:"scan-same-qr-code-more-than-once",tabindex:"-1"},[i("Scan Same QR Code More Than Once "),s("a",{class:"header-anchor",href:"#scan-same-qr-code-more-than-once","aria-label":'Permalink to "Scan Same QR Code More Than Once"'},"​")],-1),O=s("p",null,[i("You might have noticed that scanning the same QR code again doesn't work. The thing is when a QR code is in the view of your the camera it's decoded multiple times a second. You don't want to be flooded with "),s("code",null,"detect"),i(` events that often though. That's why the last decoded QR code is "cached" and an event is only emitted, when the decoded content changes.`)],-1),b=s("p",null,[i("However this cache is reset when you change the "),s("code",null,"paused"),i(" prop. We can exploit that to scan same QR codes multiple times in a row.")],-1),Q=B(`

Source

vue
<template>
   <div>
     <p class="decode-result">
       Last result: <b>{{ result }}</b>
diff --git a/assets/demos_ScanSameQrcodeMoreThanOnce.md.Brm_Gomp.lean.js b/assets/demos_ScanSameQrcodeMoreThanOnce.md.BV5sETMA.lean.js
similarity index 99%
rename from assets/demos_ScanSameQrcodeMoreThanOnce.md.Brm_Gomp.lean.js
rename to assets/demos_ScanSameQrcodeMoreThanOnce.md.BV5sETMA.lean.js
index 2bac5cef..531bced7 100644
--- a/assets/demos_ScanSameQrcodeMoreThanOnce.md.Brm_Gomp.lean.js
+++ b/assets/demos_ScanSameQrcodeMoreThanOnce.md.BV5sETMA.lean.js
@@ -1,4 +1,4 @@
-import{_ as o}from"./chunks/camera.DE4cteSh.js";import{_ as c,f as y,D as p,o as e,c as E,k as s,a as i,t as F,I as l,w as r,a4 as C,a7 as m,d as u,R as B}from"./chunks/framework.BwCxet3-.js";import{_ as f}from"./chunks/QrcodeStream.vue_vue_type_script_setup_true_lang.DspH0Vrb.js";const _={components:{QrcodeStream:f},data(){return{paused:!1,result:"",showScanConfirmation:!1}},methods:{onCameraOn(){this.showScanConfirmation=!1},onCameraOff(){this.showScanConfirmation=!0},onError:console.error,async onDetect(a){this.result=JSON.stringify(a.map(n=>n.rawValue)),this.paused=!0,await this.timeout(500),this.paused=!1},timeout(a){return new Promise(n=>{window.setTimeout(n,a)})},withBase:y}},D={class:"decode-result"},w={class:"scan-confirmation"},A=["src"];function S(a,n,d,k,t,h){const g=p("qrcode-stream");return e(),E("div",null,[s("p",D,[i(" Last result: "),s("b",null,F(t.result),1)]),l(g,{paused:t.paused,onDetect:h.onDetect,onCameraOn:h.onCameraOn,onCameraOff:h.onCameraOff,onError:h.onError},{default:r(()=>[C(s("div",w,[s("img",{src:h.withBase("/checkmark.svg"),alt:"Checkmark",width:"128"},null,8,A)],512),[[m,t.showScanConfirmation]])]),_:1},8,["paused","onDetect","onCameraOn","onCameraOff","onError"])])}const q=c(_,[["render",S],["__scopeId","data-v-2c48d920"]]),v=s("h1",{id:"scan-same-qr-code-more-than-once",tabindex:"-1"},[i("Scan Same QR Code More Than Once "),s("a",{class:"header-anchor",href:"#scan-same-qr-code-more-than-once","aria-label":'Permalink to "Scan Same QR Code More Than Once"'},"​")],-1),O=s("p",null,[i("You might have noticed that scanning the same QR code again doesn't work. The thing is when a QR code is in the view of your the camera it's decoded multiple times a second. You don't want to be flooded with "),s("code",null,"detect"),i(` events that often though. That's why the last decoded QR code is "cached" and an event is only emitted, when the decoded content changes.`)],-1),b=s("p",null,[i("However this cache is reset when you change the "),s("code",null,"paused"),i(" prop. We can exploit that to scan same QR codes multiple times in a row.")],-1),Q=B(`

Source

vue
<template>
+import{_ as o}from"./chunks/camera.Y0ohPhsl.js";import{_ as c,f as y,D as p,o as e,c as E,k as s,a as i,t as F,I as l,w as r,a4 as C,a7 as m,d as u,R as B}from"./chunks/framework.BwCxet3-.js";import{_ as f}from"./chunks/QrcodeStream.vue_vue_type_script_setup_true_lang.CsTXXFWV.js";const _={components:{QrcodeStream:f},data(){return{paused:!1,result:"",showScanConfirmation:!1}},methods:{onCameraOn(){this.showScanConfirmation=!1},onCameraOff(){this.showScanConfirmation=!0},onError:console.error,async onDetect(a){this.result=JSON.stringify(a.map(n=>n.rawValue)),this.paused=!0,await this.timeout(500),this.paused=!1},timeout(a){return new Promise(n=>{window.setTimeout(n,a)})},withBase:y}},D={class:"decode-result"},w={class:"scan-confirmation"},A=["src"];function S(a,n,d,k,t,h){const g=p("qrcode-stream");return e(),E("div",null,[s("p",D,[i(" Last result: "),s("b",null,F(t.result),1)]),l(g,{paused:t.paused,onDetect:h.onDetect,onCameraOn:h.onCameraOn,onCameraOff:h.onCameraOff,onError:h.onError},{default:r(()=>[C(s("div",w,[s("img",{src:h.withBase("/checkmark.svg"),alt:"Checkmark",width:"128"},null,8,A)],512),[[m,t.showScanConfirmation]])]),_:1},8,["paused","onDetect","onCameraOn","onCameraOff","onError"])])}const q=c(_,[["render",S],["__scopeId","data-v-2c48d920"]]),v=s("h1",{id:"scan-same-qr-code-more-than-once",tabindex:"-1"},[i("Scan Same QR Code More Than Once "),s("a",{class:"header-anchor",href:"#scan-same-qr-code-more-than-once","aria-label":'Permalink to "Scan Same QR Code More Than Once"'},"​")],-1),O=s("p",null,[i("You might have noticed that scanning the same QR code again doesn't work. The thing is when a QR code is in the view of your the camera it's decoded multiple times a second. You don't want to be flooded with "),s("code",null,"detect"),i(` events that often though. That's why the last decoded QR code is "cached" and an event is only emitted, when the decoded content changes.`)],-1),b=s("p",null,[i("However this cache is reset when you change the "),s("code",null,"paused"),i(" prop. We can exploit that to scan same QR codes multiple times in a row.")],-1),Q=B(`

Source

vue
<template>
   <div>
     <p class="decode-result">
       Last result: <b>{{ result }}</b>
diff --git a/assets/demos_SwitchCamera.md.CAvxezaF.js b/assets/demos_SwitchCamera.md.BFfRluhH.js
similarity index 99%
rename from assets/demos_SwitchCamera.md.CAvxezaF.js
rename to assets/demos_SwitchCamera.md.BFfRluhH.js
index 0c21f73f..1e17392d 100644
--- a/assets/demos_SwitchCamera.md.CAvxezaF.js
+++ b/assets/demos_SwitchCamera.md.BFfRluhH.js
@@ -1,4 +1,4 @@
-import{_ as c}from"./chunks/camera.DE4cteSh.js";import{_ as y,f as F,D as E,o as t,c as l,e as r,I as e,w as d,k as a,d as C,a as m,R as u}from"./chunks/framework.BwCxet3-.js";import{_ as B}from"./chunks/QrcodeStream.vue_vue_type_script_setup_true_lang.DspH0Vrb.js";const f={components:{QrcodeStream:B},data(){return{facingMode:"environment",noRearCamera:!1,noFrontCamera:!1}},methods:{switchCamera(){switch(this.facingMode){case"environment":this.facingMode="user";break;case"user":this.facingMode="environment";break}},onError(n){const s=this.facingMode==="user",p=this.facingMode==="environment",i=n.name==="OverconstrainedError";p&&i&&(this.noRearCamera=!0),s&&i&&(this.noFrontCamera=!0),console.error(n)},withBase:F}},D={key:0,class:"error"},A={key:1,class:"error"},_=["src"];function v(n,s,p,i,k,h){const g=E("qrcode-stream");return t(),l("div",null,[k.noFrontCamera?(t(),l("p",D," You don't seem to have a front camera on your device ")):r("",!0),k.noRearCamera?(t(),l("p",A," You don't seem to have a rear camera on your device ")):r("",!0),e(g,{constraints:{facingMode:k.facingMode},onError:h.onError},{default:d(()=>[a("button",{onClick:s[0]||(s[0]=(...o)=>h.switchCamera&&h.switchCamera(...o))},[a("img",{src:h.withBase("/camera-switch.svg"),alt:"switch camera"},null,8,_)])]),_:1},8,["constraints","onError"])])}const w=y(f,[["render",v],["__scopeId","data-v-6622b1c4"]]),q=a("h1",{id:"switch-to-front-camera",tabindex:"-1"},[m("Switch to Front Camera "),a("a",{class:"header-anchor",href:"#switch-to-front-camera","aria-label":'Permalink to "Switch to Front Camera"'},"​")],-1),b=a("p",null,"You can also allow users to choose the front or rear camera on their device.",-1),M=u(`

Source

vue
<template>
+import{_ as c}from"./chunks/camera.Y0ohPhsl.js";import{_ as y,f as F,D as E,o as t,c as l,e as r,I as e,w as d,k as a,d as C,a as m,R as u}from"./chunks/framework.BwCxet3-.js";import{_ as B}from"./chunks/QrcodeStream.vue_vue_type_script_setup_true_lang.CsTXXFWV.js";const f={components:{QrcodeStream:B},data(){return{facingMode:"environment",noRearCamera:!1,noFrontCamera:!1}},methods:{switchCamera(){switch(this.facingMode){case"environment":this.facingMode="user";break;case"user":this.facingMode="environment";break}},onError(n){const s=this.facingMode==="user",p=this.facingMode==="environment",i=n.name==="OverconstrainedError";p&&i&&(this.noRearCamera=!0),s&&i&&(this.noFrontCamera=!0),console.error(n)},withBase:F}},D={key:0,class:"error"},A={key:1,class:"error"},_=["src"];function v(n,s,p,i,k,h){const g=E("qrcode-stream");return t(),l("div",null,[k.noFrontCamera?(t(),l("p",D," You don't seem to have a front camera on your device ")):r("",!0),k.noRearCamera?(t(),l("p",A," You don't seem to have a rear camera on your device ")):r("",!0),e(g,{constraints:{facingMode:k.facingMode},onError:h.onError},{default:d(()=>[a("button",{onClick:s[0]||(s[0]=(...o)=>h.switchCamera&&h.switchCamera(...o))},[a("img",{src:h.withBase("/camera-switch.svg"),alt:"switch camera"},null,8,_)])]),_:1},8,["constraints","onError"])])}const w=y(f,[["render",v],["__scopeId","data-v-6622b1c4"]]),q=a("h1",{id:"switch-to-front-camera",tabindex:"-1"},[m("Switch to Front Camera "),a("a",{class:"header-anchor",href:"#switch-to-front-camera","aria-label":'Permalink to "Switch to Front Camera"'},"​")],-1),b=a("p",null,"You can also allow users to choose the front or rear camera on their device.",-1),M=u(`

Source

vue
<template>
   <div>
     <p
       class="error"
diff --git a/assets/demos_SwitchCamera.md.CAvxezaF.lean.js b/assets/demos_SwitchCamera.md.BFfRluhH.lean.js
similarity index 99%
rename from assets/demos_SwitchCamera.md.CAvxezaF.lean.js
rename to assets/demos_SwitchCamera.md.BFfRluhH.lean.js
index 0c21f73f..1e17392d 100644
--- a/assets/demos_SwitchCamera.md.CAvxezaF.lean.js
+++ b/assets/demos_SwitchCamera.md.BFfRluhH.lean.js
@@ -1,4 +1,4 @@
-import{_ as c}from"./chunks/camera.DE4cteSh.js";import{_ as y,f as F,D as E,o as t,c as l,e as r,I as e,w as d,k as a,d as C,a as m,R as u}from"./chunks/framework.BwCxet3-.js";import{_ as B}from"./chunks/QrcodeStream.vue_vue_type_script_setup_true_lang.DspH0Vrb.js";const f={components:{QrcodeStream:B},data(){return{facingMode:"environment",noRearCamera:!1,noFrontCamera:!1}},methods:{switchCamera(){switch(this.facingMode){case"environment":this.facingMode="user";break;case"user":this.facingMode="environment";break}},onError(n){const s=this.facingMode==="user",p=this.facingMode==="environment",i=n.name==="OverconstrainedError";p&&i&&(this.noRearCamera=!0),s&&i&&(this.noFrontCamera=!0),console.error(n)},withBase:F}},D={key:0,class:"error"},A={key:1,class:"error"},_=["src"];function v(n,s,p,i,k,h){const g=E("qrcode-stream");return t(),l("div",null,[k.noFrontCamera?(t(),l("p",D," You don't seem to have a front camera on your device ")):r("",!0),k.noRearCamera?(t(),l("p",A," You don't seem to have a rear camera on your device ")):r("",!0),e(g,{constraints:{facingMode:k.facingMode},onError:h.onError},{default:d(()=>[a("button",{onClick:s[0]||(s[0]=(...o)=>h.switchCamera&&h.switchCamera(...o))},[a("img",{src:h.withBase("/camera-switch.svg"),alt:"switch camera"},null,8,_)])]),_:1},8,["constraints","onError"])])}const w=y(f,[["render",v],["__scopeId","data-v-6622b1c4"]]),q=a("h1",{id:"switch-to-front-camera",tabindex:"-1"},[m("Switch to Front Camera "),a("a",{class:"header-anchor",href:"#switch-to-front-camera","aria-label":'Permalink to "Switch to Front Camera"'},"​")],-1),b=a("p",null,"You can also allow users to choose the front or rear camera on their device.",-1),M=u(`

Source

vue
<template>
+import{_ as c}from"./chunks/camera.Y0ohPhsl.js";import{_ as y,f as F,D as E,o as t,c as l,e as r,I as e,w as d,k as a,d as C,a as m,R as u}from"./chunks/framework.BwCxet3-.js";import{_ as B}from"./chunks/QrcodeStream.vue_vue_type_script_setup_true_lang.CsTXXFWV.js";const f={components:{QrcodeStream:B},data(){return{facingMode:"environment",noRearCamera:!1,noFrontCamera:!1}},methods:{switchCamera(){switch(this.facingMode){case"environment":this.facingMode="user";break;case"user":this.facingMode="environment";break}},onError(n){const s=this.facingMode==="user",p=this.facingMode==="environment",i=n.name==="OverconstrainedError";p&&i&&(this.noRearCamera=!0),s&&i&&(this.noFrontCamera=!0),console.error(n)},withBase:F}},D={key:0,class:"error"},A={key:1,class:"error"},_=["src"];function v(n,s,p,i,k,h){const g=E("qrcode-stream");return t(),l("div",null,[k.noFrontCamera?(t(),l("p",D," You don't seem to have a front camera on your device ")):r("",!0),k.noRearCamera?(t(),l("p",A," You don't seem to have a rear camera on your device ")):r("",!0),e(g,{constraints:{facingMode:k.facingMode},onError:h.onError},{default:d(()=>[a("button",{onClick:s[0]||(s[0]=(...o)=>h.switchCamera&&h.switchCamera(...o))},[a("img",{src:h.withBase("/camera-switch.svg"),alt:"switch camera"},null,8,_)])]),_:1},8,["constraints","onError"])])}const w=y(f,[["render",v],["__scopeId","data-v-6622b1c4"]]),q=a("h1",{id:"switch-to-front-camera",tabindex:"-1"},[m("Switch to Front Camera "),a("a",{class:"header-anchor",href:"#switch-to-front-camera","aria-label":'Permalink to "Switch to Front Camera"'},"​")],-1),b=a("p",null,"You can also allow users to choose the front or rear camera on their device.",-1),M=u(`

Source

vue
<template>
   <div>
     <p
       class="error"
diff --git a/assets/demos_Torch.md.kskOygTt.js b/assets/demos_Torch.md.CgwwvdjK.js
similarity index 99%
rename from assets/demos_Torch.md.kskOygTt.js
rename to assets/demos_Torch.md.CgwwvdjK.js
index fbafddc2..9b1608ed 100644
--- a/assets/demos_Torch.md.kskOygTt.js
+++ b/assets/demos_Torch.md.CgwwvdjK.js
@@ -1,4 +1,4 @@
-import{_ as B}from"./chunks/camera.DE4cteSh.js";import{d as c,h as E,j as v,g as A,o as l,c as p,k as s,a as e,a4 as D,a5 as m,F as f,E as _,e as d,a8 as q,t as b,b as w,w as o,m as g,f as x,_ as N,D as S,I as y,R as I}from"./chunks/framework.BwCxet3-.js";import{_ as T}from"./chunks/QrcodeStream.vue_vue_type_script_setup_true_lang.DspH0Vrb.js";const $=["value"],M={key:0,class:"error"},O=["disabled"],P=["src"],V=c({__name:"Torch",setup(F){const i=E(null),h=E([]);v(async()=>{h.value=(await navigator.mediaDevices.enumerateDevices()).filter(({kind:t})=>t==="videoinput"),h.value.length>0&&(i.value=h.value[0])});const a=E(!1),r=E(!1),u=A(()=>a.value?"/flash-off.svg":"/flash-on.svg");function C(t){console.log(t),r.value=!t.torch}return(t,k)=>(l(),p("div",null,[s("p",null,[e(" Pick camera: "),D(s("select",{"onUpdate:modelValue":k[0]||(k[0]=n=>i.value=n)},[(l(!0),p(f,null,_(h.value,n=>(l(),p("option",{key:n.label,value:n},b(n.label),9,$))),128))],512),[[m,i.value]])]),r.value?(l(),p("p",M," Torch not supported for active camera ")):d("",!0),i.value!==null?q([a.value,i.value.deviceId],()=>(l(),w(g(T),{key:1,torch:a.value,constraints:{deviceId:i.value.deviceId},onError:console.error,onCameraOn:C},{default:o(()=>[s("button",{onClick:k[1]||(k[1]=n=>a.value=!a.value),disabled:r.value},[s("img",{src:g(x)(u.value),alt:"toggle torch"},null,8,P)],8,O)]),_:1},8,["torch","constraints","onError"])),k,2):d("",!0)]))}}),U=N(V,[["__scopeId","data-v-cf37801d"]]),j=s("h1",{id:"torch-flashlight",tabindex:"-1"},[e("Torch (Flashlight) "),s("a",{class:"header-anchor",href:"#torch-flashlight","aria-label":'Permalink to "Torch (Flashlight)"'},"​")],-1),J=s("p",null,[e("In low-light conditions you might want to make use of the cameras flashlight. Using the "),s("code",null,"torch"),e(" prop, you can turn the flashlight on/off. Note that support is inconsistent across devices and browsers and can only be detected after already starting the camera.")],-1),L=s("p",null,[e("Feature sponsored by "),s("a",{href:"https://aeschbacher.ch",target:"_blank",rel:"noreferrer"},"aeschbacher.ch")],-1),Q=I(`

Source

vue
<template>
+import{_ as B}from"./chunks/camera.Y0ohPhsl.js";import{d as c,h as E,j as v,g as A,o as l,c as p,k as s,a as e,a4 as D,a5 as m,F as f,E as _,e as d,a8 as q,t as b,b as w,w as o,m as g,f as x,_ as N,D as S,I as y,R as I}from"./chunks/framework.BwCxet3-.js";import{_ as T}from"./chunks/QrcodeStream.vue_vue_type_script_setup_true_lang.CsTXXFWV.js";const $=["value"],M={key:0,class:"error"},O=["disabled"],P=["src"],V=c({__name:"Torch",setup(F){const i=E(null),h=E([]);v(async()=>{h.value=(await navigator.mediaDevices.enumerateDevices()).filter(({kind:t})=>t==="videoinput"),h.value.length>0&&(i.value=h.value[0])});const a=E(!1),r=E(!1),u=A(()=>a.value?"/flash-off.svg":"/flash-on.svg");function C(t){console.log(t),r.value=!t.torch}return(t,k)=>(l(),p("div",null,[s("p",null,[e(" Pick camera: "),D(s("select",{"onUpdate:modelValue":k[0]||(k[0]=n=>i.value=n)},[(l(!0),p(f,null,_(h.value,n=>(l(),p("option",{key:n.label,value:n},b(n.label),9,$))),128))],512),[[m,i.value]])]),r.value?(l(),p("p",M," Torch not supported for active camera ")):d("",!0),i.value!==null?q([a.value,i.value.deviceId],()=>(l(),w(g(T),{key:1,torch:a.value,constraints:{deviceId:i.value.deviceId},onError:console.error,onCameraOn:C},{default:o(()=>[s("button",{onClick:k[1]||(k[1]=n=>a.value=!a.value),disabled:r.value},[s("img",{src:g(x)(u.value),alt:"toggle torch"},null,8,P)],8,O)]),_:1},8,["torch","constraints","onError"])),k,2):d("",!0)]))}}),U=N(V,[["__scopeId","data-v-cf37801d"]]),j=s("h1",{id:"torch-flashlight",tabindex:"-1"},[e("Torch (Flashlight) "),s("a",{class:"header-anchor",href:"#torch-flashlight","aria-label":'Permalink to "Torch (Flashlight)"'},"​")],-1),J=s("p",null,[e("In low-light conditions you might want to make use of the cameras flashlight. Using the "),s("code",null,"torch"),e(" prop, you can turn the flashlight on/off. Note that support is inconsistent across devices and browsers and can only be detected after already starting the camera.")],-1),L=s("p",null,[e("Feature sponsored by "),s("a",{href:"https://aeschbacher.ch",target:"_blank",rel:"noreferrer"},"aeschbacher.ch")],-1),Q=I(`

Source

vue
<template>
   <div>
     <p>
       Pick camera:
diff --git a/assets/demos_Torch.md.kskOygTt.lean.js b/assets/demos_Torch.md.CgwwvdjK.lean.js
similarity index 99%
rename from assets/demos_Torch.md.kskOygTt.lean.js
rename to assets/demos_Torch.md.CgwwvdjK.lean.js
index fbafddc2..9b1608ed 100644
--- a/assets/demos_Torch.md.kskOygTt.lean.js
+++ b/assets/demos_Torch.md.CgwwvdjK.lean.js
@@ -1,4 +1,4 @@
-import{_ as B}from"./chunks/camera.DE4cteSh.js";import{d as c,h as E,j as v,g as A,o as l,c as p,k as s,a as e,a4 as D,a5 as m,F as f,E as _,e as d,a8 as q,t as b,b as w,w as o,m as g,f as x,_ as N,D as S,I as y,R as I}from"./chunks/framework.BwCxet3-.js";import{_ as T}from"./chunks/QrcodeStream.vue_vue_type_script_setup_true_lang.DspH0Vrb.js";const $=["value"],M={key:0,class:"error"},O=["disabled"],P=["src"],V=c({__name:"Torch",setup(F){const i=E(null),h=E([]);v(async()=>{h.value=(await navigator.mediaDevices.enumerateDevices()).filter(({kind:t})=>t==="videoinput"),h.value.length>0&&(i.value=h.value[0])});const a=E(!1),r=E(!1),u=A(()=>a.value?"/flash-off.svg":"/flash-on.svg");function C(t){console.log(t),r.value=!t.torch}return(t,k)=>(l(),p("div",null,[s("p",null,[e(" Pick camera: "),D(s("select",{"onUpdate:modelValue":k[0]||(k[0]=n=>i.value=n)},[(l(!0),p(f,null,_(h.value,n=>(l(),p("option",{key:n.label,value:n},b(n.label),9,$))),128))],512),[[m,i.value]])]),r.value?(l(),p("p",M," Torch not supported for active camera ")):d("",!0),i.value!==null?q([a.value,i.value.deviceId],()=>(l(),w(g(T),{key:1,torch:a.value,constraints:{deviceId:i.value.deviceId},onError:console.error,onCameraOn:C},{default:o(()=>[s("button",{onClick:k[1]||(k[1]=n=>a.value=!a.value),disabled:r.value},[s("img",{src:g(x)(u.value),alt:"toggle torch"},null,8,P)],8,O)]),_:1},8,["torch","constraints","onError"])),k,2):d("",!0)]))}}),U=N(V,[["__scopeId","data-v-cf37801d"]]),j=s("h1",{id:"torch-flashlight",tabindex:"-1"},[e("Torch (Flashlight) "),s("a",{class:"header-anchor",href:"#torch-flashlight","aria-label":'Permalink to "Torch (Flashlight)"'},"​")],-1),J=s("p",null,[e("In low-light conditions you might want to make use of the cameras flashlight. Using the "),s("code",null,"torch"),e(" prop, you can turn the flashlight on/off. Note that support is inconsistent across devices and browsers and can only be detected after already starting the camera.")],-1),L=s("p",null,[e("Feature sponsored by "),s("a",{href:"https://aeschbacher.ch",target:"_blank",rel:"noreferrer"},"aeschbacher.ch")],-1),Q=I(`

Source

vue
<template>
+import{_ as B}from"./chunks/camera.Y0ohPhsl.js";import{d as c,h as E,j as v,g as A,o as l,c as p,k as s,a as e,a4 as D,a5 as m,F as f,E as _,e as d,a8 as q,t as b,b as w,w as o,m as g,f as x,_ as N,D as S,I as y,R as I}from"./chunks/framework.BwCxet3-.js";import{_ as T}from"./chunks/QrcodeStream.vue_vue_type_script_setup_true_lang.CsTXXFWV.js";const $=["value"],M={key:0,class:"error"},O=["disabled"],P=["src"],V=c({__name:"Torch",setup(F){const i=E(null),h=E([]);v(async()=>{h.value=(await navigator.mediaDevices.enumerateDevices()).filter(({kind:t})=>t==="videoinput"),h.value.length>0&&(i.value=h.value[0])});const a=E(!1),r=E(!1),u=A(()=>a.value?"/flash-off.svg":"/flash-on.svg");function C(t){console.log(t),r.value=!t.torch}return(t,k)=>(l(),p("div",null,[s("p",null,[e(" Pick camera: "),D(s("select",{"onUpdate:modelValue":k[0]||(k[0]=n=>i.value=n)},[(l(!0),p(f,null,_(h.value,n=>(l(),p("option",{key:n.label,value:n},b(n.label),9,$))),128))],512),[[m,i.value]])]),r.value?(l(),p("p",M," Torch not supported for active camera ")):d("",!0),i.value!==null?q([a.value,i.value.deviceId],()=>(l(),w(g(T),{key:1,torch:a.value,constraints:{deviceId:i.value.deviceId},onError:console.error,onCameraOn:C},{default:o(()=>[s("button",{onClick:k[1]||(k[1]=n=>a.value=!a.value),disabled:r.value},[s("img",{src:g(x)(u.value),alt:"toggle torch"},null,8,P)],8,O)]),_:1},8,["torch","constraints","onError"])),k,2):d("",!0)]))}}),U=N(V,[["__scopeId","data-v-cf37801d"]]),j=s("h1",{id:"torch-flashlight",tabindex:"-1"},[e("Torch (Flashlight) "),s("a",{class:"header-anchor",href:"#torch-flashlight","aria-label":'Permalink to "Torch (Flashlight)"'},"​")],-1),J=s("p",null,[e("In low-light conditions you might want to make use of the cameras flashlight. Using the "),s("code",null,"torch"),e(" prop, you can turn the flashlight on/off. Note that support is inconsistent across devices and browsers and can only be detected after already starting the camera.")],-1),L=s("p",null,[e("Feature sponsored by "),s("a",{href:"https://aeschbacher.ch",target:"_blank",rel:"noreferrer"},"aeschbacher.ch")],-1),Q=I(`

Source

vue
<template>
   <div>
     <p>
       Pick camera:
diff --git a/assets/demos_Upload.md.Dx4hnZdl.js b/assets/demos_Upload.md.C66hzNE9.js
similarity index 99%
rename from assets/demos_Upload.md.Dx4hnZdl.js
rename to assets/demos_Upload.md.C66hzNE9.js
index bbd2fbb8..4c5663c7 100644
--- a/assets/demos_Upload.md.Dx4hnZdl.js
+++ b/assets/demos_Upload.md.C66hzNE9.js
@@ -1,4 +1,4 @@
-import{p as y,_ as u}from"./chunks/camera.DE4cteSh.js";import{d as c,o as e,c as p,_ as F,D as g,k as s,a as h,a4 as m,a5 as C,F as _,E as f,t as o,I as d,w as D,R as B}from"./chunks/framework.BwCxet3-.js";const v=c({__name:"QrcodeCapture",props:{formats:{type:Array,default:()=>["qr_code"]}},emits:["detect"],setup(i,{emit:a}){const r=i,k=a,n=l=>{if(!(!(l.target instanceof HTMLInputElement)||!l.target.files))for(const E of Array.from(l.target.files))y(E,r.formats).then(t=>{k("detect",t)})};return(l,E)=>(e(),p("input",{onChange:n,type:"file",name:"image",accept:"image/*",capture:"environment",multiple:""},null,32))}}),A={components:{QrcodeCapture:v},data(){const i=[{text:"rear camera (default)",value:"environment"},{text:"front camera",value:"user"},{text:"force file dialog",value:null}];return{result:"",options:i,selected:i[0]}},methods:{onDetect(i){console.log(i),this.result=JSON.stringify(i.map(a=>a.rawValue))}}},b=["value"],q=s("hr",null,null,-1),x={class:"decode-result"};function w(i,a,r,k,n,l){const E=g("qrcode-capture");return e(),p("div",null,[s("p",null,[h(" Capture: "),m(s("select",{"onUpdate:modelValue":a[0]||(a[0]=t=>n.selected=t)},[(e(!0),p(_,null,f(n.options,t=>(e(),p("option",{key:t.text,value:t},o(t.text),9,b))),128))],512),[[C,n.selected]])]),q,s("p",x,[h(" Last result: "),s("b",null,o(n.result),1)]),d(E,{onDetect:l.onDetect,capture:n.selected.value},null,8,["onDetect","capture"])])}const S=F(A,[["render",w]]),U=s("h1",{id:"decode-by-upload",tabindex:"-1"},[h("Decode by Upload "),s("a",{class:"header-anchor",href:"#decode-by-upload","aria-label":'Permalink to "Decode by Upload"'},"​")],-1),N=s("p",null,[h("Finally, with "),s("code",null,"QrcodeCapture"),h(" comes another component which allows image scanning via classic file upload. Nothing is actually uploaded. Everything is happening client-side.")],-1),V=s("p",null,"If you are on mobile and your browser supports it, you are not prompted with a file dialog but with your camera. So you can directly take the picture to be uploaded. Adjust this behavior with the following dropdown:",-1),O=B(`

Source

vue
<template>
+import{p as y,_ as u}from"./chunks/camera.Y0ohPhsl.js";import{d as c,o as e,c as p,_ as F,D as g,k as s,a as h,a4 as m,a5 as C,F as _,E as f,t as o,I as d,w as D,R as B}from"./chunks/framework.BwCxet3-.js";const v=c({__name:"QrcodeCapture",props:{formats:{type:Array,default:()=>["qr_code"]}},emits:["detect"],setup(i,{emit:a}){const r=i,k=a,n=l=>{if(!(!(l.target instanceof HTMLInputElement)||!l.target.files))for(const E of Array.from(l.target.files))y(E,r.formats).then(t=>{k("detect",t)})};return(l,E)=>(e(),p("input",{onChange:n,type:"file",name:"image",accept:"image/*",capture:"environment",multiple:""},null,32))}}),A={components:{QrcodeCapture:v},data(){const i=[{text:"rear camera (default)",value:"environment"},{text:"front camera",value:"user"},{text:"force file dialog",value:null}];return{result:"",options:i,selected:i[0]}},methods:{onDetect(i){console.log(i),this.result=JSON.stringify(i.map(a=>a.rawValue))}}},b=["value"],q=s("hr",null,null,-1),x={class:"decode-result"};function w(i,a,r,k,n,l){const E=g("qrcode-capture");return e(),p("div",null,[s("p",null,[h(" Capture: "),m(s("select",{"onUpdate:modelValue":a[0]||(a[0]=t=>n.selected=t)},[(e(!0),p(_,null,f(n.options,t=>(e(),p("option",{key:t.text,value:t},o(t.text),9,b))),128))],512),[[C,n.selected]])]),q,s("p",x,[h(" Last result: "),s("b",null,o(n.result),1)]),d(E,{onDetect:l.onDetect,capture:n.selected.value},null,8,["onDetect","capture"])])}const S=F(A,[["render",w]]),U=s("h1",{id:"decode-by-upload",tabindex:"-1"},[h("Decode by Upload "),s("a",{class:"header-anchor",href:"#decode-by-upload","aria-label":'Permalink to "Decode by Upload"'},"​")],-1),N=s("p",null,[h("Finally, with "),s("code",null,"QrcodeCapture"),h(" comes another component which allows image scanning via classic file upload. Nothing is actually uploaded. Everything is happening client-side.")],-1),V=s("p",null,"If you are on mobile and your browser supports it, you are not prompted with a file dialog but with your camera. So you can directly take the picture to be uploaded. Adjust this behavior with the following dropdown:",-1),O=B(`

Source

vue
<template>
   <div>
     <p>
       Capture:
diff --git a/assets/demos_Upload.md.Dx4hnZdl.lean.js b/assets/demos_Upload.md.C66hzNE9.lean.js
similarity index 99%
rename from assets/demos_Upload.md.Dx4hnZdl.lean.js
rename to assets/demos_Upload.md.C66hzNE9.lean.js
index bbd2fbb8..4c5663c7 100644
--- a/assets/demos_Upload.md.Dx4hnZdl.lean.js
+++ b/assets/demos_Upload.md.C66hzNE9.lean.js
@@ -1,4 +1,4 @@
-import{p as y,_ as u}from"./chunks/camera.DE4cteSh.js";import{d as c,o as e,c as p,_ as F,D as g,k as s,a as h,a4 as m,a5 as C,F as _,E as f,t as o,I as d,w as D,R as B}from"./chunks/framework.BwCxet3-.js";const v=c({__name:"QrcodeCapture",props:{formats:{type:Array,default:()=>["qr_code"]}},emits:["detect"],setup(i,{emit:a}){const r=i,k=a,n=l=>{if(!(!(l.target instanceof HTMLInputElement)||!l.target.files))for(const E of Array.from(l.target.files))y(E,r.formats).then(t=>{k("detect",t)})};return(l,E)=>(e(),p("input",{onChange:n,type:"file",name:"image",accept:"image/*",capture:"environment",multiple:""},null,32))}}),A={components:{QrcodeCapture:v},data(){const i=[{text:"rear camera (default)",value:"environment"},{text:"front camera",value:"user"},{text:"force file dialog",value:null}];return{result:"",options:i,selected:i[0]}},methods:{onDetect(i){console.log(i),this.result=JSON.stringify(i.map(a=>a.rawValue))}}},b=["value"],q=s("hr",null,null,-1),x={class:"decode-result"};function w(i,a,r,k,n,l){const E=g("qrcode-capture");return e(),p("div",null,[s("p",null,[h(" Capture: "),m(s("select",{"onUpdate:modelValue":a[0]||(a[0]=t=>n.selected=t)},[(e(!0),p(_,null,f(n.options,t=>(e(),p("option",{key:t.text,value:t},o(t.text),9,b))),128))],512),[[C,n.selected]])]),q,s("p",x,[h(" Last result: "),s("b",null,o(n.result),1)]),d(E,{onDetect:l.onDetect,capture:n.selected.value},null,8,["onDetect","capture"])])}const S=F(A,[["render",w]]),U=s("h1",{id:"decode-by-upload",tabindex:"-1"},[h("Decode by Upload "),s("a",{class:"header-anchor",href:"#decode-by-upload","aria-label":'Permalink to "Decode by Upload"'},"​")],-1),N=s("p",null,[h("Finally, with "),s("code",null,"QrcodeCapture"),h(" comes another component which allows image scanning via classic file upload. Nothing is actually uploaded. Everything is happening client-side.")],-1),V=s("p",null,"If you are on mobile and your browser supports it, you are not prompted with a file dialog but with your camera. So you can directly take the picture to be uploaded. Adjust this behavior with the following dropdown:",-1),O=B(`

Source

vue
<template>
+import{p as y,_ as u}from"./chunks/camera.Y0ohPhsl.js";import{d as c,o as e,c as p,_ as F,D as g,k as s,a as h,a4 as m,a5 as C,F as _,E as f,t as o,I as d,w as D,R as B}from"./chunks/framework.BwCxet3-.js";const v=c({__name:"QrcodeCapture",props:{formats:{type:Array,default:()=>["qr_code"]}},emits:["detect"],setup(i,{emit:a}){const r=i,k=a,n=l=>{if(!(!(l.target instanceof HTMLInputElement)||!l.target.files))for(const E of Array.from(l.target.files))y(E,r.formats).then(t=>{k("detect",t)})};return(l,E)=>(e(),p("input",{onChange:n,type:"file",name:"image",accept:"image/*",capture:"environment",multiple:""},null,32))}}),A={components:{QrcodeCapture:v},data(){const i=[{text:"rear camera (default)",value:"environment"},{text:"front camera",value:"user"},{text:"force file dialog",value:null}];return{result:"",options:i,selected:i[0]}},methods:{onDetect(i){console.log(i),this.result=JSON.stringify(i.map(a=>a.rawValue))}}},b=["value"],q=s("hr",null,null,-1),x={class:"decode-result"};function w(i,a,r,k,n,l){const E=g("qrcode-capture");return e(),p("div",null,[s("p",null,[h(" Capture: "),m(s("select",{"onUpdate:modelValue":a[0]||(a[0]=t=>n.selected=t)},[(e(!0),p(_,null,f(n.options,t=>(e(),p("option",{key:t.text,value:t},o(t.text),9,b))),128))],512),[[C,n.selected]])]),q,s("p",x,[h(" Last result: "),s("b",null,o(n.result),1)]),d(E,{onDetect:l.onDetect,capture:n.selected.value},null,8,["onDetect","capture"])])}const S=F(A,[["render",w]]),U=s("h1",{id:"decode-by-upload",tabindex:"-1"},[h("Decode by Upload "),s("a",{class:"header-anchor",href:"#decode-by-upload","aria-label":'Permalink to "Decode by Upload"'},"​")],-1),N=s("p",null,[h("Finally, with "),s("code",null,"QrcodeCapture"),h(" comes another component which allows image scanning via classic file upload. Nothing is actually uploaded. Everything is happening client-side.")],-1),V=s("p",null,"If you are on mobile and your browser supports it, you are not prompted with a file dialog but with your camera. So you can directly take the picture to be uploaded. Adjust this behavior with the following dropdown:",-1),O=B(`

Source

vue
<template>
   <div>
     <p>
       Capture:
diff --git a/assets/demos_Validate.md.hjIDCaLb.js b/assets/demos_Validate.md.zHsMF7yf.js
similarity index 99%
rename from assets/demos_Validate.md.hjIDCaLb.js
rename to assets/demos_Validate.md.zHsMF7yf.js
index 213ff200..a844ab3c 100644
--- a/assets/demos_Validate.md.hjIDCaLb.js
+++ b/assets/demos_Validate.md.zHsMF7yf.js
@@ -1,4 +1,4 @@
-import{_ as c}from"./chunks/camera.DE4cteSh.js";import{_ as F}from"./chunks/QrcodeStream.vue_vue_type_script_setup_true_lang.DspH0Vrb.js";import{_ as o,D as E,o as a,c as n,k as l,a as r,t as C,I as k,w as d,e as t,d as u,R as B}from"./chunks/framework.BwCxet3-.js";const m={components:{QrcodeStream:F},data(){return{isValid:void 0,paused:!1,result:null}},computed:{validationPending(){return this.isValid===void 0&&this.paused},validationSuccess(){return this.isValid===!0},validationFailure(){return this.isValid===!1}},methods:{onError:console.error,resetValidationState(){this.isValid=void 0},async onDetect([i]){this.result=i.rawValue,this.paused=!0,await this.timeout(3e3),this.isValid=this.result.startsWith("http"),await this.timeout(2e3),this.paused=!1},timeout(i){return new Promise(h=>{window.setTimeout(h,i)})}}},D={class:"decode-result"},v={key:0,class:"validation-success"},A={key:1,class:"validation-failure"},_={key:2,class:"validation-pending"};function f(i,h,g,p,e,s){const y=E("qrcode-stream");return a(),n("div",null,[l("p",D,[r(" Last result: "),l("b",null,C(e.result),1)]),k(y,{paused:e.paused,onDetect:s.onDetect,onError:s.onError,onCameraOn:s.resetValidationState},{default:d(()=>[s.validationSuccess?(a(),n("div",v," This is a URL ")):t("",!0),s.validationFailure?(a(),n("div",A," This is NOT a URL! ")):t("",!0),s.validationPending?(a(),n("div",_," Long validation in progress... ")):t("",!0)]),_:1},8,["paused","onDetect","onError","onCameraOn"])])}const V=o(m,[["render",f],["__scopeId","data-v-2a6ebd39"]]),q=l("h1",{id:"pause-validate",tabindex:"-1"},[r("Pause & Validate "),l("a",{class:"header-anchor",href:"#pause-validate","aria-label":'Permalink to "Pause & Validate"'},"​")],-1),w=l("p",null,"By pausing you can process each scanned QR-code one at a time. The last received frame is still displayed so it just looks like the stream is paused.",-1),b=B(`

Source

vue
<template>
+import{_ as c}from"./chunks/camera.Y0ohPhsl.js";import{_ as F}from"./chunks/QrcodeStream.vue_vue_type_script_setup_true_lang.CsTXXFWV.js";import{_ as o,D as E,o as a,c as n,k as l,a as r,t as C,I as k,w as d,e as t,d as u,R as B}from"./chunks/framework.BwCxet3-.js";const m={components:{QrcodeStream:F},data(){return{isValid:void 0,paused:!1,result:null}},computed:{validationPending(){return this.isValid===void 0&&this.paused},validationSuccess(){return this.isValid===!0},validationFailure(){return this.isValid===!1}},methods:{onError:console.error,resetValidationState(){this.isValid=void 0},async onDetect([i]){this.result=i.rawValue,this.paused=!0,await this.timeout(3e3),this.isValid=this.result.startsWith("http"),await this.timeout(2e3),this.paused=!1},timeout(i){return new Promise(h=>{window.setTimeout(h,i)})}}},D={class:"decode-result"},v={key:0,class:"validation-success"},A={key:1,class:"validation-failure"},_={key:2,class:"validation-pending"};function f(i,h,g,p,e,s){const y=E("qrcode-stream");return a(),n("div",null,[l("p",D,[r(" Last result: "),l("b",null,C(e.result),1)]),k(y,{paused:e.paused,onDetect:s.onDetect,onError:s.onError,onCameraOn:s.resetValidationState},{default:d(()=>[s.validationSuccess?(a(),n("div",v," This is a URL ")):t("",!0),s.validationFailure?(a(),n("div",A," This is NOT a URL! ")):t("",!0),s.validationPending?(a(),n("div",_," Long validation in progress... ")):t("",!0)]),_:1},8,["paused","onDetect","onError","onCameraOn"])])}const V=o(m,[["render",f],["__scopeId","data-v-2a6ebd39"]]),q=l("h1",{id:"pause-validate",tabindex:"-1"},[r("Pause & Validate "),l("a",{class:"header-anchor",href:"#pause-validate","aria-label":'Permalink to "Pause & Validate"'},"​")],-1),w=l("p",null,"By pausing you can process each scanned QR-code one at a time. The last received frame is still displayed so it just looks like the stream is paused.",-1),b=B(`

Source

vue
<template>
   <div>
     <p class="decode-result">
       Last result: <b>{{ result }}</b>
diff --git a/assets/demos_Validate.md.hjIDCaLb.lean.js b/assets/demos_Validate.md.zHsMF7yf.lean.js
similarity index 99%
rename from assets/demos_Validate.md.hjIDCaLb.lean.js
rename to assets/demos_Validate.md.zHsMF7yf.lean.js
index 213ff200..a844ab3c 100644
--- a/assets/demos_Validate.md.hjIDCaLb.lean.js
+++ b/assets/demos_Validate.md.zHsMF7yf.lean.js
@@ -1,4 +1,4 @@
-import{_ as c}from"./chunks/camera.DE4cteSh.js";import{_ as F}from"./chunks/QrcodeStream.vue_vue_type_script_setup_true_lang.DspH0Vrb.js";import{_ as o,D as E,o as a,c as n,k as l,a as r,t as C,I as k,w as d,e as t,d as u,R as B}from"./chunks/framework.BwCxet3-.js";const m={components:{QrcodeStream:F},data(){return{isValid:void 0,paused:!1,result:null}},computed:{validationPending(){return this.isValid===void 0&&this.paused},validationSuccess(){return this.isValid===!0},validationFailure(){return this.isValid===!1}},methods:{onError:console.error,resetValidationState(){this.isValid=void 0},async onDetect([i]){this.result=i.rawValue,this.paused=!0,await this.timeout(3e3),this.isValid=this.result.startsWith("http"),await this.timeout(2e3),this.paused=!1},timeout(i){return new Promise(h=>{window.setTimeout(h,i)})}}},D={class:"decode-result"},v={key:0,class:"validation-success"},A={key:1,class:"validation-failure"},_={key:2,class:"validation-pending"};function f(i,h,g,p,e,s){const y=E("qrcode-stream");return a(),n("div",null,[l("p",D,[r(" Last result: "),l("b",null,C(e.result),1)]),k(y,{paused:e.paused,onDetect:s.onDetect,onError:s.onError,onCameraOn:s.resetValidationState},{default:d(()=>[s.validationSuccess?(a(),n("div",v," This is a URL ")):t("",!0),s.validationFailure?(a(),n("div",A," This is NOT a URL! ")):t("",!0),s.validationPending?(a(),n("div",_," Long validation in progress... ")):t("",!0)]),_:1},8,["paused","onDetect","onError","onCameraOn"])])}const V=o(m,[["render",f],["__scopeId","data-v-2a6ebd39"]]),q=l("h1",{id:"pause-validate",tabindex:"-1"},[r("Pause & Validate "),l("a",{class:"header-anchor",href:"#pause-validate","aria-label":'Permalink to "Pause & Validate"'},"​")],-1),w=l("p",null,"By pausing you can process each scanned QR-code one at a time. The last received frame is still displayed so it just looks like the stream is paused.",-1),b=B(`

Source

vue
<template>
+import{_ as c}from"./chunks/camera.Y0ohPhsl.js";import{_ as F}from"./chunks/QrcodeStream.vue_vue_type_script_setup_true_lang.CsTXXFWV.js";import{_ as o,D as E,o as a,c as n,k as l,a as r,t as C,I as k,w as d,e as t,d as u,R as B}from"./chunks/framework.BwCxet3-.js";const m={components:{QrcodeStream:F},data(){return{isValid:void 0,paused:!1,result:null}},computed:{validationPending(){return this.isValid===void 0&&this.paused},validationSuccess(){return this.isValid===!0},validationFailure(){return this.isValid===!1}},methods:{onError:console.error,resetValidationState(){this.isValid=void 0},async onDetect([i]){this.result=i.rawValue,this.paused=!0,await this.timeout(3e3),this.isValid=this.result.startsWith("http"),await this.timeout(2e3),this.paused=!1},timeout(i){return new Promise(h=>{window.setTimeout(h,i)})}}},D={class:"decode-result"},v={key:0,class:"validation-success"},A={key:1,class:"validation-failure"},_={key:2,class:"validation-pending"};function f(i,h,g,p,e,s){const y=E("qrcode-stream");return a(),n("div",null,[l("p",D,[r(" Last result: "),l("b",null,C(e.result),1)]),k(y,{paused:e.paused,onDetect:s.onDetect,onError:s.onError,onCameraOn:s.resetValidationState},{default:d(()=>[s.validationSuccess?(a(),n("div",v," This is a URL ")):t("",!0),s.validationFailure?(a(),n("div",A," This is NOT a URL! ")):t("",!0),s.validationPending?(a(),n("div",_," Long validation in progress... ")):t("",!0)]),_:1},8,["paused","onDetect","onError","onCameraOn"])])}const V=o(m,[["render",f],["__scopeId","data-v-2a6ebd39"]]),q=l("h1",{id:"pause-validate",tabindex:"-1"},[r("Pause & Validate "),l("a",{class:"header-anchor",href:"#pause-validate","aria-label":'Permalink to "Pause & Validate"'},"​")],-1),w=l("p",null,"By pausing you can process each scanned QR-code one at a time. The last received frame is still displayed so it just looks like the stream is paused.",-1),b=B(`

Source

vue
<template>
   <div>
     <p class="decode-result">
       Last result: <b>{{ result }}</b>
diff --git a/assets/style.DPXyhsKt.css b/assets/style.BecwPQUx.css
similarity index 66%
rename from assets/style.DPXyhsKt.css
rename to assets/style.BecwPQUx.css
index 51a5af8d..0ba523b3 100644
--- a/assets/style.DPXyhsKt.css
+++ b/assets/style.BecwPQUx.css
@@ -1 +1 @@
-@font-face{font-family:Inter var;font-weight:100 900;font-display:swap;font-style:normal;font-named-instance:"Regular";src:url(/vue-qrcode-reader/assets/inter-roman-cyrillic.CMhn1ESj.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter var;font-weight:100 900;font-display:swap;font-style:normal;font-named-instance:"Regular";src:url(/vue-qrcode-reader/assets/inter-roman-cyrillic-ext.DxP3Awbn.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:Inter var;font-weight:100 900;font-display:swap;font-style:normal;font-named-instance:"Regular";src:url(/vue-qrcode-reader/assets/inter-roman-greek.JvnBZ4YD.woff2) format("woff2");unicode-range:U+0370-03FF}@font-face{font-family:Inter var;font-weight:100 900;font-display:swap;font-style:normal;font-named-instance:"Regular";src:url(/vue-qrcode-reader/assets/inter-roman-greek-ext.D0mI3NpI.woff2) format("woff2");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter var;font-weight:100 900;font-display:swap;font-style:normal;font-named-instance:"Regular";src:url(/vue-qrcode-reader/assets/inter-roman-latin.Bu8hRsVA.woff2) format("woff2");unicode-range:U+0000-00FF,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:Inter var;font-weight:100 900;font-display:swap;font-style:normal;font-named-instance:"Regular";src:url(/vue-qrcode-reader/assets/inter-roman-latin-ext.ZlYT4o7i.woff2) format("woff2");unicode-range:U+0100-024F,U+0259,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter var;font-weight:100 900;font-display:swap;font-style:normal;font-named-instance:"Regular";src:url(/vue-qrcode-reader/assets/inter-roman-vietnamese.ClpjcLMQ.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:Inter var;font-weight:100 900;font-display:swap;font-style:italic;font-named-instance:"Italic";src:url(/vue-qrcode-reader/assets/inter-italic-cyrillic.D6csxwjC.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter var;font-weight:100 900;font-display:swap;font-style:italic;font-named-instance:"Italic";src:url(/vue-qrcode-reader/assets/inter-italic-cyrillic-ext.5XJwZIOp.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:Inter var;font-weight:100 900;font-display:swap;font-style:italic;font-named-instance:"Italic";src:url(/vue-qrcode-reader/assets/inter-italic-greek.9J96vYpw.woff2) format("woff2");unicode-range:U+0370-03FF}@font-face{font-family:Inter var;font-weight:100 900;font-display:swap;font-style:italic;font-named-instance:"Italic";src:url(/vue-qrcode-reader/assets/inter-italic-greek-ext.CHOfFY1k.woff2) format("woff2");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter var;font-weight:100 900;font-display:swap;font-style:italic;font-named-instance:"Italic";src:url(/vue-qrcode-reader/assets/inter-italic-latin.DbsTr1gm.woff2) format("woff2");unicode-range:U+0000-00FF,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:Inter var;font-weight:100 900;font-display:swap;font-style:italic;font-named-instance:"Italic";src:url(/vue-qrcode-reader/assets/inter-italic-latin-ext.BGcWXLrn.woff2) format("woff2");unicode-range:U+0100-024F,U+0259,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter var;font-weight:100 900;font-display:swap;font-style:italic;font-named-instance:"Italic";src:url(/vue-qrcode-reader/assets/inter-italic-vietnamese.DHNAd7Wr.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:Chinese Quotes;src:local("PingFang SC Regular"),local("PingFang SC"),local("SimHei"),local("Source Han Sans SC");unicode-range:U+2018,U+2019,U+201C,U+201D}:root{--vp-c-white: #ffffff;--vp-c-black: #000000;--vp-c-neutral: var(--vp-c-black);--vp-c-neutral-inverse: var(--vp-c-white)}.dark{--vp-c-neutral: var(--vp-c-white);--vp-c-neutral-inverse: var(--vp-c-black)}:root{--vp-c-gray-1: #dddde3;--vp-c-gray-2: #e4e4e9;--vp-c-gray-3: #ebebef;--vp-c-gray-soft: rgba(142, 150, 170, .14);--vp-c-indigo-1: #3451b2;--vp-c-indigo-2: #3a5ccc;--vp-c-indigo-3: #5672cd;--vp-c-indigo-soft: rgba(100, 108, 255, .14);--vp-c-green-1: #18794e;--vp-c-green-2: #299764;--vp-c-green-3: #30a46c;--vp-c-green-soft: rgba(16, 185, 129, .14);--vp-c-yellow-1: #915930;--vp-c-yellow-2: #946300;--vp-c-yellow-3: #9f6a00;--vp-c-yellow-soft: rgba(234, 179, 8, .14);--vp-c-red-1: #b8272c;--vp-c-red-2: #d5393e;--vp-c-red-3: #e0575b;--vp-c-red-soft: rgba(244, 63, 94, .14);--vp-c-sponsor: #db2777}.dark{--vp-c-gray-1: #515c67;--vp-c-gray-2: #414853;--vp-c-gray-3: #32363f;--vp-c-gray-soft: rgba(101, 117, 133, .16);--vp-c-indigo-1: #a8b1ff;--vp-c-indigo-2: #5c73e7;--vp-c-indigo-3: #3e63dd;--vp-c-indigo-soft: rgba(100, 108, 255, .16);--vp-c-green-1: #3dd68c;--vp-c-green-2: #30a46c;--vp-c-green-3: #298459;--vp-c-green-soft: rgba(16, 185, 129, .16);--vp-c-yellow-1: #f9b44e;--vp-c-yellow-2: #da8b17;--vp-c-yellow-3: #a46a0a;--vp-c-yellow-soft: rgba(234, 179, 8, .16);--vp-c-red-1: #f66f81;--vp-c-red-2: #f14158;--vp-c-red-3: #b62a3c;--vp-c-red-soft: rgba(244, 63, 94, .16)}:root{--vp-c-bg: #ffffff;--vp-c-bg-alt: #f6f6f7;--vp-c-bg-elv: #ffffff;--vp-c-bg-soft: #f6f6f7}.dark{--vp-c-bg: #1b1b1f;--vp-c-bg-alt: #161618;--vp-c-bg-elv: #202127;--vp-c-bg-soft: #202127}:root{--vp-c-border: #c2c2c4;--vp-c-divider: #e2e2e3;--vp-c-gutter: #e2e2e3}.dark{--vp-c-border: #3c3f44;--vp-c-divider: #2e2e32;--vp-c-gutter: #000000}:root{--vp-c-text-1: rgba(60, 60, 67);--vp-c-text-2: rgba(60, 60, 67, .78);--vp-c-text-3: rgba(60, 60, 67, .56)}.dark{--vp-c-text-1: rgba(255, 255, 245, .86);--vp-c-text-2: rgba(235, 235, 245, .6);--vp-c-text-3: rgba(235, 235, 245, .38)}:root{--vp-c-default-1: var(--vp-c-gray-1);--vp-c-default-2: var(--vp-c-gray-2);--vp-c-default-3: var(--vp-c-gray-3);--vp-c-default-soft: var(--vp-c-gray-soft);--vp-c-brand-1: var(--vp-c-indigo-1);--vp-c-brand-2: var(--vp-c-indigo-2);--vp-c-brand-3: var(--vp-c-indigo-3);--vp-c-brand-soft: var(--vp-c-indigo-soft);--vp-c-brand: var(--vp-c-brand-1);--vp-c-tip-1: var(--vp-c-brand-1);--vp-c-tip-2: var(--vp-c-brand-2);--vp-c-tip-3: var(--vp-c-brand-3);--vp-c-tip-soft: var(--vp-c-brand-soft);--vp-c-warning-1: var(--vp-c-yellow-1);--vp-c-warning-2: var(--vp-c-yellow-2);--vp-c-warning-3: var(--vp-c-yellow-3);--vp-c-warning-soft: var(--vp-c-yellow-soft);--vp-c-danger-1: var(--vp-c-red-1);--vp-c-danger-2: var(--vp-c-red-2);--vp-c-danger-3: var(--vp-c-red-3);--vp-c-danger-soft: var(--vp-c-red-soft)}:root{--vp-font-family-base: "Chinese Quotes", "Inter var", "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Helvetica, Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--vp-font-family-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace}:root{--vp-shadow-1: 0 1px 2px rgba(0, 0, 0, .04), 0 1px 2px rgba(0, 0, 0, .06);--vp-shadow-2: 0 3px 12px rgba(0, 0, 0, .07), 0 1px 4px rgba(0, 0, 0, .07);--vp-shadow-3: 0 12px 32px rgba(0, 0, 0, .1), 0 2px 6px rgba(0, 0, 0, .08);--vp-shadow-4: 0 14px 44px rgba(0, 0, 0, .12), 0 3px 9px rgba(0, 0, 0, .12);--vp-shadow-5: 0 18px 56px rgba(0, 0, 0, .16), 0 4px 12px rgba(0, 0, 0, .16)}:root{--vp-z-index-footer: 10;--vp-z-index-local-nav: 20;--vp-z-index-nav: 30;--vp-z-index-layout-top: 40;--vp-z-index-backdrop: 50;--vp-z-index-sidebar: 60}:root{--vp-icon-copy: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' height='20' width='20' stroke='rgba(128,128,128,1)' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M9 5H7a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2h-2M9 5a2 2 0 0 0 2 2h2a2 2 0 0 0 2-2M9 5a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2'/%3E%3C/svg%3E");--vp-icon-copied: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' height='20' width='20' stroke='rgba(128,128,128,1)' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M9 5H7a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2h-2M9 5a2 2 0 0 0 2 2h2a2 2 0 0 0 2-2M9 5a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2m-6 9 2 2 4-4'/%3E%3C/svg%3E")}:root{--vp-layout-max-width: 1440px}:root{--vp-header-anchor-symbol: "#"}:root{--vp-code-line-height: 1.7;--vp-code-font-size: .875em;--vp-code-color: var(--vp-c-brand-1);--vp-code-link-color: var(--vp-c-brand-1);--vp-code-link-hover-color: var(--vp-c-brand-2);--vp-code-bg: var(--vp-c-default-soft);--vp-code-block-color: var(--vp-c-text-2);--vp-code-block-bg: var(--vp-c-bg-alt);--vp-code-block-divider-color: var(--vp-c-gutter);--vp-code-lang-color: var(--vp-c-text-3);--vp-code-line-highlight-color: var(--vp-c-default-soft);--vp-code-line-number-color: var(--vp-c-text-3);--vp-code-line-diff-add-color: var(--vp-c-green-soft);--vp-code-line-diff-add-symbol-color: var(--vp-c-green-1);--vp-code-line-diff-remove-color: var(--vp-c-red-soft);--vp-code-line-diff-remove-symbol-color: var(--vp-c-red-1);--vp-code-line-warning-color: var(--vp-c-yellow-soft);--vp-code-line-error-color: var(--vp-c-red-soft);--vp-code-copy-code-border-color: var(--vp-c-divider);--vp-code-copy-code-bg: var(--vp-c-bg-soft);--vp-code-copy-code-hover-border-color: var(--vp-c-divider);--vp-code-copy-code-hover-bg: var(--vp-c-bg);--vp-code-copy-code-active-text: var(--vp-c-text-2);--vp-code-copy-copied-text-content: "Copied";--vp-code-tab-divider: var(--vp-code-block-divider-color);--vp-code-tab-text-color: var(--vp-c-text-2);--vp-code-tab-bg: var(--vp-code-block-bg);--vp-code-tab-hover-text-color: var(--vp-c-text-1);--vp-code-tab-active-text-color: var(--vp-c-text-1);--vp-code-tab-active-bar-color: var(--vp-c-brand-1)}:root{--vp-button-brand-border: transparent;--vp-button-brand-text: var(--vp-c-white);--vp-button-brand-bg: var(--vp-c-brand-3);--vp-button-brand-hover-border: transparent;--vp-button-brand-hover-text: var(--vp-c-white);--vp-button-brand-hover-bg: var(--vp-c-brand-2);--vp-button-brand-active-border: transparent;--vp-button-brand-active-text: var(--vp-c-white);--vp-button-brand-active-bg: var(--vp-c-brand-1);--vp-button-alt-border: transparent;--vp-button-alt-text: var(--vp-c-text-1);--vp-button-alt-bg: var(--vp-c-default-3);--vp-button-alt-hover-border: transparent;--vp-button-alt-hover-text: var(--vp-c-text-1);--vp-button-alt-hover-bg: var(--vp-c-default-2);--vp-button-alt-active-border: transparent;--vp-button-alt-active-text: var(--vp-c-text-1);--vp-button-alt-active-bg: var(--vp-c-default-1);--vp-button-sponsor-border: var(--vp-c-text-2);--vp-button-sponsor-text: var(--vp-c-text-2);--vp-button-sponsor-bg: transparent;--vp-button-sponsor-hover-border: var(--vp-c-sponsor);--vp-button-sponsor-hover-text: var(--vp-c-sponsor);--vp-button-sponsor-hover-bg: transparent;--vp-button-sponsor-active-border: var(--vp-c-sponsor);--vp-button-sponsor-active-text: var(--vp-c-sponsor);--vp-button-sponsor-active-bg: transparent}:root{--vp-custom-block-font-size: 14px;--vp-custom-block-code-font-size: 13px;--vp-custom-block-info-border: transparent;--vp-custom-block-info-text: var(--vp-c-text-1);--vp-custom-block-info-bg: var(--vp-c-default-soft);--vp-custom-block-info-code-bg: var(--vp-c-default-soft);--vp-custom-block-tip-border: transparent;--vp-custom-block-tip-text: var(--vp-c-text-1);--vp-custom-block-tip-bg: var(--vp-c-brand-soft);--vp-custom-block-tip-code-bg: var(--vp-c-brand-soft);--vp-custom-block-warning-border: transparent;--vp-custom-block-warning-text: var(--vp-c-text-1);--vp-custom-block-warning-bg: var(--vp-c-warning-soft);--vp-custom-block-warning-code-bg: var(--vp-c-warning-soft);--vp-custom-block-danger-border: transparent;--vp-custom-block-danger-text: var(--vp-c-text-1);--vp-custom-block-danger-bg: var(--vp-c-danger-soft);--vp-custom-block-danger-code-bg: var(--vp-c-danger-soft);--vp-custom-block-details-border: var(--vp-custom-block-info-border);--vp-custom-block-details-text: var(--vp-custom-block-info-text);--vp-custom-block-details-bg: var(--vp-custom-block-info-bg);--vp-custom-block-details-code-bg: var(--vp-custom-block-info-code-bg)}:root{--vp-input-border-color: var(--vp-c-border);--vp-input-bg-color: var(--vp-c-bg-alt);--vp-input-switch-bg-color: var(--vp-c-gray-soft)}:root{--vp-nav-height: 64px;--vp-nav-bg-color: var(--vp-c-bg);--vp-nav-screen-bg-color: var(--vp-c-bg);--vp-nav-logo-height: 24px}.hide-nav{--vp-nav-height: 0px}.hide-nav .VPSidebar{--vp-nav-height: 22px}:root{--vp-local-nav-bg-color: var(--vp-c-bg)}:root{--vp-sidebar-width: 272px;--vp-sidebar-bg-color: var(--vp-c-bg-alt)}:root{--vp-backdrop-bg-color: rgba(0, 0, 0, .6)}:root{--vp-home-hero-name-color: var(--vp-c-brand-1);--vp-home-hero-name-background: transparent;--vp-home-hero-image-background-image: none;--vp-home-hero-image-filter: none}:root{--vp-badge-info-border: transparent;--vp-badge-info-text: var(--vp-c-text-2);--vp-badge-info-bg: var(--vp-c-default-soft);--vp-badge-tip-border: transparent;--vp-badge-tip-text: var(--vp-c-brand-1);--vp-badge-tip-bg: var(--vp-c-brand-soft);--vp-badge-warning-border: transparent;--vp-badge-warning-text: var(--vp-c-warning-1);--vp-badge-warning-bg: var(--vp-c-warning-soft);--vp-badge-danger-border: transparent;--vp-badge-danger-text: var(--vp-c-danger-1);--vp-badge-danger-bg: var(--vp-c-danger-soft)}:root{--vp-carbon-ads-text-color: var(--vp-c-text-1);--vp-carbon-ads-poweredby-color: var(--vp-c-text-2);--vp-carbon-ads-bg-color: var(--vp-c-bg-soft);--vp-carbon-ads-hover-text-color: var(--vp-c-brand-1);--vp-carbon-ads-hover-poweredby-color: var(--vp-c-text-1)}:root{--vp-local-search-bg: var(--vp-c-bg);--vp-local-search-result-bg: var(--vp-c-bg);--vp-local-search-result-border: var(--vp-c-divider);--vp-local-search-result-selected-bg: var(--vp-c-bg);--vp-local-search-result-selected-border: var(--vp-c-brand-1);--vp-local-search-highlight-bg: var(--vp-c-brand-1);--vp-local-search-highlight-text: var(--vp-c-neutral-inverse)}@media (prefers-reduced-motion: reduce){*,:before,:after{animation-delay:-1ms!important;animation-duration:1ms!important;animation-iteration-count:1!important;background-attachment:initial!important;scroll-behavior:auto!important;transition-duration:0s!important;transition-delay:0s!important}}*,:before,:after{box-sizing:border-box}html{line-height:1.4;font-size:16px;-webkit-text-size-adjust:100%}html.dark{color-scheme:dark}body{margin:0;width:100%;min-width:320px;min-height:100vh;line-height:24px;font-family:var(--vp-font-family-base);font-size:16px;font-weight:400;color:var(--vp-c-text-1);background-color:var(--vp-c-bg);direction:ltr;font-synthesis:style;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}main{display:block}h1,h2,h3,h4,h5,h6{margin:0;line-height:24px;font-size:16px;font-weight:400}p{margin:0}strong,b{font-weight:600}a,area,button,[role=button],input,label,select,summary,textarea{touch-action:manipulation}a{color:inherit;text-decoration:inherit}ol,ul{list-style:none;margin:0;padding:0}blockquote{margin:0}pre,code,kbd,samp{font-family:var(--vp-font-family-mono)}img,svg,video,canvas,audio,iframe,embed,object{display:block}figure{margin:0}img,video{max-width:100%;height:auto}button,input,optgroup,select,textarea{border:0;padding:0;line-height:inherit;color:inherit}button{padding:0;font-family:inherit;background-color:transparent;background-image:none}button:enabled,[role=button]:enabled{cursor:pointer}button:focus,button:focus-visible{outline:1px dotted;outline:4px auto -webkit-focus-ring-color}button:focus:not(:focus-visible){outline:none!important}input:focus,textarea:focus,select:focus{outline:none}table{border-collapse:collapse}input{background-color:transparent}input:-ms-input-placeholder,textarea:-ms-input-placeholder{color:var(--vp-c-text-3)}input::-ms-input-placeholder,textarea::-ms-input-placeholder{color:var(--vp-c-text-3)}input::placeholder,textarea::placeholder{color:var(--vp-c-text-3)}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}textarea{resize:vertical}select{-webkit-appearance:none}fieldset{margin:0;padding:0}h1,h2,h3,h4,h5,h6,li,p{overflow-wrap:break-word}vite-error-overlay{z-index:9999}mjx-container{display:inline-block;margin:auto 2px -2px}mjx-container>svg{margin:auto}.visually-hidden{position:absolute;width:1px;height:1px;white-space:nowrap;clip:rect(0 0 0 0);clip-path:inset(50%);overflow:hidden}.custom-block{border:1px solid transparent;border-radius:8px;padding:16px 16px 8px;line-height:24px;font-size:var(--vp-custom-block-font-size);color:var(--vp-c-text-2)}.custom-block.info{border-color:var(--vp-custom-block-info-border);color:var(--vp-custom-block-info-text);background-color:var(--vp-custom-block-info-bg)}.custom-block.info a,.custom-block.info code{color:var(--vp-c-brand-1)}.custom-block.info a:hover{color:var(--vp-c-brand-2)}.custom-block.info code{background-color:var(--vp-custom-block-info-code-bg)}.custom-block.tip{border-color:var(--vp-custom-block-tip-border);color:var(--vp-custom-block-tip-text);background-color:var(--vp-custom-block-tip-bg)}.custom-block.tip a,.custom-block.tip code{color:var(--vp-c-brand-1)}.custom-block.tip a:hover{color:var(--vp-c-brand-2)}.custom-block.tip code{background-color:var(--vp-custom-block-tip-code-bg)}.custom-block.warning{border-color:var(--vp-custom-block-warning-border);color:var(--vp-custom-block-warning-text);background-color:var(--vp-custom-block-warning-bg)}.custom-block.warning a,.custom-block.warning code{color:var(--vp-c-warning-1)}.custom-block.warning a:hover{color:var(--vp-c-warning-2)}.custom-block.warning code{background-color:var(--vp-custom-block-warning-code-bg)}.custom-block.danger{border-color:var(--vp-custom-block-danger-border);color:var(--vp-custom-block-danger-text);background-color:var(--vp-custom-block-danger-bg)}.custom-block.danger a,.custom-block.danger code{color:var(--vp-c-danger-1)}.custom-block.danger a:hover{color:var(--vp-c-danger-2)}.custom-block.danger code{background-color:var(--vp-custom-block-danger-code-bg)}.custom-block.details{border-color:var(--vp-custom-block-details-border);color:var(--vp-custom-block-details-text);background-color:var(--vp-custom-block-details-bg)}.custom-block.details a{color:var(--vp-c-brand-1)}.custom-block.details a:hover{color:var(--vp-c-brand-2)}.custom-block.details code{background-color:var(--vp-custom-block-details-code-bg)}.custom-block-title{font-weight:600}.custom-block p+p{margin:8px 0}.custom-block.details summary{margin:0 0 8px;font-weight:700;cursor:pointer}.custom-block.details summary+p{margin:8px 0}.custom-block a{color:inherit;font-weight:600;text-decoration:underline;text-underline-offset:2px;transition:opacity .25s}.custom-block a:hover{opacity:.75}.custom-block code{font-size:var(--vp-custom-block-code-font-size)}.custom-block.custom-block th,.custom-block.custom-block blockquote>p{font-size:var(--vp-custom-block-font-size);color:inherit}.dark .vp-code span{color:var(--shiki-dark, inherit)}html:not(.dark) .vp-code span{color:var(--shiki-light, inherit)}.vp-code-group{margin-top:16px}.vp-code-group .tabs{position:relative;display:flex;margin-right:-24px;margin-left:-24px;padding:0 12px;background-color:var(--vp-code-tab-bg);overflow-x:auto;overflow-y:hidden;box-shadow:inset 0 -1px var(--vp-code-tab-divider)}@media (min-width: 640px){.vp-code-group .tabs{margin-right:0;margin-left:0;border-radius:8px 8px 0 0}}.vp-code-group .tabs input{position:fixed;opacity:0;pointer-events:none}.vp-code-group .tabs label{position:relative;display:inline-block;border-bottom:1px solid transparent;padding:0 12px;line-height:48px;font-size:14px;font-weight:500;color:var(--vp-code-tab-text-color);white-space:nowrap;cursor:pointer;transition:color .25s}.vp-code-group .tabs label:after{position:absolute;right:8px;bottom:-1px;left:8px;z-index:1;height:2px;border-radius:2px;content:"";background-color:transparent;transition:background-color .25s}.vp-code-group label:hover{color:var(--vp-code-tab-hover-text-color)}.vp-code-group input:checked+label{color:var(--vp-code-tab-active-text-color)}.vp-code-group input:checked+label:after{background-color:var(--vp-code-tab-active-bar-color)}.vp-code-group div[class*=language-],.vp-block{display:none;margin-top:0!important;border-top-left-radius:0!important;border-top-right-radius:0!important}.vp-code-group div[class*=language-].active,.vp-block.active{display:block}.vp-block{padding:20px 24px}.vp-doc h1,.vp-doc h2,.vp-doc h3,.vp-doc h4,.vp-doc h5,.vp-doc h6{position:relative;font-weight:600;outline:none}.vp-doc h1{letter-spacing:-.02em;line-height:40px;font-size:28px}.vp-doc h2{margin:48px 0 16px;border-top:1px solid var(--vp-c-divider);padding-top:24px;letter-spacing:-.02em;line-height:32px;font-size:24px}.vp-doc h3{margin:32px 0 0;letter-spacing:-.01em;line-height:28px;font-size:20px}.vp-doc .header-anchor{position:absolute;top:0;left:0;margin-left:-.87em;font-weight:500;-webkit-user-select:none;user-select:none;opacity:0;text-decoration:none;transition:color .25s,opacity .25s}.vp-doc .header-anchor:before{content:var(--vp-header-anchor-symbol)}.vp-doc h1:hover .header-anchor,.vp-doc h1 .header-anchor:focus,.vp-doc h2:hover .header-anchor,.vp-doc h2 .header-anchor:focus,.vp-doc h3:hover .header-anchor,.vp-doc h3 .header-anchor:focus,.vp-doc h4:hover .header-anchor,.vp-doc h4 .header-anchor:focus,.vp-doc h5:hover .header-anchor,.vp-doc h5 .header-anchor:focus,.vp-doc h6:hover .header-anchor,.vp-doc h6 .header-anchor:focus{opacity:1}@media (min-width: 768px){.vp-doc h1{letter-spacing:-.02em;line-height:40px;font-size:32px}}.vp-doc h2 .header-anchor{top:24px}.vp-doc p,.vp-doc summary{margin:16px 0}.vp-doc p{line-height:28px}.vp-doc blockquote{margin:16px 0;border-left:2px solid var(--vp-c-divider);padding-left:16px;transition:border-color .5s}.vp-doc blockquote>p{margin:0;font-size:16px;color:var(--vp-c-text-2);transition:color .5s}.vp-doc a{font-weight:500;color:var(--vp-c-brand-1);text-decoration:underline;text-underline-offset:2px;transition:color .25s,opacity .25s}.vp-doc a:hover{color:var(--vp-c-brand-2)}.vp-doc strong{font-weight:600}.vp-doc ul,.vp-doc ol{padding-left:1.25rem;margin:16px 0}.vp-doc ul{list-style:disc}.vp-doc ol{list-style:decimal}.vp-doc li+li{margin-top:8px}.vp-doc li>ol,.vp-doc li>ul{margin:8px 0 0}.vp-doc table{display:block;border-collapse:collapse;margin:20px 0;overflow-x:auto}.vp-doc tr{background-color:var(--vp-c-bg);border-top:1px solid var(--vp-c-divider);transition:background-color .5s}.vp-doc tr:nth-child(2n){background-color:var(--vp-c-bg-soft)}.vp-doc th,.vp-doc td{border:1px solid var(--vp-c-divider);padding:8px 16px}.vp-doc th{text-align:left;font-size:14px;font-weight:600;color:var(--vp-c-text-2);background-color:var(--vp-c-bg-soft)}.vp-doc td{font-size:14px}.vp-doc hr{margin:16px 0;border:none;border-top:1px solid var(--vp-c-divider)}.vp-doc .custom-block{margin:16px 0}.vp-doc .custom-block p{margin:8px 0;line-height:24px}.vp-doc .custom-block p:first-child{margin:0}.vp-doc .custom-block div[class*=language-]{margin:8px 0;border-radius:8px}.vp-doc .custom-block div[class*=language-] code{font-weight:400;background-color:transparent}.vp-doc .custom-block .vp-code-group .tabs{margin:0;border-radius:8px 8px 0 0}.vp-doc :not(pre,h1,h2,h3,h4,h5,h6)>code{font-size:var(--vp-code-font-size);color:var(--vp-code-color)}.vp-doc :not(pre)>code{border-radius:4px;padding:3px 6px;background-color:var(--vp-code-bg);transition:color .25s,background-color .5s}.vp-doc a>code{color:var(--vp-code-link-color)}.vp-doc a:hover>code{color:var(--vp-code-link-hover-color)}.vp-doc h1>code,.vp-doc h2>code,.vp-doc h3>code{font-size:.9em}.vp-doc div[class*=language-],.vp-block{position:relative;margin:16px -24px;background-color:var(--vp-code-block-bg);overflow-x:auto;transition:background-color .5s}@media (min-width: 640px){.vp-doc div[class*=language-],.vp-block{border-radius:8px;margin:16px 0}}@media (max-width: 639px){.vp-doc li div[class*=language-]{border-radius:8px 0 0 8px}}.vp-doc div[class*=language-]+div[class*=language-],.vp-doc div[class$=-api]+div[class*=language-],.vp-doc div[class*=language-]+div[class$=-api]>div[class*=language-]{margin-top:-8px}.vp-doc [class*=language-] pre,.vp-doc [class*=language-] code{direction:ltr;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-hyphens:none;-moz-hyphens:none;-ms-hyphens:none;hyphens:none}.vp-doc [class*=language-] pre{position:relative;z-index:1;margin:0;padding:20px 0;background:transparent;overflow-x:auto}.vp-doc [class*=language-] code{display:block;padding:0 24px;width:fit-content;min-width:100%;line-height:var(--vp-code-line-height);font-size:var(--vp-code-font-size);color:var(--vp-code-block-color);transition:color .5s}.vp-doc [class*=language-] code .highlighted{background-color:var(--vp-code-line-highlight-color);transition:background-color .5s;margin:0 -24px;padding:0 24px;width:calc(100% + 48px);display:inline-block}.vp-doc [class*=language-] code .highlighted.error{background-color:var(--vp-code-line-error-color)}.vp-doc [class*=language-] code .highlighted.warning{background-color:var(--vp-code-line-warning-color)}.vp-doc [class*=language-] code .diff{transition:background-color .5s;margin:0 -24px;padding:0 24px;width:calc(100% + 48px);display:inline-block}.vp-doc [class*=language-] code .diff:before{position:absolute;left:10px}.vp-doc [class*=language-] .has-focused-lines .line:not(.has-focus){filter:blur(.095rem);opacity:.4;transition:filter .35s,opacity .35s}.vp-doc [class*=language-] .has-focused-lines .line:not(.has-focus){opacity:.7;transition:filter .35s,opacity .35s}.vp-doc [class*=language-]:hover .has-focused-lines .line:not(.has-focus){filter:blur(0);opacity:1}.vp-doc [class*=language-] code .diff.remove{background-color:var(--vp-code-line-diff-remove-color);opacity:.7}.vp-doc [class*=language-] code .diff.remove:before{content:"-";color:var(--vp-code-line-diff-remove-symbol-color)}.vp-doc [class*=language-] code .diff.add{background-color:var(--vp-code-line-diff-add-color)}.vp-doc [class*=language-] code .diff.add:before{content:"+";color:var(--vp-code-line-diff-add-symbol-color)}.vp-doc div[class*=language-].line-numbers-mode{padding-left:32px}.vp-doc .line-numbers-wrapper{position:absolute;top:0;bottom:0;left:0;z-index:3;border-right:1px solid var(--vp-code-block-divider-color);padding-top:20px;width:32px;text-align:center;font-family:var(--vp-font-family-mono);line-height:var(--vp-code-line-height);font-size:var(--vp-code-font-size);color:var(--vp-code-line-number-color);transition:border-color .5s,color .5s}.vp-doc [class*=language-]>button.copy{direction:ltr;position:absolute;top:12px;right:12px;z-index:3;border:1px solid var(--vp-code-copy-code-border-color);border-radius:4px;width:40px;height:40px;background-color:var(--vp-code-copy-code-bg);opacity:0;cursor:pointer;background-image:var(--vp-icon-copy);background-position:50%;background-size:20px;background-repeat:no-repeat;transition:border-color .25s,background-color .25s,opacity .25s}.vp-doc [class*=language-]:hover>button.copy,.vp-doc [class*=language-]>button.copy:focus{opacity:1}.vp-doc [class*=language-]>button.copy:hover,.vp-doc [class*=language-]>button.copy.copied{border-color:var(--vp-code-copy-code-hover-border-color);background-color:var(--vp-code-copy-code-hover-bg)}.vp-doc [class*=language-]>button.copy.copied,.vp-doc [class*=language-]>button.copy:hover.copied{border-radius:0 4px 4px 0;background-color:var(--vp-code-copy-code-hover-bg);background-image:var(--vp-icon-copied)}.vp-doc [class*=language-]>button.copy.copied:before,.vp-doc [class*=language-]>button.copy:hover.copied:before{position:relative;top:-1px;transform:translate(calc(-100% - 1px));display:flex;justify-content:center;align-items:center;border:1px solid var(--vp-code-copy-code-hover-border-color);border-right:0;border-radius:4px 0 0 4px;padding:0 10px;width:fit-content;height:40px;text-align:center;font-size:12px;font-weight:500;color:var(--vp-code-copy-code-active-text);background-color:var(--vp-code-copy-code-hover-bg);white-space:nowrap;content:var(--vp-code-copy-copied-text-content)}.vp-doc [class*=language-]>span.lang{position:absolute;top:2px;right:8px;z-index:2;font-size:12px;font-weight:500;color:var(--vp-code-lang-color);transition:color .4s,opacity .4s}.vp-doc [class*=language-]:hover>button.copy+span.lang,.vp-doc [class*=language-]>button.copy:focus+span.lang{opacity:0}.vp-doc .VPTeamMembers{margin-top:24px}.vp-doc .VPTeamMembers.small.count-1 .container{margin:0!important;max-width:calc((100% - 24px)/2)!important}.vp-doc .VPTeamMembers.small.count-2 .container,.vp-doc .VPTeamMembers.small.count-3 .container{max-width:100%!important}.vp-doc .VPTeamMembers.medium.count-1 .container{margin:0!important;max-width:calc((100% - 24px)/2)!important}:is(.vp-external-link-icon,.vp-doc a[href*="://"],.vp-doc a[target=_blank]):not(.no-icon):after{display:inline-block;margin-top:-1px;margin-left:4px;width:11px;height:11px;background:currentColor;color:var(--vp-c-text-3);flex-shrink:0;--icon: url("data:image/svg+xml, %3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' %3E%3Cpath d='M0 0h24v24H0V0z' fill='none' /%3E%3Cpath d='M9 5v2h6.59L4 18.59 5.41 20 17 8.41V15h2V5H9z' /%3E%3C/svg%3E");-webkit-mask-image:var(--icon);mask-image:var(--icon)}.vp-external-link-icon:after{content:""}.vp-sponsor{border-radius:16px;overflow:hidden}.vp-sponsor.aside{border-radius:12px}.vp-sponsor-section+.vp-sponsor-section{margin-top:4px}.vp-sponsor-tier{margin-bottom:4px;text-align:center;letter-spacing:1px;line-height:24px;width:100%;font-weight:600;color:var(--vp-c-text-2);background-color:var(--vp-c-bg-soft)}.vp-sponsor.normal .vp-sponsor-tier{padding:13px 0 11px;font-size:14px}.vp-sponsor.aside .vp-sponsor-tier{padding:9px 0 7px;font-size:12px}.vp-sponsor-grid+.vp-sponsor-tier{margin-top:4px}.vp-sponsor-grid{display:flex;flex-wrap:wrap;gap:4px}.vp-sponsor-grid.xmini .vp-sponsor-grid-link{height:64px}.vp-sponsor-grid.xmini .vp-sponsor-grid-image{max-width:64px;max-height:22px}.vp-sponsor-grid.mini .vp-sponsor-grid-link{height:72px}.vp-sponsor-grid.mini .vp-sponsor-grid-image{max-width:96px;max-height:24px}.vp-sponsor-grid.small .vp-sponsor-grid-link{height:96px}.vp-sponsor-grid.small .vp-sponsor-grid-image{max-width:96px;max-height:24px}.vp-sponsor-grid.medium .vp-sponsor-grid-link{height:112px}.vp-sponsor-grid.medium .vp-sponsor-grid-image{max-width:120px;max-height:36px}.vp-sponsor-grid.big .vp-sponsor-grid-link{height:184px}.vp-sponsor-grid.big .vp-sponsor-grid-image{max-width:192px;max-height:56px}.vp-sponsor-grid[data-vp-grid="2"] .vp-sponsor-grid-item{width:calc((100% - 4px)/2)}.vp-sponsor-grid[data-vp-grid="3"] .vp-sponsor-grid-item{width:calc((100% - 4px * 2) / 3)}.vp-sponsor-grid[data-vp-grid="4"] .vp-sponsor-grid-item{width:calc((100% - 12px)/4)}.vp-sponsor-grid[data-vp-grid="5"] .vp-sponsor-grid-item{width:calc((100% - 16px)/5)}.vp-sponsor-grid[data-vp-grid="6"] .vp-sponsor-grid-item{width:calc((100% - 4px * 5) / 6)}.vp-sponsor-grid-item{flex-shrink:0;width:100%;background-color:var(--vp-c-bg-soft);transition:background-color .25s}.vp-sponsor-grid-item:hover{background-color:var(--vp-c-default-soft)}.vp-sponsor-grid-item:hover .vp-sponsor-grid-image{filter:grayscale(0) invert(0)}.vp-sponsor-grid-item.empty:hover{background-color:var(--vp-c-bg-soft)}.dark .vp-sponsor-grid-item:hover{background-color:var(--vp-c-white)}.dark .vp-sponsor-grid-item.empty:hover{background-color:var(--vp-c-bg-soft)}.vp-sponsor-grid-link{display:flex}.vp-sponsor-grid-box{display:flex;justify-content:center;align-items:center;width:100%}.vp-sponsor-grid-image{max-width:100%;filter:grayscale(1);transition:filter .25s}.dark .vp-sponsor-grid-image{filter:grayscale(1) invert(1)}.VPBadge[data-v-1d226370]{display:inline-block;margin-left:2px;border:1px solid transparent;border-radius:12px;padding:0 10px;line-height:22px;font-size:12px;font-weight:500;transform:translateY(-2px)}.vp-doc h1>.VPBadge[data-v-1d226370]{margin-top:4px;vertical-align:top}.vp-doc h2>.VPBadge[data-v-1d226370]{margin-top:3px;padding:0 8px;vertical-align:top}.vp-doc h3>.VPBadge[data-v-1d226370]{vertical-align:middle}.vp-doc h4>.VPBadge[data-v-1d226370],.vp-doc h5>.VPBadge[data-v-1d226370],.vp-doc h6>.VPBadge[data-v-1d226370]{vertical-align:middle;line-height:18px}.VPBadge.info[data-v-1d226370]{border-color:var(--vp-badge-info-border);color:var(--vp-badge-info-text);background-color:var(--vp-badge-info-bg)}.VPBadge.tip[data-v-1d226370]{border-color:var(--vp-badge-tip-border);color:var(--vp-badge-tip-text);background-color:var(--vp-badge-tip-bg)}.VPBadge.warning[data-v-1d226370]{border-color:var(--vp-badge-warning-border);color:var(--vp-badge-warning-text);background-color:var(--vp-badge-warning-bg)}.VPBadge.danger[data-v-1d226370]{border-color:var(--vp-badge-danger-border);color:var(--vp-badge-danger-text);background-color:var(--vp-badge-danger-bg)}.VPBackdrop[data-v-efa38643]{position:fixed;top:0;right:0;bottom:0;left:0;z-index:var(--vp-z-index-backdrop);background:var(--vp-backdrop-bg-color);transition:opacity .5s}.VPBackdrop.fade-enter-from[data-v-efa38643],.VPBackdrop.fade-leave-to[data-v-efa38643]{opacity:0}.VPBackdrop.fade-leave-active[data-v-efa38643]{transition-duration:.25s}@media (min-width: 1280px){.VPBackdrop[data-v-efa38643]{display:none}}.NotFound[data-v-52dbf34e]{padding:64px 24px 96px;text-align:center}@media (min-width: 768px){.NotFound[data-v-52dbf34e]{padding:96px 32px 168px}}.code[data-v-52dbf34e]{line-height:64px;font-size:64px;font-weight:600}.title[data-v-52dbf34e]{padding-top:12px;letter-spacing:2px;line-height:20px;font-size:20px;font-weight:700}.divider[data-v-52dbf34e]{margin:24px auto 18px;width:64px;height:1px;background-color:var(--vp-c-divider)}.quote[data-v-52dbf34e]{margin:0 auto;max-width:256px;font-size:14px;font-weight:500;color:var(--vp-c-text-2)}.action[data-v-52dbf34e]{padding-top:20px}.link[data-v-52dbf34e]{display:inline-block;border:1px solid var(--vp-c-brand-1);border-radius:16px;padding:3px 16px;font-size:14px;font-weight:500;color:var(--vp-c-brand-1);transition:border-color .25s,color .25s}.link[data-v-52dbf34e]:hover{border-color:var(--vp-c-brand-2);color:var(--vp-c-brand-2)}.root[data-v-caa5aba2]{position:relative;z-index:1}.nested[data-v-caa5aba2]{padding-left:16px}.outline-link[data-v-caa5aba2]{display:block;line-height:28px;color:var(--vp-c-text-2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transition:color .5s;font-weight:400}.outline-link[data-v-caa5aba2]:hover,.outline-link.active[data-v-caa5aba2]{color:var(--vp-c-text-1);transition:color .25s}.outline-link.nested[data-v-caa5aba2]{padding-left:13px}.VPDocAsideOutline[data-v-8ae87eb9]{display:none}.VPDocAsideOutline.has-outline[data-v-8ae87eb9]{display:block}.content[data-v-8ae87eb9]{position:relative;border-left:1px solid var(--vp-c-divider);padding-left:16px;font-size:13px;font-weight:500}.outline-marker[data-v-8ae87eb9]{position:absolute;top:32px;left:-1px;z-index:0;opacity:0;width:2px;border-radius:2px;height:18px;background-color:var(--vp-c-brand-1);transition:top .25s cubic-bezier(0,1,.5,1),background-color .5s,opacity .25s}.outline-title[data-v-8ae87eb9]{letter-spacing:.4px;line-height:28px;font-size:13px;font-weight:600}.VPDocAside[data-v-07ecfaff]{display:flex;flex-direction:column;flex-grow:1}.spacer[data-v-07ecfaff]{flex-grow:1}.VPDocAside[data-v-07ecfaff] .spacer+.VPDocAsideSponsors,.VPDocAside[data-v-07ecfaff] .spacer+.VPDocAsideCarbonAds{margin-top:24px}.VPDocAside[data-v-07ecfaff] .VPDocAsideSponsors+.VPDocAsideCarbonAds{margin-top:16px}.VPLastUpdated[data-v-b89e4218]{line-height:24px;font-size:14px;font-weight:500;color:var(--vp-c-text-2)}@media (min-width: 640px){.VPLastUpdated[data-v-b89e4218]{line-height:32px;font-size:14px;font-weight:500}}.VPDocFooter[data-v-8361a5a0]{margin-top:64px}.edit-info[data-v-8361a5a0]{padding-bottom:18px}@media (min-width: 640px){.edit-info[data-v-8361a5a0]{display:flex;justify-content:space-between;align-items:center;padding-bottom:14px}}.edit-link-button[data-v-8361a5a0]{display:flex;align-items:center;border:0;line-height:32px;font-size:14px;font-weight:500;color:var(--vp-c-brand-1);transition:color .25s}.edit-link-button[data-v-8361a5a0]:hover{color:var(--vp-c-brand-2)}.edit-link-icon[data-v-8361a5a0]{margin-right:8px;width:14px;height:14px;fill:currentColor}.prev-next[data-v-8361a5a0]{border-top:1px solid var(--vp-c-divider);padding-top:24px;display:grid;grid-row-gap:8px}@media (min-width: 640px){.prev-next[data-v-8361a5a0]{grid-template-columns:repeat(2,1fr);grid-column-gap:16px}}.pager-link[data-v-8361a5a0]{display:block;border:1px solid var(--vp-c-divider);border-radius:8px;padding:11px 16px 13px;width:100%;height:100%;transition:border-color .25s}.pager-link[data-v-8361a5a0]:hover{border-color:var(--vp-c-brand-1)}.pager-link.next[data-v-8361a5a0]{margin-left:auto;text-align:right}.desc[data-v-8361a5a0]{display:block;line-height:20px;font-size:12px;font-weight:500;color:var(--vp-c-text-2)}.title[data-v-8361a5a0]{display:block;line-height:20px;font-size:14px;font-weight:500;color:var(--vp-c-brand-1);transition:color .25s}.VPDocOutlineDropdown[data-v-ded83a70]{margin-bottom:48px}.VPDocOutlineDropdown button[data-v-ded83a70]{display:block;font-size:14px;font-weight:500;line-height:24px;border:1px solid var(--vp-c-border);padding:4px 12px;color:var(--vp-c-text-2);background-color:var(--vp-c-default-soft);border-radius:8px;transition:color .5s}.VPDocOutlineDropdown button[data-v-ded83a70]:hover{color:var(--vp-c-text-1);transition:color .25s}.VPDocOutlineDropdown button.open[data-v-ded83a70]{color:var(--vp-c-text-1)}.icon[data-v-ded83a70]{display:inline-block;vertical-align:middle;width:16px;height:16px;fill:currentColor}[data-v-ded83a70] .outline-link{font-size:14px;font-weight:400}.open>.icon[data-v-ded83a70]{transform:rotate(90deg)}.items[data-v-ded83a70]{margin-top:12px;border-left:1px solid var(--vp-c-divider)}.VPDoc[data-v-59dee556]{padding:32px 24px 96px;width:100%}.VPDoc .VPDocOutlineDropdown[data-v-59dee556]{display:none}@media (min-width: 960px) and (max-width: 1279px){.VPDoc .VPDocOutlineDropdown[data-v-59dee556]{display:block}}@media (min-width: 768px){.VPDoc[data-v-59dee556]{padding:48px 32px 128px}}@media (min-width: 960px){.VPDoc[data-v-59dee556]{padding:32px 32px 0}.VPDoc:not(.has-sidebar) .container[data-v-59dee556]{display:flex;justify-content:center;max-width:992px}.VPDoc:not(.has-sidebar) .content[data-v-59dee556]{max-width:752px}}@media (min-width: 1280px){.VPDoc .container[data-v-59dee556]{display:flex;justify-content:center}.VPDoc .aside[data-v-59dee556]{display:block}}@media (min-width: 1440px){.VPDoc:not(.has-sidebar) .content[data-v-59dee556]{max-width:784px}.VPDoc:not(.has-sidebar) .container[data-v-59dee556]{max-width:1104px}}.container[data-v-59dee556]{margin:0 auto;width:100%}.aside[data-v-59dee556]{position:relative;display:none;order:2;flex-grow:1;padding-left:32px;width:100%;max-width:256px}.left-aside[data-v-59dee556]{order:1;padding-left:unset;padding-right:32px}.aside-container[data-v-59dee556]{position:fixed;top:0;padding-top:calc(var(--vp-nav-height) + var(--vp-layout-top-height, 0px) + var(--vp-doc-top-height, 0px) + 32px);width:224px;height:100vh;overflow-x:hidden;overflow-y:auto;scrollbar-width:none}.aside-container[data-v-59dee556]::-webkit-scrollbar{display:none}.aside-curtain[data-v-59dee556]{position:fixed;bottom:0;z-index:10;width:224px;height:32px;background:linear-gradient(transparent,var(--vp-c-bg) 70%)}.aside-content[data-v-59dee556]{display:flex;flex-direction:column;min-height:calc(100vh - (var(--vp-nav-height) + var(--vp-layout-top-height, 0px) + 32px));padding-bottom:32px}.content[data-v-59dee556]{position:relative;margin:0 auto;width:100%}@media (min-width: 960px){.content[data-v-59dee556]{padding:0 32px 128px}}@media (min-width: 1280px){.content[data-v-59dee556]{order:1;margin:0;min-width:640px}}.content-container[data-v-59dee556]{margin:0 auto}.VPDoc.has-aside .content-container[data-v-59dee556]{max-width:688px}.external-link-icon-enabled :is(.vp-doc a[href*="://"][data-v-59dee556],.vp-doc a[target=_blank][data-v-59dee556]):after{content:"";color:currentColor}.VPButton[data-v-cd1bb42d]{display:inline-block;border:1px solid transparent;text-align:center;font-weight:600;white-space:nowrap;transition:color .25s,border-color .25s,background-color .25s}.VPButton[data-v-cd1bb42d]:active{transition:color .1s,border-color .1s,background-color .1s}.VPButton.medium[data-v-cd1bb42d]{border-radius:20px;padding:0 20px;line-height:38px;font-size:14px}.VPButton.big[data-v-cd1bb42d]{border-radius:24px;padding:0 24px;line-height:46px;font-size:16px}.VPButton.brand[data-v-cd1bb42d]{border-color:var(--vp-button-brand-border);color:var(--vp-button-brand-text);background-color:var(--vp-button-brand-bg)}.VPButton.brand[data-v-cd1bb42d]:hover{border-color:var(--vp-button-brand-hover-border);color:var(--vp-button-brand-hover-text);background-color:var(--vp-button-brand-hover-bg)}.VPButton.brand[data-v-cd1bb42d]:active{border-color:var(--vp-button-brand-active-border);color:var(--vp-button-brand-active-text);background-color:var(--vp-button-brand-active-bg)}.VPButton.alt[data-v-cd1bb42d]{border-color:var(--vp-button-alt-border);color:var(--vp-button-alt-text);background-color:var(--vp-button-alt-bg)}.VPButton.alt[data-v-cd1bb42d]:hover{border-color:var(--vp-button-alt-hover-border);color:var(--vp-button-alt-hover-text);background-color:var(--vp-button-alt-hover-bg)}.VPButton.alt[data-v-cd1bb42d]:active{border-color:var(--vp-button-alt-active-border);color:var(--vp-button-alt-active-text);background-color:var(--vp-button-alt-active-bg)}.VPButton.sponsor[data-v-cd1bb42d]{border-color:var(--vp-button-sponsor-border);color:var(--vp-button-sponsor-text);background-color:var(--vp-button-sponsor-bg)}.VPButton.sponsor[data-v-cd1bb42d]:hover{border-color:var(--vp-button-sponsor-hover-border);color:var(--vp-button-sponsor-hover-text);background-color:var(--vp-button-sponsor-hover-bg)}.VPButton.sponsor[data-v-cd1bb42d]:active{border-color:var(--vp-button-sponsor-active-border);color:var(--vp-button-sponsor-active-text);background-color:var(--vp-button-sponsor-active-bg)}html:not(.dark) .VPImage.dark[data-v-523bbe92]{display:none}.dark .VPImage.light[data-v-523bbe92]{display:none}.VPHero[data-v-45befcb3]{margin-top:calc((var(--vp-nav-height) + var(--vp-layout-top-height, 0px)) * -1);padding:calc(var(--vp-nav-height) + var(--vp-layout-top-height, 0px) + 48px) 24px 48px}@media (min-width: 640px){.VPHero[data-v-45befcb3]{padding:calc(var(--vp-nav-height) + var(--vp-layout-top-height, 0px) + 80px) 48px 64px}}@media (min-width: 960px){.VPHero[data-v-45befcb3]{padding:calc(var(--vp-nav-height) + var(--vp-layout-top-height, 0px) + 80px) 64px 64px}}.container[data-v-45befcb3]{display:flex;flex-direction:column;margin:0 auto;max-width:1152px}@media (min-width: 960px){.container[data-v-45befcb3]{flex-direction:row}}.main[data-v-45befcb3]{position:relative;z-index:10;order:2;flex-grow:1;flex-shrink:0}.VPHero.has-image .container[data-v-45befcb3]{text-align:center}@media (min-width: 960px){.VPHero.has-image .container[data-v-45befcb3]{text-align:left}}@media (min-width: 960px){.main[data-v-45befcb3]{order:1;width:calc((100% / 3) * 2)}.VPHero.has-image .main[data-v-45befcb3]{max-width:592px}}.name[data-v-45befcb3],.text[data-v-45befcb3]{max-width:392px;letter-spacing:-.4px;line-height:40px;font-size:32px;font-weight:700;white-space:pre-wrap}.VPHero.has-image .name[data-v-45befcb3],.VPHero.has-image .text[data-v-45befcb3]{margin:0 auto}.name[data-v-45befcb3]{color:var(--vp-home-hero-name-color)}.clip[data-v-45befcb3]{background:var(--vp-home-hero-name-background);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:var(--vp-home-hero-name-color)}@media (min-width: 640px){.name[data-v-45befcb3],.text[data-v-45befcb3]{max-width:576px;line-height:56px;font-size:48px}}@media (min-width: 960px){.name[data-v-45befcb3],.text[data-v-45befcb3]{line-height:64px;font-size:56px}.VPHero.has-image .name[data-v-45befcb3],.VPHero.has-image .text[data-v-45befcb3]{margin:0}}.tagline[data-v-45befcb3]{padding-top:8px;max-width:392px;line-height:28px;font-size:18px;font-weight:500;white-space:pre-wrap;color:var(--vp-c-text-2)}.VPHero.has-image .tagline[data-v-45befcb3]{margin:0 auto}@media (min-width: 640px){.tagline[data-v-45befcb3]{padding-top:12px;max-width:576px;line-height:32px;font-size:20px}}@media (min-width: 960px){.tagline[data-v-45befcb3]{line-height:36px;font-size:24px}.VPHero.has-image .tagline[data-v-45befcb3]{margin:0}}.actions[data-v-45befcb3]{display:flex;flex-wrap:wrap;margin:-6px;padding-top:24px}.VPHero.has-image .actions[data-v-45befcb3]{justify-content:center}@media (min-width: 640px){.actions[data-v-45befcb3]{padding-top:32px}}@media (min-width: 960px){.VPHero.has-image .actions[data-v-45befcb3]{justify-content:flex-start}}.action[data-v-45befcb3]{flex-shrink:0;padding:6px}.image[data-v-45befcb3]{order:1;margin:-76px -24px -48px}@media (min-width: 640px){.image[data-v-45befcb3]{margin:-108px -24px -48px}}@media (min-width: 960px){.image[data-v-45befcb3]{flex-grow:1;order:2;margin:0;min-height:100%}}.image-container[data-v-45befcb3]{position:relative;margin:0 auto;width:320px;height:320px}@media (min-width: 640px){.image-container[data-v-45befcb3]{width:392px;height:392px}}@media (min-width: 960px){.image-container[data-v-45befcb3]{display:flex;justify-content:center;align-items:center;width:100%;height:100%;transform:translate(-32px,-32px)}}.image-bg[data-v-45befcb3]{position:absolute;top:50%;left:50%;border-radius:50%;width:192px;height:192px;background-image:var(--vp-home-hero-image-background-image);filter:var(--vp-home-hero-image-filter);transform:translate(-50%,-50%)}@media (min-width: 640px){.image-bg[data-v-45befcb3]{width:256px;height:256px}}@media (min-width: 960px){.image-bg[data-v-45befcb3]{width:320px;height:320px}}[data-v-45befcb3] .image-src{position:absolute;top:50%;left:50%;max-width:192px;max-height:192px;transform:translate(-50%,-50%)}@media (min-width: 640px){[data-v-45befcb3] .image-src{max-width:256px;max-height:256px}}@media (min-width: 960px){[data-v-45befcb3] .image-src{max-width:320px;max-height:320px}}.VPFeature[data-v-b73395a1]{display:block;border:1px solid var(--vp-c-bg-soft);border-radius:12px;height:100%;background-color:var(--vp-c-bg-soft);transition:border-color .25s,background-color .25s}.VPFeature.link[data-v-b73395a1]:hover{border-color:var(--vp-c-brand-1)}.box[data-v-b73395a1]{display:flex;flex-direction:column;padding:24px;height:100%}.box[data-v-b73395a1]>.VPImage{margin-bottom:20px}.icon[data-v-b73395a1]{display:flex;justify-content:center;align-items:center;margin-bottom:20px;border-radius:6px;background-color:var(--vp-c-default-soft);width:48px;height:48px;font-size:24px;transition:background-color .25s}.title[data-v-b73395a1]{line-height:24px;font-size:16px;font-weight:600}.details[data-v-b73395a1]{flex-grow:1;padding-top:8px;line-height:24px;font-size:14px;font-weight:500;color:var(--vp-c-text-2)}.link-text[data-v-b73395a1]{padding-top:8px}.link-text-value[data-v-b73395a1]{display:flex;align-items:center;font-size:14px;font-weight:500;color:var(--vp-c-brand-1)}.link-text-icon[data-v-b73395a1]{display:inline-block;margin-left:6px;width:14px;height:14px;fill:currentColor}.VPFeatures[data-v-9a45dc9d]{position:relative;padding:0 24px}@media (min-width: 640px){.VPFeatures[data-v-9a45dc9d]{padding:0 48px}}@media (min-width: 960px){.VPFeatures[data-v-9a45dc9d]{padding:0 64px}}.container[data-v-9a45dc9d]{margin:0 auto;max-width:1152px}.items[data-v-9a45dc9d]{display:flex;flex-wrap:wrap;margin:-8px}.item[data-v-9a45dc9d]{padding:8px;width:100%}@media (min-width: 640px){.item.grid-2[data-v-9a45dc9d],.item.grid-4[data-v-9a45dc9d],.item.grid-6[data-v-9a45dc9d]{width:50%}}@media (min-width: 768px){.item.grid-2[data-v-9a45dc9d],.item.grid-4[data-v-9a45dc9d]{width:50%}.item.grid-3[data-v-9a45dc9d],.item.grid-6[data-v-9a45dc9d]{width:calc(100% / 3)}}@media (min-width: 960px){.item.grid-4[data-v-9a45dc9d]{width:25%}}.VPHome[data-v-c14391f9]{padding-bottom:96px}.VPHome[data-v-c14391f9] .VPHomeSponsors{margin-top:112px;margin-bottom:-128px}@media (min-width: 768px){.VPHome[data-v-c14391f9]{padding-bottom:128px}}.VPContent[data-v-694dc94b]{flex-grow:1;flex-shrink:0;margin:var(--vp-layout-top-height, 0px) auto 0;width:100%}.VPContent.is-home[data-v-694dc94b]{width:100%;max-width:100%}.VPContent.has-sidebar[data-v-694dc94b]{margin:0}@media (min-width: 960px){.VPContent[data-v-694dc94b]{padding-top:var(--vp-nav-height)}.VPContent.has-sidebar[data-v-694dc94b]{margin:var(--vp-layout-top-height, 0px) 0 0;padding-left:var(--vp-sidebar-width)}}@media (min-width: 1440px){.VPContent.has-sidebar[data-v-694dc94b]{padding-right:calc((100vw - var(--vp-layout-max-width)) / 2);padding-left:calc((100vw - var(--vp-layout-max-width)) / 2 + var(--vp-sidebar-width))}}.VPFooter[data-v-cc1fd011]{position:relative;z-index:var(--vp-z-index-footer);border-top:1px solid var(--vp-c-gutter);padding:32px 24px;background-color:var(--vp-c-bg)}.VPFooter.has-sidebar[data-v-cc1fd011]{display:none}.VPFooter[data-v-cc1fd011] a{text-decoration-line:underline;text-underline-offset:2px;transition:color .25s}.VPFooter[data-v-cc1fd011] a:hover{color:var(--vp-c-text-1)}@media (min-width: 768px){.VPFooter[data-v-cc1fd011]{padding:32px}}.container[data-v-cc1fd011]{margin:0 auto;max-width:var(--vp-layout-max-width);text-align:center}.message[data-v-cc1fd011],.copyright[data-v-cc1fd011]{line-height:24px;font-size:14px;font-weight:500;color:var(--vp-c-text-2)}.VPLocalNavOutlineDropdown[data-v-8a6f1849]{padding:12px 20px 11px}.VPLocalNavOutlineDropdown button[data-v-8a6f1849]{display:block;font-size:12px;font-weight:500;line-height:24px;color:var(--vp-c-text-2);transition:color .5s;position:relative}.VPLocalNavOutlineDropdown button[data-v-8a6f1849]:hover{color:var(--vp-c-text-1);transition:color .25s}.VPLocalNavOutlineDropdown button.open[data-v-8a6f1849]{color:var(--vp-c-text-1)}.icon[data-v-8a6f1849]{display:inline-block;vertical-align:middle;margin-left:2px;width:14px;height:14px;fill:currentColor}[data-v-8a6f1849] .outline-link{font-size:14px;padding:2px 0}.open>.icon[data-v-8a6f1849]{transform:rotate(90deg)}.items[data-v-8a6f1849]{position:absolute;top:64px;right:16px;left:16px;display:grid;gap:1px;border:1px solid var(--vp-c-border);border-radius:8px;background-color:var(--vp-c-gutter);max-height:calc(var(--vp-vh, 100vh) - 86px);overflow:hidden auto;box-shadow:var(--vp-shadow-3)}.header[data-v-8a6f1849]{background-color:var(--vp-c-bg-soft)}.top-link[data-v-8a6f1849]{display:block;padding:0 16px;line-height:48px;font-size:14px;font-weight:500;color:var(--vp-c-brand-1)}.outline[data-v-8a6f1849]{padding:8px 0;background-color:var(--vp-c-bg-soft)}.flyout-enter-active[data-v-8a6f1849]{transition:all .2s ease-out}.flyout-leave-active[data-v-8a6f1849]{transition:all .15s ease-in}.flyout-enter-from[data-v-8a6f1849],.flyout-leave-to[data-v-8a6f1849]{opacity:0;transform:translateY(-16px)}.VPLocalNav[data-v-c043f0ce]{position:sticky;top:0;left:0;z-index:var(--vp-z-index-local-nav);display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--vp-c-gutter);border-bottom:1px solid var(--vp-c-gutter);padding-top:var(--vp-layout-top-height, 0px);width:100%;background-color:var(--vp-local-nav-bg-color)}.VPLocalNav.fixed[data-v-c043f0ce]{position:fixed}.VPLocalNav.reached-top[data-v-c043f0ce]{border-top-color:transparent}@media (min-width: 960px){.VPLocalNav[data-v-c043f0ce]{display:none}}.menu[data-v-c043f0ce]{display:flex;align-items:center;padding:12px 24px 11px;line-height:24px;font-size:12px;font-weight:500;color:var(--vp-c-text-2);transition:color .5s}.menu[data-v-c043f0ce]:hover{color:var(--vp-c-text-1);transition:color .25s}@media (min-width: 768px){.menu[data-v-c043f0ce]{padding:0 32px}}.menu-icon[data-v-c043f0ce]{margin-right:8px;width:16px;height:16px;fill:currentColor}.VPOutlineDropdown[data-v-c043f0ce]{padding:12px 24px 11px}@media (min-width: 768px){.VPOutlineDropdown[data-v-c043f0ce]{padding:12px 32px 11px}}.VPSwitch[data-v-562fc9b3]{position:relative;border-radius:11px;display:block;width:40px;height:22px;flex-shrink:0;border:1px solid var(--vp-input-border-color);background-color:var(--vp-input-switch-bg-color);transition:border-color .25s!important}.VPSwitch[data-v-562fc9b3]:hover{border-color:var(--vp-c-brand-1)}.check[data-v-562fc9b3]{position:absolute;top:1px;left:1px;width:18px;height:18px;border-radius:50%;background-color:var(--vp-c-neutral-inverse);box-shadow:var(--vp-shadow-1);transition:transform .25s!important}.icon[data-v-562fc9b3]{position:relative;display:block;width:18px;height:18px;border-radius:50%;overflow:hidden}.icon[data-v-562fc9b3] svg{position:absolute;top:3px;left:3px;width:12px;height:12px;fill:var(--vp-c-text-2)}.dark .icon[data-v-562fc9b3] svg{fill:var(--vp-c-text-1);transition:opacity .25s!important}.sun[data-v-b93d5780]{opacity:1}.moon[data-v-b93d5780],.dark .sun[data-v-b93d5780]{opacity:0}.dark .moon[data-v-b93d5780]{opacity:1}.dark .VPSwitchAppearance[data-v-b93d5780] .check{transform:translate(18px)}.VPNavBarAppearance[data-v-fb322b61]{display:none}@media (min-width: 1280px){.VPNavBarAppearance[data-v-fb322b61]{display:flex;align-items:center}}.VPMenuGroup+.VPMenuLink[data-v-90dd40ee]{margin:12px -12px 0;border-top:1px solid var(--vp-c-divider);padding:12px 12px 0}.link[data-v-90dd40ee]{display:block;border-radius:6px;padding:0 12px;line-height:32px;font-size:14px;font-weight:500;color:var(--vp-c-text-1);white-space:nowrap;transition:background-color .25s,color .25s}.link[data-v-90dd40ee]:hover{color:var(--vp-c-brand-1);background-color:var(--vp-c-default-soft)}.link.active[data-v-90dd40ee]{color:var(--vp-c-brand-1)}.VPMenuGroup[data-v-b022b83e]{margin:12px -12px 0;border-top:1px solid var(--vp-c-divider);padding:12px 12px 0}.VPMenuGroup[data-v-b022b83e]:first-child{margin-top:0;border-top:0;padding-top:0}.VPMenuGroup+.VPMenuGroup[data-v-b022b83e]{margin-top:12px;border-top:1px solid var(--vp-c-divider)}.title[data-v-b022b83e]{padding:0 12px;line-height:32px;font-size:14px;font-weight:600;color:var(--vp-c-text-2);white-space:nowrap;transition:color .25s}.VPMenu[data-v-64d4d5c3]{border-radius:12px;padding:12px;min-width:128px;border:1px solid var(--vp-c-divider);background-color:var(--vp-c-bg-elv);box-shadow:var(--vp-shadow-3);transition:background-color .5s;max-height:calc(100vh - var(--vp-nav-height));overflow-y:auto}.VPMenu[data-v-64d4d5c3] .group{margin:0 -12px;padding:0 12px 12px}.VPMenu[data-v-64d4d5c3] .group+.group{border-top:1px solid var(--vp-c-divider);padding:11px 12px 12px}.VPMenu[data-v-64d4d5c3] .group:last-child{padding-bottom:0}.VPMenu[data-v-64d4d5c3] .group+.item{border-top:1px solid var(--vp-c-divider);padding:11px 16px 0}.VPMenu[data-v-64d4d5c3] .item{padding:0 16px;white-space:nowrap}.VPMenu[data-v-64d4d5c3] .label{flex-grow:1;line-height:28px;font-size:12px;font-weight:500;color:var(--vp-c-text-2);transition:color .5s}.VPMenu[data-v-64d4d5c3] .action{padding-left:24px}.VPFlyout[data-v-52e1c622]{position:relative}.VPFlyout[data-v-52e1c622]:hover{color:var(--vp-c-brand-1);transition:color .25s}.VPFlyout:hover .text[data-v-52e1c622]{color:var(--vp-c-text-2)}.VPFlyout:hover .icon[data-v-52e1c622]{fill:var(--vp-c-text-2)}.VPFlyout.active .text[data-v-52e1c622]{color:var(--vp-c-brand-1)}.VPFlyout.active:hover .text[data-v-52e1c622]{color:var(--vp-c-brand-2)}.VPFlyout:hover .menu[data-v-52e1c622],.button[aria-expanded=true]+.menu[data-v-52e1c622]{opacity:1;visibility:visible;transform:translateY(0)}.button[aria-expanded=false]+.menu[data-v-52e1c622]{opacity:0;visibility:hidden;transform:translateY(0)}.button[data-v-52e1c622]{display:flex;align-items:center;padding:0 12px;height:var(--vp-nav-height);color:var(--vp-c-text-1);transition:color .5s}.text[data-v-52e1c622]{display:flex;align-items:center;line-height:var(--vp-nav-height);font-size:14px;font-weight:500;color:var(--vp-c-text-1);transition:color .25s}.option-icon[data-v-52e1c622]{margin-right:0;width:16px;height:16px;fill:currentColor}.text-icon[data-v-52e1c622]{margin-left:4px;width:14px;height:14px;fill:currentColor}.icon[data-v-52e1c622]{width:20px;height:20px;fill:currentColor;transition:fill .25s}.menu[data-v-52e1c622]{position:absolute;top:calc(var(--vp-nav-height) / 2 + 20px);right:0;opacity:0;visibility:hidden;transition:opacity .25s,visibility .25s,transform .25s}.VPSocialLink[data-v-b25dcc7a]{display:flex;justify-content:center;align-items:center;width:36px;height:36px;color:var(--vp-c-text-2);transition:color .5s}.VPSocialLink[data-v-b25dcc7a]:hover{color:var(--vp-c-text-1);transition:color .25s}.VPSocialLink[data-v-b25dcc7a]>svg{width:20px;height:20px;fill:currentColor}.VPSocialLinks[data-v-41336c56]{display:flex;justify-content:center}.VPNavBarExtra[data-v-72fe95f4]{display:none;margin-right:-12px}@media (min-width: 768px){.VPNavBarExtra[data-v-72fe95f4]{display:block}}@media (min-width: 1280px){.VPNavBarExtra[data-v-72fe95f4]{display:none}}.trans-title[data-v-72fe95f4]{padding:0 24px 0 12px;line-height:32px;font-size:14px;font-weight:700;color:var(--vp-c-text-1)}.item.appearance[data-v-72fe95f4],.item.social-links[data-v-72fe95f4]{display:flex;align-items:center;padding:0 12px}.item.appearance[data-v-72fe95f4]{min-width:176px}.appearance-action[data-v-72fe95f4]{margin-right:-2px}.social-links-list[data-v-72fe95f4]{margin:-4px -8px}.VPNavBarHamburger[data-v-dbe1cae7]{display:flex;justify-content:center;align-items:center;width:48px;height:var(--vp-nav-height)}@media (min-width: 768px){.VPNavBarHamburger[data-v-dbe1cae7]{display:none}}.container[data-v-dbe1cae7]{position:relative;width:16px;height:14px;overflow:hidden}.VPNavBarHamburger:hover .top[data-v-dbe1cae7]{top:0;left:0;transform:translate(4px)}.VPNavBarHamburger:hover .middle[data-v-dbe1cae7]{top:6px;left:0;transform:translate(0)}.VPNavBarHamburger:hover .bottom[data-v-dbe1cae7]{top:12px;left:0;transform:translate(8px)}.VPNavBarHamburger.active .top[data-v-dbe1cae7]{top:6px;transform:translate(0) rotate(225deg)}.VPNavBarHamburger.active .middle[data-v-dbe1cae7]{top:6px;transform:translate(16px)}.VPNavBarHamburger.active .bottom[data-v-dbe1cae7]{top:6px;transform:translate(0) rotate(135deg)}.VPNavBarHamburger.active:hover .top[data-v-dbe1cae7],.VPNavBarHamburger.active:hover .middle[data-v-dbe1cae7],.VPNavBarHamburger.active:hover .bottom[data-v-dbe1cae7]{background-color:var(--vp-c-text-2);transition:top .25s,background-color .25s,transform .25s}.top[data-v-dbe1cae7],.middle[data-v-dbe1cae7],.bottom[data-v-dbe1cae7]{position:absolute;width:16px;height:2px;background-color:var(--vp-c-text-1);transition:top .25s,background-color .5s,transform .25s}.top[data-v-dbe1cae7]{top:0;left:0;transform:translate(0)}.middle[data-v-dbe1cae7]{top:6px;left:0;transform:translate(8px)}.bottom[data-v-dbe1cae7]{top:12px;left:0;transform:translate(4px)}.VPNavBarMenuLink[data-v-ae07f9ab]{display:flex;align-items:center;padding:0 12px;line-height:var(--vp-nav-height);font-size:14px;font-weight:500;color:var(--vp-c-text-1);transition:color .25s}.VPNavBarMenuLink.active[data-v-ae07f9ab],.VPNavBarMenuLink[data-v-ae07f9ab]:hover{color:var(--vp-c-brand-1)}.VPNavBarMenu[data-v-7c2b362f]{display:none}@media (min-width: 768px){.VPNavBarMenu[data-v-7c2b362f]{display:flex}}/*! @docsearch/css 3.6.1 | MIT License | © Algolia, Inc. and contributors | https://docsearch.algolia.com */:root{--docsearch-primary-color:#5468ff;--docsearch-text-color:#1c1e21;--docsearch-spacing:12px;--docsearch-icon-stroke-width:1.4;--docsearch-highlight-color:var(--docsearch-primary-color);--docsearch-muted-color:#969faf;--docsearch-container-background:rgba(101,108,133,.8);--docsearch-logo-color:#5468ff;--docsearch-modal-width:560px;--docsearch-modal-height:600px;--docsearch-modal-background:#f5f6f7;--docsearch-modal-shadow:inset 1px 1px 0 0 hsla(0,0%,100%,.5),0 3px 8px 0 #555a64;--docsearch-searchbox-height:56px;--docsearch-searchbox-background:#ebedf0;--docsearch-searchbox-focus-background:#fff;--docsearch-searchbox-shadow:inset 0 0 0 2px var(--docsearch-primary-color);--docsearch-hit-height:56px;--docsearch-hit-color:#444950;--docsearch-hit-active-color:#fff;--docsearch-hit-background:#fff;--docsearch-hit-shadow:0 1px 3px 0 #d4d9e1;--docsearch-key-gradient:linear-gradient(-225deg,#d5dbe4,#f8f8f8);--docsearch-key-shadow:inset 0 -2px 0 0 #cdcde6,inset 0 0 1px 1px #fff,0 1px 2px 1px rgba(30,35,90,.4);--docsearch-key-pressed-shadow:inset 0 -2px 0 0 #cdcde6,inset 0 0 1px 1px #fff,0 1px 1px 0 rgba(30,35,90,.4);--docsearch-footer-height:44px;--docsearch-footer-background:#fff;--docsearch-footer-shadow:0 -1px 0 0 #e0e3e8,0 -3px 6px 0 rgba(69,98,155,.12)}html[data-theme=dark]{--docsearch-text-color:#f5f6f7;--docsearch-container-background:rgba(9,10,17,.8);--docsearch-modal-background:#15172a;--docsearch-modal-shadow:inset 1px 1px 0 0 #2c2e40,0 3px 8px 0 #000309;--docsearch-searchbox-background:#090a11;--docsearch-searchbox-focus-background:#000;--docsearch-hit-color:#bec3c9;--docsearch-hit-shadow:none;--docsearch-hit-background:#090a11;--docsearch-key-gradient:linear-gradient(-26.5deg,#565872,#31355b);--docsearch-key-shadow:inset 0 -2px 0 0 #282d55,inset 0 0 1px 1px #51577d,0 2px 2px 0 rgba(3,4,9,.3);--docsearch-key-pressed-shadow:inset 0 -2px 0 0 #282d55,inset 0 0 1px 1px #51577d,0 1px 1px 0 rgba(3,4,9,.30196078431372547);--docsearch-footer-background:#1e2136;--docsearch-footer-shadow:inset 0 1px 0 0 rgba(73,76,106,.5),0 -4px 8px 0 rgba(0,0,0,.2);--docsearch-logo-color:#fff;--docsearch-muted-color:#7f8497}.DocSearch-Button{align-items:center;background:var(--docsearch-searchbox-background);border:0;border-radius:40px;color:var(--docsearch-muted-color);cursor:pointer;display:flex;font-weight:500;height:36px;justify-content:space-between;margin:0 0 0 16px;padding:0 8px;-webkit-user-select:none;user-select:none}.DocSearch-Button:active,.DocSearch-Button:focus,.DocSearch-Button:hover{background:var(--docsearch-searchbox-focus-background);box-shadow:var(--docsearch-searchbox-shadow);color:var(--docsearch-text-color);outline:none}.DocSearch-Button-Container{align-items:center;display:flex}.DocSearch-Search-Icon{stroke-width:1.6}.DocSearch-Button .DocSearch-Search-Icon{color:var(--docsearch-text-color)}.DocSearch-Button-Placeholder{font-size:1rem;padding:0 12px 0 6px}.DocSearch-Button-Keys{display:flex;min-width:calc(40px + .8em)}.DocSearch-Button-Key{align-items:center;background:var(--docsearch-key-gradient);border-radius:3px;box-shadow:var(--docsearch-key-shadow);color:var(--docsearch-muted-color);display:flex;height:18px;justify-content:center;margin-right:.4em;position:relative;padding:0 0 2px;border:0;top:-1px;width:20px}.DocSearch-Button-Key--pressed{transform:translate3d(0,1px,0);box-shadow:var(--docsearch-key-pressed-shadow)}@media (max-width:768px){.DocSearch-Button-Keys,.DocSearch-Button-Placeholder{display:none}}.DocSearch--active{overflow:hidden!important}.DocSearch-Container,.DocSearch-Container *{box-sizing:border-box}.DocSearch-Container{background-color:var(--docsearch-container-background);height:100vh;left:0;position:fixed;top:0;width:100vw;z-index:200}.DocSearch-Container a{text-decoration:none}.DocSearch-Link{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;color:var(--docsearch-highlight-color);cursor:pointer;font:inherit;margin:0;padding:0}.DocSearch-Modal{background:var(--docsearch-modal-background);border-radius:6px;box-shadow:var(--docsearch-modal-shadow);flex-direction:column;margin:60px auto auto;max-width:var(--docsearch-modal-width);position:relative}.DocSearch-SearchBar{display:flex;padding:var(--docsearch-spacing) var(--docsearch-spacing) 0}.DocSearch-Form{align-items:center;background:var(--docsearch-searchbox-focus-background);border-radius:4px;box-shadow:var(--docsearch-searchbox-shadow);display:flex;height:var(--docsearch-searchbox-height);margin:0;padding:0 var(--docsearch-spacing);position:relative;width:100%}.DocSearch-Input{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;border:0;color:var(--docsearch-text-color);flex:1;font:inherit;font-size:1.2em;height:100%;outline:none;padding:0 0 0 8px;width:80%}.DocSearch-Input::placeholder{color:var(--docsearch-muted-color);opacity:1}.DocSearch-Input::-webkit-search-cancel-button,.DocSearch-Input::-webkit-search-decoration,.DocSearch-Input::-webkit-search-results-button,.DocSearch-Input::-webkit-search-results-decoration{display:none}.DocSearch-LoadingIndicator,.DocSearch-MagnifierLabel,.DocSearch-Reset{margin:0;padding:0}.DocSearch-MagnifierLabel,.DocSearch-Reset{align-items:center;color:var(--docsearch-highlight-color);display:flex;justify-content:center}.DocSearch-Container--Stalled .DocSearch-MagnifierLabel,.DocSearch-LoadingIndicator{display:none}.DocSearch-Container--Stalled .DocSearch-LoadingIndicator{align-items:center;color:var(--docsearch-highlight-color);display:flex;justify-content:center}@media screen and (prefers-reduced-motion:reduce){.DocSearch-Reset{animation:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;border-radius:50%;color:var(--docsearch-icon-color);cursor:pointer;right:0;stroke-width:var(--docsearch-icon-stroke-width)}}.DocSearch-Reset{animation:fade-in .1s ease-in forwards;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;border-radius:50%;color:var(--docsearch-icon-color);cursor:pointer;padding:2px;right:0;stroke-width:var(--docsearch-icon-stroke-width)}.DocSearch-Reset[hidden]{display:none}.DocSearch-Reset:hover{color:var(--docsearch-highlight-color)}.DocSearch-LoadingIndicator svg,.DocSearch-MagnifierLabel svg{height:24px;width:24px}.DocSearch-Cancel{display:none}.DocSearch-Dropdown{max-height:calc(var(--docsearch-modal-height) - var(--docsearch-searchbox-height) - var(--docsearch-spacing) - var(--docsearch-footer-height));min-height:var(--docsearch-spacing);overflow-y:auto;overflow-y:overlay;padding:0 var(--docsearch-spacing);scrollbar-color:var(--docsearch-muted-color) var(--docsearch-modal-background);scrollbar-width:thin}.DocSearch-Dropdown::-webkit-scrollbar{width:12px}.DocSearch-Dropdown::-webkit-scrollbar-track{background:transparent}.DocSearch-Dropdown::-webkit-scrollbar-thumb{background-color:var(--docsearch-muted-color);border:3px solid var(--docsearch-modal-background);border-radius:20px}.DocSearch-Dropdown ul{list-style:none;margin:0;padding:0}.DocSearch-Label{font-size:.75em;line-height:1.6em}.DocSearch-Help,.DocSearch-Label{color:var(--docsearch-muted-color)}.DocSearch-Help{font-size:.9em;margin:0;-webkit-user-select:none;user-select:none}.DocSearch-Title{font-size:1.2em}.DocSearch-Logo a{display:flex}.DocSearch-Logo svg{color:var(--docsearch-logo-color);margin-left:8px}.DocSearch-Hits:last-of-type{margin-bottom:24px}.DocSearch-Hits mark{background:none;color:var(--docsearch-highlight-color)}.DocSearch-HitsFooter{color:var(--docsearch-muted-color);display:flex;font-size:.85em;justify-content:center;margin-bottom:var(--docsearch-spacing);padding:var(--docsearch-spacing)}.DocSearch-HitsFooter a{border-bottom:1px solid;color:inherit}.DocSearch-Hit{border-radius:4px;display:flex;padding-bottom:4px;position:relative}@media screen and (prefers-reduced-motion:reduce){.DocSearch-Hit--deleting{transition:none}}.DocSearch-Hit--deleting{opacity:0;transition:all .25s linear}@media screen and (prefers-reduced-motion:reduce){.DocSearch-Hit--favoriting{transition:none}}.DocSearch-Hit--favoriting{transform:scale(0);transform-origin:top center;transition:all .25s linear;transition-delay:.25s}.DocSearch-Hit a{background:var(--docsearch-hit-background);border-radius:4px;box-shadow:var(--docsearch-hit-shadow);display:block;padding-left:var(--docsearch-spacing);width:100%}.DocSearch-Hit-source{background:var(--docsearch-modal-background);color:var(--docsearch-highlight-color);font-size:.85em;font-weight:600;line-height:32px;margin:0 -4px;padding:8px 4px 0;position:sticky;top:0;z-index:10}.DocSearch-Hit-Tree{color:var(--docsearch-muted-color);height:var(--docsearch-hit-height);opacity:.5;stroke-width:var(--docsearch-icon-stroke-width);width:24px}.DocSearch-Hit[aria-selected=true] a{background-color:var(--docsearch-highlight-color)}.DocSearch-Hit[aria-selected=true] mark{text-decoration:underline}.DocSearch-Hit-Container{align-items:center;color:var(--docsearch-hit-color);display:flex;flex-direction:row;height:var(--docsearch-hit-height);padding:0 var(--docsearch-spacing) 0 0}.DocSearch-Hit-icon{height:20px;width:20px}.DocSearch-Hit-action,.DocSearch-Hit-icon{color:var(--docsearch-muted-color);stroke-width:var(--docsearch-icon-stroke-width)}.DocSearch-Hit-action{align-items:center;display:flex;height:22px;width:22px}.DocSearch-Hit-action svg{display:block;height:18px;width:18px}.DocSearch-Hit-action+.DocSearch-Hit-action{margin-left:6px}.DocSearch-Hit-action-button{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;border-radius:50%;color:inherit;cursor:pointer;padding:2px}svg.DocSearch-Hit-Select-Icon{display:none}.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-Select-Icon{display:block}.DocSearch-Hit-action-button:focus,.DocSearch-Hit-action-button:hover{background:#0003;transition:background-color .1s ease-in}@media screen and (prefers-reduced-motion:reduce){.DocSearch-Hit-action-button:focus,.DocSearch-Hit-action-button:hover{transition:none}}.DocSearch-Hit-action-button:focus path,.DocSearch-Hit-action-button:hover path{fill:#fff}.DocSearch-Hit-content-wrapper{display:flex;flex:1 1 auto;flex-direction:column;font-weight:500;justify-content:center;line-height:1.2em;margin:0 8px;overflow-x:hidden;position:relative;text-overflow:ellipsis;white-space:nowrap;width:80%}.DocSearch-Hit-title{font-size:.9em}.DocSearch-Hit-path{color:var(--docsearch-muted-color);font-size:.75em}.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-action,.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-icon,.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-path,.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-text,.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-title,.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-Tree,.DocSearch-Hit[aria-selected=true] mark{color:var(--docsearch-hit-active-color)!important}@media screen and (prefers-reduced-motion:reduce){.DocSearch-Hit-action-button:focus,.DocSearch-Hit-action-button:hover{background:#0003;transition:none}}.DocSearch-ErrorScreen,.DocSearch-NoResults,.DocSearch-StartScreen{font-size:.9em;margin:0 auto;padding:36px 0;text-align:center;width:80%}.DocSearch-Screen-Icon{color:var(--docsearch-muted-color);padding-bottom:12px}.DocSearch-NoResults-Prefill-List{display:inline-block;padding-bottom:24px;text-align:left}.DocSearch-NoResults-Prefill-List ul{display:inline-block;padding:8px 0 0}.DocSearch-NoResults-Prefill-List li{list-style-position:inside;list-style-type:"» "}.DocSearch-Prefill{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;border-radius:1em;color:var(--docsearch-highlight-color);cursor:pointer;display:inline-block;font-size:1em;font-weight:700;padding:0}.DocSearch-Prefill:focus,.DocSearch-Prefill:hover{outline:none;text-decoration:underline}.DocSearch-Footer{align-items:center;background:var(--docsearch-footer-background);border-radius:0 0 8px 8px;box-shadow:var(--docsearch-footer-shadow);display:flex;flex-direction:row-reverse;flex-shrink:0;height:var(--docsearch-footer-height);justify-content:space-between;padding:0 var(--docsearch-spacing);position:relative;-webkit-user-select:none;user-select:none;width:100%;z-index:300}.DocSearch-Commands{color:var(--docsearch-muted-color);display:flex;list-style:none;margin:0;padding:0}.DocSearch-Commands li{align-items:center;display:flex}.DocSearch-Commands li:not(:last-of-type){margin-right:.8em}.DocSearch-Commands-Key{align-items:center;background:var(--docsearch-key-gradient);border-radius:2px;box-shadow:var(--docsearch-key-shadow);display:flex;height:18px;justify-content:center;margin-right:.4em;padding:0 0 1px;color:var(--docsearch-muted-color);border:0;width:20px}.DocSearch-VisuallyHiddenForAccessibility{clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}@media (max-width:768px){:root{--docsearch-spacing:10px;--docsearch-footer-height:40px}.DocSearch-Dropdown{height:100%}.DocSearch-Container{height:100vh;height:-webkit-fill-available;height:calc(var(--docsearch-vh, 1vh)*100);position:absolute}.DocSearch-Footer{border-radius:0;bottom:0;position:absolute}.DocSearch-Hit-content-wrapper{display:flex;position:relative;width:80%}.DocSearch-Modal{border-radius:0;box-shadow:none;height:100vh;height:-webkit-fill-available;height:calc(var(--docsearch-vh, 1vh)*100);margin:0;max-width:100%;width:100%}.DocSearch-Dropdown{max-height:calc(var(--docsearch-vh, 1vh)*100 - var(--docsearch-searchbox-height) - var(--docsearch-spacing) - var(--docsearch-footer-height))}.DocSearch-Cancel{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;color:var(--docsearch-highlight-color);cursor:pointer;display:inline-block;flex:none;font:inherit;font-size:1em;font-weight:500;margin-left:var(--docsearch-spacing);outline:none;overflow:hidden;padding:0;-webkit-user-select:none;user-select:none;white-space:nowrap}.DocSearch-Commands,.DocSearch-Hit-Tree{display:none}}@keyframes fade-in{0%{opacity:0}to{opacity:1}}[class*=DocSearch]{--docsearch-primary-color: var(--vp-c-brand-1);--docsearch-highlight-color: var(--docsearch-primary-color);--docsearch-text-color: var(--vp-c-text-1);--docsearch-muted-color: var(--vp-c-text-2);--docsearch-searchbox-shadow: none;--docsearch-searchbox-background: transparent;--docsearch-searchbox-focus-background: transparent;--docsearch-key-gradient: transparent;--docsearch-key-shadow: none;--docsearch-modal-background: var(--vp-c-bg-soft);--docsearch-footer-background: var(--vp-c-bg)}.dark [class*=DocSearch]{--docsearch-modal-shadow: none;--docsearch-footer-shadow: none;--docsearch-logo-color: var(--vp-c-text-2);--docsearch-hit-background: var(--vp-c-default-soft);--docsearch-hit-color: var(--vp-c-text-2);--docsearch-hit-shadow: none}.DocSearch-Button{display:flex;justify-content:center;align-items:center;margin:0;padding:0;width:48px;height:55px;background:transparent;transition:border-color .25s}.DocSearch-Button:hover{background:transparent}.DocSearch-Button:focus{outline:1px dotted;outline:5px auto -webkit-focus-ring-color}.DocSearch-Button:focus:not(:focus-visible){outline:none!important}@media (min-width: 768px){.DocSearch-Button{justify-content:flex-start;border:1px solid transparent;border-radius:8px;padding:0 10px 0 12px;width:100%;height:40px;background-color:var(--vp-c-bg-alt)}.DocSearch-Button:hover{border-color:var(--vp-c-brand-1);background:var(--vp-c-bg-alt)}}.DocSearch-Button .DocSearch-Button-Container{display:flex;align-items:center}.DocSearch-Button .DocSearch-Search-Icon{position:relative;width:16px;height:16px;color:var(--vp-c-text-1);fill:currentColor;transition:color .5s}.DocSearch-Button:hover .DocSearch-Search-Icon{color:var(--vp-c-text-1)}@media (min-width: 768px){.DocSearch-Button .DocSearch-Search-Icon{top:1px;margin-right:8px;width:14px;height:14px;color:var(--vp-c-text-2)}}.DocSearch-Button .DocSearch-Button-Placeholder{display:none;margin-top:2px;padding:0 16px 0 0;font-size:13px;font-weight:500;color:var(--vp-c-text-2);transition:color .5s}.DocSearch-Button:hover .DocSearch-Button-Placeholder{color:var(--vp-c-text-1)}@media (min-width: 768px){.DocSearch-Button .DocSearch-Button-Placeholder{display:inline-block}}.DocSearch-Button .DocSearch-Button-Keys{direction:ltr;display:none;min-width:auto}@media (min-width: 768px){.DocSearch-Button .DocSearch-Button-Keys{display:flex;align-items:center}}.DocSearch-Button .DocSearch-Button-Key{display:block;margin:2px 0 0;border:1px solid var(--vp-c-divider);border-right:none;border-radius:4px 0 0 4px;padding-left:6px;min-width:0;width:auto;height:22px;line-height:22px;font-family:var(--vp-font-family-base);font-size:12px;font-weight:500;transition:color .5s,border-color .5s}.DocSearch-Button .DocSearch-Button-Key+.DocSearch-Button-Key{border-right:1px solid var(--vp-c-divider);border-left:none;border-radius:0 4px 4px 0;padding-left:2px;padding-right:6px}.DocSearch-Button .DocSearch-Button-Key:first-child{font-size:0!important}.DocSearch-Button .DocSearch-Button-Key:first-child:after{content:"Ctrl";font-size:12px;letter-spacing:normal;color:var(--docsearch-muted-color)}.mac .DocSearch-Button .DocSearch-Button-Key:first-child:after{content:"⌘"}.DocSearch-Button .DocSearch-Button-Key:first-child>*{display:none}.VPNavBarSearch{display:flex;align-items:center}@media (min-width: 768px){.VPNavBarSearch{flex-grow:1;padding-left:24px}}@media (min-width: 960px){.VPNavBarSearch{padding-left:32px}}.dark .DocSearch-Footer{border-top:1px solid var(--vp-c-divider)}.DocSearch-Form{border:1px solid var(--vp-c-brand-1);background-color:var(--vp-c-white)}.dark .DocSearch-Form{background-color:var(--vp-c-default-soft)}.DocSearch-Screen-Icon>svg{margin:auto}.VPNavBarSocialLinks[data-v-b516bfb1]{display:none}@media (min-width: 1280px){.VPNavBarSocialLinks[data-v-b516bfb1]{display:flex;align-items:center}}.title[data-v-2d75088b]{display:flex;align-items:center;border-bottom:1px solid transparent;width:100%;height:var(--vp-nav-height);font-size:16px;font-weight:600;color:var(--vp-c-text-1);transition:opacity .25s}@media (min-width: 960px){.title[data-v-2d75088b]{flex-shrink:0}.VPNavBarTitle.has-sidebar .title[data-v-2d75088b]{border-bottom-color:var(--vp-c-divider)}}[data-v-2d75088b] .logo{margin-right:8px;height:var(--vp-nav-logo-height)}.VPNavBarTranslations[data-v-227a9881]{display:none}@media (min-width: 1280px){.VPNavBarTranslations[data-v-227a9881]{display:flex;align-items:center}}.title[data-v-227a9881]{padding:0 24px 0 12px;line-height:32px;font-size:14px;font-weight:700;color:var(--vp-c-text-1)}.VPNavBar[data-v-0b6416f2]{position:relative;border-bottom:1px solid transparent;padding:0 8px 0 24px;height:var(--vp-nav-height);pointer-events:none;white-space:nowrap}@media (min-width: 768px){.VPNavBar[data-v-0b6416f2]{padding:0 32px}}@media (min-width: 960px){.VPNavBar.has-sidebar[data-v-0b6416f2]{padding:0}.VPNavBar[data-v-0b6416f2]:not(.has-sidebar):not(.top){border-bottom-color:var(--vp-c-gutter);background-color:var(--vp-nav-bg-color)}}.container[data-v-0b6416f2]{display:flex;justify-content:space-between;margin:0 auto;max-width:calc(var(--vp-layout-max-width) - 64px);height:var(--vp-nav-height);pointer-events:none}.container>.title[data-v-0b6416f2],.container>.content[data-v-0b6416f2]{pointer-events:none}.container[data-v-0b6416f2] *{pointer-events:auto}@media (min-width: 960px){.VPNavBar.has-sidebar .container[data-v-0b6416f2]{max-width:100%}}.title[data-v-0b6416f2]{flex-shrink:0;height:calc(var(--vp-nav-height) - 1px);transition:background-color .5s}@media (min-width: 960px){.VPNavBar.has-sidebar .title[data-v-0b6416f2]{position:absolute;top:0;left:0;z-index:2;padding:0 32px;width:var(--vp-sidebar-width);height:var(--vp-nav-height);background-color:transparent}}@media (min-width: 1440px){.VPNavBar.has-sidebar .title[data-v-0b6416f2]{padding-left:max(32px,calc((100% - (var(--vp-layout-max-width) - 64px)) / 2));width:calc((100% - (var(--vp-layout-max-width) - 64px)) / 2 + var(--vp-sidebar-width) - 32px)}}.content[data-v-0b6416f2]{flex-grow:1}@media (min-width: 960px){.VPNavBar.has-sidebar .content[data-v-0b6416f2]{position:relative;z-index:1;padding-right:32px;padding-left:var(--vp-sidebar-width)}}@media (min-width: 1440px){.VPNavBar.has-sidebar .content[data-v-0b6416f2]{padding-right:calc((100vw - var(--vp-layout-max-width)) / 2 + 32px);padding-left:calc((100vw - var(--vp-layout-max-width)) / 2 + var(--vp-sidebar-width))}}.content-body[data-v-0b6416f2]{display:flex;justify-content:flex-end;align-items:center;height:calc(var(--vp-nav-height) - 1px);transition:background-color .5s}@media (min-width: 960px){.VPNavBar:not(.top) .content-body[data-v-0b6416f2]{position:relative;background-color:var(--vp-nav-bg-color)}}@media (max-width: 767px){.content-body[data-v-0b6416f2]{column-gap:.5rem}}.menu+.translations[data-v-0b6416f2]:before,.menu+.appearance[data-v-0b6416f2]:before,.menu+.social-links[data-v-0b6416f2]:before,.translations+.appearance[data-v-0b6416f2]:before,.appearance+.social-links[data-v-0b6416f2]:before{margin-right:8px;margin-left:8px;width:1px;height:24px;background-color:var(--vp-c-divider);content:""}.menu+.appearance[data-v-0b6416f2]:before,.translations+.appearance[data-v-0b6416f2]:before{margin-right:16px}.appearance+.social-links[data-v-0b6416f2]:before{margin-left:16px}.social-links[data-v-0b6416f2]{margin-right:-8px}@media (min-width: 960px){.VPNavBar.has-sidebar .curtain[data-v-0b6416f2]{position:absolute;right:0;bottom:-31px;width:calc(100% - var(--vp-sidebar-width));height:32px}.VPNavBar.has-sidebar .curtain[data-v-0b6416f2]:before{display:block;width:100%;height:32px;background:linear-gradient(var(--vp-c-bg),transparent 70%);content:""}}@media (min-width: 1440px){.VPNavBar.has-sidebar .curtain[data-v-0b6416f2]{width:calc(100% - ((100vw - var(--vp-layout-max-width)) / 2 + var(--vp-sidebar-width)))}}.VPNavScreenAppearance[data-v-9aa87f8f]{display:flex;justify-content:space-between;align-items:center;border-radius:8px;padding:12px 14px 12px 16px;background-color:var(--vp-c-bg-soft)}.text[data-v-9aa87f8f]{line-height:24px;font-size:12px;font-weight:500;color:var(--vp-c-text-2)}.VPNavScreenMenuLink[data-v-fd8b35e1]{display:block;border-bottom:1px solid var(--vp-c-divider);padding:12px 0 11px;line-height:24px;font-size:14px;font-weight:500;color:var(--vp-c-text-1);transition:border-color .25s,color .25s}.VPNavScreenMenuLink[data-v-fd8b35e1]:hover{color:var(--vp-c-brand-1)}.VPNavScreenMenuGroupLink[data-v-3081106c]{display:block;margin-left:12px;line-height:32px;font-size:14px;font-weight:400;color:var(--vp-c-text-1);transition:color .25s}.VPNavScreenMenuGroupLink[data-v-3081106c]:hover{color:var(--vp-c-brand-1)}.VPNavScreenMenuGroupSection[data-v-1d5251cc]{display:block}.title[data-v-1d5251cc]{line-height:32px;font-size:13px;font-weight:700;color:var(--vp-c-text-2);transition:color .25s}.VPNavScreenMenuGroup[data-v-15810ca9]{border-bottom:1px solid var(--vp-c-divider);height:48px;overflow:hidden;transition:border-color .5s}.VPNavScreenMenuGroup .items[data-v-15810ca9]{visibility:hidden}.VPNavScreenMenuGroup.open .items[data-v-15810ca9]{visibility:visible}.VPNavScreenMenuGroup.open[data-v-15810ca9]{padding-bottom:10px;height:auto}.VPNavScreenMenuGroup.open .button[data-v-15810ca9]{padding-bottom:6px;color:var(--vp-c-brand-1)}.VPNavScreenMenuGroup.open .button-icon[data-v-15810ca9]{transform:rotate(45deg)}.button[data-v-15810ca9]{display:flex;justify-content:space-between;align-items:center;padding:12px 4px 11px 0;width:100%;line-height:24px;font-size:14px;font-weight:500;color:var(--vp-c-text-1);transition:color .25s}.button[data-v-15810ca9]:hover{color:var(--vp-c-brand-1)}.button-icon[data-v-15810ca9]{width:14px;height:14px;fill:var(--vp-c-text-2);transition:fill .5s,transform .25s}.group[data-v-15810ca9]:first-child{padding-top:0}.group+.group[data-v-15810ca9],.group+.item[data-v-15810ca9]{padding-top:4px}.VPNavScreenTranslations[data-v-bdd211bc]{height:24px;overflow:hidden}.VPNavScreenTranslations.open[data-v-bdd211bc]{height:auto}.title[data-v-bdd211bc]{display:flex;align-items:center;font-size:14px;font-weight:500;color:var(--vp-c-text-1)}.icon[data-v-bdd211bc]{width:16px;height:16px;fill:currentColor}.icon.lang[data-v-bdd211bc]{margin-right:8px}.icon.chevron[data-v-bdd211bc]{margin-left:4px}.list[data-v-bdd211bc]{padding:4px 0 0 24px}.link[data-v-bdd211bc]{line-height:32px;font-size:13px;color:var(--vp-c-text-1)}.VPNavScreen[data-v-31370a66]{position:fixed;top:calc(var(--vp-nav-height) + var(--vp-layout-top-height, 0px) + 1px);right:0;bottom:0;left:0;padding:0 32px;width:100%;background-color:var(--vp-nav-screen-bg-color);overflow-y:auto;transition:background-color .5s;pointer-events:auto}.VPNavScreen.fade-enter-active[data-v-31370a66],.VPNavScreen.fade-leave-active[data-v-31370a66]{transition:opacity .25s}.VPNavScreen.fade-enter-active .container[data-v-31370a66],.VPNavScreen.fade-leave-active .container[data-v-31370a66]{transition:transform .25s ease}.VPNavScreen.fade-enter-from[data-v-31370a66],.VPNavScreen.fade-leave-to[data-v-31370a66]{opacity:0}.VPNavScreen.fade-enter-from .container[data-v-31370a66],.VPNavScreen.fade-leave-to .container[data-v-31370a66]{transform:translateY(-8px)}@media (min-width: 768px){.VPNavScreen[data-v-31370a66]{display:none}}.container[data-v-31370a66]{margin:0 auto;padding:24px 0 96px;max-width:288px}.menu+.translations[data-v-31370a66],.menu+.appearance[data-v-31370a66],.translations+.appearance[data-v-31370a66]{margin-top:24px}.menu+.social-links[data-v-31370a66]{margin-top:16px}.appearance+.social-links[data-v-31370a66]{margin-top:16px}.VPNav[data-v-6cd908e3]{position:relative;top:var(--vp-layout-top-height, 0px);left:0;z-index:var(--vp-z-index-nav);width:100%;pointer-events:none;transition:background-color .5s}@media (min-width: 960px){.VPNav[data-v-6cd908e3]{position:fixed}}.VPSidebarItem.level-0[data-v-0ae4f5ba]{padding-bottom:24px}.VPSidebarItem.collapsed.level-0[data-v-0ae4f5ba]{padding-bottom:10px}.item[data-v-0ae4f5ba]{position:relative;display:flex;width:100%}.VPSidebarItem.collapsible>.item[data-v-0ae4f5ba]{cursor:pointer}.indicator[data-v-0ae4f5ba]{position:absolute;top:6px;bottom:6px;left:-17px;width:2px;border-radius:2px;transition:background-color .25s}.VPSidebarItem.level-2.is-active>.item>.indicator[data-v-0ae4f5ba],.VPSidebarItem.level-3.is-active>.item>.indicator[data-v-0ae4f5ba],.VPSidebarItem.level-4.is-active>.item>.indicator[data-v-0ae4f5ba],.VPSidebarItem.level-5.is-active>.item>.indicator[data-v-0ae4f5ba]{background-color:var(--vp-c-brand-1)}.link[data-v-0ae4f5ba]{display:flex;align-items:center;flex-grow:1}.text[data-v-0ae4f5ba]{flex-grow:1;padding:4px 0;line-height:24px;font-size:14px;transition:color .25s}.VPSidebarItem.level-0 .text[data-v-0ae4f5ba]{font-weight:700;color:var(--vp-c-text-1)}.VPSidebarItem.level-1 .text[data-v-0ae4f5ba],.VPSidebarItem.level-2 .text[data-v-0ae4f5ba],.VPSidebarItem.level-3 .text[data-v-0ae4f5ba],.VPSidebarItem.level-4 .text[data-v-0ae4f5ba],.VPSidebarItem.level-5 .text[data-v-0ae4f5ba]{font-weight:500;color:var(--vp-c-text-2)}.VPSidebarItem.level-0.is-link>.item>.link:hover .text[data-v-0ae4f5ba],.VPSidebarItem.level-1.is-link>.item>.link:hover .text[data-v-0ae4f5ba],.VPSidebarItem.level-2.is-link>.item>.link:hover .text[data-v-0ae4f5ba],.VPSidebarItem.level-3.is-link>.item>.link:hover .text[data-v-0ae4f5ba],.VPSidebarItem.level-4.is-link>.item>.link:hover .text[data-v-0ae4f5ba],.VPSidebarItem.level-5.is-link>.item>.link:hover .text[data-v-0ae4f5ba]{color:var(--vp-c-brand-1)}.VPSidebarItem.level-0.has-active>.item>.text[data-v-0ae4f5ba],.VPSidebarItem.level-1.has-active>.item>.text[data-v-0ae4f5ba],.VPSidebarItem.level-2.has-active>.item>.text[data-v-0ae4f5ba],.VPSidebarItem.level-3.has-active>.item>.text[data-v-0ae4f5ba],.VPSidebarItem.level-4.has-active>.item>.text[data-v-0ae4f5ba],.VPSidebarItem.level-5.has-active>.item>.text[data-v-0ae4f5ba],.VPSidebarItem.level-0.has-active>.item>.link>.text[data-v-0ae4f5ba],.VPSidebarItem.level-1.has-active>.item>.link>.text[data-v-0ae4f5ba],.VPSidebarItem.level-2.has-active>.item>.link>.text[data-v-0ae4f5ba],.VPSidebarItem.level-3.has-active>.item>.link>.text[data-v-0ae4f5ba],.VPSidebarItem.level-4.has-active>.item>.link>.text[data-v-0ae4f5ba],.VPSidebarItem.level-5.has-active>.item>.link>.text[data-v-0ae4f5ba]{color:var(--vp-c-text-1)}.VPSidebarItem.level-0.is-active>.item .link>.text[data-v-0ae4f5ba],.VPSidebarItem.level-1.is-active>.item .link>.text[data-v-0ae4f5ba],.VPSidebarItem.level-2.is-active>.item .link>.text[data-v-0ae4f5ba],.VPSidebarItem.level-3.is-active>.item .link>.text[data-v-0ae4f5ba],.VPSidebarItem.level-4.is-active>.item .link>.text[data-v-0ae4f5ba],.VPSidebarItem.level-5.is-active>.item .link>.text[data-v-0ae4f5ba]{color:var(--vp-c-brand-1)}.caret[data-v-0ae4f5ba]{display:flex;justify-content:center;align-items:center;margin-right:-7px;width:32px;height:32px;color:var(--vp-c-text-3);cursor:pointer;transition:color .25s;flex-shrink:0}.item:hover .caret[data-v-0ae4f5ba]{color:var(--vp-c-text-2)}.item:hover .caret[data-v-0ae4f5ba]:hover{color:var(--vp-c-text-1)}.caret-icon[data-v-0ae4f5ba]{width:18px;height:18px;fill:currentColor;transform:rotate(90deg);transition:transform .25s}.VPSidebarItem.collapsed .caret-icon[data-v-0ae4f5ba]{transform:rotate(0)}.VPSidebarItem.level-1 .items[data-v-0ae4f5ba],.VPSidebarItem.level-2 .items[data-v-0ae4f5ba],.VPSidebarItem.level-3 .items[data-v-0ae4f5ba],.VPSidebarItem.level-4 .items[data-v-0ae4f5ba],.VPSidebarItem.level-5 .items[data-v-0ae4f5ba]{border-left:1px solid var(--vp-c-divider);padding-left:16px}.VPSidebarItem.collapsed .items[data-v-0ae4f5ba]{display:none}.VPSidebar[data-v-bc133c36]{position:fixed;top:var(--vp-layout-top-height, 0px);bottom:0;left:0;z-index:var(--vp-z-index-sidebar);padding:32px 32px 96px;width:calc(100vw - 64px);max-width:320px;background-color:var(--vp-sidebar-bg-color);opacity:0;box-shadow:var(--vp-c-shadow-3);overflow-x:hidden;overflow-y:auto;transform:translate(-100%);transition:opacity .5s,transform .25s ease;overscroll-behavior:contain}.VPSidebar.open[data-v-bc133c36]{opacity:1;visibility:visible;transform:translate(0);transition:opacity .25s,transform .5s cubic-bezier(.19,1,.22,1)}.dark .VPSidebar[data-v-bc133c36]{box-shadow:var(--vp-shadow-1)}@media (min-width: 960px){.VPSidebar[data-v-bc133c36]{z-index:1;padding-top:var(--vp-nav-height);width:var(--vp-sidebar-width);max-width:100%;background-color:var(--vp-sidebar-bg-color);opacity:1;visibility:visible;box-shadow:none;transform:translate(0)}}@media (min-width: 1440px){.VPSidebar[data-v-bc133c36]{padding-left:max(32px,calc((100% - (var(--vp-layout-max-width) - 64px)) / 2));width:calc((100% - (var(--vp-layout-max-width) - 64px)) / 2 + var(--vp-sidebar-width) - 32px)}}@media (min-width: 960px){.curtain[data-v-bc133c36]{position:sticky;top:-64px;left:0;z-index:1;margin-top:calc(var(--vp-nav-height) * -1);margin-right:-32px;margin-left:-32px;height:var(--vp-nav-height);background-color:var(--vp-sidebar-bg-color)}}.nav[data-v-bc133c36]{outline:0}.group+.group[data-v-bc133c36]{border-top:1px solid var(--vp-c-divider);padding-top:10px}@media (min-width: 960px){.group[data-v-bc133c36]{padding-top:10px;width:calc(var(--vp-sidebar-width) - 64px)}}.VPSkipLink[data-v-94b9217c]{top:8px;left:8px;padding:8px 16px;z-index:999;border-radius:8px;font-size:12px;font-weight:700;text-decoration:none;color:var(--vp-c-brand-1);box-shadow:var(--vp-shadow-3);background-color:var(--vp-c-bg)}.VPSkipLink[data-v-94b9217c]:focus{height:auto;width:auto;clip:auto;clip-path:none}@media (min-width: 1280px){.VPSkipLink[data-v-94b9217c]{top:14px;left:16px}}.Layout[data-v-3ebf3d00]{display:flex;flex-direction:column;min-height:100vh}.VPHomeSponsors[data-v-75f625ff]{border-top:1px solid var(--vp-c-gutter);padding:88px 24px 96px;background-color:var(--vp-c-bg)}.container[data-v-75f625ff]{margin:0 auto;max-width:1152px}.love[data-v-75f625ff]{margin:0 auto;width:28px;height:28px;color:var(--vp-c-text-3)}.icon[data-v-75f625ff]{width:28px;height:28px;fill:currentColor}.message[data-v-75f625ff]{margin:0 auto;padding-top:10px;max-width:320px;text-align:center;line-height:24px;font-size:16px;font-weight:500;color:var(--vp-c-text-2)}.sponsors[data-v-75f625ff]{padding-top:32px}.action[data-v-75f625ff]{padding-top:40px;text-align:center}.VPTeamPage[data-v-404b8867]{padding-bottom:96px}@media (min-width: 768px){.VPTeamPage[data-v-404b8867]{padding-bottom:128px}}.VPTeamPageSection+.VPTeamPageSection[data-v-404b8867-s],.VPTeamMembers+.VPTeamPageSection[data-v-404b8867-s]{margin-top:64px}.VPTeamMembers+.VPTeamMembers[data-v-404b8867-s]{margin-top:24px}@media (min-width: 768px){.VPTeamPageTitle+.VPTeamPageSection[data-v-404b8867-s]{margin-top:16px}.VPTeamPageSection+.VPTeamPageSection[data-v-404b8867-s],.VPTeamMembers+.VPTeamPageSection[data-v-404b8867-s]{margin-top:96px}}.VPTeamMembers[data-v-404b8867-s]{padding:0 24px}@media (min-width: 768px){.VPTeamMembers[data-v-404b8867-s]{padding:0 48px}}@media (min-width: 960px){.VPTeamMembers[data-v-404b8867-s]{padding:0 64px}}.VPTeamPageTitle[data-v-20f3b986]{padding:48px 32px;text-align:center}@media (min-width: 768px){.VPTeamPageTitle[data-v-20f3b986]{padding:64px 48px 48px}}@media (min-width: 960px){.VPTeamPageTitle[data-v-20f3b986]{padding:80px 64px 48px}}.title[data-v-20f3b986]{letter-spacing:0;line-height:44px;font-size:36px;font-weight:500}@media (min-width: 768px){.title[data-v-20f3b986]{letter-spacing:-.5px;line-height:56px;font-size:48px}}.lead[data-v-20f3b986]{margin:0 auto;max-width:512px;padding-top:12px;line-height:24px;font-size:16px;font-weight:500;color:var(--vp-c-text-2)}@media (min-width: 768px){.lead[data-v-20f3b986]{max-width:592px;letter-spacing:.15px;line-height:28px;font-size:20px}}.VPTeamPageSection[data-v-8a89becd]{padding:0 32px}@media (min-width: 768px){.VPTeamPageSection[data-v-8a89becd]{padding:0 48px}}@media (min-width: 960px){.VPTeamPageSection[data-v-8a89becd]{padding:0 64px}}.title[data-v-8a89becd]{position:relative;margin:0 auto;max-width:1152px;text-align:center;color:var(--vp-c-text-2)}.title-line[data-v-8a89becd]{position:absolute;top:16px;left:0;width:100%;height:1px;background-color:var(--vp-c-divider)}.title-text[data-v-8a89becd]{position:relative;display:inline-block;padding:0 24px;letter-spacing:0;line-height:32px;font-size:20px;font-weight:500;background-color:var(--vp-c-bg)}.lead[data-v-8a89becd]{margin:0 auto;max-width:480px;padding-top:12px;text-align:center;line-height:24px;font-size:16px;font-weight:500;color:var(--vp-c-text-2)}.members[data-v-8a89becd]{padding-top:40px}.VPTeamMembersItem[data-v-7c01f1b3]{display:flex;flex-direction:column;gap:2px;border-radius:12px;width:100%;height:100%;overflow:hidden}.VPTeamMembersItem.small .profile[data-v-7c01f1b3]{padding:32px}.VPTeamMembersItem.small .data[data-v-7c01f1b3]{padding-top:20px}.VPTeamMembersItem.small .avatar[data-v-7c01f1b3]{width:64px;height:64px}.VPTeamMembersItem.small .name[data-v-7c01f1b3]{line-height:24px;font-size:16px}.VPTeamMembersItem.small .affiliation[data-v-7c01f1b3]{padding-top:4px;line-height:20px;font-size:14px}.VPTeamMembersItem.small .desc[data-v-7c01f1b3]{padding-top:12px;line-height:20px;font-size:14px}.VPTeamMembersItem.small .links[data-v-7c01f1b3]{margin:0 -16px -20px;padding:10px 0 0}.VPTeamMembersItem.medium .profile[data-v-7c01f1b3]{padding:48px 32px}.VPTeamMembersItem.medium .data[data-v-7c01f1b3]{padding-top:24px;text-align:center}.VPTeamMembersItem.medium .avatar[data-v-7c01f1b3]{width:96px;height:96px}.VPTeamMembersItem.medium .name[data-v-7c01f1b3]{letter-spacing:.15px;line-height:28px;font-size:20px}.VPTeamMembersItem.medium .affiliation[data-v-7c01f1b3]{padding-top:4px;font-size:16px}.VPTeamMembersItem.medium .desc[data-v-7c01f1b3]{padding-top:16px;max-width:288px;font-size:16px}.VPTeamMembersItem.medium .links[data-v-7c01f1b3]{margin:0 -16px -12px;padding:16px 12px 0}.profile[data-v-7c01f1b3]{flex-grow:1;background-color:var(--vp-c-bg-soft)}.data[data-v-7c01f1b3]{text-align:center}.avatar[data-v-7c01f1b3]{position:relative;flex-shrink:0;margin:0 auto;border-radius:50%;box-shadow:var(--vp-shadow-3)}.avatar-img[data-v-7c01f1b3]{position:absolute;top:0;right:0;bottom:0;left:0;border-radius:50%;object-fit:cover}.name[data-v-7c01f1b3]{margin:0;font-weight:600}.affiliation[data-v-7c01f1b3]{margin:0;font-weight:500;color:var(--vp-c-text-2)}.org.link[data-v-7c01f1b3]{color:var(--vp-c-text-2);transition:color .25s}.org.link[data-v-7c01f1b3]:hover{color:var(--vp-c-brand-1)}.desc[data-v-7c01f1b3]{margin:0 auto}.desc[data-v-7c01f1b3] a{font-weight:500;color:var(--vp-c-brand-1);text-decoration-style:dotted;transition:color .25s}.links[data-v-7c01f1b3]{display:flex;justify-content:center;height:56px}.sp-link[data-v-7c01f1b3]{display:flex;justify-content:center;align-items:center;text-align:center;padding:16px;font-size:14px;font-weight:500;color:var(--vp-c-sponsor);background-color:var(--vp-c-bg-soft);transition:color .25s,background-color .25s}.sp .sp-link.link[data-v-7c01f1b3]:hover,.sp .sp-link.link[data-v-7c01f1b3]:focus{outline:none;color:var(--vp-c-white);background-color:var(--vp-c-sponsor)}.sp-icon[data-v-7c01f1b3]{margin-right:8px;width:16px;height:16px;fill:currentColor}.VPTeamMembers.small .container[data-v-c2a977ea]{grid-template-columns:repeat(auto-fit,minmax(224px,1fr))}.VPTeamMembers.small.count-1 .container[data-v-c2a977ea]{max-width:276px}.VPTeamMembers.small.count-2 .container[data-v-c2a977ea]{max-width:576px}.VPTeamMembers.small.count-3 .container[data-v-c2a977ea]{max-width:876px}.VPTeamMembers.medium .container[data-v-c2a977ea]{grid-template-columns:repeat(auto-fit,minmax(256px,1fr))}@media (min-width: 375px){.VPTeamMembers.medium .container[data-v-c2a977ea]{grid-template-columns:repeat(auto-fit,minmax(288px,1fr))}}.VPTeamMembers.medium.count-1 .container[data-v-c2a977ea]{max-width:368px}.VPTeamMembers.medium.count-2 .container[data-v-c2a977ea]{max-width:760px}.container[data-v-c2a977ea]{display:grid;gap:24px;margin:0 auto;max-width:1152px}.decode-result{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.drop-area{height:300px;color:#fff;text-align:center;font-weight:700;padding:10px;background-color:#3c3c43}.dragover{background-color:#10b981}.drop-error{color:red;font-weight:700}.error[data-v-df3f27d7]{font-weight:700;color:red}.barcode-format-checkbox[data-v-df3f27d7]{margin-right:10px;white-space:nowrap;display:inline-block}.fullscreen[data-v-39d64d0c]{position:fixed;z-index:1000;top:0;bottom:0;right:0;left:0}.fullscreen-button[data-v-39d64d0c]{background-color:#fff;position:absolute;bottom:0;right:0;margin:1rem}.fullscreen-button img[data-v-39d64d0c]{width:2rem}button[data-v-3ae3ffac]{margin-bottom:20px}.loading-indicator[data-v-3ae3ffac]{font-weight:700;font-size:2rem;text-align:center}.scan-confirmation[data-v-2c48d920]{position:absolute;width:100%;height:100%;background-color:#fffc;display:flex;flex-flow:row nowrap;justify-content:center}button[data-v-6622b1c4]{position:absolute;left:10px;top:10px}button img[data-v-6622b1c4]{width:50px;height:50px}.error[data-v-6622b1c4]{color:red;font-weight:700}button[data-v-cf37801d]{position:absolute;left:10px;top:10px}button img[data-v-cf37801d]{width:50px;height:50px}.error[data-v-cf37801d]{color:red;font-weight:700}.validation-success[data-v-2a6ebd39],.validation-failure[data-v-2a6ebd39],.validation-pending[data-v-2a6ebd39]{position:absolute;width:100%;height:100%;background-color:#fffc;padding:10px;text-align:center;font-weight:700;font-size:1.4rem;color:#000;display:flex;flex-flow:column nowrap;justify-content:center}.validation-success[data-v-2a6ebd39]{color:green}.validation-failure[data-v-2a6ebd39]{color:red}.VPLocalSearchBox[data-v-da1f852b]{position:fixed;z-index:100;top:0;right:0;bottom:0;left:0;display:flex}.backdrop[data-v-da1f852b]{position:absolute;top:0;right:0;bottom:0;left:0;background:var(--vp-backdrop-bg-color);transition:opacity .5s}.shell[data-v-da1f852b]{position:relative;padding:12px;margin:64px auto;display:flex;flex-direction:column;gap:16px;background:var(--vp-local-search-bg);width:min(100vw - 60px,900px);height:min-content;max-height:min(100vh - 128px,900px);border-radius:6px}@media (max-width: 767px){.shell[data-v-da1f852b]{margin:0;width:100vw;height:100vh;max-height:none;border-radius:0}}.search-bar[data-v-da1f852b]{border:1px solid var(--vp-c-divider);border-radius:4px;display:flex;align-items:center;padding:0 12px;cursor:text}@media (max-width: 767px){.search-bar[data-v-da1f852b]{padding:0 8px}}.search-bar[data-v-da1f852b]:focus-within{border-color:var(--vp-c-brand-1)}.search-icon[data-v-da1f852b]{margin:8px}@media (max-width: 767px){.search-icon[data-v-da1f852b]{display:none}}.search-input[data-v-da1f852b]{padding:6px 12px;font-size:inherit;width:100%}@media (max-width: 767px){.search-input[data-v-da1f852b]{padding:6px 4px}}.search-actions[data-v-da1f852b]{display:flex;gap:4px}@media (any-pointer: coarse){.search-actions[data-v-da1f852b]{gap:8px}}@media (min-width: 769px){.search-actions.before[data-v-da1f852b]{display:none}}.search-actions button[data-v-da1f852b]{padding:8px}.search-actions button[data-v-da1f852b]:not([disabled]):hover,.toggle-layout-button.detailed-list[data-v-da1f852b]{color:var(--vp-c-brand-1)}.search-actions button.clear-button[data-v-da1f852b]:disabled{opacity:.37}.search-keyboard-shortcuts[data-v-da1f852b]{font-size:.8rem;opacity:75%;display:flex;flex-wrap:wrap;gap:16px;line-height:14px}.search-keyboard-shortcuts span[data-v-da1f852b]{display:flex;align-items:center;gap:4px}@media (max-width: 767px){.search-keyboard-shortcuts[data-v-da1f852b]{display:none}}.search-keyboard-shortcuts kbd[data-v-da1f852b]{background:#8080801a;border-radius:4px;padding:3px 6px;min-width:24px;display:inline-block;text-align:center;vertical-align:middle;border:1px solid rgba(128,128,128,.15);box-shadow:0 2px 2px #0000001a}.results[data-v-da1f852b]{display:flex;flex-direction:column;gap:6px;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain}.result[data-v-da1f852b]{display:flex;align-items:center;gap:8px;border-radius:4px;transition:none;line-height:1rem;border:solid 2px var(--vp-local-search-result-border);outline:none}.result>div[data-v-da1f852b]{margin:12px;width:100%;overflow:hidden}@media (max-width: 767px){.result>div[data-v-da1f852b]{margin:8px}}.titles[data-v-da1f852b]{display:flex;flex-wrap:wrap;gap:4px;position:relative;z-index:1001;padding:2px 0}.title[data-v-da1f852b]{display:flex;align-items:center;gap:4px}.title.main[data-v-da1f852b]{font-weight:500}.title-icon[data-v-da1f852b]{opacity:.5;font-weight:500;color:var(--vp-c-brand-1)}.title svg[data-v-da1f852b]{opacity:.5}.result.selected[data-v-da1f852b]{--vp-local-search-result-bg: var(--vp-local-search-result-selected-bg);border-color:var(--vp-local-search-result-selected-border)}.excerpt-wrapper[data-v-da1f852b]{position:relative}.excerpt[data-v-da1f852b]{opacity:75%;pointer-events:none;max-height:140px;overflow:hidden;position:relative;opacity:.5;margin-top:4px}.result.selected .excerpt[data-v-da1f852b]{opacity:1}.excerpt[data-v-da1f852b] *{font-size:.8rem!important;line-height:130%!important}.titles[data-v-da1f852b] mark,.excerpt[data-v-da1f852b] mark{background-color:var(--vp-local-search-highlight-bg);color:var(--vp-local-search-highlight-text);border-radius:2px;padding:0 2px}.excerpt[data-v-da1f852b] .vp-code-group .tabs{display:none}.excerpt[data-v-da1f852b] .vp-code-group div[class*=language-]{border-radius:8px!important}.excerpt-gradient-bottom[data-v-da1f852b]{position:absolute;bottom:-1px;left:0;width:100%;height:8px;background:linear-gradient(transparent,var(--vp-local-search-result-bg));z-index:1000}.excerpt-gradient-top[data-v-da1f852b]{position:absolute;top:-1px;left:0;width:100%;height:8px;background:linear-gradient(var(--vp-local-search-result-bg),transparent);z-index:1000}.result.selected .titles[data-v-da1f852b],.result.selected .title-icon[data-v-da1f852b]{color:var(--vp-c-brand-1)!important}.no-results[data-v-da1f852b]{font-size:.9rem;text-align:center;padding:12px}svg[data-v-da1f852b]{flex:none}
+@font-face{font-family:Inter var;font-weight:100 900;font-display:swap;font-style:normal;font-named-instance:"Regular";src:url(/vue-qrcode-reader/assets/inter-roman-cyrillic.CMhn1ESj.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter var;font-weight:100 900;font-display:swap;font-style:normal;font-named-instance:"Regular";src:url(/vue-qrcode-reader/assets/inter-roman-cyrillic-ext.DxP3Awbn.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:Inter var;font-weight:100 900;font-display:swap;font-style:normal;font-named-instance:"Regular";src:url(/vue-qrcode-reader/assets/inter-roman-greek.JvnBZ4YD.woff2) format("woff2");unicode-range:U+0370-03FF}@font-face{font-family:Inter var;font-weight:100 900;font-display:swap;font-style:normal;font-named-instance:"Regular";src:url(/vue-qrcode-reader/assets/inter-roman-greek-ext.D0mI3NpI.woff2) format("woff2");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter var;font-weight:100 900;font-display:swap;font-style:normal;font-named-instance:"Regular";src:url(/vue-qrcode-reader/assets/inter-roman-latin.Bu8hRsVA.woff2) format("woff2");unicode-range:U+0000-00FF,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:Inter var;font-weight:100 900;font-display:swap;font-style:normal;font-named-instance:"Regular";src:url(/vue-qrcode-reader/assets/inter-roman-latin-ext.ZlYT4o7i.woff2) format("woff2");unicode-range:U+0100-024F,U+0259,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter var;font-weight:100 900;font-display:swap;font-style:normal;font-named-instance:"Regular";src:url(/vue-qrcode-reader/assets/inter-roman-vietnamese.ClpjcLMQ.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:Inter var;font-weight:100 900;font-display:swap;font-style:italic;font-named-instance:"Italic";src:url(/vue-qrcode-reader/assets/inter-italic-cyrillic.D6csxwjC.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter var;font-weight:100 900;font-display:swap;font-style:italic;font-named-instance:"Italic";src:url(/vue-qrcode-reader/assets/inter-italic-cyrillic-ext.5XJwZIOp.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:Inter var;font-weight:100 900;font-display:swap;font-style:italic;font-named-instance:"Italic";src:url(/vue-qrcode-reader/assets/inter-italic-greek.9J96vYpw.woff2) format("woff2");unicode-range:U+0370-03FF}@font-face{font-family:Inter var;font-weight:100 900;font-display:swap;font-style:italic;font-named-instance:"Italic";src:url(/vue-qrcode-reader/assets/inter-italic-greek-ext.CHOfFY1k.woff2) format("woff2");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter var;font-weight:100 900;font-display:swap;font-style:italic;font-named-instance:"Italic";src:url(/vue-qrcode-reader/assets/inter-italic-latin.DbsTr1gm.woff2) format("woff2");unicode-range:U+0000-00FF,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:Inter var;font-weight:100 900;font-display:swap;font-style:italic;font-named-instance:"Italic";src:url(/vue-qrcode-reader/assets/inter-italic-latin-ext.BGcWXLrn.woff2) format("woff2");unicode-range:U+0100-024F,U+0259,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter var;font-weight:100 900;font-display:swap;font-style:italic;font-named-instance:"Italic";src:url(/vue-qrcode-reader/assets/inter-italic-vietnamese.DHNAd7Wr.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:Chinese Quotes;src:local("PingFang SC Regular"),local("PingFang SC"),local("SimHei"),local("Source Han Sans SC");unicode-range:U+2018,U+2019,U+201C,U+201D}:root{--vp-c-white: #ffffff;--vp-c-black: #000000;--vp-c-neutral: var(--vp-c-black);--vp-c-neutral-inverse: var(--vp-c-white)}.dark{--vp-c-neutral: var(--vp-c-white);--vp-c-neutral-inverse: var(--vp-c-black)}:root{--vp-c-gray-1: #dddde3;--vp-c-gray-2: #e4e4e9;--vp-c-gray-3: #ebebef;--vp-c-gray-soft: rgba(142, 150, 170, .14);--vp-c-indigo-1: #3451b2;--vp-c-indigo-2: #3a5ccc;--vp-c-indigo-3: #5672cd;--vp-c-indigo-soft: rgba(100, 108, 255, .14);--vp-c-green-1: #18794e;--vp-c-green-2: #299764;--vp-c-green-3: #30a46c;--vp-c-green-soft: rgba(16, 185, 129, .14);--vp-c-yellow-1: #915930;--vp-c-yellow-2: #946300;--vp-c-yellow-3: #9f6a00;--vp-c-yellow-soft: rgba(234, 179, 8, .14);--vp-c-red-1: #b8272c;--vp-c-red-2: #d5393e;--vp-c-red-3: #e0575b;--vp-c-red-soft: rgba(244, 63, 94, .14);--vp-c-sponsor: #db2777}.dark{--vp-c-gray-1: #515c67;--vp-c-gray-2: #414853;--vp-c-gray-3: #32363f;--vp-c-gray-soft: rgba(101, 117, 133, .16);--vp-c-indigo-1: #a8b1ff;--vp-c-indigo-2: #5c73e7;--vp-c-indigo-3: #3e63dd;--vp-c-indigo-soft: rgba(100, 108, 255, .16);--vp-c-green-1: #3dd68c;--vp-c-green-2: #30a46c;--vp-c-green-3: #298459;--vp-c-green-soft: rgba(16, 185, 129, .16);--vp-c-yellow-1: #f9b44e;--vp-c-yellow-2: #da8b17;--vp-c-yellow-3: #a46a0a;--vp-c-yellow-soft: rgba(234, 179, 8, .16);--vp-c-red-1: #f66f81;--vp-c-red-2: #f14158;--vp-c-red-3: #b62a3c;--vp-c-red-soft: rgba(244, 63, 94, .16)}:root{--vp-c-bg: #ffffff;--vp-c-bg-alt: #f6f6f7;--vp-c-bg-elv: #ffffff;--vp-c-bg-soft: #f6f6f7}.dark{--vp-c-bg: #1b1b1f;--vp-c-bg-alt: #161618;--vp-c-bg-elv: #202127;--vp-c-bg-soft: #202127}:root{--vp-c-border: #c2c2c4;--vp-c-divider: #e2e2e3;--vp-c-gutter: #e2e2e3}.dark{--vp-c-border: #3c3f44;--vp-c-divider: #2e2e32;--vp-c-gutter: #000000}:root{--vp-c-text-1: rgba(60, 60, 67);--vp-c-text-2: rgba(60, 60, 67, .78);--vp-c-text-3: rgba(60, 60, 67, .56)}.dark{--vp-c-text-1: rgba(255, 255, 245, .86);--vp-c-text-2: rgba(235, 235, 245, .6);--vp-c-text-3: rgba(235, 235, 245, .38)}:root{--vp-c-default-1: var(--vp-c-gray-1);--vp-c-default-2: var(--vp-c-gray-2);--vp-c-default-3: var(--vp-c-gray-3);--vp-c-default-soft: var(--vp-c-gray-soft);--vp-c-brand-1: var(--vp-c-indigo-1);--vp-c-brand-2: var(--vp-c-indigo-2);--vp-c-brand-3: var(--vp-c-indigo-3);--vp-c-brand-soft: var(--vp-c-indigo-soft);--vp-c-brand: var(--vp-c-brand-1);--vp-c-tip-1: var(--vp-c-brand-1);--vp-c-tip-2: var(--vp-c-brand-2);--vp-c-tip-3: var(--vp-c-brand-3);--vp-c-tip-soft: var(--vp-c-brand-soft);--vp-c-warning-1: var(--vp-c-yellow-1);--vp-c-warning-2: var(--vp-c-yellow-2);--vp-c-warning-3: var(--vp-c-yellow-3);--vp-c-warning-soft: var(--vp-c-yellow-soft);--vp-c-danger-1: var(--vp-c-red-1);--vp-c-danger-2: var(--vp-c-red-2);--vp-c-danger-3: var(--vp-c-red-3);--vp-c-danger-soft: var(--vp-c-red-soft)}:root{--vp-font-family-base: "Chinese Quotes", "Inter var", "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Helvetica, Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--vp-font-family-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace}:root{--vp-shadow-1: 0 1px 2px rgba(0, 0, 0, .04), 0 1px 2px rgba(0, 0, 0, .06);--vp-shadow-2: 0 3px 12px rgba(0, 0, 0, .07), 0 1px 4px rgba(0, 0, 0, .07);--vp-shadow-3: 0 12px 32px rgba(0, 0, 0, .1), 0 2px 6px rgba(0, 0, 0, .08);--vp-shadow-4: 0 14px 44px rgba(0, 0, 0, .12), 0 3px 9px rgba(0, 0, 0, .12);--vp-shadow-5: 0 18px 56px rgba(0, 0, 0, .16), 0 4px 12px rgba(0, 0, 0, .16)}:root{--vp-z-index-footer: 10;--vp-z-index-local-nav: 20;--vp-z-index-nav: 30;--vp-z-index-layout-top: 40;--vp-z-index-backdrop: 50;--vp-z-index-sidebar: 60}:root{--vp-icon-copy: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' height='20' width='20' stroke='rgba(128,128,128,1)' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M9 5H7a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2h-2M9 5a2 2 0 0 0 2 2h2a2 2 0 0 0 2-2M9 5a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2'/%3E%3C/svg%3E");--vp-icon-copied: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' height='20' width='20' stroke='rgba(128,128,128,1)' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M9 5H7a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2h-2M9 5a2 2 0 0 0 2 2h2a2 2 0 0 0 2-2M9 5a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2m-6 9 2 2 4-4'/%3E%3C/svg%3E")}:root{--vp-layout-max-width: 1440px}:root{--vp-header-anchor-symbol: "#"}:root{--vp-code-line-height: 1.7;--vp-code-font-size: .875em;--vp-code-color: var(--vp-c-brand-1);--vp-code-link-color: var(--vp-c-brand-1);--vp-code-link-hover-color: var(--vp-c-brand-2);--vp-code-bg: var(--vp-c-default-soft);--vp-code-block-color: var(--vp-c-text-2);--vp-code-block-bg: var(--vp-c-bg-alt);--vp-code-block-divider-color: var(--vp-c-gutter);--vp-code-lang-color: var(--vp-c-text-3);--vp-code-line-highlight-color: var(--vp-c-default-soft);--vp-code-line-number-color: var(--vp-c-text-3);--vp-code-line-diff-add-color: var(--vp-c-green-soft);--vp-code-line-diff-add-symbol-color: var(--vp-c-green-1);--vp-code-line-diff-remove-color: var(--vp-c-red-soft);--vp-code-line-diff-remove-symbol-color: var(--vp-c-red-1);--vp-code-line-warning-color: var(--vp-c-yellow-soft);--vp-code-line-error-color: var(--vp-c-red-soft);--vp-code-copy-code-border-color: var(--vp-c-divider);--vp-code-copy-code-bg: var(--vp-c-bg-soft);--vp-code-copy-code-hover-border-color: var(--vp-c-divider);--vp-code-copy-code-hover-bg: var(--vp-c-bg);--vp-code-copy-code-active-text: var(--vp-c-text-2);--vp-code-copy-copied-text-content: "Copied";--vp-code-tab-divider: var(--vp-code-block-divider-color);--vp-code-tab-text-color: var(--vp-c-text-2);--vp-code-tab-bg: var(--vp-code-block-bg);--vp-code-tab-hover-text-color: var(--vp-c-text-1);--vp-code-tab-active-text-color: var(--vp-c-text-1);--vp-code-tab-active-bar-color: var(--vp-c-brand-1)}:root{--vp-button-brand-border: transparent;--vp-button-brand-text: var(--vp-c-white);--vp-button-brand-bg: var(--vp-c-brand-3);--vp-button-brand-hover-border: transparent;--vp-button-brand-hover-text: var(--vp-c-white);--vp-button-brand-hover-bg: var(--vp-c-brand-2);--vp-button-brand-active-border: transparent;--vp-button-brand-active-text: var(--vp-c-white);--vp-button-brand-active-bg: var(--vp-c-brand-1);--vp-button-alt-border: transparent;--vp-button-alt-text: var(--vp-c-text-1);--vp-button-alt-bg: var(--vp-c-default-3);--vp-button-alt-hover-border: transparent;--vp-button-alt-hover-text: var(--vp-c-text-1);--vp-button-alt-hover-bg: var(--vp-c-default-2);--vp-button-alt-active-border: transparent;--vp-button-alt-active-text: var(--vp-c-text-1);--vp-button-alt-active-bg: var(--vp-c-default-1);--vp-button-sponsor-border: var(--vp-c-text-2);--vp-button-sponsor-text: var(--vp-c-text-2);--vp-button-sponsor-bg: transparent;--vp-button-sponsor-hover-border: var(--vp-c-sponsor);--vp-button-sponsor-hover-text: var(--vp-c-sponsor);--vp-button-sponsor-hover-bg: transparent;--vp-button-sponsor-active-border: var(--vp-c-sponsor);--vp-button-sponsor-active-text: var(--vp-c-sponsor);--vp-button-sponsor-active-bg: transparent}:root{--vp-custom-block-font-size: 14px;--vp-custom-block-code-font-size: 13px;--vp-custom-block-info-border: transparent;--vp-custom-block-info-text: var(--vp-c-text-1);--vp-custom-block-info-bg: var(--vp-c-default-soft);--vp-custom-block-info-code-bg: var(--vp-c-default-soft);--vp-custom-block-tip-border: transparent;--vp-custom-block-tip-text: var(--vp-c-text-1);--vp-custom-block-tip-bg: var(--vp-c-brand-soft);--vp-custom-block-tip-code-bg: var(--vp-c-brand-soft);--vp-custom-block-warning-border: transparent;--vp-custom-block-warning-text: var(--vp-c-text-1);--vp-custom-block-warning-bg: var(--vp-c-warning-soft);--vp-custom-block-warning-code-bg: var(--vp-c-warning-soft);--vp-custom-block-danger-border: transparent;--vp-custom-block-danger-text: var(--vp-c-text-1);--vp-custom-block-danger-bg: var(--vp-c-danger-soft);--vp-custom-block-danger-code-bg: var(--vp-c-danger-soft);--vp-custom-block-details-border: var(--vp-custom-block-info-border);--vp-custom-block-details-text: var(--vp-custom-block-info-text);--vp-custom-block-details-bg: var(--vp-custom-block-info-bg);--vp-custom-block-details-code-bg: var(--vp-custom-block-info-code-bg)}:root{--vp-input-border-color: var(--vp-c-border);--vp-input-bg-color: var(--vp-c-bg-alt);--vp-input-switch-bg-color: var(--vp-c-gray-soft)}:root{--vp-nav-height: 64px;--vp-nav-bg-color: var(--vp-c-bg);--vp-nav-screen-bg-color: var(--vp-c-bg);--vp-nav-logo-height: 24px}.hide-nav{--vp-nav-height: 0px}.hide-nav .VPSidebar{--vp-nav-height: 22px}:root{--vp-local-nav-bg-color: var(--vp-c-bg)}:root{--vp-sidebar-width: 272px;--vp-sidebar-bg-color: var(--vp-c-bg-alt)}:root{--vp-backdrop-bg-color: rgba(0, 0, 0, .6)}:root{--vp-home-hero-name-color: var(--vp-c-brand-1);--vp-home-hero-name-background: transparent;--vp-home-hero-image-background-image: none;--vp-home-hero-image-filter: none}:root{--vp-badge-info-border: transparent;--vp-badge-info-text: var(--vp-c-text-2);--vp-badge-info-bg: var(--vp-c-default-soft);--vp-badge-tip-border: transparent;--vp-badge-tip-text: var(--vp-c-brand-1);--vp-badge-tip-bg: var(--vp-c-brand-soft);--vp-badge-warning-border: transparent;--vp-badge-warning-text: var(--vp-c-warning-1);--vp-badge-warning-bg: var(--vp-c-warning-soft);--vp-badge-danger-border: transparent;--vp-badge-danger-text: var(--vp-c-danger-1);--vp-badge-danger-bg: var(--vp-c-danger-soft)}:root{--vp-carbon-ads-text-color: var(--vp-c-text-1);--vp-carbon-ads-poweredby-color: var(--vp-c-text-2);--vp-carbon-ads-bg-color: var(--vp-c-bg-soft);--vp-carbon-ads-hover-text-color: var(--vp-c-brand-1);--vp-carbon-ads-hover-poweredby-color: var(--vp-c-text-1)}:root{--vp-local-search-bg: var(--vp-c-bg);--vp-local-search-result-bg: var(--vp-c-bg);--vp-local-search-result-border: var(--vp-c-divider);--vp-local-search-result-selected-bg: var(--vp-c-bg);--vp-local-search-result-selected-border: var(--vp-c-brand-1);--vp-local-search-highlight-bg: var(--vp-c-brand-1);--vp-local-search-highlight-text: var(--vp-c-neutral-inverse)}@media (prefers-reduced-motion: reduce){*,:before,:after{animation-delay:-1ms!important;animation-duration:1ms!important;animation-iteration-count:1!important;background-attachment:initial!important;scroll-behavior:auto!important;transition-duration:0s!important;transition-delay:0s!important}}*,:before,:after{box-sizing:border-box}html{line-height:1.4;font-size:16px;-webkit-text-size-adjust:100%}html.dark{color-scheme:dark}body{margin:0;width:100%;min-width:320px;min-height:100vh;line-height:24px;font-family:var(--vp-font-family-base);font-size:16px;font-weight:400;color:var(--vp-c-text-1);background-color:var(--vp-c-bg);direction:ltr;font-synthesis:style;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}main{display:block}h1,h2,h3,h4,h5,h6{margin:0;line-height:24px;font-size:16px;font-weight:400}p{margin:0}strong,b{font-weight:600}a,area,button,[role=button],input,label,select,summary,textarea{touch-action:manipulation}a{color:inherit;text-decoration:inherit}ol,ul{list-style:none;margin:0;padding:0}blockquote{margin:0}pre,code,kbd,samp{font-family:var(--vp-font-family-mono)}img,svg,video,canvas,audio,iframe,embed,object{display:block}figure{margin:0}img,video{max-width:100%;height:auto}button,input,optgroup,select,textarea{border:0;padding:0;line-height:inherit;color:inherit}button{padding:0;font-family:inherit;background-color:transparent;background-image:none}button:enabled,[role=button]:enabled{cursor:pointer}button:focus,button:focus-visible{outline:1px dotted;outline:4px auto -webkit-focus-ring-color}button:focus:not(:focus-visible){outline:none!important}input:focus,textarea:focus,select:focus{outline:none}table{border-collapse:collapse}input{background-color:transparent}input:-ms-input-placeholder,textarea:-ms-input-placeholder{color:var(--vp-c-text-3)}input::-ms-input-placeholder,textarea::-ms-input-placeholder{color:var(--vp-c-text-3)}input::placeholder,textarea::placeholder{color:var(--vp-c-text-3)}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}textarea{resize:vertical}select{-webkit-appearance:none}fieldset{margin:0;padding:0}h1,h2,h3,h4,h5,h6,li,p{overflow-wrap:break-word}vite-error-overlay{z-index:9999}mjx-container{display:inline-block;margin:auto 2px -2px}mjx-container>svg{margin:auto}.visually-hidden{position:absolute;width:1px;height:1px;white-space:nowrap;clip:rect(0 0 0 0);clip-path:inset(50%);overflow:hidden}.custom-block{border:1px solid transparent;border-radius:8px;padding:16px 16px 8px;line-height:24px;font-size:var(--vp-custom-block-font-size);color:var(--vp-c-text-2)}.custom-block.info{border-color:var(--vp-custom-block-info-border);color:var(--vp-custom-block-info-text);background-color:var(--vp-custom-block-info-bg)}.custom-block.info a,.custom-block.info code{color:var(--vp-c-brand-1)}.custom-block.info a:hover{color:var(--vp-c-brand-2)}.custom-block.info code{background-color:var(--vp-custom-block-info-code-bg)}.custom-block.tip{border-color:var(--vp-custom-block-tip-border);color:var(--vp-custom-block-tip-text);background-color:var(--vp-custom-block-tip-bg)}.custom-block.tip a,.custom-block.tip code{color:var(--vp-c-brand-1)}.custom-block.tip a:hover{color:var(--vp-c-brand-2)}.custom-block.tip code{background-color:var(--vp-custom-block-tip-code-bg)}.custom-block.warning{border-color:var(--vp-custom-block-warning-border);color:var(--vp-custom-block-warning-text);background-color:var(--vp-custom-block-warning-bg)}.custom-block.warning a,.custom-block.warning code{color:var(--vp-c-warning-1)}.custom-block.warning a:hover{color:var(--vp-c-warning-2)}.custom-block.warning code{background-color:var(--vp-custom-block-warning-code-bg)}.custom-block.danger{border-color:var(--vp-custom-block-danger-border);color:var(--vp-custom-block-danger-text);background-color:var(--vp-custom-block-danger-bg)}.custom-block.danger a,.custom-block.danger code{color:var(--vp-c-danger-1)}.custom-block.danger a:hover{color:var(--vp-c-danger-2)}.custom-block.danger code{background-color:var(--vp-custom-block-danger-code-bg)}.custom-block.details{border-color:var(--vp-custom-block-details-border);color:var(--vp-custom-block-details-text);background-color:var(--vp-custom-block-details-bg)}.custom-block.details a{color:var(--vp-c-brand-1)}.custom-block.details a:hover{color:var(--vp-c-brand-2)}.custom-block.details code{background-color:var(--vp-custom-block-details-code-bg)}.custom-block-title{font-weight:600}.custom-block p+p{margin:8px 0}.custom-block.details summary{margin:0 0 8px;font-weight:700;cursor:pointer}.custom-block.details summary+p{margin:8px 0}.custom-block a{color:inherit;font-weight:600;text-decoration:underline;text-underline-offset:2px;transition:opacity .25s}.custom-block a:hover{opacity:.75}.custom-block code{font-size:var(--vp-custom-block-code-font-size)}.custom-block.custom-block th,.custom-block.custom-block blockquote>p{font-size:var(--vp-custom-block-font-size);color:inherit}.dark .vp-code span{color:var(--shiki-dark, inherit)}html:not(.dark) .vp-code span{color:var(--shiki-light, inherit)}.vp-code-group{margin-top:16px}.vp-code-group .tabs{position:relative;display:flex;margin-right:-24px;margin-left:-24px;padding:0 12px;background-color:var(--vp-code-tab-bg);overflow-x:auto;overflow-y:hidden;box-shadow:inset 0 -1px var(--vp-code-tab-divider)}@media (min-width: 640px){.vp-code-group .tabs{margin-right:0;margin-left:0;border-radius:8px 8px 0 0}}.vp-code-group .tabs input{position:fixed;opacity:0;pointer-events:none}.vp-code-group .tabs label{position:relative;display:inline-block;border-bottom:1px solid transparent;padding:0 12px;line-height:48px;font-size:14px;font-weight:500;color:var(--vp-code-tab-text-color);white-space:nowrap;cursor:pointer;transition:color .25s}.vp-code-group .tabs label:after{position:absolute;right:8px;bottom:-1px;left:8px;z-index:1;height:2px;border-radius:2px;content:"";background-color:transparent;transition:background-color .25s}.vp-code-group label:hover{color:var(--vp-code-tab-hover-text-color)}.vp-code-group input:checked+label{color:var(--vp-code-tab-active-text-color)}.vp-code-group input:checked+label:after{background-color:var(--vp-code-tab-active-bar-color)}.vp-code-group div[class*=language-],.vp-block{display:none;margin-top:0!important;border-top-left-radius:0!important;border-top-right-radius:0!important}.vp-code-group div[class*=language-].active,.vp-block.active{display:block}.vp-block{padding:20px 24px}.vp-doc h1,.vp-doc h2,.vp-doc h3,.vp-doc h4,.vp-doc h5,.vp-doc h6{position:relative;font-weight:600;outline:none}.vp-doc h1{letter-spacing:-.02em;line-height:40px;font-size:28px}.vp-doc h2{margin:48px 0 16px;border-top:1px solid var(--vp-c-divider);padding-top:24px;letter-spacing:-.02em;line-height:32px;font-size:24px}.vp-doc h3{margin:32px 0 0;letter-spacing:-.01em;line-height:28px;font-size:20px}.vp-doc .header-anchor{position:absolute;top:0;left:0;margin-left:-.87em;font-weight:500;-webkit-user-select:none;user-select:none;opacity:0;text-decoration:none;transition:color .25s,opacity .25s}.vp-doc .header-anchor:before{content:var(--vp-header-anchor-symbol)}.vp-doc h1:hover .header-anchor,.vp-doc h1 .header-anchor:focus,.vp-doc h2:hover .header-anchor,.vp-doc h2 .header-anchor:focus,.vp-doc h3:hover .header-anchor,.vp-doc h3 .header-anchor:focus,.vp-doc h4:hover .header-anchor,.vp-doc h4 .header-anchor:focus,.vp-doc h5:hover .header-anchor,.vp-doc h5 .header-anchor:focus,.vp-doc h6:hover .header-anchor,.vp-doc h6 .header-anchor:focus{opacity:1}@media (min-width: 768px){.vp-doc h1{letter-spacing:-.02em;line-height:40px;font-size:32px}}.vp-doc h2 .header-anchor{top:24px}.vp-doc p,.vp-doc summary{margin:16px 0}.vp-doc p{line-height:28px}.vp-doc blockquote{margin:16px 0;border-left:2px solid var(--vp-c-divider);padding-left:16px;transition:border-color .5s}.vp-doc blockquote>p{margin:0;font-size:16px;color:var(--vp-c-text-2);transition:color .5s}.vp-doc a{font-weight:500;color:var(--vp-c-brand-1);text-decoration:underline;text-underline-offset:2px;transition:color .25s,opacity .25s}.vp-doc a:hover{color:var(--vp-c-brand-2)}.vp-doc strong{font-weight:600}.vp-doc ul,.vp-doc ol{padding-left:1.25rem;margin:16px 0}.vp-doc ul{list-style:disc}.vp-doc ol{list-style:decimal}.vp-doc li+li{margin-top:8px}.vp-doc li>ol,.vp-doc li>ul{margin:8px 0 0}.vp-doc table{display:block;border-collapse:collapse;margin:20px 0;overflow-x:auto}.vp-doc tr{background-color:var(--vp-c-bg);border-top:1px solid var(--vp-c-divider);transition:background-color .5s}.vp-doc tr:nth-child(2n){background-color:var(--vp-c-bg-soft)}.vp-doc th,.vp-doc td{border:1px solid var(--vp-c-divider);padding:8px 16px}.vp-doc th{text-align:left;font-size:14px;font-weight:600;color:var(--vp-c-text-2);background-color:var(--vp-c-bg-soft)}.vp-doc td{font-size:14px}.vp-doc hr{margin:16px 0;border:none;border-top:1px solid var(--vp-c-divider)}.vp-doc .custom-block{margin:16px 0}.vp-doc .custom-block p{margin:8px 0;line-height:24px}.vp-doc .custom-block p:first-child{margin:0}.vp-doc .custom-block div[class*=language-]{margin:8px 0;border-radius:8px}.vp-doc .custom-block div[class*=language-] code{font-weight:400;background-color:transparent}.vp-doc .custom-block .vp-code-group .tabs{margin:0;border-radius:8px 8px 0 0}.vp-doc :not(pre,h1,h2,h3,h4,h5,h6)>code{font-size:var(--vp-code-font-size);color:var(--vp-code-color)}.vp-doc :not(pre)>code{border-radius:4px;padding:3px 6px;background-color:var(--vp-code-bg);transition:color .25s,background-color .5s}.vp-doc a>code{color:var(--vp-code-link-color)}.vp-doc a:hover>code{color:var(--vp-code-link-hover-color)}.vp-doc h1>code,.vp-doc h2>code,.vp-doc h3>code{font-size:.9em}.vp-doc div[class*=language-],.vp-block{position:relative;margin:16px -24px;background-color:var(--vp-code-block-bg);overflow-x:auto;transition:background-color .5s}@media (min-width: 640px){.vp-doc div[class*=language-],.vp-block{border-radius:8px;margin:16px 0}}@media (max-width: 639px){.vp-doc li div[class*=language-]{border-radius:8px 0 0 8px}}.vp-doc div[class*=language-]+div[class*=language-],.vp-doc div[class$=-api]+div[class*=language-],.vp-doc div[class*=language-]+div[class$=-api]>div[class*=language-]{margin-top:-8px}.vp-doc [class*=language-] pre,.vp-doc [class*=language-] code{direction:ltr;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-hyphens:none;-moz-hyphens:none;-ms-hyphens:none;hyphens:none}.vp-doc [class*=language-] pre{position:relative;z-index:1;margin:0;padding:20px 0;background:transparent;overflow-x:auto}.vp-doc [class*=language-] code{display:block;padding:0 24px;width:fit-content;min-width:100%;line-height:var(--vp-code-line-height);font-size:var(--vp-code-font-size);color:var(--vp-code-block-color);transition:color .5s}.vp-doc [class*=language-] code .highlighted{background-color:var(--vp-code-line-highlight-color);transition:background-color .5s;margin:0 -24px;padding:0 24px;width:calc(100% + 48px);display:inline-block}.vp-doc [class*=language-] code .highlighted.error{background-color:var(--vp-code-line-error-color)}.vp-doc [class*=language-] code .highlighted.warning{background-color:var(--vp-code-line-warning-color)}.vp-doc [class*=language-] code .diff{transition:background-color .5s;margin:0 -24px;padding:0 24px;width:calc(100% + 48px);display:inline-block}.vp-doc [class*=language-] code .diff:before{position:absolute;left:10px}.vp-doc [class*=language-] .has-focused-lines .line:not(.has-focus){filter:blur(.095rem);opacity:.4;transition:filter .35s,opacity .35s}.vp-doc [class*=language-] .has-focused-lines .line:not(.has-focus){opacity:.7;transition:filter .35s,opacity .35s}.vp-doc [class*=language-]:hover .has-focused-lines .line:not(.has-focus){filter:blur(0);opacity:1}.vp-doc [class*=language-] code .diff.remove{background-color:var(--vp-code-line-diff-remove-color);opacity:.7}.vp-doc [class*=language-] code .diff.remove:before{content:"-";color:var(--vp-code-line-diff-remove-symbol-color)}.vp-doc [class*=language-] code .diff.add{background-color:var(--vp-code-line-diff-add-color)}.vp-doc [class*=language-] code .diff.add:before{content:"+";color:var(--vp-code-line-diff-add-symbol-color)}.vp-doc div[class*=language-].line-numbers-mode{padding-left:32px}.vp-doc .line-numbers-wrapper{position:absolute;top:0;bottom:0;left:0;z-index:3;border-right:1px solid var(--vp-code-block-divider-color);padding-top:20px;width:32px;text-align:center;font-family:var(--vp-font-family-mono);line-height:var(--vp-code-line-height);font-size:var(--vp-code-font-size);color:var(--vp-code-line-number-color);transition:border-color .5s,color .5s}.vp-doc [class*=language-]>button.copy{direction:ltr;position:absolute;top:12px;right:12px;z-index:3;border:1px solid var(--vp-code-copy-code-border-color);border-radius:4px;width:40px;height:40px;background-color:var(--vp-code-copy-code-bg);opacity:0;cursor:pointer;background-image:var(--vp-icon-copy);background-position:50%;background-size:20px;background-repeat:no-repeat;transition:border-color .25s,background-color .25s,opacity .25s}.vp-doc [class*=language-]:hover>button.copy,.vp-doc [class*=language-]>button.copy:focus{opacity:1}.vp-doc [class*=language-]>button.copy:hover,.vp-doc [class*=language-]>button.copy.copied{border-color:var(--vp-code-copy-code-hover-border-color);background-color:var(--vp-code-copy-code-hover-bg)}.vp-doc [class*=language-]>button.copy.copied,.vp-doc [class*=language-]>button.copy:hover.copied{border-radius:0 4px 4px 0;background-color:var(--vp-code-copy-code-hover-bg);background-image:var(--vp-icon-copied)}.vp-doc [class*=language-]>button.copy.copied:before,.vp-doc [class*=language-]>button.copy:hover.copied:before{position:relative;top:-1px;transform:translate(calc(-100% - 1px));display:flex;justify-content:center;align-items:center;border:1px solid var(--vp-code-copy-code-hover-border-color);border-right:0;border-radius:4px 0 0 4px;padding:0 10px;width:fit-content;height:40px;text-align:center;font-size:12px;font-weight:500;color:var(--vp-code-copy-code-active-text);background-color:var(--vp-code-copy-code-hover-bg);white-space:nowrap;content:var(--vp-code-copy-copied-text-content)}.vp-doc [class*=language-]>span.lang{position:absolute;top:2px;right:8px;z-index:2;font-size:12px;font-weight:500;color:var(--vp-code-lang-color);transition:color .4s,opacity .4s}.vp-doc [class*=language-]:hover>button.copy+span.lang,.vp-doc [class*=language-]>button.copy:focus+span.lang{opacity:0}.vp-doc .VPTeamMembers{margin-top:24px}.vp-doc .VPTeamMembers.small.count-1 .container{margin:0!important;max-width:calc((100% - 24px)/2)!important}.vp-doc .VPTeamMembers.small.count-2 .container,.vp-doc .VPTeamMembers.small.count-3 .container{max-width:100%!important}.vp-doc .VPTeamMembers.medium.count-1 .container{margin:0!important;max-width:calc((100% - 24px)/2)!important}:is(.vp-external-link-icon,.vp-doc a[href*="://"],.vp-doc a[target=_blank]):not(.no-icon):after{display:inline-block;margin-top:-1px;margin-left:4px;width:11px;height:11px;background:currentColor;color:var(--vp-c-text-3);flex-shrink:0;--icon: url("data:image/svg+xml, %3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' %3E%3Cpath d='M0 0h24v24H0V0z' fill='none' /%3E%3Cpath d='M9 5v2h6.59L4 18.59 5.41 20 17 8.41V15h2V5H9z' /%3E%3C/svg%3E");-webkit-mask-image:var(--icon);mask-image:var(--icon)}.vp-external-link-icon:after{content:""}.vp-sponsor{border-radius:16px;overflow:hidden}.vp-sponsor.aside{border-radius:12px}.vp-sponsor-section+.vp-sponsor-section{margin-top:4px}.vp-sponsor-tier{margin-bottom:4px;text-align:center;letter-spacing:1px;line-height:24px;width:100%;font-weight:600;color:var(--vp-c-text-2);background-color:var(--vp-c-bg-soft)}.vp-sponsor.normal .vp-sponsor-tier{padding:13px 0 11px;font-size:14px}.vp-sponsor.aside .vp-sponsor-tier{padding:9px 0 7px;font-size:12px}.vp-sponsor-grid+.vp-sponsor-tier{margin-top:4px}.vp-sponsor-grid{display:flex;flex-wrap:wrap;gap:4px}.vp-sponsor-grid.xmini .vp-sponsor-grid-link{height:64px}.vp-sponsor-grid.xmini .vp-sponsor-grid-image{max-width:64px;max-height:22px}.vp-sponsor-grid.mini .vp-sponsor-grid-link{height:72px}.vp-sponsor-grid.mini .vp-sponsor-grid-image{max-width:96px;max-height:24px}.vp-sponsor-grid.small .vp-sponsor-grid-link{height:96px}.vp-sponsor-grid.small .vp-sponsor-grid-image{max-width:96px;max-height:24px}.vp-sponsor-grid.medium .vp-sponsor-grid-link{height:112px}.vp-sponsor-grid.medium .vp-sponsor-grid-image{max-width:120px;max-height:36px}.vp-sponsor-grid.big .vp-sponsor-grid-link{height:184px}.vp-sponsor-grid.big .vp-sponsor-grid-image{max-width:192px;max-height:56px}.vp-sponsor-grid[data-vp-grid="2"] .vp-sponsor-grid-item{width:calc((100% - 4px)/2)}.vp-sponsor-grid[data-vp-grid="3"] .vp-sponsor-grid-item{width:calc((100% - 4px * 2) / 3)}.vp-sponsor-grid[data-vp-grid="4"] .vp-sponsor-grid-item{width:calc((100% - 12px)/4)}.vp-sponsor-grid[data-vp-grid="5"] .vp-sponsor-grid-item{width:calc((100% - 16px)/5)}.vp-sponsor-grid[data-vp-grid="6"] .vp-sponsor-grid-item{width:calc((100% - 4px * 5) / 6)}.vp-sponsor-grid-item{flex-shrink:0;width:100%;background-color:var(--vp-c-bg-soft);transition:background-color .25s}.vp-sponsor-grid-item:hover{background-color:var(--vp-c-default-soft)}.vp-sponsor-grid-item:hover .vp-sponsor-grid-image{filter:grayscale(0) invert(0)}.vp-sponsor-grid-item.empty:hover{background-color:var(--vp-c-bg-soft)}.dark .vp-sponsor-grid-item:hover{background-color:var(--vp-c-white)}.dark .vp-sponsor-grid-item.empty:hover{background-color:var(--vp-c-bg-soft)}.vp-sponsor-grid-link{display:flex}.vp-sponsor-grid-box{display:flex;justify-content:center;align-items:center;width:100%}.vp-sponsor-grid-image{max-width:100%;filter:grayscale(1);transition:filter .25s}.dark .vp-sponsor-grid-image{filter:grayscale(1) invert(1)}.VPBadge[data-v-75f292a6]{display:inline-block;margin-left:2px;border:1px solid transparent;border-radius:12px;padding:0 10px;line-height:22px;font-size:12px;font-weight:500;transform:translateY(-2px)}.vp-doc h1>.VPBadge[data-v-75f292a6]{margin-top:4px;vertical-align:top}.vp-doc h2>.VPBadge[data-v-75f292a6]{margin-top:3px;padding:0 8px;vertical-align:top}.vp-doc h3>.VPBadge[data-v-75f292a6]{vertical-align:middle}.vp-doc h4>.VPBadge[data-v-75f292a6],.vp-doc h5>.VPBadge[data-v-75f292a6],.vp-doc h6>.VPBadge[data-v-75f292a6]{vertical-align:middle;line-height:18px}.VPBadge.info[data-v-75f292a6]{border-color:var(--vp-badge-info-border);color:var(--vp-badge-info-text);background-color:var(--vp-badge-info-bg)}.VPBadge.tip[data-v-75f292a6]{border-color:var(--vp-badge-tip-border);color:var(--vp-badge-tip-text);background-color:var(--vp-badge-tip-bg)}.VPBadge.warning[data-v-75f292a6]{border-color:var(--vp-badge-warning-border);color:var(--vp-badge-warning-text);background-color:var(--vp-badge-warning-bg)}.VPBadge.danger[data-v-75f292a6]{border-color:var(--vp-badge-danger-border);color:var(--vp-badge-danger-text);background-color:var(--vp-badge-danger-bg)}.VPBackdrop[data-v-760ecdb1]{position:fixed;top:0;right:0;bottom:0;left:0;z-index:var(--vp-z-index-backdrop);background:var(--vp-backdrop-bg-color);transition:opacity .5s}.VPBackdrop.fade-enter-from[data-v-760ecdb1],.VPBackdrop.fade-leave-to[data-v-760ecdb1]{opacity:0}.VPBackdrop.fade-leave-active[data-v-760ecdb1]{transition-duration:.25s}@media (min-width: 1280px){.VPBackdrop[data-v-760ecdb1]{display:none}}.NotFound[data-v-7e500f96]{padding:64px 24px 96px;text-align:center}@media (min-width: 768px){.NotFound[data-v-7e500f96]{padding:96px 32px 168px}}.code[data-v-7e500f96]{line-height:64px;font-size:64px;font-weight:600}.title[data-v-7e500f96]{padding-top:12px;letter-spacing:2px;line-height:20px;font-size:20px;font-weight:700}.divider[data-v-7e500f96]{margin:24px auto 18px;width:64px;height:1px;background-color:var(--vp-c-divider)}.quote[data-v-7e500f96]{margin:0 auto;max-width:256px;font-size:14px;font-weight:500;color:var(--vp-c-text-2)}.action[data-v-7e500f96]{padding-top:20px}.link[data-v-7e500f96]{display:inline-block;border:1px solid var(--vp-c-brand-1);border-radius:16px;padding:3px 16px;font-size:14px;font-weight:500;color:var(--vp-c-brand-1);transition:border-color .25s,color .25s}.link[data-v-7e500f96]:hover{border-color:var(--vp-c-brand-2);color:var(--vp-c-brand-2)}.root[data-v-f572b6c7]{position:relative;z-index:1}.nested[data-v-f572b6c7]{padding-left:16px}.outline-link[data-v-f572b6c7]{display:block;line-height:28px;color:var(--vp-c-text-2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transition:color .5s;font-weight:400}.outline-link[data-v-f572b6c7]:hover,.outline-link.active[data-v-f572b6c7]{color:var(--vp-c-text-1);transition:color .25s}.outline-link.nested[data-v-f572b6c7]{padding-left:13px}.VPDocAsideOutline[data-v-b2afe6e7]{display:none}.VPDocAsideOutline.has-outline[data-v-b2afe6e7]{display:block}.content[data-v-b2afe6e7]{position:relative;border-left:1px solid var(--vp-c-divider);padding-left:16px;font-size:13px;font-weight:500}.outline-marker[data-v-b2afe6e7]{position:absolute;top:32px;left:-1px;z-index:0;opacity:0;width:2px;border-radius:2px;height:18px;background-color:var(--vp-c-brand-1);transition:top .25s cubic-bezier(0,1,.5,1),background-color .5s,opacity .25s}.outline-title[data-v-b2afe6e7]{letter-spacing:.4px;line-height:28px;font-size:13px;font-weight:600}.VPDocAside[data-v-bf5b0a1a]{display:flex;flex-direction:column;flex-grow:1}.spacer[data-v-bf5b0a1a]{flex-grow:1}.VPDocAside[data-v-bf5b0a1a] .spacer+.VPDocAsideSponsors,.VPDocAside[data-v-bf5b0a1a] .spacer+.VPDocAsideCarbonAds{margin-top:24px}.VPDocAside[data-v-bf5b0a1a] .VPDocAsideSponsors+.VPDocAsideCarbonAds{margin-top:16px}.VPLastUpdated[data-v-3e59b6ea]{line-height:24px;font-size:14px;font-weight:500;color:var(--vp-c-text-2)}@media (min-width: 640px){.VPLastUpdated[data-v-3e59b6ea]{line-height:32px;font-size:14px;font-weight:500}}.VPDocFooter[data-v-af81018a]{margin-top:64px}.edit-info[data-v-af81018a]{padding-bottom:18px}@media (min-width: 640px){.edit-info[data-v-af81018a]{display:flex;justify-content:space-between;align-items:center;padding-bottom:14px}}.edit-link-button[data-v-af81018a]{display:flex;align-items:center;border:0;line-height:32px;font-size:14px;font-weight:500;color:var(--vp-c-brand-1);transition:color .25s}.edit-link-button[data-v-af81018a]:hover{color:var(--vp-c-brand-2)}.edit-link-icon[data-v-af81018a]{margin-right:8px;width:14px;height:14px;fill:currentColor}.prev-next[data-v-af81018a]{border-top:1px solid var(--vp-c-divider);padding-top:24px;display:grid;grid-row-gap:8px}@media (min-width: 640px){.prev-next[data-v-af81018a]{grid-template-columns:repeat(2,1fr);grid-column-gap:16px}}.pager-link[data-v-af81018a]{display:block;border:1px solid var(--vp-c-divider);border-radius:8px;padding:11px 16px 13px;width:100%;height:100%;transition:border-color .25s}.pager-link[data-v-af81018a]:hover{border-color:var(--vp-c-brand-1)}.pager-link.next[data-v-af81018a]{margin-left:auto;text-align:right}.desc[data-v-af81018a]{display:block;line-height:20px;font-size:12px;font-weight:500;color:var(--vp-c-text-2)}.title[data-v-af81018a]{display:block;line-height:20px;font-size:14px;font-weight:500;color:var(--vp-c-brand-1);transition:color .25s}.VPDocOutlineDropdown[data-v-50d70e3e]{margin-bottom:48px}.VPDocOutlineDropdown button[data-v-50d70e3e]{display:block;font-size:14px;font-weight:500;line-height:24px;border:1px solid var(--vp-c-border);padding:4px 12px;color:var(--vp-c-text-2);background-color:var(--vp-c-default-soft);border-radius:8px;transition:color .5s}.VPDocOutlineDropdown button[data-v-50d70e3e]:hover{color:var(--vp-c-text-1);transition:color .25s}.VPDocOutlineDropdown button.open[data-v-50d70e3e]{color:var(--vp-c-text-1)}.icon[data-v-50d70e3e]{display:inline-block;vertical-align:middle;width:16px;height:16px;fill:currentColor}[data-v-50d70e3e] .outline-link{font-size:14px;font-weight:400}.open>.icon[data-v-50d70e3e]{transform:rotate(90deg)}.items[data-v-50d70e3e]{margin-top:12px;border-left:1px solid var(--vp-c-divider)}.VPDoc[data-v-d6e7173f]{padding:32px 24px 96px;width:100%}.VPDoc .VPDocOutlineDropdown[data-v-d6e7173f]{display:none}@media (min-width: 960px) and (max-width: 1279px){.VPDoc .VPDocOutlineDropdown[data-v-d6e7173f]{display:block}}@media (min-width: 768px){.VPDoc[data-v-d6e7173f]{padding:48px 32px 128px}}@media (min-width: 960px){.VPDoc[data-v-d6e7173f]{padding:32px 32px 0}.VPDoc:not(.has-sidebar) .container[data-v-d6e7173f]{display:flex;justify-content:center;max-width:992px}.VPDoc:not(.has-sidebar) .content[data-v-d6e7173f]{max-width:752px}}@media (min-width: 1280px){.VPDoc .container[data-v-d6e7173f]{display:flex;justify-content:center}.VPDoc .aside[data-v-d6e7173f]{display:block}}@media (min-width: 1440px){.VPDoc:not(.has-sidebar) .content[data-v-d6e7173f]{max-width:784px}.VPDoc:not(.has-sidebar) .container[data-v-d6e7173f]{max-width:1104px}}.container[data-v-d6e7173f]{margin:0 auto;width:100%}.aside[data-v-d6e7173f]{position:relative;display:none;order:2;flex-grow:1;padding-left:32px;width:100%;max-width:256px}.left-aside[data-v-d6e7173f]{order:1;padding-left:unset;padding-right:32px}.aside-container[data-v-d6e7173f]{position:fixed;top:0;padding-top:calc(var(--vp-nav-height) + var(--vp-layout-top-height, 0px) + var(--vp-doc-top-height, 0px) + 32px);width:224px;height:100vh;overflow-x:hidden;overflow-y:auto;scrollbar-width:none}.aside-container[data-v-d6e7173f]::-webkit-scrollbar{display:none}.aside-curtain[data-v-d6e7173f]{position:fixed;bottom:0;z-index:10;width:224px;height:32px;background:linear-gradient(transparent,var(--vp-c-bg) 70%)}.aside-content[data-v-d6e7173f]{display:flex;flex-direction:column;min-height:calc(100vh - (var(--vp-nav-height) + var(--vp-layout-top-height, 0px) + 32px));padding-bottom:32px}.content[data-v-d6e7173f]{position:relative;margin:0 auto;width:100%}@media (min-width: 960px){.content[data-v-d6e7173f]{padding:0 32px 128px}}@media (min-width: 1280px){.content[data-v-d6e7173f]{order:1;margin:0;min-width:640px}}.content-container[data-v-d6e7173f]{margin:0 auto}.VPDoc.has-aside .content-container[data-v-d6e7173f]{max-width:688px}.external-link-icon-enabled :is(.vp-doc a[href*="://"][data-v-d6e7173f],.vp-doc a[target=_blank][data-v-d6e7173f]):after{content:"";color:currentColor}.VPButton[data-v-dab43781]{display:inline-block;border:1px solid transparent;text-align:center;font-weight:600;white-space:nowrap;transition:color .25s,border-color .25s,background-color .25s}.VPButton[data-v-dab43781]:active{transition:color .1s,border-color .1s,background-color .1s}.VPButton.medium[data-v-dab43781]{border-radius:20px;padding:0 20px;line-height:38px;font-size:14px}.VPButton.big[data-v-dab43781]{border-radius:24px;padding:0 24px;line-height:46px;font-size:16px}.VPButton.brand[data-v-dab43781]{border-color:var(--vp-button-brand-border);color:var(--vp-button-brand-text);background-color:var(--vp-button-brand-bg)}.VPButton.brand[data-v-dab43781]:hover{border-color:var(--vp-button-brand-hover-border);color:var(--vp-button-brand-hover-text);background-color:var(--vp-button-brand-hover-bg)}.VPButton.brand[data-v-dab43781]:active{border-color:var(--vp-button-brand-active-border);color:var(--vp-button-brand-active-text);background-color:var(--vp-button-brand-active-bg)}.VPButton.alt[data-v-dab43781]{border-color:var(--vp-button-alt-border);color:var(--vp-button-alt-text);background-color:var(--vp-button-alt-bg)}.VPButton.alt[data-v-dab43781]:hover{border-color:var(--vp-button-alt-hover-border);color:var(--vp-button-alt-hover-text);background-color:var(--vp-button-alt-hover-bg)}.VPButton.alt[data-v-dab43781]:active{border-color:var(--vp-button-alt-active-border);color:var(--vp-button-alt-active-text);background-color:var(--vp-button-alt-active-bg)}.VPButton.sponsor[data-v-dab43781]{border-color:var(--vp-button-sponsor-border);color:var(--vp-button-sponsor-text);background-color:var(--vp-button-sponsor-bg)}.VPButton.sponsor[data-v-dab43781]:hover{border-color:var(--vp-button-sponsor-hover-border);color:var(--vp-button-sponsor-hover-text);background-color:var(--vp-button-sponsor-hover-bg)}.VPButton.sponsor[data-v-dab43781]:active{border-color:var(--vp-button-sponsor-active-border);color:var(--vp-button-sponsor-active-text);background-color:var(--vp-button-sponsor-active-bg)}html:not(.dark) .VPImage.dark[data-v-5e9d3743]{display:none}.dark .VPImage.light[data-v-5e9d3743]{display:none}.VPHero[data-v-3d55d3ac]{margin-top:calc((var(--vp-nav-height) + var(--vp-layout-top-height, 0px)) * -1);padding:calc(var(--vp-nav-height) + var(--vp-layout-top-height, 0px) + 48px) 24px 48px}@media (min-width: 640px){.VPHero[data-v-3d55d3ac]{padding:calc(var(--vp-nav-height) + var(--vp-layout-top-height, 0px) + 80px) 48px 64px}}@media (min-width: 960px){.VPHero[data-v-3d55d3ac]{padding:calc(var(--vp-nav-height) + var(--vp-layout-top-height, 0px) + 80px) 64px 64px}}.container[data-v-3d55d3ac]{display:flex;flex-direction:column;margin:0 auto;max-width:1152px}@media (min-width: 960px){.container[data-v-3d55d3ac]{flex-direction:row}}.main[data-v-3d55d3ac]{position:relative;z-index:10;order:2;flex-grow:1;flex-shrink:0}.VPHero.has-image .container[data-v-3d55d3ac]{text-align:center}@media (min-width: 960px){.VPHero.has-image .container[data-v-3d55d3ac]{text-align:left}}@media (min-width: 960px){.main[data-v-3d55d3ac]{order:1;width:calc((100% / 3) * 2)}.VPHero.has-image .main[data-v-3d55d3ac]{max-width:592px}}.name[data-v-3d55d3ac],.text[data-v-3d55d3ac]{max-width:392px;letter-spacing:-.4px;line-height:40px;font-size:32px;font-weight:700;white-space:pre-wrap}.VPHero.has-image .name[data-v-3d55d3ac],.VPHero.has-image .text[data-v-3d55d3ac]{margin:0 auto}.name[data-v-3d55d3ac]{color:var(--vp-home-hero-name-color)}.clip[data-v-3d55d3ac]{background:var(--vp-home-hero-name-background);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:var(--vp-home-hero-name-color)}@media (min-width: 640px){.name[data-v-3d55d3ac],.text[data-v-3d55d3ac]{max-width:576px;line-height:56px;font-size:48px}}@media (min-width: 960px){.name[data-v-3d55d3ac],.text[data-v-3d55d3ac]{line-height:64px;font-size:56px}.VPHero.has-image .name[data-v-3d55d3ac],.VPHero.has-image .text[data-v-3d55d3ac]{margin:0}}.tagline[data-v-3d55d3ac]{padding-top:8px;max-width:392px;line-height:28px;font-size:18px;font-weight:500;white-space:pre-wrap;color:var(--vp-c-text-2)}.VPHero.has-image .tagline[data-v-3d55d3ac]{margin:0 auto}@media (min-width: 640px){.tagline[data-v-3d55d3ac]{padding-top:12px;max-width:576px;line-height:32px;font-size:20px}}@media (min-width: 960px){.tagline[data-v-3d55d3ac]{line-height:36px;font-size:24px}.VPHero.has-image .tagline[data-v-3d55d3ac]{margin:0}}.actions[data-v-3d55d3ac]{display:flex;flex-wrap:wrap;margin:-6px;padding-top:24px}.VPHero.has-image .actions[data-v-3d55d3ac]{justify-content:center}@media (min-width: 640px){.actions[data-v-3d55d3ac]{padding-top:32px}}@media (min-width: 960px){.VPHero.has-image .actions[data-v-3d55d3ac]{justify-content:flex-start}}.action[data-v-3d55d3ac]{flex-shrink:0;padding:6px}.image[data-v-3d55d3ac]{order:1;margin:-76px -24px -48px}@media (min-width: 640px){.image[data-v-3d55d3ac]{margin:-108px -24px -48px}}@media (min-width: 960px){.image[data-v-3d55d3ac]{flex-grow:1;order:2;margin:0;min-height:100%}}.image-container[data-v-3d55d3ac]{position:relative;margin:0 auto;width:320px;height:320px}@media (min-width: 640px){.image-container[data-v-3d55d3ac]{width:392px;height:392px}}@media (min-width: 960px){.image-container[data-v-3d55d3ac]{display:flex;justify-content:center;align-items:center;width:100%;height:100%;transform:translate(-32px,-32px)}}.image-bg[data-v-3d55d3ac]{position:absolute;top:50%;left:50%;border-radius:50%;width:192px;height:192px;background-image:var(--vp-home-hero-image-background-image);filter:var(--vp-home-hero-image-filter);transform:translate(-50%,-50%)}@media (min-width: 640px){.image-bg[data-v-3d55d3ac]{width:256px;height:256px}}@media (min-width: 960px){.image-bg[data-v-3d55d3ac]{width:320px;height:320px}}[data-v-3d55d3ac] .image-src{position:absolute;top:50%;left:50%;max-width:192px;max-height:192px;transform:translate(-50%,-50%)}@media (min-width: 640px){[data-v-3d55d3ac] .image-src{max-width:256px;max-height:256px}}@media (min-width: 960px){[data-v-3d55d3ac] .image-src{max-width:320px;max-height:320px}}.VPFeature[data-v-9e238735]{display:block;border:1px solid var(--vp-c-bg-soft);border-radius:12px;height:100%;background-color:var(--vp-c-bg-soft);transition:border-color .25s,background-color .25s}.VPFeature.link[data-v-9e238735]:hover{border-color:var(--vp-c-brand-1)}.box[data-v-9e238735]{display:flex;flex-direction:column;padding:24px;height:100%}.box[data-v-9e238735]>.VPImage{margin-bottom:20px}.icon[data-v-9e238735]{display:flex;justify-content:center;align-items:center;margin-bottom:20px;border-radius:6px;background-color:var(--vp-c-default-soft);width:48px;height:48px;font-size:24px;transition:background-color .25s}.title[data-v-9e238735]{line-height:24px;font-size:16px;font-weight:600}.details[data-v-9e238735]{flex-grow:1;padding-top:8px;line-height:24px;font-size:14px;font-weight:500;color:var(--vp-c-text-2)}.link-text[data-v-9e238735]{padding-top:8px}.link-text-value[data-v-9e238735]{display:flex;align-items:center;font-size:14px;font-weight:500;color:var(--vp-c-brand-1)}.link-text-icon[data-v-9e238735]{display:inline-block;margin-left:6px;width:14px;height:14px;fill:currentColor}.VPFeatures[data-v-ca45db35]{position:relative;padding:0 24px}@media (min-width: 640px){.VPFeatures[data-v-ca45db35]{padding:0 48px}}@media (min-width: 960px){.VPFeatures[data-v-ca45db35]{padding:0 64px}}.container[data-v-ca45db35]{margin:0 auto;max-width:1152px}.items[data-v-ca45db35]{display:flex;flex-wrap:wrap;margin:-8px}.item[data-v-ca45db35]{padding:8px;width:100%}@media (min-width: 640px){.item.grid-2[data-v-ca45db35],.item.grid-4[data-v-ca45db35],.item.grid-6[data-v-ca45db35]{width:50%}}@media (min-width: 768px){.item.grid-2[data-v-ca45db35],.item.grid-4[data-v-ca45db35]{width:50%}.item.grid-3[data-v-ca45db35],.item.grid-6[data-v-ca45db35]{width:calc(100% / 3)}}@media (min-width: 960px){.item.grid-4[data-v-ca45db35]{width:25%}}.VPHome[data-v-01afa548]{padding-bottom:96px}.VPHome[data-v-01afa548] .VPHomeSponsors{margin-top:112px;margin-bottom:-128px}@media (min-width: 768px){.VPHome[data-v-01afa548]{padding-bottom:128px}}.VPContent[data-v-3c9d3bd7]{flex-grow:1;flex-shrink:0;margin:var(--vp-layout-top-height, 0px) auto 0;width:100%}.VPContent.is-home[data-v-3c9d3bd7]{width:100%;max-width:100%}.VPContent.has-sidebar[data-v-3c9d3bd7]{margin:0}@media (min-width: 960px){.VPContent[data-v-3c9d3bd7]{padding-top:var(--vp-nav-height)}.VPContent.has-sidebar[data-v-3c9d3bd7]{margin:var(--vp-layout-top-height, 0px) 0 0;padding-left:var(--vp-sidebar-width)}}@media (min-width: 1440px){.VPContent.has-sidebar[data-v-3c9d3bd7]{padding-right:calc((100vw - var(--vp-layout-max-width)) / 2);padding-left:calc((100vw - var(--vp-layout-max-width)) / 2 + var(--vp-sidebar-width))}}.VPFooter[data-v-119c886c]{position:relative;z-index:var(--vp-z-index-footer);border-top:1px solid var(--vp-c-gutter);padding:32px 24px;background-color:var(--vp-c-bg)}.VPFooter.has-sidebar[data-v-119c886c]{display:none}.VPFooter[data-v-119c886c] a{text-decoration-line:underline;text-underline-offset:2px;transition:color .25s}.VPFooter[data-v-119c886c] a:hover{color:var(--vp-c-text-1)}@media (min-width: 768px){.VPFooter[data-v-119c886c]{padding:32px}}.container[data-v-119c886c]{margin:0 auto;max-width:var(--vp-layout-max-width);text-align:center}.message[data-v-119c886c],.copyright[data-v-119c886c]{line-height:24px;font-size:14px;font-weight:500;color:var(--vp-c-text-2)}.VPLocalNavOutlineDropdown[data-v-5033ea2f]{padding:12px 20px 11px}.VPLocalNavOutlineDropdown button[data-v-5033ea2f]{display:block;font-size:12px;font-weight:500;line-height:24px;color:var(--vp-c-text-2);transition:color .5s;position:relative}.VPLocalNavOutlineDropdown button[data-v-5033ea2f]:hover{color:var(--vp-c-text-1);transition:color .25s}.VPLocalNavOutlineDropdown button.open[data-v-5033ea2f]{color:var(--vp-c-text-1)}.icon[data-v-5033ea2f]{display:inline-block;vertical-align:middle;margin-left:2px;width:14px;height:14px;fill:currentColor}[data-v-5033ea2f] .outline-link{font-size:14px;padding:2px 0}.open>.icon[data-v-5033ea2f]{transform:rotate(90deg)}.items[data-v-5033ea2f]{position:absolute;top:64px;right:16px;left:16px;display:grid;gap:1px;border:1px solid var(--vp-c-border);border-radius:8px;background-color:var(--vp-c-gutter);max-height:calc(var(--vp-vh, 100vh) - 86px);overflow:hidden auto;box-shadow:var(--vp-shadow-3)}.header[data-v-5033ea2f]{background-color:var(--vp-c-bg-soft)}.top-link[data-v-5033ea2f]{display:block;padding:0 16px;line-height:48px;font-size:14px;font-weight:500;color:var(--vp-c-brand-1)}.outline[data-v-5033ea2f]{padding:8px 0;background-color:var(--vp-c-bg-soft)}.flyout-enter-active[data-v-5033ea2f]{transition:all .2s ease-out}.flyout-leave-active[data-v-5033ea2f]{transition:all .15s ease-in}.flyout-enter-from[data-v-5033ea2f],.flyout-leave-to[data-v-5033ea2f]{opacity:0;transform:translateY(-16px)}.VPLocalNav[data-v-152dc0a6]{position:sticky;top:0;left:0;z-index:var(--vp-z-index-local-nav);display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--vp-c-gutter);border-bottom:1px solid var(--vp-c-gutter);padding-top:var(--vp-layout-top-height, 0px);width:100%;background-color:var(--vp-local-nav-bg-color)}.VPLocalNav.fixed[data-v-152dc0a6]{position:fixed}.VPLocalNav.reached-top[data-v-152dc0a6]{border-top-color:transparent}@media (min-width: 960px){.VPLocalNav[data-v-152dc0a6]{display:none}}.menu[data-v-152dc0a6]{display:flex;align-items:center;padding:12px 24px 11px;line-height:24px;font-size:12px;font-weight:500;color:var(--vp-c-text-2);transition:color .5s}.menu[data-v-152dc0a6]:hover{color:var(--vp-c-text-1);transition:color .25s}@media (min-width: 768px){.menu[data-v-152dc0a6]{padding:0 32px}}.menu-icon[data-v-152dc0a6]{margin-right:8px;width:16px;height:16px;fill:currentColor}.VPOutlineDropdown[data-v-152dc0a6]{padding:12px 24px 11px}@media (min-width: 768px){.VPOutlineDropdown[data-v-152dc0a6]{padding:12px 32px 11px}}.VPSwitch[data-v-a376846d]{position:relative;border-radius:11px;display:block;width:40px;height:22px;flex-shrink:0;border:1px solid var(--vp-input-border-color);background-color:var(--vp-input-switch-bg-color);transition:border-color .25s!important}.VPSwitch[data-v-a376846d]:hover{border-color:var(--vp-c-brand-1)}.check[data-v-a376846d]{position:absolute;top:1px;left:1px;width:18px;height:18px;border-radius:50%;background-color:var(--vp-c-neutral-inverse);box-shadow:var(--vp-shadow-1);transition:transform .25s!important}.icon[data-v-a376846d]{position:relative;display:block;width:18px;height:18px;border-radius:50%;overflow:hidden}.icon[data-v-a376846d] svg{position:absolute;top:3px;left:3px;width:12px;height:12px;fill:var(--vp-c-text-2)}.dark .icon[data-v-a376846d] svg{fill:var(--vp-c-text-1);transition:opacity .25s!important}.sun[data-v-ad0435dc]{opacity:1}.moon[data-v-ad0435dc],.dark .sun[data-v-ad0435dc]{opacity:0}.dark .moon[data-v-ad0435dc]{opacity:1}.dark .VPSwitchAppearance[data-v-ad0435dc] .check{transform:translate(18px)}.VPNavBarAppearance[data-v-b7841039]{display:none}@media (min-width: 1280px){.VPNavBarAppearance[data-v-b7841039]{display:flex;align-items:center}}.VPMenuGroup+.VPMenuLink[data-v-37b2c1b0]{margin:12px -12px 0;border-top:1px solid var(--vp-c-divider);padding:12px 12px 0}.link[data-v-37b2c1b0]{display:block;border-radius:6px;padding:0 12px;line-height:32px;font-size:14px;font-weight:500;color:var(--vp-c-text-1);white-space:nowrap;transition:background-color .25s,color .25s}.link[data-v-37b2c1b0]:hover{color:var(--vp-c-brand-1);background-color:var(--vp-c-default-soft)}.link.active[data-v-37b2c1b0]{color:var(--vp-c-brand-1)}.VPMenuGroup[data-v-677038ba]{margin:12px -12px 0;border-top:1px solid var(--vp-c-divider);padding:12px 12px 0}.VPMenuGroup[data-v-677038ba]:first-child{margin-top:0;border-top:0;padding-top:0}.VPMenuGroup+.VPMenuGroup[data-v-677038ba]{margin-top:12px;border-top:1px solid var(--vp-c-divider)}.title[data-v-677038ba]{padding:0 12px;line-height:32px;font-size:14px;font-weight:600;color:var(--vp-c-text-2);white-space:nowrap;transition:color .25s}.VPMenu[data-v-e092295d]{border-radius:12px;padding:12px;min-width:128px;border:1px solid var(--vp-c-divider);background-color:var(--vp-c-bg-elv);box-shadow:var(--vp-shadow-3);transition:background-color .5s;max-height:calc(100vh - var(--vp-nav-height));overflow-y:auto}.VPMenu[data-v-e092295d] .group{margin:0 -12px;padding:0 12px 12px}.VPMenu[data-v-e092295d] .group+.group{border-top:1px solid var(--vp-c-divider);padding:11px 12px 12px}.VPMenu[data-v-e092295d] .group:last-child{padding-bottom:0}.VPMenu[data-v-e092295d] .group+.item{border-top:1px solid var(--vp-c-divider);padding:11px 16px 0}.VPMenu[data-v-e092295d] .item{padding:0 16px;white-space:nowrap}.VPMenu[data-v-e092295d] .label{flex-grow:1;line-height:28px;font-size:12px;font-weight:500;color:var(--vp-c-text-2);transition:color .5s}.VPMenu[data-v-e092295d] .action{padding-left:24px}.VPFlyout[data-v-4503a85a]{position:relative}.VPFlyout[data-v-4503a85a]:hover{color:var(--vp-c-brand-1);transition:color .25s}.VPFlyout:hover .text[data-v-4503a85a]{color:var(--vp-c-text-2)}.VPFlyout:hover .icon[data-v-4503a85a]{fill:var(--vp-c-text-2)}.VPFlyout.active .text[data-v-4503a85a]{color:var(--vp-c-brand-1)}.VPFlyout.active:hover .text[data-v-4503a85a]{color:var(--vp-c-brand-2)}.VPFlyout:hover .menu[data-v-4503a85a],.button[aria-expanded=true]+.menu[data-v-4503a85a]{opacity:1;visibility:visible;transform:translateY(0)}.button[aria-expanded=false]+.menu[data-v-4503a85a]{opacity:0;visibility:hidden;transform:translateY(0)}.button[data-v-4503a85a]{display:flex;align-items:center;padding:0 12px;height:var(--vp-nav-height);color:var(--vp-c-text-1);transition:color .5s}.text[data-v-4503a85a]{display:flex;align-items:center;line-height:var(--vp-nav-height);font-size:14px;font-weight:500;color:var(--vp-c-text-1);transition:color .25s}.option-icon[data-v-4503a85a]{margin-right:0;width:16px;height:16px;fill:currentColor}.text-icon[data-v-4503a85a]{margin-left:4px;width:14px;height:14px;fill:currentColor}.icon[data-v-4503a85a]{width:20px;height:20px;fill:currentColor;transition:fill .25s}.menu[data-v-4503a85a]{position:absolute;top:calc(var(--vp-nav-height) / 2 + 20px);right:0;opacity:0;visibility:hidden;transition:opacity .25s,visibility .25s,transform .25s}.VPSocialLink[data-v-3fe18e52]{display:flex;justify-content:center;align-items:center;width:36px;height:36px;color:var(--vp-c-text-2);transition:color .5s}.VPSocialLink[data-v-3fe18e52]:hover{color:var(--vp-c-text-1);transition:color .25s}.VPSocialLink[data-v-3fe18e52]>svg{width:20px;height:20px;fill:currentColor}.VPSocialLinks[data-v-68495ffe]{display:flex;justify-content:center}.VPNavBarExtra[data-v-e63311d1]{display:none;margin-right:-12px}@media (min-width: 768px){.VPNavBarExtra[data-v-e63311d1]{display:block}}@media (min-width: 1280px){.VPNavBarExtra[data-v-e63311d1]{display:none}}.trans-title[data-v-e63311d1]{padding:0 24px 0 12px;line-height:32px;font-size:14px;font-weight:700;color:var(--vp-c-text-1)}.item.appearance[data-v-e63311d1],.item.social-links[data-v-e63311d1]{display:flex;align-items:center;padding:0 12px}.item.appearance[data-v-e63311d1]{min-width:176px}.appearance-action[data-v-e63311d1]{margin-right:-2px}.social-links-list[data-v-e63311d1]{margin:-4px -8px}.VPNavBarHamburger[data-v-86747396]{display:flex;justify-content:center;align-items:center;width:48px;height:var(--vp-nav-height)}@media (min-width: 768px){.VPNavBarHamburger[data-v-86747396]{display:none}}.container[data-v-86747396]{position:relative;width:16px;height:14px;overflow:hidden}.VPNavBarHamburger:hover .top[data-v-86747396]{top:0;left:0;transform:translate(4px)}.VPNavBarHamburger:hover .middle[data-v-86747396]{top:6px;left:0;transform:translate(0)}.VPNavBarHamburger:hover .bottom[data-v-86747396]{top:12px;left:0;transform:translate(8px)}.VPNavBarHamburger.active .top[data-v-86747396]{top:6px;transform:translate(0) rotate(225deg)}.VPNavBarHamburger.active .middle[data-v-86747396]{top:6px;transform:translate(16px)}.VPNavBarHamburger.active .bottom[data-v-86747396]{top:6px;transform:translate(0) rotate(135deg)}.VPNavBarHamburger.active:hover .top[data-v-86747396],.VPNavBarHamburger.active:hover .middle[data-v-86747396],.VPNavBarHamburger.active:hover .bottom[data-v-86747396]{background-color:var(--vp-c-text-2);transition:top .25s,background-color .25s,transform .25s}.top[data-v-86747396],.middle[data-v-86747396],.bottom[data-v-86747396]{position:absolute;width:16px;height:2px;background-color:var(--vp-c-text-1);transition:top .25s,background-color .5s,transform .25s}.top[data-v-86747396]{top:0;left:0;transform:translate(0)}.middle[data-v-86747396]{top:6px;left:0;transform:translate(8px)}.bottom[data-v-86747396]{top:12px;left:0;transform:translate(4px)}.VPNavBarMenuLink[data-v-df5294d2]{display:flex;align-items:center;padding:0 12px;line-height:var(--vp-nav-height);font-size:14px;font-weight:500;color:var(--vp-c-text-1);transition:color .25s}.VPNavBarMenuLink.active[data-v-df5294d2],.VPNavBarMenuLink[data-v-df5294d2]:hover{color:var(--vp-c-brand-1)}.VPNavBarMenu[data-v-1bbcfa39]{display:none}@media (min-width: 768px){.VPNavBarMenu[data-v-1bbcfa39]{display:flex}}/*! @docsearch/css 3.6.1 | MIT License | © Algolia, Inc. and contributors | https://docsearch.algolia.com */:root{--docsearch-primary-color:#5468ff;--docsearch-text-color:#1c1e21;--docsearch-spacing:12px;--docsearch-icon-stroke-width:1.4;--docsearch-highlight-color:var(--docsearch-primary-color);--docsearch-muted-color:#969faf;--docsearch-container-background:rgba(101,108,133,.8);--docsearch-logo-color:#5468ff;--docsearch-modal-width:560px;--docsearch-modal-height:600px;--docsearch-modal-background:#f5f6f7;--docsearch-modal-shadow:inset 1px 1px 0 0 hsla(0,0%,100%,.5),0 3px 8px 0 #555a64;--docsearch-searchbox-height:56px;--docsearch-searchbox-background:#ebedf0;--docsearch-searchbox-focus-background:#fff;--docsearch-searchbox-shadow:inset 0 0 0 2px var(--docsearch-primary-color);--docsearch-hit-height:56px;--docsearch-hit-color:#444950;--docsearch-hit-active-color:#fff;--docsearch-hit-background:#fff;--docsearch-hit-shadow:0 1px 3px 0 #d4d9e1;--docsearch-key-gradient:linear-gradient(-225deg,#d5dbe4,#f8f8f8);--docsearch-key-shadow:inset 0 -2px 0 0 #cdcde6,inset 0 0 1px 1px #fff,0 1px 2px 1px rgba(30,35,90,.4);--docsearch-key-pressed-shadow:inset 0 -2px 0 0 #cdcde6,inset 0 0 1px 1px #fff,0 1px 1px 0 rgba(30,35,90,.4);--docsearch-footer-height:44px;--docsearch-footer-background:#fff;--docsearch-footer-shadow:0 -1px 0 0 #e0e3e8,0 -3px 6px 0 rgba(69,98,155,.12)}html[data-theme=dark]{--docsearch-text-color:#f5f6f7;--docsearch-container-background:rgba(9,10,17,.8);--docsearch-modal-background:#15172a;--docsearch-modal-shadow:inset 1px 1px 0 0 #2c2e40,0 3px 8px 0 #000309;--docsearch-searchbox-background:#090a11;--docsearch-searchbox-focus-background:#000;--docsearch-hit-color:#bec3c9;--docsearch-hit-shadow:none;--docsearch-hit-background:#090a11;--docsearch-key-gradient:linear-gradient(-26.5deg,#565872,#31355b);--docsearch-key-shadow:inset 0 -2px 0 0 #282d55,inset 0 0 1px 1px #51577d,0 2px 2px 0 rgba(3,4,9,.3);--docsearch-key-pressed-shadow:inset 0 -2px 0 0 #282d55,inset 0 0 1px 1px #51577d,0 1px 1px 0 rgba(3,4,9,.30196078431372547);--docsearch-footer-background:#1e2136;--docsearch-footer-shadow:inset 0 1px 0 0 rgba(73,76,106,.5),0 -4px 8px 0 rgba(0,0,0,.2);--docsearch-logo-color:#fff;--docsearch-muted-color:#7f8497}.DocSearch-Button{align-items:center;background:var(--docsearch-searchbox-background);border:0;border-radius:40px;color:var(--docsearch-muted-color);cursor:pointer;display:flex;font-weight:500;height:36px;justify-content:space-between;margin:0 0 0 16px;padding:0 8px;-webkit-user-select:none;user-select:none}.DocSearch-Button:active,.DocSearch-Button:focus,.DocSearch-Button:hover{background:var(--docsearch-searchbox-focus-background);box-shadow:var(--docsearch-searchbox-shadow);color:var(--docsearch-text-color);outline:none}.DocSearch-Button-Container{align-items:center;display:flex}.DocSearch-Search-Icon{stroke-width:1.6}.DocSearch-Button .DocSearch-Search-Icon{color:var(--docsearch-text-color)}.DocSearch-Button-Placeholder{font-size:1rem;padding:0 12px 0 6px}.DocSearch-Button-Keys{display:flex;min-width:calc(40px + .8em)}.DocSearch-Button-Key{align-items:center;background:var(--docsearch-key-gradient);border-radius:3px;box-shadow:var(--docsearch-key-shadow);color:var(--docsearch-muted-color);display:flex;height:18px;justify-content:center;margin-right:.4em;position:relative;padding:0 0 2px;border:0;top:-1px;width:20px}.DocSearch-Button-Key--pressed{transform:translate3d(0,1px,0);box-shadow:var(--docsearch-key-pressed-shadow)}@media (max-width:768px){.DocSearch-Button-Keys,.DocSearch-Button-Placeholder{display:none}}.DocSearch--active{overflow:hidden!important}.DocSearch-Container,.DocSearch-Container *{box-sizing:border-box}.DocSearch-Container{background-color:var(--docsearch-container-background);height:100vh;left:0;position:fixed;top:0;width:100vw;z-index:200}.DocSearch-Container a{text-decoration:none}.DocSearch-Link{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;color:var(--docsearch-highlight-color);cursor:pointer;font:inherit;margin:0;padding:0}.DocSearch-Modal{background:var(--docsearch-modal-background);border-radius:6px;box-shadow:var(--docsearch-modal-shadow);flex-direction:column;margin:60px auto auto;max-width:var(--docsearch-modal-width);position:relative}.DocSearch-SearchBar{display:flex;padding:var(--docsearch-spacing) var(--docsearch-spacing) 0}.DocSearch-Form{align-items:center;background:var(--docsearch-searchbox-focus-background);border-radius:4px;box-shadow:var(--docsearch-searchbox-shadow);display:flex;height:var(--docsearch-searchbox-height);margin:0;padding:0 var(--docsearch-spacing);position:relative;width:100%}.DocSearch-Input{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;border:0;color:var(--docsearch-text-color);flex:1;font:inherit;font-size:1.2em;height:100%;outline:none;padding:0 0 0 8px;width:80%}.DocSearch-Input::placeholder{color:var(--docsearch-muted-color);opacity:1}.DocSearch-Input::-webkit-search-cancel-button,.DocSearch-Input::-webkit-search-decoration,.DocSearch-Input::-webkit-search-results-button,.DocSearch-Input::-webkit-search-results-decoration{display:none}.DocSearch-LoadingIndicator,.DocSearch-MagnifierLabel,.DocSearch-Reset{margin:0;padding:0}.DocSearch-MagnifierLabel,.DocSearch-Reset{align-items:center;color:var(--docsearch-highlight-color);display:flex;justify-content:center}.DocSearch-Container--Stalled .DocSearch-MagnifierLabel,.DocSearch-LoadingIndicator{display:none}.DocSearch-Container--Stalled .DocSearch-LoadingIndicator{align-items:center;color:var(--docsearch-highlight-color);display:flex;justify-content:center}@media screen and (prefers-reduced-motion:reduce){.DocSearch-Reset{animation:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;border-radius:50%;color:var(--docsearch-icon-color);cursor:pointer;right:0;stroke-width:var(--docsearch-icon-stroke-width)}}.DocSearch-Reset{animation:fade-in .1s ease-in forwards;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;border-radius:50%;color:var(--docsearch-icon-color);cursor:pointer;padding:2px;right:0;stroke-width:var(--docsearch-icon-stroke-width)}.DocSearch-Reset[hidden]{display:none}.DocSearch-Reset:hover{color:var(--docsearch-highlight-color)}.DocSearch-LoadingIndicator svg,.DocSearch-MagnifierLabel svg{height:24px;width:24px}.DocSearch-Cancel{display:none}.DocSearch-Dropdown{max-height:calc(var(--docsearch-modal-height) - var(--docsearch-searchbox-height) - var(--docsearch-spacing) - var(--docsearch-footer-height));min-height:var(--docsearch-spacing);overflow-y:auto;overflow-y:overlay;padding:0 var(--docsearch-spacing);scrollbar-color:var(--docsearch-muted-color) var(--docsearch-modal-background);scrollbar-width:thin}.DocSearch-Dropdown::-webkit-scrollbar{width:12px}.DocSearch-Dropdown::-webkit-scrollbar-track{background:transparent}.DocSearch-Dropdown::-webkit-scrollbar-thumb{background-color:var(--docsearch-muted-color);border:3px solid var(--docsearch-modal-background);border-radius:20px}.DocSearch-Dropdown ul{list-style:none;margin:0;padding:0}.DocSearch-Label{font-size:.75em;line-height:1.6em}.DocSearch-Help,.DocSearch-Label{color:var(--docsearch-muted-color)}.DocSearch-Help{font-size:.9em;margin:0;-webkit-user-select:none;user-select:none}.DocSearch-Title{font-size:1.2em}.DocSearch-Logo a{display:flex}.DocSearch-Logo svg{color:var(--docsearch-logo-color);margin-left:8px}.DocSearch-Hits:last-of-type{margin-bottom:24px}.DocSearch-Hits mark{background:none;color:var(--docsearch-highlight-color)}.DocSearch-HitsFooter{color:var(--docsearch-muted-color);display:flex;font-size:.85em;justify-content:center;margin-bottom:var(--docsearch-spacing);padding:var(--docsearch-spacing)}.DocSearch-HitsFooter a{border-bottom:1px solid;color:inherit}.DocSearch-Hit{border-radius:4px;display:flex;padding-bottom:4px;position:relative}@media screen and (prefers-reduced-motion:reduce){.DocSearch-Hit--deleting{transition:none}}.DocSearch-Hit--deleting{opacity:0;transition:all .25s linear}@media screen and (prefers-reduced-motion:reduce){.DocSearch-Hit--favoriting{transition:none}}.DocSearch-Hit--favoriting{transform:scale(0);transform-origin:top center;transition:all .25s linear;transition-delay:.25s}.DocSearch-Hit a{background:var(--docsearch-hit-background);border-radius:4px;box-shadow:var(--docsearch-hit-shadow);display:block;padding-left:var(--docsearch-spacing);width:100%}.DocSearch-Hit-source{background:var(--docsearch-modal-background);color:var(--docsearch-highlight-color);font-size:.85em;font-weight:600;line-height:32px;margin:0 -4px;padding:8px 4px 0;position:sticky;top:0;z-index:10}.DocSearch-Hit-Tree{color:var(--docsearch-muted-color);height:var(--docsearch-hit-height);opacity:.5;stroke-width:var(--docsearch-icon-stroke-width);width:24px}.DocSearch-Hit[aria-selected=true] a{background-color:var(--docsearch-highlight-color)}.DocSearch-Hit[aria-selected=true] mark{text-decoration:underline}.DocSearch-Hit-Container{align-items:center;color:var(--docsearch-hit-color);display:flex;flex-direction:row;height:var(--docsearch-hit-height);padding:0 var(--docsearch-spacing) 0 0}.DocSearch-Hit-icon{height:20px;width:20px}.DocSearch-Hit-action,.DocSearch-Hit-icon{color:var(--docsearch-muted-color);stroke-width:var(--docsearch-icon-stroke-width)}.DocSearch-Hit-action{align-items:center;display:flex;height:22px;width:22px}.DocSearch-Hit-action svg{display:block;height:18px;width:18px}.DocSearch-Hit-action+.DocSearch-Hit-action{margin-left:6px}.DocSearch-Hit-action-button{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;border-radius:50%;color:inherit;cursor:pointer;padding:2px}svg.DocSearch-Hit-Select-Icon{display:none}.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-Select-Icon{display:block}.DocSearch-Hit-action-button:focus,.DocSearch-Hit-action-button:hover{background:#0003;transition:background-color .1s ease-in}@media screen and (prefers-reduced-motion:reduce){.DocSearch-Hit-action-button:focus,.DocSearch-Hit-action-button:hover{transition:none}}.DocSearch-Hit-action-button:focus path,.DocSearch-Hit-action-button:hover path{fill:#fff}.DocSearch-Hit-content-wrapper{display:flex;flex:1 1 auto;flex-direction:column;font-weight:500;justify-content:center;line-height:1.2em;margin:0 8px;overflow-x:hidden;position:relative;text-overflow:ellipsis;white-space:nowrap;width:80%}.DocSearch-Hit-title{font-size:.9em}.DocSearch-Hit-path{color:var(--docsearch-muted-color);font-size:.75em}.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-action,.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-icon,.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-path,.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-text,.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-title,.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-Tree,.DocSearch-Hit[aria-selected=true] mark{color:var(--docsearch-hit-active-color)!important}@media screen and (prefers-reduced-motion:reduce){.DocSearch-Hit-action-button:focus,.DocSearch-Hit-action-button:hover{background:#0003;transition:none}}.DocSearch-ErrorScreen,.DocSearch-NoResults,.DocSearch-StartScreen{font-size:.9em;margin:0 auto;padding:36px 0;text-align:center;width:80%}.DocSearch-Screen-Icon{color:var(--docsearch-muted-color);padding-bottom:12px}.DocSearch-NoResults-Prefill-List{display:inline-block;padding-bottom:24px;text-align:left}.DocSearch-NoResults-Prefill-List ul{display:inline-block;padding:8px 0 0}.DocSearch-NoResults-Prefill-List li{list-style-position:inside;list-style-type:"» "}.DocSearch-Prefill{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;border-radius:1em;color:var(--docsearch-highlight-color);cursor:pointer;display:inline-block;font-size:1em;font-weight:700;padding:0}.DocSearch-Prefill:focus,.DocSearch-Prefill:hover{outline:none;text-decoration:underline}.DocSearch-Footer{align-items:center;background:var(--docsearch-footer-background);border-radius:0 0 8px 8px;box-shadow:var(--docsearch-footer-shadow);display:flex;flex-direction:row-reverse;flex-shrink:0;height:var(--docsearch-footer-height);justify-content:space-between;padding:0 var(--docsearch-spacing);position:relative;-webkit-user-select:none;user-select:none;width:100%;z-index:300}.DocSearch-Commands{color:var(--docsearch-muted-color);display:flex;list-style:none;margin:0;padding:0}.DocSearch-Commands li{align-items:center;display:flex}.DocSearch-Commands li:not(:last-of-type){margin-right:.8em}.DocSearch-Commands-Key{align-items:center;background:var(--docsearch-key-gradient);border-radius:2px;box-shadow:var(--docsearch-key-shadow);display:flex;height:18px;justify-content:center;margin-right:.4em;padding:0 0 1px;color:var(--docsearch-muted-color);border:0;width:20px}.DocSearch-VisuallyHiddenForAccessibility{clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}@media (max-width:768px){:root{--docsearch-spacing:10px;--docsearch-footer-height:40px}.DocSearch-Dropdown{height:100%}.DocSearch-Container{height:100vh;height:-webkit-fill-available;height:calc(var(--docsearch-vh, 1vh)*100);position:absolute}.DocSearch-Footer{border-radius:0;bottom:0;position:absolute}.DocSearch-Hit-content-wrapper{display:flex;position:relative;width:80%}.DocSearch-Modal{border-radius:0;box-shadow:none;height:100vh;height:-webkit-fill-available;height:calc(var(--docsearch-vh, 1vh)*100);margin:0;max-width:100%;width:100%}.DocSearch-Dropdown{max-height:calc(var(--docsearch-vh, 1vh)*100 - var(--docsearch-searchbox-height) - var(--docsearch-spacing) - var(--docsearch-footer-height))}.DocSearch-Cancel{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;color:var(--docsearch-highlight-color);cursor:pointer;display:inline-block;flex:none;font:inherit;font-size:1em;font-weight:500;margin-left:var(--docsearch-spacing);outline:none;overflow:hidden;padding:0;-webkit-user-select:none;user-select:none;white-space:nowrap}.DocSearch-Commands,.DocSearch-Hit-Tree{display:none}}@keyframes fade-in{0%{opacity:0}to{opacity:1}}[class*=DocSearch]{--docsearch-primary-color: var(--vp-c-brand-1);--docsearch-highlight-color: var(--docsearch-primary-color);--docsearch-text-color: var(--vp-c-text-1);--docsearch-muted-color: var(--vp-c-text-2);--docsearch-searchbox-shadow: none;--docsearch-searchbox-background: transparent;--docsearch-searchbox-focus-background: transparent;--docsearch-key-gradient: transparent;--docsearch-key-shadow: none;--docsearch-modal-background: var(--vp-c-bg-soft);--docsearch-footer-background: var(--vp-c-bg)}.dark [class*=DocSearch]{--docsearch-modal-shadow: none;--docsearch-footer-shadow: none;--docsearch-logo-color: var(--vp-c-text-2);--docsearch-hit-background: var(--vp-c-default-soft);--docsearch-hit-color: var(--vp-c-text-2);--docsearch-hit-shadow: none}.DocSearch-Button{display:flex;justify-content:center;align-items:center;margin:0;padding:0;width:48px;height:55px;background:transparent;transition:border-color .25s}.DocSearch-Button:hover{background:transparent}.DocSearch-Button:focus{outline:1px dotted;outline:5px auto -webkit-focus-ring-color}.DocSearch-Button:focus:not(:focus-visible){outline:none!important}@media (min-width: 768px){.DocSearch-Button{justify-content:flex-start;border:1px solid transparent;border-radius:8px;padding:0 10px 0 12px;width:100%;height:40px;background-color:var(--vp-c-bg-alt)}.DocSearch-Button:hover{border-color:var(--vp-c-brand-1);background:var(--vp-c-bg-alt)}}.DocSearch-Button .DocSearch-Button-Container{display:flex;align-items:center}.DocSearch-Button .DocSearch-Search-Icon{position:relative;width:16px;height:16px;color:var(--vp-c-text-1);fill:currentColor;transition:color .5s}.DocSearch-Button:hover .DocSearch-Search-Icon{color:var(--vp-c-text-1)}@media (min-width: 768px){.DocSearch-Button .DocSearch-Search-Icon{top:1px;margin-right:8px;width:14px;height:14px;color:var(--vp-c-text-2)}}.DocSearch-Button .DocSearch-Button-Placeholder{display:none;margin-top:2px;padding:0 16px 0 0;font-size:13px;font-weight:500;color:var(--vp-c-text-2);transition:color .5s}.DocSearch-Button:hover .DocSearch-Button-Placeholder{color:var(--vp-c-text-1)}@media (min-width: 768px){.DocSearch-Button .DocSearch-Button-Placeholder{display:inline-block}}.DocSearch-Button .DocSearch-Button-Keys{direction:ltr;display:none;min-width:auto}@media (min-width: 768px){.DocSearch-Button .DocSearch-Button-Keys{display:flex;align-items:center}}.DocSearch-Button .DocSearch-Button-Key{display:block;margin:2px 0 0;border:1px solid var(--vp-c-divider);border-right:none;border-radius:4px 0 0 4px;padding-left:6px;min-width:0;width:auto;height:22px;line-height:22px;font-family:var(--vp-font-family-base);font-size:12px;font-weight:500;transition:color .5s,border-color .5s}.DocSearch-Button .DocSearch-Button-Key+.DocSearch-Button-Key{border-right:1px solid var(--vp-c-divider);border-left:none;border-radius:0 4px 4px 0;padding-left:2px;padding-right:6px}.DocSearch-Button .DocSearch-Button-Key:first-child{font-size:0!important}.DocSearch-Button .DocSearch-Button-Key:first-child:after{content:"Ctrl";font-size:12px;letter-spacing:normal;color:var(--docsearch-muted-color)}.mac .DocSearch-Button .DocSearch-Button-Key:first-child:after{content:"⌘"}.DocSearch-Button .DocSearch-Button-Key:first-child>*{display:none}.VPNavBarSearch{display:flex;align-items:center}@media (min-width: 768px){.VPNavBarSearch{flex-grow:1;padding-left:24px}}@media (min-width: 960px){.VPNavBarSearch{padding-left:32px}}.dark .DocSearch-Footer{border-top:1px solid var(--vp-c-divider)}.DocSearch-Form{border:1px solid var(--vp-c-brand-1);background-color:var(--vp-c-white)}.dark .DocSearch-Form{background-color:var(--vp-c-default-soft)}.DocSearch-Screen-Icon>svg{margin:auto}.VPNavBarSocialLinks[data-v-1c3e0170]{display:none}@media (min-width: 1280px){.VPNavBarSocialLinks[data-v-1c3e0170]{display:flex;align-items:center}}.title[data-v-8eeccf5d]{display:flex;align-items:center;border-bottom:1px solid transparent;width:100%;height:var(--vp-nav-height);font-size:16px;font-weight:600;color:var(--vp-c-text-1);transition:opacity .25s}@media (min-width: 960px){.title[data-v-8eeccf5d]{flex-shrink:0}.VPNavBarTitle.has-sidebar .title[data-v-8eeccf5d]{border-bottom-color:var(--vp-c-divider)}}[data-v-8eeccf5d] .logo{margin-right:8px;height:var(--vp-nav-logo-height)}.VPNavBarTranslations[data-v-b3619d6c]{display:none}@media (min-width: 1280px){.VPNavBarTranslations[data-v-b3619d6c]{display:flex;align-items:center}}.title[data-v-b3619d6c]{padding:0 24px 0 12px;line-height:32px;font-size:14px;font-weight:700;color:var(--vp-c-text-1)}.VPNavBar[data-v-78bbe7f7]{position:relative;border-bottom:1px solid transparent;padding:0 8px 0 24px;height:var(--vp-nav-height);pointer-events:none;white-space:nowrap}@media (min-width: 768px){.VPNavBar[data-v-78bbe7f7]{padding:0 32px}}@media (min-width: 960px){.VPNavBar.has-sidebar[data-v-78bbe7f7]{padding:0}.VPNavBar[data-v-78bbe7f7]:not(.has-sidebar):not(.top){border-bottom-color:var(--vp-c-gutter);background-color:var(--vp-nav-bg-color)}}.container[data-v-78bbe7f7]{display:flex;justify-content:space-between;margin:0 auto;max-width:calc(var(--vp-layout-max-width) - 64px);height:var(--vp-nav-height);pointer-events:none}.container>.title[data-v-78bbe7f7],.container>.content[data-v-78bbe7f7]{pointer-events:none}.container[data-v-78bbe7f7] *{pointer-events:auto}@media (min-width: 960px){.VPNavBar.has-sidebar .container[data-v-78bbe7f7]{max-width:100%}}.title[data-v-78bbe7f7]{flex-shrink:0;height:calc(var(--vp-nav-height) - 1px);transition:background-color .5s}@media (min-width: 960px){.VPNavBar.has-sidebar .title[data-v-78bbe7f7]{position:absolute;top:0;left:0;z-index:2;padding:0 32px;width:var(--vp-sidebar-width);height:var(--vp-nav-height);background-color:transparent}}@media (min-width: 1440px){.VPNavBar.has-sidebar .title[data-v-78bbe7f7]{padding-left:max(32px,calc((100% - (var(--vp-layout-max-width) - 64px)) / 2));width:calc((100% - (var(--vp-layout-max-width) - 64px)) / 2 + var(--vp-sidebar-width) - 32px)}}.content[data-v-78bbe7f7]{flex-grow:1}@media (min-width: 960px){.VPNavBar.has-sidebar .content[data-v-78bbe7f7]{position:relative;z-index:1;padding-right:32px;padding-left:var(--vp-sidebar-width)}}@media (min-width: 1440px){.VPNavBar.has-sidebar .content[data-v-78bbe7f7]{padding-right:calc((100vw - var(--vp-layout-max-width)) / 2 + 32px);padding-left:calc((100vw - var(--vp-layout-max-width)) / 2 + var(--vp-sidebar-width))}}.content-body[data-v-78bbe7f7]{display:flex;justify-content:flex-end;align-items:center;height:calc(var(--vp-nav-height) - 1px);transition:background-color .5s}@media (min-width: 960px){.VPNavBar:not(.top) .content-body[data-v-78bbe7f7]{position:relative;background-color:var(--vp-nav-bg-color)}}@media (max-width: 767px){.content-body[data-v-78bbe7f7]{column-gap:.5rem}}.menu+.translations[data-v-78bbe7f7]:before,.menu+.appearance[data-v-78bbe7f7]:before,.menu+.social-links[data-v-78bbe7f7]:before,.translations+.appearance[data-v-78bbe7f7]:before,.appearance+.social-links[data-v-78bbe7f7]:before{margin-right:8px;margin-left:8px;width:1px;height:24px;background-color:var(--vp-c-divider);content:""}.menu+.appearance[data-v-78bbe7f7]:before,.translations+.appearance[data-v-78bbe7f7]:before{margin-right:16px}.appearance+.social-links[data-v-78bbe7f7]:before{margin-left:16px}.social-links[data-v-78bbe7f7]{margin-right:-8px}@media (min-width: 960px){.VPNavBar.has-sidebar .curtain[data-v-78bbe7f7]{position:absolute;right:0;bottom:-31px;width:calc(100% - var(--vp-sidebar-width));height:32px}.VPNavBar.has-sidebar .curtain[data-v-78bbe7f7]:before{display:block;width:100%;height:32px;background:linear-gradient(var(--vp-c-bg),transparent 70%);content:""}}@media (min-width: 1440px){.VPNavBar.has-sidebar .curtain[data-v-78bbe7f7]{width:calc(100% - ((100vw - var(--vp-layout-max-width)) / 2 + var(--vp-sidebar-width)))}}.VPNavScreenAppearance[data-v-074998bf]{display:flex;justify-content:space-between;align-items:center;border-radius:8px;padding:12px 14px 12px 16px;background-color:var(--vp-c-bg-soft)}.text[data-v-074998bf]{line-height:24px;font-size:12px;font-weight:500;color:var(--vp-c-text-2)}.VPNavScreenMenuLink[data-v-39873061]{display:block;border-bottom:1px solid var(--vp-c-divider);padding:12px 0 11px;line-height:24px;font-size:14px;font-weight:500;color:var(--vp-c-text-1);transition:border-color .25s,color .25s}.VPNavScreenMenuLink[data-v-39873061]:hover{color:var(--vp-c-brand-1)}.VPNavScreenMenuGroupLink[data-v-176ce3f6]{display:block;margin-left:12px;line-height:32px;font-size:14px;font-weight:400;color:var(--vp-c-text-1);transition:color .25s}.VPNavScreenMenuGroupLink[data-v-176ce3f6]:hover{color:var(--vp-c-brand-1)}.VPNavScreenMenuGroupSection[data-v-49c21796]{display:block}.title[data-v-49c21796]{line-height:32px;font-size:13px;font-weight:700;color:var(--vp-c-text-2);transition:color .25s}.VPNavScreenMenuGroup[data-v-c4081eb2]{border-bottom:1px solid var(--vp-c-divider);height:48px;overflow:hidden;transition:border-color .5s}.VPNavScreenMenuGroup .items[data-v-c4081eb2]{visibility:hidden}.VPNavScreenMenuGroup.open .items[data-v-c4081eb2]{visibility:visible}.VPNavScreenMenuGroup.open[data-v-c4081eb2]{padding-bottom:10px;height:auto}.VPNavScreenMenuGroup.open .button[data-v-c4081eb2]{padding-bottom:6px;color:var(--vp-c-brand-1)}.VPNavScreenMenuGroup.open .button-icon[data-v-c4081eb2]{transform:rotate(45deg)}.button[data-v-c4081eb2]{display:flex;justify-content:space-between;align-items:center;padding:12px 4px 11px 0;width:100%;line-height:24px;font-size:14px;font-weight:500;color:var(--vp-c-text-1);transition:color .25s}.button[data-v-c4081eb2]:hover{color:var(--vp-c-brand-1)}.button-icon[data-v-c4081eb2]{width:14px;height:14px;fill:var(--vp-c-text-2);transition:fill .5s,transform .25s}.group[data-v-c4081eb2]:first-child{padding-top:0}.group+.group[data-v-c4081eb2],.group+.item[data-v-c4081eb2]{padding-top:4px}.VPNavScreenTranslations[data-v-5e9f31af]{height:24px;overflow:hidden}.VPNavScreenTranslations.open[data-v-5e9f31af]{height:auto}.title[data-v-5e9f31af]{display:flex;align-items:center;font-size:14px;font-weight:500;color:var(--vp-c-text-1)}.icon[data-v-5e9f31af]{width:16px;height:16px;fill:currentColor}.icon.lang[data-v-5e9f31af]{margin-right:8px}.icon.chevron[data-v-5e9f31af]{margin-left:4px}.list[data-v-5e9f31af]{padding:4px 0 0 24px}.link[data-v-5e9f31af]{line-height:32px;font-size:13px;color:var(--vp-c-text-1)}.VPNavScreen[data-v-6e741c90]{position:fixed;top:calc(var(--vp-nav-height) + var(--vp-layout-top-height, 0px) + 1px);right:0;bottom:0;left:0;padding:0 32px;width:100%;background-color:var(--vp-nav-screen-bg-color);overflow-y:auto;transition:background-color .5s;pointer-events:auto}.VPNavScreen.fade-enter-active[data-v-6e741c90],.VPNavScreen.fade-leave-active[data-v-6e741c90]{transition:opacity .25s}.VPNavScreen.fade-enter-active .container[data-v-6e741c90],.VPNavScreen.fade-leave-active .container[data-v-6e741c90]{transition:transform .25s ease}.VPNavScreen.fade-enter-from[data-v-6e741c90],.VPNavScreen.fade-leave-to[data-v-6e741c90]{opacity:0}.VPNavScreen.fade-enter-from .container[data-v-6e741c90],.VPNavScreen.fade-leave-to .container[data-v-6e741c90]{transform:translateY(-8px)}@media (min-width: 768px){.VPNavScreen[data-v-6e741c90]{display:none}}.container[data-v-6e741c90]{margin:0 auto;padding:24px 0 96px;max-width:288px}.menu+.translations[data-v-6e741c90],.menu+.appearance[data-v-6e741c90],.translations+.appearance[data-v-6e741c90]{margin-top:24px}.menu+.social-links[data-v-6e741c90]{margin-top:16px}.appearance+.social-links[data-v-6e741c90]{margin-top:16px}.VPNav[data-v-951995f0]{position:relative;top:var(--vp-layout-top-height, 0px);left:0;z-index:var(--vp-z-index-nav);width:100%;pointer-events:none;transition:background-color .5s}@media (min-width: 960px){.VPNav[data-v-951995f0]{position:fixed}}.VPSidebarItem.level-0[data-v-6e3d34cd]{padding-bottom:24px}.VPSidebarItem.collapsed.level-0[data-v-6e3d34cd]{padding-bottom:10px}.item[data-v-6e3d34cd]{position:relative;display:flex;width:100%}.VPSidebarItem.collapsible>.item[data-v-6e3d34cd]{cursor:pointer}.indicator[data-v-6e3d34cd]{position:absolute;top:6px;bottom:6px;left:-17px;width:2px;border-radius:2px;transition:background-color .25s}.VPSidebarItem.level-2.is-active>.item>.indicator[data-v-6e3d34cd],.VPSidebarItem.level-3.is-active>.item>.indicator[data-v-6e3d34cd],.VPSidebarItem.level-4.is-active>.item>.indicator[data-v-6e3d34cd],.VPSidebarItem.level-5.is-active>.item>.indicator[data-v-6e3d34cd]{background-color:var(--vp-c-brand-1)}.link[data-v-6e3d34cd]{display:flex;align-items:center;flex-grow:1}.text[data-v-6e3d34cd]{flex-grow:1;padding:4px 0;line-height:24px;font-size:14px;transition:color .25s}.VPSidebarItem.level-0 .text[data-v-6e3d34cd]{font-weight:700;color:var(--vp-c-text-1)}.VPSidebarItem.level-1 .text[data-v-6e3d34cd],.VPSidebarItem.level-2 .text[data-v-6e3d34cd],.VPSidebarItem.level-3 .text[data-v-6e3d34cd],.VPSidebarItem.level-4 .text[data-v-6e3d34cd],.VPSidebarItem.level-5 .text[data-v-6e3d34cd]{font-weight:500;color:var(--vp-c-text-2)}.VPSidebarItem.level-0.is-link>.item>.link:hover .text[data-v-6e3d34cd],.VPSidebarItem.level-1.is-link>.item>.link:hover .text[data-v-6e3d34cd],.VPSidebarItem.level-2.is-link>.item>.link:hover .text[data-v-6e3d34cd],.VPSidebarItem.level-3.is-link>.item>.link:hover .text[data-v-6e3d34cd],.VPSidebarItem.level-4.is-link>.item>.link:hover .text[data-v-6e3d34cd],.VPSidebarItem.level-5.is-link>.item>.link:hover .text[data-v-6e3d34cd]{color:var(--vp-c-brand-1)}.VPSidebarItem.level-0.has-active>.item>.text[data-v-6e3d34cd],.VPSidebarItem.level-1.has-active>.item>.text[data-v-6e3d34cd],.VPSidebarItem.level-2.has-active>.item>.text[data-v-6e3d34cd],.VPSidebarItem.level-3.has-active>.item>.text[data-v-6e3d34cd],.VPSidebarItem.level-4.has-active>.item>.text[data-v-6e3d34cd],.VPSidebarItem.level-5.has-active>.item>.text[data-v-6e3d34cd],.VPSidebarItem.level-0.has-active>.item>.link>.text[data-v-6e3d34cd],.VPSidebarItem.level-1.has-active>.item>.link>.text[data-v-6e3d34cd],.VPSidebarItem.level-2.has-active>.item>.link>.text[data-v-6e3d34cd],.VPSidebarItem.level-3.has-active>.item>.link>.text[data-v-6e3d34cd],.VPSidebarItem.level-4.has-active>.item>.link>.text[data-v-6e3d34cd],.VPSidebarItem.level-5.has-active>.item>.link>.text[data-v-6e3d34cd]{color:var(--vp-c-text-1)}.VPSidebarItem.level-0.is-active>.item .link>.text[data-v-6e3d34cd],.VPSidebarItem.level-1.is-active>.item .link>.text[data-v-6e3d34cd],.VPSidebarItem.level-2.is-active>.item .link>.text[data-v-6e3d34cd],.VPSidebarItem.level-3.is-active>.item .link>.text[data-v-6e3d34cd],.VPSidebarItem.level-4.is-active>.item .link>.text[data-v-6e3d34cd],.VPSidebarItem.level-5.is-active>.item .link>.text[data-v-6e3d34cd]{color:var(--vp-c-brand-1)}.caret[data-v-6e3d34cd]{display:flex;justify-content:center;align-items:center;margin-right:-7px;width:32px;height:32px;color:var(--vp-c-text-3);cursor:pointer;transition:color .25s;flex-shrink:0}.item:hover .caret[data-v-6e3d34cd]{color:var(--vp-c-text-2)}.item:hover .caret[data-v-6e3d34cd]:hover{color:var(--vp-c-text-1)}.caret-icon[data-v-6e3d34cd]{width:18px;height:18px;fill:currentColor;transform:rotate(90deg);transition:transform .25s}.VPSidebarItem.collapsed .caret-icon[data-v-6e3d34cd]{transform:rotate(0)}.VPSidebarItem.level-1 .items[data-v-6e3d34cd],.VPSidebarItem.level-2 .items[data-v-6e3d34cd],.VPSidebarItem.level-3 .items[data-v-6e3d34cd],.VPSidebarItem.level-4 .items[data-v-6e3d34cd],.VPSidebarItem.level-5 .items[data-v-6e3d34cd]{border-left:1px solid var(--vp-c-divider);padding-left:16px}.VPSidebarItem.collapsed .items[data-v-6e3d34cd]{display:none}.VPSidebar[data-v-3646a2da]{position:fixed;top:var(--vp-layout-top-height, 0px);bottom:0;left:0;z-index:var(--vp-z-index-sidebar);padding:32px 32px 96px;width:calc(100vw - 64px);max-width:320px;background-color:var(--vp-sidebar-bg-color);opacity:0;box-shadow:var(--vp-c-shadow-3);overflow-x:hidden;overflow-y:auto;transform:translate(-100%);transition:opacity .5s,transform .25s ease;overscroll-behavior:contain}.VPSidebar.open[data-v-3646a2da]{opacity:1;visibility:visible;transform:translate(0);transition:opacity .25s,transform .5s cubic-bezier(.19,1,.22,1)}.dark .VPSidebar[data-v-3646a2da]{box-shadow:var(--vp-shadow-1)}@media (min-width: 960px){.VPSidebar[data-v-3646a2da]{z-index:1;padding-top:var(--vp-nav-height);width:var(--vp-sidebar-width);max-width:100%;background-color:var(--vp-sidebar-bg-color);opacity:1;visibility:visible;box-shadow:none;transform:translate(0)}}@media (min-width: 1440px){.VPSidebar[data-v-3646a2da]{padding-left:max(32px,calc((100% - (var(--vp-layout-max-width) - 64px)) / 2));width:calc((100% - (var(--vp-layout-max-width) - 64px)) / 2 + var(--vp-sidebar-width) - 32px)}}@media (min-width: 960px){.curtain[data-v-3646a2da]{position:sticky;top:-64px;left:0;z-index:1;margin-top:calc(var(--vp-nav-height) * -1);margin-right:-32px;margin-left:-32px;height:var(--vp-nav-height);background-color:var(--vp-sidebar-bg-color)}}.nav[data-v-3646a2da]{outline:0}.group+.group[data-v-3646a2da]{border-top:1px solid var(--vp-c-divider);padding-top:10px}@media (min-width: 960px){.group[data-v-3646a2da]{padding-top:10px;width:calc(var(--vp-sidebar-width) - 64px)}}.VPSkipLink[data-v-125f844f]{top:8px;left:8px;padding:8px 16px;z-index:999;border-radius:8px;font-size:12px;font-weight:700;text-decoration:none;color:var(--vp-c-brand-1);box-shadow:var(--vp-shadow-3);background-color:var(--vp-c-bg)}.VPSkipLink[data-v-125f844f]:focus{height:auto;width:auto;clip:auto;clip-path:none}@media (min-width: 1280px){.VPSkipLink[data-v-125f844f]{top:14px;left:16px}}.Layout[data-v-d9306eb1]{display:flex;flex-direction:column;min-height:100vh}.VPHomeSponsors[data-v-b5f3c530]{border-top:1px solid var(--vp-c-gutter);padding:88px 24px 96px;background-color:var(--vp-c-bg)}.container[data-v-b5f3c530]{margin:0 auto;max-width:1152px}.love[data-v-b5f3c530]{margin:0 auto;width:28px;height:28px;color:var(--vp-c-text-3)}.icon[data-v-b5f3c530]{width:28px;height:28px;fill:currentColor}.message[data-v-b5f3c530]{margin:0 auto;padding-top:10px;max-width:320px;text-align:center;line-height:24px;font-size:16px;font-weight:500;color:var(--vp-c-text-2)}.sponsors[data-v-b5f3c530]{padding-top:32px}.action[data-v-b5f3c530]{padding-top:40px;text-align:center}.VPTeamPage[data-v-2a463d94]{padding-bottom:96px}@media (min-width: 768px){.VPTeamPage[data-v-2a463d94]{padding-bottom:128px}}.VPTeamPageSection+.VPTeamPageSection[data-v-2a463d94-s],.VPTeamMembers+.VPTeamPageSection[data-v-2a463d94-s]{margin-top:64px}.VPTeamMembers+.VPTeamMembers[data-v-2a463d94-s]{margin-top:24px}@media (min-width: 768px){.VPTeamPageTitle+.VPTeamPageSection[data-v-2a463d94-s]{margin-top:16px}.VPTeamPageSection+.VPTeamPageSection[data-v-2a463d94-s],.VPTeamMembers+.VPTeamPageSection[data-v-2a463d94-s]{margin-top:96px}}.VPTeamMembers[data-v-2a463d94-s]{padding:0 24px}@media (min-width: 768px){.VPTeamMembers[data-v-2a463d94-s]{padding:0 48px}}@media (min-width: 960px){.VPTeamMembers[data-v-2a463d94-s]{padding:0 64px}}.VPTeamPageTitle[data-v-b00a7d5e]{padding:48px 32px;text-align:center}@media (min-width: 768px){.VPTeamPageTitle[data-v-b00a7d5e]{padding:64px 48px 48px}}@media (min-width: 960px){.VPTeamPageTitle[data-v-b00a7d5e]{padding:80px 64px 48px}}.title[data-v-b00a7d5e]{letter-spacing:0;line-height:44px;font-size:36px;font-weight:500}@media (min-width: 768px){.title[data-v-b00a7d5e]{letter-spacing:-.5px;line-height:56px;font-size:48px}}.lead[data-v-b00a7d5e]{margin:0 auto;max-width:512px;padding-top:12px;line-height:24px;font-size:16px;font-weight:500;color:var(--vp-c-text-2)}@media (min-width: 768px){.lead[data-v-b00a7d5e]{max-width:592px;letter-spacing:.15px;line-height:28px;font-size:20px}}.VPTeamPageSection[data-v-76cd9790]{padding:0 32px}@media (min-width: 768px){.VPTeamPageSection[data-v-76cd9790]{padding:0 48px}}@media (min-width: 960px){.VPTeamPageSection[data-v-76cd9790]{padding:0 64px}}.title[data-v-76cd9790]{position:relative;margin:0 auto;max-width:1152px;text-align:center;color:var(--vp-c-text-2)}.title-line[data-v-76cd9790]{position:absolute;top:16px;left:0;width:100%;height:1px;background-color:var(--vp-c-divider)}.title-text[data-v-76cd9790]{position:relative;display:inline-block;padding:0 24px;letter-spacing:0;line-height:32px;font-size:20px;font-weight:500;background-color:var(--vp-c-bg)}.lead[data-v-76cd9790]{margin:0 auto;max-width:480px;padding-top:12px;text-align:center;line-height:24px;font-size:16px;font-weight:500;color:var(--vp-c-text-2)}.members[data-v-76cd9790]{padding-top:40px}.VPTeamMembersItem[data-v-9b55d415]{display:flex;flex-direction:column;gap:2px;border-radius:12px;width:100%;height:100%;overflow:hidden}.VPTeamMembersItem.small .profile[data-v-9b55d415]{padding:32px}.VPTeamMembersItem.small .data[data-v-9b55d415]{padding-top:20px}.VPTeamMembersItem.small .avatar[data-v-9b55d415]{width:64px;height:64px}.VPTeamMembersItem.small .name[data-v-9b55d415]{line-height:24px;font-size:16px}.VPTeamMembersItem.small .affiliation[data-v-9b55d415]{padding-top:4px;line-height:20px;font-size:14px}.VPTeamMembersItem.small .desc[data-v-9b55d415]{padding-top:12px;line-height:20px;font-size:14px}.VPTeamMembersItem.small .links[data-v-9b55d415]{margin:0 -16px -20px;padding:10px 0 0}.VPTeamMembersItem.medium .profile[data-v-9b55d415]{padding:48px 32px}.VPTeamMembersItem.medium .data[data-v-9b55d415]{padding-top:24px;text-align:center}.VPTeamMembersItem.medium .avatar[data-v-9b55d415]{width:96px;height:96px}.VPTeamMembersItem.medium .name[data-v-9b55d415]{letter-spacing:.15px;line-height:28px;font-size:20px}.VPTeamMembersItem.medium .affiliation[data-v-9b55d415]{padding-top:4px;font-size:16px}.VPTeamMembersItem.medium .desc[data-v-9b55d415]{padding-top:16px;max-width:288px;font-size:16px}.VPTeamMembersItem.medium .links[data-v-9b55d415]{margin:0 -16px -12px;padding:16px 12px 0}.profile[data-v-9b55d415]{flex-grow:1;background-color:var(--vp-c-bg-soft)}.data[data-v-9b55d415]{text-align:center}.avatar[data-v-9b55d415]{position:relative;flex-shrink:0;margin:0 auto;border-radius:50%;box-shadow:var(--vp-shadow-3)}.avatar-img[data-v-9b55d415]{position:absolute;top:0;right:0;bottom:0;left:0;border-radius:50%;object-fit:cover}.name[data-v-9b55d415]{margin:0;font-weight:600}.affiliation[data-v-9b55d415]{margin:0;font-weight:500;color:var(--vp-c-text-2)}.org.link[data-v-9b55d415]{color:var(--vp-c-text-2);transition:color .25s}.org.link[data-v-9b55d415]:hover{color:var(--vp-c-brand-1)}.desc[data-v-9b55d415]{margin:0 auto}.desc[data-v-9b55d415] a{font-weight:500;color:var(--vp-c-brand-1);text-decoration-style:dotted;transition:color .25s}.links[data-v-9b55d415]{display:flex;justify-content:center;height:56px}.sp-link[data-v-9b55d415]{display:flex;justify-content:center;align-items:center;text-align:center;padding:16px;font-size:14px;font-weight:500;color:var(--vp-c-sponsor);background-color:var(--vp-c-bg-soft);transition:color .25s,background-color .25s}.sp .sp-link.link[data-v-9b55d415]:hover,.sp .sp-link.link[data-v-9b55d415]:focus{outline:none;color:var(--vp-c-white);background-color:var(--vp-c-sponsor)}.sp-icon[data-v-9b55d415]{margin-right:8px;width:16px;height:16px;fill:currentColor}.VPTeamMembers.small .container[data-v-b4452673]{grid-template-columns:repeat(auto-fit,minmax(224px,1fr))}.VPTeamMembers.small.count-1 .container[data-v-b4452673]{max-width:276px}.VPTeamMembers.small.count-2 .container[data-v-b4452673]{max-width:576px}.VPTeamMembers.small.count-3 .container[data-v-b4452673]{max-width:876px}.VPTeamMembers.medium .container[data-v-b4452673]{grid-template-columns:repeat(auto-fit,minmax(256px,1fr))}@media (min-width: 375px){.VPTeamMembers.medium .container[data-v-b4452673]{grid-template-columns:repeat(auto-fit,minmax(288px,1fr))}}.VPTeamMembers.medium.count-1 .container[data-v-b4452673]{max-width:368px}.VPTeamMembers.medium.count-2 .container[data-v-b4452673]{max-width:760px}.container[data-v-b4452673]{display:grid;gap:24px;margin:0 auto;max-width:1152px}.decode-result{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.drop-area{height:300px;color:#fff;text-align:center;font-weight:700;padding:10px;background-color:#3c3c43}.dragover{background-color:#10b981}.drop-error{color:red;font-weight:700}.error[data-v-df3f27d7]{font-weight:700;color:red}.barcode-format-checkbox[data-v-df3f27d7]{margin-right:10px;white-space:nowrap;display:inline-block}.fullscreen[data-v-39d64d0c]{position:fixed;z-index:1000;top:0;bottom:0;right:0;left:0}.fullscreen-button[data-v-39d64d0c]{background-color:#fff;position:absolute;bottom:0;right:0;margin:1rem}.fullscreen-button img[data-v-39d64d0c]{width:2rem}button[data-v-3ae3ffac]{margin-bottom:20px}.loading-indicator[data-v-3ae3ffac]{font-weight:700;font-size:2rem;text-align:center}.scan-confirmation[data-v-2c48d920]{position:absolute;width:100%;height:100%;background-color:#fffc;display:flex;flex-flow:row nowrap;justify-content:center}button[data-v-6622b1c4]{position:absolute;left:10px;top:10px}button img[data-v-6622b1c4]{width:50px;height:50px}.error[data-v-6622b1c4]{color:red;font-weight:700}button[data-v-cf37801d]{position:absolute;left:10px;top:10px}button img[data-v-cf37801d]{width:50px;height:50px}.error[data-v-cf37801d]{color:red;font-weight:700}.validation-success[data-v-2a6ebd39],.validation-failure[data-v-2a6ebd39],.validation-pending[data-v-2a6ebd39]{position:absolute;width:100%;height:100%;background-color:#fffc;padding:10px;text-align:center;font-weight:700;font-size:1.4rem;color:#000;display:flex;flex-flow:column nowrap;justify-content:center}.validation-success[data-v-2a6ebd39]{color:green}.validation-failure[data-v-2a6ebd39]{color:red}.VPLocalSearchBox[data-v-9357b894]{position:fixed;z-index:100;top:0;right:0;bottom:0;left:0;display:flex}.backdrop[data-v-9357b894]{position:absolute;top:0;right:0;bottom:0;left:0;background:var(--vp-backdrop-bg-color);transition:opacity .5s}.shell[data-v-9357b894]{position:relative;padding:12px;margin:64px auto;display:flex;flex-direction:column;gap:16px;background:var(--vp-local-search-bg);width:min(100vw - 60px,900px);height:min-content;max-height:min(100vh - 128px,900px);border-radius:6px}@media (max-width: 767px){.shell[data-v-9357b894]{margin:0;width:100vw;height:100vh;max-height:none;border-radius:0}}.search-bar[data-v-9357b894]{border:1px solid var(--vp-c-divider);border-radius:4px;display:flex;align-items:center;padding:0 12px;cursor:text}@media (max-width: 767px){.search-bar[data-v-9357b894]{padding:0 8px}}.search-bar[data-v-9357b894]:focus-within{border-color:var(--vp-c-brand-1)}.search-icon[data-v-9357b894]{margin:8px}@media (max-width: 767px){.search-icon[data-v-9357b894]{display:none}}.search-input[data-v-9357b894]{padding:6px 12px;font-size:inherit;width:100%}@media (max-width: 767px){.search-input[data-v-9357b894]{padding:6px 4px}}.search-actions[data-v-9357b894]{display:flex;gap:4px}@media (any-pointer: coarse){.search-actions[data-v-9357b894]{gap:8px}}@media (min-width: 769px){.search-actions.before[data-v-9357b894]{display:none}}.search-actions button[data-v-9357b894]{padding:8px}.search-actions button[data-v-9357b894]:not([disabled]):hover,.toggle-layout-button.detailed-list[data-v-9357b894]{color:var(--vp-c-brand-1)}.search-actions button.clear-button[data-v-9357b894]:disabled{opacity:.37}.search-keyboard-shortcuts[data-v-9357b894]{font-size:.8rem;opacity:75%;display:flex;flex-wrap:wrap;gap:16px;line-height:14px}.search-keyboard-shortcuts span[data-v-9357b894]{display:flex;align-items:center;gap:4px}@media (max-width: 767px){.search-keyboard-shortcuts[data-v-9357b894]{display:none}}.search-keyboard-shortcuts kbd[data-v-9357b894]{background:#8080801a;border-radius:4px;padding:3px 6px;min-width:24px;display:inline-block;text-align:center;vertical-align:middle;border:1px solid rgba(128,128,128,.15);box-shadow:0 2px 2px #0000001a}.results[data-v-9357b894]{display:flex;flex-direction:column;gap:6px;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain}.result[data-v-9357b894]{display:flex;align-items:center;gap:8px;border-radius:4px;transition:none;line-height:1rem;border:solid 2px var(--vp-local-search-result-border);outline:none}.result>div[data-v-9357b894]{margin:12px;width:100%;overflow:hidden}@media (max-width: 767px){.result>div[data-v-9357b894]{margin:8px}}.titles[data-v-9357b894]{display:flex;flex-wrap:wrap;gap:4px;position:relative;z-index:1001;padding:2px 0}.title[data-v-9357b894]{display:flex;align-items:center;gap:4px}.title.main[data-v-9357b894]{font-weight:500}.title-icon[data-v-9357b894]{opacity:.5;font-weight:500;color:var(--vp-c-brand-1)}.title svg[data-v-9357b894]{opacity:.5}.result.selected[data-v-9357b894]{--vp-local-search-result-bg: var(--vp-local-search-result-selected-bg);border-color:var(--vp-local-search-result-selected-border)}.excerpt-wrapper[data-v-9357b894]{position:relative}.excerpt[data-v-9357b894]{opacity:75%;pointer-events:none;max-height:140px;overflow:hidden;position:relative;opacity:.5;margin-top:4px}.result.selected .excerpt[data-v-9357b894]{opacity:1}.excerpt[data-v-9357b894] *{font-size:.8rem!important;line-height:130%!important}.titles[data-v-9357b894] mark,.excerpt[data-v-9357b894] mark{background-color:var(--vp-local-search-highlight-bg);color:var(--vp-local-search-highlight-text);border-radius:2px;padding:0 2px}.excerpt[data-v-9357b894] .vp-code-group .tabs{display:none}.excerpt[data-v-9357b894] .vp-code-group div[class*=language-]{border-radius:8px!important}.excerpt-gradient-bottom[data-v-9357b894]{position:absolute;bottom:-1px;left:0;width:100%;height:8px;background:linear-gradient(transparent,var(--vp-local-search-result-bg));z-index:1000}.excerpt-gradient-top[data-v-9357b894]{position:absolute;top:-1px;left:0;width:100%;height:8px;background:linear-gradient(var(--vp-local-search-result-bg),transparent);z-index:1000}.result.selected .titles[data-v-9357b894],.result.selected .title-icon[data-v-9357b894]{color:var(--vp-c-brand-1)!important}.no-results[data-v-9357b894]{font-size:.9rem;text-align:center;padding:12px}svg[data-v-9357b894]{flex:none}
diff --git a/demos/DragDrop.html b/demos/DragDrop.html
index 1cd8306c..7e08c002 100644
--- a/demos/DragDrop.html
+++ b/demos/DragDrop.html
@@ -6,21 +6,21 @@
     Decode by Drag&Drop | Vue Qrcode Reader
     
     
-    
+    
     
-    
+    
     
     
-    
-    
-    
+    
+    
+    
     
     
     
     
   
   
-    
Skip to content

Decode by Drag&Drop

With the QrcodeDropZone component you can also drag-and-drop images that should be scanned. Use it as a standalone feature or as a fallback for desktop users.

Source

vue
<template>
+    
Skip to content

Decode by Drag&Drop

With the QrcodeDropZone component you can also drag-and-drop images that should be scanned. Use it as a standalone feature or as a fallback for desktop users.

Source

vue
<template>
   <div>
     <p class="decode-result">
       Last result: <b>{{ result }}</b>
@@ -105,8 +105,8 @@
   color: red;
   font-weight: bold;
 }
-</style>

Released under the MIT License.

- +</style>

Released under the MIT License.

+ \ No newline at end of file diff --git a/demos/FullDemo.html b/demos/FullDemo.html index 8bf7e937..61ac4a21 100644 --- a/demos/FullDemo.html +++ b/demos/FullDemo.html @@ -6,22 +6,22 @@ Full Demo | Vue Qrcode Reader - + - + - - - - + + + + -
Skip to content

Full Demo

Source

vue
<template>
+    
Skip to content

Full Demo

Source

vue
<template>
   <div>
     <p>
       Modern mobile phones often have a variety of different cameras installed (e.g. front, rear,
@@ -258,8 +258,8 @@
   white-space: nowrap;
   display: inline-block;
 }
-</style>

Released under the MIT License.

- +</style>

Released under the MIT License.

+ \ No newline at end of file diff --git a/demos/Fullscreen.html b/demos/Fullscreen.html index 70ee6f8c..cf5cc31b 100644 --- a/demos/Fullscreen.html +++ b/demos/Fullscreen.html @@ -6,22 +6,22 @@ Fullscreen | Vue Qrcode Reader - + - + - - - - + + + + -
Skip to content

Fullscreen

QrcodeStream always covers the entire space available. Not more, not less. So to go fullscreen, simply put the component in a wrapper element that occupies the entire screen.

Source

vue
<template>
+    
Skip to content

Fullscreen

QrcodeStream always covers the entire space available. Not more, not less. So to go fullscreen, simply put the component in a wrapper element that occupies the entire screen.

Source

vue
<template>
   <div
     :class="{ fullscreen: fullscreen }"
     ref="wrapper"
@@ -150,8 +150,8 @@
 .fullscreen-button img {
   width: 2rem;
 }
-</style>

Released under the MIT License.

- +</style>

Released under the MIT License.

+ \ No newline at end of file diff --git a/demos/LoadingIndicator.html b/demos/LoadingIndicator.html index a8eefc67..c5a1e2df 100644 --- a/demos/LoadingIndicator.html +++ b/demos/LoadingIndicator.html @@ -6,22 +6,22 @@ Show Loading Indicator | Vue Qrcode Reader - + - + - - - - + + + + -
Skip to content

Show Loading Indicator

There is some delay between mounting the component and the camera stream becoming visible. Listen for the camera-on event to show a loading indicator.

Push the button below to force destroy and re-create the component.

Source

vue
<template>
+    
Skip to content

Show Loading Indicator

There is some delay between mounting the component and the camera stream becoming visible. Listen for the camera-on event to show a loading indicator.

Push the button below to force destroy and re-create the component.

Source

vue
<template>
   <div>
     <button @click="reload">Destroy And Re-Create Component</button>
 
@@ -77,8 +77,8 @@
   font-size: 2rem;
   text-align: center;
 }
-</style>

Released under the MIT License.

- +</style>

Released under the MIT License.

+ \ No newline at end of file diff --git a/demos/ScanSameQrcodeMoreThanOnce.html b/demos/ScanSameQrcodeMoreThanOnce.html index 76076bd9..8f5cb45b 100644 --- a/demos/ScanSameQrcodeMoreThanOnce.html +++ b/demos/ScanSameQrcodeMoreThanOnce.html @@ -6,22 +6,22 @@ Scan Same QR Code More Than Once | Vue Qrcode Reader - + - + - - - - + + + + -
Skip to content

Scan Same QR Code More Than Once

You might have noticed that scanning the same QR code again doesn't work. The thing is when a QR code is in the view of your the camera it's decoded multiple times a second. You don't want to be flooded with detect events that often though. That's why the last decoded QR code is "cached" and an event is only emitted, when the decoded content changes.

However this cache is reset when you change the paused prop. We can exploit that to scan same QR codes multiple times in a row.

Source

vue
<template>
+    
Skip to content

Scan Same QR Code More Than Once

You might have noticed that scanning the same QR code again doesn't work. The thing is when a QR code is in the view of your the camera it's decoded multiple times a second. You don't want to be flooded with detect events that often though. That's why the last decoded QR code is "cached" and an event is only emitted, when the decoded content changes.

However this cache is reset when you change the paused prop. We can exploit that to scan same QR codes multiple times in a row.

Source

vue
<template>
   <div>
     <p class="decode-result">
       Last result: <b>{{ result }}</b>
@@ -106,8 +106,8 @@
   flex-flow: row nowrap;
   justify-content: center;
 }
-</style>

Released under the MIT License.

- +</style>

Released under the MIT License.

+ \ No newline at end of file diff --git a/demos/Simple.html b/demos/Simple.html index f092993d..da7af149 100644 --- a/demos/Simple.html +++ b/demos/Simple.html @@ -6,12 +6,12 @@ Simple | Vue Qrcode Reader - + - + - + @@ -19,7 +19,7 @@ -
Skip to content

Simple

All other demos on this page utilize single-file components. To use them in your project you need a bundler like vite. For an example that works without a build step and right in the browser:

SEE THIS DEMO

Source

html
<!DOCTYPE html>
+    
Skip to content

Simple

All other demos on this page utilize single-file components. To use them in your project you need a bundler like vite. For an example that works without a build step and right in the browser:

SEE THIS DEMO

Source

html
<!DOCTYPE html>
 <html lang="en">
 <head>
   <meta charset="UTF-8">
@@ -97,8 +97,8 @@
   app.use(VueQrcodeReader)
   app.mount('#app')
 </script>
-</html>

Released under the MIT License.

- +</html>

Released under the MIT License.

+ \ No newline at end of file diff --git a/demos/SwitchCamera.html b/demos/SwitchCamera.html index 8e138ae3..97db0063 100644 --- a/demos/SwitchCamera.html +++ b/demos/SwitchCamera.html @@ -6,22 +6,22 @@ Switch to Front Camera | Vue Qrcode Reader - + - + - - - - + + + + -
Skip to content

Switch to Front Camera

You can also allow users to choose the front or rear camera on their device.

Source

vue
<template>
+    
Skip to content

Switch to Front Camera

You can also allow users to choose the front or rear camera on their device.

Source

vue
<template>
   <div>
     <p
       class="error"
@@ -115,8 +115,8 @@
   color: red;
   font-weight: bold;
 }
-</style>

Released under the MIT License.

- +</style>

Released under the MIT License.

+ \ No newline at end of file diff --git a/demos/Torch.html b/demos/Torch.html index 6535e218..d4d990be 100644 --- a/demos/Torch.html +++ b/demos/Torch.html @@ -6,22 +6,22 @@ Torch (Flashlight) | Vue Qrcode Reader - + - + - - - - + + + + -
Skip to content

Torch (Flashlight)

In low-light conditions you might want to make use of the cameras flashlight. Using the torch prop, you can turn the flashlight on/off. Note that support is inconsistent across devices and browsers and can only be detected after already starting the camera.

Feature sponsored by aeschbacher.ch

Source

vue
<template>
+    
Skip to content

Torch (Flashlight)

In low-light conditions you might want to make use of the cameras flashlight. Using the torch prop, you can turn the flashlight on/off. Note that support is inconsistent across devices and browsers and can only be detected after already starting the camera.

Feature sponsored by aeschbacher.ch

Source

vue
<template>
   <div>
     <p>
       Pick camera:
@@ -117,8 +117,8 @@
   color: red;
   font-weight: bold;
 }
-</style>

Released under the MIT License.

- +</style>

Released under the MIT License.

+ \ No newline at end of file diff --git a/demos/Upload.html b/demos/Upload.html index 23bddc57..559abd4d 100644 --- a/demos/Upload.html +++ b/demos/Upload.html @@ -6,21 +6,21 @@ Decode by Upload | Vue Qrcode Reader - + - + - - - + + + -
Skip to content

Decode by Upload

Finally, with QrcodeCapture comes another component which allows image scanning via classic file upload. Nothing is actually uploaded. Everything is happening client-side.

If you are on mobile and your browser supports it, you are not prompted with a file dialog but with your camera. So you can directly take the picture to be uploaded. Adjust this behavior with the following dropdown:

Source

vue
<template>
+    
Skip to content

Decode by Upload

Finally, with QrcodeCapture comes another component which allows image scanning via classic file upload. Nothing is actually uploaded. Everything is happening client-side.

If you are on mobile and your browser supports it, you are not prompted with a file dialog but with your camera. So you can directly take the picture to be uploaded. Adjust this behavior with the following dropdown:

Source

vue
<template>
   <div>
     <p>
       Capture:
@@ -76,8 +76,8 @@
     }
   }
 }
-</script>

Released under the MIT License.

- +</script>

Released under the MIT License.

+ \ No newline at end of file diff --git a/demos/Validate.html b/demos/Validate.html index 6d05c131..5a9c964a 100644 --- a/demos/Validate.html +++ b/demos/Validate.html @@ -6,22 +6,22 @@ Pause & Validate | Vue Qrcode Reader - + - + - - - - + + + + -
Skip to content

Pause & Validate

By pausing you can process each scanned QR-code one at a time. The last received frame is still displayed so it just looks like the stream is paused.

Source

vue
<template>
+    
Skip to content

Pause & Validate

By pausing you can process each scanned QR-code one at a time. The last received frame is still displayed so it just looks like the stream is paused.

Source

vue
<template>
   <div>
     <p class="decode-result">
       Last result: <b>{{ result }}</b>
@@ -139,8 +139,8 @@
 .validation-failure {
   color: red;
 }
-</style>

Released under the MIT License.

- +</style>

Released under the MIT License.

+ \ No newline at end of file diff --git a/hashmap.json b/hashmap.json index b14b0253..bc0f504c 100644 --- a/hashmap.json +++ b/hashmap.json @@ -1 +1 @@ -{"api_qrcodedropzone.md":"CZZURXxz","index.md":"HnahRfcr","demos_simple.md":"BCBYY3fY","demos_scansameqrcodemorethanonce.md":"Brm_Gomp","demos_dragdrop.md":"KueMX9qx","demos_switchcamera.md":"CAvxezaF","demos_loadingindicator.md":"BPlhc5KO","api_qrcodecapture.md":"C7iqouC7","demos_fullscreen.md":"D5kCBhsJ","api_qrcodestream.md":"DnuBzp6K","demos_fulldemo.md":"dj7uxa22","demos_torch.md":"kskOygTt","demos_upload.md":"Dx4hnZdl","demos_validate.md":"hjIDCaLb"} +{"api_qrcodecapture.md":"C7iqouC7","api_qrcodedropzone.md":"CZZURXxz","api_qrcodestream.md":"BJpDv_io","demos_dragdrop.md":"Bh461sua","demos_fulldemo.md":"CIVJitcX","demos_fullscreen.md":"CLu4sVrH","demos_loadingindicator.md":"Buy1_mkp","demos_scansameqrcodemorethanonce.md":"BV5sETMA","demos_simple.md":"BCBYY3fY","demos_switchcamera.md":"BFfRluhH","demos_torch.md":"CgwwvdjK","demos_upload.md":"C66hzNE9","demos_validate.md":"zHsMF7yf","index.md":"HnahRfcr"} diff --git a/index.html b/index.html index f195e075..9bb8e44a 100644 --- a/index.html +++ b/index.html @@ -6,12 +6,12 @@ Vue Qrcode Reader - + - + - + @@ -19,8 +19,8 @@ -
Skip to content

Vue Qrcode Reader

A set of Vue.js components for detecting and decoding QR codes.

VueQrcodeReader

Released under the MIT License.

- +
Skip to content

Vue Qrcode Reader

A set of Vue.js components for detecting and decoding QR codes.

VueQrcodeReader

Released under the MIT License.

+ \ No newline at end of file diff --git a/sw.js b/sw.js index 3c4241e3..fc367a18 100644 --- a/sw.js +++ b/sw.js @@ -79,16 +79,16 @@ define(['./workbox-5199072c'], (function (workbox) { 'use strict'; */ workbox.precacheAndRoute([{ "url": "404.html", - "revision": "65385983a18c2ceaa705a073cefd4cdc" + "revision": "14815faecec565049fa0447d1dda920f" }, { "url": "api/QrcodeCapture.html", - "revision": "310539ff229f4f6d70726178f0f45ea9" + "revision": "e35bbfaa3e9600538749a335c5153b4f" }, { "url": "api/QrcodeDropZone.html", - "revision": "7bf5d228dcf01a27514339e3fffe49fc" + "revision": "e252f2868f0bcecd77f1111b0d4c5813" }, { "url": "api/QrcodeStream.html", - "revision": "5b5d2dcd2f1952f5a62121cb928a065d" + "revision": "634a59a3d5baa4f8538267296f8b0365" }, { "url": "assets/api_QrcodeCapture.md.C7iqouC7.js", "revision": null @@ -102,64 +102,64 @@ define(['./workbox-5199072c'], (function (workbox) { 'use strict'; "url": "assets/api_QrcodeDropZone.md.CZZURXxz.lean.js", "revision": null }, { - "url": "assets/api_QrcodeStream.md.DnuBzp6K.js", + "url": "assets/api_QrcodeStream.md.BJpDv_io.js", "revision": null }, { - "url": "assets/api_QrcodeStream.md.DnuBzp6K.lean.js", + "url": "assets/api_QrcodeStream.md.BJpDv_io.lean.js", "revision": null }, { - "url": "assets/app.M3x9aKvg.js", + "url": "assets/app.DiD9A94Y.js", "revision": null }, { - "url": "assets/chunks/@localSearchIndexroot.DBcb1Hh6.js", + "url": "assets/chunks/@localSearchIndexroot.ZwSxP_J3.js", "revision": null }, { - "url": "assets/chunks/camera.DE4cteSh.js", + "url": "assets/chunks/camera.Y0ohPhsl.js", "revision": null }, { "url": "assets/chunks/framework.BwCxet3-.js", "revision": null }, { - "url": "assets/chunks/QrcodeStream.vue_vue_type_script_setup_true_lang.DspH0Vrb.js", + "url": "assets/chunks/QrcodeStream.vue_vue_type_script_setup_true_lang.CsTXXFWV.js", "revision": null }, { "url": "assets/chunks/safari_32x32.Bkuv9jEj.js", "revision": null }, { - "url": "assets/chunks/theme.s67tei5V.js", + "url": "assets/chunks/theme.Bu6m7hlu.js", "revision": null }, { - "url": "assets/chunks/VPLocalSearchBox.Ci3nu08r.js", + "url": "assets/chunks/VPLocalSearchBox.ByB8GwlZ.js", "revision": null }, { - "url": "assets/demos_DragDrop.md.KueMX9qx.js", + "url": "assets/demos_DragDrop.md.Bh461sua.js", "revision": null }, { - "url": "assets/demos_DragDrop.md.KueMX9qx.lean.js", + "url": "assets/demos_DragDrop.md.Bh461sua.lean.js", "revision": null }, { - "url": "assets/demos_FullDemo.md.dj7uxa22.js", + "url": "assets/demos_FullDemo.md.CIVJitcX.js", "revision": null }, { - "url": "assets/demos_FullDemo.md.dj7uxa22.lean.js", + "url": "assets/demos_FullDemo.md.CIVJitcX.lean.js", "revision": null }, { - "url": "assets/demos_Fullscreen.md.D5kCBhsJ.js", + "url": "assets/demos_Fullscreen.md.CLu4sVrH.js", "revision": null }, { - "url": "assets/demos_Fullscreen.md.D5kCBhsJ.lean.js", + "url": "assets/demos_Fullscreen.md.CLu4sVrH.lean.js", "revision": null }, { - "url": "assets/demos_LoadingIndicator.md.BPlhc5KO.js", + "url": "assets/demos_LoadingIndicator.md.Buy1_mkp.js", "revision": null }, { - "url": "assets/demos_LoadingIndicator.md.BPlhc5KO.lean.js", + "url": "assets/demos_LoadingIndicator.md.Buy1_mkp.lean.js", "revision": null }, { - "url": "assets/demos_ScanSameQrcodeMoreThanOnce.md.Brm_Gomp.js", + "url": "assets/demos_ScanSameQrcodeMoreThanOnce.md.BV5sETMA.js", "revision": null }, { - "url": "assets/demos_ScanSameQrcodeMoreThanOnce.md.Brm_Gomp.lean.js", + "url": "assets/demos_ScanSameQrcodeMoreThanOnce.md.BV5sETMA.lean.js", "revision": null }, { "url": "assets/demos_Simple.md.BCBYY3fY.js", @@ -168,28 +168,28 @@ define(['./workbox-5199072c'], (function (workbox) { 'use strict'; "url": "assets/demos_Simple.md.BCBYY3fY.lean.js", "revision": null }, { - "url": "assets/demos_SwitchCamera.md.CAvxezaF.js", + "url": "assets/demos_SwitchCamera.md.BFfRluhH.js", "revision": null }, { - "url": "assets/demos_SwitchCamera.md.CAvxezaF.lean.js", + "url": "assets/demos_SwitchCamera.md.BFfRluhH.lean.js", "revision": null }, { - "url": "assets/demos_Torch.md.kskOygTt.js", + "url": "assets/demos_Torch.md.CgwwvdjK.js", "revision": null }, { - "url": "assets/demos_Torch.md.kskOygTt.lean.js", + "url": "assets/demos_Torch.md.CgwwvdjK.lean.js", "revision": null }, { - "url": "assets/demos_Upload.md.Dx4hnZdl.js", + "url": "assets/demos_Upload.md.C66hzNE9.js", "revision": null }, { - "url": "assets/demos_Upload.md.Dx4hnZdl.lean.js", + "url": "assets/demos_Upload.md.C66hzNE9.lean.js", "revision": null }, { - "url": "assets/demos_Validate.md.hjIDCaLb.js", + "url": "assets/demos_Validate.md.zHsMF7yf.js", "revision": null }, { - "url": "assets/demos_Validate.md.hjIDCaLb.lean.js", + "url": "assets/demos_Validate.md.zHsMF7yf.lean.js", "revision": null }, { "url": "assets/index.md.HnahRfcr.js", @@ -240,7 +240,7 @@ define(['./workbox-5199072c'], (function (workbox) { 'use strict'; "url": "assets/inter-roman-vietnamese.ClpjcLMQ.woff2", "revision": null }, { - "url": "assets/style.DPXyhsKt.css", + "url": "assets/style.BecwPQUx.css", "revision": null }, { "url": "camera-switch.svg", @@ -253,34 +253,34 @@ define(['./workbox-5199072c'], (function (workbox) { 'use strict'; "revision": "baffbefe1bde1d10f0c089b20f0cb9ed" }, { "url": "demos/DragDrop.html", - "revision": "fb027ef29737d0c11b563824bf5bb8bd" + "revision": "b7f67508d71d9b9fc9c4c7e4488300f1" }, { "url": "demos/FullDemo.html", - "revision": "49e07f83498c9ea905203ddab5c5b407" + "revision": "c969be34cdb6bd88d8e78f907cde6626" }, { "url": "demos/Fullscreen.html", - "revision": "eb8c5ce049e22fdd9eae9f4a99bc7758" + "revision": "71d4079a455397da937a2b1330357579" }, { "url": "demos/LoadingIndicator.html", - "revision": "efd5e7a831ae849226d7ebde5a5edefc" + "revision": "8d6f71e62333a126f6595676a7ad08df" }, { "url": "demos/ScanSameQrcodeMoreThanOnce.html", - "revision": "671ae000ebdd76dbb2f96f5ef5f30eea" + "revision": "f58f8df40ff655d95e3e11d0b62f0b77" }, { "url": "demos/Simple.html", - "revision": "15a91e7b813a826c45bce29daa021171" + "revision": "25680d244cfd115de2522dbc09b109e2" }, { "url": "demos/SwitchCamera.html", - "revision": "ec7874588c5c9bad5a1993d360408ad9" + "revision": "f995e0f7dc51e3ea48dc44d7731619c8" }, { "url": "demos/Torch.html", - "revision": "24c2ba1cc3de272b4156cabb69c43b73" + "revision": "71a6fa2d00998aba0c6d5981c1398f46" }, { "url": "demos/Upload.html", - "revision": "805be3f5cbc91ca2f03b6d56c6fafbf7" + "revision": "dfbae551637e4d6265189dbf3abb6c9e" }, { "url": "demos/Validate.html", - "revision": "73f90716de62449dfa0f16a21071f6ff" + "revision": "49f3f7a90f79da332e36d1bc3af16c91" }, { "url": "flash-off.svg", "revision": "8b05f5dcd6712992a544b34520ec7262" @@ -295,7 +295,7 @@ define(['./workbox-5199072c'], (function (workbox) { 'use strict'; "revision": "432c44f09de0b4e0f9e236fad9b8c7f9" }, { "url": "index.html", - "revision": "c438332fe3ac73e3d0950579f6cbc4a5" + "revision": "3cdf3ba123702f32d8343019192e1c95" }, { "url": "logo.png", "revision": "5f0c1d6358641bc48207acb9fa0b6182"