var moduleLoader=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}([function(e,t,n){"use strict";function r(e,t,n=!1){return new Promise((r,o)=>{const a="resolve_callback_"+Math.round(1e5*Math.random());window[a]=(...t)=>{delete window[a],document.head.removeChild(c);const n=Array.from(t);let o=e.split(",");o=o.map(e=>e.trim());const u=n.reduce((e,t,n)=>(e[o[n]]=t,e),{});r(u)};const c=document.createElement("script");c.type="module",c.onerror=e=>{console.error("Failed load script from "+t),console.error(e),o(e)},c.text=n?`import ${e} from '${t}'; ${a}(${e}.default || ${e} );`:`import { ${e} } from '${t}'; ${a}(${e});`,document.head.appendChild(c)})}function o(e,t){return r(e,t)}function a(e,t){return r(e,t,!0)}function c(e,t={}){return new Promise((n,r)=>{const o="jsonp_callback_"+Math.round(1e5*Math.random());window[o]=e=>{delete window[o],document.head.removeChild(a),n(JSON.parse(e))},t&&Object.keys(t).forEach(n=>{e+=(e.indexOf("?")>=0?"&":"?")+n+"="+t[n]});const a=document.createElement("script");a.src=e+(e.indexOf("?")>=0?"&":"?")+"callback="+o+"&t="+Date.now(),a.onerror=t=>{console.error("Failed to load json from "+e),console.error(t),r(t)},document.head.appendChild(a)})}n.r(t),n.d(t,"dynamicImport",(function(){return o})),n.d(t,"dynamicImportDefault",(function(){return a})),n.d(t,"loadJsonJsonp",(function(){return c})),n.d(t,"loadJson",(function(){return u})),n.d(t,"loadLink",(function(){return d})),n.d(t,"loadScript",(function(){return i}));function u(e){return new Promise((t,n)=>{const r=new XMLHttpRequest;r.onload=function(){200===this.status?t(JSON.parse(this.response)):404!==this.status&&500!==this.status||n(this.response)},e=class{static guid(){const e=()=>Math.floor(65536*(1+Math.random())).toString(16).substring(1);return e()+e()+"-"+e()+"-"+e()+"-"+e()+"-"+e()+e()+e()}static addTimestamp(e){return e+(e.indexOf("?")>=0?"&":"?")+"t="+Date.now()}static isUrl(e){return new RegExp("^(?:[a-z]+:)?//","i").test(e)}}.addTimestamp(e),r.open("get",e,!0),r.send()})}function d(e,t,n){const r=document.createElement("link");n&&(r.type=n),r.rel=t,r.href=e,document.getElementsByTagName("head")[0].appendChild(r)}function i(e,t){const n=document.createElement("script");n.type="text/javascript",n.readyState?n.onreadystatechange=function(){"loaded"!==n.readyState&&"complete"!==n.readyState||(n.onreadystatechange=null,"function"==typeof t&&t())}:n.onload=function(){"function"==typeof t&&t()},n.src=e,document.getElementsByTagName("head")[0].appendChild(n)}}]);
export default moduleLoader;