import skin from "../skins/base-2.91.wsz";
import audio from "../mp3/llama-2.91.mp3";

/* global SENTRY_DSN */

const { hash } = window.location;
let config = {};
if (hash) {
  try {
    config = JSON.parse(decodeURIComponent(hash).slice(1));
  } catch (e) {
    console.error("Failed to decode config from hash: ", hash);
  }
}

// Turn on the incomplete playlist window
export const skinUrl = config.skinUrl === undefined ? skin : config.skinUrl;
export const audioUrl = config.audioUrl === undefined ? audio : config.audioUrl;
export const noMarquee = config.noMarquee || false;
export const hideAbout = config.hideAbout || false;
export const elementSource = config.elementSource || false;
export const initialState = config.initialState || undefined;
export const sentryDsn = SENTRY_DSN;

import skin from "../skins/base-2.91.wsz";
import audio from "../mp3/llama-2.91.mp3";

/* global SENTRY_DSN */

const { hash } = window.location;
let config = {};
if (hash) {
  try {
    config = JSON.parse(decodeURIComponent(hash).slice(1));
  } catch (e) {
    console.error("Failed to decode config from hash: ", hash);
  }
}

// Turn on the incomplete playlist window
export const skinUrl = config.skinUrl === undefined ? skin : config.skinUrl;
export const audioUrl = config.audioUrl === undefined ? audio : config.audioUrl;
export const noMarquee = config.noMarquee || false;
export const hideAbout = config.hideAbout || false;
export const elementSource = config.elementSource || true;
export const initialState = config.initialState || undefined;
export const sentryDsn = SENTRY_DSN;

Use the elementSource by default
Use the elementSource by default
