PageSourceSearch

https://www.shockwave.com/_next/static/chunks/pages/gamelanding/modern/[slug]/play-bbb6b97ffe945820.js

js shockwave.com collected 2026-10-02 02:59:32 UTC 8,669 bytes, 2 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2714],{41668:function(e,a,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/gamelanding/modern/[slug]/play",function(){return t(68933)}])},59243:function(e,a,t){"use strict";var n=t(85893),i=t(60496),r=t(51436),l=t(56024),c=t(93131),o=t.n(c),u=t(14914),d=t(41494),s={faBoltLightning:r.QzV,faBookmark:r.xVw,faCircleHalfStroke:r.DhN,faCircleQuestion:r.FDd,faCircleQuestionToggled:l.FDd,faClock:r.SZw,faExpand:r.TL5,faFlag:r.RrC,faGamepad:r.l9D,faGear:r.gr5,faHeart:r.m6i,faInfoCircle:r.sqG,faMagnifyingGlass:r.Y$T,faMoon:r.DBF,faPause:r.XQY,faPencil:r.TzT,faPlay:r.zc,faRankingStar:r.U9S,faStar:r.Tab,faStopwatch:r.U$5,faSun:r.enB,faTrophy:r.kWN,faVolumeXmark:r.c0k,faVolumeOff:r.OEn,faVolumeLow:r.oo5,faVolumeHigh:r.AQZ};a.Z=(0,i.LM)("GamePlayerHeader",{style:o()},(function(e,a){var t=e.className,l=new Date(a.date).toLocaleDateString("en-US",{month:"2-digit",day:"2-digit",year:"numeric"}).replace(/\//g,"-"),c=new Date(a.date).toLocaleDateString("en-US",{month:"long",day:"numeric",year:"numeric"}),o=(0,u.O)({game:a.game}),x=o.toolbarState,f=o.sendToolbarClicked,m=o.visible;return(0,n.jsx)(n.Fragment,{children:(0,i.If)(m,(function(){return(0,n.jsx)("header",{className:t,children:(0,n.jsxs)(i.W2,{children:[(0,i.If)(!a.hideDate,(function(){return(0,n.jsx)(i.kC,{tag:"aside",pullLeft:!0,children:(0,n.jsxs)(d.Z,{children:[(0,n.jsx)(i.g7,{name:"mobile",children:l}),(0,n.jsx)(i.g7,{name:"desktop",children:c})]})})})).Else((function(){return(0,n.jsx)(i.kC,{tag:"aside",pullLeft:!0})})).EndIf(),(0,n.jsx)(i.kC,{children:(0,n.jsx)("h1",{children:a.game.title})}),(0,n.jsxs)(i.kC,{className:"GamePlayerHeader__IconToolbar",tag:"aside",pullRight:!0,children:[(0,i.If)(a.onClickFullScreen,(function(){return(0,n.jsx)("span",{"data-clickable":!0,className:"--hideMobile",children:(0,n.jsx)(i.A6,{icon:r.TL5,onClick:a.onClickFullScreen})})})).EndIf(),(0,i.U2)(x.items,(function(e){return(0,n.jsxs)("span",{onClick:function(){return f(e.id)},"data-clickable":e.onClick,"data-disabled":e.disabled,children:[(0,i.If)(e.icon,(function(){return(0,n.jsx)(i.A6,{icon:s[e.icon]})})).EndIf(),(0,i.If)(e.label,(function(){return(0,n.jsx)("span",{className:"GamePlayerHeader__Label",children:e.label})})).EndIf()]},e.id)}))]})]})})})).EndIf()})}))},68933:function(e,a,t){"use strict";t.r(a),t.d(a,{__N_SSP:function(){return E}});var n=t(47568),i=t(26042),r=t(69396),l=t(828),c=t(97582),o=t(85893),u=t(85968),d=t.n(u),s=t(4137),x=t(5491),f=t(59243),m=t(21237),p=t(42374),P=t(50840),T=t(47176),g=t(22942),v=t(82451),S=t(95859),h=t(42694),y=t(43893),_=t(16964),F=t(14914),C=t(3415),O=t(11163),U=t(67294),I=t(60496),E=!0;a.default=(0,I.D4)("PlayPage",{style:d()},(function(e,a){var t,u,d=e.className,E=(0,O.useRouter)(),L=(0,l.Z)((0,v.tN)(),1)[0],b=(0,l.Z)((0,S.J_)(),2),k=b[0],j=b[1],G=(0,_.x)(),w=(0,y.E)(a.game.genres,a.game.isDownloadGame),N=(0,m.hR)(a.game,w),D=(0,I.dd)().openModal,Z=(0,h.f)(a.game.embed.modernSrc||a.game.embed.src,k,void 0,void 0,a.leaderboardCode,a.game.isBonusGame),H=(0,U.useRef)(),A=(0,U.useState)(!1),M=A[0],V=A[1],B=(0,F.h)({game:a.game,platform:"web",onToggleFullScreen:function(){var e;return V((function(a){return e=!a})),e},onDisplayShareDialog:function(){D("shareGame",{onClose:function(){return(0,n.Z)((function(){return(0,c.__generator)(this,(function(e){return B(),[2]}))}))()}})},onNavigateToGameLanding:function(){E.push(a.game.href)},onNavigateToArchive:function(){E.push(a.game.href)}}).sendShareDialogClosed;(0,U.useEffect)((function(){var e=function(e){var a=e.matches;V(a)};return window.matchMedia("(display-mode: fullscreen)").addEventListener("change",e),function(){return window.matchMedia("(display-mode: fullscreen)").removeEventListener("change",e)}}),[]),(0,U.useEffect)((function(){var e=function(){document.body.classList.remove("--fullScreen"),V(!1)};return E.events.on("routeChangeStart",e),function(){return E.events.off("routeChangeStart",e)}})),(0,U.useEffect)((function(){var e;M?(document.body.classList.add("--fullScreen"),"function"===typeof(null===(e=H.current)||void 0===e?void 0:e.requestFullscreen)&&H.current.requestFullscreen().catch((function(e){return e}))):(document.body.classList.remove("--fullScreen"),document.fullscreenElement&&document.exitFullscreen())}),[M]);var Q=(0,U.useState)(!1),R=Q[0],X=Q[1],q=(0,U.useState)(!0),z=q[0],W=q[1];return(0,U.useEffect)((function(){var e,t;if(L.ready){var n=(0,s.Z)({date:(0,C.getDailyGameQuery)(k),isLoggedIn:!!(null===L||void 0===L?void 0:L.user),isPremiumUser:null===(e=L.user)||void 0===e?void 0:e.isPremiumUser});if(null===(t=L.user)||void 0===t?void 0:t.isPremiumUser){if(n)return W(!1),void E.push(a.game.href)}else if(a.game.isBonusGame||n)return W(!1),void E.push("/unlimited");W(!0),X(!0)}}),[L.ready,L.user,k,a.game,E]),!R&&L.ready?null:z?(0,o.jsxs)(g.Z,{className:d,children:[(0,o.jsx)(m.ZP,(0,r.Z)((0,i.Z)({},N),{noIndex:!0})),(0,I.If)(!(null===(t=L.user)||void 0===t?void 0:t.isPremiumUser),(function(){return(0,o.jsx)(P.Z,{options:{breakpointVisibleAt:"jigsaw"===a.game.pageLayout?1366:0}})})).EndIf(),(0,o.jsx)("div",{className:"PlayPage__Container",ref:H,children:(0,o.jsxs)(I.kC,{fit:!0,className:"PlayPage__PlayContainer",children:[(0,o.jsxs)(I.kC,{fit:!0,directionColumn:!0,children:[(0,o.jsx)(I.kC,{children:(0,o.jsx)(U.Suspense,{children:(0,o.jsx)(f.Z,{date:j.toISOString(),hideDate:"online"===a.game.pageLayout,game:a.game})},G?"local":"utc")}),(0,o.jsx)(I.kC,{fit:!0,style:{position:"relative"},children:(0,o.jsxs)(x.Z,{autoPlay:!0,gameSrc:Z,onClickPlay:function(e){return e()}
1,embedTag:"iframe",fluid:!0,supportsMobile:{portrait:!0,landscape:!0},onClickExitFullScreen:function(){V(!1)},fullScreen:M,children:[(0,o.jsx)(I.g7,{name:"playButton",children:"\xa0"}),(0,o.jsx)(I.g7,{name:"interstitial",children:"\xa0"})]})})]}),(0,I.If)(!(null===(u=L.user)||void 0===u?void 0:u.isPremiumUser),(function(){return(0,o.jsx)(I.kC,{className:"PlayPage__ColumnAside",children:(0,o.jsx)(p.Z,{useAdFallback:!0,useVideoPlaceholder:!0,children:(0,o.jsx)(T.Z,{unit:"med_rect_atf"})})})})).EndIf()]})})]},a.game.uid):null}))},93131:function(e){e.exports={"TxFade400-enter":"TxFade400-enter","TxFade400-enter-active":"TxFade400-enter-active","TxFade400-exit":"TxFade400-exit","TxFade400-exit-active":"TxFade400-exit-active","TxPopUpScaleOut400-enter":"TxPopUpScaleOut400-enter","TxPopUpScaleOut400-enter-active":"TxPopUpScaleOut400-enter-active","TxPopUpScaleOut400-exit":"TxPopUpScaleOut400-exit","TxPopUpScaleOut400-exit-active":"TxPopUpScaleOut400-exit-active","TxPopUpExitLeft400-enter":"TxPopUpExitLeft400-enter","TxPopUpExitLeft400-enter-active":"TxPopUpExitLeft400-enter-active","TxPopUpExitLeft400-exit":"TxPopUpExitLeft400-exit","TxPopUpExitLeft400-exit-active":"TxPopUpExitLeft400-exit-active","TxScaleInFadeOut400-enter":"TxScaleInFadeOut400-enter","TxScaleInFadeOut400-enter-active":"TxScaleInFadeOut400-enter-active","TxScaleInFadeOut400-exit":"TxScaleInFadeOut400-exit","TxScaleInFadeOut400-exit-active":"TxScaleInFadeOut400-exit-active",GamePlayerHeader:"GamePlayerHeader",Container:"Container",Container__Inner:"Container__Inner",Icon:"Icon",GamePlayerHeader__IconToolbar:"GamePlayerHeader__IconToolbar","--hideMobile":"--hideMobile",GamePlayerHeader__Label:"GamePlayerHeader__Label"}},85968:function(e){e.exports={"TxFade400-enter":"TxFade400-enter","TxFade400-enter-active":"TxFade400-enter-active","TxFade400-exit":"TxFade400-exit","TxFade400-exit-active":"TxFade400-exit-active","TxPopUpScaleOut400-enter":"TxPopUpScaleOut400-enter","TxPopUpScaleOut400-enter-active":"TxPopUpScaleOut400-enter-active","TxPopUpScaleOut400-exit":"TxPopUpScaleOut400-exit","TxPopUpScaleOut400-exit-active":"TxPopUpScaleOut400-exit-active","TxPopUpExitLeft400-enter":"TxPopUpExitLeft400-enter","TxPopUpExitLeft400-enter-active":"TxPopUpExitLeft400-enter-active","TxPopUpExitLeft400-exit":"TxPopUpExitLeft400-exit","TxPopUpExitLeft400-exit-active":"TxPopUpExitLeft400-exit-active","TxScaleInFadeOut400-enter":"TxScaleInFadeOut400-enter","TxScaleInFadeOut400-enter-active":"TxScaleInFadeOut400-enter-active","TxScaleInFadeOut400-exit":"TxScaleInFadeOut400-exit","TxScaleInFadeOut400-exit-active":"TxScaleInFadeOut400-exit-active",PlayPage:"PlayPage",GamePlayer:"GamePlayer",GamePlayer__PreviewOverlay:"GamePlayer__PreviewOverlay",GamePlayer__Overlay:"GamePlayer__Overlay",PlayPage__PlayContainer:"PlayPage__PlayContainer","--fullScreen":"--fullScreen",PlayPage__ColumnAside:"PlayPage__ColumnAside",PlaywireAside:"PlaywireAside"}}},function(e){e.O(0,[296,7112,9260,3156,7827,5225,9774,2888,179],(function(){return a=41668,e(e.s=a);var a}));var a=e.O();_N_E=a}]);
2//# sourceMappingURL=play-bbb6b97ffe945820.js.map

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.