@sinytra/wiki-previewer 0.1.113 → 0.1.115
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 +40 -39
- package/.next/app-path-routes-manifest.json +2 -2
- package/.next/build-manifest.json +2 -2
- package/.next/prerender-manifest.json +19 -19
- package/.next/server/app/(developers)/api/docs/[slug]/asset/[id]/route_client-reference-manifest.js +1 -1
- package/.next/server/app/[locale]/(main)/project/[slug]/[version]/content/[id]/page.js +2 -2
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- 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]/page.js +1 -1
- 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 +1 -1
- 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_client-reference-manifest.js +1 -1
- package/.next/server/app/_not-found.html +2 -2
- package/.next/server/app/_not-found.rsc +2 -2
- package/.next/server/app/opengraph-image/route_client-reference-manifest.js +1 -1
- package/.next/server/app/robots.txt/route_client-reference-manifest.js +1 -1
- package/.next/server/app/sitemap.xml/route_client-reference-manifest.js +1 -1
- package/.next/server/app-paths-manifest.json +2 -2
- package/.next/server/chunks/177.js +1 -1
- package/.next/server/chunks/2337.js +1 -0
- package/.next/server/chunks/2744.js +1 -1
- package/.next/server/chunks/4510.js +1 -0
- package/.next/server/chunks/{4471.js → 7707.js} +2 -2
- package/.next/server/chunks/{3999.js → 7781.js} +2 -2
- 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/static/chunks/2124-df062eb31fe11c5d.js +1 -0
- package/.next/static/chunks/4425-96ba570f5d33c132.js +1 -0
- package/.next/static/chunks/595-54e3fd782ef53c18.js +1 -0
- package/.next/static/chunks/8616-5b19a69bdb5404cf.js +1 -0
- package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/content/[id]/page-9ef33853f8158cdd.js +1 -0
- package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/docs/[...path]/page-6ca2ad1ab7d721c3.js +1 -0
- package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/docs/page-7cae71bc802d1314.js +1 -0
- package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/layout-84fb2a34569578d4.js +1 -0
- package/.next/static/chunks/app/[locale]/{layout-607fb3570f758fcf.js → layout-15866ddd5dedf3b2.js} +1 -1
- package/.next/static/css/0cade3faa049b2e9.css +1 -0
- package/package.json +1 -1
- package/.next/server/chunks/3040.js +0 -1
- package/.next/static/chunks/1147-8ed692aeadda111f.js +0 -1
- package/.next/static/chunks/4536-b2658d4e93fb12b4.js +0 -1
- package/.next/static/chunks/4874-3e09f112ef80ea5d.js +0 -1
- package/.next/static/chunks/595-cf5d990ad2ea8d1a.js +0 -1
- package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/content/[id]/page-f917d61dfe842550.js +0 -1
- package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/docs/[...path]/page-e96ff6c62d9c7f0e.js +0 -1
- package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/docs/page-61b026af43fa6493.js +0 -1
- package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/layout-2d40733903300974.js +0 -1
- package/.next/static/css/292ace91b735b152.css +0 -1
- /package/.next/static/{InP_oo14OdOd9yLMgqv6u → pi-uZfzqwaSehEbQs-l2a}/_buildManifest.js +0 -0
- /package/.next/static/{InP_oo14OdOd9yLMgqv6u → pi-uZfzqwaSehEbQs-l2a}/_ssgManifest.js +0 -0
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
exports.id=3040,exports.ids=[3040],exports.modules={6444:(a,b,c)=>{"use strict";c.d(b,{default:()=>e});var d=c(45580);function e({main:a,history:b}){return"history"==(0,d.useSearchParams)().get("tab")&&b?b:a}},8039:(a,b,c)=>{"use strict";c.d(b,{default:()=>j});var d=c(67258),e=c(88183),f=c(96144),g=c(72138),h=c(42525),i=c(79615);function j(){let[a,b]=(0,e.ZA)("tab"),c=(0,i.c)("DocsEntryTabs"),j=async a=>{await b(a),window.scrollTo(0,0)};return(0,d.jsx)("div",{className:"flex h-full flex-col items-center justify-center",children:"history"===a?(0,d.jsx)(h.$,{title:c("home"),variant:"ghost",size:"icon",className:"size-8",onClick:()=>j("home"),children:(0,d.jsx)(f.A,{className:"size-4"})}):(0,d.jsx)(h.$,{title:c("history"),variant:"ghost",size:"icon",className:"size-8",onClick:()=>j("history"),children:(0,d.jsx)(g.A,{className:"size-4"})})})}},16274:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(9968).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/Wiki/Wiki/build/previewer/src/components/docs/layout/DocsResponsiveHeader.tsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/Wiki/Wiki/build/previewer/src/components/docs/layout/DocsResponsiveHeader.tsx","default")},23057:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>f});var d=c(67258);c(83459);var e=c(76739);function f({error:a}){return(0,d.jsx)(e.default,{})}},23332:(a,b,c)=>{"use strict";c.d(b,{default:()=>i});var d=c(67258),e=c(83459),f=c(43029),g=c(46763),h=c(79615);function i({headings:a}){let b=(0,h.c)("DocsNonContentRightSidebar"),[c,i]=(0,e.useState)(""),[j,k]=(0,e.useState)(!1),[l,m]=(0,e.useState)(!1),n=(0,e.useRef)(null);return(0,d.jsx)(f.default,{type:"right",title:b("title"),className:(0,g.cn)("right-0 shrink-0","w-[96vw] sm:w-64"),tagName:"nav",children:(0,d.jsxs)("div",{className:"relative",children:[j&&(0,d.jsx)("div",{className:"from-background pointer-events-none absolute top-0 right-0 left-0 h-12 bg-linear-to-b to-transparent"}),(0,d.jsx)("div",{ref:n,className:"scrollbar-thin max-h-[80vh] overflow-y-auto pr-4 scrollbar-thumb-gray-300 scrollbar-track-transparent",children:(0,d.jsx)("ul",{className:"space-y-1 text-sm",children:a.map((a,b)=>(0,d.jsx)("li",{style:{paddingLeft:`${(a.depth-1)*.75}rem`},children:(0,d.jsx)("a",{href:`#${a.id}`,className:(0,g.cn)("block py-1 text-secondary transition-colors hover:text-primary",c===a.id&&"text-primary",0===b?"pt-0!":""),onClick:b=>{b.preventDefault(),document.getElementById(a.id)?.scrollIntoView({behavior:"smooth"})},children:a.value})},a.id))})}),l&&(0,d.jsx)("div",{className:"from-background pointer-events-none absolute right-0 bottom-0 left-0 h-12 bg-linear-to-t to-transparent"})]})})}},24619:(a,b,c)=>{"use strict";c.d(b,{default:()=>l});var d=c(67258),e=c(83459),f=c(92609),g=c(96236),h=c(452);let i=(0,h.A)("menu",[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]]),j=(0,h.A)("info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]);var k=c(46763);function l({showRightSidebar:a,children:b}){let{open:c,setOpen:h}=(0,e.useContext)(f.p);return(0,d.jsxs)("header",{className:"flex w-full items-center justify-between border-b border-tertiary px-0 pt-1 pb-2 lg:hidden",children:[(0,d.jsx)("button",{onClick:()=>h("left"==c?"none":"left"),className:"text-primary",children:"left"===c?(0,d.jsx)(g.A,{className:"h-6 w-6"}):(0,d.jsx)(i,{className:"h-6 w-6"})}),(0,d.jsx)("h1",{className:"text-lg font-bold",children:b}),(0,d.jsx)("button",{onClick:()=>h("right"==c?"none":"right"),className:(0,k.cn)("text-primary",!1===a&&"invisible"),children:"right"===c?(0,d.jsx)(g.A,{className:"h-6 w-6"}):(0,d.jsx)(j,{className:"h-6 w-6"})})]})}},31362:(a,b,c)=>{Promise.resolve().then(c.bind(c,23057))},33244:(a,b,c)=>{"use strict";c.d(b,{default:()=>i});var d=c(67258),e=c(83459),f=c(45580),g=c(84339),h=c(43029);function i(a){let{scrollPos:b,setScrollPos:c}=(0,e.useContext)(g.$),i=(0,e.useRef)(null);return(0,f.usePathname)(),(0,d.jsx)(h.default,{...a,ref:i})}},33702:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=(0,c(76238).A)("folder",[["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}]])},33951:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(9968).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/Wiki/Wiki/build/previewer/src/components/docs/util/DocsFileLink.tsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/Wiki/Wiki/build/previewer/src/components/docs/util/DocsFileLink.tsx","default")},34927:(a,b,c)=>{"use strict";c.d(b,{A:()=>g});var d=c(60492),e=c(71494),f=c(50691);async function g({headings:a}){return(0,d.jsx)(f.A,{keys:["DocsNonContentRightSidebar"],children:(0,d.jsx)(e.default,{headings:a})})}},39017:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(9968).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/Wiki/Wiki/build/previewer/src/components/docs/tabs/DocsEntryTabs.tsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/Wiki/Wiki/build/previewer/src/components/docs/tabs/DocsEntryTabs.tsx","default")},42709:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(9968).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/Wiki/Wiki/build/previewer/src/components/docs/layout/DocsFileTreeFolder.tsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/Wiki/Wiki/build/previewer/src/components/docs/layout/DocsFileTreeFolder.tsx","default")},43029:(a,b,c)=>{"use strict";c.d(b,{default:()=>h});var d=c(67258),e=c(46763),f=c(83459),g=c(92609);let h=(0,f.forwardRef)(function({title:a,className:b,innerClassName:c,tagName:h,children:i,type:j,solid:k},l){let{open:m}=(0,f.useContext)(g.p);return(0,d.jsx)("aside",{"data-open":m==j,className:(0,e.cn)(b,"fixed z-30 h-[88vh] w-full overflow-hidden border-tertiary bg-primary transition-all duration-300 ease-in-out sm:h-[calc(100vh_-_9.5rem)] lg:top-[6rem]! lg:transition-none",k?"lg:static":"lg:sticky","left"==j&&"border-r data-[open=false]:-translate-x-full data-[open=false]:border-0 lg:border-r-0 lg:data-[open=false]:-translate-x-0","right"==j&&"border-l data-[open=false]:translate-x-full data-[open=false]:border-0 lg:border-l-0 lg:data-[open=false]:translate-x-0"),children:(0,d.jsxs)(h||"div",{ref:l,className:(0,e.cn)("scrollbar-thumb-secondary scrollbar-track-secondary/20 scrollbar-thin h-full space-y-2 overflow-y-auto p-4",c),children:[(0,d.jsx)("div",{className:"mb-4 flex items-center justify-between",children:(0,d.jsx)("h3",{className:"text-sm font-semibold text-secondary",children:a})}),i]})})})},52280:(a,b,c)=>{"use strict";c.d(b,{default:()=>r});var d=c(67258);c(83459);var e=c(79615),f=c(80756),g=c(42525),h=c(452);let i=(0,h.A)("flag",[["path",{d:"M4 22V4a1 1 0 0 1 .4-.8A6 6 0 0 1 8 2c3 0 5 2 7.333 2q2 0 3.067-.8A1 1 0 0 1 20 4v10a1 1 0 0 1-.4.8A6 6 0 0 1 16 16c-3 0-5-2-8-2a6 6 0 0 0-4 1.528",key:"1jaruq"}]]);var j=c(46763),k=c(13661),l=c(42590);function m({local:a,type:b,project:c,path:h,preview:m,full:n}){let o=(0,e.c)("PageEditControls"),p=function(a,b,c){let d=(0,k.cT)({project:a,type:b,path:c});return`/report?${d}`}(c,b,h?.join("/")??null),q=(0,d.jsx)(g.$,{asChild:!0,variant:"outline",size:"sm",className:"font-normal text-secondary hover:bg-transparent sm:h-fit sm:border-none sm:p-0",children:(0,d.jsxs)(l.k,{href:p,children:[(0,d.jsx)(i,{className:(0,j.cn)("mr-2 h-4 w-4",!n&&"sm:mr-0")}),(0,d.jsx)("span",{className:(0,j.cn)(!n&&"sm:hidden"),children:o("report_button")})]})});return!m&&!a&&c&&h&&(n?q:(0,d.jsx)(f.TooltipProvider,{children:(0,d.jsxs)(f.Tooltip,{children:[(0,d.jsx)(f.TooltipTrigger,{asChild:!0,children:q}),(0,d.jsx)(f.TooltipContent,{children:o("report")})]})}))}let n=(0,h.A)("square-pen",[["path",{d:"M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7",key:"1m0v6g"}],["path",{d:"M18.375 2.625a1 1 0 0 1 3 3l-9.013 9.014a2 2 0 0 1-.853.505l-2.873.84a.5.5 0 0 1-.62-.62l.84-2.873a2 2 0 0 1 .506-.852z",key:"ohrbg2"}]]);function o({editUrl:a}){let b=(0,e.c)("PageEditControls");return a&&(0,d.jsxs)(l.k,{href:a,className:"flex items-center rounded-md border border-quaternary px-3 py-2 text-sm text-secondary hover:text-primary-alt sm:border-none sm:p-0",children:[(0,d.jsx)(n,{className:"mr-2 h-4 w-4"}),b("edit_gh")]})}function p({slug:a,path:b,editUrl:c,local:e,preview:f}){return(0,d.jsxs)("div",{className:"flex w-full flex-row justify-between sm:max-w-5xl",children:[(0,d.jsx)("div",{className:"hidden flex-row flex-nowrap items-center justify-start gap-4 sm:flex",children:(0,d.jsx)(m,{type:"docs",local:e,project:a,path:b,preview:f})}),(0,d.jsx)("div",{className:"hidden flex-row flex-nowrap items-center justify-start gap-4 sm:flex",children:(0,d.jsx)("div",{className:"flex flex-col items-end gap-y-3 sm:flex-row sm:items-center sm:gap-x-4 sm:gap-y-0",children:(0,d.jsx)(o,{editUrl:c})})})]})}function q({local:a,slug:b,path:c,editUrl:e,preview:f}){return(0,d.jsx)("div",{className:"flex flex-col gap-3 sm:hidden",children:(0,d.jsxs)("div",{className:"flex flex-row flex-wrap justify-between gap-2",children:[(0,d.jsx)(m,{type:"docs",local:a,project:b,path:c,preview:f}),(0,d.jsx)(o,{editUrl:e})]})})}function r(a){return(0,d.jsxs)("footer",{className:"relative flex w-full shrink-0 flex-col-reverse justify-between gap-y-3 border-t border-border bg-primary px-1 py-3 text-sm text-secondary sm:h-16 sm:flex-row sm:items-center sm:justify-center sm:gap-y-0 sm:px-4",children:[(0,d.jsx)(p,{...a}),(0,d.jsx)(q,{...a})]})}},55429:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>f});var d=c(60492),e=c(92851);function f(){return(0,d.jsx)(e.default,{})}},60378:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(9968).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/Wiki/Wiki/build/previewer/src/components/docs/side/ScrollableDocsSidebarBase.tsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/Wiki/Wiki/build/previewer/src/components/docs/side/ScrollableDocsSidebarBase.tsx","default")},62906:(a,b,c)=>{Promise.resolve().then(c.bind(c,94199))},71494:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(9968).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/Wiki/Wiki/build/previewer/src/components/docs/side/guide/DocsGuideNonContentRightSidebarClient.tsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/Wiki/Wiki/build/previewer/src/components/docs/side/guide/DocsGuideNonContentRightSidebarClient.tsx","default")},74216:(a,b,c)=>{"use strict";c.d(b,{A:()=>r});var d=c(60492);function e({children:a}){return(0,d.jsx)("article",{className:"docsContentArticle prose min-w-full dark:prose-invert",children:a})}var f=c(85058),g=c(19434);function h({changelog:a}){let b=(0,g.A)("DocsChangelogPage");return(0,d.jsxs)("div",{className:"space-y-6",children:[(0,d.jsx)("h2",{className:"mb-4 text-xl font-semibold",children:b("title")}),a.map((a,b)=>(0,d.jsxs)("div",{className:"border-b border-border pb-4",children:[(0,d.jsxs)("h3",{className:"flex flex-row items-center justify-between text-lg font-semibold",children:[a.version,a.date&&(0,d.jsx)("span",{className:"text-sm font-medium text-secondary",children:a.date})]}),(0,d.jsx)("ul",{className:"mt-2 list-inside list-disc",children:a.changes.map((a,b)=>(0,d.jsx)("li",{className:"text-secondary",children:a},b))})]},b))]})}var i=c(97933),j=c(97102),k=c(63970),l=c(79742);function m({bright:a,small:b}){let c=(0,g.A)("CommunityBadge");return(0,d.jsx)(l.TooltipProvider,{delayDuration:500,children:(0,d.jsxs)(l.Tooltip,{children:[(0,d.jsx)(l.TooltipTrigger,{asChild:!0,children:(0,d.jsxs)(j.E,{variant:a?"secondary":"outline",className:(0,i.cn)("cursor-default",!a&&"text-secondary",b?"p-1.5":"px-3 py-1"),children:[(0,d.jsx)(k.A,{className:(0,i.cn)(b?"h-3.5 w-3.5":"mr-2 h-4 w-4"),strokeWidth:2.5}),!b&&c("title")]})}),(0,d.jsx)(l.TooltipContent,{children:(0,d.jsx)("p",{children:c("desc")})})]})})}var n=c(39017),o=c(50691),p=c(82201);function q({project:a,children:b,titleClassName:c,showHistory:e,className:f}){return(0,d.jsx)("div",{className:(0,i.cn)("mb-4 border-b border-secondary pb-2",f),children:(0,d.jsxs)("div",{className:"flex flex-row flex-wrap justify-between gap-2 md:flex-nowrap md:items-center",children:[(0,d.jsx)("h1",{className:(0,i.cn)("docsContentTitle text-3xl font-medium text-ellipsis text-primary md:overflow-hidden md:whitespace-nowrap",c),children:b}),(0,d.jsxs)("div",{className:(0,i.cn)("not-prose ml-auto flex shrink-0 flex-row items-center justify-between gap-3 md:ml-0"),children:[a?.local&&(0,d.jsx)(p.A,{}),a?.is_community&&(0,d.jsx)(m,{}),e&&(0,d.jsx)(o.A,{keys:["DocsEntryTabs"],children:(0,d.jsx)(n.default,{})})]})]})})}async function r({project:a,page:b,showHistory:c,isIndexPage:g}){let i=(0,d.jsx)(e,{children:b.content.content});return(0,d.jsxs)("div",{className:"flex min-h-[90vh] flex-col pb-20",children:[(!g||null!=b.frontmatter.title)&&(0,d.jsx)(q,{className:"hidden sm:block",project:a,showHistory:c,children:b.frontmatter.title||a.name}),g?i:(0,d.jsx)(f.default,{main:i,history:b.frontmatter.history?(0,d.jsx)(h,{changelog:b.frontmatter.history}):null})]})}},74403:(a,b,c)=>{Promise.resolve().then(c.bind(c,92851))},76739:(a,b,c)=>{"use strict";c.d(b,{default:()=>l});var d=c(67258),e=c(45580),f=c(79615);let g=(0,c(452).A)("telescope",[["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"}]]);var h=c(96144),i=c(42525),j=c(42590);function k({returnTo:a}){let b=(0,f.c)("DocsPageNotFound");return(0,d.jsxs)("div",{className:"flex min-h-dvh flex-col items-center justify-center gap-4 p-4 pb-[min(25vh,16rem)]",children:[(0,d.jsx)(g,{className:"size-32 rounded-xs opacity-100 sm:size-36"}),(0,d.jsx)("h1",{className:"my-2 text-3xl text-primary sm:text-5xl",children:b("title")}),(0,d.jsx)("p",{className:"w-3/4 text-center text-secondary sm:w-full",children:b("desc")}),(0,d.jsx)(i.$,{asChild:!0,className:"mt-4",children:(0,d.jsxs)(j.k,{href:a??"/",children:[(0,d.jsx)(h.A,{className:"mr-2 h-4 w-4",strokeWidth:2.5}),b("return")]})})]})}function l({returnSuffix:a}){let b=(0,e.useParams)();return(0,d.jsx)(k,{returnTo:`/${b.locale}/project/${b.slug}/${b.version}${a??""}`})}},78079:(a,b,c)=>{"use strict";c.d(b,{default:()=>h});var d=c(67258),e=c(46763),f=c(99688);let g=(0,c(83459).forwardRef)(function({prefetch:a=!1,...b},c){return(0,d.jsx)(f.XO,{prefetch:a,...b,ref:c})});function h({href:a,children:b}){let c=(0,f.a8)();return(0,d.jsx)(g,{href:a,className:(0,e.cn)("flex items-center rounded-md px-3 py-2 text-sm text-secondary hover:bg-secondary hover:text-primary-alt",c===a&&"bg-secondary text-primary-alt"),children:b})}},79742:(a,b,c)=>{"use strict";c.r(b),c.d(b,{Tooltip:()=>e,TooltipContent:()=>g,TooltipProvider:()=>h,TooltipTrigger:()=>f});var d=c(9968);let e=(0,d.registerClientReference)(function(){throw Error("Attempted to call Tooltip() from the server but Tooltip is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/Wiki/Wiki/packages/ui/src/components/tooltip.tsx","Tooltip"),f=(0,d.registerClientReference)(function(){throw Error("Attempted to call TooltipTrigger() from the server but TooltipTrigger is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/Wiki/Wiki/packages/ui/src/components/tooltip.tsx","TooltipTrigger"),g=(0,d.registerClientReference)(function(){throw Error("Attempted to call TooltipContent() from the server but TooltipContent is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/Wiki/Wiki/packages/ui/src/components/tooltip.tsx","TooltipContent"),h=(0,d.registerClientReference)(function(){throw Error("Attempted to call TooltipProvider() from the server but TooltipProvider is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/Wiki/Wiki/packages/ui/src/components/tooltip.tsx","TooltipProvider")},80903:(a,b,c)=>{"use strict";c.d(b,{A:()=>q});var d=c(60492),e=c(33702),f=c(34326),g=c(33951),h=c(42709),i=c(97933),j=c(19434),k=c(60378),l=c(37474);async function m({slug:a,version:b,file:e}){let f=await Promise.all([c.e(7640),c.e(9847)]).then(c.bind(c,79847)),h=e.icon?f[e.icon+"Icon"]:null;return(0,d.jsxs)(g.default,{href:`/project/${a}/${b}/docs/${e.path}`,children:[h&&(0,d.jsx)(h,{className:"mr-2 h-4 w-4 shrink-0"}),e.name]},e.path)}async function n({slug:a,version:b,tree:f,level:g}){let i=e.A,j=await Promise.all([c.e(7640),c.e(9847)]).then(c.bind(c,79847));return f.map(c=>{if("dir"==c.type){let e=c.icon===l.D$?null:(c.icon?j[c.icon]:i)||i;return(0,d.jsx)(h.default,{name:c.name,path:c.path,level:g,icon:e&&(0,d.jsx)(e,{className:"mr-2 h-4 w-4 shrink-0"}),children:(0,d.jsx)(n,{slug:a,version:b,tree:c.children,level:g+1})},c.path)}return(0,d.jsx)(m,{slug:a,version:b,file:c},c.path)})}function o({slug:a,version:b,tree:c}){let e=(0,j.A)("DocsLeftSidebar");return(0,d.jsxs)(k.default,{type:"left",title:e("title"),className:(0,i.cn)("left-0 shrink-0","w-[96vw] sm:w-64"),innerClassName:"overscroll-contain",tagName:"nav",children:[(0,d.jsxs)(g.default,{href:`/project/${a}/${b}/docs`,children:[(0,d.jsx)(f.A,{className:"mr-2 h-4 w-4"}),e("homepage")]}),(0,d.jsx)("hr",{}),(0,d.jsx)(n,{slug:a,version:b,tree:c,level:1})]})}c(19061);var p=c(16274);function q({title:a,project:b,version:c,rightSidebar:e,footer:f,tree:g,showRightSidebar:h,children:j}){return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(p.default,{showRightSidebar:h,children:a}),(0,d.jsxs)("div",{className:"flex w-full max-w-[1632px] flex-1 flex-row justify-between gap-4",children:[(0,d.jsx)(o,{slug:b.id,version:c,tree:g}),(0,d.jsx)("main",{className:(0,i.cn)("mt-4 min-h-[86vh] flex-1 overflow-auto px-2 pb-6 sm:mt-0 sm:min-h-[auto] sm:max-w-5xl sm:pt-4 lg:px-0"),children:j}),e]}),f]})}},82095:(a,b,c)=>{"use strict";c.d(b,{default:()=>j});var d=c(67258),e=c(86350),f=c(83459),g=c(46763),h=c(99688),i=c(84339);function j({name:a,path:b,icon:c,level:j,children:k}){let{folderStates:l,setFolderStates:m}=(0,f.useContext)(i.$),n=(0,h.a8)().split("/").slice(5).join("/"),o=n.length>0&&n.startsWith(b+"/"),p=(0,f.useRef)(!1),[q,r]=(0,f.useState)(!p.current&&o||l[j]===b);return(0,d.jsxs)("div",{className:(0,g.cn)("accordion flex flex-col",q&&"open"),children:[(0,d.jsxs)("button",{onClick:function(){m(a=>{let c={...a,[j]:q?void 0:b};return q&&Object.keys(c).filter(a=>Number(a)>j).forEach(a=>delete c[a]),c})},"data-state":q?"open":"closed",className:(0,g.cn)("flex items-center rounded-md px-3 py-2 text-sm text-secondary hover:bg-secondary","hover:text-primary-alt [&[data-state=open]>svg:last-child]:rotate-180"),children:[c,a,(0,d.jsx)(e.A,{className:"ml-auto h-4 w-4 shrink-0 transition-transform duration-200"})]}),(0,d.jsx)("div",{className:"accordion-body",style:{paddingLeft:`${j}rem`},children:(0,d.jsx)("div",{children:(0,d.jsx)("div",{className:"mt-2 flex flex-col gap-2",children:k})})})]})}},85058:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(9968).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/Wiki/Wiki/build/previewer/src/components/docs/tabs/TabSwitchedDocsContent.tsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/Wiki/Wiki/build/previewer/src/components/docs/tabs/TabSwitchedDocsContent.tsx","default")},88475:(a,b,c)=>{Promise.resolve().then(c.bind(c,76739))},92851:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(9968).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/Wiki/Wiki/build/previewer/src/components/docs/error/DocsPageNotFound.tsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/Wiki/Wiki/build/previewer/src/components/docs/error/DocsPageNotFound.tsx","default")},93259:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(9968).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/Wiki/Wiki/build/previewer/src/components/docs/layout/DocsPageFooter.tsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/Wiki/Wiki/build/previewer/src/components/docs/layout/DocsPageFooter.tsx","default")},94199:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>d});let d=(0,c(9968).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/Wiki/Wiki/build/previewer/src/app/[locale]/(main)/project/[slug]/[version]/docs/error.tsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/Wiki/Wiki/build/previewer/src/app/[locale]/(main)/project/[slug]/[version]/docs/error.tsx","default")}};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1147],{13621:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(26182).A)("chevron-up",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]])},24194:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(26182).A)("book-marked",[["path",{d:"M10 2v8l3-3 3 3V2",key:"sqw3rj"}],["path",{d:"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20",key:"k3hazp"}]])},27018:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(26182).A)("tag",[["path",{d:"M12.586 2.586A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42z",key:"vktsd0"}],["circle",{cx:"7.5",cy:"7.5",r:".5",fill:"currentColor",key:"kqv944"}]])},97461:(e,t,n)=>{n.d(t,{UC:()=>Q,YJ:()=>ef,In:()=>q,q7:()=>eg,VF:()=>eS,p4:()=>ex,JU:()=>ep,ZL:()=>J,bL:()=>U,wn:()=>ej,PP:()=>eb,wv:()=>eP,l9:()=>W,WT:()=>z,LM:()=>es});var r=n(28081),l=n(63220);function o(e,[t,n]){return Math.min(n,Math.max(t,e))}(0,Object.defineProperty)(o,"name",{value:"clamp",configurable:!0});var i=n(51016),a=n(93992),u=n(46988),s=n(25020),c=n(42019),d=n(5721),f=n(89087),p=n(39734),v=n(68285),h=n(14182),m=n(15673),g=n(17312),w=n(21851),x=n(85126),S=n(66325),y=n(45415),b=n(58307);function C(e){let t=r.useRef({value:e,previous:e});return r.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}(0,Object.defineProperty)(C,"name",{value:"usePrevious",configurable:!0});var j=n(9389),k=n(69536),P=n(79923),T=n(7893),I=Object.defineProperty,E=(e,t)=>I(e,"name",{value:t,configurable:!0}),R=[" ","Enter","ArrowUp","ArrowDown"],M=[" ","Enter"],L="Select",[D,K,A]=(0,a.N)(L),[H,B]=(0,s.A)(L,[A,h.Bk]),_=(0,h.Bk)(),[N,V]=H(L),[O,F]=H(L);function G(e){let{__scopeSelect:t,children:n,open:l,defaultOpen:o,onOpenChange:i,value:a,defaultValue:u,onValueChange:s,dir:d,name:f,autoComplete:p,disabled:m,required:g,form:w,internal_do_not_use_render:x}=e,S=_(t),[b,C]=r.useState(null),[j,k]=r.useState(null),[P,I]=r.useState(!1),R=(0,c.jH)(d),[M,K]=(0,y.i)({prop:l,defaultProp:null!=o&&o,onChange:i,caller:L}),[A,H]=(0,y.i)({prop:a,defaultProp:u,onChange:s,caller:L}),B=r.useRef(null),V=r.useRef(A);r.useEffect(()=>{let e=w?null==b?void 0:b.ownerDocument.getElementById(w):null==b?void 0:b.form;if(e instanceof HTMLFormElement){let t=E(()=>H(V.current),"reset");return e.addEventListener("reset",t),()=>e.removeEventListener("reset",t)}},[w,b,H]);let F=!b||!!w||!!b.closest("form"),[G,U]=r.useState(new Set),W=(0,v.B)(),z=Array.from(G).map(e=>e.props.value).join(";"),q=r.useCallback(e=>{U(t=>new Set(t).add(e))},[]),Y=r.useCallback(e=>{U(t=>{let n=new Set(t);return n.delete(e),n})},[]),Z={required:g,trigger:b,onTriggerChange:C,valueNode:j,onValueNodeChange:k,valueNodeHasChildren:P,onValueNodeHasChildrenChange:I,contentId:W,value:A,onValueChange:H,open:M,onOpenChange:K,dir:R,triggerPointerDownPosRef:B,disabled:m,name:f,autoComplete:p,form:w,nativeOptions:G,nativeSelectKey:z,isFormControl:F};return(0,T.jsx)(h.bL,{...S,children:(0,T.jsx)(N,{scope:t,...Z,children:(0,T.jsx)(D.Provider,{scope:t,children:(0,T.jsx)(O,{scope:t,onNativeOptionAdd:q,onNativeOptionRemove:Y,children:eI(x)?x(Z):n})})})})}E(G,"SelectProvider");var U=E(e=>{let{__scopeSelect:t,children:n,...r}=e;return(0,T.jsx)(G,{__scopeSelect:t,...r,internal_do_not_use_render:e=>{let{isFormControl:r}=e;return(0,T.jsxs)(T.Fragment,{children:[n,r?(0,T.jsx)(eT,{__scopeSelect:t}):null]})}})},"Select"),W=r.forwardRef(E(function(e,t){let{__scopeSelect:n,disabled:l=!1,...o}=e,a=_(n),s=V("SelectTrigger",n),c=s.disabled||l,d=(0,u.s)(t,s.onTriggerChange),f=K(n),p=r.useRef("touch"),[v,m,g]=eR(e=>{let t=f().filter(e=>!e.disabled),n=t.find(e=>e.value===s.value),r=eM(t,e,n);void 0!==r&&s.onValueChange(r.value)}),x=E(e=>{c||(s.onOpenChange(!0),g()),e&&(s.triggerPointerDownPosRef.current={x:Math.round(e.pageX),y:Math.round(e.pageY)})},"handleOpen");return(0,T.jsx)(h.Mz,{asChild:!0,...a,children:(0,T.jsx)(w.sG.button,{type:"button",role:"combobox","aria-controls":s.open?s.contentId:void 0,"aria-expanded":s.open,"aria-required":s.required,"aria-autocomplete":"none",dir:s.dir,"data-state":s.open?"open":"closed",disabled:c,"data-disabled":c?"":void 0,"data-placeholder":eE(s.value)?"":void 0,...o,ref:d,onClick:(0,i.mK)(o.onClick,e=>{e.currentTarget.focus(),"mouse"!==p.current&&x(e)}),onPointerDown:(0,i.mK)(o.onPointerDown,e=>{p.current=e.pointerType;let t=e.target;t.hasPointerCapture(e.pointerId)&&t.releasePointerCapture(e.pointerId),0===e.button&&!1===e.ctrlKey&&"mouse"===e.pointerType&&(x(e),e.preventDefault())}),onKeyDown:(0,i.mK)(o.onKeyDown,e=>{let t=""!==v.current;e.ctrlKey||e.altKey||e.metaKey||1!==e.key.length||m(e.key),(!t||" "!==e.key)&&R.includes(e.key)&&(x(),e.preventDefault())})})})},"SelectTrigger")),z=r.forwardRef(E(function(e,t){let{__scopeSelect:n,className:l,style:o,children:i,placeholder:a="",...s}=e,c=V("SelectValue",n),{onValueNodeHasChildrenChange:d}=c,f=void 0!==i,p=(0,u.s)(t,c.onValueNodeChange);(0,b.N)(()=>{d(f)},[d,f]);let v=eE(c.value);return(0,T.jsx)(w.sG.span,{...s,asChild:!v&&s.asChild,ref:p,style:{pointerEvents:"none"},children:(0,T.jsx)(r.Fragment,{children:v?a:i},v?"placeholder":"value")})},"SelectValue")),q=r.forwardRef(E(function(e,t){let{__scopeSelect:n,children:r,...l}=e;return(0,T.jsx)(w.sG.span,{"aria-hidden":!0,...l,ref:t,children:r||"▼"})},"SelectIcon")),[Y,Z]=H("SelectPortal",{forceMount:void 0}),J=E(e=>{let{__scopeSelect:t,forceMount:n,...r}=e;return(0,T.jsx)(Y,{scope:e.__scopeSelect,forceMount:n,children:(0,T.jsx)(m.Z,{asChild:!0,...r})})},"SelectPortal"),X="SelectContent",Q=r.forwardRef(E(function(e,t){let n=Z(X,e.__scopeSelect),{forceMount:l=n.forceMount,...o}=e,i=V(X,e.__scopeSelect),[a,u]=r.useState();return(0,b.N)(()=>{u(new DocumentFragment)},[]),(0,T.jsx)(g.C,{present:l||i.open,children:e=>{let{present:n}=e;return n?(0,T.jsx)(er,{...o,ref:t}):(0,T.jsx)($,{...o,fragment:a})}})},"SelectContent")),$=r.forwardRef(E(function(e,t){let{__scopeSelect:n,children:r,fragment:o}=e;return o?l.createPortal((0,T.jsx)(ee,{scope:n,children:(0,T.jsx)(D.Slot,{scope:n,children:(0,T.jsx)("div",{ref:t,children:r})})}),o):null},"SelectContentFragment")),[ee,et]=H(X),en=(0,x.TL)("SelectContent.RemoveScroll"),er=r.forwardRef(E(function(e,t){let{__scopeSelect:n}=e,{position:l="item-aligned",onCloseAutoFocus:o,onEscapeKeyDown:a,onPointerDownOutside:s,side:c,sideOffset:v,align:h,alignOffset:m,arrowPadding:g,collisionBoundary:w,collisionPadding:x,sticky:S,hideWhenDetached:y,avoidCollisions:b,...C}=e,j=V(X,n),[I,R]=r.useState(null),[M,L]=r.useState(null),D=(0,u.s)(t,R),[A,H]=r.useState(null),[B,_]=r.useState(null),N=K(n),[O,F]=r.useState(!1),G=r.useRef(!1);r.useEffect(()=>{if(I)return(0,k.Eq)(I)},[I]),(0,f.Oh)();let U=r.useCallback(e=>{let[t,...n]=N().map(e=>e.ref.current),[r]=n.slice(-1),l=document.activeElement;for(let n of e)if(n===l||(null==n||n.scrollIntoView({block:"nearest"}),n===t&&M&&(M.scrollTop=0),n===r&&M&&(M.scrollTop=M.scrollHeight),null==n||n.focus(),document.activeElement!==l))return},[N,M]),W=r.useCallback(()=>U([A,I]),[U,A,I]);r.useEffect(()=>{O&&W()},[O,W]);let{onOpenChange:z,triggerPointerDownPosRef:q}=j;r.useEffect(()=>{if(I){let e={x:0,y:0},t=E(t=>{var n,r,l,o;e={x:Math.abs(Math.round(t.pageX)-(null!=(l=null==(n=q.current)?void 0:n.x)?l:0)),y:Math.abs(Math.round(t.pageY)-(null!=(o=null==(r=q.current)?void 0:r.y)?o:0))}},"handlePointerMove"),n=E(n=>{e.x<=10&&e.y<=10?n.preventDefault():n.composedPath().includes(I)||z(!1),document.removeEventListener("pointermove",t),q.current=null},"handlePointerUp");return null!==q.current&&(document.addEventListener("pointermove",t),document.addEventListener("pointerup",n,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",t),document.removeEventListener("pointerup",n,{capture:!0})}}},[I,z,q]),r.useEffect(()=>{let e=E(()=>z(!1),"close");return window.addEventListener("blur",e),window.addEventListener("resize",e),()=>{window.removeEventListener("blur",e),window.removeEventListener("resize",e)}},[z]);let[Y,Z]=eR(e=>{let t=N().filter(e=>!e.disabled),n=t.find(e=>e.ref.current===document.activeElement),r=eM(t,e,n);r&&setTimeout(()=>{var e;return null==(e=r.ref.current)?void 0:e.focus()})}),J=r.useCallback((e,t,n)=>{let r=!G.current&&!n;(void 0!==j.value&&j.value===t||r)&&(H(e),r&&(G.current=!0))},[j.value]),Q=r.useCallback(()=>null==I?void 0:I.focus(),[I]),$=r.useCallback((e,t,n)=>{let r=!G.current&&!n;(void 0!==j.value&&j.value===t||r)&&_(e)},[j.value]),et="popper"===l?eo:el;return(0,T.jsx)(ee,{scope:n,content:I,viewport:M,onViewportChange:L,itemRefCallback:J,selectedItem:A,onItemLeave:Q,itemTextRefCallback:$,focusSelectedItem:W,selectedItemText:B,position:l,isPositioned:O,searchRef:Y,children:(0,T.jsx)(P.A,{as:en,allowPinchZoom:!0,children:(0,T.jsx)(p.n,{asChild:!0,trapped:j.open,onMountAutoFocus:e=>{e.preventDefault()},onUnmountAutoFocus:(0,i.mK)(o,e=>{var t;null==(t=j.trigger)||t.focus({preventScroll:!0}),e.preventDefault()}),children:(0,T.jsx)(d.qW,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:a,onPointerDownOutside:s,onFocusOutside:e=>e.preventDefault(),onDismiss:()=>j.onOpenChange(!1),children:(0,T.jsx)(et,{role:"listbox",id:j.contentId,"data-state":j.open?"open":"closed",dir:j.dir,onContextMenu:e=>e.preventDefault(),...C,...et===eo?{side:c,sideOffset:v,align:h,alignOffset:m,arrowPadding:g,collisionBoundary:w,collisionPadding:x,sticky:S,hideWhenDetached:y,avoidCollisions:b}:{},onPlaced:()=>F(!0),ref:D,style:{display:"flex",flexDirection:"column",outline:"none",...C.style},onKeyDown:(0,i.mK)(C.onKeyDown,e=>{let t=e.ctrlKey||e.altKey||e.metaKey;if("Tab"===e.key&&e.preventDefault(),t||1!==e.key.length||Z(e.key),["ArrowUp","ArrowDown","Home","End"].includes(e.key)){let t=N().filter(e=>!e.disabled).map(e=>e.ref.current);if(["ArrowUp","End"].includes(e.key)&&(t=t.slice().reverse()),["ArrowUp","ArrowDown"].includes(e.key)){let n=e.target,r=t.indexOf(n);t=t.slice(r+1)}setTimeout(()=>U(t)),e.preventDefault()}})})})})})})},"SelectContentImpl")),el=r.forwardRef(E(function(e,t){let{__scopeSelect:n,onPlaced:l,...i}=e,a=V(X,n),s=et(X,n),[c,d]=r.useState(null),[f,p]=r.useState(null),v=(0,u.s)(t,p),h=K(n),m=r.useRef(!1),g=r.useRef(!0),{viewport:x,selectedItem:S,selectedItemText:y,focusSelectedItem:C}=s,j=r.useCallback(()=>{if(a.trigger&&a.valueNode&&c&&f&&x&&S&&y){let e=a.trigger.getBoundingClientRect(),t=f.getBoundingClientRect(),n=a.valueNode.getBoundingClientRect(),r=y.getBoundingClientRect();if("rtl"!==a.dir){let l=r.left-t.left,i=n.left-l,a=e.left-i,u=e.width+a,s=Math.max(u,t.width),d=o(i,[10,Math.max(10,window.innerWidth-10-s)]);c.style.minWidth=u+"px",c.style.left=d+"px"}else{let l=t.right-r.right,i=window.innerWidth-n.right-l,a=window.innerWidth-e.right-i,u=e.width+a,s=Math.max(u,t.width),d=o(i,[10,Math.max(10,window.innerWidth-10-s)]);c.style.minWidth=u+"px",c.style.right=d+"px"}let i=h(),u=window.innerHeight-20,s=x.scrollHeight,d=window.getComputedStyle(f),p=parseInt(d.borderTopWidth,10),v=parseInt(d.paddingTop,10),g=parseInt(d.borderBottomWidth,10),w=p+v+s+parseInt(d.paddingBottom,10)+g,b=Math.min(5*S.offsetHeight,w),C=window.getComputedStyle(x),j=parseInt(C.paddingTop,10),k=parseInt(C.paddingBottom,10),P=e.top+e.height/2-10,T=S.offsetHeight/2,I=p+v+(S.offsetTop+T);if(I<=P){let e=i.length>0&&S===i[i.length-1].ref.current;c.style.bottom="0px";let t=Math.max(u-P,T+(e?k:0)+(f.clientHeight-x.offsetTop-x.offsetHeight)+g);c.style.height=I+t+"px"}else{let e=i.length>0&&S===i[0].ref.current;c.style.top="0px";let t=Math.max(P,p+x.offsetTop+(e?j:0)+T);c.style.height=t+(w-I)+"px",x.scrollTop=I-P+x.offsetTop}c.style.margin="".concat(10,"px 0"),c.style.minHeight=b+"px",c.style.maxHeight=u+"px",null==l||l(),requestAnimationFrame(()=>m.current=!0)}},[h,a.trigger,a.valueNode,c,f,x,S,y,a.dir,l]);(0,b.N)(()=>j(),[j]);let[k,P]=r.useState();(0,b.N)(()=>{f&&P(window.getComputedStyle(f).zIndex)},[f]);let I=r.useCallback(e=>{e&&!0===g.current&&(j(),null==C||C(),g.current=!1)},[j,C]);return(0,T.jsx)(ei,{scope:n,contentWrapper:c,shouldExpandOnScrollRef:m,onScrollButtonChange:I,children:(0,T.jsx)("div",{ref:d,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:k},children:(0,T.jsx)(w.sG.div,{...i,ref:v,style:{boxSizing:"border-box",maxHeight:"100%",...i.style}})})})},"SelectItemAlignedPosition")),eo=r.forwardRef(E(function(e,t){let{__scopeSelect:n,align:r="start",collisionPadding:l=10,...o}=e,i=_(n);return(0,T.jsx)(h.UC,{...i,...o,ref:t,align:r,collisionPadding:l,style:{boxSizing:"border-box",...o.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}})},"SelectPopperPosition")),[ei,ea]=H(X,{}),eu="SelectViewport",es=r.forwardRef(E(function(e,t){let{__scopeSelect:n,nonce:l,...o}=e,a=et(eu,n),s=ea(eu,n),c=(0,u.s)(t,a.onViewportChange),d=r.useRef(0);return(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"},nonce:l}),(0,T.jsx)(D.Slot,{scope:n,children:(0,T.jsx)(w.sG.div,{"data-radix-select-viewport":"",role:"presentation",...o,ref:c,style:{position:"relative",flex:1,overflow:"hidden auto",...o.style},onScroll:(0,i.mK)(o.onScroll,e=>{let t=e.currentTarget,{contentWrapper:n,shouldExpandOnScrollRef:r}=s;if((null==r?void 0:r.current)&&n){let e=Math.abs(d.current-t.scrollTop);if(e>0){let r=window.innerHeight-20,l=Math.max(parseFloat(n.style.minHeight),parseFloat(n.style.height));if(l<r){let o=l+e,i=Math.min(r,o),a=o-i;n.style.height=i+"px","0px"===n.style.bottom&&(t.scrollTop=a>0?a:0,n.style.justifyContent="flex-end")}}}d.current=t.scrollTop})})})]})},"SelectViewport")),[ec,ed]=H("SelectGroup"),ef=r.forwardRef(E(function(e,t){let{__scopeSelect:n,...r}=e,l=(0,v.B)();return(0,T.jsx)(ec,{scope:n,id:l,children:(0,T.jsx)(w.sG.div,{role:"group","aria-labelledby":l,...r,ref:t})})},"SelectGroup")),ep=r.forwardRef(E(function(e,t){let{__scopeSelect:n,...r}=e,l=ed("SelectLabel",n);return(0,T.jsx)(w.sG.div,{id:l.id,...r,ref:t})},"SelectLabel")),ev="SelectItem",[eh,em]=H(ev),eg=r.forwardRef(E(function(e,t){let{__scopeSelect:n,value:l,disabled:o=!1,textValue:a,...s}=e,c=V(ev,n),d=et(ev,n),f=c.value===l,[p,h]=r.useState(null!=a?a:""),[m,g]=r.useState(!1),x=(0,S.c)(e=>{var t;return null==(t=d.itemRefCallback)?void 0:t.call(d,e,l,o)}),y=(0,u.s)(t,x),b=(0,v.B)(),C=r.useRef("touch"),j=E(()=>{o||(c.onValueChange(l),c.onOpenChange(!1))},"handleSelect");return(0,T.jsx)(eh,{scope:n,value:l,disabled:o,textId:b,isSelected:f,onItemTextChange:r.useCallback(e=>{h(t=>{var n;return t||(null!=(n=null==e?void 0:e.textContent)?n:"").trim()})},[]),children:(0,T.jsx)(D.ItemSlot,{scope:n,value:l,disabled:o,textValue:p,children:(0,T.jsx)(w.sG.div,{role:"option","aria-labelledby":b,"data-highlighted":m?"":void 0,"aria-selected":f&&m,"data-state":f?"checked":"unchecked","aria-disabled":o||void 0,"data-disabled":o?"":void 0,tabIndex:o?void 0:-1,...s,ref:y,onFocus:(0,i.mK)(s.onFocus,()=>g(!0)),onBlur:(0,i.mK)(s.onBlur,()=>g(!1)),onClick:(0,i.mK)(s.onClick,()=>{"mouse"!==C.current&&j()}),onPointerUp:(0,i.mK)(s.onPointerUp,()=>{"mouse"===C.current&&j()}),onPointerDown:(0,i.mK)(s.onPointerDown,e=>{C.current=e.pointerType}),onPointerMove:(0,i.mK)(s.onPointerMove,e=>{if(C.current=e.pointerType,o){var t;null==(t=d.onItemLeave)||t.call(d)}else"mouse"===C.current&&e.currentTarget.focus({preventScroll:!0})}),onPointerLeave:(0,i.mK)(s.onPointerLeave,e=>{if(e.currentTarget===document.activeElement){var t;null==(t=d.onItemLeave)||t.call(d)}}),onKeyDown:(0,i.mK)(s.onKeyDown,e=>{var t;o||e.target!==e.currentTarget||((null==(t=d.searchRef)?void 0:t.current)===""||" "!==e.key)&&(M.includes(e.key)&&j()," "===e.key&&e.preventDefault())})})})})},"SelectItem")),ew="SelectItemText",ex=r.forwardRef(E(function(e,t){let{__scopeSelect:n,className:o,style:i,...a}=e,s=V(ew,n),c=et(ew,n),d=em(ew,n),f=F(ew,n),[p,v]=r.useState(null),h=(0,S.c)(e=>{var t;return null==(t=c.itemTextRefCallback)?void 0:t.call(c,e,d.value,d.disabled)}),m=(0,u.s)(t,v,d.onItemTextChange,h),g=null==p?void 0:p.textContent,x=r.useMemo(()=>(0,T.jsx)("option",{value:d.value,disabled:d.disabled,children:g},d.value),[d.disabled,d.value,g]),{onNativeOptionAdd:y,onNativeOptionRemove:C}=f;return(0,b.N)(()=>(y(x),()=>C(x)),[y,C,x]),(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(w.sG.span,{id:d.textId,...a,ref:m}),d.isSelected&&s.valueNode&&!s.valueNodeHasChildren&&!eE(s.value)?l.createPortal(a.children,s.valueNode):null]})},"SelectItemText")),eS=r.forwardRef(E(function(e,t){let{__scopeSelect:n,...r}=e;return em("SelectItemIndicator",n).isSelected?(0,T.jsx)(w.sG.span,{"aria-hidden":!0,...r,ref:t}):null},"SelectItemIndicator")),ey="SelectScrollUpButton",eb=r.forwardRef(E(function(e,t){let n=et(ey,e.__scopeSelect),l=ea(ey,e.__scopeSelect),[o,i]=r.useState(!1),a=(0,u.s)(t,l.onScrollButtonChange);return(0,b.N)(()=>{if(n.viewport&&n.isPositioned){let e=function(){i(t.scrollTop>0)};E(e,"handleScroll");let t=n.viewport;return e(),t.addEventListener("scroll",e),()=>t.removeEventListener("scroll",e)}},[n.viewport,n.isPositioned]),o?(0,T.jsx)(ek,{...e,ref:a,onAutoScroll:()=>{let{viewport:e,selectedItem:t}=n;e&&t&&(e.scrollTop=e.scrollTop-t.offsetHeight)}}):null},"SelectScrollUpButton")),eC="SelectScrollDownButton",ej=r.forwardRef(E(function(e,t){let n=et(eC,e.__scopeSelect),l=ea(eC,e.__scopeSelect),[o,i]=r.useState(!1),a=(0,u.s)(t,l.onScrollButtonChange);return(0,b.N)(()=>{if(n.viewport&&n.isPositioned){let e=function(){let e=t.scrollHeight-t.clientHeight;i(Math.ceil(t.scrollTop)<e)};E(e,"handleScroll");let t=n.viewport;return e(),t.addEventListener("scroll",e),()=>t.removeEventListener("scroll",e)}},[n.viewport,n.isPositioned]),o?(0,T.jsx)(ek,{...e,ref:a,onAutoScroll:()=>{let{viewport:e,selectedItem:t}=n;e&&t&&(e.scrollTop=e.scrollTop+t.offsetHeight)}}):null},"SelectScrollDownButton")),ek=r.forwardRef(E(function(e,t){let{__scopeSelect:n,onAutoScroll:l,...o}=e,a=et("SelectScrollButton",n),u=r.useRef(null),s=K(n),c=r.useCallback(()=>{null!==u.current&&(window.clearInterval(u.current),u.current=null)},[]);return r.useEffect(()=>()=>c(),[c]),(0,b.N)(()=>{var e;let t=s().find(e=>e.ref.current===document.activeElement);null==t||null==(e=t.ref.current)||e.scrollIntoView({block:"nearest"})},[s]),(0,T.jsx)(w.sG.div,{"aria-hidden":!0,...o,ref:t,style:{flexShrink:0,...o.style},onPointerDown:(0,i.mK)(o.onPointerDown,()=>{null===u.current&&(u.current=window.setInterval(l,50))}),onPointerMove:(0,i.mK)(o.onPointerMove,()=>{var e;null==(e=a.onItemLeave)||e.call(a),null===u.current&&(u.current=window.setInterval(l,50))}),onPointerLeave:(0,i.mK)(o.onPointerLeave,()=>{c()})})},"SelectScrollButtonImpl")),eP=r.forwardRef(E(function(e,t){let{__scopeSelect:n,...r}=e;return(0,T.jsx)(w.sG.div,{"aria-hidden":!0,...r,ref:t})},"SelectSeparator")),eT=r.forwardRef(E(function(e,t){let{__scopeSelect:n,...l}=e,o=V("SelectBubbleInput",n),{value:i,onValueChange:a,required:s,disabled:c,name:d,autoComplete:f,form:p}=o,{nativeOptions:v,nativeSelectKey:h}=o,m=r.useRef(null),g=(0,u.s)(t,m),x=null!=i?i:"",S=C(x),y=Array.from(v).some(e=>{var t;return(null!=(t=e.props.value)?t:"")===""});return r.useEffect(()=>{let e=m.current;if(!e)return;let t=Object.getOwnPropertyDescriptor(window.HTMLSelectElement.prototype,"value").set;if(S!==x&&t){let n=new Event("change",{bubbles:!0});t.call(e,x),e.dispatchEvent(n)}},[S,x]),(0,T.jsxs)(w.sG.select,{"aria-hidden":!0,required:s,tabIndex:-1,name:d,autoComplete:f,disabled:c,form:p,onChange:e=>a(e.target.value),...l,style:{...j.Qg,...l.style},ref:g,defaultValue:x,children:[eE(i)&&!y?(0,T.jsx)("option",{value:""}):null,Array.from(v)]},h)},"SelectBubbleInput"));function eI(e){return"function"==typeof e}function eE(e){return""===e||void 0===e}function eR(e){let t=(0,S.c)(e),n=r.useRef(""),l=r.useRef(0),o=r.useCallback(e=>{t(n.current+e)},[t]),i=r.useCallback(()=>{n.current="",window.clearTimeout(l.current)},[]);return r.useEffect(()=>()=>window.clearTimeout(l.current),[]),[n,o,i]}function eM(e,t,n){let r=t.length>1&&Array.from(t).every(e=>e===t[0])?t[0]:t,l=n?e.indexOf(n):-1,o=eL(e,Math.max(l,0));1===r.length&&(o=o.filter(e=>e!==n));let i=o.find(e=>e.textValue.toLowerCase().startsWith(r.toLowerCase()));return i!==n?i:void 0}function eL(e,t){return e.map((n,r)=>e[(t+r)%e.length])}E(eI,"isFunction"),E(eE,"shouldShowPlaceholder"),E(eR,"useTypeaheadSearch"),E(eM,"findNextItem"),E(eL,"wrapArray")}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4536],{3192:(e,t,r)=>{r.d(t,{Ay:()=>o,F3:()=>a,nQ:()=>l});var n=r(47034);let a="en_us",l="en-US",i=[{name:"English",code:"en_us",prefix:"en",file:"en_US",internal:"en-US",icon:n.US},{name:"Čeština",code:"cs_cz",prefix:"cs",file:"cs_CZ",internal:"cs-CZ",icon:n.CZ},{name:"Deutsch",code:"de_de",prefix:"de",file:"de_DE",internal:"de-DE",icon:n.DE},{name:"Espa\xf1ol",code:"es_es",prefix:"es",file:"es_ES",internal:"es-ES",icon:n.ES,crowdin:"es-ES"},{name:"Fran\xe7ais",code:"fr_fr",prefix:"fr",file:"fr_FR",internal:"fr-FR",icon:n.FR},{name:"Magyar",code:"hu_hu",prefix:"hu",file:"hu_HU",internal:"hu-HU",icon:n.HU},{name:"Italiano",code:"it_it",prefix:"it",file:"it_IT",internal:"it-IT",icon:n.IT},{name:"日本語",code:"ja_jp",prefix:"ja",file:"ja_JP",internal:"ja-JP",icon:n.JP},{name:"한국어",code:"ko_kr",prefix:"ko",file:"ko_KR",internal:"ko-KR",icon:n.KR},{name:"Bahasa Melayu",code:"ms_my",prefix:"ms",file:"ms_MY",internal:"ms-MY",icon:n.MY},{name:"بهاس ملايو",code:"zml_arab",prefix:"ms_Ar",file:"ms_Arab",internal:"ms-Arab",icon:n.MY,crowdin:"ms-Arab",rtl:!0},{name:"Polski",code:"pl_pl",prefix:"pl",file:"pl_PL",internal:"pl-PL",icon:n.PL},{name:"Русский",code:"ru_ru",prefix:"ru",file:"ru_RU",internal:"ru-RU",icon:n.RU},{name:"Svenska",code:"sv_se",prefix:"sv",file:"sv_SE",internal:"sv-SE",icon:n.SE,crowdin:"sv-SE"},{name:"T\xfcrk\xe7e",code:"tr_tr",prefix:"tr",file:"tr_TR",internal:"tr-TR",icon:n.TR},{name:"Українська",code:"uk_ua",prefix:"uk",file:"uk_UA",internal:"uk-UA",icon:n.UA},{name:"简体中文",code:"zh_cn",prefix:"zh_cn",file:"zh_CN",internal:"zh-CN",icon:n.CN,crowdin:"zh-CN"},{name:"繁體中文",code:"zh_tw",prefix:"zh_tw",file:"zh_TW",internal:"zh-TW",icon:n.TW,crowdin:"zh-TW"}];function s(e){return i.find(t=>t.prefix===e)}let o={getAvailableLocales:function(){return i},getLanguagePaths:function(){return i.map(e=>e.prefix)},getInternalCodes:function(){return i.map(e=>e.internal)},getPathPrefixes:function(){return i.reduce((e,t)=>({...e,[t.internal]:"/"+t.prefix}),{})},getForUrlParam:s,getForInternalCode:function(e){return i.find(t=>t.internal===e)},getCrowdinLanguageId:function(e){let t=s(e);return(null==t?void 0:t.crowdin)||(null==t?void 0:t.prefix)},isRTL:function(e){var t;return(null==(t=s(e))?void 0:t.rtl)||!1},actualLocale:function(e){var t;if(!e||e===a)return null;let r=s(e);return null!=(t=null==r?void 0:r.file.toLowerCase())?t:null},resolveParam:function(e){return s(e).code},getUrlPrefixForCode:function(e){var t;return null==(t=i.find(t=>t.code===e))?void 0:t.prefix}}},18622:(e,t,r)=>{r.d(t,{default:()=>s});var n=r(7893),a=r(95745),l=r(34882);let i=(0,r(28081).forwardRef)(function(e,t){let{prefetch:r=!1,...a}=e;return(0,n.jsx)(l.XO,{prefetch:r,...a,ref:t})});function s(e){let{href:t,children:r}=e,s=(0,l.a8)();return(0,n.jsx)(i,{href:t,className:(0,a.cn)("flex items-center rounded-md px-3 py-2 text-sm text-secondary hover:bg-secondary hover:text-primary-alt",s===t&&"bg-secondary text-primary-alt"),children:r})}},21559:(e,t,r)=>{r.d(t,{default:()=>s});var n=r(7893),a=r(95745),l=r(28081),i=r(45585);let s=(0,l.forwardRef)(function(e,t){let{title:r,className:s,innerClassName:o,tagName:c,children:d,type:f,solid:u}=e,{open:m}=(0,l.useContext)(i.p);return(0,n.jsx)("aside",{"data-open":m==f,className:(0,a.cn)(s,"fixed z-30 h-[88vh] w-full overflow-hidden border-tertiary bg-primary transition-all duration-300 ease-in-out sm:h-[calc(100vh_-_9.5rem)] lg:top-[6rem]! lg:transition-none",u?"lg:static":"lg:sticky","left"==f&&"border-r data-[open=false]:-translate-x-full data-[open=false]:border-0 lg:border-r-0 lg:data-[open=false]:-translate-x-0","right"==f&&"border-l data-[open=false]:translate-x-full data-[open=false]:border-0 lg:border-l-0 lg:data-[open=false]:translate-x-0"),children:(0,n.jsxs)(c||"div",{ref:t,className:(0,a.cn)("scrollbar-thumb-secondary scrollbar-track-secondary/20 scrollbar-thin h-full space-y-2 overflow-y-auto p-4",o),children:[(0,n.jsx)("div",{className:"mb-4 flex items-center justify-between",children:(0,n.jsx)("h3",{className:"text-sm font-semibold text-secondary",children:r})}),d]})})})},24989:(e,t,r)=>{r.d(t,{default:()=>c});var n=r(7893),a=r(32482),l=r(74994),i=r(64870),s=r(82601),o=r(35865);function c(){let[e,t]=(0,a.ZA)("tab"),r=(0,o.c)("DocsEntryTabs"),c=async e=>{await t(e),window.scrollTo(0,0)};return(0,n.jsx)("div",{className:"flex h-full flex-col items-center justify-center",children:"history"===e?(0,n.jsx)(s.$,{title:r("home"),variant:"ghost",size:"icon",className:"size-8",onClick:()=>c("home"),children:(0,n.jsx)(l.A,{className:"size-4"})}):(0,n.jsx)(s.$,{title:r("history"),variant:"ghost",size:"icon",className:"size-8",onClick:()=>c("history"),children:(0,n.jsx)(i.A,{className:"size-4"})})})}},33951:(e,t,r)=>{r.d(t,{default:()=>c});var n=r(7893),a=r(85466),l=r(28081),i=r(95745),s=r(34882),o=r(40491);function c(e){let{name:t,path:r,icon:c,level:d,children:f}=e,{folderStates:u,setFolderStates:m}=(0,l.useContext)(o.$),h=(0,s.a8)().split("/").slice(5).join("/"),x=h.length>0&&h.startsWith(r+"/"),p=(0,l.useRef)(!1),[v,y]=(0,l.useState)(!p.current&&x||u[d]===r);return(0,l.useEffect)(()=>{!p.current&&x&&(p.current=!0,m(e=>{let t={...e,[d]:r};return Object.keys(t).filter(e=>Number(e)>d&&!h.startsWith(t[e])).forEach(e=>delete t[e]),t}))},[]),(0,l.useEffect)(()=>{y(u[d]===r)},[u]),(0,n.jsxs)("div",{className:(0,i.cn)("accordion flex flex-col",v&&"open"),children:[(0,n.jsxs)("button",{onClick:function(){m(e=>{let t={...e,[d]:v?void 0:r};return v&&Object.keys(t).filter(e=>Number(e)>d).forEach(e=>delete t[e]),t})},"data-state":v?"open":"closed",className:(0,i.cn)("flex items-center rounded-md px-3 py-2 text-sm text-secondary hover:bg-secondary","hover:text-primary-alt [&[data-state=open]>svg:last-child]:rotate-180"),children:[c,t,(0,n.jsx)(a.A,{className:"ml-auto h-4 w-4 shrink-0 transition-transform duration-200"})]}),(0,n.jsx)("div",{className:"accordion-body",style:{paddingLeft:"".concat(d,"rem")},children:(0,n.jsx)("div",{children:(0,n.jsx)("div",{className:"mt-2 flex flex-col gap-2",children:f})})})]})}},34882:(e,t,r)=>{r.d(t,{XO:()=>s,a8:()=>c});var n=r(85151),a=r(37588),l=r(3192);let i=(0,n.A)({locales:l.Ay.getInternalCodes(),defaultLocale:l.nQ,localePrefix:{mode:"always",prefixes:l.Ay.getPathPrefixes()}}),{Link:s,redirect:o,usePathname:c,useRouter:d}=(0,a.A)(i)},37588:(e,t,r)=>{r.d(t,{A:()=>m});var n=r(41574),a=r(28081),l=r.t(a,2),i=r(40739),s=l["use".trim()],o=r(32936),c=r(55605),d=r(16353),f=r(7893),u=r(62491);function m(e){let{Link:t,config:r,getPathname:l,...m}=function(e,t){var r,l,i;let u={...r=t||{},localePrefix:"object"==typeof(i=r.localePrefix)?i:{mode:i||"always"},localeCookie:!!((l=r.localeCookie)??1)&&{name:"NEXT_LOCALE",sameSite:"lax",..."object"==typeof l&&l},localeDetection:r.localeDetection??!0,alternateLinks:r.alternateLinks??!0},m=u.pathnames,h=(0,a.forwardRef)(function({href:t,locale:r,...n},a){let l,i;"object"==typeof t?(l=t.pathname,i=t.params):l=t;let d=(0,o._x)(t),h=e(),p=(0,o.yL)(h)?s(h):h,v=d?x({locale:r||p,href:null==m?l:{pathname:l,params:i},forcePrefix:null!=r||void 0}):l;return(0,f.jsx)(c.default,{ref:a,href:"object"==typeof t?{...t,pathname:v}:v,locale:r,localeCookie:u.localeCookie,...n})});function x(e){let t,{forcePrefix:r,href:n,locale:a}=e;return null==m?"object"==typeof n?(t=n.pathname,n.query&&(t+=(0,d.Zn)(n.query))):t=n:t=(0,d.FP)({locale:a,...(0,d.TK)(n),pathnames:u.pathnames}),(0,d.x3)(t,a,u,r)}function p(e){return function(t,...r){return e(x(t),...r)}}return{config:u,Link:h,redirect:p(n.redirect),permanentRedirect:p(n.permanentRedirect),getPathname:x}}(i.Ym,e);return{...m,Link:t,usePathname:function(){let e=function(e){let t=(0,n.usePathname)(),r=(0,i.Ym)();return(0,a.useMemo)(()=>{if(!t)return t;let n=t,a=(0,o.XP)(r,e.localePrefix);if((0,o.wO)(a,t))n=(0,o.MY)(t,a);else if("never"!==e.localePrefix.mode&&e.localePrefix.prefixes){let e=(0,o.bL)(r);(0,o.wO)(e,t)&&(n=(0,o.MY)(t,e))}return n},[e.localePrefix,r,t])}(r),t=(0,i.Ym)();return(0,a.useMemo)(()=>e&&r.pathnames?(0,d.aM)(t,e,r.pathnames):e,[t,e])},useRouter:function(){let e=(0,n.useRouter)(),t=(0,i.Ym)(),s=(0,n.usePathname)();return(0,a.useMemo)(()=>{function n(e){return function(n,a){let{locale:i,...o}=a||{},c=[l({href:n,locale:i||t,forcePrefix:null!=i||void 0})];Object.keys(o).length>0&&c.push(o),(0,u.A)(r.localeCookie,s,t,i),e(...c)}}return{...e,push:n(e.push),replace:n(e.replace),prefetch:n(e.prefetch)}},[t,s,e])},getPathname:l}}},40491:(e,t,r)=>{r.d(t,{$:()=>l,default:()=>i});var n=r(7893),a=r(28081);let l=(0,a.createContext)(null);function i(e){let{children:t}=e,[r,i]=(0,a.useState)(!1),[s,o]=(0,a.useState)({}),[c,d]=(0,a.useState)(0);return(0,n.jsx)(l.Provider,{value:{open:r,setOpen:i,folderStates:s,setFolderStates:o,scrollPos:c,setScrollPos:d},children:t})}},45478:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(26182).A)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},45585:(e,t,r)=>{r.d(t,{default:()=>s,p:()=>i});var n=r(7893),a=r(28081),l=r(34882);let i=(0,a.createContext)(null);function s(e){let{children:t}=e,r=(0,l.a8)(),[s,o]=(0,a.useState)("none");return(0,a.useEffect)(()=>{"none"===s?window.document.body.classList.remove("no-scroll"):window.document.body.classList.add("no-scroll")},[s]),(0,a.useEffect)(()=>{o("none")},[r]),(0,n.jsx)(i.Provider,{value:{open:s,setOpen:o},children:t})}},57850:(e,t,r)=>{r.d(t,{default:()=>o});var n=r(7893),a=r(28081),l=r(41574),i=r(40491),s=r(21559);function o(e){let{scrollPos:t,setScrollPos:r}=(0,a.useContext)(i.$),o=(0,a.useRef)(null),c=(0,l.usePathname)();return(0,a.useEffect)(()=>{let e=()=>{o.current&&r(o.current.scrollTop)},t=o.current;return t&&t.addEventListener("scroll",e),()=>{t&&t.removeEventListener("scroll",e)}},[]),(0,a.useEffect)(()=>{o.current&&(o.current.scrollTop=t)},[c]),(0,n.jsx)(s.default,{...e,ref:o})}},60285:(e,t,r)=>{function n(e,t){if(null==t)throw Error("Missing environment variable ".concat(e));return t}function a(e,t){let r=new URLSearchParams;if(e){for(let n in e)if(null!=e[n]){let a=t?t(n,e[n]):e[n];a&&r.set(n,a)}}return r.toString()}r.d(t,{cT:()=>a,no:()=>n}),r(16298)},65066:(e,t,r)=>{r.d(t,{default:()=>o});var n=r(7893),a=r(28081),l=r(21559),i=r(95745),s=r(35865);function o(e){let{headings:t}=e,r=(0,s.c)("DocsNonContentRightSidebar"),[o,c]=(0,a.useState)(""),[d,f]=(0,a.useState)(!1),[u,m]=(0,a.useState)(!1),h=(0,a.useRef)(null);return(0,a.useEffect)(()=>{let e=()=>{let e=t.map(e=>document.getElementById(e.id)).filter(Boolean).find(e=>{if(e){let t=e.getBoundingClientRect();return t.top>=0&&t.top<=window.innerHeight/2}return!1});e&&c(e.id)};return window.addEventListener("scroll",e),()=>window.removeEventListener("scroll",e)},[t]),(0,a.useEffect)(()=>{let e=()=>{if(h.current){let{scrollTop:e,scrollHeight:t,clientHeight:r}=h.current;f(e>0),m(e+r<t)}},t=h.current;return t&&(t.addEventListener("scroll",e),window.addEventListener("resize",e),e()),()=>{t&&t.removeEventListener("scroll",e),window.removeEventListener("resize",e)}},[t]),(0,n.jsx)(l.default,{type:"right",title:r("title"),className:(0,i.cn)("right-0 shrink-0","w-[96vw] sm:w-64"),tagName:"nav",children:(0,n.jsxs)("div",{className:"relative",children:[d&&(0,n.jsx)("div",{className:"from-background pointer-events-none absolute top-0 right-0 left-0 h-12 bg-linear-to-b to-transparent"}),(0,n.jsx)("div",{ref:h,className:"scrollbar-thin max-h-[80vh] overflow-y-auto pr-4 scrollbar-thumb-gray-300 scrollbar-track-transparent",children:(0,n.jsx)("ul",{className:"space-y-1 text-sm",children:t.map((e,t)=>(0,n.jsx)("li",{style:{paddingLeft:"".concat((e.depth-1)*.75,"rem")},children:(0,n.jsx)("a",{href:"#".concat(e.id),className:(0,i.cn)("block py-1 text-secondary transition-colors hover:text-primary",o===e.id&&"text-primary",0===t?"pt-0!":""),onClick:t=>{var r;t.preventDefault(),null==(r=document.getElementById(e.id))||r.scrollIntoView({behavior:"smooth"})},children:e.value})},e.id))})}),u&&(0,n.jsx)("div",{className:"from-background pointer-events-none absolute right-0 bottom-0 left-0 h-12 bg-linear-to-t to-transparent"})]})})}},66495:(e,t,r)=>{r.d(t,{default:()=>v});var n=r(7893);r(28081);var a=r(35865),l=r(20826),i=r(82601),s=r(26182);let o=(0,s.A)("flag",[["path",{d:"M4 22V4a1 1 0 0 1 .4-.8A6 6 0 0 1 8 2c3 0 5 2 7.333 2q2 0 3.067-.8A1 1 0 0 1 20 4v10a1 1 0 0 1-.4.8A6 6 0 0 1 16 16c-3 0-5-2-8-2a6 6 0 0 0-4 1.528",key:"1jaruq"}]]);var c=r(95745),d=r(60285),f=r(37040);function u(e){var t;let{local:r,type:s,project:u,path:m,preview:h,full:x}=e,p=(0,a.c)("PageEditControls"),v=function(e,t,r){let n=(0,d.cT)({project:e,type:t,path:r});return"/report?".concat(n)}(u,s,null!=(t=null==m?void 0:m.join("/"))?t:null),y=(0,n.jsx)(i.$,{asChild:!0,variant:"outline",size:"sm",className:"font-normal text-secondary hover:bg-transparent sm:h-fit sm:border-none sm:p-0",children:(0,n.jsxs)(f.k,{href:v,children:[(0,n.jsx)(o,{className:(0,c.cn)("mr-2 h-4 w-4",!x&&"sm:mr-0")}),(0,n.jsx)("span",{className:(0,c.cn)(!x&&"sm:hidden"),children:p("report_button")})]})});return!h&&!r&&u&&m&&(x?y:(0,n.jsx)(l.TooltipProvider,{children:(0,n.jsxs)(l.Tooltip,{children:[(0,n.jsx)(l.TooltipTrigger,{asChild:!0,children:y}),(0,n.jsx)(l.TooltipContent,{children:p("report")})]})}))}let m=(0,s.A)("square-pen",[["path",{d:"M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7",key:"1m0v6g"}],["path",{d:"M18.375 2.625a1 1 0 0 1 3 3l-9.013 9.014a2 2 0 0 1-.853.505l-2.873.84a.5.5 0 0 1-.62-.62l.84-2.873a2 2 0 0 1 .506-.852z",key:"ohrbg2"}]]);function h(e){let{editUrl:t}=e,r=(0,a.c)("PageEditControls");return t&&(0,n.jsxs)(f.k,{href:t,className:"flex items-center rounded-md border border-quaternary px-3 py-2 text-sm text-secondary hover:text-primary-alt sm:border-none sm:p-0",children:[(0,n.jsx)(m,{className:"mr-2 h-4 w-4"}),r("edit_gh")]})}function x(e){let{slug:t,path:r,editUrl:a,local:l,preview:i}=e;return(0,n.jsxs)("div",{className:"flex w-full flex-row justify-between sm:max-w-5xl",children:[(0,n.jsx)("div",{className:"hidden flex-row flex-nowrap items-center justify-start gap-4 sm:flex",children:(0,n.jsx)(u,{type:"docs",local:l,project:t,path:r,preview:i})}),(0,n.jsx)("div",{className:"hidden flex-row flex-nowrap items-center justify-start gap-4 sm:flex",children:(0,n.jsx)("div",{className:"flex flex-col items-end gap-y-3 sm:flex-row sm:items-center sm:gap-x-4 sm:gap-y-0",children:(0,n.jsx)(h,{editUrl:a})})})]})}function p(e){let{local:t,slug:r,path:a,editUrl:l,preview:i}=e;return(0,n.jsx)("div",{className:"flex flex-col gap-3 sm:hidden",children:(0,n.jsxs)("div",{className:"flex flex-row flex-wrap justify-between gap-2",children:[(0,n.jsx)(u,{type:"docs",local:t,project:r,path:a,preview:i}),(0,n.jsx)(h,{editUrl:l})]})})}function v(e){return(0,n.jsxs)("footer",{className:"relative flex w-full shrink-0 flex-col-reverse justify-between gap-y-3 border-t border-border bg-primary px-1 py-3 text-sm text-secondary sm:h-16 sm:flex-row sm:items-center sm:justify-center sm:gap-y-0 sm:px-4",children:[(0,n.jsx)(x,{...e}),(0,n.jsx)(p,{...e})]})}},68308:(e,t,r)=>{r.d(t,{default:()=>f});var n=r(7893),a=r(28081),l=r(45585),i=r(45478),s=r(26182);let o=(0,s.A)("menu",[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]]),c=(0,s.A)("info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]);var d=r(95745);function f(e){let{showRightSidebar:t,children:r}=e,{open:s,setOpen:f}=(0,a.useContext)(l.p);return(0,n.jsxs)("header",{className:"flex w-full items-center justify-between border-b border-tertiary px-0 pt-1 pb-2 lg:hidden",children:[(0,n.jsx)("button",{onClick:()=>f("left"==s?"none":"left"),className:"text-primary",children:"left"===s?(0,n.jsx)(i.A,{className:"h-6 w-6"}):(0,n.jsx)(o,{className:"h-6 w-6"})}),(0,n.jsx)("h1",{className:"text-lg font-bold",children:r}),(0,n.jsx)("button",{onClick:()=>f("right"==s?"none":"right"),className:(0,d.cn)("text-primary",!1===t&&"invisible"),children:"right"===s?(0,n.jsx)(i.A,{className:"h-6 w-6"}):(0,n.jsx)(c,{className:"h-6 w-6"})})]})}},85151:(e,t,r)=>{r.d(t,{A:()=>n});function n(e){return e}},93656:(e,t,r)=>{r.d(t,{default:()=>a});var n=r(41574);function a(e){let{main:t,history:r}=e;return"history"==(0,n.useSearchParams)().get("tab")&&r?r:t}}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4874],{939:(e,t)=>{"use strict";function r(e,t){let r=Object.keys(e);if(r.length!==Object.keys(t).length)return!1;for(let n=r.length;n--;){let a=r[n];if("query"===a){let r=Object.keys(e.query);if(r.length!==Object.keys(t.query).length)return!1;for(let n=r.length;n--;){let a=r[n];if(!t.query.hasOwnProperty(a)||e.query[a]!==t.query[a])return!1}}else if(!t.hasOwnProperty(a)||e[a]!==t[a])return!1}return!0}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"compareRouterStates",{enumerable:!0,get:function(){return r}})},1607:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"denormalizePagePath",{enumerable:!0,get:function(){return o}});let n=r(36133),a=r(46919);function o(e){let t=(0,a.normalizePathSep)(e);return t.startsWith("/index/")&&!(0,n.isDynamicRoute)(t)?t.slice(6):"/index"!==t?t:"/"}},3072:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(26182).A)("search",[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]])},3905:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"resolveHref",{enumerable:!0,get:function(){return p}});let n=r(38420),a=r(42380),o=r(27246),i=r(84994),s=r(90517),l=r(57237),u=r(36133),c=r(26125),d=r(82590),f=r(23395);function p(e,t,r){let p,h="string"==typeof t?t:(0,a.formatWithValidation)(t),m=h.match(/^[a-z][a-z0-9+.-]*:\/\//i),g=m?h.slice(m[0].length):h;if((g.split("?",1)[0]||"").match(/(\/\/|\\)/)){console.error("Invalid href '"+h+"' passed to next/router in page: '"+e.pathname+"'. Repeated forward-slashes (//) or backslashes \\ are not valid in the href.");let t=(0,i.normalizeRepeatedSlashes)(g);h=(m?m[0]:"")+t}if(!(0,l.isLocalURL)(h))return r?[h]:h;try{let t=h.startsWith("#")?e.asPath:e.pathname;if(h.startsWith("?")&&(t=e.asPath,(0,u.isDynamicRoute)(e.pathname))){t=e.pathname;let r=(0,d.getRouteRegex)(e.pathname);(0,f.getRouteMatcher)(r)(e.asPath)||(t=e.asPath)}p=new URL(t,"http://n")}catch(e){p=new URL("/","http://n")}try{let e=new URL(h,p);e.pathname=(0,s.normalizePathTrailingSlash)(e.pathname);let t="";if((0,u.isDynamicRoute)(e.pathname)&&e.searchParams&&r){let r=(0,n.searchParamsToUrlQuery)(e.searchParams),{result:i,params:s}=(0,c.interpolateAs)(e.pathname,e.pathname,r);i&&(t=(0,a.formatWithValidation)({pathname:i,hash:e.hash,query:(0,o.omit)(r,s)}))}let i=e.origin===p.origin?e.href.slice(e.origin.length):e.href;return r?[i,t||i]:i}catch(e){return r?[h]:h}}("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)},4916:(e,t)=>{"use strict";function r(e){return"/api"===e||!!(null==e?void 0:e.startsWith("/api/"))}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isAPIRoute",{enumerable:!0,get:function(){return r}})},7167:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o}}),r(4420);let n=r(7893);r(28081);let a=r(69414);function o(e){function t(t){return(0,n.jsx)(e,{router:(0,a.useRouter)(),...t})}return t.getInitialProps=e.getInitialProps,t.origGetInitialProps=e.origGetInitialProps,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)},13123:(e,t)=>{"use strict";function r(){let e=Object.create(null);return{on(t,r){(e[t]||(e[t]=[])).push(r)},off(t,r){e[t]&&e[t].splice(e[t].indexOf(r)>>>0,1)},emit(t){for(var r=arguments.length,n=Array(r>1?r-1:0),a=1;a<r;a++)n[a-1]=arguments[a];(e[t]||[]).slice().map(e=>{e(...n)})}}}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}})},13483:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{ESCAPE_REGEX:function(){return n},htmlEscapeAttributeString:function(){return s},htmlEscapeJsonString:function(){return i}});let r={"&":"\\u0026",">":"\\u003e","<":"\\u003c","\u2028":"\\u2028","\u2029":"\\u2029"},n=/[&><\u2028\u2029]/g,a={"&":"&",'"':""","'":"'","<":"<",">":">"},o=/[&"'<>]/g;function i(e){return e.replace(n,e=>r[e])}function s(e){return e.replace(o,e=>a[e])}},19067:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addLocale",{enumerable:!0,get:function(){return o}});let n=r(53049),a=r(95544);function o(e,t,r,o){if(!t||t===r)return e;let i=e.toLowerCase();return!o&&((0,a.pathHasPrefix)(i,"/api")||(0,a.pathHasPrefix)(i,"/"+t.toLowerCase()))?e:(0,n.addPathPrefix)(e,"/"+t)}},19691:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(26182).A)("languages",[["path",{d:"m5 8 6 6",key:"1wu5hv"}],["path",{d:"m4 14 6-6 2-3",key:"1k1g8d"}],["path",{d:"M2 5h12",key:"or177f"}],["path",{d:"M7 2h1",key:"1t2jsx"}],["path",{d:"m22 22-5-10-5 10",key:"don7ne"}],["path",{d:"M14 18h6",key:"1m8k6r"}]])},23395:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getRouteMatcher",{enumerable:!0,get:function(){return o}});let n=r(84994),a=r(44484);function o(e){let{re:t,groups:r}=e;return(0,a.safeRouteMatcher)(e=>{let a=t.exec(e);if(!a)return!1;let o=e=>{try{return decodeURIComponent(e)}catch(e){throw Object.defineProperty(new n.DecodeError("failed to decode param"),"__NEXT_ERROR_CODE",{value:"E528",enumerable:!1,configurable:!0})}},i={};for(let[e,t]of Object.entries(r)){let r=a[t.pos];void 0!==r&&(t.repeat?i[e]=r.split("/").map(e=>o(e)):i[e]=o(r))}return i})}},25101:(e,t)=>{"use strict";function r(e,t,r,n,o){let i=e[t];if(o&&o.has(t)?i=o.get(t):Array.isArray(i)?i=i.map(e=>encodeURIComponent(e)):"string"==typeof i&&(i=encodeURIComponent(i)),!i){let o="oc"===r;if("c"===r||o)return o?{param:t,value:null,type:r,treeSegment:[t,"",r]}:{param:t,value:i=n.split("/").slice(1).flatMap(t=>{var r;let n=a(t);return null!=(r=e[n.key])?r:n.key}),type:r,treeSegment:[t,i.join("/"),r]}}return{param:t,value:i,treeSegment:[t,Array.isArray(i)?i.join("/"):i,r],type: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,{PARAMETER_PATTERN:function(){return n},getDynamicParam:function(){return r},parseMatchedParameter:function(){return o},parseParameter:function(){return a}});let n=/^([^[]*)\[((?:\[[^\]]*\])|[^\]]+)\](.*)$/;function a(e){let t=e.match(n);return t?o(t[2]):o(e)}function o(e){let t=e.startsWith("[")&&e.endsWith("]");t&&(e=e.slice(1,-1));let r=e.startsWith("...");return r&&(e=e.slice(3)),{key:e,repeat:r,optional:t}}},26125:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"interpolateAs",{enumerable:!0,get:function(){return o}});let n=r(23395),a=r(82590);function o(e,t,r){let o="",i=(0,a.getRouteRegex)(e),s=i.groups,l=(t!==e?(0,n.getRouteMatcher)(i)(t):"")||r;o=e;let u=Object.keys(s);return u.every(e=>{let t=l[e]||"",{repeat:r,optional:n}=s[e],a="["+(r?"...":"")+e+"]";return n&&(a=(t?"":"/")+"["+a+"]"),r&&!Array.isArray(t)&&(t=[t]),(n||e in l)&&(o=o.replace(a,r?t.map(e=>encodeURIComponent(e)).join("/"):encodeURIComponent(t))||"/")})||(o=""),{params:u,result:o}}},27246:(e,t)=>{"use strict";function r(e,t){let r={};return Object.keys(e).forEach(n=>{t.includes(n)||(r[n]=e[n])}),r}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"omit",{enumerable:!0,get:function(){return r}})},33811:e=>{(()=>{"use strict";"undefined"!=typeof __nccwpck_require__&&(__nccwpck_require__.ab="//");var t={};(()=>{function e(e,t){void 0===t&&(t={});for(var r=function(e){for(var t=[],r=0;r<e.length;){var n=e[r];if("*"===n||"+"===n||"?"===n){t.push({type:"MODIFIER",index:r,value:e[r++]});continue}if("\\"===n){t.push({type:"ESCAPED_CHAR",index:r++,value:e[r++]});continue}if("{"===n){t.push({type:"OPEN",index:r,value:e[r++]});continue}if("}"===n){t.push({type:"CLOSE",index:r,value:e[r++]});continue}if(":"===n){for(var a="",o=r+1;o<e.length;){var i=e.charCodeAt(o);if(i>=48&&i<=57||i>=65&&i<=90||i>=97&&i<=122||95===i){a+=e[o++];continue}break}if(!a)throw TypeError("Missing parameter name at ".concat(r));t.push({type:"NAME",index:r,value:a}),r=o;continue}if("("===n){var s=1,l="",o=r+1;if("?"===e[o])throw TypeError('Pattern cannot start with "?" at '.concat(o));for(;o<e.length;){if("\\"===e[o]){l+=e[o++]+e[o++];continue}if(")"===e[o]){if(0==--s){o++;break}}else if("("===e[o]&&(s++,"?"!==e[o+1]))throw TypeError("Capturing groups are not allowed at ".concat(o));l+=e[o++]}if(s)throw TypeError("Unbalanced pattern at ".concat(r));if(!l)throw TypeError("Missing pattern at ".concat(r));t.push({type:"PATTERN",index:r,value:l}),r=o;continue}t.push({type:"CHAR",index:r,value:e[r++]})}return t.push({type:"END",index:r,value:""}),t}(e),n=t.prefixes,o=void 0===n?"./":n,i=t.delimiter,s=void 0===i?"/#?":i,l=[],u=0,c=0,d="",f=function(e){if(c<r.length&&r[c].type===e)return r[c++].value},p=function(e){var t=f(e);if(void 0!==t)return t;var n=r[c],a=n.type,o=n.index;throw TypeError("Unexpected ".concat(a," at ").concat(o,", expected ").concat(e))},h=function(){for(var e,t="";e=f("CHAR")||f("ESCAPED_CHAR");)t+=e;return t},m=function(e){for(var t=0;t<s.length;t++){var r=s[t];if(e.indexOf(r)>-1)return!0}return!1},g=function(e){var t=l[l.length-1],r=e||(t&&"string"==typeof t?t:"");if(t&&!r)throw TypeError('Must have text between two parameters, missing text after "'.concat(t.name,'"'));return!r||m(r)?"[^".concat(a(s),"]+?"):"(?:(?!".concat(a(r),")[^").concat(a(s),"])+?")};c<r.length;){var _=f("CHAR"),v=f("NAME"),E=f("PATTERN");if(v||E){var b=_||"";-1===o.indexOf(b)&&(d+=b,b=""),d&&(l.push(d),d=""),l.push({name:v||u++,prefix:b,suffix:"",pattern:E||g(b),modifier:f("MODIFIER")||""});continue}var y=_||f("ESCAPED_CHAR");if(y){d+=y;continue}if(d&&(l.push(d),d=""),f("OPEN")){var b=h(),P=f("NAME")||"",R=f("PATTERN")||"",O=h();p("CLOSE"),l.push({name:P||(R?u++:""),pattern:P&&!R?g(b):R,prefix:b,suffix:O,modifier:f("MODIFIER")||""});continue}p("END")}return l}function r(e,t){void 0===t&&(t={});var r=o(t),n=t.encode,a=void 0===n?function(e){return e}:n,i=t.validate,s=void 0===i||i,l=e.map(function(e){if("object"==typeof e)return new RegExp("^(?:".concat(e.pattern,")$"),r)});return function(t){for(var r="",n=0;n<e.length;n++){var o=e[n];if("string"==typeof o){r+=o;continue}var i=t?t[o.name]:void 0,u="?"===o.modifier||"*"===o.modifier,c="*"===o.modifier||"+"===o.modifier;if(Array.isArray(i)){if(!c)throw TypeError('Expected "'.concat(o.name,'" to not repeat, but got an array'));if(0===i.length){if(u)continue;throw TypeError('Expected "'.concat(o.name,'" to not be empty'))}for(var d=0;d<i.length;d++){var f=a(i[d],o);if(s&&!l[n].test(f))throw TypeError('Expected all "'.concat(o.name,'" to match "').concat(o.pattern,'", but got "').concat(f,'"'));r+=o.prefix+f+o.suffix}continue}if("string"==typeof i||"number"==typeof i){var f=a(String(i),o);if(s&&!l[n].test(f))throw TypeError('Expected "'.concat(o.name,'" to match "').concat(o.pattern,'", but got "').concat(f,'"'));r+=o.prefix+f+o.suffix;continue}if(!u){var p=c?"an array":"a string";throw TypeError('Expected "'.concat(o.name,'" to be ').concat(p))}}return r}}function n(e,t,r){void 0===r&&(r={});var n=r.decode,a=void 0===n?function(e){return e}:n;return function(r){var n=e.exec(r);if(!n)return!1;for(var o=n[0],i=n.index,s=Object.create(null),l=1;l<n.length;l++)!function(e){if(void 0!==n[e]){var r=t[e-1];"*"===r.modifier||"+"===r.modifier?s[r.name]=n[e].split(r.prefix+r.suffix).map(function(e){return a(e,r)}):s[r.name]=a(n[e],r)}}(l);return{path:o,index:i,params:s}}}function a(e){return e.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}function o(e){return e&&e.sensitive?"":"i"}function i(e,t,r){void 0===r&&(r={});for(var n=r.strict,i=void 0!==n&&n,s=r.start,l=r.end,u=r.encode,c=void 0===u?function(e){return e}:u,d=r.delimiter,f=r.endsWith,p="[".concat(a(void 0===f?"":f),"]|$"),h="[".concat(a(void 0===d?"/#?":d),"]"),m=void 0===s||s?"^":"",g=0;g<e.length;g++){var _=e[g];if("string"==typeof _)m+=a(c(_));else{var v=a(c(_.prefix)),E=a(c(_.suffix));if(_.pattern)if(t&&t.push(_),v||E)if("+"===_.modifier||"*"===_.modifier){var b="*"===_.modifier?"?":"";m+="(?:".concat(v,"((?:").concat(_.pattern,")(?:").concat(E).concat(v,"(?:").concat(_.pattern,"))*)").concat(E,")").concat(b)}else m+="(?:".concat(v,"(").concat(_.pattern,")").concat(E,")").concat(_.modifier);else{if("+"===_.modifier||"*"===_.modifier)throw TypeError('Can not repeat "'.concat(_.name,'" without a prefix and suffix'));m+="(".concat(_.pattern,")").concat(_.modifier)}else m+="(?:".concat(v).concat(E,")").concat(_.modifier)}}if(void 0===l||l)i||(m+="".concat(h,"?")),m+=r.endsWith?"(?=".concat(p,")"):"$";else{var y=e[e.length-1],P="string"==typeof y?h.indexOf(y[y.length-1])>-1:void 0===y;i||(m+="(?:".concat(h,"(?=").concat(p,"))?")),P||(m+="(?=".concat(h,"|").concat(p,")"))}return new RegExp(m,o(r))}function s(t,r,n){if(t instanceof RegExp){var a;if(!r)return t;for(var l=/\((?:\?<(.*?)>)?(?!\?)/g,u=0,c=l.exec(t.source);c;)r.push({name:c[1]||u++,prefix:"",suffix:"",modifier:"",pattern:""}),c=l.exec(t.source);return t}return Array.isArray(t)?(a=t.map(function(e){return s(e,r,n).source}),new RegExp("(?:".concat(a.join("|"),")"),o(n))):i(e(t,n),r,n)}Object.defineProperty(t,"__esModule",{value:!0}),t.pathToRegexp=t.tokensToRegexp=t.regexpToFunction=t.match=t.tokensToFunction=t.compile=t.parse=void 0,t.parse=e,t.compile=function(t,n){return r(e(t,n),n)},t.tokensToFunction=r,t.match=function(e,t){var r=[];return n(s(e,r,t),r,t)},t.regexpToFunction=n,t.tokensToRegexp=i,t.pathToRegexp=s})(),e.exports=t})()},36133:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{getSortedRouteObjects:function(){return n.getSortedRouteObjects},getSortedRoutes:function(){return n.getSortedRoutes},isDynamicRoute:function(){return a.isDynamicRoute}});let n=r(56875),a=r(37575)},37575:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isDynamicRoute",{enumerable:!0,get:function(){return i}});let n=r(44328),a=/\/[^/]*\[[^/]+\][^/]*(?=\/|$)/,o=/\/\[[^/]+\](?=\/|$)/;function i(e,t){return(void 0===t&&(t=!0),(0,n.isInterceptionRouteAppPath)(e)&&(e=(0,n.extractInterceptionRouteInformation)(e).interceptedRoute),t)?o.test(e):a.test(e)}},37588:(e,t,r)=>{"use strict";r.d(t,{A:()=>p});var n=r(41574),a=r(28081),o=r.t(a,2),i=r(40739),s=o["use".trim()],l=r(32936),u=r(55605),c=r(16353),d=r(7893),f=r(62491);function p(e){let{Link:t,config:r,getPathname:o,...p}=function(e,t){var r,o,i;let f={...r=t||{},localePrefix:"object"==typeof(i=r.localePrefix)?i:{mode:i||"always"},localeCookie:!!((o=r.localeCookie)??1)&&{name:"NEXT_LOCALE",sameSite:"lax",..."object"==typeof o&&o},localeDetection:r.localeDetection??!0,alternateLinks:r.alternateLinks??!0},p=f.pathnames,h=(0,a.forwardRef)(function({href:t,locale:r,...n},a){let o,i;"object"==typeof t?(o=t.pathname,i=t.params):o=t;let c=(0,l._x)(t),h=e(),g=(0,l.yL)(h)?s(h):h,_=c?m({locale:r||g,href:null==p?o:{pathname:o,params:i},forcePrefix:null!=r||void 0}):o;return(0,d.jsx)(u.default,{ref:a,href:"object"==typeof t?{...t,pathname:_}:_,locale:r,localeCookie:f.localeCookie,...n})});function m(e){let t,{forcePrefix:r,href:n,locale:a}=e;return null==p?"object"==typeof n?(t=n.pathname,n.query&&(t+=(0,c.Zn)(n.query))):t=n:t=(0,c.FP)({locale:a,...(0,c.TK)(n),pathnames:f.pathnames}),(0,c.x3)(t,a,f,r)}function g(e){return function(t,...r){return e(m(t),...r)}}return{config:f,Link:h,redirect:g(n.redirect),permanentRedirect:g(n.permanentRedirect),getPathname:m}}(i.Ym,e);return{...p,Link:t,usePathname:function(){let e=function(e){let t=(0,n.usePathname)(),r=(0,i.Ym)();return(0,a.useMemo)(()=>{if(!t)return t;let n=t,a=(0,l.XP)(r,e.localePrefix);if((0,l.wO)(a,t))n=(0,l.MY)(t,a);else if("never"!==e.localePrefix.mode&&e.localePrefix.prefixes){let e=(0,l.bL)(r);(0,l.wO)(e,t)&&(n=(0,l.MY)(t,e))}return n},[e.localePrefix,r,t])}(r),t=(0,i.Ym)();return(0,a.useMemo)(()=>e&&r.pathnames?(0,c.aM)(t,e,r.pathnames):e,[t,e])},useRouter:function(){let e=(0,n.useRouter)(),t=(0,i.Ym)(),s=(0,n.usePathname)();return(0,a.useMemo)(()=>{function n(e){return function(n,a){let{locale:i,...l}=a||{},u=[o({href:n,locale:i||t,forcePrefix:null!=i||void 0})];Object.keys(l).length>0&&u.push(l),(0,f.A)(r.localeCookie,s,t,i),e(...u)}}return{...e,push:n(e.push),replace:n(e.replace),prefetch:n(e.prefetch)}},[t,s,e])},getPathname:o}}},37613:(e,t,r)=>{"use strict";r.d(t,{rd:()=>f});var n=r(41574),a=r(28081),o=r(69904),i=r(77671),s=r(69414),l=r.n(s);function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n;n=r[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}function c(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r.push.apply(r,n)}return r})(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function d(e,t){if(null==e)return{};var r,n,a=function(e,t){if(null==e)return{};var r,n,a={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}function f(e){var t=e||{},r=t.customRouter,s=d(t,["customRouter"]),l=r?r():(0,n.useRouter)(),f=(0,i.p1)(),p=f.start,h=f.stop,m=f.disableSameURL,g=f.startPosition,_=f.delay,v=f.stopDelay,E=(0,a.useRef)(null);function b(e){return function(t,r){var n,a,i=r||{},l=i.showProgress,f=i.startPosition,E=i.disableSameURL,b=i.basePath,y=i.i18nPath,P=i.delay,R=i.stopDelay,O=d(i,["showProgress","startPosition","disableSameURL","basePath","i18nPath","delay","stopDelay"]),x=c(u({},s),{showProgress:l,startPosition:f,disableSameURL:E,basePath:b,i18nPath:y,delay:P,stopDelay:R}),S=void 0!==x.disableSameURL?x.disableSameURL:m,w=void 0!==x.startPosition?x.startPosition:g,C=void 0!==x.delay?x.delay:_,A=void 0!==x.stopDelay?x.stopDelay:v;if(!1===x.showProgress)return e(t,O);var j=new URL(location.href),T=new URL(t,location.href);x.i18nPath&&((a=(n=j).pathname.split("/")).length>1&&a[1]&&(a.splice(1,1),n.pathname=a.join("/")||"/"),j=n),x.basePath&&(T.pathname=x.basePath+("/"!==T.pathname?T.pathname:""));var N=(0,o.W_)(T,j);return N&&S||(p(w,C),setTimeout(function(){N&&h(A)},C||0)),e(t,O)}}function y(e){return function(t){var r=t||{},n=r.showProgress,a=r.startPosition,o=r.disableSameURL,i=r.basePath,l=r.i18nPath,f=r.delay,m=r.stopDelay,E=d(r,["showProgress","startPosition","disableSameURL","basePath","i18nPath","delay","stopDelay"]),b=c(u({},s),{showProgress:n,startPosition:a,disableSameURL:o,basePath:i,i18nPath:l,delay:f,stopDelay:m}),y=void 0!==b.startPosition?b.startPosition:g,P=void 0!==b.delay?b.delay:_,R=void 0!==b.stopDelay?b.stopDelay:v;if(!1===b.showProgress)return e(E);p(y,P);var O=e(E);return setTimeout(function(){h(R)},P||0),O}}function P(e){return function(t,r){return e(t,r)}}return E.current?(E.current.push=b(l.push),E.current.replace=b(l.replace),E.current.prefetch=P(l.prefetch),E.current.back=y(l.back),E.current.refresh=y(l.refresh),E.current.forward=y(l.forward)):E.current=c(u({},l),{push:b(l.push),replace:b(l.replace),prefetch:P(l.prefetch),back:y(l.back),refresh:y(l.refresh),forward:y(l.forward)}),E.current}var p=(0,i.bU)(function(e){var t=(0,n.usePathname)(),r=(0,n.useSearchParams)();return(0,i.Uw)(e,[t,r]),null});p.displayName="AppProgress",(0,i.li)(p),(0,i.bU)(function(e){var t=e.shallowRouting,r=void 0!==t&&t,n=e.disableSameURL,s=void 0===n||n,u=e.startPosition,c=void 0===u?0:u,d=e.delay,f=void 0===d?0:d,p=e.stopDelay,h=void 0===p?0:p,m=(0,i.p1)(),g=m.start,_=m.stop;return(0,a.useEffect)(function(){var e=function(e){var t=new URL(e,location.href),n=new URL(location.href);(!(r&&(0,o.uS)(t,n))||!s)&&((0,o.W_)(t,n)&&s||g(c,f))},t=function(){return _(h)};return l().events.on("routeChangeStart",e),l().events.on("routeChangeComplete",t),l().events.on("routeChangeError",t),function(){l().events.off("routeChangeStart",e),l().events.off("routeChangeComplete",t),l().events.off("routeChangeError",t)}},[]),null}).displayName="PagesProgress"},38836:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"detectDomainLocale",{enumerable:!0,get:function(){return r}});let r=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r]};("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)},40243:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{cancelIdleCallback:function(){return n},requestIdleCallback:function(){return r}});let r="undefined"!=typeof self&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(e){let t=Date.now();return self.setTimeout(function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})},1)},n="undefined"!=typeof self&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(e){return clearTimeout(e)};("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)},40744:(e,t,r)=>{"use strict";r.d(t,{uB:()=>N});var n=/[\\\/_+.#"@\[\(\{&]/,a=/[\\\/_+.#"@\[\(\{&]/g,o=/[\s-]/,i=/[\s-]/g;function s(e){return e.toLowerCase().replace(i," ")}var l=r(46216),u=r(28081),c=r(21851),d=r(68285),f=r(46988),p='[cmdk-group=""]',h='[cmdk-group-items=""]',m='[cmdk-item=""]',g="".concat(m,':not([aria-disabled="true"])'),_="cmdk-item-select",v="data-value",E=(e,t,r)=>(function(e,t,r){return function e(t,r,s,l,u,c,d){if(c===r.length)return u===t.length?1:.99;var f=`${u},${c}`;if(void 0!==d[f])return d[f];for(var p,h,m,g,_=l.charAt(c),v=s.indexOf(_,u),E=0;v>=0;)(p=e(t,r,s,l,v+1,c+1,d))>E&&(v===u?p*=1:n.test(t.charAt(v-1))?(p*=.8,(m=t.slice(u,v-1).match(a))&&u>0&&(p*=Math.pow(.999,m.length))):o.test(t.charAt(v-1))?(p*=.9,(g=t.slice(u,v-1).match(i))&&u>0&&(p*=Math.pow(.999,g.length))):(p*=.17,u>0&&(p*=Math.pow(.999,v-u))),t.charAt(v)!==r.charAt(c)&&(p*=.9999)),(p<.1&&s.charAt(v-1)===l.charAt(c+1)||l.charAt(c+1)===l.charAt(c)&&s.charAt(v-1)!==l.charAt(c))&&.1*(h=e(t,r,s,l,v+1,c+2,d))>p&&(p=.1*h),p>E&&(E=p),v=s.indexOf(_,v+1);return d[f]=E,E}(e=r&&r.length>0?`${e+" "+r.join(" ")}`:e,t,s(e),s(t),0,0,{})})(e,t,r),b=u.createContext(void 0),y=()=>u.useContext(b),P=u.createContext(void 0),R=()=>u.useContext(P),O=u.createContext(void 0),x=u.forwardRef((e,t)=>{let r=M(()=>{var t,r;return{search:"",value:null!=(r=null!=(t=e.value)?t:e.defaultValue)?r:"",selectedItemId:void 0,filtered:{count:0,items:new Map,groups:new Set}}}),n=M(()=>new Set),a=M(()=>new Map),o=M(()=>new Map),i=M(()=>new Set),s=I(e),{label:l,children:f,value:y,onValueChange:R,filter:O,shouldFilter:x,loop:S,disablePointerSelection:w=!1,vimBindings:C=!0,...A}=e,j=(0,d.B)(),T=(0,d.B)(),N=(0,d.B)(),L=u.useRef(null),k=U();D(()=>{if(void 0!==y){let e=y.trim();r.current.value=e,B.emit()}},[y]),D(()=>{k(6,z)},[]);let B=u.useMemo(()=>({subscribe:e=>(i.current.add(e),()=>i.current.delete(e)),snapshot:()=>r.current,setState:(e,t,n)=>{var a,o,i,l;if(!Object.is(r.current[e],t)){if(r.current[e]=t,"search"===e)V(),G(),k(1,q);else if("value"===e){if(document.activeElement.hasAttribute("cmdk-input")||document.activeElement.hasAttribute("cmdk-root")){let e=document.getElementById(N);e?e.focus():null==(a=document.getElementById(j))||a.focus()}if(k(7,()=>{var e;r.current.selectedItemId=null==(e=K())?void 0:e.id,B.emit()}),n||k(5,z),(null==(o=s.current)?void 0:o.value)!==void 0){null==(l=(i=s.current).onValueChange)||l.call(i,null!=t?t:"");return}}B.emit()}},emit:()=>{i.current.forEach(e=>e())}}),[]),X=u.useMemo(()=>({value:(e,t,n)=>{var a;t!==(null==(a=o.current.get(e))?void 0:a.value)&&(o.current.set(e,{value:t,keywords:n}),r.current.filtered.items.set(e,W(t,n)),k(2,()=>{G(),B.emit()}))},item:(e,t)=>(n.current.add(e),t&&(a.current.has(t)?a.current.get(t).add(e):a.current.set(t,new Set([e]))),k(3,()=>{V(),G(),r.current.value||q(),B.emit()}),()=>{o.current.delete(e),n.current.delete(e),r.current.filtered.items.delete(e);let t=K();k(4,()=>{V(),(null==t?void 0:t.getAttribute("id"))===e&&q(),B.emit()})}),group:e=>(a.current.has(e)||a.current.set(e,new Set),()=>{o.current.delete(e),a.current.delete(e)}),filter:()=>s.current.shouldFilter,label:l||e["aria-label"],getDisablePointerSelection:()=>s.current.disablePointerSelection,listId:j,inputId:N,labelId:T,listInnerRef:L}),[]);function W(e,t){var n,a;let o=null!=(a=null==(n=s.current)?void 0:n.filter)?a:E;return e?o(e,r.current.search,t):0}function G(){if(!r.current.search||!1===s.current.shouldFilter)return;let e=r.current.filtered.items,t=[];r.current.filtered.groups.forEach(r=>{let n=a.current.get(r),o=0;n.forEach(t=>{o=Math.max(e.get(t),o)}),t.push([r,o])});let n=L.current;Y().sort((t,r)=>{var n,a;let o=t.getAttribute("id"),i=r.getAttribute("id");return(null!=(n=e.get(i))?n:0)-(null!=(a=e.get(o))?a:0)}).forEach(e=>{let t=e.closest(h);t?t.appendChild(e.parentElement===t?e:e.closest("".concat(h," > *"))):n.appendChild(e.parentElement===n?e:e.closest("".concat(h," > *")))}),t.sort((e,t)=>t[1]-e[1]).forEach(e=>{var t;let r=null==(t=L.current)?void 0:t.querySelector("".concat(p,"[").concat(v,'="').concat(encodeURIComponent(e[0]),'"]'));null==r||r.parentElement.appendChild(r)})}function q(){let e=Y().find(e=>"true"!==e.getAttribute("aria-disabled")),t=null==e?void 0:e.getAttribute(v);B.setState("value",t||void 0)}function V(){var e,t,i,l;if(!r.current.search||!1===s.current.shouldFilter){r.current.filtered.count=n.current.size;return}r.current.filtered.groups=new Set;let u=0;for(let a of n.current){let n=W(null!=(t=null==(e=o.current.get(a))?void 0:e.value)?t:"",null!=(l=null==(i=o.current.get(a))?void 0:i.keywords)?l:[]);r.current.filtered.items.set(a,n),n>0&&u++}for(let[e,t]of a.current)for(let n of t)if(r.current.filtered.items.get(n)>0){r.current.filtered.groups.add(e);break}r.current.filtered.count=u}function z(){var e,t,r;let n=K();n&&((null==(e=n.parentElement)?void 0:e.firstChild)===n&&(null==(r=null==(t=n.closest(p))?void 0:t.querySelector('[cmdk-group-heading=""]'))||r.scrollIntoView({block:"nearest"})),n.scrollIntoView({block:"nearest"}))}function K(){var e;return null==(e=L.current)?void 0:e.querySelector("".concat(m,'[aria-selected="true"]'))}function Y(){var e;return Array.from((null==(e=L.current)?void 0:e.querySelectorAll(g))||[])}function $(e){let t=Y()[e];t&&B.setState("value",t.getAttribute(v))}function J(e){var t;let r=K(),n=Y(),a=n.findIndex(e=>e===r),o=n[a+e];null!=(t=s.current)&&t.loop&&(o=a+e<0?n[n.length-1]:a+e===n.length?n[0]:n[a+e]),o&&B.setState("value",o.getAttribute(v))}function Z(e){let t=K(),r=null==t?void 0:t.closest(p),n;for(;r&&!n;)n=null==(r=e>0?function(e,t){let r=e.nextElementSibling;for(;r;){if(r.matches(t))return r;r=r.nextElementSibling}}(r,p):function(e,t){let r=e.previousElementSibling;for(;r;){if(r.matches(t))return r;r=r.previousElementSibling}}(r,p))?void 0:r.querySelector(g);n?B.setState("value",n.getAttribute(v)):J(e)}let Q=()=>$(Y().length-1),ee=e=>{e.preventDefault(),e.metaKey?Q():e.altKey?Z(1):J(1)},et=e=>{e.preventDefault(),e.metaKey?$(0):e.altKey?Z(-1):J(-1)};return u.createElement(c.sG.div,{ref:t,tabIndex:-1,...A,"cmdk-root":"",onKeyDown:e=>{var t;null==(t=A.onKeyDown)||t.call(A,e);let r=e.nativeEvent.isComposing||229===e.keyCode;if(!(e.defaultPrevented||r))switch(e.key){case"n":case"j":C&&e.ctrlKey&&ee(e);break;case"ArrowDown":ee(e);break;case"p":case"k":C&&e.ctrlKey&&et(e);break;case"ArrowUp":et(e);break;case"Home":e.preventDefault(),$(0);break;case"End":e.preventDefault(),Q();break;case"Enter":{e.preventDefault();let t=K();if(t){let e=new Event(_);t.dispatchEvent(e)}}}}},u.createElement("label",{"cmdk-label":"",htmlFor:X.inputId,id:X.labelId,style:F},l),H(e,e=>u.createElement(P.Provider,{value:B},u.createElement(b.Provider,{value:X},e))))}),S=u.forwardRef((e,t)=>{var r,n;let a=(0,d.B)(),o=u.useRef(null),i=u.useContext(O),s=y(),l=I(e),p=null!=(n=null==(r=l.current)?void 0:r.forceMount)?n:null==i?void 0:i.forceMount;D(()=>{if(!p)return s.item(a,null==i?void 0:i.id)},[p]);let h=k(a,o,[e.value,e.children,o],e.keywords),m=R(),g=L(e=>e.value&&e.value===h.current),v=L(e=>!!p||!1===s.filter()||!e.search||e.filtered.items.get(a)>0);function E(){var e,t;b(),null==(t=(e=l.current).onSelect)||t.call(e,h.current)}function b(){m.setState("value",h.current,!0)}if(u.useEffect(()=>{let t=o.current;if(!(!t||e.disabled))return t.addEventListener(_,E),()=>t.removeEventListener(_,E)},[v,e.onSelect,e.disabled]),!v)return null;let{disabled:P,value:x,onSelect:S,forceMount:w,keywords:C,...A}=e;return u.createElement(c.sG.div,{ref:(0,f.t)(o,t),...A,id:a,"cmdk-item":"",role:"option","aria-disabled":!!P,"aria-selected":!!g,"data-disabled":!!P,"data-selected":!!g,onPointerMove:P||s.getDisablePointerSelection()?void 0:b,onClick:P?void 0:E},e.children)}),w=u.forwardRef((e,t)=>{let{heading:r,children:n,forceMount:a,...o}=e,i=(0,d.B)(),s=u.useRef(null),l=u.useRef(null),p=(0,d.B)(),h=y(),m=L(e=>!!a||!1===h.filter()||!e.search||e.filtered.groups.has(i));D(()=>h.group(i),[]),k(i,s,[e.value,e.heading,l]);let g=u.useMemo(()=>({id:i,forceMount:a}),[a]);return u.createElement(c.sG.div,{ref:(0,f.t)(s,t),...o,"cmdk-group":"",role:"presentation",hidden:!m||void 0},r&&u.createElement("div",{ref:l,"cmdk-group-heading":"","aria-hidden":!0,id:p},r),H(e,e=>u.createElement("div",{"cmdk-group-items":"",role:"group","aria-labelledby":r?p:void 0},u.createElement(O.Provider,{value:g},e))))}),C=u.forwardRef((e,t)=>{let{alwaysRender:r,...n}=e,a=u.useRef(null),o=L(e=>!e.search);return r||o?u.createElement(c.sG.div,{ref:(0,f.t)(a,t),...n,"cmdk-separator":"",role:"separator"}):null}),A=u.forwardRef((e,t)=>{let{onValueChange:r,...n}=e,a=null!=e.value,o=R(),i=L(e=>e.search),s=L(e=>e.selectedItemId),l=y();return u.useEffect(()=>{null!=e.value&&o.setState("search",e.value)},[e.value]),u.createElement(c.sG.input,{ref:t,...n,"cmdk-input":"",autoComplete:"off",autoCorrect:"off",spellCheck:!1,"aria-autocomplete":"list",role:"combobox","aria-expanded":!0,"aria-controls":l.listId,"aria-labelledby":l.labelId,"aria-activedescendant":s,id:l.inputId,type:"text",value:a?e.value:i,onChange:e=>{a||o.setState("search",e.target.value),null==r||r(e.target.value)}})}),j=u.forwardRef((e,t)=>{let{children:r,label:n="Suggestions",...a}=e,o=u.useRef(null),i=u.useRef(null),s=L(e=>e.selectedItemId),l=y();return u.useEffect(()=>{if(i.current&&o.current){let e=i.current,t=o.current,r,n=new ResizeObserver(()=>{r=requestAnimationFrame(()=>{let r=e.offsetHeight;t.style.setProperty("--cmdk-list-height",r.toFixed(1)+"px")})});return n.observe(e),()=>{cancelAnimationFrame(r),n.unobserve(e)}}},[]),u.createElement(c.sG.div,{ref:(0,f.t)(o,t),...a,"cmdk-list":"",role:"listbox",tabIndex:-1,"aria-activedescendant":s,"aria-label":n,id:l.listId},H(e,e=>u.createElement("div",{ref:(0,f.t)(i,l.listInnerRef),"cmdk-list-sizer":""},e)))}),T=u.forwardRef((e,t)=>{let{open:r,onOpenChange:n,overlayClassName:a,contentClassName:o,container:i,...s}=e;return u.createElement(l.bL,{open:r,onOpenChange:n},u.createElement(l.ZL,{container:i},u.createElement(l.hJ,{"cmdk-overlay":"",className:a}),u.createElement(l.UC,{"aria-label":e.label,"cmdk-dialog":"",className:o},u.createElement(x,{ref:t,...s}))))}),N=Object.assign(x,{List:j,Item:S,Input:A,Group:w,Separator:C,Dialog:T,Empty:u.forwardRef((e,t)=>L(e=>0===e.filtered.count)?u.createElement(c.sG.div,{ref:t,...e,"cmdk-empty":"",role:"presentation"}):null),Loading:u.forwardRef((e,t)=>{let{progress:r,children:n,label:a="Loading...",...o}=e;return u.createElement(c.sG.div,{ref:t,...o,"cmdk-loading":"",role:"progressbar","aria-valuenow":r,"aria-valuemin":0,"aria-valuemax":100,"aria-label":a},H(e,e=>u.createElement("div",{"aria-hidden":!0},e)))})});function I(e){let t=u.useRef(e);return D(()=>{t.current=e}),t}var D="undefined"==typeof window?u.useEffect:u.useLayoutEffect;function M(e){let t=u.useRef();return void 0===t.current&&(t.current=e()),t}function L(e){let t=R(),r=()=>e(t.snapshot());return u.useSyncExternalStore(t.subscribe,r,r)}function k(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],a=u.useRef(),o=y();return D(()=>{var i;let s=(()=>{var e;for(let t of r){if("string"==typeof t)return t.trim();if("object"==typeof t&&"current"in t)return t.current?null==(e=t.current.textContent)?void 0:e.trim():a.current}})(),l=n.map(e=>e.trim());o.value(e,s,l),null==(i=t.current)||i.setAttribute(v,s),a.current=s}),a}var U=()=>{let[e,t]=u.useState(),r=M(()=>new Map);return D(()=>{r.current.forEach(e=>e()),r.current=new Map},[e]),(e,n)=>{r.current.set(e,n),t({})}};function H(e,t){let r,{asChild:n,children:a}=e;return n&&u.isValidElement(a)?u.cloneElement("function"==typeof(r=a.type)?r(a.props):"render"in r?r.render(a.props):a,{ref:a.ref},t(a.props.children)):t(a)}var F={position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0"}},43216:(e,t,r)=>{"use strict";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 v},handleClientScriptLoad:function(){return m},initScriptLoader:function(){return g}});let n=r(4420),a=r(71777),o=r(7893),i=n._(r(63220)),s=a._(r(28081)),l=r(435),u=r(33751),c=r(40243),d=r(13483),f=new Map,p=new Set,h=e=>{let{src:t,id:r,onLoad:n=()=>{},onReady:a=null,dangerouslySetInnerHTML:o,children:s="",strategy:l="afterInteractive",onError:c,stylesheets:d}=e,h=r||t;if(h&&p.has(h))return;if(f.has(t)){p.add(h),f.get(t).then(n,c);return}let m=()=>{a&&a(),p.add(h)},g=document.createElement("script"),_=new Promise((e,t)=>{g.addEventListener("load",function(t){e(),n&&n.call(this,t),m()}),g.addEventListener("error",function(e){t(e)})}).catch(function(e){c&&c(e)});o?(g.innerHTML=o.__html||"",m()):s?(g.textContent="string"==typeof s?s:Array.isArray(s)?s.join(""):"",m()):t&&(g.src=t,f.set(t,_)),(0,u.setAttributesFromProps)(g,e),"worker"===l&&g.setAttribute("type","text/partytown"),g.setAttribute("data-nscript",l),d&&(e=>{if(i.default.preinit)return e.forEach(e=>{i.default.preinit(e,{as:"style"})});{let t=document.head;e.forEach(e=>{let r=document.createElement("link");r.type="text/css",r.rel="stylesheet",r.href=e,t.appendChild(r)})}})(d),document.body.appendChild(g)};function m(e){let{strategy:t="afterInteractive"}=e;"lazyOnload"===t?window.addEventListener("load",()=>{(0,c.requestIdleCallback)(()=>h(e))}):h(e)}function g(e){e.forEach(m),[...document.querySelectorAll('[data-nscript="beforeInteractive"]'),...document.querySelectorAll('[data-nscript="beforePageRender"]')].forEach(e=>{let t=e.id||e.getAttribute("src");p.add(t)})}function _(e){let{id:t,src:r="",onLoad:n=()=>{},onReady:a=null,strategy:u="afterInteractive",onError:f,stylesheets:m,...g}=e,{updateScripts:_,scripts:v,getIsSsr:E,appDir:b,nonce:y}=(0,s.useContext)(l.HeadManagerContext);y=g.nonce||y;let P=(0,s.useRef)(!1);(0,s.useEffect)(()=>{let e=t||r;P.current||(a&&e&&p.has(e)&&a(),P.current=!0)},[a,t,r]);let R=(0,s.useRef)(!1);if((0,s.useEffect)(()=>{if(!R.current){if("afterInteractive"===u)h(e);else"lazyOnload"===u&&("complete"===document.readyState?(0,c.requestIdleCallback)(()=>h(e)):window.addEventListener("load",()=>{(0,c.requestIdleCallback)(()=>h(e))}));R.current=!0}},[e,u]),("beforeInteractive"===u||"worker"===u)&&(_?(v[u]=(v[u]||[]).concat([{id:t,src:r,onLoad:n,onReady:a,onError:f,...g,nonce:y}]),_(v)):E&&E()?p.add(t||r):E&&!E()&&h({...e,nonce:y})),b){if(m&&m.forEach(e=>{i.default.preinit(e,{as:"style"})}),"beforeInteractive"===u)if(!r)return g.dangerouslySetInnerHTML&&(g.children=g.dangerouslySetInnerHTML.__html,delete g.dangerouslySetInnerHTML),(0,o.jsx)("script",{nonce:y,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+(0,d.htmlEscapeJsonString)(JSON.stringify([0,{...g,id:t}]))+")"}});else return i.default.preload(r,g.integrity?{as:"script",integrity:g.integrity,nonce:y,crossOrigin:g.crossOrigin}:{as:"script",nonce:y,crossOrigin:g.crossOrigin}),(0,o.jsx)("script",{nonce:y,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+(0,d.htmlEscapeJsonString)(JSON.stringify([r,{...g,id:t}]))+")"}});"afterInteractive"===u&&r&&i.default.preload(r,g.integrity?{as:"script",integrity:g.integrity,nonce:y,crossOrigin:g.crossOrigin}:{as:"script",nonce:y,crossOrigin:g.crossOrigin})}return null}Object.defineProperty(_,"__nextScript",{value:!0});let v=_;("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)},43983:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addPathSuffix",{enumerable:!0,get:function(){return a}});let n=r(13142);function a(e,t){if(!e.startsWith("/")||!t)return e;let{pathname:r,query:a,hash:o}=(0,n.parsePath)(e);return""+r+t+a+o}},44363:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{hasAdjacentParameterIssues:function(){return n},normalizeAdjacentParameters:function(){return a},normalizeTokensForRegexp:function(){return o},stripParameterSeparators:function(){return i}});let r="_NEXTSEP_";function n(e){return"string"==typeof e&&!!(/\/\(\.{1,3}\):[^/\s]+/.test(e)||/:[a-zA-Z_][a-zA-Z0-9_]*:[a-zA-Z_][a-zA-Z0-9_]*/.test(e))}function a(e){let t=e;return(t=t.replace(/(\([^)]*\)):([^/\s]+)/g,`$1${r}:$2`)).replace(/:([^:/\s)]+)(?=:)/g,`:$1${r}`)}function o(e){return e.map(e=>"object"==typeof e&&null!==e&&"modifier"in e&&("*"===e.modifier||"+"===e.modifier)&&"prefix"in e&&"suffix"in e&&""===e.prefix&&""===e.suffix?{...e,prefix:"/"}:e)}function i(e){let t={};for(let[n,a]of Object.entries(e))"string"==typeof a?t[n]=a.replace(RegExp(`^${r}`),""):Array.isArray(a)?t[n]=a.map(e=>"string"==typeof e?e.replace(RegExp(`^${r}`),""):e):t[n]=a;return t}},44484:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{safeCompile:function(){return i},safePathToRegexp:function(){return o},safeRegexpToFunction:function(){return s},safeRouteMatcher:function(){return l}});let n=r(33811),a=r(44363);function o(e,t,r){if("string"!=typeof e)return(0,n.pathToRegexp)(e,t,r);let o=(0,a.hasAdjacentParameterIssues)(e),i=o?(0,a.normalizeAdjacentParameters)(e):e;try{return(0,n.pathToRegexp)(i,t,r)}catch(i){if(!o)try{let o=(0,a.normalizeAdjacentParameters)(e);return(0,n.pathToRegexp)(o,t,r)}catch(e){}throw i}}function i(e,t){let r=(0,a.hasAdjacentParameterIssues)(e),o=r?(0,a.normalizeAdjacentParameters)(e):e;try{return(0,n.compile)(o,t)}catch(o){if(!r)try{let r=(0,a.normalizeAdjacentParameters)(e);return(0,n.compile)(r,t)}catch(e){}throw o}}function s(e,t){let r=(0,n.regexpToFunction)(e,t||[]);return e=>{let t=r(e);return!!t&&{...t,params:(0,a.stripParameterSeparators)(t.params)}}}function l(e){return t=>{let r=e(t);return!!r&&(0,a.stripParameterSeparators)(r)}}},45478:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(26182).A)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},45972:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{createRouteLoader:function(){return g},getClientBuildManifest:function(){return h},isAssetError:function(){return c},markAssetError:function(){return u}}),r(4420),r(57631);let n=r(65706),a=r(40243),o=r(25379),i=r(86148);function s(e,t,r){let n,a=t.get(e);if(a)return"future"in a?a.future:Promise.resolve(a);let o=new Promise(e=>{n=e});return t.set(e,{resolve:n,future:o}),r?r().then(e=>(n(e),e)).catch(r=>{throw t.delete(e),r}):o}let l=Symbol("ASSET_LOAD_ERROR");function u(e){return Object.defineProperty(e,l,{})}function c(e){return e&&l in e}let d=function(e){try{return e=document.createElement("link"),!!window.MSInputMethodContext&&!!document.documentMode||e.relList.supports("prefetch")}catch(e){return!1}}(),f=()=>(0,o.getDeploymentIdQueryOrEmptyString)();function p(e,t,r){return new Promise((n,o)=>{let i=!1;e.then(e=>{i=!0,n(e)}).catch(o),(0,a.requestIdleCallback)(()=>setTimeout(()=>{i||o(r)},t))})}function h(){return self.__BUILD_MANIFEST?Promise.resolve(self.__BUILD_MANIFEST):p(new Promise(e=>{let t=self.__BUILD_MANIFEST_CB;self.__BUILD_MANIFEST_CB=()=>{e(self.__BUILD_MANIFEST),t&&t()}}),3800,u(Object.defineProperty(Error("Failed to load client build manifest"),"__NEXT_ERROR_CODE",{value:"E273",enumerable:!1,configurable:!0})))}function m(e,t){return h().then(r=>{if(!(t in r))throw u(Object.defineProperty(Error("Failed to lookup route: "+t),"__NEXT_ERROR_CODE",{value:"E446",enumerable:!1,configurable:!0}));let a=r[t].map(t=>e+"/_next/"+(0,i.encodeURIPath)(t));return{scripts:a.filter(e=>e.endsWith(".js")).map(e=>(0,n.__unsafeCreateTrustedScriptURL)(e)+f()),css:a.filter(e=>e.endsWith(".css")).map(e=>e+f())}})}function g(e){let t=new Map,r=new Map,n=new Map,o=new Map;function i(e){{var t;let n=r.get(e.toString());return n?n:document.querySelector('script[src^="'+e+'"]')?Promise.resolve():(r.set(e.toString(),n=new Promise((r,n)=>{(t=document.createElement("script")).onload=r,t.onerror=()=>n(u(Object.defineProperty(Error("Failed to load script: "+e),"__NEXT_ERROR_CODE",{value:"E74",enumerable:!1,configurable:!0}))),t.crossOrigin=void 0,t.src=e,document.body.appendChild(t)})),n)}}function l(e){let t=n.get(e);return t||n.set(e,t=fetch(e,{credentials:"same-origin"}).then(t=>{if(!t.ok)throw Object.defineProperty(Error("Failed to load stylesheet: "+e),"__NEXT_ERROR_CODE",{value:"E189",enumerable:!1,configurable:!0});return t.text().then(t=>({href:e,content:t}))}).catch(e=>{throw u(e)})),t}return{whenEntrypoint:e=>s(e,t),onEntrypoint(e,r){(r?Promise.resolve().then(()=>r()).then(e=>({component:e&&e.default||e,exports:e}),e=>({error:e})):Promise.resolve(void 0)).then(r=>{let n=t.get(e);n&&"resolve"in n?r&&(t.set(e,r),n.resolve(r)):(r?t.set(e,r):t.delete(e),o.delete(e))})},loadRoute(r,n){return s(r,o,()=>{let a;return p(m(e,r).then(e=>{let{scripts:n,css:a}=e;return Promise.all([t.has(r)?[]:Promise.all(n.map(i)),Promise.all(a.map(l))])}).then(e=>this.whenEntrypoint(r).then(t=>({entrypoint:t,styles:e[1]}))),3800,u(Object.defineProperty(Error("Route did not complete loading: "+r),"__NEXT_ERROR_CODE",{value:"E12",enumerable:!1,configurable:!0}))).then(e=>{let{entrypoint:t,styles:r}=e,n=Object.assign({styles:r},t);return"error"in t?t:n}).catch(e=>{if(n)throw e;return{error:e}}).finally(()=>null==a?void 0:a())})},prefetch(t){let r;return(r=navigator.connection)&&(r.saveData||/2g/.test(r.effectiveType))?Promise.resolve():m(e,t).then(e=>Promise.all(d?e.scripts.map(e=>{var t,r,n;return t=e.toString(),r="script",new Promise((e,a)=>{let o='\n link[rel="prefetch"][href^="'+t+'"],\n link[rel="preload"][href^="'+t+'"],\n script[src^="'+t+'"]';if(document.querySelector(o))return e();n=document.createElement("link"),r&&(n.as=r),n.rel="prefetch",n.crossOrigin=void 0,n.onload=e,n.onerror=()=>a(u(Object.defineProperty(Error("Failed to prefetch: "+t),"__NEXT_ERROR_CODE",{value:"E268",enumerable:!1,configurable:!0}))),n.href=t,document.head.appendChild(n)})}):[])).then(()=>{(0,a.requestIdleCallback)(()=>this.loadRoute(t,!0).catch(()=>{}))}).catch(()=>{})}}}("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)},46216:(e,t,r)=>{"use strict";r.d(t,{UC:()=>U,VY:()=>W,ZL:()=>N,bL:()=>w,bm:()=>G,hE:()=>X,hJ:()=>D,l9:()=>C});var n=r(28081),a=r(51016),o=r(46988),i=r(25020),s=r(68285),l=r(45415),u=r(5721),c=r(39734),d=r(15673),f=r(17312),p=r(21851),h=r(89087),m=r(58307),g=r(79923),_=r(69536),v=r(85126),E=r(7893),b=Object.defineProperty,y=(e,t)=>b(e,"name",{value:t,configurable:!0}),P="Dialog",[R,O]=(0,i.A)(P),[x,S]=R(P),w=y(e=>{let{__scopeDialog:t,children:r,open:a,defaultOpen:o,onOpenChange:i,modal:u=!0}=e,c=n.useRef(null),d=n.useRef(null),[f,p]=(0,l.i)({prop:a,defaultProp:null!=o&&o,onChange:i,caller:P}),[h,m]=n.useState(0),[g,_]=n.useState(0);return(0,E.jsx)(x,{scope:t,triggerRef:c,contentRef:d,contentId:(0,s.B)(),titleId:(0,s.B)(),descriptionId:(0,s.B)(),titlePresent:h>0,descriptionPresent:g>0,setTitleCount:m,setDescriptionCount:_,open:f,onOpenChange:p,onOpenToggle:n.useCallback(()=>p(e=>!e),[p]),modal:u,children:r})},"Dialog"),C=n.forwardRef(y(function(e,t){let{__scopeDialog:r,...n}=e,i=S("DialogTrigger",r),s=(0,o.s)(t,i.triggerRef);return(0,E.jsx)(p.sG.button,{type:"button","aria-haspopup":"dialog","aria-expanded":i.open,"aria-controls":i.open?i.contentId:void 0,"data-state":q(i.open),...n,ref:s,onClick:(0,a.mK)(e.onClick,i.onOpenToggle)})},"DialogTrigger")),A="DialogPortal",[j,T]=R(A,{forceMount:void 0}),N=y(e=>{let{__scopeDialog:t,forceMount:r,children:a,container:o}=e,i=S(A,t);return(0,E.jsx)(j,{scope:t,forceMount:r,children:n.Children.map(a,e=>(0,E.jsx)(f.C,{present:r||i.open,children:(0,E.jsx)(d.Z,{asChild:!0,container:o,children:e})}))})},"DialogPortal"),I="DialogOverlay",D=n.forwardRef(y(function(e,t){let r=T(I,e.__scopeDialog),{forceMount:n=r.forceMount,...a}=e,o=S(I,e.__scopeDialog);return o.modal?(0,E.jsx)(f.C,{present:n||o.open,children:(0,E.jsx)(L,{...a,ref:t})}):null},"DialogOverlay")),M=(0,v.TL)("DialogOverlay.RemoveScroll"),L=n.forwardRef(y(function(e,t){let{__scopeDialog:r,...n}=e,a=S(I,r),i=(0,u.e0)(),s=(0,o.s)(t,i);return(0,E.jsx)(g.A,{as:M,allowPinchZoom:!0,shards:[a.contentRef],children:(0,E.jsx)(p.sG.div,{"data-state":q(a.open),...n,ref:s,style:{pointerEvents:"auto",...n.style}})})},"DialogOverlayImpl")),k="DialogContent",U=n.forwardRef(y(function(e,t){let r=T(k,e.__scopeDialog),{forceMount:n=r.forceMount,...a}=e,o=S(k,e.__scopeDialog);return(0,E.jsx)(f.C,{present:n||o.open,children:o.modal?(0,E.jsx)(H,{...a,ref:t}):(0,E.jsx)(F,{...a,ref:t})})},"DialogContent")),H=n.forwardRef(y(function(e,t){let r=S(k,e.__scopeDialog),i=n.useRef(null),s=(0,o.s)(t,r.contentRef,i);return n.useEffect(()=>{let e=i.current;if(e)return(0,_.Eq)(e)},[]),(0,E.jsx)(B,{...e,ref:s,trapFocus:r.open,disableOutsidePointerEvents:r.open,onCloseAutoFocus:(0,a.mK)(e.onCloseAutoFocus,e=>{var t;e.preventDefault(),null==(t=r.triggerRef.current)||t.focus()}),onPointerDownOutside:(0,a.mK)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,r=0===t.button&&!0===t.ctrlKey;(2===t.button||r)&&e.preventDefault()}),onFocusOutside:(0,a.mK)(e.onFocusOutside,e=>e.preventDefault())})},"DialogContentModal")),F=n.forwardRef(y(function(e,t){let r=S(k,e.__scopeDialog),a=n.useRef(!1),o=n.useRef(!1);return(0,E.jsx)(B,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{var n,i;null==(n=e.onCloseAutoFocus)||n.call(e,t),t.defaultPrevented||(a.current||null==(i=r.triggerRef.current)||i.focus(),t.preventDefault()),a.current=!1,o.current=!1},onInteractOutside:t=>{var n,i;null==(n=e.onInteractOutside)||n.call(e,t),t.defaultPrevented||(a.current=!0,"pointerdown"===t.detail.originalEvent.type&&(o.current=!0));let s=t.target;(null==(i=r.triggerRef.current)?void 0:i.contains(s))&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&o.current&&t.preventDefault()}})},"DialogContentNonModal")),B=n.forwardRef(y(function(e,t){let{__scopeDialog:r,trapFocus:n,onOpenAutoFocus:a,onCloseAutoFocus:o,...i}=e,s=S(k,r);return(0,h.Oh)(),(0,E.jsx)(E.Fragment,{children:(0,E.jsx)(c.n,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:a,onUnmountAutoFocus:o,children:(0,E.jsx)(u.qW,{role:"dialog",id:s.contentId,"aria-describedby":s.descriptionPresent?s.descriptionId:void 0,"aria-labelledby":s.titlePresent?s.titleId:void 0,"data-state":q(s.open),...i,ref:t,deferPointerDownOutside:!0,onDismiss:()=>s.onOpenChange(!1)})})})},"DialogContentImpl")),X=n.forwardRef(y(function(e,t){let{__scopeDialog:r,...n}=e,a=S("DialogTitle",r),{setTitleCount:o}=a;return(0,m.N)(()=>(o(e=>e+1),()=>o(e=>e-1)),[o]),(0,E.jsx)(p.sG.h2,{id:a.titleId,...n,ref:t})},"DialogTitle")),W=n.forwardRef(y(function(e,t){let{__scopeDialog:r,...n}=e,a=S("DialogDescription",r),{setDescriptionCount:o}=a;return(0,m.N)(()=>(o(e=>e+1),()=>o(e=>e-1)),[o]),(0,E.jsx)(p.sG.p,{id:a.descriptionId,...n,ref:t})},"DialogDescription")),G=n.forwardRef(y(function(e,t){let{__scopeDialog:r,...n}=e,o=S("DialogClose",r);return(0,E.jsx)(p.sG.button,{type:"button",...n,ref:t,onClick:(0,a.mK)(e.onClick,()=>o.onOpenChange(!1))})},"DialogClose"));function q(e){return e?"open":"closed"}y(q,"getState")},46919:(e,t)=>{"use strict";function r(e){return e.replace(/\\/g,"/")}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizePathSep",{enumerable:!0,get:function(){return r}})},47054:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{ACTION_SUFFIX:function(){return h},APP_DIR_ALIAS:function(){return D},CACHE_ONE_YEAR:function(){return S},DOT_NEXT_ALIAS:function(){return N},ESLINT_DEFAULT_DIRS:function(){return ee},GSP_NO_RETURNED_VALUE:function(){return K},GSSP_COMPONENT_MEMBER_ERROR:function(){return J},GSSP_NO_RETURNED_VALUE:function(){return Y},HTML_CONTENT_TYPE_HEADER:function(){return n},INFINITE_CACHE:function(){return w},INSTRUMENTATION_HOOK_FILENAME:function(){return j},JSON_CONTENT_TYPE_HEADER:function(){return a},MATCHED_PATH_HEADER:function(){return s},MIDDLEWARE_FILENAME:function(){return C},MIDDLEWARE_LOCATION_REGEXP:function(){return A},NEXT_BODY_SUFFIX:function(){return _},NEXT_CACHE_IMPLICIT_TAG_ID:function(){return x},NEXT_CACHE_REVALIDATED_TAGS_HEADER:function(){return E},NEXT_CACHE_REVALIDATE_TAG_TOKEN_HEADER:function(){return b},NEXT_CACHE_SOFT_TAG_MAX_LENGTH:function(){return O},NEXT_CACHE_TAGS_HEADER:function(){return v},NEXT_CACHE_TAG_MAX_ITEMS:function(){return P},NEXT_CACHE_TAG_MAX_LENGTH:function(){return R},NEXT_DATA_SUFFIX:function(){return m},NEXT_INTERCEPTION_MARKER_PREFIX:function(){return i},NEXT_META_SUFFIX:function(){return g},NEXT_QUERY_PARAM_PREFIX:function(){return o},NEXT_RESUME_HEADER:function(){return y},NON_STANDARD_NODE_ENV:function(){return Z},PAGES_DIR_ALIAS:function(){return T},PRERENDER_REVALIDATE_HEADER:function(){return l},PRERENDER_REVALIDATE_ONLY_GENERATED_HEADER:function(){return u},PUBLIC_DIR_MIDDLEWARE_CONFLICT:function(){return X},ROOT_DIR_ALIAS:function(){return I},RSC_ACTION_CLIENT_WRAPPER_ALIAS:function(){return B},RSC_ACTION_ENCRYPTION_ALIAS:function(){return F},RSC_ACTION_PROXY_ALIAS:function(){return k},RSC_ACTION_VALIDATE_ALIAS:function(){return L},RSC_CACHE_WRAPPER_ALIAS:function(){return U},RSC_DYNAMIC_IMPORT_WRAPPER_ALIAS:function(){return H},RSC_MOD_REF_PROXY_ALIAS:function(){return M},RSC_PREFETCH_SUFFIX:function(){return c},RSC_SEGMENTS_DIR_SUFFIX:function(){return d},RSC_SEGMENT_SUFFIX:function(){return f},RSC_SUFFIX:function(){return p},SERVER_PROPS_EXPORT_ERROR:function(){return z},SERVER_PROPS_GET_INIT_PROPS_CONFLICT:function(){return G},SERVER_PROPS_SSG_CONFLICT:function(){return q},SERVER_RUNTIME:function(){return et},SSG_FALLBACK_EXPORT_ERROR:function(){return Q},SSG_GET_INITIAL_PROPS_CONFLICT:function(){return W},STATIC_STATUS_PAGE_GET_INITIAL_PROPS_ERROR:function(){return V},TEXT_PLAIN_CONTENT_TYPE_HEADER:function(){return r},UNSTABLE_REVALIDATE_RENAME_ERROR:function(){return $},WEBPACK_LAYERS:function(){return en},WEBPACK_RESOURCE_QUERIES:function(){return ea}});let r="text/plain",n="text/html; charset=utf-8",a="application/json; charset=utf-8",o="nxtP",i="nxtI",s="x-matched-path",l="x-prerender-revalidate",u="x-prerender-revalidate-if-generated",c=".prefetch.rsc",d=".segments",f=".segment.rsc",p=".rsc",h=".action",m=".json",g=".meta",_=".body",v="x-next-cache-tags",E="x-next-revalidated-tags",b="x-next-revalidate-tag-token",y="next-resume",P=128,R=256,O=1024,x="_N_T_",S=31536e3,w=0xfffffffe,C="middleware",A=`(?:src/)?${C}`,j="instrumentation",T="private-next-pages",N="private-dot-next",I="private-next-root-dir",D="private-next-app-dir",M="private-next-rsc-mod-ref-proxy",L="private-next-rsc-action-validate",k="private-next-rsc-server-reference",U="private-next-rsc-cache-wrapper",H="private-next-rsc-track-dynamic-import",F="private-next-rsc-action-encryption",B="private-next-rsc-action-client-wrapper",X="You can not have a '_next' folder inside of your public folder. This conflicts with the internal '/_next' route. https://nextjs.org/docs/messages/public-next-folder-conflict",W="You can not use getInitialProps with getStaticProps. To use SSG, please remove your getInitialProps",G="You can not use getInitialProps with getServerSideProps. Please remove getInitialProps.",q="You can not use getStaticProps or getStaticPaths with getServerSideProps. To use SSG, please remove getServerSideProps",V="can not have getInitialProps/getServerSideProps, https://nextjs.org/docs/messages/404-get-initial-props",z="pages with `getServerSideProps` can not be exported. See more info here: https://nextjs.org/docs/messages/gssp-export",K="Your `getStaticProps` function did not return an object. Did you forget to add a `return`?",Y="Your `getServerSideProps` function did not return an object. Did you forget to add a `return`?",$="The `unstable_revalidate` property is available for general use.\nPlease use `revalidate` instead.",J="can not be attached to a page's component and must be exported from the page. See more info here: https://nextjs.org/docs/messages/gssp-component-member",Z='You are using a non-standard "NODE_ENV" value in your environment. This creates inconsistencies in the project and is strongly advised against. Read more: https://nextjs.org/docs/messages/non-standard-node-env',Q="Pages with `fallback` enabled in `getStaticPaths` can not be exported. See more info here: https://nextjs.org/docs/messages/ssg-fallback-true-export",ee=["app","pages","components","lib","src"],et={edge:"edge",experimentalEdge:"experimental-edge",nodejs:"nodejs"},er={shared:"shared",reactServerComponents:"rsc",serverSideRendering:"ssr",actionBrowser:"action-browser",apiNode:"api-node",apiEdge:"api-edge",middleware:"middleware",instrument:"instrument",edgeAsset:"edge-asset",appPagesBrowser:"app-pages-browser",pagesDirBrowser:"pages-dir-browser",pagesDirEdge:"pages-dir-edge",pagesDirNode:"pages-dir-node"},en={...er,GROUP:{builtinReact:[er.reactServerComponents,er.actionBrowser],serverOnly:[er.reactServerComponents,er.actionBrowser,er.instrument,er.middleware],neutralTarget:[er.apiNode,er.apiEdge],clientOnly:[er.serverSideRendering,er.appPagesBrowser],bundled:[er.reactServerComponents,er.actionBrowser,er.serverSideRendering,er.appPagesBrowser,er.shared,er.instrument,er.middleware],appPages:[er.reactServerComponents,er.serverSideRendering,er.appPagesBrowser,er.actionBrowser]}},ea={edgeSSREntry:"__next_edge_ssr_entry__",metadata:"__next_metadata__",metadataRoute:"__next_metadata_route__",metadataImageMeta:"__next_metadata_image_meta__"}},48120:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"escapeStringRegexp",{enumerable:!0,get:function(){return a}});let r=/[|\\{}()[\]^$+*?.-]/,n=/[|\\{}()[\]^$+*?.-]/g;function a(e){return r.test(e)?e.replace(n,"\\$&"):e}},48339:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getNextPathnameInfo",{enumerable:!0,get:function(){return i}});let n=r(80134),a=r(72040),o=r(95544);function i(e,t){var r,i;let{basePath:s,i18n:l,trailingSlash:u}=null!=(r=t.nextConfig)?r:{},c={pathname:e,trailingSlash:"/"!==e?e.endsWith("/"):u};s&&(0,o.pathHasPrefix)(c.pathname,s)&&(c.pathname=(0,a.removePathPrefix)(c.pathname,s),c.basePath=s);let d=c.pathname;if(c.pathname.startsWith("/_next/data/")&&c.pathname.endsWith(".json")){let e=c.pathname.replace(/^\/_next\/data\//,"").replace(/\.json$/,"").split("/");c.buildId=e[0],d="index"!==e[1]?"/"+e.slice(1).join("/"):"/",!0===t.parseData&&(c.pathname=d)}if(l){let e=t.i18nProvider?t.i18nProvider.analyze(c.pathname):(0,n.normalizeLocalePath)(c.pathname,l.locales);c.locale=e.detectedLocale,c.pathname=null!=(i=e.pathname)?i:c.pathname,!e.detectedLocale&&c.buildId&&(e=t.i18nProvider?t.i18nProvider.analyze(d):(0,n.normalizeLocalePath)(d,l.locales)).detectedLocale&&(c.locale=e.detectedLocale)}return c}},49080:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{createKey:function(){return G},default:function(){return z},matchesMiddleware:function(){return L}});let n=r(4420),a=r(71777),o=r(4854),i=r(45972),s=r(43216),l=a._(r(99018)),u=r(1607),c=r(80134),d=n._(r(13123)),f=r(84994),p=r(37575),h=r(84709),m=r(23395),g=r(82590),_=r(42380);r(38836);let v=r(13142),E=r(98643),b=r(65680),y=r(41057),P=r(88064),R=r(65723),O=r(3905),x=r(4916),S=r(48339),w=r(64728),C=r(939),A=r(57237),j=r(19875),T=r(27246),N=r(26125),I=r(5168),D=r(47054);function M(){return Object.assign(Object.defineProperty(Error("Route Cancelled"),"__NEXT_ERROR_CODE",{value:"E315",enumerable:!1,configurable:!0}),{cancelled:!0})}async function L(e){let t=await Promise.resolve(e.router.pageLoader.getMiddleware());if(!t)return!1;let{pathname:r}=(0,v.parsePath)(e.asPath),n=(0,R.hasBasePath)(r)?(0,y.removeBasePath)(r):r,a=(0,P.addBasePath)((0,E.addLocale)(n,e.locale));return t.some(e=>new RegExp(e.regexp).test(a))}function k(e){let t=(0,f.getLocationOrigin)();return e.startsWith(t)?e.substring(t.length):e}function U(e,t,r){let[n,a]=(0,O.resolveHref)(e,t,!0),o=(0,f.getLocationOrigin)(),i=n.startsWith(o),s=a&&a.startsWith(o);n=k(n),a=a?k(a):a;let l=i?n:(0,P.addBasePath)(n),u=r?k((0,O.resolveHref)(e,r)):a||n;return{url:l,as:s?u:(0,P.addBasePath)(u)}}function H(e,t){let r=(0,o.removeTrailingSlash)((0,u.denormalizePagePath)(e));return"/404"===r||"/_error"===r?e:(t.includes(r)||t.some(t=>{if((0,p.isDynamicRoute)(t)&&(0,g.getRouteRegex)(t).re.test(r))return e=t,!0}),(0,o.removeTrailingSlash)(e))}async function F(e){if(!await L(e)||!e.fetchData)return null;let t=await e.fetchData(),r=await function(e,t,r){let n={basePath:r.router.basePath,i18n:{locales:r.router.locales},trailingSlash:!1},a=t.headers.get("x-nextjs-rewrite"),s=a||t.headers.get("x-nextjs-matched-path"),l=t.headers.get(D.MATCHED_PATH_HEADER);if(!l||s||l.includes("__next_data_catchall")||l.includes("/_error")||l.includes("/404")||(s=l),s){if(s.startsWith("/")){let t=(0,h.parseRelativeUrl)(s),l=(0,S.getNextPathnameInfo)(t.pathname,{nextConfig:n,parseData:!0}),u=(0,o.removeTrailingSlash)(l.pathname);return Promise.all([r.router.pageLoader.getPageList(),(0,i.getClientBuildManifest)()]).then(o=>{let[i,{__rewrites:s}]=o,d=(0,E.addLocale)(l.pathname,l.locale);if((0,p.isDynamicRoute)(d)||!a&&i.includes((0,c.normalizeLocalePath)((0,y.removeBasePath)(d),r.router.locales).pathname)){let r=(0,S.getNextPathnameInfo)((0,h.parseRelativeUrl)(e).pathname,{nextConfig:n,parseData:!0});t.pathname=d=(0,P.addBasePath)(r.pathname)}if(!i.includes(u)){let e=H(u,i);e!==u&&(u=e)}let f=i.includes(u)?u:H((0,c.normalizeLocalePath)((0,y.removeBasePath)(t.pathname),r.router.locales).pathname,i);if((0,p.isDynamicRoute)(f)){let e=(0,m.getRouteMatcher)((0,g.getRouteRegex)(f))(d);Object.assign(t.query,e||{})}return{type:"rewrite",parsedAs:t,resolvedHref:f}})}let t=(0,v.parsePath)(e);return Promise.resolve({type:"redirect-external",destination:""+(0,w.formatNextPathnameInfo)({...(0,S.getNextPathnameInfo)(t.pathname,{nextConfig:n,parseData:!0}),defaultLocale:r.router.defaultLocale,buildId:""})+t.query+t.hash})}let u=t.headers.get("x-nextjs-redirect");if(u){if(u.startsWith("/")){let e=(0,v.parsePath)(u),t=(0,w.formatNextPathnameInfo)({...(0,S.getNextPathnameInfo)(e.pathname,{nextConfig:n,parseData:!0}),defaultLocale:r.router.defaultLocale,buildId:""});return Promise.resolve({type:"redirect-internal",newAs:""+t+e.query+e.hash,newUrl:""+t+e.query+e.hash})}return Promise.resolve({type:"redirect-external",destination:u})}return Promise.resolve({type:"next"})}(t.dataHref,t.response,e);return{dataHref:t.dataHref,json:t.json,response:t.response,text:t.text,cacheKey:t.cacheKey,effect:r}}let B=Symbol("SSG_DATA_NOT_FOUND");function X(e){try{return JSON.parse(e)}catch(e){return null}}function W(e){let{dataHref:t,inflightCache:r,isPrefetch:n,hasMiddleware:a,isServerRender:o,parseJSON:s,persistCache:l,isBackground:u,unstable_skipClientCache:c}=e,{href:d}=new URL(t,window.location.href),f=e=>{var u;return(function e(t,r,n){return fetch(t,{credentials:"same-origin",method:n.method||"GET",headers:Object.assign({},n.headers,{"x-nextjs-data":"1"})}).then(a=>!a.ok&&r>1&&a.status>=500?e(t,r-1,n):a)})(t,o?3:1,{headers:Object.assign({},n?{purpose:"prefetch"}:{},n&&a?{"x-middleware-prefetch":"1"}:{},{}),method:null!=(u=null==e?void 0:e.method)?u:"GET"}).then(r=>r.ok&&(null==e?void 0:e.method)==="HEAD"?{dataHref:t,response:r,text:"",json:{},cacheKey:d}:r.text().then(e=>{if(!r.ok){if(a&&[301,302,307,308].includes(r.status))return{dataHref:t,response:r,text:e,json:{},cacheKey:d};if(404===r.status){var n;if(null==(n=X(e))?void 0:n.notFound)return{dataHref:t,json:{notFound:B},response:r,text:e,cacheKey:d}}let s=Object.defineProperty(Error("Failed to load static props"),"__NEXT_ERROR_CODE",{value:"E124",enumerable:!1,configurable:!0});throw o||(0,i.markAssetError)(s),s}return{dataHref:t,json:s?X(e):null,response:r,text:e,cacheKey:d}})).then(e=>(l&&"no-cache"!==e.response.headers.get("x-middleware-cache")||delete r[d],e)).catch(e=>{throw c||delete r[d],("Failed to fetch"===e.message||"NetworkError when attempting to fetch resource."===e.message||"Load failed"===e.message)&&(0,i.markAssetError)(e),e})};return c&&l?f({}).then(e=>("no-cache"!==e.response.headers.get("x-middleware-cache")&&(r[d]=Promise.resolve(e)),e)):void 0!==r[d]?r[d]:r[d]=f(u?{method:"HEAD"}:{})}function G(){return Math.random().toString(36).slice(2,10)}function q(e){let{url:t,router:r}=e;if(t===(0,P.addBasePath)((0,E.addLocale)(r.asPath,r.locale)))throw Object.defineProperty(Error("Invariant: attempted to hard navigate to the same URL "+t+" "+location.href),"__NEXT_ERROR_CODE",{value:"E282",enumerable:!1,configurable:!0});window.location.href=t}let V=e=>{let{route:t,router:r}=e,n=!1,a=r.clc=()=>{n=!0};return()=>{if(n){let e=Object.defineProperty(Error('Abort fetching component for route: "'+t+'"'),"__NEXT_ERROR_CODE",{value:"E483",enumerable:!1,configurable:!0});throw e.cancelled=!0,e}a===r.clc&&(r.clc=null)}};class z{reload(){window.location.reload()}back(){window.history.back()}forward(){window.history.forward()}push(e,t,r){return void 0===r&&(r={}),{url:e,as:t}=U(this,e,t),this.change("pushState",e,t,r)}replace(e,t,r){return void 0===r&&(r={}),{url:e,as:t}=U(this,e,t),this.change("replaceState",e,t,r)}async _bfl(e,t,n,a){{if(!this._bfl_s&&!this._bfl_d){let t,o,{BloomFilter:s}=r(83309);try{({__routerFilterStatic:t,__routerFilterDynamic:o}=await (0,i.getClientBuildManifest)())}catch(t){if(console.error(t),a)return!0;return q({url:(0,P.addBasePath)((0,E.addLocale)(e,n||this.locale,this.defaultLocale)),router:this}),new Promise(()=>{})}(null==t?void 0:t.numHashes)&&(this._bfl_s=new s(t.numItems,t.errorRate),this._bfl_s.import(t)),(null==o?void 0:o.numHashes)&&(this._bfl_d=new s(o.numItems,o.errorRate),this._bfl_d.import(o))}let c=!1,d=!1;for(let{as:r,allowMatchCurrent:i}of[{as:e},{as:t}])if(r){let t=(0,o.removeTrailingSlash)(new URL(r,"http://n").pathname),f=(0,P.addBasePath)((0,E.addLocale)(t,n||this.locale));if(i||t!==(0,o.removeTrailingSlash)(new URL(this.asPath,"http://n").pathname)){var s,l,u;for(let e of(c=c||!!(null==(s=this._bfl_s)?void 0:s.contains(t))||!!(null==(l=this._bfl_s)?void 0:l.contains(f)),[t,f])){let t=e.split("/");for(let e=0;!d&&e<t.length+1;e++){let r=t.slice(0,e).join("/");if(r&&(null==(u=this._bfl_d)?void 0:u.contains(r))){d=!0;break}}}if(c||d){if(a)return!0;return q({url:(0,P.addBasePath)((0,E.addLocale)(e,n||this.locale,this.defaultLocale)),router:this}),new Promise(()=>{})}}}}return!1}async change(e,t,r,n,a){var u,c,d,O,x,S,w,j,I;let D,k;if(!(0,A.isLocalURL)(t))return q({url:t,router:this}),!1;let F=1===n._h;F||n.shallow||await this._bfl(r,void 0,n.locale);let X=F||n._shouldResolveHref||(0,v.parsePath)(t).pathname===(0,v.parsePath)(r).pathname,W={...this.state},G=!0!==this.isReady;this.isReady=!0;let V=this.isSsr;if(F||(this.isSsr=!1),F&&this.clc)return!1;let K=W.locale;f.ST&&performance.mark("routeChange");let{shallow:Y=!1,scroll:$=!0}=n,J={shallow:Y};this._inFlightRoute&&this.clc&&(V||z.events.emit("routeChangeError",M(),this._inFlightRoute,J),this.clc(),this.clc=null),r=(0,P.addBasePath)((0,E.addLocale)((0,R.hasBasePath)(r)?(0,y.removeBasePath)(r):r,n.locale,this.defaultLocale));let Z=(0,b.removeLocale)((0,R.hasBasePath)(r)?(0,y.removeBasePath)(r):r,W.locale);this._inFlightRoute=r;let Q=K!==W.locale;if(!F&&this.onlyAHashChange(Z)&&!Q){W.asPath=Z,z.events.emit("hashChangeStart",r,J),this.changeState(e,t,r,{...n,scroll:!1}),$&&this.scrollToHash(Z);try{await this.set(W,this.components[W.route],null)}catch(e){throw(0,l.default)(e)&&e.cancelled&&z.events.emit("routeChangeError",e,Z,J),e}return z.events.emit("hashChangeComplete",r,J),!0}let ee=(0,h.parseRelativeUrl)(t),{pathname:et,query:er}=ee;try{[D,{__rewrites:k}]=await Promise.all([this.pageLoader.getPageList(),(0,i.getClientBuildManifest)(),this.pageLoader.getMiddleware()])}catch(e){return q({url:r,router:this}),!1}this.urlIsNew(Z)||Q||(e="replaceState");let en=r;et=et?(0,o.removeTrailingSlash)((0,y.removeBasePath)(et)):et;let ea=(0,o.removeTrailingSlash)(et),eo=r.startsWith("/")&&(0,h.parseRelativeUrl)(r).pathname;if(null==(u=this.components[et])?void 0:u.__appRouter)return q({url:r,router:this}),new Promise(()=>{});let ei=!!(eo&&ea!==eo&&(!(0,p.isDynamicRoute)(ea)||!(0,m.getRouteMatcher)((0,g.getRouteRegex)(ea))(eo))),es=!n.shallow&&await L({asPath:r,locale:W.locale,router:this});if(F&&es&&(X=!1),X&&"/_error"!==et&&(n._shouldResolveHref=!0,ee.pathname=H(et,D),ee.pathname!==et&&(et=ee.pathname,ee.pathname=(0,P.addBasePath)(et),es||(t=(0,_.formatWithValidation)(ee)))),!(0,A.isLocalURL)(r))return q({url:r,router:this}),!1;en=(0,b.removeLocale)((0,y.removeBasePath)(en),W.locale),ea=(0,o.removeTrailingSlash)(et);let el=!1;if((0,p.isDynamicRoute)(ea)){let e=(0,h.parseRelativeUrl)(en),n=e.pathname,a=(0,g.getRouteRegex)(ea);el=(0,m.getRouteMatcher)(a)(n);let o=ea===n,i=o?(0,N.interpolateAs)(ea,n,er):{};if(el&&(!o||i.result))o?r=(0,_.formatWithValidation)(Object.assign({},e,{pathname:i.result,query:(0,T.omit)(er,i.params)})):Object.assign(er,el);else{let e=Object.keys(a.groups).filter(e=>!er[e]&&!a.groups[e].optional);if(e.length>0&&!es)throw Object.defineProperty(Error((o?"The provided `href` ("+t+") value is missing query values ("+e.join(", ")+") to be interpolated properly. ":"The provided `as` value ("+n+") is incompatible with the `href` value ("+ea+"). ")+"Read more: https://nextjs.org/docs/messages/"+(o?"href-interpolation-failed":"incompatible-href-as")),"__NEXT_ERROR_CODE",{value:"E344",enumerable:!1,configurable:!0})}}F||z.events.emit("routeChangeStart",r,J);let eu="/404"===this.pathname||"/_error"===this.pathname;try{let o=await this.getRouteInfo({route:ea,pathname:et,query:er,as:r,resolvedAs:en,routeProps:J,locale:W.locale,isPreview:W.isPreview,hasMiddleware:es,unstable_skipClientCache:n.unstable_skipClientCache,isQueryUpdating:F&&!this.isFallback,isMiddlewareRewrite:ei});if(F||n.shallow||await this._bfl(r,"resolvedAs"in o?o.resolvedAs:void 0,W.locale),"route"in o&&es){ea=et=o.route||ea,J.shallow||(er=Object.assign({},o.query||{},er));let e=(0,R.hasBasePath)(ee.pathname)?(0,y.removeBasePath)(ee.pathname):ee.pathname;if(el&&et!==e&&Object.keys(el).forEach(e=>{el&&er[e]===el[e]&&delete er[e]}),(0,p.isDynamicRoute)(et)){let e=!J.shallow&&o.resolvedAs?o.resolvedAs:(0,P.addBasePath)((0,E.addLocale)(new URL(r,location.href).pathname,W.locale),!0);(0,R.hasBasePath)(e)&&(e=(0,y.removeBasePath)(e));let t=(0,g.getRouteRegex)(et),n=(0,m.getRouteMatcher)(t)(new URL(e,location.href).pathname);n&&Object.assign(er,n)}}if("type"in o)if("redirect-internal"===o.type)return this.change(e,o.newUrl,o.newAs,n);else return q({url:o.destination,router:this}),new Promise(()=>{});let i=o.Component;if(i&&i.unstable_scriptLoader&&[].concat(i.unstable_scriptLoader()).forEach(e=>{(0,s.handleClientScriptLoad)(e.props)}),(o.__N_SSG||o.__N_SSP)&&o.props){if(o.props.pageProps&&o.props.pageProps.__N_REDIRECT){n.locale=!1;let t=o.props.pageProps.__N_REDIRECT;if(t.startsWith("/")&&!1!==o.props.pageProps.__N_REDIRECT_BASE_PATH){let r=(0,h.parseRelativeUrl)(t);r.pathname=H(r.pathname,D);let{url:a,as:o}=U(this,t,t);return this.change(e,a,o,n)}return q({url:t,router:this}),new Promise(()=>{})}if(W.isPreview=!!o.props.__N_PREVIEW,o.props.notFound===B){let e;try{await this.fetchComponent("/404"),e="/404"}catch(t){e="/_error"}if(o=await this.getRouteInfo({route:e,pathname:e,query:er,as:r,resolvedAs:en,routeProps:{shallow:!1},locale:W.locale,isPreview:W.isPreview,isNotFound:!0}),"type"in o)throw Object.defineProperty(Error("Unexpected middleware effect on /404"),"__NEXT_ERROR_CODE",{value:"E158",enumerable:!1,configurable:!0})}}F&&"/_error"===this.pathname&&(null==(d=self.__NEXT_DATA__.props)||null==(c=d.pageProps)?void 0:c.statusCode)===500&&(null==(O=o.props)?void 0:O.pageProps)&&(o.props.pageProps.statusCode=500);let u=n.shallow&&W.route===(null!=(x=o.route)?x:ea),f=null!=(S=n.scroll)?S:!F&&!u,_=null!=a?a:f?{x:0,y:0}:null,v={...W,route:ea,pathname:et,query:er,asPath:Z,isFallback:!1};if(F&&eu){if(o=await this.getRouteInfo({route:this.pathname,pathname:this.pathname,query:er,as:r,resolvedAs:en,routeProps:{shallow:!1},locale:W.locale,isPreview:W.isPreview,isQueryUpdating:F&&!this.isFallback}),"type"in o)throw Object.defineProperty(Error("Unexpected middleware effect on "+this.pathname),"__NEXT_ERROR_CODE",{value:"E225",enumerable:!1,configurable:!0});"/_error"===this.pathname&&(null==(j=self.__NEXT_DATA__.props)||null==(w=j.pageProps)?void 0:w.statusCode)===500&&(null==(I=o.props)?void 0:I.pageProps)&&(o.props.pageProps.statusCode=500);try{await this.set(v,o,_)}catch(e){throw(0,l.default)(e)&&e.cancelled&&z.events.emit("routeChangeError",e,Z,J),e}return!0}if(z.events.emit("beforeHistoryChange",r,J),this.changeState(e,t,r,n),!(F&&!_&&!G&&!Q&&(0,C.compareRouterStates)(v,this.state))){try{await this.set(v,o,_)}catch(e){if(e.cancelled)o.error=o.error||e;else throw e}if(o.error)throw F||z.events.emit("routeChangeError",o.error,Z,J),o.error;F||z.events.emit("routeChangeComplete",r,J),f&&/#.+$/.test(r)&&this.scrollToHash(r)}return!0}catch(e){if((0,l.default)(e)&&e.cancelled)return!1;throw e}}changeState(e,t,r,n){void 0===n&&(n={}),("pushState"!==e||(0,f.getURL)()!==r)&&(this._shallow=n.shallow,window.history[e]({url:t,as:r,options:n,__N:!0,key:this._key="pushState"!==e?this._key:G()},"",r))}async handleRouteInfoError(e,t,r,n,a,o){if(e.cancelled)throw e;if((0,i.isAssetError)(e)||o)throw z.events.emit("routeChangeError",e,n,a),q({url:n,router:this}),M();console.error(e);try{let n,{page:a,styleSheets:o}=await this.fetchComponent("/_error"),i={props:n,Component:a,styleSheets:o,err:e,error:e};if(!i.props)try{i.props=await this.getInitialProps(a,{err:e,pathname:t,query:r})}catch(e){console.error("Error in error page `getInitialProps`: ",e),i.props={}}return i}catch(e){return this.handleRouteInfoError((0,l.default)(e)?e:Object.defineProperty(Error(e+""),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0}),t,r,n,a,!0)}}async getRouteInfo(e){let{route:t,pathname:r,query:n,as:a,resolvedAs:i,routeProps:s,locale:u,hasMiddleware:d,isPreview:f,unstable_skipClientCache:p,isQueryUpdating:h,isMiddlewareRewrite:m,isNotFound:g}=e,v=t;try{var E,b,P,R;let e=this.components[v];if(s.shallow&&e&&this.route===v)return e;let t=V({route:v,router:this});d&&(e=void 0);let l=!e||"initial"in e?void 0:e,O={dataHref:this.pageLoader.getDataHref({href:(0,_.formatWithValidation)({pathname:r,query:n}),skipInterpolation:!0,asPath:g?"/404":i,locale:u}),hasMiddleware:!0,isServerRender:this.isSsr,parseJSON:!0,inflightCache:h?this.sbc:this.sdc,persistCache:!f,isPrefetch:!1,unstable_skipClientCache:p,isBackground:h},S=h&&!m?null:await F({fetchData:()=>W(O),asPath:g?"/404":i,locale:u,router:this}).catch(e=>{if(h)return null;throw e});if(S&&("/_error"===r||"/404"===r)&&(S.effect=void 0),h&&(S?S.json=self.__NEXT_DATA__.props:S={json:self.__NEXT_DATA__.props}),t(),(null==S||null==(E=S.effect)?void 0:E.type)==="redirect-internal"||(null==S||null==(b=S.effect)?void 0:b.type)==="redirect-external")return S.effect;if((null==S||null==(P=S.effect)?void 0:P.type)==="rewrite"){let t=(0,o.removeTrailingSlash)(S.effect.resolvedHref),a=await this.pageLoader.getPageList();if((!h||a.includes(t))&&(v=t,r=S.effect.resolvedHref,n={...n,...S.effect.parsedAs.query},i=(0,y.removeBasePath)((0,c.normalizeLocalePath)(S.effect.parsedAs.pathname,this.locales).pathname),e=this.components[v],s.shallow&&e&&this.route===v&&!d))return{...e,route:v}}if((0,x.isAPIRoute)(v))return q({url:a,router:this}),new Promise(()=>{});let w=l||await this.fetchComponent(v).then(e=>({Component:e.page,styleSheets:e.styleSheets,__N_SSG:e.mod.__N_SSG,__N_SSP:e.mod.__N_SSP})),C=null==S||null==(R=S.response)?void 0:R.headers.get("x-middleware-skip"),A=w.__N_SSG||w.__N_SSP;C&&(null==S?void 0:S.dataHref)&&delete this.sdc[S.dataHref];let{props:j,cacheKey:T}=await this._getData(async()=>{if(A){if((null==S?void 0:S.json)&&!C)return{cacheKey:S.cacheKey,props:S.json};let e=(null==S?void 0:S.dataHref)?S.dataHref:this.pageLoader.getDataHref({href:(0,_.formatWithValidation)({pathname:r,query:n}),asPath:i,locale:u}),t=await W({dataHref:e,isServerRender:this.isSsr,parseJSON:!0,inflightCache:C?{}:this.sdc,persistCache:!f,isPrefetch:!1,unstable_skipClientCache:p});return{cacheKey:t.cacheKey,props:t.json||{}}}return{headers:{},props:await this.getInitialProps(w.Component,{pathname:r,query:n,asPath:a,locale:u,locales:this.locales,defaultLocale:this.defaultLocale})}});return w.__N_SSP&&O.dataHref&&T&&delete this.sdc[T],this.isPreview||!w.__N_SSG||h||W(Object.assign({},O,{isBackground:!0,persistCache:!1,inflightCache:this.sbc})).catch(()=>{}),j.pageProps=Object.assign({},j.pageProps),w.props=j,w.route=v,w.query=n,w.resolvedAs=i,this.components[v]=w,w}catch(e){return this.handleRouteInfoError((0,l.getProperError)(e),r,n,a,s)}}set(e,t,r){return this.state=e,this.sub(t,this.components["/_app"].Component,r)}beforePopState(e){this._bps=e}onlyAHashChange(e){if(!this.asPath)return!1;let[t,r]=this.asPath.split("#",2),[n,a]=e.split("#",2);return!!a&&t===n&&r===a||t===n&&r!==a}scrollToHash(e){let[,t=""]=e.split("#",2);(0,I.disableSmoothScrollDuringRouteTransition)(()=>{if(""===t||"top"===t)return void window.scrollTo(0,0);let e=decodeURIComponent(t),r=document.getElementById(e);if(r)return void r.scrollIntoView();let n=document.getElementsByName(e)[0];n&&n.scrollIntoView()},{onlyHashChange:this.onlyAHashChange(e)})}urlIsNew(e){return this.asPath!==e}async prefetch(e,t,r){if(void 0===t&&(t=e),void 0===r&&(r={}),(0,j.isBot)(window.navigator.userAgent))return;let n=(0,h.parseRelativeUrl)(e),a=n.pathname,{pathname:i,query:s}=n,l=i,u=await this.pageLoader.getPageList(),c=t,d=void 0!==r.locale?r.locale||void 0:this.locale,f=await L({asPath:t,locale:d,router:this});n.pathname=H(n.pathname,u),(0,p.isDynamicRoute)(n.pathname)&&(i=n.pathname,n.pathname=i,Object.assign(s,(0,m.getRouteMatcher)((0,g.getRouteRegex)(n.pathname))((0,v.parsePath)(t).pathname)||{}),f||(e=(0,_.formatWithValidation)(n)));let E=await F({fetchData:()=>W({dataHref:this.pageLoader.getDataHref({href:(0,_.formatWithValidation)({pathname:l,query:s}),skipInterpolation:!0,asPath:c,locale:d}),hasMiddleware:!0,isServerRender:!1,parseJSON:!0,inflightCache:this.sdc,persistCache:!this.isPreview,isPrefetch:!0}),asPath:t,locale:d,router:this});if((null==E?void 0:E.effect.type)==="rewrite"&&(n.pathname=E.effect.resolvedHref,i=E.effect.resolvedHref,s={...s,...E.effect.parsedAs.query},c=E.effect.parsedAs.pathname,e=(0,_.formatWithValidation)(n)),(null==E?void 0:E.effect.type)==="redirect-external")return;let b=(0,o.removeTrailingSlash)(i);await this._bfl(t,c,r.locale,!0)&&(this.components[a]={__appRouter:!0}),await Promise.all([this.pageLoader._isSsg(b).then(t=>!!t&&W({dataHref:(null==E?void 0:E.json)?null==E?void 0:E.dataHref:this.pageLoader.getDataHref({href:e,asPath:c,locale:d}),isServerRender:!1,parseJSON:!0,inflightCache:this.sdc,persistCache:!this.isPreview,isPrefetch:!0,unstable_skipClientCache:r.unstable_skipClientCache||r.priority&&!0}).then(()=>!1).catch(()=>!1)),this.pageLoader[r.priority?"loadPage":"prefetch"](b)])}async fetchComponent(e){let t=V({route:e,router:this});try{let r=await this.pageLoader.loadPage(e);return t(),r}catch(e){throw t(),e}}_getData(e){let t=!1,r=()=>{t=!0};return this.clc=r,e().then(e=>{if(r===this.clc&&(this.clc=null),t){let e=Object.defineProperty(Error("Loading initial props cancelled"),"__NEXT_ERROR_CODE",{value:"E405",enumerable:!1,configurable:!0});throw e.cancelled=!0,e}return e})}getInitialProps(e,t){let{Component:r}=this.components["/_app"],n=this._wrapApp(r);return t.AppTree=n,(0,f.loadGetInitialProps)(r,{AppTree:n,Component:e,router:this,ctx:t})}get route(){return this.state.route}get pathname(){return this.state.pathname}get query(){return this.state.query}get asPath(){return this.state.asPath}get locale(){return this.state.locale}get isFallback(){return this.state.isFallback}get isPreview(){return this.state.isPreview}constructor(e,t,r,{initialProps:n,pageLoader:a,App:i,wrapApp:s,Component:l,err:u,subscription:c,isFallback:d,locale:m,locales:g,defaultLocale:v,domainLocales:E,isPreview:b}){this.sdc={},this.sbc={},this.isFirstPopStateEvent=!0,this._key=G(),this.onPopState=e=>{let t,{isFirstPopStateEvent:r}=this;this.isFirstPopStateEvent=!1;let n=e.state;if(!n){let{pathname:e,query:t}=this;this.changeState("replaceState",(0,_.formatWithValidation)({pathname:(0,P.addBasePath)(e),query:t}),(0,f.getURL)());return}if(n.__NA)return void window.location.reload();if(!n.__N||r&&this.locale===n.options.locale&&n.as===this.asPath)return;let{url:a,as:o,options:i,key:s}=n;this._key=s;let{pathname:l}=(0,h.parseRelativeUrl)(a);(!this.isSsr||o!==(0,P.addBasePath)(this.asPath)||l!==(0,P.addBasePath)(this.pathname))&&(!this._bps||this._bps(n))&&this.change("replaceState",a,o,Object.assign({},i,{shallow:i.shallow&&this._shallow,locale:i.locale||this.defaultLocale,_h:0}),t)};let y=(0,o.removeTrailingSlash)(e);this.components={},"/_error"!==e&&(this.components[y]={Component:l,initial:!0,props:n,err:u,__N_SSG:n&&n.__N_SSG,__N_SSP:n&&n.__N_SSP}),this.components["/_app"]={Component:i,styleSheets:[]},this.events=z.events,this.pageLoader=a;let R=(0,p.isDynamicRoute)(e)&&self.__NEXT_DATA__.autoExport;if(this.basePath="",this.sub=c,this.clc=null,this._wrapApp=s,this.isSsr=!0,this.isLocaleDomain=!1,this.isReady=!!(self.__NEXT_DATA__.gssp||self.__NEXT_DATA__.gip||self.__NEXT_DATA__.isExperimentalCompile||self.__NEXT_DATA__.appGip&&!self.__NEXT_DATA__.gsp||!R&&!self.location.search),this.state={route:y,pathname:e,query:t,asPath:R?e:r,isPreview:!!b,locale:void 0,isFallback:d},this._initialMatchesMiddlewarePromise=Promise.resolve(!1),!r.startsWith("//")){let n={locale:m},a=(0,f.getURL)();this._initialMatchesMiddlewarePromise=L({router:this,locale:m,asPath:a}).then(o=>(n._shouldResolveHref=r!==e,this.changeState("replaceState",o?a:(0,_.formatWithValidation)({pathname:(0,P.addBasePath)(e),query:t}),a,n),o))}window.addEventListener("popstate",this.onPopState)}}z.events=(0,d.default)()},56875:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{getSortedRouteObjects:function(){return a},getSortedRoutes:function(){return n}});class r{insert(e){this._insert(e.split("/").filter(Boolean),[],!1)}smoosh(){return this._smoosh()}_smoosh(e){void 0===e&&(e="/");let t=[...this.children.keys()].sort();null!==this.slugName&&t.splice(t.indexOf("[]"),1),null!==this.restSlugName&&t.splice(t.indexOf("[...]"),1),null!==this.optionalRestSlugName&&t.splice(t.indexOf("[[...]]"),1);let r=t.map(t=>this.children.get(t)._smoosh(""+e+t+"/")).reduce((e,t)=>[...e,...t],[]);if(null!==this.slugName&&r.push(...this.children.get("[]")._smoosh(e+"["+this.slugName+"]/")),!this.placeholder){let t="/"===e?"/":e.slice(0,-1);if(null!=this.optionalRestSlugName)throw Object.defineProperty(Error('You cannot define a route with the same specificity as a optional catch-all route ("'+t+'" and "'+t+"[[..."+this.optionalRestSlugName+']]").'),"__NEXT_ERROR_CODE",{value:"E458",enumerable:!1,configurable:!0});r.unshift(t)}return null!==this.restSlugName&&r.push(...this.children.get("[...]")._smoosh(e+"[..."+this.restSlugName+"]/")),null!==this.optionalRestSlugName&&r.push(...this.children.get("[[...]]")._smoosh(e+"[[..."+this.optionalRestSlugName+"]]/")),r}_insert(e,t,n){if(0===e.length){this.placeholder=!1;return}if(n)throw Object.defineProperty(Error("Catch-all must be the last part of the URL."),"__NEXT_ERROR_CODE",{value:"E392",enumerable:!1,configurable:!0});let a=e[0];if(a.startsWith("[")&&a.endsWith("]")){let r=a.slice(1,-1),i=!1;if(r.startsWith("[")&&r.endsWith("]")&&(r=r.slice(1,-1),i=!0),r.startsWith("…"))throw Object.defineProperty(Error("Detected a three-dot character ('…') at ('"+r+"'). Did you mean ('...')?"),"__NEXT_ERROR_CODE",{value:"E147",enumerable:!1,configurable:!0});if(r.startsWith("...")&&(r=r.substring(3),n=!0),r.startsWith("[")||r.endsWith("]"))throw Object.defineProperty(Error("Segment names may not start or end with extra brackets ('"+r+"')."),"__NEXT_ERROR_CODE",{value:"E421",enumerable:!1,configurable:!0});if(r.startsWith("."))throw Object.defineProperty(Error("Segment names may not start with erroneous periods ('"+r+"')."),"__NEXT_ERROR_CODE",{value:"E288",enumerable:!1,configurable:!0});function o(e,r){if(null!==e&&e!==r)throw Object.defineProperty(Error("You cannot use different slug names for the same dynamic path ('"+e+"' !== '"+r+"')."),"__NEXT_ERROR_CODE",{value:"E337",enumerable:!1,configurable:!0});t.forEach(e=>{if(e===r)throw Object.defineProperty(Error('You cannot have the same slug name "'+r+'" repeat within a single dynamic path'),"__NEXT_ERROR_CODE",{value:"E247",enumerable:!1,configurable:!0});if(e.replace(/\W/g,"")===a.replace(/\W/g,""))throw Object.defineProperty(Error('You cannot have the slug names "'+e+'" and "'+r+'" differ only by non-word symbols within a single dynamic path'),"__NEXT_ERROR_CODE",{value:"E499",enumerable:!1,configurable:!0})}),t.push(r)}if(n)if(i){if(null!=this.restSlugName)throw Object.defineProperty(Error('You cannot use both an required and optional catch-all route at the same level ("[...'+this.restSlugName+']" and "'+e[0]+'" ).'),"__NEXT_ERROR_CODE",{value:"E299",enumerable:!1,configurable:!0});o(this.optionalRestSlugName,r),this.optionalRestSlugName=r,a="[[...]]"}else{if(null!=this.optionalRestSlugName)throw Object.defineProperty(Error('You cannot use both an optional and required catch-all route at the same level ("[[...'+this.optionalRestSlugName+']]" and "'+e[0]+'").'),"__NEXT_ERROR_CODE",{value:"E300",enumerable:!1,configurable:!0});o(this.restSlugName,r),this.restSlugName=r,a="[...]"}else{if(i)throw Object.defineProperty(Error('Optional route parameters are not yet supported ("'+e[0]+'").'),"__NEXT_ERROR_CODE",{value:"E435",enumerable:!1,configurable:!0});o(this.slugName,r),this.slugName=r,a="[]"}}this.children.has(a)||this.children.set(a,new r),this.children.get(a)._insert(e.slice(1),t,n)}constructor(){this.placeholder=!0,this.children=new Map,this.slugName=null,this.restSlugName=null,this.optionalRestSlugName=null}}function n(e){let t=new r;return e.forEach(e=>t.insert(e)),t.smoosh()}function a(e,t){let r={},a=[];for(let n=0;n<e.length;n++){let o=t(e[n]);r[o]=n,a[n]=o}return n(a).map(t=>e[r[t]])}},57631:(e,t)=>{"use strict";function r(e,t){return void 0===t&&(t=""),("/"===e?"/index":/^\/index(\/|$)/.test(e)?"/index"+e:e)+t}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}})},61341:(e,t,r)=>{"use strict";function n(){return(n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}function a(e,t){if(null==e)return{};var r={};for(var n in e)if(({}).hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}function o(e,t){return(o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function i(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,o(e,t)}function s(e,t){return e.replace(RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}r.d(t,{A:()=>P});var l=r(28081),u=r(63220);let c={disabled:!1},d=l.createContext(null);var f=function(e){return e.scrollTop},p="unmounted",h="exited",m="entering",g="entered",_="exiting",v=function(e){function t(t,r){var n,a=e.call(this,t,r)||this,o=r&&!r.isMounting?t.enter:t.appear;return a.appearStatus=null,t.in?o?(n=h,a.appearStatus=m):n=g:n=t.unmountOnExit||t.mountOnEnter?p:h,a.state={status:n},a.nextCallback=null,a}i(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===p?{status:h}:null};var r=t.prototype;return r.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},r.componentDidUpdate=function(e){var t=null;if(e!==this.props){var r=this.state.status;this.props.in?r!==m&&r!==g&&(t=m):(r===m||r===g)&&(t=_)}this.updateStatus(!1,t)},r.componentWillUnmount=function(){this.cancelNextCallback()},r.getTimeouts=function(){var e,t,r,n=this.props.timeout;return e=t=r=n,null!=n&&"number"!=typeof n&&(e=n.exit,t=n.enter,r=void 0!==n.appear?n.appear:t),{exit:e,enter:t,appear:r}},r.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===m){if(this.props.unmountOnExit||this.props.mountOnEnter){var r=this.props.nodeRef?this.props.nodeRef.current:u.findDOMNode(this);r&&f(r)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===h&&this.setState({status:p})},r.performEnter=function(e){var t=this,r=this.props.enter,n=this.context?this.context.isMounting:e,a=this.props.nodeRef?[n]:[u.findDOMNode(this),n],o=a[0],i=a[1],s=this.getTimeouts(),l=n?s.appear:s.enter;if(!e&&!r||c.disabled)return void this.safeSetState({status:g},function(){t.props.onEntered(o)});this.props.onEnter(o,i),this.safeSetState({status:m},function(){t.props.onEntering(o,i),t.onTransitionEnd(l,function(){t.safeSetState({status:g},function(){t.props.onEntered(o,i)})})})},r.performExit=function(){var e=this,t=this.props.exit,r=this.getTimeouts(),n=this.props.nodeRef?void 0:u.findDOMNode(this);if(!t||c.disabled)return void this.safeSetState({status:h},function(){e.props.onExited(n)});this.props.onExit(n),this.safeSetState({status:_},function(){e.props.onExiting(n),e.onTransitionEnd(r.exit,function(){e.safeSetState({status:h},function(){e.props.onExited(n)})})})},r.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},r.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},r.setNextCallback=function(e){var t=this,r=!0;return this.nextCallback=function(n){r&&(r=!1,t.nextCallback=null,e(n))},this.nextCallback.cancel=function(){r=!1},this.nextCallback},r.onTransitionEnd=function(e,t){this.setNextCallback(t);var r=this.props.nodeRef?this.props.nodeRef.current:u.findDOMNode(this),n=null==e&&!this.props.addEndListener;if(!r||n)return void setTimeout(this.nextCallback,0);if(this.props.addEndListener){var a=this.props.nodeRef?[this.nextCallback]:[r,this.nextCallback],o=a[0],i=a[1];this.props.addEndListener(o,i)}null!=e&&setTimeout(this.nextCallback,e)},r.render=function(){var e=this.state.status;if(e===p)return null;var t=this.props,r=t.children,n=(t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef,a(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return l.createElement(d.Provider,{value:null},"function"==typeof r?r(e,n):l.cloneElement(l.Children.only(r),n))},t}(l.Component);function E(){}v.contextType=d,v.propTypes={},v.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:E,onEntering:E,onEntered:E,onExit:E,onExiting:E,onExited:E},v.UNMOUNTED=p,v.EXITED=h,v.ENTERING=m,v.ENTERED=g,v.EXITING=_;var b=function(e,t){return e&&t&&t.split(" ").forEach(function(t){e.classList?e.classList.remove(t):"string"==typeof e.className?e.className=s(e.className,t):e.setAttribute("class",s(e.className&&e.className.baseVal||"",t))})},y=function(e){function t(){for(var t,r=arguments.length,n=Array(r),a=0;a<r;a++)n[a]=arguments[a];return(t=e.call.apply(e,[this].concat(n))||this).appliedClasses={appear:{},enter:{},exit:{}},t.onEnter=function(e,r){var n=t.resolveArguments(e,r),a=n[0],o=n[1];t.removeClasses(a,"exit"),t.addClass(a,o?"appear":"enter","base"),t.props.onEnter&&t.props.onEnter(e,r)},t.onEntering=function(e,r){var n=t.resolveArguments(e,r),a=n[0],o=n[1];t.addClass(a,o?"appear":"enter","active"),t.props.onEntering&&t.props.onEntering(e,r)},t.onEntered=function(e,r){var n=t.resolveArguments(e,r),a=n[0],o=n[1]?"appear":"enter";t.removeClasses(a,o),t.addClass(a,o,"done"),t.props.onEntered&&t.props.onEntered(e,r)},t.onExit=function(e){var r=t.resolveArguments(e)[0];t.removeClasses(r,"appear"),t.removeClasses(r,"enter"),t.addClass(r,"exit","base"),t.props.onExit&&t.props.onExit(e)},t.onExiting=function(e){var r=t.resolveArguments(e)[0];t.addClass(r,"exit","active"),t.props.onExiting&&t.props.onExiting(e)},t.onExited=function(e){var r=t.resolveArguments(e)[0];t.removeClasses(r,"exit"),t.addClass(r,"exit","done"),t.props.onExited&&t.props.onExited(e)},t.resolveArguments=function(e,r){return t.props.nodeRef?[t.props.nodeRef.current,e]:[e,r]},t.getClassNames=function(e){var r=t.props.classNames,n="string"==typeof r,a=n&&r?r+"-":"",o=n?""+a+e:r[e],i=n?o+"-active":r[e+"Active"],s=n?o+"-done":r[e+"Done"];return{baseClassName:o,activeClassName:i,doneClassName:s}},t}i(t,e);var r=t.prototype;return r.addClass=function(e,t,r){var n,a=this.getClassNames(t)[r+"ClassName"],o=this.getClassNames("enter").doneClassName;"appear"===t&&"done"===r&&o&&(a+=" "+o),"active"===r&&e&&f(e),a&&(this.appliedClasses[t][r]=a,n=a,e&&n&&n.split(" ").forEach(function(t){e.classList?e.classList.add(t):(e.classList?t&&e.classList.contains(t):-1!==(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" "))||("string"==typeof e.className?e.className=e.className+" "+t:e.setAttribute("class",(e.className&&e.className.baseVal||"")+" "+t))}))},r.removeClasses=function(e,t){var r=this.appliedClasses[t],n=r.base,a=r.active,o=r.done;this.appliedClasses[t]={},n&&b(e,n),a&&b(e,a),o&&b(e,o)},r.render=function(){var e=this.props,t=(e.classNames,a(e,["classNames"]));return l.createElement(v,n({},t,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},t}(l.Component);y.defaultProps={classNames:""},y.propTypes={};let P=y},64728:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"formatNextPathnameInfo",{enumerable:!0,get:function(){return s}});let n=r(4854),a=r(53049),o=r(43983),i=r(19067);function s(e){let t=(0,i.addLocale)(e.pathname,e.locale,e.buildId?void 0:e.defaultLocale,e.ignorePrefix);return(e.buildId||!e.trailingSlash)&&(t=(0,n.removeTrailingSlash)(t)),e.buildId&&(t=(0,o.addPathSuffix)((0,a.addPathPrefix)(t,"/_next/data/"+e.buildId),"/"===e.pathname?"index.json":".json")),t=(0,a.addPathPrefix)(t,e.basePath),!e.buildId&&e.trailingSlash?t.endsWith("/")?t:(0,o.addPathSuffix)(t,"/"):(0,n.removeTrailingSlash)(t)}},65680:(e,t,r)=>{"use strict";function n(e,t){return e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"removeLocale",{enumerable:!0,get:function(){return n}}),r(13142),("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)},65706:(e,t)=>{"use strict";let r;function n(e){var t;return(null==(t=function(){if(void 0===r){var e;r=(null==(e=window.trustedTypes)?void 0:e.createPolicy("nextjs",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e}))||null}return r}())?void 0:t.createScriptURL(e))||e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"__unsafeCreateTrustedScriptURL",{enumerable:!0,get:function(){return n}}),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},69414:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{Router:function(){return o.default},createRouter:function(){return m},default:function(){return p},makePublicRouterInstance:function(){return g},useRouter:function(){return h},withRouter:function(){return l.default}});let n=r(4420),a=n._(r(28081)),o=n._(r(49080)),i=r(0),s=n._(r(99018)),l=n._(r(7167)),u={router:null,readyCallbacks:[],ready(e){if(this.router)return e();this.readyCallbacks.push(e)}},c=["pathname","route","query","asPath","components","isFallback","basePath","locale","locales","defaultLocale","isReady","isPreview","isLocaleDomain","domainLocales"],d=["push","replace","reload","back","prefetch","beforePopState"];function f(){if(!u.router)throw Object.defineProperty(Error('No router instance found.\nYou should only use "next/router" on the client side of your app.\n'),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return u.router}Object.defineProperty(u,"events",{get:()=>o.default.events}),c.forEach(e=>{Object.defineProperty(u,e,{get:()=>f()[e]})}),d.forEach(e=>{u[e]=function(){for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];return f()[e](...r)}}),["routeChangeStart","beforeHistoryChange","routeChangeComplete","routeChangeError","hashChangeStart","hashChangeComplete"].forEach(e=>{u.ready(()=>{o.default.events.on(e,function(){for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];let a="on"+e.charAt(0).toUpperCase()+e.substring(1);if(u[a])try{u[a](...r)}catch(e){console.error("Error when running the Router event: "+a),console.error((0,s.default)(e)?e.message+"\n"+e.stack:e+"")}})})});let p=u;function h(){let e=a.default.useContext(i.RouterContext);if(!e)throw Object.defineProperty(Error("NextRouter was not mounted. https://nextjs.org/docs/messages/next-router-not-mounted"),"__NEXT_ERROR_CODE",{value:"E509",enumerable:!1,configurable:!0});return e}function m(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return u.router=new o.default(...t),u.readyCallbacks.forEach(e=>e()),u.readyCallbacks=[],u.router}function g(e){let t={};for(let r of c){if("object"==typeof e[r]){t[r]=Object.assign(Array.isArray(e[r])?[]:{},e[r]);continue}t[r]=e[r]}return t.events=o.default.events,d.forEach(r=>{t[r]=function(){for(var t=arguments.length,n=Array(t),a=0;a<t;a++)n[a]=arguments[a];return e[r](...n)}}),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)},72040:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"removePathPrefix",{enumerable:!0,get:function(){return a}});let n=r(95544);function a(e,t){if(!(0,n.pathHasPrefix)(e,t))return e;let r=e.slice(t.length);return r.startsWith("/")?r:"/"+r}},72053:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(26182).A)("globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]])},74994:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(26182).A)("house",[["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"}]])},80134:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizeLocalePath",{enumerable:!0,get:function(){return n}});let r=new WeakMap;function n(e,t){let n;if(!t)return{pathname:e};let a=r.get(t);a||(a=t.map(e=>e.toLowerCase()),r.set(t,a));let o=e.split("/",2);if(!o[1])return{pathname:e};let i=o[1].toLowerCase(),s=a.indexOf(i);return s<0?{pathname:e}:(n=t[s],{pathname:e=e.slice(n.length+1)||"/",detectedLocale:n})}},82590:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{getNamedMiddlewareRegex:function(){return p},getNamedRouteRegex:function(){return f},getRouteRegex:function(){return u}});let n=r(47054),a=r(44328),o=r(48120),i=r(4854),s=r(25101);function l(e,t,r){let n={},l=1,u=[];for(let c of(0,i.removeTrailingSlash)(e).slice(1).split("/")){let e=a.INTERCEPTION_ROUTE_MARKERS.find(e=>c.startsWith(e)),i=c.match(s.PARAMETER_PATTERN);if(e&&i&&i[2]){let{key:t,optional:r,repeat:a}=(0,s.parseMatchedParameter)(i[2]);n[t]={pos:l++,repeat:a,optional:r},u.push("/"+(0,o.escapeStringRegexp)(e)+"([^/]+?)")}else if(i&&i[2]){let{key:e,repeat:t,optional:a}=(0,s.parseMatchedParameter)(i[2]);n[e]={pos:l++,repeat:t,optional:a},r&&i[1]&&u.push("/"+(0,o.escapeStringRegexp)(i[1]));let c=t?a?"(?:/(.+?))?":"/(.+?)":"/([^/]+?)";r&&i[1]&&(c=c.substring(1)),u.push(c)}else u.push("/"+(0,o.escapeStringRegexp)(c));t&&i&&i[3]&&u.push((0,o.escapeStringRegexp)(i[3]))}return{parameterizedRoute:u.join(""),groups:n}}function u(e,t){let{includeSuffix:r=!1,includePrefix:n=!1,excludeOptionalTrailingSlash:a=!1}=void 0===t?{}:t,{parameterizedRoute:o,groups:i}=l(e,r,n),s=o;return a||(s+="(?:/)?"),{re:RegExp("^"+s+"$"),groups:i}}function c(e){let t,{interceptionMarker:r,getSafeRouteKey:n,segment:a,routeKeys:i,keyPrefix:l,backreferenceDuplicateKeys:u}=e,{key:c,optional:d,repeat:f}=(0,s.parseMatchedParameter)(a),p=c.replace(/\W/g,"");l&&(p=""+l+p);let h=!1;(0===p.length||p.length>30)&&(h=!0),isNaN(parseInt(p.slice(0,1)))||(h=!0),h&&(p=n());let m=p in i;l?i[p]=""+l+c:i[p]=c;let g=r?(0,o.escapeStringRegexp)(r):"";return t=m&&u?"\\k<"+p+">":f?"(?<"+p+">.+?)":"(?<"+p+">[^/]+?)",d?"(?:/"+g+t+")?":"/"+g+t}function d(e,t,r,l,u){let d,f=(d=0,()=>{let e="",t=++d;for(;t>0;)e+=String.fromCharCode(97+(t-1)%26),t=Math.floor((t-1)/26);return e}),p={},h=[];for(let d of(0,i.removeTrailingSlash)(e).slice(1).split("/")){let e=a.INTERCEPTION_ROUTE_MARKERS.some(e=>d.startsWith(e)),i=d.match(s.PARAMETER_PATTERN);if(e&&i&&i[2])h.push(c({getSafeRouteKey:f,interceptionMarker:i[1],segment:i[2],routeKeys:p,keyPrefix:t?n.NEXT_INTERCEPTION_MARKER_PREFIX:void 0,backreferenceDuplicateKeys:u}));else if(i&&i[2]){l&&i[1]&&h.push("/"+(0,o.escapeStringRegexp)(i[1]));let e=c({getSafeRouteKey:f,segment:i[2],routeKeys:p,keyPrefix:t?n.NEXT_QUERY_PARAM_PREFIX:void 0,backreferenceDuplicateKeys:u});l&&i[1]&&(e=e.substring(1)),h.push(e)}else h.push("/"+(0,o.escapeStringRegexp)(d));r&&i&&i[3]&&h.push((0,o.escapeStringRegexp)(i[3]))}return{namedParameterizedRoute:h.join(""),routeKeys:p}}function f(e,t){var r,n,a;let o=d(e,t.prefixRouteKeys,null!=(r=t.includeSuffix)&&r,null!=(n=t.includePrefix)&&n,null!=(a=t.backreferenceDuplicateKeys)&&a),i=o.namedParameterizedRoute;return t.excludeOptionalTrailingSlash||(i+="(?:/)?"),{...u(e,t),namedRegex:"^"+i+"$",routeKeys:o.routeKeys}}function p(e,t){let{parameterizedRoute:r}=l(e,!1,!1),{catchAll:n=!0}=t;if("/"===r)return{namedRegex:"^/"+(n?".*":"")+"$"};let{namedParameterizedRoute:a}=d(e,!1,!1,!1,!1);return{namedRegex:"^"+a+(n?"(?:(/.*)?)":"")+"$"}}},83309:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"BloomFilter",{enumerable:!0,get:function(){return r}});class r{static from(e,t){void 0===t&&(t=1e-4);let n=new r(e.length,t);for(let t of e)n.add(t);return n}export(){return{numItems:this.numItems,errorRate:this.errorRate,numBits:this.numBits,numHashes:this.numHashes,bitArray:this.bitArray}}import(e){this.numItems=e.numItems,this.errorRate=e.errorRate,this.numBits=e.numBits,this.numHashes=e.numHashes,this.bitArray=e.bitArray}add(e){this.getHashValues(e).forEach(e=>{this.bitArray[e]=1})}contains(e){return this.getHashValues(e).every(e=>this.bitArray[e])}getHashValues(e){let t=[];for(let r=1;r<=this.numHashes;r++){let n=function(e){let t=0;for(let r=0;r<e.length;r++)t=Math.imul(t^e.charCodeAt(r),0x5bd1e995),t^=t>>>13,t=Math.imul(t,0x5bd1e995);return t>>>0}(""+e+r)%this.numBits;t.push(n)}return t}constructor(e,t=1e-4){this.numItems=e,this.errorRate=t,this.numBits=Math.ceil(-(e*Math.log(t))/(Math.log(2)*Math.log(2))),this.numHashes=Math.ceil(this.numBits/e*Math.log(2)),this.bitArray=Array(this.numBits).fill(0)}}},84709:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"parseRelativeUrl",{enumerable:!0,get:function(){return o}});let n=r(84994),a=r(38420);function o(e,t,r){void 0===r&&(r=!0);let o=new URL((0,n.getLocationOrigin)()),i=t?new URL(t,o):e.startsWith(".")?new URL(window.location.href):o,{pathname:s,searchParams:l,search:u,hash:c,href:d,origin:f}=new URL(e,i);if(f!==o.origin)throw Object.defineProperty(Error("invariant: invalid relative URL, router received "+e),"__NEXT_ERROR_CODE",{value:"E159",enumerable:!1,configurable:!0});return{pathname:s,query:r?(0,a.searchParamsToUrlQuery)(l):void 0,search:u,hash:c,href:d.slice(f.length),slashes:void 0}}},85151:(e,t,r)=>{"use strict";function n(e){return e}r.d(t,{A:()=>n})},98643:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addLocale",{enumerable:!0,get:function(){return n}}),r(90517);let n=function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return e};("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)}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[595],{3192:(e,a,t)=>{"use strict";t.d(a,{Ay:()=>o,F3:()=>r,nQ:()=>l});var n=t(47034);let r="en_us",l="en-US",s=[{name:"English",code:"en_us",prefix:"en",file:"en_US",internal:"en-US",icon:n.US},{name:"Čeština",code:"cs_cz",prefix:"cs",file:"cs_CZ",internal:"cs-CZ",icon:n.CZ},{name:"Deutsch",code:"de_de",prefix:"de",file:"de_DE",internal:"de-DE",icon:n.DE},{name:"Espa\xf1ol",code:"es_es",prefix:"es",file:"es_ES",internal:"es-ES",icon:n.ES,crowdin:"es-ES"},{name:"Fran\xe7ais",code:"fr_fr",prefix:"fr",file:"fr_FR",internal:"fr-FR",icon:n.FR},{name:"Magyar",code:"hu_hu",prefix:"hu",file:"hu_HU",internal:"hu-HU",icon:n.HU},{name:"Italiano",code:"it_it",prefix:"it",file:"it_IT",internal:"it-IT",icon:n.IT},{name:"日本語",code:"ja_jp",prefix:"ja",file:"ja_JP",internal:"ja-JP",icon:n.JP},{name:"한국어",code:"ko_kr",prefix:"ko",file:"ko_KR",internal:"ko-KR",icon:n.KR},{name:"Bahasa Melayu",code:"ms_my",prefix:"ms",file:"ms_MY",internal:"ms-MY",icon:n.MY},{name:"بهاس ملايو",code:"zml_arab",prefix:"ms_Ar",file:"ms_Arab",internal:"ms-Arab",icon:n.MY,crowdin:"ms-Arab",rtl:!0},{name:"Polski",code:"pl_pl",prefix:"pl",file:"pl_PL",internal:"pl-PL",icon:n.PL},{name:"Русский",code:"ru_ru",prefix:"ru",file:"ru_RU",internal:"ru-RU",icon:n.RU},{name:"Svenska",code:"sv_se",prefix:"sv",file:"sv_SE",internal:"sv-SE",icon:n.SE,crowdin:"sv-SE"},{name:"T\xfcrk\xe7e",code:"tr_tr",prefix:"tr",file:"tr_TR",internal:"tr-TR",icon:n.TR},{name:"Українська",code:"uk_ua",prefix:"uk",file:"uk_UA",internal:"uk-UA",icon:n.UA},{name:"简体中文",code:"zh_cn",prefix:"zh_cn",file:"zh_CN",internal:"zh-CN",icon:n.CN,crowdin:"zh-CN"},{name:"繁體中文",code:"zh_tw",prefix:"zh_tw",file:"zh_TW",internal:"zh-TW",icon:n.TW,crowdin:"zh-TW"}];function i(e){return s.find(a=>a.prefix===e)}let o={getAvailableLocales:function(){return s},getLanguagePaths:function(){return s.map(e=>e.prefix)},getInternalCodes:function(){return s.map(e=>e.internal)},getPathPrefixes:function(){return s.reduce((e,a)=>({...e,[a.internal]:"/"+a.prefix}),{})},getForUrlParam:i,getForInternalCode:function(e){return s.find(a=>a.internal===e)},getCrowdinLanguageId:function(e){let a=i(e);return(null==a?void 0:a.crowdin)||(null==a?void 0:a.prefix)},isRTL:function(e){var a;return(null==(a=i(e))?void 0:a.rtl)||!1},actualLocale:function(e){var a;if(!e||e===r)return null;let t=i(e);return null!=(a=null==t?void 0:t.file.toLowerCase())?a:null},resolveParam:function(e){return i(e).code},getUrlPrefixForCode:function(e){var a;return null==(a=s.find(a=>a.code===e))?void 0:a.prefix}}},28243:(e,a,t)=>{"use strict";t.d(a,{default:()=>P});var n=t(7893),r=t(65028),l=t.n(r),s=t(72053),i=t(19691),o=t(85466),d=t(1990),c=t(82601),u=t(34882),m=t(37613),f=t(28081),p=t(95745),x=t(7208),h=t(40744),y=t(3072),_=t(46216),g=t(45478);_.bL,_.l9;let v=_.ZL;_.bm;let N=f.forwardRef((e,a)=>{let{className:t,...r}=e;return(0,n.jsx)(_.hJ,{ref:a,className:(0,p.cn)("fixed inset-0 z-50 bg-black/80 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:animate-in data-[state=open]:fade-in-0",t),...r})});N.displayName=_.hJ.displayName,f.forwardRef((e,a)=>{let{className:t,children:r,...l}=e;return(0,n.jsxs)(v,{children:[(0,n.jsx)(N,{}),(0,n.jsxs)(_.UC,{ref:a,className:(0,p.cn)("border-tertiary fixed top-[50%] left-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-primary p-6 shadow-lg duration-200 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 sm:rounded-lg",t),...l,children:[r,(0,n.jsxs)(_.bm,{className:"absolute top-4 right-4 rounded-xs opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:ring-2 focus:ring-ring focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none data-[state=open]:bg-secondary data-[state=open]:text-secondary",children:[(0,n.jsx)(g.A,{className:"h-4 w-4"}),(0,n.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})}).displayName=_.UC.displayName,f.forwardRef((e,a)=>{let{className:t,...r}=e;return(0,n.jsx)(_.hE,{ref:a,className:(0,p.cn)("text-lg leading-none font-semibold tracking-tight",t),...r})}).displayName=_.hE.displayName,f.forwardRef((e,a)=>{let{className:t,...r}=e;return(0,n.jsx)(_.VY,{ref:a,className:(0,p.cn)("text-sm text-secondary",t),...r})}).displayName=_.VY.displayName;let b=f.forwardRef((e,a)=>{let{className:t,...r}=e;return(0,n.jsx)(h.uB,{ref:a,className:(0,p.cn)("bg-primary-alt text-primary-alt flex h-full w-full flex-col overflow-hidden rounded-md",t),...r})});b.displayName=h.uB.displayName;let j=f.forwardRef((e,a)=>{let{className:t,...r}=e;return(0,n.jsxs)("div",{className:"border-tertiary flex items-center border-b px-3","cmdk-input-wrapper":"",children:[(0,n.jsx)(y.A,{className:"mr-2 h-4 w-4 shrink-0 opacity-50"}),(0,n.jsx)(h.uB.Input,{ref:a,className:(0,p.cn)("flex h-11 w-full rounded-md bg-transparent py-3 text-sm outline-hidden placeholder:text-secondary disabled:cursor-not-allowed disabled:opacity-50",t),...r})]})});j.displayName=h.uB.Input.displayName;let w=f.forwardRef((e,a)=>{let{className:t,...r}=e;return(0,n.jsx)(h.uB.List,{ref:a,className:(0,p.cn)("max-h-[300px] overflow-x-hidden overflow-y-auto",t),...r})});w.displayName=h.uB.List.displayName;let k=f.forwardRef((e,a)=>(0,n.jsx)(h.uB.Empty,{ref:a,className:"py-6 text-center text-sm",...e}));k.displayName=h.uB.Empty.displayName;let A=f.forwardRef((e,a)=>{let{className:t,...r}=e;return(0,n.jsx)(h.uB.Group,{ref:a,className:(0,p.cn)("overflow-hidden p-1 text-primary [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-secondary",t),...r})});A.displayName=h.uB.Group.displayName,f.forwardRef((e,a)=>{let{className:t,...r}=e;return(0,n.jsx)(h.uB.Separator,{ref:a,className:(0,p.cn)("-mx-1 h-px bg-border",t),...r})}).displayName=h.uB.Separator.displayName;let L=f.forwardRef((e,a)=>{let{className:t,...r}=e;return(0,n.jsx)(h.uB.Item,{ref:a,className:(0,p.cn)("data-[selected=true]:text-primary-alt relative flex cursor-default items-center rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50 data-[selected='true']:bg-secondary",t),...r})});L.displayName=h.uB.Item.displayName;var E=t(35865),R=t(48902);function S(e){let{flag:a,className:t}=e;return(0,n.jsx)(a,{width:24,className:(0,p.cn)("rounded-[3px]",t)})}var C=t(3192);function P(e){var a;let{locale:t,shownLocaleCodes:r,mobile:h,minimal:y}=e,_=(0,E.c)("LanguageSelect"),g=C.Ay.getAvailableLocales().filter(e=>null==r||e.code===C.F3||r.includes(e.code)),v=(0,u.a8)(),N=(0,m.rd)(),P=null!=(a=C.Ay.getForUrlParam(t))?a:C.Ay.getForUrlParam(R.Xn),U=[P,...g.filter(e=>e.code!=P.code)],[z,B]=(0,f.useState)(P.code),[I,F]=(0,f.useState)(!1);return(0,n.jsx)("div",{className:(0,p.cn)(y&&"w-full",!h&&!y&&l().socialLinks),children:(0,n.jsx)("div",{className:(0,p.cn)(y&&"w-full"),children:(0,n.jsxs)(x.AM,{open:I,onOpenChange:F,children:[(0,n.jsx)(x.Wv,{asChild:!0,children:y?(0,n.jsxs)("button",{className:"test-center flex h-8 w-full items-center justify-start rounded-sm border-none bg-transparent px-2 py-0 text-sm whitespace-nowrap ring-offset-background placeholder:text-secondary hover:bg-secondary focus:outline-hidden sm:h-7 sm:w-fit sm:max-w-32 sm:min-w-24 [&>svg:last-child]:hidden",children:[(0,n.jsx)(s.A,{className:"mr-2.5 size-3.5 shrink-0"}),(0,n.jsxs)("div",{className:"mx-auto inline-flex gap-2 sm:hidden",children:[(0,n.jsx)(S,{className:"rounded-xs!",flag:P.icon}),(0,n.jsx)("span",{className:"line-clamp-1 text-sm text-ellipsis",children:P.name})]}),(0,n.jsx)("span",{className:"line-clamp-1 hidden text-sm text-ellipsis sm:block",children:P.name})]}):(0,n.jsxs)(c.$,{variant:"outline",role:"combobox","aria-expanded":I,className:"justify-between border-none bg-transparent px-2 py-1",children:[(0,n.jsx)(i.A,{className:"h-5 w-5"}),h&&(0,n.jsxs)("div",{className:"mr-2 ml-3 inline-flex gap-2",children:[(0,n.jsx)(S,{className:"rounded-xs!",flag:P.icon}),P.name]}),(0,n.jsx)(o.A,{"data-state":I?"open":"closed",className:"relative top-[1px] ml-1 h-3 w-3 transition duration-200 data-[state=open]:rotate-180","aria-hidden":"true"})]})}),(0,n.jsx)(x.hl,{align:h?"start":"end",onOpenAutoFocus:e=>e.preventDefault(),className:(0,p.cn)("pointer-events-auto! p-0",!h&&"w-48 sm:w-48",y&&"w-[var(--radix-popover-trigger-width)]"),children:(0,n.jsxs)(b,{value:z,defaultValue:z,children:[(0,n.jsx)(j,{placeholder:_("placeholder")}),(0,n.jsxs)(w,{className:"overscroll-contain [scrollbar-color:var(--background-color-inverse-secondary)_var(--background-color-primary)]",children:[(0,n.jsx)(k,{children:_("no_results")}),(0,n.jsxs)(A,{children:[...U.map(e=>(0,n.jsxs)(L,{value:e.code,className:(0,p.cn)("inline-flex w-full items-center justify-start gap-3 hover:bg-secondary hover:text-primary-alt",z==e.code&&"pointer-events-none"),onSelect:e=>{B(e===z?"":e),F(!1);let a=v.split("/");a[0]=C.Ay.getUrlPrefixForCode(e),N.replace("/"+a.join("/"))},children:[(0,n.jsx)(S,{flag:e.icon})," ",e.name,(0,n.jsx)(d.A,{className:(0,p.cn)("ml-auto h-4 w-4",z===e.code?"opacity-100":"opacity-0")})]},e.code))]})]})]})})]})})})}},34882:(e,a,t)=>{"use strict";t.d(a,{XO:()=>i,a8:()=>d});var n=t(85151),r=t(37588),l=t(3192);let s=(0,n.A)({locales:l.Ay.getInternalCodes(),defaultLocale:l.nQ,localePrefix:{mode:"always",prefixes:l.Ay.getPathPrefixes()}}),{Link:i,redirect:o,usePathname:d,useRouter:c}=(0,r.A)(s)},48902:(e,a,t)=>{"use strict";t.d(a,{Xn:()=>r,j4:()=>n});let n="latest",r="en"},63528:e=>{e.exports={container:"style_container__ie1qJ",MobileNavHamburger:"style_MobileNavHamburger__IuJku",top:"style_top__Bisv2",middle:"style_middle__87xDf",bottom:"style_bottom__Gyyoh",active:"style_active__7qQ7x"}},65028:e=>{e.exports={menuLink:"style_menuLink__ooJPH",active:"style_active__WMh_I",socialLinks:"style_socialLinks__QqMWr"}},67321:(e,a,t)=>{"use strict";t.d(a,{A:()=>i});var n=t(7893),r=t(61341),l=t(28081),s=t(95745);function i(e){let{isVisible:a,className:t,children:i}=e,o=(0,l.useRef)(null);return(0,l.useEffect)(()=>{a||document.querySelectorAll("html, body").forEach(e=>e.classList.remove("navScrollLock"))},[a]),(0,n.jsx)("div",{children:(0,n.jsx)(r.A,{nodeRef:o,in:a,timeout:200,classNames:"fade",unmountOnExit:!0,onEnter:function(){document.querySelectorAll("html, body").forEach(e=>e.classList.add("navScrollLock"))},onExited:function(){document.querySelectorAll("html, body").forEach(e=>e.classList.remove("navScrollLock"))},children:(0,n.jsx)("div",{ref:o,className:(0,s.cn)("fixed right-0 bottom-0 left-0 w-full overflow-y-auto px-8 py-0",t),children:(0,n.jsx)("div",{className:"innerFadeContainer mx-auto my-0 max-w-72 pt-8 pb-24",children:i})})})})}},71422:(e,a,t)=>{"use strict";t.d(a,{A:()=>i});var n=t(7893),r=t(95745),l=t(63528),s=t.n(l);function i(e){let{active:a,setOpen:t}=e;return(0,n.jsx)("button",{type:"button",className:(0,r.cn)(s().MobileNavHamburger,a&&s().active),onClick:()=>t(!a),children:(0,n.jsxs)("span",{className:s().container,children:[(0,n.jsx)("span",{className:s().top}),(0,n.jsx)("span",{className:s().middle}),(0,n.jsx)("span",{className:s().bottom})]})})}},71678:(e,a,t)=>{"use strict";t.d(a,{default:()=>s,o:()=>l});var n=t(7893),r=t(28081);let l=(0,r.createContext)(null);function s(e){let{children:a}=e,[t,s]=(0,r.useState)(null);return(0,n.jsx)(l.Provider,{value:{project:t,setProject:s},children:a})}}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2571],{3192:(e,n,r)=>{"use strict";r.d(n,{Ay:()=>s,F3:()=>i,nQ:()=>l});var t=r(47034);let i="en_us",l="en-US",o=[{name:"English",code:"en_us",prefix:"en",file:"en_US",internal:"en-US",icon:t.US},{name:"Čeština",code:"cs_cz",prefix:"cs",file:"cs_CZ",internal:"cs-CZ",icon:t.CZ},{name:"Deutsch",code:"de_de",prefix:"de",file:"de_DE",internal:"de-DE",icon:t.DE},{name:"Espa\xf1ol",code:"es_es",prefix:"es",file:"es_ES",internal:"es-ES",icon:t.ES,crowdin:"es-ES"},{name:"Fran\xe7ais",code:"fr_fr",prefix:"fr",file:"fr_FR",internal:"fr-FR",icon:t.FR},{name:"Magyar",code:"hu_hu",prefix:"hu",file:"hu_HU",internal:"hu-HU",icon:t.HU},{name:"Italiano",code:"it_it",prefix:"it",file:"it_IT",internal:"it-IT",icon:t.IT},{name:"日本語",code:"ja_jp",prefix:"ja",file:"ja_JP",internal:"ja-JP",icon:t.JP},{name:"한국어",code:"ko_kr",prefix:"ko",file:"ko_KR",internal:"ko-KR",icon:t.KR},{name:"Bahasa Melayu",code:"ms_my",prefix:"ms",file:"ms_MY",internal:"ms-MY",icon:t.MY},{name:"بهاس ملايو",code:"zml_arab",prefix:"ms_Ar",file:"ms_Arab",internal:"ms-Arab",icon:t.MY,crowdin:"ms-Arab",rtl:!0},{name:"Polski",code:"pl_pl",prefix:"pl",file:"pl_PL",internal:"pl-PL",icon:t.PL},{name:"Русский",code:"ru_ru",prefix:"ru",file:"ru_RU",internal:"ru-RU",icon:t.RU},{name:"Svenska",code:"sv_se",prefix:"sv",file:"sv_SE",internal:"sv-SE",icon:t.SE,crowdin:"sv-SE"},{name:"T\xfcrk\xe7e",code:"tr_tr",prefix:"tr",file:"tr_TR",internal:"tr-TR",icon:t.TR},{name:"Українська",code:"uk_ua",prefix:"uk",file:"uk_UA",internal:"uk-UA",icon:t.UA},{name:"简体中文",code:"zh_cn",prefix:"zh_cn",file:"zh_CN",internal:"zh-CN",icon:t.CN,crowdin:"zh-CN"},{name:"繁體中文",code:"zh_tw",prefix:"zh_tw",file:"zh_TW",internal:"zh-TW",icon:t.TW,crowdin:"zh-TW"}];function a(e){return o.find(n=>n.prefix===e)}let s={getAvailableLocales:function(){return o},getLanguagePaths:function(){return o.map(e=>e.prefix)},getInternalCodes:function(){return o.map(e=>e.internal)},getPathPrefixes:function(){return o.reduce((e,n)=>({...e,[n.internal]:"/"+n.prefix}),{})},getForUrlParam:a,getForInternalCode:function(e){return o.find(n=>n.internal===e)},getCrowdinLanguageId:function(e){let n=a(e);return(null==n?void 0:n.crowdin)||(null==n?void 0:n.prefix)},isRTL:function(e){var n;return(null==(n=a(e))?void 0:n.rtl)||!1},actualLocale:function(e){var n;if(!e||e===i)return null;let r=a(e);return null!=(n=null==r?void 0:r.file.toLowerCase())?n:null},resolveParam:function(e){return a(e).code},getUrlPrefixForCode:function(e){var n;return null==(n=o.find(n=>n.code===e))?void 0:n.prefix}}},21559:(e,n,r)=>{"use strict";r.d(n,{default:()=>a});var t=r(7893),i=r(95745),l=r(28081),o=r(45585);let a=(0,l.forwardRef)(function(e,n){let{title:r,className:a,innerClassName:s,tagName:c,children:d,type:u,solid:f}=e,{open:m}=(0,l.useContext)(o.p);return(0,t.jsx)("aside",{"data-open":m==u,className:(0,i.cn)(a,"fixed z-30 h-[88vh] w-full overflow-hidden border-tertiary bg-primary transition-all duration-300 ease-in-out sm:h-[calc(100vh_-_9.5rem)] lg:top-[6rem]! lg:transition-none",f?"lg:static":"lg:sticky","left"==u&&"border-r data-[open=false]:-translate-x-full data-[open=false]:border-0 lg:border-r-0 lg:data-[open=false]:-translate-x-0","right"==u&&"border-l data-[open=false]:translate-x-full data-[open=false]:border-0 lg:border-l-0 lg:data-[open=false]:translate-x-0"),children:(0,t.jsxs)(c||"div",{ref:n,className:(0,i.cn)("scrollbar-thumb-secondary scrollbar-track-secondary/20 scrollbar-thin h-full space-y-2 overflow-y-auto p-4",s),children:[(0,t.jsx)("div",{className:"mb-4 flex items-center justify-between",children:(0,t.jsx)("h3",{className:"text-sm font-semibold text-secondary",children:r})}),d]})})})},24989:(e,n,r)=>{"use strict";r.d(n,{default:()=>c});var t=r(7893),i=r(32482),l=r(74994),o=r(64870),a=r(82601),s=r(35865);function c(){let[e,n]=(0,i.ZA)("tab"),r=(0,s.c)("DocsEntryTabs"),c=async e=>{await n(e),window.scrollTo(0,0)};return(0,t.jsx)("div",{className:"flex h-full flex-col items-center justify-center",children:"history"===e?(0,t.jsx)(a.$,{title:r("home"),variant:"ghost",size:"icon",className:"size-8",onClick:()=>c("home"),children:(0,t.jsx)(l.A,{className:"size-4"})}):(0,t.jsx)(a.$,{title:r("history"),variant:"ghost",size:"icon",className:"size-8",onClick:()=>c("history"),children:(0,t.jsx)(o.A,{className:"size-4"})})})}},34882:(e,n,r)=>{"use strict";r.d(n,{XO:()=>a,a8:()=>c});var t=r(85151),i=r(37588),l=r(3192);let o=(0,t.A)({locales:l.Ay.getInternalCodes(),defaultLocale:l.nQ,localePrefix:{mode:"always",prefixes:l.Ay.getPathPrefixes()}}),{Link:a,redirect:s,usePathname:c,useRouter:d}=(0,i.A)(o)},37588:(e,n,r)=>{"use strict";r.d(n,{A:()=>m});var t=r(41574),i=r(28081),l=r.t(i,2),o=r(40739),a=l["use".trim()],s=r(32936),c=r(55605),d=r(16353),u=r(7893),f=r(62491);function m(e){let{Link:n,config:r,getPathname:l,...m}=function(e,n){var r,l,o;let f={...r=n||{},localePrefix:"object"==typeof(o=r.localePrefix)?o:{mode:o||"always"},localeCookie:!!((l=r.localeCookie)??1)&&{name:"NEXT_LOCALE",sameSite:"lax",..."object"==typeof l&&l},localeDetection:r.localeDetection??!0,alternateLinks:r.alternateLinks??!0},m=f.pathnames,h=(0,i.forwardRef)(function({href:n,locale:r,...t},i){let l,o;"object"==typeof n?(l=n.pathname,o=n.params):l=n;let d=(0,s._x)(n),h=e(),v=(0,s.yL)(h)?a(h):h,x=d?p({locale:r||v,href:null==m?l:{pathname:l,params:o},forcePrefix:null!=r||void 0}):l;return(0,u.jsx)(c.default,{ref:i,href:"object"==typeof n?{...n,pathname:x}:x,locale:r,localeCookie:f.localeCookie,...t})});function p(e){let n,{forcePrefix:r,href:t,locale:i}=e;return null==m?"object"==typeof t?(n=t.pathname,t.query&&(n+=(0,d.Zn)(t.query))):n=t:n=(0,d.FP)({locale:i,...(0,d.TK)(t),pathnames:f.pathnames}),(0,d.x3)(n,i,f,r)}function v(e){return function(n,...r){return e(p(n),...r)}}return{config:f,Link:h,redirect:v(t.redirect),permanentRedirect:v(t.permanentRedirect),getPathname:p}}(o.Ym,e);return{...m,Link:n,usePathname:function(){let e=function(e){let n=(0,t.usePathname)(),r=(0,o.Ym)();return(0,i.useMemo)(()=>{if(!n)return n;let t=n,i=(0,s.XP)(r,e.localePrefix);if((0,s.wO)(i,n))t=(0,s.MY)(n,i);else if("never"!==e.localePrefix.mode&&e.localePrefix.prefixes){let e=(0,s.bL)(r);(0,s.wO)(e,n)&&(t=(0,s.MY)(n,e))}return t},[e.localePrefix,r,n])}(r),n=(0,o.Ym)();return(0,i.useMemo)(()=>e&&r.pathnames?(0,d.aM)(n,e,r.pathnames):e,[n,e])},useRouter:function(){let e=(0,t.useRouter)(),n=(0,o.Ym)(),a=(0,t.usePathname)();return(0,i.useMemo)(()=>{function t(e){return function(t,i){let{locale:o,...s}=i||{},c=[l({href:t,locale:o||n,forcePrefix:null!=o||void 0})];Object.keys(s).length>0&&c.push(s),(0,f.A)(r.localeCookie,a,n,o),e(...c)}}return{...e,push:t(e.push),replace:t(e.replace),prefetch:t(e.prefetch)}},[n,a,e])},getPathname:l}}},44431:(e,n,r)=>{"use strict";r.d(n,{default:()=>a});var t=r(7893),i=r(28081),l=r(96090),o=r(95745);function a(e){let{title:n,className:r,children:a}=e,[s,c]=(0,i.useState)(!1);return(0,t.jsxs)("div",{className:(0,o.cn)(r,"w-full rounded-sm border border-secondary-dim"),children:[(0,t.jsxs)("button",{className:"inline-flex w-full items-center justify-between bg-secondary p-2",onClick:()=>c(!s),children:[(0,t.jsx)("span",{className:"font-medium",children:n}),(0,t.jsx)(l.default,{active:s})]}),s&&(0,t.jsx)("div",{className:"rounded-sm bg-primary-dim p-4",children:a})]})}},45585:(e,n,r)=>{"use strict";r.d(n,{default:()=>a,p:()=>o});var t=r(7893),i=r(28081),l=r(34882);let o=(0,i.createContext)(null);function a(e){let{children:n}=e,r=(0,l.a8)(),[a,s]=(0,i.useState)("none");return(0,i.useEffect)(()=>{"none"===a?window.document.body.classList.remove("no-scroll"):window.document.body.classList.add("no-scroll")},[a]),(0,i.useEffect)(()=>{s("none")},[r]),(0,t.jsx)(o.Provider,{value:{open:a,setOpen:s},children:n})}},75450:(e,n,r)=>{"use strict";r.d(n,{default:()=>a});var t=r(7893),i=r(28081),l=r(96090),o=r(95745);function a(e){let{name:n,defaultOpen:r,className:a,children:s}=e,[c,d]=(0,i.useState)(r);return(0,t.jsx)("tr",{children:(0,t.jsx)("td",{children:(0,t.jsxs)("div",{className:"mb-0! w-full border-separate [&_td]:border-none",children:[(0,t.jsxs)("div",{className:"flex w-full cursor-pointer flex-row items-center rounded-sm border-none bg-primary-dim p-1.5 px-2 select-none hover:bg-secondary/50",onClick:()=>d(!c),"data-state":c?"open":"closed",children:[(0,t.jsx)("div",{className:"mx-auto flex w-full justify-center text-center font-medium",children:n}),(0,t.jsx)("div",{className:"w-8",children:(0,t.jsx)(l.default,{className:"ml-auto h-4 w-4",active:c})})]}),c&&(0,t.jsx)("div",{className:(0,o.cn)(a,"mt-2 flex w-full flex-col rounded-md"),children:s})]})})})}},77139:(e,n,r)=>{"use strict";r.d(n,{default:()=>s});var t=r(7893),i=r(28081),l=r(21559),o=r(95745),a=r(35865);function s(e){let{headings:n}=e,r=(0,a.c)("DocsNonContentRightSidebar"),[s,c]=(0,i.useState)(""),[d,u]=(0,i.useState)(!1),[f,m]=(0,i.useState)(!1),h=(0,i.useRef)(null);return(0,i.useEffect)(()=>{let e=()=>{let e=n.map(e=>document.getElementById(e.id)).filter(Boolean).find(e=>{if(e){let n=e.getBoundingClientRect();return n.top>=0&&n.top<=window.innerHeight/2}return!1});e&&c(e.id)};return window.addEventListener("scroll",e),()=>window.removeEventListener("scroll",e)},[n]),(0,i.useEffect)(()=>{let e=()=>{if(h.current){let{scrollTop:e,scrollHeight:n,clientHeight:r}=h.current;u(e>0),m(e+r<n)}},n=h.current;return n&&(n.addEventListener("scroll",e),window.addEventListener("resize",e),e()),()=>{n&&n.removeEventListener("scroll",e),window.removeEventListener("resize",e)}},[n]),(0,t.jsx)(l.default,{type:"left",title:r("title"),className:(0,o.cn)("left-0 shrink-0","w-[96vw] sm:w-80"),tagName:"nav",solid:!0,children:(0,t.jsxs)("div",{className:"relative",children:[d&&(0,t.jsx)("div",{className:"from-background pointer-events-none absolute top-0 right-0 left-0 h-12 bg-linear-to-b to-transparent"}),(0,t.jsx)("div",{ref:h,className:"scrollbar-thin max-h-[80vh] overflow-y-auto pr-4 scrollbar-thumb-gray-300 scrollbar-track-transparent",children:(0,t.jsx)("ul",{className:"space-y-1 text-sm",children:n.map((e,n)=>(0,t.jsx)("li",{style:{paddingLeft:"".concat((e.depth-1)*.75,"rem")},children:(0,t.jsx)("a",{href:"#".concat(e.id),className:(0,o.cn)("block py-1 text-sm text-secondary transition-colors hover:text-primary",s===e.id&&"text-primary",0===n?"pt-0!":""),onClick:n=>{var r;n.preventDefault(),null==(r=document.getElementById(e.id))||r.scrollIntoView({behavior:"smooth"})},children:e.value})},e.id))})}),f&&(0,t.jsx)("div",{className:"from-background pointer-events-none absolute right-0 bottom-0 left-0 h-12 bg-linear-to-t to-transparent"})]})})}},85151:(e,n,r)=>{"use strict";function t(e){return e}r.d(n,{A:()=>t})},93656:(e,n,r)=>{"use strict";r.d(n,{default:()=>i});var t=r(41574);function i(e){let{main:n,history:r}=e;return"history"==(0,t.useSearchParams)().get("tab")&&r?r:n}},95319:(e,n,r)=>{Promise.resolve().then(r.bind(r,1273)),Promise.resolve().then(r.bind(r,73744)),Promise.resolve().then(r.bind(r,57370)),Promise.resolve().then(r.bind(r,55605)),Promise.resolve().then(r.bind(r,8511)),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,72103)),Promise.resolve().then(r.bind(r,18526)),Promise.resolve().then(r.bind(r,80123)),Promise.resolve().then(r.bind(r,28663)),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,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))}},e=>{e.O(0,[7138,5369,9957,739,4193,2709,5383,3386,103,7411,9029,7358],()=>e(e.s=95319)),_N_E=e.O()}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2583],{6973:(e,s,n)=>{Promise.resolve().then(n.bind(n,1273)),Promise.resolve().then(n.bind(n,73744)),Promise.resolve().then(n.bind(n,57370)),Promise.resolve().then(n.bind(n,55605)),Promise.resolve().then(n.bind(n,8511)),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,33951)),Promise.resolve().then(n.bind(n,66495)),Promise.resolve().then(n.bind(n,68308)),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,28663)),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,21559)),Promise.resolve().then(n.bind(n,65066)),Promise.resolve().then(n.bind(n,57850)),Promise.resolve().then(n.bind(n,24989)),Promise.resolve().then(n.bind(n,93656)),Promise.resolve().then(n.bind(n,18622)),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,20826)),Promise.resolve().then(n.bind(n,96090))}},e=>{e.O(0,[7138,5369,9957,739,4193,2709,5383,3386,103,4536,7411,9029,7358],()=>e(e.s=6973)),_N_E=e.O()}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7589],{41752:(e,s,n)=>{Promise.resolve().then(n.bind(n,1273)),Promise.resolve().then(n.bind(n,73744)),Promise.resolve().then(n.bind(n,57370)),Promise.resolve().then(n.bind(n,55605)),Promise.resolve().then(n.bind(n,8511)),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,33951)),Promise.resolve().then(n.bind(n,66495)),Promise.resolve().then(n.bind(n,68308)),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,28663)),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,65066)),Promise.resolve().then(n.bind(n,57850)),Promise.resolve().then(n.bind(n,24989)),Promise.resolve().then(n.bind(n,93656)),Promise.resolve().then(n.bind(n,18622)),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,20826)),Promise.resolve().then(n.bind(n,96090))}},e=>{e.O(0,[7138,5369,9957,739,4193,2709,5383,3386,103,4536,7411,9029,7358],()=>e(e.s=41752)),_N_E=e.O()}]);
|
package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/layout-2d40733903300974.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[622],{5903:(e,s,t)=>{"use strict";t.d(s,{default:()=>l});var r=t(28081),a=t(71678);function l(e){let{project:s,children:t}=e,{setProject:l}=(0,r.useContext)(a.o);return(0,r.useEffect)(()=>(l(s),()=>l(null)),[]),t}},40491:(e,s,t)=>{"use strict";t.d(s,{$:()=>l,default:()=>n});var r=t(7893),a=t(28081);let l=(0,a.createContext)(null);function n(e){let{children:s}=e,[t,n]=(0,a.useState)(!1),[i,o]=(0,a.useState)({}),[d,c]=(0,a.useState)(0);return(0,r.jsx)(l.Provider,{value:{open:t,setOpen:n,folderStates:i,setFolderStates:o,scrollPos:d,setScrollPos:c},children:s})}},45585:(e,s,t)=>{"use strict";t.d(s,{default:()=>i,p:()=>n});var r=t(7893),a=t(28081),l=t(34882);let n=(0,a.createContext)(null);function i(e){let{children:s}=e,t=(0,l.a8)(),[i,o]=(0,a.useState)("none");return(0,a.useEffect)(()=>{"none"===i?window.document.body.classList.remove("no-scroll"):window.document.body.classList.add("no-scroll")},[i]),(0,a.useEffect)(()=>{o("none")},[t]),(0,r.jsx)(n.Provider,{value:{open:i,setOpen:o},children:s})}},76836:(e,s,t)=>{Promise.resolve().then(t.bind(t,1273)),Promise.resolve().then(t.bind(t,73744)),Promise.resolve().then(t.bind(t,57370)),Promise.resolve().then(t.bind(t,55605)),Promise.resolve().then(t.bind(t,8511)),Promise.resolve().then(t.t.bind(t,19957,23)),Promise.resolve().then(t.t.bind(t,63914,23)),Promise.resolve().then(t.bind(t,83457)),Promise.resolve().then(t.bind(t,95301)),Promise.resolve().then(t.bind(t,72103)),Promise.resolve().then(t.bind(t,18526)),Promise.resolve().then(t.bind(t,80123)),Promise.resolve().then(t.bind(t,28663)),Promise.resolve().then(t.bind(t,44064)),Promise.resolve().then(t.bind(t,78890)),Promise.resolve().then(t.bind(t,92014)),Promise.resolve().then(t.bind(t,45585)),Promise.resolve().then(t.bind(t,40491)),Promise.resolve().then(t.bind(t,5903)),Promise.resolve().then(t.bind(t,41736)),Promise.resolve().then(t.bind(t,55242)),Promise.resolve().then(t.bind(t,28139)),Promise.resolve().then(t.bind(t,39389)),Promise.resolve().then(t.bind(t,96090))},95301:(e,s,t)=>{"use strict";t.d(s,{default:()=>D});var r=t(7893),a=t(82601),l=t(74994),n=t(24194),i=t(59333),o=t(34882),d=t(95745),c=t(41574),m=t(48902),h=t(28081),u=t(97461),x=t(85466),p=t(13621),f=t(1990);let j=u.bL;u.YJ;let v=h.forwardRef((e,s)=>{let{placeholder:t,children:a,...l}=e;return(0,r.jsx)(u.WT,{ref:s,placeholder:(0,r.jsx)("span",{className:"text-secondary",children:t}),...l,children:a})});v.displayName=u.WT.displayName;let b=h.forwardRef((e,s)=>{let{className:t,children:a,...l}=e;return(0,r.jsxs)(u.l9,{ref:s,className:(0,d.cn)("border-quaternary bg-primary-dim 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",t),...l,children:[a,(0,r.jsx)(u.In,{asChild:!0,children:(0,r.jsx)(x.A,{className:"h-4 w-4 opacity-50"})})]})});b.displayName=u.l9.displayName;let y=h.forwardRef((e,s)=>{let{className:t,...a}=e;return(0,r.jsx)(u.PP,{ref:s,className:(0,d.cn)("flex cursor-default items-center justify-center py-1",t),...a,children:(0,r.jsx)(p.A,{className:"h-4 w-4"})})});y.displayName=u.PP.displayName;let w=h.forwardRef((e,s)=>{let{className:t,...a}=e;return(0,r.jsx)(u.wn,{ref:s,className:(0,d.cn)("flex cursor-default items-center justify-center py-1",t),...a,children:(0,r.jsx)(x.A,{className:"h-4 w-4"})})});w.displayName=u.wn.displayName;let N=h.forwardRef((e,s)=>{let{className:t,children:a,position:l="popper",...n}=e;return(0,r.jsx)(u.ZL,{children:(0,r.jsxs)(u.UC,{ref:s,className:(0,d.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",t),position:l,...n,children:[(0,r.jsx)(y,{}),(0,r.jsx)(u.LM,{className:(0,d.cn)("p-1","popper"===l&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:a}),(0,r.jsx)(w,{})]})})});N.displayName=u.UC.displayName,h.forwardRef((e,s)=>{let{className:t,...a}=e;return(0,r.jsx)(u.JU,{ref:s,className:(0,d.cn)("py-1.5 pr-2 pl-8 text-sm font-semibold",t),...a})}).displayName=u.JU.displayName;let g=h.forwardRef((e,s)=>{let{className:t,children:a,...l}=e;return(0,r.jsxs)(u.q7,{ref:s,className:(0,d.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",t),...l,children:[(0,r.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,r.jsx)(u.VF,{children:(0,r.jsx)(f.A,{className:"h-4 w-4"})})}),(0,r.jsx)(u.p4,{children:a})]})});g.displayName=u.q7.displayName,h.forwardRef((e,s)=>{let{className:t,...a}=e;return(0,r.jsx)(u.wv,{ref:s,className:(0,d.cn)("bg-primary-alt -mx-1 my-1 h-px",t),...a})}).displayName=u.wv.displayName;var P=t(27018),C=t(37613);function A(e){let{value:s,defaultValue:t,children:a}=e,l=(0,C.rd)(),n=(0,c.usePathname)();return(0,r.jsx)(j,{value:s,defaultValue:t,onValueChange:e=>{let s=n.split("/");s[4]=e,l.replace("/"+s.filter(e=>e.length>0).join("/"))},children:a})}var k=t(35865);function _(e){let{version:s,versions:t}=e,a=(0,k.c)("DocsVersionSelector");return(0,r.jsxs)(A,{value:s,defaultValue:m.j4,children:[(0,r.jsxs)(b,{className:"h-8 w-full justify-start rounded-sm border-none bg-transparent py-0 whitespace-nowrap hover:bg-secondary sm:h-7 sm:w-fit sm:max-w-32 sm:min-w-24 [&>span]:mr-auto [&>span]:block [&>span]:text-sm [&>span]:text-ellipsis [&>span]:sm:mr-0 [&>svg:last-child]:hidden",children:[(0,r.jsx)(P.A,{className:"mr-auto size-3.5 shrink-0 sm:mr-2.5"}),(0,r.jsx)(v,{placeholder:a("placeholder")})]}),(0,r.jsxs)(N,{children:[(0,r.jsx)(g,{value:m.j4,className:"py-1 [&>span]:text-sm",children:a("latest")}),t.map(e=>(0,r.jsx)(g,{value:e,className:"py-1 [&>span]:text-sm",children:e},e))]})]})}var L=t(28243),R=t(71422),z=t(67321);function E(e){let{children:s}=e,[t,a]=(0,h.useState)(!1),l=(0,c.usePathname)();return(0,h.useEffect)(()=>{a(!1)},[l]),(0,r.jsxs)("div",{className:"pointer-events-auto! sm:hidden",children:[(0,r.jsx)(R.A,{active:t,setOpen:a}),(0,r.jsx)(z.A,{className:"top-nav-height-ext bg-primary-dim",isVisible:t,children:s})]})}var S=t(87257);function V(e){let{title:s,icon:t,path:l,disabled:n}=e,i=(0,o.a8)(),m=(0,c.useParams)(),h=i.split("/"),u=4==h.length&&0==l.length||h.length>=5&&h[4]==l;return(0,r.jsx)(o.XO,{href:"/project/".concat(m.slug,"/").concat(m.version,"/").concat(l),className:(0,d.cn)("w-full sm:w-fit",n&&"pointer-events-none"),children:(0,r.jsxs)(a.$,{variant:"ghost",size:"sm",className:(0,d.cn)("h-8! w-full rounded-sm px-2! sm:h-7! sm:w-fit",u&&"bg-secondary"),disabled:n,children:[(0,r.jsx)(t,{className:"mr-auto h-4 w-4 sm:mr-2"}),(0,r.jsx)("span",{className:"mr-auto text-sm sm:mr-0",children:s})]})})}function q(e){let{project:s,platformProject:t}=e;return(0,r.jsxs)("div",{className:"flex flex-row items-center gap-2 overflow-hidden",children:[(0,r.jsx)(S.default,{src:t.icon_url,alt:"Logo",className:"h-6 rounded-sm",width:24,height:24}),(0,r.jsx)("span",{className:"overflow-hidden text-base font-medium text-ellipsis whitespace-nowrap text-primary",children:s.name})]})}function O(e){let{project:s,platformProject:t}=e;return(0,r.jsxs)("div",{className:"flex flex-col items-center gap-2 overflow-hidden",children:[(0,r.jsx)("img",{src:t.icon_url,alt:"Logo",className:"mb-2 size-12 rounded-sm"}),(0,r.jsx)("span",{className:"overflow-hidden text-base font-medium text-ellipsis whitespace-nowrap text-primary",children:s.name}),(0,r.jsx)("blockquote",{className:"line-clamp-2 text-sm text-secondary",children:t.summary})]})}function U(e){let{project:s,locale:t,version:a}=e,o=s.versions&&s.versions.length>0,d=s.locales&&s.locales.length>0;return(0,r.jsxs)("div",{className:"flex flex-col items-center gap-4 sm:flex-row sm:gap-2",children:[(0,r.jsx)(V,{title:"Home",icon:l.A,path:""}),(0,r.jsx)(V,{title:"Documentation",icon:n.A,path:"docs"}),s.info.content_count>0&&(0,r.jsx)(V,{title:"Content",icon:i.A,path:"content"}),(o||d)&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{className:"verticalSeparator hidden! sm:inline-flex!"}),(0,r.jsx)("hr",{className:"w-full border-tertiary sm:hidden"})]}),o&&(0,r.jsx)(_,{version:a,versions:s.versions}),d&&(0,r.jsx)(L.default,{locale:t,shownLocaleCodes:s.locales,minimal:!0})]})}function J(e){let{project:s,platformProject:t,locale:a,version:l}=e;return(0,r.jsx)("div",{className:"fixed left-0 z-40 w-full border-y border-tertiary border-t-tertiary-dim bg-primary-dim",children:(0,r.jsxs)("div",{className:"mx-auto flex w-full max-w-[120rem] flex-row items-center justify-between px-4 py-2 sm:py-1.5",children:[(0,r.jsx)(q,{project:s,platformProject:t}),(0,r.jsx)("div",{className:"hidden sm:block",children:(0,r.jsx)(U,{project:s,locale:a,version:l})}),(0,r.jsx)(E,{children:(0,r.jsxs)("div",{className:"flex flex-col gap-8",children:[(0,r.jsx)(O,{project:s,platformProject:t}),(0,r.jsx)(U,{project:s,locale:a,version:l})]})})]})})}function D(e){let{project:s,platformProject:t,locale:a,version:l,children:n}=e;return(0,r.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,r.jsx)("div",{className:"h-subnav",children:(0,r.jsx)(J,{project:s,platformProject:t,locale:a,version:l})}),(0,r.jsx)("div",{className:"flex flex-1 flex-col items-center bg-primary text-primary",children:n})]})}}},e=>{e.O(0,[7138,5369,9957,739,4193,2709,5383,7671,4874,1147,103,595,7411,9029,7358],()=>e(e.s=76836)),_N_E=e.O()}]);
|