(function() {
var exports = {};
exports.id = 405;
exports.ids = [405];
exports.modules = {

/***/ 983:
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";

// EXPORTS
__webpack_require__.d(__webpack_exports__, {
  "Z": function() { return /* binding */ debug_Debug; }
});

// EXTERNAL MODULE: ../../node_modules/classnames/bind.js
var bind = __webpack_require__(2183);
var bind_default = /*#__PURE__*/__webpack_require__.n(bind);
;// CONCATENATED MODULE: ../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!../../node_modules/less-loader/dist/cjs.js??ruleSet[1].rules[2].use[2]!../../node_modules/style-resources-loader/lib/index.js??ruleSet[1].rules[2].use[3]!./components/debug/Debug.less
// Exports
/* harmony default export */ var Debug = ({
	"debug-container": "debug-container__b5848b18",
	"toggle-button": "toggle-button__e318fef4",
	"main-contianer": "main-contianer__b70180b7",
	"sub-app-container": "sub-app-container__9050e717"
});

// EXTERNAL MODULE: ../../node_modules/@ecomfe/class-names-loader/dist/assign.js
var dist_assign = __webpack_require__(6979);
;// CONCATENATED MODULE: ./components/debug/Debug.less

        // class-names-loader generated code for /Users/janlay/proxima-plugin-tools/packages/plugin-debug/components/debug/Debug.less
        
        
        

        var css = bind_default().bind(Debug);
        (0,dist_assign/* default */.Z)(Debug, css);

        /* harmony default export */ var debug_Debug = (css);
    

/***/ }),

/***/ 7592:
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9297);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
var _defs, _path;

function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }



function SvgToggleRight(props) {
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("svg", _extends({
    className: "ToggleRight_svg__icon",
    viewBox: "0 0 1024 1024",
    xmlns: "http://www.w3.org/2000/svg",
    width: 20,
    height: 20
  }, props), _defs || (_defs = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("defs", null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("style", null))), _path || (_path = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("path", {
    d: "M195.1 344.1v335.8c0 26.7 11.1 52.3 30.9 71.2 19.8 18.9 46.7 29.5 74.7 29.5h422.6c28 0 54.9-10.6 74.7-29.5 19.8-18.9 30.9-44.5 30.9-71.2V344.1c0-26.7-11.1-52.3-30.9-71.2-19.8-18.9-46.7-29.5-74.7-29.5H300.7c-28 0-54.9 10.6-74.7 29.5-19.8 18.8-30.9 44.5-30.9 71.2zm422.5-33.6h105.6c9.3 0 18.3 3.5 24.9 9.8 6.6 6.3 10.3 14.8 10.3 23.7v335.8c0 8.9-3.7 17.4-10.3 23.7-6.6 6.3-15.6 9.8-24.9 9.8H617.6V310.5zm-352.1 33.6c0-8.9 3.7-17.4 10.3-23.7 6.6-6.3 15.6-9.8 24.9-9.8h246.5v403H300.7c-9.3 0-18.3-3.5-24.9-9.8-6.6-6.3-10.3-14.8-10.3-23.7v-336z",
    fill: "#108CEE"
  })));
}

/* harmony default export */ __webpack_exports__["Z"] = (SvgToggleRight);

/***/ }),

/***/ 202:
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "w": function() { return /* binding */ loadTypeArr; }
/* harmony export */ });
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(5282);
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(9297);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var icons_ToggleRight_svg__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(7592);
/* harmony import */ var lib_osui__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(1690);
/* harmony import */ var lib_osui__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(8712);
/* harmony import */ var lib_parse__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(3471);
/* harmony import */ var lib_pluginType__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(3956);
/* harmony import */ var _PluginComponent__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(2139);
/* harmony import */ var _SettingBox__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(900);
/* harmony import */ var _Debug_less__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(983);



function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }

function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }

function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }









const loadTypeArr = [{
  key: lib_pluginType__WEBPACK_IMPORTED_MODULE_4__/* .PluginLoadType.Iframe */ .T.Iframe,
  name: 'Iframe'
}, {
  key: lib_pluginType__WEBPACK_IMPORTED_MODULE_4__/* .PluginLoadType.Micro */ .T.Micro,
  name: '微前端'
} // { key: PluginLoadType.RemoteJs, name: 'JS资源组件' },
];

const handleUrl = url => {
  if (/\/$/.test(url)) {
    return url.slice(0, url.length - 1);
  }

  return url;
};

const Debug = () => {
  var _loadTypeArr$find;

  const {
    0: settingBoxVisible,
    1: setSettingBoxVisible
  } = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(true);
  const {
    0: preUrl,
    1: setPreUrl
  } = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)('');
  const {
    0: settingData,
    1: setSettingData
  } = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)({
    loadType: null,
    url: '',
    itemId: '',
    appId: '',
    selfPropsObject: '',
    moduleName: ''
  });
  (0,react__WEBPACK_IMPORTED_MODULE_1__.useEffect)(() => {
    const settingData = sessionStorage.getItem('settingData');

    if (settingData) {
      setSettingData(JSON.parse(settingData));
    }

    const settingBoxVisible = sessionStorage.getItem('settingBoxVisible');

    if (settingBoxVisible) {
      setSettingBoxVisible(JSON.parse(settingBoxVisible));
    }
  }, []);
  const togglePanelsVisible = (0,react__WEBPACK_IMPORTED_MODULE_1__.useCallback)(() => {
    sessionStorage.setItem('settingBoxVisible', JSON.stringify(!settingBoxVisible));
    setSettingBoxVisible(!settingBoxVisible);
  }, [settingBoxVisible]);
  const updateSettingData = (0,react__WEBPACK_IMPORTED_MODULE_1__.useCallback)(async value => {
    sessionStorage.setItem('settingData', JSON.stringify(value)); // 重新渲染微应用

    setSettingData(_objectSpread({}, value));
  }, []);
  const onRefreshContext = (0,react__WEBPACK_IMPORTED_MODULE_1__.useCallback)(() => {}, []);
  const defaultProps = (0,react__WEBPACK_IMPORTED_MODULE_1__.useMemo)(() => {
    var _Parse$User, _Parse$User$current, _settingData$url, _settingData$url2;

    return {
      context: {
        itemId: settingData === null || settingData === void 0 ? void 0 : settingData.itemId,
        currentUser: {
          id: lib_parse__WEBPACK_IMPORTED_MODULE_3__.default === null || lib_parse__WEBPACK_IMPORTED_MODULE_3__.default === void 0 ? void 0 : (_Parse$User = lib_parse__WEBPACK_IMPORTED_MODULE_3__.default.User) === null || _Parse$User === void 0 ? void 0 : (_Parse$User$current = _Parse$User.current()) === null || _Parse$User$current === void 0 ? void 0 : _Parse$User$current.id
        }
      },
      frame: {
        app: {
          id: settingData === null || settingData === void 0 ? void 0 : settingData.appId,
          name: 'app-name',
          key: 'app-key'
        },
        key: String(Date.now()),
        title: 'frame-title',
        originalKey: 'originalKey',
        route: settingData === null || settingData === void 0 ? void 0 : (_settingData$url = settingData.url) === null || _settingData$url === void 0 ? void 0 : _settingData$url.split('#')[1],
        resource: {
          key: 'key',
          url: handleUrl(settingData === null || settingData === void 0 ? void 0 : (_settingData$url2 = settingData.url) === null || _settingData$url2 === void 0 ? void 0 : _settingData$url2.split('#')[0])
        },
        loadType: (settingData === null || settingData === void 0 ? void 0 : settingData.loadType) || 'none'
      },
      Parse: lib_parse__WEBPACK_IMPORTED_MODULE_3__.default
    };
  }, [settingData]);
  const pluginProps = (0,react__WEBPACK_IMPORTED_MODULE_1__.useMemo)(() => {
    var _settingData$selfProp;

    let selfPropsObject = {};

    if (settingData !== null && settingData !== void 0 && (_settingData$selfProp = settingData.selfPropsObject) !== null && _settingData$selfProp !== void 0 && _settingData$selfProp.trim()) {
      try {
        selfPropsObject = eval(`(${settingData === null || settingData === void 0 ? void 0 : settingData.selfPropsObject})`);
      } catch (error) {
        lib_osui__WEBPACK_IMPORTED_MODULE_8__/* .default.error */ .Z.error('传入应用的对象格式错误');
      }
    }

    defaultProps.frame.resource.url = `${preUrl}${defaultProps.frame.resource.url}`;
    return _objectSpread(_objectSpread(_objectSpread({}, defaultProps), selfPropsObject), {}, {
      onRefreshContext
    });
  }, [settingData === null || settingData === void 0 ? void 0 : settingData.selfPropsObject, defaultProps, preUrl, onRefreshContext]);
  const selectChange = (0,react__WEBPACK_IMPORTED_MODULE_1__.useCallback)(value => {
    setPreUrl(value);
  }, []);
  return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("div", {
    className: (0,_Debug_less__WEBPACK_IMPORTED_MODULE_7__/* .default */ .Z)('debug-container'),
    children: [/*#__PURE__*/react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx(lib_osui__WEBPACK_IMPORTED_MODULE_9__/* .default */ .Z, {
      style: {
        borderBottom: '1px solid #e5e5e5'
      },
      title: `插件调试：${((_loadTypeArr$find = loadTypeArr.find(item => item.key === (settingData === null || settingData === void 0 ? void 0 : settingData.loadType))) === null || _loadTypeArr$find === void 0 ? void 0 : _loadTypeArr$find.name) || ''}`,
      extra: /*#__PURE__*/react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx(icons_ToggleRight_svg__WEBPACK_IMPORTED_MODULE_2__/* .default */ .Z, {
        className: (0,_Debug_less__WEBPACK_IMPORTED_MODULE_7__/* .default */ .Z)('toggle-button'),
        onClick: togglePanelsVisible
      })
    }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)("div", {
      className: (0,_Debug_less__WEBPACK_IMPORTED_MODULE_7__/* .default */ .Z)('main-contianer'),
      children: [/*#__PURE__*/react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx("div", {
        className: (0,_Debug_less__WEBPACK_IMPORTED_MODULE_7__/* .default */ .Z)('sub-app-container'),
        children: /*#__PURE__*/react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx(_PluginComponent__WEBPACK_IMPORTED_MODULE_5__/* .default */ .ZP, {
          pluginProps: pluginProps,
          moduleKey: settingData === null || settingData === void 0 ? void 0 : settingData.moduleName
        })
      }), settingBoxVisible && /*#__PURE__*/react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx(_SettingBox__WEBPACK_IMPORTED_MODULE_6__/* .default */ .Z, {
        initData: settingData,
        handleSubmit: updateSettingData,
        selectChange: selectChange
      })]
    })]
  });
};

/* harmony default export */ __webpack_exports__["Z"] = (Debug);

/***/ }),

/***/ 2139:
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";

// EXPORTS
__webpack_require__.d(__webpack_exports__, {
  "ZP": function() { return /* binding */ debug_PluginComponent; },
  "YA": function() { return /* binding */ useSDKServer; }
});

// UNUSED EXPORTS: PluginLoadType

// EXTERNAL MODULE: external "react/jsx-runtime"
var jsx_runtime_ = __webpack_require__(5282);
// EXTERNAL MODULE: external "react"
var external_react_ = __webpack_require__(9297);
var external_react_default = /*#__PURE__*/__webpack_require__.n(external_react_);
// EXTERNAL MODULE: external "lodash"
var external_lodash_ = __webpack_require__(3804);
// EXTERNAL MODULE: ./lib/contexts.ts
var contexts = __webpack_require__(9696);
// EXTERNAL MODULE: ../../node_modules/@osui/spin/lib/index.js
var lib = __webpack_require__(5017);
// EXTERNAL MODULE: ../../node_modules/classnames/bind.js
var bind = __webpack_require__(2183);
var bind_default = /*#__PURE__*/__webpack_require__.n(bind);
;// CONCATENATED MODULE: ../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!../../node_modules/less-loader/dist/cjs.js??ruleSet[1].rules[2].use[2]!../../node_modules/style-resources-loader/lib/index.js??ruleSet[1].rules[2].use[3]!./components/debug/sub-app/IframeApp.less
// Exports
/* harmony default export */ var IframeApp = ({
	"spin-container": "spin-container__020594e0",
	"custom-iframe": "custom-iframe__d4e6224c"
});

// EXTERNAL MODULE: ../../node_modules/@ecomfe/class-names-loader/dist/assign.js
var dist_assign = __webpack_require__(6979);
;// CONCATENATED MODULE: ./components/debug/sub-app/IframeApp.less

        // class-names-loader generated code for /Users/janlay/proxima-plugin-tools/packages/plugin-debug/components/debug/sub-app/IframeApp.less
        
        
        

        var css = bind_default().bind(IframeApp);
        (0,dist_assign/* default */.Z)(IframeApp, css);

        /* harmony default export */ var sub_app_IframeApp = (css);
    
;// CONCATENATED MODULE: ./components/debug/sub-app/IframeApp.tsx






const IframeApp_IframeApp = ({
  moduleKey,
  iframeProps,
  url,
  iframeStyle
}) => {
  const frameRef = (0,external_react_.useRef)(null);
  const {
    0: loading,
    1: setLoading
  } = (0,external_react_.useState)(true);
  const server = useSDKServer(); // 用于同一个页面切换插件时，loading初始化

  (0,external_react_.useEffect)(() => {
    setLoading(true);
  }, [url]);

  const onLoad = () => {
    const {
      frame,
      context
    } = iframeProps;
    server.register({
      type: 'iframe',
      module: moduleKey,
      instance: frameRef.current.contentWindow,
      frame,
      context
    }).then(() => {
      setLoading(false);
    });
  };

  return /*#__PURE__*/jsx_runtime_.jsx(lib/* default */.Z, {
    tip: "\u63D2\u4EF6\u52A0\u8F7D\u4E2D......",
    wrapperClassName: sub_app_IframeApp('spin-container'),
    spinning: loading,
    children: /*#__PURE__*/jsx_runtime_.jsx("iframe", {
      ref: frameRef,
      className: sub_app_IframeApp('custom-iframe'),
      style: iframeStyle,
      src: url,
      onLoad: onLoad
    })
  });
};

/* harmony default export */ var debug_sub_app_IframeApp = (IframeApp_IframeApp);
// EXTERNAL MODULE: ./lib/parse.ts
var parse = __webpack_require__(3471);
;// CONCATENATED MODULE: ./components/debug/sub-app/MicroApp.tsx


function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }

function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }

function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }






const MicroApp = ({
  moduleKey,
  url,
  pluginKey,
  qiankunProps,
  qiankunStyle
}) => {
  const {
    0: loading,
    1: setLoading
  } = (0,external_react_.useState)(true);
  const qiankunContainerRef = (0,external_react_.useRef)(null);
  const server = useSDKServer();
  (0,external_react_.useEffect)(() => {
    const {
      loadMicroApp
    } = __webpack_require__(9508);

    const route = url.split('#')[1]; // hash子路由传给子应用，用于子应用默认跳转的地址

    const registerPlugin = async () => {
      let proximaSDK;

      if (false) {}
    };

    let app;
    registerPlugin().then(sdk => {
      const initProps = {
        Parse: parse.default,
        route,
        sdk
      };

      if (sdk) {
        var _app, _app$mountPromise;

        app = loadMicroApp({
          name: `app_${Date.now()}`,
          // 解决切换微应用不更新问题
          entry: url,
          container: qiankunContainerRef.current,
          props: qiankunProps ? _objectSpread(_objectSpread({}, initProps), qiankunProps) : initProps
        }, {
          singular: true
        });
        (_app = app) === null || _app === void 0 ? void 0 : (_app$mountPromise = _app.mountPromise) === null || _app$mountPromise === void 0 ? void 0 : _app$mountPromise.then(() => {
          setLoading(false);
        });
      }
    });
    return () => {
      var _app2;

      (_app2 = app) === null || _app2 === void 0 ? void 0 : _app2.unmount();
    };
  }, [moduleKey, server, url, pluginKey, qiankunProps]);
  return /*#__PURE__*/jsx_runtime_.jsx(lib/* default */.Z, {
    tip: "\u63D2\u4EF6\u52A0\u8F7D\u4E2D......",
    spinning: loading,
    style: {
      marginTop: '30px'
    },
    children: /*#__PURE__*/jsx_runtime_.jsx("div", {
      ref: qiankunContainerRef,
      style: _objectSpread(_objectSpread({}, qiankunStyle), {}, {
        minHeight: 'auto'
      })
    })
  });
};

/* harmony default export */ var sub_app_MicroApp = (MicroApp);
;// CONCATENATED MODULE: external "axios"
var external_axios_namespaceObject = require("axios");;
var external_axios_default = /*#__PURE__*/__webpack_require__.n(external_axios_namespaceObject);
;// CONCATENATED MODULE: ./components/debug/sub-app/RemoteJsApp.tsx


function RemoteJsApp_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }

function RemoteJsApp_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { RemoteJsApp_ownKeys(Object(source), true).forEach(function (key) { RemoteJsApp_defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { RemoteJsApp_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }

function RemoteJsApp_defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }





class FieldErrorBoundary extends (external_react_default()).Component {
  constructor(props) {
    super(props);
    this.state = {
      hasError: false
    };
  }

  static getDerivedStateFromError() {
    return {
      hasError: true
    };
  }

  render() {
    if (this.state.hasError) {
      return /*#__PURE__*/jsx_runtime_.jsx("span", {
        style: {
          background: 'red',
          color: '#fff',
          fontSize: '16px'
        },
        children: this.props.errorText || '字段数据有误'
      });
    }

    return this.props.children;
  }

}

const loadRemote = async name => {
  const {
    data: scriptText
  } = await external_axios_default().get(name);
  const modules = {
    exports: {
      default: null
    }
  };
  const fn = new Function('module', 'require', scriptText);
  fn(modules, getModule);
  const exports = modules.exports;
  return Object.getOwnPropertyNames(exports).reduce((prev, current) => {
    return RemoteJsApp_objectSpread(RemoteJsApp_objectSpread({}, prev), {}, {
      [current]: props => /*#__PURE__*/jsx_runtime_.jsx(FieldErrorBoundary, {
        errorText: "\u63D2\u4EF6\u52A0\u8F7D\u5931\u8D25",
        children: exports[current](props)
      })
    });
  }, {});
};

const moduleMap = {// react: require('react'),
  // antd: require('antd'),
  // lodash: require('lodash'),
};

const getModule = moduleName => {
  if (moduleMap[moduleName]) {
    return moduleMap[moduleName];
  }

  if (!moduleName.startsWith('proxima-sdk')) {
    return new Error('暂无此依赖集成');
  }

  const path = moduleName.slice(12).split('/').join('.');
  return (0,external_lodash_.get)(__webpack_require__(3665), path);
};

const useRemoteComponent = remoteUrl => {
  const {
    0: loading,
    1: setLoading
  } = (0,external_react_.useState)(true);
  const {
    0: componentModule,
    1: setComponentModule
  } = (0,external_react_.useState)();
  (0,external_react_.useEffect)(() => {
    loadRemote(remoteUrl).then(module => {
      setComponentModule(module);
      setLoading(false);
    });
  }, [remoteUrl]);
  return {
    componentModule,
    loading
  };
};

const RemoteComponent = ({
  url,
  name = 'Plugin'
}) => {
  const {
    componentModule,
    loading
  } = useRemoteComponent(url);
  if (loading) return /*#__PURE__*/jsx_runtime_.jsx("p", {
    children: "loading..."
  });
  const Comp = componentModule === null || componentModule === void 0 ? void 0 : componentModule[name];
  return Comp ? /*#__PURE__*/jsx_runtime_.jsx(Comp, {}) : null;
};

/* harmony default export */ var RemoteJsApp = (RemoteComponent);
;// CONCATENATED MODULE: ./components/debug/PluginComponent.tsx







// 插件三种加载方式 微前端、iframe、远程js文件
let PluginLoadType;

(function (PluginLoadType) {
  PluginLoadType["Micro"] = "Micro";
  PluginLoadType["Iframe"] = "Iframe";
  PluginLoadType["RemoteJs"] = "RemoteJs";
})(PluginLoadType || (PluginLoadType = {}));

const useSDKServer = () => {
  const {
    value
  } = (0,external_react_.useContext)(contexts/* PluginSDKContext */.j);
  return value;
};

const PluginComponent = ({
  moduleKey,
  pluginProps,
  selfStyle
}) => {
  const {
    0: pluginLoadType,
    1: setPluginLoadType
  } = (0,external_react_.useState)(null);
  const {
    onRefreshContext,
    frame
  } = pluginProps || {};
  const url = (0,external_react_.useMemo)(() => {
    const loadType = (frame === null || frame === void 0 ? void 0 : frame.loadType) || PluginLoadType.Iframe; // 没有loadType，默认Iframe方式

    setPluginLoadType(loadType);

    if ([PluginLoadType.Iframe, PluginLoadType.Micro].includes(loadType)) {
      var _frame$resource;

      return `${frame === null || frame === void 0 ? void 0 : (_frame$resource = frame.resource) === null || _frame$resource === void 0 ? void 0 : _frame$resource.url}/index.html#${(frame === null || frame === void 0 ? void 0 : frame.route) || ''}`;
    }

    if (loadType === PluginLoadType.RemoteJs) {
      var _frame$resource2;

      return frame === null || frame === void 0 ? void 0 : (_frame$resource2 = frame.resource) === null || _frame$resource2 === void 0 ? void 0 : _frame$resource2.url;
    }
  }, [frame]);
  const onRefreshContextFn = (0,external_react_.useMemo)(() => {
    return onRefreshContext || (() => {});
  }, [onRefreshContext]);

  if (pluginLoadType === PluginLoadType.Iframe) {
    return /*#__PURE__*/jsx_runtime_.jsx(debug_sub_app_IframeApp, {
      url: url,
      moduleKey: moduleKey,
      iframeProps: (0,external_lodash_.omit)(pluginProps, ['onRefreshContext', 'Parse']),
      onRefreshContext: onRefreshContextFn,
      iframeStyle: selfStyle
    });
  }

  if (pluginLoadType === PluginLoadType.Micro) {
    return /*#__PURE__*/jsx_runtime_.jsx(sub_app_MicroApp, {
      url: url,
      moduleKey: moduleKey,
      qiankunProps: (0,external_lodash_.omit)(pluginProps, 'onRefreshContext'),
      onRefreshContext: onRefreshContextFn,
      pluginKey: frame === null || frame === void 0 ? void 0 : frame.key,
      qiankunStyle: selfStyle
    });
  }

  if (pluginLoadType === PluginLoadType.RemoteJs) {
    return /*#__PURE__*/jsx_runtime_.jsx(RemoteJsApp, {
      url: url
    });
  }

  return null;
};

/* harmony default export */ var debug_PluginComponent = (/*#__PURE__*/external_react_default().memo(PluginComponent));

/***/ }),

/***/ 900:
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";

// EXPORTS
__webpack_require__.d(__webpack_exports__, {
  "Z": function() { return /* binding */ components_debug_SettingBox; }
});

// EXTERNAL MODULE: external "react/jsx-runtime"
var jsx_runtime_ = __webpack_require__(5282);
// EXTERNAL MODULE: external "react"
var external_react_ = __webpack_require__(9297);
;// CONCATENATED MODULE: external "formik"
var external_formik_namespaceObject = require("formik");;
// EXTERNAL MODULE: external "lodash"
var external_lodash_ = __webpack_require__(3804);
// EXTERNAL MODULE: ../../node_modules/classnames/bind.js
var bind = __webpack_require__(2183);
var bind_default = /*#__PURE__*/__webpack_require__.n(bind);
;// CONCATENATED MODULE: ../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!../../node_modules/less-loader/dist/cjs.js??ruleSet[1].rules[2].use[2]!../../node_modules/style-resources-loader/lib/index.js??ruleSet[1].rules[2].use[3]!./components/common/form-field/FormField.global.less
// Exports
/* harmony default export */ var FormField_global = ({
	"form-field-input": "form-field-input",
	"form-field-label": "form-field-label",
	"form-field-required": "form-field-required",
	"form-field-layout-root": "form-field-layout-root",
	"form-field-vertical": "form-field-vertical",
	"form-field-horizontal": "form-field-horizontal",
	"form-field-error-message-wrapper": "form-field-error-message-wrapper",
	"form-field-error-message": "form-field-error-message",
	"form-field-layout-root-input": "form-field-layout-root-input",
	"form-field-control": "form-field-control",
	"form-field-error": "form-field-error"
});

// EXTERNAL MODULE: ../../node_modules/@ecomfe/class-names-loader/dist/assign.js
var dist_assign = __webpack_require__(6979);
;// CONCATENATED MODULE: ./components/common/form-field/FormField.global.less

        // class-names-loader generated code for /Users/janlay/proxima-plugin-tools/packages/plugin-debug/components/common/form-field/FormField.global.less
        
        
        

        var css = bind_default().bind(FormField_global);
        (0,dist_assign/* default */.Z)(FormField_global, css);

        /* harmony default export */ var form_field_FormField_global = ((/* unused pure expression or super */ null && (css)));
    
;// CONCATENATED MODULE: ./components/common/form-field/pure-field/FieldLayout.tsx





const FieldLayout = ({
  className,
  children = null,
  errors = [],
  style,
  labelWidth
}) => {
  const hasError = (0,external_react_.useMemo)(() => Array.isArray(errors) && errors.some(e => e && 'message' in e), [errors]);
  const printableErrors = (0,external_react_.useMemo)(() => {
    if (Array.isArray(errors)) {
      return errors.filter(e => e && e.message);
    }

    return [];
  }, [errors]);
  return /*#__PURE__*/jsx_runtime_.jsx("div", {
    className: className ? 'form-field-layout-root ' + className : 'form-field-layout-root',
    style: style,
    children: /*#__PURE__*/(0,jsx_runtime_.jsxs)("div", {
      className: hasError ? 'form-field-layout-root-input form-field-error' : 'form-field-layout-root-input',
      children: [/*#__PURE__*/jsx_runtime_.jsx("div", {
        className: 'form-field-control',
        children: children
      }), /*#__PURE__*/jsx_runtime_.jsx("div", {
        style: {
          paddingLeft: labelWidth ? `${labelWidth}px` : 0
        },
        className: "form-field-error-message-wrapper",
        children: printableErrors.map(({
          message
        }, index) => /*#__PURE__*/jsx_runtime_.jsx("div", {
          className: `form-field-error-message`,
          children: message
        }, index))
      })]
    })
  });
};

/* harmony default export */ var pure_field_FieldLayout = (FieldLayout);
;// CONCATENATED MODULE: ./components/common/form-field/pure-field/FormikEnhance.ts

const addErrorMessage = (error, message, level) => {
  const newError = {
    message,
    level: level || 'error'
  };

  if ((0,external_lodash_.isArray)(error)) {
    return [...error, newError];
  }

  return [newError];
};
;// CONCATENATED MODULE: ./components/common/form-field/pure-field/PureField.tsx


function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }

function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }

function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }

function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }

function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }





const fakeEvent = (name, value) => ({
  target: {
    name,
    value
  }
});

const layoutProps = ['errors', 'className', 'style', 'labelWidth'];
const formikProps = ['as', 'children', 'component', 'innerRef', 'render', 'validate']; // eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types

const PureField = (_ref) => {
  let {
    type = '',
    name,
    children
  } = _ref,
      rest = _objectWithoutProperties(_ref, ["type", "name", "children"]);

  return name ? /*#__PURE__*/jsx_runtime_.jsx(external_formik_namespaceObject.Field, _objectSpread(_objectSpread({}, (0,external_lodash_.pick)(rest, formikProps)), {}, {
    type: type,
    name: name,
    children: ({
      field,
      form,
      meta
    }) => {
      const {
        name
      } = field;
      const {
        handleChange,
        validateOnMount,
        setFieldTouched
      } = form;
      const {
        error,
        touched
      } = meta;

      const errors = (() => {
        if (!validateOnMount && !touched) {
          // 不是初始化时校验或没有点击过，则直接返回
          return [];
        }

        if ((0,external_lodash_.isArray)(error)) {
          return error;
        } // 兼容一下 Yup，默认都给到 error 级别的提示


        if (typeof error === 'string' && error.length) {
          return [{
            message: error,
            level: 'error'
          }];
        }

        return [];
      })(); // TODO 这里不得不用了handleChange，等formik修复
      // @see https://github.com/jaredpalmer/formik/issues/2130


      const onChange = mixed => {
        if (!touched) {
          setFieldTouched(name, true);
        }

        if (mixed !== null && mixed !== void 0 && mixed.target) {
          handleChange(mixed);
        } else {
          handleChange(fakeEvent(name, mixed));
        }
      };

      const fixedProps = {
        field: _objectSpread(_objectSpread({}, field), {}, {
          onChange
        }),
        form,
        meta
      };
      return /*#__PURE__*/jsx_runtime_.jsx(pure_field_FieldLayout, _objectSpread(_objectSpread({}, (0,external_lodash_.pick)(rest, layoutProps)), {}, {
        errors: errors,
        children: typeof children === 'function' ? children(fixedProps) : children
      }));
    }
  })) : /*#__PURE__*/jsx_runtime_.jsx(pure_field_FieldLayout, _objectSpread(_objectSpread({}, (0,external_lodash_.pick)(rest, layoutProps)), {}, {
    children: children
  }));
};

/* harmony default export */ var pure_field_PureField = (PureField);

;// CONCATENATED MODULE: ./components/common/form-field/FormField.tsx



function FormField_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }

function FormField_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { FormField_ownKeys(Object(source), true).forEach(function (key) { FormField_defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { FormField_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }

function FormField_defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }

function FormField_objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = FormField_objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }

function FormField_objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }





const FormField = (_ref) => {
  let {
    children,
    name,
    label,
    layout = 'vertical',
    required = false,
    style = {},
    className = ''
  } = _ref,
      rest = FormField_objectWithoutProperties(_ref, ["children", "name", "label", "layout", "required", "style", "className"]);

  const labelNode = (() => {
    if (label) {
      if (typeof label === 'string') {
        return /*#__PURE__*/(0,jsx_runtime_.jsxs)("div", {
          className: "form-field-label",
          children: [required && /*#__PURE__*/jsx_runtime_.jsx("span", {
            className: "form-field-required",
            children: "*"
          }), /*#__PURE__*/jsx_runtime_.jsx("span", {
            children: label
          })]
        });
      }

      return label;
    }

    return null;
  })();

  return /*#__PURE__*/(0,jsx_runtime_.jsxs)("div", {
    className: `form-field-${layout} ${className}`,
    style: style,
    children: [labelNode, /*#__PURE__*/jsx_runtime_.jsx("div", {
      className: "form-field-input",
      children: /*#__PURE__*/jsx_runtime_.jsx(pure_field_PureField, FormField_objectSpread(FormField_objectSpread({
        name: name
      }, rest), {}, {
        children: ({
          field,
          form,
          meta
        }) => {
          const fixedProps = {
            field: FormField_objectSpread({}, field),
            form,
            meta
          };
          return children(fixedProps);
        }
      }))
    })]
  });
};

/* harmony default export */ var form_field_FormField = (FormField);

;// CONCATENATED MODULE: ./components/common/formik-field-touched/FormikFieldTouched.tsx


 // 该模块用于在提交之前，把所有有错误的字段的 touched 标识设置为 true

const FormikFieldTouched = () => {
  const {
    errors,
    setTouched,
    isSubmitting,
    validateForm,
    touched
  } = (0,external_formik_namespaceObject.useFormikContext)(); // 根据已点击过的字段和所有的 errors 字段拼凑出较为完整的 touched 字段

  const fields = (0,external_react_.useMemo)(() => {
    // 此处的 cloneDeep 需要保留，不能被优化掉
    return (0,external_lodash_.merge)((0,external_lodash_.cloneDeep)(touched), (0,external_lodash_.cloneDeep)(errors)); // eslint-disable-next-line react-hooks/exhaustive-deps
  }, [JSON.stringify(touched), errors]);
  (0,external_react_.useEffect)(() => {
    if (isSubmitting) {
      (async () => await validateForm())();

      setTouched((0,external_formik_namespaceObject.setNestedObjectValues)(fields, true));
    }
  }, [errors, isSubmitting, setTouched, validateForm, fields]);
  return null;
};

/* harmony default export */ var formik_field_touched_FormikFieldTouched = (FormikFieldTouched);
;// CONCATENATED MODULE: ./components/common/index.ts
// 通用表单组件




// EXTERNAL MODULE: ./node_modules/@osui/select/lib/index.js
var lib = __webpack_require__(1850);
// EXTERNAL MODULE: ../../node_modules/@osui/radio/lib/index.js
var radio_lib = __webpack_require__(5397);
// EXTERNAL MODULE: ../../node_modules/@osui/space/lib/index.js
var space_lib = __webpack_require__(7973);
// EXTERNAL MODULE: ../../node_modules/@osui/input/lib/index.js
var input_lib = __webpack_require__(8589);
// EXTERNAL MODULE: ../../node_modules/@osui/button/lib/index.js
var button_lib = __webpack_require__(8333);
// EXTERNAL MODULE: ./lib/parse.ts
var parse = __webpack_require__(3471);
// EXTERNAL MODULE: ./components/debug/Debug.tsx
var Debug = __webpack_require__(202);
;// CONCATENATED MODULE: external "@ant-design/icons"
var icons_namespaceObject = require("@ant-design/icons");;
;// CONCATENATED MODULE: external "yup"
var external_yup_namespaceObject = require("yup");;
// EXTERNAL MODULE: ../../node_modules/@osui/message/lib/index.js
var message_lib = __webpack_require__(1690);
// EXTERNAL MODULE: ../../node_modules/@osui/form/lib/index.js
var form_lib = __webpack_require__(4882);
// EXTERNAL MODULE: ../../node_modules/@osui/alert/lib/index.js
var alert_lib = __webpack_require__(9570);
;// CONCATENATED MODULE: ./components/debug/Login.tsx








const LoginSchema = external_yup_namespaceObject.object({
  username: external_yup_namespaceObject.string().required(),
  password: external_yup_namespaceObject.string().required()
});

const Login = ({
  updateUser
}) => {
  const onLogin = (0,external_react_.useCallback)(async (values, {
    setSubmitting,
    setErrors
  }) => {
    setSubmitting(true);

    try {
      var _Parse$User;

      await (parse.default === null || parse.default === void 0 ? void 0 : (_Parse$User = parse.default.User) === null || _Parse$User === void 0 ? void 0 : _Parse$User.logIn(values.username, values.password));
      message_lib/* default.success */.Z.success('登录成功');
      setTimeout(() => {
        var _Parse$User2;

        updateUser(parse.default === null || parse.default === void 0 ? void 0 : (_Parse$User2 = parse.default.User) === null || _Parse$User2 === void 0 ? void 0 : _Parse$User2.current());
      });
    } catch (e) {
      setErrors({
        global: e.message
      });
    } finally {
      setSubmitting(false);
    }
  }, [updateUser]);
  return /*#__PURE__*/jsx_runtime_.jsx(external_formik_namespaceObject.Formik, {
    initialValues: {},
    onSubmit: onLogin,
    validationSchema: LoginSchema,
    children: ({
      handleSubmit,
      values,
      handleChange,
      errors,
      isSubmitting
    }) => /*#__PURE__*/(0,jsx_runtime_.jsxs)(form_lib/* default */.Z, {
      onFinish: handleSubmit,
      children: [/*#__PURE__*/jsx_runtime_.jsx("h2", {
        children: "\u767B\u5F55"
      }), /*#__PURE__*/jsx_runtime_.jsx(form_lib/* default.Item */.Z.Item, {
        name: "username",
        validateStatus: errors.username ? 'error' : 'success',
        help: errors.username,
        children: /*#__PURE__*/jsx_runtime_.jsx(input_lib/* default */.Z, {
          prefix: /*#__PURE__*/jsx_runtime_.jsx(icons_namespaceObject.UserOutlined, {}),
          placeholder: "\u7528\u6237\u540D or Email",
          value: values.username,
          onChange: handleChange
        })
      }), /*#__PURE__*/jsx_runtime_.jsx(form_lib/* default.Item */.Z.Item, {
        name: "password",
        validateStatus: errors.password ? 'error' : 'success',
        help: errors.password,
        children: /*#__PURE__*/jsx_runtime_.jsx(input_lib/* default */.Z, {
          prefix: /*#__PURE__*/jsx_runtime_.jsx(icons_namespaceObject.LockOutlined, {}),
          type: "password",
          placeholder: "\u5BC6\u7801",
          value: values.password,
          onChange: handleChange
        })
      }), errors.global && /*#__PURE__*/jsx_runtime_.jsx(form_lib/* default.Item */.Z.Item, {
        children: /*#__PURE__*/jsx_runtime_.jsx(alert_lib/* default */.Z, {
          message: errors.global,
          type: "error"
        })
      }), /*#__PURE__*/jsx_runtime_.jsx(form_lib/* default.Item */.Z.Item, {
        children: /*#__PURE__*/jsx_runtime_.jsx(button_lib.default, {
          block: true,
          type: "primary",
          htmlType: "submit",
          loading: isSubmitting,
          children: "\u767B\u5F55"
        })
      })]
    })
  });
};

/* harmony default export */ var debug_Login = (Login);
;// CONCATENATED MODULE: ../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!../../node_modules/less-loader/dist/cjs.js??ruleSet[1].rules[2].use[2]!../../node_modules/style-resources-loader/lib/index.js??ruleSet[1].rules[2].use[3]!./components/debug/SettingBox.less
// Exports
/* harmony default export */ var SettingBox = ({
	"panel": "panel__c52e594c"
});

;// CONCATENATED MODULE: ./components/debug/SettingBox.less

        // class-names-loader generated code for /Users/janlay/proxima-plugin-tools/packages/plugin-debug/components/debug/SettingBox.less
        
        
        

        var SettingBox_css = bind_default().bind(SettingBox);
        (0,dist_assign/* default */.Z)(SettingBox, SettingBox_css);

        /* harmony default export */ var debug_SettingBox = (SettingBox_css);
    
;// CONCATENATED MODULE: ./components/debug/SettingBox.tsx




function SettingBox_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }

function SettingBox_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { SettingBox_ownKeys(Object(source), true).forEach(function (key) { SettingBox_defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { SettingBox_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }

function SettingBox_defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }









const selectDefaultValue = 'http://';
const moduleNameArr = [{
  key: 'itemPanel',
  name: '卡片面板'
}, {
  key: 'itemAction',
  name: '卡片动作'
}, {
  key: 'itemActivity',
  name: '卡片活动'
}, {
  key: 'adminPage',
  name: '管理页面'
}, {
  key: 'appPage',
  name: '应用页面'
}, {
  key: 'workspacePage',
  name: '空间页面'
}];

const SettingBox_SettingBox = ({
  handleSubmit,
  initData,
  selectChange
}) => {
  const {
    0: currentUser,
    1: setCurrentUser
  } = (0,external_react_.useState)(null);

  const validate = value => {
    const errors = {};

    if (!value.loadType) {
      errors.loadType = addErrorMessage(errors.loadType, '加载方式不能为空');
    }

    if (!value.url || !value.url.trim()) {
      errors.url = addErrorMessage(errors.url, '地址不能为空');
    }

    if (!value.moduleName) {
      errors.moduleName = addErrorMessage(errors.moduleName, '扩展点不能为空');
    }

    if (['itemPanel', 'itemAction', 'itemActivity'].includes(value === null || value === void 0 ? void 0 : value.moduleName) && !value.itemId) {
      errors.itemId = addErrorMessage(errors.itemId, '卡片ID不能为空');
    }

    return errors;
  };

  const selectBefore = /*#__PURE__*/(0,jsx_runtime_.jsxs)(lib/* default */.Z, {
    defaultValue: selectDefaultValue,
    onChange: selectChange,
    children: [/*#__PURE__*/jsx_runtime_.jsx(lib/* default.Option */.Z.Option, {
      value: "http://",
      children: "http://"
    }), /*#__PURE__*/jsx_runtime_.jsx(lib/* default.Option */.Z.Option, {
      value: "https://",
      children: "https://"
    })]
  });

  const updateUser = (0,external_react_.useCallback)(user => {
    setCurrentUser(user);
  }, []);
  (0,external_react_.useEffect)(() => {
    var _Parse$User;

    setCurrentUser(parse.default === null || parse.default === void 0 ? void 0 : (_Parse$User = parse.default.User) === null || _Parse$User === void 0 ? void 0 : _Parse$User.current());
  }, []);
  (0,external_react_.useEffect)(() => {
    selectChange(selectDefaultValue);
  }, [selectChange]); // 已登录

  if (currentUser) {
    return /*#__PURE__*/jsx_runtime_.jsx("div", {
      className: debug_SettingBox('panel'),
      children: /*#__PURE__*/jsx_runtime_.jsx(external_formik_namespaceObject.Formik, {
        initialValues: initData,
        validate: validate,
        onSubmit: handleSubmit,
        children: ({
          handleSubmit,
          values
        }) => /*#__PURE__*/(0,jsx_runtime_.jsxs)(jsx_runtime_.Fragment, {
          children: [/*#__PURE__*/jsx_runtime_.jsx(formik_field_touched_FormikFieldTouched, {}), /*#__PURE__*/jsx_runtime_.jsx(form_field_FormField, {
            name: "loadType",
            label: "\u52A0\u8F7D\u65B9\u5F0F\uFF1A",
            required: true,
            children: ({
              field
            }) => /*#__PURE__*/jsx_runtime_.jsx(radio_lib/* default.Group */.Z.Group, SettingBox_objectSpread(SettingBox_objectSpread({}, field), {}, {
              children: /*#__PURE__*/jsx_runtime_.jsx(space_lib/* default */.Z, {
                direction: "vertical",
                children: Debug/* loadTypeArr.map */.w.map(({
                  key,
                  name
                }) => /*#__PURE__*/jsx_runtime_.jsx(radio_lib/* default */.Z, {
                  value: key,
                  children: name
                }, key))
              })
            }))
          }), /*#__PURE__*/jsx_runtime_.jsx(form_field_FormField, {
            name: "moduleName",
            label: "\u6269\u5C55\u70B9\uFF1A",
            required: true,
            children: ({
              field
            }) => /*#__PURE__*/jsx_runtime_.jsx(radio_lib/* default.Group */.Z.Group, SettingBox_objectSpread(SettingBox_objectSpread({}, field), {}, {
              children: /*#__PURE__*/jsx_runtime_.jsx(space_lib/* default */.Z, {
                direction: "vertical",
                children: moduleNameArr.map(({
                  key,
                  name
                }) => /*#__PURE__*/jsx_runtime_.jsx(radio_lib/* default */.Z, {
                  value: key,
                  children: name
                }, key))
              })
            }))
          }), /*#__PURE__*/jsx_runtime_.jsx(form_field_FormField, {
            name: "url",
            label: "\u5E94\u7528\u5730\u5740\uFF08\u5982\u8DF3\u8F6C\u6307\u5B9A\u8DEF\u7531\uFF0C\u4F7F\u7528hash\uFF09\uFF1A",
            required: true,
            children: ({
              field
            }) => /*#__PURE__*/jsx_runtime_.jsx(input_lib/* default */.Z, SettingBox_objectSpread(SettingBox_objectSpread({}, field), {}, {
              addonBefore: selectBefore,
              placeholder: "\u4F8B\uFF1Alocalhost:8080#/form"
            }))
          }), ['itemPanel', 'itemAction', 'itemActivity'].includes(values === null || values === void 0 ? void 0 : values.moduleName) && /*#__PURE__*/jsx_runtime_.jsx(form_field_FormField, {
            name: "itemId",
            label: "\u5361\u7247ID\uFF1A",
            required: true,
            children: ({
              field
            }) => /*#__PURE__*/jsx_runtime_.jsx(input_lib/* default */.Z, SettingBox_objectSpread(SettingBox_objectSpread({}, field), {}, {
              placeholder: "\u8BF7\u8F93\u5165\u5361\u7247ID"
            }))
          }), /*#__PURE__*/jsx_runtime_.jsx(form_field_FormField, {
            name: "appId",
            label: "\u5E94\u7528ID\uFF1A",
            children: ({
              field
            }) => /*#__PURE__*/jsx_runtime_.jsx(input_lib/* default */.Z, SettingBox_objectSpread(SettingBox_objectSpread({}, field), {}, {
              placeholder: "\u8BF7\u8F93\u5165app\u7684ID"
            }))
          }), /*#__PURE__*/jsx_runtime_.jsx(form_field_FormField, {
            name: "selfPropsObject",
            label: "\u81EA\u5B9A\u4E49\u4F20\u5165\u5E94\u7528\u7684\u6570\u636E\uFF1A",
            children: ({
              field
            }) => /*#__PURE__*/jsx_runtime_.jsx(input_lib/* default.TextArea */.Z.TextArea, SettingBox_objectSpread(SettingBox_objectSpread({
              autoSize: true,
              allowClear: true
            }, field), {}, {
              placeholder: "\u4F8B\uFF1A{ key: { key: value } }"
            }))
          }), /*#__PURE__*/jsx_runtime_.jsx(button_lib.default, {
            type: "primary",
            onClick: () => handleSubmit(),
            children: "\u4FDD\u5B58\u5E76\u52A0\u8F7D\u63D2\u4EF6"
          }, "submit")]
        })
      })
    });
  } // 未登录


  return /*#__PURE__*/jsx_runtime_.jsx("div", {
    className: debug_SettingBox('panel'),
    children: /*#__PURE__*/jsx_runtime_.jsx(debug_Login, {
      updateUser: updateUser
    })
  });
};

/* harmony default export */ var components_debug_SettingBox = (SettingBox_SettingBox);

/***/ }),

/***/ 3956:
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "T": function() { return /* binding */ PluginLoadType; }
/* harmony export */ });
let PluginLoadType;

(function (PluginLoadType) {
  PluginLoadType["Iframe"] = "Iframe";
  PluginLoadType["Micro"] = "Micro";
  PluginLoadType["RemoteJs"] = "RemoteJs";
})(PluginLoadType || (PluginLoadType = {}));

/***/ }),

/***/ 3665:
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
// ESM COMPAT FLAG
__webpack_require__.r(__webpack_exports__);

// EXPORTS
__webpack_require__.d(__webpack_exports__, {
  "hooks": function() { return /* reexport */ hooks_namespaceObject; },
  "lib": function() { return /* reexport */ lib_namespaceObject; },
  "schema": function() { return /* reexport */ schema_namespaceObject; }
});

// NAMESPACE OBJECT: ./lib/useParseQuery.ts
var useParseQuery_namespaceObject = {};
__webpack_require__.r(useParseQuery_namespaceObject);
__webpack_require__.d(useParseQuery_namespaceObject, {
  "FetchMethod": function() { return FetchMethod; },
  "default": function() { return lib_useParseQuery; },
  "fetcher": function() { return fetcher; }
});

// NAMESPACE OBJECT: ./lib/proxima-sdk/hooks/index.ts
var hooks_namespaceObject = {};
__webpack_require__.r(hooks_namespaceObject);
__webpack_require__.d(hooks_namespaceObject, {
  "useParseQuery": function() { return useParseQuery_namespaceObject; }
});

// NAMESPACE OBJECT: ./lib/proxima-sdk/lib/index.ts
var lib_namespaceObject = {};
__webpack_require__.r(lib_namespaceObject);
__webpack_require__.d(lib_namespaceObject, {
  "Parse": function() { return parse; }
});

// NAMESPACE OBJECT: ./lib/proxima-sdk/schema/index.ts
var schema_namespaceObject = {};
__webpack_require__.r(schema_namespaceObject);
__webpack_require__.d(schema_namespaceObject, {
  "App": function() { return App; },
  "AppInstallation": function() { return AppInstallation; },
  "AppVersion": function() { return AppVersion; },
  "Attachment": function() { return Attachment; },
  "Automation": function() { return Automation; },
  "Board": function() { return Board; },
  "Comment": function() { return Comment; },
  "CustomField": function() { return CustomField; },
  "DataSource": function() { return DataSource; },
  "DataSourceClassify": function() { return DataSourceClassify; },
  "FieldBehavior": function() { return FieldBehavior; },
  "FieldType": function() { return FieldType; },
  "Filter": function() { return Filter; },
  "Gantt": function() { return Gantt; },
  "Group": function() { return Group; },
  "Holiday": function() { return Holiday; },
  "Item": function() { return Item; },
  "ItemChange": function() { return ItemChange; },
  "ItemForest": function() { return ItemForest; },
  "ItemLink": function() { return ItemLink; },
  "ItemLinkType": function() { return ItemLinkType; },
  "ItemSecurityLevel": function() { return ItemSecurityLevel; },
  "ItemType": function() { return ItemType; },
  "ItemTypeScheme": function() { return ItemTypeScheme; },
  "ItemTypeScreenScheme": function() { return ItemTypeScreenScheme; },
  "ItemTypeScreenSchemeMapping": function() { return ItemTypeScreenSchemeMapping; },
  "Kanban": function() { return Kanban; },
  "Menu": function() { return Menu; },
  "ProcessBar": function() { return ProcessBar; },
  "Role": function() { return Role; },
  "Screen": function() { return Screen; },
  "ScreenScheme": function() { return ScreenScheme; },
  "Sprint": function() { return Sprint; },
  "Status": function() { return Status; },
  "Tenant": function() { return Tenant; },
  "User": function() { return User; },
  "Version": function() { return Version; },
  "View": function() { return View; },
  "ViewConfiguration": function() { return ViewConfiguration; },
  "WorkDay": function() { return WorkDay; },
  "Workflow": function() { return Workflow; },
  "WorkflowScheme": function() { return WorkflowScheme; },
  "WorkflowSchemeConfig": function() { return WorkflowSchemeConfig; },
  "Workspace": function() { return Workspace; },
  "WorkspaceMenu": function() { return WorkspaceMenu; },
  "WorkspaceTemplate": function() { return WorkspaceTemplate; },
  "WorkspaceType": function() { return WorkspaceType; }
});

;// CONCATENATED MODULE: external "swr"
var external_swr_namespaceObject = require("swr");;
var external_swr_default = /*#__PURE__*/__webpack_require__.n(external_swr_namespaceObject);
// EXTERNAL MODULE: ./lib/parse.ts
var parse = __webpack_require__(3471);
;// CONCATENATED MODULE: ./lib/useParseQuery.ts


let FetchMethod; // parse query fetcher
// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types

(function (FetchMethod) {
  FetchMethod["Default"] = "find";
  FetchMethod["All"] = "findAll";
  FetchMethod["First"] = "first";
  FetchMethod["Count"] = "count";
})(FetchMethod || (FetchMethod = {}));

async function fetcher(className, query, fetchMethod, options) {
  const q = parse.default.Query.fromJSON(className, JSON.parse(query));
  const o = JSON.parse(options || '{}');
  const data = await q[fetchMethod](o);

  if (fetchMethod === FetchMethod.Count) {
    return data;
  } else if (fetchMethod === FetchMethod.First) {
    return data === null || data === void 0 ? void 0 : data.toJSON();
  } else if (q._count) {
    var _data$results;

    return {
      count: data === null || data === void 0 ? void 0 : data.count,
      results: data === null || data === void 0 ? void 0 : (_data$results = data.results) === null || _data$results === void 0 ? void 0 : _data$results.map(each => each.toJSON())
    };
  } else {
    return data === null || data === void 0 ? void 0 : data.map(each => each.toJSON());
  }
}

const useParseQuery = (query, fetchMethod = FetchMethod.Default, config, options = {}) => {
  // serialize ParseQuery to string
  const o = JSON.stringify(options); // 如果传入的 query 为 falsy 值则不请求数据

  const shouldFetch = Boolean(query);
  return external_swr_default()(shouldFetch ? [query.className, JSON.stringify(query.toJSON()), fetchMethod, o] : null, fetcher, config); // return useSWR(() => {
  //   const q = JSON.stringify(query.toJSON());
  //   return [query.className, q, 'all']
  // }, allFetcher)
};

/* harmony default export */ var lib_useParseQuery = (useParseQuery);
;// CONCATENATED MODULE: ./lib/proxima-sdk/hooks/index.ts


;// CONCATENATED MODULE: ./lib/proxima-sdk/lib/index.ts


// EXTERNAL MODULE: external "lodash"
var external_lodash_ = __webpack_require__(3804);
;// CONCATENATED MODULE: ./lib/models.ts


const Attachment = parse.default.Object.extend('Attachment');
const Tenant = parse.default.Object.extend('Tenant');
const Workspace = parse.default.Object.extend('Workspace');
const WorkspaceMenu = parse.default.Object.extend('WorkspaceMenu');
const Version = parse.default.Object.extend('Version');
const Item = parse.default.Object.extend('Item');
const ItemType = parse.default.Object.extend('ItemType');
const ItemForest = parse.default.Object.extend('ItemForest');
const FieldType = parse.default.Object.extend('FieldType');
const CustomField = parse.default.Object.extend('CustomField');
const Screen = parse.default.Object.extend('Screen');
const Sprint = parse.default.Object.extend('Sprint');
const ItemLinkType = parse.default.Object.extend('ItemLinkType');
const Group = parse.default.Object.extend('Group');
const ItemChange = parse.default.Object.extend('ItemChange');
const Gantt = parse.default.Object.extend('Gantt');
const ProcessBar = parse.default.Object.extend('ProcessBar');
const Board = parse.default.Object.extend('Board');
const View = parse.default.Object.extend('View');
const ViewConfiguration = parse.default.Object.extend('ViewConfiguration', {
  // 更新配置
  setConfig: function (path, value) {
    const config = this.get('config') || {};
    (0,external_lodash_.set)(config, path, value);
    this.set('config', config);
    return this;
  },
  // 按照自定义字段数据排序
  setGroupBy: function (customField) {
    var _customField$get;

    const options = ((_customField$get = customField.get('data')) === null || _customField$get === void 0 ? void 0 : _customField$get.customData) || [];
    const columns = options.map(each => ({
      id: each.value,
      title: each.label
    }));
    this.setConfig('columns', columns);
  }
});
const User = parse.default.Object.extend('User');
const Role = parse.default.Role;
const ItemSecurityLevel = parse.default.Object.extend('ItemSecurityLevel');
const FieldBehavior = parse.default.Object.extend('FieldBehavior');
const DataSource = parse.default.Object.extend('DataSource');
const DataSourceClassify = parse.default.Object.extend('DataSourceClassify');
const Workflow = parse.default.Object.extend('Workflow');
const Status = parse.default.Object.extend('Status');
const WorkflowScheme = parse.default.Object.extend('WorkflowScheme');
const WorkflowSchemeConfig = parse.default.Object.extend('WorkflowSchemeConfig');
const ItemTypeScheme = parse.default.Object.extend('ItemTypeScheme');
const ItemTypeScreenScheme = parse.default.Object.extend('ItemTypeScreenScheme');
const Menu = parse.default.Object.extend('Menu');
const AppInstallation = parse.default.Object.extend('AppInstallation');
const App = parse.default.Object.extend('App');
const AppVersion = parse.default.Object.extend('AppVersion');
const WorkspaceTemplate = parse.default.Object.extend('WorkspaceTemplate', {
  setWorkspaceTemplate: function ({
    value
  }) {
    const itemTypeSchemeObj = ItemTypeScheme.createWithoutData(value.itemTypeScheme);
    /* const cardSecurityLevelObj = CardSecurityLevel.createWithoutData(value.cardSecurityLevel);*/

    const itemTypeScreenSchemeObj = ItemTypeScreenScheme.createWithoutData(value.itemTypeScreenScheme);
    const workflowSchemeObj = WorkflowScheme.createWithoutData(value.workflowScheme);
    /* const jurisdictionObj = Jurisdiction.createWithoutData(value.jurisdiction);*/

    /* const noticeObj = Notice.createWithoutData(value.notice);*/

    this.set({
      name: value.name,
      description: value.description,
      itemTypeScheme: itemTypeSchemeObj,
      itemTypeScreenScheme: itemTypeScreenSchemeObj,
      workflowScheme: workflowSchemeObj
      /* cardSecurityLevel: cardSecurityLevelObj,
      jurisdiction: jurisdictionObj,
      notice: noticeObj, */

    });
    return this;
  }
});
const WorkspaceType = parse.default.Object.extend('WorkspaceType', {
  setWorkspaceType: function ({
    value
  }) {
    const itemTypeScreenSchemeObj = ItemTypeScreenScheme.createWithoutData(value.itemTypeScreenScheme);
    const workflowSchemeObj = WorkflowScheme.createWithoutData(value.workflowScheme);
    this.set({
      name: value.name,
      description: value.description,
      icon: value.icon,
      itemTypeScreenScheme: itemTypeScreenSchemeObj,
      workflowScheme: workflowSchemeObj
    });
    return this;
  }
});
const Comment = parse.default.Object.extend('Comment', {
  setComment: function (value) {
    if (value.isEdit) {
      // 修改评论
      this.set({
        content: value.content
      });
    } else {
      const commentObj = value.parent ? Comment.createWithoutData(value.parent) : null;
      const itemObj = Item.createWithoutData(value.item);
      const userObj = User.createWithoutData(value.createdBy); // 添加评论

      this.set({
        parent: commentObj,
        item: itemObj,
        createdBy: userObj,
        content: value.content
      });
    }

    return this;
  }
});
const ItemLink = parse.default.Object.extend('ItemLink', {
  setItemLink: function (value) {
    const itemLinkTypeObj = ItemLinkType.createWithoutData(value.linkType);
    const itemSourceObj = Item.createWithoutData(value.source);
    const itemDestinationObj = Item.createWithoutData(value.destination);
    this.set({
      linkType: itemLinkTypeObj,
      source: itemSourceObj,
      destination: itemDestinationObj
    });
    return this;
  }
});
const ScreenScheme = parse.default.Object.extend('ScreenScheme', {
  setScreens: function (data) {
    ['defaultScreen', 'createScreen', 'viewScreen', 'editScreen'].reduce((memo, each) => {
      var _memo$each;

      if ((_memo$each = memo[each]) !== null && _memo$each !== void 0 && _memo$each.objectId) {
        memo[each] = Screen.createWithoutData(memo[each].objectId);
      }

      return memo;
    }, data);
    this.set(data);
    return this;
  }
});
const ItemTypeScreenSchemeMapping = parse.default.Object.extend('ItemTypeScreenSchemeMapping');
const Filter = parse.default.Object.extend('Filter', {
  setFilter: function (values) {
    // 将DSL处理成字符串形式，方便入库
    if (values.dsl) {
      values.dsl = JSON.stringify(values.dsl);
    }

    this.set(values);
  }
});
const Automation = parse.default.Object.extend('Automation');
const Kanban = parse.default.Object.extend('Kanban');
const WorkDay = parse.default.Object.extend('WorkDay');
const Holiday = parse.default.Object.extend('Holiday');

;// CONCATENATED MODULE: ./lib/proxima-sdk/schema/index.ts

;// CONCATENATED MODULE: ./lib/proxima-sdk/index.ts





/***/ }),

/***/ 9569:
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": function() { return /* binding */ Home; }
/* harmony export */ });
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(5282);
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var components_debug_Debug__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(202);


function Home() {
  return /*#__PURE__*/react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx(components_debug_Debug__WEBPACK_IMPORTED_MODULE_1__/* .default */ .Z, {});
}

/***/ }),

/***/ 2799:
/***/ (function(module) {

"use strict";
module.exports = require("@ant-design/icons/ArrowLeftOutlined");;

/***/ }),

/***/ 2008:
/***/ (function(module) {

"use strict";
module.exports = require("@ant-design/icons/ArrowRightOutlined");;

/***/ }),

/***/ 7838:
/***/ (function(module) {

"use strict";
module.exports = require("@ant-design/icons/BarsOutlined");;

/***/ }),

/***/ 7666:
/***/ (function(module) {

"use strict";
module.exports = require("@ant-design/icons/CheckCircleFilled");;

/***/ }),

/***/ 4647:
/***/ (function(module) {

"use strict";
module.exports = require("@ant-design/icons/CheckCircleOutlined");;

/***/ }),

/***/ 881:
/***/ (function(module) {

"use strict";
module.exports = require("@ant-design/icons/CheckOutlined");;

/***/ }),

/***/ 3481:
/***/ (function(module) {

"use strict";
module.exports = require("@ant-design/icons/CloseCircleFilled");;

/***/ }),

/***/ 4662:
/***/ (function(module) {

"use strict";
module.exports = require("@ant-design/icons/CloseCircleOutlined");;

/***/ }),

/***/ 2635:
/***/ (function(module) {

"use strict";
module.exports = require("@ant-design/icons/CloseOutlined");;

/***/ }),

/***/ 5082:
/***/ (function(module) {

"use strict";
module.exports = require("@ant-design/icons/DownOutlined");;

/***/ }),

/***/ 8279:
/***/ (function(module) {

"use strict";
module.exports = require("@ant-design/icons/EllipsisOutlined");;

/***/ }),

/***/ 4489:
/***/ (function(module) {

"use strict";
module.exports = require("@ant-design/icons/ExclamationCircleFilled");;

/***/ }),

/***/ 6306:
/***/ (function(module) {

"use strict";
module.exports = require("@ant-design/icons/ExclamationCircleOutlined");;

/***/ }),

/***/ 2315:
/***/ (function(module) {

"use strict";
module.exports = require("@ant-design/icons/EyeInvisibleOutlined");;

/***/ }),

/***/ 1461:
/***/ (function(module) {

"use strict";
module.exports = require("@ant-design/icons/EyeOutlined");;

/***/ }),

/***/ 5239:
/***/ (function(module) {

"use strict";
module.exports = require("@ant-design/icons/InfoCircleFilled");;

/***/ }),

/***/ 785:
/***/ (function(module) {

"use strict";
module.exports = require("@ant-design/icons/InfoCircleOutlined");;

/***/ }),

/***/ 4338:
/***/ (function(module) {

"use strict";
module.exports = require("@ant-design/icons/LeftOutlined");;

/***/ }),

/***/ 9076:
/***/ (function(module) {

"use strict";
module.exports = require("@ant-design/icons/LoadingOutlined");;

/***/ }),

/***/ 4386:
/***/ (function(module) {

"use strict";
module.exports = require("@ant-design/icons/QuestionCircleOutlined");;

/***/ }),

/***/ 2938:
/***/ (function(module) {

"use strict";
module.exports = require("@ant-design/icons/RightOutlined");;

/***/ }),

/***/ 1661:
/***/ (function(module) {

"use strict";
module.exports = require("@ant-design/icons/SearchOutlined");;

/***/ }),

/***/ 7367:
/***/ (function(module) {

"use strict";
module.exports = require("@ant-design/icons/lib/components/Context");;

/***/ }),

/***/ 4948:
/***/ (function(module) {

"use strict";
module.exports = require("@huse/boolean");;

/***/ }),

/***/ 842:
/***/ (function(module) {

"use strict";
module.exports = require("@huse/timeout");;

/***/ }),

/***/ 3725:
/***/ (function(module) {

"use strict";
module.exports = require("@osui/icons");;

/***/ }),

/***/ 4058:
/***/ (function(module) {

"use strict";
module.exports = require("classnames");;

/***/ }),

/***/ 9638:
/***/ (function(module) {

"use strict";
module.exports = require("hoist-non-react-statics");;

/***/ }),

/***/ 3804:
/***/ (function(module) {

"use strict";
module.exports = require("lodash");;

/***/ }),

/***/ 1941:
/***/ (function(module) {

"use strict";
module.exports = require("lodash.partial");;

/***/ }),

/***/ 223:
/***/ (function(module) {

"use strict";
module.exports = require("lodash/debounce");;

/***/ }),

/***/ 6414:
/***/ (function(module) {

"use strict";
module.exports = require("lodash/isEqual");;

/***/ }),

/***/ 4396:
/***/ (function(module) {

"use strict";
module.exports = require("parse/node");;

/***/ }),

/***/ 9508:
/***/ (function(module) {

"use strict";
module.exports = require("qiankun");;

/***/ }),

/***/ 4733:
/***/ (function(module) {

"use strict";
module.exports = require("rc-checkbox");;

/***/ }),

/***/ 8362:
/***/ (function(module) {

"use strict";
module.exports = require("rc-dropdown");;

/***/ }),

/***/ 3019:
/***/ (function(module) {

"use strict";
module.exports = require("rc-field-form");;

/***/ }),

/***/ 7094:
/***/ (function(module) {

"use strict";
module.exports = require("rc-field-form/lib/FieldContext");;

/***/ }),

/***/ 311:
/***/ (function(module) {

"use strict";
module.exports = require("rc-menu");;

/***/ }),

/***/ 2530:
/***/ (function(module) {

"use strict";
module.exports = require("rc-motion");;

/***/ }),

/***/ 137:
/***/ (function(module) {

"use strict";
module.exports = require("rc-notification");;

/***/ }),

/***/ 1014:
/***/ (function(module) {

"use strict";
module.exports = require("rc-notification/lib/useNotification");;

/***/ }),

/***/ 9992:
/***/ (function(module) {

"use strict";
module.exports = require("rc-pagination/lib/locale/en_US");;

/***/ }),

/***/ 7201:
/***/ (function(module) {

"use strict";
module.exports = require("rc-pagination/lib/locale/zh_CN");;

/***/ }),

/***/ 3197:
/***/ (function(module) {

"use strict";
module.exports = require("rc-picker/lib/locale/en_US");;

/***/ }),

/***/ 7168:
/***/ (function(module) {

"use strict";
module.exports = require("rc-picker/lib/locale/zh_CN");;

/***/ }),

/***/ 9527:
/***/ (function(module) {

"use strict";
module.exports = require("rc-resize-observer");;

/***/ }),

/***/ 1271:
/***/ (function(module) {

"use strict";
module.exports = require("rc-select");;

/***/ }),

/***/ 3007:
/***/ (function(module) {

"use strict";
module.exports = require("rc-textarea");;

/***/ }),

/***/ 628:
/***/ (function(module) {

"use strict";
module.exports = require("rc-tooltip");;

/***/ }),

/***/ 3020:
/***/ (function(module) {

"use strict";
module.exports = require("rc-tooltip/lib/placements");;

/***/ }),

/***/ 7787:
/***/ (function(module) {

"use strict";
module.exports = require("rc-util/lib/Children/toArray");;

/***/ }),

/***/ 3867:
/***/ (function(module) {

"use strict";
module.exports = require("rc-util/lib/Dom/canUseDom");;

/***/ }),

/***/ 3439:
/***/ (function(module) {

"use strict";
module.exports = require("rc-util/lib/Dom/dynamicCSS");;

/***/ }),

/***/ 2630:
/***/ (function(module) {

"use strict";
module.exports = require("rc-util/lib/KeyCode");;

/***/ }),

/***/ 5267:
/***/ (function(module) {

"use strict";
module.exports = require("rc-util/lib/hooks/useMemo");;

/***/ }),

/***/ 3363:
/***/ (function(module) {

"use strict";
module.exports = require("rc-util/lib/hooks/useMergedState");;

/***/ }),

/***/ 5469:
/***/ (function(module) {

"use strict";
module.exports = require("rc-util/lib/omit");;

/***/ }),

/***/ 110:
/***/ (function(module) {

"use strict";
module.exports = require("rc-util/lib/raf");;

/***/ }),

/***/ 4867:
/***/ (function(module) {

"use strict";
module.exports = require("rc-util/lib/ref");;

/***/ }),

/***/ 6183:
/***/ (function(module) {

"use strict";
module.exports = require("rc-util/lib/warning");;

/***/ }),

/***/ 9297:
/***/ (function(module) {

"use strict";
module.exports = require("react");;

/***/ }),

/***/ 5282:
/***/ (function(module) {

"use strict";
module.exports = require("react/jsx-runtime");;

/***/ }),

/***/ 6512:
/***/ (function(module) {

"use strict";
module.exports = require("regenerator-runtime");;

/***/ }),

/***/ 8379:
/***/ (function(module) {

"use strict";
module.exports = require("scroll-into-view-if-needed");;

/***/ })

};
;

// load runtime
var __webpack_require__ = require("../webpack-runtime.js");
__webpack_require__.C(exports);
var __webpack_exec__ = function(moduleId) { return __webpack_require__(__webpack_require__.s = moduleId); }
var __webpack_exports__ = __webpack_require__.X(0, [802,809,82], function() { return __webpack_exec__(9569); });
module.exports = __webpack_exports__;

})();