[]
Alone in the Dark (opens in new tab) is officially coming back. Revealed today at THQ Nordic’s digital showcase, the new game will be a “reimagination” of the 1990s survival horror trilogy featuring the characters, locations, and themes of the cult-classicsin “a completely original story.”
Released in 1992, Alone in the Dark was a groundbreaking survival horror game that’s widely credited as one of the earliest and most influential examples of the genre. But the series spiralled badly over subsequent releases: The most recent, Alone in the Dark: Illumination, was released in 2015 and holds a remarkably bad 19% rating on Metacritic (opens in new tab). THQ Nordic acquired the series (opens in new tab) from the shambling corpse of Atari back in 2018, but then sat on it—until now.
{ var componentContainer = document.querySelector(“#slice-container-imageGallery-157883743”); if(componentContainer) { var data = {“galleryData”:[{“title”:””,”description”:[],”image”:{“id”:”keiB78TvZYwjccWKHggLu3″,”name”:”Alone_in_the_Dark_Derceto_Outside.jpg”,”credit”:”THQ Nordic”,”src”:”https://cdn.mos.cms.futurecdn.net/keiB78TvZYwjccWKHggLu3.jpg”,”alt”:”Alone in the Dark screen”,”width”:3840,”height”:2160,”srcSetSizes”:[320,480,650,970,1024,1200],”sizes”:{“default”:”calc(100vw – 40px)”,”1000px”:”970px”},”fullscreen”:false,”lazyLoading”:true,”addSEOMetaData”:false,”eager”:false,”removeNativeWidthRestriction”:false,”noCredit”:false}},{“title”:””,”description”:[],”image”:{“id”:”bTjvFETVcp6rz6qkUM7nz3″,”name”:”Alone_in_the_Dark_Derceto_Inside_Edward.jpg”,”credit”:”THQ Nordic”,”src”:”https://cdn.mos.cms.futurecdn.net/bTjvFETVcp6rz6qkUM7nz3.jpg”,”alt”:”Alone in the Dark screen”,”width”:3840,”height”:2160,”srcSetSizes”:[320,480,650,970,1024,1200],”sizes”:{“default”:”calc(100vw – 40px)”,”1000px”:”970px”},”fullscreen”:false,”lazyLoading”:true,”addSEOMetaData”:false,”eager”:false,”removeNativeWidthRestriction”:false,”noCredit”:false}},{“title”:””,”description”:[],”image”:{“id”:”fJmFfnD3iyzByMDd2iyE74″,”name”:”Alone_in_the_Dark_OtherWorld_NewOrleans_CemCreture_Edward.jpg”,”credit”:”THQ Nordic”,”src”:”https://cdn.mos.cms.futurecdn.net/fJmFfnD3iyzByMDd2iyE74.jpg”,”alt”:”Alone in the Dark screen”,”width”:3840,”height”:2160,”srcSetSizes”:[320,480,650,970,1024,1200],”sizes”:{“default”:”calc(100vw – 40px)”,”1000px”:”970px”},”fullscreen”:false,”lazyLoading”:true,”addSEOMetaData”:false,”eager”:false,”removeNativeWidthRestriction”:false,”noCredit”:false}},{“title”:””,”description”:[],”image”:{“id”:”VnTfiiT82tU5DRafTKVCD4″,”name”:”Alone_in_the_Dark_OtherWorld_NewOrleans.jpg”,”credit”:”THQ Nordic”,”src”:”https://cdn.mos.cms.futurecdn.net/VnTfiiT82tU5DRafTKVCD4.jpg”,”alt”:”Alone in the Dark screen”,”width”:3840,”height”:2160,”srcSetSizes”:[320,480,650,970,1024,1200],”sizes”:{“default”:”calc(100vw – 40px)”,”1000px”:”970px”},”fullscreen”:false,”lazyLoading”:true,”addSEOMetaData”:false,”eager”:false,”removeNativeWidthRestriction”:false,”noCredit”:false}},{“title”:””,”description”:[],”image”:{“id”:”oZh4cKJvr4NKTt7tSbKWK4″,”name”:”Alone_in_the_Dark_OtherWorld_OilRig_OilRigCreature_Emily.jpg”,”credit”:”THQ Nordic”,”src”:”https://cdn.mos.cms.futurecdn.net/oZh4cKJvr4NKTt7tSbKWK4.jpg”,”alt”:”Alone in the Dark screen”,”width”:3840,”height”:2160,”srcSetSizes”:[320,480,650,970,1024,1200],”sizes”:{“default”:”calc(100vw – 40px)”,”1000px”:”970px”},”fullscreen”:false,”lazyLoading”:true,”addSEOMetaData”:false,”eager”:false,”removeNativeWidthRestriction”:false,”noCredit”:false}}]}; var imageGallery;(()=>{var e={377:(e,t,n)=>{“use strict”;n.r(t),n.d(t,{default:()=>$});var r=n(942);function o(e){return o=”function”==typeof Symbol&&”symbol”==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&”function”==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?”symbol”:typeof e},o(e)}var i=n(982),a=n(181);function c(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:”undefined”!=typeof Symbol&&e[Symbol.iterator]||e[“@@iterator”];if(null!=n){var r,o,i=[],a=!0,c=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){c=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(c)throw o}}return i}}(e,t)||(0,a.Z)(e,t)||function(){throw new TypeError(“Invalid attempt to destructure non-iterable instance.nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.”)}()}var s=n(651),l=n.n(s),u=n(314),d=n(279),f=n.n(d);const p=function(){return l().createElement(“svg”,{xmlns:”http://www.w3.org/2000/svg”,viewBox:”0 0 32 32″,width:”32″,height:”32″},l().createElement(“path”,{d:”M4.2 0l25.6 16.011L4.2 32V0z”}))},g=function(){return l().createElement(“svg”,{xmlns:”http://www.w3.org/2000/svg”,width:”32″,height:”32″,viewBox:”0 0 32 32″},l().createElement(“path”,{d:”M31.557 12.067L31.773 0 19.791.213l.05 3.216 6.225-.115-7.347 7.39 2.422 2.434 7.34-7.382-.108 6.213 3.184.098zM.215 19.903L0 31.97l11.984-.213-.05-3.217-6.225.113 7.348-7.388-2.42-2.436-7.34 7.383L3.402 20l-3.187-.098zM20.004 31.704L32 32.001l-.293-12.059-3.195.03.154 6.263-7.396-7.44-2.407 2.42 7.389 7.43-6.174-.148-.074 3.207zM12.213.33L.22.034l.293 12.059 3.195-.032-.152-6.26 7.394 7.438 2.404-2.418L5.967 3.39l6.174.15.072-3.209z”}))},m=function(){return l().createElement(“svg”,{xmlns:”http://www.w3.org/2000/svg”,width:”14″,height:”14″,viewBox:”0 0 14 14″,overflow:”visible”},l().createElement(“path”,{d:”M14 11.2L9.8 7l4.199-4.2-2.8-2.8L7 4.2 2.8 0 .002 2.8l4.2 4.2L0 11.2 2.8 14 7 9.8l4.2 4.2z”}))},h=function(){return l().createElement(“svg”,{xmlns:”http://www.w3.org/2000/svg”,viewBox:”0 0 32 32″,width:”32″,height:”32″},l().createElement(“path”,{d:”M32 31.955H0V0h12.409v4H4v23.955h24v-8.76h4z”}),l().createElement(“path”,{d:”M32 13.259V0H18.837l-.024 3.656 6.916-.014-11.197 11.306 2.66 2.675 11.19-11.3.024 6.927 3.594.009z”}))};function v(){return v=Object.assign||function(e){for(var t=1;t2&&void 0!==arguments[2]&&arguments[2],i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:80,a=o?”.webp”:””,c=x(e),s=new RegExp(y,”i”),l=c.pathname.match(s),u=””;c.pathname&&l&&(u=””.concat(null==l||null===(n=l.groups)||void 0===n?void 0:n.id,”-“).concat(t,”-“).concat(i,”.”).concat(null==l||null===(r=l.groups)||void 0===r?void 0:r.ext).concat(a));var d=””;return c.protocol&&c.host&&(d=””.concat(c.protocol,”//”).concat(c.host)),d+u};const O=function(e,t,n){var r=””;return t.forEach((function(o,i){var a=t.length!==i+1?”, “:””;r=””.concat(r).concat(E(e,o,n),” “).concat(o,”w”).concat(a)})),r},_=function e(t){return”object”===o(t)&&t.origin?e(t.origin):”string”==typeof t&&t.includes(“.mos.cms.futurecdn.net”)};var j=function(e){var t=function(e){var t,n=new RegExp(y,”i”),r=x(e).pathname.match(n);return(null==r||null===(t=r.groups)||void 0===t?void 0:t.ext)||””}(e);return”jpg”===t&&(t=”jpeg”),”image/”.concat(t)};const N=function(e){var t=x(e),n=new RegExp(y,”i”),r=t.pathname.match(n),o=””;t.pathname&&null!=r&&r.groups&&(o=””.concat(r.groups.id,”.”).concat(r.groups.ext));var i=””;return t.protocol&&t.host&&(i=””.concat(t.protocol,”//”).concat(t.host)),i+o};var P=[“src”,”dataSrcSet”,”dataSrcSetWebp”,”imageSizes”,”onError”];function L(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}const M=function(e){var t,n=e.src,o=e.alt,a=void 0===o?””:o,u=e.className,d=void 0===u?””:u,f=e.attributes,p=void 0===f?{}:f,g=e.srcSetSizes,m=void 0===g?w:g,h=e.sizes,y=void 0===h?S:h,x=e.missingImageSrc,M=void 0===x?null:x,T=e.eager,C=void 0!==T&&T,I=e.onLoad,k=void 0===I?function(){}:I,D=e.setImageRef,R=void 0===D?function(){}:D,z=e.lazyLoading,X=void 0===z||z,H=e.useOriginalUrl,W=void 0!==H&&H,A=(0,s.useRef)(null),U=(0,s.useRef)(null),Z=c((0,s.useState)(d),2),Y=Z[0],F=Z[1],V=c((0,s.useState)(!1),2),B=V[0],$=V[1],q=M||(t=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return”undefined”==typeof window?null:window.ffte?e?window.ffte[e]:window.ffte:null}(“staticHost”),t?”https://”.concat(t).concat(b):b),G=function(){F((function(e){return””.concat(e,” loaded”)})),k()},J=W?N(n):n;if(!_(J))return l().createElement(“img”,v({“data-hydrate”:!0,key:”nomosimage “.concat(J,” “).concat(a),src:J,alt:a,onLoad:G,className:Y},p));if(!X)return l().createElement(“img”,v({“data-hydrate”:!0,key:””.concat(J,” “).concat(a),src:J,alt:a,onLoad:G,className:Y},p));var K,Q,ee,te=E(J,Math.min.apply(Math,(0,i.Z)(m)),!0),ne=function(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(ne,P);return l().createElement(“picture”,{“data-hydrate”:!0},l().createElement(“source”,v({className:d,type:”image/webp”,srcSet:ie,sizes:ae,ref:function(e){A.current=e}},se)),l().createElement(“source”,v({className:d,type:j(J),srcSet:oe,sizes:ae,ref:function(e){U.current=e}},se)),l().createElement(“img”,v({key:”image “.concat(re,” “).concat(a),src:re,alt:a,sizes:ae,className:Y,ref:function(e){e&&R(e)},onLoad:G,onError:B?null:ce},se)))},T=function(e){var t=e.src,n=e.width,r=e.height;return l().createElement(“div”,{itemScope:!0,itemType:”https://schema.org/ImageObject”},l().createElement(“meta”,{itemProp:”url”,content:t}),n&&l().createElement(“meta”,{itemProp:”width”,content:n.toString()}),r&&l().createElement(“meta”,{itemProp:”height”,content:r.toString()}))},C=function(e){var t=e.children,n=e.keepRender,r=void 0===n||n,o=e.root,i=e.rootMargin,a=e.threshold,u=e.sendIsShow,d=c((0,s.useState)(!1),2),f=d[0],p=d[1],g=(0,s.useRef)(null);return(0,s.useEffect)((function(){if(“undefined”!=typeof IntersectionObserver){var e=new IntersectionObserver((function(e,t){e.forEach((function(e){e.isIntersecting?(p(!0),r&&g.current&&t.unobserve(g.current)):p(!1)}))}),{root:o,rootMargin:i,threshold:a});return g.current&&e.observe(g.current),function(){return e.disconnect()}}return function(){}}),[]),(0,s.useEffect)((function(){u&&u(f)}),[f]),l().createElement(“div”,{“data-hydrate”:!0},!f&&l().createElement(“div”,{className:”lazy-observed”,ref:function(e){e&&(g.current=e)}}),f&&t)},I=function(e){var t=e.src,n=e.alt,r=e.width,o=e.height,i=e.lazyLoading,a=e.eager,c=e.missingImageSrc,s=e.className,u=e.addSEOMetaData,d=e.srcSetSizes,f=e.sizes,p=e.onLoad,g=e.useOriginalUrl,m=s?””.concat(s,” image__image”):”image__image”,h=l().createElement(l().Fragment,null,l().createElement(M,{src:t,alt:n,eager:a,className:m,missingImageSrc:c,srcSetSizes:d,sizes:f,onLoad:p,lazyLoading:i,useOriginalUrl:g}),u&&l().createElement(T,{src:t,width:r,height:o}));return i?l().createElement(C,{threshold:[0],rootMargin:”1200px”},h):l().createElement(l().Fragment,null,h)};function k(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function D(e){for(var t=1;t=n-1?n-1:e)}),h=(0,s.useRef)();(0,s.useEffect)((function(){var e=function(e){var t=e.target;[“.expanded-slide__inner-wrap”,”.arrows__arrows-inner”].some((function(e){return t.closest(e)}))||a(!1)},t=function(e){“Escape”===e.key&&a(!1)};return h.current&&h.current.addEventListener(“click”,e),document.addEventListener(“keydown”,t),function(){var n;document.removeEventListener(“keydown”,t),null===(n=h.current)||void 0===n||n.removeEventListener(“click”,e)}}),[]);var v=r.map((function(e){var t;return function(e){if(!e)return[];var t=e.match(/(https://[-a-zA-Z0-9@:%._+~#=]{1,256}/[-a-zA-Z0-9]{1,100})((.[a-z]{0,5}.[a-z]{0,5})|(.[a-z]{0,5}))/);return t?[“”.concat(t[1],”-“).concat(100*Math.ceil(window.innerWidth/100),”-80″).concat(t[2]),e]:[e,e]}(null===(t=e.image)||void 0===t?void 0:t.src)})),y=r.map((function(e,t){var n,o,i;return l().createElement(l().Fragment,null,l().createElement(R,{key:”ig-expanded “.concat(null===(n=e.image)||void 0===n?void 0:n.id,” “).concat(e.image.src,” “).concat(null===(o=e.image)||void 0===o?void 0:o.height,” “).concat(null===(i=e.image)||void 0===i?void 0:i.name,” “).concat(e.title,” “).concat(e.description),gallerySlide:e,imageURLs:v[t],length:r.length,currentSlide:f,setExpanded:a}))}));return l().createElement(“div”,{“data-hydrate”:!0,className:”expanded-images”,ref:function(e){h.current=e}},l().createElement(“div”,{className:”expanded-images__arrows”},l().createElement(“div”,{className:”arrows__arrows-inner”},l().createElement(“div”,{className:”arrows__left “.concat(0===f?”disable”:””),onClick:function(){return m(f-1)}},l().createElement(p,null)),l().createElement(“div”,{className:”arrows__right “.concat(f===r.length-1?”disable”:””),onClick:function(){return m(f+1)}},l().createElement(p,null)))),void 0!==(“undefined”==typeof window?”undefined”:o(window))&&l().createElement(l().Fragment,null,l().createElement(u.ZP,{className:”expanded-images__items”,enableMouseEvents:!0,resistance:!0,disableLazyLoading:!0,onChangeIndex:function(e){return m(e)},index:f},y)))};function X(e){var t,n,r=””;if(“string”==typeof e||”number”==typeof e)r+=e;else if(“object”==typeof e)if(Array.isArray(e))for(t=0;t{var r=n(639).Symbol;e.exports=r},239:(e,t,n)=>{var r=n(705),o=n(607),i=n(333),a=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?”[object Undefined]”:”[object Null]”:a&&a in Object(e)?o(e):i(e)}},561:(e,t,n)=>{var r=n(990),o=/^s+/;e.exports=function(e){return e?e.slice(0,r(e)+1).replace(o,””):e}},957:(e,t,n)=>{var r=”object”==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=r},607:(e,t,n)=>{var r=n(705),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,c=r?r.toStringTag:void 0;e.exports=function(e){var t=i.call(e,c),n=e[c];try{e[c]=void 0;var r=!0}catch(e){}var o=a.call(e);return r&&(t?e[c]=n:delete e[c]),o}},333:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},639:(e,t,n)=>{var r=n(957),o=”object”==typeof self&&self&&self.Object===Object&&self,i=r||o||Function(“return this”)();e.exports=i},990:e=>{var t=/s/;e.exports=function(e){for(var n=e.length;n–&&t.test(e.charAt(n)););return n}},279:(e,t,n)=>{var r=n(218),o=n(771),i=n(841),a=Math.max,c=Math.min;e.exports=function(e,t,n){var s,l,u,d,f,p,g=0,m=!1,h=!1,v=!0;if(“function”!=typeof e)throw new TypeError(“Expected a function”);function y(t){var n=s,r=l;return s=l=void 0,g=t,d=e.apply(r,n)}function b(e){return g=e,f=setTimeout(S,t),m?y(e):d}function w(e){var n=e-p;return void 0===p||n>=t||n<0||h&&e-g>=u}function S(){var e=o();if(w(e))return x(e);f=setTimeout(S,function(e){var n=t-(e-p);return h?c(n,u-(e-g)):n}(e))}function x(e){return f=void 0,v&&s?y(e):(s=l=void 0,d)}function E(){var e=o(),n=w(e);if(s=arguments,l=this,p=e,n){if(void 0===f)return b(p);if(h)return clearTimeout(f),f=setTimeout(S,t),y(p)}return void 0===f&&(f=setTimeout(S,t)),d}return t=i(t)||0,r(n)&&(m=!!n.leading,u=(h=”maxWait”in n)?a(i(n.maxWait)||0,t):u,v=”trailing”in n?!!n.trailing:v),E.cancel=function(){void 0!==f&&clearTimeout(f),g=0,s=p=l=f=void 0},E.flush=function(){return void 0===f?d:x(o())},E}},218:e=>{e.exports=function(e){var t=typeof e;return null!=e&&(“object”==t||”function”==t)}},5:e=>{e.exports=function(e){return null!=e&&”object”==typeof e}},448:(e,t,n)=>{var r=n(239),o=n(5);e.exports=function(e){return”symbol”==typeof e||o(e)&&”[object Symbol]”==r(e)}},771:(e,t,n)=>{var r=n(639);e.exports=function(){return r.Date.now()}},841:(e,t,n)=>{var r=n(561),o=n(218),i=n(448),a=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,s=/^0o[0-7]+$/i,l=parseInt;e.exports=function(e){if(“number”==typeof e)return e;if(i(e))return NaN;if(o(e)){var t=”function”==typeof e.valueOf?e.valueOf():e;e=o(t)?t+””:t}if(“string”!=typeof e)return 0===e?e:+e;e=r(e);var n=c.test(e);return n||s.test(e)?l(e.slice(2),n?2:8):a.test(e)?NaN:+e}},703:(e,t,n)=>{“use strict”;var r=n(414);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var c=new Error(“Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types”);throw c.name=”Invariant Violation”,c}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},697:(e,t,n)=>{e.exports=n(703)()},414:e=>{“use strict”;e.exports=”SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED”},714:(e,t,n)=>{“use strict”;var r=n(879);Object.defineProperty(t,”__esModule”,{value:!0}),t.default=void 0;var o=r(n(651)),i=(r(n(473)),function(e){e.index;var t=e.children;o.default.Children.count(t)});t.default=i},493:(e,t,n)=>{“use strict”;var r=n(879);Object.defineProperty(t,”__esModule”,{value:!0}),t.default=function(e){var t,n=e.children,r=e.startIndex,a=e.startX,c=e.pageX,s=e.viewLength,l=e.resistance,u=o.default.Children.count(n)-1,d=r+(a-c)/s;return l?d<0?d=Math.exp(d*i.default.RESISTANCE_COEF)-1:d>u&&(d=u+1-Math.exp((u-d)*i.default.RESISTANCE_COEF)):d<0?t=((d=0)-r)*s+c:d>u&&(t=((d=u)-r)*s+c),{index:d,startX:t}};var o=r(n(651)),i=r(n(491))},491:(e,t)=>{“use strict”;Object.defineProperty(t,”__esModule”,{value:!0}),t.default=void 0,t.default={RESISTANCE_COEF:.6,UNCERTAINTY_THRESHOLD:3}},661:(e,t,n)=>{“use strict”;var r=n(879);Object.defineProperty(t,”__esModule”,{value:!0}),t.default=void 0;var o=r(n(651));t.default=function(e,t){var n=!1,r=function(e){return e?e.key:”empty”};if(e.children.length&&t.children.length){var i=o.default.Children.map(e.children,r)[e.index];null!=i&&i===o.default.Children.map(t.children,r)[t.index]&&(n=!0)}return n}},303:(e,t,n)=>{“use strict”;var r=n(879);Object.defineProperty(t,”__esModule”,{value:!0}),Object.defineProperty(t,”checkIndexBounds”,{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,”computeIndex”,{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,”constant”,{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,”getDisplaySameSlide”,{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(t,”mod”,{enumerable:!0,get:function(){return s.default}});var o=r(n(714)),i=r(n(493)),a=r(n(491)),c=r(n(661)),s=r(n(410))},410:(e,t)=>{“use strict”;Object.defineProperty(t,”__esModule”,{value:!0}),t.default=void 0;t.default=function(e,t){var n=e%t;return n<0?n+t:n}},879:e=>{e.exports=function(e){return e&&e.__esModule?e:{default:e}}},496:(e,t,n)=>{“use strict”;var r=n(964),o=n(745);Object.defineProperty(t,”__esModule”,{value:!0}),t.getDomTreeShapes=S,t.findNativeHandler=E,t.default=t.SwipeableViewsContext=void 0;var i=o(n(788)),a=o(n(779)),c=o(n(931)),s=o(n(658)),l=o(n(36)),u=o(n(83)),d=o(n(531)),f=r(n(651)),p=(o(n(697)),o(n(473)),n(303));function g(e,t,n,r){return e.addEventListener(t,n,r),{remove:function(){e.removeEventListener(t,n,r)}}}var m={direction:”ltr”,display:”flex”,willChange:”transform”},h={width:”100%”,WebkitFlexShrink:0,flexShrink:0,overflow:”auto”},v={root:{x:{overflowX:”hidden”},”x-reverse”:{overflowX:”hidden”},y:{overflowY:”hidden”},”y-reverse”:{overflowY:”hidden”}},flexDirection:{x:”row”,”x-reverse”:”row-reverse”,y:”column”,”y-reverse”:”column-reverse”},transform:{x:function(e){return”translate(“.concat(-e,”%, 0)”)},”x-reverse”:function(e){return”translate(“.concat(e,”%, 0)”)},y:function(e){return”translate(0, “.concat(-e,”%)”)},”y-reverse”:function(e){return”translate(0, “.concat(e,”%)”)}},length:{x:”width”,”x-reverse”:”width”,y:”height”,”y-reverse”:”height”},rotationMatrix:{x:{x:[1,0],y:[0,1]},”x-reverse”:{x:[-1,0],y:[0,1]},y:{x:[0,1],y:[1,0]},”y-reverse”:{x:[0,-1],y:[1,0]}},scrollPosition:{x:”scrollLeft”,”x-reverse”:”scrollLeft”,y:”scrollTop”,”y-reverse”:”scrollTop”},scrollLength:{x:”scrollWidth”,”x-reverse”:”scrollWidth”,y:”scrollHeight”,”y-reverse”:”scrollHeight”},clientLength:{x:”clientWidth”,”x-reverse”:”clientWidth”,y:”clientHeight”,”y-reverse”:”clientHeight”}};function y(e,t){var n=t.duration,r=t.easeFunction,o=t.delay;return””.concat(e,” “).concat(n,” “).concat(r,” “).concat(o)}function b(e,t){var n=v.rotationMatrix[t];return{pageX:n.x[0]*e.pageX+n.x[1]*e.pageY,pageY:n.y[0]*e.pageX+n.y[1]*e.pageY}}function w(e){return e.touches=[{pageX:e.pageX,pageY:e.pageY}],e}function S(e,t){for(var n=[];e&&e!==t&&e!==document.body&&!e.hasAttribute(“data-swipeable”);){var r=window.getComputedStyle(e);”absolute”===r.getPropertyValue(“position”)||”hidden”===r.getPropertyValue(“overflow-x”)?n=[]:(e.clientWidth>0&&e.scrollWidth>e.clientWidth||e.clientHeight>0&&e.scrollHeight>e.clientHeight)&&n.push({element:e,scrollWidth:e.scrollWidth,scrollHeight:e.scrollHeight,clientWidth:e.clientWidth,clientHeight:e.clientHeight,scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}),e=e.parentNode}return n}var x=null;function E(e){var t=e.domTreeShapes,n=e.pageX,r=e.startX,o=e.axis;return t.some((function(e){var t=n>=r;”x”!==o&&”y”!==o||(t=!t);var i=Math.round(e[v.scrollPosition[o]]),a=i>0,c=i+e[v.clientLength[o]]u&&l>p.constant.UNCERTAINTY_THRESHOLD;if(!c&&(“y”===r||”y-reverse”===r)&&(0===n.indexCurrent&&n.startXs.pageX))return void(n.isSwiping=!1);if(l>u&&e.preventDefault(),!0===d||u>p.constant.UNCERTAINTY_THRESHOLD)return n.isSwiping=d,void(n.startX=s.pageX)}if(!0===n.isSwiping){e.preventDefault(),n.vx=.5*n.vx+.5*(s.pageX-n.lastX),n.lastX=s.pageX;var g=(0,p.computeIndex)({children:o,resistance:c,pageX:s.pageX,startIndex:n.startIndex,startX:n.startX,viewLength:n.viewLength}),m=g.index,h=g.startX;if(null===x&&!i&&E({domTreeShapes:S(e.target,n.rootNode),startX:n.startX,pageX:s.pageX,axis:r}))return;h?n.startX=h:null===x&&(x=n.rootNode),n.setIndexCurrent(m);var v=function(){a&&a(m,”move”)};!n.state.displaySameSlide&&n.state.isDragging||n.setState({displaySameSlide:!1,isDragging:!0},v),v()}}}else n.handleTouchStart(e)},n.handleSwipeEnd=function(){if(x=null,n.started&&(n.started=!1,!0===n.isSwiping)){var e,t=n.state.indexLatest,r=n.indexCurrent,o=t-r;e=Math.abs(n.vx)>n.props.threshold?n.vx>0?Math.floor(r):Math.ceil(r):Math.abs(o)>n.props.hysteresis?o>0?Math.floor(r):Math.ceil(r):t;var i=f.Children.count(n.props.children)-1;e<0?e=0:e>i&&(e=i),n.setIndexCurrent(e),n.setState({indexLatest:e,isDragging:!1},(function(){n.props.onSwitching&&n.props.onSwitching(e,”end”),n.props.onChangeIndex&&e!==t&&n.props.onChangeIndex(e,t,{reason:”swipe”}),r===t&&n.handleTransitionEnd()}))}},n.handleTouchStart=function(e){n.props.onTouchStart&&n.props.onTouchStart(e),n.handleSwipeStart(e)},n.handleTouchEnd=function(e){n.props.onTouchEnd&&n.props.onTouchEnd(e),n.handleSwipeEnd(e)},n.handleMouseDown=function(e){n.props.onMouseDown&&n.props.onMouseDown(e),e.persist(),n.handleSwipeStart(w(e))},n.handleMouseUp=function(e){n.props.onMouseUp&&n.props.onMouseUp(e),n.handleSwipeEnd(w(e))},n.handleMouseLeave=function(e){n.props.onMouseLeave&&n.props.onMouseLeave(e),n.started&&n.handleSwipeEnd(w(e))},n.handleMouseMove=function(e){n.props.onMouseMove&&n.props.onMouseMove(e),n.started&&n.handleSwipeMove(w(e))},n.handleScroll=function(e){if(n.props.onScroll&&n.props.onScroll(e),e.target===n.rootNode)if(n.ignoreNextScrollEvents)n.ignoreNextScrollEvents=!1;else{var t=n.state.indexLatest,r=Math.ceil(e.target.scrollLeft/e.target.clientWidth)+t;n.ignoreNextScrollEvents=!0,e.target.scrollLeft=0,n.props.onChangeIndex&&r!==t&&n.props.onChangeIndex(r,t,{reason:”focus”})}},n.updateHeight=function(){if(null!==n.activeSlide){var e=n.activeSlide.children[0];void 0!==e&&void 0!==e.offsetHeight&&n.state.heightLatest!==e.offsetHeight&&n.setState({heightLatest:e.offsetHeight})}},n.state={indexLatest:e.index,isDragging:!1,renderOnlyActive:!e.disableLazyLoading,heightLatest:0,displaySameSlide:!0},n.setIndexCurrent(e.index),n}return(0,d.default)(t,e),(0,s.default)(t,[{key:”componentDidMount”,value:function(){var e=this;this.transitionListener=g(this.containerNode,”transitionend”,(function(t){t.target===e.containerNode&&e.handleTransitionEnd()})),this.touchMoveListener=g(this.rootNode,”touchmove”,(function(t){e.props.disabled||e.handleSwipeMove(t)}),{passive:!1}),this.props.disableLazyLoading||(this.firstRenderTimeout=setTimeout((function(){e.setState({renderOnlyActive:!1})}),0)),this.props.action&&this.props.action({updateHeight:this.updateHeight})}},{key:”UNSAFE_componentWillReceiveProps”,value:function(e){var t=e.index;”number”==typeof t&&t!==this.props.index&&(this.setIndexCurrent(t),this.setState({displaySameSlide:(0,p.getDisplaySameSlide)(this.props,e),indexLatest:t}))}},{key:”componentWillUnmount”,value:function(){this.transitionListener.remove(),this.touchMoveListener.remove(),clearTimeout(this.firstRenderTimeout)}},{key:”getSwipeableViewsContext”,value:function(){var e=this;return{slideUpdateHeight:function(){e.updateHeight()}}}},{key:”setIndexCurrent”,value:function(e){if(this.props.animateTransitions||this.indexCurrent===e||this.handleTransitionEnd(),this.indexCurrent=e,this.containerNode){var t=this.props.axis,n=v.transform[t](100*e);this.containerNode.style.WebkitTransform=n,this.containerNode.style.transform=n}}},{key:”handleTransitionEnd”,value:function(){this.props.onTransitionEnd&&(this.state.displaySameSlide||this.state.isDragging||this.props.onTransitionEnd())}},{key:”render”,value:function(){var e,t,n=this,r=this.props,o=(r.action,r.animateHeight),c=r.animateTransitions,s=r.axis,l=r.children,u=r.containerStyle,d=r.disabled,p=(r.disableLazyLoading,r.enableMouseEvents),g=(r.hysteresis,r.ignoreNativeScroll,r.index,r.onChangeIndex,r.onSwitching,r.onTransitionEnd,r.resistance,r.slideStyle),b=r.slideClassName,w=r.springConfig,S=r.style,x=(r.threshold,(0,a.default)(r,[“action”,”animateHeight”,”animateTransitions”,”axis”,”children”,”containerStyle”,”disabled”,”disableLazyLoading”,”enableMouseEvents”,”hysteresis”,”ignoreNativeScroll”,”index”,”onChangeIndex”,”onSwitching”,”onTransitionEnd”,”resistance”,”slideStyle”,”slideClassName”,”springConfig”,”style”,”threshold”])),E=this.state,_=E.displaySameSlide,j=E.heightLatest,N=E.indexLatest,P=E.isDragging,L=E.renderOnlyActive,M=d?{}:{onTouchStart:this.handleTouchStart,onTouchEnd:this.handleTouchEnd},T=!d&&p?{onMouseDown:this.handleMouseDown,onMouseUp:this.handleMouseUp,onMouseLeave:this.handleMouseLeave,onMouseMove:this.handleMouseMove}:{},C=(0,i.default)({},h,g);if(P||!c||_)e=”all 0s ease 0s”,t=”all 0s ease 0s”;else if(e=y(“transform”,w),t=y(“-webkit-transform”,w),0!==j){var I=”, “.concat(y(“height”,w));e+=I,t+=I}var k={height:null,WebkitFlexDirection:v.flexDirection[s],flexDirection:v.flexDirection[s],WebkitTransition:t,transition:e};if(!L){var D=v.transform[s](100*this.indexCurrent);k.WebkitTransform=D,k.transform=D}return o&&(k.height=j),f.createElement(O.Provider,{value:this.getSwipeableViewsContext()},f.createElement(“div”,(0,i.default)({ref:this.setRootNode,style:(0,i.default)({},v.root[s],S)},x,M,T,{onScroll:this.handleScroll}),f.createElement(“div”,{ref:this.setContainerNode,style:(0,i.default)({},k,m,u),className:”react-swipeable-view-container”},f.Children.map(l,(function(e,t){if(L&&t!==N)return null;var r,i=!0;return t===N&&(i=!1,o&&(r=n.setActiveSlide,C.overflowY=”hidden”)),f.createElement(“div”,{ref:r,style:C,className:b,”aria-hidden”:i,”data-swipeable”:”true”},e)})))))}}]),t}(f.Component);_.displayName=”ReactSwipableView”,_.propTypes={},_.defaultProps={animateHeight:!1,animateTransitions:!0,axis:”x”,disabled:!1,disableLazyLoading:!1,enableMouseEvents:!1,hysteresis:.6,ignoreNativeScroll:!1,index:0,threshold:5,springConfig:{duration:”0.35s”,easeFunction:”cubic-bezier(0.15, 0.3, 0.25, 1)”,delay:”0s”},resistance:!1};var j=_;t.default=j},314:(e,t,n)=>{“use strict”;var r=n(964);Object.defineProperty(t,”ZP”,{enumerable:!0,get:function(){return o.default}});var o=r(n(496))},736:e=>{e.exports=function(e){if(void 0===e)throw new ReferenceError(“this hasn’t been initialised – super() hasn’t been called”);return e}},931:e=>{e.exports=function(e,t){if(!(e instanceof t))throw new TypeError(“Cannot call a class as a function”)}},658:e=>{function t(e,t){for(var n=0;n{function t(){return e.exports=t=Object.assign||function(e){for(var t=1;t{function t(n){return e.exports=t=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},t(n)}e.exports=t},531:(e,t,n)=>{var r=n(929);e.exports=function(e,t){if(“function”!=typeof t&&null!==t)throw new TypeError(“Super expression must either be null or a function”);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r(e,t)}},745:e=>{e.exports=function(e){return e&&e.__esModule?e:{default:e}}},964:e=>{e.exports=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};r.get||r.set?Object.defineProperty(t,n,r):t[n]=e[n]}return t.default=e,t}},779:(e,t,n)=>{var r=n(191);e.exports=function(e,t){if(null==e)return{};var n,o,i=r(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}},191:e=>{e.exports=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}},36:(e,t,n)=>{var r=n(209),o=n(736);e.exports=function(e,t){return!t||”object”!==r(t)&&”function”!=typeof t?o(e):t}},929:e=>{function t(n,r){return e.exports=t=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},t(n,r)}e.exports=t},209:e=>{function t(e){return t=”function”==typeof Symbol&&”symbol”==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&”function”==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?”symbol”:typeof e},t(e)}function n(r){return”function”==typeof Symbol&&”symbol”===t(Symbol.iterator)?e.exports=n=function(e){return t(e)}:e.exports=n=function(e){return e&&”function”==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?”symbol”:t(e)},n(r)}e.exports=n},473:e=>{“use strict”;e.exports=function(){}},651:e=>{“use strict”;e.exports=window.slice.React},81:e=>{“use strict”;e.exports=window.slice.ReactDOM},907:(e,t,n)=>{“use strict”;function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);nr})},942:(e,t,n)=>{“use strict”;function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{Z:()=>r})},982:(e,t,n)=>{“use strict”;n.d(t,{Z:()=>i});var r=n(907),o=n(181);function i(e){return function(e){if(Array.isArray(e))return(0,r.Z)(e)}(e)||function(e){if(“undefined”!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e[“@@iterator”])return Array.from(e)}(e)||(0,o.Z)(e)||function(){throw new TypeError(“Invalid attempt to spread non-iterable instance.nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.”)}()}},181:(e,t,n)=>{“use strict”;n.d(t,{Z:()=>o});var r=n(907);function o(e,t){if(e){if(“string”==typeof e)return(0,r.Z)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return”Object”===n&&e.constructor&&(n=e.constructor.name),”Map”===n||”Set”===n?Array.from(e):”Arguments”===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.Z)(e,t):void 0}}}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={exports:{}};return e[r](i,i.exports,n),i.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if(“object”==typeof globalThis)return globalThis;try{return this||new Function(“return this”)()}catch(e){if(“object”==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{“undefined”!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:”Module”}),Object.defineProperty(e,”__esModule”,{value:!0})};var r={};(()=>{“use strict”;n.d(r,{default:()=>s});var e=n(942),t=n(982);function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(t){for(var n=1;n0&&void 0!==arguments[0]?arguments[0]:””.concat(n||””,”/”).concat(r);return new Promise((function(n,r){var a=document.createElement(“script”);a.async=!0,a.onload=n,a.onerror=function(){i.length?(Promise.all((0,t.Z)(i).map((function(t){var n=t.window,r=t.src;return window[n]?(window.slice[n]=window[n],Promise.resolve()):e(r).then((function(){return window.slice[n]=window[n]}))}))).then((function(){n(void 0)})),i=[]):r()},a.src=o,document.body.appendChild(a)}))}()})))};window.slice=i(i({},window.slice||{}),{},{resolveDependencies:a});const c=a,s={load:function(){return c([{endpoint:”react.js”,windowObject:”React”,fallback:[{window:”ReactDOM”,src:”https://unpkg.com/react-dom@17/umd/react-dom.production.min.js”},{window:”React”,src:”https://unpkg.com/react@17/umd/react.production.min.js”},{window:”StyledComponents”,src:”https://unpkg.com/styled-components@5.3.5/dist/styled-components.min.js”}]}],window.slice.hostname)},hydrate:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){};return this.load().then((function(){var o=n(651),i=n(81),a=n(377).default;return i.hydrate(o.createElement(a,e),t,r)}),(function(e){console.error(e)}))}}})(),imageGallery=r.default})(); window.sliceComponents.imageGallery = imageGallery; var triggerHydrate = function() { window.sliceComponents.imageGallery.hydrate(data, componentContainer); } if (window.lazyObserveElement) { window.lazyObserveElement(componentContainer, triggerHydrate); } else { triggerHydrate(); } } }).catch(err => console.log(‘Hydration Script has failed for imageGallery-157883743 Slice’, err)); ]]>
Image 1 of 5
(Image credit: THQ Nordic)
Image 1 of 5
(Image credit: THQ Nordic)
Image 1 of 5
(Image credit: THQ Nordic)
Image 1 of 5
(Image credit: THQ Nordic)
Image 1 of 5
(Image credit: THQ Nordic)
Image 1 of 5
Developed by Pieces Interactive, a THQ Nordic studio, the reboot will tell an all-new tale about the unfortunate adventures of Emily Hartwood and private investigator Edward Carnby, who go searching for Hartwood’s missing uncle at Derceto Manor, a home for the “mentally fatigued.” They find a whole lot more than they bargained for, though, including strange residents, dangerous monsters, portals to nightmarish worlds, and evil in the Lovecraftian-tinged Deep South of the 1920s US. You’ll be able to play as either Emily or Edward, with completely different cutscenes and levels for each. Combat and puzzle-solving will form the backbone of gameplay, which unfolds across “a deep psychological story that goes beyond the realms of the imaginable.”
That’s obviously marketing hype written for the press release, but I’m inclined to give it a chance, or at least not dismiss it outright. The new Alone in the Dark is being written by Mikael Hedberg, who previously had a long run with Frictional Games as the writer on games including Penumbra: Black Plague, Amnesia: The Dark Descent, and SOMA. The guy has real credibility as a horror storyteller, in other words, and while recent Alone in the Darks have been very different from Frictional’s games, there’s nothing saying that Hedberg can’t take it in a new, more gut-level-horrific direction.
A launch date for Alone in the Dark hasn’t been announced at this point, but it will be playable at Gamescom 2022 (opens in new tab), which runs August 24-28. Given that, I would expect (or at least hope) that a release can’t be too far off.
View Original Article Source Here