developer0hye commited on
Commit
3c6400a
·
1 Parent(s): 4d8032f

feat: add model selector for all scales (n/s/m/l/x)

Browse files

Updated WASM module and web UI to support switching between
yolo26n, yolo26s, yolo26m, yolo26l, and yolo26x models.

404.html CHANGED
@@ -1 +1 @@
1
- <!DOCTYPE html><!--8Xo6db7R6V3KHGucdJovV--><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/_next/static/chunks/843c3cca5afc4244.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/4b9eae0c8dc7e975.js"/><script src="/_next/static/chunks/f2f58a7e93290fbb.js" async=""></script><script src="/_next/static/chunks/6eb1bac6b57023f6.js" async=""></script><script src="/_next/static/chunks/turbopack-da1d1c3932c9a2c7.js" async=""></script><script src="/_next/static/chunks/2f236954d6a65e12.js" async=""></script><meta name="robots" content="noindex"/><meta name="next-size-adjust" content=""/><title>404: This page could not be found.</title><title>YOLO26 Rust WASM Demo</title><meta name="description" content="Browser-based object detection powered by Rust and WebAssembly"/><script src="/_next/static/chunks/a6dad97d9634a72d.js" noModule=""></script></head><body class="geist_a71539c9-module__T19VSG__variable antialiased"><div hidden=""><!--$--><!--/$--></div><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div><style>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)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding:0 23px 0 0;font-size:24px;font-weight:500;vertical-align:top;line-height:49px">404</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:49px;margin:0">This page could not be found.</h2></div></div></div><!--$--><!--/$--><script src="/_next/static/chunks/4b9eae0c8dc7e975.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[39756,[\"/_next/static/chunks/2f236954d6a65e12.js\"],\"default\"]\n3:I[37457,[\"/_next/static/chunks/2f236954d6a65e12.js\"],\"default\"]\n4:I[97367,[\"/_next/static/chunks/2f236954d6a65e12.js\"],\"OutletBoundary\"]\n5:\"$Sreact.suspense\"\n7:I[97367,[\"/_next/static/chunks/2f236954d6a65e12.js\"],\"ViewportBoundary\"]\n9:I[97367,[\"/_next/static/chunks/2f236954d6a65e12.js\"],\"MetadataBoundary\"]\nb:I[68027,[\"/_next/static/chunks/2f236954d6a65e12.js\"],\"default\"]\n:HL[\"/_next/static/chunks/843c3cca5afc4244.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"b\":\"8Xo6db7R6V3KHGucdJovV\",\"c\":[\"\",\"_not-found\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"/_not-found\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",true],[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/843c3cca5afc4244.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-0\",{\"src\":\"/_next/static/chunks/2f236954d6a65e12.js\",\"async\":true,\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[\"$\",\"body\",null,{\"className\":\"geist_a71539c9-module__T19VSG__variable antialiased\",\"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\"}]}]}]]}],{\"children\":[[\"$\",\"$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\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":\"$0:f:0:1:0:props:children:1:props:children:props:children:props:notFound:0:1:props:style\",\"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\":\"$0:f:0:1:0:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:1:props:style\",\"children\":404}],[\"$\",\"div\",null,{\"style\":\"$0:f:0:1:0:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:style\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$0:f:0:1:0:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:children:props:style\",\"children\":\"This page could not be found.\"}]}]]}]}]],null,[\"$\",\"$L4\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@6\"}]}]]}],{},null,false,false]},null,false,false]},null,false,false],[\"$\",\"$1\",\"h\",{\"children\":[[\"$\",\"meta\",null,{\"name\":\"robots\",\"content\":\"noindex\"}],[\"$\",\"$L7\",null,{\"children\":\"$L8\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$L9\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.Metadata\",\"children\":\"$La\"}]}]}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$b\",\"$undefined\"],\"S\":true}\n"])</script><script>self.__next_f.push([1,"8:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n"])</script><script>self.__next_f.push([1,"6:null\na:[[\"$\",\"title\",\"0\",{\"children\":\"YOLO26 Rust WASM Demo\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"Browser-based object detection powered by Rust and WebAssembly\"}]]\n"])</script></body></html>
 
1
+ <!DOCTYPE html><!--ZsJf_7rnwZ9CDNqs2HjYi--><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/_next/static/chunks/5bd1f1e2e4e46abf.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/4b9eae0c8dc7e975.js"/><script src="/_next/static/chunks/f2f58a7e93290fbb.js" async=""></script><script src="/_next/static/chunks/6eb1bac6b57023f6.js" async=""></script><script src="/_next/static/chunks/turbopack-da1d1c3932c9a2c7.js" async=""></script><script src="/_next/static/chunks/2f236954d6a65e12.js" async=""></script><meta name="robots" content="noindex"/><meta name="next-size-adjust" content=""/><title>404: This page could not be found.</title><title>YOLO26 Rust WASM Demo</title><meta name="description" content="Browser-based object detection powered by Rust and WebAssembly"/><script src="/_next/static/chunks/a6dad97d9634a72d.js" noModule=""></script></head><body class="geist_a71539c9-module__T19VSG__variable antialiased"><div hidden=""><!--$--><!--/$--></div><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div><style>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)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding:0 23px 0 0;font-size:24px;font-weight:500;vertical-align:top;line-height:49px">404</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:49px;margin:0">This page could not be found.</h2></div></div></div><!--$--><!--/$--><script src="/_next/static/chunks/4b9eae0c8dc7e975.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[39756,[\"/_next/static/chunks/2f236954d6a65e12.js\"],\"default\"]\n3:I[37457,[\"/_next/static/chunks/2f236954d6a65e12.js\"],\"default\"]\n4:I[97367,[\"/_next/static/chunks/2f236954d6a65e12.js\"],\"OutletBoundary\"]\n5:\"$Sreact.suspense\"\n7:I[97367,[\"/_next/static/chunks/2f236954d6a65e12.js\"],\"ViewportBoundary\"]\n9:I[97367,[\"/_next/static/chunks/2f236954d6a65e12.js\"],\"MetadataBoundary\"]\nb:I[68027,[\"/_next/static/chunks/2f236954d6a65e12.js\"],\"default\"]\n:HL[\"/_next/static/chunks/5bd1f1e2e4e46abf.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"b\":\"ZsJf_7rnwZ9CDNqs2HjYi\",\"c\":[\"\",\"_not-found\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"/_not-found\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",true],[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/5bd1f1e2e4e46abf.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-0\",{\"src\":\"/_next/static/chunks/2f236954d6a65e12.js\",\"async\":true,\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[\"$\",\"body\",null,{\"className\":\"geist_a71539c9-module__T19VSG__variable antialiased\",\"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\"}]}]}]]}],{\"children\":[[\"$\",\"$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\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":\"$0:f:0:1:0:props:children:1:props:children:props:children:props:notFound:0:1:props:style\",\"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\":\"$0:f:0:1:0:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:1:props:style\",\"children\":404}],[\"$\",\"div\",null,{\"style\":\"$0:f:0:1:0:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:style\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$0:f:0:1:0:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:children:props:style\",\"children\":\"This page could not be found.\"}]}]]}]}]],null,[\"$\",\"$L4\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@6\"}]}]]}],{},null,false,false]},null,false,false]},null,false,false],[\"$\",\"$1\",\"h\",{\"children\":[[\"$\",\"meta\",null,{\"name\":\"robots\",\"content\":\"noindex\"}],[\"$\",\"$L7\",null,{\"children\":\"$L8\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$L9\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.Metadata\",\"children\":\"$La\"}]}]}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$b\",\"$undefined\"],\"S\":true}\n"])</script><script>self.__next_f.push([1,"8:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n"])</script><script>self.__next_f.push([1,"6:null\na:[[\"$\",\"title\",\"0\",{\"children\":\"YOLO26 Rust WASM Demo\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"Browser-based object detection powered by Rust and WebAssembly\"}]]\n"])</script></body></html>
__next.__PAGE__.txt CHANGED
@@ -1,9 +1,9 @@
1
  1:"$Sreact.fragment"
2
  2:I[47257,["/_next/static/chunks/2f236954d6a65e12.js"],"ClientPageRoot"]
3
- 3:I[52683,["/_next/static/chunks/bfbe13159f1fe460.js"],"default"]
4
  6:I[97367,["/_next/static/chunks/2f236954d6a65e12.js"],"OutletBoundary"]
5
  7:"$Sreact.suspense"
6
- 0:{"buildId":"8Xo6db7R6V3KHGucdJovV","rsc":["$","$1","c",{"children":[["$","$L2",null,{"Component":"$3","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@4","$@5"]}}],[["$","script","script-0",{"src":"/_next/static/chunks/bfbe13159f1fe460.js","async":true}]],["$","$L6",null,{"children":["$","$7",null,{"name":"Next.MetadataOutlet","children":"$@8"}]}]]}],"loading":null,"isPartial":false}
7
  4:{}
8
  5:"$0:rsc:props:children:0:props:serverProvidedParams:params"
9
  8:null
 
1
  1:"$Sreact.fragment"
2
  2:I[47257,["/_next/static/chunks/2f236954d6a65e12.js"],"ClientPageRoot"]
3
+ 3:I[52683,["/_next/static/chunks/ffbf2fb290abbae1.js"],"default"]
4
  6:I[97367,["/_next/static/chunks/2f236954d6a65e12.js"],"OutletBoundary"]
5
  7:"$Sreact.suspense"
6
+ 0:{"buildId":"ZsJf_7rnwZ9CDNqs2HjYi","rsc":["$","$1","c",{"children":[["$","$L2",null,{"Component":"$3","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@4","$@5"]}}],[["$","script","script-0",{"src":"/_next/static/chunks/ffbf2fb290abbae1.js","async":true}]],["$","$L6",null,{"children":["$","$7",null,{"name":"Next.MetadataOutlet","children":"$@8"}]}]]}],"loading":null,"isPartial":false}
7
  4:{}
8
  5:"$0:rsc:props:children:0:props:serverProvidedParams:params"
9
  8:null
__next._full.txt CHANGED
@@ -2,15 +2,15 @@
2
  2:I[39756,["/_next/static/chunks/2f236954d6a65e12.js"],"default"]
3
  3:I[37457,["/_next/static/chunks/2f236954d6a65e12.js"],"default"]
4
  4:I[47257,["/_next/static/chunks/2f236954d6a65e12.js"],"ClientPageRoot"]
5
- 5:I[52683,["/_next/static/chunks/bfbe13159f1fe460.js"],"default"]
6
  8:I[97367,["/_next/static/chunks/2f236954d6a65e12.js"],"OutletBoundary"]
7
  9:"$Sreact.suspense"
8
  b:I[97367,["/_next/static/chunks/2f236954d6a65e12.js"],"ViewportBoundary"]
9
  d:I[97367,["/_next/static/chunks/2f236954d6a65e12.js"],"MetadataBoundary"]
10
  f:I[68027,["/_next/static/chunks/2f236954d6a65e12.js"],"default"]
11
- :HL["/_next/static/chunks/843c3cca5afc4244.css","style"]
12
  :HL["/_next/static/media/caa3a2e1cccd8315-s.p.853070df.woff2","font",{"crossOrigin":"","type":"font/woff2"}]
13
- 0:{"P":null,"b":"8Xo6db7R6V3KHGucdJovV","c":["",""],"q":"","i":false,"f":[[["",{"children":["__PAGE__",{}]},"$undefined","$undefined",true],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/843c3cca5afc4244.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","children":["$","body",null,{"className":"geist_a71539c9-module__T19VSG__variable antialiased","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"}]}]}]]}],{"children":[["$","$1","c",{"children":[["$","$L4",null,{"Component":"$5","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@6","$@7"]}}],[["$","script","script-0",{"src":"/_next/static/chunks/bfbe13159f1fe460.js","async":true,"nonce":"$undefined"}]],["$","$L8",null,{"children":["$","$9",null,{"name":"Next.MetadataOutlet","children":"$@a"}]}]]}],{},null,false,false]},null,false,false],["$","$1","h",{"children":[null,["$","$Lb",null,{"children":"$Lc"}],["$","div",null,{"hidden":true,"children":["$","$Ld",null,{"children":["$","$9",null,{"name":"Next.Metadata","children":"$Le"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],false]],"m":"$undefined","G":["$f",[]],"S":true}
14
  6:{}
15
  7:"$0:f:0:1:1:children:0:props:children:0:props:serverProvidedParams:params"
16
  c:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]
 
2
  2:I[39756,["/_next/static/chunks/2f236954d6a65e12.js"],"default"]
3
  3:I[37457,["/_next/static/chunks/2f236954d6a65e12.js"],"default"]
4
  4:I[47257,["/_next/static/chunks/2f236954d6a65e12.js"],"ClientPageRoot"]
5
+ 5:I[52683,["/_next/static/chunks/ffbf2fb290abbae1.js"],"default"]
6
  8:I[97367,["/_next/static/chunks/2f236954d6a65e12.js"],"OutletBoundary"]
7
  9:"$Sreact.suspense"
8
  b:I[97367,["/_next/static/chunks/2f236954d6a65e12.js"],"ViewportBoundary"]
9
  d:I[97367,["/_next/static/chunks/2f236954d6a65e12.js"],"MetadataBoundary"]
10
  f:I[68027,["/_next/static/chunks/2f236954d6a65e12.js"],"default"]
11
+ :HL["/_next/static/chunks/5bd1f1e2e4e46abf.css","style"]
12
  :HL["/_next/static/media/caa3a2e1cccd8315-s.p.853070df.woff2","font",{"crossOrigin":"","type":"font/woff2"}]
13
+ 0:{"P":null,"b":"ZsJf_7rnwZ9CDNqs2HjYi","c":["",""],"q":"","i":false,"f":[[["",{"children":["__PAGE__",{}]},"$undefined","$undefined",true],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/5bd1f1e2e4e46abf.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","children":["$","body",null,{"className":"geist_a71539c9-module__T19VSG__variable antialiased","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"}]}]}]]}],{"children":[["$","$1","c",{"children":[["$","$L4",null,{"Component":"$5","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@6","$@7"]}}],[["$","script","script-0",{"src":"/_next/static/chunks/ffbf2fb290abbae1.js","async":true,"nonce":"$undefined"}]],["$","$L8",null,{"children":["$","$9",null,{"name":"Next.MetadataOutlet","children":"$@a"}]}]]}],{},null,false,false]},null,false,false],["$","$1","h",{"children":[null,["$","$Lb",null,{"children":"$Lc"}],["$","div",null,{"hidden":true,"children":["$","$Ld",null,{"children":["$","$9",null,{"name":"Next.Metadata","children":"$Le"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],false]],"m":"$undefined","G":["$f",[]],"S":true}
14
  6:{}
15
  7:"$0:f:0:1:1:children:0:props:children:0:props:serverProvidedParams:params"
16
  c:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]
__next._head.txt CHANGED
@@ -2,4 +2,4 @@
2
  2:I[97367,["/_next/static/chunks/2f236954d6a65e12.js"],"ViewportBoundary"]
3
  3:I[97367,["/_next/static/chunks/2f236954d6a65e12.js"],"MetadataBoundary"]
4
  4:"$Sreact.suspense"
5
- 0:{"buildId":"8Xo6db7R6V3KHGucdJovV","rsc":["$","$1","h",{"children":[null,["$","$L2",null,{"children":[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]}],["$","div",null,{"hidden":true,"children":["$","$L3",null,{"children":["$","$4",null,{"name":"Next.Metadata","children":[["$","title","0",{"children":"YOLO26 Rust WASM Demo"}],["$","meta","1",{"name":"description","content":"Browser-based object detection powered by Rust and WebAssembly"}]]}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],"loading":null,"isPartial":false}
 
2
  2:I[97367,["/_next/static/chunks/2f236954d6a65e12.js"],"ViewportBoundary"]
3
  3:I[97367,["/_next/static/chunks/2f236954d6a65e12.js"],"MetadataBoundary"]
4
  4:"$Sreact.suspense"
5
+ 0:{"buildId":"ZsJf_7rnwZ9CDNqs2HjYi","rsc":["$","$1","h",{"children":[null,["$","$L2",null,{"children":[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]}],["$","div",null,{"hidden":true,"children":["$","$L3",null,{"children":["$","$4",null,{"name":"Next.Metadata","children":[["$","title","0",{"children":"YOLO26 Rust WASM Demo"}],["$","meta","1",{"name":"description","content":"Browser-based object detection powered by Rust and WebAssembly"}]]}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],"loading":null,"isPartial":false}
__next._index.txt CHANGED
@@ -1,5 +1,5 @@
1
  1:"$Sreact.fragment"
2
  2:I[39756,["/_next/static/chunks/2f236954d6a65e12.js"],"default"]
3
  3:I[37457,["/_next/static/chunks/2f236954d6a65e12.js"],"default"]
4
- :HL["/_next/static/chunks/843c3cca5afc4244.css","style"]
5
- 0:{"buildId":"8Xo6db7R6V3KHGucdJovV","rsc":["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/843c3cca5afc4244.css","precedence":"next"}]],["$","html",null,{"lang":"en","children":["$","body",null,{"className":"geist_a71539c9-module__T19VSG__variable antialiased","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."}]}]]}]}]],[]]}]}]}]]}],"loading":null,"isPartial":false}
 
1
  1:"$Sreact.fragment"
2
  2:I[39756,["/_next/static/chunks/2f236954d6a65e12.js"],"default"]
3
  3:I[37457,["/_next/static/chunks/2f236954d6a65e12.js"],"default"]
4
+ :HL["/_next/static/chunks/5bd1f1e2e4e46abf.css","style"]
5
+ 0:{"buildId":"ZsJf_7rnwZ9CDNqs2HjYi","rsc":["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/5bd1f1e2e4e46abf.css","precedence":"next"}]],["$","html",null,{"lang":"en","children":["$","body",null,{"className":"geist_a71539c9-module__T19VSG__variable antialiased","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."}]}]]}]}]],[]]}]}]}]]}],"loading":null,"isPartial":false}
__next._tree.txt CHANGED
@@ -1,3 +1,3 @@
1
- :HL["/_next/static/chunks/843c3cca5afc4244.css","style"]
2
  :HL["/_next/static/media/caa3a2e1cccd8315-s.p.853070df.woff2","font",{"crossOrigin":"","type":"font/woff2"}]
3
- 0:{"buildId":"8Xo6db7R6V3KHGucdJovV","tree":{"name":"","paramType":null,"paramKey":"","hasRuntimePrefetch":false,"slots":{"children":{"name":"__PAGE__","paramType":null,"paramKey":"__PAGE__","hasRuntimePrefetch":false,"slots":null,"isRootLayout":false}},"isRootLayout":true},"staleTime":300}
 
1
+ :HL["/_next/static/chunks/5bd1f1e2e4e46abf.css","style"]
2
  :HL["/_next/static/media/caa3a2e1cccd8315-s.p.853070df.woff2","font",{"crossOrigin":"","type":"font/woff2"}]
3
+ 0:{"buildId":"ZsJf_7rnwZ9CDNqs2HjYi","tree":{"name":"","paramType":null,"paramKey":"","hasRuntimePrefetch":false,"slots":{"children":{"name":"__PAGE__","paramType":null,"paramKey":"__PAGE__","hasRuntimePrefetch":false,"slots":null,"isRootLayout":false}},"isRootLayout":true},"staleTime":300}
_next/static/{8Xo6db7R6V3KHGucdJovV → ZsJf_7rnwZ9CDNqs2HjYi}/_buildManifest.js RENAMED
File without changes
_next/static/{8Xo6db7R6V3KHGucdJovV → ZsJf_7rnwZ9CDNqs2HjYi}/_clientMiddlewareManifest.json RENAMED
File without changes
_next/static/{8Xo6db7R6V3KHGucdJovV → ZsJf_7rnwZ9CDNqs2HjYi}/_ssgManifest.js RENAMED
File without changes
_next/static/chunks/{843c3cca5afc4244.css → 5bd1f1e2e4e46abf.css} RENAMED
@@ -1,2 +1,2 @@
1
  @font-face{font-family:Geist;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/8a480f0b521d4e75-s.8e0177b5.woff2)format("woff2");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Geist;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/7178b3e590c64307-s.b97b3418.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Geist;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/caa3a2e1cccd8315-s.p.853070df.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Geist Fallback;src:local(Arial);ascent-override:95.94%;descent-override:28.16%;line-gap-override:0.0%;size-adjust:104.76%}.geist_a71539c9-module__T19VSG__className{font-family:Geist,Geist Fallback;font-style:normal}.geist_a71539c9-module__T19VSG__variable{--font-geist-sans:"Geist","Geist Fallback"}
2
- @layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial}}}@layer theme{:root,:host{--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-red-500:#fb2c36;--color-red-600:#e40014;--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-6xl:72rem;--font-weight-medium:500;--font-weight-semibold:600;--leading-tight:1.25;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--radius-2xl:1rem;--blur-sm:8px;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-geist-sans);--default-mono-font-family:var(--font-mono)}@supports (color:lab(0% 0 0)){:root,:host{--color-red-500:lab(55.4814% 75.0732 48.8528);--color-red-600:lab(48.4493% 77.4328 61.5452)}}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.pointer-events-none{pointer-events:none}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.inset-0{inset:calc(var(--spacing)*0)}.start{inset-inline-start:var(--spacing)}.top-3{top:calc(var(--spacing)*3)}.right-3{right:calc(var(--spacing)*3)}.bottom-3{bottom:calc(var(--spacing)*3)}.left-3{left:calc(var(--spacing)*3)}.z-50{z-index:50}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:48rem){.container{max-width:48rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:96rem){.container{max-width:96rem}}.mx-auto{margin-inline:auto}.mt-0\.5{margin-top:calc(var(--spacing)*.5)}.mt-1{margin-top:calc(var(--spacing)*1)}.mt-5{margin-top:calc(var(--spacing)*5)}.ml-1\.5{margin-left:calc(var(--spacing)*1.5)}.block{display:block}.flex{display:flex}.grid{display:grid}.inline-flex{display:inline-flex}.table{display:table}.h-1\.5{height:calc(var(--spacing)*1.5)}.h-2\.5{height:calc(var(--spacing)*2.5)}.h-8{height:calc(var(--spacing)*8)}.h-10{height:calc(var(--spacing)*10)}.h-\[100dvh\]{height:100dvh}.h-full{height:100%}.min-h-0{min-height:calc(var(--spacing)*0)}.min-h-\[280px\]{min-height:280px}.w-2\.5{width:calc(var(--spacing)*2.5)}.w-40{width:calc(var(--spacing)*40)}.max-w-6xl{max-width:var(--container-6xl)}.max-w-none{max-width:none}.min-w-0{min-width:calc(var(--spacing)*0)}.min-w-\[2\.5rem\]{min-width:2.5rem}.flex-1{flex:1}.shrink-0{flex-shrink:0}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.appearance-none{appearance:none}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-rows-\[1fr\]{grid-template-rows:1fr}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.justify-center{justify-content:center}.gap-3{gap:calc(var(--spacing)*3)}.gap-4{gap:calc(var(--spacing)*4)}.gap-5{gap:calc(var(--spacing)*5)}.gap-x-2\.5{column-gap:calc(var(--spacing)*2.5)}.gap-y-0\.5{row-gap:calc(var(--spacing)*.5)}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-sm{border-radius:var(--radius-sm)}.border{border-style:var(--tw-border-style);border-width:1px}.border-2{border-style:var(--tw-border-style);border-width:2px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-\[\#1a4a8f\]{border-color:#1a4a8f}.border-\[\#e2e6eb\]{border-color:#e2e6eb}.border-\[\#e2e6eb\]\/60{border-color:#e2e6eb99;border-color:lab(91.0913% -.706077 -2.93309/.6)}.bg-\[\#1a4a8f\]{background-color:#1a4a8f}.bg-\[\#1a4a8f\]\/5{background-color:#1a4a8f0d;background-color:lab(31.3565% 4.63174 -43.6598/.05)}.bg-\[\#1a4a8f\]\/8{background-color:#1a4a8f14;background-color:lab(31.3565% 4.63174 -43.6598/.08)}.bg-\[\#e2e6eb\]{background-color:#e2e6eb}.bg-\[\#f4f6f8\]{background-color:#f4f6f8}.bg-black\/50{background-color:#00000080}@supports (color:color-mix(in lab, red, red)){.bg-black\/50{background-color:color-mix(in oklab,var(--color-black)50%,transparent)}}.bg-black\/70{background-color:#000000b3}@supports (color:color-mix(in lab, red, red)){.bg-black\/70{background-color:color-mix(in oklab,var(--color-black)70%,transparent)}}.bg-red-500\/10{background-color:#fb2c361a}@supports (color:color-mix(in lab, red, red)){.bg-red-500\/10{background-color:color-mix(in oklab,var(--color-red-500)10%,transparent)}}.bg-white{background-color:var(--color-white)}.p-8{padding:calc(var(--spacing)*8)}.px-2{padding-inline:calc(var(--spacing)*2)}.px-2\.5{padding-inline:calc(var(--spacing)*2.5)}.px-4{padding-inline:calc(var(--spacing)*4)}.px-5{padding-inline:calc(var(--spacing)*5)}.px-6{padding-inline:calc(var(--spacing)*6)}.py-1{padding-block:calc(var(--spacing)*1)}.py-2{padding-block:calc(var(--spacing)*2)}.py-2\.5{padding-block:calc(var(--spacing)*2.5)}.py-6{padding-block:calc(var(--spacing)*6)}.py-8{padding-block:calc(var(--spacing)*8)}.pl-5{padding-left:calc(var(--spacing)*5)}.text-\[11px\]{font-size:11px}.text-\[12px\]{font-size:12px}.text-\[13px\]{font-size:13px}.text-\[14px\]{font-size:14px}.text-\[15px\]{font-size:15px}.text-\[28px\]{font-size:28px}.leading-tight{--tw-leading:var(--leading-tight);line-height:var(--leading-tight)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.text-\[\#0e1726\]{color:#0e1726}.text-\[\#0e1726\]\/70{color:#0e1726b3;color:lab(7.49225% -.0406578 -11.7717/.7)}.text-\[\#1a4a8f\]{color:#1a4a8f}.text-\[\#6b7a8d\]{color:#6b7a8d}.text-\[\#6b7a8d\]\/50{color:#6b7a8d80;color:lab(50.4969% -2.37131 -12.326/.5)}.text-\[\#6b7a8d\]\/60{color:#6b7a8d99;color:lab(50.4969% -2.37131 -12.326/.6)}.text-\[\#6b7a8d\]\/70{color:#6b7a8db3;color:lab(50.4969% -2.37131 -12.326/.7)}.text-red-600{color:var(--color-red-600)}.text-white{color:var(--color-white)}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal,)var(--tw-slashed-zero,)var(--tw-numeric-figure,)var(--tw-numeric-spacing,)var(--tw-numeric-fraction,)}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.accent-\[\#1a4a8f\]{accent-color:#1a4a8f}.opacity-0{opacity:0}.backdrop-blur-sm{--tw-backdrop-blur:blur(var(--blur-sm));-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}@media (hover:hover){.group-hover\:opacity-100:is(:where(.group):hover *){opacity:1}}.last\:border-b-0:last-child{border-bottom-style:var(--tw-border-style);border-bottom-width:0}@media (hover:hover){.hover\:bg-\[\#15407d\]:hover{background-color:#15407d}}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-50:disabled{opacity:.5}@media (min-width:40rem){.sm\:px-10{padding-inline:calc(var(--spacing)*10)}.sm\:py-10{padding-block:calc(var(--spacing)*10)}.sm\:text-\[36px\]{font-size:36px}}@media (min-width:64rem){.lg\:grid-cols-\[1fr_320px\]{grid-template-columns:1fr 320px}}}:root{--background:#fff;--foreground:#0e1726;--secondary:#6b7a8d;--surface:#f4f6f8;--border:#e2e6eb;--accent:#1a4a8f}body{background:var(--background);color:var(--foreground);font-family:var(--font-geist-sans),-apple-system,BlinkMacSystemFont,sans-serif;-webkit-font-smoothing:antialiased}::-webkit-scrollbar{width:5px}::-webkit-scrollbar-track{background:0 0}::-webkit-scrollbar-thumb{background:#c8cdd3;border-radius:3px}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}
 
1
  @font-face{font-family:Geist;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/8a480f0b521d4e75-s.8e0177b5.woff2)format("woff2");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Geist;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/7178b3e590c64307-s.b97b3418.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Geist;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/caa3a2e1cccd8315-s.p.853070df.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Geist Fallback;src:local(Arial);ascent-override:95.94%;descent-override:28.16%;line-gap-override:0.0%;size-adjust:104.76%}.geist_a71539c9-module__T19VSG__className{font-family:Geist,Geist Fallback;font-style:normal}.geist_a71539c9-module__T19VSG__variable{--font-geist-sans:"Geist","Geist Fallback"}
2
+ @layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial}}}@layer theme{:root,:host{--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-red-500:#fb2c36;--color-red-600:#e40014;--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-6xl:72rem;--font-weight-medium:500;--font-weight-semibold:600;--leading-tight:1.25;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--radius-2xl:1rem;--blur-sm:8px;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-geist-sans);--default-mono-font-family:var(--font-mono)}@supports (color:lab(0% 0 0)){:root,:host{--color-red-500:lab(55.4814% 75.0732 48.8528);--color-red-600:lab(48.4493% 77.4328 61.5452)}}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.pointer-events-none{pointer-events:none}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.inset-0{inset:calc(var(--spacing)*0)}.start{inset-inline-start:var(--spacing)}.top-3{top:calc(var(--spacing)*3)}.right-3{right:calc(var(--spacing)*3)}.bottom-3{bottom:calc(var(--spacing)*3)}.left-3{left:calc(var(--spacing)*3)}.z-50{z-index:50}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:48rem){.container{max-width:48rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:96rem){.container{max-width:96rem}}.mx-auto{margin-inline:auto}.mt-0\.5{margin-top:calc(var(--spacing)*.5)}.mt-1{margin-top:calc(var(--spacing)*1)}.mt-5{margin-top:calc(var(--spacing)*5)}.ml-1\.5{margin-left:calc(var(--spacing)*1.5)}.block{display:block}.flex{display:flex}.grid{display:grid}.inline-flex{display:inline-flex}.h-1\.5{height:calc(var(--spacing)*1.5)}.h-2\.5{height:calc(var(--spacing)*2.5)}.h-10{height:calc(var(--spacing)*10)}.h-\[100dvh\]{height:100dvh}.h-full{height:100%}.min-h-0{min-height:calc(var(--spacing)*0)}.min-h-\[280px\]{min-height:280px}.w-2\.5{width:calc(var(--spacing)*2.5)}.w-40{width:calc(var(--spacing)*40)}.max-w-6xl{max-width:var(--container-6xl)}.max-w-none{max-width:none}.min-w-0{min-width:calc(var(--spacing)*0)}.min-w-\[2\.5rem\]{min-width:2.5rem}.flex-1{flex:1}.shrink-0{flex-shrink:0}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.appearance-none{appearance:none}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-rows-\[1fr\]{grid-template-rows:1fr}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.justify-center{justify-content:center}.gap-3{gap:calc(var(--spacing)*3)}.gap-4{gap:calc(var(--spacing)*4)}.gap-5{gap:calc(var(--spacing)*5)}.gap-x-2\.5{column-gap:calc(var(--spacing)*2.5)}.gap-y-0\.5{row-gap:calc(var(--spacing)*.5)}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-sm{border-radius:var(--radius-sm)}.border{border-style:var(--tw-border-style);border-width:1px}.border-2{border-style:var(--tw-border-style);border-width:2px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-\[\#1a4a8f\]{border-color:#1a4a8f}.border-\[\#e2e6eb\]{border-color:#e2e6eb}.border-\[\#e2e6eb\]\/60{border-color:#e2e6eb99;border-color:lab(91.0913% -.706077 -2.93309/.6)}.bg-\[\#1a4a8f\]{background-color:#1a4a8f}.bg-\[\#1a4a8f\]\/5{background-color:#1a4a8f0d;background-color:lab(31.3565% 4.63174 -43.6598/.05)}.bg-\[\#1a4a8f\]\/8{background-color:#1a4a8f14;background-color:lab(31.3565% 4.63174 -43.6598/.08)}.bg-\[\#e2e6eb\]{background-color:#e2e6eb}.bg-\[\#f4f6f8\]{background-color:#f4f6f8}.bg-black\/50{background-color:#00000080}@supports (color:color-mix(in lab, red, red)){.bg-black\/50{background-color:color-mix(in oklab,var(--color-black)50%,transparent)}}.bg-black\/70{background-color:#000000b3}@supports (color:color-mix(in lab, red, red)){.bg-black\/70{background-color:color-mix(in oklab,var(--color-black)70%,transparent)}}.bg-red-500\/10{background-color:#fb2c361a}@supports (color:color-mix(in lab, red, red)){.bg-red-500\/10{background-color:color-mix(in oklab,var(--color-red-500)10%,transparent)}}.bg-white{background-color:var(--color-white)}.p-8{padding:calc(var(--spacing)*8)}.px-2\.5{padding-inline:calc(var(--spacing)*2.5)}.px-3{padding-inline:calc(var(--spacing)*3)}.px-4{padding-inline:calc(var(--spacing)*4)}.px-5{padding-inline:calc(var(--spacing)*5)}.px-6{padding-inline:calc(var(--spacing)*6)}.py-1{padding-block:calc(var(--spacing)*1)}.py-2{padding-block:calc(var(--spacing)*2)}.py-2\.5{padding-block:calc(var(--spacing)*2.5)}.py-6{padding-block:calc(var(--spacing)*6)}.py-8{padding-block:calc(var(--spacing)*8)}.pl-5{padding-left:calc(var(--spacing)*5)}.text-\[11px\]{font-size:11px}.text-\[12px\]{font-size:12px}.text-\[13px\]{font-size:13px}.text-\[14px\]{font-size:14px}.text-\[15px\]{font-size:15px}.text-\[28px\]{font-size:28px}.leading-tight{--tw-leading:var(--leading-tight);line-height:var(--leading-tight)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.text-\[\#0e1726\]{color:#0e1726}.text-\[\#0e1726\]\/70{color:#0e1726b3;color:lab(7.49225% -.0406578 -11.7717/.7)}.text-\[\#1a4a8f\]{color:#1a4a8f}.text-\[\#6b7a8d\]{color:#6b7a8d}.text-\[\#6b7a8d\]\/50{color:#6b7a8d80;color:lab(50.4969% -2.37131 -12.326/.5)}.text-\[\#6b7a8d\]\/60{color:#6b7a8d99;color:lab(50.4969% -2.37131 -12.326/.6)}.text-\[\#6b7a8d\]\/70{color:#6b7a8db3;color:lab(50.4969% -2.37131 -12.326/.7)}.text-red-600{color:var(--color-red-600)}.text-white{color:var(--color-white)}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal,)var(--tw-slashed-zero,)var(--tw-numeric-figure,)var(--tw-numeric-spacing,)var(--tw-numeric-fraction,)}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.accent-\[\#1a4a8f\]{accent-color:#1a4a8f}.opacity-0{opacity:0}.backdrop-blur-sm{--tw-backdrop-blur:blur(var(--blur-sm));-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}@media (hover:hover){.group-hover\:opacity-100:is(:where(.group):hover *){opacity:1}}.last\:border-b-0:last-child{border-bottom-style:var(--tw-border-style);border-bottom-width:0}@media (hover:hover){.hover\:border-\[\#1a4a8f\]:hover{border-color:#1a4a8f}.hover\:bg-\[\#15407d\]:hover{background-color:#15407d}}.focus\:border-\[\#1a4a8f\]:focus{border-color:#1a4a8f}.focus\:outline-none:focus{--tw-outline-style:none;outline-style:none}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-50:disabled{opacity:.5}@media (min-width:40rem){.sm\:px-10{padding-inline:calc(var(--spacing)*10)}.sm\:py-10{padding-block:calc(var(--spacing)*10)}.sm\:text-\[36px\]{font-size:36px}}@media (min-width:64rem){.lg\:grid-cols-\[1fr_320px\]{grid-template-columns:1fr 320px}}}:root{--background:#fff;--foreground:#0e1726;--secondary:#6b7a8d;--surface:#f4f6f8;--border:#e2e6eb;--accent:#1a4a8f}body{background:var(--background);color:var(--foreground);font-family:var(--font-geist-sans),-apple-system,BlinkMacSystemFont,sans-serif;-webkit-font-smoothing:antialiased}::-webkit-scrollbar{width:5px}::-webkit-scrollbar-track{background:0 0}::-webkit-scrollbar-thumb{background:#c8cdd3;border-radius:3px}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}
_next/static/chunks/{105c910eb5584b4f.js → e1018b2232cde00e.js} RENAMED
@@ -1 +1 @@
1
- (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,98716,(e,t,s)=>{let o=null;self.onmessage=async e=>{let t=e.data;if("init"===t.type)try{self.postMessage({type:"init:progress",stage:"wasm",message:"Loading WASM module..."});let e=self.location.origin,s=`${e}/wasm/yolo26_rust_wasm_bg.wasm`,r=`${e}/wasm/yolo26_rust_wasm.js`,i=await Function("url","return import(url)")(r),a=await fetch(s),l=await a.arrayBuffer();i.initSync({module:l}),o=i,self.postMessage({type:"init:progress",stage:"model",message:"Initializing model..."});let n=new Uint8Array(t.weightsBuffer);i.init_model(n,t.modelSize);let g=parseFloat((n.length/1e6).toFixed(1));self.postMessage({type:"init:done",modelSizeMB:g})}catch(e){self.postMessage({type:"init:error",error:String(e)})}if("detect"===t.type)try{let e=o.detect(t.pixels,t.width,t.height,t.confidenceThreshold);self.postMessage({type:"detect:done",resultJson:e})}catch(e){self.postMessage({type:"detect:error",error:String(e)})}}}]);
 
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,98716,(e,t,s)=>{let o=null;self.onmessage=async e=>{let t=e.data;if("init"===t.type)try{self.postMessage({type:"init:progress",stage:"wasm",message:"Loading WASM module..."});let e=self.location.origin,s=`${e}/wasm/yolo26_rust_wasm_bg.wasm`,r=`${e}/wasm/yolo26_rust_wasm.js`,i=await Function("url","return import(url)")(r),a=await fetch(s),l=await a.arrayBuffer();i.initSync({module:l}),o=i,self.postMessage({type:"init:progress",stage:"model",message:"Initializing model..."});let n=new Uint8Array(t.weightsBuffer);i.init_model(n,t.modelName);let g=parseFloat((n.length/1e6).toFixed(1));self.postMessage({type:"init:done",modelSizeMB:g})}catch(e){self.postMessage({type:"init:error",error:String(e)})}if("detect"===t.type)try{let e=o.detect(t.pixels,t.width,t.height,t.confidenceThreshold);self.postMessage({type:"detect:done",resultJson:e})}catch(e){self.postMessage({type:"detect:error",error:String(e)})}}}]);
_next/static/chunks/{bfbe13159f1fe460.js → ffbf2fb290abbae1.js} RENAMED
@@ -1 +1 @@
1
- (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,13884,e=>{e.v("/_next/static/media/inference.worker.469ec9ab.ts")},80258,e=>{e.v(e.b(["static/chunks/105c910eb5584b4f.js","static/chunks/turbopack-09ceffba877fd3f9.js"]))},52683,e=>{"use strict";var t=e.i(43476),r=e.i(71645);function s({status:e,message:r}){return(0,t.jsx)("div",{className:`min-w-0 flex-1 truncate rounded-lg px-4 py-2 text-[13px] font-medium transition-colors ${"error"===e?"bg-red-500/10 text-red-600":"ready"===e?"bg-[#1a4a8f]/8 text-[#1a4a8f]":"bg-[#f4f6f8] text-[#6b7a8d]"}`,title:r,children:r})}function a({onImageSelected:e,isDisabled:s}){let a=(0,r.useRef)(null),n=(0,r.useCallback)(t=>{t.type.startsWith("image/")&&e(t)},[e]);return(0,t.jsxs)("label",{className:`inline-flex shrink-0 cursor-pointer items-center rounded-full px-5 py-2 text-[14px] font-semibold transition-colors ${s?"cursor-not-allowed bg-[#e2e6eb] text-[#6b7a8d]/50":"bg-[#1a4a8f] text-white hover:bg-[#15407d]"}`,children:["Select Image",(0,t.jsx)("input",{ref:a,type:"file",accept:"image/*",disabled:s,className:"sr-only",onChange:e=>{let t=e.target.files?.[0];t&&n(t)}})]})}function n({value:e,onChange:r}){return(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[(0,t.jsx)("label",{htmlFor:"conf-slider",className:"text-[14px] font-medium text-[#0e1726]/70",children:"Confidence"}),(0,t.jsx)("input",{id:"conf-slider",type:"range",min:"0.05",max:"1.0",step:"0.05",value:e,onChange:e=>r(parseFloat(e.target.value)),className:"h-1.5 w-40 cursor-pointer appearance-none rounded-full bg-[#e2e6eb] accent-[#1a4a8f]"}),(0,t.jsx)("span",{className:"min-w-[2.5rem] text-[14px] tabular-nums text-[#6b7a8d]",children:e.toFixed(2)})]})}function i(e){return`hsl(${137.5*e%360}, 70%, 50%)`}function l(e,t,r,s,a,n){let l=e.getContext("2d");if(!l)return 0;let o=t.naturalWidth,d=t.naturalHeight,c=void 0!==a&&void 0!==n,u=a??o,m=n??d;if(c){let t=window.devicePixelRatio||1;e.width=Math.round(u*t),e.height=Math.round(m*t),e.style.width=`${u}px`,e.style.height=`${m}px`,l.setTransform(t,0,0,t,0,0)}else e.width=u,e.height=m,l.setTransform(1,0,0,1,0,0);l.drawImage(t,0,0,u,m);let x=u/o,h=m/d,f=r.filter(e=>e.confidence>=s);for(let e of f){var p;let t,r=e.x*x,s=e.y*h,a=e.width*x,n=e.height*h,o=i(e.class_id);p=e.class_id,l.fillStyle=`hsla(${137.5*p%360}, 70%, 50%, 0.15)`,l.fillRect(r,s,a,n),l.strokeStyle=o,l.lineWidth=2,l.strokeRect(r,s,a,n);let d=`${e.class_name} ${(100*e.confidence).toFixed(0)}%`;l.font="bold 14px 'Geist Sans', -apple-system, sans-serif";let c=l.measureText(d).width+10;t=s-20-2>=0?s-6:s+20-1;let m=r;m+c>u&&(m=u-c),m<0&&(m=0),l.fillStyle=o,l.fillRect(m,t-15,c,20),l.fillStyle="#fff",l.fillText(d,m+5,t)}return f.length}function o({image:e,detections:s,confidenceThreshold:a}){let n=(0,r.useRef)(null),i=(0,r.useRef)(null),[o,d]=(0,r.useState)(!1),[c,u]=(0,r.useState)("");(0,r.useEffect)(()=>{if(!n.current||!i.current||!e)return;let t=()=>{let t=i.current,r=n.current;if(!t||!r)return;let o=t.clientWidth,d=t.clientHeight;if(o<=0||d<=0)return;let c=e.naturalWidth,u=e.naturalHeight,m=Math.min(o/c,d/u,1);l(r,e,s,a,Math.round(c*m),Math.round(u*m))};t();let r=new ResizeObserver(t);return r.observe(i.current),()=>r.disconnect()},[e,s,a]);let m=(0,r.useCallback)(()=>{if(!e)return;let t=document.createElement("canvas");l(t,e,s,a),u(t.toDataURL("image/png")),d(!0)},[e,s,a]);return((0,r.useEffect)(()=>{if(!o)return;let e=e=>{"Escape"===e.key&&d(!1)};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)},[o]),e)?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{ref:i,className:"group relative flex h-full cursor-pointer items-center justify-center overflow-hidden rounded-2xl border border-[#e2e6eb] bg-[#f4f6f8]",onClick:m,children:[(0,t.jsx)("canvas",{ref:n,className:"block"}),(0,t.jsxs)("span",{className:"pointer-events-none absolute top-3 left-3 rounded-md bg-black/50 px-2.5 py-1 text-[12px] tabular-nums font-medium text-white opacity-0 transition-opacity group-hover:opacity-100",children:[e.naturalWidth,"×",e.naturalHeight]}),(0,t.jsx)("span",{className:"pointer-events-none absolute bottom-3 right-3 rounded-md bg-black/50 px-2.5 py-1 text-[12px] font-medium text-white opacity-0 transition-opacity group-hover:opacity-100",children:"Click for full resolution"})]}),o&&(0,t.jsx)("div",{className:"fixed inset-0 z-50 overflow-auto bg-black/70 p-8 backdrop-blur-sm",onClick:()=>d(!1),children:(0,t.jsx)("img",{src:c,alt:"Full resolution detection result",className:"mx-auto max-w-none",onClick:e=>e.stopPropagation()})})]}):null}function d({detections:e,confidenceThreshold:r,inferenceTimeMs:s}){let a=e.filter(e=>e.confidence>=r),n=e.length>0;return(0,t.jsxs)("div",{className:"flex h-full flex-col overflow-hidden rounded-2xl border border-[#e2e6eb] bg-white",children:[(0,t.jsx)("div",{className:"shrink-0 border-b border-[#e2e6eb] px-4 py-2.5",children:n?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("span",{className:"text-[14px] font-semibold text-[#0e1726]",children:[a.length," object",1!==a.length?"s":""]}),(0,t.jsxs)("span",{className:"ml-1.5 text-[12px] text-[#6b7a8d]/60",children:[s.toFixed(0),"ms"]})]}):(0,t.jsx)("span",{className:"text-[14px] font-semibold text-[#6b7a8d]/60",children:"Detections"})}),(0,t.jsx)("div",{className:"min-h-0 flex-1 overflow-y-auto",children:n?a.map((e,r)=>(0,t.jsxs)("div",{className:"border-b border-[#e2e6eb]/60 px-4 py-2 last:border-b-0",children:[(0,t.jsxs)("div",{className:"flex flex-wrap items-center gap-x-2.5 gap-y-0.5",children:[(0,t.jsx)("span",{className:"h-2.5 w-2.5 shrink-0 rounded-sm",style:{backgroundColor:i(e.class_id)}}),(0,t.jsx)("span",{className:"text-[14px] font-medium text-[#0e1726]",children:e.class_name}),(0,t.jsxs)("span",{className:"text-[14px] tabular-nums text-[#6b7a8d]",children:[(100*e.confidence).toFixed(1),"%"]})]}),(0,t.jsxs)("div",{className:"mt-0.5 pl-5 text-[11px] tabular-nums text-[#6b7a8d]/70",children:["(",Math.round(e.x),", ",Math.round(e.y),") ",Math.round(e.width),"×",Math.round(e.height)]})]},r)):(0,t.jsx)("div",{className:"flex h-full items-center justify-center px-4 py-8 text-[13px] text-[#6b7a8d]/60",children:"Select an image to detect objects"})})]})}let c={n:"Nano (n)",s:"Small (s)",m:"Medium (m)",l:"Large (l)",x:"XLarge (x)"},u=["n","s","m","l","x"];function m({value:e,onChange:r,isDisabled:s}){return(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[(0,t.jsx)("label",{htmlFor:"model-size",className:"text-[14px] font-medium text-[#0e1726]/70",children:"Model"}),(0,t.jsx)("select",{id:"model-size",value:e,onChange:e=>r(e.target.value),disabled:s,className:"h-8 rounded-md border border-[#e2e6eb] bg-white px-2 text-[14px] text-[#0e1726] disabled:cursor-not-allowed disabled:opacity-50",children:u.map(e=>(0,t.jsx)("option",{value:e,children:c[e]},e))})]})}class x{worker=null;async initialize(t,r){return new Promise((s,a)=>{this.worker?.terminate(),this.worker=new Worker(e.r(80258)),r?.("weights",`Fetching yolo26${t} weights...`),fetch(`/weights/yolo26${t}.safetensors`).then(e=>{if(!e.ok)throw Error(`HTTP ${e.status}: ${e.statusText}`);return e.arrayBuffer()}).then(e=>{if(!this.worker)throw Error("Worker terminated");this.worker.onmessage=e=>{let t=e.data;"init:progress"===t.type?r?.(t.stage,t.message):"init:done"===t.type?s(t.modelSizeMB):"init:error"===t.type&&a(Error(t.error))},this.worker.onerror=e=>a(e),this.worker.postMessage({type:"init",weightsBuffer:e,modelSize:t},[e])}).catch(a)})}async detect(e,t,r,s){return new Promise((a,n)=>{this.worker?(this.worker.onmessage=e=>{let t=e.data;"detect:done"===t.type?a(JSON.parse(t.resultJson)):"detect:error"===t.type&&n(Error(t.error))},this.worker.postMessage({type:"detect",pixels:e,width:t,height:r,confidenceThreshold:s},[e.buffer])):n(Error("Worker not initialized"))})}terminate(){this.worker?.terminate(),this.worker=null}}function h(){let[e,i]=(0,r.useState)("n"),[l,c]=(0,r.useState)("idle"),[u,h]=(0,r.useState)("Loading..."),[p,b]=(0,r.useState)(null),[g,w]=(0,r.useState)(null),[j,y]=(0,r.useState)(.25),v=(0,r.useRef)(null),k=(0,r.useCallback)(e=>{let t=v.current??new x;v.current=t,w(null),c("idle"),t.initialize(e,(e,t)=>{h(t),"weights"===e?c("loading-weights"):"wasm"===e?c("loading-wasm"):"model"===e&&c("initializing-model")}).then(t=>{c("ready"),h(`YOLO26${e} loaded (${t} MB). Select or drop an image to detect objects.`)}).catch(e=>{c("error"),h(`Failed to load model: ${e}`)})},[]);(0,r.useEffect)(()=>(k(e),()=>v.current?.terminate()),[]);let N=(0,r.useCallback)(e=>{i(e),k(e)},[k]),S=(0,r.useCallback)(async e=>{if("ready"!==l||!v.current)return;let t=await createImageBitmap(e),r=t.width,s=t.height;if(r>4096||s>4096){let e=4096/Math.max(r,s);r=Math.round(r*e),s=Math.round(s*e)}let a=document.createElement("canvas");a.width=r,a.height=s;let n=a.getContext("2d");if(!n)return void t.close();n.drawImage(t,0,0,r,s),t.close();let i=new Uint8Array(n.getImageData(0,0,r,s).data.buffer);b(await new Promise(e=>{a.toBlob(t=>{let r=new Image;r.onload=()=>{URL.revokeObjectURL(r.src),e(r)},r.src=URL.createObjectURL(t)},"image/jpeg",.92)})),c("detecting"),h("Detecting objects..."),v.current.detect(i,r,s,0).then(e=>{w(e);let t=e.detections.filter(e=>e.confidence>=j).length;c("ready"),h(`${t} object${1!==t?"s":""} detected in ${e.inference_time_ms.toFixed(0)}ms`)}).catch(e=>{c("error"),h(`Detection failed: ${e}`)})},[l,j]),$=(0,r.useCallback)(e=>{if(y(e),g){let t=g.detections.filter(t=>t.confidence>=e).length;h(`${t} object${1!==t?"s":""} detected in ${g.inference_time_ms.toFixed(0)}ms`)}},[g]),C="ready"!==l;return(0,t.jsxs)("main",{className:"mx-auto flex h-[100dvh] max-w-6xl flex-col px-6 py-6 sm:px-10 sm:py-10",children:[(0,t.jsxs)("div",{className:"shrink-0",children:[(0,t.jsxs)("h1",{className:"text-[28px] font-semibold leading-tight text-[#0e1726] sm:text-[36px]",children:["YOLO26 ",(0,t.jsx)("span",{className:"text-[#1a4a8f]",children:"Rust WASM"})]}),(0,t.jsx)("p",{className:"mt-1 text-[15px] text-[#6b7a8d]",children:"Browser-based object detection powered by Rust and WebAssembly"})]}),(0,t.jsxs)("div",{className:"mt-5 flex h-10 shrink-0 items-center gap-4",children:[(0,t.jsx)(s,{status:l,message:u}),(0,t.jsx)(m,{value:e,onChange:N,isDisabled:C}),(0,t.jsx)(a,{onImageSelected:S,isDisabled:C}),(0,t.jsx)(n,{value:j,onChange:$})]}),(0,t.jsxs)("div",{className:"mt-5 grid min-h-0 flex-1 grid-cols-1 grid-rows-[1fr] gap-5 lg:grid-cols-[1fr_320px]",children:[(0,t.jsx)("div",{className:"min-h-0 overflow-hidden",children:p?(0,t.jsx)(o,{image:p,detections:g?.detections??[],confidenceThreshold:j}):(0,t.jsx)(f,{onImageSelected:S,isDisabled:C})}),(0,t.jsx)(d,{detections:g?.detections??[],confidenceThreshold:j,inferenceTimeMs:g?.inference_time_ms??0})]})]})}function f({onImageSelected:e,isDisabled:s}){let[a,n]=(0,r.useState)(!1);return(0,t.jsx)("div",{onDragOver:e=>{e.preventDefault(),s||n(!0)},onDragLeave:()=>n(!1),onDrop:t=>{if(t.preventDefault(),n(!1),s)return;let r=t.dataTransfer.files[0];r?.type.startsWith("image/")&&e(r)},className:`flex h-full min-h-[280px] items-center justify-center rounded-2xl border-2 border-dashed text-[15px] transition-colors ${a?"border-[#1a4a8f] bg-[#1a4a8f]/5 text-[#1a4a8f]":"border-[#e2e6eb] text-[#6b7a8d]"}`,children:"Drop an image here to get started"})}e.s(["default",()=>h],52683)}]);
 
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,13884,e=>{e.v("/_next/static/media/inference.worker.40b201dc.ts")},80258,e=>{e.v(e.b(["static/chunks/e1018b2232cde00e.js","static/chunks/turbopack-f6e3ddd487cb4003.js"]))},52683,e=>{"use strict";var t=e.i(43476),r=e.i(71645);function s({status:e,message:r}){return(0,t.jsx)("div",{className:`min-w-0 flex-1 truncate rounded-lg px-4 py-2 text-[13px] font-medium transition-colors ${"error"===e?"bg-red-500/10 text-red-600":"ready"===e?"bg-[#1a4a8f]/8 text-[#1a4a8f]":"bg-[#f4f6f8] text-[#6b7a8d]"}`,title:r,children:r})}function n({onImageSelected:e,isDisabled:s}){let n=(0,r.useRef)(null),a=(0,r.useCallback)(t=>{t.type.startsWith("image/")&&e(t)},[e]);return(0,t.jsxs)("label",{className:`inline-flex shrink-0 cursor-pointer items-center rounded-full px-5 py-2 text-[14px] font-semibold transition-colors ${s?"cursor-not-allowed bg-[#e2e6eb] text-[#6b7a8d]/50":"bg-[#1a4a8f] text-white hover:bg-[#15407d]"}`,children:["Select Image",(0,t.jsx)("input",{ref:n,type:"file",accept:"image/*",disabled:s,className:"sr-only",onChange:e=>{let t=e.target.files?.[0];t&&a(t)}})]})}function a({value:e,onChange:r}){return(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[(0,t.jsx)("label",{htmlFor:"conf-slider",className:"text-[14px] font-medium text-[#0e1726]/70",children:"Confidence"}),(0,t.jsx)("input",{id:"conf-slider",type:"range",min:"0.05",max:"1.0",step:"0.05",value:e,onChange:e=>r(parseFloat(e.target.value)),className:"h-1.5 w-40 cursor-pointer appearance-none rounded-full bg-[#e2e6eb] accent-[#1a4a8f]"}),(0,t.jsx)("span",{className:"min-w-[2.5rem] text-[14px] tabular-nums text-[#6b7a8d]",children:e.toFixed(2)})]})}function i(e){return`hsl(${137.5*e%360}, 70%, 50%)`}function l(e,t,r,s,n,a){let l=e.getContext("2d");if(!l)return 0;let o=t.naturalWidth,d=t.naturalHeight,c=void 0!==n&&void 0!==a,u=n??o,h=a??d;if(c){let t=window.devicePixelRatio||1;e.width=Math.round(u*t),e.height=Math.round(h*t),e.style.width=`${u}px`,e.style.height=`${h}px`,l.setTransform(t,0,0,t,0,0)}else e.width=u,e.height=h,l.setTransform(1,0,0,1,0,0);l.drawImage(t,0,0,u,h);let x=u/o,m=h/d,f=r.filter(e=>e.confidence>=s);for(let e of f){var p;let t,r=e.x*x,s=e.y*m,n=e.width*x,a=e.height*m,o=i(e.class_id);p=e.class_id,l.fillStyle=`hsla(${137.5*p%360}, 70%, 50%, 0.15)`,l.fillRect(r,s,n,a),l.strokeStyle=o,l.lineWidth=2,l.strokeRect(r,s,n,a);let d=`${e.class_name} ${(100*e.confidence).toFixed(0)}%`;l.font="bold 14px 'Geist Sans', -apple-system, sans-serif";let c=l.measureText(d).width+10;t=s-20-2>=0?s-6:s+20-1;let h=r;h+c>u&&(h=u-c),h<0&&(h=0),l.fillStyle=o,l.fillRect(h,t-15,c,20),l.fillStyle="#fff",l.fillText(d,h+5,t)}return f.length}function o({image:e,detections:s,confidenceThreshold:n}){let a=(0,r.useRef)(null),i=(0,r.useRef)(null),[o,d]=(0,r.useState)(!1),[c,u]=(0,r.useState)("");(0,r.useEffect)(()=>{if(!a.current||!i.current||!e)return;let t=()=>{let t=i.current,r=a.current;if(!t||!r)return;let o=t.clientWidth,d=t.clientHeight;if(o<=0||d<=0)return;let c=e.naturalWidth,u=e.naturalHeight,h=Math.min(o/c,d/u,1);l(r,e,s,n,Math.round(c*h),Math.round(u*h))};t();let r=new ResizeObserver(t);return r.observe(i.current),()=>r.disconnect()},[e,s,n]);let h=(0,r.useCallback)(()=>{if(!e)return;let t=document.createElement("canvas");l(t,e,s,n),u(t.toDataURL("image/png")),d(!0)},[e,s,n]);return((0,r.useEffect)(()=>{if(!o)return;let e=e=>{"Escape"===e.key&&d(!1)};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)},[o]),e)?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{ref:i,className:"group relative flex h-full cursor-pointer items-center justify-center overflow-hidden rounded-2xl border border-[#e2e6eb] bg-[#f4f6f8]",onClick:h,children:[(0,t.jsx)("canvas",{ref:a,className:"block"}),(0,t.jsxs)("span",{className:"pointer-events-none absolute top-3 left-3 rounded-md bg-black/50 px-2.5 py-1 text-[12px] tabular-nums font-medium text-white opacity-0 transition-opacity group-hover:opacity-100",children:[e.naturalWidth,"×",e.naturalHeight]}),(0,t.jsx)("span",{className:"pointer-events-none absolute bottom-3 right-3 rounded-md bg-black/50 px-2.5 py-1 text-[12px] font-medium text-white opacity-0 transition-opacity group-hover:opacity-100",children:"Click for full resolution"})]}),o&&(0,t.jsx)("div",{className:"fixed inset-0 z-50 overflow-auto bg-black/70 p-8 backdrop-blur-sm",onClick:()=>d(!1),children:(0,t.jsx)("img",{src:c,alt:"Full resolution detection result",className:"mx-auto max-w-none",onClick:e=>e.stopPropagation()})})]}):null}function d({detections:e,confidenceThreshold:r,inferenceTimeMs:s}){let n=e.filter(e=>e.confidence>=r),a=e.length>0;return(0,t.jsxs)("div",{className:"flex h-full flex-col overflow-hidden rounded-2xl border border-[#e2e6eb] bg-white",children:[(0,t.jsx)("div",{className:"shrink-0 border-b border-[#e2e6eb] px-4 py-2.5",children:a?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("span",{className:"text-[14px] font-semibold text-[#0e1726]",children:[n.length," object",1!==n.length?"s":""]}),(0,t.jsxs)("span",{className:"ml-1.5 text-[12px] text-[#6b7a8d]/60",children:[s.toFixed(0),"ms"]})]}):(0,t.jsx)("span",{className:"text-[14px] font-semibold text-[#6b7a8d]/60",children:"Detections"})}),(0,t.jsx)("div",{className:"min-h-0 flex-1 overflow-y-auto",children:a?n.map((e,r)=>(0,t.jsxs)("div",{className:"border-b border-[#e2e6eb]/60 px-4 py-2 last:border-b-0",children:[(0,t.jsxs)("div",{className:"flex flex-wrap items-center gap-x-2.5 gap-y-0.5",children:[(0,t.jsx)("span",{className:"h-2.5 w-2.5 shrink-0 rounded-sm",style:{backgroundColor:i(e.class_id)}}),(0,t.jsx)("span",{className:"text-[14px] font-medium text-[#0e1726]",children:e.class_name}),(0,t.jsxs)("span",{className:"text-[14px] tabular-nums text-[#6b7a8d]",children:[(100*e.confidence).toFixed(1),"%"]})]}),(0,t.jsxs)("div",{className:"mt-0.5 pl-5 text-[11px] tabular-nums text-[#6b7a8d]/70",children:["(",Math.round(e.x),", ",Math.round(e.y),") ",Math.round(e.width),"×",Math.round(e.height)]})]},r)):(0,t.jsx)("div",{className:"flex h-full items-center justify-center px-4 py-8 text-[13px] text-[#6b7a8d]/60",children:"Select an image to detect objects"})})]})}class c{worker=null;async initialize(t,r){return this.terminate(),new Promise((s,n)=>{this.worker=new Worker(e.r(80258)),r?.("weights",`Fetching ${t} weights...`),fetch(`/weights/${t}.safetensors`).then(e=>{if(!e.ok)throw Error(`HTTP ${e.status}: ${e.statusText}`);return e.arrayBuffer()}).then(e=>{if(!this.worker)throw Error("Worker terminated");this.worker.onmessage=e=>{let t=e.data;"init:progress"===t.type?r?.(t.stage,t.message):"init:done"===t.type?s(t.modelSizeMB):"init:error"===t.type&&n(Error(t.error))},this.worker.onerror=e=>n(e),this.worker.postMessage({type:"init",weightsBuffer:e,modelName:t},[e])}).catch(n)})}async detect(e,t,r,s){return new Promise((n,a)=>{this.worker?(this.worker.onmessage=e=>{let t=e.data;"detect:done"===t.type?n(JSON.parse(t.resultJson)):"detect:error"===t.type&&a(Error(t.error))},this.worker.postMessage({type:"detect",pixels:e,width:t,height:r,confidenceThreshold:s},[e.buffer])):a(Error("Worker not initialized"))})}terminate(){this.worker?.terminate(),this.worker=null}}let u=["yolo26n","yolo26s","yolo26m","yolo26l","yolo26x"];function h(){let[e,i]=(0,r.useState)("yolo26n"),[l,u]=(0,r.useState)("idle"),[h,f]=(0,r.useState)("Loading..."),[p,b]=(0,r.useState)(null),[g,w]=(0,r.useState)(null),[y,j]=(0,r.useState)(.25),v=(0,r.useRef)(null),k=(0,r.useCallback)(e=>{let t=v.current??new c;v.current=t,u("idle"),f(`Loading ${e}...`),t.initialize(e,(e,t)=>{f(t),"weights"===e?u("loading-weights"):"wasm"===e?u("loading-wasm"):"model"===e&&u("initializing-model")}).then(t=>{u("ready"),f(`${e} loaded (${t} MB). Select or drop an image to detect objects.`)}).catch(e=>{u("error"),f(`Failed to load model: ${e}`)})},[]);(0,r.useEffect)(()=>(k(e),()=>v.current?.terminate()),[]);let N=(0,r.useCallback)(e=>{i(e),w(null),k(e)},[k]),$=(0,r.useCallback)(async e=>{if("ready"!==l||!v.current)return;let t=await createImageBitmap(e),r=t.width,s=t.height;if(r>4096||s>4096){let e=4096/Math.max(r,s);r=Math.round(r*e),s=Math.round(s*e)}let n=document.createElement("canvas");n.width=r,n.height=s;let a=n.getContext("2d");if(!a)return void t.close();a.drawImage(t,0,0,r,s),t.close();let i=new Uint8Array(a.getImageData(0,0,r,s).data.buffer);b(await new Promise(e=>{n.toBlob(t=>{let r=new Image;r.onload=()=>{URL.revokeObjectURL(r.src),e(r)},r.src=URL.createObjectURL(t)},"image/jpeg",.92)})),u("detecting"),f("Detecting objects..."),v.current.detect(i,r,s,0).then(e=>{w(e);let t=e.detections.filter(e=>e.confidence>=y).length;u("ready"),f(`${t} object${1!==t?"s":""} detected in ${e.inference_time_ms.toFixed(0)}ms`)}).catch(e=>{u("error"),f(`Detection failed: ${e}`)})},[l,y]),S=(0,r.useCallback)(e=>{if(j(e),g){let t=g.detections.filter(t=>t.confidence>=e).length;f(`${t} object${1!==t?"s":""} detected in ${g.inference_time_ms.toFixed(0)}ms`)}},[g]),C="ready"!==l;return(0,t.jsxs)("main",{className:"mx-auto flex h-[100dvh] max-w-6xl flex-col px-6 py-6 sm:px-10 sm:py-10",children:[(0,t.jsxs)("div",{className:"shrink-0",children:[(0,t.jsxs)("h1",{className:"text-[28px] font-semibold leading-tight text-[#0e1726] sm:text-[36px]",children:["YOLO26 ",(0,t.jsx)("span",{className:"text-[#1a4a8f]",children:"Rust WASM"})]}),(0,t.jsx)("p",{className:"mt-1 text-[15px] text-[#6b7a8d]",children:"Browser-based object detection powered by Rust and WebAssembly"})]}),(0,t.jsxs)("div",{className:"mt-5 flex h-10 shrink-0 items-center gap-4",children:[(0,t.jsx)(x,{value:e,onChange:N,isDisabled:"ready"!==l&&"error"!==l}),(0,t.jsx)(s,{status:l,message:h}),(0,t.jsx)(n,{onImageSelected:$,isDisabled:C}),(0,t.jsx)(a,{value:y,onChange:S})]}),(0,t.jsxs)("div",{className:"mt-5 grid min-h-0 flex-1 grid-cols-1 grid-rows-[1fr] gap-5 lg:grid-cols-[1fr_320px]",children:[(0,t.jsx)("div",{className:"min-h-0 overflow-hidden",children:p?(0,t.jsx)(o,{image:p,detections:g?.detections??[],confidenceThreshold:y}):(0,t.jsx)(m,{onImageSelected:$,isDisabled:C})}),(0,t.jsx)(d,{detections:g?.detections??[],confidenceThreshold:y,inferenceTimeMs:g?.inference_time_ms??0})]})]})}function x({value:e,onChange:r,isDisabled:s}){return(0,t.jsx)("select",{value:e,onChange:e=>r(e.target.value),disabled:s,className:"h-full rounded-lg border border-[#e2e6eb] bg-white px-3 text-[14px] font-medium text-[#0e1726] transition-colors hover:border-[#1a4a8f] focus:border-[#1a4a8f] focus:outline-none disabled:cursor-not-allowed disabled:opacity-50",children:u.map(e=>(0,t.jsx)("option",{value:e,children:e.toUpperCase()},e))})}function m({onImageSelected:e,isDisabled:s}){let[n,a]=(0,r.useState)(!1);return(0,t.jsx)("div",{onDragOver:e=>{e.preventDefault(),s||a(!0)},onDragLeave:()=>a(!1),onDrop:t=>{if(t.preventDefault(),a(!1),s)return;let r=t.dataTransfer.files[0];r?.type.startsWith("image/")&&e(r)},className:`flex h-full min-h-[280px] items-center justify-center rounded-2xl border-2 border-dashed text-[15px] transition-colors ${n?"border-[#1a4a8f] bg-[#1a4a8f]/5 text-[#1a4a8f]":"border-[#e2e6eb] text-[#6b7a8d]"}`,children:"Drop an image here to get started"})}e.s(["default",()=>h],52683)}]);
_next/static/chunks/{turbopack-09ceffba877fd3f9.js → turbopack-f6e3ddd487cb4003.js} RENAMED
@@ -1,4 +1,4 @@
1
- (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,{otherChunks:["static/chunks/105c910eb5584b4f.js"],runtimeModuleIds:[98716]}]),(()=>{let e;if(!Array.isArray(globalThis.TURBOPACK))return;let t="/_next/",r=(self.TURBOPACK_CHUNK_SUFFIX??document?.currentScript?.getAttribute?.("src")?.replace(/^(.*(?=\?)|^.*$)/,""))||"",n=new WeakMap;function o(e,t){this.m=e,this.e=t}let l=o.prototype,i=Object.prototype.hasOwnProperty,s="u">typeof Symbol&&Symbol.toStringTag;function u(e,t,r){i.call(e,t)||Object.defineProperty(e,t,r)}function a(e,t){let r=e[t];return r||(r=c(t),e[t]=r),r}function c(e){return{exports:{},error:void 0,id:e,namespaceObject:void 0}}function f(e,t){u(e,"__esModule",{value:!0}),s&&u(e,s,{value:"Module"});let r=0;for(;r<t.length;){let n=t[r++],o=t[r++];if("number"==typeof o)if(0===o)u(e,n,{value:t[r++],enumerable:!0,writable:!1});else throw Error(`unexpected tag: ${o}`);else"function"==typeof t[r]?u(e,n,{get:o,set:t[r++],enumerable:!0}):u(e,n,{get:o,enumerable:!0})}Object.seal(e)}l.s=function(e,t){let r,n;null!=t?n=(r=a(this.c,t)).exports:(r=this.m,n=this.e),r.namespaceObject=n,f(n,e)},l.j=function(e,t){var r,o;let l,s,u;null!=t?s=(l=a(this.c,t)).exports:(l=this.m,s=this.e);let c=(r=l,o=s,(u=n.get(r))||(n.set(r,u=[]),r.exports=r.namespaceObject=new Proxy(o,{get(e,t){if(i.call(e,t)||"default"===t||"__esModule"===t)return Reflect.get(e,t);for(let e of u){let r=Reflect.get(e,t);if(void 0!==r)return r}},ownKeys(e){let t=Reflect.ownKeys(e);for(let e of u)for(let r of Reflect.ownKeys(e))"default"===r||t.includes(r)||t.push(r);return t}})),u);"object"==typeof e&&null!==e&&c.push(e)},l.v=function(e,t){(null!=t?a(this.c,t):this.m).exports=e},l.n=function(e,t){let r;(r=null!=t?a(this.c,t):this.m).exports=r.namespaceObject=e};let p=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,h=[null,p({}),p([]),p(p)];function d(e,t,r){let n=[],o=-1;for(let t=e;("object"==typeof t||"function"==typeof t)&&!h.includes(t);t=p(t))for(let r of Object.getOwnPropertyNames(t))n.push(r,function(e,t){return()=>e[t]}(e,r)),-1===o&&"default"===r&&(o=n.length-1);return r&&o>=0||(o>=0?n.splice(o,1,0,e):n.push("default",0,e)),f(t,n),t}function m(e){let t=B(e,this.m);if(t.namespaceObject)return t.namespaceObject;let r=t.exports;return t.namespaceObject=d(r,"function"==typeof r?function(...e){return r.apply(this,e)}:Object.create(null),r&&r.__esModule)}function b(e){let t=e.indexOf("#");-1!==t&&(e=e.substring(0,t));let r=e.indexOf("?");return -1!==r&&(e=e.substring(0,r)),e}function y(){let e,t;return{promise:new Promise((r,n)=>{t=n,e=r}),resolve:e,reject:t}}l.i=m,l.A=function(e){return this.r(e)(m.bind(this))},l.t="function"==typeof require?require:function(){throw Error("Unexpected use of runtime require")},l.r=function(e){return B(e,this.m).exports},l.f=function(e){function t(t){if(t=b(t),i.call(e,t))return e[t].module();let r=Error(`Cannot find module '${t}'`);throw r.code="MODULE_NOT_FOUND",r}return t.keys=()=>Object.keys(e),t.resolve=t=>{if(t=b(t),i.call(e,t))return e[t].id();let r=Error(`Cannot find module '${t}'`);throw r.code="MODULE_NOT_FOUND",r},t.import=async e=>await t(e),t};let O=Symbol("turbopack queues"),g=Symbol("turbopack exports"),w=Symbol("turbopack error");function C(e){e&&1!==e.status&&(e.status=1,e.forEach(e=>e.queueCount--),e.forEach(e=>e.queueCount--?e.queueCount++:e()))}l.a=function(e,t){let r=this.m,n=t?Object.assign([],{status:-1}):void 0,o=new Set,{resolve:l,reject:i,promise:s}=y(),u=Object.assign(s,{[g]:r.exports,[O]:e=>{n&&e(n),o.forEach(e),u.catch(()=>{})}}),a={get:()=>u,set(e){e!==u&&(u[g]=e)}};Object.defineProperty(r,"exports",a),Object.defineProperty(r,"namespaceObject",a),e(function(e){let t=e.map(e=>{if(null!==e&&"object"==typeof e){if(O in e)return e;if(null!=e&&"object"==typeof e&&"then"in e&&"function"==typeof e.then){let t=Object.assign([],{status:0}),r={[g]:{},[O]:e=>e(t)};return e.then(e=>{r[g]=e,C(t)},e=>{r[w]=e,C(t)}),r}}return{[g]:e,[O]:()=>{}}}),r=()=>t.map(e=>{if(e[w])throw e[w];return e[g]}),{promise:l,resolve:i}=y(),s=Object.assign(()=>i(r),{queueCount:0});function u(e){e!==n&&!o.has(e)&&(o.add(e),e&&0===e.status&&(s.queueCount++,e.push(s)))}return t.map(e=>e[O](u)),s.queueCount?l:r()},function(e){e?i(u[w]=e):l(u[g]),C(n)}),n&&-1===n.status&&(n.status=0)};let U=function(e){let t=new URL(e,"x:/"),r={};for(let e in t)r[e]=t[e];for(let t in r.href=e,r.pathname=e.replace(/[?#].*/,""),r.origin=r.protocol="",r.toString=r.toJSON=(...t)=>e,r)Object.defineProperty(this,t,{enumerable:!0,configurable:!0,value:r[t]})};function R(e,t){throw Error(`Invariant: ${t(e)}`)}U.prototype=URL.prototype,l.U=U,l.z=function(e){throw Error("dynamic usage of require is not supported")},l.g=globalThis;let j=o.prototype;var _,k=((_=k||{})[_.Runtime=0]="Runtime",_[_.Parent=1]="Parent",_[_.Update=2]="Update",_);let v=new Map;l.M=v;let $=new Map,P=new Map;async function S(e,t,r){let n;if("string"==typeof r)return E(e,t,K(r));let o=r.included||[],l=o.map(e=>!!v.has(e)||$.get(e));if(l.length>0&&l.every(e=>e))return void await Promise.all(l);let i=r.moduleChunks||[],s=i.map(e=>P.get(e)).filter(e=>e);if(s.length>0){if(s.length===i.length)return void await Promise.all(s);let r=new Set;for(let e of i)P.has(e)||r.add(e);for(let n of r){let r=E(e,t,K(n));P.set(n,r),s.push(r)}n=Promise.all(s)}else{for(let o of(n=E(e,t,K(r.path)),i))P.has(o)||P.set(o,n)}for(let e of o)$.has(e)||$.set(e,n);await n}j.l=function(e){return S(1,this.m.id,e)};let T=Promise.resolve(void 0),A=new WeakMap;function E(t,r,n){let o=e.loadChunkCached(t,n),l=A.get(o);if(void 0===l){let e=A.set.bind(A,o,T);l=o.then(e).catch(e=>{let o;switch(t){case 0:o=`as a runtime dependency of chunk ${r}`;break;case 1:o=`from module ${r}`;break;case 2:o="from an HMR update";break;default:R(t,e=>`Unknown source type: ${e}`)}let l=Error(`Failed to load chunk ${n} ${o}${e?`: ${e}`:""}`,e?{cause:e}:void 0);throw l.name="ChunkLoadError",l}),A.set(o,l)}return l}function K(e){return`${t}${e.split("/").map(e=>encodeURIComponent(e)).join("/")}${r}`}j.L=function(e){return E(1,this.m.id,e)},j.R=function(e){let t=this.r(e);return t?.default??t},j.P=function(e){return`/ROOT/${e??""}`},j.b=function(e){let t=new Blob([`self.TURBOPACK_WORKER_LOCATION = ${JSON.stringify(location.origin)};
2
  self.TURBOPACK_CHUNK_SUFFIX = ${JSON.stringify(r)};
3
  self.TURBOPACK_NEXT_CHUNK_URLS = ${JSON.stringify(e.reverse().map(K),null,2)};
4
  importScripts(...self.TURBOPACK_NEXT_CHUNK_URLS.map(c => self.TURBOPACK_WORKER_LOCATION + c).reverse());`],{type:"text/javascript"});return URL.createObjectURL(t)};let x=/\.js(?:\?[^#]*)?(?:#.*)?$/,N=/\.css(?:\?[^#]*)?(?:#.*)?$/;function M(e){return N.test(e)}l.w=function(t,r,n){return e.loadWebAssembly(1,this.m.id,t,r,n)},l.u=function(t,r){return e.loadWebAssemblyModule(1,this.m.id,t,r)};let L={};l.c=L;let B=(e,t)=>{let r=L[e];if(r){if(r.error)throw r.error;return r}return q(e,k.Parent,t.id)};function q(e,t,r){let n=v.get(e);if("function"!=typeof n)throw Error(function(e,t,r){let n;switch(t){case 0:n=`as a runtime entry of chunk ${r}`;break;case 1:n=`because it was required from module ${r}`;break;case 2:n="because of an HMR update";break;default:R(t,e=>`Unknown source type: ${e}`)}return`Module ${e} was instantiated ${n}, but the module factory is not available.`}(e,t,r));let l=c(e),i=l.exports;L[e]=l;let s=new o(l,i);try{n(s,l,i)}catch(e){throw l.error=e,e}return l.namespaceObject&&l.exports!==l.namespaceObject&&d(l.exports,l.namespaceObject),l}function I(r){let n,o=function(e){if("string"==typeof e)return e;let r=decodeURIComponent(("u">typeof TURBOPACK_NEXT_CHUNK_URLS?TURBOPACK_NEXT_CHUNK_URLS.pop():e.getAttribute("src")).replace(/[?#].*$/,""));return r.startsWith(t)?r.slice(t.length):r}(r[0]);return 2===r.length?n=r[1]:(n=void 0,!function(e,t,r,n){let o=1;for(;o<e.length;){let t=e[o],n=o+1;for(;n<e.length&&"function"!=typeof e[n];)n++;if(n===e.length)throw Error("malformed chunk format, expected a factory function");if(!r.has(t)){let l=e[n];for(Object.defineProperty(l,"name",{value:"module evaluation"});o<n;o++)t=e[o],r.set(t,l)}o=n+1}}(r,0,v)),e.registerChunk(o,n)}let W=new Map;function H(e){let t=W.get(e);if(!t){let r,n;t={resolved:!1,loadingStarted:!1,promise:new Promise((e,t)=>{r=e,n=t}),resolve:()=>{t.resolved=!0,r()},reject:n},W.set(e,t)}return t}e={async registerChunk(e,t){if(H(K(e)).resolve(),null!=t){for(let e of t.otherChunks)H(K("string"==typeof e?e:e.path));if(await Promise.all(t.otherChunks.map(t=>S(0,e,t))),t.runtimeModuleIds.length>0)for(let r of t.runtimeModuleIds)!function(e,t){let r=L[t];if(r){if(r.error)throw r.error;return}q(t,k.Runtime,e)}(e,r)}},loadChunkCached:(e,t)=>(function(e,t){let r=H(t);if(r.loadingStarted)return r.promise;if(e===k.Runtime)return r.loadingStarted=!0,M(t)&&r.resolve(),r.promise;if("function"==typeof importScripts)if(M(t));else if(x.test(t))self.TURBOPACK_NEXT_CHUNK_URLS.push(t),importScripts(TURBOPACK_WORKER_LOCATION+t);else throw Error(`can't infer type of chunk from URL ${t} in worker`);else{let e=decodeURI(t);if(M(t))if(document.querySelectorAll(`link[rel=stylesheet][href="${t}"],link[rel=stylesheet][href^="${t}?"],link[rel=stylesheet][href="${e}"],link[rel=stylesheet][href^="${e}?"]`).length>0)r.resolve();else{let e=document.createElement("link");e.rel="stylesheet",e.href=t,e.onerror=()=>{r.reject()},e.onload=()=>{r.resolve()},document.head.appendChild(e)}else if(x.test(t)){let n=document.querySelectorAll(`script[src="${t}"],script[src^="${t}?"],script[src="${e}"],script[src^="${e}?"]`);if(n.length>0)for(let e of Array.from(n))e.addEventListener("error",()=>{r.reject()});else{let e=document.createElement("script");e.src=t,e.onerror=()=>{r.reject()},document.head.appendChild(e)}}else throw Error(`can't infer type of chunk from URL ${t}`)}return r.loadingStarted=!0,r.promise})(e,t),async loadWebAssembly(e,t,r,n,o){let l=fetch(K(r)),{instance:i}=await WebAssembly.instantiateStreaming(l,o);return i.exports},async loadWebAssemblyModule(e,t,r,n){let o=fetch(K(r));return await WebAssembly.compileStreaming(o)}};let F=globalThis.TURBOPACK;globalThis.TURBOPACK={push:I},F.forEach(I)})();
 
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,{otherChunks:["static/chunks/e1018b2232cde00e.js"],runtimeModuleIds:[98716]}]),(()=>{let e;if(!Array.isArray(globalThis.TURBOPACK))return;let t="/_next/",r=(self.TURBOPACK_CHUNK_SUFFIX??document?.currentScript?.getAttribute?.("src")?.replace(/^(.*(?=\?)|^.*$)/,""))||"",n=new WeakMap;function o(e,t){this.m=e,this.e=t}let l=o.prototype,i=Object.prototype.hasOwnProperty,s="u">typeof Symbol&&Symbol.toStringTag;function u(e,t,r){i.call(e,t)||Object.defineProperty(e,t,r)}function a(e,t){let r=e[t];return r||(r=c(t),e[t]=r),r}function c(e){return{exports:{},error:void 0,id:e,namespaceObject:void 0}}function f(e,t){u(e,"__esModule",{value:!0}),s&&u(e,s,{value:"Module"});let r=0;for(;r<t.length;){let n=t[r++],o=t[r++];if("number"==typeof o)if(0===o)u(e,n,{value:t[r++],enumerable:!0,writable:!1});else throw Error(`unexpected tag: ${o}`);else"function"==typeof t[r]?u(e,n,{get:o,set:t[r++],enumerable:!0}):u(e,n,{get:o,enumerable:!0})}Object.seal(e)}l.s=function(e,t){let r,n;null!=t?n=(r=a(this.c,t)).exports:(r=this.m,n=this.e),r.namespaceObject=n,f(n,e)},l.j=function(e,t){var r,o;let l,s,u;null!=t?s=(l=a(this.c,t)).exports:(l=this.m,s=this.e);let c=(r=l,o=s,(u=n.get(r))||(n.set(r,u=[]),r.exports=r.namespaceObject=new Proxy(o,{get(e,t){if(i.call(e,t)||"default"===t||"__esModule"===t)return Reflect.get(e,t);for(let e of u){let r=Reflect.get(e,t);if(void 0!==r)return r}},ownKeys(e){let t=Reflect.ownKeys(e);for(let e of u)for(let r of Reflect.ownKeys(e))"default"===r||t.includes(r)||t.push(r);return t}})),u);"object"==typeof e&&null!==e&&c.push(e)},l.v=function(e,t){(null!=t?a(this.c,t):this.m).exports=e},l.n=function(e,t){let r;(r=null!=t?a(this.c,t):this.m).exports=r.namespaceObject=e};let p=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,h=[null,p({}),p([]),p(p)];function d(e,t,r){let n=[],o=-1;for(let t=e;("object"==typeof t||"function"==typeof t)&&!h.includes(t);t=p(t))for(let r of Object.getOwnPropertyNames(t))n.push(r,function(e,t){return()=>e[t]}(e,r)),-1===o&&"default"===r&&(o=n.length-1);return r&&o>=0||(o>=0?n.splice(o,1,0,e):n.push("default",0,e)),f(t,n),t}function m(e){let t=B(e,this.m);if(t.namespaceObject)return t.namespaceObject;let r=t.exports;return t.namespaceObject=d(r,"function"==typeof r?function(...e){return r.apply(this,e)}:Object.create(null),r&&r.__esModule)}function b(e){let t=e.indexOf("#");-1!==t&&(e=e.substring(0,t));let r=e.indexOf("?");return -1!==r&&(e=e.substring(0,r)),e}function y(){let e,t;return{promise:new Promise((r,n)=>{t=n,e=r}),resolve:e,reject:t}}l.i=m,l.A=function(e){return this.r(e)(m.bind(this))},l.t="function"==typeof require?require:function(){throw Error("Unexpected use of runtime require")},l.r=function(e){return B(e,this.m).exports},l.f=function(e){function t(t){if(t=b(t),i.call(e,t))return e[t].module();let r=Error(`Cannot find module '${t}'`);throw r.code="MODULE_NOT_FOUND",r}return t.keys=()=>Object.keys(e),t.resolve=t=>{if(t=b(t),i.call(e,t))return e[t].id();let r=Error(`Cannot find module '${t}'`);throw r.code="MODULE_NOT_FOUND",r},t.import=async e=>await t(e),t};let O=Symbol("turbopack queues"),g=Symbol("turbopack exports"),w=Symbol("turbopack error");function C(e){e&&1!==e.status&&(e.status=1,e.forEach(e=>e.queueCount--),e.forEach(e=>e.queueCount--?e.queueCount++:e()))}l.a=function(e,t){let r=this.m,n=t?Object.assign([],{status:-1}):void 0,o=new Set,{resolve:l,reject:i,promise:s}=y(),u=Object.assign(s,{[g]:r.exports,[O]:e=>{n&&e(n),o.forEach(e),u.catch(()=>{})}}),a={get:()=>u,set(e){e!==u&&(u[g]=e)}};Object.defineProperty(r,"exports",a),Object.defineProperty(r,"namespaceObject",a),e(function(e){let t=e.map(e=>{if(null!==e&&"object"==typeof e){if(O in e)return e;if(null!=e&&"object"==typeof e&&"then"in e&&"function"==typeof e.then){let t=Object.assign([],{status:0}),r={[g]:{},[O]:e=>e(t)};return e.then(e=>{r[g]=e,C(t)},e=>{r[w]=e,C(t)}),r}}return{[g]:e,[O]:()=>{}}}),r=()=>t.map(e=>{if(e[w])throw e[w];return e[g]}),{promise:l,resolve:i}=y(),s=Object.assign(()=>i(r),{queueCount:0});function u(e){e!==n&&!o.has(e)&&(o.add(e),e&&0===e.status&&(s.queueCount++,e.push(s)))}return t.map(e=>e[O](u)),s.queueCount?l:r()},function(e){e?i(u[w]=e):l(u[g]),C(n)}),n&&-1===n.status&&(n.status=0)};let U=function(e){let t=new URL(e,"x:/"),r={};for(let e in t)r[e]=t[e];for(let t in r.href=e,r.pathname=e.replace(/[?#].*/,""),r.origin=r.protocol="",r.toString=r.toJSON=(...t)=>e,r)Object.defineProperty(this,t,{enumerable:!0,configurable:!0,value:r[t]})};function R(e,t){throw Error(`Invariant: ${t(e)}`)}U.prototype=URL.prototype,l.U=U,l.z=function(e){throw Error("dynamic usage of require is not supported")},l.g=globalThis;let j=o.prototype;var _,k=((_=k||{})[_.Runtime=0]="Runtime",_[_.Parent=1]="Parent",_[_.Update=2]="Update",_);let v=new Map;l.M=v;let $=new Map,P=new Map;async function S(e,t,r){let n;if("string"==typeof r)return E(e,t,K(r));let o=r.included||[],l=o.map(e=>!!v.has(e)||$.get(e));if(l.length>0&&l.every(e=>e))return void await Promise.all(l);let i=r.moduleChunks||[],s=i.map(e=>P.get(e)).filter(e=>e);if(s.length>0){if(s.length===i.length)return void await Promise.all(s);let r=new Set;for(let e of i)P.has(e)||r.add(e);for(let n of r){let r=E(e,t,K(n));P.set(n,r),s.push(r)}n=Promise.all(s)}else{for(let o of(n=E(e,t,K(r.path)),i))P.has(o)||P.set(o,n)}for(let e of o)$.has(e)||$.set(e,n);await n}j.l=function(e){return S(1,this.m.id,e)};let T=Promise.resolve(void 0),A=new WeakMap;function E(t,r,n){let o=e.loadChunkCached(t,n),l=A.get(o);if(void 0===l){let e=A.set.bind(A,o,T);l=o.then(e).catch(e=>{let o;switch(t){case 0:o=`as a runtime dependency of chunk ${r}`;break;case 1:o=`from module ${r}`;break;case 2:o="from an HMR update";break;default:R(t,e=>`Unknown source type: ${e}`)}let l=Error(`Failed to load chunk ${n} ${o}${e?`: ${e}`:""}`,e?{cause:e}:void 0);throw l.name="ChunkLoadError",l}),A.set(o,l)}return l}function K(e){return`${t}${e.split("/").map(e=>encodeURIComponent(e)).join("/")}${r}`}j.L=function(e){return E(1,this.m.id,e)},j.R=function(e){let t=this.r(e);return t?.default??t},j.P=function(e){return`/ROOT/${e??""}`},j.b=function(e){let t=new Blob([`self.TURBOPACK_WORKER_LOCATION = ${JSON.stringify(location.origin)};
2
  self.TURBOPACK_CHUNK_SUFFIX = ${JSON.stringify(r)};
3
  self.TURBOPACK_NEXT_CHUNK_URLS = ${JSON.stringify(e.reverse().map(K),null,2)};
4
  importScripts(...self.TURBOPACK_NEXT_CHUNK_URLS.map(c => self.TURBOPACK_WORKER_LOCATION + c).reverse());`],{type:"text/javascript"});return URL.createObjectURL(t)};let x=/\.js(?:\?[^#]*)?(?:#.*)?$/,N=/\.css(?:\?[^#]*)?(?:#.*)?$/;function M(e){return N.test(e)}l.w=function(t,r,n){return e.loadWebAssembly(1,this.m.id,t,r,n)},l.u=function(t,r){return e.loadWebAssemblyModule(1,this.m.id,t,r)};let L={};l.c=L;let B=(e,t)=>{let r=L[e];if(r){if(r.error)throw r.error;return r}return q(e,k.Parent,t.id)};function q(e,t,r){let n=v.get(e);if("function"!=typeof n)throw Error(function(e,t,r){let n;switch(t){case 0:n=`as a runtime entry of chunk ${r}`;break;case 1:n=`because it was required from module ${r}`;break;case 2:n="because of an HMR update";break;default:R(t,e=>`Unknown source type: ${e}`)}return`Module ${e} was instantiated ${n}, but the module factory is not available.`}(e,t,r));let l=c(e),i=l.exports;L[e]=l;let s=new o(l,i);try{n(s,l,i)}catch(e){throw l.error=e,e}return l.namespaceObject&&l.exports!==l.namespaceObject&&d(l.exports,l.namespaceObject),l}function I(r){let n,o=function(e){if("string"==typeof e)return e;let r=decodeURIComponent(("u">typeof TURBOPACK_NEXT_CHUNK_URLS?TURBOPACK_NEXT_CHUNK_URLS.pop():e.getAttribute("src")).replace(/[?#].*$/,""));return r.startsWith(t)?r.slice(t.length):r}(r[0]);return 2===r.length?n=r[1]:(n=void 0,!function(e,t,r,n){let o=1;for(;o<e.length;){let t=e[o],n=o+1;for(;n<e.length&&"function"!=typeof e[n];)n++;if(n===e.length)throw Error("malformed chunk format, expected a factory function");if(!r.has(t)){let l=e[n];for(Object.defineProperty(l,"name",{value:"module evaluation"});o<n;o++)t=e[o],r.set(t,l)}o=n+1}}(r,0,v)),e.registerChunk(o,n)}let W=new Map;function H(e){let t=W.get(e);if(!t){let r,n;t={resolved:!1,loadingStarted:!1,promise:new Promise((e,t)=>{r=e,n=t}),resolve:()=>{t.resolved=!0,r()},reject:n},W.set(e,t)}return t}e={async registerChunk(e,t){if(H(K(e)).resolve(),null!=t){for(let e of t.otherChunks)H(K("string"==typeof e?e:e.path));if(await Promise.all(t.otherChunks.map(t=>S(0,e,t))),t.runtimeModuleIds.length>0)for(let r of t.runtimeModuleIds)!function(e,t){let r=L[t];if(r){if(r.error)throw r.error;return}q(t,k.Runtime,e)}(e,r)}},loadChunkCached:(e,t)=>(function(e,t){let r=H(t);if(r.loadingStarted)return r.promise;if(e===k.Runtime)return r.loadingStarted=!0,M(t)&&r.resolve(),r.promise;if("function"==typeof importScripts)if(M(t));else if(x.test(t))self.TURBOPACK_NEXT_CHUNK_URLS.push(t),importScripts(TURBOPACK_WORKER_LOCATION+t);else throw Error(`can't infer type of chunk from URL ${t} in worker`);else{let e=decodeURI(t);if(M(t))if(document.querySelectorAll(`link[rel=stylesheet][href="${t}"],link[rel=stylesheet][href^="${t}?"],link[rel=stylesheet][href="${e}"],link[rel=stylesheet][href^="${e}?"]`).length>0)r.resolve();else{let e=document.createElement("link");e.rel="stylesheet",e.href=t,e.onerror=()=>{r.reject()},e.onload=()=>{r.resolve()},document.head.appendChild(e)}else if(x.test(t)){let n=document.querySelectorAll(`script[src="${t}"],script[src^="${t}?"],script[src="${e}"],script[src^="${e}?"]`);if(n.length>0)for(let e of Array.from(n))e.addEventListener("error",()=>{r.reject()});else{let e=document.createElement("script");e.src=t,e.onerror=()=>{r.reject()},document.head.appendChild(e)}}else throw Error(`can't infer type of chunk from URL ${t}`)}return r.loadingStarted=!0,r.promise})(e,t),async loadWebAssembly(e,t,r,n,o){let l=fetch(K(r)),{instance:i}=await WebAssembly.instantiateStreaming(l,o);return i.exports},async loadWebAssemblyModule(e,t,r,n){let o=fetch(K(r));return await WebAssembly.compileStreaming(o)}};let F=globalThis.TURBOPACK;globalThis.TURBOPACK={push:I},F.forEach(I)})();
_next/static/media/{inference.worker.469ec9ab.ts → inference.worker.40b201dc.ts} RENAMED
@@ -35,7 +35,7 @@ self.onmessage = async (event: MessageEvent) => {
35
  });
36
 
37
  const weightsArray = new Uint8Array(request.weightsBuffer);
38
- wasm.init_model(weightsArray, request.modelSize);
39
 
40
  const sizeMB = parseFloat((weightsArray.length / 1e6).toFixed(1));
41
  self.postMessage({ type: "init:done", modelSizeMB: sizeMB });
 
35
  });
36
 
37
  const weightsArray = new Uint8Array(request.weightsBuffer);
38
+ wasm.init_model(weightsArray, request.modelName);
39
 
40
  const sizeMB = parseFloat((weightsArray.length / 1e6).toFixed(1));
41
  self.postMessage({ type: "init:done", modelSizeMB: sizeMB });
_not-found.html CHANGED
@@ -1 +1 @@
1
- <!DOCTYPE html><!--8Xo6db7R6V3KHGucdJovV--><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/_next/static/chunks/843c3cca5afc4244.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/4b9eae0c8dc7e975.js"/><script src="/_next/static/chunks/f2f58a7e93290fbb.js" async=""></script><script src="/_next/static/chunks/6eb1bac6b57023f6.js" async=""></script><script src="/_next/static/chunks/turbopack-da1d1c3932c9a2c7.js" async=""></script><script src="/_next/static/chunks/2f236954d6a65e12.js" async=""></script><meta name="robots" content="noindex"/><meta name="next-size-adjust" content=""/><title>404: This page could not be found.</title><title>YOLO26 Rust WASM Demo</title><meta name="description" content="Browser-based object detection powered by Rust and WebAssembly"/><script src="/_next/static/chunks/a6dad97d9634a72d.js" noModule=""></script></head><body class="geist_a71539c9-module__T19VSG__variable antialiased"><div hidden=""><!--$--><!--/$--></div><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div><style>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)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding:0 23px 0 0;font-size:24px;font-weight:500;vertical-align:top;line-height:49px">404</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:49px;margin:0">This page could not be found.</h2></div></div></div><!--$--><!--/$--><script src="/_next/static/chunks/4b9eae0c8dc7e975.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[39756,[\"/_next/static/chunks/2f236954d6a65e12.js\"],\"default\"]\n3:I[37457,[\"/_next/static/chunks/2f236954d6a65e12.js\"],\"default\"]\n4:I[97367,[\"/_next/static/chunks/2f236954d6a65e12.js\"],\"OutletBoundary\"]\n5:\"$Sreact.suspense\"\n7:I[97367,[\"/_next/static/chunks/2f236954d6a65e12.js\"],\"ViewportBoundary\"]\n9:I[97367,[\"/_next/static/chunks/2f236954d6a65e12.js\"],\"MetadataBoundary\"]\nb:I[68027,[\"/_next/static/chunks/2f236954d6a65e12.js\"],\"default\"]\n:HL[\"/_next/static/chunks/843c3cca5afc4244.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"b\":\"8Xo6db7R6V3KHGucdJovV\",\"c\":[\"\",\"_not-found\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"/_not-found\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",true],[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/843c3cca5afc4244.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-0\",{\"src\":\"/_next/static/chunks/2f236954d6a65e12.js\",\"async\":true,\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[\"$\",\"body\",null,{\"className\":\"geist_a71539c9-module__T19VSG__variable antialiased\",\"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\"}]}]}]]}],{\"children\":[[\"$\",\"$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\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":\"$0:f:0:1:0:props:children:1:props:children:props:children:props:notFound:0:1:props:style\",\"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\":\"$0:f:0:1:0:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:1:props:style\",\"children\":404}],[\"$\",\"div\",null,{\"style\":\"$0:f:0:1:0:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:style\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$0:f:0:1:0:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:children:props:style\",\"children\":\"This page could not be found.\"}]}]]}]}]],null,[\"$\",\"$L4\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@6\"}]}]]}],{},null,false,false]},null,false,false]},null,false,false],[\"$\",\"$1\",\"h\",{\"children\":[[\"$\",\"meta\",null,{\"name\":\"robots\",\"content\":\"noindex\"}],[\"$\",\"$L7\",null,{\"children\":\"$L8\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$L9\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.Metadata\",\"children\":\"$La\"}]}]}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$b\",\"$undefined\"],\"S\":true}\n"])</script><script>self.__next_f.push([1,"8:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n"])</script><script>self.__next_f.push([1,"6:null\na:[[\"$\",\"title\",\"0\",{\"children\":\"YOLO26 Rust WASM Demo\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"Browser-based object detection powered by Rust and WebAssembly\"}]]\n"])</script></body></html>
 
1
+ <!DOCTYPE html><!--ZsJf_7rnwZ9CDNqs2HjYi--><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/_next/static/chunks/5bd1f1e2e4e46abf.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/4b9eae0c8dc7e975.js"/><script src="/_next/static/chunks/f2f58a7e93290fbb.js" async=""></script><script src="/_next/static/chunks/6eb1bac6b57023f6.js" async=""></script><script src="/_next/static/chunks/turbopack-da1d1c3932c9a2c7.js" async=""></script><script src="/_next/static/chunks/2f236954d6a65e12.js" async=""></script><meta name="robots" content="noindex"/><meta name="next-size-adjust" content=""/><title>404: This page could not be found.</title><title>YOLO26 Rust WASM Demo</title><meta name="description" content="Browser-based object detection powered by Rust and WebAssembly"/><script src="/_next/static/chunks/a6dad97d9634a72d.js" noModule=""></script></head><body class="geist_a71539c9-module__T19VSG__variable antialiased"><div hidden=""><!--$--><!--/$--></div><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div><style>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)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding:0 23px 0 0;font-size:24px;font-weight:500;vertical-align:top;line-height:49px">404</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:49px;margin:0">This page could not be found.</h2></div></div></div><!--$--><!--/$--><script src="/_next/static/chunks/4b9eae0c8dc7e975.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[39756,[\"/_next/static/chunks/2f236954d6a65e12.js\"],\"default\"]\n3:I[37457,[\"/_next/static/chunks/2f236954d6a65e12.js\"],\"default\"]\n4:I[97367,[\"/_next/static/chunks/2f236954d6a65e12.js\"],\"OutletBoundary\"]\n5:\"$Sreact.suspense\"\n7:I[97367,[\"/_next/static/chunks/2f236954d6a65e12.js\"],\"ViewportBoundary\"]\n9:I[97367,[\"/_next/static/chunks/2f236954d6a65e12.js\"],\"MetadataBoundary\"]\nb:I[68027,[\"/_next/static/chunks/2f236954d6a65e12.js\"],\"default\"]\n:HL[\"/_next/static/chunks/5bd1f1e2e4e46abf.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"b\":\"ZsJf_7rnwZ9CDNqs2HjYi\",\"c\":[\"\",\"_not-found\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"/_not-found\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",true],[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/5bd1f1e2e4e46abf.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-0\",{\"src\":\"/_next/static/chunks/2f236954d6a65e12.js\",\"async\":true,\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[\"$\",\"body\",null,{\"className\":\"geist_a71539c9-module__T19VSG__variable antialiased\",\"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\"}]}]}]]}],{\"children\":[[\"$\",\"$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\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":\"$0:f:0:1:0:props:children:1:props:children:props:children:props:notFound:0:1:props:style\",\"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\":\"$0:f:0:1:0:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:1:props:style\",\"children\":404}],[\"$\",\"div\",null,{\"style\":\"$0:f:0:1:0:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:style\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$0:f:0:1:0:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:children:props:style\",\"children\":\"This page could not be found.\"}]}]]}]}]],null,[\"$\",\"$L4\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@6\"}]}]]}],{},null,false,false]},null,false,false]},null,false,false],[\"$\",\"$1\",\"h\",{\"children\":[[\"$\",\"meta\",null,{\"name\":\"robots\",\"content\":\"noindex\"}],[\"$\",\"$L7\",null,{\"children\":\"$L8\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$L9\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.Metadata\",\"children\":\"$La\"}]}]}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$b\",\"$undefined\"],\"S\":true}\n"])</script><script>self.__next_f.push([1,"8:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n"])</script><script>self.__next_f.push([1,"6:null\na:[[\"$\",\"title\",\"0\",{\"children\":\"YOLO26 Rust WASM Demo\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"Browser-based object detection powered by Rust and WebAssembly\"}]]\n"])</script></body></html>
_not-found.txt CHANGED
@@ -6,8 +6,8 @@
6
  7:I[97367,["/_next/static/chunks/2f236954d6a65e12.js"],"ViewportBoundary"]
7
  9:I[97367,["/_next/static/chunks/2f236954d6a65e12.js"],"MetadataBoundary"]
8
  b:I[68027,["/_next/static/chunks/2f236954d6a65e12.js"],"default"]
9
- :HL["/_next/static/chunks/843c3cca5afc4244.css","style"]
10
- 0:{"P":null,"b":"8Xo6db7R6V3KHGucdJovV","c":["","_not-found"],"q":"","i":false,"f":[[["",{"children":["/_not-found",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/843c3cca5afc4244.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/2f236954d6a65e12.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"en","children":["$","body",null,{"className":"geist_a71539c9-module__T19VSG__variable antialiased","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"}]}]}]]}],{"children":[["$","$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"}]]}],{"children":[["$","$1","c",{"children":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":"$0:f:0:1:0:props:children:1:props:children:props:children:props:notFound:0:1:props:style","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":"$0:f:0:1:0:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:1:props:style","children":404}],["$","div",null,{"style":"$0:f:0:1:0:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:style","children":["$","h2",null,{"style":"$0:f:0:1:0:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:children:props:style","children":"This page could not be found."}]}]]}]}]],null,["$","$L4",null,{"children":["$","$5",null,{"name":"Next.MetadataOutlet","children":"$@6"}]}]]}],{},null,false,false]},null,false,false]},null,false,false],["$","$1","h",{"children":[["$","meta",null,{"name":"robots","content":"noindex"}],["$","$L7",null,{"children":"$L8"}],["$","div",null,{"hidden":true,"children":["$","$L9",null,{"children":["$","$5",null,{"name":"Next.Metadata","children":"$La"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],false]],"m":"$undefined","G":["$b","$undefined"],"S":true}
11
  8:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]
12
  6:null
13
  a:[["$","title","0",{"children":"YOLO26 Rust WASM Demo"}],["$","meta","1",{"name":"description","content":"Browser-based object detection powered by Rust and WebAssembly"}]]
 
6
  7:I[97367,["/_next/static/chunks/2f236954d6a65e12.js"],"ViewportBoundary"]
7
  9:I[97367,["/_next/static/chunks/2f236954d6a65e12.js"],"MetadataBoundary"]
8
  b:I[68027,["/_next/static/chunks/2f236954d6a65e12.js"],"default"]
9
+ :HL["/_next/static/chunks/5bd1f1e2e4e46abf.css","style"]
10
+ 0:{"P":null,"b":"ZsJf_7rnwZ9CDNqs2HjYi","c":["","_not-found"],"q":"","i":false,"f":[[["",{"children":["/_not-found",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/5bd1f1e2e4e46abf.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/2f236954d6a65e12.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"en","children":["$","body",null,{"className":"geist_a71539c9-module__T19VSG__variable antialiased","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"}]}]}]]}],{"children":[["$","$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"}]]}],{"children":[["$","$1","c",{"children":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":"$0:f:0:1:0:props:children:1:props:children:props:children:props:notFound:0:1:props:style","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":"$0:f:0:1:0:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:1:props:style","children":404}],["$","div",null,{"style":"$0:f:0:1:0:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:style","children":["$","h2",null,{"style":"$0:f:0:1:0:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:children:props:style","children":"This page could not be found."}]}]]}]}]],null,["$","$L4",null,{"children":["$","$5",null,{"name":"Next.MetadataOutlet","children":"$@6"}]}]]}],{},null,false,false]},null,false,false]},null,false,false],["$","$1","h",{"children":[["$","meta",null,{"name":"robots","content":"noindex"}],["$","$L7",null,{"children":"$L8"}],["$","div",null,{"hidden":true,"children":["$","$L9",null,{"children":["$","$5",null,{"name":"Next.Metadata","children":"$La"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],false]],"m":"$undefined","G":["$b","$undefined"],"S":true}
11
  8:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]
12
  6:null
13
  a:[["$","title","0",{"children":"YOLO26 Rust WASM Demo"}],["$","meta","1",{"name":"description","content":"Browser-based object detection powered by Rust and WebAssembly"}]]
_not-found/__next._full.txt CHANGED
@@ -6,8 +6,8 @@
6
  7:I[97367,["/_next/static/chunks/2f236954d6a65e12.js"],"ViewportBoundary"]
7
  9:I[97367,["/_next/static/chunks/2f236954d6a65e12.js"],"MetadataBoundary"]
8
  b:I[68027,["/_next/static/chunks/2f236954d6a65e12.js"],"default"]
9
- :HL["/_next/static/chunks/843c3cca5afc4244.css","style"]
10
- 0:{"P":null,"b":"8Xo6db7R6V3KHGucdJovV","c":["","_not-found"],"q":"","i":false,"f":[[["",{"children":["/_not-found",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/843c3cca5afc4244.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/2f236954d6a65e12.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"en","children":["$","body",null,{"className":"geist_a71539c9-module__T19VSG__variable antialiased","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"}]}]}]]}],{"children":[["$","$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"}]]}],{"children":[["$","$1","c",{"children":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":"$0:f:0:1:0:props:children:1:props:children:props:children:props:notFound:0:1:props:style","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":"$0:f:0:1:0:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:1:props:style","children":404}],["$","div",null,{"style":"$0:f:0:1:0:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:style","children":["$","h2",null,{"style":"$0:f:0:1:0:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:children:props:style","children":"This page could not be found."}]}]]}]}]],null,["$","$L4",null,{"children":["$","$5",null,{"name":"Next.MetadataOutlet","children":"$@6"}]}]]}],{},null,false,false]},null,false,false]},null,false,false],["$","$1","h",{"children":[["$","meta",null,{"name":"robots","content":"noindex"}],["$","$L7",null,{"children":"$L8"}],["$","div",null,{"hidden":true,"children":["$","$L9",null,{"children":["$","$5",null,{"name":"Next.Metadata","children":"$La"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],false]],"m":"$undefined","G":["$b","$undefined"],"S":true}
11
  8:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]
12
  6:null
13
  a:[["$","title","0",{"children":"YOLO26 Rust WASM Demo"}],["$","meta","1",{"name":"description","content":"Browser-based object detection powered by Rust and WebAssembly"}]]
 
6
  7:I[97367,["/_next/static/chunks/2f236954d6a65e12.js"],"ViewportBoundary"]
7
  9:I[97367,["/_next/static/chunks/2f236954d6a65e12.js"],"MetadataBoundary"]
8
  b:I[68027,["/_next/static/chunks/2f236954d6a65e12.js"],"default"]
9
+ :HL["/_next/static/chunks/5bd1f1e2e4e46abf.css","style"]
10
+ 0:{"P":null,"b":"ZsJf_7rnwZ9CDNqs2HjYi","c":["","_not-found"],"q":"","i":false,"f":[[["",{"children":["/_not-found",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/5bd1f1e2e4e46abf.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","script","script-0",{"src":"/_next/static/chunks/2f236954d6a65e12.js","async":true,"nonce":"$undefined"}]],["$","html",null,{"lang":"en","children":["$","body",null,{"className":"geist_a71539c9-module__T19VSG__variable antialiased","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"}]}]}]]}],{"children":[["$","$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"}]]}],{"children":[["$","$1","c",{"children":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":"$0:f:0:1:0:props:children:1:props:children:props:children:props:notFound:0:1:props:style","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":"$0:f:0:1:0:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:1:props:style","children":404}],["$","div",null,{"style":"$0:f:0:1:0:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:style","children":["$","h2",null,{"style":"$0:f:0:1:0:props:children:1:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:children:props:style","children":"This page could not be found."}]}]]}]}]],null,["$","$L4",null,{"children":["$","$5",null,{"name":"Next.MetadataOutlet","children":"$@6"}]}]]}],{},null,false,false]},null,false,false]},null,false,false],["$","$1","h",{"children":[["$","meta",null,{"name":"robots","content":"noindex"}],["$","$L7",null,{"children":"$L8"}],["$","div",null,{"hidden":true,"children":["$","$L9",null,{"children":["$","$5",null,{"name":"Next.Metadata","children":"$La"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],false]],"m":"$undefined","G":["$b","$undefined"],"S":true}
11
  8:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]
12
  6:null
13
  a:[["$","title","0",{"children":"YOLO26 Rust WASM Demo"}],["$","meta","1",{"name":"description","content":"Browser-based object detection powered by Rust and WebAssembly"}]]
_not-found/__next._head.txt CHANGED
@@ -2,4 +2,4 @@
2
  2:I[97367,["/_next/static/chunks/2f236954d6a65e12.js"],"ViewportBoundary"]
3
  3:I[97367,["/_next/static/chunks/2f236954d6a65e12.js"],"MetadataBoundary"]
4
  4:"$Sreact.suspense"
5
- 0:{"buildId":"8Xo6db7R6V3KHGucdJovV","rsc":["$","$1","h",{"children":[["$","meta",null,{"name":"robots","content":"noindex"}],["$","$L2",null,{"children":[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]}],["$","div",null,{"hidden":true,"children":["$","$L3",null,{"children":["$","$4",null,{"name":"Next.Metadata","children":[["$","title","0",{"children":"YOLO26 Rust WASM Demo"}],["$","meta","1",{"name":"description","content":"Browser-based object detection powered by Rust and WebAssembly"}]]}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],"loading":null,"isPartial":false}
 
2
  2:I[97367,["/_next/static/chunks/2f236954d6a65e12.js"],"ViewportBoundary"]
3
  3:I[97367,["/_next/static/chunks/2f236954d6a65e12.js"],"MetadataBoundary"]
4
  4:"$Sreact.suspense"
5
+ 0:{"buildId":"ZsJf_7rnwZ9CDNqs2HjYi","rsc":["$","$1","h",{"children":[["$","meta",null,{"name":"robots","content":"noindex"}],["$","$L2",null,{"children":[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]}],["$","div",null,{"hidden":true,"children":["$","$L3",null,{"children":["$","$4",null,{"name":"Next.Metadata","children":[["$","title","0",{"children":"YOLO26 Rust WASM Demo"}],["$","meta","1",{"name":"description","content":"Browser-based object detection powered by Rust and WebAssembly"}]]}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],"loading":null,"isPartial":false}
_not-found/__next._index.txt CHANGED
@@ -1,5 +1,5 @@
1
  1:"$Sreact.fragment"
2
  2:I[39756,["/_next/static/chunks/2f236954d6a65e12.js"],"default"]
3
  3:I[37457,["/_next/static/chunks/2f236954d6a65e12.js"],"default"]
4
- :HL["/_next/static/chunks/843c3cca5afc4244.css","style"]
5
- 0:{"buildId":"8Xo6db7R6V3KHGucdJovV","rsc":["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/843c3cca5afc4244.css","precedence":"next"}],["$","script","script-0",{"src":"/_next/static/chunks/2f236954d6a65e12.js","async":true}]],["$","html",null,{"lang":"en","children":["$","body",null,{"className":"geist_a71539c9-module__T19VSG__variable antialiased","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."}]}]]}]}]],[]]}]}]}]]}],"loading":null,"isPartial":false}
 
1
  1:"$Sreact.fragment"
2
  2:I[39756,["/_next/static/chunks/2f236954d6a65e12.js"],"default"]
3
  3:I[37457,["/_next/static/chunks/2f236954d6a65e12.js"],"default"]
4
+ :HL["/_next/static/chunks/5bd1f1e2e4e46abf.css","style"]
5
+ 0:{"buildId":"ZsJf_7rnwZ9CDNqs2HjYi","rsc":["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/5bd1f1e2e4e46abf.css","precedence":"next"}],["$","script","script-0",{"src":"/_next/static/chunks/2f236954d6a65e12.js","async":true}]],["$","html",null,{"lang":"en","children":["$","body",null,{"className":"geist_a71539c9-module__T19VSG__variable antialiased","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."}]}]]}]}]],[]]}]}]}]]}],"loading":null,"isPartial":false}
_not-found/__next._not-found.__PAGE__.txt CHANGED
@@ -1,5 +1,5 @@
1
  1:"$Sreact.fragment"
2
  2:I[97367,["/_next/static/chunks/2f236954d6a65e12.js"],"OutletBoundary"]
3
  3:"$Sreact.suspense"
4
- 0:{"buildId":"8Xo6db7R6V3KHGucdJovV","rsc":["$","$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,["$","$L2",null,{"children":["$","$3",null,{"name":"Next.MetadataOutlet","children":"$@4"}]}]]}],"loading":null,"isPartial":false}
5
  4:null
 
1
  1:"$Sreact.fragment"
2
  2:I[97367,["/_next/static/chunks/2f236954d6a65e12.js"],"OutletBoundary"]
3
  3:"$Sreact.suspense"
4
+ 0:{"buildId":"ZsJf_7rnwZ9CDNqs2HjYi","rsc":["$","$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,["$","$L2",null,{"children":["$","$3",null,{"name":"Next.MetadataOutlet","children":"$@4"}]}]]}],"loading":null,"isPartial":false}
5
  4:null
_not-found/__next._not-found.txt CHANGED
@@ -1,4 +1,4 @@
1
  1:"$Sreact.fragment"
2
  2:I[39756,["/_next/static/chunks/2f236954d6a65e12.js"],"default"]
3
  3:I[37457,["/_next/static/chunks/2f236954d6a65e12.js"],"default"]
4
- 0:{"buildId":"8Xo6db7R6V3KHGucdJovV","rsc":["$","$1","c",{"children":[null,["$","$L2",null,{"parallelRouterKey":"children","template":["$","$L3",null,{}]}]]}],"loading":null,"isPartial":false}
 
1
  1:"$Sreact.fragment"
2
  2:I[39756,["/_next/static/chunks/2f236954d6a65e12.js"],"default"]
3
  3:I[37457,["/_next/static/chunks/2f236954d6a65e12.js"],"default"]
4
+ 0:{"buildId":"ZsJf_7rnwZ9CDNqs2HjYi","rsc":["$","$1","c",{"children":[null,["$","$L2",null,{"parallelRouterKey":"children","template":["$","$L3",null,{}]}]]}],"loading":null,"isPartial":false}
_not-found/__next._tree.txt CHANGED
@@ -1,2 +1,2 @@
1
- :HL["/_next/static/chunks/843c3cca5afc4244.css","style"]
2
- 0:{"buildId":"8Xo6db7R6V3KHGucdJovV","tree":{"name":"","paramType":null,"paramKey":"","hasRuntimePrefetch":false,"slots":{"children":{"name":"/_not-found","paramType":null,"paramKey":"/_not-found","hasRuntimePrefetch":false,"slots":{"children":{"name":"__PAGE__","paramType":null,"paramKey":"__PAGE__","hasRuntimePrefetch":false,"slots":null,"isRootLayout":false}},"isRootLayout":false}},"isRootLayout":true},"staleTime":300}
 
1
+ :HL["/_next/static/chunks/5bd1f1e2e4e46abf.css","style"]
2
+ 0:{"buildId":"ZsJf_7rnwZ9CDNqs2HjYi","tree":{"name":"","paramType":null,"paramKey":"","hasRuntimePrefetch":false,"slots":{"children":{"name":"/_not-found","paramType":null,"paramKey":"/_not-found","hasRuntimePrefetch":false,"slots":{"children":{"name":"__PAGE__","paramType":null,"paramKey":"__PAGE__","hasRuntimePrefetch":false,"slots":null,"isRootLayout":false}},"isRootLayout":false}},"isRootLayout":true},"staleTime":300}
index.html CHANGED
@@ -1 +1 @@
1
- <!DOCTYPE html><!--8Xo6db7R6V3KHGucdJovV--><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" href="/_next/static/media/caa3a2e1cccd8315-s.p.853070df.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="stylesheet" href="/_next/static/chunks/843c3cca5afc4244.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/4b9eae0c8dc7e975.js"/><script src="/_next/static/chunks/f2f58a7e93290fbb.js" async=""></script><script src="/_next/static/chunks/6eb1bac6b57023f6.js" async=""></script><script src="/_next/static/chunks/turbopack-da1d1c3932c9a2c7.js" async=""></script><script src="/_next/static/chunks/2f236954d6a65e12.js" async=""></script><script src="/_next/static/chunks/bfbe13159f1fe460.js" async=""></script><meta name="next-size-adjust" content=""/><title>YOLO26 Rust WASM Demo</title><meta name="description" content="Browser-based object detection powered by Rust and WebAssembly"/><script src="/_next/static/chunks/a6dad97d9634a72d.js" noModule=""></script></head><body class="geist_a71539c9-module__T19VSG__variable antialiased"><div hidden=""><!--$--><!--/$--></div><main class="mx-auto flex h-[100dvh] max-w-6xl flex-col px-6 py-6 sm:px-10 sm:py-10"><div class="shrink-0"><h1 class="text-[28px] font-semibold leading-tight text-[#0e1726] sm:text-[36px]">YOLO26 <span class="text-[#1a4a8f]">Rust WASM</span></h1><p class="mt-1 text-[15px] text-[#6b7a8d]">Browser-based object detection powered by Rust and WebAssembly</p></div><div class="mt-5 flex h-10 shrink-0 items-center gap-4"><div class="min-w-0 flex-1 truncate rounded-lg px-4 py-2 text-[13px] font-medium transition-colors bg-[#f4f6f8] text-[#6b7a8d]" title="Loading...">Loading...</div><div class="flex items-center gap-3"><label for="model-size" class="text-[14px] font-medium text-[#0e1726]/70">Model</label><select id="model-size" disabled="" class="h-8 rounded-md border border-[#e2e6eb] bg-white px-2 text-[14px] text-[#0e1726] disabled:cursor-not-allowed disabled:opacity-50"><option value="n" selected="">Nano (n)</option><option value="s">Small (s)</option><option value="m">Medium (m)</option><option value="l">Large (l)</option><option value="x">XLarge (x)</option></select></div><label class="inline-flex shrink-0 cursor-pointer items-center rounded-full px-5 py-2 text-[14px] font-semibold transition-colors cursor-not-allowed bg-[#e2e6eb] text-[#6b7a8d]/50">Select Image<input type="file" accept="image/*" disabled="" class="sr-only"/></label><div class="flex items-center gap-3"><label for="conf-slider" class="text-[14px] font-medium text-[#0e1726]/70">Confidence</label><input id="conf-slider" type="range" min="0.05" max="1.0" step="0.05" class="h-1.5 w-40 cursor-pointer appearance-none rounded-full bg-[#e2e6eb] accent-[#1a4a8f]" value="0.25"/><span class="min-w-[2.5rem] text-[14px] tabular-nums text-[#6b7a8d]">0.25</span></div></div><div class="mt-5 grid min-h-0 flex-1 grid-cols-1 grid-rows-[1fr] gap-5 lg:grid-cols-[1fr_320px]"><div class="min-h-0 overflow-hidden"><div class="flex h-full min-h-[280px] items-center justify-center rounded-2xl border-2 border-dashed text-[15px] transition-colors border-[#e2e6eb] text-[#6b7a8d]">Drop an image here to get started</div></div><div class="flex h-full flex-col overflow-hidden rounded-2xl border border-[#e2e6eb] bg-white"><div class="shrink-0 border-b border-[#e2e6eb] px-4 py-2.5"><span class="text-[14px] font-semibold text-[#6b7a8d]/60">Detections</span></div><div class="min-h-0 flex-1 overflow-y-auto"><div class="flex h-full items-center justify-center px-4 py-8 text-[13px] text-[#6b7a8d]/60">Select an image to detect objects</div></div></div></div></main><!--$--><!--/$--><script src="/_next/static/chunks/4b9eae0c8dc7e975.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[39756,[\"/_next/static/chunks/2f236954d6a65e12.js\"],\"default\"]\n3:I[37457,[\"/_next/static/chunks/2f236954d6a65e12.js\"],\"default\"]\n4:I[47257,[\"/_next/static/chunks/2f236954d6a65e12.js\"],\"ClientPageRoot\"]\n5:I[52683,[\"/_next/static/chunks/bfbe13159f1fe460.js\"],\"default\"]\n8:I[97367,[\"/_next/static/chunks/2f236954d6a65e12.js\"],\"OutletBoundary\"]\n9:\"$Sreact.suspense\"\nb:I[97367,[\"/_next/static/chunks/2f236954d6a65e12.js\"],\"ViewportBoundary\"]\nd:I[97367,[\"/_next/static/chunks/2f236954d6a65e12.js\"],\"MetadataBoundary\"]\nf:I[68027,[\"/_next/static/chunks/2f236954d6a65e12.js\"],\"default\"]\n:HL[\"/_next/static/chunks/843c3cca5afc4244.css\",\"style\"]\n:HL[\"/_next/static/media/caa3a2e1cccd8315-s.p.853070df.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"b\":\"8Xo6db7R6V3KHGucdJovV\",\"c\":[\"\",\"\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"__PAGE__\",{}]},\"$undefined\",\"$undefined\",true],[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/843c3cca5afc4244.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[\"$\",\"body\",null,{\"className\":\"geist_a71539c9-module__T19VSG__variable antialiased\",\"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\"}]}]}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[[\"$\",\"$L4\",null,{\"Component\":\"$5\",\"serverProvidedParams\":{\"searchParams\":{},\"params\":{},\"promises\":[\"$@6\",\"$@7\"]}}],[[\"$\",\"script\",\"script-0\",{\"src\":\"/_next/static/chunks/bfbe13159f1fe460.js\",\"async\":true,\"nonce\":\"$undefined\"}]],[\"$\",\"$L8\",null,{\"children\":[\"$\",\"$9\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@a\"}]}]]}],{},null,false,false]},null,false,false],[\"$\",\"$1\",\"h\",{\"children\":[null,[\"$\",\"$Lb\",null,{\"children\":\"$Lc\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$Ld\",null,{\"children\":[\"$\",\"$9\",null,{\"name\":\"Next.Metadata\",\"children\":\"$Le\"}]}]}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$f\",[]],\"S\":true}\n"])</script><script>self.__next_f.push([1,"6:{}\n7:\"$0:f:0:1:1:children:0:props:children:0:props:serverProvidedParams:params\"\n"])</script><script>self.__next_f.push([1,"c:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n"])</script><script>self.__next_f.push([1,"a:null\ne:[[\"$\",\"title\",\"0\",{\"children\":\"YOLO26 Rust WASM Demo\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"Browser-based object detection powered by Rust and WebAssembly\"}]]\n"])</script></body></html>
 
1
+ <!DOCTYPE html><!--ZsJf_7rnwZ9CDNqs2HjYi--><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" href="/_next/static/media/caa3a2e1cccd8315-s.p.853070df.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="stylesheet" href="/_next/static/chunks/5bd1f1e2e4e46abf.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/4b9eae0c8dc7e975.js"/><script src="/_next/static/chunks/f2f58a7e93290fbb.js" async=""></script><script src="/_next/static/chunks/6eb1bac6b57023f6.js" async=""></script><script src="/_next/static/chunks/turbopack-da1d1c3932c9a2c7.js" async=""></script><script src="/_next/static/chunks/2f236954d6a65e12.js" async=""></script><script src="/_next/static/chunks/ffbf2fb290abbae1.js" async=""></script><meta name="next-size-adjust" content=""/><title>YOLO26 Rust WASM Demo</title><meta name="description" content="Browser-based object detection powered by Rust and WebAssembly"/><script src="/_next/static/chunks/a6dad97d9634a72d.js" noModule=""></script></head><body class="geist_a71539c9-module__T19VSG__variable antialiased"><div hidden=""><!--$--><!--/$--></div><main class="mx-auto flex h-[100dvh] max-w-6xl flex-col px-6 py-6 sm:px-10 sm:py-10"><div class="shrink-0"><h1 class="text-[28px] font-semibold leading-tight text-[#0e1726] sm:text-[36px]">YOLO26 <span class="text-[#1a4a8f]">Rust WASM</span></h1><p class="mt-1 text-[15px] text-[#6b7a8d]">Browser-based object detection powered by Rust and WebAssembly</p></div><div class="mt-5 flex h-10 shrink-0 items-center gap-4"><select disabled="" class="h-full rounded-lg border border-[#e2e6eb] bg-white px-3 text-[14px] font-medium text-[#0e1726] transition-colors hover:border-[#1a4a8f] focus:border-[#1a4a8f] focus:outline-none disabled:cursor-not-allowed disabled:opacity-50"><option value="yolo26n" selected="">YOLO26N</option><option value="yolo26s">YOLO26S</option><option value="yolo26m">YOLO26M</option><option value="yolo26l">YOLO26L</option><option value="yolo26x">YOLO26X</option></select><div class="min-w-0 flex-1 truncate rounded-lg px-4 py-2 text-[13px] font-medium transition-colors bg-[#f4f6f8] text-[#6b7a8d]" title="Loading...">Loading...</div><label class="inline-flex shrink-0 cursor-pointer items-center rounded-full px-5 py-2 text-[14px] font-semibold transition-colors cursor-not-allowed bg-[#e2e6eb] text-[#6b7a8d]/50">Select Image<input type="file" accept="image/*" disabled="" class="sr-only"/></label><div class="flex items-center gap-3"><label for="conf-slider" class="text-[14px] font-medium text-[#0e1726]/70">Confidence</label><input id="conf-slider" type="range" min="0.05" max="1.0" step="0.05" class="h-1.5 w-40 cursor-pointer appearance-none rounded-full bg-[#e2e6eb] accent-[#1a4a8f]" value="0.25"/><span class="min-w-[2.5rem] text-[14px] tabular-nums text-[#6b7a8d]">0.25</span></div></div><div class="mt-5 grid min-h-0 flex-1 grid-cols-1 grid-rows-[1fr] gap-5 lg:grid-cols-[1fr_320px]"><div class="min-h-0 overflow-hidden"><div class="flex h-full min-h-[280px] items-center justify-center rounded-2xl border-2 border-dashed text-[15px] transition-colors border-[#e2e6eb] text-[#6b7a8d]">Drop an image here to get started</div></div><div class="flex h-full flex-col overflow-hidden rounded-2xl border border-[#e2e6eb] bg-white"><div class="shrink-0 border-b border-[#e2e6eb] px-4 py-2.5"><span class="text-[14px] font-semibold text-[#6b7a8d]/60">Detections</span></div><div class="min-h-0 flex-1 overflow-y-auto"><div class="flex h-full items-center justify-center px-4 py-8 text-[13px] text-[#6b7a8d]/60">Select an image to detect objects</div></div></div></div></main><!--$--><!--/$--><script src="/_next/static/chunks/4b9eae0c8dc7e975.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[39756,[\"/_next/static/chunks/2f236954d6a65e12.js\"],\"default\"]\n3:I[37457,[\"/_next/static/chunks/2f236954d6a65e12.js\"],\"default\"]\n4:I[47257,[\"/_next/static/chunks/2f236954d6a65e12.js\"],\"ClientPageRoot\"]\n5:I[52683,[\"/_next/static/chunks/ffbf2fb290abbae1.js\"],\"default\"]\n8:I[97367,[\"/_next/static/chunks/2f236954d6a65e12.js\"],\"OutletBoundary\"]\n9:\"$Sreact.suspense\"\nb:I[97367,[\"/_next/static/chunks/2f236954d6a65e12.js\"],\"ViewportBoundary\"]\nd:I[97367,[\"/_next/static/chunks/2f236954d6a65e12.js\"],\"MetadataBoundary\"]\nf:I[68027,[\"/_next/static/chunks/2f236954d6a65e12.js\"],\"default\"]\n:HL[\"/_next/static/chunks/5bd1f1e2e4e46abf.css\",\"style\"]\n:HL[\"/_next/static/media/caa3a2e1cccd8315-s.p.853070df.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"b\":\"ZsJf_7rnwZ9CDNqs2HjYi\",\"c\":[\"\",\"\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"__PAGE__\",{}]},\"$undefined\",\"$undefined\",true],[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/5bd1f1e2e4e46abf.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[\"$\",\"body\",null,{\"className\":\"geist_a71539c9-module__T19VSG__variable antialiased\",\"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\"}]}]}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[[\"$\",\"$L4\",null,{\"Component\":\"$5\",\"serverProvidedParams\":{\"searchParams\":{},\"params\":{},\"promises\":[\"$@6\",\"$@7\"]}}],[[\"$\",\"script\",\"script-0\",{\"src\":\"/_next/static/chunks/ffbf2fb290abbae1.js\",\"async\":true,\"nonce\":\"$undefined\"}]],[\"$\",\"$L8\",null,{\"children\":[\"$\",\"$9\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@a\"}]}]]}],{},null,false,false]},null,false,false],[\"$\",\"$1\",\"h\",{\"children\":[null,[\"$\",\"$Lb\",null,{\"children\":\"$Lc\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$Ld\",null,{\"children\":[\"$\",\"$9\",null,{\"name\":\"Next.Metadata\",\"children\":\"$Le\"}]}]}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$f\",[]],\"S\":true}\n"])</script><script>self.__next_f.push([1,"6:{}\n7:\"$0:f:0:1:1:children:0:props:children:0:props:serverProvidedParams:params\"\n"])</script><script>self.__next_f.push([1,"c:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n"])</script><script>self.__next_f.push([1,"a:null\ne:[[\"$\",\"title\",\"0\",{\"children\":\"YOLO26 Rust WASM Demo\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"Browser-based object detection powered by Rust and WebAssembly\"}]]\n"])</script></body></html>
index.txt CHANGED
@@ -2,15 +2,15 @@
2
  2:I[39756,["/_next/static/chunks/2f236954d6a65e12.js"],"default"]
3
  3:I[37457,["/_next/static/chunks/2f236954d6a65e12.js"],"default"]
4
  4:I[47257,["/_next/static/chunks/2f236954d6a65e12.js"],"ClientPageRoot"]
5
- 5:I[52683,["/_next/static/chunks/bfbe13159f1fe460.js"],"default"]
6
  8:I[97367,["/_next/static/chunks/2f236954d6a65e12.js"],"OutletBoundary"]
7
  9:"$Sreact.suspense"
8
  b:I[97367,["/_next/static/chunks/2f236954d6a65e12.js"],"ViewportBoundary"]
9
  d:I[97367,["/_next/static/chunks/2f236954d6a65e12.js"],"MetadataBoundary"]
10
  f:I[68027,["/_next/static/chunks/2f236954d6a65e12.js"],"default"]
11
- :HL["/_next/static/chunks/843c3cca5afc4244.css","style"]
12
  :HL["/_next/static/media/caa3a2e1cccd8315-s.p.853070df.woff2","font",{"crossOrigin":"","type":"font/woff2"}]
13
- 0:{"P":null,"b":"8Xo6db7R6V3KHGucdJovV","c":["",""],"q":"","i":false,"f":[[["",{"children":["__PAGE__",{}]},"$undefined","$undefined",true],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/843c3cca5afc4244.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","children":["$","body",null,{"className":"geist_a71539c9-module__T19VSG__variable antialiased","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"}]}]}]]}],{"children":[["$","$1","c",{"children":[["$","$L4",null,{"Component":"$5","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@6","$@7"]}}],[["$","script","script-0",{"src":"/_next/static/chunks/bfbe13159f1fe460.js","async":true,"nonce":"$undefined"}]],["$","$L8",null,{"children":["$","$9",null,{"name":"Next.MetadataOutlet","children":"$@a"}]}]]}],{},null,false,false]},null,false,false],["$","$1","h",{"children":[null,["$","$Lb",null,{"children":"$Lc"}],["$","div",null,{"hidden":true,"children":["$","$Ld",null,{"children":["$","$9",null,{"name":"Next.Metadata","children":"$Le"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],false]],"m":"$undefined","G":["$f",[]],"S":true}
14
  6:{}
15
  7:"$0:f:0:1:1:children:0:props:children:0:props:serverProvidedParams:params"
16
  c:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]
 
2
  2:I[39756,["/_next/static/chunks/2f236954d6a65e12.js"],"default"]
3
  3:I[37457,["/_next/static/chunks/2f236954d6a65e12.js"],"default"]
4
  4:I[47257,["/_next/static/chunks/2f236954d6a65e12.js"],"ClientPageRoot"]
5
+ 5:I[52683,["/_next/static/chunks/ffbf2fb290abbae1.js"],"default"]
6
  8:I[97367,["/_next/static/chunks/2f236954d6a65e12.js"],"OutletBoundary"]
7
  9:"$Sreact.suspense"
8
  b:I[97367,["/_next/static/chunks/2f236954d6a65e12.js"],"ViewportBoundary"]
9
  d:I[97367,["/_next/static/chunks/2f236954d6a65e12.js"],"MetadataBoundary"]
10
  f:I[68027,["/_next/static/chunks/2f236954d6a65e12.js"],"default"]
11
+ :HL["/_next/static/chunks/5bd1f1e2e4e46abf.css","style"]
12
  :HL["/_next/static/media/caa3a2e1cccd8315-s.p.853070df.woff2","font",{"crossOrigin":"","type":"font/woff2"}]
13
+ 0:{"P":null,"b":"ZsJf_7rnwZ9CDNqs2HjYi","c":["",""],"q":"","i":false,"f":[[["",{"children":["__PAGE__",{}]},"$undefined","$undefined",true],[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/5bd1f1e2e4e46abf.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","children":["$","body",null,{"className":"geist_a71539c9-module__T19VSG__variable antialiased","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"}]}]}]]}],{"children":[["$","$1","c",{"children":[["$","$L4",null,{"Component":"$5","serverProvidedParams":{"searchParams":{},"params":{},"promises":["$@6","$@7"]}}],[["$","script","script-0",{"src":"/_next/static/chunks/ffbf2fb290abbae1.js","async":true,"nonce":"$undefined"}]],["$","$L8",null,{"children":["$","$9",null,{"name":"Next.MetadataOutlet","children":"$@a"}]}]]}],{},null,false,false]},null,false,false],["$","$1","h",{"children":[null,["$","$Lb",null,{"children":"$Lc"}],["$","div",null,{"hidden":true,"children":["$","$Ld",null,{"children":["$","$9",null,{"name":"Next.Metadata","children":"$Le"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}],false]],"m":"$undefined","G":["$f",[]],"S":true}
14
  6:{}
15
  7:"$0:f:0:1:1:children:0:props:children:0:props:serverProvidedParams:params"
16
  c:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]
wasm/yolo26_rust_wasm.js CHANGED
@@ -2,7 +2,6 @@
2
 
3
  /**
4
  * Run inference on RGBA pixels. Returns JSON string with detections.
5
- * The web app passes confidence_threshold=0.0 and filters in JS.
6
  * @param {Uint8Array} pixels
7
  * @param {number} width
8
  * @param {number} height
@@ -32,15 +31,14 @@ export function detect(pixels, width, height, confidence_threshold) {
32
 
33
  /**
34
  * Load SafeTensors model bytes into memory.
35
- * `size` must be one of "n", "s", "m", "l", "x".
36
- * Can be called multiple times to switch model sizes.
37
  * @param {Uint8Array} weights
38
- * @param {string} size
39
  */
40
- export function init_model(weights, size) {
41
  const ptr0 = passArray8ToWasm0(weights, wasm.__wbindgen_malloc);
42
  const len0 = WASM_VECTOR_LEN;
43
- const ptr1 = passStringToWasm0(size, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
44
  const len1 = WASM_VECTOR_LEN;
45
  const ret = wasm.init_model(ptr0, len0, ptr1, len1);
46
  if (ret[1]) {
 
2
 
3
  /**
4
  * Run inference on RGBA pixels. Returns JSON string with detections.
 
5
  * @param {Uint8Array} pixels
6
  * @param {number} width
7
  * @param {number} height
 
31
 
32
  /**
33
  * Load SafeTensors model bytes into memory.
34
+ * `model_name` identifies the scale: "yolo26n", "yolo26s", "yolo26m", "yolo26l", "yolo26x".
 
35
  * @param {Uint8Array} weights
36
+ * @param {string} model_name
37
  */
38
+ export function init_model(weights, model_name) {
39
  const ptr0 = passArray8ToWasm0(weights, wasm.__wbindgen_malloc);
40
  const len0 = WASM_VECTOR_LEN;
41
+ const ptr1 = passStringToWasm0(model_name, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
42
  const len1 = WASM_VECTOR_LEN;
43
  const ret = wasm.init_model(ptr0, len0, ptr1, len1);
44
  if (ret[1]) {
wasm/yolo26_rust_wasm_bg.wasm CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:c82591ff2f47afc5c42a286b4178705c563200c15d002b752f8c532dac79c2fd
3
- size 1245655
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e414b349f915398651c469779f6b466b3f8ef7749d0cf0498234758abb39f669
3
+ size 1245755