'use strict'
!(function(require, directRequire) {
  function a() {
    m = ''
  }
  function b(b, c) {
    e.extname(c)
    'app.json' === c && a()
  }
  function c() {
    a()
  }
  async function d(d) {
    let e = await f(d)
    if (
      ((k && k.srcPath == e.srcPath) ||
        (a(), k && k.unWatch(b), (k = e), k.watch(b)),
      d.compileType == j.plugin)
    ) {
      let a = await g(d)
      ;(l && l.srcPath == a.srcPath) || (l && l.unWatch(b), (l = a), l.watch(c))
    }
  }
  const e = require('path'),
    f = require('./162bf2ee28b76d3b3d95b685cede4146.js'),
    g = require('./a63026ab5a5a3c59a61a9749a18aa2ca.js'),
    h = require('./1dea83a77e99a7c94f6b6f01f5c175b0.js'),
    i = require('./b6d8659542036f6a35f417e0693e56db.js'),
    j = require('./9fdd4ac31a05c27355910f0d74accd4c.js')
  var k,
    l,
    m = ''
  module.exports = async function(a) {
    let b = await h(a)
    if (b.plugins) {
      if ((await d(a), !m)) {
        let a = []
        for (var c in b.plugins) {
          const { provider: d, version: e } = b.plugins[c]
          'dev' == e
            ? a.push(
                `<script src="__devplugin__/${d}/${e}/appservice.js"></script>`
              )
            : a.push(
                `<script src="__onlineplugin__/${d}/${e}/appservice.js"></script>`
              )
        }
        m = a.join('\n')
      }
      return m
    }
    return ''
  }
})(require('lazyload'), require)
