first commit

This commit is contained in:
Stefan Hacker
2026-04-03 09:38:48 +02:00
commit 37ad745546
47450 changed files with 3120798 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
const isDevToolsEnabled = /*#__PURE__*/(() => {
var _a;
// Accessing "window.sessionStorage" causes an exception when third party cookies are blocked
// https://stackoverflow.com/questions/30481516/iframe-in-chrome-error-failed-to-read-localstorage-from-window-access-deni
try {
return Boolean(typeof window !== 'undefined' && ((_a = window.sessionStorage) === null || _a === void 0 ? void 0 : _a.getItem('__GRIFFEL_DEVTOOLS__')));
} catch (e) {
return false;
}
})();
export { isDevToolsEnabled };
//# sourceMappingURL=isDevToolsEnabled.esm.js.map