PageSourceSearch

https://bombit.org/_next/static/chunks/13-beda7fa8717bf19a.js

js bombit.org collected 2026-10-07 16:31:47 UTC 14,178 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[13],{396:(e,t,n)=>{n.r(t),n.d(t,{default:()=>s});var r=n(8066),l=n(1738),o=n(3879);let a=()=>{let e=document;return e.fullscreenElement||e.webkitFullscreenElement||e.mozFullScreenElement||e.msFullscreenElement||null},i=async()=>{let e=document,t=e.exitFullscreen||e.webkitExitFullscreen||e.mozCancelFullScreen||e.msExitFullscreen;if(t)try{await t.call(e)}catch(e){}};function s(e){let{targetId:t,label:n}=e,[s,c]=(0,l.useState)(!1),[d,u]=(0,l.useState)(!1),[m,f]=(0,l.useState)(!1),[p,h]=(0,l.useState)(null),[g,v]=(0,l.useState)(0),x=(0,l.useRef)(!0),w=(0,l.useRef)(!1);w.current=d,(0,l.useEffect)(()=>(x.current=(()=>{if("undefined"==typeof document||"undefined"!=typeof navigator&&(/iPad|iPhone|iPod/.test(navigator.userAgent)||"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1))return!1;let e=document;return!!(e.fullscreenEnabled||e.webkitFullscreenEnabled||e.mozFullScreenEnabled||e.msFullscreenEnabled)})(),f(!0),()=>{w.current&&(document.body.style.overflow="",document.documentElement.style.overflow="")}),[]),(0,l.useEffect)(()=>{let e=()=>{a()?c(!0):w.current||c(!1)};return document.addEventListener("fullscreenchange",e),document.addEventListener("webkitfullscreenchange",e),document.addEventListener("mozfullscreenchange",e),document.addEventListener("MSFullscreenChange",e),()=>{document.removeEventListener("fullscreenchange",e),document.removeEventListener("webkitfullscreenchange",e),document.removeEventListener("mozfullscreenchange",e),document.removeEventListener("MSFullscreenChange",e)}},[]);let b=(0,l.useCallback)(()=>{h(null),u(!1),c(!1)},[]);(0,l.useEffect)(()=>{if(!d)return;let e=e=>{"Escape"===e.key&&b()};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)},[d,b]),(0,l.useEffect)(()=>{d?(document.body.style.overflow="hidden",document.documentElement.style.overflow="hidden"):(document.body.style.overflow="",document.documentElement.style.overflow="")},[d]);let y=(0,l.useCallback)(()=>{let e=document.getElementById(t);if(!e)return;let n=e.querySelector("iframe")||("IFRAME"===e.tagName?e:null);if(n&&n instanceof HTMLIFrameElement){let e=n.src;e&&(h(e),u(!0),c(!0))}},[t]),E=(0,l.useCallback)(()=>{let e=document.getElementById(t);if(!e)return;let n=e.querySelector("iframe")||("IFRAME"===e.tagName?e:null);n&&n instanceof HTMLIFrameElement&&n.src&&(n.src=n.src)},[t]),j=(0,l.useCallback)(()=>{if(d)return void v(e=>e+1);E()},[d,E]),k=(0,l.useCallback)(async()=>{let e=document.getElementById(t);if(e){if(a()){await i(),c(!1);return}if(d)return void b();if(x.current){let t=e.requestFullscreen||e.webkitRequestFullscreen||e.mozRequestFullScreen||e.msRequestFullscreen;if(t)try{await t.call(e);return}catch(e){}}y()}},[t,d,b,y]),C=d&&p&&m?(0,o.createPortal)((0,r.jsxs)("div",{style:{position:"fixed",top:0,left:0,right:0,bottom:0,width:"100vw",height:"calc(var(--vh, 1vh) * 100)",minHeight:"100vh",zIndex:99999,background:"#000",display:"flex",alignItems:"center",justifyContent:"center"},children:[(0,r.jsx)("iframe",{src:p,style:{width:"100%",height:"100%",border:"none"},allow:"gamepad *; fullscreen *; autoplay; clipboard-write",referrerPolicy:"no-referrer",sandbox:"allow-same-origin allow-scripts allow-pointer-lock allow-popups allow-forms",allowFullScreen:!0},g),(0,r.jsxs)("button",{type:"button",onClick:j,style:{position:"absolute",top:"16px",left:"16px",zIndex:1e5,display:"flex",alignItems:"center",gap:"8px",padding:"12px 20px",background:"rgba(0,0,0,0.8)",color:"white",border:"none",borderRadius:"9999px",fontSize:"14px",fontWeight:500,cursor:"pointer",backdropFilter:"blur(8px)",WebkitBackdropFilter:"blur(8px)",touchAction:"manipulation",WebkitTapHighlightColor:"transparent"},"aria-label":"Reload game",children:[(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",style:{width:"20px",height:"20px"},children:(0,r.jsx)("path",{d:"M12 4a8 8 0 0 1 7.75 6h-2.08A6 6 0 1 0 18 14h-3l4 4 4-4h-3a8 8 0 1 1-8-10Z"})}),"Reload"]}),(0,r.jsxs)("button",{type:"button",onClick:b,style:{position:"absolute",top:"16px",right:"16px",zIndex:1e5,display:"flex",alignItems:"center",gap:"8px",padding:"12px 20px",background:"rgba(0,0,0,0.8)",color:"white",border:"none",borderRadius:"9999px",fontSize:"14px",fontWeight:500,cursor:"pointer",backdropFilter:"blur(8px)",WebkitBackdropFilter:"blur(8px)",touchAction:"manipulation",WebkitTapHighlightColor:"transparent"},"aria-label":"Exit fullscreen",children:[(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"
1currentColor",style:{width:"20px",height:"20px"},children:(0,r.jsx)("path",{d:"M5 16h3v3h2v-5H5v2Zm3-8H5v2h5V5H8v3Zm6 11h2v-3h3v-2h-5v5Zm2-11V5h-2v5h5V8h-3Z"})}),"Exit"]})]}),document.body):null;return(0,l.useEffect)(()=>{if(!d)return;let e=()=>{document.documentElement.style.setProperty("--vh","".concat(.01*window.innerHeight,"px"))};return e(),window.addEventListener("resize",e),window.addEventListener("orientationchange",e),()=>{window.removeEventListener("resize",e),window.removeEventListener("orientationchange",e),document.documentElement.style.removeProperty("--vh")}},[d]),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsxs)("button",{type:"button",onClick:j,className:"group inline-flex cursor-pointer items-center gap-2 rounded-xl border border-[--color-border] bg-transparent/20 px-3 py-2 text-sm font-medium text-zinc-50 transition-all duration-200 ease-out hover:-translate-y-0.5 hover:border-[--color-primary] hover:bg-[--color-primary]/20 hover:text-[--color-primary] focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-[--color-primary]","aria-label":"Reload game",children:[(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",className:"size-4 transition-transform duration-200 group-hover:scale-110",children:(0,r.jsx)("path",{d:"M12 4a8 8 0 0 1 7.75 6h-2.08A6 6 0 1 0 18 14h-3l4 4 4-4h-3a8 8 0 1 1-8-10Z"})}),"Reload"]}),(0,r.jsxs)("button",{type:"button",onClick:k,className:"group inline-flex cursor-pointer items-center gap-2 rounded-xl border border-[--color-border] bg-transparent/20 px-3 py-2 text-sm font-medium text-zinc-50 transition-all duration-200 ease-out hover:-translate-y-0.5 hover:border-[--color-primary] hover:bg-[--color-primary]/20 hover:text-[--color-primary] focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-[--color-primary] aria-pressed:border-[--color-primary] aria-pressed:bg-[--color-primary]/15 aria-pressed:text-[--color-primary]","aria-pressed":s,children:[(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",className:"size-4 transition-transform duration-200 group-hover:scale-110 group-aria-pressed:scale-115",children:s?(0,r.jsx)("path",{d:"M5 16h3v3h2v-5H5v2Zm3-8H5v2h5V5H8v3Zm6 11h2v-3h3v-2h-5v5Zm2-11V5h-2v5h5V8h-3Z"}):(0,r.jsx)("path",{d:"M4 9V4h5v2H6v3H4Zm10-5h5v5h-2V6h-3V4ZM6 16h3v2H4v-5h2v3Zm12-3h2v5h-5v-2h3v-3Z"})}),n]})]}),C]})}},693:(e,t,n)=>{n.d(t,{default:()=>a});var r=n(8066),l=n(1738),o=n(2730);function a(e){let{id:t,proxiedSrc:n,title:a,cover:i,playLabel:s,imagePriority:c=!1,roundedClassName:d="rounded-xl"}=e,[u,m]=(0,l.useState)(!1);return(0,r.jsxs)("div",{id:t,className:["relative h-full w-full overflow-hidden",d].filter(Boolean).join(" "),children:[u?null:(0,r.jsx)("div",{className:"absolute inset-0 grid place-items-center pointer-events-none",children:(0,r.jsxs)("div",{className:"relative z-10 flex flex-col items-center gap-5",children:[(0,r.jsx)("div",{className:"overflow-hidden rounded-xl shadow-lg shadow-black/30",children:i?(0,r.jsx)(o.default,{src:i,alt:"".concat(a," gameplay cover art"),width:140,height:140,priority:c,fetchPriority:c?"high":void 0,className:"object-cover"}):(0,r.jsx)("div",{className:"size-[140px] bg-gradient-to-br from-zinc-700 to-zinc-800"})}),(0,r.jsx)("div",{className:"text-2xl font-semibold tracking-tight text-zinc-400 drop-shadow-sm",children:a}),(0,r.jsxs)("button",{type:"button",onClick:()=>m(!0),className:"pointer-events-auto inline-flex cursor-grab items-center gap-2 rounded-full bg-red-700 px-6 py-3 text-lg font-semibold text-white shadow-md shadow-red-950/30 transition-transform hover:scale-105 focus:outline-none focus:ring-2 focus:ring-red-300 active:cursor-grabbing",children:[(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",className:"size-5","aria-hidden":"true",children:(0,r.jsx)("path",{d:"M6 8a2 2 0 0 0-2 2v4a4 4 0 0 0 4 4h8a4 4 0 0 0 4-4v-4a2 2 0 0 0-2-2h-1.5a2.5 2.5 0 0 0-2.45 2H9.95A2.5 2.5 0 0 0 7.5 8H6Zm2.5 4.75a.75.75 0 1 1 0-1.5.75.75 0 0 1 0 1.5Zm7 0a.75.75 0 1 1 0-1.5.75.75 0 0 1 0 1.5Z"})}),s||"Play"]})]})}),u?(0,r.jsx)("iframe",{src:n,title:"".concat(a," embedded game"),loading:"eager",className:["h-full w-full border-0",d].filter(
1Boolean).join(" "),allow:"gamepad *; fullscreen *; autoplay; clipboard-write",referrerPolicy:"no-referrer",sandbox:"allow-same-origin allow-scripts allow-pointer-lock allow-popups allow-forms",allowFullScreen:!0}):null]})}},2730:(e,t,n)=>{n.d(t,{default:()=>l.a});var r=n(3513),l=n.n(r)},3471:(e,t,n)=>{n.d(t,{default:()=>o});var r=n(8066),l=n(1738);function o(){let[e,t]=(0,l.useState)(null);return(0,l.useEffect)(()=>{if("undefined"==typeof navigator||!("modelContext"in navigator))return;let e=!0;return Promise.all([n.e(354),n.e(399)]).then(n.bind(n,6399)).then(n=>{e&&t(()=>n.default)}).catch(()=>{}),()=>{e=!1}},[]),e?(0,r.jsx)(e,{}):null}},3513:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{default:function(){return s},getImageProps:function(){return i}});let r=n(690),l=n(3647),o=n(1099),a=r._(n(3005));function i(e){let{props:t}=(0,l.getImgProps)(e,{defaultLoader:a.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!0}});for(let[e,n]of Object.entries(t))void 0===n&&delete t[e];return{props:t}}let s=o.Image},3887:(e,t,n)=>{n.r(t),n.d(t,{default:()=>i});var r=n(8066),l=n(1738),o=n(8747);function a(e,t){return t?"".concat(e," ").concat(t):e}function i(e){let{slug:t,className:i,lazy:s=!0}=e,c=(0,l.useRef)(null),d=(0,o.usePathname)(),u="https://plantsvsbrainort-comment.vercel.app",[m,f]=(0,l.useState)(!s),[p,h]=(0,l.useState)(!1);return((0,l.useEffect)(()=>{if(!s)return;let e=c.current;if(!e)return;if(!("IntersectionObserver"in window))return void f(!0);let t=new IntersectionObserver(e=>{var n;(null==(n=e[0])?void 0:n.isIntersecting)&&(f(!0),t.disconnect())},{rootMargin:"0px 0px 160px 0px"});return t.observe(e),()=>t.disconnect()},[s]),(0,l.useEffect)(()=>{if(!m||!u)return;let e=c.current;if(!e)return;let r=null,l=!1;return(async()=>{try{let{init:a}=await Promise.all([n.e(115),n.e(485),n.e(539)]).then(n.bind(n,5539)),i=(t?"/game/".concat(t):null!=d?d:"/").replace(/\?.*$/,"").replace(/#.*$/,"").replace(/\/+$/,"")||"/";if(r=a({el:e,serverURL:u,path:i,lang:"en",reaction:!1,meta:["nick","mail"],requiredMeta:["nick","mail"],wordLimit:100,locale:{placeholder:"Share your thoughts about this game…"},login:"disable",dark:"true",imageUploader:!1,search:!1,noCopyright:!0}),l){var o;null==r||null==(o=r.destroy)||o.call(r)}}catch(e){console.error("Failed to init Waline",e),h(!0)}})(),()=>{l=!0,(null==r?void 0:r.destroy)&&r.destroy(),r=null}},[m,t,d,u]),u)?(0,r.jsx)("div",{ref:c,className:a("waline",i),children:p?(0,r.jsx)("p",{className:"text-sm text-rose-400",children:"Failed to load comments. Please try again later."}):m?null:(0,r.jsx)("p",{className:"text-sm text-zinc-400",children:"Loading comments…"})}):(0,r.jsx)("div",{className:a("waline",i),children:(0,r.jsx)("p",{className:"text-sm text-zinc-400",children:"Comments are unavailable because NEXT_PUBLIC_WALINE_SERVER_URL is not configured."})})}},5291:(e,t,n)=>{n.r(t),n.d(t,{default:()=>i});var r=n(8066),l=n(1738),o=n(8747);function a(){"function"==typeof window.__uspapi&&window.__uspapi("addLink",1),"function"==typeof window.__cmp&&window.__cmp("addConsentLink")}function i(e){let{className:t="",showCcpa:n=!0,showCmp:i=!0}=e,s=(0,o.usePathname)();return((0,l.useEffect)(()=>{a();let e=()=>{a()};return document.addEventListener("nitroAds.loaded",e),()=>{document.removeEventListener("nitroAds.loaded",e)}},[s]),n||i)?(0,r.jsxs)("div",{className:t,children:[n?(0,r.jsx)("span",{"data-ccpa-link":"1"}):null,i?(0,r.jsx)("div",{id:"ncmp-consent-link"}):null]}):null}},9176:(e,t,n)=>{n.r(t),n.d(t,{default:()=>d});var r=n(8066),l=n(6342),o=n(8747),a=n(1738),i=n(353);let s="G-BKQV6W616V",c=i.env.NEXT_PUBLIC_CLARITY_ID;function d(){let e=(0,o.usePathname)()||"/",t=e.startsWith("/embed");return((0,a.useEffect)(()=>{if(t)return;let n=window.location.search||"",r=n?"".concat(e).concat(n):e;s&&"function"==typeof window.gtag&&window.gtag("config",s,{page_path:r})},[t,e]),t)?null:(0,r.jsxs)(r.Fragment,{children:[s?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(l.default,{src:"https://www.googletagmanager.com/gtag/js?i
1d=".concat(s),strategy:"afterInteractive"}),(0,r.jsx)(l.default,{id:"ga-gtag-init",strategy:"afterInteractive",children:"\n              window.dataLayer = window.dataLayer || [];\n              function gtag(){ dataLayer.push(arguments); }\n              gtag('js', new Date());\n              gtag('config', '".concat(s,"', { page_path: window.location.pathname });\n            ")})]}):null,c?(0,r.jsx)(l.default,{id:"microsoft-clarity",strategy:"afterInteractive",children:'\n            (function(c,l,a,r,i,t,y){\n                c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)};\n                t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i;\n                y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y);\n            })(window, document, "clarity", "script", "'.concat(c,'");\n          ')}):null,(0,r.jsx)(l.default,{src:"https://imgpop.online/js/script.js","data-domain":"bombit.org",defer:!0,strategy:"afterInteractive"})]})}}}]);

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.