@sinytra/wiki-previewer 0.1.95 → 0.1.96

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.
Files changed (123) hide show
  1. package/.next/BUILD_ID +1 -1
  2. package/.next/app-build-manifest.json +72 -65
  3. package/.next/app-path-routes-manifest.json +3 -2
  4. package/.next/build-manifest.json +2 -2
  5. package/.next/prerender-manifest.json +11 -11
  6. package/.next/routes-manifest.json +9 -0
  7. package/.next/server/app/(developers)/api/docs/[slug]/asset/[id]/route.js +1 -0
  8. package/.next/server/app/(developers)/api/docs/[slug]/asset/[id]/route.js.nft.json +1 -0
  9. package/.next/server/app/(developers)/api/docs/[slug]/asset/[id]/route_client-reference-manifest.js +1 -0
  10. package/.next/server/app/[locale]/(main)/project/[slug]/[version]/content/[id]/page.js +2 -2
  11. package/.next/server/app/[locale]/(main)/project/[slug]/[version]/content/[id]/page.js.nft.json +1 -1
  12. package/.next/server/app/[locale]/(main)/project/[slug]/[version]/content/[id]/page_client-reference-manifest.js +1 -1
  13. package/.next/server/app/[locale]/(main)/project/[slug]/[version]/content/page.js +2 -2
  14. package/.next/server/app/[locale]/(main)/project/[slug]/[version]/content/page.js.nft.json +1 -1
  15. package/.next/server/app/[locale]/(main)/project/[slug]/[version]/content/page_client-reference-manifest.js +1 -1
  16. package/.next/server/app/[locale]/(main)/project/[slug]/[version]/docs/[...path]/page.js +2 -2
  17. package/.next/server/app/[locale]/(main)/project/[slug]/[version]/docs/[...path]/page.js.nft.json +1 -1
  18. package/.next/server/app/[locale]/(main)/project/[slug]/[version]/docs/[...path]/page_client-reference-manifest.js +1 -1
  19. package/.next/server/app/[locale]/(main)/project/[slug]/[version]/docs/page.js +2 -2
  20. package/.next/server/app/[locale]/(main)/project/[slug]/[version]/docs/page.js.nft.json +1 -1
  21. package/.next/server/app/[locale]/(main)/project/[slug]/[version]/docs/page_client-reference-manifest.js +1 -1
  22. package/.next/server/app/[locale]/(main)/project/[slug]/[version]/page.js +2 -2
  23. package/.next/server/app/[locale]/(main)/project/[slug]/[version]/page.js.nft.json +1 -1
  24. package/.next/server/app/[locale]/(main)/project/[slug]/[version]/page_client-reference-manifest.js +1 -1
  25. package/.next/server/app/[locale]/page.js +2 -2
  26. package/.next/server/app/[locale]/page.js.nft.json +1 -1
  27. package/.next/server/app/[locale]/page_client-reference-manifest.js +1 -1
  28. package/.next/server/app/_not-found/page.js +1 -1
  29. package/.next/server/app/_not-found/page.js.nft.json +1 -1
  30. package/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  31. package/.next/server/app/_not-found.html +2 -2
  32. package/.next/server/app/_not-found.rsc +4 -4
  33. package/.next/server/app/favicon.ico/route.js +1 -1
  34. package/.next/server/app/favicon.ico/route.js.nft.json +1 -1
  35. package/.next/server/app/opengraph-image/route_client-reference-manifest.js +1 -1
  36. package/.next/server/app/robots.txt/route.js +2 -2
  37. package/.next/server/app/robots.txt/route.js.nft.json +1 -1
  38. package/.next/server/app/robots.txt/route_client-reference-manifest.js +1 -1
  39. package/.next/server/app/sitemap.xml/route.js +2 -2
  40. package/.next/server/app/sitemap.xml/route.js.nft.json +1 -1
  41. package/.next/server/app/sitemap.xml/route_client-reference-manifest.js +1 -1
  42. package/.next/server/app-paths-manifest.json +3 -2
  43. package/.next/server/chunks/2423.js +1 -0
  44. package/.next/server/chunks/2574.js +66 -0
  45. package/.next/server/chunks/2967.js +1 -0
  46. package/.next/server/chunks/2998.js +3 -0
  47. package/.next/server/chunks/3040.js +1 -0
  48. package/.next/server/chunks/318.js +1 -0
  49. package/.next/server/chunks/4404.js +35 -0
  50. package/.next/server/chunks/4706.js +1 -0
  51. package/.next/server/chunks/5610.js +1 -0
  52. package/.next/server/chunks/6266.js +1 -1
  53. package/.next/server/chunks/{8958.js → 6746.js} +3 -3
  54. package/.next/server/chunks/7542.js +1 -1
  55. package/.next/server/chunks/7910.js +1 -0
  56. package/.next/server/chunks/825.js +1 -0
  57. package/.next/server/chunks/8350.js +1 -1
  58. package/.next/server/chunks/8584.js +10 -0
  59. package/.next/server/chunks/9190.js +1 -0
  60. package/.next/server/chunks/9656.js +157 -0
  61. package/.next/server/middleware-manifest.json +10 -10
  62. package/.next/server/pages/404.html +2 -2
  63. package/.next/server/pages/500.html +1 -1
  64. package/.next/server/pages/_error.js +2 -2
  65. package/.next/server/server-reference-manifest.json +1 -1
  66. package/.next/static/0XyegQr7BcJgQkm31qj5W/_buildManifest.js +1 -0
  67. package/.next/static/chunks/253-c6d12570ec51216b.js +1 -0
  68. package/.next/static/chunks/349-a9ebfa6bf85ef1c1.js +1 -0
  69. package/.next/static/chunks/{409-66d1c976bcaa8a00.js → 409-9c1f3189eaf6432e.js} +1 -1
  70. package/.next/static/chunks/621-71a2215be11ad54d.js +1 -0
  71. package/.next/static/chunks/67-a4d2761f9f80a28a.js +1 -0
  72. package/.next/static/chunks/714-a6b53baa6dfd91ba.js +2 -0
  73. package/.next/static/chunks/736-625b8ccdd7ba1d68.js +1 -0
  74. package/.next/static/chunks/77-934f1420d431b3bb.js +1 -0
  75. package/.next/static/chunks/835-b9d094e779a24ff8.js +1 -0
  76. package/.next/static/chunks/845-2a1323f13e03afc2.js +1 -0
  77. package/.next/static/chunks/942-229a422e32d81679.js +1 -0
  78. package/.next/static/chunks/app/(developers)/api/docs/[slug]/asset/[id]/route-bd2b0120995c30e8.js +1 -0
  79. package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/content/[id]/page-30c1e3debf5616c2.js +1 -0
  80. package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/content/{page-55ea01f3cc9eb6b8.js → page-40db7d1c9d0c3b3b.js} +1 -1
  81. package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/docs/[...path]/error-9816f5919e791e47.js +1 -0
  82. package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/docs/[...path]/{page-8a46f0c33ecced03.js → page-7095f5e128078355.js} +1 -1
  83. package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/docs/page-c293908c29c1b6c4.js +1 -0
  84. package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/layout-88b5d365db9a6e79.js +1 -0
  85. package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/{page-82b2a8ad63a75ded.js → page-719960307da0a24f.js} +1 -1
  86. package/.next/static/chunks/app/[locale]/layout-d95356d77407b3f8.js +1 -0
  87. package/.next/static/chunks/app/[locale]/page-9080aa492599c415.js +1 -0
  88. package/.next/static/chunks/app/error-3753bf093585c3f9.js +1 -0
  89. package/.next/static/chunks/app/not-found-60642b865d54ecf2.js +1 -0
  90. package/bin/entrypoint.mjs +16 -12
  91. package/package.json +1 -1
  92. package/.next/server/chunks/4011.js +0 -66
  93. package/.next/server/chunks/4179.js +0 -1
  94. package/.next/server/chunks/6181.js +0 -1
  95. package/.next/server/chunks/6248.js +0 -157
  96. package/.next/server/chunks/6911.js +0 -1
  97. package/.next/server/chunks/6967.js +0 -1
  98. package/.next/server/chunks/7141.js +0 -3
  99. package/.next/server/chunks/8002.js +0 -1
  100. package/.next/server/chunks/872.js +0 -1
  101. package/.next/server/chunks/8910.js +0 -1
  102. package/.next/server/chunks/9484.js +0 -44
  103. package/.next/server/chunks/9552.js +0 -1
  104. package/.next/static/67_qGrKTD0T0OBapSH_gJ/_buildManifest.js +0 -1
  105. package/.next/static/chunks/295-b342998dc214ccb0.js +0 -1
  106. package/.next/static/chunks/327-fe7bdb4bf8ea0a4d.js +0 -1
  107. package/.next/static/chunks/626-3143ad333aa4f3c8.js +0 -1
  108. package/.next/static/chunks/627-b7177d13fb973e65.js +0 -1
  109. package/.next/static/chunks/681-c11fad63db4540fd.js +0 -1
  110. package/.next/static/chunks/77-7b330a7b53601edb.js +0 -1
  111. package/.next/static/chunks/781-92f765649a36851e.js +0 -2
  112. package/.next/static/chunks/796-b632432c26fb683d.js +0 -1
  113. package/.next/static/chunks/802-8d29fee6a25f76d8.js +0 -1
  114. package/.next/static/chunks/832-e525de928ef20f83.js +0 -1
  115. package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/content/[id]/page-d07c641358e8e06b.js +0 -1
  116. package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/docs/[...path]/error-96bebb2367f46c24.js +0 -1
  117. package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/docs/page-8630ead88225a0be.js +0 -1
  118. package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/layout-712771c8566a76d7.js +0 -1
  119. package/.next/static/chunks/app/[locale]/layout-69f07cdc70c4eec4.js +0 -1
  120. package/.next/static/chunks/app/[locale]/page-a94a8604962e3366.js +0 -1
  121. package/.next/static/chunks/app/error-0910a30db7ae99f9.js +0 -1
  122. package/.next/static/chunks/app/not-found-cea963ecd72d5a1e.js +0 -1
  123. /package/.next/static/{67_qGrKTD0T0OBapSH_gJ → 0XyegQr7BcJgQkm31qj5W}/_ssgManifest.js +0 -0
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[845],{3307:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(11495).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"}]])},51481:(e,t,n)=>{let r;n.d(t,{Mz:()=>eq,i3:()=>eU,UC:()=>eK,bL:()=>eX,Bk:()=>eD});var i=n(16685);let o=["top","right","bottom","left"],l=Math.min,a=Math.max,s=Math.round,u=Math.floor,c=e=>({x:e,y:e}),f={left:"right",right:"left",bottom:"top",top:"bottom"};function d(e,t){return"function"==typeof e?e(t):e}function p(e){return e.split("-")[0]}function h(e){return e.split("-")[1]}function m(e){return"x"===e?"y":"x"}function v(e){return"y"===e?"height":"width"}function g(e){let t=e[0];return"t"===t||"b"===t?"y":"x"}function y(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}let w=["left","right"],x=["right","left"],b=["top","bottom"],E=["bottom","top"];function R(e){let t=p(e);return f[t]+e.slice(t.length)}function A(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function L(e){let{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function S(e,t,n){let r,{reference:i,floating:o}=e,l=g(t),a=m(g(t)),s=v(a),u=p(t),c="y"===l,f=i.x+i.width/2-o.width/2,d=i.y+i.height/2-o.height/2,y=i[s]/2-o[s]/2;switch(u){case"top":r={x:f,y:i.y-o.height};break;case"bottom":r={x:f,y:i.y+i.height};break;case"right":r={x:i.x+i.width,y:d};break;case"left":r={x:i.x-o.width,y:d};break;default:r={x:i.x,y:i.y}}switch(h(t)){case"start":r[a]-=y*(n&&c?-1:1);break;case"end":r[a]+=y*(n&&c?-1:1)}return r}async function C(e,t){var n;void 0===t&&(t={});let{x:r,y:i,platform:o,rects:l,elements:a,strategy:s}=e,{boundary:u="clippingAncestors",rootBoundary:c="viewport",elementContext:f="floating",altBoundary:p=!1,padding:h=0}=d(t,e),m=A(h),v=a[p?"floating"===f?"reference":"floating":f],g=L(await o.getClippingRect({element:null==(n=await (null==o.isElement?void 0:o.isElement(v)))||n?v:v.contextElement||await (null==o.getDocumentElement?void 0:o.getDocumentElement(a.floating)),boundary:u,rootBoundary:c,strategy:s})),y="floating"===f?{x:r,y:i,width:l.floating.width,height:l.floating.height}:l.reference,w=await (null==o.getOffsetParent?void 0:o.getOffsetParent(a.floating)),x=await (null==o.isElement?void 0:o.isElement(w))&&await (null==o.getScale?void 0:o.getScale(w))||{x:1,y:1},b=L(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:y,offsetParent:w,strategy:s}):y);return{top:(g.top-b.top+m.top)/x.y,bottom:(b.bottom-g.bottom+m.bottom)/x.y,left:(g.left-b.left+m.left)/x.x,right:(b.right-g.right+m.right)/x.x}}let O=async(e,t,n)=>{let{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:l}=n,a=l.detectOverflow?l:{...l,detectOverflow:C},s=await (null==l.isRTL?void 0:l.isRTL(t)),u=await l.getElementRects({reference:e,floating:t,strategy:i}),{x:c,y:f}=S(u,r,s),d=r,p=0,h={};for(let n=0;n<o.length;n++){let m=o[n];if(!m)continue;let{name:v,fn:g}=m,{x:y,y:w,data:x,reset:b}=await g({x:c,y:f,initialPlacement:r,placement:d,strategy:i,middlewareData:h,rects:u,platform:a,elements:{reference:e,floating:t}});c=null!=y?y:c,f=null!=w?w:f,h[v]={...h[v],...x},b&&p<50&&(p++,"object"==typeof b&&(b.placement&&(d=b.placement),b.rects&&(u=!0===b.rects?await l.getElementRects({reference:e,floating:t,strategy:i}):b.rects),{x:c,y:f}=S(u,d,s)),n=-1)}return{x:c,y:f,placement:d,strategy:i,middlewareData:h}};function P(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function T(e){return o.some(t=>e[t]>=0)}let D=new Set(["left","top"]);async function k(e,t){let{placement:n,platform:r,elements:i}=e,o=await (null==r.isRTL?void 0:r.isRTL(i.floating)),l=p(n),a=h(n),s="y"===g(n),u=D.has(l)?-1:1,c=o&&s?-1:1,f=d(t,e),{mainAxis:m,crossAxis:v,alignmentAxis:y}="number"==typeof f?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return a&&"number"==typeof y&&(v="end"===a?-1*y:y),s?{x:v*c,y:m*u}:{x:m*u,y:v*c}}function W(){return"undefined"!=typeof window}function H(e){return M(e)?(e.nodeName||"").toLowerCase():"#document"}function N(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function F(e){var t;return null==(t=(M(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function M(e){return!!W()&&(e instanceof Node||e instanceof N(e).Node)}function z(e){return!!W()&&(e instanceof Element||e instanceof N(e).Element)}function j(e){return!!W()&&(e instanceof HTMLElement||e instanceof N(e).HTMLElement)}function B(e){return!!W()&&"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof N(e).ShadowRoot)}function V(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=K(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&"inline"!==i&&"contents"!==i}function _(e){try{if(e.matches(":popover-open"))return!0}catch(e){}try{return e.matches(":modal")}catch(e){return!1}}let G=/transform|translate|scale|rotate|perspective|filter/,I=/paint|layout|strict|content/,Y=e=>!!e&&"none"!==e;function $(e){let t=z(e)?K(e):e;return Y(t.transform)||Y(t.translate)||Y(t.scale)||Y(t.rotate)||Y(t.perspective)||!X()&&(Y(t.backdropFilter)||Y(t.filter))||G.test(t.willChange||"")||I.test(t.contain||"")}function X(){return null==r&&(r="undefined"!=typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),r}function q(e){return/^(html|body|#document)$/.test(H(e))}function K(e){return N(e).getComputedStyle(e)}function U(e){return z(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Z(e){if("html"===H(e))return e;let t=e.assignedSlot||e.parentNode||B(e)&&e.host||F(e);return B(t)?t.host:t}function J(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);let i=function e(t){let n=Z(t);return q(n)?t.ownerDocument?t.ownerDocument.body:t.body:j(n)&&V(n)?n:e(n)}(e),o=i===(null==(r=e.ownerDocument)?void 0:r.body),l=N(i);if(!o)return t.concat(i,J(i,[],n));{let e=Q(l);return t.concat(l,l.visualViewport||[],V(i)?i:[],e&&n?J(e):[])}}function Q(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function ee(e){let t=K(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,i=j(e),o=i?e.offsetWidth:n,l=i?e.offsetHeight:r,a=s(n)!==o||s(r)!==l;return a&&(n=o,r=l),{width:n,height:r,$:a}}function et(e){return z(e)?e:e.contextElement}function en(e){let t=et(e);if(!j(t))return c(1);let n=t.getBoundingClientRect(),{width:r,height:i,$:o}=ee(t),l=(o?s(n.width):n.width)/r,a=(o?s(n.height):n.height)/i;return l&&Number.isFinite(l)||(l=1),a&&Number.isFinite(a)||(a=1),{x:l,y:a}}let er=c(0);function ei(e){let t=N(e);return X()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:er}function eo(e,t,n,r){var i;void 0===t&&(t=!1),void 0===n&&(n=!1);let o=e.getBoundingClientRect(),l=et(e),a=c(1);t&&(r?z(r)&&(a=en(r)):a=en(e));let s=(void 0===(i=n)&&(i=!1),r&&(!i||r===N(l))&&i)?ei(l):c(0),u=(o.left+s.x)/a.x,f=(o.top+s.y)/a.y,d=o.width/a.x,p=o.height/a.y;if(l){let e=N(l),t=r&&z(r)?N(r):r,n=e,i=Q(n);for(;i&&r&&t!==n;){let e=en(i),t=i.getBoundingClientRect(),r=K(i),o=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,l=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;u*=e.x,f*=e.y,d*=e.x,p*=e.y,u+=o,f+=l,i=Q(n=N(i))}}return L({width:d,height:p,x:u,y:f})}function el(e,t){let n=U(e).scrollLeft;return t?t.left+n:eo(F(e)).left+n}function ea(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-el(e,n),y:n.top+t.scrollTop}}function es(e,t,n){let r;if("viewport"===t)r=function(e,t){let n=N(e),r=F(e),i=n.visualViewport,o=r.clientWidth,l=r.clientHeight,a=0,s=0;if(i){o=i.width,l=i.height;let e=X();(!e||e&&"fixed"===t)&&(a=i.offsetLeft,s=i.offsetTop)}let u=el(r);if(u<=0){let e=r.ownerDocument,t=e.body,n=getComputedStyle(t),i="CSS1Compat"===e.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,l=Math.abs(r.clientWidth-t.clientWidth-i);l<=25&&(o-=l)}else u<=25&&(o+=u);return{width:o,height:l,x:a,y:s}}(e,n);else if("document"===t)r=function(e){let t=F(e),n=U(e),r=e.ownerDocument.body,i=a(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),o=a(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight),l=-n.scrollLeft+el(e),s=-n.scrollTop;return"rtl"===K(r).direction&&(l+=a(t.clientWidth,r.clientWidth)-i),{width:i,height:o,x:l,y:s}}(F(e));else if(z(t))r=function(e,t){let n=eo(e,!0,"fixed"===t),r=n.top+e.clientTop,i=n.left+e.clientLeft,o=j(e)?en(e):c(1),l=e.clientWidth*o.x,a=e.clientHeight*o.y;return{width:l,height:a,x:i*o.x,y:r*o.y}}(t,n);else{let n=ei(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return L(r)}function eu(e){return"static"===K(e).position}function ec(e,t){if(!j(e)||"fixed"===K(e).position)return null;if(t)return t(e);let n=e.offsetParent;return F(e)===n&&(n=n.ownerDocument.body),n}function ef(e,t){var n;let r=N(e);if(_(e))return r;if(!j(e)){let t=Z(e);for(;t&&!q(t);){if(z(t)&&!eu(t))return t;t=Z(t)}return r}let i=ec(e,t);for(;i&&(n=i,/^(table|td|th)$/.test(H(n)))&&eu(i);)i=ec(i,t);return i&&q(i)&&eu(i)&&!$(i)?r:i||function(e){let t=Z(e);for(;j(t)&&!q(t);){if($(t))return t;if(_(t))break;t=Z(t)}return null}(e)||r}let ed=async function(e){let t=this.getOffsetParent||ef,n=this.getDimensions,r=await n(e.floating);return{reference:function(e,t,n){let r=j(t),i=F(t),o="fixed"===n,l=eo(e,!0,o,t),a={scrollLeft:0,scrollTop:0},s=c(0);if(r||!r&&!o)if(("body"!==H(t)||V(i))&&(a=U(t)),r){let e=eo(t,!0,o,t);s.x=e.x+t.clientLeft,s.y=e.y+t.clientTop}else i&&(s.x=el(i));o&&!r&&i&&(s.x=el(i));let u=!i||r||o?c(0):ea(i,a);return{x:l.left+a.scrollLeft-s.x-u.x,y:l.top+a.scrollTop-s.y-u.y,width:l.width,height:l.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},ep={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e,o="fixed"===i,l=F(r),a=!!t&&_(t.floating);if(r===l||a&&o)return n;let s={scrollLeft:0,scrollTop:0},u=c(1),f=c(0),d=j(r);if((d||!d&&!o)&&(("body"!==H(r)||V(l))&&(s=U(r)),d)){let e=eo(r);u=en(r),f.x=e.x+r.clientLeft,f.y=e.y+r.clientTop}let p=!l||d||o?c(0):ea(l,s);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-s.scrollLeft*u.x+f.x+p.x,y:n.y*u.y-s.scrollTop*u.y+f.y+p.y}},getDocumentElement:F,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e,o=[..."clippingAncestors"===n?_(t)?[]:function(e,t){let n=t.get(e);if(n)return n;let r=J(e,[],!1).filter(e=>z(e)&&"body"!==H(e)),i=null,o="fixed"===K(e).position,l=o?Z(e):e;for(;z(l)&&!q(l);){let t=K(l),n=$(l);n||"fixed"!==t.position||(i=null),(o?n||i:!(!n&&"static"===t.position&&i&&("absolute"===i.position||"fixed"===i.position)||V(l)&&!n&&function e(t,n){let r=Z(t);return!(r===n||!z(r)||q(r))&&("fixed"===K(r).position||e(r,n))}(e,l)))?i=t:r=r.filter(e=>e!==l),l=Z(l)}return t.set(e,r),r}(t,this._c):[].concat(n),r],s=es(t,o[0],i),u=s.top,c=s.right,f=s.bottom,d=s.left;for(let e=1;e<o.length;e++){let n=es(t,o[e],i);u=a(n.top,u),c=l(n.right,c),f=l(n.bottom,f),d=a(n.left,d)}return{width:c-d,height:f-u,x:d,y:u}},getOffsetParent:ef,getElementRects:ed,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:n}=ee(e);return{width:t,height:n}},getScale:en,isElement:z,isRTL:function(e){return"rtl"===K(e).direction}};function eh(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}let em=e=>({name:"arrow",options:e,async fn(t){let{x:n,y:r,placement:i,rects:o,platform:s,elements:u,middlewareData:c}=t,{element:f,padding:p=0}=d(e,t)||{};if(null==f)return{};let y=A(p),w={x:n,y:r},x=m(g(i)),b=v(x),E=await s.getDimensions(f),R="y"===x,L=R?"clientHeight":"clientWidth",S=o.reference[b]+o.reference[x]-w[x]-o.floating[b],C=w[x]-o.reference[x],O=await (null==s.getOffsetParent?void 0:s.getOffsetParent(f)),P=O?O[L]:0;P&&await (null==s.isElement?void 0:s.isElement(O))||(P=u.floating[L]||o.floating[b]);let T=P/2-E[b]/2-1,D=l(y[R?"top":"left"],T),k=l(y[R?"bottom":"right"],T),W=P-E[b]-k,H=P/2-E[b]/2+(S/2-C/2),N=a(D,l(H,W)),F=!c.arrow&&null!=h(i)&&H!==N&&o.reference[b]/2-(H<D?D:k)-E[b]/2<0,M=F?H<D?H-D:H-W:0;return{[x]:w[x]+M,data:{[x]:N,centerOffset:H-N-M,...F&&{alignmentOffset:M}},reset:F}}});var ev=n(41472),eg="undefined"!=typeof document?i.useLayoutEffect:function(){};function ey(e,t){let n,r,i;if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if((n=e.length)!==t.length)return!1;for(r=n;0!=r--;)if(!ey(e[r],t[r]))return!1;return!0}if((n=(i=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!({}).hasOwnProperty.call(t,i[r]))return!1;for(r=n;0!=r--;){let n=i[r];if(("_owner"!==n||!e.$$typeof)&&!ey(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function ew(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function ex(e,t){let n=ew(e);return Math.round(t*n)/n}function eb(e){let t=i.useRef(e);return eg(()=>{t.current=e}),t}var eE=n(26505),eR=n(1785),eA=i.forwardRef((e,t)=>{let{children:n,width:r=10,height:i=5,...o}=e;return(0,eR.jsx)(eE.sG.svg,{...o,ref:t,width:r,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:(0,eR.jsx)("polygon",{points:"0,0 30,0 15,10"})})});eA.displayName="Arrow";var eL=n(43958),eS=n(22171),eC=n(9151),eO=n(45873),eP="Popper",[eT,eD]=(0,eS.A)(eP),[ek,eW]=eT(eP),eH=e=>{let{__scopePopper:t,children:n}=e,[r,o]=i.useState(null),[l,a]=i.useState(void 0);return(0,eR.jsx)(ek,{scope:t,anchor:r,onAnchorChange:o,placementState:l,setPlacementState:a,children:n})};eH.displayName=eP;var eN="PopperAnchor",eF=i.forwardRef((e,t)=>{let{__scopePopper:n,virtualRef:r,...o}=e,l=eW(eN,n),a=i.useRef(null),s=l.onAnchorChange,u=i.useCallback(e=>{a.current=e,e&&s(e)},[s]),c=(0,eL.s)(t,u),f=i.useRef(null);i.useEffect(()=>{if(!r)return;let e=f.current;f.current=r.current,e!==f.current&&s(f.current)});let d=l.placementState&&e$(l.placementState),p=null==d?void 0:d[0],h=null==d?void 0:d[1];return r?null:(0,eR.jsx)(eE.sG.div,{"data-radix-popper-side":p,"data-radix-popper-align":h,...o,ref:c})});eF.displayName=eN;var eM="PopperContent",[ez,ej]=eT(eM),eB=i.forwardRef((e,t)=>{var n,r,o,s,c,f,A,L;let{__scopePopper:S,side:C="bottom",sideOffset:W=0,align:H="center",alignOffset:N=0,arrowPadding:M=0,avoidCollisions:z=!0,collisionBoundary:j=[],collisionPadding:B=0,sticky:V="partial",hideWhenDetached:_=!1,updatePositionStrategy:G="optimized",onPlaced:I,...Y}=e,$=eW(eM,S),[X,q]=i.useState(null),K=(0,eL.s)(t,e=>q(e)),[U,Z]=i.useState(null),Q=function(e){let[t,n]=i.useState(void 0);return(0,eO.N)(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let r,i;if(!Array.isArray(t)||!t.length)return;let o=t[0];if("borderBoxSize"in o){let e=o.borderBoxSize,t=Array.isArray(e)?e[0]:e;r=t.inlineSize,i=t.blockSize}else r=e.offsetWidth,i=e.offsetHeight;n({width:r,height:i})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}n(void 0)},[e]),t}(U),ee=null!=(A=null==Q?void 0:Q.width)?A:0,en=null!=(L=null==Q?void 0:Q.height)?L:0,er="number"==typeof B?B:{top:0,right:0,bottom:0,left:0,...B},ei=Array.isArray(j)?j:[j],el=ei.length>0,ea={padding:er,boundary:ei.filter(eI),altBoundary:el},{refs:es,floatingStyles:eu,placement:ec,isPositioned:ef,middlewareData:ed}=function(e){void 0===e&&(e={});let{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:l,floating:a}={},transform:s=!0,whileElementsMounted:u,open:c}=e,[f,d]=i.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[p,h]=i.useState(r);ey(p,r)||h(r);let[m,v]=i.useState(null),[g,y]=i.useState(null),w=i.useCallback(e=>{e!==R.current&&(R.current=e,v(e))},[]),x=i.useCallback(e=>{e!==A.current&&(A.current=e,y(e))},[]),b=l||m,E=a||g,R=i.useRef(null),A=i.useRef(null),L=i.useRef(f),S=null!=u,C=eb(u),P=eb(o),T=eb(c),D=i.useCallback(()=>{if(!R.current||!A.current)return;let e={placement:t,strategy:n,middleware:p};P.current&&(e.platform=P.current),((e,t,n)=>{let r=new Map,i={platform:ep,...n},o={...i.platform,_c:r};return O(e,t,{...i,platform:o})})(R.current,A.current,e).then(e=>{let t={...e,isPositioned:!1!==T.current};k.current&&!ey(L.current,t)&&(L.current=t,ev.flushSync(()=>{d(t)}))})},[p,t,n,P,T]);eg(()=>{!1===c&&L.current.isPositioned&&(L.current.isPositioned=!1,d(e=>({...e,isPositioned:!1})))},[c]);let k=i.useRef(!1);eg(()=>(k.current=!0,()=>{k.current=!1}),[]),eg(()=>{if(b&&(R.current=b),E&&(A.current=E),b&&E){if(C.current)return C.current(b,E,D);D()}},[b,E,D,C,S]);let W=i.useMemo(()=>({reference:R,floating:A,setReference:w,setFloating:x}),[w,x]),H=i.useMemo(()=>({reference:b,floating:E}),[b,E]),N=i.useMemo(()=>{let e={position:n,left:0,top:0};if(!H.floating)return e;let t=ex(H.floating,f.x),r=ex(H.floating,f.y);return s?{...e,transform:"translate("+t+"px, "+r+"px)",...ew(H.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}},[n,s,H.floating,f.x,f.y]);return i.useMemo(()=>({...f,update:D,refs:W,elements:H,floatingStyles:N}),[f,D,W,H,N])}({strategy:"fixed",placement:C+("center"!==H?"-"+H:""),whileElementsMounted:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e,t,n,r){let i;void 0===r&&(r={});let{ancestorScroll:o=!0,ancestorResize:s=!0,elementResize:c="function"==typeof ResizeObserver,layoutShift:f="function"==typeof IntersectionObserver,animationFrame:d=!1}=r,p=et(e),h=o||s?[...p?J(p):[],...t?J(t):[]]:[];h.forEach(e=>{o&&e.addEventListener("scroll",n,{passive:!0}),s&&e.addEventListener("resize",n)});let m=p&&f?function(e,t){let n,r=null,i=F(e);function o(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return!function s(c,f){void 0===c&&(c=!1),void 0===f&&(f=1),o();let d=e.getBoundingClientRect(),{left:p,top:h,width:m,height:v}=d;if(c||t(),!m||!v)return;let g=u(h),y=u(i.clientWidth-(p+m)),w={rootMargin:-g+"px "+-y+"px "+-u(i.clientHeight-(h+v))+"px "+-u(p)+"px",threshold:a(0,l(1,f))||1},x=!0;function b(t){let r=t[0].intersectionRatio;if(r!==f){if(!x)return s();r?s(!1,r):n=setTimeout(()=>{s(!1,1e-7)},1e3)}1!==r||eh(d,e.getBoundingClientRect())||s(),x=!1}try{r=new IntersectionObserver(b,{...w,root:i.ownerDocument})}catch(e){r=new IntersectionObserver(b,w)}r.observe(e)}(!0),o}(p,n):null,v=-1,g=null;c&&(g=new ResizeObserver(e=>{let[r]=e;r&&r.target===p&&g&&t&&(g.unobserve(t),cancelAnimationFrame(v),v=requestAnimationFrame(()=>{var e;null==(e=g)||e.observe(t)})),n()}),p&&!d&&g.observe(p),t&&g.observe(t));let y=d?eo(e):null;return d&&function t(){let r=eo(e);y&&!eh(y,r)&&n(),y=r,i=requestAnimationFrame(t)}(),n(),()=>{var e;h.forEach(e=>{o&&e.removeEventListener("scroll",n),s&&e.removeEventListener("resize",n)}),null==m||m(),null==(e=g)||e.disconnect(),g=null,d&&cancelAnimationFrame(i)}}(...t,{animationFrame:"always"===G})},elements:{reference:$.anchor},middleware:[((e,t)=>{let n=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,r;let{x:i,y:o,placement:l,middlewareData:a}=t,s=await k(t,e);return l===(null==(n=a.offset)?void 0:n.placement)&&null!=(r=a.arrow)&&r.alignmentOffset?{}:{x:i+s.x,y:o+s.y,data:{...s,placement:l}}}}}(e);return{name:n.name,fn:n.fn,options:[e,t]}})({mainAxis:W+en,alignmentAxis:N}),z&&((e,t)=>{let n=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){let{x:n,y:r,placement:i,platform:o}=t,{mainAxis:s=!0,crossAxis:u=!1,limiter:c={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...f}=d(e,t),h={x:n,y:r},v=await o.detectOverflow(t,f),y=g(p(i)),w=m(y),x=h[w],b=h[y];if(s){let e="y"===w?"top":"left",t="y"===w?"bottom":"right",n=x+v[e],r=x-v[t];x=a(n,l(x,r))}if(u){let e="y"===y?"top":"left",t="y"===y?"bottom":"right",n=b+v[e],r=b-v[t];b=a(n,l(b,r))}let E=c.fn({...t,[w]:x,[y]:b});return{...E,data:{x:E.x-n,y:E.y-r,enabled:{[w]:s,[y]:u}}}}}}(e);return{name:n.name,fn:n.fn,options:[e,t]}})({mainAxis:!0,crossAxis:!1,limiter:"partial"===V?((e,t)=>({fn:function(e){return void 0===e&&(e={}),{options:e,fn(t){let{x:n,y:r,placement:i,rects:o,middlewareData:l}=t,{offset:a=0,mainAxis:s=!0,crossAxis:u=!0}=d(e,t),c={x:n,y:r},f=g(i),h=m(f),v=c[h],y=c[f],w=d(a,t),x="number"==typeof w?{mainAxis:w,crossAxis:0}:{mainAxis:0,crossAxis:0,...w};if(s){let e="y"===h?"height":"width",t=o.reference[h]-o.floating[e]+x.mainAxis,n=o.reference[h]+o.reference[e]-x.mainAxis;v<t?v=t:v>n&&(v=n)}if(u){var b,E;let e="y"===h?"width":"height",t=D.has(p(i)),n=o.reference[f]-o.floating[e]+(t&&(null==(b=l.offset)?void 0:b[f])||0)+(t?0:x.crossAxis),r=o.reference[f]+o.reference[e]+(t?0:(null==(E=l.offset)?void 0:E[f])||0)-(t?x.crossAxis:0);y<n?y=n:y>r&&(y=r)}return{[h]:v,[f]:y}}}}(e).fn,options:[e,t]}))():void 0,...ea}),z&&((e,t)=>{let n=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,r,i,o,l;let{placement:a,middlewareData:s,rects:u,initialPlacement:c,platform:f,elements:A}=t,{mainAxis:L=!0,crossAxis:S=!0,fallbackPlacements:C,fallbackStrategy:O="bestFit",fallbackAxisSideDirection:P="none",flipAlignment:T=!0,...D}=d(e,t);if(null!=(n=s.arrow)&&n.alignmentOffset)return{};let k=p(a),W=g(c),H=p(c)===c,N=await (null==f.isRTL?void 0:f.isRTL(A.floating)),F=C||(H||!T?[R(c)]:function(e){let t=R(e);return[y(e),t,y(t)]}(c)),M="none"!==P;!C&&M&&F.push(...function(e,t,n,r){let i=h(e),o=function(e,t,n){switch(e){case"top":case"bottom":if(n)return t?x:w;return t?w:x;case"left":case"right":return t?b:E;default:return[]}}(p(e),"start"===n,r);return i&&(o=o.map(e=>e+"-"+i),t&&(o=o.concat(o.map(y)))),o}(c,T,P,N));let z=[c,...F],j=await f.detectOverflow(t,D),B=[],V=(null==(r=s.flip)?void 0:r.overflows)||[];if(L&&B.push(j[k]),S){let e=function(e,t,n){void 0===n&&(n=!1);let r=h(e),i=m(g(e)),o=v(i),l="x"===i?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[o]>t.floating[o]&&(l=R(l)),[l,R(l)]}(a,u,N);B.push(j[e[0]],j[e[1]])}if(V=[...V,{placement:a,overflows:B}],!B.every(e=>e<=0)){let e=((null==(i=s.flip)?void 0:i.index)||0)+1,t=z[e];if(t&&("alignment"!==S||W===g(t)||V.every(e=>g(e.placement)!==W||e.overflows[0]>0)))return{data:{index:e,overflows:V},reset:{placement:t}};let n=null==(o=V.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:o.placement;if(!n)switch(O){case"bestFit":{let e=null==(l=V.filter(e=>{if(M){let t=g(e.placement);return t===W||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:l[0];e&&(n=e);break}case"initialPlacement":n=c}if(a!==n)return{reset:{placement:n}}}return{}}}}(e);return{name:n.name,fn:n.fn,options:[e,t]}})({...ea}),((e,t)=>{let n=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){var n,r;let i,o,{placement:s,rects:u,platform:c,elements:f}=t,{apply:m=()=>{},...v}=d(e,t),y=await c.detectOverflow(t,v),w=p(s),x=h(s),b="y"===g(s),{width:E,height:R}=u.floating;"top"===w||"bottom"===w?(i=w,o=x===(await (null==c.isRTL?void 0:c.isRTL(f.floating))?"start":"end")?"left":"right"):(o=w,i="end"===x?"top":"bottom");let A=R-y.top-y.bottom,L=E-y.left-y.right,S=l(R-y[i],A),C=l(E-y[o],L),O=!t.middlewareData.shift,P=S,T=C;if(null!=(n=t.middlewareData.shift)&&n.enabled.x&&(T=L),null!=(r=t.middlewareData.shift)&&r.enabled.y&&(P=A),O&&!x){let e=a(y.left,0),t=a(y.right,0),n=a(y.top,0),r=a(y.bottom,0);b?T=E-2*(0!==e||0!==t?e+t:a(y.left,y.right)):P=R-2*(0!==n||0!==r?n+r:a(y.top,y.bottom))}await m({...t,availableWidth:T,availableHeight:P});let D=await c.getDimensions(f.floating);return E!==D.width||R!==D.height?{reset:{rects:!0}}:{}}}}(e);return{name:n.name,fn:n.fn,options:[e,t]}})({...ea,apply:e=>{let{elements:t,rects:n,availableWidth:r,availableHeight:i}=e,{width:o,height:l}=n.reference,a=t.floating.style;a.setProperty("--radix-popper-available-width","".concat(r,"px")),a.setProperty("--radix-popper-available-height","".concat(i,"px")),a.setProperty("--radix-popper-anchor-width","".concat(o,"px")),a.setProperty("--radix-popper-anchor-height","".concat(l,"px"))}}),U&&((e,t)=>{let n=(e=>({name:"arrow",options:e,fn(t){let{element:n,padding:r}="function"==typeof e?e(t):e;return n&&({}).hasOwnProperty.call(n,"current")?null!=n.current?em({element:n.current,padding:r}).fn(t):{}:n?em({element:n,padding:r}).fn(t):{}}}))(e);return{name:n.name,fn:n.fn,options:[e,t]}})({element:U,padding:M}),eY({arrowWidth:ee,arrowHeight:en}),_&&((e,t)=>{let n=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){let{rects:n,platform:r}=t,{strategy:i="referenceHidden",...o}=d(e,t);switch(i){case"referenceHidden":{let e=P(await r.detectOverflow(t,{...o,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:T(e)}}}case"escaped":{let e=P(await r.detectOverflow(t,{...o,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:T(e)}}}default:return{}}}}}(e);return{name:n.name,fn:n.fn,options:[e,t]}})({strategy:"referenceHidden",...ea,boundary:el?ea.boundary:void 0})]}),eA=$.setPlacementState;(0,eO.N)(()=>(eA(ec),()=>{eA(void 0)}),[ec,eA]);let[eS,eP]=e$(ec),eT=(0,eC.c)(I);(0,eO.N)(()=>{ef&&(null==eT||eT())},[ef,eT]);let eD=null==(n=ed.arrow)?void 0:n.x,ek=null==(r=ed.arrow)?void 0:r.y,eH=(null==(o=ed.arrow)?void 0:o.centerOffset)!==0,[eN,eF]=i.useState();return(0,eO.N)(()=>{X&&eF(window.getComputedStyle(X).zIndex)},[X]),(0,eR.jsx)("div",{ref:es.setFloating,"data-radix-popper-content-wrapper":"",style:{...eu,transform:ef?eu.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:eN,"--radix-popper-transform-origin":[null==(s=ed.transformOrigin)?void 0:s.x,null==(c=ed.transformOrigin)?void 0:c.y].join(" "),...(null==(f=ed.hide)?void 0:f.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,eR.jsx)(ez,{scope:S,placedSide:eS,placedAlign:eP,onArrowChange:Z,arrowX:eD,arrowY:ek,shouldHideArrow:eH,children:(0,eR.jsx)(eE.sG.div,{"data-side":eS,"data-align":eP,...Y,ref:K,style:{...Y.style,animation:ef?void 0:"none"}})})})});eB.displayName=eM;var eV="PopperArrow",e_={top:"bottom",right:"left",bottom:"top",left:"right"},eG=i.forwardRef(function(e,t){let{__scopePopper:n,...r}=e,i=ej(eV,n),o=e_[i.placedSide];return(0,eR.jsx)("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[o]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0},children:(0,eR.jsx)(eA,{...r,ref:t,style:{...r.style,display:"block"}})})});function eI(e){return null!==e}eG.displayName=eV;var eY=e=>({name:"transformOrigin",options:e,fn(t){var n,r,i,o,l;let{placement:a,rects:s,middlewareData:u}=t,c=(null==(n=u.arrow)?void 0:n.centerOffset)!==0,f=c?0:e.arrowWidth,d=c?0:e.arrowHeight,[p,h]=e$(a),m={start:"0%",center:"50%",end:"100%"}[h],v=(null!=(o=null==(r=u.arrow)?void 0:r.x)?o:0)+f/2,g=(null!=(l=null==(i=u.arrow)?void 0:i.y)?l:0)+d/2,y="",w="";return"bottom"===p?(y=c?m:"".concat(v,"px"),w="".concat(-d,"px")):"top"===p?(y=c?m:"".concat(v,"px"),w="".concat(s.floating.height+d,"px")):"right"===p?(y="".concat(-d,"px"),w=c?m:"".concat(g,"px")):"left"===p&&(y="".concat(s.floating.width+d,"px"),w=c?m:"".concat(g,"px")),{data:{x:y,y:w}}}});function e$(e){let[t,n="center"]=e.split("-");return[t,n]}var eX=eH,eq=eF,eK=eB,eU=eG},51818:(e,t,n)=>{n.d(t,{qW:()=>d,e0:()=>p});var r,i=n(16685),o=n(59419),l=n(26505),a=n(43958),s=n(9151),u=n(1785),c="dismissableLayer.update",f=i.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set,dismissableSurfaces:new Set}),d=i.forwardRef((e,t)=>{var n,d;let{disableOutsidePointerEvents:p=!1,deferPointerDownOutside:v=!1,onEscapeKeyDown:g,onPointerDownOutside:y,onFocusOutside:w,onInteractOutside:x,onDismiss:b,...E}=e,R=i.useContext(f),[A,L]=i.useState(null),S=null!=(d=null==A?void 0:A.ownerDocument)?d:null==(n=globalThis)?void 0:n.document,[,C]=i.useState({}),O=(0,a.s)(t,e=>L(e)),P=Array.from(R.layers),[T]=[...R.layersWithOutsidePointerEventsDisabled].slice(-1),D=P.indexOf(T),k=A?P.indexOf(A):-1,W=R.layersWithOutsidePointerEventsDisabled.size>0,H=k>=D,N=i.useRef(!1),F=function(e,t){var n;let{ownerDocument:r=null==(n=globalThis)?void 0:n.document,deferPointerDownOutside:o=!1,isDeferredPointerDownOutsideRef:l,dismissableSurfaces:a}=t,u=(0,s.c)(e),c=i.useRef(!1),f=i.useRef(!1),d=i.useRef(new Map),p=i.useRef(()=>{});return i.useEffect(()=>{function e(){f.current=!1,l.current=!1,d.current.clear()}function t(e){if(!f.current)return;let t=e.target;t instanceof Node&&[...a].some(e=>e.contains(t))||d.current.set(e.type,!0),"click"===e.type&&window.setTimeout(()=>{f.current&&p.current()},0)}function n(e){f.current&&d.current.set(e.type,!1)}let i=t=>{if(t.target&&!c.current){let n=function(){r.removeEventListener("click",p.current);let t=Array.from(d.current.values()).some(Boolean);e(),t||m("dismissableLayer.pointerDownOutside",u,i,{discrete:!0})},i={originalEvent:t};f.current=!0,l.current=o&&0===t.button,d.current.clear(),o&&0===t.button?(r.removeEventListener("click",p.current),p.current=n,r.addEventListener("click",p.current,{once:!0})):n()}else r.removeEventListener("click",p.current),e();c.current=!1},s=["pointerup","mousedown","mouseup","touchstart","touchend","click"];for(let e of s)r.addEventListener(e,t,!0),r.addEventListener(e,n);let h=window.setTimeout(()=>{r.addEventListener("pointerdown",i)},0);return()=>{for(let e of(window.clearTimeout(h),r.removeEventListener("pointerdown",i),r.removeEventListener("click",p.current),s))r.removeEventListener(e,t,!0),r.removeEventListener(e,n)}},[r,u,o,l,a]),{onPointerDownCapture:()=>c.current=!0}}(e=>{let t=e.target;if(!(t instanceof Node))return;let n=[...R.branches].some(e=>e.contains(t));H&&!n&&(null==y||y(e),null==x||x(e),e.defaultPrevented||null==b||b())},{ownerDocument:S,deferPointerDownOutside:v,isDeferredPointerDownOutsideRef:N,dismissableSurfaces:R.dismissableSurfaces}),M=function(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null==(t=globalThis)?void 0:t.document,r=(0,s.c)(e),o=i.useRef(!1);return i.useEffect(()=>{let e=e=>{e.target&&!o.current&&m("dismissableLayer.focusOutside",r,{originalEvent:e},{discrete:!1})};return n.addEventListener("focusin",e),()=>n.removeEventListener("focusin",e)},[n,r]),{onFocusCapture:()=>o.current=!0,onBlurCapture:()=>o.current=!1}}(e=>{if(v&&N.current)return;let t=e.target;![...R.branches].some(e=>e.contains(t))&&(null==w||w(e),null==x||x(e),e.defaultPrevented||null==b||b())},S);return!function(e,t=globalThis?.document){let n=(0,s.c)(e);i.useEffect(()=>{let e=e=>{"Escape"===e.key&&n(e)};return t.addEventListener("keydown",e,{capture:!0}),()=>t.removeEventListener("keydown",e,{capture:!0})},[n,t])}(e=>{k===R.layers.size-1&&(null==g||g(e),!e.defaultPrevented&&b&&(e.preventDefault(),b()))},S),i.useEffect(()=>{if(A)return p&&(0===R.layersWithOutsidePointerEventsDisabled.size&&(r=S.body.style.pointerEvents,S.body.style.pointerEvents="none"),R.layersWithOutsidePointerEventsDisabled.add(A)),R.layers.add(A),h(),()=>{p&&(R.layersWithOutsidePointerEventsDisabled.delete(A),0===R.layersWithOutsidePointerEventsDisabled.size&&(S.body.style.pointerEvents=r))}},[A,S,p,R]),i.useEffect(()=>()=>{A&&(R.layers.delete(A),R.layersWithOutsidePointerEventsDisabled.delete(A),h())},[A,R]),i.useEffect(()=>{let e=()=>C({});return document.addEventListener(c,e),()=>document.removeEventListener(c,e)},[]),(0,u.jsx)(l.sG.div,{...E,ref:O,style:{pointerEvents:W?H?"auto":"none":void 0,...e.style},onFocusCapture:(0,o.mK)(e.onFocusCapture,M.onFocusCapture),onBlurCapture:(0,o.mK)(e.onBlurCapture,M.onBlurCapture),onPointerDownCapture:(0,o.mK)(e.onPointerDownCapture,F.onPointerDownCapture)})});function p(){let e=i.useContext(f),[t,n]=i.useState(null);return i.useEffect(()=>{if(t)return e.dismissableSurfaces.add(t),()=>{e.dismissableSurfaces.delete(t)}},[t,e.dismissableSurfaces]),n}function h(){let e=new CustomEvent(c);document.dispatchEvent(e)}function m(e,t,n,r){let{discrete:i}=r,o=n.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),i?(0,l.hO)(o,a):o.dispatchEvent(a)}d.displayName="DismissableLayer",i.forwardRef((e,t)=>{let n=i.useContext(f),r=i.useRef(null),o=(0,a.s)(t,r);return i.useEffect(()=>{let e=r.current;if(e)return n.branches.add(e),()=>{n.branches.delete(e)}},[n.branches]),(0,u.jsx)(l.sG.div,{...e,ref:o})}).displayName="DismissableLayerBranch"},60394:(e,t,n)=>{n.d(t,{Z:()=>s});var r=n(16685),i=n(41472),o=n(26505),l=n(45873),a=n(1785),s=r.forwardRef((e,t)=>{var n,s;let{container:u,...c}=e,[f,d]=r.useState(!1);(0,l.N)(()=>d(!0),[]);let p=u||f&&(null==(s=globalThis)||null==(n=s.document)?void 0:n.body);return p?i.createPortal((0,a.jsx)(o.sG.div,{...c,ref:t}),p):null});s.displayName="Portal"}}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[942],{6206:(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)},7584:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addPathSuffix",{enumerable:!0,get:function(){return a}});let n=r(68826);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}},10175:(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}},11202:(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}})},14019:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isDynamicRoute",{enumerable:!0,get:function(){return i}});let n=r(39932),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)}},14321:(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(77767),a=r(14019)},19876:(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(68826),("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)},28467:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"denormalizePagePath",{enumerable:!0,get:function(){return o}});let n=r(14321),a=r(73379);function o(e){let t=(0,a.normalizePathSep)(e);return t.startsWith("/index/")&&!(0,n.isDynamicRoute)(t)?t.slice(6):"/index"!==t?t:"/"}},29791:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(11495).A)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},30352:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(11495).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"}]])},33263:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getNextPathnameInfo",{enumerable:!0,get:function(){return i}});let n=r(40386),a=r(66932),o=r(80308);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}},34938:(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 T},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 j},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 M},RSC_CACHE_WRAPPER_ALIAS:function(){return U},RSC_DYNAMIC_IMPORT_WRAPPER_ALIAS:function(){return H},RSC_MOD_REF_PROXY_ALIAS:function(){return L},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}`,T="instrumentation",j="private-next-pages",N="private-dot-next",I="private-next-root-dir",D="private-next-app-dir",L="private-next-rsc-mod-ref-proxy",M="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__"}},35688:(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)},35872:(e,t,r)=>{"use strict";r.d(t,{UC:()=>M,VY:()=>W,ZL:()=>T,bL:()=>O,bm:()=>q,hE:()=>B,hJ:()=>N,l9:()=>S});var n=r(16685),a=r(59419),o=r(43958),i=r(22171),s=r(38883),l=r(33945),u=r(51818),c=r(2471),d=r(60394),f=r(95299),p=r(26505),h=r(27881),m=r(5772),g=r(90992),_=r(75697),v=r(1785),E="Dialog",[b,y]=(0,i.A)(E),[P,R]=b(E),O=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:E});return(0,v.jsx)(P,{scope:t,triggerRef:c,contentRef:d,contentId:(0,s.B)(),titleId:(0,s.B)(),descriptionId:(0,s.B)(),open:f,onOpenChange:p,onOpenToggle:n.useCallback(()=>p(e=>!e),[p]),modal:u,children:r})};O.displayName=E;var x="DialogTrigger",S=n.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,i=R(x,r),s=(0,o.s)(t,i.triggerRef);return(0,v.jsx)(p.sG.button,{type:"button","aria-haspopup":"dialog","aria-expanded":i.open,"aria-controls":i.open?i.contentId:void 0,"data-state":V(i.open),...n,ref:s,onClick:(0,a.mK)(e.onClick,i.onOpenToggle)})});S.displayName=x;var w="DialogPortal",[C,A]=b(w,{forceMount:void 0}),T=e=>{let{__scopeDialog:t,forceMount:r,children:a,container:o}=e,i=R(w,t);return(0,v.jsx)(C,{scope:t,forceMount:r,children:n.Children.map(a,e=>(0,v.jsx)(f.C,{present:r||i.open,children:(0,v.jsx)(d.Z,{asChild:!0,container:o,children:e})}))})};T.displayName=w;var j="DialogOverlay",N=n.forwardRef((e,t)=>{let r=A(j,e.__scopeDialog),{forceMount:n=r.forceMount,...a}=e,o=R(j,e.__scopeDialog);return o.modal?(0,v.jsx)(f.C,{present:n||o.open,children:(0,v.jsx)(D,{...a,ref:t})}):null});N.displayName=j;var I=(0,_.TL)("DialogOverlay.RemoveScroll"),D=n.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,a=R(j,r),i=(0,u.e0)(),s=(0,o.s)(t,i);return(0,v.jsx)(m.A,{as:I,allowPinchZoom:!0,shards:[a.contentRef],children:(0,v.jsx)(p.sG.div,{"data-state":V(a.open),...n,ref:s,style:{pointerEvents:"auto",...n.style}})})}),L="DialogContent",M=n.forwardRef((e,t)=>{let r=A(L,e.__scopeDialog),{forceMount:n=r.forceMount,...a}=e,o=R(L,e.__scopeDialog);return(0,v.jsx)(f.C,{present:n||o.open,children:o.modal?(0,v.jsx)(k,{...a,ref:t}):(0,v.jsx)(U,{...a,ref:t})})});M.displayName=L;var k=n.forwardRef((e,t)=>{let r=R(L,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,g.Eq)(e)},[]),(0,v.jsx)(H,{...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())})}),U=n.forwardRef((e,t)=>{let r=R(L,e.__scopeDialog),a=n.useRef(!1),o=n.useRef(!1);return(0,v.jsx)(H,{...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()}})}),H=n.forwardRef((e,t)=>{let{__scopeDialog:r,trapFocus:n,onOpenAutoFocus:a,onCloseAutoFocus:o,...i}=e,s=R(L,r);return(0,h.Oh)(),(0,v.jsx)(v.Fragment,{children:(0,v.jsx)(c.n,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:a,onUnmountAutoFocus:o,children:(0,v.jsx)(u.qW,{role:"dialog",id:s.contentId,"aria-describedby":s.descriptionId,"aria-labelledby":s.titleId,"data-state":V(s.open),...i,ref:t,deferPointerDownOutside:!0,onDismiss:()=>s.onOpenChange(!1)})})})}),F="DialogTitle",B=n.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,a=R(F,r);return(0,v.jsx)(p.sG.h2,{id:a.titleId,...n,ref:t})});B.displayName=F;var X="DialogDescription",W=n.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,a=R(X,r);return(0,v.jsx)(p.sG.p,{id:a.descriptionId,...n,ref:t})});W.displayName=X;var G="DialogClose",q=n.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,o=R(G,r);return(0,v.jsx)(p.sG.button,{type:"button",...n,ref:t,onClick:(0,a.mK)(e.onClick,()=>o.onOpenChange(!1))})});function V(e){return e?"open":"closed"}q.displayName=G},36114:(e,t,r)=>{"use strict";r.d(t,{rd:()=>f});var n=r(41850),a=r(16685),o=r(90320),i=r(17639),s=r(94290),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 T=new URL(location.href),j=new URL(t,location.href);x.i18nPath&&((a=(n=T).pathname.split("/")).length>1&&a[1]&&(a.splice(1,1),n.pathname=a.join("/")||"/"),T=n),x.basePath&&(j.pathname=x.basePath+("/"!==j.pathname?j.pathname:""));var N=(0,o.W_)(j,T);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"},37753:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"interpolateAs",{enumerable:!0,get:function(){return o}});let n=r(80247),a=r(75634);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}}},39060:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"formatNextPathnameInfo",{enumerable:!0,get:function(){return s}});let n=r(90906),a=r(37877),o=r(7584),i=r(97647);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)}},39772:(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}},39935:(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)},40386:(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})}},40651:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(11495).A)("search",[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]])},40817:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"parseRelativeUrl",{enumerable:!0,get:function(){return o}});let n=r(68462),a=r(31296);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}}},41005:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"resolveHref",{enumerable:!0,get:function(){return p}});let n=r(31296),a=r(84896),o=r(11202),i=r(68462),s=r(71185),l=r(62649),u=r(14321),c=r(37753),d=r(75634),f=r(80247);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)},44073:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(11495).A)("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]])},52704:(e,t,r)=>{"use strict";function n(e){return e}r.d(t,{A:()=>n})},56363:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o}}),r(77860);let n=r(1785);r(16685);let a=r(94290);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)},57604:(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 M}});let n=r(77860),a=r(14689),o=r(90906),i=r(59016),s=r(79684),l=a._(r(70046)),u=r(28467),c=r(40386),d=n._(r(69111)),f=r(68462),p=r(14019),h=r(40817),m=r(80247),g=r(75634),_=r(84896);r(35688);let v=r(68826),E=r(76679),b=r(19876),y=r(22773),P=r(72436),R=r(93423),O=r(41005),x=r(93712),S=r(33263),w=r(39060),C=r(69903),A=r(62649),T=r(3591),j=r(11202),N=r(37753),I=r(47284),D=r(34938);function L(){return Object.assign(Object.defineProperty(Error("Route Cancelled"),"__NEXT_ERROR_CODE",{value:"E315",enumerable:!1,configurable:!0}),{cancelled:!0})}async function M(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 M(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(80865);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,T,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",L(),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 M({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,j.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==(T=self.__NEXT_DATA__.props)||null==(w=T.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}),L();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:T,cacheKey:j}=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&&j&&delete this.sdc[j],this.isPreview||!w.__N_SSG||h||W(Object.assign({},O,{isBackground:!0,persistCache:!1,inflightCache:this.sbc})).catch(()=>{}),T.pageProps=Object.assign({},T.pageProps),w.props=T,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,T.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 M({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=M({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)()},59016:(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(77860),r(89227);let n=r(6206),a=r(39935),o=r(57447),i=r(70560);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)},63616:(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(69095),a=r(10175);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)}}},66932:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"removePathPrefix",{enumerable:!0,get:function(){return a}});let n=r(80308);function a(e,t){if(!(0,n.pathHasPrefix)(e,t))return e;let r=e.slice(t.length);return r.startsWith("/")?r:"/"+r}},69095: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})()},69111:(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}})},69903:(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}})},73379:(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}})},75634:(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(34938),a=r(39932),o=r(39772),i=r(90906),s=r(81129);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?"(?:(/.*)?)":"")+"$"}}},76679:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addLocale",{enumerable:!0,get:function(){return n}}),r(71185);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)},77767:(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]])}},79684:(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 _},handleClientScriptLoad:function(){return h},initScriptLoader:function(){return m}});let n=r(77860),a=r(14689),o=r(1785),i=n._(r(41472)),s=a._(r(16685)),l=r(27591),u=r(19579),c=r(39935),d=new Map,f=new Set,p=e=>{let{src:t,id:r,onLoad:n=()=>{},onReady:a=null,dangerouslySetInnerHTML:o,children:s="",strategy:l="afterInteractive",onError:c,stylesheets:p}=e,h=r||t;if(h&&f.has(h))return;if(d.has(t)){f.add(h),d.get(t).then(n,c);return}let m=()=>{a&&a(),f.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,d.set(t,_)),(0,u.setAttributesFromProps)(g,e),"worker"===l&&g.setAttribute("type","text/partytown"),g.setAttribute("data-nscript",l),p&&(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)})}})(p),document.body.appendChild(g)};function h(e){let{strategy:t="afterInteractive"}=e;"lazyOnload"===t?window.addEventListener("load",()=>{(0,c.requestIdleCallback)(()=>p(e))}):p(e)}function m(e){e.forEach(h),[...document.querySelectorAll('[data-nscript="beforeInteractive"]'),...document.querySelectorAll('[data-nscript="beforePageRender"]')].forEach(e=>{let t=e.id||e.getAttribute("src");f.add(t)})}function g(e){let{id:t,src:r="",onLoad:n=()=>{},onReady:a=null,strategy:u="afterInteractive",onError:d,stylesheets:h,...m}=e,{updateScripts:g,scripts:_,getIsSsr:v,appDir:E,nonce:b}=(0,s.useContext)(l.HeadManagerContext);b=m.nonce||b;let y=(0,s.useRef)(!1);(0,s.useEffect)(()=>{let e=t||r;y.current||(a&&e&&f.has(e)&&a(),y.current=!0)},[a,t,r]);let P=(0,s.useRef)(!1);if((0,s.useEffect)(()=>{if(!P.current){if("afterInteractive"===u)p(e);else"lazyOnload"===u&&("complete"===document.readyState?(0,c.requestIdleCallback)(()=>p(e)):window.addEventListener("load",()=>{(0,c.requestIdleCallback)(()=>p(e))}));P.current=!0}},[e,u]),("beforeInteractive"===u||"worker"===u)&&(g?(_[u]=(_[u]||[]).concat([{id:t,src:r,onLoad:n,onReady:a,onError:d,...m,nonce:b}]),g(_)):v&&v()?f.add(t||r):v&&!v()&&p({...e,nonce:b})),E){if(h&&h.forEach(e=>{i.default.preinit(e,{as:"style"})}),"beforeInteractive"===u)if(!r)return m.dangerouslySetInnerHTML&&(m.children=m.dangerouslySetInnerHTML.__html,delete m.dangerouslySetInnerHTML),(0,o.jsx)("script",{nonce:b,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+JSON.stringify([0,{...m,id:t}])+")"}});else return i.default.preload(r,m.integrity?{as:"script",integrity:m.integrity,nonce:b,crossOrigin:m.crossOrigin}:{as:"script",nonce:b,crossOrigin:m.crossOrigin}),(0,o.jsx)("script",{nonce:b,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+JSON.stringify([r,{...m,id:t}])+")"}});"afterInteractive"===u&&r&&i.default.preload(r,m.integrity?{as:"script",integrity:m.integrity,nonce:b,crossOrigin:m.crossOrigin}:{as:"script",nonce:b,crossOrigin:m.crossOrigin})}return null}Object.defineProperty(g,"__nextScript",{value:!0});let _=g;("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)},80247:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getRouteMatcher",{enumerable:!0,get:function(){return o}});let n=r(68462),a=r(63616);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})}},80865:(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)}}},81129:(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}}},81638:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(11495).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"}]])},88272:(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(16685),u=r(41472);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},89227:(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}})},89409:(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(35872),u=r(16685),c=r(26505),d=r(38883),f=r(43958),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=L(()=>{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=L(()=>new Set),a=L(()=>new Map),o=L(()=>new Map),i=L(()=>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,T=(0,d.B)(),j=(0,d.B)(),N=(0,d.B)(),M=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(T))||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:T,inputId:N,labelId:j,listInnerRef:M}),[]);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=M.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=M.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=M.current)?void 0:e.querySelector("".concat(m,'[aria-selected="true"]'))}function Y(){var e;return Array.from((null==(e=M.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=M(e=>e.value&&e.value===h.current),v=M(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=M(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=M(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=M(e=>e.search),s=M(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)}})}),T=u.forwardRef((e,t)=>{let{children:r,label:n="Suggestions",...a}=e,o=u.useRef(null),i=u.useRef(null),s=M(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)))}),j=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:T,Item:S,Input:A,Group:w,Separator:C,Dialog:j,Empty:u.forwardRef((e,t)=>M(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 L(e){let t=u.useRef();return void 0===t.current&&(t.current=e()),t}function M(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=L(()=>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"}},93712:(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}})},94290:(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(77860),a=n._(r(16685)),o=n._(r(57604)),i=r(93020),s=n._(r(70046)),l=n._(r(56363)),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)},95629:(e,t,r)=>{"use strict";r.d(t,{A:()=>p});var n=r(41850),a=r(16685),o=r.t(a,2),i=r(63090),s=o["use".trim()],l=r(14905),u=r(15504),c=r(53330),d=r(1785),f=r(20330);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}}},97647:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addLocale",{enumerable:!0,get:function(){return o}});let n=r(37877),a=r(80308);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)}}}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[857],{20629:(e,t,r)=>{"use strict";r.d(t,{z:()=>l});let l=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.filter((e,t,r)=>!!e&&""!==e.trim()&&r.indexOf(e)===t).join(" ").trim()}},25373:(e,t,r)=>{"use strict";r.d(t,{LucideProvider:()=>i,useLucideContext:()=>u});var l=r(16685);let n=(0,l.createContext)({});function i(e){let{children:t,size:r,color:i,strokeWidth:u,absoluteStrokeWidth:o,className:s}=e,a=(0,l.useMemo)(()=>({size:r,color:i,strokeWidth:u,absoluteStrokeWidth:o,className:s}),[r,i,u,o,s]);return(0,l.createElement)(n.Provider,{value:a},t)}let u=()=>(0,l.useContext)(n)},40367:(e,t,r)=>{Promise.resolve().then(r.bind(r,25373)),Promise.resolve().then(r.bind(r,57044))},57044:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var l=r(16685),n={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"},i=r(20629),u=r(25373);let o=(0,l.forwardRef)((e,t)=>{var r,o,s;let{color:a,size:d,strokeWidth:h,absoluteStrokeWidth:c,className:m="",children:f,iconNode:k,...v}=e,{size:w=24,strokeWidth:C=2,absoluteStrokeWidth:b=!1,color:g="currentColor",className:x=""}=null!=(r=(0,u.useLucideContext)())?r:{},N=(null!=c?c:b)?24*Number(null!=h?h:C)/Number(null!=d?d:w):null!=h?h:C;return(0,l.createElement)("svg",{ref:t,...n,width:null!=(o=null!=d?d:w)?o:n.width,height:null!=(s=null!=d?d:w)?s:n.height,stroke:null!=a?a:g,strokeWidth:N,className:(0,i.z)("lucide",x,m),...!f&&!(e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0;return!1})(v)&&{"aria-hidden":"true"},...v},[...k.map(e=>{let[t,r]=e;return(0,l.createElement)(t,r)}),...Array.isArray(f)?f:[f]])})}},e=>{e.O(0,[412,563,358],()=>e(e.s=40367)),_N_E=e.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[571],{11754:(e,t,r)=>{"use strict";r.d(t,{default:()=>s});var n=r(1785),i=r(16685),l=r(93930),a=r(74257);function s(e){let{name:t,defaultOpen:r,className:s,children:o}=e,[c,d]=(0,i.useState)(r);return(0,n.jsx)("tr",{children:(0,n.jsx)("td",{children:(0,n.jsxs)("div",{className:"mb-0! w-full border-separate [&_td]:border-none",children:[(0,n.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,n.jsx)("div",{className:"mx-auto flex w-full justify-center text-center font-medium",children:t}),(0,n.jsx)("div",{className:"w-8",children:(0,n.jsx)(l.A,{className:"ml-auto h-4 w-4",active:c})})]}),c&&(0,n.jsx)("div",{className:(0,a.cn)(s,"mt-2 flex w-full flex-col rounded-md"),children:o})]})})})}},17667:(e,t,r)=>{"use strict";r.d(t,{default:()=>o});var n=r(1785),i=r(16685),l=r(39047),a=r(74257),s=r(27156);function o(e){let{headings:t}=e,r=(0,s.c)("DocsNonContentRightSidebar"),[o,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=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,i.useEffect)(()=>{let e=()=>{if(h.current){let{scrollTop:e,scrollHeight:t,clientHeight:r}=h.current;u(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:"left",title:r("title"),className:(0,a.cn)("left-0 shrink-0","w-[96vw] sm:w-80"),tagName:"nav",solid:!0,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,a.cn)("block py-1 text-sm 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))})}),f&&(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"})]})})}},32232:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(41512);function i(){return{en:{name:"English",file:"en_US",icon:n.US},de:{name:"Deutsch",file:"de_DE",icon:n.DE},fr:{name:"Fran\xe7ais",file:"fr_FR",icon:n.FR},es:{name:"Espa\xf1ol",file:"es_ES",crowdin:"es-ES",icon:n.ES},it:{name:"Italiano",file:"it_IT",icon:n.IT},cs:{name:"Čeština",file:"cs_CZ",icon:n.CZ},hu:{name:"Magyar",file:"hu_HU",icon:n.HU},pl:{name:"Polski",file:"pl_PL",icon:n.PL},ms:{name:"Bahasa Melayu",file:"ms_MY",icon:n.MY},"ms-Arab":{name:"بهاس ملايو",file:"ms_Arab",prefix:"ms_Ar",icon:n.MY,rtl:!0},tr:{name:"T\xfcrk\xe7e",file:"tr_TR",icon:n.TR},sv:{name:"Svenska",file:"sv_SE",crowdin:"sv-SE",icon:n.SE},uk:{name:"Українська",file:"uk_UA",icon:n.UA},ru:{name:"Русский",file:"ru_RU",icon:n.RU},ja:{name:"日本語",file:"ja_JP",icon:n.JP},ko:{name:"한국어",file:"ko_KR",icon:n.KR},"zh-CN":{name:"简体中文",file:"zh_CN",prefix:"zh_cn",icon:n.CN},"zh-TW":{name:"繁體中文",file:"zh_TW",prefix:"zh_tw",icon:n.TW}}}function l(e){var t;return null==(t=Object.entries(i()).find(t=>t[0]===e||t[1].prefix===e))?void 0:t[1]}let a={getAvailableLocales:i,getLanguagePaths:function(){return Object.entries(i()).map(e=>e[1].prefix||e[0])},getNextIntlLocales:function(){return Object.keys(i())},getPathPrefixes:function(){return Object.entries(i()).filter(e=>void 0!==e[1].prefix).reduce((e,t)=>({...e,[t[0]]:"/"+t[1].prefix}),{})},getForUrlParam:l,getNextIntlInternal:function(e){var t;return(null==(t=Object.entries(i()).find(t=>t[0]===e||t[1].prefix===e))?void 0:t[0])||e},getCrowdinLanguageId:function(e){let t=Object.entries(i()).find(t=>t[0]===e||t[1].prefix===e);return(null==t?void 0:t[1].crowdin)||(null==t?void 0:t[0])},isRTL:function(e){var t;return(null==(t=l(e))?void 0:t.rtl)||!1},actualLocale:function(e){var t;if(!e||"en_us"===e)return null;let r=l(e);return null!=(t=null==r?void 0:r.file.toLowerCase())?t:null}}},39047:(e,t,r)=>{"use strict";r.d(t,{default:()=>s});var n=r(1785),i=r(74257),l=r(16685),a=r(39585);let s=(0,l.forwardRef)(function(e,t){let{title:r,className:s,innerClassName:o,tagName:c,children:d,type:u,solid:f}=e,{open:m}=(0,l.useContext)(a.p);return(0,n.jsx)("aside",{"data-open":m==u,className:(0,i.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",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,n.jsxs)(c||"div",{ref:t,className:(0,i.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]})})})},39585:(e,t,r)=>{"use strict";r.d(t,{default:()=>s,p:()=>a});var n=r(1785),i=r(16685),l=r(95698);let a=(0,i.createContext)(null);function s(e){let{children:t}=e,r=(0,l.a8)(),[s,o]=(0,i.useState)("none");return(0,i.useEffect)(()=>{"none"===s?window.document.body.classList.remove("no-scroll"):window.document.body.classList.add("no-scroll")},[s]),(0,i.useEffect)(()=>{o("none")},[r]),(0,n.jsx)(a.Provider,{value:{open:s,setOpen:o},children:t})}},44073:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(11495).A)("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]])},48616:(e,t,r)=>{"use strict";r.d(t,{default:()=>i});var n=r(41850);function i(e){let{main:t,history:r}=e;return"history"==(0,n.useSearchParams)().get("tab")&&r?r:t}},52704:(e,t,r)=>{"use strict";function n(e){return e}r.d(t,{A:()=>n})},63647:(e,t,r)=>{"use strict";r.d(t,{default:()=>s});var n=r(1785),i=r(16685),l=r(93930),a=r(74257);function s(e){let{title:t,className:r,children:s}=e,[o,c]=(0,i.useState)(!1);return(0,n.jsxs)("div",{className:(0,a.cn)(r,"w-full rounded-sm border border-secondary-dim"),children:[(0,n.jsxs)("button",{className:"inline-flex w-full items-center justify-between bg-secondary p-2",onClick:()=>c(!o),children:[(0,n.jsx)("span",{className:"font-medium",children:t}),(0,n.jsx)(l.A,{active:o})]}),o&&(0,n.jsx)("div",{className:"rounded-sm bg-primary-dim p-4",children:s})]})}},72091:(e,t,r)=>{Promise.resolve().then(r.bind(r,75791)),Promise.resolve().then(r.bind(r,25373)),Promise.resolve().then(r.bind(r,57044)),Promise.resolve().then(r.bind(r,15504)),Promise.resolve().then(r.bind(r,18128)),Promise.resolve().then(r.t.bind(r,80233,23)),Promise.resolve().then(r.t.bind(r,21206,23)),Promise.resolve().then(r.bind(r,70637)),Promise.resolve().then(r.bind(r,63647)),Promise.resolve().then(r.bind(r,37271)),Promise.resolve().then(r.bind(r,30030)),Promise.resolve().then(r.bind(r,95275)),Promise.resolve().then(r.bind(r,46287)),Promise.resolve().then(r.bind(r,74768)),Promise.resolve().then(r.bind(r,5054)),Promise.resolve().then(r.bind(r,17667)),Promise.resolve().then(r.bind(r,93869)),Promise.resolve().then(r.bind(r,48616)),Promise.resolve().then(r.bind(r,11754)),Promise.resolve().then(r.bind(r,54648)),Promise.resolve().then(r.bind(r,73897)),Promise.resolve().then(r.bind(r,50842)),Promise.resolve().then(r.bind(r,34299)),Promise.resolve().then(r.bind(r,51981)),Promise.resolve().then(r.bind(r,90922))},79126:(e,t,r)=>{"use strict";r.d(t,{Xn:()=>i,j4:()=>n});let n="latest",i="en"},90922:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Tooltip:()=>o,TooltipContent:()=>d,TooltipProvider:()=>s,TooltipTrigger:()=>c});var n=r(1785),i=r(16685),l=r(33109),a=r(74257);let s=l.Kq,o=l.bL,c=l.l9,d=i.forwardRef((e,t)=>{let{className:r,sideOffset:i=4,...s}=e;return(0,n.jsx)(l.UC,{ref:t,sideOffset:i,className:(0,a.cn)("border-tertiary bg-primary-alt text-primary-alt z-50 animate-in overflow-hidden overscroll-contain rounded-md border px-3 py-1.5 text-sm shadow-md fade-in-0 zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95",r),...s})});d.displayName=l.UC.displayName},93869:(e,t,r)=>{"use strict";r.d(t,{default:()=>c});var n=r(1785),i=r(58292),l=r(3307),a=r(13679),s=r(51161),o=r(27156);function c(){let[e,t]=(0,i.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)(a.A,{className:"size-4"})})})}},93930:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(1785),i=r(44073);r(16685);var l=r(74257);function a(e){let{className:t,active:r}=e;return(0,n.jsx)(i.A,{className:(0,l.cn)(t,"shrink-0 transition-transform duration-200 data-[rotate=true]:rotate-180"),"data-rotate":r?"true":"false"})}},95629:(e,t,r)=>{"use strict";r.d(t,{A:()=>m});var n=r(41850),i=r(16685),l=r.t(i,2),a=r(63090),s=l["use".trim()],o=r(14905),c=r(15504),d=r(53330),u=r(1785),f=r(20330);function m(e){let{Link:t,config:r,getPathname:l,...m}=function(e,t){var r,l,a;let f={...r=t||{},localePrefix:"object"==typeof(a=r.localePrefix)?a:{mode:a||"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:t,locale:r,...n},i){let l,a;"object"==typeof t?(l=t.pathname,a=t.params):l=t;let d=(0,o._x)(t),h=e(),p=(0,o.yL)(h)?s(h):h,b=d?v({locale:r||p,href:null==m?l:{pathname:l,params:a},forcePrefix:null!=r||void 0}):l;return(0,u.jsx)(c.default,{ref:i,href:"object"==typeof t?{...t,pathname:b}:b,locale:r,localeCookie:f.localeCookie,...n})});function v(e){let t,{forcePrefix:r,href:n,locale:i}=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:i,...(0,d.TK)(n),pathnames:f.pathnames}),(0,d.x3)(t,i,f,r)}function p(e){return function(t,...r){return e(v(t),...r)}}return{config:f,Link:h,redirect:p(n.redirect),permanentRedirect:p(n.permanentRedirect),getPathname:v}}(a.Ym,e);return{...m,Link:t,usePathname:function(){let e=function(e){let t=(0,n.usePathname)(),r=(0,a.Ym)();return(0,i.useMemo)(()=>{if(!t)return t;let n=t,i=(0,o.XP)(r,e.localePrefix);if((0,o.wO)(i,t))n=(0,o.MY)(t,i);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,a.Ym)();return(0,i.useMemo)(()=>e&&r.pathnames?(0,d.aM)(t,e,r.pathnames):e,[t,e])},useRouter:function(){let e=(0,n.useRouter)(),t=(0,a.Ym)(),s=(0,n.usePathname)();return(0,i.useMemo)(()=>{function n(e){return function(n,i){let{locale:a,...o}=i||{},c=[l({href:n,locale:a||t,forcePrefix:null!=a||void 0})];Object.keys(o).length>0&&c.push(o),(0,f.A)(r.localeCookie,s,t,a),e(...c)}}return{...e,push:n(e.push),replace:n(e.replace),prefetch:n(e.prefetch)}},[t,s,e])},getPathname:l}}},95698:(e,t,r)=>{"use strict";r.d(t,{XO:()=>o,a8:()=>d});var n=r(52704),i=r(95629),l=r(32232),a=r(79126);let s=(0,n.A)({locales:l.A.getNextIntlLocales(),defaultLocale:a.Xn,localePrefix:{mode:"always",prefixes:l.A.getPathPrefixes()}}),{Link:o,redirect:c,usePathname:d,useRouter:u}=(0,i.A)(s)}},e=>{e.O(0,[510,783,233,90,835,621,845,736,714,409,412,563,358],()=>e(e.s=72091)),_N_E=e.O()}]);
@@ -1 +1 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[235],{80291:(e,s,n)=>{Promise.resolve().then(n.bind(n,75791)),Promise.resolve().then(n.bind(n,22132)),Promise.resolve().then(n.bind(n,54589)),Promise.resolve().then(n.bind(n,15504)),Promise.resolve().then(n.bind(n,18128)),Promise.resolve().then(n.t.bind(n,80233,23)),Promise.resolve().then(n.t.bind(n,21206,23)),Promise.resolve().then(n.bind(n,70637)),Promise.resolve().then(n.bind(n,37271)),Promise.resolve().then(n.bind(n,30030)),Promise.resolve().then(n.bind(n,95275)),Promise.resolve().then(n.bind(n,46287)),Promise.resolve().then(n.bind(n,74768)),Promise.resolve().then(n.bind(n,5054)),Promise.resolve().then(n.bind(n,54648)),Promise.resolve().then(n.bind(n,73897)),Promise.resolve().then(n.bind(n,50842)),Promise.resolve().then(n.bind(n,34299)),Promise.resolve().then(n.bind(n,51981))}},e=>{e.O(0,[510,233,90,626,627,802,409,412,563,358],()=>e(e.s=80291)),_N_E=e.O()}]);
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[235],{66449:(e,s,n)=>{Promise.resolve().then(n.bind(n,75791)),Promise.resolve().then(n.bind(n,25373)),Promise.resolve().then(n.bind(n,57044)),Promise.resolve().then(n.bind(n,15504)),Promise.resolve().then(n.bind(n,18128)),Promise.resolve().then(n.t.bind(n,80233,23)),Promise.resolve().then(n.t.bind(n,21206,23)),Promise.resolve().then(n.bind(n,70637)),Promise.resolve().then(n.bind(n,37271)),Promise.resolve().then(n.bind(n,30030)),Promise.resolve().then(n.bind(n,95275)),Promise.resolve().then(n.bind(n,46287)),Promise.resolve().then(n.bind(n,74768)),Promise.resolve().then(n.bind(n,5054)),Promise.resolve().then(n.bind(n,54648)),Promise.resolve().then(n.bind(n,73897)),Promise.resolve().then(n.bind(n,50842)),Promise.resolve().then(n.bind(n,34299)),Promise.resolve().then(n.bind(n,51981))}},e=>{e.O(0,[510,233,90,835,621,736,409,412,563,358],()=>e(e.s=66449)),_N_E=e.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[952],{3307:(e,r,t)=>{"use strict";t.d(r,{A:()=>s});let s=(0,t(11495).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"}]])},27156:(e,r,t)=>{"use strict";t.d(r,{c:()=>i});var s=t(63090);function a(e,r){return(...e)=>{try{return r(...e)}catch{throw Error(void 0)}}}let i=a(0,s.c3);a(0,s.kc)},35853:(e,r,t)=>{"use strict";t.d(r,{A:()=>a});var s=t(1785);function a(e){let{width:r,height:t,className:a}=e;return(0,s.jsxs)("svg",{role:"img",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",width:r,height:t,className:a,children:[(0,s.jsx)("title",{children:"GitHub"}),(0,s.jsx)("path",{fill:"currentColor",d:"M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"})]})}},51161:(e,r,t)=>{"use strict";t.d(r,{$:()=>o});var s=t(1785),a=t(16685),i=t(75697),n=t(72167),l=t(74257);let c=(0,n.F)("inline-flex items-center justify-center rounded-sm text-sm font-medium whitespace-nowrap ring-offset-background transition-colors focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:outline-hidden disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"border border-primary bg-primary text-primary hover:bg-secondary/90",destructive:"border-destructive-secondary border bg-primary bg-secondary font-semibold text-destructive hover:bg-secondary/80 hover:text-destructive/90 data-[pending=true]:text-destructive/90",destructiveSecondary:"text-primary-alt hover:text-primary-alt/90 bg-destructive",outline:"border-quaternary hover:text-primary-alt border bg-primary hover:bg-secondary",secondary:"text-secondary-alt bg-secondary hover:bg-secondary/80",ghost:"hover:text-primary-alt hover:bg-secondary",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-sm px-3",lg:"h-11 rounded-sm px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),o=a.forwardRef((e,r)=>{let{className:t,variant:a,size:n,asChild:o=!1,...d}=e,u=o?i.DX:"button";return(0,s.jsx)(u,{className:(0,l.cn)(c({variant:a,size:n,className:t})),ref:r,...d})});o.displayName="Button"},56736:(e,r,t)=>{"use strict";t.d(r,{k:()=>l});var s=t(1785),a=t(16685),i=t(80233),n=t.n(i);let l=(0,a.forwardRef)(function(e,r){let{prefetch:t=!1,...a}=e;return(0,s.jsx)(n(),{prefetch:t,...a,ref:r})})},67720:(e,r,t)=>{"use strict";t.r(r),t.d(r,{default:()=>h});var s=t(1785),a=t(16685),i=t(27156);let n=(0,t(11495).A)("file-question-mark",[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M12 17h.01",key:"p32p05"}],["path",{d:"M9.1 9a3 3 0 0 1 5.82 1c0 2-3 3-3 3",key:"mhlwft"}]]);var l=t(3307),c=t(51161),o=t(35853),d=t(56736);function u(e){let{project:r}=e,t=(0,i.c)("DocsPageNotFoundError");return(0,s.jsxs)("div",{className:"m-auto flex flex-col items-center justify-center gap-4 p-4",children:[(0,s.jsx)(n,{className:"h-32 w-32 sm:h-48 sm:w-48",strokeWidth:1.5}),(0,s.jsx)("h1",{className:"my-2 text-3xl text-primary sm:text-5xl",children:t("title")}),(0,s.jsx)("p",{className:"w-3/4 text-center text-secondary sm:w-full",children:t("desc")}),(0,s.jsx)("p",{className:"w-3/4 text-center text-secondary sm:w-full",children:t("suggestion")}),(0,s.jsxs)("div",{className:"mt-4 inline-flex gap-4",children:[(null==r?void 0:r.source_repo)&&(0,s.jsx)(c.$,{variant:"secondary",asChild:!0,children:(0,s.jsxs)(d.k,{href:r.source_repo,target:"_blank",children:[(0,s.jsx)(o.A,{className:"mr-2 h-4 w-4"}),t("submit")]})}),(0,s.jsx)(c.$,{asChild:!0,children:(0,s.jsxs)(d.k,{href:"/",children:[(0,s.jsx)(l.A,{className:"mr-2 h-4 w-4",strokeWidth:2.5}),t("return")]})})]})]})}function h(e){let{error:r}=e;return(0,a.useEffect)(()=>console.error(r),[r]),(0,s.jsx)("div",{className:"mt-40 flex flex-col items-center",children:(0,s.jsx)(u,{})})}},74257:(e,r,t)=>{"use strict";t.d(r,{cn:()=>i});var s=t(49663),a=t(24915);function i(){for(var e=arguments.length,r=Array(e),t=0;t<e;t++)r[t]=arguments[t];return(0,a.QP)((0,s.$)(r))}},83858:(e,r,t)=>{Promise.resolve().then(t.bind(t,67720))}},e=>{e.O(0,[233,90,835,412,563,358],()=>e(e.s=83858)),_N_E=e.O()}]);
@@ -1 +1 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[583],{15431:(e,s,n)=>{Promise.resolve().then(n.bind(n,75791)),Promise.resolve().then(n.bind(n,22132)),Promise.resolve().then(n.bind(n,54589)),Promise.resolve().then(n.bind(n,15504)),Promise.resolve().then(n.bind(n,18128)),Promise.resolve().then(n.t.bind(n,80233,23)),Promise.resolve().then(n.t.bind(n,21206,23)),Promise.resolve().then(n.bind(n,70637)),Promise.resolve().then(n.bind(n,45519)),Promise.resolve().then(n.bind(n,82542)),Promise.resolve().then(n.bind(n,37896)),Promise.resolve().then(n.bind(n,37271)),Promise.resolve().then(n.bind(n,30030)),Promise.resolve().then(n.bind(n,95275)),Promise.resolve().then(n.bind(n,46287)),Promise.resolve().then(n.bind(n,74768)),Promise.resolve().then(n.bind(n,5054)),Promise.resolve().then(n.bind(n,39047)),Promise.resolve().then(n.bind(n,68698)),Promise.resolve().then(n.bind(n,87274)),Promise.resolve().then(n.bind(n,93869)),Promise.resolve().then(n.bind(n,48616)),Promise.resolve().then(n.bind(n,21850)),Promise.resolve().then(n.bind(n,54648)),Promise.resolve().then(n.bind(n,73897)),Promise.resolve().then(n.bind(n,50842)),Promise.resolve().then(n.bind(n,34299)),Promise.resolve().then(n.bind(n,51981)),Promise.resolve().then(n.bind(n,90922))}},e=>{e.O(0,[510,783,233,90,626,627,832,802,781,409,295,412,563,358],()=>e(e.s=15431)),_N_E=e.O()}]);
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[583],{27581:(e,s,n)=>{Promise.resolve().then(n.bind(n,75791)),Promise.resolve().then(n.bind(n,25373)),Promise.resolve().then(n.bind(n,57044)),Promise.resolve().then(n.bind(n,15504)),Promise.resolve().then(n.bind(n,18128)),Promise.resolve().then(n.t.bind(n,80233,23)),Promise.resolve().then(n.t.bind(n,21206,23)),Promise.resolve().then(n.bind(n,70637)),Promise.resolve().then(n.bind(n,45519)),Promise.resolve().then(n.bind(n,36061)),Promise.resolve().then(n.bind(n,81133)),Promise.resolve().then(n.bind(n,37271)),Promise.resolve().then(n.bind(n,30030)),Promise.resolve().then(n.bind(n,95275)),Promise.resolve().then(n.bind(n,46287)),Promise.resolve().then(n.bind(n,74768)),Promise.resolve().then(n.bind(n,5054)),Promise.resolve().then(n.bind(n,39047)),Promise.resolve().then(n.bind(n,68698)),Promise.resolve().then(n.bind(n,87274)),Promise.resolve().then(n.bind(n,93869)),Promise.resolve().then(n.bind(n,48616)),Promise.resolve().then(n.bind(n,21850)),Promise.resolve().then(n.bind(n,54648)),Promise.resolve().then(n.bind(n,73897)),Promise.resolve().then(n.bind(n,50842)),Promise.resolve().then(n.bind(n,34299)),Promise.resolve().then(n.bind(n,51981)),Promise.resolve().then(n.bind(n,90922))}},e=>{e.O(0,[510,783,233,90,835,621,845,736,714,409,253,412,563,358],()=>e(e.s=27581)),_N_E=e.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[589],{58157:(e,s,n)=>{Promise.resolve().then(n.bind(n,75791)),Promise.resolve().then(n.bind(n,25373)),Promise.resolve().then(n.bind(n,57044)),Promise.resolve().then(n.bind(n,15504)),Promise.resolve().then(n.bind(n,18128)),Promise.resolve().then(n.t.bind(n,80233,23)),Promise.resolve().then(n.t.bind(n,21206,23)),Promise.resolve().then(n.bind(n,70637)),Promise.resolve().then(n.bind(n,45519)),Promise.resolve().then(n.bind(n,36061)),Promise.resolve().then(n.bind(n,81133)),Promise.resolve().then(n.bind(n,37271)),Promise.resolve().then(n.bind(n,30030)),Promise.resolve().then(n.bind(n,95275)),Promise.resolve().then(n.bind(n,46287)),Promise.resolve().then(n.bind(n,74768)),Promise.resolve().then(n.bind(n,5054)),Promise.resolve().then(n.bind(n,68698)),Promise.resolve().then(n.bind(n,87274)),Promise.resolve().then(n.bind(n,93869)),Promise.resolve().then(n.bind(n,48616)),Promise.resolve().then(n.bind(n,21850)),Promise.resolve().then(n.bind(n,54648)),Promise.resolve().then(n.bind(n,50842)),Promise.resolve().then(n.bind(n,34299)),Promise.resolve().then(n.bind(n,51981)),Promise.resolve().then(n.bind(n,90922))}},e=>{e.O(0,[510,783,233,90,835,621,845,736,714,409,253,412,563,358],()=>e(e.s=58157)),_N_E=e.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[622],{39585:(e,s,t)=>{"use strict";t.d(s,{default:()=>i,p:()=>n});var r=t(1785),a=t(16685),l=t(95698);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})}},45486:(e,s,t)=>{Promise.resolve().then(t.bind(t,75791)),Promise.resolve().then(t.bind(t,25373)),Promise.resolve().then(t.bind(t,57044)),Promise.resolve().then(t.bind(t,15504)),Promise.resolve().then(t.bind(t,18128)),Promise.resolve().then(t.t.bind(t,80233,23)),Promise.resolve().then(t.t.bind(t,21206,23)),Promise.resolve().then(t.bind(t,41330)),Promise.resolve().then(t.bind(t,70637)),Promise.resolve().then(t.bind(t,98746)),Promise.resolve().then(t.bind(t,37271)),Promise.resolve().then(t.bind(t,30030)),Promise.resolve().then(t.bind(t,95275)),Promise.resolve().then(t.bind(t,46287)),Promise.resolve().then(t.bind(t,74768)),Promise.resolve().then(t.bind(t,5054)),Promise.resolve().then(t.bind(t,39585)),Promise.resolve().then(t.bind(t,77691)),Promise.resolve().then(t.bind(t,69311)),Promise.resolve().then(t.bind(t,54648)),Promise.resolve().then(t.bind(t,50842)),Promise.resolve().then(t.bind(t,34299)),Promise.resolve().then(t.bind(t,51981))},69311:(e,s,t)=>{"use strict";t.d(s,{default:()=>l});var r=t(16685),a=t(22254);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}},77691:(e,s,t)=>{"use strict";t.d(s,{$:()=>l,default:()=>n});var r=t(1785),a=t(16685);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})}},98746:(e,s,t)=>{"use strict";t.d(s,{default:()=>D});var r=t(1785),a=t(51161),l=t(3307),n=t(32919),i=t(3660),o=t(95698),d=t(74257),c=t(41850),m=t(79126),h=t(16685),u=t(26825),x=t(44073),p=t(73842),f=t(5943);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(53111),A=t(36114);function C(e){let{value:s,defaultValue:t,children:a}=e,l=(0,A.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(27156);function _(e){let{version:s,versions:t}=e,a=(0,k.c)("DocsVersionSelector");return(0,r.jsxs)(C,{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 R=t(40921),z=t(24782),E=t(17289);function L(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)(z.A,{active:t,setOpen:a}),(0,r.jsx)(E.A,{className:"top-nav-height-ext bg-primary-dim",isVisible:t,children:s})]})}var S=t(73897);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)(R.default,{locale:t,locales: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)(L,{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,[510,783,233,90,835,621,845,736,333,639,942,67,409,77,412,563,358],()=>e(e.s=45486)),_N_E=e.O()}]);
@@ -1 +1 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[165],{11857:(e,t,s)=>{Promise.resolve().then(s.bind(s,75791)),Promise.resolve().then(s.bind(s,22132)),Promise.resolve().then(s.bind(s,54589)),Promise.resolve().then(s.bind(s,15504)),Promise.resolve().then(s.bind(s,18128)),Promise.resolve().then(s.t.bind(s,80233,23)),Promise.resolve().then(s.t.bind(s,21206,23)),Promise.resolve().then(s.bind(s,70637)),Promise.resolve().then(s.bind(s,81238)),Promise.resolve().then(s.bind(s,37271)),Promise.resolve().then(s.bind(s,30030)),Promise.resolve().then(s.bind(s,95275)),Promise.resolve().then(s.bind(s,46287)),Promise.resolve().then(s.bind(s,74768)),Promise.resolve().then(s.bind(s,5054)),Promise.resolve().then(s.bind(s,93869)),Promise.resolve().then(s.bind(s,48616)),Promise.resolve().then(s.bind(s,54648)),Promise.resolve().then(s.bind(s,73897)),Promise.resolve().then(s.bind(s,50842)),Promise.resolve().then(s.bind(s,34299)),Promise.resolve().then(s.bind(s,34328)),Promise.resolve().then(s.bind(s,51981)),Promise.resolve().then(s.bind(s,90922))},34328:(e,t,s)=>{"use strict";s.d(t,{Popover:()=>n,PopoverContent:()=>l,PopoverTrigger:()=>d});var o=s(1785),r=s(16685),i=s(38333),a=s(74257);let n=i.bL,d=i.l9,l=r.forwardRef((e,t)=>{let{className:s,align:r="center",sideOffset:n=4,...d}=e;return(0,o.jsx)(i.ZL,{children:(0,o.jsx)(i.UC,{ref:t,align:r,sideOffset:n,className:(0,a.cn)("border-tertiary bg-primary-alt text-primary-alt z-50 w-72 rounded-sm border p-4 shadow-md outline-hidden data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",s),...d})})});l.displayName=i.UC.displayName},48616:(e,t,s)=>{"use strict";s.d(t,{default:()=>r});var o=s(41850);function r(e){let{main:t,history:s}=e;return"history"==(0,o.useSearchParams)().get("tab")&&s?s:t}},81238:(e,t,s)=>{"use strict";s.d(t,{default:()=>a});var o=s(1785),r=s(16685),i=s(74257);function a(e){let{children:t}=e,[s,a]=(0,r.useState)(!1);return(0,o.jsxs)("div",{onClick:()=>a(!0),className:(0,i.cn)("group relative rounded-sm border border-secondary-dim bg-primary-alt/50 p-4 pb-0",!s&&"cursor-pointer hover:bg-secondary/20"),children:[!s&&(0,o.jsx)("span",{className:"absolute top-0 right-0 z-50 m-3 hidden text-sm text-secondary group-hover:block",children:"Click to expand"}),(0,o.jsx)("div",{className:(0,i.cn)(!s&&"masked-overflow max-h-64 overflow-hidden","min-h-64"),children:t})]})}},90922:(e,t,s)=>{"use strict";s.r(t),s.d(t,{Tooltip:()=>d,TooltipContent:()=>m,TooltipProvider:()=>n,TooltipTrigger:()=>l});var o=s(1785),r=s(16685),i=s(33109),a=s(74257);let n=i.Kq,d=i.bL,l=i.l9,m=r.forwardRef((e,t)=>{let{className:s,sideOffset:r=4,...n}=e;return(0,o.jsx)(i.UC,{ref:t,sideOffset:r,className:(0,a.cn)("border-tertiary bg-primary-alt text-primary-alt z-50 animate-in overflow-hidden overscroll-contain rounded-md border px-3 py-1.5 text-sm shadow-md fade-in-0 zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95",s),...n})});m.displayName=i.UC.displayName},93869:(e,t,s)=>{"use strict";s.d(t,{default:()=>l});var o=s(1785),r=s(58292),i=s(13854),a=s(43506),n=s(51161),d=s(27156);function l(){let[e,t]=(0,r.ZA)("tab"),s=(0,d.c)("DocsEntryTabs"),l=async e=>{await t(e),window.scrollTo(0,0)};return(0,o.jsx)("div",{className:"flex h-full flex-col items-center justify-center",children:"history"===e?(0,o.jsx)(n.$,{title:s("home"),variant:"ghost",size:"icon",className:"size-8",onClick:()=>l("home"),children:(0,o.jsx)(i.A,{className:"size-4"})}):(0,o.jsx)(n.$,{title:s("history"),variant:"ghost",size:"icon",className:"size-8",onClick:()=>l("history"),children:(0,o.jsx)(a.A,{className:"size-4"})})})}}},e=>{e.O(0,[510,233,90,626,627,832,802,781,333,409,412,563,358],()=>e(e.s=11857)),_N_E=e.O()}]);
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[165],{17503:(e,t,s)=>{Promise.resolve().then(s.bind(s,75791)),Promise.resolve().then(s.bind(s,25373)),Promise.resolve().then(s.bind(s,57044)),Promise.resolve().then(s.bind(s,15504)),Promise.resolve().then(s.bind(s,18128)),Promise.resolve().then(s.t.bind(s,80233,23)),Promise.resolve().then(s.t.bind(s,21206,23)),Promise.resolve().then(s.bind(s,70637)),Promise.resolve().then(s.bind(s,81238)),Promise.resolve().then(s.bind(s,37271)),Promise.resolve().then(s.bind(s,30030)),Promise.resolve().then(s.bind(s,95275)),Promise.resolve().then(s.bind(s,46287)),Promise.resolve().then(s.bind(s,74768)),Promise.resolve().then(s.bind(s,5054)),Promise.resolve().then(s.bind(s,93869)),Promise.resolve().then(s.bind(s,48616)),Promise.resolve().then(s.bind(s,54648)),Promise.resolve().then(s.bind(s,73897)),Promise.resolve().then(s.bind(s,50842)),Promise.resolve().then(s.bind(s,34299)),Promise.resolve().then(s.bind(s,34328)),Promise.resolve().then(s.bind(s,51981)),Promise.resolve().then(s.bind(s,90922))},34328:(e,t,s)=>{"use strict";s.d(t,{Popover:()=>n,PopoverContent:()=>l,PopoverTrigger:()=>d});var o=s(1785),r=s(16685),i=s(38333),a=s(74257);let n=i.bL,d=i.l9,l=r.forwardRef((e,t)=>{let{className:s,align:r="center",sideOffset:n=4,...d}=e;return(0,o.jsx)(i.ZL,{children:(0,o.jsx)(i.UC,{ref:t,align:r,sideOffset:n,className:(0,a.cn)("border-tertiary bg-primary-alt text-primary-alt z-50 w-72 rounded-sm border p-4 shadow-md outline-hidden data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",s),...d})})});l.displayName=i.UC.displayName},48616:(e,t,s)=>{"use strict";s.d(t,{default:()=>r});var o=s(41850);function r(e){let{main:t,history:s}=e;return"history"==(0,o.useSearchParams)().get("tab")&&s?s:t}},81238:(e,t,s)=>{"use strict";s.d(t,{default:()=>a});var o=s(1785),r=s(16685),i=s(74257);function a(e){let{children:t}=e,[s,a]=(0,r.useState)(!1);return(0,o.jsxs)("div",{onClick:()=>a(!0),className:(0,i.cn)("group relative rounded-sm border border-secondary-dim bg-primary-alt/50 p-4 pb-0",!s&&"cursor-pointer hover:bg-secondary/20"),children:[!s&&(0,o.jsx)("span",{className:"absolute top-0 right-0 z-50 m-3 hidden text-sm text-secondary group-hover:block",children:"Click to expand"}),(0,o.jsx)("div",{className:(0,i.cn)(!s&&"masked-overflow max-h-64 overflow-hidden","min-h-64"),children:t})]})}},90922:(e,t,s)=>{"use strict";s.r(t),s.d(t,{Tooltip:()=>d,TooltipContent:()=>m,TooltipProvider:()=>n,TooltipTrigger:()=>l});var o=s(1785),r=s(16685),i=s(33109),a=s(74257);let n=i.Kq,d=i.bL,l=i.l9,m=r.forwardRef((e,t)=>{let{className:s,sideOffset:r=4,...n}=e;return(0,o.jsx)(i.UC,{ref:t,sideOffset:r,className:(0,a.cn)("border-tertiary bg-primary-alt text-primary-alt z-50 animate-in overflow-hidden overscroll-contain rounded-md border px-3 py-1.5 text-sm shadow-md fade-in-0 zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95",s),...n})});m.displayName=i.UC.displayName},93869:(e,t,s)=>{"use strict";s.d(t,{default:()=>l});var o=s(1785),r=s(58292),i=s(3307),a=s(13679),n=s(51161),d=s(27156);function l(){let[e,t]=(0,r.ZA)("tab"),s=(0,d.c)("DocsEntryTabs"),l=async e=>{await t(e),window.scrollTo(0,0)};return(0,o.jsx)("div",{className:"flex h-full flex-col items-center justify-center",children:"history"===e?(0,o.jsx)(n.$,{title:s("home"),variant:"ghost",size:"icon",className:"size-8",onClick:()=>l("home"),children:(0,o.jsx)(i.A,{className:"size-4"})}):(0,o.jsx)(n.$,{title:s("history"),variant:"ghost",size:"icon",className:"size-8",onClick:()=>l("history"),children:(0,o.jsx)(a.A,{className:"size-4"})})})}}},e=>{e.O(0,[510,233,90,835,621,845,736,714,333,409,412,563,358],()=>e(e.s=17503)),_N_E=e.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[450],{3807:(e,t,r)=>{"use strict";r.d(t,{A:()=>w});var s=r(3231),n=r(92112),a=r(88254),o=r(79126),l=r(74922),i=r(65119),c=r(68717),u=r(18398);let d={getBuiltinAssetSource:function(){var e;return null!=(e=u.env.NEXT_PUBLIC_BUILTIN_ASSET_SOURCES)?e:null}},h={getAssetResource:function(e){let t=d.getBuiltinAssetSource();if(!t)return null;let r=new URL(t);r.pathname+="/.assets/"+e.namespace+"/"+e.path+(e.path.includes(".")?"":".png");let s=(0,i.A)(r.toString());return null===s?null:{id:l.A.toString(e),src:s}}};var f=r(32232),p=r(18398);function m(e,t){return"locale"==e?f.A.actualLocale(t):"version"==e?function(e){return e==o.j4?null:e}(t):t}function x(e,t){let r=p.env.NEXT_PUBLIC_BACKEND_SERVICE_URL;if(!r)throw Error("Missing env variable NEXT_PUBLIC_BACKEND_SERVICE_URL");let s=(0,c.cT)(t,m);return"".concat(r,"/api/v1/").concat(e,"?").concat(s)}let v={constructApiUrl:x},y={getRemoteAsset:function(e,t){let r=l.A.parse(e);if(!r)return null;let s=function(e,t,r){if(!r||t.namespace===l.o){let t=e.includes("/")?e:function(e){let t=l.A.parse(e);return t?l.A.toString({namespace:t.namespace,path:"item/"+t.path}):e}(e),r=l.A.parse(t);return r?h.getAssetResource(r):null}return null}(e,r,t);return null!=s?s:function(e,t){let{id:r,version:s}=t,n=v.constructApiUrl("docs/".concat(r,"/asset/").concat(e),{version:s});return{id:e,src:n}}(e,t)}};var g=r(18398);async function b(e,t,r){var n;let l=g.env.NEXT_PUBLIC_SEARCH_ENDPOINT,i=g.env.NEXT_PUBLIC_SEARCH_COLLECTION,c=g.env.NEXT_PUBLIC_SEARCH_API_KEY;if(!l||!i||!c)return{total:0,hits:[]};let u=new s._t({nodes:[{url:l}],apiKey:c,connectionTimeoutSeconds:2,timeoutSeconds:5,numRetries:3,retryIntervalSeconds:1,cacheSearchResultsForSeconds:120}),d=await j(u,i,{q:e,query_by:"title,item_ids,project_id,project_name,page_ref",filter_by:r?"project_id:=".concat(r):void 0,per_page:8,page:1});if(!d||0===d.found||!(null==(n=d.hits)?void 0:n.length))return null;let h=d.hits.map(e=>{var r,s;let n=e.document,l=(r=n,s=t,"project"===r.entry_type?(0,a.gZ)(s,r.project_id):"documentation"===r.entry_type?(0,a.M$)(r.page_ref,{id:r.project_id,locale:s,version:o.j4}):"content"===r.entry_type?(0,a.sw)(r.page_ref,{locale:s,version:o.j4,id:r.project_id}):(console.error("Unknown search result",r),"")),i=function(e,t){if("project"===e.entry_type&&null!=e.project_icon_url)return{src:e.project_icon_url,id:e.project_id};if(null==e.icon)return null;let r={id:e.project_id,locale:t,version:o.j4};return y.getRemoteAsset(e.icon,r)}(n,t);return{...n,href:l,icon_asset:i}});return{total:d.found,hits:h}}async function j(e,t,r){try{return await e.collections(t).documents().search(r,{})}catch(e){if(e instanceof n.RequestMalformed)console.error("Bad search params:",e.httpBody);else if(e instanceof n.RequestUnauthorized)console.error("Auth failed — check apiKey");else if(e instanceof n.ObjectNotFound)console.error("Collection does not exist");else if(e instanceof n.ServerError)console.error("Typesense server error",e.httpStatus);else if(e instanceof n.TypesenseError)console.error("Typesense error",e.httpStatus,e.httpBody);else throw e;return null}}let w={searchWiki:async function e(e,t,r){try{let s=await b(e,t,r);if(null!=s)return s}catch(e){console.error("Error running search",e)}return{total:0,hits:[]}}}},16512:(e,t,r)=>{"use strict";r.d(t,{default:()=>o});var s=r(1785),n=r(16685),a=r(74257);function o(e){let{unfix:t,children:r}=e,o=(0,n.useRef)(null),[l,i]=(0,n.useState)(!1);return(0,n.useEffect)(()=>{let e=()=>{i(window.scrollY>0)};return document.addEventListener("scroll",e),()=>document.removeEventListener("scroll",e)},[l]),(0,s.jsx)("header",{className:(0,a.cn)(!t&&"fixed left-0 w-[100vw]","z-50 border-b border-tertiary bg-primary-alt",!t&&l&&"motion-reduce:transition-none"),ref:o,children:r})}},17715:()=>{},17784:()=>{},28763:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var s=r(1785),n=r(72167);r(16685);var a=r(74257);let o=(0,n.F)("inline-flex items-center rounded-sm border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:ring-2 focus:ring-ring focus:ring-offset-2 focus:outline-hidden",{variants:{variant:{project:"border-info bg-secondary text-secondary-alt hover:bg-secondary/80",documentation:"border-secondary-alt bg-secondary text-secondary-alt hover:bg-secondary/80",content:"border-warning bg-secondary text-secondary-alt hover:bg-secondary/80"}}});function l(e){let{className:t,variant:r,...n}=e;return(0,s.jsx)("div",{className:(0,a.cn)(o({variant:r}),t),...n})}},35853:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});var s=r(1785);function n(e){let{width:t,height:r,className:n}=e;return(0,s.jsxs)("svg",{role:"img",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",width:t,height:r,className:n,children:[(0,s.jsx)("title",{children:"GitHub"}),(0,s.jsx)("path",{fill:"currentColor",d:"M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"})]})}},46867:(e,t,r)=>{"use strict";r.d(t,{default:()=>N});var s=r(1785),n=r(15682),a=r(16685),o=r(73897),l=r(36465),i=r(39993),c=r(3307),u=r(30352),d=r(40651),h=r(41850),f=r(74257),p=r(27156),m=r(56736),x=r(3807),v=r(22254),y=r(28763);function g(e){var t;let{result:r}=e,n=(0,p.c)("ProjectTypes"),a=(0,p.c)("SearchResultType");return(0,s.jsxs)(m.k,{href:r.href,className:(0,f.cn)("z-50 flex cursor-pointer flex-row gap-2 bg-primary-alt px-1 py-1.5 text-primary","first:rounded-t-sm last:rounded-b-sm hover:bg-tertiary"),children:[(0,s.jsx)("div",{className:"size-[48px] shrink-0 overflow-hidden rounded-xs p-1",children:(0,s.jsx)(o.default,{src:null==(t=r.icon_asset)?void 0:t.src,width:48,height:48,alt:r.project_id,fbIcon:l.A,fixedSize:!0})}),(0,s.jsxs)("div",{className:"flex w-full flex-col justify-between overflow-hidden py-0.5 text-ellipsis [&_span]:overflow-hidden [&_span]:text-ellipsis",children:[(0,s.jsx)("span",{children:r.title}),"project"==r.entry_type?(0,s.jsx)("span",{className:"text-secondary",children:n(r.project_type)}):(0,s.jsx)("div",{className:"flex flex-row gap-2",children:(0,s.jsx)("span",{className:"text-secondary",children:r.project_name})})]}),(0,s.jsx)("div",{className:"mx-1",children:(0,s.jsx)(y.A,{variant:r.entry_type,children:a(r.entry_type)})})]})}function b(){let e=(0,p.c)("DocsSearchBar");return(0,s.jsx)("div",{className:"z-50 flex h-16 flex-row items-center justify-center gap-2 bg-primary-alt px-1 py-1.5 font-light text-secondary first:rounded-t-sm last:rounded-b-sm",children:e("no_results")})}function j(){let e=(0,p.c)("DocsSearchBar");return(0,s.jsxs)("div",{className:"z-50 flex h-16 flex-row items-center justify-center gap-2 bg-primary-alt px-1 py-1.5 font-light text-secondary first:rounded-t-sm last:rounded-b-sm",children:[(0,s.jsx)(i.A,{className:"mr-2 h-5 w-5 animate-spin"}),e("loading")]})}function w(e){let{canChangeScope:t,visible:r,total:n}=e,a=(0,p.c)("DocsSearchBar");return(0,s.jsxs)("div",{className:(0,f.cn)("flex w-full flex-row items-center justify-between bg-primary-alt p-2 text-secondary",r>0?"rounded-b-sm":"rounded-sm"),children:[(0,s.jsx)("div",{className:"text-sm font-light",children:a.rich("results",{highlight:e=>(0,s.jsx)("span",{className:"font-normal",children:e}),count:r,total:n})}),(0,s.jsxs)("div",{className:"flex flex-row items-center gap-2",children:[t&&(0,s.jsx)("span",{className:"text-sm",children:a.rich("switch",{kbd:e=>(0,s.jsx)("kbd",{children:e})})}),(0,s.jsx)("span",{className:"text-sm",children:a.rich("close",{kbd:e=>(0,s.jsx)("kbd",{children:e})})})]})]})}function N(e){var t,r,o;let{locale:l}=e,i=(0,p.c)("DocsSearchBar"),[m,y]=(0,a.useState)(""),[N,_]=(0,a.useState)(null),[S,A]=(0,a.useState)(!1),{project:E}=(0,a.useContext)(v.o),[C,k]=(0,a.useState)(null!=E),B=(0,n.YQ)(async e=>{let t=!0;setTimeout(()=>{m&&t&&A(!0)},500),_(await x.A.searchWiki(e,l,C&&E?E.id:null)),t=!1,A(!1)},200),[P,L]=(0,a.useState)(!1);(0,a.useEffect)(()=>{k(null!=E)},[E]),(0,a.useEffect)(()=>{m.length>0&&B(m),B.flush()},[C]);let R=(0,a.useRef)(null),T=(0,h.usePathname)();(0,a.useEffect)(()=>{var e;null==(e=R.current)||e.blur()},[T]);let[z,I]=(0,a.useState)(!0),M=()=>{"visible"===document.visibilityState?setTimeout(()=>I(!0),500):I(!1)};(0,a.useLayoutEffect)(()=>(document.addEventListener("visibilitychange",M),()=>document.removeEventListener("visibilitychange",M)),[]);let D=C?c.A:u.A;return(0,s.jsxs)("div",{className:(0,f.cn)("relative mx-2 hidden w-full transition-none duration-200 ease-[cubic-bezier(.27,.17,.43,.98)]",z&&"md:focus-within:transition-[max-width] lg:transition-[max-width]","md:flex md:max-w-sm md:focus-within:fixed md:focus-within:left-1/2 md:focus-within:max-w-lg md:focus-within:-translate-x-1/2 md:focus-within:shadow-lg","lg:max-w-[40rem] lg:focus-within:static lg:focus-within:flex lg:focus-within:max-w-2xl lg:focus-within:translate-x-0"),children:[(0,s.jsxs)("div",{className:"relative w-full",children:[(0,s.jsx)(d.A,{className:"inset absolute top-1/2 left-2 h-4 w-4 -translate-y-1/2 text-neutral-500"}),E&&P&&(0,s.jsxs)("div",{className:(0,f.cn)("inset absolute top-1/2 left-8 -translate-y-1/2 rounded-sm","flex flex-row items-center gap-1","border border-secondary bg-secondary px-1 py-[1.5px]"),children:[(0,s.jsx)(D,{className:"size-3.5 stroke-2 text-primary"}),(0,s.jsx)("span",{className:"text-xs",children:i("scope.".concat(C?"local":"global"))})]}),(0,s.jsx)("input",{type:"text",value:m,ref:R,className:(0,f.cn)("w-full cursor-pointer rounded-sm border border-secondary bg-primary-alt px-8 py-[0.2rem]","text-center text-sm text-ellipsis placeholder:text-neutral-500","focus:cursor-text focus:border-secondary-alt focus:shadow-md focus:outline-none"),onChange:e=>(e=>{if(y(e),!e||0===e.length){_(null),A(!1);return}return B(e)})(e.target.value),placeholder:i("placeholder"),onFocus:()=>{L(!0),_(null),document.querySelectorAll("html, body").forEach(e=>e.classList.add("scrollLock"))},onBlur:()=>{L(!1),A(!1),y(""),document.querySelectorAll("html, body").forEach(e=>e.classList.remove("scrollLock"))},onKeyDown:e=>{null!=E&&"Tab"===e.key&&(e.preventDefault(),k(!C)),"Escape"===e.key&&e.target.blur()}})]}),P&&(0,s.jsxs)("div",{onMouseDown:e=>e.preventDefault(),className:(0,f.cn)("absolute top-8 flex w-full flex-col divide-y divide-tertiary rounded-sm border","border-secondary bg-primary-alt shadow-lg"),children:[S&&(0,s.jsx)(j,{}),!S&&N&&N.hits.map(e=>(0,s.jsx)(g,{result:e},e.id)),!S&&N&&0===N.hits.length&&(0,s.jsx)(b,{}),(0,s.jsx)(w,{canChangeScope:null!=E,visible:null!=(r=null==N||null==(t=N.hits)?void 0:t.length)?r:0,total:null!=(o=null==N?void 0:N.total)?o:0})]})]})}},48617:(e,t,r)=>{"use strict";r.d(t,{default:()=>l});var s=r(1785),n=r(16685),a=r(51979),o=r(27156);function l(){let e=(0,o.c)("ManageCookiesButton"),t=(0,n.useContext)(a.ww);return t&&t.enableCookieManagement?(0,s.jsx)("button",{type:"button","data-cc":"show-preferencesModal",className:"text-sm",children:e("text")}):null}},51161:(e,t,r)=>{"use strict";r.d(t,{$:()=>c});var s=r(1785),n=r(16685),a=r(75697),o=r(72167),l=r(74257);let i=(0,o.F)("inline-flex items-center justify-center rounded-sm text-sm font-medium whitespace-nowrap ring-offset-background transition-colors focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:outline-hidden disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"border border-primary bg-primary text-primary hover:bg-secondary/90",destructive:"border-destructive-secondary border bg-primary bg-secondary font-semibold text-destructive hover:bg-secondary/80 hover:text-destructive/90 data-[pending=true]:text-destructive/90",destructiveSecondary:"text-primary-alt hover:text-primary-alt/90 bg-destructive",outline:"border-quaternary hover:text-primary-alt border bg-primary hover:bg-secondary",secondary:"text-secondary-alt bg-secondary hover:bg-secondary/80",ghost:"hover:text-primary-alt hover:bg-secondary",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-sm px-3",lg:"h-11 rounded-sm px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),c=n.forwardRef((e,t)=>{let{className:r,variant:n,size:o,asChild:c=!1,...u}=e,d=c?a.DX:"button";return(0,s.jsx)(d,{className:(0,l.cn)(i({variant:n,size:o,className:r})),ref:t,...u})});c.displayName="Button"},51979:(e,t,r)=>{"use strict";r.d(t,{GL:()=>c,ww:()=>i,YE:()=>u,default:()=>d});var s=r(1785),n=r(16685);r(89531);var a=r(59049);r(45389);let o={userRequiresCookieConsent:function(){return!1}};var l=r(27156);let i=(0,n.createContext)(null),c="experience",u="yt_embeds";function d(e){let{children:t}=e,[r,d]=(0,n.useState)(!0),[h,f]=(0,n.useState)(!1),p=(0,l.c)("CookieConsent");function m(){f(a.tj(u,c))}return(0,n.useEffect)(()=>{let e=o.userRequiresCookieConsent();d(e),e&&a.eF({revision:1,guiOptions:{consentModal:{layout:"box inline"}},onFirstConsent:()=>{m()},onChange:()=>{m()},categories:{necessary:{enabled:!0,readOnly:!0},[c]:{services:{[u]:{label:p("sections.experience.services.embeds"),onAccept:()=>f(!0),onReject:()=>f(!1)}}}},language:{default:"en",translations:{en:{consentModal:{title:p("popup.title"),description:p("popup.description"),acceptAllBtn:p("actions.accept_all"),acceptNecessaryBtn:p("actions.reject_all"),showPreferencesBtn:p("popup.show_preferences")},preferencesModal:{title:p("modal.title"),acceptAllBtn:p("actions.accept_all"),acceptNecessaryBtn:p("actions.reject_all"),savePreferencesBtn:p("modal.save"),closeIconLabel:p("modal.close"),sections:[{title:p("sections.summary.title"),description:p("sections.summary.description")},{title:p("sections.necessary.title"),description:p("sections.necessary.description"),linkedCategory:"necessary"},{title:p("sections.experience.title"),description:p("sections.experience.description"),linkedCategory:"experience"},{title:p("sections.more_info.title"),description:p.raw("sections.more_info.description")}]}}}}})},[]),(0,s.jsx)(i.Provider,{value:{enableCookieManagement:r,hasConsentToEmbeddedVideos:h},children:t})}},56736:(e,t,r)=>{"use strict";r.d(t,{k:()=>l});var s=r(1785),n=r(16685),a=r(80233),o=r.n(a);let l=(0,n.forwardRef)(function(e,t){let{prefetch:r=!1,...n}=e;return(0,s.jsx)(o(),{prefetch:r,...n,ref:t})})},63039:(e,t,r)=>{"use strict";r.d(t,{default:()=>c});var s=r(1785),n=r(13687),a=r(74257),o=r(51161),l=r(35853);function i(e){let{width:t,height:r,className:n}=e;return(0,s.jsx)("svg",{role:"img",xmlns:"http://www.w3.org/2000/svg",width:t||24,height:r||24,className:n,viewBox:"0 0 24 24",children:(0,s.jsx)("path",{fill:"currentColor",d:"M19.27 5.33C17.94 4.71 16.5 4.26 15 4a.1.1 0 0 0-.07.03c-.18.33-.39.76-.53 1.09a16.1 16.1 0 0 0-4.8 0c-.14-.34-.35-.76-.54-1.09c-.01-.02-.04-.03-.07-.03c-1.5.26-2.93.71-4.27 1.33c-.01 0-.02.01-.03.02c-2.72 4.07-3.47 8.03-3.1 11.95c0 .02.01.04.03.05c1.8 1.32 3.53 2.12 5.24 2.65c.03.01.06 0 .07-.02c.4-.55.76-1.13 1.07-1.74c.02-.04 0-.08-.04-.09c-.57-.22-1.11-.48-1.64-.78c-.04-.02-.04-.08-.01-.11c.11-.08.22-.17.33-.25c.02-.02.05-.02.07-.01c3.44 1.57 7.15 1.57 10.55 0c.02-.01.05-.01.07.01c.11.09.22.17.33.26c.04.03.04.09-.01.11c-.52.31-1.07.56-1.64.78c-.04.01-.05.06-.04.09c.32.61.68 1.19 1.07 1.74c.03.01.06.02.09.01c1.72-.53 3.45-1.33 5.25-2.65c.02-.01.03-.03.03-.05c.44-4.53-.73-8.46-3.1-11.95c-.01-.01-.02-.02-.04-.02M8.52 14.91c-1.03 0-1.89-.95-1.89-2.12s.84-2.12 1.89-2.12c1.06 0 1.9.96 1.89 2.12c0 1.17-.84 2.12-1.89 2.12m6.97 0c-1.03 0-1.89-.95-1.89-2.12s.84-2.12 1.89-2.12c1.06 0 1.9.96 1.89 2.12c0 1.17-.83 2.12-1.89 2.12"})})}function c(e){let{enableSharing:t,shareData:r,large:a}=e,c="undefined"!=typeof navigator&&"function"==typeof navigator.share,d=a?"h-5 w-5":"h-4 w-4 sm:h-5 sm:w-5";return(0,s.jsxs)("div",{className:"flex flex-wrap gap-2 sm:gap-4",children:[(0,s.jsx)(u,{href:"https://github.com/Sinytra",large:a,icon:(0,s.jsx)(l.A,{className:d})}),(0,s.jsx)(u,{href:"https://discord.sinytra.org",large:a,icon:(0,s.jsx)(i,{className:d})}),t&&c&&(0,s.jsxs)(o.$,{onClick:()=>{navigator.share?navigator.share(r).catch(e=>{console.error("Error sharing:",e)}):alert("Sharing is not supported on this browser.")},size:"sm",className:"flex h-8 w-8 items-center justify-center gap-2 sm:h-10 sm:w-auto sm:justify-start sm:px-4",children:[(0,s.jsx)(n.A,{className:"h-5 w-5"}),(0,s.jsx)("span",{className:"hidden sm:inline",children:"Share"})]})]})}function u(e){let{href:t,icon:r,large:n,className:l}=e;return(0,s.jsx)("a",{href:t,target:"_blank",rel:"noopener noreferrer",children:(0,s.jsx)(o.$,{variant:"outline",size:"icon",className:(0,a.cn)(l,n?"h-10 w-10":"h-8 w-8 sm:h-10 sm:w-10"),children:r})})}},66909:(e,t,r)=>{"use strict";r.d(t,{default:()=>i});var s=r(1785),n=r(24782),a=r(17289),o=r(16685),l=r(41850);function i(e){let{children:t}=e,[r,i]=(0,o.useState)(!1),c=(0,l.usePathname)();return(0,o.useEffect)(()=>{i(!1)},[c]),(0,s.jsxs)("div",{className:"sm:hidden",children:[(0,s.jsx)(n.A,{active:r,setOpen:i}),(0,s.jsx)(a.A,{className:"top-nav-height bg-primary",isVisible:r,children:t})]})}},68717:(e,t,r)=>{"use strict";function s(e,t){if(null==t)throw Error("Missing environment variable ".concat(e));return t}function n(e,t){let r=new URLSearchParams;if(e){for(let s in e)if(null!=e[s]){let n=t?t(s,e[s]):e[s];n&&r.set(s,n)}}return r.toString()}r.d(t,{cT:()=>n,no:()=>s}),r(18398)},68950:(e,t,r)=>{"use strict";r.d(t,{Toaster:()=>a});var s=r(1785),n=r(56243);let a=e=>{let{...t}=e;return(0,s.jsx)(n.l$,{theme:"dark",className:"toaster group",toastOptions:{classNames:{toast:"group toast group-[.toaster]:bg-primary group-[.toaster]:text-primary group-[.toaster]:border-border group-[.toaster]:shadow-lg",description:"group-[.toast]:text-secondary",actionButton:"group-[.toast]:bg-primary group-[.toast]:text-inverse",cancelButton:"group-[.toast]:bg-primary-alt group-[.toast]:text-secondary"}},...t})}},73897:(e,t,r)=>{"use strict";r.d(t,{default:()=>i});var s=r(1785),n=r(16685),a=r(3660),o=r(74257),l=r(64153);function i(e){let{src:t,alt:r,width:i,height:c,fbWidth:u,fbHeight:d,className:h,title:f,strokeWidth:p=1,fixedSize:m,wrapper:x,fbIcon:v=a.A,fallback:y=(0,s.jsx)(v,{strokeWidth:p,className:(0,o.cn)(h,"text-secondary opacity-20"),width:u||i,height:d||c}),...g}=e,[b,j]=(0,n.useState)(!1);return(0,s.jsxs)("span",{title:f,style:m?{width:"".concat(i,"px"),height:"".concat(c,"px")}:void 0,...x,className:(0,o.cn)("shrink-0 overflow-hidden",null==x?void 0:x.className),children:[t&&!b&&(0,s.jsx)(l.default,{src:t,alt:r||"",width:i,height:c,className:h,unoptimized:!0,onError:()=>j(!0),...g}),(!t||b)&&y]})}},74257:(e,t,r)=>{"use strict";r.d(t,{cn:()=>a});var s=r(49663),n=r(24915);function a(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return(0,n.QP)((0,s.$)(t))}},74922:(e,t,r)=>{"use strict";r.d(t,{A:()=>a,o:()=>s});let s="minecraft";function n(e){if(0===e.length)return null;if(e.includes(":")){let t=e.split(":");return{namespace:t[0],path:t[1]}}return{namespace:"minecraft",path:e}}let a={toString:function(e){return"".concat(e.namespace,":").concat(e.path)},parse:n,extractPath:function(e){var t,r;return null!=(r=null==(t=n(e))?void 0:t.path)?r:e}}},84930:(e,t,r)=>{"use strict";r.d(t,{default:()=>A});var s=r(1785),n=r(27156),a=r(36465),o=r(39993),l=r(3307),i=r(30352),c=r(70656),u=r(40651),d=r(51161),h=r(16685),f=r(73897),p=r(15682),m=r(88272),x=r(41850),v=r(56736),y=r(3807),g=r(22254),b=r(74257),j=r(28763);function w(e){var t;let{result:r}=e,o=(0,n.c)("ProjectTypes"),l=(0,n.c)("SearchResultType");return(0,s.jsxs)(v.k,{href:r.href,className:"z-50 flex cursor-pointer flex-row gap-2 rounded-xs border border-neutral-700 bg-primary-alt px-1 py-1.5 text-primary",children:[(0,s.jsx)("div",{className:"size-[48px] shrink-0 overflow-hidden rounded-xs p-1",children:(0,s.jsx)(f.default,{src:null==(t=r.icon_asset)?void 0:t.src,width:48,height:48,alt:r.project_id,fbIcon:a.A,fixedSize:!0})}),(0,s.jsxs)("div",{className:"flex w-full flex-col justify-between overflow-hidden py-0.5 text-ellipsis [&_span]:overflow-hidden [&_span]:text-ellipsis",children:[(0,s.jsx)("span",{children:r.title}),"project"==r.entry_type?(0,s.jsx)("span",{className:"text-secondary",children:(0,s.jsx)("span",{className:"text-secondary",children:o(r.project_type)})}):(0,s.jsx)("div",{className:"flex flex-col gap-1",children:(0,s.jsx)("span",{className:"text-secondary",children:r.project_name})})]}),(0,s.jsx)("div",{className:"mx-1",children:(0,s.jsx)(j.A,{variant:r.entry_type,children:l(r.entry_type)})})]})}function N(){let e=(0,n.c)("DocsSearchBar");return(0,s.jsxs)("div",{className:"z-50 flex h-16 flex-row items-center justify-center gap-2 rounded-xs border border-neutral-700 bg-primary-alt px-1 py-1.5 text-secondary",children:[(0,s.jsx)(o.A,{className:"mr-2 h-5 w-5 animate-spin"}),e("loading")]})}function _(){let e=(0,n.c)("DocsSearchBar");return(0,s.jsx)("div",{className:"z-50 flex h-16 flex-row items-center justify-center gap-2 rounded-xs border border-neutral-700 bg-primary-alt px-1 py-1.5 text-secondary",children:e("no_results")})}function S(e){let{locale:t,isOpen:r,setOpen:a}=e,o=(0,n.c)("DocsSearchBar"),u=(0,h.useRef)(null),[d,f]=(0,h.useState)(""),[x,v]=(0,h.useState)(null),[j,S]=(0,h.useState)(!1),{project:A}=(0,h.useContext)(g.o),[E,C]=(0,h.useState)(null!=A);(0,h.useEffect)(()=>{f(""),v(null),S(!1)},[r]);let k=(0,p.YQ)(async e=>{let r=!0;setTimeout(()=>{d&&r&&S(!0)},500),v(await y.A.searchWiki(e,t,E&&A?A.id:null)),r=!1,S(!1)},200);(0,h.useEffect)(()=>{C(null!=A)},[A]),(0,h.useEffect)(()=>{d.length>0&&k(d),k.flush()},[E]);let B=E?l.A:i.A;return(0,s.jsx)(m.A,{nodeRef:u,in:r,timeout:200,classNames:"fade",unmountOnExit:!0,children:(0,s.jsx)("div",{ref:u,className:"fixed top-0 right-0 bottom-0 left-0 z-50 h-[100vh] w-full overflow-hidden bg-primary",children:(0,s.jsxs)("div",{className:"innerFadeContainer flex flex-col gap-4 p-4",children:[(0,s.jsxs)("div",{className:"relative",children:[(0,s.jsx)("button",{onClick:()=>a(!1),children:(0,s.jsx)(c.A,{className:"absolute top-1/2 left-2 h-5 w-5 -translate-y-1/2 text-secondary"})}),A&&(0,s.jsxs)("button",{className:(0,b.cn)("inset absolute top-1/2 right-2 -translate-y-1/2 rounded-sm","flex flex-row items-center gap-1","border border-secondary bg-secondary px-1.5 py-1"),onClick:()=>C(!E),children:[(0,s.jsx)(B,{className:"size-3.5 stroke-2 text-primary"}),(0,s.jsx)("span",{className:"text-xs",children:o("scope.".concat(E?"local":"global"))})]}),(0,s.jsx)("input",{type:"text",value:d,onChange:e=>(e=>{if(f(e),!e||0===e.length){v(null),S(!1);return}return k(e)})(e.target.value),className:"w-full cursor-pointer rounded-xs border border-neutral-700 bg-primary-alt p-2 px-8 text-center text-sm text-ellipsis placeholder:text-neutral-500 focus:cursor-text focus:outline-1 focus:outline-secondary",placeholder:o("placeholder"),autoFocus:!0})]}),j&&(0,s.jsx)(N,{}),!j&&x&&(x.hits.length>0?(0,s.jsxs)("div",{className:"slim-scrollbar flex h-[90vh] flex-col gap-2 overflow-y-auto",children:[...x.hits.map(e=>(0,s.jsx)(w,{result:e},e.id))]}):(0,s.jsx)(_,{}))]})})})}function A(e){let{locale:t}=e,[r,n]=(0,h.useState)(!1),a=(0,x.usePathname)();return(0,h.useEffect)(()=>{n(!1)},[a]),(0,h.useEffect)(()=>{r?document.querySelectorAll("html, body").forEach(e=>e.classList.add("navScrollLock")):document.querySelectorAll("html, body").forEach(e=>e.classList.remove("navScrollLock"))},[r]),(0,s.jsxs)("div",{className:"sm:hidden",children:[(0,s.jsx)(d.$,{variant:"ghost",size:"icon",onClick:()=>n(!r),children:(0,s.jsx)(u.A,{className:"h-4 w-4 text-[var(--vp-c-text-1)]"})}),(0,s.jsx)(S,{isOpen:r,setOpen:n,locale:t})]})}},86435:(e,t,r)=>{Promise.resolve().then(r.bind(r,57044)),Promise.resolve().then(r.bind(r,15504)),Promise.resolve().then(r.bind(r,18128)),Promise.resolve().then(r.t.bind(r,80233,23)),Promise.resolve().then(r.bind(r,51979)),Promise.resolve().then(r.bind(r,48617)),Promise.resolve().then(r.bind(r,16512)),Promise.resolve().then(r.bind(r,66909)),Promise.resolve().then(r.t.bind(r,29906,23)),Promise.resolve().then(r.bind(r,40921)),Promise.resolve().then(r.bind(r,46867)),Promise.resolve().then(r.bind(r,84930)),Promise.resolve().then(r.bind(r,22254)),Promise.resolve().then(r.bind(r,63039)),Promise.resolve().then(r.bind(r,68950))},88254:(e,t,r)=>{"use strict";r.d(t,{M$:()=>i,MZ:()=>n,cT:()=>l,gZ:()=>o,sw:()=>a});var s=r(74922);function n(e,t){var r;return null!=(r=l(t.id))?r:null!=t.page_ref?a(t.page_ref,e):null}function a(e,t){let r="slug"in t?t.slug:t.id;return"/".concat(t.locale,"/project/").concat(r,"/").concat(t.version,"/content/").concat(e)}function o(e,t){return"/".concat(e,"/project/").concat(t,"/latest")}function l(e){let t=s.A.parse(e);return(null==t?void 0:t.namespace)===s.o&&e.startsWith(s.o+":")?"https://minecraft.wiki/w/".concat(t.path):null}function i(e,t){return"/".concat(t.locale,"/project/").concat(t.id,"/").concat(t.version,"/docs/").concat(e)}},88523:()=>{}},e=>{e.O(0,[510,783,233,90,835,621,845,333,639,942,349,77,412,563,358],()=>e(e.s=86435)),_N_E=e.O()}]);