@sinytra/wiki-previewer 0.1.97 → 0.1.103

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 (133) hide show
  1. package/.next/BUILD_ID +1 -1
  2. package/.next/app-build-manifest.json +84 -84
  3. package/.next/app-path-routes-manifest.json +1 -1
  4. package/.next/build-manifest.json +2 -2
  5. package/.next/prerender-manifest.json +3 -3
  6. package/.next/server/app/(developers)/api/docs/[slug]/asset/[id]/route.js +1 -1
  7. package/.next/server/app/(developers)/api/docs/[slug]/asset/[id]/route.js.nft.json +1 -1
  8. package/.next/server/app/(developers)/api/docs/[slug]/asset/[id]/route_client-reference-manifest.js +1 -1
  9. package/.next/server/app/[locale]/(main)/project/[slug]/[version]/content/[id]/page.js +2 -2
  10. package/.next/server/app/[locale]/(main)/project/[slug]/[version]/content/[id]/page.js.nft.json +1 -1
  11. package/.next/server/app/[locale]/(main)/project/[slug]/[version]/content/[id]/page_client-reference-manifest.js +1 -1
  12. package/.next/server/app/[locale]/(main)/project/[slug]/[version]/content/page.js +2 -2
  13. package/.next/server/app/[locale]/(main)/project/[slug]/[version]/content/page.js.nft.json +1 -1
  14. package/.next/server/app/[locale]/(main)/project/[slug]/[version]/content/page_client-reference-manifest.js +1 -1
  15. package/.next/server/app/[locale]/(main)/project/[slug]/[version]/docs/[...path]/page.js +2 -2
  16. package/.next/server/app/[locale]/(main)/project/[slug]/[version]/docs/[...path]/page.js.nft.json +1 -1
  17. package/.next/server/app/[locale]/(main)/project/[slug]/[version]/docs/[...path]/page_client-reference-manifest.js +1 -1
  18. package/.next/server/app/[locale]/(main)/project/[slug]/[version]/docs/page.js +2 -2
  19. package/.next/server/app/[locale]/(main)/project/[slug]/[version]/docs/page.js.nft.json +1 -1
  20. package/.next/server/app/[locale]/(main)/project/[slug]/[version]/docs/page_client-reference-manifest.js +1 -1
  21. package/.next/server/app/[locale]/(main)/project/[slug]/[version]/page.js +2 -2
  22. package/.next/server/app/[locale]/(main)/project/[slug]/[version]/page.js.nft.json +1 -1
  23. package/.next/server/app/[locale]/(main)/project/[slug]/[version]/page_client-reference-manifest.js +1 -1
  24. package/.next/server/app/[locale]/page.js +2 -2
  25. package/.next/server/app/[locale]/page.js.nft.json +1 -1
  26. package/.next/server/app/[locale]/page_client-reference-manifest.js +1 -1
  27. package/.next/server/app/_not-found/page.js +1 -1
  28. package/.next/server/app/_not-found/page.js.nft.json +1 -1
  29. package/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  30. package/.next/server/app/_not-found.html +2 -2
  31. package/.next/server/app/_not-found.rsc +7 -7
  32. package/.next/server/app/opengraph-image/route_client-reference-manifest.js +1 -1
  33. package/.next/server/app/robots.txt/route.js +2 -2
  34. package/.next/server/app/robots.txt/route.js.nft.json +1 -1
  35. package/.next/server/app/robots.txt/route_client-reference-manifest.js +1 -1
  36. package/.next/server/app/sitemap.xml/route.js +2 -2
  37. package/.next/server/app/sitemap.xml/route.js.nft.json +1 -1
  38. package/.next/server/app/sitemap.xml/route_client-reference-manifest.js +1 -1
  39. package/.next/server/app-paths-manifest.json +1 -1
  40. package/.next/server/chunks/1503.js +1 -0
  41. package/.next/server/chunks/1868.js +1 -0
  42. package/.next/server/chunks/1988.js +1 -0
  43. package/.next/server/chunks/2998.js +2 -2
  44. package/.next/server/chunks/3787.js +1 -0
  45. package/.next/server/chunks/3817.js +1 -0
  46. package/.next/server/chunks/5560.js +157 -0
  47. package/.next/server/chunks/6029.js +1 -0
  48. package/.next/server/chunks/6323.js +1 -1
  49. package/.next/server/chunks/6718.js +1 -0
  50. package/.next/server/chunks/6866.js +10 -0
  51. package/.next/server/chunks/7379.js +35 -0
  52. package/.next/server/chunks/7540.js +1 -0
  53. package/.next/server/chunks/7542.js +1 -1
  54. package/.next/server/chunks/9.js +66 -0
  55. package/.next/server/chunks/9126.js +1 -0
  56. package/.next/server/middleware-manifest.json +10 -10
  57. package/.next/server/pages/404.html +2 -2
  58. package/.next/server/pages/500.html +1 -1
  59. package/.next/server/pages/_error.js +3 -3
  60. package/.next/server/server-reference-manifest.json +1 -1
  61. package/.next/server/src/middleware.js +2 -2
  62. package/.next/static/chunks/276-59748cdc6eea2244.js +2 -0
  63. package/.next/static/chunks/317-d29fb385beeab45e.js +1 -0
  64. package/.next/static/chunks/32c979c4-08285999e0df371a.js +1 -0
  65. package/.next/static/chunks/339-80d35456d6470e29.js +1 -0
  66. package/.next/static/chunks/{409-9c1f3189eaf6432e.js → 409-178e0f59667b056f.js} +1 -1
  67. package/.next/static/chunks/435-e4e6d2e9a548bbe0.js +3 -0
  68. package/.next/static/chunks/451-77652a733b416949.js +1 -0
  69. package/.next/static/chunks/560-80248b703798085c.js +1 -0
  70. package/.next/static/chunks/567-cb2d1f60b5811281.js +1 -0
  71. package/.next/static/chunks/754-e94ec4415607576c.js +1 -0
  72. package/.next/static/chunks/77-85be9ef4db11b026.js +1 -0
  73. package/.next/static/chunks/778-9a4dc7ff1e844740.js +1 -0
  74. package/.next/static/chunks/960-2bfa6dd3a7c15633.js +1 -0
  75. package/.next/static/chunks/962-15ce92f07ac1066b.js +1 -0
  76. package/.next/static/chunks/app/(developers)/api/docs/[slug]/asset/[id]/route-c27043cfd7fdffe9.js +1 -0
  77. package/.next/static/chunks/app/[locale]/(main)/layout-c7b593c23bbcb9d6.js +1 -0
  78. package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/content/[id]/page-ec84610ad5cccf41.js +1 -0
  79. package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/content/page-d40a378749b279c2.js +1 -0
  80. package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/docs/[...path]/error-3b87650bd5d2a795.js +1 -0
  81. package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/docs/[...path]/page-a7caa037cd8be0dd.js +1 -0
  82. package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/docs/page-b272075a759590d3.js +1 -0
  83. package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/layout-827cde1ba0ca61b8.js +1 -0
  84. package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/page-dcb08a675dbfea74.js +1 -0
  85. package/.next/static/chunks/app/[locale]/layout-67f3bc52c0cf51e0.js +1 -0
  86. package/.next/static/chunks/app/[locale]/page-6b32fbfb759213ea.js +1 -0
  87. package/.next/static/chunks/app/{error-3753bf093585c3f9.js → error-08ad244ae207f9e0.js} +1 -1
  88. package/.next/static/chunks/app/layout-6b039e28c45750ad.js +2 -0
  89. package/.next/static/chunks/app/not-found-c3d501f6035a5528.js +1 -0
  90. package/.next/static/css/e42d2d6eb1322a42.css +1 -0
  91. package/package.json +1 -1
  92. package/.next/server/chunks/2423.js +0 -1
  93. package/.next/server/chunks/2574.js +0 -66
  94. package/.next/server/chunks/2967.js +0 -1
  95. package/.next/server/chunks/3040.js +0 -1
  96. package/.next/server/chunks/318.js +0 -1
  97. package/.next/server/chunks/4404.js +0 -35
  98. package/.next/server/chunks/4706.js +0 -1
  99. package/.next/server/chunks/5610.js +0 -1
  100. package/.next/server/chunks/7910.js +0 -1
  101. package/.next/server/chunks/825.js +0 -1
  102. package/.next/server/chunks/8584.js +0 -10
  103. package/.next/server/chunks/9190.js +0 -1
  104. package/.next/server/chunks/9656.js +0 -157
  105. package/.next/static/chunks/253-456e0f54b45ee32e.js +0 -1
  106. package/.next/static/chunks/333-b6155962b8e97df3.js +0 -1
  107. package/.next/static/chunks/349-a9ebfa6bf85ef1c1.js +0 -1
  108. package/.next/static/chunks/3c6616f5-d41a7826388168fb.js +0 -1
  109. package/.next/static/chunks/621-71a2215be11ad54d.js +0 -1
  110. package/.next/static/chunks/67-a4d2761f9f80a28a.js +0 -1
  111. package/.next/static/chunks/714-a6b53baa6dfd91ba.js +0 -2
  112. package/.next/static/chunks/736-625b8ccdd7ba1d68.js +0 -1
  113. package/.next/static/chunks/77-4d0cc6ec9ab78ab0.js +0 -1
  114. package/.next/static/chunks/835-b9d094e779a24ff8.js +0 -1
  115. package/.next/static/chunks/845-2a1323f13e03afc2.js +0 -1
  116. package/.next/static/chunks/90-99c1d76334122080.js +0 -3
  117. package/.next/static/chunks/942-229a422e32d81679.js +0 -1
  118. package/.next/static/chunks/app/(developers)/api/docs/[slug]/asset/[id]/route-bd2b0120995c30e8.js +0 -1
  119. package/.next/static/chunks/app/[locale]/(main)/layout-cd2b29c3545dd03d.js +0 -1
  120. package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/content/[id]/page-b22c3769acbb8ac0.js +0 -1
  121. package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/content/page-40db7d1c9d0c3b3b.js +0 -1
  122. package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/docs/[...path]/error-9816f5919e791e47.js +0 -1
  123. package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/docs/[...path]/page-7095f5e128078355.js +0 -1
  124. package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/docs/page-c293908c29c1b6c4.js +0 -1
  125. package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/layout-88b5d365db9a6e79.js +0 -1
  126. package/.next/static/chunks/app/[locale]/(main)/project/[slug]/[version]/page-719960307da0a24f.js +0 -1
  127. package/.next/static/chunks/app/[locale]/layout-d95356d77407b3f8.js +0 -1
  128. package/.next/static/chunks/app/[locale]/page-9080aa492599c415.js +0 -1
  129. package/.next/static/chunks/app/layout-376ccc5638cb5ff9.js +0 -2
  130. package/.next/static/chunks/app/not-found-60642b865d54ecf2.js +0 -1
  131. package/.next/static/css/11f6be623c3bb77c.css +0 -1
  132. /package/.next/static/{QCZRtYzjyv1XsDFOIBMg4 → k1xF4BTVSDyeEEyCGyCPn}/_buildManifest.js +0 -0
  133. /package/.next/static/{QCZRtYzjyv1XsDFOIBMg4 → k1xF4BTVSDyeEEyCGyCPn}/_ssgManifest.js +0 -0
@@ -1 +0,0 @@
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"}}]);
@@ -1,3 +0,0 @@
1
- "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[90],{63090:(e,t,r)=>{r.d(t,{Dk:()=>es,kc:()=>eu,Ym:()=>el,c3:()=>ea});var i=r(16685);function s(e,t){let r=t&&t.cache?t.cache:l,i=t&&t.serializer?t.serializer:h;return(t&&t.strategy?t.strategy:function(e,t){var r,i;let s=1===e.length?n:o;return r=t.cache.create(),i=t.serializer,s.bind(this,e,r,i)})(e,{cache:r,serializer:i})}function n(e,t,r,i){let s=null==i||"number"==typeof i||"boolean"==typeof i?i:r(i),n=t.get(s);return void 0===n&&(n=e.call(this,i),t.set(s,n)),n}function o(e,t,r){let i=Array.prototype.slice.call(arguments,3),s=r(i),n=t.get(s);return void 0===n&&(n=e.apply(this,i),t.set(s,n)),n}let h=function(){return JSON.stringify(arguments)};var a=class{constructor(){this.cache=Object.create(null)}get(e){return this.cache[e]}set(e,t){this.cache[e]=t}};let l={create:function(){return new a}},u={variadic:function(e,t){var r,i;return r=t.cache.create(),i=t.serializer,o.bind(this,e,r,i)},monadic:function(e,t){var r,i;return r=t.cache.create(),i=t.serializer,n.bind(this,e,r,i)}};class c extends Error{constructor(e,t){let r=e;t&&(r+=": "+t),super(r),this.code=e,t&&(this.originalMessage=t)}}var m=function(e){return e.MISSING_MESSAGE="MISSING_MESSAGE",e.MISSING_FORMAT="MISSING_FORMAT",e.ENVIRONMENT_FALLBACK="ENVIRONMENT_FALLBACK",e.INSUFFICIENT_PATH="INSUFFICIENT_PATH",e.INVALID_MESSAGE="INVALID_MESSAGE",e.INVALID_KEY="INVALID_KEY",e.FORMATTING_ERROR="FORMATTING_ERROR",e}(m||{});function f(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}}function p(e,t){return s(e,{cache:{create:()=>({get:e=>t[e],set(e,r){t[e]=r}})},strategy:u.variadic})}function g(e,t){return p((...t)=>new e(...t),t)}function E(e){return{getDateTimeFormat:g(Intl.DateTimeFormat,e.dateTime),getNumberFormat:g(Intl.NumberFormat,e.number),getPluralRules:g(Intl.PluralRules,e.pluralRules),getRelativeTimeFormat:g(Intl.RelativeTimeFormat,e.relativeTime),getListFormat:g(Intl.ListFormat,e.list),getDisplayNames:g(Intl.DisplayNames,e.displayNames)}}let b=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g,H=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,y=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,B=/^(@+)?(\+|#+)?[rs]?$/g,d=/(\*)(0+)|(#+)(0+)|(0+)/g,T=/^(0+)$/;function A(e){let t={};return"r"===e[e.length-1]?t.roundingPriority="morePrecision":"s"===e[e.length-1]&&(t.roundingPriority="lessPrecision"),e.replace(B,function(e,r,i){return"string"!=typeof i?(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length):"+"===i?t.minimumSignificantDigits=r.length:"#"===r[0]?t.maximumSignificantDigits=r.length:(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length+("string"==typeof i?i.length:0)),""}),t}function S(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function I(e){let t=S(e);return t||{}}let N=function(e){return e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG",e}({});function _(e){return!!(e&&"object"==typeof e&&0===e.type)}function P(e){return!!(e&&"object"==typeof e&&1===e.type)}let M=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,L={"001":["H","h"],419:["h","H","hB","hb"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["h","H","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["h","H","hB","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["h","H","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["h","H","hB","hb"],CU:["h","H","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["h","H","hB","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GS:["H","h","hb","hB"],GT:["h","H","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["h","H","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["h","H","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["h","H","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["h","H","hB","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["h","H","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["h","H","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["h","H","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"en-HK":["h","hb","H","hB"],"en-IL":["H","h","hb","hB"],"en-MY":["h","hb","H","hB"],"es-BR":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ku-SY":["H","hB"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]},R=RegExp(`^${M.source}*`),v=RegExp(`${M.source}*$`);function O(e,t){return{start:e,end:t}}let w=!!Object.fromEntries,C=!!String.prototype.trimStart,F=!!String.prototype.trimEnd,D=w?Object.fromEntries:function(e){let t={};for(let[r,i]of e)t[r]=i;return t},G=C?function(e){return e.trimStart()}:function(e){return e.replace(R,"")},U=F?function(e){return e.trimEnd()}:function(e){return e.replace(v,"")},k=RegExp("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");var V=class{constructor(e,t={}){this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}parse(){if(0!==this.offset())throw Error("parser can only be used once");if(this.message.length>0){let e=this.message.charCodeAt(0);if(35!==e&&39!==e&&60!==e&&123!==e&&125!==e){let e=function(e){if(0===e.length)return null;let t=1,r=1;for(let i=0;i<e.length;){let s=e.charCodeAt(i);switch(s){case 35:case 39:case 60:case 123:case 125:return null}if(10===s)t++,r=1,i++;else if(r++,s>=55296&&s<=56319&&i+1<e.length){let t=e.charCodeAt(i+1);i+=t>=56320&&t<=57343?2:1}else i++}return{offset:e.length,line:t,column:r}}(this.message);if(e){let t=this.clonePosition();return this.position=e,{val:[{type:0,value:this.message,location:O(t,this.clonePosition())}],err:null}}}}return this.parseMessage(0,"",!1)}parseMessage(e,t,r){let i=[];for(;!this.isEOF();){let s=this.char();if(123===s){let t=this.parseArgument(e,r);if(t.err)return t;i.push(t.val)}else if(125===s&&e>0)break;else if(35===s&&("plural"===t||"selectordinal"===t)){let e=this.clonePosition();this.bump(),i.push({type:7,location:O(e,this.clonePosition())})}else if(60!==s||this.ignoreTag||47!==this.peek())if(60===s&&!this.ignoreTag&&K(this.peek()||0)){let r=this.parseTag(e,t);if(r.err)return r;i.push(r.val)}else{let r=this.parseLiteral(e,t);if(r.err)return r;i.push(r.val)}else if(!r)return this.error(26,O(this.clonePosition(),this.clonePosition()));else break}return{val:i,err:null}}parseTag(e,t){let r=this.clonePosition();this.bump();let i=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:0,value:`<${i}/>`,location:O(r,this.clonePosition())},err:null};if(!this.bumpIf(">"))return this.error(23,O(r,this.clonePosition()));{let s=this.parseMessage(e+1,t,!0);if(s.err)return s;let n=s.val,o=this.clonePosition();if(!this.bumpIf("</"))return this.error(27,O(r,this.clonePosition()));{if(this.isEOF()||!K(this.char()))return this.error(23,O(o,this.clonePosition()));let e=this.clonePosition();return i!==this.parseTagName()?this.error(26,O(e,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">"))?{val:{type:8,value:i,children:n,location:O(r,this.clonePosition())},err:null}:this.error(23,O(o,this.clonePosition()))}}}parseTagName(){var e;let t=this.offset();for(this.bump();!this.isEOF()&&(45===(e=this.char())||46===e||e>=48&&e<=57||95===e||e>=97&&e<=122||e>=65&&e<=90||183==e||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039);)this.bump();return this.message.slice(t,this.offset())}parseLiteral(e,t){let r=this.clonePosition(),i="";for(;;){let r=this.tryParseQuote(t);if(r){i+=r;continue}let s=this.tryParseUnquoted(e,t);if(s){i+=s;continue}let n=this.tryParseLeftAngleBracket();if(n){i+=n;continue}break}return{val:{type:0,value:i,location:O(r,this.clonePosition())},err:null}}tryParseLeftAngleBracket(){var e;return this.isEOF()||60!==this.char()||!this.ignoreTag&&(K(e=this.peek()||0)||47===e)?null:(this.bump(),"<")}tryParseQuote(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();let t=[this.char()];for(this.bump();!this.isEOF();){let e=this.char();if(39===e)if(39===this.peek())t.push(39),this.bump();else{this.bump();break}else t.push(e);this.bump()}return String.fromCodePoint(...t)}tryParseUnquoted(e,t){if(this.isEOF())return null;let r=this.char();return 60===r||123===r||35===r&&("plural"===t||"selectordinal"===t)||125===r&&e>0?null:(this.bump(),String.fromCodePoint(r))}parseArgument(e,t){let r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(1,O(r,this.clonePosition()));if(125===this.char())return this.bump(),this.error(2,O(r,this.clonePosition()));let i=this.parseIdentifierIfPossible().value;if(!i)return this.error(3,O(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(1,O(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:1,value:i,location:O(r,this.clonePosition())},err:null};case 44:if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(1,O(r,this.clonePosition()));return this.parseArgumentOptions(e,t,i,r);default:return this.error(3,O(r,this.clonePosition()))}}parseIdentifierIfPossible(){var e;let t=this.clonePosition(),r=this.offset(),i=(e=this.message,k.lastIndex=r,k.exec(e)[1]??""),s=r+i.length;return this.bumpTo(s),{value:i,location:O(t,this.clonePosition())}}parseArgumentOptions(e,t,r,i){let s=this.clonePosition(),n=this.parseIdentifierIfPossible().value,o=this.clonePosition();switch(n){case"":return this.error(4,O(s,o));case"number":case"date":case"time":{this.bumpSpace();let e=null;if(this.bumpIf(",")){this.bumpSpace();let t=this.clonePosition(),r=this.parseSimpleArgStyleIfPossible();if(r.err)return r;let i=U(r.val);if(0===i.length)return this.error(6,O(this.clonePosition(),this.clonePosition()));e={style:i,styleLocation:O(t,this.clonePosition())}}let t=this.tryParseArgumentClose(i);if(t.err)return t;let s=O(i,this.clonePosition());if(e&&e.style.startsWith("::")){let t=G(e.style.slice(2));if("number"===n){let i=this.parseNumberSkeletonFromString(t,e.styleLocation);if(i.err)return i;return{val:{type:2,value:r,location:s,style:i.val},err:null}}{if(0===t.length)return this.error(10,s);let i=t;return this.locale&&(i=function(e,t){let r="";for(let i=0;i<e.length;i++){let s=e.charAt(i);if("j"===s){let n=0;for(;i+1<e.length&&e.charAt(i+1)===s;)n++,i++;let o=1+(1&n),h=n<2?1:3+(n>>1),a=function(e){let t,r=e.hourCycle;if(void 0===r&&e.hourCycles&&e.hourCycles.length&&(r=e.hourCycles[0]),r)switch(r){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw Error("Invalid hourCycle")}let i=e.language;return"root"!==i&&(t=e.maximize().region),(L[t||""]||L[i||""]||L[`${i}-001`]||L["001"])[0]}(t);for(("H"==a||"k"==a)&&(h=0);h-- >0;)r+="a";for(;o-- >0;)r=a+r}else"J"===s?r+="H":r+=s}return r}(t,this.locale)),{val:{type:"date"===n?3:4,value:r,location:s,style:{type:1,pattern:i,location:e.styleLocation,parsedOptions:this.shouldParseSkeletons?function(e){let t={};return e.replace(b,e=>{let r=e.length;switch(e[0]){case"G":t.era=4===r?"long":5===r?"narrow":"short";break;case"y":t.year=2===r?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][r-1];break;case"w":case"W":throw RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][r-1];break;case"D":case"F":case"g":throw RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=4===r?"long":5===r?"narrow":"short";break;case"e":if(r<4)throw RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][r-4];break;case"c":if(r<4)throw RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][r-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][r-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][r-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][r-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][r-1];break;case"j":case"J":case"C":throw RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][r-1];break;case"s":t.second=["numeric","2-digit"][r-1];break;case"S":case"A":throw RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=r<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),t}(i):{}}},err:null}}}return{val:{type:"number"===n?2:"date"===n?3:4,value:r,location:s,style:e?.style??null},err:null}}case"plural":case"selectordinal":case"select":{let s=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(12,O(s,{...s}));this.bumpSpace();let o=this.parseIdentifierIfPossible(),h=0;if("select"!==n&&"offset"===o.value){if(!this.bumpIf(":"))return this.error(13,O(this.clonePosition(),this.clonePosition()));this.bumpSpace();let e=this.tryParseDecimalInteger(13,14);if(e.err)return e;this.bumpSpace(),o=this.parseIdentifierIfPossible(),h=e.val}let a=this.tryParsePluralOrSelectOptions(e,n,t,o);if(a.err)return a;let l=this.tryParseArgumentClose(i);if(l.err)return l;let u=O(i,this.clonePosition());if("select"===n)return{val:{type:5,value:r,options:D(a.val),location:u},err:null};return{val:{type:6,value:r,options:D(a.val),offset:h,pluralType:"plural"===n?"cardinal":"ordinal",location:u},err:null}}default:return this.error(5,O(s,o))}}tryParseArgumentClose(e){return this.isEOF()||125!==this.char()?this.error(1,O(e,this.clonePosition())):(this.bump(),{val:!0,err:null})}parseSimpleArgStyleIfPossible(){let e=0,t=this.clonePosition();for(;!this.isEOF();)switch(this.char()){case 39:{this.bump();let e=this.clonePosition();if(!this.bumpUntil("'"))return this.error(11,O(e,this.clonePosition()));this.bump();break}case 123:e+=1,this.bump();break;case 125:if(!(e>0))return{val:this.message.slice(t.offset,this.offset()),err:null};e-=1;break;default:this.bump()}return{val:this.message.slice(t.offset,this.offset()),err:null}}parseNumberSkeletonFromString(e,t){let r=[];try{r=function(e){if(0===e.length)throw Error("Number skeleton cannot be empty");let t=e.split(H).filter(e=>e.length>0),r=[];for(let e of t){let t=e.split("/");if(0===t.length)throw Error("Invalid number skeleton");let[i,...s]=t;for(let e of s)if(0===e.length)throw Error("Invalid number skeleton");r.push({stem:i,options:s})}return r}(e)}catch{return this.error(7,t)}return{val:{type:0,tokens:r,location:t,parsedOptions:this.shouldParseSkeletons?function(e){let t={};for(let r of e){switch(r.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=r.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=r.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t={...t,notation:"scientific",...r.options.reduce((e,t)=>({...e,...I(t)}),{})};continue;case"engineering":t={...t,notation:"engineering",...r.options.reduce((e,t)=>({...e,...I(t)}),{})};continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(r.options[0]);continue;case"rounding-mode-floor":t.roundingMode="floor";continue;case"rounding-mode-ceiling":t.roundingMode="ceil";continue;case"rounding-mode-down":t.roundingMode="trunc";continue;case"rounding-mode-up":t.roundingMode="expand";continue;case"rounding-mode-half-even":t.roundingMode="halfEven";continue;case"rounding-mode-half-down":t.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":t.roundingMode="halfExpand";continue;case"integer-width":if(r.options.length>1)throw RangeError("integer-width stems only accept a single optional option");r.options[0].replace(d,function(e,r,i,s,n,o){if(r)t.minimumIntegerDigits=i.length;else if(s&&n)throw Error("We currently do not support maximum integer digits");else if(o)throw Error("We currently do not support exact integer digits");return""});continue}if(T.test(r.stem)){t.minimumIntegerDigits=r.stem.length;continue}if(y.test(r.stem)){if(r.options.length>1)throw RangeError("Fraction-precision stems only accept a single optional option");r.stem.replace(y,function(e,r,i,s,n,o){return"*"===i?t.minimumFractionDigits=r.length:s&&"#"===s[0]?t.maximumFractionDigits=s.length:n&&o?(t.minimumFractionDigits=n.length,t.maximumFractionDigits=n.length+o.length):(t.minimumFractionDigits=r.length,t.maximumFractionDigits=r.length),""});let e=r.options[0];"w"===e?t={...t,trailingZeroDisplay:"stripIfInteger"}:e&&(t={...t,...A(e)});continue}if(B.test(r.stem)){t={...t,...A(r.stem)};continue}let e=S(r.stem);e&&(t={...t,...e});let i=function(e){let t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){let r=e.slice(0,2);if("+!"===r?(t.signDisplay="always",e=e.slice(2)):"+?"===r&&(t.signDisplay="exceptZero",e=e.slice(2)),!T.test(e))throw Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(r.stem);i&&(t={...t,...i})}return t}(r):{}},err:null}}tryParsePluralOrSelectOptions(e,t,r,i){let s=!1,n=[],o=new Set,{value:h,location:a}=i;for(;;){if(0===h.length){let e=this.clonePosition();if("select"!==t&&this.bumpIf("=")){let t=this.tryParseDecimalInteger(16,19);if(t.err)return t;a=O(e,this.clonePosition()),h=this.message.slice(e.offset,this.offset())}else break}if(o.has(h))return this.error("select"===t?21:20,a);"other"===h&&(s=!0),this.bumpSpace();let i=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?17:18,O(this.clonePosition(),this.clonePosition()));let l=this.parseMessage(e+1,t,r);if(l.err)return l;let u=this.tryParseArgumentClose(i);if(u.err)return u;n.push([h,{value:l.val,location:O(i,this.clonePosition())}]),o.add(h),this.bumpSpace(),{value:h,location:a}=this.parseIdentifierIfPossible()}return 0===n.length?this.error("select"===t?15:16,O(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!s?this.error(22,O(this.clonePosition(),this.clonePosition())):{val:n,err:null}}tryParseDecimalInteger(e,t){let r=1,i=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);let s=!1,n=0;for(;!this.isEOF();){let e=this.char();if(e>=48&&e<=57)s=!0,n=10*n+(e-48),this.bump();else break}let o=O(i,this.clonePosition());return s?Number.isSafeInteger(n*=r)?{val:n,err:null}:this.error(t,o):this.error(e,o)}offset(){return this.position.offset}isEOF(){return this.offset()===this.message.length}clonePosition(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}}char(){let e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");let t=this.message.codePointAt(e);if(void 0===t)throw Error(`Offset ${e} is at invalid UTF-16 code unit boundary`);return t}error(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}}bump(){if(this.isEOF())return;let e=this.char();10===e?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2)}bumpIf(e){if(this.message.startsWith(e,this.offset())){for(let t=0;t<e.length;t++)this.bump();return!0}return!1}bumpUntil(e){let t=this.offset(),r=this.message.indexOf(e,t);return r>=0?(this.bumpTo(r),!0):(this.bumpTo(this.message.length),!1)}bumpTo(e){if(this.offset()>e)throw Error(`targetOffset ${e} must be greater than or equal to the current offset ${this.offset()}`);for(e=Math.min(e,this.message.length);;){let t=this.offset();if(t===e)break;if(t>e)throw Error(`targetOffset ${e} is at invalid UTF-16 code unit boundary`);if(this.bump(),this.isEOF())break}}bumpSpace(){for(var e;!this.isEOF()&&((e=this.char())>=9&&e<=13||32===e||133===e||e>=8206&&e<=8207||8232===e||8233===e);)this.bump()}peek(){if(this.isEOF())return null;let e=this.char(),t=this.offset();return this.message.charCodeAt(t+(e>=65536?2:1))??null}};function K(e){return e>=97&&e<=122||e>=65&&e<=90}function x(e,t={}){let r=new V(e,t={shouldParseSkeletons:!0,requiresOtherClause:!0,...t}).parse();if(r.err){let e=SyntaxError(N[r.err.kind]);throw e.location=r.err.location,e.originalMessage=r.err.message,e}return t?.captureLocation||function e(t){t.forEach(t=>{if(delete t.location,5===t.type||6===t.type)for(let r in t.options)delete t.options[r].location,e(t.options[r].value);else 2===t.type&&_(t.style)||(3===t.type||4===t.type)&&P(t.style)?delete t.style.location:8===t.type&&e(t.children)})}(r.val),r.val}var Z=class extends Error{constructor(e,t,r){super(e),this.code=t,this.originalMessage=r}toString(){return`[formatjs Error: ${this.code}] ${this.message}`}},X=class extends Z{constructor(e,t,r,i){super(`Invalid values for "${e}": "${t}". Options are "${Object.keys(r).join('", "')}"`,"INVALID_VALUE",i)}},Y=class extends Z{constructor(e,t,r){super(`Value for "${e}" must be of type ${t}`,"INVALID_VALUE",r)}},j=class extends Z{constructor(e,t){super(`The intl string context variable "${e}" was not provided to the string "${t}"`,"MISSING_VALUE",t)}};function $(e){return{create:()=>({get:t=>e[t],set(t,r){e[t]=r}})}}var W=class e{constructor(t,r=e.defaultLocale,i,n){if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=e=>{let t=this.formatToParts(e);if(1===t.length)return t[0].value;let r=t.reduce((e,t)=>(e.length&&0===t.type&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e),[]);return r.length<=1?r[0]||"":r},this.formatToParts=e=>(function e(t,r,i,s,n,o,h){if(1===t.length&&0===t[0].type)return[{type:0,value:t[0].value}];let a=[];for(let l of t){if(0===l.type){a.push({type:0,value:l.value});continue}if(7===l.type){"number"==typeof o&&a.push({type:0,value:i.getNumberFormat(r).format(o)});continue}let{value:t}=l;if(!(n&&t in n))throw new j(t,h);let u=n[t];if(1===l.type){u&&"string"!=typeof u&&"number"!=typeof u&&"bigint"!=typeof u||(u="string"==typeof u||"number"==typeof u||"bigint"==typeof u?String(u):""),a.push({type:+("string"!=typeof u),value:u});continue}if(3===l.type){let e="string"==typeof l.style?s.date[l.style]:P(l.style)?l.style.parsedOptions:void 0;a.push({type:0,value:i.getDateTimeFormat(r,e).format(u)});continue}if(4===l.type){let e="string"==typeof l.style?s.time[l.style]:P(l.style)?l.style.parsedOptions:s.time.medium;a.push({type:0,value:i.getDateTimeFormat(r,e).format(u)});continue}if(2===l.type){let e="string"==typeof l.style?s.number[l.style]:_(l.style)?l.style.parsedOptions:void 0;if(e&&e.scale){let t=e.scale||1;if("bigint"==typeof u){if(!Number.isInteger(t))throw TypeError(`Cannot apply fractional scale ${t} to bigint value. Scale must be an integer when formatting bigint.`);u*=BigInt(t)}else u*=t}a.push({type:0,value:i.getNumberFormat(r,e).format(u)});continue}if(8===l.type){let{children:t,value:u}=l,c=n[u];if("function"!=typeof c)throw new Y(u,"function",h);let m=c(e(t,r,i,s,n,o).map(e=>e.value));Array.isArray(m)||(m=[m]),a.push(...m.map(e=>({type:+("string"!=typeof e),value:e})))}if(5===l.type){let t=u,o=(Object.prototype.hasOwnProperty.call(l.options,t)?l.options[t]:void 0)||l.options.other;if(!o)throw new X(l.value,u,Object.keys(l.options),h);a.push(...e(o.value,r,i,s,n));continue}if(6===l.type){let t=`=${u}`,o=Object.prototype.hasOwnProperty.call(l.options,t)?l.options[t]:void 0;if(!o){if(!Intl.PluralRules)throw new Z(`Intl.PluralRules is not available in this environment.
2
- Try polyfilling it using "@formatjs/intl-pluralrules"
3
- `,"MISSING_INTL_API",h);let e="bigint"==typeof u?Number(u):u,t=i.getPluralRules(r,{type:l.pluralType}).select(e-(l.offset||0));o=(Object.prototype.hasOwnProperty.call(l.options,t)?l.options[t]:void 0)||l.options.other}if(!o)throw new X(l.value,u,Object.keys(l.options),h);let c="bigint"==typeof u?Number(u):u;a.push(...e(o.value,r,i,s,n,c-(l.offset||0)));continue}}return a.length<2?a:a.reduce((e,t)=>{let r=e[e.length-1];return r&&0===r.type&&0===t.type?r.value+=t.value:e.push(t),e},[])})(this.ast,this.locales,this.formatters,this.formats,e,void 0,this.message),this.resolvedOptions=()=>({locale:this.resolvedLocale?.toString()||Intl.NumberFormat.supportedLocalesOf(this.locales)[0]}),this.getAst=()=>this.ast,this.locales=r,this.resolvedLocale=e.resolveLocale(r),"string"==typeof t){if(this.message=t,!e.__parse)throw TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");let{...r}=n||{};this.ast=e.__parse(t,{...r,locale:this.resolvedLocale})}else this.ast=t;if(!Array.isArray(this.ast))throw TypeError("A message must be provided as a String or AST.");this.formats=function(e,t){return t?Object.keys(e).reduce((r,i)=>{var s,n;return r[i]=(s=e[i],(n=t[i])?{...s,...n,...Object.keys(s).reduce((e,t)=>(e[t]={...s[t],...n[t]},e),{})}:s),r},{...e}):e}(e.formats,i),this.formatters=n&&n.formatters||function(e={number:{},dateTime:{},pluralRules:{}}){return{getNumberFormat:s((...e)=>new Intl.NumberFormat(...e),{cache:$(e.number),strategy:u.variadic}),getDateTimeFormat:s((...e)=>new Intl.DateTimeFormat(...e),{cache:$(e.dateTime),strategy:u.variadic}),getPluralRules:s((...e)=>new Intl.PluralRules(...e),{cache:$(e.pluralRules),strategy:u.variadic})}}(this.formatterCache)}static{this.memoizedDefaultLocale=null}static get defaultLocale(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),e.memoizedDefaultLocale}static{this.resolveLocale=e=>{if(void 0===Intl.Locale)return;let t=Intl.NumberFormat.supportedLocalesOf(e);return new Intl.Locale(t.length>0?t[0]:"string"==typeof e?e:e[0])}}static{this.__parse=x}static{this.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}}}};function z(...[e,t,r,s]){let n;if(Array.isArray(t))throw new c(m.INVALID_MESSAGE,void 0);if("object"==typeof t)throw new c(m.INSUFFICIENT_PATH,void 0);if("string"==typeof t){let e=r||/'[{}]/.test(t)?void 0:t;if(e)return e}let{cache:o,formats:h,formatters:a,globalFormats:l,locale:u,timeZone:f}=s;a.getMessageFormat||(a.getMessageFormat=p((...e)=>new W(e[0],e[1],e[2],{formatters:a,...e[3]}),o.message));try{n=a.getMessageFormat(t,u,function(e,t,r){let i=W.formats.date,s=W.formats.time,n={...e?.dateTime,...t?.dateTime},o={date:{...i,...n},time:{...s,...n},number:{...e?.number,...t?.number}};return r&&["date","time"].forEach(e=>{let t=o[e];for(let[e,i]of Object.entries(t))t[e]={timeZone:r,...i}}),o}(l,h,f),{formatters:{...a,getDateTimeFormat:(e,t)=>a.getDateTimeFormat(e,{...t,timeZone:t?.timeZone??f})}})}catch(e){throw new c(m.INVALID_MESSAGE,void 0)}let g=n.format(r);return(0,i.isValidElement)(g)||Array.isArray(g)||"string"==typeof g?g:String(g)}function q(...e){return e.filter(Boolean).join(".")}function J(e){return q(e.namespace,e.key)}function Q(e){console.error(e)}function ee(e,t,r,i){let s=q(i,r);if(!t)throw Error(s);let n=t;return r.split(".").forEach(t=>{let r=n[t];if(null==t||null==r)throw Error(s+` (${e})`);n=r}),n}z.raw=!0;let et={second:1,seconds:1,minute:60,minutes:60,hour:3600,hours:3600,day:86400,days:86400,week:604800,weeks:604800,month:2628e3,months:2628e3,quarter:7884e3,quarters:7884e3,year:31536e3,years:31536e3};var er=r(1785);let ei=(0,i.createContext)(void 0);function es({children:e,formats:t,getMessageFallback:r,locale:s,messages:n,now:o,onError:h,timeZone:a}){let l=(0,i.useContext)(ei),u=(0,i.useMemo)(()=>l?.cache||f(),[s,l?.cache]),c=(0,i.useMemo)(()=>l?.formatters||E(u),[u,l?.formatters]),m=(0,i.useMemo)(()=>({...function({formats:e,getMessageFallback:t,messages:r,onError:i,...s}){return{...s,formats:e||void 0,messages:r||void 0,onError:i||Q,getMessageFallback:t||J}}({locale:s,formats:void 0===t?l?.formats:t,getMessageFallback:r||l?.getMessageFallback,messages:void 0===n?l?.messages:n,now:o||l?.now,onError:h||l?.onError,timeZone:a||l?.timeZone}),formatters:c,cache:u}),[u,t,c,r,s,n,o,h,l,a]);return(0,er.jsx)(ei.Provider,{value:m,children:e})}function en(){let e=(0,i.useContext)(ei);if(!e)throw Error(void 0);return e}let eo=!1,eh="undefined"==typeof window;function ea(e){return function(e,t,r){let{cache:s,formats:n,formatters:o,getMessageFallback:h,locale:a,onError:l,timeZone:u}=en(),f=e["!"],p="!"===t?void 0:t.slice((r+".").length);return u||eo||!eh||(eo=!0,l(new c(m.ENVIRONMENT_FALLBACK,void 0))),(0,i.useMemo)(()=>(function(e){let t=function(e,t,r){try{if(!t)throw Error(void 0);let i=r?ee(e,t,r):t;if(!i)throw Error(r);return i}catch(e){return new c(m.MISSING_MESSAGE,e.message)}}(e.locale,e.messages,e.namespace);return function({cache:e,formats:t,formatters:r,getMessageFallback:s=J,locale:n,messagesOrError:o,namespace:h,onError:a,timeZone:l}){let u=o instanceof c;function f(e,t,r,i){let n=new c(t,r);return a(n),i??s({error:n,key:e,namespace:h})}function p(p,g,E,b){let H;if(u){if(!b)return a(o),s({error:o,key:p,namespace:h});H=b}else try{H=ee(n,o,p,h)}catch(e){if(!b)return f(p,m.MISSING_MESSAGE,e.message,b);H=b}try{let s=q(h,p);return z(s,H,g?function(e){let t={};return Object.keys(e).forEach(r=>{let s,n=0,o=e[r];s="function"==typeof o?e=>{let t=o(e);return(0,i.isValidElement)(t)?(0,i.cloneElement)(t,{key:r+n++}):t}:o,t[r]=s}),t}(g):g,{cache:e,formatters:r,globalFormats:t,formats:E,locale:n,timeZone:l})}catch(r){let e,t;return r instanceof c?(e=r.code,t=r.originalMessage):(e=m.FORMATTING_ERROR,t=r.message),f(p,e,t,b)}}function g(e,t,r,i){let s=p(e,t,r,i);return"string"!=typeof s?f(e,m.INVALID_MESSAGE,void 0):s}return g.rich=p,g.markup=(e,t,r,i)=>p(e,t,r,i),g.raw=e=>{if(u)return a(o),s({error:o,key:e,namespace:h});try{return ee(n,o,e,h)}catch(t){return f(e,m.MISSING_MESSAGE,t.message)}},g.has=e=>{if(u)return!1;try{return ee(n,o,e,h),!0}catch{return!1}},g}({...e,messagesOrError:t})})({cache:s,formatters:o,getMessageFallback:h,messages:f,namespace:p,onError:l,formats:n,locale:a,timeZone:u}),[s,o,h,f,p,l,n,a,u])}({"!":en().messages},e?`!.${e}`:"!","!")}function el(){return en().locale}function eu(){let{formats:e,formatters:t,locale:r,now:s,onError:n,timeZone:o}=en();return(0,i.useMemo)(()=>(function(e){let{_cache:t=f(),_formatters:r=E(t),formats:i,locale:s,onError:n=Q,timeZone:o}=e;function h(e){return e?.timeZone||(o?e={...e,timeZone:o}:n(new c(m.ENVIRONMENT_FALLBACK,void 0))),e}function a(e,t,r,i,s){let o;try{o=function(e,t,r){let i;if("string"==typeof t){if(!(i=e?.[t])){let e=new c(m.MISSING_FORMAT,void 0);throw n(e),e}}else i=t;return r&&(i={...i,...r}),i}(r,e,t)}catch{return s()}try{return i(o)}catch(e){return n(new c(m.FORMATTING_ERROR,e.message)),s()}}function l(e,t,n){return a(t,n,i?.dateTime,t=>(t=h(t),r.getDateTimeFormat(s,t).format(e)),()=>String(e))}function u(){return e.now?e.now:(n(new c(m.ENVIRONMENT_FALLBACK,void 0)),new Date)}return{dateTime:l,number:function(e,t,n){return a(t,n,i?.number,t=>r.getNumberFormat(s,t).format(e),()=>String(e))},relativeTime:function(e,t){try{var i;let n,o,h={};t instanceof Date||"number"==typeof t?n=new Date(t):t&&(n=null!=t.now?new Date(t.now):u(),o=t.unit,h.style=t.style,h.numberingSystem=t.numberingSystem),n||(n=u());let a=(new Date(e).getTime()-n.getTime())/1e3;o||(o=function(e){let t=Math.abs(e);return t<60?"second":t<3600?"minute":t<86400?"hour":t<604800?"day":t<2628e3?"week":t<31536e3?"month":"year"}(a)),h.numeric="second"===o?"auto":"always";let l=(i=o,Math.round(a/et[i]));return r.getRelativeTimeFormat(s,h).format(l,o)}catch(t){return n(new c(m.FORMATTING_ERROR,t.message)),String(e)}},list:function(e,t,n){let o=[],h=new Map,l=0;for(let t of e){let e;"object"==typeof t?(e=String(l),h.set(e,t)):e=String(t),o.push(e),l++}return a(t,n,i?.list,e=>{let t=r.getListFormat(s,e).formatToParts(o).map(e=>"literal"===e.type?e.value:h.get(e.value)||e.value);return h.size>0?t:t.join("")},()=>String(e))},dateTimeRange:function(e,t,n,o){return a(n,o,i?.dateTime,i=>(i=h(i),r.getDateTimeFormat(s,i).formatRange(e,t)),()=>[l(e),l(t)].join(" – "))},displayName:function(e,t,n){return a(t,n,i?.displayName,t=>r.getDisplayNames(s,t).of(e),()=>e)}}})({formats:e,locale:r,now:s,onError:n,timeZone:o,_formatters:t}),[e,t,s,r,n,o])}}}]);
@@ -1 +0,0 @@
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)}}}]);
@@ -1 +0,0 @@
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()}]);
@@ -1 +0,0 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[969],{14905:(e,t,n)=>{"use strict";n.d(t,{FD:()=>P,MY:()=>o,PJ:()=>i,Wl:()=>l,XP:()=>f,_x:()=>u,bL:()=>h,po:()=>c,ql:()=>s,wO:()=>a,yL:()=>y});var r=n(18398);function u(e){return("object"==typeof e?null==e.host&&null==e.hostname:!/^[a-z]+:/i.test(e))&&!function(e){let t="object"==typeof e?e.pathname:e;return null!=t&&!t.startsWith("/")}(e)}function o(e,t){return e.replace(RegExp(`^${t}`),"")||"/"}function i(e,t){let n=e;return/^\/(\?.*)?$/.test(t)&&(t=t.slice(1)),n+=t}function a(e,t){return t===e||t.startsWith(`${e}/`)}function l(e,t,n){return"string"==typeof e?e:e[t]||n}function c(e){let t=function(){try{return"true"===r.env._next_intl_trailing_slash}catch{return!1}}(),[n,...u]=e.split("#"),o=u.join("#"),i=n;if("/"!==i){let e=i.endsWith("/");t&&!e?i+="/":!t&&e&&(i=i.slice(0,-1))}return o&&(i+="#"+o),i}function s(e,t){let n=c(e),r=c(t);return(function(e){let t=e.replace(/\/\[\[(\.\.\.[^\]]+)\]\]/g,"(?:/(.*))?").replace(/\[\[(\.\.\.[^\]]+)\]\]/g,"(?:/(.*))?").replace(/\[(\.\.\.[^\]]+)\]/g,"(.+)").replace(/\[([^\]]+)\]/g,"([^/]+)");return RegExp(`^${t}$`)})(n).test(r)}function f(e,t){return"never"!==t.mode&&t.prefixes?.[e]||h(e)}function h(e){return"/"+e}function p(e){return e.includes("[[...")}function d(e){return e.includes("[...")}function m(e){return e.includes("[")}function g(e,t){let n=e.split("/"),r=t.split("/"),u=Math.max(n.length,r.length);for(let e=0;e<u;e++){let t=n[e],u=r[e];if(!t&&u)return -1;if(t&&!u)return 1;if(t||u){if(!m(t)&&m(u))return -1;if(m(t)&&!m(u))return 1;if(!d(t)&&d(u))return -1;if(d(t)&&!d(u))return 1;if(!p(t)&&p(u))return -1;if(p(t)&&!p(u))return 1}}return 0}function P(e){return e.sort(g)}function y(e){return"function"==typeof e.then}},15504:(e,t,n)=>{"use strict";n.d(t,{default:()=>c});var r=n(80233),u=n(41850),o=n(16685),i=n(63090),a=n(20330),l=n(1785),c=(0,o.forwardRef)(function(e,t){let{href:n,locale:o,localeCookie:c,onClick:s,prefetch:f,...h}=e,p=(0,i.Ym)(),d=null!=o&&o!==p,m=(0,u.usePathname)();return d&&(f=!1),(0,l.jsx)(r,{ref:t,href:n,hrefLang:d?o:void 0,onClick:function(e){(0,a.A)(c,m,p,o),s&&s(e)},prefetch:f,...h})})},20330:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(53330);function u(e,t,n,u){if(!e||u===n||null==u||!t)return;let o=(0,r.DT)(t),{name:i,...a}=e;a.path||(a.path=""!==o?o:"/");let l=`${i}=${u};`;for(let[e,t]of Object.entries(a))l+=`${"maxAge"===e?"max-age":e}`,"boolean"!=typeof t&&(l+="="+t),l+=";";document.cookie=l}},35461:(e,t,n)=>{Promise.resolve().then(n.bind(n,15504)),Promise.resolve().then(n.bind(n,35989))},35989:(e,t,n)=>{"use strict";n.d(t,{default:()=>o});var r=n(16685),u=n(41850);function o(){let e=(0,u.useRouter)();return(0,r.useEffect)(()=>{let t=new WebSocket("ws://localhost:3100");return t.onmessage=t=>{"refresh"===t.data&&(console.log("\uD83D\uDD04 File change detected, refreshing data..."),e.refresh())},t.onerror=()=>console.log("WS Watcher not running."),()=>t.close()},[]),null}},41850:(e,t,n)=>{"use strict";var r=n(45838);n.o(r,"permanentRedirect")&&n.d(t,{permanentRedirect:function(){return r.permanentRedirect}}),n.o(r,"redirect")&&n.d(t,{redirect:function(){return r.redirect}}),n.o(r,"useParams")&&n.d(t,{useParams:function(){return r.useParams}}),n.o(r,"usePathname")&&n.d(t,{usePathname:function(){return r.usePathname}}),n.o(r,"useRouter")&&n.d(t,{useRouter:function(){return r.useRouter}}),n.o(r,"useSearchParams")&&n.d(t,{useSearchParams:function(){return r.useSearchParams}})},53330:(e,t,n)=>{"use strict";n.d(t,{DT:()=>l,FP:()=>i,TK:()=>u,Zn:()=>o,aM:()=>a,x3:()=>c});var r=n(14905);function u(e){return"string"==typeof e?{pathname:e}:e}function o(e){let t=new URLSearchParams;for(let[n,r]of Object.entries(e))Array.isArray(r)?r.forEach(e=>{t.append(n,String(e))}):t.set(n,String(r));return"?"+t.toString()}function i({pathname:e,locale:t,params:n,pathnames:u,query:i}){function a(e){let a,l=u[e];return l?(a=(0,r.Wl)(l,t,e),n&&Object.entries(n).forEach(([e,t])=>{let n,r;Array.isArray(t)?(n=`(\\[)?\\[...${e}\\](\\])?`,r=t.map(e=>String(e)).join("/")):(n=`\\[${e}\\]`,r=String(t)),a=a.replace(RegExp(n,"g"),r)}),a=new URL(a=a.replace(/\[\[\.\.\..+\]\]/g,""),"http://l").pathname):a=e,a=(0,r.po)(a),i&&(a+=o(i)),a}if("string"==typeof e)return a(e);{let{pathname:t,...n}=e;return{...n,pathname:a(t)}}}function a(e,t,n){let u=(0,r.FD)(Object.keys(n)),o=decodeURI(t);for(let t of u){let u=n[t];if("string"==typeof u){if((0,r.ql)(u,o))return t}else if((0,r.ql)((0,r.Wl)(u,e,t),o))return t}return t}function l(e,t=window.location.pathname){return"/"===e?t:t.replace(e,"")}function c(e,t,n,u){let o,{mode:i}=n.localePrefix;if(void 0!==u)o=u;else if((0,r._x)(e)){let e=n.domains?.find(e=>e.locales.includes(t)),r=e?.localePrefix||i;"always"===r?o=!0:"as-needed"===r&&(o=e?t!==e.defaultLocale:t!==n.defaultLocale)}return o?(0,r.PJ)((0,r.XP)(t,n.localePrefix),e):e}}},e=>{e.O(0,[233,90,412,563,358],()=>e(e.s=35461)),_N_E=e.O()}]);
@@ -1 +0,0 @@
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),o=r(16685),l=r(93930),i=r(74257);function s(e){let{name:t,defaultOpen:r,className:s,children:a}=e,[c,d]=(0,o.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,i.cn)(s,"mt-2 flex w-full flex-col rounded-md"),children:a})]})})})}},17667:(e,t,r)=>{"use strict";r.d(t,{default:()=>a});var n=r(1785),o=r(16685),l=r(39047),i=r(74257),s=r(27156);function a(e){let{headings:t}=e,r=(0,s.c)("DocsNonContentRightSidebar"),[a,c]=(0,o.useState)(""),[d,u]=(0,o.useState)(!1),[f,m]=(0,o.useState)(!1),h=(0,o.useRef)(null);return(0,o.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,o.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,i.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,i.cn)("block py-1 text-sm text-secondary transition-colors hover:text-primary",a===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:()=>i});var n=r(41512);function o(){return{en:{name:"English",code:"en_us",file:"en_US",icon:n.US},cs:{name:"Čeština",code:"cs_cz",file:"cs_CZ",icon:n.CZ},de:{name:"Deutsch",code:"de_de",file:"de_DE",icon:n.DE},es:{name:"Espa\xf1ol",code:"es_es",file:"es_ES",crowdin:"es-ES",icon:n.ES},fr:{name:"Fran\xe7ais",code:"fr_fr",file:"fr_FR",icon:n.FR},hu:{name:"Magyar",code:"hu_hu",file:"hu_HU",icon:n.HU},it:{name:"Italiano",code:"it_it",file:"it_IT",icon:n.IT},ja:{name:"日本語",code:"ja_jp",file:"ja_JP",icon:n.JP},ko:{name:"한국어",code:"ko_kr",file:"ko_KR",icon:n.KR},ms:{name:"Bahasa Melayu",code:"ms_my",file:"ms_MY",icon:n.MY},"ms-Arab":{name:"بهاس ملايو",code:"zml_arab",file:"ms_Arab",prefix:"ms_Ar",icon:n.MY,rtl:!0},pl:{name:"Polski",code:"pl_pl",file:"pl_PL",icon:n.PL},ru:{name:"Русский",code:"ru_ru",file:"ru_RU",icon:n.RU},sv:{name:"Svenska",code:"sv_se",file:"sv_SE",crowdin:"sv-SE",icon:n.SE},tr:{name:"T\xfcrk\xe7e",code:"tr_tr",file:"tr_TR",icon:n.TR},uk:{name:"Українська",code:"uk_ua",file:"uk_UA",icon:n.UA},"zh-CN":{name:"简体中文",code:"zh_cn",file:"zh_CN",prefix:"zh_cn",icon:n.CN},"zh-TW":{name:"繁體中文",code:"zh_tw",file:"zh_TW",prefix:"zh_tw",icon:n.TW}}}function l(e){var t;return null==(t=Object.entries(o()).find(t=>t[0]===e||t[1].prefix===e))?void 0:t[1]}let i={getAvailableLocales:o,getLanguagePaths:function(){return Object.entries(o()).map(e=>e[1].prefix||e[0])},getNextIntlLocales:function(){return Object.keys(o())},getPathPrefixes:function(){return Object.entries(o()).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(o()).find(t=>t[0]===e||t[1].prefix===e))?void 0:t[0])||e},getCrowdinLanguageId:function(e){let t=Object.entries(o()).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},resolveParam:function(e){return l(e).code}}},39047:(e,t,r)=>{"use strict";r.d(t,{default:()=>s});var n=r(1785),o=r(74257),l=r(16685),i=r(39585);let s=(0,l.forwardRef)(function(e,t){let{title:r,className:s,innerClassName:a,tagName:c,children:d,type:u,solid:f}=e,{open:m}=(0,l.useContext)(i.p);return(0,n.jsx)("aside",{"data-open":m==u,className:(0,o.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,o.cn)("scrollbar-thumb-secondary scrollbar-track-secondary/20 scrollbar-thin h-full space-y-2 overflow-y-auto p-4",a),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:()=>i});var n=r(1785),o=r(16685),l=r(95698);let i=(0,o.createContext)(null);function s(e){let{children:t}=e,r=(0,l.a8)(),[s,a]=(0,o.useState)("none");return(0,o.useEffect)(()=>{"none"===s?window.document.body.classList.remove("no-scroll"):window.document.body.classList.add("no-scroll")},[s]),(0,o.useEffect)(()=>{a("none")},[r]),(0,n.jsx)(i.Provider,{value:{open:s,setOpen:a},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:()=>o});var n=r(41850);function o(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),o=r(16685),l=r(93930),i=r(74257);function s(e){let{title:t,className:r,children:s}=e,[a,c]=(0,o.useState)(!1);return(0,n.jsxs)("div",{className:(0,i.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(!a),children:[(0,n.jsx)("span",{className:"font-medium",children:t}),(0,n.jsx)(l.A,{active:a})]}),a&&(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:()=>o,j4:()=>n});let n="latest",o="en"},90922:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Tooltip:()=>a,TooltipContent:()=>d,TooltipProvider:()=>s,TooltipTrigger:()=>c});var n=r(1785),o=r(16685),l=r(33109),i=r(74257);let s=l.Kq,a=l.bL,c=l.l9,d=o.forwardRef((e,t)=>{let{className:r,sideOffset:o=4,...s}=e;return(0,n.jsx)(l.UC,{ref:t,sideOffset:o,className:(0,i.cn)("border-tertiary bg-primary-alt text-primary-alt z-50 animate-in overflow-hidden overscroll-contain rounded-md border px-3 py-1.5 text-sm shadow-md fade-in-0 zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95",r),...s})});d.displayName=l.UC.displayName},93869:(e,t,r)=>{"use strict";r.d(t,{default:()=>c});var n=r(1785),o=r(58292),l=r(3307),i=r(13679),s=r(51161),a=r(27156);function c(){let[e,t]=(0,o.ZA)("tab"),r=(0,a.c)("DocsEntryTabs"),c=async e=>{await t(e),window.scrollTo(0,0)};return(0,n.jsx)("div",{className:"flex h-full flex-col items-center justify-center",children:"history"===e?(0,n.jsx)(s.$,{title:r("home"),variant:"ghost",size:"icon",className:"size-8",onClick:()=>c("home"),children:(0,n.jsx)(l.A,{className:"size-4"})}):(0,n.jsx)(s.$,{title:r("history"),variant:"ghost",size:"icon",className:"size-8",onClick:()=>c("history"),children:(0,n.jsx)(i.A,{className:"size-4"})})})}},93930:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(1785),o=r(44073);r(16685);var l=r(74257);function i(e){let{className:t,active:r}=e;return(0,n.jsx)(o.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),o=r(16685),l=r.t(o,2),i=r(63090),s=l["use".trim()],a=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,i;let f={...r=t||{},localePrefix:"object"==typeof(i=r.localePrefix)?i:{mode:i||"always"},localeCookie:!!((l=r.localeCookie)??1)&&{name:"NEXT_LOCALE",sameSite:"lax",..."object"==typeof l&&l},localeDetection:r.localeDetection??!0,alternateLinks:r.alternateLinks??!0},m=f.pathnames,h=(0,o.forwardRef)(function({href:t,locale:r,...n},o){let l,i;"object"==typeof t?(l=t.pathname,i=t.params):l=t;let d=(0,a._x)(t),h=e(),p=(0,a.yL)(h)?s(h):h,b=d?v({locale:r||p,href:null==m?l:{pathname:l,params:i},forcePrefix:null!=r||void 0}):l;return(0,u.jsx)(c.default,{ref:o,href:"object"==typeof t?{...t,pathname:b}:b,locale:r,localeCookie:f.localeCookie,...n})});function v(e){let t,{forcePrefix:r,href:n,locale:o}=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:o,...(0,d.TK)(n),pathnames:f.pathnames}),(0,d.x3)(t,o,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}}(i.Ym,e);return{...m,Link:t,usePathname:function(){let e=function(e){let t=(0,n.usePathname)(),r=(0,i.Ym)();return(0,o.useMemo)(()=>{if(!t)return t;let n=t,o=(0,a.XP)(r,e.localePrefix);if((0,a.wO)(o,t))n=(0,a.MY)(t,o);else if("never"!==e.localePrefix.mode&&e.localePrefix.prefixes){let e=(0,a.bL)(r);(0,a.wO)(e,t)&&(n=(0,a.MY)(t,e))}return n},[e.localePrefix,r,t])}(r),t=(0,i.Ym)();return(0,o.useMemo)(()=>e&&r.pathnames?(0,d.aM)(t,e,r.pathnames):e,[t,e])},useRouter:function(){let e=(0,n.useRouter)(),t=(0,i.Ym)(),s=(0,n.usePathname)();return(0,o.useMemo)(()=>{function n(e){return function(n,o){let{locale:i,...a}=o||{},c=[l({href:n,locale:i||t,forcePrefix:null!=i||void 0})];Object.keys(a).length>0&&c.push(a),(0,f.A)(r.localeCookie,s,t,i),e(...c)}}return{...e,push:n(e.push),replace:n(e.replace),prefetch:n(e.prefetch)}},[t,s,e])},getPathname:l}}},95698:(e,t,r)=>{"use strict";r.d(t,{XO:()=>a,a8:()=>d});var n=r(52704),o=r(95629),l=r(32232),i=r(79126);let s=(0,n.A)({locales:l.A.getNextIntlLocales(),defaultLocale:i.Xn,localePrefix:{mode:"always",prefixes:l.A.getPathPrefixes()}}),{Link:a,redirect:c,usePathname:d,useRouter:u}=(0,o.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 +0,0 @@
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()}]);
@@ -1 +0,0 @@
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 +0,0 @@
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()}]);
@@ -1 +0,0 @@
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()}]);