Spaces:
Running
Running
chore: update config
Browse files- 404.html +1 -1
- _next/static/{OONzmXVj5KVdSpNq9-8i8 → 9lQJOZZFM_jLyFF1q57pI}/_buildManifest.js +0 -0
- _next/static/{OONzmXVj5KVdSpNq9-8i8 → 9lQJOZZFM_jLyFF1q57pI}/_ssgManifest.js +0 -0
- _next/static/chunks/858.c90b9b067f35e0c8.js +1 -0
- _next/static/chunks/858.e5d98afb89b78044.js +0 -1
- _next/static/chunks/{430.56738f887356aa17.js → 960.b076f43b72fa5d14.js} +0 -0
- _next/static/chunks/{653-9fb366c8a2b3b64a.js → 994-ec8a144ab90756cd.js} +0 -0
- _next/static/chunks/app/(model)/{layout-6b52a26530010a98.js → layout-935f9533cc1e5305.js} +1 -1
- _next/static/chunks/app/(model)/nllb/{page-0289fdaf2dda2bd2.js → page-9e70ef0f91cf3446.js} +1 -1
- _next/static/chunks/app/layout-235e01b322a4eb65.js +1 -0
- _next/static/chunks/app/layout-437194cf8d85f4ca.js +0 -1
- _next/static/chunks/{webpack-ef8a5244f1ffd88e.js → webpack-fc5e4499863e27bc.js} +1 -1
- _next/static/css/611e16be65383aa2.css +1 -0
- index.html +1 -1
- index.txt +3 -3
- nllb.html +18 -7
- nllb.txt +5 -5
- sw.js +1 -1
404.html
CHANGED
@@ -1 +1 @@
|
|
1 |
-
<!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/_next/static/css/c07dfed9e589ce2b.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-ef8a5244f1ffd88e.js"/><script src="/_next/static/chunks/fd9d1056-8fba21ecb5fa45b6.js" async=""></script><script src="/_next/static/chunks/190-b17f3b7cfaa2c9b9.js" async=""></script><script src="/_next/static/chunks/main-app-fa52e3055e2c0d83.js" async=""></script><script src="/_next/static/chunks/143-b2f43c0350b073e9.js" async=""></script><script src="/_next/static/chunks/107-59649a4e83c4727c.js" async=""></script><script src="/_next/static/chunks/app/layout-437194cf8d85f4ca.js" async=""></script><title>404: This page could not be found.</title><title>Translator demo app built with Transformers.js + Tamagui + Next.js</title><meta name="description" content="Translator demo app built with Transformer.js + Tamagui + Next.js"/><meta name="application-name" content="Translator Demo"/><link rel="manifest" href="/manifest.json" crossorigin="use-credentials"/><meta name="keywords" content="Translator,Transformers.js,Next.js,Tamagui"/><meta name="format-detection" content="telephone=no"/><meta name="apple-mobile-web-app-capable" content="yes"/><meta name="apple-mobile-web-app-title" content="Translator demo app built with Transformers.js + Tamagui + Next.js"/><meta name="apple-mobile-web-app-status-bar-style" content="default"/><meta property="og:title" content="Translator demo app built with Transformers.js + Tamagui + Next.js"/><meta property="og:description" content="Translator demo app built with Transformer.js + Tamagui + Next.js"/><meta property="og:url" content="https://hf.co/spaces/huuquyet/translator-tamagui/"/><meta property="og:site_name" content="Translator Demo"/><meta property="og:image" content="https://${process.env.vercel_url}/icon/share.png"/><meta property="og:type" content="website"/><meta name="twitter:card" content="summary"/><meta name="twitter:site" content="@HuuQuyetNg"/><meta name="twitter:title" content="Translator demo app built with Transformers.js + Tamagui + Next.js"/><meta name="twitter:description" content="Translator demo app built with Transformer.js + Tamagui + Next.js"/><meta name="twitter:image" content="https://${process.env.vercel_url}/icon/share.png"/><script src="/_next/static/chunks/polyfills-78c92fac7aa8fdd8.js" noModule=""></script><style></style></head><body><span class="t_light is_inversed _dsp_contents"><span class=" t_light _dsp_contents is_Theme" style="color:var(--color)"><div style="font-family:system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";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></span></span><!--$!--><template data-dgst="BAILOUT_TO_CLIENT_SIDE_RENDERING"></template><!--/$--><script src="/_next/static/chunks/webpack-ef8a5244f1ffd88e.js" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0]);self.__next_f.push([2,null])</script><script>self.__next_f.push([1,"1:HL[\"/_next/static/css/c07dfed9e589ce2b.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"2:I[5751,[],\"\"]\n4:I[9275,[],\"\"]\n5:I[1343,[],\"\"]\n6:I[6657,[\"143\",\"static/chunks/143-b2f43c0350b073e9.js\",\"107\",\"static/chunks/107-59649a4e83c4727c.js\",\"185\",\"static/chunks/app/layout-437194cf8d85f4ca.js\"],\"default\"]\nb:I[2944,[\"143\",\"static/chunks/143-b2f43c0350b073e9.js\",\"107\",\"static/chunks/107-59649a4e83c4727c.js\",\"185\",\"static/chunks/app/layout-437194cf8d85f4ca.js\"],\"Analytics\"]\nd:I[6130,[],\"\"]\n7:{\"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\"}\n8:{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"}\n9:{\"display\":\"inline-block\"}\na:{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0}\ne:[]\n"])</script><script>self.__next_f.push([1,"0:[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/c07dfed9e589ce2b.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}]],[\"$\",\"$L2\",null,{\"buildId\":\"OONzmXVj5KVdSpNq9-8i8\",\"assetPrefix\":\"\",\"initialCanonicalUrl\":\"/_not-found\",\"initialTree\":[\"\",{\"children\":[\"/_not-found\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",true],\"initialSeedData\":[\"\",{\"children\":[\"/_not-found\",{\"children\":[\"__PAGE__\",{},[[\"$L3\",[[\"$\",\"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],null]},[\"$\",\"$L4\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"/_not-found\",\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L5\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"notFoundStyles\":\"$undefined\",\"styles\":null}],null]},[[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[[\"$\",\"head\",null,{}],[\"$\",\"body\",null,{\"children\":[[\"$\",\"$L6\",null,{\"children\":[\"$\",\"$L4\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L5\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":\"$7\",\"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\":\"$8\",\"children\":\"404\"}],[\"$\",\"div\",null,{\"style\":\"$9\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$a\",\"children\":\"This page could not be found.\"}]}]]}]}]],\"notFoundStyles\":[],\"styles\":null}]}],[\"$\",\"$Lb\",null,{}]]}]]}],null],null],\"couldBeIntercepted\":false,\"initialHead\":[false,\"$Lc\"],\"globalErrorComponent\":\"$d\",\"missingSlots\":\"$We\"}]]\n"])</script><script>self.__next_f.push([1,"c:[[\"$\",\"meta\",\"0\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}],[\"$\",\"meta\",\"1\",{\"charSet\":\"utf-8\"}],[\"$\",\"title\",\"2\",{\"children\":\"Translator demo app built with Transformers.js + Tamagui + Next.js\"}],[\"$\",\"meta\",\"3\",{\"name\":\"description\",\"content\":\"Translator demo app built with Transformer.js + Tamagui + Next.js\"}],[\"$\",\"meta\",\"4\",{\"name\":\"application-name\",\"content\":\"Translator Demo\"}],[\"$\",\"link\",\"5\",{\"rel\":\"manifest\",\"href\":\"/manifest.json\",\"crossOrigin\":\"use-credentials\"}],[\"$\",\"meta\",\"6\",{\"name\":\"keywords\",\"content\":\"Translator,Transformers.js,Next.js,Tamagui\"}],[\"$\",\"meta\",\"7\",{\"name\":\"format-detection\",\"content\":\"telephone=no\"}],[\"$\",\"meta\",\"8\",{\"name\":\"apple-mobile-web-app-capable\",\"content\":\"yes\"}],[\"$\",\"meta\",\"9\",{\"name\":\"apple-mobile-web-app-title\",\"content\":\"Translator demo app built with Transformers.js + Tamagui + Next.js\"}],[\"$\",\"meta\",\"10\",{\"name\":\"apple-mobile-web-app-status-bar-style\",\"content\":\"default\"}],[\"$\",\"meta\",\"11\",{\"property\":\"og:title\",\"content\":\"Translator demo app built with Transformers.js + Tamagui + Next.js\"}],[\"$\",\"meta\",\"12\",{\"property\":\"og:description\",\"content\":\"Translator demo app built with Transformer.js + Tamagui + Next.js\"}],[\"$\",\"meta\",\"13\",{\"property\":\"og:url\",\"content\":\"https://hf.co/spaces/huuquyet/translator-tamagui/\"}],[\"$\",\"meta\",\"14\",{\"property\":\"og:site_name\",\"content\":\"Translator Demo\"}],[\"$\",\"meta\",\"15\",{\"property\":\"og:image\",\"content\":\"https://${process.env.vercel_url}/icon/share.png\"}],[\"$\",\"meta\",\"16\",{\"property\":\"og:type\",\"content\":\"website\"}],[\"$\",\"meta\",\"17\",{\"name\":\"twitter:card\",\"content\":\"summary\"}],[\"$\",\"meta\",\"18\",{\"name\":\"twitter:site\",\"content\":\"@HuuQuyetNg\"}],[\"$\",\"meta\",\"19\",{\"name\":\"twitter:title\",\"content\":\"Translator demo app built with Transformers.js + Tamagui + Next.js\"}],[\"$\",\"meta\",\"20\",{\"name\":\"twitter:description\",\"content\":\"Translator demo app built with Transformer.js + Tamagui + Next.js\"}],[\"$\",\"meta\",\"21\",{\"name\":\"twitter:image\",\"content\":\"https://${process.env.vercel_url}/icon/share.png\"}]]\n3:null\n"])</script></body></html><style></style>
|
|
|
1 |
+
<!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/_next/static/css/611e16be65383aa2.css" data-precedence="next"/><link rel="stylesheet" href="/_next/static/css/c07dfed9e589ce2b.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-fc5e4499863e27bc.js"/><script src="/_next/static/chunks/fd9d1056-8fba21ecb5fa45b6.js" async=""></script><script src="/_next/static/chunks/190-b17f3b7cfaa2c9b9.js" async=""></script><script src="/_next/static/chunks/main-app-fa52e3055e2c0d83.js" async=""></script><script src="/_next/static/chunks/143-b2f43c0350b073e9.js" async=""></script><script src="/_next/static/chunks/107-59649a4e83c4727c.js" async=""></script><script src="/_next/static/chunks/app/layout-235e01b322a4eb65.js" async=""></script><title>404: This page could not be found.</title><title>Translator demo app built with Transformers.js + Tamagui + Next.js</title><meta name="description" content="Translator demo app built with Transformer.js + Tamagui + Next.js"/><meta name="application-name" content="Translator Demo"/><link rel="manifest" href="/manifest.json" crossorigin="use-credentials"/><meta name="keywords" content="Translator,Transformers.js,Next.js,Tamagui"/><meta name="format-detection" content="telephone=no"/><meta name="apple-mobile-web-app-capable" content="yes"/><meta name="apple-mobile-web-app-title" content="Translator demo app built with Transformers.js + Tamagui + Next.js"/><meta name="apple-mobile-web-app-status-bar-style" content="default"/><meta property="og:title" content="Translator demo app built with Transformers.js + Tamagui + Next.js"/><meta property="og:description" content="Translator demo app built with Transformer.js + Tamagui + Next.js"/><meta property="og:url" content="https://hf.co/spaces/huuquyet/translator-tamagui/"/><meta property="og:site_name" content="Translator Demo"/><meta property="og:image" content="https://${process.env.vercel_url}/icon/share.png"/><meta property="og:type" content="website"/><meta name="twitter:card" content="summary"/><meta name="twitter:site" content="@HuuQuyetNg"/><meta name="twitter:title" content="Translator demo app built with Transformers.js + Tamagui + Next.js"/><meta name="twitter:description" content="Translator demo app built with Transformer.js + Tamagui + Next.js"/><meta name="twitter:image" content="https://${process.env.vercel_url}/icon/share.png"/><script src="/_next/static/chunks/polyfills-78c92fac7aa8fdd8.js" noModule=""></script><style></style></head><body><span class="t_light is_inversed _dsp_contents"><span class=" t_light _dsp_contents is_Theme" style="color:var(--color)"><div style="font-family:system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";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></span></span><!--$!--><template data-dgst="BAILOUT_TO_CLIENT_SIDE_RENDERING"></template><!--/$--><script src="/_next/static/chunks/webpack-fc5e4499863e27bc.js" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0]);self.__next_f.push([2,null])</script><script>self.__next_f.push([1,"1:HL[\"/_next/static/css/611e16be65383aa2.css\",\"style\"]\n2:HL[\"/_next/static/css/c07dfed9e589ce2b.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"3:I[5751,[],\"\"]\n5:I[9275,[],\"\"]\n6:I[1343,[],\"\"]\n7:I[6657,[\"143\",\"static/chunks/143-b2f43c0350b073e9.js\",\"107\",\"static/chunks/107-59649a4e83c4727c.js\",\"185\",\"static/chunks/app/layout-235e01b322a4eb65.js\"],\"default\"]\nc:I[2944,[\"143\",\"static/chunks/143-b2f43c0350b073e9.js\",\"107\",\"static/chunks/107-59649a4e83c4727c.js\",\"185\",\"static/chunks/app/layout-235e01b322a4eb65.js\"],\"Analytics\"]\ne:I[6130,[],\"\"]\n8:{\"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\"}\n9:{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"}\na:{\"display\":\"inline-block\"}\nb:{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0}\nf:[]\n"])</script><script>self.__next_f.push([1,"0:[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/611e16be65383aa2.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}],[\"$\",\"link\",\"1\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/c07dfed9e589ce2b.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}]],[\"$\",\"$L3\",null,{\"buildId\":\"9lQJOZZFM_jLyFF1q57pI\",\"assetPrefix\":\"\",\"initialCanonicalUrl\":\"/_not-found\",\"initialTree\":[\"\",{\"children\":[\"/_not-found\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",true],\"initialSeedData\":[\"\",{\"children\":[\"/_not-found\",{\"children\":[\"__PAGE__\",{},[[\"$L4\",[[\"$\",\"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],null]},[\"$\",\"$L5\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"/_not-found\",\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L6\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"notFoundStyles\":\"$undefined\",\"styles\":null}],null]},[[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[[\"$\",\"head\",null,{}],[\"$\",\"body\",null,{\"children\":[[\"$\",\"$L7\",null,{\"children\":[\"$\",\"$L5\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L6\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":\"$8\",\"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\":\"$9\",\"children\":\"404\"}],[\"$\",\"div\",null,{\"style\":\"$a\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$b\",\"children\":\"This page could not be found.\"}]}]]}]}]],\"notFoundStyles\":[],\"styles\":null}]}],[\"$\",\"$Lc\",null,{}]]}]]}],null],null],\"couldBeIntercepted\":false,\"initialHead\":[false,\"$Ld\"],\"globalErrorComponent\":\"$e\",\"missingSlots\":\"$Wf\"}]]\n"])</script><script>self.__next_f.push([1,"d:[[\"$\",\"meta\",\"0\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}],[\"$\",\"meta\",\"1\",{\"charSet\":\"utf-8\"}],[\"$\",\"title\",\"2\",{\"children\":\"Translator demo app built with Transformers.js + Tamagui + Next.js\"}],[\"$\",\"meta\",\"3\",{\"name\":\"description\",\"content\":\"Translator demo app built with Transformer.js + Tamagui + Next.js\"}],[\"$\",\"meta\",\"4\",{\"name\":\"application-name\",\"content\":\"Translator Demo\"}],[\"$\",\"link\",\"5\",{\"rel\":\"manifest\",\"href\":\"/manifest.json\",\"crossOrigin\":\"use-credentials\"}],[\"$\",\"meta\",\"6\",{\"name\":\"keywords\",\"content\":\"Translator,Transformers.js,Next.js,Tamagui\"}],[\"$\",\"meta\",\"7\",{\"name\":\"format-detection\",\"content\":\"telephone=no\"}],[\"$\",\"meta\",\"8\",{\"name\":\"apple-mobile-web-app-capable\",\"content\":\"yes\"}],[\"$\",\"meta\",\"9\",{\"name\":\"apple-mobile-web-app-title\",\"content\":\"Translator demo app built with Transformers.js + Tamagui + Next.js\"}],[\"$\",\"meta\",\"10\",{\"name\":\"apple-mobile-web-app-status-bar-style\",\"content\":\"default\"}],[\"$\",\"meta\",\"11\",{\"property\":\"og:title\",\"content\":\"Translator demo app built with Transformers.js + Tamagui + Next.js\"}],[\"$\",\"meta\",\"12\",{\"property\":\"og:description\",\"content\":\"Translator demo app built with Transformer.js + Tamagui + Next.js\"}],[\"$\",\"meta\",\"13\",{\"property\":\"og:url\",\"content\":\"https://hf.co/spaces/huuquyet/translator-tamagui/\"}],[\"$\",\"meta\",\"14\",{\"property\":\"og:site_name\",\"content\":\"Translator Demo\"}],[\"$\",\"meta\",\"15\",{\"property\":\"og:image\",\"content\":\"https://${process.env.vercel_url}/icon/share.png\"}],[\"$\",\"meta\",\"16\",{\"property\":\"og:type\",\"content\":\"website\"}],[\"$\",\"meta\",\"17\",{\"name\":\"twitter:card\",\"content\":\"summary\"}],[\"$\",\"meta\",\"18\",{\"name\":\"twitter:site\",\"content\":\"@HuuQuyetNg\"}],[\"$\",\"meta\",\"19\",{\"name\":\"twitter:title\",\"content\":\"Translator demo app built with Transformers.js + Tamagui + Next.js\"}],[\"$\",\"meta\",\"20\",{\"name\":\"twitter:description\",\"content\":\"Translator demo app built with Transformer.js + Tamagui + Next.js\"}],[\"$\",\"meta\",\"21\",{\"name\":\"twitter:image\",\"content\":\"https://${process.env.vercel_url}/icon/share.png\"}]]\n4:null\n"])</script></body></html><style></style>
|
_next/static/{OONzmXVj5KVdSpNq9-8i8 → 9lQJOZZFM_jLyFF1q57pI}/_buildManifest.js
RENAMED
File without changes
|
_next/static/{OONzmXVj5KVdSpNq9-8i8 → 9lQJOZZFM_jLyFF1q57pI}/_ssgManifest.js
RENAMED
File without changes
|
_next/static/chunks/858.c90b9b067f35e0c8.js
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[858],{495:function(){},7147:function(){},1418:function(){},8741:function(){},319:function(){},8386:function(){},3342:function(){},9750:function(a,n,t){"use strict";t.r(n),t.d(n,{default:function(){return S}});var e=t(2281),i=t(6916),r=t(9078),s=t(2265),_=t(5377),l=t(9175),o=t(6505),u=t(3187),c=t(2869),L=t(8030),h=t(1957),d=t(1569),b=t(1378),g=t(1217),m=t(4363),j=t(3370),k=t(8619);let p=a=>{let{type:n,onChange:t,defaultLanguage:i}=a;return(0,e.jsxs)(_.sL,{f:1,ai:"center",jc:"space-evenly",children:[(0,e.jsxs)(g.n,{children:[n,": "]}),(0,e.jsxs)(m.Ph,{onValueChange:t,defaultValue:i,children:[(0,e.jsx)(m.Ph.Trigger,{w:"$15",iconAfter:d._,children:(0,e.jsx)(m.Ph.Value,{placeholder:"Languages"})}),(0,e.jsx)(j.Tr,{when:"sm",platform:"touch",children:(0,e.jsxs)(k.yo,{native:!1,modal:!0,dismissOnSnapToBottom:!0,animation:"quick",children:[(0,e.jsx)(k.yo.Frame,{children:(0,e.jsx)(k.yo.ScrollView,{children:(0,e.jsx)(j.Tr.Contents,{})})}),(0,e.jsx)(k.yo.Overlay,{animation:"lazy",enterStyle:{opacity:0},exitStyle:{opacity:0}})]})}),(0,e.jsxs)(m.Ph.Content,{zIndex:2e5,children:[(0,e.jsxs)(m.Ph.ScrollUpButton,{ai:"center",jc:"center",pos:"relative",w:"100%",h:"$3",children:[(0,e.jsx)(_.FA,{zi:10,children:(0,e.jsx)(b.K,{size:20})}),(0,e.jsx)(L.o,{start:[0,0],end:[0,1],fullscreen:!0,colors:["$background","transparent"],br:"$4"})]}),(0,e.jsx)(m.Ph.Viewport,{minWidth:"$15",children:(0,e.jsxs)(m.Ph.Group,{children:[(0,e.jsx)(m.Ph.Label,{children:"Languages"}),Object.entries(y).map((a,n)=>{let[t,i]=a;return(0,e.jsxs)(m.Ph.Item,{index:n,value:i,children:[(0,e.jsx)(m.Ph.ItemText,{children:t}),(0,e.jsx)(m.Ph.ItemIndicator,{ml:"auto",children:(0,e.jsx)(h.J,{size:16})})]},t)})]})}),(0,e.jsxs)(m.Ph.ScrollDownButton,{ai:"center",jc:"center",pos:"relative",w:"100%",h:"$3",children:[(0,e.jsx)(_.FA,{zi:10,children:(0,e.jsx)(d._,{size:20})}),(0,e.jsx)(L.o,{start:[0,0],end:[0,1],fullscreen:!0,colors:["transparent","$background"],br:"$4"})]})]})]})]})},y={Vietnamese:"vie_Latn",English:"eng_Latn","Acehnese (Arabic script)":"ace_Arab","Acehnese (Latin script)":"ace_Latn",Afrikaans:"afr_Latn",Akan:"aka_Latn",Amharic:"amh_Ethi",Armenian:"hye_Armn",Assamese:"asm_Beng",Asturian:"ast_Latn",Awadhi:"awa_Deva","Ayacucho Quechua":"quy_Latn",Balinese:"ban_Latn",Bambara:"bam_Latn","Banjar (Arabic script)":"bjn_Arab","Banjar (Latin script)":"bjn_Latn",Bashkir:"bak_Cyrl",Basque:"eus_Latn",Belarusian:"bel_Cyrl",Bemba:"bem_Latn",Bengali:"ben_Beng",Bhojpuri:"bho_Deva",Bosnian:"bos_Latn",Buginese:"bug_Latn",Bulgarian:"bul_Cyrl",Burmese:"mya_Mymr",Catalan:"cat_Latn",Cebuano:"ceb_Latn","Central Atlas Tamazight":"tzm_Tfng","Central Aymara":"ayr_Latn","Central Kanuri (Arabic script)":"knc_Arab","Central Kanuri (Latin script)":"knc_Latn","Central Kurdish":"ckb_Arab",Chhattisgarhi:"hne_Deva","Chinese (Simplified)":"zho_Hans","Chinese (Traditional)":"zho_Hant",Chokwe:"cjk_Latn","Crimean Tatar":"crh_Latn",Croatian:"hrv_Latn",Czech:"ces_Latn",Danish:"dan_Latn",Dari:"prs_Arab",Dutch:"nld_Latn",Dyula:"dyu_Latn",Dzongkha:"dzo_Tibt","Eastern Panjabi":"pan_Guru","Eastern Yiddish":"ydd_Hebr","Egyptian Arabic":"arz_Arab",Esperanto:"epo_Latn",Estonian:"est_Latn",Ewe:"ewe_Latn",Faroese:"fao_Latn",Fijian:"fij_Latn",Finnish:"fin_Latn",Fon:"fon_Latn",French:"fra_Latn",Friulian:"fur_Latn",Galician:"glg_Latn",Ganda:"lug_Latn",Georgian:"kat_Geor",German:"deu_Latn",Greek:"ell_Grek",Guarani:"grn_Latn",Gujarati:"guj_Gujr","Haitian Creole":"hat_Latn","Halh Mongolian":"khk_Cyrl",Hausa:"hau_Latn",Hebrew:"heb_Hebr",Hindi:"hin_Deva",Hungarian:"hun_Latn",Icelandic:"isl_Latn",Igbo:"ibo_Latn",Ilocano:"ilo_Latn",Indonesian:"ind_Latn",Irish:"gle_Latn",Italian:"ita_Latn",Japanese:"jpn_Jpan",Javanese:"jav_Latn",Jingpho:"kac_Latn",Kabiyè:"kbp_Latn",Kabuverdianu:"kea_Latn",Kabyle:"kab_Latn",Kamba:"kam_Latn",Kannada:"kan_Knda","Kashmiri (Arabic script)":"kas_Arab","Kashmiri (Devanagari script)":"kas_Deva",Kazakh:"kaz_Cyrl",Khmer:"khm_Khmr",Kikongo:"kon_Latn",Kikuyu:"kik_Latn",Kimbundu:"kmb_Latn",Kinyarwanda:"kin_Latn",Korean:"kor_Hang",Kyrgyz:"kir_Cyrl",Lao:"lao_Laoo",Latgalian:"ltg_Latn",Ligurian:"lij_Latn",Limburgish:"lim_Latn",Lingala:"lin_Latn",Lithuanian:"lit_Latn",Lombard:"lmo_Latn","Luba-Kasai":"lua_Latn",Luo:"luo_Latn",Luxembourgish:"ltz_Latn",Macedonian:"mkd_Cyrl",Magahi:"mag_Deva",Maithili:"mai_Deva",Malayalam:"mal_Mlym",Maltese:"mlt_Latn",Maori:"mri_Latn",Marathi:"mar_Deva","Meitei (Bengali script)":"mni_Beng","Mesopotamian Arabic":"acm_Arab","Minangkabau (Arabic script)":"min_Arab","Minangkabau (Latin script)":"min_Latn",Mizo:"lus_Latn","Modern Standard Arabic (Romanized)":"arb_Latn","Modern Standard Arabic":"arb_Arab","Moroccan Arabic":"ary_Arab",Mossi:"mos_Latn","Najdi Arabic":"ars_Arab",Nepali:"npi_Deva","Nigerian Fulfulde":"fuv_Latn","North Azerbaijani":"azj_Latn","North Levantine Arabic":"apc_Arab","Northern Kurdish":"kmr_Latn","Northern Sotho":"nso_Latn","Northern Uzbek":"uzn_Latn","Norwegian Bokm\xe5l":"nob_Latn","Norwegian Nynorsk":"nno_Latn",Nuer:"nus_Latn",Nyanja:"nya_Latn",Occitan:"oci_Latn",Odia:"ory_Orya",Pangasinan:"pag_Latn",Papiamento:"pap_Latn","Plateau Malagasy":"plt_Latn",Polish:"pol_Latn",Portuguese:"por_Latn",Romanian:"ron_Latn",Rundi:"run_Latn",Russian:"rus_Cyrl",Samoan:"smo_Latn",Sango:"sag_Latn",Sanskrit:"san_Deva",Santali:"sat_Olck",Sardinian:"srd_Latn","Scottish Gaelic":"gla_Latn",Serbian:"srp_Cyrl",Shan:"shn_Mymr",Shona:"sna_Latn",Sicilian:"scn_Latn",Silesian:"szl_Latn",Sindhi:"snd_Arab",Sinhala:"sin_Sinh",Slovak:"slk_Latn",Slovenian:"slv_Latn",Somali:"som_Latn","South Azerbaijani":"azb_Arab","South Levantine Arabic":"ajp_Arab","Southern Pashto":"pbt_Arab","Southern Sotho":"sot_Latn","Southwestern Dinka":"dik_Latn",Spanish:"spa_Latn","Standard Latvian":"lvs_Latn","Standard Malay":"zsm_Latn","Standard Tibetan":"bod_Tibt",Sundanese:"sun_Latn",Swahili:"swh_Latn",Swati:"ssw_Latn",Swedish:"swe_Latn",Tagalog:"tgl_Latn",Tajik:"tgk_Cyrl","Tamasheq (Latin script)":"taq_Latn","Tamasheq (Tifinagh script)":"taq_Tfng",Tamil:"tam_Taml",Tatar:"tat_Cyrl","Ta’izzi-Adeni Arabic":"acq_Arab",Telugu:"tel_Telu",Thai:"tha_Thai",Tigrinya:"tir_Ethi","Tok Pisin":"tpi_Latn","Tosk Albanian":"als_Latn",Tsonga:"tso_Latn",Tswana:"tsn_Latn",Tumbuka:"tum_Latn","Tunisian Arabic":"aeb_Arab",Turkish:"tur_Latn",Turkmen:"tuk_Latn",Twi:"twi_Latn",Ukrainian:"ukr_Cyrl",Umbundu:"umb_Latn",Urdu:"urd_Arab",Uyghur:"uig_Arab",Venetian:"vec_Latn",Waray:"war_Latn",Welsh:"cym_Latn","West Central Oromo":"gaz_Latn","Western Persian":"pes_Arab",Wolof:"wol_Latn",Xhosa:"xho_Latn",Yoruba:"yor_Latn","Yue Chinese":"yue_Hant",Zulu:"zul_Latn"};var A=t(663);let x=a=>{let{text:n,percentage:t}=a;return t=null!=t?t:0,(0,e.jsxs)(_.FA,{h:"$8",ai:"center",gap:"$4",children:[(0,e.jsxs)(g.n,{h:30,o:.5,children:[n," "]}),100!==t&&(0,e.jsx)(A.Ex,{size:"$6",value:t,children:(0,e.jsx)(A.Ex.Indicator,{animation:"bouncy"})})]})};function S(){let[a,n]=(0,s.useState)(!0),[t,L]=(0,s.useState)({}),[h,d]=(0,s.useState)(0),[b,g]=(0,s.useState)("Loading model (927MB)..."),[m,j]=(0,s.useState)("T\xf4i y\xeau Việt Nam qu\xea hương t\xf4i."),[k,y]=(0,s.useState)("vie_Latn"),[A,S]=(0,s.useState)("eng_Latn"),[f,v]=(0,s.useState)(""),T=(0,s.useRef)(null);(0,s.useEffect)(()=>{var a;null!==(a=T.current)&&void 0!==a||(T.current=(0,r.EUT)("translation","Xenova/nllb-200-distilled-600M",{quantized:!0,progress_callback:a=>{"progress"===a.status&&L(n=>({...n,[a.file]:a}))}}))},[]),(0,s.useEffect)(()=>{Object.values(t);let a=0,e=0;for(let n of Object.values(t))a+=n.loaded,e+=n.total;let i=a/e*100;d(i),g(100===i?"Ready!":"Loading model (".concat(i.toFixed(2),"% of 927MB)...")),n(100!==i)},[t]);let z=async()=>{n(!0),g("Translating..."),v("");let a=await T.current;await a(m,{src_lang:k,tgt_lang:A,callback_function:async n=>{v(a.tokenizer.decode(n[0].output_token_ids,{skip_special_tokens:!0}))}}),g("Done!"),n(!1)};return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsxs)(_.sL,{gap:"$4",children:[(0,e.jsxs)(_.FA,{gap:"$4",children:[(0,e.jsx)(p,{type:"Source",defaultLanguage:"vie_Latn",onChange:y}),(0,e.jsx)(l.K,{value:m,size:"$6",w:"$20",onChange:j})]}),(0,e.jsx)(o.Z,{als:"stretch",vertical:!0}),(0,e.jsxs)(_.FA,{gap:"$4",children:[(0,e.jsx)(p,{type:"Target",defaultLanguage:"eng_Latn",onChange:S}),(0,e.jsx)(l.K,{value:f,size:"$6",w:"$20",readOnly:!0})]})]}),(0,e.jsx)(u.zx,{disabled:a,icon:a?(0,e.jsx)(c.$,{size:"small"}):(0,e.jsx)(i.l,{}),onPress:async()=>z(),children:"Translate"}),(0,e.jsx)(x,{text:b,percentage:h})]})}}}]);
|
_next/static/chunks/858.e5d98afb89b78044.js
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[858],{495:function(){},7147:function(){},1418:function(){},8741:function(){},319:function(){},8386:function(){},3342:function(){},9750:function(a,n,t){"use strict";t.r(n),t.d(n,{default:function(){return x}});var e=t(2281),i=t(6916),r=t(9078),s=t(2265),_=t(5377),l=t(9175),o=t(3187),u=t(2869),L=t(8030),c=t(1957),h=t(1569),d=t(1378),b=t(1217),g=t(5072),m=t(3370),k=t(8619);let p=a=>{let{type:n,onChange:t,defaultLanguage:i}=a;return(0,e.jsxs)(_.sL,{f:1,ai:"center",children:[(0,e.jsxs)(b.n,{children:[n,": "]}),(0,e.jsxs)(g.Ph,{onValueChange:t,defaultValue:i,children:[(0,e.jsx)(g.Ph.Trigger,{w:"$15",iconAfter:h._,children:(0,e.jsx)(g.Ph.Value,{placeholder:"Languages"})}),(0,e.jsx)(m.Tr,{when:"sm",platform:"touch",children:(0,e.jsxs)(k.yo,{native:!1,modal:!0,dismissOnSnapToBottom:!0,animation:"quick",children:[(0,e.jsx)(k.yo.Frame,{children:(0,e.jsx)(k.yo.ScrollView,{children:(0,e.jsx)(m.Tr.Contents,{})})}),(0,e.jsx)(k.yo.Overlay,{animation:"lazy",enterStyle:{opacity:0},exitStyle:{opacity:0}})]})}),(0,e.jsxs)(g.Ph.Content,{zIndex:2e5,children:[(0,e.jsxs)(g.Ph.ScrollUpButton,{ai:"center",jc:"center",pos:"relative",w:"100%",h:"$3",children:[(0,e.jsx)(_.FA,{zi:10,children:(0,e.jsx)(d.K,{size:20})}),(0,e.jsx)(L.o,{start:[0,0],end:[0,1],fullscreen:!0,colors:["$background","transparent"],br:"$4"})]}),(0,e.jsx)(g.Ph.Viewport,{minWidth:"$15",children:(0,e.jsxs)(g.Ph.Group,{children:[(0,e.jsx)(g.Ph.Label,{children:"Languages"}),Object.entries(j).map((a,n)=>{let[t,i]=a;return(0,e.jsxs)(g.Ph.Item,{index:n,value:i,children:[(0,e.jsx)(g.Ph.ItemText,{children:t}),(0,e.jsx)(g.Ph.ItemIndicator,{ml:"auto",children:(0,e.jsx)(c.J,{size:16})})]},t)})]})}),(0,e.jsxs)(g.Ph.ScrollDownButton,{ai:"center",jc:"center",pos:"relative",w:"100%",h:"$3",children:[(0,e.jsx)(_.FA,{zi:10,children:(0,e.jsx)(h._,{size:20})}),(0,e.jsx)(L.o,{start:[0,0],end:[0,1],fullscreen:!0,colors:["transparent","$background"],br:"$4"})]})]})]})]})},j={Vietnamese:"vie_Latn",English:"eng_Latn","Acehnese (Arabic script)":"ace_Arab","Acehnese (Latin script)":"ace_Latn",Afrikaans:"afr_Latn",Akan:"aka_Latn",Amharic:"amh_Ethi",Armenian:"hye_Armn",Assamese:"asm_Beng",Asturian:"ast_Latn",Awadhi:"awa_Deva","Ayacucho Quechua":"quy_Latn",Balinese:"ban_Latn",Bambara:"bam_Latn","Banjar (Arabic script)":"bjn_Arab","Banjar (Latin script)":"bjn_Latn",Bashkir:"bak_Cyrl",Basque:"eus_Latn",Belarusian:"bel_Cyrl",Bemba:"bem_Latn",Bengali:"ben_Beng",Bhojpuri:"bho_Deva",Bosnian:"bos_Latn",Buginese:"bug_Latn",Bulgarian:"bul_Cyrl",Burmese:"mya_Mymr",Catalan:"cat_Latn",Cebuano:"ceb_Latn","Central Atlas Tamazight":"tzm_Tfng","Central Aymara":"ayr_Latn","Central Kanuri (Arabic script)":"knc_Arab","Central Kanuri (Latin script)":"knc_Latn","Central Kurdish":"ckb_Arab",Chhattisgarhi:"hne_Deva","Chinese (Simplified)":"zho_Hans","Chinese (Traditional)":"zho_Hant",Chokwe:"cjk_Latn","Crimean Tatar":"crh_Latn",Croatian:"hrv_Latn",Czech:"ces_Latn",Danish:"dan_Latn",Dari:"prs_Arab",Dutch:"nld_Latn",Dyula:"dyu_Latn",Dzongkha:"dzo_Tibt","Eastern Panjabi":"pan_Guru","Eastern Yiddish":"ydd_Hebr","Egyptian Arabic":"arz_Arab",Esperanto:"epo_Latn",Estonian:"est_Latn",Ewe:"ewe_Latn",Faroese:"fao_Latn",Fijian:"fij_Latn",Finnish:"fin_Latn",Fon:"fon_Latn",French:"fra_Latn",Friulian:"fur_Latn",Galician:"glg_Latn",Ganda:"lug_Latn",Georgian:"kat_Geor",German:"deu_Latn",Greek:"ell_Grek",Guarani:"grn_Latn",Gujarati:"guj_Gujr","Haitian Creole":"hat_Latn","Halh Mongolian":"khk_Cyrl",Hausa:"hau_Latn",Hebrew:"heb_Hebr",Hindi:"hin_Deva",Hungarian:"hun_Latn",Icelandic:"isl_Latn",Igbo:"ibo_Latn",Ilocano:"ilo_Latn",Indonesian:"ind_Latn",Irish:"gle_Latn",Italian:"ita_Latn",Japanese:"jpn_Jpan",Javanese:"jav_Latn",Jingpho:"kac_Latn",Kabiyè:"kbp_Latn",Kabuverdianu:"kea_Latn",Kabyle:"kab_Latn",Kamba:"kam_Latn",Kannada:"kan_Knda","Kashmiri (Arabic script)":"kas_Arab","Kashmiri (Devanagari script)":"kas_Deva",Kazakh:"kaz_Cyrl",Khmer:"khm_Khmr",Kikongo:"kon_Latn",Kikuyu:"kik_Latn",Kimbundu:"kmb_Latn",Kinyarwanda:"kin_Latn",Korean:"kor_Hang",Kyrgyz:"kir_Cyrl",Lao:"lao_Laoo",Latgalian:"ltg_Latn",Ligurian:"lij_Latn",Limburgish:"lim_Latn",Lingala:"lin_Latn",Lithuanian:"lit_Latn",Lombard:"lmo_Latn","Luba-Kasai":"lua_Latn",Luo:"luo_Latn",Luxembourgish:"ltz_Latn",Macedonian:"mkd_Cyrl",Magahi:"mag_Deva",Maithili:"mai_Deva",Malayalam:"mal_Mlym",Maltese:"mlt_Latn",Maori:"mri_Latn",Marathi:"mar_Deva","Meitei (Bengali script)":"mni_Beng","Mesopotamian Arabic":"acm_Arab","Minangkabau (Arabic script)":"min_Arab","Minangkabau (Latin script)":"min_Latn",Mizo:"lus_Latn","Modern Standard Arabic (Romanized)":"arb_Latn","Modern Standard Arabic":"arb_Arab","Moroccan Arabic":"ary_Arab",Mossi:"mos_Latn","Najdi Arabic":"ars_Arab",Nepali:"npi_Deva","Nigerian Fulfulde":"fuv_Latn","North Azerbaijani":"azj_Latn","North Levantine Arabic":"apc_Arab","Northern Kurdish":"kmr_Latn","Northern Sotho":"nso_Latn","Northern Uzbek":"uzn_Latn","Norwegian Bokm\xe5l":"nob_Latn","Norwegian Nynorsk":"nno_Latn",Nuer:"nus_Latn",Nyanja:"nya_Latn",Occitan:"oci_Latn",Odia:"ory_Orya",Pangasinan:"pag_Latn",Papiamento:"pap_Latn","Plateau Malagasy":"plt_Latn",Polish:"pol_Latn",Portuguese:"por_Latn",Romanian:"ron_Latn",Rundi:"run_Latn",Russian:"rus_Cyrl",Samoan:"smo_Latn",Sango:"sag_Latn",Sanskrit:"san_Deva",Santali:"sat_Olck",Sardinian:"srd_Latn","Scottish Gaelic":"gla_Latn",Serbian:"srp_Cyrl",Shan:"shn_Mymr",Shona:"sna_Latn",Sicilian:"scn_Latn",Silesian:"szl_Latn",Sindhi:"snd_Arab",Sinhala:"sin_Sinh",Slovak:"slk_Latn",Slovenian:"slv_Latn",Somali:"som_Latn","South Azerbaijani":"azb_Arab","South Levantine Arabic":"ajp_Arab","Southern Pashto":"pbt_Arab","Southern Sotho":"sot_Latn","Southwestern Dinka":"dik_Latn",Spanish:"spa_Latn","Standard Latvian":"lvs_Latn","Standard Malay":"zsm_Latn","Standard Tibetan":"bod_Tibt",Sundanese:"sun_Latn",Swahili:"swh_Latn",Swati:"ssw_Latn",Swedish:"swe_Latn",Tagalog:"tgl_Latn",Tajik:"tgk_Cyrl","Tamasheq (Latin script)":"taq_Latn","Tamasheq (Tifinagh script)":"taq_Tfng",Tamil:"tam_Taml",Tatar:"tat_Cyrl","Ta’izzi-Adeni Arabic":"acq_Arab",Telugu:"tel_Telu",Thai:"tha_Thai",Tigrinya:"tir_Ethi","Tok Pisin":"tpi_Latn","Tosk Albanian":"als_Latn",Tsonga:"tso_Latn",Tswana:"tsn_Latn",Tumbuka:"tum_Latn","Tunisian Arabic":"aeb_Arab",Turkish:"tur_Latn",Turkmen:"tuk_Latn",Twi:"twi_Latn",Ukrainian:"ukr_Cyrl",Umbundu:"umb_Latn",Urdu:"urd_Arab",Uyghur:"uig_Arab",Venetian:"vec_Latn",Waray:"war_Latn",Welsh:"cym_Latn","West Central Oromo":"gaz_Latn","Western Persian":"pes_Arab",Wolof:"wol_Latn",Xhosa:"xho_Latn",Yoruba:"yor_Latn","Yue Chinese":"yue_Hant",Zulu:"zul_Latn"};var y=t(663);let A=a=>{let{text:n,percentage:t}=a;return t=null!=t?t:0,(0,e.jsxs)(_.FA,{h:"$8",ai:"center",gap:"$4",children:[(0,e.jsxs)(b.n,{h:30,o:.5,children:[n," "]}),100!==t&&(0,e.jsx)(y.Ex,{size:"$6",value:t,children:(0,e.jsx)(y.Ex.Indicator,{animation:"bouncy"})})]})};function x(){let[a,n]=(0,s.useState)(!0),[t,L]=(0,s.useState)({}),[c,h]=(0,s.useState)(0),[d,b]=(0,s.useState)("Loading model (927MB)..."),[g,m]=(0,s.useState)("T\xf4i y\xeau Việt Nam qu\xea hương t\xf4i."),[k,j]=(0,s.useState)("vie_Latn"),[y,x]=(0,s.useState)("eng_Latn"),[S,f]=(0,s.useState)(""),v=(0,s.useRef)(null);(0,s.useEffect)(()=>{var a;null!==(a=v.current)&&void 0!==a||(v.current=(0,r.EUT)("translation","Xenova/nllb-200-distilled-600M",{quantized:!0,progress_callback:a=>{"progress"===a.status&&L(n=>({...n,[a.file]:a}))}}))},[]),(0,s.useEffect)(()=>{Object.values(t);let a=0,e=0;for(let n of Object.values(t))a+=n.loaded,e+=n.total;let i=a/e*100;h(i),b(100===i?"Ready!":"Loading model (".concat(i.toFixed(2),"% of 927MB)...")),n(100!==i)},[t]);let T=async()=>{n(!0),b("Translating..."),f("");let a=await v.current;await a(g,{src_lang:k,tgt_lang:y,callback_function:async n=>{f(a.tokenizer.decode(n[0].output_token_ids,{skip_special_tokens:!0}))}}),b("Done!"),n(!1)};return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsxs)(_.sL,{gap:"$4",children:[(0,e.jsxs)(_.FA,{gap:"$4",children:[(0,e.jsx)(p,{type:"Source",defaultLanguage:"vie_Latn",onChange:j}),(0,e.jsx)(l.K,{value:g,size:"$6",onChange:m})]}),(0,e.jsxs)(_.FA,{gap:"$4",children:[(0,e.jsx)(p,{type:"Target",defaultLanguage:"eng_Latn",onChange:x}),(0,e.jsx)(l.K,{value:S,size:"$6",readOnly:!0})]})]}),(0,e.jsx)(o.zx,{disabled:a,icon:a?(0,e.jsx)(u.$,{size:"small"}):(0,e.jsx)(i.l,{}),onPress:T,children:"Translate"}),(0,e.jsx)(A,{text:d,percentage:c})]})}}}]);
|
|
|
|
_next/static/chunks/{430.56738f887356aa17.js → 960.b076f43b72fa5d14.js}
RENAMED
The diff for this file is too large to render.
See raw diff
|
|
_next/static/chunks/{653-9fb366c8a2b3b64a.js → 994-ec8a144ab90756cd.js}
RENAMED
The diff for this file is too large to render.
See raw diff
|
|
_next/static/chunks/app/(model)/{layout-6b52a26530010a98.js → layout-935f9533cc1e5305.js}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[153],{9743:function(e,t,n){Promise.resolve().then(n.bind(n,6556))},6556:function(e,t,n){"use strict";n.d(t,{default:function(){return R}});var r=n(2281),s=n(6657),i=n(2265),a=n(2989),o=n(7470);let l=e=>{let{color:t="black",size:n=24,...s}=e;return(0,r.jsxs)(a.ny,{width:n,height:n,viewBox:"0 0 24 24",fill:"none",stroke:t,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",...s,children:[(0,r.jsx)(a.UL,{width:"20",height:"14",x:"2",y:"3",rx:"2",stroke:t}),(0,r.jsx)(a.x1,{x1:"8",x2:"16",y1:"21",y2:"21",stroke:t}),(0,r.jsx)(a.x1,{x1:"12",x2:"12",y1:"17",y2:"21",stroke:t})]})};l.displayName="Monitor";let c=(0,i.memo)((0,o.H)(l)),h=e=>{let{color:t="black",size:n=24,...s}=e;return(0,r.jsx)(a.ny,{width:n,height:n,viewBox:"0 0 24 24",fill:"none",stroke:t,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",...s,children:(0,r.jsx)(a.y$,{d:"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z",stroke:t})})};h.displayName="Moon";let d=(0,i.memo)((0,o.H)(h)),u=e=>{let{color:t="black",size:n=24,...s}=e;return(0,r.jsxs)(a.ny,{width:n,height:n,viewBox:"0 0 24 24",fill:"none",stroke:t,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",...s,children:[(0,r.jsx)(a.Cd,{cx:"12",cy:"12",r:"4",stroke:t}),(0,r.jsx)(a.y$,{d:"M12 2v2",stroke:t}),(0,r.jsx)(a.y$,{d:"M12 20v2",stroke:t}),(0,r.jsx)(a.y$,{d:"m4.93 4.93 1.41 1.41",stroke:t}),(0,r.jsx)(a.y$,{d:"m17.66 17.66 1.41 1.41",stroke:t}),(0,r.jsx)(a.y$,{d:"M2 12h2",stroke:t}),(0,r.jsx)(a.y$,{d:"M20 12h2",stroke:t}),(0,r.jsx)(a.y$,{d:"m6.34 17.66-1.41 1.41",stroke:t}),(0,r.jsx)(a.y$,{d:"m19.07 4.93-1.41 1.41",stroke:t})]})};u.displayName="Sun";let m=(0,i.memo)((0,o.H)(u));var
|
|
|
1 |
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[153],{9743:function(e,t,n){Promise.resolve().then(n.bind(n,6556))},6556:function(e,t,n){"use strict";n.d(t,{default:function(){return R}});var r=n(2281),s=n(6657),i=n(2265),a=n(2989),o=n(7470);let l=e=>{let{color:t="black",size:n=24,...s}=e;return(0,r.jsxs)(a.ny,{width:n,height:n,viewBox:"0 0 24 24",fill:"none",stroke:t,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",...s,children:[(0,r.jsx)(a.UL,{width:"20",height:"14",x:"2",y:"3",rx:"2",stroke:t}),(0,r.jsx)(a.x1,{x1:"8",x2:"16",y1:"21",y2:"21",stroke:t}),(0,r.jsx)(a.x1,{x1:"12",x2:"12",y1:"17",y2:"21",stroke:t})]})};l.displayName="Monitor";let c=(0,i.memo)((0,o.H)(l)),h=e=>{let{color:t="black",size:n=24,...s}=e;return(0,r.jsx)(a.ny,{width:n,height:n,viewBox:"0 0 24 24",fill:"none",stroke:t,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",...s,children:(0,r.jsx)(a.y$,{d:"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z",stroke:t})})};h.displayName="Moon";let d=(0,i.memo)((0,o.H)(h)),u=e=>{let{color:t="black",size:n=24,...s}=e;return(0,r.jsxs)(a.ny,{width:n,height:n,viewBox:"0 0 24 24",fill:"none",stroke:t,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",...s,children:[(0,r.jsx)(a.Cd,{cx:"12",cy:"12",r:"4",stroke:t}),(0,r.jsx)(a.y$,{d:"M12 2v2",stroke:t}),(0,r.jsx)(a.y$,{d:"M12 20v2",stroke:t}),(0,r.jsx)(a.y$,{d:"m4.93 4.93 1.41 1.41",stroke:t}),(0,r.jsx)(a.y$,{d:"m17.66 17.66 1.41 1.41",stroke:t}),(0,r.jsx)(a.y$,{d:"M2 12h2",stroke:t}),(0,r.jsx)(a.y$,{d:"M20 12h2",stroke:t}),(0,r.jsx)(a.y$,{d:"m6.34 17.66-1.41 1.41",stroke:t}),(0,r.jsx)(a.y$,{d:"m19.07 4.93-1.41 1.41",stroke:t})]})};u.displayName="Sun";let m=(0,i.memo)((0,o.H)(u));var x=n(3742),v=n(5377),k=n(4975),g=n(1217);let j=(0,k.z)(g.n,{tag:"span",name:"Heading",accessibilityRole:"header",fontFamily:"$heading",size:"$8",margin:0}),y=(0,k.z)(j,{name:"H1",tag:"h1",size:"$10"});(0,k.z)(j,{name:"H2",tag:"h2",size:"$9"}),(0,k.z)(j,{name:"H3",tag:"h3",size:"$8"}),(0,k.z)(j,{name:"H4",tag:"h4",size:"$7"}),(0,k.z)(j,{name:"H5",tag:"h5",size:"$6"}),(0,k.z)(j,{name:"H6",tag:"h6",size:"$5"});var f=n(6505),b=n(281),p=n(2026),L=n(7445),w=n.n(L),$=n(1213),_=$.Z?window.location.href:"";class z{constructor(){this._eventCallbacks={}}_dispatchEvent(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var s=this._eventCallbacks[e];null!=s&&Array.isArray(s)&&s.map(e=>{e(...n)})}addEventListener(e,t){var n=this;return n._eventCallbacks[e]||(n._eventCallbacks[e]=[t]),n._eventCallbacks[e].push(t),{remove(){var r=n._eventCallbacks[e].filter(e=>e.toString()!==t.toString());n._eventCallbacks[e]=r}}}removeEventListener(e,t){console.error("Linking.removeEventListener('"+e+"', ...): Method has been deprecated. Please instead use `remove()` on the subscription returned by `Linking.addEventListener`.");var n=this._eventCallbacks[e].filter(e=>e.toString()!==t.toString());this._eventCallbacks[e]=n}canOpenURL(){return Promise.resolve(!0)}getInitialURL(){return Promise.resolve(_)}openURL(e,t){1==arguments.length&&(t="_blank");try{return C(e,t),this._dispatchEvent("onOpen",e),Promise.resolve()}catch(e){return Promise.reject(e)}}_validateURL(e){w()("string"==typeof e,"Invalid URL: should be a string. Was: "+e),w()(e,"Invalid URL: cannot be empty")}}var C=(e,t)=>{if($.Z){var n=new URL(e,window.location).toString();0===n.indexOf("tel:")?window.location=n:window.open(n,t,"noopener")}},E=new z;let H=(0,k.z)(p.J,{name:"Anchor",tag:"a",accessibilityRole:"link"}),M=H.styleable(({href:e,target:t,...n},s)=>(0,r.jsx)(H,{...n,...b.$L?{href:e,target:t}:{onPress:t=>{n.onPress?.(t),void 0!==e&&E.openURL(e)}},ref:s}));var S=n(3187);let P={dark:(0,r.jsx)(d,{}),light:(0,r.jsx)(m,{}),system:(0,r.jsx)(c,{})};function R(e){let{children:t}=e,[n,i]=(0,x.KO)(s.themeAtom);return(0,r.jsxs)(v.FA,{f:1,h:"100vh",jc:"center",ai:"center",p:"$4",gap:"$4",children:[(0,r.jsxs)(v.FA,{gap:"$4",bc:"$",jc:"center",children:[(0,r.jsx)(y,{ta:"center",children:"Transformers.js + Tamagui"}),(0,r.jsx)(g.n,{ta:"center",children:"ML-powered multilingual translation directly in your browser!"})]}),(0,r.jsx)(f.Z,{als:"stretch"}),t,(0,r.jsx)(v.sL,{pos:"absolute",b:"$4",children:(0,r.jsxs)(g.n,{ta:"center",children:["Made with"," ",(0,r.jsx)(M,{href:"https://github.com/xenova/transformers.js",children:"\uD83E\uDD17 Transformers.js"})," + ",(0,r.jsx)(M,{href:"https://github.com/tamagui/tamagui",children:"Tamagui \uD83E\uDE84"}),". ",(0,r.jsx)(M,{href:"https://github.com/huuquyet/tranlator-tamagui",children:"Give it a ⭐️"})]})}),(0,r.jsx)(S.zx,{pos:"absolute",b:30,l:20,icon:P[n],onPress:i,circular:!0})]})}},6657:function(e,t,n){"use strict";n.d(t,{default:function(){return x},themeAtom:function(){return m}});var r=n(2281),s=n(9910),i=n(9010),a=n(1542),o=n(542),l=n(3742),c=n(6463),h=n(6608),d=n(7376);let u=(0,n(1564)._)(d.vc),m=function(e){let t=(0,s.cn)(e,(e,n,r)=>{let s="dark"===e(t)?"light":"light"===e(t)?"system":"dark";n(t,s)});return t}("system");function x(e){let{children:t,...n}=e,[s,d]=(0,i.U)(),x=(0,a.P)(),[v]=(0,l.KO)(m);return(0,c.useServerInsertedHTML)(()=>(0,r.jsx)("style",{dangerouslySetInnerHTML:{__html:u.getNewCSS({exclude:"design-system"})}})),(0,r.jsx)(o.G,{onChangeTheme:d,children:(0,r.jsx)(h.r,{config:u,defaultTheme:"system"===v?x.systemTheme:v,disableInjectCSS:!0,...n,children:t})})}}},function(e){e.O(0,[143,994,107,971,190,744],function(){return e(e.s=9743)}),_N_E=e.O()}]);
|
_next/static/chunks/app/(model)/nllb/{page-0289fdaf2dda2bd2.js → page-9e70ef0f91cf3446.js}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[907],{2292:function(e,t,n){Promise.resolve().then(n.bind(n,2120))},551:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return u}});let l=n(1609);n(2281),n(2265);let r=l._(n(148));function u(e,t){var n;let l={loading:e=>{let{error:t,isLoading:n,pastDelay:l}=e;return null}};"function"==typeof e&&(l.loader=e);let u={...l,...t};return(0,r.default)({...u,modules:null==(n=u.loadableGenerated)?void 0:n.modules})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},912:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"BailoutToCSR",{enumerable:!0,get:function(){return r}});let l=n(5592);function r(e){let{reason:t,children:n}=e;if("undefined"==typeof window)throw new l.BailoutToCSRError(t);return n}},148:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}});let l=n(2281),r=n(2265),u=n(912),o=n(1481);function i(e){return{default:e&&"default"in e?e.default:e}}let d={loader:()=>Promise.resolve(i(()=>null)),loading:null,ssr:!0},s=function(e){let t={...d,...e},n=(0,r.lazy)(()=>t.loader().then(i)),s=t.loading;function a(e){let i=s?(0,l.jsx)(s,{isLoading:!0,pastDelay:!0,error:null}):null,d=t.ssr?(0,l.jsxs)(l.Fragment,{children:["undefined"==typeof window?(0,l.jsx)(o.PreloadCss,{moduleIds:t.modules}):null,(0,l.jsx)(n,{...e})]}):(0,l.jsx)(u.BailoutToCSR,{reason:"next/dynamic",children:(0,l.jsx)(n,{...e})});return(0,l.jsx)(r.Suspense,{fallback:i,children:d})}return a.displayName="LoadableComponent",a}},1481:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"PreloadCss",{enumerable:!0,get:function(){return u}});let l=n(2281),r=n(8512);function u(e){let{moduleIds:t}=e;if("undefined"!=typeof window)return null;let n=(0,r.getExpectedRequestStore)("next/dynamic css"),u=[];if(n.reactLoadableManifest&&t){let e=n.reactLoadableManifest;for(let n of t){if(!e[n])continue;let t=e[n].files.filter(e=>e.endsWith(".css"));u.push(...t)}}return 0===u.length?null:(0,l.jsx)(l.Fragment,{children:u.map(e=>(0,l.jsx)("link",{precedence:"dynamic",rel:"stylesheet",href:n.assetPrefix+"/_next/"+encodeURI(e),as:"style"},e))})}},2120:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return o}});var l=n(2281),r=n(551),u=n.n(r);function o(){let e=u()(()=>Promise.all([n.e(165),n.e(132),n.e(15),n.e(143),n.e(
|
|
|
1 |
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[907],{2292:function(e,t,n){Promise.resolve().then(n.bind(n,2120))},551:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return u}});let l=n(1609);n(2281),n(2265);let r=l._(n(148));function u(e,t){var n;let l={loading:e=>{let{error:t,isLoading:n,pastDelay:l}=e;return null}};"function"==typeof e&&(l.loader=e);let u={...l,...t};return(0,r.default)({...u,modules:null==(n=u.loadableGenerated)?void 0:n.modules})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},912:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"BailoutToCSR",{enumerable:!0,get:function(){return r}});let l=n(5592);function r(e){let{reason:t,children:n}=e;if("undefined"==typeof window)throw new l.BailoutToCSRError(t);return n}},148:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}});let l=n(2281),r=n(2265),u=n(912),o=n(1481);function i(e){return{default:e&&"default"in e?e.default:e}}let d={loader:()=>Promise.resolve(i(()=>null)),loading:null,ssr:!0},s=function(e){let t={...d,...e},n=(0,r.lazy)(()=>t.loader().then(i)),s=t.loading;function a(e){let i=s?(0,l.jsx)(s,{isLoading:!0,pastDelay:!0,error:null}):null,d=t.ssr?(0,l.jsxs)(l.Fragment,{children:["undefined"==typeof window?(0,l.jsx)(o.PreloadCss,{moduleIds:t.modules}):null,(0,l.jsx)(n,{...e})]}):(0,l.jsx)(u.BailoutToCSR,{reason:"next/dynamic",children:(0,l.jsx)(n,{...e})});return(0,l.jsx)(r.Suspense,{fallback:i,children:d})}return a.displayName="LoadableComponent",a}},1481:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"PreloadCss",{enumerable:!0,get:function(){return u}});let l=n(2281),r=n(8512);function u(e){let{moduleIds:t}=e;if("undefined"!=typeof window)return null;let n=(0,r.getExpectedRequestStore)("next/dynamic css"),u=[];if(n.reactLoadableManifest&&t){let e=n.reactLoadableManifest;for(let n of t){if(!e[n])continue;let t=e[n].files.filter(e=>e.endsWith(".css"));u.push(...t)}}return 0===u.length?null:(0,l.jsx)(l.Fragment,{children:u.map(e=>(0,l.jsx)("link",{precedence:"dynamic",rel:"stylesheet",href:n.assetPrefix+"/_next/"+encodeURI(e),as:"style"},e))})}},2120:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return o}});var l=n(2281),r=n(551),u=n.n(r);function o(){let e=u()(()=>Promise.all([n.e(165),n.e(132),n.e(15),n.e(143),n.e(994),n.e(960),n.e(858)]).then(n.bind(n,9750)),{loadableGenerated:{webpack:()=>[9750]},ssr:!1});return(0,l.jsx)(e,{})}}},function(e){e.O(0,[971,190,744],function(){return e(e.s=2292)}),_N_E=e.O()}]);
|
_next/static/chunks/app/layout-235e01b322a4eb65.js
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[185],{9617:function(e,t,n){Promise.resolve().then(n.t.bind(n,4400,23)),Promise.resolve().then(n.bind(n,2944)),Promise.resolve().then(n.t.bind(n,8121,23)),Promise.resolve().then(n.bind(n,6657))},6657:function(e,t,n){"use strict";n.d(t,{default:function(){return h},themeAtom:function(){return m}});var r=n(2281),o=n(9910),a=n(9010),c=n(1542),i=n(542),s=n(3742),u=n(6463),l=n(6608),d=n(7376);let f=(0,n(1564)._)(d.vc),m=function(e){let t=(0,o.cn)(e,(e,n,r)=>{let o="dark"===e(t)?"light":"light"===e(t)?"system":"dark";n(t,o)});return t}("system");function h(e){let{children:t,...n}=e,[o,d]=(0,a.U)(),h=(0,c.P)(),[w]=(0,s.KO)(m);return(0,u.useServerInsertedHTML)(()=>(0,r.jsx)("style",{dangerouslySetInnerHTML:{__html:f.getNewCSS({exclude:"design-system"})}})),(0,r.jsx)(i.G,{onChangeTheme:d,children:(0,r.jsx)(l.r,{config:f,defaultTheme:"system"===w?h.systemTheme:w,disableInjectCSS:!0,...n,children:t})})}},4400:function(){},8121:function(){},2944:function(e,t,n){"use strict";n.d(t,{Analytics:function(){return f}});var r=n(2265),o=n(6463),a=()=>{window.va||(window.va=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];(window.vaq=window.vaq||[]).push(t)})};function c(){return"undefined"!=typeof window}function i(){return"production"}function s(){return"development"===((c()?window.vam:i())||"production")}function u(e){return(0,r.useEffect)(()=>{!function(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{debug:!0};if(!c())return;(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"auto";if("auto"===e){window.vam=i();return}window.vam=e})(t.mode),a(),t.beforeSend&&(null==(e=window.va)||e.call(window,"beforeSend",t.beforeSend));let n=t.scriptSrc||(s()?"https://va.vercel-scripts.com/v1/script.debug.js":"/_vercel/insights/script.js");if(document.head.querySelector('script[src*="'.concat(n,'"]')))return;let r=document.createElement("script");r.src=n,r.defer=!0,r.dataset.sdkn="@vercel/analytics"+(t.framework?"/".concat(t.framework):""),r.dataset.sdkv="1.2.2",t.disableAutoTrack&&(r.dataset.disableAutoTrack="1"),t.endpoint&&(r.dataset.endpoint=t.endpoint),t.dsn&&(r.dataset.dsn=t.dsn),r.onerror=()=>{let e=s()?"Please check if any ad blockers are enabled and try again.":"Be sure to enable Web Analytics for your project and deploy again. See https://vercel.com/docs/analytics/quickstart for more information.";console.log("[Vercel Web Analytics] Failed to load script from ".concat(n,". ").concat(e))},s()&&!1===t.debug&&(r.dataset.debug="false"),document.head.appendChild(r)}({framework:e.framework||"react",...void 0!==e.route&&{disableAutoTrack:!0},...e})},[]),(0,r.useEffect)(()=>{e.route&&e.path&&function(e){var t;let{route:n,path:r}=e;null==(t=window.va)||t.call(window,"pageview",{route:n,path:r})}({route:e.route,path:e.path})},[e.route,e.path]),null}var l=()=>{let e=(0,o.useParams)(),t=(0,o.useSearchParams)(),n=(0,o.usePathname)(),r={...Object.fromEntries(t.entries()),...e||{}};return{route:e?function(e,t){if(!e||!t)return e;let n=e;try{for(let[e,r]of Object.entries(t)){let t=Array.isArray(r),o=t?r.join("/"):r,a=t?"...".concat(e):e,c=new RegExp("/".concat(o.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"(?=[/?#]|$)"));c.test(n)&&(n=n.replace(c,"/[".concat(a,"]")))}return n}catch(t){return e}}(n,r):null,path:n}};function d(e){let{route:t,path:n}=l();return r.createElement(u,{path:n,route:t,...e,framework:"next"})}function f(e){return r.createElement(r.Suspense,{fallback:null},r.createElement(d,{...e}))}}},function(e){e.O(0,[843,120,143,107,971,190,744],function(){return e(e.s=9617)}),_N_E=e.O()}]);
|
_next/static/chunks/app/layout-437194cf8d85f4ca.js
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[185],{3139:function(e,t,n){Promise.resolve().then(n.bind(n,2944)),Promise.resolve().then(n.bind(n,6657)),Promise.resolve().then(n.t.bind(n,2191,23))},6657:function(e,t,n){"use strict";n.d(t,{default:function(){return h},themeAtom:function(){return m}});var r=n(2281),o=n(9910),a=n(9010),c=n(1542),i=n(542),s=n(3742),u=n(6463),l=n(6608),d=n(7376);let f=(0,n(1564)._)(d.vc),m=function(e){let t=(0,o.cn)(e,(e,n,r)=>{let o="dark"===e(t)?"light":"light"===e(t)?"system":"dark";n(t,o)});return t}("system");function h(e){let{children:t,...n}=e,[o,d]=(0,a.U)(),h=(0,c.P)(),[w]=(0,s.KO)(m);return(0,u.useServerInsertedHTML)(()=>(0,r.jsx)("style",{dangerouslySetInnerHTML:{__html:f.getNewCSS({exclude:"design-system"})}})),(0,r.jsx)(i.G,{onChangeTheme:d,children:(0,r.jsx)(l.r,{config:f,defaultTheme:"system"===w?h.systemTheme:w,...n,children:t})})}},2191:function(){},2944:function(e,t,n){"use strict";n.d(t,{Analytics:function(){return f}});var r=n(2265),o=n(6463),a=()=>{window.va||(window.va=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];(window.vaq=window.vaq||[]).push(t)})};function c(){return"undefined"!=typeof window}function i(){return"production"}function s(){return"development"===((c()?window.vam:i())||"production")}function u(e){return(0,r.useEffect)(()=>{!function(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{debug:!0};if(!c())return;(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"auto";if("auto"===e){window.vam=i();return}window.vam=e})(t.mode),a(),t.beforeSend&&(null==(e=window.va)||e.call(window,"beforeSend",t.beforeSend));let n=t.scriptSrc||(s()?"https://va.vercel-scripts.com/v1/script.debug.js":"/_vercel/insights/script.js");if(document.head.querySelector('script[src*="'.concat(n,'"]')))return;let r=document.createElement("script");r.src=n,r.defer=!0,r.dataset.sdkn="@vercel/analytics"+(t.framework?"/".concat(t.framework):""),r.dataset.sdkv="1.2.2",t.disableAutoTrack&&(r.dataset.disableAutoTrack="1"),t.endpoint&&(r.dataset.endpoint=t.endpoint),t.dsn&&(r.dataset.dsn=t.dsn),r.onerror=()=>{let e=s()?"Please check if any ad blockers are enabled and try again.":"Be sure to enable Web Analytics for your project and deploy again. See https://vercel.com/docs/analytics/quickstart for more information.";console.log("[Vercel Web Analytics] Failed to load script from ".concat(n,". ").concat(e))},s()&&!1===t.debug&&(r.dataset.debug="false"),document.head.appendChild(r)}({framework:e.framework||"react",...void 0!==e.route&&{disableAutoTrack:!0},...e})},[]),(0,r.useEffect)(()=>{e.route&&e.path&&function(e){var t;let{route:n,path:r}=e;null==(t=window.va)||t.call(window,"pageview",{route:n,path:r})}({route:e.route,path:e.path})},[e.route,e.path]),null}var l=()=>{let e=(0,o.useParams)(),t=(0,o.useSearchParams)(),n=(0,o.usePathname)(),r={...Object.fromEntries(t.entries()),...e||{}};return{route:e?function(e,t){if(!e||!t)return e;let n=e;try{for(let[e,r]of Object.entries(t)){let t=Array.isArray(r),o=t?r.join("/"):r,a=t?"...".concat(e):e,c=new RegExp("/".concat(o.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"(?=[/?#]|$)"));c.test(n)&&(n=n.replace(c,"/[".concat(a,"]")))}return n}catch(t){return e}}(n,r):null,path:n}};function d(e){let{route:t,path:n}=l();return r.createElement(u,{path:n,route:t,...e,framework:"next"})}function f(e){return r.createElement(r.Suspense,{fallback:null},r.createElement(d,{...e}))}}},function(e){e.O(0,[33,143,107,971,190,744],function(){return e(e.s=3139)}),_N_E=e.O()}]);
|
|
|
|
_next/static/chunks/{webpack-ef8a5244f1ffd88e.js → webpack-fc5e4499863e27bc.js}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
!function(){"use strict";var e,t,n,r,o,u,i,c,f,a={},
|
|
|
1 |
+
!function(){"use strict";var e,t,n,r,o,u,i,c,f,a={},d={};function l(e){var t=d[e];if(void 0!==t)return t.exports;var n=d[e]={exports:{}},r=!0;try{a[e](n,n.exports,l),r=!1}finally{r&&delete d[e]}return n.exports}l.m=a,e=[],l.O=function(t,n,r,o){if(n){o=o||0;for(var u=e.length;u>0&&e[u-1][2]>o;u--)e[u]=e[u-1];e[u]=[n,r,o];return}for(var i=1/0,u=0;u<e.length;u++){for(var n=e[u][0],r=e[u][1],o=e[u][2],c=!0,f=0;f<n.length;f++)i>=o&&Object.keys(l.O).every(function(e){return l.O[e](n[f])})?n.splice(f--,1):(c=!1,o<i&&(i=o));if(c){e.splice(u--,1);var a=r();void 0!==a&&(t=a)}}return t},l.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return l.d(t,{a:t}),t},n=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},l.t=function(e,r){if(1&r&&(e=this(e)),8&r||"object"==typeof e&&e&&(4&r&&e.__esModule||16&r&&"function"==typeof e.then))return e;var o=Object.create(null);l.r(o);var u={};t=t||[null,n({}),n([]),n(n)];for(var i=2&r&&e;"object"==typeof i&&!~t.indexOf(i);i=n(i))Object.getOwnPropertyNames(i).forEach(function(t){u[t]=function(){return e[t]}});return u.default=function(){return e},l.d(o,u),o},l.d=function(e,t){for(var n in t)l.o(t,n)&&!l.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},l.f={},l.e=function(e){return Promise.all(Object.keys(l.f).reduce(function(t,n){return l.f[n](e,t),t},[]))},l.u=function(e){return 143===e?"static/chunks/143-b2f43c0350b073e9.js":994===e?"static/chunks/994-ec8a144ab90756cd.js":"static/chunks/"+(({15:"b2db8554",132:"6139e184",165:"590caa2a"})[e]||e)+"."+({15:"2f90d90ec938bc93",132:"ec466d5482164223",165:"050abc56129515a9",858:"c90b9b067f35e0c8",960:"b076f43b72fa5d14"})[e]+".js"},l.miniCssF=function(e){},l.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}}(),l.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r={},o="_N_E:",l.l=function(e,t,n,u){if(r[e]){r[e].push(t);return}if(void 0!==n)for(var i,c,f=document.getElementsByTagName("script"),a=0;a<f.length;a++){var d=f[a];if(d.getAttribute("src")==e||d.getAttribute("data-webpack")==o+n){i=d;break}}i||(c=!0,(i=document.createElement("script")).charset="utf-8",i.timeout=120,l.nc&&i.setAttribute("nonce",l.nc),i.setAttribute("data-webpack",o+n),i.src=l.tu(e)),r[e]=[t];var s=function(t,n){i.onerror=i.onload=null,clearTimeout(p);var o=r[e];if(delete r[e],i.parentNode&&i.parentNode.removeChild(i),o&&o.forEach(function(e){return e(n)}),t)return t(n)},p=setTimeout(s.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=s.bind(null,i.onerror),i.onload=s.bind(null,i.onload),c&&document.head.appendChild(i)},l.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},l.tt=function(){return void 0===u&&(u={createScriptURL:function(e){return e}},"undefined"!=typeof trustedTypes&&trustedTypes.createPolicy&&(u=trustedTypes.createPolicy("nextjs#bundler",u))),u},l.tu=function(e){return l.tt().createScriptURL(e)},l.p="/_next/",i={272:0,843:0,120:0},l.f.j=function(e,t){var n=l.o(i,e)?i[e]:void 0;if(0!==n){if(n)t.push(n[2]);else if(/^(120|272|843)$/.test(e))i[e]=0;else{var r=new Promise(function(t,r){n=i[e]=[t,r]});t.push(n[2]=r);var o=l.p+l.u(e),u=Error();l.l(o,function(t){if(l.o(i,e)&&(0!==(n=i[e])&&(i[e]=void 0),n)){var r=t&&("load"===t.type?"missing":t.type),o=t&&t.target&&t.target.src;u.message="Loading chunk "+e+" failed.\n("+r+": "+o+")",u.name="ChunkLoadError",u.type=r,u.request=o,n[1](u)}},"chunk-"+e,e)}}},l.O.j=function(e){return 0===i[e]},c=function(e,t){var n,r,o=t[0],u=t[1],c=t[2],f=0;if(o.some(function(e){return 0!==i[e]})){for(n in u)l.o(u,n)&&(l.m[n]=u[n]);if(c)var a=c(l)}for(e&&e(t);f<o.length;f++)r=o[f],l.o(i,r)&&i[r]&&i[r][0](),i[r]=0;return l.O(a)},(f=self.webpackChunk_N_E=self.webpackChunk_N_E||[]).forEach(c.bind(null,0)),f.push=c.bind(null,f.push.bind(f)),l.nc=void 0}();
|
_next/static/css/611e16be65383aa2.css
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
#__next,#root,body{display:flex;flex-direction:column;min-height:100vh;min-width:calc(100vw - (100vw - 100%));margin:0}*{box-sizing:border-box}a{color:inherit}h1,h2,h3,h4,h5,h6{margin:0;padding:0}[role=listbox],[role=slider],button,input,li,select{outline:none}.is_Fieldset{all:unset}button,dialog,input,li,ol,p,pre,textarea,ul{all:unset;box-sizing:border-box}.is_Anchor:has(.is_Button),a.is_Button{text-decoration:none}
|
index.html
CHANGED
@@ -1 +1 @@
|
|
1 |
-
<!DOCTYPE html><html id="__next_error__"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-
|
|
|
1 |
+
<!DOCTYPE html><html id="__next_error__"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-fc5e4499863e27bc.js"/><script src="/_next/static/chunks/fd9d1056-8fba21ecb5fa45b6.js" async=""></script><script src="/_next/static/chunks/190-b17f3b7cfaa2c9b9.js" async=""></script><script src="/_next/static/chunks/main-app-fa52e3055e2c0d83.js" async=""></script><title>Translator demo app built with Transformers.js + Tamagui + Next.js</title><meta name="description" content="Translator demo app built with Transformer.js + Tamagui + Next.js"/><meta name="application-name" content="Translator Demo"/><link rel="manifest" href="/manifest.json" crossorigin="use-credentials"/><meta name="keywords" content="Translator,Transformers.js,Next.js,Tamagui"/><meta name="format-detection" content="telephone=no"/><meta name="apple-mobile-web-app-capable" content="yes"/><meta name="apple-mobile-web-app-title" content="Translator demo app built with Transformers.js + Tamagui + Next.js"/><meta name="apple-mobile-web-app-status-bar-style" content="default"/><meta property="og:title" content="Translator demo app built with Transformers.js + Tamagui + Next.js"/><meta property="og:description" content="Translator demo app built with Transformer.js + Tamagui + Next.js"/><meta property="og:url" content="https://hf.co/spaces/huuquyet/translator-tamagui/"/><meta property="og:site_name" content="Translator Demo"/><meta property="og:image" content="https://${process.env.vercel_url}/icon/share.png"/><meta property="og:type" content="website"/><meta name="twitter:card" content="summary"/><meta name="twitter:site" content="@HuuQuyetNg"/><meta name="twitter:title" content="Translator demo app built with Transformers.js + Tamagui + Next.js"/><meta name="twitter:description" content="Translator demo app built with Transformer.js + Tamagui + Next.js"/><meta name="twitter:image" content="https://${process.env.vercel_url}/icon/share.png"/><script src="/_next/static/chunks/polyfills-78c92fac7aa8fdd8.js" noModule=""></script><style></style></head><body><script src="/_next/static/chunks/webpack-fc5e4499863e27bc.js" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0]);self.__next_f.push([2,null])</script><script>self.__next_f.push([1,"1:HL[\"/_next/static/css/611e16be65383aa2.css\",\"style\"]\n2:HL[\"/_next/static/css/c07dfed9e589ce2b.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"3:I[5751,[],\"\"]\n5:I[6513,[],\"ClientPageRoot\"]\n6:I[8212,[\"931\",\"static/chunks/app/page-37ee7826bcc75da3.js\"],\"default\"]\n7:I[6657,[\"143\",\"static/chunks/143-b2f43c0350b073e9.js\",\"107\",\"static/chunks/107-59649a4e83c4727c.js\",\"185\",\"static/chunks/app/layout-235e01b322a4eb65.js\"],\"default\"]\n8:I[9275,[],\"\"]\n9:I[1343,[],\"\"]\na:I[2944,[\"143\",\"static/chunks/143-b2f43c0350b073e9.js\",\"107\",\"static/chunks/107-59649a4e83c4727c.js\",\"185\",\"static/chunks/app/layout-235e01b322a4eb65.js\"],\"Analytics\"]\nc:I[6130,[],\"\"]\nd:[]\n"])</script><script>self.__next_f.push([1,"0:[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/611e16be65383aa2.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}],[\"$\",\"link\",\"1\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/c07dfed9e589ce2b.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}]],[\"$\",\"$L3\",null,{\"buildId\":\"9lQJOZZFM_jLyFF1q57pI\",\"assetPrefix\":\"\",\"initialCanonicalUrl\":\"/\",\"initialTree\":[\"\",{\"children\":[\"__PAGE__\",{}]},\"$undefined\",\"$undefined\",true],\"initialSeedData\":[\"\",{\"children\":[\"__PAGE__\",{},[[\"$L4\",[\"$\",\"$L5\",null,{\"props\":{\"params\":{},\"searchParams\":{}},\"Component\":\"$6\"}]],null],null]},[[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[[\"$\",\"head\",null,{}],[\"$\",\"body\",null,{\"children\":[[\"$\",\"$L7\",null,{\"children\":[\"$\",\"$L8\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L9\",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.\"}]}]]}]}]],\"notFoundStyles\":[],\"styles\":null}]}],[\"$\",\"$La\",null,{}]]}]]}],null],null],\"couldBeIntercepted\":false,\"initialHead\":[false,\"$Lb\"],\"globalErrorComponent\":\"$c\",\"missingSlots\":\"$Wd\"}]]\n"])</script><script>self.__next_f.push([1,"b:[[\"$\",\"meta\",\"0\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}],[\"$\",\"meta\",\"1\",{\"charSet\":\"utf-8\"}],[\"$\",\"title\",\"2\",{\"children\":\"Translator demo app built with Transformers.js + Tamagui + Next.js\"}],[\"$\",\"meta\",\"3\",{\"name\":\"description\",\"content\":\"Translator demo app built with Transformer.js + Tamagui + Next.js\"}],[\"$\",\"meta\",\"4\",{\"name\":\"application-name\",\"content\":\"Translator Demo\"}],[\"$\",\"link\",\"5\",{\"rel\":\"manifest\",\"href\":\"/manifest.json\",\"crossOrigin\":\"use-credentials\"}],[\"$\",\"meta\",\"6\",{\"name\":\"keywords\",\"content\":\"Translator,Transformers.js,Next.js,Tamagui\"}],[\"$\",\"meta\",\"7\",{\"name\":\"format-detection\",\"content\":\"telephone=no\"}],[\"$\",\"meta\",\"8\",{\"name\":\"apple-mobile-web-app-capable\",\"content\":\"yes\"}],[\"$\",\"meta\",\"9\",{\"name\":\"apple-mobile-web-app-title\",\"content\":\"Translator demo app built with Transformers.js + Tamagui + Next.js\"}],[\"$\",\"meta\",\"10\",{\"name\":\"apple-mobile-web-app-status-bar-style\",\"content\":\"default\"}],[\"$\",\"meta\",\"11\",{\"property\":\"og:title\",\"content\":\"Translator demo app built with Transformers.js + Tamagui + Next.js\"}],[\"$\",\"meta\",\"12\",{\"property\":\"og:description\",\"content\":\"Translator demo app built with Transformer.js + Tamagui + Next.js\"}],[\"$\",\"meta\",\"13\",{\"property\":\"og:url\",\"content\":\"https://hf.co/spaces/huuquyet/translator-tamagui/\"}],[\"$\",\"meta\",\"14\",{\"property\":\"og:site_name\",\"content\":\"Translator Demo\"}],[\"$\",\"meta\",\"15\",{\"property\":\"og:image\",\"content\":\"https://${process.env.vercel_url}/icon/share.png\"}],[\"$\",\"meta\",\"16\",{\"property\":\"og:type\",\"content\":\"website\"}],[\"$\",\"meta\",\"17\",{\"name\":\"twitter:card\",\"content\":\"summary\"}],[\"$\",\"meta\",\"18\",{\"name\":\"twitter:site\",\"content\":\"@HuuQuyetNg\"}],[\"$\",\"meta\",\"19\",{\"name\":\"twitter:title\",\"content\":\"Translator demo app built with Transformers.js + Tamagui + Next.js\"}],[\"$\",\"meta\",\"20\",{\"name\":\"twitter:description\",\"content\":\"Translator demo app built with Transformer.js + Tamagui + Next.js\"}],[\"$\",\"meta\",\"21\",{\"name\":\"twitter:image\",\"content\":\"https://${process.env.vercel_url}/icon/share.png\"}]]\n4:null\n"])</script></body></html><style></style>
|
index.txt
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
2:I[6513,[],"ClientPageRoot"]
|
2 |
3:I[8212,["931","static/chunks/app/page-37ee7826bcc75da3.js"],"default"]
|
3 |
-
4:I[6657,["143","static/chunks/143-b2f43c0350b073e9.js","107","static/chunks/107-59649a4e83c4727c.js","185","static/chunks/app/layout-
|
4 |
5:I[9275,[],""]
|
5 |
6:I[1343,[],""]
|
6 |
-
7:I[2944,["143","static/chunks/143-b2f43c0350b073e9.js","107","static/chunks/107-59649a4e83c4727c.js","185","static/chunks/app/layout-
|
7 |
-
0:["
|
8 |
8:[["$","meta","0",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","1",{"charSet":"utf-8"}],["$","title","2",{"children":"Translator demo app built with Transformers.js + Tamagui + Next.js"}],["$","meta","3",{"name":"description","content":"Translator demo app built with Transformer.js + Tamagui + Next.js"}],["$","meta","4",{"name":"application-name","content":"Translator Demo"}],["$","link","5",{"rel":"manifest","href":"/manifest.json","crossOrigin":"use-credentials"}],["$","meta","6",{"name":"keywords","content":"Translator,Transformers.js,Next.js,Tamagui"}],["$","meta","7",{"name":"format-detection","content":"telephone=no"}],["$","meta","8",{"name":"apple-mobile-web-app-capable","content":"yes"}],["$","meta","9",{"name":"apple-mobile-web-app-title","content":"Translator demo app built with Transformers.js + Tamagui + Next.js"}],["$","meta","10",{"name":"apple-mobile-web-app-status-bar-style","content":"default"}],["$","meta","11",{"property":"og:title","content":"Translator demo app built with Transformers.js + Tamagui + Next.js"}],["$","meta","12",{"property":"og:description","content":"Translator demo app built with Transformer.js + Tamagui + Next.js"}],["$","meta","13",{"property":"og:url","content":"https://hf.co/spaces/huuquyet/translator-tamagui/"}],["$","meta","14",{"property":"og:site_name","content":"Translator Demo"}],["$","meta","15",{"property":"og:image","content":"https://${process.env.vercel_url}/icon/share.png"}],["$","meta","16",{"property":"og:type","content":"website"}],["$","meta","17",{"name":"twitter:card","content":"summary"}],["$","meta","18",{"name":"twitter:site","content":"@HuuQuyetNg"}],["$","meta","19",{"name":"twitter:title","content":"Translator demo app built with Transformers.js + Tamagui + Next.js"}],["$","meta","20",{"name":"twitter:description","content":"Translator demo app built with Transformer.js + Tamagui + Next.js"}],["$","meta","21",{"name":"twitter:image","content":"https://${process.env.vercel_url}/icon/share.png"}]]
|
9 |
1:null
|
|
|
1 |
2:I[6513,[],"ClientPageRoot"]
|
2 |
3:I[8212,["931","static/chunks/app/page-37ee7826bcc75da3.js"],"default"]
|
3 |
+
4:I[6657,["143","static/chunks/143-b2f43c0350b073e9.js","107","static/chunks/107-59649a4e83c4727c.js","185","static/chunks/app/layout-235e01b322a4eb65.js"],"default"]
|
4 |
5:I[9275,[],""]
|
5 |
6:I[1343,[],""]
|
6 |
+
7:I[2944,["143","static/chunks/143-b2f43c0350b073e9.js","107","static/chunks/107-59649a4e83c4727c.js","185","static/chunks/app/layout-235e01b322a4eb65.js"],"Analytics"]
|
7 |
+
0:["9lQJOZZFM_jLyFF1q57pI",[[["",{"children":["__PAGE__",{}]},"$undefined","$undefined",true],["",{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{"props":{"params":{},"searchParams":{}},"Component":"$3"}]],null],null]},[["$","html",null,{"lang":"en","children":[["$","head",null,{}],["$","body",null,{"children":[["$","$L4",null,{"children":["$","$L5",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L6",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."}]}]]}]}]],"notFoundStyles":[],"styles":null}]}],["$","$L7",null,{}]]}]]}],null],null],[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/611e16be65383aa2.css","precedence":"next","crossOrigin":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/_next/static/css/c07dfed9e589ce2b.css","precedence":"next","crossOrigin":"$undefined"}]],"$L8"]]]]
|
8 |
8:[["$","meta","0",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","1",{"charSet":"utf-8"}],["$","title","2",{"children":"Translator demo app built with Transformers.js + Tamagui + Next.js"}],["$","meta","3",{"name":"description","content":"Translator demo app built with Transformer.js + Tamagui + Next.js"}],["$","meta","4",{"name":"application-name","content":"Translator Demo"}],["$","link","5",{"rel":"manifest","href":"/manifest.json","crossOrigin":"use-credentials"}],["$","meta","6",{"name":"keywords","content":"Translator,Transformers.js,Next.js,Tamagui"}],["$","meta","7",{"name":"format-detection","content":"telephone=no"}],["$","meta","8",{"name":"apple-mobile-web-app-capable","content":"yes"}],["$","meta","9",{"name":"apple-mobile-web-app-title","content":"Translator demo app built with Transformers.js + Tamagui + Next.js"}],["$","meta","10",{"name":"apple-mobile-web-app-status-bar-style","content":"default"}],["$","meta","11",{"property":"og:title","content":"Translator demo app built with Transformers.js + Tamagui + Next.js"}],["$","meta","12",{"property":"og:description","content":"Translator demo app built with Transformer.js + Tamagui + Next.js"}],["$","meta","13",{"property":"og:url","content":"https://hf.co/spaces/huuquyet/translator-tamagui/"}],["$","meta","14",{"property":"og:site_name","content":"Translator Demo"}],["$","meta","15",{"property":"og:image","content":"https://${process.env.vercel_url}/icon/share.png"}],["$","meta","16",{"property":"og:type","content":"website"}],["$","meta","17",{"name":"twitter:card","content":"summary"}],["$","meta","18",{"name":"twitter:site","content":"@HuuQuyetNg"}],["$","meta","19",{"name":"twitter:title","content":"Translator demo app built with Transformers.js + Tamagui + Next.js"}],["$","meta","20",{"name":"twitter:description","content":"Translator demo app built with Transformer.js + Tamagui + Next.js"}],["$","meta","21",{"name":"twitter:image","content":"https://${process.env.vercel_url}/icon/share.png"}]]
|
9 |
1:null
|
nllb.html
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
<!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/_next/static/css/c07dfed9e589ce2b.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-
|
2 |
:root ._ai-center{align-items:center;}
|
3 |
:root ._fd-column{flex-direction:column;}
|
4 |
:root ._fb-auto{flex-basis:auto;}
|
@@ -37,6 +37,22 @@
|
|
37 |
:root ._ls-167744059{letter-spacing:var(--f-21-4);}
|
38 |
:root ._fos-229441220{font-size:var(--f-si-4);}
|
39 |
:root ._lh-222976573{line-height:var(--f-li-4);}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
40 |
:root ._fd-row{flex-direction:row;}
|
41 |
:root ._pos-absolute{position:absolute;}
|
42 |
:root ._b-1316330145{bottom:var(--space-11);}
|
@@ -61,16 +77,11 @@
|
|
61 |
:root ._bg-1633501478{background-color:var(--background);}
|
62 |
:root ._btw-1px{border-top-width:1px;}
|
63 |
:root ._brw-1px{border-right-width:1px;}
|
64 |
-
:root ._bbw-1px{border-bottom-width:1px;}
|
65 |
:root ._blw-1px{border-left-width:1px;}
|
66 |
:root ._btc-1726194350{border-top-color:transparent;}
|
67 |
:root ._brc-1726194350{border-right-color:transparent;}
|
68 |
:root ._bbc-1726194350{border-bottom-color:transparent;}
|
69 |
:root ._blc-1726194350{border-left-color:transparent;}
|
70 |
-
:root ._bbs-solid{border-bottom-style:solid;}
|
71 |
-
:root ._bts-solid{border-top-style:solid;}
|
72 |
-
:root ._bls-solid{border-left-style:solid;}
|
73 |
-
:root ._brs-solid{border-right-style:solid;}
|
74 |
:root ._btlr-100000px{border-top-left-radius:100000px;}
|
75 |
:root ._btrr-100000px{border-top-right-radius:100000px;}
|
76 |
:root ._bbrr-100000px{border-bottom-right-radius:100000px;}
|
@@ -84,4 +95,4 @@
|
|
84 |
:root ._maw-1611761821{max-width:var(--size-12);}
|
85 |
:root ._mah-1611761821{max-height:var(--size-12);}
|
86 |
:root ._b-30px{bottom:30px;}
|
87 |
-
:root ._l-20px{left:20px;}</style></head><body><span class="t_light is_inversed _dsp_contents"><span class=" t_light _dsp_contents is_Theme" style="color:var(--color)"><div class="_dsp-flex _ai-center _fd-column _fb-auto _bxs-border-box _pos-relative _mih-0px _miw-0px _fs-1 _fg-1 _h-100vh _jc-center _pt-1316330145 _pr-1316330145 _pb-1316330145 _pl-1316330145 _gap-1316330145"><div class="_dsp-flex _ai-stretch _fd-column _fb-auto _bxs-border-box _pos-relative _mih-0px _miw-0px _fs-0 _gap-1316330145 _jc-center"><h1 role="heading" class="is_H1 font_heading _col-675002279 _tt-1440318557 _ff-299667014 _fow-1366436877 _ls-905095908 _fos-1477259397 _lh-1677663454 _dsp-inline _bxs-border-box _ww-break-word _whiteSpace-normal _mt-0px _mr-0px _mb-0px _ml-0px _ussel-auto _ta-center">Transformers.js + Tamagui</h1><p class="is_Paragraph font_body _col-675002279 _ff-299667014 _fow-233016140 _ls-167744059 _fos-229441220 _lh-222976573 _dsp-inline _bxs-border-box _ww-break-word _whiteSpace-normal _mt-0px _mr-0px _mb-0px _ml-0px _ussel-auto _ta-center">ML-powered multilingual translation directly in your browser!</p></div><!--$!--><template data-dgst="BAILOUT_TO_CLIENT_SIDE_RENDERING"></template><!--/$--><div class="_dsp-flex _ai-stretch _fd-row _fb-auto _bxs-border-box _pos-absolute _mih-0px _miw-0px _fs-0 _b-1316330145"><p class="is_Paragraph font_body _col-675002279 _ff-299667014 _fow-233016140 _ls-167744059 _fos-229441220 _lh-222976573 _dsp-inline _bxs-border-box _ww-break-word _whiteSpace-normal _mt-0px _mr-0px _mb-0px _ml-0px _ussel-auto _ta-center">Made with<!-- --> <a role="link" data-disable-theme="true" href="https://github.com/xenova/transformers.js" class="is_Anchor font_body _ff-299667014 _fow-233016140 _ls-167744059 _fos-229441220 _lh-222976573 _dsp-inline _bxs-border-box _ww-break-word _whiteSpace-pre-wrap _mt-0px _mr-0px _mb-0px _ml-0px _col-675002279">🤗 Transformers.js</a> + <a role="link" data-disable-theme="true" href="https://github.com/tamagui/tamagui" class="is_Anchor font_body _ff-299667014 _fow-233016140 _ls-167744059 _fos-229441220 _lh-222976573 _dsp-inline _bxs-border-box _ww-break-word _whiteSpace-pre-wrap _mt-0px _mr-0px _mb-0px _ml-0px _col-675002279">Tamagui 🪄</a>. <a role="link" data-disable-theme="true" href="https://github.com/huuquyet/tranlator-tamagui" class="is_Anchor font_body _ff-299667014 _fow-233016140 _ls-167744059 _fos-229441220 _lh-222976573 _dsp-inline _bxs-border-box _ww-break-word _whiteSpace-pre-wrap _mt-0px _mr-0px _mb-0px _ml-0px _col-675002279">Give it a ⭐️</a></p></div><span class="t_sub_theme t_Button _dsp_contents is_Theme" style="color:var(--color)"><button role="button" data-disable-theme="true" tabindex="0" class="is_Button _bg-0hover-513675900 _btc-0hover-1394778429 _brc-0hover-1394778429 _bbc-0hover-1394778429 _blc-0hover-1394778429 _bg-0active-744986709 _btc-0active-1163467620 _brc-0active-1163467620 _bbc-0active-1163467620 _blc-0active-1163467620 _outlineColor-0focus-visible-834034279 _outlineStyle-0focus-visible-solid _outlineWidth-0focus-visible-2px _dsp-flex _ai-center _fd-row _fb-auto _bxs-border-box _mih-1611761821 _miw-1611761821 _fs-0 _jc-center _fw-nowrap _cur-pointer _bg-1633501478 _btw-1px _brw-1px _bbw-1px _blw-1px _btc-1726194350 _brc-1726194350 _bbc-1726194350 _blc-1726194350 _bbs-solid _bts-solid _bls-solid _brs-solid _btlr-100000px _btrr-100000px _bbrr-100000px _bblr-100000px _pt-0px _pr-0px _pb-0px _pl-0px _w-1611761821 _h-1611761821 _maw-1611761821 _mah-1611761821 _pos-absolute _b-30px _l-20px"><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="var(--color)" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="font_unset " style="color:var(--color)"><rect width="20" height="14" x="2" y="3" rx="2" stroke="var(--color)"></rect><line x1="8" x2="16" y1="21" y2="21" stroke="var(--color)"></line><line x1="12" x2="12" y1="17" y2="21" stroke="var(--color)"></line></svg></button></span></div></span></span><!--$!--><template data-dgst="BAILOUT_TO_CLIENT_SIDE_RENDERING"></template><!--/$--><script src="/_next/static/chunks/webpack-ef8a5244f1ffd88e.js" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0]);self.__next_f.push([2,null])</script><script>self.__next_f.push([1,"1:HL[\"/_next/static/css/c07dfed9e589ce2b.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"2:I[5751,[],\"\"]\n4:I[6513,[],\"ClientPageRoot\"]\n5:I[2120,[\"907\",\"static/chunks/app/(model)/nllb/page-0289fdaf2dda2bd2.js\"],\"default\"]\n6:I[9275,[],\"\"]\n7:I[1343,[],\"\"]\n8:I[6556,[\"143\",\"static/chunks/143-b2f43c0350b073e9.js\",\"653\",\"static/chunks/653-9fb366c8a2b3b64a.js\",\"107\",\"static/chunks/107-59649a4e83c4727c.js\",\"153\",\"static/chunks/app/(model)/layout-6b52a26530010a98.js\"],\"default\"]\n9:I[6657,[\"143\",\"static/chunks/143-b2f43c0350b073e9.js\",\"107\",\"static/chunks/107-59649a4e83c4727c.js\",\"185\",\"static/chunks/app/layout-437194cf8d85f4ca.js\"],\"default\"]\ne:I[2944,[\"143\",\"static/chunks/143-b2f43c0350b073e9.js\",\"107\",\"static/chunks/107-59649a4e83c4727c.js\",\"185\",\"static/chunks/app/layout-437194cf8d85f4ca.js\"],\"Analytics\"]\n10:I[6130,[],\"\"]\na:{\"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\"}\nb:{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"}\nc:{\"display\":\"inline-block\"}\nd:{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0}\n11:[]\n"])</script><script>self.__next_f.push([1,"0:[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/c07dfed9e589ce2b.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}]],[\"$\",\"$L2\",null,{\"buildId\":\"OONzmXVj5KVdSpNq9-8i8\",\"assetPrefix\":\"\",\"initialCanonicalUrl\":\"/nllb\",\"initialTree\":[\"\",{\"children\":[\"(model)\",{\"children\":[\"nllb\",{\"children\":[\"__PAGE__\",{}]}]}]},\"$undefined\",\"$undefined\",true],\"initialSeedData\":[\"\",{\"children\":[\"(model)\",{\"children\":[\"nllb\",{\"children\":[\"__PAGE__\",{},[[\"$L3\",[\"$\",\"$L4\",null,{\"props\":{\"params\":{},\"searchParams\":{}},\"Component\":\"$5\"}]],null],null]},[\"$\",\"$L6\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"(model)\",\"children\",\"nllb\",\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L7\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"notFoundStyles\":\"$undefined\",\"styles\":null}],null]},[[\"$\",\"$L8\",null,{\"children\":[\"$\",\"$L6\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"(model)\",\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L7\",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.\"}]}]]}]}]],\"notFoundStyles\":[],\"styles\":null}]}],null],null]},[[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[[\"$\",\"head\",null,{}],[\"$\",\"body\",null,{\"children\":[[\"$\",\"$L9\",null,{\"children\":[\"$\",\"$L6\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L7\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":\"$a\",\"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\":\"$b\",\"children\":\"404\"}],[\"$\",\"div\",null,{\"style\":\"$c\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$d\",\"children\":\"This page could not be found.\"}]}]]}]}]],\"notFoundStyles\":[],\"styles\":null}]}],[\"$\",\"$Le\",null,{}]]}]]}],null],null],\"couldBeIntercepted\":false,\"initialHead\":[false,\"$Lf\"],\"globalErrorComponent\":\"$10\",\"missingSlots\":\"$W11\"}]]\n"])</script><script>self.__next_f.push([1,"f:[[\"$\",\"meta\",\"0\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}],[\"$\",\"meta\",\"1\",{\"charSet\":\"utf-8\"}],[\"$\",\"title\",\"2\",{\"children\":\"Translator demo app built with Transformers.js + Tamagui + Next.js\"}],[\"$\",\"meta\",\"3\",{\"name\":\"description\",\"content\":\"Translator demo app built with Transformer.js + Tamagui + Next.js\"}],[\"$\",\"meta\",\"4\",{\"name\":\"application-name\",\"content\":\"Translator Demo\"}],[\"$\",\"link\",\"5\",{\"rel\":\"manifest\",\"href\":\"/manifest.json\",\"crossOrigin\":\"use-credentials\"}],[\"$\",\"meta\",\"6\",{\"name\":\"keywords\",\"content\":\"Translator,Transformers.js,Next.js,Tamagui\"}],[\"$\",\"meta\",\"7\",{\"name\":\"format-detection\",\"content\":\"telephone=no\"}],[\"$\",\"meta\",\"8\",{\"name\":\"apple-mobile-web-app-capable\",\"content\":\"yes\"}],[\"$\",\"meta\",\"9\",{\"name\":\"apple-mobile-web-app-title\",\"content\":\"Translator demo app built with Transformers.js + Tamagui + Next.js\"}],[\"$\",\"meta\",\"10\",{\"name\":\"apple-mobile-web-app-status-bar-style\",\"content\":\"default\"}],[\"$\",\"meta\",\"11\",{\"property\":\"og:title\",\"content\":\"Translator demo app built with Transformers.js + Tamagui + Next.js\"}],[\"$\",\"meta\",\"12\",{\"property\":\"og:description\",\"content\":\"Translator demo app built with Transformer.js + Tamagui + Next.js\"}],[\"$\",\"meta\",\"13\",{\"property\":\"og:url\",\"content\":\"https://hf.co/spaces/huuquyet/translator-tamagui/\"}],[\"$\",\"meta\",\"14\",{\"property\":\"og:site_name\",\"content\":\"Translator Demo\"}],[\"$\",\"meta\",\"15\",{\"property\":\"og:image\",\"content\":\"https://${process.env.vercel_url}/icon/share.png\"}],[\"$\",\"meta\",\"16\",{\"property\":\"og:type\",\"content\":\"website\"}],[\"$\",\"meta\",\"17\",{\"name\":\"twitter:card\",\"content\":\"summary\"}],[\"$\",\"meta\",\"18\",{\"name\":\"twitter:site\",\"content\":\"@HuuQuyetNg\"}],[\"$\",\"meta\",\"19\",{\"name\":\"twitter:title\",\"content\":\"Translator demo app built with Transformers.js + Tamagui + Next.js\"}],[\"$\",\"meta\",\"20\",{\"name\":\"twitter:description\",\"content\":\"Translator demo app built with Transformer.js + Tamagui + Next.js\"}],[\"$\",\"meta\",\"21\",{\"name\":\"twitter:image\",\"content\":\"https://${process.env.vercel_url}/icon/share.png\"}]]\n3:null\n"])</script></body></html><style></style>
|
|
|
1 |
+
<!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/_next/static/css/611e16be65383aa2.css" data-precedence="next"/><link rel="stylesheet" href="/_next/static/css/c07dfed9e589ce2b.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-fc5e4499863e27bc.js"/><script src="/_next/static/chunks/fd9d1056-8fba21ecb5fa45b6.js" async=""></script><script src="/_next/static/chunks/190-b17f3b7cfaa2c9b9.js" async=""></script><script src="/_next/static/chunks/main-app-fa52e3055e2c0d83.js" async=""></script><script src="/_next/static/chunks/app/(model)/nllb/page-9e70ef0f91cf3446.js" async=""></script><script src="/_next/static/chunks/143-b2f43c0350b073e9.js" async=""></script><script src="/_next/static/chunks/994-ec8a144ab90756cd.js" async=""></script><script src="/_next/static/chunks/107-59649a4e83c4727c.js" async=""></script><script src="/_next/static/chunks/app/(model)/layout-935f9533cc1e5305.js" async=""></script><script src="/_next/static/chunks/app/layout-235e01b322a4eb65.js" async=""></script><title>Translator demo app built with Transformers.js + Tamagui + Next.js</title><meta name="description" content="Translator demo app built with Transformer.js + Tamagui + Next.js"/><meta name="application-name" content="Translator Demo"/><link rel="manifest" href="/manifest.json" crossorigin="use-credentials"/><meta name="keywords" content="Translator,Transformers.js,Next.js,Tamagui"/><meta name="format-detection" content="telephone=no"/><meta name="apple-mobile-web-app-capable" content="yes"/><meta name="apple-mobile-web-app-title" content="Translator demo app built with Transformers.js + Tamagui + Next.js"/><meta name="apple-mobile-web-app-status-bar-style" content="default"/><meta property="og:title" content="Translator demo app built with Transformers.js + Tamagui + Next.js"/><meta property="og:description" content="Translator demo app built with Transformer.js + Tamagui + Next.js"/><meta property="og:url" content="https://hf.co/spaces/huuquyet/translator-tamagui/"/><meta property="og:site_name" content="Translator Demo"/><meta property="og:image" content="https://${process.env.vercel_url}/icon/share.png"/><meta property="og:type" content="website"/><meta name="twitter:card" content="summary"/><meta name="twitter:site" content="@HuuQuyetNg"/><meta name="twitter:title" content="Translator demo app built with Transformers.js + Tamagui + Next.js"/><meta name="twitter:description" content="Translator demo app built with Transformer.js + Tamagui + Next.js"/><meta name="twitter:image" content="https://${process.env.vercel_url}/icon/share.png"/><script src="/_next/static/chunks/polyfills-78c92fac7aa8fdd8.js" noModule=""></script><style>:root ._dsp-flex{display:flex;}
|
2 |
:root ._ai-center{align-items:center;}
|
3 |
:root ._fd-column{flex-direction:column;}
|
4 |
:root ._fb-auto{flex-basis:auto;}
|
|
|
37 |
:root ._ls-167744059{letter-spacing:var(--f-21-4);}
|
38 |
:root ._fos-229441220{font-size:var(--f-si-4);}
|
39 |
:root ._lh-222976573{line-height:var(--f-li-4);}
|
40 |
+
:root ._btc-2122800589{border-top-color:var(--borderColor);}
|
41 |
+
:root ._brc-2122800589{border-right-color:var(--borderColor);}
|
42 |
+
:root ._bbc-2122800589{border-bottom-color:var(--borderColor);}
|
43 |
+
:root ._blc-2122800589{border-left-color:var(--borderColor);}
|
44 |
+
:root ._btw-0px{border-top-width:0px;}
|
45 |
+
:root ._brw-0px{border-right-width:0px;}
|
46 |
+
:root ._bbw-1px{border-bottom-width:1px;}
|
47 |
+
:root ._blw-0px{border-left-width:0px;}
|
48 |
+
:root ._h-0px{height:0px;}
|
49 |
+
:root ._mah-0px{max-height:0px;}
|
50 |
+
:root ._als-stretch{align-self:stretch;}
|
51 |
+
:root ._bbs-solid{border-bottom-style:solid;}
|
52 |
+
:root ._bts-solid{border-top-style:solid;}
|
53 |
+
:root ._bls-solid{border-left-style:solid;}
|
54 |
+
:root ._brs-solid{border-right-style:solid;}
|
55 |
+
:root ._transform-d0t1394298074{transform:translateY(-0.5px);}
|
56 |
:root ._fd-row{flex-direction:row;}
|
57 |
:root ._pos-absolute{position:absolute;}
|
58 |
:root ._b-1316330145{bottom:var(--space-11);}
|
|
|
77 |
:root ._bg-1633501478{background-color:var(--background);}
|
78 |
:root ._btw-1px{border-top-width:1px;}
|
79 |
:root ._brw-1px{border-right-width:1px;}
|
|
|
80 |
:root ._blw-1px{border-left-width:1px;}
|
81 |
:root ._btc-1726194350{border-top-color:transparent;}
|
82 |
:root ._brc-1726194350{border-right-color:transparent;}
|
83 |
:root ._bbc-1726194350{border-bottom-color:transparent;}
|
84 |
:root ._blc-1726194350{border-left-color:transparent;}
|
|
|
|
|
|
|
|
|
85 |
:root ._btlr-100000px{border-top-left-radius:100000px;}
|
86 |
:root ._btrr-100000px{border-top-right-radius:100000px;}
|
87 |
:root ._bbrr-100000px{border-bottom-right-radius:100000px;}
|
|
|
95 |
:root ._maw-1611761821{max-width:var(--size-12);}
|
96 |
:root ._mah-1611761821{max-height:var(--size-12);}
|
97 |
:root ._b-30px{bottom:30px;}
|
98 |
+
:root ._l-20px{left:20px;}</style></head><body><span class="t_light is_inversed _dsp_contents"><span class=" t_light _dsp_contents is_Theme" style="color:var(--color)"><div class="_dsp-flex _ai-center _fd-column _fb-auto _bxs-border-box _pos-relative _mih-0px _miw-0px _fs-1 _fg-1 _h-100vh _jc-center _pt-1316330145 _pr-1316330145 _pb-1316330145 _pl-1316330145 _gap-1316330145"><div class="_dsp-flex _ai-stretch _fd-column _fb-auto _bxs-border-box _pos-relative _mih-0px _miw-0px _fs-0 _gap-1316330145 _jc-center"><h1 role="heading" class="is_H1 font_heading _col-675002279 _tt-1440318557 _ff-299667014 _fow-1366436877 _ls-905095908 _fos-1477259397 _lh-1677663454 _dsp-inline _bxs-border-box _ww-break-word _whiteSpace-normal _mt-0px _mr-0px _mb-0px _ml-0px _ussel-auto _ta-center">Transformers.js + Tamagui</h1><p class="is_Paragraph font_body _col-675002279 _ff-299667014 _fow-233016140 _ls-167744059 _fos-229441220 _lh-222976573 _dsp-inline _bxs-border-box _ww-break-word _whiteSpace-normal _mt-0px _mr-0px _mb-0px _ml-0px _ussel-auto _ta-center">ML-powered multilingual translation directly in your browser!</p></div><div class="is_Separator _dsp-flex _ai-stretch _fd-column _fb-auto _bxs-border-box _pos-relative _mih-0px _miw-0px _fs-1 _btc-2122800589 _brc-2122800589 _bbc-2122800589 _blc-2122800589 _btw-0px _brw-0px _bbw-1px _blw-0px _fg-1 _h-0px _mah-0px _als-stretch _bbs-solid _bts-solid _bls-solid _brs-solid _transform-d0t1394298074"></div><!--$!--><template data-dgst="BAILOUT_TO_CLIENT_SIDE_RENDERING"></template><!--/$--><div class="_dsp-flex _ai-stretch _fd-row _fb-auto _bxs-border-box _pos-absolute _mih-0px _miw-0px _fs-0 _b-1316330145"><p class="is_Paragraph font_body _col-675002279 _ff-299667014 _fow-233016140 _ls-167744059 _fos-229441220 _lh-222976573 _dsp-inline _bxs-border-box _ww-break-word _whiteSpace-normal _mt-0px _mr-0px _mb-0px _ml-0px _ussel-auto _ta-center">Made with<!-- --> <a role="link" data-disable-theme="true" href="https://github.com/xenova/transformers.js" class="is_Anchor font_body _ff-299667014 _fow-233016140 _ls-167744059 _fos-229441220 _lh-222976573 _dsp-inline _bxs-border-box _ww-break-word _whiteSpace-pre-wrap _mt-0px _mr-0px _mb-0px _ml-0px _col-675002279">🤗 Transformers.js</a> + <a role="link" data-disable-theme="true" href="https://github.com/tamagui/tamagui" class="is_Anchor font_body _ff-299667014 _fow-233016140 _ls-167744059 _fos-229441220 _lh-222976573 _dsp-inline _bxs-border-box _ww-break-word _whiteSpace-pre-wrap _mt-0px _mr-0px _mb-0px _ml-0px _col-675002279">Tamagui 🪄</a>. <a role="link" data-disable-theme="true" href="https://github.com/huuquyet/tranlator-tamagui" class="is_Anchor font_body _ff-299667014 _fow-233016140 _ls-167744059 _fos-229441220 _lh-222976573 _dsp-inline _bxs-border-box _ww-break-word _whiteSpace-pre-wrap _mt-0px _mr-0px _mb-0px _ml-0px _col-675002279">Give it a ⭐️</a></p></div><span class="t_sub_theme t_Button _dsp_contents is_Theme" style="color:var(--color)"><button role="button" data-disable-theme="true" tabindex="0" class="is_Button _bg-0hover-513675900 _btc-0hover-1394778429 _brc-0hover-1394778429 _bbc-0hover-1394778429 _blc-0hover-1394778429 _bg-0active-744986709 _btc-0active-1163467620 _brc-0active-1163467620 _bbc-0active-1163467620 _blc-0active-1163467620 _outlineColor-0focus-visible-834034279 _outlineStyle-0focus-visible-solid _outlineWidth-0focus-visible-2px _dsp-flex _ai-center _fd-row _fb-auto _bxs-border-box _mih-1611761821 _miw-1611761821 _fs-0 _jc-center _fw-nowrap _cur-pointer _bg-1633501478 _btw-1px _brw-1px _bbw-1px _blw-1px _btc-1726194350 _brc-1726194350 _bbc-1726194350 _blc-1726194350 _bbs-solid _bts-solid _bls-solid _brs-solid _btlr-100000px _btrr-100000px _bbrr-100000px _bblr-100000px _pt-0px _pr-0px _pb-0px _pl-0px _w-1611761821 _h-1611761821 _maw-1611761821 _mah-1611761821 _pos-absolute _b-30px _l-20px"><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="var(--color)" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="font_unset " style="color:var(--color)"><rect width="20" height="14" x="2" y="3" rx="2" stroke="var(--color)"></rect><line x1="8" x2="16" y1="21" y2="21" stroke="var(--color)"></line><line x1="12" x2="12" y1="17" y2="21" stroke="var(--color)"></line></svg></button></span></div></span></span><!--$!--><template data-dgst="BAILOUT_TO_CLIENT_SIDE_RENDERING"></template><!--/$--><script src="/_next/static/chunks/webpack-fc5e4499863e27bc.js" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0]);self.__next_f.push([2,null])</script><script>self.__next_f.push([1,"1:HL[\"/_next/static/css/611e16be65383aa2.css\",\"style\"]\n2:HL[\"/_next/static/css/c07dfed9e589ce2b.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"3:I[5751,[],\"\"]\n5:I[6513,[],\"ClientPageRoot\"]\n6:I[2120,[\"907\",\"static/chunks/app/(model)/nllb/page-9e70ef0f91cf3446.js\"],\"default\"]\n7:I[9275,[],\"\"]\n8:I[1343,[],\"\"]\n9:I[6556,[\"143\",\"static/chunks/143-b2f43c0350b073e9.js\",\"994\",\"static/chunks/994-ec8a144ab90756cd.js\",\"107\",\"static/chunks/107-59649a4e83c4727c.js\",\"153\",\"static/chunks/app/(model)/layout-935f9533cc1e5305.js\"],\"default\"]\na:I[6657,[\"143\",\"static/chunks/143-b2f43c0350b073e9.js\",\"107\",\"static/chunks/107-59649a4e83c4727c.js\",\"185\",\"static/chunks/app/layout-235e01b322a4eb65.js\"],\"default\"]\nf:I[2944,[\"143\",\"static/chunks/143-b2f43c0350b073e9.js\",\"107\",\"static/chunks/107-59649a4e83c4727c.js\",\"185\",\"static/chunks/app/layout-235e01b322a4eb65.js\"],\"Analytics\"]\n11:I[6130,[],\"\"]\nb:{\"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\"}\nc:{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"}\nd:{\"display\":\"inline-block\"}\ne:{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0}\n12:[]\n"])</script><script>self.__next_f.push([1,"0:[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/611e16be65383aa2.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}],[\"$\",\"link\",\"1\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/c07dfed9e589ce2b.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}]],[\"$\",\"$L3\",null,{\"buildId\":\"9lQJOZZFM_jLyFF1q57pI\",\"assetPrefix\":\"\",\"initialCanonicalUrl\":\"/nllb\",\"initialTree\":[\"\",{\"children\":[\"(model)\",{\"children\":[\"nllb\",{\"children\":[\"__PAGE__\",{}]}]}]},\"$undefined\",\"$undefined\",true],\"initialSeedData\":[\"\",{\"children\":[\"(model)\",{\"children\":[\"nllb\",{\"children\":[\"__PAGE__\",{},[[\"$L4\",[\"$\",\"$L5\",null,{\"props\":{\"params\":{},\"searchParams\":{}},\"Component\":\"$6\"}]],null],null]},[\"$\",\"$L7\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"(model)\",\"children\",\"nllb\",\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L8\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"notFoundStyles\":\"$undefined\",\"styles\":null}],null]},[[\"$\",\"$L9\",null,{\"children\":[\"$\",\"$L7\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"(model)\",\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L8\",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.\"}]}]]}]}]],\"notFoundStyles\":[],\"styles\":null}]}],null],null]},[[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[[\"$\",\"head\",null,{}],[\"$\",\"body\",null,{\"children\":[[\"$\",\"$La\",null,{\"children\":[\"$\",\"$L7\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L8\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":\"$b\",\"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\":\"$c\",\"children\":\"404\"}],[\"$\",\"div\",null,{\"style\":\"$d\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$e\",\"children\":\"This page could not be found.\"}]}]]}]}]],\"notFoundStyles\":[],\"styles\":null}]}],[\"$\",\"$Lf\",null,{}]]}]]}],null],null],\"couldBeIntercepted\":false,\"initialHead\":[false,\"$L10\"],\"globalErrorComponent\":\"$11\",\"missingSlots\":\"$W12\"}]]\n"])</script><script>self.__next_f.push([1,"10:[[\"$\",\"meta\",\"0\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}],[\"$\",\"meta\",\"1\",{\"charSet\":\"utf-8\"}],[\"$\",\"title\",\"2\",{\"children\":\"Translator demo app built with Transformers.js + Tamagui + Next.js\"}],[\"$\",\"meta\",\"3\",{\"name\":\"description\",\"content\":\"Translator demo app built with Transformer.js + Tamagui + Next.js\"}],[\"$\",\"meta\",\"4\",{\"name\":\"application-name\",\"content\":\"Translator Demo\"}],[\"$\",\"link\",\"5\",{\"rel\":\"manifest\",\"href\":\"/manifest.json\",\"crossOrigin\":\"use-credentials\"}],[\"$\",\"meta\",\"6\",{\"name\":\"keywords\",\"content\":\"Translator,Transformers.js,Next.js,Tamagui\"}],[\"$\",\"meta\",\"7\",{\"name\":\"format-detection\",\"content\":\"telephone=no\"}],[\"$\",\"meta\",\"8\",{\"name\":\"apple-mobile-web-app-capable\",\"content\":\"yes\"}],[\"$\",\"meta\",\"9\",{\"name\":\"apple-mobile-web-app-title\",\"content\":\"Translator demo app built with Transformers.js + Tamagui + Next.js\"}],[\"$\",\"meta\",\"10\",{\"name\":\"apple-mobile-web-app-status-bar-style\",\"content\":\"default\"}],[\"$\",\"meta\",\"11\",{\"property\":\"og:title\",\"content\":\"Translator demo app built with Transformers.js + Tamagui + Next.js\"}],[\"$\",\"meta\",\"12\",{\"property\":\"og:description\",\"content\":\"Translator demo app built with Transformer.js + Tamagui + Next.js\"}],[\"$\",\"meta\",\"13\",{\"property\":\"og:url\",\"content\":\"https://hf.co/spaces/huuquyet/translator-tamagui/\"}],[\"$\",\"meta\",\"14\",{\"property\":\"og:site_name\",\"content\":\"Translator Demo\"}],[\"$\",\"meta\",\"15\",{\"property\":\"og:image\",\"content\":\"https://${process.env.vercel_url}/icon/share.png\"}],[\"$\",\"meta\",\"16\",{\"property\":\"og:type\",\"content\":\"website\"}],[\"$\",\"meta\",\"17\",{\"name\":\"twitter:card\",\"content\":\"summary\"}],[\"$\",\"meta\",\"18\",{\"name\":\"twitter:site\",\"content\":\"@HuuQuyetNg\"}],[\"$\",\"meta\",\"19\",{\"name\":\"twitter:title\",\"content\":\"Translator demo app built with Transformers.js + Tamagui + Next.js\"}],[\"$\",\"meta\",\"20\",{\"name\":\"twitter:description\",\"content\":\"Translator demo app built with Transformer.js + Tamagui + Next.js\"}],[\"$\",\"meta\",\"21\",{\"name\":\"twitter:image\",\"content\":\"https://${process.env.vercel_url}/icon/share.png\"}]]\n4:null\n"])</script></body></html><style></style>
|
nllb.txt
CHANGED
@@ -1,14 +1,14 @@
|
|
1 |
2:I[6513,[],"ClientPageRoot"]
|
2 |
-
3:I[2120,["907","static/chunks/app/(model)/nllb/page-
|
3 |
4:I[9275,[],""]
|
4 |
5:I[1343,[],""]
|
5 |
-
6:I[6556,["143","static/chunks/143-b2f43c0350b073e9.js","
|
6 |
-
7:I[6657,["143","static/chunks/143-b2f43c0350b073e9.js","107","static/chunks/107-59649a4e83c4727c.js","185","static/chunks/app/layout-
|
7 |
-
c:I[2944,["143","static/chunks/143-b2f43c0350b073e9.js","107","static/chunks/107-59649a4e83c4727c.js","185","static/chunks/app/layout-
|
8 |
8:{"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"}
|
9 |
9:{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"}
|
10 |
a:{"display":"inline-block"}
|
11 |
b:{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0}
|
12 |
-
0:["
|
13 |
d:[["$","meta","0",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","1",{"charSet":"utf-8"}],["$","title","2",{"children":"Translator demo app built with Transformers.js + Tamagui + Next.js"}],["$","meta","3",{"name":"description","content":"Translator demo app built with Transformer.js + Tamagui + Next.js"}],["$","meta","4",{"name":"application-name","content":"Translator Demo"}],["$","link","5",{"rel":"manifest","href":"/manifest.json","crossOrigin":"use-credentials"}],["$","meta","6",{"name":"keywords","content":"Translator,Transformers.js,Next.js,Tamagui"}],["$","meta","7",{"name":"format-detection","content":"telephone=no"}],["$","meta","8",{"name":"apple-mobile-web-app-capable","content":"yes"}],["$","meta","9",{"name":"apple-mobile-web-app-title","content":"Translator demo app built with Transformers.js + Tamagui + Next.js"}],["$","meta","10",{"name":"apple-mobile-web-app-status-bar-style","content":"default"}],["$","meta","11",{"property":"og:title","content":"Translator demo app built with Transformers.js + Tamagui + Next.js"}],["$","meta","12",{"property":"og:description","content":"Translator demo app built with Transformer.js + Tamagui + Next.js"}],["$","meta","13",{"property":"og:url","content":"https://hf.co/spaces/huuquyet/translator-tamagui/"}],["$","meta","14",{"property":"og:site_name","content":"Translator Demo"}],["$","meta","15",{"property":"og:image","content":"https://${process.env.vercel_url}/icon/share.png"}],["$","meta","16",{"property":"og:type","content":"website"}],["$","meta","17",{"name":"twitter:card","content":"summary"}],["$","meta","18",{"name":"twitter:site","content":"@HuuQuyetNg"}],["$","meta","19",{"name":"twitter:title","content":"Translator demo app built with Transformers.js + Tamagui + Next.js"}],["$","meta","20",{"name":"twitter:description","content":"Translator demo app built with Transformer.js + Tamagui + Next.js"}],["$","meta","21",{"name":"twitter:image","content":"https://${process.env.vercel_url}/icon/share.png"}]]
|
14 |
1:null
|
|
|
1 |
2:I[6513,[],"ClientPageRoot"]
|
2 |
+
3:I[2120,["907","static/chunks/app/(model)/nllb/page-9e70ef0f91cf3446.js"],"default"]
|
3 |
4:I[9275,[],""]
|
4 |
5:I[1343,[],""]
|
5 |
+
6:I[6556,["143","static/chunks/143-b2f43c0350b073e9.js","994","static/chunks/994-ec8a144ab90756cd.js","107","static/chunks/107-59649a4e83c4727c.js","153","static/chunks/app/(model)/layout-935f9533cc1e5305.js"],"default"]
|
6 |
+
7:I[6657,["143","static/chunks/143-b2f43c0350b073e9.js","107","static/chunks/107-59649a4e83c4727c.js","185","static/chunks/app/layout-235e01b322a4eb65.js"],"default"]
|
7 |
+
c:I[2944,["143","static/chunks/143-b2f43c0350b073e9.js","107","static/chunks/107-59649a4e83c4727c.js","185","static/chunks/app/layout-235e01b322a4eb65.js"],"Analytics"]
|
8 |
8:{"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"}
|
9 |
9:{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"}
|
10 |
a:{"display":"inline-block"}
|
11 |
b:{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0}
|
12 |
+
0:["9lQJOZZFM_jLyFF1q57pI",[[["",{"children":["(model)",{"children":["nllb",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",{"children":["(model)",{"children":["nllb",{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{"props":{"params":{},"searchParams":{}},"Component":"$3"}]],null],null]},["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","(model)","children","nllb","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","styles":null}],null]},[["$","$L6",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","(model)","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",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."}]}]]}]}]],"notFoundStyles":[],"styles":null}]}],null],null]},[["$","html",null,{"lang":"en","children":[["$","head",null,{}],["$","body",null,{"children":[["$","$L7",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":"$8","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":"$9","children":"404"}],["$","div",null,{"style":"$a","children":["$","h2",null,{"style":"$b","children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[],"styles":null}]}],["$","$Lc",null,{}]]}]]}],null],null],[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/611e16be65383aa2.css","precedence":"next","crossOrigin":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/_next/static/css/c07dfed9e589ce2b.css","precedence":"next","crossOrigin":"$undefined"}]],"$Ld"]]]]
|
13 |
d:[["$","meta","0",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","1",{"charSet":"utf-8"}],["$","title","2",{"children":"Translator demo app built with Transformers.js + Tamagui + Next.js"}],["$","meta","3",{"name":"description","content":"Translator demo app built with Transformer.js + Tamagui + Next.js"}],["$","meta","4",{"name":"application-name","content":"Translator Demo"}],["$","link","5",{"rel":"manifest","href":"/manifest.json","crossOrigin":"use-credentials"}],["$","meta","6",{"name":"keywords","content":"Translator,Transformers.js,Next.js,Tamagui"}],["$","meta","7",{"name":"format-detection","content":"telephone=no"}],["$","meta","8",{"name":"apple-mobile-web-app-capable","content":"yes"}],["$","meta","9",{"name":"apple-mobile-web-app-title","content":"Translator demo app built with Transformers.js + Tamagui + Next.js"}],["$","meta","10",{"name":"apple-mobile-web-app-status-bar-style","content":"default"}],["$","meta","11",{"property":"og:title","content":"Translator demo app built with Transformers.js + Tamagui + Next.js"}],["$","meta","12",{"property":"og:description","content":"Translator demo app built with Transformer.js + Tamagui + Next.js"}],["$","meta","13",{"property":"og:url","content":"https://hf.co/spaces/huuquyet/translator-tamagui/"}],["$","meta","14",{"property":"og:site_name","content":"Translator Demo"}],["$","meta","15",{"property":"og:image","content":"https://${process.env.vercel_url}/icon/share.png"}],["$","meta","16",{"property":"og:type","content":"website"}],["$","meta","17",{"name":"twitter:card","content":"summary"}],["$","meta","18",{"name":"twitter:site","content":"@HuuQuyetNg"}],["$","meta","19",{"name":"twitter:title","content":"Translator demo app built with Transformers.js + Tamagui + Next.js"}],["$","meta","20",{"name":"twitter:description","content":"Translator demo app built with Transformer.js + Tamagui + Next.js"}],["$","meta","21",{"name":"twitter:image","content":"https://${process.env.vercel_url}/icon/share.png"}]]
|
14 |
1:null
|
sw.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
if(!self.define){let e,s={};const a=(a,
|
|
|
1 |
+
if(!self.define){let e,s={};const a=(a,n)=>(a=new URL(a+".js",n).href,s[a]||new Promise((s=>{if("document"in self){const e=document.createElement("script");e.src=a,e.onload=s,document.head.appendChild(e)}else e=a,importScripts(a),s()})).then((()=>{let e=s[a];if(!e)throw new Error(`Module ${a} didn’t register its module`);return e})));self.define=(n,i)=>{const c=e||("document"in self?document.currentScript.src:"")||location.href;if(s[c])return;let t={};const r=e=>a(e,c),o={module:{uri:c},exports:t,require:r};s[c]=Promise.all(n.map((e=>o[e]||r(e)))).then((e=>(i(...e),t)))}}define(["./workbox-c06b064f"],(function(e){"use strict";importScripts(),self.skipWaiting(),e.clientsClaim(),e.precacheAndRoute([{url:"/_next/static/9lQJOZZFM_jLyFF1q57pI/_buildManifest.js",revision:"2ec694eb52ae4f523f265a46bae4d768"},{url:"/_next/static/9lQJOZZFM_jLyFF1q57pI/_ssgManifest.js",revision:"b6652df95db52feb4daf4eca35380933"},{url:"/_next/static/chunks/107-59649a4e83c4727c.js",revision:"9lQJOZZFM_jLyFF1q57pI"},{url:"/_next/static/chunks/143-b2f43c0350b073e9.js",revision:"9lQJOZZFM_jLyFF1q57pI"},{url:"/_next/static/chunks/190-b17f3b7cfaa2c9b9.js",revision:"9lQJOZZFM_jLyFF1q57pI"},{url:"/_next/static/chunks/590caa2a.050abc56129515a9.js",revision:"050abc56129515a9"},{url:"/_next/static/chunks/6139e184.ec466d5482164223.js",revision:"ec466d5482164223"},{url:"/_next/static/chunks/858.c90b9b067f35e0c8.js",revision:"c90b9b067f35e0c8"},{url:"/_next/static/chunks/960.b076f43b72fa5d14.js",revision:"b076f43b72fa5d14"},{url:"/_next/static/chunks/994-ec8a144ab90756cd.js",revision:"9lQJOZZFM_jLyFF1q57pI"},{url:"/_next/static/chunks/app/(model)/layout-935f9533cc1e5305.js",revision:"9lQJOZZFM_jLyFF1q57pI"},{url:"/_next/static/chunks/app/(model)/nllb/page-9e70ef0f91cf3446.js",revision:"9lQJOZZFM_jLyFF1q57pI"},{url:"/_next/static/chunks/app/_not-found/page-c3d72fd6c9f4f96a.js",revision:"9lQJOZZFM_jLyFF1q57pI"},{url:"/_next/static/chunks/app/layout-235e01b322a4eb65.js",revision:"9lQJOZZFM_jLyFF1q57pI"},{url:"/_next/static/chunks/app/page-37ee7826bcc75da3.js",revision:"9lQJOZZFM_jLyFF1q57pI"},{url:"/_next/static/chunks/b2db8554.2f90d90ec938bc93.js",revision:"2f90d90ec938bc93"},{url:"/_next/static/chunks/fd9d1056-8fba21ecb5fa45b6.js",revision:"9lQJOZZFM_jLyFF1q57pI"},{url:"/_next/static/chunks/framework-aec844d2ccbe7592.js",revision:"9lQJOZZFM_jLyFF1q57pI"},{url:"/_next/static/chunks/main-app-fa52e3055e2c0d83.js",revision:"9lQJOZZFM_jLyFF1q57pI"},{url:"/_next/static/chunks/main-d3a100165270d398.js",revision:"9lQJOZZFM_jLyFF1q57pI"},{url:"/_next/static/chunks/pages/_app-6a626577ffa902a4.js",revision:"9lQJOZZFM_jLyFF1q57pI"},{url:"/_next/static/chunks/pages/_error-1be831200e60c5c0.js",revision:"9lQJOZZFM_jLyFF1q57pI"},{url:"/_next/static/chunks/polyfills-78c92fac7aa8fdd8.js",revision:"79330112775102f91e1010318bae2bd3"},{url:"/_next/static/chunks/webpack-fc5e4499863e27bc.js",revision:"9lQJOZZFM_jLyFF1q57pI"},{url:"/_next/static/css/611e16be65383aa2.css",revision:"611e16be65383aa2"},{url:"/_next/static/css/c07dfed9e589ce2b.css",revision:"c07dfed9e589ce2b"},{url:"/favicon.ico",revision:"4106c96e0a55d35b1b13fa4281a907b7"},{url:"/images/adaptive-icon.png",revision:"97dae5a0e62ad8551d8a31897b425e63"},{url:"/images/android-icon-192x192.png",revision:"9f29f1d7c8f6da2d2e64bce1d3136d3f"},{url:"/images/android-icon-512x512.png",revision:"9f29f1d7c8f6da2d2e64bce1d3136d3f"},{url:"/images/apple-icon-16x16.png",revision:"5998cde017dee1b68827ac575ce6a300"},{url:"/images/apple-icon-32x32.png",revision:"2a82680a8c270c3ad4b8341f5ef897f8"},{url:"/images/apple-icon.png",revision:"538a91302401ac461adfe1b509181921"},{url:"/images/favicon.png",revision:"4f1cb2cac2370cd5050681232e8575a8"},{url:"/images/icon.png",revision:"4e3f888fc8475f69fd5fa32f1ad5216a"},{url:"/images/safari-pinned-tab.svg",revision:"5876746bbc008fdab40fd1abf568ca6b"},{url:"/images/share.png",revision:"f04a8d2b41543ef4669c07e6d04e2d94"},{url:"/images/splash.png",revision:"4dc203c1f48ad8b1e9734613e88be661"},{url:"/manifest.json",revision:"82eda78286b3b0681f7ed7cb7c3a5a34"},{url:"/tamagui.css",revision:"22be1a2573fa6a7d54315ab51842bbe8"},{url:"/vercel.svg",revision:"26bf2d0adaf1028a4d4c6ee77005e819"}],{ignoreURLParametersMatching:[/^utm_/,/^fbclid$/]}),e.cleanupOutdatedCaches(),e.registerRoute("/",new e.NetworkFirst({cacheName:"start-url",plugins:[{cacheWillUpdate:async({response:e})=>e&&"opaqueredirect"===e.type?new Response(e.body,{status:200,statusText:"OK",headers:e.headers}):e}]}),"GET"),e.registerRoute(/^https:\/\/fonts\.(?:gstatic)\.com\/.*/i,new e.CacheFirst({cacheName:"google-fonts-webfonts",plugins:[new e.ExpirationPlugin({maxEntries:4,maxAgeSeconds:31536e3})]}),"GET"),e.registerRoute(/^https:\/\/fonts\.(?:googleapis)\.com\/.*/i,new e.StaleWhileRevalidate({cacheName:"google-fonts-stylesheets",plugins:[new e.ExpirationPlugin({maxEntries:4,maxAgeSeconds:604800})]}),"GET"),e.registerRoute(/\.(?:eot|otf|ttc|ttf|woff|woff2|font.css)$/i,new e.StaleWhileRevalidate({cacheName:"static-font-assets",plugins:[new e.ExpirationPlugin({maxEntries:4,maxAgeSeconds:604800})]}),"GET"),e.registerRoute(/\.(?:jpg|jpeg|gif|png|svg|ico|webp)$/i,new e.StaleWhileRevalidate({cacheName:"static-image-assets",plugins:[new e.ExpirationPlugin({maxEntries:64,maxAgeSeconds:2592e3})]}),"GET"),e.registerRoute(/\/_next\/static.+\.js$/i,new e.CacheFirst({cacheName:"next-static-js-assets",plugins:[new e.ExpirationPlugin({maxEntries:64,maxAgeSeconds:86400})]}),"GET"),e.registerRoute(/\/_next\/image\?url=.+$/i,new e.StaleWhileRevalidate({cacheName:"next-image",plugins:[new e.ExpirationPlugin({maxEntries:64,maxAgeSeconds:86400})]}),"GET"),e.registerRoute(/\.(?:mp3|wav|ogg)$/i,new e.CacheFirst({cacheName:"static-audio-assets",plugins:[new e.RangeRequestsPlugin,new e.ExpirationPlugin({maxEntries:32,maxAgeSeconds:86400})]}),"GET"),e.registerRoute(/\.(?:mp4|webm)$/i,new e.CacheFirst({cacheName:"static-video-assets",plugins:[new e.RangeRequestsPlugin,new e.ExpirationPlugin({maxEntries:32,maxAgeSeconds:86400})]}),"GET"),e.registerRoute(/\.(?:js)$/i,new e.StaleWhileRevalidate({cacheName:"static-js-assets",plugins:[new e.ExpirationPlugin({maxEntries:48,maxAgeSeconds:86400})]}),"GET"),e.registerRoute(/\.(?:css|less)$/i,new e.StaleWhileRevalidate({cacheName:"static-style-assets",plugins:[new e.ExpirationPlugin({maxEntries:32,maxAgeSeconds:86400})]}),"GET"),e.registerRoute(/\/_next\/data\/.+\/.+\.json$/i,new e.StaleWhileRevalidate({cacheName:"next-data",plugins:[new e.ExpirationPlugin({maxEntries:32,maxAgeSeconds:86400})]}),"GET"),e.registerRoute(/\.(?:json|xml|csv)$/i,new e.NetworkFirst({cacheName:"static-data-assets",plugins:[new e.ExpirationPlugin({maxEntries:32,maxAgeSeconds:86400})]}),"GET"),e.registerRoute((({sameOrigin:e,url:{pathname:s}})=>!(!e||s.startsWith("/api/auth/callback")||!s.startsWith("/api/"))),new e.NetworkFirst({cacheName:"apis",networkTimeoutSeconds:10,plugins:[new e.ExpirationPlugin({maxEntries:16,maxAgeSeconds:86400})]}),"GET"),e.registerRoute((({request:e,url:{pathname:s},sameOrigin:a})=>"1"===e.headers.get("RSC")&&"1"===e.headers.get("Next-Router-Prefetch")&&a&&!s.startsWith("/api/")),new e.NetworkFirst({cacheName:"pages-rsc-prefetch",plugins:[new e.ExpirationPlugin({maxEntries:32,maxAgeSeconds:86400})]}),"GET"),e.registerRoute((({request:e,url:{pathname:s},sameOrigin:a})=>"1"===e.headers.get("RSC")&&a&&!s.startsWith("/api/")),new e.NetworkFirst({cacheName:"pages-rsc",plugins:[new e.ExpirationPlugin({maxEntries:32,maxAgeSeconds:86400})]}),"GET"),e.registerRoute((({url:{pathname:e},sameOrigin:s})=>s&&!e.startsWith("/api/")),new e.NetworkFirst({cacheName:"pages",plugins:[new e.ExpirationPlugin({maxEntries:32,maxAgeSeconds:86400})]}),"GET"),e.registerRoute((({sameOrigin:e})=>!e),new e.NetworkFirst({cacheName:"cross-origin",networkTimeoutSeconds:10,plugins:[new e.ExpirationPlugin({maxEntries:32,maxAgeSeconds:3600})]}),"GET")}));
|