PageSourceSearch

https://rikara.vercel.app/_next/static/chunks/pages/Arcade/Scratch-baa9917e16879321.js

js rikara.vercel.app collected 2026-10-03 07:38:26 UTC 8,023 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[247],{1360:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>d});var a=r(3798),n=r(1462),o=r(2697);r(6245);var i=r(8402);let s=function(e){let{game:t,setSelectedGame:r,setIsOpen:o}=e;return(0,n.useCallback)(()=>{r(t),o(!0)},[t,r,o]),(0,a.jsxs)("div",{className:"p-4 rounded-lg shadow-md hover:shadow-xl transition-shadow duration-300",whileHover:{scale:1.05},children:[(0,a.jsx)("div",{className:"relative w-full h-48",children:(0,a.jsx)(i.A,{src:(null==t?void 0:t.thumbnail)||(null==t?void 0:t.toenail)})}),(0,a.jsx)("h2",{children:t.title}),(0,a.jsx)("div",{children:(0,a.jsx)("button",{className:"w-full bg-purple-500 hover:bg-purple-600 text-white font-bold py-2 px-4 rounded focus:outline-none focus:shadow-outline",onClick:()=>{window.open(t.url,"_blank")},children:"Play"})}),(0,a.jsx)("p",{className:"text-sm font-monospace tracking-widest mt-3",children:t.description})]})};var l=r(3999);r(1016);var c=r(3737);function d(){return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(c.A,{title:" Robot Ric",description:"Follow Lumi, a curious photon, through an interactive lightbeam storybook. Swipe the light, turn pages, and explore a cosmic adventure with optional ambient audio.",canonicalURL:"https://www.robotric.org/adventures/lumi",image:"https://www.robotric.org/og/lumi.webp",type:"article"}),";",(0,a.jsx)(l.A,{}),(0,a.jsxs)("div",{className:"relative min-h-screen bg-cover bg-center font-magical",style:{backgroundImage:"url('/Arcade/ocade.webp')",backdropFilter:"url(#turbulence)"},id:"Arcade",children:[(0,a.jsx)("div",{className:"absolute inset-0 bg-gradient-to-b from-black/30 to-black/70 z-0"}),(0,a.jsxs)("div",{className:"relative z-10 flex flex-col items-center justify-center min-h-screen p-6 ",children:[(0,a.jsx)("h1",{className:"text-white mb-12 text-4xl sm:text-5xl font-semibold",style:{filter:"url(#turbulence)"},children:"Arcade"}),(0,a.jsx)("div",{id:"gamesSection",className:"grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 gap-6 max-w-5xl mx-auto",children:o.GE.map(e=>(0,a.jsx)("div",{children:(0,a.jsx)(s,{game:e})},e.id))})]})]})]})}},2226:(e,t,r)=>{e.exports=r(1817)},3737:(e,t,r)=>{"use strict";r.d(t,{A:()=>c});
1var a=r(3798),n=r(2226),o=r.n(n);r(1462);let i="https://www.robotric.org",s="".concat(i,"/logo.webp"),l="".concat(i,"/video.mp4"),c=function(e){let{title:t="Robot Ric - Interactive Adventures and Learning for Kids",description:r="Robot Ric is an interactive platform with adventures, games, and stories that teach creativity, coding, and curiosity through play.",canonicalURL:n,image:c=s,video:d,keywords:u="robot, ric, robotric, adventures, interactive, stories, games, learning, kids, education, technology, coding, programming, creativity, imagination, exploration, discovery",type:m="website",publishedTime:p,modifiedTime:h}=e,x=n||i,g={"@context":"https://schema.org","@type":"article"===m?"Article":"WebPage",name:t,description:r,url:x,image:c,author:{"@type":"Person",name:"Eric Dequevedo"},publisher:{"@type":"Organization",name:"Quantum Creative Solutions",logo:{"@type":"ImageObject",url:"".concat(i,"/logo.webp")}},mainEntityOfPage:{"@type":"WebPage","@id":x}};return p&&(g.datePublished=p),h&&(g.dateModified=h),(0,a.jsxs)(o(),{children:[(0,a.jsx)("title",{children:t}),(0,a.jsx)("meta",{name:"description",content:r}),(0,a.jsx)("link",{rel:"canonical",href:x}),(0,a.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1"}),(0,a.jsx)("meta",{name:"author",content:"Eric Dequevedo"}),(0,a.jsx)("meta",{name:"publisher",content:"Quantum Creative Solutions"}),(0,a.jsx)("meta",{name:"keywords",content:u}),(0,a.jsx)("meta",{name:"robots",content:"index, follow"}),(0,a.jsx)("meta",{name:"googlebot",content:"index, follow"}),(0,a.jsx)("meta",{property:"og:type",content:m}),(0,a.jsx)("meta",{property:"og:site_name",content:"Robot Ric"}),(0,a.jsx)("meta",{property:"og:title",content:t}),(0,a.jsx)("meta",{property:"og:description",content:r}),(0,a.jsx)("meta",{property:"og:url",content:x}),c&&(0,a.jsx)("meta",{property:"og:image",content:c}),d&&(0,a.jsx)("meta",{property:"og:video",content:d||l}),(0,a.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,a.jsx)("meta",{name:"twitter:site",content:"@RobotRicx"}),(0,a.jsx)("meta",{name:"twitter:creator",content:"@RobotRicx"}),(0,a.jsx)("meta",{name:"twitter:title",content:t}),(0,a.jsx)("meta",{name:"twitter:description",content:r}),c&&(0,a.jsx)("meta",{name:"twitter:image",content:c}),(0,a.jsx)("script",{type:"application/ld+json",children:JSON.stringify(g)}),(0,a.jsx)("link",{rel:"icon",href:"".concat(i,"/favicon.ico")}),(0,a.jsx)("link",{rel:"alternate",hrefLang:"en",href:i})]})}},3999:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var a=r(3798),n=r(1462);let o=e=>{let{children:t}=e,[r,o]=(0,n.useState)(!0);return(0,n.useEffect)(()=>{let e=setTimeout(()=>{o(!1)},1e4);return()=>clearTimeout(e)},[]),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("svg",{className:"absolute w-0 h-0",children:(0,a.jsx)("defs",{children:(0,a.jsxs)("filter",{id:"turbulence",children:[(0,a.jsx)("feTurbulence",{type:"fractalNoise",baseFrequency:r?"0.03":"0.007",numOctaves:"5",seed:"5",children:r&&(0,a.jsx)("animate",{attributeName:"baseFrequency",values:"0.03;0.007",dur:"10s",repeatCount:"1"})}),(0,a.jsx)("feDisplacementMap",{in:"SourceGraphic",scale:r?"30":"10",children:r&&(0,a.jsx)("animate",{attributeName:"scale",values:"30;10",dur:"10s",repeatCount:"1"})})]})})}),t]})}},6509:(e,t,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/Arcade/Scratch",function(){return r(1360)}])},8402:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var a=r(3798),n=r(1462);r(6413);var o=r(6245),i=r.n(o),s=r(6018);let l=e=>{var t;let{src:r,url:o,title:l="",alt:c="",autoPlay:d=!0}=e,[u,m]=(0,s.Wx)({threshold:.5,triggerOnce:!1}),{videoRef:p,hasPlayed:h}=(e=>{let[t,r]=(0,n.useState)(!1),a=(0,n.useRef)(null);return(0,n.useEffect)(()=>{let n=a.current;if(!n)return;let o=()=>{r(!0)};return n.addEventListener("ended",o),e&&!t?(async()=>{try{await n.play()}catch(e){console.error("Auto-play failed:",e),"NotAllowedError"===e.name&&console.warn("Auto-play blocked by browser. User interaction required.")}})():n.pause(),()=>{n.removeEventListener("ended",o)}},[e,t]),{videoRef:a,hasPlayed:t}})(m&&d),[x,g]=(0,n.useState)(null),v=r?r.split(".").pop().toLowerCase():"",w=e=>{g("Failed to load media: ".concat(e.message)),console.error("Media loading error:",e)},f=null==(t=Object.entries({image:["png","jpg","jpeg","gif","svg","webp","bmp","ico","tiff"],video:["mp4","webm","ogg","mov","avi"],audio:["mp3","wav","ogg"],iframe:["html","htm","pdf"],markdown:["md","markdown"]}).find(e=>{let[t,r]=e;return r.includes(v)}))?void 0:t[0];if(x)return(0,a.jsx)("div",{className:"text-red-500 p-4 text-center",children:x});switch(f){case"image":return(0,a.jsx)("div",{className:"relative w-full h-full",children:(0,a.jsx)(i(),{src:r,alt:c||l||"Media content",layout:"fill",objectFit:"cover",priority:!0,className:"transition-transform duration-500",onError:w})});case"video":return(0,a.jsx)("div",{ref:u,className:"relative w-full h-full",children:(0,a.jsxs)("video",{ref:p,className:"w-full h-full",controls:!d||h,muted:d&&!h,playsInl
1ine:!0,onError:w,children:[(0,a.jsx)("source",{src:r,type:"video/".concat(v)}),(0,a.jsx)("track",{kind:"captions",src:"".concat(r.split(".")[0],".vtt"),srcLang:"en",label:"English"}),"Your browser does not support the video tag."]})});case"audio":return(0,a.jsx)("div",{className:"relative w-full h-full flex items-center justify-center",children:(0,a.jsxs)("audio",{controls:!0,onError:w,children:[(0,a.jsx)("source",{src:r,type:"audio/".concat(v)}),"Your browser does not support the audio element."]})});default:return(0,a.jsx)("div",{className:"relative w-full h-full",children:(0,a.jsx)("iframe",{src:r||o,title:l||"Embedded content",className:"w-full h-full",style:{border:0},allowFullScreen:!0,onError:w,sandbox:"allow-scripts allow-same-origin allow-popups"})})}}}},e=>{e.O(0,[5086,636,6593,8792],()=>e(e.s=6509)),_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.