'use strict'
!(function(require, directRequire) {
  const a = require('./a63026ab5a5a3c59a61a9749a18aa2ca.js'),
    b = require('./949d8235c744ced2a80121e4dba34c28.js'),
    c = require('./common/locales/index.js'),
    d = require('./6238a86bb7a55c11aa0f9eb335d0f34c.js')
  module.exports = async function(e, f) {
    let g,
      h = `${f}.json`,
      i = await a(e),
      j = i.getFile(h)
    try {
      g = JSON.parse(j)
    } catch (a) {
      let e = d.parseJsonParseErr({ data: j, error: a }),
        f = new Error(`${c.config.JSON_PARSE_ERROR.format(h)}  ${e}`)
      throw ((f.path = h), (f.code = b.PLUGIN_PAGE_JSON_PARSE_ERR), f)
    }
    if (!0 !== g.component) {
      let a = new Error(
        c.config.JSON_CONTENT_SHOULD_BE.format([`${h} component`, 'true'])
      )
      throw ((a.path = h), (a.code = b.PLUGIN_PAGE_JSON_CONTENT_ERR), a)
    }
    return g
  }
})(require('lazyload'), require)
