MCPcopy
hub / github.com/vercel/next.js / requireModule

Function requireModule

packages/next/src/compiled/babel/bundle.js:1–1  ·  view source on GitHub ↗
(e,t,r)

Source from the content-addressed store, hash-verified

1(()=>{var e={5565:e=>{function webpackEmptyAsyncContext(e){return Promise.resolve().then((()=>{var t=new Error("Cannot find module '"+e+"'");t.code="MODULE_NOT_FOUND";throw t}))}webpackEmptyAsyncContext.keys=()=>[];webpackEmptyAsyncContext.resolve=webpackEmptyAsyncContext;webpackEmptyAsyncContext.id=5565;e.exports=webpackEmptyAsyncContext},3914:function(e,t,r){(function(t,n){true?e.exports=n(r(8536),r(2987)):0})(this,(function(e,t){"use strict";const r=SegmentObject("",-1,-1,"",null);const n=[];function SegmentObject(e,t,r,n,s){return{source:e,line:t,column:r,name:n,content:s}}function Source(e,t,r,n){return{map:e,sources:t,source:r,content:n}}function MapSource(e,t){return Source(e,t,"",null)}function OriginalSource(e,t){return Source(null,n,e,t)}function traceMappings(n){const s=new t.GenMapping({file:n.map.file});const{sources:i,map:a}=n;const o=a.names;const l=e.decodedMappings(a);for(let e=0;e<l.length;e++){const n=l[e];for(let a=0;a<n.length;a++){const l=n[a];const c=l[0];let p=r;if(l.length!==1){const e=i[l[1]];p=originalPositionFor(e,l[2],l[3],l.length===5?o[l[4]]:"");if(p==null)continue}const{column:u,line:d,name:f,content:h,source:m}=p;t.maybeAddSegment(s,e,c,m,d,u,f);if(m&&h!=null)t.setSourceContent(s,m,h)}}return s}function originalPositionFor(t,n,s,i){if(!t.map){return SegmentObject(t.source,n,s,i,t.content)}const a=e.traceSegment(t.map,n,s);if(a==null)return null;if(a.length===1)return r;return originalPositionFor(t.sources[a[1]],a[2],a[3],a.length===5?t.map.names[a[4]]:i)}function asArray(e){if(Array.isArray(e))return e;return[e]}function buildSourceMapTree(t,r){const n=asArray(t).map((t=>new e.TraceMap(t,"")));const s=n.pop();for(let e=0;e<n.length;e++){if(n[e].sources.length>1){throw new Error(`Transformation map ${e} must have exactly one source file.\n`+"Did you specify these with the most recent transformation maps first?")}}let i=build(s,r,"",0);for(let e=n.length-1;e>=0;e--){i=MapSource(n[e],[i])}return i}function build(t,r,n,s){const{resolvedSources:i,sourcesContent:a}=t;const o=s+1;const l=i.map(((t,s)=>{const i={importer:n,depth:o,source:t||"",content:undefined};const l=r(i.source,i);const{source:c,content:p}=i;if(l)return build(new e.TraceMap(l,c),r,c,o);const u=p!==undefined?p:a?a[s]:null;return OriginalSource(c,u)}));return MapSource(t,l)}class SourceMap{constructor(e,r){const n=r.decodedMappings?t.toDecodedMap(e):t.toEncodedMap(e);this.version=n.version;this.file=n.file;this.mappings=n.mappings;this.names=n.names;this.sourceRoot=n.sourceRoot;this.sources=n.sources;if(!r.excludeContent){this.sourcesContent=n.sourcesContent}}toString(){return JSON.stringify(this)}}function remapping(e,t,r){const n=typeof r==="object"?r:{excludeContent:!!r,decodedMappings:false};const s=buildSourceMapTree(e,t);return new SourceMap(traceMappings(s),n)}return remapping}))},2987:function(e,t,r){(function(e,n){true?n(t,r(7168),r(3649),r(8536)):0})(this,(function(e,t,r,n){"use strict";const s=0;const i=1;const a=2;const o=3;const l=4;const c=-1;e.addSegment=void 0;e.addMapping=void 0;e.maybeAddSegment=void 0;e.maybeAddMapping=void 0;e.setSourceContent=void 0;e.toDecodedMap=void 0;e.toEncodedMap=void 0;e.fromMap=void 0;e.allMappings=void 0;let p;class GenMapping{constructor({file:e,sourceRoot:r}={}){this._names=new t.SetArray;this._sources=new t.SetArray;this._sourcesContent=[];this._mappings=[];this.file=e;this.sourceRoot=r}}(()=>{e.addSegment=(e,t,r,n,s,i,a,o)=>p(false,e,t,r,n,s,i,a,o);e.maybeAddSegment=(e,t,r,n,s,i,a,o)=>p(true,e,t,r,n,s,i,a,o);e.addMapping=(e,t)=>addMappingInternal(false,e,t);e.maybeAddMapping=(e,t)=>addMappingInternal(true,e,t);e.setSourceContent=(e,r,n)=>{const{_sources:s,_sourcesContent:i}=e;i[t.put(s,r)]=n};e.toDecodedMap=e=>{const{file:t,sourceRoot:r,_mappings:n,_sources:s,_sourcesContent:i,_names:a}=e;removeEmptyFinalLines(n);return{version:3,file:t||undefined,names:a.array,sourceRoot:r||undefined,sources:s.array,sourcesContent:i,mappings:n}};e.toEncodedMap=t=>{const n=e.toDecodedMap(t);return Object.assign(Object.assign({},n),{mappings:r.encode(n.mappings)})};e.allMappings=e=>{const t=[];const{_mappings:r,_sources:n,_names:c}=e;for(let e=0;e<r.length;e++){const p=r[e];for(let r=0;r<p.length;r++){const u=p[r];const d={line:e+1,column:u[s]};let f=undefined;let h=undefined;let m=undefined;if(u.length!==1){f=n.array[u[i]];h={line:u[a]+1,column:u[o]};if(u.length===5)m=c.array[u[l]]}t.push({generated:d,source:f,original:h,name:m})}}return t};e.fromMap=e=>{const t=new n.TraceMap(e);const r=new GenMapping({file:t.file,sourceRoot:t.sourceRoot});putAll(r._names,t.names);putAll(r._sources,t.sources);r._sourcesContent=t.sourcesContent||t.sources.map((()=>null));r._mappings=n.decodedMappings(t);return r};p=(e,r,n,s,i,a,o,l,p)=>{const{_mappings:u,_sources:d,_sourcesContent:f,_names:h}=r;const m=getLine(u,n);const y=getColumnIndex(m,s);if(!i){if(e&&skipSourceless(m,y))return;return insert(m,y,[s])}const g=t.put(d,i);const b=l?t.put(h,l):c;if(g===f.length)f[g]=p!==null&&p!==void 0?p:null;if(e&&skipSource(m,y,g,a,o,b)){return}return insert(m,y,l?[s,g,a,o,b]:[s,g,a,o])}})();function getLine(e,t){for(let r=e.length;r<=t;r++){e[r]=[]}return e[t]}function getColumnIndex(e,t){let r=e.length;for(let n=r-1;n>=0;r=n--){const r=e[n];if(t>=r[s])break}return r}function insert(e,t,r){for(let r=e.length;r>t;r--){e[r]=e[r-1]}e[t]=r}function removeEmptyFinalLines(e){const{length:t}=e;let r=t;for(let t=r-1;t>=0;r=t,t--){if(e[t].length>0)break}if(r<t)e.length=r}function putAll(e,r){for(let n=0;n<r.length;n++)t.put(e,r[n])}function skipSourceless(e,t){if(t===0)return true;const r=e[t-1];return r.length===1}function skipSource(e,t,r,n,s,p){if(t===0)return false;const u=e[t-1];if(u.length===1)return false;return r===u[i]&&n===u[a]&&s===u[o]&&p===(u.length===5?u[l]:c)}function addMappingInternal(e,t,r){const{generated:n,source:s,original:i,name:a,content:o}=r;if(!s){return p(e,t,n.line-1,n.column,null,null,null,null,null)}const l=s;return p(e,t,n.line-1,n.column,l,i.line-1,i.column,a,o)}e.GenMapping=GenMapping;Object.defineProperty(e,"__esModule",{value:true})}))},7237:function(e,t,r){(function(e,n){true?n(t,r(7734),r(8918),r(8536)):0})(this,(function(e,t,r,n){"use strict";const s=0;const i=1;const a=2;const o=3;const l=4;const c=-1;class GenMapping{constructor({file:e,sourceRoot:r}={}){this._names=new t.SetArray;this._sources=new t.SetArray;this._sourcesContent=[];this._mappings=[];this.file=e;this.sourceRoot=r;this._ignoreList=new t.SetArray}}function cast(e){return e}function addSegment(e,t,r,n,s,i,a,o){return addSegmentInternal(false,e,t,r,n,s,i,a,o)}function addMapping(e,t){return addMappingInternal(false,e,t)}const maybeAddSegment=(e,t,r,n,s,i,a,o)=>addSegmentInternal(true,e,t,r,n,s,i,a,o);const maybeAddMapping=(e,t)=>addMappingInternal(true,e,t);function setSourceContent(e,r,n){const{_sources:s,_sourcesContent:i}=cast(e);const a=t.put(s,r);i[a]=n}function setIgnore(e,r,n=true){const{_sources:s,_sourcesContent:i,_ignoreList:a}=cast(e);const o=t.put(s,r);if(o===i.length)i[o]=null;if(n)t.put(a,o);else t.remove(a,o)}function toDecodedMap(e){const{_mappings:t,_sources:r,_sourcesContent:n,_names:s,_ignoreList:i}=cast(e);removeEmptyFinalLines(t);return{version:3,file:e.file||undefined,names:s.array,sourceRoot:e.sourceRoot||undefined,sources:r.array,sourcesContent:n,mappings:t,ignoreList:i.array}}function toEncodedMap(e){const t=toDecodedMap(e);return Object.assign(Object.assign({},t),{mappings:r.encode(t.mappings)})}function fromMap(e){const t=new n.TraceMap(e);const r=new GenMapping({file:t.file,sourceRoot:t.sourceRoot});putAll(cast(r)._names,t.names);putAll(cast(r)._sources,t.sources);cast(r)._sourcesContent=t.sourcesContent||t.sources.map((()=>null));cast(r)._mappings=n.decodedMappings(t);if(t.ignoreList)putAll(cast(r)._ignoreList,t.ignoreList);return r}function allMappings(e){const t=[];const{_mappings:r,_sources:n,_names:c}=cast(e);for(let e=0;e<r.length;e++){const p=r[e];for(let r=0;r<p.length;r++){const u=p[r];const d={line:e+1,column:u[s]};let f=undefined;let h=undefined;let m=undefined;if(u.length!==1){f=n.array[u[i]];h={line:u[a]+1,column:u[o]};if(u.length===5)m=c.array[u[l]]}t.push({generated:d,source:f,original:h,name:m})}}return t}function addSegmentInternal(e,r,n,s,i,a,o,l,p){const{_mappings:u,_sources:d,_sourcesContent:f,_names:h}=cast(r);const m=getLine(u,n);const y=getColumnIndex(m,s);if(!i){if(e&&skipSourceless(m,y))return;return insert(m,y,[s])}const g=t.put(d,i);const b=l?t.put(h,l):c;if(g===f.length)f[g]=p!==null&&p!==void 0?p:null;if(e&&skipSource(m,y,g,a,o,b)){return}return insert(m,y,l?[s,g,a,o,b]:[s,g,a,o])}function getLine(e,t){for(let r=e.length;r<=t;r++){e[r]=[]}return e[t]}function getColumnIndex(e,t){let r=e.length;for(let n=r-1;n>=0;r=n--){const r=e[n];if(t>=r[s])break}return r}function insert(e,t,r){for(let r=e.length;r>t;r--){e[r]=e[r-1]}e[t]=r}function removeEmptyFinalLines(e){const{length:t}=e;let r=t;for(let t=r-1;t>=0;r=t,t--){if(e[t].length>0)break}if(r<t)e.length=r}function putAll(e,r){for(let n=0;n<r.length;n++)t.put(e,r[n])}function skipSourceless(e,t){if(t===0)return true;const r=e[t-1];return r.length===1}function skipSource(e,t,r,n,s,p){if(t===0)return false;const u=e[t-1];if(u.length===1)return false;return r===u[i]&&n===u[a]&&s===u[o]&&p===(u.length===5?u[l]:c)}function addMappingInternal(e,t,r){const{generated:n,source:s,original:i,name:a,content:o}=r;if(!s){return addSegmentInternal(e,t,n.line-1,n.column,null,null,null,null,null)}return addSegmentInternal(e,t,n.line-1,n.column,s,i.line-1,i.column,a,o)}e.GenMapping=GenMapping;e.addMapping=addMapping;e.addSegment=addSegment;e.allMappings=allMappings;e.fromMap=fromMap;e.maybeAddMapping=maybeAddMapping;e.maybeAddSegment=maybeAddSegment;e.setIgnore=setIgnore;e.setSourceContent=setSourceContent;e.toDecodedMap=toDecodedMap;e.toEncodedMap=toEncodedMap;Object.defineProperty(e,"__esModule",{value:true})}))},6982:function(e){(function(t,r){true?e.exports=r():0})(this,(function(){"use strict";const e=/^[\w+.-]+:\/\//;const t=/^([\w+.-]+:)\/\/([^@/#?]*@)?([^:/#?]*)(:\d+)?(\/[^#?]*)?(\?[^#]*)?(#.*)?/;const r=/^file:(?:\/\/((?![a-z]:)[^/#?]*)?)?(\/?[^#?]*)(\?[^#]*)?(#.*)?/i;var n;(function(e){e[e["Empty"]=1]="Empty";e[e["Hash"]=2]="Hash";e[e["Query"]=3]="Query";e[e["RelativePath"]=4]="RelativePath";e[e["AbsolutePath"]=5]="AbsolutePath";e[e["SchemeRelative"]=6]="SchemeRelative";e[e["Absolute"]=7]="Absolute"})(n||(n={}));function isAbsoluteUrl(t){return e.test(t)}function isSchemeRelativeUrl(e){return e.startsWith("//")}function isAbsolutePath(e){return e.startsWith("/")}function isFileUrl(e){return e.startsWith("file:")}function isRelative(e){return/^[.?#]/.test(e)}function parseAbsoluteUrl(e){const r=t.exec(e);return makeUrl(r[1],r[2]||"",r[3],r[4]||"",r[5]||"/",r[6]||"",r[7]||"")}function parseFileUrl(e){const t=r.exec(e);const n=t[2];return makeUrl("file:","",t[1]||"","",isAbsolutePath(n)?n:"/"+n,t[3]||"",t[4]||"")}function makeUrl(e,t,r,s,i,a,o){return{scheme:e,user:t,host:r,port:s,path:i,query:a,hash:o,type:n.Absolute}}function parseUrl(e){if(isSchemeRelativeUrl(e)){const t=parseAbsoluteUrl("http:"+e);t.scheme="";t.type=n.SchemeRelative;return t}if(isAbsolutePath(e)){const t=parseAbsoluteUrl("http://foo.com"+e);t.scheme="";t.host="";t.type=n.AbsolutePath;return t}if(isFileUrl(e))return parseFileUrl(e);if(isAbsoluteUrl(e))return parseAbsoluteUrl(e);const t=parseAbsoluteUrl("http://foo.com/"+e);t.scheme="";t.host="";t.type=e?e.startsWith("?")?n.Query:e.startsWith("#")?n.Hash:n.RelativePath:n.Empty;return t}function stripPathFilename(e){if(e.endsWith("/.."))return e;const t=e.lastIndexOf("/");return e.slice(0,t+1)}function mergePaths(e,t){normalizePath(t,t.type);if(e.path==="/"){e.path=t.path}else{e.path=stripPathFilename(t.path)+e.path}}function normalizePath(e,t){const r=t<=n.RelativePath;const s=e.path.split("/");let i=1;let a=0;let o=false;for(let e=1;e<s.length;e++){const t=s[e];if(!t){o=true;continue}o=false;if(t===".")continue;if(t===".."){if(a){o=true;a--;i--}else if(r){s[i++]=t}continue}s[i++]=t;a++}let l="";for(let e=1;e<i;e++){l+="/"+s[e]}if(!l||o&&!l.endsWith("/..")){l+="/"}e.path=l}function resolve(e,t){if(!e&&!t)return"";const r=parseUrl(e);let s=r.type;if(t&&s!==n.Absolute){const e=parseUrl(t);const i=e.type;switch(s){case n.Empty:r.hash=e.hash;case n.Hash:r.query=e.query;case n.Query:case n.RelativePath:mergePaths(r,e);case n.AbsolutePath:r.user=e.user;r.host=e.host;r.port=e.port;case n.SchemeRelative:r.scheme=e.scheme}if(i>s)s=i}normalizePath(r,s);const i=r.query+r.hash;switch(s){case n.Hash:case n.Query:return i;case n.RelativePath:{const n=r.path.slice(1);if(!n)return i||".";if(isRelative(t||e)&&!isRelative(n)){return"./"+n+i}return n+i}case n.AbsolutePath:return r.path+i;default:return r.scheme+"//"+r.user+r.host+r.port+r.path+i}}return resolve}))},7168:function(e,t){(function(e,r){true?r(t):0})(this,(function(e){"use strict";e.get=void 0;e.put=void 0;e.pop=void 0;class SetArray{constructor(){this._indexes={__proto__:null};this.array=[]}}(()=>{e.get=(e,t)=>e._indexes[t];e.put=(t,r)=>{const n=e.get(t,r);if(n!==undefined)return n;const{array:s,_indexes:i}=t;return i[r]=s.push(r)-1};e.pop=e=>{const{array:t,_indexes:r}=e;if(t.length===0)return;const n=t.pop();r[n]=undefined}})();e.SetArray=SetArray;Object.defineProperty(e,"__esModule",{value:true})}))},7734:function(e,t){(function(e,r){true?r(t):0})(this,(function(e){"use strict";class SetArray{constructor(){this._indexes={__proto__:null};this.array=[]}}function cast(e){return e}function get(e,t){return cast(e)._indexes[t]}function put(e,t){const r=get(e,t);if(r!==undefined)return r;const{array:n,_indexes:s}=cast(e);const i=n.push(t);return s[t]=i-1}function pop(e){const{array:t,_indexes:r}=cast(e);if(t.length===0)return;const n=t.pop();r[n]=undefined}function remove(e,t){const r=get(e,t);if(r===undefined)return;const{array:n,_indexes:s}=cast(e);for(let e=r+1;e<n.length;e++){const t=n[e];n[e-1]=t;s[t]--}s[t]=undefined;n.pop()}e.SetArray=SetArray;e.get=get;e.pop=pop;e.put=put;e.remove=remove;Object.defineProperty(e,"__esModule",{value:true})}))},8918:function(e,t){(function(e,r){true?r(t):0})(this,(function(e){"use strict";const t=",".charCodeAt(0);const r=";".charCodeAt(0);const n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";const s=new Uint8Array(64);const i=new Uint8Array(128);for(let e=0;e<n.length;e++){const t=n.charCodeAt(e);s[e]=t;i[t]=e}function decodeInteger(e,t){let r=0;let n=0;let s=0;do{const t=e.next();s=i[t];r|=(s&31)<<n;n+=5}while(s&32);const a=r&1;r>>>=1;if(a){r=-2147483648|-r}return t+r}function encodeInteger(e,t,r){let n=t-r;n=n<0?-n<<1|1:n<<1;do{let t=n&31;n>>>=5;if(n>0)t|=32;e.write(s[t])}while(n>0);return t}function hasMoreVlq(e,r){if(e.pos>=r)return false;return e.peek()!==t}const a=1024*16;const o=typeof TextDecoder!=="undefined"?new TextDecoder:typeof Buffer!=="undefined"?{decode(e){const t=Buffer.from(e.buffer,e.byteOffset,e.byteLength);return t.toString()}}:{decode(e){let t="";for(let r=0;r<e.length;r++){t+=String.fromCharCode(e[r])}return t}};class StringWriter{constructor(){this.pos=0;this.out="";this.buffer=new Uint8Array(a)}write(e){const{buffer:t}=this;t[this.pos++]=e;if(this.pos===a){this.out+=o.decode(t);this.pos=0}}flush(){const{buffer:e,out:t,pos:r}=this;return r>0?t+o.decode(e.subarray(0,r)):t}}class StringReader{constructor(e){this.pos=0;this.buffer=e}next(){return this.buffer.charCodeAt(this.pos++)}peek(){return this.buffer.charCodeAt(this.pos)}indexOf(e){const{buffer:t,pos:r}=this;const n=t.indexOf(e,r);return n===-1?t.length:n}}const l=[];function decodeOriginalScopes(e){const{length:t}=e;const r=new StringReader(e);const n=[];const s=[];let i=0;for(;r.pos<t;r.pos++){i=decodeInteger(r,i);const e=decodeInteger(r,0);if(!hasMoreVlq(r,t)){const t=s.pop();t[2]=i;t[3]=e;continue}const a=decodeInteger(r,0);const o=decodeInteger(r,0);const c=o&1;const p=c?[i,e,0,0,a,decodeInteger(r,0)]:[i,e,0,0,a];let u=l;if(hasMoreVlq(r,t)){u=[];do{const e=decodeInteger(r,0);u.push(e)}while(hasMoreVlq(r,t))}p.vars=u;n.push(p);s.push(p)}return n}function encodeOriginalScopes(e){const t=new StringWriter;for(let r=0;r<e.length;){r=_encodeOriginalScopes(e,r,t,[0])}return t.flush()}function _encodeOriginalScopes(e,r,n,s){const i=e[r];const{0:a,1:o,2:l,3:c,4:p,vars:u}=i;if(r>0)n.write(t);s[0]=encodeInteger(n,a,s[0]);encodeInteger(n,o,0);encodeInteger(n,p,0);const d=i.length===6?1:0;encodeInteger(n,d,0);if(i.length===6)encodeInteger(n,i[5],0);for(const e of u){encodeInteger(n,e,0)}for(r++;r<e.length;){const t=e[r];const{0:i,1:a}=t;if(i>l||i===l&&a>=c){break}r=_encodeOriginalScopes(e,r,n,s)}n.write(t);s[0]=encodeInteger(n,l,s[0]);encodeInteger(n,c,0);return r}function decodeGeneratedRanges(e){const{length:t}=e;const r=new StringReader(e);const n=[];const s=[];let i=0;let a=0;let o=0;let c=0;let p=0;let u=0;let d=0;let f=0;do{const e=r.indexOf(";");let t=0;for(;r.pos<e;r.pos++){t=decodeInteger(r,t);if(!hasMoreVlq(r,e)){const e=s.pop();e[2]=i;e[3]=t;continue}const h=decodeInteger(r,0);const m=h&1;const y=h&2;const g=h&4;let b=null;let T=l;let S;if(m){const e=decodeInteger(r,a);o=decodeInteger(r,a===e?o:0);a=e;S=[i,t,0,0,e,o]}else{S=[i,t,0,0]}S.isScope=!!g;if(y){const e=c;const t=p;c=decodeInteger(r,c);const n=e===c;p=decodeInteger(r,n?p:0);u=decodeInteger(r,n&&t===p?u:0);b=[c,p,u]}S.callsite=b;if(hasMoreVlq(r,e)){T=[];do{d=i;f=t;const e=decodeInteger(r,0);let n;if(e<-1){n=[[decodeInteger(r,0)]];for(let t=-1;t>e;t--){const e=d;d=decodeInteger(r,d);f=decodeInteger(r,d===e?f:0);const t=decodeInteger(r,0);n.push([t,d,f])}}else{n=[[e]]}T.push(n)}while(hasMoreVlq(r,e))}S.bindings=T;n.push(S);s.push(S)}i++;r.pos=e+1}while(r.pos<t);return n}function encodeGeneratedRanges(e){if(e.length===0)return"";const t=new StringWriter;for(let r=0;r<e.length;){r=_encodeGeneratedRanges(e,r,t,[0,0,0,0,0,0,0])}return t.flush()}function _encodeGeneratedRanges(e,r,n,s){const i=e[r];const{0:a,1:o,2:l,3:c,isScope:p,callsite:u,bindings:d}=i;if(s[0]<a){catchupLine(n,s[0],a);s[0]=a;s[1]=0}else if(r>0){n.write(t)}s[1]=encodeInteger(n,i[1],s[1]);const f=(i.length===6?1:0)|(u?2:0)|(p?4:0);encodeInteger(n,f,0);if(i.length===6){const{4:e,5:t}=i;if(e!==s[2]){s[3]=0}s[2]=encodeInteger(n,e,s[2]);s[3]=encodeInteger(n,t,s[3])}if(u){const{0:e,1:t,2:r}=i.callsite;if(e!==s[4]){s[5]=0;s[6]=0}else if(t!==s[5]){s[6]=0}s[4]=encodeInteger(n,e,s[4]);s[5]=encodeInteger(n,t,s[5]);s[6]=encodeInteger(n,r,s[6])}if(d){for(const e of d){if(e.length>1)encodeInteger(n,-e.length,0);const t=e[0][0];encodeInteger(n,t,0);let r=a;let s=o;for(let t=1;t<e.length;t++){const i=e[t];r=encodeInteger(n,i[1],r);s=encodeInteger(n,i[2],s);encodeInteger(n,i[0],0)}}}for(r++;r<e.length;){const t=e[r];const{0:i,1:a}=t;if(i>l||i===l&&a>=c){break}r=_encodeGeneratedRanges(e,r,n,s)}if(s[0]<l){catchupLine(n,s[0],l);s[0]=l;s[1]=0}else{n.write(t)}s[1]=encodeInteger(n,c,s[1]);return r}function catchupLine(e,t,n){do{e.write(r)}while(++t<n)}function decode(e){const{length:t}=e;const r=new StringReader(e);const n=[];let s=0;let i=0;let a=0;let o=0;let l=0;do{const e=r.indexOf(";");const t=[];let c=true;let p=0;s=0;while(r.pos<e){let n;s=decodeInteger(r,s);if(s<p)c=false;p=s;if(hasMoreVlq(r,e)){i=decodeInteger(r,i);a=decodeInteger(r,a);o=decodeInteger(r,o);if(hasMoreVlq(r,e)){l=decodeInteger(r,l);n=[s,i,a,o,l]}else{n=[s,i,a,o]}}else{n=[s]}t.push(n);r.pos++}if(!c)sort(t);n.push(t);r.pos=e+1}while(r.pos<=t);return n}function sort(e){e.sort(sortComparator)}function sortComparator(e,t){return e[0]-t[0]}function encode(e){const n=new StringWriter;let s=0;let i=0;let a=0;let o=0;for(let l=0;l<e.length;l++){const c=e[l];if(l>0)n.write(r);if(c.length===0)continue;let p=0;for(let e=0;e<c.length;e++){const r=c[e];if(e>0)n.write(t);p=encodeInteger(n,r[0],p);if(r.length===1)continue;s=encodeInteger(n,r[1],s);i=encodeInteger(n,r[2],i);a=encodeInteger(n,r[3],a);if(r.length===4)continue;o=encodeInteger(n,r[4],o)}}return n.flush()}e.decode=decode;e.decodeGeneratedRanges=decodeGeneratedRanges;e.decodeOriginalScopes=decodeOriginalScopes;e.encode=encode;e.encodeGeneratedRanges=encodeGeneratedRanges;e.encodeOriginalScopes=encodeOriginalScopes;Object.defineProperty(e,"__esModule",{value:true})}))},3649:function(e,t,r){e=r.nmd(e);(function(t,r){if(true){r(e);e.exports=def(e)}else{}function def(e){return"default"in e.exports?e.exports.default:e.exports}})(this,(function(e){"use strict";var t=Object.defineProperty;var r=Object.getOwnPropertyDescriptor;var n=Object.getOwnPropertyNames;var s=Object.prototype.hasOwnProperty;var __export=(e,r)=>{for(var n in r)t(e,n,{get:r[n],enumerable:true})};var __copyProps=(e,i,a,o)=>{if(i&&typeof i==="object"||typeof i==="function"){for(let l of n(i))if(!s.call(e,l)&&l!==a)t(e,l,{get:()=>i[l],enumerable:!(o=r(i,l))||o.enumerable})}return e};var __toCommonJS=e=>__copyProps(t({},"__esModule",{value:true}),e);var i={};__export(i,{decode:()=>decode,decodeGeneratedRanges:()=>decodeGeneratedRanges,decodeOriginalScopes:()=>decodeOriginalScopes,encode:()=>encode,encodeGeneratedRanges:()=>encodeGeneratedRanges,encodeOriginalScopes:()=>encodeOriginalScopes});e.exports=__toCommonJS(i);var a=",".charCodeAt(0);var o=";".charCodeAt(0);var l="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";var c=new Uint8Array(64);var p=new Uint8Array(128);for(let e=0;e<l.length;e++){const t=l.charCodeAt(e);c[e]=t;p[t]=e}function decodeInteger(e,t){let r=0;let n=0;let s=0;do{const t=e.next();s=p[t];r|=(s&31)<<n;n+=5}while(s&32);const i=r&1;r>>>=1;if(i){r=-2147483648|-r}return t+r}function encodeInteger(e,t,r){let n=t-r;n=n<0?-n<<1|1:n<<1;do{let t=n&31;n>>>=5;if(n>0)t|=32;e.write(c[t])}while(n>0);return t}function hasMoreVlq(e,t){if(e.pos>=t)return false;return e.peek()!==a}var u=1024*16;var d=typeof TextDecoder!=="undefined"?new TextDecoder:typeof Buffer!=="undefined"?{decode(e){const t=Buffer.from(e.buffer,e.byteOffset,e.byteLength);return t.toString()}}:{decode(e){let t="";for(let r=0;r<e.length;r++){t+=String.fromCharCode(e[r])}return t}};var f=class{constructor(){this.pos=0;this.out="";this.buffer=new Uint8Array(u)}write(e){const{buffer:t}=this;t[this.pos++]=e;if(this.pos===u){this.out+=d.decode(t);this.pos=0}}flush(){const{buffer:e,out:t,pos:r}=this;return r>0?t+d.decode(e.subarray(0,r)):t}};var h=class{constructor(e){this.pos=0;this.buffer=e}next(){return this.buffer.charCodeAt(this.pos++)}peek(){return this.buffer.charCodeAt(this.pos)}indexOf(e){const{buffer:t,pos:r}=this;const n=t.indexOf(e,r);return n===-1?t.length:n}};var m=[];function decodeOriginalScopes(e){const{length:t}=e;const r=new h(e);const n=[];const s=[];let i=0;for(;r.pos<t;r.pos++){i=decodeInteger(r,i);const e=decodeInteger(r,0);if(!hasMoreVlq(r,t)){const t=s.pop();t[2]=i;t[3]=e;continue}const a=decodeInteger(r,0);const o=decodeInteger(r,0);const l=o&1;const c=l?[i,e,0,0,a,decodeInteger(r,0)]:[i,e,0,0,a];let p=m;if(hasMoreVlq(r,t)){p=[];do{const e=decodeInteger(r,0);p.push(e)}while(hasMoreVlq(r,t))}c.vars=p;n.push(c);s.push(c)}return n}function encodeOriginalScopes(e){const t=new f;for(let r=0;r<e.length;){r=_encodeOriginalScopes(e,r,t,[0])}return t.flush()}function _encodeOriginalScopes(e,t,r,n){const s=e[t];const{0:i,1:o,2:l,3:c,4:p,vars:u}=s;if(t>0)r.write(a);n[0]=encodeInteger(r,i,n[0]);encodeInteger(r,o,0);encodeInteger(r,p,0);const d=s.length===6?1:0;encodeInteger(r,d,0);if(s.length===6)encodeInteger(r,s[5],0);for(const e of u){encodeInteger(r,e,0)}for(t++;t<e.length;){const s=e[t];const{0:i,1:a}=s;if(i>l||i===l&&a>=c){break}t=_encodeOriginalScopes(e,t,r,n)}r.write(a);n[0]=encodeInteger(r,l,n[0]);encodeInteger(r,c,0);return t}function decodeGeneratedRanges(e){const{length:t}=e;const r=new h(e);const n=[];const s=[];let i=0;let a=0;let o=0;let l=0;let c=0;let p=0;let u=0;let d=0;do{const e=r.indexOf(";");let t=0;for(;r.pos<e;r.pos++){t=decodeInteger(r,t);if(!hasMoreVlq(r,e)){const e=s.pop();e[2]=i;e[3]=t;continue}const f=decodeInteger(r,0);const h=f&1;const y=f&2;const g=f&4;let b=null;let T=m;let S;if(h){const e=decodeInteger(r,a);o=decodeInteger(r,a===e?o:0);a=e;S=[i,t,0,0,e,o]}else{S=[i,t,0,0]}S.isScope=!!g;if(y){const e=l;const t=c;l=decodeInteger(r,l);const n=e===l;c=decodeInteger(r,n?c:0);p=decodeInteger(r,n&&t===c?p:0);b=[l,c,p]}S.callsite=b;if(hasMoreVlq(r,e)){T=[];do{u=i;d=t;const e=decodeInteger(r,0);let n;if(e<-1){n=[[decodeInteger(r,0)]];for(let t=-1;t>e;t--){const e=u;u=decodeInteger(r,u);d=decodeInteger(r,u===e?d:0);const t=decodeInteger(r,0);n.push([t,u,d])}}else{n=[[e]]}T.push(n)}while(hasMoreVlq(r,e))}S.bindings=T;n.push(S);s.push(S)}i++;r.pos=e+1}while(r.pos<t);return n}function encodeGeneratedRanges(e){if(e.length===0)return"";const t=new f;for(let r=0;r<e.length;){r=_encodeGeneratedRanges(e,r,t,[0,0,0,0,0,0,0])}return t.flush()}function _encodeGeneratedRanges(e,t,r,n){const s=e[t];const{0:i,1:o,2:l,3:c,isScope:p,callsite:u,bindings:d}=s;if(n[0]<i){catchupLine(r,n[0],i);n[0]=i;n[1]=0}else if(t>0){r.write(a)}n[1]=encodeInteger(r,s[1],n[1]);const f=(s.length===6?1:0)|(u?2:0)|(p?4:0);encodeInteger(r,f,0);if(s.length===6){const{4:e,5:t}=s;if(e!==n[2]){n[3]=0}n[2]=encodeInteger(r,e,n[2]);n[3]=encodeInteger(r,t,n[3])}if(u){const{0:e,1:t,2:i}=s.callsite;if(e!==n[4]){n[5]=0;n[6]=0}else if(t!==n[5]){n[6]=0}n[4]=encodeInteger(r,e,n[4]);n[5]=encodeInteger(r,t,n[5]);n[6]=encodeInteger(r,i,n[6])}if(d){for(const e of d){if(e.length>1)encodeInteger(r,-e.length,0);const t=e[0][0];encodeInteger(r,t,0);let n=i;let s=o;for(let t=1;t<e.length;t++){const i=e[t];n=encodeInteger(r,i[1],n);s=encodeInteger(r,i[2],s);encodeInteger(r,i[0],0)}}}for(t++;t<e.length;){const s=e[t];const{0:i,1:a}=s;if(i>l||i===l&&a>=c){break}t=_encodeGeneratedRanges(e,t,r,n)}if(n[0]<l){catchupLine(r,n[0],l);n[0]=l;n[1]=0}else{r.write(a)}n[1]=encodeInteger(r,c,n[1]);return t}function catchupLine(e,t,r){do{e.write(o)}while(++t<r)}function decode(e){const{length:t}=e;const r=new h(e);const n=[];let s=0;let i=0;let a=0;let o=0;let l=0;do{const e=r.indexOf(";");const t=[];let c=true;let p=0;s=0;while(r.pos<e){let n;s=decodeInteger(r,s);if(s<p)c=false;p=s;if(hasMoreVlq(r,e)){i=decodeInteger(r,i);a=decodeInteger(r,a);o=decodeInteger(r,o);if(hasMoreVlq(r,e)){l=decodeInteger(r,l);n=[s,i,a,o,l]}else{n=[s,i,a,o]}}else{n=[s]}t.push(n);r.pos++}if(!c)sort(t);n.push(t);r.pos=e+1}while(r.pos<=t);return n}function sort(e){e.sort(sortComparator)}function sortComparator(e,t){return e[0]-t[0]}function encode(e){const t=new f;let r=0;let n=0;let s=0;let i=0;for(let l=0;l<e.length;l++){const c=e[l];if(l>0)t.write(o);if(c.length===0)continue;let p=0;for(let e=0;e<c.length;e++){const o=c[e];if(e>0)t.write(a);p=encodeInteger(t,o[0],p);if(o.length===1)continue;r=encodeInteger(t,o[1],r);n=encodeInteger(t,o[2],n);s=encodeInteger(t,o[3],s);if(o.length===4)continue;i=encodeInteger(t,o[4],i)}}return t.flush()}}))},8536:function(e,t,r){(function(e,n){true?n(t,r(8918),r(6982)):0})(this,(function(e,t,r){"use strict";function resolve(e,t){if(t&&!t.endsWith("/"))t+="/";return r(e,t)}function stripFilename(e){if(!e)return"";const t=e.lastIndexOf("/");return e.slice(0,t+1)}const n=0;const s=1;const i=2;const a=3;const o=4;const l=1;const c=2;function maybeSort(e,t){const r=nextUnsortedSegmentLine(e,0);if(r===e.length)return e;if(!t)e=e.slice();for(let n=r;n<e.length;n=nextUnsortedSegmentLine(e,n+1)){e[n]=sortSegments(e[n],t)}return e}function nextUnsortedSegmentLine(e,t){for(let r=t;r<e.length;r++){if(!isSorted(e[r]))return r}return e.length}function isSorted(e){for(let t=1;t<e.length;t++){if(e[t][n]<e[t-1][n]){return false}}return true}function sortSegments(e,t){if(!t)e=e.slice();return e.sort(sortComparator)}function sortComparator(e,t){return e[n]-t[n]}let p=false;function binarySearch(e,t,r,s){while(r<=s){const i=r+(s-r>>1);const a=e[i][n]-t;if(a===0){p=true;return i}if(a<0){r=i+1}else{s=i-1}}p=false;return r-1}function upperBound(e,t,r){for(let s=r+1;s<e.length;r=s++){if(e[s][n]!==t)break}return r}function lowerBound(e,t,r){for(let s=r-1;s>=0;r=s--){if(e[s][n]!==t)break}return r}function memoizedState(){return{lastKey:-1,lastNeedle:-1,lastIndex:-1}}function memoizedBinarySearch(e,t,r,s){const{lastKey:i,lastNeedle:a,lastIndex:o}=r;let l=0;let c=e.length-1;if(s===i){if(t===a){p=o!==-1&&e[o][n]===t;return o}if(t>=a){l=o===-1?0:o}else{c=o}}r.lastKey=s;r.lastNeedle=t;return r.lastIndex=binarySearch(e,t,l,c)}function buildBySources(e,t){const r=t.map(buildNullArray);for(let o=0;o<e.length;o++){const l=e[o];for(let e=0;e<l.length;e++){const c=l[e];if(c.length===1)continue;const p=c[s];const u=c[i];const d=c[a];const f=r[p];const h=f[u]||(f[u]=[]);const m=t[p];let y=upperBound(h,d,memoizedBinarySearch(h,d,m,u));m.lastIndex=++y;insert(h,y,[d,o,c[n]])}}return r}function insert(e,t,r){for(let r=e.length;r>t;r--){e[r]=e[r-1]}e[t]=r}function buildNullArray(){return{__proto__:null}}const AnyMap=function(e,t){const r=parse(e);if(!("sections"in r)){return new TraceMap(r,t)}const n=[];const s=[];const i=[];const a=[];const o=[];recurse(r,t,n,s,i,a,o,0,0,Infinity,Infinity);const l={version:3,file:r.file,names:a,sources:s,sourcesContent:i,mappings:n,ignoreList:o};return presortedDecodedMap(l)};function parse(e){return typeof e==="string"?JSON.parse(e):e}function recurse(e,t,r,n,s,i,a,o,l,c,p){const{sections:u}=e;for(let e=0;e<u.length;e++){const{map:d,offset:f}=u[e];let h=c;let m=p;if(e+1<u.length){const t=u[e+1].offset;h=Math.min(c,o+t.line);if(h===c){m=Math.min(p,l+t.column)}else if(h<c){m=l+t.column}}addSection(d,t,r,n,s,i,a,o+f.line,l+f.column,h,m)}}function addSection(e,t,r,l,c,p,u,d,f,h,m){const y=parse(e);if("sections"in y)return recurse(...arguments);const g=new TraceMap(y,t);const b=l.length;const T=p.length;const S=decodedMappings(g);const{resolvedSources:x,sourcesContent:E,ignoreList:P}=g;append(l,x);append(p,g.names);if(E)append(c,E);else for(let e=0;e<x.length;e++)c.push(null);if(P)for(let e=0;e<P.length;e++)u.push(P[e]+b);for(let e=0;e<S.length;e++){const t=d+e;if(t>h)return;const l=getLine(r,t);const c=e===0?f:0;const p=S[e];for(let e=0;e<p.length;e++){const r=p[e];const u=c+r[n];if(t===h&&u>=m)return;if(r.length===1){l.push([u]);continue}const d=b+r[s];const f=r[i];const y=r[a];l.push(r.length===4?[u,d,f,y]:[u,d,f,y,T+r[o]])}}}function append(e,t){for(let r=0;r<t.length;r++)e.push(t[r])}function getLine(e,t){for(let r=e.length;r<=t;r++)e[r]=[];return e[t]}const u="`line` must be greater than 0 (lines start at line 1)";const d="`column` must be greater than or equal to 0 (columns start at column 0)";const f=-1;const h=1;class TraceMap{constructor(e,t){const r=typeof e==="string";if(!r&&e._decodedMemo)return e;const n=r?JSON.parse(e):e;const{version:s,file:i,names:a,sourceRoot:o,sources:l,sourcesContent:c}=n;this.version=s;this.file=i;this.names=a||[];this.sourceRoot=o;this.sources=l;this.sourcesContent=c;this.ignoreList=n.ignoreList||n.x_google_ignoreList||undefined;const p=resolve(o||"",stripFilename(t));this.resolvedSources=l.map((e=>resolve(e||"",p)));const{mappings:u}=n;if(typeof u==="string"){this._encoded=u;this._decoded=undefined}else{this._encoded=undefined;this._decoded=maybeSort(u,r)}this._decodedMemo=memoizedState();this._bySources=undefined;this._bySourceMemos=undefined}}function cast(e){return e}function encodedMappings(e){var r;var n;return(r=(n=cast(e))._encoded)!==null&&r!==void 0?r:n._encoded=t.encode(cast(e)._decoded)}function decodedMappings(e){var r;return(r=cast(e))._decoded||(r._decoded=t.decode(cast(e)._encoded))}function traceSegment(e,t,r){const n=decodedMappings(e);if(t>=n.length)return null;const s=n[t];const i=traceSegmentInternal(s,cast(e)._decodedMemo,t,r,h);return i===-1?null:s[i]}function originalPositionFor(e,t){let{line:r,column:n,bias:l}=t;r--;if(r<0)throw new Error(u);if(n<0)throw new Error(d);const c=decodedMappings(e);if(r>=c.length)return OMapping(null,null,null,null);const p=c[r];const f=traceSegmentInternal(p,cast(e)._decodedMemo,r,n,l||h);if(f===-1)return OMapping(null,null,null,null);const m=p[f];if(m.length===1)return OMapping(null,null,null,null);const{names:y,resolvedSources:g}=e;return OMapping(g[m[s]],m[i]+1,m[a],m.length===5?y[m[o]]:null)}function generatedPositionFor(e,t){const{source:r,line:n,column:s,bias:i}=t;return generatedPosition(e,r,n,s,i||h,false)}function allGeneratedPositionsFor(e,t){const{source:r,line:n,column:s,bias:i}=t;return generatedPosition(e,r,n,s,i||f,true)}function eachMapping(e,t){const r=decodedMappings(e);const{names:n,resolvedSources:s}=e;for(let e=0;e<r.length;e++){const i=r[e];for(let r=0;r<i.length;r++){const a=i[r];const o=e+1;const l=a[0];let c=null;let p=null;let u=null;let d=null;if(a.length!==1){c=s[a[1]];p=a[2]+1;u=a[3]}if(a.length===5)d=n[a[4]];t({generatedLine:o,generatedColumn:l,source:c,originalLine:p,originalColumn:u,name:d})}}}function sourceIndex(e,t){const{sources:r,resolvedSources:n}=e;let s=r.indexOf(t);if(s===-1)s=n.indexOf(t);return s}function sourceContentFor(e,t){const{sourcesContent:r}=e;if(r==null)return null;const n=sourceIndex(e,t);return n===-1?null:r[n]}function isIgnored(e,t){const{ignoreList:r}=e;if(r==null)return false;const n=sourceIndex(e,t);return n===-1?false:r.includes(n)}function presortedDecodedMap(e,t){const r=new TraceMap(clone(e,[]),t);cast(r)._decoded=e.mappings;return r}function decodedMap(e){return clone(e,decodedMappings(e))}function encodedMap(e){return clone(e,encodedMappings(e))}function clone(e,t){return{version:e.version,file:e.file,names:e.names,sourceRoot:e.sourceRoot,sources:e.sources,sourcesContent:e.sourcesContent,mappings:t,ignoreList:e.ignoreList||e.x_google_ignoreList}}function OMapping(e,t,r,n){return{source:e,line:t,column:r,name:n}}function GMapping(e,t){return{line:e,column:t}}function traceSegmentInternal(e,t,r,n,s){let i=memoizedBinarySearch(e,n,t,r);if(p){i=(s===f?upperBound:lowerBound)(e,n,i)}else if(s===f)i++;if(i===-1||i===e.length)return-1;return i}function sliceGeneratedPositions(e,t,r,s,i){let a=traceSegmentInternal(e,t,r,s,h);if(!p&&i===f)a++;if(a===-1||a===e.length)return[];const o=p?s:e[a][n];if(!p)a=lowerBound(e,o,a);const u=upperBound(e,o,a);const d=[];for(;a<=u;a++){const t=e[a];d.push(GMapping(t[l]+1,t[c]))}return d}function generatedPosition(e,t,r,n,s,i){var a;r--;if(r<0)throw new Error(u);if(n<0)throw new Error(d);const{sources:o,resolvedSources:p}=e;let f=o.indexOf(t);if(f===-1)f=p.indexOf(t);if(f===-1)return i?[]:GMapping(null,null);const h=(a=cast(e))._bySources||(a._bySources=buildBySources(decodedMappings(e),cast(e)._bySourceMemos=o.map(memoizedState)));const m=h[f][r];if(m==null)return i?[]:GMapping(null,null);const y=cast(e)._bySourceMemos[f];if(i)return sliceGeneratedPositions(m,y,r,n,s);const g=traceSegmentInternal(m,y,r,n,s);if(g===-1)return GMapping(null,null);const b=m[g];return GMapping(b[l]+1,b[c])}e.AnyMap=AnyMap;e.GREATEST_LOWER_BOUND=h;e.LEAST_UPPER_BOUND=f;e.TraceMap=TraceMap;e.allGeneratedPositionsFor=allGeneratedPositionsFor;e.decodedMap=decodedMap;e.decodedMappings=decodedMappings;e.eachMapping=eachMapping;e.encodedMap=encodedMap;e.encodedMappings=encodedMappings;e.generatedPositionFor=generatedPositionFor;e.isIgnored=isIgnored;e.originalPositionFor=originalPositionFor;e.presortedDecodedMap=presortedDecodedMap;e.sourceContentFor=sourceContentFor;e.traceSegment=traceSegment}))},133:(e,t)=>{"use strict";Object.defineProperty(t,"commentRegex",{get:function getCommentRegex(){return/^\s*?\/[\/\*][@#]\s+?sourceMappingURL=data:(((?:application|text)\/json)(?:;charset=([^;,]+?)?)?)?(?:;(base64))?,(.*?)$/gm}});Object.defineProperty(t,"mapFileCommentRegex",{get:function getMapFileCommentRegex(){return/(?:\/\/[@#][ \t]+?sourceMappingURL=([^\s'"`]+?)[ \t]*?$)|(?:\/\*[@#][ \t]+sourceMappingURL=([^*]+?)[ \t]*?(?:\*\/){1}[ \t]*?$)/gm}});var r;if(typeof Buffer!=="undefined"){if(typeof Buffer.from==="function"){r=decodeBase64WithBufferFrom}else{r=decodeBase64WithNewBuffer}}else{r=decodeBase64WithAtob}function decodeBase64WithBufferFrom(e){return Buffer.from(e,"base64").toString()}function decodeBase64WithNewBuffer(e){if(typeof value==="number"){throw new TypeError("The value to decode must not be of type number.")}return new Buffer(e,"base64").toString()}function decodeBase64WithAtob(e){return decodeURIComponent(escape(atob(e)))}function stripComment(e){return e.split(",").pop()}function readFromFileMap(e,r){var n=t.mapFileCommentRegex.exec(e);var s=n[1]||n[2];try{var e=r(s);if(e!=null&&typeof e.catch==="function"){return e.catch(throwError)}else{return e}}catch(e){throwError(e)}function throwError(e){throw new Error("An error occurred while trying to read the map file at "+s+"\n"+e.stack)}}function Converter(e,t){t=t||{};if(t.hasComment){e=stripComment(e)}if(t.encoding==="base64"){e=r(e)}else if(t.encoding==="uri"){e=decodeURIComponent(e)}if(t.isJSON||t.encoding){e=JSON.parse(e)}this.sourcemap=e}Converter.prototype.toJSON=function(e){return JSON.stringify(this.sourcemap,null,e)};if(typeof Buffer!=="undefined"){if(typeof Buffer.from==="function"){Converter.prototype.toBase64=encodeBase64WithBufferFrom}else{Converter.prototype.toBase64=encodeBase64WithNewBuffer}}else{Converter.prototype.toBase64=encodeBase64WithBtoa}function encodeBase64WithBufferFrom(){var e=this.toJSON();return Buffer.from(e,"utf8").toString("base64")}function encodeBase64WithNewBuffer(){var e=this.toJSON();if(typeof e==="number"){throw new TypeError("The json to encode must not be of type number.")}return new Buffer(e,"utf8").toString("base64")}function encodeBase64WithBtoa(){var e=this.toJSON();return btoa(unescape(encodeURIComponent(e)))}Converter.prototype.toURI=function(){var e=this.toJSON();return encodeURIComponent(e)};Converter.prototype.toComment=function(e){var t,r,n;if(e!=null&&e.encoding==="uri"){t="";r=this.toURI()}else{t=";base64";r=this.toBase64()}n="sourceMappingURL=data:application/json;charset=utf-8"+t+","+r;return e!=null&&e.multiline?"/*# "+n+" */":"//# "+n};Converter.prototype.toObject=function(){return JSON.parse(this.toJSON())};Converter.prototype.addProperty=function(e,t){if(this.sourcemap.hasOwnProperty(e))throw new Error('property "'+e+'" already exists on the sourcemap, use set property instead');return this.setProperty(e,t)};Converter.prototype.setProperty=function(e,t){this.sourcemap[e]=t;return this};Converter.prototype.getProperty=function(e){return this.sourcemap[e]};t.fromObject=function(e){return new Converter(e)};t.fromJSON=function(e){return new Converter(e,{isJSON:true})};t.fromURI=function(e){return new Converter(e,{encoding:"uri"})};t.fromBase64=function(e){return new Converter(e,{encoding:"base64"})};t.fromComment=function(e){var r,n;e=e.replace(/^\/\*/g,"//").replace(/\*\/$/g,"");r=t.commentRegex.exec(e);n=r&&r[4]||"uri";return new Converter(e,{encoding:n,hasComment:true})};function makeConverter(e){return new Converter(e,{isJSON:true})}t.fromMapFileComment=function(e,t){if(typeof t==="string"){throw new Error("String directory paths are no longer supported with `fromMapFileComment`\n"+"Please review the Upgrading documentation at https://github.com/thlorenz/convert-source-map#upgrading")}var r=readFromFileMap(e,t);if(r!=null&&typeof r.then==="function"){return r.then(makeConverter)}else{return makeConverter(r)}};t.fromSource=function(e){var r=e.match(t.commentRegex);return r?t.fromComment(r.pop()):null};t.fromMapFileSource=function(e,r){if(typeof r==="string"){throw new Error("String directory paths are no longer supported with `fromMapFileSource`\n"+"Please review the Upgrading documentation at https://github.com/thlorenz/convert-source-map#upgrading")}var n=e.match(t.mapFileCommentRegex);return n?t.fromMapFileComment(n.pop(),r):null};t.removeComments=function(e){return e.replace(t.commentRegex,"")};t.removeMapFileComments=function(e){return e.replace(t.mapFileCommentRegex,"")};t.generateMapFileComment=function(e,t){var r="sourceMappingURL="+e;return t&&t.multiline?"/*# "+r+" */":"//# "+r}},6433:e=>{"use strict";const t=Symbol.for("gensync:v1:start");const r=Symbol.for("gensync:v1:suspend");const n="GENSYNC_EXPECTED_START";const s="GENSYNC_EXPECTED_SUSPEND";const i="GENSYNC_OPTIONS_ERROR";const a="GENSYNC_RACE_NONEMPTY";const o="GENSYNC_ERRBACK_NO_CALLBACK";e.exports=Object.assign((function gensync(e){let t=e;if(typeof e!=="function"){t=newGenerator(e)}else{t=wrapGenerator(e)}return Object.assign(t,makeFunctionAPI(t))}),{all:buildOperation({name:"all",arity:1,sync:function(e){const t=Array.from(e[0]);return t.map((e=>evaluateSync(e)))},async:function(e,t,r){const n=Array.from(e[0]);if(n.length===0){Promise.resolve().then((()=>t([])));return}let s=0;const i=n.map((()=>undefined));n.forEach(((e,n)=>{evaluateAsync(e,(e=>{i[n]=e;s+=1;if(s===i.length)t(i)}),r)}))}}),race:buildOperation({name:"race",arity:1,sync:function(e){const t=Array.from(e[0]);if(t.length===0){throw makeError("Must race at least 1 item",a)}return evaluateSync(t[0])},async:function(e,t,r){const n=Array.from(e[0]);if(n.length===0){throw makeError("Must race at least 1 item",a)}for(const e of n){evaluateAsync(e,t,r)}}})});function makeFunctionAPI(e){const t={sync:function(...t){return evaluateSync(e.apply(this,t))},async:function(...t){return new Promise(((r,n)=>{evaluateAsync(e.apply(this,t),r,n)}))},errback:function(...t){const r=t.pop();if(typeof r!=="function"){throw makeError("Asynchronous function called without callback",o)}let n;try{n=e.apply(this,t)}catch(e){r(e);return}evaluateAsync(n,(e=>r(undefined,e)),(e=>r(e)))}};return t}function assertTypeof(e,t,r,n){if(typeof r===e||n&&typeof r==="undefined"){return}let s;if(n){s=`Expected opts.${t} to be either a ${e}, or undefined.`}else{s=`Expected opts.${t} to be a ${e}.`}throw makeError(s,i)}function makeError(e,t){return Object.assign(new Error(e),{code:t})}function newGenerator({name:e,arity:t,sync:r,async:n,errback:s}){assertTypeof("string","name",e,true);assertTypeof("number","arity",t,true);assertTypeof("function","sync",r);assertTypeof("function","async",n,true);assertTypeof("function","errback",s,true);if(n&&s){throw makeError("Expected one of either opts.async or opts.errback, but got _both_.",i)}if(typeof e!=="string"){let t;if(s&&s.name&&s.name!=="errback"){t=s.name}if(n&&n.name&&n.name!=="async"){t=n.name.replace(/Async$/,"")}if(r&&r.name&&r.name!=="sync"){t=r.name.replace(/Sync$/,"")}if(typeof t==="string"){e=t}}if(typeof t!=="number"){t=r.length}return buildOperation({name:e,arity:t,sync:function(e){return r.apply(this,e)},async:function(e,t,i){if(n){n.apply(this,e).then(t,i)}else if(s){s.call(this,...e,((e,r)=>{if(e==null)t(r);else i(e)}))}else{t(r.apply(this,e))}}})}function wrapGenerator(e){return setFunctionMetadata(e.name,e.length,(function(...t){return e.apply(this,t)}))}function buildOperation({name:e,arity:n,sync:s,async:i}){return setFunctionMetadata(e,n,(function*(...e){const n=yield t;if(!n){const t=s.call(this,e);return t}let a;try{i.call(this,e,(e=>{if(a)return;a={value:e};n()}),(e=>{if(a)return;a={err:e};n()}))}catch(e){a={err:e};n()}yield r;if(a.hasOwnProperty("err")){throw a.err}return a.value}))}function evaluateSync(e){let t;while(!({value:t}=e.next()).done){assertStart(t,e)}return t}function evaluateAsync(e,t,r){(function step(){try{let r;while(!({value:r}=e.next()).done){assertStart(r,e);let t=true;let n=false;const s=e.next((()=>{if(t){n=true}else{step()}}));t=false;assertSuspend(s,e);if(!n){return}}return t(r)}catch(e){return r(e)}})()}function assertStart(e,r){if(e===t)return;throwError(r,makeError(`Got unexpected yielded value in gensync generator: ${JSON.stringify(e)}. Did you perhaps mean to use 'yield*' instead of 'yield'?`,n))}function assertSuspend({value:e,done:t},n){if(!t&&e===r)return;throwError(n,makeError(t?"Unexpected generator completion. If you get this, it is probably a gensync bug.":`Expected GENSYNC_SUSPEND, got ${JSON.stringify(e)}. If you get this, it is probably a gensync bug.`,s))}function throwError(e,t){if(e.throw)e.throw(t);throw t}function isIterable(e){return!!e&&(typeof e==="object"||typeof e==="function")&&!e[Symbol.iterator]}function setFunctionMetadata(e,t,r){if(typeof e==="string"){const t=Object.getOwnPropertyDescriptor(r,"name");if(!t||t.configurable){Object.defineProperty(r,"name",Object.assign(t||{},{configurable:true,value:e}))}}if(typeof t==="number"){const e=Object.getOwnPropertyDescriptor(r,"length");if(!e||e.configurable){Object.defineProperty(r,"length",Object.assign(e||{},{configurable:true,value:t}))}}return r}},6929:(e,t,r)=>{"use strict";e.exports=r(3676)},8874:(e,t)=>{Object.defineProperty(t,"__esModule",{value:true});t["default"]=/((['"])(?:(?!\2|\\).|\\(?:\r\n|[\s\S]))*(\2)?|`(?:[^`\\$]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{[^}]*\}?)*\}?)*(`)?)|(\/\/.*)|(\/\*(?:[^*]|\*(?!\/))*(\*\/)?)|(\/(?!\*)(?:\[(?:(?![\]\\]).|\\.)*\]|(?![\/\]\\]).|\\.)+\/(?:(?!\s*(?:\b|[\u0080-\uFFFF$\\'"~({]|[+\-!](?!=)|\.?\d))|[gmiyus]{1,6}\b(?![\u0080-\uFFFF$\\]|\s*(?:[+\-*%&|^<>!=?({]|\/(?![\/*])))))|(0[xX][\da-fA-F]+|0[oO][0-7]+|0[bB][01]+|(?:\d*\.\d+|\d+\.?)(?:[eE][+-]?\d+)?)|((?!\d)(?:(?!\s)[$\w\u0080-\uFFFF]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+)|(--|\+\+|&&|\|\||=>|\.{3}|(?:[+\-\/%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2})=?|[?~.,:;[\](){}])|(\s+)|(^$|[\s\S])/g;t.matchToToken=function(e){var t={type:"invalid",value:e[0],closed:undefined};if(e[1])t.type="string",t.closed=!!(e[3]||e[4]);else if(e[5])t.type="comment";else if(e[6])t.type="comment",t.closed=!!e[7];else if(e[8])t.type="regex";else if(e[9])t.type="number";else if(e[10])t.type="name";else if(e[11])t.type="punctuator";else if(e[12])t.type="whitespace";return t}},4849:e=>{"use strict";const t={};const r=t.hasOwnProperty;const forOwn=(e,t)=>{for(const n in e){if(r.call(e,n)){t(n,e[n])}}};const extend=(e,t)=>{if(!t){return e}forOwn(t,((t,r)=>{e[t]=r}));return e};const forEach=(e,t)=>{const r=e.length;let n=-1;while(++n<r){t(e[n])}};const fourHexEscape=e=>"\\u"+("0000"+e).slice(-4);const hexadecimal=(e,t)=>{let r=e.toString(16);if(t)return r;return r.toUpperCase()};const n=t.toString;const s=Array.isArray;const isBuffer=e=>typeof Buffer==="function"&&Buffer.isBuffer(e);const isObject=e=>n.call(e)=="[object Object]";const isString=e=>typeof e=="string"||n.call(e)=="[object String]";const isNumber=e=>typeof e=="number"||n.call(e)=="[object Number]";const isFunction=e=>typeof e=="function";const isMap=e=>n.call(e)=="[object Map]";const isSet=e=>n.call(e)=="[object Set]";const i={"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t"};const a=/[\\\b\f\n\r\t]/;const o=/[0-9]/;const l=/[\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/;const c=/([\uD800-\uDBFF][\uDC00-\uDFFF])|([\uD800-\uDFFF])|(['"`])|[^]/g;const p=/([\uD800-\uDBFF][\uDC00-\uDFFF])|([\uD800-\uDFFF])|(['"`])|[^ !#-&\(-\[\]-_a-~]/g;const jsesc=(e,t)=>{const increaseIndentation=()=>{m=h;++t.indentLevel;h=t.indent.repeat(t.indentLevel)};const r={escapeEverything:false,minimal:false,isScriptContext:false,quotes:"single",wrap:false,es6:false,json:false,compact:true,lowercaseHex:false,numbers:"decimal",indent:"\t",indentLevel:0,__inline1__:false,__inline2__:false};const n=t&&t.json;if(n){r.quotes="double";r.wrap=true}t=extend(r,t);if(t.quotes!="single"&&t.quotes!="double"&&t.quotes!="backtick"){t.quotes="single"}const u=t.quotes=="double"?'"':t.quotes=="backtick"?"`":"'";const d=t.compact;const f=t.lowercaseHex;let h=t.indent.repeat(t.indentLevel);let m="";const y=t.__inline1__;const g=t.__inline2__;const b=d?"":"\n";let T;let S=true;const x=t.numbers=="binary";const E=t.numbers=="octal";const P=t.numbers=="decimal";const v=t.numbers=="hexadecimal";if(n&&e&&isFunction(e.toJSON)){e=e.toJSON()}if(!isString(e)){if(isMap(e)){if(e.size==0){return"new Map()"}if(!d){t.__inline1__=true;t.__inline2__=false}return"new Map("+jsesc(Array.from(e),t)+")"}if(isSet(e)){if(e.size==0){return"new Set()"}return"new Set("+jsesc(Array.from(e),t)+")"}if(isBuffer(e)){if(e.length==0){return"Buffer.from([])"}return"Buffer.from("+jsesc(Array.from(e),t)+")"}if(s(e)){T=[];t.wrap=true;if(y){t.__inline1__=false;t.__inline2__=true}if(!g){increaseIndentation()}forEach(e,(e=>{S=false;if(g){t.__inline2__=false}T.push((d||g?"":h)+jsesc(e,t))}));if(S){return"[]"}if(g){return"["+T.join(", ")+"]"}return"["+b+T.join(","+b)+b+(d?"":m)+"]"}else if(isNumber(e)){if(n){return JSON.stringify(e)}if(P){return String(e)}if(v){let t=e.toString(16);if(!f){t=t.toUpperCase()}return"0x"+t}if(x){return"0b"+e.toString(2)}if(E){return"0o"+e.toString(8)}}else if(!isObject(e)){if(n){return JSON.stringify(e)||"null"}return String(e)}else{T=[];t.wrap=true;increaseIndentation();forOwn(e,((e,r)=>{S=false;T.push((d?"":h)+jsesc(e,t)+":"+(d?"":" ")+jsesc(r,t))}));if(S){return"{}"}return"{"+b+T.join(","+b)+b+(d?"":m)+"}"}}const A=t.escapeEverything?c:p;T=e.replace(A,((e,r,s,c,p,d)=>{if(r){if(t.minimal)return r;const e=r.charCodeAt(0);const n=r.charCodeAt(1);if(t.es6){const t=(e-55296)*1024+n-56320+65536;const r=hexadecimal(t,f);return"\\u{"+r+"}"}return fourHexEscape(hexadecimal(e,f))+fourHexEscape(hexadecimal(n,f))}if(s){return fourHexEscape(hexadecimal(s.charCodeAt(0),f))}if(e=="\0"&&!n&&!o.test(d.charAt(p+1))){return"\\0"}if(c){if(c==u||t.escapeEverything){return"\\"+c}return c}if(a.test(e)){return i[e]}if(t.minimal&&!l.test(e)){return e}const h=hexadecimal(e.charCodeAt(0),f);if(n||h.length>2){return fourHexEscape(h)}return"\\x"+("00"+h).slice(-2)}));if(u=="`"){T=T.replace(/\$\{/g,"\\${")}if(t.isScriptContext){T=T.replace(/<\/(script|style)/gi,"<\\/$1").replace(/<!--/g,n?"\\u003C!--":"\\x3C!--")}if(t.wrap){T=u+T+u}return T};jsesc.version="3.0.2";e.exports=jsesc},5701:e=>{let t=process||{},r=t.argv||[],n=t.env||{};let s=!(!!n.NO_COLOR||r.includes("--no-color"))&&(!!n.FORCE_COLOR||r.includes("--color")||t.platform==="win32"||(t.stdout||{}).isTTY&&n.TERM!=="dumb"||!!n.CI);let formatter=(e,t,r=e)=>n=>{let s=""+n,i=s.indexOf(t,e.length);return~i?e+replaceClose(s,t,r,i)+t:e+s+t};let replaceClose=(e,t,r,n)=>{let s="",i=0;do{s+=e.substring(i,n)+r;i=n+t.length;n=e.indexOf(t,i)}while(~n);return s+e.substring(i)};let createColors=(e=s)=>{let t=e?formatter:()=>String;return{isColorSupported:e,reset:t("",""),bold:t("","",""),dim:t("","",""),italic:t("",""),underline:t("",""),inverse:t("",""),hidden:t("",""),strikethrough:t("",""),black:t("",""),red:t("",""),green:t("",""),yellow:t("",""),blue:t("",""),magenta:t("",""),cyan:t("",""),white:t("",""),gray:t("",""),bgBlack:t("",""),bgRed:t("",""),bgGreen:t("",""),bgYellow:t("",""),bgBlue:t("",""),bgMagenta:t("",""),bgCyan:t("",""),bgWhite:t("",""),blackBright:t("",""),redBright:t("",""),greenBright:t("",""),yellowBright:t("",""),blueBright:t("",""),magentaBright:t("",""),cyanBright:t("",""),whiteBright:t("",""),bgBlackBright:t("",""),bgRedBright:t("",""),bgGreenBright:t("",""),bgYellowBright:t("",""),bgBlueBright:t("",""),bgMagentaBright:t("",""),bgCyanBright:t("",""),bgWhiteBright:t("","")}};e.exports=createColors();e.exports.createColors=createColors},3050:(e,t,r)=>{function types(){return r(3061)}function core(){return r(2358)}function coreLibConfig(){return r(8842)}function coreLibNormalizeFile(){return r(6380)}function coreLibNormalizeOpts(){return r(6351)}function coreLibBlockHoistPlugin(){return r(9273)}function coreLibPluginPass(){return r(3878)}function traverse(){return r(8026)}function generator(){return r(1605)}function parser(){return r(9849)}function eslintParser(){return r(3305).eslintParser()}function pluginProposalClassProperties(){return r(3305).pluginProposalClassProperties()}function pluginProposalExportNamespaceFrom(){return r(3305).pluginProposalExportNamespaceFrom()}function pluginProposalNumericSeparator(){return r(3305).pluginProposalNumericSeparator()}function pluginProposalObjectRestSpread(){return r(3305).pluginProposalObjectRestSpread()}function pluginSyntaxBigint(){return r(3305).pluginSyntaxBigint()}function pluginSyntaxDynamicImport(){return r(3305).pluginSyntaxDynamicImport()}function pluginSyntaxImportAttributes(){return r(3305).pluginSyntaxImportAttributes()}function pluginSyntaxJsx(){return r(3305).pluginSyntaxJsx()}function pluginSyntaxTypescript(){return r(3305).pluginSyntaxTypescript()}function pluginTransformDefine(){return r(3305).pluginTransformDefine()}function pluginTransformModulesCommonjs(){return r(3305).pluginTransformModulesCommonjs()}function pluginTransformReactRemovePropTypes(){return r(3305).pluginTransformReactRemovePropTypes()}function pluginTransformRuntime(){return r(3305).pluginTransformRuntime()}function presetEnv(){return r(3305).presetEnv()}function presetReact(){return r(3305).presetReact()}function presetTypescript(){return r(3305).presetTypescript()}e.exports={types:types,core:core,coreLibConfig:coreLibConfig,coreLibNormalizeFile:coreLibNormalizeFile,coreLibNormalizeOpts:coreLibNormalizeOpts,coreLibBlockHoistPlugin:coreLibBlockHoistPlugin,coreLibPluginPass:coreLibPluginPass,generator:generator,traverse:traverse,eslintParser:eslintParser,parser:parser,pluginProposalClassProperties:pluginProposalClassProperties,pluginProposalExportNamespaceFrom:pluginProposalExportNamespaceFrom,pluginProposalNumericSeparator:pluginProposalNumericSeparator,pluginProposalObjectRestSpread:pluginProposalObjectRestSpread,pluginSyntaxBigint:pluginSyntaxBigint,pluginSyntaxDynamicImport:pluginSyntaxDynamicImport,pluginSyntaxImportAttributes:pluginSyntaxImportAttributes,pluginSyntaxJsx:pluginSyntaxJsx,pluginSyntaxTypescript:pluginSyntaxTypescript,pluginTransformDefine:pluginTransformDefine,pluginTransformModulesCommonjs:pluginTransformModulesCommonjs,pluginTransformReactRemovePropTypes:pluginTransformReactRemovePropTypes,pluginTransformRuntime:pluginTransformRuntime,presetEnv:presetEnv,presetReact:presetReact,presetTypescript:presetTypescript}},9491:e=>{"use strict";e.exports=require("assert")},7147:e=>{"use strict";e.exports=require("fs")},8188:e=>{"use strict";e.exports=require("module")},3305:e=>{"use strict";e.exports=require("next/dist/compiled/babel-packages")},4907:e=>{"use strict";e.exports=require("next/dist/compiled/browserslist")},6937:e=>{"use strict";e.exports=require("next/dist/compiled/debug")},8310:e=>{"use strict";e.exports=require("next/dist/compiled/json5")},7330:e=>{"use strict";e.exports=require("next/dist/compiled/lru-cache")},7849:e=>{"use strict";e.exports=require("next/dist/compiled/semver")},1017:e=>{"use strict";e.exports=require("path")},7282:e=>{"use strict";e.exports=require("process")},7310:e=>{"use strict";e.exports=require("url")},3837:e=>{"use strict";e.exports=require("util")},4655:e=>{"use strict";e.exports=require("v8")},3554:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var n=r(5701);var s=r(8874);var i=r(974);function isColorSupported(){return typeof process==="object"&&(process.env.FORCE_COLOR==="0"||process.env.FORCE_COLOR==="false")?false:n.isColorSupported}const compose=(e,t)=>r=>e(t(r));function buildDefs(e){return{keyword:e.cyan,capitalized:e.yellow,jsxIdentifier:e.yellow,punctuator:e.yellow,number:e.magenta,string:e.green,regex:e.magenta,comment:e.gray,invalid:compose(compose(e.white,e.bgRed),e.bold),gutter:e.gray,marker:compose(e.red,e.bold),message:compose(e.red,e.bold),reset:e.reset}}const a=buildDefs(n.createColors(true));const o=buildDefs(n.createColors(false));function getDefs(e){return e?a:o}const l=new Set(["as","async","from","get","of","set"]);const c=/\r\n|[\n\r\u2028\u2029]/;const p=/^[()[\]{}]$/;let u;{const e=/^[a-z][\w-]*$/i;const getTokenType=function(t,r,n){if(t.type==="name"){if(i.isKeyword(t.value)||i.isStrictReservedWord(t.value,true)||l.has(t.value)){return"keyword"}if(e.test(t.value)&&(n[r-1]==="<"||n.slice(r-2,r)==="</")){return"jsxIdentifier"}if(t.value[0]!==t.value[0].toLowerCase()){return"capitalized"}}if(t.type==="punctuator"&&p.test(t.value)){return"bracket"}if(t.type==="invalid"&&(t.value==="@"||t.value==="#")){return"punctuator"}return t.type};u=function*(e){let t;while(t=s.default.exec(e)){const r=s.matchToToken(t);yield{type:getTokenType(r,t.index,e),value:r.value}}}}function highlight(e){if(e==="")return"";const t=getDefs(true);let r="";for(const{type:n,value:s}of u(e)){if(n in t){r+=s.split(c).map((e=>t[n](e))).join("\n")}else{r+=s}}return r}let d=false;const f=/\r\n|[\n\r\u2028\u2029]/;function getMarkerLines(e,t,r){const n=Object.assign({column:0,line:-1},e.start);const s=Object.assign({},n,e.end);const{linesAbove:i=2,linesBelow:a=3}=r||{};const o=n.line;const l=n.column;const c=s.line;const p=s.column;let u=Math.max(o-(i+1),0);let d=Math.min(t.length,c+a);if(o===-1){u=0}if(c===-1){d=t.length}const f=c-o;const h={};if(f){for(let e=0;e<=f;e++){const r=e+o;if(!l){h[r]=true}else if(e===0){const e=t[r-1].length;h[r]=[l,e-l+1]}else if(e===f){h[r]=[0,p]}else{const n=t[r-e].length;h[r]=[0,n]}}}else{if(l===p){if(l){h[o]=[l,0]}else{h[o]=true}}else{h[o]=[l,p-l]}}return{start:u,end:d,markerLines:h}}function codeFrameColumns(e,t,r={}){const n=r.forceColor||isColorSupported()&&r.highlightCode;const s=getDefs(n);const i=e.split(f);const{start:a,end:o,markerLines:l}=getMarkerLines(t,i,r);const c=t.start&&typeof t.start.column==="number";const p=String(o).length;const u=n?highlight(e):e;let d=u.split(f,o).slice(a,o).map(((e,t)=>{const n=a+1+t;const i=` ${n}`.slice(-p);const o=` ${i} |`;const c=l[n];const u=!l[n+1];if(c){let t="";if(Array.isArray(c)){const n=e.slice(0,Math.max(c[0]-1,0)).replace(/[^\t]/g," ");const i=c[1]||1;t=["\n ",s.gutter(o.replace(/\d/g," "))," ",n,s.marker("^").repeat(i)].join("");if(u&&r.message){t+=" "+s.message(r.message)}}return[s.marker(">"),s.gutter(o),e.length>0?` ${e}`:"",t].join("")}else{return` ${s.gutter(o)}${e.length>0?` ${e}`:""}`}})).join("\n");if(r.message&&!c){d=`${" ".repeat(p+1)}${r.message}\n${d}`}if(n){return s.reset(d)}else{return d}}function index(e,t,r,n={}){if(!d){d=true;const e="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";if(process.emitWarning){process.emitWarning(e,"DeprecationWarning")}else{const t=new Error(e);t.name="DeprecationWarning";console.warn(new Error(e))}}r=Math.max(r,0);const s={start:{column:r,line:t}};return codeFrameColumns(e,s,n)}t.codeFrameColumns=codeFrameColumns;t["default"]=index;t.highlight=highlight},8566:(e,t,r)=>{e.exports=r(3702)},2810:(e,t,r)=>{e.exports=r(8427)},5732:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.assertSimpleType=assertSimpleType;t.makeStrongCache=makeStrongCache;t.makeStrongCacheSync=makeStrongCacheSync;t.makeWeakCache=makeWeakCache;t.makeWeakCacheSync=makeWeakCacheSync;function _gensync(){const e=r(6433);_gensync=function(){return e};return e}var n=r(7987);var s=r(545);const synchronize=e=>_gensync()(e).sync;function*genTrue(){return true}function makeWeakCache(e){return makeCachedFunction(WeakMap,e)}function makeWeakCacheSync(e){return synchronize(makeWeakCache(e))}function makeStrongCache(e){return makeCachedFunction(Map,e)}function makeStrongCacheSync(e){return synchronize(makeStrongCache(e))}function makeCachedFunction(e,t){const r=new e;const i=new e;const a=new e;return function*cachedFunction(e,o){const l=yield*(0,n.isAsync)();const c=l?i:r;const p=yield*getCachedValueOrWait(l,c,a,e,o);if(p.valid)return p.value;const u=new CacheConfigurator(o);const d=t(e,u);let f;let h;if((0,s.isIterableIterator)(d)){h=yield*(0,n.onFirstPause)(d,(()=>{f=setupAsyncLocks(u,a,e)}))}else{h=d}updateFunctionCache(c,u,e,h);if(f){a.delete(e);f.release(h)}return h}}function*getCachedValue(e,t,r){const n=e.get(t);if(n){for(const{value:e,valid:t}of n){if(yield*t(r))return{valid:true,value:e}}}return{valid:false,value:null}}function*getCachedValueOrWait(e,t,r,s,i){const a=yield*getCachedValue(t,s,i);if(a.valid){return a}if(e){const e=yield*getCachedValue(r,s,i);if(e.valid){const t=yield*(0,n.waitFor)(e.value.promise);return{valid:true,value:t}}}return{valid:false,value:null}}function setupAsyncLocks(e,t,r){const n=new Lock;updateFunctionCache(t,e,r,n);return n}function updateFunctionCache(e,t,r,n){if(!t.configured())t.forever();let s=e.get(r);t.deactivate();switch(t.mode()){case"forever":s=[{value:n,valid:genTrue}];e.set(r,s);break;case"invalidate":s=[{value:n,valid:t.validator()}];e.set(r,s);break;case"valid":if(s){s.push({value:n,valid:t.validator()})}else{s=[{value:n,valid:t.validator()}];e.set(r,s)}}}class CacheConfigurator{constructor(e){this._active=true;this._never=false;this._forever=false;this._invalidate=false;this._configured=false;this._pairs=[];this._data=void 0;this._data=e}simple(){return makeSimpleConfigurator(this)}mode(){if(this._never)return"never";if(this._forever)return"forever";if(this._invalidate)return"invalidate";return"valid"}forever(){if(!this._active){throw new Error("Cannot change caching after evaluation has completed.")}if(this._never){throw new Error("Caching has already been configured with .never()")}this._forever=true;this._configured=true}never(){if(!this._active){throw new Error("Cannot change caching after evaluation has completed.")}if(this._forever){throw new Error("Caching has already been configured with .forever()")}this._never=true;this._configured=true}using(e){if(!this._active){throw new Error("Cannot change caching after evaluation has completed.")}if(this._never||this._forever){throw new Error("Caching has already been configured with .never or .forever()")}this._configured=true;const t=e(this._data);const r=(0,n.maybeAsync)(e,`You appear to be using an async cache handler, but Babel has been called synchronously`);if((0,n.isThenable)(t)){return t.then((e=>{this._pairs.push([e,r]);return e}))}this._pairs.push([t,r]);return t}invalidate(e){this._invalidate=true;return this.using(e)}validator(){const e=this._pairs;return function*(t){for(const[r,n]of e){if(r!==(yield*n(t)))return false}return true}}deactivate(){this._active=false}configured(){return this._configured}}function makeSimpleConfigurator(e){function cacheFn(t){if(typeof t==="boolean"){if(t)e.forever();else e.never();return}return e.using((()=>assertSimpleType(t())))}cacheFn.forever=()=>e.forever();cacheFn.never=()=>e.never();cacheFn.using=t=>e.using((()=>assertSimpleType(t())));cacheFn.invalidate=t=>e.invalidate((()=>assertSimpleType(t())));return cacheFn}function assertSimpleType(e){if((0,n.isThenable)(e)){throw new Error(`You appear to be using an async cache handler, `+`which your current version of Babel does not support. `+`We may add support for this in the future, `+`but if you're on the most recent version of @babel/core and still `+`seeing this error, then you'll need to synchronously handle your caching logic.`)}if(e!=null&&typeof e!=="string"&&typeof e!=="boolean"&&typeof e!=="number"){throw new Error("Cache keys must be either string, boolean, number, null, or undefined.")}return e}class Lock{constructor(){this.released=false;this.promise=void 0;this._resolve=void 0;this.promise=new Promise((e=>{this._resolve=e}))}release(e){this.released=true;this._resolve(e)}}0&&0},9646:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.buildPresetChain=buildPresetChain;t.buildPresetChainWalker=void 0;t.buildRootChain=buildRootChain;function _path(){const e=r(1017);_path=function(){return e};return e}function _debug(){const e=r(6937);_debug=function(){return e};return e}var n=r(4320);var s=r(5076);var i=r(669);var a=r(8502);var o=r(195);var l=r(5329);var c=r(5732);var p=r(4449);const u=_debug()("babel:config:config-chain");function*buildPresetChain(e,t){const r=yield*d(e,t);if(!r)return null;return{plugins:dedupDescriptors(r.plugins),presets:dedupDescriptors(r.presets),options:r.options.map((e=>normalizeOptions(e))),files:new Set}}const d=t.buildPresetChainWalker=makeChainWalker({root:e=>f(e),env:(e,t)=>h(e)(t),overrides:(e,t)=>m(e)(t),overridesEnv:(e,t,r)=>y(e)(t)(r),createLogger:()=>()=>{}});const f=(0,c.makeWeakCacheSync)((e=>buildRootDescriptors(e,e.alias,p.createUncachedDescriptors)));const h=(0,c.makeWeakCacheSync)((e=>(0,c.makeStrongCacheSync)((t=>buildEnvDescriptors(e,e.alias,p.createUncachedDescriptors,t)))));const m=(0,c.makeWeakCacheSync)((e=>(0,c.makeStrongCacheSync)((t=>buildOverrideDescriptors(e,e.alias,p.createUncachedDescriptors,t)))));const y=(0,c.makeWeakCacheSync)((e=>(0,c.makeStrongCacheSync)((t=>(0,c.makeStrongCacheSync)((r=>buildOverrideEnvDescriptors(e,e.alias,p.createUncachedDescriptors,t,r)))))));function*buildRootChain(e,t){let r,n;const s=new i.ConfigPrinter;const a=yield*S({options:e,dirname:t.cwd},t,undefined,s);if(!a)return null;const o=yield*s.output();let c;if(typeof e.configFile==="string"){c=yield*(0,l.loadConfig)(e.configFile,t.cwd,t.envName,t.caller)}else if(e.configFile!==false){c=yield*(0,l.findRootConfig)(t.root,t.envName,t.caller)}let{babelrc:p,babelrcRoots:u}=e;let d=t.cwd;const f=emptyChain();const h=new i.ConfigPrinter;if(c){const e=g(c);const n=yield*loadFileChain(e,t,undefined,h);if(!n)return null;r=yield*h.output();if(p===undefined){p=e.options.babelrc}if(u===undefined){d=e.dirname;u=e.options.babelrcRoots}mergeChain(f,n)}let m,y;let T=false;const x=emptyChain();if((p===true||p===undefined)&&typeof t.filename==="string"){const e=yield*(0,l.findPackageData)(t.filename);if(e&&babelrcLoadEnabled(t,e,u,d)){({ignore:m,config:y}=yield*(0,l.findRelativeConfig)(e,t.envName,t.caller));if(m){x.files.add(m.filepath)}if(m&&shouldIgnore(t,m.ignore,null,m.dirname)){T=true}if(y&&!T){const e=b(y);const r=new i.ConfigPrinter;const s=yield*loadFileChain(e,t,undefined,r);if(!s){T=true}else{n=yield*r.output();mergeChain(x,s)}}if(y&&T){x.files.add(y.filepath)}}}if(t.showConfig){console.log(`Babel configs on "${t.filename}" (ascending priority):\n`+[r,n,o].filter((e=>!!e)).join("\n\n")+"\n-----End Babel configs-----")}const E=mergeChain(mergeChain(mergeChain(emptyChain(),f),x),a);return{plugins:T?[]:dedupDescriptors(E.plugins),presets:T?[]:dedupDescriptors(E.presets),options:T?[]:E.options.map((e=>normalizeOptions(e))),fileHandling:T?"ignored":"transpile",ignore:m||undefined,babelrc:y||undefined,config:c||undefined,files:E.files}}function babelrcLoadEnabled(e,t,r,n){if(typeof r==="boolean")return r;const i=e.root;if(r===undefined){return t.directories.includes(i)}let a=r;if(!Array.isArray(a)){a=[a]}a=a.map((e=>typeof e==="string"?_path().resolve(n,e):e));if(a.length===1&&a[0]===i){return t.directories.includes(i)}return a.some((r=>{if(typeof r==="string"){r=(0,s.default)(r,n)}return t.directories.some((t=>matchPattern(r,n,t,e)))}))}const g=(0,c.makeWeakCacheSync)((e=>({filepath:e.filepath,dirname:e.dirname,options:(0,n.validate)("configfile",e.options,e.filepath)})));const b=(0,c.makeWeakCacheSync)((e=>({filepath:e.filepath,dirname:e.dirname,options:(0,n.validate)("babelrcfile",e.options,e.filepath)})));const T=(0,c.makeWeakCacheSync)((e=>({filepath:e.filepath,dirname:e.dirname,options:(0,n.validate)("extendsfile",e.options,e.filepath)})));const S=makeChainWalker({root:e=>buildRootDescriptors(e,"base",p.createCachedDescriptors),env:(e,t)=>buildEnvDescriptors(e,"base",p.createCachedDescriptors,t),overrides:(e,t)=>buildOverrideDescriptors(e,"base",p.createCachedDescriptors,t),overridesEnv:(e,t,r)=>buildOverrideEnvDescriptors(e,"base",p.createCachedDescriptors,t,r),createLogger:(e,t,r)=>buildProgrammaticLogger(e,t,r)});const x=makeChainWalker({root:e=>E(e),env:(e,t)=>P(e)(t),overrides:(e,t)=>v(e)(t),overridesEnv:(e,t,r)=>A(e)(t)(r),createLogger:(e,t,r)=>buildFileLogger(e.filepath,t,r)});function*loadFileChain(e,t,r,n){const s=yield*x(e,t,r,n);s==null||s.files.add(e.filepath);return s}const E=(0,c.makeWeakCacheSync)((e=>buildRootDescriptors(e,e.filepath,p.createUncachedDescriptors)));const P=(0,c.makeWeakCacheSync)((e=>(0,c.makeStrongCacheSync)((t=>buildEnvDescriptors(e,e.filepath,p.createUncachedDescriptors,t)))));const v=(0,c.makeWeakCacheSync)((e=>(0,c.makeStrongCacheSync)((t=>buildOverrideDescriptors(e,e.filepath,p.createUncachedDescriptors,t)))));const A=(0,c.makeWeakCacheSync)((e=>(0,c.makeStrongCacheSync)((t=>(0,c.makeStrongCacheSync)((r=>buildOverrideEnvDescriptors(e,e.filepath,p.createUncachedDescriptors,t,r)))))));function buildFileLogger(e,t,r){if(!r){return()=>{}}return r.configure(t.showConfig,i.ChainFormatter.Config,{filepath:e})}function buildRootDescriptors({dirname:e,options:t},r,n){return n(e,t,r)}function buildProgrammaticLogger(e,t,r){var n;if(!r){return()=>{}}return r.configure(t.showConfig,i.ChainFormatter.Programmatic,{callerName:(n=t.caller)==null?void 0:n.name})}function buildEnvDescriptors({dirname:e,options:t},r,n,s){var i;const a=(i=t.env)==null?void 0:i[s];return a?n(e,a,`${r}.env["${s}"]`):null}function buildOverrideDescriptors({dirname:e,options:t},r,n,s){var i;const a=(i=t.overrides)==null?void 0:i[s];if(!a)throw new Error("Assertion failure - missing override");return n(e,a,`${r}.overrides[${s}]`)}function buildOverrideEnvDescriptors({dirname:e,options:t},r,n,s,i){var a,o;const l=(a=t.overrides)==null?void 0:a[s];if(!l)throw new Error("Assertion failure - missing override");const c=(o=l.env)==null?void 0:o[i];return c?n(e,c,`${r}.overrides[${s}].env["${i}"]`):null}function makeChainWalker({root:e,env:t,overrides:r,overridesEnv:n,createLogger:s}){return function*chainWalker(i,a,o=new Set,l){const{dirname:c}=i;const p=[];const u=e(i);if(configIsApplicable(u,c,a,i.filepath)){p.push({config:u,envName:undefined,index:undefined});const e=t(i,a.envName);if(e&&configIsApplicable(e,c,a,i.filepath)){p.push({config:e,envName:a.envName,index:undefined})}(u.options.overrides||[]).forEach(((e,t)=>{const s=r(i,t);if(configIsApplicable(s,c,a,i.filepath)){p.push({config:s,index:t,envName:undefined});const e=n(i,t,a.envName);if(e&&configIsApplicable(e,c,a,i.filepath)){p.push({config:e,index:t,envName:a.envName})}}}))}if(p.some((({config:{options:{ignore:e,only:t}}})=>shouldIgnore(a,e,t,c)))){return null}const d=emptyChain();const f=s(i,a,l);for(const{config:e,index:t,envName:r}of p){if(!(yield*mergeExtendsChain(d,e.options,c,a,o,l))){return null}f(e,t,r);yield*mergeChainOpts(d,e)}return d}}function*mergeExtendsChain(e,t,r,n,s,i){if(t.extends===undefined)return true;const a=yield*(0,l.loadConfig)(t.extends,r,n.envName,n.caller);if(s.has(a)){throw new Error(`Configuration cycle detected loading ${a.filepath}.\n`+`File already loaded following the config chain:\n`+Array.from(s,(e=>` - ${e.filepath}`)).join("\n"))}s.add(a);const o=yield*loadFileChain(T(a),n,s,i);s.delete(a);if(!o)return false;mergeChain(e,o);return true}function mergeChain(e,t){e.options.push(...t.options);e.plugins.push(...t.plugins);e.presets.push(...t.presets);for(const r of t.files){e.files.add(r)}return e}function*mergeChainOpts(e,{options:t,plugins:r,presets:n}){e.options.push(t);e.plugins.push(...yield*r());e.presets.push(...yield*n());return e}function emptyChain(){return{options:[],presets:[],plugins:[],files:new Set}}function normalizeOptions(e){const t=Object.assign({},e);delete t.extends;delete t.env;delete t.overrides;delete t.plugins;delete t.presets;delete t.passPerPreset;delete t.ignore;delete t.only;delete t.test;delete t.include;delete t.exclude;if(hasOwnProperty.call(t,"sourceMap")){t.sourceMaps=t.sourceMap;delete t.sourceMap}return t}function dedupDescriptors(e){const t=new Map;const r=[];for(const n of e){if(typeof n.value==="function"){const e=n.value;let s=t.get(e);if(!s){s=new Map;t.set(e,s)}let i=s.get(n.name);if(!i){i={value:n};r.push(i);if(!n.ownPass)s.set(n.name,i)}else{i.value=n}}else{r.push({value:n})}}return r.reduce(((e,t)=>{e.push(t.value);return e}),[])}function configIsApplicable({options:e},t,r,n){return(e.test===undefined||configFieldIsApplicable(r,e.test,t,n))&&(e.include===undefined||configFieldIsApplicable(r,e.include,t,n))&&(e.exclude===undefined||!configFieldIsApplicable(r,e.exclude,t,n))}function configFieldIsApplicable(e,t,r,n){const s=Array.isArray(t)?t:[t];return matchesPatterns(e,s,r,n)}function ignoreListReplacer(e,t){if(t instanceof RegExp){return String(t)}return t}function shouldIgnore(e,t,r,n){if(t&&matchesPatterns(e,t,n)){var s;const r=`No config is applied to "${(s=e.filename)!=null?s:"(unknown)"}" because it matches one of \`ignore: ${JSON.stringify(t,ignoreListReplacer)}\` from "${n}"`;u(r);if(e.showConfig){console.log(r)}return true}if(r&&!matchesPatterns(e,r,n)){var i;const t=`No config is applied to "${(i=e.filename)!=null?i:"(unknown)"}" because it fails to match one of \`only: ${JSON.stringify(r,ignoreListReplacer)}\` from "${n}"`;u(t);if(e.showConfig){console.log(t)}return true}return false}function matchesPatterns(e,t,r,n){return t.some((t=>matchPattern(t,r,e.filename,e,n)))}function matchPattern(e,t,r,n,i){if(typeof e==="function"){return!!(0,a.endHiddenCallStack)(e)(r,{dirname:t,envName:n.envName,caller:n.caller})}if(typeof r!=="string"){throw new o.default(`Configuration contains string/RegExp pattern, but no filename was passed to Babel`,i)}if(typeof e==="string"){e=(0,s.default)(e,t)}return e.test(r)}0&&0},4449:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createCachedDescriptors=createCachedDescriptors;t.createDescriptor=createDescriptor;t.createUncachedDescriptors=createUncachedDescriptors;function _gensync(){const e=r(6433);_gensync=function(){return e};return e}var n=r(9516);var s=r(5329);var i=r(8131);var a=r(5732);var o=r(78);function isEqualDescriptor(e,t){var r,n,s,i;return e.name===t.name&&e.value===t.value&&e.options===t.options&&e.dirname===t.dirname&&e.alias===t.alias&&e.ownPass===t.ownPass&&((r=e.file)==null?void 0:r.request)===((n=t.file)==null?void 0:n.request)&&((s=e.file)==null?void 0:s.resolved)===((i=t.file)==null?void 0:i.resolved)}function*handlerOf(e){return e}function optionsWithResolvedBrowserslistConfigFile(e,t){if(typeof e.browserslistConfigFile==="string"){e.browserslistConfigFile=(0,o.resolveBrowserslistConfigFile)(e.browserslistConfigFile,t)}return e}function createCachedDescriptors(e,t,r){const{plugins:n,presets:s,passPerPreset:i}=t;return{options:optionsWithResolvedBrowserslistConfigFile(t,e),plugins:n?()=>u(n,e)(r):()=>handlerOf([]),presets:s?()=>c(s,e)(r)(!!i):()=>handlerOf([])}}function createUncachedDescriptors(e,t,r){return{options:optionsWithResolvedBrowserslistConfigFile(t,e),plugins:(0,n.once)((()=>createPluginDescriptors(t.plugins||[],e,r))),presets:(0,n.once)((()=>createPresetDescriptors(t.presets||[],e,r,!!t.passPerPreset)))}}const l=new WeakMap;const c=(0,a.makeWeakCacheSync)(((e,t)=>{const r=t.using((e=>e));return(0,a.makeStrongCacheSync)((t=>(0,a.makeStrongCache)((function*(n){const s=yield*createPresetDescriptors(e,r,t,n);return s.map((e=>loadCachedDescriptor(l,e)))}))))}));const p=new WeakMap;const u=(0,a.makeWeakCacheSync)(((e,t)=>{const r=t.using((e=>e));return(0,a.makeStrongCache)((function*(t){const n=yield*createPluginDescriptors(e,r,t);return n.map((e=>loadCachedDescriptor(p,e)))}))}));const d={};function loadCachedDescriptor(e,t){const{value:r,options:n=d}=t;if(n===false)return t;let s=e.get(r);if(!s){s=new WeakMap;e.set(r,s)}let i=s.get(n);if(!i){i=[];s.set(n,i)}if(!i.includes(t)){const e=i.filter((e=>isEqualDescriptor(e,t)));if(e.length>0){return e[0]}i.push(t)}return t}function*createPresetDescriptors(e,t,r,n){return yield*createDescriptors("preset",e,t,r,n)}function*createPluginDescriptors(e,t,r){return yield*createDescriptors("plugin",e,t,r)}function*createDescriptors(e,t,r,n,s){const i=yield*_gensync().all(t.map(((t,i)=>createDescriptor(t,r,{type:e,alias:`${n}$${i}`,ownPass:!!s}))));assertNoDuplicates(i);return i}function*createDescriptor(e,t,{type:r,alias:n,ownPass:a}){const o=(0,i.getItemDescriptor)(e);if(o){return o}let l;let c;let p=e;if(Array.isArray(p)){if(p.length===3){[p,c,l]=p}else{[p,c]=p}}let u=undefined;let d=null;if(typeof p==="string"){if(typeof r!=="string"){throw new Error("To resolve a string-based item, the type of item must be given")}const e=r==="plugin"?s.loadPlugin:s.loadPreset;const n=p;({filepath:d,value:p}=yield*e(p,t));u={request:n,resolved:d}}if(!p){throw new Error(`Unexpected falsy value: ${String(p)}`)}if(typeof p==="object"&&p.__esModule){if(p.default){p=p.default}else{throw new Error("Must export a default export when using ES6 modules.")}}if(typeof p!=="object"&&typeof p!=="function"){throw new Error(`Unsupported format: ${typeof p}. Expected an object or a function.`)}if(d!==null&&typeof p==="object"&&p){throw new Error(`Plugin/Preset files are not allowed to export objects, only functions. In ${d}`)}return{name:l,alias:d||n,value:p,options:c,dirname:t,ownPass:a,file:u}}function assertNoDuplicates(e){const t=new Map;for(const r of e){if(typeof r.value!=="function")continue;let n=t.get(r.value);if(!n){n=new Set;t.set(r.value,n)}if(n.has(r.name)){const t=e.filter((e=>e.value===r.value));throw new Error([`Duplicate plugin/preset detected.`,`If you'd like to use two separate instances of a plugin,`,`they need separate names, e.g.`,``,` plugins: [`,` ['some-plugin', {}],`,` ['some-plugin', {}, 'some unique name'],`,` ]`,``,`Duplicates detected are:`,`${JSON.stringify(t,null,2)}`].join("\n"))}n.add(r.name)}}0&&0},8741:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ROOT_CONFIG_FILENAMES=void 0;t.findConfigUpwards=findConfigUpwards;t.findRelativeConfig=findRelativeConfig;t.findRootConfig=findRootConfig;t.loadConfig=loadConfig;t.resolveShowConfigPath=resolveShowConfigPath;function _debug(){const e=r(6937);_debug=function(){return e};return e}function _fs(){const e=r(7147);_fs=function(){return e};return e}function _path(){const e=r(1017);_path=function(){return e};return e}function _json(){const e=r(8310);_json=function(){return e};return e}function _gensync(){const e=r(6433);_gensync=function(){return e};return e}var n=r(5732);var s=r(3165);var i=r(4207);var a=r(7416);var o=r(5076);var l=r(195);var c=r(409);r(8188);var p=r(8502);var u=r(7987);const d=_debug()("babel:config:loading:files:configuration");const f=t.ROOT_CONFIG_FILENAMES=["babel.config.js","babel.config.cjs","babel.config.mjs","babel.config.json","babel.config.cts"];const h=[".babelrc",".babelrc.js",".babelrc.cjs",".babelrc.mjs",".babelrc.json",".babelrc.cts"];const m=".babelignore";const y=(0,n.makeWeakCache)((function*runConfig(e,t){yield*[];return{options:(0,p.endHiddenCallStack)(e)((0,s.makeConfigAPI)(t)),cacheNeedsConfiguration:!t.configured()}}));function*readConfigCode(e,t){if(!_fs().existsSync(e))return null;let r=yield*(0,a.default)(e,(yield*(0,u.isAsync)())?"auto":"require","You appear to be using a native ECMAScript module configuration "+"file, which is only supported when running Babel asynchronously "+"or when using the Node.js `--experimental-require-module` flag.","You appear to be using a configuration file that contains top-level "+"await, which is only supported when running Babel asynchronously.");let n=false;if(typeof r==="function"){({options:r,cacheNeedsConfiguration:n}=yield*y(r,t))}if(!r||typeof r!=="object"||Array.isArray(r)){throw new l.default(`Configuration should be an exported JavaScript object.`,e)}if(typeof r.then==="function"){r.catch==null||r.catch((()=>{}));throw new l.default(`You appear to be using an async configuration, `+`which your current version of Babel does not support. `+`We may add support for this in the future, `+`but if you're on the most recent version of @babel/core and still `+`seeing this error, then you'll need to synchronously return your config.`,e)}if(n)throwConfigError(e);return buildConfigFileObject(r,e)}const g=new WeakMap;function buildConfigFileObject(e,t){let r=g.get(e);if(!r){g.set(e,r=new Map)}let n=r.get(t);if(!n){n={filepath:t,dirname:_path().dirname(t),options:e};r.set(t,n)}return n}const b=(0,n.makeWeakCacheSync)((e=>{const t=e.options["babel"];if(t===undefined)return null;if(typeof t!=="object"||Array.isArray(t)||t===null){throw new l.default(`.babel property must be an object`,e.filepath)}return{filepath:e.filepath,dirname:e.dirname,options:t}}));const T=(0,i.makeStaticFileCache)(((e,t)=>{let r;try{r=_json().parse(t)}catch(t){throw new l.default(`Error while parsing config - ${t.message}`,e)}if(!r)throw new l.default(`No config detected`,e);if(typeof r!=="object"){throw new l.default(`Config returned typeof ${typeof r}`,e)}if(Array.isArray(r)){throw new l.default(`Expected config object but found array`,e)}delete r["$schema"];return{filepath:e,dirname:_path().dirname(e),options:r}}));const S=(0,i.makeStaticFileCache)(((e,t)=>{const r=_path().dirname(e);const n=t.split("\n").map((e=>e.replace(/#.*$/,"").trim())).filter(Boolean);for(const t of n){if(t[0]==="!"){throw new l.default(`Negation of file paths is not supported.`,e)}}return{filepath:e,dirname:_path().dirname(e),ignore:n.map((e=>(0,o.default)(e,r)))}}));function findConfigUpwards(e){let t=e;for(;;){for(const e of f){if(_fs().existsSync(_path().join(t,e))){return t}}const e=_path().dirname(t);if(t===e)break;t=e}return null}function*findRelativeConfig(e,t,r){let n=null;let s=null;const i=_path().dirname(e.filepath);for(const o of e.directories){if(!n){var a;n=yield*loadOneConfig(h,o,t,r,((a=e.pkg)==null?void 0:a.dirname)===o?b(e.pkg):null)}if(!s){const e=_path().join(o,m);s=yield*S(e);if(s){d("Found ignore %o from %o.",s.filepath,i)}}}return{config:n,ignore:s}}function findRootConfig(e,t,r){return loadOneConfig(f,e,t,r)}function*loadOneConfig(e,t,r,n,s=null){const i=yield*_gensync().all(e.map((e=>readConfig(_path().join(t,e),r,n))));const a=i.reduce(((e,r)=>{if(r&&e){throw new l.default(`Multiple configuration files found. Please remove one:\n`+` - ${_path().basename(e.filepath)}\n`+` - ${r.filepath}\n`+`from ${t}`)}return r||e}),s);if(a){d("Found configuration %o from %o.",a.filepath,t)}return a}function*loadConfig(e,t,n,s){const i=(((e,t)=>(e=e.split("."),t=t.split("."),+e[0]>+t[0]||e[0]==t[0]&&+e[1]>=+t[1]))(process.versions.node,"8.9")?require.resolve:(e,{paths:[t]},n=r(8188))=>{let s=n._findPath(e,n._nodeModulePaths(t).concat(t));if(s)return s;s=new Error(`Cannot resolve module '${e}'`);s.code="MODULE_NOT_FOUND";throw s})(e,{paths:[t]});const a=yield*readConfig(i,n,s);if(!a){throw new l.default(`Config file contains no configuration data`,i)}d("Loaded config %o from %o.",e,t);return a}function readConfig(e,t,r){const n=_path().extname(e);switch(n){case".js":case".cjs":case".mjs":case".ts":case".cts":case".mts":return readConfigCode(e,{envName:t,caller:r});default:return T(e)}}function*resolveShowConfigPath(e){const t=process.env.BABEL_SHOW_CONFIG_FOR;if(t!=null){const r=_path().resolve(e,t);const n=yield*c.stat(r);if(!n.isFile()){throw new Error(`${r}: BABEL_SHOW_CONFIG_FOR must refer to a regular file, directories are not supported.`)}return r}return null}function throwConfigError(e){throw new l.default(`Caching was left unconfigured. Babel's plugins, presets, and .babelrc.js files can be configured\nfor various types of caching, using the first param of their handler functions:\n\nmodule.exports = function(api) {\n // The API exposes the following:\n\n // Cache the returned value forever and don't call this function again.\n api.cache(true);\n\n // Don't cache at all. Not recommended because it will be very slow.\n api.cache(false);\n\n // Cached based on the value of some function. If this function returns a value different from\n // a previously-encountered value, the plugins will re-evaluate.\n var env = api.cache(() => process.env.NODE_ENV);\n\n // If testing for a specific env, we recommend specifics to avoid instantiating a plugin for\n // any possible NODE_ENV value that might come up during plugin execution.\n var isProd = api.cache(() => process.env.NODE_ENV === "production");\n\n // .cache(fn) will perform a linear search though instances to find the matching plugin based\n // based on previous instantiated plugins. If you want to recreate the plugin and discard the\n // previous instance whenever something changes, you may use:\n var isProd = api.cache.invalidate(() => process.env.NODE_ENV === "production");\n\n // Note, we also expose the following more-verbose versions of the above examples:\n api.cache.forever(); // api.cache(true)\n api.cache.never(); // api.cache(false)\n api.cache.using(fn); // api.cache(fn)\n\n // Return the value that will be cached.\n return { };\n};`,e)}0&&0},5329:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"ROOT_CONFIG_FILENAMES",{enumerable:true,get:function(){return s.ROOT_CONFIG_FILENAMES}});Object.defineProperty(t,"findConfigUpwards",{enumerable:true,get:function(){return s.findConfigUpwards}});Object.defineProperty(t,"findPackageData",{enumerable:true,get:function(){return n.findPackageData}});Object.defineProperty(t,"findRelativeConfig",{enumerable:true,get:function(){return s.findRelativeConfig}});Object.defineProperty(t,"findRootConfig",{enumerable:true,get:function(){return s.findRootConfig}});Object.defineProperty(t,"loadConfig",{enumerable:true,get:function(){return s.loadConfig}});Object.defineProperty(t,"loadPlugin",{enumerable:true,get:function(){return i.loadPlugin}});Object.defineProperty(t,"loadPreset",{enumerable:true,get:function(){return i.loadPreset}});Object.defineProperty(t,"resolvePlugin",{enumerable:true,get:function(){return i.resolvePlugin}});Object.defineProperty(t,"resolvePreset",{enumerable:true,get:function(){return i.resolvePreset}});Object.defineProperty(t,"resolveShowConfigPath",{enumerable:true,get:function(){return s.resolveShowConfigPath}});var n=r(847);var s=r(8741);var i=r(266);({});0&&0},7416:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=loadCodeDefault;t.supportsESM=void 0;var n=r(7987);function _path(){const e=r(1017);_path=function(){return e};return e}function _url(){const e=r(7310);_url=function(){return e};return e}r(8188);function _semver(){const e=r(7849);_semver=function(){return e};return e}function _debug(){const e=r(6937);_debug=function(){return e};return e}var s=r(8502);var i=r(195);var a=r(7111);function asyncGeneratorStep(e,t,r,n,s,i,a){try{var o=e[i](a),l=o.value}catch(e){return void r(e)}o.done?t(l):Promise.resolve(l).then(n,s)}function _asyncToGenerator(e){return function(){var t=this,r=arguments;return new Promise((function(n,s){var i=e.apply(t,r);function _next(e){asyncGeneratorStep(i,n,s,_next,_throw,"next",e)}function _throw(e){asyncGeneratorStep(i,n,s,_next,_throw,"throw",e)}_next(void 0)}))}}const o=_debug()("babel:config:loading:files:module-types");{try{var l=r(1824)}catch(e){}}const c=t.supportsESM=_semver().satisfies(process.versions.node,"^12.17 || >=13.2");const p=new Set;function loadCjsDefault(e){if(p.has(e)){o("Auto-ignoring usage of config %o.",e);return{}}let t;try{p.add(e);t=(0,s.endHiddenCallStack)(require)(e)}finally{p.delete(e)}{return t!=null&&(t.__esModule||t[Symbol.toStringTag]==="Module")?t.default||(arguments[1]?t:undefined):t}}const u=(0,s.endHiddenCallStack)(function(){var e=_asyncToGenerator((function*(e){const t=(0,_url().pathToFileURL)(e).toString()+"?import";{if(!l){throw new i.default("Internal error: Native ECMAScript modules aren't supported by this platform.\n",e)}return yield l(t)}}));function loadMjsFromPath(t){return e.apply(this,arguments)}return loadMjsFromPath}());const d={".js":"unknown",".mjs":"esm",".cjs":"cjs",".ts":"unknown",".mts":"esm",".cts":"cjs"};const f=new Set;function*loadCodeDefault(e,t,r,s){let a;const o=_path().extname(e);const l=o===".ts"||o===".cts"||o===".mts";const c=d[hasOwnProperty.call(d,o)?o:".js"];const p=`${t} ${c}`;switch(p){case"require cjs":case"auto cjs":if(l){return ensureTsSupport(e,o,(()=>loadCjsDefault(e)))}else{return loadCjsDefault(e,arguments[2])}case"auto unknown":case"require unknown":case"require esm":try{if(l){return ensureTsSupport(e,o,(()=>loadCjsDefault(e)))}else{return loadCjsDefault(e,arguments[2])}}catch(t){if(t.code==="ERR_REQUIRE_ASYNC_MODULE"||t.code==="ERR_REQUIRE_CYCLE_MODULE"&&f.has(e)){f.add(e);if(!(a!=null?a:a=yield*(0,n.isAsync)())){throw new i.default(s,e)}}else if(t.code==="ERR_REQUIRE_ESM"||c==="esm"){}else{throw t}}case"auto esm":if(a!=null?a:a=yield*(0,n.isAsync)()){const t=l?ensureTsSupport(e,o,(()=>u(e))):u(e);return(yield*(0,n.waitFor)(t)).default}throw new i.default(r,e);default:throw new Error("Internal Babel error: unreachable code.")}}function ensureTsSupport(e,t,n){if(require.extensions[".ts"]||require.extensions[".cts"]||require.extensions[".mts"]){return n()}if(t!==".cts"){throw new i.default(`You are using a ${t} config file, but Babel only supports transpiling .cts configs. Either:\n- Use a .cts config file\n- Update to Node.js 23.6.0, which has native TypeScript support\n- Install ts-node to transpile ${t} files on the fly`,e)}const s={babelrc:false,configFile:false,sourceType:"unambiguous",sourceMaps:"inline",sourceFileName:_path().basename(e),presets:[[getTSPreset(e),Object.assign({onlyRemoveTypeImports:true,optimizeConstEnums:true},{allowDeclareFields:true})]]};let handler=function(e,t){if(handler&&t.endsWith(".cts")){try{return e._compile((0,a.transformFileSync)(t,Object.assign({},s,{filename:t})).code,t)}catch(e){const t=r(1628);if(_semver().lt(t.version,"7.21.4")){console.error("`.cts` configuration file failed to load, please try to update `@babel/preset-typescript`.")}throw e}}return require.extensions[".js"](e,t)};require.extensions[t]=handler;try{return n()}finally{if(require.extensions[t]===handler)delete require.extensions[t];handler=undefined}}function getTSPreset(e){try{return r(8782)}catch(t){if(t.code!=="MODULE_NOT_FOUND")throw t;let r="You appear to be using a .cts file as Babel configuration, but the `@babel/preset-typescript` package was not found: please install it!";{if(process.versions.pnp){r+=`\nIf you are using Yarn Plug'n'Play, you may also need to add the following configuration to your .yarnrc.yml file:\n\npackageExtensions:\n\t"@babel/core@*":\n\t\tpeerDependencies:\n\t\t\t"@babel/preset-typescript": "*"\n`}}throw new i.default(r,e)}}0&&0},847:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.findPackageData=findPackageData;function _path(){const e=r(1017);_path=function(){return e};return e}var n=r(4207);var s=r(195);const i="package.json";const a=(0,n.makeStaticFileCache)(((e,t)=>{let r;try{r=JSON.parse(t)}catch(t){throw new s.default(`Error while parsing JSON - ${t.message}`,e)}if(!r)throw new Error(`${e}: No config detected`);if(typeof r!=="object"){throw new s.default(`Config returned typeof ${typeof r}`,e)}if(Array.isArray(r)){throw new s.default(`Expected config object but found array`,e)}return{filepath:e,dirname:_path().dirname(e),options:r}}));function*findPackageData(e){let t=null;const r=[];let n=true;let s=_path().dirname(e);while(!t&&_path().basename(s)!=="node_modules"){r.push(s);t=yield*a(_path().join(s,i));const e=_path().dirname(s);if(s===e){n=false;break}s=e}return{filepath:e,directories:r,pkg:t,isPackage:n}}0&&0},266:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.loadPlugin=loadPlugin;t.loadPreset=loadPreset;t.resolvePreset=t.resolvePlugin=void 0;function _debug(){const e=r(6937);_debug=function(){return e};return e}function _path(){const e=r(1017);_path=function(){return e};return e}var n=r(7987);var s=r(7416);function _url(){const e=r(7310);_url=function(){return e};return e}var i=r(2044);r(8188);function _fs(){const e=r(7147);_fs=function(){return e};return e}const a=_debug()("babel:config:loading:files:plugins");const o=/^module:/;const l=/^(?!@|module:|[^/]+\/|babel-plugin-)/;const c=/^(?!@|module:|[^/]+\/|babel-preset-)/;const p=/^(@babel\/)(?!plugin-|[^/]+\/)/;const u=/^(@babel\/)(?!preset-|[^/]+\/)/;const d=/^(@(?!babel\/)[^/]+\/)(?![^/]*babel-plugin(?:-|\/|$)|[^/]+\/)/;const f=/^(@(?!babel\/)[^/]+\/)(?![^/]*babel-preset(?:-|\/|$)|[^/]+\/)/;const h=/^(@(?!babel$)[^/]+)$/;const m=t.resolvePlugin=resolveStandardizedName.bind(null,"plugin");const y=t.resolvePreset=resolveStandardizedName.bind(null,"preset");function*loadPlugin(e,t){const{filepath:r,loader:s}=m(e,t,yield*(0,n.isAsync)());const i=yield*requireModule("plugin",s,r);a("Loaded plugin %o from %o.",e,t);return{filepath:r,value:i}}function*loadPreset(e,t){const{filepath:r,loader:s}=y(e,t,yield*(0,n.isAsync)());const i=yield*requireModule("preset",s,r);a("Loaded preset %o from %o.",e,t);return{filepath:r,value:i}}function standardizeName(e,t){if(_path().isAbsolute(t))return t;const r=e==="preset";return t.replace(r?c:l,`babel-${e}-`).replace(r?u:p,`$1${e}-`).replace(r?f:d,`$1babel-${e}-`).replace(h,`$1/babel-${e}`).replace(o,"")}function*resolveAlternativesHelper(e,t){const r=standardizeName(e,t);const{error:n,value:s}=yield r;if(!n)return s;if(n.code!=="MODULE_NOT_FOUND")throw n;if(r!==t&&!(yield t).error){n.message+=`\n- If you want to resolve "${t}", use "module:${t}"`}if(!(yield standardizeName(e,"@babel/"+t)).error){n.message+=`\n- Did you mean "@babel/${t}"?`}const i=e==="preset"?"plugin":"preset";if(!(yield standardizeName(i,t)).error){n.message+=`\n- Did you accidentally pass a ${i} as a ${e}?`}if(e==="plugin"){const e=r.replace("-proposal-","-transform-");if(e!==r&&!(yield e).error){n.message+=`\n- Did you mean "${e}"?`}}n.message+=`\n\nMake sure that all the Babel plugins and presets you are using\nare defined as dependencies or devDependencies in your package.json\nfile. It's possible that the missing plugin is loaded by a preset\nyou are using that forgot to add the plugin to its dependencies: you\ncan workaround this problem by explicitly adding the missing package\nto your top-level package.json.\n`;throw n}function tryRequireResolve(e,t){try{if(t){return{error:null,value:(((e,t)=>(e=e.split("."),t=t.split("."),+e[0]>+t[0]||e[0]==t[0]&&+e[1]>=+t[1]))(process.versions.node,"8.9")?require.resolve:(e,{paths:[t]},n=r(8188))=>{let s=n._findPath(e,n._nodeModulePaths(t).concat(t));if(s)return s;s=new Error(`Cannot resolve module '${e}'`);s.code="MODULE_NOT_FOUND";throw s})(e,{paths:[t]})}}else{return{error:null,value:require.resolve(e)}}}catch(e){return{error:e,value:null}}}function tryImportMetaResolve(e,t){try{return{error:null,value:(0,i.resolve)(e,t)}}catch(e){return{error:e,value:null}}}function resolveStandardizedNameForRequire(e,t,r){const n=resolveAlternativesHelper(e,t);let s=n.next();while(!s.done){s=n.next(tryRequireResolve(s.value,r))}return{loader:"require",filepath:s.value}}function resolveStandardizedNameForImport(e,t,r){const n=(0,_url().pathToFileURL)(_path().join(r,"./babel-virtual-resolve-base.js")).href;const s=resolveAlternativesHelper(e,t);let i=s.next();while(!i.done){i=s.next(tryImportMetaResolve(i.value,n))}return{loader:"auto",filepath:(0,_url().fileURLToPath)(i.value)}}function resolveStandardizedName(e,t,r,n){if(!s.supportsESM||!n){return resolveStandardizedNameForRequire(e,t,r)}try{const n=resolveStandardizedNameForImport(e,t,r);if(!(0,_fs().existsSync)(n.filepath)){throw Object.assign(new Error(`Could not resolve "${t}" in file ${r}.`),{type:"MODULE_NOT_FOUND"})}return n}catch(n){try{return resolveStandardizedNameForRequire(e,t,r)}catch(e){if(n.type==="MODULE_NOT_FOUND")throw n;if(e.type==="MODULE_NOT_FOUND")throw e;throw n}}}{var g=new Set}function*requireModule(e,t,r){{if(!(yield*(0,n.isAsync)())&&g.has(r)){throw new Error(`Reentrant ${e} detected trying to load "${r}". This module is not ignored `+"and is trying to load itself while compiling itself, leading to a dependency cycle. "+'We recommend adding it to your "ignore" list in your babelrc, or to a .babelignore.')}}try{{g.add(r)}{return yield*(0,s.default)(r,t,`You appear to be using a native ECMAScript module ${e}, `+"which is only supported when running Babel asynchronously "+"or when using the Node.js `--experimental-require-module` flag.",`You appear to be using a ${e} that contains top-level await, `+"which is only supported when running Babel asynchronously.",true)}}catch(e){e.message=`[BABEL]: ${e.message} (While processing: ${r})`;throw e}finally{{g.delete(r)}}}0&&0},4207:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.makeStaticFileCache=makeStaticFileCache;var n=r(5732);var s=r(409);function _fs2(){const e=r(7147);_fs2=function(){return e};return e}function makeStaticFileCache(e){return(0,n.makeStrongCache)((function*(t,r){const n=r.invalidate((()=>fileMtime(t)));if(n===null){return null}return e(t,yield*s.readFile(t,"utf8"))}))}function fileMtime(e){if(!_fs2().existsSync(e))return null;try{return+_fs2().statSync(e).mtime}catch(e){if(e.code!=="ENOENT"&&e.code!=="ENOTDIR")throw e}return null}0&&0},1660:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;function _gensync(){const e=r(6433);_gensync=function(){return e};return e}var n=r(7987);var s=r(545);var i=r(2358);var a=r(2406);var o=r(8131);var l=r(9646);var c=r(8634);function _traverse(){const e=r(8026);_traverse=function(){return e};return e}var p=r(5732);var u=r(4320);var d=r(2088);var f=r(3165);var h=r(3019);var m=r(195);var y=t["default"]=_gensync()((function*loadFullConfig(e){var t;const r=yield*(0,h.default)(e);if(!r){return null}const{options:n,context:i,fileHandling:a}=r;if(a==="ignored"){return null}const l={};const{plugins:p,presets:d}=n;if(!p||!d){throw new Error("Assertion failure - plugins and presets exist")}const f=Object.assign({},i,{targets:n.targets});const toDescriptor=e=>{const t=(0,o.getItemDescriptor)(e);if(!t){throw new Error("Assertion failure - must be config item")}return t};const m=d.map(toDescriptor);const y=p.map(toDescriptor);const g=[[]];const b=[];const T=[];const S=yield*enhanceError(i,(function*recursePresetDescriptors(e,t){const r=[];for(let s=0;s<e.length;s++){const i=e[s];if(i.options!==false){try{var n=yield*loadPresetDescriptor(i,f)}catch(t){if(t.code==="BABEL_UNKNOWN_OPTION"){(0,u.checkNoUnwrappedItemOptionPairs)(e,s,"preset",t)}throw t}T.push(n.externalDependencies);if(i.ownPass){r.push({preset:n.chain,pass:[]})}else{r.unshift({preset:n.chain,pass:t})}}}if(r.length>0){g.splice(1,0,...r.map((e=>e.pass)).filter((e=>e!==t)));for(const{preset:e,pass:t}of r){if(!e)return true;t.push(...e.plugins);const r=yield*recursePresetDescriptors(e.presets,t);if(r)return true;e.options.forEach((e=>{(0,s.mergeOptions)(l,e)}))}}}))(m,g[0]);if(S)return null;const x=l;(0,s.mergeOptions)(x,n);const E=Object.assign({},f,{assumptions:(t=x.assumptions)!=null?t:{}});yield*enhanceError(i,(function*loadPluginDescriptors(){g[0].unshift(...y);for(const t of g){const r=[];b.push(r);for(let n=0;n<t.length;n++){const s=t[n];if(s.options!==false){try{var e=yield*loadPluginDescriptor(s,E)}catch(e){if(e.code==="BABEL_UNKNOWN_PLUGIN_PROPERTY"){(0,u.checkNoUnwrappedItemOptionPairs)(t,n,"plugin",e)}throw e}r.push(e);T.push(e.externalDependencies)}}}}))();x.plugins=b[0];x.presets=b.slice(1).filter((e=>e.length>0)).map((e=>({plugins:e})));x.passPerPreset=x.presets.length>0;return{options:x,passes:b,externalDependencies:(0,c.finalize)(T)}}));function enhanceError(e,t){return function*(r,n){try{return yield*t(r,n)}catch(t){if(!/^\[BABEL\]/.test(t.message)){var s;t.message=`[BABEL] ${(s=e.filename)!=null?s:"unknown file"}: ${t.message}`}throw t}}}const makeDescriptorLoader=e=>(0,p.makeWeakCache)((function*({value:t,options:r,dirname:s,alias:a},o){if(r===false)throw new Error("Assertion failure");r=r||{};const l=[];let p=t;if(typeof t==="function"){const c=(0,n.maybeAsync)(t,`You appear to be using an async plugin/preset, but Babel has been called synchronously`);const u=Object.assign({},i,e(o,l));try{p=yield*c(u,r,s)}catch(e){if(a){e.message+=` (While processing: ${JSON.stringify(a)})`}throw e}}if(!p||typeof p!=="object"){throw new Error("Plugin/Preset did not return an object.")}if((0,n.isThenable)(p)){yield*[];throw new Error(`You appear to be using a promise as a plugin, `+`which your current version of Babel does not support. `+`If you're using a published plugin, `+`you may need to upgrade your @babel/core version. `+`As an alternative, you can prefix the promise with "await". `+`(While processing: ${JSON.stringify(a)})`)}if(l.length>0&&(!o.configured()||o.mode()==="forever")){let e=`A plugin/preset has external untracked dependencies `+`(${l[0]}), but the cache `;if(!o.configured()){e+=`has not been configured to be invalidated when the external dependencies change. `}else{e+=` has been configured to never be invalidated. `}e+=`Plugins/presets should configure their cache to be invalidated when the external `+`dependencies change, for example using \`api.cache.invalidate(() => `+`statSync(filepath).mtimeMs)\` or \`api.cache.never()\`\n`+`(While processing: ${JSON.stringify(a)})`;throw new Error(e)}return{value:p,options:r,dirname:s,alias:a,externalDependencies:(0,c.finalize)(l)}}));const g=makeDescriptorLoader(f.makePluginAPI);const b=makeDescriptorLoader(f.makePresetAPI);const T=(0,p.makeWeakCache)((function*({value:e,options:t,dirname:r,alias:s,externalDependencies:i},o){const l=(0,d.validatePluginObject)(e);const p=Object.assign({},l);if(p.visitor){p.visitor=_traverse().default.explode(Object.assign({},p.visitor))}if(p.inherits){const e={name:undefined,alias:`${s}$inherits`,value:p.inherits,options:t,dirname:r};const a=yield*(0,n.forwardAsync)(loadPluginDescriptor,(t=>o.invalidate((r=>t(e,r)))));p.pre=chainMaybeAsync(a.pre,p.pre);p.post=chainMaybeAsync(a.post,p.post);p.manipulateOptions=chainMaybeAsync(a.manipulateOptions,p.manipulateOptions);p.visitor=_traverse().default.visitors.merge([a.visitor||{},p.visitor||{}]);if(a.externalDependencies.length>0){if(i.length===0){i=a.externalDependencies}else{i=(0,c.finalize)([i,a.externalDependencies])}}}return new a.default(p,t,s,i)}));function*loadPluginDescriptor(e,t){if(e.value instanceof a.default){if(e.options){throw new Error("Passed options to an existing Plugin instance will not work.")}return e.value}return yield*T(yield*g(e,t),t)}const needsFilename=e=>e&&typeof e!=="function";const validateIfOptionNeedsFilename=(e,t)=>{if(needsFilename(e.test)||needsFilename(e.include)||needsFilename(e.exclude)){const e=t.name?`"${t.name}"`:"/* your preset */";throw new m.default([`Preset ${e} requires a filename to be set when babel is called directly,`,`\`\`\``,`babel.transformSync(code, { filename: 'file.ts', presets: [${e}] });`,`\`\`\``,`See https://babeljs.io/docs/en/options#filename for more information.`].join("\n"))}};const validatePreset=(e,t,r)=>{if(!t.filename){var n;const{options:t}=e;validateIfOptionNeedsFilename(t,r);(n=t.overrides)==null||n.forEach((e=>validateIfOptionNeedsFilename(e,r)))}};const S=(0,p.makeWeakCacheSync)((({value:e,dirname:t,alias:r,externalDependencies:n})=>({options:(0,u.validate)("preset",e),alias:r,dirname:t,externalDependencies:n})));function*loadPresetDescriptor(e,t){const r=S(yield*b(e,t));validatePreset(r,t,e);return{chain:yield*(0,l.buildPresetChain)(r,t),externalDependencies:r.externalDependencies}}function chainMaybeAsync(e,t){if(!e)return t;if(!t)return e;return function(...r){const n=e.apply(this,r);if(n&&typeof n.then==="function"){return n.then((()=>t.apply(this,r)))}return t.apply(this,r)}}0&&0},3165:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.makeConfigAPI=makeConfigAPI;t.makePluginAPI=makePluginAPI;t.makePresetAPI=makePresetAPI;function _semver(){const e=r(7849);_semver=function(){return e};return e}var n=r(2358);var s=r(5732);function makeConfigAPI(e){const env=t=>e.using((e=>{if(t===undefined)return e.envName;if(typeof t==="function"){return(0,s.assertSimpleType)(t(e.envName))}return(Array.isArray(t)?t:[t]).some((t=>{if(typeof t!=="string"){throw new Error("Unexpected non-string value")}return t===e.envName}))}));const caller=t=>e.using((e=>(0,s.assertSimpleType)(t(e.caller))));return{version:n.version,cache:e.simple(),env:env,async:()=>false,caller:caller,assertVersion:assertVersion}}function makePresetAPI(e,t){const targets=()=>JSON.parse(e.using((e=>JSON.stringify(e.targets))));const addExternalDependency=e=>{t.push(e)};return Object.assign({},makeConfigAPI(e),{targets:targets,addExternalDependency:addExternalDependency})}function makePluginAPI(e,t){const assumption=t=>e.using((e=>e.assumptions[t]));return Object.assign({},makePresetAPI(e,t),{assumption:assumption})}function assertVersion(e){if(typeof e==="number"){if(!Number.isInteger(e)){throw new Error("Expected string or integer value.")}e=`^${e}.0.0-0`}if(typeof e!=="string"){throw new Error("Expected string or integer value.")}if(e==="*"||_semver().satisfies(n.version,e))return;const t=Error.stackTraceLimit;if(typeof t==="number"&&t<25){Error.stackTraceLimit=25}const r=new Error(`Requires Babel "${e}", but was loaded with "${n.version}". `+`If you are sure you have a compatible version of @babel/core, `+`it is likely that something in your build process is loading the `+`wrong version. Inspect the stack trace of this error to look for `+`the first entry that doesn't mention "@babel/core" or "babel-core" `+`to see what is calling Babel.`);if(typeof t==="number"){Error.stackTraceLimit=t}throw Object.assign(r,{code:"BABEL_VERSION_UNSUPPORTED",version:n.version,range:e})}0&&0},8634:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.finalize=finalize;t.flattenToSet=flattenToSet;function finalize(e){return Object.freeze(e)}function flattenToSet(e){const t=new Set;const r=[e];while(r.length>0){for(const e of r.pop()){if(Array.isArray(e))r.push(e);else t.add(e)}}return t}0&&0},5723:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getEnv=getEnv;function getEnv(e="development"){return process.env.BABEL_ENV||process.env.NODE_ENV||e}0&&0},8842:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createConfigItem=createConfigItem;t.createConfigItemAsync=createConfigItemAsync;t.createConfigItemSync=createConfigItemSync;Object.defineProperty(t,"default",{enumerable:true,get:function(){return n.default}});t.loadOptions=loadOptions;t.loadOptionsAsync=loadOptionsAsync;t.loadOptionsSync=loadOptionsSync;t.loadPartialConfig=loadPartialConfig;t.loadPartialConfigAsync=loadPartialConfigAsync;t.loadPartialConfigSync=loadPartialConfigSync;function _gensync(){const e=r(6433);_gensync=function(){return e};return e}var n=r(1660);var s=r(3019);var i=r(8131);var a=r(8502);const o=_gensync()(s.loadPartialConfig);function loadPartialConfigAsync(...e){return(0,a.beginHiddenCallStack)(o.async)(...e)}function loadPartialConfigSync(...e){return(0,a.beginHiddenCallStack)(o.sync)(...e)}function loadPartialConfig(e,t){if(t!==undefined){(0,a.beginHiddenCallStack)(o.errback)(e,t)}else if(typeof e==="function"){(0,a.beginHiddenCallStack)(o.errback)(undefined,e)}else{{return loadPartialConfigSync(e)}}}function*loadOptionsImpl(e){var t;const r=yield*(0,n.default)(e);return(t=r==null?void 0:r.options)!=null?t:null}const l=_gensync()(loadOptionsImpl);function loadOptionsAsync(...e){return(0,a.beginHiddenCallStack)(l.async)(...e)}function loadOptionsSync(...e){return(0,a.beginHiddenCallStack)(l.sync)(...e)}function loadOptions(e,t){if(t!==undefined){(0,a.beginHiddenCallStack)(l.errback)(e,t)}else if(typeof e==="function"){(0,a.beginHiddenCallStack)(l.errback)(undefined,e)}else{{return loadOptionsSync(e)}}}const c=_gensync()(i.createConfigItem);function createConfigItemAsync(...e){return(0,a.beginHiddenCallStack)(c.async)(...e)}function createConfigItemSync(...e){return(0,a.beginHiddenCallStack)(c.sync)(...e)}function createConfigItem(e,t,r){if(r!==undefined){(0,a.beginHiddenCallStack)(c.errback)(e,t,r)}else if(typeof t==="function"){(0,a.beginHiddenCallStack)(c.errback)(e,undefined,r)}else{{return createConfigItemSync(e,t)}}}0&&0},8131:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createConfigItem=createConfigItem;t.createItemFromDescriptor=createItemFromDescriptor;t.getItemDescriptor=getItemDescriptor;function _path(){const e=r(1017);_path=function(){return e};return e}var n=r(4449);function createItemFromDescriptor(e){return new ConfigItem(e)}function*createConfigItem(e,{dirname:t=".",type:r}={}){const s=yield*(0,n.createDescriptor)(e,_path().resolve(t),{type:r,alias:"programmatic item"});return createItemFromDescriptor(s)}const s=Symbol.for("@babel/core@7 - ConfigItem");function getItemDescriptor(e){if(e!=null&&e[s]){return e._descriptor}return undefined}class ConfigItem{constructor(e){this._descriptor=void 0;this[s]=true;this.value=void 0;this.options=void 0;this.dirname=void 0;this.name=void 0;this.file=void 0;this._descriptor=e;Object.defineProperty(this,"_descriptor",{enumerable:false});Object.defineProperty(this,s,{enumerable:false});this.value=this._descriptor.value;this.options=this._descriptor.options;this.dirname=this._descriptor.dirname;this.name=this._descriptor.name;this.file=this._descriptor.file?{request:this._descriptor.file.request,resolved:this._descriptor.file.resolved}:undefined;Object.freeze(this)}}Object.freeze(ConfigItem.prototype);0&&0},3019:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=loadPrivatePartialConfig;t.loadPartialConfig=loadPartialConfig;function _path(){const e=r(1017);_path=function(){return e};return e}var n=r(2406);var s=r(545);var i=r(8131);var a=r(9646);var o=r(5723);var l=r(4320);var c=r(5329);var p=r(78);const u=["showIgnoredFiles"];function _objectWithoutPropertiesLoose(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}function resolveRootMode(e,t){switch(t){case"root":return e;case"upward-optional":{const t=(0,c.findConfigUpwards)(e);return t===null?e:t}case"upward":{const t=(0,c.findConfigUpwards)(e);if(t!==null)return t;throw Object.assign(new Error(`Babel was run with rootMode:"upward" but a root could not `+`be found when searching upward from "${e}".\n`+`One of the following config files must be in the directory tree: `+`"${c.ROOT_CONFIG_FILENAMES.join(", ")}".`),{code:"BABEL_ROOT_NOT_FOUND",dirname:e})}default:throw new Error(`Assertion failure - unknown rootMode value.`)}}function*loadPrivatePartialConfig(e){if(e!=null&&(typeof e!=="object"||Array.isArray(e))){throw new Error("Babel options must be an object, null, or undefined")}const t=e?(0,l.validate)("arguments",e):{};const{envName:r=(0,o.getEnv)(),cwd:n=".",root:u=".",rootMode:d="root",caller:f,cloneInputAst:h=true}=t;const m=_path().resolve(n);const y=resolveRootMode(_path().resolve(m,u),d);const g=typeof t.filename==="string"?_path().resolve(n,t.filename):undefined;const b=yield*(0,c.resolveShowConfigPath)(m);const T={filename:g,cwd:m,root:y,envName:r,caller:f,showConfig:b===g};const S=yield*(0,a.buildRootChain)(t,T);if(!S)return null;const x={assumptions:{}};S.options.forEach((e=>{(0,s.mergeOptions)(x,e)}));const E=Object.assign({},x,{targets:(0,p.resolveTargets)(x,y),cloneInputAst:h,babelrc:false,configFile:false,browserslistConfigFile:false,passPerPreset:false,envName:T.envName,cwd:T.cwd,root:T.root,rootMode:"root",filename:typeof T.filename==="string"?T.filename:undefined,plugins:S.plugins.map((e=>(0,i.createItemFromDescriptor)(e))),presets:S.presets.map((e=>(0,i.createItemFromDescriptor)(e)))});return{options:E,context:T,fileHandling:S.fileHandling,ignore:S.ignore,babelrc:S.babelrc,config:S.config,files:S.files}}function*loadPartialConfig(e){let t=false;if(typeof e==="object"&&e!==null&&!Array.isArray(e)){var r=e;({showIgnoredFiles:t}=r);e=_objectWithoutPropertiesLoose(r,u);r}const s=yield*loadPrivatePartialConfig(e);if(!s)return null;const{options:i,babelrc:a,ignore:o,config:l,fileHandling:c,files:p}=s;if(c==="ignored"&&!t){return null}(i.plugins||[]).forEach((e=>{if(e.value instanceof n.default){throw new Error("Passing cached plugin instances is not supported in "+"babel.loadPartialConfig()")}}));return new PartialConfig(i,a?a.filepath:undefined,o?o.filepath:undefined,l?l.filepath:undefined,c,p)}class PartialConfig{constructor(e,t,r,n,s,i){this.options=void 0;this.babelrc=void 0;this.babelignore=void 0;this.config=void 0;this.fileHandling=void 0;this.files=void 0;this.options=e;this.babelignore=r;this.babelrc=t;this.config=n;this.fileHandling=s;this.files=i;Object.freeze(this)}hasFilesystemConfig(){return this.babelrc!==undefined||this.config!==undefined}}Object.freeze(PartialConfig.prototype);0&&0},5076:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=pathToPattern;function _path(){const e=r(1017);_path=function(){return e};return e}const n=`\\${_path().sep}`;const s=`(?:${n}|$)`;const i=`[^${n}]+`;const a=`(?:${i}${n})`;const o=`(?:${i}${s})`;const l=`${a}*?`;const c=`${a}*?${o}?`;function escapeRegExp(e){return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&")}function pathToPattern(e,t){const r=_path().resolve(t,e).split(_path().sep);return new RegExp(["^",...r.map(((e,t)=>{const p=t===r.length-1;if(e==="**")return p?c:l;if(e==="*")return p?o:a;if(e.indexOf("*.")===0){return i+escapeRegExp(e.slice(1))+(p?s:n)}return escapeRegExp(e)+(p?s:n)}))].join(""))}0&&0},2406:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=r(8634);class Plugin{constructor(e,t,r,s=(0,n.finalize)([])){this.key=void 0;this.manipulateOptions=void 0;this.post=void 0;this.pre=void 0;this.visitor=void 0;this.parserOverride=void 0;this.generatorOverride=void 0;this.options=void 0;this.externalDependencies=void 0;this.key=e.name||r;this.manipulateOptions=e.manipulateOptions;this.post=e.post;this.pre=e.pre;this.visitor=e.visitor||{};this.parserOverride=e.parserOverride;this.generatorOverride=e.generatorOverride;this.options=t;this.externalDependencies=s}}t["default"]=Plugin;0&&0},669:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ConfigPrinter=t.ChainFormatter=void 0;function _gensync(){const e=r(6433);_gensync=function(){return e};return e}const n=t.ChainFormatter={Programmatic:0,Config:1};const s={title(e,t,r){let s="";if(e===n.Programmatic){s="programmatic options";if(t){s+=" from "+t}}else{s="config "+r}return s},loc(e,t){let r="";if(e!=null){r+=`.overrides[${e}]`}if(t!=null){r+=`.env["${t}"]`}return r},*optionsAndDescriptors(e){const t=Object.assign({},e.options);delete t.overrides;delete t.env;const r=[...yield*e.plugins()];if(r.length){t.plugins=r.map((e=>descriptorToConfig(e)))}const n=[...yield*e.presets()];if(n.length){t.presets=[...n].map((e=>descriptorToConfig(e)))}return JSON.stringify(t,undefined,2)}};function descriptorToConfig(e){var t;let r=(t=e.file)==null?void 0:t.request;if(r==null){if(typeof e.value==="object"){r=e.value}else if(typeof e.value==="function"){r=`[Function: ${e.value.toString().slice(0,50)} ... ]`}}if(r==null){r="[Unknown]"}if(e.options===undefined){return r}else if(e.name==null){return[r,e.options]}else{return[r,e.options,e.name]}}class ConfigPrinter{constructor(){this._stack=[]}configure(e,t,{callerName:r,filepath:n}){if(!e)return()=>{};return(e,s,i)=>{this._stack.push({type:t,callerName:r,filepath:n,content:e,index:s,envName:i})}}static*format(e){let t=s.title(e.type,e.callerName,e.filepath);const r=s.loc(e.index,e.envName);if(r)t+=` ${r}`;const n=yield*s.optionsAndDescriptors(e.content);return`${t}\n${n}`}*output(){if(this._stack.length===0)return"";const e=yield*_gensync().all(this._stack.map((e=>ConfigPrinter.format(e))));return e.join("\n\n")}}t.ConfigPrinter=ConfigPrinter;0&&0},78:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.resolveBrowserslistConfigFile=resolveBrowserslistConfigFile;t.resolveTargets=resolveTargets;function _path(){const e=r(1017);_path=function(){return e};return e}function _helperCompilationTargets(){const e=r(3924);_helperCompilationTargets=function(){return e};return e}({});function resolveBrowserslistConfigFile(e,t){return _path().resolve(t,e)}function resolveTargets(e,t){const r=e.targets;let n;if(typeof r==="string"||Array.isArray(r)){n={browsers:r}}else if(r){if("esmodules"in r){n=Object.assign({},r,{esmodules:"intersect"})}else{n=r}}const{browserslistConfigFile:s}=e;let i;let a=false;if(typeof s==="string"){i=s}else{a=s===false}return(0,_helperCompilationTargets().default)(n,{ignoreBrowserslistConfig:a,configFile:i,configPath:t,browserslistEnv:e.browserslistEnv})}0&&0},545:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isIterableIterator=isIterableIterator;t.mergeOptions=mergeOptions;function mergeOptions(e,t){for(const r of Object.keys(t)){if((r==="parserOpts"||r==="generatorOpts"||r==="assumptions")&&t[r]){const n=t[r];const s=e[r]||(e[r]={});mergeDefaultFields(s,n)}else{const n=t[r];if(n!==undefined)e[r]=n}}}function mergeDefaultFields(e,t){for(const r of Object.keys(t)){const n=t[r];if(n!==undefined)e[r]=n}}function isIterableIterator(e){return!!e&&typeof e.next==="function"&&typeof e[Symbol.iterator]==="function"}0&&0},4882:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.access=access;t.assertArray=assertArray;t.assertAssumptions=assertAssumptions;t.assertBabelrcSearch=assertBabelrcSearch;t.assertBoolean=assertBoolean;t.assertCallerMetadata=assertCallerMetadata;t.assertCompact=assertCompact;t.assertConfigApplicableTest=assertConfigApplicableTest;t.assertConfigFileSearch=assertConfigFileSearch;t.assertFunction=assertFunction;t.assertIgnoreList=assertIgnoreList;t.assertInputSourceMap=assertInputSourceMap;t.assertObject=assertObject;t.assertPluginList=assertPluginList;t.assertRootMode=assertRootMode;t.assertSourceMaps=assertSourceMaps;t.assertSourceType=assertSourceType;t.assertString=assertString;t.assertTargets=assertTargets;t.msg=msg;function _helperCompilationTargets(){const e=r(3924);_helperCompilationTargets=function(){return e};return e}var n=r(4320);function msg(e){switch(e.type){case"root":return``;case"env":return`${msg(e.parent)}.env["${e.name}"]`;case"overrides":return`${msg(e.parent)}.overrides[${e.index}]`;case"option":return`${msg(e.parent)}.${e.name}`;case"access":return`${msg(e.parent)}[${JSON.stringify(e.name)}]`;default:throw new Error(`Assertion failure: Unknown type ${e.type}`)}}function access(e,t){return{type:"access",name:t,parent:e}}function assertRootMode(e,t){if(t!==undefined&&t!=="root"&&t!=="upward"&&t!=="upward-optional"){throw new Error(`${msg(e)} must be a "root", "upward", "upward-optional" or undefined`)}return t}function assertSourceMaps(e,t){if(t!==undefined&&typeof t!=="boolean"&&t!=="inline"&&t!=="both"){throw new Error(`${msg(e)} must be a boolean, "inline", "both", or undefined`)}return t}function assertCompact(e,t){if(t!==undefined&&typeof t!=="boolean"&&t!=="auto"){throw new Error(`${msg(e)} must be a boolean, "auto", or undefined`)}return t}function assertSourceType(e,t){if(t!==undefined&&t!=="module"&&t!=="script"&&t!=="unambiguous"){throw new Error(`${msg(e)} must be "module", "script", "unambiguous", or undefined`)}return t}function assertCallerMetadata(e,t){const r=assertObject(e,t);if(r){if(typeof r.name!=="string"){throw new Error(`${msg(e)} set but does not contain "name" property string`)}for(const t of Object.keys(r)){const n=access(e,t);const s=r[t];if(s!=null&&typeof s!=="boolean"&&typeof s!=="string"&&typeof s!=="number"){throw new Error(`${msg(n)} must be null, undefined, a boolean, a string, or a number.`)}}}return t}function assertInputSourceMap(e,t){if(t!==undefined&&typeof t!=="boolean"&&(typeof t!=="object"||!t)){throw new Error(`${msg(e)} must be a boolean, object, or undefined`)}return t}function assertString(e,t){if(t!==undefined&&typeof t!=="string"){throw new Error(`${msg(e)} must be a string, or undefined`)}return t}function assertFunction(e,t){if(t!==undefined&&typeof t!=="function"){throw new Error(`${msg(e)} must be a function, or undefined`)}return t}function assertBoolean(e,t){if(t!==undefined&&typeof t!=="boolean"){throw new Error(`${msg(e)} must be a boolean, or undefined`)}return t}function assertObject(e,t){if(t!==undefined&&(typeof t!=="object"||Array.isArray(t)||!t)){throw new Error(`${msg(e)} must be an object, or undefined`)}return t}function assertArray(e,t){if(t!=null&&!Array.isArray(t)){throw new Error(`${msg(e)} must be an array, or undefined`)}return t}function assertIgnoreList(e,t){const r=assertArray(e,t);r==null||r.forEach(((t,r)=>assertIgnoreItem(access(e,r),t)));return r}function assertIgnoreItem(e,t){if(typeof t!=="string"&&typeof t!=="function"&&!(t instanceof RegExp)){throw new Error(`${msg(e)} must be an array of string/Function/RegExp values, or undefined`)}return t}function assertConfigApplicableTest(e,t){if(t===undefined){return t}if(Array.isArray(t)){t.forEach(((t,r)=>{if(!checkValidTest(t)){throw new Error(`${msg(access(e,r))} must be a string/Function/RegExp.`)}}))}else if(!checkValidTest(t)){throw new Error(`${msg(e)} must be a string/Function/RegExp, or an array of those`)}return t}function checkValidTest(e){return typeof e==="string"||typeof e==="function"||e instanceof RegExp}function assertConfigFileSearch(e,t){if(t!==undefined&&typeof t!=="boolean"&&typeof t!=="string"){throw new Error(`${msg(e)} must be a undefined, a boolean, a string, `+`got ${JSON.stringify(t)}`)}return t}function assertBabelrcSearch(e,t){if(t===undefined||typeof t==="boolean"){return t}if(Array.isArray(t)){t.forEach(((t,r)=>{if(!checkValidTest(t)){throw new Error(`${msg(access(e,r))} must be a string/Function/RegExp.`)}}))}else if(!checkValidTest(t)){throw new Error(`${msg(e)} must be a undefined, a boolean, a string/Function/RegExp `+`or an array of those, got ${JSON.stringify(t)}`)}return t}function assertPluginList(e,t){const r=assertArray(e,t);if(r){r.forEach(((t,r)=>assertPluginItem(access(e,r),t)))}return r}function assertPluginItem(e,t){if(Array.isArray(t)){if(t.length===0){throw new Error(`${msg(e)} must include an object`)}if(t.length>3){throw new Error(`${msg(e)} may only be a two-tuple or three-tuple`)}assertPluginTarget(access(e,0),t[0]);if(t.length>1){const r=t[1];if(r!==undefined&&r!==false&&(typeof r!=="object"||Array.isArray(r)||r===null)){throw new Error(`${msg(access(e,1))} must be an object, false, or undefined`)}}if(t.length===3){const r=t[2];if(r!==undefined&&typeof r!=="string"){throw new Error(`${msg(access(e,2))} must be a string, or undefined`)}}}else{assertPluginTarget(e,t)}return t}function assertPluginTarget(e,t){if((typeof t!=="object"||!t)&&typeof t!=="string"&&typeof t!=="function"){throw new Error(`${msg(e)} must be a string, object, function`)}return t}function assertTargets(e,t){if((0,_helperCompilationTargets().isBrowsersQueryValid)(t))return t;if(typeof t!=="object"||!t||Array.isArray(t)){throw new Error(`${msg(e)} must be a string, an array of strings or an object`)}const r=access(e,"browsers");const n=access(e,"esmodules");assertBrowsersList(r,t.browsers);assertBoolean(n,t.esmodules);for(const r of Object.keys(t)){const n=t[r];const s=access(e,r);if(r==="esmodules")assertBoolean(s,n);else if(r==="browsers")assertBrowsersList(s,n);else if(!hasOwnProperty.call(_helperCompilationTargets().TargetNames,r)){const e=Object.keys(_helperCompilationTargets().TargetNames).join(", ");throw new Error(`${msg(s)} is not a valid target. Supported targets are ${e}`)}else assertBrowserVersion(s,n)}return t}function assertBrowsersList(e,t){if(t!==undefined&&!(0,_helperCompilationTargets().isBrowsersQueryValid)(t)){throw new Error(`${msg(e)} must be undefined, a string or an array of strings`)}}function assertBrowserVersion(e,t){if(typeof t==="number"&&Math.round(t)===t)return;if(typeof t==="string")return;throw new Error(`${msg(e)} must be a string or an integer number`)}function assertAssumptions(e,t){if(t===undefined)return;if(typeof t!=="object"||t===null){throw new Error(`${msg(e)} must be an object or undefined.`)}let r=e;do{r=r.parent}while(r.type!=="root");const s=r.source==="preset";for(const r of Object.keys(t)){const i=access(e,r);if(!n.assumptionsNames.has(r)){throw new Error(`${msg(i)} is not a supported assumption.`)}if(typeof t[r]!=="boolean"){throw new Error(`${msg(i)} must be a boolean.`)}if(s&&t[r]===false){throw new Error(`${msg(i)} cannot be set to 'false' inside presets.`)}}return t}0&&0},4320:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.assumptionsNames=void 0;t.checkNoUnwrappedItemOptionPairs=checkNoUnwrappedItemOptionPairs;t.validate=validate;var n=r(3789);var s=r(4882);var i=r(195);const a={cwd:s.assertString,root:s.assertString,rootMode:s.assertRootMode,configFile:s.assertConfigFileSearch,caller:s.assertCallerMetadata,filename:s.assertString,filenameRelative:s.assertString,code:s.assertBoolean,ast:s.assertBoolean,cloneInputAst:s.assertBoolean,envName:s.assertString};const o={babelrc:s.assertBoolean,babelrcRoots:s.assertBabelrcSearch};const l={extends:s.assertString,ignore:s.assertIgnoreList,only:s.assertIgnoreList,targets:s.assertTargets,browserslistConfigFile:s.assertConfigFileSearch,browserslistEnv:s.assertString};const c={inputSourceMap:s.assertInputSourceMap,presets:s.assertPluginList,plugins:s.assertPluginList,passPerPreset:s.assertBoolean,assumptions:s.assertAssumptions,env:assertEnvSet,overrides:assertOverridesList,test:s.assertConfigApplicableTest,include:s.assertConfigApplicableTest,exclude:s.assertConfigApplicableTest,retainLines:s.assertBoolean,comments:s.assertBoolean,shouldPrintComment:s.assertFunction,compact:s.assertCompact,minified:s.assertBoolean,auxiliaryCommentBefore:s.assertString,auxiliaryCommentAfter:s.assertString,sourceType:s.assertSourceType,wrapPluginVisitorMethod:s.assertFunction,highlightCode:s.assertBoolean,sourceMaps:s.assertSourceMaps,sourceMap:s.assertSourceMaps,sourceFileName:s.assertString,sourceRoot:s.assertString,parserOpts:s.assertObject,generatorOpts:s.assertObject};{Object.assign(c,{getModuleId:s.assertFunction,moduleRoot:s.assertString,moduleIds:s.assertBoolean,moduleId:s.assertString})}const p=["arrayLikeIsIterable","constantReexports","constantSuper","enumerableModuleMeta","ignoreFunctionLength","ignoreToPrimitiveHint","iterableIsArray","mutableTemplateObject","noClassCalls","noDocumentAll","noIncompleteNsImportDetection","noNewArrows","noUninitializedPrivateFieldAccess","objectRestNoSymbols","privateFieldsAsSymbols","privateFieldsAsProperties","pureGetters","setClassMethods","setComputedProperties","setPublicClassFields","setSpreadProperties","skipForOfIteratorClosing","superIsCallableConstructor"];const u=t.assumptionsNames=new Set(p);function getSource(e){return e.type==="root"?e.source:getSource(e.parent)}function validate(e,t,r){try{return validateNested({type:"root",source:e},t)}catch(e){const t=new i.default(e.message,r);if(e.code)t.code=e.code;throw t}}function validateNested(e,t){const r=getSource(e);assertNoDuplicateSourcemap(t);Object.keys(t).forEach((n=>{const i={type:"option",name:n,parent:e};if(r==="preset"&&l[n]){throw new Error(`${(0,s.msg)(i)} is not allowed in preset options`)}if(r!=="arguments"&&a[n]){throw new Error(`${(0,s.msg)(i)} is only allowed in root programmatic options`)}if(r!=="arguments"&&r!=="configfile"&&o[n]){if(r==="babelrcfile"||r==="extendsfile"){throw new Error(`${(0,s.msg)(i)} is not allowed in .babelrc or "extends"ed files, only in root programmatic options, `+`or babel.config.js/config file options`)}throw new Error(`${(0,s.msg)(i)} is only allowed in root programmatic options, or babel.config.js/config file options`)}const p=c[n]||l[n]||o[n]||a[n]||throwUnknownError;p(i,t[n])}));return t}function throwUnknownError(e){const t=e.name;if(n.default[t]){const{message:r,version:i=5}=n.default[t];throw new Error(`Using removed Babel ${i} option: ${(0,s.msg)(e)} - ${r}`)}else{const t=new Error(`Unknown option: ${(0,s.msg)(e)}. Check out https://babeljs.io/docs/en/babel-core/#options for more information about options.`);t.code="BABEL_UNKNOWN_OPTION";throw t}}function assertNoDuplicateSourcemap(e){if(hasOwnProperty.call(e,"sourceMap")&&hasOwnProperty.call(e,"sourceMaps")){throw new Error(".sourceMap is an alias for .sourceMaps, cannot use both")}}function assertEnvSet(e,t){if(e.parent.type==="env"){throw new Error(`${(0,s.msg)(e)} is not allowed inside of another .env block`)}const r=e.parent;const n=(0,s.assertObject)(e,t);if(n){for(const t of Object.keys(n)){const i=(0,s.assertObject)((0,s.access)(e,t),n[t]);if(!i)continue;const a={type:"env",name:t,parent:r};validateNested(a,i)}}return n}function assertOverridesList(e,t){if(e.parent.type==="env"){throw new Error(`${(0,s.msg)(e)} is not allowed inside an .env block`)}if(e.parent.type==="overrides"){throw new Error(`${(0,s.msg)(e)} is not allowed inside an .overrides block`)}const r=e.parent;const n=(0,s.assertArray)(e,t);if(n){for(const[t,i]of n.entries()){const n=(0,s.access)(e,t);const a=(0,s.assertObject)(n,i);if(!a)throw new Error(`${(0,s.msg)(n)} must be an object`);const o={type:"overrides",index:t,parent:r};validateNested(o,a)}}return n}function checkNoUnwrappedItemOptionPairs(e,t,r,n){if(t===0)return;const s=e[t-1];const i=e[t];if(s.file&&s.options===undefined&&typeof i.value==="object"){n.message+=`\n- Maybe you meant to use\n`+`"${r}s": [\n ["${s.file.request}", ${JSON.stringify(i.value,undefined,2)}]\n]\n`+`To be a valid ${r}, its name and options should be wrapped in a pair of brackets`}}0&&0},2088:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.validatePluginObject=validatePluginObject;var n=r(4882);const s={name:n.assertString,manipulateOptions:n.assertFunction,pre:n.assertFunction,post:n.assertFunction,inherits:n.assertFunction,visitor:assertVisitorMap,parserOverride:n.assertFunction,generatorOverride:n.assertFunction};function assertVisitorMap(e,t){const r=(0,n.assertObject)(e,t);if(r){Object.keys(r).forEach((e=>{if(e!=="_exploded"&&e!=="_verified"){assertVisitorHandler(e,r[e])}}));if(r.enter||r.exit){throw new Error(`${(0,n.msg)(e)} cannot contain catch-all "enter" or "exit" handlers. Please target individual nodes.`)}}return r}function assertVisitorHandler(e,t){if(t&&typeof t==="object"){Object.keys(t).forEach((t=>{if(t!=="enter"&&t!=="exit"){throw new Error(`.visitor["${e}"] may only have .enter and/or .exit handlers.`)}}))}else if(typeof t!=="function"){throw new Error(`.visitor["${e}"] must be a function`)}}function validatePluginObject(e){const t={type:"root",source:"plugin"};Object.keys(e).forEach((r=>{const n=s[r];if(n){const s={type:"option",name:r,parent:t};n(s,e[r])}else{const e=new Error(`.${r} is not a valid Plugin property`);e.code="BABEL_UNKNOWN_PLUGIN_PROPERTY";throw e}}));return e}0&&0},3789:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var r=t["default"]={auxiliaryComment:{message:"Use `auxiliaryCommentBefore` or `auxiliaryCommentAfter`"},blacklist:{message:"Put the specific transforms you want in the `plugins` option"},breakConfig:{message:"This is not a necessary option in Babel 6"},experimental:{message:"Put the specific transforms you want in the `plugins` option"},externalHelpers:{message:"Use the `external-helpers` plugin instead. "+"Check out http://babeljs.io/docs/plugins/external-helpers/"},extra:{message:""},jsxPragma:{message:"use the `pragma` option in the `react-jsx` plugin. "+"Check out http://babeljs.io/docs/plugins/transform-react-jsx/"},loose:{message:"Specify the `loose` option for the relevant plugin you are using "+"or use a preset that sets the option."},metadataUsedHelpers:{message:"Not required anymore as this is enabled by default"},modules:{message:"Use the corresponding module transform plugin in the `plugins` option. "+"Check out http://babeljs.io/docs/plugins/#modules"},nonStandard:{message:"Use the `react-jsx` and `flow-strip-types` plugins to support JSX and Flow. "+"Also check out the react preset http://babeljs.io/docs/plugins/preset-react/"},optional:{message:"Put the specific transforms you want in the `plugins` option"},sourceMapName:{message:"The `sourceMapName` option has been removed because it makes more sense for the "+"tooling that calls Babel to assign `map.file` themselves."},stage:{message:"Check out the corresponding stage-x presets http://babeljs.io/docs/plugins/#presets"},whitelist:{message:"Put the specific transforms you want in the `plugins` option"},resolveModuleSource:{version:6,message:"Use `babel-plugin-module-resolver@3`'s 'resolvePath' options"},metadata:{version:6,message:"Generated plugin metadata is always included in the output result"},sourceMapTarget:{version:6,message:"The `sourceMapTarget` option has been removed because it makes more sense for the tooling "+"that calls Babel to assign `map.file` themselves."}};0&&0},195:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=r(8502);class ConfigError extends Error{constructor(e,t){super(e);(0,n.expectedError)(this);if(t)(0,n.injectVirtualStackFrame)(this,t)}}t["default"]=ConfigError;0&&0},8502:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.beginHiddenCallStack=beginHiddenCallStack;t.endHiddenCallStack=endHiddenCallStack;t.expectedError=expectedError;t.injectVirtualStackFrame=injectVirtualStackFrame;var r;const n=Function.call.bind(Error.prototype.toString);const s=!!Error.captureStackTrace&&((r=Object.getOwnPropertyDescriptor(Error,"stackTraceLimit"))==null?void 0:r.writable)===true;const i="startHiding - secret - don't use this - v1";const a="stopHiding - secret - don't use this - v1";const o=new WeakSet;const l=new WeakMap;function CallSite(e){return Object.create({isNative:()=>false,isConstructor:()=>false,isToplevel:()=>true,getFileName:()=>e,getLineNumber:()=>undefined,getColumnNumber:()=>undefined,getFunctionName:()=>undefined,getMethodName:()=>undefined,getTypeName:()=>undefined,toString:()=>e})}function injectVirtualStackFrame(e,t){if(!s)return;let r=l.get(e);if(!r)l.set(e,r=[]);r.push(CallSite(t));return e}function expectedError(e){if(!s)return;o.add(e);return e}function beginHiddenCallStack(e){if(!s)return e;return Object.defineProperty((function(...t){setupPrepareStackTrace();return e(...t)}),"name",{value:a})}function endHiddenCallStack(e){if(!s)return e;return Object.defineProperty((function(...t){return e(...t)}),"name",{value:i})}function setupPrepareStackTrace(){setupPrepareStackTrace=()=>{};const{prepareStackTrace:e=defaultPrepareStackTrace}=Error;const t=50;Error.stackTraceLimit&&(Error.stackTraceLimit=Math.max(Error.stackTraceLimit,t));Error.prepareStackTrace=function stackTraceRewriter(t,r){let n=[];const s=o.has(t);let c=s?"hiding":"unknown";for(let e=0;e<r.length;e++){const s=r[e].getFunctionName();if(s===i){c="hiding"}else if(s===a){if(c==="hiding"){c="showing";if(l.has(t)){n.unshift(...l.get(t))}}else if(c==="unknown"){n=r;break}}else if(c!=="hiding"){n.push(r[e])}}return e(t,n)}}function defaultPrepareStackTrace(e,t){if(t.length===0)return n(e);return`${n(e)}\n at ${t.join("\n at ")}`}0&&0},7987:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.forwardAsync=forwardAsync;t.isAsync=void 0;t.isThenable=isThenable;t.maybeAsync=maybeAsync;t.waitFor=t.onFirstPause=void 0;function _gensync(){const e=r(6433);_gensync=function(){return e};return e}function asyncGeneratorStep(e,t,r,n,s,i,a){try{var o=e[i](a),l=o.value}catch(e){return void r(e)}o.done?t(l):Promise.resolve(l).then(n,s)}function _asyncToGenerator(e){return function(){var t=this,r=arguments;return new Promise((function(n,s){var i=e.apply(t,r);function _next(e){asyncGeneratorStep(i,n,s,_next,_throw,"next",e)}function _throw(e){asyncGeneratorStep(i,n,s,_next,_throw,"throw",e)}_next(void 0)}))}}const n=_gensync()((function*(e){return yield*e}));const s=t.isAsync=_gensync()({sync:()=>false,errback:e=>e(null,true)});function maybeAsync(e,t){return _gensync()({sync(...r){const n=e.apply(this,r);if(isThenable(n))throw new Error(t);return n},async(...t){return Promise.resolve(e.apply(this,t))}})}const i=_gensync()({sync:e=>e("sync"),async:function(){var e=_asyncToGenerator((function*(e){return e("async")}));return function async(t){return e.apply(this,arguments)}}()});function forwardAsync(e,t){const r=_gensync()(e);return i((e=>{const n=r[e];return t(n)}))}const a=t.onFirstPause=_gensync()({name:"onFirstPause",arity:2,sync:function(e){return n.sync(e)},errback:function(e,t,r){let s=false;n.errback(e,((e,t)=>{s=true;r(e,t)}));if(!s){t()}}});const o=t.waitFor=_gensync()({sync:e=>e,async:function(){var e=_asyncToGenerator((function*(e){return e}));return function async(t){return e.apply(this,arguments)}}()});function isThenable(e){return!!e&&(typeof e==="object"||typeof e==="function")&&!!e.then&&typeof e.then==="function"}0&&0},409:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.stat=t.readFile=void 0;function _fs(){const e=r(7147);_fs=function(){return e};return e}function _gensync(){const e=r(6433);_gensync=function(){return e};return e}const n=t.readFile=_gensync()({sync:_fs().readFileSync,errback:_fs().readFile});const s=t.stat=_gensync()({sync:_fs().statSync,errback:_fs().stat});0&&0},9516:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.once=once;var n=r(7987);function once(e){let t;let r;let s=false;return function*(){if(!t){if(r){s=true;return yield*(0,n.waitFor)(r)}if(!(yield*(0,n.isAsync)())){try{t={ok:true,value:yield*e()}}catch(e){t={ok:false,value:e}}}else{let n,i;r=new Promise(((e,t)=>{n=e;i=t}));try{t={ok:true,value:yield*e()};r=null;if(s)n(t.value)}catch(e){t={ok:false,value:e};r=null;if(s)i(e)}}}if(t.ok)return t.value;else throw t.value}}0&&0},2358:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.DEFAULT_EXTENSIONS=void 0;Object.defineProperty(t,"File",{enumerable:true,get:function(){return n.default}});Object.defineProperty(t,"buildExternalHelpers",{enumerable:true,get:function(){return s.default}});Object.defineProperty(t,"createConfigItem",{enumerable:true,get:function(){return o.createConfigItem}});Object.defineProperty(t,"createConfigItemAsync",{enumerable:true,get:function(){return o.createConfigItemAsync}});Object.defineProperty(t,"createConfigItemSync",{enumerable:true,get:function(){return o.createConfigItemSync}});Object.defineProperty(t,"getEnv",{enumerable:true,get:function(){return a.getEnv}});Object.defineProperty(t,"loadOptions",{enumerable:true,get:function(){return o.loadOptions}});Object.defineProperty(t,"loadOptionsAsync",{enumerable:true,get:function(){return o.loadOptionsAsync}});Object.defineProperty(t,"loadOptionsSync",{enumerable:true,get:function(){return o.loadOptionsSync}});Object.defineProperty(t,"loadPartialConfig",{enumerable:true,get:function(){return o.loadPartialConfig}});Object.defineProperty(t,"loadPartialConfigAsync",{enumerable:true,get:function(){return o.loadPartialConfigAsync}});Object.defineProperty(t,"loadPartialConfigSync",{enumerable:true,get:function(){return o.loadPartialConfigSync}});Object.defineProperty(t,"parse",{enumerable:true,get:function(){return u.parse}});Object.defineProperty(t,"parseAsync",{enumerable:true,get:function(){return u.parseAsync}});Object.defineProperty(t,"parseSync",{enumerable:true,get:function(){return u.parseSync}});t.resolvePreset=t.resolvePlugin=void 0;Object.defineProperty((0,t),"template",{enumerable:true,get:function(){return _template().default}});Object.defineProperty((0,t),"tokTypes",{enumerable:true,get:function(){return _parser().tokTypes}});Object.defineProperty(t,"transform",{enumerable:true,get:function(){return l.transform}});Object.defineProperty(t,"transformAsync",{enumerable:true,get:function(){return l.transformAsync}});Object.defineProperty(t,"transformFile",{enumerable:true,get:function(){return c.transformFile}});Object.defineProperty(t,"transformFileAsync",{enumerable:true,get:function(){return c.transformFileAsync}});Object.defineProperty(t,"transformFileSync",{enumerable:true,get:function(){return c.transformFileSync}});Object.defineProperty(t,"transformFromAst",{enumerable:true,get:function(){return p.transformFromAst}});Object.defineProperty(t,"transformFromAstAsync",{enumerable:true,get:function(){return p.transformFromAstAsync}});Object.defineProperty(t,"transformFromAstSync",{enumerable:true,get:function(){return p.transformFromAstSync}});Object.defineProperty(t,"transformSync",{enumerable:true,get:function(){return l.transformSync}});Object.defineProperty((0,t),"traverse",{enumerable:true,get:function(){return _traverse().default}});t.version=t.types=void 0;var n=r(2302);var s=r(5085);var i=r(5329);var a=r(5723);function _types(){const e=r(3061);_types=function(){return e};return e}Object.defineProperty((0,t),"types",{enumerable:true,get:function(){return _types()}});function _parser(){const e=r(9849);_parser=function(){return e};return e}function _traverse(){const e=r(8026);_traverse=function(){return e};return e}function _template(){const e=r(5326);_template=function(){return e};return e}var o=r(8842);var l=r(2175);var c=r(7111);var p=r(4087);var u=r(9154);const d=t.version="7.26.10";const resolvePlugin=(e,t)=>i.resolvePlugin(e,t,false).filepath;t.resolvePlugin=resolvePlugin;const resolvePreset=(e,t)=>i.resolvePreset(e,t,false).filepath;t.resolvePreset=resolvePreset;const f=t.DEFAULT_EXTENSIONS=Object.freeze([".js",".jsx",".es6",".es",".mjs",".cjs"]);{t.OptionManager=class OptionManager{init(e){return(0,o.loadOptionsSync)(e)}};t.Plugin=function Plugin(e){throw new Error(`The (${e}) Babel 5 plugin is being run with an unsupported Babel version.`)}}0&&0},9154:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.parse=void 0;t.parseAsync=parseAsync;t.parseSync=parseSync;function _gensync(){const e=r(6433);_gensync=function(){return e};return e}var n=r(8842);var s=r(8015);var i=r(6351);var a=r(8502);const o=_gensync()((function*parse(e,t){const r=yield*(0,n.default)(t);if(r===null){return null}return yield*(0,s.default)(r.passes,(0,i.default)(r),e)}));const l=t.parse=function parse(e,t,r){if(typeof t==="function"){r=t;t=undefined}if(r===undefined){{return(0,a.beginHiddenCallStack)(o.sync)(e,t)}}(0,a.beginHiddenCallStack)(o.errback)(e,t,r)};function parseSync(...e){return(0,a.beginHiddenCallStack)(o.sync)(...e)}function parseAsync(...e){return(0,a.beginHiddenCallStack)(o.async)(...e)}0&&0},8015:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=parser;function _parser(){const e=r(9849);_parser=function(){return e};return e}function _codeFrame(){const e=r(3554);_codeFrame=function(){return e};return e}var n=r(6338);function*parser(e,{parserOpts:t,highlightCode:r=true,filename:s="unknown"},i){try{const r=[];for(const n of e){for(const e of n){const{parserOverride:n}=e;if(n){const e=n(i,t,_parser().parse);if(e!==undefined)r.push(e)}}}if(r.length===0){return(0,_parser().parse)(i,t)}else if(r.length===1){yield*[];if(typeof r[0].then==="function"){throw new Error(`You appear to be using an async parser plugin, `+`which your current version of Babel does not support. `+`If you're using a published plugin, you may need to upgrade `+`your @babel/core version.`)}return r[0]}throw new Error("More than one plugin attempted to override parsing.")}catch(e){if(e.code==="BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED"){e.message+="\nConsider renaming the file to '.mjs', or setting sourceType:module "+"or sourceType:unambiguous in your Babel config for this file."}const{loc:t,missingPlugin:a}=e;if(t){const o=(0,_codeFrame().codeFrameColumns)(i,{start:{line:t.line,column:t.column+1}},{highlightCode:r});if(a){e.message=`${s}: `+(0,n.default)(a[0],t,o,s)}else{e.message=`${s}: ${e.message}\n\n`+o}e.code="BABEL_PARSE_ERROR"}throw e}}0&&0},6338:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=generateMissingPluginMessage;const r={asyncDoExpressions:{syntax:{name:"@babel/plugin-syntax-async-do-expressions",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-async-do-expressions"}},decimal:{syntax:{name:"@babel/plugin-syntax-decimal",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-decimal"}},decorators:{syntax:{name:"@babel/plugin-syntax-decorators",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-decorators"},transform:{name:"@babel/plugin-proposal-decorators",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-proposal-decorators"}},doExpressions:{syntax:{name:"@babel/plugin-syntax-do-expressions",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-do-expressions"},transform:{name:"@babel/plugin-proposal-do-expressions",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-proposal-do-expressions"}},exportDefaultFrom:{syntax:{name:"@babel/plugin-syntax-export-default-from",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-export-default-from"},transform:{name:"@babel/plugin-proposal-export-default-from",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-proposal-export-default-from"}},flow:{syntax:{name:"@babel/plugin-syntax-flow",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-flow"},transform:{name:"@babel/preset-flow",url:"https://github.com/babel/babel/tree/main/packages/babel-preset-flow"}},functionBind:{syntax:{name:"@babel/plugin-syntax-function-bind",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-function-bind"},transform:{name:"@babel/plugin-proposal-function-bind",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-proposal-function-bind"}},functionSent:{syntax:{name:"@babel/plugin-syntax-function-sent",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-function-sent"},transform:{name:"@babel/plugin-proposal-function-sent",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-proposal-function-sent"}},jsx:{syntax:{name:"@babel/plugin-syntax-jsx",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-jsx"},transform:{name:"@babel/preset-react",url:"https://github.com/babel/babel/tree/main/packages/babel-preset-react"}},pipelineOperator:{syntax:{name:"@babel/plugin-syntax-pipeline-operator",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-pipeline-operator"},transform:{name:"@babel/plugin-proposal-pipeline-operator",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-proposal-pipeline-operator"}},recordAndTuple:{syntax:{name:"@babel/plugin-syntax-record-and-tuple",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-record-and-tuple"}},throwExpressions:{syntax:{name:"@babel/plugin-syntax-throw-expressions",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-throw-expressions"},transform:{name:"@babel/plugin-proposal-throw-expressions",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-proposal-throw-expressions"}},typescript:{syntax:{name:"@babel/plugin-syntax-typescript",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-typescript"},transform:{name:"@babel/preset-typescript",url:"https://github.com/babel/babel/tree/main/packages/babel-preset-typescript"}}};{Object.assign(r,{asyncGenerators:{syntax:{name:"@babel/plugin-syntax-async-generators",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-async-generators"},transform:{name:"@babel/plugin-transform-async-generator-functions",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-async-generator-functions"}},classProperties:{syntax:{name:"@babel/plugin-syntax-class-properties",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-class-properties"},transform:{name:"@babel/plugin-transform-class-properties",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-class-properties"}},classPrivateProperties:{syntax:{name:"@babel/plugin-syntax-class-properties",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-class-properties"},transform:{name:"@babel/plugin-transform-class-properties",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-class-properties"}},classPrivateMethods:{syntax:{name:"@babel/plugin-syntax-class-properties",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-class-properties"},transform:{name:"@babel/plugin-transform-private-methods",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-private-methods"}},classStaticBlock:{syntax:{name:"@babel/plugin-syntax-class-static-block",url:"https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-syntax-class-static-block"},transform:{name:"@babel/plugin-transform-class-static-block",url:"https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-transform-class-static-block"}},dynamicImport:{syntax:{name:"@babel/plugin-syntax-dynamic-import",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-dynamic-import"}},exportNamespaceFrom:{syntax:{name:"@babel/plugin-syntax-export-namespace-from",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-export-namespace-from"},transform:{name:"@babel/plugin-transform-export-namespace-from",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-export-namespace-from"}},importAssertions:{syntax:{name:"@babel/plugin-syntax-import-assertions",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-import-assertions"}},importAttributes:{syntax:{name:"@babel/plugin-syntax-import-attributes",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-import-attributes"}},importMeta:{syntax:{name:"@babel/plugin-syntax-import-meta",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-import-meta"}},logicalAssignment:{syntax:{name:"@babel/plugin-syntax-logical-assignment-operators",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-logical-assignment-operators"},transform:{name:"@babel/plugin-transform-logical-assignment-operators",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-logical-assignment-operators"}},moduleStringNames:{syntax:{name:"@babel/plugin-syntax-module-string-names",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-module-string-names"}},numericSeparator:{syntax:{name:"@babel/plugin-syntax-numeric-separator",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-numeric-separator"},transform:{name:"@babel/plugin-transform-numeric-separator",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-numeric-separator"}},nullishCoalescingOperator:{syntax:{name:"@babel/plugin-syntax-nullish-coalescing-operator",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-nullish-coalescing-operator"},transform:{name:"@babel/plugin-transform-nullish-coalescing-operator",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-nullish-coalescing-opearator"}},objectRestSpread:{syntax:{name:"@babel/plugin-syntax-object-rest-spread",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-object-rest-spread"},transform:{name:"@babel/plugin-transform-object-rest-spread",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-object-rest-spread"}},optionalCatchBinding:{syntax:{name:"@babel/plugin-syntax-optional-catch-binding",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-optional-catch-binding"},transform:{name:"@babel/plugin-transform-optional-catch-binding",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-optional-catch-binding"}},optionalChaining:{syntax:{name:"@babel/plugin-syntax-optional-chaining",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-optional-chaining"},transform:{name:"@babel/plugin-transform-optional-chaining",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-optional-chaining"}},privateIn:{syntax:{name:"@babel/plugin-syntax-private-property-in-object",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-private-property-in-object"},transform:{name:"@babel/plugin-transform-private-property-in-object",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-transform-private-property-in-object"}},regexpUnicodeSets:{syntax:{name:"@babel/plugin-syntax-unicode-sets-regex",url:"https://github.com/babel/babel/blob/main/packages/babel-plugin-syntax-unicode-sets-regex/README.md"},transform:{name:"@babel/plugin-transform-unicode-sets-regex",url:"https://github.com/babel/babel/blob/main/packages/babel-plugin-proposalunicode-sets-regex/README.md"}}})}const getNameURLCombination=({name:e,url:t})=>`${e} (${t})`;function generateMissingPluginMessage(e,t,n,s){let i=`Support for the experimental syntax '${e}' isn't currently enabled `+`(${t.line}:${t.column+1}):\n\n`+n;const a=r[e];if(a){const{syntax:e,transform:t}=a;if(e){const r=getNameURLCombination(e);if(t){const e=getNameURLCombination(t);const n=t.name.startsWith("@babel/plugin")?"plugins":"presets";i+=`\n\nAdd ${e} to the '${n}' section of your Babel config to enable transformation.\nIf you want to leave it as-is, add ${r} to the 'plugins' section to enable parsing.`}else{i+=`\n\nAdd ${r} to the 'plugins' section of your Babel config `+`to enable parsing.`}}}const o=s==="unknown"?"<name of the input file>":s;i+=`\n\nIf you already added the plugin for this syntax to your config, it's possible that your config isn't being loaded.\nYou can re-run Babel with the BABEL_SHOW_CONFIG_FOR environment variable to show the loaded configuration:\n\tnpx cross-env BABEL_SHOW_CONFIG_FOR=${o} <your build command>\nSee https://babeljs.io/docs/configuration#print-effective-configs for more info.\n`;return i}0&&0},5085:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=_default;function helpers(){const e=r(8796);helpers=function(){return e};return e}function _generator(){const e=r(1605);_generator=function(){return e};return e}function _template(){const e=r(5326);_template=function(){return e};return e}function _t(){const e=r(3061);_t=function(){return e};return e}const{arrayExpression:n,assignmentExpression:s,binaryExpression:i,blockStatement:a,callExpression:o,cloneNode:l,conditionalExpression:c,exportNamedDeclaration:p,exportSpecifier:u,expressionStatement:d,functionExpression:f,identifier:h,memberExpression:m,objectExpression:y,program:g,stringLiteral:b,unaryExpression:T,variableDeclaration:S,variableDeclarator:x}=_t();const buildUmdWrapper=e=>_template().default.statement`
2 (function (root, factory) {
3 if (typeof define === "function" && define.amd) {
4 define(AMD_ARGUMENTS, factory);

Callers 2

loadPluginFunction · 0.70
loadPresetFunction · 0.70

Calls 3

hasMethod · 0.45
addMethod · 0.45
deleteMethod · 0.45

Tested by

no test coverage detected