From c4b29ec59fe822afbf3eac7f5b1b2691a8fe3d01 Mon Sep 17 00:00:00 2001 From: mbklein Date: Fri, 8 Nov 2024 23:06:10 +0000 Subject: [PATCH] =?UTF-8?q?Remove=20preview=20for=20PR=20159=20?= =?UTF-8?q?=F0=9F=9B=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pr-preview/pr-159/404.html | 1 - .../infrastructure/cloudformation.json | 1 - .../quick-start/infrastructure/terraform.json | 1 - .../KvvVSAosvkjv2ztdyCsVd/_buildManifest.js | 1 - .../KvvVSAosvkjv2ztdyCsVd/_ssgManifest.js | 1 - .../static/chunks/160-5af51da9a6325e15.js | 30 ---- .../static/chunks/476-c23ea481ede67d10.js | 26 --- .../chunks/framework-5429a50ba5373c56.js | 33 ---- .../static/chunks/main-44d52c6d03784526.js | 1 - .../static/chunks/nextra-data-en-US.json | 1 - .../chunks/pages/_app-84b4f2daf7f6914b.js | 1 - .../chunks/pages/_error-5a00309fd5f4b49e.js | 1 - .../chunks/pages/about-09dac95578cb3cd4.js | 1 - .../chunks/pages/docs-c3a8c0c08e050ef0.js | 1 - .../advanced-usage/cors-b0ca7f7320993e3f.js | 1 - ...est-response-functions-36493bd5c4ad2318.js | 1 - .../docs/communities/iiif-c0a10a83513fad44.js | 1 - .../communities/samvera-16fdca535a3795f8.js | 1 - .../docs/contributors-8e24c85c22c6a351.js | 1 - .../custom-sharp-layer-1b87a5d81904c822.js | 1 - .../how-to-contribute-ecec2dcf317e9525.js | 1 - .../pages/docs/notes-bd9ef6f31d1f49d7.js | 1 - .../docs/quick-start-37d838b2673c018c.js | 1 - .../deleting-the-app-36af7d08734e72d6.js | 1 - ...eployment-command-line-dce8d38dd856f7cd.js | 1 - .../deployment-sam-593d313c59aaaf2e.js | 1 - .../infrastructure-97e0a03f8b6e3f65.js | 1 - .../cloudformation-b9d4a0e01541c4fc.js | 1 - .../terraform-efb74eca1b009be9.js | 1 - .../docs/source-images-ac6a6898542e6b7f.js | 1 - .../pages/docs/testing-63c2308cb4545896.js | 1 - .../chunks/pages/index-76eadaa11eccab84.js | 1 - .../chunks/polyfills-c67a75d1b6f99dc8.js | 1 - .../static/chunks/webpack-2f77a7cf45f509ab.js | 1 - .../_next/static/css/2799bd547bb37cdf.css | 1 - .../_next/static/css/445c4173ffc2bf04.css | 1 - .../_next/static/css/a328a878aafba2bc.css | 1 - .../_next/static/css/e0e7c22adcdbef21.css | 1 - .../_next/static/css/e7f1e959babc9570.css | 1 - .../media/icon-api-gateway.a1626a6c.png | Bin 7224 -> 0 bytes .../static/media/icon-aws-sam.1d1aedc9.png | Bin 4749 -> 0 bytes .../static/media/icon-lambda.1e7293a4.png | Bin 8037 -> 0 bytes .../_next/static/media/icon-s3.6d1d926c.png | Bin 8649 -> 0 bytes .../media/icons8-nodejs-240.fbe4a5b0.png | Bin 6603 -> 0 bytes .../serverless-iiif-diagram.2c966729.png | Bin 647244 -> 0 bytes pr-preview/pr-159/about.html | 50 ------ .../_38298540-b8ee-4909-ac8a-a6dc6cb63491.jpg | Bin 227471 -> 0 bytes pr-preview/pr-159/assets/icon-api-gateway.png | Bin 7224 -> 0 bytes pr-preview/pr-159/assets/icon-aws-sam.png | Bin 4749 -> 0 bytes pr-preview/pr-159/assets/icon-cloudfront.png | Bin 11041 -> 0 bytes pr-preview/pr-159/assets/icon-lambda.png | Bin 8037 -> 0 bytes pr-preview/pr-159/assets/icon-s3.png | Bin 8649 -> 0 bytes .../pr-159/assets/icons8-nodejs-240.png | Bin 6603 -> 0 bytes .../pr-159/assets/serverless-iiif-diagram.png | Bin 647244 -> 0 bytes pr-preview/pr-159/docs.html | 32 ---- .../pr-159/docs/advanced-usage/cors.html | 24 --- .../request-response-functions.html | 59 ------- pr-preview/pr-159/docs/communities/iiif.html | 14 -- .../pr-159/docs/communities/samvera.html | 14 -- pr-preview/pr-159/docs/contributors.html | 22 --- .../pr-159/docs/custom-sharp-layer.html | 16 -- pr-preview/pr-159/docs/how-to-contribute.html | 16 -- pr-preview/pr-159/docs/notes.html | 15 -- pr-preview/pr-159/docs/quick-start.html | 14 -- .../docs/quick-start/deleting-the-app.html | 17 -- .../quick-start/deployment-command-line.html | 25 --- .../docs/quick-start/deployment-sam.html | 21 --- .../docs/quick-start/infrastructure.html | 15 -- .../infrastructure/cloudformation.html | 152 ------------------ .../quick-start/infrastructure/terraform.html | 18 --- pr-preview/pr-159/docs/source-images.html | 31 ---- pr-preview/pr-159/docs/testing.html | 18 --- pr-preview/pr-159/favicon.png | Bin 6648 -> 0 bytes pr-preview/pr-159/index.html | 14 -- pr-preview/pr-159/serverless-iiif-logo.svg | 1 - 75 files changed, 713 deletions(-) delete mode 100644 pr-preview/pr-159/404.html delete mode 100644 pr-preview/pr-159/_next/data/KvvVSAosvkjv2ztdyCsVd/docs/quick-start/infrastructure/cloudformation.json delete mode 100644 pr-preview/pr-159/_next/data/KvvVSAosvkjv2ztdyCsVd/docs/quick-start/infrastructure/terraform.json delete mode 100644 pr-preview/pr-159/_next/static/KvvVSAosvkjv2ztdyCsVd/_buildManifest.js delete mode 100644 pr-preview/pr-159/_next/static/KvvVSAosvkjv2ztdyCsVd/_ssgManifest.js delete mode 100644 pr-preview/pr-159/_next/static/chunks/160-5af51da9a6325e15.js delete mode 100644 pr-preview/pr-159/_next/static/chunks/476-c23ea481ede67d10.js delete mode 100644 pr-preview/pr-159/_next/static/chunks/framework-5429a50ba5373c56.js delete mode 100644 pr-preview/pr-159/_next/static/chunks/main-44d52c6d03784526.js delete mode 100644 pr-preview/pr-159/_next/static/chunks/nextra-data-en-US.json delete mode 100644 pr-preview/pr-159/_next/static/chunks/pages/_app-84b4f2daf7f6914b.js delete mode 100644 pr-preview/pr-159/_next/static/chunks/pages/_error-5a00309fd5f4b49e.js delete mode 100644 pr-preview/pr-159/_next/static/chunks/pages/about-09dac95578cb3cd4.js delete mode 100644 pr-preview/pr-159/_next/static/chunks/pages/docs-c3a8c0c08e050ef0.js delete mode 100644 pr-preview/pr-159/_next/static/chunks/pages/docs/advanced-usage/cors-b0ca7f7320993e3f.js delete mode 100644 pr-preview/pr-159/_next/static/chunks/pages/docs/advanced-usage/request-response-functions-36493bd5c4ad2318.js delete mode 100644 pr-preview/pr-159/_next/static/chunks/pages/docs/communities/iiif-c0a10a83513fad44.js delete mode 100644 pr-preview/pr-159/_next/static/chunks/pages/docs/communities/samvera-16fdca535a3795f8.js delete mode 100644 pr-preview/pr-159/_next/static/chunks/pages/docs/contributors-8e24c85c22c6a351.js delete mode 100644 pr-preview/pr-159/_next/static/chunks/pages/docs/custom-sharp-layer-1b87a5d81904c822.js delete mode 100644 pr-preview/pr-159/_next/static/chunks/pages/docs/how-to-contribute-ecec2dcf317e9525.js delete mode 100644 pr-preview/pr-159/_next/static/chunks/pages/docs/notes-bd9ef6f31d1f49d7.js delete mode 100644 pr-preview/pr-159/_next/static/chunks/pages/docs/quick-start-37d838b2673c018c.js delete mode 100644 pr-preview/pr-159/_next/static/chunks/pages/docs/quick-start/deleting-the-app-36af7d08734e72d6.js delete mode 100644 pr-preview/pr-159/_next/static/chunks/pages/docs/quick-start/deployment-command-line-dce8d38dd856f7cd.js delete mode 100644 pr-preview/pr-159/_next/static/chunks/pages/docs/quick-start/deployment-sam-593d313c59aaaf2e.js delete mode 100644 pr-preview/pr-159/_next/static/chunks/pages/docs/quick-start/infrastructure-97e0a03f8b6e3f65.js delete mode 100644 pr-preview/pr-159/_next/static/chunks/pages/docs/quick-start/infrastructure/cloudformation-b9d4a0e01541c4fc.js delete mode 100644 pr-preview/pr-159/_next/static/chunks/pages/docs/quick-start/infrastructure/terraform-efb74eca1b009be9.js delete mode 100644 pr-preview/pr-159/_next/static/chunks/pages/docs/source-images-ac6a6898542e6b7f.js delete mode 100644 pr-preview/pr-159/_next/static/chunks/pages/docs/testing-63c2308cb4545896.js delete mode 100644 pr-preview/pr-159/_next/static/chunks/pages/index-76eadaa11eccab84.js delete mode 100644 pr-preview/pr-159/_next/static/chunks/polyfills-c67a75d1b6f99dc8.js delete mode 100644 pr-preview/pr-159/_next/static/chunks/webpack-2f77a7cf45f509ab.js delete mode 100644 pr-preview/pr-159/_next/static/css/2799bd547bb37cdf.css delete mode 100644 pr-preview/pr-159/_next/static/css/445c4173ffc2bf04.css delete mode 100644 pr-preview/pr-159/_next/static/css/a328a878aafba2bc.css delete mode 100644 pr-preview/pr-159/_next/static/css/e0e7c22adcdbef21.css delete mode 100644 pr-preview/pr-159/_next/static/css/e7f1e959babc9570.css delete mode 100644 pr-preview/pr-159/_next/static/media/icon-api-gateway.a1626a6c.png delete mode 100644 pr-preview/pr-159/_next/static/media/icon-aws-sam.1d1aedc9.png delete mode 100644 pr-preview/pr-159/_next/static/media/icon-lambda.1e7293a4.png delete mode 100644 pr-preview/pr-159/_next/static/media/icon-s3.6d1d926c.png delete mode 100644 pr-preview/pr-159/_next/static/media/icons8-nodejs-240.fbe4a5b0.png delete mode 100644 pr-preview/pr-159/_next/static/media/serverless-iiif-diagram.2c966729.png delete mode 100644 pr-preview/pr-159/about.html delete mode 100644 pr-preview/pr-159/assets/_38298540-b8ee-4909-ac8a-a6dc6cb63491.jpg delete mode 100644 pr-preview/pr-159/assets/icon-api-gateway.png delete mode 100644 pr-preview/pr-159/assets/icon-aws-sam.png delete mode 100644 pr-preview/pr-159/assets/icon-cloudfront.png delete mode 100644 pr-preview/pr-159/assets/icon-lambda.png delete mode 100644 pr-preview/pr-159/assets/icon-s3.png delete mode 100644 pr-preview/pr-159/assets/icons8-nodejs-240.png delete mode 100644 pr-preview/pr-159/assets/serverless-iiif-diagram.png delete mode 100644 pr-preview/pr-159/docs.html delete mode 100644 pr-preview/pr-159/docs/advanced-usage/cors.html delete mode 100644 pr-preview/pr-159/docs/advanced-usage/request-response-functions.html delete mode 100644 pr-preview/pr-159/docs/communities/iiif.html delete mode 100644 pr-preview/pr-159/docs/communities/samvera.html delete mode 100644 pr-preview/pr-159/docs/contributors.html delete mode 100644 pr-preview/pr-159/docs/custom-sharp-layer.html delete mode 100644 pr-preview/pr-159/docs/how-to-contribute.html delete mode 100644 pr-preview/pr-159/docs/notes.html delete mode 100644 pr-preview/pr-159/docs/quick-start.html delete mode 100644 pr-preview/pr-159/docs/quick-start/deleting-the-app.html delete mode 100644 pr-preview/pr-159/docs/quick-start/deployment-command-line.html delete mode 100644 pr-preview/pr-159/docs/quick-start/deployment-sam.html delete mode 100644 pr-preview/pr-159/docs/quick-start/infrastructure.html delete mode 100644 pr-preview/pr-159/docs/quick-start/infrastructure/cloudformation.html delete mode 100644 pr-preview/pr-159/docs/quick-start/infrastructure/terraform.html delete mode 100644 pr-preview/pr-159/docs/source-images.html delete mode 100644 pr-preview/pr-159/docs/testing.html delete mode 100644 pr-preview/pr-159/favicon.png delete mode 100644 pr-preview/pr-159/index.html delete mode 100644 pr-preview/pr-159/serverless-iiif-logo.svg diff --git a/pr-preview/pr-159/404.html b/pr-preview/pr-159/404.html deleted file mode 100644 index 426bce4..0000000 --- a/pr-preview/pr-159/404.html +++ /dev/null @@ -1 +0,0 @@ -404: This page could not be found

404

This page could not be found.

\ No newline at end of file diff --git a/pr-preview/pr-159/_next/data/KvvVSAosvkjv2ztdyCsVd/docs/quick-start/infrastructure/cloudformation.json b/pr-preview/pr-159/_next/data/KvvVSAosvkjv2ztdyCsVd/docs/quick-start/infrastructure/cloudformation.json deleted file mode 100644 index 1225595..0000000 --- a/pr-preview/pr-159/_next/data/KvvVSAosvkjv2ztdyCsVd/docs/quick-start/infrastructure/cloudformation.json +++ /dev/null @@ -1 +0,0 @@ -{"pageProps":{"ssg":{"data":{"yaml":"/*@jsxRuntime automatic @jsxImportSource react*/\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = Object.assign({\n pre: \"pre\",\n code: \"code\",\n span: \"span\"\n }, _provideComponents(), props.components);\n return _jsx(_components.pre, {\n \"data-language\": \"yaml\",\n \"data-theme\": \"default\",\n hasCopyCode: true,\n children: _jsxs(_components.code, {\n \"data-language\": \"yaml\",\n \"data-theme\": \"default\",\n children: [_jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"Type\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"AWS::Serverless::Application\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"Properties\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \":\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"Location\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \":\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"ApplicationId\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"arn:aws:serverlessrepo:us-east-1:625046682746:applications/serverless-iiif-standalone-dev\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"SemanticVersion\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-constant)\"\n },\n children: \"5.0.0\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"Parameters\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \":\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"CorsAllowCredentials\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"String\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"CorsAllowHeaders\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"String\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"CorsAllowOrigin\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"String\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"CorsExposeHeaders\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"String\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"CorsMaxAge\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"Number\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"ForceHost\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"String\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"IiifLambdaMemory\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"Number\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"IiifLambdaTimeout\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"Number\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"PixelDensity\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"Number\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"Preflight\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"String\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"PyramidLimit\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"Number\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"ResolverTemplate\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"String\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"SharpLayer\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"String\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"SourceBucket\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"String\"\n })]\n }), \"\\n\", _jsx(_components.span, {\n className: \"line\",\n children: \" \"\n })]\n })\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = Object.assign({}, _provideComponents(), props.components);\n return MDXLayout ? _jsx(MDXLayout, Object.assign({}, props, {\n children: _jsx(_createMdxContent, props)\n })) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","json":"/*@jsxRuntime automatic @jsxImportSource react*/\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = Object.assign({\n pre: \"pre\",\n code: \"code\",\n span: \"span\"\n }, _provideComponents(), props.components);\n return _jsx(_components.pre, {\n \"data-language\": \"json\",\n \"data-theme\": \"default\",\n hasCopyCode: true,\n children: _jsxs(_components.code, {\n \"data-language\": \"json\",\n \"data-theme\": \"default\",\n children: [_jsx(_components.span, {\n className: \"line\",\n children: _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \"{\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"\\\"Type\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"\\\"AWS::Serverless::Application\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"\\\"Properties\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" {\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"\\\"Location\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" {\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"\\\"ApplicationId\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"\\\"arn:aws:serverlessrepo:us-east-1:625046682746:applications/serverless-iiif-standalone-dev\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"\\\"SemanticVersion\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"\\\"5.0.0\\\"\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" }\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"\\\"Parameters\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" {\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"\\\"CorsAllowCredentials\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"\\\"String\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"\\\"CorsAllowHeaders\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"\\\"String\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"\\\"CorsAllowOrigin\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"\\\"String\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"\\\"CorsExposeHeaders\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"\\\"String\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"\\\"CorsMaxAge\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"\\\"Number\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"\\\"ForceHost\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"\\\"String\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"\\\"IiifLambdaMemory\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"\\\"Number\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"\\\"IiifLambdaTimeout\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"\\\"Number\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"\\\"PixelDensity\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"\\\"Number\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"\\\"Preflight\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"\\\"String\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"\\\"PyramidLimit\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"\\\"Number\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"\\\"ResolverTemplate\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"\\\"String\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"\\\"SharpLayer\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"\\\"String\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"\\\"SourceBucket\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"\\\"String\\\"\"\n })]\n }), \"\\n\", _jsx(_components.span, {\n className: \"line\",\n children: _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" }\"\n })\n }), \"\\n\", _jsx(_components.span, {\n className: \"line\",\n children: _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" }\"\n })\n }), \"\\n\", _jsx(_components.span, {\n className: \"line\",\n children: _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \"}\"\n })\n })]\n })\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = Object.assign({}, _provideComponents(), props.components);\n return MDXLayout ? _jsx(MDXLayout, Object.assign({}, props, {\n children: _jsx(_createMdxContent, props)\n })) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","props":[{"Name":"CorsAllowCredentials","Type":"String","Description":"/*@jsxRuntime automatic @jsxImportSource react*/\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = Object.assign({\n p: \"p\",\n code: \"code\"\n }, _provideComponents(), props.components);\n return _jsxs(_components.p, {\n children: [\"Value of the CORS \", _jsx(_components.code, {\n children: \"Access-Control-Allow-Credentials\"\n }), \" response header. Must be \", _jsx(_components.code, {\n children: \"true\"\n }), \" to allow requests with \", _jsx(_components.code, {\n children: \"Authorization\"\n }), \" and/or \", _jsx(_components.code, {\n children: \"Cookie\"\n }), \" headers.\"]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = Object.assign({}, _provideComponents(), props.components);\n return MDXLayout ? _jsx(MDXLayout, Object.assign({}, props, {\n children: _jsx(_createMdxContent, props)\n })) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","AllowedValues":[false,true],"Default":false},{"Name":"CorsAllowHeaders","Type":"String","Description":"/*@jsxRuntime automatic @jsxImportSource react*/\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = Object.assign({\n p: \"p\",\n code: \"code\"\n }, _provideComponents(), props.components);\n return _jsxs(_components.p, {\n children: [\"Value of the CORS \", _jsx(_components.code, {\n children: \"Access-Control-Allow-Headers\"\n }), \" response header\"]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = Object.assign({}, _provideComponents(), props.components);\n return MDXLayout ? _jsx(MDXLayout, Object.assign({}, props, {\n children: _jsx(_createMdxContent, props)\n })) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","Default":"*"},{"Name":"CorsAllowOrigin","Type":"String","Description":"/*@jsxRuntime automatic @jsxImportSource react*/\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = Object.assign({\n p: \"p\",\n code: \"code\"\n }, _provideComponents(), props.components);\n return _jsxs(_components.p, {\n children: [\"Value of the CORS \", _jsx(_components.code, {\n children: \"Access-Control-Allow-Origin\"\n }), \" response header. Use the special value \", _jsx(_components.code, {\n children: \"REFLECT_ORIGIN\"\n }), \" to copy the value from the \", _jsx(_components.code, {\n children: \"Origin\"\n }), \" request header (required to emulate \", _jsx(_components.code, {\n children: \"*\"\n }), \" for XHR requests using \", _jsx(_components.code, {\n children: \"Authorization\"\n }), \" and/or \", _jsx(_components.code, {\n children: \"Cookie\"\n }), \" headers).\"]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = Object.assign({}, _provideComponents(), props.components);\n return MDXLayout ? _jsx(MDXLayout, Object.assign({}, props, {\n children: _jsx(_createMdxContent, props)\n })) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","Default":"*"},{"Name":"CorsExposeHeaders","Type":"String","Description":"/*@jsxRuntime automatic @jsxImportSource react*/\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = Object.assign({\n p: \"p\",\n code: \"code\"\n }, _provideComponents(), props.components);\n return _jsxs(_components.p, {\n children: [\"Value of the CORS \", _jsx(_components.code, {\n children: \"Access-Control-Expose-Headers\"\n }), \" response header\"]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = Object.assign({}, _provideComponents(), props.components);\n return MDXLayout ? _jsx(MDXLayout, Object.assign({}, props, {\n children: _jsx(_createMdxContent, props)\n })) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","Default":"cache-control,content-language,content-length,content-type,date,expires,last-modified,pragma"},{"Name":"CorsMaxAge","Type":"Number","Description":"/*@jsxRuntime automatic @jsxImportSource react*/\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = Object.assign({\n p: \"p\",\n code: \"code\"\n }, _provideComponents(), props.components);\n return _jsxs(_components.p, {\n children: [\"Value of the CORS \", _jsx(_components.code, {\n children: \"Access-Control-MaxAge\"\n }), \" response header\"]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = Object.assign({}, _provideComponents(), props.components);\n return MDXLayout ? _jsx(MDXLayout, Object.assign({}, props, {\n children: _jsx(_createMdxContent, props)\n })) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","Default":3600},{"Name":"ForceHost","Type":"String","Description":"/*@jsxRuntime automatic @jsxImportSource react*/\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = Object.assign({\n p: \"p\"\n }, _provideComponents(), props.components);\n return _jsx(_components.p, {\n children: \"Forced hostname to use in responses\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = Object.assign({}, _provideComponents(), props.components);\n return MDXLayout ? _jsx(MDXLayout, Object.assign({}, props, {\n children: _jsx(_createMdxContent, props)\n })) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","Default":""},{"Name":"IiifLambdaMemory","Type":"Number","Description":"/*@jsxRuntime automatic @jsxImportSource react*/\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = Object.assign({\n p: \"p\"\n }, _provideComponents(), props.components);\n return _jsx(_components.p, {\n children: \"The memory provisioned for the lambda.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = Object.assign({}, _provideComponents(), props.components);\n return MDXLayout ? _jsx(MDXLayout, Object.assign({}, props, {\n children: _jsx(_createMdxContent, props)\n })) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","MinValue":128,"MaxValue":10240,"Default":3008},{"Name":"IiifLambdaTimeout","Type":"Number","Description":"/*@jsxRuntime automatic @jsxImportSource react*/\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = Object.assign({\n p: \"p\"\n }, _provideComponents(), props.components);\n return _jsx(_components.p, {\n children: \"The timeout for the lambda.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = Object.assign({}, _provideComponents(), props.components);\n return MDXLayout ? _jsx(MDXLayout, Object.assign({}, props, {\n children: _jsx(_createMdxContent, props)\n })) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","Default":10},{"Name":"PixelDensity","Type":"Number","Description":"/*@jsxRuntime automatic @jsxImportSource react*/\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = Object.assign({\n p: \"p\"\n }, _provideComponents(), props.components);\n return _jsx(_components.p, {\n children: \"Hardcoded DPI/Pixel Density/Resolution to encode in output images\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = Object.assign({}, _provideComponents(), props.components);\n return MDXLayout ? _jsx(MDXLayout, Object.assign({}, props, {\n children: _jsx(_createMdxContent, props)\n })) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","Default":0,"MinValue":0},{"Name":"Preflight","Type":"String","Description":"/*@jsxRuntime automatic @jsxImportSource react*/\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = Object.assign({\n p: \"p\"\n }, _provideComponents(), props.components);\n return _jsx(_components.p, {\n children: \"Indicates whether the function should expect preflight headers\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = Object.assign({}, _provideComponents(), props.components);\n return MDXLayout ? _jsx(MDXLayout, Object.assign({}, props, {\n children: _jsx(_createMdxContent, props)\n })) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","AllowedValues":[false,true],"Default":false},{"Name":"PyramidLimit","Type":"Number","Description":"/*@jsxRuntime automatic @jsxImportSource react*/\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = Object.assign({\n p: \"p\",\n code: \"code\"\n }, _provideComponents(), props.components);\n return _jsxs(_components.p, {\n children: [\"Smallest pyramid image dimension. Set to \", _jsx(_components.code, {\n children: \"0\"\n }), \" to prevent server from auto-calculating pyramid page sizes.\"]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = Object.assign({}, _provideComponents(), props.components);\n return MDXLayout ? _jsx(MDXLayout, Object.assign({}, props, {\n children: _jsx(_createMdxContent, props)\n })) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","MinValue":0,"Default":256},{"Name":"ResolverTemplate","Type":"String","Description":"/*@jsxRuntime automatic @jsxImportSource react*/\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = Object.assign({\n p: \"p\"\n }, _provideComponents(), props.components);\n return _jsx(_components.p, {\n children: \"A printf-style format string that determines the location of source image within the bucket given the image ID\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = Object.assign({}, _provideComponents(), props.components);\n return MDXLayout ? _jsx(MDXLayout, Object.assign({}, props, {\n children: _jsx(_createMdxContent, props)\n })) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","Default":"%s.tif"},{"Name":"SharpLayer","Type":"String","Description":"/*@jsxRuntime automatic @jsxImportSource react*/\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = Object.assign({\n p: \"p\",\n code: \"code\"\n }, _provideComponents(), props.components);\n return _jsxs(_components.p, {\n children: [\"ARN of a custom AWS Lambda Layer containing the sharp and libvips dependencies. Use the special value \", _jsx(_components.code, {\n children: \"JP2\"\n }), \" to use the managed JPEG2000-compatible layer, or \", _jsx(_components.code, {\n children: \"INTERNAL\"\n }), \" to use the built-in dependencies (without JPEG2000 support).\"]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = Object.assign({}, _provideComponents(), props.components);\n return MDXLayout ? _jsx(MDXLayout, Object.assign({}, props, {\n children: _jsx(_createMdxContent, props)\n })) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","AllowedPattern":"^INTERNAL$|^JP2$|^arn:aws:lambda:.*:.*:layer:.+:\\d+$","Default":"JP2"},{"Name":"SourceBucket","Type":"String","Description":"/*@jsxRuntime automatic @jsxImportSource react*/\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = Object.assign({\n p: \"p\"\n }, _provideComponents(), props.components);\n return _jsx(_components.p, {\n children: \"Name of bucket containing source images\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = Object.assign({}, _provideComponents(), props.components);\n return MDXLayout ? _jsx(MDXLayout, Object.assign({}, props, {\n children: _jsx(_createMdxContent, props)\n })) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n"}],"examples":{"yaml":"/*@jsxRuntime automatic @jsxImportSource react*/\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = Object.assign({\n pre: \"pre\",\n code: \"code\",\n span: \"span\"\n }, _provideComponents(), props.components);\n return _jsx(_components.pre, {\n \"data-language\": \"yaml\",\n \"data-theme\": \"default\",\n hasCopyCode: true,\n children: _jsxs(_components.code, {\n \"data-language\": \"yaml\",\n \"data-theme\": \"default\",\n children: [_jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"AWSTemplateFormatVersion\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" 2010-09-09\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"Description\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"IIIF Image server w/CloudFront Caching & Custom Hostname\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"Parameters\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \":\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"CacheDomainName\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \":\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"Type\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"String\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"Description\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"Custom Domain Name for the CloudFront Cache\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"CacheHostName\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \":\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"Type\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"String\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"Description\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"Custom Hostname for the CloudFront Cache\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"CacheSSLCertificate\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \":\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"Type\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"String\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"Description\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"ARN of the ACM SSL Certification to use for the API Gateway\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"Endpoint or CloudFront Cache\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"IiifSourceBucket\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \":\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"Type\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"String\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"Description\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"Name of bucket containing source images\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"Resources\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \":\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"ServerlessIiif\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \":\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"Type\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"AWS::Serverless::Application\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"Properties\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \":\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"Location\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \":\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"ApplicationId\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"arn:aws:serverlessrepo:us-east-1:625046682746:applications/serverless-iiif\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"SemanticVersion\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-constant)\"\n },\n children: \"5.1.0\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"Parameters\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \":\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"ForceHost\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"!Sub\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"\\\"${CacheHostName}.${CacheDomainName}\\\"\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"SourceBucket\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"!Ref\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"IiifSourceBucket\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"ResponseHeaderPolicy\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \":\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"Type\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"AWS::CloudFront::ResponseHeadersPolicy\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"Properties\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \":\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"ResponseHeadersPolicyConfig\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \":\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"Name\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"!Sub\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"\\\"${AWS::StackName}-allow-cors-response-headers\\\"\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"Comment\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"Allows IIIF CORS response headers\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"CorsConfig\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \":\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"AccessControlAllowCredentials\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-constant)\"\n },\n children: \"false\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"AccessControlAllowHeaders\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \":\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"Items\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \":\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" - \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"\\\"*\\\"\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"AccessControlAllowMethods\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \":\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"Items\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \":\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" - \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"GET\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" - \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"OPTIONS\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"AccessControlAllowOrigins\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \":\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"Items\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \":\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" - \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"\\\"*\\\"\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"AccessControlExposeHeaders\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \":\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"Items\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \":\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" - \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"cache-control\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" - \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"content-language\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" - \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"content-length\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" - \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"content-type\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" - \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"date\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" - \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"expires\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" - \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"last-modified\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" - \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"pragma\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"AccessControlMaxAgeSec\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-constant)\"\n },\n children: \"3600\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"OriginOverride\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-constant)\"\n },\n children: \"false\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"CachingEndpoint\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \":\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"Type\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"AWS::CloudFront::Distribution\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"Properties\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \":\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"DistributionConfig\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \":\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"Enabled\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-constant)\"\n },\n children: \"true\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"PriceClass\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"PriceClass_100\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"Aliases\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \":\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" - \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"!Sub\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"\\\"${CacheHostName}.${CacheDomainName}\\\"\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"ViewerCertificate\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \":\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"AcmCertificateArn\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"!Ref\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"CacheSSLCertificate\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"MinimumProtocolVersion\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"TLSv1\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"SslSupportMethod\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"sni-only\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"Origins\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \":\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" - \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"Id\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"IiifLambda\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"CustomOriginConfig\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \":\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"OriginProtocolPolicy\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"https-only\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"DomainName\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"!GetAtt\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"ServerlessIiif.Outputs.FunctionDomain\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"DefaultCacheBehavior\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \":\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"TargetOriginId\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"IiifLambda\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"ViewerProtocolPolicy\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"https-only\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"AllowedMethods\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \":\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" - \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"GET\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" - \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"HEAD\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" - \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"OPTIONS\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"CachedMethods\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \":\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" - \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"GET\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" - \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"HEAD\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"CachePolicyId\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"658327ea-f89d-4fab-a63d-7e88639e58f6\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"ResponseHeadersPolicyId\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"!Ref\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"ResponseHeaderPolicy\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"Route53Record\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \":\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"Type\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"AWS::Route53::RecordSet\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"Properties\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \":\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"Name\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"!Sub\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"\\\"${CacheHostName}.${CacheDomainName}\\\"\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"HostedZoneName\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"!Sub\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"\\\"${CacheDomainName}.\\\"\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"Type\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"A\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"AliasTarget\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \":\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"DNSName\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"!GetAtt\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"CachingEndpoint.DomainName\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"HostedZoneId\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"Z2FDTNDATAQYW2\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"Outputs\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \":\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"EndpointV2\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \":\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"Description\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"IIIFv2 Endpoint URL\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"Value\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"!Sub\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"\\\"https://${CacheHostName}.${CacheDomainName}/iiif/2\\\"\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"EndpointV3\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \":\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"Description\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"IIIFv3 Endpoint URL\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"Value\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"!Sub\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"\\\"https://${CacheHostName}.${CacheDomainName}/iiif/3\\\"\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"DistributionId\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \":\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"Description\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"Caching Distribution ID\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"Value\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"!Ref\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"CachingEndpoint\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"Export\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \":\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"Name\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"!Sub\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"\\\"${AWS::StackName}:DistributionId\\\"\"\n })]\n }), \"\\n\", _jsx(_components.span, {\n className: \"line\",\n children: \" \"\n })]\n })\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = Object.assign({}, _provideComponents(), props.components);\n return MDXLayout ? _jsx(MDXLayout, Object.assign({}, props, {\n children: _jsx(_createMdxContent, props)\n })) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","json":"/*@jsxRuntime automatic @jsxImportSource react*/\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = Object.assign({\n pre: \"pre\",\n code: \"code\",\n span: \"span\"\n }, _provideComponents(), props.components);\n return _jsx(_components.pre, {\n \"data-language\": \"json\",\n \"data-theme\": \"default\",\n hasCopyCode: true,\n children: _jsxs(_components.code, {\n \"data-language\": \"json\",\n \"data-theme\": \"default\",\n children: [_jsx(_components.span, {\n className: \"line\",\n children: _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \"{\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"\\\"AWSTemplateFormatVersion\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"\\\"2010-09-09\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"\\\"Description\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"\\\"IIIF Image server w/CloudFront Caching & Custom Hostname\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"\\\"Parameters\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" {\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"\\\"CacheDomainName\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" {\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"\\\"Type\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"\\\"String\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"\\\"Description\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"\\\"Custom Domain Name for the CloudFront Cache\\\"\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" }\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"\\\"CacheHostName\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" {\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"\\\"Type\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"\\\"String\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"\\\"Description\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"\\\"Custom Hostname for the CloudFront Cache\\\"\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" }\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"\\\"CacheSSLCertificate\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" {\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"\\\"Type\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"\\\"String\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"\\\"Description\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"\\\"ARN of the ACM SSL Certification to use for the API Gateway Endpoint or CloudFront Cache\\\"\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" }\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"\\\"IiifSourceBucket\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" {\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"\\\"Type\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"\\\"String\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"\\\"Description\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"\\\"Name of bucket containing source images\\\"\"\n })]\n }), \"\\n\", _jsx(_components.span, {\n className: \"line\",\n children: _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" }\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" }\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"\\\"Resources\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" {\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"\\\"ServerlessIiif\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" {\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"\\\"Type\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"\\\"AWS::Serverless::Application\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"\\\"Properties\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" {\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"\\\"Location\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" {\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"\\\"ApplicationId\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"\\\"arn:aws:serverlessrepo:us-east-1:625046682746:applications/serverless-iiif\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"\\\"SemanticVersion\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"\\\"5.1.0\\\"\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" }\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"\\\"Parameters\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" {\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"\\\"ForceHost\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" {\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"\\\"Fn::Sub\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"\\\"${CacheHostName}.${CacheDomainName}\\\"\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" }\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"\\\"SourceBucket\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" {\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"\\\"Ref\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"\\\"IiifSourceBucket\\\"\"\n })]\n }), \"\\n\", _jsx(_components.span, {\n className: \"line\",\n children: _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" }\"\n })\n }), \"\\n\", _jsx(_components.span, {\n className: \"line\",\n children: _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" }\"\n })\n }), \"\\n\", _jsx(_components.span, {\n className: \"line\",\n children: _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" }\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" }\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"\\\"ResponseHeaderPolicy\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" {\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"\\\"Type\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"\\\"AWS::CloudFront::ResponseHeadersPolicy\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"\\\"Properties\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" {\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"\\\"ResponseHeadersPolicyConfig\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" {\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"\\\"Name\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" {\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"\\\"Fn::Sub\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"\\\"${AWS::StackName}-allow-cors-response-headers\\\"\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" }\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"\\\"Comment\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"\\\"Allows IIIF CORS response headers\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"\\\"CorsConfig\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" {\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"\\\"AccessControlAllowCredentials\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-constant)\"\n },\n children: \"false\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"\\\"AccessControlAllowHeaders\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" {\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"\\\"Items\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" [\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"\\\"*\\\"\"\n })]\n }), \"\\n\", _jsx(_components.span, {\n className: \"line\",\n children: _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" ]\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" }\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"\\\"AccessControlAllowMethods\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" {\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"\\\"Items\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" [\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"\\\"GET\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"\\\"OPTIONS\\\"\"\n })]\n }), \"\\n\", _jsx(_components.span, {\n className: \"line\",\n children: _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" ]\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" }\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"\\\"AccessControlAllowOrigins\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" {\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"\\\"Items\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" [\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"\\\"*\\\"\"\n })]\n }), \"\\n\", _jsx(_components.span, {\n className: \"line\",\n children: _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" ]\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" }\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"\\\"AccessControlExposeHeaders\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" {\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"\\\"Items\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" [\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"\\\"cache-control\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"\\\"content-language\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"\\\"content-length\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"\\\"content-type\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"\\\"date\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"\\\"expires\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"\\\"last-modified\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"\\\"pragma\\\"\"\n })]\n }), \"\\n\", _jsx(_components.span, {\n className: \"line\",\n children: _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" ]\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" }\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"\\\"AccessControlMaxAgeSec\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-constant)\"\n },\n children: \"3600\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"\\\"OriginOverride\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-constant)\"\n },\n children: \"false\"\n })]\n }), \"\\n\", _jsx(_components.span, {\n className: \"line\",\n children: _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" }\"\n })\n }), \"\\n\", _jsx(_components.span, {\n className: \"line\",\n children: _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" }\"\n })\n }), \"\\n\", _jsx(_components.span, {\n className: \"line\",\n children: _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" }\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" }\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"\\\"CachingEndpoint\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" {\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"\\\"Type\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"\\\"AWS::CloudFront::Distribution\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"\\\"Properties\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" {\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"\\\"DistributionConfig\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" {\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"\\\"Enabled\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-constant)\"\n },\n children: \"true\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"\\\"PriceClass\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"\\\"PriceClass_100\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"\\\"Aliases\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" [\"\n })]\n }), \"\\n\", _jsx(_components.span, {\n className: \"line\",\n children: _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" {\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"\\\"Fn::Sub\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"\\\"${CacheHostName}.${CacheDomainName}\\\"\"\n })]\n }), \"\\n\", _jsx(_components.span, {\n className: \"line\",\n children: _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" }\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" ]\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"\\\"ViewerCertificate\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" {\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"\\\"AcmCertificateArn\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" {\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"\\\"Ref\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"\\\"CacheSSLCertificate\\\"\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" }\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"\\\"MinimumProtocolVersion\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"\\\"TLSv1\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"\\\"SslSupportMethod\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"\\\"sni-only\\\"\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" }\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"\\\"Origins\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" [\"\n })]\n }), \"\\n\", _jsx(_components.span, {\n className: \"line\",\n children: _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" {\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"\\\"Id\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"\\\"IiifLambda\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"\\\"CustomOriginConfig\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" {\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"\\\"OriginProtocolPolicy\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"\\\"https-only\\\"\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" }\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"\\\"DomainName\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" {\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"\\\"Fn::GetAtt\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"\\\"ServerlessIiif.Outputs.FunctionDomain\\\"\"\n })]\n }), \"\\n\", _jsx(_components.span, {\n className: \"line\",\n children: _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" }\"\n })\n }), \"\\n\", _jsx(_components.span, {\n className: \"line\",\n children: _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" }\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" ]\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"\\\"DefaultCacheBehavior\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" {\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"\\\"TargetOriginId\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"\\\"IiifLambda\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"\\\"ViewerProtocolPolicy\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"\\\"https-only\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"\\\"AllowedMethods\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" [\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"\\\"GET\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"\\\"HEAD\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"\\\"OPTIONS\\\"\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" ]\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"\\\"CachedMethods\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" [\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"\\\"GET\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"\\\"HEAD\\\"\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" ]\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"\\\"CachePolicyId\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"\\\"658327ea-f89d-4fab-a63d-7e88639e58f6\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"\\\"ResponseHeadersPolicyId\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" {\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"\\\"Ref\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"\\\"ResponseHeaderPolicy\\\"\"\n })]\n }), \"\\n\", _jsx(_components.span, {\n className: \"line\",\n children: _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" }\"\n })\n }), \"\\n\", _jsx(_components.span, {\n className: \"line\",\n children: _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" }\"\n })\n }), \"\\n\", _jsx(_components.span, {\n className: \"line\",\n children: _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" }\"\n })\n }), \"\\n\", _jsx(_components.span, {\n className: \"line\",\n children: _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" }\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" }\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"\\\"Route53Record\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" {\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"\\\"Type\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"\\\"AWS::Route53::RecordSet\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"\\\"Properties\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" {\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"\\\"Name\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" {\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"\\\"Fn::Sub\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"\\\"${CacheHostName}.${CacheDomainName}\\\"\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" }\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"\\\"HostedZoneName\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" {\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"\\\"Fn::Sub\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"\\\"${CacheDomainName}.\\\"\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" }\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"\\\"Type\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"\\\"A\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"\\\"AliasTarget\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" {\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"\\\"DNSName\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" {\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"\\\"Fn::GetAtt\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"\\\"CachingEndpoint.DomainName\\\"\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" }\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"\\\"HostedZoneId\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"\\\"Z2FDTNDATAQYW2\\\"\"\n })]\n }), \"\\n\", _jsx(_components.span, {\n className: \"line\",\n children: _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" }\"\n })\n }), \"\\n\", _jsx(_components.span, {\n className: \"line\",\n children: _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" }\"\n })\n }), \"\\n\", _jsx(_components.span, {\n className: \"line\",\n children: _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" }\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" }\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"\\\"Outputs\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" {\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"\\\"EndpointV2\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" {\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"\\\"Description\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"\\\"IIIFv2 Endpoint URL\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"\\\"Value\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" {\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"\\\"Fn::Sub\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"\\\"https://${CacheHostName}.${CacheDomainName}/iiif/2\\\"\"\n })]\n }), \"\\n\", _jsx(_components.span, {\n className: \"line\",\n children: _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" }\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" }\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"\\\"EndpointV3\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" {\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"\\\"Description\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"\\\"IIIFv3 Endpoint URL\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"\\\"Value\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" {\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"\\\"Fn::Sub\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"\\\"https://${CacheHostName}.${CacheDomainName}/iiif/3\\\"\"\n })]\n }), \"\\n\", _jsx(_components.span, {\n className: \"line\",\n children: _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" }\"\n })\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" }\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"\\\"DistributionId\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" {\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"\\\"Description\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"\\\"Caching Distribution ID\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"\\\"Value\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" {\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"\\\"Ref\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"\\\"CachingEndpoint\\\"\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" }\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \",\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"\\\"Export\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" {\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"\\\"Name\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" {\"\n })]\n }), \"\\n\", _jsxs(_components.span, {\n className: \"line\",\n children: [_jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-keyword)\"\n },\n children: \"\\\"Fn::Sub\\\"\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-punctuation)\"\n },\n children: \":\"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" \"\n }), _jsx(_components.span, {\n style: {\n color: \"var(--shiki-token-string-expression)\"\n },\n children: \"\\\"${AWS::StackName}:DistributionId\\\"\"\n })]\n }), \"\\n\", _jsx(_components.span, {\n className: \"line\",\n children: _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" }\"\n })\n }), \"\\n\", _jsx(_components.span, {\n className: \"line\",\n children: _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" }\"\n })\n }), \"\\n\", _jsx(_components.span, {\n className: \"line\",\n children: _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" }\"\n })\n }), \"\\n\", _jsx(_components.span, {\n className: \"line\",\n children: _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \" }\"\n })\n }), \"\\n\", _jsx(_components.span, {\n className: \"line\",\n children: _jsx(_components.span, {\n style: {\n color: \"var(--shiki-color-text)\"\n },\n children: \"}\"\n })\n })]\n })\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = Object.assign({}, _provideComponents(), props.components);\n return MDXLayout ? _jsx(MDXLayout, Object.assign({}, props, {\n children: _jsx(_createMdxContent, props)\n })) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n"}}}},"__N_SSG":true} \ No newline at end of file diff --git a/pr-preview/pr-159/_next/data/KvvVSAosvkjv2ztdyCsVd/docs/quick-start/infrastructure/terraform.json b/pr-preview/pr-159/_next/data/KvvVSAosvkjv2ztdyCsVd/docs/quick-start/infrastructure/terraform.json deleted file mode 100644 index ceccc6a..0000000 --- a/pr-preview/pr-159/_next/data/KvvVSAosvkjv2ztdyCsVd/docs/quick-start/infrastructure/terraform.json +++ /dev/null @@ -1 +0,0 @@ -{"pageProps":{"ssg":{"data":{"inputs":[{"Name":"cors_allow_credentials","Type":"bool","Description":"/*@jsxRuntime automatic @jsxImportSource react*/\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = Object.assign({\n p: \"p\",\n code: \"code\"\n }, _provideComponents(), props.components);\n return _jsxs(_components.p, {\n children: [\"Description: Value of the CORS \", _jsx(_components.code, {\n children: \"Access-Control-Allow-Credentials\"\n }), \" response header. Must be \", _jsx(_components.code, {\n children: \"true\"\n }), \" to allow requests with \", _jsx(_components.code, {\n children: \"Authorization\"\n }), \" and/or \", _jsx(_components.code, {\n children: \"Cookie\"\n }), \" headers.\"]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = Object.assign({}, _provideComponents(), props.components);\n return MDXLayout ? _jsx(MDXLayout, Object.assign({}, props, {\n children: _jsx(_createMdxContent, props)\n })) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","AllowedValues":[false,true],"Default":false},{"Name":"cors_allow_headers","Type":"string","Description":"/*@jsxRuntime automatic @jsxImportSource react*/\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = Object.assign({\n p: \"p\",\n code: \"code\"\n }, _provideComponents(), props.components);\n return _jsxs(_components.p, {\n children: [\"Description: Value of the CORS \", _jsx(_components.code, {\n children: \"Access-Control-Allow-Headers\"\n }), \" response header\"]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = Object.assign({}, _provideComponents(), props.components);\n return MDXLayout ? _jsx(MDXLayout, Object.assign({}, props, {\n children: _jsx(_createMdxContent, props)\n })) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","Default":"*"},{"Name":"cors_allow_origin","Type":"string","Description":"/*@jsxRuntime automatic @jsxImportSource react*/\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = Object.assign({\n p: \"p\",\n code: \"code\"\n }, _provideComponents(), props.components);\n return _jsxs(_components.p, {\n children: [\"Description: Value of the CORS \", _jsx(_components.code, {\n children: \"Access-Control-Allow-Origin\"\n }), \" response header. Use the special value \", _jsx(_components.code, {\n children: \"REFLECT_ORIGIN\"\n }), \" to copy the value from the \", _jsx(_components.code, {\n children: \"Origin\"\n }), \" request header (required to emulate \", _jsx(_components.code, {\n children: \"*\"\n }), \" for XHR requests using \", _jsx(_components.code, {\n children: \"Authorization\"\n }), \" and/or \", _jsx(_components.code, {\n children: \"Cookie\"\n }), \" headers).\"]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = Object.assign({}, _provideComponents(), props.components);\n return MDXLayout ? _jsx(MDXLayout, Object.assign({}, props, {\n children: _jsx(_createMdxContent, props)\n })) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","Default":"*"},{"Name":"cors_expose_headers","Type":"string","Description":"/*@jsxRuntime automatic @jsxImportSource react*/\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = Object.assign({\n p: \"p\",\n code: \"code\"\n }, _provideComponents(), props.components);\n return _jsxs(_components.p, {\n children: [\"Description: Value of the CORS \", _jsx(_components.code, {\n children: \"Access-Control-Expose-Headers\"\n }), \" response header\"]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = Object.assign({}, _provideComponents(), props.components);\n return MDXLayout ? _jsx(MDXLayout, Object.assign({}, props, {\n children: _jsx(_createMdxContent, props)\n })) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","Default":"cache-control,content-language,content-length,content-type,date,expires,last-modified,pragma"},{"Name":"cors_max_age","Type":"number","Description":"/*@jsxRuntime automatic @jsxImportSource react*/\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = Object.assign({\n p: \"p\",\n code: \"code\"\n }, _provideComponents(), props.components);\n return _jsxs(_components.p, {\n children: [\"Description: Value of the CORS \", _jsx(_components.code, {\n children: \"Access-Control-MaxAge\"\n }), \" response header\"]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = Object.assign({}, _provideComponents(), props.components);\n return MDXLayout ? _jsx(MDXLayout, Object.assign({}, props, {\n children: _jsx(_createMdxContent, props)\n })) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","Default":3600},{"Name":"force_host","Type":"string","Description":"/*@jsxRuntime automatic @jsxImportSource react*/\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = Object.assign({\n p: \"p\"\n }, _provideComponents(), props.components);\n return _jsx(_components.p, {\n children: \"Description: Forced hostname to use in responses\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = Object.assign({}, _provideComponents(), props.components);\n return MDXLayout ? _jsx(MDXLayout, Object.assign({}, props, {\n children: _jsx(_createMdxContent, props)\n })) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","Default":""},{"Name":"iiif_lambda_memory","Type":"number","Description":"/*@jsxRuntime automatic @jsxImportSource react*/\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = Object.assign({\n p: \"p\"\n }, _provideComponents(), props.components);\n return _jsx(_components.p, {\n children: \"Description: The memory provisioned for the lambda.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = Object.assign({}, _provideComponents(), props.components);\n return MDXLayout ? _jsx(MDXLayout, Object.assign({}, props, {\n children: _jsx(_createMdxContent, props)\n })) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","MinValue":128,"MaxValue":10240,"Default":3008},{"Name":"iiif_lambda_timeout","Type":"number","Description":"/*@jsxRuntime automatic @jsxImportSource react*/\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = Object.assign({\n p: \"p\"\n }, _provideComponents(), props.components);\n return _jsx(_components.p, {\n children: \"Description: The timeout for the lambda.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = Object.assign({}, _provideComponents(), props.components);\n return MDXLayout ? _jsx(MDXLayout, Object.assign({}, props, {\n children: _jsx(_createMdxContent, props)\n })) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","Default":10},{"Name":"pixel_density","Type":"number","Description":"/*@jsxRuntime automatic @jsxImportSource react*/\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = Object.assign({\n p: \"p\"\n }, _provideComponents(), props.components);\n return _jsx(_components.p, {\n children: \"Description: Hardcoded DPI/Pixel Density/Resolution to encode in output images\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = Object.assign({}, _provideComponents(), props.components);\n return MDXLayout ? _jsx(MDXLayout, Object.assign({}, props, {\n children: _jsx(_createMdxContent, props)\n })) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","Default":0,"MinValue":0},{"Name":"preflight","Type":"bool","Description":"/*@jsxRuntime automatic @jsxImportSource react*/\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = Object.assign({\n p: \"p\"\n }, _provideComponents(), props.components);\n return _jsx(_components.p, {\n children: \"Description: Indicates whether the function should expect preflight headers\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = Object.assign({}, _provideComponents(), props.components);\n return MDXLayout ? _jsx(MDXLayout, Object.assign({}, props, {\n children: _jsx(_createMdxContent, props)\n })) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","AllowedValues":[false,true],"Default":false},{"Name":"pyramid_limit","Type":"number","Description":"/*@jsxRuntime automatic @jsxImportSource react*/\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = Object.assign({\n p: \"p\",\n code: \"code\"\n }, _provideComponents(), props.components);\n return _jsxs(_components.p, {\n children: [\"Description: Smallest pyramid image dimension. Set to \", _jsx(_components.code, {\n children: \"0\"\n }), \" to prevent server from auto-calculating pyramid page sizes.\"]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = Object.assign({}, _provideComponents(), props.components);\n return MDXLayout ? _jsx(MDXLayout, Object.assign({}, props, {\n children: _jsx(_createMdxContent, props)\n })) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","MinValue":0,"Default":256},{"Name":"resolver_template","Type":"string","Description":"/*@jsxRuntime automatic @jsxImportSource react*/\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = Object.assign({\n p: \"p\"\n }, _provideComponents(), props.components);\n return _jsx(_components.p, {\n children: \"Description: A printf-style format string that determines the location of source image within the bucket given the image ID\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = Object.assign({}, _provideComponents(), props.components);\n return MDXLayout ? _jsx(MDXLayout, Object.assign({}, props, {\n children: _jsx(_createMdxContent, props)\n })) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","Default":"%s.tif"},{"Name":"sharp_layer","Type":"string","Description":"/*@jsxRuntime automatic @jsxImportSource react*/\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = Object.assign({\n p: \"p\",\n code: \"code\"\n }, _provideComponents(), props.components);\n return _jsxs(_components.p, {\n children: [\"Description: ARN of a custom AWS Lambda Layer containing the sharp and libvips dependencies. Use the special value \", _jsx(_components.code, {\n children: \"JP2\"\n }), \" to use the managed JPEG2000-compatible layer, or \", _jsx(_components.code, {\n children: \"INTERNAL\"\n }), \" to use the built-in dependencies (without JPEG2000 support).\"]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = Object.assign({}, _provideComponents(), props.components);\n return MDXLayout ? _jsx(MDXLayout, Object.assign({}, props, {\n children: _jsx(_createMdxContent, props)\n })) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","AllowedPattern":"^INTERNAL$|^JP2$|^arn:aws:lambda:.*:.*:layer:.+:\\d+$","Default":"JP2"},{"Name":"source_bucket","Type":"string","Description":"/*@jsxRuntime automatic @jsxImportSource react*/\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = Object.assign({\n p: \"p\"\n }, _provideComponents(), props.components);\n return _jsx(_components.p, {\n children: \"Description: Name of bucket containing source images\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = Object.assign({}, _provideComponents(), props.components);\n return MDXLayout ? _jsx(MDXLayout, Object.assign({}, props, {\n children: _jsx(_createMdxContent, props)\n })) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n"}],"outputs":[{"Name":"stack_id","Description":"The ID of the serverless-iiif application stack"},{"Name":"serverless_iiif_endpoint_v2","Description":"IIIF Image API v2 Endpoint"},{"Name":"serverless_iiif_endpoint_v3","Description":"IIIF Image API v3 Endpoint"},{"Name":"serverless_iiif_function_domain","Description":"IIIF Function Domain Name"},{"Name":"serverless_iiif_function_url","Description":"IIIF Function URL"}]}}},"__N_SSG":true} \ No newline at end of file diff --git a/pr-preview/pr-159/_next/static/KvvVSAosvkjv2ztdyCsVd/_buildManifest.js b/pr-preview/pr-159/_next/static/KvvVSAosvkjv2ztdyCsVd/_buildManifest.js deleted file mode 100644 index 21bcbf3..0000000 --- a/pr-preview/pr-159/_next/static/KvvVSAosvkjv2ztdyCsVd/_buildManifest.js +++ /dev/null @@ -1 +0,0 @@ -self.__BUILD_MANIFEST=function(s,c,t,a){return{__rewrites:{afterFiles:[],beforeFiles:[],fallback:[]},"/":[s,c,"static/css/e0e7c22adcdbef21.css","static/chunks/pages/index-76eadaa11eccab84.js"],"/_error":["static/chunks/pages/_error-5a00309fd5f4b49e.js"],"/about":[s,c,"static/css/e7f1e959babc9570.css","static/chunks/pages/about-09dac95578cb3cd4.js"],"/docs":[s,c,"static/css/a328a878aafba2bc.css","static/chunks/pages/docs-c3a8c0c08e050ef0.js"],"/docs/advanced-usage/cors":[s,c,"static/chunks/pages/docs/advanced-usage/cors-b0ca7f7320993e3f.js"],"/docs/advanced-usage/request-response-functions":[s,c,"static/chunks/pages/docs/advanced-usage/request-response-functions-36493bd5c4ad2318.js"],"/docs/communities/iiif":[s,c,"static/chunks/pages/docs/communities/iiif-c0a10a83513fad44.js"],"/docs/communities/samvera":[s,c,"static/chunks/pages/docs/communities/samvera-16fdca535a3795f8.js"],"/docs/contributors":[s,c,"static/chunks/pages/docs/contributors-8e24c85c22c6a351.js"],"/docs/custom-sharp-layer":[s,c,"static/chunks/pages/docs/custom-sharp-layer-1b87a5d81904c822.js"],"/docs/how-to-contribute":[s,c,"static/chunks/pages/docs/how-to-contribute-ecec2dcf317e9525.js"],"/docs/notes":[s,c,"static/chunks/pages/docs/notes-bd9ef6f31d1f49d7.js"],"/docs/quick-start":[s,c,"static/chunks/pages/docs/quick-start-37d838b2673c018c.js"],"/docs/quick-start/deleting-the-app":[s,c,"static/chunks/pages/docs/quick-start/deleting-the-app-36af7d08734e72d6.js"],"/docs/quick-start/deployment-command-line":[s,c,"static/chunks/pages/docs/quick-start/deployment-command-line-dce8d38dd856f7cd.js"],"/docs/quick-start/deployment-sam":[s,c,"static/chunks/pages/docs/quick-start/deployment-sam-593d313c59aaaf2e.js"],"/docs/quick-start/infrastructure":[s,c,"static/chunks/pages/docs/quick-start/infrastructure-97e0a03f8b6e3f65.js"],"/docs/quick-start/infrastructure/cloudformation":[s,c,t,a,"static/chunks/pages/docs/quick-start/infrastructure/cloudformation-b9d4a0e01541c4fc.js"],"/docs/quick-start/infrastructure/terraform":[s,c,t,a,"static/chunks/pages/docs/quick-start/infrastructure/terraform-efb74eca1b009be9.js"],"/docs/source-images":[s,c,"static/chunks/pages/docs/source-images-ac6a6898542e6b7f.js"],"/docs/testing":[s,c,"static/chunks/pages/docs/testing-63c2308cb4545896.js"],sortedPages:["/","/_app","/_error","/about","/docs","/docs/advanced-usage/cors","/docs/advanced-usage/request-response-functions","/docs/communities/iiif","/docs/communities/samvera","/docs/contributors","/docs/custom-sharp-layer","/docs/how-to-contribute","/docs/notes","/docs/quick-start","/docs/quick-start/deleting-the-app","/docs/quick-start/deployment-command-line","/docs/quick-start/deployment-sam","/docs/quick-start/infrastructure","/docs/quick-start/infrastructure/cloudformation","/docs/quick-start/infrastructure/terraform","/docs/source-images","/docs/testing"]}}("static/css/445c4173ffc2bf04.css","static/chunks/476-c23ea481ede67d10.js","static/chunks/160-5af51da9a6325e15.js","static/css/2799bd547bb37cdf.css"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB(); \ No newline at end of file diff --git a/pr-preview/pr-159/_next/static/KvvVSAosvkjv2ztdyCsVd/_ssgManifest.js b/pr-preview/pr-159/_next/static/KvvVSAosvkjv2ztdyCsVd/_ssgManifest.js deleted file mode 100644 index 3f9199b..0000000 --- a/pr-preview/pr-159/_next/static/KvvVSAosvkjv2ztdyCsVd/_ssgManifest.js +++ /dev/null @@ -1 +0,0 @@ -self.__SSG_MANIFEST=new Set(["\u002Fdocs\u002Fquick-start\u002Finfrastructure\u002Fcloudformation","\u002Fdocs\u002Fquick-start\u002Finfrastructure\u002Fterraform"]);self.__SSG_MANIFEST_CB&&self.__SSG_MANIFEST_CB() \ No newline at end of file diff --git a/pr-preview/pr-159/_next/static/chunks/160-5af51da9a6325e15.js b/pr-preview/pr-159/_next/static/chunks/160-5af51da9a6325e15.js deleted file mode 100644 index eee82d4..0000000 --- a/pr-preview/pr-159/_next/static/chunks/160-5af51da9a6325e15.js +++ /dev/null @@ -1,30 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[160],{1876:function(e){!function(){var t={675:function(e,t){"use strict";t.byteLength=function(e){var t=l(e),n=t[0],r=t[1];return(n+r)*3/4-r},t.toByteArray=function(e){var t,n,i=l(e),o=i[0],a=i[1],c=new s((o+a)*3/4-a),u=0,f=a>0?o-4:o;for(n=0;n>16&255,c[u++]=t>>8&255,c[u++]=255&t;return 2===a&&(t=r[e.charCodeAt(n)]<<2|r[e.charCodeAt(n+1)]>>4,c[u++]=255&t),1===a&&(t=r[e.charCodeAt(n)]<<10|r[e.charCodeAt(n+1)]<<4|r[e.charCodeAt(n+2)]>>2,c[u++]=t>>8&255,c[u++]=255&t),c},t.fromByteArray=function(e){for(var t,r=e.length,s=r%3,i=[],o=0,a=r-s;o>18&63]+n[s>>12&63]+n[s>>6&63]+n[63&s]);return i.join("")}(e,o,o+16383>a?a:o+16383));return 1===s?i.push(n[(t=e[r-1])>>2]+n[t<<4&63]+"=="):2===s&&i.push(n[(t=(e[r-2]<<8)+e[r-1])>>10]+n[t>>4&63]+n[t<<2&63]+"="),i.join("")};for(var n=[],r=[],s="undefined"!=typeof Uint8Array?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o=0,a=i.length;o0)throw Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");-1===n&&(n=t);var r=n===t?0:4-n%4;return[n,r]}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},72:function(e,t,n){"use strict";/*! - * The buffer module from node.js, for the browser. - * - * @author Feross Aboukhadijeh - * @license MIT - */var r=n(675),s=n(783),i="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function o(e){if(e>2147483647)throw RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,a.prototype),t}function a(e,t,n){if("number"==typeof e){if("string"==typeof t)throw TypeError('The "string" argument must be of type string. Received type number');return u(e)}return l(e,t,n)}function l(e,t,n){if("string"==typeof e)return function(e,t){if(("string"!=typeof t||""===t)&&(t="utf8"),!a.isEncoding(t))throw TypeError("Unknown encoding: "+t);var n=0|p(e,t),r=o(n),s=r.write(e,t);return s!==n&&(r=r.slice(0,s)),r}(e,t);if(ArrayBuffer.isView(e))return f(e);if(null==e)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(L(e,ArrayBuffer)||e&&L(e.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&(L(e,SharedArrayBuffer)||e&&L(e.buffer,SharedArrayBuffer)))return function(e,t,n){var r;if(t<0||e.byteLength=2147483647)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|e}function p(e,t){if(a.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||L(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var n=e.length,r=arguments.length>2&&!0===arguments[2];if(!r&&0===n)return 0;for(var s=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return N(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return T(e).length;default:if(s)return r?-1:N(e).length;t=(""+t).toLowerCase(),s=!0}}function d(e,t,n){var s,i,o=!1;if((void 0===t||t<0)&&(t=0),t>this.length||((void 0===n||n>this.length)&&(n=this.length),n<=0||(n>>>=0)<=(t>>>=0)))return"";for(e||(e="utf8");;)switch(e){case"hex":return function(e,t,n){var r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);for(var s="",i=t;i2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),(i=n=+n)!=i&&(n=s?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(s)return -1;n=e.length-1}else if(n<0){if(!s)return -1;n=0}if("string"==typeof t&&(t=a.from(t,r)),a.isBuffer(t))return 0===t.length?-1:g(e,t,n,r,s);if("number"==typeof t)return(t&=255,"function"==typeof Uint8Array.prototype.indexOf)?s?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):g(e,[t],n,r,s);throw TypeError("val must be string, number or Buffer")}function g(e,t,n,r,s){var i,o=1,a=e.length,l=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return -1;o=2,a/=2,l/=2,n/=2}function c(e,t){return 1===o?e[t]:e.readUInt16BE(t*o)}if(s){var u=-1;for(i=n;ia&&(n=a-l),i=n;i>=0;i--){for(var f=!0,h=0;h239?4:c>223?3:c>191?2:1;if(s+f<=n)switch(f){case 1:c<128&&(u=c);break;case 2:(192&(i=e[s+1]))==128&&(l=(31&c)<<6|63&i)>127&&(u=l);break;case 3:i=e[s+1],o=e[s+2],(192&i)==128&&(192&o)==128&&(l=(15&c)<<12|(63&i)<<6|63&o)>2047&&(l<55296||l>57343)&&(u=l);break;case 4:i=e[s+1],o=e[s+2],a=e[s+3],(192&i)==128&&(192&o)==128&&(192&a)==128&&(l=(15&c)<<18|(63&i)<<12|(63&o)<<6|63&a)>65535&&l<1114112&&(u=l)}null===u?(u=65533,f=1):u>65535&&(u-=65536,r.push(u>>>10&1023|55296),u=56320|1023&u),r.push(u),s+=f}return function(e){var t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);for(var n="",r=0;rn)throw RangeError("Trying to access beyond buffer length")}function v(e,t,n,r,s,i){if(!a.isBuffer(e))throw TypeError('"buffer" argument must be a Buffer instance');if(t>s||te.length)throw RangeError("Index out of range")}function k(e,t,n,r,s,i){if(n+r>e.length||n<0)throw RangeError("Index out of range")}function E(e,t,n,r,i){return t=+t,n>>>=0,i||k(e,t,n,4,34028234663852886e22,-34028234663852886e22),s.write(e,t,n,r,23,4),n+4}function S(e,t,n,r,i){return t=+t,n>>>=0,i||k(e,t,n,8,17976931348623157e292,-17976931348623157e292),s.write(e,t,n,r,52,8),n+8}t.Buffer=a,t.SlowBuffer=function(e){return+e!=e&&(e=0),a.alloc(+e)},t.INSPECT_MAX_BYTES=50,t.kMaxLength=2147483647,a.TYPED_ARRAY_SUPPORT=function(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}(),a.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(a.prototype,"parent",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.buffer}}),Object.defineProperty(a.prototype,"offset",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.byteOffset}}),a.poolSize=8192,a.from=function(e,t,n){return l(e,t,n)},Object.setPrototypeOf(a.prototype,Uint8Array.prototype),Object.setPrototypeOf(a,Uint8Array),a.alloc=function(e,t,n){return(c(e),e<=0)?o(e):void 0!==t?"string"==typeof n?o(e).fill(t,n):o(e).fill(t):o(e)},a.allocUnsafe=function(e){return u(e)},a.allocUnsafeSlow=function(e){return u(e)},a.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==a.prototype},a.compare=function(e,t){if(L(e,Uint8Array)&&(e=a.from(e,e.offset,e.byteLength)),L(t,Uint8Array)&&(t=a.from(t,t.offset,t.byteLength)),!a.isBuffer(e)||!a.isBuffer(t))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;for(var n=e.length,r=t.length,s=0,i=Math.min(n,r);sn&&(e+=" ... "),""},i&&(a.prototype[i]=a.prototype.inspect),a.prototype.compare=function(e,t,n,r,s){if(L(e,Uint8Array)&&(e=a.from(e,e.offset,e.byteLength)),!a.isBuffer(e))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===s&&(s=this.length),t<0||n>e.length||r<0||s>this.length)throw RangeError("out of range index");if(r>=s&&t>=n)return 0;if(r>=s)return -1;if(t>=n)return 1;if(t>>>=0,n>>>=0,r>>>=0,s>>>=0,this===e)return 0;for(var i=s-r,o=n-t,l=Math.min(i,o),c=this.slice(r,s),u=e.slice(t,n),f=0;f>>=0,isFinite(n)?(n>>>=0,void 0===r&&(r="utf8")):(r=n,n=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var s,i,o,a,l,c,u,f,h,p,d,m,y=this.length-t;if((void 0===n||n>y)&&(n=y),e.length>0&&(n<0||t<0)||t>this.length)throw RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var g=!1;;)switch(r){case"hex":return function(e,t,n,r){n=Number(n)||0;var s=e.length-n;r?(r=Number(r))>s&&(r=s):r=s;var i=t.length;r>i/2&&(r=i/2);for(var o=0;o>8,s.push(n%256),s.push(r);return s}(e,this.length-d),this,d,m);default:if(g)throw TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),g=!0}},a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},a.prototype.slice=function(e,t){var n=this.length;e=~~e,t=void 0===t?n:~~t,e<0?(e+=n)<0&&(e=0):e>n&&(e=n),t<0?(t+=n)<0&&(t=0):t>n&&(t=n),t>>=0,t>>>=0,n||w(e,t,this.length);for(var r=this[e],s=1,i=0;++i>>=0,t>>>=0,n||w(e,t,this.length);for(var r=this[e+--t],s=1;t>0&&(s*=256);)r+=this[e+--t]*s;return r},a.prototype.readUInt8=function(e,t){return e>>>=0,t||w(e,1,this.length),this[e]},a.prototype.readUInt16LE=function(e,t){return e>>>=0,t||w(e,2,this.length),this[e]|this[e+1]<<8},a.prototype.readUInt16BE=function(e,t){return e>>>=0,t||w(e,2,this.length),this[e]<<8|this[e+1]},a.prototype.readUInt32LE=function(e,t){return e>>>=0,t||w(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},a.prototype.readUInt32BE=function(e,t){return e>>>=0,t||w(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},a.prototype.readIntLE=function(e,t,n){e>>>=0,t>>>=0,n||w(e,t,this.length);for(var r=this[e],s=1,i=0;++i=(s*=128)&&(r-=Math.pow(2,8*t)),r},a.prototype.readIntBE=function(e,t,n){e>>>=0,t>>>=0,n||w(e,t,this.length);for(var r=t,s=1,i=this[e+--r];r>0&&(s*=256);)i+=this[e+--r]*s;return i>=(s*=128)&&(i-=Math.pow(2,8*t)),i},a.prototype.readInt8=function(e,t){return(e>>>=0,t||w(e,1,this.length),128&this[e])?-((255-this[e]+1)*1):this[e]},a.prototype.readInt16LE=function(e,t){e>>>=0,t||w(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},a.prototype.readInt16BE=function(e,t){e>>>=0,t||w(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},a.prototype.readInt32LE=function(e,t){return e>>>=0,t||w(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},a.prototype.readInt32BE=function(e,t){return e>>>=0,t||w(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},a.prototype.readFloatLE=function(e,t){return e>>>=0,t||w(e,4,this.length),s.read(this,e,!0,23,4)},a.prototype.readFloatBE=function(e,t){return e>>>=0,t||w(e,4,this.length),s.read(this,e,!1,23,4)},a.prototype.readDoubleLE=function(e,t){return e>>>=0,t||w(e,8,this.length),s.read(this,e,!0,52,8)},a.prototype.readDoubleBE=function(e,t){return e>>>=0,t||w(e,8,this.length),s.read(this,e,!1,52,8)},a.prototype.writeUIntLE=function(e,t,n,r){if(e=+e,t>>>=0,n>>>=0,!r){var s=Math.pow(2,8*n)-1;v(this,e,t,n,s,0)}var i=1,o=0;for(this[t]=255&e;++o>>=0,n>>>=0,!r){var s=Math.pow(2,8*n)-1;v(this,e,t,n,s,0)}var i=n-1,o=1;for(this[t+i]=255&e;--i>=0&&(o*=256);)this[t+i]=e/o&255;return t+n},a.prototype.writeUInt8=function(e,t,n){return e=+e,t>>>=0,n||v(this,e,t,1,255,0),this[t]=255&e,t+1},a.prototype.writeUInt16LE=function(e,t,n){return e=+e,t>>>=0,n||v(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},a.prototype.writeUInt16BE=function(e,t,n){return e=+e,t>>>=0,n||v(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},a.prototype.writeUInt32LE=function(e,t,n){return e=+e,t>>>=0,n||v(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},a.prototype.writeUInt32BE=function(e,t,n){return e=+e,t>>>=0,n||v(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},a.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t>>>=0,!r){var s=Math.pow(2,8*n-1);v(this,e,t,n,s-1,-s)}var i=0,o=1,a=0;for(this[t]=255&e;++i>0)-a&255;return t+n},a.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t>>>=0,!r){var s=Math.pow(2,8*n-1);v(this,e,t,n,s-1,-s)}var i=n-1,o=1,a=0;for(this[t+i]=255&e;--i>=0&&(o*=256);)e<0&&0===a&&0!==this[t+i+1]&&(a=1),this[t+i]=(e/o>>0)-a&255;return t+n},a.prototype.writeInt8=function(e,t,n){return e=+e,t>>>=0,n||v(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},a.prototype.writeInt16LE=function(e,t,n){return e=+e,t>>>=0,n||v(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},a.prototype.writeInt16BE=function(e,t,n){return e=+e,t>>>=0,n||v(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},a.prototype.writeInt32LE=function(e,t,n){return e=+e,t>>>=0,n||v(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},a.prototype.writeInt32BE=function(e,t,n){return e=+e,t>>>=0,n||v(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},a.prototype.writeFloatLE=function(e,t,n){return E(this,e,t,!0,n)},a.prototype.writeFloatBE=function(e,t,n){return E(this,e,t,!1,n)},a.prototype.writeDoubleLE=function(e,t,n){return S(this,e,t,!0,n)},a.prototype.writeDoubleBE=function(e,t,n){return S(this,e,t,!1,n)},a.prototype.copy=function(e,t,n,r){if(!a.isBuffer(e))throw TypeError("argument should be a Buffer");if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r=this.length)throw RangeError("Index out of range");if(r<0)throw RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t=0;--i)e[i+t]=this[i+n];else Uint8Array.prototype.set.call(e,this.subarray(n,r),t);return s},a.prototype.fill=function(e,t,n,r){if("string"==typeof e){if("string"==typeof t?(r=t,t=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),void 0!==r&&"string"!=typeof r)throw TypeError("encoding must be a string");if("string"==typeof r&&!a.isEncoding(r))throw TypeError("Unknown encoding: "+r);if(1===e.length){var s,i=e.charCodeAt(0);("utf8"===r&&i<128||"latin1"===r)&&(e=i)}}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e));if(t<0||this.length>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(s=t;s55295&&n<57344){if(!s){if(n>56319||o+1===r){(t-=3)>-1&&i.push(239,191,189);continue}s=n;continue}if(n<56320){(t-=3)>-1&&i.push(239,191,189),s=n;continue}n=(s-55296<<10|n-56320)+65536}else s&&(t-=3)>-1&&i.push(239,191,189);if(s=null,n<128){if((t-=1)<0)break;i.push(n)}else if(n<2048){if((t-=2)<0)break;i.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;i.push(n>>12|224,n>>6&63|128,63&n|128)}else if(n<1114112){if((t-=4)<0)break;i.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}else throw Error("Invalid code point")}return i}function O(e){for(var t=[],n=0;n=t.length)&&!(s>=e.length);++s)t[s+n]=e[s];return s}function L(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}var x=function(){for(var e="0123456789abcdef",t=Array(256),n=0;n<16;++n)for(var r=16*n,s=0;s<16;++s)t[r+s]=e[n]+e[s];return t}()},783:function(e,t){/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh */t.read=function(e,t,n,r,s){var i,o,a=8*s-r-1,l=(1<>1,u=-7,f=n?s-1:0,h=n?-1:1,p=e[t+f];for(f+=h,i=p&(1<<-u)-1,p>>=-u,u+=a;u>0;i=256*i+e[t+f],f+=h,u-=8);for(o=i&(1<<-u)-1,i>>=-u,u+=r;u>0;o=256*o+e[t+f],f+=h,u-=8);if(0===i)i=1-c;else{if(i===l)return o?NaN:1/0*(p?-1:1);o+=Math.pow(2,r),i-=c}return(p?-1:1)*o*Math.pow(2,i-r)},t.write=function(e,t,n,r,s,i){var o,a,l,c=8*i-s-1,u=(1<>1,h=23===s?5960464477539062e-23:0,p=r?0:i-1,d=r?1:-1,m=t<0||0===t&&1/t<0?1:0;for(isNaN(t=Math.abs(t))||t===1/0?(a=isNaN(t)?1:0,o=u):(o=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-o))<1&&(o--,l*=2),o+f>=1?t+=h/l:t+=h*Math.pow(2,1-f),t*l>=2&&(o++,l/=2),o+f>=u?(a=0,o=u):o+f>=1?(a=(t*l-1)*Math.pow(2,s),o+=f):(a=t*Math.pow(2,f-1)*Math.pow(2,s),o=0));s>=8;e[n+p]=255&a,p+=d,a/=256,s-=8);for(o=o<0;e[n+p]=255&o,p+=d,o/=256,c-=8);e[n+p-d]|=128*m}}},n={};function r(e){var s=n[e];if(void 0!==s)return s.exports;var i=n[e]={exports:{}},o=!0;try{t[e](i,i.exports,r),o=!1}finally{o&&delete n[e]}return i.exports}r.ab="//";var s=r(72);e.exports=s}()},4160:function(e,t,n){"use strict";let r;n.r(t),n.d(t,{Alias:function(){return R},CST:function(){return s},Composer:function(){return tC},Document:function(){return to},Lexer:function(){return t8},LineCounter:function(){return t5},Pair:function(){return eg},Parser:function(){return nn},Scalar:function(){return F},Schema:function(){return ti},YAMLError:function(){return tl},YAMLMap:function(){return ek},YAMLParseError:function(){return tc},YAMLSeq:function(){return eS},YAMLWarning:function(){return tu},default:function(){return nl},isAlias:function(){return p},isCollection:function(){return w},isDocument:function(){return d},isMap:function(){return m},isNode:function(){return v},isPair:function(){return y},isScalar:function(){return g},isSeq:function(){return b},parse:function(){return no},parseAllDocuments:function(){return ns},parseDocument:function(){return ni},stringify:function(){return na},visit:function(){return N},visitAsync:function(){return T}});var s={};n.r(s),n.d(s,{BOM:function(){return tY},DOCUMENT:function(){return tV},FLOW_END:function(){return tJ},SCALAR:function(){return tW},createScalarToken:function(){return t$},isCollection:function(){return tG},isScalar:function(){return tQ},prettyToken:function(){return tH},resolveAsScalar:function(){return tB},setScalarValue:function(){return t_},stringify:function(){return tU},tokenType:function(){return tX},visit:function(){return tF}});var i={};n.r(i),n.d(i,{Alias:function(){return R},CST:function(){return s},Composer:function(){return tC},Document:function(){return to},Lexer:function(){return t8},LineCounter:function(){return t5},Pair:function(){return eg},Parser:function(){return nn},Scalar:function(){return F},Schema:function(){return ti},YAMLError:function(){return tl},YAMLMap:function(){return ek},YAMLParseError:function(){return tc},YAMLSeq:function(){return eS},YAMLWarning:function(){return tu},isAlias:function(){return p},isCollection:function(){return w},isDocument:function(){return d},isMap:function(){return m},isNode:function(){return v},isPair:function(){return y},isScalar:function(){return g},isSeq:function(){return b},parse:function(){return no},parseAllDocuments:function(){return ns},parseDocument:function(){return ni},stringify:function(){return na},visit:function(){return N},visitAsync:function(){return T}});let o=Symbol.for("yaml.alias"),a=Symbol.for("yaml.document"),l=Symbol.for("yaml.map"),c=Symbol.for("yaml.pair"),u=Symbol.for("yaml.scalar"),f=Symbol.for("yaml.seq"),h=Symbol.for("yaml.node.type"),p=e=>!!e&&"object"==typeof e&&e[h]===o,d=e=>!!e&&"object"==typeof e&&e[h]===a,m=e=>!!e&&"object"==typeof e&&e[h]===l,y=e=>!!e&&"object"==typeof e&&e[h]===c,g=e=>!!e&&"object"==typeof e&&e[h]===u,b=e=>!!e&&"object"==typeof e&&e[h]===f;function w(e){if(e&&"object"==typeof e)switch(e[h]){case l:case f:return!0}return!1}function v(e){if(e&&"object"==typeof e)switch(e[h]){case o:case l:case u:case f:return!0}return!1}let k=e=>(g(e)||w(e))&&!!e.anchor,E=Symbol("break visit"),S=Symbol("skip children"),A=Symbol("remove node");function N(e,t){let n=L(t);d(e)?O(null,e.contents,n,Object.freeze([e]))===A&&(e.contents=null):O(null,e,n,Object.freeze([]))}function O(e,t,n,r){let s=x(e,t,n,r);if(v(s)||y(s))return C(e,r,s),O(e,s,n,r);if("symbol"!=typeof s){if(w(t)){r=Object.freeze(r.concat(t));for(let e=0;ee.replace(/[!,[\]{}]/g,e=>B[e]);class _{constructor(e,t){this.docStart=null,this.docEnd=!1,this.yaml=Object.assign({},_.defaultYaml,e),this.tags=Object.assign({},_.defaultTags,t)}clone(){let e=new _(this.yaml,this.tags);return e.docStart=this.docStart,e}atDocument(){let e=new _(this.yaml,this.tags);switch(this.yaml.version){case"1.1":this.atNextDocument=!0;break;case"1.2":this.atNextDocument=!1,this.yaml={explicit:_.defaultYaml.explicit,version:"1.2"},this.tags=Object.assign({},_.defaultTags)}return e}add(e,t){this.atNextDocument&&(this.yaml={explicit:_.defaultYaml.explicit,version:"1.1"},this.tags=Object.assign({},_.defaultTags),this.atNextDocument=!1);let n=e.trim().split(/[ \t]+/),r=n.shift();switch(r){case"%TAG":{if(2!==n.length&&(t(0,"%TAG directive should contain exactly two parts"),n.length<2))return!1;let[e,r]=n;return this.tags[e]=r,!0}case"%YAML":{if(this.yaml.explicit=!0,1!==n.length)return t(0,"%YAML directive should contain exactly one part"),!1;let[e]=n;if("1.1"===e||"1.2"===e)return this.yaml.version=e,!0;{let n=/^\d+\.\d+$/.test(e);return t(6,`Unsupported YAML version ${e}`,n),!1}}default:return t(0,`Unknown directive ${r}`,!0),!1}}tagName(e,t){if("!"===e)return"!";if("!"!==e[0])return t(`Not a valid tag: ${e}`),null;if("<"===e[1]){let n=e.slice(2,-1);return"!"===n||"!!"===n?(t(`Verbatim tags aren't resolved, so ${e} is invalid.`),null):(">"!==e[e.length-1]&&t("Verbatim tags must end with a >"),n)}let[,n,r]=e.match(/^(.*!)([^!]*)$/);r||t(`The ${e} tag has no suffix`);let s=this.tags[n];return s?s+decodeURIComponent(r):"!"===n?e:(t(`Could not resolve tag: ${e}`),null)}tagString(e){for(let[t,n]of Object.entries(this.tags))if(e.startsWith(n))return t+$(e.substring(n.length));return"!"===e[0]?e:`!<${e}>`}toString(e){let t;let n=this.yaml.explicit?[`%YAML ${this.yaml.version||"1.2"}`]:[],r=Object.entries(this.tags);if(e&&r.length>0&&v(e.contents)){let n={};N(e.contents,(e,t)=>{v(t)&&t.tag&&(n[t.tag]=!0)}),t=Object.keys(n)}else t=[];for(let[s,i]of r)("!!"!==s||"tag:yaml.org,2002:"!==i)&&(!e||t.some(e=>e.startsWith(i)))&&n.push(`%TAG ${s} ${i}`);return n.join("\n")}}function M(e){if(/[\x00-\x19\s,[\]{}]/.test(e)){let t=JSON.stringify(e);throw Error(`Anchor must not contain whitespace or control characters: ${t}`)}return!0}function j(e){let t=new Set;return N(e,{Value(e,n){n.anchor&&t.add(n.anchor)}}),t}function U(e,t){for(let n=1;;++n){let r=`${e}${n}`;if(!t.has(r))return r}}function D(e,t,n,r){if(r&&"object"==typeof r){if(Array.isArray(r))for(let t=0,n=r.length;tP(e,String(t),n));if(e&&"function"==typeof e.toJSON){if(!n||!k(e))return e.toJSON(t,n);let r={aliasCount:0,count:1,res:void 0};n.anchors.set(e,r),n.onCreate=e=>{r.res=e,delete n.onCreate};let s=e.toJSON(t,n);return n.onCreate&&n.onCreate(s),s}return"bigint"!=typeof e||n?.keep?e:Number(e)}_.defaultYaml={explicit:!1,version:"1.2"},_.defaultTags={"!!":"tag:yaml.org,2002:"};class q{constructor(e){Object.defineProperty(this,h,{value:e})}clone(){let e=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return this.range&&(e.range=this.range.slice()),e}toJS(e,{mapAsMap:t,maxAliasCount:n,onAnchor:r,reviver:s}={}){if(!d(e))throw TypeError("A document argument is required");let i={anchors:new Map,doc:e,keep:!0,mapAsMap:!0===t,mapKeyWarned:!1,maxAliasCount:"number"==typeof n?n:100},o=P(this,"",i);if("function"==typeof r)for(let{count:e,res:t}of i.anchors.values())r(t,e);return"function"==typeof s?D(s,{"":o},"",o):o}}class R extends q{constructor(e){super(o),this.source=e,Object.defineProperty(this,"tag",{set(){throw Error("Alias nodes cannot have tags")}})}resolve(e){let t;return N(e,{Node:(e,n)=>{if(n===this)return N.BREAK;n.anchor===this.source&&(t=n)}}),t}toJSON(e,t){if(!t)return{source:this.source};let{anchors:n,doc:r,maxAliasCount:s}=t,i=this.resolve(r);if(!i)throw ReferenceError(`Unresolved alias (the anchor must be set before the alias): ${this.source}`);let o=n.get(i);if(o||(P(i,null,t),o=n.get(i)),!o||void 0===o.res)throw ReferenceError("This should not happen: Alias anchor was not resolved?");if(s>=0&&(o.count+=1,0===o.aliasCount&&(o.aliasCount=function e(t,n,r){if(p(n)){let e=n.resolve(t),s=r&&e&&r.get(e);return s?s.count*s.aliasCount:0}if(w(n)){let s=0;for(let i of n.items){let n=e(t,i,r);n>s&&(s=n)}return s}return y(n)?Math.max(e(t,n.key,r),e(t,n.value,r)):1}(r,i,n)),o.count*o.aliasCount>s))throw ReferenceError("Excessive alias count indicates a resource exhaustion attack");return o.res}toString(e,t,n){let r=`*${this.source}`;if(e){if(M(this.source),e.options.verifyAliasOrder&&!e.anchors.has(this.source))throw Error(`Unresolved alias (the anchor must be set before the alias): ${this.source}`);if(e.implicitKey)return`${r} `}return r}}let K=e=>!e||"function"!=typeof e&&"object"!=typeof e;class F extends q{constructor(e){super(u),this.value=e}toJSON(e,t){return t?.keep?this.value:P(this.value,e,t)}toString(){return String(this.value)}}function Y(e,t,n){let r;if(d(e)&&(e=e.contents),v(e))return e;if(y(e)){let t=n.schema[l].createNode?.(n.schema,null,n);return t.items.push(e),t}(e instanceof String||e instanceof Number||e instanceof Boolean||"undefined"!=typeof BigInt&&e instanceof BigInt)&&(e=e.valueOf());let{aliasDuplicateObjects:s,onAnchor:i,onTagObj:o,schema:a,sourceObjects:c}=n;if(s&&e&&"object"==typeof e){if(r=c.get(e))return r.anchor||(r.anchor=i(e)),new R(r.anchor);r={anchor:null,node:null},c.set(e,r)}t?.startsWith("!!")&&(t="tag:yaml.org,2002:"+t.slice(2));let u=function(e,t,n){if(t){let e=n.filter(e=>e.tag===t),r=e.find(e=>!e.format)??e[0];if(!r)throw Error(`Tag ${t} not found`);return r}return n.find(t=>t.identify?.(e)&&!t.format)}(e,t,a.tags);if(!u){if(e&&"function"==typeof e.toJSON&&(e=e.toJSON()),!e||"object"!=typeof e){let t=new F(e);return r&&(r.node=t),t}u=e instanceof Map?a[l]:Symbol.iterator in Object(e)?a[f]:a[l]}o&&(o(u),delete n.onTagObj);let h=u?.createNode?u.createNode(n.schema,e,n):"function"==typeof u?.nodeClass?.from?u.nodeClass.from(n.schema,e,n):new F(e);return t?h.tag=t:u.default||(h.tag=u.tag),r&&(r.node=h),h}function V(e,t,n){let r=n;for(let e=t.length-1;e>=0;--e){let n=t[e];if("number"==typeof n&&Number.isInteger(n)&&n>=0){let e=[];e[n]=r,r=e}else r=new Map([[n,r]])}return Y(r,void 0,{aliasDuplicateObjects:!1,keepUndefined:!1,onAnchor:()=>{throw Error("This should not happen, please report a bug.")},schema:e,sourceObjects:new Map})}F.BLOCK_FOLDED="BLOCK_FOLDED",F.BLOCK_LITERAL="BLOCK_LITERAL",F.PLAIN="PLAIN",F.QUOTE_DOUBLE="QUOTE_DOUBLE",F.QUOTE_SINGLE="QUOTE_SINGLE";let J=e=>null==e||"object"==typeof e&&!!e[Symbol.iterator]().next().done;class W extends q{constructor(e,t){super(e),Object.defineProperty(this,"schema",{value:t,configurable:!0,enumerable:!1,writable:!0})}clone(e){let t=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return e&&(t.schema=e),t.items=t.items.map(t=>v(t)||y(t)?t.clone(e):t),this.range&&(t.range=this.range.slice()),t}addIn(e,t){if(J(e))this.add(t);else{let[n,...r]=e,s=this.get(n,!0);if(w(s))s.addIn(r,t);else if(void 0===s&&this.schema)this.set(n,V(this.schema,r,t));else throw Error(`Expected YAML collection at ${n}. Remaining path: ${r}`)}}deleteIn(e){let[t,...n]=e;if(0===n.length)return this.delete(t);let r=this.get(t,!0);if(w(r))return r.deleteIn(n);throw Error(`Expected YAML collection at ${t}. Remaining path: ${n}`)}getIn(e,t){let[n,...r]=e,s=this.get(n,!0);return 0===r.length?!t&&g(s)?s.value:s:w(s)?s.getIn(r,t):void 0}hasAllNullValues(e){return this.items.every(t=>{if(!y(t))return!1;let n=t.value;return null==n||e&&g(n)&&null==n.value&&!n.commentBefore&&!n.comment&&!n.tag})}hasIn(e){let[t,...n]=e;if(0===n.length)return this.has(t);let r=this.get(t,!0);return!!w(r)&&r.hasIn(n)}setIn(e,t){let[n,...r]=e;if(0===r.length)this.set(n,t);else{let e=this.get(n,!0);if(w(e))e.setIn(r,t);else if(void 0===e&&this.schema)this.set(n,V(this.schema,r,t));else throw Error(`Expected YAML collection at ${n}. Remaining path: ${r}`)}}}W.maxFlowStringSingleLineLength=60;let G=e=>e.replace(/^(?!$)(?: $)?/gm,"#");function Q(e,t){return/^\n+$/.test(e)?e.substring(1):t?e.replace(/^(?! *$)/gm,t):e}let H=(e,t,n)=>e.endsWith("\n")?Q(n,t):n.includes("\n")?"\n"+Q(n,t):(e.endsWith(" ")?"":" ")+n,X="flow",z="block",Z="quoted";function ee(e,t,n="flow",{indentAtStart:r,lineWidth:s=80,minContentWidth:i=20,onFold:o,onOverflow:a}={}){let l,c,u;if(!s||s<0)return e;let f=Math.max(1+i,1+s-t.length);if(e.length<=f)return e;let h=[],p={},d=s-t.length;"number"==typeof r&&(r>s-Math.max(2,i)?h.push(0):d=s-r);let m=!1,y=-1,g=-1,b=-1;for(n===z&&-1!==(y=et(e,y))&&(d=y+f);u=e[y+=1];){if(n===Z&&"\\"===u){switch(g=y,e[y+1]){case"x":y+=3;break;case"u":y+=5;break;case"U":y+=9;break;default:y+=1}b=y}if("\n"===u)n===z&&(y=et(e,y)),d=y+f,l=void 0;else{if(" "===u&&c&&" "!==c&&"\n"!==c&&" "!==c){let t=e[y+1];t&&" "!==t&&"\n"!==t&&" "!==t&&(l=y)}if(y>=d){if(l)h.push(l),d=l+f,l=void 0;else if(n===Z){for(;" "===c||" "===c;)c=u,u=e[y+=1],m=!0;let t=y>b+1?y-2:g-1;if(p[t])return e;h.push(t),p[t]=!0,d=t+f,l=void 0}else m=!0}}c=u}if(m&&a&&a(),0===h.length)return e;o&&o();let w=e.slice(0,h[0]);for(let r=0;r({indentAtStart:t?e.indent.length:e.indentAtStart,lineWidth:e.options.lineWidth,minContentWidth:e.options.minContentWidth}),er=e=>/^(%|---|\.\.\.)/m.test(e);function es(e,t){let n=JSON.stringify(e);if(t.options.doubleQuotedAsJSON)return n;let{implicitKey:r}=t,s=t.options.doubleQuotedMinMultiLineLength,i=t.indent||(er(e)?" ":""),o="",a=0;for(let e=0,t=n[e];t;t=n[++e])if(" "===t&&"\\"===n[e+1]&&"n"===n[e+2]&&(o+=n.slice(a,e)+"\\ ",e+=1,a=e,t="\\"),"\\"===t)switch(n[e+1]){case"u":{o+=n.slice(a,e);let t=n.substr(e+2,4);switch(t){case"0000":o+="\\0";break;case"0007":o+="\\a";break;case"000b":o+="\\v";break;case"001b":o+="\\e";break;case"0085":o+="\\N";break;case"00a0":o+="\\_";break;case"2028":o+="\\L";break;case"2029":o+="\\P";break;default:"00"===t.substr(0,2)?o+="\\x"+t.substr(2):o+=n.substr(e,6)}e+=5,a=e+1}break;case"n":if(r||'"'===n[e+2]||n.lengthr)return!0;if(s-(n=t+1)<=r)return!1}return!0}(n,h,p.length));if(!n)return d?"|\n":">\n";for(l=n.length;l>0;--l){let e=n[l-1];if("\n"!==e&&" "!==e&&" "!==e)break}let m=n.substring(l),y=m.indexOf("\n");-1===y?a="-":n===m||y!==m.length-1?(a="+",o&&o()):a="",m&&(n=n.slice(0,-m.length),"\n"===m[m.length-1]&&(m=m.slice(0,-1)),m=m.replace(r,`$&${p}`));let g=!1,b=-1;for(c=0;c")+(g?v:"")+a;if(e&&(k+=" "+f(e.replace(/ ?[\r\n]+/g," ")),i&&i()),d)return n=n.replace(/\n+/g,`$&${p}`),`${k} -${p}${w}${n}${m}`;n=n.replace(/\n+/g,"\n$&").replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,"$1$2").replace(/\n+/g,`$&${p}`);let E=ee(`${w}${n}${m}`,p,z,en(s,!0));return`${k} -${p}${E}`}function el(e,t,n,r){let{implicitKey:s,inFlow:i}=t,o="string"==typeof e.value?e:Object.assign({},e,{value:String(e.value)}),{type:a}=e;a!==F.QUOTE_DOUBLE&&/[\x00-\x08\x0b-\x1f\x7f-\x9f\u{D800}-\u{DFFF}]/u.test(o.value)&&(a=F.QUOTE_DOUBLE);let l=e=>{switch(e){case F.BLOCK_FOLDED:case F.BLOCK_LITERAL:return s||i?eo(o.value,t):ea(o,t,n,r);case F.QUOTE_DOUBLE:return es(o.value,t);case F.QUOTE_SINGLE:return ei(o.value,t);case F.PLAIN:return function(e,t,n,r){let{type:s,value:i}=e,{actualString:o,implicitKey:a,indent:l,indentStep:c,inFlow:u}=t;if(a&&/[\n[\]{},]/.test(i)||u&&/[[\]{},]/.test(i))return eo(i,t);if(!i||/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(i))return a||u||!i.includes("\n")?eo(i,t):ea(e,t,n,r);if(!a&&!u&&s!==F.PLAIN&&i.includes("\n"))return ea(e,t,n,r);if(er(i)){if(""===l)return t.forceBlockIndent=!0,ea(e,t,n,r);if(a&&l===c)return eo(i,t)}let f=i.replace(/\n+/g,`$& -${l}`);if(o){let e=e=>e.default&&"tag:yaml.org,2002:str"!==e.tag&&e.test?.test(f),{compat:n,tags:r}=t.doc.schema;if(r.some(e)||n?.some(e))return eo(i,t)}return a?f:ee(f,l,X,en(t,!1))}(o,t,n,r);default:return null}},c=l(a);if(null===c){let{defaultKeyType:e,defaultStringType:n}=t.options,r=s&&e||n;if(null===(c=l(r)))throw Error(`Unsupported default string type ${r}`)}return c}function ec(e,t){let n;let r=Object.assign({blockQuote:!0,commentString:G,defaultKeyType:null,defaultStringType:"PLAIN",directives:null,doubleQuotedAsJSON:!1,doubleQuotedMinMultiLineLength:40,falseStr:"false",flowCollectionPadding:!0,indentSeq:!0,lineWidth:80,minContentWidth:20,nullStr:"null",simpleKeys:!1,singleQuote:null,trueStr:"true",verifyAliasOrder:!0},e.schema.toStringOptions,t);switch(r.collectionStyle){case"block":n=!1;break;case"flow":n=!0;break;default:n=null}return{anchors:new Set,doc:e,flowCollectionPadding:r.flowCollectionPadding?" ":"",indent:"",indentStep:"number"==typeof r.indent?" ".repeat(r.indent):" ",inFlow:n,options:r}}function eu(e,t,n,r){let s;if(y(e))return e.toString(t,n,r);if(p(e)){if(t.doc.directives)return e.toString(t);if(t.resolvedAliases?.has(e))throw TypeError("Cannot stringify circular structure without alias nodes");t.resolvedAliases?t.resolvedAliases.add(e):t.resolvedAliases=new Set([e]),e=e.resolve(t.doc)}let i=v(e)?e:t.doc.createNode(e,{onTagObj:e=>s=e});s||(s=function(e,t){let n,r;if(t.tag){let n=e.filter(e=>e.tag===t.tag);if(n.length>0)return n.find(e=>e.format===t.format)??n[0]}if(g(t)){n=t.value;let s=e.filter(e=>e.identify?.(n));r=s.find(e=>e.format===t.format)??s.find(e=>!e.format)}else n=t,r=e.find(e=>e.nodeClass&&n instanceof e.nodeClass);if(!r){let e=n?.constructor?.name??typeof n;throw Error(`Tag not resolved for ${e} value`)}return r}(t.doc.schema.tags,i));let o=function(e,t,{anchors:n,doc:r}){if(!r.directives)return"";let s=[],i=(g(e)||w(e))&&e.anchor;i&&M(i)&&(n.add(i),s.push(`&${i}`));let o=e.tag?e.tag:t.default?null:t.tag;return o&&s.push(r.directives.tagString(o)),s.join(" ")}(i,s,t);o.length>0&&(t.indentAtStart=(t.indentAtStart??0)+o.length+1);let a="function"==typeof s.stringify?s.stringify(i,t,n,r):g(i)?el(i,t,n,r):i.toString(t,n,r);return o?g(i)||"{"===a[0]||"["===a[0]?`${o} ${a}`:`${o} -${t.indent}${a}`:a}var ef=n(3454);function eh(e,t){("debug"===e||"warn"===e)&&(void 0!==ef&&ef.emitWarning?ef.emitWarning(t):console.warn(t))}function ep(e,t,{key:n,value:r}){if(e?.doc.schema.merge&&ed(n)){if(b(r=p(r)?r.resolve(e.doc):r))for(let n of r.items)em(e,t,n);else if(Array.isArray(r))for(let n of r)em(e,t,n);else em(e,t,r)}else{let s=P(n,"",e);if(t instanceof Map)t.set(s,P(r,s,e));else if(t instanceof Set)t.add(s);else{let i=function(e,t,n){if(null===t)return"";if("object"!=typeof t)return String(t);if(v(e)&&n&&n.doc){let t=ec(n.doc,{});for(let e of(t.anchors=new Set,n.anchors.keys()))t.anchors.add(e.anchor);t.inFlow=!0,t.inStringifyKey=!0;let r=e.toString(t);if(!n.mapKeyWarned){let e=JSON.stringify(r);e.length>40&&(e=e.substring(0,36)+'..."'),eh(n.doc.options.logLevel,`Keys with collection values will be stringified due to JS Object restrictions: ${e}. Set mapAsMap: true to use object keys.`),n.mapKeyWarned=!0}return r}return JSON.stringify(t)}(n,s,e),o=P(r,i,e);i in t?Object.defineProperty(t,i,{value:o,writable:!0,enumerable:!0,configurable:!0}):t[i]=o}}return t}let ed=e=>"<<"===e||g(e)&&"<<"===e.value&&(!e.type||e.type===F.PLAIN);function em(e,t,n){let r=e&&p(n)?n.resolve(e.doc):n;if(!m(r))throw Error("Merge sources must be maps or map aliases");for(let[n,s]of r.toJSON(null,e,Map))t instanceof Map?t.has(n)||t.set(n,s):t instanceof Set?t.add(n):Object.prototype.hasOwnProperty.call(t,n)||Object.defineProperty(t,n,{value:s,writable:!0,enumerable:!0,configurable:!0});return t}function ey(e,t,n){return new eg(Y(e,void 0,n),Y(t,void 0,n))}class eg{constructor(e,t=null){Object.defineProperty(this,h,{value:c}),this.key=e,this.value=t}clone(e){let{key:t,value:n}=this;return v(t)&&(t=t.clone(e)),v(n)&&(n=n.clone(e)),new eg(t,n)}toJSON(e,t){let n=t?.mapAsMap?new Map:{};return ep(t,n,this)}toString(e,t,n){return e?.doc?function({key:e,value:t},n,r,s){let i,o,a;let{allNullValues:l,doc:c,indent:u,indentStep:f,options:{commentString:h,indentSeq:p,simpleKeys:d}}=n,m=v(e)&&e.comment||null;if(d){if(m)throw Error("With simple keys, key nodes cannot have comments");if(w(e))throw Error("With simple keys, collection cannot be used as a key value")}let y=!d&&(!e||m&&null==t&&!n.inFlow||w(e)||(g(e)?e.type===F.BLOCK_FOLDED||e.type===F.BLOCK_LITERAL:"object"==typeof e));n=Object.assign({},n,{allNullValues:!1,implicitKey:!y&&(d||!l),indent:u+f});let k=!1,E=!1,S=eu(e,n,()=>k=!0,()=>E=!0);if(!y&&!n.inFlow&&S.length>1024){if(d)throw Error("With simple keys, single line scalar must not span more than 1024 characters");y=!0}if(n.inFlow){if(l||null==t)return k&&r&&r(),""===S?"?":y?`? ${S}`:S}else if(l&&!d||null==t&&y)return S=`? ${S}`,m&&!k?S+=H(S,n.indent,h(m)):E&&s&&s(),S;k&&(m=null),y?(m&&(S+=H(S,n.indent,h(m))),S=`? ${S} -${u}:`):(S=`${S}:`,m&&(S+=H(S,n.indent,h(m)))),v(t)?(i=!!t.spaceBefore,o=t.commentBefore,a=t.comment):(i=!1,o=null,a=null,t&&"object"==typeof t&&(t=c.createNode(t))),n.implicitKey=!1,!y&&!m&&g(t)&&(n.indentAtStart=S.length+1),E=!1,!(!p&&f.length>=2&&!n.inFlow&&!y&&b(t))||t.flow||t.tag||t.anchor||(n.indent=n.indent.substring(2));let A=!1,N=eu(t,n,()=>A=!0,()=>E=!0),O=" ";if(m||i||o){if(O=i?"\n":"",o){let e=h(o);O+=` -${Q(e,n.indent)}`}""!==N||n.inFlow?O+=` -${n.indent}`:"\n"===O&&(O="\n\n")}else if(!y&&w(t)){let e=N[0],r=N.indexOf("\n"),s=-1!==r,i=n.inFlow??t.flow??0===t.items.length;if(s||!i){let t=!1;if(s&&("&"===e||"!"===e)){let n=N.indexOf(" ");"&"===e&&-1!==n&&ni=null);ep||o.includes("\n"))&&(h=!0),d.push(o),p=d.length}let{start:m,end:g}=r;if(0===d.length)o=m+g;else if(h||(h=d.reduce((e,t)=>e+t.length+2,2)>W.maxFlowStringSingleLineLength),h){for(let e of(o=m,d))o+=e?` -${l}${a}${e}`:"\n";o+=` -${a}${g}`}else o=`${m}${c}${d.join(" ")}${c}${g}`;return e&&(o+=H(o,a,u(e)),i&&i()),o}:function({comment:e,items:t},n,{blockItemPrefix:r,flowChars:s,itemIndent:i,onChompKeep:o,onComment:a}){let l;let{indent:c,options:{commentString:u}}=n,f=Object.assign({},n,{indent:i,type:null}),h=!1,p=[];for(let e=0;eo=null,()=>h=!0);o&&(a+=H(a,i,u(o))),h&&o&&(h=!1),p.push(r+a)}if(0===p.length)l=s.start+s.end;else{l=p[0];for(let e=1;e{if("function"==typeof s)o=s.call(t,e,o);else if(Array.isArray(s)&&!s.includes(e))return;(void 0!==o||r)&&i.items.push(ey(e,o,n))};if(t instanceof Map)for(let[e,n]of t)o(e,n);else if(t&&"object"==typeof t)for(let e of Object.keys(t))o(e,t[e]);return"function"==typeof e.sortMapEntries&&i.items.sort(e.sortMapEntries),i}add(e,t){let n;n=y(e)?e:e&&"object"==typeof e&&"key"in e?new eg(e.key,e.value):new eg(e,e?.value);let r=ev(this.items,n.key),s=this.schema?.sortMapEntries;if(r){if(!t)throw Error(`Key ${n.key} already set`);g(r.value)&&K(n.value)?r.value.value=n.value:r.value=n.value}else if(s){let e=this.items.findIndex(e=>0>s(n,e));-1===e?this.items.push(n):this.items.splice(e,0,n)}else this.items.push(n)}delete(e){let t=ev(this.items,e);return!!t&&this.items.splice(this.items.indexOf(t),1).length>0}get(e,t){let n=ev(this.items,e),r=n?.value;return(!t&&g(r)?r.value:r)??void 0}has(e){return!!ev(this.items,e)}set(e,t){this.add(new eg(e,t),!0)}toJSON(e,t,n){let r=n?new n:t?.mapAsMap?new Map:{};for(let e of(t?.onCreate&&t.onCreate(r),this.items))ep(t,r,e);return r}toString(e,t,n){if(!e)return JSON.stringify(this);for(let e of this.items)if(!y(e))throw Error(`Map items must all be pairs; found ${JSON.stringify(e)} instead`);return!e.allNullValues&&this.hasAllNullValues(!1)&&(e=Object.assign({},e,{allNullValues:!0})),eb(this,e,{blockItemPrefix:"",flowChars:{start:"{",end:"}"},itemIndent:e.indent||"",onChompKeep:n,onComment:t})}}let eE={collection:"map",default:!0,nodeClass:ek,tag:"tag:yaml.org,2002:map",resolve:(e,t)=>(m(e)||t("Expected a mapping for this tag"),e),createNode:(e,t,n)=>ek.from(e,t,n)};class eS extends W{static get tagName(){return"tag:yaml.org,2002:seq"}constructor(e){super(f,e),this.items=[]}add(e){this.items.push(e)}delete(e){let t=eA(e);return"number"==typeof t&&this.items.splice(t,1).length>0}get(e,t){let n=eA(e);if("number"!=typeof n)return;let r=this.items[n];return!t&&g(r)?r.value:r}has(e){let t=eA(e);return"number"==typeof t&&t=0?t:null}let eN={collection:"seq",default:!0,nodeClass:eS,tag:"tag:yaml.org,2002:seq",resolve:(e,t)=>(b(e)||t("Expected a sequence for this tag"),e),createNode:(e,t,n)=>eS.from(e,t,n)},eO={identify:e=>"string"==typeof e,default:!0,tag:"tag:yaml.org,2002:str",resolve:e=>e,stringify:(e,t,n,r)=>el(e,t=Object.assign({actualString:!0},t),n,r)},eT={identify:e=>null==e,createNode:()=>new F(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>new F(null),stringify:({source:e},t)=>"string"==typeof e&&eT.test.test(e)?e:t.options.nullStr},eI={identify:e=>"boolean"==typeof e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,resolve:e=>new F("t"===e[0]||"T"===e[0]),stringify:({source:e,value:t},n)=>e&&eI.test.test(e)&&t===("t"===e[0]||"T"===e[0])?e:t?n.options.trueStr:n.options.falseStr};function eL({format:e,minFractionDigits:t,tag:n,value:r}){if("bigint"==typeof r)return String(r);let s="number"==typeof r?r:Number(r);if(!isFinite(s))return isNaN(s)?".nan":s<0?"-.inf":".inf";let i=JSON.stringify(r);if(!e&&t&&(!n||"tag:yaml.org,2002:float"===n)&&/^\d/.test(i)){let e=i.indexOf(".");e<0&&(e=i.length,i+=".");let n=t-(i.length-e-1);for(;n-- >0;)i+="0"}return i}let ex={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF|nan|NaN|NAN))$/,resolve:e=>"nan"===e.slice(-3).toLowerCase()?NaN:"-"===e[0]?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:eL},eC={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:\.[0-9]+|[0-9]+(?:\.[0-9]*)?)[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e),stringify(e){let t=Number(e.value);return isFinite(t)?t.toExponential():eL(e)}},eB={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:\.[0-9]+|[0-9]+\.[0-9]*)$/,resolve(e){let t=new F(parseFloat(e)),n=e.indexOf(".");return -1!==n&&"0"===e[e.length-1]&&(t.minFractionDigits=e.length-n-1),t},stringify:eL},e$=e=>"bigint"==typeof e||Number.isInteger(e),e_=(e,t,n,{intAsBigInt:r})=>r?BigInt(e):parseInt(e.substring(t),n);function eM(e,t,n){let{value:r}=e;return e$(r)&&r>=0?n+r.toString(t):eL(e)}let ej={identify:e=>e$(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^0o[0-7]+$/,resolve:(e,t,n)=>e_(e,2,8,n),stringify:e=>eM(e,8,"0o")},eU={identify:e$,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9]+$/,resolve:(e,t,n)=>e_(e,0,10,n),stringify:eL},eD={identify:e=>e$(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^0x[0-9a-fA-F]+$/,resolve:(e,t,n)=>e_(e,2,16,n),stringify:e=>eM(e,16,"0x")},eP=[eE,eN,eO,eT,eI,ej,eU,eD,ex,eC,eB];function eq(e){return"bigint"==typeof e||Number.isInteger(e)}let eR=({value:e})=>JSON.stringify(e),eK=[eE,eN].concat([{identify:e=>"string"==typeof e,default:!0,tag:"tag:yaml.org,2002:str",resolve:e=>e,stringify:eR},{identify:e=>null==e,createNode:()=>new F(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^null$/,resolve:()=>null,stringify:eR},{identify:e=>"boolean"==typeof e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^true|false$/,resolve:e=>"true"===e,stringify:eR},{identify:eq,default:!0,tag:"tag:yaml.org,2002:int",test:/^-?(?:0|[1-9][0-9]*)$/,resolve:(e,t,{intAsBigInt:n})=>n?BigInt(e):parseInt(e,10),stringify:({value:e})=>eq(e)?e.toString():JSON.stringify(e)},{identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^-?(?:0|[1-9][0-9]*)(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$/,resolve:e=>parseFloat(e),stringify:eR}],{default:!0,tag:"",test:/^/,resolve:(e,t)=>(t(`Unresolved plain scalar ${JSON.stringify(e)}`),e)});var eF=n(1876).Buffer;let eY={identify:e=>e instanceof Uint8Array,default:!1,tag:"tag:yaml.org,2002:binary",resolve(e,t){if("function"==typeof eF)return eF.from(e,"base64");if("function"!=typeof atob)return t("This environment does not support reading binary tags; either Buffer or atob is required"),e;{let t=atob(e.replace(/[\n\r]/g,"")),n=new Uint8Array(t.length);for(let e=0;e1&&t("Each pair must have its own sequence indicator");let e=r.items[0]||new eg(new F(null));if(r.commentBefore&&(e.key.commentBefore=e.key.commentBefore?`${r.commentBefore} -${e.key.commentBefore}`:r.commentBefore),r.comment){let t=e.value??e.key;t.comment=t.comment?`${r.comment} -${t.comment}`:r.comment}r=e}e.items[n]=y(r)?r:new eg(r)}}else t("Expected a sequence for this tag");return e}function eJ(e,t,n){let{replacer:r}=n,s=new eS(e);s.tag="tag:yaml.org,2002:pairs";let i=0;if(t&&Symbol.iterator in Object(t))for(let e of t){let o,a;if("function"==typeof r&&(e=r.call(t,String(i++),e)),Array.isArray(e)){if(2===e.length)o=e[0],a=e[1];else throw TypeError(`Expected [key, value] tuple: ${e}`)}else if(e&&e instanceof Object){let t=Object.keys(e);if(1===t.length)a=e[o=t[0]];else throw TypeError(`Expected { key: value } tuple: ${e}`)}else o=e;s.items.push(ey(o,a,n))}return s}let eW={collection:"seq",default:!1,tag:"tag:yaml.org,2002:pairs",resolve:eV,createNode:eJ};class eG extends eS{constructor(){super(),this.add=ek.prototype.add.bind(this),this.delete=ek.prototype.delete.bind(this),this.get=ek.prototype.get.bind(this),this.has=ek.prototype.has.bind(this),this.set=ek.prototype.set.bind(this),this.tag=eG.tag}toJSON(e,t){if(!t)return super.toJSON(e);let n=new Map;for(let e of(t?.onCreate&&t.onCreate(n),this.items)){let r,s;if(y(e)?(r=P(e.key,"",t),s=P(e.value,r,t)):r=P(e,"",t),n.has(r))throw Error("Ordered maps must not include duplicate keys");n.set(r,s)}return n}static from(e,t,n){let r=eJ(e,t,n),s=new this;return s.items=r.items,s}}eG.tag="tag:yaml.org,2002:omap";let eQ={collection:"seq",identify:e=>e instanceof Map,nodeClass:eG,default:!1,tag:"tag:yaml.org,2002:omap",resolve(e,t){let n=eV(e,t),r=[];for(let{key:e}of n.items)g(e)&&(r.includes(e.value)?t(`Ordered maps must not include duplicate keys: ${e.value}`):r.push(e.value));return Object.assign(new eG,n)},createNode:(e,t,n)=>eG.from(e,t,n)};function eH({value:e,source:t},n){return t&&(e?eX:ez).test.test(t)?t:e?n.options.trueStr:n.options.falseStr}let eX={identify:e=>!0===e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/,resolve:()=>new F(!0),stringify:eH},ez={identify:e=>!1===e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/i,resolve:()=>new F(!1),stringify:eH},eZ=e=>"bigint"==typeof e||Number.isInteger(e);function e0(e,t,n,{intAsBigInt:r}){let s=e[0];if(("-"===s||"+"===s)&&(t+=1),e=e.substring(t).replace(/_/g,""),r){switch(n){case 2:e=`0b${e}`;break;case 8:e=`0o${e}`;break;case 16:e=`0x${e}`}let t=BigInt(e);return"-"===s?BigInt(-1)*t:t}let i=parseInt(e,n);return"-"===s?-1*i:i}function e1(e,t,n){let{value:r}=e;if(eZ(r)){let e=r.toString(t);return r<0?"-"+n+e.substr(1):n+e}return eL(e)}class e2 extends ek{constructor(e){super(e),this.tag=e2.tag}add(e){let t;t=y(e)?e:e&&"object"==typeof e&&"key"in e&&"value"in e&&null===e.value?new eg(e.key,null):new eg(e,null),ev(this.items,t.key)||this.items.push(t)}get(e,t){let n=ev(this.items,e);return!t&&y(n)?g(n.key)?n.key.value:n.key:n}set(e,t){if("boolean"!=typeof t)throw Error(`Expected boolean value for set(key, value) in a YAML set, not ${typeof t}`);let n=ev(this.items,e);n&&!t?this.items.splice(this.items.indexOf(n),1):!n&&t&&this.items.push(new eg(e))}toJSON(e,t){return super.toJSON(e,t,Set)}toString(e,t,n){if(!e)return JSON.stringify(this);if(this.hasAllNullValues(!0))return super.toString(Object.assign({},e,{allNullValues:!0}),t,n);throw Error("Set items must all have null values")}static from(e,t,n){let{replacer:r}=n,s=new this(e);if(t&&Symbol.iterator in Object(t))for(let e of t)"function"==typeof r&&(e=r.call(t,e,e)),s.items.push(ey(e,null,n));return s}}e2.tag="tag:yaml.org,2002:set";let e6={collection:"map",identify:e=>e instanceof Set,nodeClass:e2,default:!1,tag:"tag:yaml.org,2002:set",createNode:(e,t,n)=>e2.from(e,t,n),resolve(e,t){if(m(e)){if(e.hasAllNullValues(!0))return Object.assign(new e2,e);t("Set items must all have null values")}else t("Expected a mapping for this tag");return e}};function e8(e,t){let n=e[0],r="-"===n||"+"===n?e.substring(1):e,s=e=>t?BigInt(e):Number(e),i=r.replace(/_/g,"").split(":").reduce((e,t)=>e*s(60)+s(t),s(0));return"-"===n?s(-1)*i:i}function e5(e){let{value:t}=e,n=e=>e;if("bigint"==typeof t)n=e=>BigInt(e);else if(isNaN(t)||!isFinite(t))return eL(e);let r="";t<0&&(r="-",t*=n(-1));let s=n(60),i=[t%s];return t<60?i.unshift(0):(t=(t-i[0])/s,i.unshift(t%s),t>=60&&(t=(t-i[0])/s,i.unshift(t))),r+i.map(e=>String(e).padStart(2,"0")).join(":").replace(/000000\d*$/,"")}let e4={identify:e=>"bigint"==typeof e||Number.isInteger(e),default:!0,tag:"tag:yaml.org,2002:int",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+$/,resolve:(e,t,{intAsBigInt:n})=>e8(e,n),stringify:e5},e3={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\.[0-9_]*$/,resolve:e=>e8(e,!1),stringify:e5},e9={identify:e=>e instanceof Date,default:!0,tag:"tag:yaml.org,2002:timestamp",test:RegExp("^([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})(?:(?:t|T|[ \\t]+)([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2}(\\.[0-9]+)?)(?:[ \\t]*(Z|[-+][012]?[0-9](?::[0-9]{2})?))?)?$"),resolve(e){let t=e.match(e9.test);if(!t)throw Error("!!timestamp expects a date, starting with yyyy-mm-dd");let[,n,r,s,i,o,a]=t.map(Number),l=Date.UTC(n,r-1,s,i||0,o||0,a||0,t[7]?Number((t[7]+"00").substr(1,3)):0),c=t[8];if(c&&"Z"!==c){let e=e8(c,!1);30>Math.abs(e)&&(e*=60),l-=6e4*e}return new Date(l)},stringify:({value:e})=>e.toISOString().replace(/((T00:00)?:00)?\.000Z$/,"")},e7=[eE,eN,eO,eT,eX,ez,{identify:eZ,default:!0,tag:"tag:yaml.org,2002:int",format:"BIN",test:/^[-+]?0b[0-1_]+$/,resolve:(e,t,n)=>e0(e,2,2,n),stringify:e=>e1(e,2,"0b")},{identify:eZ,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^[-+]?0[0-7_]+$/,resolve:(e,t,n)=>e0(e,1,8,n),stringify:e=>e1(e,8,"0")},{identify:eZ,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9][0-9_]*$/,resolve:(e,t,n)=>e0(e,0,10,n),stringify:eL},{identify:eZ,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^[-+]?0x[0-9a-fA-F_]+$/,resolve:(e,t,n)=>e0(e,2,16,n),stringify:e=>e1(e,16,"0x")},{identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?\.(?:inf|Inf|INF|nan|NaN|NAN)$/,resolve:e=>"nan"===e.slice(-3).toLowerCase()?NaN:"-"===e[0]?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:eL},{identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:[0-9][0-9_]*)?(?:\.[0-9_]*)?[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e.replace(/_/g,"")),stringify(e){let t=Number(e.value);return isFinite(t)?t.toExponential():eL(e)}},{identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:[0-9][0-9_]*)?\.[0-9_]*$/,resolve(e){let t=new F(parseFloat(e.replace(/_/g,""))),n=e.indexOf(".");if(-1!==n){let r=e.substring(n+1).replace(/_/g,"");"0"===r[r.length-1]&&(t.minFractionDigits=r.length)}return t},stringify:eL},eY,eQ,eW,e6,e4,e3,e9],te=new Map([["core",eP],["failsafe",[eE,eN,eO]],["json",eK],["yaml11",e7],["yaml-1.1",e7]]),tt={binary:eY,bool:eI,float:eB,floatExp:eC,floatNaN:ex,floatTime:e3,int:eU,intHex:eD,intOct:ej,intTime:e4,map:eE,null:eT,omap:eQ,pairs:eW,seq:eN,set:e6,timestamp:e9},tn={"tag:yaml.org,2002:binary":eY,"tag:yaml.org,2002:omap":eQ,"tag:yaml.org,2002:pairs":eW,"tag:yaml.org,2002:set":e6,"tag:yaml.org,2002:timestamp":e9};function tr(e,t){let n=te.get(t);if(!n){if(Array.isArray(e))n=[];else{let e=Array.from(te.keys()).filter(e=>"yaml11"!==e).map(e=>JSON.stringify(e)).join(", ");throw Error(`Unknown schema "${t}"; use one of ${e} or define customTags array`)}}if(Array.isArray(e))for(let t of e)n=n.concat(t);else"function"==typeof e&&(n=e(n.slice()));return n.map(e=>{if("string"!=typeof e)return e;let t=tt[e];if(t)return t;let n=Object.keys(tt).map(e=>JSON.stringify(e)).join(", ");throw Error(`Unknown custom tag "${e}"; use one of ${n}`)})}let ts=(e,t)=>e.keyt.key?1:0;class ti{constructor({compat:e,customTags:t,merge:n,resolveKnownTags:r,schema:s,sortMapEntries:i,toStringDefaults:o}){this.compat=Array.isArray(e)?tr(e,"compat"):e?tr(null,e):null,this.merge=!!n,this.name="string"==typeof s&&s||"core",this.knownTags=r?tn:{},this.tags=tr(t,this.name),this.toStringOptions=o??null,Object.defineProperty(this,l,{value:eE}),Object.defineProperty(this,u,{value:eO}),Object.defineProperty(this,f,{value:eN}),this.sortMapEntries="function"==typeof i?i:!0===i?ts:null}clone(){let e=Object.create(ti.prototype,Object.getOwnPropertyDescriptors(this));return e.tags=this.tags.slice(),e}}class to{constructor(e,t,n){this.commentBefore=null,this.comment=null,this.errors=[],this.warnings=[],Object.defineProperty(this,h,{value:a});let r=null;"function"==typeof t||Array.isArray(t)?r=t:void 0===n&&t&&(n=t,t=void 0);let s=Object.assign({intAsBigInt:!1,keepSourceTokens:!1,logLevel:"warn",prettyErrors:!0,strict:!0,uniqueKeys:!0,version:"1.2"},n);this.options=s;let{version:i}=s;n?._directives?(this.directives=n._directives.atDocument(),this.directives.yaml.explicit&&(i=this.directives.yaml.version)):this.directives=new _({version:i}),this.setSchema(i,n),this.contents=void 0===e?null:this.createNode(e,r,n)}clone(){let e=Object.create(to.prototype,{[h]:{value:a}});return e.commentBefore=this.commentBefore,e.comment=this.comment,e.errors=this.errors.slice(),e.warnings=this.warnings.slice(),e.options=Object.assign({},this.options),this.directives&&(e.directives=this.directives.clone()),e.schema=this.schema.clone(),e.contents=v(this.contents)?this.contents.clone(e.schema):this.contents,this.range&&(e.range=this.range.slice()),e}add(e){ta(this.contents)&&this.contents.add(e)}addIn(e,t){ta(this.contents)&&this.contents.addIn(e,t)}createAlias(e,t){if(!e.anchor){let n=j(this);e.anchor=!t||n.has(t)?U(t||"a",n):t}return new R(e.anchor)}createNode(e,t,n){let r;if("function"==typeof t)e=t.call({"":e},"",e),r=t;else if(Array.isArray(t)){let e=t.filter(e=>"number"==typeof e||e instanceof String||e instanceof Number).map(String);e.length>0&&(t=t.concat(e)),r=t}else void 0===n&&t&&(n=t,t=void 0);let{aliasDuplicateObjects:s,anchorPrefix:i,flow:o,keepUndefined:a,onTagObj:l,tag:c}=n??{},{onAnchor:u,setAnchors:f,sourceObjects:h}=function(e,t){let n=[],r=new Map,s=null;return{onAnchor:r=>{n.push(r),s||(s=j(e));let i=U(t,s);return s.add(i),i},setAnchors:()=>{for(let e of n){let t=r.get(e);if("object"==typeof t&&t.anchor&&(g(t.node)||w(t.node)))t.node.anchor=t.anchor;else{let t=Error("Failed to resolve repeated object (this should not happen)");throw t.source=e,t}}},sourceObjects:r}}(this,i||"a"),p={aliasDuplicateObjects:s??!0,keepUndefined:a??!1,onAnchor:u,onTagObj:l,replacer:r,schema:this.schema,sourceObjects:h},d=Y(e,c,p);return o&&w(d)&&(d.flow=!0),f(),d}createPair(e,t,n={}){return new eg(this.createNode(e,null,n),this.createNode(t,null,n))}delete(e){return!!ta(this.contents)&&this.contents.delete(e)}deleteIn(e){return J(e)?null!=this.contents&&(this.contents=null,!0):!!ta(this.contents)&&this.contents.deleteIn(e)}get(e,t){return w(this.contents)?this.contents.get(e,t):void 0}getIn(e,t){return J(e)?!t&&g(this.contents)?this.contents.value:this.contents:w(this.contents)?this.contents.getIn(e,t):void 0}has(e){return!!w(this.contents)&&this.contents.has(e)}hasIn(e){return J(e)?void 0!==this.contents:!!w(this.contents)&&this.contents.hasIn(e)}set(e,t){null==this.contents?this.contents=V(this.schema,[e],t):ta(this.contents)&&this.contents.set(e,t)}setIn(e,t){J(e)?this.contents=t:null==this.contents?this.contents=V(this.schema,Array.from(e),t):ta(this.contents)&&this.contents.setIn(e,t)}setSchema(e,t={}){let n;switch("number"==typeof e&&(e=String(e)),e){case"1.1":this.directives?this.directives.yaml.version="1.1":this.directives=new _({version:"1.1"}),n={merge:!0,resolveKnownTags:!1,schema:"yaml-1.1"};break;case"1.2":case"next":this.directives?this.directives.yaml.version=e:this.directives=new _({version:e}),n={merge:!1,resolveKnownTags:!0,schema:"core"};break;case null:this.directives&&delete this.directives,n=null;break;default:{let t=JSON.stringify(e);throw Error(`Expected '1.1', '1.2' or null as first argument, but found: ${t}`)}}if(t.schema instanceof Object)this.schema=t.schema;else if(n)this.schema=new ti(Object.assign(n,t));else throw Error("With a null YAML version, the { schema: Schema } option is required")}toJS({json:e,jsonArg:t,mapAsMap:n,maxAliasCount:r,onAnchor:s,reviver:i}={}){let o={anchors:new Map,doc:this,keep:!e,mapAsMap:!0===n,mapKeyWarned:!1,maxAliasCount:"number"==typeof r?r:100},a=P(this.contents,t??"",o);if("function"==typeof s)for(let{count:e,res:t}of o.anchors.values())s(t,e);return"function"==typeof i?D(i,{"":a},"",a):a}toJSON(e,t){return this.toJS({json:!0,jsonArg:e,mapAsMap:!1,onAnchor:t})}toString(e={}){if(this.errors.length>0)throw Error("Document with errors cannot be stringified");if("indent"in e&&(!Number.isInteger(e.indent)||0>=Number(e.indent))){let t=JSON.stringify(e.indent);throw Error(`"indent" option must be a positive integer, not ${t}`)}return function(e,t){let n=[],r=!0===t.directives;if(!1!==t.directives&&e.directives){let t=e.directives.toString(e);t?(n.push(t),r=!0):e.directives.docStart&&(r=!0)}r&&n.push("---");let s=ec(e,t),{commentString:i}=s.options;if(e.commentBefore){1!==n.length&&n.unshift("");let t=i(e.commentBefore);n.unshift(Q(t,""))}let o=!1,a=null;if(e.contents){if(v(e.contents)){if(e.contents.spaceBefore&&r&&n.push(""),e.contents.commentBefore){let t=i(e.contents.commentBefore);n.push(Q(t,""))}s.forceBlockIndent=!!e.comment,a=e.contents.comment}let t=a?void 0:()=>o=!0,l=eu(e.contents,s,()=>a=null,t);a&&(l+=H(l,"",i(a))),("|"===l[0]||">"===l[0])&&"---"===n[n.length-1]?n[n.length-1]=`--- ${l}`:n.push(l)}else n.push(eu(e.contents,s));if(e.directives?.docEnd){if(e.comment){let t=i(e.comment);t.includes("\n")?(n.push("..."),n.push(Q(t,""))):n.push(`... ${t}`)}else n.push("...")}else{let t=e.comment;t&&o&&(t=t.replace(/^\n+/,"")),t&&((!o||a)&&""!==n[n.length-1]&&n.push(""),n.push(Q(i(t),"")))}return n.join("\n")+"\n"}(this,e)}}function ta(e){if(w(e))return!0;throw Error("Expected a YAML collection as document contents")}class tl extends Error{constructor(e,t,n,r){super(),this.name=e,this.code=n,this.message=r,this.pos=t}}class tc extends tl{constructor(e,t,n){super("YAMLParseError",e,t,n)}}class tu extends tl{constructor(e,t,n){super("YAMLWarning",e,t,n)}}let tf=(e,t)=>n=>{if(-1===n.pos[0])return;n.linePos=n.pos.map(e=>t.linePos(e));let{line:r,col:s}=n.linePos[0];n.message+=` at line ${r}, column ${s}`;let i=s-1,o=e.substring(t.lineStarts[r-1],t.lineStarts[r]).replace(/[\n\r]+$/,"");if(i>=60&&o.length>80){let e=Math.min(i-39,o.length-79);o="…"+o.substring(e),i-=e-1}if(o.length>80&&(o=o.substring(0,79)+"…"),r>1&&/^ *$/.test(o.substring(0,i))){let n=e.substring(t.lineStarts[r-2],t.lineStarts[r-1]);n.length>80&&(n=n.substring(0,79)+"…\n"),o=n+o}if(/[^ ]/.test(o)){let e=1,t=n.linePos[1];t&&t.line===r&&t.col>s&&(e=Math.max(1,Math.min(t.col-s,80-i)));let a=" ".repeat(i)+"^".repeat(e);n.message+=`: - -${o} -${a} -`}};function th(e,{flow:t,indicator:n,next:r,offset:s,onError:i,startOnNewline:o}){let a=!1,l=o,c=o,u="",f="",h=!1,p=!1,d=!1,m=null,y=null,g=null,b=null,w=null;for(let r of e)switch(d&&("space"!==r.type&&"newline"!==r.type&&"comma"!==r.type&&i(r.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),d=!1),r.type){case"space":!t&&l&&"doc-start"!==n&&" "===r.source[0]&&i(r,"TAB_AS_INDENT","Tabs are not allowed as indentation"),c=!0;break;case"comment":{c||i(r,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");let e=r.source.substring(1)||" ";u?u+=f+e:u=e,f="",l=!1;break}case"newline":l?u?u+=r.source:a=!0:f+=r.source,l=!0,h=!0,(m||y)&&(p=!0),c=!0;break;case"anchor":m&&i(r,"MULTIPLE_ANCHORS","A node can have at most one anchor"),r.source.endsWith(":")&&i(r.offset+r.source.length-1,"BAD_ALIAS","Anchor ending in : is ambiguous",!0),m=r,null===w&&(w=r.offset),l=!1,c=!1,d=!0;break;case"tag":y&&i(r,"MULTIPLE_TAGS","A node can have at most one tag"),y=r,null===w&&(w=r.offset),l=!1,c=!1,d=!0;break;case n:(m||y)&&i(r,"BAD_PROP_ORDER",`Anchors and tags must be after the ${r.source} indicator`),b&&i(r,"UNEXPECTED_TOKEN",`Unexpected ${r.source} in ${t??"collection"}`),b=r,l=!1,c=!1;break;case"comma":if(t){g&&i(r,"UNEXPECTED_TOKEN",`Unexpected , in ${t}`),g=r,l=!1,c=!1;break}default:i(r,"UNEXPECTED_TOKEN",`Unexpected ${r.type} token`),l=!1,c=!1}let v=e[e.length-1],k=v?v.offset+v.source.length:s;return d&&r&&"space"!==r.type&&"newline"!==r.type&&"comma"!==r.type&&("scalar"!==r.type||""!==r.source)&&i(r.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),{comma:g,found:b,spaceBefore:a,comment:u,hasNewline:h,hasNewlineAfterProp:p,anchor:m,tag:y,end:k,start:w??k}}function tp(e){if(!e)return null;switch(e.type){case"alias":case"scalar":case"double-quoted-scalar":case"single-quoted-scalar":if(e.source.includes("\n"))return!0;if(e.end){for(let t of e.end)if("newline"===t.type)return!0}return!1;case"flow-collection":for(let t of e.items){for(let e of t.start)if("newline"===e.type)return!0;if(t.sep){for(let e of t.sep)if("newline"===e.type)return!0}if(tp(t.key)||tp(t.value))return!0}return!1;default:return!0}}function td(e,t,n){if(t?.type==="flow-collection"){let r=t.end[0];r.indent===e&&("]"===r.source||"}"===r.source)&&tp(t)&&n(r,"BAD_INDENT","Flow end indicator should be more indented than parent",!0)}}function tm(e,t,n){let{uniqueKeys:r}=e.options;if(!1===r)return!1;let s="function"==typeof r?r:(t,n)=>t===n||g(t)&&g(n)&&t.value===n.value&&!("<<"===t.value&&e.schema.merge);return t.some(e=>s(e.key,n))}let ty="All mapping items must start at the same column";function tg(e,t,n,r){let s="";if(e){let i=!1,o="";for(let a of e){let{source:e,type:l}=a;switch(l){case"space":i=!0;break;case"comment":{n&&!i&&r(a,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");let t=e.substring(1)||" ";s?s+=o+t:s=t,o="";break}case"newline":s&&(o+=e),i=!0;break;default:r(a,"UNEXPECTED_TOKEN",`Unexpected ${l} at node end`)}t+=e.length}}return{comment:s,offset:t}}let tb="Block collections are not allowed within flow collections",tw=e=>e&&("block-map"===e.type||"block-seq"===e.type);function tv(e,t,n,r,s,i){let o="block-map"===n.type?function({composeNode:e,composeEmptyNode:t},n,r,s,i){let o=new(i?.nodeClass??ek)(n.schema);n.atRoot&&(n.atRoot=!1);let a=r.offset,l=null;for(let i of r.items){let{start:c,key:u,sep:f,value:h}=i,p=th(c,{indicator:"explicit-key-ind",next:u??f?.[0],offset:a,onError:s,startOnNewline:!0}),d=!p.found;if(d){if(u&&("block-seq"===u.type?s(a,"BLOCK_AS_IMPLICIT_KEY","A block sequence may not be used as an implicit map key"):"indent"in u&&u.indent!==r.indent&&s(a,"BAD_INDENT",ty)),!p.anchor&&!p.tag&&!f){l=p.end,p.comment&&(o.comment?o.comment+="\n"+p.comment:o.comment=p.comment);continue}(p.hasNewlineAfterProp||tp(u))&&s(u??c[c.length-1],"MULTILINE_IMPLICIT_KEY","Implicit keys need to be on a single line")}else p.found?.indent!==r.indent&&s(a,"BAD_INDENT",ty);let m=p.end,y=u?e(n,u,p,s):t(n,m,c,null,p,s);n.schema.compat&&td(r.indent,u,s),tm(n,o.items,y)&&s(m,"DUPLICATE_KEY","Map keys must be unique");let g=th(f??[],{indicator:"map-value-ind",next:h,offset:y.range[2],onError:s,startOnNewline:!u||"block-scalar"===u.type});if(a=g.end,g.found){d&&(h?.type!=="block-map"||g.hasNewline||s(a,"BLOCK_AS_IMPLICIT_KEY","Nested mappings are not allowed in compact mappings"),n.options.strict&&p.start0){let e=tg(p,d,n.options.strict,s);e.comment&&(l.comment?l.comment+="\n"+e.comment:l.comment=e.comment),l.range=[r.offset,d,e.offset]}else l.range=[r.offset,d,d];return l}(e,t,n,r,i),a=o.constructor;return"!"===s||s===a.tagName?o.tag=a.tagName:s&&(o.tag=s),o}function tk(e,t,n){let r=e.offset,s=function({offset:e,props:t},n,r){if("block-scalar-header"!==t[0].type)return r(t[0],"IMPOSSIBLE","Block scalar header not found"),null;let{source:s}=t[0],i=s[0],o=0,a="",l=-1;for(let t=1;t=0;--e){let t=o[e][1];if(""===t||"\r"===t)a=e;else break}if(0===a){let t="+"===s.chomp&&o.length>0?"\n".repeat(Math.max(1,o.length-1)):"",n=r+s.length;return e.source&&(n+=e.source.length),{value:t,type:i,comment:s.comment,range:[r,n,n]}}let l=e.indent+s.indent,c=e.offset+s.length,u=0;for(let e=0;el&&(l=t.length);else{t.length=a;--e)o[e][0].length>l&&(a=e+1);let f="",h="",p=!1;for(let e=0;el||" "===r[0]?(" "===h?h="\n":p||"\n"!==h||(h="\n\n"),f+=h+t.slice(l)+r,h="\n",p=!0):""===r?"\n"===h?f+="\n":h="\n":(f+=h+r,h=" ",p=!1)}switch(s.chomp){case"-":break;case"+":for(let e=a;en(i+e,t,r);switch(o){case"scalar":r=F.PLAIN,s=function(e,t){let n="";switch(e[0]){case" ":n="a tab character";break;case",":n="flow indicator character ,";break;case"%":n="directive indicator character %";break;case"|":case">":n=`block scalar indicator ${e[0]}`;break;case"@":case"`":n=`reserved character ${e[0]}`}return n&&t(0,"BAD_SCALAR_START",`Plain value cannot start with ${n}`),tS(e)}(a,c);break;case"single-quoted-scalar":r=F.QUOTE_SINGLE,("'"!==a[a.length-1]||1===a.length)&&c(a.length,"MISSING_CHAR","Missing closing 'quote"),s=tS(a.slice(1,-1)).replace(/''/g,"'");break;case"double-quoted-scalar":r=F.QUOTE_DOUBLE,s=function(e,t){let n="";for(let r=1;rt?e.slice(t,r+1):s)}else n+=s}}return('"'!==e[e.length-1]||1===e.length)&&t(e.length,"MISSING_CHAR",'Missing closing "quote'),n}(a,c);break;default:return n(e,"UNEXPECTED_TOKEN",`Expected a flow scalar value, but found: ${o}`),{value:"",type:null,comment:"",range:[i,i+a.length,i+a.length]}}let u=i+a.length,f=tg(l,u,t,n);return{value:s,type:r,comment:f.comment,range:[i,u,f.offset]}}function tS(e){let t,n;try{t=RegExp("(.*?)(?r(n,"TAG_RESOLVE_FAILED",e)):null,f=n&&c?function(e,t,n,r,s){if("!"===n)return e[u];let i=[];for(let t of e.tags)if(!t.collection&&t.tag===n){if(!t.default||!t.test)return t;i.push(t)}for(let e of i)if(e.test?.test(t))return e;let o=e.knownTags[n];return o&&!o.collection?(e.tags.push(Object.assign({},o,{default:!1,test:void 0})),o):(s(r,"TAG_RESOLVE_FAILED",`Unresolved tag: ${n}`,"tag:yaml.org,2002:str"!==n),e[u])}(e.schema,i,c,n,r):"scalar"===t.type?function({directives:e,schema:t},n,r,s){let i=t.tags.find(e=>e.default&&e.test?.test(n))||t[u];if(t.compat){let o=t.compat.find(e=>e.default&&e.test?.test(n))??t[u];if(i.tag!==o.tag){let t=e.tagString(i.tag),n=e.tagString(o.tag);s(r,"TAG_RESOLVE_FAILED",`Value may be parsed as either ${t} or ${n}`,!0)}}return i}(e,i,t,r):e.schema[u];try{let o=f.resolve(i,e=>r(n??t,"TAG_RESOLVE_FAILED",e),e.options);s=g(o)?o:new F(o)}catch(e){r(n??t,"TAG_RESOLVE_FAILED",e instanceof Error?e.message:String(e)),s=new F(i)}return s.range=l,s.source=i,o&&(s.type=o),c&&(s.tag=c),f.format&&(s.format=f.format),a&&(s.comment=a),s}let tO={composeNode:tT,composeEmptyNode:tI};function tT(e,t,n,r){let s;let{spaceBefore:i,comment:o,anchor:a,tag:l}=n,c=!0;switch(t.type){case"alias":s=function({options:e},{offset:t,source:n,end:r},s){let i=new R(n.substring(1));""===i.source&&s(t,"BAD_ALIAS","Alias cannot be an empty string"),i.source.endsWith(":")&&s(t+n.length-1,"BAD_ALIAS","Alias ending in : is ambiguous",!0);let o=t+n.length,a=tg(r,o,e.strict,s);return i.range=[t,o,a.offset],a.comment&&(i.comment=a.comment),i}(e,t,r),(a||l)&&r(t,"ALIAS_PROPS","An alias node must not specify any properties");break;case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":case"block-scalar":s=tN(e,t,l,r),a&&(s.anchor=a.source.substring(1));break;case"block-map":case"block-seq":case"flow-collection":s=function(e,t,n,r,s){let i=r?t.directives.tagName(r.source,e=>s(r,"TAG_RESOLVE_FAILED",e)):null,o="block-map"===n.type?"map":"block-seq"===n.type?"seq":"{"===n.start.source?"map":"seq";if(!r||!i||"!"===i||i===ek.tagName&&"map"===o||i===eS.tagName&&"seq"===o||!o)return tv(e,t,n,s,i);let a=t.schema.tags.find(e=>e.tag===i&&e.collection===o);if(!a){let l=t.schema.knownTags[i];if(!l||l.collection!==o)return l?.collection?s(r,"BAD_COLLECTION_TYPE",`${l.tag} used for ${o} collection, but expects ${l.collection}`,!0):s(r,"TAG_RESOLVE_FAILED",`Unresolved tag: ${i}`,!0),tv(e,t,n,s,i);t.schema.tags.push(Object.assign({},l,{default:!1})),a=l}let l=tv(e,t,n,s,i,a),c=a.resolve?.(l,e=>s(r,"TAG_RESOLVE_FAILED",e),t.options)??l,u=v(c)?c:new F(c);return u.range=l.range,u.tag=i,a?.format&&(u.format=a.format),u}(tO,e,t,l,r),a&&(s.anchor=a.source.substring(1));break;default:{let i="error"===t.type?t.message:`Unsupported token (type: ${t.type})`;r(t,"UNEXPECTED_TOKEN",i),s=tI(e,t.offset,void 0,null,n,r),c=!1}}return a&&""===s.anchor&&r(a,"BAD_ALIAS","Anchor cannot be an empty string"),i&&(s.spaceBefore=!0),o&&("scalar"===t.type&&""===t.source?s.comment=o:s.commentBefore=o),e.options.keepSourceTokens&&c&&(s.srcToken=t),s}function tI(e,t,n,r,{spaceBefore:s,comment:i,anchor:o,tag:a,end:l},c){let u=tN(e,{type:"scalar",offset:function(e,t,n){if(t){null===n&&(n=t.length);for(let r=n-1;r>=0;--r){let n=t[r];switch(n.type){case"space":case"comment":case"newline":e-=n.source.length;continue}for(n=t[++r];n?.type==="space";)e+=n.source.length,n=t[++r];break}}return e}(t,n,r),indent:-1,source:""},a,c);return o&&(u.anchor=o.source.substring(1),""===u.anchor&&c(o,"BAD_ALIAS","Anchor cannot be an empty string")),s&&(u.spaceBefore=!0),i&&(u.comment=i,u.range[2]=l),u}function tL(e){if("number"==typeof e)return[e,e+1];if(Array.isArray(e))return 2===e.length?e:[e[0],e[1]];let{offset:t,source:n}=e;return[t,t+("string"==typeof n?n.length:1)]}function tx(e){let t="",n=!1,r=!1;for(let s=0;s{let s=tL(e);r?this.warnings.push(new tu(s,t,n)):this.errors.push(new tc(s,t,n))},this.directives=new _({version:e.version||"1.2"}),this.options=e}decorate(e,t){let{comment:n,afterEmptyLine:r}=tx(this.prelude);if(n){let s=e.contents;if(t)e.comment=e.comment?`${e.comment} -${n}`:n;else if(r||e.directives.docStart||!s)e.commentBefore=n;else if(w(s)&&!s.flow&&s.items.length>0){let e=s.items[0];y(e)&&(e=e.key);let t=e.commentBefore;e.commentBefore=t?`${n} -${t}`:n}else{let e=s.commentBefore;s.commentBefore=e?`${n} -${e}`:n}}t?(Array.prototype.push.apply(e.errors,this.errors),Array.prototype.push.apply(e.warnings,this.warnings)):(e.errors=this.errors,e.warnings=this.warnings),this.prelude=[],this.errors=[],this.warnings=[]}streamInfo(){return{comment:tx(this.prelude).comment,directives:this.directives,errors:this.errors,warnings:this.warnings}}*compose(e,t=!1,n=-1){for(let t of e)yield*this.next(t);yield*this.end(t,n)}*next(e){switch(e.type){case"directive":this.directives.add(e.source,(t,n,r)=>{let s=tL(e);s[0]+=t,this.onError(s,"BAD_DIRECTIVE",n,r)}),this.prelude.push(e.source),this.atDirectives=!0;break;case"document":{let t=function(e,t,{offset:n,start:r,value:s,end:i},o){let a=new to(void 0,Object.assign({_directives:t},e)),l={atRoot:!0,directives:a.directives,options:a.options,schema:a.schema},c=th(r,{indicator:"doc-start",next:s??i?.[0],offset:n,onError:o,startOnNewline:!0});c.found&&(a.directives.docStart=!0,s&&("block-map"===s.type||"block-seq"===s.type)&&!c.hasNewline&&o(c.end,"MISSING_CHAR","Block collection cannot start on same line with directives-end marker")),a.contents=s?tT(l,s,c,o):tI(l,c.end,r,null,c,o);let u=a.contents.range[2],f=tg(i,u,!1,o);return f.comment&&(a.comment=f.comment),a.range=[n,u,f.offset],a}(this.options,this.directives,e,this.onError);this.atDirectives&&!t.directives.docStart&&this.onError(e,"MISSING_CHAR","Missing directives-end/doc-start indicator line"),this.decorate(t,!1),this.doc&&(yield this.doc),this.doc=t,this.atDirectives=!1;break}case"byte-order-mark":case"space":break;case"comment":case"newline":this.prelude.push(e.source);break;case"error":{let t=e.source?`${e.message}: ${JSON.stringify(e.source)}`:e.message,n=new tc(tL(e),"UNEXPECTED_TOKEN",t);this.atDirectives||!this.doc?this.errors.push(n):this.doc.errors.push(n);break}case"doc-end":{if(!this.doc){this.errors.push(new tc(tL(e),"UNEXPECTED_TOKEN","Unexpected doc-end without preceding document"));break}this.doc.directives.docEnd=!0;let t=tg(e.end,e.offset+e.source.length,this.doc.options.strict,this.onError);if(this.decorate(this.doc,!0),t.comment){let e=this.doc.comment;this.doc.comment=e?`${e} -${t.comment}`:t.comment}this.doc.range[2]=t.offset;break}default:this.errors.push(new tc(tL(e),"UNEXPECTED_TOKEN",`Unsupported token ${e.type}`))}}*end(e=!1,t=-1){if(this.doc)this.decorate(this.doc,!0),yield this.doc,this.doc=null;else if(e){let e=new to(void 0,Object.assign({_directives:this.directives},this.options));this.atDirectives&&this.onError(t,"MISSING_CHAR","Missing directives-end indicator line"),e.range=[0,t,t],this.decorate(e,!1),yield e}}}function tB(e,t=!0,n){if(e){let r=(e,t,r)=>{let s="number"==typeof e?e:Array.isArray(e)?e[0]:e.offset;if(n)n(s,t,r);else throw new tc([s,s+1],t,r)};switch(e.type){case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return tE(e,t,r);case"block-scalar":return tk(e,t,r)}}return null}function t$(e,t){let{implicitKey:n=!1,indent:r,inFlow:s=!1,offset:i=-1,type:o="PLAIN"}=t,a=el({type:o,value:e},{implicitKey:n,indent:r>0?" ".repeat(r):"",inFlow:s,options:{blockQuote:!0,lineWidth:-1}}),l=t.end??[{type:"newline",offset:-1,indent:r,source:"\n"}];switch(a[0]){case"|":case">":{let e=a.indexOf("\n"),t=a.substring(0,e),n=a.substring(e+1)+"\n",s=[{type:"block-scalar-header",offset:i,indent:r,source:t}];return tM(s,l)||s.push({type:"newline",offset:-1,indent:r,source:"\n"}),{type:"block-scalar",offset:i,indent:r,props:s,source:n}}case'"':return{type:"double-quoted-scalar",offset:i,indent:r,source:a,end:l};case"'":return{type:"single-quoted-scalar",offset:i,indent:r,source:a,end:l};default:return{type:"scalar",offset:i,indent:r,source:a,end:l}}}function t_(e,t,n={}){let{afterKey:r=!1,implicitKey:s=!1,inFlow:i=!1,type:o}=n,a="indent"in e?e.indent:null;if(r&&"number"==typeof a&&(a+=2),!o)switch(e.type){case"single-quoted-scalar":o="QUOTE_SINGLE";break;case"double-quoted-scalar":o="QUOTE_DOUBLE";break;case"block-scalar":{let t=e.props[0];if("block-scalar-header"!==t.type)throw Error("Invalid block scalar header");o=">"===t.source[0]?"BLOCK_FOLDED":"BLOCK_LITERAL";break}default:o="PLAIN"}let l=el({type:o,value:t},{implicitKey:s||null===a,indent:null!==a&&a>0?" ".repeat(a):"",inFlow:i,options:{blockQuote:!0,lineWidth:-1}});switch(l[0]){case"|":case">":!function(e,t){let n=t.indexOf("\n"),r=t.substring(0,n),s=t.substring(n+1)+"\n";if("block-scalar"===e.type){let t=e.props[0];if("block-scalar-header"!==t.type)throw Error("Invalid block scalar header");t.source=r,e.source=s}else{let{offset:t}=e,n="indent"in e?e.indent:-1,i=[{type:"block-scalar-header",offset:t,indent:n,source:r}];for(let t of(tM(i,"end"in e?e.end:void 0)||i.push({type:"newline",offset:-1,indent:n,source:"\n"}),Object.keys(e)))"type"!==t&&"offset"!==t&&delete e[t];Object.assign(e,{type:"block-scalar",indent:n,props:i,source:s})}}(e,l);break;case'"':tj(e,l,"double-quoted-scalar");break;case"'":tj(e,l,"single-quoted-scalar");break;default:tj(e,l,"scalar")}}function tM(e,t){if(t)for(let n of t)switch(n.type){case"space":case"comment":e.push(n);break;case"newline":return e.push(n),!0}return!1}function tj(e,t,n){switch(e.type){case"scalar":case"double-quoted-scalar":case"single-quoted-scalar":e.type=n,e.source=t;break;case"block-scalar":{let r=e.props.slice(1),s=t.length;for(let t of("block-scalar-header"===e.props[0].type&&(s-=e.props[0].source.length),r))t.offset+=s;delete e.props,Object.assign(e,{type:n,source:t,end:r});break}case"block-map":case"block-seq":{let r={type:"newline",offset:e.offset+t.length,indent:e.indent,source:"\n"};delete e.items,Object.assign(e,{type:n,source:t,end:[r]});break}default:{let r="indent"in e?e.indent:-1,s="end"in e&&Array.isArray(e.end)?e.end.filter(e=>"space"===e.type||"comment"===e.type||"newline"===e.type):[];for(let t of Object.keys(e))"type"!==t&&"offset"!==t&&delete e[t];Object.assign(e,{type:n,indent:r,source:t,end:s})}}}let tU=e=>"type"in e?tD(e):tP(e);function tD(e){switch(e.type){case"block-scalar":{let t="";for(let n of e.props)t+=tD(n);return t+e.source}case"block-map":case"block-seq":{let t="";for(let n of e.items)t+=tP(n);return t}case"flow-collection":{let t=e.start.source;for(let n of e.items)t+=tP(n);for(let n of e.end)t+=n.source;return t}case"document":{let t=tP(e);if(e.end)for(let n of e.end)t+=n.source;return t}default:{let t=e.source;if("end"in e&&e.end)for(let n of e.end)t+=n.source;return t}}}function tP({start:e,key:t,sep:n,value:r}){let s="";for(let t of e)s+=t.source;if(t&&(s+=tD(t)),n)for(let e of n)s+=e.source;return r&&(s+=tD(r)),s}let tq=Symbol("break visit"),tR=Symbol("skip children"),tK=Symbol("remove item");function tF(e,t){"type"in e&&"document"===e.type&&(e={start:e.start,value:e.value}),function e(t,n,r){let s=r(n,t);if("symbol"==typeof s)return s;for(let i of["key","value"]){let o=n[i];if(o&&"items"in o){for(let n=0;n{let n=e;for(let[e,r]of t){let t=n?.[e];if(!t||!("items"in t))return;n=t.items[r]}return n},tF.parentCollection=(e,t)=>{let n=tF.itemAtPath(e,t.slice(0,-1)),r=t[t.length-1][0],s=n?.[r];if(s&&"items"in s)return s;throw Error("Parent collection not found")};let tY="\uFEFF",tV="\x02",tJ="\x18",tW="\x1f",tG=e=>!!e&&"items"in e,tQ=e=>!!e&&("scalar"===e.type||"single-quoted-scalar"===e.type||"double-quoted-scalar"===e.type||"block-scalar"===e.type);function tH(e){switch(e){case tY:return"";case tV:return"";case tJ:return"";case tW:return"";default:return JSON.stringify(e)}}function tX(e){switch(e){case tY:return"byte-order-mark";case tV:return"doc-mode";case tJ:return"flow-error-end";case tW:return"scalar";case"---":return"doc-start";case"...":return"doc-end";case"":case"\n":case"\r\n":return"newline";case"-":return"seq-item-ind";case"?":return"explicit-key-ind";case":":return"map-value-ind";case"{":return"flow-map-start";case"}":return"flow-map-end";case"[":return"flow-seq-start";case"]":return"flow-seq-end";case",":return"comma"}switch(e[0]){case" ":case" ":return"space";case"#":return"comment";case"%":return"directive-line";case"*":return"alias";case"&":return"anchor";case"!":return"tag";case"'":return"single-quoted-scalar";case'"':return"double-quoted-scalar";case"|":case">":return"block-scalar-header"}return null}function tz(e){switch(e){case void 0:case" ":case"\n":case"\r":case" ":return!0;default:return!1}}let tZ="0123456789ABCDEFabcdef".split(""),t0="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-#;/?:@&=+$_.!~*'()".split(""),t1=",[]{}".split(""),t2=" ,[]{}\n\r ".split(""),t6=e=>!e||t2.includes(e);class t8{constructor(){this.atEnd=!1,this.blockScalarIndent=-1,this.blockScalarKeep=!1,this.buffer="",this.flowKey=!1,this.flowLevel=0,this.indentNext=0,this.indentValue=0,this.lineEndPos=null,this.next=null,this.pos=0}*lex(e,t=!1){e&&(this.buffer=this.buffer?this.buffer+e:e,this.lineEndPos=null),this.atEnd=!t;let n=this.next??"stream";for(;n&&(t||this.hasChars(1));)n=yield*this.parseNext(n)}atLineEnd(){let e=this.pos,t=this.buffer[e];for(;" "===t||" "===t;)t=this.buffer[++e];return!t||"#"===t||"\n"===t||"\r"===t&&"\n"===this.buffer[e+1]}charAt(e){return this.buffer[this.pos+e]}continueScalar(e){let t=this.buffer[e];if(this.indentNext>0){let n=0;for(;" "===t;)t=this.buffer[++n+e];if("\r"===t){let t=this.buffer[n+e+1];if("\n"===t||!t&&!this.atEnd)return e+n+1}return"\n"!==t&&!(n>=this.indentNext)&&(t||this.atEnd)?-1:e+n}if("-"===t||"."===t){let t=this.buffer.substr(e,3);if(("---"===t||"..."===t)&&tz(this.buffer[e+3]))return -1}return e}getLine(){let e=this.lineEndPos;return(("number"!=typeof e||-1!==e&&ethis.indentValue&&!tz(this.charAt(1))&&(this.indentNext=this.indentValue),yield*this.parseBlockStart()}*parseBlockStart(){let[e,t]=this.peek(2);if(!t&&!this.atEnd)return this.setNext("block-start");if(("-"===e||"?"===e||":"===e)&&tz(t)){let e=(yield*this.pushCount(1))+(yield*this.pushSpaces(!0));return this.indentNext=this.indentValue+1,this.indentValue+=e,yield*this.parseBlockStart()}return"doc"}*parseDocument(){yield*this.pushSpaces(!0);let e=this.getLine();if(null===e)return this.setNext("doc");let t=yield*this.pushIndicators();switch(e[t]){case"#":yield*this.pushCount(e.length-t);case void 0:return yield*this.pushNewline(),yield*this.parseLineStart();case"{":case"[":return yield*this.pushCount(1),this.flowKey=!1,this.flowLevel=1,"flow";case"}":case"]":return yield*this.pushCount(1),"doc";case"*":return yield*this.pushUntil(t6),"doc";case'"':case"'":return yield*this.parseQuotedScalar();case"|":case">":return t+=(yield*this.parseBlockScalarHeader())+(yield*this.pushSpaces(!0)),yield*this.pushCount(e.length-t),yield*this.pushNewline(),yield*this.parseBlockScalar();default:return yield*this.parsePlainScalar()}}*parseFlowCollection(){let e,t;let n=-1;do(e=yield*this.pushNewline())>0?(t=yield*this.pushSpaces(!1),this.indentValue=n=t):t=0,t+=yield*this.pushSpaces(!0);while(e+t>0);let r=this.getLine();if(null===r)return this.setNext("flow");if((-1!==n&&n"0"&&t<="9")this.blockScalarIndent=Number(t)-1;else if("-"!==t)break}return yield*this.pushUntil(e=>tz(e)||"#"===e)}*parseBlockScalar(){let e,t=this.pos-1,n=0;e:for(let r=this.pos;e=this.buffer[r];++r)switch(e){case" ":n+=1;break;case"\n":t=r,n=0;break;case"\r":{let e=this.buffer[r+1];if(!e&&!this.atEnd)return this.setNext("block-scalar");if("\n"===e)break}default:break e}if(!e&&!this.atEnd)return this.setNext("block-scalar");if(n>=this.indentNext){-1===this.blockScalarIndent?this.indentNext=n:this.indentNext+=this.blockScalarIndent;do{let e=this.continueScalar(t+1);if(-1===e)break;t=this.buffer.indexOf("\n",e)}while(-1!==t);if(-1===t){if(!this.atEnd)return this.setNext("block-scalar");t=this.buffer.length}}if(!this.blockScalarKeep)for(;;){let e=t-1,r=this.buffer[e];"\r"===r&&(r=this.buffer[--e]);let s=e;for(;" "===r||" "===r;)r=this.buffer[--e];if("\n"===r&&e>=this.pos&&e+1+n>s)t=e;else break}return yield tW,yield*this.pushToIndex(t+1,!0),yield*this.parseLineStart()}*parsePlainScalar(){let e;let t=this.flowLevel>0,n=this.pos-1,r=this.pos-1;for(;e=this.buffer[++r];)if(":"===e){let e=this.buffer[r+1];if(tz(e)||t&&","===e)break;n=r}else if(tz(e)){let s=this.buffer[r+1];if("\r"===e&&("\n"===s?(r+=1,e="\n",s=this.buffer[r+1]):n=r),"#"===s||t&&t1.includes(s))break;if("\n"===e){let e=this.continueScalar(r+1);if(-1===e)break;r=Math.max(r,e-2)}}else{if(t&&t1.includes(e))break;n=r}return e||this.atEnd?(yield tW,yield*this.pushToIndex(n+1,!0),t?"flow":"doc"):this.setNext("plain-scalar")}*pushCount(e){return e>0?(yield this.buffer.substr(this.pos,e),this.pos+=e,e):0}*pushToIndex(e,t){let n=this.buffer.slice(this.pos,e);return n?(yield n,this.pos+=n.length,n.length):(t&&(yield""),0)}*pushIndicators(){switch(this.charAt(0)){case"!":return(yield*this.pushTag())+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators());case"&":return(yield*this.pushUntil(t6))+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators());case"-":case"?":case":":{let e=this.flowLevel>0,t=this.charAt(1);if(tz(t)||e&&t1.includes(t))return e?this.flowKey&&(this.flowKey=!1):this.indentNext=this.indentValue+1,(yield*this.pushCount(1))+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators())}}return 0}*pushTag(){if("<"===this.charAt(1)){let e=this.pos+2,t=this.buffer[e];for(;!tz(t)&&">"!==t;)t=this.buffer[++e];return yield*this.pushToIndex(">"===t?e+1:e,!1)}{let e=this.pos+1,t=this.buffer[e];for(;t;)if(t0.includes(t))t=this.buffer[++e];else if("%"===t&&tZ.includes(this.buffer[e+1])&&tZ.includes(this.buffer[e+2]))t=this.buffer[e+=3];else break;return yield*this.pushToIndex(e,!1)}}*pushNewline(){let e=this.buffer[this.pos];return"\n"===e?yield*this.pushCount(1):"\r"===e&&"\n"===this.charAt(1)?yield*this.pushCount(2):0}*pushSpaces(e){let t,n=this.pos-1;do t=this.buffer[++n];while(" "===t||e&&" "===t);let r=n-this.pos;return r>0&&(yield this.buffer.substr(this.pos,r),this.pos=n),r}*pushUntil(e){let t=this.pos,n=this.buffer[t];for(;!e(n);)n=this.buffer[++t];return yield*this.pushToIndex(t,!1)}}class t5{constructor(){this.lineStarts=[],this.addNewLine=e=>this.lineStarts.push(e),this.linePos=e=>{let t=0,n=this.lineStarts.length;for(;t>1;this.lineStarts[r]=0;)switch(e[t].type){case"doc-start":case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":case"newline":break e}for(;e[++t]?.type==="space";);return e.splice(t,e.length)}function nt(e){if("flow-seq-start"===e.start.type)for(let t of e.items)!t.sep||t.value||t4(t.start,"explicit-key-ind")||t4(t.sep,"map-value-ind")||(t.key&&(t.value=t.key),delete t.key,t9(t.value)?t.value.end?Array.prototype.push.apply(t.value.end,t.sep):t.value.end=t.sep:Array.prototype.push.apply(t.start,t.sep),delete t.sep)}class nn{constructor(e){this.atNewLine=!0,this.atScalar=!1,this.indent=0,this.offset=0,this.onKeyLine=!1,this.stack=[],this.source="",this.type="",this.lexer=new t8,this.onNewLine=e}*parse(e,t=!1){for(let n of(this.onNewLine&&0===this.offset&&this.onNewLine(0),this.lexer.lex(e,t)))yield*this.next(n);t||(yield*this.end())}*next(e){if(this.source=e,this.atScalar){this.atScalar=!1,yield*this.step(),this.offset+=e.length;return}let t=tX(e);if(t){if("scalar"===t)this.atNewLine=!1,this.atScalar=!0,this.type="scalar";else{switch(this.type=t,yield*this.step(),t){case"newline":this.atNewLine=!0,this.indent=0,this.onNewLine&&this.onNewLine(this.offset+e.length);break;case"space":this.atNewLine&&" "===e[0]&&(this.indent+=e.length);break;case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":this.atNewLine&&(this.indent+=e.length);break;case"doc-mode":case"flow-error-end":return;default:this.atNewLine=!1}this.offset+=e.length}}else{let t=`Not a YAML token: ${e}`;yield*this.pop({type:"error",offset:this.offset,message:t,source:e}),this.offset+=e.length}}*end(){for(;this.stack.length>0;)yield*this.pop()}get sourceToken(){return{type:this.type,offset:this.offset,indent:this.indent,source:this.source}}*step(){let e=this.peek(1);if("doc-end"===this.type&&(!e||"doc-end"!==e.type)){for(;this.stack.length>0;)yield*this.pop();this.stack.push({type:"doc-end",offset:this.offset,source:this.source});return}if(!e)return yield*this.stream();switch(e.type){case"document":return yield*this.document(e);case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return yield*this.scalar(e);case"block-scalar":return yield*this.blockScalar(e);case"block-map":return yield*this.blockMap(e);case"block-seq":return yield*this.blockSequence(e);case"flow-collection":return yield*this.flowCollection(e);case"doc-end":return yield*this.documentEnd(e)}yield*this.pop()}peek(e){return this.stack[this.stack.length-e]}*pop(e){let t=e??this.stack.pop();if(t){if(0===this.stack.length)yield t;else{let e=this.peek(1);switch("block-scalar"===t.type?t.indent="indent"in e?e.indent:0:"flow-collection"===t.type&&"document"===e.type&&(t.indent=0),"flow-collection"===t.type&&nt(t),e.type){case"document":e.value=t;break;case"block-scalar":e.props.push(t);break;case"block-map":{let n=e.items[e.items.length-1];if(n.value){e.items.push({start:[],key:t,sep:[]}),this.onKeyLine=!0;return}if(n.sep)n.value=t;else{Object.assign(n,{key:t,sep:[]}),this.onKeyLine=!t4(n.start,"explicit-key-ind");return}break}case"block-seq":{let n=e.items[e.items.length-1];n.value?e.items.push({start:[],value:t}):n.value=t;break}case"flow-collection":{let n=e.items[e.items.length-1];!n||n.value?e.items.push({start:[],key:t,sep:[]}):n.sep?n.value=t:Object.assign(n,{key:t,sep:[]});return}default:yield*this.pop(),yield*this.pop(t)}if(("document"===e.type||"block-map"===e.type||"block-seq"===e.type)&&("block-map"===t.type||"block-seq"===t.type)){let n=t.items[t.items.length-1];n&&!n.sep&&!n.value&&n.start.length>0&&-1===t3(n.start)&&(0===t.indent||n.start.every(e=>"comment"!==e.type||e.indent=e.indent){let n=!this.onKeyLine&&this.indent===e.indent&&t.sep,r=[];if(n&&t.sep&&!t.value){let n=[];for(let r=0;re.indent&&(n.length=0);break;default:n.length=0}}n.length>=2&&(r=t.sep.splice(n[1]))}switch(this.type){case"anchor":case"tag":n||t.value?(r.push(this.sourceToken),e.items.push({start:r}),this.onKeyLine=!0):t.sep?t.sep.push(this.sourceToken):t.start.push(this.sourceToken);return;case"explicit-key-ind":t.sep||t4(t.start,"explicit-key-ind")?n||t.value?(r.push(this.sourceToken),e.items.push({start:r})):this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken]}]}):t.start.push(this.sourceToken),this.onKeyLine=!0;return;case"map-value-ind":if(t4(t.start,"explicit-key-ind")){if(t.sep){if(t.value)e.items.push({start:[],key:null,sep:[this.sourceToken]});else if(t4(t.sep,"map-value-ind"))this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:r,key:null,sep:[this.sourceToken]}]});else if(t9(t.key)&&!t4(t.sep,"newline")){let e=ne(t.start),n=t.key,r=t.sep;r.push(this.sourceToken),delete t.key,delete t.sep,this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:e,key:n,sep:r}]})}else r.length>0?t.sep=t.sep.concat(r,this.sourceToken):t.sep.push(this.sourceToken)}else if(t4(t.start,"newline"))Object.assign(t,{key:null,sep:[this.sourceToken]});else{let e=ne(t.start);this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:e,key:null,sep:[this.sourceToken]}]})}}else t.sep?t.value||n?e.items.push({start:r,key:null,sep:[this.sourceToken]}):t4(t.sep,"map-value-ind")?this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[],key:null,sep:[this.sourceToken]}]}):t.sep.push(this.sourceToken):Object.assign(t,{key:null,sep:[this.sourceToken]});this.onKeyLine=!0;return;case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{let s=this.flowScalar(this.type);n||t.value?(e.items.push({start:r,key:s,sep:[]}),this.onKeyLine=!0):t.sep?this.stack.push(s):(Object.assign(t,{key:s,sep:[]}),this.onKeyLine=!0);return}default:{let s=this.startBlockValue(e);if(s){n&&"block-seq"!==s.type&&t4(t.start,"explicit-key-ind")&&e.items.push({start:r}),this.stack.push(s);return}}}}yield*this.pop(),yield*this.step()}*blockSequence(e){let t=e.items[e.items.length-1];switch(this.type){case"newline":if(t.value){let n="end"in t.value?t.value.end:void 0,r=Array.isArray(n)?n[n.length-1]:void 0;r?.type==="comment"?n?.push(this.sourceToken):e.items.push({start:[this.sourceToken]})}else t.start.push(this.sourceToken);return;case"space":case"comment":if(t.value)e.items.push({start:[this.sourceToken]});else{if(this.atIndentedComment(t.start,e.indent)){let n=e.items[e.items.length-2],r=n?.value?.end;if(Array.isArray(r)){Array.prototype.push.apply(r,t.start),r.push(this.sourceToken),e.items.pop();return}}t.start.push(this.sourceToken)}return;case"anchor":case"tag":if(t.value||this.indent<=e.indent)break;t.start.push(this.sourceToken);return;case"seq-item-ind":if(this.indent!==e.indent)break;t.value||t4(t.start,"seq-item-ind")?e.items.push({start:[this.sourceToken]}):t.start.push(this.sourceToken);return}if(this.indent>e.indent){let t=this.startBlockValue(e);if(t){this.stack.push(t);return}}yield*this.pop(),yield*this.step()}*flowCollection(e){let t=e.items[e.items.length-1];if("flow-error-end"===this.type){let e;do yield*this.pop(),e=this.peek(1);while(e&&"flow-collection"===e.type)}else if(0===e.end.length){switch(this.type){case"comma":case"explicit-key-ind":!t||t.sep?e.items.push({start:[this.sourceToken]}):t.start.push(this.sourceToken);return;case"map-value-ind":!t||t.value?e.items.push({start:[],key:null,sep:[this.sourceToken]}):t.sep?t.sep.push(this.sourceToken):Object.assign(t,{key:null,sep:[this.sourceToken]});return;case"space":case"comment":case"newline":case"anchor":case"tag":!t||t.value?e.items.push({start:[this.sourceToken]}):t.sep?t.sep.push(this.sourceToken):t.start.push(this.sourceToken);return;case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{let n=this.flowScalar(this.type);!t||t.value?e.items.push({start:[],key:n,sep:[]}):t.sep?this.stack.push(n):Object.assign(t,{key:n,sep:[]});return}case"flow-map-end":case"flow-seq-end":e.end.push(this.sourceToken);return}let n=this.startBlockValue(e);n?this.stack.push(n):(yield*this.pop(),yield*this.step())}else{let t=this.peek(2);if("block-map"!==t.type||("map-value-ind"!==this.type||t.indent!==e.indent)&&("newline"!==this.type||t.items[t.items.length-1].sep)){if("map-value-ind"===this.type&&"flow-collection"!==t.type){let n=ne(t7(t));nt(e);let r=e.end.splice(1,e.end.length);r.push(this.sourceToken);let s={type:"block-map",offset:e.offset,indent:e.indent,items:[{start:n,key:e,sep:r}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=s}else yield*this.lineEnd(e)}else yield*this.pop(),yield*this.step()}}flowScalar(e){if(this.onNewLine){let e=this.source.indexOf("\n")+1;for(;0!==e;)this.onNewLine(this.offset+e),e=this.source.indexOf("\n",e)+1}return{type:e,offset:this.offset,indent:this.indent,source:this.source}}startBlockValue(e){switch(this.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return this.flowScalar(this.type);case"block-scalar-header":return{type:"block-scalar",offset:this.offset,indent:this.indent,props:[this.sourceToken],source:""};case"flow-map-start":case"flow-seq-start":return{type:"flow-collection",offset:this.offset,indent:this.indent,start:this.sourceToken,items:[],end:[]};case"seq-item-ind":return{type:"block-seq",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken]}]};case"explicit-key-ind":{this.onKeyLine=!0;let t=ne(t7(e));return t.push(this.sourceToken),{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:t}]}}case"map-value-ind":{this.onKeyLine=!0;let t=ne(t7(e));return{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:t,key:null,sep:[this.sourceToken]}]}}}return null}atIndentedComment(e,t){return"comment"===this.type&&!(this.indent<=t)&&e.every(e=>"newline"===e.type||"space"===e.type)}*documentEnd(e){"doc-mode"!==this.type&&(e.end?e.end.push(this.sourceToken):e.end=[this.sourceToken],"newline"===this.type&&(yield*this.pop()))}*lineEnd(e){switch(this.type){case"comma":case"doc-start":case"doc-end":case"flow-seq-end":case"flow-map-end":case"map-value-ind":yield*this.pop(),yield*this.step();break;case"newline":this.onKeyLine=!1;default:e.end?e.end.push(this.sourceToken):e.end=[this.sourceToken],"newline"===this.type&&(yield*this.pop())}}}function nr(e){let t=!1!==e.prettyErrors;return{lineCounter:e.lineCounter||t&&new t5||null,prettyErrors:t}}function ns(e,t={}){let{lineCounter:n,prettyErrors:r}=nr(t),s=new nn(n?.addNewLine),i=new tC(t),o=Array.from(i.compose(s.parse(e)));if(r&&n)for(let t of o)t.errors.forEach(tf(e,n)),t.warnings.forEach(tf(e,n));return o.length>0?o:Object.assign([],{empty:!0},i.streamInfo())}function ni(e,t={}){let{lineCounter:n,prettyErrors:r}=nr(t),s=new nn(n?.addNewLine),i=new tC(t),o=null;for(let t of i.compose(s.parse(e),!0,e.length))if(o){if("silent"!==o.options.logLevel){o.errors.push(new tc(t.range.slice(0,2),"MULTIPLE_DOCS","Source contains multiple documents; please use YAML.parseAllDocuments()"));break}}else o=t;return r&&n&&(o.errors.forEach(tf(e,n)),o.warnings.forEach(tf(e,n))),o}function no(e,t,n){let r;"function"==typeof t?r=t:void 0===n&&t&&"object"==typeof t&&(n=t);let s=ni(e,n);if(!s)return null;if(s.warnings.forEach(e=>eh(s.options.logLevel,e)),s.errors.length>0){if("silent"!==s.options.logLevel)throw s.errors[0];s.errors=[]}return s.toJS(Object.assign({reviver:r},n))}function na(e,t,n){let r=null;if("function"==typeof t||Array.isArray(t)?r=t:void 0===n&&t&&(n=t),"string"==typeof n&&(n=n.length),"number"==typeof n){let e=Math.round(n);n=e<1?void 0:e>8?{indent:8}:{indent:e}}if(void 0===e){let{keepUndefined:e}=n??t??{};if(!e)return}return new to(e,r,n).toString(n)}var nl=i}}]); \ No newline at end of file diff --git a/pr-preview/pr-159/_next/static/chunks/476-c23ea481ede67d10.js b/pr-preview/pr-159/_next/static/chunks/476-c23ea481ede67d10.js deleted file mode 100644 index 843dd60..0000000 --- a/pr-preview/pr-159/_next/static/chunks/476-c23ea481ede67d10.js +++ /dev/null @@ -1,26 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[476],{6304:function(module,__unused_webpack_exports,__webpack_require__){module=__webpack_require__.nmd(module),function _f(self){"use strict";let Y;try{module&&(self=module)}catch(e){}function u(e){return void 0===e||e}function aa(e){let t=Array(e);for(let n=0;n=r))));t++);if(n)return a?ta(l,r,0):void(t[t.length]=l)}return!n&&l}function ta(e,t,n){return e=1===e.length?e[0]:[].concat.apply([],e),n||e.length>t?e.slice(n,n+t):e}function ua(e,t,n,r){return e=n?(e=e[(r=r&&t>n)?t:n])&&e[r?n:t]:e[t]}function N(e,t,n,r,i){let a=0;if(e.constructor===Array){if(i)-1!==(t=e.indexOf(t))?1=this.B&&(d||!c[p])){var a=L(f,r,h),o="";switch(this.G){case"full":if(2a;s--)if(s-a>=this.B){var l=L(f,r,h,i,a);M(this,c,o=p.substring(a,s),l,e,n)}break}case"reverse":if(1=this.B&&M(this,c,o,L(f,r,h,i,s),e,n);o=""}case"forward":if(1=this.B&&M(this,c,o,a,e,n);break}default:if(this.C&&(a=Math.min(a/this.C(t,p,h)|0,f-1)),M(this,c,p,a,e,n),d&&1=this.B&&!i[p]){i[p]=1;let t=this.l&&p>a;M(this,u,t?a:p,L(o+(r/2>o?0:1),r,h,s-1,l-1),e,n,t?p:a)}}}}}this.m||(this.register[e]=1)}}return this},t.search=function(e,t,n){let r,i,a;n||(!t&&C(e)?e=(n=e).query:C(t)&&(n=t));let o=[],s,l,u=0;if(n){e=n.query||e,t=n.limit,u=n.offset||0;var c=n.context;l=n.suggest}if(e&&1<(s=(e=this.encode(""+e)).length)){n=v();var d=[];for(let t=0,r=0,i;t=this.B&&!n[i]){if(!this.s&&!l&&!this.map[i])return o;d[r++]=i,n[i]=1}s=(e=d).length}if(!s)return o;for(t||(t=100),c=this.depth&&1t||n)&&(i=i.slice(n,n+t)),r&&(i=za.call(this,i)),{tag:e,result:i}}function za(e){let t=Array(e.length);for(let n=0,r;n2?n.slice(1-n.length).join("."):t.source=t.resource,t.git_suffix=/\.git$/.test(t.pathname),t.name=decodeURIComponent((t.pathname||t.href).replace(/(^\/)|(\/$)/g,"").replace(/\.git$/,"")),t.owner=decodeURIComponent(t.user),t.source){case"git.cloudforge.com":t.owner=t.user,t.organization=n[0],t.source="cloudforge.com";break;case"visualstudio.com":if("vs-ssh.visualstudio.com"===t.resource){4===(a=t.name.split("/")).length&&(t.organization=a[1],t.owner=a[2],t.name=a[3],t.full_name=a[2]+"/"+a[3]);break}2===(a=t.name.split("/")).length?(t.owner=a[1],t.name=a[1],t.full_name="_git/"+t.name):3===a.length?(t.name=a[2],"DefaultCollection"===a[0]?(t.owner=a[2],t.organization=a[0],t.full_name=t.organization+"/_git/"+t.name):(t.owner=a[0],t.full_name=t.owner+"/_git/"+t.name)):4===a.length&&(t.organization=a[0],t.owner=a[1],t.name=a[3],t.full_name=t.organization+"/"+t.owner+"/_git/"+t.name);break;case"dev.azure.com":case"azure.com":if("ssh.dev.azure.com"===t.resource){4===(a=t.name.split("/")).length&&(t.organization=a[1],t.owner=a[2],t.name=a[3]);break}5===(a=t.name.split("/")).length?(t.organization=a[0],t.owner=a[1],t.name=a[4],t.full_name="_git/"+t.name):3===a.length?(t.name=a[2],"DefaultCollection"===a[0]?(t.owner=a[2],t.organization=a[0],t.full_name=t.organization+"/_git/"+t.name):(t.owner=a[0],t.full_name=t.owner+"/_git/"+t.name)):4===a.length&&(t.organization=a[0],t.owner=a[1],t.name=a[3],t.full_name=t.organization+"/"+t.owner+"/_git/"+t.name),t.query&&t.query.path&&(t.filepath=t.query.path.replace(/^\/+/g,"")),t.query&&t.query.version&&(t.ref=t.query.version.replace(/^GB/,""));break;default:var o=(a=t.name.split("/")).length-1;if(a.length>=2){var s=a.indexOf("-",2),l=a.indexOf("blob",2),u=a.indexOf("tree",2),c=a.indexOf("commit",2),d=a.indexOf("src",2),f=a.indexOf("raw",2),h=a.indexOf("edit",2);o=s>0?s-1:l>0?l-1:u>0?u-1:c>0?c-1:d>0?d-1:f>0?f-1:h>0?h-1:o,t.owner=a.slice(0,o).join("/"),t.name=a[o],c&&(t.commit=a[o+2])}t.ref="",t.filepathtype="",t.filepath="";var p=a.length>o&&"-"===a[o+1]?o+1:o;a.length>p+2&&["raw","src","blob","tree","edit"].indexOf(a[p+1])>=0&&(t.filepathtype=a[p+1],t.ref=a[p+2],a.length>p+3&&(t.filepath=a.slice(p+3).join("/"))),t.organization=t.owner}!t.full_name&&(t.full_name=t.owner,t.name&&(t.full_name&&(t.full_name+="/"),t.full_name+=t.name)),t.owner.startsWith("scm/")&&(t.source="bitbucket-server",t.owner=t.owner.replace("scm/",""),t.organization=t.owner,t.full_name=t.owner+"/"+t.name);var m=/(projects|users)\/(.*?)\/repos\/(.*?)((\/.*$)|$)/.exec(t.pathname);return null!=m&&(t.source="bitbucket-server","users"===m[1]?t.owner="~"+m[2]:t.owner=m[2],t.organization=t.owner,t.name=m[3],(a=m[4].split("/")).length>1&&(["raw","browse"].indexOf(a[1])>=0?(t.filepathtype=a[1],a.length>2&&(t.filepath=a.slice(2).join("/"))):"commits"===a[1]&&a.length>2&&(t.commit=a[2])),t.full_name=t.owner+"/"+t.name,t.query.at?t.ref=t.query.at:t.ref=""),t}/*! - * buildToken - * Builds OAuth token prefix (helper function) - * - * @name buildToken - * @function - * @param {GitUrl} obj The parsed Git url object. - * @return {String} token prefix - */function a(e){return"bitbucket.org"===e.source?"x-token-auth:"+e.token+"@":e.token+"@"}function o(e){return"bitbucket-server"===e.source?"scm/"+e.full_name:""+e.full_name}i.stringify=function(e,t){t=t||(e.protocols&&e.protocols.length?e.protocols.join("+"):e.protocol);var n=e.port?":"+e.port:"",r=e.user||"git",i=e.git_suffix?".git":"";switch(t){case"ssh":if(n)return"ssh://"+r+"@"+e.resource+n+"/"+e.full_name+i;return r+"@"+e.resource+":"+e.full_name+i;case"git+ssh":case"ssh+git":case"ftp":case"ftps":return t+"://"+r+"@"+e.resource+n+"/"+e.full_name+i;case"http":case"https":return t+"://"+(e.token?a(e):e.user&&(e.protocols.includes("http")||e.protocols.includes("https"))?e.user+"@":"")+e.resource+n+"/"+o(e)+i;default:return e.href}},e.exports=i},6337:function(){!function(){"use strict";if("object"==typeof window){if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype){"isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});return}var e=function(e){for(var t=e,n=i(t);n;)n=i(t=n.ownerDocument);return t}(window.document),t=[],n=null,r=null;o.prototype.THROTTLE_TIMEOUT=100,o.prototype.POLL_INTERVAL=null,o.prototype.USE_MUTATION_OBSERVER=!0,o._setupCrossOriginUpdater=function(){return n||(n=function(e,n){r=e&&n?m(e,n):h(),t.forEach(function(e){e._checkForIntersections()})}),n},o._resetCrossOriginUpdater=function(){n=null,r=null},o.prototype.observe=function(e){if(!this._observationTargets.some(function(t){return t.element==e})){if(!(e&&1==e.nodeType))throw Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:e,entry:null}),this._monitorIntersections(e.ownerDocument),this._checkForIntersections()}},o.prototype.unobserve=function(e){this._observationTargets=this._observationTargets.filter(function(t){return t.element!=e}),this._unmonitorIntersections(e.ownerDocument),0==this._observationTargets.length&&this._unregisterInstance()},o.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorAllIntersections(),this._unregisterInstance()},o.prototype.takeRecords=function(){var e=this._queuedEntries.slice();return this._queuedEntries=[],e},o.prototype._initThresholds=function(e){var t=e||[0];return Array.isArray(t)||(t=[t]),t.sort().filter(function(e,t,n){if("number"!=typeof e||isNaN(e)||e<0||e>1)throw Error("threshold must be a number between 0 and 1 inclusively");return e!==n[t-1]})},o.prototype._parseRootMargin=function(e){var t=(e||"0px").split(/\s+/).map(function(e){var t=/^(-?\d*\.?\d+)(px|%)$/.exec(e);if(!t)throw Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(t[1]),unit:t[2]}});return t[1]=t[1]||t[0],t[2]=t[2]||t[0],t[3]=t[3]||t[1],t},o.prototype._monitorIntersections=function(t){var n=t.defaultView;if(n&&-1==this._monitoringDocuments.indexOf(t)){var r=this._checkForIntersections,a=null,o=null;if(this.POLL_INTERVAL?a=n.setInterval(r,this.POLL_INTERVAL):(u(n,"resize",r,!0),u(t,"scroll",r,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in n&&(o=new n.MutationObserver(r)).observe(t,{attributes:!0,childList:!0,characterData:!0,subtree:!0})),this._monitoringDocuments.push(t),this._monitoringUnsubscribes.push(function(){var e=t.defaultView;e&&(a&&e.clearInterval(a),c(e,"resize",r,!0)),c(t,"scroll",r,!0),o&&o.disconnect()}),t!=(this.root&&(this.root.ownerDocument||this.root)||e)){var s=i(t);s&&this._monitorIntersections(s.ownerDocument)}}},o.prototype._unmonitorIntersections=function(t){var n=this._monitoringDocuments.indexOf(t);if(-1!=n){var r=this.root&&(this.root.ownerDocument||this.root)||e;if(!this._observationTargets.some(function(e){var n=e.element.ownerDocument;if(n==t)return!0;for(;n&&n!=r;){var a=i(n);if((n=a&&a.ownerDocument)==t)return!0}return!1})){var a=this._monitoringUnsubscribes[n];if(this._monitoringDocuments.splice(n,1),this._monitoringUnsubscribes.splice(n,1),a(),t!=r){var o=i(t);o&&this._unmonitorIntersections(o.ownerDocument)}}}},o.prototype._unmonitorAllIntersections=function(){var e=this._monitoringUnsubscribes.slice(0);this._monitoringDocuments.length=0,this._monitoringUnsubscribes.length=0;for(var t=0;tt.indexOf(this)&&t.push(this)},o.prototype._unregisterInstance=function(){var e=t.indexOf(this);-1!=e&&t.splice(e,1)},window.IntersectionObserver=o,window.IntersectionObserverEntry=a}function i(e){try{return e.defaultView&&e.defaultView.frameElement||null}catch(e){return null}}function a(e){this.time=e.time,this.target=e.target,this.rootBounds=p(e.rootBounds),this.boundingClientRect=p(e.boundingClientRect),this.intersectionRect=p(e.intersectionRect||h()),this.isIntersecting=!!e.intersectionRect;var t=this.boundingClientRect,n=t.width*t.height,r=this.intersectionRect,i=r.width*r.height;n?this.intersectionRatio=Number((i/n).toFixed(4)):this.intersectionRatio=this.isIntersecting?1:0}function o(e,t){var n=t||{};if("function"!=typeof e)throw Error("callback must be a function");if(n.root&&1!=n.root.nodeType&&9!=n.root.nodeType)throw Error("root must be a Document or Element");this._checkForIntersections=l(this._checkForIntersections.bind(this),this.THROTTLE_TIMEOUT),this._callback=e,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(n.rootMargin),this.thresholds=this._initThresholds(n.threshold),this.root=n.root||null,this.rootMargin=this._rootMarginValues.map(function(e){return e.value+e.unit}).join(" "),this._monitoringDocuments=[],this._monitoringUnsubscribes=[]}function s(){return window.performance&&performance.now&&performance.now()}function l(e,t){var n=null;return function(){n||(n=setTimeout(function(){e(),n=null},t))}}function u(e,t,n,r){"function"==typeof e.addEventListener?e.addEventListener(t,n,r||!1):"function"==typeof e.attachEvent&&e.attachEvent("on"+t,n)}function c(e,t,n,r){"function"==typeof e.removeEventListener?e.removeEventListener(t,n,r||!1):"function"==typeof e.detachEvent&&e.detachEvent("on"+t,n)}function d(e,t){var n=Math.max(e.top,t.top),r=Math.min(e.bottom,t.bottom),i=Math.max(e.left,t.left),a=Math.min(e.right,t.right),o=a-i,s=r-n;return o>=0&&s>=0&&{top:n,bottom:r,left:i,right:a,width:o,height:s}||null}function f(e){var t;try{t=e.getBoundingClientRect()}catch(e){}return t?(t.width&&t.height||(t={top:t.top,right:t.right,bottom:t.bottom,left:t.left,width:t.right-t.left,height:t.bottom-t.top}),t):h()}function h(){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}function p(e){return!e||"x"in e?e:{top:e.top,y:e.top,bottom:e.bottom,left:e.left,x:e.left,right:e.right,width:e.width,height:e.height}}function m(e,t){var n=t.top-e.top,r=t.left-e.left;return{top:n,left:r,height:t.height,width:t.width,bottom:n+t.height,right:r+t.width}}function x(e,t){for(var n=t;n;){if(n==e)return!0;n=g(n)}return!1}function g(t){var n=t.parentNode;return 9==t.nodeType&&t!=e?i(t):(n&&n.assignedSlot&&(n=n.assignedSlot.parentNode),n&&11==n.nodeType&&n.host)?n.host:n}function v(e){return e&&9===e.nodeType}}()},9073:function(e,t,n){"use strict";var r=n(2337);function i(e){if(Array.isArray(e))return -1!==e.indexOf("ssh")||-1!==e.indexOf("rsync");if("string"!=typeof e)return!1;var t=r(e);if(e=e.substring(e.indexOf("://")+3),i(t))return!0;var n=RegExp(".([a-zA-Z\\d]+):(\\d+)/");return!e.match(n)&&e.indexOf("@")-1}function B(e,t){var n=this.__data__,r=ee(n,e);return r<0?n.push([e,t]):n[r][1]=t,this}function q(e){var t=-1,n=e?e.length:0;for(this.clear();++t{}).then(()=>{if(e.parentElement&&e.isConnected){if("empty"!==t&&i(!0),null==n?void 0:n.current){let t=new Event("load");Object.defineProperty(t,"target",{writable:!1,value:e});let r=!1,i=!1;n.current({...t,nativeEvent:t,currentTarget:e,target:e,isDefaultPrevented:()=>r,isPropagationStopped:()=>i,persist:()=>{},preventDefault:()=>{r=!0,t.preventDefault()},stopPropagation:()=>{i=!0,t.stopPropagation()}})}(null==r?void 0:r.current)&&r.current(e)}}))}function x(e){let[t,n]=o.version.split(".",2),r=parseInt(t,10),i=parseInt(n,10);return r>18||18===r&&i>=3?{fetchPriority:e}:{fetchpriority:e}}let g=(0,o.forwardRef)((e,t)=>{let{src:n,srcSet:r,sizes:i,height:s,width:l,decoding:u,className:c,style:d,fetchPriority:f,placeholder:h,loading:p,unoptimized:g,fill:v,onLoadRef:y,onLoadingCompleteRef:b,setBlurComplete:w,setShowAltText:_,onLoad:k,onError:j,...E}=e;return(0,a.jsx)("img",{...E,...x(f),loading:p,width:l,height:s,decoding:u,"data-nimg":v?"fill":"1",className:c,style:d,sizes:i,srcSet:r,src:n,ref:(0,o.useCallback)(e=>{t&&("function"==typeof t?t(e):"object"==typeof t&&(t.current=e)),e&&(j&&(e.src=e.src),e.complete&&m(e,h,y,b,w,g))},[n,h,y,b,w,j,g,t]),onLoad:e=>{m(e.currentTarget,h,y,b,w,g)},onError:e=>{_(!0),"empty"!==h&&w(!0),j&&j(e)}})});function v(e){let{isAppRouter:t,imgAttributes:n}=e,r={as:"image",imageSrcSet:n.srcSet,imageSizes:n.sizes,crossOrigin:n.crossOrigin,referrerPolicy:n.referrerPolicy,...x(n.fetchPriority)};return t&&s.default.preload?(s.default.preload(n.src,r),null):(0,a.jsx)(l.default,{children:(0,a.jsx)("link",{rel:"preload",href:n.srcSet?void 0:n.src,...r},"__nimg-"+n.src+n.srcSet+n.sizes)})}let y=(0,o.forwardRef)((e,t)=>{let n=!(0,o.useContext)(f.RouterContext),r=(0,o.useContext)(d.ImageConfigContext),i=(0,o.useMemo)(()=>{let e=p||r||c.imageConfigDefault,t=[...e.deviceSizes,...e.imageSizes].sort((e,t)=>e-t),n=e.deviceSizes.sort((e,t)=>e-t);return{...e,allSizes:t,deviceSizes:n}},[r]),{onLoad:s,onLoadingComplete:l}=e,m=(0,o.useRef)(s);(0,o.useEffect)(()=>{m.current=s},[s]);let x=(0,o.useRef)(l);(0,o.useEffect)(()=>{x.current=l},[l]);let[y,b]=(0,o.useState)(!1),[w,_]=(0,o.useState)(!1),{props:k,meta:j}=(0,u.getImgProps)(e,{defaultLoader:h.default,imgConf:i,blurComplete:y,showAltText:w});return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(g,{...k,unoptimized:j.unoptimized,placeholder:j.placeholder,fill:j.fill,onLoadRef:m,onLoadingCompleteRef:x,setBlurComplete:b,setShowAltText:_,ref:t}),j.priority?(0,a.jsx)(v,{isAppRouter:n,imgAttributes:k}):null]})});("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},3480:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return _}});let r=n(8754),i=n(5893),a=r._(n(7294)),o=n(7950),s=n(7387),l=n(6982),u=n(6921),c=n(7727),d=n(1973),f=n(6216),h=n(1722),p=n(6504),m=n(634),x=n(3412),g=new Set;function v(e,t,n,r,i,a){if(a||(0,s.isLocalURL)(t)){if(!r.bypassPrefetchedCheck){let i=t+"%"+n+"%"+(void 0!==r.locale?r.locale:"locale"in e?e.locale:void 0);if(g.has(i))return;g.add(i)}Promise.resolve(a?e.prefetch(t,i):e.prefetch(t,n,r)).catch(e=>{})}}function y(e){let t=e.currentTarget.getAttribute("target");return t&&"_self"!==t||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which}function b(e,t,n,r,i,o,l,u,c){let{nodeName:d}=e.currentTarget;if("A"===d.toUpperCase()&&(y(e)||!c&&!(0,s.isLocalURL)(n)))return;e.preventDefault();let f=()=>{let e=null==l||l;"beforePopState"in t?t[i?"replace":"push"](n,r,{shallow:o,locale:u,scroll:e}):t[i?"replace":"push"](r||n,{scroll:e})};c?a.default.startTransition(f):f()}function w(e){return"string"==typeof e?e:(0,l.formatUrl)(e)}let _=a.default.forwardRef(function(e,t){let n,r;let{href:s,as:l,children:g,prefetch:y=null,passHref:_,replace:k,shallow:j,scroll:E,locale:O,onClick:T,onMouseEnter:C,onTouchStart:S,legacyBehavior:N=!1,...R}=e;n=g,N&&("string"==typeof n||"number"==typeof n)&&(n=(0,i.jsx)("a",{children:n}));let I=a.default.useContext(d.RouterContext),A=a.default.useContext(f.AppRouterContext),L=null!=I?I:A,P=!I,M=!1!==y,Z=null===y?x.PrefetchKind.AUTO:x.PrefetchKind.FULL,{href:D,as:F}=a.default.useMemo(()=>{if(!I){let e=w(s);return{href:e,as:l?w(l):e}}let[e,t]=(0,o.resolveHref)(I,s,!0);return{href:e,as:l?(0,o.resolveHref)(I,l):t||e}},[I,s,l]),z=a.default.useRef(D),$=a.default.useRef(F);N&&(r=a.default.Children.only(n));let U=N?r&&"object"==typeof r&&r.ref:t,[W,H,G]=(0,h.useIntersection)({rootMargin:"200px"}),V=a.default.useCallback(e=>{($.current!==F||z.current!==D)&&(G(),$.current=F,z.current=D),W(e),U&&("function"==typeof U?U(e):"object"==typeof U&&(U.current=e))},[F,U,D,G,W]);a.default.useEffect(()=>{L&&H&&M&&v(L,D,F,{locale:O},{kind:Z},P)},[F,D,H,O,M,null==I?void 0:I.locale,L,P,Z]);let B={ref:V,onClick(e){N||"function"!=typeof T||T(e),N&&r.props&&"function"==typeof r.props.onClick&&r.props.onClick(e),L&&!e.defaultPrevented&&b(e,L,D,F,k,j,E,O,P)},onMouseEnter(e){N||"function"!=typeof C||C(e),N&&r.props&&"function"==typeof r.props.onMouseEnter&&r.props.onMouseEnter(e),L&&(M||!P)&&v(L,D,F,{locale:O,priority:!0,bypassPrefetchedCheck:!0},{kind:Z},P)},onTouchStart(e){N||"function"!=typeof S||S(e),N&&r.props&&"function"==typeof r.props.onTouchStart&&r.props.onTouchStart(e),L&&(M||!P)&&v(L,D,F,{locale:O,priority:!0,bypassPrefetchedCheck:!0},{kind:Z},P)}};if((0,u.isAbsoluteUrl)(F))B.href=F;else if(!N||_||"a"===r.type&&!("href"in r.props)){let e=void 0!==O?O:null==I?void 0:I.locale,t=(null==I?void 0:I.isLocaleDomain)&&(0,p.getDomainLocale)(F,e,null==I?void 0:I.locales,null==I?void 0:I.domainLocales);B.href=t||(0,m.addBasePath)((0,c.addLocale)(F,e,null==I?void 0:I.defaultLocale))}return N?a.default.cloneElement(r,B):(0,i.jsx)("a",{...R,...B,children:n})});("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},1722:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useIntersection",{enumerable:!0,get:function(){return c}});let r=n(7294),i=n(9126),a="function"==typeof IntersectionObserver,o=new Map,s=[];function l(e){let t;let n={root:e.root||null,margin:e.rootMargin||""},r=s.find(e=>e.root===n.root&&e.margin===n.margin);if(r&&(t=o.get(r)))return t;let i=new Map;return t={id:n,observer:new IntersectionObserver(e=>{e.forEach(e=>{let t=i.get(e.target),n=e.isIntersecting||e.intersectionRatio>0;t&&n&&t(n)})},e),elements:i},s.push(n),o.set(n,t),t}function u(e,t,n){let{id:r,observer:i,elements:a}=l(n);return a.set(e,t),i.observe(e),function(){if(a.delete(e),i.unobserve(e),0===a.size){i.disconnect(),o.delete(r);let e=s.findIndex(e=>e.root===r.root&&e.margin===r.margin);e>-1&&s.splice(e,1)}}}function c(e){let{rootRef:t,rootMargin:n,disabled:o}=e,s=o||!a,[l,c]=(0,r.useState)(!1),d=(0,r.useRef)(null),f=(0,r.useCallback)(e=>{d.current=e},[]);return(0,r.useEffect)(()=>{if(a){if(s||l)return;let e=d.current;if(e&&e.tagName)return u(e,e=>e&&c(e),{root:null==t?void 0:t.current,rootMargin:n})}else if(!l){let e=(0,i.requestIdleCallback)(()=>c(!0));return()=>(0,i.cancelIdleCallback)(e)}},[s,n,t,l,d.current]),[f,l,(0,r.useCallback)(()=>{c(!1)},[])]}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},1908:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImgProps",{enumerable:!0,get:function(){return d}}),n(1558);let r=n(7386),i=n(4706);function a(e){return void 0!==e.default}function o(e){return void 0!==e.src}function s(e){return"object"==typeof e&&(a(e)||o(e))}function l(e){return void 0===e?e:"number"==typeof e?Number.isFinite(e)?e:NaN:"string"==typeof e&&/^[0-9]+$/.test(e)?parseInt(e,10):NaN}function u(e,t,n){let{deviceSizes:r,allSizes:i}=e;if(n){let e=/(^|\s)(1?\d?\d)vw/g,t=[];for(let r;r=e.exec(n);r)t.push(parseInt(r[2]));if(t.length){let e=.01*Math.min(...t);return{widths:i.filter(t=>t>=r[0]*e),kind:"w"}}return{widths:i,kind:"w"}}return"number"!=typeof t?{widths:r,kind:"w"}:{widths:[...new Set([t,2*t].map(e=>i.find(t=>t>=e)||i[i.length-1]))],kind:"x"}}function c(e){let{config:t,src:n,unoptimized:r,width:i,quality:a,sizes:o,loader:s}=e;if(r)return{src:n,srcSet:void 0,sizes:void 0};let{widths:l,kind:c}=u(t,i,o),d=l.length-1;return{sizes:o||"w"!==c?o:"100vw",srcSet:l.map((e,r)=>s({config:t,src:n,quality:a,width:e})+" "+("w"===c?e:r+1)+c).join(", "),src:s({config:t,src:n,quality:a,width:l[d]})}}function d(e,t){let n,o,u,{src:d,sizes:f,unoptimized:h=!1,priority:p=!1,loading:m,className:x,quality:g,width:v,height:y,fill:b=!1,style:w,onLoad:_,onLoadingComplete:k,placeholder:j="empty",blurDataURL:E,fetchPriority:O,layout:T,objectFit:C,objectPosition:S,lazyBoundary:N,lazyRoot:R,...I}=e,{imgConf:A,showAltText:L,blurComplete:P,defaultLoader:M}=t,Z=A||i.imageConfigDefault;if("allSizes"in Z)n=Z;else{let e=[...Z.deviceSizes,...Z.imageSizes].sort((e,t)=>e-t),t=Z.deviceSizes.sort((e,t)=>e-t);n={...Z,allSizes:e,deviceSizes:t}}let D=I.loader||M;delete I.loader,delete I.srcSet;let F="__next_img_default"in D;if(F){if("custom"===n.loader)throw Error('Image with src "'+d+'" is missing "loader" prop.\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader')}else{let e=D;D=t=>{let{config:n,...r}=t;return e(r)}}if(T){"fill"===T&&(b=!0);let e={responsive:"100vw",fill:"100vw"},t={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[T];t&&(w={...w,...t});let n=e[T];n&&!f&&(f=n)}let z="",$=l(v),U=l(y);if(s(d)){let e=a(d)?d.default:d;if(!e.src)throw Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received "+JSON.stringify(e));if(!e.height||!e.width)throw Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received "+JSON.stringify(e));if(o=e.blurWidth,u=e.blurHeight,E=E||e.blurDataURL,z=e.src,!b){if($||U){if($&&!U){let t=$/e.width;U=Math.round(e.height*t)}else if(!$&&U){let t=U/e.height;$=Math.round(e.width*t)}}else $=e.width,U=e.height}}let W=!p&&("lazy"===m||void 0===m);(!(d="string"==typeof d?d:z)||d.startsWith("data:")||d.startsWith("blob:"))&&(h=!0,W=!1),n.unoptimized&&(h=!0),F&&d.endsWith(".svg")&&!n.dangerouslyAllowSVG&&(h=!0),p&&(O="high");let H=l(g),G=Object.assign(b?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:C,objectPosition:S}:{},L?{}:{color:"transparent"},w),V=P||"empty"===j?null:"blur"===j?'url("data:image/svg+xml;charset=utf-8,'+(0,r.getImageBlurSvg)({widthInt:$,heightInt:U,blurWidth:o,blurHeight:u,blurDataURL:E||"",objectFit:G.objectFit})+'")':'url("'+j+'")',B=V?{backgroundSize:G.objectFit||"cover",backgroundPosition:G.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:V}:{},q=c({config:n,src:d,unoptimized:h,width:$,quality:H,sizes:f,loader:D});return{props:{...I,loading:W?"lazy":m,fetchPriority:O,width:$,height:U,decoding:"async",className:x,style:{...G,...B},sizes:q.sizes,srcSet:q.srcSet,src:q.src},meta:{unoptimized:h,priority:p,placeholder:j,fill:b}}}},7386:function(e,t){"use strict";function n(e){let{widthInt:t,heightInt:n,blurWidth:r,blurHeight:i,blurDataURL:a,objectFit:o}=e,s=r?40*r:t,l=i?40*i:n,u=s&&l?"viewBox='0 0 "+s+" "+l+"'":"",c=u?"none":"contain"===o?"xMidYMid":"cover"===o?"xMidYMid slice":"none";return"%3Csvg xmlns='http://www.w3.org/2000/svg' "+u+"%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='"+c+"' style='filter: url(%23b);' href='"+a+"'/%3E%3C/svg%3E"}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImageBlurSvg",{enumerable:!0,get:function(){return n}})},9267:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{getImageProps:function(){return s},default:function(){return l}});let r=n(8754),i=n(1908),a=n(3686),o=r._(n(3293)),s=e=>{let{props:t}=(0,i.getImgProps)(e,{defaultLoader:o.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/serverless-iiif/pr-preview/pr-159/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!0}});for(let[e,n]of Object.entries(t))void 0===n&&delete t[e];return{props:t}},l=a.Image},3293:function(e,t){"use strict";function n(e){let{config:t,src:n,width:r,quality:i}=e;return t.path+"?url="+encodeURIComponent(n)+"&w="+r+"&q="+(i||75)}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}}),n.__next_img_default=!0;let r=n},5033:function(e,t,n){"use strict";var r,i=n(3454);n(1479);var a=n(7294),o=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(a);function s(e,t){for(var n=0;n>>0},p={};function m(e,t){if(!t)return"jsx-"+e;var n=String(t),r=e+n;return p[r]||(p[r]="jsx-"+h(e+"-"+n)),p[r]}function x(e,t){var n=/__jsx-style-dynamic-selector/g,r=e+t;return p[r]||(p[r]=t.replace(n,e)),p[r]}function g(e,t){return void 0===t&&(t={}),e.map(function(e){var n=e[0],r=e[1];return o.default.createElement("style",{id:"__"+n,key:"__"+n,nonce:t.nonce?t.nonce:void 0,dangerouslySetInnerHTML:{__html:r}})})}var v=function(){function e(e){var t=void 0===e?{}:e,n=t.styleSheet,r=void 0===n?null:n,i=t.optimizeForSpeed,a=void 0!==i&&i;this._sheet=r||new d({name:"styled-jsx",optimizeForSpeed:a}),this._sheet.inject(),r&&"boolean"==typeof a&&(this._sheet.setOptimizeForSpeed(a),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),this._fromServer=void 0,this._indices={},this._instancesCounts={}}var t=e.prototype;return t.add=function(e){var t=this;void 0===this._optimizeForSpeed&&(this._optimizeForSpeed=Array.isArray(e.children),this._sheet.setOptimizeForSpeed(this._optimizeForSpeed),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),this._fromServer||(this._fromServer=this.selectFromServer(),this._instancesCounts=Object.keys(this._fromServer).reduce(function(e,t){return e[t]=0,e},{}));var n=this.getIdAndRules(e),r=n.styleId,i=n.rules;if(r in this._instancesCounts){this._instancesCounts[r]+=1;return}var a=i.map(function(e){return t._sheet.insertRule(e)}).filter(function(e){return -1!==e});this._indices[r]=a,this._instancesCounts[r]=1},t.remove=function(e){var t=this,n=this.getIdAndRules(e).styleId;if(y(n in this._instancesCounts,"styleId: `"+n+"` not found"),this._instancesCounts[n]-=1,this._instancesCounts[n]<1){var r=this._fromServer&&this._fromServer[n];r?(r.parentNode.removeChild(r),delete this._fromServer[n]):(this._indices[n].forEach(function(e){return t._sheet.deleteRule(e)}),delete this._indices[n]),delete this._instancesCounts[n]}},t.update=function(e,t){this.add(t),this.remove(e)},t.flush=function(){this._sheet.flush(),this._sheet.inject(),this._fromServer=void 0,this._indices={},this._instancesCounts={}},t.cssRules=function(){var e=this,t=this._fromServer?Object.keys(this._fromServer).map(function(t){return[t,e._fromServer[t]]}):[],n=this._sheet.cssRules();return t.concat(Object.keys(this._indices).map(function(t){return[t,e._indices[t].map(function(e){return n[e].cssText}).join(e._optimizeForSpeed?"":"\n")]}).filter(function(e){return!!e[1]}))},t.styles=function(e){return g(this.cssRules(),e)},t.getIdAndRules=function(e){var t=e.children,n=e.dynamic,r=e.id;if(n){var i=m(r,n);return{styleId:i,rules:Array.isArray(t)?t.map(function(e){return x(i,e)}):[x(i,t)]}}return{styleId:m(r),rules:Array.isArray(t)?t:[t]}},t.selectFromServer=function(){return Array.prototype.slice.call(document.querySelectorAll('[id^="__jsx-"]')).reduce(function(e,t){return e[t.id.slice(2)]=t,e},{})},e}();function y(e,t){if(!e)throw Error("StyleSheetRegistry: "+t+".")}var b=a.createContext(null);function w(){return new v}function _(e){var t=e.registry,n=e.children,r=a.useContext(b),i=a.useState(function(){return r||t||w()})[0];return o.default.createElement(b.Provider,{value:i},n)}function k(){return a.useContext(b)}b.displayName="StyleSheetContext";var j=o.default.useInsertionEffect||o.default.useLayoutEffect,E=w();function O(e){var t=E||k();return t&&j(function(){return t.add(e),function(){t.remove(e)}},[e.id,String(e.dynamic)]),null}O.dynamic=function(e){return e.map(function(e){return m(e[0],e[1])}).join(" ")},r=_,r=w,t.style=O},9554:function(e,t,n){"use strict";e.exports=n(5033).style},1479:function(){},7954:function(){},1864:function(e){var t="/";!function(){"use strict";var n={114:function(e){function t(e){if("string"!=typeof e)throw TypeError("Path must be a string. Received "+JSON.stringify(e))}function n(e,t){for(var n,r="",i=0,a=-1,o=0,s=0;s<=e.length;++s){if(s2){var l=r.lastIndexOf("/");if(l!==r.length-1){-1===l?(r="",i=0):i=(r=r.slice(0,l)).length-1-r.lastIndexOf("/"),a=s,o=0;continue}}else if(2===r.length||1===r.length){r="",i=0,a=s,o=0;continue}}t&&(r.length>0?r+="/..":r="..",i=2)}else r.length>0?r+="/"+e.slice(a+1,s):r=e.slice(a+1,s),i=s-a-1;a=s,o=0}else 46===n&&-1!==o?++o:o=-1}return r}function r(e,t){var n=t.dir||t.root,r=t.base||(t.name||"")+(t.ext||"");return n?n===t.root?n+r:n+e+r:r}var i={resolve:function(){for(var e,r,i="",a=!1,o=arguments.length-1;o>=-1&&!a;o--)o>=0?r=arguments[o]:(void 0===e&&(e=""),r=e),t(r),0!==r.length&&(i=r+"/"+i,a=47===r.charCodeAt(0));return(i=n(i,!a),a)?i.length>0?"/"+i:"/":i.length>0?i:"."},normalize:function(e){if(t(e),0===e.length)return".";var r=47===e.charCodeAt(0),i=47===e.charCodeAt(e.length-1);return(0!==(e=n(e,!r)).length||r||(e="."),e.length>0&&i&&(e+="/"),r)?"/"+e:e},isAbsolute:function(e){return t(e),e.length>0&&47===e.charCodeAt(0)},join:function(){if(0==arguments.length)return".";for(var e,n=0;n0&&(void 0===e?e=r:e+="/"+r)}return void 0===e?".":i.normalize(e)},relative:function(e,n){if(t(e),t(n),e===n||(e=i.resolve(e))===(n=i.resolve(n)))return"";for(var r=1;ru){if(47===n.charCodeAt(s+d))return n.slice(s+d+1);if(0===d)return n.slice(s+d)}else o>u&&(47===e.charCodeAt(r+d)?c=d:0===d&&(c=0));break}var f=e.charCodeAt(r+d);if(f!==n.charCodeAt(s+d))break;47===f&&(c=d)}var h="";for(d=r+c+1;d<=a;++d)(d===a||47===e.charCodeAt(d))&&(0===h.length?h+="..":h+="/..");return h.length>0?h+n.slice(s+c):(s+=c,47===n.charCodeAt(s)&&++s,n.slice(s))},_makeLong:function(e){return e},dirname:function(e){if(t(e),0===e.length)return".";for(var n=e.charCodeAt(0),r=47===n,i=-1,a=!0,o=e.length-1;o>=1;--o)if(47===(n=e.charCodeAt(o))){if(!a){i=o;break}}else a=!1;return -1===i?r?"/":".":r&&1===i?"//":e.slice(0,i)},basename:function(e,n){if(void 0!==n&&"string"!=typeof n)throw TypeError('"ext" argument must be a string');t(e);var r,i=0,a=-1,o=!0;if(void 0!==n&&n.length>0&&n.length<=e.length){if(n.length===e.length&&n===e)return"";var s=n.length-1,l=-1;for(r=e.length-1;r>=0;--r){var u=e.charCodeAt(r);if(47===u){if(!o){i=r+1;break}}else -1===l&&(o=!1,l=r+1),s>=0&&(u===n.charCodeAt(s)?-1==--s&&(a=r):(s=-1,a=l))}return i===a?a=l:-1===a&&(a=e.length),e.slice(i,a)}for(r=e.length-1;r>=0;--r)if(47===e.charCodeAt(r)){if(!o){i=r+1;break}}else -1===a&&(o=!1,a=r+1);return -1===a?"":e.slice(i,a)},extname:function(e){t(e);for(var n=-1,r=0,i=-1,a=!0,o=0,s=e.length-1;s>=0;--s){var l=e.charCodeAt(s);if(47===l){if(!a){r=s+1;break}continue}-1===i&&(a=!1,i=s+1),46===l?-1===n?n=s:1!==o&&(o=1):-1!==n&&(o=-1)}return -1===n||-1===i||0===o||1===o&&n===i-1&&n===r+1?"":e.slice(n,i)},format:function(e){if(null===e||"object"!=typeof e)throw TypeError('The "pathObject" argument must be of type Object. Received type '+typeof e);return r("/",e)},parse:function(e){t(e);var n,r={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return r;var i=e.charCodeAt(0),a=47===i;a?(r.root="/",n=1):n=0;for(var o=-1,s=0,l=-1,u=!0,c=e.length-1,d=0;c>=n;--c){if(47===(i=e.charCodeAt(c))){if(!u){s=c+1;break}continue}-1===l&&(u=!1,l=c+1),46===i?-1===o?o=c:1!==d&&(d=1):-1!==o&&(d=-1)}return -1===o||-1===l||0===d||1===d&&o===l-1&&o===s+1?-1!==l&&(0===s&&a?r.base=r.name=e.slice(1,l):r.base=r.name=e.slice(s,l)):(0===s&&a?(r.name=e.slice(1,o),r.base=e.slice(1,l)):(r.name=e.slice(s,o),r.base=e.slice(s,l)),r.ext=e.slice(o,l)),s>0?r.dir=e.slice(0,s-1):a&&(r.dir="/"),r},sep:"/",delimiter:":",win32:null,posix:null};i.posix=i,e.exports=i}},r={};function i(e){var t=r[e];if(void 0!==t)return t.exports;var a=r[e]={exports:{}},o=!0;try{n[e](a,a.exports,i),o=!1}finally{o&&delete r[e]}return a.exports}i.ab=t+"/";var a=i(114);e.exports=a}()},7663:function(e){var t="/";!function(){var n={229:function(e){var t,n,r,i=e.exports={};function a(){throw Error("setTimeout has not been defined")}function o(){throw Error("clearTimeout has not been defined")}function s(e){if(t===setTimeout)return setTimeout(e,0);if((t===a||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}function l(e){if(n===clearTimeout)return clearTimeout(e);if((n===o||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{return n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:a}catch(e){t=a}try{n="function"==typeof clearTimeout?clearTimeout:o}catch(e){n=o}}();var u=[],c=!1,d=-1;function f(){c&&r&&(c=!1,r.length?u=r.concat(u):d=-1,u.length&&h())}function h(){if(!c){var e=s(f);c=!0;for(var t=u.length;t;){for(r=u,u=[];++d1)for(var n=1;n{t(!0)},[]),e}var k=n(7222),j="https://nextra.vercel.app",E=()=>{let{locale:e=k.ZW,asPath:t,route:n}=(0,y.useRouter)();return(0,b.useMemo)(()=>{let r=k.hV.has(n)?n:t,{pathname:i}=new URL(r,j);return(e?i.replace(RegExp(`\\.${e}(\\/|$)`),"$1"):i).replace(/\.html$/,"").replace(/\/index(\/|$)/,"$1").replace(/\/$/,"")||"/"},[t,e,n])},O=n(9575),T=n(4861);!function(e){function t(e){}function n(e){throw Error()}function r(e,t=" | "){return e.map(e=>"string"==typeof e?`'${e}'`:e).join(t)}e.assertEqual=e=>e,e.assertIs=t,e.assertNever=n,e.arrayToEnum=e=>{let t={};for(let n of e)t[n]=n;return t},e.getValidEnumValues=t=>{let n=e.objectKeys(t).filter(e=>"number"!=typeof t[t[e]]),r={};for(let e of n)r[e]=t[e];return e.objectValues(r)},e.objectValues=t=>e.objectKeys(t).map(function(e){return t[e]}),e.objectKeys="function"==typeof Object.keys?e=>Object.keys(e):e=>{let t=[];for(let n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.push(n);return t},e.find=(e,t)=>{for(let n of e)if(t(n))return n},e.isInteger="function"==typeof Number.isInteger?e=>Number.isInteger(e):e=>"number"==typeof e&&isFinite(e)&&Math.floor(e)===e,e.joinValues=r,e.jsonStringifyReplacer=(e,t)=>"bigint"==typeof t?t.toString():t}(p||(p={})),function(e){e.mergeShapes=(e,t)=>({...e,...t})}(m||(m={}));let C=p.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),S=e=>{switch(typeof e){case"undefined":return C.undefined;case"string":return C.string;case"number":return isNaN(e)?C.nan:C.number;case"boolean":return C.boolean;case"function":return C.function;case"bigint":return C.bigint;case"symbol":return C.symbol;case"object":if(Array.isArray(e))return C.array;if(null===e)return C.null;if(e.then&&"function"==typeof e.then&&e.catch&&"function"==typeof e.catch)return C.promise;if("undefined"!=typeof Map&&e instanceof Map)return C.map;if("undefined"!=typeof Set&&e instanceof Set)return C.set;if("undefined"!=typeof Date&&e instanceof Date)return C.date;return C.object;default:return C.unknown}},N=p.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]),R=e=>JSON.stringify(e,null,2).replace(/"([^"]+)":/g,"$1:");class I extends Error{constructor(e){super(),this.issues=[],this.addIssue=e=>{this.issues=[...this.issues,e]},this.addIssues=(e=[])=>{this.issues=[...this.issues,...e]};let t=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,t):this.__proto__=t,this.name="ZodError",this.issues=e}get errors(){return this.issues}format(e){let t=e||function(e){return e.message},n={_errors:[]},r=e=>{for(let i of e.issues)if("invalid_union"===i.code)i.unionErrors.map(r);else if("invalid_return_type"===i.code)r(i.returnTypeError);else if("invalid_arguments"===i.code)r(i.argumentsError);else if(0===i.path.length)n._errors.push(t(i));else{let e=n,r=0;for(;re.message){let t={},n=[];for(let r of this.issues)r.path.length>0?(t[r.path[0]]=t[r.path[0]]||[],t[r.path[0]].push(e(r))):n.push(e(r));return{formErrors:n,fieldErrors:t}}get formErrors(){return this.flatten()}}I.create=e=>new I(e);let A=(e,t)=>{let n;switch(e.code){case N.invalid_type:n=e.received===C.undefined?"Required":`Expected ${e.expected}, received ${e.received}`;break;case N.invalid_literal:n=`Invalid literal value, expected ${JSON.stringify(e.expected,p.jsonStringifyReplacer)}`;break;case N.unrecognized_keys:n=`Unrecognized key(s) in object: ${p.joinValues(e.keys,", ")}`;break;case N.invalid_union:n="Invalid input";break;case N.invalid_union_discriminator:n=`Invalid discriminator value. Expected ${p.joinValues(e.options)}`;break;case N.invalid_enum_value:n=`Invalid enum value. Expected ${p.joinValues(e.options)}, received '${e.received}'`;break;case N.invalid_arguments:n="Invalid function arguments";break;case N.invalid_return_type:n="Invalid function return type";break;case N.invalid_date:n="Invalid date";break;case N.invalid_string:"object"==typeof e.validation?"includes"in e.validation?(n=`Invalid input: must include "${e.validation.includes}"`,"number"==typeof e.validation.position&&(n=`${n} at one or more positions greater than or equal to ${e.validation.position}`)):"startsWith"in e.validation?n=`Invalid input: must start with "${e.validation.startsWith}"`:"endsWith"in e.validation?n=`Invalid input: must end with "${e.validation.endsWith}"`:p.assertNever(e.validation):n="regex"!==e.validation?`Invalid ${e.validation}`:"Invalid";break;case N.too_small:n="array"===e.type?`Array must contain ${e.exact?"exactly":e.inclusive?"at least":"more than"} ${e.minimum} element(s)`:"string"===e.type?`String must contain ${e.exact?"exactly":e.inclusive?"at least":"over"} ${e.minimum} character(s)`:"number"===e.type?`Number must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${e.minimum}`:"date"===e.type?`Date must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(e.minimum))}`:"Invalid input";break;case N.too_big:n="array"===e.type?`Array must contain ${e.exact?"exactly":e.inclusive?"at most":"less than"} ${e.maximum} element(s)`:"string"===e.type?`String must contain ${e.exact?"exactly":e.inclusive?"at most":"under"} ${e.maximum} character(s)`:"number"===e.type?`Number must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:"bigint"===e.type?`BigInt must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:"date"===e.type?`Date must be ${e.exact?"exactly":e.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(e.maximum))}`:"Invalid input";break;case N.custom:n="Invalid input";break;case N.invalid_intersection_types:n="Intersection results could not be merged";break;case N.not_multiple_of:n=`Number must be a multiple of ${e.multipleOf}`;break;case N.not_finite:n="Number must be finite";break;default:n=t.defaultError,p.assertNever(e)}return{message:n}},L=A;function P(e){L=e}function M(){return L}let Z=e=>{let{data:t,path:n,errorMaps:r,issueData:i}=e,a=[...n,...i.path||[]],o={...i,path:a},s="";for(let e of r.filter(e=>!!e).slice().reverse())s=e(o,{data:t,defaultError:s}).message;return{...i,path:a,message:i.message||s}},D=[];function F(e,t){let n=Z({issueData:t,data:e.data,path:e.path,errorMaps:[e.common.contextualErrorMap,e.schemaErrorMap,M(),A].filter(e=>!!e)});e.common.issues.push(n)}class z{constructor(){this.value="valid"}dirty(){"valid"===this.value&&(this.value="dirty")}abort(){"aborted"!==this.value&&(this.value="aborted")}static mergeArray(e,t){let n=[];for(let r of t){if("aborted"===r.status)return $;"dirty"===r.status&&e.dirty(),n.push(r.value)}return{status:e.value,value:n}}static async mergeObjectAsync(e,t){let n=[];for(let e of t)n.push({key:await e.key,value:await e.value});return z.mergeObjectSync(e,n)}static mergeObjectSync(e,t){let n={};for(let r of t){let{key:t,value:i}=r;if("aborted"===t.status||"aborted"===i.status)return $;"dirty"===t.status&&e.dirty(),"dirty"===i.status&&e.dirty(),"__proto__"!==t.value&&(void 0!==i.value||r.alwaysSet)&&(n[t.value]=i.value)}return{status:e.value,value:n}}}let $=Object.freeze({status:"aborted"}),U=e=>({status:"dirty",value:e}),W=e=>({status:"valid",value:e}),H=e=>"aborted"===e.status,G=e=>"dirty"===e.status,V=e=>"valid"===e.status,B=e=>"undefined"!=typeof Promise&&e instanceof Promise;!function(e){e.errToObj=e=>"string"==typeof e?{message:e}:e||{},e.toString=e=>"string"==typeof e?e:null==e?void 0:e.message}(x||(x={}));class q{constructor(e,t,n,r){this._cachedPath=[],this.parent=e,this.data=t,this._path=n,this._key=r}get path(){return this._cachedPath.length||(this._key instanceof Array?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}}let K=(e,t)=>{if(V(t))return{success:!0,data:t.value};if(!e.common.issues.length)throw Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;let t=new I(e.common.issues);return this._error=t,this._error}}};function Y(e){if(!e)return{};let{errorMap:t,invalid_type_error:n,required_error:r,description:i}=e;if(t&&(n||r))throw Error('Can\'t use "invalid_type_error" or "required_error" in conjunction with custom error map.');return t?{errorMap:t,description:i}:{errorMap:(e,t)=>"invalid_type"!==e.code?{message:t.defaultError}:void 0===t.data?{message:null!=r?r:t.defaultError}:{message:null!=n?n:t.defaultError},description:i}}class Q{constructor(e){this.spa=this.safeParseAsync,this._def=e,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this)}get description(){return this._def.description}_getType(e){return S(e.data)}_getOrReturnCtx(e,t){return t||{common:e.parent.common,data:e.data,parsedType:S(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}_processInputParams(e){return{status:new z,ctx:{common:e.parent.common,data:e.data,parsedType:S(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}}_parseSync(e){let t=this._parse(e);if(B(t))throw Error("Synchronous parse encountered promise.");return t}_parseAsync(e){return Promise.resolve(this._parse(e))}parse(e,t){let n=this.safeParse(e,t);if(n.success)return n.data;throw n.error}safeParse(e,t){var n;let r={common:{issues:[],async:null!==(n=null==t?void 0:t.async)&&void 0!==n&&n,contextualErrorMap:null==t?void 0:t.errorMap},path:(null==t?void 0:t.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:S(e)},i=this._parseSync({data:e,path:r.path,parent:r});return K(r,i)}async parseAsync(e,t){let n=await this.safeParseAsync(e,t);if(n.success)return n.data;throw n.error}async safeParseAsync(e,t){let n={common:{issues:[],contextualErrorMap:null==t?void 0:t.errorMap,async:!0},path:(null==t?void 0:t.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:S(e)},r=this._parse({data:e,path:n.path,parent:n});return K(n,await (B(r)?r:Promise.resolve(r)))}refine(e,t){let n=e=>"string"==typeof t||void 0===t?{message:t}:"function"==typeof t?t(e):t;return this._refinement((t,r)=>{let i=e(t),a=()=>r.addIssue({code:N.custom,...n(t)});return"undefined"!=typeof Promise&&i instanceof Promise?i.then(e=>!!e||(a(),!1)):!!i||(a(),!1)})}refinement(e,t){return this._refinement((n,r)=>!!e(n)||(r.addIssue("function"==typeof t?t(n,r):t),!1))}_refinement(e){return new ez({schema:this,typeName:g.ZodEffects,effect:{type:"refinement",refinement:e}})}superRefine(e){return this._refinement(e)}optional(){return e$.create(this,this._def)}nullable(){return eU.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return ew.create(this,this._def)}promise(){return eF.create(this,this._def)}or(e){return ej.create([this,e],this._def)}and(e){return eC.create(this,e,this._def)}transform(e){return new ez({...Y(this._def),schema:this,typeName:g.ZodEffects,effect:{type:"transform",transform:e}})}default(e){let t="function"==typeof e?e:()=>e;return new eW({...Y(this._def),innerType:this,defaultValue:t,typeName:g.ZodDefault})}brand(){return new eB({typeName:g.ZodBranded,type:this,...Y(this._def)})}catch(e){let t="function"==typeof e?e:()=>e;return new eH({...Y(this._def),innerType:this,catchValue:t,typeName:g.ZodCatch})}describe(e){return new this.constructor({...this._def,description:e})}pipe(e){return eq.create(this,e)}readonly(){return eK.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}let J=/^c[^\s-]{8,}$/i,X=/^[a-z][a-z0-9]*$/,ee=/^[0-9A-HJKMNP-TV-Z]{26}$/,et=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,en=/^(?!\.)(?!.*\.\.)([A-Z0-9_+-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,er="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$",ei=/^(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))$/,ea=/^(([a-f0-9]{1,4}:){7}|::([a-f0-9]{1,4}:){0,6}|([a-f0-9]{1,4}:){1}:([a-f0-9]{1,4}:){0,5}|([a-f0-9]{1,4}:){2}:([a-f0-9]{1,4}:){0,4}|([a-f0-9]{1,4}:){3}:([a-f0-9]{1,4}:){0,3}|([a-f0-9]{1,4}:){4}:([a-f0-9]{1,4}:){0,2}|([a-f0-9]{1,4}:){5}:([a-f0-9]{1,4}:){0,1})([a-f0-9]{1,4}|(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2})))$/,eo=e=>e.precision?e.offset?RegExp(`^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{${e.precision}}(([+-]\\d{2}(:?\\d{2})?)|Z)$`):RegExp(`^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{${e.precision}}Z$`):0===e.precision?e.offset?RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(([+-]\\d{2}(:?\\d{2})?)|Z)$"):RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}Z$"):e.offset?RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?(([+-]\\d{2}(:?\\d{2})?)|Z)$"):RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?Z$");function es(e,t){return!!(("v4"===t||!t)&&ei.test(e)||("v6"===t||!t)&&ea.test(e))}class el extends Q{_parse(e){let t;if(this._def.coerce&&(e.data=String(e.data)),this._getType(e)!==C.string){let t=this._getOrReturnCtx(e);return F(t,{code:N.invalid_type,expected:C.string,received:t.parsedType}),$}let n=new z;for(let i of this._def.checks)if("min"===i.kind)e.data.lengthi.value&&(F(t=this._getOrReturnCtx(e,t),{code:N.too_big,maximum:i.value,type:"string",inclusive:!0,exact:!1,message:i.message}),n.dirty());else if("length"===i.kind){let r=e.data.length>i.value,a=e.data.lengthe.test(t),{validation:t,code:N.invalid_string,...x.errToObj(n)})}_addCheck(e){return new el({...this._def,checks:[...this._def.checks,e]})}email(e){return this._addCheck({kind:"email",...x.errToObj(e)})}url(e){return this._addCheck({kind:"url",...x.errToObj(e)})}emoji(e){return this._addCheck({kind:"emoji",...x.errToObj(e)})}uuid(e){return this._addCheck({kind:"uuid",...x.errToObj(e)})}cuid(e){return this._addCheck({kind:"cuid",...x.errToObj(e)})}cuid2(e){return this._addCheck({kind:"cuid2",...x.errToObj(e)})}ulid(e){return this._addCheck({kind:"ulid",...x.errToObj(e)})}ip(e){return this._addCheck({kind:"ip",...x.errToObj(e)})}datetime(e){var t;return"string"==typeof e?this._addCheck({kind:"datetime",precision:null,offset:!1,message:e}):this._addCheck({kind:"datetime",precision:void 0===(null==e?void 0:e.precision)?null:null==e?void 0:e.precision,offset:null!==(t=null==e?void 0:e.offset)&&void 0!==t&&t,...x.errToObj(null==e?void 0:e.message)})}regex(e,t){return this._addCheck({kind:"regex",regex:e,...x.errToObj(t)})}includes(e,t){return this._addCheck({kind:"includes",value:e,position:null==t?void 0:t.position,...x.errToObj(null==t?void 0:t.message)})}startsWith(e,t){return this._addCheck({kind:"startsWith",value:e,...x.errToObj(t)})}endsWith(e,t){return this._addCheck({kind:"endsWith",value:e,...x.errToObj(t)})}min(e,t){return this._addCheck({kind:"min",value:e,...x.errToObj(t)})}max(e,t){return this._addCheck({kind:"max",value:e,...x.errToObj(t)})}length(e,t){return this._addCheck({kind:"length",value:e,...x.errToObj(t)})}nonempty(e){return this.min(1,x.errToObj(e))}trim(){return new el({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new el({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new el({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(e=>"datetime"===e.kind)}get isEmail(){return!!this._def.checks.find(e=>"email"===e.kind)}get isURL(){return!!this._def.checks.find(e=>"url"===e.kind)}get isEmoji(){return!!this._def.checks.find(e=>"emoji"===e.kind)}get isUUID(){return!!this._def.checks.find(e=>"uuid"===e.kind)}get isCUID(){return!!this._def.checks.find(e=>"cuid"===e.kind)}get isCUID2(){return!!this._def.checks.find(e=>"cuid2"===e.kind)}get isULID(){return!!this._def.checks.find(e=>"ulid"===e.kind)}get isIP(){return!!this._def.checks.find(e=>"ip"===e.kind)}get minLength(){let e=null;for(let t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return e}get maxLength(){let e=null;for(let t of this._def.checks)"max"===t.kind&&(null===e||t.valuer?n:r;return parseInt(e.toFixed(i).replace(".",""))%parseInt(t.toFixed(i).replace(".",""))/Math.pow(10,i)}el.create=e=>{var t;return new el({checks:[],typeName:g.ZodString,coerce:null!==(t=null==e?void 0:e.coerce)&&void 0!==t&&t,...Y(e)})};class ec extends Q{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(e){let t;if(this._def.coerce&&(e.data=Number(e.data)),this._getType(e)!==C.number){let t=this._getOrReturnCtx(e);return F(t,{code:N.invalid_type,expected:C.number,received:t.parsedType}),$}let n=new z;for(let r of this._def.checks)"int"===r.kind?p.isInteger(e.data)||(F(t=this._getOrReturnCtx(e,t),{code:N.invalid_type,expected:"integer",received:"float",message:r.message}),n.dirty()):"min"===r.kind?(r.inclusive?e.datar.value:e.data>=r.value)&&(F(t=this._getOrReturnCtx(e,t),{code:N.too_big,maximum:r.value,type:"number",inclusive:r.inclusive,exact:!1,message:r.message}),n.dirty()):"multipleOf"===r.kind?0!==eu(e.data,r.value)&&(F(t=this._getOrReturnCtx(e,t),{code:N.not_multiple_of,multipleOf:r.value,message:r.message}),n.dirty()):"finite"===r.kind?Number.isFinite(e.data)||(F(t=this._getOrReturnCtx(e,t),{code:N.not_finite,message:r.message}),n.dirty()):p.assertNever(r);return{status:n.value,value:e.data}}gte(e,t){return this.setLimit("min",e,!0,x.toString(t))}gt(e,t){return this.setLimit("min",e,!1,x.toString(t))}lte(e,t){return this.setLimit("max",e,!0,x.toString(t))}lt(e,t){return this.setLimit("max",e,!1,x.toString(t))}setLimit(e,t,n,r){return new ec({...this._def,checks:[...this._def.checks,{kind:e,value:t,inclusive:n,message:x.toString(r)}]})}_addCheck(e){return new ec({...this._def,checks:[...this._def.checks,e]})}int(e){return this._addCheck({kind:"int",message:x.toString(e)})}positive(e){return this._addCheck({kind:"min",value:0,inclusive:!1,message:x.toString(e)})}negative(e){return this._addCheck({kind:"max",value:0,inclusive:!1,message:x.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:0,inclusive:!0,message:x.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:0,inclusive:!0,message:x.toString(e)})}multipleOf(e,t){return this._addCheck({kind:"multipleOf",value:e,message:x.toString(t)})}finite(e){return this._addCheck({kind:"finite",message:x.toString(e)})}safe(e){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:x.toString(e)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:x.toString(e)})}get minValue(){let e=null;for(let t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return e}get maxValue(){let e=null;for(let t of this._def.checks)"max"===t.kind&&(null===e||t.value"int"===e.kind||"multipleOf"===e.kind&&p.isInteger(e.value))}get isFinite(){let e=null,t=null;for(let n of this._def.checks){if("finite"===n.kind||"int"===n.kind||"multipleOf"===n.kind)return!0;"min"===n.kind?(null===t||n.value>t)&&(t=n.value):"max"===n.kind&&(null===e||n.valuenew ec({checks:[],typeName:g.ZodNumber,coerce:(null==e?void 0:e.coerce)||!1,...Y(e)});class ed extends Q{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(e){let t;if(this._def.coerce&&(e.data=BigInt(e.data)),this._getType(e)!==C.bigint){let t=this._getOrReturnCtx(e);return F(t,{code:N.invalid_type,expected:C.bigint,received:t.parsedType}),$}let n=new z;for(let r of this._def.checks)"min"===r.kind?(r.inclusive?e.datar.value:e.data>=r.value)&&(F(t=this._getOrReturnCtx(e,t),{code:N.too_big,type:"bigint",maximum:r.value,inclusive:r.inclusive,message:r.message}),n.dirty()):"multipleOf"===r.kind?e.data%r.value!==BigInt(0)&&(F(t=this._getOrReturnCtx(e,t),{code:N.not_multiple_of,multipleOf:r.value,message:r.message}),n.dirty()):p.assertNever(r);return{status:n.value,value:e.data}}gte(e,t){return this.setLimit("min",e,!0,x.toString(t))}gt(e,t){return this.setLimit("min",e,!1,x.toString(t))}lte(e,t){return this.setLimit("max",e,!0,x.toString(t))}lt(e,t){return this.setLimit("max",e,!1,x.toString(t))}setLimit(e,t,n,r){return new ed({...this._def,checks:[...this._def.checks,{kind:e,value:t,inclusive:n,message:x.toString(r)}]})}_addCheck(e){return new ed({...this._def,checks:[...this._def.checks,e]})}positive(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:x.toString(e)})}negative(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:x.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:x.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:x.toString(e)})}multipleOf(e,t){return this._addCheck({kind:"multipleOf",value:e,message:x.toString(t)})}get minValue(){let e=null;for(let t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return e}get maxValue(){let e=null;for(let t of this._def.checks)"max"===t.kind&&(null===e||t.value{var t;return new ed({checks:[],typeName:g.ZodBigInt,coerce:null!==(t=null==e?void 0:e.coerce)&&void 0!==t&&t,...Y(e)})};class ef extends Q{_parse(e){if(this._def.coerce&&(e.data=!!e.data),this._getType(e)!==C.boolean){let t=this._getOrReturnCtx(e);return F(t,{code:N.invalid_type,expected:C.boolean,received:t.parsedType}),$}return W(e.data)}}ef.create=e=>new ef({typeName:g.ZodBoolean,coerce:(null==e?void 0:e.coerce)||!1,...Y(e)});class eh extends Q{_parse(e){let t;if(this._def.coerce&&(e.data=new Date(e.data)),this._getType(e)!==C.date){let t=this._getOrReturnCtx(e);return F(t,{code:N.invalid_type,expected:C.date,received:t.parsedType}),$}if(isNaN(e.data.getTime()))return F(this._getOrReturnCtx(e),{code:N.invalid_date}),$;let n=new z;for(let r of this._def.checks)"min"===r.kind?e.data.getTime()r.value&&(F(t=this._getOrReturnCtx(e,t),{code:N.too_big,message:r.message,inclusive:!0,exact:!1,maximum:r.value,type:"date"}),n.dirty()):p.assertNever(r);return{status:n.value,value:new Date(e.data.getTime())}}_addCheck(e){return new eh({...this._def,checks:[...this._def.checks,e]})}min(e,t){return this._addCheck({kind:"min",value:e.getTime(),message:x.toString(t)})}max(e,t){return this._addCheck({kind:"max",value:e.getTime(),message:x.toString(t)})}get minDate(){let e=null;for(let t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return null!=e?new Date(e):null}get maxDate(){let e=null;for(let t of this._def.checks)"max"===t.kind&&(null===e||t.valuenew eh({checks:[],coerce:(null==e?void 0:e.coerce)||!1,typeName:g.ZodDate,...Y(e)});class ep extends Q{_parse(e){if(this._getType(e)!==C.symbol){let t=this._getOrReturnCtx(e);return F(t,{code:N.invalid_type,expected:C.symbol,received:t.parsedType}),$}return W(e.data)}}ep.create=e=>new ep({typeName:g.ZodSymbol,...Y(e)});class em extends Q{_parse(e){if(this._getType(e)!==C.undefined){let t=this._getOrReturnCtx(e);return F(t,{code:N.invalid_type,expected:C.undefined,received:t.parsedType}),$}return W(e.data)}}em.create=e=>new em({typeName:g.ZodUndefined,...Y(e)});class ex extends Q{_parse(e){if(this._getType(e)!==C.null){let t=this._getOrReturnCtx(e);return F(t,{code:N.invalid_type,expected:C.null,received:t.parsedType}),$}return W(e.data)}}ex.create=e=>new ex({typeName:g.ZodNull,...Y(e)});class eg extends Q{constructor(){super(...arguments),this._any=!0}_parse(e){return W(e.data)}}eg.create=e=>new eg({typeName:g.ZodAny,...Y(e)});class ev extends Q{constructor(){super(...arguments),this._unknown=!0}_parse(e){return W(e.data)}}ev.create=e=>new ev({typeName:g.ZodUnknown,...Y(e)});class ey extends Q{_parse(e){let t=this._getOrReturnCtx(e);return F(t,{code:N.invalid_type,expected:C.never,received:t.parsedType}),$}}ey.create=e=>new ey({typeName:g.ZodNever,...Y(e)});class eb extends Q{_parse(e){if(this._getType(e)!==C.undefined){let t=this._getOrReturnCtx(e);return F(t,{code:N.invalid_type,expected:C.void,received:t.parsedType}),$}return W(e.data)}}eb.create=e=>new eb({typeName:g.ZodVoid,...Y(e)});class ew extends Q{_parse(e){let{ctx:t,status:n}=this._processInputParams(e),r=this._def;if(t.parsedType!==C.array)return F(t,{code:N.invalid_type,expected:C.array,received:t.parsedType}),$;if(null!==r.exactLength){let e=t.data.length>r.exactLength.value,i=t.data.lengthr.maxLength.value&&(F(t,{code:N.too_big,maximum:r.maxLength.value,type:"array",inclusive:!0,exact:!1,message:r.maxLength.message}),n.dirty()),t.common.async)return Promise.all([...t.data].map((e,n)=>r.type._parseAsync(new q(t,e,t.path,n)))).then(e=>z.mergeArray(n,e));let i=[...t.data].map((e,n)=>r.type._parseSync(new q(t,e,t.path,n)));return z.mergeArray(n,i)}get element(){return this._def.type}min(e,t){return new ew({...this._def,minLength:{value:e,message:x.toString(t)}})}max(e,t){return new ew({...this._def,maxLength:{value:e,message:x.toString(t)}})}length(e,t){return new ew({...this._def,exactLength:{value:e,message:x.toString(t)}})}nonempty(e){return this.min(1,e)}}function e_(e){if(e instanceof ek){let t={};for(let n in e.shape){let r=e.shape[n];t[n]=e$.create(e_(r))}return new ek({...e._def,shape:()=>t})}return e instanceof ew?new ew({...e._def,type:e_(e.element)}):e instanceof e$?e$.create(e_(e.unwrap())):e instanceof eU?eU.create(e_(e.unwrap())):e instanceof eS?eS.create(e.items.map(e=>e_(e))):e}ew.create=(e,t)=>new ew({type:e,minLength:null,maxLength:null,exactLength:null,typeName:g.ZodArray,...Y(t)});class ek extends Q{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(null!==this._cached)return this._cached;let e=this._def.shape(),t=p.objectKeys(e);return this._cached={shape:e,keys:t}}_parse(e){if(this._getType(e)!==C.object){let t=this._getOrReturnCtx(e);return F(t,{code:N.invalid_type,expected:C.object,received:t.parsedType}),$}let{status:t,ctx:n}=this._processInputParams(e),{shape:r,keys:i}=this._getCached(),a=[];if(!(this._def.catchall instanceof ey&&"strip"===this._def.unknownKeys))for(let e in n.data)i.includes(e)||a.push(e);let o=[];for(let e of i){let t=r[e],i=n.data[e];o.push({key:{status:"valid",value:e},value:t._parse(new q(n,i,n.path,e)),alwaysSet:e in n.data})}if(this._def.catchall instanceof ey){let e=this._def.unknownKeys;if("passthrough"===e)for(let e of a)o.push({key:{status:"valid",value:e},value:{status:"valid",value:n.data[e]}});else if("strict"===e)a.length>0&&(F(n,{code:N.unrecognized_keys,keys:a}),t.dirty());else if("strip"===e);else throw Error("Internal ZodObject error: invalid unknownKeys value.")}else{let e=this._def.catchall;for(let t of a){let r=n.data[t];o.push({key:{status:"valid",value:t},value:e._parse(new q(n,r,n.path,t)),alwaysSet:t in n.data})}}return n.common.async?Promise.resolve().then(async()=>{let e=[];for(let t of o){let n=await t.key;e.push({key:n,value:await t.value,alwaysSet:t.alwaysSet})}return e}).then(e=>z.mergeObjectSync(t,e)):z.mergeObjectSync(t,o)}get shape(){return this._def.shape()}strict(e){return x.errToObj,new ek({...this._def,unknownKeys:"strict",...void 0!==e?{errorMap:(t,n)=>{var r,i,a,o;let s=null!==(a=null===(i=(r=this._def).errorMap)||void 0===i?void 0:i.call(r,t,n).message)&&void 0!==a?a:n.defaultError;return"unrecognized_keys"===t.code?{message:null!==(o=x.errToObj(e).message)&&void 0!==o?o:s}:{message:s}}}:{}})}strip(){return new ek({...this._def,unknownKeys:"strip"})}passthrough(){return new ek({...this._def,unknownKeys:"passthrough"})}extend(e){return new ek({...this._def,shape:()=>({...this._def.shape(),...e})})}merge(e){return new ek({unknownKeys:e._def.unknownKeys,catchall:e._def.catchall,shape:()=>({...this._def.shape(),...e._def.shape()}),typeName:g.ZodObject})}setKey(e,t){return this.augment({[e]:t})}catchall(e){return new ek({...this._def,catchall:e})}pick(e){let t={};return p.objectKeys(e).forEach(n=>{e[n]&&this.shape[n]&&(t[n]=this.shape[n])}),new ek({...this._def,shape:()=>t})}omit(e){let t={};return p.objectKeys(this.shape).forEach(n=>{e[n]||(t[n]=this.shape[n])}),new ek({...this._def,shape:()=>t})}deepPartial(){return e_(this)}partial(e){let t={};return p.objectKeys(this.shape).forEach(n=>{let r=this.shape[n];e&&!e[n]?t[n]=r:t[n]=r.optional()}),new ek({...this._def,shape:()=>t})}required(e){let t={};return p.objectKeys(this.shape).forEach(n=>{if(e&&!e[n])t[n]=this.shape[n];else{let e=this.shape[n];for(;e instanceof e$;)e=e._def.innerType;t[n]=e}}),new ek({...this._def,shape:()=>t})}keyof(){return eM(p.objectKeys(this.shape))}}ek.create=(e,t)=>new ek({shape:()=>e,unknownKeys:"strip",catchall:ey.create(),typeName:g.ZodObject,...Y(t)}),ek.strictCreate=(e,t)=>new ek({shape:()=>e,unknownKeys:"strict",catchall:ey.create(),typeName:g.ZodObject,...Y(t)}),ek.lazycreate=(e,t)=>new ek({shape:e,unknownKeys:"strip",catchall:ey.create(),typeName:g.ZodObject,...Y(t)});class ej extends Q{_parse(e){let{ctx:t}=this._processInputParams(e),n=this._def.options;function r(e){for(let t of e)if("valid"===t.result.status)return t.result;for(let n of e)if("dirty"===n.result.status)return t.common.issues.push(...n.ctx.common.issues),n.result;let n=e.map(e=>new I(e.ctx.common.issues));return F(t,{code:N.invalid_union,unionErrors:n}),$}if(t.common.async)return Promise.all(n.map(async e=>{let n={...t,common:{...t.common,issues:[]},parent:null};return{result:await e._parseAsync({data:t.data,path:t.path,parent:n}),ctx:n}})).then(r);{let e;let r=[];for(let i of n){let n={...t,common:{...t.common,issues:[]},parent:null},a=i._parseSync({data:t.data,path:t.path,parent:n});if("valid"===a.status)return a;"dirty"!==a.status||e||(e={result:a,ctx:n}),n.common.issues.length&&r.push(n.common.issues)}if(e)return t.common.issues.push(...e.ctx.common.issues),e.result;let i=r.map(e=>new I(e));return F(t,{code:N.invalid_union,unionErrors:i}),$}}get options(){return this._def.options}}ej.create=(e,t)=>new ej({options:e,typeName:g.ZodUnion,...Y(t)});let eE=e=>{if(e instanceof eL)return eE(e.schema);if(e instanceof ez)return eE(e.innerType());if(e instanceof eP)return[e.value];if(e instanceof eZ)return e.options;if(e instanceof eD)return Object.keys(e.enum);if(e instanceof eW)return eE(e._def.innerType);if(e instanceof em)return[void 0];else if(e instanceof ex)return[null];else return null};class eO extends Q{_parse(e){let{ctx:t}=this._processInputParams(e);if(t.parsedType!==C.object)return F(t,{code:N.invalid_type,expected:C.object,received:t.parsedType}),$;let n=this.discriminator,r=t.data[n],i=this.optionsMap.get(r);return i?t.common.async?i._parseAsync({data:t.data,path:t.path,parent:t}):i._parseSync({data:t.data,path:t.path,parent:t}):(F(t,{code:N.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[n]}),$)}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(e,t,n){let r=new Map;for(let n of t){let t=eE(n.shape[e]);if(!t)throw Error(`A discriminator value for key \`${e}\` could not be extracted from all schema options`);for(let i of t){if(r.has(i))throw Error(`Discriminator property ${String(e)} has duplicate value ${String(i)}`);r.set(i,n)}}return new eO({typeName:g.ZodDiscriminatedUnion,discriminator:e,options:t,optionsMap:r,...Y(n)})}}function eT(e,t){let n=S(e),r=S(t);if(e===t)return{valid:!0,data:e};if(n===C.object&&r===C.object){let n=p.objectKeys(t),r=p.objectKeys(e).filter(e=>-1!==n.indexOf(e)),i={...e,...t};for(let n of r){let r=eT(e[n],t[n]);if(!r.valid)return{valid:!1};i[n]=r.data}return{valid:!0,data:i}}if(n===C.array&&r===C.array){if(e.length!==t.length)return{valid:!1};let n=[];for(let r=0;r{if(H(e)||H(r))return $;let i=eT(e.value,r.value);return i.valid?((G(e)||G(r))&&t.dirty(),{status:t.value,value:i.data}):(F(n,{code:N.invalid_intersection_types}),$)};return n.common.async?Promise.all([this._def.left._parseAsync({data:n.data,path:n.path,parent:n}),this._def.right._parseAsync({data:n.data,path:n.path,parent:n})]).then(([e,t])=>r(e,t)):r(this._def.left._parseSync({data:n.data,path:n.path,parent:n}),this._def.right._parseSync({data:n.data,path:n.path,parent:n}))}}eC.create=(e,t,n)=>new eC({left:e,right:t,typeName:g.ZodIntersection,...Y(n)});class eS extends Q{_parse(e){let{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==C.array)return F(n,{code:N.invalid_type,expected:C.array,received:n.parsedType}),$;if(n.data.lengththis._def.items.length&&(F(n,{code:N.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),t.dirty());let r=[...n.data].map((e,t)=>{let r=this._def.items[t]||this._def.rest;return r?r._parse(new q(n,e,n.path,t)):null}).filter(e=>!!e);return n.common.async?Promise.all(r).then(e=>z.mergeArray(t,e)):z.mergeArray(t,r)}get items(){return this._def.items}rest(e){return new eS({...this._def,rest:e})}}eS.create=(e,t)=>{if(!Array.isArray(e))throw Error("You must pass an array of schemas to z.tuple([ ... ])");return new eS({items:e,typeName:g.ZodTuple,rest:null,...Y(t)})};class eN extends Q{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){let{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==C.object)return F(n,{code:N.invalid_type,expected:C.object,received:n.parsedType}),$;let r=[],i=this._def.keyType,a=this._def.valueType;for(let e in n.data)r.push({key:i._parse(new q(n,e,n.path,e)),value:a._parse(new q(n,n.data[e],n.path,e))});return n.common.async?z.mergeObjectAsync(t,r):z.mergeObjectSync(t,r)}get element(){return this._def.valueType}static create(e,t,n){return new eN(t instanceof Q?{keyType:e,valueType:t,typeName:g.ZodRecord,...Y(n)}:{keyType:el.create(),valueType:e,typeName:g.ZodRecord,...Y(t)})}}class eR extends Q{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){let{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==C.map)return F(n,{code:N.invalid_type,expected:C.map,received:n.parsedType}),$;let r=this._def.keyType,i=this._def.valueType,a=[...n.data.entries()].map(([e,t],a)=>({key:r._parse(new q(n,e,n.path,[a,"key"])),value:i._parse(new q(n,t,n.path,[a,"value"]))}));if(n.common.async){let e=new Map;return Promise.resolve().then(async()=>{for(let n of a){let r=await n.key,i=await n.value;if("aborted"===r.status||"aborted"===i.status)return $;("dirty"===r.status||"dirty"===i.status)&&t.dirty(),e.set(r.value,i.value)}return{status:t.value,value:e}})}{let e=new Map;for(let n of a){let r=n.key,i=n.value;if("aborted"===r.status||"aborted"===i.status)return $;("dirty"===r.status||"dirty"===i.status)&&t.dirty(),e.set(r.value,i.value)}return{status:t.value,value:e}}}}eR.create=(e,t,n)=>new eR({valueType:t,keyType:e,typeName:g.ZodMap,...Y(n)});class eI extends Q{_parse(e){let{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==C.set)return F(n,{code:N.invalid_type,expected:C.set,received:n.parsedType}),$;let r=this._def;null!==r.minSize&&n.data.sizer.maxSize.value&&(F(n,{code:N.too_big,maximum:r.maxSize.value,type:"set",inclusive:!0,exact:!1,message:r.maxSize.message}),t.dirty());let i=this._def.valueType;function a(e){let n=new Set;for(let r of e){if("aborted"===r.status)return $;"dirty"===r.status&&t.dirty(),n.add(r.value)}return{status:t.value,value:n}}let o=[...n.data.values()].map((e,t)=>i._parse(new q(n,e,n.path,t)));return n.common.async?Promise.all(o).then(e=>a(e)):a(o)}min(e,t){return new eI({...this._def,minSize:{value:e,message:x.toString(t)}})}max(e,t){return new eI({...this._def,maxSize:{value:e,message:x.toString(t)}})}size(e,t){return this.min(e,t).max(e,t)}nonempty(e){return this.min(1,e)}}eI.create=(e,t)=>new eI({valueType:e,minSize:null,maxSize:null,typeName:g.ZodSet,...Y(t)});class eA extends Q{constructor(){super(...arguments),this.validate=this.implement}_parse(e){let{ctx:t}=this._processInputParams(e);if(t.parsedType!==C.function)return F(t,{code:N.invalid_type,expected:C.function,received:t.parsedType}),$;function n(e,n){return Z({data:e,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,M(),A].filter(e=>!!e),issueData:{code:N.invalid_arguments,argumentsError:n}})}function r(e,n){return Z({data:e,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,M(),A].filter(e=>!!e),issueData:{code:N.invalid_return_type,returnTypeError:n}})}let i={errorMap:t.common.contextualErrorMap},a=t.data;if(this._def.returns instanceof eF){let e=this;return W(async function(...t){let o=new I([]),s=await e._def.args.parseAsync(t,i).catch(e=>{throw o.addIssue(n(t,e)),o}),l=await Reflect.apply(a,this,s);return await e._def.returns._def.type.parseAsync(l,i).catch(e=>{throw o.addIssue(r(l,e)),o})})}{let e=this;return W(function(...t){let o=e._def.args.safeParse(t,i);if(!o.success)throw new I([n(t,o.error)]);let s=Reflect.apply(a,this,o.data),l=e._def.returns.safeParse(s,i);if(!l.success)throw new I([r(s,l.error)]);return l.data})}}parameters(){return this._def.args}returnType(){return this._def.returns}args(...e){return new eA({...this._def,args:eS.create(e).rest(ev.create())})}returns(e){return new eA({...this._def,returns:e})}implement(e){return this.parse(e)}strictImplement(e){return this.parse(e)}static create(e,t,n){return new eA({args:e||eS.create([]).rest(ev.create()),returns:t||ev.create(),typeName:g.ZodFunction,...Y(n)})}}class eL extends Q{get schema(){return this._def.getter()}_parse(e){let{ctx:t}=this._processInputParams(e);return this._def.getter()._parse({data:t.data,path:t.path,parent:t})}}eL.create=(e,t)=>new eL({getter:e,typeName:g.ZodLazy,...Y(t)});class eP extends Q{_parse(e){if(e.data!==this._def.value){let t=this._getOrReturnCtx(e);return F(t,{received:t.data,code:N.invalid_literal,expected:this._def.value}),$}return{status:"valid",value:e.data}}get value(){return this._def.value}}function eM(e,t){return new eZ({values:e,typeName:g.ZodEnum,...Y(t)})}eP.create=(e,t)=>new eP({value:e,typeName:g.ZodLiteral,...Y(t)});class eZ extends Q{_parse(e){if("string"!=typeof e.data){let t=this._getOrReturnCtx(e),n=this._def.values;return F(t,{expected:p.joinValues(n),received:t.parsedType,code:N.invalid_type}),$}if(-1===this._def.values.indexOf(e.data)){let t=this._getOrReturnCtx(e),n=this._def.values;return F(t,{received:t.data,code:N.invalid_enum_value,options:n}),$}return W(e.data)}get options(){return this._def.values}get enum(){let e={};for(let t of this._def.values)e[t]=t;return e}get Values(){let e={};for(let t of this._def.values)e[t]=t;return e}get Enum(){let e={};for(let t of this._def.values)e[t]=t;return e}extract(e){return eZ.create(e)}exclude(e){return eZ.create(this.options.filter(t=>!e.includes(t)))}}eZ.create=eM;class eD extends Q{_parse(e){let t=p.getValidEnumValues(this._def.values),n=this._getOrReturnCtx(e);if(n.parsedType!==C.string&&n.parsedType!==C.number){let e=p.objectValues(t);return F(n,{expected:p.joinValues(e),received:n.parsedType,code:N.invalid_type}),$}if(-1===t.indexOf(e.data)){let e=p.objectValues(t);return F(n,{received:n.data,code:N.invalid_enum_value,options:e}),$}return W(e.data)}get enum(){return this._def.values}}eD.create=(e,t)=>new eD({values:e,typeName:g.ZodNativeEnum,...Y(t)});class eF extends Q{unwrap(){return this._def.type}_parse(e){let{ctx:t}=this._processInputParams(e);return t.parsedType!==C.promise&&!1===t.common.async?(F(t,{code:N.invalid_type,expected:C.promise,received:t.parsedType}),$):W((t.parsedType===C.promise?t.data:Promise.resolve(t.data)).then(e=>this._def.type.parseAsync(e,{path:t.path,errorMap:t.common.contextualErrorMap})))}}eF.create=(e,t)=>new eF({type:e,typeName:g.ZodPromise,...Y(t)});class ez extends Q{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===g.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(e){let{status:t,ctx:n}=this._processInputParams(e),r=this._def.effect||null,i={addIssue:e=>{F(n,e),e.fatal?t.abort():t.dirty()},get path(){return n.path}};if(i.addIssue=i.addIssue.bind(i),"preprocess"===r.type){let e=r.transform(n.data,i);return n.common.issues.length?{status:"dirty",value:n.data}:n.common.async?Promise.resolve(e).then(e=>this._def.schema._parseAsync({data:e,path:n.path,parent:n})):this._def.schema._parseSync({data:e,path:n.path,parent:n})}if("refinement"===r.type){let e=e=>{let t=r.refinement(e,i);if(n.common.async)return Promise.resolve(t);if(t instanceof Promise)throw Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return e};if(!1!==n.common.async)return this._def.schema._parseAsync({data:n.data,path:n.path,parent:n}).then(n=>"aborted"===n.status?$:("dirty"===n.status&&t.dirty(),e(n.value).then(()=>({status:t.value,value:n.value}))));{let r=this._def.schema._parseSync({data:n.data,path:n.path,parent:n});return"aborted"===r.status?$:("dirty"===r.status&&t.dirty(),e(r.value),{status:t.value,value:r.value})}}if("transform"===r.type){if(!1!==n.common.async)return this._def.schema._parseAsync({data:n.data,path:n.path,parent:n}).then(e=>V(e)?Promise.resolve(r.transform(e.value,i)).then(e=>({status:t.value,value:e})):e);{let e=this._def.schema._parseSync({data:n.data,path:n.path,parent:n});if(!V(e))return e;let a=r.transform(e.value,i);if(a instanceof Promise)throw Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:t.value,value:a}}}p.assertNever(r)}}ez.create=(e,t,n)=>new ez({schema:e,typeName:g.ZodEffects,effect:t,...Y(n)}),ez.createWithPreprocess=(e,t,n)=>new ez({schema:t,effect:{type:"preprocess",transform:e},typeName:g.ZodEffects,...Y(n)});class e$ extends Q{_parse(e){return this._getType(e)===C.undefined?W(void 0):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}e$.create=(e,t)=>new e$({innerType:e,typeName:g.ZodOptional,...Y(t)});class eU extends Q{_parse(e){return this._getType(e)===C.null?W(null):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}eU.create=(e,t)=>new eU({innerType:e,typeName:g.ZodNullable,...Y(t)});class eW extends Q{_parse(e){let{ctx:t}=this._processInputParams(e),n=t.data;return t.parsedType===C.undefined&&(n=this._def.defaultValue()),this._def.innerType._parse({data:n,path:t.path,parent:t})}removeDefault(){return this._def.innerType}}eW.create=(e,t)=>new eW({innerType:e,typeName:g.ZodDefault,defaultValue:"function"==typeof t.default?t.default:()=>t.default,...Y(t)});class eH extends Q{_parse(e){let{ctx:t}=this._processInputParams(e),n={...t,common:{...t.common,issues:[]}},r=this._def.innerType._parse({data:n.data,path:n.path,parent:{...n}});return B(r)?r.then(e=>({status:"valid",value:"valid"===e.status?e.value:this._def.catchValue({get error(){return new I(n.common.issues)},input:n.data})})):{status:"valid",value:"valid"===r.status?r.value:this._def.catchValue({get error(){return new I(n.common.issues)},input:n.data})}}removeCatch(){return this._def.innerType}}eH.create=(e,t)=>new eH({innerType:e,typeName:g.ZodCatch,catchValue:"function"==typeof t.catch?t.catch:()=>t.catch,...Y(t)});class eG extends Q{_parse(e){if(this._getType(e)!==C.nan){let t=this._getOrReturnCtx(e);return F(t,{code:N.invalid_type,expected:C.nan,received:t.parsedType}),$}return{status:"valid",value:e.data}}}eG.create=e=>new eG({typeName:g.ZodNaN,...Y(e)});let eV=Symbol("zod_brand");class eB extends Q{_parse(e){let{ctx:t}=this._processInputParams(e),n=t.data;return this._def.type._parse({data:n,path:t.path,parent:t})}unwrap(){return this._def.type}}class eq extends Q{_parse(e){let{status:t,ctx:n}=this._processInputParams(e);if(n.common.async)return(async()=>{let e=await this._def.in._parseAsync({data:n.data,path:n.path,parent:n});return"aborted"===e.status?$:"dirty"===e.status?(t.dirty(),U(e.value)):this._def.out._parseAsync({data:e.value,path:n.path,parent:n})})();{let e=this._def.in._parseSync({data:n.data,path:n.path,parent:n});return"aborted"===e.status?$:"dirty"===e.status?(t.dirty(),{status:"dirty",value:e.value}):this._def.out._parseSync({data:e.value,path:n.path,parent:n})}}static create(e,t){return new eq({in:e,out:t,typeName:g.ZodPipeline})}}class eK extends Q{_parse(e){let t=this._def.innerType._parse(e);return V(t)&&(t.value=Object.freeze(t.value)),t}}eK.create=(e,t)=>new eK({innerType:e,typeName:g.ZodReadonly,...Y(t)});let eY=(e,t={},n)=>e?eg.create().superRefine((r,i)=>{var a,o;if(!e(r)){let e="function"==typeof t?t(r):"string"==typeof t?{message:t}:t,s=null===(o=null!==(a=e.fatal)&&void 0!==a?a:n)||void 0===o||o,l="string"==typeof e?{message:e}:e;i.addIssue({code:"custom",...l,fatal:s})}}):eg.create(),eQ={object:ek.lazycreate};!function(e){e.ZodString="ZodString",e.ZodNumber="ZodNumber",e.ZodNaN="ZodNaN",e.ZodBigInt="ZodBigInt",e.ZodBoolean="ZodBoolean",e.ZodDate="ZodDate",e.ZodSymbol="ZodSymbol",e.ZodUndefined="ZodUndefined",e.ZodNull="ZodNull",e.ZodAny="ZodAny",e.ZodUnknown="ZodUnknown",e.ZodNever="ZodNever",e.ZodVoid="ZodVoid",e.ZodArray="ZodArray",e.ZodObject="ZodObject",e.ZodUnion="ZodUnion",e.ZodDiscriminatedUnion="ZodDiscriminatedUnion",e.ZodIntersection="ZodIntersection",e.ZodTuple="ZodTuple",e.ZodRecord="ZodRecord",e.ZodMap="ZodMap",e.ZodSet="ZodSet",e.ZodFunction="ZodFunction",e.ZodLazy="ZodLazy",e.ZodLiteral="ZodLiteral",e.ZodEnum="ZodEnum",e.ZodEffects="ZodEffects",e.ZodNativeEnum="ZodNativeEnum",e.ZodOptional="ZodOptional",e.ZodNullable="ZodNullable",e.ZodDefault="ZodDefault",e.ZodCatch="ZodCatch",e.ZodPromise="ZodPromise",e.ZodBranded="ZodBranded",e.ZodPipeline="ZodPipeline",e.ZodReadonly="ZodReadonly"}(g||(g={}));let eJ=(e,t={message:`Input not instance of ${e.name}`})=>eY(t=>t instanceof e,t),eX=el.create,e0=ec.create,e1=eG.create,e2=ed.create,e4=ef.create,e5=eh.create,e3=ep.create,e7=em.create,e6=ex.create,e9=eg.create,e8=ev.create,te=ey.create,tt=eb.create,tn=ew.create,tr=ek.create,ti=ek.strictCreate,ta=ej.create,to=eO.create,ts=eC.create,tl=eS.create,tu=eN.create,tc=eR.create,td=eI.create,tf=eA.create,th=eL.create,tp=eP.create,tm=eZ.create,tx=eD.create,tg=eF.create,tv=ez.create,ty=e$.create,tb=eU.create,tw=ez.createWithPreprocess,t_=eq.create,tk=()=>e0().optional(),tj=()=>e4().optional(),tE={string:e=>el.create({...e,coerce:!0}),number:e=>ec.create({...e,coerce:!0}),boolean:e=>ef.create({...e,coerce:!0}),bigint:e=>ed.create({...e,coerce:!0}),date:e=>eh.create({...e,coerce:!0})},tO=$;var tT=Object.freeze({__proto__:null,defaultErrorMap:A,setErrorMap:P,getErrorMap:M,makeIssue:Z,EMPTY_PATH:D,addIssueToContext:F,ParseStatus:z,INVALID:$,DIRTY:U,OK:W,isAborted:H,isDirty:G,isValid:V,isAsync:B,get util(){return p},get objectUtil(){return m},ZodParsedType:C,getParsedType:S,ZodType:Q,ZodString:el,ZodNumber:ec,ZodBigInt:ed,ZodBoolean:ef,ZodDate:eh,ZodSymbol:ep,ZodUndefined:em,ZodNull:ex,ZodAny:eg,ZodUnknown:ev,ZodNever:ey,ZodVoid:eb,ZodArray:ew,ZodObject:ek,ZodUnion:ej,ZodDiscriminatedUnion:eO,ZodIntersection:eC,ZodTuple:eS,ZodRecord:eN,ZodMap:eR,ZodSet:eI,ZodFunction:eA,ZodLazy:eL,ZodLiteral:eP,ZodEnum:eZ,ZodNativeEnum:eD,ZodPromise:eF,ZodEffects:ez,ZodTransformer:ez,ZodOptional:e$,ZodNullable:eU,ZodDefault:eW,ZodCatch:eH,ZodNaN:eG,BRAND:eV,ZodBranded:eB,ZodPipeline:eq,ZodReadonly:eK,custom:eY,Schema:Q,ZodSchema:Q,late:eQ,get ZodFirstPartyTypeKind(){return g},coerce:tE,any:e9,array:tn,bigint:e2,boolean:e4,date:e5,discriminatedUnion:to,effect:tv,enum:tm,function:tf,instanceof:eJ,intersection:ts,lazy:th,literal:tp,map:tc,nan:e1,nativeEnum:tx,never:te,null:e6,nullable:tb,number:e0,object:tr,oboolean:tj,onumber:tk,optional:ty,ostring:()=>eX().optional(),pipeline:t_,preprocess:tw,promise:tg,record:tu,set:td,strictObject:ti,string:eX,symbol:e3,transformer:tv,tuple:tl,undefined:e7,union:ta,unknown:e8,void:tt,NEVER:tO,ZodIssueCode:N,quotelessJson:R,ZodError:I}),tC=n(1664),tS=n.n(tC),tN={i8:"14.1.1"};n(6337);var tR=n(5893);let tI=["light","dark"],tA="(prefers-color-scheme: dark)",tL="undefined"==typeof window,tP=(0,b.createContext)(void 0),tM={setTheme:e=>{},themes:[]},tZ=()=>{var e;return null!==(e=(0,b.useContext)(tP))&&void 0!==e?e:tM},tD=e=>(0,b.useContext)(tP)?b.createElement(b.Fragment,null,e.children):b.createElement(tz,e),tF=["light","dark"],tz=({forcedTheme:e,disableTransitionOnChange:t=!1,enableSystem:n=!0,enableColorScheme:r=!0,storageKey:i="theme",themes:a=tF,defaultTheme:o=n?"system":"light",attribute:s="data-theme",value:l,children:u,nonce:c})=>{let[d,f]=(0,b.useState)(()=>tU(i,o)),[h,p]=(0,b.useState)(()=>tU(i)),m=l?Object.values(l):a,x=(0,b.useCallback)(e=>{let i=e;if(!i)return;"system"===e&&n&&(i=tH());let a=l?l[i]:i,u=t?tW():null,c=document.documentElement;if("class"===s?(c.classList.remove(...m),a&&c.classList.add(a)):a?c.setAttribute(s,a):c.removeAttribute(s),r){let e=tI.includes(o)?o:null,t=tI.includes(i)?i:e;c.style.colorScheme=t}null==u||u()},[]),g=(0,b.useCallback)(e=>{f(e);try{localStorage.setItem(i,e)}catch(e){}},[e]),v=(0,b.useCallback)(t=>{p(tH(t)),"system"===d&&n&&!e&&x("system")},[d,e]);(0,b.useEffect)(()=>{let e=window.matchMedia(tA);return e.addListener(v),v(e),()=>e.removeListener(v)},[v]),(0,b.useEffect)(()=>{let e=e=>{e.key===i&&g(e.newValue||o)};return window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)},[g]),(0,b.useEffect)(()=>{x(null!=e?e:d)},[e,d]);let y=(0,b.useMemo)(()=>({theme:d,setTheme:g,forcedTheme:e,resolvedTheme:"system"===d?h:d,themes:n?[...a,"system"]:a,systemTheme:n?h:void 0}),[d,g,e,h,n,a]);return b.createElement(tP.Provider,{value:y},b.createElement(t$,{forcedTheme:e,disableTransitionOnChange:t,enableSystem:n,enableColorScheme:r,storageKey:i,themes:a,defaultTheme:o,attribute:s,value:l,children:u,attrs:m,nonce:c}),u)},t$=(0,b.memo)(({forcedTheme:e,storageKey:t,attribute:n,enableSystem:r,enableColorScheme:i,defaultTheme:a,value:o,attrs:s,nonce:l})=>{let u="system"===a,c="class"===n?`var d=document.documentElement,c=d.classList;c.remove(${s.map(e=>`'${e}'`).join(",")});`:`var d=document.documentElement,n='${n}',s='setAttribute';`,d=i?tI.includes(a)&&a?`if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'${a}'`:"if(e==='light'||e==='dark')d.style.colorScheme=e":"",f=(e,t=!1,r=!0)=>{let a=o?o[e]:e,s=t?e+"|| ''":`'${a}'`,l="";return i&&r&&!t&&tI.includes(e)&&(l+=`d.style.colorScheme = '${e}';`),"class"===n?l+=t||a?`c.add(${s})`:"null":a&&(l+=`d[s](n,${s})`),l},h=e?`!function(){${c}${f(e)}}()`:r?`!function(){try{${c}var e=localStorage.getItem('${t}');if('system'===e||(!e&&${u})){var t='${tA}',m=window.matchMedia(t);if(m.media!==t||m.matches){${f("dark")}}else{${f("light")}}}else if(e){${o?`var x=${JSON.stringify(o)};`:""}${f(o?"x[e]":"e",!0)}}${u?"":"else{"+f(a,!1,!1)+"}"}${d}}catch(e){}}()`:`!function(){try{${c}var e=localStorage.getItem('${t}');if(e){${o?`var x=${JSON.stringify(o)};`:""}${f(o?"x[e]":"e",!0)}}else{${f(a,!1,!1)};}${d}}catch(t){}}();`;return b.createElement("script",{nonce:l,dangerouslySetInnerHTML:{__html:h}})},()=>!0),tU=(e,t)=>{let n;if(!tL){try{n=localStorage.getItem(e)||void 0}catch(e){}return n||t}},tW=()=>{let e=document.createElement("style");return e.appendChild(document.createTextNode("*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),document.head.appendChild(e),()=>{window.getComputedStyle(document.body),setTimeout(()=>{document.head.removeChild(e)},1)}},tH=e=>(e||(e=window.matchMedia(tA)),e.matches?"dark":"light");var tG={breadcrumb:!0,collapsed:!1,footer:!0,layout:"default",navbar:!0,pagination:!0,sidebar:!0,timestamp:!0,toc:!0,typesetting:"default"},tV=tT.strictObject({breadcrumb:tT.boolean(),collapsed:tT.boolean(),footer:tT.boolean(),layout:tT.enum(["default","full","raw"]),navbar:tT.boolean(),pagination:tT.boolean(),sidebar:tT.boolean(),timestamp:tT.boolean(),toc:tT.boolean(),typesetting:tT.enum(["default","article"])}),tB=tT.enum(["normal","hidden","children"]),tq=tT.string(),tK=tT.strictObject({href:tT.string(),newWindow:tT.boolean(),title:tq}),tY=tT.strictObject({display:tB.optional(),items:tT.record(tK.partial({href:!0,newWindow:!0})),title:tq,type:tT.literal("menu")}),tQ=tT.strictObject({title:tq,type:tT.literal("separator")}),tJ=tK.extend({display:tB,theme:tV,title:tq,type:tT.enum(["page","doc"])}).deepPartial();function tX(e={},t){"string"==typeof e&&(e={title:e});let n=Object.assign({},t.theme,e.theme);return Object.assign({},t,e,{theme:n})}function t0(e){for(let t of e){if(t.route)return t.route;if(t.children){let e=t0(t.children);if(e)return e}}}function t1({list:e,locale:t,defaultLocale:n,route:r,docsRoot:i="",underCurrentDocsRoot:a=!1,pageThemeContext:o=tG}){let s,l;for(let n of e)if("Meta"===n.kind){if(n.locale===t){s=n.data;break}s||(s=n.data)}let u=s||{},c=Object.keys(u);for(let e of c)"string"==typeof u[e]&&(u[e]={title:u[e]});let d=[],f=[],h=[],p=[],m=[],x=0,g=o,v=[],y=-1,b=u["*"]||{};delete b.title,delete b.href;let w=e.filter(e=>"Meta"!==e.kind&&!e.name.startsWith("_")&&(!("locale"in e)||!e.locale||[t,n].includes(e.locale))).sort((e,t)=>{let n=c.indexOf(e.name),r=c.indexOf(t.name);return -1===n&&-1===r?e.name{let t;let n=[],r=c.indexOf(e.name);if(-1!==r){for(let e=y+1;e({...s,type:_,...T&&{title:T},...y&&{display:y},...O&&{children:[]}}),S=C(),N=C(),R=C();if(N.isUnderCurrentDocsTree=E,"separator"===_&&(S.isUnderCurrentDocsTree=E),s.route===r)switch(v=[S],l=_,g={...g,...j},_){case"page":case"menu":x=m.length;break;case"doc":x=p.length}if(!("hidden"===y&&"Folder"!==S.kind||k.hV.has(s.route))){if(O){if(void 0!==O.activeIndex&&void 0!==O.activeType){switch(g=O.activeThemeContext,l=O.activeType,v=[S,...O.activePath],l){case"page":case"menu":x=m.length+O.activeIndex;break;case"doc":x=p.length+O.activeIndex}s.withIndexPage&&"doc"===_&&x++}switch(_){case"page":case"menu":R.children.push(...O.directories),h.push(...O.docsDirectories),O.flatDirectories.length?(R.firstChildRoute=t0(O.flatDirectories),m.push(R)):R.withIndexPage&&m.push(R);break;case"doc":Array.isArray(N.children)&&N.children.push(...O.docsDirectories),S.withIndexPage&&"children"!==y&&p.push(N)}f.push(...O.flatDirectories),p.push(...O.flatDocsDirectories),Array.isArray(S.children)&&S.children.push(...O.directories)}else switch(f.push(S),_){case"page":case"menu":m.push(R);break;case"doc":p.push(N)}switch("doc"===_&&"children"===y?N.children&&(d.push(...N.children),h.push(...N.children)):d.push(S),_){case"page":case"menu":h.push(R);break;case"doc":"children"!==y&&h.push(N);break;case"separator":h.push(S)}}}return{activeType:l,activeIndex:x,activeThemeContext:g,activePath:v,directories:d,flatDirectories:f,docsDirectories:h,flatDocsDirectories:p,topLevelNavbarItems:m}}tT.string().or(tY).or(tQ).or(tJ);var t2=n(3458),t4=n.n(t2);function t5(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function t3(e){var t=t5(e).Element;return e instanceof t||e instanceof Element}function t7(e){var t=t5(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function t6(e){if("undefined"==typeof ShadowRoot)return!1;var t=t5(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}var t9=Math.max,t8=Math.min,ne=Math.round;function nt(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function nn(){return!/^((?!chrome|android).)*safari/i.test(nt())}function nr(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),i=1,a=1;t&&t7(e)&&(i=e.offsetWidth>0&&ne(r.width)/e.offsetWidth||1,a=e.offsetHeight>0&&ne(r.height)/e.offsetHeight||1);var o=(t3(e)?t5(e):window).visualViewport,s=!nn()&&n,l=(r.left+(s&&o?o.offsetLeft:0))/i,u=(r.top+(s&&o?o.offsetTop:0))/a,c=r.width/i,d=r.height/a;return{width:c,height:d,top:u,right:l+c,bottom:u+d,left:l,x:l,y:u}}function ni(e){var t=t5(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function na(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function no(e){return e!==t5(e)&&t7(e)?na(e):ni(e)}function ns(e){return e?(e.nodeName||"").toLowerCase():null}function nl(e){return((t3(e)?e.ownerDocument:e.document)||window.document).documentElement}function nu(e){return nr(nl(e)).left+ni(e).scrollLeft}function nc(e){return t5(e).getComputedStyle(e)}function nd(e){var t=nc(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function nf(e){var t=e.getBoundingClientRect(),n=ne(t.width)/e.offsetWidth||1,r=ne(t.height)/e.offsetHeight||1;return 1!==n||1!==r}function nh(e,t,n){void 0===n&&(n=!1);var r=t7(t),i=t7(t)&&nf(t),a=nl(t),o=nr(e,i,n),s={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(r||!r&&!n)&&(("body"!==ns(t)||nd(a))&&(s=no(t)),t7(t)?(l=nr(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):a&&(l.x=nu(a))),{x:o.left+s.scrollLeft-l.x,y:o.top+s.scrollTop-l.y,width:o.width,height:o.height}}function np(e){var t=nr(e),n=e.offsetWidth,r=e.offsetHeight;return 1>=Math.abs(t.width-n)&&(n=t.width),1>=Math.abs(t.height-r)&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function nm(e){return"html"===ns(e)?e:e.assignedSlot||e.parentNode||(t6(e)?e.host:null)||nl(e)}function nx(e){return["html","body","#document"].indexOf(ns(e))>=0?e.ownerDocument.body:t7(e)&&nd(e)?e:nx(nm(e))}function ng(e,t){void 0===t&&(t=[]);var n,r=nx(e),i=r===(null==(n=e.ownerDocument)?void 0:n.body),a=t5(r),o=i?[a].concat(a.visualViewport||[],nd(r)?r:[]):r,s=t.concat(o);return i?s:s.concat(ng(nm(o)))}function nv(e){return["table","td","th"].indexOf(ns(e))>=0}function ny(e){return t7(e)&&"fixed"!==nc(e).position?e.offsetParent:null}function nb(e){var t=/firefox/i.test(nt());if(/Trident/i.test(nt())&&t7(e)&&"fixed"===nc(e).position)return null;var n=nm(e);for(t6(n)&&(n=n.host);t7(n)&&0>["html","body"].indexOf(ns(n));){var r=nc(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}function nw(e){for(var t=t5(e),n=ny(e);n&&nv(n)&&"static"===nc(n).position;)n=ny(n);return n&&("html"===ns(n)||"body"===ns(n)&&"static"===nc(n).position)?t:n||nb(e)||t}var n_="top",nk="bottom",nj="right",nE="left",nO="auto",nT=[n_,nk,nj,nE],nC="start",nS="end",nN="clippingParents",nR="viewport",nI="popper",nA="reference",nL=nT.reduce(function(e,t){return e.concat([t+"-"+nC,t+"-"+nS])},[]),nP=[].concat(nT,[nO]).reduce(function(e,t){return e.concat([t,t+"-"+nC,t+"-"+nS])},[]),nM=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function nZ(e){var t=new Map,n=new Set,r=[];function i(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach(function(e){if(!n.has(e)){var r=t.get(e);r&&i(r)}}),r.push(e)}return e.forEach(function(e){t.set(e.name,e)}),e.forEach(function(e){n.has(e.name)||i(e)}),r}function nD(e){var t=nZ(e);return nM.reduce(function(e,n){return e.concat(t.filter(function(e){return e.phase===n}))},[])}function nF(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function nz(e){var t=e.reduce(function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e},{});return Object.keys(t).map(function(e){return t[e]})}var n$={placement:"bottom",modifiers:[],strategy:"absolute"};function nU(){for(var e=arguments.length,t=Array(e),n=0;n=0?"x":"y"}function nB(e){var t,n=e.reference,r=e.element,i=e.placement,a=i?nH(i):null,o=i?nG(i):null,s=n.x+n.width/2-r.width/2,l=n.y+n.height/2-r.height/2;switch(a){case n_:t={x:s,y:n.y-r.height};break;case nk:t={x:s,y:n.y+n.height};break;case nj:t={x:n.x+n.width,y:l};break;case nE:t={x:n.x-r.width,y:l};break;default:t={x:n.x,y:n.y}}var u=a?nV(a):null;if(null!=u){var c="y"===u?"height":"width";switch(o){case nC:t[u]=t[u]-(n[c]/2-r[c]/2);break;case nS:t[u]=t[u]+(n[c]/2-r[c]/2)}}return t}var nq={top:"auto",right:"auto",bottom:"auto",left:"auto"};function nK(e,t){var n=e.x,r=e.y,i=t.devicePixelRatio||1;return{x:ne(n*i)/i||0,y:ne(r*i)/i||0}}function nY(e){var t,n,r=e.popper,i=e.popperRect,a=e.placement,o=e.variation,s=e.offsets,l=e.position,u=e.gpuAcceleration,c=e.adaptive,d=e.roundOffsets,f=e.isFixed,h=s.x,p=void 0===h?0:h,m=s.y,x=void 0===m?0:m,g="function"==typeof d?d({x:p,y:x}):{x:p,y:x};p=g.x,x=g.y;var v=s.hasOwnProperty("x"),y=s.hasOwnProperty("y"),b=nE,w=n_,_=window;if(c){var k=nw(r),j="clientHeight",E="clientWidth";k===t5(r)&&"static"!==nc(k=nl(r)).position&&"absolute"===l&&(j="scrollHeight",E="scrollWidth"),(a===n_||(a===nE||a===nj)&&o===nS)&&(w=nk,x-=(f&&k===_&&_.visualViewport?_.visualViewport.height:k[j])-i.height,x*=u?1:-1),(a===nE||(a===n_||a===nk)&&o===nS)&&(b=nj,p-=(f&&k===_&&_.visualViewport?_.visualViewport.width:k[E])-i.width,p*=u?1:-1)}var O=Object.assign({position:l},c&&nq),T=!0===d?nK({x:p,y:x},t5(r)):{x:p,y:x};return(p=T.x,x=T.y,u)?Object.assign({},O,((n={})[w]=y?"0":"",n[b]=v?"0":"",n.transform=1>=(_.devicePixelRatio||1)?"translate("+p+"px, "+x+"px)":"translate3d("+p+"px, "+x+"px, 0)",n)):Object.assign({},O,((t={})[w]=y?x+"px":"",t[b]=v?p+"px":"",t.transform="",t))}function nQ(e,t,n){var r=nH(e),i=[nE,n_].indexOf(r)>=0?-1:1,a="function"==typeof n?n(Object.assign({},t,{placement:e})):n,o=a[0],s=a[1];return o=o||0,s=(s||0)*i,[nE,nj].indexOf(r)>=0?{x:s,y:o}:{x:o,y:s}}var nJ={left:"right",right:"left",bottom:"top",top:"bottom"};function nX(e){return e.replace(/left|right|bottom|top/g,function(e){return nJ[e]})}var n0={start:"end",end:"start"};function n1(e){return e.replace(/start|end/g,function(e){return n0[e]})}function n2(e,t){var n=t5(e),r=nl(e),i=n.visualViewport,a=r.clientWidth,o=r.clientHeight,s=0,l=0;if(i){a=i.width,o=i.height;var u=nn();(u||!u&&"fixed"===t)&&(s=i.offsetLeft,l=i.offsetTop)}return{width:a,height:o,x:s+nu(e),y:l}}function n4(e){var t,n=nl(e),r=ni(e),i=null==(t=e.ownerDocument)?void 0:t.body,a=t9(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),o=t9(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),s=-r.scrollLeft+nu(e),l=-r.scrollTop;return"rtl"===nc(i||n).direction&&(s+=t9(n.clientWidth,i?i.clientWidth:0)-a),{width:a,height:o,x:s,y:l}}function n5(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&t6(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function n3(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function n7(e,t){var n=nr(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function n6(e,t,n){return t===nR?n3(n2(e,n)):t3(t)?n7(t,n):n3(n4(nl(e)))}function n9(e){var t=ng(nm(e)),n=["absolute","fixed"].indexOf(nc(e).position)>=0&&t7(e)?nw(e):e;return t3(n)?t.filter(function(e){return t3(e)&&n5(e,n)&&"body"!==ns(e)}):[]}function n8(e,t,n,r){var i=[].concat("clippingParents"===t?n9(e):[].concat(t),[n]),a=i[0],o=i.reduce(function(t,n){var i=n6(e,n,r);return t.top=t9(i.top,t.top),t.right=t8(i.right,t.right),t.bottom=t8(i.bottom,t.bottom),t.left=t9(i.left,t.left),t},n6(e,a,r));return o.width=o.right-o.left,o.height=o.bottom-o.top,o.x=o.left,o.y=o.top,o}function re(){return{top:0,right:0,bottom:0,left:0}}function rt(e){return Object.assign({},re(),e)}function rn(e,t){return t.reduce(function(t,n){return t[n]=e,t},{})}function rr(e,t){void 0===t&&(t={});var n=t,r=n.placement,i=void 0===r?e.placement:r,a=n.strategy,o=void 0===a?e.strategy:a,s=n.boundary,l=void 0===s?nN:s,u=n.rootBoundary,c=void 0===u?nR:u,d=n.elementContext,f=void 0===d?nI:d,h=n.altBoundary,p=void 0!==h&&h,m=n.padding,x=void 0===m?0:m,g=rt("number"!=typeof x?x:rn(x,nT)),v=f===nI?nA:nI,y=e.rects.popper,b=e.elements[p?v:f],w=n8(t3(b)?b:b.contextElement||nl(e.elements.popper),l,c,o),_=nr(e.elements.reference),k=nB({reference:_,element:y,strategy:"absolute",placement:i}),j=n3(Object.assign({},y,k)),E=f===nI?j:_,O={top:w.top-E.top+g.top,bottom:E.bottom-w.bottom+g.bottom,left:w.left-E.left+g.left,right:E.right-w.right+g.right},T=e.modifiersData.offset;if(f===nI&&T){var C=T[i];Object.keys(O).forEach(function(e){var t=[nj,nk].indexOf(e)>=0?1:-1,n=[n_,nk].indexOf(e)>=0?"y":"x";O[e]+=C[n]*t})}return O}function ri(e,t){void 0===t&&(t={});var n=t,r=n.placement,i=n.boundary,a=n.rootBoundary,o=n.padding,s=n.flipVariations,l=n.allowedAutoPlacements,u=void 0===l?nP:l,c=nG(r),d=c?s?nL:nL.filter(function(e){return nG(e)===c}):nT,f=d.filter(function(e){return u.indexOf(e)>=0});0===f.length&&(f=d);var h=f.reduce(function(t,n){return t[n]=rr(e,{placement:n,boundary:i,rootBoundary:a,padding:o})[nH(n)],t},{});return Object.keys(h).sort(function(e,t){return h[e]-h[t]})}function ra(e){if(nH(e)===nO)return[];var t=nX(e);return[n1(e),t,n1(t)]}function ro(e){return"x"===e?"y":"x"}function rs(e,t,n){return t9(e,t8(t,n))}function rl(e,t,n){var r=rs(e,t,n);return r>n?n:r}var ru=function(e,t){return rt("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:rn(e,nT))};function rc(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function rd(e){return[n_,nj,nk,nE].some(function(t){return e[t]>=0})}var rf=function(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,i=t.defaultOptions,a=void 0===i?n$:i;return function(e,t,n){void 0===n&&(n=a);var i={placement:"bottom",orderedModifiers:[],options:Object.assign({},n$,a),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},o=[],s=!1,l={state:i,setOptions:function(n){var o="function"==typeof n?n(i.options):n;c(),i.options=Object.assign({},a,i.options,o),i.scrollParents={reference:t3(e)?ng(e):e.contextElement?ng(e.contextElement):[],popper:ng(t)};var s=nD(nz([].concat(r,i.options.modifiers)));return i.orderedModifiers=s.filter(function(e){return e.enabled}),u(),l.update()},forceUpdate:function(){if(!s){var e=i.elements,t=e.reference,n=e.popper;if(nU(t,n)){i.rects={reference:nh(t,nw(n),"fixed"===i.options.strategy),popper:np(n)},i.reset=!1,i.placement=i.options.placement,i.orderedModifiers.forEach(function(e){return i.modifiersData[e.name]=Object.assign({},e.data)});for(var r=0;r=0,N=S?"width":"height",R=rr(t,{placement:O,boundary:c,rootBoundary:d,altBoundary:f,padding:u}),I=S?C?nj:nE:C?nk:n_;b[N]>w[N]&&(I=nX(I));var A=nX(I),L=[];if(a&&L.push(R[T]<=0),s&&L.push(R[I]<=0,R[A]<=0),L.every(function(e){return e})){j=O,k=!1;break}_.set(O,L)}if(k)for(var P=p?3:1,M=function(e){var t=y.find(function(t){var n=_.get(t);if(n)return n.slice(0,e).every(function(e){return e})});if(t)return j=t,"break"},Z=P;Z>0&&"break"!==M(Z);Z--);t.placement!==j&&(t.modifiersData[r]._skip=!0,t.placement=j,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,i=n.mainAxis,a=void 0===i||i,o=n.altAxis,s=void 0!==o&&o,l=n.boundary,u=n.rootBoundary,c=n.altBoundary,d=n.padding,f=n.tether,h=void 0===f||f,p=n.tetherOffset,m=void 0===p?0:p,x=rr(t,{boundary:l,rootBoundary:u,padding:d,altBoundary:c}),g=nH(t.placement),v=nG(t.placement),y=!v,b=nV(g),w=ro(b),_=t.modifiersData.popperOffsets,k=t.rects.reference,j=t.rects.popper,E="function"==typeof m?m(Object.assign({},t.rects,{placement:t.placement})):m,O="number"==typeof E?{mainAxis:E,altAxis:E}:Object.assign({mainAxis:0,altAxis:0},E),T=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,C={x:0,y:0};if(_){if(a){var S,N="y"===b?n_:nE,R="y"===b?nk:nj,I="y"===b?"height":"width",A=_[b],L=A+x[N],P=A-x[R],M=h?-j[I]/2:0,Z=v===nC?k[I]:j[I],D=v===nC?-j[I]:-k[I],F=t.elements.arrow,z=h&&F?np(F):{width:0,height:0},$=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:re(),U=$[N],W=$[R],H=rs(0,k[I],z[I]),G=y?k[I]/2-M-H-U-O.mainAxis:Z-H-U-O.mainAxis,V=y?-k[I]/2+M+H+W+O.mainAxis:D+H+W+O.mainAxis,B=t.elements.arrow&&nw(t.elements.arrow),q=B?"y"===b?B.clientTop||0:B.clientLeft||0:0,K=null!=(S=null==T?void 0:T[b])?S:0,Y=A+G-K-q,Q=A+V-K,J=rs(h?t8(L,Y):L,A,h?t9(P,Q):P);_[b]=J,C[b]=J-A}if(s){var X,ee="x"===b?n_:nE,et="x"===b?nk:nj,en=_[w],er="y"===w?"height":"width",ei=en+x[ee],ea=en-x[et],eo=-1!==[n_,nE].indexOf(g),es=null!=(X=null==T?void 0:T[w])?X:0,el=eo?ei:en-k[er]-j[er]-es+O.altAxis,eu=eo?en+k[er]+j[er]-es-O.altAxis:ea,ec=h&&eo?rl(el,en,eu):rs(h?el:ei,en,h?eu:ea);_[w]=ec,C[w]=ec-en}t.modifiersData[r]=C}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,i=e.options,a=n.elements.arrow,o=n.modifiersData.popperOffsets,s=nH(n.placement),l=nV(s),u=[nE,nj].indexOf(s)>=0?"height":"width";if(a&&o){var c=ru(i.padding,n),d=np(a),f="y"===l?n_:nE,h="y"===l?nk:nj,p=n.rects.reference[u]+n.rects.reference[l]-o[l]-n.rects.popper[u],m=o[l]-n.rects.reference[l],x=nw(a),g=x?"y"===l?x.clientHeight||0:x.clientWidth||0:0,v=p/2-m/2,y=c[f],b=g-d[u]-c[h],w=g/2-d[u]/2+v,_=rs(y,w,b),k=l;n.modifiersData[r]=((t={})[k]=_,t.centerOffset=_-w,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&n5(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,i=t.rects.popper,a=t.modifiersData.preventOverflow,o=rr(t,{elementContext:"reference"}),s=rr(t,{altBoundary:!0}),l=rc(o,r),u=rc(s,i,a),c=rd(l),d=rd(u);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:u,isReferenceHidden:c,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":d})}}]}),rh=n(6304),rp=n.n(rh);function rm(e){if("string"!=typeof e)throw TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var rx=n(2351);let rg=(0,b.createContext)(null);rg.displayName="OpenClosedContext";var rv=((i=rv||{})[i.Open=1]="Open",i[i.Closed=2]="Closed",i[i.Closing=4]="Closing",i[i.Opening=8]="Opening",i);function ry(){return(0,b.useContext)(rg)}function rb({value:e,children:t}){return b.createElement(rg.Provider,{value:e},t)}var rw=n(2984),r_=n(4879),rk=n(6723),rj=n(3855),rE=n(2180),rO=n(3784);function rT(e){let t={called:!1};return(...n)=>{if(!t.called)return t.called=!0,e(...n)}}var rC=n(9362);function rS(e,...t){e&&t.length>0&&e.classList.add(...t)}function rN(e,...t){e&&t.length>0&&e.classList.remove(...t)}function rR(e,t){let n=(0,rC.k)();if(!e)return n.dispose;let{transitionDuration:r,transitionDelay:i}=getComputedStyle(e),[a,o]=[r,i].map(e=>{let[t=0]=e.split(",").filter(Boolean).map(e=>e.includes("ms")?parseFloat(e):1e3*parseFloat(e)).sort((e,t)=>t-e);return t}),s=a+o;if(0!==s){n.group(n=>{n.setTimeout(()=>{t(),n.dispose()},s),n.addEventListener(e,"transitionrun",e=>{e.target===e.currentTarget&&n.dispose()})});let r=n.addEventListener(e,"transitionend",e=>{e.target===e.currentTarget&&(t(),r())})}else t();return n.add(()=>t()),n.dispose}function rI(e,t,n,r){let i=n?"enter":"leave",a=(0,rC.k)(),o=void 0!==r?rT(r):()=>{};"enter"===i&&(e.removeAttribute("hidden"),e.style.display="");let s=(0,rw.E)(i,{enter:()=>t.enter,leave:()=>t.leave}),l=(0,rw.E)(i,{enter:()=>t.enterTo,leave:()=>t.leaveTo}),u=(0,rw.E)(i,{enter:()=>t.enterFrom,leave:()=>t.leaveFrom});return rN(e,...t.enter,...t.enterTo,...t.enterFrom,...t.leave,...t.leaveFrom,...t.leaveTo,...t.entered),rS(e,...s,...u),a.nextFrame(()=>{rN(e,...u),rS(e,...l),rR(e,()=>(rN(e,...s),rS(e,...t.entered),o()))}),a.dispose}function rA(){let[e]=(0,b.useState)(rC.k);return(0,b.useEffect)(()=>()=>e.dispose(),[e]),e}function rL({container:e,direction:t,classes:n,onStart:r,onStop:i}){let a=(0,r_.t)(),o=rA(),s=(0,rj.E)(t);(0,rk.e)(()=>{let t=(0,rC.k)();o.add(t.dispose);let l=e.current;if(l&&"idle"!==s.current&&a.current)return t.dispose(),r.current(s.current),t.add(rI(l,n.current,"enter"===s.current,()=>{t.dispose(),i.current(s.current)})),t.dispose},[t])}var rP=n(3781),rM=n(4067);function rZ(e=0){let[t,n]=(0,b.useState)(e),r=(0,r_.t)(),i=(0,b.useCallback)(e=>{r.current&&n(t=>t|e)},[t,r]),a=(0,b.useCallback)(e=>!!(t&e),[t]);return{flags:t,addFlag:i,hasFlag:a,removeFlag:(0,b.useCallback)(e=>{r.current&&n(t=>t&~e)},[n,r]),toggleFlag:(0,b.useCallback)(e=>{r.current&&n(t=>t^e)},[n])}}function rD(e=""){return e.split(" ").filter(e=>e.trim().length>1)}let rF=(0,b.createContext)(null);rF.displayName="TransitionContext";var rz=((a=rz||{}).Visible="visible",a.Hidden="hidden",a);function r$(){let e=(0,b.useContext)(rF);if(null===e)throw Error("A is used but it is missing a parent or .");return e}function rU(){let e=(0,b.useContext)(rW);if(null===e)throw Error("A is used but it is missing a parent or .");return e}let rW=(0,b.createContext)(null);function rH(e){return"children"in e?rH(e.children):e.current.filter(({el:e})=>null!==e.current).filter(({state:e})=>"visible"===e).length>0}function rG(e,t){let n=(0,rj.E)(e),r=(0,b.useRef)([]),i=(0,r_.t)(),a=rA(),o=(0,rP.z)((e,t=rx.l4.Hidden)=>{let o=r.current.findIndex(({el:t})=>t===e);-1!==o&&((0,rw.E)(t,{[rx.l4.Unmount](){r.current.splice(o,1)},[rx.l4.Hidden](){r.current[o].state="hidden"}}),a.microTask(()=>{var e;!rH(r)&&i.current&&(null==(e=n.current)||e.call(n))}))}),s=(0,rP.z)(e=>{let t=r.current.find(({el:t})=>t===e);return t?"visible"!==t.state&&(t.state="visible"):r.current.push({el:e,state:"visible"}),()=>o(e,rx.l4.Unmount)}),l=(0,b.useRef)([]),u=(0,b.useRef)(Promise.resolve()),c=(0,b.useRef)({enter:[],leave:[],idle:[]}),d=(0,rP.z)((e,n,r)=>{l.current.splice(0),t&&(t.chains.current[n]=t.chains.current[n].filter(([t])=>t!==e)),null==t||t.chains.current[n].push([e,new Promise(e=>{l.current.push(e)})]),null==t||t.chains.current[n].push([e,new Promise(e=>{Promise.all(c.current[n].map(([e,t])=>t)).then(()=>e())})]),"enter"===n?u.current=u.current.then(()=>null==t?void 0:t.wait.current).then(()=>r(n)):r(n)}),f=(0,rP.z)((e,t,n)=>{Promise.all(c.current[t].splice(0).map(([e,t])=>t)).then(()=>{var e;null==(e=l.current.shift())||e()}).then(()=>n(t))});return(0,b.useMemo)(()=>({children:r,register:s,unregister:o,onStart:d,onStop:f,wait:u,chains:c}),[s,o,r,d,f,c,u])}function rV(){}rW.displayName="NestingContext";let rB=["beforeEnter","afterEnter","beforeLeave","afterLeave"];function rq(e){var t;let n={};for(let r of rB)n[r]=null!=(t=e[r])?t:rV;return n}function rK(e){let t=(0,b.useRef)(rq(e));return(0,b.useEffect)(()=>{t.current=rq(e)},[e]),t}let rY="div",rQ=rx.AN.RenderStrategy;function rJ(e,t){let{beforeEnter:n,afterEnter:r,beforeLeave:i,afterLeave:a,enter:o,enterFrom:s,enterTo:l,entered:u,leave:c,leaveFrom:d,leaveTo:f,...h}=e,p=(0,b.useRef)(null),m=(0,rO.T)(p,t),x=h.unmount?rx.l4.Unmount:rx.l4.Hidden,{show:g,appear:v,initial:y}=r$(),[w,_]=(0,b.useState)(g?"visible":"hidden"),k=rU(),{register:j,unregister:E}=k,O=(0,b.useRef)(null);(0,b.useEffect)(()=>j(p),[j,p]),(0,b.useEffect)(()=>{if(x===rx.l4.Hidden&&p.current){if(g&&"visible"!==w){_("visible");return}return(0,rw.E)(w,{hidden:()=>E(p),visible:()=>j(p)})}},[w,p,j,E,g,x]);let T=(0,rj.E)({enter:rD(o),enterFrom:rD(s),enterTo:rD(l),entered:rD(u),leave:rD(c),leaveFrom:rD(d),leaveTo:rD(f)}),C=rK({beforeEnter:n,afterEnter:r,beforeLeave:i,afterLeave:a}),S=(0,rE.H)();(0,b.useEffect)(()=>{if(S&&"visible"===w&&null===p.current)throw Error("Did you forget to passthrough the `ref` to the actual DOM node?")},[p,w,S]);let N=y&&!v,R=!S||N||O.current===g?"idle":g?"enter":"leave",I=rZ(0),A=(0,rP.z)(e=>(0,rw.E)(e,{enter:()=>{I.addFlag(rv.Opening),C.current.beforeEnter()},leave:()=>{I.addFlag(rv.Closing),C.current.beforeLeave()},idle:()=>{}})),L=(0,rP.z)(e=>(0,rw.E)(e,{enter:()=>{I.removeFlag(rv.Opening),C.current.afterEnter()},leave:()=>{I.removeFlag(rv.Closing),C.current.afterLeave()},idle:()=>{}})),P=rG(()=>{_("hidden"),E(p)},k);rL({container:p,classes:T,direction:R,onStart:(0,rj.E)(e=>{P.onStart(p,e,A)}),onStop:(0,rj.E)(e=>{P.onStop(p,e,L),"leave"!==e||rH(P)||(_("hidden"),E(p))})}),(0,b.useEffect)(()=>{N&&(x===rx.l4.Hidden?O.current=null:O.current=g)},[g,N,w]);let M=h,Z={ref:m};return v&&g&&y&&(M={...M,className:(0,rM.A)(h.className,...T.current.enter,...T.current.enterFrom)}),b.createElement(rW.Provider,{value:P},b.createElement(rb,{value:(0,rw.E)(w,{visible:rv.Open,hidden:rv.Closed})|I.flags},(0,rx.sY)({ourProps:Z,theirProps:M,defaultTag:rY,features:rQ,visible:"visible"===w,name:"Transition.Child"})))}function rX(e,t){let{show:n,appear:r=!1,unmount:i,...a}=e,o=(0,b.useRef)(null),s=(0,rO.T)(o,t);(0,rE.H)();let l=ry();if(void 0===n&&null!==l&&(n=(l&rv.Open)===rv.Open),![!0,!1].includes(n))throw Error("A is used but it is missing a `show={true | false}` prop.");let[u,c]=(0,b.useState)(n?"visible":"hidden"),d=rG(()=>{c("hidden")}),[f,h]=(0,b.useState)(!0),p=(0,b.useRef)([n]);(0,rk.e)(()=>{!1!==f&&p.current[p.current.length-1]!==n&&(p.current.push(n),h(!1))},[p,n]);let m=(0,b.useMemo)(()=>({show:n,appear:r,initial:f}),[n,r,f]);(0,b.useEffect)(()=>{if(n)c("visible");else if(rH(d)){let e=o.current;if(!e)return;let t=e.getBoundingClientRect();0===t.x&&0===t.y&&0===t.width&&0===t.height&&c("hidden")}else c("hidden")},[n,d]);let x={unmount:i},g=(0,rP.z)(()=>{var t;f&&h(!1),null==(t=e.beforeEnter)||t.call(e)}),v=(0,rP.z)(()=>{var t;f&&h(!1),null==(t=e.beforeLeave)||t.call(e)});return b.createElement(rW.Provider,{value:d},b.createElement(rF.Provider,{value:m},(0,rx.sY)({ourProps:{...x,as:b.Fragment,children:b.createElement(r2,{ref:s,...x,...a,beforeEnter:g,beforeLeave:v})},theirProps:{},defaultTag:b.Fragment,features:rQ,visible:"visible"===u,name:"Transition"})))}function r0(e,t){let n=null!==(0,b.useContext)(rF),r=null!==ry();return b.createElement(b.Fragment,null,!n&&r?b.createElement(r1,{ref:t,...e}):b.createElement(r2,{ref:t,...e}))}let r1=(0,rx.yV)(rX),r2=(0,rx.yV)(rJ),r4=Object.assign(r1,{Child:(0,rx.yV)(r0),Root:r1});var r5=n(634),r3=n(9946);function r7(e,t){let[n,r]=(0,b.useState)(e),i=(0,rj.E)(e);return(0,rk.e)(()=>r(i.current),[i,r,...t]),n}var r6=n(1363);function r9(e){throw Error("Unexpected object: "+e)}var r8=((o=r8||{})[o.First=0]="First",o[o.Previous=1]="Previous",o[o.Next=2]="Next",o[o.Last=3]="Last",o[o.Specific=4]="Specific",o[o.Nothing=5]="Nothing",o);function ie(e,t){let n=t.resolveItems();if(n.length<=0)return null;let r=t.resolveActiveIndex(),i=null!=r?r:-1,a=(()=>{switch(e.focus){case 0:return n.findIndex(e=>!t.resolveDisabled(e));case 1:{let e=n.slice().reverse().findIndex((e,n,r)=>(-1===i||!(r.length-n-1>=i))&&!t.resolveDisabled(e));return -1===e?e:n.length-1-e}case 2:return n.findIndex((e,n)=>!(n<=i)&&!t.resolveDisabled(e));case 3:{let e=n.slice().reverse().findIndex(e=>!t.resolveDisabled(e));return -1===e?e:n.length-1-e}case 4:return n.findIndex(n=>t.resolveId(n)===e.id);case 5:return null;default:r9(e)}})();return -1===a?r:a}function it(e){let t=e.parentElement,n=null;for(;t&&!(t instanceof HTMLFieldSetElement);)t instanceof HTMLLegendElement&&(n=t),t=t.parentElement;let r=(null==t?void 0:t.getAttribute("disabled"))==="";return!(r&&ir(n))&&r}function ir(e){if(!e)return!1;let t=e.previousElementSibling;for(;null!==t;){if(t instanceof HTMLLegendElement)return!1;t=t.previousElementSibling}return!0}var ii=n(4575),ia=n(4157);function io(e,t,n){let r=(0,rj.E)(t);(0,b.useEffect)(()=>{function t(e){r.current(e)}return document.addEventListener(e,t,n),()=>document.removeEventListener(e,t,n)},[e,n])}function is(e,t,n){let r=(0,rj.E)(t);(0,b.useEffect)(()=>{function t(e){r.current(e)}return window.addEventListener(e,t,n),()=>window.removeEventListener(e,t,n)},[e,n])}function il(e,t,n=!0){let r=(0,b.useRef)(!1);function i(n,i){if(!r.current||n.defaultPrevented)return;let a=i(n);if(null!==a&&a.getRootNode().contains(a)&&a.isConnected){for(let t of function e(t){return"function"==typeof t?e(t()):Array.isArray(t)||t instanceof Set?t:[t]}(e)){if(null===t)continue;let e=t instanceof HTMLElement?t:t.current;if(null!=e&&e.contains(a)||n.composed&&n.composedPath().includes(e))return}return(0,ii.sP)(a,ii.tJ.Loose)||-1===a.tabIndex||n.preventDefault(),t(n,a)}}(0,b.useEffect)(()=>{requestAnimationFrame(()=>{r.current=n})},[n]);let a=(0,b.useRef)(null);io("pointerdown",e=>{var t,n;r.current&&(a.current=(null==(n=null==(t=e.composedPath)?void 0:t.call(e))?void 0:n[0])||e.target)},!0),io("mousedown",e=>{var t,n;r.current&&(a.current=(null==(n=null==(t=e.composedPath)?void 0:t.call(e))?void 0:n[0])||e.target)},!0),io("click",e=>{a.current&&(i(e,()=>a.current),a.current=null)},!0),io("touchend",e=>i(e,()=>e.target instanceof HTMLElement?e.target:null),!0),is("blur",e=>i(e,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}var iu=n(6045);function ic(e={},t=null,n=[]){for(let[r,i]of Object.entries(e))ih(n,id(t,r),i);return n}function id(e,t){return e?e+"["+t+"]":t}function ih(e,t,n){if(Array.isArray(n))for(let[r,i]of n.entries())ih(e,id(t,r.toString()),i);else n instanceof Date?e.push([t,n.toISOString()]):"boolean"==typeof n?e.push([t,n?"1":"0"]):"string"==typeof n?e.push([t,n]):"number"==typeof n?e.push([t,`${n}`]):null==n?e.push([t,""]):ic(n,t,e)}var ip=n(5466);function im(e,t,n){let[r,i]=(0,b.useState)(n),a=void 0!==e,o=(0,b.useRef)(a),s=(0,b.useRef)(!1),l=(0,b.useRef)(!1);return!a||o.current||s.current?a||!o.current||l.current||(l.current=!0,o.current=a,console.error("A component is changing from controlled to uncontrolled. This may be caused by the value changing from a defined value to undefined, which should not happen.")):(s.current=!0,o.current=a,console.error("A component is changing from uncontrolled to controlled. This may be caused by the value changing from undefined to a defined value, which should not happen.")),[a?e:r,(0,rP.z)(e=>(a||i(e),null==t?void 0:t(e)))]}function ix(e){return[e.screenX,e.screenY]}function ig(){let e=(0,b.useRef)([-1,-1]);return{wasMoved(t){let n=ix(t);return(e.current[0]!==n[0]||e.current[1]!==n[1])&&(e.current=n,!0)},update(t){e.current=ix(t)}}}let iv=/([\u2700-\u27BF]|[\uE000-\uF8FF]|\uD83C[\uDC00-\uDFFF]|\uD83D[\uDC00-\uDFFF]|[\u2011-\u26FF]|\uD83E[\uDD10-\uDDFF])/g;function iy(e){var t,n;let r=null!=(t=e.innerText)?t:"",i=e.cloneNode(!0);if(!(i instanceof HTMLElement))return r;let a=!1;for(let e of i.querySelectorAll('[hidden],[aria-hidden],[role="img"]'))e.remove(),a=!0;let o=a?null!=(n=i.innerText)?n:"":r;return iv.test(o)&&(o=o.replace(iv,"")),o}function ib(e){let t=e.getAttribute("aria-label");if("string"==typeof t)return t.trim();let n=e.getAttribute("aria-labelledby");if(n){let e=n.split(" ").map(e=>{let t=document.getElementById(e);if(t){let e=t.getAttribute("aria-label");return"string"==typeof e?e.trim():iy(t).trim()}return null}).filter(Boolean);if(e.length>0)return e.join(", ")}return iy(e).trim()}function iw(e){let t=(0,b.useRef)(""),n=(0,b.useRef)("");return(0,rP.z)(()=>{let r=e.current;if(!r)return"";let i=r.innerText;if(t.current===i)return n.current;let a=ib(r).trim().toLowerCase();return t.current=i,n.current=a,a})}var i_=((s=i_||{})[s.Open=0]="Open",s[s.Closed=1]="Closed",s),ik=((l=ik||{})[l.Single=0]="Single",l[l.Multi=1]="Multi",l),ij=((u=ij||{})[u.Pointer=0]="Pointer",u[u.Other=1]="Other",u),iE=((c=iE||{})[c.OpenListbox=0]="OpenListbox",c[c.CloseListbox=1]="CloseListbox",c[c.GoToOption=2]="GoToOption",c[c.Search=3]="Search",c[c.ClearSearch=4]="ClearSearch",c[c.RegisterOption=5]="RegisterOption",c[c.UnregisterOption=6]="UnregisterOption",c[c.RegisterLabel=7]="RegisterLabel",c);function iO(e,t=e=>e){let n=null!==e.activeOptionIndex?e.options[e.activeOptionIndex]:null,r=(0,ii.z2)(t(e.options.slice()),e=>e.dataRef.current.domRef.current),i=n?r.indexOf(n):null;return -1===i&&(i=null),{options:r,activeOptionIndex:i}}let iT={1:e=>e.dataRef.current.disabled||1===e.listboxState?e:{...e,activeOptionIndex:null,listboxState:1},0(e){if(e.dataRef.current.disabled||0===e.listboxState)return e;let t=e.activeOptionIndex,{isSelected:n}=e.dataRef.current,r=e.options.findIndex(e=>n(e.dataRef.current.value));return -1!==r&&(t=r),{...e,listboxState:0,activeOptionIndex:t}},2(e,t){var n;if(e.dataRef.current.disabled||1===e.listboxState)return e;let r=iO(e),i=ie(t,{resolveItems:()=>r.options,resolveActiveIndex:()=>r.activeOptionIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.current.disabled});return{...e,...r,searchQuery:"",activeOptionIndex:i,activationTrigger:null!=(n=t.trigger)?n:1}},3:(e,t)=>{if(e.dataRef.current.disabled||1===e.listboxState)return e;let n=""!==e.searchQuery?0:1,r=e.searchQuery+t.value.toLowerCase(),i=(null!==e.activeOptionIndex?e.options.slice(e.activeOptionIndex+n).concat(e.options.slice(0,e.activeOptionIndex+n)):e.options).find(e=>{var t;return!e.dataRef.current.disabled&&(null==(t=e.dataRef.current.textValue)?void 0:t.startsWith(r))}),a=i?e.options.indexOf(i):-1;return -1===a||a===e.activeOptionIndex?{...e,searchQuery:r}:{...e,searchQuery:r,activeOptionIndex:a,activationTrigger:1}},4:e=>e.dataRef.current.disabled||1===e.listboxState||""===e.searchQuery?e:{...e,searchQuery:""},5:(e,t)=>{let n={id:t.id,dataRef:t.dataRef},r=iO(e,e=>[...e,n]);return null===e.activeOptionIndex&&e.dataRef.current.isSelected(t.dataRef.current.value)&&(r.activeOptionIndex=r.options.indexOf(n)),{...e,...r}},6:(e,t)=>{let n=iO(e,e=>{let n=e.findIndex(e=>e.id===t.id);return -1!==n&&e.splice(n,1),e});return{...e,...n,activationTrigger:1}},7:(e,t)=>({...e,labelId:t.id})},iC=(0,b.createContext)(null);function iS(e){let t=(0,b.useContext)(iC);if(null===t){let t=Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,iS),t}return t}iC.displayName="ListboxActionsContext";let iN=(0,b.createContext)(null);function iR(e){let t=(0,b.useContext)(iN);if(null===t){let t=Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,iR),t}return t}function iI(e,t){return(0,rw.E)(t.type,iT,e,t)}iN.displayName="ListboxDataContext";let iA=b.Fragment;function iL(e,t){let{value:n,defaultValue:r,form:i,name:a,onChange:o,by:s=(e,t)=>e===t,disabled:l=!1,horizontal:u=!1,multiple:c=!1,...d}=e,f=u?"horizontal":"vertical",h=(0,rO.T)(t),[p=c?[]:void 0,m]=im(n,o,r),[x,g]=(0,b.useReducer)(iI,{dataRef:(0,b.createRef)(),listboxState:1,options:[],searchQuery:"",labelId:null,activeOptionIndex:null,activationTrigger:1}),v=(0,b.useRef)({static:!1,hold:!1}),y=(0,b.useRef)(null),w=(0,b.useRef)(null),_=(0,b.useRef)(null),k=(0,rP.z)("string"==typeof s?(e,t)=>{let n=s;return(null==e?void 0:e[n])===(null==t?void 0:t[n])}:s),j=(0,b.useCallback)(e=>(0,rw.E)(E.mode,{1:()=>p.some(t=>k(t,e)),0:()=>k(p,e)}),[p]),E=(0,b.useMemo)(()=>({...x,value:p,disabled:l,mode:c?1:0,orientation:f,compare:k,isSelected:j,optionsPropsRef:v,labelRef:y,buttonRef:w,optionsRef:_}),[p,l,c,x]);(0,rk.e)(()=>{x.dataRef.current=E},[E]),il([E.buttonRef,E.optionsRef],(e,t)=>{var n;g({type:1}),(0,ii.sP)(t,ii.tJ.Loose)||(e.preventDefault(),null==(n=E.buttonRef.current)||n.focus())},0===E.listboxState);let O=(0,b.useMemo)(()=>({open:0===E.listboxState,disabled:l,value:p}),[E,l,p]),T=(0,rP.z)(e=>{let t=E.options.find(t=>t.id===e);t&&L(t.dataRef.current.value)}),C=(0,rP.z)(()=>{if(null!==E.activeOptionIndex){let{dataRef:e,id:t}=E.options[E.activeOptionIndex];L(e.current.value),g({type:2,focus:r8.Specific,id:t})}}),S=(0,rP.z)(()=>g({type:0})),N=(0,rP.z)(()=>g({type:1})),R=(0,rP.z)((e,t,n)=>e===r8.Specific?g({type:2,focus:r8.Specific,id:t,trigger:n}):g({type:2,focus:e,trigger:n})),I=(0,rP.z)((e,t)=>(g({type:5,id:e,dataRef:t}),()=>g({type:6,id:e}))),A=(0,rP.z)(e=>(g({type:7,id:e}),()=>g({type:7,id:null}))),L=(0,rP.z)(e=>(0,rw.E)(E.mode,{0:()=>null==m?void 0:m(e),1(){let t=E.value.slice(),n=t.findIndex(t=>k(t,e));return -1===n?t.push(e):t.splice(n,1),null==m?void 0:m(t)}})),P=(0,rP.z)(e=>g({type:3,value:e})),M=(0,rP.z)(()=>g({type:4})),Z=(0,b.useMemo)(()=>({onChange:L,registerOption:I,registerLabel:A,goToOption:R,closeListbox:N,openListbox:S,selectActiveOption:C,selectOption:T,search:P,clearSearch:M}),[]),D={ref:h},F=(0,b.useRef)(null),z=rA();return(0,b.useEffect)(()=>{F.current&&void 0!==r&&z.addEventListener(F.current,"reset",()=>{L(r)})},[F,L]),b.createElement(iC.Provider,{value:Z},b.createElement(iN.Provider,{value:E},b.createElement(rb,{value:(0,rw.E)(E.listboxState,{0:rv.Open,1:rv.Closed})},null!=a&&null!=p&&ic({[a]:p}).map(([e,t],n)=>b.createElement(iu._,{features:iu.A.Hidden,ref:0===n?e=>{var t;F.current=null!=(t=null==e?void 0:e.closest("form"))?t:null}:void 0,...(0,rx.oA)({key:e,as:"input",type:"hidden",hidden:!0,readOnly:!0,form:i,name:e,value:t})})),(0,rx.sY)({ourProps:D,theirProps:d,slot:O,defaultTag:iA,name:"Listbox"}))))}let iP="button";function iM(e,t){var n;let r=(0,r3.M)(),{id:i=`headlessui-listbox-button-${r}`,...a}=e,o=iR("Listbox.Button"),s=iS("Listbox.Button"),l=(0,rO.T)(o.buttonRef,t),u=rA(),c=(0,rP.z)(e=>{switch(e.key){case r6.R.Space:case r6.R.Enter:case r6.R.ArrowDown:e.preventDefault(),s.openListbox(),u.nextFrame(()=>{o.value||s.goToOption(r8.First)});break;case r6.R.ArrowUp:e.preventDefault(),s.openListbox(),u.nextFrame(()=>{o.value||s.goToOption(r8.Last)})}}),d=(0,rP.z)(e=>{e.key===r6.R.Space&&e.preventDefault()}),f=(0,rP.z)(e=>{if(it(e.currentTarget))return e.preventDefault();0===o.listboxState?(s.closeListbox(),u.nextFrame(()=>{var e;return null==(e=o.buttonRef.current)?void 0:e.focus({preventScroll:!0})})):(e.preventDefault(),s.openListbox())}),h=r7(()=>{if(o.labelId)return[o.labelId,i].join(" ")},[o.labelId,i]),p=(0,b.useMemo)(()=>({open:0===o.listboxState,disabled:o.disabled,value:o.value}),[o]),m={ref:l,id:i,type:(0,ia.f)(e,o.buttonRef),"aria-haspopup":"listbox","aria-controls":null==(n=o.optionsRef.current)?void 0:n.id,"aria-expanded":0===o.listboxState,"aria-labelledby":h,disabled:o.disabled,onKeyDown:c,onKeyUp:d,onClick:f};return(0,rx.sY)({ourProps:m,theirProps:a,slot:p,defaultTag:iP,name:"Listbox.Button"})}let iZ="label";function iD(e,t){let n=(0,r3.M)(),{id:r=`headlessui-listbox-label-${n}`,...i}=e,a=iR("Listbox.Label"),o=iS("Listbox.Label"),s=(0,rO.T)(a.labelRef,t);(0,rk.e)(()=>o.registerLabel(r),[r]);let l=(0,rP.z)(()=>{var e;return null==(e=a.buttonRef.current)?void 0:e.focus({preventScroll:!0})}),u=(0,b.useMemo)(()=>({open:0===a.listboxState,disabled:a.disabled}),[a]);return(0,rx.sY)({ourProps:{ref:s,id:r,onClick:l},theirProps:i,slot:u,defaultTag:iZ,name:"Listbox.Label"})}let iF="ul",iz=rx.AN.RenderStrategy|rx.AN.Static;function i$(e,t){var n;let r=(0,r3.M)(),{id:i=`headlessui-listbox-options-${r}`,...a}=e,o=iR("Listbox.Options"),s=iS("Listbox.Options"),l=(0,rO.T)(o.optionsRef,t),u=rA(),c=rA(),d=ry(),f=null!==d?(d&rv.Open)===rv.Open:0===o.listboxState;(0,b.useEffect)(()=>{var e;let t=o.optionsRef.current;t&&0===o.listboxState&&t!==(null==(e=(0,ip.r)(t))?void 0:e.activeElement)&&t.focus({preventScroll:!0})},[o.listboxState,o.optionsRef]);let h=(0,rP.z)(e=>{switch(c.dispose(),e.key){case r6.R.Space:if(""!==o.searchQuery)return e.preventDefault(),e.stopPropagation(),s.search(e.key);case r6.R.Enter:if(e.preventDefault(),e.stopPropagation(),null!==o.activeOptionIndex){let{dataRef:e}=o.options[o.activeOptionIndex];s.onChange(e.current.value)}0===o.mode&&(s.closeListbox(),(0,rC.k)().nextFrame(()=>{var e;return null==(e=o.buttonRef.current)?void 0:e.focus({preventScroll:!0})}));break;case(0,rw.E)(o.orientation,{vertical:r6.R.ArrowDown,horizontal:r6.R.ArrowRight}):return e.preventDefault(),e.stopPropagation(),s.goToOption(r8.Next);case(0,rw.E)(o.orientation,{vertical:r6.R.ArrowUp,horizontal:r6.R.ArrowLeft}):return e.preventDefault(),e.stopPropagation(),s.goToOption(r8.Previous);case r6.R.Home:case r6.R.PageUp:return e.preventDefault(),e.stopPropagation(),s.goToOption(r8.First);case r6.R.End:case r6.R.PageDown:return e.preventDefault(),e.stopPropagation(),s.goToOption(r8.Last);case r6.R.Escape:return e.preventDefault(),e.stopPropagation(),s.closeListbox(),u.nextFrame(()=>{var e;return null==(e=o.buttonRef.current)?void 0:e.focus({preventScroll:!0})});case r6.R.Tab:e.preventDefault(),e.stopPropagation();break;default:1===e.key.length&&(s.search(e.key),c.setTimeout(()=>s.clearSearch(),350))}}),p=r7(()=>{var e,t,n;return null!=(n=null==(e=o.labelRef.current)?void 0:e.id)?n:null==(t=o.buttonRef.current)?void 0:t.id},[o.labelRef.current,o.buttonRef.current]),m=(0,b.useMemo)(()=>({open:0===o.listboxState}),[o]),x={"aria-activedescendant":null===o.activeOptionIndex||null==(n=o.options[o.activeOptionIndex])?void 0:n.id,"aria-multiselectable":1===o.mode||void 0,"aria-labelledby":p,"aria-orientation":o.orientation,id:i,onKeyDown:h,role:"listbox",tabIndex:0,ref:l};return(0,rx.sY)({ourProps:x,theirProps:a,slot:m,defaultTag:iF,features:iz,visible:f,name:"Listbox.Options"})}let iU="li";function iW(e,t){let n=(0,r3.M)(),{id:r=`headlessui-listbox-option-${n}`,disabled:i=!1,value:a,...o}=e,s=iR("Listbox.Option"),l=iS("Listbox.Option"),u=null!==s.activeOptionIndex&&s.options[s.activeOptionIndex].id===r,c=s.isSelected(a),d=(0,b.useRef)(null),f=iw(d),h=(0,rj.E)({disabled:i,value:a,domRef:d,get textValue(){return f()}}),p=(0,rO.T)(t,d);(0,rk.e)(()=>{if(0!==s.listboxState||!u||0===s.activationTrigger)return;let e=(0,rC.k)();return e.requestAnimationFrame(()=>{var e,t;null==(t=null==(e=d.current)?void 0:e.scrollIntoView)||t.call(e,{block:"nearest"})}),e.dispose},[d,u,s.listboxState,s.activationTrigger,s.activeOptionIndex]),(0,rk.e)(()=>l.registerOption(r,h),[h,r]);let m=(0,rP.z)(e=>{if(i)return e.preventDefault();l.onChange(a),0===s.mode&&(l.closeListbox(),(0,rC.k)().nextFrame(()=>{var e;return null==(e=s.buttonRef.current)?void 0:e.focus({preventScroll:!0})}))}),x=(0,rP.z)(()=>{if(i)return l.goToOption(r8.Nothing);l.goToOption(r8.Specific,r)}),g=ig(),v=(0,rP.z)(e=>g.update(e)),y=(0,rP.z)(e=>{g.wasMoved(e)&&(i||u||l.goToOption(r8.Specific,r,0))}),w=(0,rP.z)(e=>{g.wasMoved(e)&&(i||u&&l.goToOption(r8.Nothing))}),_=(0,b.useMemo)(()=>({active:u,selected:c,disabled:i}),[u,c,i]);return(0,rx.sY)({ourProps:{id:r,ref:p,role:"option",tabIndex:!0===i?void 0:-1,"aria-disabled":!0===i||void 0,"aria-selected":c,disabled:void 0,onClick:m,onFocus:x,onPointerEnter:v,onMouseEnter:v,onPointerMove:y,onMouseMove:y,onPointerLeave:w,onMouseLeave:w},theirProps:o,slot:_,defaultTag:iU,name:"Listbox.Option"})}let iH=Object.assign((0,rx.yV)(iL),{Button:(0,rx.yV)(iM),Label:(0,rx.yV)(iD),Options:(0,rx.yV)(i$),Option:(0,rx.yV)(iW)});var iG=n(3935),iV=n(9008),iB=n.n(iV);function iq(){return(iq=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(i[n]=e[n]);return i}var iY=["keyOverride"],iQ=["crossOrigin"],iJ={templateTitle:"",noindex:!1,nofollow:!1,defaultOpenGraphImageWidth:0,defaultOpenGraphImageHeight:0,defaultOpenGraphVideoWidth:0,defaultOpenGraphVideoHeight:0},iX=function(e,t,n){void 0===t&&(t=[]);var r=void 0===n?{}:n,i=r.defaultWidth,a=r.defaultHeight;return t.reduce(function(t,n,r){return t.push(b.createElement("meta",{key:"og:"+e+":0"+r,property:"og:"+e,content:n.url})),n.alt&&t.push(b.createElement("meta",{key:"og:"+e+":alt0"+r,property:"og:"+e+":alt",content:n.alt})),n.secureUrl&&t.push(b.createElement("meta",{key:"og:"+e+":secure_url0"+r,property:"og:"+e+":secure_url",content:n.secureUrl.toString()})),n.type&&t.push(b.createElement("meta",{key:"og:"+e+":type0"+r,property:"og:"+e+":type",content:n.type.toString()})),n.width?t.push(b.createElement("meta",{key:"og:"+e+":width0"+r,property:"og:"+e+":width",content:n.width.toString()})):i&&t.push(b.createElement("meta",{key:"og:"+e+":width0"+r,property:"og:"+e+":width",content:i.toString()})),n.height?t.push(b.createElement("meta",{key:"og:"+e+":height"+r,property:"og:"+e+":height",content:n.height.toString()})):a&&t.push(b.createElement("meta",{key:"og:"+e+":height"+r,property:"og:"+e+":height",content:a.toString()})),t},[])},i0=function(e){var t,n,r,i,a,o=[];e.titleTemplate&&(iJ.templateTitle=e.titleTemplate);var s="";e.title?(s=e.title,iJ.templateTitle&&(s=iJ.templateTitle.replace(/%s/g,function(){return s}))):e.defaultTitle&&(s=e.defaultTitle),s&&o.push(b.createElement("title",{key:"title"},s));var l=void 0===e.noindex?iJ.noindex||e.dangerouslySetAllPagesToNoIndex:e.noindex,u=void 0===e.nofollow?iJ.nofollow||e.dangerouslySetAllPagesToNoFollow:e.nofollow,c="";if(e.robotsProps){var d=e.robotsProps,f=d.nosnippet,h=d.maxSnippet,p=d.maxImagePreview,m=d.maxVideoPreview,x=d.noarchive,g=d.noimageindex,v=d.notranslate,y=d.unavailableAfter;c=(f?",nosnippet":"")+(h?",max-snippet:"+h:"")+(p?",max-image-preview:"+p:"")+(x?",noarchive":"")+(y?",unavailable_after:"+y:"")+(g?",noimageindex":"")+(m?",max-video-preview:"+m:"")+(v?",notranslate":"")}if(l||u?(e.dangerouslySetAllPagesToNoIndex&&(iJ.noindex=!0),e.dangerouslySetAllPagesToNoFollow&&(iJ.nofollow=!0),o.push(b.createElement("meta",{key:"robots",name:"robots",content:(l?"noindex":"index")+","+(u?"nofollow":"follow")+c}))):o.push(b.createElement("meta",{key:"robots",name:"robots",content:"index,follow"+c})),e.description&&o.push(b.createElement("meta",{key:"description",name:"description",content:e.description})),e.themeColor&&o.push(b.createElement("meta",{key:"theme-color",name:"theme-color",content:e.themeColor})),e.mobileAlternate&&o.push(b.createElement("link",{rel:"alternate",key:"mobileAlternate",media:e.mobileAlternate.media,href:e.mobileAlternate.href})),e.languageAlternates&&e.languageAlternates.length>0&&e.languageAlternates.forEach(function(e){o.push(b.createElement("link",{rel:"alternate",key:"languageAlternate-"+e.hrefLang,hrefLang:e.hrefLang,href:e.href}))}),e.twitter&&(e.twitter.cardType&&o.push(b.createElement("meta",{key:"twitter:card",name:"twitter:card",content:e.twitter.cardType})),e.twitter.site&&o.push(b.createElement("meta",{key:"twitter:site",name:"twitter:site",content:e.twitter.site})),e.twitter.handle&&o.push(b.createElement("meta",{key:"twitter:creator",name:"twitter:creator",content:e.twitter.handle}))),e.facebook&&e.facebook.appId&&o.push(b.createElement("meta",{key:"fb:app_id",property:"fb:app_id",content:e.facebook.appId})),(null!=(t=e.openGraph)&&t.title||s)&&o.push(b.createElement("meta",{key:"og:title",property:"og:title",content:(null==(i=e.openGraph)?void 0:i.title)||s})),(null!=(n=e.openGraph)&&n.description||e.description)&&o.push(b.createElement("meta",{key:"og:description",property:"og:description",content:(null==(a=e.openGraph)?void 0:a.description)||e.description})),e.openGraph){if((e.openGraph.url||e.canonical)&&o.push(b.createElement("meta",{key:"og:url",property:"og:url",content:e.openGraph.url||e.canonical})),e.openGraph.type){var w=e.openGraph.type.toLowerCase();o.push(b.createElement("meta",{key:"og:type",property:"og:type",content:w})),"profile"===w&&e.openGraph.profile?(e.openGraph.profile.firstName&&o.push(b.createElement("meta",{key:"profile:first_name",property:"profile:first_name",content:e.openGraph.profile.firstName})),e.openGraph.profile.lastName&&o.push(b.createElement("meta",{key:"profile:last_name",property:"profile:last_name",content:e.openGraph.profile.lastName})),e.openGraph.profile.username&&o.push(b.createElement("meta",{key:"profile:username",property:"profile:username",content:e.openGraph.profile.username})),e.openGraph.profile.gender&&o.push(b.createElement("meta",{key:"profile:gender",property:"profile:gender",content:e.openGraph.profile.gender}))):"book"===w&&e.openGraph.book?(e.openGraph.book.authors&&e.openGraph.book.authors.length&&e.openGraph.book.authors.forEach(function(e,t){o.push(b.createElement("meta",{key:"book:author:0"+t,property:"book:author",content:e}))}),e.openGraph.book.isbn&&o.push(b.createElement("meta",{key:"book:isbn",property:"book:isbn",content:e.openGraph.book.isbn})),e.openGraph.book.releaseDate&&o.push(b.createElement("meta",{key:"book:release_date",property:"book:release_date",content:e.openGraph.book.releaseDate})),e.openGraph.book.tags&&e.openGraph.book.tags.length&&e.openGraph.book.tags.forEach(function(e,t){o.push(b.createElement("meta",{key:"book:tag:0"+t,property:"book:tag",content:e}))})):"article"===w&&e.openGraph.article?(e.openGraph.article.publishedTime&&o.push(b.createElement("meta",{key:"article:published_time",property:"article:published_time",content:e.openGraph.article.publishedTime})),e.openGraph.article.modifiedTime&&o.push(b.createElement("meta",{key:"article:modified_time",property:"article:modified_time",content:e.openGraph.article.modifiedTime})),e.openGraph.article.expirationTime&&o.push(b.createElement("meta",{key:"article:expiration_time",property:"article:expiration_time",content:e.openGraph.article.expirationTime})),e.openGraph.article.authors&&e.openGraph.article.authors.length&&e.openGraph.article.authors.forEach(function(e,t){o.push(b.createElement("meta",{key:"article:author:0"+t,property:"article:author",content:e}))}),e.openGraph.article.section&&o.push(b.createElement("meta",{key:"article:section",property:"article:section",content:e.openGraph.article.section})),e.openGraph.article.tags&&e.openGraph.article.tags.length&&e.openGraph.article.tags.forEach(function(e,t){o.push(b.createElement("meta",{key:"article:tag:0"+t,property:"article:tag",content:e}))})):("video.movie"===w||"video.episode"===w||"video.tv_show"===w||"video.other"===w)&&e.openGraph.video&&(e.openGraph.video.actors&&e.openGraph.video.actors.length&&e.openGraph.video.actors.forEach(function(e,t){e.profile&&o.push(b.createElement("meta",{key:"video:actor:0"+t,property:"video:actor",content:e.profile})),e.role&&o.push(b.createElement("meta",{key:"video:actor:role:0"+t,property:"video:actor:role",content:e.role}))}),e.openGraph.video.directors&&e.openGraph.video.directors.length&&e.openGraph.video.directors.forEach(function(e,t){o.push(b.createElement("meta",{key:"video:director:0"+t,property:"video:director",content:e}))}),e.openGraph.video.writers&&e.openGraph.video.writers.length&&e.openGraph.video.writers.forEach(function(e,t){o.push(b.createElement("meta",{key:"video:writer:0"+t,property:"video:writer",content:e}))}),e.openGraph.video.duration&&o.push(b.createElement("meta",{key:"video:duration",property:"video:duration",content:e.openGraph.video.duration.toString()})),e.openGraph.video.releaseDate&&o.push(b.createElement("meta",{key:"video:release_date",property:"video:release_date",content:e.openGraph.video.releaseDate})),e.openGraph.video.tags&&e.openGraph.video.tags.length&&e.openGraph.video.tags.forEach(function(e,t){o.push(b.createElement("meta",{key:"video:tag:0"+t,property:"video:tag",content:e}))}),e.openGraph.video.series&&o.push(b.createElement("meta",{key:"video:series",property:"video:series",content:e.openGraph.video.series})))}e.defaultOpenGraphImageWidth&&(iJ.defaultOpenGraphImageWidth=e.defaultOpenGraphImageWidth),e.defaultOpenGraphImageHeight&&(iJ.defaultOpenGraphImageHeight=e.defaultOpenGraphImageHeight),e.openGraph.images&&e.openGraph.images.length&&o.push.apply(o,iX("image",e.openGraph.images,{defaultWidth:iJ.defaultOpenGraphImageWidth,defaultHeight:iJ.defaultOpenGraphImageHeight})),e.defaultOpenGraphVideoWidth&&(iJ.defaultOpenGraphVideoWidth=e.defaultOpenGraphVideoWidth),e.defaultOpenGraphVideoHeight&&(iJ.defaultOpenGraphVideoHeight=e.defaultOpenGraphVideoHeight),e.openGraph.videos&&e.openGraph.videos.length&&o.push.apply(o,iX("video",e.openGraph.videos,{defaultWidth:iJ.defaultOpenGraphVideoWidth,defaultHeight:iJ.defaultOpenGraphVideoHeight})),e.openGraph.audio&&o.push.apply(o,iX("audio",e.openGraph.audio)),e.openGraph.locale&&o.push(b.createElement("meta",{key:"og:locale",property:"og:locale",content:e.openGraph.locale})),(e.openGraph.siteName||e.openGraph.site_name)&&o.push(b.createElement("meta",{key:"og:site_name",property:"og:site_name",content:e.openGraph.siteName||e.openGraph.site_name}))}return e.canonical&&o.push(b.createElement("link",{rel:"canonical",href:e.canonical,key:"canonical"})),e.additionalMetaTags&&e.additionalMetaTags.length>0&&e.additionalMetaTags.forEach(function(e){var t,n,r=e.keyOverride,i=iK(e,iY);o.push(b.createElement("meta",iq({key:"meta:"+(null!=(t=null!=(n=null!=r?r:i.name)?n:i.property)?t:i.httpEquiv)},i)))}),null!=(r=e.additionalLinkTags)&&r.length&&e.additionalLinkTags.forEach(function(e){var t,n=e.crossOrigin,r=iK(e,iQ),i="anonymous"===n||"use-credentials"===n||""===n?n:void 0;o.push(b.createElement("link",iq({key:"link"+(null!=(t=r.keyOverride)?t:r.href)+r.rel},r,{crossOrigin:i})))}),o},i1=function(e){return b.createElement(iB(),null,i0(e))},i2=function(e){var t=e.title,n=e.themeColor,r=e.noindex,i=e.nofollow,a=e.robotsProps,o=e.description,s=e.canonical,l=e.openGraph,u=e.facebook,c=e.twitter,d=e.additionalMetaTags,f=e.titleTemplate,h=e.defaultTitle,p=e.mobileAlternate,m=e.languageAlternates,x=e.additionalLinkTags;return b.createElement(b.Fragment,null,b.createElement(i1,{title:t,themeColor:n,noindex:r,nofollow:i,robotsProps:a,description:o,canonical:s,facebook:u,openGraph:l,additionalMetaTags:d,twitter:c,titleTemplate:f,defaultTitle:h,mobileAlternate:p,languageAlternates:m,additionalLinkTags:x}))};function i4({container:e,accept:t,walk:n,enabled:r=!0}){let i=(0,b.useRef)(t),a=(0,b.useRef)(n);(0,b.useEffect)(()=>{i.current=t,a.current=n},[t,n]),(0,rk.e)(()=>{if(!e||!r)return;let t=(0,ip.r)(e);if(!t)return;let n=i.current,o=a.current,s=Object.assign(e=>n(e),{acceptNode:n}),l=t.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,s,!1);for(;l.nextNode();)o(l.currentNode)},[e,r,i,a])}function i5(...e){return(0,b.useMemo)(()=>(0,ip.r)(...e),[...e])}RegExp("["+Object.keys(Object.freeze({"&":"&","<":"<",">":">",'"':""","'":"'"})).join("")+"]","g");var i3=((d=i3||{})[d.Open=0]="Open",d[d.Closed=1]="Closed",d),i7=((f=i7||{})[f.Pointer=0]="Pointer",f[f.Other=1]="Other",f),i6=((h=i6||{})[h.OpenMenu=0]="OpenMenu",h[h.CloseMenu=1]="CloseMenu",h[h.GoToItem=2]="GoToItem",h[h.Search=3]="Search",h[h.ClearSearch=4]="ClearSearch",h[h.RegisterItem=5]="RegisterItem",h[h.UnregisterItem=6]="UnregisterItem",h);function i9(e,t=e=>e){let n=null!==e.activeItemIndex?e.items[e.activeItemIndex]:null,r=(0,ii.z2)(t(e.items.slice()),e=>e.dataRef.current.domRef.current),i=n?r.indexOf(n):null;return -1===i&&(i=null),{items:r,activeItemIndex:i}}let i8={1:e=>1===e.menuState?e:{...e,activeItemIndex:null,menuState:1},0:e=>0===e.menuState?e:{...e,__demoMode:!1,menuState:0},2:(e,t)=>{var n;let r=i9(e),i=ie(t,{resolveItems:()=>r.items,resolveActiveIndex:()=>r.activeItemIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.current.disabled});return{...e,...r,searchQuery:"",activeItemIndex:i,activationTrigger:null!=(n=t.trigger)?n:1}},3:(e,t)=>{let n=""!==e.searchQuery?0:1,r=e.searchQuery+t.value.toLowerCase(),i=(null!==e.activeItemIndex?e.items.slice(e.activeItemIndex+n).concat(e.items.slice(0,e.activeItemIndex+n)):e.items).find(e=>{var t;return(null==(t=e.dataRef.current.textValue)?void 0:t.startsWith(r))&&!e.dataRef.current.disabled}),a=i?e.items.indexOf(i):-1;return -1===a||a===e.activeItemIndex?{...e,searchQuery:r}:{...e,searchQuery:r,activeItemIndex:a,activationTrigger:1}},4:e=>""===e.searchQuery?e:{...e,searchQuery:"",searchActiveItemIndex:null},5:(e,t)=>{let n=i9(e,e=>[...e,{id:t.id,dataRef:t.dataRef}]);return{...e,...n}},6:(e,t)=>{let n=i9(e,e=>{let n=e.findIndex(e=>e.id===t.id);return -1!==n&&e.splice(n,1),e});return{...e,...n,activationTrigger:1}}},ae=(0,b.createContext)(null);function at(e){let t=(0,b.useContext)(ae);if(null===t){let t=Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,at),t}return t}function an(e,t){return(0,rw.E)(t.type,i8,e,t)}ae.displayName="MenuContext";let ar=b.Fragment;function ai(e,t){let{__demoMode:n=!1,...r}=e,i=(0,b.useReducer)(an,{__demoMode:n,menuState:n?0:1,buttonRef:(0,b.createRef)(),itemsRef:(0,b.createRef)(),items:[],searchQuery:"",activeItemIndex:null,activationTrigger:1}),[{menuState:a,itemsRef:o,buttonRef:s},l]=i,u=(0,rO.T)(t);il([s,o],(e,t)=>{var n;l({type:1}),(0,ii.sP)(t,ii.tJ.Loose)||(e.preventDefault(),null==(n=s.current)||n.focus())},0===a);let c=(0,rP.z)(()=>{l({type:1})}),d=(0,b.useMemo)(()=>({open:0===a,close:c}),[a,c]),f={ref:u};return b.createElement(ae.Provider,{value:i},b.createElement(rb,{value:(0,rw.E)(a,{0:rv.Open,1:rv.Closed})},(0,rx.sY)({ourProps:f,theirProps:r,slot:d,defaultTag:ar,name:"Menu"})))}let aa="button";function ao(e,t){var n;let r=(0,r3.M)(),{id:i=`headlessui-menu-button-${r}`,...a}=e,[o,s]=at("Menu.Button"),l=(0,rO.T)(o.buttonRef,t),u=rA(),c=(0,rP.z)(e=>{switch(e.key){case r6.R.Space:case r6.R.Enter:case r6.R.ArrowDown:e.preventDefault(),e.stopPropagation(),s({type:0}),u.nextFrame(()=>s({type:2,focus:r8.First}));break;case r6.R.ArrowUp:e.preventDefault(),e.stopPropagation(),s({type:0}),u.nextFrame(()=>s({type:2,focus:r8.Last}))}}),d=(0,rP.z)(e=>{e.key===r6.R.Space&&e.preventDefault()}),f=(0,rP.z)(t=>{if(it(t.currentTarget))return t.preventDefault();e.disabled||(0===o.menuState?(s({type:1}),u.nextFrame(()=>{var e;return null==(e=o.buttonRef.current)?void 0:e.focus({preventScroll:!0})})):(t.preventDefault(),s({type:0})))}),h=(0,b.useMemo)(()=>({open:0===o.menuState}),[o]),p={ref:l,id:i,type:(0,ia.f)(e,o.buttonRef),"aria-haspopup":"menu","aria-controls":null==(n=o.itemsRef.current)?void 0:n.id,"aria-expanded":0===o.menuState,onKeyDown:c,onKeyUp:d,onClick:f};return(0,rx.sY)({ourProps:p,theirProps:a,slot:h,defaultTag:aa,name:"Menu.Button"})}let as="div",al=rx.AN.RenderStrategy|rx.AN.Static;function au(e,t){var n,r;let i=(0,r3.M)(),{id:a=`headlessui-menu-items-${i}`,...o}=e,[s,l]=at("Menu.Items"),u=(0,rO.T)(s.itemsRef,t),c=i5(s.itemsRef),d=rA(),f=ry(),h=null!==f?(f&rv.Open)===rv.Open:0===s.menuState;(0,b.useEffect)(()=>{let e=s.itemsRef.current;e&&0===s.menuState&&e!==(null==c?void 0:c.activeElement)&&e.focus({preventScroll:!0})},[s.menuState,s.itemsRef,c]),i4({container:s.itemsRef.current,enabled:0===s.menuState,accept:e=>"menuitem"===e.getAttribute("role")?NodeFilter.FILTER_REJECT:e.hasAttribute("role")?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT,walk(e){e.setAttribute("role","none")}});let p=(0,rP.z)(e=>{var t,n;switch(d.dispose(),e.key){case r6.R.Space:if(""!==s.searchQuery)return e.preventDefault(),e.stopPropagation(),l({type:3,value:e.key});case r6.R.Enter:if(e.preventDefault(),e.stopPropagation(),l({type:1}),null!==s.activeItemIndex){let{dataRef:e}=s.items[s.activeItemIndex];null==(n=null==(t=e.current)?void 0:t.domRef.current)||n.click()}(0,ii.wI)(s.buttonRef.current);break;case r6.R.ArrowDown:return e.preventDefault(),e.stopPropagation(),l({type:2,focus:r8.Next});case r6.R.ArrowUp:return e.preventDefault(),e.stopPropagation(),l({type:2,focus:r8.Previous});case r6.R.Home:case r6.R.PageUp:return e.preventDefault(),e.stopPropagation(),l({type:2,focus:r8.First});case r6.R.End:case r6.R.PageDown:return e.preventDefault(),e.stopPropagation(),l({type:2,focus:r8.Last});case r6.R.Escape:e.preventDefault(),e.stopPropagation(),l({type:1}),(0,rC.k)().nextFrame(()=>{var e;return null==(e=s.buttonRef.current)?void 0:e.focus({preventScroll:!0})});break;case r6.R.Tab:e.preventDefault(),e.stopPropagation(),l({type:1}),(0,rC.k)().nextFrame(()=>{(0,ii.EO)(s.buttonRef.current,e.shiftKey?ii.TO.Previous:ii.TO.Next)});break;default:1===e.key.length&&(l({type:3,value:e.key}),d.setTimeout(()=>l({type:4}),350))}}),m=(0,rP.z)(e=>{e.key===r6.R.Space&&e.preventDefault()}),x=(0,b.useMemo)(()=>({open:0===s.menuState}),[s]),g={"aria-activedescendant":null===s.activeItemIndex||null==(n=s.items[s.activeItemIndex])?void 0:n.id,"aria-labelledby":null==(r=s.buttonRef.current)?void 0:r.id,id:a,onKeyDown:p,onKeyUp:m,role:"menu",tabIndex:0,ref:u};return(0,rx.sY)({ourProps:g,theirProps:o,slot:x,defaultTag:as,features:al,visible:h,name:"Menu.Items"})}let ac=b.Fragment;function ad(e,t){let n=(0,r3.M)(),{id:r=`headlessui-menu-item-${n}`,disabled:i=!1,...a}=e,[o,s]=at("Menu.Item"),l=null!==o.activeItemIndex&&o.items[o.activeItemIndex].id===r,u=(0,b.useRef)(null),c=(0,rO.T)(t,u);(0,rk.e)(()=>{if(o.__demoMode||0!==o.menuState||!l||0===o.activationTrigger)return;let e=(0,rC.k)();return e.requestAnimationFrame(()=>{var e,t;null==(t=null==(e=u.current)?void 0:e.scrollIntoView)||t.call(e,{block:"nearest"})}),e.dispose},[o.__demoMode,u,l,o.menuState,o.activationTrigger,o.activeItemIndex]);let d=iw(u),f=(0,b.useRef)({disabled:i,domRef:u,get textValue(){return d()}});(0,rk.e)(()=>{f.current.disabled=i},[f,i]),(0,rk.e)(()=>(s({type:5,id:r,dataRef:f}),()=>s({type:6,id:r})),[f,r]);let h=(0,rP.z)(()=>{s({type:1})}),p=(0,rP.z)(e=>{if(i)return e.preventDefault();s({type:1}),(0,ii.wI)(o.buttonRef.current)}),m=(0,rP.z)(()=>{if(i)return s({type:2,focus:r8.Nothing});s({type:2,focus:r8.Specific,id:r})}),x=ig(),g=(0,rP.z)(e=>x.update(e)),v=(0,rP.z)(e=>{x.wasMoved(e)&&(i||l||s({type:2,focus:r8.Specific,id:r,trigger:0}))}),y=(0,rP.z)(e=>{x.wasMoved(e)&&(i||l&&s({type:2,focus:r8.Nothing}))}),w=(0,b.useMemo)(()=>({active:l,disabled:i,close:h}),[l,i,h]);return(0,rx.sY)({ourProps:{id:r,ref:c,role:"menuitem",tabIndex:!0===i?void 0:-1,"aria-disabled":!0===i||void 0,disabled:void 0,onClick:p,onFocus:m,onPointerEnter:g,onMouseEnter:g,onPointerMove:v,onMouseMove:v,onPointerLeave:y,onMouseLeave:y},theirProps:a,slot:w,defaultTag:ac,name:"Menu.Item"})}let af=Object.assign((0,rx.yV)(ai),{Button:(0,rx.yV)(ao),Items:(0,rx.yV)(au),Item:(0,rx.yV)(ad)}),ah=e=>"object"==typeof e&&null!=e&&1===e.nodeType,ap=(e,t)=>(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e,am=(e,t)=>{if(e.clientHeight{let t=(e=>{if(!e.ownerDocument||!e.ownerDocument.defaultView)return null;try{return e.ownerDocument.defaultView.frameElement}catch(e){return null}})(e);return!!t&&(t.clientHeightat||a>e&&o=t&&s>=n?a-e-r:o>t&&sn?o-t+i:0,ag=e=>{let t=e.parentElement;return null==t?e.getRootNode().host||null:t},av=(e,t)=>{var n,r,i,a;if("undefined"==typeof document)return[];let{scrollMode:o,block:s,inline:l,boundary:u,skipOverflowHiddenElements:c}=t,d="function"==typeof u?u:e=>e!==u;if(!ah(e))throw TypeError("Invalid target");let f=document.scrollingElement||document.documentElement,h=[],p=e;for(;ah(p)&&d(p);){if((p=ag(p))===f){h.push(p);break}null!=p&&p===document.body&&am(p)&&!am(document.documentElement)||null!=p&&am(p,c)&&h.push(p)}let m=null!=(r=null==(n=window.visualViewport)?void 0:n.width)?r:innerWidth,x=null!=(a=null==(i=window.visualViewport)?void 0:i.height)?a:innerHeight,{scrollX:g,scrollY:v}=window,{height:y,width:b,top:w,right:_,bottom:k,left:j}=e.getBoundingClientRect(),E="start"===s||"nearest"===s?w:"end"===s?k:w+y/2,O="center"===l?j+b/2:"end"===l?_:j,T=[];for(let e=0;e=0&&j>=0&&k<=x&&_<=m&&w>=i&&k<=u&&j>=c&&_<=a)break;let d=getComputedStyle(t),p=parseInt(d.borderLeftWidth,10),C=parseInt(d.borderTopWidth,10),S=parseInt(d.borderRightWidth,10),N=parseInt(d.borderBottomWidth,10),R=0,I=0,A="offsetWidth"in t?t.offsetWidth-t.clientWidth-p-S:0,L="offsetHeight"in t?t.offsetHeight-t.clientHeight-C-N:0,P="offsetWidth"in t?0===t.offsetWidth?0:r/t.offsetWidth:0,M="offsetHeight"in t?0===t.offsetHeight?0:n/t.offsetHeight:0;if(f===t)R="start"===s?E:"end"===s?E-x:"nearest"===s?ax(v,v+x,x,C,N,v+E,v+E+y,y):E-x/2,I="start"===l?O:"center"===l?O-m/2:"end"===l?O-m:ax(g,g+m,m,p,S,g+O,g+O+b,b),R=Math.max(0,R+v),I=Math.max(0,I+g);else{R="start"===s?E-i-C:"end"===s?E-u+N+L:"nearest"===s?ax(i,u,n,C,N+L,E,E+y,y):E-(i+n/2)+L/2,I="start"===l?O-c-p:"center"===l?O-(c+r/2)+A/2:"end"===l?O-a+S+A:ax(c,a,r,p,S+A,O,O+b,b);let{scrollLeft:e,scrollTop:o}=t;R=Math.max(0,Math.min(o+R/M,t.scrollHeight-n/M+L)),I=Math.max(0,Math.min(e+I/P,t.scrollWidth-r/P+A)),E+=o-R,O+=e-I}T.push({el:t,top:R,left:I})}return T},ay=e=>{var t;return!1===e?{block:"end",inline:"nearest"}:(t=e)===Object(t)&&0!==Object.keys(t).length?e:{block:"start",inline:"nearest"}};function ab(e,t){var n;if(!e.isConnected||!(e=>{let t=e;for(;t&&t.parentNode;){if(t.parentNode===document)return!0;t=t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}return!1})(e))return;if("object"==typeof(n=t)&&"function"==typeof n.behavior)return t.behavior(av(e,t));let r="boolean"==typeof t||null==t?void 0:t.behavior;for(let{el:n,top:i,left:a}of av(e,ay(t)))n.scroll({top:i,left:a,behavior:r})}function aw(){return(aw=Object.assign?Object.assign.bind():function(e){for(var t=1;t=(void 0===u?o:u)&&e.push(aw({},s,{item:r,index:a})),e}}function aT(e,t,n,r){if(!t){var i=e;return{rankedValue:i,rank:aC(i,n,r),keyIndex:-1,keyThreshold:r.threshold}}return aP(e,t).reduce(function(e,t,i){var a=e.rank,o=e.rankedValue,s=e.keyIndex,l=e.keyThreshold,u=t.itemValue,c=t.attributes,d=aC(u,n,r),f=o,h=c.minRanking,p=c.maxRanking,m=c.threshold;return d=aj.MATCHES?d=h:d>p&&(d=p),d>a&&(a=d,s=i,l=m,f=u),{rankedValue:f,rank:a,keyIndex:s,keyThreshold:l}},{rankedValue:e,rank:aj.NO_MATCH,keyIndex:-1,keyThreshold:r.threshold})}function aC(e,t,n){return(e=aI(e,n),(t=aI(t,n)).length>e.length)?aj.NO_MATCH:e===t?aj.CASE_SENSITIVE_EQUAL:(e=e.toLowerCase())===(t=t.toLowerCase())?aj.EQUAL:e.startsWith(t)?aj.STARTS_WITH:e.includes(" "+t)?aj.WORD_STARTS_WITH:e.includes(t)?aj.CONTAINS:1===t.length?aj.NO_MATCH:aS(e).includes(t)?aj.ACRONYM:aN(e,t)}function aS(e){var t="";return e.split(" ").forEach(function(e){e.split("-").forEach(function(e){t+=e.substr(0,1)})}),t}function aN(e,t){var n=0,r=0;function i(e,t,r){for(var i=r,a=t.length;i-1))return aj.NO_MATCH;return a(r-o)}function aR(e,t,n){var r=-1,i=1,a=e.rank,o=e.keyIndex,s=t.rank,l=t.keyIndex;return a!==s?a>s?r:i:o===l?n(e,t):ot in e?aF(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,aV=(e,t)=>{for(var n in t||(t={}))aW.call(t,n)&&aG(e,n,t[n]);if(aU)for(var n of aU(t))aH.call(t,n)&&aG(e,n,t[n]);return e},aB=(e,t)=>az(e,a$(t)),aq=(e,t)=>{var n={};for(var r in e)aW.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&aU)for(var r of aU(e))0>t.indexOf(r)&&aH.call(e,r)&&(n[r]=e[r]);return n},aK=(e,t,n)=>new Promise((r,i)=>{var a=e=>{try{s(n.next(e))}catch(e){i(e)}},o=e=>{try{s(n.throw(e))}catch(e){i(e)}},s=e=>e.done?r(e.value):Promise.resolve(e.value).then(a,o);s((n=n.apply(e,t)).next())}),aY=(0,b.createContext)({}),aQ=(0,b.createContext)(e=>e),aJ=(0,b.createContext)(null),aX=new WeakMap,a0=(0,b.createContext)(aX),a1=()=>(0,b.useContext)(aY),a2=()=>(0,b.useContext)(aQ),a4=()=>(0,b.useContext)(aJ),a5=()=>(0,b.useContext)(a0),a3=({children:e})=>{let[t,n]=(0,b.useState)({}),r=(0,b.useRef)(null);return o2&&!r.current&&(r.current=new IntersectionObserver(e=>{n(t=>{let n=aV({},t);for(let t of e)if((null==t?void 0:t.rootBounds)&&aX.has(t.target)){let[e,r]=aX.get(t.target),i=t.boundingClientRect.y+t.boundingClientRect.height<=t.rootBounds.y+t.rootBounds.height,a=t.intersectionRatio>0;n[e]={index:r,aboveHalfViewport:i,insideHalfViewport:a}}let r="",i=1/0,a=-1;for(let e in n)n[e].isActive=!1,n[e].insideHalfViewport&&n[e].indexa&&(a=n[e].index,r=e);return n[r]&&(n[r].isActive=!0),n})},{rootMargin:"0px 0px -50%",threshold:[0,1]})),(0,tR.jsx)(aY.Provider,{value:t,children:(0,tR.jsx)(aQ.Provider,{value:n,children:(0,tR.jsx)(a0.Provider,{value:aX,children:(0,tR.jsx)(aJ.Provider,{value:r.current,children:e})})})})},a7=(0,b.createContext)({menu:!1,setMenu:()=>!1}),a6=()=>(0,b.useContext)(a7),a9=a7.Provider,a8=(0,b.createContext)(aV({title:"",frontMatter:{}},se));function oe(){return(0,b.useContext)(a8)}var ot=({children:e,value:{themeConfig:t,pageOpts:n}})=>{let[r,i]=(0,b.useState)(!1);v||(v=aV(aV({},se),Object.fromEntries(Object.entries(t).map(([e,t])=>[e,t&&"object"==typeof t&&st.includes(e)?aV(aV({},se[e]),t):t]))));let a=aB(aV(aB(aV({},v),{flexsearch:n.flexsearch}),"boolean"==typeof n.newNextLinkBehavior&&{newNextLinkBehavior:n.newNextLinkBehavior}),{title:n.title,frontMatter:n.frontMatter}),{nextThemes:o}=a;return(0,tR.jsx)(tD,{attribute:"class",disableTransitionOnChange:!0,defaultTheme:o.defaultTheme,storageKey:o.storageKey,forcedTheme:o.forcedTheme,children:(0,tR.jsx)(a8.Provider,{value:a,children:(0,tR.jsx)(a9,{value:{menu:r,setMenu:i},children:e})})})},on=(0,b.createContext)(e=>e),or=()=>(0,b.useContext)(on),oi=on.Provider,oa=Number(tN.i8.split(".")[0]),oo=(0,b.forwardRef)(function(e,t){var n=e,{href:r="",children:i,newWindow:a}=n,o=aq(n,["href","children","newWindow"]);let s=oe();return a?(0,tR.jsxs)("a",aB(aV({ref:t,href:r,target:"_blank",rel:"noreferrer"},o),{children:[i,(0,tR.jsx)("span",{className:"nx-sr-only nx-select-none",children:" (opens in a new tab)"})]})):r?oa>12||s.newNextLinkBehavior?(0,tR.jsx)(tS(),aB(aV({ref:t,href:r},o),{children:i})):(0,tR.jsx)(tS(),{href:r,passHref:!0,children:(0,tR.jsx)("a",aB(aV({ref:t},o),{children:i}))}):(0,tR.jsx)("a",aB(aV({ref:t},o),{children:i}))});oo.displayName="Anchor";var os=({repository:e="",title:t,labels:n})=>{let r=t4()(e);if(!r)throw Error("Invalid `docsRepositoryBase` URL!");return r.resource.includes("gitlab")?`${r.protocol}://${r.resource}/${r.owner}/${r.name}/-/issues/new?issue[title]=${encodeURIComponent(t)}${n?`&issue[description]=/label${encodeURIComponent(` ~${n} -`)}`:""}`:r.resource.includes("github")?`${r.protocol}://${r.resource}/${r.owner}/${r.name}/issues/new?title=${encodeURIComponent(t)}&labels=${n||""}`:"#"};function ol(e,t){return e?"function"!=typeof e?e:(0,tR.jsx)(e,aV({},t)):null}function ou(e,t={}){return("function"==typeof e?e(t):e)||""}function oc(e){let t=(0,b.useRef)(null),n=(0,b.useRef)(null),r=(0,b.useRef)(),i=(0,b.useCallback)(()=>{var i;t.current&&n.current&&(null==(i=r.current)||i.call(r),r.current=rf(t.current,n.current,e).destroy)},[t,n,r,e]);return(0,b.useMemo)(()=>[e=>{t.current=e,i()},e=>{n.current=e,i()}],[t,n,i])}function od(e=""){let t=oe(),n=t4()(t.docsRepositoryBase||"");if(!n)throw Error("Invalid `docsRepositoryBase` URL!");return`${n.href}/${e}`}function of(){let{banner:e}=oe();if(!e.text)return null;let t=`try{if(localStorage.getItem(${JSON.stringify(e.key)})==='0'){document.body.classList.add('nextra-banner-hidden')}}catch(e){}`;return(0,tR.jsxs)(tR.Fragment,{children:[(0,tR.jsx)("script",{dangerouslySetInnerHTML:{__html:t}}),(0,tR.jsxs)("div",{className:(0,w.Z)("nextra-banner-container nx-sticky nx-top-0 nx-z-20 nx-flex nx-items-center md:nx-relative","nx-h-[var(--nextra-banner-height)] [body.nextra-banner-hidden_&]:nx-hidden","nx-text-slate-50 dark:nx-text-white nx-bg-neutral-900 dark:nx-bg-[linear-gradient(1deg,#383838,#212121)]","nx-px-2 ltr:nx-pl-10 rtl:nx-pr-10 print:nx-hidden"),children:[(0,tR.jsx)("div",{className:"nx-w-full nx-truncate nx-px-4 nx-text-center nx-font-medium nx-text-sm",children:ol(e.text)}),e.dismissible&&(0,tR.jsx)("button",{type:"button","aria-label":"Dismiss banner",className:"nx-w-8 nx-h-8 nx-opacity-80 hover:nx-opacity-100",onClick:()=>{try{localStorage.setItem(e.key,"0")}catch(e){}document.body.classList.add("nextra-banner-hidden")},children:(0,tR.jsx)(T.b0,{className:"nx-mx-auto nx-h-4 nx-w-4"})})]})]})}function oh({activePath:e}){return(0,tR.jsx)("div",{className:"nextra-breadcrumb nx-mt-1.5 nx-flex nx-items-center nx-gap-1 nx-overflow-hidden nx-text-sm nx-text-gray-500 dark:nx-text-gray-400 contrast-more:nx-text-current",children:e.map((t,n)=>{let r=!t.children||t.withIndexPage,i=n===e.length-1;return(0,tR.jsxs)(b.Fragment,{children:[n>0&&(0,tR.jsx)(T.LZ,{className:"nx-w-3.5 nx-shrink-0"}),(0,tR.jsx)("div",{className:(0,w.Z)("nx-whitespace-nowrap nx-transition-colors",i?"nx-font-medium nx-text-gray-700 contrast-more:nx-font-bold contrast-more:nx-text-current dark:nx-text-gray-100 contrast-more:dark:nx-text-current":["nx-min-w-[24px] nx-overflow-hidden nx-text-ellipsis",r&&"hover:nx-text-gray-900 dark:hover:nx-text-gray-100"]),title:t.title,children:r&&!i?(0,tR.jsx)(oo,{href:t.route,children:t.title}):t.title})]},t.route+t.name)})})}function op({children:e,className:t,isOpen:n,horizontal:r=!1}){let i=(0,b.useRef)(null),a=(0,b.useRef)(null),o=(0,b.useRef)(0),s=(0,b.useRef)(n),l=(0,b.useRef)(!0);return(0,b.useEffect)(()=>{let e=i.current,t=a.current,s=o.current;s&&clearTimeout(s),!l.current&&e&&t&&(e.classList.toggle("nx-duration-500",!n),e.classList.toggle("nx-duration-300",n),r?(t.style.width=`${t.clientWidth}px`,e.style.width=`${t.clientWidth}px`):e.style.height=`${t.clientHeight}px`,n?o.current=window.setTimeout(()=>{e.style.removeProperty("height")},300):setTimeout(()=>{r?e.style.width="0px":e.style.height="0px"},0))},[r,n]),(0,b.useEffect)(()=>{l.current=!1},[]),(0,tR.jsx)("div",{ref:i,className:"nx-transform-gpu nx-overflow-hidden nx-transition-all nx-ease-in-out motion-reduce:nx-transition-none",style:s.current||r?void 0:{height:0},children:(0,tR.jsx)("div",{ref:a,className:(0,w.Z)("nx-transition-opacity nx-duration-500 nx-ease-in-out motion-reduce:nx-transition-none",n?"nx-opacity-100":"nx-opacity-0",t),children:e})})}var om=(0,b.memo)(function({value:e,match:t}){let n;if(!e)return null;let r=e.split(""),i=RegExp(rm(t.trim()).replaceAll(" ","|"),"ig"),a=0,o=[];for(;(n=i.exec(e))&&0!==i.lastIndex;){let e=r.splice(0,n.index-a).join(""),t=r.splice(0,i.lastIndex-n.index).join("");o.push(e,(0,tR.jsx)("span",{className:"nx-text-primary-600",children:t},n.index)),a=i.lastIndex}return(0,tR.jsxs)(tR.Fragment,{children:[o,r.join("")]})}),ox=(0,b.forwardRef)((e,t)=>{var n=e,{className:r,suffix:i}=n,a=aq(n,["className","suffix"]);return(0,tR.jsxs)("div",{className:"nx-relative nx-flex nx-items-center nx-text-gray-900 contrast-more:nx-text-gray-800 dark:nx-text-gray-300 contrast-more:dark:nx-text-gray-300",children:[(0,tR.jsx)("input",aV({ref:t,spellCheck:!1,className:(0,w.Z)(r,"nx-block nx-w-full nx-appearance-none nx-rounded-lg nx-px-3 nx-py-2 nx-transition-colors","nx-text-base nx-leading-tight md:nx-text-sm","nx-bg-black/[.05] dark:nx-bg-gray-50/10","focus:nx-bg-white dark:focus:nx-bg-dark","placeholder:nx-text-gray-500 dark:placeholder:nx-text-gray-400","contrast-more:nx-border contrast-more:nx-border-current")},a)),i]})});ox.displayName="Input";var og=["input","select","button","textarea"];function ov({className:e,overlayClassName:t,value:n,onChange:r,onActive:i,loading:a,error:o,results:s}){let[l,u]=(0,b.useState)(!1),c=oe(),[d,f]=(0,b.useState)(0),h=(0,y.useRouter)(),{setMenu:p}=a6(),m=(0,b.useRef)(null),x=(0,b.useRef)(null),[g,v]=(0,b.useState)(!1),[k,j]=(0,b.useState)(!0);(0,b.useEffect)(()=>{f(0)},[n]),(0,b.useEffect)(()=>{let e=e=>{let t=document.activeElement,n=null==t?void 0:t.tagName.toLowerCase();!m.current||!n||og.includes(n)||null!=t&&t.isContentEditable||("/"===e.key||"k"===e.key&&(e.metaKey||e.ctrlKey)?(e.preventDefault(),m.current.focus({preventScroll:!0})):"Escape"===e.key&&(u(!1),m.current.blur()))};return window.addEventListener("keydown",e),()=>{window.removeEventListener("keydown",e)}},[]);let E=(0,b.useCallback)(()=>{var e;null==(e=m.current)||e.blur(),r(""),u(!1),p(!1)},[r,p]),O=(0,b.useCallback)(e=>{let{index:t}=e.currentTarget.dataset;f(Number(t))},[]),C=(0,b.useCallback)(function(e){var t,n,r;switch(e.key){case"ArrowDown":if(d+1 a`);n&&(e.preventDefault(),O({currentTarget:n}),n.focus())}break;case"ArrowUp":if(d-1>=0){let t=null==(n=x.current)?void 0:n.querySelector(`li:nth-of-type(${d}) > a`);t&&(e.preventDefault(),O({currentTarget:t}),t.focus())}break;case"Enter":{let e=s[d];e&&k&&(h.push(e.route),E());break}case"Escape":u(!1),null==(r=m.current)||r.blur()}},[d,s,h,E,O,k]),S=_(),N=l&&!!n,R=(0,tR.jsx)(r4,{show:S&&(!l||!!n),as:b.Fragment,enter:"nx-transition-opacity",enterFrom:"nx-opacity-0",enterTo:"nx-opacity-100",leave:"nx-transition-opacity",leaveFrom:"nx-opacity-100",leaveTo:"nx-opacity-0",children:(0,tR.jsx)("kbd",{className:(0,w.Z)("nx-absolute nx-my-1.5 nx-select-none ltr:nx-right-1.5 rtl:nx-left-1.5","nx-h-5 nx-rounded nx-bg-white nx-px-1.5 nx-font-mono nx-text-[10px] nx-font-medium nx-text-gray-500","nx-border dark:nx-border-gray-100/20 dark:nx-bg-dark/50","contrast-more:nx-border-current contrast-more:nx-text-current contrast-more:dark:nx-border-current","nx-items-center nx-gap-1 nx-transition-opacity",n?"nx-z-20 nx-flex nx-cursor-pointer hover:nx-opacity-70":"nx-pointer-events-none nx-hidden sm:nx-flex"),title:n?"Clear":void 0,onClick:()=>{r("")},children:n&&g?"ESC":S&&(navigator.userAgent.includes("Macintosh")?(0,tR.jsxs)(tR.Fragment,{children:[(0,tR.jsx)("span",{className:"nx-text-xs",children:"⌘"}),"K"]}):"CTRL K")})}),I=(0,b.useCallback)(e=>{j("compositionend"===e.type)},[]);return(0,tR.jsxs)("div",{className:(0,w.Z)("nextra-search nx-relative md:nx-w-64",e),children:[N&&(0,tR.jsx)("div",{className:"nx-fixed nx-inset-0 nx-z-10",onClick:()=>u(!1)}),(0,tR.jsx)(ox,{ref:m,value:n,onChange:e=>{let{value:t}=e.target;r(t),u(!!t)},onFocus:()=>{null==i||i(!0),v(!0)},onBlur:()=>{v(!1)},onCompositionStart:I,onCompositionEnd:I,type:"search",placeholder:ou(c.search.placeholder),onKeyDown:C,suffix:R}),(0,tR.jsx)(r4,{show:N,as:r4.Child,leave:"nx-transition-opacity nx-duration-100",leaveFrom:"nx-opacity-100",leaveTo:"nx-opacity-0",children:(0,tR.jsx)("ul",{className:(0,w.Z)("nextra-scrollbar","nx-border nx-border-gray-200 nx-bg-white nx-text-gray-100 dark:nx-border-neutral-800 dark:nx-bg-neutral-900","nx-absolute nx-top-full nx-z-20 nx-mt-2 nx-overflow-auto nx-overscroll-contain nx-rounded-xl nx-py-2.5 nx-shadow-xl","nx-max-h-[min(calc(50vh-11rem-env(safe-area-inset-bottom)),400px)]","md:nx-max-h-[min(calc(100vh-5rem-env(safe-area-inset-bottom)),400px)]","nx-inset-x-0 ltr:md:nx-left-auto rtl:md:nx-right-auto","contrast-more:nx-border contrast-more:nx-border-gray-900 contrast-more:dark:nx-border-gray-50",t),ref:x,style:{transition:"max-height .2s ease"},children:o?(0,tR.jsxs)("span",{className:"nx-flex nx-select-none nx-justify-center nx-gap-2 nx-p-8 nx-text-center nx-text-sm nx-text-red-500",children:[(0,tR.jsx)(T.AV,{className:"nx-h-5 nx-w-5"}),ou(c.search.error)]}):a?(0,tR.jsxs)("span",{className:"nx-flex nx-select-none nx-justify-center nx-gap-2 nx-p-8 nx-text-center nx-text-sm nx-text-gray-400",children:[(0,tR.jsx)(T.L4,{className:"nx-h-5 nx-w-5 nx-animate-spin"}),ol(c.search.loading)]}):s.length>0?s.map(({route:e,prefix:t,children:n,id:r},i)=>(0,tR.jsxs)(b.Fragment,{children:[t,(0,tR.jsx)("li",{className:(0,w.Z)("nx-mx-2.5 nx-break-words nx-rounded-md","contrast-more:nx-border",i===d?"nx-bg-primary-500/10 nx-text-primary-600 contrast-more:nx-border-primary-500":"nx-text-gray-800 contrast-more:nx-border-transparent dark:nx-text-gray-300"),children:(0,tR.jsx)(oo,{className:"nx-block nx-scroll-m-12 nx-px-2.5 nx-py-2",href:e,"data-index":i,onFocus:O,onMouseMove:O,onClick:E,onKeyDown:C,children:n})})]},r)):ol(c.search.emptyResult)})})]})}var oy={},ob=new Map,ow=(e,t)=>{let n=e+"@"+t;if(ob.has(n))return ob.get(n);let r=o_(e,t);return ob.set(n,r),r},o_=(e,t)=>aK(void 0,null,function*(){let n=yield fetch(`${e}/_next/static/chunks/nextra-data-${t}.json`),r=yield n.json(),i=new(rp()).Document({cache:100,tokenize:"full",document:{id:"id",index:"content",store:["title"]},context:{resolution:9,depth:2,bidirectional:!0}}),a=new(rp()).Document({cache:100,tokenize:"full",document:{id:"id",index:"content",tag:"pageId",store:["title","content","url","display"]},context:{resolution:9,depth:2,bidirectional:!0}}),o=0;for(let[e,t]of Object.entries(r)){let n="";for(let[r,i]of(++o,Object.entries(t.data))){let[s,l]=r.split("#"),u=e+(s?"#"+s:""),c=l||t.title,d=i.split("\n");a.add(aV({id:u,url:u,title:c,pageId:`page_${o}`,content:c},d[0]&&{display:d[0]}));for(let e=0;e{var n,r;if(!e)return;let[i,a]=oy[t],o=(null==(n=i.search(e,5,{enrich:!0,suggest:!0})[0])?void 0:n.result)||[],s=[],u={};for(let t=0;te._page_rk===t._page_rk?e._section_rk-t._section_rk:u[e._page_rk]!==u[t._page_rk]?u[t._page_rk]-u[e._page_rk]:e._page_rk-t._page_rk).map(e=>({id:`${e._page_rk}_${e._section_rk}`,route:e.route,prefix:e.prefix,children:e.children})))},f=(0,b.useCallback)(e=>aK(this,null,function*(){if(e&&!oy[t]){i(!0);try{yield ow(n,t)}catch(e){o(!0)}i(!1)}}),[t,n]),h=e=>aK(this,null,function*(){if(c(e),!r){if(!oy[t]){i(!0);try{yield ow(n,t)}catch(e){o(!0)}i(!1)}d(e)}});return(0,tR.jsx)(ov,{loading:r,error:a,value:u,onChange:h,onActive:f,className:e,overlayClassName:"nx-w-screen nx-min-h-[100px] nx-max-w-[min(calc(100vw-2rem),calc(100%+20rem))]",results:s})}function oj({options:e,selected:t,onChange:n,title:r,className:i}){let[a,o]=oc({strategy:"fixed",placement:"top-start",modifiers:[{name:"offset",options:{offset:[0,10]}},{name:"sameWidth",enabled:!0,fn({state:e}){e.styles.popper.minWidth=`${e.rects.reference.width}px`},phase:"beforeWrite",requires:["computeStyles"]}]});return(0,tR.jsx)(iH,{value:t,onChange:n,children:({open:n})=>(0,tR.jsxs)(iH.Button,{ref:a,title:r,className:(0,w.Z)("nx-h-7 nx-rounded-md nx-px-2 nx-text-left nx-text-xs nx-font-medium nx-text-gray-600 nx-transition-colors dark:nx-text-gray-400",n?"nx-bg-gray-200 nx-text-gray-900 dark:nx-bg-primary-100/10 dark:nx-text-gray-50":"hover:nx-bg-gray-100 hover:nx-text-gray-900 dark:hover:nx-bg-primary-100/5 dark:hover:nx-text-gray-50",i),children:[t.name,(0,tR.jsx)(oE,{children:(0,tR.jsx)(r4,{ref:o,show:n,as:iH.Options,className:"nx-z-20 nx-max-h-64 nx-overflow-auto nx-rounded-md nx-ring-1 nx-ring-black/5 nx-bg-white nx-py-1 nx-text-sm nx-shadow-lg dark:nx-ring-white/20 dark:nx-bg-neutral-800",leave:"nx-transition-opacity",leaveFrom:"nx-opacity-100",leaveTo:"nx-opacity-0",children:e.map(e=>(0,tR.jsxs)(iH.Option,{value:e,className:({active:e})=>(0,w.Z)(e?"nx-bg-primary-50 nx-text-primary-600 dark:nx-bg-primary-500/10":"nx-text-gray-800 dark:nx-text-gray-100","nx-relative nx-cursor-pointer nx-whitespace-nowrap nx-py-1.5","nx-transition-colors ltr:nx-pl-3 ltr:nx-pr-9 rtl:nx-pr-3 rtl:nx-pl-9"),children:[e.name,e.key===t.key&&(0,tR.jsx)("span",{className:"nx-absolute nx-inset-y-0 nx-flex nx-items-center ltr:nx-right-3 rtl:nx-left-3",children:(0,tR.jsx)(T.nQ,{})})]},e.key))})})]})})}function oE(e){return _()?(0,iG.createPortal)(e.children,document.body):null}function oO({lite:e,className:t}){let n=oe(),{locale:r,asPath:i}=(0,y.useRouter)(),a=n.i18n;if(!a.length)return null;let o=a.find(e=>r===e.locale);return(0,tR.jsx)(oj,{title:"Change language",className:t,onChange:e=>{let t=new Date(Date.now()+31536e6);document.cookie=`NEXT_LOCALE=${e.key}; expires=${t.toUTCString()}; path=/`,location.href=(0,r5.addBasePath)(i)},selected:{key:(null==o?void 0:o.locale)||"",name:(0,tR.jsxs)("span",{className:"nx-flex nx-items-center nx-gap-2",children:[(0,tR.jsx)(T.n9,{}),(0,tR.jsx)("span",{className:e?"nx-hidden":"",children:null==o?void 0:o.text})]})},options:a.map(e=>({key:e.locale,name:e.text}))})}function oT({menu:e}){let t=oe();return(0,tR.jsxs)("footer",{className:"nx-bg-gray-100 nx-pb-[env(safe-area-inset-bottom)] dark:nx-bg-neutral-900 print:nx-bg-transparent",children:[(0,tR.jsxs)("div",{className:(0,w.Z)("nx-mx-auto nx-flex nx-max-w-[90rem] nx-gap-2 nx-py-2 nx-px-4",e&&(t.i18n.length>0||t.darkMode)?"nx-flex":"nx-hidden"),children:[(0,tR.jsx)(oO,{}),t.darkMode&&ol(t.themeSwitch.component)]}),(0,tR.jsx)("hr",{className:"dark:nx-border-neutral-800"}),(0,tR.jsx)("div",{className:(0,w.Z)("nx-mx-auto nx-flex nx-max-w-[90rem] nx-justify-center nx-py-12 nx-text-gray-600 dark:nx-text-gray-400 md:nx-justify-start","nx-pl-[max(env(safe-area-inset-left),1.5rem)] nx-pr-[max(env(safe-area-inset-right),1.5rem)]"),children:ol(t.footer.text)})]})}function oC(){var e;let t=oe(),{resolvedTheme:n}=tZ(),r=_(),i="function"==typeof t.head?t.head({}):t.head,{primaryHue:a,primarySaturation:o}=t,{dark:s,light:l}="number"==typeof a?{dark:a,light:a}:a,{dark:u,light:c}="number"==typeof o?{dark:o,light:o}:o,d=t.frontMatter;return(0,tR.jsxs)(tR.Fragment,{children:[(0,tR.jsx)(i2,aV({title:t.title,description:d.description,canonical:d.canonical,openGraph:d.openGraph},null==(e=t.useNextSeoProps)?void 0:e.call(t))),(0,tR.jsxs)(iB(),{children:[t.faviconGlyph?(0,tR.jsx)("link",{rel:"icon",href:`data:image/svg+xml;utf8,${t.faviconGlyph}`}):null,r?(0,tR.jsx)("meta",{name:"theme-color",content:"dark"===n?"#111":"#fff"}):(0,tR.jsxs)(tR.Fragment,{children:[(0,tR.jsx)("meta",{name:"theme-color",content:"#fff",media:"(prefers-color-scheme: light)"}),(0,tR.jsx)("meta",{name:"theme-color",content:"#111",media:"(prefers-color-scheme: dark)"})]}),(0,tR.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0, viewport-fit=cover"}),(0,tR.jsx)("style",{children:` - :root { - --nextra-primary-hue: ${l}deg; - --nextra-primary-saturation: ${c}%; - --nextra-navbar-height: 4rem; - --nextra-menu-height: 3.75rem; - --nextra-banner-height: 2.5rem; - } - - .dark { - --nextra-primary-hue: ${s}deg; - --nextra-primary-saturation: ${u}%; - } - `}),i]})]})}var oS={link:(0,w.Z)("nx-flex nx-max-w-[50%] nx-items-center nx-gap-1 nx-py-4 nx-text-base nx-font-medium nx-text-gray-600 nx-transition-colors [word-break:break-word] hover:nx-text-primary-600 dark:nx-text-gray-300 md:nx-text-lg"),icon:(0,w.Z)("nx-inline nx-h-5 nx-shrink-0")},oN=({flatDirectories:e,currentIndex:t})=>{let n=oe().navigation,r="boolean"==typeof n?{prev:n,next:n}:n,i=r.prev&&e[t-1],a=r.next&&e[t+1];return(i&&!i.isUnderCurrentDocsTree&&(i=!1),a&&!a.isUnderCurrentDocsTree&&(a=!1),i||a)?(0,tR.jsxs)("div",{className:(0,w.Z)("nx-mb-8 nx-flex nx-items-center nx-border-t nx-pt-8 dark:nx-border-neutral-800","contrast-more:nx-border-neutral-400 dark:contrast-more:nx-border-neutral-400","print:nx-hidden"),children:[i&&(0,tR.jsxs)(oo,{href:i.route,title:i.title,className:(0,w.Z)(oS.link,"ltr:nx-pr-4 rtl:nx-pl-4"),children:[(0,tR.jsx)(T.LZ,{className:(0,w.Z)(oS.icon,"ltr:nx-rotate-180")}),i.title]}),a&&(0,tR.jsxs)(oo,{href:a.route,title:a.title,className:(0,w.Z)(oS.link,"ltr:nx-ml-auto ltr:nx-pl-4 ltr:nx-text-right rtl:nx-mr-auto rtl:nx-pr-4 rtl:nx-text-left"),children:[a.title,(0,tR.jsx)(T.LZ,{className:(0,w.Z)(oS.icon,"rtl:nx-rotate-180")})]})]}):null},oR={link:(0,w.Z)("nx-text-sm contrast-more:nx-text-gray-700 contrast-more:dark:nx-text-gray-100"),active:(0,w.Z)("nx-font-medium nx-subpixel-antialiased"),inactive:(0,w.Z)("nx-text-gray-600 hover:nx-text-gray-800 dark:nx-text-gray-400 dark:hover:nx-text-gray-200")};function oI({className:e,menu:t,children:n}){let{items:r}=t,i=Object.fromEntries((t.children||[]).map(e=>[e.name,e]));return(0,tR.jsx)("div",{className:"nx-relative nx-inline-block",children:(0,tR.jsxs)(af,{children:[(0,tR.jsx)(af.Button,{className:(0,w.Z)(e,"-nx-ml-2 nx-hidden nx-items-center nx-whitespace-nowrap nx-rounded nx-p-2 md:nx-inline-flex",oR.inactive),children:n}),(0,tR.jsx)(r4,{leave:"nx-transition-opacity",leaveFrom:"nx-opacity-100",leaveTo:"nx-opacity-0",children:(0,tR.jsx)(af.Items,{className:"nx-absolute nx-right-0 nx-z-20 nx-mt-1 nx-max-h-64 nx-min-w-full nx-overflow-auto nx-rounded-md nx-ring-1 nx-ring-black/5 nx-bg-white nx-py-1 nx-text-sm nx-shadow-lg dark:nx-ring-white/20 dark:nx-bg-neutral-800",tabIndex:0,children:Object.entries(r||{}).map(([e,n])=>{var r;return(0,tR.jsx)(af.Item,{children:(0,tR.jsx)(oo,{href:n.href||(null==(r=i[e])?void 0:r.route)||t.route+"/"+e,className:(0,w.Z)("nx-relative nx-hidden nx-w-full nx-select-none nx-whitespace-nowrap nx-text-gray-600 hover:nx-text-gray-900 dark:nx-text-gray-400 dark:hover:nx-text-gray-100 md:nx-inline-block","nx-py-1.5 nx-transition-colors ltr:nx-pl-3 ltr:nx-pr-9 rtl:nx-pr-3 rtl:nx-pl-9"),newWindow:n.newWindow,children:n.title||e})},e)})})})]})})}function oA({flatDirectories:e,items:t}){let n=oe(),r=E(),{menu:i,setMenu:a}=a6();return(0,tR.jsxs)("div",{className:"nextra-nav-container nx-sticky nx-top-0 nx-z-20 nx-w-full nx-bg-transparent print:nx-hidden",children:[(0,tR.jsx)("div",{className:(0,w.Z)("nextra-nav-container-blur","nx-pointer-events-none nx-absolute nx-z-[-1] nx-h-full nx-w-full nx-bg-white dark:nx-bg-dark","nx-shadow-[0_2px_4px_rgba(0,0,0,.02),0_1px_0_rgba(0,0,0,.06)] dark:nx-shadow-[0_-1px_0_rgba(255,255,255,.1)_inset]","contrast-more:nx-shadow-[0_0_0_1px_#000] contrast-more:dark:nx-shadow-[0_0_0_1px_#fff]")}),(0,tR.jsxs)("nav",{className:"nx-mx-auto nx-flex nx-h-[var(--nextra-navbar-height)] nx-max-w-[90rem] nx-items-center nx-justify-end nx-gap-2 nx-pl-[max(env(safe-area-inset-left),1.5rem)] nx-pr-[max(env(safe-area-inset-right),1.5rem)]",children:[n.logoLink?(0,tR.jsx)(oo,{href:"string"==typeof n.logoLink?n.logoLink:"/",className:"nx-flex nx-items-center hover:nx-opacity-75 ltr:nx-mr-auto rtl:nx-ml-auto",children:ol(n.logo)}):(0,tR.jsx)("div",{className:"nx-flex nx-items-center ltr:nx-mr-auto rtl:nx-ml-auto",children:ol(n.logo)}),t.map(e=>{if("hidden"===e.display)return null;if("menu"===e.type){let t=e;return(0,tR.jsxs)(oI,{className:(0,w.Z)(oR.link,"nx-flex nx-gap-1",oR.inactive),menu:t,children:[t.title,(0,tR.jsx)(T.LZ,{className:"nx-h-[18px] nx-min-w-[18px] nx-rounded-sm nx-p-0.5",pathClassName:"nx-origin-center nx-transition-transform nx-rotate-90"})]},t.title)}let t=e,n=t.href||t.route||"#";t.children&&(n=(t.withIndexPage?t.route:t.firstChildRoute)||n);let i=t.route===r||r.startsWith(t.route+"/");return(0,tR.jsxs)(oo,{href:n,className:(0,w.Z)(oR.link,"nx-relative -nx-ml-2 nx-hidden nx-whitespace-nowrap nx-p-2 md:nx-inline-block",!i||t.newWindow?oR.inactive:oR.active),newWindow:t.newWindow,"aria-current":!t.newWindow&&i,children:[(0,tR.jsx)("span",{className:"nx-absolute nx-inset-x-0 nx-text-center",children:t.title}),(0,tR.jsx)("span",{className:"nx-invisible nx-font-medium",children:t.title})]},n)}),ol(n.search.component,{directories:e,className:"nx-hidden md:nx-inline-block mx-min-w-[200px]"}),n.project.link?(0,tR.jsx)(oo,{className:"nx-p-2 nx-text-current",href:n.project.link,newWindow:!0,children:ol(n.project.icon)}):null,n.chat.link?(0,tR.jsx)(oo,{className:"nx-p-2 nx-text-current",href:n.chat.link,newWindow:!0,children:ol(n.chat.icon)}):null,ol(n.navbar.extraContent),(0,tR.jsx)("button",{type:"button","aria-label":"Menu",className:"nextra-hamburger -nx-mr-2 nx-rounded nx-p-2 active:nx-bg-gray-400/20 md:nx-hidden",onClick:()=>a(!i),children:(0,tR.jsx)(T.Oq,{className:(0,w.Z)({open:i})})})]})]})}var oL=Object.create(null),oP=(0,b.createContext)(null),oM=(0,b.createContext)(null),oZ=(0,b.createContext)(0),oD=(0,b.memo)(function(e){let t=(0,b.useContext)(oZ);return(0,tR.jsx)(oZ.Provider,{value:t+1,children:(0,tR.jsx)(oz,aV({},e))})}),oF={link:(0,w.Z)("nx-flex nx-rounded nx-px-2 nx-py-1.5 nx-text-sm nx-transition-colors [word-break:break-word]","nx-cursor-pointer [-webkit-tap-highlight-color:transparent] [-webkit-touch-callout:none] contrast-more:nx-border"),inactive:(0,w.Z)("nx-text-gray-500 hover:nx-bg-gray-100 hover:nx-text-gray-900","dark:nx-text-neutral-400 dark:hover:nx-bg-primary-100/5 dark:hover:nx-text-gray-50","contrast-more:nx-text-gray-900 contrast-more:dark:nx-text-gray-50","contrast-more:nx-border-transparent contrast-more:hover:nx-border-gray-900 contrast-more:dark:hover:nx-border-gray-50"),active:(0,w.Z)("nx-bg-primary-100 nx-font-semibold nx-text-primary-800 dark:nx-bg-primary-400/10 dark:nx-text-primary-600","contrast-more:nx-border-primary-500 contrast-more:dark:nx-border-primary-500"),list:(0,w.Z)("nx-flex nx-flex-col nx-gap-1"),border:(0,w.Z)("nx-relative before:nx-absolute before:nx-inset-y-1",'before:nx-w-px before:nx-bg-gray-200 before:nx-content-[""] dark:before:nx-bg-neutral-800',"ltr:nx-pl-3 ltr:before:nx-left-0 rtl:nx-pr-3 rtl:before:nx-right-0")};function oz({item:e,anchors:t}){let[n]=E().split("#"),r=[n,n+"/"].includes(e.route+"/"),i=r||n.startsWith(e.route+"/"),a=(0,b.useContext)(oP),o=!!(null==a?void 0:a.startsWith(e.route+"/")),s=(0,b.useContext)(oZ),{setMenu:l}=a6(),u=oe(),{theme:c}=e,d=void 0===oL[e.route]?r||i||o||(c&&"collapsed"in c?!c.collapsed:s{let t=()=>{(i||o)&&(oL[e.route]=!0)},n=()=>{i&&o?oL[e.route]=!0:delete oL[e.route]};u.sidebar.autoCollapse?n():t()},[i,o,e.route,u.sidebar.autoCollapse]),"menu"===e.type){let t=e,n=Object.fromEntries((t.children||[]).map(e=>[e.name,e]));e.children=Object.entries(t.items||{}).map(([e,r])=>{let i=n[e]||aB(aV({name:e},"locale"in t&&{locale:t.locale}),{route:t.route+"/"+e});return aV(aV({},i),r)})}let h="withIndexPage"in e&&e.withIndexPage,p=h?oo:"button";return(0,tR.jsxs)("li",{className:(0,w.Z)({open:d,active:r}),children:[(0,tR.jsxs)(p,{href:h?e.route:void 0,className:(0,w.Z)("nx-items-center nx-justify-between nx-gap-2",!h&&"nx-text-left nx-w-full",oF.link,r?oF.active:oF.inactive),onClick:t=>{let n=["svg","path"].includes(t.target.tagName.toLowerCase());if(n&&t.preventDefault(),h){r||n?oL[e.route]=!d:(oL[e.route]=!0,l(!1)),f({});return}r||(oL[e.route]=!d,f({}))},children:[ol(u.sidebar.titleComponent,{title:e.title,type:e.type,route:e.route}),(0,tR.jsx)(T.LZ,{className:"nx-h-[18px] nx-min-w-[18px] nx-rounded-sm nx-p-0.5 hover:nx-bg-gray-800/5 dark:hover:nx-bg-gray-100/5",pathClassName:(0,w.Z)("nx-origin-center nx-transition-transform rtl:-nx-rotate-180",d&&"ltr:nx-rotate-90 rtl:nx-rotate-[-270deg]")})]}),(0,tR.jsx)(op,{className:"ltr:nx-pr-0 rtl:nx-pl-0 nx-pt-1",isOpen:d,children:Array.isArray(e.children)?(0,tR.jsx)(oW,{className:(0,w.Z)(oF.border,"ltr:nx-ml-3 rtl:nx-mr-3"),directories:e.children,base:e.route,anchors:t}):null})]})}function o$({title:e}){let t=oe();return(0,tR.jsx)("li",{className:(0,w.Z)("[word-break:break-word]",e?"nx-mt-5 nx-mb-2 nx-px-2 nx-py-1.5 nx-text-sm nx-font-semibold nx-text-gray-900 first:nx-mt-0 dark:nx-text-gray-100":"nx-my-4"),children:e?ol(t.sidebar.titleComponent,{title:e,type:"separator",route:""}):(0,tR.jsx)("hr",{className:"nx-mx-2 nx-border-t nx-border-gray-200 dark:nx-border-primary-100/10"})})}function oU({item:e,anchors:t}){let n=E(),r=(0,b.useContext)(oM),i=e.route&&[n,n+"/"].includes(e.route+"/"),a=a1(),{setMenu:o}=a6(),s=oe();return"separator"===e.type?(0,tR.jsx)(o$,{title:e.title}):(0,tR.jsxs)("li",{className:(0,w.Z)(oF.list,{active:i}),children:[(0,tR.jsx)(oo,{href:e.href||e.route,newWindow:e.newWindow,className:(0,w.Z)(oF.link,i?oF.active:oF.inactive),onClick:()=>{o(!1)},onFocus:()=>{null==r||r(e.route)},onBlur:()=>{null==r||r(null)},children:ol(s.sidebar.titleComponent,{title:e.title,type:e.type,route:e.route})}),i&&t.length>0&&(0,tR.jsx)("ul",{className:(0,w.Z)(oF.list,oF.border,"ltr:nx-ml-3 rtl:nx-mr-3"),children:t.map(({id:e,value:t})=>{var n;return(0,tR.jsx)("li",{children:(0,tR.jsx)("a",{href:`#${e}`,className:(0,w.Z)(oF.link,'nx-flex nx-gap-2 before:nx-opacity-25 before:nx-content-["#"]',(null==(n=a[e])?void 0:n.isActive)?oF.active:oF.inactive),onClick:()=>{o(!1)},children:t})},e)})})]})}function oW({directories:e,anchors:t,className:n,onlyCurrentDocs:r}){return(0,tR.jsx)("ul",{className:(0,w.Z)(oF.list,n),children:e.map(e=>!r||e.isUnderCurrentDocsTree?"menu"===e.type||e.children&&(e.children.length||!e.withIndexPage)?(0,tR.jsx)(oD,{item:e,anchors:t},e.name):(0,tR.jsx)(oU,{item:e,anchors:t},e.name):null)})}function oH({docsDirectories:e,flatDirectories:t,fullDirectories:n,asPopover:r=!1,headings:i,includePlaceholder:a}){let o=oe(),{menu:s,setMenu:l}=a6(),u=(0,y.useRouter)(),[c,d]=(0,b.useState)(null),[f,h]=(0,b.useState)(!0),[p,m]=(0,b.useState)(!1),x=(0,b.useMemo)(()=>i.filter(e=>2===e.depth),[i]),g=(0,b.useRef)(null),v=(0,b.useRef)(null),k=_();(0,b.useEffect)(()=>{s?document.body.classList.add("nx-overflow-hidden","md:nx-overflow-auto"):document.body.classList.remove("nx-overflow-hidden","md:nx-overflow-auto")},[s]),(0,b.useEffect)(()=>{var e;let t=null==(e=g.current)?void 0:e.querySelector("li.active");if(t&&(window.innerWidth>767||s)){let e=()=>{ab(t,{block:"center",inline:"center",scrollMode:"always",boundary:v.current})};s?setTimeout(e,300):e()}},[s]),(0,b.useEffect)(()=>{l(!1)},[u.asPath,l]);let j=o.i18n.length>0,E=o.darkMode||j||o.sidebar.toggleButton;return(0,tR.jsxs)(tR.Fragment,{children:[a&&r?(0,tR.jsx)("div",{className:"max-xl:nx-hidden nx-h-0 nx-w-64 nx-shrink-0"}):null,(0,tR.jsx)("div",{className:(0,w.Z)("motion-reduce:nx-transition-none [transition:background-color_1.5s_ease]",s?"nx-fixed nx-inset-0 nx-z-10 nx-bg-black/80 dark:nx-bg-black/60":"nx-bg-transparent"),onClick:()=>l(!1)}),(0,tR.jsxs)("aside",{className:(0,w.Z)("nextra-sidebar-container nx-flex nx-flex-col","md:nx-top-16 md:nx-shrink-0 motion-reduce:nx-transform-none","nx-transform-gpu nx-transition-all nx-ease-in-out","print:nx-hidden",f?"md:nx-w-64":"md:nx-w-20",r?"md:nx-hidden":"md:nx-sticky md:nx-self-start",s?"max-md:[transform:translate3d(0,0,0)]":"max-md:[transform:translate3d(0,-100%,0)]"),ref:v,children:[(0,tR.jsx)("div",{className:"nx-px-4 nx-pt-4 md:nx-hidden",children:ol(o.search.component,{directories:t})}),(0,tR.jsx)(oP.Provider,{value:c,children:(0,tR.jsx)(oM.Provider,{value:e=>{d(e)},children:(0,tR.jsxs)("div",{className:(0,w.Z)("nx-overflow-y-auto nx-overflow-x-hidden","nx-p-4 nx-grow md:nx-h-[calc(100vh-var(--nextra-navbar-height)-var(--nextra-menu-height))]",f?"nextra-scrollbar":"no-scrollbar"),ref:g,children:[(!r||!f)&&(0,tR.jsx)(op,{isOpen:f,horizontal:!0,children:(0,tR.jsx)(oW,{className:"nextra-menu-desktop max-md:nx-hidden",directories:e,anchors:o.toc.float?[]:x,onlyCurrentDocs:!0})}),k&&window.innerWidth<768&&(0,tR.jsx)(oW,{className:"nextra-menu-mobile md:nx-hidden",directories:n,anchors:x})]})})}),E&&(0,tR.jsxs)("div",{className:(0,w.Z)("nx-sticky nx-bottom-0","nx-bg-white dark:nx-bg-dark","nx-mx-4 nx-py-4 nx-shadow-[0_-12px_16px_#fff]","nx-flex nx-items-center nx-gap-2","dark:nx-border-neutral-800 dark:nx-shadow-[0_-12px_16px_#111]","contrast-more:nx-border-neutral-400 contrast-more:nx-shadow-none contrast-more:dark:nx-shadow-none",f?(0,w.Z)(j&&"nx-justify-end","nx-border-t"):"nx-py-4 nx-flex-wrap nx-justify-center"),"data-toggle-animation":p?f?"show":"hide":"off",children:[(0,tR.jsx)(oO,{lite:!f,className:(0,w.Z)(f?"nx-grow":"max-md:nx-grow")}),o.darkMode&&(0,tR.jsx)("div",{className:f&&!j?"nx-grow nx-flex nx-flex-col":"",children:ol(o.themeSwitch.component,{lite:!f||j})}),o.sidebar.toggleButton&&(0,tR.jsx)("button",{title:f?"Hide sidebar":"Show sidebar",className:"max-md:nx-hidden nx-h-7 nx-rounded-md nx-transition-colors nx-text-gray-600 dark:nx-text-gray-400 nx-px-2 hover:nx-bg-gray-100 hover:nx-text-gray-900 dark:hover:nx-bg-primary-100/5 dark:hover:nx-text-gray-50",onClick:()=>{h(!f),m(!0)},children:(0,tR.jsx)(T.Qq,{isOpen:f})})]})]})]})}var oG="reach-skip-nav",oV="Skip to content";(0,b.forwardRef)(function(e,t){var n=e,{className:r,id:i,label:a=oV,styled:o}=n,s=aq(n,["className","id","label","styled"]);let l=void 0===r?o?(0,w.Z)("nx-sr-only","focus:nx-not-sr-only focus:nx-fixed focus:nx-z-50 focus:nx-m-3 focus:nx-ml-4 focus:nx-h-[calc(var(--nextra-navbar-height)-1.5rem)] focus:nx-rounded-lg focus:nx-border focus:nx-px-3 focus:nx-py-2 focus:nx-align-middle focus:nx-text-sm focus:nx-font-bold","focus:nx-text-gray-900 focus:dark:nx-text-gray-100","focus:nx-bg-white focus:dark:nx-bg-neutral-900","focus:nx-border-neutral-400 focus:dark:nx-border-neutral-800"):"":r;return(0,tR.jsx)("a",aB(aV({},s),{ref:t,href:`#${i||oG}`,className:l,"data-reach-skip-link":"",children:a}))}).displayName="SkipNavLink";var oB=(0,b.forwardRef)(function(e,t){var n=e,{id:r}=n,i=aq(n,["id"]);return(0,tR.jsx)("div",aB(aV({},i),{ref:t,id:r||oG}))});oB.displayName="SkipNavContent";var oq=tT.strictObject({light:tT.string(),dark:tT.string(),system:tT.string()});function oK({lite:e,className:t}){let{setTheme:n,resolvedTheme:r,theme:i=""}=tZ(),a=_(),o=oe().themeSwitch,s=a&&"dark"===r?T.kL:T.NW,l="function"==typeof o.useOptions?o.useOptions():o.useOptions;return(0,tR.jsx)(oj,{className:t,title:"Change theme",options:[{key:"light",name:l.light},{key:"dark",name:l.dark},{key:"system",name:l.system}],onChange:e=>{n(e.key)},selected:{key:i,name:(0,tR.jsxs)("div",{className:"nx-flex nx-items-center nx-gap-2 nx-capitalize",children:[(0,tR.jsx)(s,{}),(0,tR.jsx)("span",{className:e?"md:nx-hidden":"",children:a?l[i]:l.light})]})}})}function oY(){window.scrollTo({top:0,behavior:"smooth"})}function oQ({className:e}){let t=(0,b.useRef)(null);return(0,b.useEffect)(()=>{function e(){var e;let{scrollTop:n}=document.documentElement;null==(e=t.current)||e.classList.toggle("nx-opacity-0",n<300)}return window.addEventListener("scroll",e),()=>{window.removeEventListener("scroll",e)}},[]),(0,tR.jsxs)("button",{ref:t,"aria-hidden":"true",onClick:oY,className:(0,w.Z)("nx-flex nx-items-center nx-gap-1.5 nx-transition nx-opacity-0",e),children:["Scroll to top",(0,tR.jsx)(T.LZ,{className:"-nx-rotate-90 nx-w-3.5 nx-h-3.5 nx-border nx-rounded-full nx-border-current"})]})}var oJ=(0,w.Z)("nx-text-xs nx-font-medium nx-text-gray-500 hover:nx-text-gray-900 dark:nx-text-gray-400 dark:hover:nx-text-gray-100","contrast-more:nx-text-gray-800 contrast-more:dark:nx-text-gray-50");function oX({headings:e,filePath:t}){var n;let r=a1(),i=oe(),a=(0,b.useRef)(null),o=(0,b.useMemo)(()=>e.filter(e=>e.depth>1),[e]),s=o.length>0,l=!!(i.feedback.content||i.editLink.component||i.toc.extraContent),u=null==(n=Object.entries(r).find(([,{isActive:e}])=>e))?void 0:n[0];return(0,b.useEffect)(()=>{var e;if(!u)return;let t=null==(e=a.current)?void 0:e.querySelector(`li > a[href="#${u}"]`);t&&ab(t,{behavior:"smooth",block:"center",inline:"center",scrollMode:"always",boundary:a.current})},[u]),(0,tR.jsxs)("div",{ref:a,className:(0,w.Z)("nextra-scrollbar nx-sticky nx-top-16 nx-overflow-y-auto nx-pr-4 nx-pt-6 nx-text-sm [hyphens:auto]","nx-max-h-[calc(100vh-var(--nextra-navbar-height)-env(safe-area-inset-bottom))] ltr:-nx-mr-4 rtl:-nx-ml-4"),children:[s&&(0,tR.jsxs)(tR.Fragment,{children:[(0,tR.jsx)("p",{className:"nx-mb-4 nx-font-semibold nx-tracking-tight",children:ol(i.toc.title)}),(0,tR.jsx)("ul",{children:o.map(({id:e,value:t,depth:n})=>{var a,o,s,l;return(0,tR.jsx)("li",{className:"nx-my-2 nx-scroll-my-6 nx-scroll-py-6",children:(0,tR.jsx)("a",{href:`#${e}`,className:(0,w.Z)({2:"nx-font-semibold",3:"ltr:nx-pl-4 rtl:nx-pr-4",4:"ltr:nx-pl-8 rtl:nx-pr-8",5:"ltr:nx-pl-12 rtl:nx-pr-12",6:"ltr:nx-pl-16 rtl:nx-pr-16"}[n],"nx-inline-block",(null==(a=r[e])?void 0:a.isActive)?"nx-text-primary-600 nx-subpixel-antialiased contrast-more:!nx-text-primary-600":"nx-text-gray-500 hover:nx-text-gray-900 dark:nx-text-gray-400 dark:hover:nx-text-gray-300","contrast-more:nx-text-gray-900 contrast-more:nx-underline contrast-more:dark:nx-text-gray-50 nx-w-full nx-break-words"),children:null!=(l=null==(s=(o=i.toc).headingComponent)?void 0:s.call(o,{id:e,children:t}))?l:t})},e)})})]}),l&&(0,tR.jsxs)("div",{className:(0,w.Z)(s&&"nx-mt-8 nx-border-t nx-bg-white nx-pt-8 nx-shadow-[0_-12px_16px_white] dark:nx-bg-dark dark:nx-shadow-[0_-12px_16px_#111]","nx-sticky nx-bottom-0 nx-flex nx-flex-col nx-items-start nx-gap-2 nx-pb-8 dark:nx-border-neutral-800","contrast-more:nx-border-t contrast-more:nx-border-neutral-400 contrast-more:nx-shadow-none contrast-more:dark:nx-border-neutral-400"),children:[i.feedback.content?(0,tR.jsx)(oo,{className:oJ,href:i.feedback.useLink(),newWindow:!0,children:ol(i.feedback.content)}):null,ol(i.editLink.component,{filePath:t,className:oJ,children:ol(i.editLink.text)}),ol(i.toc.extraContent),i.toc.backToTop&&(0,tR.jsx)(oQ,{className:oJ})]})]})}function o0({className:e,directories:t}){let[n,r]=(0,b.useState)(""),i=(0,b.useMemo)(()=>n?aO(t,n,{keys:["title"]}).map(({route:e,title:t})=>({id:e+t,route:e,children:(0,tR.jsx)(om,{value:t,match:n})})):[],[n,t]);return(0,tR.jsx)(ov,{value:n,onChange:r,className:e,overlayClassName:"nx-w-full",results:i})}var o1="en-US",o2="undefined"!=typeof window;function o4(e){return null==e||"string"==typeof e||o5(e)||(0,b.isValidElement)(e)}function o5(e){return"function"==typeof e}var o3=tT.array(tT.strictObject({direction:tT.enum(["ltr","rtl"]).optional(),locale:tT.string(),text:tT.string()})),o7=[o4,{message:"Must be React.ReactNode or React.FC"}],o6=[o5,{message:"Must be React.FC"}];tT.strictObject({banner:tT.strictObject({dismissible:tT.boolean(),key:tT.string(),text:tT.custom(...o7).optional()}),chat:tT.strictObject({icon:tT.custom(...o7),link:tT.string().startsWith("https://").optional()}),components:tT.record(tT.custom(...o6)).optional(),darkMode:tT.boolean(),direction:tT.enum(["ltr","rtl"]),docsRepositoryBase:tT.string().startsWith("https://"),editLink:tT.strictObject({component:tT.custom(...o6),text:tT.custom(...o7)}),faviconGlyph:tT.string().optional(),feedback:tT.strictObject({content:tT.custom(...o7),labels:tT.string(),useLink:tT.function().returns(tT.string())}),footer:tT.strictObject({component:tT.custom(...o7),text:tT.custom(...o7)}),gitTimestamp:tT.custom(...o7),head:tT.custom(...o7),i18n:o3,logo:tT.custom(...o7),logoLink:tT.boolean().or(tT.string()),main:tT.custom(...o6).optional(),navbar:tT.strictObject({component:tT.custom(...o7),extraContent:tT.custom(...o7).optional()}),navigation:tT.boolean().or(tT.strictObject({next:tT.boolean(),prev:tT.boolean()})),nextThemes:tT.strictObject({defaultTheme:tT.string(),forcedTheme:tT.string().optional(),storageKey:tT.string()}),notFound:tT.strictObject({content:tT.custom(...o7),labels:tT.string()}),primaryHue:tT.number().or(tT.strictObject({dark:tT.number(),light:tT.number()})),primarySaturation:tT.number().or(tT.strictObject({dark:tT.number(),light:tT.number()})),project:tT.strictObject({icon:tT.custom(...o7),link:tT.string().startsWith("https://").optional()}),search:tT.strictObject({component:tT.custom(...o7),emptyResult:tT.custom(...o7),error:tT.string().or(tT.function().returns(tT.string())),loading:tT.custom(...o7),placeholder:tT.string().or(tT.function().returns(tT.string()))}),serverSideError:tT.strictObject({content:tT.custom(...o7),labels:tT.string()}),sidebar:tT.strictObject({autoCollapse:tT.boolean().optional(),defaultMenuCollapseLevel:tT.number().min(1).int(),titleComponent:tT.custom(...o7),toggleButton:tT.boolean()}),themeSwitch:tT.strictObject({component:tT.custom(...o7),useOptions:oq.or(tT.function().returns(oq))}),toc:tT.strictObject({backToTop:tT.boolean(),component:tT.custom(...o7),extraContent:tT.custom(...o7),float:tT.boolean(),headingComponent:tT.custom(...o6).optional(),title:tT.custom(...o7)}),useNextSeoProps:tT.custom(o5)}).deepPartial().extend({i18n:o3.optional()});var o9={"en-US":"Loading",fr:"Сhargement",ru:"Загрузка","zh-CN":"正在加载"},o8={"en-US":"Search documentation",fr:"Rechercher documents",ru:"Поиск документации","zh-CN":"搜索文档"},se={banner:{dismissible:!0,key:"nextra-banner"},chat:{icon:(0,tR.jsxs)(tR.Fragment,{children:[(0,tR.jsx)(T.D7,{}),(0,tR.jsx)("span",{className:"nx-sr-only",children:"Discord"})]})},darkMode:!0,direction:"ltr",docsRepositoryBase:"https://github.com/shuding/nextra",editLink:{component:function({className:e,filePath:t,children:n}){let r=od(t);return r?(0,tR.jsx)(oo,{className:e,href:r,children:n}):null},text:"Edit this page"},feedback:{content:"Question? Give us feedback →",labels:"feedback",useLink(){let e=oe();return os({labels:e.feedback.labels,repository:e.docsRepositoryBase,title:`Feedback for \u201C${e.title}\u201D`})}},footer:{component:oT,text:`MIT ${new Date().getFullYear()} \xa9 Nextra.`},gitTimestamp:function({timestamp:e}){let{locale:t=o1}=(0,y.useRouter)();return(0,tR.jsxs)(tR.Fragment,{children:["Last updated on"," ",(0,tR.jsx)("time",{dateTime:e.toISOString(),children:e.toLocaleDateString(t,{day:"numeric",month:"long",year:"numeric"})})]})},head:(0,tR.jsxs)(tR.Fragment,{children:[(0,tR.jsx)("meta",{name:"msapplication-TileColor",content:"#fff"}),(0,tR.jsx)("meta",{httpEquiv:"Content-Language",content:"en"}),(0,tR.jsx)("meta",{name:"description",content:"Nextra: the next docs builder"}),(0,tR.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,tR.jsx)("meta",{name:"twitter:site",content:"@shuding_"}),(0,tR.jsx)("meta",{property:"og:title",content:"Nextra: the next docs builder"}),(0,tR.jsx)("meta",{property:"og:description",content:"Nextra: the next docs builder"}),(0,tR.jsx)("meta",{name:"apple-mobile-web-app-title",content:"Nextra"})]}),i18n:[],logo:(0,tR.jsxs)(tR.Fragment,{children:[(0,tR.jsx)("span",{className:"nx-font-extrabold",children:"Nextra"}),(0,tR.jsx)("span",{className:"nx-ml-2 nx-hidden nx-font-normal nx-text-gray-600 md:nx-inline",children:"The Next Docs Builder"})]}),logoLink:!0,navbar:{component:oA},navigation:!0,nextThemes:{defaultTheme:"system",storageKey:"theme"},notFound:{content:"Submit an issue about broken link →",labels:"bug"},primaryHue:{dark:204,light:212},primarySaturation:{dark:100,light:100},project:{icon:(0,tR.jsxs)(tR.Fragment,{children:[(0,tR.jsx)(T.fy,{}),(0,tR.jsx)("span",{className:"nx-sr-only",children:"GitHub"})]})},search:{component:function({className:e,directories:t}){return oe().flexsearch?(0,tR.jsx)(ok,{className:e}):(0,tR.jsx)(o0,{className:e,directories:t})},emptyResult:(0,tR.jsx)("span",{className:"nx-block nx-select-none nx-p-8 nx-text-center nx-text-sm nx-text-gray-400",children:"No results found."}),error:"Failed to load search index.",loading:function(){let{locale:e,defaultLocale:t=o1}=(0,y.useRouter)(),n=e&&o9[e]||o9[t];return(0,tR.jsxs)(tR.Fragment,{children:[n,"…"]})},placeholder:function(){let{locale:e,defaultLocale:t=o1}=(0,y.useRouter)(),n=e&&o8[e]||o8[t];return`${n}\u2026`}},serverSideError:{content:"Submit an issue about error in url →",labels:"bug"},sidebar:{defaultMenuCollapseLevel:2,titleComponent:({title:e})=>(0,tR.jsx)(tR.Fragment,{children:e}),toggleButton:!1},themeSwitch:{component:oK,useOptions(){let{locale:e}=(0,y.useRouter)();return"zh-CN"===e?{dark:"深色主题",light:"浅色主题",system:"系统默认"}:{dark:"Dark",light:"Light",system:"System"}}},toc:{backToTop:!1,component:oX,float:!0,title:"On This Page"},useNextSeoProps:()=>({titleTemplate:"%s – Nextra"})},st=Object.entries(se).map(([e,t])=>{if(t&&"object"==typeof t&&!Array.isArray(t)&&!(0,b.isValidElement)(t))return e}).filter(Boolean);if(o2){let e;let t=()=>{document.body.classList.add("resizing"),clearTimeout(e),e=setTimeout(()=>{document.body.classList.remove("resizing")},200)};window.addEventListener("resize",t)}function sn(e){var t=e,{tag:n,context:r,children:i,id:a,className:o}=t,s=aq(t,["tag","context","children","id","className"]);let l=a2(),u=a5(),c=a4(),d=(0,b.useRef)(null);return(0,b.useEffect)(()=>{if(!a)return;let e=d.current;if(e)return u.set(e,[a,r.index+=1]),null==c||c.observe(e),()=>{null==c||c.disconnect(),u.delete(e),l(e=>{let t=aV({},e);return delete t[a],t})}},[a,r,u,c,l]),(0,tR.jsxs)(n,aB(aV({className:"sr-only"===o?"nx-sr-only":(0,w.Z)("nx-font-semibold nx-tracking-tight nx-text-slate-900 dark:nx-text-slate-100",{h2:"nx-mt-10 nx-border-b nx-pb-1 nx-text-3xl nx-border-neutral-200/70 contrast-more:nx-border-neutral-400 dark:nx-border-primary-100/10 contrast-more:dark:nx-border-neutral-400",h3:"nx-mt-8 nx-text-2xl",h4:"nx-mt-8 nx-text-xl",h5:"nx-mt-8 nx-text-lg",h6:"nx-mt-8 nx-text-base"}[n])},s),{children:[i,a&&(0,tR.jsx)("a",{href:`#${a}`,id:a,className:"subheading-anchor","aria-label":"Permalink for this section",ref:d})]}))}var sr=e=>{let t=null,n=[];return b.Children.forEach(e,(e,r)=>{var i;if(e&&e.type===sa){t||(t=e);return}let a=e;if(!t&&e&&"object"==typeof e&&e.type!==si&&"props"in e&&e.props){let n=sr(e.props.children);t=n[0],a=(0,b.cloneElement)(e,aB(aV({},e.props),{children:(null==(i=n[1])?void 0:i.length)?n[1]:void 0,key:r}))}n.push(a)}),[t,n]},si=e=>{var t=e,{children:n,open:r}=t,i=aq(t,["children","open"]);let[a,o]=(0,b.useState)(!!r),[s,l]=sr(n),[u,c]=(0,b.useState)(a);return(0,b.useEffect)(()=>{if(a)c(!0);else{let e=setTimeout(()=>c(a),500);return()=>clearTimeout(e)}},[a]),(0,tR.jsxs)("details",aB(aV(aB(aV({className:"nx-my-4 nx-rounded nx-border nx-border-gray-200 nx-bg-white nx-p-2 nx-shadow-sm first:nx-mt-0 dark:nx-border-neutral-800 dark:nx-bg-neutral-900"},i),{open:u}),a&&{"data-expanded":!0}),{children:[(0,tR.jsx)(oi,{value:o,children:s}),(0,tR.jsx)(op,{isOpen:a,children:l})]}))},sa=e=>{let t=or();return(0,tR.jsx)("summary",aB(aV({className:(0,w.Z)("nx-flex nx-items-center nx-cursor-pointer nx-list-none nx-p-1 nx-transition-colors hover:nx-bg-gray-100 dark:hover:nx-bg-neutral-800","before:nx-mr-1 before:nx-inline-block before:nx-transition-transform before:nx-content-[''] dark:before:nx-invert before:nx-shrink-0","rtl:before:nx-rotate-180 [[data-expanded]>&]:before:nx-rotate-90")},e),{onClick:e=>{e.preventDefault(),t(e=>!e)}}))},so=/https?:\/\//,ss=e=>{var t=e,{href:n="",className:r}=t,i=aq(t,["href","className"]);return(0,tR.jsx)(oo,aV({href:n,newWindow:so.test(n),className:(0,w.Z)("nx-text-primary-600 nx-underline nx-decoration-from-font [text-underline-position:from-font]",r)},i))},sl=e=>{var t=e,{href:n=""}=t,r=aq(t,["href"]);return(0,tR.jsx)(oo,aV({href:n,newWindow:so.test(n)},r))},su=({isRawLayout:e,components:t})=>{if(e)return{a:sl};let n={index:0};return aV({h1:e=>(0,tR.jsx)("h1",aV({className:"nx-mt-2 nx-text-4xl nx-font-bold nx-tracking-tight nx-text-slate-900 dark:nx-text-slate-100"},e)),h2:e=>(0,tR.jsx)(sn,aV({tag:"h2",context:n},e)),h3:e=>(0,tR.jsx)(sn,aV({tag:"h3",context:n},e)),h4:e=>(0,tR.jsx)(sn,aV({tag:"h4",context:n},e)),h5:e=>(0,tR.jsx)(sn,aV({tag:"h5",context:n},e)),h6:e=>(0,tR.jsx)(sn,aV({tag:"h6",context:n},e)),ul:e=>(0,tR.jsx)("ul",aV({className:"nx-mt-6 nx-list-disc first:nx-mt-0 ltr:nx-ml-6 rtl:nx-mr-6"},e)),ol:e=>(0,tR.jsx)("ol",aV({className:"nx-mt-6 nx-list-decimal first:nx-mt-0 ltr:nx-ml-6 rtl:nx-mr-6"},e)),li:e=>(0,tR.jsx)("li",aV({className:"nx-my-2"},e)),blockquote:e=>(0,tR.jsx)("blockquote",aV({className:(0,w.Z)("nx-mt-6 nx-border-gray-300 nx-italic nx-text-gray-700 dark:nx-border-gray-700 dark:nx-text-gray-400","first:nx-mt-0 ltr:nx-border-l-2 ltr:nx-pl-6 rtl:nx-border-r-2 rtl:nx-pr-6")},e)),hr:e=>(0,tR.jsx)("hr",aV({className:"nx-my-8 nx-border-neutral-200/70 contrast-more:nx-border-neutral-400 dark:nx-border-primary-100/10 contrast-more:dark:nx-border-neutral-400"},e)),a:ss,table:e=>(0,tR.jsx)(aD.iA,aV({className:"nextra-scrollbar nx-mt-6 nx-p-0 first:nx-mt-0"},e)),p:e=>(0,tR.jsx)("p",aV({className:"nx-mt-6 nx-leading-7 first:nx-mt-0"},e)),tr:aD.Tr,th:aD.Th,td:aD.Td,details:si,summary:sa,pre:aD.SU,code:aD.EK},t)},sc={toc:(0,w.Z)("nextra-toc nx-order-last nx-hidden nx-w-64 nx-shrink-0 xl:nx-block print:nx-hidden"),main:(0,w.Z)("nx-w-full nx-break-words")},sd=({themeContext:e,breadcrumb:t,timestamp:n,navigation:r,children:i})=>{var a;let o=oe(),s=_();if("raw"===e.layout)return(0,tR.jsx)("div",{className:sc.main,children:i});let l=e.timestamp&&o.gitTimestamp&&n?new Date(n):null,u=s&&l?(0,tR.jsx)("div",{className:"nx-mt-12 nx-mb-8 nx-block nx-text-xs nx-text-gray-500 ltr:nx-text-right rtl:nx-text-left dark:nx-text-gray-400",children:ol(o.gitTimestamp,{timestamp:l})}):(0,tR.jsx)("div",{className:"nx-mt-16"}),c=(0,tR.jsxs)(tR.Fragment,{children:[i,u,r]}),d=(null==(a=o.main)?void 0:a.call(o,{children:c}))||c;return"full"===e.layout?(0,tR.jsx)("article",{className:(0,w.Z)(sc.main,"nextra-content nx-min-h-[calc(100vh-var(--nextra-navbar-height))] nx-pl-[max(env(safe-area-inset-left),1.5rem)] nx-pr-[max(env(safe-area-inset-right),1.5rem)]"),children:d}):(0,tR.jsx)("article",{className:(0,w.Z)(sc.main,"nextra-content nx-flex nx-min-h-[calc(100vh-var(--nextra-navbar-height))] nx-min-w-0 nx-justify-center nx-pb-8 nx-pr-[calc(env(safe-area-inset-right)-1.5rem)]","article"===e.typesetting&&"nextra-body-typesetting-article"),children:(0,tR.jsxs)("main",{className:"nx-w-full nx-min-w-0 nx-max-w-6xl nx-px-6 nx-pt-4 md:nx-px-12",children:[t,d]})})},sf=({filePath:e,pageMap:t,frontMatter:n,headings:r,timestamp:i,children:a})=>{let o=oe(),{locale:s=o1,defaultLocale:l}=(0,y.useRouter)(),u=E(),{activeType:c,activeIndex:d,activeThemeContext:f,activePath:h,topLevelNavbarItems:p,docsDirectories:m,flatDirectories:x,flatDocsDirectories:g,directories:v}=(0,b.useMemo)(()=>t1({list:t,locale:s,defaultLocale:l,route:u}),[t,s,l,u]),_=aV(aV({},f),n),k=!_.sidebar||"raw"===_.layout||"page"===c,j="page"!==c&&_.toc&&"default"===_.layout?(0,tR.jsx)("nav",{className:(0,w.Z)(sc.toc,"nx-px-4"),"aria-label":"table of contents",children:ol(o.toc.component,{headings:o.toc.float?r:[],filePath:e})}):"full"!==_.layout&&"raw"!==_.layout&&(0,tR.jsx)("nav",{className:sc.toc,"aria-label":"table of contents"}),T=o.i18n.find(e=>e.locale===s),C=(T?"rtl"===T.direction:"rtl"===o.direction)?"rtl":"ltr";return(0,tR.jsxs)("div",{dir:C,children:[(0,tR.jsx)("script",{dangerouslySetInnerHTML:{__html:`document.documentElement.setAttribute('dir','${C}')`}}),(0,tR.jsx)(oC,{}),(0,tR.jsx)(of,{}),_.navbar&&ol(o.navbar.component,{flatDirectories:x,items:p}),(0,tR.jsx)("div",{className:(0,w.Z)("nx-mx-auto nx-flex","raw"!==_.layout&&"nx-max-w-[90rem]"),children:(0,tR.jsxs)(a3,{children:[(0,tR.jsx)(oH,{docsDirectories:m,flatDirectories:x,fullDirectories:v,headings:r,asPopover:k,includePlaceholder:"default"===_.layout}),j,(0,tR.jsx)(oB,{}),(0,tR.jsx)(sd,{themeContext:_,breadcrumb:"page"!==c&&_.breadcrumb?(0,tR.jsx)(oh,{activePath:h}):null,timestamp:i,navigation:"page"!==c&&_.pagination?(0,tR.jsx)(oN,{flatDirectories:g,currentIndex:d}):null,children:(0,tR.jsx)(O.Z,{components:su({isRawLayout:"raw"===_.layout,components:o.components}),children:a})})]})}),_.footer&&ol(o.footer.component,{menu:k})]})};function sh(e){var t=e,{children:n}=t,r=aq(t,["children"]);return(0,tR.jsx)(ot,{value:r,children:(0,tR.jsx)(sf,aB(aV({},r.pageOpts),{children:n}))})}},9013:function(e,t,n){"use strict";n.d(t,{UW:function(){return f},EK:function(){return m},SU:function(){return x},Rg:function(){return g},OK:function(){return eo},iA:function(){return eu},mQ:function(){return es},Td:function(){return el},Th:function(){return ec},Tr:function(){return ed}});var r,i,a,o=n(512),s=n(5893),l=({children:e,className:t,...n})=>(0,s.jsx)("button",{className:(0,o.Z)("nextra-button nx-transition-all active:nx-opacity-50","nx-bg-primary-700/5 nx-border nx-border-black/5 nx-text-gray-600 hover:nx-text-gray-900 nx-rounded-md nx-p-1.5","dark:nx-bg-primary-300/10 dark:nx-border-white/10 dark:nx-text-gray-400 dark:hover:nx-text-gray-50",t),...n,children:e}),u=n(4861),c={default:"\uD83D\uDCA1",error:"\uD83D\uDEAB",info:(0,s.jsx)(u.AV,{className:"nx-mt-1"}),warning:"⚠️"},d={default:(0,o.Z)("nx-border-orange-100 nx-bg-orange-50 nx-text-orange-800 dark:nx-border-orange-400/30 dark:nx-bg-orange-400/20 dark:nx-text-orange-300"),error:(0,o.Z)("nx-border-red-200 nx-bg-red-100 nx-text-red-900 dark:nx-border-red-200/30 dark:nx-bg-red-900/30 dark:nx-text-red-200"),info:(0,o.Z)("nx-border-blue-200 nx-bg-blue-100 nx-text-blue-900 dark:nx-border-blue-200/30 dark:nx-bg-blue-900/30 dark:nx-text-blue-200"),warning:(0,o.Z)("nx-border-yellow-100 nx-bg-yellow-50 nx-text-yellow-900 dark:nx-border-yellow-200/30 dark:nx-bg-yellow-700/30 dark:nx-text-yellow-200")};function f({children:e,type:t="default",emoji:n=c[t]}){return(0,s.jsxs)("div",{className:(0,o.Z)("nextra-callout nx-overflow-x-auto nx-mt-6 nx-flex nx-rounded-lg nx-border nx-py-2 ltr:nx-pr-4 rtl:nx-pl-4","contrast-more:nx-border-current contrast-more:dark:nx-border-current",d[t]),children:[(0,s.jsx)("div",{className:"nx-select-none nx-text-xl ltr:nx-pl-3 ltr:nx-pr-2 rtl:nx-pr-3 rtl:nx-pl-2",style:{fontFamily:'"Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"'},children:n}),(0,s.jsx)("div",{className:"nx-w-full nx-min-w-0 nx-leading-7",children:e})]})}var h=n(7294),p=({getValue:e,...t})=>{let[n,r]=(0,h.useState)(!1);(0,h.useEffect)(()=>{if(!n)return;let e=setTimeout(()=>{r(!1)},2e3);return()=>{clearTimeout(e)}},[n]);let i=(0,h.useCallback)(async()=>{r(!0),navigator?.clipboard||console.error("Access to clipboard rejected!");try{await navigator.clipboard.writeText(e())}catch{console.error("Failed to copy!")}},[e]),a=n?u.nQ:u.TI;return(0,s.jsx)(l,{onClick:i,title:"Copy code",tabIndex:0,...t,children:(0,s.jsx)(a,{className:"nextra-copy-icon nx-pointer-events-none nx-h-4 nx-w-4"})})},m=({children:e,className:t,...n})=>{let r="data-line-numbers"in n;return(0,s.jsx)("code",{className:(0,o.Z)("nx-border-black nx-border-opacity-[0.04] nx-bg-opacity-[0.03] nx-bg-black nx-break-words nx-rounded-md nx-border nx-py-0.5 nx-px-[.25em] nx-text-[.9em]","dark:nx-border-white/10 dark:nx-bg-white/10",r&&"[counter-reset:line]",t),dir:"ltr",...n,children:e})},x=({children:e,className:t,hasCopyCode:n,filename:r,...i})=>{let a=(0,h.useRef)(null),c=(0,h.useCallback)(()=>{let e=document.documentElement.dataset;"nextraWordWrap"in e?delete e.nextraWordWrap:e.nextraWordWrap=""},[]);return(0,s.jsxs)("div",{className:"nextra-code-block nx-relative nx-mt-6 first:nx-mt-0",children:[r&&(0,s.jsx)("div",{className:"nx-absolute nx-top-0 nx-z-[1] nx-w-full nx-truncate nx-rounded-t-xl nx-bg-primary-700/5 nx-py-2 nx-px-4 nx-text-xs nx-text-gray-700 dark:nx-bg-primary-300/10 dark:nx-text-gray-200",children:r}),(0,s.jsx)("pre",{className:(0,o.Z)("nx-bg-primary-700/5 nx-mb-4 nx-overflow-x-auto nx-rounded-xl nx-subpixel-antialiased dark:nx-bg-primary-300/10 nx-text-[.9em]","contrast-more:nx-border contrast-more:nx-border-primary-900/20 contrast-more:nx-contrast-150 contrast-more:dark:nx-border-primary-100/40",r?"nx-pt-12 nx-pb-4":"nx-py-4",t),ref:a,...i,children:e}),(0,s.jsxs)("div",{className:(0,o.Z)("nx-opacity-0 nx-transition [div:hover>&]:nx-opacity-100 focus-within:nx-opacity-100","nx-flex nx-gap-1 nx-absolute nx-m-[11px] nx-right-0",r?"nx-top-8":"nx-top-0"),children:[(0,s.jsx)(l,{onClick:c,className:"md:nx-hidden",title:"Toggle word wrap",children:(0,s.jsx)(u.NK,{className:"nx-pointer-events-none nx-h-4 nx-w-4"})}),n&&(0,s.jsx)(p,{getValue:()=>a.current?.querySelector("code")?.textContent||""})]})]})};function g({children:e,className:t,...n}){return(0,s.jsx)("div",{className:(0,o.Z)("nextra-steps nx-ml-4 nx-mb-12 nx-border-l nx-border-gray-200 nx-pl-6","dark:nx-border-neutral-800 [counter-reset:step]",t),...n,children:e})}var v=n(2351),y=n(9946),b=n(2984),w=n(1363),_=n(4575),k=n(6723),j=n(3784),E=n(4157),O=n(3855),T=n(4879),C=n(6045);function S({onFocus:e}){let[t,n]=(0,h.useState)(!0),r=(0,T.t)();return t?h.createElement(C._,{as:"button",type:"button",features:C.A.Focusable,onFocus:t=>{t.preventDefault();let i,a=50;function o(){if(a--<=0){i&&cancelAnimationFrame(i);return}if(e()){if(cancelAnimationFrame(i),!r.current)return;n(!1);return}i=requestAnimationFrame(o)}i=requestAnimationFrame(o)}}):null}var N=n(3781),R=n(1021),I=n(5466);let A=h.createContext(null);function L(){return{groups:new Map,get(e,t){var n;let r=this.groups.get(e);r||(r=new Map,this.groups.set(e,r));let i=null!=(n=r.get(t))?n:0;function a(){let e=r.get(t);e>1?r.set(t,e-1):r.delete(t)}return r.set(t,i+1),[Array.from(r.keys()).indexOf(t),a]}}}function P({children:e}){let t=h.useRef(L());return h.createElement(A.Provider,{value:t},e)}function M(e){let t=h.useContext(A);if(!t)throw Error("You must wrap your component in a ");let n=Z(),[r,i]=t.current.get(e,n);return h.useEffect(()=>i,[]),r}function Z(){var e,t,n;let r=null!=(n=null==(t=null==(e=h.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)?void 0:e.ReactCurrentOwner)?void 0:t.current)?n:null;if(!r)return Symbol();let i=[],a=r;for(;a;)i.push(a.index),a=a.return;return"$."+i.join(".")}var D=((r=D||{})[r.Forwards=0]="Forwards",r[r.Backwards=1]="Backwards",r),F=((i=F||{})[i.Less=-1]="Less",i[i.Equal=0]="Equal",i[i.Greater=1]="Greater",i),z=((a=z||{})[a.SetSelectedIndex=0]="SetSelectedIndex",a[a.RegisterTab=1]="RegisterTab",a[a.UnregisterTab=2]="UnregisterTab",a[a.RegisterPanel=3]="RegisterPanel",a[a.UnregisterPanel=4]="UnregisterPanel",a);let $={0(e,t){var n;let r=(0,_.z2)(e.tabs,e=>e.current),i=(0,_.z2)(e.panels,e=>e.current),a=r.filter(e=>{var t;return!(null!=(t=e.current)&&t.hasAttribute("disabled"))}),o={...e,tabs:r,panels:i};if(t.index<0||t.index>r.length-1){let n=(0,b.E)(Math.sign(t.index-e.selectedIndex),{[-1]:()=>1,0:()=>(0,b.E)(Math.sign(t.index),{[-1]:()=>0,0:()=>0,1:()=>1}),1:()=>0});return 0===a.length?o:{...o,selectedIndex:(0,b.E)(n,{0:()=>r.indexOf(a[0]),1:()=>r.indexOf(a[a.length-1])})}}let s=r.slice(0,t.index),l=[...r.slice(t.index),...s].find(e=>a.includes(e));if(!l)return o;let u=null!=(n=r.indexOf(l))?n:e.selectedIndex;return -1===u&&(u=e.selectedIndex),{...o,selectedIndex:u}},1(e,t){var n;if(e.tabs.includes(t.tab))return e;let r=e.tabs[e.selectedIndex],i=(0,_.z2)([...e.tabs,t.tab],e=>e.current),a=null!=(n=i.indexOf(r))?n:e.selectedIndex;return -1===a&&(a=e.selectedIndex),{...e,tabs:i,selectedIndex:a}},2:(e,t)=>({...e,tabs:e.tabs.filter(e=>e!==t.tab)}),3:(e,t)=>e.panels.includes(t.panel)?e:{...e,panels:(0,_.z2)([...e.panels,t.panel],e=>e.current)},4:(e,t)=>({...e,panels:e.panels.filter(e=>e!==t.panel)})},U=(0,h.createContext)(null);function W(e){let t=(0,h.useContext)(U);if(null===t){let t=Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,W),t}return t}U.displayName="TabsDataContext";let H=(0,h.createContext)(null);function G(e){let t=(0,h.useContext)(H);if(null===t){let t=Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,G),t}return t}function V(e,t){return(0,b.E)(t.type,$,e,t)}H.displayName="TabsActionsContext";let B=h.Fragment;function q(e,t){let{defaultIndex:n=0,vertical:r=!1,manual:i=!1,onChange:a,selectedIndex:o=null,...s}=e,l=r?"vertical":"horizontal",u=i?"manual":"auto",c=null!==o,d=(0,j.T)(t),[f,p]=(0,h.useReducer)(V,{selectedIndex:null!=o?o:n,tabs:[],panels:[]}),m=(0,h.useMemo)(()=>({selectedIndex:f.selectedIndex}),[f.selectedIndex]),x=(0,O.E)(a||(()=>{})),g=(0,O.E)(f.tabs),y=(0,h.useMemo)(()=>({orientation:l,activation:u,...f}),[l,u,f]),b=(0,N.z)(e=>(p({type:1,tab:e}),()=>p({type:2,tab:e}))),w=(0,N.z)(e=>(p({type:3,panel:e}),()=>p({type:4,panel:e}))),E=(0,N.z)(e=>{T.current!==e&&x.current(e),c||p({type:0,index:e})}),T=(0,O.E)(c?e.selectedIndex:f.selectedIndex),C=(0,h.useMemo)(()=>({registerTab:b,registerPanel:w,change:E}),[]);(0,k.e)(()=>{p({type:0,index:null!=o?o:n})},[o]),(0,k.e)(()=>{if(void 0===T.current||f.tabs.length<=0)return;let e=(0,_.z2)(f.tabs,e=>e.current);e.some((e,t)=>f.tabs[t]!==e)&&E(e.indexOf(f.tabs[T.current]))});let R={ref:d};return h.createElement(P,null,h.createElement(H.Provider,{value:C},h.createElement(U.Provider,{value:y},y.tabs.length<=0&&h.createElement(S,{onFocus:()=>{var e,t;for(let n of g.current)if((null==(e=n.current)?void 0:e.tabIndex)===0)return null==(t=n.current)||t.focus(),!0;return!1}}),(0,v.sY)({ourProps:R,theirProps:s,slot:m,defaultTag:B,name:"Tabs"}))))}let K="div";function Y(e,t){let{orientation:n,selectedIndex:r}=W("Tab.List"),i=(0,j.T)(t);return(0,v.sY)({ourProps:{ref:i,role:"tablist","aria-orientation":n},theirProps:e,slot:{selectedIndex:r},defaultTag:K,name:"Tabs.List"})}let Q="button";function J(e,t){var n,r;let i=(0,y.M)(),{id:a=`headlessui-tabs-tab-${i}`,...o}=e,{orientation:s,activation:l,selectedIndex:u,tabs:c,panels:d}=W("Tab"),f=G("Tab"),p=W("Tab"),m=(0,h.useRef)(null),x=(0,j.T)(m,t);(0,k.e)(()=>f.registerTab(m),[f,m]);let g=M("tabs"),O=c.indexOf(m);-1===O&&(O=g);let T=O===u,C=(0,N.z)(e=>{var t;let n=e();if(n===_.fE.Success&&"auto"===l){let e=null==(t=(0,I.r)(m))?void 0:t.activeElement,n=p.tabs.findIndex(t=>t.current===e);-1!==n&&f.change(n)}return n}),S=(0,N.z)(e=>{let t=c.map(e=>e.current).filter(Boolean);if(e.key===w.R.Space||e.key===w.R.Enter){e.preventDefault(),e.stopPropagation(),f.change(O);return}switch(e.key){case w.R.Home:case w.R.PageUp:return e.preventDefault(),e.stopPropagation(),C(()=>(0,_.jA)(t,_.TO.First));case w.R.End:case w.R.PageDown:return e.preventDefault(),e.stopPropagation(),C(()=>(0,_.jA)(t,_.TO.Last))}if(C(()=>(0,b.E)(s,{vertical:()=>e.key===w.R.ArrowUp?(0,_.jA)(t,_.TO.Previous|_.TO.WrapAround):e.key===w.R.ArrowDown?(0,_.jA)(t,_.TO.Next|_.TO.WrapAround):_.fE.Error,horizontal:()=>e.key===w.R.ArrowLeft?(0,_.jA)(t,_.TO.Previous|_.TO.WrapAround):e.key===w.R.ArrowRight?(0,_.jA)(t,_.TO.Next|_.TO.WrapAround):_.fE.Error}))===_.fE.Success)return e.preventDefault()}),A=(0,h.useRef)(!1),L=(0,N.z)(()=>{var e;A.current||(A.current=!0,null==(e=m.current)||e.focus(),f.change(O),(0,R.Y)(()=>{A.current=!1}))}),P=(0,N.z)(e=>{e.preventDefault()}),Z=(0,h.useMemo)(()=>({selected:T}),[T]),D={ref:x,onKeyDown:S,onMouseDown:P,onClick:L,id:a,role:"tab",type:(0,E.f)(e,m),"aria-controls":null==(r=null==(n=d[O])?void 0:n.current)?void 0:r.id,"aria-selected":T,tabIndex:T?0:-1};return(0,v.sY)({ourProps:D,theirProps:o,slot:Z,defaultTag:Q,name:"Tabs.Tab"})}let X="div";function ee(e,t){let{selectedIndex:n}=W("Tab.Panels"),r=(0,j.T)(t),i=(0,h.useMemo)(()=>({selectedIndex:n}),[n]);return(0,v.sY)({ourProps:{ref:r},theirProps:e,slot:i,defaultTag:X,name:"Tabs.Panels"})}let et="div",en=v.AN.RenderStrategy|v.AN.Static;function er(e,t){var n,r,i,a;let o=(0,y.M)(),{id:s=`headlessui-tabs-panel-${o}`,tabIndex:l=0,...u}=e,{selectedIndex:c,tabs:d,panels:f}=W("Tab.Panel"),p=G("Tab.Panel"),m=(0,h.useRef)(null),x=(0,j.T)(m,t);(0,k.e)(()=>p.registerPanel(m),[p,m]);let g=M("panels"),b=f.indexOf(m);-1===b&&(b=g);let w=b===c,_=(0,h.useMemo)(()=>({selected:w}),[w]),E={ref:x,id:s,role:"tabpanel","aria-labelledby":null==(r=null==(n=d[b])?void 0:n.current)?void 0:r.id,tabIndex:w?l:-1};return w||null!=(i=u.unmount)&&!i||null!=(a=u.static)&&a?(0,v.sY)({ourProps:E,theirProps:u,slot:_,defaultTag:et,features:en,visible:w,name:"Tabs.Panel"}):h.createElement(C._,{as:"span",...E})}let ei=Object.assign((0,v.yV)(J),{Group:(0,v.yV)(q),List:(0,v.yV)(Y),Panels:(0,v.yV)(ee),Panel:(0,v.yV)(er)});function ea(e){return!!e&&"object"==typeof e&&"label"in e}function eo({children:e,...t}){return(0,s.jsx)(ei.Panel,{...t,className:"nx-rounded nx-pt-6",children:e})}var es=Object.assign(function({items:e,selectedIndex:t,defaultIndex:n=0,onChange:r,children:i,storageKey:a}){let[l,u]=(0,h.useState)(n);(0,h.useEffect)(()=>{void 0!==t&&u(t)},[t]),(0,h.useEffect)(()=>{if(!a)return;function e(e){e.key===a&&u(Number(e.newValue))}let t=Number(localStorage.getItem(a));return u(Number.isNaN(t)?0:t),window.addEventListener("storage",e),()=>{window.removeEventListener("storage",e)}},[]);let c=(0,h.useCallback)(e=>{if(a){let t=String(e);localStorage.setItem(a,t),window.dispatchEvent(new StorageEvent("storage",{key:a,newValue:t}));return}u(e),r?.(e)},[]);return(0,s.jsxs)(ei.Group,{selectedIndex:l,defaultIndex:n,onChange:c,children:[(0,s.jsx)("div",{className:"nextra-scrollbar nx-overflow-x-auto nx-overflow-y-hidden nx-overscroll-x-contain",children:(0,s.jsx)(ei.List,{className:"nx-mt-4 nx-flex nx-w-max nx-min-w-full nx-border-b nx-border-gray-200 nx-pb-px dark:nx-border-neutral-800",children:e.map((e,t)=>{let n=ea(e)&&e.disabled;return(0,s.jsx)(ei,{disabled:n,className:({selected:e})=>(0,o.Z)("nx-mr-2 nx-rounded-t nx-p-2 nx-font-medium nx-leading-5 nx-transition-colors","-nx-mb-0.5 nx-select-none nx-border-b-2",e?"nx-border-primary-500 nx-text-primary-600":"nx-border-transparent nx-text-gray-600 hover:nx-border-gray-200 hover:nx-text-black dark:nx-text-gray-200 dark:hover:nx-border-neutral-800 dark:hover:nx-text-white",n&&"nx-pointer-events-none nx-text-gray-400 dark:nx-text-neutral-600"),children:ea(e)?e.label:e},t)})})}),(0,s.jsx)(ei.Panels,{children:i})]})},{displayName:"Tabs",Tab:eo}),el=({className:e="",...t})=>(0,s.jsx)("td",{className:(0,o.Z)("nx-m-0 nx-border nx-border-gray-300 nx-px-4 nx-py-2 dark:nx-border-gray-600",e),...t}),eu=({className:e="",...t})=>(0,s.jsx)("table",{className:(0,o.Z)("nx-block nx-overflow-x-scroll",e),...t}),ec=({className:e="",...t})=>(0,s.jsx)("th",{className:(0,o.Z)("nx-m-0 nx-border nx-border-gray-300 nx-px-4 nx-py-2 nx-font-semibold dark:nx-border-gray-600",e),...t}),ed=({className:e="",...t})=>(0,s.jsx)("tr",{className:(0,o.Z)("nx-m-0 nx-border-t nx-border-gray-300 nx-p-0 dark:nx-border-gray-600","even:nx-bg-gray-100 even:dark:nx-bg-gray-600/20",e),...t}),ef=n(1664),eh=n.n(ef),ep={cards:(0,o.Z)("nextra-cards nx-mt-4 nx-gap-4 nx-grid","nx-not-prose"),card:(0,o.Z)("nextra-card nx-group nx-flex nx-flex-col nx-justify-start nx-overflow-hidden nx-rounded-lg nx-border nx-border-gray-200","nx-text-current nx-no-underline dark:nx-shadow-none","hover:nx-shadow-gray-100 dark:hover:nx-shadow-none nx-shadow-gray-100","active:nx-shadow-sm active:nx-shadow-gray-200","nx-transition-all nx-duration-200 hover:nx-border-gray-300"),title:(0,o.Z)("nx-flex nx-font-semibold nx-items-start nx-gap-2 nx-p-4 nx-text-gray-700 hover:nx-text-gray-900")},em=(0,s.jsx)("span",{className:"nx-transition-transform nx-duration-75 group-hover:nx-translate-x-[2px]",children:"→"});Object.assign(function({children:e,num:t=3,className:n,style:r,...i}){return(0,s.jsx)("div",{className:(0,o.Z)(ep.cards,n),...i,style:{...r,"--rows":t},children:e})},{displayName:"Cards",Card:function({children:e,title:t,icon:n,image:r,arrow:i,href:a,...l}){let u=i?em:null;return r?(0,s.jsxs)(eh(),{href:a,className:(0,o.Z)(ep.card,"nx-bg-gray-100 nx-shadow dark:nx-border-neutral-700 dark:nx-bg-neutral-800 dark:nx-text-gray-50 hover:nx-shadow-lg dark:hover:nx-border-neutral-500 dark:hover:nx-bg-neutral-700"),...l,children:[e,(0,s.jsxs)("span",{className:(0,o.Z)(ep.title,"dark:nx-text-gray-300 dark:hover:nx-text-gray-100"),children:[n,(0,s.jsxs)("span",{className:"nx-flex nx-gap-1",children:[t,u]})]})]}):(0,s.jsx)(eh(),{href:a,className:(0,o.Z)(ep.card,"nx-bg-transparent nx-shadow-sm dark:nx-border-neutral-800 hover:nx-bg-slate-50 hover:nx-shadow-md dark:hover:nx-border-neutral-700 dark:hover:nx-bg-neutral-900"),...l,children:(0,s.jsxs)("span",{className:(0,o.Z)(ep.title,"dark:nx-text-neutral-200 dark:hover:nx-text-neutral-50 nx-flex nx-items-center"),children:[n,t,u]})})}});var ex=(0,h.createContext)(0);function eg(){return(0,h.useContext)(ex)}function ev({children:e}){return(0,s.jsx)("div",{className:(0,o.Z)("nextra-filetree nx-mt-6 nx-select-none nx-text-sm nx-text-gray-800 dark:nx-text-gray-300","nx-not-prose"),children:(0,s.jsx)("div",{className:"nx-inline-block nx-rounded-lg nx-border nx-px-4 nx-py-2 dark:nx-border-neutral-800",children:e})})}function ey(){let e=eg();return(0,s.jsx)(s.Fragment,{children:Array.from({length:e},(e,t)=>(0,s.jsx)("span",{className:"nx-w-5"},t))})}var eb=(0,h.memo)(({label:e,name:t,open:n,children:r,defaultOpen:i=!1,onToggle:a})=>{let o=eg(),[l,u]=(0,h.useState)(i),c=(0,h.useCallback)(()=>{a?.(!l),u(!l)},[l,a]),d=void 0===n?l:n;return(0,s.jsxs)("li",{className:"nx-flex nx-list-none nx-flex-col",children:[(0,s.jsxs)("button",{onClick:c,title:t,className:"nx-inline-flex nx-cursor-pointer nx-items-center nx-py-1 hover:nx-opacity-60",children:[(0,s.jsx)(ey,{}),(0,s.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 24 24",children:(0,s.jsx)("path",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:d?"M5 19a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2h4l2 2h4a2 2 0 0 1 2 2v1M5 19h14a2 2 0 0 0 2-2v-5a2 2 0 0 0-2-2H9a2 2 0 0 0-2 2v5a2 2 0 0 1-2 2Z":"M3 7v10a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-6l-2-2H5a2 2 0 0 0-2 2Z"})}),(0,s.jsx)("span",{className:"nx-ml-1",children:e??t})]}),d&&(0,s.jsx)("ul",{children:(0,s.jsx)(ex.Provider,{value:o+1,children:r})})]})});eb.displayName="Folder";var ew=(0,h.memo)(({label:e,name:t,active:n})=>(0,s.jsx)("li",{className:(0,o.Z)("nx-flex nx-list-none",n&&"nx-text-primary-600 contrast-more:nx-underline"),children:(0,s.jsxs)("span",{className:"nx-inline-flex nx-cursor-default nx-items-center nx-py-1",children:[(0,s.jsx)(ey,{}),(0,s.jsx)("svg",{width:"1em",height:"1em",viewBox:"0 0 24 24",children:(0,s.jsx)("path",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M9 12h6m-6 4h6m2 5H7a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5.586a1 1 0 0 1 .707.293l5.414 5.414a1 1 0 0 1 .293.707V19a2 2 0 0 1-2 2Z"})}),(0,s.jsx)("span",{className:"nx-ml-1",children:e??t})]})}));ew.displayName="File",Object.assign(ev,{Folder:eb,File:ew})},4861:function(e,t,n){"use strict";n.d(t,{LZ:function(){return i},nQ:function(){return a},TI:function(){return o},D7:function(){return s},Qq:function(){return l},fy:function(){return u},n9:function(){return c},AV:function(){return d},Oq:function(){return f},kL:function(){return h},L4:function(){return p},NW:function(){return m},NK:function(){return x},b0:function(){return g}});var r=n(5893);function i({pathClassName:e,...t}){return(0,r.jsx)("svg",{fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",...t,children:(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M9 5l7 7-7 7",className:e})})}function a(e){return(0,r.jsx)("svg",{viewBox:"0 0 20 20",width:"1em",height:"1em",fill:"currentColor",...e,children:(0,r.jsx)("path",{fillRule:"evenodd",d:"M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z",clipRule:"evenodd"})})}function o(e){return(0,r.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",...e,children:[(0,r.jsx)("rect",{x:"9",y:"9",width:"13",height:"13",rx:"2",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.jsx)("path",{d:"M5 15H4C2.89543 15 2 14.1046 2 13V4C2 2.89543 2.89543 2 4 2H13C14.1046 2 15 2.89543 15 4V5",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})}function s(e){return(0,r.jsxs)("svg",{width:"24",height:"24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 5 30.67 23.25",...e,children:[(0,r.jsx)("title",{children:"Discord"}),(0,r.jsx)("path",{d:"M26.0015 6.9529C24.0021 6.03845 21.8787 5.37198 19.6623 5C19.3833 5.48048 19.0733 6.13144 18.8563 6.64292C16.4989 6.30193 14.1585 6.30193 11.8336 6.64292C11.6166 6.13144 11.2911 5.48048 11.0276 5C8.79575 5.37198 6.67235 6.03845 4.6869 6.9529C0.672601 12.8736 -0.41235 18.6548 0.130124 24.3585C2.79599 26.2959 5.36889 27.4739 7.89682 28.2489C8.51679 27.4119 9.07477 26.5129 9.55525 25.5675C8.64079 25.2265 7.77283 24.808 6.93587 24.312C7.15286 24.1571 7.36986 23.9866 7.57135 23.8161C12.6241 26.1255 18.0969 26.1255 23.0876 23.8161C23.3046 23.9866 23.5061 24.1571 23.7231 24.312C22.8861 24.808 22.0182 25.2265 21.1037 25.5675C21.5842 26.5129 22.1422 27.4119 22.7621 28.2489C25.2885 27.4739 27.8769 26.2959 30.5288 24.3585C31.1952 17.7559 29.4733 12.0212 26.0015 6.9529ZM10.2527 20.8402C8.73376 20.8402 7.49382 19.4608 7.49382 17.7714C7.49382 16.082 8.70276 14.7025 10.2527 14.7025C11.7871 14.7025 13.0425 16.082 13.0115 17.7714C13.0115 19.4608 11.7871 20.8402 10.2527 20.8402ZM20.4373 20.8402C18.9183 20.8402 17.6768 19.4608 17.6768 17.7714C17.6768 16.082 18.8873 14.7025 20.4373 14.7025C21.9717 14.7025 23.2271 16.082 23.1961 17.7714C23.1961 19.4608 21.9872 20.8402 20.4373 20.8402Z"})]})}function l({isOpen:e,...t}){return(0,r.jsxs)("svg",{height:"12",width:"12",viewBox:"0 0 16 16",fill:"currentColor",...t,children:[(0,r.jsx)("path",{fillRule:"evenodd",d:"M4.177 7.823l2.396-2.396A.25.25 0 017 5.604v4.792a.25.25 0 01-.427.177L4.177 8.177a.25.25 0 010-.354z",className:e?"":"nx-origin-[35%] nx-rotate-180"}),(0,r.jsx)("path",{fillRule:"evenodd",d:"M0 1.75C0 .784.784 0 1.75 0h12.5C15.216 0 16 .784 16 1.75v12.5A1.75 1.75 0 0114.25 16H1.75A1.75 1.75 0 010 14.25V1.75zm1.75-.25a.25.25 0 00-.25.25v12.5c0 .138.112.25.25.25H9.5v-13H1.75zm12.5 13H11v-13h3.25a.25.25 0 01.25.25v12.5a.25.25 0 01-.25.25z"})]})}function u(e){return(0,r.jsxs)("svg",{width:"24",height:"24",fill:"currentColor",viewBox:"3 3 18 18",...e,children:[(0,r.jsx)("title",{children:"GitHub"}),(0,r.jsx)("path",{d:"M12 3C7.0275 3 3 7.12937 3 12.2276C3 16.3109 5.57625 19.7597 9.15374 20.9824C9.60374 21.0631 9.77249 20.7863 9.77249 20.5441C9.77249 20.3249 9.76125 19.5982 9.76125 18.8254C7.5 19.2522 6.915 18.2602 6.735 17.7412C6.63375 17.4759 6.19499 16.6569 5.8125 16.4378C5.4975 16.2647 5.0475 15.838 5.80124 15.8264C6.51 15.8149 7.01625 16.4954 7.18499 16.7723C7.99499 18.1679 9.28875 17.7758 9.80625 17.5335C9.885 16.9337 10.1212 16.53 10.38 16.2993C8.3775 16.0687 6.285 15.2728 6.285 11.7432C6.285 10.7397 6.63375 9.9092 7.20749 9.26326C7.1175 9.03257 6.8025 8.08674 7.2975 6.81794C7.2975 6.81794 8.05125 6.57571 9.77249 7.76377C10.4925 7.55615 11.2575 7.45234 12.0225 7.45234C12.7875 7.45234 13.5525 7.55615 14.2725 7.76377C15.9937 6.56418 16.7475 6.81794 16.7475 6.81794C17.2424 8.08674 16.9275 9.03257 16.8375 9.26326C17.4113 9.9092 17.76 10.7281 17.76 11.7432C17.76 15.2843 15.6563 16.0687 13.6537 16.2993C13.98 16.5877 14.2613 17.1414 14.2613 18.0065C14.2613 19.2407 14.25 20.2326 14.25 20.5441C14.25 20.7863 14.4188 21.0746 14.8688 20.9824C16.6554 20.364 18.2079 19.1866 19.3078 17.6162C20.4077 16.0457 20.9995 14.1611 21 12.2276C21 7.12937 16.9725 3 12 3Z"})]})}function c(e){return(0,r.jsx)("svg",{viewBox:"2 2 16 16",width:"12",height:"12",fill:"currentColor",...e,children:(0,r.jsx)("path",{fillRule:"evenodd",d:"M4.083 9h1.946c.089-1.546.383-2.97.837-4.118A6.004 6.004 0 004.083 9zM10 2a8 8 0 100 16 8 8 0 000-16zm0 2c-.076 0-.232.032-.465.262-.238.234-.497.623-.737 1.182-.389.907-.673 2.142-.766 3.556h3.936c-.093-1.414-.377-2.649-.766-3.556-.24-.56-.5-.948-.737-1.182C10.232 4.032 10.076 4 10 4zm3.971 5c-.089-1.546-.383-2.97-.837-4.118A6.004 6.004 0 0115.917 9h-1.946zm-2.003 2H8.032c.093 1.414.377 2.649.766 3.556.24.56.5.948.737 1.182.233.23.389.262.465.262.076 0 .232-.032.465-.262.238-.234.498-.623.737-1.182.389-.907.673-2.142.766-3.556zm1.166 4.118c.454-1.147.748-2.572.837-4.118h1.946a6.004 6.004 0 01-2.783 4.118zm-6.268 0C6.412 13.97 6.118 12.546 6.03 11H4.083a6.004 6.004 0 002.783 4.118z",clipRule:"evenodd"})})}function d(e){return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",width:"20",height:"20",...e,children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a1 1 0 000 2v3a1 1 0 001 1h1a1 1 0 100-2v-3a1 1 0 00-1-1H9z"})})}function f(e){return(0,r.jsxs)("svg",{fill:"none",width:"24",height:"24",viewBox:"0 0 24 24",stroke:"currentColor",...e,children:[(0,r.jsx)("g",{children:(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M4 6h16"})}),(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M4 12h16"}),(0,r.jsx)("g",{children:(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M4 18h16"})})]})}function h(e){return(0,r.jsx)("svg",{fill:"none",viewBox:"2 2 20 20",width:"12",height:"12",stroke:"currentColor",...e,children:(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",fill:"currentColor",d:"M20.354 15.354A9 9 0 018.646 3.646 9.003 9.003 0 0012 21a9.003 9.003 0 008.354-5.646z"})})}function p(e){return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",width:"24",height:"24",...e,children:[(0,r.jsx)("circle",{className:"nx-opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),(0,r.jsx)("path",{className:"nx-opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]})}function m(e){return(0,r.jsx)("svg",{fill:"none",viewBox:"3 3 18 18",width:"12",height:"12",stroke:"currentColor",...e,children:(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",fill:"currentColor",d:"M12 3v1m0 16v1m9-9h-1M4 12H3m15.364 6.364l-.707-.707M6.343 6.343l-.707-.707m12.728 0l-.707.707M6.343 17.657l-.707.707M16 12a4 4 0 11-8 0 4 4 0 018 0z"})})}function x(e){return(0,r.jsx)("svg",{viewBox:"0 0 24 24",width:"24",height:"24",...e,children:(0,r.jsx)("path",{fill:"currentColor",d:"M4 19h6v-2H4v2zM20 5H4v2h16V5zm-3 6H4v2h13.25c1.1 0 2 .9 2 2s-.9 2-2 2H15v-2l-3 3l3 3v-2h2c2.21 0 4-1.79 4-4s-1.79-4-4-4z"})})}function g(e){return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"currentColor",...e,children:(0,r.jsx)("path",{fillRule:"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z",clipRule:"evenodd"})})}},9575:function(e,t,n){"use strict";n.d(t,{Z:function(){return r.Zo},a:function(){return l}});var r=n(1151),i=n(5675),a=n.n(i),o=n(7294),s={img:e=>(0,o.createElement)("object"==typeof e.src?a():"img",e)},l=e=>(0,r.ah)({...s,...e})},6997:function(e,t,n){"use strict";n.d(t,{j:function(){return w}});var r,i=n(9208),a=n.n(i),o=n(7222),s=n(7308),l=n(1163),u=n(7294);function c(){let e=globalThis[o.eZ],{route:t}=(0,l.useRouter)();(0,u.useState)({})[1];let n=e.context[t];if(!n)throw Error("No content found for the current route. This is a Nextra bug.");return{context:n,Layout:e.Layout}}var d=n(5893);function f({__nextra_pageMap:e,__nextra_dynamic_opts:t,...n}){let{context:r,Layout:i}=c(),{Content:a,...o}=r;if(e&&(o.pageOpts={...o.pageOpts,pageMap:e}),t){let{headings:e,title:n,frontMatter:r}=JSON.parse(t);o.pageOpts={...o.pageOpts,headings:e,title:n,frontMatter:r}}return(0,d.jsx)(i,{...o,pageProps:n,children:(0,d.jsx)(s.mK.Provider,{value:n,children:(0,d.jsx)(a,{...n})})})}var h=n(1864),p=n(3859),m=n(2891);function x(e,t){return p(h.join(e,t.replace(/^index$/,"")))}function g(e){return m(e.replaceAll(/[-_]/g," "))}function v(e){return!!e&&"object"==typeof e&&"folder"===e.type}function y(e){return Object.fromEntries(Object.entries(e).map(([e,t])=>{if(v(t)){let n=e.replace("/","");return[n,t.title||g(n)]}return[e,t||g(e)]}))}function b(e,t,n=!0){if(n){b(e,{kind:"Meta",data:t.data,locale:t.locale},!1),t.data=y(t.data);return}for(let[n,r]of Object.entries(t.data)){if(!v(r)){if("*"===n)continue;e.children.push({kind:"MdxPage",...t.locale&&{locale:t.locale},name:n,route:x(e.route,n)});continue}let i=n.replace("/",""),a={kind:"Folder",name:i,route:`${e.route}/${i}`,children:[{kind:"Meta",...t.locale&&{locale:t.locale},data:y(r.items)}]};e.children.push(a),b(a,{kind:"Meta",data:r.items,locale:t.locale},!1)}}function w({pageNextRoute:e,pageOpts:t,nextraLayout:n,themeConfig:i,MDXContent:s,hot:l,pageOptsChecksum:u,dynamicMetaModules:c=[]}){var d;"undefined"==typeof window&&(globalThis.__nextra_resolvePageMap=async()=>{if(r)return r;let e=JSON.parse(JSON.stringify(h.pageMap));return await Promise.all(c.map(async([t,{metaObjectKeyPath:n,metaParentKeyPath:r}])=>{let i=await t,o=await i.default(),s=a()(e,n);s.data=o,b(a()(e,r),s)})),r=e});let h=globalThis[d=o.eZ]||(globalThis[d]=Object.create(null));return t.pageMap?(h.pageMap=t.pageMap,h.Layout=n):(t={...t,pageMap:h.pageMap,flexsearch:h.flexsearch},i=h.themeConfig),t={frontMatter:{},...t},h.route=t.route,h.context||(h.context=Object.create(null)),h.context[e]={Content:s,pageOpts:t,themeConfig:i},f}},7308:function(e,t,n){"use strict";n.d(t,{et:function(){return a},mK:function(){return i}}),n(1404);var r=n(7294);n(9575),n(5893);var i=(0,r.createContext)(!1),a=(e="ssg")=>r.useContext(i)?.[e]},6008:function(e,t,n){"use strict";var r=n(2337);function i(e){var t={protocols:[],protocol:null,port:null,resource:"",host:"",user:"",password:"",pathname:"",hash:"",search:"",href:e,query:{},parse_failed:!1};try{var n=new URL(e);t.protocols=r(n),t.protocol=t.protocols[0],t.port=n.port,t.resource=n.hostname,t.host=n.host,t.user=n.username||"",t.password=n.password||"",t.pathname=n.pathname,t.hash=n.hash.slice(1),t.search=n.search.slice(1),t.href=n.href,t.query=Object.fromEntries(n.searchParams)}catch(n){t.protocols=["file"],t.protocol=t.protocols[0],t.port="",t.resource="",t.user="",t.pathname="",t.hash="",t.search="",t.href=e,t.query={},t.parse_failed=!0}return t}e.exports=i},3905:function(e,t,n){"use strict";var r=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(n(6008));let i="text/plain",a="us-ascii",o=(e,t)=>t.some(t=>t instanceof RegExp?t.test(e):t===e),s=(e,{stripHash:t})=>{let n=/^data:(?[^,]*?),(?[^#]*?)(?:#(?.*))?$/.exec(e);if(!n)throw Error(`Invalid URL: ${e}`);let{type:r,data:o,hash:s}=n.groups,l=r.split(";");s=t?"":s;let u=!1;"base64"===l[l.length-1]&&(l.pop(),u=!0);let c=(l.shift()||"").toLowerCase(),d=[...l.map(e=>{let[t,n=""]=e.split("=").map(e=>e.trim());return"charset"===t&&(n=n.toLowerCase())===a?"":`${t}${n?`=${n}`:""}`}).filter(Boolean)];return u&&d.push("base64"),(d.length>0||c&&c!==i)&&d.unshift(c),`data:${d.join(";")},${u?o.trim():o}${s?`#${s}`:""}`};function l(e,t){if(t={defaultProtocol:"http:",normalizeProtocol:!0,forceHttp:!1,forceHttps:!1,stripAuthentication:!0,stripHash:!1,stripTextFragment:!0,stripWWW:!0,removeQueryParameters:[/^utm_\w+/i],removeTrailingSlash:!0,removeSingleSlash:!0,removeDirectoryIndex:!1,sortQueryParameters:!0,...t},e=e.trim(),/^data:/i.test(e))return s(e,t);if(/^view-source:/i.test(e))throw Error("`view-source:` is not supported as it is a non-standard protocol");let n=e.startsWith("//");!n&&/^\.*\//.test(e)||(e=e.replace(/^(?!(?:\w+:)?\/\/)|^\/\//,t.defaultProtocol));let r=new URL(e);if(t.forceHttp&&t.forceHttps)throw Error("The `forceHttp` and `forceHttps` options cannot be used together");if(t.forceHttp&&"https:"===r.protocol&&(r.protocol="http:"),t.forceHttps&&"http:"===r.protocol&&(r.protocol="https:"),t.stripAuthentication&&(r.username="",r.password=""),t.stripHash?r.hash="":t.stripTextFragment&&(r.hash=r.hash.replace(/#?:~:text.*?$/i,"")),r.pathname){let e=/\b[a-z][a-z\d+\-.]{1,50}:\/\//g,t=0,n="";for(;;){let i=e.exec(r.pathname);if(!i)break;let a=i[0],o=i.index;n+=r.pathname.slice(t,o).replace(/\/{2,}/g,"/")+a,t=o+a.length}n+=r.pathname.slice(t,r.pathname.length).replace(/\/{2,}/g,"/"),r.pathname=n}if(r.pathname)try{r.pathname=decodeURI(r.pathname)}catch{}if(!0===t.removeDirectoryIndex&&(t.removeDirectoryIndex=[/^index\.[a-z]+$/]),Array.isArray(t.removeDirectoryIndex)&&t.removeDirectoryIndex.length>0){let e=r.pathname.split("/");o(e[e.length-1],t.removeDirectoryIndex)&&(e=e.slice(0,-1),r.pathname=e.slice(1).join("/")+"/")}if(r.hostname&&(r.hostname=r.hostname.replace(/\.$/,""),t.stripWWW&&/^www\.(?!www\.)[a-z\-\d]{1,63}\.[a-z.\-\d]{2,63}$/.test(r.hostname)&&(r.hostname=r.hostname.replace(/^www\./,""))),Array.isArray(t.removeQueryParameters))for(let e of[...r.searchParams.keys()])o(e,t.removeQueryParameters)&&r.searchParams.delete(e);if(!0===t.removeQueryParameters&&(r.search=""),t.sortQueryParameters){r.searchParams.sort();try{r.search=decodeURIComponent(r.search)}catch{}}t.removeTrailingSlash&&(r.pathname=r.pathname.replace(/\/$/,""));let i=e;return e=r.toString(),t.removeSingleSlash||"/"!==r.pathname||i.endsWith("/")||""!==r.hash||(e=e.replace(/\/$/,"")),(t.removeTrailingSlash||"/"===r.pathname)&&""===r.hash&&t.removeSingleSlash&&(e=e.replace(/\/$/,"")),n&&!t.normalizeProtocol&&(e=e.replace(/^http:\/\//,"//")),t.stripProtocol&&(e=e.replace(/^(?:https?:)?\/\//,"")),e}let u=(e,t=!1)=>{let n=/^(?:([a-z_][a-z0-9_-]{0,31})@|https?:\/\/)([\w\.\-@]+)[\/:]([\~,\.\w,\-,\_,\/]+?(?:\.git|\/)?)$/,i=t=>{let n=Error(t);throw n.subject_url=e,n};"string"==typeof e&&e.trim()||i("Invalid url."),e.length>u.MAX_INPUT_LENGTH&&i("Input exceeds maximum length. If needed, change the value of parseUrl.MAX_INPUT_LENGTH."),t&&("object"!=typeof t&&(t={stripHash:!1}),e=l(e,t));let a=r.default(e);if(a.parse_failed){let e=a.href.match(n);e?(a.protocols=["ssh"],a.protocol="ssh",a.resource=e[2],a.host=e[2],a.user=e[1],a.pathname=`/${e[3]}`,a.parse_failed=!1):i("URL parsing failed.")}return a};u.MAX_INPUT_LENGTH=2048,e.exports=u},2337:function(e){"use strict";e.exports=function(e,t){!0===t&&(t=0);var n="";if("string"==typeof e)try{n=new URL(e).protocol}catch(e){}else e&&e.constructor===URL&&(n=e.protocol);var r=n.split(/\:|\+/).filter(Boolean);return"number"==typeof t?r[t]:r}},6826:function(e){var t={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",Ấ:"A",Ắ:"A",Ẳ:"A",Ẵ:"A",Ặ:"A",Æ:"AE",Ầ:"A",Ằ:"A",Ȃ:"A",Ç:"C",Ḉ:"C",È:"E",É:"E",Ê:"E",Ë:"E",Ế:"E",Ḗ:"E",Ề:"E",Ḕ:"E",Ḝ:"E",Ȇ:"E",Ì:"I",Í:"I",Î:"I",Ï:"I",Ḯ:"I",Ȋ:"I",Ð:"D",Ñ:"N",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",Ố:"O",Ṍ:"O",Ṓ:"O",Ȏ:"O",Ù:"U",Ú:"U",Û:"U",Ü:"U",Ý:"Y",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",ấ:"a",ắ:"a",ẳ:"a",ẵ:"a",ặ:"a",æ:"ae",ầ:"a",ằ:"a",ȃ:"a",ç:"c",ḉ:"c",è:"e",é:"e",ê:"e",ë:"e",ế:"e",ḗ:"e",ề:"e",ḕ:"e",ḝ:"e",ȇ:"e",ì:"i",í:"i",î:"i",ï:"i",ḯ:"i",ȋ:"i",ð:"d",ñ:"n",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",ố:"o",ṍ:"o",ṓ:"o",ȏ:"o",ù:"u",ú:"u",û:"u",ü:"u",ý:"y",ÿ:"y",Ā:"A",ā:"a",Ă:"A",ă:"a",Ą:"A",ą:"a",Ć:"C",ć:"c",Ĉ:"C",ĉ:"c",Ċ:"C",ċ:"c",Č:"C",č:"c",C̆:"C",c̆:"c",Ď:"D",ď:"d",Đ:"D",đ:"d",Ē:"E",ē:"e",Ĕ:"E",ĕ:"e",Ė:"E",ė:"e",Ę:"E",ę:"e",Ě:"E",ě:"e",Ĝ:"G",Ǵ:"G",ĝ:"g",ǵ:"g",Ğ:"G",ğ:"g",Ġ:"G",ġ:"g",Ģ:"G",ģ:"g",Ĥ:"H",ĥ:"h",Ħ:"H",ħ:"h",Ḫ:"H",ḫ:"h",Ĩ:"I",ĩ:"i",Ī:"I",ī:"i",Ĭ:"I",ĭ:"i",Į:"I",į:"i",İ:"I",ı:"i",IJ:"IJ",ij:"ij",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",Ḱ:"K",ḱ:"k",K̆:"K",k̆:"k",Ĺ:"L",ĺ:"l",Ļ:"L",ļ:"l",Ľ:"L",ľ:"l",Ŀ:"L",ŀ:"l",Ł:"l",ł:"l",Ḿ:"M",ḿ:"m",M̆:"M",m̆:"m",Ń:"N",ń:"n",Ņ:"N",ņ:"n",Ň:"N",ň:"n",ʼn:"n",N̆:"N",n̆:"n",Ō:"O",ō:"o",Ŏ:"O",ŏ:"o",Ő:"O",ő:"o",Œ:"OE",œ:"oe",P̆:"P",p̆:"p",Ŕ:"R",ŕ:"r",Ŗ:"R",ŗ:"r",Ř:"R",ř:"r",R̆:"R",r̆:"r",Ȓ:"R",ȓ:"r",Ś:"S",ś:"s",Ŝ:"S",ŝ:"s",Ş:"S",Ș:"S",ș:"s",ş:"s",Š:"S",š:"s",Ţ:"T",ţ:"t",ț:"t",Ț:"T",Ť:"T",ť:"t",Ŧ:"T",ŧ:"t",T̆:"T",t̆:"t",Ũ:"U",ũ:"u",Ū:"U",ū:"u",Ŭ:"U",ŭ:"u",Ů:"U",ů:"u",Ű:"U",ű:"u",Ų:"U",ų:"u",Ȗ:"U",ȗ:"u",V̆:"V",v̆:"v",Ŵ:"W",ŵ:"w",Ẃ:"W",ẃ:"w",X̆:"X",x̆:"x",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Y̆:"Y",y̆:"y",Ź:"Z",ź:"z",Ż:"Z",ż:"z",Ž:"Z",ž:"z",ſ:"s",ƒ:"f",Ơ:"O",ơ:"o",Ư:"U",ư:"u",Ǎ:"A",ǎ:"a",Ǐ:"I",ǐ:"i",Ǒ:"O",ǒ:"o",Ǔ:"U",ǔ:"u",Ǖ:"U",ǖ:"u",Ǘ:"U",ǘ:"u",Ǚ:"U",ǚ:"u",Ǜ:"U",ǜ:"u",Ứ:"U",ứ:"u",Ṹ:"U",ṹ:"u",Ǻ:"A",ǻ:"a",Ǽ:"AE",ǽ:"ae",Ǿ:"O",ǿ:"o",Þ:"TH",þ:"th",Ṕ:"P",ṕ:"p",Ṥ:"S",ṥ:"s",X́:"X",x́:"x",Ѓ:"Г",ѓ:"г",Ќ:"К",ќ:"к",A̋:"A",a̋:"a",E̋:"E",e̋:"e",I̋:"I",i̋:"i",Ǹ:"N",ǹ:"n",Ồ:"O",ồ:"o",Ṑ:"O",ṑ:"o",Ừ:"U",ừ:"u",Ẁ:"W",ẁ:"w",Ỳ:"Y",ỳ:"y",Ȁ:"A",ȁ:"a",Ȅ:"E",ȅ:"e",Ȉ:"I",ȉ:"i",Ȍ:"O",ȍ:"o",Ȑ:"R",ȑ:"r",Ȕ:"U",ȕ:"u",B̌:"B",b̌:"b",Č̣:"C",č̣:"c",Ê̌:"E",ê̌:"e",F̌:"F",f̌:"f",Ǧ:"G",ǧ:"g",Ȟ:"H",ȟ:"h",J̌:"J",ǰ:"j",Ǩ:"K",ǩ:"k",M̌:"M",m̌:"m",P̌:"P",p̌:"p",Q̌:"Q",q̌:"q",Ř̩:"R",ř̩:"r",Ṧ:"S",ṧ:"s",V̌:"V",v̌:"v",W̌:"W",w̌:"w",X̌:"X",x̌:"x",Y̌:"Y",y̌:"y",A̧:"A",a̧:"a",B̧:"B",b̧:"b",Ḑ:"D",ḑ:"d",Ȩ:"E",ȩ:"e",Ɛ̧:"E",ɛ̧:"e",Ḩ:"H",ḩ:"h",I̧:"I",i̧:"i",Ɨ̧:"I",ɨ̧:"i",M̧:"M",m̧:"m",O̧:"O",o̧:"o",Q̧:"Q",q̧:"q",U̧:"U",u̧:"u",X̧:"X",x̧:"x",Z̧:"Z",z̧:"z"},n=Object.keys(t).join("|"),r=RegExp(n,"g"),i=RegExp(n,""),a=function(e){return e.replace(r,function(e){return t[e]})},o=function(e){return!!e.match(i)};e.exports=a,e.exports.has=o,e.exports.remove=a},3859:function(e){"use strict";e.exports=e=>{let t=/^\\\\\?\\/.test(e),n=/[^\u0000-\u0080]+/.test(e);return t||n?e:e.replace(/\\/g,"/")}},2891:function(e,t,n){let r=n(1439),i=n(7224),a="[^\\s'’\\(\\)!?;:\"-]",o=RegExp(`(?:(?:(\\s?(?:^|[.\\(\\)!?;:"-])\\s*)(${a}))|(${a}))(${a}*[’']*${a}*)`,"g"),s=e=>e.map(e=>[RegExp(`\\b${e}\\b`,"gi"),e]);function l(e){let t=e[0];return/\s/.test(t)?e.slice(1):/[\(\)]/.test(t)?null:e}e.exports=(e,t={})=>(e=e.toLowerCase().replace(o,(e,t="",n,i,a,o,s)=>{let u=e.length+o>=s.length,c=l(e);if(!c)return e;if(!n){let e=i+a;if(r.has(e)&&!u)return c}return t+(i||n).toUpperCase()+a}),s([...i,...t.special||[]]).forEach(([t,n])=>{e=e.replace(t,n)}),e)},1439:function(e){let t=["for","and","nor","but","or","yet","so"],n=["a","an","the"],r=["aboard","about","above","across","after","against","along","amid","among","anti","around","as","at","before","behind","below","beneath","beside","besides","between","beyond","but","by","concerning","considering","despite","down","during","except","excepting","excluding","following","for","from","in","inside","into","like","minus","near","of","off","on","onto","opposite","over","past","per","plus","regarding","round","save","since","than","through","to","toward","towards","under","underneath","unlike","until","up","upon","versus","via","with","within","without"];e.exports=new Set([...t,...n,...r])},7224:function(e){let t=["ZEIT","ZEIT Inc.","Vercel","Vercel Inc.","CLI","API","HTTP","HTTPS","JSX","DNS","URL","now.sh","now.json","vercel.app","vercel.json","CI","CD","CDN","package.json","package.lock","yarn.lock","GitHub","GitLab","CSS","Sass","JS","JavaScript","TypeScript","HTML","WordPress","Next.js","Node.js","Webpack","Docker","Bash","Kubernetes","SWR","TinaCMS","UI","UX","TS","TSX","iPhone","iPad","watchOS","iOS","iPadOS","macOS","PHP","composer.json","composer.lock","CMS","SQL","C","C#","GraphQL","GraphiQL","JWT","JWTs"];e.exports=t},2746:function(e,t,n){e.exports.jsxRuntime=n(5893)},1363:function(e,t,n){"use strict";n.d(t,{R:function(){return i}});var r,i=((r=i||{}).Space=" ",r.Enter="Enter",r.Escape="Escape",r.Backspace="Backspace",r.Delete="Delete",r.ArrowLeft="ArrowLeft",r.ArrowUp="ArrowUp",r.ArrowRight="ArrowRight",r.ArrowDown="ArrowDown",r.Home="Home",r.End="End",r.PageUp="PageUp",r.PageDown="PageDown",r.Tab="Tab",r)},3781:function(e,t,n){"use strict";n.d(t,{z:function(){return a}});var r=n(7294),i=n(3855);let a=function(e){let t=(0,i.E)(e);return r.useCallback((...e)=>t.current(...e),[t])}},9946:function(e,t,n){"use strict";n.d(t,{M:function(){return l}});var r,i=n(7294),a=n(6723),o=n(2180),s=n(7896);let l=null!=(r=i.useId)?r:function(){let e=(0,o.H)(),[t,n]=i.useState(e?()=>s.O.nextId():null);return(0,a.e)(()=>{null===t&&n(s.O.nextId())},[t]),null!=t?""+t:void 0}},4879:function(e,t,n){"use strict";n.d(t,{t:function(){return a}});var r=n(7294),i=n(6723);function a(){let e=(0,r.useRef)(!1);return(0,i.e)(()=>(e.current=!0,()=>{e.current=!1}),[]),e}},6723:function(e,t,n){"use strict";n.d(t,{e:function(){return a}});var r=n(7294),i=n(7896);let a=(e,t)=>{i.O.isServer?(0,r.useEffect)(e,t):(0,r.useLayoutEffect)(e,t)}},3855:function(e,t,n){"use strict";n.d(t,{E:function(){return a}});var r=n(7294),i=n(6723);function a(e){let t=(0,r.useRef)(e);return(0,i.e)(()=>{t.current=e},[e]),t}},4157:function(e,t,n){"use strict";n.d(t,{f:function(){return o}});var r=n(7294),i=n(6723);function a(e){var t;if(e.type)return e.type;let n=null!=(t=e.as)?t:"button";if("string"==typeof n&&"button"===n.toLowerCase())return"button"}function o(e,t){let[n,o]=(0,r.useState)(()=>a(e));return(0,i.e)(()=>{o(a(e))},[e.type,e.as]),(0,i.e)(()=>{n||t.current&&t.current instanceof HTMLButtonElement&&!t.current.hasAttribute("type")&&o("button")},[n,t]),n}},2180:function(e,t,n){"use strict";n.d(t,{H:function(){return a}});var r=n(7294),i=n(7896);function a(){let[e,t]=(0,r.useState)(i.O.isHandoffComplete);return e&&!1===i.O.isHandoffComplete&&t(!1),(0,r.useEffect)(()=>{!0!==e&&t(!0)},[e]),(0,r.useEffect)(()=>i.O.handoff(),[]),e}},3784:function(e,t,n){"use strict";n.d(t,{T:function(){return o}});var r=n(7294),i=n(3781);let a=Symbol();function o(...e){let t=(0,r.useRef)(e);(0,r.useEffect)(()=>{t.current=e},[e]);let n=(0,i.z)(e=>{for(let n of t.current)null!=n&&("function"==typeof n?n(e):n.current=e)});return e.every(e=>null==e||(null==e?void 0:e[a]))?void 0:n}},6045:function(e,t,n){"use strict";n.d(t,{A:function(){return o},_:function(){return l}});var r,i=n(2351);let a="div";var o=((r=o||{})[r.None=1]="None",r[r.Focusable=2]="Focusable",r[r.Hidden=4]="Hidden",r);function s(e,t){let{features:n=1,...r}=e,o={ref:t,"aria-hidden":(2&n)==2||void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...(4&n)==4&&(2&n)!=2&&{display:"none"}}};return(0,i.sY)({ourProps:o,theirProps:r,slot:{},defaultTag:a,name:"Hidden"})}let l=(0,i.yV)(s)},4067:function(e,t,n){"use strict";function r(...e){return e.filter(Boolean).join(" ")}n.d(t,{A:function(){return r}})},9362:function(e,t,n){"use strict";n.d(t,{k:function(){return i}});var r=n(1021);function i(){let e=[],t={addEventListener:(e,n,r,i)=>(e.addEventListener(n,r,i),t.add(()=>e.removeEventListener(n,r,i))),requestAnimationFrame(...e){let n=requestAnimationFrame(...e);return t.add(()=>cancelAnimationFrame(n))},nextFrame:(...e)=>t.requestAnimationFrame(()=>t.requestAnimationFrame(...e)),setTimeout(...e){let n=setTimeout(...e);return t.add(()=>clearTimeout(n))},microTask(...e){let n={current:!0};return(0,r.Y)(()=>{n.current&&e[0]()}),t.add(()=>{n.current=!1})},style(e,t,n){let r=e.style.getPropertyValue(t);return Object.assign(e.style,{[t]:n}),this.add(()=>{Object.assign(e.style,{[t]:r})})},group(e){let t=i();return e(t),this.add(()=>t.dispose())},add:t=>(e.push(t),()=>{let n=e.indexOf(t);if(n>=0)for(let t of e.splice(n,1))t()}),dispose(){for(let t of e.splice(0))t()}};return t}},7896:function(e,t,n){"use strict";n.d(t,{O:function(){return s}});var r=Object.defineProperty,i=(e,t,n)=>t in e?r(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,a=(e,t,n)=>(i(e,"symbol"!=typeof t?t+"":t,n),n);class o{constructor(){a(this,"current",this.detect()),a(this,"handoffState","pending"),a(this,"currentId",0)}set(e){this.current!==e&&(this.handoffState="pending",this.currentId=0,this.current=e)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return"server"===this.current}get isClient(){return"client"===this.current}detect(){return"undefined"==typeof window||"undefined"==typeof document?"server":"client"}handoff(){"pending"===this.handoffState&&(this.handoffState="complete")}get isHandoffComplete(){return"complete"===this.handoffState}}let s=new o},4575:function(e,t,n){"use strict";n.d(t,{EO:function(){return j},TO:function(){return f},fE:function(){return h},jA:function(){return E},sP:function(){return g},tJ:function(){return x},wI:function(){return v},z2:function(){return k}});var r,i,a,o,s,l=n(9362),u=n(2984),c=n(5466);let d=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(e=>`${e}:not([tabindex='-1'])`).join(",");var f=((r=f||{})[r.First=1]="First",r[r.Previous=2]="Previous",r[r.Next=4]="Next",r[r.Last=8]="Last",r[r.WrapAround=16]="WrapAround",r[r.NoScroll=32]="NoScroll",r),h=((i=h||{})[i.Error=0]="Error",i[i.Overflow=1]="Overflow",i[i.Success=2]="Success",i[i.Underflow=3]="Underflow",i),p=((a=p||{})[a.Previous=-1]="Previous",a[a.Next=1]="Next",a);function m(e=document.body){return null==e?[]:Array.from(e.querySelectorAll(d)).sort((e,t)=>Math.sign((e.tabIndex||Number.MAX_SAFE_INTEGER)-(t.tabIndex||Number.MAX_SAFE_INTEGER)))}var x=((o=x||{})[o.Strict=0]="Strict",o[o.Loose=1]="Loose",o);function g(e,t=0){var n;return e!==(null==(n=(0,c.r)(e))?void 0:n.body)&&(0,u.E)(t,{0:()=>e.matches(d),1(){let t=e;for(;null!==t;){if(t.matches(d))return!0;t=t.parentElement}return!1}})}function v(e){let t=(0,c.r)(e);(0,l.k)().nextFrame(()=>{t&&!g(t.activeElement,0)&&b(e)})}var y=((s=y||{})[s.Keyboard=0]="Keyboard",s[s.Mouse=1]="Mouse",s);function b(e){null==e||e.focus({preventScroll:!0})}"undefined"!=typeof window&&"undefined"!=typeof document&&(document.addEventListener("keydown",e=>{e.metaKey||e.altKey||e.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")},!0),document.addEventListener("click",e=>{1===e.detail?delete document.documentElement.dataset.headlessuiFocusVisible:0===e.detail&&(document.documentElement.dataset.headlessuiFocusVisible="")},!0));let w="textarea,input";function _(e){var t,n;return null!=(n=null==(t=null==e?void 0:e.matches)?void 0:t.call(e,w))&&n}function k(e,t=e=>e){return e.slice().sort((e,n)=>{let r=t(e),i=t(n);if(null===r||null===i)return 0;let a=r.compareDocumentPosition(i);return a&Node.DOCUMENT_POSITION_FOLLOWING?-1:a&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function j(e,t){return E(m(),t,{relativeTo:e})}function E(e,t,{sorted:n=!0,relativeTo:r=null,skipElements:i=[]}={}){let a=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e.ownerDocument,o=Array.isArray(e)?n?k(e):e:m(e);i.length>0&&o.length>1&&(o=o.filter(e=>!i.includes(e))),r=null!=r?r:a.activeElement;let s=(()=>{if(5&t)return 1;if(10&t)return -1;throw Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),l=(()=>{if(1&t)return 0;if(2&t)return Math.max(0,o.indexOf(r))-1;if(4&t)return Math.max(0,o.indexOf(r))+1;if(8&t)return o.length-1;throw Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),u=32&t?{preventScroll:!0}:{},c=0,d=o.length,f;do{if(c>=d||c+d<=0)return 0;let e=l+c;if(16&t)e=(e+d)%d;else{if(e<0)return 3;if(e>=d)return 1}null==(f=o[e])||f.focus(u),c+=s}while(f!==a.activeElement);return 6&t&&_(f)&&f.select(),2}},2984:function(e,t,n){"use strict";function r(e,t,...n){if(e in t){let r=t[e];return"function"==typeof r?r(...n):r}let i=Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map(e=>`"${e}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(i,r),i}n.d(t,{E:function(){return r}})},1021:function(e,t,n){"use strict";function r(e){"function"==typeof queueMicrotask?queueMicrotask(e):Promise.resolve().then(e).catch(e=>setTimeout(()=>{throw e}))}n.d(t,{Y:function(){return r}})},5466:function(e,t,n){"use strict";n.d(t,{r:function(){return i}});var r=n(7896);function i(e){return r.O.isServer?null:e instanceof Node?e.ownerDocument:null!=e&&e.hasOwnProperty("current")&&e.current instanceof Node?e.current.ownerDocument:document}},2351:function(e,t,n){"use strict";n.d(t,{AN:function(){return l},l4:function(){return u},oA:function(){return m},sY:function(){return c},yV:function(){return p}});var r,i,a=n(7294),o=n(4067),s=n(2984),l=((r=l||{})[r.None=0]="None",r[r.RenderStrategy=1]="RenderStrategy",r[r.Static=2]="Static",r),u=((i=u||{})[i.Unmount=0]="Unmount",i[i.Hidden=1]="Hidden",i);function c({ourProps:e,theirProps:t,slot:n,defaultTag:r,features:i,visible:a=!0,name:o}){let l=h(t,e);if(a)return d(l,n,r,o);let u=null!=i?i:0;if(2&u){let{static:e=!1,...t}=l;if(e)return d(t,n,r,o)}if(1&u){let{unmount:e=!0,...t}=l;return(0,s.E)(e?0:1,{0:()=>null,1:()=>d({...t,hidden:!0,style:{display:"none"}},n,r,o)})}return d(l,n,r,o)}function d(e,t={},n,r){let{as:i=n,children:s,refName:l="ref",...u}=x(e,["unmount","static"]),c=void 0!==e.ref?{[l]:e.ref}:{},d="function"==typeof s?s(t):s;"className"in u&&u.className&&"function"==typeof u.className&&(u.className=u.className(t));let p={};if(t){let e=!1,n=[];for(let[r,i]of Object.entries(t))"boolean"==typeof i&&(e=!0),!0===i&&n.push(r);e&&(p["data-headlessui-state"]=n.join(" "))}if(i===a.Fragment&&Object.keys(m(u)).length>0){if(!(0,a.isValidElement)(d)||Array.isArray(d)&&d.length>1)throw Error(['Passing props on "Fragment"!',"",`The current component <${r} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(u).map(e=>` - ${e}`).join(` -`),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".',"Render a single element as the child so that we can forward the props onto that element."].map(e=>` - ${e}`).join(` -`)].join(` -`));let e=d.props,t="function"==typeof(null==e?void 0:e.className)?(...t)=>(0,o.A)(null==e?void 0:e.className(...t),u.className):(0,o.A)(null==e?void 0:e.className,u.className),n=t?{className:t}:{};return(0,a.cloneElement)(d,Object.assign({},h(d.props,m(x(u,["ref"]))),p,c,f(d.ref,c.ref),n))}return(0,a.createElement)(i,Object.assign({},x(u,["ref"]),i!==a.Fragment&&c,i!==a.Fragment&&p),d)}function f(...e){return{ref:e.every(e=>null==e)?void 0:t=>{for(let n of e)null!=n&&("function"==typeof n?n(t):n.current=t)}}}function h(...e){var t;if(0===e.length)return{};if(1===e.length)return e[0];let n={},r={};for(let i of e)for(let e in i)e.startsWith("on")&&"function"==typeof i[e]?(null!=(t=r[e])||(r[e]=[]),r[e].push(i[e])):n[e]=i[e];if(n.disabled||n["aria-disabled"])return Object.assign(n,Object.fromEntries(Object.keys(r).map(e=>[e,void 0])));for(let e in r)Object.assign(n,{[e](t,...n){for(let i of r[e]){if((t instanceof Event||(null==t?void 0:t.nativeEvent)instanceof Event)&&t.defaultPrevented)return;i(t,...n)}}});return n}function p(e){var t;return Object.assign((0,a.forwardRef)(e),{displayName:null!=(t=e.displayName)?t:e.name})}function m(e){let t=Object.assign({},e);for(let e in t)void 0===t[e]&&delete t[e];return t}function x(e,t=[]){let n=Object.assign({},e);for(let e of t)e in n&&delete n[e];return n}},1151:function(e,t,n){"use strict";n.d(t,{NF:function(){return a},Zo:function(){return l},ah:function(){return o},pC:function(){return i}});var r=n(7294);let i=r.createContext({});function a(e){return t;function t(t){let n=o(t.components);return r.createElement(e,{...t,allComponents:n})}}function o(e){let t=r.useContext(i);return r.useMemo(()=>"function"==typeof e?e(t):{...t,...e},[t,e])}let s={};function l({components:e,children:t,disableParentContext:n}){let a;return a=n?"function"==typeof e?e({}):e||s:o(e),r.createElement(i.Provider,{value:a},t)}},512:function(e,t,n){"use strict";function r(e){var t,n,i="";if("string"==typeof e||"number"==typeof e)i+=e;else if("object"==typeof e){if(Array.isArray(e))for(t=0;t{if(l){let e=window.requestIdleCallback(()=>{c(!0)});return()=>window.cancelIdleCallback(e)}},[]);let d=(0,i.useMemo)(()=>{let i=Object.assign({opts:{...r,...a.jsxRuntime}},{frontmatter:t},n),o=Object.keys(i),s=Object.values(i),l=Reflect.construct(Function,o.concat(`${e}`));return l.apply(l,s).default},[n,e]);if(!u)return i.createElement("div",{dangerouslySetInnerHTML:{__html:""},suppressHydrationWarning:!0});let f=i.createElement(o.Zo,{components:s},i.createElement(d,null));return l?i.createElement("div",null,f):f}"undefined"!=typeof window&&(window.requestIdleCallback=window.requestIdleCallback||function(e){var t=Date.now();return setTimeout(function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})},1)},window.cancelIdleCallback=window.cancelIdleCallback||function(e){clearTimeout(e)})},7222:function(e,t,n){"use strict";n.d(t,{ZW:function(){return a},eZ:function(){return s},hV:function(){return l}});var r=n(1864),i=n(3454),a="en-US",o=i.cwd();r.join(o,"public");var s=Symbol.for("__nextra_internal__"),l=new Set(["/404","/500"])}}]); \ No newline at end of file diff --git a/pr-preview/pr-159/_next/static/chunks/framework-5429a50ba5373c56.js b/pr-preview/pr-159/_next/static/chunks/framework-5429a50ba5373c56.js deleted file mode 100644 index 2016914..0000000 --- a/pr-preview/pr-159/_next/static/chunks/framework-5429a50ba5373c56.js +++ /dev/null @@ -1,33 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[774],{4448:function(e,n,t){/** - * @license React - * react-dom.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var r,l,a,u,o,i,s=t(7294),c=t(3840);function f(e){for(var n="https://reactjs.org/docs/error-decoder.html?invariant="+e,t=1;t