@sinytra/wiki-previewer 0.1.138 → 0.1.170
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.next/BUILD_ID +1 -1
- package/.next/app-build-manifest.json +179 -177
- package/.next/app-path-routes-manifest.json +4 -4
- package/.next/build-manifest.json +5 -5
- package/.next/prerender-manifest.json +23 -23
- package/.next/server/app/(developers)/api/docs/[slug]/asset/[id]/route.js +1 -1
- package/.next/server/app/(developers)/api/docs/[slug]/asset/[id]/route.js.nft.json +1 -1
- package/.next/server/app/(developers)/api/docs/[slug]/asset/[id]/route_client-reference-manifest.js +1 -1
- package/.next/server/app/(developers)/api/raw/[locale]/[slug]/[version]/content/[id]/route.js +1 -3
- package/.next/server/app/(developers)/api/raw/[locale]/[slug]/[version]/content/[id]/route.js.nft.json +1 -1
- package/.next/server/app/(developers)/api/raw/[locale]/[slug]/[version]/content/[id]/route_client-reference-manifest.js +1 -1
- package/.next/server/app/(developers)/api/raw/[locale]/[slug]/[version]/docs/[...path]/route.js +1 -3
- package/.next/server/app/(developers)/api/raw/[locale]/[slug]/[version]/docs/[...path]/route.js.nft.json +1 -1
- package/.next/server/app/(developers)/api/raw/[locale]/[slug]/[version]/docs/[...path]/route_client-reference-manifest.js +1 -1
- package/.next/server/app/(developers)/api/raw/[locale]/[slug]/[version]/docs/route.js +1 -3
- package/.next/server/app/(developers)/api/raw/[locale]/[slug]/[version]/docs/route.js.nft.json +1 -1
- package/.next/server/app/(developers)/api/raw/[locale]/[slug]/[version]/docs/route_client-reference-manifest.js +1 -1
- package/.next/server/app/[locale]/(main)/project/[slug]/[version]/content/[id]/page.js +3 -3
- package/.next/server/app/[locale]/(main)/project/[slug]/[version]/content/[id]/page.js.nft.json +1 -1
- package/.next/server/app/[locale]/(main)/project/[slug]/[version]/content/[id]/page_client-reference-manifest.js +1 -1
- package/.next/server/app/[locale]/(main)/project/[slug]/[version]/content/page.js +2 -2
- package/.next/server/app/[locale]/(main)/project/[slug]/[version]/content/page.js.nft.json +1 -1
- package/.next/server/app/[locale]/(main)/project/[slug]/[version]/content/page_client-reference-manifest.js +1 -1
- package/.next/server/app/[locale]/(main)/project/[slug]/[version]/docs/[...path]/page.js +2 -2
- package/.next/server/app/[locale]/(main)/project/[slug]/[version]/docs/[...path]/page.js.nft.json +1 -1
- package/.next/server/app/[locale]/(main)/project/[slug]/[version]/docs/[...path]/page_client-reference-manifest.js +1 -1
- package/.next/server/app/[locale]/(main)/project/[slug]/[version]/docs/page.js +2 -2
- package/.next/server/app/[locale]/(main)/project/[slug]/[version]/docs/page.js.nft.json +1 -1
- package/.next/server/app/[locale]/(main)/project/[slug]/[version]/docs/page_client-reference-manifest.js +1 -1
- package/.next/server/app/[locale]/(main)/project/[slug]/[version]/llms.txt/route.js +2 -4
- package/.next/server/app/[locale]/(main)/project/[slug]/[version]/llms.txt/route.js.nft.json +1 -1
- package/.next/server/app/[locale]/(main)/project/[slug]/[version]/llms.txt/route_client-reference-manifest.js +1 -1
- package/.next/server/app/[locale]/(main)/project/[slug]/[version]/page.js +2 -2
- package/.next/server/app/[locale]/(main)/project/[slug]/[version]/page.js.nft.json +1 -1
- package/.next/server/app/[locale]/(main)/project/[slug]/[version]/page_client-reference-manifest.js +1 -1
- package/.next/server/app/[locale]/page.js +2 -2
- package/.next/server/app/[locale]/page.js.nft.json +1 -1
- package/.next/server/app/[locale]/page_client-reference-manifest.js +1 -1
- package/.next/server/app/_not-found/page.js +4 -2
- package/.next/server/app/_not-found/page.js.nft.json +1 -1
- package/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/.next/server/app/_not-found.html +2 -2
- package/.next/server/app/_not-found.rsc +25 -22
- package/.next/server/app/llms.txt/route.js +3 -3
- package/.next/server/app/llms.txt/route_client-reference-manifest.js +1 -1
- package/.next/server/app/opengraph-image/route_client-reference-manifest.js +1 -1
- package/.next/server/app/robots.txt/route.js +1 -1
- package/.next/server/app/robots.txt/route_client-reference-manifest.js +1 -1
- package/.next/server/app/sitemap.xml/route.js +1 -1
- package/.next/server/app/sitemap.xml/route_client-reference-manifest.js +1 -1
- package/.next/server/app-paths-manifest.json +4 -4
- package/.next/server/chunks/1262.js +1 -0
- package/.next/server/chunks/131.js +1 -0
- package/.next/server/chunks/1588.js +1 -0
- package/.next/server/chunks/1871.js +2 -2
- package/.next/server/chunks/2028.js +1 -0
- package/.next/server/chunks/228.js +4 -0
- package/.next/server/chunks/2313.js +2 -2
- package/.next/server/chunks/2624.js +1 -0
- package/.next/server/chunks/336.js +1 -0
- package/.next/server/chunks/3737.js +1 -0
- package/.next/server/chunks/4046.js +1 -5
- package/.next/server/chunks/4349.js +3 -0
- package/.next/server/chunks/4596.js +59 -0
- package/.next/server/chunks/491.js +70 -0
- package/.next/server/chunks/520.js +1 -1
- package/.next/server/chunks/5743.js +1 -0
- package/.next/server/chunks/616.js +1 -0
- package/.next/server/chunks/6431.js +1 -1
- package/.next/server/chunks/6703.js +5 -0
- package/.next/server/chunks/6769.js +156 -0
- package/.next/server/chunks/6795.js +1 -1
- package/.next/server/chunks/788.js +6 -0
- package/.next/server/chunks/8248.js +1 -0
- package/.next/server/chunks/9846.js +1 -0
- package/.next/server/chunks/9882.js +1 -1
- package/.next/server/middleware-build-manifest.js +1 -1
- package/.next/server/middleware-manifest.json +10 -10
- package/.next/server/pages/404.html +2 -2
- package/.next/server/pages/500.html +1 -1
- package/.next/server/server-reference-manifest.json +1 -1
- package/.next/server/src/middleware.js +2 -2
- package/.next/static/chunks/1585-e1c132e343469431.js +1 -0
- package/.next/static/chunks/1598-156d40176df3a561.js +1 -0
- package/.next/static/chunks/2181-7eef2f0be21dda7c.js +1 -0
- package/.next/static/chunks/2622-c5c4a5ead893f29c.js +2 -0
- package/.next/static/chunks/3926-80e004b96f5b3b5b.js +1 -0
- package/.next/static/chunks/4093-1f8c9772738f2816.js +1 -0
- package/.next/static/chunks/4733-2257caf1c698d7e8.js +1 -0
- package/.next/static/chunks/5142-7d8faa4c26a65316.js +1 -0
- package/.next/static/chunks/524-3cc239afc0d4eca9.js +3 -0
- package/.next/static/chunks/6717-c33dd42f1f83b8bb.js +1 -0
- package/.next/static/chunks/7624-461cc56045579946.js +124 -0
- package/.next/static/chunks/8237-cdc658aac6b5f7e3.js +1 -0
- package/.next/static/chunks/app/(developers)/api/docs/[slug]/asset/[id]/route-4386cdbb154d9e82.js +1 -0
- package/.next/static/chunks/app/(developers)/api/raw/[locale]/[slug]/[version]/content/[id]/route-01f98a586f1322f2.js +1 -0
- package/.next/static/chunks/app/(developers)/api/raw/[locale]/[slug]/[version]/docs/[...path]/route-01f98a586f1322f2.js +1 -0
- package/.next/static/chunks/app/(developers)/api/raw/[locale]/[slug]/[version]/docs/route-01f98a586f1322f2.js +1 -0
- package/.next/static/chunks/app/[locale]/(main)/layout-c8d34591a3bebe8a.js +1 -0
- package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/content/[id]/error-8fdfb2bbbf2600bf.js +1 -0
- package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/content/[id]/not-found-7e8dea2abc2a685c.js +1 -0
- package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/content/[id]/page-1c85198c1c8bef22.js +1 -0
- package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/content/error-fe5718998dac206c.js +1 -0
- package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/content/not-found-7e8dea2abc2a685c.js +1 -0
- package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/content/page-04971a6d0b8fe679.js +1 -0
- package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/docs/[...path]/error-035cbb44e8453d60.js +1 -0
- package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/docs/[...path]/not-found-7e8dea2abc2a685c.js +1 -0
- package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/docs/[...path]/page-9293e75edda29622.js +1 -0
- package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/docs/error-88488dc413e279c7.js +1 -0
- package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/docs/not-found-7e8dea2abc2a685c.js +1 -0
- package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/docs/page-a421a87efa96c006.js +1 -0
- package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/layout-46a82717452e90fc.js +1 -0
- package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/llms.txt/route-01f98a586f1322f2.js +1 -0
- package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/page-5c8e5953e6f155a7.js +1 -0
- package/.next/static/chunks/app/[locale]/layout-ed9421949ba1f852.js +1 -0
- package/.next/static/chunks/app/[locale]/not-found-fb45f3824f166720.js +1 -0
- package/.next/static/chunks/app/[locale]/page-838aee57891238a3.js +1 -0
- package/.next/static/chunks/app/error-ff6f26d95b853d19.js +1 -0
- package/.next/static/chunks/app/layout-703fc99f1f6a3c6a.js +2 -0
- package/.next/static/chunks/app/not-found-eabb548d829eddd3.js +1 -0
- package/.next/static/chunks/{webpack-7a8a7ce50d8a8bf1.js → webpack-63ed22b0950d381a.js} +1 -1
- package/.next/static/css/035e0afb250fa538.css +1 -0
- package/.next/static/css/{db2e80439506b5eb.css → 0bd49162adda2dfc.css} +1 -1
- package/.next/static/css/87cdd106bfa4f993.css +1 -0
- package/.next/static/media/KaTeX_AMS-Regular.1608a09b.woff +0 -0
- package/.next/static/media/KaTeX_AMS-Regular.4aafdb68.ttf +0 -0
- package/.next/static/media/KaTeX_AMS-Regular.a79f1c31.woff2 +0 -0
- package/.next/static/media/KaTeX_Caligraphic-Bold.b6770918.woff +0 -0
- package/.next/static/media/KaTeX_Caligraphic-Bold.cce5b8ec.ttf +0 -0
- package/.next/static/media/KaTeX_Caligraphic-Bold.ec17d132.woff2 +0 -0
- package/.next/static/media/KaTeX_Caligraphic-Regular.07ef19e7.ttf +0 -0
- package/.next/static/media/KaTeX_Caligraphic-Regular.55fac258.woff2 +0 -0
- package/.next/static/media/KaTeX_Caligraphic-Regular.dad44a7f.woff +0 -0
- package/.next/static/media/KaTeX_Fraktur-Bold.9f256b85.woff +0 -0
- package/.next/static/media/KaTeX_Fraktur-Bold.b18f59e1.ttf +0 -0
- package/.next/static/media/KaTeX_Fraktur-Bold.d42a5579.woff2 +0 -0
- package/.next/static/media/KaTeX_Fraktur-Regular.7c187121.woff +0 -0
- package/.next/static/media/KaTeX_Fraktur-Regular.d3c882a6.woff2 +0 -0
- package/.next/static/media/KaTeX_Fraktur-Regular.ed38e79f.ttf +0 -0
- package/.next/static/media/KaTeX_Main-Bold.b74a1a8b.ttf +0 -0
- package/.next/static/media/KaTeX_Main-Bold.c3fb5ac2.woff2 +0 -0
- package/.next/static/media/KaTeX_Main-Bold.d181c465.woff +0 -0
- package/.next/static/media/KaTeX_Main-BoldItalic.6f2bb1df.woff2 +0 -0
- package/.next/static/media/KaTeX_Main-BoldItalic.70d8b0a5.ttf +0 -0
- package/.next/static/media/KaTeX_Main-BoldItalic.e3f82f9d.woff +0 -0
- package/.next/static/media/KaTeX_Main-Italic.47373d1e.ttf +0 -0
- package/.next/static/media/KaTeX_Main-Italic.8916142b.woff2 +0 -0
- package/.next/static/media/KaTeX_Main-Italic.9024d815.woff +0 -0
- package/.next/static/media/KaTeX_Main-Regular.0462f03b.woff2 +0 -0
- package/.next/static/media/KaTeX_Main-Regular.7f51fe03.woff +0 -0
- package/.next/static/media/KaTeX_Main-Regular.b7f8fe9b.ttf +0 -0
- package/.next/static/media/KaTeX_Math-BoldItalic.572d331f.woff2 +0 -0
- package/.next/static/media/KaTeX_Math-BoldItalic.a879cf83.ttf +0 -0
- package/.next/static/media/KaTeX_Math-BoldItalic.f1035d8d.woff +0 -0
- package/.next/static/media/KaTeX_Math-Italic.5295ba48.woff +0 -0
- package/.next/static/media/KaTeX_Math-Italic.939bc644.ttf +0 -0
- package/.next/static/media/KaTeX_Math-Italic.f28c23ac.woff2 +0 -0
- package/.next/static/media/KaTeX_SansSerif-Bold.8c5b5494.woff2 +0 -0
- package/.next/static/media/KaTeX_SansSerif-Bold.94e1e8dc.ttf +0 -0
- package/.next/static/media/KaTeX_SansSerif-Bold.bf59d231.woff +0 -0
- package/.next/static/media/KaTeX_SansSerif-Italic.3b1e59b3.woff2 +0 -0
- package/.next/static/media/KaTeX_SansSerif-Italic.7c9bc82b.woff +0 -0
- package/.next/static/media/KaTeX_SansSerif-Italic.b4c20c84.ttf +0 -0
- package/.next/static/media/KaTeX_SansSerif-Regular.74048478.woff +0 -0
- package/.next/static/media/KaTeX_SansSerif-Regular.ba21ed5f.woff2 +0 -0
- package/.next/static/media/KaTeX_SansSerif-Regular.d4d7ba48.ttf +0 -0
- package/.next/static/media/KaTeX_Script-Regular.03e9641d.woff2 +0 -0
- package/.next/static/media/KaTeX_Script-Regular.07505710.woff +0 -0
- package/.next/static/media/KaTeX_Script-Regular.fe9cbbe1.ttf +0 -0
- package/.next/static/media/KaTeX_Size1-Regular.e1e279cb.woff +0 -0
- package/.next/static/media/KaTeX_Size1-Regular.eae34984.woff2 +0 -0
- package/.next/static/media/KaTeX_Size1-Regular.fabc004a.ttf +0 -0
- package/.next/static/media/KaTeX_Size2-Regular.57727022.woff +0 -0
- package/.next/static/media/KaTeX_Size2-Regular.5916a24f.woff2 +0 -0
- package/.next/static/media/KaTeX_Size2-Regular.d6b476ec.ttf +0 -0
- package/.next/static/media/KaTeX_Size3-Regular.9acaf01c.woff +0 -0
- package/.next/static/media/KaTeX_Size3-Regular.a144ef58.ttf +0 -0
- package/.next/static/media/KaTeX_Size3-Regular.b4230e7e.woff2 +0 -0
- package/.next/static/media/KaTeX_Size4-Regular.10d95fd3.woff2 +0 -0
- package/.next/static/media/KaTeX_Size4-Regular.7a996c9d.woff +0 -0
- package/.next/static/media/KaTeX_Size4-Regular.fbccdabe.ttf +0 -0
- package/.next/static/media/KaTeX_Typewriter-Regular.6258592b.woff +0 -0
- package/.next/static/media/KaTeX_Typewriter-Regular.a8709e36.woff2 +0 -0
- package/.next/static/media/KaTeX_Typewriter-Regular.d97aaf4a.ttf +0 -0
- package/package.json +1 -1
- package/public/static/oracle_index_logo.png +0 -0
- package/public/static/oracle_index_preview.png +0 -0
- package/.next/server/chunks/1093.js +0 -1
- package/.next/server/chunks/1665.js +0 -1
- package/.next/server/chunks/2337.js +0 -1
- package/.next/server/chunks/2470.js +0 -1
- package/.next/server/chunks/448.js +0 -6
- package/.next/server/chunks/4854.js +0 -1
- package/.next/server/chunks/5006.js +0 -1
- package/.next/server/chunks/5155.js +0 -70
- package/.next/server/chunks/5268.js +0 -1
- package/.next/server/chunks/5899.js +0 -1
- package/.next/server/chunks/659.js +0 -1
- package/.next/server/chunks/7101.js +0 -1
- package/.next/server/chunks/7360.js +0 -54
- package/.next/server/chunks/7480.js +0 -4
- package/.next/server/chunks/801.js +0 -1
- package/.next/server/chunks/8939.js +0 -1
- package/.next/server/chunks/9349.js +0 -156
- package/.next/static/chunks/103-bb5be664adfa28b0.js +0 -1
- package/.next/static/chunks/1303-e6c6e8e86392f9c5.js +0 -1
- package/.next/static/chunks/1651-818a836d2b323da4.js +0 -1
- package/.next/static/chunks/1859-4cd8a16f092fe780.js +0 -2
- package/.next/static/chunks/3213-26b80eb2d0d9684e.js +0 -3
- package/.next/static/chunks/3435-92f79618cd975bb2.js +0 -1
- package/.next/static/chunks/4420-85053607238174d5.js +0 -1
- package/.next/static/chunks/595-0c474c9c380c25be.js +0 -1
- package/.next/static/chunks/6615-6ffb915f255c82cb.js +0 -1
- package/.next/static/chunks/7291-d0bf41e2846857b4.js +0 -1
- package/.next/static/chunks/7671-a057238de3da6733.js +0 -124
- package/.next/static/chunks/8156-48504a33b4a5a884.js +0 -1
- package/.next/static/chunks/app/(developers)/api/docs/[slug]/asset/[id]/route-a32218f743279cef.js +0 -1
- package/.next/static/chunks/app/(developers)/api/raw/[locale]/[slug]/[version]/content/[id]/route-02f6ed057797284c.js +0 -1
- package/.next/static/chunks/app/(developers)/api/raw/[locale]/[slug]/[version]/docs/[...path]/route-02f6ed057797284c.js +0 -1
- package/.next/static/chunks/app/(developers)/api/raw/[locale]/[slug]/[version]/docs/route-02f6ed057797284c.js +0 -1
- package/.next/static/chunks/app/[locale]/(main)/layout-f7ed212eb653418b.js +0 -1
- package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/content/[id]/error-266e3f12ae849c57.js +0 -1
- package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/content/[id]/not-found-4e72ce02cc69bad5.js +0 -1
- package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/content/[id]/page-713270067bf4d0fa.js +0 -1
- package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/content/error-e6fe526b6adfa3d7.js +0 -1
- package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/content/not-found-4e72ce02cc69bad5.js +0 -1
- package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/content/page-ecc5291cffc6de24.js +0 -1
- package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/docs/[...path]/error-11961923d6b20cfe.js +0 -1
- package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/docs/[...path]/not-found-4e72ce02cc69bad5.js +0 -1
- package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/docs/[...path]/page-befbba1ec39978bd.js +0 -1
- package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/docs/error-7e669c5a664fc085.js +0 -1
- package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/docs/not-found-4e72ce02cc69bad5.js +0 -1
- package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/docs/page-ca8de70bb1166827.js +0 -1
- package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/layout-ea41b072285eca79.js +0 -1
- package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/llms.txt/route-02f6ed057797284c.js +0 -1
- package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/page-e725bcaca51d9f92.js +0 -1
- package/.next/static/chunks/app/[locale]/layout-ec6be687a5a93a67.js +0 -1
- package/.next/static/chunks/app/[locale]/not-found-8d8b16b11816d814.js +0 -1
- package/.next/static/chunks/app/[locale]/page-33dde9071f99c7bb.js +0 -1
- package/.next/static/chunks/app/error-7aefa5a1e95931fc.js +0 -1
- package/.next/static/chunks/app/layout-3165efcf5806a69a.js +0 -2
- package/.next/static/chunks/app/not-found-2ef1f2fbd28d1588.js +0 -1
- package/.next/static/css/ebfae85ced9ba012.css +0 -1
- /package/.next/static/{21BOj7n1lFC3-3CQb0vIU → J_ljlUafIzQLzkB56m-2V}/_buildManifest.js +0 -0
- /package/.next/static/{21BOj7n1lFC3-3CQb0vIU → J_ljlUafIzQLzkB56m-2V}/_ssgManifest.js +0 -0
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[524],{60524:(e,t,r)=>{r.d(t,{Dk:()=>es,kc:()=>eu,Ym:()=>el,c3:()=>ea});var i=r(28081);function s(e,t){let r=t&&t.cache?t.cache:l,i=t&&t.serializer?t.serializer:h;return(t&&t.strategy?t.strategy:function(e,t){var r,i;let s=1===e.length?n:o;return r=t.cache.create(),i=t.serializer,s.bind(this,e,r,i)})(e,{cache:r,serializer:i})}function n(e,t,r,i){let s=null==i||"number"==typeof i||"boolean"==typeof i?i:r(i),n=t.get(s);return void 0===n&&(n=e.call(this,i),t.set(s,n)),n}function o(e,t,r){let i=Array.prototype.slice.call(arguments,3),s=r(i),n=t.get(s);return void 0===n&&(n=e.apply(this,i),t.set(s,n)),n}let h=function(){return JSON.stringify(arguments)};var a=class{constructor(){this.cache=Object.create(null)}get(e){return this.cache[e]}set(e,t){this.cache[e]=t}};let l={create:function(){return new a}},u={variadic:function(e,t){var r,i;return r=t.cache.create(),i=t.serializer,o.bind(this,e,r,i)},monadic:function(e,t){var r,i;return r=t.cache.create(),i=t.serializer,n.bind(this,e,r,i)}};class c extends Error{constructor(e,t){let r=e;t&&(r+=": "+t),super(r),this.code=e,t&&(this.originalMessage=t)}}var m=function(e){return e.MISSING_MESSAGE="MISSING_MESSAGE",e.MISSING_FORMAT="MISSING_FORMAT",e.ENVIRONMENT_FALLBACK="ENVIRONMENT_FALLBACK",e.INSUFFICIENT_PATH="INSUFFICIENT_PATH",e.INVALID_MESSAGE="INVALID_MESSAGE",e.INVALID_KEY="INVALID_KEY",e.FORMATTING_ERROR="FORMATTING_ERROR",e}(m||{});function f(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}}function p(e,t){return s(e,{cache:{create:()=>({get:e=>t[e],set(e,r){t[e]=r}})},strategy:u.variadic})}function g(e,t){return p((...t)=>new e(...t),t)}function E(e){return{getDateTimeFormat:g(Intl.DateTimeFormat,e.dateTime),getNumberFormat:g(Intl.NumberFormat,e.number),getPluralRules:g(Intl.PluralRules,e.pluralRules),getRelativeTimeFormat:g(Intl.RelativeTimeFormat,e.relativeTime),getListFormat:g(Intl.ListFormat,e.list),getDisplayNames:g(Intl.DisplayNames,e.displayNames)}}let b=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g,H=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,y=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,B=/^(@+)?(\+|#+)?[rs]?$/g,d=/(\*)(0+)|(#+)(0+)|(0+)/g,T=/^(0+)$/;function A(e){let t={};return"r"===e[e.length-1]?t.roundingPriority="morePrecision":"s"===e[e.length-1]&&(t.roundingPriority="lessPrecision"),e.replace(B,function(e,r,i){return"string"!=typeof i?(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length):"+"===i?t.minimumSignificantDigits=r.length:"#"===r[0]?t.maximumSignificantDigits=r.length:(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length+("string"==typeof i?i.length:0)),""}),t}function S(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function I(e){let t=S(e);return t||{}}let N=function(e){return e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG",e}({});function _(e){return!!(e&&"object"==typeof e&&0===e.type)}function P(e){return!!(e&&"object"==typeof e&&1===e.type)}let M=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,L={"001":["H","h"],419:["h","H","hB","hb"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["h","H","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["h","H","hB","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["h","H","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["h","H","hB","hb"],CU:["h","H","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["h","H","hB","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GS:["H","h","hb","hB"],GT:["h","H","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["h","H","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["h","H","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["h","H","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["h","H","hB","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["h","H","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["h","H","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["h","H","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"en-HK":["h","hb","H","hB"],"en-IL":["H","h","hb","hB"],"en-MY":["h","hb","H","hB"],"es-BR":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ku-SY":["H","hB"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]},R=RegExp(`^${M.source}*`),v=RegExp(`${M.source}*$`);function O(e,t){return{start:e,end:t}}let w=!!Object.fromEntries,C=!!String.prototype.trimStart,F=!!String.prototype.trimEnd,D=w?Object.fromEntries:function(e){let t={};for(let[r,i]of e)t[r]=i;return t},G=C?function(e){return e.trimStart()}:function(e){return e.replace(R,"")},U=F?function(e){return e.trimEnd()}:function(e){return e.replace(v,"")},k=RegExp("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");var V=class{constructor(e,t={}){this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}parse(){if(0!==this.offset())throw Error("parser can only be used once");if(this.message.length>0){let e=this.message.charCodeAt(0);if(35!==e&&39!==e&&60!==e&&123!==e&&125!==e){let e=function(e){if(0===e.length)return null;let t=1,r=1;for(let i=0;i<e.length;){let s=e.charCodeAt(i);switch(s){case 35:case 39:case 60:case 123:case 125:return null}if(10===s)t++,r=1,i++;else if(r++,s>=55296&&s<=56319&&i+1<e.length){let t=e.charCodeAt(i+1);i+=t>=56320&&t<=57343?2:1}else i++}return{offset:e.length,line:t,column:r}}(this.message);if(e){let t=this.clonePosition();return this.position=e,{val:[{type:0,value:this.message,location:O(t,this.clonePosition())}],err:null}}}}return this.parseMessage(0,"",!1)}parseMessage(e,t,r){let i=[];for(;!this.isEOF();){let s=this.char();if(123===s){let t=this.parseArgument(e,r);if(t.err)return t;i.push(t.val)}else if(125===s&&e>0)break;else if(35===s&&("plural"===t||"selectordinal"===t)){let e=this.clonePosition();this.bump(),i.push({type:7,location:O(e,this.clonePosition())})}else if(60!==s||this.ignoreTag||47!==this.peek())if(60===s&&!this.ignoreTag&&K(this.peek()||0)){let r=this.parseTag(e,t);if(r.err)return r;i.push(r.val)}else{let r=this.parseLiteral(e,t);if(r.err)return r;i.push(r.val)}else if(!r)return this.error(26,O(this.clonePosition(),this.clonePosition()));else break}return{val:i,err:null}}parseTag(e,t){let r=this.clonePosition();this.bump();let i=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:0,value:`<${i}/>`,location:O(r,this.clonePosition())},err:null};if(!this.bumpIf(">"))return this.error(23,O(r,this.clonePosition()));{let s=this.parseMessage(e+1,t,!0);if(s.err)return s;let n=s.val,o=this.clonePosition();if(!this.bumpIf("</"))return this.error(27,O(r,this.clonePosition()));{if(this.isEOF()||!K(this.char()))return this.error(23,O(o,this.clonePosition()));let e=this.clonePosition();return i!==this.parseTagName()?this.error(26,O(e,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">"))?{val:{type:8,value:i,children:n,location:O(r,this.clonePosition())},err:null}:this.error(23,O(o,this.clonePosition()))}}}parseTagName(){var e;let t=this.offset();for(this.bump();!this.isEOF()&&(45===(e=this.char())||46===e||e>=48&&e<=57||95===e||e>=97&&e<=122||e>=65&&e<=90||183==e||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039);)this.bump();return this.message.slice(t,this.offset())}parseLiteral(e,t){let r=this.clonePosition(),i="";for(;;){let r=this.tryParseQuote(t);if(r){i+=r;continue}let s=this.tryParseUnquoted(e,t);if(s){i+=s;continue}let n=this.tryParseLeftAngleBracket();if(n){i+=n;continue}break}return{val:{type:0,value:i,location:O(r,this.clonePosition())},err:null}}tryParseLeftAngleBracket(){var e;return this.isEOF()||60!==this.char()||!this.ignoreTag&&(K(e=this.peek()||0)||47===e)?null:(this.bump(),"<")}tryParseQuote(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();let t=[this.char()];for(this.bump();!this.isEOF();){let e=this.char();if(39===e)if(39===this.peek())t.push(39),this.bump();else{this.bump();break}else t.push(e);this.bump()}return String.fromCodePoint(...t)}tryParseUnquoted(e,t){if(this.isEOF())return null;let r=this.char();return 60===r||123===r||35===r&&("plural"===t||"selectordinal"===t)||125===r&&e>0?null:(this.bump(),String.fromCodePoint(r))}parseArgument(e,t){let r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(1,O(r,this.clonePosition()));if(125===this.char())return this.bump(),this.error(2,O(r,this.clonePosition()));let i=this.parseIdentifierIfPossible().value;if(!i)return this.error(3,O(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(1,O(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:1,value:i,location:O(r,this.clonePosition())},err:null};case 44:if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(1,O(r,this.clonePosition()));return this.parseArgumentOptions(e,t,i,r);default:return this.error(3,O(r,this.clonePosition()))}}parseIdentifierIfPossible(){var e;let t=this.clonePosition(),r=this.offset(),i=(e=this.message,k.lastIndex=r,k.exec(e)[1]??""),s=r+i.length;return this.bumpTo(s),{value:i,location:O(t,this.clonePosition())}}parseArgumentOptions(e,t,r,i){let s=this.clonePosition(),n=this.parseIdentifierIfPossible().value,o=this.clonePosition();switch(n){case"":return this.error(4,O(s,o));case"number":case"date":case"time":{this.bumpSpace();let e=null;if(this.bumpIf(",")){this.bumpSpace();let t=this.clonePosition(),r=this.parseSimpleArgStyleIfPossible();if(r.err)return r;let i=U(r.val);if(0===i.length)return this.error(6,O(this.clonePosition(),this.clonePosition()));e={style:i,styleLocation:O(t,this.clonePosition())}}let t=this.tryParseArgumentClose(i);if(t.err)return t;let s=O(i,this.clonePosition());if(e&&e.style.startsWith("::")){let t=G(e.style.slice(2));if("number"===n){let i=this.parseNumberSkeletonFromString(t,e.styleLocation);if(i.err)return i;return{val:{type:2,value:r,location:s,style:i.val},err:null}}{if(0===t.length)return this.error(10,s);let i=t;return this.locale&&(i=function(e,t){let r="";for(let i=0;i<e.length;i++){let s=e.charAt(i);if("j"===s){let n=0;for(;i+1<e.length&&e.charAt(i+1)===s;)n++,i++;let o=1+(1&n),h=n<2?1:3+(n>>1),a=function(e){let t,r=e.hourCycle;if(void 0===r&&(r=e.getHourCycles?.()[0]??e.hourCycles?.[0]),r)switch(r){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw Error("Invalid hourCycle")}let i=e.language;return"root"!==i&&(t=e.maximize().region),(L[`${i}-${t}`]||L[t||""]||L[i||""]||L[`${i}-001`]||L["001"])[0].charAt(0)}(t);for(("H"==a||"k"==a)&&(h=0);h-- >0;)r+="a";for(;o-- >0;)r=a+r}else"J"===s?r+="H":r+=s}return r}(t,this.locale)),{val:{type:"date"===n?3:4,value:r,location:s,style:{type:1,pattern:i,location:e.styleLocation,parsedOptions:this.shouldParseSkeletons?function(e){let t={};return e.replace(b,e=>{let r=e.length;switch(e[0]){case"G":t.era=4===r?"long":5===r?"narrow":"short";break;case"y":t.year=2===r?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][r-1];break;case"w":case"W":throw RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][r-1];break;case"D":case"F":case"g":throw RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=4===r?"long":5===r?"narrow":"short";break;case"e":if(r<4)throw RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][r-3];break;case"c":if(r<4)throw RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][r-3];break;case"a":t.hour12=!0;break;case"b":case"B":throw RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][r-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][r-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][r-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][r-1];break;case"j":case"J":case"C":throw RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][r-1];break;case"s":t.second=["numeric","2-digit"][r-1];break;case"S":case"A":throw RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=r<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),t}(i):{}}},err:null}}}return{val:{type:"number"===n?2:"date"===n?3:4,value:r,location:s,style:e?.style??null},err:null}}case"plural":case"selectordinal":case"select":{let s=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(12,O(s,{...s}));this.bumpSpace();let o=this.parseIdentifierIfPossible(),h=0;if("select"!==n&&"offset"===o.value){if(!this.bumpIf(":"))return this.error(13,O(this.clonePosition(),this.clonePosition()));this.bumpSpace();let e=this.tryParseDecimalInteger(13,14);if(e.err)return e;this.bumpSpace(),o=this.parseIdentifierIfPossible(),h=e.val}let a=this.tryParsePluralOrSelectOptions(e,n,t,o);if(a.err)return a;let l=this.tryParseArgumentClose(i);if(l.err)return l;let u=O(i,this.clonePosition());if("select"===n)return{val:{type:5,value:r,options:D(a.val),location:u},err:null};return{val:{type:6,value:r,options:D(a.val),offset:h,pluralType:"plural"===n?"cardinal":"ordinal",location:u},err:null}}default:return this.error(5,O(s,o))}}tryParseArgumentClose(e){return this.isEOF()||125!==this.char()?this.error(1,O(e,this.clonePosition())):(this.bump(),{val:!0,err:null})}parseSimpleArgStyleIfPossible(){let e=0,t=this.clonePosition();for(;!this.isEOF();)switch(this.char()){case 39:{this.bump();let e=this.clonePosition();if(!this.bumpUntil("'"))return this.error(11,O(e,this.clonePosition()));this.bump();break}case 123:e+=1,this.bump();break;case 125:if(!(e>0))return{val:this.message.slice(t.offset,this.offset()),err:null};e-=1;break;default:this.bump()}return{val:this.message.slice(t.offset,this.offset()),err:null}}parseNumberSkeletonFromString(e,t){let r=[];try{r=function(e){if(0===e.length)throw Error("Number skeleton cannot be empty");let t=e.split(H).filter(e=>e.length>0),r=[];for(let e of t){let t=e.split("/");if(0===t.length)throw Error("Invalid number skeleton");let[i,...s]=t;for(let e of s)if(0===e.length)throw Error("Invalid number skeleton");r.push({stem:i,options:s})}return r}(e)}catch{return this.error(7,t)}return{val:{type:0,tokens:r,location:t,parsedOptions:this.shouldParseSkeletons?function(e){let t={};for(let r of e){switch(r.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=r.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=r.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t={...t,notation:"scientific",...r.options.reduce((e,t)=>({...e,...I(t)}),{})};continue;case"engineering":t={...t,notation:"engineering",...r.options.reduce((e,t)=>({...e,...I(t)}),{})};continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(r.options[0]);continue;case"rounding-mode-floor":t.roundingMode="floor";continue;case"rounding-mode-ceiling":t.roundingMode="ceil";continue;case"rounding-mode-down":t.roundingMode="trunc";continue;case"rounding-mode-up":t.roundingMode="expand";continue;case"rounding-mode-half-even":t.roundingMode="halfEven";continue;case"rounding-mode-half-down":t.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":t.roundingMode="halfExpand";continue;case"integer-width":if(r.options.length>1)throw RangeError("integer-width stems only accept a single optional option");r.options[0].replace(d,function(e,r,i,s,n,o){if(r)t.minimumIntegerDigits=i.length;else if(s&&n)throw Error("We currently do not support maximum integer digits");else if(o)throw Error("We currently do not support exact integer digits");return""});continue}if(T.test(r.stem)){t.minimumIntegerDigits=r.stem.length;continue}if(y.test(r.stem)){if(r.options.length>1)throw RangeError("Fraction-precision stems only accept a single optional option");r.stem.replace(y,function(e,r,i,s,n,o){return"*"===i?t.minimumFractionDigits=r.length:s&&"#"===s[0]?t.maximumFractionDigits=s.length:n&&o?(t.minimumFractionDigits=n.length,t.maximumFractionDigits=n.length+o.length):(t.minimumFractionDigits=r.length,t.maximumFractionDigits=r.length),""});let e=r.options[0];"w"===e?t={...t,trailingZeroDisplay:"stripIfInteger"}:e&&(t={...t,...A(e)});continue}if(B.test(r.stem)){t={...t,...A(r.stem)};continue}let e=S(r.stem);e&&(t={...t,...e});let i=function(e){let t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){let r=e.slice(0,2);if("+!"===r?(t.signDisplay="always",e=e.slice(2)):"+?"===r&&(t.signDisplay="exceptZero",e=e.slice(2)),!T.test(e))throw Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(r.stem);i&&(t={...t,...i})}return t}(r):{}},err:null}}tryParsePluralOrSelectOptions(e,t,r,i){let s=!1,n=[],o=new Set,{value:h,location:a}=i;for(;;){if(0===h.length){let e=this.clonePosition();if("select"!==t&&this.bumpIf("=")){let t=this.tryParseDecimalInteger(16,19);if(t.err)return t;a=O(e,this.clonePosition()),h=this.message.slice(e.offset,this.offset())}else break}if(o.has(h))return this.error("select"===t?21:20,a);"other"===h&&(s=!0),this.bumpSpace();let i=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?17:18,O(this.clonePosition(),this.clonePosition()));let l=this.parseMessage(e+1,t,r);if(l.err)return l;let u=this.tryParseArgumentClose(i);if(u.err)return u;n.push([h,{value:l.val,location:O(i,this.clonePosition())}]),o.add(h),this.bumpSpace(),{value:h,location:a}=this.parseIdentifierIfPossible()}return 0===n.length?this.error("select"===t?15:16,O(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!s?this.error(22,O(this.clonePosition(),this.clonePosition())):{val:n,err:null}}tryParseDecimalInteger(e,t){let r=1,i=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);let s=!1,n=0;for(;!this.isEOF();){let e=this.char();if(e>=48&&e<=57)s=!0,n=10*n+(e-48),this.bump();else break}let o=O(i,this.clonePosition());return s?Number.isSafeInteger(n*=r)?{val:n,err:null}:this.error(t,o):this.error(e,o)}offset(){return this.position.offset}isEOF(){return this.offset()===this.message.length}clonePosition(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}}char(){let e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");let t=this.message.codePointAt(e);if(void 0===t)throw Error(`Offset ${e} is at invalid UTF-16 code unit boundary`);return t}error(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}}bump(){if(this.isEOF())return;let e=this.char();10===e?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2)}bumpIf(e){if(this.message.startsWith(e,this.offset())){for(let t=0;t<e.length;t++)this.bump();return!0}return!1}bumpUntil(e){let t=this.offset(),r=this.message.indexOf(e,t);return r>=0?(this.bumpTo(r),!0):(this.bumpTo(this.message.length),!1)}bumpTo(e){if(this.offset()>e)throw Error(`targetOffset ${e} must be greater than or equal to the current offset ${this.offset()}`);for(e=Math.min(e,this.message.length);;){let t=this.offset();if(t===e)break;if(t>e)throw Error(`targetOffset ${e} is at invalid UTF-16 code unit boundary`);if(this.bump(),this.isEOF())break}}bumpSpace(){for(var e;!this.isEOF()&&((e=this.char())>=9&&e<=13||32===e||133===e||e>=8206&&e<=8207||8232===e||8233===e);)this.bump()}peek(){if(this.isEOF())return null;let e=this.char(),t=this.offset();return this.message.charCodeAt(t+(e>=65536?2:1))??null}};function K(e){return e>=97&&e<=122||e>=65&&e<=90}function x(e,t={}){let r=new V(e,t={shouldParseSkeletons:!0,requiresOtherClause:!0,...t}).parse();if(r.err){let e=SyntaxError(N[r.err.kind]);throw e.location=r.err.location,e.originalMessage=r.err.message,e}return t?.captureLocation||function e(t){t.forEach(t=>{if(delete t.location,5===t.type||6===t.type)for(let r in t.options)delete t.options[r].location,e(t.options[r].value);else 2===t.type&&_(t.style)||(3===t.type||4===t.type)&&P(t.style)?delete t.style.location:8===t.type&&e(t.children)})}(r.val),r.val}var Z=class extends Error{constructor(e,t,r){super(e),this.code=t,this.originalMessage=r}toString(){return`[formatjs Error: ${this.code}] ${this.message}`}},X=class extends Z{constructor(e,t,r,i){super(`Invalid values for "${e}": "${t}". Options are "${Object.keys(r).join('", "')}"`,"INVALID_VALUE",i)}},Y=class extends Z{constructor(e,t,r){super(`Value for "${e}" must be of type ${t}`,"INVALID_VALUE",r)}},$=class extends Z{constructor(e,t){super(`The intl string context variable "${e}" was not provided to the string "${t}"`,"MISSING_VALUE",t)}};function j(e){return{create:()=>({get:t=>e[t],set(t,r){e[t]=r}})}}var W=class e{constructor(t,r=e.defaultLocale,i,n){if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=e=>{let t=this.formatToParts(e);if(1===t.length)return t[0].value;let r=t.reduce((e,t)=>(e.length&&0===t.type&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e),[]);return r.length<=1?r[0]||"":r},this.formatToParts=e=>(function e(t,r,i,s,n,o,h){if(1===t.length&&0===t[0].type)return[{type:0,value:t[0].value}];let a=[];for(let l of t){if(0===l.type){a.push({type:0,value:l.value});continue}if(7===l.type){"number"==typeof o&&a.push({type:0,value:i.getNumberFormat(r).format(o)});continue}let{value:t}=l;if(!(n&&t in n))throw new $(t,h);let u=n[t];if(1===l.type){u&&"string"!=typeof u&&"number"!=typeof u&&"bigint"!=typeof u||(u="string"==typeof u||"number"==typeof u||"bigint"==typeof u?String(u):""),a.push({type:+("string"!=typeof u),value:u});continue}if(3===l.type){let e="string"==typeof l.style?s.date[l.style]:P(l.style)?l.style.parsedOptions:void 0;a.push({type:0,value:i.getDateTimeFormat(r,e).format(u)});continue}if(4===l.type){let e="string"==typeof l.style?s.time[l.style]:P(l.style)?l.style.parsedOptions:s.time.medium;a.push({type:0,value:i.getDateTimeFormat(r,e).format(u)});continue}if(2===l.type){let e="string"==typeof l.style?s.number[l.style]:_(l.style)?l.style.parsedOptions:void 0;if(e&&e.scale){let t=e.scale||1;if("bigint"==typeof u){if(!Number.isInteger(t))throw TypeError(`Cannot apply fractional scale ${t} to bigint value. Scale must be an integer when formatting bigint.`);u*=BigInt(t)}else u*=t}a.push({type:0,value:i.getNumberFormat(r,e).format(u)});continue}if(8===l.type){let{children:t,value:u}=l,c=n[u];if("function"!=typeof c)throw new Y(u,"function",h);let m=c(e(t,r,i,s,n,o).map(e=>e.value));Array.isArray(m)||(m=[m]),a.push(...m.map(e=>({type:+("string"!=typeof e),value:e})))}if(5===l.type){let t=u,o=(Object.prototype.hasOwnProperty.call(l.options,t)?l.options[t]:void 0)||l.options.other;if(!o)throw new X(l.value,u,Object.keys(l.options),h);a.push(...e(o.value,r,i,s,n));continue}if(6===l.type){let t=`=${u}`,o=Object.prototype.hasOwnProperty.call(l.options,t)?l.options[t]:void 0;if(!o){if(!Intl.PluralRules)throw new Z(`Intl.PluralRules is not available in this environment.
|
|
2
|
+
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3
|
+
`,"MISSING_INTL_API",h);let e="bigint"==typeof u?Number(u):u,t=i.getPluralRules(r,{type:l.pluralType}).select(e-(l.offset||0));o=(Object.prototype.hasOwnProperty.call(l.options,t)?l.options[t]:void 0)||l.options.other}if(!o)throw new X(l.value,u,Object.keys(l.options),h);let c="bigint"==typeof u?Number(u):u;a.push(...e(o.value,r,i,s,n,c-(l.offset||0)));continue}}return a.length<2?a:a.reduce((e,t)=>{let r=e[e.length-1];return r&&0===r.type&&0===t.type?r.value+=t.value:e.push(t),e},[])})(this.ast,this.locales,this.formatters,this.formats,e,void 0,this.message),this.resolvedOptions=()=>({locale:this.resolvedLocale?.toString()||Intl.NumberFormat.supportedLocalesOf(this.locales)[0]}),this.getAst=()=>this.ast,this.locales=r,this.resolvedLocale=e.resolveLocale(r),"string"==typeof t){if(this.message=t,!e.__parse)throw TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");let{...r}=n||{};this.ast=e.__parse(t,{...r,locale:this.resolvedLocale})}else this.ast=t;if(!Array.isArray(this.ast))throw TypeError("A message must be provided as a String or AST.");this.formats=function(e,t){return t?Object.keys(e).reduce((r,i)=>{var s,n;return r[i]=(s=e[i],(n=t[i])?{...s,...n,...Object.keys(s).reduce((e,t)=>(e[t]={...s[t],...n[t]},e),{})}:s),r},{...e}):e}(e.formats,i),this.formatters=n&&n.formatters||function(e={number:{},dateTime:{},pluralRules:{}}){return{getNumberFormat:s((...e)=>new Intl.NumberFormat(...e),{cache:j(e.number),strategy:u.variadic}),getDateTimeFormat:s((...e)=>new Intl.DateTimeFormat(...e),{cache:j(e.dateTime),strategy:u.variadic}),getPluralRules:s((...e)=>new Intl.PluralRules(...e),{cache:j(e.pluralRules),strategy:u.variadic})}}(this.formatterCache)}static{this.memoizedDefaultLocale=null}static get defaultLocale(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),e.memoizedDefaultLocale}static{this.resolveLocale=e=>{if(void 0===Intl.Locale)return;let t=Intl.NumberFormat.supportedLocalesOf(e);return new Intl.Locale(t.length>0?t[0]:"string"==typeof e?e:e[0])}}static{this.__parse=x}static{this.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}}}};function z(...[e,t,r,s]){let n;if(Array.isArray(t))throw new c(m.INVALID_MESSAGE,void 0);if("object"==typeof t)throw new c(m.INSUFFICIENT_PATH,void 0);if("string"==typeof t){let e=r||/'[{}<#|']/.test(t)?void 0:t;if(e)return e}let{cache:o,formats:h,formatters:a,globalFormats:l,locale:u,timeZone:f}=s;a.getMessageFormat||(a.getMessageFormat=p((...e)=>new W(e[0],e[1],e[2],{formatters:a,...e[3]}),o.message));try{n=a.getMessageFormat(t,u,function(e,t,r){let i=W.formats.date,s=W.formats.time,n={...e?.dateTime,...t?.dateTime},o={date:{...i,...n},time:{...s,...n},number:{...e?.number,...t?.number}};return r&&["date","time"].forEach(e=>{let t=o[e];for(let[e,i]of Object.entries(t))t[e]={timeZone:r,...i}}),o}(l,h,f),{formatters:{...a,getDateTimeFormat:(e,t)=>a.getDateTimeFormat(e,{...t,timeZone:t?.timeZone??f})}})}catch(e){throw new c(m.INVALID_MESSAGE,void 0)}let g=n.format(r);return(0,i.isValidElement)(g)||Array.isArray(g)||"string"==typeof g?g:String(g)}function q(...e){return e.filter(Boolean).join(".")}function J(e){return q(e.namespace,e.key)}function Q(e){console.error(e)}function ee(e,t,r,i){let s=q(i,r);if(!t)throw Error(s);let n=t;return r.split(".").forEach(t=>{let r=n[t];if(null==t||null==r)throw Error(s+` (${e})`);n=r}),n}z.raw=!0;let et={second:1,seconds:1,minute:60,minutes:60,hour:3600,hours:3600,day:86400,days:86400,week:604800,weeks:604800,month:2628e3,months:2628e3,quarter:7884e3,quarters:7884e3,year:31536e3,years:31536e3};var er=r(7893);let ei=(0,i.createContext)(void 0);function es({children:e,formats:t,getMessageFallback:r,locale:s,messages:n,now:o,onError:h,timeZone:a}){let l=(0,i.useContext)(ei),u=(0,i.useMemo)(()=>l?.cache||f(),[s,l?.cache]),c=(0,i.useMemo)(()=>l?.formatters||E(u),[u,l?.formatters]),m=(0,i.useMemo)(()=>({...function({formats:e,getMessageFallback:t,messages:r,onError:i,...s}){return{...s,formats:e||void 0,messages:r||void 0,onError:i||Q,getMessageFallback:t||J}}({locale:s,formats:void 0===t?l?.formats:t,getMessageFallback:r||l?.getMessageFallback,messages:void 0===n?l?.messages:n,now:o||l?.now,onError:h||l?.onError,timeZone:a||l?.timeZone}),formatters:c,cache:u}),[u,t,c,r,s,n,o,h,l,a]);return(0,er.jsx)(ei.Provider,{value:m,children:e})}function en(){let e=(0,i.useContext)(ei);if(!e)throw Error(void 0);return e}let eo=!1,eh="undefined"==typeof window;function ea(e){return function(e,t,r){let{cache:s,formats:n,formatters:o,getMessageFallback:h,locale:a,onError:l,timeZone:u}=en(),f=e["!"],p="!"===t?void 0:t.slice((r+".").length);return u||eo||!eh||(eo=!0,l(new c(m.ENVIRONMENT_FALLBACK,void 0))),(0,i.useMemo)(()=>(function(e){let t=function(e,t,r){try{if(!t)throw Error(void 0);let i=r?ee(e,t,r):t;if(!i)throw Error(r);return i}catch(e){return new c(m.MISSING_MESSAGE,e.message)}}(e.locale,e.messages,e.namespace);return function({cache:e,formats:t,formatters:r,getMessageFallback:s=J,locale:n,messagesOrError:o,namespace:h,onError:a,timeZone:l}){let u=o instanceof c;function f(e,t,r,i){let n=new c(t,r);return a(n),i??s({error:n,key:e,namespace:h})}function p(p,g,E,b){let H;if(u){if(!b)return a(o),s({error:o,key:p,namespace:h});H=b}else try{H=ee(n,o,p,h)}catch(e){if(!b)return f(p,m.MISSING_MESSAGE,e.message,b);H=b}try{let s=q(h,p);return z(s,H,g?function(e){let t={};return Object.keys(e).forEach(r=>{let s,n=0,o=e[r];s="function"==typeof o?e=>{let t=o(e);return(0,i.isValidElement)(t)?(0,i.cloneElement)(t,{key:r+n++}):t}:o,t[r]=s}),t}(g):g,{cache:e,formatters:r,globalFormats:t,formats:E,locale:n,timeZone:l})}catch(r){let e,t;return r instanceof c?(e=r.code,t=r.originalMessage):(e=m.FORMATTING_ERROR,t=r.message),f(p,e,t,b)}}function g(e,t,r,i){let s=p(e,t,r,i);return"string"!=typeof s?f(e,m.INVALID_MESSAGE,void 0):s}return g.rich=p,g.markup=(e,t,r,i)=>p(e,t,r,i),g.raw=e=>{if(u)return a(o),s({error:o,key:e,namespace:h});try{return ee(n,o,e,h)}catch(t){return f(e,m.MISSING_MESSAGE,t.message)}},g.has=e=>{if(u)return!1;try{return ee(n,o,e,h),!0}catch{return!1}},g}({...e,messagesOrError:t})})({cache:s,formatters:o,getMessageFallback:h,messages:f,namespace:p,onError:l,formats:n,locale:a,timeZone:u}),[s,o,h,f,p,l,n,a,u])}({"!":en().messages},e?`!.${e}`:"!","!")}function el(){return en().locale}function eu(){let{formats:e,formatters:t,locale:r,now:s,onError:n,timeZone:o}=en();return(0,i.useMemo)(()=>(function(e){let{_cache:t=f(),_formatters:r=E(t),formats:i,locale:s,onError:n=Q,timeZone:o}=e;function h(e){return e?.timeZone||(o?e={...e,timeZone:o}:n(new c(m.ENVIRONMENT_FALLBACK,void 0))),e}function a(e,t,r,i,s){let o;try{o=function(e,t,r){let i;if("string"==typeof t){if(!(i=e?.[t])){let e=new c(m.MISSING_FORMAT,void 0);throw n(e),e}}else i=t;return r&&(i={...i,...r}),i}(r,e,t)}catch{return s()}try{return i(o)}catch(e){return n(new c(m.FORMATTING_ERROR,e.message)),s()}}function l(e,t,n){return a(t,n,i?.dateTime,t=>(t=h(t),r.getDateTimeFormat(s,t).format(e)),()=>String(e))}function u(){return e.now?e.now:(n(new c(m.ENVIRONMENT_FALLBACK,void 0)),new Date)}return{dateTime:l,number:function(e,t,n){return a(t,n,i?.number,t=>r.getNumberFormat(s,t).format(e),()=>String(e))},relativeTime:function(e,t){try{var i;let n,o,h={};t instanceof Date||"number"==typeof t?n=new Date(t):t&&(n=null!=t.now?new Date(t.now):u(),o=t.unit,h.style=t.style,h.numberingSystem=t.numberingSystem),n||(n=u());let a=(new Date(e).getTime()-n.getTime())/1e3;o||(o=function(e){let t=Math.abs(e);return t<60?"second":t<3600?"minute":t<86400?"hour":t<604800?"day":t<2628e3?"week":t<31536e3?"month":"year"}(a)),h.numeric="second"===o?"auto":"always";let l=(i=o,Math.round(a/et[i]));return r.getRelativeTimeFormat(s,h).format(l,o)}catch(t){return n(new c(m.FORMATTING_ERROR,t.message)),String(e)}},list:function(e,t,n){let o=[],h=new Map,l=0;for(let t of e){let e;"object"==typeof t?(e=String(l),h.set(e,t)):e=String(t),o.push(e),l++}return a(t,n,i?.list,e=>{let t=r.getListFormat(s,e).formatToParts(o).map(e=>"literal"===e.type?e.value:h.get(e.value)||e.value);return h.size>0?t:t.join("")},()=>String(e))},dateTimeRange:function(e,t,n,o){return a(n,o,i?.dateTime,i=>(i=h(i),r.getDateTimeFormat(s,i).formatRange(e,t)),()=>[l(e),l(t)].join(" – "))},displayName:function(e,t,n){return a(t,n,i?.displayName,t=>r.getDisplayNames(s,t).of(e),()=>e)}}})({formats:e,locale:r,now:s,onError:n,timeZone:o,_formatters:t}),[e,t,s,r,n,o])}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6717],{2938:(e,t,a)=>{a.d(t,{A:()=>s,o:()=>r});let r="minecraft";function n(e){if(0===e.length)return null;if(e.includes(":")){let t=e.split(":");return{namespace:t[0],path:t[1]}}return{namespace:"minecraft",path:e}}let s={toString:function(e){return"".concat(e.namespace,":").concat(e.path)},parse:n,extractPath:function(e){var t,a;return null!=(a=null==(t=n(e))?void 0:t.path)?a:e}}},7208:(e,t,a)=>{a.d(t,{AM:()=>l,Wv:()=>o,hl:()=>c});var r=a(7893),n=a(28081),s=a(63082),i=a(95745);let l=s.bL,o=s.l9,c=n.forwardRef((e,t)=>{let{className:a,align:n="center",sideOffset:l=4,...o}=e;return(0,r.jsx)(s.ZL,{children:(0,r.jsx)(s.UC,{ref:t,align:n,sideOffset:l,className:(0,i.cn)("border-tertiary bg-primary-alt text-primary-alt z-50 w-72 rounded-sm border p-4 shadow-md outline-hidden data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",a),...o})})});c.displayName=s.UC.displayName},12585:(e,t,a)=>{a.r(t),a.d(t,{default:()=>u});var r=a(7893),n=a(28081),s=a(24246),i=a(95054),l=a(41736),o=a(80123),c=a(37040),d=a(95745);function u(e){var t;let{noTooltip:a,noLink:u,src:m,count:f,ctx:p,tag:h,...x}=e,[v,b]=(0,n.useState)(0),g=(0,n.useMemo)(()=>m[v],[v,m]),y=(0,n.useContext)(l.M);if((0,n.useEffect)(()=>{m.forEach(e=>{new Image().src=e.asset.src})},[m]),(0,n.useEffect)(()=>{if(0===m.length)return;let e=setInterval(()=>{y&&y.hover||b(e=>(e+1)%m.length)},2e3);return()=>clearInterval(e)},[m,y]),m.length<1)return null;let j=p?(0,i.MZ)(p,g):(0,i.cT)(g.id),w=(0,r.jsxs)("div",{...x,className:(0,d.cn)("relative shrink-0",x.className),children:[(0,r.jsx)(o.default,{noTitle:!0,asset:g.asset,alt:null!=(t=g.name)?t:g.id,className:"sharpRendering"}),f&&f>1&&(0,r.jsx)("span",{className:"sharpRendering absolute right-0 bottom-0 z-10 text-left font-minecraft text-base leading-1 text-white",style:{textShadow:"2px 2px 0 #3F3F3F"},children:f})]}),N=j&&!u?(0,r.jsx)(c.k,{href:j,rel:"noreferrer",children:w}):w;return a?N:(0,r.jsx)(s.default,{name:g.name||g.id,tag:h,children:N})}},18526:(e,t,a)=>{a.d(t,{default:()=>l});var r=a(7893),n=a(2938),s=a(87257);function i(e){if("string"==typeof e){let t=Number(e);if(!Number.isNaN(t))return t}return e}function l(e){var t;let{asset:a,width:l,height:o,alt:c,title:d,noTitle:u,...m}=e;return(0,r.jsx)(s.default,{width:i(l),height:i(o),src:a.src,alt:c||a.id,title:u?void 0:d||(null==(t=n.A.parse(a.id))?void 0:t.path),strokeWidth:1.5,wrapper:{className:"inline sharpRendering"},...m})}},20826:(e,t,a)=>{a.r(t),a.d(t,{Tooltip:()=>o,TooltipContent:()=>d,TooltipProvider:()=>l,TooltipTrigger:()=>c});var r=a(7893),n=a(28081),s=a(30981),i=a(95745);let l=s.Kq,o=s.bL,c=s.l9,d=n.forwardRef((e,t)=>{let{className:a,sideOffset:n=4,...l}=e;return(0,r.jsx)(s.UC,{ref:t,sideOffset:n,className:(0,i.cn)("border-tertiary bg-primary-alt text-primary-alt z-50 animate-in overflow-hidden overscroll-contain rounded-md border px-3 py-1.5 text-sm shadow-md fade-in-0 zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95",a),...l})});d.displayName=s.UC.displayName},24246:(e,t,a)=>{a.d(t,{default:()=>s});var r=a(7893),n=a(28081);function s(e){let t=(0,n.useRef)(null),a=(0,n.useRef)(null),[s,i]=(0,n.useState)(null),l=null!==s;return(0,n.useLayoutEffect)(()=>{let e=a.current;if(!e||!s)return;let t=e.offsetWidth,r=s.x+15+t+20<=window.innerWidth?s.x+15:s.x-15-t;e.style.left="".concat(r,"px")},[s]),(0,n.useEffect)(()=>{if(!l)return;let e=e=>{var a;if(!(null==(a=t.current)?void 0:a.contains(e.target)))return void i(null);i({x:e.clientX,y:e.clientY})},a=()=>i(null);return document.addEventListener("mousemove",e),document.addEventListener("mouseleave",a),window.addEventListener("blur",a),window.addEventListener("scroll",a,!0),()=>{document.removeEventListener("mousemove",e),document.removeEventListener("mouseleave",a),window.removeEventListener("blur",a),window.removeEventListener("scroll",a,!0)}},[l]),(0,r.jsxs)("div",{ref:t,onMouseEnter:e=>i({x:e.clientX,y:e.clientY}),onMouseLeave:()=>i(null),children:[s&&(0,r.jsx)("div",{ref:a,className:"minetip-tooltip",style:{top:s.y+-33,left:s.x+15},children:(0,r.jsxs)("span",{className:"font-minecraft",children:[e.name,e.body,e.tag&&(0,r.jsxs)("p",{className:"m-0! mt-1! text-xs text-secondary text-shadow-none",children:["#",e.tag]})]})}),e.children]})}},28139:(e,t,a)=>{a.d(t,{CopyButton:()=>u});var r=a(7893),n=a(52151),s=a(15936),i=a(28081),l=a(95745),o=a(82601),c=a(43875),d=a(79880);function u(e){let{text:t,showToast:a,className:u}=e,[m,f]=(0,i.useState)(!1),p=(0,d.c)("CopyButton");return(0,r.jsx)(o.$,{variant:"ghost",size:"icon",className:(0,l.cn)("text-secondary-alt hover:bg-hover-soft opacity-0 transition-opacity duration-200 ease-in-out group-hover:opacity-100 [&>svg]:animate-in [&>svg]:fade-in [&>svg]:fade-out",u),"aria-label":"Copy to clipboard",onClick:()=>{navigator.clipboard.writeText(t),f(!0),setTimeout(()=>f(!1),2e3),a&&c.oR.success(p("copied"))},children:m?(0,r.jsx)(n.A,{size:16}):(0,r.jsx)(s.A,{size:16})})}},37040:(e,t,a)=>{a.d(t,{k:()=>l});var r=a(7893),n=a(28081),s=a(19957),i=a.n(s);let l=(0,n.forwardRef)(function(e,t){let{prefetch:a=!1,...n}=e;return(0,r.jsx)(i(),{prefetch:a,...n,ref:t})})},39389:(e,t,a)=>{a.r(t),a.d(t,{Tabs:()=>l,TabsContent:()=>d,TabsList:()=>o,TabsTrigger:()=>c});var r=a(7893),n=a(28081),s=a(48731),i=a(95745);let l=s.bL,o=n.forwardRef((e,t)=>{let{className:a,...n}=e;return(0,r.jsx)(s.B8,{ref:t,className:(0,i.cn)("bg-primary-alt inline-flex h-10 items-center justify-center rounded-md p-1 text-secondary",a),...n})});o.displayName=s.B8.displayName;let c=n.forwardRef((e,t)=>{let{className:a,...n}=e;return(0,r.jsx)(s.l9,{ref:t,className:(0,i.cn)("inline-flex items-center justify-center rounded-xs px-3 py-1.5 text-sm font-medium whitespace-nowrap ring-offset-background transition-all focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:outline-hidden disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-primary data-[state=active]:text-primary data-[state=active]:shadow-xs",a),...n})});c.displayName=s.l9.displayName;let d=n.forwardRef((e,t)=>{let{className:a,...n}=e;return(0,r.jsx)(s.UC,{ref:t,className:(0,i.cn)("mt-2 ring-offset-background focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:outline-hidden",a),...n})});d.displayName=s.UC.displayName},41736:(e,t,a)=>{a.d(t,{M:()=>s,default:()=>i});var r=a(7893),n=a(28081);let s=(0,n.createContext)(null);function i(e){let{children:t}=e,[a,i]=(0,n.useState)(!1),l=(0,n.useMemo)(()=>({hover:a,setHover:i}),[a]),o=n.Children.map(t,e=>(0,n.isValidElement)(e)?(0,n.cloneElement)(e,{onMouseEnter:()=>i(!0),onMouseLeave:()=>i(!1),...e.props}):e);return(0,r.jsx)(s.Provider,{value:l,children:(0,r.jsx)(r.Fragment,{children:o})})}},44064:(e,t,a)=>{a.d(t,{default:()=>i});var r=a(7893),n=a(28081),s=a(79880);function i(e){let{limit:t,content:a}=e,i=(0,s.c)("UsageContentList"),[l,o]=(0,n.useState)(!1);return(0,r.jsxs)("ul",{className:"mt-0",children:[l?a:a.slice(0,Math.min(t,a.length)),!l&&a.length>t&&(0,r.jsx)("li",{className:"text-secondary",children:(0,r.jsx)("button",{className:"decoration-1 underline-offset-4 hover:underline",onClick:()=>o(!0),children:i("more")})})]})}},55242:(e,t,a)=>{a.d(t,{default:()=>o});var r=a(7893),n=a(28081),s=a(95745),i=a(55542),l=a(79880);function o(e){let{columns:t,rows:a,embedded:o,expandedBody:c}=e,[d,u]=(0,n.useState)(!1),m=(0,l.c)("ResponsiveTable");return(0,r.jsxs)("table",{className:(0,s.cn)("[&_td]:bg-primary-alt/50",o&&"mb-0"),children:[(0,r.jsx)("thead",{className:"hidden sm:table-header-group",children:(0,r.jsx)("tr",{children:t.map(e=>(0,r.jsx)("th",{className:"",children:e.label},e.key))})}),(0,r.jsxs)("tbody",{children:[a.map((e,a)=>(0,r.jsx)("tr",{className:"block border-0 sm:table-row",children:t.map(t=>(0,r.jsxs)("td",{className:(0,s.cn)("block border-b sm:table-cell sm:border",e[t.key].className),"data-label":t.label,children:[(0,r.jsx)("div",{className:"mb-1 font-semibold text-primary-alt sm:hidden",children:t.label}),(0,r.jsx)("div",{children:e[t.key].data})]},t.key))},a)),(0,r.jsx)("tr",{children:(0,r.jsx)("td",{colSpan:t.length,className:"no-table-bs group cursor-pointer",onClick:()=>u(!d),"data-open":d,children:(0,r.jsxs)("div",{className:"my-0.5 flex w-full flex-row items-center justify-end gap-4 text-secondary",children:[(0,r.jsx)("span",{className:"text-sm",children:m("expand")}),(0,r.jsx)("span",{children:(0,r.jsx)(i.A,{className:"size-4 group-data-[open=true]:rotate-180"})})]})})}),d&&(0,r.jsx)("tr",{children:(0,r.jsx)("td",{colSpan:t.length,className:"no-table-bs no-table-padding",children:c})})]})]})}},72103:(e,t,a)=>{a.r(t),a.d(t,{default:()=>i});var r=a(7893),n=a(49791),s=a(95745);function i(e){let t=e.id;return(0,r.jsxs)("h2",{...e,className:void 0,className:(0,s.cn)(e.className,"group"),children:[e.children,t&&(0,r.jsx)("a",{href:"#".concat(t),className:"inline-block pl-2 opacity-0 transition-opacity duration-200 group-hover:opacity-100 hover:opacity-100",children:(0,r.jsx)(n.A,{className:"h-5 w-5 text-primary"})})]})}},78890:(e,t,a)=>{a.r(t),a.d(t,{default:()=>l});var r=a(7893),n=a(20826),s=a(95745),i=a(7208);function l(e){let{hint:t,children:a}=e;return(0,r.jsxs)("span",{className:"inline-block",children:[(0,r.jsx)("span",{className:"sm:hidden",children:(0,r.jsxs)(i.AM,{children:[(0,r.jsx)(i.Wv,{className:(0,s.cn)("underline decoration-dotted decoration-2 underline-offset-2"),children:a}),(0,r.jsx)(i.hl,{side:"top",className:(0,s.cn)("slim-scrollbar max-h-56 max-w-[min(32rem,var(--radix-popper-available-width))]","animate-none! overflow-y-auto px-3 py-1.5 text-sm break-words whitespace-normal"),children:t})]})}),(0,r.jsx)("span",{className:"hidden sm:block",children:(0,r.jsx)(n.TooltipProvider,{delayDuration:200,children:(0,r.jsxs)(n.Tooltip,{children:[(0,r.jsx)(n.TooltipTrigger,{className:(0,s.cn)("cursor-help underline decoration-dotted decoration-2 underline-offset-2 select-text"),children:a}),(0,r.jsx)(n.TooltipContent,{side:"top",className:(0,s.cn)("slim-scrollbar max-h-56 max-w-[min(32rem,var(--radix-popper-available-width))] animate-none!","overflow-y-auto px-3 py-1.5 text-sm break-words whitespace-normal"),children:t})]})})})]})}},80123:(e,t,a)=>{a.r(t),a.d(t,{default:()=>l});var r=a(7893),n=a(28081),s=a(2938),i=a(95745);function l(e){var t;let{asset:a,width:l,height:o,alt:c,title:d,noTitle:u,...m}=e,f=(0,n.useRef)(null),[p,h]=(0,n.useState)(a.src);return(0,n.useEffect)(()=>{let e=f.current;if(!e)return;let t=()=>{h("/static/missing_item.png")};return e.addEventListener("error",t),e.complete&&0===e.naturalWidth&&t(),()=>{e.removeEventListener("error",t)}},[a.src]),(0,r.jsx)("div",{...m,className:(0,i.cn)("overflow-hidden",m.className),style:{width:"".concat(l||32,"px"),height:"".concat(o||32,"px")},children:(0,r.jsx)("img",{ref:f,width:l||32,height:o||32,src:p,alt:c||a.id,title:u?void 0:d||(null==(t=s.A.parse(a.id))?void 0:t.path),loading:"eager"})})}},82601:(e,t,a)=>{a.d(t,{$:()=>c});var r=a(7893),n=a(28081),s=a(85126),i=a(8295),l=a(95745);let o=(0,i.F)("inline-flex items-center justify-center rounded-sm text-sm font-medium whitespace-nowrap ring-offset-background transition-colors focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:outline-hidden disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"border border-primary bg-primary text-primary hover:bg-secondary/90",destructive:"border border-destructive/70 bg-primary bg-secondary font-semibold text-destructive hover:bg-secondary/80 hover:text-destructive/90 data-[pending=true]:text-destructive/90",destructiveSecondary:"bg-destructive text-white hover:text-white/90",outline:"border-tertiary hover:text-primary-alt border bg-primary hover:bg-secondary",secondary:"text-secondary-alt bg-secondary hover:bg-secondary/80",ghost:"hover:text-primary-alt hover:bg-secondary",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-sm px-3",lg:"h-11 rounded-sm px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),c=n.forwardRef((e,t)=>{let{className:a,variant:n,size:i,asChild:c=!1,...d}=e,u=c?s.DX:"button";return(0,r.jsx)(u,{className:(0,l.cn)(o({variant:n,size:i,className:a})),ref:t,...d})});c.displayName="Button"},83457:(e,t,a)=>{a.r(t),a.d(t,{default:()=>r});let r={src:"/_next/static/media/crafting_background.158942b1.png",height:136,width:260,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAECAMAAACEE47CAAAAGFBMVEWampqnp6eioqLKysqLi4uSkpK+vr64uLgHQ3rrAAAAA3RSTlP+/v6VFoksAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAJElEQVR4nCXGsQEAMAzCMBNI+P/jDtUkBmRbkIy7+TkBu9MeDwXFAF/HY1pFAAAAAElFTkSuQmCC",blurWidth:8,blurHeight:4}},86373:(e,t,a)=>{a.d(t,{GL:()=>c,ww:()=>o,YE:()=>d,default:()=>u});var r=a(7893),n=a(28081);a(3317);var s=a(76089);a(82637);let i={userRequiresCookieConsent:function(){return!1}};var l=a(79880);let o=(0,n.createContext)(null),c="experience",d="yt_embeds";function u(e){let{children:t}=e,[a,u]=(0,n.useState)(!0),[m,f]=(0,n.useState)(!1),p=(0,l.c)("CookieConsent");function h(){f(s.tj(d,c))}return(0,n.useEffect)(()=>{let e=i.userRequiresCookieConsent();u(e),e&&s.eF({revision:1,guiOptions:{consentModal:{layout:"box inline"}},onFirstConsent:()=>{h()},onChange:()=>{h()},categories:{necessary:{enabled:!0,readOnly:!0},[c]:{services:{[d]:{label:p("sections.experience.services.embeds"),onAccept:()=>f(!0),onReject:()=>f(!1)}}}},language:{default:"en",translations:{en:{consentModal:{title:p("popup.title"),description:p("popup.description"),acceptAllBtn:p("actions.accept_all"),acceptNecessaryBtn:p("actions.reject_all"),showPreferencesBtn:p("popup.show_preferences")},preferencesModal:{title:p("modal.title"),acceptAllBtn:p("actions.accept_all"),acceptNecessaryBtn:p("actions.reject_all"),savePreferencesBtn:p("modal.save"),closeIconLabel:p("modal.close"),sections:[{title:p("sections.summary.title"),description:p("sections.summary.description")},{title:p("sections.necessary.title"),description:p("sections.necessary.description"),linkedCategory:"necessary"},{title:p("sections.experience.title"),description:p("sections.experience.description"),linkedCategory:"experience"},{title:p("sections.more_info.title"),description:p.raw("sections.more_info.description")}]}}}}})},[]),(0,r.jsx)(o.Provider,{value:{enableCookieManagement:a,hasConsentToEmbeddedVideos:m},children:t})}},87257:(e,t,a)=>{a.d(t,{default:()=>l});var r=a(7893),n=a(28081),s=a(91116),i=a(95745);function l(e){let{src:t,alt:a,width:l,height:o,fbWidth:c,fbHeight:d,className:u,title:m,strokeWidth:f=1,fixedSize:p,wrapper:h,fbIcon:x=s.A,fallback:v=(0,r.jsx)(x,{strokeWidth:f,className:(0,i.cn)(u,"text-secondary opacity-20"),width:c||l||32,height:d||o||32}),...b}=e,[g,y]=(0,n.useState)(!1);return(0,r.jsxs)("span",{title:m,style:p?{width:"".concat(l,"px"),height:"".concat(o,"px")}:void 0,...h,className:(0,i.cn)("shrink-0 overflow-hidden",null==h?void 0:h.className),children:[t&&!g&&(0,r.jsx)("img",{src:t,alt:a||"",width:l,height:o,className:u,onError:()=>y(!0),...b}),(!t||g)&&v]})}},92014:(e,t,a)=>{a.d(t,{default:()=>u});var r=a(7893),n=a(86060),s=a(82601),i=a(95745),l=a(28081),o=a(86373),c=a(76089),d=a(79880);function u(e){let{id:t,children:a}=e,u=(0,d.c)("VideoEmbedPlaceholder"),m=(0,l.useContext)(o.ww);if(!m||!m.enableCookieManagement||(null==m?void 0:m.hasConsentToEmbeddedVideos))return a;let f=t&&t.includes("?")?t.split("?")[0]:t,p="https://img.youtube.com/vi/".concat(t,"/maxresdefault.jpg");return(0,r.jsxs)("div",{className:(0,i.cn)("video-embed relative flex rounded-sm border border-tertiary bg-primary-alt text-center"),children:[(0,r.jsx)("img",{src:p,alt:"thumbnail",width:560}),(0,r.jsxs)("div",{className:"absolute-center flex h-full w-full flex-col items-center justify-center gap-5 bg-primary/80",children:[(0,r.jsx)(n.A,{className:"size-12 text-secondary-alt",strokeWidth:1.5}),(0,r.jsx)("div",{className:"text-xl",children:(0,r.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,r.jsx)("span",{children:u("title")}),(0,r.jsx)("span",{className:"text-sm text-secondary",children:u("description")})]})}),(0,r.jsxs)("div",{className:"mt-2 flex flex-row flex-wrap justify-center gap-3",children:[(0,r.jsx)(s.$,{onClick:()=>void c.gB(o.YE,o.GL),children:u("accept")}),f&&(0,r.jsx)("a",{href:"https://www.youtube.com/watch?v=".concat(f),target:"_blank",rel:"noreferrer",children:(0,r.jsx)(s.$,{variant:"outline",children:u("watch")})})]})]})]})}},95054:(e,t,a)=>{a.d(t,{M$:()=>o,MZ:()=>n,cT:()=>l,gZ:()=>i,sw:()=>s});var r=a(2938);function n(e,t){var a;return null!=(a=l(t.id))?a:null!=t.page_ref?s(t.page_ref,e):null}function s(e,t){let a="slug"in t?t.slug:t.id;return"/".concat(t.locale,"/project/").concat(a,"/").concat(t.version,"/content/").concat(e)}function i(e,t){return"/".concat(e,"/project/").concat(t,"/latest")}function l(e){let t=r.A.parse(e);return(null==t?void 0:t.namespace)===r.o&&e.startsWith(r.o+":")?"https://minecraft.wiki/w/".concat(t.path):null}function o(e,t){return"/".concat(t.locale,"/project/").concat(t.id,"/").concat(t.version,"/docs/").concat(e)}},95745:(e,t,a)=>{a.d(t,{cn:()=>s});var r=a(3135),n=a(96915);function s(){for(var e=arguments.length,t=Array(e),a=0;a<e;a++)t[a]=arguments[a];return(0,n.QP)((0,r.$)(t))}},96090:(e,t,a)=>{a.d(t,{default:()=>i});var r=a(7893),n=a(59465);a(28081);var s=a(95745);function i(e){let{className:t,active:a,animate:i=!0}=e;return(0,r.jsx)(n.A,{className:(0,s.cn)(t,"shrink-0 data-[rotate=true]:rotate-180",i&&"transition-transform duration-200"),"data-rotate":a?"true":"false"})}}}]);
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7624],{41574:(e,t,r)=>{var s=r(95706);r.o(s,"permanentRedirect")&&r.d(t,{permanentRedirect:function(){return s.permanentRedirect}}),r.o(s,"redirect")&&r.d(t,{redirect:function(){return s.redirect}}),r.o(s,"useParams")&&r.d(t,{useParams:function(){return s.useParams}}),r.o(s,"usePathname")&&r.d(t,{usePathname:function(){return s.usePathname}}),r.o(s,"useRouter")&&r.d(t,{useRouter:function(){return s.useRouter}}),r.o(s,"useSearchParams")&&r.d(t,{useSearchParams:function(){return s.useSearchParams}})},69904:(e,t,r)=>{function s(e,t,r){return Math.max(t,Math.min(e,r))}function i(e,t){return"rtl"===t?(1-e)*100:(-1+e)*100}function n(e,t,r){if("string"==typeof t)void 0!==r&&(e.style[t]=r);else for(let r in t)if(t.hasOwnProperty(r)){let s=t[r];void 0!==s&&(e.style[r]=s)}}function o(e,t){e.classList.add(t)}function a(e,t){e.classList.remove(t)}function l(e){e&&e.parentNode&&e.parentNode.removeChild(e)}r.d(t,{AH:()=>d,W_:()=>p,i3:()=>u,uS:()=>h,zu:()=>g});var c={minimum:.08,maximum:1,template:`<div class="bar"><div class="peg"></div></div>
|
|
2
|
+
<div class="spinner"><div class="spinner-icon"></div></div>
|
|
3
|
+
<div class="indeterminate"><div class="inc"></div><div class="dec"></div></div>`,easing:"linear",positionUsing:"",speed:200,trickle:!0,trickleSpeed:200,showSpinner:!0,indeterminate:!1,indeterminateSelector:".indeterminate",barSelector:".bar",spinnerSelector:".spinner",parent:"body",direction:"ltr"},u=class{static settings=c;static status=null;static pending=[];static isPaused=!1;static reset(){return this.status=null,this.isPaused=!1,this.pending=[],this.settings=c,this}static configure(e){return Object.assign(this.settings,e),this}static isStarted(){return"number"==typeof this.status}static set(e){if(this.isPaused)return this;let t=this.isStarted();e=s(e,this.settings.minimum,this.settings.maximum),this.status=e===this.settings.maximum?null:e;let r=this.render(!t),i=this.settings.speed,o=this.settings.easing;return r.forEach(e=>e.offsetWidth),this.queue(t=>{r.forEach(t=>{this.settings.indeterminate||n(t.querySelector(this.settings.barSelector),this.barPositionCSS({n:e,speed:i,ease:o}))}),e===this.settings.maximum?(r.forEach(e=>{n(e,{transition:"none",opacity:"1"}),e.offsetWidth}),setTimeout(()=>{r.forEach(e=>{n(e,{transition:`all ${i}ms ${o}`,opacity:"0"})}),setTimeout(()=>{r.forEach(e=>{this.remove(e),null===this.settings.template&&n(e,{transition:"none",opacity:"1"})}),t()},i)},i)):setTimeout(t,i)}),this}static start(){this.status||this.set(0);let e=()=>{this.isPaused||setTimeout(()=>{this.status&&(this.trickle(),e())},this.settings.trickleSpeed)};return this.settings.trickle&&e(),this}static done(e){return e||this.status?this.inc(.3+.5*Math.random()).set(1):this}static inc(e){if(this.isPaused||this.settings.indeterminate)return this;let t=this.status;return t?t>1?this:("number"!=typeof e&&(e=t>=0&&t<.2?.1:t>=.2&&t<.5?.04:t>=.5&&t<.8?.02:.005*(t>=.8&&t<.99)),t=s(t+e,0,.994),this.set(t)):this.start()}static dec(e){if(this.isPaused||this.settings.indeterminate)return this;let t=this.status;return"number"!=typeof t?this:("number"!=typeof e&&(e=t>.8?.1:t>.5?.05:t>.2?.02:.01),t=s(t-e,0,.994),this.set(t))}static trickle(){return this.isPaused||this.settings.indeterminate?this:this.inc()}static promise(e){if(!e||"resolved"===e.state())return this;let t=0,r=0;return this.start(),t++,r++,e.always(()=>{0==--r?(t=0,this.done()):this.set((t-r)/t)}),this}static render(e=!1){let t="string"==typeof this.settings.parent?document.querySelector(this.settings.parent):this.settings.parent,r=t?Array.from(t.querySelectorAll(".bprogress")):[];if(null!==this.settings.template&&0===r.length){o(document.documentElement,"bprogress-busy");let e=document.createElement("div");o(e,"bprogress"),e.innerHTML=this.settings.template,t!==document.body&&o(t,"bprogress-custom-parent"),t.appendChild(e),r.push(e)}return r.forEach(r=>{if(null===this.settings.template&&(r.style.display=""),o(document.documentElement,"bprogress-busy"),t!==document.body&&o(t,"bprogress-custom-parent"),this.settings.indeterminate){let e=r.querySelector(this.settings.barSelector);e&&(e.style.display="none");let t=r.querySelector(this.settings.indeterminateSelector);t&&(t.style.display="")}else{let t=r.querySelector(this.settings.barSelector),s=e?i(0,this.settings.direction):i(this.status||0,this.settings.direction);n(t,this.barPositionCSS({n:this.status||0,speed:this.settings.speed,ease:this.settings.easing,perc:s}));let o=r.querySelector(this.settings.indeterminateSelector);o&&(o.style.display="none")}if(null===this.settings.template){let e=r.querySelector(this.settings.spinnerSelector);e&&(e.style.display=this.settings.showSpinner?"block":"none")}else if(!this.settings.showSpinner){let e=r.querySelector(this.settings.spinnerSelector);e&&l(e)}}),r}static remove(e){e?null===this.settings.template?e.style.display="none":l(e):(a(document.documentElement,"bprogress-busy"),("string"==typeof this.settings.parent?document.querySelectorAll(this.settings.parent):[this.settings.parent]).forEach(e=>{a(e,"bprogress-custom-parent")}),document.querySelectorAll(".bprogress").forEach(e=>{null===this.settings.template?e.style.display="none":l(e)}))}static pause(){return!this.isStarted()||this.settings.indeterminate||(this.isPaused=!0),this}static resume(){if(!this.isStarted()||this.settings.indeterminate)return this;if(this.isPaused=!1,this.settings.trickle){let e=()=>{this.isPaused||setTimeout(()=>{this.status&&(this.trickle(),e())},this.settings.trickleSpeed)};e()}return this}static isRendered(){return document.querySelectorAll(".bprogress").length>0}static getPositioningCSS(){let e=document.body.style,t="WebkitTransform"in e?"Webkit":"MozTransform"in e?"Moz":"msTransform"in e?"ms":"OTransform"in e?"O":"";return`${t}Perspective`in e?"translate3d":`${t}Transform`in e?"translate":"margin"}static queue(e){this.pending.push(e),1===this.pending.length&&this.next()}static next(){let e=this.pending.shift();e&&e(this.next.bind(this))}static initPositionUsing(){""===this.settings.positionUsing&&(this.settings.positionUsing=this.getPositioningCSS())}static barPositionCSS({n:e,speed:t,ease:r,perc:s}){this.initPositionUsing();let n={},o=s??i(e,this.settings.direction);return"translate3d"===this.settings.positionUsing?n={transform:`translate3d(${o}%,0,0)`}:"translate"===this.settings.positionUsing?n={transform:`translate(${o}%,0)`}:"width"===this.settings.positionUsing?n={width:`${"rtl"===this.settings.direction?100-o:o+100}%`,..."rtl"===this.settings.direction?{right:"0",left:"auto"}:{}}:"margin"===this.settings.positionUsing&&(n="rtl"===this.settings.direction?{"margin-left":`${-o}%`}:{"margin-right":`${-o}%`}),n.transition=`all ${t}ms ${r}`,n}},d=({color:e="#29d",height:t="2px",spinnerPosition:r="top-right"})=>`
|
|
4
|
+
:root {
|
|
5
|
+
--bprogress-color: ${e};
|
|
6
|
+
--bprogress-height: ${t};
|
|
7
|
+
--bprogress-spinner-size: 18px;
|
|
8
|
+
--bprogress-spinner-animation-duration: 400ms;
|
|
9
|
+
--bprogress-spinner-border-size: 2px;
|
|
10
|
+
--bprogress-box-shadow: 0 0 10px ${e}, 0 0 5px ${e};
|
|
11
|
+
--bprogress-z-index: 99999;
|
|
12
|
+
--bprogress-spinner-top: ${"top-right"===r||"top-left"===r?"15px":"auto"};
|
|
13
|
+
--bprogress-spinner-bottom: ${"bottom-right"===r||"bottom-left"===r?"15px":"auto"};
|
|
14
|
+
--bprogress-spinner-right: ${"top-right"===r||"bottom-right"===r?"15px":"auto"};
|
|
15
|
+
--bprogress-spinner-left: ${"top-left"===r||"bottom-left"===r?"15px":"auto"};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.bprogress {
|
|
19
|
+
width: 0;
|
|
20
|
+
height: 0;
|
|
21
|
+
pointer-events: none;
|
|
22
|
+
z-index: var(--bprogress-z-index);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.bprogress .bar {
|
|
26
|
+
background: var(--bprogress-color);
|
|
27
|
+
position: fixed;
|
|
28
|
+
z-index: var(--bprogress-z-index);
|
|
29
|
+
top: 0;
|
|
30
|
+
left: 0;
|
|
31
|
+
width: 100%;
|
|
32
|
+
height: var(--bprogress-height);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
/* Fancy blur effect */
|
|
36
|
+
.bprogress .peg {
|
|
37
|
+
display: block;
|
|
38
|
+
position: absolute;
|
|
39
|
+
right: 0;
|
|
40
|
+
width: 100px;
|
|
41
|
+
height: 100%;
|
|
42
|
+
box-shadow: var(--bprogress-box-shadow);
|
|
43
|
+
opacity: 1.0;
|
|
44
|
+
transform: rotate(3deg) translate(0px, -4px);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
/* Remove these to get rid of the spinner */
|
|
48
|
+
.bprogress .spinner {
|
|
49
|
+
display: block;
|
|
50
|
+
position: fixed;
|
|
51
|
+
z-index: var(--bprogress-z-index);
|
|
52
|
+
top: var(--bprogress-spinner-top);
|
|
53
|
+
bottom: var(--bprogress-spinner-bottom);
|
|
54
|
+
right: var(--bprogress-spinner-right);
|
|
55
|
+
left: var(--bprogress-spinner-left);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.bprogress .spinner-icon {
|
|
59
|
+
width: var(--bprogress-spinner-size);
|
|
60
|
+
height: var(--bprogress-spinner-size);
|
|
61
|
+
box-sizing: border-box;
|
|
62
|
+
border: solid var(--bprogress-spinner-border-size) transparent;
|
|
63
|
+
border-top-color: var(--bprogress-color);
|
|
64
|
+
border-left-color: var(--bprogress-color);
|
|
65
|
+
border-radius: 50%;
|
|
66
|
+
-webkit-animation: bprogress-spinner var(--bprogress-spinner-animation-duration) linear infinite;
|
|
67
|
+
animation: bprogress-spinner var(--bprogress-spinner-animation-duration) linear infinite;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.bprogress-custom-parent {
|
|
71
|
+
overflow: hidden;
|
|
72
|
+
position: relative;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.bprogress-custom-parent .bprogress .spinner,
|
|
76
|
+
.bprogress-custom-parent .bprogress .bar {
|
|
77
|
+
position: absolute;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.bprogress .indeterminate {
|
|
81
|
+
position: fixed;
|
|
82
|
+
top: 0;
|
|
83
|
+
left: 0;
|
|
84
|
+
width: 100%;
|
|
85
|
+
height: var(--bprogress-height);
|
|
86
|
+
overflow: hidden;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.bprogress .indeterminate .inc,
|
|
90
|
+
.bprogress .indeterminate .dec {
|
|
91
|
+
position: absolute;
|
|
92
|
+
top: 0;
|
|
93
|
+
height: 100%;
|
|
94
|
+
background-color: var(--bprogress-color);
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.bprogress .indeterminate .inc {
|
|
98
|
+
animation: bprogress-indeterminate-increase 2s infinite;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.bprogress .indeterminate .dec {
|
|
102
|
+
animation: bprogress-indeterminate-decrease 2s 0.5s infinite;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
@-webkit-keyframes bprogress-spinner {
|
|
106
|
+
0% { -webkit-transform: rotate(0deg); transform: rotate(0deg); }
|
|
107
|
+
100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); }
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
@keyframes bprogress-spinner {
|
|
111
|
+
0% { transform: rotate(0deg); }
|
|
112
|
+
100% { transform: rotate(360deg); }
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
@keyframes bprogress-indeterminate-increase {
|
|
116
|
+
from { left: -5%; width: 5%; }
|
|
117
|
+
to { left: 130%; width: 100%; }
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
@keyframes bprogress-indeterminate-decrease {
|
|
121
|
+
from { left: -80%; width: 80%; }
|
|
122
|
+
to { left: 110%; width: 10%; }
|
|
123
|
+
}
|
|
124
|
+
`;function p(e,t){return e.protocol+"//"+e.host+e.pathname+e.search==t.protocol+"//"+t.host+t.pathname+t.search}function h(e,t){return e.protocol+"//"+e.host+e.pathname==t.protocol+"//"+t.host+t.pathname}function g(e,t){if("string"==typeof t&&"data-disable-progress"===t){let r=t.substring(5).replace(/-([a-z])/g,(e,t)=>t.toUpperCase());return e.dataset[r]}let r=e[t];if(r instanceof SVGAnimatedString){let e=r.baseVal;if("href"===t){var s=location.origin;if(!e.startsWith("/")||!s)return e;let{pathname:t,query:r,hash:i}=function(e){let t=e.indexOf("#"),r=e.indexOf("?"),s=r>-1&&(t<0||r<t);return s||t>-1?{pathname:e.substring(0,s?r:t),query:s?e.substring(r,t>-1?t:void 0):"",hash:t>-1?e.slice(t):""}:{pathname:e,query:"",hash:""}}(e);return`${s}${t}${r}${i}`}return e}return r}},77671:(e,t,r)=>{r.d(t,{Uw:()=>u,Vx:()=>c,bU:()=>b,li:()=>m,p1:()=>l});var s=r(69904),i=r(28081);function n(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},s=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(s=s.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),s.forEach(function(t){var s;s=r[t],t in e?Object.defineProperty(e,t,{value:s,enumerable:!0,configurable:!0,writable:!0}):e[t]=s})}return e}function o(e,t){if(null==e)return{};var r,s,i=function(e,t){if(null==e)return{};var r,s,i={},n=Object.keys(e);for(s=0;s<n.length;s++)r=n[s],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(s=0;s<n.length;s++)r=n[s],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}var a=(0,i.createContext)(void 0),l=function(){var e=(0,i.useContext)(a);if(!e)throw Error("useProgress must be used within a ProgressProvider");return e},c=function(e){var t=e.children,r=e.color,o=void 0===r?"#0A2FFF":r,l=e.height,c=void 0===l?"2px":l,u=e.options,d=e.spinnerPosition,p=void 0===d?"top-right":d,h=e.style,g=e.disableStyle,f=e.nonce,m=e.shallowRouting,b=e.disableSameURL,v=e.startPosition,y=e.delay,S=e.stopDelay,w=(0,i.useRef)(null),P=(0,i.useRef)(!1),k=(0,i.useCallback)(function(){return P.current=!0},[]),x=(0,i.useCallback)(function(){return P.current=!1},[]),E=(0,i.useCallback)(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];r&&k(),w.current=setTimeout(function(){e>0&&s.i3.set(e),s.i3.start()},t)},[k]),O=(0,i.useCallback)(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;setTimeout(function(){w.current&&clearTimeout(w.current),w.current=setTimeout(function(){s.i3.isStarted()&&(s.i3.done(),P.current&&x())},e)},t)},[x]),C=(0,i.useCallback)(function(e){return s.i3.inc(e)},[]),R=(0,i.useCallback)(function(e){return s.i3.dec(e)},[]),N=(0,i.useCallback)(function(e){return s.i3.set(e)},[]),j=(0,i.useCallback)(function(){return s.i3.pause()},[]),$=(0,i.useCallback)(function(){return s.i3.resume()},[]),A=(0,i.useCallback)(function(){return s.i3.settings},[]),z=(0,i.useCallback)(function(e){var t=A(),r="function"==typeof e?e(t):e,i=n({},t,r);s.i3.configure(i)},[A]),T=(0,i.useMemo)(function(){return i.createElement("style",{nonce:f},h||(0,s.AH)({color:o,height:c,spinnerPosition:p}))},[o,c,f,p,h]);return s.i3.configure(u||{}),i.createElement(a.Provider,{value:{start:E,stop:O,inc:C,dec:R,set:N,pause:j,resume:$,setOptions:z,getOptions:A,isAutoStopDisabled:P,disableAutoStop:k,enableAutoStop:x,shallowRouting:void 0!==m&&m,disableSameURL:void 0===b||b,startPosition:void 0===v?0:v,delay:void 0===y?0:y,stopDelay:void 0===S?0:S}},void 0!==g&&g?null:T,t)};function u(e){var t=e.shallowRouting,r=void 0!==t&&t,n=e.disableSameURL,o=void 0===n||n,a=e.startPosition,c=void 0===a?0:a,u=e.delay,d=void 0===u?0:u,p=e.stopDelay,h=void 0===p?0:p,g=e.targetPreprocessor,f=e.disableAnchorClick,m=void 0!==f&&f,b=e.startOnLoad,v=void 0!==b&&b,y=e.forcedStopDelay,S=void 0===y?0:y,w=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],P=(0,i.useRef)([]),k=(0,i.useRef)(null),x=l(),E=x.start,O=x.stop,C=x.isAutoStopDisabled;(0,i.useEffect)(function(){v&&E(c,d)},[]),(0,i.useEffect)(function(){return k.current&&clearTimeout(k.current),k.current=setTimeout(function(){C.current||O()},h),function(){k.current&&clearTimeout(k.current)}},w),(0,i.useEffect)(function(){if(!m){var e=function(e){if(e.defaultPrevented)return;var t=e.currentTarget;if(t.hasAttribute("download"))return;var i=e.target,n=(null==i?void 0:i.getAttribute("data-prevent-progress"))==="true"||(null==t?void 0:t.getAttribute("data-prevent-progress"))==="true";if(!n)for(var a,l=i;l&&"a"!==l.tagName.toLowerCase();){if((null==(a=l.parentElement)?void 0:a.getAttribute("data-prevent-progress"))==="true"){n=!0;break}l=l.parentElement}if(!n&&"_blank"!==(0,s.zu)(t,"target")&&!e.metaKey&&!e.ctrlKey&&!e.shiftKey&&!e.altKey){var u=(0,s.zu)(t,"href"),p=g?g(new URL(u)):new URL(u),h=new URL(location.href);(!(r&&(0,s.uS)(p,h))||!o)&&((0,s.W_)(p,h)&&o||E(c,d))}},t=new MutationObserver(function(){var t=Array.from(document.querySelectorAll("a")).filter(function(e){var t=(0,s.zu)(e,"href"),r="true"===e.getAttribute("data-disable-progress"),i=t&&!t.startsWith("tel:")&&!t.startsWith("mailto:")&&!t.startsWith("blob:")&&!t.startsWith("javascript:");return!r&&i&&"_blank"!==(0,s.zu)(e,"target")});t.forEach(function(t){t.addEventListener("click",e,!0)}),P.current=t});t.observe(document,{childList:!0,subtree:!0});var i=window.history.pushState;return window.history.pushState=new Proxy(window.history.pushState,{apply:function(e,t,r){return C.current||O(h,S),e.apply(t,r)}}),function(){t.disconnect(),P.current.forEach(function(t){t.removeEventListener("click",e,!0)}),P.current=[],window.history.pushState=i}}},[m,g,r,o,d,h,c,E,O,S,C])}function d(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.filter(Boolean).join(" ")}var p=i.forwardRef(function(e,t){var r=e.as,s=e.children,a=e.className,l=e.classSelector,c=o(e,["as","children","className","classSelector"]);return i.createElement(null!=r?r:"div",n({ref:t,className:d(void 0===l?"bar":l,a)},c),s)}),h=i.forwardRef(function(e,t){var r=e.as,s=e.children,a=e.className,l=e.classSelector,c=o(e,["as","children","className","classSelector"]);return i.createElement(null!=r?r:"div",n({ref:t,className:d(void 0===l?"peg":l,a)},c),s)}),g=i.forwardRef(function(e,t){var r=e.as,s=e.children,a=e.className,l=e.classSelector,c=o(e,["as","children","className","classSelector"]);return i.createElement(null!=r?r:"div",n({ref:t,className:d(void 0===l?"spinner":l,a)},c),s)}),f=i.forwardRef(function(e,t){var r=e.as,s=e.children,a=e.className,l=e.classSelector,c=o(e,["as","children","className","classSelector"]);return i.createElement(null!=r?r:"div",n({ref:t,className:d(void 0===l?"spinner-icon":l,a)},c),s)});function m(e){return function(t){return i.createElement(i.Suspense,null,i.createElement(e,n({},t)))}}function b(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:["memo","shouldCompareComplexProps"];return(0,i.memo)(e,function(e,r){return!1!==r.memo&&(!r.shouldCompareComplexProps||function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],s=Object.keys(e).filter(function(e){return!r.includes(e)}),i=Object.keys(t).filter(function(e){return!r.includes(e)});if(s.length!==i.length)return!1;var n=!0,o=!1,a=void 0;try{for(var l,c=s[Symbol.iterator]();!(n=(l=c.next()).done);n=!0){var u=l.value;if(e[u]!==t[u])return!1}}catch(e){o=!0,a=e}finally{try{n||null==c.return||c.return()}finally{if(o)throw a}}return!0}(e,r,t))})}i.forwardRef(function(e,t){var r,s,a=e.as,l=e.children,c=e.className,u=e.style,m=o(e,["as","children","className","style"]);return i.createElement(null!=a?a:"div",n({ref:t,className:d("bprogress",c),style:(r=n({},u),s=s={display:"none"},Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(s)):(function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);r.push.apply(r,s)}return r})(Object(s)).forEach(function(e){Object.defineProperty(r,e,Object.getOwnPropertyDescriptor(s,e))}),r)},m),l||i.createElement(i.Fragment,null,i.createElement(p,null,i.createElement(h,null)),i.createElement(g,null,i.createElement(f,null))))}),i.forwardRef(function(e,t){var r=e.as,s=e.className,a=e.classSelector,l=o(e,["as","className","classSelector"]);return i.createElement(null!=r?r:"div",n({ref:t,className:d(void 0===a?"indeterminate":a,s)},l),i.createElement("div",{className:"inc"}),i.createElement("div",{className:"dec"}))})}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8237],{1273:(e,t,r)=>{r.d(t,{AddRefIfNedded:()=>l});var n=r(7893),i=r(28081);let o=({merge:e,...t})=>{let{_stack:r,...i}=function(...e){return 1===e.length?e[0]:e.reduce((e,t)=>{for(let r in t)!function(e,t,r){if("children"===t)e.children=r||e.children;else if("_ref"===t)e._ref=r||e._ref;else if("data"===t)e.data=e.data?{...e.data,...r}:r;else if("className"===t)e.className=[e.className,r].join(" ").trim();else if("style"===t)e.style={...e.style,...r};else if("function"==typeof r){let n=e[t];e[t]=n?(...e)=>{n(...e),r(...e)}:r}else if(void 0===r||"object"!=typeof r&&r===e[t]);else if(t in e)throw Error(`Didn’t know how to merge prop '${t}'. Only 'className', 'style', and event handlers are supported`);else e[t]=r}(e,r,t[r]);return e},{})}(e,t),[o,...l]=r;if(o)return(0,n.jsx)(o,{_stack:l,...i});{let{_ref:e,data:t,children:r,...o}=i;return(0,n.jsx)("pre",{...o,ref:e,"data-ch":!0,children:(0,n.jsx)("div",{style:{minWidth:"fit-content"},children:r})})}},l=e=>{let t=(0,i.useRef)(null),r=e._ref||t;return(0,n.jsx)(o,{merge:e,_ref:r})}},9389:(e,t,r)=>{r.d(t,{Qg:()=>a,bL:()=>s});var n=r(28081),i=r(21851),o=r(7893),l=Object.defineProperty,a=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),s=n.forwardRef(l(function(e,t){return(0,o.jsx)(i.sG.span,{...e,ref:t,style:{...a,...e.style}})},"name",{value:"VisuallyHidden",configurable:!0}))},15936:(e,t,r)=>{r.d(t,{A:()=>o});var n=r(11977);let i={name:"copy",size:24,node:[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]};i.node;let o=(0,n.A)(i)},19371:(e,t)=>{function r(e){let{ampFirst:t=!1,hybrid:r=!1,hasQuery:n=!1}=void 0===e?{}:e;return t||r&&n}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isInAmpMode",{enumerable:!0,get:function(){return r}})},29091:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return m},defaultHead:function(){return d}});let n=r(4420),i=r(71777),o=r(7893),l=i._(r(28081)),a=n._(r(46780)),s=r(44995),u=r(435),c=r(19371);function d(e){void 0===e&&(e=!1);let t=[(0,o.jsx)("meta",{charSet:"utf-8"},"charset")];return e||t.push((0,o.jsx)("meta",{name:"viewport",content:"width=device-width"},"viewport")),t}function f(e,t){return"string"==typeof t||"number"==typeof t?e:t.type===l.default.Fragment?e.concat(l.default.Children.toArray(t.props.children).reduce((e,t)=>"string"==typeof t||"number"==typeof t?e:e.concat(t),[])):e.concat(t)}r(47971);let p=["name","httpEquiv","charSet","itemProp"];function h(e,t){let{inAmpMode:r}=t;return e.reduce(f,[]).reverse().concat(d(r).reverse()).filter(function(){let e=new Set,t=new Set,r=new Set,n={};return i=>{let o=!0,l=!1;if(i.key&&"number"!=typeof i.key&&i.key.indexOf("$")>0){l=!0;let t=i.key.slice(i.key.indexOf("$")+1);e.has(t)?o=!1:e.add(t)}switch(i.type){case"title":case"base":t.has(i.type)?o=!1:t.add(i.type);break;case"meta":for(let e=0,t=p.length;e<t;e++){let t=p[e];if(i.props.hasOwnProperty(t))if("charSet"===t)r.has(t)?o=!1:r.add(t);else{let e=i.props[t],r=n[t]||new Set;("name"!==t||!l)&&r.has(e)?o=!1:(r.add(e),n[t]=r)}}}return o}}()).reverse().map((e,t)=>{let r=e.key||t;return l.default.cloneElement(e,{key:r})})}let m=function(e){let{children:t}=e,r=(0,l.useContext)(s.AmpStateContext),n=(0,l.useContext)(u.HeadManagerContext);return(0,o.jsx)(a.default,{reduceComponentsToState:h,headManager:n,inAmpMode:(0,c.isInAmpMode)(r),children:t})};("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)},30981:(e,t,r)=>{r.d(t,{Kq:()=>q,UC:()=>X,bL:()=>V,l9:()=>W});var n=r(28081),i=r(51016),o=r(46988),l=r(25020),a=r(5721),s=r(68285),u=r(14182),c=r(17312),d=r(21851),f=r(85126),p=r(45415),h=r(58307),m=r(9389),g=r(7893),v=Object.defineProperty,y=(e,t)=>v(e,"name",{value:t,configurable:!0}),[b,x]=(0,l.A)("Tooltip",[u.Bk]),w=(0,u.Bk)(),C="tooltip.open",[j,R]=b("TooltipProvider"),_=y(e=>{let{__scopeTooltip:t,delayDuration:r=700,skipDelayDuration:i=300,disableHoverableContent:o=!1,children:l}=e,a=n.useRef(!0),s=n.useRef(!1),u=n.useRef(0);return n.useEffect(()=>{let e=u.current;return()=>window.clearTimeout(e)},[]),(0,g.jsx)(j,{scope:t,isOpenDelayedRef:a,delayDuration:r,onOpen:n.useCallback(()=>{i<=0||(window.clearTimeout(u.current),a.current=!1)},[i]),onClose:n.useCallback(()=>{i<=0||(window.clearTimeout(u.current),u.current=window.setTimeout(()=>a.current=!0,i))},[i]),isPointerInTransitRef:s,onPointerInTransitChange:n.useCallback(e=>{s.current=e},[]),disableHoverableContent:o,children:l})},"TooltipProvider"),E="Tooltip",[P,O]=b(E),S=y(e=>{let{__scopeTooltip:t,children:r,open:i,defaultOpen:o,onOpenChange:l,disableHoverableContent:a,delayDuration:c}=e,d=R(E,e.__scopeTooltip),f=w(t),[h,m]=n.useState(null),[v,b]=n.useState(void 0),x=(0,s.B)(),j=n.useRef(0),_=null!=a?a:d.disableHoverableContent,O=null!=c?c:d.delayDuration,S=n.useRef(!1),[T,k]=(0,p.i)({prop:i,defaultProp:null!=o&&o,onChange:y(e=>{e?(d.onOpen(),document.dispatchEvent(new CustomEvent(C))):d.onClose(),null==l||l(e)},"onChange"),caller:E}),A=n.useMemo(()=>T?S.current?"delayed-open":"instant-open":"closed",[T]),I=n.useCallback(()=>{window.clearTimeout(j.current),j.current=0,S.current=!1,k(!0)},[k]),M=n.useCallback(()=>{window.clearTimeout(j.current),j.current=0,k(!1)},[k]),z=n.useCallback(()=>{window.clearTimeout(j.current),j.current=window.setTimeout(()=>{S.current=!0,k(!0),j.current=0},O)},[O,k]);return n.useEffect(()=>()=>{j.current&&(window.clearTimeout(j.current),j.current=0)},[]),(0,g.jsx)(u.bL,{...f,children:(0,g.jsx)(P,{scope:t,contentId:null!=v?v:x,setContentId:b,open:T,stateAttribute:A,trigger:h,onTriggerChange:m,onTriggerEnter:n.useCallback(()=>{d.isOpenDelayedRef.current?z():I()},[d.isOpenDelayedRef,z,I]),onTriggerLeave:n.useCallback(()=>{_?M():(window.clearTimeout(j.current),j.current=0)},[M,_]),onOpen:I,onClose:M,disableHoverableContent:_,children:r})})},"Tooltip"),T="TooltipTrigger",k=n.forwardRef(y(function(e,t){let{__scopeTooltip:r,...l}=e,a=O(T,r),s=R(T,r),c=w(r),f=n.useRef(null),p=(0,o.s)(t,f,a.onTriggerChange),h=n.useRef(!1),m=n.useRef(!1),v=n.useCallback(()=>h.current=!1,[]);return n.useEffect(()=>()=>document.removeEventListener("pointerup",v),[v]),(0,g.jsx)(u.Mz,{asChild:!0,...c,children:(0,g.jsx)(d.sG.button,{"aria-describedby":a.open?a.contentId:void 0,"data-state":a.stateAttribute,...l,ref:p,onPointerMove:(0,i.mK)(e.onPointerMove,e=>{"touch"!==e.pointerType&&(m.current||s.isPointerInTransitRef.current||(a.onTriggerEnter(),m.current=!0))}),onPointerLeave:(0,i.mK)(e.onPointerLeave,()=>{a.onTriggerLeave(),m.current=!1}),onPointerDown:(0,i.mK)(e.onPointerDown,()=>{a.open&&a.onClose(),h.current=!0,document.addEventListener("pointerup",v,{once:!0})}),onFocus:(0,i.mK)(e.onFocus,()=>{h.current||a.onOpen()}),onBlur:(0,i.mK)(e.onBlur,a.onClose),onClick:(0,i.mK)(e.onClick,a.onClose)})})},"TooltipTrigger")),[A,I]=b("TooltipPortal",{forceMount:void 0}),M="TooltipContent",z=n.forwardRef(y(function(e,t){let r=I(M,e.__scopeTooltip),{forceMount:n=r.forceMount,side:i="top",...o}=e,l=O(M,e.__scopeTooltip);return(0,g.jsx)(c.C,{present:n||l.open,children:l.disableHoverableContent?(0,g.jsx)(F,{side:i,...o,ref:t}):(0,g.jsx)(D,{side:i,...o,ref:t})})},"TooltipContent")),D=n.forwardRef(y(function(e,t){let r=O(M,e.__scopeTooltip),i=R(M,e.__scopeTooltip),l=n.useRef(null),a=(0,o.s)(t,l),[s,u]=n.useState(null),{trigger:c,onClose:d}=r,f=l.current,{onPointerInTransitChange:p}=i,h=n.useCallback(()=>{u(null),p(!1)},[p]),m=n.useCallback((e,t)=>{let r=e.currentTarget,n={x:e.clientX,y:e.clientY},i=N(n,r.getBoundingClientRect());u(U([...K(n,i),...G(t.getBoundingClientRect())])),p(!0)},[p]);return n.useEffect(()=>()=>h(),[h]),n.useEffect(()=>{if(c&&f){let e=y(e=>m(e,f),"handleTriggerLeave"),t=y(e=>m(e,c),"handleContentLeave");return c.addEventListener("pointerleave",e),f.addEventListener("pointerleave",t),()=>{c.removeEventListener("pointerleave",e),f.removeEventListener("pointerleave",t)}}},[c,f,m,h]),n.useEffect(()=>{if(s){let e=y(e=>{let t=e.target,r={x:e.clientX,y:e.clientY},n=(null==c?void 0:c.contains(t))||(null==f?void 0:f.contains(t)),i=!B(r,s);n?h():i&&(h(),d())},"handleTrackPointerGrace");return document.addEventListener("pointermove",e),()=>document.removeEventListener("pointermove",e)}},[c,f,s,d,h]),(0,g.jsx)(F,{...e,ref:a})},"TooltipContentHoverable")),L=(0,f.Dc)("TooltipContent"),F=n.forwardRef(y(function(e,t){let{__scopeTooltip:r,children:i,"aria-label":o,id:l,onEscapeKeyDown:s,onPointerDownOutside:c,...d}=e,f=O(M,r),p=w(r),{onClose:v}=f;n.useEffect(()=>(document.addEventListener(C,v),()=>document.removeEventListener(C,v)),[v]),n.useEffect(()=>{if(f.trigger){let e=y(e=>{e.target instanceof Node&&e.target.contains(f.trigger)&&v()},"handleScroll");return window.addEventListener("scroll",e,{capture:!0}),()=>window.removeEventListener("scroll",e,{capture:!0})}},[f.trigger,v]);let{setContentId:b}=f;return(0,h.N)(()=>(b(l),()=>{b(void 0)}),[l,b]),(0,g.jsx)(a.qW,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:s,onPointerDownOutside:c,onFocusOutside:e=>e.preventDefault(),onDismiss:v,children:(0,g.jsxs)(u.UC,{"data-state":f.stateAttribute,role:o?void 0:"tooltip",id:o?void 0:f.contentId,...p,...d,ref:t,style:{...d.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[(0,g.jsx)(L,{children:i}),o?(0,g.jsx)(m.bL,{id:f.contentId,role:"tooltip",children:o}):null]})})},"TooltipContentImpl"));function N(e,t){let r=Math.abs(t.top-e.y),n=Math.abs(t.bottom-e.y),i=Math.abs(t.right-e.x),o=Math.abs(t.left-e.x);switch(Math.min(r,n,i,o)){case o:return"left";case i:return"right";case r:return"top";case n:return"bottom";default:throw Error("unreachable")}}function K(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:5,n=[];switch(t){case"top":n.push({x:e.x-r,y:e.y+r},{x:e.x+r,y:e.y+r});break;case"bottom":n.push({x:e.x-r,y:e.y-r},{x:e.x+r,y:e.y-r});break;case"left":n.push({x:e.x+r,y:e.y-r},{x:e.x+r,y:e.y+r});break;case"right":n.push({x:e.x-r,y:e.y-r},{x:e.x-r,y:e.y+r})}return n}function G(e){let{top:t,right:r,bottom:n,left:i}=e;return[{x:i,y:t},{x:r,y:t},{x:r,y:n},{x:i,y:n}]}function B(e,t){let{x:r,y:n}=e,i=!1;for(let e=0,o=t.length-1;e<t.length;o=e++){let l=t[e],a=t[o],s=l.x,u=l.y,c=a.x,d=a.y;u>n!=d>n&&r<(c-s)*(n-u)/(d-u)+s&&(i=!i)}return i}function U(e){let t=e.slice();return t.sort((e,t)=>e.x<t.x?-1:e.x>t.x?1:e.y<t.y?-1:1*!!(e.y>t.y)),H(t)}function H(e){if(e.length<=1)return e.slice();let t=[];for(let r=0;r<e.length;r++){let n=e[r];for(;t.length>=2;){let e=t[t.length-1],r=t[t.length-2];if((e.x-r.x)*(n.y-r.y)>=(e.y-r.y)*(n.x-r.x))t.pop();else break}t.push(n)}t.pop();let r=[];for(let t=e.length-1;t>=0;t--){let n=e[t];for(;r.length>=2;){let e=r[r.length-1],t=r[r.length-2];if((e.x-t.x)*(n.y-t.y)>=(e.y-t.y)*(n.x-t.x))r.pop();else break}r.push(n)}return(r.pop(),1===t.length&&1===r.length&&t[0].x===r[0].x&&t[0].y===r[0].y)?t:t.concat(r)}y(N,"getExitSideFromRect"),y(K,"getPaddedExitPoints"),y(G,"getPointsFromRect"),y(B,"isPointInPolygon"),y(U,"getHull"),y(H,"getHullPresorted");var q=_,V=S,W=k,X=z},41853:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ImageConfigContext",{enumerable:!0,get:function(){return o}});let n=r(4420)._(r(28081)),i=r(46095),o=n.default.createContext(i.imageConfigDefault)},42019:(e,t,r)=>{r.d(t,{jH:()=>l});var n=r(28081);r(7893);var i=Object.defineProperty,o=n.createContext(void 0);function l(e){let t=n.useContext(o);return e||t||"ltr"}i(l,"name",{value:"useDirection",configurable:!0})},43970:(e,t)=>{function r(e){var t;let{config:r,src:n,width:i,quality:o}=e,l=o||(null==(t=r.qualities)?void 0:t.reduce((e,t)=>Math.abs(t-75)<Math.abs(e-75)?t:e))||75;return r.path+"?url="+encodeURIComponent(n)+"&w="+i+"&q="+l+(n.startsWith("/_next/static/media/"),"")}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n}}),r.__next_img_default=!0;let n=r},44995:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AmpStateContext",{enumerable:!0,get:function(){return n}});let n=r(4420)._(r(28081)).default.createContext({})},46095:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{VALID_LOADERS:function(){return r},imageConfigDefault:function(){return n}});let r=["default","imgix","cloudinary","akamai","custom"],n={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",loaderFile:"",domains:[],disableStaticImages:!1,minimumCacheTTL:60,formats:["image/webp"],maximumDiskCacheSize:void 0,maximumResponseBody:5e7,dangerouslyAllowSVG:!1,contentSecurityPolicy:"script-src 'none'; frame-src 'none'; sandbox;",contentDispositionType:"attachment",localPatterns:void 0,remotePatterns:[],qualities:void 0,unoptimized:!1}},46780:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});let n=r(28081),i=n.useLayoutEffect,o=n.useEffect;function l(e){let{headManager:t,reduceComponentsToState:r}=e;function l(){if(t&&t.mountedInstances){let i=n.Children.toArray(Array.from(t.mountedInstances).filter(Boolean));t.updateHead(r(i,e))}}return i(()=>{var r;return null==t||null==(r=t.mountedInstances)||r.add(e.children),()=>{var r;null==t||null==(r=t.mountedInstances)||r.delete(e.children)}}),i(()=>(t&&(t._pendingUpdate=l),()=>{t&&(t._pendingUpdate=l)})),o(()=>(t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null),()=>{t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null)})),null}},48731:(e,t,r)=>{r.d(t,{UC:()=>es,B8:()=>el,bL:()=>eo,l9:()=>ea});var n=r(28081),i=r.t(n,2),o=r(51016),l=r(25020),a=r(93992),s=r(46988),u=r(68285),c=r(21851),d=r(66325),f=r(45415),p=r(42019),h=r(58307),m=Object.defineProperty,g=(e,t)=>m(e,"name",{value:t,configurable:!0}),v=!1;function y(){let[e,t]=n.useState(v);return n.useEffect(()=>{v||(v=!0,t(!0))},[]),e}g(y,"useIsHydrated");var b=i[" useSyncExternalStore ".trim().toString()];function x(){return()=>{}}function w(){return b(x,()=>!0,()=>!1)}g(x,"subscribe"),g(w,"useIsHydratedModern");var C="function"==typeof b?w:y,j=r(7893),R=Object.defineProperty,_=(e,t)=>R(e,"name",{value:t,configurable:!0}),E="rovingFocusGroup.onEntryFocus",P={bubbles:!1,cancelable:!0},O="RovingFocusGroup",[S,T,k]=(0,a.N)(O),[A,I]=(0,l.A)(O,[k]),[M,z]=A(O),D=n.forwardRef(_(function(e,t){return(0,j.jsx)(S.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,j.jsx)(S.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,j.jsx)(L,{...e,ref:t})})})},"RovingFocusGroup")),L=n.forwardRef(_(function(e,t){let{__scopeRovingFocusGroup:r,orientation:i,loop:l=!1,dir:a,currentTabStopId:u,defaultCurrentTabStopId:h,onCurrentTabStopIdChange:m,onEntryFocus:g,preventScrollOnEntryFocus:v=!1,...y}=e,b=n.useRef(null),x=(0,s.s)(t,b),w=(0,p.jH)(a),[C,R]=(0,f.i)({prop:u,defaultProp:null!=h?h:null,onChange:m,caller:O}),[_,S]=n.useState(!1),k=(0,d.c)(g),A=T(r),I=n.useRef(!1),[z,D]=n.useState(0);return n.useEffect(()=>{let e=b.current;if(e)return e.addEventListener(E,k),()=>e.removeEventListener(E,k)},[k]),(0,j.jsx)(M,{scope:r,orientation:i,dir:w,loop:l,currentTabStopId:C,onItemFocus:n.useCallback(e=>R(e),[R]),onItemShiftTab:n.useCallback(()=>S(!0),[]),onFocusableItemAdd:n.useCallback(()=>D(e=>e+1),[]),onFocusableItemRemove:n.useCallback(()=>D(e=>e-1),[]),children:(0,j.jsx)(c.sG.div,{tabIndex:_||0===z?-1:0,"data-orientation":i,...y,ref:x,style:{outline:"none",...e.style},onMouseDown:(0,o.mK)(e.onMouseDown,()=>{I.current=!0}),onFocus:(0,o.mK)(e.onFocus,e=>{let t=!I.current;if(e.target===e.currentTarget&&t&&!_){let t=new CustomEvent(E,P);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){let e=A().filter(e=>e.focusable);B([e.find(e=>e.active),e.find(e=>e.id===C),...e].filter(Boolean).map(e=>e.ref.current),v)}}I.current=!1}),onBlur:(0,o.mK)(e.onBlur,()=>S(!1))})})},"RovingFocusGroupImpl")),F=n.forwardRef(_(function(e,t){let{__scopeRovingFocusGroup:r,focusable:i=!0,active:l=!1,tabStopId:a,children:s,...d}=e,f=(0,u.B)(),p=a||f,m=z("RovingFocusGroupItem",r),g=m.currentTabStopId===p,v=T(r),{onFocusableItemAdd:y,onFocusableItemRemove:b,currentTabStopId:x}=m,w=C();return(0,h.N)(()=>{if(w&&i)return y(),()=>b()},[w,i,y,b]),n.useEffect(()=>{if(!w&&i)return y(),()=>b()},[w,i,y,b]),(0,j.jsx)(S.ItemSlot,{scope:r,id:p,focusable:i,active:l,children:(0,j.jsx)(c.sG.span,{tabIndex:g?0:-1,"data-orientation":m.orientation,...d,ref:t,onMouseDown:(0,o.mK)(e.onMouseDown,e=>{i?m.onItemFocus(p):e.preventDefault()}),onFocus:(0,o.mK)(e.onFocus,()=>m.onItemFocus(p)),onKeyDown:(0,o.mK)(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey)return void m.onItemShiftTab();if(e.target!==e.currentTarget)return;let t=G(e,m.orientation,m.dir);if(void 0!==t){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let r=v().filter(e=>e.focusable).map(e=>e.ref.current);if("last"===t)r.reverse();else if("prev"===t||"next"===t){"prev"===t&&r.reverse();let n=r.indexOf(e.currentTarget);r=m.loop?U(r,n+1):r.slice(n+1)}setTimeout(()=>B(r))}}),children:"function"==typeof s?s({isCurrentTabStop:g,hasTabStop:null!=x}):s})})},"RovingFocusGroupItem")),N={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function K(e,t){return"rtl"!==t?e:"ArrowLeft"===e?"ArrowRight":"ArrowRight"===e?"ArrowLeft":e}function G(e,t,r){let n=K(e.key,r);if(!("vertical"===t&&["ArrowLeft","ArrowRight"].includes(n))&&!("horizontal"===t&&["ArrowUp","ArrowDown"].includes(n)))return N[n]}function B(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=document.activeElement;for(let n of e)if(n===r||(n.focus({preventScroll:t}),document.activeElement!==r))return}function U(e,t){return e.map((r,n)=>e[(t+n)%e.length])}_(K,"getDirectionAwareKey"),_(G,"getFocusIntent"),_(B,"focusFirst"),_(U,"wrapArray");var H=r(17312),q=Object.defineProperty,V=(e,t)=>q(e,"name",{value:t,configurable:!0}),W="Tabs",[X,Y]=(0,l.A)(W,[I]),$=I(),[J,Q]=X(W),Z=n.forwardRef(V(function(e,t){let{__scopeTabs:r,value:n,onValueChange:i,defaultValue:o,orientation:l="horizontal",dir:a,activationMode:s="automatic",...d}=e,h=(0,p.jH)(a),[m,g]=(0,f.i)({prop:n,onChange:i,defaultProp:null!=o?o:"",caller:W});return(0,j.jsx)(J,{scope:r,baseId:(0,u.B)(),value:m,onValueChange:g,orientation:l,dir:h,activationMode:s,children:(0,j.jsx)(c.sG.div,{dir:h,"data-orientation":l,...d,ref:t})})},"Tabs")),ee=n.forwardRef(V(function(e,t){let{__scopeTabs:r,loop:n=!0,...i}=e,o=Q("TabsList",r),l=$(r);return(0,j.jsx)(D,{asChild:!0,...l,orientation:o.orientation,dir:o.dir,loop:n,children:(0,j.jsx)(c.sG.div,{role:"tablist","aria-orientation":o.orientation,...i,ref:t})})},"TabsList")),et=n.forwardRef(V(function(e,t){let{__scopeTabs:r,value:n,disabled:i=!1,...l}=e,a=Q("TabsTrigger",r),s=$(r),u=en(a.baseId,n),d=ei(a.baseId,n),f=n===a.value;return(0,j.jsx)(F,{asChild:!0,...s,focusable:!i,active:f,children:(0,j.jsx)(c.sG.button,{type:"button",role:"tab","aria-selected":f,"aria-controls":d,"data-state":f?"active":"inactive","data-disabled":i?"":void 0,disabled:i,id:u,...l,ref:t,onMouseDown:(0,o.mK)(e.onMouseDown,e=>{i||0!==e.button||!1!==e.ctrlKey?e.preventDefault():a.onValueChange(n)}),onKeyDown:(0,o.mK)(e.onKeyDown,e=>{!i&&e.target===e.currentTarget&&[" ","Enter"].includes(e.key)&&a.onValueChange(n)}),onFocus:(0,o.mK)(e.onFocus,()=>{let e="manual"!==a.activationMode;f||i||!e||a.onValueChange(n)})})})},"TabsTrigger")),er=n.forwardRef(V(function(e,t){let{__scopeTabs:r,value:i,forceMount:o,children:l,...a}=e,s=Q("TabsContent",r),u=en(s.baseId,i),d=ei(s.baseId,i),f=i===s.value,p=n.useRef(f);return n.useEffect(()=>{let e=requestAnimationFrame(()=>p.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,j.jsx)(H.C,{present:o||f,children:r=>{let{present:n}=r;return(0,j.jsx)(c.sG.div,{"data-state":f?"active":"inactive","data-orientation":s.orientation,role:"tabpanel","aria-labelledby":u,hidden:!n,id:d,tabIndex:0,...a,ref:t,style:{...e.style,animationDuration:p.current?"0s":void 0},children:n&&l})}})},"TabsContent"));function en(e,t){return"".concat(e,"-trigger-").concat(t)}function ei(e,t){return"".concat(e,"-content-").concat(t)}V(en,"makeTriggerId"),V(ei,"makeContentId");var eo=Z,el=ee,ea=et,es=er},49791:(e,t,r)=>{r.d(t,{A:()=>o});var n=r(11977);let i={name:"link",size:24,node:[["path",{d:"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71",key:"1cjeqo"}],["path",{d:"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71",key:"19qd67"}]]};i.node;let o=(0,n.A)(i)},55542:(e,t,r)=>{r.d(t,{A:()=>o});var n=r(11977);let i={name:"chevrons-down",size:24,node:[["path",{d:"m7 6 5 5 5-5",key:"1lc07p"}],["path",{d:"m7 13 5 5 5-5",key:"1d48rs"}]]};i.node;let o=(0,n.A)(i)},59179:(e,t)=>{function r(e){let{widthInt:t,heightInt:r,blurWidth:n,blurHeight:i,blurDataURL:o,objectFit:l}=e,a=n?40*n:t,s=i?40*i:r,u=a&&s?"viewBox='0 0 "+a+" "+s+"'":"";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='"+(u?"none":"contain"===l?"xMidYMid":"cover"===l?"xMidYMid slice":"none")+"' style='filter: url(%23b);' href='"+o+"'/%3E%3C/svg%3E"}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImageBlurSvg",{enumerable:!0,get:function(){return r}})},59465:(e,t,r)=>{r.d(t,{A:()=>o});var n=r(11977);let i={name:"chevron-down",size:24,node:[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]};i.node;let o=(0,n.A)(i)},63914:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Image",{enumerable:!0,get:function(){return x}});let n=r(4420),i=r(71777),o=r(7893),l=i._(r(28081)),a=n._(r(63220)),s=n._(r(29091)),u=r(69538),c=r(46095),d=r(41853);r(47971);let f=r(0),p=n._(r(43970)),h=r(26865),m={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1};function g(e,t,r,n,i,o,l){let a=null==e?void 0:e.src;e&&e["data-loaded-src"]!==a&&(e["data-loaded-src"]=a,("decode"in e?e.decode():Promise.resolve()).catch(()=>{}).then(()=>{if(e.parentElement&&e.isConnected){if("empty"!==t&&i(!0),null==r?void 0:r.current){let t=new Event("load");Object.defineProperty(t,"target",{writable:!1,value:e});let n=!1,i=!1;r.current({...t,nativeEvent:t,currentTarget:e,target:e,isDefaultPrevented:()=>n,isPropagationStopped:()=>i,persist:()=>{},preventDefault:()=>{n=!0,t.preventDefault()},stopPropagation:()=>{i=!0,t.stopPropagation()}})}(null==n?void 0:n.current)&&n.current(e)}}))}function v(e){return l.use?{fetchPriority:e}:{fetchpriority:e}}let y=(0,l.forwardRef)((e,t)=>{let{src:r,srcSet:n,sizes:i,height:a,width:s,decoding:u,className:c,style:d,fetchPriority:f,placeholder:p,loading:m,unoptimized:y,fill:b,onLoadRef:x,onLoadingCompleteRef:w,setBlurComplete:C,setShowAltText:j,sizesInput:R,onLoad:_,onError:E,...P}=e,O=(0,l.useCallback)(e=>{e&&(E&&(e.src=e.src),e.complete&&g(e,p,x,w,C,y,R))},[r,p,x,w,C,E,y,R]),S=(0,h.useMergedRef)(t,O);return(0,o.jsx)("img",{...P,...v(f),loading:m,width:s,height:a,decoding:u,"data-nimg":b?"fill":"1",className:c,style:d,sizes:i,srcSet:n,src:r,ref:S,onLoad:e=>{g(e.currentTarget,p,x,w,C,y,R)},onError:e=>{j(!0),"empty"!==p&&C(!0),E&&E(e)}})});function b(e){let{isAppRouter:t,imgAttributes:r}=e,n={as:"image",imageSrcSet:r.srcSet,imageSizes:r.sizes,crossOrigin:r.crossOrigin,referrerPolicy:r.referrerPolicy,...v(r.fetchPriority)};return t&&a.default.preload?(a.default.preload(r.src,n),null):(0,o.jsx)(s.default,{children:(0,o.jsx)("link",{rel:"preload",href:r.srcSet?void 0:r.src,...n},"__nimg-"+r.src+r.srcSet+r.sizes)})}let x=(0,l.forwardRef)((e,t)=>{let r=(0,l.useContext)(f.RouterContext),n=(0,l.useContext)(d.ImageConfigContext),i=(0,l.useMemo)(()=>{var e;let t=m||n||c.imageConfigDefault,r=[...t.deviceSizes,...t.imageSizes].sort((e,t)=>e-t),i=t.deviceSizes.sort((e,t)=>e-t),o=null==(e=t.qualities)?void 0:e.sort((e,t)=>e-t);return{...t,allSizes:r,deviceSizes:i,qualities:o}},[n]),{onLoad:a,onLoadingComplete:s}=e,h=(0,l.useRef)(a);(0,l.useEffect)(()=>{h.current=a},[a]);let g=(0,l.useRef)(s);(0,l.useEffect)(()=>{g.current=s},[s]);let[v,x]=(0,l.useState)(!1),[w,C]=(0,l.useState)(!1),{props:j,meta:R}=(0,u.getImgProps)(e,{defaultLoader:p.default,imgConf:i,blurComplete:v,showAltText:w});return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(y,{...j,unoptimized:R.unoptimized,placeholder:R.placeholder,fill:R.fill,onLoadRef:h,onLoadingCompleteRef:g,setBlurComplete:x,setShowAltText:C,sizesInput:e.sizes,ref:t}),R.priority?(0,o.jsx)(b,{isAppRouter:!r,imgAttributes:j}):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)},69538:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImgProps",{enumerable:!0,get:function(){return s}}),r(47971);let n=r(59179),i=r(46095),o=["-moz-initial","fill","none","scale-down",void 0];function l(e){return void 0!==e.default}function a(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 s(e,t){var r,s;let u,c,d,{src:f,sizes:p,unoptimized:h=!1,priority:m=!1,loading:g,className:v,quality:y,width:b,height:x,fill:w=!1,style:C,overrideSrc:j,onLoad:R,onLoadingComplete:_,placeholder:E="empty",blurDataURL:P,fetchPriority:O,decoding:S="async",layout:T,objectFit:k,objectPosition:A,lazyBoundary:I,lazyRoot:M,...z}=e,{imgConf:D,showAltText:L,blurComplete:F,defaultLoader:N}=t,K=D||i.imageConfigDefault;if("allSizes"in K)u=K;else{let e=[...K.deviceSizes,...K.imageSizes].sort((e,t)=>e-t),t=K.deviceSizes.sort((e,t)=>e-t),n=null==(r=K.qualities)?void 0:r.sort((e,t)=>e-t);u={...K,allSizes:e,deviceSizes:t,qualities:n}}if(void 0===N)throw Object.defineProperty(Error("images.loaderFile detected but the file is missing default export.\nRead more: https://nextjs.org/docs/messages/invalid-images-config"),"__NEXT_ERROR_CODE",{value:"E163",enumerable:!1,configurable:!0});let G=z.loader||N;delete z.loader,delete z.srcSet;let B="__next_img_default"in G;if(B){if("custom"===u.loader)throw Object.defineProperty(Error('Image with src "'+f+'" is missing "loader" prop.\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader'),"__NEXT_ERROR_CODE",{value:"E252",enumerable:!1,configurable:!0})}else{let e=G;G=t=>{let{config:r,...n}=t;return e(n)}}if(T){"fill"===T&&(w=!0);let e={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[T];e&&(C={...C,...e});let t={responsive:"100vw",fill:"100vw"}[T];t&&!p&&(p=t)}let U="",H=a(b),q=a(x);if((s=f)&&"object"==typeof s&&(l(s)||void 0!==s.src)){let e=l(f)?f.default:f;if(!e.src)throw Object.defineProperty(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)),"__NEXT_ERROR_CODE",{value:"E460",enumerable:!1,configurable:!0});if(!e.height||!e.width)throw Object.defineProperty(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)),"__NEXT_ERROR_CODE",{value:"E48",enumerable:!1,configurable:!0});if(c=e.blurWidth,d=e.blurHeight,P=P||e.blurDataURL,U=e.src,!w)if(H||q){if(H&&!q){let t=H/e.width;q=Math.round(e.height*t)}else if(!H&&q){let t=q/e.height;H=Math.round(e.width*t)}}else H=e.width,q=e.height}let V=!m&&("lazy"===g||void 0===g);(!(f="string"==typeof f?f:U)||f.startsWith("data:")||f.startsWith("blob:"))&&(h=!0,V=!1),u.unoptimized&&(h=!0),B&&!u.dangerouslyAllowSVG&&f.split("?",1)[0].endsWith(".svg")&&(h=!0);let W=a(y),X=Object.assign(w?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:k,objectPosition:A}:{},L?{}:{color:"transparent"},C),Y=F||"empty"===E?null:"blur"===E?'url("data:image/svg+xml;charset=utf-8,'+(0,n.getImageBlurSvg)({widthInt:H,heightInt:q,blurWidth:c,blurHeight:d,blurDataURL:P||"",objectFit:X.objectFit})+'")':'url("'+E+'")',$=o.includes(X.objectFit)?"fill"===X.objectFit?"100% 100%":"cover":X.objectFit,J=Y?{backgroundSize:$,backgroundPosition:X.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:Y}:{},Q=function(e){let{config:t,src:r,unoptimized:n,width:i,quality:o,sizes:l,loader:a}=e;if(n)return{src:r,srcSet:void 0,sizes:void 0};let{widths:s,kind:u}=function(e,t,r){let{deviceSizes:n,allSizes:i}=e;if(r){let e=/(^|\s)(1?\d?\d)vw/g,t=[];for(let n;n=e.exec(r);)t.push(parseInt(n[2]));if(t.length){let e=.01*Math.min(...t);return{widths:i.filter(t=>t>=n[0]*e),kind:"w"}}return{widths:i,kind:"w"}}return"number"!=typeof t?{widths:n,kind:"w"}:{widths:[...new Set([t,2*t].map(e=>i.find(t=>t>=e)||i[i.length-1]))],kind:"x"}}(t,i,l),c=s.length-1;return{sizes:l||"w"!==u?l:"100vw",srcSet:s.map((e,n)=>a({config:t,src:r,quality:o,width:e})+" "+("w"===u?e:n+1)+u).join(", "),src:a({config:t,src:r,quality:o,width:s[c]})}}({config:u,src:f,unoptimized:h,width:H,quality:W,sizes:p,loader:G});return{props:{...z,loading:V?"lazy":g,fetchPriority:O,width:H,height:q,decoding:S,className:v,style:{...X,...J},sizes:Q.sizes,srcSet:Q.srcSet,src:j||Q.src},meta:{unoptimized:h,priority:m,placeholder:E,fill:w}}}},86060:(e,t,r)=>{r.d(t,{A:()=>o});var n=r(11977);let i={name:"tv-minimal-play",size:24,node:[["path",{d:"M15.033 9.44a.647.647 0 0 1 0 1.12l-4.065 2.352a.645.645 0 0 1-.968-.56V7.648a.645.645 0 0 1 .967-.56z",key:"vbtd3f"}],["path",{d:"M7 21h10",key:"1b0cd5"}],["rect",{width:"20",height:"14",x:"2",y:"3",rx:"2",key:"48i651"}]]};i.node;let o=(0,n.A)(i)},93992:(e,t,r)=>{function n(e,t,r){if(!t.has(e))throw TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}function i(e,t){var r=n(e,t,"get");return r.get?r.get.call(e):r.value}function o(e,t,r){var i=n(e,t,"set");if(i.set)i.set.call(e,r);else{if(!i.writable)throw TypeError("attempted to set read only private field");i.value=r}return r}r.d(t,{N:()=>m});var l,a,s=r(28081),u=r(25020),c=r(46988),d=r(85126),f=r(7893),p=Object.defineProperty,h=(e,t)=>p(e,"name",{value:t,configurable:!0});function m(e){let t=e+"CollectionProvider",[r,n]=(0,u.A)(t),[i,o]=r(t,{collectionRef:{current:null},itemMap:new Map}),l=h(e=>{let{scope:t,children:r}=e,n=s.useRef(null),o=s.useRef(new Map).current;return(0,f.jsx)(i,{scope:t,itemMap:o,collectionRef:n,children:r})},"CollectionProvider");l.displayName=t;let a=e+"CollectionSlot",p=(0,d.TL)(a),m=s.forwardRef((e,t)=>{let{scope:r,children:n}=e,i=o(a,r),l=(0,c.s)(t,i.collectionRef);return(0,f.jsx)(p,{ref:l,children:n})});m.displayName=a;let g=e+"CollectionItemSlot",v="data-radix-collection-item",y=(0,d.TL)(g),b=s.forwardRef((e,t)=>{let{scope:r,children:n,...i}=e,l=s.useRef(null),a=(0,c.s)(t,l),u=o(g,r);return s.useEffect(()=>(u.itemMap.set(l,{ref:l,...i}),()=>void u.itemMap.delete(l))),(0,f.jsx)(y,{...{[v]:""},ref:a,children:n})});function x(t){let r=o(e+"CollectionConsumer",t);return s.useCallback(()=>{let e=r.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll("[".concat(v,"]")));return Array.from(r.itemMap.values()).sort((e,r)=>t.indexOf(e.ref.current)-t.indexOf(r.ref.current))},[r.collectionRef,r.itemMap])}return b.displayName=g,h(x,"useCollection"),[{Provider:l,Slot:m,ItemSlot:b},x,n]}h(m,"createCollection");var g=new WeakMap,v=(l=new WeakMap,h(a=class e extends Map{set(e,t){return g.get(this)&&(this.has(e)?i(this,l)[i(this,l).indexOf(e)]=e:i(this,l).push(e)),super.set(e,t),this}insert(e,t,r){let n,o=this.has(t),a=i(this,l).length,s=x(e),u=s>=0?s:a+s,c=u<0||u>=a?-1:u;if(c===this.size||o&&c===this.size-1||-1===c)return this.set(t,r),this;let d=this.size+ +!o;s<0&&u++;let f=[...i(this,l)],p=!1;for(let e=u;e<d;e++)if(u===e){let i=f[e];f[e]===t&&(i=f[e+1]),o&&this.delete(t),n=this.get(i),this.set(t,r)}else{p||f[e-1]!==t||(p=!0);let r=f[p?e:e-1],i=n;n=this.get(r),this.delete(r),this.set(r,i)}return this}with(t,r,n){let i=new e(this);return i.insert(t,r,n),i}before(e){let t=i(this,l).indexOf(e)-1;if(!(t<0))return this.entryAt(t)}setBefore(e,t,r){let n=i(this,l).indexOf(e);return -1===n?this:this.insert(n,t,r)}after(e){let t=i(this,l).indexOf(e);if(-1!==(t=-1===t||t===this.size-1?-1:t+1))return this.entryAt(t)}setAfter(e,t,r){let n=i(this,l).indexOf(e);return -1===n?this:this.insert(n+1,t,r)}first(){return this.entryAt(0)}last(){return this.entryAt(-1)}clear(){return o(this,l,[]),super.clear()}delete(e){let t=super.delete(e);return t&&i(this,l).splice(i(this,l).indexOf(e),1),t}deleteAt(e){let t=this.keyAt(e);return void 0!==t&&this.delete(t)}at(e){let t=y(i(this,l),e);if(void 0!==t)return this.get(t)}entryAt(e){let t=y(i(this,l),e);if(void 0!==t)return[t,this.get(t)]}indexOf(e){return i(this,l).indexOf(e)}keyAt(e){return y(i(this,l),e)}from(e,t){let r=this.indexOf(e);if(-1===r)return;let n=r+t;return n<0&&(n=0),n>=this.size&&(n=this.size-1),this.at(n)}keyFrom(e,t){let r=this.indexOf(e);if(-1===r)return;let n=r+t;return n<0&&(n=0),n>=this.size&&(n=this.size-1),this.keyAt(n)}find(e,t){let r=0;for(let n of this){if(Reflect.apply(e,t,[n,r,this]))return n;r++}}findIndex(e,t){let r=0;for(let n of this){if(Reflect.apply(e,t,[n,r,this]))return r;r++}return -1}filter(t,r){let n=[],i=0;for(let e of this)Reflect.apply(t,r,[e,i,this])&&n.push(e),i++;return new e(n)}map(t,r){let n=[],i=0;for(let e of this)n.push([e[0],Reflect.apply(t,r,[e,i,this])]),i++;return new e(n)}reduce(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];let[n,i]=t,o=0,l=null!=i?i:this.at(0);for(let e of this)l=0===o&&1===t.length?e:Reflect.apply(n,this,[l,e,o,this]),o++;return l}reduceRight(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];let[n,i]=t,o=null!=i?i:this.at(-1);for(let e=this.size-1;e>=0;e--){let r=this.at(e);o=e===this.size-1&&1===t.length?r:Reflect.apply(n,this,[o,r,e,this])}return o}toSorted(t){return new e([...this.entries()].sort(t))}toReversed(){let t=new e;for(let e=this.size-1;e>=0;e--){let r=this.keyAt(e),n=this.get(r);t.set(r,n)}return t}toSpliced(){for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];let i=[...this.entries()];return i.splice(...r),new e(i)}slice(t,r){let n=new e,i=this.size-1;if(void 0===t)return n;t<0&&(t+=this.size),void 0!==r&&r>0&&(i=r-1);for(let e=t;e<=i;e++){let t=this.keyAt(e),r=this.get(t);n.set(t,r)}return n}every(e,t){let r=0;for(let n of this){if(!Reflect.apply(e,t,[n,r,this]))return!1;r++}return!0}some(e,t){let r=0;for(let n of this){if(Reflect.apply(e,t,[n,r,this]))return!0;r++}return!1}constructor(e){super(e),function(e,t,r){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object");t.set(e,r)}(this,l,{writable:!0,value:void 0}),o(this,l,[...super.keys()]),g.set(this,!0)}},"OrderedDict"),a);function y(e,t){if("at"in Array.prototype)return Array.prototype.at.call(e,t);let r=b(e,t);return -1===r?void 0:e[r]}function b(e,t){let r=e.length,n=x(t),i=n>=0?n:r+n;return i<0||i>=r?-1:i}function x(e){return e!=e||0===e?0:Math.trunc(e)}function w(e,t){if(e===t)return!0;if("object"!=typeof e||"object"!=typeof t||null==e||null==t)return!1;let r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(let n of r)if(!Object.prototype.hasOwnProperty.call(t,n)||e[n]!==t[n])return!1;return!0}function C(e,t){return!!(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_PRECEDING)}function j(e,t){return e[1].element&&t[1].element?C(e[1].element,t[1].element)?-1:1:0}function R(e){return new MutationObserver(t=>{for(let r of t)if("childList"===r.type)return void e()})}h(y,"at"),h(b,"toSafeIndex"),h(x,"toSafeInteger"),h(function(e){let t=e+"CollectionProvider",[r,n]=(0,u.A)(t),[i,o]=r(t,{collectionElement:null,collectionRef:{current:null},collectionRefObject:{current:null},itemMap:new v,setItemMap:h(()=>void 0,"setItemMap")}),l=h(e=>{let{state:t,...r}=e;return t?(0,f.jsx)(p,{...r,state:t}):(0,f.jsx)(a,{...r})},"CollectionProvider");l.displayName=t;let a=h(e=>{let t=_();return(0,f.jsx)(p,{...e,state:t})},"CollectionInit");a.displayName=t+"Init";let p=h(e=>{let{scope:t,children:r,state:n}=e,o=s.useRef(null),[l,a]=s.useState(null),u=(0,c.s)(o,a),[d,p]=n;return s.useEffect(()=>{if(!l)return;let e=R(()=>{});return e.observe(l,{childList:!0,subtree:!0}),()=>{e.disconnect()}},[l]),(0,f.jsx)(i,{scope:t,itemMap:d,setItemMap:p,collectionRef:u,collectionRefObject:o,collectionElement:l,children:r})},"CollectionProviderImpl");p.displayName=t+"Impl";let m=e+"CollectionSlot",g=(0,d.TL)(m),y=s.forwardRef((e,t)=>{let{scope:r,children:n}=e,i=o(m,r),l=(0,c.s)(t,i.collectionRef);return(0,f.jsx)(g,{ref:l,children:n})});y.displayName=m;let b=e+"CollectionItemSlot",x=(0,d.TL)(b),C=s.forwardRef((e,t)=>{let{scope:r,children:n,...i}=e,l=s.useRef(null),[a,u]=s.useState(null),d=(0,c.s)(t,l,u),{setItemMap:p}=o(b,r),h=s.useRef(i);w(h.current,i)||(h.current=i);let m=h.current;return s.useEffect(()=>(p(e=>a?e.has(a)?e.set(a,{...m,element:a}).toSorted(j):(e.set(a,{...m,element:a}),e.toSorted(j)):e),()=>{p(e=>a&&e.has(a)?(e.delete(a),new v(e)):e)}),[a,m,p]),(0,f.jsx)(x,{"data-radix-collection-item":"",ref:d,children:n})});function _(){return s.useState(new v)}function E(t){let{itemMap:r}=o(e+"CollectionConsumer",t);return r}return C.displayName=b,h(_,"useInitCollection"),h(E,"useCollection"),[{Provider:l,Slot:y,ItemSlot:C},{createCollectionScope:n,useCollection:E,useInitCollection:_}]},"createCollection"),h(w,"shallowEqual"),h(C,"isElementPreceding"),h(j,"sortByDocumentPosition"),h(R,"getChildListObserver")}}]);
|
package/.next/static/chunks/app/(developers)/api/docs/[slug]/asset/[id]/route-4386cdbb154d9e82.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3857],{14931:(e,t,l)=>{Promise.resolve().then(l.bind(l,39485)),Promise.resolve().then(l.bind(l,65629))},39485:(e,t,l)=>{"use strict";l.d(t,{LucideProvider:()=>n,useLucideContext:()=>o});var r=l(28081);let i=(0,r.createContext)({});function n(e){let{children:t,size:l,color:n,strokeWidth:o,absoluteStrokeWidth:s,nonScalingStroke:u,className:a}=e,h=(0,r.useMemo)(()=>({size:l,color:n,strokeWidth:o,absoluteStrokeWidth:s,nonScalingStroke:u,className:a}),[l,n,o,s,u,a]);return(0,r.createElement)(i.Provider,{value:h},t)}let o=()=>(0,r.useContext)(i)},65629:(e,t,l)=>{"use strict";l.r(t),l.d(t,{default:()=>s});var r=l(28081);let i=function(){for(var e=arguments.length,t=Array(e),l=0;l<e;l++)t[l]=arguments[l];return t.filter((e,t,l)=>!!e&&""!==e.trim()&&l.indexOf(e)===t).join(" ").trim()},n={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"};var o=l(39485);let s=(0,r.forwardRef)((e,t)=>{var l,s,u;let{color:a,size:h,width:c,height:d,strokeWidth:k,absoluteStrokeWidth:w,nonScalingStroke:f,className:m="",children:v,iconNode:g=[],icon:b={node:g,aliases:[],size:24},...p}=e,{size:N=24,strokeWidth:z=2,absoluteStrokeWidth:C=!1,nonScalingStroke:S=!1,color:W="currentColor",className:x=""}=null!=(l=(0,o.useLucideContext)())?l:{},E=!!v||(e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0;return!1})(p),[y,P,_=[]]=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(e){var t,l,r,o,s,u,a,h,c,d,k,w,f,m,v;let g=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},b=null!=(r=g.attributeNames)?r:{},p=e=>{var t;return null!=(t=b[e])?t:e},N=null!=(s=null!=(o=e.size)?o:e.width)?s:n.width,z=null!=(a=null!=(u=e.size)?u:e.height)?a:n.height,C=null!=(h=null==(t=e.aliases)?void 0:t.filter(e=>"string"==typeof e&&""!==e.trim()).map(e=>"lucide-".concat(e)))?h:[],S=[...e.name?["lucide-".concat(e.name)]:[],...C],W=null!=(c=null==(l=g.className)?void 0:l.split(" ").filter(Boolean))?c:[],x=!1===g.includeDefaultClasses?i(...W):i("lucide",...S,...W),E=g.absoluteStrokeWidth?Number(null!=(d=g.strokeWidth)?d:n["stroke-width"])*Number(null!=(w=null!=(k=e.size)?k:e.width)?w:n.width)/Number(null!=(m=null!=(f=g.size)?f:g.width)?m:n.width):null!=(v=g.strokeWidth)?v:n["stroke-width"];return["svg",{...Object.entries(n).reduce((e,t)=>{let[l,r]=t;return e[p(l)]=r,e},{}),..."color"in g&&g.color&&{[p("stroke")]:g.color},..."size"in g&&null!=g.size&&{[p("width")]:g.size,[p("height")]:g.size},..."width"in g&&null!=g.width&&{[p("width")]:g.width},..."height"in g&&null!=g.height&&{[p("height")]:g.height},[p("stroke-width")]:E,...x&&{[p("class")]:x},[p("viewBox")]:"0 0 ".concat(N," ").concat(z),...!1===g.hasA11yProp?{[p("aria-hidden")]:"true"}:{},..."attributes"in g&&g.attributes},e.node.map(e=>{let[t,l,r]=e,i=g.nonScalingStroke?{[p("vector-effect")]:"non-scaling-stroke",...l}:l;return r?[t,i,r]:[t,i]})]}(e,{...t,attributeNames:{...t.attributeNames,class:"className","stroke-width":"strokeWidth","stroke-linecap":"strokeLinecap","stroke-linejoin":"strokeLinejoin","vector-effect":"vectorEffect"}})}(b,{color:null!=a?a:W,width:null!=(s=null!=c?c:h)?s:N,height:null!=(u=null!=d?d:h)?u:N,strokeWidth:null!=k?k:z,absoluteStrokeWidth:null!=w?w:C,nonScalingStroke:null!=f?f:S,className:i(x,m),hasA11yProp:E,attributes:p});return(0,r.createElement)(y,{ref:t,...P},[..._.map(e=>{let[t,l]=e;return(0,r.createElement)(t,l)}),...Array.isArray(v)?v:[v]])})}},e=>{e.O(0,[7411,9029,7358],()=>e(e.s=14931)),_N_E=e.O()}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3871,4968,8003,8905],{79807:(e,s,n)=>{Promise.resolve().then(n.bind(n,1273)),Promise.resolve().then(n.bind(n,39485)),Promise.resolve().then(n.bind(n,65629)),Promise.resolve().then(n.bind(n,26260)),Promise.resolve().then(n.bind(n,33020)),Promise.resolve().then(n.t.bind(n,19957,23)),Promise.resolve().then(n.t.bind(n,63914,23)),Promise.resolve().then(n.bind(n,83457)),Promise.resolve().then(n.bind(n,72103)),Promise.resolve().then(n.bind(n,18526)),Promise.resolve().then(n.bind(n,80123)),Promise.resolve().then(n.bind(n,12585)),Promise.resolve().then(n.bind(n,44064)),Promise.resolve().then(n.bind(n,78890)),Promise.resolve().then(n.bind(n,92014)),Promise.resolve().then(n.bind(n,41736)),Promise.resolve().then(n.bind(n,55242)),Promise.resolve().then(n.bind(n,28139)),Promise.resolve().then(n.bind(n,39389)),Promise.resolve().then(n.bind(n,96090))}},e=>{e.O(0,[7138,9957,524,1598,4093,8237,6717,7411,9029,7358],()=>e(e.s=79807)),_N_E=e.O()}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3871,4968,8003,8905],{79807:(e,s,n)=>{Promise.resolve().then(n.bind(n,1273)),Promise.resolve().then(n.bind(n,39485)),Promise.resolve().then(n.bind(n,65629)),Promise.resolve().then(n.bind(n,26260)),Promise.resolve().then(n.bind(n,33020)),Promise.resolve().then(n.t.bind(n,19957,23)),Promise.resolve().then(n.t.bind(n,63914,23)),Promise.resolve().then(n.bind(n,83457)),Promise.resolve().then(n.bind(n,72103)),Promise.resolve().then(n.bind(n,18526)),Promise.resolve().then(n.bind(n,80123)),Promise.resolve().then(n.bind(n,12585)),Promise.resolve().then(n.bind(n,44064)),Promise.resolve().then(n.bind(n,78890)),Promise.resolve().then(n.bind(n,92014)),Promise.resolve().then(n.bind(n,41736)),Promise.resolve().then(n.bind(n,55242)),Promise.resolve().then(n.bind(n,28139)),Promise.resolve().then(n.bind(n,39389)),Promise.resolve().then(n.bind(n,96090))}},e=>{e.O(0,[7138,9957,524,1598,4093,8237,6717,7411,9029,7358],()=>e(e.s=79807)),_N_E=e.O()}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3871,4968,8003,8905],{79807:(e,s,n)=>{Promise.resolve().then(n.bind(n,1273)),Promise.resolve().then(n.bind(n,39485)),Promise.resolve().then(n.bind(n,65629)),Promise.resolve().then(n.bind(n,26260)),Promise.resolve().then(n.bind(n,33020)),Promise.resolve().then(n.t.bind(n,19957,23)),Promise.resolve().then(n.t.bind(n,63914,23)),Promise.resolve().then(n.bind(n,83457)),Promise.resolve().then(n.bind(n,72103)),Promise.resolve().then(n.bind(n,18526)),Promise.resolve().then(n.bind(n,80123)),Promise.resolve().then(n.bind(n,12585)),Promise.resolve().then(n.bind(n,44064)),Promise.resolve().then(n.bind(n,78890)),Promise.resolve().then(n.bind(n,92014)),Promise.resolve().then(n.bind(n,41736)),Promise.resolve().then(n.bind(n,55242)),Promise.resolve().then(n.bind(n,28139)),Promise.resolve().then(n.bind(n,39389)),Promise.resolve().then(n.bind(n,96090))}},e=>{e.O(0,[7138,9957,524,1598,4093,8237,6717,7411,9029,7358],()=>e(e.s=79807)),_N_E=e.O()}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1969],{26260:(e,t,r)=>{"use strict";r.d(t,{default:()=>c});var n=r(19957),u=r(28081),o=r(60524),i=r(80454),a=r(7893);function l(e){let{curLocale:t,linkRef:r,locale:u,localeCookie:o,onClick:l,prefetch:c,...s}=e;return(0,a.jsx)(n,{ref:r,hrefLang:u,onClick:function(e){(0,i.A)(o,t,u),l&&l(e)},prefetch:!1,...s})}var c=(0,u.forwardRef)(function(e,t){let{locale:r,localeCookie:u,...i}=e,c=(0,o.Ym)();return null!=r&&r!==c?(0,a.jsx)(l,{curLocale:c,linkRef:t,locale:r,localeCookie:u,...i}):(0,a.jsx)(n,{ref:t,...i})})},41574:(e,t,r)=>{"use strict";var n=r(95706);r.o(n,"permanentRedirect")&&r.d(t,{permanentRedirect:function(){return n.permanentRedirect}}),r.o(n,"redirect")&&r.d(t,{redirect:function(){return n.redirect}}),r.o(n,"useParams")&&r.d(t,{useParams:function(){return n.useParams}}),r.o(n,"usePathname")&&r.d(t,{usePathname:function(){return n.usePathname}}),r.o(n,"useRouter")&&r.d(t,{useRouter:function(){return n.useRouter}}),r.o(n,"useSearchParams")&&r.d(t,{useSearchParams:function(){return n.useSearchParams}})},50021:(e,t,r)=>{"use strict";r.d(t,{default:()=>o});var n=r(28081),u=r(41574);function o(){let e=(0,u.useRouter)();return(0,n.useEffect)(()=>{let t=new WebSocket("ws://localhost:3100");return t.onmessage=t=>{"refresh"===t.data&&(console.log("\uD83D\uDD04 File change detected, refreshing data..."),e.refresh())},t.onerror=()=>console.log("WS Watcher not running."),()=>t.close()},[]),null}},63406:(e,t,r)=>{"use strict";r.d(t,{DT:()=>c,FP:()=>a,TK:()=>o,Zn:()=>i,aM:()=>l,x3:()=>s});var n=r(81285),u=r(16298);function o(e){return"string"==typeof e?{pathname:e}:e}function i(e){let t=new URLSearchParams;for(let[r,n]of Object.entries(e))Array.isArray(n)?n.forEach(e=>{t.append(r,String(e))}):t.set(r,String(n));return"?"+t.toString()}function a({pathname:e,locale:t,params:r,pathnames:u,query:o}){function a(e){let a,l=u[e];return l?(a=(0,n.Wl)(l,t,e),r&&Object.entries(r).forEach(([e,t])=>{let r,n;Array.isArray(t)?(r=`(\\[)?\\[...${e}\\](\\])?`,n=t.map(e=>String(e)).join("/")):(r=`\\[${e}\\]`,n=String(t)),a=a.replace(RegExp(r,"g"),()=>n)}),a=new URL(a=a.replace(/\[\[\.\.\..+\]\]/g,""),"http://l").pathname):a=e,a=(0,n.po)(a),o&&(a+=i(o)),a}if("string"==typeof e)return a(e);{let{pathname:t,...r}=e;return{...r,pathname:a(t)}}}function l(e,t,r){let u=(0,n.FD)(Object.keys(r)),o=decodeURI(t);for(let t of u){let u=r[t];if("string"==typeof u){if((0,n.ql)(u,o))return t}else if((0,n.ql)((0,n.Wl)(u,e,t),o))return t}return t}function c(){try{return u.env._next_intl_base_path||""}catch{return""}}function s(e,t,r,u){let o,{mode:i}=r.localePrefix;if(void 0!==u)o=u;else if((0,n._x)(e)){let e=r.domains?.find(e=>e.locales.includes(t)),n=e?.localePrefix||i;"always"===n?o=!0:"as-needed"===n&&(o=e?t!==e.defaultLocale:t!==r.defaultLocale)}return o?(0,n.PJ)((0,n.XP)(t,r.localePrefix),e):e}},69947:(e,t,r)=>{Promise.resolve().then(r.bind(r,26260)),Promise.resolve().then(r.bind(r,50021))},80454:(e,t,r)=>{"use strict";r.d(t,{A:()=>u});var n=r(63406);function u(e,t,r){if(!e||r===t||null==r)return;let{name:u,...o}=e;o.path||(o.path=(0,n.DT)()||"/");let i=`${u}=${r};`;for(let[e,t]of Object.entries(o))i+=`${"maxAge"===e?"max-age":e}`,"boolean"!=typeof t&&(i+="="+t),i+=";";document.cookie=i}},81285:(e,t,r)=>{"use strict";r.d(t,{FD:()=>P,MY:()=>o,PJ:()=>i,Wl:()=>l,XP:()=>f,_x:()=>u,bL:()=>p,po:()=>c,ql:()=>s,wO:()=>a,yL:()=>x});var n=r(16298);function u(e){return("object"==typeof e?null==e.host&&null==e.hostname:!/^[a-z]+:/i.test(e))&&!function(e){let t="object"==typeof e?e.pathname:e;return null!=t&&!t.startsWith("/")}(e)}function o(e,t){return e.replace(RegExp(`^${t}`),"")||"/"}function i(e,t){let r=e;return/^\/(\?.*)?$/.test(t)&&(t=t.slice(1)),r+=t}function a(e,t){return t===e||t.startsWith(`${e}/`)}function l(e,t,r){return"string"==typeof e?e:e[t]||r}function c(e){let t=function(){try{return"true"===n.env._next_intl_trailing_slash}catch{return!1}}(),[r,...u]=e.split("#"),o=u.join("#"),i=r;if("/"!==i){let e=i.endsWith("/");t&&!e?i+="/":!t&&e&&(i=i.slice(0,-1))}return o&&(i+="#"+o),i}function s(e,t){let r=c(e),n=c(t);return(function(e){let t=e.replace(/\/\[\[(\.\.\.[^\]]+)\]\]/g,"(?:/(.*))?").replace(/\[\[(\.\.\.[^\]]+)\]\]/g,"(?:/(.*))?").replace(/\[(\.\.\.[^\]]+)\]/g,"(.+)").replace(/\[([^\]]+)\]/g,"([^/]+)");return RegExp(`^${t}$`)})(r).test(n)}function f(e,t){return"never"!==t.mode&&t.prefixes?.[e]||p(e)}function p(e){return"/"+e}function h(e){return e.includes("[[...")}function d(e){return e.includes("[...")}function m(e){return e.includes("[")}function g(e,t){let r=e.split("/"),n=t.split("/"),u=Math.max(r.length,n.length);for(let e=0;e<u;e++){let t=r[e],u=n[e];if(!t&&u)return -1;if(t&&!u)return 1;if(t||u){if(!m(t)&&m(u))return -1;if(m(t)&&!m(u))return 1;if(!d(t)&&d(u))return -1;if(d(t)&&!d(u))return 1;if(!h(t)&&h(u))return -1;if(h(t)&&!h(u))return 1}}return 0}function P(e){return e.sort(g)}function x(e){return"function"==typeof e.then}}},e=>{e.O(0,[9957,524,7411,9029,7358],()=>e(e.s=69947)),_N_E=e.O()}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4044],{16924:(e,r,t)=>{"use strict";t.d(r,{A:()=>f});var s=t(7893),n=t(41574),a=t(79880),i=t(11977);let o={name:"file-question-mark",size:24,node:[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M12 17h.01",key:"p32p05"}],["path",{d:"M9.1 9a3 3 0 0 1 5.82 1c0 2-3 3-3 3",key:"mhlwft"}]],aliases:["file-question"]};o.node;let c=(0,i.A)(o);var d=t(74827),u=t(82601),l=t(17789),h=t(37040);function m(e){let{project:r,returnTo:t}=e,n=(0,a.c)("DocsPageError");return(0,s.jsxs)("div",{className:"flex min-h-dvh flex-col items-center justify-center gap-4 p-4 pb-[min(25vh,16rem)]",children:[(0,s.jsx)(c,{className:"size-32 sm:size-44",strokeWidth:1.5}),(0,s.jsx)("h1",{className:"my-2 text-3xl text-primary sm:text-5xl",children:n("title")}),(0,s.jsx)("p",{className:"w-3/4 text-center text-secondary sm:w-full",children:n("desc")}),(0,s.jsx)("p",{className:"w-3/4 text-center text-secondary sm:w-full",children:n("suggestion")}),(0,s.jsxs)("div",{className:"mt-4 inline-flex gap-4",children:[(null==r?void 0:r.source_repo)&&(0,s.jsx)(u.$,{variant:"secondary",asChild:!0,children:(0,s.jsxs)(h.k,{href:r.source_repo,target:"_blank",children:[(0,s.jsx)(l.A,{className:"mr-2 h-4 w-4"}),n("submit")]})}),(0,s.jsx)(u.$,{asChild:!0,children:(0,s.jsxs)(h.k,{href:null!=t?t:"/",children:[(0,s.jsx)(d.A,{className:"mr-2 h-4 w-4",strokeWidth:2.5}),n("return")]})})]})]})}function f(e){let{returnSuffix:r}=e,t=(0,n.useParams)();return(0,s.jsx)(m,{returnTo:"/".concat(t.locale,"/project/").concat(t.slug,"/").concat(t.version).concat(null!=r?r:"")})}},17789:(e,r,t)=>{"use strict";t.d(r,{A:()=>n});var s=t(7893);function n(e){let{width:r,height:t,className:n}=e;return(0,s.jsxs)("svg",{role:"img",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",width:r,height:t,className:n,children:[(0,s.jsx)("title",{children:"GitHub"}),(0,s.jsx)("path",{fill:"currentColor",d:"M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"})]})}},30607:(e,r,t)=>{"use strict";t.r(r),t.d(r,{default:()=>i});var s=t(7893),n=t(28081),a=t(16924);function i(e){let{error:r}=e;return(0,n.useEffect)(()=>console.error(r),[r]),(0,s.jsx)(a.A,{returnSuffix:"/content"})}},37040:(e,r,t)=>{"use strict";t.d(r,{k:()=>o});var s=t(7893),n=t(28081),a=t(19957),i=t.n(a);let o=(0,n.forwardRef)(function(e,r){let{prefetch:t=!1,...n}=e;return(0,s.jsx)(i(),{prefetch:t,...n,ref:r})})},41574:(e,r,t)=>{"use strict";var s=t(95706);t.o(s,"permanentRedirect")&&t.d(r,{permanentRedirect:function(){return s.permanentRedirect}}),t.o(s,"redirect")&&t.d(r,{redirect:function(){return s.redirect}}),t.o(s,"useParams")&&t.d(r,{useParams:function(){return s.useParams}}),t.o(s,"usePathname")&&t.d(r,{usePathname:function(){return s.usePathname}}),t.o(s,"useRouter")&&t.d(r,{useRouter:function(){return s.useRouter}}),t.o(s,"useSearchParams")&&t.d(r,{useSearchParams:function(){return s.useSearchParams}})},63352:(e,r,t)=>{Promise.resolve().then(t.bind(t,30607))},74827:(e,r,t)=>{"use strict";t.d(r,{A:()=>a});var s=t(11977);let n={name:"house",size:24,node:[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"r6nss1"}]],aliases:["home"]};n.node;let a=(0,s.A)(n)},79880:(e,r,t)=>{"use strict";t.d(r,{c:()=>a});var s=t(60524);function n(e,r){return(...e)=>{try{return r(...e)}catch{throw Error(void 0)}}}let a=n(0,s.c3);n(0,s.kc)},82601:(e,r,t)=>{"use strict";t.d(r,{$:()=>d});var s=t(7893),n=t(28081),a=t(85126),i=t(8295),o=t(95745);let c=(0,i.F)("inline-flex items-center justify-center rounded-sm text-sm font-medium whitespace-nowrap ring-offset-background transition-colors focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:outline-hidden disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"border border-primary bg-primary text-primary hover:bg-secondary/90",destructive:"border border-destructive/70 bg-primary bg-secondary font-semibold text-destructive hover:bg-secondary/80 hover:text-destructive/90 data-[pending=true]:text-destructive/90",destructiveSecondary:"bg-destructive text-white hover:text-white/90",outline:"border-tertiary hover:text-primary-alt border bg-primary hover:bg-secondary",secondary:"text-secondary-alt bg-secondary hover:bg-secondary/80",ghost:"hover:text-primary-alt hover:bg-secondary",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-sm px-3",lg:"h-11 rounded-sm px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),d=n.forwardRef((e,r)=>{let{className:t,variant:n,size:i,asChild:d=!1,...u}=e,l=d?a.DX:"button";return(0,s.jsx)(l,{className:(0,o.cn)(c({variant:n,size:i,className:t})),ref:r,...u})});d.displayName="Button"},95745:(e,r,t)=>{"use strict";t.d(r,{cn:()=>a});var s=t(3135),n=t(96915);function a(){for(var e=arguments.length,r=Array(e),t=0;t<e;t++)r[t]=arguments[t];return(0,n.QP)((0,s.$)(r))}}},e=>{e.O(0,[9957,524,1598,7411,9029,7358],()=>e(e.s=63352)),_N_E=e.O()}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1166,2834,5014,5260],{32133:(e,r,t)=>{Promise.resolve().then(t.bind(t,62499))},37040:(e,r,t)=>{"use strict";t.d(r,{k:()=>o});var a=t(7893),s=t(28081),n=t(19957),i=t.n(n);let o=(0,s.forwardRef)(function(e,r){let{prefetch:t=!1,...s}=e;return(0,a.jsx)(i(),{prefetch:t,...s,ref:r})})},41574:(e,r,t)=>{"use strict";var a=t(95706);t.o(a,"permanentRedirect")&&t.d(r,{permanentRedirect:function(){return a.permanentRedirect}}),t.o(a,"redirect")&&t.d(r,{redirect:function(){return a.redirect}}),t.o(a,"useParams")&&t.d(r,{useParams:function(){return a.useParams}}),t.o(a,"usePathname")&&t.d(r,{usePathname:function(){return a.usePathname}}),t.o(a,"useRouter")&&t.d(r,{useRouter:function(){return a.useRouter}}),t.o(a,"useSearchParams")&&t.d(r,{useSearchParams:function(){return a.useSearchParams}})},62499:(e,r,t)=>{"use strict";t.d(r,{default:()=>h});var a=t(7893),s=t(41574),n=t(79880),i=t(11977);let o={name:"telescope",size:24,node:[["path",{d:"m10.065 12.493-6.18 1.318a.934.934 0 0 1-1.108-.702l-.537-2.15a1.07 1.07 0 0 1 .691-1.265l13.504-4.44",key:"k4qptu"}],["path",{d:"m13.56 11.747 4.332-.924",key:"19l80z"}],["path",{d:"m16 21-3.105-6.21",key:"7oh9d"}],["path",{d:"M16.485 5.94a2 2 0 0 1 1.455-2.425l1.09-.272a1 1 0 0 1 1.212.727l1.515 6.06a1 1 0 0 1-.727 1.213l-1.09.272a2 2 0 0 1-2.425-1.455z",key:"m7xp4m"}],["path",{d:"m6.158 8.633 1.114 4.456",key:"74o979"}],["path",{d:"m8 21 3.105-6.21",key:"1fvxut"}],["circle",{cx:"12",cy:"13",r:"2",key:"1c1ljs"}]]};o.node;let c=(0,i.A)(o);var d=t(74827),u=t(82601),l=t(37040);function m(e){let{returnTo:r}=e,t=(0,n.c)("DocsPageNotFound");return(0,a.jsxs)("div",{className:"flex min-h-dvh flex-col items-center justify-center gap-4 p-4 pb-[min(25vh,16rem)]",children:[(0,a.jsx)(c,{className:"size-32 rounded-xs opacity-100 sm:size-36"}),(0,a.jsx)("h1",{className:"my-2 text-3xl text-primary sm:text-5xl",children:t("title")}),(0,a.jsx)("p",{className:"w-3/4 text-center text-secondary sm:w-full",children:t("desc")}),(0,a.jsx)(u.$,{asChild:!0,className:"mt-4",children:(0,a.jsxs)(l.k,{href:null!=r?r:"/",children:[(0,a.jsx)(d.A,{className:"mr-2 h-4 w-4",strokeWidth:2.5}),t("return")]})})]})}function h(e){let{returnSuffix:r}=e,t=(0,s.useParams)();return(0,a.jsx)(m,{returnTo:"/".concat(t.locale,"/project/").concat(t.slug,"/").concat(t.version).concat(null!=r?r:"")})}},74827:(e,r,t)=>{"use strict";t.d(r,{A:()=>n});var a=t(11977);let s={name:"house",size:24,node:[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"r6nss1"}]],aliases:["home"]};s.node;let n=(0,a.A)(s)},79880:(e,r,t)=>{"use strict";t.d(r,{c:()=>n});var a=t(60524);function s(e,r){return(...e)=>{try{return r(...e)}catch{throw Error(void 0)}}}let n=s(0,a.c3);s(0,a.kc)},82601:(e,r,t)=>{"use strict";t.d(r,{$:()=>d});var a=t(7893),s=t(28081),n=t(85126),i=t(8295),o=t(95745);let c=(0,i.F)("inline-flex items-center justify-center rounded-sm text-sm font-medium whitespace-nowrap ring-offset-background transition-colors focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:outline-hidden disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"border border-primary bg-primary text-primary hover:bg-secondary/90",destructive:"border border-destructive/70 bg-primary bg-secondary font-semibold text-destructive hover:bg-secondary/80 hover:text-destructive/90 data-[pending=true]:text-destructive/90",destructiveSecondary:"bg-destructive text-white hover:text-white/90",outline:"border-tertiary hover:text-primary-alt border bg-primary hover:bg-secondary",secondary:"text-secondary-alt bg-secondary hover:bg-secondary/80",ghost:"hover:text-primary-alt hover:bg-secondary",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-sm px-3",lg:"h-11 rounded-sm px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),d=s.forwardRef((e,r)=>{let{className:t,variant:s,size:i,asChild:d=!1,...u}=e,l=d?n.DX:"button";return(0,a.jsx)(l,{className:(0,o.cn)(c({variant:s,size:i,className:t})),ref:r,...u})});d.displayName="Button"},95745:(e,r,t)=>{"use strict";t.d(r,{cn:()=>n});var a=t(3135),s=t(96915);function n(){for(var e=arguments.length,r=Array(e),t=0;t<e;t++)r[t]=arguments[t];return(0,s.QP)((0,a.$)(r))}}},e=>{e.O(0,[9957,524,1598,7411,9029,7358],()=>e(e.s=32133)),_N_E=e.O()}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2571],{1469:(e,t,r)=>{"use strict";r.d(t,{A:()=>f});var s=r(2938),a=r(59871),n=r(60285),l=r(16298);let o={getBackendEndpointUrl:function(){let e=l.env.NEXT_PUBLIC_BACKEND_SERVICE_URL;return(0,n.no)("NEXT_PUBLIC_BACKEND_SERVICE_URL",e)},getBuiltinAssetSource:function(){return"https://r2.sinytra.org/"},getAssetsBaseURL:function(){var e;return null!=(e=l.env.NEXT_PUBLIC_ASSETS_BASE_URL)?e:null}},i={getAssetResource:function(e){var t;let r=null!=(t=o.getAssetsBaseURL())?t:o.getBuiltinAssetSource();if(!r)return null;let n=new URL(r);n.pathname+="/.assets/"+e.namespace+"/"+e.path+(e.path.includes(".")?"":".png");let l=(0,a.A)(n.toString());return null===l?null:{id:s.A.toString(e),src:l}}};var c=r(3192),d=r(48902);function m(e,t){return"locale"==e?c.Ay.actualLocale(t):"version"==e?function(e){return e==d.j4?null:e}(t):t}let p={constructAssetsUrl:function(e,t){var r;let s=null!=(r=o.getAssetsBaseURL())?r:o.getBackendEndpointUrl(),a=(0,n.cT)(t,m);return"".concat(s,"/api/v1/").concat(e,"?").concat(a)}};function h(e,t,r){if(!r||t.namespace===s.o){let t=e.includes("/")?e:function(e){let t=s.A.parse(e);return t?s.A.toString({namespace:t.namespace,path:"item/"+t.path}):e}(e),r=s.A.parse(t);return r?i.getAssetResource(r):null}return null}function u(e,t){let{id:r,version:s}=t,a=p.constructAssetsUrl("docs/".concat(r,"/asset/").concat(e),{version:s});return{id:e,src:a}}let f={getRemoteAsset:function(e,t){let r=s.A.parse(e);if(!r)return null;let a=h(e,r,t);return null!=a?a:u(e,t)},getBuiltinAsset:h,getRemoteAssetURL:u,getRemoteItemAssetURL:function(e,t){let{id:r,version:s}=t,a=p.constructAssetsUrl("docs/".concat(r,"/asset-item/").concat(e),{version:s});return{id:e,src:a}}}},24495:(e,t,r)=>{"use strict";r.d(t,{default:()=>m});var s=r(7893),a=r(28081),n=r(39389),l=r(72421),o=r(95745),i=r(1469);let c="\n(function() {\n const script = document.currentScript;\n\n const root = script?.parentElement;\n const list = root?.querySelector('[data-tabs-list]');\n if (!root || !list) {\n return;\n }\n\n const collapsed = list.scrollHeight > ".concat(128,";\n\n root.toggleAttribute('data-collapsed', collapsed);\n list.toggleAttribute('inert', collapsed);\n})();\n");function d(e){let{tab:t,ctx:r}=e;if(!t.display[0])return null;let a=t.display[0],n=i.A.getRemoteAsset(a,r);return n?(0,s.jsx)("img",{className:"mr-1 inline-block",src:n.src,alt:n.id,width:24,height:24}):null}function m(e){let{tabs:t,ctx:r,children:i}=e,m=(0,a.useRef)(null),p=(0,a.useRef)(null),[h,u]=(0,a.useState)("0"),f=t[Number(h)];return(0,a.useLayoutEffect)(()=>{let e=m.current,t=p.current;if(!e||!t)return;let r=()=>{let r=t.scrollHeight>128;e.toggleAttribute("data-collapsed",r),t.toggleAttribute("inert",r)};r();let s=new ResizeObserver(()=>r());return s.observe(t),()=>s.disconnect()},[]),(0,s.jsxs)(n.Tabs,{value:h,onValueChange:u,children:[(0,s.jsxs)("div",{ref:m,className:"group/tabs",suppressHydrationWarning:!0,children:[(0,s.jsx)("div",{className:"group-data-collapsed/tabs:h-0 group-data-collapsed/tabs:overflow-hidden",children:(0,s.jsx)(n.TabsList,{ref:p,"data-tabs-list":!0,suppressHydrationWarning:!0,className:"flex h-auto flex-wrap bg-transparent",children:t.map((e,t)=>(0,s.jsx)(n.TabsTrigger,{value:t.toString(),className:(0,o.cn)("h-fit rounded-none border-b-2 border-transparent bg-transparent text-xsm","hover:text-primary data-[state=active]:border-inverse data-[state=active]:bg-transparent"),children:e.name},t))})}),(0,s.jsx)("script",{children:c}),(0,s.jsx)("div",{className:"hidden group-data-collapsed/tabs:block",children:(0,s.jsxs)(l.l6,{value:h,onValueChange:u,children:[(0,s.jsx)(l.bq,{centered:!0,className:"h-8 w-full rounded-sm border-none bg-transparent py-0 hover:bg-secondary [&>span]:text-xsm",children:(0,s.jsx)(l.yv,{children:f&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(d,{tab:f,ctx:r})," ",f.name]})})}),(0,s.jsx)(l.gC,{children:t.map((e,t)=>(0,s.jsxs)(l.eb,{value:t.toString(),className:"py-1 [&>span]:text-xsm",children:[(0,s.jsx)(d,{tab:e,ctx:r})," ",e.name]},t))})]})})]}),(0,s.jsx)("hr",{className:"my-1"}),i]})}},44431:(e,t,r)=>{"use strict";r.d(t,{default:()=>o});var s=r(7893),a=r(28081),n=r(96090),l=r(95745);function o(e){let{title:t,className:r,children:o}=e,[i,c]=(0,a.useState)(!1);return(0,s.jsxs)("div",{className:(0,l.cn)(r,"w-full rounded-sm border border-tertiary"),children:[(0,s.jsxs)("button",{className:"inline-flex w-full items-center justify-between bg-secondary p-2",onClick:()=>c(!i),children:[(0,s.jsx)("span",{className:"font-medium",children:t}),(0,s.jsx)(n.default,{active:i})]}),i&&(0,s.jsx)("div",{className:"rounded-sm bg-primary-alt p-4",children:o})]})}},48902:(e,t,r)=>{"use strict";r.d(t,{Xn:()=>a,j4:()=>s});let s="latest",a="en"},59871:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let s=(e,t)=>t.some(t=>t instanceof RegExp?t.test(e):t===e),a=new Set(["https:","http:","file:"]);function n(e,t){if("string"!=typeof(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,removeExplicitPort:!1,sortQueryParameters:!0,removePath:!1,transformPath:!1,...t}).defaultProtocol||t.defaultProtocol.endsWith(":")||(t.defaultProtocol=`${t.defaultProtocol}:`),e=e.trim(),/^data:/i.test(e))return((e,{stripHash:t})=>{let r=/^data:(?<type>[^,]*?),(?<data>[^#]*?)(?:#(?<hash>.*))?$/.exec(e);if(!r)throw Error(`Invalid URL: ${e}`);let{type:s,data:a,hash:n}=r.groups,l=s.split(";"),o="base64"===l.at(-1);o&&l.pop();let i=l.shift()?.toLowerCase()??"",c=[...l.map(e=>{let[t,r=""]=e.split("=").map(e=>e.trim());return"charset"===t&&"us-ascii"===(r=r.toLowerCase())?"":`${t}${r?`=${r}`:""}`}).filter(Boolean)];o&&c.push("base64"),(c.length>0||i&&"text/plain"!==i)&&c.unshift(i);let d=t||!n?"":`#${n}`;return`data:${c.join(";")},${o?a.trim():a}${d}`})(e,t);if((e=>{try{let{protocol:t}=new URL(e);return t.endsWith(":")&&!t.includes(".")&&!a.has(t)}catch{return!1}})(e))return e;let r=e.startsWith("//");!r&&/^\.*\//.test(e)||(e=e.replace(/^(?!(?:\w+:)?\/\/)|^\/\//,t.defaultProtocol));let n=new URL(e);if(t.forceHttp&&t.forceHttps)throw Error("The `forceHttp` and `forceHttps` options cannot be used together");if(t.forceHttp&&"https:"===n.protocol&&(n.protocol="http:"),t.forceHttps&&"http:"===n.protocol&&(n.protocol="https:"),t.stripAuthentication&&(n.username="",n.password=""),t.stripHash?n.hash="":t.stripTextFragment&&(n.hash=n.hash.replace(/#?:~:text.*?$/i,"")),n.pathname){let e=/\b[a-z][a-z\d+\-.]{1,50}:\/\//g,t=0,r="";for(;;){let s=e.exec(n.pathname);if(!s)break;let a=s[0],l=s.index;r+=n.pathname.slice(t,l).replace(/\/{2,}/g,"/"),r+=a,t=l+a.length}r+=n.pathname.slice(t,n.pathname.length).replace(/\/{2,}/g,"/"),n.pathname=r}if(n.pathname)try{n.pathname=decodeURI(n.pathname).replace(/\\/g,"%5C")}catch{}if(!0===t.removeDirectoryIndex&&(t.removeDirectoryIndex=[/^index\.[a-z]+$/]),Array.isArray(t.removeDirectoryIndex)&&t.removeDirectoryIndex.length>0){let e=n.pathname.split("/").filter(Boolean),r=e.at(-1);r&&s(r,t.removeDirectoryIndex)&&(e.pop(),n.pathname=e.length>0?`/${e.join("/")}/`:"/")}if(t.removePath&&(n.pathname="/"),t.transformPath&&"function"==typeof t.transformPath){let e=n.pathname.split("/").filter(Boolean),r=t.transformPath(e);n.pathname=r?.length>0?`/${r.join("/")}`:"/"}if(n.hostname&&(n.hostname=n.hostname.replace(/\.$/,""),t.stripWWW&&/^www\.(?!www\.)[a-z\-\d]{1,63}\.[a-z.\-\d]{2,63}$/.test(n.hostname)&&(n.hostname=n.hostname.replace(/^www\./,""))),Array.isArray(t.removeQueryParameters))for(let e of[...n.searchParams.keys()])s(e,t.removeQueryParameters)&&n.searchParams.delete(e);if(Array.isArray(t.keepQueryParameters)||!0!==t.removeQueryParameters||(n.search=""),Array.isArray(t.keepQueryParameters)&&t.keepQueryParameters.length>0)for(let e of[...n.searchParams.keys()])s(e,t.keepQueryParameters)||n.searchParams.delete(e);if(t.sortQueryParameters){let e=n.search;n.searchParams.sort();try{n.search=decodeURIComponent(n.search)}catch{}for(let t of e.slice(1).split("&").filter(e=>e&&!e.includes("="))){let e=decodeURIComponent(t);n.search=n.search.replace(`?${e}=`,`?${e}`).replace(`&${e}=`,`&${e}`)}}t.removeTrailingSlash&&(n.pathname=n.pathname.replace(/\/$/,"")),t.removeExplicitPort&&n.port&&(n.port="");let l=e;return e=n.toString(),t.removeSingleSlash||"/"!==n.pathname||l.endsWith("/")||""!==n.hash||(e=e.replace(/\/$/,"")),(t.removeTrailingSlash||"/"===n.pathname)&&""===n.hash&&t.removeSingleSlash&&(e=e.replace(/\/$/,"")),r&&!t.normalizeProtocol&&(e=e.replace(/^http:\/\//,"//")),t.stripProtocol&&(e=e.replace(/^(?:https?:)?\/\//,"")),e}},60997:(e,t,r)=>{Promise.resolve().then(r.bind(r,1273)),Promise.resolve().then(r.bind(r,39485)),Promise.resolve().then(r.bind(r,65629)),Promise.resolve().then(r.bind(r,26260)),Promise.resolve().then(r.bind(r,33020)),Promise.resolve().then(r.t.bind(r,19957,23)),Promise.resolve().then(r.t.bind(r,63914,23)),Promise.resolve().then(r.bind(r,83457)),Promise.resolve().then(r.bind(r,44431)),Promise.resolve().then(r.bind(r,27260)),Promise.resolve().then(r.bind(r,72103)),Promise.resolve().then(r.bind(r,18526)),Promise.resolve().then(r.bind(r,80123)),Promise.resolve().then(r.bind(r,12585)),Promise.resolve().then(r.bind(r,24246)),Promise.resolve().then(r.bind(r,44064)),Promise.resolve().then(r.bind(r,78890)),Promise.resolve().then(r.bind(r,92014)),Promise.resolve().then(r.bind(r,77139)),Promise.resolve().then(r.bind(r,24495)),Promise.resolve().then(r.bind(r,24989)),Promise.resolve().then(r.bind(r,93656)),Promise.resolve().then(r.bind(r,75450)),Promise.resolve().then(r.bind(r,41736)),Promise.resolve().then(r.bind(r,87257)),Promise.resolve().then(r.bind(r,55242)),Promise.resolve().then(r.bind(r,28139)),Promise.resolve().then(r.bind(r,39389)),Promise.resolve().then(r.bind(r,20826)),Promise.resolve().then(r.bind(r,96090))},72421:(e,t,r)=>{"use strict";r.d(t,{bq:()=>p,eb:()=>x,gC:()=>f,l6:()=>d,yv:()=>m});var s=r(7893),a=r(28081),n=r(97461),l=r(59465),o=r(59730),i=r(52151),c=r(95745);let d=n.bL;n.YJ;let m=a.forwardRef((e,t)=>{let{placeholder:r,children:a,...l}=e;return(0,s.jsx)(n.WT,{ref:t,placeholder:(0,s.jsx)("span",{className:"text-secondary",children:r}),...l,children:a})});m.displayName=n.WT.displayName;let p=a.forwardRef((e,t)=>{let{className:r,centered:a,children:o,...i}=e;return(0,s.jsxs)(n.l9,{ref:t,className:(0,c.cn)("border-tertiary bg-primary-alt relative flex h-10 w-full items-center justify-between rounded-sm border px-3 py-2 text-left text-sm ring-offset-background placeholder:text-secondary focus:outline-hidden disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",r,a&&"justify-center px-6 whitespace-nowrap [&>span]:text-ellipsis"),...i,children:[o,(0,s.jsx)(n.In,{asChild:!0,children:(0,s.jsx)(l.A,{className:(0,c.cn)("h-4 w-4 opacity-50",a&&"absolute top-1/2 right-2.5 -translate-y-1/2")})})]})});p.displayName=n.l9.displayName;let h=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,s.jsx)(n.PP,{ref:t,className:(0,c.cn)("flex cursor-default items-center justify-center py-1",r),...a,children:(0,s.jsx)(o.A,{className:"h-4 w-4"})})});h.displayName=n.PP.displayName;let u=a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,s.jsx)(n.wn,{ref:t,className:(0,c.cn)("flex cursor-default items-center justify-center py-1",r),...a,children:(0,s.jsx)(l.A,{className:"h-4 w-4"})})});u.displayName=n.wn.displayName;let f=a.forwardRef((e,t)=>{let{className:r,children:a,position:l="popper",...o}=e;return(0,s.jsx)(n.ZL,{children:(0,s.jsxs)(n.UC,{ref:t,className:(0,c.cn)("border-tertiary bg-primary-alt text-primary-alt relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-md border shadow-md data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95","popper"===l&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",r),position:l,...o,children:[(0,s.jsx)(h,{}),(0,s.jsx)(n.LM,{className:(0,c.cn)("p-1","popper"===l&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:a}),(0,s.jsx)(u,{})]})})});f.displayName=n.UC.displayName,a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,s.jsx)(n.JU,{ref:t,className:(0,c.cn)("py-1.5 pr-2 pl-8 text-sm font-semibold",r),...a})}).displayName=n.JU.displayName;let x=a.forwardRef((e,t)=>{let{className:r,children:a,...l}=e;return(0,s.jsxs)(n.q7,{ref:t,className:(0,c.cn)("focus:text-primary-alt relative flex w-full cursor-default items-center rounded-xs py-1.5 pr-2 pl-8 text-sm outline-hidden select-none focus:bg-secondary data-disabled:pointer-events-none data-disabled:opacity-50",r),...l,children:[(0,s.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,s.jsx)(n.VF,{children:(0,s.jsx)(i.A,{className:"h-4 w-4"})})}),(0,s.jsx)(n.p4,{children:a})]})});x.displayName=n.q7.displayName,a.forwardRef((e,t)=>{let{className:r,...a}=e;return(0,s.jsx)(n.wv,{ref:t,className:(0,c.cn)("bg-primary-alt -mx-1 my-1 h-px",r),...a})}).displayName=n.wv.displayName},75450:(e,t,r)=>{"use strict";r.d(t,{default:()=>o});var s=r(7893),a=r(28081),n=r(96090),l=r(95745);function o(e){let{name:t,defaultOpen:r,className:o,children:i}=e,[c,d]=(0,a.useState)(r);return(0,s.jsx)("tr",{children:(0,s.jsx)("td",{children:(0,s.jsxs)("div",{className:"mb-0! w-full border-separate [&_td]:border-none",children:[(0,s.jsxs)("div",{className:"flex w-full cursor-pointer flex-row items-center rounded-sm border-none bg-primary-alt p-1.5 px-2 select-none hover:bg-secondary/50",onClick:()=>d(!c),"data-state":c?"open":"closed",children:[(0,s.jsx)("div",{className:"mx-auto flex w-full justify-center text-center font-medium",children:t}),(0,s.jsx)("div",{className:"w-8",children:(0,s.jsx)(n.default,{className:"ml-auto h-4 w-4",active:c})})]}),c&&(0,s.jsx)("div",{className:(0,l.cn)(o,"mt-2 flex w-full flex-col rounded-md"),children:i})]})})})}},77139:(e,t,r)=>{"use strict";r.d(t,{default:()=>n});var s=r(7893),a=r(76365);function n(e){let{headings:t}=e;return(0,s.jsx)(a.A,{headings:t,type:"left",className:"hidden wide-layout:block wide-layout:w-80",solid:!0})}}},e=>{e.O(0,[7138,5369,9957,524,1598,4093,8237,2622,3926,6717,1585,7411,9029,7358],()=>e(e.s=60997)),_N_E=e.O()}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3652],{37040:(e,r,t)=>{"use strict";t.d(r,{k:()=>o});var s=t(7893),a=t(28081),n=t(19957),i=t.n(n);let o=(0,a.forwardRef)(function(e,r){let{prefetch:t=!1,...a}=e;return(0,s.jsx)(i(),{prefetch:t,...a,ref:r})})},41574:(e,r,t)=>{"use strict";var s=t(95706);t.o(s,"permanentRedirect")&&t.d(r,{permanentRedirect:function(){return s.permanentRedirect}}),t.o(s,"redirect")&&t.d(r,{redirect:function(){return s.redirect}}),t.o(s,"useParams")&&t.d(r,{useParams:function(){return s.useParams}}),t.o(s,"usePathname")&&t.d(r,{usePathname:function(){return s.usePathname}}),t.o(s,"useRouter")&&t.d(r,{useRouter:function(){return s.useRouter}}),t.o(s,"useSearchParams")&&t.d(r,{useSearchParams:function(){return s.useSearchParams}})},62499:(e,r,t)=>{"use strict";t.d(r,{default:()=>h});var s=t(7893),a=t(41574),n=t(79880),i=t(11977);let o={name:"telescope",size:24,node:[["path",{d:"m10.065 12.493-6.18 1.318a.934.934 0 0 1-1.108-.702l-.537-2.15a1.07 1.07 0 0 1 .691-1.265l13.504-4.44",key:"k4qptu"}],["path",{d:"m13.56 11.747 4.332-.924",key:"19l80z"}],["path",{d:"m16 21-3.105-6.21",key:"7oh9d"}],["path",{d:"M16.485 5.94a2 2 0 0 1 1.455-2.425l1.09-.272a1 1 0 0 1 1.212.727l1.515 6.06a1 1 0 0 1-.727 1.213l-1.09.272a2 2 0 0 1-2.425-1.455z",key:"m7xp4m"}],["path",{d:"m6.158 8.633 1.114 4.456",key:"74o979"}],["path",{d:"m8 21 3.105-6.21",key:"1fvxut"}],["circle",{cx:"12",cy:"13",r:"2",key:"1c1ljs"}]]};o.node;let c=(0,i.A)(o);var d=t(74827),u=t(82601),l=t(37040);function m(e){let{returnTo:r}=e,t=(0,n.c)("DocsPageNotFound");return(0,s.jsxs)("div",{className:"flex min-h-dvh flex-col items-center justify-center gap-4 p-4 pb-[min(25vh,16rem)]",children:[(0,s.jsx)(c,{className:"size-32 rounded-xs opacity-100 sm:size-36"}),(0,s.jsx)("h1",{className:"my-2 text-3xl text-primary sm:text-5xl",children:t("title")}),(0,s.jsx)("p",{className:"w-3/4 text-center text-secondary sm:w-full",children:t("desc")}),(0,s.jsx)(u.$,{asChild:!0,className:"mt-4",children:(0,s.jsxs)(l.k,{href:null!=r?r:"/",children:[(0,s.jsx)(d.A,{className:"mr-2 h-4 w-4",strokeWidth:2.5}),t("return")]})})]})}function h(e){let{returnSuffix:r}=e,t=(0,a.useParams)();return(0,s.jsx)(m,{returnTo:"/".concat(t.locale,"/project/").concat(t.slug,"/").concat(t.version).concat(null!=r?r:"")})}},74720:(e,r,t)=>{Promise.resolve().then(t.bind(t,78177))},74827:(e,r,t)=>{"use strict";t.d(r,{A:()=>n});var s=t(11977);let a={name:"house",size:24,node:[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"r6nss1"}]],aliases:["home"]};a.node;let n=(0,s.A)(a)},78177:(e,r,t)=>{"use strict";t.r(r),t.d(r,{default:()=>i});var s=t(7893),a=t(28081),n=t(62499);function i(e){let{error:r}=e;return(0,a.useEffect)(()=>console.error(r),[r]),(0,s.jsx)(n.default,{})}},79880:(e,r,t)=>{"use strict";t.d(r,{c:()=>n});var s=t(60524);function a(e,r){return(...e)=>{try{return r(...e)}catch{throw Error(void 0)}}}let n=a(0,s.c3);a(0,s.kc)},82601:(e,r,t)=>{"use strict";t.d(r,{$:()=>d});var s=t(7893),a=t(28081),n=t(85126),i=t(8295),o=t(95745);let c=(0,i.F)("inline-flex items-center justify-center rounded-sm text-sm font-medium whitespace-nowrap ring-offset-background transition-colors focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:outline-hidden disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"border border-primary bg-primary text-primary hover:bg-secondary/90",destructive:"border border-destructive/70 bg-primary bg-secondary font-semibold text-destructive hover:bg-secondary/80 hover:text-destructive/90 data-[pending=true]:text-destructive/90",destructiveSecondary:"bg-destructive text-white hover:text-white/90",outline:"border-tertiary hover:text-primary-alt border bg-primary hover:bg-secondary",secondary:"text-secondary-alt bg-secondary hover:bg-secondary/80",ghost:"hover:text-primary-alt hover:bg-secondary",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-sm px-3",lg:"h-11 rounded-sm px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),d=a.forwardRef((e,r)=>{let{className:t,variant:a,size:i,asChild:d=!1,...u}=e,l=d?n.DX:"button";return(0,s.jsx)(l,{className:(0,o.cn)(c({variant:a,size:i,className:t})),ref:r,...u})});d.displayName="Button"},95745:(e,r,t)=>{"use strict";t.d(r,{cn:()=>n});var s=t(3135),a=t(96915);function n(){for(var e=arguments.length,r=Array(e),t=0;t<e;t++)r[t]=arguments[t];return(0,a.QP)((0,s.$)(r))}}},e=>{e.O(0,[9957,524,1598,7411,9029,7358],()=>e(e.s=74720)),_N_E=e.O()}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1166,2834,5014,5260],{32133:(e,r,t)=>{Promise.resolve().then(t.bind(t,62499))},37040:(e,r,t)=>{"use strict";t.d(r,{k:()=>o});var a=t(7893),s=t(28081),n=t(19957),i=t.n(n);let o=(0,s.forwardRef)(function(e,r){let{prefetch:t=!1,...s}=e;return(0,a.jsx)(i(),{prefetch:t,...s,ref:r})})},41574:(e,r,t)=>{"use strict";var a=t(95706);t.o(a,"permanentRedirect")&&t.d(r,{permanentRedirect:function(){return a.permanentRedirect}}),t.o(a,"redirect")&&t.d(r,{redirect:function(){return a.redirect}}),t.o(a,"useParams")&&t.d(r,{useParams:function(){return a.useParams}}),t.o(a,"usePathname")&&t.d(r,{usePathname:function(){return a.usePathname}}),t.o(a,"useRouter")&&t.d(r,{useRouter:function(){return a.useRouter}}),t.o(a,"useSearchParams")&&t.d(r,{useSearchParams:function(){return a.useSearchParams}})},62499:(e,r,t)=>{"use strict";t.d(r,{default:()=>h});var a=t(7893),s=t(41574),n=t(79880),i=t(11977);let o={name:"telescope",size:24,node:[["path",{d:"m10.065 12.493-6.18 1.318a.934.934 0 0 1-1.108-.702l-.537-2.15a1.07 1.07 0 0 1 .691-1.265l13.504-4.44",key:"k4qptu"}],["path",{d:"m13.56 11.747 4.332-.924",key:"19l80z"}],["path",{d:"m16 21-3.105-6.21",key:"7oh9d"}],["path",{d:"M16.485 5.94a2 2 0 0 1 1.455-2.425l1.09-.272a1 1 0 0 1 1.212.727l1.515 6.06a1 1 0 0 1-.727 1.213l-1.09.272a2 2 0 0 1-2.425-1.455z",key:"m7xp4m"}],["path",{d:"m6.158 8.633 1.114 4.456",key:"74o979"}],["path",{d:"m8 21 3.105-6.21",key:"1fvxut"}],["circle",{cx:"12",cy:"13",r:"2",key:"1c1ljs"}]]};o.node;let c=(0,i.A)(o);var d=t(74827),u=t(82601),l=t(37040);function m(e){let{returnTo:r}=e,t=(0,n.c)("DocsPageNotFound");return(0,a.jsxs)("div",{className:"flex min-h-dvh flex-col items-center justify-center gap-4 p-4 pb-[min(25vh,16rem)]",children:[(0,a.jsx)(c,{className:"size-32 rounded-xs opacity-100 sm:size-36"}),(0,a.jsx)("h1",{className:"my-2 text-3xl text-primary sm:text-5xl",children:t("title")}),(0,a.jsx)("p",{className:"w-3/4 text-center text-secondary sm:w-full",children:t("desc")}),(0,a.jsx)(u.$,{asChild:!0,className:"mt-4",children:(0,a.jsxs)(l.k,{href:null!=r?r:"/",children:[(0,a.jsx)(d.A,{className:"mr-2 h-4 w-4",strokeWidth:2.5}),t("return")]})})]})}function h(e){let{returnSuffix:r}=e,t=(0,s.useParams)();return(0,a.jsx)(m,{returnTo:"/".concat(t.locale,"/project/").concat(t.slug,"/").concat(t.version).concat(null!=r?r:"")})}},74827:(e,r,t)=>{"use strict";t.d(r,{A:()=>n});var a=t(11977);let s={name:"house",size:24,node:[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"r6nss1"}]],aliases:["home"]};s.node;let n=(0,a.A)(s)},79880:(e,r,t)=>{"use strict";t.d(r,{c:()=>n});var a=t(60524);function s(e,r){return(...e)=>{try{return r(...e)}catch{throw Error(void 0)}}}let n=s(0,a.c3);s(0,a.kc)},82601:(e,r,t)=>{"use strict";t.d(r,{$:()=>d});var a=t(7893),s=t(28081),n=t(85126),i=t(8295),o=t(95745);let c=(0,i.F)("inline-flex items-center justify-center rounded-sm text-sm font-medium whitespace-nowrap ring-offset-background transition-colors focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:outline-hidden disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"border border-primary bg-primary text-primary hover:bg-secondary/90",destructive:"border border-destructive/70 bg-primary bg-secondary font-semibold text-destructive hover:bg-secondary/80 hover:text-destructive/90 data-[pending=true]:text-destructive/90",destructiveSecondary:"bg-destructive text-white hover:text-white/90",outline:"border-tertiary hover:text-primary-alt border bg-primary hover:bg-secondary",secondary:"text-secondary-alt bg-secondary hover:bg-secondary/80",ghost:"hover:text-primary-alt hover:bg-secondary",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-sm px-3",lg:"h-11 rounded-sm px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),d=s.forwardRef((e,r)=>{let{className:t,variant:s,size:i,asChild:d=!1,...u}=e,l=d?n.DX:"button";return(0,a.jsx)(l,{className:(0,o.cn)(c({variant:s,size:i,className:t})),ref:r,...u})});d.displayName="Button"},95745:(e,r,t)=>{"use strict";t.d(r,{cn:()=>n});var a=t(3135),s=t(96915);function n(){for(var e=arguments.length,r=Array(e),t=0;t<e;t++)r[t]=arguments[t];return(0,s.QP)((0,a.$)(r))}}},e=>{e.O(0,[9957,524,1598,7411,9029,7358],()=>e(e.s=32133)),_N_E=e.O()}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1235],{80215:(e,s,n)=>{Promise.resolve().then(n.bind(n,1273)),Promise.resolve().then(n.bind(n,39485)),Promise.resolve().then(n.bind(n,65629)),Promise.resolve().then(n.bind(n,26260)),Promise.resolve().then(n.bind(n,33020)),Promise.resolve().then(n.t.bind(n,19957,23)),Promise.resolve().then(n.t.bind(n,63914,23)),Promise.resolve().then(n.bind(n,83457)),Promise.resolve().then(n.bind(n,72103)),Promise.resolve().then(n.bind(n,18526)),Promise.resolve().then(n.bind(n,80123)),Promise.resolve().then(n.bind(n,12585)),Promise.resolve().then(n.bind(n,44064)),Promise.resolve().then(n.bind(n,78890)),Promise.resolve().then(n.bind(n,92014)),Promise.resolve().then(n.bind(n,41736)),Promise.resolve().then(n.bind(n,87257)),Promise.resolve().then(n.bind(n,55242)),Promise.resolve().then(n.bind(n,28139)),Promise.resolve().then(n.bind(n,39389)),Promise.resolve().then(n.bind(n,96090))}},e=>{e.O(0,[7138,9957,524,1598,4093,8237,6717,7411,9029,7358],()=>e(e.s=80215)),_N_E=e.O()}]);
|