{"version":3,"file":"polyfills-legacy-Ca1TOBqp.js","sources":["../../../../../systemjs/dist/s.min.js"],"sourcesContent":["/*!\r\n * SJS 6.15.1\r\n */\r\n!function(){function e(e,t){return(t||\"\")+\" (SystemJS https://github.com/systemjs/systemjs/blob/main/docs/errors.md#\"+e+\")\"}function t(e,t){if(-1!==e.indexOf(\"\\\\\")&&(e=e.replace(S,\"/\")),\"/\"===e[0]&&\"/\"===e[1])return t.slice(0,t.indexOf(\":\")+1)+e;if(\".\"===e[0]&&(\"/\"===e[1]||\".\"===e[1]&&(\"/\"===e[2]||2===e.length&&(e+=\"/\"))||1===e.length&&(e+=\"/\"))||\"/\"===e[0]){var r,n=t.slice(0,t.indexOf(\":\")+1);if(r=\"/\"===t[n.length+1]?\"file:\"!==n?(r=t.slice(n.length+2)).slice(r.indexOf(\"/\")+1):t.slice(8):t.slice(n.length+(\"/\"===t[n.length])),\"/\"===e[0])return t.slice(0,t.length-r.length-1)+e;for(var i=r.slice(0,r.lastIndexOf(\"/\")+1)+e,o=[],s=-1,c=0;cr.length&&\"/\"!==n[n.length-1]))return n+e.slice(r.length);c(\"W2\",r,n)}}function c(t,r,n){console.warn(e(t,[n,r].join(\", \")))}function u(e,t,r){for(var n=e.scopes,i=r&&o(r,n);i;){var c=s(t,n[i]);if(c)return c;i=o(i.slice(0,i.lastIndexOf(\"/\")),n)}return s(t,e.imports)||-1!==t.indexOf(\":\")&&t}function f(){this[b]={}}function a(t,r,n,i){var o=t[b][r];if(o)return o;var s=[],c=Object.create(null);j&&Object.defineProperty(c,j,{value:\"Module\"});var u=Promise.resolve().then((function(){return t.instantiate(r,n,i)})).then((function(n){if(!n)throw Error(e(2,r));var i=n[1]((function(e,t){o.h=!0;var r=!1;if(\"string\"==typeof e)e in c&&c[e]===t||(c[e]=t,r=!0);else{for(var n in e)t=e[n],n in c&&c[n]===t||(c[n]=t,r=!0);e&&e.__esModule&&(c.__esModule=e.__esModule)}if(r)for(var i=0;i-1){var r=document.createEvent(\"Event\");r.initEvent(\"error\",!1,!1),t.dispatchEvent(r)}return Promise.reject(e)}))}else if(\"systemjs-importmap\"===t.type){t.sp=!0;var n=t.src?(System.fetch||fetch)(t.src,{integrity:t.integrity,priority:t.fetchPriority,passThrough:!0}).then((function(e){if(!e.ok)throw Error(e.status);return e.text()})).catch((function(r){return r.message=e(\"W4\",t.src)+\"\\n\"+r.message,console.warn(r),\"function\"==typeof t.onerror&&t.onerror(),\"{}\"})):t.innerHTML;M=M.then((function(){return n})).then((function(r){!function(t,r,n){var o={};try{o=JSON.parse(r)}catch(s){console.warn(Error(e(\"W5\")))}i(o,n,t)}(R,r,t.src||p)}))}}))}var p,m=\"undefined\"!=typeof Symbol,g=\"undefined\"!=typeof self,y=\"undefined\"!=typeof document,E=g?self:global;if(y){var w=document.querySelector(\"base[href]\");w&&(p=w.href)}if(!p&&\"undefined\"!=typeof location){var O=(p=location.href.split(\"#\")[0].split(\"?\")[0]).lastIndexOf(\"/\");-1!==O&&(p=p.slice(0,O+1))}var x,S=/\\\\/g,j=m&&Symbol.toStringTag,b=m?Symbol():\"@\",P=f.prototype;P.import=function(e,t,r){var n=this;return t&&\"object\"==typeof t&&(r=t,t=void 0),Promise.resolve(n.prepareImport()).then((function(){return n.resolve(e,t,r)})).then((function(e){var t=a(n,e,void 0,r);return t.C||h(n,t)}))},P.createContext=function(e){var t=this;return{url:e,resolve:function(r,n){return Promise.resolve(t.resolve(r,n||e))}}},P.register=function(e,t,r){x=[e,t,r]},P.getRegister=function(){var e=x;return x=void 0,e};var I=Object.freeze(Object.create(null));E.System=new f;var L,C,M=Promise.resolve(),R={imports:{},scopes:{},depcache:{},integrity:{}},T=y;if(P.prepareImport=function(e){return(T||e)&&(v(),T=!1),M},P.getImportMap=function(){return JSON.parse(JSON.stringify(R))},y&&(v(),window.addEventListener(\"DOMContentLoaded\",v)),P.addImportMap=function(e,t){i(e,t||p,R)},y){window.addEventListener(\"error\",(function(e){J=e.filename,W=e.error}));var _=location.origin}P.createScript=function(e){var t=document.createElement(\"script\");t.async=!0,e.indexOf(_+\"/\")&&(t.crossOrigin=\"anonymous\");var r=R.integrity[e];return r&&(t.integrity=r),t.src=e,t};var J,W,q={},N=P.register;P.register=function(e,t){if(y&&\"loading\"===document.readyState&&\"string\"!=typeof e){var r=document.querySelectorAll(\"script[src]\"),n=r[r.length-1];if(n){L=e;var i=this;C=setTimeout((function(){q[n.src]=[e,t],i.import(n.src)}))}}else L=void 0;return N.call(this,e,t)},P.instantiate=function(t,r){var n=q[t];if(n)return delete q[t],n;var i=this;return Promise.resolve(P.createScript(t)).then((function(n){return new Promise((function(o,s){n.addEventListener(\"error\",(function(){s(Error(e(3,[t,r].join(\", \"))))})),n.addEventListener(\"load\",(function(){if(document.head.removeChild(n),J===t)s(W);else{var e=i.getRegister(t);e&&e[0]===L&&clearTimeout(C),o(e)}})),document.head.appendChild(n)}))}))},P.shouldFetch=function(){return!1},\"undefined\"!=typeof fetch&&(P.fetch=fetch);var k=P.instantiate,A=/^(text|application)\\/(x-)?javascript(;|$)/;P.instantiate=function(t,r,n){var i=this;return this.shouldFetch(t,r,n)?this.fetch(t,{credentials:\"same-origin\",integrity:R.integrity[t],meta:n}).then((function(n){if(!n.ok)throw Error(e(7,[n.status,n.statusText,t,r].join(\", \")));var o=n.headers.get(\"content-type\");if(!o||!A.test(o))throw Error(e(4,o));return n.text().then((function(e){return e.indexOf(\"//# sourceURL=\")<0&&(e+=\"\\n//# sourceURL=\"+t),(0,eval)(e),i.getRegister(t)}))})):k.apply(this,arguments)},P.resolve=function(r,n){return u(R,t(r,n=n||p)||r,n)||function(t,r){throw Error(e(8,[t,r].join(\", \")))}(r,n)};var F=P.instantiate;P.instantiate=function(e,t,r){var n=R.depcache[e];if(n)for(var i=0;i