1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7477],{25218:(e,t,r)=>{"use strict";r.d(t,{z:()=>d});var a=r(37876),s=r(77328),n=r.n(s),i=r(89099),l=r(14232),u=r(45774),c=r(82749);async function o(){try{let e=await fetch((0,c.h)("/arcade-config.json"),{cache:"no-store"});if(!e.ok)return!1;let t=await e.json(),r=t.seasonEndTime?Date.parse(t.seasonEndTime):NaN;return Number.isFinite(r)&&Date.now()<r}catch{return!1}}function d({title:e,gameId:t,moduleSrc:r,stylesheetSrc:s}){let m=(0,i.useRouter)(),p=(0,u.B)(),h=(0,l.useRef)(null),f=(0,l.useRef)(null),[y,g]=(0,l.useState)(null);return(0,l.useEffect)(()=>{let a=!1;!async function(){try{let[e,s]=await Promise.all([import((0,c.h)(r)),o()]);if(a||!h.current)return;let n=e.playsOutGame;if(!n||"1.0"!==n.version)throw Error("Game module did not expose PlaysOut Game Bridge v1.0.");let i={...p,activityEnabled:s};f.current=n.mount({container:h.current,gameId:t,auth:i,onExit:()=>void m.push("/")})}catch(t){a||g(t instanceof Error?t.message:`Unable to start ${e}.`)}}();let s=()=>{document.hidden?f.current?.pause():f.current?.resume()};return document.addEventListener("visibilitychange",s),()=>{a=!0,document.removeEventListener("visibilitychange",s),f.current?.destroy(),f.current=null}},[p,t,r,m,e]),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(n(),{children:[(0,a.jsxs)("title",{children:[e," | PlaysOut Arcade"]}),(0,a.jsx)("meta",{name:"description",content:`Play ${e} in PlaysOut Arcade.`}),(0,a.jsx)("link",{rel:"stylesheet",href:(0,c.h)(s)})]}),(0,a.jsx)("main",{className:"playsout-game-page",children:(0,a.jsx)("div",{ref:h,className:"playsout-game-page__host","aria-live":"polite",children:y})})]})}},79586:(e,t,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/play/flappy-bill",function(){return r(87873)}])},87873:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>a.default});var a=r(93174)},89099:(e,t,r)=>{e.exports=r(59603)},93174:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});var a=r(37876),s=r(25218);function n(){return(0,a.jsx)(s.z,{title:"Flappy Parrot",gameId:1,moduleSrc:"/games/Flappy%20Parrot/js/playsout-game.js",stylesheetSrc:"/games/Flappy%20Parrot/css/game.css"})}}},e=>{e.O(0,[636,6593,8792],()=>e(e.s=79586)),_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.