{"version":3,"file":"9643.chunk.877b4ee1b6d6206ddc64.js","mappings":"iGAAA,MAAMA,EACF,mBAAcC,GAEV,MAAyB,oBAAXC,aAAmD,IAAlBA,OAAOA,MAC1D,CAEA,wBAAcC,GACV,GAAIH,EAAiBC,eACjB,MAAM,IAAIG,MAAM,0CAExB,EAGJ,K","sources":["webpack://Kristiania.Web/./Features/ExecutionContext.ts"],"sourcesContent":["class ExecutionContext {\n public static IsServerSide(): boolean {\n // Episerver Spa Core defines window shim on server side but does not assign `window` property to itself\n return typeof window === 'undefined' || typeof window.window === 'undefined';\n }\n\n public static ThrowIfServerSide(): void {\n if (ExecutionContext.IsServerSide()) {\n throw new Error(\"Method shouldn't be used in server side\");\n }\n }\n}\n\nexport default ExecutionContext;\n"],"names":["ExecutionContext","IsServerSide","window","ThrowIfServerSide","Error"],"sourceRoot":""}