!function(){"use strict";!function(){const t="undefined"!=typeof self,e="undefined"!=typeof document,n=t?self:global;let r;if(e){const t=document.querySelector("base[href]");t&&(r=t.href)}if(!r&&"undefined"!=typeof location){r=location.href.split("#")[0].split("?")[0];const t=r.lastIndexOf("/");-1!==t&&(r=r.slice(0,t+1))}const o=/\\/g;function i(t,e){if(-1!==t.indexOf("\\")&&(t=t.replace(o,"/")),"/"===t[0]&&"/"===t[1])return e.slice(0,e.indexOf(":")+1)+t;if("."===t[0]&&("/"===t[1]||"."===t[1]&&("/"===t[2]||2===t.length&&(t+="/"))||1===t.length&&(t+="/"))||"/"===t[0]){const n=e.slice(0,e.indexOf(":")+1);let r;if("/"===e[n.length+1]?"file:"!==n?(r=e.slice(n.length+2),r=r.slice(r.indexOf("/")+1)):r=e.slice(8):r=e.slice(n.length+("/"===e[n.length])),"/"===t[0])return e.slice(0,e.length-r.length-1)+t;const o=r.slice(0,r.lastIndexOf("/")+1)+t,i=[];let s=-1;for(let t=0;tn.length&&"/"!==r[r.length-1]))return r+t.slice(n.length);a(n,r,"should have a trailing '/'")}}function a(t,e,n){console.warn("Package target "+n+", resolving target '"+e+"' for "+t)}function h(t,e,n){let r=n&&l(n,t.scopes);for(;r;){const n=f(e,t.scopes[r]);if(n)return n;r=l(r.slice(0,r.lastIndexOf("/")),t.scopes)}return f(e,t.imports)||-1!==e.indexOf(":")&&e}var p=Object.freeze({hasSelf:t,hasDocument:e,global:n,get baseUrl(){return r},resolveIfNotPlainOrUrl:i,resolveUrl:s,resolveAndComposeImportMap:function(t,e,n){const r={imports:c({},n.imports),scopes:c({},n.scopes)};if(t.imports&&u(t.imports,r.imports,e,n,null),t.scopes)for(let o in t.scopes){const i=s(o,e);u(t.scopes[o],r.scopes[i]||(r.scopes[i]={}),e,n,i)}return r},resolveImportMap:h});const d="undefined"!=typeof Symbol,m=d&&Symbol.toStringTag,g=d?Symbol():"@";function y(){this[g]={}}const v=y.prototype;function b(t){return t.id}function O(t,e,n){if(t.onload(n,e.id,e.d&&e.d.map(b)),n)throw n}let w;v.patches={},v.patches.common=p,v.prepareImport=function(){},v.import=function(t,e){const n=this;return Promise.resolve(n.prepareImport()).then((function(){return n.resolve(t,e)})).then((function(t){const e=function t(e,n,r){let o=e[g][n];if(o)return o;const i=[],s=Object.create(null);m&&Object.defineProperty(s,m,{value:"Module"});let c=Promise.resolve().then((function(){return e.instantiate(n,r)})).then((function(t){if(!t)throw Error("Module "+n+" did not instantiate");const r=t[1]((function(t,e){o.h=!0;let n=!1;if("object"!=typeof t)t in s&&s[t]===e||(s[t]=e,n=!0);else{for(let e in t){let r=t[e];e in s&&s[e]===r||(s[e]=r,n=!0)}t.__esModule&&(s.__esModule=t.__esModule)}if(n)for(let t=0;t