FL33TW00D commited on
Commit
ba5d254
β€’
1 Parent(s): fd0f693

chore: merge

Browse files
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="preload" href="/_next/static/media/c9a5bc6a7c948fb0-s.p.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="stylesheet" href="/_next/static/css/006faa92ee43020c.css" crossorigin="" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-82b6c37e0a41ce12.js" crossorigin=""/><script src="/_next/static/chunks/14720756-e9a7b2ed0a50d560.js" async="" crossorigin=""></script><script src="/_next/static/chunks/726-fa7588da0ba475d4.js" async="" crossorigin=""></script><script src="/_next/static/chunks/main-app-8c0c2d06caa139ca.js" async="" crossorigin=""></script><title>404: This page could not be found.</title><title>Whisper by Ratchet</title><meta name="description" content="Simple demo of Whisper."/><meta name="next-size-adjust"/><script src="/_next/static/chunks/polyfills-c67a75d1b6f99dc8.js" crossorigin="" noModule=""></script></head><body class="__className_aaf875"><main class="flex flex-1 flex-col max-w-screen-xl mx-auto p-6"><div class="flex-1"><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div><style>body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding:0 23px 0 0;font-size:24px;font-weight:500;vertical-align:top;line-height:49px">404</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:49px;margin:0">This page could not be found.</h2></div></div></div></div></main><script src="/_next/static/chunks/webpack-82b6c37e0a41ce12.js" crossorigin="" 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/media/c9a5bc6a7c948fb0-s.p.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n2:HL[\"/_next/static/css/006faa92ee43020c.css\",\"style\",{\"crossOrigin\":\"\"}]\n0:\"$L3\"\n"])</script><script>self.__next_f.push([1,"4:I[3565,[],\"\"]\n6:I[6312,[],\"\"]\n7:I[2906,[],\"\"]\nd:I[4933,[],\"\"]\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,\"fontWeigh"])</script><script>self.__next_f.push([1,"t\":400,\"lineHeight\":\"49px\",\"margin\":0}\ne:[]\n"])</script><script>self.__next_f.push([1,"3:[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/006faa92ee43020c.css\",\"precedence\":\"next\",\"crossOrigin\":\"\"}]],[\"$\",\"$L4\",null,{\"buildId\":\"ljLF5Y0IKOYPoqGtYjtP6\",\"assetPrefix\":\"\",\"initialCanonicalUrl\":\"/_not-found\",\"initialTree\":[\"\",{\"children\":[\"__PAGE__\",{}]},\"$undefined\",\"$undefined\",true],\"initialSeedData\":[\"\",{\"children\":[\"__PAGE__\",{},[\"$L5\",[[\"$\",\"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,[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[\"$\",\"body\",null,{\"className\":\"__className_aaf875\",\"children\":[\"$\",\"main\",null,{\"className\":\"flex flex-1 flex-col max-w-screen-xl mx-auto p-6\",\"children\":[\"$\",\"div\",null,{\"className\":\"flex-1\",\"children\":[\"$\",\"$L6\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\"],\"loading\":\"$undefined\",\"loadingStyles\":\"$undefined\",\"loadingScripts\":\"$undefined\",\"hasLoading\":false,\"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\":\"$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}]}]}]}]}],null]],\"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\":\"Whisper by Ratchet\"}],[\"$\",\"meta\",\"3\",{\"name\":\"description\",\"content\":\"Simple demo of Whisper.\"}],[\"$\",\"meta\",\"4\",{\"name\":\"next-size-adjust\"}]]\n5:null\n"])</script><script>self.__next_f.push([1,""])</script></body></html>
 
1
+ <!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" href="/_next/static/media/c9a5bc6a7c948fb0-s.p.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="stylesheet" href="/_next/static/css/a9ddb5cb8e5a2e57.css" crossorigin="" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-28b2d9abddfd7060.js" crossorigin=""/><script src="/_next/static/chunks/14720756-a333ce80b61a64e6.js" async="" crossorigin=""></script><script src="/_next/static/chunks/726-aa4ed113a56a70f4.js" async="" crossorigin=""></script><script src="/_next/static/chunks/main-app-8c0c2d06caa139ca.js" async="" crossorigin=""></script><script src="/_next/static/chunks/585-6590b3b1b5a6979b.js" async=""></script><script src="/_next/static/chunks/app/layout-1039081529419e22.js" async=""></script><title>404: This page could not be found.</title><title>Whisper by Ratchet</title><meta name="description" content="Simple demo of Whisper."/><meta name="next-size-adjust"/><script src="/_next/static/chunks/polyfills-c67a75d1b6f99dc8.js" crossorigin="" noModule=""></script></head><body class="__className_aaf875"><main class="flex flex-1 flex-col max-w-screen-xl mx-auto p-6"><div style="position:fixed;z-index:9999;top:16px;left:16px;right:16px;bottom:16px;pointer-events:none"></div><div class="flex-1"><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div><style>body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding:0 23px 0 0;font-size:24px;font-weight:500;vertical-align:top;line-height:49px">404</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:49px;margin:0">This page could not be found.</h2></div></div></div></div></main><script src="/_next/static/chunks/webpack-28b2d9abddfd7060.js" crossorigin="" 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/media/c9a5bc6a7c948fb0-s.p.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n2:HL[\"/_next/static/css/a9ddb5cb8e5a2e57.css\",\"style\",{\"crossOrigin\":\"\"}]\n0:\"$L3\"\n"])</script><script>self.__next_f.push([1,"4:I[3565,[],\"\"]\n6:I[585,[\"585\",\"static/chunks/585-6590b3b1b5a6979b.js\",\"185\",\"static/chunks/app/layout-1039081529419e22.js\"],\"Toaster\"]\n7:I[6312,[],\"\"]\n8:I[2906,[],\"\"]\ne:I[4933,[],\"\"]\n9:{\"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\"}\na:{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\""])</script><script>self.__next_f.push([1,":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"}\nb:{\"display\":\"inline-block\"}\nc:{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0}\nf:[]\n"])</script><script>self.__next_f.push([1,"3:[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/a9ddb5cb8e5a2e57.css\",\"precedence\":\"next\",\"crossOrigin\":\"\"}]],[\"$\",\"$L4\",null,{\"buildId\":\"qMfm-7aZo8tF3UgHoiWa1\",\"assetPrefix\":\"\",\"initialCanonicalUrl\":\"/_not-found\",\"initialTree\":[\"\",{\"children\":[\"__PAGE__\",{}]},\"$undefined\",\"$undefined\",true],\"initialSeedData\":[\"\",{\"children\":[\"__PAGE__\",{},[\"$L5\",[[\"$\",\"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,[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[\"$\",\"body\",null,{\"className\":\"__className_aaf875\",\"children\":[\"$\",\"main\",null,{\"className\":\"flex flex-1 flex-col max-w-screen-xl mx-auto p-6\",\"children\":[[\"$\",\"$L6\",null,{}],[\"$\",\"div\",null,{\"className\":\"flex-1\",\"children\":[\"$\",\"$L7\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\"],\"loading\":\"$undefined\",\"loadingStyles\":\"$undefined\",\"loadingScripts\":\"$undefined\",\"hasLoading\":false,\"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\":\"$9\",\"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\":\"$a\",\"children\":\"404\"}],[\"$\",\"div\",null,{\"style\":\"$b\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$c\",\"children\":\"This page could not be found.\"}]}]]}]}]],\"notFoundStyles\":[],\"styles\":null}]}]]}]}]}],null]],\"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\":\"Whisper by Ratchet\"}],[\"$\",\"meta\",\"3\",{\"name\":\"description\",\"content\":\"Simple demo of Whisper.\"}],[\"$\",\"meta\",\"4\",{\"name\":\"next-size-adjust\"}]]\n5:null\n"])</script><script>self.__next_f.push([1,""])</script></body></html>
_next/static/chunks/747-621ae855ce94dba3.js DELETED
@@ -1,5 +0,0 @@
1
- "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[747],{3160:function(e,t,n){e.exports=n.p+"static/media/ratchet-web_bg.eb5751e3.wasm"},1190:function(e,t,n){let r;function i(e,t,n){if(!t.has(e))throw TypeError("attempted to "+n+" private field on non-instance");return t.get(e)}function a(e,t){var n=i(e,t,"get");return n.get?n.get.call(e):n.value}function o(e,t,n){!function(e,t){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object")}(e,t),t.set(e,n)}function c(e,t,n){var r=i(e,t,"set");return!function(e,t,n){if(t.set)t.set.call(e,n);else{if(!t.writable)throw TypeError("attempted to set read only private field");t.value=n}}(e,r,n),n}n.d(t,{C:function(){return h}}),(s=b||(b={})).LOAD="LOAD",s.EXEC="EXEC",s.WRITE_FILE="WRITE_FILE",s.READ_FILE="READ_FILE",s.DELETE_FILE="DELETE_FILE",s.RENAME="RENAME",s.CREATE_DIR="CREATE_DIR",s.LIST_DIR="LIST_DIR",s.DELETE_DIR="DELETE_DIR",s.ERROR="ERROR",s.DOWNLOAD="DOWNLOAD",s.PROGRESS="PROGRESS",s.LOG="LOG";let _=(r=0,()=>r++);Error("unknown message type");let u=Error("ffmpeg is not loaded, call `await ffmpeg.load()` first"),f=Error("called FFmpeg.terminate()");Error("failed to import ffmpeg-core.js");var s,b,d=new WeakMap,l=new WeakMap,g=new WeakMap,w=new WeakMap,p=new WeakMap,m=new WeakMap,y=new WeakMap;class h{on(e,t){"log"===e?a(this,w).push(t):"progress"===e&&a(this,p).push(t)}off(e,t){"log"===e?c(this,w,a(this,w).filter(e=>e!==t)):"progress"===e&&c(this,p,a(this,p).filter(e=>e!==t))}constructor(){var e=this;o(this,d,{writable:!0,value:void 0}),o(this,l,{writable:!0,value:void 0}),o(this,g,{writable:!0,value:void 0}),o(this,w,{writable:!0,value:void 0}),o(this,p,{writable:!0,value:void 0}),o(this,m,{writable:!0,value:void 0}),o(this,y,{writable:!0,value:void 0}),c(this,d,null),c(this,l,{}),c(this,g,{}),c(this,w,[]),c(this,p,[]),this.loaded=!1,c(this,m,()=>{a(this,d)&&(a(this,d).onmessage=e=>{let{data:{id:t,type:n,data:r}}=e;switch(n){case b.LOAD:this.loaded=!0,a(this,l)[t](r);break;case b.EXEC:case b.WRITE_FILE:case b.READ_FILE:case b.DELETE_FILE:case b.RENAME:case b.CREATE_DIR:case b.LIST_DIR:case b.DELETE_DIR:a(this,l)[t](r);break;case b.LOG:a(this,w).forEach(e=>e(r));break;case b.PROGRESS:a(this,p).forEach(e=>e(r));break;case b.ERROR:a(this,g)[t](r)}delete a(this,l)[t],delete a(this,g)[t]})}),c(this,y,function(t){let{type:n,data:r}=t,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return a(e,d)?new Promise((t,o)=>{let c=_();a(e,d)&&a(e,d).postMessage({id:c,type:n,data:r},i),a(e,l)[c]=t,a(e,g)[c]=o}):Promise.reject(u)}),this.load=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return a(e,d)||(c(e,d,new Worker(n.tu(new URL(n.p+n.u(629),n.b)),{type:void 0})),a(e,m).call(e)),a(e,y).call(e,{type:b.LOAD,data:t})},this.exec=function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1;return a(e,y).call(e,{type:b.EXEC,data:{args:t,timeout:n}})},this.terminate=()=>{for(let e of Object.keys(a(this,g)))a(this,g)[e](f),delete a(this,g)[e],delete a(this,l)[e];a(this,d)&&(a(this,d).terminate(),c(this,d,null),this.loaded=!1)},this.writeFile=(e,t)=>{let n=[];return t instanceof Uint8Array&&n.push(t.buffer),a(this,y).call(this,{type:b.WRITE_FILE,data:{path:e,data:t}},n)},this.readFile=function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"binary";return a(e,y).call(e,{type:b.READ_FILE,data:{path:t,encoding:n}})},this.deleteFile=e=>a(this,y).call(this,{type:b.DELETE_FILE,data:{path:e}}),this.rename=(e,t)=>a(this,y).call(this,{type:b.RENAME,data:{oldPath:e,newPath:t}}),this.createDir=e=>a(this,y).call(this,{type:b.CREATE_DIR,data:{path:e}}),this.listDir=e=>a(this,y).call(this,{type:b.LIST_DIR,data:{path:e}}),this.deleteDir=e=>a(this,y).call(this,{type:b.DELETE_DIR,data:{path:e}})}}},1715:function(e,t,n){n.d(t,{Wn:function(){return o}});let r=Error("failed to get response body reader"),i=Error("failed to complete download"),a=async(e,t)=>{let n;let a=await fetch(e);try{var o;let c=parseInt(a.headers.get("Content-Length")||"-1"),_=null===(o=a.body)||void 0===o?void 0:o.getReader();if(!_)throw r;let u=[],f=0;for(;;){let{done:n,value:r}=await _.read(),a=r?r.length:0;if(n){if(-1!=c&&c!==f)throw i;t&&t({url:e,total:c,received:f,delta:a,done:n});break}u.push(r),f+=a,t&&t({url:e,total:c,received:f,delta:a,done:n})}let s=new Uint8Array(f),b=0;for(let e of u)s.set(e,b),b+=e.length;n=s.buffer}catch(r){console.log("failed to send download progress event: ",r),n=await a.arrayBuffer(),t&&t({url:e,total:n.byteLength,received:n.byteLength,delta:0,done:!0})}return n},o=async function(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3?arguments[3]:void 0,i=n?await a(e,r):await (await fetch(e)).arrayBuffer(),o=new Blob([i],{type:t});return URL.createObjectURL(o)}},7439:function(e,t,n){let r;n.d(t,{Hn:function(){return W},dX:function(){return F},iQ:function(){return A},ko:function(){return k},qX:function(){return P}}),e=n.hmd(e);let i="undefined"!=typeof TextDecoder?new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0}):{decode:()=>{throw Error("TextDecoder not available")}};"undefined"!=typeof TextDecoder&&i.decode();let a=null;function o(){return(null===a||0===a.byteLength)&&(a=new Uint8Array(r.memory.buffer)),a}function c(e,t){return e>>>=0,i.decode(o().subarray(e,e+t))}let _=Array(128).fill(void 0);_.push(void 0,null,!0,!1);let u=_.length;function f(e){u===_.length&&_.push(_.length+1);let t=u;return u=_[t],_[t]=e,t}function s(e){let t=_[e];return e<132||(_[e]=u,u=e),t}let b=0,d="undefined"!=typeof TextEncoder?new TextEncoder("utf-8"):{encode:()=>{throw Error("TextEncoder not available")}},l="function"==typeof d.encodeInto?function(e,t){return d.encodeInto(e,t)}:function(e,t){let n=d.encode(e);return t.set(n),{read:e.length,written:n.length}};function g(e,t,n){if(void 0===n){let n=d.encode(e),r=t(n.length,1)>>>0;return o().subarray(r,r+n.length).set(n),b=n.length,r}let r=e.length,i=t(r,1)>>>0,a=o(),c=0;for(;c<r;c++){let t=e.charCodeAt(c);if(t>127)break;a[i+c]=t}if(c!==r){0!==c&&(e=e.slice(c)),i=n(i,r,r=c+3*e.length,1)>>>0;let t=l(e,o().subarray(i+c,i+r));c+=t.written,i=n(i,r,c,1)>>>0}return b=c,i}function w(e){return null==e}let p=null;function m(){return(null===p||0===p.byteLength)&&(p=new Int32Array(r.memory.buffer)),p}let y=null,h="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>{r.__wbindgen_export_2.get(e.dtor)(e.a,e.b)});function v(e,t,n,i){let a={a:e,b:t,cnt:1,dtor:n},o=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];a.cnt++;let o=a.a;a.a=0;try{return i(o,a.b,...t)}finally{0==--a.cnt?(r.__wbindgen_export_2.get(a.dtor)(o,a.b),h.unregister(a)):a.a=o}};return o.original=a,h.register(o,a,a),o}function S(e,t,n){try{let a=r.__wbindgen_add_to_stack_pointer(-16);r.wasm_bindgen__convert__closures__invoke1_mut__hea528b1e514636ce(a,e,t,f(n));var i=m()[a/4+0];if(m()[a/4+1])throw s(i)}finally{r.__wbindgen_add_to_stack_pointer(16)}}function T(e,t,n){r.wasm_bindgen__convert__closures__invoke1_mut__h832fcc0b11b266f7(e,t,f(n))}function C(e,t,n){r.wasm_bindgen__convert__closures__invoke1_mut__h61dd9a25b5f841db(e,t,f(n))}function E(e,t,n,i){let a={a:e,b:t,cnt:1,dtor:n},o=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];a.cnt++;try{return i(a.a,a.b,...t)}finally{0==--a.cnt&&(r.__wbindgen_export_2.get(a.dtor)(a.a,a.b),a.a=0,h.unregister(a))}};return o.original=a,h.register(o,a,a),o}function B(e,t,n){r.wasm_bindgen__convert__closures__invoke1__h03334f4251e43268(e,t,f(n))}function x(e,t){r._dyn_core__ops__function__Fn_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h6fafb2b57fe7fa02(e,t)}let U=null;function I(){return(null===U||0===U.byteLength)&&(U=new Uint32Array(r.memory.buffer)),U}function D(e,t){try{return e.apply(this,t)}catch(e){r.__wbindgen_exn_store(f(e))}}function R(e,t){return e>>>=0,I().subarray(e/4,e/4+t)}Object.freeze({Model:0,0:"Model",Dataset:1,1:"Dataset",Space:2,2:"Space"});let k=Object.freeze({WHISPER_TINY:0,0:"WHISPER_TINY",WHISPER_BASE:1,1:"WHISPER_BASE",WHISPER_SMALL:2,2:"WHISPER_SMALL",WHISPER_MEDIUM:3,3:"WHISPER_MEDIUM",WHISPER_LARGE_V2:4,4:"WHISPER_LARGE_V2",WHISPER_LARGE_V3:5,5:"WHISPER_LARGE_V3"}),A=Object.freeze({Transcribe:0,0:"Transcribe",Translate:1,1:"Translate"}),P=Object.freeze({Q8:0,0:"Q8",F32:1,1:"F32"});"undefined"==typeof FinalizationRegistry||new FinalizationRegistry(e=>r.__wbg_api_free(e>>>0)),"undefined"==typeof FinalizationRegistry||new FinalizationRegistry(e=>r.__wbg_apibuilder_free(e>>>0)),"undefined"==typeof FinalizationRegistry||new FinalizationRegistry(e=>r.__wbg_decodingoptions_free(e>>>0));let L="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>r.__wbg_decodingoptionsbuilder_free(e>>>0));class F{static __wrap(e){e>>>=0;let t=Object.create(F.prototype);return t.__wbg_ptr=e,L.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,L.unregister(this),e}free(){let e=this.__destroy_into_raw();r.__wbg_decodingoptionsbuilder_free(e)}setTask(e){let t=this.__destroy_into_raw(),n=r.decodingoptionsbuilder_setTask(t,e);return F.__wrap(n)}setLanguage(e){let t=this.__destroy_into_raw(),n=g(e,r.__wbindgen_malloc,r.__wbindgen_realloc),i=b,a=r.decodingoptionsbuilder_setLanguage(t,n,i);return F.__wrap(a)}setTemperature(e){let t=this.__destroy_into_raw(),n=r.decodingoptionsbuilder_setTemperature(t,e);return F.__wrap(n)}setSampleLen(e){let t=this.__destroy_into_raw(),n=r.decodingoptionsbuilder_setSampleLen(t,e);return F.__wrap(n)}setBestOf(e){let t=this.__destroy_into_raw(),n=r.decodingoptionsbuilder_setBestOf(t,e);return F.__wrap(n)}setBeamSize(e){let t=this.__destroy_into_raw(),n=r.decodingoptionsbuilder_setBeamSize(t,e);return F.__wrap(n)}setPatience(e){let t=this.__destroy_into_raw(),n=r.decodingoptionsbuilder_setPatience(t,e);return F.__wrap(n)}setLengthPenalty(e){let t=this.__destroy_into_raw(),n=r.decodingoptionsbuilder_setLengthPenalty(t,e);return F.__wrap(n)}setPrompt(e){let t=this.__destroy_into_raw(),n=g(e,r.__wbindgen_malloc,r.__wbindgen_realloc),i=b,a=r.decodingoptionsbuilder_setPrompt(t,n,i);return F.__wrap(a)}setPrefix(e){let t=this.__destroy_into_raw(),n=g(e,r.__wbindgen_malloc,r.__wbindgen_realloc),i=b,a=r.decodingoptionsbuilder_setPrefix(t,n,i);return F.__wrap(a)}setSuppressTokens(e){let t=this.__destroy_into_raw(),n=function(e,t){let n=t(4*e.length,4)>>>0;return I().set(e,n/4),b=e.length,n}(e,r.__wbindgen_malloc),i=b,a=r.decodingoptionsbuilder_setSuppressTokens(t,n,i);return F.__wrap(a)}setSuppressBlank(e){let t=this.__destroy_into_raw(),n=r.decodingoptionsbuilder_setSuppressBlank(t,e);return F.__wrap(n)}setWithoutTimestamps(e){let t=this.__destroy_into_raw(),n=r.decodingoptionsbuilder_setWithoutTimestamps(t,e);return F.__wrap(n)}setMaxInitialTimestamp(e){let t=this.__destroy_into_raw(),n=r.decodingoptionsbuilder_setMaxInitialTimestamp(t,e);return F.__wrap(n)}setTimeOffset(e){let t=this.__destroy_into_raw(),n=r.decodingoptionsbuilder_setTimeOffset(t,e);return F.__wrap(n)}build(){return s(r.decodingoptionsbuilder_build(this.__wbg_ptr))}constructor(){let e=r.decodingoptionsbuilder_new();return this.__wbg_ptr=e>>>0,this}}let O="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>r.__wbg_model_free(e>>>0));class W{static __wrap(e){e>>>=0;let t=Object.create(W.prototype);return t.__wbg_ptr=e,O.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,O.unregister(this),e}free(){let e=this.__destroy_into_raw();r.__wbg_model_free(e)}static load(e,t,n){return s(r.model_load(e,t,f(n)))}run(e){return s(r.model_run(this.__wbg_ptr,f(e)))}}async function M(e,t){if("function"==typeof Response&&e instanceof Response){if("function"==typeof WebAssembly.instantiateStreaming)try{return await WebAssembly.instantiateStreaming(e,t)}catch(t){if("application/wasm"!=e.headers.get("Content-Type"))console.warn("`WebAssembly.instantiateStreaming` failed because your server does not serve wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\n",t);else throw t}let n=await e.arrayBuffer();return await WebAssembly.instantiate(n,t)}{let n=await WebAssembly.instantiate(e,t);return n instanceof WebAssembly.Instance?{instance:n,module:e}:n}}async function G(t){if(void 0!==r)return r;void 0===t&&(t=new n.U(n(3160)));let i=function(){let t={};return t.wbg={},t.wbg.__wbindgen_string_new=function(e,t){return f(c(e,t))},t.wbg.__wbindgen_object_drop_ref=function(e){s(e)},t.wbg.__wbindgen_is_undefined=function(e){return void 0===_[e]},t.wbg.__wbindgen_boolean_get=function(e){let t=_[e];return"boolean"==typeof t?t?1:0:2},t.wbg.__wbindgen_number_new=function(e){return f(e)},t.wbg.__wbindgen_cb_drop=function(e){let t=s(e).original;return 1==t.cnt--&&(t.a=0,!0)},t.wbg.__wbindgen_as_number=function(e){return+_[e]},t.wbg.__wbindgen_object_clone_ref=function(e){return f(_[e])},t.wbg.__wbg_model_new=function(e){return f(W.__wrap(e))},t.wbg.__wbindgen_error_new=function(e,t){return f(Error(c(e,t)))},t.wbg.__wbindgen_is_object=function(e){let t=_[e];return"object"==typeof t&&null!==t},t.wbg.__wbindgen_in=function(e,t){return _[e]in _[t]},t.wbg.__wbindgen_string_get=function(e,t){let n=_[t],i="string"==typeof n?n:void 0;var a=w(i)?0:g(i,r.__wbindgen_malloc,r.__wbindgen_realloc),o=b;m()[e/4+1]=o,m()[e/4+0]=a},t.wbg.__wbindgen_number_get=function(e,t){let n=_[t],i="number"==typeof n?n:void 0;((null===y||0===y.byteLength)&&(y=new Float64Array(r.memory.buffer)),y)[e/8+1]=w(i)?0:i,m()[e/4+0]=!w(i)},t.wbg.__wbindgen_is_function=function(e){return"function"==typeof _[e]},t.wbg.__wbindgen_is_string=function(e){return"string"==typeof _[e]},t.wbg.__wbindgen_is_null=function(e){return null===_[e]},t.wbg.__wbindgen_jsval_loose_eq=function(e,t){return _[e]==_[t]},t.wbg.__wbg_String_b9412f8799faab3e=function(e,t){let n=g(String(_[t]),r.__wbindgen_malloc,r.__wbindgen_realloc),i=b;m()[e/4+1]=i,m()[e/4+0]=n},t.wbg.__wbindgen_bigint_from_u64=function(e){return f(BigInt.asUintN(64,e))},t.wbg.__wbg_getwithrefkey_edc2c8960f0f1191=function(e,t){return f(_[e][_[t]])},t.wbg.__wbg_set_f975102236d3c502=function(e,t,n){_[e][s(t)]=s(n)},t.wbg.__wbg_set_20cbc34131e76824=function(e,t,n){_[e][s(t)]=s(n)},t.wbg.__wbg_performance_3f3012faa4463882=function(e){return f(_[e].performance)},t.wbg.__wbg_now_2fd65358804c9485=function(e){return _[e].now()},t.wbg.__wbg_Window_7bd5d737b6110ed5=function(e){return f(_[e].Window)},t.wbg.__wbg_WorkerGlobalScope_10e1fa12a09a520b=function(e){return f(_[e].WorkerGlobalScope)},t.wbg.__wbg_getRandomValues_7e42b4fb8779dc6d=function(){return D(function(e,t){_[e].getRandomValues(_[t])},arguments)},t.wbg.__wbg_randomFillSync_b70ccbdf4926a99d=function(){return D(function(e,t){_[e].randomFillSync(s(t))},arguments)},t.wbg.__wbg_crypto_d05b68a3572bb8ca=function(e){return f(_[e].crypto)},t.wbg.__wbg_process_b02b3570280d0366=function(e){return f(_[e].process)},t.wbg.__wbg_versions_c1cb42213cedf0f5=function(e){return f(_[e].versions)},t.wbg.__wbg_node_43b1089f407e4ec2=function(e){return f(_[e].node)},t.wbg.__wbg_msCrypto_10fc94afee92bd76=function(e){return f(_[e].msCrypto)},t.wbg.__wbg_require_9a7e0f667ead4995=function(){return D(function(){return f(e.require)},arguments)},t.wbg.__wbg_new_abda76e883ba8a5f=function(){return f(Error())},t.wbg.__wbg_stack_658279fe44541cf6=function(e,t){let n=g(_[t].stack,r.__wbindgen_malloc,r.__wbindgen_realloc),i=b;m()[e/4+1]=i,m()[e/4+0]=n},t.wbg.__wbg_error_f851667af71bcfc6=function(e,t){let n,i;try{n=e,i=t,console.error(c(e,t))}finally{r.__wbindgen_free(n,i,1)}},t.wbg.__wbg_queueMicrotask_f61ee94ee663068b=function(e){queueMicrotask(_[e])},t.wbg.__wbg_queueMicrotask_f82fc5d1e8f816ae=function(e){return f(_[e].queueMicrotask)},t.wbg.__wbg_Window_4c97c099b03994c2=function(e){return f(_[e].Window)},t.wbg.__wbg_WorkerGlobalScope_b87d69ab991859f6=function(e){return f(_[e].WorkerGlobalScope)},t.wbg.__wbg_global_c22c39d5b60f622c=function(e){return f(_[e].global)},t.wbg.__wbg_indexedDB_f50e4ba5302a87c6=function(){return D(function(e){let t=_[e].indexedDB;return w(t)?0:f(t)},arguments)},t.wbg.__wbg_instanceof_Window_9029196b662bc42a=function(e){let t;try{t=_[e]instanceof Window}catch(e){t=!1}return t},t.wbg.__wbg_querySelectorAll_c03e8664a5a0f0c5=function(){return D(function(e,t,n){return f(_[e].querySelectorAll(c(t,n)))},arguments)},t.wbg.__wbg_name_e1f42ed4f319b110=function(e,t){let n=g(_[t].name,r.__wbindgen_malloc,r.__wbindgen_realloc),i=b;m()[e/4+1]=i,m()[e/4+0]=n},t.wbg.__wbg_message_ad3cc15a4d40c34b=function(e,t){let n=g(_[t].message,r.__wbindgen_malloc,r.__wbindgen_realloc),i=b;m()[e/4+1]=i,m()[e/4+0]=n},t.wbg.__wbg_code_e5bc0ed8fd7bc4b8=function(e){return _[e].code},t.wbg.__wbg_item_d675c1262c12fad2=function(e,t,n){let i=_[t].item(n>>>0);var a=w(i)?0:g(i,r.__wbindgen_malloc,r.__wbindgen_realloc),o=b;m()[e/4+1]=o,m()[e/4+0]=a},t.wbg.__wbg_target_f171e89c61e2bccf=function(e){let t=_[e].target;return w(t)?0:f(t)},t.wbg.__wbg_getPreferredCanvasFormat_1f6c9ef810196b92=function(e){return f(_[e].getPreferredCanvasFormat())},t.wbg.__wbg_requestAdapter_d8298d7a27a391f0=function(e,t){return f(_[e].requestAdapter(_[t]))},t.wbg.__wbg_instanceof_GpuAdapter_c0a5a310603ba618=function(e){let t;try{t=_[e]instanceof GPUAdapter}catch(e){t=!1}return t},t.wbg.__wbg_features_88901f43932fb28e=function(e){return f(_[e].features)},t.wbg.__wbg_limits_a7f3fbf58768b61f=function(e){return f(_[e].limits)},t.wbg.__wbg_requestDevice_068e794820eb88eb=function(e,t){return f(_[e].requestDevice(_[t]))},t.wbg.__wbg_size_6540ddb49e0d7120=function(e){return _[e].size},t.wbg.__wbg_usage_f5b34f3e0170424b=function(e){return _[e].usage},t.wbg.__wbg_destroy_9b5398e5b148e210=function(e){_[e].destroy()},t.wbg.__wbg_getMappedRange_becef7e3d9dc5489=function(e,t,n){return f(_[e].getMappedRange(t,n))},t.wbg.__wbg_mapAsync_91acdcf41b7ae21d=function(e,t,n,r){return f(_[e].mapAsync(t>>>0,n,r))},t.wbg.__wbg_unmap_1677c09514e08e64=function(e){_[e].unmap()},t.wbg.__wbg_instanceof_GpuCanvasContext_7a77e275c38d41d8=function(e){let t;try{t=_[e]instanceof GPUCanvasContext}catch(e){t=!1}return t},t.wbg.__wbg_configure_93a57a4e5e0f8bcf=function(e,t){_[e].configure(_[t])},t.wbg.__wbg_getCurrentTexture_ecedc4f6f71990d2=function(e){return f(_[e].getCurrentTexture())},t.wbg.__wbg_label_c7970304720cf8b0=function(e,t){let n=g(_[t].label,r.__wbindgen_malloc,r.__wbindgen_realloc),i=b;m()[e/4+1]=i,m()[e/4+0]=n},t.wbg.__wbg_beginComputePass_579a2563c561da68=function(e,t){return f(_[e].beginComputePass(_[t]))},t.wbg.__wbg_beginRenderPass_d04327f7231bd5af=function(e,t){return f(_[e].beginRenderPass(_[t]))},t.wbg.__wbg_clearBuffer_c370e7adb8398388=function(e,t,n){_[e].clearBuffer(_[t],n)},t.wbg.__wbg_clearBuffer_b8e6751290709d43=function(e,t,n,r){_[e].clearBuffer(_[t],n,r)},t.wbg.__wbg_copyBufferToBuffer_79ac12f409453cf0=function(e,t,n,r,i,a){_[e].copyBufferToBuffer(_[t],n,_[r],i,a)},t.wbg.__wbg_copyBufferToTexture_ac956e6d47c24e73=function(e,t,n,r){_[e].copyBufferToTexture(_[t],_[n],_[r])},t.wbg.__wbg_copyTextureToBuffer_787ec8d8c4c216f1=function(e,t,n,r){_[e].copyTextureToBuffer(_[t],_[n],_[r])},t.wbg.__wbg_copyTextureToTexture_a86e849469b0ef38=function(e,t,n,r){_[e].copyTextureToTexture(_[t],_[n],_[r])},t.wbg.__wbg_finish_5153789564a5eee5=function(e){return f(_[e].finish())},t.wbg.__wbg_finish_d1049a13335e8326=function(e,t){return f(_[e].finish(_[t]))},t.wbg.__wbg_resolveQuerySet_8ac49c71e15cdf6a=function(e,t,n,r,i,a){_[e].resolveQuerySet(_[t],n>>>0,r>>>0,_[i],a>>>0)},t.wbg.__wbg_writeTimestamp_107647519ce52436=function(e,t,n){_[e].writeTimestamp(_[t],n>>>0)},t.wbg.__wbg_dispatchWorkgroups_c484cd3530a3801d=function(e,t,n,r){_[e].dispatchWorkgroups(t>>>0,n>>>0,r>>>0)},t.wbg.__wbg_dispatchWorkgroupsIndirect_2b89ee1731fab5f8=function(e,t,n){_[e].dispatchWorkgroupsIndirect(_[t],n)},t.wbg.__wbg_end_dab719019df5969c=function(e){_[e].end()},t.wbg.__wbg_setPipeline_598117fdeb73cf8f=function(e,t){_[e].setPipeline(_[t])},t.wbg.__wbg_setBindGroup_c619f49c16ef095b=function(e,t,n){_[e].setBindGroup(t>>>0,_[n])},t.wbg.__wbg_setBindGroup_dffce83253968cdd=function(e,t,n,r,i,a,o){_[e].setBindGroup(t>>>0,_[n],R(r,i),a,o>>>0)},t.wbg.__wbg_getBindGroupLayout_20dc45d52b96fa42=function(e,t){return f(_[e].getBindGroupLayout(t>>>0))},t.wbg.__wbg_features_dfb2178c91fa1dd7=function(e){return f(_[e].features)},t.wbg.__wbg_limits_45ceb777867eb768=function(e){return f(_[e].limits)},t.wbg.__wbg_queue_f2aeb5c277e56f93=function(e){return f(_[e].queue)},t.wbg.__wbg_setonuncapturederror_b3c814f611d5e585=function(e,t){_[e].onuncapturederror=_[t]},t.wbg.__wbg_createBindGroup_fa5515d52f9c6a69=function(e,t){return f(_[e].createBindGroup(_[t]))},t.wbg.__wbg_createBindGroupLayout_af3b9d9ee0a1f5f9=function(e,t){return f(_[e].createBindGroupLayout(_[t]))},t.wbg.__wbg_createBuffer_36e159f52cc644a7=function(e,t){return f(_[e].createBuffer(_[t]))},t.wbg.__wbg_createCommandEncoder_a50a1dab2b499b95=function(e,t){return f(_[e].createCommandEncoder(_[t]))},t.wbg.__wbg_createComputePipeline_89131452dfd12672=function(e,t){return f(_[e].createComputePipeline(_[t]))},t.wbg.__wbg_createPipelineLayout_1e10c8281fb85c01=function(e,t){return f(_[e].createPipelineLayout(_[t]))},t.wbg.__wbg_createQuerySet_ccb746122176f8e5=function(e,t){return f(_[e].createQuerySet(_[t]))},t.wbg.__wbg_createRenderBundleEncoder_ad2d0237f581427b=function(e,t){return f(_[e].createRenderBundleEncoder(_[t]))},t.wbg.__wbg_createRenderPipeline_745f00bcb1ca6edf=function(e,t){return f(_[e].createRenderPipeline(_[t]))},t.wbg.__wbg_createSampler_09cd36835c9befb3=function(e,t){return f(_[e].createSampler(_[t]))},t.wbg.__wbg_createShaderModule_59bbf537b8b5cf7c=function(e,t){return f(_[e].createShaderModule(_[t]))},t.wbg.__wbg_createTexture_dbd00b550944125c=function(e,t){return f(_[e].createTexture(_[t]))},t.wbg.__wbg_destroy_abb6deaa6cb27aa3=function(e){_[e].destroy()},t.wbg.__wbg_popErrorScope_19075fb98a08b740=function(e){return f(_[e].popErrorScope())},t.wbg.__wbg_pushErrorScope_0728aae3f2d3ed48=function(e,t){_[e].pushErrorScope(s(t))},t.wbg.__wbg_message_c934153af8567cdb=function(e,t){let n=g(_[t].message,r.__wbindgen_malloc,r.__wbindgen_realloc),i=b;m()[e/4+1]=i,m()[e/4+0]=n},t.wbg.__wbg_instanceof_GpuOutOfMemoryError_45166ef4e2774fbe=function(e){let t;try{t=_[e]instanceof GPUOutOfMemoryError}catch(e){t=!1}return t},t.wbg.__wbg_copyExternalImageToTexture_819ec294d299f624=function(e,t,n,r){_[e].copyExternalImageToTexture(_[t],_[n],_[r])},t.wbg.__wbg_submit_3104e9b014f75846=function(e,t){_[e].submit(_[t])},t.wbg.__wbg_writeBuffer_becf0c8f0323ffd7=function(e,t,n,r,i,a){_[e].writeBuffer(_[t],n,_[r],i,a)},t.wbg.__wbg_writeTexture_465ecc6146e5052c=function(e,t,n,r,i){_[e].writeTexture(_[t],_[n],_[r],_[i])},t.wbg.__wbg_finish_863657abae52896e=function(e){return f(_[e].finish())},t.wbg.__wbg_finish_e580ef236d53f04b=function(e,t){return f(_[e].finish(_[t]))},t.wbg.__wbg_setBindGroup_e6d2dd2ab3573b6d=function(e,t,n){_[e].setBindGroup(t>>>0,_[n])},t.wbg.__wbg_setBindGroup_6bc8944422dbb3cd=function(e,t,n,r,i,a,o){_[e].setBindGroup(t>>>0,_[n],R(r,i),a,o>>>0)},t.wbg.__wbg_draw_3958097471a10642=function(e,t,n,r,i){_[e].draw(t>>>0,n>>>0,r>>>0,i>>>0)},t.wbg.__wbg_drawIndexed_8856cc4ccffa3498=function(e,t,n,r,i,a){_[e].drawIndexed(t>>>0,n>>>0,r>>>0,i,a>>>0)},t.wbg.__wbg_drawIndexedIndirect_0404fa6cb9a6db25=function(e,t,n){_[e].drawIndexedIndirect(_[t],n)},t.wbg.__wbg_drawIndirect_95c6eb1494a44d06=function(e,t,n){_[e].drawIndirect(_[t],n)},t.wbg.__wbg_setIndexBuffer_4dc5432dc348458d=function(e,t,n,r){_[e].setIndexBuffer(_[t],s(n),r)},t.wbg.__wbg_setIndexBuffer_f3bae4da9e407eaf=function(e,t,n,r,i){_[e].setIndexBuffer(_[t],s(n),r,i)},t.wbg.__wbg_setPipeline_66f1e900256fc946=function(e,t){_[e].setPipeline(_[t])},t.wbg.__wbg_setVertexBuffer_c782d133fd439184=function(e,t,n,r){_[e].setVertexBuffer(t>>>0,_[n],r)},t.wbg.__wbg_setVertexBuffer_4da0a96267ce82db=function(e,t,n,r,i){_[e].setVertexBuffer(t>>>0,_[n],r,i)},t.wbg.__wbg_end_bdfb66792e0c59a2=function(e){_[e].end()},t.wbg.__wbg_executeBundles_0a1fdfd83c1a3e57=function(e,t){_[e].executeBundles(_[t])},t.wbg.__wbg_setBlendConstant_e89574db5137b2f6=function(e,t){_[e].setBlendConstant(_[t])},t.wbg.__wbg_setScissorRect_0af8c89e90a6e89c=function(e,t,n,r,i){_[e].setScissorRect(t>>>0,n>>>0,r>>>0,i>>>0)},t.wbg.__wbg_setStencilReference_71be0db67db2f7ab=function(e,t){_[e].setStencilReference(t>>>0)},t.wbg.__wbg_setViewport_9c5fb686baf1cf4f=function(e,t,n,r,i,a,o){_[e].setViewport(t,n,r,i,a,o)},t.wbg.__wbg_setBindGroup_ed098a3302f084a7=function(e,t,n){_[e].setBindGroup(t>>>0,_[n])},t.wbg.__wbg_setBindGroup_ce4432036922cd83=function(e,t,n,r,i,a,o){_[e].setBindGroup(t>>>0,_[n],R(r,i),a,o>>>0)},t.wbg.__wbg_draw_6357a5fbc8a6b097=function(e,t,n,r,i){_[e].draw(t>>>0,n>>>0,r>>>0,i>>>0)},t.wbg.__wbg_drawIndexed_5d1dd89d7375148c=function(e,t,n,r,i,a){_[e].drawIndexed(t>>>0,n>>>0,r>>>0,i,a>>>0)},t.wbg.__wbg_drawIndexedIndirect_526599171cfbbee5=function(e,t,n){_[e].drawIndexedIndirect(_[t],n)},t.wbg.__wbg_drawIndirect_8dd595dc622e21ac=function(e,t,n){_[e].drawIndirect(_[t],n)},t.wbg.__wbg_setIndexBuffer_1f4a86d1cc8c16d9=function(e,t,n,r){_[e].setIndexBuffer(_[t],s(n),r)},t.wbg.__wbg_setIndexBuffer_9f8493460611f96b=function(e,t,n,r,i){_[e].setIndexBuffer(_[t],s(n),r,i)},t.wbg.__wbg_setPipeline_18ce556bdea62cc5=function(e,t){_[e].setPipeline(_[t])},t.wbg.__wbg_setVertexBuffer_2a2c84d65c1063f9=function(e,t,n,r){_[e].setVertexBuffer(t>>>0,_[n],r)},t.wbg.__wbg_setVertexBuffer_176c2dff823c42c1=function(e,t,n,r,i){_[e].setVertexBuffer(t>>>0,_[n],r,i)},t.wbg.__wbg_getBindGroupLayout_dfc1b97f78c04beb=function(e,t){return f(_[e].getBindGroupLayout(t>>>0))},t.wbg.__wbg_has_8720889cf3ad610c=function(e,t,n){return _[e].has(c(t,n))},t.wbg.__wbg_maxTextureDimension1D_4d1ddb46ed9dc470=function(e){return _[e].maxTextureDimension1D},t.wbg.__wbg_maxTextureDimension2D_37a46e61490c8297=function(e){return _[e].maxTextureDimension2D},t.wbg.__wbg_maxTextureDimension3D_7e3a97204d211743=function(e){return _[e].maxTextureDimension3D},t.wbg.__wbg_maxTextureArrayLayers_fee4db585706a5eb=function(e){return _[e].maxTextureArrayLayers},t.wbg.__wbg_maxBindGroups_dc8a5f97ba653c91=function(e){return _[e].maxBindGroups},t.wbg.__wbg_maxBindingsPerBindGroup_3d5ab311420be5df=function(e){return _[e].maxBindingsPerBindGroup},t.wbg.__wbg_maxDynamicUniformBuffersPerPipelineLayout_6b839b7dc97f34f0=function(e){return _[e].maxDynamicUniformBuffersPerPipelineLayout},t.wbg.__wbg_maxDynamicStorageBuffersPerPipelineLayout_5328cd2b9d884831=function(e){return _[e].maxDynamicStorageBuffersPerPipelineLayout},t.wbg.__wbg_maxSampledTexturesPerShaderStage_ac006b00cf776b4a=function(e){return _[e].maxSampledTexturesPerShaderStage},t.wbg.__wbg_maxSamplersPerShaderStage_dc092d6a272be20a=function(e){return _[e].maxSamplersPerShaderStage},t.wbg.__wbg_maxStorageBuffersPerShaderStage_dc5b58734b9ab932=function(e){return _[e].maxStorageBuffersPerShaderStage},t.wbg.__wbg_maxStorageTexturesPerShaderStage_2fec939cb0d5bbfd=function(e){return _[e].maxStorageTexturesPerShaderStage},t.wbg.__wbg_maxUniformBuffersPerShaderStage_b30d53cbf89caeae=function(e){return _[e].maxUniformBuffersPerShaderStage},t.wbg.__wbg_maxUniformBufferBindingSize_eec576e1342504b5=function(e){return _[e].maxUniformBufferBindingSize},t.wbg.__wbg_maxStorageBufferBindingSize_1ef0cc5e43dad09b=function(e){return _[e].maxStorageBufferBindingSize},t.wbg.__wbg_minUniformBufferOffsetAlignment_3af8c32faa30c5d8=function(e){return _[e].minUniformBufferOffsetAlignment},t.wbg.__wbg_minStorageBufferOffsetAlignment_766ef8ea8f9fe6e1=function(e){return _[e].minStorageBufferOffsetAlignment},t.wbg.__wbg_maxVertexBuffers_b4d31be9e3f93990=function(e){return _[e].maxVertexBuffers},t.wbg.__wbg_maxBufferSize_2d8398a691b9a8ce=function(e){return _[e].maxBufferSize},t.wbg.__wbg_maxVertexAttributes_904c5eb19a6f6c65=function(e){return _[e].maxVertexAttributes},t.wbg.__wbg_maxVertexBufferArrayStride_6800975c373d83bc=function(e){return _[e].maxVertexBufferArrayStride},t.wbg.__wbg_maxInterStageShaderComponents_b9f179b1cde06d08=function(e){return _[e].maxInterStageShaderComponents},t.wbg.__wbg_maxComputeWorkgroupStorageSize_9318e498283b79fb=function(e){return _[e].maxComputeWorkgroupStorageSize},t.wbg.__wbg_maxComputeInvocationsPerWorkgroup_2bfea723194ac5a0=function(e){return _[e].maxComputeInvocationsPerWorkgroup},t.wbg.__wbg_maxComputeWorkgroupSizeX_91fc9ba04de4148f=function(e){return _[e].maxComputeWorkgroupSizeX},t.wbg.__wbg_maxComputeWorkgroupSizeY_9052627dce4a7d1f=function(e){return _[e].maxComputeWorkgroupSizeY},t.wbg.__wbg_maxComputeWorkgroupSizeZ_45a1a82f8446a750=function(e){return _[e].maxComputeWorkgroupSizeZ},t.wbg.__wbg_maxComputeWorkgroupsPerDimension_100ee7392cc04c20=function(e){return _[e].maxComputeWorkgroupsPerDimension},t.wbg.__wbg_createView_3e46af1f54fdcd1f=function(e,t){return f(_[e].createView(_[t]))},t.wbg.__wbg_destroy_728f676d96e34538=function(e){_[e].destroy()},t.wbg.__wbg_error_f85e77a2651e41dc=function(e){return f(_[e].error)},t.wbg.__wbg_instanceof_GpuValidationError_af2aa2e306669317=function(e){let t;try{t=_[e]instanceof GPUValidationError}catch(e){t=!1}return t},t.wbg.__wbg_new_1eead62f64ca15ce=function(){return D(function(){return f(new Headers)},arguments)},t.wbg.__wbg_get_2e9aab260014946d=function(){return D(function(e,t,n,i){let a=_[t].get(c(n,i));var o=w(a)?0:g(a,r.__wbindgen_malloc,r.__wbindgen_realloc),u=b;m()[e/4+1]=u,m()[e/4+0]=o},arguments)},t.wbg.__wbg_setwidth_a667a942dba6656e=function(e,t){_[e].width=t>>>0},t.wbg.__wbg_setheight_a747d440760fe5aa=function(e,t){_[e].height=t>>>0},t.wbg.__wbg_getContext_7c5944ea807bf5d3=function(){return D(function(e,t,n){let r=_[e].getContext(c(t,n));return w(r)?0:f(r)},arguments)},t.wbg.__wbg_objectStoreNames_774e47f8818de433=function(e){return f(_[e].objectStoreNames)},t.wbg.__wbg_setonversionchange_ee7f4abfb91cc81b=function(e,t){_[e].onversionchange=_[t]},t.wbg.__wbg_createObjectStore_40ad9287f7935c33=function(){return D(function(e,t,n){return f(_[e].createObjectStore(c(t,n)))},arguments)},t.wbg.__wbg_transaction_d6f1ef0b34b58a31=function(){return D(function(e,t,n,r){return f(_[e].transaction(c(t,n),s(r)))},arguments)},t.wbg.__wbg_open_6a08b03c958d4ad0=function(){return D(function(e,t,n,r){return f(_[e].open(c(t,n),r>>>0))},arguments)},t.wbg.__wbg_get_fc26906e5ae1ea85=function(){return D(function(e,t){return f(_[e].get(_[t]))},arguments)},t.wbg.__wbg_put_fb32824d87feec5c=function(){return D(function(e,t,n){return f(_[e].put(_[t],_[n]))},arguments)},t.wbg.__wbg_setonblocked_4311b52f166b3434=function(e,t){_[e].onblocked=_[t]},t.wbg.__wbg_setonupgradeneeded_5a39a65558c323b2=function(e,t){_[e].onupgradeneeded=_[t]},t.wbg.__wbg_result_edff16ff107d6acb=function(){return D(function(e){return f(_[e].result)},arguments)},t.wbg.__wbg_error_8a79f35fe9368563=function(){return D(function(e){let t=_[e].error;return w(t)?0:f(t)},arguments)},t.wbg.__wbg_readyState_a9f7376e6e642409=function(e){return f(_[e].readyState)},t.wbg.__wbg_setonsuccess_f518a37d8228a576=function(e,t){_[e].onsuccess=_[t]},t.wbg.__wbg_setonerror_7bf21979c5219792=function(e,t){_[e].onerror=_[t]},t.wbg.__wbg_setonabort_2b13e673d32df8bc=function(e,t){_[e].onabort=_[t]},t.wbg.__wbg_setoncomplete_97a83c9bfeb56eaf=function(e,t){_[e].oncomplete=_[t]},t.wbg.__wbg_setonerror_b7a755ab0647ce3e=function(e,t){_[e].onerror=_[t]},t.wbg.__wbg_objectStore_5a858a654147f96f=function(){return D(function(e,t,n){return f(_[e].objectStore(c(t,n)))},arguments)},t.wbg.__wbg_gpu_24536c9523d924b1=function(e){return f(_[e].gpu)},t.wbg.__wbg_get_c77649dd3862b63a=function(e,t){let n=_[e][t>>>0];return w(n)?0:f(n)},t.wbg.__wbg_setwidth_15266a5e81f43cf0=function(e,t){_[e].width=t>>>0},t.wbg.__wbg_setheight_2e9bab573f1775a6=function(e,t){_[e].height=t>>>0},t.wbg.__wbg_getReader_c9e7b98084cba41c=function(e){return f(_[e].getReader())},t.wbg.__wbg_instanceof_ReadableStreamDefaultReader_df870416942317b0=function(e){let t;try{t=_[e]instanceof ReadableStreamDefaultReader}catch(e){t=!1}return t},t.wbg.__wbg_read_b40399852b2f7b2b=function(e){return f(_[e].read())},t.wbg.__wbg_url_fda63503ced387ff=function(e,t){let n=g(_[t].url,r.__wbindgen_malloc,r.__wbindgen_realloc),i=b;m()[e/4+1]=i,m()[e/4+0]=n},t.wbg.__wbg_newwithstr_3d9bc779603a93c7=function(){return D(function(e,t){return f(new Request(c(e,t)))},arguments)},t.wbg.__wbg_newwithstrandinit_cad5cd6038c7ff5d=function(){return D(function(e,t,n){return f(new Request(c(e,t),_[n]))},arguments)},t.wbg.__wbg_instanceof_Response_fc4327dbfcdf5ced=function(e){let t;try{t=_[e]instanceof Response}catch(e){t=!1}return t},t.wbg.__wbg_status_ac85a3142a84caa2=function(e){return _[e].status},t.wbg.__wbg_ok_e3d8d84e630fd064=function(e){return _[e].ok},t.wbg.__wbg_headers_b70de86b8e989bc0=function(e){return f(_[e].headers)},t.wbg.__wbg_body_b86f372950de5b7d=function(e){let t=_[e].body;return w(t)?0:f(t)},t.wbg.__wbg_search_2ff3bb9114e0ca34=function(e,t){let n=g(_[t].search,r.__wbindgen_malloc,r.__wbindgen_realloc),i=b;m()[e/4+1]=i,m()[e/4+0]=n},t.wbg.__wbg_setsearch_16b87f04ea0e6b80=function(e,t,n){_[e].search=c(t,n)},t.wbg.__wbg_new_a76f6bcb38f791ea=function(){return D(function(e,t){return f(new URL(c(e,t)))},arguments)},t.wbg.__wbg_new_2a98b9c4a51bdc04=function(){return D(function(){return f(new URLSearchParams)},arguments)},t.wbg.__wbg_document_f7ace2b956f30a4f=function(e){let t=_[e].document;return w(t)?0:f(t)},t.wbg.__wbg_navigator_7c9103698acde322=function(e){return f(_[e].navigator)},t.wbg.__wbg_indexedDB_839701fb576f779c=function(){return D(function(e){let t=_[e].indexedDB;return w(t)?0:f(t)},arguments)},t.wbg.__wbg_fetch_336b6f0cb426b46e=function(e,t){return f(_[e].fetch(_[t]))},t.wbg.__wbg_instanceof_WorkerGlobalScope_d9d741da0fb130ce=function(e){let t;try{t=_[e]instanceof WorkerGlobalScope}catch(e){t=!1}return t},t.wbg.__wbg_navigator_41bd88b80ed4685e=function(e){return f(_[e].navigator)},t.wbg.__wbg_indexedDB_406f87676b363c82=function(){return D(function(e){let t=_[e].indexedDB;return w(t)?0:f(t)},arguments)},t.wbg.__wbg_fetch_8eaf01857a5bb21f=function(e,t){return f(_[e].fetch(_[t]))},t.wbg.__wbg_gpu_1678673f109c8aeb=function(e){return f(_[e].gpu)},t.wbg.__wbg_debug_9b8701f894da9929=function(e,t,n,r){console.debug(_[e],_[t],_[n],_[r])},t.wbg.__wbg_error_d9bce418caafb712=function(e,t,n,r){console.error(_[e],_[t],_[n],_[r])},t.wbg.__wbg_info_bb52f40b06f679de=function(e,t,n,r){console.info(_[e],_[t],_[n],_[r])},t.wbg.__wbg_log_ea7093e35e3efd07=function(e,t,n,r){console.log(_[e],_[t],_[n],_[r])},t.wbg.__wbg_warn_dfc0e0cf544a13bd=function(e,t,n,r){console.warn(_[e],_[t],_[n],_[r])},t.wbg.__wbg_get_0ee8ea3c7c984c45=function(e,t){return f(_[e][t>>>0])},t.wbg.__wbg_length_161c0d89c6535c1d=function(e){return _[e].length},t.wbg.__wbg_new_75208e29bddfd88c=function(){return f([])},t.wbg.__wbg_newnoargs_cfecb3965268594c=function(e,t){return f(Function(c(e,t)))},t.wbg.__wbg_next_586204376d2ed373=function(e){return f(_[e].next)},t.wbg.__wbg_next_b2d3366343a208b3=function(){return D(function(e){return f(_[e].next())},arguments)},t.wbg.__wbg_done_90b14d6f6eacc42f=function(e){return _[e].done},t.wbg.__wbg_value_3158be908c80a75e=function(e){return f(_[e].value)},t.wbg.__wbg_iterator_40027cdd598da26b=function(){return f(Symbol.iterator)},t.wbg.__wbg_get_3fddfed2c83f434c=function(){return D(function(e,t){return f(Reflect.get(_[e],_[t]))},arguments)},t.wbg.__wbg_call_3f093dd26d5569f8=function(){return D(function(e,t){return f(_[e].call(_[t]))},arguments)},t.wbg.__wbg_new_632630b5cec17f21=function(){return f({})},t.wbg.__wbg_set_79c308ecd9a1d091=function(e,t,n){_[e][t>>>0]=s(n)},t.wbg.__wbg_isArray_e783c41d0dd19b44=function(e){return Array.isArray(_[e])},t.wbg.__wbg_push_0239ee92f127e807=function(e,t){return _[e].push(_[t])},t.wbg.__wbg_instanceof_ArrayBuffer_9221fa854ffb71b5=function(e){let t;try{t=_[e]instanceof ArrayBuffer}catch(e){t=!1}return t},t.wbg.__wbg_instanceof_Error_5869c4f17aac9eb2=function(e){let t;try{t=_[e]instanceof Error}catch(e){t=!1}return t},t.wbg.__wbg_message_2a19bb5b62cf8e22=function(e){return f(_[e].message)},t.wbg.__wbg_name_405bb0aa047a1bf5=function(e){return f(_[e].name)},t.wbg.__wbg_toString_07f01913ec9af122=function(e){return f(_[e].toString())},t.wbg.__wbg_call_67f2111acd2dfdb6=function(){return D(function(e,t,n){return f(_[e].call(_[t],_[n]))},arguments)},t.wbg.__wbg_isSafeInteger_a23a66ee7c41b273=function(e){return Number.isSafeInteger(_[e])},t.wbg.__wbg_getTime_0e03c3f524be31ef=function(e){return _[e].getTime()},t.wbg.__wbg_getTimezoneOffset_840b552f34917133=function(e){return _[e].getTimezoneOffset()},t.wbg.__wbg_new_a9d80688888b4894=function(e){return f(new Date(_[e]))},t.wbg.__wbg_new0_7a6141101f2206da=function(){return f(new Date)},t.wbg.__wbg_instanceof_Object_4abbcd5d20d5f7df=function(e){let t;try{t=_[e]instanceof Object}catch(e){t=!1}return t},t.wbg.__wbg_entries_488960b196cfb6a5=function(e){return f(Object.entries(_[e]))},t.wbg.__wbg_toString_6eb7c1f755c00453=function(e){return f(_[e].toString())},t.wbg.__wbg_valueOf_524ec9f8b05882e8=function(e){return f(_[e].valueOf())},t.wbg.__wbg_set_961700853a212a39=function(){return D(function(e,t,n){return Reflect.set(_[e],_[t],_[n])},arguments)},t.wbg.__wbg_buffer_b914fb8b50ebbc3e=function(e){return f(_[e].buffer)},t.wbg.__wbg_stringify_865daa6fb8c83d5a=function(){return D(function(e){return f(JSON.stringify(_[e]))},arguments)},t.wbg.__wbg_new_70828a4353259d4b=function(e,t){try{var n={a:e,b:t};let i=new Promise((e,t)=>{let i=n.a;n.a=0;try{var a;return a=n.b,void r.wasm_bindgen__convert__closures__invoke2_mut__h38774fc515925f5b(i,a,f(e),f(t))}finally{n.a=i}});return f(i)}finally{n.a=n.b=0}},t.wbg.__wbg_resolve_5da6faf2c96fd1d5=function(e){return f(Promise.resolve(_[e]))},t.wbg.__wbg_then_f9e58f5a50f43eae=function(e,t){return f(_[e].then(_[t]))},t.wbg.__wbg_then_20a5920e447d1cb1=function(e,t,n){return f(_[e].then(_[t],_[n]))},t.wbg.__wbg_self_05040bd9523805b9=function(){return D(function(){return f(self.self)},arguments)},t.wbg.__wbg_window_adc720039f2cb14f=function(){return D(function(){return f(window.window)},arguments)},t.wbg.__wbg_globalThis_622105db80c1457d=function(){return D(function(){return f(globalThis.globalThis)},arguments)},t.wbg.__wbg_global_f56b013ed9bcf359=function(){return D(function(){return f(n.g.global)},arguments)},t.wbg.__wbg_newwithbyteoffsetandlength_0de9ee56e9f6ee6e=function(e,t,n){return f(new Uint8Array(_[e],t>>>0,n>>>0))},t.wbg.__wbg_new_b1f2d6842d615181=function(e){return f(new Uint8Array(_[e]))},t.wbg.__wbg_set_7d988c98e6ced92d=function(e,t,n){_[e].set(_[t],n>>>0)},t.wbg.__wbg_length_21c4b0ae73cba59d=function(e){return _[e].length},t.wbg.__wbg_instanceof_Uint8Array_c299a4ee232e76ba=function(e){let t;try{t=_[e]instanceof Uint8Array}catch(e){t=!1}return t},t.wbg.__wbg_newwithlength_0d03cef43b68a530=function(e){return f(new Uint8Array(e>>>0))},t.wbg.__wbg_buffer_67e624f5a0ab2319=function(e){return f(_[e].buffer)},t.wbg.__wbg_subarray_adc418253d76e2f1=function(e,t,n){return f(_[e].subarray(t>>>0,n>>>0))},t.wbg.__wbindgen_debug_string=function(e,t){let n=g(function e(t){let n;let r=typeof t;if("number"==r||"boolean"==r||null==t)return"".concat(t);if("string"==r)return'"'.concat(t,'"');if("symbol"==r){let e=t.description;return null==e?"Symbol":"Symbol(".concat(e,")")}if("function"==r){let e=t.name;return"string"==typeof e&&e.length>0?"Function(".concat(e,")"):"Function"}if(Array.isArray(t)){let n=t.length,r="[";n>0&&(r+=e(t[0]));for(let i=1;i<n;i++)r+=", "+e(t[i]);return r+"]"}let i=/\[object ([^\]]+)\]/.exec(toString.call(t));if(!(i.length>1))return toString.call(t);if("Object"==(n=i[1]))try{return"Object("+JSON.stringify(t)+")"}catch(e){return"Object"}return t instanceof Error?"".concat(t.name,": ").concat(t.message,"\n").concat(t.stack):n}(_[t]),r.__wbindgen_malloc,r.__wbindgen_realloc),i=b;m()[e/4+1]=i,m()[e/4+0]=n},t.wbg.__wbindgen_throw=function(e,t){throw Error(c(e,t))},t.wbg.__wbindgen_memory=function(){return f(r.memory)},t.wbg.__wbindgen_closure_wrapper462=function(e,t,n){return f(v(e,t,13,S))},t.wbg.__wbindgen_closure_wrapper3780=function(e,t,n){return f(v(e,t,1713,T))},t.wbg.__wbindgen_closure_wrapper3782=function(e,t,n){return f(v(e,t,1713,T))},t.wbg.__wbindgen_closure_wrapper4320=function(e,t,n){return f(v(e,t,2032,C))},t.wbg.__wbindgen_closure_wrapper4389=function(e,t,n){return f(E(e,t,2062,B))},t.wbg.__wbindgen_closure_wrapper4391=function(e,t,n){return f(E(e,t,2062,x))},t}();("string"==typeof t||"function"==typeof Request&&t instanceof Request||"function"==typeof URL&&t instanceof URL)&&(t=fetch(t));let{instance:o,module:u}=await M(await t,i);return r=o.exports,G.__wbindgen_wasm_module=u,y=null,p=null,U=null,a=null,r.__wbindgen_start(),r}"undefined"==typeof FinalizationRegistry||new FinalizationRegistry(e=>r.__wbg_modelkey_free(e>>>0)),"undefined"==typeof FinalizationRegistry||new FinalizationRegistry(e=>r.__wbg_segment_free(e>>>0)),"undefined"==typeof FinalizationRegistry||new FinalizationRegistry(e=>r.__wbg_streamedsegment_free(e>>>0)),t.ZP=G},1882:function(e,t,n){var r,i;void 0!==(i="function"==typeof(r=function(){var e={172351395:{name:"EBML",type:"Container"},646:{name:"EBMLVersion",type:"Uint"},759:{name:"EBMLReadVersion",type:"Uint"},754:{name:"EBMLMaxIDLength",type:"Uint"},755:{name:"EBMLMaxSizeLength",type:"Uint"},642:{name:"DocType",type:"String"},647:{name:"DocTypeVersion",type:"Uint"},645:{name:"DocTypeReadVersion",type:"Uint"},108:{name:"Void",type:"Binary"},63:{name:"CRC-32",type:"Binary"},190023271:{name:"SignatureSlot",type:"Container"},16010:{name:"SignatureAlgo",type:"Uint"},16026:{name:"SignatureHash",type:"Uint"},16037:{name:"SignaturePublicKey",type:"Binary"},16053:{name:"Signature",type:"Binary"},15963:{name:"SignatureElements",type:"Container"},15995:{name:"SignatureElementList",type:"Container"},9522:{name:"SignedElement",type:"Binary"},139690087:{name:"Segment",type:"Container"},21863284:{name:"SeekHead",type:"Container"},3515:{name:"Seek",type:"Container"},5035:{name:"SeekID",type:"Binary"},5036:{name:"SeekPosition",type:"Uint"},88713574:{name:"Info",type:"Container"},13220:{name:"SegmentUID",type:"Binary"},13188:{name:"SegmentFilename",type:"String"},1882403:{name:"PrevUID",type:"Binary"},1868715:{name:"PrevFilename",type:"String"},2013475:{name:"NextUID",type:"Binary"},1999803:{name:"NextFilename",type:"String"},1092:{name:"SegmentFamily",type:"Binary"},10532:{name:"ChapterTranslate",type:"Container"},10748:{name:"ChapterTranslateEditionUID",type:"Uint"},10687:{name:"ChapterTranslateCodec",type:"Uint"},10661:{name:"ChapterTranslateID",type:"Binary"},710577:{name:"TimecodeScale",type:"Uint"},1161:{name:"Duration",type:"Float"},1121:{name:"DateUTC",type:"Date"},15273:{name:"Title",type:"String"},3456:{name:"MuxingApp",type:"String"},5953:{name:"WritingApp",type:"String"},103:{name:"Timecode",type:"Uint"},6228:{name:"SilentTracks",type:"Container"},6359:{name:"SilentTrackNumber",type:"Uint"},39:{name:"Position",type:"Uint"},43:{name:"PrevSize",type:"Uint"},35:{name:"SimpleBlock",type:"Binary"},32:{name:"BlockGroup",type:"Container"},33:{name:"Block",type:"Binary"},34:{name:"BlockVirtual",type:"Binary"},13729:{name:"BlockAdditions",type:"Container"},38:{name:"BlockMore",type:"Container"},110:{name:"BlockAddID",type:"Uint"},37:{name:"BlockAdditional",type:"Binary"},27:{name:"BlockDuration",type:"Uint"},122:{name:"ReferencePriority",type:"Uint"},123:{name:"ReferenceBlock",type:"Int"},125:{name:"ReferenceVirtual",type:"Int"},36:{name:"CodecState",type:"Binary"},13730:{name:"DiscardPadding",type:"Int"},14:{name:"Slices",type:"Container"},104:{name:"TimeSlice",type:"Container"},76:{name:"LaceNumber",type:"Uint"},77:{name:"FrameNumber",type:"Uint"},75:{name:"BlockAdditionID",type:"Uint"},78:{name:"Delay",type:"Uint"},79:{name:"SliceDuration",type:"Uint"},72:{name:"ReferenceFrame",type:"Container"},73:{name:"ReferenceOffset",type:"Uint"},74:{name:"ReferenceTimeCode",type:"Uint"},47:{name:"EncryptedBlock",type:"Binary"},106212971:{name:"Tracks",type:"Container"},46:{name:"TrackEntry",type:"Container"},87:{name:"TrackNumber",type:"Uint"},13253:{name:"TrackUID",type:"Uint"},3:{name:"TrackType",type:"Uint"},57:{name:"FlagEnabled",type:"Uint"},8:{name:"FlagDefault",type:"Uint"},5546:{name:"FlagForced",type:"Uint"},28:{name:"FlagLacing",type:"Uint"},11751:{name:"MinCache",type:"Uint"},11768:{name:"MaxCache",type:"Uint"},254851:{name:"DefaultDuration",type:"Uint"},216698:{name:"DefaultDecodedFieldDuration",type:"Uint"},209231:{name:"TrackTimecodeScale",type:"Float"},4991:{name:"TrackOffset",type:"Int"},5614:{name:"MaxBlockAdditionID",type:"Uint"},4974:{name:"Name",type:"String"},177564:{name:"Language",type:"String"},6:{name:"CodecID",type:"String"},9122:{name:"CodecPrivate",type:"Binary"},362120:{name:"CodecName",type:"String"},13382:{name:"AttachmentLink",type:"Uint"},1742487:{name:"CodecSettings",type:"String"},1785920:{name:"CodecInfoURL",type:"String"},438848:{name:"CodecDownloadURL",type:"String"},42:{name:"CodecDecodeAll",type:"Uint"},12203:{name:"TrackOverlay",type:"Uint"},5802:{name:"CodecDelay",type:"Uint"},5819:{name:"SeekPreRoll",type:"Uint"},9764:{name:"TrackTranslate",type:"Container"},9980:{name:"TrackTranslateEditionUID",type:"Uint"},9919:{name:"TrackTranslateCodec",type:"Uint"},9893:{name:"TrackTranslateTrackID",type:"Binary"},96:{name:"Video",type:"Container"},26:{name:"FlagInterlaced",type:"Uint"},5048:{name:"StereoMode",type:"Uint"},5056:{name:"AlphaMode",type:"Uint"},5049:{name:"OldStereoMode",type:"Uint"},48:{name:"PixelWidth",type:"Uint"},58:{name:"PixelHeight",type:"Uint"},5290:{name:"PixelCropBottom",type:"Uint"},5307:{name:"PixelCropTop",type:"Uint"},5324:{name:"PixelCropLeft",type:"Uint"},5341:{name:"PixelCropRight",type:"Uint"},5296:{name:"DisplayWidth",type:"Uint"},5306:{name:"DisplayHeight",type:"Uint"},5298:{name:"DisplayUnit",type:"Uint"},5299:{name:"AspectRatioType",type:"Uint"},963876:{name:"ColourSpace",type:"Binary"},1029411:{name:"GammaValue",type:"Float"},230371:{name:"FrameRate",type:"Float"},97:{name:"Audio",type:"Container"},53:{name:"SamplingFrequency",type:"Float"},14517:{name:"OutputSamplingFrequency",type:"Float"},31:{name:"Channels",type:"Uint"},15739:{name:"ChannelPositions",type:"Binary"},8804:{name:"BitDepth",type:"Uint"},98:{name:"TrackOperation",type:"Container"},99:{name:"TrackCombinePlanes",type:"Container"},100:{name:"TrackPlane",type:"Container"},101:{name:"TrackPlaneUID",type:"Uint"},102:{name:"TrackPlaneType",type:"Uint"},105:{name:"TrackJoinBlocks",type:"Container"},109:{name:"TrackJoinUID",type:"Uint"},64:{name:"TrickTrackUID",type:"Uint"},65:{name:"TrickTrackSegmentUID",type:"Binary"},70:{name:"TrickTrackFlag",type:"Uint"},71:{name:"TrickMasterTrackUID",type:"Uint"},68:{name:"TrickMasterTrackSegmentUID",type:"Binary"},11648:{name:"ContentEncodings",type:"Container"},8768:{name:"ContentEncoding",type:"Container"},4145:{name:"ContentEncodingOrder",type:"Uint"},4146:{name:"ContentEncodingScope",type:"Uint"},4147:{name:"ContentEncodingType",type:"Uint"},4148:{name:"ContentCompression",type:"Container"},596:{name:"ContentCompAlgo",type:"Uint"},597:{name:"ContentCompSettings",type:"Binary"},4149:{name:"ContentEncryption",type:"Container"},2017:{name:"ContentEncAlgo",type:"Uint"},2018:{name:"ContentEncKeyID",type:"Binary"},2019:{name:"ContentSignature",type:"Binary"},2020:{name:"ContentSigKeyID",type:"Binary"},2021:{name:"ContentSigAlgo",type:"Uint"},2022:{name:"ContentSigHashAlgo",type:"Uint"},206814059:{name:"Cues",type:"Container"},59:{name:"CuePoint",type:"Container"},51:{name:"CueTime",type:"Uint"},55:{name:"CueTrackPositions",type:"Container"},119:{name:"CueTrack",type:"Uint"},113:{name:"CueClusterPosition",type:"Uint"},112:{name:"CueRelativePosition",type:"Uint"},50:{name:"CueDuration",type:"Uint"},4984:{name:"CueBlockNumber",type:"Uint"},106:{name:"CueCodecState",type:"Uint"},91:{name:"CueReference",type:"Container"},22:{name:"CueRefTime",type:"Uint"},23:{name:"CueRefCluster",type:"Uint"},4959:{name:"CueRefNumber",type:"Uint"},107:{name:"CueRefCodecState",type:"Uint"},155296873:{name:"Attachments",type:"Container"},8615:{name:"AttachedFile",type:"Container"},1662:{name:"FileDescription",type:"String"},1646:{name:"FileName",type:"String"},1632:{name:"FileMimeType",type:"String"},1628:{name:"FileData",type:"Binary"},1710:{name:"FileUID",type:"Uint"},1653:{name:"FileReferral",type:"Binary"},1633:{name:"FileUsedStartTime",type:"Uint"},1634:{name:"FileUsedEndTime",type:"Uint"},4433776:{name:"Chapters",type:"Container"},1465:{name:"EditionEntry",type:"Container"},1468:{name:"EditionUID",type:"Uint"},1469:{name:"EditionFlagHidden",type:"Uint"},1499:{name:"EditionFlagDefault",type:"Uint"},1501:{name:"EditionFlagOrdered",type:"Uint"},54:{name:"ChapterAtom",type:"Container"},13252:{name:"ChapterUID",type:"Uint"},5716:{name:"ChapterStringUID",type:"String"},17:{name:"ChapterTimeStart",type:"Uint"},18:{name:"ChapterTimeEnd",type:"Uint"},24:{name:"ChapterFlagHidden",type:"Uint"},1432:{name:"ChapterFlagEnabled",type:"Uint"},11879:{name:"ChapterSegmentUID",type:"Binary"},11964:{name:"ChapterSegmentEditionUID",type:"Uint"},9155:{name:"ChapterPhysicalEquiv",type:"Uint"},15:{name:"ChapterTrack",type:"Container"},9:{name:"ChapterTrackNumber",type:"Uint"},0:{name:"ChapterDisplay",type:"Container"},5:{name:"ChapString",type:"String"},892:{name:"ChapLanguage",type:"String"},894:{name:"ChapCountry",type:"String"},10564:{name:"ChapProcess",type:"Container"},10581:{name:"ChapProcessCodecID",type:"Uint"},1293:{name:"ChapProcessPrivate",type:"Binary"},10513:{name:"ChapProcessCommand",type:"Container"},10530:{name:"ChapProcessTime",type:"Uint"},10547:{name:"ChapProcessData",type:"Binary"},39109479:{name:"Tags",type:"Container"},13171:{name:"Tag",type:"Container"},9152:{name:"Targets",type:"Container"},10442:{name:"TargetTypeValue",type:"Uint"},9162:{name:"TargetType",type:"String"},9157:{name:"TagTrackUID",type:"Uint"},9161:{name:"TagEditionUID",type:"Uint"},9156:{name:"TagChapterUID",type:"Uint"},9158:{name:"TagAttachmentUID",type:"Uint"},10184:{name:"SimpleTag",type:"Container"},1443:{name:"TagName",type:"String"},1146:{name:"TagLanguage",type:"String"},1156:{name:"TagDefault",type:"Uint"},1159:{name:"TagString",type:"String"},1157:{name:"TagBinary",type:"Binary"}};function t(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e}function n(e,t){this.name=e||"Unknown",this.type=t||"Unknown"}function r(e,t){n.call(this,e,t||"Uint")}function i(e){return e.length%2==1?"0"+e:e}function a(e,t){n.call(this,e,t||"Float")}function o(e,t){n.call(this,e,t||"Container")}function c(e){o.call(this,"File","File"),this.setSource(e)}function _(e,t,n,r){if("object"==typeof n&&(r=n,n=void 0),!n)return new Promise(function(n){_(e,t,n,r)});try{var i=new FileReader;i.onloadend=function(){try{var a=new c(new Uint8Array(i.result));a.fixDuration(t,r)&&(e=a.toBlob(e.type))}catch(e){}n(e)},i.readAsArrayBuffer(e)}catch(t){n(e)}}return n.prototype.updateBySource=function(){},n.prototype.setSource=function(e){this.source=e,this.updateBySource()},n.prototype.updateByData=function(){},n.prototype.setData=function(e){this.data=e,this.updateByData()},t(r,n),r.prototype.updateBySource=function(){this.data="";for(var e=0;e<this.source.length;e++){var t=this.source[e].toString(16);this.data+=i(t)}},r.prototype.updateByData=function(){var e=this.data.length/2;this.source=new Uint8Array(e);for(var t=0;t<e;t++){var n=this.data.substr(2*t,2);this.source[t]=parseInt(n,16)}},r.prototype.getValue=function(){return parseInt(this.data,16)},r.prototype.setValue=function(e){this.setData(i(e.toString(16)))},t(a,n),a.prototype.getFloatArrayType=function(){return this.source&&4===this.source.length?Float32Array:Float64Array},a.prototype.updateBySource=function(){var e=this.source.reverse(),t=new(this.getFloatArrayType())(e.buffer);this.data=t[0]},a.prototype.updateByData=function(){var e=new(this.getFloatArrayType())([this.data]),t=new Uint8Array(e.buffer);this.source=t.reverse()},a.prototype.getValue=function(){return this.data},a.prototype.setValue=function(e){this.setData(e)},t(o,n),o.prototype.readByte=function(){return this.source[this.offset++]},o.prototype.readUint=function(){for(var e=this.readByte(),t=8-e.toString(2).length,n=e-(1<<7-t),r=0;r<t;r++)n*=256,n+=this.readByte();return n},o.prototype.updateBySource=function(){for(this.data=[],this.offset=0;this.offset<this.source.length;this.offset=c){var t=this.readUint(),i=this.readUint(),c=Math.min(this.offset+i,this.source.length),_=this.source.slice(this.offset,c),u=e[t]||{name:"Unknown",type:"Unknown"},f=n;switch(u.type){case"Container":f=o;break;case"Uint":f=r;break;case"Float":f=a}var s=new f(u.name,u.type);s.setSource(_),this.data.push({id:t,idHex:t.toString(16),data:s})}},o.prototype.writeUint=function(e,t){for(var n=1,r=128;e>=r&&n<8;n++,r*=128);if(!t)for(var i=r+e,a=n-1;a>=0;a--){var o=i%256;this.source[this.offset+a]=o,i=(i-o)/256}this.offset+=n},o.prototype.writeSections=function(e){this.offset=0;for(var t=0;t<this.data.length;t++){var n=this.data[t],r=n.data.source,i=r.length;this.writeUint(n.id,e),this.writeUint(i,e),e||this.source.set(r,this.offset),this.offset+=i}return this.offset},o.prototype.updateByData=function(){var e=this.writeSections("draft");this.source=new Uint8Array(e),this.writeSections()},o.prototype.getSectionById=function(e){for(var t=0;t<this.data.length;t++){var n=this.data[t];if(n.id===e)return n.data}return null},t(c,o),c.prototype.fixDuration=function(e,t){var n=t&&t.logger;void 0===n?n=function(e){console.log(e)}:n||(n=function(){});var r=this.getSectionById(139690087);if(!r)return n("[fix-webm-duration] Segment section is missing"),!1;var i=r.getSectionById(88713574);if(!i)return n("[fix-webm-duration] Info section is missing"),!1;var o=i.getSectionById(710577);if(!o)return n("[fix-webm-duration] TimecodeScale section is missing"),!1;var c=i.getSectionById(1161);if(c){if(!(0>=c.getValue()))return n("[fix-webm-duration] Duration section is present"),!1;n("[fix-webm-duration] Duration section is present, but the value is empty"),c.setValue(e)}else n("[fix-webm-duration] Duration section is missing"),(c=new a("Duration","Float")).setValue(e),i.data.push({id:1161,data:c});return o.setValue(1e6),i.updateByData(),r.updateByData(),this.updateByData(),!0},c.prototype.toBlob=function(e){return new Blob([this.source.buffer],{type:e||"video/webm"})},_.default=_,_})?r.call(t,n,t,e):r)&&(e.exports=i)},7337:function(e,t,n){var r,i;e.exports=(null==(r=n.g.process)?void 0:r.env)&&"object"==typeof(null==(i=n.g.process)?void 0:i.env)?n.g.process:n(1071)},1071:function(e){!function(){var t={229:function(e){var t,n,r,i=e.exports={};function a(){throw Error("setTimeout has not been defined")}function o(){throw Error("clearTimeout has not been defined")}function c(e){if(t===setTimeout)return setTimeout(e,0);if((t===a||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:a}catch(e){t=a}try{n="function"==typeof clearTimeout?clearTimeout:o}catch(e){n=o}}();var _=[],u=!1,f=-1;function s(){u&&r&&(u=!1,r.length?_=r.concat(_):f=-1,_.length&&b())}function b(){if(!u){var e=c(s);u=!0;for(var t=_.length;t;){for(r=_,_=[];++f<t;)r&&r[f].run();f=-1,t=_.length}r=null,u=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===o||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function d(e,t){this.fun=e,this.array=t}function l(){}i.nextTick=function(e){var t=Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];_.push(new d(e,t)),1!==_.length||u||c(b)},d.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=l,i.addListener=l,i.once=l,i.off=l,i.removeListener=l,i.removeAllListeners=l,i.emit=l,i.prependListener=l,i.prependOnceListener=l,i.listeners=function(e){return[]},i.binding=function(e){throw Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw Error("process.chdir is not supported")},i.umask=function(){return 0}}},n={};function r(e){var i=n[e];if(void 0!==i)return i.exports;var a=n[e]={exports:{}},o=!0;try{t[e](a,a.exports,r),o=!1}finally{o&&delete n[e]}return a.exports}r.ab="//";var i=r(229);e.exports=i}()},8077:function(e,t,n){n.d(t,{Z:function(){return R}});var r=n(4209),i=n(303),a=n(2948),o=n.n(a),c=!1,_={get passive(){c=!0;return}};window.addEventListener("testPassive",null,_),window.removeEventListener("testPassive",null,_);var u=window.navigator&&window.navigator.platform&&(/iP(ad|hone|od)/.test(window.navigator.platform)||"MacIntel"===window.navigator.platform&&window.navigator.maxTouchPoints>1),f=[],s=!1,b=-1,d=void 0,l=void 0,g=function(e){return f.some(function(t){return!!(t.options.allowTouchMove&&t.options.allowTouchMove(e))})},w=function(e){var t=e||window.event;return!!g(t.target)||t.touches.length>1||(t.preventDefault&&t.preventDefault(),!1)},p=function(e){if(void 0===l){var t=!!e&&!0===e.reserveScrollBarGap,n=window.innerWidth-document.documentElement.clientWidth;t&&n>0&&(l=document.body.style.paddingRight,document.body.style.paddingRight=n+"px")}void 0===d&&(d=document.body.style.overflow,document.body.style.overflow="hidden")},m=function(){void 0!==l&&(document.body.style.paddingRight=l,l=void 0),void 0!==d&&(document.body.style.overflow=d,d=void 0)},y=function(e,t){var n=e.targetTouches[0].clientY-b;return!g(e.target)&&(t&&0===t.scrollTop&&n>0?w(e):t&&t.scrollHeight-t.scrollTop<=t.clientHeight&&n<0?w(e):(e.stopPropagation(),!0))},h=function(e,t){if(!e){console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.");return}!f.some(function(t){return t.targetElement===e})&&(f=[].concat(function(e){if(!Array.isArray(e))return Array.from(e);for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}(f),[{targetElement:e,options:t||{}}]),u?(e.ontouchstart=function(e){1===e.targetTouches.length&&(b=e.targetTouches[0].clientY)},e.ontouchmove=function(t){1===t.targetTouches.length&&y(t,e)},s||(document.addEventListener("touchmove",w,c?{passive:!1}:void 0),s=!0)):p(t))},v=function(e){if(!e){console.error("enableBodyScroll unsuccessful - targetElement must be provided when calling enableBodyScroll on IOS devices.");return}f=f.filter(function(t){return t.targetElement!==e}),u?(e.ontouchstart=null,e.ontouchmove=null,s&&0===f.length&&(document.removeEventListener("touchmove",w,c?{passive:!1}:void 0),s=!1)):f.length||m()};function S(){return(S=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}n(7337);var T=function(e){var t=e.classes,n=e.classNames,i=e.styles,a=e.id,c=e.closeIcon,_=e.onClick;return r.createElement("button",{id:a,className:o()(t.closeButton,null==n?void 0:n.closeButton),style:null==i?void 0:i.closeButton,onClick:_,"data-testid":"close-button"},c||r.createElement("svg",{className:null==n?void 0:n.closeIcon,style:null==i?void 0:i.closeIcon,width:28,height:28,viewBox:"0 0 36 36","data-testid":"close-icon"},r.createElement("path",{d:"M28.5 9.62L26.38 7.5 18 15.88 9.62 7.5 7.5 9.62 15.88 18 7.5 26.38l2.12 2.12L18 20.12l8.38 8.38 2.12-2.12L20.12 18z"})))},C=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'];function E(e){for(var t=document.activeElement,n=e.querySelectorAll(C.join(",")),r=[],i=0;i<n.length;i++){var a=n[i];(t===a||!a.disabled&&function(e){var t=parseInt(e.getAttribute("tabindex"),10);return isNaN(t)?e.getAttribute("contentEditable")?0:e.tabIndex:t}(a)>-1&&!(null===a.offsetParent||"hidden"===getComputedStyle(a).visibility)&&function(e){if("INPUT"!==e.tagName||"radio"!==e.type||!e.name)return!0;var t=(e.form||e.ownerDocument).querySelectorAll('input[type="radio"][name="'+e.name+'"]'),n=function(e,t){for(var n=0;n<e.length;n++)if(e[n].checked&&e[n].form===t)return e[n]}(t,e.form);return n===e||void 0===n&&t[0]===e}(a))&&r.push(a)}return r}var B=function(e){var t=e.container,n=e.initialFocusRef,i=(0,r.useRef)();return(0,r.useEffect)(function(){var e=function(e){(null==t?void 0:t.current)&&function(e,t){if(e&&"Tab"===e.key&&t&&t.contains&&t.contains(e.target)){var n=E(t),r=n[0],i=n[n.length-1];e.shiftKey&&e.target===r?(i.focus(),e.preventDefault()):e.shiftKey||e.target!==i||(r.focus(),e.preventDefault())}}(e,t.current)};if(document.addEventListener("keydown",e),null==t?void 0:t.current){var r=function(){-1!==C.findIndex(function(e){var t;return null==(t=document.activeElement)?void 0:t.matches(e)})&&(i.current=document.activeElement)};if(n)r(),requestAnimationFrame(function(){var e;null==(e=n.current)||e.focus()});else{var a=E(t.current);a[0]&&(r(),a[0].focus())}}return function(){var t;document.removeEventListener("keydown",e),null==(t=i.current)||t.focus()}},[t,n]),null},x=[],U={add:function(e){x.push(e)},remove:function(e){x=x.filter(function(t){return t!==e})},isTopModal:function(e){return!!x.length&&x[x.length-1]===e}},I=function(e,t,n,i,a){var o=(0,r.useRef)(null);(0,r.useEffect)(function(){return t&&e.current&&i&&(o.current=e.current,h(e.current,{reserveScrollBarGap:a})),function(){o.current&&(v(o.current),o.current=null)}},[t,n,e,i,a])},D={root:"react-responsive-modal-root",overlay:"react-responsive-modal-overlay",overlayAnimationIn:"react-responsive-modal-overlay-in",overlayAnimationOut:"react-responsive-modal-overlay-out",modalContainer:"react-responsive-modal-container",modalContainerCenter:"react-responsive-modal-containerCenter",modal:"react-responsive-modal-modal",modalAnimationIn:"react-responsive-modal-modal-in",modalAnimationOut:"react-responsive-modal-modal-out",closeButton:"react-responsive-modal-closeButton"},R=r.forwardRef(function(e,t){var n,a,c,_,u=e.open,f=e.center,s=e.blockScroll,b=e.closeOnEsc,d=void 0===b||b,l=e.closeOnOverlayClick,g=void 0===l||l,w=e.container,p=e.showCloseIcon,m=e.closeIconId,y=e.closeIcon,h=e.focusTrapped,v=e.initialFocusRef,C=e.animationDuration,E=void 0===C?300:C,x=e.classNames,R=e.styles,k=e.role,A=e.ariaDescribedby,P=e.ariaLabelledby,L=e.containerId,F=e.modalId,O=e.onClose,W=e.onEscKeyDown,M=e.onOverlayClick,G=e.onAnimationEnd,z=e.children,V=e.reserveScrollBarGap,N=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{isStateful:!0},n=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,[t,n]=r.useState(e),{current:i}=r.useRef({current:t});return Object.defineProperty(i,"current",{get:()=>t,set:e=>{Object.is(t,e)||(t=e,n(e))}}),i}(null),i=(0,r.useRef)(null),a=t.isStateful?n:i;return r.useEffect(()=>{e&&("function"==typeof e?e(a.current):e.current=a.current)}),a}(t),j=(0,r.useRef)(null),q=(0,r.useRef)(null),H=(0,r.useRef)(null);null===H.current&&(H.current=document.createElement("div"));var X=(0,r.useState)(!1),Q=X[0],K=X[1];(0,r.useEffect)(function(){return u&&U.add(j),function(){U.remove(j)}},[u,j]),I(j,u,Q,void 0===s||s,V);var Y=function(){!H.current||w||document.body.contains(H.current)||document.body.appendChild(H.current),document.addEventListener("keydown",Z)},J=function(){H.current&&!w&&document.body.contains(H.current)&&document.body.removeChild(H.current),document.removeEventListener("keydown",Z)},Z=function(e){27===e.keyCode&&U.isTopModal(j)&&(null==W||W(e),d&&O())};(0,r.useEffect)(function(){return function(){Q&&J()}},[Q]),(0,r.useEffect)(function(){u&&!Q&&(K(!0),Y())},[u]);var $=function(){q.current=!1},ee=w||H.current,et=u?null!=(n=null==x?void 0:x.overlayAnimationIn)?n:D.overlayAnimationIn:null!=(a=null==x?void 0:x.overlayAnimationOut)?a:D.overlayAnimationOut,en=u?null!=(c=null==x?void 0:x.modalAnimationIn)?c:D.modalAnimationIn:null!=(_=null==x?void 0:x.modalAnimationOut)?_:D.modalAnimationOut;return Q&&ee?i.createPortal(r.createElement("div",{className:o()(D.root,null==x?void 0:x.root),style:null==R?void 0:R.root,"data-testid":"root"},r.createElement("div",{className:o()(D.overlay,null==x?void 0:x.overlay),"data-testid":"overlay","aria-hidden":!0,style:S({animation:et+" "+E+"ms"},null==R?void 0:R.overlay)}),r.createElement("div",{ref:j,id:L,className:o()(D.modalContainer,f&&D.modalContainerCenter,null==x?void 0:x.modalContainer),style:null==R?void 0:R.modalContainer,"data-testid":"modal-container",onClick:function(e){if(null===q.current&&(q.current=!0),!q.current){q.current=null;return}null==M||M(e),g&&O(),q.current=null}},r.createElement("div",{ref:N,className:o()(D.modal,null==x?void 0:x.modal),style:S({animation:en+" "+E+"ms"},null==R?void 0:R.modal),onMouseDown:$,onMouseUp:$,onClick:$,onAnimationEnd:function(){u||K(!1),null==G||G()},id:F,role:void 0===k?"dialog":k,"aria-modal":"true","aria-labelledby":P,"aria-describedby":A,"data-testid":"modal",tabIndex:-1},(void 0===h||h)&&r.createElement(B,{container:N,initialFocusRef:void 0===v?void 0:v}),z,(void 0===p||p)&&r.createElement(T,{classes:D,classNames:x,styles:R,closeIcon:y,onClick:O,id:m})))),ee):null})},2948:function(e,t){var n;!/*!
2
- Copyright (c) 2018 Jed Watson.
3
- Licensed under the MIT License (MIT), see
4
- http://jedwatson.github.io/classnames
5
- */function(){var r={}.hasOwnProperty;function i(){for(var e="",t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=a(e,function(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return i.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var n in e)r.call(e,n)&&e[n]&&(t=a(t,n));return t}(n)))}return e}function a(e,t){return t?e?e+" "+t:e+t:e}e.exports?(i.default=i,e.exports=i):void 0!==(n=(function(){return i}).apply(t,[]))&&(e.exports=n)}()}}]);
 
 
 
 
 
 
_next/static/chunks/app/page-176dcf4053ae5567.js DELETED
@@ -1 +0,0 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[931],{5449:function(e,t,a){Promise.resolve().then(a.bind(a,2325))},2325:function(e,t,a){"use strict";a.r(t),a.d(t,{default:function(){return j}});var s=a(2872),l=a(1190),n=a(1715),i=a(4209),r=a(7439),o=a(8077);let c={en:"English",zh:"Chinese",de:"German",es:"Spanish",ru:"Russian",ko:"Korean",fr:"French",ja:"Japanese",pt:"Portuguese",tr:"Turkish",pl:"Polish",ca:"Catalan",nl:"Dutch",ar:"Arabic",sv:"Swedish",it:"Italian",id:"Indonesian",hi:"Hindi",fi:"Finnish",vi:"Vietnamese",he:"Hebrew",uk:"Ukrainian",el:"Greek",ms:"Malay",cs:"Czech",ro:"Romanian",da:"Danish",hu:"Hungarian",ta:"Tamil",no:"Norwegian",th:"Thai",ur:"Urdu",hr:"Croatian",bg:"Bulgarian",lt:"Lithuanian",la:"Latin",mi:"Maori",ml:"Malayalam",cy:"Welsh",sk:"Slovak",te:"Telugu",fa:"Persian",lv:"Latvian",bn:"Bengali",sr:"Serbian",az:"Azerbaijani",sl:"Slovenian",kn:"Kannada",et:"Estonian",mk:"Macedonian",br:"Breton",eu:"Basque",is:"Icelandic",hy:"Armenian",ne:"Nepali",mn:"Mongolian",bs:"Bosnian",kk:"Kazakh",sq:"Albanian",sw:"Swahili",gl:"Galician",mr:"Marathi",pa:"Punjabi",si:"Sinhala",km:"Khmer",sn:"Shona",yo:"Yoruba",so:"Somali",af:"Afrikaans",oc:"Occitan",ka:"Georgian",be:"Belarusian",tg:"Tajik",sd:"Sindhi",gu:"Gujarati",am:"Amharic",yi:"Yiddish",lo:"Lao",uz:"Uzbek",fo:"Faroese",ht:"Haitian creole",ps:"Pashto",tk:"Turkmen",nn:"Nynorsk",mt:"Maltese",sa:"Sanskrit",lb:"Luxembourgish",my:"Myanmar",bo:"Tibetan",tl:"Tagalog",mg:"Malagasy",as:"Assamese",tt:"Tatar",haw:"Hawaiian",ln:"Lingala",ha:"Hausa",ba:"Bashkir",jw:"Javanese",su:"Sundanese",yue:"Cantonese"};var u=e=>{let[t,a]=(0,i.useState)(!1),[l,n]=(0,i.useState)(e.configOptions.language),r=t=>{e.setConfigOptions(e=>({...e,language:t})),n(t),a(!1)};return(0,s.jsxs)("div",{className:"relative",children:[(0,s.jsxs)("div",{className:"flex flex-col items-center justify-center",children:[(0,s.jsx)("label",{id:"options-menu",className:"text-2xl pb-1 font-medium text-white mr-auto ",children:"Source Language"}),(0,s.jsxs)("button",{onClick:()=>a(e=>!e),className:"relative z-10 block px-4 py-1.5 bg-white text-left w-full rounded-md font-medium text-slate-900 outline",children:[l||"Select a language",(0,s.jsx)("span",{className:"absolute inset-y-0 right-0 flex items-center pr-2 pointer-events-none",children:(0,s.jsx)("svg",{className:"h-5 w-5 text-gray-400",viewBox:"0 0 20 20",fill:"none",stroke:"currentColor",children:(0,s.jsx)("path",{d:"M7 7l3-3 3 3m0 6l-3 3-3-3",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})})]})]}),t&&(0,s.jsx)("div",{className:"absolute z-20 mt-2 w-full rounded-md shadow-lg bg-white ring-1 ring-black ring-opacity-5",children:(0,s.jsx)("div",{className:"py-1",role:"menu","aria-orientation":"vertical","aria-labelledby":"options-menu",children:Object.entries(c).map(e=>{let[t,a]=e;return(0,s.jsx)("a",{href:"#",className:"block px-4 py-2 text-slate-900 hover:bg-gray-100",role:"menuitem",onClick:()=>r(t),children:a},t)})})})]})},d=e=>{let[t,a]=(0,i.useState)({suppress_non_speech:e.configOptions.suppress_non_speech});return(0,s.jsxs)("div",{className:"flex flex-col",children:[(0,s.jsx)("label",{className:"text-2xl mr-auto",children:"Suppress Tokens"}),(0,s.jsx)("div",{className:"mt-2 flex flex-col",children:(0,s.jsxs)("div",{className:"flex flex-row w-36 items-center mt-2",children:[(0,s.jsx)("label",{className:" text-left text-2xl mr-auto w-full",children:"Non Speech"}),(0,s.jsx)("input",{id:"translate-checkbox",type:"checkbox",name:"suppress_non_speech",checked:t.suppress_non_speech,onChange:s=>{a({...t,[s.target.name]:s.target.checked}),e.setConfigOptions({...e.configOptions,suppress_non_speech:s.target.checked})},className:"form-checkbox ml-auto h-7 w-7 text-blue-600"})]})})]})},h=e=>{let t={translate:e.configOptions.task===r.iQ.Translate,transcribe:e.configOptions.task===r.iQ.Transcribe},[a,l]=(0,i.useState)(t),n=t=>{l({...a,[t.target.name]:t.target.checked}),"translate"===t.target.name&&l({translate:t.target.checked,transcribe:!t.target.checked}),"transcribe"===t.target.name&&l({translate:!t.target.checked,transcribe:t.target.checked}),e.setConfigOptions(e=>({...e,task:"translate"===t.target.name?r.iQ.Translate:r.iQ.Transcribe}))};return(0,s.jsxs)("div",{className:"flex flex-col",children:[(0,s.jsx)("label",{className:"text-2xl mr-auto",children:"Task"}),(0,s.jsxs)("div",{className:"mt-2 flex flex-col",children:[(0,s.jsxs)("div",{className:"flex flex-row w-36 items-center mt-2",children:[(0,s.jsx)("label",{className:" text-left text-2xl mr-auto w-full",children:"Transcribe"}),(0,s.jsx)("input",{id:"translate-checkbox",type:"checkbox",name:"transcribe",checked:a.transcribe,onChange:n,className:"form-checkbox ml-auto h-7 w-7 text-blue-600"})]}),(0,s.jsxs)("div",{className:"flex flex-row w-36 items-center mt-2",children:[(0,s.jsx)("label",{className:" text-left text-2xl mr-auto w-full",children:"Translate"}),(0,s.jsx)("input",{id:"translate-checkbox",type:"checkbox",name:"translate",checked:a.translate,onChange:n,className:"form-checkbox ml-auto h-7 w-7 text-blue-600"})]})]})]})},x=e=>((0,i.useEffect)(()=>{if(!navigator.gpu){e.setIsModalOpen(!0);return}},[]),(0,s.jsx)(s.Fragment,{children:(0,s.jsx)(o.Z,{classNames:{modal:"!outline !outline-black h-3/4 w-3/4 md:w-3/4 xl:w-1/2 2xl:w-1/3 overflow-x-hidden"},open:e.isModalOpen,onClose:()=>{e.setIsModalOpen(!1)},center:!0,children:(0,s.jsx)("div",{className:"flex flex-col text-2xl h-full text-center",children:(0,s.jsxs)("div",{className:"flex flex-col p-8 gap-y-8 mx-auto w-full",children:[(0,s.jsx)(u,{configOptions:e.configOptions,setConfigOptions:e.setConfigOptions}),(0,s.jsx)(h,{configOptions:e.configOptions,setConfigOptions:e.setConfigOptions}),(0,s.jsx)(d,{configOptions:e.configOptions,setConfigOptions:e.setConfigOptions})]})})})})),m=e=>{let{selectedModel:t,setSelectedModel:a,loaded:l,progress:n}=e,[o,c]=(0,i.useState)(!1),u=Object.values(r.ko).filter(e=>"string"==typeof e),d=Object.values(r.ko);return(0,s.jsxs)(s.Fragment,{children:[n>0&&!l&&(0,s.jsx)("div",{className:"flex flex-row justify-between",children:(0,s.jsxs)("label",{className:"text-white text-xl font-semibold text-right",children:[n.toFixed(2),"%"]})}),(0,s.jsxs)("div",{className:"group inline-block relative w-full",children:[(0,s.jsxs)("button",{className:"font-semibold text-xl py-2.5 px-8 w-full inline-flex items-center outline outline-black",onClick:()=>c(!o),children:[(0,s.jsx)("span",{className:"mr-1",children:t||"Select Model"}),(0,s.jsx)("svg",{className:"fill-current h-4 w-4",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",children:(0,s.jsx)("path",{d:"M9.293 12.95l.707.707L15.657 8l-1.414-1.414L10 10.828 5.757 6.586 4.343 8z"})})]}),(0,s.jsx)("ul",{className:"absolute outline group-hover:block z-50 w-full shadow-lg shadow-black",style:{display:o?"block":"none"},children:u.map((e,t)=>(0,s.jsx)("li",{children:(0,s.jsx)("a",{className:"bg-white hover:bg-slate-100 py-2 px-8 font-semibold text-xl block whitespace-no-wrap cursor-pointer ".concat(t===u.length-1?"rounded-b-md":""),onClick:()=>{a(d[t]),c(!1)},children:e})},e))})]})]})},p=e=>{let{progress:t}=e;return(0,s.jsx)(s.Fragment,{children:t>0&&t<100&&(0,s.jsx)("div",{className:"flex flex-col gap-2",children:(0,s.jsx)("div",{className:"h-3 outline outline bg-gray-200",children:(0,s.jsx)("div",{className:"bg-emerald-600 h-3",style:{width:"".concat(t,"%")}})})})})},f=a(1882),g=a.n(f);class b{static async start(){if(!navigator.mediaDevices)throw Error("Media device not available");let e=await navigator.mediaDevices.getUserMedia({audio:!0}),t=b.supportedMimes.find(e=>MediaRecorder.isTypeSupported(e)),a=new MediaRecorder(e,{mimeType:t}),s=new b(a);return s.currentStream=e,a.addEventListener("dataavailable",e=>{s.audioChunks.push(e.data)}),a.start(),s.currentStart=Date.now(),s}isRecording(){return null!==this.inner&&"recording"===this.inner.state}async stop(){if(!this.inner)throw Error("Please start the recorder first");return new Promise(e=>{this.inner.addEventListener("stop",async()=>{let t=Date.now()-this.currentStart,a=new Blob(this.audioChunks,{type:this.inner.mimeType});this.inner.mimeType.includes("webm")&&(a=await g()(a,t,{logger:!1}));let s=await a.arrayBuffer();e({blob:a,buffer:s})}),this.inner.stop(),this.currentStream.getTracks().forEach(e=>e.stop())})}constructor(e){this.currentStart=null,this.currentStream=null,this.inner=null,this.audioChunks=[],this.inner=e}}b.supportedMimes=["audio/webm","audio/ogg"];var w=e=>{let[t,a]=(0,i.useState)(null),[l,n]=(0,i.useState)(!1),r=async()=>{a(await b.start())},o=async()=>{if(!t)return;let s=await t.stop(),l=new AudioContext({sampleRate:16e3}),n=(await l.decodeAudioData(s.buffer)).getChannelData(0);e.setAudioData(new Float32Array(n.buffer));let i=s.blob;e.setAudioMetadata({file:new File([i],"recording.wav"),fromMic:!0}),e.setBlobUrl(URL.createObjectURL(i)),a(null)},c=async()=>{l?await o():await r(),n(!l)};return(0,s.jsx)("div",{className:"flex flex-col",children:(0,s.jsx)("button",{className:"text-xl outline outline-white text-black font-semibold px-6 mx-auto cursor-pointer h-full pt-6",onClick:c,children:l?(0,s.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",className:"w-6 h-6",children:(0,s.jsx)("path",{fillRule:"evenodd",d:"M4.5 7.5a3 3 0 013-3h9a3 3 0 013 3v9a3 3 0 01-3 3h-9a3 3 0 01-3-3v-9z",clipRule:"evenodd"})}):(0,s.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"w-8 h-8",children:(0,s.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 18.75a6 6 0 006-6v-1.5m-6 7.5a6 6 0 01-6-6v-1.5m6 7.5v3.75m-3.75 0h7.5M12 15.75a3 3 0 01-3-3V4.5a3 3 0 116 0v8.25a3 3 0 01-3 3z"})})})})};function j(){let[e,t]=(0,i.useState)(r.ko.WHISPER_TINY),[a,o]=(0,i.useState)(null),[c,u]=(0,i.useState)(null),d=(0,i.useRef)(new l.C),[h,f]=(0,i.useState)(!1),[g,b]=(0,i.useState)(),[j,k]=(0,i.useState)(null),[v,N]=(0,i.useState)(null),[y,S]=(0,i.useState)([]),[C,O]=(0,i.useState)(!1),[M,L]=(0,i.useState)({language:null,task:r.iQ.Transcribe,suppress_non_speech:!0}),[T,_]=(0,i.useState)(!1),[F,A]=(0,i.useState)(0);async function R(){let t=r.ko[e];u(await r.Hn.load(t,r.qX.Q8,e=>A(e))),o(e),A(0)}(0,i.useEffect)(()=>{(async()=>{await (0,r.ZP)()})()},[]);let B=async()=>{console.log("Loading FFmpeg");let e="https://unpkg.com/@ratchet-ml/ffmpeg-core@0.0.12/dist/umd",t=d.current;t.on("log",e=>{let{message:t}=e;console.log(t)}),await t.load({coreURL:await (0,n.Wn)("".concat(e,"/ffmpeg-core.js"),"text/javascript"),wasmURL:await (0,n.Wn)("".concat(e,"/ffmpeg-core.wasm"),"application/wasm")}),f(!0)},U=async e=>{h||await B();let t=d.current;await t.writeFile("input",e),await t.exec(["-nostdin","-threads","0","-i","input","-f","s16le","-ac","1","-acodec","pcm_s16le","-loglevel","debug","-ar","16000","output.pcm"]);let a=await t.readFile("output.pcm");return b(URL.createObjectURL(new Blob([a.buffer],{type:"audio/wav"}))),a.buffer};async function z(){if(!c||!j||T)return;S([]);let e=new r.dX().setLanguage(M.language?M.language:"en").setTask(M.task).setSuppressBlank(M.suppress_non_speech).build();console.log("Options: ",e),_(!0);let t=await c.run({audio:j,decode_options:e,callback:e=>{if(e.last){_(!1);return}S(t=>[...t,e])}});console.log("Result: ",t),console.log("Processing time: ",t.processing_time)}return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(x,{isModalOpen:C,setIsModalOpen:O,configOptions:M,setConfigOptions:L}),(0,s.jsx)("h1",{className:"text-blue-700 text-4xl font-extrabold pb-6",children:"Whisper + Ratchet"}),(0,s.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-8",children:[(0,s.jsxs)("div",{className:"flex flex-col gap-6 w-full",children:[(0,s.jsx)(m,{selectedModel:e,setSelectedModel:t,loaded:!1,progress:0}),F>0&&F<100?(0,s.jsx)(p,{progress:F}):(0,s.jsx)(s.Fragment,{}),a!=e?(0,s.jsx)("button",{className:"outline outline-black text-black font-semibold py-1 px-4 cursor-pointer",onClick:R,children:"Load Model"}):(0,s.jsx)(s.Fragment,{}),(0,s.jsxs)("div",{className:"flex flex-row gap-4",children:[(0,s.jsxs)("div",{className:"flex flex-col w-full",children:[(0,s.jsx)("label",{className:"text-black font-semibold",children:"Upload Audio"}),(0,s.jsx)("label",{className:"text-lg outline outline-black w-full font-semibold py-2.5 px-8 mx-auto cursor-pointer w-full",htmlFor:"audioFile",children:(0,s.jsx)("div",{className:"flex flex-row justify-between",children:(0,s.jsx)("span",{className:"",children:v?v.file.name:"Select Audio File"})})}),(0,s.jsx)("input",{type:"file",className:"hidden",name:"audioFile",id:"audioFile",onChange:async e=>{let t=e.target.files[0];if(!t)return;let a=new FileReader;a.onload=async()=>{let e=new Uint8Array(a.result);k(function(e){let t=new Int16Array(e),a=new Float32Array(t.length);for(let e=0;e<t.length;e++)a[e]=t[e]/32768;return a}(await U(e))),N({file:t,fromMic:!1}),b(URL.createObjectURL(t))},a.readAsArrayBuffer(t)},accept:".wav,.aac,.m4a,.mp4,.mp3"})]}),(0,s.jsx)(w,{setBlobUrl:b,setAudioData:k,setAudioMetadata:N})]}),g&&(0,s.jsxs)("div",{children:[(0,s.jsx)("label",{className:"text-white text-xl font-semibold",children:"Your Audio"}),(0,s.jsx)("audio",{controls:!0,className:"mx-auto w-full",children:(0,s.jsx)("source",{src:g,type:"audio/wav"},g)},g)]}),(0,s.jsxs)("div",{className:"flex flex-row gap-4 justify-end items-center",children:[(0,s.jsx)("button",{className:"outline outline-black text-black font-semibold py-3 px-4 cursor-pointer",onClick:()=>O(!0),children:"Options"}),(0,s.jsx)("button",{className:"outline outline-black text-black font-semibold py-3 px-4 cursor-pointer",onClick:z,children:T?(0,s.jsx)("div",{className:"flex p-4",children:(0,s.jsx)("span",{className:"loader"})}):"Run Model"})]})]}),(0,s.jsx)("div",{className:"flex flex-col relative w-full z-10 min-h-screen",children:(0,s.jsx)("div",{className:"flex gap-4 flex-col",children:y&&y.map(e=>(0,s.jsxs)("div",{className:"rounded p-4 bg-white outline outline-2 outline-black shadow-lg align-right",children:[(0,s.jsxs)("div",{className:" text-lg mb-2",children:[e.start," -> ",e.stop]}),(0,s.jsx)("div",{className:"mb-2 text-lg text-slate-900 text-right",children:e.text})]},e.start))})})]})]})}}},function(e){e.O(0,[747,577,726,744],function(){return e(e.s=5449)}),_N_E=e.O()}]);
 
 
_next/static/chunks/{webpack-82b6c37e0a41ce12.js β†’ webpack-28b2d9abddfd7060.js} RENAMED
@@ -1 +1 @@
1
- !function(){"use strict";var e,t,r,n,o,u,i,c,f,a={},l={};function s(e){var t=l[e];if(void 0!==t)return t.exports;var r=l[e]={id:e,loaded:!1,exports:{}},n=!0;try{a[e](r,r.exports,s),n=!1}finally{n&&delete l[e]}return r.loaded=!0,r.exports}s.m=a,e=[],s.O=function(t,r,n,o){if(r){o=o||0;for(var u=e.length;u>0&&e[u-1][2]>o;u--)e[u]=e[u-1];e[u]=[r,n,o];return}for(var i=1/0,u=0;u<e.length;u++){for(var r=e[u][0],n=e[u][1],o=e[u][2],c=!0,f=0;f<r.length;f++)i>=o&&Object.keys(s.O).every(function(e){return s.O[e](r[f])})?r.splice(f--,1):(c=!1,o<i&&(i=o));if(c){e.splice(u--,1);var a=n();void 0!==a&&(t=a)}}return t},s.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return s.d(t,{a:t}),t},r=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},s.t=function(e,n){if(1&n&&(e=this(e)),8&n||"object"==typeof e&&e&&(4&n&&e.__esModule||16&n&&"function"==typeof e.then))return e;var o=Object.create(null);s.r(o);var u={};t=t||[null,r({}),r([]),r(r)];for(var i=2&n&&e;"object"==typeof i&&!~t.indexOf(i);i=r(i))Object.getOwnPropertyNames(i).forEach(function(t){u[t]=function(){return e[t]}});return u.default=function(){return e},s.d(o,u),o},s.d=function(e,t){for(var r in t)s.o(t,r)&&!s.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},s.f={},s.e=function(e){return Promise.all(Object.keys(s.f).reduce(function(t,r){return s.f[r](e,t),t},[]))},s.u=function(e){return"static/chunks/"+e+".0d40ef28c22c25ac.js"},s.miniCssF=function(e){return"static/css/006faa92ee43020c.css"},s.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}}(),s.hmd=function(e){return(e=Object.create(e)).children||(e.children=[]),Object.defineProperty(e,"exports",{enumerable:!0,set:function(){throw Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}}),e},s.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n={},o="_N_E:",s.l=function(e,t,r,u){if(n[e]){n[e].push(t);return}if(void 0!==r)for(var i,c,f=document.getElementsByTagName("script"),a=0;a<f.length;a++){var l=f[a];if(l.getAttribute("src")==e||l.getAttribute("data-webpack")==o+r){i=l;break}}i||(c=!0,(i=document.createElement("script")).charset="utf-8",i.timeout=120,s.nc&&i.setAttribute("nonce",s.nc),i.setAttribute("data-webpack",o+r),i.src=s.tu(e)),n[e]=[t];var d=function(t,r){i.onerror=i.onload=null,clearTimeout(p);var o=n[e];if(delete n[e],i.parentNode&&i.parentNode.removeChild(i),o&&o.forEach(function(e){return e(r)}),t)return t(r)},p=setTimeout(d.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=d.bind(null,i.onerror),i.onload=d.bind(null,i.onload),c&&document.head.appendChild(i)},s.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},s.U=function(e){var t=new URL(e,"x:/"),r={};for(var n in t)r[n]=t[n];for(var n in r.href=e,r.pathname=e.replace(/[?#].*/,""),r.origin=r.protocol="",r.toString=r.toJSON=function(){return e},r)Object.defineProperty(this,n,{enumerable:!0,configurable:!0,value:r[n]})},s.U.prototype=URL.prototype,s.tt=function(){return void 0===u&&(u={createScriptURL:function(e){return e}},"undefined"!=typeof trustedTypes&&trustedTypes.createPolicy&&(u=trustedTypes.createPolicy("nextjs#bundler",u))),u},s.tu=function(e){return s.tt().createScriptURL(e)},s.p="/_next/",s.b=document.baseURI||self.location.href,i={272:0},s.f.j=function(e,t){var r=s.o(i,e)?i[e]:void 0;if(0!==r){if(r)t.push(r[2]);else if(272!=e){var n=new Promise(function(t,n){r=i[e]=[t,n]});t.push(r[2]=n);var o=s.p+s.u(e),u=Error();s.l(o,function(t){if(s.o(i,e)&&(0!==(r=i[e])&&(i[e]=void 0),r)){var n=t&&("load"===t.type?"missing":t.type),o=t&&t.target&&t.target.src;u.message="Loading chunk "+e+" failed.\n("+n+": "+o+")",u.name="ChunkLoadError",u.type=n,u.request=o,r[1](u)}},"chunk-"+e,e)}else i[e]=0}},s.O.j=function(e){return 0===i[e]},c=function(e,t){var r,n,o=t[0],u=t[1],c=t[2],f=0;if(o.some(function(e){return 0!==i[e]})){for(r in u)s.o(u,r)&&(s.m[r]=u[r]);if(c)var a=c(s)}for(e&&e(t);f<o.length;f++)n=o[f],s.o(i,n)&&i[n]&&i[n][0](),i[n]=0;return s.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))}();
 
1
+ !function(){"use strict";var e,t,r,n,o,u,i,c,f,a={},l={};function s(e){var t=l[e];if(void 0!==t)return t.exports;var r=l[e]={id:e,loaded:!1,exports:{}},n=!0;try{a[e](r,r.exports,s),n=!1}finally{n&&delete l[e]}return r.loaded=!0,r.exports}s.m=a,e=[],s.O=function(t,r,n,o){if(r){o=o||0;for(var u=e.length;u>0&&e[u-1][2]>o;u--)e[u]=e[u-1];e[u]=[r,n,o];return}for(var i=1/0,u=0;u<e.length;u++){for(var r=e[u][0],n=e[u][1],o=e[u][2],c=!0,f=0;f<r.length;f++)i>=o&&Object.keys(s.O).every(function(e){return s.O[e](r[f])})?r.splice(f--,1):(c=!1,o<i&&(i=o));if(c){e.splice(u--,1);var a=n();void 0!==a&&(t=a)}}return t},s.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return s.d(t,{a:t}),t},r=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},s.t=function(e,n){if(1&n&&(e=this(e)),8&n||"object"==typeof e&&e&&(4&n&&e.__esModule||16&n&&"function"==typeof e.then))return e;var o=Object.create(null);s.r(o);var u={};t=t||[null,r({}),r([]),r(r)];for(var i=2&n&&e;"object"==typeof i&&!~t.indexOf(i);i=r(i))Object.getOwnPropertyNames(i).forEach(function(t){u[t]=function(){return e[t]}});return u.default=function(){return e},s.d(o,u),o},s.d=function(e,t){for(var r in t)s.o(t,r)&&!s.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},s.f={},s.e=function(e){return Promise.all(Object.keys(s.f).reduce(function(t,r){return s.f[r](e,t),t},[]))},s.u=function(e){return"static/chunks/"+e+".0d40ef28c22c25ac.js"},s.miniCssF=function(e){return"static/css/a9ddb5cb8e5a2e57.css"},s.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}}(),s.hmd=function(e){return(e=Object.create(e)).children||(e.children=[]),Object.defineProperty(e,"exports",{enumerable:!0,set:function(){throw Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}}),e},s.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n={},o="_N_E:",s.l=function(e,t,r,u){if(n[e]){n[e].push(t);return}if(void 0!==r)for(var i,c,f=document.getElementsByTagName("script"),a=0;a<f.length;a++){var l=f[a];if(l.getAttribute("src")==e||l.getAttribute("data-webpack")==o+r){i=l;break}}i||(c=!0,(i=document.createElement("script")).charset="utf-8",i.timeout=120,s.nc&&i.setAttribute("nonce",s.nc),i.setAttribute("data-webpack",o+r),i.src=s.tu(e)),n[e]=[t];var d=function(t,r){i.onerror=i.onload=null,clearTimeout(p);var o=n[e];if(delete n[e],i.parentNode&&i.parentNode.removeChild(i),o&&o.forEach(function(e){return e(r)}),t)return t(r)},p=setTimeout(d.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=d.bind(null,i.onerror),i.onload=d.bind(null,i.onload),c&&document.head.appendChild(i)},s.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},s.U=function(e){var t=new URL(e,"x:/"),r={};for(var n in t)r[n]=t[n];for(var n in r.href=e,r.pathname=e.replace(/[?#].*/,""),r.origin=r.protocol="",r.toString=r.toJSON=function(){return e},r)Object.defineProperty(this,n,{enumerable:!0,configurable:!0,value:r[n]})},s.U.prototype=URL.prototype,s.tt=function(){return void 0===u&&(u={createScriptURL:function(e){return e}},"undefined"!=typeof trustedTypes&&trustedTypes.createPolicy&&(u=trustedTypes.createPolicy("nextjs#bundler",u))),u},s.tu=function(e){return s.tt().createScriptURL(e)},s.p="/_next/",s.b=document.baseURI||self.location.href,i={272:0},s.f.j=function(e,t){var r=s.o(i,e)?i[e]:void 0;if(0!==r){if(r)t.push(r[2]);else if(272!=e){var n=new Promise(function(t,n){r=i[e]=[t,n]});t.push(r[2]=n);var o=s.p+s.u(e),u=Error();s.l(o,function(t){if(s.o(i,e)&&(0!==(r=i[e])&&(i[e]=void 0),r)){var n=t&&("load"===t.type?"missing":t.type),o=t&&t.target&&t.target.src;u.message="Loading chunk "+e+" failed.\n("+n+": "+o+")",u.name="ChunkLoadError",u.type=n,u.request=o,r[1](u)}},"chunk-"+e,e)}else i[e]=0}},s.O.j=function(e){return 0===i[e]},c=function(e,t){var r,n,o=t[0],u=t[1],c=t[2],f=0;if(o.some(function(e){return 0!==i[e]})){for(r in u)s.o(u,r)&&(s.m[r]=u[r]);if(c)var a=c(s)}for(e&&e(t);f<o.length;f++)n=o[f],s.o(i,n)&&i[n]&&i[n][0](),i[n]=0;return s.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))}();
_next/static/css/006faa92ee43020c.css DELETED
@@ -1,5 +0,0 @@
1
- .react-responsive-modal-root{position:fixed;top:0;bottom:0;left:0;right:0;z-index:1000}.react-responsive-modal-overlay{background:rgba(0,0,0,.5);position:fixed;top:0;bottom:0;left:0;right:0;z-index:-1}.react-responsive-modal-container{height:100%;outline:0;overflow-x:hidden;overflow-y:auto;text-align:center}.react-responsive-modal-containerCenter:after{width:0;height:100%;content:"";display:inline-block;vertical-align:middle}.react-responsive-modal-modal{max-width:800px;display:inline-block;text-align:left;vertical-align:middle;background:#fff;box-shadow:0 12px 15px 0 rgba(0,0,0,.25);margin:1.2rem;padding:1.2rem;position:relative;overflow-y:auto}.react-responsive-modal-closeButton{position:absolute;top:14px;right:14px;border:none;padding:0;cursor:pointer;background-color:transparent;display:flex}.react-responsive-modal-container,.react-responsive-modal-modal,.react-responsive-modal-overlay{animation-fill-mode:forwards!important}@keyframes react-responsive-modal-overlay-in{0%{opacity:0}to{opacity:1}}@keyframes react-responsive-modal-overlay-out{0%{opacity:1}to{opacity:0}}@keyframes react-responsive-modal-modal-in{0%{transform:scale(.96);opacity:0}to{transform:scale(100%);opacity:1}}@keyframes react-responsive-modal-modal-out{0%{transform:scale(100%);opacity:1}to{transform:scale(.96);opacity:0}}
2
-
3
- /*
4
- ! tailwindcss v3.4.1 | MIT License | https://tailwindcss.com
5
- */*,:after,:before{box-sizing:border-box;border:0 solid #e5e7eb}:after,:before{--tw-content:""}:host,html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.pointer-events-none{pointer-events:none}.static{position:static}.absolute{position:absolute}.relative{position:relative}.inset-y-0{top:0;bottom:0}.right-0{right:0}.z-10{z-index:10}.z-20{z-index:20}.z-50{z-index:50}.mx-auto{margin-left:auto;margin-right:auto}.mb-2{margin-bottom:.5rem}.ml-auto{margin-left:auto}.mr-1{margin-right:.25rem}.mr-auto{margin-right:auto}.mt-2{margin-top:.5rem}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.inline-flex{display:inline-flex}.grid{display:grid}.hidden{display:none}.h-3{height:.75rem}.h-3\/4{height:75%}.h-4{height:1rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-7{height:1.75rem}.h-8{height:2rem}.h-full{height:100%}.min-h-screen{min-height:100vh}.w-3\/4{width:75%}.w-36{width:9rem}.w-4{width:1rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-7{width:1.75rem}.w-8{width:2rem}.w-full{width:100%}.max-w-screen-xl{max-width:1280px}.flex-1{flex:1 1 0%}.cursor-pointer{cursor:pointer}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-2{gap:.5rem}.gap-4{gap:1rem}.gap-6{gap:1.5rem}.gap-8{gap:2rem}.gap-y-8{row-gap:2rem}.overflow-x-hidden{overflow-x:hidden}.rounded{border-radius:.25rem}.rounded-md{border-radius:.375rem}.rounded-b-md{border-bottom-right-radius:.375rem;border-bottom-left-radius:.375rem}.bg-emerald-600{--tw-bg-opacity:1;background-color:rgb(5 150 105/var(--tw-bg-opacity))}.bg-gray-200{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity))}.fill-current{fill:currentColor}.p-4{padding:1rem}.p-6{padding:1.5rem}.p-8{padding:2rem}.px-4{padding-left:1rem;padding-right:1rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.px-8{padding-left:2rem;padding-right:2rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-2\.5{padding-top:.625rem;padding-bottom:.625rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.pb-1{padding-bottom:.25rem}.pb-6{padding-bottom:1.5rem}.pr-2{padding-right:.5rem}.pt-6{padding-top:1.5rem}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.text-2xl{font-size:1.5rem;line-height:2rem}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-lg{font-size:1.125rem}.text-lg,.text-xl{line-height:1.75rem}.text-xl{font-size:1.25rem}.font-extrabold{font-weight:800}.font-medium{font-weight:500}.font-semibold{font-weight:600}.text-black{--tw-text-opacity:1;color:rgb(0 0 0/var(--tw-text-opacity))}.text-blue-600{--tw-text-opacity:1;color:rgb(37 99 235/var(--tw-text-opacity))}.text-blue-700{--tw-text-opacity:1;color:rgb(29 78 216/var(--tw-text-opacity))}.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.text-slate-900{--tw-text-opacity:1;color:rgb(15 23 42/var(--tw-text-opacity))}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.shadow-lg{--tw-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-black{--tw-shadow-color:#000;--tw-shadow:var(--tw-shadow-colored)}.\!outline{outline-style:solid!important}.outline{outline-style:solid}.outline-2{outline-width:2px}.\!outline-black{outline-color:#000!important}.outline-black{outline-color:#000}.outline-white{outline-color:#fff}.ring-1{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.ring-black{--tw-ring-opacity:1;--tw-ring-color:rgb(0 0 0/var(--tw-ring-opacity))}.ring-opacity-5{--tw-ring-opacity:0.05}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}body,html{max-width:100vw;overflow-x:hidden}.loader{animation:spin 1s linear infinite;height:10px;width:10px;margin:-5px;scale:.5}@keyframes spin{0%{box-shadow:0 -30px #000,10px -30px #000,20px -20px #000,30px -10px #000,30px 0 #000,30px 10px #000,20px 20px #000,10px 30px #000,0 30px transparent,-10px 30px transparent,-20px 20px transparent,-30px 10px transparent,-30px 0 transparent,-30px -10px transparent,-20px -20px transparent,-10px -30px transparent}6.25%{box-shadow:0 -30px transparent,10px -30px #000,20px -20px #000,30px -10px #000,30px 0 #000,30px 10px #000,20px 20px #000,10px 30px #000,0 30px #000,-10px 30px transparent,-20px 20px transparent,-30px 10px transparent,-30px 0 transparent,-30px -10px transparent,-20px -20px transparent,-10px -30px transparent}12.5%{box-shadow:0 -30px transparent,10px -30px transparent,20px -20px #000,30px -10px #000,30px 0 #000,30px 10px #000,20px 20px #000,10px 30px #000,0 30px #000,-10px 30px #000,-20px 20px transparent,-30px 10px transparent,-30px 0 transparent,-30px -10px transparent,-20px -20px transparent,-10px -30px transparent}18.75%{box-shadow:0 -30px transparent,10px -30px transparent,20px -20px transparent,30px -10px #000,30px 0 #000,30px 10px #000,20px 20px #000,10px 30px #000,0 30px #000,-10px 30px #000,-20px 20px #000,-30px 10px transparent,-30px 0 transparent,-30px -10px transparent,-20px -20px transparent,-10px -30px transparent}25%{box-shadow:0 -30px transparent,10px -30px transparent,20px -20px transparent,30px -10px transparent,30px 0 #000,30px 10px #000,20px 20px #000,10px 30px #000,0 30px #000,-10px 30px #000,-20px 20px #000,-30px 10px #000,-30px 0 transparent,-30px -10px transparent,-20px -20px transparent,-10px -30px transparent}31.25%{box-shadow:0 -30px transparent,10px -30px transparent,20px -20px transparent,30px -10px transparent,30px 0 transparent,30px 10px #000,20px 20px #000,10px 30px #000,0 30px #000,-10px 30px #000,-20px 20px #000,-30px 10px #000,-30px 0 #000,-30px -10px transparent,-20px -20px transparent,-10px -30px transparent}37.5%{box-shadow:0 -30px transparent,10px -30px transparent,20px -20px transparent,30px -10px transparent,30px 0 transparent,30px 10px transparent,20px 20px #000,10px 30px #000,0 30px #000,-10px 30px #000,-20px 20px #000,-30px 10px #000,-30px 0 #000,-30px -10px #000,-20px -20px transparent,-10px -30px transparent}43.75%{box-shadow:0 -30px transparent,10px -30px transparent,20px -20px transparent,30px -10px transparent,30px 0 transparent,30px 10px transparent,20px 20px transparent,10px 30px #000,0 30px #000,-10px 30px #000,-20px 20px #000,-30px 10px #000,-30px 0 #000,-30px -10px #000,-20px -20px #000,-10px -30px transparent}50%{box-shadow:0 -30px transparent,10px -30px transparent,20px -20px transparent,30px -10px transparent,30px 0 transparent,30px 10px transparent,20px 20px transparent,10px 30px transparent,0 30px #000,-10px 30px #000,-20px 20px #000,-30px 10px #000,-30px 0 #000,-30px -10px #000,-20px -20px #000,-10px -30px #000}56.25%{box-shadow:0 -30px #000,10px -30px transparent,20px -20px transparent,30px -10px transparent,30px 0 transparent,30px 10px transparent,20px 20px transparent,10px 30px transparent,0 30px transparent,-10px 30px #000,-20px 20px #000,-30px 10px #000,-30px 0 #000,-30px -10px #000,-20px -20px #000,-10px -30px #000}62.5%{box-shadow:0 -30px #000,10px -30px #000,20px -20px transparent,30px -10px transparent,30px 0 transparent,30px 10px transparent,20px 20px transparent,10px 30px transparent,0 30px transparent,-10px 30px transparent,-20px 20px #000,-30px 10px #000,-30px 0 #000,-30px -10px #000,-20px -20px #000,-10px -30px #000}68.75%{box-shadow:0 -30px #000,10px -30px #000,20px -20px #000,30px -10px transparent,30px 0 transparent,30px 10px transparent,20px 20px transparent,10px 30px transparent,0 30px transparent,-10px 30px transparent,-20px 20px transparent,-30px 10px #000,-30px 0 #000,-30px -10px #000,-20px -20px #000,-10px -30px #000}75%{box-shadow:0 -30px #000,10px -30px #000,20px -20px #000,30px -10px #000,30px 0 transparent,30px 10px transparent,20px 20px transparent,10px 30px transparent,0 30px transparent,-10px 30px transparent,-20px 20px transparent,-30px 10px transparent,-30px 0 #000,-30px -10px #000,-20px -20px #000,-10px -30px #000}81.25%{box-shadow:0 -30px #000,10px -30px #000,20px -20px #000,30px -10px #000,30px 0 #000,30px 10px transparent,20px 20px transparent,10px 30px transparent,0 30px transparent,-10px 30px transparent,-20px 20px transparent,-30px 10px transparent,-30px 0 transparent,-30px -10px #000,-20px -20px #000,-10px -30px #000}87.5%{box-shadow:0 -30px #000,10px -30px #000,20px -20px #000,30px -10px #000,30px 0 #000,30px 10px #000,20px 20px transparent,10px 30px transparent,0 30px transparent,-10px 30px transparent,-20px 20px transparent,-30px 10px transparent,-30px 0 transparent,-30px -10px transparent,-20px -20px #000,-10px -30px #000}93.75%{box-shadow:0 -30px #000,10px -30px #000,20px -20px #000,30px -10px #000,30px 0 #000,30px 10px #000,20px 20px #000,10px 30px transparent,0 30px transparent,-10px 30px transparent,-20px 20px transparent,-30px 10px transparent,-30px 0 transparent,-30px -10px transparent,-20px -20px transparent,-10px -30px #000}to{box-shadow:0 -30px #000,10px -30px #000,20px -20px #000,30px -10px #000,30px 0 #000,30px 10px #000,20px 20px #000,10px 30px #000,0 30px transparent,-10px 30px transparent,-20px 20px transparent,-30px 10px transparent,-30px 0 transparent,-30px -10px transparent,-20px -20px transparent,-10px -30px transparent}}.hover\:bg-gray-100:hover{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.hover\:bg-slate-100:hover{--tw-bg-opacity:1;background-color:rgb(241 245 249/var(--tw-bg-opacity))}.group:hover .group-hover\:block{display:block}@media (min-width:768px){.md\:w-3\/4{width:75%}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (min-width:1280px){.xl\:w-1\/2{width:50%}}@media (min-width:1536px){.\32xl\:w-1\/3{width:33.333333%}}@font-face{font-family:__Inter_aaf875;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/ec159349637c90ad-s.woff2) format("woff2");unicode-range:u+0460-052f,u+1c80-1c88,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-family:__Inter_aaf875;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/513657b02c5c193f-s.woff2) format("woff2");unicode-range:u+0301,u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-family:__Inter_aaf875;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/fd4db3eb5472fc27-s.woff2) format("woff2");unicode-range:u+1f??}@font-face{font-family:__Inter_aaf875;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/51ed15f9841b9f9d-s.woff2) format("woff2");unicode-range:u+0370-0377,u+037a-037f,u+0384-038a,u+038c,u+038e-03a1,u+03a3-03ff}@font-face{font-family:__Inter_aaf875;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/05a31a2ca4975f99-s.woff2) format("woff2");unicode-range:u+0102-0103,u+0110-0111,u+0128-0129,u+0168-0169,u+01a0-01a1,u+01af-01b0,u+0300-0301,u+0303-0304,u+0308-0309,u+0323,u+0329,u+1ea0-1ef9,u+20ab}@font-face{font-family:__Inter_aaf875;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/d6b16ce4a6175f26-s.woff2) format("woff2");unicode-range:u+0100-02af,u+0304,u+0308,u+0329,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c0,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:__Inter_aaf875;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/c9a5bc6a7c948fb0-s.p.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+2074,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:__Inter_Fallback_aaf875;src:local("Arial");ascent-override:90.20%;descent-override:22.48%;line-gap-override:0.00%;size-adjust:107.40%}.__className_aaf875{font-family:__Inter_aaf875,__Inter_Fallback_aaf875;font-style:normal}
 
 
 
 
 
 
_next/static/{ljLF5Y0IKOYPoqGtYjtP6 β†’ qMfm-7aZo8tF3UgHoiWa1}/_buildManifest.js RENAMED
File without changes
_next/static/{ljLF5Y0IKOYPoqGtYjtP6 β†’ qMfm-7aZo8tF3UgHoiWa1}/_ssgManifest.js RENAMED
File without changes
index.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="preload" href="/_next/static/media/c9a5bc6a7c948fb0-s.p.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="stylesheet" href="/_next/static/css/006faa92ee43020c.css" crossorigin="" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-82b6c37e0a41ce12.js" crossorigin=""/><script src="/_next/static/chunks/14720756-e9a7b2ed0a50d560.js" async="" crossorigin=""></script><script src="/_next/static/chunks/726-fa7588da0ba475d4.js" async="" crossorigin=""></script><script src="/_next/static/chunks/main-app-8c0c2d06caa139ca.js" async="" crossorigin=""></script><script src="/_next/static/chunks/747-621ae855ce94dba3.js" async=""></script><script src="/_next/static/chunks/app/page-176dcf4053ae5567.js" async=""></script><title>Whisper by Ratchet</title><meta name="description" content="Simple demo of Whisper."/><link rel="icon" href="/favicon.ico" type="image/x-icon" sizes="16x16"/><meta name="next-size-adjust"/><script src="/_next/static/chunks/polyfills-c67a75d1b6f99dc8.js" crossorigin="" noModule=""></script></head><body class="__className_aaf875"><main class="flex flex-1 flex-col max-w-screen-xl mx-auto p-6"><div class="flex-1"><h1 class="text-blue-700 text-4xl font-extrabold pb-6">Whisper + Ratchet</h1><div class="grid grid-cols-1 md:grid-cols-2 gap-8"><div class="flex flex-col gap-6 w-full"><div class="group inline-block relative w-full"><button class="font-semibold text-xl py-2.5 px-8 w-full inline-flex items-center outline outline-black"><span class="mr-1">Select Model</span><svg class="fill-current h-4 w-4" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M9.293 12.95l.707.707L15.657 8l-1.414-1.414L10 10.828 5.757 6.586 4.343 8z"></path></svg></button><ul class="absolute outline group-hover:block z-50 w-full shadow-lg shadow-black" style="display:none"><li><a class="bg-white hover:bg-slate-100 py-2 px-8 font-semibold text-xl block whitespace-no-wrap cursor-pointer ">WHISPER_TINY</a></li><li><a class="bg-white hover:bg-slate-100 py-2 px-8 font-semibold text-xl block whitespace-no-wrap cursor-pointer ">WHISPER_BASE</a></li><li><a class="bg-white hover:bg-slate-100 py-2 px-8 font-semibold text-xl block whitespace-no-wrap cursor-pointer ">WHISPER_SMALL</a></li><li><a class="bg-white hover:bg-slate-100 py-2 px-8 font-semibold text-xl block whitespace-no-wrap cursor-pointer ">WHISPER_MEDIUM</a></li><li><a class="bg-white hover:bg-slate-100 py-2 px-8 font-semibold text-xl block whitespace-no-wrap cursor-pointer ">WHISPER_LARGE_V2</a></li><li><a class="bg-white hover:bg-slate-100 py-2 px-8 font-semibold text-xl block whitespace-no-wrap cursor-pointer rounded-b-md">WHISPER_LARGE_V3</a></li></ul></div><button class="outline outline-black text-black font-semibold py-1 px-4 cursor-pointer">Load Model</button><div class="flex flex-row gap-4"><div class="flex flex-col w-full"><label class="text-black font-semibold">Upload Audio</label><label class="text-lg outline outline-black w-full font-semibold py-2.5 px-8 mx-auto cursor-pointer w-full" for="audioFile"><div class="flex flex-row justify-between"><span class="">Select Audio File</span></div></label><input type="file" class="hidden" id="audioFile" accept=".wav,.aac,.m4a,.mp4,.mp3" name="audioFile"/></div><div class="flex flex-col"><button class="text-xl outline outline-white text-black font-semibold px-6 mx-auto cursor-pointer h-full pt-6"><svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-8 h-8"><path stroke-linecap="round" stroke-linejoin="round" d="M12 18.75a6 6 0 006-6v-1.5m-6 7.5a6 6 0 01-6-6v-1.5m6 7.5v3.75m-3.75 0h7.5M12 15.75a3 3 0 01-3-3V4.5a3 3 0 116 0v8.25a3 3 0 01-3 3z"></path></svg></button></div></div><div class="flex flex-row gap-4 justify-end items-center"><button class="outline outline-black text-black font-semibold py-3 px-4 cursor-pointer">Options</button><button class="outline outline-black text-black font-semibold py-3 px-4 cursor-pointer">Run Model</button></div></div><div class="flex flex-col relative w-full z-10 min-h-screen"><div class="flex gap-4 flex-col"></div></div></div></div></main><script src="/_next/static/chunks/webpack-82b6c37e0a41ce12.js" crossorigin="" 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/media/c9a5bc6a7c948fb0-s.p.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n2:HL[\"/_next/static/css/006faa92ee43020c.css\",\"style\",{\"crossOrigin\":\"\"}]\n0:\"$L3\"\n"])</script><script>self.__next_f.push([1,"4:I[3565,[],\"\"]\n6:I[5014,[],\"\"]\n7:I[2325,[\"747\",\"static/chunks/747-621ae855ce94dba3.js\",\"931\",\"static/chunks/app/page-176dcf4053ae5567.js\"],\"\"]\n8:I[6312,[],\"\"]\n9:I[2906,[],\"\"]\nb:I[4933,[],\"\"]\nc:[]\n"])</script><script>self.__next_f.push([1,"3:[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/006faa92ee43020c.css\",\"precedence\":\"next\",\"crossOrigin\":\"\"}]],[\"$\",\"$L4\",null,{\"buildId\":\"ljLF5Y0IKOYPoqGtYjtP6\",\"assetPrefix\":\"\",\"initialCanonicalUrl\":\"/\",\"initialTree\":[\"\",{\"children\":[\"__PAGE__\",{}]},\"$undefined\",\"$undefined\",true],\"initialSeedData\":[\"\",{\"children\":[\"__PAGE__\",{},[\"$L5\",[\"$\",\"$L6\",null,{\"propsForComponent\":{\"params\":{}},\"Component\":\"$7\",\"isStaticGeneration\":true}],null]]},[null,[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[\"$\",\"body\",null,{\"className\":\"__className_aaf875\",\"children\":[\"$\",\"main\",null,{\"className\":\"flex flex-1 flex-col max-w-screen-xl mx-auto p-6\",\"children\":[\"$\",\"div\",null,{\"className\":\"flex-1\",\"children\":[\"$\",\"$L8\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\"],\"loading\":\"$undefined\",\"loadingStyles\":\"$undefined\",\"loadingScripts\":\"$undefined\",\"hasLoading\":false,\"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}]}]}]}]}],null]],\"initialHead\":[false,\"$La\"],\"globalErrorComponent\":\"$b\",\"missingSlots\":\"$Wc\"}]]\n"])</script><script>self.__next_f.push([1,"a:[[\"$\",\"meta\",\"0\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}],[\"$\",\"meta\",\"1\",{\"charSet\":\"utf-8\"}],[\"$\",\"title\",\"2\",{\"children\":\"Whisper by Ratchet\"}],[\"$\",\"meta\",\"3\",{\"name\":\"description\",\"content\":\"Simple demo of Whisper.\"}],[\"$\",\"link\",\"4\",{\"rel\":\"icon\",\"href\":\"/favicon.ico\",\"type\":\"image/x-icon\",\"sizes\":\"16x16\"}],[\"$\",\"meta\",\"5\",{\"name\":\"next-size-adjust\"}]]\n5:null\n"])</script><script>self.__next_f.push([1,""])</script></body></html>
 
1
+ <!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" href="/_next/static/media/c9a5bc6a7c948fb0-s.p.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="stylesheet" href="/_next/static/css/a9ddb5cb8e5a2e57.css" crossorigin="" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-28b2d9abddfd7060.js" crossorigin=""/><script src="/_next/static/chunks/14720756-a333ce80b61a64e6.js" async="" crossorigin=""></script><script src="/_next/static/chunks/726-aa4ed113a56a70f4.js" async="" crossorigin=""></script><script src="/_next/static/chunks/main-app-8c0c2d06caa139ca.js" async="" crossorigin=""></script><script src="/_next/static/chunks/585-6590b3b1b5a6979b.js" async=""></script><script src="/_next/static/chunks/102-57ce5954f61a9f39.js" async=""></script><script src="/_next/static/chunks/app/page-189836703ffb6814.js" async=""></script><script src="/_next/static/chunks/app/layout-1039081529419e22.js" async=""></script><title>Whisper by Ratchet</title><meta name="description" content="Simple demo of Whisper."/><link rel="icon" href="/favicon.ico" type="image/x-icon" sizes="16x16"/><meta name="next-size-adjust"/><script src="/_next/static/chunks/polyfills-c67a75d1b6f99dc8.js" crossorigin="" noModule=""></script></head><body class="__className_aaf875"><main class="flex flex-1 flex-col max-w-screen-xl mx-auto p-6"><div style="position:fixed;z-index:9999;top:16px;left:16px;right:16px;bottom:16px;pointer-events:none"></div><div class="flex-1"><h1 class="text-blue-700 text-4xl font-extrabold pb-6">Whisper + Ratchet</h1><div class="grid grid-cols-1 md:grid-cols-2 gap-8"><div class="flex flex-col gap-6 w-full"><div class="group inline-block relative w-full"><button class="font-semibold text-xl py-2.5 px-8 w-full inline-flex items-center outline outline-black"><span class="mr-1">Select Model</span><svg class="fill-current h-4 w-4" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M9.293 12.95l.707.707L15.657 8l-1.414-1.414L10 10.828 5.757 6.586 4.343 8z"></path></svg></button><ul class="absolute outline group-hover:block z-50 w-full shadow-lg shadow-black" style="display:none"><li><a class="bg-white hover:bg-slate-100 py-2 px-8 font-semibold text-xl block whitespace-no-wrap cursor-pointer ">WhisperTiny</a></li><li><a class="bg-white hover:bg-slate-100 py-2 px-8 font-semibold text-xl block whitespace-no-wrap cursor-pointer ">WhisperBase</a></li><li><a class="bg-white hover:bg-slate-100 py-2 px-8 font-semibold text-xl block whitespace-no-wrap cursor-pointer ">WhisperSmall</a></li><li><a class="bg-white hover:bg-slate-100 py-2 px-8 font-semibold text-xl block whitespace-no-wrap cursor-pointer ">WhisperMedium</a></li><li><a class="bg-white hover:bg-slate-100 py-2 px-8 font-semibold text-xl block whitespace-no-wrap cursor-pointer ">WhisperLargeV2</a></li><li><a class="bg-white hover:bg-slate-100 py-2 px-8 font-semibold text-xl block whitespace-no-wrap cursor-pointer ">WhisperLargeV3</a></li><li><a class="bg-white hover:bg-slate-100 py-2 px-8 font-semibold text-xl block whitespace-no-wrap cursor-pointer rounded-b-md">DistilWhisperLargeV3</a></li></ul></div><button class="outline outline-black text-black font-semibold py-1 px-4 cursor-pointer">Load Model</button><div class="flex flex-row gap-4"><div class="flex flex-col w-full"><label class="text-black font-semibold">Upload Audio</label><label class="text-lg outline outline-black w-full font-semibold py-2.5 px-8 mx-auto cursor-pointer w-full" for="audioFile"><div class="flex flex-row justify-between"><span class="">Select Audio File</span></div></label><input type="file" class="hidden" id="audioFile" accept=".wav,.aac,.m4a,.mp4,.mp3" name="audioFile"/></div><div class="flex flex-col"><button class="text-xl outline outline-white text-black font-semibold px-6 mx-auto cursor-pointer h-full pt-6"><svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-8 h-8"><path stroke-linecap="round" stroke-linejoin="round" d="M12 18.75a6 6 0 006-6v-1.5m-6 7.5a6 6 0 01-6-6v-1.5m6 7.5v3.75m-3.75 0h7.5M12 15.75a3 3 0 01-3-3V4.5a3 3 0 116 0v8.25a3 3 0 01-3 3z"></path></svg></button></div></div><div class="flex flex-row gap-4 justify-end items-center"><button class="outline outline-black text-black font-semibold py-3 px-4 cursor-pointer">Options</button><button class="outline outline-black text-black font-semibold py-3 px-4 cursor-pointer">Run Model</button></div></div><div class="flex flex-col relative w-full z-10 min-h-screen"><div class="flex gap-4 flex-col"></div></div></div></div></main><script src="/_next/static/chunks/webpack-28b2d9abddfd7060.js" crossorigin="" 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/media/c9a5bc6a7c948fb0-s.p.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n2:HL[\"/_next/static/css/a9ddb5cb8e5a2e57.css\",\"style\",{\"crossOrigin\":\"\"}]\n0:\"$L3\"\n"])</script><script>self.__next_f.push([1,"4:I[3565,[],\"\"]\n6:I[5014,[],\"\"]\n7:I[8514,[\"585\",\"static/chunks/585-6590b3b1b5a6979b.js\",\"102\",\"static/chunks/102-57ce5954f61a9f39.js\",\"931\",\"static/chunks/app/page-189836703ffb6814.js\"],\"\"]\n8:I[585,[\"585\",\"static/chunks/585-6590b3b1b5a6979b.js\",\"185\",\"static/chunks/app/layout-1039081529419e22.js\"],\"Toaster\"]\n9:I[6312,[],\"\"]\na:I[2906,[],\"\"]\nc:I[4933,[],\"\"]\nd:[]\n"])</script><script>self.__next_f.push([1,"3:[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/a9ddb5cb8e5a2e57.css\",\"precedence\":\"next\",\"crossOrigin\":\"\"}]],[\"$\",\"$L4\",null,{\"buildId\":\"qMfm-7aZo8tF3UgHoiWa1\",\"assetPrefix\":\"\",\"initialCanonicalUrl\":\"/\",\"initialTree\":[\"\",{\"children\":[\"__PAGE__\",{}]},\"$undefined\",\"$undefined\",true],\"initialSeedData\":[\"\",{\"children\":[\"__PAGE__\",{},[\"$L5\",[\"$\",\"$L6\",null,{\"propsForComponent\":{\"params\":{}},\"Component\":\"$7\",\"isStaticGeneration\":true}],null]]},[null,[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[\"$\",\"body\",null,{\"className\":\"__className_aaf875\",\"children\":[\"$\",\"main\",null,{\"className\":\"flex flex-1 flex-col max-w-screen-xl mx-auto p-6\",\"children\":[[\"$\",\"$L8\",null,{}],[\"$\",\"div\",null,{\"className\":\"flex-1\",\"children\":[\"$\",\"$L9\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\"],\"loading\":\"$undefined\",\"loadingStyles\":\"$undefined\",\"loadingScripts\":\"$undefined\",\"hasLoading\":false,\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$La\",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]],\"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\":\"Whisper by Ratchet\"}],[\"$\",\"meta\",\"3\",{\"name\":\"description\",\"content\":\"Simple demo of Whisper.\"}],[\"$\",\"link\",\"4\",{\"rel\":\"icon\",\"href\":\"/favicon.ico\",\"type\":\"image/x-icon\",\"sizes\":\"16x16\"}],[\"$\",\"meta\",\"5\",{\"name\":\"next-size-adjust\"}]]\n5:null\n"])</script><script>self.__next_f.push([1,""])</script></body></html>
index.txt CHANGED
@@ -1,7 +1,8 @@
1
  2:I[5014,[],""]
2
- 3:I[2325,["747","static/chunks/747-621ae855ce94dba3.js","931","static/chunks/app/page-176dcf4053ae5567.js"],""]
3
- 4:I[6312,[],""]
4
- 5:I[2906,[],""]
5
- 0:["ljLF5Y0IKOYPoqGtYjtP6",[[["",{"children":["__PAGE__",{}]},"$undefined","$undefined",true],["",{"children":["__PAGE__",{},["$L1",["$","$L2",null,{"propsForComponent":{"params":{}},"Component":"$3","isStaticGeneration":true}],null]]},[null,["$","html",null,{"lang":"en","children":["$","body",null,{"className":"__className_aaf875","children":["$","main",null,{"className":"flex flex-1 flex-col max-w-screen-xl mx-auto p-6","children":["$","div",null,{"className":"flex-1","children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"loading":"$undefined","loadingStyles":"$undefined","loadingScripts":"$undefined","hasLoading":false,"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]],[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/006faa92ee43020c.css","precedence":"next","crossOrigin":""}]],"$L6"]]]]
6
- 6:[["$","meta","0",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","1",{"charSet":"utf-8"}],["$","title","2",{"children":"Whisper by Ratchet"}],["$","meta","3",{"name":"description","content":"Simple demo of Whisper."}],["$","link","4",{"rel":"icon","href":"/favicon.ico","type":"image/x-icon","sizes":"16x16"}],["$","meta","5",{"name":"next-size-adjust"}]]
 
7
  1:null
 
1
  2:I[5014,[],""]
2
+ 3:I[8514,["585","static/chunks/585-6590b3b1b5a6979b.js","102","static/chunks/102-57ce5954f61a9f39.js","931","static/chunks/app/page-189836703ffb6814.js"],""]
3
+ 4:I[585,["585","static/chunks/585-6590b3b1b5a6979b.js","185","static/chunks/app/layout-1039081529419e22.js"],"Toaster"]
4
+ 5:I[6312,[],""]
5
+ 6:I[2906,[],""]
6
+ 0:["qMfm-7aZo8tF3UgHoiWa1",[[["",{"children":["__PAGE__",{}]},"$undefined","$undefined",true],["",{"children":["__PAGE__",{},["$L1",["$","$L2",null,{"propsForComponent":{"params":{}},"Component":"$3","isStaticGeneration":true}],null]]},[null,["$","html",null,{"lang":"en","children":["$","body",null,{"className":"__className_aaf875","children":["$","main",null,{"className":"flex flex-1 flex-col max-w-screen-xl mx-auto p-6","children":[["$","$L4",null,{}],["$","div",null,{"className":"flex-1","children":["$","$L5",null,{"parallelRouterKey":"children","segmentPath":["children"],"loading":"$undefined","loadingStyles":"$undefined","loadingScripts":"$undefined","hasLoading":false,"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}]}]]}]}]}],null]],[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/a9ddb5cb8e5a2e57.css","precedence":"next","crossOrigin":""}]],"$L7"]]]]
7
+ 7:[["$","meta","0",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","1",{"charSet":"utf-8"}],["$","title","2",{"children":"Whisper by Ratchet"}],["$","meta","3",{"name":"description","content":"Simple demo of Whisper."}],["$","link","4",{"rel":"icon","href":"/favicon.ico","type":"image/x-icon","sizes":"16x16"}],["$","meta","5",{"name":"next-size-adjust"}]]
8
  1:null