export const SESSION_STORAGE_ENGINE = new InjectionToken<StorageEngine | null>(
  NG_DEV_MODE ? 'SESSION_STORAGE_ENGINE' : '',
  {
    providedIn: 'root',
    factory: () => (isPlatformBrowser(inject(PLATFORM_ID)) ? sessionStorage : null)