PageSourceSearch

https://sensing-sugar-pearl.vercel.app/_next/static/chunks/pages/play/[id]-69f58174c6d45b8e.js

js sensing-sugar-pearl.vercel.app collected 2026-10-03 07:41:11 UTC 2,483 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[454],{7790:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/play/[id]",function(){return n(8008)}])},479:function(e,t,n){"use strict";n.d(t,{P:function(){return w}});var r=n(5893),s=n(5616),i=n(1057),u=n(8456),l=n(532),o=n(5152),a=n.n(o),c=n(7294),d=n(4628),f=n(8814),h=n(1163);let x=()=>{let{getUserData:e,clearData:t}=(0,f.eP)(),n=(0,h.useRouter)(),[r,s]=(0,c.useState)(null),[i,u]=(0,c.useState)(!0);(0,c.useEffect)(()=>{if(n.query.id){l(Array.isArray(n.query.id)?n.query.id[0]:n.query.id);return}return o(),void 0!==window&&window.addEventListener("unload",()=>t()),()=>{window.removeEventListener("unload",()=>t())}},[]);let l=async e=>{let t=await fetch("/api/sample?id=".concat(e));if(t.status>=400)return n.push("/404");let r=await t.json(),i=await (0,f.IR)(r.sugar);if("string"==typeof i)return n.push("/404");u(!1),s(i)},o=async()=>{let n=e();if(!n)return a();u(!1),s(()=>(t(),n))},a=()=>n.push("/");return{data:r,loading:i}},p=a()(()=>Promise.all([n.e(662),n.e(511),n.e(885),n.e(495)]).then(n.bind(n,4495)),{loadableGenerated:{webpack:()=>[4495]},ssr:!1}),w=e=>{let{setSensingSugar:t}=e,{data:n,loading:o}=x(),{t:a}=(0,l.$G)(),[f,h]=(0,c.useState)(d.j8()>0);return(0,r.jsxs)(s.Z,{children:[(o||!f)&&(0,r.jsxs)(s.Z,{display:"flex",width:"100vw",height:"100vh",alignItems:"center",justifyContent:"center",children:[!f&&(0,r.jsx)(i.Z,{onClick:()=>h(!0),size:"large",sx:{position:"absolute",zIndex:1},children:a("common:click_to_start")}),(0,r.jsx)(u.Z,{size:200,sx:{filter:"blur(20px)"}})]}),n&&!o&&f&&(0,r.jsx)(s.Z,{children:(0,r.jsx)(p,{data:n,setSensingSugar:t})})]})}},8008:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSG:function(){return a},default:function(){return c}});var r=n(5893),s=n(1485),i=n(479),u=n(1163),l=n(7294),o=n(3795),a=!0;function c(e){let t=(0,u.useRouter)(),[n,a]=(0,l.useState)(null);(0,l.useEffect)(()=>(t.beforePopState(e=>{let{as:n}=e;return t.asPath,c(),!0}),()=>{t.beforePopState(()=>!0)}),[t,n]);let c=()=>null==n?void 0:n.reset();return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(s.yG,{}),(0,r.jsx)(s.qS,{left:(0,r.jsx)(s.xE,{onClick:c}),center:(0,r.jsx)(o.Z,{color:"inherit",onClick:()=>{null==n||n.reset(),t.push("/")},underline:"none",sx:{cursor:"pointer"},children:(0,r.jsx)(s.Dx,{color:"inherit",size:"subtitle1"})})}),(0,r.jsx)(i.P,{setSensingSugar:e=>a(e)})]})}}},function(e){e.O(0,[808,685,628,294,806,888,774,179],function(){return e(e.s=7790)}),_N_E=e.O()}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.