text: define("modules/clean/react/async/loadable",["require","exports","tslib","external/react","modules/core/cancelable_promise"],function(e,n,t,o,r){"use strict";function a(e){var n=e.loader,a=e.loading;return(function(e){function i(){var n=null!==e&&e.apply(this,arguments)||this;return n.state={loaded:!1},n}return t.__extends(i,e),i.prototype.componentDidMount=function(){return t.__awaiter(this,void 0,void 0,function(){var e=this;return t.__generator(this,function(t){switch(t.label){case 0:return this.loader=r.makeCancelable(n()),[4,this.loader.then(function(n){e.loadedComponent=n,e.setState({loaded:!0})})];case 1:return t.sent(),[2]}})})},i.prototype.componentWillUnmount=function(){this.loader.cancel()},i.prototype.render=function(){return this.state.loaded&&null!=this.loadedComponent?o.createElement(this.loadedComponent,this.props):a?"function"==typeof a?a(this.props):a:null},i.displayName="LoadableComponent",i})(o.Component)}Object.defineProperty(n,"__esModule",{value:!0}),n.Loadable=a}),define("modules/core/cancelable_promise",["require","exports"],function(e,n){"use strict";function t(e){var n=!1,t=new Promise(function(t,o){e.then(function(e){return n?o({isCanceled:!0}):t(e)},function(e){return o(n?{isCanceled:!0}:e)})});return t.cancel=function(){n=!0},t}Object.defineProperty(n,"__esModule",{value:!0}),n.makeCancelable=t});
  //# sourceMappingURL=pkg-loadable.min.js-vfljkd-9Z.map