'use strict';

const ionicGlobal = require('./ionic-global-01cd0200.js');

/*!
 * (C) Ionic http://ionicframework.com - MIT License
 */
const setupConfig = (config) => {
  const win = window;
  const Ionic = win.Ionic;
  // eslint-disable-next-line @typescript-eslint/prefer-optional-chain
  if (Ionic && Ionic.config && Ionic.config.constructor.name !== 'Object') {
    return;
  }
  win.Ionic = win.Ionic || {};
  win.Ionic.config = Object.assign(Object.assign({}, win.Ionic.config), config);
  return win.Ionic.config;
};

setupConfig({
  mode: "md",
});

const globalScripts = () => {
  ionicGlobal.initialize();
};

exports.globalScripts = globalScripts;
