{"size": 702, "ext": "js", "max_stars_repo_path": "demo/projects/complex/code/main/dom-embed.js", "max_stars_repo_name": "HaikuTeam/core", "max_stars_repo_stars_event_min_datetime": "2018-01-31T14:03:05.000Z", "max_stars_repo_stars_event_max_datetime": "2022-01-03T09:53:48.000Z", "max_issues_repo_path": "demo/projects/complex/code/bubtonkillingsworth/dom-embed.js", "max_issues_repo_name": "HaikuTeam/core", "max_issues_repo_issues_event_min_datetime": "2018-02-01T21:28:48.000Z", "max_issues_repo_issues_event_max_datetime": "2022-01-25T16:43:43.000Z", "max_forks_repo_path": "demo/projects/complex/code/bubtonkillingsworth/dom-embed.js", "max_forks_repo_name": "HaikuTeam/core", "max_forks_repo_forks_event_min_datetime": "2018-01-31T14:03:12.000Z", "max_forks_repo_forks_event_max_datetime": "2021-12-19T13:57:52.000Z"}
{"max_stars_count": 776, "max_issues_count": 19, "max_forks_count": 48, "avg_line_length": 31.9090909091, "max_line_length": 90, "alphanum_fraction": 0.6438746439}
var code = require('./code')
var adapter = window.HaikuCore && window.HaikuCore['3.0.36']
if (!adapter) {
  // See if we can find the legacy player module if HaikuCore isn't present
  adapter = window.HaikuPlayer && window.HaikuPlayer['3.0.36']
}
if (adapter) {
  module.exports = adapter(code)
} else  {
  function safety () {
    console.error(
      '[haiku core] core version 3.0.36 seems to be missing. ' +
      'index.embed.js expects it at window.HaikuCore["3.0.36"], but we cannot find it. ' +
      'you may need to add a <script src="path/to/HaikuCore.js"></script> to fix this.'
    )
    return code
  }
  for (var key in code) {
    safety[key] = code[key]
  }
  module.exports = safety
}