gradle-build-action/dist/main/index.js

262 lines
1.5 MiB
JavaScript
Raw Normal View History

2022-05-24 08:12:51 -04:00
require('./sourcemap-register.js');(()=>{var __webpack_modules__={7799:function(e,t,a){"use strict";var i=this&&this.__awaiter||function(e,t,a,i){function adopt(e){return e instanceof a?e:new a((function(t){t(e)}))}return new(a||(a=Promise))((function(a,r){function fulfilled(e){try{step(i.next(e))}catch(e){r(e)}}function rejected(e){try{step(i["throw"](e))}catch(e){r(e)}}function step(e){e.done?a(e.value):adopt(e.value).then(fulfilled,rejected)}step((i=i.apply(e,t||[])).next())}))};var r=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var a in e)if(Object.hasOwnProperty.call(e,a))t[a]=e[a];t["default"]=e;return t};Object.defineProperty(t,"__esModule",{value:true});const n=r(a(2186));const o=r(a(1017));const s=r(a(1518));const p=r(a(8245));const l=a(6490);class ValidationError extends Error{constructor(e){super(e);this.name="ValidationError";Object.setPrototypeOf(this,ValidationError.prototype)}}t.ValidationError=ValidationError;class ReserveCacheError extends Error{constructor(e){super(e);this.name="ReserveCacheError";Object.setPrototypeOf(this,ReserveCacheError.prototype)}}t.ReserveCacheError=ReserveCacheError;function checkPaths(e){if(!e||e.length===0){throw new ValidationError(`Path Validation Error: At least one directory or file path is required`)}}function checkKey(e){if(e.length>512){throw new ValidationError(`Key Validation Error: ${e} cannot be larger than 512 characters.`)}const t=/^[^,]*$/;if(!t.test(e)){throw new ValidationError(`Key Validation Error: ${e} cannot contain commas.`)}}function isFeatureAvailable(){return!!process.env["ACTIONS_CACHE_URL"]}t.isFeatureAvailable=isFeatureAvailable;function restoreCache(e,t,a,r){return i(this,void 0,void 0,(function*(){checkPaths(e);a=a||[];const i=[t,...a];n.debug("Resolved Keys:");n.debug(JSON.stringify(i));if(i.length>10){throw new ValidationError(`Key Validation Error: Keys are limited to a maximum of 10.`)}for(const e of i){checkKey(e)}const c=yield s.getCompressionMethod();const d=yield p.getCacheEntry(i,e,{compressionMethod:c});if(!(d===null||d===void 0?void 0:d.archiveLocation)){return undefined}const m=o.join(yield s.createTempDirectory(),s.getCacheFileName(c));n.debug(`Archive Path: ${m}`);const u=new CacheEntry(d.cacheKey);try{yield p.downloadCache(d.archiveLocation,m,r);if(n.isDebug()){yield l.listTar(m,c)}const e=s.getArchiveFileSizeInBytes(m);u.size=e;n.info(`Cache Size: ~${Math.round(e/(1024*1024))} MB (${e} B)`);yield l.extractTar(m,c);n.info("Cache restored successfully")}finally{try{yield s.unlinkFile(m)}catch(e){n.debug(`Failed to delete archive: ${e}`)}}return u}))}t.restoreCache=restoreCache;function saveCache(e,t,a){var r,c,d,m,u;return i(this,void 0,void 0,(function*(){checkPaths(e);checkKey(t);const i=yield s.getCompressionMethod();let h=null;const g=yield s.resolvePaths(e);n.debug("Cache Paths:");n.debug(`${JSON.stringify(g)}`);const y=yield s.createTempDirectory();const v=o.join(y,s.getCacheFileName(i));n.debug(`Archive Path: ${v}`);const b=new CacheEntry(t);try{yield l.createTar(y,g,i);if(n.isDebug()){yield l.listTar(v,i)}const o=10*1024*1024*1024;const x=s.getArchiveFileSizeInBytes(v);b.size=x;n.debug(`File Size: ${x}`);if(x>o&&!s.isGhes()){throw new Error(`Cache size of ~${Math.round(x/(1024*1024))} MB (${x} B) is over the 10GB limit, not saving cache.`)}n.debug("Reserving Cache");const w=yield p.reserveCache(t,e,{compressionMethod:i,cacheSize:x});if((r=w===null||w===void 0?void 0:w.result)===null||r===void 0?void 0:r.cacheId){h=(c=w===null||w===void 0?void 0:w.result)===null||c===void 0?void 0:c.cacheId}else if((w===null||w===void 0?void 0:w.statusCode)===400){throw new Error((m=(d=w===null||w===void 0?void 0:w.error)===null||d===void 0?void 0:d.message)!==null&&m!==void 0?m:`Cache size of ~${Math.round(x/(1024*1024))} MB (${x} B) is over the data cap limit, not saving cache.`)}else{throw new ReserveCacheError(`Unable to reserve cache with key ${t}, another job may be creating this cache. More details: ${(u=w===null||w===void 0?void 0:w.error)===null||u===void 0?void 0:u.message}`)}n.debug(`Savin
/*! *****************************************************************************
Copyright (c) Microsoft Corporation.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */
2022-05-24 08:12:51 -04:00
var t;var a;var i;var r;var n;var o;var s;var p;var l;var c;var d;var m;var u;var h;var g;var y;var v;var b;var x;var w;var S;var k;var N;var T;(function(t){var a=typeof global==="object"?global:typeof self==="object"?self:typeof this==="object"?this:{};if(typeof define==="function"&&define.amd){define("tslib",["exports"],(function(e){t(createExporter(a,createExporter(e)))}))}else if(true&&typeof e.exports==="object"){t(createExporter(a,createExporter(e.exports)))}else{t(createExporter(a))}function createExporter(e,t){if(e!==a){if(typeof Object.create==="function"){Object.defineProperty(e,"__esModule",{value:true})}else{e.__esModule=true}}return function(a,i){return e[a]=t?t(a,i):i}}})((function(e){var E=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var a in t)if(Object.prototype.hasOwnProperty.call(t,a))e[a]=t[a]};t=function(e,t){if(typeof t!=="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");E(e,t);function __(){this.constructor=e}e.prototype=t===null?Object.create(t):(__.prototype=t.prototype,new __)};a=Object.assign||function(e){for(var t,a=1,i=arguments.length;a<i;a++){t=arguments[a];for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r))e[r]=t[r]}return e};i=function(e,t){var a={};for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0)a[i]=e[i];if(e!=null&&typeof Object.getOwnPropertySymbols==="function")for(var r=0,i=Object.getOwnPropertySymbols(e);r<i.length;r++){if(t.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(e,i[r]))a[i[r]]=e[i[r]]}return a};r=function(e,t,a,i){var r=arguments.length,n=r<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,a):i,o;if(typeof Reflect==="object"&&typeof Reflect.decorate==="function")n=Reflect.decorate(e,t,a,i);else for(var s=e.length-1;s>=0;s--)if(o=e[s])n=(r<3?o(n):r>3?o(t,a,n):o(t,a))||n;return r>3&&n&&Object.defineProperty(t,a,n),n};n=function(e,t){return function(a,i){t(a,i,e)}};o=function(e,t){if(typeof Reflect==="object"&&typeof Reflect.metadata==="function")return Reflect.metadata(e,t)};s=function(e,t,a,i){function adopt(e){return e instanceof a?e:new a((function(t){t(e)}))}return new(a||(a=Promise))((function(a,r){function fulfilled(e){try{step(i.next(e))}catch(e){r(e)}}function rejected(e){try{step(i["throw"](e))}catch(e){r(e)}}function step(e){e.done?a(e.value):adopt(e.value).then(fulfilled,rejected)}step((i=i.apply(e,t||[])).next())}))};p=function(e,t){var a={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},i,r,n,o;return o={next:verb(0),throw:verb(1),return:verb(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function verb(e){return function(t){return step([e,t])}}function step(o){if(i)throw new TypeError("Generator is already executing.");while(a)try{if(i=1,r&&(n=o[0]&2?r["return"]:o[0]?r["throw"]||((n=r["return"])&&n.call(r),0):r.next)&&!(n=n.call(r,o[1])).done)return n;if(r=0,n)o=[o[0]&2,n.value];switch(o[0]){case 0:case 1:n=o;break;case 4:a.label++;return{value:o[1],done:false};case 5:a.label++;r=o[1];o=[0];continue;case 7:o=a.ops.pop();a.trys.pop();continue;default:if(!(n=a.trys,n=n.length>0&&n[n.length-1])&&(o[0]===6||o[0]===2)){a=0;continue}if(o[0]===3&&(!n||o[1]>n[0]&&o[1]<n[3])){a.label=o[1];break}if(o[0]===6&&a.label<n[1]){a.label=n[1];n=o;break}if(n&&a.label<n[2]){a.label=n[2];a.ops.push(o);break}if(n[2])a.ops.pop();a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e];r=0}finally{i=n=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};l=function(e,t){for(var a in e)if(a!=="default"&&!Object.prototype.hasOwnProperty.call(t,a))T(t,e,a)};T=Object.create?function(e,t,a,i){if(i===undefined)i=a;Object.defineProperty(e,i,{enumerable:true,get:function(){return t[a]}})}:function(e,t,a,i){if(i===undefined)i=a;e[i]=t[a]};c=function(e){var t=typeof Symbol==="function"&&Symbol.iterator,a=t&&e[t],i=0;if(a)return a.call(e);if(e&&typeof e.length==="number")return{next:function(){if(e&&i>=e.length)e=void 0;return{value:e&&e[i++],done:!e}}};throw new TypeEr
/*!
* Copyright (c) 2015, Salesforce.com, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
*
* 2. Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
*
* 3. Neither the name of Salesforce.com nor the names of its contributors may
* be used to endorse or promote products derived from this software without
* specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
2022-05-24 08:12:51 -04:00
*/const i=a(5477);const r=a(7310).parse;const n=a(3837);const o=a(8292);const s=a(7707).y;const p=a(6738).m;const l=a(807).U;const c=a(8742);const{fromCallback:d}=a(9046);const m=/^[\x21\x23-\x2B\x2D-\x3A\x3C-\x5B\x5D-\x7E]+$/;const u=/[\x00-\x1F]/;const h=["\n","\r","\0"];const g=/[\x20-\x3A\x3C-\x7E]+/;const y=/[\x09\x20-\x2F\x3B-\x40\x5B-\x60\x7B-\x7E]/;const v={jan:0,feb:1,mar:2,apr:3,may:4,jun:5,jul:6,aug:7,sep:8,oct:9,nov:10,dec:11};const b=2147483647e3;const x=0;const w='Invalid sameSiteContext option for getCookies(); expected one of "strict", "lax", or "none"';function checkSameSiteContext(e){const t=String(e).toLowerCase();if(t==="none"||t==="lax"||t==="strict"){return t}else{return null}}const S=Object.freeze({SILENT:"silent",STRICT:"strict",DISABLED:"unsafe-disabled"});var k=/(?:^(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)){3}$)|(?:^(?:(?:[a-f\d]{1,4}:){7}(?:[a-f\d]{1,4}|:)|(?:[a-f\d]{1,4}:){6}(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)){3}|:[a-f\d]{1,4}|:)|(?:[a-f\d]{1,4}:){5}(?::(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)){3}|(?::[a-f\d]{1,4}){1,2}|:)|(?:[a-f\d]{1,4}:){4}(?:(?::[a-f\d]{1,4}){0,1}:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)){3}|(?::[a-f\d]{1,4}){1,3}|:)|(?:[a-f\d]{1,4}:){3}(?:(?::[a-f\d]{1,4}){0,2}:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)){3}|(?::[a-f\d]{1,4}){1,4}|:)|(?:[a-f\d]{1,4}:){2}(?:(?::[a-f\d]{1,4}){0,3}:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)){3}|(?::[a-f\d]{1,4}){1,5}|:)|(?:[a-f\d]{1,4}:){1}(?:(?::[a-f\d]{1,4}){0,4}:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)){3}|(?::[a-f\d]{1,4}){1,6}|:)|(?::(?:(?::[a-f\d]{1,4}){0,5}:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)){3}|(?::[a-f\d]{1,4}){1,7}|:)))$)/;function parseDigits(e,t,a,i){let r=0;while(r<e.length){const t=e.charCodeAt(r);if(t<=47||t>=58){break}r++}if(r<t||r>a){return null}if(!i&&r!=e.length){return null}return parseInt(e.substr(0,r),10)}function parseTime(e){const t=e.split(":");const a=[0,0,0];if(t.length!==3){return null}for(let e=0;e<3;e++){const i=e==2;const r=parseDigits(t[e],1,2,i);if(r===null){return null}a[e]=r}return a}function parseMonth(e){e=String(e).substr(0,3).toLowerCase();const t=v[e];return t>=0?t:null}function parseDate(e){if(!e){return}const t=e.split(y);if(!t){return}let a=null;let i=null;let r=null;let n=null;let o=null;let s=null;for(let e=0;e<t.length;e++){const p=t[e].trim();if(!p.length){continue}let l;if(r===null){l=parseTime(p);if(l){a=l[0];i=l[1];r=l[2];continue}}if(n===null){l=parseDigits(p,1,2,true);if(l!==null){n=l;continue}}if(o===null){l=parseMonth(p);if(l!==null){o=l;continue}}if(s===null){l=parseDigits(p,2,4,true);if(l!==null){s=l;if(s>=70&&s<=99){s+=1900}else if(s>=0&&s<=69){s+=2e3}}}}if(n===null||o===null||s===null||r===null||n<1||n>31||s<1601||a>23||i>59||r>59){return}return new Date(Date.UTC(s,o,n,a,i,r))}function formatDate(e){return e.toUTCString()}function canonicalDomain(e){if(e==null){return null}e=e.trim().replace(/^\./,"");if(i&&/[^\u0001-\u007f]/.test(e)){e=i.toASCII(e)}return e.toLowerCase()}function domainMatch(e,t,a){if(e==null||t==null){return null}if(a!==false){e=canonicalDomain(e);t=canonicalDomain(t)}if(e==t){return true}const i=e.indexOf(t);if(i<=0){return false}if(e.length!==t.length+i){return false}if(e.substr(i-1,1)!=="."){return false}if(k.test(e)){return false}return true}function defaultPath(e){if(!e||e.substr(0,1)!=="/"){return"/"}if(e==="/"){return e}const t=e.lastIndexOf("/");if(t===0){return"/"}return e.slice(0,t)}function trimTerminator(e){for(let t=0;t<h.length;t++){const a=e.indexOf(h[t]);if(a!==-1){e=e.substr(0,a)}}return e}function parseCookiePair(e,t){e=trimTerminator(e);let a=e.indexOf("=");if(t){if(a===0){e=e.substr(1);a=e.indexOf("=")}}else{if(a<=0){return}}let i,r;if(a<=0){i="";r=e.trim()}else{i=e.substr(0,a).trim();r=e.substr(a+1).trim()}if(u.test(i)||u.test(
/*!
* Copyright (c) 2015, Salesforce.com, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
*
* 2. Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
*
* 3. Neither the name of Salesforce.com nor the names of its contributors may
* be used to endorse or promote products derived from this software without
* specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*/const{fromCallback:i}=a(9046);const r=a(7707).y;const n=a(5696).permuteDomain;const o=a(807).U;const s=a(3837);class MemoryCookieStore extends r{constructor(){super();this.synchronous=true;this.idx={};if(s.inspect.custom){this[s.inspect.custom]=this.inspect}}inspect(){return`{ idx: ${s.inspect(this.idx,false,2)} }`}findCookie(e,t,a,i){if(!this.idx[e]){return i(null,undefined)}if(!this.idx[e][t]){return i(null,undefined)}return i(null,this.idx[e][t][a]||null)}findCookies(e,t,a,i){const r=[];if(typeof a==="function"){i=a;a=false}if(!e){return i(null,[])}let s;if(!t){s=function matchAll(e){for(const t in e){const a=e[t];for(const e in a){r.push(a[e])}}}}else{s=function matchRFC(e){Object.keys(e).forEach((a=>{if(o(t,a)){const t=e[a];for(const e in t){r.push(t[e])}}}))}}const p=n(e,a)||[e];const l=this.idx;p.forEach((e=>{const t=l[e];if(!t){return}s(t)}));i(null,r)}putCookie(e,t){if(!this.idx[e.domain]){this.idx[e.domain]={}}if(!this.idx[e.domain][e.path]){this.idx[e.domain][e.path]={}}this.idx[e.domain][e.path][e.key]=e;t(null)}updateCookie(e,t,a){this.putCookie(t,a)}removeCookie(e,t,a,i){if(this.idx[e]&&this.idx[e][t]&&this.idx[e][t][a]){delete this.idx[e][t][a]}i(null)}removeCookies(e,t,a){if(this.idx[e]){if(t){delete this.idx[e][t]}else{delete this.idx[e]}}return a(null)}removeAllCookies(e){this.idx={};return e(null)}getAllCookies(e){const t=[];const a=this.idx;const i=Object.keys(a);i.forEach((e=>{const i=Object.keys(a[e]);i.forEach((i=>{const r=Object.keys(a[e][i]);r.forEach((r=>{if(r!==null){t.push(a[e][i][r])}}))}))}));t.sort(((e,t)=>(e.creationIndex||0)-(t.creationIndex||0)));e(null,t)}}["findCookie","findCookies","putCookie","updateCookie","removeCookie","removeCookies","removeAllCookies","getAllCookies"].forEach((e=>{MemoryCookieStore[e]=i(MemoryCookieStore.prototype[e])}));t.m=MemoryCookieStore},807:(e,t)=>{"use strict";
/*!
* Copyright (c) 2015, Salesforce.com, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
*
* 2. Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
*
* 3. Neither the name of Salesforce.com nor the names of its contributors may
* be used to endorse or promote products derived from this software without
* specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*/function pathMatch(e,t){if(t===e){return true}const a=e.indexOf(t);if(a===0){if(t.substr(-1)==="/"){return true}if(e.substr(t.length,1)==="/"){return true}}return false}t.U=pathMatch},5696:(e,t,a)=>{"use strict";
/*!
* Copyright (c) 2015, Salesforce.com, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
*
* 2. Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
*
* 3. Neither the name of Salesforce.com nor the names of its contributors may
* be used to endorse or promote products derived from this software without
* specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*/const i=a(8292);const r=["local"];function permuteDomain(e,t){let a=null;if(t){const t=e.split(".");if(r.includes(t[t.length-1])){a=`${t[t.length-2]}.${t[t.length-1]}`}else{a=i.getPublicSuffix(e)}}else{a=i.getPublicSuffix(e)}if(!a){return null}if(a==e){return[e]}const n=e.slice(0,-(a.length+1));const o=n.split(".").reverse();let s=a;const p=[s];while(o.length){s=`${o.shift()}.${s}`;p.push(s)}return p}t.permuteDomain=permuteDomain},8292:(e,t,a)=>{"use strict";
/*!
* Copyright (c) 2018, Salesforce.com, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
*
* 2. Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
*
* 3. Neither the name of Salesforce.com nor the names of its contributors may
* be used to endorse or promote products derived from this software without
* specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*/const i=a(9975);function getPublicSuffix(e){return i.get(e)}t.getPublicSuffix=getPublicSuffix},7707:(e,t)=>{"use strict";
/*!
* Copyright (c) 2015, Salesforce.com, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
*
* 2. Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
*
* 3. Neither the name of Salesforce.com nor the names of its contributors may
* be used to endorse or promote products derived from this software without
* specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*/class Store{constructor(){this.synchronous=false}findCookie(e,t,a,i){throw new Error("findCookie is not implemented")}findCookies(e,t,a,i){throw new Error("findCookies is not implemented")}putCookie(e,t){throw new Error("putCookie is not implemented")}updateCookie(e,t,a){throw new Error("updateCookie is not implemented")}removeCookie(e,t,a,i){throw new Error("removeCookie is not implemented")}removeCookies(e,t,a){throw new Error("removeCookies is not implemented")}removeAllCookies(e){throw new Error("removeAllCookies is not implemented")}getAllCookies(e){throw new Error("getAllCookies is not implemented (therefore jar cannot be serialized)")}}t.y=Store},8742:e=>{e.exports="4.0.0"},2107:e=>{
/*! *****************************************************************************
Copyright (c) Microsoft Corporation.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */
2022-05-24 08:12:51 -04:00
var t;var a;var i;var r;var n;var o;var s;var p;var l;var c;var d;var m;var u;var h;var g;var y;var v;var b;var x;var w;var S;var k;var N;var T;(function(t){var a=typeof global==="object"?global:typeof self==="object"?self:typeof this==="object"?this:{};if(typeof define==="function"&&define.amd){define("tslib",["exports"],(function(e){t(createExporter(a,createExporter(e)))}))}else if(true&&typeof e.exports==="object"){t(createExporter(a,createExporter(e.exports)))}else{t(createExporter(a))}function createExporter(e,t){if(e!==a){if(typeof Object.create==="function"){Object.defineProperty(e,"__esModule",{value:true})}else{e.__esModule=true}}return function(a,i){return e[a]=t?t(a,i):i}}})((function(e){var E=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var a in t)if(Object.prototype.hasOwnProperty.call(t,a))e[a]=t[a]};t=function(e,t){if(typeof t!=="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");E(e,t);function __(){this.constructor=e}e.prototype=t===null?Object.create(t):(__.prototype=t.prototype,new __)};a=Object.assign||function(e){for(var t,a=1,i=arguments.length;a<i;a++){t=arguments[a];for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r))e[r]=t[r]}return e};i=function(e,t){var a={};for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0)a[i]=e[i];if(e!=null&&typeof Object.getOwnPropertySymbols==="function")for(var r=0,i=Object.getOwnPropertySymbols(e);r<i.length;r++){if(t.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(e,i[r]))a[i[r]]=e[i[r]]}return a};r=function(e,t,a,i){var r=arguments.length,n=r<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,a):i,o;if(typeof Reflect==="object"&&typeof Reflect.decorate==="function")n=Reflect.decorate(e,t,a,i);else for(var s=e.length-1;s>=0;s--)if(o=e[s])n=(r<3?o(n):r>3?o(t,a,n):o(t,a))||n;return r>3&&n&&Object.defineProperty(t,a,n),n};n=function(e,t){return function(a,i){t(a,i,e)}};o=function(e,t){if(typeof Reflect==="object"&&typeof Reflect.metadata==="function")return Reflect.metadata(e,t)};s=function(e,t,a,i){function adopt(e){return e instanceof a?e:new a((function(t){t(e)}))}return new(a||(a=Promise))((function(a,r){function fulfilled(e){try{step(i.next(e))}catch(e){r(e)}}function rejected(e){try{step(i["throw"](e))}catch(e){r(e)}}function step(e){e.done?a(e.value):adopt(e.value).then(fulfilled,rejected)}step((i=i.apply(e,t||[])).next())}))};p=function(e,t){var a={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},i,r,n,o;return o={next:verb(0),throw:verb(1),return:verb(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function verb(e){return function(t){return step([e,t])}}function step(o){if(i)throw new TypeError("Generator is already executing.");while(a)try{if(i=1,r&&(n=o[0]&2?r["return"]:o[0]?r["throw"]||((n=r["return"])&&n.call(r),0):r.next)&&!(n=n.call(r,o[1])).done)return n;if(r=0,n)o=[o[0]&2,n.value];switch(o[0]){case 0:case 1:n=o;break;case 4:a.label++;return{value:o[1],done:false};case 5:a.label++;r=o[1];o=[0];continue;case 7:o=a.ops.pop();a.trys.pop();continue;default:if(!(n=a.trys,n=n.length>0&&n[n.length-1])&&(o[0]===6||o[0]===2)){a=0;continue}if(o[0]===3&&(!n||o[1]>n[0]&&o[1]<n[3])){a.label=o[1];break}if(o[0]===6&&a.label<n[1]){a.label=n[1];n=o;break}if(n&&a.label<n[2]){a.label=n[2];a.ops.push(o);break}if(n[2])a.ops.pop();a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e];r=0}finally{i=n=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};l=function(e,t){for(var a in e)if(a!=="default"&&!Object.prototype.hasOwnProperty.call(t,a))T(t,e,a)};T=Object.create?function(e,t,a,i){if(i===undefined)i=a;Object.defineProperty(e,i,{enumerable:true,get:function(){return t[a]}})}:function(e,t,a,i){if(i===undefined)i=a;e[i]=t[a]};c=function(e){var t=typeof Symbol==="function"&&Symbol.iterator,a=t&&e[t],i=0;if(a)return a.call(e);if(e&&typeof e.length==="number")return{next:function(){if(e&&i>=e.length)e=void 0;return{value:e&&e[i++],done:!e}}};throw new TypeEr
/*! *****************************************************************************
Copyright (c) Microsoft Corporation.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */
2022-05-24 08:12:51 -04:00
var t;var a;var i;var r;var n;var o;var s;var p;var l;var c;var d;var m;var u;var h;var g;var y;var v;var b;var x;var w;var S;var k;var N;var T;(function(t){var a=typeof global==="object"?global:typeof self==="object"?self:typeof this==="object"?this:{};if(typeof define==="function"&&define.amd){define("tslib",["exports"],(function(e){t(createExporter(a,createExporter(e)))}))}else if(true&&typeof e.exports==="object"){t(createExporter(a,createExporter(e.exports)))}else{t(createExporter(a))}function createExporter(e,t){if(e!==a){if(typeof Object.create==="function"){Object.defineProperty(e,"__esModule",{value:true})}else{e.__esModule=true}}return function(a,i){return e[a]=t?t(a,i):i}}})((function(e){var E=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var a in t)if(Object.prototype.hasOwnProperty.call(t,a))e[a]=t[a]};t=function(e,t){if(typeof t!=="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");E(e,t);function __(){this.constructor=e}e.prototype=t===null?Object.create(t):(__.prototype=t.prototype,new __)};a=Object.assign||function(e){for(var t,a=1,i=arguments.length;a<i;a++){t=arguments[a];for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r))e[r]=t[r]}return e};i=function(e,t){var a={};for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0)a[i]=e[i];if(e!=null&&typeof Object.getOwnPropertySymbols==="function")for(var r=0,i=Object.getOwnPropertySymbols(e);r<i.length;r++){if(t.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(e,i[r]))a[i[r]]=e[i[r]]}return a};r=function(e,t,a,i){var r=arguments.length,n=r<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,a):i,o;if(typeof Reflect==="object"&&typeof Reflect.decorate==="function")n=Reflect.decorate(e,t,a,i);else for(var s=e.length-1;s>=0;s--)if(o=e[s])n=(r<3?o(n):r>3?o(t,a,n):o(t,a))||n;return r>3&&n&&Object.defineProperty(t,a,n),n};n=function(e,t){return function(a,i){t(a,i,e)}};o=function(e,t){if(typeof Reflect==="object"&&typeof Reflect.metadata==="function")return Reflect.metadata(e,t)};s=function(e,t,a,i){function adopt(e){return e instanceof a?e:new a((function(t){t(e)}))}return new(a||(a=Promise))((function(a,r){function fulfilled(e){try{step(i.next(e))}catch(e){r(e)}}function rejected(e){try{step(i["throw"](e))}catch(e){r(e)}}function step(e){e.done?a(e.value):adopt(e.value).then(fulfilled,rejected)}step((i=i.apply(e,t||[])).next())}))};p=function(e,t){var a={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},i,r,n,o;return o={next:verb(0),throw:verb(1),return:verb(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function verb(e){return function(t){return step([e,t])}}function step(o){if(i)throw new TypeError("Generator is already executing.");while(a)try{if(i=1,r&&(n=o[0]&2?r["return"]:o[0]?r["throw"]||((n=r["return"])&&n.call(r),0):r.next)&&!(n=n.call(r,o[1])).done)return n;if(r=0,n)o=[o[0]&2,n.value];switch(o[0]){case 0:case 1:n=o;break;case 4:a.label++;return{value:o[1],done:false};case 5:a.label++;r=o[1];o=[0];continue;case 7:o=a.ops.pop();a.trys.pop();continue;default:if(!(n=a.trys,n=n.length>0&&n[n.length-1])&&(o[0]===6||o[0]===2)){a=0;continue}if(o[0]===3&&(!n||o[1]>n[0]&&o[1]<n[3])){a.label=o[1];break}if(o[0]===6&&a.label<n[1]){a.label=n[1];n=o;break}if(n&&a.label<n[2]){a.label=n[2];a.ops.push(o);break}if(n[2])a.ops.pop();a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e];r=0}finally{i=n=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};l=function(e,t){for(var a in e)if(a!=="default"&&!Object.prototype.hasOwnProperty.call(t,a))T(t,e,a)};T=Object.create?function(e,t,a,i){if(i===undefined)i=a;Object.defineProperty(e,i,{enumerable:true,get:function(){return t[a]}})}:function(e,t,a,i){if(i===undefined)i=a;e[i]=t[a]};c=function(e){var t=typeof Symbol==="function"&&Symbol.iterator,a=t&&e[t],i=0;if(a)return a.call(e);if(e&&typeof e.length==="number")return{next:function(){if(e&&i>=e.length)e=void 0;return{value:e&&e[i++],done:!e}}};throw new TypeEr
/*! *****************************************************************************
Copyright (c) Microsoft Corporation.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */
2022-05-24 08:12:51 -04:00
var t;var a;var i;var r;var n;var o;var s;var p;var l;var c;var d;var m;var u;var h;var g;var y;var v;var b;var x;var w;var S;var k;var N;var T;(function(t){var a=typeof global==="object"?global:typeof self==="object"?self:typeof this==="object"?this:{};if(typeof define==="function"&&define.amd){define("tslib",["exports"],(function(e){t(createExporter(a,createExporter(e)))}))}else if(true&&typeof e.exports==="object"){t(createExporter(a,createExporter(e.exports)))}else{t(createExporter(a))}function createExporter(e,t){if(e!==a){if(typeof Object.create==="function"){Object.defineProperty(e,"__esModule",{value:true})}else{e.__esModule=true}}return function(a,i){return e[a]=t?t(a,i):i}}})((function(e){var E=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var a in t)if(Object.prototype.hasOwnProperty.call(t,a))e[a]=t[a]};t=function(e,t){if(typeof t!=="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");E(e,t);function __(){this.constructor=e}e.prototype=t===null?Object.create(t):(__.prototype=t.prototype,new __)};a=Object.assign||function(e){for(var t,a=1,i=arguments.length;a<i;a++){t=arguments[a];for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r))e[r]=t[r]}return e};i=function(e,t){var a={};for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0)a[i]=e[i];if(e!=null&&typeof Object.getOwnPropertySymbols==="function")for(var r=0,i=Object.getOwnPropertySymbols(e);r<i.length;r++){if(t.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(e,i[r]))a[i[r]]=e[i[r]]}return a};r=function(e,t,a,i){var r=arguments.length,n=r<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,a):i,o;if(typeof Reflect==="object"&&typeof Reflect.decorate==="function")n=Reflect.decorate(e,t,a,i);else for(var s=e.length-1;s>=0;s--)if(o=e[s])n=(r<3?o(n):r>3?o(t,a,n):o(t,a))||n;return r>3&&n&&Object.defineProperty(t,a,n),n};n=function(e,t){return function(a,i){t(a,i,e)}};o=function(e,t){if(typeof Reflect==="object"&&typeof Reflect.metadata==="function")return Reflect.metadata(e,t)};s=function(e,t,a,i){function adopt(e){return e instanceof a?e:new a((function(t){t(e)}))}return new(a||(a=Promise))((function(a,r){function fulfilled(e){try{step(i.next(e))}catch(e){r(e)}}function rejected(e){try{step(i["throw"](e))}catch(e){r(e)}}function step(e){e.done?a(e.value):adopt(e.value).then(fulfilled,rejected)}step((i=i.apply(e,t||[])).next())}))};p=function(e,t){var a={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},i,r,n,o;return o={next:verb(0),throw:verb(1),return:verb(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function verb(e){return function(t){return step([e,t])}}function step(o){if(i)throw new TypeError("Generator is already executing.");while(a)try{if(i=1,r&&(n=o[0]&2?r["return"]:o[0]?r["throw"]||((n=r["return"])&&n.call(r),0):r.next)&&!(n=n.call(r,o[1])).done)return n;if(r=0,n)o=[o[0]&2,n.value];switch(o[0]){case 0:case 1:n=o;break;case 4:a.label++;return{value:o[1],done:false};case 5:a.label++;r=o[1];o=[0];continue;case 7:o=a.ops.pop();a.trys.pop();continue;default:if(!(n=a.trys,n=n.length>0&&n[n.length-1])&&(o[0]===6||o[0]===2)){a=0;continue}if(o[0]===3&&(!n||o[1]>n[0]&&o[1]<n[3])){a.label=o[1];break}if(o[0]===6&&a.label<n[1]){a.label=n[1];n=o;break}if(n&&a.label<n[2]){a.label=n[2];a.ops.push(o);break}if(n[2])a.ops.pop();a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e];r=0}finally{i=n=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};l=function(e,t){for(var a in e)if(a!=="default"&&!Object.prototype.hasOwnProperty.call(t,a))T(t,e,a)};T=Object.create?function(e,t,a,i){if(i===undefined)i=a;Object.defineProperty(e,i,{enumerable:true,get:function(){return t[a]}})}:function(e,t,a,i){if(i===undefined)i=a;e[i]=t[a]};c=function(e){var t=typeof Symbol==="function"&&Symbol.iterator,a=t&&e[t],i=0;if(a)return a.call(e);if(e&&typeof e.length==="number")return{next:function(){if(e&&i>=e.length)e=void 0;return{value:e&&e[i++],done:!e}}};throw new TypeEr
/*!
* is-plain-object <https://github.com/jonschlinkert/is-plain-object>
*
* Copyright (c) 2014-2017, Jon Schlinkert.
* Released under the MIT License.
*/function isObject(e){return Object.prototype.toString.call(e)==="[object Object]"}function isPlainObject(e){var t,a;if(isObject(e)===false)return false;t=e.constructor;if(t===undefined)return true;a=t.prototype;if(isObject(a)===false)return false;if(a.hasOwnProperty("isPrototypeOf")===false){return false}return true}t.isPlainObject=isPlainObject},7426:(e,t,a)=>{
/*!
* mime-db
* Copyright(c) 2014 Jonathan Ong
* Copyright(c) 2015-2022 Douglas Christopher Wilson
* MIT Licensed
*/
e.exports=a(3765)},3583:(e,t,a)=>{"use strict";
/*!
* mime-types
* Copyright(c) 2014 Jonathan Ong
* Copyright(c) 2015 Douglas Christopher Wilson
* MIT Licensed
2022-05-24 08:12:51 -04:00
*/var i=a(7426);var r=a(1017).extname;var n=/^\s*([^;\s]*)(?:;|\s|$)/;var o=/^text\//i;t.charset=charset;t.charsets={lookup:charset};t.contentType=contentType;t.extension=extension;t.extensions=Object.create(null);t.lookup=lookup;t.types=Object.create(null);populateMaps(t.extensions,t.types);function charset(e){if(!e||typeof e!=="string"){return false}var t=n.exec(e);var a=t&&i[t[1].toLowerCase()];if(a&&a.charset){return a.charset}if(t&&o.test(t[1])){return"UTF-8"}return false}function contentType(e){if(!e||typeof e!=="string"){return false}var a=e.indexOf("/")===-1?t.lookup(e):e;if(!a){return false}if(a.indexOf("charset")===-1){var i=t.charset(a);if(i)a+="; charset="+i.toLowerCase()}return a}function extension(e){if(!e||typeof e!=="string"){return false}var a=n.exec(e);var i=a&&t.extensions[a[1].toLowerCase()];if(!i||!i.length){return false}return i[0]}function lookup(e){if(!e||typeof e!=="string"){return false}var a=r("x."+e).toLowerCase().substr(1);if(!a){return false}return t.types[a]||false}function populateMaps(e,t){var a=["nginx","apache",undefined,"iana"];Object.keys(i).forEach((function forEachMimeType(r){var n=i[r];var o=n.extensions;if(!o||!o.length){return}e[r]=o;for(var s=0;s<o.length;s++){var p=o[s];if(t[p]){var l=a.indexOf(i[t[p]].source);var c=a.indexOf(n.source);if(t[p]!=="application/octet-stream"&&(l>c||l===c&&t[p].substr(0,12)==="application/")){continue}}t[p]=r}}))}},3973:(e,t,a)=>{e.exports=minimatch;minimatch.Minimatch=Minimatch;var i=function(){try{return a(1017)}catch(e){}}()||{sep:"/"};minimatch.sep=i.sep;var r=minimatch.GLOBSTAR=Minimatch.GLOBSTAR={};var n=a(3717);var o={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}};var s="[^/]";var p=s+"*?";var l="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?";var c="(?:(?!(?:\\/|^)\\.).)*?";var d=charSet("().*{}+?[]^$\\!");function charSet(e){return e.split("").reduce((function(e,t){e[t]=true;return e}),{})}var m=/\/+/;minimatch.filter=filter;function filter(e,t){t=t||{};return function(a,i,r){return minimatch(a,e,t)}}function ext(e,t){t=t||{};var a={};Object.keys(e).forEach((function(t){a[t]=e[t]}));Object.keys(t).forEach((function(e){a[e]=t[e]}));return a}minimatch.defaults=function(e){if(!e||typeof e!=="object"||!Object.keys(e).length){return minimatch}var t=minimatch;var a=function minimatch(a,i,r){return t(a,i,ext(e,r))};a.Minimatch=function Minimatch(a,i){return new t.Minimatch(a,ext(e,i))};a.Minimatch.defaults=function defaults(a){return t.defaults(ext(e,a)).Minimatch};a.filter=function filter(a,i){return t.filter(a,ext(e,i))};a.defaults=function defaults(a){return t.defaults(ext(e,a))};a.makeRe=function makeRe(a,i){return t.makeRe(a,ext(e,i))};a.braceExpand=function braceExpand(a,i){return t.braceExpand(a,ext(e,i))};a.match=function(a,i,r){return t.match(a,i,ext(e,r))};return a};Minimatch.defaults=function(e){return minimatch.defaults(e).Minimatch};function minimatch(e,t,a){assertValidPattern(t);if(!a)a={};if(!a.nocomment&&t.charAt(0)==="#"){return false}return new Minimatch(t,a).match(e)}function Minimatch(e,t){if(!(this instanceof Minimatch)){return new Minimatch(e,t)}assertValidPattern(e);if(!t)t={};e=e.trim();if(!t.allowWindowsEscape&&i.sep!=="/"){e=e.split(i.sep).join("/")}this.options=t;this.set=[];this.pattern=e;this.regexp=null;this.negate=false;this.comment=false;this.empty=false;this.partial=!!t.partial;this.make()}Minimatch.prototype.debug=function(){};Minimatch.prototype.make=make;function make(){var e=this.pattern;var t=this.options;if(!t.nocomment&&e.charAt(0)==="#"){this.comment=true;return}if(!e){this.empty=true;return}this.parseNegate();var a=this.globSet=this.braceExpand();if(t.debug)this.debug=function debug(){console.error.apply(console,arguments)};this.debug(this.pattern,a);a=this.globParts=a.map((function(e){return e.split(m)}));this.debug(this.pattern,a);a=a.map((function(e,t,a){return e.map(this.parse,this)}),this);this.debug(this.pattern,a);a=a.filter((function(e){return e.indexOf(false)===-1}));this.debug(this.pattern,a);thi
2022-05-24 10:37:15 -04:00
/*! http://mths.be/fromcodepoint v0.1.0 by @mathias */if(!String.fromCodePoint){(function(){var e=String.fromCharCode;var t=Math.floor;var fromCodePoint=function(){var a=16384;var i=[];var r;var n;var o=-1;var s=arguments.length;if(!s){return""}var p="";while(++o<s){var l=Number(arguments[o]);if(!isFinite(l)||l<0||l>1114111||t(l)!==l){throw RangeError("Invalid code point: "+l)}if(l<=65535){i.push(l)}else{l-=65536;r=(l>>10)+55296;n=l%1024+56320;i.push(r,n)}if(o+1===s||i.length>a){p+=e.apply(null,i);i.length=0}}return p};if(Object.defineProperty){Object.defineProperty(String,"fromCodePoint",{value:fromCodePoint,configurable:true,writable:true})}else{String.fromCodePoint=fromCodePoint}})()}})(false?0:t)},5911:(e,t)=>{t=e.exports=SemVer;var a;if(typeof process==="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)){a=function(){var e=Array.prototype.slice.call(arguments,0);e.unshift("SEMVER");console.log.apply(console,e)}}else{a=function(){}}t.SEMVER_SPEC_VERSION="2.0.0";var i=256;var r=Number.MAX_SAFE_INTEGER||9007199254740991;var n=16;var o=t.re=[];var s=t.src=[];var p=t.tokens={};var l=0;function tok(e){p[e]=l++}tok("NUMERICIDENTIFIER");s[p.NUMERICIDENTIFIER]="0|[1-9]\\d*";tok("NUMERICIDENTIFIERLOOSE");s[p.NUMERICIDENTIFIERLOOSE]="[0-9]+";tok("NONNUMERICIDENTIFIER");s[p.NONNUMERICIDENTIFIER]="\\d*[a-zA-Z-][a-zA-Z0-9-]*";tok("MAINVERSION");s[p.MAINVERSION]="("+s[p.NUMERICIDENTIFIER]+")\\."+"("+s[p.NUMERICIDENTIFIER]+")\\."+"("+s[p.NUMERICIDENTIFIER]+")";tok("MAINVERSIONLOOSE");s[p.MAINVERSIONLOOSE]="("+s[p.NUMERICIDENTIFIERLOOSE]+")\\."+"("+s[p.NUMERICIDENTIFIERLOOSE]+")\\."+"("+s[p.NUMERICIDENTIFIERLOOSE]+")";tok("PRERELEASEIDENTIFIER");s[p.PRERELEASEIDENTIFIER]="(?:"+s[p.NUMERICIDENTIFIER]+"|"+s[p.NONNUMERICIDENTIFIER]+")";tok("PRERELEASEIDENTIFIERLOOSE");s[p.PRERELEASEIDENTIFIERLOOSE]="(?:"+s[p.NUMERICIDENTIFIERLOOSE]+"|"+s[p.NONNUMERICIDENTIFIER]+")";tok("PRERELEASE");s[p.PRERELEASE]="(?:-("+s[p.PRERELEASEIDENTIFIER]+"(?:\\."+s[p.PRERELEASEIDENTIFIER]+")*))";tok("PRERELEASELOOSE");s[p.PRERELEASELOOSE]="(?:-?("+s[p.PRERELEASEIDENTIFIERLOOSE]+"(?:\\."+s[p.PRERELEASEIDENTIFIERLOOSE]+")*))";tok("BUILDIDENTIFIER");s[p.BUILDIDENTIFIER]="[0-9A-Za-z-]+";tok("BUILD");s[p.BUILD]="(?:\\+("+s[p.BUILDIDENTIFIER]+"(?:\\."+s[p.BUILDIDENTIFIER]+")*))";tok("FULL");tok("FULLPLAIN");s[p.FULLPLAIN]="v?"+s[p.MAINVERSION]+s[p.PRERELEASE]+"?"+s[p.BUILD]+"?";s[p.FULL]="^"+s[p.FULLPLAIN]+"$";tok("LOOSEPLAIN");s[p.LOOSEPLAIN]="[v=\\s]*"+s[p.MAINVERSIONLOOSE]+s[p.PRERELEASELOOSE]+"?"+s[p.BUILD]+"?";tok("LOOSE");s[p.LOOSE]="^"+s[p.LOOSEPLAIN]+"$";tok("GTLT");s[p.GTLT]="((?:<|>)?=?)";tok("XRANGEIDENTIFIERLOOSE");s[p.XRANGEIDENTIFIERLOOSE]=s[p.NUMERICIDENTIFIERLOOSE]+"|x|X|\\*";tok("XRANGEIDENTIFIER");s[p.XRANGEIDENTIFIER]=s[p.NUMERICIDENTIFIER]+"|x|X|\\*";tok("XRANGEPLAIN");s[p.XRANGEPLAIN]="[v=\\s]*("+s[p.XRANGEIDENTIFIER]+")"+"(?:\\.("+s[p.XRANGEIDENTIFIER]+")"+"(?:\\.("+s[p.XRANGEIDENTIFIER]+")"+"(?:"+s[p.PRERELEASE]+")?"+s[p.BUILD]+"?"+")?)?";tok("XRANGEPLAINLOOSE");s[p.XRANGEPLAINLOOSE]="[v=\\s]*("+s[p.XRANGEIDENTIFIERLOOSE]+")"+"(?:\\.("+s[p.XRANGEIDENTIFIERLOOSE]+")"+"(?:\\.("+s[p.XRANGEIDENTIFIERLOOSE]+")"+"(?:"+s[p.PRERELEASELOOSE]+")?"+s[p.BUILD]+"?"+")?)?";tok("XRANGE");s[p.XRANGE]="^"+s[p.GTLT]+"\\s*"+s[p.XRANGEPLAIN]+"$";tok("XRANGELOOSE");s[p.XRANGELOOSE]="^"+s[p.GTLT]+"\\s*"+s[p.XRANGEPLAINLOOSE]+"$";tok("COERCE");s[p.COERCE]="(^|[^\\d])"+"(\\d{1,"+n+"})"+"(?:\\.(\\d{1,"+n+"}))?"+"(?:\\.(\\d{1,"+n+"}))?"+"(?:$|[^\\d])";tok("COERCERTL");o[p.COERCERTL]=new RegExp(s[p.COERCE],"g");tok("LONETILDE");s[p.LONETILDE]="(?:~>?)";tok("TILDETRIM");s[p.TILDETRIM]="(\\s*)"+s[p.LONETILDE]+"\\s+";o[p.TILDETRIM]=new RegExp(s[p.TILDETRIM],"g");var c="$1~";tok("TILDE");s[p.TILDE]="^"+s[p.LONETILDE]+s[p.XRANGEPLAIN]+"$";tok("TILDELOOSE");s[p.TILDELOOSE]="^"+s[p.LONETILDE]+s[p.XRANGEPLAINLOOSE]+"$";tok("LONECARET");s[p.LONECARET]="(?:\\^)";tok("CARETTRIM");s[p.CARETTRIM]="(\\s*)"+s[p.LONECARET]+"\\s+";o[p.CARETTRIM]=new RegExp(s[p.CARETTRIM],"g");var d="$1^";tok("CARET");s[p.CARET]="^"+s[p.LONECARET]+s[p.XRANGEPLAIN
2021-09-14 20:11:31 -04:00
//# sourceMappingURL=index.js.map