UNPKG

@sap/generator-fiori

Version:

Create an SAPUI5 application using SAP Fiori elements or a freestyle approach

13 lines (12 loc) 92.9 kB
const __esmImportMetaUrl = require('node:url').pathToFileURL(__filename).href; "use strict";var xe=Object.defineProperty;var si=Object.getOwnPropertyDescriptor;var ai=Object.getOwnPropertyNames;var oi=Object.prototype.hasOwnProperty;var u=(e,t)=>xe(e,"name",{value:t,configurable:!0});var ci=(e,t,r)=>()=>{if(r)throw r[0];try{return e&&(t=e(e=0)),t}catch(n){throw r=[n],n}};var f=(e,t)=>()=>{try{return t||e((t={exports:{}}).exports,t),t.exports}catch(r){throw t=0,r}},li=(e,t)=>{for(var r in t)xe(e,r,{get:t[r],enumerable:!0})},fi=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of ai(t))!oi.call(e,i)&&i!==r&&xe(e,i,{get:()=>t[i],enumerable:!(n=si(t,i))||n.enumerable});return e};var pi=e=>fi(xe({},"__esModule",{value:!0}),e);var xt=f((ia,je)=>{"use strict";var Et=u((e,...t)=>new Promise(r=>{r(e(...t))}),"pTry");je.exports=Et;je.exports.default=Et});var Dt=f((sa,Ue)=>{"use strict";var di=xt(),Ot=u(e=>{if(!((Number.isInteger(e)||e===1/0)&&e>0))return Promise.reject(new TypeError("Expected `concurrency` to be a number from 1 and up"));let t=[],r=0,n=u(()=>{r--,t.length>0&&t.shift()()},"next"),i=u((o,l,...v)=>{r++;let c=di(o,...v);l(c),c.then(n,n)},"run"),s=u((o,l,...v)=>{r<e?i(o,l,...v):t.push(i.bind(null,o,l,...v))},"enqueue"),a=u((o,...l)=>new Promise(v=>s(o,v,...l)),"generator");return Object.defineProperties(a,{activeCount:{get:u(()=>r,"get")},pendingCount:{get:u(()=>t.length,"get")},clearQueue:{value:u(()=>{t.length=0},"value")}}),a},"pLimit");Ue.exports=Ot;Ue.exports.default=Ot});var Nt=f((oa,qe)=>{"use strict";var _t=Dt(),Oe=class extends Error{static{u(this,"EndError")}constructor(t){super(),this.value=t}},hi=u(async(e,t)=>t(await e),"testElement"),mi=u(async e=>{let t=await Promise.all(e);if(t[1]===!0)throw new Oe(t[0]);return!1},"finder"),At=u(async(e,t,r)=>{r={concurrency:1/0,preserveOrder:!0,...r};let n=_t(r.concurrency),i=[...e].map(a=>[a,n(hi,a,t)]),s=_t(r.preserveOrder?1:1/0);try{await Promise.all(i.map(a=>s(mi,a)))}catch(a){if(a instanceof Oe)return a.value;throw a}},"pLocate");qe.exports=At;qe.exports.default=At});var Bt=f((la,We)=>{"use strict";var Ft=require("path"),De=require("fs"),{promisify:It}=require("util"),vi=Nt(),gi=It(De.stat),yi=It(De.lstat),Gt={directory:"isDirectory",file:"isFile"};function Rt({type:e}){if(!(e in Gt))throw new Error(`Invalid type specified: ${e}`)}u(Rt,"checkType");var Tt=u((e,t)=>e===void 0||t[Gt[e]](),"matchType");We.exports=async(e,t)=>{t={cwd:process.cwd(),type:"file",allowSymlinks:!0,...t},Rt(t);let r=t.allowSymlinks?gi:yi;return vi(e,async n=>{try{let i=await r(Ft.resolve(t.cwd,n));return Tt(t.type,i)}catch{return!1}},t)};We.exports.sync=(e,t)=>{t={cwd:process.cwd(),allowSymlinks:!0,type:"file",...t},Rt(t);let r=t.allowSymlinks?De.statSync:De.lstatSync;for(let n of e)try{let i=r(Ft.resolve(t.cwd,n));if(Tt(t.type,i))return n}catch{}}});var kt=f((pa,$e)=>{"use strict";var Mt=require("fs"),{promisify:bi}=require("util"),Li=bi(Mt.access);$e.exports=async e=>{try{return await Li(e),!0}catch{return!1}};$e.exports.sync=e=>{try{return Mt.accessSync(e),!0}catch{return!1}}});var Ut=f((da,oe)=>{"use strict";var Z=require("path"),_e=Bt(),jt=kt(),He=Symbol("findUp.stop");oe.exports=async(e,t={})=>{let r=Z.resolve(t.cwd||""),{root:n}=Z.parse(r),i=[].concat(e),s=u(async a=>{if(typeof e!="function")return _e(i,a);let o=await e(a.cwd);return typeof o=="string"?_e([o],a):o},"runMatcher");for(;;){let a=await s({...t,cwd:r});if(a===He)return;if(a)return Z.resolve(r,a);if(r===n)return;r=Z.dirname(r)}};oe.exports.sync=(e,t={})=>{let r=Z.resolve(t.cwd||""),{root:n}=Z.parse(r),i=[].concat(e),s=u(a=>{if(typeof e!="function")return _e.sync(i,a);let o=e(a.cwd);return typeof o=="string"?_e.sync([o],a):o},"runMatcher");for(;;){let a=s({...t,cwd:r});if(a===He)return;if(a)return Z.resolve(r,a);if(r===n)return;r=Z.dirname(r)}};oe.exports.exists=jt;oe.exports.sync.exists=jt.sync;oe.exports.stop=He});var Wt=f((ma,qt)=>{"use strict";qt.exports=u(function(t){return t?t instanceof Array||Array.isArray(t)||t.length>=0&&t.splice instanceof Function:!1},"isArrayish")});var Ht=f((ga,$t)=>{"use strict";var Pi=require("util"),Si=Wt(),Ye=u(function(t,r){(!t||t.constructor!==String)&&(r=t||{},t=Error.name);var n=u(function i(s){if(!this)return new i(s);s=s instanceof Error?s.message:s||this.message,Error.call(this,s),Error.captureStackTrace(this,n),this.name=t,Object.defineProperty(this,"message",{configurable:!0,enumerable:!1,get:u(function(){var c=s.split(/\r?\n/g);for(var S in r)if(r.hasOwnProperty(S)){var P=r[S];"message"in P&&(c=P.message(this[S],c)||c,Si(c)||(c=[c]))}return c.join(` `)},"get"),set:u(function(c){s=c},"set")});var a=null,o=Object.getOwnPropertyDescriptor(this,"stack"),l=o.get,v=o.value;delete o.value,delete o.writable,o.set=function(c){a=c},o.get=function(){var c=(a||(l?l.call(this):v)).split(/\r?\n+/g);a||(c[0]=this.name+": "+this.message);var S=1;for(var P in r)if(r.hasOwnProperty(P)){var E=r[P];if("line"in E){var p=E.line(this[P]);p&&c.splice(S++,0," "+p)}"stack"in E&&E.stack(this[P],c)}return c.join(` `)},Object.defineProperty(this,"stack",o)},"ErrorEXError");return Object.setPrototypeOf?(Object.setPrototypeOf(n.prototype,Error.prototype),Object.setPrototypeOf(n,Error)):Pi.inherits(n,Error),n},"errorEx");Ye.append=function(e,t){return{message:u(function(r,n){return r=r||t,r&&(n[0]+=" "+e.replace("%s",r.toString())),n},"message")}};Ye.line=function(e,t){return{line:u(function(r){return r=r||t,r?e.replace("%s",r.toString()):null},"line")}};$t.exports=Ye});var Jt=f((ba,zt)=>{"use strict";var Ci=u(e=>{let t=e.charCodeAt(0).toString(16).toUpperCase();return"0x"+(t.length%2?"0":"")+t},"hexify"),wi=u((e,t,r)=>{if(!t)return{message:e.message+" while parsing empty string",position:0};let n=e.message.match(/^Unexpected token (.) .*position\s+(\d+)/i),i=n?+n[2]:e.message.match(/^Unexpected end of JSON.*/i)?t.length-1:null,s=n?e.message.replace(/^Unexpected token ./,`Unexpected token ${JSON.stringify(n[1])} (${Ci(n[1])})`):e.message;if(i!=null){let a=i<=r?0:i-r,o=i+r>=t.length?t.length:i+r,l=(a===0?"":"...")+t.slice(a,o)+(o===t.length?"":"...");return{message:s+` while parsing ${t===l?"":"near "}${JSON.stringify(l)}`,position:i}}else return{message:s+` while parsing '${t.slice(0,r*2)}'`,position:0}},"parseError"),Ae=class extends SyntaxError{static{u(this,"JSONParseError")}constructor(t,r,n,i){n=n||20;let s=wi(t,r,n);super(s.message),Object.assign(this,s),this.code="EJSONPARSE",this.systemError=t,Error.captureStackTrace(this,i||this.constructor)}get name(){return this.constructor.name}set name(t){}get[Symbol.toStringTag](){return this.constructor.name}},Ei=Symbol.for("indent"),xi=Symbol.for("newline"),Oi=/^\s*[{\[]((?:\r?\n)+)([\s\t]*)/,Di=/^(?:\{\}|\[\])((?:\r?\n)+)?$/,Ne=u((e,t,r)=>{let n=Yt(e);r=r||20;try{let[,i=` `,s=" "]=n.match(Di)||n.match(Oi)||[,"",""],a=JSON.parse(n,t);return a&&typeof a=="object"&&(a[xi]=i,a[Ei]=s),a}catch(i){if(typeof e!="string"&&!Buffer.isBuffer(e)){let s=Array.isArray(e)&&e.length===0;throw Object.assign(new TypeError(`Cannot parse ${s?"an empty array":String(e)}`),{code:"EJSONPARSE",systemError:i})}throw new Ae(i,n,r,Ne)}},"parseJson"),Yt=u(e=>String(e).replace(/^\uFEFF/,""),"stripBOM");zt.exports=Ne;Ne.JSONParseError=Ae;Ne.noExceptions=(e,t)=>{try{return JSON.parse(Yt(e),t)}catch{}}});var Vt={};li(Vt,{default:()=>Ai});var Fe,Kt,_i,Ai,Xt=ci(()=>{Fe=` `,Kt="\r",_i=(function(){function e(t){this.string=t;for(var r=[0],n=0;n<t.length;)switch(t[n]){case Fe:n+=Fe.length,r.push(n);break;case Kt:n+=Kt.length,t[n]===Fe&&(n+=Fe.length),r.push(n);break;default:n++;break}this.offsets=r}return u(e,"LinesAndColumns"),e.prototype.locationForIndex=function(t){if(t<0||t>this.string.length)return null;for(var r=0,n=this.offsets;n[r+1]<=t;)r++;var i=t-n[r];return{line:r,column:i}},e.prototype.indexForLocation=function(t){var r=t.line,n=t.column;return r<0||r>=this.offsets.length||n<0||n>this.lengthOfLine(r)?null:this.offsets[r]+n},e.prototype.lengthOfLine=function(t){var r=this.offsets[t],n=t===this.offsets.length-1?this.string.length:this.offsets[t+1];return n-r},e})(),Ai=_i});var Zt=f(Ie=>{Object.defineProperty(Ie,"__esModule",{value:!0});Ie.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;Ie.matchToToken=function(e){var t={type:"invalid",value:e[0],closed:void 0};return e[1]?(t.type="string",t.closed=!!(e[3]||e[4])):e[5]?t.type="comment":e[6]?(t.type="comment",t.closed=!!e[7]):e[8]?t.type="regex":e[9]?t.type="number":e[10]?t.type="name":e[11]?t.type="punctuator":e[12]&&(t.type="whitespace"),t}});var nr=f(de=>{"use strict";Object.defineProperty(de,"__esModule",{value:!0});de.isIdentifierStart=tr;de.isIdentifierChar=rr;de.isIdentifierName=Gi;var Je="\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08C7\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\u9FFC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7BF\uA7C2-\uA7CA\uA7F5-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC",Qt="\u200C\u200D\xB7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECD\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF\u1AC0\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA620-\uA629\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F1\uA8FF-\uA909\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9D0-\uA9D9\uA9E5\uA9F0-\uA9F9\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA50-\uAA59\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uABF0-\uABF9\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F",Ni=new RegExp("["+Je+"]"),Fi=new RegExp("["+Je+Qt+"]");Je=Qt=null;var er=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8952,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938],Ii=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239];function ze(e,t){let r=65536;for(let n=0,i=t.length;n<i;n+=2){if(r+=t[n],r>e)return!1;if(r+=t[n+1],r>=e)return!0}return!1}u(ze,"isInAstralSet");function tr(e){return e<65?e===36:e<=90?!0:e<97?e===95:e<=122?!0:e<=65535?e>=170&&Ni.test(String.fromCharCode(e)):ze(e,er)}u(tr,"isIdentifierStart");function rr(e){return e<48?e===36:e<58?!0:e<65?!1:e<=90?!0:e<97?e===95:e<=122?!0:e<=65535?e>=170&&Fi.test(String.fromCharCode(e)):ze(e,er)||ze(e,Ii)}u(rr,"isIdentifierChar");function Gi(e){let t=!0;for(let r=0,n=Array.from(e);r<n.length;r++){let s=n[r].codePointAt(0);if(t){if(!tr(s))return!1;t=!1}else if(!rr(s))return!1}return!t}u(Gi,"isIdentifierName")});var ar=f(te=>{"use strict";Object.defineProperty(te,"__esModule",{value:!0});te.isReservedWord=ir;te.isStrictReservedWord=ur;te.isStrictBindOnlyReservedWord=sr;te.isStrictBindReservedWord=Mi;te.isKeyword=ki;var Ke={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]},Ri=new Set(Ke.keyword),Ti=new Set(Ke.strict),Bi=new Set(Ke.strictBind);function ir(e,t){return t&&e==="await"||e==="enum"}u(ir,"isReservedWord");function ur(e,t){return ir(e,t)||Ti.has(e)}u(ur,"isStrictReservedWord");function sr(e){return Bi.has(e)}u(sr,"isStrictBindOnlyReservedWord");function Mi(e,t){return ur(e,t)||sr(e)}u(Mi,"isStrictBindReservedWord");function ki(e){return Ri.has(e)}u(ki,"isKeyword")});var or=f(W=>{"use strict";Object.defineProperty(W,"__esModule",{value:!0});Object.defineProperty(W,"isIdentifierName",{enumerable:!0,get:u(function(){return Ve.isIdentifierName},"get")});Object.defineProperty(W,"isIdentifierChar",{enumerable:!0,get:u(function(){return Ve.isIdentifierChar},"get")});Object.defineProperty(W,"isIdentifierStart",{enumerable:!0,get:u(function(){return Ve.isIdentifierStart},"get")});Object.defineProperty(W,"isReservedWord",{enumerable:!0,get:u(function(){return he.isReservedWord},"get")});Object.defineProperty(W,"isStrictBindOnlyReservedWord",{enumerable:!0,get:u(function(){return he.isStrictBindOnlyReservedWord},"get")});Object.defineProperty(W,"isStrictBindReservedWord",{enumerable:!0,get:u(function(){return he.isStrictBindReservedWord},"get")});Object.defineProperty(W,"isStrictReservedWord",{enumerable:!0,get:u(function(){return he.isStrictReservedWord},"get")});Object.defineProperty(W,"isKeyword",{enumerable:!0,get:u(function(){return he.isKeyword},"get")});var Ve=nr(),he=ar()});var hr=f(me=>{"use strict";Object.defineProperty(me,"__esModule",{value:!0});me.shouldHighlight=pr;me.getChalk=dr;me.default=Ji;var lr=Ui(Zt()),cr=or(),Xe=ji(require("../../commonlibs/chalk/index.js"));function ji(e){return e&&e.__esModule?e:{default:e}}u(ji,"_interopRequireDefault");function fr(){if(typeof WeakMap!="function")return null;var e=new WeakMap;return fr=u(function(){return e},"_getRequireWildcardCache"),e}u(fr,"_getRequireWildcardCache");function Ui(e){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var t=fr();if(t&&t.has(e))return t.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var s=n?Object.getOwnPropertyDescriptor(e,i):null;s&&(s.get||s.set)?Object.defineProperty(r,i,s):r[i]=e[i]}return r.default=e,t&&t.set(e,r),r}u(Ui,"_interopRequireWildcard");function qi(e){return{keyword:e.cyan,capitalized:e.yellow,jsx_tag:e.yellow,punctuator:e.yellow,number:e.magenta,string:e.green,regex:e.magenta,comment:e.grey,invalid:e.white.bgRed.bold}}u(qi,"getDefs");var Wi=/\r\n|[\n\r\u2028\u2029]/,$i=/^[a-z][\w-]*$/i,Hi=/^[()[\]{}]$/;function Yi(e){let[t,r]=e.slice(-2),n=(0,lr.matchToToken)(e);if(n.type==="name"){if((0,cr.isKeyword)(n.value)||(0,cr.isReservedWord)(n.value))return"keyword";if($i.test(n.value)&&(r[t-1]==="<"||r.substr(t-2,2)=="</"))return"jsx_tag";if(n.value[0]!==n.value[0].toLowerCase())return"capitalized"}return n.type==="punctuator"&&Hi.test(n.value)?"bracket":n.type==="invalid"&&(n.value==="@"||n.value==="#")?"punctuator":n.type}u(Yi,"getTokenType");function zi(e,t){return t.replace(lr.default,function(...r){let n=Yi(r),i=e[n];return i?r[0].split(Wi).map(s=>i(s)).join(` `):r[0]})}u(zi,"highlightTokens");function pr(e){return Xe.default.supportsColor||e.forceColor}u(pr,"shouldHighlight");function dr(e){let t=Xe.default;return e.forceColor&&(t=new Xe.default.constructor({enabled:!0,level:1})),t}u(dr,"getChalk");function Ji(e,t={}){if(pr(t)){let r=dr(t),n=qi(r);return zi(n,e)}else return e}u(Ji,"highlight")});var br=f(Ge=>{"use strict";Object.defineProperty(Ge,"__esModule",{value:!0});Ge.codeFrameColumns=yr;Ge.default=Zi;var Ze=Ki(hr());function gr(){if(typeof WeakMap!="function")return null;var e=new WeakMap;return gr=u(function(){return e},"_getRequireWildcardCache"),e}u(gr,"_getRequireWildcardCache");function Ki(e){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var t=gr();if(t&&t.has(e))return t.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var s=n?Object.getOwnPropertyDescriptor(e,i):null;s&&(s.get||s.set)?Object.defineProperty(r,i,s):r[i]=e[i]}return r.default=e,t&&t.set(e,r),r}u(Ki,"_interopRequireWildcard");var mr=!1;function Vi(e){return{gutter:e.grey,marker:e.red.bold,message:e.red.bold}}u(Vi,"getDefs");var vr=/\r\n|[\n\r\u2028\u2029]/;function Xi(e,t,r){let n=Object.assign({column:0,line:-1},e.start),i=Object.assign({},n,e.end),{linesAbove:s=2,linesBelow:a=3}=r||{},o=n.line,l=n.column,v=i.line,c=i.column,S=Math.max(o-(s+1),0),P=Math.min(t.length,v+a);o===-1&&(S=0),v===-1&&(P=t.length);let E=v-o,p={};if(E)for(let h=0;h<=E;h++){let m=h+o;if(!l)p[m]=!0;else if(h===0){let w=t[m-1].length;p[m]=[l,w-l+1]}else if(h===E)p[m]=[0,c];else{let w=t[m-h].length;p[m]=[0,w]}}else l===c?l?p[o]=[l,0]:p[o]=!0:p[o]=[l,c-l];return{start:S,end:P,markerLines:p}}u(Xi,"getMarkerLines");function yr(e,t,r={}){let n=(r.highlightCode||r.forceColor)&&(0,Ze.shouldHighlight)(r),i=(0,Ze.getChalk)(r),s=Vi(i),a=u((h,m)=>n?h(m):m,"maybeHighlight"),o=e.split(vr),{start:l,end:v,markerLines:c}=Xi(t,o,r),S=t.start&&typeof t.start.column=="number",P=String(v).length,p=(n?(0,Ze.default)(e,r):e).split(vr).slice(l,v).map((h,m)=>{let w=l+1+m,F=` ${` ${w}`.slice(-P)} | `,H=c[w],V=!c[w+1];if(H){let M="";if(Array.isArray(H)){let L=h.slice(0,Math.max(H[0]-1,0)).replace(/[^\t]/g," "),x=H[1]||1;M=[` `,a(s.gutter,F.replace(/\d/g," ")),L,a(s.marker,"^").repeat(x)].join(""),V&&r.message&&(M+=" "+a(s.message,r.message))}return[a(s.marker,">"),a(s.gutter,F),h,M].join("")}else return` ${a(s.gutter,F)}${h}`}).join(` `);return r.message&&!S&&(p=`${" ".repeat(P+1)}${r.message} ${p}`),n?i.reset(p):p}u(yr,"codeFrameColumns");function Zi(e,t,r,n={}){if(!mr){mr=!0;let s="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";if(process.emitWarning)process.emitWarning(s,"DeprecationWarning");else{let a=new Error(s);a.name="DeprecationWarning",console.warn(new Error(s))}}return r=Math.max(r,0),yr(e,{start:{column:r,line:t}},n)}u(Zi,"_default")});var Pr=f((Ia,Lr)=>{"use strict";var Qe=Ht(),Qi=Jt(),{default:eu}=(Xt(),pi(Vt)),{codeFrameColumns:tu}=br(),ru=Qe("JSONError",{fileName:Qe.append("in %s"),codeFrame:Qe.append(` %s `)});Lr.exports=(e,t,r)=>{typeof t=="string"&&(r=t,t=null);try{try{return JSON.parse(e,t)}catch(n){throw Qi(e,t),n}}catch(n){n.message=n.message.replace(/\n/g,"");let i=n.message.match(/in JSON at position (\d+) while parsing/),s=new ru(n);if(r&&(s.fileName=r),i&&i.length>0){let a=new eu(e),o=Number(i[1]),l=a.locationForIndex(o),v=tu(e,{start:{line:l.line+1,column:l.column+1}},{highlightCode:!0});s.codeFrame=v}throw s}}});var et=f((Ga,nu)=>{nu.exports=["0BSD","AAL","ADSL","AFL-1.1","AFL-1.2","AFL-2.0","AFL-2.1","AFL-3.0","AGPL-1.0-only","AGPL-1.0-or-later","AGPL-3.0-only","AGPL-3.0-or-later","AMDPLPA","AML","AMPAS","ANTLR-PD","APAFML","APL-1.0","APSL-1.0","APSL-1.1","APSL-1.2","APSL-2.0","Abstyles","Adobe-2006","Adobe-Glyph","Afmparse","Aladdin","Apache-1.0","Apache-1.1","Apache-2.0","Artistic-1.0","Artistic-1.0-Perl","Artistic-1.0-cl8","Artistic-2.0","BSD-1-Clause","BSD-2-Clause","BSD-2-Clause-Patent","BSD-2-Clause-Views","BSD-3-Clause","BSD-3-Clause-Attribution","BSD-3-Clause-Clear","BSD-3-Clause-LBNL","BSD-3-Clause-No-Nuclear-License","BSD-3-Clause-No-Nuclear-License-2014","BSD-3-Clause-No-Nuclear-Warranty","BSD-3-Clause-Open-MPI","BSD-4-Clause","BSD-4-Clause-UC","BSD-Protection","BSD-Source-Code","BSL-1.0","Bahyph","Barr","Beerware","BitTorrent-1.0","BitTorrent-1.1","BlueOak-1.0.0","Borceux","CAL-1.0","CAL-1.0-Combined-Work-Exception","CATOSL-1.1","CC-BY-1.0","CC-BY-2.0","CC-BY-2.5","CC-BY-3.0","CC-BY-3.0-AT","CC-BY-4.0","CC-BY-NC-1.0","CC-BY-NC-2.0","CC-BY-NC-2.5","CC-BY-NC-3.0","CC-BY-NC-4.0","CC-BY-NC-ND-1.0","CC-BY-NC-ND-2.0","CC-BY-NC-ND-2.5","CC-BY-NC-ND-3.0","CC-BY-NC-ND-3.0-IGO","CC-BY-NC-ND-4.0","CC-BY-NC-SA-1.0","CC-BY-NC-SA-2.0","CC-BY-NC-SA-2.5","CC-BY-NC-SA-3.0","CC-BY-NC-SA-4.0","CC-BY-ND-1.0","CC-BY-ND-2.0","CC-BY-ND-2.5","CC-BY-ND-3.0","CC-BY-ND-4.0","CC-BY-SA-1.0","CC-BY-SA-2.0","CC-BY-SA-2.5","CC-BY-SA-3.0","CC-BY-SA-3.0-AT","CC-BY-SA-4.0","CC-PDDC","CC0-1.0","CDDL-1.0","CDDL-1.1","CDLA-Permissive-1.0","CDLA-Sharing-1.0","CECILL-1.0","CECILL-1.1","CECILL-2.0","CECILL-2.1","CECILL-B","CECILL-C","CERN-OHL-1.1","CERN-OHL-1.2","CERN-OHL-P-2.0","CERN-OHL-S-2.0","CERN-OHL-W-2.0","CNRI-Jython","CNRI-Python","CNRI-Python-GPL-Compatible","CPAL-1.0","CPL-1.0","CPOL-1.02","CUA-OPL-1.0","Caldera","ClArtistic","Condor-1.1","Crossword","CrystalStacker","Cube","D-FSL-1.0","DOC","DSDP","Dotseqn","ECL-1.0","ECL-2.0","EFL-1.0","EFL-2.0","EPICS","EPL-1.0","EPL-2.0","EUDatagrid","EUPL-1.0","EUPL-1.1","EUPL-1.2","Entessa","ErlPL-1.1","Eurosym","FSFAP","FSFUL","FSFULLR","FTL","Fair","Frameworx-1.0","FreeImage","GFDL-1.1-invariants-only","GFDL-1.1-invariants-or-later","GFDL-1.1-no-invariants-only","GFDL-1.1-no-invariants-or-later","GFDL-1.1-only","GFDL-1.1-or-later","GFDL-1.2-invariants-only","GFDL-1.2-invariants-or-later","GFDL-1.2-no-invariants-only","GFDL-1.2-no-invariants-or-later","GFDL-1.2-only","GFDL-1.2-or-later","GFDL-1.3-invariants-only","GFDL-1.3-invariants-or-later","GFDL-1.3-no-invariants-only","GFDL-1.3-no-invariants-or-later","GFDL-1.3-only","GFDL-1.3-or-later","GL2PS","GLWTPL","GPL-1.0-only","GPL-1.0-or-later","GPL-2.0-only","GPL-2.0-or-later","GPL-3.0-only","GPL-3.0-or-later","Giftware","Glide","Glulxe","HPND","HPND-sell-variant","HaskellReport","Hippocratic-2.1","IBM-pibs","ICU","IJG","IPA","IPL-1.0","ISC","ImageMagick","Imlib2","Info-ZIP","Intel","Intel-ACPI","Interbase-1.0","JPNIC","JSON","JasPer-2.0","LAL-1.2","LAL-1.3","LGPL-2.0-only","LGPL-2.0-or-later","LGPL-2.1-only","LGPL-2.1-or-later","LGPL-3.0-only","LGPL-3.0-or-later","LGPLLR","LPL-1.0","LPL-1.02","LPPL-1.0","LPPL-1.1","LPPL-1.2","LPPL-1.3a","LPPL-1.3c","Latex2e","Leptonica","LiLiQ-P-1.1","LiLiQ-R-1.1","LiLiQ-Rplus-1.1","Libpng","Linux-OpenIB","MIT","MIT-0","MIT-CMU","MIT-advertising","MIT-enna","MIT-feh","MITNFA","MPL-1.0","MPL-1.1","MPL-2.0","MPL-2.0-no-copyleft-exception","MS-PL","MS-RL","MTLL","MakeIndex","MirOS","Motosoto","MulanPSL-1.0","MulanPSL-2.0","Multics","Mup","NASA-1.3","NBPL-1.0","NCGL-UK-2.0","NCSA","NGPL","NIST-PD","NIST-PD-fallback","NLOD-1.0","NLPL","NOSL","NPL-1.0","NPL-1.1","NPOSL-3.0","NRL","NTP","NTP-0","Naumen","Net-SNMP","NetCDF","Newsletr","Nokia","Noweb","O-UDA-1.0","OCCT-PL","OCLC-2.0","ODC-By-1.0","ODbL-1.0","OFL-1.0","OFL-1.0-RFN","OFL-1.0-no-RFN","OFL-1.1","OFL-1.1-RFN","OFL-1.1-no-RFN","OGC-1.0","OGL-Canada-2.0","OGL-UK-1.0","OGL-UK-2.0","OGL-UK-3.0","OGTSL","OLDAP-1.1","OLDAP-1.2","OLDAP-1.3","OLDAP-1.4","OLDAP-2.0","OLDAP-2.0.1","OLDAP-2.1","OLDAP-2.2","OLDAP-2.2.1","OLDAP-2.2.2","OLDAP-2.3","OLDAP-2.4","OLDAP-2.5","OLDAP-2.6","OLDAP-2.7","OLDAP-2.8","OML","OPL-1.0","OSET-PL-2.1","OSL-1.0","OSL-1.1","OSL-2.0","OSL-2.1","OSL-3.0","OpenSSL","PDDL-1.0","PHP-3.0","PHP-3.01","PSF-2.0","Parity-6.0.0","Parity-7.0.0","Plexus","PolyForm-Noncommercial-1.0.0","PolyForm-Small-Business-1.0.0","PostgreSQL","Python-2.0","QPL-1.0","Qhull","RHeCos-1.1","RPL-1.1","RPL-1.5","RPSL-1.0","RSA-MD","RSCPL","Rdisc","Ruby","SAX-PD","SCEA","SGI-B-1.0","SGI-B-1.1","SGI-B-2.0","SHL-0.5","SHL-0.51","SISSL","SISSL-1.2","SMLNJ","SMPPL","SNIA","SPL-1.0","SSH-OpenSSH","SSH-short","SSPL-1.0","SWL","Saxpath","Sendmail","Sendmail-8.23","SimPL-2.0","Sleepycat","Spencer-86","Spencer-94","Spencer-99","SugarCRM-1.1.3","TAPR-OHL-1.0","TCL","TCP-wrappers","TMate","TORQUE-1.1","TOSL","TU-Berlin-1.0","TU-Berlin-2.0","UCL-1.0","UPL-1.0","Unicode-DFS-2015","Unicode-DFS-2016","Unicode-TOU","Unlicense","VOSTROM","VSL-1.0","Vim","W3C","W3C-19980720","W3C-20150513","WTFPL","Watcom-1.0","Wsuipa","X11","XFree86-1.1","XSkat","Xerox","Xnet","YPL-1.0","YPL-1.1","ZPL-1.1","ZPL-2.0","ZPL-2.1","Zed","Zend-2.0","Zimbra-1.3","Zimbra-1.4","Zlib","blessing","bzip2-1.0.5","bzip2-1.0.6","copyleft-next-0.3.0","copyleft-next-0.3.1","curl","diffmark","dvipdfm","eGenix","etalab-2.0","gSOAP-1.3b","gnuplot","iMatix","libpng-2.0","libselinux-1.0","libtiff","mpich2","psfrag","psutils","xinetd","xpp","zlib-acknowledgement"]});var Sr=f((Ra,iu)=>{iu.exports=["AGPL-1.0","AGPL-3.0","BSD-2-Clause-FreeBSD","BSD-2-Clause-NetBSD","GFDL-1.1","GFDL-1.2","GFDL-1.3","GPL-1.0","GPL-2.0","GPL-2.0-with-GCC-exception","GPL-2.0-with-autoconf-exception","GPL-2.0-with-bison-exception","GPL-2.0-with-classpath-exception","GPL-2.0-with-font-exception","GPL-3.0","GPL-3.0-with-GCC-exception","GPL-3.0-with-autoconf-exception","LGPL-2.0","LGPL-2.1","LGPL-3.0","Nunit","StandardML-NJ","eCos-2.0","wxWindows"]});var Cr=f((Ta,uu)=>{uu.exports=["389-exception","Autoconf-exception-2.0","Autoconf-exception-3.0","Bison-exception-2.2","Bootloader-exception","Classpath-exception-2.0","CLISP-exception-2.0","DigiRule-FOSS-exception","eCos-exception-2.0","Fawkes-Runtime-exception","FLTK-exception","Font-exception-2.0","freertos-exception-2.0","GCC-exception-2.0","GCC-exception-3.1","gnu-javamail-exception","GPL-3.0-linking-exception","GPL-3.0-linking-source-exception","GPL-CC-1.0","i2p-gpl-java-exception","Libtool-exception","Linux-syscall-note","LLVM-exception","LZMA-exception","mif-exception","Nokia-Qt-exception-1.1","OCaml-LGPL-linking-exception","OCCT-exception-1.0","OpenJDK-assembly-exception-1.0","openvpn-openssl-exception","PS-or-PDF-font-exception-20170817","Qt-GPL-exception-1.0","Qt-LGPL-exception-1.1","Qwt-exception-1.0","Swift-exception","u-boot-exception-2.0","Universal-FOSS-exception-1.0","WxWindows-exception-3.1"]});var Er=f((Ba,wr)=>{"use strict";var su=[].concat(et()).concat(Sr()),au=Cr();wr.exports=function(e){var t=0;function r(){return t<e.length}u(r,"hasMore");function n(p){if(p instanceof RegExp){var h=e.slice(t),m=h.match(p);if(m)return t+=m[0].length,m[0]}else if(e.indexOf(p,t)===t)return t+=p.length,p}u(n,"read");function i(){n(/[ ]*/)}u(i,"skipWhitespace");function s(){for(var p,h=["WITH","AND","OR","(",")",":","+"],m=0;m<h.length&&(p=n(h[m]),!p);m++);if(p==="+"&&t>1&&e[t-2]===" ")throw new Error("Space before `+`");return p&&{type:"OPERATOR",string:p}}u(s,"operator");function a(){return n(/[A-Za-z0-9-.]+/)}u(a,"idstring");function o(){var p=a();if(!p)throw new Error("Expected idstring at offset "+t);return p}u(o,"expectIdstring");function l(){if(n("DocumentRef-")){var p=o();return{type:"DOCUMENTREF",string:p}}}u(l,"documentRef");function v(){if(n("LicenseRef-")){var p=o();return{type:"LICENSEREF",string:p}}}u(v,"licenseRef");function c(){var p=t,h=a();if(su.indexOf(h)!==-1)return{type:"LICENSE",string:h};if(au.indexOf(h)!==-1)return{type:"EXCEPTION",string:h};t=p}u(c,"identifier");function S(){return s()||l()||v()||c()}u(S,"parseToken");for(var P=[];r()&&(i(),!!r());){var E=S();if(!E)throw new Error("Unexpected `"+e[t]+"` at offset "+t);P.push(E)}return P}});var Or=f((ka,xr)=>{"use strict";xr.exports=function(e){var t=0;function r(){return t<e.length}u(r,"hasMore");function n(){return r()?e[t]:null}u(n,"token");function i(){if(!r())throw new Error;t++}u(i,"next");function s(h){var m=n();if(m&&m.type==="OPERATOR"&&h===m.string)return i(),m.string}u(s,"parseOperator");function a(){if(s("WITH")){var h=n();if(h&&h.type==="EXCEPTION")return i(),h.string;throw new Error("Expected exception after `WITH`")}}u(a,"parseWith");function o(){var h=t,m="",w=n();if(w.type==="DOCUMENTREF"&&(i(),m+="DocumentRef-"+w.string+":",!s(":")))throw new Error("Expected `:` after `DocumentRef-...`");if(w=n(),w.type==="LICENSEREF")return i(),m+="LicenseRef-"+w.string,{license:m};t=h}u(o,"parseLicenseRef");function l(){var h=n();if(h&&h.type==="LICENSE"){i();var m={license:h.string};s("+")&&(m.plus=!0);var w=a();return w&&(m.exception=w),m}}u(l,"parseLicense");function v(){var h=s("(");if(h){var m=E();if(!s(")"))throw new Error("Expected `)`");return m}}u(v,"parseParenthesizedExpression");function c(){return v()||o()||l()}u(c,"parseAtom");function S(h,m){return u(function w(){var $=m();if($){if(!s(h))return $;var F=w();if(!F)throw new Error("Expected expression");return{left:$,conjunction:h.toLowerCase(),right:F}}},"parseBinaryOp")}u(S,"makeBinaryOpParser");var P=S("AND",c),E=S("OR",P),p=E();if(!p||r())throw new Error("Syntax error");return p}});var tt=f((Ua,Dr)=>{"use strict";var ou=Er(),cu=Or();Dr.exports=function(e){return cu(ou(e))}});var Tr=f((qa,Rr)=>{var lu=tt(),fu=et();function Re(e){try{return lu(e),!0}catch{return!1}}u(Re,"valid");var _r=[["APGL","AGPL"],["Gpl","GPL"],["GLP","GPL"],["APL","Apache"],["ISD","ISC"],["GLP","GPL"],["IST","ISC"],["Claude","Clause"],[" or later","+"],[" International",""],["GNU","GPL"],["GUN","GPL"],["+",""],["GNU GPL","GPL"],["GNU/GPL","GPL"],["GNU GLP","GPL"],["GNU General Public License","GPL"],["Gnu public license","GPL"],["GNU Public License","GPL"],["GNU GENERAL PUBLIC LICENSE","GPL"],["MTI","MIT"],["Mozilla Public License","MPL"],["Universal Permissive License","UPL"],["WTH","WTF"],["-License",""]],pu=0,du=1,Ar=[function(e){return e.toUpperCase()},function(e){return e.trim()},function(e){return e.replace(/\./g,"")},function(e){return e.replace(/\s+/g,"")},function(e){return e.replace(/\s+/g,"-")},function(e){return e.replace("v","-")},function(e){return e.replace(/,?\s*(\d)/,"-$1")},function(e){return e.replace(/,?\s*(\d)/,"-$1.0")},function(e){return e.replace(/,?\s*(V\.|v\.|V|v|Version|version)\s*(\d)/,"-$2")},function(e){return e.replace(/,?\s*(V\.|v\.|V|v|Version|version)\s*(\d)/,"-$2.0")},function(e){return e[0].toUpperCase()+e.slice(1)},function(e){return e.replace("/","-")},function(e){return e.replace(/\s*V\s*(\d)/,"-$1").replace(/(\d)$/,"$1.0")},function(e){return e.indexOf("3.0")!==-1?e+"-or-later":e+"-only"},function(e){return e+"only"},function(e){return e.replace(/(\d)$/,"-$1.0")},function(e){return e.replace(/(-| )?(\d)$/,"-$2-Clause")},function(e){return e.replace(/(-| )clause(-| )(\d)/,"-$3-Clause")},function(e){return e.replace(/\b(Modified|New|Revised)(-| )?BSD((-| )License)?/i,"BSD-3-Clause")},function(e){return e.replace(/\bSimplified(-| )?BSD((-| )License)?/i,"BSD-2-Clause")},function(e){return e.replace(/\b(Free|Net)(-| )?BSD((-| )License)?/i,"BSD-2-Clause-$1BSD")},function(e){return e.replace(/\bClear(-| )?BSD((-| )License)?/i,"BSD-3-Clause-Clear")},function(e){return e.replace(/\b(Old|Original)(-| )?BSD((-| )License)?/i,"BSD-4-Clause")},function(e){return"CC-"+e},function(e){return"CC-"+e+"-4.0"},function(e){return e.replace("Attribution","BY").replace("NonCommercial","NC").replace("NoDerivatives","ND").replace(/ (\d)/,"-$1").replace(/ ?International/,"")},function(e){return"CC-"+e.replace("Attribution","BY").replace("NonCommercial","NC").replace("NoDerivatives","ND").replace(/ (\d)/,"-$1").replace(/ ?International/,"")+"-4.0"}],rt=fu.map(function(e){var t=/^(.*)-\d+\.\d+$/.exec(e);return t?[t[0],t[1]]:[e,null]}).reduce(function(e,t){var r=t[1];return e[r]=e[r]||[],e[r].push(t[0]),e},{}),hu=Object.keys(rt).map(u(function(t){return[t,rt[t]]},"makeEntries")).filter(u(function(t){return t[1].length===1&&t[0]!==null&&t[0]!=="APL"},"identifySoleVersions")).map(u(function(t){return[t[0],t[1][0]]},"createLastResorts"));rt=void 0;var Nr=[["UNLI","Unlicense"],["WTF","WTFPL"],["2 CLAUSE","BSD-2-Clause"],["2-CLAUSE","BSD-2-Clause"],["3 CLAUSE","BSD-3-Clause"],["3-CLAUSE","BSD-3-Clause"],["AFFERO","AGPL-3.0-or-later"],["AGPL","AGPL-3.0-or-later"],["APACHE","Apache-2.0"],["ARTISTIC","Artistic-2.0"],["Affero","AGPL-3.0-or-later"],["BEER","Beerware"],["BOOST","BSL-1.0"],["BSD","BSD-2-Clause"],["CDDL","CDDL-1.1"],["ECLIPSE","EPL-1.0"],["FUCK","WTFPL"],["GNU","GPL-3.0-or-later"],["LGPL","LGPL-3.0-or-later"],["GPLV1","GPL-1.0-only"],["GPL-1","GPL-1.0-only"],["GPLV2","GPL-2.0-only"],["GPL-2","GPL-2.0-only"],["GPL","GPL-3.0-or-later"],["MIT +NO-FALSE-ATTRIBS","MITNFA"],["MIT","MIT"],["MPL","MPL-2.0"],["X11","X11"],["ZLIB","Zlib"]].concat(hu),mu=0,vu=1,Fr=u(function(e){for(var t=0;t<Ar.length;t++){var r=Ar[t](e).trim();if(r!==e&&Re(r))return r}return null},"validTransformation"),Ir=u(function(e){for(var t=e.toUpperCase(),r=0;r<Nr.length;r++){var n=Nr[r];if(t.indexOf(n[mu])>-1)return n[vu]}return null},"validLastResort"),Gr=u(function(e,t){for(var r=0;r<_r.length;r++){var n=_r[r],i=n[pu];if(e.indexOf(i)>-1){var s=e.replace(i,n[du]),a=t(s);if(a!==null)return a}}return null},"anyCorrection");Rr.exports=function(e,t){t=t||{};var r=t.upgrade===void 0?!0:!!t.upgrade;function n(o){return r?gu(o):o}u(n,"postprocess");var i=typeof e=="string"&&e.trim().length!==0;if(!i)throw Error("Invalid argument. Expected non-empty string.");if(e=e.trim(),Re(e))return n(e);var s=e.replace(/\+$/,"").trim();if(Re(s))return n(s);var a=Fr(e);return a!==null||(a=Gr(e,function(o){return Re(o)?o:Fr(o)}),a!==null)||(a=Ir(e),a!==null)||(a=Gr(e,Ir),a!==null)?n(a):null};function gu(e){return["GPL-1.0","LGPL-1.0","AGPL-1.0","GPL-2.0","LGPL-2.0","AGPL-2.0","LGPL-2.1"].indexOf(e)!==-1?e+"-only":["GPL-1.0+","GPL-2.0+","GPL-3.0+","LGPL-2.0+","LGPL-2.1+","LGPL-3.0+","AGPL-1.0+","AGPL-3.0+"].indexOf(e)!==-1?e.replace(/\+$/,"-or-later"):["GPL-3.0","LGPL-3.0","AGPL-3.0"].indexOf(e)!==-1?e+"-or-later":e}u(gu,"upgradeGPLs")});var jr=f(($a,kr)=>{var yu=tt(),bu=Tr(),Br='license should be a valid SPDX license expression (without "LicenseRef"), "UNLICENSED", or "SEE LICENSE IN <filename>"',Lu=/^SEE LICEN[CS]E IN (.+)$/;function Mr(e,t){return t.slice(0,e.length)===e}u(Mr,"startsWith");function nt(e){if(e.hasOwnProperty("license")){var t=e.license;return Mr("LicenseRef",t)||Mr("DocumentRef",t)}else return nt(e.left)||nt(e.right)}u(nt,"usesLicenseRef");kr.exports=function(e){var t;try{t=yu(e)}catch{var r;if(e==="UNLICENSED"||e==="UNLICENCED")return{validForOldPackages:!0,validForNewPackages:!0,unlicensed:!0};if(r=Lu.exec(e))return{validForOldPackages:!0,validForNewPackages:!0,inFile:r[1]};var n={validForOldPackages:!1,validForNewPackages:!1,warnings:[Br]};if(e.trim().length!==0){var i=bu(e);i&&n.warnings.push('license is similar to the valid expression "'+i+'"')}return n}return nt(t)?{validForNewPackages:!1,validForOldPackages:!1,spdx:!0,warnings:[Br]}:{validForNewPackages:!0,validForOldPackages:!0,spdx:!0}}});var it=f((Ya,Wr)=>{"use strict";var ve=Wr.exports={github:{protocols:["git","http","git+ssh","git+https","ssh","https"],domain:"github.com",treepath:"tree",filetemplate:"https://{auth@}raw.githubusercontent.com/{user}/{project}/{committish}/{path}",bugstemplate:"https://{domain}/{user}/{project}/issues",gittemplate:"git://{auth@}{domain}/{user}/{project}.git{#committish}",tarballtemplate:"https://codeload.{domain}/{user}/{project}/tar.gz/{committish}"},bitbucket:{protocols:["git+ssh","git+https","ssh","https"],domain:"bitbucket.org",treepath:"src",tarballtemplate:"https://{domain}/{user}/{project}/get/{committish}.tar.gz"},gitlab:{protocols:["git+ssh","git+https","ssh","https"],domain:"gitlab.com",treepath:"tree",bugstemplate:"https://{domain}/{user}/{project}/issues",httpstemplate:"git+https://{auth@}{domain}/{user}/{projectPath}.git{#committish}",tarballtemplate:"https://{domain}/{user}/{project}/repository/archive.tar.gz?ref={committish}",pathmatch:/^\/([^/]+)\/((?!.*(\/-\/|\/repository(\/[^/]+)?\/archive\.tar\.gz)).*?)(?:\.git|\/)?$/},gist:{protocols:["git","git+ssh","git+https","ssh","https"],domain:"gist.github.com",pathmatch:/^[/](?:([^/]+)[/])?([a-z0-9]{7,})(?:[.]git)?$/,filetemplate:"https://gist.githubusercontent.com/{user}/{project}/raw{/committish}/{path}",bugstemplate:"https://{domain}/{project}",gittemplate:"git://{domain}/{project}.git{#committish}",sshtemplate:"git@{domain}:/{project}.git{#committish}",sshurltemplate:"git+ssh://git@{domain}/{project}.git{#committish}",browsetemplate:"https://{domain}/{project}{/committish}",browsefiletemplate:"https://{domain}/{project}{/committish}{#path}",docstemplate:"https://{domain}/{project}{/committish}",httpstemplate:"git+https://{domain}/{project}.git{#committish}",shortcuttemplate:"{type}:{project}{#committish}",pathtemplate:"{project}{#committish}",tarballtemplate:"https://codeload.github.com/gist/{project}/tar.gz/{committish}",hashformat:u(function(e){return"file-"+qr(e)},"hashformat")}},Ur={sshtemplate:"git@{domain}:{user}/{project}.git{#committish}",sshurltemplate:"git+ssh://git@{domain}/{user}/{project}.git{#committish}",browsetemplate:"https://{domain}/{user}/{project}{/tree/committish}",browsefiletemplate:"https://{domain}/{user}/{project}/{treepath}/{committish}/{path}{#fragment}",docstemplate:"https://{domain}/{user}/{project}{/tree/committish}#readme",httpstemplate:"git+https://{auth@}{domain}/{user}/{project}.git{#committish}",filetemplate:"https://{domain}/{user}/{project}/raw/{committish}/{path}",shortcuttemplate:"{type}:{user}/{project}{#committish}",pathtemplate:"{user}/{project}{#committish}",pathmatch:/^[/]([^/]+)[/]([^/]+?)(?:[.]git|[/])?$/,hashformat:qr};Object.keys(ve).forEach(function(e){Object.keys(Ur).forEach(function(t){ve[e][t]||(ve[e][t]=Ur[t])}),ve[e].protocols_re=RegExp("^("+ve[e].protocols.map(function(t){return t.replace(/([\\+*{}()[\]$^|])/g,"\\$1")}).join("|")+"):$")});function qr(e){return e.toLowerCase().replace(/^\W+|\/|\W+$/g,"").replace(/\W+/g,"-")}u(qr,"formatHashFragment")});var Yr=f((Ja,Hr)=>{"use strict";var $r=it(),ce=Object.assign||u(function(t,r){if(r===null||typeof r!="object")return t;let n=Object.keys(r),i=n.length;for(;i--;)t[n[i]]=r[n[i]];return t},"_extend");Hr.exports=R;function R(e,t,r,n,i,s,a){var o=this;o.type=e,Object.keys($r[e]).forEach(function(l){o[l]=$r[e][l]}),o.user=t,o.auth=r,o.project=n,o.committish=i,o.default=s,o.opts=a||{}}u(R,"GitHost");R.prototype.hash=function(){return this.committish?"#"+this.committish:""};R.prototype._fill=function(e,t){if(e){var r=ce({},t);r.path=r.path?r.path.replace(/^[/]+/g,""):"",t=ce(ce({},this.opts),t);var n=this;Object.keys(this).forEach(function(c){n[c]!=null&&r[c]==null&&(r[c]=n[c])});var i=r.auth,s=r.committish,a=r.fragment,o=r.path,l=r.project;Object.keys(r).forEach(function(c){var S=r[c];(c==="path"||c==="project")&&typeof S=="string"?r[c]=S.split("/").map(function(P){return encodeURIComponent(P)}).join("/"):c!=="domain"&&(r[c]=encodeURIComponent(S))}),r["auth@"]=i?i+"@":"",r["#fragment"]=a?"#"+this.hashformat(a):"",r.fragment=r.fragment?r.fragment:"",r["#path"]=o?"#"+this.hashformat(o):"",r["/path"]=r.path?"/"+r.path:"",r.projectPath=l.split("/").map(encodeURIComponent).join("/"),t.noCommittish?(r["#committish"]="",r["/tree/committish"]="",r["/committish"]="",r.committish=""):(r["#committish"]=s?"#"+s:"",r["/tree/committish"]=r.committish?"/"+r.treepath+"/"+r.committish:"",r["/committish"]=r.committish?"/"+r.committish:"",r.committish=r.committish||"master");var v=e;return Object.keys(r).forEach(function(c){v=v.replace(new RegExp("[{]"+c+"[}]","g"),r[c])}),t.noGitPlus?v.replace(/^git[+]/,""):v}};R.prototype.ssh=function(e){return this._fill(this.sshtemplate,e)};R.prototype.sshurl=function(e){return this._fill(this.sshurltemplate,e)};R.prototype.browse=function(e,t,r){return typeof e=="string"?(typeof t!="string"&&(r=t,t=null),this._fill(this.browsefiletemplate,ce({fragment:t,path:e},r))):this._fill(this.browsetemplate,e)};R.prototype.docs=function(e){return this._fill(this.docstemplate,e)};R.prototype.bugs=function(e){return this._fill(this.bugstemplate,e)};R.prototype.https=function(e){return this._fill(this.httpstemplate,e)};R.prototype.git=function(e){return this._fill(this.gittemplate,e)};R.prototype.shortcut=function(e){return this._fill(this.shortcuttemplate,e)};R.prototype.path=function(e){return this._fill(this.pathtemplate,e)};R.prototype.tarball=function(e){var t=ce({},e,{noCommittish:!1});return this._fill(this.tarballtemplate,t)};R.prototype.file=function(e,t){return this._fill(this.filetemplate,ce({path:e},t))};R.prototype.getDefaultRepresentation=function(){return this.default};R.prototype.toString=function(e){return this.default&&typeof this[this.default]=="function"?this[this.default](e):this.sshurl(e)}});var Jr=f((Va,zr)=>{"use strict";zr.exports=function(e){e.prototype[Symbol.iterator]=function*(){for(let t=this.head;t;t=t.next)yield t.value}}});var Vr=f((Xa,Kr)=>{"use strict";Kr.exports=b;b.Node=re;b.create=b;function b(e){var t=this;if(t instanceof b||(t=new b),t.tail=null,t.head=null,t.length=0,e&&typeof e.forEach=="function")e.forEach(function(i){t.push(i)});else if(arguments.length>0)for(var r=0,n=arguments.length;r<n;r++)t.push(arguments[r]);return t}u(b,"Yallist");b.prototype.removeNode=function(e){if(e.list!==this)throw new Error("removing node which does not belong to this list");var t=e.next,r=e.prev;return t&&(t.prev=r),r&&(r.next=t),e===this.head&&(this.head=t),e===this.tail&&(this.tail=r),e.list.length--,e.next=null,e.prev=null,e.list=null,t};b.prototype.unshiftNode=function(e){if(e!==this.head){e.list&&e.list.removeNode(e);var t=this.head;e.list=this,e.next=t,t&&(t.prev=e),this.head=e,this.tail||(this.tail=e),this.length++}};b.prototype.pushNode=function(e){if(e!==this.tail){e.list&&e.list.removeNode(e);var t=this.tail;e.list=this,e.prev=t,t&&(t.next=e),this.tail=e,this.head||(this.head=e),this.length++}};b.prototype.push=function(){for(var e=0,t=arguments.length;e<t;e++)Su(this,arguments[e]);return this.length};b.prototype.unshift=function(){for(var e=0,t=arguments.length;e<t;e++)Cu(this,arguments[e]);return this.length};b.prototype.pop=function(){if(this.tail){var e=this.tail.value;return this.tail=this.tail.prev,this.tail?this.tail.next=null:this.head=null,this.length--,e}};b.prototype.shift=function(){if(this.head){var e=this.head.value;return this.head=this.head.next,this.head?this.head.prev=null:this.tail=null,this.length--,e}};b.prototype.forEach=function(e,t){t=t||this;for(var r=this.head,n=0;r!==null;n++)e.call(t,r.value,n,this),r=r.next};b.prototype.forEachReverse=function(e,t){t=t||this;for(var r=this.tail,n=this.length-1;r!==null;n--)e.call(t,r.value,n,this),r=r.prev};b.prototype.get=function(e){for(var t=0,r=this.head;r!==null&&t<e;t++)r=r.next;if(t===e&&r!==null)return r.value};b.prototype.getReverse=function(e){for(var t=0,r=this.tail;r!==null&&t<e;t++)r=r.prev;if(t===e&&r!==null)return r.value};b.prototype.map=function(e,t){t=t||this;for(var r=new b,n=this.head;n!==null;)r.push(e.call(t,n.value,this)),n=n.next;return r};b.prototype.mapReverse=function(e,t){t=t||this;for(var r=new b,n=this.tail;n!==null;)r.push(e.call(t,n.value,this)),n=n.prev;return r};b.prototype.reduce=function(e,t){var r,n=this.head;if(arguments.length>1)r=t;else if(this.head)n=this.head.next,r=this.head.value;else throw new TypeError("Reduce of empty list with no initial value");for(