text: System.register(["jimu-core","jimu-ui","jimu-for-builder","jimu-layouts/layout-runtime","jimu-for-builder/service","jimu-for-builder/templates","jimu-arcgis"],(function(e){var n,t,i,o,r,s,c;return{setters:[function(e){n=e},function(e){t=e},function(e){i=e},function(e){o=e},function(e){r=e},function(e){s=e},function(e){c=e}],execute:function(){e(function(e){var n={};function t(i){if(n[i])return n[i].exports;var o=n[i]={i:i,l:!1,exports:{}};return e[i].call(o.exports,o,o.exports,t),o.l=!0,o.exports}return t.m=e,t.c=n,t.d=function(e,n,i){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:i})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,n){if(1&n&&(e=t(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(t.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var o in e)t.d(i,o,function(n){return e[n]}.bind(null,o));return i},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},t.p="",t(t.s=45)}({0:function(e,t){e.exports=n},1:function(e,n){e.exports=t},13:function(e,n){e.exports=s},2:function(e,n){e.exports=i},25:function(e,n){e.exports=c},4:function(e,n){e.exports=o},45:function(e,n,t){"use strict";t.r(n);var i=t(0),o=t(2),r=t(25),s=t(4),c=t(1),u=t(13),a=t(8);Object(i.init)().then(c.init).then(s.init).then(o.init).then(u.init).then(r.init).then((function(){i.ExtensionManager.getInstance().registerExtension({epName:i.extensionSpec.ExtensionPoints.ReduxStore,extension:new o.AppStateReduxStoreExtension}),i.ExtensionManager.getInstance().registerExtension({epName:i.extensionSpec.ExtensionPoints.ReduxStore,extension:new o.AppStateHistoryExtension}),i.ExtensionManager.getInstance().registerExtension({epName:i.extensionSpec.ExtensionPoints.ReduxStore,extension:new o.BuilderStateReduxStoreExtension}),i.ExtensionManager.getInstance().registerExtension({epName:i.extensionSpec.ExtensionPoints.ReduxStore,extension:new o.BuilderStateResourceExtension}),i.ExtensionManager.getInstance().registerExtension({epName:i.extensionSpec.ExtensionPoints.DependencyDefine,extension:new r.ArcGISDependencyDefineExtension}),i.ExtensionManager.getInstance().registerExtension({epName:i.extensionSpec.ExtensionPoints.DataSourceFactoryUri,extension:new r.ArcGISDataSourceFactoryUriExtension}),o.builderAppSync.listenAppEvents(),function(){var e=i.SessionManager.getInstance();if(e.getMainSession())return;e.gotoLoginInPage()}(),i.privilegeUtils.checkExbAccess(i.privilegeUtils.CheckTarget.Builder).then((function(e){e.valid||Object(i.getAppStore)().dispatch(i.appActions.hasPrivilegeChanged(e.invalidMessage))})).catch((function(e){console.error(e),Object(i.getAppStore)().dispatch(i.appActions.hasPrivilegeChanged(e.message))})),a.userServices.initUserResource(),window.initStoreState?Object(i.preloadModulesForSSR)(window.initStoreState).then((function(){i.ReactDOM.hydrate(i.React.createElement(i.AppRoot,null),document.getElementById("app"))})):i.ReactDOM.render(i.React.createElement(i.AppRoot,null),document.getElementById("app"))})).catch((function(e){console.error(e)}))},8:function(e,n){e.exports=r}}))}}}));