diff --git a/.gitattributes b/.gitattributes index a6344aac8c09253b3b630fb776ae94478aa0275b..7ef63414f5e68fa54ff615385255e7b2882ad3b4 100644 --- a/.gitattributes +++ b/.gitattributes @@ -33,3 +33,7 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text *.zip filter=lfs diff=lfs merge=lfs -text *.zst filter=lfs diff=lfs merge=lfs -text *tfevents* filter=lfs diff=lfs merge=lfs -text +_next/static/chunks/d3b70fbf.e4eb8687391a72a6.js filter=lfs diff=lfs merge=lfs -text +demo/baylands-race.webm filter=lfs diff=lfs merge=lfs -text +design/direction-a.png filter=lfs diff=lfs merge=lfs -text +design/direction-b.png filter=lfs diff=lfs merge=lfs -text diff --git a/404.html b/404.html new file mode 100644 index 0000000000000000000000000000000000000000..1bacf3554b352b94a8c3d2d42450216ea39e11c2 --- /dev/null +++ b/404.html @@ -0,0 +1 @@ +LapLens — race exposure analysis404: This page could not be found.

404

This page could not be found.

\ No newline at end of file diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000000000000000000000000000000000000..45de97c2a64adfa2d11e07032631b80c07d056b7 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2026 LapLens contributors + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/README.md b/README.md index 0e7045edcdf5a657053ade153195c1ae0319e208..367745e85723fa9b50662bf9b793fc8488e1bac7 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,22 @@ --- -title: Laplens -emoji: 👀 -colorFrom: indigo -colorTo: green +title: LapLens +emoji: 🏁 +colorFrom: yellow +colorTo: red sdk: static -pinned: false +app_file: index.html +license: mit +short_description: Motorsport video review with local browser computer vision. --- -Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference +# LapLens + +Review racing footage with car detections, a synchronized timeline, optional sponsor-reference matching, and calibrated section-speed estimates. Video and logo files remain in your browser. + +**[Source code and setup](https://github.com/OsamaMoftah/laplens)** · **[Design direction A](https://sammoftah-laplens.static.hf.space/design/direction-a.html)** · **[Design direction B](https://sammoftah-laplens.static.hf.space/design/direction-b.html)** + +Use a desktop browser and a clip from 1 to 30 seconds. The first analysis downloads the included model. WebGPU is preferred where available, with a WebAssembly fallback. Analysis time depends on the device. + +This portfolio MVP has no validated detection-accuracy or speed-error figures. Track IDs can switch. Dashed boxes are visual estimates; sponsor results require a supplied logo reference and are limited to detected car crops. Speed requires a fixed camera and a measured physical distance between gates. + +Sample footage: Sarah Stierch, *Salute to Baylands Raceway Park — July 8, 2023*, [Wikimedia Commons](https://commons.wikimedia.org/wiki/File:Salute_to_Baylands_Raceway_Park_-_July_8_2023_-_Sarah_Stierch.webm), CC BY 4.0. Included model, libraries, and fonts retain their own licenses; see THIRD_PARTY_NOTICES.md. diff --git a/THIRD_PARTY_NOTICES.md b/THIRD_PARTY_NOTICES.md new file mode 100644 index 0000000000000000000000000000000000000000..a597d991f9f03076be9f576ab4633cca5ad7c70d --- /dev/null +++ b/THIRD_PARTY_NOTICES.md @@ -0,0 +1,36 @@ +# Third-party notices + +Application source code is MIT licensed. These notices cover assets and libraries distributed with the app; each keeps its own license. + +## Sample footage + +**Salute to Baylands Raceway Park**, recorded and published by Sarah Stierch (Missvain), 2023. The bundled 10-second 1920 × 1080 WebM is an excerpt resized from the 4K source. + +- Source: https://commons.wikimedia.org/wiki/File:Salute_to_Baylands_Raceway_Park_-_July_8_2023_-_Sarah_Stierch.webm +- Creator: Sarah Stierch (Missvain) +- License: [Creative Commons Attribution 4.0 International](https://creativecommons.org/licenses/by/4.0/) +- Changes: excerpted and resized for the demo; no ownership of the source footage is claimed. + +## RF-DETR Nano model + +The quantized COCO model in `public/models/rfdetr-nano/` is from [onnx-community/rfdetr_nano-ONNX](https://huggingface.co/onnx-community/rfdetr_nano-ONNX). The source model repository identifies the model package as Apache License 2.0. The included `LICENSE.txt`, `NOTICE.txt`, and configuration files are retained with the weights. RF-DETR and its upstream software are credited to Roboflow; LapLens makes no claim of model authorship. + +## Libraries + +- [OpenCV.js (`@techstark/opencv-js`)](https://github.com/TechStark/opencv-js), Apache License 2.0. +- [ONNX Runtime Web](https://github.com/microsoft/onnxruntime), MIT License. +- [Next.js](https://github.com/vercel/next.js), MIT License. +- [React](https://github.com/facebook/react), MIT License. +- [Tailwind CSS](https://github.com/tailwindlabs/tailwindcss), MIT License. +- [Lucide](https://github.com/lucide-icons/lucide), ISC License. + +## Fonts + +- [Jost](https://github.com/indestructible-type/Jost), SIL Open Font License 1.1. +- [Karla](https://github.com/googlefonts/karla), SIL Open Font License 1.1. + +Font packages are included through Fontsource. Their upstream OFL license texts are retained in `public/fonts/jost/OFL.txt` and `public/fonts/karla/OFL.txt`. + +### Barlow Condensed and IBM Plex Mono + +These fonts are distributed under the SIL Open Font License 1.1 through Fontsource. Their license texts are included in `public/fonts/barlow-condensed/OFL.txt` and `public/fonts/ibm-plex-mono/OFL.txt`. diff --git a/__next.__PAGE__.txt b/__next.__PAGE__.txt new file mode 100644 index 0000000000000000000000000000000000000000..b3003476ea70564c71eec39ba0cc5d3dedf27bbc --- /dev/null +++ b/__next.__PAGE__.txt @@ -0,0 +1,24 @@ +1:"$Sreact.fragment" +2:I[2600,[],""] +3:I[4519,[],""] +7:"static/chunks/646-1bd1579a68abce61.js" +8:"static/chunks/app/page-f0819ff71b122272.js" +9:I[9866,["646","$7","974","$8"],"Workspace"] +a:I[8738,[],"OutletBoundary"] +b:"$Sreact.suspense" +e:"ViewportBoundary" +f:I[8738,[],"$e"] +10:"MetadataBoundary" +11:I[8738,[],"$10"] +:HL["/_next/static/css/ee70b33c5fe95b49.css","style"] +5:X +6:[["children",{"s":"__PAGE__","h":160,"d":{"r":["$","$1","c",{"children":[["$","$L9",null,{}],null,["$","$La",null,{"children":["$","$b",null,{"name":"Next.MetadataOutlet","children":"$@c"}]}]]}],"p":"$@d","v":null,"s":"$5"}}]] +0:{"t":{"t":{"s":"","h":80,"d":{"r":["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/ee70b33c5fe95b49.css","precedence":"next"}]],["$","html",null,{"lang":"en","children":["$","body",null,{"children":["$","$L2",null,{"parallelRouterKey":"children","template":["$","$L3",null,{}],"notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]]}]}]}]]}],"p":"$@4","v":null,"s":"$5"},"c":"$Q6"},"h":{"r":["$","$1","h",{"children":[null,["$","$Lf",null,{"children":[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]}],["$","$L11",null,{"children":[["$","div",null,{"hidden":true,"children":["$","$b",null,{"name":"Next.Metadata","children":[["$","title","0",{"children":"LapLens — race exposure analysis"}],["$","meta","1",{"name":"description","content":"Review racing footage, find sponsor marks, and inspect the moments behind every exposure count."}]]}]}],null]}],null]}],"p":"$@12","v":null,"s":"$5"}},"a":"$@13","u":"$@14","b":"UbbMpeloSgsLDdLmZN7Jl"} +c:null +5:300 +14:true +5:C +13:0 +4:"$undefined" +12:"$undefined" +d:"$undefined" diff --git a/__next._full.txt b/__next._full.txt new file mode 100644 index 0000000000000000000000000000000000000000..21a194e6816a03685ab6085f784516a8fdb74f9c --- /dev/null +++ b/__next._full.txt @@ -0,0 +1,19 @@ +1:"$Sreact.fragment" +2:I[2600,[],""] +3:I[4519,[],""] +5:"static/chunks/646-1bd1579a68abce61.js" +6:"static/chunks/app/page-f0819ff71b122272.js" +7:I[9866,["646","$5","974","$6"],"Workspace"] +8:I[8738,[],"OutletBoundary"] +9:"$Sreact.suspense" +b:"ViewportBoundary" +c:I[8738,[],"$b"] +e:"MetadataBoundary" +f:I[8738,[],"$e"] +11:I[8401,[],"default",1] +:HL["/_next/static/css/ee70b33c5fe95b49.css","style"] +4:[["children",{"s":"__PAGE__","h":512,"d":{"r":["$","$1","c",{"children":[["$","$L7",null,{}],null,["$","$L8",null,{"children":["$","$9",null,{"name":"Next.MetadataOutlet","children":"$@a"}]}]]}],"p":false,"v":null}}]] +0:{"P":null,"c":["",""],"q":"","i":false,"t":{"t":{"s":"","h":528,"d":{"r":["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/ee70b33c5fe95b49.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","children":["$","body",null,{"children":["$","$L2",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L3",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}]]}],"p":false,"v":null},"c":"$Q4"},"h":{"r":["$","$1","h",{"children":[null,["$","$Lc",null,{"children":"$Ld"}],["$","$Lf",null,{"children":[["$","div",null,{"hidden":true,"children":["$","$9",null,{"name":"Next.Metadata","children":"$L10"}]}],null]}],null]}],"p":false,"v":null}},"m":"$undefined","G":["$11",[]],"S":true,"r":"$undefined","s":"$undefined","a":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"UbbMpeloSgsLDdLmZN7Jl"} +d:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]] +a:null +10:[["$","title","0",{"children":"LapLens — race exposure analysis"}],["$","meta","1",{"name":"description","content":"Review racing footage, find sponsor marks, and inspect the moments behind every exposure count."}]] diff --git a/__next._tree.txt b/__next._tree.txt new file mode 100644 index 0000000000000000000000000000000000000000..cc4b896d98fa30a15c32d9588162bf547cb707aa --- /dev/null +++ b/__next._tree.txt @@ -0,0 +1,3 @@ +:HL["/_next/static/css/ee70b33c5fe95b49.css","style"] +1:[["children",{"s":"__PAGE__","h":160}]] +0:{"b":"UbbMpeloSgsLDdLmZN7Jl","t":{"t":{"s":"","h":80,"c":"$Q1"}}} diff --git a/_next/static/UbbMpeloSgsLDdLmZN7Jl/_buildManifest.js b/_next/static/UbbMpeloSgsLDdLmZN7Jl/_buildManifest.js new file mode 100644 index 0000000000000000000000000000000000000000..fb79b7c6fe84d01584999b1cc12227afe26b4ac1 --- /dev/null +++ b/_next/static/UbbMpeloSgsLDdLmZN7Jl/_buildManifest.js @@ -0,0 +1 @@ +self.__BUILD_MANIFEST={__rewrites:{afterFiles:[],beforeFiles:[],fallback:[]},__routerFilterStatic:{numItems:3,errorRate:1e-4,numBits:58,numHashes:14,bitArray:[1,1,1,1,0,1,1,0,1,1,0,1,1,1,0,1,0,1,1,0,0,0,1,0,0,0,0,0,1,0,1,1,1,1,0,1,1,0,1,1,0,1,1,0,1,0,0,1,1,1,0,0,1,1,0,0,1,1]},__routerFilterDynamic:{numItems:0,errorRate:1e-4,numBits:0,numHashes:0/0,bitArray:[]},sortedPages:["/_app"]},self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB(); \ No newline at end of file diff --git a/_next/static/UbbMpeloSgsLDdLmZN7Jl/_ssgManifest.js b/_next/static/UbbMpeloSgsLDdLmZN7Jl/_ssgManifest.js new file mode 100644 index 0000000000000000000000000000000000000000..5b3ff592fd46c8736892a12864fdf3fed8775202 --- /dev/null +++ b/_next/static/UbbMpeloSgsLDdLmZN7Jl/_ssgManifest.js @@ -0,0 +1 @@ +self.__SSG_MANIFEST=new Set([]);self.__SSG_MANIFEST_CB&&self.__SSG_MANIFEST_CB() \ No newline at end of file diff --git a/_next/static/chunks/133.fef9f5df5a87e46f.js b/_next/static/chunks/133.fef9f5df5a87e46f.js new file mode 100644 index 0000000000000000000000000000000000000000..a97be0c16172609af46a92bb1bb5d5409e092687 --- /dev/null +++ b/_next/static/chunks/133.fef9f5df5a87e46f.js @@ -0,0 +1 @@ +(()=>{var e,t,r,a,i,n,o={},l={};function h(e){var t=l[e];if(void 0!==t)return t.exports;var r=l[e]={exports:{}},a=!0;try{o[e](r,r.exports,h),a=!1}finally{a&&delete l[e]}return r.exports}h.m=o,t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,h.t=function(r,a){if(1&a&&(r=this(r)),8&a||"object"==typeof r&&r&&(4&a&&r.__esModule||16&a&&"function"==typeof r.then))return r;var i=Object.create(null);h.r(i);var n={};e=e||[null,t({}),t([]),t(t)];for(var o=2&a&&r;"object"==typeof o&&!~e.indexOf(o);o=t(o))Object.getOwnPropertyNames(o).forEach(e=>n[e]=()=>r[e]);return n.default=()=>r,h.d(i,n),i},h.d=(e,t)=>{for(var r in t)h.o(t,r)&&!h.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},h.f={},h.e=e=>Promise.all(Object.keys(h.f).reduce((t,r)=>(h.f[r](e,t),t),[])),h.u=e=>"static/chunks/"+(({339:"d3b70fbf",982:"60183702"})[e]||e)+"."+({339:"e4eb8687391a72a6",350:"fd4228ac6dc2eafc",459:"a9a610540184e44d",467:"554de8b78b8dc3b7",511:"a79d442b66bd893c",982:"d0d3b92c17a6ee51"})[e]+".js",h.miniCssF=e=>{},h.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}}(),h.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),h.r=e=>{"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},h.U=function(e){var t=new URL(e,"x:/"),r={};for(var a in t)r[a]=t[a];for(var a in r.href=e,r.pathname=e.replace(/[?#].*/,""),r.origin=r.protocol="",r.toString=r.toJSON=()=>e,r)Object.defineProperty(this,a,{enumerable:!0,configurable:!0,value:r[a]})},h.U.prototype=URL.prototype,h.tt=()=>(void 0===r&&(r={createScriptURL:e=>e},"u">typeof trustedTypes&&trustedTypes.createPolicy&&(r=trustedTypes.createPolicy("nextjs#bundler",r))),r),h.tu=e=>h.tt().createScriptURL(e),h.p="/_next/",a={133:1},h.f.i=(e,t)=>{a[e]||importScripts(h.tu(h.p+h.u(e)))},n=(i=self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push.bind(i),i.push=e=>{var[t,r,i]=e;for(var o in r)h.o(r,o)&&(h.m[o]=r[o]);for(i&&i(h);t.length;)a[t.pop()]=1;n(e)},(()=>{"use strict";let e,t,r,a,i,n=self,o="WASM",l=1,s=[],f=new Map;function d(){return i||(i=(async()=>{let e=await Promise.all([h.e(982),h.e(339),h.e(350),h.e(459)]).then(h.t.bind(h,3068,23)),t=e.default??e;t instanceof Promise?a=await t:(a=t).Mat||await new Promise((e,t)=>{let r=setTimeout(()=>t(Error("OpenCV initialization timed out.")),3e4);a.onRuntimeInitialized=()=>{clearTimeout(r),e()}})})()),i}async function c(){let a=await fetch("/models/rfdetr-nano/model_quantized.onnx",{cache:"force-cache"});if(!a.ok)throw Error(`Car detector could not load (${a.status}).`);if(r=await a.arrayBuffer(),"gpu"in navigator)try{let a=await h.e(467).then(h.bind(h,6467));t=await a.InferenceSession.create(r,{executionProviders:["webgpu"],graphOptimizationLevel:"all"}),e=a,o="WebGPU";return}catch{t=void 0}await u()}async function u(){if(!r)throw Error("Car detector weights are unavailable.");(e=await h.e(511).then(h.bind(h,1511))).env.wasm.numThreads=1,e.env.wasm.wasmPaths=new URL("/ort/",n.location.origin).href,t=await e.InferenceSession.create(r,{executionProviders:["wasm"],graphOptimizationLevel:"all"}),o="WASM"}function w(e,t,r){return a.matFromImageData(new ImageData(new Uint8ClampedArray(r),e,t))}function g(e){let t=new a.Mat,r=new a.KeyPointVector,i=new a.Mat,n=new a.ORB(650,1.2,7,19,0,2,a.ORB_HARRIS_SCORE,31,12);try{4===e.channels()?a.cvtColor(e,t,a.COLOR_RGBA2GRAY):3===e.channels()?a.cvtColor(e,t,a.COLOR_RGB2GRAY):e.copyTo(t),n.detectAndCompute(t,new a.Mat,r,i);let o=[];for(let e=0;et.score-e.score))f.some(t=>m(t,e)>.45)||f.push(e);return function(e,t){let r=(s=s.filter(e=>t-e.seen<=1.6&&t>=e.seen)).length+e.length,a=Array.from({length:r},()=>Array(r).fill(0)),i=Array.from({length:s.length},()=>Array(e.length).fill(!1));for(let n=0;no.previous.time){let e=o.seen-o.previous.time;c+=(s-o.previous.x)/e*d,u+=(f-o.previous.y)/e*d}let w=Math.hypot(c-l.x-l.width/2,u-l.y-l.height/2),g=Math.max(.025,(o.width+o.height+l.width+l.height)/4),p=1-h+w/g*.72+.12*Math.abs(Math.log(l.width*l.height/Math.max(1e-8,o.width*o.height))),y=h>.01||w<2.8*g;i[n][r]=y,a[n][r]=y?p:1e6}for(let t=e.length;t{let r=o.get(t);return{x:e.x,y:e.y,width:e.width,height:e.height,trackId:r?.trackId??l++,detectorScore:e.detectorScore,observed:!0,previous:r?{x:r.x+r.width/2,y:r.y+r.height/2,time:r.seen}:void 0}});return s=[...s.filter(e=>!h.has(e.trackId)),...f.map(e=>({...e,seen:t}))],f}(f,y)}let y=0;function m(e,t){let r=Math.max(0,Math.min(e.x+e.width,t.x+t.width)-Math.max(e.x,t.x)),a=Math.max(0,Math.min(e.y+e.height,t.y+t.height)-Math.max(e.y,t.y));return r*a/Math.max(1e-8,e.width*e.height+t.width*t.height-r*a)}n.onmessage=async({data:e})=>{let{id:r,type:i}=e;try{if("load"===i){await c(),n.postMessage({id:r,result:{provider:o}});return}if(!t)throw Error("The vision engine is not ready.");if("add-reference"===i){await d();let t=e.reference;if(t.width<20||t.height<12)throw Error("Use a logo crop at least 20 \xd7 12 pixels.");let a=w(t.width,t.height,t.pixels);try{let e=g(a);if(e.points.length<8)throw Error("This mark has too few distinct visual features. Try a tighter, sharper crop.");f.set(t.id,{name:t.name,width:t.width,height:t.height,...e})}finally{a.delete()}n.postMessage({id:r,result:!0});return}if("analyze-frame"===i){f.size&&await d();let t={width:e.width,height:e.height,pixels:e.pixels};y=e.time,e.resetTracks&&(s=[],l=1);let i=await p(t),o=function(e,t){if(!f.size)return[];let r=w(e.width,e.height,e.pixels),i=[];try{for(let n of t){let t=.08*n.width,o=.08*n.height,l={x:Math.max(0,n.x-t),y:Math.max(0,n.y-o),width:Math.min(1,n.x+n.width+t)-Math.max(0,n.x-t),height:Math.min(1,n.y+n.height+o)-Math.max(0,n.y-o)},h=new a.Rect(Math.floor(l.x*e.width),Math.floor(l.y*e.height),Math.max(1,Math.floor(l.width*e.width)),Math.max(1,Math.floor(l.height*e.height))),s=r.roi(h);try{for(let[e,t]of f){let r=function(e,t,r,i,n){let o,l=g(t);if(e.points.length<6||l.points.length<6||!l.cols)return null;let h=[];for(let t=0;t>>1&85,i+=(o=(51&o)+(o>>>2&51))+(o>>>4)&15}return i}(e.descriptors,32*t,l.descriptors,32*n);o=0&&r<64&&r<.78*a&&h.push({src:e.points[t],dst:l.points[i],distance:r})}if(h.length<6)return null;let s=a.matFromArray(h.length,1,a.CV_32FC2,h.flatMap(e=>e.src)),f=a.matFromArray(h.length,1,a.CV_32FC2,h.flatMap(e=>e.dst)),d=new a.Mat;try{if((o=a.findHomography(s,f,a.RANSAC,4,d,800,.99)).empty())return null;let l=d.data,c=0;for(let e of l)e&&c++;let u=c/h.length;if(c<6||u<.48)return null;let w=a.matFromArray(4,1,a.CV_32FC2,[0,0,e.width,0,e.width,e.height,0,e.height]),g=new a.Mat;try{a.perspectiveTransform(w,g,o);let e=g.data32F,l=[e[0],e[2],e[4],e[6]],h=[e[1],e[3],e[5],e[7]],s=Math.max(0,Math.min(...l)),f=Math.max(0,Math.min(...h)),d=Math.min(t.cols,Math.max(...l)),p=Math.min(t.rows,Math.max(...h)),y=d-s,m=p-f;if(y<7||m<5||y>.9*t.cols||m>.9*t.rows)return null;return{x:r.x+s/t.cols*r.width,y:r.y+f/t.rows*r.height,width:y/t.cols*r.width,height:m/t.rows*r.height,sponsorId:i,trackId:n,inliers:c,matchRatio:u}}finally{w.delete(),g.delete()}}finally{s.delete(),f.delete(),d.delete(),o?.delete()}}(t,s,l,e,n.trackId);r&&i.push(r)}}finally{s.delete()}}}finally{r.delete()}return i}(t,i);n.postMessage({id:r,result:{cars:i,logos:o}})}}catch(e){n.postMessage({id:r,error:e instanceof Error?e.message:String(e)})}}})(),_N_E={}})(); \ No newline at end of file diff --git a/_next/static/chunks/350.fd4228ac6dc2eafc.js b/_next/static/chunks/350.fd4228ac6dc2eafc.js new file mode 100644 index 0000000000000000000000000000000000000000..5edd19b9fff0751b541d34936bacb1adef676719 --- /dev/null +++ b/_next/static/chunks/350.fd4228ac6dc2eafc.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[350],{13:module=>{var __dirname="/";!function(){var __webpack_modules__={285:function(__unused_webpack_module,exports){var indexOf=function(r,n){if(r.indexOf)return r.indexOf(n);for(var o=0;otypeof __nccwpck_require__&&(__nccwpck_require__.ab=__dirname+"/");var __nested_webpack_exports__={};__webpack_modules__[285](0,__nested_webpack_exports__),module.exports=__nested_webpack_exports__}()},1185:(r,n,o)=>{var i=o(9665).Buffer,a=o(2061),s={7492:function(r){r.exports=function(r,o,i){if(r.filter)return r.filter(o,i);if(null==r||"function"!=typeof o)throw TypeError();for(var a=[],s=0;stypeof Reflect&&Reflect&&Reflect.apply},2982:function(r,n,o){"use strict";var i=o(1893),a=o(5494),s=a(i("String.prototype.indexOf"));r.exports=function(r,n){var o=i(r,!!n);return"function"==typeof o&&s(r,".prototype.")>-1?a(o):o}},5494:function(r,n,o){"use strict";var i=o(3798),a=o(871),s=o(2462),u=o(4757);r.exports=function(r){var n=s(arguments),o=r.length-(arguments.length-1);return i(n,1+(o>0?o:0),!0)},a?a(r.exports,"apply",{value:u}):r.exports.apply=u},2071:function(r,n,o){"use strict";var i=o(871),a=o(9546),s=o(4785),u=o(8322);r.exports=function(r,n,o){if(!r||"object"!=typeof r&&"function"!=typeof r)throw new s("`obj` must be an object or a function`");if("string"!=typeof n&&"symbol"!=typeof n)throw new s("`property` must be a string or a symbol`");if(arguments.length>3&&"boolean"!=typeof arguments[3]&&null!==arguments[3])throw new s("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!=typeof arguments[4]&&null!==arguments[4])throw new s("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!=typeof arguments[5]&&null!==arguments[5])throw new s("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!=typeof arguments[6])throw new s("`loose`, if provided, must be a boolean");var f=arguments.length>3?arguments[3]:null,l=arguments.length>4?arguments[4]:null,c=arguments.length>5?arguments[5]:null,p=arguments.length>6&&arguments[6],h=!!u&&u(r,n);if(i)i(r,n,{configurable:null===c&&h?h.configurable:!c,enumerable:null===f&&h?h.enumerable:!f,value:o,writable:null===l&&h?h.writable:!l});else if(!p&&(f||l||c))throw new a("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");else r[n]=o}},3859:function(r,n,o){"use strict";var i,a=o(2462),s=o(8322);try{i=[].__proto__===Array.prototype}catch(r){if(!r||"object"!=typeof r||!("code"in r)||"ERR_PROTO_ACCESS"!==r.code)throw r}var u=!!i&&s&&s(Object.prototype,"__proto__"),f=Object,l=f.getPrototypeOf;r.exports=u&&"function"==typeof u.get?a([u.get]):"function"==typeof l&&function(r){return l(null==r?r:f(r))}},871:function(r){"use strict";var n=Object.defineProperty||!1;if(n)try{n({},"a",{value:1})}catch(r){n=!1}r.exports=n},1247:function(r){"use strict";r.exports=EvalError},6621:function(r){"use strict";r.exports=Error},6136:function(r){"use strict";r.exports=RangeError},252:function(r){"use strict";r.exports=ReferenceError},9546:function(r){"use strict";r.exports=SyntaxError},4785:function(r){"use strict";r.exports=TypeError},1223:function(r){"use strict";r.exports=URIError},8300:function(r){"use strict";r.exports=Object},4680:function(r){var n=Object.prototype.hasOwnProperty,o=Object.prototype.toString;r.exports=function(r,i,a){if("[object Function]"!==o.call(i))throw TypeError("iterator must be a function");var s=r.length;if(s===+s)for(var u=0;utypeof Uint8Array&&j?j(Uint8Array):i,B={__proto__:null,"%AggregateError%":"u"typeof Map&&R&&j?j((new Map)[Symbol.iterator]()):i,"%Math%":Math,"%Number%":Number,"%Object%":a,"%Object.getOwnPropertyDescriptor%":_,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"u"typeof Set&&R&&j?j((new Set)[Symbol.iterator]()):i,"%SharedArrayBuffer%":"u"1&&"boolean"!=typeof n)throw new p('"allowMissing" argument must be a boolean');if(null===$(/^%?[^%]*%?$/,r))throw new c("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var o=J(r),i=o.length>0?o[0]:"",a=Y("%"+i+"%",n),s=a.name,u=a.value,f=!1,l=a.alias;l&&(i=l[0],q(o,W([0,1],l)));for(var h=1,y=!0;h=o.length){var v=_(u,d);u=(y=!!v)&&"get"in v&&!("originalValue"in v.get)?v.get:u[d]}else y=F(u,d),u=u[d];y&&!f&&(B[s]=u)}}return u}},45:function(r,n,o){"use strict";r.exports=o(8300).getPrototypeOf||null},7767:function(r){"use strict";r.exports="u">typeof Reflect&&Reflect.getPrototypeOf||null},9717:function(r,n,o){"use strict";var i=o(7767),a=o(45),s=o(3859);r.exports=i?function(r){return i(r)}:a?function(r){if(!r||"object"!=typeof r&&"function"!=typeof r)throw TypeError("getProto: not an object");return a(r)}:s?function(r){return s(r)}:null},8422:function(r){"use strict";r.exports=Object.getOwnPropertyDescriptor},8322:function(r,n,o){"use strict";var i=o(8422);if(i)try{i([],"length")}catch(r){i=null}r.exports=i},8122:function(r,n,o){"use strict";var i=o(871),a=function(){return!!i};a.hasArrayLengthDefineBug=function(){if(!i)return null;try{return 1!==i([],"length",{value:1}).length}catch(r){return!0}},r.exports=a},8564:function(r,n,o){"use strict";var i="u">typeof Symbol&&Symbol,a=o(9094);r.exports=function(){return"function"==typeof i&&"function"==typeof Symbol&&"symbol"==typeof i("foo")&&"symbol"==typeof Symbol("bar")&&a()}},9094:function(r){"use strict";r.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var r={},n=Symbol("test"),o=Object(n);if("string"==typeof n||"[object Symbol]"!==Object.prototype.toString.call(n)||"[object Symbol]"!==Object.prototype.toString.call(o))return!1;for(n in r[n]=42,r)return!1;if("function"==typeof Object.keys&&0!==Object.keys(r).length||"function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(r).length)return!1;var i=Object.getOwnPropertySymbols(r);if(1!==i.length||i[0]!==n||!Object.prototype.propertyIsEnumerable.call(r,n))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var a=Object.getOwnPropertyDescriptor(r,n);if(42!==a.value||!0!==a.enumerable)return!1}return!0}},9131:function(r,n,o){"use strict";var i="u">typeof Symbol&&Symbol,a=o(6313);r.exports=function(){return"function"==typeof i&&"function"==typeof Symbol&&"symbol"==typeof i("foo")&&"symbol"==typeof Symbol("bar")&&a()}},6313:function(r){"use strict";r.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var r={},n=Symbol("test"),o=Object(n);if("string"==typeof n||"[object Symbol]"!==Object.prototype.toString.call(n)||"[object Symbol]"!==Object.prototype.toString.call(o))return!1;for(var i in r[n]=42,r)return!1;if("function"==typeof Object.keys&&0!==Object.keys(r).length||"function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(r).length)return!1;var a=Object.getOwnPropertySymbols(r);if(1!==a.length||a[0]!==n||!Object.prototype.propertyIsEnumerable.call(r,n))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var s=Object.getOwnPropertyDescriptor(r,n);if(42!==s.value||!0!==s.enumerable)return!1}return!0}},3383:function(r,n,o){"use strict";var i=Function.prototype.call,a=Object.prototype.hasOwnProperty;r.exports=o(7797).call(i,a)},1638:function(r){"function"==typeof Object.create?r.exports=function(r,n){n&&(r.super_=n,r.prototype=Object.create(n.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}))}:r.exports=function(r,n){if(n){r.super_=n;var o=function(){};o.prototype=n.prototype,r.prototype=new o,r.prototype.constructor=r}}},6960:function(r){"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag,o=Object.prototype.toString,i=function(r){return(!n||!r||"object"!=typeof r||!(Symbol.toStringTag in r))&&"[object Arguments]"===o.call(r)},a=function(r){return!!i(r)||null!==r&&"object"==typeof r&&"number"==typeof r.length&&r.length>=0&&"[object Array]"!==o.call(r)&&"[object Function]"===o.call(r.callee)},s=function(){return i(arguments)}();i.isLegacyArguments=a,r.exports=s?i:a},8979:function(r){"use strict";var n=Object.prototype.toString,o=Function.prototype.toString,i=/^\s*(?:function)?\*/,a="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag,s=Object.getPrototypeOf,u=function(){if(!a)return!1;try{return Function("return function*() {}")()}catch(r){}}(),f=u?s(u):{};r.exports=function(r){return"function"==typeof r&&(!!i.test(o.call(r))||(a?s(r)===f:"[object GeneratorFunction]"===n.call(r)))}},9572:function(r,n,i){"use strict";var a=i(4680),s=i(3147),u=i(2982),f=u("Object.prototype.toString"),l=i(8564)()&&"symbol"==typeof Symbol.toStringTag,c=s(),p=u("Array.prototype.indexOf",!0)||function(r,n){for(var o=0;o-1)}},4197:function(r){"use strict";r.exports=Math.abs},4455:function(r){"use strict";r.exports=Math.floor},6128:function(r){"use strict";r.exports=Number.isNaN||function(r){return r!=r}},1295:function(r){"use strict";r.exports=Math.max},6949:function(r){"use strict";r.exports=Math.min},2943:function(r){"use strict";r.exports=Math.pow},1721:function(r){"use strict";r.exports=Math.round},3536:function(r,n,o){"use strict";var i=o(6128);r.exports=function(r){return i(r)||0===r?r:r<0?-1:1}},3798:function(r,n,o){"use strict";var i=o(1893),a=o(2071),s=o(8122)(),u=o(8322),f=o(4785),l=i("%Math.floor%");r.exports=function(r,n){if("function"!=typeof r)throw new f("`fn` is not a function");if("number"!=typeof n||n<0||n>0xffffffff||l(n)!==n)throw new f("`length` must be a positive 32-bit integer");var o=arguments.length>2&&!!arguments[2],i=!0,c=!0;if("length"in r&&u){var p=u(r,"length");p&&!p.configurable&&(i=!1),p&&!p.writable&&(c=!1)}return(i||c||!o)&&(s?a(r,"length",n,!0,!0):a(r,"length",n)),r}},3614:function(r){r.exports=function(r){return r instanceof i}},7551:function(r,n,o){"use strict";var i=o(6960),a=o(8979),s=o(3051),u=o(9572);function f(r){return r.call.bind(r)}var l="u">typeof BigInt,c="u">typeof Symbol,p=f(Object.prototype.toString),h=f(Number.prototype.valueOf),y=f(String.prototype.valueOf),d=f(Boolean.prototype.valueOf);if(l)var g=f(BigInt.prototype.valueOf);if(c)var b=f(Symbol.prototype.valueOf);function v(r,n){if("object"!=typeof r)return!1;try{return n(r),!0}catch(r){return!1}}function m(r){return"[object Map]"===p(r)}function w(r){return"[object Set]"===p(r)}function S(r){return"[object WeakMap]"===p(r)}function E(r){return"[object WeakSet]"===p(r)}function _(r){return"[object ArrayBuffer]"===p(r)}function A(r){return!("u"typeof Promise&&r instanceof Promise||null!==r&&"object"==typeof r&&"function"==typeof r.then&&"function"==typeof r.catch},n.isArrayBufferView=function(r){return"u">typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(r):u(r)||O(r)},n.isUint8Array=function(r){return"Uint8Array"===s(r)},n.isUint8ClampedArray=function(r){return"Uint8ClampedArray"===s(r)},n.isUint16Array=function(r){return"Uint16Array"===s(r)},n.isUint32Array=function(r){return"Uint32Array"===s(r)},n.isInt8Array=function(r){return"Int8Array"===s(r)},n.isInt16Array=function(r){return"Int16Array"===s(r)},n.isInt32Array=function(r){return"Int32Array"===s(r)},n.isFloat32Array=function(r){return"Float32Array"===s(r)},n.isFloat64Array=function(r){return"Float64Array"===s(r)},n.isBigInt64Array=function(r){return"BigInt64Array"===s(r)},n.isBigUint64Array=function(r){return"BigUint64Array"===s(r)},m.working="u">typeof Map&&m(new Map),n.isMap=function(r){return!("u"typeof Set&&w(new Set),n.isSet=function(r){return!("u"typeof WeakMap&&S(new WeakMap),n.isWeakMap=function(r){return!("u"typeof WeakSet&&E(new WeakSet),n.isWeakSet=function(r){return E(r)},_.working="u">typeof ArrayBuffer&&_(new ArrayBuffer),n.isArrayBuffer=A,x.working="u">typeof ArrayBuffer&&"u">typeof DataView&&x(new DataView(new ArrayBuffer(1),0,1)),n.isDataView=O;var R="u">typeof SharedArrayBuffer?SharedArrayBuffer:void 0;function j(r){return"[object SharedArrayBuffer]"===p(r)}function T(r){return void 0!==R&&(void 0===j.working&&(j.working=j(new R)),j.working?j(r):r instanceof R)}function P(r){return v(r,h)}function k(r){return v(r,y)}function M(r){return v(r,d)}function L(r){return l&&v(r,g)}function C(r){return c&&v(r,b)}n.isSharedArrayBuffer=T,n.isAsyncFunction=function(r){return"[object AsyncFunction]"===p(r)},n.isMapIterator=function(r){return"[object Map Iterator]"===p(r)},n.isSetIterator=function(r){return"[object Set Iterator]"===p(r)},n.isGeneratorObject=function(r){return"[object Generator]"===p(r)},n.isWebAssemblyCompiledModule=function(r){return"[object WebAssembly.Module]"===p(r)},n.isNumberObject=P,n.isStringObject=k,n.isBooleanObject=M,n.isBigIntObject=L,n.isSymbolObject=C,n.isBoxedPrimitive=function(r){return P(r)||k(r)||M(r)||L(r)||C(r)},n.isAnyArrayBuffer=function(r){return"u">typeof Uint8Array&&(A(r)||T(r))},["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(r){Object.defineProperty(n,r,{enumerable:!1,value:function(){throw Error(r+" is not supported in userland")}})})},4268:function(r,n,o){var i=Object.getOwnPropertyDescriptors||function(r){for(var n=Object.keys(r),o={},i=0;i=a)return r;switch(r){case"%s":return String(i[o++]);case"%d":return Number(i[o++]);case"%j":try{return JSON.stringify(i[o++])}catch(r){return"[Circular]"}default:return r}}),f=i[o];o=3&&(i.depth=arguments[2]),arguments.length>=4&&(i.colors=arguments[3]),v(o)?i.showHidden=o:o&&n._extend(i,o),E(i.showHidden)&&(i.showHidden=!1),E(i.depth)&&(i.depth=2),E(i.colors)&&(i.colors=!1),E(i.customInspect)&&(i.customInspect=!0),i.colors&&(i.stylize=p),y(i,r,i.depth)}function p(r,n){var o=c.styles[n];return o?"\x1b["+c.colors[o][0]+"m"+r+"\x1b["+c.colors[o][1]+"m":r}function h(r,n){return r}function y(r,o,i){if(r.customInspect&&o&&R(o.inspect)&&o.inspect!==n.inspect&&!(o.constructor&&o.constructor.prototype===o)){var a,s,u,f,l,c,p=o.inspect(i,r);return S(p)||(p=y(r,p,i)),p}var h=function(r,n){if(E(n))return r.stylize("undefined","undefined");if(S(n)){var o="'"+JSON.stringify(n).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return r.stylize(o,"string")}return w(n)?r.stylize(""+n,"number"):v(n)?r.stylize(""+n,"boolean"):m(n)?r.stylize("null","null"):void 0}(r,o);if(h)return h;var A=Object.keys(o),j=(l={},A.forEach(function(r,n){l[r]=!0}),l);if(r.showHidden&&(A=Object.getOwnPropertyNames(o)),O(o)&&(A.indexOf("message")>=0||A.indexOf("description")>=0))return d(o);if(0===A.length){if(R(o)){var T=o.name?": "+o.name:"";return r.stylize("[Function"+T+"]","special")}if(_(o))return r.stylize(RegExp.prototype.toString.call(o),"regexp");if(x(o))return r.stylize(Date.prototype.toString.call(o),"date");if(O(o))return d(o)}var P="",M=!1,L=["{","}"];if(b(o)&&(M=!0,L=["[","]"]),R(o)&&(P=" [Function"+(o.name?": "+o.name:"")+"]"),_(o)&&(P=" "+RegExp.prototype.toString.call(o)),x(o)&&(P=" "+Date.prototype.toUTCString.call(o)),O(o)&&(P=" "+d(o)),0===A.length&&(!M||0==o.length))return L[0]+P+L[1];if(i<0)if(_(o))return r.stylize(RegExp.prototype.toString.call(o),"regexp");else return r.stylize("[Object]","special");return r.seen.push(o),c=M?function(r,n,o,i,a){for(var s=[],u=0,f=n.length;u=0&&f++,r+n.replace(/\u001b\[\d\d?m/g,"").length+1},0)>60?u[0]+(""===s?"":s+"\n ")+" "+a.join(",\n ")+" "+u[1]:u[0]+s+" "+a.join(", ")+" "+u[1]}function d(r){return"["+Error.prototype.toString.call(r)+"]"}function g(r,n,o,i,a,s){var u,f,l;if((l=Object.getOwnPropertyDescriptor(n,a)||{value:n[a]}).get?f=l.set?r.stylize("[Getter/Setter]","special"):r.stylize("[Getter]","special"):l.set&&(f=r.stylize("[Setter]","special")),k(i,a)||(u="["+a+"]"),!f&&(0>r.seen.indexOf(l.value)?(f=m(o)?y(r,l.value,null):y(r,l.value,o-1)).indexOf("\n")>-1&&(f=s?f.split("\n").map(function(r){return" "+r}).join("\n").substr(2):"\n"+f.split("\n").map(function(r){return" "+r}).join("\n")):f=r.stylize("[Circular]","special")),E(u)){if(s&&a.match(/^\d+$/))return f;(u=JSON.stringify(""+a)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(u=u.substr(1,u.length-2),u=r.stylize(u,"name")):(u=u.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),u=r.stylize(u,"string"))}return u+": "+f}function b(r){return Array.isArray(r)}function v(r){return"boolean"==typeof r}function m(r){return null===r}function w(r){return"number"==typeof r}function S(r){return"string"==typeof r}function E(r){return void 0===r}function _(r){return A(r)&&"[object RegExp]"===j(r)}function A(r){return"object"==typeof r&&null!==r}function x(r){return A(r)&&"[object Date]"===j(r)}function O(r){return A(r)&&("[object Error]"===j(r)||r instanceof Error)}function R(r){return"function"==typeof r}function j(r){return Object.prototype.toString.call(r)}function T(r){return r<10?"0"+r.toString(10):r.toString(10)}n.debuglog=function(r){if(!u[r=r.toUpperCase()])if(f.test(r)){var o=a.pid;u[r]=function(){var i=n.format.apply(n,arguments);console.error("%s %d: %s",r,o,i)}}else u[r]=function(){};return u[r]},n.inspect=c,c.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},c.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},n.types=o(7551),n.isArray=b,n.isBoolean=v,n.isNull=m,n.isNullOrUndefined=function(r){return null==r},n.isNumber=w,n.isString=S,n.isSymbol=function(r){return"symbol"==typeof r},n.isUndefined=E,n.isRegExp=_,n.types.isRegExp=_,n.isObject=A,n.isDate=x,n.types.isDate=x,n.isError=O,n.types.isNativeError=O,n.isFunction=R,n.isPrimitive=function(r){return null===r||"boolean"==typeof r||"number"==typeof r||"string"==typeof r||"symbol"==typeof r||void 0===r},n.isBuffer=o(3614);var P=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function k(r,n){return Object.prototype.hasOwnProperty.call(r,n)}n.log=function(){var r,o;console.log("%s - %s",(o=[T((r=new Date).getHours()),T(r.getMinutes()),T(r.getSeconds())].join(":"),[r.getDate(),P[r.getMonth()],o].join(" ")),n.format.apply(n,arguments))},n.inherits=o(1638),n._extend=function(r,n){if(!n||!A(n))return r;for(var o=Object.keys(n),i=o.length;i--;)r[o[i]]=n[o[i]];return r};var M="u">typeof Symbol?Symbol("util.promisify.custom"):void 0;function L(r,n){if(!r){var o=Error("Promise was rejected with a falsy value");o.reason=r,r=o}return n(r)}n.promisify=function(r){if("function"!=typeof r)throw TypeError('The "original" argument must be of type Function');if(M&&r[M]){var n=r[M];if("function"!=typeof n)throw TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(n,M,{value:n,enumerable:!1,writable:!1,configurable:!0}),n}function n(){for(var n,o,i=new Promise(function(r,i){n=r,o=i}),a=[],s=0;s{var n={156:function(r){var n,o,i,a=r.exports={};function s(){throw Error("setTimeout has not been defined")}function u(){throw Error("clearTimeout has not been defined")}try{n="function"==typeof setTimeout?setTimeout:s}catch(r){n=s}try{o="function"==typeof clearTimeout?clearTimeout:u}catch(r){o=u}function f(r){if(n===setTimeout)return setTimeout(r,0);if((n===s||!n)&&setTimeout)return n=setTimeout,setTimeout(r,0);try{return n(r,0)}catch(o){try{return n.call(null,r,0)}catch(o){return n.call(this,r,0)}}}var l=[],c=!1,p=-1;function h(){c&&i&&(c=!1,i.length?l=i.concat(l):p=-1,l.length&&y())}function y(){if(!c){var r=f(h);c=!0;for(var n=l.length;n;){for(i=l,l=[];++p1)for(var o=1;o{"use strict";var i,a;r.exports=(null==(i=o.g.process)?void 0:i.env)&&"object"==typeof(null==(a=o.g.process)?void 0:a.env)?o.g.process:o(1522)},4829:(r,n,o)=>{var i={56:function(r,n,o){var i=o(181),a=i.Buffer;function s(r,n){for(var o in r)n[o]=r[o]}function u(r,n,o){return a(r,n,o)}a.from&&a.alloc&&a.allocUnsafe&&a.allocUnsafeSlow?r.exports=i:(s(i,n),n.Buffer=u),u.prototype=Object.create(a.prototype),s(a,u),u.from=function(r,n,o){if("number"==typeof r)throw TypeError("Argument must not be a number");return a(r,n,o)},u.alloc=function(r,n,o){if("number"!=typeof r)throw TypeError("Argument must be a number");var i=a(r);return void 0!==n?"string"==typeof o?i.fill(n,o):i.fill(n):i.fill(0),i},u.allocUnsafe=function(r){if("number"!=typeof r)throw TypeError("Argument must be a number");return a(r)},u.allocUnsafeSlow=function(r){if("number"!=typeof r)throw TypeError("Argument must be a number");return i.SlowBuffer(r)}},181:function(r){"use strict";r.exports=o(9665)}},a={};function s(r){var n=a[r];if(void 0!==n)return n.exports;var o=a[r]={exports:{}},u=!0;try{i[r](o,o.exports,s),u=!1}finally{u&&delete a[r]}return o.exports}s.ab="//";var u={};!function(){"use strict";var r=s(56).Buffer,n=r.isEncoding||function(r){switch((r=""+r)&&r.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function o(o){var i;switch(this.encoding=function(o){var i=function(r){var n;if(!r)return"utf8";for(;;)switch(r){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return r;default:if(n)return;r=(""+r).toLowerCase(),n=!0}}(o);if("string"!=typeof i&&(r.isEncoding===n||!n(o)))throw Error("Unknown encoding: "+o);return i||o}(o),this.encoding){case"utf16le":this.text=f,this.end=l,i=4;break;case"utf8":this.fillLast=a,i=4;break;case"base64":this.text=c,this.end=p,i=3;break;default:this.write=h,this.end=y;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=r.allocUnsafe(i)}function i(r){return r<=127?0:r>>5==6?2:r>>4==14?3:r>>3==30?4:r>>6==2?-1:-2}function a(r){var n=this.lastTotal-this.lastNeed,o=function(r,n){if((192&n[0])!=128)return r.lastNeed=0,"�";if(r.lastNeed>1&&n.length>1){if((192&n[1])!=128)return r.lastNeed=1,"�";if(r.lastNeed>2&&n.length>2&&(192&n[2])!=128)return r.lastNeed=2,"�"}}(this,r);return void 0!==o?o:this.lastNeed<=r.length?(r.copy(this.lastChar,n,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):void(r.copy(this.lastChar,n,0,r.length),this.lastNeed-=r.length)}function f(r,n){if((r.length-n)%2==0){var o=r.toString("utf16le",n);if(o){var i=o.charCodeAt(o.length-1);if(i>=55296&&i<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=r[r.length-2],this.lastChar[1]=r[r.length-1],o.slice(0,-1)}return o}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=r[r.length-1],r.toString("utf16le",n,r.length-1)}function l(r){var n=r&&r.length?this.write(r):"";if(this.lastNeed){var o=this.lastTotal-this.lastNeed;return n+this.lastChar.toString("utf16le",0,o)}return n}function c(r,n){var o=(r.length-n)%3;return 0===o?r.toString("base64",n):(this.lastNeed=3-o,this.lastTotal=3,1===o?this.lastChar[0]=r[r.length-1]:(this.lastChar[0]=r[r.length-2],this.lastChar[1]=r[r.length-1]),r.toString("base64",n,r.length-o))}function p(r){var n=r&&r.length?this.write(r):"";return this.lastNeed?n+this.lastChar.toString("base64",0,3-this.lastNeed):n}function h(r){return r.toString(this.encoding)}function y(r){return r&&r.length?this.write(r):""}u.StringDecoder=o,o.prototype.write=function(r){var n,o;if(0===r.length)return"";if(this.lastNeed){if(void 0===(n=this.fillLast(r)))return"";o=this.lastNeed,this.lastNeed=0}else o=0;return o=0?(s>0&&(r.lastNeed=s-1),s):--a=0?(s>0&&(r.lastNeed=s-2),s):--a=0?(s>0&&(2===s?s=0:r.lastNeed=s-3),s):0}(this,r,n);if(!this.lastNeed)return r.toString("utf8",n);this.lastTotal=o;var a=r.length-(o-this.lastNeed);return r.copy(this.lastChar,0,a),r.toString("utf8",n,a)},o.prototype.fillLast=function(r){if(this.lastNeed<=r.length)return r.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);r.copy(this.lastChar,this.lastTotal-this.lastNeed,0,r.length),this.lastNeed-=r.length}}(),r.exports=u},5390:(r,n,o)=>{var i=o(2061),a={638:function(r){"function"==typeof Object.create?r.exports=function(r,n){n&&(r.super_=n,r.prototype=Object.create(n.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}))}:r.exports=function(r,n){if(n){r.super_=n;var o=function(){};o.prototype=n.prototype,r.prototype=new o,r.prototype.constructor=r}}},329:function(r){"use strict";let n={};function o(r,o,i){i||(i=Error);class a extends i{constructor(r,n,i){super("string"==typeof o?o:o(r,n,i))}}a.prototype.name=i.name,a.prototype.code=r,n[r]=a}function i(r,n){if(!Array.isArray(r))return`of ${n} ${String(r)}`;{let o=r.length;return(r=r.map(r=>String(r)),o>2)?`one of ${n} ${r.slice(0,o-1).join(", ")}, or `+r[o-1]:2===o?`one of ${n} ${r[0]} or ${r[1]}`:`of ${n} ${r[0]}`}}o("ERR_INVALID_OPT_VALUE",function(r,n){return'The value "'+n+'" is invalid for option "'+r+'"'},TypeError),o("ERR_INVALID_ARG_TYPE",function(r,n,o){var a,s,u,f;let l,c;if("string"==typeof n&&(a="not ",n.substr(0,a.length)===a)?(l="must not be",n=n.replace(/^not /,"")):l="must be",s=" argument",(void 0===u||u>r.length)&&(u=r.length),r.substring(u-s.length,u)===s)c=`The ${r} ${l} ${i(n,"type")}`;else{let o=("number"!=typeof f&&(f=0),f+1>r.length||-1===r.indexOf(".",f))?"argument":"property";c=`The "${r}" ${o} ${l} ${i(n,"type")}`}return c+`. Received type ${typeof o}`},TypeError),o("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),o("ERR_METHOD_NOT_IMPLEMENTED",function(r){return"The "+r+" method is not implemented"}),o("ERR_STREAM_PREMATURE_CLOSE","Premature close"),o("ERR_STREAM_DESTROYED",function(r){return"Cannot call "+r+" after a stream was destroyed"}),o("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),o("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),o("ERR_STREAM_WRITE_AFTER_END","write after end"),o("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),o("ERR_UNKNOWN_ENCODING",function(r){return"Unknown encoding: "+r},TypeError),o("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),r.exports.F=n},686:function(r,n,o){"use strict";var a=Object.keys||function(r){var n=[];for(var o in r)n.push(o);return n};r.exports=p;var s=o(276),u=o(732);o(638)(p,s);for(var f=a(u.prototype),l=0;l0)if("string"==typeof n||l.objectMode||Object.getPrototypeOf(n)===y.prototype||(s=n,n=y.from(s)),i)l.endEmitted?x(r,new A):P(r,l,n,!0);else if(l.ended)x(r,new E);else{if(l.destroyed)return!1;l.reading=!1,l.decoder&&!o?(n=l.decoder.write(n),l.objectMode||0!==n.length?P(r,l,n,!1):C(r,l)):P(r,l,n,!1)}else i||(l.reading=!1,C(r,l));return!l.ended&&(l.lengthn.highWaterMark&&((o=r)>=0x40000000?o=0x40000000:(o--,o|=o>>>1,o|=o>>>2,o|=o>>>4,o|=o>>>8,o|=o>>>16,o++),n.highWaterMark=o),r<=n.length)?r:n.ended?n.length:(n.needReadable=!0,0)}function M(r){var n=r._readableState;u("emitReadable",n.needReadable,n.emittedReadable),n.needReadable=!1,n.emittedReadable||(u("emitReadable",n.flowing),n.emittedReadable=!0,i.nextTick(L,r))}function L(r){var n=r._readableState;u("emitReadable_",n.destroyed,n.length,n.ended),!n.destroyed&&(n.length||n.ended)&&(r.emit("readable"),n.emittedReadable=!1),n.needReadable=!n.flowing&&!n.ended&&n.length<=n.highWaterMark,D(r)}function C(r,n){n.readingMore||(n.readingMore=!0,i.nextTick(B,r,n))}function B(r,n){for(;!n.reading&&!n.ended&&(n.length0,n.resumeScheduled&&!n.paused?n.flowing=!0:r.listenerCount("data")>0&&r.resume()}function I(r){u("readable nexttick read 0"),r.read(0)}function U(r,n){u("resume",n.reading),n.reading||r.read(0),n.resumeScheduled=!1,r.emit("resume"),D(r),n.flowing&&!n.reading&&r.read(0)}function D(r){var n=r._readableState;for(u("flow",n.flowing);n.flowing&&null!==r.read(););}function F(r,n){var o;return 0===n.length?null:(n.objectMode?o=n.buffer.shift():!r||r>=n.length?(o=n.decoder?n.buffer.join(""):1===n.buffer.length?n.buffer.first():n.buffer.concat(n.length),n.buffer.clear()):o=n.buffer.consume(r,n.decoder),o)}function W(r){var n=r._readableState;u("endReadable",n.endEmitted),n.endEmitted||(n.ended=!0,i.nextTick(q,n,r))}function q(r,n){if(u("endReadableNT",r.endEmitted,r.length),!r.endEmitted&&0===r.length&&(r.endEmitted=!0,n.readable=!1,n.emit("end"),r.autoDestroy)){var o=n._writableState;(!o||o.autoDestroy&&o.finished)&&n.destroy()}}function G(r,n){for(var o=0,i=r.length;o=o.highWaterMark:o.length>0)||o.ended))return u("read: emitReadable",o.length,o.ended),0===o.length&&o.ended?W(this):M(this),null;if(0===(r=k(r,o))&&o.ended)return 0===o.length&&W(this),null;var a=o.needReadable;return u("need readable",a),(0===o.length||o.length-r0?F(r,o):null)?(o.needReadable=o.length<=o.highWaterMark,r=0):(o.length-=r,o.awaitDrain=0),0===o.length&&(o.ended||(o.needReadable=!0),i!==r&&o.ended&&W(this)),null!==n&&this.emit("data",n),n},j.prototype._read=function(r){x(this,new _("_read()"))},j.prototype.pipe=function(r,n){var o,a=this,s=this._readableState;switch(s.pipesCount){case 0:s.pipes=r;break;case 1:s.pipes=[s.pipes,r];break;default:s.pipes.push(r)}s.pipesCount+=1,u("pipe count=%d opts=%j",s.pipesCount,n);var f=n&&!1===n.end||r===i.stdout||r===i.stderr?v:l;function l(){u("onend"),r.end()}s.endEmitted?i.nextTick(f):a.once("end",f),r.on("unpipe",function n(o,i){u("onunpipe"),o===a&&i&&!1===i.hasUnpiped&&(i.hasUnpiped=!0,u("cleanup"),r.removeListener("close",g),r.removeListener("finish",b),r.removeListener("drain",c),r.removeListener("error",d),r.removeListener("unpipe",n),a.removeListener("end",l),a.removeListener("end",v),a.removeListener("data",y),h=!0,s.awaitDrain&&(!r._writableState||r._writableState.needDrain)&&c())});var c=(o=a,function(){var r=o._readableState;u("pipeOnDrain",r.awaitDrain),r.awaitDrain&&r.awaitDrain--,0===r.awaitDrain&&p(o,"data")&&(r.flowing=!0,D(o))});r.on("drain",c);var h=!1;function y(n){u("ondata");var o=r.write(n);u("dest.write",o),!1===o&&((1===s.pipesCount&&s.pipes===r||s.pipesCount>1&&-1!==G(s.pipes,r))&&!h&&(u("false write response, pause",s.awaitDrain),s.awaitDrain++),a.pause())}function d(n){u("onerror",n),v(),r.removeListener("error",d),0===p(r,"error")&&x(r,n)}function g(){r.removeListener("finish",b),v()}function b(){u("onfinish"),r.removeListener("close",g),v()}function v(){u("unpipe"),a.unpipe(r)}return a.on("data",y),!function(r,n,o){if("function"==typeof r.prependListener)return r.prependListener(n,o);r._events&&r._events[n]?Array.isArray(r._events[n])?r._events[n].unshift(o):r._events[n]=[o,r._events[n]]:r.on(n,o)}(r,"error",d),r.once("close",g),r.once("finish",b),r.emit("pipe",a),s.flowing||(u("pipe resume"),a.resume()),r},j.prototype.unpipe=function(r){var n=this._readableState,o={hasUnpiped:!1};if(0===n.pipesCount)return this;if(1===n.pipesCount)return r&&r!==n.pipes||(r||(r=n.pipes),n.pipes=null,n.pipesCount=0,n.flowing=!1,r&&r.emit("unpipe",this,o)),this;if(!r){var i=n.pipes,a=n.pipesCount;n.pipes=null,n.pipesCount=0,n.flowing=!1;for(var s=0;s0,!1!==a.flowing&&this.resume()):"readable"!==r||a.endEmitted||a.readableListening||(a.readableListening=a.needReadable=!0,a.flowing=!1,a.emittedReadable=!1,u("on readable",a.length,a.reading),a.length?M(this):a.reading||i.nextTick(I,this)),o},j.prototype.addListener=j.prototype.on,j.prototype.removeListener=function(r,n){var o=h.prototype.removeListener.call(this,r,n);return"readable"===r&&i.nextTick(N,this),o},j.prototype.removeAllListeners=function(r){var n=h.prototype.removeAllListeners.apply(this,arguments);return("readable"===r||void 0===r)&&i.nextTick(N,this),n},j.prototype.resume=function(){var r,n,o=this._readableState;return o.flowing||(u("resume"),o.flowing=!o.readableListening,r=this,(n=o).resumeScheduled||(n.resumeScheduled=!0,i.nextTick(U,r,n))),o.paused=!1,this},j.prototype.pause=function(){return u("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(u("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},j.prototype.wrap=function(r){var n=this,o=this._readableState,i=!1;for(var a in r.on("end",function(){if(u("wrapped end"),o.decoder&&!o.ended){var r=o.decoder.end();r&&r.length&&n.push(r)}n.push(null)}),r.on("data",function(a){u("wrapped data"),o.decoder&&(a=o.decoder.write(a)),o.objectMode&&null==a||(o.objectMode||a&&a.length)&&(n.push(a)||(i=!0,r.pause()))}),r)void 0===this[a]&&"function"==typeof r[a]&&(this[a]=function(n){return function(){return r[n].apply(r,arguments)}}(a));for(var s=0;s-1))throw new A(r);return this._writableState.defaultEncoding=r,this},Object.defineProperty(j.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(j.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),j.prototype._write=function(r,n,o){o(new v("_write()"))},j.prototype._writev=null,j.prototype.end=function(r,n,o){var a,s,u,f=this._writableState;return"function"==typeof r?(o=r,r=null,n=null):"function"==typeof n&&(o=n,n=null),null!=r&&this.write(r,n),f.corked&&(f.corked=1,this.uncork()),f.ending||(a=this,s=f,u=o,s.ending=!0,C(a,s),u&&(s.finished?i.nextTick(u):a.once("finish",u)),s.ended=!0,a.writable=!1),this},Object.defineProperty(j.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(j.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(r){this._writableState&&(this._writableState.destroyed=r)}}),j.prototype.destroy=y.destroy,j.prototype._undestroy=y.undestroy,j.prototype._destroy=function(r,n){n(r)}},531:function(r,n,o){"use strict";function a(r,n,o){return n in r?Object.defineProperty(r,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[n]=o,r}var s,u=o(134),f=Symbol("lastResolve"),l=Symbol("lastReject"),c=Symbol("error"),p=Symbol("ended"),h=Symbol("lastPromise"),y=Symbol("handlePromise"),d=Symbol("stream");function g(r,n){return{value:r,done:n}}function b(r){var n=r[f];if(null!==n){var o=r[d].read();null!==o&&(r[h]=null,r[f]=null,r[l]=null,n(g(o,!1)))}}function v(r){i.nextTick(b,r)}var m=Object.getPrototypeOf(function(){}),w=Object.setPrototypeOf((a(s={get stream(){return this[d]},next:function(){var r,n,o=this,a=this[c];if(null!==a)return Promise.reject(a);if(this[p])return Promise.resolve(g(void 0,!0));if(this[d].destroyed)return new Promise(function(r,n){i.nextTick(function(){o[c]?n(o[c]):r(g(void 0,!0))})});var s=this[h];if(s)n=new Promise((r=this,function(n,o){s.then(function(){r[p]?n(g(void 0,!0)):r[y](n,o)},o)}));else{var u=this[d].read();if(null!==u)return Promise.resolve(g(u,!1));n=new Promise(this[y])}return this[h]=n,n}},Symbol.asyncIterator,function(){return this}),a(s,"return",function(){var r=this;return new Promise(function(n,o){r[d].destroy(null,function(r){r?o(r):n(g(void 0,!0))})})}),s),m);r.exports=function(r){var n,o=Object.create(w,(a(n={},d,{value:r,writable:!0}),a(n,f,{value:null,writable:!0}),a(n,l,{value:null,writable:!0}),a(n,c,{value:null,writable:!0}),a(n,p,{value:r._readableState.endEmitted,writable:!0}),a(n,y,{value:function(r,n){var i=o[d].read();i?(o[h]=null,o[f]=null,o[l]=null,r(g(i,!1))):(o[f]=r,o[l]=n)},writable:!0}),n));return o[h]=null,u(r,function(r){if(r&&"ERR_STREAM_PREMATURE_CLOSE"!==r.code){var n=o[l];null!==n&&(o[h]=null,o[f]=null,o[l]=null,n(r)),o[c]=r;return}var i=o[f];null!==i&&(o[h]=null,o[f]=null,o[l]=null,i(g(void 0,!0))),o[p]=!0}),r.on("readable",v.bind(null,o)),o}},137:function(r,n,o){"use strict";function i(r,n){var o=Object.keys(r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(r);n&&(i=i.filter(function(n){return Object.getOwnPropertyDescriptor(r,n).enumerable})),o.push.apply(o,i)}return o}var a=o(181).Buffer,s=o(23).inspect,u=s&&s.custom||"inspect";r.exports=function(){var r;function n(){if(!(this instanceof n))throw TypeError("Cannot call a class as a function");this.head=null,this.tail=null,this.length=0}return r=[{key:"push",value:function(r){var n={data:r,next:null};this.length>0?this.tail.next=n:this.head=n,this.tail=n,++this.length}},{key:"unshift",value:function(r){var n={data:r,next:this.head};0===this.length&&(this.tail=n),this.head=n,++this.length}},{key:"shift",value:function(){if(0!==this.length){var r=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,r}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(r){if(0===this.length)return"";for(var n=this.head,o=""+n.data;n=n.next;)o+=r+n.data;return o}},{key:"concat",value:function(r){if(0===this.length)return a.alloc(0);for(var n,o,i=a.allocUnsafe(r>>>0),s=this.head,u=0;s;)n=s.data,o=u,a.prototype.copy.call(n,i,o),u+=s.data.length,s=s.next;return i}},{key:"consume",value:function(r,n){var o;return ra.length?a.length:r;if(s===a.length?i+=a:i+=a.slice(0,r),0==(r-=s)){s===a.length?(++o,n.next?this.head=n.next:this.head=this.tail=null):(this.head=n,n.data=a.slice(s));break}++o}return this.length-=o,i}},{key:"_getBuffer",value:function(r){var n=a.allocUnsafe(r),o=this.head,i=1;for(o.data.copy(n),r-=o.data.length;o=o.next;){var s=o.data,u=r>s.length?s.length:r;if(s.copy(n,n.length-r,0,u),0==(r-=u)){u===s.length?(++i,o.next?this.head=o.next:this.head=this.tail=null):(this.head=o,o.data=s.slice(u));break}++i}return this.length-=i,n}},{key:u,value:function(r,n){return s(this,function(r){for(var n=1;n0,c=f=function(r){n||(n=r),r&&d.forEach(l),v||(d.forEach(l),y(n))},h=!1,f=function(){h||(h=!0,c.apply(void 0,arguments))},g=!1,r.on("close",function(){g=!0}),void 0===i&&(i=o(134)),i(r,{readable:v,writable:s},function(r){if(r)return f(r);g=!0,f()}),b=!1,function(n){if(!g&&!b){if(b=!0,r.setHeader&&"function"==typeof r.abort)return r.abort();if("function"==typeof r.destroy)return r.destroy();f(n||new u("pipe"))}}});return p.reduce(c)}},771:function(r,n,o){"use strict";var i=o(329).F.ERR_INVALID_OPT_VALUE;r.exports={getHighWaterMark:function(r,n,o,a){var s=null!=n.highWaterMark?n.highWaterMark:a?n[o]:null;if(null!=s){if(!(isFinite(s)&&Math.floor(s)===s)||s<0)throw new i(a?o:"highWaterMark",s);return Math.floor(s)}return r.objectMode?16:16384}}},120:function(r,n,o){r.exports=o(203)},56:function(r,n,o){var i=o(181),a=i.Buffer;function s(r,n){for(var o in r)n[o]=r[o]}function u(r,n,o){return a(r,n,o)}a.from&&a.alloc&&a.allocUnsafe&&a.allocUnsafeSlow?r.exports=i:(s(i,n),n.Buffer=u),u.prototype=Object.create(a.prototype),s(a,u),u.from=function(r,n,o){if("number"==typeof r)throw TypeError("Argument must not be a number");return a(r,n,o)},u.alloc=function(r,n,o){if("number"!=typeof r)throw TypeError("Argument must be a number");var i=a(r);return void 0!==n?"string"==typeof o?i.fill(n,o):i.fill(n):i.fill(0),i},u.allocUnsafe=function(r){if("number"!=typeof r)throw TypeError("Argument must be a number");return a(r)},u.allocUnsafeSlow=function(r){if("number"!=typeof r)throw TypeError("Argument must be a number");return i.SlowBuffer(r)}},854:function(r,n,o){r.exports=a;var i=o(434).EventEmitter;function a(){i.call(this)}o(638)(a,i),a.Readable=o(276),a.Writable=o(732),a.Duplex=o(686),a.Transform=o(586),a.PassThrough=o(512),a.finished=o(134),a.pipeline=o(694),a.Stream=a,a.prototype.pipe=function(r,n){var o=this;function a(n){r.writable&&!1===r.write(n)&&o.pause&&o.pause()}function s(){o.readable&&o.resume&&o.resume()}o.on("data",a),r.on("drain",s),r._isStdio||n&&!1===n.end||(o.on("end",f),o.on("close",l));var u=!1;function f(){u||(u=!0,r.end())}function l(){u||(u=!0,"function"==typeof r.destroy&&r.destroy())}function c(r){if(p(),0===i.listenerCount(this,"error"))throw r}function p(){o.removeListener("data",a),r.removeListener("drain",s),o.removeListener("end",f),o.removeListener("close",l),o.removeListener("error",c),r.removeListener("error",c),o.removeListener("end",p),o.removeListener("close",p),r.removeListener("close",p)}return o.on("error",c),r.on("error",c),o.on("end",p),o.on("close",p),r.on("close",p),r.emit("pipe",o),r}},319:function(r,n,o){"use strict";var i=o(56).Buffer,a=i.isEncoding||function(r){switch((r=""+r)&&r.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function s(r){var n;switch(this.encoding=function(r){var n=function(r){var n;if(!r)return"utf8";for(;;)switch(r){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return r;default:if(n)return;r=(""+r).toLowerCase(),n=!0}}(r);if("string"!=typeof n&&(i.isEncoding===a||!a(r)))throw Error("Unknown encoding: "+r);return n||r}(r),this.encoding){case"utf16le":this.text=l,this.end=c,n=4;break;case"utf8":this.fillLast=f,n=4;break;case"base64":this.text=p,this.end=h,n=3;break;default:this.write=y,this.end=d;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=i.allocUnsafe(n)}function u(r){return r<=127?0:r>>5==6?2:r>>4==14?3:r>>3==30?4:r>>6==2?-1:-2}function f(r){var n=this.lastTotal-this.lastNeed,o=function(r,n){if((192&n[0])!=128)return r.lastNeed=0,"�";if(r.lastNeed>1&&n.length>1){if((192&n[1])!=128)return r.lastNeed=1,"�";if(r.lastNeed>2&&n.length>2&&(192&n[2])!=128)return r.lastNeed=2,"�"}}(this,r);return void 0!==o?o:this.lastNeed<=r.length?(r.copy(this.lastChar,n,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):void(r.copy(this.lastChar,n,0,r.length),this.lastNeed-=r.length)}function l(r,n){if((r.length-n)%2==0){var o=r.toString("utf16le",n);if(o){var i=o.charCodeAt(o.length-1);if(i>=55296&&i<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=r[r.length-2],this.lastChar[1]=r[r.length-1],o.slice(0,-1)}return o}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=r[r.length-1],r.toString("utf16le",n,r.length-1)}function c(r){var n=r&&r.length?this.write(r):"";if(this.lastNeed){var o=this.lastTotal-this.lastNeed;return n+this.lastChar.toString("utf16le",0,o)}return n}function p(r,n){var o=(r.length-n)%3;return 0===o?r.toString("base64",n):(this.lastNeed=3-o,this.lastTotal=3,1===o?this.lastChar[0]=r[r.length-1]:(this.lastChar[0]=r[r.length-2],this.lastChar[1]=r[r.length-1]),r.toString("base64",n,r.length-o))}function h(r){var n=r&&r.length?this.write(r):"";return this.lastNeed?n+this.lastChar.toString("base64",0,3-this.lastNeed):n}function y(r){return r.toString(this.encoding)}function d(r){return r&&r.length?this.write(r):""}n.I=s,s.prototype.write=function(r){var n,o;if(0===r.length)return"";if(this.lastNeed){if(void 0===(n=this.fillLast(r)))return"";o=this.lastNeed,this.lastNeed=0}else o=0;return o=0?(a>0&&(r.lastNeed=a-1),a):--i=0?(a>0&&(r.lastNeed=a-2),a):--i=0?(a>0&&(2===a?a=0:r.lastNeed=a-3),a):0}(this,r,n);if(!this.lastNeed)return r.toString("utf8",n);this.lastTotal=o;var i=r.length-(o-this.lastNeed);return r.copy(this.lastChar,0,i),r.toString("utf8",n,i)},s.prototype.fillLast=function(r){if(this.lastNeed<=r.length)return r.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);r.copy(this.lastChar,this.lastTotal-this.lastNeed,0,r.length),this.lastNeed-=r.length}},774:function(r){r.exports=function(r,o){if(n("noDeprecation"))return r;var i=!1;return function(){if(!i){if(n("throwDeprecation"))throw Error(o);n("traceDeprecation")?console.trace(o):console.warn(o),i=!0}return r.apply(this,arguments)}};function n(r){try{if(!o.g.localStorage)return!1}catch(r){return!1}var n=o.g.localStorage[r];return null!=n&&"true"===String(n).toLowerCase()}},181:function(r){"use strict";r.exports=o(9665)},434:function(r){"use strict";r.exports=o(8919)},203:function(r){"use strict";r.exports=o(8919).EventEmitter},23:function(r){"use strict";r.exports=o(1185)}},s={};function u(r){var n=s[r];if(void 0!==n)return n.exports;var o=s[r]={exports:{}},i=!0;try{a[r](o,o.exports,u),i=!1}finally{i&&delete s[r]}return o.exports}u.ab="//",r.exports=u(854)},8919:r=>{!function(){"use strict";var n={294:function(r){var n,o="object"==typeof Reflect?Reflect:null,i=o&&"function"==typeof o.apply?o.apply:function(r,n,o){return Function.prototype.apply.call(r,n,o)};n=o&&"function"==typeof o.ownKeys?o.ownKeys:Object.getOwnPropertySymbols?function(r){return Object.getOwnPropertyNames(r).concat(Object.getOwnPropertySymbols(r))}:function(r){return Object.getOwnPropertyNames(r)};var a=Number.isNaN||function(r){return r!=r};function s(){s.init.call(this)}r.exports=s,r.exports.once=function(r,n){return new Promise(function(o,i){var a,s,u;function f(o){r.removeListener(n,l),i(o)}function l(){"function"==typeof r.removeListener&&r.removeListener("error",f),o([].slice.call(arguments))}b(r,n,l,{once:!0}),"error"!==n&&(a=r,s=f,u={once:!0},"function"==typeof a.on&&b(a,"error",s,u))})},s.EventEmitter=s,s.prototype._events=void 0,s.prototype._eventsCount=0,s.prototype._maxListeners=void 0;var u=10;function f(r){if("function"!=typeof r)throw TypeError('The "listener" argument must be of type Function. Received type '+typeof r)}function l(r){return void 0===r._maxListeners?s.defaultMaxListeners:r._maxListeners}function c(r,n,o,i){if(f(o),void 0===(s=r._events)?(s=r._events=Object.create(null),r._eventsCount=0):(void 0!==s.newListener&&(r.emit("newListener",n,o.listener?o.listener:o),s=r._events),u=s[n]),void 0===u)u=s[n]=o,++r._eventsCount;else if("function"==typeof u?u=s[n]=i?[o,u]:[u,o]:i?u.unshift(o):u.push(o),(a=l(r))>0&&u.length>a&&!u.warned){u.warned=!0;var a,s,u,c=Error("Possible EventEmitter memory leak detected. "+u.length+" "+String(n)+" listeners added. Use emitter.setMaxListeners() to increase limit");c.name="MaxListenersExceededWarning",c.emitter=r,c.type=n,c.count=u.length,console&&console.warn&&console.warn(c)}return r}function p(){if(!this.fired)return(this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0==arguments.length)?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function h(r,n,o){var i={fired:!1,wrapFn:void 0,target:r,type:n,listener:o},a=p.bind(i);return a.listener=o,i.wrapFn=a,a}function y(r,n,o){var i=r._events;if(void 0===i)return[];var a=i[n];return void 0===a?[]:"function"==typeof a?o?[a.listener||a]:[a]:o?function(r){for(var n=Array(r.length),o=0;o0&&(u=n[0]),u instanceof Error)throw u;var u,f=Error("Unhandled error."+(u?" ("+u.message+")":""));throw f.context=u,f}var l=s[r];if(void 0===l)return!1;if("function"==typeof l)i(l,this,n);else for(var c=l.length,p=g(l,c),o=0;o=0;s--)if(o[s]===n||o[s].listener===n){u=o[s].listener,a=s;break}if(a<0)return this;0===a?o.shift():function(r,n){for(;n+1=0;i--)this.removeListener(r,n[i]);return this},s.prototype.listeners=function(r){return y(this,r,!0)},s.prototype.rawListeners=function(r){return y(this,r,!1)},s.listenerCount=function(r,n){return"function"==typeof r.listenerCount?r.listenerCount(n):d.call(r,n)},s.prototype.listenerCount=d,s.prototype.eventNames=function(){return this._eventsCount>0?n(this._events):[]}}},o={};function i(r){var a=o[r];if(void 0!==a)return a.exports;var s=o[r]={exports:{}},u=!0;try{n[r](s,s.exports,i),u=!1}finally{u&&delete o[r]}return s.exports}i.ab="//",r.exports=i(294)}()},9665:r=>{var n={872:function(r,n){"use strict";n.byteLength=function(r){var n=l(r),o=n[0],i=n[1];return(o+i)*3/4-i},n.toByteArray=function(r){var n,o,s=l(r),u=s[0],f=s[1],c=new a((u+f)*3/4-f),p=0,h=f>0?u-4:u;for(o=0;o>16&255,c[p++]=n>>8&255,c[p++]=255&n;return 2===f&&(n=i[r.charCodeAt(o)]<<2|i[r.charCodeAt(o+1)]>>4,c[p++]=255&n),1===f&&(n=i[r.charCodeAt(o)]<<10|i[r.charCodeAt(o+1)]<<4|i[r.charCodeAt(o+2)]>>2,c[p++]=n>>8&255,c[p++]=255&n),c},n.fromByteArray=function(r){for(var n,i=r.length,a=i%3,s=[],u=0,f=i-a;u>18&63]+o[a>>12&63]+o[a>>6&63]+o[63&a]);return s.join("")}(r,u,u+16383>f?f:u+16383));return 1===a?s.push(o[(n=r[i-1])>>2]+o[n<<4&63]+"=="):2===a&&s.push(o[(n=(r[i-2]<<8)+r[i-1])>>10]+o[n>>4&63]+o[n<<2&63]+"="),s.join("")};for(var o=[],i=[],a="u">typeof Uint8Array?Uint8Array:Array,s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",u=0,f=s.length;u0)throw Error("Invalid string. Length must be a multiple of 4");var o=r.indexOf("=");-1===o&&(o=n);var i=o===n?0:4-o%4;return[o,i]}i[45]=62,i[95]=63},230:function(r,n,o){"use strict";var i=o(872),a=o(321),s="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function u(r){if(r>0x7fffffff)throw RangeError('The value "'+r+'" is invalid for option "size"');var n=new Uint8Array(r);return Object.setPrototypeOf(n,f.prototype),n}function f(r,n,o){if("number"==typeof r){if("string"==typeof n)throw TypeError('The "string" argument must be of type string. Received type number');return p(r)}return l(r,n,o)}function l(r,n,o){if("string"==typeof r){var i=r,a=n;if(("string"!=typeof a||""===a)&&(a="utf8"),!f.isEncoding(a))throw TypeError("Unknown encoding: "+a);var s=0|d(i,a),l=u(s),c=l.write(i,a);return c!==s&&(l=l.slice(0,c)),l}if(ArrayBuffer.isView(r))return h(r);if(null==r)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof r);if(k(r,ArrayBuffer)||r&&k(r.buffer,ArrayBuffer)||"u">typeof SharedArrayBuffer&&(k(r,SharedArrayBuffer)||r&&k(r.buffer,SharedArrayBuffer)))return function(r,n,o){var i;if(n<0||r.byteLengthtypeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof r[Symbol.toPrimitive])return f.from(r[Symbol.toPrimitive]("string"),n,o);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof r)}function c(r){if("number"!=typeof r)throw TypeError('"size" argument must be of type number');if(r<0)throw RangeError('The value "'+r+'" is invalid for option "size"')}function p(r){return c(r),u(r<0?0:0|y(r))}function h(r){for(var n=r.length<0?0:0|y(r.length),o=u(n),i=0;itypeof console&&"function"==typeof console.error&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(f.prototype,"parent",{enumerable:!0,get:function(){if(f.isBuffer(this))return this.buffer}}),Object.defineProperty(f.prototype,"offset",{enumerable:!0,get:function(){if(f.isBuffer(this))return this.byteOffset}}),f.poolSize=8192,f.from=function(r,n,o){return l(r,n,o)},Object.setPrototypeOf(f.prototype,Uint8Array.prototype),Object.setPrototypeOf(f,Uint8Array),f.alloc=function(r,n,o){return(c(r),r<=0)?u(r):void 0!==n?"string"==typeof o?u(r).fill(n,o):u(r).fill(n):u(r)},f.allocUnsafe=function(r){return p(r)},f.allocUnsafeSlow=function(r){return p(r)};function y(r){if(r>=0x7fffffff)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|r}function d(r,n){if(f.isBuffer(r))return r.length;if(ArrayBuffer.isView(r)||k(r,ArrayBuffer))return r.byteLength;if("string"!=typeof r)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof r);var o=r.length,i=arguments.length>2&&!0===arguments[2];if(!i&&0===o)return 0;for(var a=!1;;)switch(n){case"ascii":case"latin1":case"binary":return o;case"utf8":case"utf-8":return R(r).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*o;case"hex":return o>>>1;case"base64":return T(r).length;default:if(a)return i?-1:R(r).length;n=(""+n).toLowerCase(),a=!0}}function g(r,n,o){var a,s,u,f=!1;if((void 0===n||n<0)&&(n=0),n>this.length||((void 0===o||o>this.length)&&(o=this.length),o<=0||(o>>>=0)<=(n>>>=0)))return"";for(r||(r="utf8");;)switch(r){case"hex":return function(r,n,o){var i=r.length;(!n||n<0)&&(n=0),(!o||o<0||o>i)&&(o=i);for(var a="",s=n;s0x7fffffff?o=0x7fffffff:o<-0x80000000&&(o=-0x80000000),(s=o*=1)!=s&&(o=a?0:r.length-1),o<0&&(o=r.length+o),o>=r.length)if(a)return -1;else o=r.length-1;else if(o<0)if(!a)return -1;else o=0;if("string"==typeof n&&(n=f.from(n,i)),f.isBuffer(n))return 0===n.length?-1:m(r,n,o,i,a);if("number"==typeof n){if(n&=255,"function"==typeof Uint8Array.prototype.indexOf)if(a)return Uint8Array.prototype.indexOf.call(r,n,o);else return Uint8Array.prototype.lastIndexOf.call(r,n,o);return m(r,[n],o,i,a)}throw TypeError("val must be string, number or Buffer")}function m(r,n,o,i,a){var s,u=1,f=r.length,l=n.length;if(void 0!==i&&("ucs2"===(i=String(i).toLowerCase())||"ucs-2"===i||"utf16le"===i||"utf-16le"===i)){if(r.length<2||n.length<2)return -1;u=2,f/=2,l/=2,o/=2}function c(r,n){return 1===u?r[n]:r.readUInt16BE(n*u)}if(a){var p=-1;for(s=o;sf&&(o=f-l),s=o;s>=0;s--){for(var h=!0,y=0;yo&&(r+=" ... "),""},s&&(f.prototype[s]=f.prototype.inspect),f.prototype.compare=function(r,n,o,i,a){if(k(r,Uint8Array)&&(r=f.from(r,r.offset,r.byteLength)),!f.isBuffer(r))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof r);if(void 0===n&&(n=0),void 0===o&&(o=r?r.length:0),void 0===i&&(i=0),void 0===a&&(a=this.length),n<0||o>r.length||i<0||a>this.length)throw RangeError("out of range index");if(i>=a&&n>=o)return 0;if(i>=a)return -1;if(n>=o)return 1;if(n>>>=0,o>>>=0,i>>>=0,a>>>=0,this===r)return 0;for(var s=a-i,u=o-n,l=Math.min(s,u),c=this.slice(i,a),p=r.slice(n,o),h=0;h239?4:c>223?3:c>191?2:1;if(a+h<=o)switch(h){case 1:c<128&&(p=c);break;case 2:(192&(s=r[a+1]))==128&&(l=(31&c)<<6|63&s)>127&&(p=l);break;case 3:s=r[a+1],u=r[a+2],(192&s)==128&&(192&u)==128&&(l=(15&c)<<12|(63&s)<<6|63&u)>2047&&(l<55296||l>57343)&&(p=l);break;case 4:s=r[a+1],u=r[a+2],f=r[a+3],(192&s)==128&&(192&u)==128&&(192&f)==128&&(l=(15&c)<<18|(63&s)<<12|(63&u)<<6|63&f)>65535&&l<1114112&&(p=l)}null===p?(p=65533,h=1):p>65535&&(p-=65536,i.push(p>>>10&1023|55296),p=56320|1023&p),i.push(p),a+=h}var y=i,d=y.length;if(d<=4096)return String.fromCharCode.apply(String,y);for(var g="",b=0;bo)throw RangeError("Trying to access beyond buffer length")}function E(r,n,o,i,a,s){if(!f.isBuffer(r))throw TypeError('"buffer" argument must be a Buffer instance');if(n>a||nr.length)throw RangeError("Index out of range")}function _(r,n,o,i,a,s){if(o+i>r.length||o<0)throw RangeError("Index out of range")}function A(r,n,o,i,s){return n*=1,o>>>=0,s||_(r,n,o,4,34028234663852886e22,-34028234663852886e22),a.write(r,n,o,i,23,4),o+4}function x(r,n,o,i,s){return n*=1,o>>>=0,s||_(r,n,o,8,17976931348623157e292,-17976931348623157e292),a.write(r,n,o,i,52,8),o+8}f.prototype.write=function(r,n,o,i){if(void 0===n)i="utf8",o=this.length,n=0;else if(void 0===o&&"string"==typeof n)i=n,o=this.length,n=0;else if(isFinite(n))n>>>=0,isFinite(o)?(o>>>=0,void 0===i&&(i="utf8")):(i=o,o=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var a,s,u,e,l,c,p,h,y=this.length-n;if((void 0===o||o>y)&&(o=y),r.length>0&&(o<0||n<0)||n>this.length)throw RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var d=!1;;)switch(i){case"hex":return function(r,n,o,i){o=Number(o)||0;var a=r.length-o;i?(i=Number(i))>a&&(i=a):i=a;var s=n.length;i>s/2&&(i=s/2);for(var u=0;u>8,a.push(o%256),a.push(i);return a}(r,this.length-p),this,p,h);default:if(d)throw TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),d=!0}},f.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},f.prototype.slice=function(r,n){var o=this.length;r=~~r,n=void 0===n?o:~~n,r<0?(r+=o)<0&&(r=0):r>o&&(r=o),n<0?(n+=o)<0&&(n=0):n>o&&(n=o),n>>=0,n>>>=0,o||S(r,n,this.length);for(var i=this[r],a=1,s=0;++s>>=0,n>>>=0,o||S(r,n,this.length);for(var i=this[r+--n],a=1;n>0&&(a*=256);)i+=this[r+--n]*a;return i},f.prototype.readUInt8=function(r,n){return r>>>=0,n||S(r,1,this.length),this[r]},f.prototype.readUInt16LE=function(r,n){return r>>>=0,n||S(r,2,this.length),this[r]|this[r+1]<<8},f.prototype.readUInt16BE=function(r,n){return r>>>=0,n||S(r,2,this.length),this[r]<<8|this[r+1]},f.prototype.readUInt32LE=function(r,n){return r>>>=0,n||S(r,4,this.length),(this[r]|this[r+1]<<8|this[r+2]<<16)+0x1000000*this[r+3]},f.prototype.readUInt32BE=function(r,n){return r>>>=0,n||S(r,4,this.length),0x1000000*this[r]+(this[r+1]<<16|this[r+2]<<8|this[r+3])},f.prototype.readIntLE=function(r,n,o){r>>>=0,n>>>=0,o||S(r,n,this.length);for(var i=this[r],a=1,s=0;++s=(a*=128)&&(i-=Math.pow(2,8*n)),i},f.prototype.readIntBE=function(r,n,o){r>>>=0,n>>>=0,o||S(r,n,this.length);for(var i=n,a=1,s=this[r+--i];i>0&&(a*=256);)s+=this[r+--i]*a;return s>=(a*=128)&&(s-=Math.pow(2,8*n)),s},f.prototype.readInt8=function(r,n){return(r>>>=0,n||S(r,1,this.length),128&this[r])?-((255-this[r]+1)*1):this[r]},f.prototype.readInt16LE=function(r,n){r>>>=0,n||S(r,2,this.length);var o=this[r]|this[r+1]<<8;return 32768&o?0xffff0000|o:o},f.prototype.readInt16BE=function(r,n){r>>>=0,n||S(r,2,this.length);var o=this[r+1]|this[r]<<8;return 32768&o?0xffff0000|o:o},f.prototype.readInt32LE=function(r,n){return r>>>=0,n||S(r,4,this.length),this[r]|this[r+1]<<8|this[r+2]<<16|this[r+3]<<24},f.prototype.readInt32BE=function(r,n){return r>>>=0,n||S(r,4,this.length),this[r]<<24|this[r+1]<<16|this[r+2]<<8|this[r+3]},f.prototype.readFloatLE=function(r,n){return r>>>=0,n||S(r,4,this.length),a.read(this,r,!0,23,4)},f.prototype.readFloatBE=function(r,n){return r>>>=0,n||S(r,4,this.length),a.read(this,r,!1,23,4)},f.prototype.readDoubleLE=function(r,n){return r>>>=0,n||S(r,8,this.length),a.read(this,r,!0,52,8)},f.prototype.readDoubleBE=function(r,n){return r>>>=0,n||S(r,8,this.length),a.read(this,r,!1,52,8)},f.prototype.writeUIntLE=function(r,n,o,i){if(r*=1,n>>>=0,o>>>=0,!i){var a=Math.pow(2,8*o)-1;E(this,r,n,o,a,0)}var s=1,u=0;for(this[n]=255&r;++u>>=0,o>>>=0,!i){var a=Math.pow(2,8*o)-1;E(this,r,n,o,a,0)}var s=o-1,u=1;for(this[n+s]=255&r;--s>=0&&(u*=256);)this[n+s]=r/u&255;return n+o},f.prototype.writeUInt8=function(r,n,o){return r*=1,n>>>=0,o||E(this,r,n,1,255,0),this[n]=255&r,n+1},f.prototype.writeUInt16LE=function(r,n,o){return r*=1,n>>>=0,o||E(this,r,n,2,65535,0),this[n]=255&r,this[n+1]=r>>>8,n+2},f.prototype.writeUInt16BE=function(r,n,o){return r*=1,n>>>=0,o||E(this,r,n,2,65535,0),this[n]=r>>>8,this[n+1]=255&r,n+2},f.prototype.writeUInt32LE=function(r,n,o){return r*=1,n>>>=0,o||E(this,r,n,4,0xffffffff,0),this[n+3]=r>>>24,this[n+2]=r>>>16,this[n+1]=r>>>8,this[n]=255&r,n+4},f.prototype.writeUInt32BE=function(r,n,o){return r*=1,n>>>=0,o||E(this,r,n,4,0xffffffff,0),this[n]=r>>>24,this[n+1]=r>>>16,this[n+2]=r>>>8,this[n+3]=255&r,n+4},f.prototype.writeIntLE=function(r,n,o,i){if(r*=1,n>>>=0,!i){var a=Math.pow(2,8*o-1);E(this,r,n,o,a-1,-a)}var s=0,u=1,f=0;for(this[n]=255&r;++s>>=0,!i){var a=Math.pow(2,8*o-1);E(this,r,n,o,a-1,-a)}var s=o-1,u=1,f=0;for(this[n+s]=255&r;--s>=0&&(u*=256);)r<0&&0===f&&0!==this[n+s+1]&&(f=1),this[n+s]=(r/u|0)-f&255;return n+o},f.prototype.writeInt8=function(r,n,o){return r*=1,n>>>=0,o||E(this,r,n,1,127,-128),r<0&&(r=255+r+1),this[n]=255&r,n+1},f.prototype.writeInt16LE=function(r,n,o){return r*=1,n>>>=0,o||E(this,r,n,2,32767,-32768),this[n]=255&r,this[n+1]=r>>>8,n+2},f.prototype.writeInt16BE=function(r,n,o){return r*=1,n>>>=0,o||E(this,r,n,2,32767,-32768),this[n]=r>>>8,this[n+1]=255&r,n+2},f.prototype.writeInt32LE=function(r,n,o){return r*=1,n>>>=0,o||E(this,r,n,4,0x7fffffff,-0x80000000),this[n]=255&r,this[n+1]=r>>>8,this[n+2]=r>>>16,this[n+3]=r>>>24,n+4},f.prototype.writeInt32BE=function(r,n,o){return r*=1,n>>>=0,o||E(this,r,n,4,0x7fffffff,-0x80000000),r<0&&(r=0xffffffff+r+1),this[n]=r>>>24,this[n+1]=r>>>16,this[n+2]=r>>>8,this[n+3]=255&r,n+4},f.prototype.writeFloatLE=function(r,n,o){return A(this,r,n,!0,o)},f.prototype.writeFloatBE=function(r,n,o){return A(this,r,n,!1,o)},f.prototype.writeDoubleLE=function(r,n,o){return x(this,r,n,!0,o)},f.prototype.writeDoubleBE=function(r,n,o){return x(this,r,n,!1,o)},f.prototype.copy=function(r,n,o,i){if(!f.isBuffer(r))throw TypeError("argument should be a Buffer");if(o||(o=0),i||0===i||(i=this.length),n>=r.length&&(n=r.length),n||(n=0),i>0&&i=this.length)throw RangeError("Index out of range");if(i<0)throw RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),r.length-n=0;--s)r[s+n]=this[s+o];else Uint8Array.prototype.set.call(r,this.subarray(o,i),n);return a},f.prototype.fill=function(r,n,o,i){if("string"==typeof r){if("string"==typeof n?(i=n,n=0,o=this.length):"string"==typeof o&&(i=o,o=this.length),void 0!==i&&"string"!=typeof i)throw TypeError("encoding must be a string");if("string"==typeof i&&!f.isEncoding(i))throw TypeError("Unknown encoding: "+i);if(1===r.length){var a,s=r.charCodeAt(0);("utf8"===i&&s<128||"latin1"===i)&&(r=s)}}else"number"==typeof r?r&=255:"boolean"==typeof r&&(r=Number(r));if(n<0||this.length>>=0,o=void 0===o?this.length:o>>>0,r||(r=0),"number"==typeof r)for(a=n;a55295&&o<57344){if(!a){if(o>56319||u+1===i){(n-=3)>-1&&s.push(239,191,189);continue}a=o;continue}if(o<56320){(n-=3)>-1&&s.push(239,191,189),a=o;continue}o=(a-55296<<10|o-56320)+65536}else a&&(n-=3)>-1&&s.push(239,191,189);if(a=null,o<128){if((n-=1)<0)break;s.push(o)}else if(o<2048){if((n-=2)<0)break;s.push(o>>6|192,63&o|128)}else if(o<65536){if((n-=3)<0)break;s.push(o>>12|224,o>>6&63|128,63&o|128)}else if(o<1114112){if((n-=4)<0)break;s.push(o>>18|240,o>>12&63|128,o>>6&63|128,63&o|128)}else throw Error("Invalid code point")}return s}function j(r){for(var n=[],o=0;o=n.length)&&!(a>=r.length);++a)n[a+o]=r[a];return a}function k(r,n){return r instanceof n||null!=r&&null!=r.constructor&&null!=r.constructor.name&&r.constructor.name===n.name}var M=function(){for(var r="0123456789abcdef",n=Array(256),o=0;o<16;++o)for(var i=16*o,a=0;a<16;++a)n[i+a]=r[o]+r[a];return n}()},321:function(r,n){n.read=function(r,n,o,i,a){var s,u,f=8*a-i-1,l=(1<>1,p=-7,h=o?a-1:0,y=o?-1:1,d=r[n+h];for(h+=y,s=d&(1<<-p)-1,d>>=-p,p+=f;p>0;s=256*s+r[n+h],h+=y,p-=8);for(u=s&(1<<-p)-1,s>>=-p,p+=i;p>0;u=256*u+r[n+h],h+=y,p-=8);if(0===s)s=1-c;else{if(s===l)return u?0/0:(d?-1:1)*2e308;u+=Math.pow(2,i),s-=c}return(d?-1:1)*u*Math.pow(2,s-i)},n.write=function(r,n,o,i,a,s){var u,f,l,c=8*s-a-1,p=(1<>1,y=5960464477539062e-23*(23===a),d=i?0:s-1,g=i?1:-1,b=+(n<0||0===n&&1/n<0);for(isNaN(n=Math.abs(n))||1/0===n?(f=+!!isNaN(n),u=p):(u=Math.floor(Math.log(n)/Math.LN2),n*(l=Math.pow(2,-u))<1&&(u--,l*=2),u+h>=1?n+=y/l:n+=y*Math.pow(2,1-h),n*l>=2&&(u++,l/=2),u+h>=p?(f=0,u=p):u+h>=1?(f=(n*l-1)*Math.pow(2,a),u+=h):(f=n*Math.pow(2,h-1)*Math.pow(2,a),u=0));a>=8;r[o+d]=255&f,d+=g,f/=256,a-=8);for(u=u<0;r[o+d]=255&u,d+=g,u/=256,c-=8);r[o+d-g]|=128*b}}},o={};function i(r){var a=o[r];if(void 0!==a)return a.exports;var s=o[r]={exports:{}},u=!0;try{n[r](s,s.exports,i),u=!1}finally{u&&delete o[r]}return s.exports}i.ab="//",r.exports=i(230)}}]); \ No newline at end of file diff --git a/_next/static/chunks/378-e1415e3472e2a5c2.js b/_next/static/chunks/378-e1415e3472e2a5c2.js new file mode 100644 index 0000000000000000000000000000000000000000..f7dc904550b6d5125a4cc2c19548309e5d4c1c37 --- /dev/null +++ b/_next/static/chunks/378-e1415e3472e2a5c2.js @@ -0,0 +1,52 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[378],{138:(e,t,r)=>{"use strict";function n(e){return e&&e.__esModule?e:{default:e}}r.r(t),r.d(t,{_:()=>n})},150:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"HeadManagerContext",{enumerable:!0,get:function(){return n}});let n=(r(138)._(r(8479))).default.createContext({})},167:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={cleanup:function(){return p},deleteFromLru:function(){return f},lruPut:function(){return s},updateLruSize:function(){return c}};for(var a in n)Object.defineProperty(t,a,{enumerable:!0,get:n[a]});let u=r(8091),l=r(607),o=null,i=0;function s(e){if(o===e)return;let t=e.prev,r=e.next;if(null===r||null===t?(i+=e.size,d()):(t.next=r,r.prev=t),null===o)e.prev=e,e.next=e;else{let t=o.prev;e.prev=t,null!==t&&(t.next=e),e.next=o,o.prev=e}o=e}function c(e,t){let r=e.size;e.size=t,null!==e.next&&(i=i-r+t,d())}function f(e){let t=e.next,r=e.prev;null!==t&&null!==r&&(i-=e.size,e.next=null,e.prev=null,o===e?t===o?o=null:(o=t,r.next=t,t.prev=r):(r.next=t,t.prev=r))}function d(){i<=0x3200000||(0,l.pingPrefetchScheduler)()}function p(){if(!(i<=0x3200000))for(;i>0x2d00000&&null!==o;){let e=o.prev;null!==e&&(0,u.deleteMapEntry)(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)},203:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={onCaughtError:function(){return d},onUncaughtError:function(){return p}};for(var a in n)Object.defineProperty(t,a,{enumerable:!0,get:n[a]});let u=r(138),l=r(5730),o=r(8422),i=r(9270),s=r(5918),c=u._(r(8401)),f={decorateDevError:e=>e,handleClientError:()=>{},originConsoleError:console.error.bind(console)};function d(e,t){let r,n,a=t.errorBoundary?.constructor;if(r=r||a===s.ErrorBoundaryHandler&&t.errorBoundary.props.errorComponent===c.default)return h(e,n);(0,o.isBailoutToCSRError)(e)||(0,l.isNextRouterError)(e)||f.originConsoleError(e)}function p(e){h(e)}function h(e,t){(0,o.isBailoutToCSRError)(e)||(0,l.isNextRouterError)(e)||(0,i.reportGlobalError)(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)},285:(e,t,r)=>{"use strict";let n;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"serverActionReducer",{enumerable:!0,get:function(){return I}});let a=r(6182),u=r(6514),l=r(1773),o=r(7768),i=r(4230),s=r(1225),c=r(498),f=r(5931),d=r(8571),p=r(3684),h=r(3193),y=r(5393),g=r(7229),_=r(6630),v=r(744),m=r(9596),b=r(607),P=r(6713),S=r(711),R=r(4121),E=r(7614),T=r(6648),O=r(3548),j=r(9794),w=r(3670),A=r(8412),C=r(8946),M=r(3772),x=s.createFromFetch;async function N(e,t,r){let c,d,p,y,g,{actionId:_,actionArgs:m}=r,b=(0,s.createTemporaryReferenceSet)(),E=(0,v.extractInfoFromServerReferenceId)(_),T=(0,v.omitUnusedArgs)(m,E),O=await (0,s.encodeReply)(T,{temporaryReferences:b}),w={Accept:l.RSC_CONTENT_TYPE_HEADER,[l.ACTION_HEADER]:_,[l.NEXT_ROUTER_STATE_TREE_HEADER]:(0,h.prepareFlightRouterStateForRequest)(e.tree)},A=(0,P.getDeploymentId)();A&&(w["x-deployment-id"]=A),t&&(w[l.NEXT_URL]=t);try{c=await (0,i.fetch)(e.canonicalUrl,{method:"POST",headers:w,body:O})}catch(e){throw e}if("1"===c.headers.get(l.NEXT_ACTION_NOT_FOUND_HEADER))throw new o.UnrecognizedActionError(`Server Action "${_}" was not found on the server. +Read more: https://nextjs.org/docs/messages/failed-to-find-server-action`);let M=c.headers.get("x-action-redirect"),[N,I]=M?.split(";")||[];switch(I){case"push":d="push";break;case"replace":d="replace";break;default:d=void 0}let F=!!c.headers.get(l.NEXT_IS_PRERENDER_HEADER),L=j.ActionDidNotRevalidate;try{let e=c.headers.get("x-action-revalidated");if(e){let t=JSON.parse(e);(t===j.ActionDidRevalidateStaticAndDynamic||t===j.ActionDidRevalidateDynamicOnly)&&(L=t)}}catch{}let D=N?(0,f.assignLocation)(N,new URL(e.canonicalUrl,window.location.href)):void 0,U=c.headers.get("content-type"),k=!!(U&&U.startsWith(l.RSC_CONTENT_TYPE_HEADER));if(!k&&!D)throw Error(c.status>=400&&"text/plain"===U?await c.text():"An unexpected response was received from the server.");let H=!1;if(k){let e=D?(0,C.processFetch)(c).then(({response:e})=>e):Promise.resolve(c),t=await x(e,{callServer:a.callServer,findSourceMapURL:u.findSourceMapURL,temporaryReferences:b,debugChannel:n&&n(w)});p=D?void 0:t.a,H=t.i;let r=c.headers.get(R.NEXT_NAV_DEPLOYMENT_ID_HEADER)??t.b;void 0!==r&&r!==(0,S.getNavigationBuildId)()||(void 0!==t.t?(y=t.t,g=t.q):void 0!==t.n&&(y=t.n))}else p=void 0,y=void 0,g=void 0;return{actionResult:p,actionFlightData:y,actionFlightDataRenderedSearch:g,redirectLocation:D,redirectType:d,revalidationKind:L,isPrerender:F,couldBeIntercepted:H}}function I(e,t){let{resolve:r,reject:n}=t,a=(e.previousNextUrl||e.nextUrl)&&(0,p.hasInterceptionRouteInCurrentTree)(e.tree)?e.previousNextUrl||e.nextUrl:null;return N(e,a,t).then(async({revalidationKind:u,actionResult:l,actionFlightData:o,actionFlightDataRenderedSearch:i,redirectLocation:s,redirectType:f,isPrerender:p,couldBeIntercepted:h})=>{u!==j.ActionDidNotRevalidate&&((0,M.invalidateBfCache)(),t.didRevalidate=!0,u===j.ActionDidRevalidateStaticAndDynamic&&(0,m.invalidateEntirePrefetchCache)(a,e.root),(0,b.startRevalidationCooldown)());let y=f||"push";if(void 0!==s)if((0,w.isExternalURL)(s))return n(F(s.href,y)),(0,E.completeHardNavigation)(e,s,y);else{let e=(0,d.createHrefFromUrl)(s,!1);n(F((0,_.hasBasePath)(e)?(0,g.removeBasePath)(e):e,y))}else r(l);if(void 0===s&&u===j.ActionDidNotRevalidate&&void 0===o)return e;if(void 0===o&&void 0!==s)return(0,E.completeHardNavigation)(e,s,y);if("string"==typeof o)return(0,E.completeHardNavigation)(e,new URL(o,location.origin),y);let v=new URL(e.canonicalUrl,location.origin),P=e.renderedSearch,S=void 0!==s?s:v,R=e.tree,C=c.ScrollBehavior.Default,x=u===j.ActionDidNotRevalidate?A.FreshnessPolicy.Default:A.FreshnessPolicy.RefreshAll;if(void 0!==o&&void 0!==i){let t=(0,d.createHrefFromUrl)(S),r=Date.now(),n=(0,T.createNavigationSeed)(r,R,o,null,!0,null,i,null,M.UnknownDynamicStaleTime);(0,O.discoverKnownRoute)(r,S.pathname,S.search,a,null,n.root,h,t,n.renderedSearch,p,!1);let u=(0,A.getCurrentNavigationLock)();return(0,E.navigateToKnownRoute)(r,e,S,t,n,v,P,e.root,x,a,C,y,u,m.segmentCacheMap,null,null,void 0)}return(0,E.navigate)(e,S,v,P,e.root,R,a,x,C,y)},t=>(n(t),e))}function F(e,t){let r=(0,y.getRedirectError)(e,t);return r.handled=!0,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)},498:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,n,a={ACTION_HMR_REFRESH:function(){return c},ACTION_NAVIGATE:function(){return o},ACTION_REFRESH:function(){return l},ACTION_RESTORE:function(){return i},ACTION_SERVER_ACTION:function(){return f},ACTION_SERVER_PATCH:function(){return s},PrefetchKind:function(){return d},ScrollBehavior:function(){return p}};for(var u in a)Object.defineProperty(t,u,{enumerable:!0,get:a[u]});let l="refresh",o="navigate",i="restore",s="server-patch",c="hmr-refresh",f="server-action";var d=((r={}).AUTO="auto",r.FULL="full",r),p=((n={})[n.Default=0]="Default",n[n.NoScroll=1]="NoScroll",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)},511:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"handleISRError",{enumerable:!0,get:function(){return a}});let n=r(3049);function a({error:e}){if(!n.workUnitAsyncStorage)return;let t=n.workUnitAsyncStorage.getStore();switch(t?.type){case"prerender":case"prerender-client":case"prerender-legacy":throw e&&console.error(e),e;case"request":case"prerender-runtime":case"validation-client":case"cache":case"private-cache":case"unstable-cache":case"build-time-generator":case void 0:return}}("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)},540:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"createRenderSearchParamsFromClient",{enumerable:!0,get:function(){return n}});let r=new WeakMap;function n(e){let t=r.get(e);if(t)return t;let n=Promise.resolve(e);return n.status="fulfilled",n.value=e,r.set(e,n),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)},607:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={cancelPrefetchTask:function(){return b},isPrefetchTaskDirty:function(){return S},needsSpeculativePrefetch:function(){return H},pingPrefetchScheduler:function(){return E},pingPrefetchTask:function(){return w},reschedulePrefetchTask:function(){return P},schedulePrefetchTask:function(){return m},startRevalidationCooldown:function(){return v}};for(var a in n)Object.defineProperty(t,a,{enumerable:!0,get:n[a]});let u=r(5686),l=r(1265),o=r(9596),i=r(8146),s=r(3547),c=r(167),f="function"==typeof queueMicrotask?queueMicrotask:e=>Promise.resolve().then(e).catch(e=>setTimeout(()=>{throw e})),d=[],p=0,h=0,y=!1,g=null,_=null;function v(){null!==_&&clearTimeout(_),_=setTimeout(()=>{_=null,E()},300)}function m(e,t,r,n,a,u){let l=o.segmentCacheMap,i={key:e,renderTreeAtTimeOfPrefetch:t,routeCacheVersion:(0,o.getCurrentRouteCacheVersion)(),segmentCacheVersion:(0,o.getCurrentSegmentCacheVersion)(),segmentCacheMap:l,priority:n,phase:2,hasBackgroundWork:!1,hasPendingResponses:!1,spawnedRuntimePrefetches:null,fetchStrategy:r,sortId:h++,isCanceled:!1,fallbackRetryStatus:o.EntryStatus.Empty,onInvalidate:a,_heapIndex:-1};return R(i),V(d,i),E(),i}function b(e){e.isCanceled=!0,function(e,t){let r=t._heapIndex;if(-1!==r&&(t._heapIndex=-1,0!==e.length)){let n=e.pop();n!==t&&(e[r]=n,n._heapIndex=r,X(e,n,r))}}(d,e)}function P(e,t,r,n){e.isCanceled=!1,e.phase=2,e.sortId=h++,e.priority=e===g?s.PrefetchPriority.Intent:n,e.renderTreeAtTimeOfPrefetch=t,e.fetchStrategy=r,R(e),-1!==e._heapIndex?q(d,e):V(d,e),E()}function S(e,t,r){return e.routeCacheVersion!==(0,o.getCurrentRouteCacheVersion)()||e.segmentCacheVersion!==(0,o.getCurrentSegmentCacheVersion)()||e.renderTreeAtTimeOfPrefetch!==r||e.key.nextUrl!==t}function R(e){e.priority===s.PrefetchPriority.Intent&&e!==g&&(null!==g&&g.priority!==s.PrefetchPriority.Background&&(g.priority=s.PrefetchPriority.Default,q(d,g)),g=e)}function E(){y||(y=!0,f(A))}function T(e){return null===_&&(e.priority===s.PrefetchPriority.Intent?p<12:p<4)}function O(e){return p++,e.then(e=>null===e?(j(),null):(e.closed.then(j),e.value))}function j(){p--,E()}function w(e){e.isCanceled||-1!==e._heapIndex||(V(d,e),E())}function A(){y=!1;let e=Date.now(),t=$(d);for(;null!==t&&T(t);){t.routeCacheVersion=(0,o.getCurrentRouteCacheVersion)(),t.segmentCacheVersion=(0,o.getCurrentSegmentCacheVersion)();let r=function(e,t){let r=t.key,n=(0,o.readOrCreateRouteCacheEntry)(e,t,r),a=function(e,t,r){switch(r.status){case o.EntryStatus.Empty:O((0,o.fetchRouteOnCacheMiss)(r,t.key)),r.staleAt=e+6e4,r.status=o.EntryStatus.Pending;case o.EntryStatus.Pending:{let e=r.blockedTasks;return null===e?r.blockedTasks=new Set([t]):e.add(t),1}case o.EntryStatus.Rejected:break;case o.EntryStatus.Fulfilled:{let n;if(2===t.phase)return 2;if(!T(t))return 0;let a=r.root.tree;switch(n=a.prefetchHints&l.PrefetchHint.SubtreeHasPartialPrefetching?s.FetchStrategy.PPR:t.fetchStrategy===s.FetchStrategy.PPR?r.supportsPerSegmentPrefetching?s.FetchStrategy.PPR:s.FetchStrategy.LoadingBoundary:t.fetchStrategy){case s.FetchStrategy.PPR:{let n=1===t.phase?s.FetchStrategy.StaticShell:s.FetchStrategy.PPR;if(n===s.FetchStrategy.PPR&&!H(t.fetchStrategy,r.root.tree.prefetchHints))return 2;let i=r.root.head;if(((r.root.tree.prefetchHints&l.PrefetchHint.HeadOutlined)!=0||C(n,r)&&!M(n,i))&&0===F(e,t,r,i,null,n)||0===function e(t,r,n,a,i,c,f){if(!(0,o.doesRouteStructureMatch)(a,i)||(0,u.compareParams)(a.varyPath,i.varyPath)!==u.ParamsChange.None)return F(t,r,n,i,f===s.FetchStrategy.StaticShell?null:c,f);let d=U(t,r,n,i,c,s.FetchStrategy.PPR,!0).bundle,p=i.slots;if(null!==p){let u=a.slots;for(let[a,o]of p){let i;if(!T(r))return 0;let c=null!==d&&o.prefetchHints&l.PrefetchHint.ParentInlinedIntoSelf?d:null;if(null!==u&&(i=u.get(a)),0===(void 0!==i?e(t,r,n,i,o,c,f):F(t,r,n,o,f===s.FetchStrategy.StaticShell?null:c,f)))return 0}}return 2}(e,t,r,t.renderTreeAtTimeOfPrefetch.tree,a,null,n))return 0;if(C(n,r)){let u=n===s.FetchStrategy.StaticShell?s.FetchStrategy.RuntimeShell:s.FetchStrategy.PPRRuntime,l=t.spawnedRuntimePrefetches;if(null!==l){let n=new Map;D(e,t,r,i,!1,n,u);let s=function e(t,r,n,a,u,l,o){if(u.has(a.requestKey))return D(t,r,n,a,!1,l,o);let i={},s=a.slots;if(null!==s)for(let[a,c]of s)i[a]=e(t,r,n,c,u,l,o);let c=[a.segment,i,null,null];return 0!==a.prefetchHints&&(c[4]=a.prefetchHints),c}(e,t,r,a,l,n,u);n.size>0&&O((0,o.fetchSegmentPrefetchesUsingRuntimeRequest)(t,r,u,s,n))}}return 2}case s.FetchStrategy.Full:case s.FetchStrategy.PPRRuntime:case s.FetchStrategy.LoadingBoundary:{if(1===t.phase)return 2;let i=new Map,c=r.root.head;D(e,t,r,c,!1,i,n===s.FetchStrategy.LoadingBoundary?s.FetchStrategy.Full:n);let f=function e(t,r,n,a,i,c,f){let d=a.slots,p=i.slots,h={};if(null!==p)for(let[a,i]of p){let p=d?.get(a);h[a]=function(t,r,n,a,i,c,f){if(void 0!==a&&(0,o.doesRouteStructureMatch)(a,i)&&(0,u.compareParams)(a.varyPath,i.varyPath)===u.ParamsChange.None)return e(t,r,n,a,i,c,f);switch(f){case s.FetchStrategy.LoadingBoundary:if((i.prefetchHints&(l.PrefetchHint.SegmentHasLoadingBoundary|l.PrefetchHint.SubtreeHasLoadingBoundary))!=0)return function e(t,r,n,a,u,i){let c=null===u?"inside-shared-layout":null,f=(0,o.readOrCreateSegmentCacheEntry)(t,r.segmentCacheMap,r.fetchStrategy,a);switch(f.status){case o.EntryStatus.Empty:{let e=(0,o.upgradeToPendingSegment)(f,s.FetchStrategy.LoadingBoundary);i.set(a.requestKey,e),L(r,e),"refetch"!==u&&(c=u="refetch");break}case o.EntryStatus.Fulfilled:if((a.prefetchHints&l.PrefetchHint.SegmentHasLoadingBoundary)!=0)return(0,o.convertRouteTreeToFlightRouterState)(a);break;case o.EntryStatus.Pending:L(r,f);case o.EntryStatus.Rejected:}let d={};if(null!==a.slots)for(let[l,o]of a.slots)d[l]=e(t,r,n,o,u,i);let p=[a.segment,d,null,c];return 0!==a.prefetchHints&&(p[4]=a.prefetchHints),p}(t,r,n,i,null,c);return(0,o.convertRouteTreeToFlightRouterState)(i);case s.FetchStrategy.PPRRuntime:case s.FetchStrategy.Full:return D(t,r,n,i,!1,c,f)}}(t,r,n,p,i,c,f)}let y=[i.segment,h,null,null];return 0!==i.prefetchHints&&(y[4]=i.prefetchHints),y}(e,t,r,t.renderTreeAtTimeOfPrefetch.tree,a,i,n);return i.size>0&&O((0,o.fetchSegmentPrefetchesUsingRuntimeRequest)(t,r,n,f,i)),2}}}}return 2}(e,t,n);if(0!==a&&""!==r.search){let n=new URL(r.pathname,location.origin),a=(0,i.createCacheKey)(n.href,r.nextUrl),u=(0,o.readOrCreateRouteCacheEntry)(e,t,a);switch(u.status){case o.EntryStatus.Empty:(t.priority===s.PrefetchPriority.Background||(t.hasBackgroundWork=!0,0))&&(u.status=o.EntryStatus.Pending,O((0,o.fetchRouteOnCacheMiss)(u,a)));case o.EntryStatus.Pending:case o.EntryStatus.Fulfilled:case o.EntryStatus.Rejected:}}return 2===a&&t.hasPendingResponses?1:a}(e,t),n=t.hasBackgroundWork;switch(t.hasBackgroundWork=!1,t.hasPendingResponses=!1,t.spawnedRuntimePrefetches=null,r){case 0:return;case 1:K(d),t=$(d);continue;case 2:if(2===t.phase){let r=(0,o.readRouteCacheEntry)(e,t.key),n=null!==r&&r.status===o.EntryStatus.Fulfilled&&(r.root.tree.prefetchHints&l.PrefetchHint.SubtreeHasPartialPrefetching)!=0;t.phase=+!!n,q(d,t)}else 1===t.phase?(t.phase=0,q(d,t)):n?(t.priority=s.PrefetchPriority.Background,q(d,t)):K(d);t=$(d);continue}}null===t&&0===p&&(0,c.cleanup)()}function C(e,t){return e===s.FetchStrategy.StaticShell||(t.root.tree.prefetchHints&l.PrefetchHint.SubtreeHasPartialPrefetching)!=0}function M(e,t){let{prefetchHints:r}=t;switch(e){case s.FetchStrategy.StaticShell:return(r&l.PrefetchHint.ShouldAttemptStaticShell)!=0;case s.FetchStrategy.PPR:return(r&l.PrefetchHint.ShouldAttemptStaticPrefetch)!=0;default:return!1}}function x(e,t){return(0,o.canNewFetchStrategyProvideMoreContent)(e.fetchStrategy,t===s.FetchStrategy.StaticShell?s.FetchStrategy.RuntimeShell:s.FetchStrategy.PPRRuntime)}function N(e,t,r,n,a){if(!((r.fetchStrategy===s.FetchStrategy.StaticShell||r.fetchStrategy===s.FetchStrategy.RuntimeShell)&&M(a,n)&&(0,o.canNewFetchStrategyProvideMoreContent)(r.fetchStrategy,a)))return!1;let u=(0,o.readOrCreateRevalidatingSegmentEntry)(e,t,a,n);return u.status===o.EntryStatus.Empty||u.status===o.EntryStatus.Pending}function I(e,t){null===e.spawnedRuntimePrefetches?e.spawnedRuntimePrefetches=new Set([t]):e.spawnedRuntimePrefetches.add(t)}function F(e,t,r,n,a,u){let o=function(e,t,r,n,a,u){if(u===s.FetchStrategy.PPR&&!H(t.fetchStrategy,r.root.tree.prefetchHints))return null;let o=C(u,r);if(o&&!M(u,n))return I(t,n.requestKey),null!==a&&function e(t,r,n,a,u,o){let i=U(t,r,n,a,u,o,!1).bundle;if(null!==i&&null!==a.slots){for(let u of a.slots.values())if(u.prefetchHints&l.PrefetchHint.ParentInlinedIntoSelf)return void e(t,r,n,u,i,o)}}(e,t,r,n,a,u),null;let i=U(e,t,r,n,a,u,!0);return o&&i.needsRuntimeRequest?(I(t,n.requestKey),null):i}(e,t,r,n,a,u);if(null===o)return 2;let i=o.bundle,c=n.slots;if(null!==c)for(let n of c.values()){if(!T(t))return 0;let a=null!==i&&n.prefetchHints&l.PrefetchHint.ParentInlinedIntoSelf?i:null;if(0===F(e,t,r,n,a,u))return 0}return 2}function L(e,t){e.hasPendingResponses=!0,null===t.blockedTasks?t.blockedTasks=new Set([e]):t.blockedTasks.add(e)}function D(e,t,r,n,a,u,l){let i=(0,o.readOrCreateSegmentCacheEntry)(e,t.segmentCacheMap,l,n),c=null;switch(i.status){case o.EntryStatus.Empty:if(l===s.FetchStrategy.Full&&null!==(0,o.attemptToFulfillDynamicSegmentFromBFCache)(e,i,n))break;c=(0,o.upgradeToPendingSegment)(i,l);break;case o.EntryStatus.Fulfilled:if(i.isPartial&&(0,o.canNewFetchStrategyProvideMoreContent)(i.fetchStrategy,l)){if(l===s.FetchStrategy.Full&&null!==(0,o.attemptToUpgradeSegmentFromBFCache)(e,t.segmentCacheMap,n))break;c=k(e,t,n,l)}break;case o.EntryStatus.Pending:case o.EntryStatus.Rejected:(0,o.canNewFetchStrategyProvideMoreContent)(i.fetchStrategy,l)&&(c=k(e,t,n,l)),i.status===o.EntryStatus.Pending&&L(t,i)}null!==c&&L(t,c);let f={};if(null!==n.slots)for(let[o,i]of n.slots)f[o]=D(e,t,r,i,a||null!==c,u,l);null!==c&&u.set(n.requestKey,c);let d=a||null===c?null:"refetch",p=[n.segment,f,null,d];return 0!==n.prefetchHints&&(p[4]=n.prefetchHints),p}function U(e,t,r,n,a,u,i){if(n.prefetchHints&l.StaticPrefetchDisabled)return{bundle:{tree:null,entry:null,parent:a},needsRuntimeRequest:!1};let c=(0,o.readOrCreateSegmentCacheEntry)(e,t.segmentCacheMap,u,n);if(n.prefetchHints&l.PrefetchHint.InlinedIntoChild)return c.status===o.EntryStatus.Pending&&L(t,c),{bundle:{tree:n,entry:c,parent:a},needsRuntimeRequest:c.status===o.EntryStatus.Fulfilled&&x(c,u)&&!N(e,t.segmentCacheMap,c,n,u)};let f=a;n.prefetchHints&l.PrefetchHint.HeadInlinedIntoSelf&&(f={tree:r.root.head,entry:(0,o.readOrCreateSegmentCacheEntry)(e,t.segmentCacheMap,u,r.root.head),parent:a});let d={tree:n,entry:c,parent:f};return{bundle:null,needsRuntimeRequest:function(e,t,r,n,a,u,l,i){let c=!1,f=null,d=u;for(;null!==d;){let n=d.entry,a=d.tree;if(null===n||null===a){d=d.parent;continue}switch(n.status){case o.EntryStatus.Empty:{let e=(0,o.upgradeToPendingSegment)(n,l);null===f&&(f=new Map),f.set(a.requestKey,e),L(t,e);break}case o.EntryStatus.Pending:if(i&&l===s.FetchStrategy.PPR&&(0,o.canNewFetchStrategyProvideMoreContent)(n.fetchStrategy,l)){let r=(0,o.readOrCreateRevalidatingSegmentEntry)(e,t.segmentCacheMap,l,a);if(r.status===o.EntryStatus.Empty){let e=(0,o.upgradeToPendingSegment)(r,l);null===f&&(f=new Map),f.set(a.requestKey,e),L(t,e)}}L(t,n);break;case o.EntryStatus.Rejected:if(i&&l===s.FetchStrategy.PPR&&(0,o.canNewFetchStrategyProvideMoreContent)(n.fetchStrategy,l)){let r=(0,o.readOrCreateRevalidatingSegmentEntry)(e,t.segmentCacheMap,l,a);if(r.status===o.EntryStatus.Empty){let e=(0,o.upgradeToPendingSegment)(r,l);null===f&&(f=new Map),f.set(a.requestKey,e),L(t,e)}}break;case o.EntryStatus.Fulfilled:{let u=!1;if(C(l,r)){let r=x(n,l),o=N(e,t.segmentCacheMap,n,a,l);r&&!o&&(c=!0,u=!0)}let d=l===s.FetchStrategy.PPR&&n.isUpgradeableISRFallback&&(t.fallbackRetryStatus===o.EntryStatus.Empty||t.fallbackRetryStatus===o.EntryStatus.Fulfilled);if(i&&!u&&(n.isPartial&&(0,o.canNewFetchStrategyProvideMoreContent)(n.fetchStrategy,l)||d)){let r=(0,o.readOrCreateRevalidatingSegmentEntry)(e,t.segmentCacheMap,l,a);if(r.status===o.EntryStatus.Empty){let e=(0,o.upgradeToPendingSegment)(r,l);null===f&&(f=new Map),f.set(a.requestKey,e),L(t,e)}else r.status===o.EntryStatus.Pending&&L(t,r)}}}d=d.parent}return null!==f&&O((0,o.fetchSegmentPrefetchesUsingStaticRequest)(t,r,n,a,f,l)),c}(e,t,r,t.key,n,d,u,i)}}function k(e,t,r,n){let a=(0,o.readOrCreateRevalidatingSegmentEntry)(e,t.segmentCacheMap,n,r);if(a.status===o.EntryStatus.Empty)return(0,o.upgradeToPendingSegment)(a,n);if((0,o.canNewFetchStrategyProvideMoreContent)(a.fetchStrategy,n)){let a=(0,o.overwriteRevalidatingSegmentCacheEntry)(e,t.segmentCacheMap,n,r);return(0,o.upgradeToPendingSegment)(a,n)}switch(a.status){case o.EntryStatus.Pending:return L(t,a),null;case o.EntryStatus.Fulfilled:case o.EntryStatus.Rejected:default:return null}}function H(e,t){return(t&l.PrefetchHint.SubtreeHasPartialPrefetching)==0||e===s.FetchStrategy.Full}function B(e,t){let r=t.priority-e.priority;if(0!==r)return r;let n=t.phase-e.phase;return 0!==n?n:t.sortId-e.sortId}function V(e,t){let r=e.length;e.push(t),t._heapIndex=r,G(e,t,r)}function $(e){return 0===e.length?null:e[0]}function K(e){if(0===e.length)return null;let t=e[0];t._heapIndex=-1;let r=e.pop();return r!==t&&(e[0]=r,r._heapIndex=0,X(e,r,0)),t}function q(e,t){let r=t._heapIndex;-1!==r&&(0===r?X(e,t,0):B(e[r-1>>>1],t)>0?G(e,t,r):X(e,t,r))}function G(e,t,r){let n=r;for(;n>0;){let r=n-1>>>1,a=e[r];if(!(B(a,t)>0))return;e[r]=t,t._heapIndex=r,e[n]=a,a._heapIndex=n,n=r}}function X(e,t,r){let n=r,a=e.length,u=a>>>1;for(;nB(u,t))lB(o,u)?(e[n]=o,o._heapIndex=n,e[l]=t,t._heapIndex=l,n=l):(e[n]=u,u._heapIndex=n,e[r]=t,t._heapIndex=r,n=r);else{if(!(lB(o,t)))return;e[n]=o,o._heapIndex=n,e[l]=t,t._heapIndex=l,n=l}}}("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)},614:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),r(4678),("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)},621:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"createRenderSearchParamsFromClient",{enumerable:!0,get:function(){return n}});let n=r(540).createRenderSearchParamsFromClient;("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)},633:(e,t,r)=>{"use strict";!function e(){if("u">typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=r(5420)},660:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"appBootstrap",{enumerable:!0,get:function(){return u}});let n=r(9431),a=r(6674);function u(e){var t,r;let u=(0,n.getAssetPrefix)();t=self.__next_s,r=()=>{e(u)},t&&t.length?t.reduce((e,[t,r])=>e.then(()=>new Promise((e,n)=>{let u=document.createElement("script");r&&(0,a.setAttributesFromProps)(u,r),t?(u.src=t,u.onload=()=>e(),u.onerror=n):r&&(u.innerHTML=r.children,setTimeout(e)),document.head.appendChild(u)})),Promise.resolve()).catch(e=>{console.error(e)}).then(()=>{r()}):r()}window.next={version:"16.4.3",appDir:!0},("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)},711:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={getNavigationBuildId:function(){return l},setNavigationBuildId:function(){return u}};for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]});let a="";function u(e){a=e}function l(){return a}("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)},744:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={SERVER_REFERENCE_ID_LENGTH:function(){return a},extractInfoFromServerReferenceId:function(){return l},mightBeServerReferenceId:function(){return u},omitUnusedArgs:function(){return o}};for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]});let a=42;function u(e){return e.length===a}function l(e){let t=parseInt(e.slice(0,2),16),r=t>>1&63,n=Array(6);for(let e=0;e<6;e++){let t=r>>5-e&1;n[e]=1===t}return{type:1==(t>>7&1)?"use-cache":"server-action",usedArgs:n,hasRestArgs:1==(1&t)}}function o(e,t){let r=Array(e.length),n=0;for(let a=0;a=6&&t.hasRestArgs)&&(r[a]=e[a],n=a+1);return r.length=n,r}},882:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"callServer",{enumerable:!0,get:function(){return l}});let n=r(8479),a=r(498),u=r(6651);async function l(e,t){return new Promise((r,l)=>{(0,n.startTransition)(()=>{(0,u.dispatchAppRouterAction)({type:a.ACTION_SERVER_ACTION,actionId:e,actionArgs:t,resolve:r,reject:l})})})}("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)},967:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={default:function(){return l},getProperError:function(){return o}};for(var a in n)Object.defineProperty(t,a,{enumerable:!0,get:n[a]});let u=r(4593);function l(e){return"object"==typeof e&&null!==e&&"name"in e&&"message"in e}function o(e){let t;return l(e)?e:Error((0,u.isPlainObject)(e)?(t=new WeakSet,JSON.stringify(e,(e,r)=>{if("object"==typeof r&&null!==r){if(t.has(r))return"[Circular]";t.add(r)}return r})):e+"")}},1014:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={canonicalizeURLPart:function(){return g},doesStaticSegmentAppearInURL:function(){return v},getCacheKeyForDynamicParam:function(){return m},getParamValueFromCacheKey:function(){return P},getPathnameFromRequestURL:function(){return y},getRenderedPathname:function(){return h},getRenderedSearch:function(){return p},normalizeRenderedSearch:function(){return d},parseDynamicParamFromURLPart:function(){return _},urlSearchParamsToParsedUrlQuery:function(){return S},urlToUrlWithoutFlightMarker:function(){return b}};for(var a in n)Object.defineProperty(t,a,{enumerable:!0,get:n[a]});let u=r(5787),l=r(5488),o=r(1773),i=r(6630),s=r(8830),c=r(7229),f=r(5859);function d(e){let t=S(new URLSearchParams(e));return(0,f.getRenderedSearch)(t)}function p(e){let t=e.headers.get(o.NEXT_REWRITTEN_QUERY_HEADER);return null!==t?d(t):d(b(new URL(e.url)).search)}function h(e){let t=e.headers.get(o.NEXT_REWRITTEN_PATH_HEADER);if(null!==t)return t;let r=b(new URL(e.url)).pathname;return(0,i.hasBasePath)(r)?(0,c.removeBasePath)(r):r}function y(e){let t=e.pathname;return(0,i.hasBasePath)(t)?(0,c.removeBasePath)(t):t}function g(e){try{return encodeURIComponent(decodeURIComponent(e))}catch{return e}}function _(e,t,r){switch(e){case"c":return rg(e)):[];case"ci(..)(..)":case"ci(.)":case"ci(..)":case"ci(...)":{let n=e.length-2;return r0===t?g(e.slice(n)):g(e)):[]}case"oc":return rg(e)):null;case"d":if(r>=t.length)return"";return g(t[r]);case"di(..)(..)":case"di(.)":case"di(..)":case"di(...)":{let n=e.length-2;if(r>=t.length)return"";return g(t[r].slice(n))}default:return""}}function v(e){return!(e===l.ROOT_SEGMENT_REQUEST_KEY||e===u.PAGE_SEGMENT_KEY||"("===e[0]&&e.endsWith(")"))&&e!==u.DEFAULT_SEGMENT_KEY&&"/_not-found"!==e}function m(e){return"string"==typeof e?e:null===e?"":e.join("/")}function b(e){let t=new URL(e);if(t.searchParams.delete(o.NEXT_RSC_UNION_QUERY),t.pathname.endsWith(".txt")){let{pathname:e}=t,r=e.endsWith("/index.txt")?9:4;t.pathname=(0,s.normalizePathTrailingSlash)(e.slice(0,-r))}return t}function P(e,t){return"c"===t||"oc"===t?e.split("/"):e}function S(e){let t={};for(let[r,n]of e.entries())void 0===t[r]?t[r]=n:Array.isArray(t[r])?t[r].push(n):t[r]=[t[r],n];return 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)},1032:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AppRouterAnnouncer",{enumerable:!0,get:function(){return l}});let n=r(8479),a=r(3838),u="next-route-announcer";function l({tree:e}){let[t,r]=(0,n.useState)(null);(0,n.useEffect)(()=>(r(function(){let e=document.getElementsByName(u)[0];if(e?.shadowRoot?.childNodes[0])return e.shadowRoot.childNodes[0];{let e=document.createElement(u);e.style.cssText="position:absolute";let t=document.createElement("div");return t.ariaLive="assertive",t.id="__next-route-announcer__",t.role="alert",t.style.cssText="position:absolute;border:0;height:1px;margin:-1px;padding:0;width:1px;clip:rect(0 0 0 0);overflow:hidden;white-space:nowrap;word-wrap:normal",e.attachShadow({mode:"open"}).appendChild(t),document.body.appendChild(e),t}}()),()=>{let e=document.getElementsByTagName(u)[0];e?.isConnected&&document.body.removeChild(e)}),[]);let[o,i]=(0,n.useState)(""),s=(0,n.useRef)(void 0);return(0,n.useEffect)(()=>{let e="";if(document.title)e=document.title;else{let t=document.querySelector("h1");t&&(e=t.innerText||t.textContent||"")}void 0!==s.current&&s.current!==e&&i(e),s.current=e},[e]),t?(0,a.createPortal)(o,t):null}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},1067:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"pathHasPrefix",{enumerable:!0,get:function(){return a}});let n=r(1939);function a(e,t){if("string"!=typeof e)return!1;let{pathname:r}=(0,n.parsePath)(e);return r===t||r.startsWith(t+"/")}},1096:(e,t,r)=>{"use strict";{let t=r(5323);e.exports=Array.isArray(t)?t:[t]}},1113:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={getLastCommittedTree:function(){return u},setLastCommittedTree:function(){return l}};for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]});let a=null;function u(){return a}function l(e){a=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)},1147:(e,t,r)=>{"use strict";function n(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(n=function(e){return e?r:t})(e)}function a(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=n(t);if(r&&r.has(e))return r.get(e);var a={__proto__:null},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if("default"!==l&&Object.prototype.hasOwnProperty.call(e,l)){var o=u?Object.getOwnPropertyDescriptor(e,l):null;o&&(o.get||o.set)?Object.defineProperty(a,l,o):a[l]=e[l]}return a.default=e,r&&r.set(e,a),a}r.r(t),r.d(t,{_:()=>a})},1178:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={IDLE_LINK_STATUS:function(){return f},PENDING_LINK_STATUS:function(){return c},getLinkForCurrentNavigation:function(){return h},mountFormInstance:function(){return P},mountLinkInstance:function(){return b},onLinkVisibilityChanged:function(){return R},onNavigationIntent:function(){return E},pingVisibleLinks:function(){return O},setLinkForCurrentNavigation:function(){return d},unmountLinkForCurrentNavigation:function(){return p},unmountPrefetchableInstance:function(){return S}};for(var a in n)Object.defineProperty(t,a,{enumerable:!0,get:n[a]});let u=r(3547),l=r(8146),o=r(607),i=r(8479),s=null,c={pending:!0},f={pending:!1};function d(e){(0,i.startTransition)(()=>{s?.setOptimisticLinkStatus(f),e?.setOptimisticLinkStatus(c),s=e})}function p(e){s===e&&(s=null)}function h(){return s}let y="function"==typeof WeakMap?new WeakMap:new Map,g=new Set,_="function"==typeof IntersectionObserver?new IntersectionObserver(function(e){for(let t=e.length-1;t>=0;t--){let r=e[t],n=r.intersectionRatio>0;R(r.target,n)}},{rootMargin:"200px"}):null;function v(e,t){void 0!==y.get(e)&&S(e),y.set(e,t),null!==_&&_.observe(e)}function m(e){{let{createPrefetchURL:t}=r(3670);try{return t(e)}catch{return("function"==typeof reportError?reportError:console.error)(`Cannot prefetch '${e}' because it cannot be converted to a URL.`),null}}}function b(e,t,r,n,a,u,l){if(a){let a=m(t);if(null!==a){let t={router:r,fetchStrategy:n,isVisible:!1,prefetchTask:null,prefetchHref:a.href,setOptimisticLinkStatus:u,ownerStack:l};return v(e,t),t}}return{router:r,fetchStrategy:n,isVisible:!1,prefetchTask:null,prefetchHref:null,setOptimisticLinkStatus:u,ownerStack:l}}function P(e,t,r,n){let a=m(t);null===a||v(e,{router:r,fetchStrategy:n,isVisible:!1,prefetchTask:null,prefetchHref:a.href,setOptimisticLinkStatus:null})}function S(e){let t=y.get(e);if(void 0!==t){y.delete(e),g.delete(t);let r=t.prefetchTask;null!==r&&(0,o.cancelPrefetchTask)(r)}null!==_&&_.unobserve(e)}function R(e,t){let r=y.get(e);void 0!==r&&(r.isVisible=t,t?g.add(r):g.delete(r),T(r,u.PrefetchPriority.Default))}function E(e,t){let r=y.get(e);void 0!==r&&void 0!==r&&T(r,u.PrefetchPriority.Intent)}function T(e,t){{let n=e.prefetchTask;if(!e.isVisible){null!==n&&(0,o.cancelPrefetchTask)(n);return}let{getCurrentAppRouterState:a}=r(5170),u=a();if(null!==u)if(null===n){let r=u.nextUrl,n=(0,l.createCacheKey)(e.prefetchHref,r);e.prefetchTask=(0,o.schedulePrefetchTask)(n,u.root,e.fetchStrategy,t,null,null)}else(0,o.reschedulePrefetchTask)(n,u.root,e.fetchStrategy,t)}}function O(e,t){for(let r of g){let n=r.prefetchTask;if(null!==n&&!(0,o.isPrefetchTaskDirty)(n,e,t))continue;null!==n&&(0,o.cancelPrefetchTask)(n);let a=(0,l.createCacheKey)(r.prefetchHref,e);r.prefetchTask=(0,o.schedulePrefetchTask)(a,t,r.fetchStrategy,u.PrefetchPriority.Default,null,null)}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},1198:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={DYNAMIC_STALETIME_MS:function(){return i},STATIC_STALETIME_MS:function(){return s},navigateReducer:function(){return c}};for(var a in n)Object.defineProperty(t,a,{enumerable:!0,get:n[a]});let u=r(7614),l=r(9596),o=r(8412),i=1e3*Number("0"),s=(0,l.getStaleTimeMs)(Number("300"));function c(e,t){let{url:r,isExternalUrl:n,navigateType:a,scrollBehavior:l}=t;if(n||document.getElementById("__next-page-redirect"))return(0,u.completeHardNavigation)(e,r,a);let i=new URL(e.canonicalUrl,location.origin),s=e.renderedSearch;return(0,u.navigate)(e,r,i,s,e.root,e.tree,e.nextUrl,o.FreshnessPolicy.Default,l,a)}("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)},1210:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={REDIRECT_ERROR_CODE:function(){return l},isRedirectError:function(){return o}};for(var a in n)Object.defineProperty(t,a,{enumerable:!0,get:n[a]});let u=r(2412),l="NEXT_REDIRECT";function o(e){if("object"!=typeof e||null===e||!("digest"in e)||"string"!=typeof e.digest)return!1;let t=e.digest.split(";"),[r,n]=t,a=t.slice(2,-2).join(";"),o=Number(t.at(-2));return r===l&&("replace"===n||"push"===n)&&"string"==typeof a&&!isNaN(o)&&o in u.RedirectStatusCode}("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)},1225:(e,t,r)=>{"use strict";e.exports=r(8962)},1265:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,n={PrefetchHint:function(){return u},StaticAttemptHints:function(){return o},StaticPrefetchDisabled:function(){return l},SubtreePrefetchHints:function(){return i},propagateSubtreeBits:function(){return s}};for(var a in n)Object.defineProperty(t,a,{enumerable:!0,get:n[a]});var u=((r={})[r.SubtreeHasPartialPrefetching=2]="SubtreeHasPartialPrefetching",r[r.SegmentHasLoadingBoundary=4]="SegmentHasLoadingBoundary",r[r.SubtreeHasLoadingBoundary=8]="SubtreeHasLoadingBoundary",r[r.IsRootLayoutOrAbove=16]="IsRootLayoutOrAbove",r[r.ParentInlinedIntoSelf=32]="ParentInlinedIntoSelf",r[r.InlinedIntoChild=64]="InlinedIntoChild",r[r.HeadInlinedIntoSelf=128]="HeadInlinedIntoSelf",r[r.HeadOutlined=256]="HeadOutlined",r[r.InliningHintsStale=512]="InliningHintsStale",r[r.PrefetchDisabled=1024]="PrefetchDisabled",r[r.SubtreeHasInstantFalse=8192]="SubtreeHasInstantFalse",r[r.ShouldAttemptStaticShell=16384]="ShouldAttemptStaticShell",r[r.ShouldAttemptStaticPrefetch=32768]="ShouldAttemptStaticPrefetch",r[r.IsClosedParam=65536]="IsClosedParam",r[r.SubtreeHasClosedParams=131072]="SubtreeHasClosedParams",r);let l=1024,o=49152,i=139274;function s(e,t){return 2&t&&(e|=2),12&t&&(e|=8),8192&t&&(e|=8192),196608&t&&(e|=131072),e}},1406:(e,t,r)=>{"use strict";var n=r(2061),a=Symbol.for("react.transitional.element"),u=Symbol.for("react.portal"),l=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),s=Symbol.for("react.consumer"),c=Symbol.for("react.context"),f=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),p=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),y=Symbol.for("react.activity"),g=Symbol.for("react.view_transition"),_=Symbol.iterator,v={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m=Object.assign,b={};function P(e,t,r){this.props=e,this.context=t,this.refs=b,this.updater=r||v}function S(){}function R(e,t,r){this.props=e,this.context=t,this.refs=b,this.updater=r||v}P.prototype.isReactComponent={},P.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},P.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},S.prototype=P.prototype;var E=R.prototype=new S;E.constructor=R,m(E,P.prototype),E.isPureReactComponent=!0;var T=Array.isArray;function O(){}var j={H:null,A:null,T:null,S:null},w=Object.prototype.hasOwnProperty;function A(e,t,r){var n=r.ref;return{$$typeof:a,type:e,key:t,ref:void 0!==n?n:null,props:r}}function C(e){return"object"==typeof e&&null!==e&&e.$$typeof===a}var M=/\/+/g;function x(e,t){var r,n;return"object"==typeof e&&null!==e&&null!=e.key?(r=""+e.key,n={"=":"=0",":":"=2"},"$"+r.replace(/[=:]/g,function(e){return n[e]})):t.toString(36)}function N(e,t,r){if(null==e)return e;var n=[],l=0;return!function e(t,r,n,l,o){var i,s,c,f=typeof t;("undefined"===f||"boolean"===f)&&(t=null);var d=!1;if(null===t)d=!0;else switch(f){case"bigint":case"string":case"number":d=!0;break;case"object":switch(t.$$typeof){case a:case u:d=!0;break;case h:return e((d=t._init)(t._payload),r,n,l,o)}}if(d)return o=o(t),d=""===l?"."+x(t,0):l,T(o)?(n="",null!=d&&(n=d.replace(M,"$&/")+"/"),e(o,r,n,"",function(e){return e})):null!=o&&(C(o)&&(i=o,s=n+(null==o.key||t&&t.key===o.key?"":(""+o.key).replace(M,"$&/")+"/")+d,o=A(i.type,s,i.props)),r.push(o)),1;d=0;var p=""===l?".":l+":";if(T(t))for(var y=0;y{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={createClientParams:function(){return u.createRenderParamsFromClient},createClientSearchParams:function(){return l.createRenderSearchParamsFromClient}};for(var a in n)Object.defineProperty(t,a,{enumerable:!0,get:n[a]});let u=r(3934),l=r(621);("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)},1473:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"unstable_rethrow",{enumerable:!0,get:function(){return function e(t){if((0,a.isNextRouterError)(t)||(0,n.isBailoutToCSRError)(t))throw t;t instanceof Error&&"cause"in t&&e(t.cause)}}});let n=r(8422),a=r(5730);("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)},1478:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ClientPageRoot",{enumerable:!0,get:function(){return s}});let n=r(6407),a=r(2035),u=r(8479),l=r(1014),o=r(7006),i=r(1446);function s({Component:e,serverProvidedParams:t}){let r,c;if(null!==t)r=t.searchParams,c=t.params;else{let e=(0,u.use)(a.LayoutRouterContext);c=null!==e?e.parentParams:{},r=(0,l.urlSearchParamsToParsedUrlQuery)((0,u.use)(o.SearchParamsContext))}let f=(0,i.createClientSearchParams)(r),d=(0,i.createClientParams)(c);return(0,n.jsx)(e,{params:d,searchParams:f})}("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)},1522:e=>{var t={156:function(e){var t,r,n,a=e.exports={};function u(){throw Error("setTimeout has not been defined")}function l(){throw Error("clearTimeout has not been defined")}try{t="function"==typeof setTimeout?setTimeout:u}catch(e){t=u}try{r="function"==typeof clearTimeout?clearTimeout:l}catch(e){r=l}function o(e){if(t===setTimeout)return setTimeout(e,0);if((t===u||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(r){try{return t.call(null,e,0)}catch(r){return t.call(this,e,0)}}}var i=[],s=!1,c=-1;function f(){s&&n&&(s=!1,n.length?i=n.concat(i):c=-1,i.length&&d())}function d(){if(!s){var e=o(f);s=!0;for(var t=i.length;t;){for(n=i,i=[];++c1)for(var r=1;r{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ClientSegmentRoot",{enumerable:!0,get:function(){return o}});let n=r(6407),a=r(2035),u=r(8479),l=r(1446);function o({Component:e,slots:t,serverProvidedParams:r}){let i;if(null!==r)i=r.params;else{let e=(0,u.use)(a.LayoutRouterContext);i=null!==e?e.parentParams:{}}let s=(0,l.createClientParams)(i);return(0,n.jsx)(e,{...t,params:s})}("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)},1628:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={SEARCH_PARAMS_VARY_ID:function(){return l},createVaryParams:function(){return s},decodeVaryParams:function(){return i},readVaryParams:function(){return c}};for(var a in n)Object.defineProperty(t,a,{enumerable:!0,get:n[a]});let u=r(3342),l=0;function o(e,t){let r=e[Symbol.asyncIterator]();for(;;){let e=(0,u.readFulfilledValue)(r.next(),void 0);if(void 0===e||e.done)return;t.add(e.value)}}function i(e,t){if(null==e||null==t)return null;let r=new Set;return o(e,r),o(t,r),s(r)}function s(e){let t=Promise.resolve(e);return t.status="fulfilled",t.value=e,t}function c(e){return(0,u.readFulfilledValue)(e,null)}},1654:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={createLinkPrefetchPartialError:function(){return u},createUnrenderedSegmentError:function(){return a}};for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]});function a(e,t){let r=`Route "${e}": Could not validate that a segment in your UI has instant navigation.`;if(t.length>0){let e=1===t.length?"Dropped segment":"Dropped segments";r+=` + +This segment was dropped from rendering. Issues that would prevent instant navigation will go undetected. + +${e}: +${t.map(e=>` ${e}`).join("\n")} + +Ways to fix this: + - [render] Render the dropped segment + - [ignore] Set \`export const instant = false\` to opt the dropped segment out of instant-navigation validation + +Learn more: https://nextjs.org/docs/messages/instant-unrendered-segment`}return Error(r)}function u(e){return Error(`Next.js encountered dynamic data during prefetching for "${e}". + +This will lead to slower, more expensive prefetches. + +Ways to fix this: + - [upgrade] Opt into Partial Prefetching by exporting \`const prefetch = 'partial'\` from the page or layout, or by setting \`partialPrefetching: true\` in next.config to opt the whole app in + - [disable] Remove \`prefetch={true}\` from the to use the default prefetch + - [ignore] Set \`export const instant = false\` to opt the route out of instant-navigation validation + +Learn more: https://nextjs.org/docs/messages/instant-link-prefetch-partial`)}},1743:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useRouterBFCache",{enumerable:!0,get:function(){return a}});let n=r(8479);function a(e,t,r){let[a,u]=(0,n.useState)(()=>({tree:e,renderTree:t,stateKey:r,next:null}));if(a.tree===e)return a;let l={tree:e,renderTree:t,stateKey:r,next:null},o=1,i=a,s=l;for(;null!==i&&o<1;){if(i.stateKey===r){s.next=i.next;break}{o++;let e={tree:i.tree,renderTree:i.renderTree,stateKey:i.stateKey,next:null};s.next=e,s=e}i=i.next}return u(l),l}("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)},1773:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={ACTION_HEADER:function(){return u},FLIGHT_HEADERS:function(){return p},NEXT_ACTION_NOT_FOUND_HEADER:function(){return b},NEXT_ACTION_REVALIDATED_HEADER:function(){return R},NEXT_DID_POSTPONE_HEADER:function(){return g},NEXT_HMR_REFRESH_HEADER:function(){return s},NEXT_HTML_REQUEST_ID_HEADER:function(){return S},NEXT_INSTANT_TEST_COOKIE:function(){return d},NEXT_IS_PRERENDER_HEADER:function(){return m},NEXT_REQUEST_ID_HEADER:function(){return P},NEXT_REWRITTEN_PATH_HEADER:function(){return _},NEXT_REWRITTEN_QUERY_HEADER:function(){return v},NEXT_ROUTER_PREFETCH_HEADER:function(){return o},NEXT_ROUTER_SEGMENT_PREFETCH_HEADER:function(){return i},NEXT_ROUTER_STALE_TIME_HEADER:function(){return y},NEXT_ROUTER_STATE_TREE_HEADER:function(){return l},NEXT_RSC_UNION_QUERY:function(){return h},NEXT_URL:function(){return c},RSC_CONTENT_TYPE_HEADER:function(){return f},RSC_HEADER:function(){return a}};for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]});let a="rsc",u="next-action",l="next-router-state-tree",o="next-router-prefetch",i="next-router-segment-prefetch",s="next-hmr-refresh",c="next-url",f="text/x-component",d="next-instant-navigation-testing",p=[a,l,o,s,i],h="_rsc",y="x-nextjs-stale-time",g="x-nextjs-postponed",_="x-nextjs-rewritten-path",v="x-nextjs-rewritten-query",m="x-nextjs-prerender",b="x-nextjs-action-not-found",P="x-nextjs-request-id",S="x-nextjs-html-request-id",R="x-action-revalidated";("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)},1793:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});let n=(0,r(6713).getDeploymentId)();globalThis.NEXT_DEPLOYMENT_ID=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)},1798:(e,t,r)=>{"use strict";function n(){throw Error("`forbidden()` is experimental and only allowed to be enabled when `experimental.authInterrupts` is enabled.")}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"forbidden",{enumerable:!0,get:function(){return n}}),r(4102).HTTP_ERROR_FALLBACK_ERROR_CODE,("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)},1939:(e,t)=>{"use strict";function r(e){let t=e.indexOf("#"),r=e.indexOf("?"),n=r>-1&&(t<0||r-1?{pathname:e.substring(0,n?r:t),query:n?e.substring(r,t>-1?t:void 0):"",hash:t>-1?e.slice(t):""}:{pathname:e,query:"",hash:""}}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"parsePath",{enumerable:!0,get:function(){return r}})},2035:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={AppRouterContext:function(){return l},GlobalLayoutRouterContext:function(){return i},LayoutRouterContext:function(){return o},MissingSlotContext:function(){return c},TemplateContext:function(){return s}};for(var a in n)Object.defineProperty(t,a,{enumerable:!0,get:n[a]});let u=r(138)._(r(8479)),l=u.default.createContext(null),o=u.default.createContext(null),i=u.default.createContext(null),s=u.default.createContext(null),c=u.default.createContext(new Set)},2061:(e,t,r)=>{"use strict";var n,a;e.exports=(null==(n=r.g.process)?void 0:n.env)&&"object"==typeof(null==(a=r.g.process)?void 0:a.env)?r.g.process:r(1522)},2074:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={ReadonlyURLSearchParams:function(){return u.ReadonlyURLSearchParams},RedirectType:function(){return d},forbidden:function(){return i.forbidden},notFound:function(){return o.notFound},permanentRedirect:function(){return l.permanentRedirect},redirect:function(){return l.redirect},unauthorized:function(){return s.unauthorized},unstable_isUnrecognizedActionError:function(){return f},unstable_rethrow:function(){return c.unstable_rethrow}};for(var a in n)Object.defineProperty(t,a,{enumerable:!0,get:n[a]});let u=r(7075),l=r(5393),o=r(7415),i=r(1798),s=r(5435),c=r(1473);function f(){throw Error("`unstable_isUnrecognizedActionError` can only be used on the client.")}let d={push:"push",replace:"replace"};("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)},2297:(e,t,r)=>{"use strict";e.exports=r(4503)},2412:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"RedirectStatusCode",{enumerable:!0,get:function(){return n}});var r,n=((r={})[r.SeeOther=303]="SeeOther",r[r.TemporaryRedirect=307]="TemporaryRedirect",r[r.PermanentRedirect=308]="PermanentRedirect",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)},2600:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={LoadingBoundaryProvider:function(){return R},default:function(){return T}};for(var a in n)Object.defineProperty(t,a,{enumerable:!0,get:n[a]});let u=r(1147),l=r(6407),o=u._(r(8479)),i=r(2035),s=r(3558),c=r(5918),f=r(7811),d=r(4790),p=r(6327);r(3405);let h=r(6841),y=r(1743);r(6900);let g=r(7006),_=r(1014),v=r(8412);function m(e,t,r){let n=e.getClientRects();if(0===n.length)return 0;let a=1/0;for(let e=0;e=r()&&a<=t?1:2}function b(e){let t=o.default.useRef(null);return(0,o.useLayoutEffect)(()=>{let{scrollRef:r,renderTree:n}=e,a=r.forceScroll?r.scrollRef:n.data.scrollRef;if(null===a||!a.current)return;let u=null,l=r.hashFragment;if(l){if(null===(u="top"===l?document.body:document.getElementById(l)??document.getElementsByName(l)[0]??null)){a.current=!1,r.onlyHashChange=!1,r.hashFragment=null;return}}else u=t.current;if(null===u)return;let o=!1;(0,f.disableSmoothScrollDuringRouteTransition)(()=>{let e=document.documentElement,t=null,r=null,n=null,i=()=>{var r;let a,u;return null===n&&(r=t,n=!Number.isFinite(u=Number.parseFloat(a=getComputedStyle(e).scrollPaddingTop))||u<0?0:a.endsWith("px")?u:a.endsWith("%")?u/100*r:0),n};(l||(t=e.clientHeight,0!==(r=m(u,t,i))))&&((o=!0,a.current=!1,l)?u.scrollIntoView():1!==r&&(e.scrollTop=0,2===m(u,t,i)&&u.scrollIntoView()))},{dontForceLayout:!0,onlyHashChange:r.onlyHashChange}),o&&(r.onlyHashChange=!1,r.hashFragment=null)},void 0),(0,l.jsx)(o.Fragment,{ref:t,children:e.children})}function P({children:e,renderTree:t}){let r=(0,o.useContext)(i.GlobalLayoutRouterContext);if(!r)throw Error("invariant global layout router not mounted");return(0,l.jsx)(b,{scrollRef:r.scrollRef,renderTree:t,children:e})}function S({tree:e,segmentPath:t,debugNameContext:r,renderTree:n,params:a,url:u,isActive:c}){let f,d=(0,o.useContext)(i.GlobalLayoutRouterContext);if((0,o.useContext)(g.NavigationPromisesContext),!d)throw Error("invariant global layout router not mounted");let p=null!==n.data.prefetchRsc?n.data.prefetchRsc:n.data.rsc,h=(0,o.useDeferredValue)(n.data.rsc,p);if((0,v.isDeferredRsc)(h)){let e=(0,o.use)(h);null===e&&(0,o.use)(s.unresolvedThenable),f=e}else null===h&&(0,o.use)(s.unresolvedThenable),f=h;let y=f;return(0,l.jsx)(i.LayoutRouterContext.Provider,{value:{parentTree:e,parentRenderTree:n,parentSegmentPath:t,parentParams:a,parentLoadingData:null,debugNameContext:r,url:u,isActive:c},children:y})}function R({loading:e,children:t}){let r=(0,o.use)(i.LayoutRouterContext);return null===r?t:(0,l.jsx)(i.LayoutRouterContext.Provider,{value:{parentTree:r.parentTree,parentRenderTree:r.parentRenderTree,parentSegmentPath:r.parentSegmentPath,parentParams:r.parentParams,parentLoadingData:e,debugNameContext:r.debugNameContext,url:r.url,isActive:r.isActive},children:t})}function E({name:e,loading:t,children:r}){if(null!==t){let n=t[0],a=t[1],u=t[2];return(0,l.jsx)(o.Suspense,{name:e,fallback:(0,l.jsxs)(l.Fragment,{children:[a,u,n]}),children:r})}return(0,l.jsx)(l.Fragment,{children:r})}function T({parallelRouterKey:e,error:t,errorStyles:r,errorScripts:n,templateStyles:a,templateScripts:u,template:f,notFound:g,forbidden:v,unauthorized:m,segmentViewBoundaries:b}){let R=(0,o.useContext)(i.LayoutRouterContext);if(!R)throw Error("invariant expected layout router to be mounted");let{parentTree:O,parentRenderTree:j,parentSegmentPath:w,parentParams:A,parentLoadingData:C,url:M,isActive:x,debugNameContext:N}=R,I=O[0],F=null===w?[e]:w.concat([I,e]),L=O[1][e],D=j.slots?.get(e);(void 0===L||void 0===D)&&(0,o.use)(s.unresolvedThenable);let U=L[0],k=(0,h.createSegmentKey)(U),H=(0,y.useRouterBFCache)(L,D,k),B=[];do{let e=H.tree,o=H.renderTree,s=H.stateKey,h=e[0],y=A;if(Array.isArray(h)){let e=h[0],t=h[1],r=h[2],n=(0,_.getParamValueFromCacheKey)(t,r);null!==n&&(y={...A,[e]:n})}let b=function(e){if("/"===e)return"/";if("string"==typeof e)if("(__SLOT__)"===e)return;else return e+"/";return e[1]+"/"}(h),R=b??N,T=void 0===b?void 0:N,O=(0,l.jsxs)(P,{renderTree:o,children:[(0,l.jsx)(c.ErrorBoundary,{errorComponent:t,errorStyles:r,errorScripts:n,children:(0,l.jsx)(E,{name:T,loading:C,children:(0,l.jsx)(p.HTTPAccessFallbackBoundary,{notFound:g,forbidden:v,unauthorized:m,children:(0,l.jsxs)(d.RedirectBoundary,{children:[(0,l.jsx)(S,{url:M,tree:e,params:y,renderTree:o,segmentPath:F,debugNameContext:R,isActive:x&&s===k}),null]})})})}),null]}),j=(0,l.jsxs)(i.TemplateContext.Provider,{value:O,children:[a,u,f]},s);B.push(j),H=H.next}while(null!==H);return B}("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)},2738:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={isRecoverableError:function(){return c},onRecoverableError:function(){return f}};for(var a in n)Object.defineProperty(t,a,{enumerable:!0,get:n[a]});let u=r(138),l=r(8422),o=u._(r(967)),i=r(9270),s=new WeakSet;function c(e){return s.has(e)}let f=e=>{let t=(0,o.default)(e)&&"cause"in e?e.cause:e;(0,l.isBailoutToCSRError)(t)||(0,i.reportGlobalError)(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)},2740:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"IconMark",{enumerable:!0,get:function(){return n}}),r(6407);let n=()=>null},2753:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addBasePath",{enumerable:!0,get:function(){return u}});let n=r(5890),a=r(8830);function u(e,t){return(0,a.normalizePathTrailingSlash)((0,n.addPathPrefix)(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)},2875:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={beginLockedNavigation:function(){return f},beginNavigationLockPrefetch:function(){return u},getCurrentNavigationGate:function(){return d},getNavigationLockSegmentCacheMap:function(){return l},getPreLockFetch:function(){return a},isNavigationLocked:function(){return c},resetNavigationLockToPending:function(){return p},resolveNavigationLockPrefetch:function(){return o},shouldRestrictNavigationToShell:function(){return h},startListeningForInstantNavigationCookie:function(){return i},updateCapturedSPAToTree:function(){return s}};for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]});function a(){return null}function u(){return null}function l(){return null}function o(e){}function i(){}function s(e,t){}function c(){return!1}function f(){return null}function d(){return null}function p(){}function h(e,t){return!1}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},2929:(e,t)=>{"use strict";function r(e){return 47===e.charCodeAt(e.length-1)&&e.length>1?e.slice(0,-1):e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"removeTrailingSlash",{enumerable:!0,get:function(){return r}})},3049:(e,t)=>{"use strict";let r,n,a;Object.defineProperty(t,"__esModule",{value:!0});var u={actionAsyncStorage:function(){return r},workAsyncStorage:function(){return n},workUnitAsyncStorage:function(){return a}};for(var l in u)Object.defineProperty(t,l,{enumerable:!0,get:u[l]});("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)},3193:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={createInitialRSCPayloadFromFallbackPrerender:function(){return o},getNextFlightSegmentPath:function(){return i},prepareFlightRouterStateForRequest:function(){return s}};for(var a in n)Object.defineProperty(t,a,{enumerable:!0,get:n[a]});let u=r(1014),l=r(8571);function o(e,t){let r=(0,u.getRenderedPathname)(e),n=(0,u.getRenderedSearch)(e),a=(0,l.createHrefFromUrl)(new URL(location.href)),o=t.t,i={c:a.split("/"),q:n,i:t.i,t:{t:function e(t,r,n){let a,l,o,i=t.s;if("string"==typeof i)a=i,l=(0,u.doesStaticSegmentAppearInURL)(i);else{let e=(0,u.parseDynamicParamFromURLPart)(i.t,r,n);a={n:i.n,t:i.t,k:(0,u.getCacheKeyForDynamicParam)(e),s:i.s},l=!0}let s=l?n+1:n,c=t.c;if(void 0!==c)for(let[t,n]of(o=new Map,c))o.set(t,e(n,r,s));let f={s:a,d:t.d};return void 0!==t.h&&(f.h=t.h),void 0!==o&&(f.c=o),f}(o.t,r.split("/").filter(e=>""!==e),0),h:o.h},m:t.m,G:t.G,S:t.S};return t.b&&(i.b=t.b),i}function i(e){return e.slice(2)}function s(e,t){return t?encodeURIComponent(JSON.stringify(e)):encodeURIComponent(JSON.stringify(function e(t){let[r,n,a,u,l]=t,o=function(e){if("string"==typeof e)return e;let[t,r,n]=e;return[t,r,n,null]}(r),i={};for(let[t,r]of Object.entries(n))i[t]=e(r);let s=[o,i];return u&&(s[2]=null,s[3]=u),void 0!==l&&(s[4]=l),s}(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)},3259:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"restoreReducer",{enumerable:!0,get:function(){return s}});let n=r(7706),a=r(8412),u=r(7614),l=r(6648),o=r(9596),i=r(3772);function s(e,t){let r,s,c=t.historyState;c?(r=c.tree,s=c.renderedSearch):(r=e.tree,s=e.renderedSearch);let f=new URL(e.canonicalUrl,location.origin),d=t.url,p=(0,n.extractPathFromFlightRouterState)(r)??d.pathname,h=Date.now(),y={separateRefreshUrls:null,scrollRef:null},g=(0,l.createNavigationSeed)(h,r,null,null,!0,null,s,null,i.UnknownDynamicStaleTime),_=(0,a.startPPRNavigation)(h,f,e.renderedSearch,e.root,g.root,a.FreshnessPolicy.HistoryTraversal,g.dynamicStaleAt,!1,y,o.segmentCacheMap,!1);return null===_?(0,u.completeHardNavigation)(e,d,"replace"):((0,a.spawnDynamicRequests)(_,d,p,a.FreshnessPolicy.HistoryTraversal,y,null,"replace",null,o.segmentCacheMap,void 0),(0,a.resetNavigationLockToPending)(),(0,u.completeTraverseNavigation)(e,d,s,_,p))}("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)},3342:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={createSkippedSegmentData:function(){return l},readFulfilledValue:function(){return o},segmentToTransportSegment:function(){return s},transportNodeToFlightRouterState:function(){return function e(t,r){let n={},a=t.c;if(void 0!==a)for(let[t,u]of a)n[t]=e(u,r);let l=[c(t.s),n];return void 0!==t.h&&(l[4]=t.h),l[0]===u.PAGE_SEGMENT_KEY&&(l[5]=r),l}},transportSegmentToSegment:function(){return c}};for(var a in n)Object.defineProperty(t,a,{enumerable:!0,get:n[a]});let u=r(5787);function l(){return{r:null,p:!0,v:null}}function o(e,t,r=t){switch(e.then(i,i),e.status){case"fulfilled":return e.value;case"rejected":return r;default:return t}}let i=()=>{};function s(e){return"string"==typeof e?e:{n:e[0],t:e[2],k:e[1],s:e[3]}}function c(e){return"string"==typeof e?e:[e.n,e.k??"",e.t,e.s]}},3358:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={HTML_LIMITED_BOT_UA_RE:function(){return u.HTML_LIMITED_BOT_UA_RE},HTML_LIMITED_BOT_UA_RE_STRING:function(){return o},getBotType:function(){return c},isBot:function(){return s}};for(var a in n)Object.defineProperty(t,a,{enumerable:!0,get:n[a]});let u=r(5560),l=/Googlebot(?!-)|Googlebot$/i,o=u.HTML_LIMITED_BOT_UA_RE.source;function i(e){return u.HTML_LIMITED_BOT_UA_RE.test(e)}function s(e){return l.test(e)||i(e)}function c(e){return l.test(e)?"dom":i(e)?"html":void 0}},3405:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={InstantValidationBoundaryContext:function(){return u.InstantValidationBoundaryContext},PlaceValidationBoundaryBelowThisLevel:function(){return u.PlaceValidationBoundaryBelowThisLevel},RenderValidationBoundaryAtThisLevel:function(){return u.RenderValidationBoundaryAtThisLevel},SlotMarker:function(){return u.SlotMarker}};for(var a in n)Object.defineProperty(t,a,{enumerable:!0,get:n[a]});let u=r(3603);("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)},3519:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={ReadonlyURLSearchParams:function(){return o.ReadonlyURLSearchParams},RedirectType:function(){return d.RedirectType},ServerInsertedHTMLContext:function(){return c.ServerInsertedHTMLContext},forbidden:function(){return d.forbidden},notFound:function(){return d.notFound},permanentRedirect:function(){return d.permanentRedirect},redirect:function(){return d.redirect},unauthorized:function(){return d.unauthorized},unstable_isUnrecognizedActionError:function(){return f.unstable_isUnrecognizedActionError},unstable_rethrow:function(){return d.unstable_rethrow},useParams:function(){return m},usePathname:function(){return _},useRouter:function(){return v},useSearchParams:function(){return g},useSelectedLayoutSegment:function(){return P},useSelectedLayoutSegments:function(){return b},useServerInsertedHTML:function(){return c.useServerInsertedHTML}};for(var a in n)Object.defineProperty(t,a,{enumerable:!0,get:n[a]});let u=r(1147)._(r(8479)),l=r(2035),o=r(7006),i=r(5787),s=r(7012),c=r(4392),f=r(7768),d=r(2074),{instrumentParamsForClientValidation:p,instrumentSearchParamsForClientValidation:h,expectCompleteParamsInClientValidation:y}={};function g(){s.useDynamicSearchParams?.("useSearchParams()");let e=(0,u.useContext)(o.SearchParamsContext);return(0,u.useMemo)(()=>e?new o.ReadonlyURLSearchParams(e):null,[e])}function _(){return s.useDynamicRouteParams?.("usePathname()"),(0,u.useContext)(o.PathnameContext)}function v(){let e=(0,u.useContext)(l.AppRouterContext);if(null===e)throw Error("invariant expected app router to be mounted");let t=(0,u.useContext)(l.LayoutRouterContext),r=t?.parentRenderTree.data.bfcacheId??0;return(0,u.useMemo)(()=>({back:e.back,forward:e.forward,refresh:e.refresh,hmrRefresh:e.hmrRefresh,push:e.push,replace:e.replace,prefetch:e.prefetch,experimental_gesturePush:e.experimental_gesturePush,bfcacheId:"_b_"+r+"_"}),[e,r])}function m(){return s.useDynamicRouteParams?.("useParams()"),(0,u.useContext)(o.PathParamsContext)}function b(e="children"){s.useDynamicRouteParams?.("useSelectedLayoutSegments()");let t=(0,u.useContext)(l.LayoutRouterContext);return t?(0,i.getSelectedLayoutSegmentPath)(t.parentTree,e):null}function P(e="children"){s.useDynamicRouteParams?.("useSelectedLayoutSegment()"),(0,u.useContext)(o.NavigationPromisesContext);let t=b(e);return(0,i.computeSelectedLayoutSegment)(t,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)},3547:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,n,a,u={FetchStrategy:function(){return s},NavigationResultTag:function(){return o},PrefetchPriority:function(){return i}};for(var l in u)Object.defineProperty(t,l,{enumerable:!0,get:u[l]});var o=((r={})[r.MPA=0]="MPA",r[r.Success=1]="Success",r[r.NoOp=2]="NoOp",r[r.Async=3]="Async",r),i=((n={})[n.Intent=2]="Intent",n[n.Default=1]="Default",n[n.Background=0]="Background",n),s=((a={})[a.LoadingBoundary=0]="LoadingBoundary",a[a.StaticShell=1]="StaticShell",a[a.RuntimeShell=2]="RuntimeShell",a[a.PPR=3]="PPR",a[a.PPRRuntime=4]="PPRRuntime",a[a.Full=5]="Full",a);("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)},3548:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={discoverKnownRoute:function(){return y},matchKnownRoute:function(){return v},resetKnownRoutes:function(){return m}};for(var a in n)Object.defineProperty(t,a,{enumerable:!0,get:n[a]});let u=r(1265),l=r(5787),o=r(9596),i=r(8091),s=r(1014),c=r(8146),f=r(5686);function d(e,t){let r=t.pattern;return null===r?null:(0,i.isValueExpired)(e,(0,o.getCurrentRouteCacheVersion)(),r)?(t.pattern=null,null):r}function p(){return{staticChildren:null,dynamicChild:null,dynamicChildParamName:null,dynamicChildParamType:null,pattern:null,hasConflictingDynamicChildren:!1,hasDynamicRewrite:!1}}let h=p();function y(e,t,r,n,a,u,l,i,s,f,d){let p=u.tree,y=(0,c.splitPathnameIntoParts)(t);if(null!==a){let c=(0,o.fulfillRouteCacheEntry)(e,a,u,l,i,s,f);return _(h,p,y,0,c,e,t,r,n,u,l,i,s,f,d),c}return _(h,p,y,0,null,e,t,r,n,u,l,i,s,f,d)}function g(e,t,r,n,a,u,l,i,s,c){return null!==e?e:(0,o.writeRouteIntoCache)(t,r,n,a,u,l,i,s,c)}function _(e,t,r,n,a,u,l,i,c,f,h,y,v,m,b){let P,S=t.segment,R=n{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"unresolvedThenable",{enumerable:!0,get:function(){return r}});let r={then:()=>{}};("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)},3603:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={InstantValidationBoundaryContext:function(){return a},PlaceValidationBoundaryBelowThisLevel:function(){return u},RenderValidationBoundaryAtThisLevel:function(){return l},SlotMarker:function(){return o}};for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]});let a=null,u=null,l=null,o=null;("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},3670:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={createPrefetchURL:function(){return i},isExternalURL:function(){return o}};for(var a in n)Object.defineProperty(t,a,{enumerable:!0,get:n[a]});let u=r(3358),l=r(2753);function o(e){return e.origin!==window.location.origin}function i(e){let t;if((0,u.isBot)(window.navigator.userAgent))return null;try{t=new URL((0,l.addBasePath)(e),window.location.href)}catch(t){throw Error(`Cannot prefetch '${e}' because it cannot be converted to a URL.`)}return o(t)?null: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)},3684:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"hasInterceptionRouteInCurrentTree",{enumerable:!0,get:function(){return function e([t,r]){if(Array.isArray(t)&&("di(..)(..)"===t[2]||"ci(..)(..)"===t[2]||"di(.)"===t[2]||"ci(.)"===t[2]||"di(..)"===t[2]||"ci(..)"===t[2]||"di(...)"===t[2]||"ci(...)"===t[2])||"string"==typeof t&&(0,n.isInterceptionRouteAppPath)(t))return!0;if(r){for(let t in r)if(e(r[t]))return!0}return!1}}});let n=r(5411);("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)},3749:(e,t)=>{"use strict";var r=Symbol.for("react.transitional.element");function n(e,t,n){var a=null;if(void 0!==n&&(a=""+n),void 0!==t.key&&(a=""+t.key),"key"in t)for(var u in n={},t)"key"!==u&&(n[u]=t[u]);else n=t;return{$$typeof:r,type:e,key:a,ref:void 0!==(t=n.ref)?t:null,props:n}}t.Fragment=Symbol.for("react.fragment"),t.jsx=n,t.jsxs=n},3772:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={UnknownDynamicStaleTime:function(){return o},computeDynamicStaleAt:function(){return i},invalidateBfCache:function(){return f},readFromBFCache:function(){return h},readFromBFCacheDuringRegularNavigation:function(){return y},updateBFCacheEntryFromDynamicResponse:function(){return p},writeToBFCache:function(){return d}};for(var a in n)Object.defineProperty(t,a,{enumerable:!0,get:n[a]});let u=r(1198),l=r(8091),o=-1;function i(e,t){return t!==o?e+1e3*t:e+u.DYNAMIC_STALETIME_MS}let s=(0,l.createCacheMap)(),c=0;function f(){c++}function d(e,t,r,n){let a={rsc:r.rsc,prefetchRsc:r.prefetchRsc,varyParams:r.varyParams,bfcacheId:r.bfcacheId,ref:null,size:100,navigatedAt:e,staleAt:n,version:c,status:l.EntryStatus.Fulfilled};(0,l.setInCacheMap)(s,t,a,!1)}function p(e,t,r){let n=(0,l.getFromCacheMap)(-1,c,s,e,!1,!1);null!==n&&n.rsc===t.rsc&&(n.staleAt=r,n.varyParams=t.varyParams)}function h(e){return(0,l.getFromCacheMap)(-1,c,s,e,!1,!1)}function y(e,t){return(0,l.getFromCacheMap)(e,c,s,t,!1,!1)}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},3838:(e,t,r)=>{"use strict";!function e(){if("u">typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=r(6134)},3917:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"createRenderParamsFromClient",{enumerable:!0,get:function(){return n}});let r=new WeakMap;function n(e){let t=r.get(e);if(t)return t;let n=Promise.resolve(e);return n.status="fulfilled",n.value=e,r.set(e,n),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)},3934:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"createRenderParamsFromClient",{enumerable:!0,get:function(){return n}});let n=r(3917).createRenderParamsFromClient;("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)},4102:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={HTTPAccessErrorStatus:function(){return a},HTTP_ERROR_FALLBACK_ERROR_CODE:function(){return l},getAccessFallbackErrorTypeByStatus:function(){return s},getAccessFallbackHTTPStatus:function(){return i},isHTTPAccessFallbackError:function(){return o}};for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]});let a={NOT_FOUND:404,FORBIDDEN:403,UNAUTHORIZED:401},u=new Set(Object.values(a)),l="NEXT_HTTP_ERROR_FALLBACK";function o(e){if("object"!=typeof e||null===e||!("digest"in e)||"string"!=typeof e.digest)return!1;let[t,r]=e.digest.split(";");return t===l&&u.has(Number(r))}function i(e){return Number(e.digest.split(";")[1])}function s(e){switch(e){case 401:return"unauthorized";case 403:return"forbidden";case 404:return"not-found";default:return}}("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)},4121:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={ACTION_SUFFIX:function(){return y},APP_DIR_ALIAS:function(){return H},CACHE_ONE_YEAR_SECONDS:function(){return C},DOT_NEXT_ALIAS:function(){return U},ESLINT_DEFAULT_DIRS:function(){return el},GSP_NO_RETURNED_VALUE:function(){return ee},GSSP_COMPONENT_MEMBER_ERROR:function(){return en},GSSP_NO_RETURNED_VALUE:function(){return et},HTML_CONTENT_TYPE_HEADER:function(){return u},INFINITE_CACHE:function(){return M},INSTRUMENTATION_HOOK_FILENAME:function(){return L},JSON_CONTENT_TYPE_HEADER:function(){return l},MATCHED_PATH_HEADER:function(){return s},MIDDLEWARE_FILENAME:function(){return x},MIDDLEWARE_LOCATION_REGEXP:function(){return N},NEXT_BODY_SUFFIX:function(){return v},NEXT_CACHE_IMPLICIT_TAG_ID:function(){return w},NEXT_CACHE_REVALIDATED_TAGS_HEADER:function(){return P},NEXT_CACHE_REVALIDATE_TAG_TOKEN_HEADER:function(){return S},NEXT_CACHE_ROOT_PARAM_TAG_ID:function(){return A},NEXT_CACHE_SOFT_TAG_MAX_LENGTH:function(){return j},NEXT_CACHE_TAGS_HEADER:function(){return b},NEXT_CACHE_TAG_MAX_ITEMS:function(){return T},NEXT_CACHE_TAG_MAX_LENGTH:function(){return O},NEXT_DATA_SUFFIX:function(){return g},NEXT_INTERCEPTION_MARKER_PREFIX:function(){return i},NEXT_META_SUFFIX:function(){return _},NEXT_NAV_DEPLOYMENT_ID_HEADER:function(){return m},NEXT_QUERY_PARAM_PREFIX:function(){return o},NEXT_RESUME_HEADER:function(){return R},NEXT_RESUME_STATE_LENGTH_HEADER:function(){return E},NON_STANDARD_NODE_ENV:function(){return ea},PAGES_DIR_ALIAS:function(){return D},PRERENDER_REVALIDATE_HEADER:function(){return c},PRERENDER_REVALIDATE_ONLY_GENERATED_HEADER:function(){return f},PROXY_FILENAME:function(){return I},PROXY_LOCATION_REGEXP:function(){return F},PUBLIC_DIR_MIDDLEWARE_CONFLICT:function(){return Y},ROOT_DIR_ALIAS:function(){return k},RSC_ACTION_CLIENT_WRAPPER_ALIAS:function(){return X},RSC_ACTION_ENCRYPTION_ALIAS:function(){return G},RSC_ACTION_PROXY_ALIAS:function(){return $},RSC_ACTION_VALIDATE_ALIAS:function(){return V},RSC_CACHE_WRAPPER_ALIAS:function(){return K},RSC_DYNAMIC_IMPORT_WRAPPER_ALIAS:function(){return q},RSC_MOD_REF_PROXY_ALIAS:function(){return B},RSC_SEGMENTS_DIR_SUFFIX:function(){return d},RSC_SEGMENT_SUFFIX:function(){return p},RSC_SUFFIX:function(){return h},SERVER_PROPS_EXPORT_ERROR:function(){return Z},SERVER_PROPS_GET_INIT_PROPS_CONFLICT:function(){return z},SERVER_PROPS_SSG_CONFLICT:function(){return Q},SERVER_RUNTIME:function(){return eo},SSG_FALLBACK_EXPORT_ERROR:function(){return eu},SSG_GET_INITIAL_PROPS_CONFLICT:function(){return W},STATIC_STATUS_PAGE_GET_INITIAL_PROPS_ERROR:function(){return J},TEXT_PLAIN_CONTENT_TYPE_HEADER:function(){return a},UNSTABLE_REVALIDATE_RENAME_ERROR:function(){return er},WEBPACK_LAYERS:function(){return ec},WEBPACK_RESOURCE_QUERIES:function(){return ef},WEB_SOCKET_MAX_RECONNECTIONS:function(){return ei}};for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]});let a="text/plain",u="text/html; charset=utf-8",l="application/json; charset=utf-8",o="nxtP",i="nxtI",s="x-matched-path",c="x-prerender-revalidate",f="x-prerender-revalidate-if-generated",d=".segments",p=".segment.rsc",h=".rsc",y=".action",g=".json",_=".meta",v=".body",m="x-nextjs-deployment-id",b="x-next-cache-tags",P="x-next-revalidated-tags",S="x-next-revalidate-tag-token",R="next-resume",E="x-next-resume-state-length",T=128,O=256,j=1024,w="_N_T_",A="_N_RP_",C=31536e3,M=0xfffffffe,x="middleware",N=`(?:src/)?${x}`,I="proxy",F=`(?:src/)?${I}`,L="instrumentation",D="private-next-pages",U="private-dot-next",k="private-next-root-dir",H="private-next-app-dir",B="private-next-rsc-mod-ref-proxy",V="private-next-rsc-action-validate",$="private-next-rsc-server-reference",K="private-next-rsc-cache-wrapper",q="private-next-rsc-track-dynamic-import",G="private-next-rsc-action-encryption",X="private-next-rsc-action-client-wrapper",Y="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",z="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",J="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",ee="Your `getStaticProps` function did not return an object. Did you forget to add a `return`?",et="Your `getServerSideProps` function did not return an object. Did you forget to add a `return`?",er="The `unstable_revalidate` property is available for general use.\nPlease use `revalidate` instead.",en="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",ea='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',eu="Pages with `fallback` enabled in `getStaticPaths` can not be exported. See more info here: https://nextjs.org/docs/messages/ssg-fallback-true-export",el=["app","pages","components","lib","src"],eo={edge:"edge",experimentalEdge:"experimental-edge",nodejs:"nodejs"},ei=12,es={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"},ec={...es,GROUP:{builtinReact:[es.reactServerComponents,es.actionBrowser],serverOnly:[es.reactServerComponents,es.actionBrowser,es.instrument,es.middleware],neutralTarget:[es.apiNode,es.apiEdge],clientOnly:[es.serverSideRendering,es.appPagesBrowser],bundled:[es.reactServerComponents,es.actionBrowser,es.serverSideRendering,es.appPagesBrowser,es.shared,es.instrument,es.middleware],appPages:[es.reactServerComponents,es.serverSideRendering,es.appPagesBrowser,es.actionBrowser]}},ef={edgeSSREntry:"__next_edge_ssr_entry__",metadata:"__next_metadata__",metadataRoute:"__next_metadata_route__",metadataImageMeta:"__next_metadata_image_meta__"}},4178:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={prefetch:function(){return p},prefetchRoute:function(){return d}};for(var a in n)Object.defineProperty(t,a,{enumerable:!0,get:n[a]});let u=r(498),l=r(3670),o=r(5170),i=r(5823),s=r(8146),c=r(607),f=r(3547);function d(e,t){let r;if((0,i.isJavaScriptURLString)(e))throw Error("Next.js has blocked a javascript: URL as a security precaution.");let n=(0,o.getCurrentAppRouterState)();if(null===n)throw Error("Internal Next.js error: Router action dispatched before initialization.");switch(t?.kind??u.PrefetchKind.AUTO){case u.PrefetchKind.AUTO:r=f.FetchStrategy.PPR;break;case u.PrefetchKind.FULL:r=f.FetchStrategy.Full;break;default:r=f.FetchStrategy.PPR}p(e,n.nextUrl,n.root,r,t?.onInvalidate??null)}function p(e,t,r,n,a){let u=(0,l.createPrefetchURL)(e);if(null===u)return;let o=(0,s.createCacheKey)(u.href,t);(0,c.schedulePrefetchTask)(o,r,n,f.PrefetchPriority.Default,a,null)}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},4214:(e,t,r)=>{"use strict";let n,a;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return H}});let u=r(138),l=r(1147),o=r(6407),i=l._(r(8479)),s=r(2035),c=r(8571),f=r(6841),d=r(7006),p=r(6651),h=r(1113),y=r(1032),g=r(4790),_=r(3558),v=r(7229),m=r(6630),b=r(7706),P=r(6172),S=r(5170),R=r(7034),E=r(5393),T=r(1210),O=r(1178),j=u._(r(6345)),w=u._(r(8401)),A=r(8738),C=r(6713),M={};function x(){if(void 0===window.navigation)return!1;let e=window.navigation.activation?.entry,t=window.navigation.currentEntry;return null!=e&&null!=t&&e.key!==t.key&&window.history.state?.__NA===!0}let N=!1,I=!1;function F(e){if(e){if(!e.__NA)return void window.location.reload();(0,R.traverse)(window.location.href,e.__PRIVATE_NEXTJS_INTERNALS_TREE)}}function L({appRouterState:e}){return(0,i.useInsertionEffect)(()=>{let{tree:t,pushRef:r,canonicalUrl:n,renderedSearch:a}=e;if(!N&&(N=!0,x()))return void(0,h.setLastCommittedTree)(t);let u={...r.preserveCustomHistoryState?window.history.state:{},__NA:!0,__PRIVATE_NEXTJS_INTERNALS_TREE:{tree:t,renderedSearch:a}};r.pendingPush&&(0,c.createHrefFromUrl)(new URL(window.location.href))!==n?(r.pendingPush=!1,window.history.pushState(u,"",n)):window.history.replaceState(u,"",n),(0,h.setLastCommittedTree)(t)},[e]),(0,i.useEffect)(()=>{(0,O.pingVisibleLinks)(e.nextUrl,e.root)},[e.nextUrl,e.root]),null}function D(e){null==e&&(e={});let t=window.history.state,r=t?.__NA;r&&(e.__NA=r);let n=t?.__PRIVATE_NEXTJS_INTERNALS_TREE;return n&&(e.__PRIVATE_NEXTJS_INTERNALS_TREE=n),e}function U({headRenderTree:e}){let t=e.data.rsc,r=e.data.prefetchRsc,n=null!==r?r:t;return(0,i.useDeferredValue)(t,n)}function k({actionQueue:e,globalError:t,webSocket:r,staticIndicatorState:n}){let a=(0,p.useActionQueue)(e),{canonicalUrl:u}=a,{searchParams:l,pathname:c}=(0,i.useMemo)(()=>{let e=new URL(u,window.location.href);return{searchParams:e.searchParams,pathname:(0,m.hasBasePath)(e.pathname)?(0,v.removeBasePath)(e.pathname):e.pathname}},[u]);(0,i.useEffect)(()=>{let e=(0,b.extractSourcePageFromFlightRouterState)(a.tree);void 0!==e?window.next.__internal_src_page=e:delete window.next.__internal_src_page},[a.tree]),(0,i.useEffect)(()=>{function e(e){e.persisted&&window.history.state?.__PRIVATE_NEXTJS_INTERNALS_TREE&&(M.pendingMpaPath=void 0,(0,R.restore)(new URL(window.location.href),window.history.state.__PRIVATE_NEXTJS_INTERNALS_TREE))}return window.addEventListener("pageshow",e),()=>{window.removeEventListener("pageshow",e)}},[]),(0,i.useEffect)(()=>{function e(e){let t="reason"in e?e.reason:e.error;if((0,T.isRedirectError)(t)){e.preventDefault();let r=(0,E.getURLFromRedirectError)(t);"push"===(0,E.getRedirectTypeFromError)(t)?S.publicAppRouterInstance.push(r,{}):S.publicAppRouterInstance.replace(r,{})}}return window.addEventListener("error",e),window.addEventListener("unhandledrejection",e),()=>{window.removeEventListener("error",e),window.removeEventListener("unhandledrejection",e)}},[]);let{pushRef:h}=a;if(h.mpaNavigation){if(M.pendingMpaPath!==u){let e=window.location;h.pendingPush?e.assign(u):e.replace(u),M.pendingMpaPath=u}throw _.unresolvedThenable}(0,i.useEffect)(()=>{let e=window.history.pushState.bind(window.history),t=window.history.replaceState.bind(window.history),r=e=>{let t=window.location.href,r=window.history.state?.__PRIVATE_NEXTJS_INTERNALS_TREE;(0,R.restore)(new URL(e??t,t),r)};window.history.pushState=function(t,n,a){return t?.__NA||t?._N||(t=D(t),a&&r(a)),e(t,n,a)},window.history.replaceState=function(e,n,a){return e?.__NA||e?._N||(e=D(e),a&&r(a)),t(e,n,a)};let n=e=>F(e.state);return window.addEventListener("popstate",n),!I&&(I=!0,x()&&F(window.history.state)),()=>{window.history.pushState=e,window.history.replaceState=t,window.removeEventListener("popstate",n)}},[]);let{root:P,tree:O,nextUrl:w,scrollRef:C,previousNextUrl:N}=a,H=(0,i.useMemo)(()=>(0,b.getSelectedParams)(O),[O]),V=(0,i.useMemo)(()=>({parentTree:O,parentRenderTree:P.tree,parentSegmentPath:null,parentParams:{},parentLoadingData:null,debugNameContext:"/",url:u,isActive:!0}),[O,P,u]),$=(0,i.useMemo)(()=>({tree:O,scrollRef:C,nextUrl:w,previousNextUrl:N}),[O,C,w,N]),K=(0,o.jsx)(U,{headRenderTree:P.head},(0,f.createHeadKey)(P.head.varyPath)),q=(0,o.jsxs)(g.RedirectBoundary,{children:[K,(0,o.jsx)(A.RootLayoutBoundary,{children:P.tree.data.rsc}),(0,o.jsx)(y.AppRouterAnnouncer,{tree:O})]});return q=(0,o.jsx)(j.default,{errorComponent:t[0],errorStyles:t[1],children:q}),(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(L,{appRouterState:a}),(0,o.jsx)(B,{}),(0,o.jsx)(d.NavigationPromisesContext.Provider,{value:null,children:(0,o.jsx)(d.PathParamsContext.Provider,{value:H,children:(0,o.jsx)(d.PathnameContext.Provider,{value:c,children:(0,o.jsx)(d.SearchParamsContext.Provider,{value:l,children:(0,o.jsx)(s.GlobalLayoutRouterContext.Provider,{value:$,children:(0,o.jsx)(s.AppRouterContext.Provider,{value:S.publicAppRouterInstance,children:(0,o.jsx)(s.LayoutRouterContext.Provider,{value:V,children:q})})})})})})})]})}function H({actionQueue:e,globalErrorState:t,webSocket:r,staticIndicatorState:n}){(0,P.useNavFailureHandler)();let a=(0,o.jsx)(k,{actionQueue:e,globalError:t,webSocket:r,staticIndicatorState:n});return(0,o.jsx)(j.default,{errorComponent:w.default,children:a})}function B(){let[,e]=i.default.useState(0),t=n?.size??0;(0,i.useEffect)(()=>{if(!n||!a)return;let r=()=>e(e=>e+1);return a.add(r),t!==n.size&&r(),()=>{a.delete(r)}},[t,e]);let r=(0,C.getAssetTokenQuery)();return[...n||[]].map((e,t)=>(0,o.jsx)("link",{rel:"stylesheet",href:`${e}${r}`,precedence:"next"},t))}n=new Set,a=new Set,globalThis._N_E_STYLE_LOAD=function(e){if(!n||!a)return Promise.resolve();let t=n.size;return n.add(e),n.size!==t&&a.forEach(e=>e()),Promise.resolve()},("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)},4230:(e,t,r)=>{"use strict";function n(e,t){return fetch(e,t)}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"fetch",{enumerable:!0,get:function(){return n}}),r(2875),("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)},4361:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useUntrackedPathname",{enumerable:!0,get:function(){return u}});let n=r(8479),a=r(7006);function u(){return(0,n.useContext)(a.PathnameContext)}r(3049),("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)},4392:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={ServerInsertedHTMLContext:function(){return l},useServerInsertedHTML:function(){return o}};for(var a in n)Object.defineProperty(t,a,{enumerable:!0,get:n[a]});let u=r(1147)._(r(8479)),l=u.default.createContext(null);function o(e){let t=(0,u.useContext)(l);t&&t(e)}},4503:(e,t)=>{"use strict";function r(e,t){var r=e.length;for(e.push(t);0>>1,a=e[n];if(0>>1;nu(i,r))su(c,i)?(e[n]=c,e[s]=r,n=s):(e[n]=i,e[o]=r,n=o);else if(su(c,r))e[n]=c,e[s]=r,n=s;else break}}return t}function u(e,t){var r=e.sortIndex-t.sortIndex;return 0!==r?r:e.id-t.id}if(t.unstable_now=void 0,"object"==typeof performance&&"function"==typeof performance.now){var l,o=performance;t.unstable_now=function(){return o.now()}}else{var i=Date,s=i.now();t.unstable_now=function(){return i.now()-s}}var c=[],f=[],d=1,p=null,h=3,y=!1,g=!1,_=!1,v=!1,m="function"==typeof setTimeout?setTimeout:null,b="function"==typeof clearTimeout?clearTimeout:null,P="u">typeof setImmediate?setImmediate:null;function S(e){for(var t=n(f);null!==t;){if(null===t.callback)a(f);else if(t.startTime<=e)a(f),t.sortIndex=t.expirationTime,r(c,t);else break;t=n(f)}}function R(e){if(_=!1,S(e),!g)if(null!==n(c))g=!0,E||(E=!0,l());else{var t=n(f);null!==t&&x(R,t.startTime-e)}}var E=!1,T=-1,O=5,j=-1;function w(){return!!v||!(t.unstable_now()-je&&w());){var o=p.callback;if("function"==typeof o){p.callback=null,h=p.priorityLevel;var i=o(p.expirationTime<=e);if(e=t.unstable_now(),"function"==typeof i){p.callback=i,S(e),r=!0;break t}p===n(c)&&a(c),S(e)}else a(c);p=n(c)}if(null!==p)r=!0;else{var s=n(f);null!==s&&x(R,s.startTime-e),r=!1}}break e}finally{p=null,h=u,y=!1}}}finally{r?l():E=!1}}}if("function"==typeof P)l=function(){P(A)};else if("u">typeof MessageChannel){var C=new MessageChannel,M=C.port2;C.port1.onmessage=A,l=function(){M.postMessage(null)}}else l=function(){m(A,0)};function x(e,r){T=m(function(){e(t.unstable_now())},r)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_forceFrameRate=function(e){0>e||125o?(e.sortIndex=u,r(f,e),null===n(c)&&e===n(f)&&(_?(b(T),T=-1):_=!0,x(R,u-o))):(e.sortIndex=i,r(c,e),g||y||(g=!0,E||(E=!0,l()))),e},t.unstable_shouldYield=w,t.unstable_wrapCallback=function(e){var t=h;return function(){var r=h;h=t;try{return e.apply(this,arguments)}finally{h=r}}}},4519:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o}});let n=r(1147),a=r(6407),u=n._(r(8479)),l=r(2035);function o(){let e=(0,u.useContext)(l.TemplateContext);return(0,a.jsx)(a.Fragment,{children: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)},4593:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={getObjectClassLabel:function(){return a},isPlainObject:function(){return u}};for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]});function a(e){return Object.prototype.toString.call(e)}function u(e){if("[object Object]"!==a(e))return!1;let t=Object.getPrototypeOf(e);return null===t||t.hasOwnProperty("isPrototypeOf")}},4678:()=>{"trimStart"in String.prototype||(String.prototype.trimStart=String.prototype.trimLeft),"trimEnd"in String.prototype||(String.prototype.trimEnd=String.prototype.trimRight),"description"in Symbol.prototype||Object.defineProperty(Symbol.prototype,"description",{configurable:!0,get:function(){var e=/\((.*)\)/.exec(this.toString());return e?e[1]:void 0}}),Array.prototype.flat||(Array.prototype.flat=function(e,t){return t=this.concat.apply([],this),e>1&&t.some(Array.isArray)?t.flat(e-1):t},Array.prototype.flatMap=function(e,t){return this.map(e,t).flat()}),Promise.prototype.finally||(Promise.prototype.finally=function(e){if("function"!=typeof e)return this.then(e,e);var t=this.constructor||Promise;return this.then(function(r){return t.resolve(e()).then(function(){return r})},function(r){return t.resolve(e()).then(function(){throw r})})}),Object.fromEntries||(Object.fromEntries=function(e){return Array.from(e).reduce(function(e,t){return e[t[0]]=t[1],e},{})}),Array.prototype.at||(Array.prototype.at=function(e){var t=Math.trunc(e)||0;if(t<0&&(t+=this.length),!(t<0||t>=this.length))return this[t]}),Object.hasOwn||(Object.hasOwn=function(e,t){if(null==e)throw TypeError("Cannot convert undefined or null to object");return Object.prototype.hasOwnProperty.call(Object(e),t)}),"canParse"in URL||(URL.canParse=function(e,t){try{return new URL(e,t),!0}catch(e){return!1}})},4790:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={RedirectBoundary:function(){return p},RedirectErrorBoundary:function(){return d}};for(var a in n)Object.defineProperty(t,a,{enumerable:!0,get:n[a]});let u=r(1147),l=r(6407),o=u._(r(8479)),i=r(3519),s=r(5393),c=r(1210);function f({redirect:e,reset:t,redirectType:r}){let n=(0,i.useRouter)();return(0,o.useEffect)(()=>{o.default.startTransition(()=>{"push"===r?n.push(e,{}):n.replace(e,{}),t()})},[e,r,t,n]),null}class d extends o.default.Component{constructor(e){super(e),this.state={redirect:null,redirectType:null}}static getDerivedStateFromError(e){if((0,c.isRedirectError)(e)){let t=(0,s.getURLFromRedirectError)(e),r=(0,s.getRedirectTypeFromError)(e);return"handled"in e?{redirect:null,redirectType:null}:{redirect:t,redirectType:r}}throw e}render(){let{redirect:e,redirectType:t}=this.state;return null!==e&&null!==t?(0,l.jsx)(f,{redirect:e,redirectType:t,reset:()=>this.setState({redirect:null})}):this.props.children}}function p({children:e}){let t=(0,i.useRouter)();return(0,l.jsx)(d,{router:t,children: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)},4961:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={setCacheBustingSearchParam:function(){return i},setCacheBustingSearchParamWithHash:function(){return s}};for(var a in n)Object.defineProperty(t,a,{enumerable:!0,get:n[a]});let u=r(7630),l=r(1773);async function o(e){return"function"==typeof globalThis.crypto?.subtle?.digest?(0,u.computeCacheBustingSearchParam)(e[l.NEXT_ROUTER_PREFETCH_HEADER],e[l.NEXT_ROUTER_SEGMENT_PREFETCH_HEADER],e[l.NEXT_ROUTER_STATE_TREE_HEADER],e[l.NEXT_URL]):(0,u.computeLegacyCacheBustingSearchParam)(e[l.NEXT_ROUTER_PREFETCH_HEADER],e[l.NEXT_ROUTER_SEGMENT_PREFETCH_HEADER],e[l.NEXT_ROUTER_STATE_TREE_HEADER],e[l.NEXT_URL])}let i=async(e,t)=>{s(e,await o(t))},s=(e,t)=>{let r=e.search,n=(r.startsWith("?")?r.slice(1):r).split("&").filter(e=>e&&!e.startsWith(`${l.NEXT_RSC_UNION_QUERY}=`));t.length>0?n.push(`${l.NEXT_RSC_UNION_QUERY}=${t}`):n.push(`${l.NEXT_RSC_UNION_QUERY}`),e.search=n.length?`?${n.join("&")}`:""};("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)},5068:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={GracefulDegradeBoundary:function(){return o},default:function(){return i}};for(var a in n)Object.defineProperty(t,a,{enumerable:!0,get:n[a]});let u=r(6407),l=r(8479);class o extends l.Component{constructor(e){super(e),this.state={hasError:!1},this.rootHtml="",this.htmlAttributes={},this.htmlRef=(0,l.createRef)()}static getDerivedStateFromError(e){return{hasError:!0}}componentDidMount(){let e=this.htmlRef.current;this.state.hasError&&e&&Object.entries(this.htmlAttributes).forEach(([t,r])=>{e.setAttribute(t,r)})}render(){let{hasError:e}=this.state;return(this.rootHtml||(this.rootHtml=document.documentElement.innerHTML,this.htmlAttributes=function(e){let t={};for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={createMutableActionQueue:function(){return h},getCurrentAppRouterState:function(){return y},publicAppRouterInstance:function(){return g}};for(var a in n)Object.defineProperty(t,a,{enumerable:!0,get:n[a]});let u=r(498),l=r(8070),o=r(8479),i=r(5434);r(7614),r(6651),r(8412),r(2753),r(3670),r(5823);let s=r(7034),c=r(4178);function f(e,t,r){e.pending===t&&(e.pending=t.next,null!==e.pending)?d({actionQueue:e,action:e.pending,setState:r}):null===e.pending&&(e.wasPreempted&&(e.wasPreempted=!1,(0,o.startTransition)(()=>r(e.state))),e.needsRefresh&&(e.needsRefresh=!1,e.dispatch({type:u.ACTION_REFRESH},r)))}function d({actionQueue:e,action:t,setState:r}){let n,a=e.state;e.pending=t;let l=t.payload;function o(n){f(e,t,r),t.reject(n)}function s(n){if(t.discarded){t.payload.type===u.ACTION_SERVER_ACTION&&t.payload.didRevalidate&&(e.needsRefresh=!0),f(e,t,r);return}e.state=n,f(e,t,r),t.resolve(n)}try{n=e.action(a,l)}catch(e){o(e);return}(0,i.isThenable)(n)?n.then(s,o):s(n)}let p=null;function h(e){let t={state:e,dispatch:(e,r)=>(function(e,t,r){let n={resolve:r,reject:()=>{}};if(t.type!==u.ACTION_RESTORE){let e=new Promise((e,t)=>{n={resolve:e,reject:t}});(0,o.startTransition)(()=>{r(e)})}let a={payload:t,next:null,resolve:n.resolve,reject:n.reject};null===e.pending?(e.last=a,d({actionQueue:e,action:a,setState:r})):t.type===u.ACTION_NAVIGATE||t.type===u.ACTION_RESTORE?(e.pending.discarded=!0,e.wasPreempted=!0,a.next=e.pending.next,e.last===e.pending&&(e.last=a),d({actionQueue:e,action:a,setState:r})):(null!==e.last&&(e.last.next=a),e.last=a)})(t,e,r),action:l.reducer,pending:null,last:null};if(null!==p)throw Error("Internal Next.js Error: createMutableActionQueue was called more than once");return p=t,t}function y(){return null!==p?p.state:null}let g={back:()=>window.history.back(),forward:()=>window.history.forward(),prefetch:c.prefetchRoute,replace:s.replace,push:s.push,refresh:s.refresh,hmrRefresh:s.hmrRefresh,bfcacheId:"0"};window.next&&(window.next.router=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)},5323:(e,t,r)=>{e.exports=r(7501)},5393:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={getRedirectError:function(){return i},getRedirectStatusCodeFromError:function(){return p},getRedirectTypeFromError:function(){return d},getURLFromRedirectError:function(){return f},permanentRedirect:function(){return c},redirect:function(){return s}};for(var a in n)Object.defineProperty(t,a,{enumerable:!0,get:n[a]});let u=r(2412),l=r(1210),o=r(3049);function i(e,t,r=u.RedirectStatusCode.TemporaryRedirect){let n=Error(l.REDIRECT_ERROR_CODE);return n.digest=`${l.REDIRECT_ERROR_CODE};${t};${e};${r};`,n}function s(e,t){throw i(e,t??=o.actionAsyncStorage?.getStore()?.isAction?"push":"replace",u.RedirectStatusCode.TemporaryRedirect)}function c(e,t="replace"){throw i(e,t,u.RedirectStatusCode.PermanentRedirect)}function f(e){return(0,l.isRedirectError)(e)?e.digest.split(";").slice(2,-2).join(";"):null}function d(e){if(!(0,l.isRedirectError)(e))throw Error("Not a redirect error");return e.digest.split(";",2)[1]}function p(e){if(!(0,l.isRedirectError)(e))throw Error("Not a redirect error");return Number(e.digest.split(";").at(-2))}("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)},5411:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={INTERCEPTION_ROUTE_MARKERS:function(){return l},extractInterceptionRouteInformation:function(){return d},findMissingCanonicalInterceptionRoutes:function(){return p},isInterceptionRouteAppPath:function(){return f}};for(var a in n)Object.defineProperty(t,a,{enumerable:!0,get:n[a]});let u=r(6900),l=["(..)(..)","(.)","(..)","(...)"];function o(e){let t=e.split("/").filter(Boolean),r=t.at(-1),n=void 0!==r&&r.startsWith("[[...")&&r.endsWith("]]"),a=void 0!==r&&r.startsWith("[...")&&r.endsWith("]"),u=n||a,l=u?t.slice(0,-1):t;return{prefix:l.map(e=>e.startsWith("[")&&e.endsWith("]")?null:e),minLength:l.length+(a&&!n?1:0),unbounded:u}}function i(e,t){return e.unbounded?t>=e.minLength:t===e.minLength}function s(e,t){return e.prefix.every((e,r)=>{if(null===e)return!0;let n=t.prefix[r];return null!=n&&e===n})}function c(e,t,r){return i(e,r)&&i(t,r)&&s(e,t)}function f(e){return void 0!==e.split("/").find(e=>l.find(t=>e.startsWith(t)))}function d(e){let t,r,n;for(let a of e.split("/"))if(r=l.find(e=>a.startsWith(e))){[t,n]=e.split(r,2);break}if(!t||!r||!n)throw Error(`Invalid interception route: ${e}. Must be in the format //(..|...|..)(..)/`);switch(t=(0,u.normalizeAppPath)(t),r){case"(.)":n="/"===t?`/${n}`:t+"/"+n;break;case"(..)":if("/"===t)throw Error(`Invalid interception route: ${e}. Cannot use (..) marker at the root level, use (.) instead.`);n=t.split("/").slice(0,-1).concat(n).join("/");break;case"(...)":n="/"+n;break;case"(..)(..)":let a=t.split("/");if(a.length<=2)throw Error(`Invalid interception route: ${e}. Cannot use (..)(..) marker at the root level or one level up.`);n=a.slice(0,-2).concat(n).join("/");break;default:throw Error("Invariant: unexpected marker")}return{interceptingRoute:t,interceptedRoute:n}}function p(e){let t=Object.keys(e).filter(e=>!f(e)).map(o);return Object.keys(e).filter(f).map(e=>({interceptionRoute:e,canonicalRoute:d(e).interceptedRoute})).filter(({canonicalRoute:e})=>!function(e,t){let r=o(e);if(!r.unbounded)return t.some(e=>c(e,r,r.minLength));let n=1/0;for(let e of t)e.unbounded&&s(e,r)&&(n=Math.min(n,Math.max(r.minLength,e.minLength)));if(1/0===n)return!1;for(let e=r.minLength;ec(t,r,e)))return!1;return!0}(e,t)).sort((e,t)=>e.interceptionRoute.localeCompare(t.interceptionRoute))}},5415:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"createInitialRouterState",{enumerable:!0,get:function(){return d}});let n=r(8571),a=r(7706),u=r(3342),l=r(8412),o=r(9596),i=r(6648),s=r(3772),c=r(8946),f=r(3548);function d({navigatedAt:e,initialRSCPayload:t,initialFlightStreamForCache:r,location:p}){let{c:h,t:y,q:g,i:_,S:v,s:m,l:b,r:P,p:S,d:R}=t,E=h.join("/"),T=(0,u.transportNodeToFlightRouterState)(y.t,g),O=p?(0,n.createHrefFromUrl)(p):E,j=(0,i.createNavigationSeed)(e,null,y,null,!0,null,g,null,R??s.UnknownDynamicStaleTime),w=j.root,A=(0,l.createInitialRenderTreeForHydration)(e,w,j.dynamicStaleAt);return null!==p&&((0,f.discoverKnownRoute)(Date.now(),p.pathname,p.search,null,null,w,_,O,j.renderedSearch,v,!1),void 0!==m?void 0!==b&&null!=r?Promise.resolve(b).then(async e=>{if(0===e)return void r.cancel();let t=await (0,c.decodeStageUntilBoundary)(r,e,void 0);null!==t&&(0,o.spawnStaticStageCacheWrite)(Date.now(),t,!0,null,T,g,o.segmentCacheMap)}).catch(()=>{}):((0,o.spawnStaticStageCacheWrite)(Date.now(),{t:y,r:P,s:m},!1,null,T,g,o.segmentCacheMap),r?.cancel()):r?.cancel(),null!=S&&(0,o.writeRuntimePrefetchStreamIntoCache)(Date.now(),S,T,g,o.segmentCacheMap).catch(()=>{})),{tree:A.tree.route,root:(0,o.createRootRouteTree)(A.tree.node,A.head.node),pushRef:{pendingPush:!1,mpaNavigation:!1,preserveCustomHistoryState:!0},scrollRef:{scrollRef:null,forceScroll:!1,onlyHashChange:!1,hashFragment:null},canonicalUrl:O,renderedSearch:g,nextUrl:((0,a.extractPathFromFlightRouterState)(T)||p?.pathname)??null,previousNextUrl:null,debugInfo:null}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},5434:(e,t)=>{"use strict";function r(e){return null!==e&&"object"==typeof e&&"then"in e&&"function"==typeof e.then}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isThenable",{enumerable:!0,get:function(){return r}})},5435:(e,t,r)=>{"use strict";function n(){throw Error("`unauthorized()` is experimental and only allowed to be used when `experimental.authInterrupts` is enabled.")}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"unauthorized",{enumerable:!0,get:function(){return n}}),r(4102).HTTP_ERROR_FALLBACK_ERROR_CODE,("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)},5439:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),r(6897);let n=r(660),a=r(1096);(0,n.appBootstrap)(e=>{let{hydrate:t}=r(6318);r(4214),r(2600),t(a,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)},5448:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={initializeRouterTransitionModules:function(){return l},startRouterTransition:function(){return o}};for(var a in n)Object.defineProperty(t,a,{enumerable:!0,get:n[a]});r(5787),r(7706);let u=[];function l(e){u=e.filter(e=>null!=e)}function o(e,t,r,n){for(let r of u)try{let n;n=r,n.onRouterTransitionStart?.(e,t,null)}catch(e){console.error("An instrumentation-client router transition hook failed",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)},5488:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={HEAD_REQUEST_KEY:function(){return u},ROOT_SEGMENT_REQUEST_KEY:function(){return a},appendSegmentRequestKeyPart:function(){return o},convertSegmentPathToStaticExportFilename:function(){return c},createSegmentRequestKeyPart:function(){return l}};for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]});let a="",u="/_head";function l(e){if("string"==typeof e)return"/_not-found"===e?"_not-found":s(e);let t=e[0];return"$"+e[2]+"$"+s(t)}function o(e,t,r){return e+"/"+("children"===t?r:`@${s(t)}/${r}`)}let i=/^[a-zA-Z0-9\-_@]+$/;function s(e){return i.test(e)?e:"!"+btoa(e).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}function c(e){return`__next${e.replace(/\//g,".")}.txt`}},5560:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"HTML_LIMITED_BOT_UA_RE",{enumerable:!0,get:function(){return r}});let r=/[\w-]+-Google|Google-[\w-]+|Chrome-Lighthouse|Slurp|DuckDuckBot|baiduspider|yandex|sogou|bitlybot|tumblr|vkShare|quora link preview|redditbot|ia_archiver|Bingbot|BingPreview|applebot|facebookexternalhit|facebookcatalog|Twitterbot|LinkedInBot|Slackbot|Discordbot|WhatsApp|SkypeUriPreview|Yeti|googleweblight/i},5686:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,a={ParamsChange:function(){return _},appendLayoutVaryPath:function(){return f},cloneVaryPathWithNewSearchParams:function(){return y},compareParams:function(){return v},didReadChangedParam:function(){return m},finalizeVaryPath:function(){return d},getFulfilledRouteVaryPath:function(){return c},getFulfilledSegmentVaryPath:function(){return function e(t,r){return{id:t.id,value:null===t.id||r.has(t.id)?t.value:o.Fallback,isRootParam:t.isRootParam,parent:null===t.parent?null:e(t.parent,r)}}},getPartialVaryPath:function(){return p},getRenderedSearchFromVaryPath:function(){return g},getRouteVaryPath:function(){return s},getSegmentVaryPathForRequest:function(){return h},getShellSegmentVaryPath:function(){return function e(t){return{id:t.id,value:null===t.id||!0===t.isRootParam?t.value:o.Fallback,isRootParam:t.isRootParam,parent:null===t.parent?null:e(t.parent)}}}};for(var u in a)Object.defineProperty(t,u,{enumerable:!0,get:a[u]});let l=r(3547),o=r(8091),i=r(1628);function s(e,t,r){return{id:null,value:e,isRootParam:!1,parent:{id:i.SEARCH_PARAMS_VARY_ID,value:t,isRootParam:!1,parent:{id:null,value:r,isRootParam:!1,parent:null}}}}function c(e,t,r,n){return{id:null,value:e,isRootParam:!1,parent:{id:i.SEARCH_PARAMS_VARY_ID,value:t,isRootParam:!1,parent:{id:null,value:n?r:o.Fallback,isRootParam:!1,parent:null}}}}function f(e,t,r,n){return{id:r,value:t,isRootParam:n,parent:e}}function d(e,t,r){let n=r;return null!==t&&(n={id:i.SEARCH_PARAMS_VARY_ID,value:t,isRootParam:!1,parent:r}),{id:null,value:e,isRootParam:!1,parent:n}}function p(e){let t=e.parent;return null!==t&&t.id===i.SEARCH_PARAMS_VARY_ID?t.parent:t}function h(e,t){let r=t.varyPath;if(e===l.FetchStrategy.RuntimeShell||e===l.FetchStrategy.StaticShell)return t.shellVaryPath;let n=r.parent;return null!==n&&n.id===i.SEARCH_PARAMS_VARY_ID&&e!==l.FetchStrategy.Full&&e!==l.FetchStrategy.PPRRuntime?d(r.value,o.Fallback,p(r)):r}function y(e,t){let r=e.parent;return null===r||r.id!==i.SEARCH_PARAMS_VARY_ID?e:d(e.value,t,p(e))}function g(e){let t=e;for(;null!==t;){if(t.id===i.SEARCH_PARAMS_VARY_ID){let e=t.value;if("string"==typeof e)return e;break}t=t.parent}return null}var _=((n={})[n.None=0]="None",n[n.SearchParams=1]="SearchParams",n[n.PathParam=2]="PathParam",n);function v(e,t){let r=e,n=t,a=0;for(;null!==r&&null!==n;){if(r.value!==n.value){let e=r.id;if(null===e);else{if(e!==i.SEARCH_PARAMS_VARY_ID)return 2;a=1}}r=r.parent,n=n.parent}return a}function m(e,t,r){let n=e,a=t,u=null;for(;null!==n&&null!==a;){if(n.value!==a.value){let e=n.id;if(null===e);else if(null===u&&(null===r||null===(u=(0,i.readVaryParams)(r)))||u.has(e))return!0}n=n.parent,a=a.parent}return!1}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},5730:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isNextRouterError",{enumerable:!0,get:function(){return u}});let n=r(4102),a=r(1210);function u(e){return(0,a.isRedirectError)(e)||(0,n.isHTTPAccessFallbackError)(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)},5787:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={DEFAULT_SEGMENT_KEY:function(){return s},NOT_FOUND_SEGMENT_KEY:function(){return c},PAGE_SEGMENT_KEY:function(){return i},computeSelectedLayoutSegment:function(){return o},getSegmentValue:function(){return a},getSelectedLayoutSegmentPath:function(){return function e(t,r,n=!0,u=[]){let l;if(n)l=t[1][r];else{let e=t[1];l=e.children??Object.values(e)[0]}if(!l)return u;let o=a(l[0]);return o&&o!==i?(u.push(o),e(l,r,!1,u)):u}},isGroupSegment:function(){return u},isParallelRouteSegment:function(){return l}};for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]});function a(e){return Array.isArray(e)?e[1]:e}function u(e){return"("===e[0]&&e.endsWith(")")}function l(e){return e.startsWith("@")&&"@children"!==e}function o(e,t){if(!e||0===e.length)return null;let r="children"===t?e[0]:e[e.length-1];return r===s?null:r}let i="__PAGE__",s="__DEFAULT__",c="/_not-found"},5823:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isJavaScriptURLString",{enumerable:!0,get:function(){return n}});let r=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function n(e){return r.test(""+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)},5859:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={assign:function(){return i},getRenderedSearch:function(){return a},searchParamsToUrlQuery:function(){return u},urlQueryToSearchParams:function(){return o}};for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]});function a(e){let t=[];for(let r in e){let n=e[r];if(null!=n)if(Array.isArray(n))for(let e of n)t.push(`${encodeURIComponent(r)}=${encodeURIComponent(String(e))}`);else t.push(`${encodeURIComponent(r)}=${encodeURIComponent(String(n))}`)}return 0===t.length?"":"?"+t.join("&")}function u(e){let t={};for(let[r,n]of e.entries()){let e=t[r];void 0===e?t[r]=n:Array.isArray(e)?e.push(n):t[r]=[e,n]}return t}function l(e){return"string"==typeof e?e:("number"!=typeof e||isNaN(e))&&"boolean"!=typeof e?"":String(e)}function o(e){let t=new URLSearchParams;for(let[r,n]of Object.entries(e))if(Array.isArray(n))for(let e of n)t.append(r,l(e));else t.set(r,l(n));return t}function i(e,...t){for(let r of t){for(let t of r.keys())e.delete(t);for(let[t,n]of r.entries())e.append(t,n)}return e}},5890:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addPathPrefix",{enumerable:!0,get:function(){return a}});let n=r(1939);function a(e,t){if(!e.startsWith("/")||!t)return e;let{pathname:r,query:a,hash:u}=(0,n.parsePath)(e);return`${t}${r}${a}${u}`}},5918:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={ErrorBoundary:function(){return y},ErrorBoundaryHandler:function(){return h}};for(var a in n)Object.defineProperty(t,a,{enumerable:!0,get:n[a]});let u=r(1147),l=r(6407),o=u._(r(8479)),i=r(4361),s=r(5730);r(6172);let c=r(511),f=r(3358),d=r(2035),p=(0,f.isBot)(window.navigator.userAgent);class h extends o.default.Component{static{this.contextType=d.AppRouterContext}constructor(e){super(e),this.reset=()=>{this.setState({error:null})},this.retry=()=>{(0,o.startTransition)(()=>{this.context?.refresh(),this.reset()})},this.state={error:null,previousPathname:this.props.pathname}}static getDerivedStateFromError(e){if((0,s.isNextRouterError)(e))throw e;return{error:{thrownValue:e}}}static getDerivedStateFromProps(e,t){let{error:r}=t;return e.pathname!==t.previousPathname&&t.error?{error:null,previousPathname:e.pathname}:{error:t.error,previousPathname:e.pathname}}render(){if(this.state.error&&!p){let e=this.state.error.thrownValue;return(0,c.handleISRError)({error:e}),(0,l.jsxs)(l.Fragment,{children:[this.props.errorStyles,this.props.errorScripts,(0,l.jsx)(this.props.errorComponent,{error:e,reset:this.reset,retry:this.retry})]})}return this.props.children}}function y({errorComponent:e,errorStyles:t,errorScripts:r,children:n}){let a=(0,i.useUntrackedPathname)();return e?(0,l.jsx)(h,{pathname:a,errorComponent:e,errorStyles:t,errorScripts:r,children:n}):(0,l.jsx)(l.Fragment,{children:n})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},5931:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"assignLocation",{enumerable:!0,get:function(){return a}});let n=r(2753);function a(e,t){if(e.startsWith(".")){let r=t.origin+t.pathname;return new URL((r.endsWith("/")?r:r+"/")+e)}return new URL((0,n.addBasePath)(e),t.href)}("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)},6134:(e,t,r)=>{"use strict";var n=r(8479);function a(e){var t="https://react.dev/errors/"+e;if(1{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={handleHardNavError:function(){return l},useNavFailureHandler:function(){return o}};for(var a in n)Object.defineProperty(t,a,{enumerable:!0,get:n[a]});r(8479);let u=r(8571);function l(e){return!!window.next.__pendingUrl&&(0,u.createHrefFromUrl)(new URL(window.location.href))!==(0,u.createHrefFromUrl)(window.next.__pendingUrl)&&(console.error("Error occurred during navigation, falling back to hard navigation",e),window.location.href=window.next.__pendingUrl.toString(),!0)}function o(){}("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)},6182:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"callServer",{enumerable:!0,get:function(){return n.callServer}});let n=r(882);("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)},6318:(e,t,r)=>{"use strict";let n,a,u,l;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"hydrate",{enumerable:!0,get:function(){return H}});let o=r(138),i=r(6407);r(614);let s=o._(r(633)),c=o._(r(8479)),f=r(1225),d=r(150),p=r(2738),h=r(203),y=r(6182),g=r(6514),_=r(5170),v=o._(r(4214)),m=r(5415);r(2035);let b=r(3193),P=r(6713),S=r(711),R=r(5448),E=f.createFromReadableStream,T=f.createFromFetch,O=document,j=self.__next_instant_test?self.__next_instant_test:void 0,w=new TextEncoder,A=!1,C=!1,M=null;function x(e){if(0===e[0])u=[];else if(1===e[0]){if(!u)throw Error("Unexpected server data: missing bootstrap script.");l?l.enqueue(w.encode(e[1])):u.push(e[1])}else if(2===e[0])M=e[1];else if(3===e[0]){if(!u)throw Error("Unexpected server data: missing bootstrap script.");let r=atob(e[1]),n=new Uint8Array(r.length);for(var t=0;t{e.enqueue("string"==typeof t?w.encode(t):t)}),A&&!C)&&(null===e.desiredSize||e.desiredSize<0?j||e.error(Error("The connection to the page was unexpectedly closed, possibly due to the stop button being clicked, loss of Wi-Fi, or an unstable internet connection.")):e.close(),C=!0,u=void 0),l=e}});if(j)a=Promise.resolve(T(j,{callServer:y.callServer,findSourceMapURL:g.findSourceMapURL,debugChannel:n,unstable_allowPartialStream:!0})).then(async e=>(0,b.createInitialRSCPayloadFromFallbackPrerender)(await j,e));else if(window.__NEXT_CLIENT_RESUME){let e=window.__NEXT_CLIENT_RESUME;a=Promise.resolve(T(e,{callServer:y.callServer,findSourceMapURL:g.findSourceMapURL,debugChannel:n})).then(async t=>(0,b.createInitialRSCPayloadFromFallbackPrerender)(await e,t))}else a=E(F,{callServer:y.callServer,findSourceMapURL:g.findSourceMapURL,debugChannel:n,startTime:0});function L({initialRSCPayload:e,actionQueue:t,webSocket:r,staticIndicatorState:n}){return(0,i.jsx)(v.default,{actionQueue:t,globalErrorState:e.G,webSocket:r,staticIndicatorState:n})}let D=c.default.StrictMode;function U({children:e}){return e}let k={onDefaultTransitionIndicator:function(){return()=>{}},onRecoverableError:p.onRecoverableError,onCaughtError:h.onCaughtError,onUncaughtError:h.onUncaughtError};async function H(e,t){let r,n,u=await a;u.b?(0,S.setNavigationBuildId)(u.b):(0,S.setNavigationBuildId)((0,P.getDeploymentId)()),(0,R.initializeRouterTransitionModules)(e);let l=Date.now(),o=(0,_.createMutableActionQueue)((0,m.createInitialRouterState)({navigatedAt:l,initialRSCPayload:u,initialFlightStreamForCache:null,location:window.location})),f=(0,i.jsx)(D,{children:(0,i.jsx)(d.HeadManagerContext.Provider,{value:{appDir:!0},children:(0,i.jsx)(U,{children:(0,i.jsx)(L,{initialRSCPayload:u,actionQueue:o,webSocket:n,staticIndicatorState:r})})})});"__next_error__"===document.documentElement.id?s.default.createRoot(O,k).render(f):c.default.startTransition(()=>{s.default.hydrateRoot(O,f,{...k,formState:M})})}("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)},6327:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"HTTPAccessFallbackBoundary",{enumerable:!0,get:function(){return c}});let n=r(1147),a=r(6407),u=n._(r(8479)),l=r(4361),o=r(4102),i=r(2035);class s extends u.default.Component{constructor(e){super(e),this.state={triggeredStatus:void 0,previousPathname:e.pathname}}componentDidCatch(){}static getDerivedStateFromError(e){if((0,o.isHTTPAccessFallbackError)(e))return{triggeredStatus:(0,o.getAccessFallbackHTTPStatus)(e)};throw e}static getDerivedStateFromProps(e,t){return e.pathname!==t.previousPathname&&t.triggeredStatus?{triggeredStatus:void 0,previousPathname:e.pathname}:{triggeredStatus:t.triggeredStatus,previousPathname:e.pathname}}render(){let{notFound:e,forbidden:t,unauthorized:r,children:n}=this.props,{triggeredStatus:u}=this.state,l={[o.HTTPAccessErrorStatus.NOT_FOUND]:e,[o.HTTPAccessErrorStatus.FORBIDDEN]:t,[o.HTTPAccessErrorStatus.UNAUTHORIZED]:r};if(u){let i=u===o.HTTPAccessErrorStatus.NOT_FOUND&&e,s=u===o.HTTPAccessErrorStatus.FORBIDDEN&&t,c=u===o.HTTPAccessErrorStatus.UNAUTHORIZED&&r;return i||s||c?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("meta",{name:"robots",content:"noindex"}),!1,l[u]]}):n}return n}}function c({notFound:e,forbidden:t,unauthorized:r,children:n}){let o=(0,l.useUntrackedPathname)(),f=(0,u.useContext)(i.MissingSlotContext);return e||t||r?(0,a.jsx)(s,{pathname:o,notFound:e,forbidden:t,unauthorized:r,missingSlots:f,children:n}):(0,a.jsx)(a.Fragment,{children:n})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},6345:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i}});let n=r(138),a=r(6407);r(8479);let u=n._(r(5068)),l=r(5918),o=(0,r(3358).isBot)(window.navigator.userAgent);function i({children:e,errorComponent:t,errorStyles:r,errorScripts:n}){return o?(0,a.jsx)(u.default,{children:e}):(0,a.jsx)(l.ErrorBoundary,{errorComponent:t,errorStyles:r,errorScripts:n,children: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)},6407:(e,t,r)=>{"use strict";e.exports=r(3749)},6514:(e,t)=>{"use strict";let r;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"findSourceMapURL",{enumerable:!0,get:function(){return 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)},6533:(e,t)=>{"use strict";function r(e){return e.split("/").map(e=>encodeURIComponent(e)).join("/")}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"encodeURIPath",{enumerable:!0,get:function(){return r}})},6630:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"hasBasePath",{enumerable:!0,get:function(){return a}});let n=r(1067);function a(e){return(0,n.pathHasPrefix)(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)},6648:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={createNavigationSeed:function(){return g},createRouteTreeNode:function(){return _},decodeTransportTreeIntoRouteTree:function(){return v},readFulfilledIsPartial:function(){return P},readFulfilledStaleTimeSeconds:function(){return S}};for(var a in n)Object.defineProperty(t,a,{enumerable:!0,get:n[a]});let u=r(1265),l=r(3342),o=r(1628),i=r(5488),s=r(5787),c=r(9557),f=r(1014),d=r(8146),p=r(5686),h=r(9596),y=r(3772);function g(e,t,r,n,a,u,l,i,s){let f,d={metadataVaryPath:null,treeDivergedFromBase:!1},p=null;if(null!==r){f=v(r.t,t,n,a,u,l,d);let e=r.h;void 0!==e&&(p={rsc:e.r,isPartial:"boolean"==typeof e.p?e.p:P(e.p),varyParams:(0,o.decodeVaryParams)(e.v,n),staleTimeSeconds:void 0!==e.s?S(e.s):null})}else{if(null===t)throw new c.InvariantError("Cannot convert a server response with no transport data and no base tree.");f=(0,h.convertRootFlightRouterStateToRouteTree)(t,l,d)}if(null===i&&null===(i=d.metadataVaryPath))throw new c.InvariantError("Cannot key the head of a server response: its tree has no page segment.");return{root:(0,h.createRootRouteTree)(f,(0,h.createMetadataRouteTree)(i,f.prefetchHints,p)),renderedSearch:l,dynamicStaleAt:(0,y.computeDynamicStaleAt)(e,s),treeDivergedFromBase:d.treeDivergedFromBase}}function _(e,t,r,n,a,u,l){let o,i,c;if(Array.isArray(e)){let a=e[1],u=e[0];i=(0,p.appendLayoutVaryPath)(n,a,u,t),c=(0,p.finalizeVaryPath)(r,null,i),o=e}else i=n,r.endsWith(s.PAGE_SEGMENT_KEY)?(o=s.PAGE_SEGMENT_KEY,c=(0,p.finalizeVaryPath)(r,a,i),null===u&&null===l.metadataVaryPath&&(l.metadataVaryPath=(0,p.finalizeVaryPath)((0,h.getHeadRequestKey)(r),a,i))):(o=e,c=(0,p.finalizeVaryPath)(r,null,i));return{requestKey:r,segment:o,shellVaryPath:(0,p.getShellSegmentVaryPath)(c),refreshState:u,data:null,varyPath:c,slots:null,prefetchHints:0}}function v(e,t,r,n,a,l,c){let y=null!==a?(0,d.splitPathnameIntoParts)(a):null;return function e(t,r,n,a,l,c,d,y,g,v,b,R){let E=t.d,T=void 0!==E&&null===E.r,O=T?n:void 0;if(void 0!==a&&!R.treeDivergedFromBase){let e=t.s;if("string"!=typeof e&&null==e.k);else{let e=a[0];r===s.DEFAULT_SEGMENT_KEY||!function(e,t){if("string"==typeof e||"string"==typeof t)return e===t;let[r,n,a]=e,[u,l,o]=t;return r===u&&a===o&&n===l}(e,r)&&(R.treeDivergedFromBase=!0)}}let j=void 0!==O?O[4]??0:0,w=t.h??j,A=(w&u.PrefetchHint.IsRootLayoutOrAbove)!=0,C=void 0!==O?O[2]??null:null,M=null!==C?{canonicalUrl:C[0],renderedSearch:g}:null,x=null!==M?M.renderedSearch:g,N=_(r,A,d,y,x,M,R),I=(0,p.getPartialVaryPath)(N.varyPath),F=null,L=t.c,D=void 0!==O?O[1]:void 0;if(void 0!==L)for(let[t,r]of L){let n,u=void 0!==D?D[t]:void 0,o=m(r.s,v,b);if(void 0!==a&&!R.treeDivergedFromBase){let e=a[1][t];void 0===e?o!==s.DEFAULT_SEGMENT_KEY&&(R.treeDivergedFromBase=!0):(e[2]??null)!==null||(n=e)}let p="string"!=typeof o||(0,f.doesStaticSegmentAppearInURL)(o)?b+1:b,h=(0,i.appendSegmentRequestKeyPart)(d,t,(0,i.createSegmentRequestKeyPart)(o)),y=e(r,o,u,n,l,c,h,I,x,v,p,R);null===F&&(F=new Map),F.set(t,y)}if(void 0!==D)for(let e in D){if(void 0!==L&&L.has(e))continue;let t=D[e],r=(0,i.appendSegmentRequestKeyPart)(d,e,(0,i.createSegmentRequestKeyPart)(t[0])),n=(0,h.convertFlightRouterStateToRouteTree)(t,r,I,x,R);null===F&&(F=new Map),F.set(e,n)}if(T){let e=w&~u.SubtreePrefetchHints;if(null!==F)for(let t of F.values())e=(0,u.propagateSubtreeBits)(e,t.prefetchHints);w=e}return void 0!==E&&(N.data={rsc:E.r,isPartial:"boolean"==typeof E.p?c:P(E.p),varyParams:(0,o.decodeVaryParams)(E.v,l),staleTimeSeconds:void 0!==E.s?S(E.s):null}),N.slots=F,N.prefetchHints=w,N}(e,m(e.s,y,0),t??void 0,t??void 0,r,n,i.ROOT_SEGMENT_REQUEST_KEY,null,l,y,0,c)}function m(e,t,r){if("string"==typeof e)return e;let n=e.k;if(null!==n)return[e.n,n,e.t,e.s];if(null===t)throw new c.InvariantError("Cannot resolve a dynamic segment that has no param value: the response provides no rendered pathname to parse it from.");let a=(0,f.parseDynamicParamFromURLPart)(e.t,t,r);return[e.n,(0,f.getCacheKeyForDynamicParam)(a),e.t,e.s]}let b=Symbol();function P(e){return(0,l.readFulfilledValue)(e,b)===b}function S(e){let t,r=e[Symbol.asyncIterator]();for(;;){let e=(0,l.readFulfilledValue)(r.next(),void 0);if(void 0===e||e.done)break;t=e.value}return void 0===t||isNaN(t)?null: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)},6651:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={dispatchAppRouterAction:function(){return s},dispatchGestureState:function(){return f},refreshOnInstantNavigationUnlock:function(){return i},useActionQueue:function(){return d}};for(var a in n)Object.defineProperty(t,a,{enumerable:!0,get:n[a]});let u=r(1147)._(r(8479)),l=r(5434);r(498);let o=null;function i(){}function s(e){if(null===o)throw Error("Internal Next.js error: Router action dispatched before initialization.");o(e)}let c=null;function f(e){if(null===c)throw Error("Internal Next.js error: Router action dispatched before initialization.");c(e)}function d(e){let[t,r]=u.default.useState(e.state),[n,a]=(0,u.useOptimistic)(t);c=a,o=t=>e.dispatch(t,r);let i=(0,u.useMemo)(()=>n,[n]);return(0,l.isThenable)(i)?(0,u.use)(i):i}("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)},6674:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"setAttributesFromProps",{enumerable:!0,get:function(){return u}});let r={acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv",noModule:"noModule"},n=["onLoad","onReady","dangerouslySetInnerHTML","children","onError","strategy","stylesheets"];function a(e){return["async","defer","noModule"].includes(e)}function u(e,t){for(let[u,l]of Object.entries(t)){if(!t.hasOwnProperty(u)||n.includes(u)||void 0===l)continue;let o=r[u]||u.toLowerCase();"SCRIPT"===e.tagName&&a(o)?e[o]=!!l:e.setAttribute(o,String(l)),(!1===l||"SCRIPT"===e.tagName&&a(o)&&(!l||"false"===l))&&(e.setAttribute(o,""),e.removeAttribute(o))}}("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)},6713:(e,t)=>{"use strict";let r;Object.defineProperty(t,"__esModule",{value:!0});var n={getAssetToken:function(){return o},getAssetTokenQuery:function(){return i},getDeploymentId:function(){return u},getDeploymentIdQuery:function(){return l}};for(var a in n)Object.defineProperty(t,a,{enumerable:!0,get:n[a]});function u(){return r}function l(e=!1){return r?`${e?"&":"?"}dpl=${r}`:""}function o(){return!1}function i(e=!1){return""}r=document.documentElement.dataset.dplId,document.documentElement.removeAttribute("data-dpl-id")},6782:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={WarningIcon:function(){return i},errorStyles:function(){return l},errorThemeCss:function(){return o}};for(var a in n)Object.defineProperty(t,a,{enumerable:!0,get:n[a]});r(138);let u=r(6407);r(8479);let l={container:{fontFamily:'system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"',height:"100vh",display:"flex",alignItems:"center",justifyContent:"center"},card:{marginTop:"-32px",maxWidth:"325px",padding:"32px 28px",textAlign:"left"},icon:{marginBottom:"24px"},title:{fontSize:"24px",fontWeight:500,letterSpacing:"-0.02em",lineHeight:"32px",margin:"0 0 12px 0",color:"var(--next-error-title)"},message:{fontSize:"14px",fontWeight:400,lineHeight:"21px",margin:"0 0 20px 0",color:"var(--next-error-message)"},form:{margin:0},buttonGroup:{display:"flex",gap:"8px",alignItems:"center"},button:{display:"inline-flex",alignItems:"center",justifyContent:"center",height:"32px",padding:"0 12px",fontSize:"14px",fontWeight:500,lineHeight:"20px",borderRadius:"6px",cursor:"pointer",color:"var(--next-error-btn-text)",background:"var(--next-error-btn-bg)",border:"var(--next-error-btn-border)"},buttonSecondary:{display:"inline-flex",alignItems:"center",justifyContent:"center",height:"32px",padding:"0 12px",fontSize:"14px",fontWeight:500,lineHeight:"20px",borderRadius:"6px",cursor:"pointer",color:"var(--next-error-btn-secondary-text)",background:"var(--next-error-btn-secondary-bg)",border:"var(--next-error-btn-secondary-border)"},digestFooter:{position:"fixed",bottom:"32px",left:"0",right:"0",textAlign:"center",fontFamily:'ui-monospace,SFMono-Regular,"SF Mono",Menlo,Consolas,monospace',fontSize:"12px",lineHeight:"18px",fontWeight:400,margin:"0",color:"var(--next-error-digest)"}},o=` +:root { + --next-error-bg: #fff; + --next-error-text: #171717; + --next-error-title: #171717; + --next-error-message: #171717; + --next-error-digest: #666666; + --next-error-btn-text: #fff; + --next-error-btn-bg: #171717; + --next-error-btn-border: none; + --next-error-btn-secondary-text: #171717; + --next-error-btn-secondary-bg: transparent; + --next-error-btn-secondary-border: 1px solid rgba(0,0,0,0.08); +} +@media (prefers-color-scheme: dark) { + :root { + --next-error-bg: #0a0a0a; + --next-error-text: #ededed; + --next-error-title: #ededed; + --next-error-message: #ededed; + --next-error-digest: #a0a0a0; + --next-error-btn-text: #0a0a0a; + --next-error-btn-bg: #ededed; + --next-error-btn-border: none; + --next-error-btn-secondary-text: #ededed; + --next-error-btn-secondary-bg: transparent; + --next-error-btn-secondary-border: 1px solid rgba(255,255,255,0.14); + } +} +body { margin: 0; color: var(--next-error-text); background: var(--next-error-bg); } +`.replace(/\n\s*/g,"");function i(){return(0,u.jsx)("svg",{width:"32",height:"32",viewBox:"-0.2 -1.5 32 32",fill:"none",style:l.icon,children:(0,u.jsx)("path",{d:"M16.9328 0C18.0839 0.000116771 19.1334 0.658832 19.634 1.69531L31.4299 26.1309C32.0708 27.4588 31.1036 28.9999 29.6291 29H2.00215C0.527541 29 -0.439628 27.4588 0.201371 26.1309L11.9973 1.69531C12.4979 0.658823 13.5474 7.75066e-05 14.6984 0H16.9328ZM3.59493 26H28.0363L16.9328 3H14.6984L3.59493 26ZM15.8156 19C16.9202 19.0001 17.8156 19.8955 17.8156 21C17.8156 22.1045 16.9202 22.9999 15.8156 23C14.7111 23 13.8156 22.1046 13.8156 21C13.8156 19.8954 14.7111 19 15.8156 19ZM17.3156 16.5H14.3156V8.5H17.3156V16.5Z",fill:"var(--next-error-title)"})})}("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)},6841:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={createHeadKey:function(){return l},createSegmentKey:function(){return u.createRouterCacheKey}};for(var a in n)Object.defineProperty(t,a,{enumerable:!0,get:n[a]});let u=r(9565);function l(e){let t=[e.value],r=e.parent;for(;null!==r;){let e=r.value;"string"==typeof e&&t.push(e),r=r.parent}return JSON.stringify(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)},6897:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),r(1793);let n=r(6713),a=r(6533);if((0,n.getAssetToken)()){let e=(0,n.getAssetTokenQuery)(),t=r.u;r.u=(...r)=>(0,a.encodeURIPath)(t(...r))+e;let u=r.k;r.k=(...t)=>u(...t)+e;let l=r.miniCssF;r.miniCssF=(...t)=>l(...t)+e}else{let e=r.u;r.u=(...t)=>(0,a.encodeURIPath)(e(...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)},6900:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={compareAppPaths:function(){return i},normalizeAppPath:function(){return o},normalizeRscURL:function(){return f},selectAppPageEntry:function(){return c}};for(var a in n)Object.defineProperty(t,a,{enumerable:!0,get:n[a]});let u=r(8981),l=r(5787);function o(e){return(0,u.ensureLeadingSlash)(e.split("/").reduce((e,t,r,n)=>!t||(0,l.isGroupSegment)(t)||"@"===t[0]||("page"===t||"route"===t)&&r===n.length-1?e:`${e}/${t}`,""))}function i(e,t){let r=e.includes("/@"),n=t.includes("/@");return r&&!n?-1:!r&&n?1:e.localeCompare(t)}function s(e){return o(e).replace(/%5F/g,"_")}function c(e,t,r=s){let n;for(let a of t)r(a)===e&&(void 0===n||0>i(n,a))&&(n=a);if(void 0===n)throw Error(`Invariant: no direct app page entry found for ${e}`);return n}function f(e){return e.replace(/\.rsc($|\?)/,"$1")}},7006:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={NavigationPromisesContext:function(){return c},PathParamsContext:function(){return s},PathnameContext:function(){return i},ReadonlyURLSearchParams:function(){return l.ReadonlyURLSearchParams},SearchParamsContext:function(){return o},createDevToolsInstrumentedPromise:function(){return f}};for(var a in n)Object.defineProperty(t,a,{enumerable:!0,get:n[a]});let u=r(8479),l=r(7075),o=(0,u.createContext)(null),i=(0,u.createContext)(null),s=(0,u.createContext)(null),c=(0,u.createContext)(null);function f(e,t){let r=Promise.resolve(t);return r.status="fulfilled",r.value=t,r.displayName=`${e} (SSR)`,r}},7012:(e,t)=>{"use strict";let r,n;Object.defineProperty(t,"__esModule",{value:!0});var a={useDynamicRouteParams:function(){return r},useDynamicSearchParams:function(){return n}};for(var u in a)Object.defineProperty(t,u,{enumerable:!0,get:a[u]});("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)},7034:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={hmrRefresh:function(){return u.hmrRefresh},navigate:function(){return u.navigate},push:function(){return u.push},refresh:function(){return u.refresh},replace:function(){return u.replace},restore:function(){return u.restore},traverse:function(){return u.traverse}};for(var a in n)Object.defineProperty(t,a,{enumerable:!0,get:n[a]});let u=r(8626);("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)},7075:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ReadonlyURLSearchParams",{enumerable:!0,get:function(){return n}});class r extends Error{constructor(){super("Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams")}}class n extends URLSearchParams{append(){throw new r}delete(){throw new r}set(){throw new r}sort(){throw new 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)},7229:(e,t,r)=>{"use strict";function n(e){return e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"removeBasePath",{enumerable:!0,get:function(){return n}}),r(6630),("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)},7393:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={djb2Hash:function(){return a},hexHash:function(){return u}};for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]});function a(e){let t=5381;for(let r=0;r>>0}function u(e){return a(e).toString(36).slice(0,5)}},7415:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"notFound",{enumerable:!0,get:function(){return u}});let n=r(4102),a=`${n.HTTP_ERROR_FALLBACK_ERROR_CODE};404`;function u(){let e=Error(a);throw e.digest=a,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)},7614:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={completeHardNavigation:function(){return b},completeSoftNavigation:function(){return P},completeTraverseNavigation:function(){return S},navigate:function(){return g},navigateToKnownRoute:function(){return _}};for(var a in n)Object.defineProperty(t,a,{enumerable:!0,get:n[a]});r(1265);let u=r(8946),l=r(8412),o=r(8571),i=r(9596),s=r(3548),c=r(8146);r(607),r(3547),r(1178);let f=r(498),d=r(7706),p=r(5823),h=r(3772);r(1654);let y=r(6648);function g(e,t,r,n,a,u,l,o,s,f){var d,p,y,g,v,b,P,S,R,E,T,O,j,w,A,C,M,x,N,I,F,L,D,U;let k,H,B,V,$,K;return d=e,p=t,y=r,g=n,v=a,b=u,P=l,S=o,R=s,E=f,T=i.segmentCacheMap,k=Date.now(),H=p.href,B=(0,c.createCacheKey)(H,P),null!==(V=(0,i.readRouteCacheEntry)(k,B))&&V.status===i.EntryStatus.Fulfilled?(O=k,j=d,w=p,A=y,C=g,M=P,x=v,N=S,I=R,F=E,L=V,D=null,U=T,$=L.canonicalUrl+w.hash,K={renderedSearch:L.renderedSearch,root:L.root,dynamicStaleAt:(0,h.computeDynamicStaleAt)(O,h.UnknownDynamicStaleTime),treeDivergedFromBase:!1},_(O,j,w,$,K,A,C,x,N,M,I,F,D,U,null,L,void 0)):m(k,d,p,y,g,P,v,b,S,R,E,null,T).catch(()=>d)}function _(e,t,r,n,a,u,o,i,s,c,f,d,p,h,y,g,_){let v={separateRefreshUrls:null,scrollRef:null},m=r.href===u.href,S=(0,l.startPPRNavigation)(e,u,o,i,a.root,s,a.dynamicStaleAt,m,v,h,!1);return null!==S?(s!==l.FreshnessPolicy.Gesture&&(0,l.spawnDynamicRequests)(S,r,c,s,v,g,d,p,h,_),P(t,r,c,S,a.renderedSearch,n,d,f,v.scrollRef,y)):b(t,r,d)}let v=["",{},null,"refetch"];async function m(e,t,r,n,a,c,f,d,p,h,g,m,P){let S;switch(p){case l.FreshnessPolicy.Default:case l.FreshnessPolicy.HistoryTraversal:case l.FreshnessPolicy.Gesture:S=d;break;case l.FreshnessPolicy.Hydration:case l.FreshnessPolicy.RefreshAll:case l.FreshnessPolicy.HMRRefresh:S=v;break;default:S=d}let R=(0,u.fetchServerResponse)(r,{flightRouterState:S,nextUrl:c}),E=await R;if("string"==typeof E)return b(t,new URL(E,location.origin),g);let{transportData:T,canonicalUrl:O,renderedSearch:j,couldBeIntercepted:w,supportsPerSegmentPrefetching:A,dynamicStaleTime:C,isResponsePartial:M,staticStageResponse:x,runtimePrefetchStream:N,responseHeaders:I,debugInfo:F}=E,L=(0,y.createNavigationSeed)(e,d,T,null,M,null,j,null,C);return(0,s.discoverKnownRoute)(e,r.pathname,r.search,c,null,L.root,w,(0,o.createHrefFromUrl)(O,!1),L.renderedSearch,A,!1),null!==x&&(0,i.spawnStaticStageCacheWrite)(e,x,M,I,d,j,P),null!==N&&(0,i.writeRuntimePrefetchStreamIntoCache)(e,N,d,j,P).catch(()=>{}),null!==E.revealAfter&&await E.revealAfter,_(e,t,r,(0,o.createHrefFromUrl)(O),L,n,a,f,p,c,h,g,m,P,F,null,void 0)}function b(e,t,r){return(0,p.isJavaScriptURLString)(t.href)?(console.error("Next.js has blocked a javascript: URL as a security precaution."),e):{canonicalUrl:t.origin===location.origin?(0,o.createHrefFromUrl)(t):t.href,pushRef:{pendingPush:"push"===r,mpaNavigation:!0,preserveCustomHistoryState:!1},renderedSearch:e.renderedSearch,scrollRef:e.scrollRef,root:e.root,tree:e.tree,nextUrl:e.nextUrl,previousNextUrl:e.previousNextUrl,debugInfo:null}}function P(e,t,r,n,a,u,l,o,s,c){let p,h,y=n.tree.route,g=(0,d.computeChangedPath)(e.tree,y)||e.nextUrl,_=new URL(e.canonicalUrl,t),v=t.pathname===_.pathname&&t.search===_.search&&t.hash!==_.hash;if(o===f.ScrollBehavior.NoScroll)null!==s&&(s.current=!1),p=e.scrollRef.scrollRef,h=!1;else if(v){let t=e.scrollRef.scrollRef;null!==t&&(t.current=!1),null!==s&&(s.current=!1),p={current:!0},h=!0}else{if(p=s,null!==s){let t=e.scrollRef.scrollRef;null!==t&&(t.current=!1)}h=!1}return{canonicalUrl:u,renderedSearch:a,pushRef:{pendingPush:"push"===l,mpaNavigation:!1,preserveCustomHistoryState:!1},scrollRef:{scrollRef:p,forceScroll:h,onlyHashChange:v,hashFragment:o!==f.ScrollBehavior.NoScroll&&""!==t.hash?decodeURIComponent(t.hash.slice(1)):e.scrollRef.hashFragment},root:(0,i.createRootRouteTree)(n.tree.node,n.head.node),tree:y,nextUrl:g,previousNextUrl:r,debugInfo:c}}function S(e,t,r,n,a){return{canonicalUrl:(0,o.createHrefFromUrl)(t),renderedSearch:r,pushRef:{pendingPush:!1,mpaNavigation:!1,preserveCustomHistoryState:!0},scrollRef:e.scrollRef,root:(0,i.createRootRouteTree)(n.tree.node,n.head.node),tree:n.tree.route,nextUrl:a,previousNextUrl:null,debugInfo:null}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},7630:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={computeCacheBustingSearchParam:function(){return c},computeLegacyCacheBustingSearchParam:function(){return f}};for(var a in n)Object.defineProperty(t,a,{enumerable:!0,get:n[a]});let u=r(7393),l=new TextEncoder;function o(e){return void 0===e?"0":Array.isArray(e)?e.join(","):e}function i(e,t,r,n){return(void 0===e||"0"===e)&&void 0===t&&void 0===r&&void 0===n?null:[e??"0",o(t),o(r),o(n)].join(",")}async function s(e){var t=new Uint8Array(await globalThis.crypto.subtle.digest("SHA-256",l.encode(e))).subarray(0,12);let r="";for(let e=0;e{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={computeChangedPath:function(){return p},extractPathFromFlightRouterState:function(){return f},extractSourcePageFromFlightRouterState:function(){return d},getSelectedParams:function(){return function e(t,r={}){for(let n of Object.values(t[1])){let t=n[0],a=Array.isArray(t),u=a?t[1]:t;u&&u!==l.PAGE_SEGMENT_KEY&&(a&&("c"===t[2]||"oc"===t[2])?r[t[0]]=t[1].split("/"):a&&(r[t[0]]=t[1]),r=e(n,r))}return r}},segmentToSourcePagePathname:function(){return s}};for(var a in n)Object.defineProperty(t,a,{enumerable:!0,get:n[a]});let u=r(5411),l=r(5787),o=e=>"/"===e[0]?e.slice(1):e,i=e=>"string"==typeof e?"children"===e?"":e:e[1],s=e=>{if("string"==typeof e)return"children"===e?"":e===l.PAGE_SEGMENT_KEY?"page":e;let[t,,r]=e;switch(r){case"c":return`[...${t}]`;case"ci(..)(..)":return`(..)(..)[...${t}]`;case"ci(.)":return`(.)[...${t}]`;case"ci(..)":return`(..)[...${t}]`;case"ci(...)":return`(...)[...${t}]`;case"oc":return`[[...${t}]]`;case"d":default:return`[${t}]`;case"di(..)(..)":return`(..)(..)[${t}]`;case"di(.)":return`(.)[${t}]`;case"di(..)":return`(..)[${t}]`;case"di(...)":return`(...)[${t}]`}};function c(e){return e.reduce((e,t)=>""===(t=o(t))||(0,l.isGroupSegment)(t)?e:`${e}/${t}`,"")||"/"}function f(e){let t=Array.isArray(e[0])?e[0][1]:e[0];if(t===l.DEFAULT_SEGMENT_KEY||u.INTERCEPTION_ROUTE_MARKERS.some(e=>t.startsWith(e)))return;if(t===l.PAGE_SEGMENT_KEY)return"";let r=[i(t)],n=e[1]??{},a=n.children?f(n.children):void 0;if(void 0!==a)r.push(a);else for(let[e,t]of Object.entries(n)){if("children"===e)continue;let n=f(t);void 0!==n&&r.push(n)}return c(r)}function d(e){let t=function e(t){let r=s(t[0]);if(r===l.DEFAULT_SEGMENT_KEY)return;if("page"===r)return[r];let n=t[1]??{},a=n.children?e(n.children):void 0;if(void 0!==a)return""===r?a:[o(r),...a];for(let[t,a]of Object.entries(n)){if("children"===t)continue;let n=e(a);if(void 0!==n)return""===r?n:[o(r),...n]}}(e);return t?`/${t.join("/")}`:void 0}function p(e,t){let r=function e(t,r){let[n,a]=t,[o,s]=r,c=i(n),d=i(o);if(u.INTERCEPTION_ROUTE_MARKERS.some(e=>c.startsWith(e)||d.startsWith(e)))return"";if(("string"==typeof n||"string"==typeof o?n!==o:n[0]!==o[0]||n[1]!==o[1])||n===l.PAGE_SEGMENT_KEY&&t[5]!==r[5])return f(r)??"";for(let t in a)if(s[t]){let r=e(a[t],s[t]);if(null!==r)return`${i(o)}/${r}`}return null}(e,t);return null==r||"/"===r?r:c(r.split("/"))}("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)},7768:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={UnrecognizedActionError:function(){return a},unstable_isUnrecognizedActionError:function(){return u}};for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]});class a extends Error{constructor(...e){super(...e),this.name="UnrecognizedActionError"}}function u(e){return!!(e&&"object"==typeof e&&e instanceof a)}("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)},7811:(e,t)=>{"use strict";function r(e,t={}){if(t.onlyHashChange)return void e();let n=document.documentElement;if("smooth"!==n.dataset.scrollBehavior)return void e();let a=n.style.scrollBehavior;n.style.scrollBehavior="auto",t.dontForceLayout||n.getClientRects(),e(),n.style.scrollBehavior=a}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"disableSmoothScrollDuringRouteTransition",{enumerable:!0,get:function(){return r}})},8070:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"reducer",{enumerable:!0,get:function(){return s}});let n=r(498),a=r(1198),u=r(9457),l=r(3259),o=r(8558),i=r(285),s=function(e,t){switch(t.type){case n.ACTION_NAVIGATE:return(0,a.navigateReducer)(e,t);case n.ACTION_SERVER_PATCH:return(0,u.serverPatchReducer)(e,t);case n.ACTION_RESTORE:return(0,l.restoreReducer)(e,t);case n.ACTION_REFRESH:return(0,o.refreshReducer)(e,t);case n.ACTION_HMR_REFRESH:throw Error("hmrRefresh can only be used in development mode. Please use refresh instead.");case n.ACTION_SERVER_ACTION:return(0,i.serverActionReducer)(e,t);default:throw Error("Unknown action")}};("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)},8091:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,a={EntryStatus:function(){return o},Fallback:function(){return i},createCacheMap:function(){return c},deleteFromCacheMap:function(){return y},deleteMapEntry:function(){return g},getFromCacheMap:function(){return f},isValueExpired:function(){return d},setInCacheMap:function(){return p},setSizeInCacheMap:function(){return _}};for(var u in a)Object.defineProperty(t,u,{enumerable:!0,get:a[u]});let l=r(167);var o=((n={})[n.Empty=0]="Empty",n[n.Pending=1]="Pending",n[n.Fulfilled=2]="Fulfilled",n[n.Rejected=3]="Rejected",n);let i={},s={};function c(){return{parent:null,key:null,value:null,map:null,prev:null,next:null,size:0}}function f(e,t,r,n,a,u){let o=function e(t,r,n,a,u,l,o){let c,f;if(null!==a)c=a.value,f=a.parent;else if(u&&l!==s)c=s,f=null;else{if(null===n.value)return n;let e=n.value;return d(t,r,e)?(g(n),null):o&&2!==e.status?null:n}let p=n.map;if(null!==p){let n=p.get(c);if(void 0!==n){let a=e(t,r,n,f,u,c,o);if(null!==a)return a}let a=p.get(i);if(void 0!==a)return e(t,r,a,f,u,c,o)}return null}(e,t,r,n,a,0,u);return null===o||null===o.value?null:((0,l.lruPut)(o),o.value)}function d(e,t,r){return r.staleAt<=e||r.version{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={createCacheKey:function(){return a},splitPathnameIntoParts:function(){return u}};for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]});function a(e,t){let r=new URL(e);return{pathname:r.pathname,search:r.search,nextUrl:t}}function u(e){let t=[],r=0;for(let n=0;nr&&t.push(e.slice(r,n)),r=n+1);return r{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}}),r(138);let n=r(6407);r(8479);let a=r(511),u=r(6782),l=function({error:e}){let t=e?.digest,r=!!t;return(0,a.handleISRError)({error:e}),(0,n.jsxs)("html",{id:"__next_error__",children:[(0,n.jsx)("head",{children:(0,n.jsx)("style",{dangerouslySetInnerHTML:{__html:u.errorThemeCss}})}),(0,n.jsxs)("body",{children:[(0,n.jsx)("div",{style:u.errorStyles.container,children:(0,n.jsxs)("div",{style:u.errorStyles.card,children:[(0,n.jsx)(u.WarningIcon,{}),(0,n.jsx)("h1",{style:u.errorStyles.title,children:"This page couldn’t load"}),(0,n.jsx)("p",{style:u.errorStyles.message,children:r?"A server error occurred. Reload to try again.":"Reload to try again, or go back."}),(0,n.jsxs)("div",{style:u.errorStyles.buttonGroup,children:[(0,n.jsx)("form",{style:u.errorStyles.form,children:(0,n.jsx)("button",{type:"submit",style:u.errorStyles.button,children:"Reload"})}),!r&&(0,n.jsx)("button",{type:"button",style:u.errorStyles.buttonSecondary,onClick:()=>{window.history.length>1?window.history.back():window.location.href="/"},children:"Back"})]})]})}),t&&(0,n.jsxs)("p",{style:u.errorStyles.digestFooter,children:["ERROR ",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)},8412:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,a={FreshnessPolicy:function(){return P},beginLockedNavigation:function(){return G},createInitialRenderTreeForHydration:function(){return R},createRootNavigationTask:function(){return b},getCurrentNavigationLock:function(){return q},isDeferredRsc:function(){return K},resetNavigationLockToPending:function(){return X},spawnDynamicRequests:function(){return D},startPPRNavigation:function(){return E}};for(var u in a)Object.defineProperty(t,u,{enumerable:!0,get:a[u]});let l=r(1265),o=r(5787),i=r(5488),s=r(8571),c=r(8946),f=r(6651),d=r(498),p=r(9242),h=r(1113),y=r(6648),g=r(9596),_=r(3548),v=r(5686),m=r(3772);function b(e,t){return{tree:e,head:t}}var P=((n={})[n.Default=0]="Default",n[n.Hydration=1]="Hydration",n[n.HistoryTraversal=2]="HistoryTraversal",n[n.RefreshAll=3]="RefreshAll",n[n.HMRRefresh=4]="HMRRefresh",n[n.Gesture=5]="Gesture",n);let S=()=>{};function R(e,t,r){let n={separateRefreshUrls:null,scrollRef:null},a=g.segmentCacheMap;return b(w(e,t.tree,1,r,!1,n,a,!1),w(e,t.head,1,r,!1,n,a,!1))}function E(e,t,r,n,a,u,l,o,i,c,f){let d={canonicalUrl:(0,s.createHrefFromUrl)(t),renderedSearch:r},p=O(e,n.tree,a.tree,u,l,o,!1,d,null,i,c,f);if(null===p)return null;let h=O(e,n.head,a.head,u,l,o,!1,d,null,i,c,f);return null===h?null:b(p,h)}function T(e,t,r,n,a){return{status:e,route:t,node:r,dynamicRequestTree:n,children:a}}function O(e,t,r,n,a,u,i,s,c,f,d,h){var y;let _,b,P,S,R=r.segment;if(!(0,g.doesRouteStructureMatch)(t,r))return(r.prefetchHints&l.PrefetchHint.IsRootLayoutOrAbove)!=0&&(0,p.isNavigatingToNewRootLayout)(t,r)||R===o.NOT_FOUND_SEGMENT_KEY?null:w(e,r,n,a,i,f,d,h);let E=r.slots,C=!1;switch(n){case 0:case 2:case 1:case 5:C=!1;break;case 3:case 4:C=!0}let L=null===E,D=(0,v.compareParams)(t.varyPath,r.varyPath);if(D!==v.ParamsChange.None){let u;switch(u=D===v.ParamsChange.PathParam?function(e){return 1===e?0:++F}(n):t.data.bfcacheId,n){case 0:case 5:{let l=t.data;if(!(0,v.didReadChangedParam)(t.varyPath,r.varyPath,l.varyParams)){let t=I(l.rsc,l.prefetchRsc,l.varyParams,u);5!==n&&(0,m.writeToBFCache)(e,r.varyPath,t,a),P=x(r,t),S=!1;break}}case 1:case 2:case 3:case 4:{let t=N(e,r,n,a,u,d,h);P=t.node,S=t.needsDynamicRequest}}L&&j(n,P.data,f)}else if(C||L&&u){let u=N(e,r,n,a,t.data.bfcacheId,d,h);P=u.node,S=u.needsDynamicRequest,P.data.scrollRef=t.data.scrollRef}else P=x(r,t.data),S=!1;let U=r.refreshState,k=null!=U?U:c;P.refreshState=k,S&&null!==k&&(y=f,_=k.canonicalUrl,null===(b=y.separateRefreshUrls)?y.separateRefreshUrls=new Set([_]):b.add(_));let H={},B=null,V=!1,$={};if(null!==E){let r=t.slots,l=new Map;for(let[t,c]of(P.slots=l,B=new Map,E)){let p=r?.get(t);if(void 0===p)return null;let y=p.segment,_=c.segment;2!==n&&_===o.DEFAULT_SEGMENT_KEY&&y!==o.DEFAULT_SEGMENT_KEY&&D!==v.ParamsChange.PathParam&&(c=function(e,t){let r,n,a=t.refreshState;null!==a?(r=a.canonicalUrl,n=a.renderedSearch):(r=e.canonicalUrl,n=e.renderedSearch);let u=(0,g.rebaseInactiveRouteTree)(t);return u.refreshState={canonicalUrl:r,renderedSearch:n},u}(s,p));let m=O(e,p,c,n,a,u,i||S,s,k,f,d,h);if(null===m)return null;B.set(t,m),l.set(t,m.node);let b=m.route;H[t]=b;let P=m.dynamicRequestTree;null!==P?(V=!0,$[t]=P):$[t]=b}}let K=A(r,H,k);return T(+!S,K,P,M(K,$,S,V,i),B)}function j(e,t,r){switch(e){case 0:case 5:case 3:case 4:null===r.scrollRef&&(r.scrollRef={current:!0}),t.scrollRef=r.scrollRef}}function w(e,t,r,n,a,u,l,o){let i=t.slots,s=N(e,t,r,n,function(e){return 1===e?0:++F}(r),l,o),c=s.node,f=s.needsDynamicRequest;null===i&&j(r,c.data,u);let d={},p=null,h=!1,y={};if(null!==i){let t=new Map;for(let[s,g]of(c.slots=t,p=new Map,i)){let i=w(e,g,r,n,a||f,u,l,o);p.set(s,i),t.set(s,i.node);let c=i.route;d[s]=c;let _=i.dynamicRequestTree;null!==_?(h=!0,y[s]=_):y[s]=c}}let g=A(t,d,null);return T(+!f,g,c,M(g,y,f,h,a),p)}function A(e,t,r){let n=[e.segment,t,null!==r?[r.canonicalUrl,r.renderedSearch]:null,null,e.prefetchHints];if(e.segment===o.PAGE_SEGMENT_KEY){let t=(0,v.getRenderedSearchFromVaryPath)(e.varyPath);null!==t&&(n[5]=t)}return n}function C(e,t){let r=[e[0],t];return 2 in e&&(r[2]=e[2]),3 in e&&(r[3]=e[3]),4 in e&&(r[4]=e[4]),5 in e&&(r[5]=e[5]),r}function M(e,t,r,n,a){let u=null;return r?(u=C(e,t),a||(u[3]="refetch")):u=n?C(e,t):null,u}function x(e,t){return{requestKey:e.requestKey,segment:e.segment,shellVaryPath:e.shellVaryPath,refreshState:null,data:t,varyPath:e.varyPath,slots:null,prefetchHints:e.prefetchHints}}function N(e,t,r,n,a,u,l){let o,s,c,f,d,p,h,y,_=t.data,v=null!==_?_.rsc:null,b=null!==_?_.varyParams:null;switch(r){case 0:{let r=(0,m.readFromBFCacheDuringRegularNavigation)(e,t.varyPath);if(null!==r)return{node:x(t,I(r.rsc,r.prefetchRsc,r.varyParams,a)),needsDynamicRequest:!1};break}case 1:{let r=I(v,null,b,a);return(0,m.writeToBFCache)(e,t.varyPath,r,n),{node:x(t,r),needsDynamicRequest:!1}}case 2:let P=(0,m.readFromBFCache)(t.varyPath);if(null!==P){let e=P.rsc,r=!K(e)||"pending"!==e.status;return{node:x(t,I(P.rsc,r?null:P.prefetchRsc,P.varyParams,P.bfcacheId)),needsDynamicRequest:!1}}}let S=null,R=!0,E=null,T=(0,g.readSegmentCacheEntryForNavigation)(e,u,t.varyPath,l);if(null!==T)switch(T.status){case g.EntryStatus.Fulfilled:S=T.rsc,R=T.isPartial,E=T.varyParams;break;case g.EntryStatus.Pending:S=(0,g.waitForSegmentCacheEntry)(T).then(e=>null!==e?e.rsc:null),R=T.isPartial;case g.EntryStatus.Empty:case g.EntryStatus.Rejected:}t.segment===i.HEAD_REQUEST_KEY&&R&&(S=""),null!==v?(R?(d=S,p=v,h=b):(d=null,p=S,h=E),y=!1):(R?(d=S,c=[],(f=new Promise((e,t)=>{o=e,s=t})).status="pending",f.resolve=(e,t)=>{"pending"===f.status&&(f.status="fulfilled",f.value=e,null!==t&&c.push.apply(c,t),o(e))},f.reject=(e,t)=>{"pending"===f.status&&(f.status="rejected",f.reason=e,null!==t&&c.push.apply(c,t),s(e))},f.tag=$,f._debugInfo=c,p=f,h=null):(d=null,p=S,h=E),y=R);let O=I(p,d,h,a);return 5!==r&&(0,m.writeToBFCache)(e,t.varyPath,O,n),{node:x(t,O),needsDynamicRequest:y}}function I(e,t,r,n,a=null){return{rsc:e,prefetchRsc:t,varyParams:r,scrollRef:a,bfcacheId:n}}let F=0,L=!1;function D(e,t,r,n,a,u,l,o,i,c){let f=e.tree.dynamicRequestTree;if(null===f)if(0===e.head.status)f=g.MetadataOnlyRequestTree;else{L=!1;return}let d=H(e.tree,e.head,f,t,r,n,u,o,i,c),p=a.separateRefreshUrls,h=null;if(null!==p){h=[];let a=(0,s.createHrefFromUrl)(t);for(let t of p){if(t===a)continue;let l=f;null!==l&&h.push(H(e.tree,null,l,new URL(t,location.origin),r,n,u,o,i,c))}}U(e,r,d,h,u,l).then(S,S)}async function U(e,t,r,n,a,u){var l,o;let i=await (l=r,o=n,new Promise(e=>{let t=t=>{0===t.exitStatus?0==--n&&e(0):e(t.exitStatus)},r=()=>e(2),n=1;l.then(t,r),null!==o&&(n+=o.length,o.forEach(e=>e.then(t,r)))}));if(0===i){i=V(e.tree,null,null);let t=V(e.head,null,null);t>i&&(i=t)}switch(i){case -1:return;case 0:L=!1;return;case 1:{let n=await r;k(!1,n.url,t,n.seed,e,a,u,3);return}case 3:{let n=await r;k(!1,n.url,t,n.seed,e,a,u,2);return}case 2:{let n=await r;k(!0,n.url,t,n.seed,e,a,u,3);return}default:return i}}function k(e,t,r,n,a,u,l,o){if(null!==u){let e=u.predictedFrom;null!==e&&(e.hasDynamicRewrite=!0)}else if(null!==n){let e=Date.now();(0,_.discoverKnownRoute)(e,t.pathname,t.search,r,null,n.root,!1,(0,s.createHrefFromUrl)(t),n.renderedSearch,!1,!0)}(0,g.invalidateRouteCacheEntries)(r,{tree:a.tree.node,head:a.head.node}),e=e||L,L=!0;let i=a.tree.route,c=(0,h.getLastCommittedTree)(),p={type:d.ACTION_SERVER_PATCH,previousTree:i,url:t,nextUrl:r,seed:n,mpa:e,navigateType:null!==c&&i!==c?l:"replace",freshnessPolicy:o};(0,f.dispatchAppRouterAction)(p)}async function H(e,t,r,n,a,u,l,o,i,s){try{let o=await (0,c.fetchServerResponse)(n,{flightRouterState:r,nextUrl:a,isHmrRefresh:4===u,signal:s});if("string"==typeof o)return{exitStatus:2,url:new URL(o,location.origin),seed:null};let f=Date.now(),d=(0,y.createNavigationSeed)(f,e.route,o.transportData,null,o.isResponsePartial,null,o.renderedSearch,null,o.dynamicStaleTime);null!==l&&null!==o.staticStageResponse&&(0,g.spawnStaticStageCacheWrite)(f,o.staticStageResponse,o.isResponsePartial,o.responseHeaders,r,o.renderedSearch,i),null!==l&&null!==o.runtimePrefetchStream&&(0,g.writeRuntimePrefetchStreamIntoCache)(f,o.runtimePrefetchStream,r,o.renderedSearch,i).catch(()=>{});let p=(0,m.computeDynamicStaleAt)(f,o.dynamicStaleTime),h=B(e,d.root.tree,p,o.debugInfo,o.revealAfter);null!==t&&B(t,d.root.head,p,o.debugInfo,o.revealAfter);let _=new URL(o.canonicalUrl,location.origin),v=!1;if(null!==l){let e=new URL(l.canonicalUrl,location.origin);v=e.pathname!==_.pathname||e.search!==_.search}return{exitStatus:h?1:3*!!v,url:_,seed:d}}catch{if(s?.aborted)return{exitStatus:-1,url:n,seed:null};return{exitStatus:2,url:n,seed:null}}}function B(e,t,r,n,a){let u=t.data;if(0===e.status&&null!==u){e.status=1;let l=e.node.data;(function(e,t,r,n){let a=e.rsc,u=t.rsc;if(null!==u){if(null===a)e.rsc=u,e.varyParams=t.varyParams;else if(K(a)&&"pending"===a.status)if(e.varyParams=t.varyParams,null!==n){let e=()=>a.resolve(u,r);n.then(e,e)}else a.resolve(u,r)}})(l,u,n,a),(0,m.updateBFCacheEntryFromDynamicResponse)(t.varyPath,l,r)}let l=e.children,o=t.slots,i=!1;if(null!==l)if(null!==o)for(let[e,t]of o){let u=l.get(e);void 0===u?i=!0:(0,g.doesRouteStructureMatch)(u.node,t)&&null!==t.data&&(0,v.compareParams)(u.node.varyPath,t.varyPath)===v.ParamsChange.None&&B(u,t,r,n,a)&&(i=!0)}else null!==o&&(i=!0);return i}function V(e,t,r){var n,a,u;let l,o;0===e.status?(e.status=2,n=e.node.data,a=t,u=r,K(o=n.rsc)&&(null===a?o.resolve(null,u):o.reject(a,u)),l=null===e.node.refreshState?1:2):l=0;let i=e.children;if(null!==i)for(let[,e]of i){let n=V(e,t,r);n>l&&(l=n)}return l}let $=Symbol();function K(e){return e&&"object"==typeof e&&e.tag===$}function q(){return null}function G(){return null}function X(){}("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)},8422:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={BailoutToCSRError:function(){return u},isBailoutToCSRError:function(){return l}};for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]});let a="BAILOUT_TO_CLIENT_SIDE_RENDERING";class u extends Error{constructor(e){super(`Bail out to client-side rendering: ${e}`),this.reason=e,this.digest=a}}function l(e){return"object"==typeof e&&null!==e&&"digest"in e&&e.digest===a}},8479:(e,t,r)=>{"use strict";e.exports=r(1406)},8558:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={refreshDynamicData:function(){return p},refreshReducer:function(){return d}};for(var a in n)Object.defineProperty(t,a,{enumerable:!0,get:n[a]});let u=r(498),l=r(7614),o=r(6648),i=r(9596),s=r(3684),c=r(8412),f=r(3772);function d(e,t){{let t=e.nextUrl,r=e.root;(0,i.invalidateSegmentCacheEntries)(t,r)}return p(e,c.FreshnessPolicy.RefreshAll,void 0)}function p(e,t,r){(0,f.invalidateBfCache)();let n=e.nextUrl,a=(0,s.hasInterceptionRouteInCurrentTree)(e.tree)?e.previousNextUrl||n:null,d=e.canonicalUrl,p=new URL(d,location.origin),h=e.renderedSearch,y=e.tree,g=u.ScrollBehavior.NoScroll,_=(0,c.getCurrentNavigationLock)(),v=Date.now(),m=(0,o.createNavigationSeed)(v,y,null,null,!0,null,h,null,f.UnknownDynamicStaleTime),b=e.pushRef.pendingPush?"push":"replace";return(0,l.navigateToKnownRoute)(v,e,p,d,m,p,h,e.root,t,a,g,b,_,i.segmentCacheMap,null,null,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)},8571:(e,t)=>{"use strict";function r(e,t=!0){return e.pathname+e.search+(t?e.hash:"")}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"createHrefFromUrl",{enumerable:!0,get:function(){return 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)},8626:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={hmrRefresh:function(){return P},navigate:function(){return y},push:function(){return g},refresh:function(){return b},replace:function(){return _},restore:function(){return m},traverse:function(){return v}};for(var a in n)Object.defineProperty(t,a,{enumerable:!0,get:n[a]});let u=r(8479),l=r(498),o=r(6651),i=r(5170),s=r(1178),c=r(5448),f=r(2753),d=r(3670),p=r(5823);function h(){let e=(0,i.getCurrentAppRouterState)();if(null===e)throw Error("Internal Next.js error: Router action dispatched before initialization.");return e}function y(e,t,r,n,a,i){if((0,p.isJavaScriptURLString)(e))throw Error("Next.js has blocked a javascript: URL as a security precaution.");(0,u.startTransition)(()=>{if(a)for(let e of a)(0,u.addTransitionType)(e);let p=new URL((0,f.addBasePath)(e),location.href);(0,s.setLinkForCurrentNavigation)(n),(0,c.startRouterTransition)(e,t,h().tree,i),(0,o.dispatchAppRouterAction)({type:l.ACTION_NAVIGATE,url:p,isExternalUrl:(0,d.isExternalURL)(p),locationSearch:location.search,scrollBehavior:r,navigateType:t})})}function g(e,t){y(e,"push",t?.scroll===!1?l.ScrollBehavior.NoScroll:l.ScrollBehavior.Default,null,t?.transitionTypes,null)}function _(e,t){y(e,"replace",t?.scroll===!1?l.ScrollBehavior.NoScroll:l.ScrollBehavior.Default,null,t?.transitionTypes,null)}function v(e,t){(0,u.startTransition)(()=>{(0,c.startRouterTransition)(e,"traverse",h().tree,null),m(new URL(e),t)})}function m(e,t){(0,u.startTransition)(()=>{(0,o.dispatchAppRouterAction)({type:l.ACTION_RESTORE,url:e,historyState:t})})}function b(){(0,u.startTransition)(()=>{(0,o.dispatchAppRouterAction)({type:l.ACTION_REFRESH})})}function P(){throw Error("hmrRefresh can only be used in development mode. Please use refresh instead.")}r(3548),("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)},8644:(e,t)=>{"use strict";function r(){let e,t,r=new Promise((r,n)=>{e=r,t=n});return{resolve:e,reject:t,promise:r}}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"createPromiseWithResolvers",{enumerable:!0,get:function(){return r}})},8738:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={MetadataBoundary:function(){return o},OutletBoundary:function(){return s},RootLayoutBoundary:function(){return c},ViewportBoundary:function(){return i}};for(var a in n)Object.defineProperty(t,a,{enumerable:!0,get:n[a]});let u=r(8799),l={[u.METADATA_BOUNDARY_NAME]:function({children:e}){return e},[u.VIEWPORT_BOUNDARY_NAME]:function({children:e}){return e},[u.OUTLET_BOUNDARY_NAME]:function({children:e}){return e},[u.ROOT_LAYOUT_BOUNDARY_NAME]:function({children:e}){return e}},o=l[u.METADATA_BOUNDARY_NAME.slice(0)],i=l[u.VIEWPORT_BOUNDARY_NAME.slice(0)],s=l[u.OUTLET_BOUNDARY_NAME.slice(0)],c=l[u.ROOT_LAYOUT_BOUNDARY_NAME.slice(0)]},8799:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={METADATA_BOUNDARY_NAME:function(){return a},OUTLET_BOUNDARY_NAME:function(){return l},ROOT_LAYOUT_BOUNDARY_NAME:function(){return o},VIEWPORT_BOUNDARY_NAME:function(){return u}};for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]});let a="__next_metadata_boundary__",u="__next_viewport_boundary__",l="__next_outlet_boundary__",o="__next_root_layout_boundary__"},8830:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizePathTrailingSlash",{enumerable:!0,get:function(){return u}});let n=r(2929),a=r(1939),u=e=>{if(47!==e.charCodeAt(0))return e;let{pathname:t,query:r,hash:u}=(0,a.parsePath)(e);return`${(0,n.removeTrailingSlash)(t)}${r}${u}`};("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)},8946:(e,t,r)=>{"use strict";let n;Object.defineProperty(t,"__esModule",{value:!0});var a={createFetch:function(){return A},createFromNextReadableStream:function(){return C},decodeBufferedStage:function(){return w},decodeStageUntilBoundary:function(){return j},fetchServerResponse:function(){return R},processFetch:function(){return E},resolveShellStageResponse:function(){return O}};for(var u in a)Object.defineProperty(t,u,{enumerable:!0,get:a[u]});let l=r(1225);r(9557);let o=r(4230),i=r(1773),s=r(6182),c=r(6514),f=r(3193),d=r(4961),p=r(1014),h=r(6713),y=r(711),g=r(4121),_=r(9596),v=r(3772),m=l.createFromReadableStream,b=l.createFromFetch;function P(e){return(0,p.urlToUrlWithoutFlightMarker)(new URL(e,location.origin)).toString()}let S=!1;async function R(e,t){let{flightRouterState:r,nextUrl:n}=t,a={[i.RSC_HEADER]:"1",[i.NEXT_ROUTER_STATE_TREE_HEADER]:(0,f.prepareFlightRouterStateForRequest)(r,t.isHmrRefresh)};n&&(a[i.NEXT_URL]=n);let u=e;try{(e=new URL(e)).pathname.endsWith("/")?e.pathname+="index.txt":e.pathname+=".txt";let r=await A(e,a,"auto",!0,t.signal),n=(0,p.urlToUrlWithoutFlightMarker)(new URL(r.url)),l=r.redirected?n:u,o=r.headers.get("content-type")||"",s=!!r.headers.get("vary")?.includes(i.NEXT_URL),c=!!r.headers.get(i.NEXT_DID_POSTPONE_HEADER),f=o.startsWith(i.RSC_CONTENT_TYPE_HEADER);if(f||(f=o.startsWith("text/plain")),!f||!r.ok||!r.body)return e.hash&&(n.hash=e.hash),P(n.toString());let d=r.flightResponsePromise,[h,_]=await Promise.all([d,r.cacheData]);if((r.headers.get(g.NEXT_NAV_DEPLOYMENT_ID_HEADER)??h.b)!==(0,y.getNavigationBuildId)())return P(r.url);if(void 0!==h.n)return P(h.n);let m=null!==_?await T(_,h,a):null;return{transportData:h.t??null,canonicalUrl:l,renderedSearch:h.q,couldBeIntercepted:s,supportsPerSegmentPrefetching:h.S,postponed:c,dynamicStaleTime:h.d??v.UnknownDynamicStaleTime,isResponsePartial:null!==_&&_.isResponsePartial,staticStageResponse:m,runtimePrefetchStream:h.p??null,responseHeaders:r.headers,debugInfo:d._debugInfo??null,revealAfter:h._revealAfter??null}}catch(e){if(t.signal?.aborted)throw e;return S||console.error(`Failed to fetch RSC payload for ${u}. Falling back to browser navigation.`,e),u.toString()}}async function E(e){return{response:e,cacheData:null}}async function T(e,t,r){let{isResponsePartial:n,staticBodyClone:a}=e;if(a){if(!n)return a.cancel(),t;if(void 0!==t.l){let e=await t.l;return 0===e?(a.cancel(),null):j(a,e,r)}a.cancel()}return null}async function O(e,t,r){let{shellBodyClone:n}=e;if(!n)return null;if(void 0===t.a)return n.cancel(),null;let a=await t.a;return 0===a?(n.cancel(),null):null===a?(n.cancel(),t):j(n,a,r)}async function j(e,t,r){try{let n=await (0,_.bufferPrefetchResponseBody)(e,t),a=w(n,r);return await new Promise(e=>{let t=setTimeout(()=>e(null),0);a.then(r=>{clearTimeout(t),e(r)},()=>{clearTimeout(t),e(null)})})}catch{return null}}function w(e,t){return C(new ReadableStream({start(t){t.enqueue(e),t.close()}}),t,{allowPartialStream:!0})}async function A(e,t,r,n,a){let u=(0,h.getDeploymentId)();u&&(t["x-deployment-id"]=u);let l={credentials:"same-origin",headers:t,priority:r||void 0,signal:a},s=new URL(e);await (0,d.setCacheBustingSearchParam)(s,t);let c=(0,o.fetch)(s,l).then(E),f=c.then(({response:e})=>e),p=n?M(f,t):null,y=await f,g=y.redirected;for(let e=0;e<20&&y.redirected;e++){let e=new URL(y.url,s);if(e.origin!==s.origin||e.searchParams.get(i.NEXT_RSC_UNION_QUERY)===s.searchParams.get(i.NEXT_RSC_UNION_QUERY))break;s=new URL(e),await (0,d.setCacheBustingSearchParam)(s,t),f=(c=(0,o.fetch)(s,l).then(E)).then(({response:e})=>e),p=n?M(f,t):null,y=await f,g=!0}let _=new URL(y.url,s);return _.searchParams.delete(i.NEXT_RSC_UNION_QUERY),{url:_.href,redirected:g,ok:y.ok,headers:y.headers,body:y.body,status:y.status,flightResponsePromise:p,cacheData:c.then(({cacheData:e})=>e)}}function C(e,t,r){return m(e,{callServer:s.callServer,findSourceMapURL:c.findSourceMapURL,debugChannel:n&&n(t),unstable_allowPartialStream:r?.allowPartialStream})}function M(e,t){return b(e,{callServer:s.callServer,findSourceMapURL:c.findSourceMapURL,debugChannel:n&&n(t)})}window.addEventListener("pagehide",()=>{S=!0}),window.addEventListener("pageshow",()=>{S=!1}),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},8962:(e,t,r)=>{"use strict";var n=r(3838);function a(e){var t="https://react.dev/errors/"+e;if(1d||35===d||114===d||120===d?(p=d,d=3,f++):(p=0,d=3);continue;case 2:44===(v=s[f++])?d=4:y=y<<4|(96s.length&&(v=-1)}var m=s.byteOffset+f;if(-1{"use strict";function r(e){return e.startsWith("/")?e:`/${e}`}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ensureLeadingSlash",{enumerable:!0,get:function(){return r}})},9242:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isNavigatingToNewRootLayout",{enumerable:!0,get:function(){return function e(t,r){let a=(t.prefetchHints&n.PrefetchHint.IsRootLayoutOrAbove)!=0,u=(r.prefetchHints&n.PrefetchHint.IsRootLayoutOrAbove)!=0;if(!a&&!u)return!1;if(a!==u)return!0;let l=t.segment,o=r.segment;if(Array.isArray(l)&&Array.isArray(o)){if(l[0]!==o[0]||l[2]!==o[2])return!0}else if(l!==o)return!0;let i=r.slots,s=t.slots;if(null!==i)for(let[t,r]of i){let n=s?.get(t);if(void 0===n||e(n,r))return!0}return!1}}});let n=r(1265);("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)},9270:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"reportGlobalError",{enumerable:!0,get:function(){return r}});let r="function"==typeof reportError?reportError:e=>{globalThis.console.error(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)},9431:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getAssetPrefix",{enumerable:!0,get:function(){return a}});let n=r(9557);function a(){let e=document.currentScript;if(!(e instanceof HTMLScriptElement))throw new n.InvariantError(`Expected document.currentScript to be a LapLens — race exposure analysis404: This page could not be found.

404

This page could not be found.

\ No newline at end of file diff --git a/_not-found.txt b/_not-found.txt new file mode 100644 index 0000000000000000000000000000000000000000..06d9b84d5bbd6e0d3c63dde8bbfe934a9c0c15f5 --- /dev/null +++ b/_not-found.txt @@ -0,0 +1,19 @@ +1:"$Sreact.fragment" +2:I[2600,[],""] +3:I[4519,[],""] +7:I[8738,[],"OutletBoundary"] +8:"$Sreact.suspense" +a:"ViewportBoundary" +b:I[8738,[],"$a"] +d:"MetadataBoundary" +e:I[8738,[],"$d"] +10:I[8401,[],"default",1] +:HL["/_next/static/css/ee70b33c5fe95b49.css","style"] +5:X +6:[["children",{"s":"__PAGE__","h":512,"d":{"r":["$","$1","c",{"children":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],null,["$","$L7",null,{"children":["$","$8",null,{"name":"Next.MetadataOutlet","children":"$@9"}]}]]}],"p":false,"v":null}}]] +4:[["children",{"s":"_not-found","h":512,"d":{"r":["$","$1","c",{"children":[null,["$","$L2",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L3",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],"p":false,"v":"$5"},"c":"$Q6"}]] +0:{"P":null,"c":["","_not-found"],"q":"","i":false,"t":{"t":{"s":"","h":528,"d":{"r":["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/ee70b33c5fe95b49.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","children":["$","body",null,{"children":["$","$L2",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L3",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]}]}]]}],"p":false,"v":null},"c":"$Q4"},"h":{"r":["$","$1","h",{"children":[["$","meta",null,{"name":"robots","content":"noindex"}],["$","$Lb",null,{"children":"$Lc"}],["$","$Le",null,{"children":[["$","div",null,{"hidden":true,"children":["$","$8",null,{"name":"Next.Metadata","children":"$Lf"}]}],null]}],null]}],"p":false,"v":null}},"m":"$undefined","G":["$10",[]],"S":true,"r":"$undefined","s":"$undefined","a":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"UbbMpeloSgsLDdLmZN7Jl"} +5:C +c:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]] +9:null +f:[["$","title","0",{"children":"LapLens — race exposure analysis"}],["$","meta","1",{"name":"description","content":"Review racing footage, find sponsor marks, and inspect the moments behind every exposure count."}]] diff --git a/_not-found/__next._full.txt b/_not-found/__next._full.txt new file mode 100644 index 0000000000000000000000000000000000000000..06d9b84d5bbd6e0d3c63dde8bbfe934a9c0c15f5 --- /dev/null +++ b/_not-found/__next._full.txt @@ -0,0 +1,19 @@ +1:"$Sreact.fragment" +2:I[2600,[],""] +3:I[4519,[],""] +7:I[8738,[],"OutletBoundary"] +8:"$Sreact.suspense" +a:"ViewportBoundary" +b:I[8738,[],"$a"] +d:"MetadataBoundary" +e:I[8738,[],"$d"] +10:I[8401,[],"default",1] +:HL["/_next/static/css/ee70b33c5fe95b49.css","style"] +5:X +6:[["children",{"s":"__PAGE__","h":512,"d":{"r":["$","$1","c",{"children":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],null,["$","$L7",null,{"children":["$","$8",null,{"name":"Next.MetadataOutlet","children":"$@9"}]}]]}],"p":false,"v":null}}]] +4:[["children",{"s":"_not-found","h":512,"d":{"r":["$","$1","c",{"children":[null,["$","$L2",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L3",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],"p":false,"v":"$5"},"c":"$Q6"}]] +0:{"P":null,"c":["","_not-found"],"q":"","i":false,"t":{"t":{"s":"","h":528,"d":{"r":["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/ee70b33c5fe95b49.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","children":["$","body",null,{"children":["$","$L2",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L3",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]}]}]]}],"p":false,"v":null},"c":"$Q4"},"h":{"r":["$","$1","h",{"children":[["$","meta",null,{"name":"robots","content":"noindex"}],["$","$Lb",null,{"children":"$Lc"}],["$","$Le",null,{"children":[["$","div",null,{"hidden":true,"children":["$","$8",null,{"name":"Next.Metadata","children":"$Lf"}]}],null]}],null]}],"p":false,"v":null}},"m":"$undefined","G":["$10",[]],"S":true,"r":"$undefined","s":"$undefined","a":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"UbbMpeloSgsLDdLmZN7Jl"} +5:C +c:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]] +9:null +f:[["$","title","0",{"children":"LapLens — race exposure analysis"}],["$","meta","1",{"name":"description","content":"Review racing footage, find sponsor marks, and inspect the moments behind every exposure count."}]] diff --git a/_not-found/__next._not-found.__PAGE__.txt b/_not-found/__next._not-found.__PAGE__.txt new file mode 100644 index 0000000000000000000000000000000000000000..118e209ac5f2aa08f0da79ddbe3c0b5a76abd8a4 --- /dev/null +++ b/_not-found/__next._not-found.__PAGE__.txt @@ -0,0 +1,25 @@ +1:"$Sreact.fragment" +2:I[2600,[],""] +3:I[4519,[],""] +a:I[8738,[],"OutletBoundary"] +b:"$Sreact.suspense" +e:"ViewportBoundary" +f:I[8738,[],"$e"] +10:"MetadataBoundary" +11:I[8738,[],"$10"] +:HL["/_next/static/css/ee70b33c5fe95b49.css","style"] +5:X +8:X +8:C +9:[["children",{"s":"__PAGE__","h":160,"d":{"r":["$","$1","c",{"children":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],null,["$","$La",null,{"children":["$","$b",null,{"name":"Next.MetadataOutlet","children":"$@c"}]}]]}],"p":"$@d","v":null,"s":"$5"}}]] +6:[["children",{"s":"_not-found","h":96,"d":{"r":["$","$1","c",{"children":[null,["$","$L2",null,{"parallelRouterKey":"children","template":["$","$L3",null,{}]}]]}],"p":"$@7","v":"$8","s":"$5"},"c":"$Q9"}]] +0:{"t":{"t":{"s":"","h":80,"d":{"r":["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/ee70b33c5fe95b49.css","precedence":"next"}]],["$","html",null,{"lang":"en","children":["$","body",null,{"children":["$","$L2",null,{"parallelRouterKey":"children","template":["$","$L3",null,{}]}]}]}]]}],"p":"$@4","v":null,"s":"$5"},"c":"$Q6"},"h":{"r":["$","$1","h",{"children":[["$","meta",null,{"name":"robots","content":"noindex"}],["$","$Lf",null,{"children":[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]}],["$","$L11",null,{"children":[["$","div",null,{"hidden":true,"children":["$","$b",null,{"name":"Next.Metadata","children":[["$","title","0",{"children":"LapLens — race exposure analysis"}],["$","meta","1",{"name":"description","content":"Review racing footage, find sponsor marks, and inspect the moments behind every exposure count."}]]}]}],null]}],null]}],"p":"$@12","v":null,"s":"$5"}},"a":"$@13","u":"$@14","b":"UbbMpeloSgsLDdLmZN7Jl"} +c:null +5:300 +14:true +5:C +13:0 +7:"$undefined" +4:"$undefined" +12:"$undefined" +d:"$undefined" diff --git a/_not-found/__next._tree.txt b/_not-found/__next._tree.txt new file mode 100644 index 0000000000000000000000000000000000000000..7df65720593e129536f261e6a7d599111f03ea05 --- /dev/null +++ b/_not-found/__next._tree.txt @@ -0,0 +1,4 @@ +:HL["/_next/static/css/ee70b33c5fe95b49.css","style"] +2:[["children",{"s":"__PAGE__","h":160}]] +1:[["children",{"s":"_not-found","h":96,"c":"$Q2"}]] +0:{"b":"UbbMpeloSgsLDdLmZN7Jl","t":{"t":{"s":"","h":80,"c":"$Q1"}}} diff --git a/demo/baylands-race.webm b/demo/baylands-race.webm new file mode 100644 index 0000000000000000000000000000000000000000..82bc509992efcb2c2c65131fc145fa45a088b398 --- /dev/null +++ b/demo/baylands-race.webm @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9e511deab7787ee0dc2d21708b65b14b0b03f93a09290783b407a24bb626fc32 +size 6613255 diff --git a/design/baylands-frame.jpg b/design/baylands-frame.jpg new file mode 100644 index 0000000000000000000000000000000000000000..70070fd8be71e246122206098f260165a3a6ddd8 Binary files /dev/null and b/design/baylands-frame.jpg differ diff --git a/design/direction-a.html b/design/direction-a.html new file mode 100644 index 0000000000000000000000000000000000000000..4e351c46ef42e2053894529c67a19129898fa73b --- /dev/null +++ b/design/direction-a.html @@ -0,0 +1 @@ +LapLens · Direction A · Pitwall
LAPLENSMOTORSPORT ANALYSISLOCAL WORKSPACE
WORKSPACE / VIDEO ANALYSIS

Exposure review

Follow the cars. Find the moments that matter.

Baylands Raceway / Practice laps1920 × 1080 · 10 SEC
Real race footage from Baylands Raceway● UNANALYZED CLIP
▶00:00.00 / 00:10.00
1×⛶
Session timelineCLICK A FRAME TO REVIEW
00:0000:02.5000:0500:07.5000:10
CARS
Run analysis to populate detections
SPONSORS
Add a logo reference to find matching frames
REAL FOOTAGE · SARAH STIERCH / CC BY 4.0LAPLENS / PITWALL
Direction A · Static design preview, no analysis run. Compare direction B → · Open working app →
\ No newline at end of file diff --git a/design/direction-a.png b/design/direction-a.png new file mode 100644 index 0000000000000000000000000000000000000000..baa79ce32b950dc97daa3623ea14babd9afc1b92 --- /dev/null +++ b/design/direction-a.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8bc5b6b803bfc5c217abe01cea516ef501cc9053fe477c8b5040f08b5c8acdec +size 165509 diff --git a/design/direction-b.html b/design/direction-b.html new file mode 100644 index 0000000000000000000000000000000000000000..242d8ca5f26ab16f6681ac4a91109e66d7236a2d --- /dev/null +++ b/design/direction-b.html @@ -0,0 +1 @@ +LapLens · Direction B · Frame Journal
LAPLENSMOTORSPORT ANALYSISLOCAL WORKSPACE
RACE FOOTAGE / SESSION 01

The race.
Frame by frame.

Follow the cars. Find the moments that matter.

Baylands Raceway / Practice laps1920 × 1080 · 10 SEC
Real race footage from Baylands Raceway● UNANALYZED CLIP
▶00:00.00 / 00:10.00
1×⛶
Session timelineCLICK A FRAME TO REVIEW
00:0000:02.5000:0500:07.5000:10
CARS
Run analysis to populate detections
SPONSORS
Add a logo reference to find matching frames
REAL FOOTAGE · SARAH STIERCH / CC BY 4.0LAPLENS / FRAME JOURNAL
Direction B · Static design preview, no analysis run. Compare direction A → · Open working app →
\ No newline at end of file diff --git a/design/direction-b.png b/design/direction-b.png new file mode 100644 index 0000000000000000000000000000000000000000..75d795981cb4223c5d26cc026d04f59836c39716 --- /dev/null +++ b/design/direction-b.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3c4140a93d548b898eaf1f2bd4f73be2a8472822681acf2042d7bc9663bae299 +size 181826 diff --git a/design/directions.css b/design/directions.css new file mode 100644 index 0000000000000000000000000000000000000000..4aa85a1fa0255f26766fdb869d715753216a1654 --- /dev/null +++ b/design/directions.css @@ -0,0 +1,6 @@ +/* Hallmark · pre-emit critique: P5 H5 E4 S5 R5 V5 */ +@font-face{font-family:Barlow;src:url('/fonts/barlow-condensed/barlow-condensed-latin-600-normal.woff2');font-display:swap}@font-face{font-family:Karla;src:url('/fonts/karla/karla-latin-wght-normal.woff2');font-weight:200 800;font-display:swap}@font-face{font-family:Plex;src:url('/fonts/ibm-plex-mono/ibm-plex-mono-latin-400-normal.woff2');font-display:swap} +:root{--paper:oklch(97% .011 85);--white:oklch(99% .006 85);--ink:oklch(23% .014 60);--muted:oklch(48% .014 60);--line:oklch(86% .014 80);--yellow:oklch(84% .16 88);--red:oklch(53% .2 29);--redsoft:oklch(95% .025 30);--soft:oklch(93% .015 85);--dark:oklch(20% .014 60);--on:oklch(98% .005 85);--font-display:Barlow,sans-serif;--font-body:Karla,sans-serif;--font-mono:Plex,monospace}*{box-sizing:border-box}html,body{margin:0;overflow-x:clip}body{font:15px/1.5 var(--font-body);color:var(--ink);background:var(--paper)}button,a{font:inherit;color:inherit}a{text-decoration:none}button{cursor:pointer}.shell{display:grid;grid-template-columns:72px minmax(0,1fr);min-height:100vh}.rail{border-right:1px solid var(--line);background:var(--white);display:flex;align-items:center;flex-direction:column;padding:24px 0;gap:28px}.mark{font:600 29px var(--font-display);color:var(--red);letter-spacing:-4px;padding-right:4px}.navicon{display:grid;place-items:center;width:44px;height:44px;color:var(--muted);border-radius:4px}.navicon.active{background:var(--yellow);color:var(--ink)}.rail .bottom{margin-top:auto;font:12px var(--font-mono)}.top{height:64px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);padding:0 36px;background:var(--white)}.word{font:600 28px var(--font-display);letter-spacing:-.02em}.word small{font:11px var(--font-mono);margin-left:16px;letter-spacing:.06em;color:var(--muted)}.local{font:11px var(--font-mono);color:var(--muted)}.local:before{content:'●';margin-right:9px;color:var(--red)}main{padding:30px 36px 24px;max-width:1800px;margin:auto}.heading{display:flex;align-items:end;justify-content:space-between;margin-bottom:26px;gap:20px}.eyebrow{font:11px var(--font-mono);color:var(--muted);letter-spacing:.08em}.heading h1{font:600 48px/1 var(--font-display);text-transform:uppercase;margin:8px 0 0;letter-spacing:-.015em}.heading p{margin:8px 0 0;color:var(--muted)}.actions{display:flex;gap:8px}.btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 18px;border:1px solid var(--line);background:var(--white);border-radius:4px;font-weight:700;white-space:nowrap}.btn.red{color:var(--on);background:var(--red);border-color:var(--red)}.grid{display:grid;grid-template-columns:minmax(0,1fr) 304px;gap:26px}.video{min-width:0}.videohead{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:12px 0;border-top:2px solid var(--ink);font-size:14px}.videohead span{font:10px var(--font-mono);color:var(--muted)}.picture{position:relative;background:var(--dark)}.picture img{display:block;width:100%;aspect-ratio:16/9;object-fit:contain}.flag{position:absolute;top:16px;left:16px;background:var(--dark);color:var(--on);padding:7px 10px;font:10px var(--font-mono)}.flag b{color:var(--yellow)}.controls{display:flex;align-items:center;gap:18px;padding:14px 0;border-bottom:1px solid var(--line)}.play{display:grid;place-items:center;background:var(--yellow);border:0;width:40px;height:40px;border-radius:3px}.time{font:12px var(--font-mono)}.track{height:3px;background:var(--line);flex:1;position:relative}.track:before{content:'';position:absolute;width:8px;height:12px;top:-5px;background:var(--red)}.control{font:11px var(--font-mono);color:var(--muted)}.timeline{margin-top:26px}.timelinehead{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.timelinehead strong{font-size:15px}.timelinehead span{font:10px var(--font-mono);color:var(--muted)}.ticks{display:flex;justify-content:space-between;margin-left:80px;font:10px var(--font-mono);color:var(--muted)}.lane{display:flex;gap:16px;align-items:center;min-height:36px;border-bottom:1px solid var(--line);font:10px var(--font-mono);color:var(--muted)}.lane b{width:64px;font-weight:400}.lane div{flex:1;height:20px;background:var(--soft);display:flex;align-items:center;padding-left:12px;font:11px var(--font-body)}.desk{border-top:2px solid var(--ink);background:var(--white)}.deskhead{padding:16px 20px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;font-weight:700}.deskhead span{font:10px var(--font-mono);color:var(--muted)}.section{padding:22px 20px;border-bottom:1px solid var(--line)}.section h2{font-size:16px;margin:0 0 8px}.section p{font-size:14px;color:var(--muted);line-height:1.5;margin:0 0 16px}.step{display:flex;gap:10px;font:11px var(--font-mono);margin-bottom:14px;color:var(--red)}.count{font:600 56px/1 var(--font-display);margin-top:12px}.count small{font:12px var(--font-body);color:var(--muted)}.pair{display:flex;justify-content:space-between;gap:16px}.pair .count{font-size:40px}.pair p{font-size:12px;margin-top:6px}.upload{display:flex;justify-content:space-between;align-items:center;min-height:46px;padding:0 12px;border:1px dashed var(--line);font-size:13px}.status{display:flex;gap:8px;font:10px var(--font-mono);padding:16px 20px;color:var(--muted)}.foot{display:flex;justify-content:space-between;gap:20px;margin-top:22px;padding-top:14px;font:10px var(--font-mono);color:var(--muted);border-top:1px solid var(--line)}.previewnote{margin-top:24px;font-size:12px;color:var(--muted)}.previewnote a{color:var(--red);text-decoration:underline}.journal .shell{display:block}.journal .rail{display:none}.journal .top{height:86px;background:var(--paper);border-bottom:2px solid var(--ink)}.journal .word{font:700 29px var(--font-body);letter-spacing:-.05em}.journal main{padding-top:40px}.journal .heading{align-items:start}.journal .heading h1{font:700 64px/1.02 var(--font-body);letter-spacing:-.06em;text-transform:none;max-width:650px}.journal .heading p{max-width:340px;font-size:16px;margin-top:14px}.journal .heading .eyebrow{color:var(--red)}.journal .grid{grid-template-columns:minmax(0,1fr) 260px;gap:36px}.journal .desk{border-top:0;background:var(--paper)}.journal .deskhead{padding:0 0 16px;border-bottom:2px solid var(--ink)}.journal .section{padding:24px 0}.journal .videohead{border-top:0;padding-top:0}.journal .picture{border-radius:0}.journal .count{font:700 52px var(--font-body);letter-spacing:-.06em}.journal .actions{padding-top:24px}.journal .btn{border-radius:0}.journal .flag{top:auto;bottom:16px}.journal .foot{margin-top:32px}.journal .section h2{font-size:19px;letter-spacing:-.03em}.journal .top .local{border-bottom:3px solid var(--red);padding:12px 0}.journal .play{border-radius:50%}@media(max-width:850px){.grid,.journal .grid{grid-template-columns:minmax(0,1fr)}.desk{margin-top:20px}.shell{grid-template-columns:56px minmax(0,1fr)}main{padding:24px 18px}.top{padding:0 18px}.heading{flex-direction:column;align-items:start}.heading h1,.journal .heading h1{font-size:40px}.word small,.control{display:none}.foot{flex-direction:column}.journal .actions{padding-top:0}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto}} + +.journal .pair p{letter-spacing:0;font:400 12px/1.5 var(--font-body)} +@media(max-width:600px){.actions{flex-wrap:wrap}.top .local{display:none}.ticks span:nth-child(even){display:none}.heading h1{overflow-wrap:anywhere;min-width:0}} diff --git a/fonts/barlow-condensed/OFL.txt b/fonts/barlow-condensed/OFL.txt new file mode 100644 index 0000000000000000000000000000000000000000..d2f2fc55612e4559208ad05e8c6ec617e79ba333 --- /dev/null +++ b/fonts/barlow-condensed/OFL.txt @@ -0,0 +1,93 @@ +Copyright 2017 The Barlow Project Authors (https://github.com/jpt/barlow) BarlowCondensed-ThinItalic.ttf: Copyright 2017 The Barlow Project Authors (https://github.com/jpt/barlow) BarlowCondensed-ExtraLight.ttf: Copyright 2017 The Barlow Project Authors (https://github.com/jpt/barlow) BarlowCondensed-ExtraLightItalic.ttf: Copyright 2017 The Barlow Project Authors (https://github.com/jpt/barlow) BarlowCondensed-Light.ttf: Copyright 2017 The Barlow Project Authors (https://github.com/jpt/barlow) BarlowCondensed-LightItalic.ttf: Copyright 2017 The Barlow Project Authors (https://github.com/jpt/barlow) BarlowCondensed-Regular.ttf: Copyright 2017 The Barlow Project Authors (https://github.com/jpt/barlow) BarlowCondensed-Italic.ttf: Copyright 2017 The Barlow Project Authors (https://github.com/jpt/barlow) BarlowCondensed-Medium.ttf: Copyright 2017 The Barlow Project Authors (https://github.com/jpt/barlow) BarlowCondensed-MediumItalic.ttf: Copyright 2017 The Barlow Project Authors (https://github.com/jpt/barlow) BarlowCondensed-SemiBold.ttf: Copyright 2017 The Barlow Project Authors (https://github.com/jpt/barlow) BarlowCondensed-SemiBoldItalic.ttf: Copyright 2017 The Barlow Project Authors (https://github.com/jpt/barlow) BarlowCondensed-Bold.ttf: Copyright 2017 The Barlow Project Authors (https://github.com/jpt/barlow) BarlowCondensed-BoldItalic.ttf: Copyright 2017 The Barlow Project Authors (https://github.com/jpt/barlow) BarlowCondensed-ExtraBold.ttf: Copyright 2017 The Barlow Project Authors (https://github.com/jpt/barlow) BarlowCondensed-ExtraBoldItalic.ttf: Copyright 2017 The Barlow Project Authors (https://github.com/jpt/barlow) BarlowCondensed-Black.ttf: Copyright 2017 The Barlow Project Authors (https://github.com/jpt/barlow) BarlowCondensed-BlackItalic.ttf: Copyright 2017 The Barlow Project Authors (https://github.com/jpt/barlow) + +This Font Software is licensed under the SIL Open Font License, Version 1.1. +This license is copied below, and is also available with a FAQ at: +http://scripts.sil.org/OFL + + +----------------------------------------------------------- +SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 +----------------------------------------------------------- + +PREAMBLE +The goals of the Open Font License (OFL) are to stimulate worldwide +development of collaborative font projects, to support the font creation +efforts of academic and linguistic communities, and to provide a free and +open framework in which fonts may be shared and improved in partnership +with others. + +The OFL allows the licensed fonts to be used, studied, modified and +redistributed freely as long as they are not sold by themselves. The +fonts, including any derivative works, can be bundled, embedded, +redistributed and/or sold with any software provided that any reserved +names are not used by derivative works. The fonts and derivatives, +however, cannot be released under any other type of license. The +requirement for fonts to remain under this license does not apply +to any document created using the fonts or their derivatives. + +DEFINITIONS +"Font Software" refers to the set of files released by the Copyright +Holder(s) under this license and clearly marked as such. This may +include source files, build scripts and documentation. + +"Reserved Font Name" refers to any names specified as such after the +copyright statement(s). + +"Original Version" refers to the collection of Font Software components as +distributed by the Copyright Holder(s). + +"Modified Version" refers to any derivative made by adding to, deleting, +or substituting -- in part or in whole -- any of the components of the +Original Version, by changing formats or by porting the Font Software to a +new environment. + +"Author" refers to any designer, engineer, programmer, technical +writer or other person who contributed to the Font Software. + +PERMISSION & CONDITIONS +Permission is hereby granted, free of charge, to any person obtaining +a copy of the Font Software, to use, study, copy, merge, embed, modify, +redistribute, and sell modified and unmodified copies of the Font +Software, subject to the following conditions: + +1) Neither the Font Software nor any of its individual components, +in Original or Modified Versions, may be sold by itself. + +2) Original or Modified Versions of the Font Software may be bundled, +redistributed and/or sold with any software, provided that each copy +contains the above copyright notice and this license. These can be +included either as stand-alone text files, human-readable headers or +in the appropriate machine-readable metadata fields within text or +binary files as long as those fields can be easily viewed by the user. + +3) No Modified Version of the Font Software may use the Reserved Font +Name(s) unless explicit written permission is granted by the corresponding +Copyright Holder. This restriction only applies to the primary font name as +presented to the users. + +4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font +Software shall not be used to promote, endorse or advertise any +Modified Version, except to acknowledge the contribution(s) of the +Copyright Holder(s) and the Author(s) or with their explicit written +permission. + +5) The Font Software, modified or unmodified, in part or in whole, +must be distributed entirely under this license, and must not be +distributed under any other license. The requirement for fonts to +remain under this license does not apply to any document created +using the Font Software. + +TERMINATION +This license becomes null and void if any of the above conditions are +not met. + +DISCLAIMER +THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT +OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE +COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL +DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM +OTHER DEALINGS IN THE FONT SOFTWARE. diff --git a/fonts/barlow-condensed/barlow-condensed-latin-600-normal.woff2 b/fonts/barlow-condensed/barlow-condensed-latin-600-normal.woff2 new file mode 100644 index 0000000000000000000000000000000000000000..da60c9a90e758f7924dfac415f24961ee74c59c9 Binary files /dev/null and b/fonts/barlow-condensed/barlow-condensed-latin-600-normal.woff2 differ diff --git a/fonts/ibm-plex-mono/OFL.txt b/fonts/ibm-plex-mono/OFL.txt new file mode 100644 index 0000000000000000000000000000000000000000..83eac8278b2e427a72ce3622a53cdb7a56e55b05 --- /dev/null +++ b/fonts/ibm-plex-mono/OFL.txt @@ -0,0 +1,93 @@ +Copyright 2017 IBM Corp. All rights reserved. IBMPlexMono-ThinItalic.ttf: Copyright 2017 IBM Corp. All rights reserved. IBMPlexMono-ExtraLight.ttf: Copyright 2017 IBM Corp. All rights reserved. IBMPlexMono-ExtraLightItalic.ttf: Copyright 2017 IBM Corp. All rights reserved. IBMPlexMono-Light.ttf: Copyright 2017 IBM Corp. All rights reserved. IBMPlexMono-LightItalic.ttf: Copyright 2017 IBM Corp. All rights reserved. IBMPlexMono-Regular.ttf: Copyright 2017 IBM Corp. All rights reserved. IBMPlexMono-Italic.ttf: Copyright 2017 IBM Corp. All rights reserved. IBMPlexMono-Medium.ttf: Copyright 2017 IBM Corp. All rights reserved. IBMPlexMono-MediumItalic.ttf: Copyright 2017 IBM Corp. All rights reserved. IBMPlexMono-SemiBold.ttf: Copyright 2017 IBM Corp. All rights reserved. IBMPlexMono-SemiBoldItalic.ttf: Copyright 2017 IBM Corp. All rights reserved. IBMPlexMono-Bold.ttf: Copyright 2017 IBM Corp. All rights reserved. IBMPlexMono-BoldItalic.ttf: Copyright 2017 IBM Corp. All rights reserved. + +This Font Software is licensed under the SIL Open Font License, Version 1.1. +This license is copied below, and is also available with a FAQ at: +http://scripts.sil.org/OFL + + +----------------------------------------------------------- +SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 +----------------------------------------------------------- + +PREAMBLE +The goals of the Open Font License (OFL) are to stimulate worldwide +development of collaborative font projects, to support the font creation +efforts of academic and linguistic communities, and to provide a free and +open framework in which fonts may be shared and improved in partnership +with others. + +The OFL allows the licensed fonts to be used, studied, modified and +redistributed freely as long as they are not sold by themselves. The +fonts, including any derivative works, can be bundled, embedded, +redistributed and/or sold with any software provided that any reserved +names are not used by derivative works. The fonts and derivatives, +however, cannot be released under any other type of license. The +requirement for fonts to remain under this license does not apply +to any document created using the fonts or their derivatives. + +DEFINITIONS +"Font Software" refers to the set of files released by the Copyright +Holder(s) under this license and clearly marked as such. This may +include source files, build scripts and documentation. + +"Reserved Font Name" refers to any names specified as such after the +copyright statement(s). + +"Original Version" refers to the collection of Font Software components as +distributed by the Copyright Holder(s). + +"Modified Version" refers to any derivative made by adding to, deleting, +or substituting -- in part or in whole -- any of the components of the +Original Version, by changing formats or by porting the Font Software to a +new environment. + +"Author" refers to any designer, engineer, programmer, technical +writer or other person who contributed to the Font Software. + +PERMISSION & CONDITIONS +Permission is hereby granted, free of charge, to any person obtaining +a copy of the Font Software, to use, study, copy, merge, embed, modify, +redistribute, and sell modified and unmodified copies of the Font +Software, subject to the following conditions: + +1) Neither the Font Software nor any of its individual components, +in Original or Modified Versions, may be sold by itself. + +2) Original or Modified Versions of the Font Software may be bundled, +redistributed and/or sold with any software, provided that each copy +contains the above copyright notice and this license. These can be +included either as stand-alone text files, human-readable headers or +in the appropriate machine-readable metadata fields within text or +binary files as long as those fields can be easily viewed by the user. + +3) No Modified Version of the Font Software may use the Reserved Font +Name(s) unless explicit written permission is granted by the corresponding +Copyright Holder. This restriction only applies to the primary font name as +presented to the users. + +4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font +Software shall not be used to promote, endorse or advertise any +Modified Version, except to acknowledge the contribution(s) of the +Copyright Holder(s) and the Author(s) or with their explicit written +permission. + +5) The Font Software, modified or unmodified, in part or in whole, +must be distributed entirely under this license, and must not be +distributed under any other license. The requirement for fonts to +remain under this license does not apply to any document created +using the Font Software. + +TERMINATION +This license becomes null and void if any of the above conditions are +not met. + +DISCLAIMER +THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT +OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE +COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL +DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM +OTHER DEALINGS IN THE FONT SOFTWARE. diff --git a/fonts/ibm-plex-mono/ibm-plex-mono-latin-400-normal.woff2 b/fonts/ibm-plex-mono/ibm-plex-mono-latin-400-normal.woff2 new file mode 100644 index 0000000000000000000000000000000000000000..0804aaff92260b5359330f63e05b9ac25ccabeee Binary files /dev/null and b/fonts/ibm-plex-mono/ibm-plex-mono-latin-400-normal.woff2 differ diff --git a/fonts/jost/OFL.txt b/fonts/jost/OFL.txt new file mode 100644 index 0000000000000000000000000000000000000000..49db7bbca026adfacfe3a35083fef7e9d81037ec --- /dev/null +++ b/fonts/jost/OFL.txt @@ -0,0 +1,93 @@ +Copyright 2020 The Jost Project Authors (https://github.com/indestructible-type) + +This Font Software is licensed under the SIL Open Font License, Version 1.1. +This license is copied below, and is also available with a FAQ at: +http://scripts.sil.org/OFL + + +----------------------------------------------------------- +SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 +----------------------------------------------------------- + +PREAMBLE +The goals of the Open Font License (OFL) are to stimulate worldwide +development of collaborative font projects, to support the font creation +efforts of academic and linguistic communities, and to provide a free and +open framework in which fonts may be shared and improved in partnership +with others. + +The OFL allows the licensed fonts to be used, studied, modified and +redistributed freely as long as they are not sold by themselves. The +fonts, including any derivative works, can be bundled, embedded, +redistributed and/or sold with any software provided that any reserved +names are not used by derivative works. The fonts and derivatives, +however, cannot be released under any other type of license. The +requirement for fonts to remain under this license does not apply +to any document created using the fonts or their derivatives. + +DEFINITIONS +"Font Software" refers to the set of files released by the Copyright +Holder(s) under this license and clearly marked as such. This may +include source files, build scripts and documentation. + +"Reserved Font Name" refers to any names specified as such after the +copyright statement(s). + +"Original Version" refers to the collection of Font Software components as +distributed by the Copyright Holder(s). + +"Modified Version" refers to any derivative made by adding to, deleting, +or substituting -- in part or in whole -- any of the components of the +Original Version, by changing formats or by porting the Font Software to a +new environment. + +"Author" refers to any designer, engineer, programmer, technical +writer or other person who contributed to the Font Software. + +PERMISSION & CONDITIONS +Permission is hereby granted, free of charge, to any person obtaining +a copy of the Font Software, to use, study, copy, merge, embed, modify, +redistribute, and sell modified and unmodified copies of the Font +Software, subject to the following conditions: + +1) Neither the Font Software nor any of its individual components, +in Original or Modified Versions, may be sold by itself. + +2) Original or Modified Versions of the Font Software may be bundled, +redistributed and/or sold with any software, provided that each copy +contains the above copyright notice and this license. These can be +included either as stand-alone text files, human-readable headers or +in the appropriate machine-readable metadata fields within text or +binary files as long as those fields can be easily viewed by the user. + +3) No Modified Version of the Font Software may use the Reserved Font +Name(s) unless explicit written permission is granted by the corresponding +Copyright Holder. This restriction only applies to the primary font name as +presented to the users. + +4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font +Software shall not be used to promote, endorse or advertise any +Modified Version, except to acknowledge the contribution(s) of the +Copyright Holder(s) and the Author(s) or with their explicit written +permission. + +5) The Font Software, modified or unmodified, in part or in whole, +must be distributed entirely under this license, and must not be +distributed under any other license. The requirement for fonts to +remain under this license does not apply to any document created +using the Font Software. + +TERMINATION +This license becomes null and void if any of the above conditions are +not met. + +DISCLAIMER +THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT +OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE +COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL +DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM +OTHER DEALINGS IN THE FONT SOFTWARE. diff --git a/fonts/karla/OFL.txt b/fonts/karla/OFL.txt new file mode 100644 index 0000000000000000000000000000000000000000..83e288bd267d1c76e3125f8158974b50f665b42f --- /dev/null +++ b/fonts/karla/OFL.txt @@ -0,0 +1,93 @@ +Copyright 2019 The Karla Project Authors (https://github.com/googlefonts/karla) + +This Font Software is licensed under the SIL Open Font License, Version 1.1. +This license is copied below, and is also available with a FAQ at: +https://scripts.sil.org/OFL + + +----------------------------------------------------------- +SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 +----------------------------------------------------------- + +PREAMBLE +The goals of the Open Font License (OFL) are to stimulate worldwide +development of collaborative font projects, to support the font creation +efforts of academic and linguistic communities, and to provide a free and +open framework in which fonts may be shared and improved in partnership +with others. + +The OFL allows the licensed fonts to be used, studied, modified and +redistributed freely as long as they are not sold by themselves. The +fonts, including any derivative works, can be bundled, embedded, +redistributed and/or sold with any software provided that any reserved +names are not used by derivative works. The fonts and derivatives, +however, cannot be released under any other type of license. The +requirement for fonts to remain under this license does not apply +to any document created using the fonts or their derivatives. + +DEFINITIONS +"Font Software" refers to the set of files released by the Copyright +Holder(s) under this license and clearly marked as such. This may +include source files, build scripts and documentation. + +"Reserved Font Name" refers to any names specified as such after the +copyright statement(s). + +"Original Version" refers to the collection of Font Software components as +distributed by the Copyright Holder(s). + +"Modified Version" refers to any derivative made by adding to, deleting, +or substituting -- in part or in whole -- any of the components of the +Original Version, by changing formats or by porting the Font Software to a +new environment. + +"Author" refers to any designer, engineer, programmer, technical +writer or other person who contributed to the Font Software. + +PERMISSION & CONDITIONS +Permission is hereby granted, free of charge, to any person obtaining +a copy of the Font Software, to use, study, copy, merge, embed, modify, +redistribute, and sell modified and unmodified copies of the Font +Software, subject to the following conditions: + +1) Neither the Font Software nor any of its individual components, +in Original or Modified Versions, may be sold by itself. + +2) Original or Modified Versions of the Font Software may be bundled, +redistributed and/or sold with any software, provided that each copy +contains the above copyright notice and this license. These can be +included either as stand-alone text files, human-readable headers or +in the appropriate machine-readable metadata fields within text or +binary files as long as those fields can be easily viewed by the user. + +3) No Modified Version of the Font Software may use the Reserved Font +Name(s) unless explicit written permission is granted by the corresponding +Copyright Holder. This restriction only applies to the primary font name as +presented to the users. + +4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font +Software shall not be used to promote, endorse or advertise any +Modified Version, except to acknowledge the contribution(s) of the +Copyright Holder(s) and the Author(s) or with their explicit written +permission. + +5) The Font Software, modified or unmodified, in part or in whole, +must be distributed entirely under this license, and must not be +distributed under any other license. The requirement for fonts to +remain under this license does not apply to any document created +using the Font Software. + +TERMINATION +This license becomes null and void if any of the above conditions are +not met. + +DISCLAIMER +THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT +OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE +COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL +DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM +OTHER DEALINGS IN THE FONT SOFTWARE. diff --git a/fonts/karla/karla-latin-wght-normal.woff2 b/fonts/karla/karla-latin-wght-normal.woff2 new file mode 100644 index 0000000000000000000000000000000000000000..870c410fe3ed3d8e6b9300f1cbbb339ab2331aa4 Binary files /dev/null and b/fonts/karla/karla-latin-wght-normal.woff2 differ diff --git a/index.html b/index.html index b0c4b3666032a737f3903db53e6a8a9272483e28..855d576fc317879d3ed3ea353411516d62e8799c 100644 --- a/index.html +++ b/index.html @@ -1,19 +1 @@ - - - - - - My static Space - - - -
-

Welcome to your static Space!

-

You can modify this app directly by editing index.html in the Files and versions tab.

-

- Also don't forget to check the - Spaces documentation. -

-
- - +LapLens — race exposure analysis
LAPLENSMOTORSPORT ANALYSIS
Local workspace

Workspace Session review

Exposure review

Follow the cars. Inspect the evidence behind every match.

Baylands Raceway · practice laps
LOADING VIDEO/10.0 SEC
UNANALYZED CLIP
00:00.00 / 00:10.00

Session timeline

CarsSponsor matches
Preparing frame previews…
00:00.0000:02.5000:05.0000:07.5000:10.00
CARS
SPONSORS
Observed boxDisplay estimateEstimates add no measured detections.
\ No newline at end of file diff --git a/index.txt b/index.txt new file mode 100644 index 0000000000000000000000000000000000000000..21a194e6816a03685ab6085f784516a8fdb74f9c --- /dev/null +++ b/index.txt @@ -0,0 +1,19 @@ +1:"$Sreact.fragment" +2:I[2600,[],""] +3:I[4519,[],""] +5:"static/chunks/646-1bd1579a68abce61.js" +6:"static/chunks/app/page-f0819ff71b122272.js" +7:I[9866,["646","$5","974","$6"],"Workspace"] +8:I[8738,[],"OutletBoundary"] +9:"$Sreact.suspense" +b:"ViewportBoundary" +c:I[8738,[],"$b"] +e:"MetadataBoundary" +f:I[8738,[],"$e"] +11:I[8401,[],"default",1] +:HL["/_next/static/css/ee70b33c5fe95b49.css","style"] +4:[["children",{"s":"__PAGE__","h":512,"d":{"r":["$","$1","c",{"children":[["$","$L7",null,{}],null,["$","$L8",null,{"children":["$","$9",null,{"name":"Next.MetadataOutlet","children":"$@a"}]}]]}],"p":false,"v":null}}]] +0:{"P":null,"c":["",""],"q":"","i":false,"t":{"t":{"s":"","h":528,"d":{"r":["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/ee70b33c5fe95b49.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","children":["$","body",null,{"children":["$","$L2",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L3",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}]]}],"p":false,"v":null},"c":"$Q4"},"h":{"r":["$","$1","h",{"children":[null,["$","$Lc",null,{"children":"$Ld"}],["$","$Lf",null,{"children":[["$","div",null,{"hidden":true,"children":["$","$9",null,{"name":"Next.Metadata","children":"$L10"}]}],null]}],null]}],"p":false,"v":null}},"m":"$undefined","G":["$11",[]],"S":true,"r":"$undefined","s":"$undefined","a":"$undefined","l":"$undefined","p":"$undefined","d":"$undefined","b":"UbbMpeloSgsLDdLmZN7Jl"} +d:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]] +a:null +10:[["$","title","0",{"children":"LapLens — race exposure analysis"}],["$","meta","1",{"name":"description","content":"Review racing footage, find sponsor marks, and inspect the moments behind every exposure count."}]] diff --git a/models/rfdetr-nano/LICENSE.txt b/models/rfdetr-nano/LICENSE.txt new file mode 100644 index 0000000000000000000000000000000000000000..56db37c53b61c7976042682a83d85383a6bf6007 --- /dev/null +++ b/models/rfdetr-nano/LICENSE.txt @@ -0,0 +1,202 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2025 Roboflow, Inc. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/models/rfdetr-nano/NOTICE.txt b/models/rfdetr-nano/NOTICE.txt new file mode 100644 index 0000000000000000000000000000000000000000..2896b74c36f07b2e86c7dd6cb93f7a056f18972b --- /dev/null +++ b/models/rfdetr-nano/NOTICE.txt @@ -0,0 +1,13 @@ +Football strategist browser detector assets + +Model +- Name: RF-DETR Nano, COCO, int8 ONNX export +- Source: https://huggingface.co/onnx-community/rfdetr_nano-ONNX +- Model repository revision: eae21cee0687a91bcf9fa071605c48d7705d2d91 +- License: Apache License 2.0; see LICENSE.txt in this directory +- ONNX file SHA-256: 2981aa0a57781c0f1a5be171c3fded504c38fe8611326bc5e3d0f8a2e9a57085 + +Inference runtime +- Package: onnxruntime-web 1.30.0 +- Source: https://github.com/microsoft/onnxruntime +- License: MIT; see /ort/LICENSE.txt diff --git a/models/rfdetr-nano/config.json b/models/rfdetr-nano/config.json new file mode 100644 index 0000000000000000000000000000000000000000..cd809c8a1eaacdc58e40035aa5afd9546bb13837 --- /dev/null +++ b/models/rfdetr-nano/config.json @@ -0,0 +1,167 @@ +{ + "model_type": "rf_detr", + "id2label": { + "1": "person", + "2": "bicycle", + "3": "car", + "4": "motorcycle", + "5": "airplane", + "6": "bus", + "7": "train", + "8": "truck", + "9": "boat", + "10": "traffic light", + "11": "fire hydrant", + "13": "stop sign", + "14": "parking meter", + "15": "bench", + "16": "bird", + "17": "cat", + "18": "dog", + "19": "horse", + "20": "sheep", + "21": "cow", + "22": "elephant", + "23": "bear", + "24": "zebra", + "25": "giraffe", + "27": "backpack", + "28": "umbrella", + "31": "handbag", + "32": "tie", + "33": "suitcase", + "34": "frisbee", + "35": "skis", + "36": "snowboard", + "37": "sports ball", + "38": "kite", + "39": "baseball bat", + "40": "baseball glove", + "41": "skateboard", + "42": "surfboard", + "43": "tennis racket", + "44": "bottle", + "46": "wine glass", + "47": "cup", + "48": "fork", + "49": "knife", + "50": "spoon", + "51": "bowl", + "52": "banana", + "53": "apple", + "54": "sandwich", + "55": "orange", + "56": "broccoli", + "57": "carrot", + "58": "hot dog", + "59": "pizza", + "60": "donut", + "61": "cake", + "62": "chair", + "63": "couch", + "64": "potted plant", + "65": "bed", + "67": "dining table", + "70": "toilet", + "72": "tv", + "73": "laptop", + "74": "mouse", + "75": "remote", + "76": "keyboard", + "77": "cell phone", + "78": "microwave", + "79": "oven", + "80": "toaster", + "81": "sink", + "82": "refrigerator", + "84": "book", + "85": "clock", + "86": "vase", + "87": "scissors", + "88": "teddy bear", + "89": "hair drier", + "90": "toothbrush" + }, + "label2id": { + "person": 1, + "bicycle": 2, + "car": 3, + "motorcycle": 4, + "airplane": 5, + "bus": 6, + "train": 7, + "truck": 8, + "boat": 9, + "traffic light": 10, + "fire hydrant": 11, + "stop sign": 13, + "parking meter": 14, + "bench": 15, + "bird": 16, + "cat": 17, + "dog": 18, + "horse": 19, + "sheep": 20, + "cow": 21, + "elephant": 22, + "bear": 23, + "zebra": 24, + "giraffe": 25, + "backpack": 27, + "umbrella": 28, + "handbag": 31, + "tie": 32, + "suitcase": 33, + "frisbee": 34, + "skis": 35, + "snowboard": 36, + "sports ball": 37, + "kite": 38, + "baseball bat": 39, + "baseball glove": 40, + "skateboard": 41, + "surfboard": 42, + "tennis racket": 43, + "bottle": 44, + "wine glass": 46, + "cup": 47, + "fork": 48, + "knife": 49, + "spoon": 50, + "bowl": 51, + "banana": 52, + "apple": 53, + "sandwich": 54, + "orange": 55, + "broccoli": 56, + "carrot": 57, + "hot dog": 58, + "pizza": 59, + "donut": 60, + "cake": 61, + "chair": 62, + "couch": 63, + "potted plant": 64, + "bed": 65, + "dining table": 67, + "toilet": 70, + "tv": 72, + "laptop": 73, + "mouse": 74, + "remote": 75, + "keyboard": 76, + "cell phone": 77, + "microwave": 78, + "oven": 79, + "toaster": 80, + "sink": 81, + "refrigerator": 82, + "book": 84, + "clock": 85, + "vase": 86, + "scissors": 87, + "teddy bear": 88, + "hair drier": 89, + "toothbrush": 90 + } +} \ No newline at end of file diff --git a/models/rfdetr-nano/model_quantized.onnx b/models/rfdetr-nano/model_quantized.onnx new file mode 100644 index 0000000000000000000000000000000000000000..27dc0640d4d117b11efa930faa8977b0e60f85b5 --- /dev/null +++ b/models/rfdetr-nano/model_quantized.onnx @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2981aa0a57781c0f1a5be171c3fded504c38fe8611326bc5e3d0f8a2e9a57085 +size 28826010 diff --git a/models/rfdetr-nano/preprocessor_config.json b/models/rfdetr-nano/preprocessor_config.json new file mode 100644 index 0000000000000000000000000000000000000000..a869dc719b16da228d0eae815a8ad4414ff7ddcc --- /dev/null +++ b/models/rfdetr-nano/preprocessor_config.json @@ -0,0 +1,26 @@ +{ + "do_convert_annotations": true, + "do_normalize": false, + "do_pad": false, + "do_rescale": true, + "do_resize": true, + "format": "coco_detection", + "image_mean": [ + 0.485, + 0.456, + 0.406 + ], + "image_processor_type": "RTDetrImageProcessor", + "image_std": [ + 0.229, + 0.224, + 0.225 + ], + "pad_size": null, + "resample": 2, + "rescale_factor": 0.00392156862745098, + "size": { + "height": 384, + "width": 384 + } +} diff --git a/ort/ort-wasm-simd-threaded.mjs b/ort/ort-wasm-simd-threaded.mjs new file mode 100644 index 0000000000000000000000000000000000000000..00af19eee6b3c35453a9d6eaae64f591299334cc --- /dev/null +++ b/ort/ort-wasm-simd-threaded.mjs @@ -0,0 +1,59 @@ +async function ortWasmThreaded(moduleArg={}){var moduleRtn;var h=moduleArg,aa=!!globalThis.window,k=!!globalThis.WorkerGlobalScope,m=globalThis.process?.versions?.node&&"renderer"!=globalThis.process?.type,n=k&&self.name?.startsWith("em-pthread");if(m){const {createRequire:a}=await import("module");var require=a(import.meta.url),ba=require("worker_threads");global.Worker=ba.Worker;n=(k=!ba.jc)&&"em-pthread"==ba.workerData}h.mountExternalData=(a,b)=>{a.startsWith("./")&&(a=a.substring(2));(h.Tb||(h.Tb=new Map)).set(a,b)}; +h.unmountExternalData=()=>{delete h.Tb;delete h.mc;delete h.lc;delete h.nc};var SharedArrayBuffer=globalThis.SharedArrayBuffer??(new WebAssembly.Memory({initial:0,maximum:0,shared:!0})).buffer.constructor,ca="./this.program",da=(a,b)=>{throw b;},ea=import.meta.url,fa="",ha,ia; +if(m){var fs=require("fs");ea.startsWith("file:")&&(fa=require("path").dirname(require("url").fileURLToPath(ea))+"/");ia=a=>{a=ja(a)?new URL(a):a;return fs.readFileSync(a)};ha=async a=>{a=ja(a)?new URL(a):a;return fs.readFileSync(a,void 0)};1{process.exitCode=a;throw b;}}else if(aa||k){try{fa=(new URL(".",ea)).href}catch{}m||(k&&(ia=a=>{var b=new XMLHttpRequest;b.open("GET",a,!1);b.responseType="arraybuffer"; +b.send(null);return new Uint8Array(b.response)}),ha=async a=>{if(ja(a))return new Promise((d,c)=>{var e=new XMLHttpRequest;e.open("GET",a,!0);e.responseType="arraybuffer";e.onload=()=>{200==e.status||0==e.status&&e.response?d(e.response):c(e.status)};e.onerror=c;e.send(null)});var b=await fetch(a,{credentials:"same-origin"});if(b.ok)return b.arrayBuffer();throw Error(b.status+" : "+b.url);})}var ka=console.log.bind(console),la=console.error.bind(console); +if(m){var ma=require("util"),na=a=>"object"==typeof a?ma.inspect(a):a;ka=(...a)=>fs.writeSync(1,a.map(na).join(" ")+"\n");la=(...a)=>fs.writeSync(2,a.map(na).join(" ")+"\n")}var oa=ka,p=la,q,r,pa=!1,t,ja=a=>a.startsWith("file://");function v(){x.buffer!=z.buffer&&qa()}var ra,sa; +if(m&&n){var ta=ba.parentPort;ta.on("message",a=>global.onmessage?.({data:a}));Object.assign(globalThis,{self:global,postMessage:a=>ta.postMessage(a)});process.on("uncaughtException",a=>{postMessage({Rb:"uncaughtException",error:a});process.exit(1)})}var ua; +if(n){var va=!1;self.onunhandledrejection=b=>{throw b.reason||b;};function a(b){try{var d=b.data,c=d.Rb;if("load"===c){let e=[];self.onmessage=f=>e.push(f);ua=()=>{postMessage({Rb:"loaded"});for(let f of e)a(f);self.onmessage=a};for(const f of d.ac)if(!h[f]||h[f].proxy)h[f]=(...g)=>{postMessage({Rb:"callHandler",$b:f,args:g})},"print"==f&&(oa=h[f]),"printErr"==f&&(p=h[f]);x=d.fc;qa();r=d.hc;wa();xa()}else if("run"===c){ya(d.Qb);za(d.Qb,0,0,1,0,0);Aa();Ba(d.Qb);va||=!0;try{Ca(d.dc,d.Vb)}catch(e){if("unwind"!= +e)throw e;}}else"setimmediate"!==d.target&&("checkMailbox"===c?va&&Da():c&&(p(`worker: received unknown command ${c}`),p(d)))}catch(e){throw Ea(),e;}}self.onmessage=a}var z,A,Fa,C,D,Ga,G,H,Ha=!1;function qa(){var a=x.buffer;h.HEAP8=z=new Int8Array(a);Fa=new Int16Array(a);h.HEAPU8=A=new Uint8Array(a);new Uint16Array(a);h.HEAP32=C=new Int32Array(a);h.HEAPU32=D=new Uint32Array(a);Ga=new Float32Array(a);G=new Float64Array(a);H=new BigInt64Array(a);new BigUint64Array(a)} +function Ia(){Ha=!0;n?ua():I.Va()}function J(a){a="Aborted("+a+")";p(a);pa=!0;a=new WebAssembly.RuntimeError(a+". Build with -sASSERTIONS for more info.");sa?.(a);throw a;}var Ja;async function Ka(a){if(!q)try{var b=await ha(a);return new Uint8Array(b)}catch{}if(a==Ja&&q)a=new Uint8Array(q);else if(ia)a=ia(a);else throw"both async and sync fetching of the wasm failed";return a} +async function La(a,b){try{var d=await Ka(a);return await WebAssembly.instantiate(d,b)}catch(c){p(`failed to asynchronously prepare wasm: ${c}`),J(c)}}async function Na(a){var b=Ja;if(!q&&!ja(b)&&!m)try{var d=fetch(b,{credentials:"same-origin"});return await WebAssembly.instantiateStreaming(d,a)}catch(c){p(`wasm streaming compile failed: ${c}`),p("falling back to ArrayBuffer instantiation")}return La(b,a)} +function Oa(){Pa={T:Qa,f:Ra,w:Sa,e:Ta,k:Ua,h:Va,L:Wa,b:Xa,G:Ya,ua:Za,j:$a,M:ab,La:bb,qa:cb,sa:db,Ma:eb,Ja:fb,Ca:gb,Ia:hb,Z:ib,ra:jb,oa:kb,Ka:lb,pa:mb,Ra:nb,Fa:ob,ma:pb,va:qb,ja:rb,U:sb,Ea:Ba,Oa:tb,za:ub,Aa:vb,Ba:wb,xa:xb,ya:yb,ka:zb,Ta:Ab,Qa:Bb,W:Cb,V:Db,Pa:Eb,F:Fb,Na:Gb,na:Hb,u:Ib,H:Jb,S:Kb,la:Lb,ba:Mb,Ua:Nb,Ga:Ob,Ha:Pb,ta:Qb,I:Rb,wa:Sb,Y:Tb,Da:Ub,X:Vb,$:Wb,N:Xb,aa:Yb,O:Zb,v:$b,d:ac,m:bc,n:cc,r:dc,ca:ec,E:fc,o:gc,P:hc,C:ic,J:jc,da:kc,ea:lc,z:mc,fa:nc,Q:oc,ga:pc,y:qc,D:rc,c:sc,q:tc,i:uc,_:vc,l:wc, +p:xc,s:yc,t:zc,x:Ac,R:Bc,A:Cc,K:Dc,B:Ec,ha:Fc,ia:Gc,g:Hc,a:x,Sa:Ic};return{a:Pa}} +async function wa(){function a(c,e){I=c.exports;I=Jc();Kc.push(I.xb);c=I;h._OrtInit=c.Wa;h._OrtGetLastError=c.Xa;h._OrtCreateSessionOptions=c.Ya;h._OrtAppendExecutionProvider=c.Za;h._OrtAddFreeDimensionOverride=c._a;h._OrtAddSessionConfigEntry=c.$a;h._OrtReleaseSessionOptions=c.ab;h._OrtCreateSession=c.bb;h._OrtReleaseSession=c.cb;h._OrtGetInputOutputCount=c.db;h._OrtGetInputOutputMetadata=c.eb;h._OrtFree=c.fb;h._OrtCreateTensor=c.gb;h._OrtGetTensorData=c.hb;h._OrtReleaseTensor=c.ib;h._OrtCreateRunOptions= +c.jb;h._OrtAddRunConfigEntry=c.kb;h._OrtReleaseRunOptions=c.lb;h._OrtCreateBinding=c.mb;h._OrtBindInput=c.nb;h._OrtBindOutput=c.ob;h._OrtClearBoundOutputs=c.pb;h._OrtReleaseBinding=c.qb;h._OrtRunWithBinding=c.rb;h._OrtRun=c.sb;h._OrtEndProfiling=c.tb;Lc=c.ub;Mc=h._free=c.vb;Nc=h._malloc=c.wb;za=c.zb;Ea=c.Ab;Oc=c.Bb;Pc=c.Cb;Qc=c.Db;Rc=c.Eb;Sc=c.Fb;K=c.Gb;L=c.Hb;Tc=c.Ib;M=c.Jb;Uc=c.Kb;N=c.Lb;Vc=c.Mb;Wc=c.Nb;Xc=c.Ob;Yc=c.Pb;Zc=c.yb;r=e;return I}var b=Oa();if(h.instantiateWasm)return new Promise(c=>{h.instantiateWasm(b, +(e,f)=>{c(a(e,f))})});if(n){var d=new WebAssembly.Instance(r,Oa());return a(d,r)}Ja??=h.locateFile?h.locateFile?h.locateFile("ort-wasm-simd-threaded.wasm",fa):fa+"ort-wasm-simd-threaded.wasm":(new URL("ort-wasm-simd-threaded.wasm",import.meta.url)).href;return function(c){return a(c.instance,c.module)}(await Na(b))}class $c{name="ExitStatus";constructor(a){this.message=`Program terminated with exit(${a})`;this.status=a}} +var ad=a=>{a.terminate();a.onmessage=()=>{}},bd=[],O=0,P=null,ed=a=>{0==Q.length&&(cd(),dd(Q[0]));var b=Q.pop();if(!b)return 6;R.push(b);S[a.Qb]=b;b.Qb=a.Qb;var d={Rb:"run",dc:a.cc,Vb:a.Vb,Qb:a.Qb};m&&b.unref();b.postMessage(d,a.Zb);return 0},T=0,U=(a,b,...d)=>{var c=16*d.length,e=N(),f=Uc(c),g=f>>>3,l;for(l of d)"bigint"==typeof l?((v(),H)[g++>>>0]=1n,(v(),H)[g++>>>0]=l):((v(),H)[g++>>>0]=0n,(v(),G)[g++>>>0]=l);a=Oc(a,0,c,f,b);M(e);return a}; +function Ic(a){if(n)return U(0,1,a);t=a;if(!(0{t=a;if(n)throw fd(a),"unwind";Ic(a)},Q=[],R=[],Kc=[],S={};function gd(){for(var a=h.numThreads-1;a--;)cd();bd.push(async()=>{var b=hd();O++;await b;O--;0==O&&P&&(b=P,P=null,b())})}var jd=a=>{var b=a.Qb;delete S[b];Q.push(a);R.splice(R.indexOf(a),1);a.Qb=0;Pc(b)};function Aa(){Kc.forEach(a=>a())} +var dd=a=>new Promise(b=>{a.onmessage=f=>{var g=f.data;f=g.Rb;if(g.Ub&&g.Ub!=Lc()){var l=S[g.Ub];l?l.postMessage(g,g.Zb):p(`Internal error! Worker sent a message "${f}" to target pthread ${g.Ub}, but that thread no longer exists!`)}else if("checkMailbox"===f)Da();else if("spawnThread"===f)ed(g);else if("cleanupThread"===f)kd(()=>{jd(S[g.ec])});else if("loaded"===f)a.loaded=!0,m&&!a.Qb&&a.unref(),b(a);else if("setimmediate"===g.target)a.postMessage(g);else if("uncaughtException"===f)a.onerror(g.error); +else if("callHandler"===f)h[g.$b](...g.args);else f&&p(`worker sent an unknown command ${f}`)};a.onerror=f=>{p(`${"worker sent an error!"} ${f.filename}:${f.lineno}: ${f.message}`);throw f;};m&&(a.on("message",f=>a.onmessage({data:f})),a.on("error",f=>a.onerror(f)));var d=[],c=[],e;for(e of c)h.propertyIsEnumerable(e)&&d.push(e);a.postMessage({Rb:"load",ac:d,fc:x,hc:r})});async function hd(){if(!n)return Promise.all(Q.map(dd))} +function cd(){var a=new Worker(new URL(import.meta.url),{type:"module",workerData:"em-pthread",name:"em-pthread"});Q.push(a)}function ya(a){var b=(v(),D)[a+52>>>2>>>0];a=(v(),D)[a+56>>>2>>>0];Tc(b,b-a);M(b)}var ld=[],V=a=>{var b=ld[a];b||(ld[a]=b=Zc.get(a));return b},Ca=(a,b)=>{T=0;a=V(a)(b);0>>=0;var b=new od(a);0==(v(),z)[b.Sb+12>>>0]&&(pd(b,!0),nd--);qd(b,!1);md.push(b);return Yc(a)} +var W=0,Sa=()=>{K(0,0);var a=md.pop();Vc(a.Wb);W=0};function pd(a,b){b=b?1:0;(v(),z)[a.Sb+12>>>0]=b}function qd(a,b){b=b?1:0;(v(),z)[a.Sb+13>>>0]=b}class od{constructor(a){this.Wb=a;this.Sb=a-24}}var rd=a=>{var b=W;if(!b)return L(0),0;var d=new od(b);(v(),D)[d.Sb+16>>>2>>>0]=b;var c=(v(),D)[d.Sb+4>>>2>>>0];if(!c)return L(0),b;for(var e of a){if(0===e||e===c)break;if(Xc(e,c,d.Sb+16))return L(e),b}L(c);return b};function Ta(){return rd([])}function Ua(a){return rd([a>>>0])} +function Va(a,b,d,c){return rd([a>>>0,b>>>0,d>>>0,c>>>0])}var Wa=()=>{var a=md.pop();a||J("no exception to throw");var b=a.Wb;0==(v(),z)[a.Sb+13>>>0]&&(md.push(a),qd(a,!0),pd(a,!1),nd++);Wc(b);W=b;throw W;};function Xa(a,b,d){a>>>=0;var c=new od(a);b>>>=0;d>>>=0;(v(),D)[c.Sb+16>>>2>>>0]=0;(v(),D)[c.Sb+4>>>2>>>0]=b;(v(),D)[c.Sb+8>>>2>>>0]=d;Wc(a);W=a;nd++;throw W;}var Ya=()=>nd;function sd(a,b,d,c){return n?U(2,1,a,b,d,c):Za(a,b,d,c)} +function Za(a,b,d,c){a>>>=0;b>>>=0;d>>>=0;c>>>=0;if(!globalThis.SharedArrayBuffer)return 6;var e=[];if(n&&0===e.length)return sd(a,b,d,c);a={cc:d,Qb:a,Vb:c,Zb:e};return n?(a.Rb="spawnThread",postMessage(a,e),0):ed(a)}function $a(a){W||=a>>>0;throw W;} +var td=globalThis.TextDecoder&&new TextDecoder,ud=(a,b=0,d,c)=>{b>>>=0;var e=b;d=e+d;if(c)c=d;else{for(;a[e]&&!(e>=d);)++e;c=e}if(16d?e+=String.fromCharCode(d):(d-=65536,e+=String.fromCharCode(55296|d>>10,56320| +d&1023))}}else e+=String.fromCharCode(d);return e},vd=(a,b,d)=>(a>>>=0)?ud((v(),A),a,b,d):"";function ab(a,b,d){return n?U(3,1,a,b,d):0}function bb(a,b){if(n)return U(4,1,a,b)}function cb(a,b){if(n)return U(5,1,a,b)}function db(a,b,d){if(n)return U(6,1,a,b,d)}function eb(a,b,d){return n?U(7,1,a,b,d):0}function fb(a,b){if(n)return U(8,1,a,b)}function gb(a,b,d){if(n)return U(9,1,a,b,d)}function hb(a,b,d,c){if(n)return U(10,1,a,b,d,c)}function ib(a,b,d,c){if(n)return U(11,1,a,b,d,c)} +function jb(a,b,d,c){if(n)return U(12,1,a,b,d,c)}function kb(a){if(n)return U(13,1,a)}function lb(a,b){if(n)return U(14,1,a,b)}function mb(a,b,d){if(n)return U(15,1,a,b,d)}var nb=()=>J("");function ob(a){za(a>>>0,!k,1,!aa,131072,!1);Aa()} +var kd=a=>{if(!pa)try{if(a(),!(0Number((navigator.userAgent.match(/Chrom(e|ium)\/([0-9]+)\./)||[])[2]);function Ba(a){a>>>=0;wd||(Atomics.waitAsync((v(),C),a>>>2,a).value.then(Da),a+=128,Atomics.store((v(),C),a>>>2,1))}var Da=()=>kd(()=>{var a=Lc();a&&(Ba(a),Sc())}); +function pb(a,b){a>>>=0;a==b>>>0?setTimeout(Da):n?postMessage({Ub:a,Rb:"checkMailbox"}):(a=S[a])&&a.postMessage({Rb:"checkMailbox"})}var xd=[];function qb(a,b,d,c,e){b>>>=0;e>>>=0;xd.length=0;d=e>>>3;for(c=e+c>>>3;d>>0]?f=(v(),H)[d++>>>0]:f=(v(),G)[d++>>>0];xd.push(f)}return(b?yd[b]:zd[a])(...xd)}var rb=()=>{T=0};function sb(a){a>>>=0;n?postMessage({Rb:"cleanupThread",ec:a}):jd(S[a])}function tb(a){m&&S[a>>>0].ref()} +function ub(a,b){a=-9007199254740992>a||9007199254740992>>=0;a=new Date(1E3*a);(v(),C)[b>>>2>>>0]=a.getUTCSeconds();(v(),C)[b+4>>>2>>>0]=a.getUTCMinutes();(v(),C)[b+8>>>2>>>0]=a.getUTCHours();(v(),C)[b+12>>>2>>>0]=a.getUTCDate();(v(),C)[b+16>>>2>>>0]=a.getUTCMonth();(v(),C)[b+20>>>2>>>0]=a.getUTCFullYear()-1900;(v(),C)[b+24>>>2>>>0]=a.getUTCDay();a=(a.getTime()-Date.UTC(a.getUTCFullYear(),0,1,0,0,0,0))/864E5|0;(v(),C)[b+28>>>2>>>0]=a} +var Ad=a=>0===a%4&&(0!==a%100||0===a%400),Bd=[0,31,60,91,121,152,182,213,244,274,305,335],Cd=[0,31,59,90,120,151,181,212,243,273,304,334]; +function vb(a,b){a=-9007199254740992>a||9007199254740992>>=0;a=new Date(1E3*a);(v(),C)[b>>>2>>>0]=a.getSeconds();(v(),C)[b+4>>>2>>>0]=a.getMinutes();(v(),C)[b+8>>>2>>>0]=a.getHours();(v(),C)[b+12>>>2>>>0]=a.getDate();(v(),C)[b+16>>>2>>>0]=a.getMonth();(v(),C)[b+20>>>2>>>0]=a.getFullYear()-1900;(v(),C)[b+24>>>2>>>0]=a.getDay();var d=(Ad(a.getFullYear())?Bd:Cd)[a.getMonth()]+a.getDate()-1|0;(v(),C)[b+28>>>2>>>0]=d;(v(),C)[b+36>>>2>>>0]=-(60*a.getTimezoneOffset());d=(new Date(a.getFullYear(), +6,1)).getTimezoneOffset();var c=(new Date(a.getFullYear(),0,1)).getTimezoneOffset();a=(d!=c&&a.getTimezoneOffset()==Math.min(c,d))|0;(v(),C)[b+32>>>2>>>0]=a} +function wb(a){a>>>=0;var b=new Date((v(),C)[a+20>>>2>>>0]+1900,(v(),C)[a+16>>>2>>>0],(v(),C)[a+12>>>2>>>0],(v(),C)[a+8>>>2>>>0],(v(),C)[a+4>>>2>>>0],(v(),C)[a>>>2>>>0],0),d=(v(),C)[a+32>>>2>>>0],c=b.getTimezoneOffset(),e=(new Date(b.getFullYear(),6,1)).getTimezoneOffset(),f=(new Date(b.getFullYear(),0,1)).getTimezoneOffset(),g=Math.min(f,e);0>d?(v(),C)[a+32>>>2>>>0]=Number(e!=f&&g==c):0>>2>>>0]=b.getDay();d=(Ad(b.getFullYear())? +Bd:Cd)[b.getMonth()]+b.getDate()-1|0;(v(),C)[a+28>>>2>>>0]=d;(v(),C)[a>>>2>>>0]=b.getSeconds();(v(),C)[a+4>>>2>>>0]=b.getMinutes();(v(),C)[a+8>>>2>>>0]=b.getHours();(v(),C)[a+12>>>2>>>0]=b.getDate();(v(),C)[a+16>>>2>>>0]=b.getMonth();(v(),C)[a+20>>>2>>>0]=b.getYear();a=b.getTime();return BigInt(isNaN(a)?-1:a/1E3)}function xb(a,b,d,c,e,f,g){return n?U(16,1,a,b,d,c,e,f,g):-52}function yb(a,b,d,c,e,f){if(n)return U(17,1,a,b,d,c,e,f)}var X={},Ib=()=>performance.timeOrigin+performance.now(); +function zb(a,b){if(n)return U(18,1,a,b);X[a]&&(clearTimeout(X[a].id),delete X[a]);if(!b)return 0;var d=setTimeout(()=>{delete X[a];kd(()=>Rc(a,performance.timeOrigin+performance.now()))},b);X[a]={id:d,oc:b};return 0} +var Y=(a,b,d)=>{var c=(v(),A);b>>>=0;if(0=g){if(b>=d)break;c[b++>>>0]=g}else if(2047>=g){if(b+1>=d)break;c[b++>>>0]=192|g>>6;c[b++>>>0]=128|g&63}else if(65535>=g){if(b+2>=d)break;c[b++>>>0]=224|g>>12;c[b++>>>0]=128|g>>6&63;c[b++>>>0]=128|g&63}else{if(b+3>=d)break;c[b++>>>0]=240|g>>18;c[b++>>>0]=128|g>>12&63;c[b++>>>0]=128|g>>6&63;c[b++>>>0]=128|g&63;f++}}c[b>>>0]=0;a=b-e}else a=0;return a}; +function Ab(a,b,d,c){a>>>=0;b>>>=0;d>>>=0;c>>>=0;var e=(new Date).getFullYear(),f=(new Date(e,0,1)).getTimezoneOffset();e=(new Date(e,6,1)).getTimezoneOffset();var g=Math.max(f,e);(v(),D)[a>>>2>>>0]=60*g;(v(),C)[b>>>2>>>0]=Number(f!=e);b=l=>{var u=Math.abs(l);return`UTC${0<=l?"-":"+"}${String(Math.floor(u/60)).padStart(2,"0")}${String(u%60).padStart(2,"0")}`};a=b(f);b=b(e);eDate.now(),Dd=1; +function Bb(a,b,d){d>>>=0;if(!(0<=a&&3>=a))return 28;if(0===a)a=Date.now();else if(Dd)a=performance.timeOrigin+performance.now();else return 52;a=Math.round(1E6*a);(v(),H)[d>>>3>>>0]=BigInt(a);return 0}var Ed=[];function Cb(a,b,d){a>>>=0;b>>>=0;d>>>=0;Ed.length=0;for(var c;c=(v(),A)[b++>>>0];){var e=105!=c;e&=112!=c;d+=e&&d%8?4:0;Ed.push(112==c?(v(),D)[d>>>2>>>0]:106==c?(v(),H)[d>>>3>>>0]:105==c?(v(),C)[d>>>2>>>0]:(v(),G)[d>>>3>>>0]);d+=e?8:4}return yd[a](...Ed)}var Db=()=>{}; +function Fb(a,b){return p(vd(a>>>0,b>>>0))}var Gb=()=>{T+=1;throw"unwind";};function Hb(){return 4294901760}var Jb=()=>m?require("os").cpus().length:navigator.hardwareConcurrency,Z={},Fd=a=>{for(var b=0,d=0;d=c?b++:2047>=c?b+=2:55296<=c&&57343>=c?(b+=4,++d):b+=3}return b},Gd=a=>{var b;return(b=/\bwasm-function\[\d+\]:(0x[0-9a-f]+)/.exec(a))?+b[1]:(b=/:(\d+):\d+(?:\)|$)/.exec(a))?2147483648|+b[1]:0},Hd=a=>{for(var b of a)(a=Gd(b))&&(Z[a]=b)}; +function Mb(){var a=Error().stack.toString().split("\n");"Error"==a[0]&&a.shift();Hd(a);Z.Xb=Gd(a[3]);Z.bc=a;return Z.Xb}function Kb(a){a=Z[a>>>0];if(!a)return 0;var b;if(b=/^\s+at .*\.wasm\.(.*) \(.*\)$/.exec(a))a=b[1];else if(b=/^\s+at (.*) \(.*\)$/.exec(a))a=b[1];else if(b=/^(.+?)@/.exec(a))a=b[1];else return 0;Mc(Kb.Yb??0);b=Fd(a)+1;var d=Nc(b);d&&Y(a,d,b);Kb.Yb=d;return Kb.Yb} +function Lb(a){a>>>=0;var b=(v(),A).length;if(a<=b||4294901760=d;d*=2){var c=b*(1+.2/d);c=Math.min(c,a+100663296);a:{c=(Math.min(4294901760,65536*Math.ceil(Math.max(a,c)/65536))-x.buffer.byteLength+65535)/65536|0;try{x.grow(c);qa();var e=1;break a}catch(f){}e=void 0}if(e)return!0}return!1} +function Nb(a,b,d){a>>>=0;b>>>=0;if(Z.Xb==a)var c=Z.bc;else c=Error().stack.toString().split("\n"),"Error"==c[0]&&c.shift(),Hd(c);for(var e=3;c[e]&&Gd(c[e])!=a;)++e;for(a=0;a>>2>>>0]=Gd(c[a+e]);return a} +var Id={},Kd=()=>{if(!Jd){var a={USER:"web_user",LOGNAME:"web_user",PATH:"/",PWD:"/",HOME:"/home/web_user",LANG:(globalThis.navigator?.language??"C").replace("-","_")+".UTF-8",_:ca||"./this.program"},b;for(b in Id)void 0===Id[b]?delete a[b]:a[b]=Id[b];var d=[];for(b in a)d.push(`${b}=${a[b]}`);Jd=d}return Jd},Jd;function Ob(a,b){if(n)return U(19,1,a,b);a>>>=0;b>>>=0;var d=0,c=0,e;for(e of Kd()){var f=b+d;(v(),D)[a+c>>>2>>>0]=f;d+=Y(e,f,Infinity)+1;c+=4}return 0} +function Pb(a,b){if(n)return U(20,1,a,b);a>>>=0;b>>>=0;var d=Kd();(v(),D)[a>>>2>>>0]=d.length;a=0;for(var c of d)a+=Fd(c)+1;(v(),D)[b>>>2>>>0]=a;return 0}function Rb(a){return n?U(21,1,a):52}function Sb(a,b,d,c,e){return n?U(22,1,a,b,d,c,e):52}function Tb(a,b,d,c){return n?U(23,1,a,b,d,c):52}function Ub(a,b,d,c){return n?U(24,1,a,b,d,c):70}var Ld=[null,[],[]]; +function Vb(a,b,d,c){if(n)return U(25,1,a,b,d,c);b>>>=0;d>>>=0;c>>>=0;for(var e=0,f=0;f>>2>>>0],l=(v(),D)[b+4>>>2>>>0];b+=8;for(var u=0;u>>0],B=Ld[w];0===y||10===y?((1===w?oa:p)(ud(B)),B.length=0):B.push(y)}e+=l}(v(),D)[c>>>2>>>0]=e;return 0}function Hc(a){return a>>>0}n||gd();n||(x=new WebAssembly.Memory({initial:256,maximum:65536,shared:!0}),qa());h.wasmBinary&&(q=h.wasmBinary);h.stackSave=()=>N();h.stackRestore=a=>M(a);h.stackAlloc=a=>Uc(a); +h.setValue=function(a,b,d="i8"){d.endsWith("*")&&(d="*");switch(d){case "i1":(v(),z)[a>>>0]=b;break;case "i8":(v(),z)[a>>>0]=b;break;case "i16":(v(),Fa)[a>>>1>>>0]=b;break;case "i32":(v(),C)[a>>>2>>>0]=b;break;case "i64":(v(),H)[a>>>3>>>0]=BigInt(b);break;case "float":(v(),Ga)[a>>>2>>>0]=b;break;case "double":(v(),G)[a>>>3>>>0]=b;break;case "*":(v(),D)[a>>>2>>>0]=b;break;default:J(`invalid type for setValue: ${d}`)}}; +h.getValue=function(a,b="i8"){b.endsWith("*")&&(b="*");switch(b){case "i1":return(v(),z)[a>>>0];case "i8":return(v(),z)[a>>>0];case "i16":return(v(),Fa)[a>>>1>>>0];case "i32":return(v(),C)[a>>>2>>>0];case "i64":return(v(),H)[a>>>3>>>0];case "float":return(v(),Ga)[a>>>2>>>0];case "double":return(v(),G)[a>>>3>>>0];case "*":return(v(),D)[a>>>2>>>0];default:J(`invalid type for getValue: ${b}`)}};h.UTF8ToString=vd;h.stringToUTF8=Y;h.lengthBytesUTF8=Fd; +var zd=[Ic,fd,sd,ab,bb,cb,db,eb,fb,gb,hb,ib,jb,kb,lb,mb,xb,yb,zb,Ob,Pb,Rb,Sb,Tb,Ub,Vb],yd={1042604:(a,b,d,c,e)=>{if("undefined"==typeof h||!h.Tb)return 1;a=vd(Number(a>>>0));a.startsWith("./")&&(a=a.substring(2));a=h.Tb.get(a);if(!a)return 2;b=Number(b>>>0);d=Number(d>>>0);c=Number(c>>>0);if(b+d>a.byteLength)return 3;try{const f=a.subarray(b,b+d);switch(e){case 0:(v(),A).set(f,c>>>0);break;case 1:h.ic?h.ic(c,f):h.kc(c,f);break;default:return 4}return 0}catch{return 4}},1043428:()=>"undefined"!==typeof wasmOffsetConverter}; +function Qa(){return"undefined"!==typeof wasmOffsetConverter}var Lc,Mc,Nc,za,Ea,Oc,Pc,Qc,Rc,Sc,K,L,Tc,M,Uc,N,Vc,Wc,Xc,Yc,Zc,Pa;function cc(a,b,d,c){var e=N();try{return V(a)(b,d,c)}catch(f){M(e);if(f!==f+0)throw f;K(1,0)}}function bc(a,b,d){var c=N();try{return V(a)(b,d)}catch(e){M(c);if(e!==e+0)throw e;K(1,0)}}function sc(a){var b=N();try{V(a)()}catch(d){M(b);if(d!==d+0)throw d;K(1,0)}}function ac(a,b){var d=N();try{return V(a)(b)}catch(c){M(d);if(c!==c+0)throw c;K(1,0)}} +function uc(a,b,d){var c=N();try{V(a)(b,d)}catch(e){M(c);if(e!==e+0)throw e;K(1,0)}}function tc(a,b){var d=N();try{V(a)(b)}catch(c){M(d);if(c!==c+0)throw c;K(1,0)}}function gc(a,b,d,c,e,f,g){var l=N();try{return V(a)(b,d,c,e,f,g)}catch(u){M(l);if(u!==u+0)throw u;K(1,0)}}function yc(a,b,d,c,e,f){var g=N();try{V(a)(b,d,c,e,f)}catch(l){M(g);if(l!==l+0)throw l;K(1,0)}}function wc(a,b,d,c){var e=N();try{V(a)(b,d,c)}catch(f){M(e);if(f!==f+0)throw f;K(1,0)}} +function xc(a,b,d,c,e){var f=N();try{V(a)(b,d,c,e)}catch(g){M(f);if(g!==g+0)throw g;K(1,0)}}function zc(a,b,d,c,e,f,g){var l=N();try{V(a)(b,d,c,e,f,g)}catch(u){M(l);if(u!==u+0)throw u;K(1,0)}}function Gc(a,b,d,c,e,f,g){var l=N();try{V(a)(b,d,c,e,f,g)}catch(u){M(l);if(u!==u+0)throw u;K(1,0)}}function Fc(a,b,d,c,e,f,g,l){var u=N();try{V(a)(b,d,c,e,f,g,l)}catch(w){M(u);if(w!==w+0)throw w;K(1,0)}}function dc(a,b,d,c,e){var f=N();try{return V(a)(b,d,c,e)}catch(g){M(f);if(g!==g+0)throw g;K(1,0)}} +function mc(a,b,d){var c=N();try{return V(a)(b,d)}catch(e){M(c);if(e!==e+0)throw e;K(1,0)}}function Ac(a,b,d,c,e,f,g,l){var u=N();try{V(a)(b,d,c,e,f,g,l)}catch(w){M(u);if(w!==w+0)throw w;K(1,0)}}function Dc(a,b,d,c,e,f,g,l,u,w,y,B){var E=N();try{V(a)(b,d,c,e,f,g,l,u,w,y,B)}catch(F){M(E);if(F!==F+0)throw F;K(1,0)}}function qc(a,b,d){var c=N();try{return V(a)(b,d)}catch(e){M(c);if(e!==e+0)throw e;K(1,0);return 0n}} +function Bc(a,b,d,c,e,f,g,l,u){var w=N();try{V(a)(b,d,c,e,f,g,l,u)}catch(y){M(w);if(y!==y+0)throw y;K(1,0)}}function $b(a){var b=N();try{return V(a)()}catch(d){M(b);if(d!==d+0)throw d;K(1,0)}}function pc(a,b){var d=N();try{return V(a)(b)}catch(c){M(d);if(c!==c+0)throw c;K(1,0);return 0n}}function nc(a,b,d,c){var e=N();try{return V(a)(b,d,c)}catch(f){M(e);if(f!==f+0)throw f;K(1,0)}}function oc(a){var b=N();try{return V(a)()}catch(d){M(b);if(d!==d+0)throw d;K(1,0);return 0n}} +function lc(a,b,d,c){var e=N();try{return V(a)(b,d,c)}catch(f){M(e);if(f!==f+0)throw f;K(1,0)}}function kc(a,b,d,c,e){var f=N();try{return V(a)(b,d,c,e)}catch(g){M(f);if(g!==g+0)throw g;K(1,0)}}function jc(a,b,d,c,e,f){var g=N();try{return V(a)(b,d,c,e,f)}catch(l){M(g);if(l!==l+0)throw l;K(1,0)}}function fc(a,b,d,c,e,f){var g=N();try{return V(a)(b,d,c,e,f)}catch(l){M(g);if(l!==l+0)throw l;K(1,0)}} +function ec(a,b,d,c,e,f){var g=N();try{return V(a)(b,d,c,e,f)}catch(l){M(g);if(l!==l+0)throw l;K(1,0)}}function hc(a,b,d,c,e,f,g,l){var u=N();try{return V(a)(b,d,c,e,f,g,l)}catch(w){M(u);if(w!==w+0)throw w;K(1,0)}}function rc(a,b,d,c,e){var f=N();try{return V(a)(b,d,c,e)}catch(g){M(f);if(g!==g+0)throw g;K(1,0);return 0n}}function Zb(a,b,d,c){var e=N();try{return V(a)(b,d,c)}catch(f){M(e);if(f!==f+0)throw f;K(1,0)}} +function Xb(a,b,d,c){var e=N();try{return V(a)(b,d,c)}catch(f){M(e);if(f!==f+0)throw f;K(1,0)}}function ic(a,b,d,c,e,f,g,l,u,w,y,B){var E=N();try{return V(a)(b,d,c,e,f,g,l,u,w,y,B)}catch(F){M(E);if(F!==F+0)throw F;K(1,0)}}function Cc(a,b,d,c,e,f,g,l,u,w,y){var B=N();try{V(a)(b,d,c,e,f,g,l,u,w,y)}catch(E){M(B);if(E!==E+0)throw E;K(1,0)}}function Ec(a,b,d,c,e,f,g,l,u,w,y,B,E,F,Md,Nd){var Od=N();try{V(a)(b,d,c,e,f,g,l,u,w,y,B,E,F,Md,Nd)}catch(Ma){M(Od);if(Ma!==Ma+0)throw Ma;K(1,0)}} +function Yb(a,b,d){var c=N();try{return V(a)(b,d)}catch(e){M(c);if(e!==e+0)throw e;K(1,0)}}function Wb(a,b,d){var c=N();try{return V(a)(b,d)}catch(e){M(c);if(e!==e+0)throw e;K(1,0)}}function vc(a,b,d,c){var e=N();try{V(a)(b,d,c)}catch(f){M(e);if(f!==f+0)throw f;K(1,0)}}function Jc(){var a=I;a=Object.assign({},a);var b=c=>()=>c()>>>0,d=c=>e=>c(e)>>>0;a.ub=b(a.ub);a.wb=d(a.wb);a.Kb=d(a.Kb);a.Lb=b(a.Lb);a.Pb=d(a.Pb);return a} +function xa(){if(0{ra=a;sa=b}); +;return moduleRtn}export default ortWasmThreaded;var isPthread=globalThis.self?.name?.startsWith("em-pthread");var isNode=globalThis.process?.versions?.node&&globalThis.process?.type!="renderer";if(isNode)isPthread=(await import("worker_threads")).workerData==="em-pthread";isPthread&&ortWasmThreaded(); diff --git a/ort/ort-wasm-simd-threaded.wasm b/ort/ort-wasm-simd-threaded.wasm new file mode 100644 index 0000000000000000000000000000000000000000..b08647531ede68ae291b885b3f689b1be7be560c --- /dev/null +++ b/ort/ort-wasm-simd-threaded.wasm @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3398c10d07d229bd91b364548e130e0e51a8e5704b88c7c083ebbeb78842dee2 +size 14239897