parcelRequire=function(e,r,t,n){var i,o="function"==typeof parcelRequire&&parcelRequire,u="function"==typeof require&&require;function f(t,n){if(!r[t]){if(!e[t]){var i="function"==typeof parcelRequire&&parcelRequire;if(!n&&i)return i(t,!0);if(o)return o(t,!0);if(u&&"string"==typeof t)return u(t);var c=new Error("Cannot find module '"+t+"'");throw c.code="MODULE_NOT_FOUND",c}p.resolve=function(r){return e[t][1][r]||r},p.cache={};var l=r[t]=new f.Module(t);e[t][0].call(l.exports,p,l,l.exports,this)}return r[t].exports;function p(e){return f(p.resolve(e))}}f.isParcelRequire=!0,f.Module=function(e){this.id=e,this.bundle=f,this.exports={}},f.modules=e,f.cache=r,f.parent=o,f.register=function(r,t){e[r]=[function(e,r){r.exports=t},{}]};for(var c=0;c1)for(var n=1;n=0;n--){var o=r[n];"."===o?r.splice(n,1):".."===o?(r.splice(n,1),e++):e&&(r.splice(n,1),e--)}if(t)for(;e--;e)r.unshift("..");return r}function e(r){"string"!=typeof r&&(r+="");var t,e=0,n=-1,o=!0;for(t=r.length-1;t>=0;--t)if(47===r.charCodeAt(t)){if(!o){e=t+1;break}}else-1===n&&(o=!1,n=t+1);return-1===n?"":r.slice(e,n)}function n(r,t){if(r.filter)return r.filter(t);for(var e=[],n=0;n=-1&&!o;s--){var i=s>=0?arguments[s]:r.cwd();if("string"!=typeof i)throw new TypeError("Arguments to path.resolve must be strings");i&&(e=i+"/"+e,o="/"===i.charAt(0))}return(o?"/":"")+(e=t(n(e.split("/"),function(r){return!!r}),!o).join("/"))||"."},exports.normalize=function(r){var e=exports.isAbsolute(r),s="/"===o(r,-1);return(r=t(n(r.split("/"),function(r){return!!r}),!e).join("/"))||e||(r="."),r&&s&&(r+="/"),(e?"/":"")+r},exports.isAbsolute=function(r){return"/"===r.charAt(0)},exports.join=function(){var r=Array.prototype.slice.call(arguments,0);return exports.normalize(n(r,function(r,t){if("string"!=typeof r)throw new TypeError("Arguments to path.join must be strings");return r}).join("/"))},exports.relative=function(r,t){function e(r){for(var t=0;t=0&&""===r[e];e--);return t>e?[]:r.slice(t,e-t+1)}r=exports.resolve(r).substr(1),t=exports.resolve(t).substr(1);for(var n=e(r.split("/")),o=e(t.split("/")),s=Math.min(n.length,o.length),i=s,u=0;u=1;--s)if(47===(t=r.charCodeAt(s))){if(!o){n=s;break}}else o=!1;return-1===n?e?"/":".":e&&1===n?"/":r.slice(0,n)},exports.basename=function(r,t){var n=e(r);return t&&n.substr(-1*t.length)===t&&(n=n.substr(0,n.length-t.length)),n},exports.extname=function(r){"string"!=typeof r&&(r+="");for(var t=-1,e=0,n=-1,o=!0,s=0,i=r.length-1;i>=0;--i){var u=r.charCodeAt(i);if(47!==u)-1===n&&(o=!1,n=i+1),46===u?-1===t?t=i:1!==s&&(s=1):-1!==t&&(s=-1);else if(!o){e=i+1;break}}return-1===t||-1===n||0===s||1===s&&t===n-1&&t===e+1?"":r.slice(t,n)};var o="b"==="ab".substr(-1)?function(r,t,e){return r.substr(t,e)}:function(r,t,e){return t<0&&(t=r.length+t),r.substr(t,e)}; },{"process":"pBGv"}],"UzoP":[function(require,module,exports) { var process = require("process"); var r=require("process");r.cwd=function(){return"/"};var e=require("path"),n=Object.assign({},e);n.basename=function(r,n){var i=e.basename(r,n);return""===i?"/":i},n.normalize=function(r){return"/"===(r=e.normalize(r))?r:n.removeTrailing(r)},n.isNull=function(r){return-1!==(""+r).indexOf("\0")},n.addTrailing=function(r){return r.replace(/\/*$/,"/")},n.removeTrailing=function(r){return""===(r=r.replace(/\/*$/,""))?"/":r},module.exports=n; },{"path":"UUq2","process":"pBGv"}],"iJA9":[function(require,module,exports) { var _="READ",E="WRITE",O="CREATE",R="EXCLUSIVE",I="TRUNCATE",S="APPEND",T="CREATE",N="REPLACE";module.exports={FILE_SYSTEM_NAME:"local",FILE_STORE_NAME:"files",IDB_RO:"readonly",IDB_RW:"readwrite",WSQL_VERSION:"1",WSQL_SIZE:5242880,WSQL_DESC:"FileSystem Storage",NODE_TYPE_FILE:"FILE",NODE_TYPE_DIRECTORY:"DIRECTORY",NODE_TYPE_SYMBOLIC_LINK:"SYMLINK",NODE_TYPE_META:"META",DEFAULT_DIR_PERMISSIONS:493,DEFAULT_FILE_PERMISSIONS:420,FULL_READ_WRITE_EXEC_PERMISSIONS:511,READ_WRITE_PERMISSIONS:438,SYMLOOP_MAX:10,BINARY_MIME_TYPE:"application/octet-stream",JSON_MIME_TYPE:"application/json",ROOT_DIRECTORY_NAME:"/",FS_FORMAT:"FORMAT",FS_NOCTIME:"NOCTIME",FS_NOMTIME:"NOMTIME",FS_NODUPEIDCHECK:"FS_NODUPEIDCHECK",O_READ:_,O_WRITE:E,O_CREATE:O,O_EXCLUSIVE:R,O_TRUNCATE:I,O_APPEND:S,O_FLAGS:{r:[_],"r+":[_,E],w:[E,O,I],"w+":[E,_,O,I],wx:[E,O,R,I],"wx+":[E,_,O,R,I],a:[E,O,S],"a+":[E,_,O,S],ax:[E,O,R,S],"ax+":[E,_,O,R,S]},XATTR_CREATE:T,XATTR_REPLACE:N,FS_READY:"READY",FS_PENDING:"PENDING",FS_ERROR:"ERROR",SUPER_NODE_ID:"00000000-0000-0000-0000-000000000000",STDIN:0,STDOUT:1,STDERR:2,FIRST_DESCRIPTOR:3,ENVIRONMENT:{TMP:"/tmp",PATH:""},fsConstants:{O_RDONLY:0,O_WRONLY:1,O_RDWR:2,S_IFMT:61440,S_IFREG:32768,S_IFDIR:16384,S_IFCHR:8192,S_IFBLK:24576,S_IFIFO:4096,S_IFLNK:40960,S_IFSOCK:49152,O_CREAT:512,O_EXCL:2048,O_NOCTTY:131072,O_TRUNC:1024,O_APPEND:8,O_DIRECTORY:1048576,O_NOFOLLOW:256,O_SYNC:128,O_DSYNC:4194304,O_SYMLINK:2097152,O_NONBLOCK:4,S_IRWXU:448,S_IRUSR:256,S_IWUSR:128,S_IXUSR:64,S_IRWXG:56,S_IRGRP:32,S_IWGRP:16,S_IXGRP:8,S_IRWXO:7,S_IROTH:4,S_IWOTH:2,S_IXOTH:1,F_OK:0,R_OK:4,W_OK:2,X_OK:1,UV_FS_COPYFILE_EXCL:1,COPYFILE_EXCL:1}}; },{}],"yh9p":[function(require,module,exports) { "use strict";exports.byteLength=u,exports.toByteArray=i,exports.fromByteArray=d;for(var r=[],t=[],e="undefined"!=typeof Uint8Array?Uint8Array:Array,n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o=0,a=n.length;o0)throw new Error("Invalid string. Length must be a multiple of 4");var e=r.indexOf("=");return-1===e&&(e=t),[e,e===t?0:4-e%4]}function u(r){var t=h(r),e=t[0],n=t[1];return 3*(e+n)/4-n}function c(r,t,e){return 3*(t+e)/4-e}function i(r){var n,o,a=h(r),u=a[0],i=a[1],f=new e(c(r,u,i)),A=0,d=i>0?u-4:u;for(o=0;o>16&255,f[A++]=n>>8&255,f[A++]=255&n;return 2===i&&(n=t[r.charCodeAt(o)]<<2|t[r.charCodeAt(o+1)]>>4,f[A++]=255&n),1===i&&(n=t[r.charCodeAt(o)]<<10|t[r.charCodeAt(o+1)]<<4|t[r.charCodeAt(o+2)]>>2,f[A++]=n>>8&255,f[A++]=255&n),f}function f(t){return r[t>>18&63]+r[t>>12&63]+r[t>>6&63]+r[63&t]}function A(r,t,e){for(var n,o=[],a=t;au?u:h+16383));return 1===o?(e=t[n-1],a.push(r[e>>2]+r[e<<4&63]+"==")):2===o&&(e=(t[n-2]<<8)+t[n-1],a.push(r[e>>10]+r[e>>4&63]+r[e<<2&63]+"=")),a.join("")}t["-".charCodeAt(0)]=62,t["_".charCodeAt(0)]=63; },{}],"JgNJ":[function(require,module,exports) { exports.read=function(a,o,t,r,h){var M,p,w=8*h-r-1,f=(1<>1,i=-7,N=t?h-1:0,n=t?-1:1,s=a[o+N];for(N+=n,M=s&(1<<-i)-1,s>>=-i,i+=w;i>0;M=256*M+a[o+N],N+=n,i-=8);for(p=M&(1<<-i)-1,M>>=-i,i+=r;i>0;p=256*p+a[o+N],N+=n,i-=8);if(0===M)M=1-e;else{if(M===f)return p?NaN:1/0*(s?-1:1);p+=Math.pow(2,r),M-=e}return(s?-1:1)*p*Math.pow(2,M-r)},exports.write=function(a,o,t,r,h,M){var p,w,f,e=8*M-h-1,i=(1<>1,n=23===h?Math.pow(2,-24)-Math.pow(2,-77):0,s=r?0:M-1,u=r?1:-1,l=o<0||0===o&&1/o<0?1:0;for(o=Math.abs(o),isNaN(o)||o===1/0?(w=isNaN(o)?1:0,p=i):(p=Math.floor(Math.log(o)/Math.LN2),o*(f=Math.pow(2,-p))<1&&(p--,f*=2),(o+=p+N>=1?n/f:n*Math.pow(2,1-N))*f>=2&&(p++,f/=2),p+N>=i?(w=0,p=i):p+N>=1?(w=(o*f-1)*Math.pow(2,h),p+=N):(w=o*Math.pow(2,N-1)*Math.pow(2,h),p=0));h>=8;a[t+s]=255&w,s+=u,w/=256,h-=8);for(p=p<0;a[t+s]=255&p,s+=u,p/=256,e-=8);a[t+s-u]|=128*l}; },{}],"REa7":[function(require,module,exports) { var r={}.toString;module.exports=Array.isArray||function(t){return"[object Array]"==r.call(t)}; },{}],"dskh":[function(require,module,exports) { var global = arguments[3]; var t=arguments[3],r=require("base64-js"),e=require("ieee754"),n=require("isarray");function i(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()&&"function"==typeof t.subarray&&0===t.subarray(1,1).byteLength}catch(r){return!1}}function o(){return f.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function u(t,r){if(o()=o())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o().toString(16)+" bytes");return 0|t}function d(t){return+t!=t&&(t=0),f.alloc(+t)}function v(t,r){if(f.isBuffer(t))return t.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!=typeof t&&(t=""+t);var e=t.length;if(0===e)return 0;for(var n=!1;;)switch(r){case"ascii":case"latin1":case"binary":return e;case"utf8":case"utf-8":case void 0:return $(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*e;case"hex":return e>>>1;case"base64":return K(t).length;default:if(n)return $(t).length;r=(""+r).toLowerCase(),n=!0}}function E(t,r,e){var n=!1;if((void 0===r||r<0)&&(r=0),r>this.length)return"";if((void 0===e||e>this.length)&&(e=this.length),e<=0)return"";if((e>>>=0)<=(r>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return x(this,r,e);case"utf8":case"utf-8":return Y(this,r,e);case"ascii":return L(this,r,e);case"latin1":case"binary":return D(this,r,e);case"base64":return S(this,r,e);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return C(this,r,e);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}function b(t,r,e){var n=t[r];t[r]=t[e],t[e]=n}function R(t,r,e,n,i){if(0===t.length)return-1;if("string"==typeof e?(n=e,e=0):e>2147483647?e=2147483647:e<-2147483648&&(e=-2147483648),e=+e,isNaN(e)&&(e=i?0:t.length-1),e<0&&(e=t.length+e),e>=t.length){if(i)return-1;e=t.length-1}else if(e<0){if(!i)return-1;e=0}if("string"==typeof r&&(r=f.from(r,n)),f.isBuffer(r))return 0===r.length?-1:_(t,r,e,n,i);if("number"==typeof r)return r&=255,f.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(t,r,e):Uint8Array.prototype.lastIndexOf.call(t,r,e):_(t,[r],e,n,i);throw new TypeError("val must be string, number or Buffer")}function _(t,r,e,n,i){var o,u=1,f=t.length,s=r.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(t.length<2||r.length<2)return-1;u=2,f/=2,s/=2,e/=2}function h(t,r){return 1===u?t[r]:t.readUInt16BE(r*u)}if(i){var a=-1;for(o=e;of&&(e=f-s),o=e;o>=0;o--){for(var c=!0,l=0;li&&(n=i):n=i;var o=r.length;if(o%2!=0)throw new TypeError("Invalid hex string");n>o/2&&(n=o/2);for(var u=0;u239?4:h>223?3:h>191?2:1;if(i+c<=e)switch(c){case 1:h<128&&(a=h);break;case 2:128==(192&(o=t[i+1]))&&(s=(31&h)<<6|63&o)>127&&(a=s);break;case 3:o=t[i+1],u=t[i+2],128==(192&o)&&128==(192&u)&&(s=(15&h)<<12|(63&o)<<6|63&u)>2047&&(s<55296||s>57343)&&(a=s);break;case 4:o=t[i+1],u=t[i+2],f=t[i+3],128==(192&o)&&128==(192&u)&&128==(192&f)&&(s=(15&h)<<18|(63&o)<<12|(63&u)<<6|63&f)>65535&&s<1114112&&(a=s)}null===a?(a=65533,c=1):a>65535&&(a-=65536,n.push(a>>>10&1023|55296),a=56320|1023&a),n.push(a),i+=c}return O(n)}exports.Buffer=f,exports.SlowBuffer=d,exports.INSPECT_MAX_BYTES=50,f.TYPED_ARRAY_SUPPORT=void 0!==t.TYPED_ARRAY_SUPPORT?t.TYPED_ARRAY_SUPPORT:i(),exports.kMaxLength=o(),f.poolSize=8192,f._augment=function(t){return t.__proto__=f.prototype,t},f.from=function(t,r,e){return s(null,t,r,e)},f.TYPED_ARRAY_SUPPORT&&(f.prototype.__proto__=Uint8Array.prototype,f.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&f[Symbol.species]===f&&Object.defineProperty(f,Symbol.species,{value:null,configurable:!0})),f.alloc=function(t,r,e){return a(null,t,r,e)},f.allocUnsafe=function(t){return c(null,t)},f.allocUnsafeSlow=function(t){return c(null,t)},f.isBuffer=function(t){return!(null==t||!t._isBuffer)},f.compare=function(t,r){if(!f.isBuffer(t)||!f.isBuffer(r))throw new TypeError("Arguments must be Buffers");if(t===r)return 0;for(var e=t.length,n=r.length,i=0,o=Math.min(e,n);i0&&(t=this.toString("hex",0,r).match(/.{2}/g).join(" "),this.length>r&&(t+=" ... ")),""},f.prototype.compare=function(t,r,e,n,i){if(!f.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===r&&(r=0),void 0===e&&(e=t?t.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),r<0||e>t.length||n<0||i>this.length)throw new RangeError("out of range index");if(n>=i&&r>=e)return 0;if(n>=i)return-1;if(r>=e)return 1;if(this===t)return 0;for(var o=(i>>>=0)-(n>>>=0),u=(e>>>=0)-(r>>>=0),s=Math.min(o,u),h=this.slice(n,i),a=t.slice(r,e),c=0;ci)&&(e=i),t.length>0&&(e<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var o=!1;;)switch(n){case"hex":return A(this,t,r,e);case"utf8":case"utf-8":return m(this,t,r,e);case"ascii":return P(this,t,r,e);case"latin1":case"binary":return T(this,t,r,e);case"base64":return B(this,t,r,e);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return U(this,t,r,e);default:if(o)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),o=!0}},f.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var I=4096;function O(t){var r=t.length;if(r<=I)return String.fromCharCode.apply(String,t);for(var e="",n=0;nn)&&(e=n);for(var i="",o=r;oe)throw new RangeError("Trying to access beyond buffer length")}function k(t,r,e,n,i,o){if(!f.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(r>i||rt.length)throw new RangeError("Index out of range")}function N(t,r,e,n){r<0&&(r=65535+r+1);for(var i=0,o=Math.min(t.length-e,2);i>>8*(n?i:1-i)}function z(t,r,e,n){r<0&&(r=4294967295+r+1);for(var i=0,o=Math.min(t.length-e,4);i>>8*(n?i:3-i)&255}function F(t,r,e,n,i,o){if(e+n>t.length)throw new RangeError("Index out of range");if(e<0)throw new RangeError("Index out of range")}function j(t,r,n,i,o){return o||F(t,r,n,4,3.4028234663852886e38,-3.4028234663852886e38),e.write(t,r,n,i,23,4),n+4}function q(t,r,n,i,o){return o||F(t,r,n,8,1.7976931348623157e308,-1.7976931348623157e308),e.write(t,r,n,i,52,8),n+8}f.prototype.slice=function(t,r){var e,n=this.length;if((t=~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),(r=void 0===r?n:~~r)<0?(r+=n)<0&&(r=0):r>n&&(r=n),r0&&(i*=256);)n+=this[t+--r]*i;return n},f.prototype.readUInt8=function(t,r){return r||M(t,1,this.length),this[t]},f.prototype.readUInt16LE=function(t,r){return r||M(t,2,this.length),this[t]|this[t+1]<<8},f.prototype.readUInt16BE=function(t,r){return r||M(t,2,this.length),this[t]<<8|this[t+1]},f.prototype.readUInt32LE=function(t,r){return r||M(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},f.prototype.readUInt32BE=function(t,r){return r||M(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},f.prototype.readIntLE=function(t,r,e){t|=0,r|=0,e||M(t,r,this.length);for(var n=this[t],i=1,o=0;++o=(i*=128)&&(n-=Math.pow(2,8*r)),n},f.prototype.readIntBE=function(t,r,e){t|=0,r|=0,e||M(t,r,this.length);for(var n=r,i=1,o=this[t+--n];n>0&&(i*=256);)o+=this[t+--n]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*r)),o},f.prototype.readInt8=function(t,r){return r||M(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},f.prototype.readInt16LE=function(t,r){r||M(t,2,this.length);var e=this[t]|this[t+1]<<8;return 32768&e?4294901760|e:e},f.prototype.readInt16BE=function(t,r){r||M(t,2,this.length);var e=this[t+1]|this[t]<<8;return 32768&e?4294901760|e:e},f.prototype.readInt32LE=function(t,r){return r||M(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},f.prototype.readInt32BE=function(t,r){return r||M(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},f.prototype.readFloatLE=function(t,r){return r||M(t,4,this.length),e.read(this,t,!0,23,4)},f.prototype.readFloatBE=function(t,r){return r||M(t,4,this.length),e.read(this,t,!1,23,4)},f.prototype.readDoubleLE=function(t,r){return r||M(t,8,this.length),e.read(this,t,!0,52,8)},f.prototype.readDoubleBE=function(t,r){return r||M(t,8,this.length),e.read(this,t,!1,52,8)},f.prototype.writeUIntLE=function(t,r,e,n){(t=+t,r|=0,e|=0,n)||k(this,t,r,e,Math.pow(2,8*e)-1,0);var i=1,o=0;for(this[r]=255&t;++o=0&&(o*=256);)this[r+i]=t/o&255;return r+e},f.prototype.writeUInt8=function(t,r,e){return t=+t,r|=0,e||k(this,t,r,1,255,0),f.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[r]=255&t,r+1},f.prototype.writeUInt16LE=function(t,r,e){return t=+t,r|=0,e||k(this,t,r,2,65535,0),f.TYPED_ARRAY_SUPPORT?(this[r]=255&t,this[r+1]=t>>>8):N(this,t,r,!0),r+2},f.prototype.writeUInt16BE=function(t,r,e){return t=+t,r|=0,e||k(this,t,r,2,65535,0),f.TYPED_ARRAY_SUPPORT?(this[r]=t>>>8,this[r+1]=255&t):N(this,t,r,!1),r+2},f.prototype.writeUInt32LE=function(t,r,e){return t=+t,r|=0,e||k(this,t,r,4,4294967295,0),f.TYPED_ARRAY_SUPPORT?(this[r+3]=t>>>24,this[r+2]=t>>>16,this[r+1]=t>>>8,this[r]=255&t):z(this,t,r,!0),r+4},f.prototype.writeUInt32BE=function(t,r,e){return t=+t,r|=0,e||k(this,t,r,4,4294967295,0),f.TYPED_ARRAY_SUPPORT?(this[r]=t>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=255&t):z(this,t,r,!1),r+4},f.prototype.writeIntLE=function(t,r,e,n){if(t=+t,r|=0,!n){var i=Math.pow(2,8*e-1);k(this,t,r,e,i-1,-i)}var o=0,u=1,f=0;for(this[r]=255&t;++o>0)-f&255;return r+e},f.prototype.writeIntBE=function(t,r,e,n){if(t=+t,r|=0,!n){var i=Math.pow(2,8*e-1);k(this,t,r,e,i-1,-i)}var o=e-1,u=1,f=0;for(this[r+o]=255&t;--o>=0&&(u*=256);)t<0&&0===f&&0!==this[r+o+1]&&(f=1),this[r+o]=(t/u>>0)-f&255;return r+e},f.prototype.writeInt8=function(t,r,e){return t=+t,r|=0,e||k(this,t,r,1,127,-128),f.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[r]=255&t,r+1},f.prototype.writeInt16LE=function(t,r,e){return t=+t,r|=0,e||k(this,t,r,2,32767,-32768),f.TYPED_ARRAY_SUPPORT?(this[r]=255&t,this[r+1]=t>>>8):N(this,t,r,!0),r+2},f.prototype.writeInt16BE=function(t,r,e){return t=+t,r|=0,e||k(this,t,r,2,32767,-32768),f.TYPED_ARRAY_SUPPORT?(this[r]=t>>>8,this[r+1]=255&t):N(this,t,r,!1),r+2},f.prototype.writeInt32LE=function(t,r,e){return t=+t,r|=0,e||k(this,t,r,4,2147483647,-2147483648),f.TYPED_ARRAY_SUPPORT?(this[r]=255&t,this[r+1]=t>>>8,this[r+2]=t>>>16,this[r+3]=t>>>24):z(this,t,r,!0),r+4},f.prototype.writeInt32BE=function(t,r,e){return t=+t,r|=0,e||k(this,t,r,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),f.TYPED_ARRAY_SUPPORT?(this[r]=t>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=255&t):z(this,t,r,!1),r+4},f.prototype.writeFloatLE=function(t,r,e){return j(this,t,r,!0,e)},f.prototype.writeFloatBE=function(t,r,e){return j(this,t,r,!1,e)},f.prototype.writeDoubleLE=function(t,r,e){return q(this,t,r,!0,e)},f.prototype.writeDoubleBE=function(t,r,e){return q(this,t,r,!1,e)},f.prototype.copy=function(t,r,e,n){if(e||(e=0),n||0===n||(n=this.length),r>=t.length&&(r=t.length),r||(r=0),n>0&&n=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),t.length-r=0;--i)t[i+r]=this[i+e];else if(o<1e3||!f.TYPED_ARRAY_SUPPORT)for(i=0;i>>=0,e=void 0===e?this.length:e>>>0,t||(t=0),"number"==typeof t)for(o=r;o55295&&e<57344){if(!i){if(e>56319){(r-=3)>-1&&o.push(239,191,189);continue}if(u+1===n){(r-=3)>-1&&o.push(239,191,189);continue}i=e;continue}if(e<56320){(r-=3)>-1&&o.push(239,191,189),i=e;continue}e=65536+(i-55296<<10|e-56320)}else i&&(r-=3)>-1&&o.push(239,191,189);if(i=null,e<128){if((r-=1)<0)break;o.push(e)}else if(e<2048){if((r-=2)<0)break;o.push(e>>6|192,63&e|128)}else if(e<65536){if((r-=3)<0)break;o.push(e>>12|224,e>>6&63|128,63&e|128)}else{if(!(e<1114112))throw new Error("Invalid code point");if((r-=4)<0)break;o.push(e>>18|240,e>>12&63|128,e>>6&63|128,63&e|128)}}return o}function G(t){for(var r=[],e=0;e>8,i=e%256,o.push(i),o.push(n);return o}function K(t){return r.toByteArray(X(t))}function Q(t,r,e,n){for(var i=0;i=r.length||i>=t.length);++i)r[i+e]=t[i];return i}function W(t){return t!=t} },{"base64-js":"yh9p","ieee754":"JgNJ","isarray":"REa7","buffer":"dskh"}],"QO4x":[function(require,module,exports) { var Buffer = require("buffer").Buffer; var global = arguments[3]; var t=require("buffer").Buffer,e=arguments[3],r=require("../constants.js").FILE_SYSTEM_NAME,n=require("../constants.js").FILE_STORE_NAME,o=require("../constants.js").IDB_RW,u=require("../constants.js").IDB_RO;function c(t,e){this.db=t,this.mode=e}function i(t){this.name=t||r,this.db=null}c.prototype._getObjectStore=function(){if(this.objectStore)return this.objectStore;var t=this.db.transaction(n,this.mode);return this.objectStore=t.objectStore(n),this.objectStore},c.prototype.clear=function(t){try{var e=this._getObjectStore().clear();e.onsuccess=function(){t()},e.onerror=function(e){e.preventDefault(),t(e.error)}}catch(r){t(r)}},c.prototype._get=function(t,e){try{var r=this._getObjectStore().get(t);r.onsuccess=function(t){var r=t.target.result;e(null,r)},r.onerror=function(t){t.preventDefault(),e(t.error)}}catch(n){e(n)}},c.prototype.getObject=function(t,e){this._get(t,e)},c.prototype.getBuffer=function(e,r){this._get(e,function(e,n){if(e)return r(e);r(null,t.from(n))})},c.prototype._put=function(t,e,r){try{var n=this._getObjectStore().put(e,t);n.onsuccess=function(t){var e=t.target.result;r(null,e)},n.onerror=function(t){t.preventDefault(),r(t.error)}}catch(o){r(o)}},c.prototype.putObject=function(t,e,r){this._put(t,e,r)},c.prototype.putBuffer=function(t,e,r){var n=e.buffer;this._put(t,n,r)},c.prototype.delete=function(t,e){try{var r=this._getObjectStore().delete(t);r.onsuccess=function(t){var r=t.target.result;e(null,r)},r.onerror=function(t){t.preventDefault(),e(t.error)}}catch(n){e(n)}},i.isSupported=function(){return!!(e.indexedDB||e.mozIndexedDB||e.webkitIndexedDB||e.msIndexedDB)},i.prototype.open=function(t){var r=this;if(r.db)return t();try{var o=(e.indexedDB||e.mozIndexedDB||e.webkitIndexedDB||e.msIndexedDB).open(r.name);o.onupgradeneeded=function(t){var e=t.target.result;e.objectStoreNames.contains(n)&&e.deleteObjectStore(n),e.createObjectStore(n)},o.onsuccess=function(e){r.db=e.target.result,t()},o.onerror=function(e){e.preventDefault(),t(e.error)}}catch(u){t(u)}},i.prototype.getReadOnlyContext=function(){return new c(this.db,u)},i.prototype.getReadWriteContext=function(){return new c(this.db,o)},module.exports=i; },{"../constants.js":"iJA9","buffer":"dskh"}],"u4Zs":[function(require,module,exports) { var process = require("process"); var define; var e,t=require("process");!function(){var n={};void 0!==t&&t.nextTick?(n.nextTick=t.nextTick,"undefined"!=typeof setImmediate?n.setImmediate=function(e){setImmediate(e)}:n.setImmediate=n.nextTick):"function"==typeof setImmediate?(n.nextTick=function(e){setImmediate(e)},n.setImmediate=n.nextTick):(n.nextTick=function(e){setTimeout(e,0)},n.setImmediate=n.nextTick),n.eachSeries=function(e,t,n){if(n=n||function(){},!e.length)return n();var i=0;!function o(){t(e[i],function(t){t?(n(t),n=function(){}):(i+=1)>=e.length?n():o()})}()},n.forEachSeries=n.eachSeries,void 0!==e&&e.amd?e([],function(){return n}):"undefined"!=typeof module&&module.exports?module.exports=n:root.async=n}(); },{"process":"pBGv"}],"OWym":[function(require,module,exports) { var t=require("../constants.js").FILE_SYSTEM_NAME,e=require("../../lib/async.js").setImmediate,o=function(){var t={};return function(e){return Object.prototype.hasOwnProperty.call(t,e)||(t[e]={}),t[e]}}();function n(t,e){this.readOnly=e,this.objectStore=t}function r(e){this.name=e||t}n.prototype.clear=function(t){if(this.readOnly)e(function(){t("[MemoryContext] Error: write operation on read only context")});else{var o=this.objectStore;Object.keys(o).forEach(function(t){delete o[t]}),e(t)}},n.prototype.getObject=n.prototype.getBuffer=function(t,o){var n=this;e(function(){o(null,n.objectStore[t])})},n.prototype.putObject=n.prototype.putBuffer=function(t,o,n){this.readOnly?e(function(){n("[MemoryContext] Error: write operation on read only context")}):(this.objectStore[t]=o,e(n))},n.prototype.delete=function(t,o){this.readOnly?e(function(){o("[MemoryContext] Error: write operation on read only context")}):(delete this.objectStore[t],e(o))},r.isSupported=function(){return!0},r.prototype.open=function(t){this.db=o(this.name),e(t)},r.prototype.getReadOnlyContext=function(){return new n(this.db,!0)},r.prototype.getReadWriteContext=function(){return new n(this.db,!1)},module.exports=r; },{"../constants.js":"iJA9","../../lib/async.js":"u4Zs"}],"AiW7":[function(require,module,exports) { var e=require("./indexeddb.js"),r=require("./memory.js");module.exports={IndexedDB:e,Default:e,Memory:r}; },{"./indexeddb.js":"QO4x","./memory.js":"OWym"}],"p8GN":[function(require,module,exports) { var t={};["3:EACCES:permission denied","9:EBADF:bad file descriptor","10:EBUSY:resource busy or locked","18:EINVAL:invalid argument","27:ENOTDIR:not a directory","28:EISDIR:illegal operation on a directory","34:ENOENT:no such file or directory","47:EEXIST:file already exists","50:EPERM:operation not permitted","51:ELOOP:too many symbolic links encountered","53:ENOTEMPTY:directory not empty","55:EIO:i/o error","1000:ENOTMOUNTED:not mounted","1001:EFILESYSTEMERROR:missing super node, use 'FORMAT' flag to format filesystem.","1002:ENOATTR:attribute does not exist"].forEach(function(e){var o=+(e=e.split(":"))[0],r=e[1],i=e[2];function s(t,e){Error.call(this),this.name=r,this.code=r,this.errno=o,this.message=t||i,e&&(this.path=e),this.stack=new Error(this.message).stack}s.prototype=Object.create(Error.prototype),s.prototype.constructor=s,s.prototype.toString=function(){var t=this.path?", '"+this.path+"'":"";return this.name+": "+this.message+t},t[r]=t[o]=s}),module.exports=t; },{}],"QMiB":[function(require,module,exports) { "use strict";var t=require("../constants.js").ENVIRONMENT;module.exports=function(n){(n=n||{}).TMP=n.TMP||t.TMP,n.PATH=n.PATH||t.PATH,this.get=function(t){return n[t]},this.set=function(t,s){n[t]=s}}; },{"../constants.js":"iJA9"}],"bQx9":[function(require,module,exports) { module.exports=function(t,o){for(var a=[],e=0;e=0&&c>0){for(r=[],o=t.length;p>=0&&!l;)p==s?(r.push(p),s=t.indexOf(e,p+1)):1==r.length?l=[r.pop(),c]:((i=r.pop())=0?s:c;r.length&&(l=[o,f])}return l}module.exports=e,e.range=t; },{}],"dwXQ":[function(require,module,exports) { var t=require("concat-map"),r=require("balanced-match");module.exports=f;var n="\0SLASH"+Math.random()+"\0",e="\0OPEN"+Math.random()+"\0",i="\0CLOSE"+Math.random()+"\0",o="\0COMMA"+Math.random()+"\0",a="\0PERIOD"+Math.random()+"\0";function s(t){return parseInt(t,10)==t?parseInt(t,10):t.charCodeAt(0)}function p(t){return t.split("\\\\").join(n).split("\\{").join(e).split("\\}").join(i).split("\\,").join(o).split("\\.").join(a)}function u(t){return t.split(n).join("\\").split(e).join("{").split(i).join("}").split(o).join(",").split(a).join(".")}function l(t){if(!t)return[""];var n=[],e=r("{","}",t);if(!e)return t.split(",");var i=e.pre,o=e.body,a=e.post,s=i.split(",");s[s.length-1]+="{"+o+"}";var p=l(a);return a.length&&(s[s.length-1]+=p.shift(),s.push.apply(s,p)),n.push.apply(n,s),n}function f(t){return t?("{}"===t.substr(0,2)&&(t="\\{\\}"+t.substr(2)),m(p(t),!0).map(u)):[]}function h(t){return t}function d(t){return"{"+t+"}"}function c(t){return/^-?0\d/.test(t)}function v(t,r){return t<=r}function g(t,r){return t>=r}function m(n,e){var o=[],a=r("{","}",n);if(!a||/\$$/.test(a.pre))return[n];var p,u=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(a.body),f=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(a.body),h=u||f,b=a.body.indexOf(",")>=0;if(!h&&!b)return a.post.match(/,.*\}/)?m(n=a.pre+"{"+a.body+i+a.post):[n];if(h)p=a.body.split(/\.\./);else if(1===(p=l(a.body)).length&&1===(p=m(p[0],!1).map(d)).length)return(M=a.post.length?m(a.post,!1):[""]).map(function(t){return a.pre+p[0]+t});var j,y=a.pre,M=a.post.length?m(a.post,!1):[""];if(h){var A=s(p[0]),C=s(p[1]),O=Math.max(p[0].length,p[1].length),S=3==p.length?Math.abs(s(p[2])):1,$=v;C0){var z=new Array(q+1).join("0");I=E<0?"-"+z+I.slice(1):z+I}}j.push(I)}}else j=t(p,function(t){return m(t,!1)});for(var L=0;L65536)throw new TypeError("pattern is too long");var a=this.options;if(!a.noglobstar&&"**"===t)return e;if(""===t)return"";var o,c="",u=!!a.nocase,p=!1,f=[],g=[],l=!1,d=-1,b=-1,m="."===t.charAt(0)?"":a.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",y=this;function w(){if(o){switch(o){case"*":c+=s,u=!0;break;case"?":c+=i,u=!0;break;default:c+="\\"+o}y.debug("clearStateChar %j %j",o,c),o=!1}}for(var x,j=0,k=t.length;j-1;L--){var q=g[L],B=c.slice(0,q.reStart),M=c.slice(q.reStart,q.reEnd-8),N=c.slice(q.reEnd-8,q.reEnd),_=c.slice(q.reEnd);N+=_;var G=B.split("(").length-1,P=_;for(j=0;j=0&&!(i=e[s]);s--);for(s=0;s>> no match, partial?",t,f,n,g),f!==o))}if("string"==typeof u?(c=i.nocase?p.toLowerCase()===u.toLowerCase():p===u,this.debug("string match",u,p,c)):(c=p.match(u),this.debug("pattern match",u,p,c)),!c)return!1}if(s===o&&a===h)return!0;if(s===o)return r;if(a===h)return s===o-1&&""===t[s];throw new Error("wtf?")}; },{"path":"UUq2","brace-expansion":"dwXQ"}],"D1Ra":[function(require,module,exports) { var n=require("es6-promisify"),t=n.promisify,e=require("../path.js"),i=require("../errors.js"),r=require("./environment.js"),o=require("../../lib/async.js"),u=require("minimatch");function c(n,o){var u=this,c=new r((o=o||{}).env),f="/";Object.defineProperty(this,"fs",{get:function(){return n},enumerable:!0}),Object.defineProperty(this,"env",{get:function(){return c},enumerable:!0}),this.cd=function(t,r){t=e.resolve(f,t),n.stat(t,function(n,e){n?r(new i.ENOTDIR(null,t)):"DIRECTORY"===e.type?(f=t,r()):r(new i.ENOTDIR(null,t))})},this.pwd=function(){return f},this.promises={},["cd","exec","touch","cat","ls","rm","tempDir","mkdirp","find"].forEach(function(n){u.promises[n]=t(u[n].bind(u))})}c.prototype.exec=function(n,t,i){var r=this.fs;"function"==typeof t&&(i=t,t=[]),t=t||[],i=i||function(){},n=e.resolve(this.pwd(),n),r.readFile(n,"utf8",function(n,e){if(n)i(n);else try{new Function("fs","args","callback",e)(r,t,i)}catch(o){i(o)}})},c.prototype.touch=function(n,t,i){var r=this.fs;"function"==typeof t&&(i=t,t={}),t=t||{},i=i||function(){},n=e.resolve(this.pwd(),n),r.stat(n,function(e){e?!0===t.updateOnly?i():function(n){r.writeFile(n,"",i)}(n):function(n){var e=Date.now(),o=t.date||e,u=t.date||e;r.utimes(n,o,u,i)}(n)})},c.prototype.cat=function(n,t){var r=this,u=r.fs,c="";t=t||function(){},n?(n="string"==typeof n?[n]:n,o.eachSeries(n,function(n,t){var i=e.resolve(r.pwd(),n);u.readFile(i,"utf8",function(n,e){n?t(n):(c+=e+"\n",t())})},function(n){n?t(n):t(null,c.replace(/\n$/,""))})):t(new i.EINVAL("Missing files argument"))},c.prototype.ls=function(n,t,r){var u=this,c=u.fs;"function"==typeof t&&(r=t,t={}),t=t||{},r=r||function(){},n?function n(i,r){var f=e.resolve(u.pwd(),i),s=[];c.readdir(f,function(i,u){i?r(i):o.eachSeries(u,function(i,r){i=e.join(f,i),c.stat(i,function(i,o){if(i)r(i);else{var u=o;t.recursive&&"DIRECTORY"===o.type?n(e.join(f,u.name),function(n,t){n?r(n):(u.contents=t,s.push(u),r())}):(s.push(u),r())}})},function(n){r(n,s)})})}(n,r):r(new i.EINVAL("Missing dir argument"))},c.prototype.rm=function(n,t,r){var u=this,c=u.fs;"function"==typeof t&&(r=t,t={}),t=t||{},r=r||function(){},n?function n(r,f){r=e.resolve(u.pwd(),r),c.stat(r,function(u,s){u?f(u):"FILE"!==s.type?c.readdir(r,function(u,s){u?f(u):0!==s.length?t.recursive?(s=s.map(function(n){return e.join(r,n)}),o.eachSeries(s,n,function(n){n?f(n):c.rmdir(r,f)})):f(new i.ENOTEMPTY(null,r)):c.rmdir(r,f)}):c.unlink(r,f)})}(n,r):r(new i.EINVAL("Missing path argument"))},c.prototype.tempDir=function(n){var t=this.fs,e=this.env.get("TMP");n=n||function(){},t.mkdir(e,function(){n(null,e)})},c.prototype.mkdirp=function(n,t){var r=this.fs;t=t||function(){},n?"/"!==(n=e.resolve(this.pwd(),n))?function n(t,o){r.stat(t,function(u,c){if(c){if(c.isDirectory())return void o();if(c.isFile())return void o(new i.ENOTDIR(null,t))}else{if(u&&"ENOENT"!==u.code)return void o(u);var f=e.dirname(t);"/"===f?r.mkdir(t,function(n){n&&"EEXIST"!==n.code?o(n):o()}):n(f,function(n){if(n)return o(n);r.mkdir(t,function(n){n&&"EEXIST"!==n.code?o(n):o()})})}})}(n,t):t():t(new i.EINVAL("Missing path argument"))},c.prototype.find=function(n,t,r){var c=this,f=c.fs;"function"==typeof t&&(r=t,t={}),r=r||function(){};var s=(t=t||{}).exec||function(n,t){t()},a=[];function p(n,i){var r=e.removeTrailing(n);!t.regex||t.regex.test(r)?t.name&&!u(e.basename(r),t.name)||t.path&&!u(e.dirname(r),t.path)?i():function(n,t){s(n,function(e){e?t(e):(a.push(n),t())})}(n,i):i()}function d(n,t){n=e.resolve(c.pwd(),n),f.readdir(n,function(i,r){i?"ENOTDIR"===i.code?p(n,t):t(i):p(e.addTrailing(n),function(i){i?t(i):(r=r.map(function(t){return e.join(n,t)}),o.eachSeries(r,d,function(n){t(n,a)}))})})}n?f.stat(n,function(t,e){t?r(t):e.isDirectory()?d(n,r):r(new i.ENOTDIR(null,n))}):r(new i.EINVAL("Missing path argument"))},module.exports=c; },{"es6-promisify":"b1ZG","../path.js":"UzoP","../errors.js":"p8GN","./environment.js":"QMiB","../../lib/async.js":"u4Zs","minimatch":"NtKi"}],"J4Qg":[function(require,module,exports) { function t(t,r){for(var o=r.length-1;o>=0;o--)r[o]===t&&r.splice(o,1);return r}var r=function(){};r.createInterface=function(r){var o={on:function(t,o){void 0===this[r]&&(this[r]={}),this[r].hasOwnProperty(t)||(this[r][t]=[]),this[r][t].push(o)},off:function(o,e){void 0!==this[r]&&this[r].hasOwnProperty(o)&&t(e,this[r][o])},trigger:function(t){if(void 0!==this[r]&&this[r].hasOwnProperty(t))for(var o=Array.prototype.slice.call(arguments,1),e=0;et&&(n=o,e.apply(this,arguments))}}function i(t,n){if(void 0!==t&&t||(t={}),"object"===e(n))for(var o in n)n.hasOwnProperty(o)&&(t[o]=n[o]);return t}var a=function(t){return void 0===t||void 0===t.localStorage?{getItem:function(){},setItem:function(){},removeItem:function(){}}:t.localStorage}(t);function s(){var e=this,n=Date.now();this.origin=o(),this.lastMessage=n,this.receivedIDs={},this.previousValues={};var r=function(){e._onStorageEvent.apply(e,arguments)};"undefined"!=typeof document&&(document.attachEvent?document.attachEvent("onstorage",r):t.addEventListener("storage",r,!1))}s.prototype._transaction=function(t){var e=1e3,n=20,o=this,r=!1,i=!1,s=null;function c(){if(!r){var u=Date.now(),f=0|a.getItem(p);if(f&&u-f=0;o--)t[o].timestamp0&&a.setItem(c,JSON.stringify(t))})}),s.prototype._cleanup_once=r(100,function(){var t=this;t._transaction(function(){Date.now();var e,n,o=0;try{n=JSON.parse(a.getItem(u)||"{}")}catch(r){n={}}for(e in n)t._once_expired(e,n)&&(delete n[e],o++);o>0&&a.setItem(u,JSON.stringify(n))})}),s.prototype._once_expired=function(t,n){if(!n)return!0;if(!n.hasOwnProperty(t))return!0;if("object"!==e(n[t]))return!0;var o=n[t].ttl||m,r=Date.now();return n[t].timestampw?t(new T.ELOOP(null,n)):(d=s.data,d=i(d),a=o(d),u=r(d),E===u?e.getObject(g,f):k(e,a,m)):t(null,s)}E===u?e.getObject(g,f):k(e,a,m)}function C(e,n,t,i,o,r,u){var a=t.xattrs;r===I&&Object.prototype.hasOwnProperty.call(a,i)?u(new T.EEXIST("attribute already exists",n)):r!==j||Object.prototype.hasOwnProperty.call(a,i)?(a[i]=o,e.putObject(t.id,t,function(i){i?u(i):P(e,n,t,{ctime:Date.now()},u)})):u(new T.ENOATTR(null,n))}function X(e,n){var t,i,o;function r(o){o?n(o):S.create({guid:e.guid,id:t.rnode,type:s},function(t,o){t?n(t):((i=o).nlinks+=1,e.putObject(i.id,i,u))})}function u(t){t?n(t):(o={},e.putObject(i.data,o,n))}e.getObject(g,function(i,o){!i&&o?n():!i||i instanceof T.ENOENT?F.create({guid:e.guid},function(i,o){i?n(i):(t=o,e.putObject(t.id,t,r))}):n(i)})}function q(e,n,t){n=i(n);var u,a,c,f,l=r(n),p=o(n);function d(n,i){n?t(n):(c=i,e.getObject(c.data,m))}function m(n,i){n?t(n):(f=i,S.create({guid:e.guid,type:s},function(n,i){n?t(n):((u=i).nlinks+=1,e.putObject(u.id,u,E))}))}function E(n){n?t(n):(a={},e.putObject(u.data,a,w))}function g(n){if(n)t(n);else{var i=Date.now();P(e,p,c,{mtime:i,ctime:i},t)}}function w(n){n?t(n):(f[l]=new L(u.id,s),e.putObject(c.data,f,g))}k(e,n,function(i,o){!i&&o?t(new T.EEXIST(null,n)):!i||i instanceof T.ENOENT?k(e,p,d):t(i)})}function M(e,n,t,o){var r=f.fsConstants,u=r.F_OK,a=r.R_OK,c=r.W_OK,l=r.X_OK,s=r.S_IXUSR,p=r.S_IXGRP,d=r.S_IXOTH;k(e,n=i(n),function(e,i){if(e)return o(e);if(t===u)return o(null);var r=xe(i.mode,o);return r?t&(a|c)?o(null):t&l&&r&(s|p|d)?o(null):void o(new T.EACCES("permission denied",n)):void 0})}function z(e,n,t){n=i(n);var u,a,c,f,l=r(n),p=o(n);function d(i,o){i?t(i):E===l?t(new T.EBUSY(null,n)):Object.prototype.hasOwnProperty.call(o,l)?(u=(f=o)[l].id,e.getObject(u,m)):t(new T.ENOENT(null,n))}function m(i,o){i?t(i):o.type!==s?t(new T.ENOTDIR(null,n)):(u=o,e.getObject(u.data,g))}function g(i,o){i?t(i):(a=o,Object.keys(a).length>0?t(new T.ENOTEMPTY(null,n)):(delete f[l],e.putObject(c.data,f,w)))}function w(n){if(n)t(n);else{var i=Date.now();P(e,p,c,{mtime:i,ctime:i},O)}}function O(n){n?t(n):e.delete(u.id,b)}function b(n){n?t(n):e.delete(u.data,t)}k(e,p,function(n,i){n?t(n):(c=i,e.getObject(c.data,d))})}function Y(n,t,u,a,c){"function"==typeof a&&(c=a,a=null),t=i(t);var f,d,m,g,O,N=r(t),h=o(t),I=0;function j(e,i){e?c(e):i.type!==s?c(new T.ENOENT(null,t)):(f=i,n.getObject(f.data,A))}function A(e,i){e?c(e):(d=i,Object.prototype.hasOwnProperty.call(d,N)?u.includes(v)?c(new T.EEXIST("O_CREATE and O_EXCLUSIVE are set, and the named file exists",t)):(m=d[N]).type===s&&u.includes(b)?c(new T.EISDIR("the named file is a directory and O_WRITE is set",t)):n.getObject(m.id,D):u.includes(y)?S.create({guid:n.guid,type:l},function(e,t){e?c(e):((g=t).nlinks+=1,a&&(g.mode=a),n.putObject(g.id,g,_))}):c(new T.ENOENT("O_CREATE is not set and the named file does not exist",t)))}function D(e,a){if(e)c(e);else{var f=a;f.type===p?++I>w?c(new T.ELOOP(null,t)):function(e){e=i(e),h=o(e),N=r(e),E===N&&(u.includes(b)?c(new T.EISDIR("the named file is a directory and O_WRITE is set",t)):k(n,t,R));k(n,h,j)}(f.data):R(void 0,f)}}function R(e,n){e?c(e):c(null,g=n)}function _(t){t?c(t):(O=e.alloc(0),n.putBuffer(g.data,O,V))}function F(e){if(e)c(e);else{var t=Date.now();P(n,h,f,{mtime:t,ctime:t},B)}}function V(e){e?c(e):(d[N]=new L(g.id,l),n.putObject(f.data,d,F))}function B(e){e?c(e):c(null,g)}E===N?u.includes(b)?c(new T.EISDIR("the named file is a directory and O_WRITE is set",t)):k(n,t,R):k(n,h,j)}function K(n,t,i,o,r,u){var a;function c(e){e?u(e):u(null,r)}function f(e){if(e)u(e);else{var i=Date.now();P(n,t.path,a,{mtime:i,ctime:i},c)}}function l(e){e?u(e):n.putObject(a.id,a,f)}n.getObject(t.id,function(c,f){if(c)u(c);else{a=f;var s=e.alloc(r);i.copy(s,0,o,o+r),t.position=r,a.size=r,a.version+=1,n.putBuffer(a.data,s,l)}})}function U(n,t,i,o,r,u,a){var c,f;function l(e){e?a(e):a(null,r)}function s(e){if(e)a(e);else{var i=Date.now();P(n,t.path,c,{mtime:i,ctime:i},l)}}function p(e){e?a(e):n.putObject(c.id,c,s)}function d(l,s){if(l)a(l);else{if(!(f=s))return a(new T.EIO("Expected Buffer"));var d=null!=u?u:t.position,m=Math.max(f.length,d+r),E=e.alloc(m);f&&f.copy(E),i.copy(E,d,o,o+r),void 0===u&&(t.position+=r),c.size=m,c.version+=1,n.putBuffer(c.data,E,p)}}n.getObject(t.id,function(e,t){e?a(e):(c=t,n.getBuffer(c.data,d))})}function W(e,n,t,i,o,r,u){var a,c;function f(e,a){if(e)u(e);else{if(!(c=a))return u(new T.EIO("Expected Buffer"));var f=null!=r?r:n.position;o=f+o>t.length?o-f:o,c.copy(t,i,f,f+o),void 0===r&&(n.position+=o),u(null,o)}}e.getObject(n.id,function(t,i){t?u(t):i.type===s?u(new T.EISDIR("the named file is a directory",n.path)):(a=i,e.getBuffer(a.data,f))})}function G(e,n,t){k(e,n=i(n),t)}function H(e,n,t){n.getNode(e,t)}function $(e,n,t){n=i(n);var u,a,c=r(n),f=o(n);function l(e,n){if(e)return t(e);S.create(n,t)}function s(i,o){i?t(i):(a=o,Object.prototype.hasOwnProperty.call(a,c)?e.getObject(a[c].id,l):t(new T.ENOENT("a component of the path does not name an existing file",n)))}E===c?k(e,n,t):k(e,f,function(n,i){n?t(n):(u=i,e.getObject(u.data,s))})}function J(e,n,t,u){n=i(n);var a=r(n),c=o(n);t=i(t);var f,l,p,d,m,E,g=r(t),w=o(t),O=Date.now();function b(n){n?u(n):P(e,t,E,{ctime:O},u)}function y(n,t){n?u(n):((E=t).nlinks+=1,e.putObject(E.id,E,b))}function v(n){n?u(n):e.getObject(m,y)}function N(n,t){n?u(n):(d=t,Object.prototype.hasOwnProperty.call(d,g)?u(new T.EEXIST("newpath resolves to an existing file",g)):(d[g]=l[a],m=d[g].id,e.putObject(p.data,d,v)))}function h(n,t){n?u(n):(p=t,e.getObject(p.data,N))}function I(n,t){n?u(n):(l=t,Object.prototype.hasOwnProperty.call(l,a)?l[a].type===s?u(new T.EPERM("oldpath refers to a directory")):k(e,w,h):u(new T.ENOENT("a component of either path prefix does not exist",a)))}k(e,c,function(n,t){n?u(n):(f=t,e.getObject(f.data,I))})}function Q(e,n,t){n=i(n);var u,a,c,f=r(n),l=o(n);function p(n){n?t(n):(delete a[f],e.putObject(u.data,a,function(n){if(n)t(n);else{var i=Date.now();P(e,l,u,{mtime:i,ctime:i},t)}}))}function d(n){n?t(n):e.delete(c.data,p)}function m(i,o){i?t(i):o.type===s?t(new T.EPERM("unlink not permitted on directories",f)):function(i,o){i?t(i):((c=o).nlinks-=1,c.nlinks<1?e.delete(c.id,d):e.putObject(c.id,c,function(i){i?t(i):P(e,n,c,{ctime:Date.now()},p)}))}(null,o)}function E(n,i){n?t(n):(a=i,Object.prototype.hasOwnProperty.call(a,f)?e.getObject(a[f].id,m):t(new T.ENOENT("a component of the path does not name an existing file",f)))}k(e,l,function(n,i){n?t(n):(u=i,e.getObject(u.data,E))})}function Z(n,o,r,u){var a,f;function l(i,a){if(i)u(i);else{f=a;var l=Object.keys(f);if(r.encoding){var s=l.map(function(n){return e.from(n)});l="buffer"===r.encoding?s:s.map(function(e){return e.toString(r.encoding)})}if(r.withFileTypes){var p=[];c.eachSeries(l,function(i,u){var a=e.from(i,r.encoding).toString(),c=t.join(o,a);ee(n,c,function(e,n){e&&u(e),n.name=i,p.push(n),u()})},function(e){u(e,p)})}else u(null,l)}}o=i(o),"function"==typeof r&&(u=r,r={}),r=ne(r),k(n,o,function(e,t){e?u(e):t.type!==s?u(new T.ENOTDIR(null,o)):(a=t,n.getObject(a.data,l))})}function ee(e,n,t){$(e,n,function(i,o){if(i)t(i);else{var r=new V(n,o,e.name);t(null,r)}})}function ne(e,n){return e?"function"==typeof e?e={encoding:n}:"string"==typeof e&&(e={encoding:e}):e={encoding:n},e}function te(e,n,a,c){a=i(a);var f,l,s,d=r(a),m=o(a);function g(i,o){i?c(i):(l=o,Object.prototype.hasOwnProperty.call(l,d)?c(new T.EEXIST(null,d)):S.create({guid:e.guid,type:p},function(i,o){i?c(i):((s=o).nlinks+=1,u(n)||(s.symlink_relpath=n,n=t.resolve(m,n)),s.size=n.length,s.data=n,e.putObject(s.id,s,O))}))}function w(n){if(n)c(n);else{var t=Date.now();P(e,m,f,{mtime:t,ctime:t},c)}}function O(n){n?c(n):(l[d]=new L(s.id,p),e.putObject(f.data,l,w))}E===d?c(new T.EEXIST(null,d)):k(e,m,function(n,t){n?c(n):(f=t,e.getObject(f.data,g))})}function ie(e,n,t){n=i(n);var u,a,c=r(n),f=o(n);function l(n,i){n?t(n):(a=i,Object.prototype.hasOwnProperty.call(a,c)?e.getObject(a[c].id,s):t(new T.ENOENT("a component of the path does not name an existing file",c)))}function s(e,i){if(e)t(e);else if(i.type!==p)t(new T.EINVAL("path not a symbolic link",n));else{var o=i.symlink_relpath?i.symlink_relpath:i.data;t(null,o)}}k(e,f,function(n,i){n?t(n):(u=i,e.getObject(u.data,l))})}function oe(n,t,o,r){var u;function a(t,i){if(t)r(t);else{if(!i)return r(new T.EIO("Expected Buffer"));var a=e.alloc(o);i&&i.copy(a),n.putBuffer(u.data,a,f)}}function c(e){if(e)r(e);else{var i=Date.now();P(n,t,u,{mtime:i,ctime:i},r)}}function f(e){e?r(e):(u.size=o,u.version+=1,n.putObject(u.id,u,c))}t=i(t),o<0?r(new T.EINVAL("length cannot be negative")):k(n,t,function(e,i){e?r(e):i.type===s?r(new T.EISDIR(null,t)):(u=i,n.getBuffer(u.data,a))})}function re(n,t,i,o){var r;function u(t,u){if(t)o(t);else{var a;if(!u)return o(new T.EIO("Expected Buffer"));a=u?u.slice(0,i):e.alloc(i),n.putBuffer(r.data,a,c)}}function a(e){if(e)o(e);else{var i=Date.now();P(n,t.path,r,{mtime:i,ctime:i},o)}}function c(e){e?o(e):(r.size=i,r.version+=1,n.putObject(r.id,r,a))}i<0?o(new T.EINVAL("length cannot be negative")):t.getNode(n,function(e,t){e?o(e):t.type===s?o(new T.EISDIR):(r=t,n.getBuffer(r.data,u))})}function ue(e,n,t,o,r){n=i(n),"number"!=typeof t||"number"!=typeof o?r(new T.EINVAL("atime and mtime must be number",n)):t<0||o<0?r(new T.EINVAL("atime and mtime must be positive integers",n)):k(e,n,function(i,u){i?r(i):P(e,n,u,{atime:t,ctime:o,mtime:o},r)})}function ae(e,n,t,i,o){"number"!=typeof t||"number"!=typeof i?o(new T.EINVAL("atime and mtime must be a number")):t<0||i<0?o(new T.EINVAL("atime and mtime must be positive integers")):n.getNode(e,function(r,u){r?o(r):P(e,n.path,u,{atime:t,ctime:i,mtime:i},o)})}function ce(e,n,t,o,r,u){n=i(n),"string"!=typeof t?u(new T.EINVAL("attribute name must be a string",n)):t?null!==r&&r!==I&&r!==j?u(new T.EINVAL("invalid flag, must be null, XATTR_CREATE or XATTR_REPLACE",n)):k(e,n,function(i,a){if(i)return u(i);C(e,n,a,t,o,r,u)}):u(new T.EINVAL("attribute name cannot be an empty string",n))}function fe(e,n,t,i,o,r){"string"!=typeof t?r(new T.EINVAL("attribute name must be a string")):t?null!==o&&o!==I&&o!==j?r(new T.EINVAL("invalid flag, must be null, XATTR_CREATE or XATTR_REPLACE")):n.getNode(e,function(u,a){if(u)return r(u);C(e,n.path,a,t,i,o,r)}):r(new T.EINVAL("attribute name cannot be an empty string"))}function le(e,n,t,o){n=i(n),"string"!=typeof t?o(new T.EINVAL("attribute name must be a string",n)):t?k(e,n,function(e,i){if(e)return o(e);var r=i.xattrs;Object.prototype.hasOwnProperty.call(r,t)?o(null,r[t]):o(new T.ENOATTR(null,n))}):o(new T.EINVAL("attribute name cannot be an empty string",n))}function se(e,n,t,i){"string"!=typeof t?i(new T.EINVAL):t?n.getNode(e,function(e,n){if(e)return i(e);var o=n.xattrs;Object.prototype.hasOwnProperty.call(o,t)?i(null,o[t]):i(new T.ENOATTR)}):i(new T.EINVAL("attribute name cannot be an empty string"))}function pe(e,n,t,o){n=i(n),"string"!=typeof t?o(new T.EINVAL("attribute name must be a string",n)):t?k(e,n,function(i,r){if(i)return o(i);var u=r.xattrs;Object.prototype.hasOwnProperty.call(u,t)?(delete u[t],e.putObject(r.id,r,function(t){t?o(t):P(e,n,r,{ctime:Date.now()},o)})):o(new T.ENOATTR(null,n))}):o(new T.EINVAL("attribute name cannot be an empty string",n))}function de(e,n,t,i){"string"!=typeof t?i(new T.EINVAL("attribute name must be a string")):t?n.getNode(e,function(o,r){if(o)return i(o);var u=r.xattrs;Object.prototype.hasOwnProperty.call(u,t)?(delete u[t],e.putObject(r.id,r,function(t){t?i(t):P(e,n.path,r,{ctime:Date.now()},i)})):i(new T.ENOATTR)}):i(new T.EINVAL("attribute name cannot be an empty string"))}function me(e){return Object.prototype.hasOwnProperty.call(h,e)?h[e]:null}function Ee(e,n,t){return e?"function"==typeof e?e={encoding:n,flag:t}:"string"==typeof e&&(e={encoding:e,flag:t}):e={encoding:n,flag:t},e}function ge(e,n,t,i,o){if(arguments.length<5?(o=arguments[arguments.length-1],i=420):i=xe(i,m,o),!(t=me(t)))return o(new T.EINVAL("flags is not valid"),n);Y(e,n,t,i,function(e,i){if(e)o(e);else{var r;r=t.includes(N)?i.size:0;var u=new _(n,i.id,t,r),a=R.allocDescriptor(u);o(null,a)}})}function we(e,n,t){R.getOpenFileDescription(n)?(R.releaseDescriptor(n),t(null)):t(new T.EBADF)}function Oe(e,n,t,i){x(e,n,t,i)}function be(e,n,t,i){if(arguments.length<4)i=t,t=m;else if(!(t=xe(t,m,i)))return;q(e,n,i)}function ye(e,n,t,i){"function"==typeof t&&(i=t,t=f.fsConstants.F_OK),M(e,n,t|=f.fsConstants.F_OK,i)}function ve(e,n,t,i){if(i=arguments[arguments.length-1],!n)return i(new Error("filename prefix is required"));var o=n+"-"+a.randomChars(6);q(e,o,function(e){i(e,o)})}function Ne(e,n,t){z(e,n,t)}function he(e,n,t){G(e,n,function(i,o){if(i)t(i);else{var r=new B(n,o,e.name);t(null,r)}})}function Ie(e,n,t){var i=R.getOpenFileDescription(n);i?H(e,i,function(n,o){if(n)t(n);else{var r=new B(i.path,o,e.name);t(null,r)}}):t(new T.EBADF)}function je(e,n,t,i){J(e,n,t,i)}function Ae(e,n,t){Q(e,n,t)}function De(e,n,t,i,o,r,u){i=void 0===i?0:i,o=void 0===o?t.length-i:o,u=arguments[arguments.length-1];var a=R.getOpenFileDescription(n);a?a.flags.includes(O)?W(e,a,t,i,o,r,function(e,n){u(e,n||0,t)}):u(new T.EBADF("descriptor does not permit reading")):u(new T.EBADF)}function Te(e,n,t){Ve(n,t)===n&&(R.getOpenFileDescription(n)?t():t(new T.EBADF))}function Le(n,t,i,o){o=arguments[arguments.length-1];var r=me((i=Ee(i,null,"r")).flag||"r");if(!r)return o(new T.EINVAL("flags is not valid",t));Y(n,t,r,function(u,a){if(u)return o(u);var c=new _(t,a.id,r,0),f=R.allocDescriptor(c);function l(){R.releaseDescriptor(f)}H(n,c,function(r,u){if(r)return l(),o(r);var a=new B(c.path,u,n.name);if(a.isDirectory())return l(),o(new T.EISDIR("illegal operation on directory",t));var f=a.size,s=e.alloc(f);W(n,c,s,0,f,0,function(e){if(l(),e)return o(e);var n;n="utf8"===i.encoding?s.toString("utf8"):s,o(null,n)})})})}function Re(e,n,t,i,o,r,u){u=arguments[arguments.length-1],i=void 0===i?0:i,o=void 0===o?t.length-i:o;var a=R.getOpenFileDescription(n);a?a.flags.includes(b)?t.length-i>>0}function xe(e,n,t){return"function"==typeof n&&(t=n,n=void 0),Pe(e)?e&m:"number"==typeof e?(Number.isInteger(e),t(new T.EINVAL("mode not a valid an integer value",e)),!1):"string"==typeof e?Be.test(e)?parseInt(e,8)&m:(t(new T.EINVAL("mode not a valid octal string",e)),!1):void 0!==n?n:(t(new T.EINVAL("mode not valid",e)),!1)}function ke(e,n,t,o){n=i(n),"number"!=typeof t?o(new T.EINVAL("mode must be number",n)):k(e,n,function(i,r){i?o(i):(r.mode=t,P(e,n,r,{mtime:Date.now()},o))})}function Ce(e,n,t,i){"number"!=typeof t?i(new T.EINVAL("mode must be a number")):n.getNode(e,function(o,r){o?i(o):(r.mode=t,P(e,n.path,r,{mtime:Date.now()},i))})}function Xe(e,n,t,o,r){n=i(n),k(e,n,function(i,u){i?r(i):(u.uid=t,u.gid=o,P(e,n,u,{mtime:Date.now()},r))})}function qe(e,n,t,i,o){n.getNode(e,function(r,u){r?o(r):(u.uid=t,u.gid=i,P(e,n.path,u,{mtime:Date.now()},o))})}function Me(e,n,t,i){le(e,n,t,i)}function ze(e,n,t,i){var o=R.getOpenFileDescription(n);o?se(e,o,t,i):i(new T.EBADF)}function Ye(e,n,t,i,o,r){"function"==typeof o&&(r=o,o=null),ce(e,n,t,i,o,r)}function Ke(e,n,t,i,o,r){"function"==typeof o&&(r=o,o=null);var u=R.getOpenFileDescription(n);u?u.flags.includes(b)?fe(e,u,t,i,o,r):r(new T.EBADF("descriptor does not permit writing")):r(new T.EBADF)}function Ue(e,n,t,i){pe(e,n,t,i)}function We(e,n,t,i){var o=R.getOpenFileDescription(n);o?o.flags.includes(b)?de(e,o,t,i):i(new T.EBADF("descriptor does not permit writing")):i(new T.EBADF)}function Ge(e,n,t,i,o){var r=R.getOpenFileDescription(n);r||o(new T.EBADF),"SET"===i?t<0?o(new T.EINVAL("resulting file offset would be negative")):(r.position=t,o(null,r.position)):"CUR"===i?r.position+t<0?o(new T.EINVAL("resulting file offset would be negative")):(r.position+=t,o(null,r.position)):"END"===i?H(e,r,function(e,n){e?o(e):n.size+t<0?o(new T.EINVAL("resulting file offset would be negative")):(r.position=n.size+t,o(null,r.position))}):o(new T.EINVAL("whence argument is not a proper value"))}function He(e,n,t,i){Z(e,n,t,i)}function $e(e){return"number"==typeof e?e:"object"===n(e)&&"function"==typeof e.getTime?e.getTime():void 0}function Je(e,n,t,i,o){var r=Date.now();ue(e,n,t=$e(t||r),i=$e(i||r),o)}function Qe(e,n,t,i,o){var r=Date.now();t=$e(t||r),i=$e(i||r);var u=R.getOpenFileDescription(n);u?u.flags.includes(b)?ae(e,u,t,i,o):o(new T.EBADF("descriptor does not permit writing")):o(new T.EBADF)}function Ze(e,n,t,i){(t=xe(t,i))&&ke(e,n,t,i)}function en(e,n,t,i){if(t=xe(t,i)){var o=R.getOpenFileDescription(n);o?o.flags.includes(b)?Ce(e,o,t,i):i(new T.EBADF("descriptor does not permit writing")):i(new T.EBADF)}}function nn(e,n,t,i,o){return Pe(t)?Pe(i)?void Xe(e,n,t,i,o):o(new T.EINVAL("gid must be a valid integer",i)):o(new T.EINVAL("uid must be a valid integer",t))}function tn(e,n,t,i,o){if(!Pe(t))return o(new T.EINVAL("uid must be a valid integer",t));if(!Pe(i))return o(new T.EINVAL("gid must be a valid integer",i));var r=R.getOpenFileDescription(n);r?r.flags.includes(b)?qe(e,r,t,i,o):o(new T.EBADF("descriptor does not permit writing")):o(new T.EBADF)}function on(e,n,o,r){n=i(n),o=i(o);var u,a,c,f,l=t.dirname(n),p=t.dirname(o),d=t.basename(n),m=t.basename(o),E=Date.now();function g(n,t){n?r(n):P(e,o,t,{ctime:E},r)}function w(n){n?r(n):e.getObject(f[m].id,g)}function O(n){n?r(n):(u.id===c.id&&(a=f),delete a[d],e.putObject(u.data,a,w))}function b(n){n?r(n):(f[m]=a[d],e.putObject(c.data,f,O))}function y(n,t){n?r(n):(f=t,Object.prototype.hasOwnProperty.call(f,m)?z(e,o,b):b())}function v(n,t){n?r(n):(c=t,e.getObject(c.data,y))}function N(n,t){n?r(n):(a=t,k(e,p,v))}function h(n,t){n?r(n):(u=t,e.getObject(t.data,N))}function I(t){t?r(t):Q(e,n,r)}k(e,n,function(t,i){t?r(t):i.type===s?k(e,l,h):J(e,n,o,I)})}function rn(e,n,t,i,o){te(e,n,t,o=arguments[arguments.length-1])}function un(e,n,t){ie(e,n,t)}function an(e,n,t){$(e,n,function(i,o){if(i)t(i);else{var r=new B(n,o,e.name);t(null,r)}})}function cn(e,n,t,i){Ve(t=t||0,i=arguments[arguments.length-1])===t&&oe(e,n,t,i)}function fn(e,n,t,i){i=arguments[arguments.length-1],t=t||0;var o=R.getOpenFileDescription(n);if(o)if(o.flags.includes(b)){if(Ve(t,i)!==t)return;re(e,o,t,i)}else i(new T.EBADF("descriptor does not permit writing"));else i(new T.EBADF)}module.exports={appendFile:Fe,access:ye,chown:nn,chmod:Ze,close:we,ensureRootDirectory:X,exists:Se,fchown:tn,fchmod:en,fgetxattr:ze,fremovexattr:We,fsetxattr:Ke,fstat:Ie,fsync:Te,ftruncate:fn,futimes:Qe,getxattr:Me,link:je,lseek:Ge,lstat:an,mkdir:be,mkdtemp:ve,mknod:Oe,open:ge,readdir:He,read:De,readFile:Le,readlink:un,removexattr:Ue,rename:on,rmdir:Ne,setxattr:Ye,stat:he,symlink:rn,truncate:cn,unlink:Ae,utimes:Je,writeFile:_e,write:Re}; },{"../path.js":"UzoP","../shared.js":"zBMa","../../lib/async.js":"u4Zs","../constants.js":"iJA9","../errors.js":"p8GN","../directory-entry.js":"ZECt","../open-files.js":"osLK","../open-file-description.js":"XWaV","../super-node.js":"JEp0","../node.js":"KKNo","../dirent.js":"q4Wu","../stats.js":"dsCT","buffer":"dskh"}],"GMi4":[function(require,module,exports) { var Buffer = require("buffer").Buffer; var e=require("buffer").Buffer,r=require("es6-promisify"),t=r.promisify,n=require("../path.js"),a=require("../providers/index.js"),s=require("../shell/shell.js"),o=require("../../lib/intercom.js"),i=require("../fs-watcher.js"),u=require("../errors.js"),m=require("../shared.js"),c=m.nop,f=m.guid,l=require("../constants.js"),h=l.fsConstants,p=l.FILE_SYSTEM_NAME,d=l.FS_FORMAT,g=l.FS_READY,b=l.FS_PENDING,A=l.FS_ERROR,P=l.FS_NODUPEIDCHECK,v=l.STDIN,y=l.STDOUT,E=l.STDERR,R=require("./implementation.js");function w(e){return"function"==typeof e?e:function(e){if(e)throw e}}function S(e){e&&console.error("Filer error: ",e)}function O(e){if(!(e&&e.protocol&&e.pathname))return e;if("file:"!==e.protocol)throw new u.EINVAL("only file: URLs are supported for paths",e);for(var r=e.pathname,t=0;tt.length)&&(e=t.length);for(var r=0,n=new Array(e);r1&&void 0!==arguments[1]&&arguments[1];this._left.push([t,e])}},{key:"right",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this._right.push([t,e])}},{key:"format",value:function(){var r=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],n=t(e.getRangeValue(this._left,r),2),o=n[0],a=n[1],i=t(e.getRangeValue(this._right,!r),2),u=i[0],f=i[1];if(!Number.isFinite(o)&&!Number.isFinite(u))return"";var c=a?o+1:o;return c===(f?u-1:u)?"should be ".concat(r?"":"!","= ").concat(c):Number.isFinite(o)&&!Number.isFinite(u)?e.formatLeft(o,r,a):!Number.isFinite(o)&&Number.isFinite(u)?e.formatRight(u,r,f):e.formatRange(o,u,a,f,r)}}],[{key:"getOperator",value:function(t,e){return"left"===t?e?">":">=":e?"<":"<="}},{key:"formatRight",value:function(t,r,n){return!1===r?e.formatLeft(t,!r,!n):"should be ".concat(e.getOperator("right",n)," ").concat(t)}},{key:"formatLeft",value:function(t,r,n){return!1===r?e.formatRight(t,!r,!n):"should be ".concat(e.getOperator("left",n)," ").concat(t)}},{key:"formatRange",value:function(t,r,n,o,a){var i="should be";return i+=" ".concat(e.getOperator(a?"left":"right",a?n:!n)," ").concat(t," "),i+=a?"and":"or",i+=" ".concat(e.getOperator(a?"right":"left",a?o:!o)," ").concat(r)}},{key:"getRangeValue",value:function(e,r){for(var n=r?1/0:-1/0,o=-1,a=r?function(e){return t(e,1)[0]<=n}:function(e){return t(e,1)[0]>=n},i=0;i-1?e[o]:[1/0,!0]}}]),e}();module.exports=c; },{}],"SqDh":[function(require,module,exports) { "use strict";function t(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function e(e){for(var r=1;r1?"s":""))}if("number"==typeof i.maxLength)if(0===i.maxLength)m="empty string";else{var f=i.maxLength+1;r.push("should be shorter than ".concat(f," character").concat(f>1?"s":""))}return i.pattern&&r.push("should".concat(n?"":" not"," match pattern ").concat(JSON.stringify(i.pattern))),i.format&&r.push("should".concat(n?"":" not"," match format ").concat(JSON.stringify(i.format))),i.formatMinimum&&r.push("should be ".concat(i.formatExclusiveMinimum?">":">="," ").concat(JSON.stringify(i.formatMinimum))),i.formatMaximum&&r.push("should be ".concat(i.formatExclusiveMaximum?"<":"<="," ").concat(JSON.stringify(i.formatMaximum))),[m].concat(r)},module.exports.numberHints=function(t,e){var n=["integer"===t.type?"integer":"number"],m=new r;"number"==typeof t.minimum&&m.left(t.minimum),"number"==typeof t.exclusiveMinimum&&m.left(t.exclusiveMinimum,!0),"number"==typeof t.maximum&&m.right(t.maximum),"number"==typeof t.exclusiveMaximum&&m.right(t.exclusiveMaximum,!0);var i=m.format(e);return i&&n.push(i),"number"==typeof t.multipleOf&&n.push("should".concat(e?"":" not"," be multiple of ").concat(t.multipleOf)),n}; },{"./Range":"GNtl"}],"ySUA":[function(require,module,exports) { "use strict";function t(t){return n(t)||r(t)||i(t)||e()}function e(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function n(t){if(Array.isArray(t))return s(t)}function a(t){return m(t)||r(t)||i(t)||c()}function r(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}function o(t,e){return m(t)||u(t,e)||i(t,e)||c()}function c(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function i(t,e){if(t){if("string"==typeof t)return s(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?s(t,e):void 0}}function s(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,a=new Array(e);n-1&&!e.every(a);)if("anyOf"===t[n].keyword||"oneOf"===t[n].keyword){var r=M(t[n]),o=N(t.slice(0,n),r.concat(t[n].schemaPath));n=o-1}else n-=1;return n+1}function M(t){var e=t.schema;return Array.isArray(e)?e.map(function(t){return t.$ref}).filter(function(t){return t}):[]}function E(t){for(var e=[],n=t.length-1;n>0;){var a=t[n];if("anyOf"===a.keyword||"oneOf"===a.keyword){var r=M(a),o=N(t.slice(0,n),r.concat(a.schemaPath));o!==n?(e.push(Object.assign({},a,{children:t.slice(o,n)})),n=o):e.push(a)}else e.push(a);n-=1}return 0===n&&e.push(t[n]),e.reverse()}function q(t,e){return t.replace(/\n(?!$)/g,"\n".concat(e))}function R(t){return!!t.not}function J(t){return R(t)?J(t.not):t}function $(t){var e=J(t);return V(e)||F(e)||L(e)||z(e)||B(e)}function _(t){return"object"===j(t)&&null!==t}function V(t){return"number"===t.type||void 0!==t.minimum||void 0!==t.exclusiveMinimum||void 0!==t.maximum||void 0!==t.exclusiveMaximum||void 0!==t.multipleOf}function F(t){return"integer"===t.type||void 0!==t.minimum||void 0!==t.exclusiveMinimum||void 0!==t.maximum||void 0!==t.exclusiveMaximum||void 0!==t.multipleOf}function L(t){return"string"===t.type||void 0!==t.minLength||void 0!==t.maxLength||void 0!==t.pattern||void 0!==t.format||void 0!==t.formatMinimum||void 0!==t.formatMaximum}function B(t){return"boolean"===t.type}function C(t){return"array"===t.type||"number"==typeof t.minItems||"number"==typeof t.maxItems||void 0!==t.uniqueItems||void 0!==t.items||void 0!==t.additionalItems||void 0!==t.contains}function H(t){return"object"===t.type||void 0!==t.minProperties||void 0!==t.maxProperties||void 0!==t.required||void 0!==t.properties||void 0!==t.patternProperties||void 0!==t.additionalProperties||void 0!==t.dependencies||void 0!==t.propertyNames||void 0!==t.patternRequired}function z(t){return"null"===t.type}function K(t){return/^[aeiou]/i.test(t)?"an":"a"}function U(t){if(!t)return"";if(!t.type){if(V(t)||F(t))return" | should be any non-number";if(L(t))return" | should be any non-string";if(C(t))return" | should be any non-array";if(H(t))return" | should be any non-object"}return""}function G(t){return t.length>0?"(".concat(t.join(", "),")"):""}function Q(t,e){return V(t)||F(t)?I(t,e):L(t)?D(t,e):[]}var W=function(e){f(r,g(Error));var n=d(r);function r(t,e){var a,c,i,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(h(this,r),(a=n.call(this)).name="ValidationError",a.errors=t,a.schema=e,e.title&&(!s.name||!s.baseDataPath)){var u=e.title.match(/^(.+) (.+)$/);if(u){if(!s.name)c=o(u,2)[1];if(!s.baseDataPath)i=o(u,3)[2]}}a.headerName=s.name||c||"Object",a.baseDataPath=s.baseDataPath||i||"configuration",a.postFormatter=s.postFormatter||null;var m="Invalid ".concat(a.baseDataPath," object. ").concat(a.headerName," has been initialized using ").concat(K(a.baseDataPath)," ").concat(a.baseDataPath," object that does not match the API schema.\n");return a.message="".concat(m).concat(a.formatValidationErrors(t)),Error.captureStackTrace(v(a),a.constructor),a}return l(r,[{key:"getSchemaPart",value:function(t){for(var e=t.split("/"),n=this.schema,a=1;a1&&void 0!==arguments[1])||arguments[1],o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],c=r,i=function(t,a){return a?o.includes(t)?"(recursive)":n.formatSchema(t,c,o.concat(e)):n.formatSchema(t,c,o)};if(R(e)&&!H(e)){if($(e.not))return c=!r,i(e.not);var s=!e.not.not;return c=!r,s?(r?"":"non ")+i(e.not):i(e.not)}if(e.instanceof){var u=e.instanceof;return(Array.isArray(u)?u:[u]).map(function(t){return"Function"===t?"function":t}).join(" | ")}if(e.enum)return e.enum.map(function(t){return JSON.stringify(t)}).join(" | ");if(void 0!==e.const)return JSON.stringify(e.const);if(e.oneOf)return e.oneOf.map(function(t){return i(t,!0)}).join(" | ");if(e.anyOf)return e.anyOf.map(function(t){return i(t,!0)}).join(" | ");if(e.allOf)return e.allOf.map(function(t){return i(t,!0)}).join(" & ");if(e.if){var m=e.if,h=e.then,p=e.else;return"".concat(m?"if ".concat(i(m)):"").concat(h?" then ".concat(i(h)):"").concat(p?" else ".concat(i(p)):"")}if(e.$ref)return i(this.getSchemaPart(e.$ref),!0);if(V(e)||F(e)){var l=a(Q(e,r)),f=l[0],d=l.slice(1),y="".concat(f).concat(d.length>0?" ".concat(G(d)):"");return r?y:d.length>0?"non-".concat(f," | ").concat(y):"non-".concat(f)}if(L(e)){var v=a(Q(e,r)),g=v[0],b=v.slice(1),S="".concat(g).concat(b.length>0?" ".concat(G(b)):"");return r?S:"string"===S?"non-string":"non-string | ".concat(S)}if(B(e))return"".concat(r?"":"non-","boolean");if(C(e)){c=!0;var P=[];"number"==typeof e.minItems&&P.push("should not have fewer than ".concat(e.minItems," item").concat(e.minItems>1?"s":"")),"number"==typeof e.maxItems&&P.push("should not have more than ".concat(e.maxItems," item").concat(e.maxItems>1?"s":"")),e.uniqueItems&&P.push("should not have duplicate items");var x=void 0===e.additionalItems||Boolean(e.additionalItems),O="";return e.items?Array.isArray(e.items)&&e.items.length>0?(O="".concat(e.items.map(function(t){return i(t)}).join(", ")),x&&e.additionalItems&&_(e.additionalItems)&&Object.keys(e.additionalItems).length>0&&P.push("additional items should be ".concat(i(e.additionalItems)))):O=e.items&&Object.keys(e.items).length>0?"".concat(i(e.items)):"any":O="any",e.contains&&Object.keys(e.contains).length>0&&P.push("should contains at least one ".concat(this.formatSchema(e.contains)," item")),"[".concat(O).concat(x?", ...":"","]").concat(P.length>0?" (".concat(P.join(", "),")"):"")}if(H(e)){c=!0;var j=[];if("number"==typeof e.minProperties&&j.push("should not have fewer than ".concat(e.minProperties," ").concat(e.minProperties>1?"properties":"property")),"number"==typeof e.maxProperties&&j.push("should not have more than ".concat(e.maxProperties," ").concat(e.minProperties&&e.minProperties>1?"properties":"property")),e.patternProperties&&Object.keys(e.patternProperties).length>0){var w=Object.keys(e.patternProperties);j.push("additional property names should match pattern".concat(w.length>1?"s":""," ").concat(w.map(function(t){return JSON.stringify(t)}).join(" | ")))}var D=e.properties?Object.keys(e.properties):[],I=e.required?e.required:[],T=t(new Set([].concat(I).concat(D))).map(function(t){var e=I.includes(t);return"".concat(t).concat(e?"":"?")}).concat(void 0===e.additionalProperties||Boolean(e.additionalProperties)?e.additionalProperties&&_(e.additionalProperties)?[": ".concat(i(e.additionalProperties))]:["…"]:[]).join(", "),k=e.dependencies,A=e.propertyNames,N=e.patternRequired;return k&&Object.keys(k).forEach(function(t){var e=k[t];Array.isArray(e)?j.push("should have ".concat(e.length>1?"properties":"property"," ").concat(e.map(function(t){return"'".concat(t,"'")}).join(", ")," when property '").concat(t,"' is present")):j.push("should be valid according to the schema ".concat(i(e)," when property '").concat(t,"' is present"))}),A&&Object.keys(A).length>0&&j.push("each property name should match format ".concat(JSON.stringify(e.propertyNames.format))),N&&N.length>0&&j.push("should have property matching pattern ".concat(N.map(function(t){return JSON.stringify(t)}))),"object {".concat(T?" ".concat(T," "):"","}").concat(j.length>0?" (".concat(j.join(", "),")"):"")}return z(e)?"".concat(r?"":"non-","null"):Array.isArray(e.type)?"".concat(e.type.join(" | ")):JSON.stringify(e,null,2)}},{key:"getSchemaPartText",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];if(!t)return"";if(Array.isArray(e))for(var r=0;r1?"s":"").concat(U(N),".").concat(this.getSchemaPartDescription(N));case"minItems":var J=t.params,_=t.parentSchema,V=J.limit;return 1===V?"".concat(o," should be a non-empty array").concat(U(_),".").concat(this.getSchemaPartDescription(_)):"".concat(o," should not have fewer than ").concat(V," items").concat(U(_),".").concat(this.getSchemaPartDescription(_));case"minProperties":var F=t.params,L=t.parentSchema,B=F.limit;return 1===B?"".concat(o," should be a non-empty object").concat(U(L),".").concat(this.getSchemaPartDescription(L)):"".concat(o," should not have fewer than ").concat(B," properties").concat(U(L),".").concat(this.getSchemaPartDescription(L));case"maxLength":var C=t.params,z=t.parentSchema,K=C.limit+1;return"".concat(o," should be shorter than ").concat(K," character").concat(K>1?"s":"").concat(U(z),".").concat(this.getSchemaPartDescription(z));case"maxItems":var G=t.params,W=t.parentSchema,X=G.limit;return"".concat(o," should not have more than ").concat(X," items").concat(U(W),".").concat(this.getSchemaPartDescription(W));case"maxProperties":var Y=t.params,Z=t.parentSchema,tt=Y.limit;return"".concat(o," should not have more than ").concat(tt," properties").concat(U(Z),".").concat(this.getSchemaPartDescription(Z));case"uniqueItems":var et=t.params,nt=t.parentSchema,at=et.i;return"".concat(o," should not contain the item '").concat(t.data[at],"' twice").concat(U(nt),".").concat(this.getSchemaPartDescription(nt));case"additionalItems":var rt=t.params,ot=t.parentSchema,ct=rt.limit;return"".concat(o," should not have more than ").concat(ct," items").concat(U(ot),". These items are valid:\n").concat(this.getSchemaPartText(ot));case"contains":var it=t.parentSchema;return"".concat(o," should contains at least one ").concat(this.getSchemaPartText(it,["contains"])," item").concat(U(it),".");case"required":var st=t.parentSchema,ut=t.params.missingProperty.replace(/^\./,""),mt=st&&Boolean(st.properties&&st.properties[ut]);return"".concat(o," misses the property '").concat(ut,"'").concat(U(st),".").concat(mt?" Should be:\n".concat(this.getSchemaPartText(st,["properties",ut])):this.getSchemaPartDescription(st));case"additionalProperties":var ht=t.params,pt=t.parentSchema,lt=ht.additionalProperty;return"".concat(o," has an unknown property '").concat(lt,"'").concat(U(pt),". These properties are valid:\n").concat(this.getSchemaPartText(pt));case"dependencies":var ft=t.params,dt=t.parentSchema,yt=ft.property,vt=ft.deps.split(",").map(function(t){return"'".concat(t.trim(),"'")}).join(", ");return"".concat(o," should have properties ").concat(vt," when property '").concat(yt,"' is present").concat(U(dt),".").concat(this.getSchemaPartDescription(dt));case"propertyNames":var gt=t.params,bt=t.parentSchema,St=t.schema,Pt=gt.propertyName;return"".concat(o," property name '").concat(Pt,"' is invalid").concat(U(bt),". Property names should be match format ").concat(JSON.stringify(St.format),".").concat(this.getSchemaPartDescription(bt));case"enum":var xt=t.parentSchema;return xt&&xt.enum&&1===xt.enum.length?"".concat(o," should be ").concat(this.getSchemaPartText(xt,!1,!0)):"".concat(o," should be one of these:\n").concat(this.getSchemaPartText(xt));case"const":var Ot=t.parentSchema;return"".concat(o," should be equal to constant ").concat(this.getSchemaPartText(Ot,!1,!0));case"not":var jt=H(t.parentSchema)?"\n".concat(this.getSchemaPartText(t.parentSchema)):"",wt=this.getSchemaPartText(t.schema,!1,!1,!1);if($(t.schema))return"".concat(o," should be any ").concat(wt).concat(jt,".");var Dt=t.schema,It=t.parentSchema;return"".concat(o," should not be ").concat(this.getSchemaPartText(Dt,!1,!0)).concat(It&&H(It)?"\n".concat(this.getSchemaPartText(It)):"");case"oneOf":case"anyOf":var Tt=t.parentSchema,kt=t.children;if(kt&&kt.length>0){if(1===t.schema.length){var At=kt[kt.length-1],Nt=kt.slice(0,kt.length-1);return this.formatValidationError(Object.assign({},At,{children:Nt,parentSchema:Object.assign({},Tt,At.parentSchema)}))}var Mt=A(kt);return 1===Mt.length?this.formatValidationError(Mt[0]):(Mt=E(Mt),"".concat(o," should be one of these:\n").concat(this.getSchemaPartText(Tt),"\nDetails:\n").concat(Mt.map(function(t){return" * ".concat(q(e.formatValidationError(t)," "))}).join("\n")))}return"".concat(o," should be one of these:\n").concat(this.getSchemaPartText(Tt));case"if":var Et=t.params,qt=t.parentSchema,Rt=Et.failingKeyword;return"".concat(o,' should match "').concat(Rt,'" schema:\n').concat(this.getSchemaPartText(qt,[Rt]));case"absolutePath":var Jt=t.message,$t=t.parentSchema;return"".concat(o,": ").concat(Jt).concat(this.getSchemaPartDescription($t));default:var _t=t.message,Vt=t.parentSchema,Ft=JSON.stringify(t,null,2);return"".concat(o," ").concat(_t," (").concat(Ft,").\n").concat(this.getSchemaPartText(Vt,!1))}}},{key:"formatValidationErrors",value:function(t){var e=this;return t.map(function(t){var n=e.formatValidationError(t);return e.postFormatter&&(n=e.postFormatter(n,t))," - ".concat(q(n," "))}).join("\n")}}]),r}(),X=W;exports.default=X; },{"./util/hints":"SqDh"}],"wWOq":[function(require,module,exports) { var define; var global = arguments[3]; var e,r=arguments[3];!function(r,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof e&&e.amd?e(["exports"],t):t(r.URI=r.URI||{})}(this,function(e){"use strict";function r(){for(var e=arguments.length,r=Array(e),t=0;t1){r[0]=r[0].slice(0,-1);for(var n=r.length-1,o=1;o= 0x80 (not a basic code point)","invalid-input":"Invalid input"},v=Math.floor,d=String.fromCharCode;function g(e){throw new RangeError(l[e])}function m(e,r){var t=e.split("@"),n="";t.length>1&&(n=t[0]+"@",e=t[1]);var o=function(e,r){for(var t=[],n=e.length;n--;)t[n]=r(e[n]);return t}((e=e.replace(f,".")).split("."),r).join(".");return n+o}function E(e){for(var r=[],t=0,n=e.length;t=55296&&o<=56319&&t>1,e+=v(e/r);e>455;n+=36)e=v(e/35);return v(n+36*e/(e+38))},S=function(e){var r,t=[],n=e.length,o=0,a=128,i=72,s=e.lastIndexOf("-");s<0&&(s=0);for(var u=0;u=128&&g("not-basic"),t.push(e.charCodeAt(u));for(var p=s>0?s+1:0;p=n&&g("invalid-input");var d=(r=e.charCodeAt(p++))-48<10?r-22:r-65<26?r-65:r-97<26?r-97:36;(d>=36||d>v((c-o)/f))&&g("overflow"),o+=d*f;var m=l<=i?1:l>=i+26?26:l-i;if(dv(c/E)&&g("overflow"),f*=E}var C=t.length+1;i=y(o-h,C,0==h),v(o/C)>c-a&&g("overflow"),a+=v(o/C),o%=C,t.splice(o++,0,a)}return String.fromCodePoint.apply(String,t)},A=function(e){var r=[],t=(e=E(e)).length,n=128,o=0,a=72,i=!0,s=!1,u=void 0;try{for(var p,h=e[Symbol.iterator]();!(i=(p=h.next()).done);i=!0){var f=p.value;f<128&&r.push(d(f))}}catch(L){s=!0,u=L}finally{try{!i&&h.return&&h.return()}finally{if(s)throw u}}var l=r.length,m=l;for(l&&r.push("-");m=n&&Ov((c-o)/I)&&g("overflow"),o+=(S-n)*I,n=S;var F=!0,N=!1,R=void 0;try{for(var T,_=e[Symbol.iterator]();!(F=(T=_.next()).done);F=!0){var P=T.value;if(Pc&&g("overflow"),P==n){for(var U=o,j=36;;j+=36){var q=j<=a?1:j>=a+26?26:j-a;if(U>6|192).toString(16).toUpperCase()+"%"+(63&r|128).toString(16).toUpperCase():"%"+(r>>12|224).toString(16).toUpperCase()+"%"+(r>>6&63|128).toString(16).toUpperCase()+"%"+(63&r|128).toString(16).toUpperCase()}function x(e){for(var r="",t=0,n=e.length;t=194&&o<224){if(n-t>=6){var a=parseInt(e.substr(t+4,2),16);r+=String.fromCharCode((31&o)<<6|63&a)}else r+=e.substr(t,6);t+=6}else if(o>=224){if(n-t>=9){var i=parseInt(e.substr(t+4,2),16),s=parseInt(e.substr(t+7,2),16);r+=String.fromCharCode((15&o)<<12|(63&i)<<6|63&s)}else r+=e.substr(t,9);t+=9}else r+=e.substr(t,3),t+=3}return r}function O(e,r){function t(e){var t=x(e);return t.match(r.UNRESERVED)?t:e}return e.scheme&&(e.scheme=String(e.scheme).replace(r.PCT_ENCODED,t).toLowerCase().replace(r.NOT_SCHEME,"")),void 0!==e.userinfo&&(e.userinfo=String(e.userinfo).replace(r.PCT_ENCODED,t).replace(r.NOT_USERINFO,b).replace(r.PCT_ENCODED,o)),void 0!==e.host&&(e.host=String(e.host).replace(r.PCT_ENCODED,t).toLowerCase().replace(r.NOT_HOST,b).replace(r.PCT_ENCODED,o)),void 0!==e.path&&(e.path=String(e.path).replace(r.PCT_ENCODED,t).replace(e.scheme?r.NOT_PATH:r.NOT_PATH_NOSCHEME,b).replace(r.PCT_ENCODED,o)),void 0!==e.query&&(e.query=String(e.query).replace(r.PCT_ENCODED,t).replace(r.NOT_QUERY,b).replace(r.PCT_ENCODED,o)),void 0!==e.fragment&&(e.fragment=String(e.fragment).replace(r.PCT_ENCODED,t).replace(r.NOT_FRAGMENT,b).replace(r.PCT_ENCODED,o)),e}function I(e){return e.replace(/^0*(.*)/,"$1")||"0"}function F(e,r){var t=e.match(r.IPV4ADDRESS)||[],n=u(t,2)[1];return n?n.split(".").map(I).join("."):e}function N(e,r){var t=e.match(r.IPV6ADDRESS)||[],n=u(t,3),o=n[1],a=n[2];if(o){for(var i=o.toLowerCase().split("::").reverse(),s=u(i,2),c=s[0],p=s[1],h=p?p.split(":").map(I):[],f=c.split(":").map(I),l=r.IPV4ADDRESS.test(f[f.length-1]),v=l?7:8,d=f.length-v,g=Array(v),m=0;m1){var y=g.slice(0,E.index),S=g.slice(E.index+E.length);C=y.join(":")+"::"+S.join(":")}else C=g.join(":");return a&&(C+="%"+a),C}return e}var R=/^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i,T=void 0==="".match(/(){0}/)[1];function _(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t={},n=!1!==r.iri?s:i;"suffix"===r.reference&&(e=(r.scheme?r.scheme+":":"")+"//"+e);var o=e.match(R);if(o){T?(t.scheme=o[1],t.userinfo=o[3],t.host=o[4],t.port=parseInt(o[5],10),t.path=o[6]||"",t.query=o[7],t.fragment=o[8],isNaN(t.port)&&(t.port=o[5])):(t.scheme=o[1]||void 0,t.userinfo=-1!==e.indexOf("@")?o[3]:void 0,t.host=-1!==e.indexOf("//")?o[4]:void 0,t.port=parseInt(o[5],10),t.path=o[6]||"",t.query=-1!==e.indexOf("?")?o[7]:void 0,t.fragment=-1!==e.indexOf("#")?o[8]:void 0,isNaN(t.port)&&(t.port=e.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/)?o[4]:void 0)),t.host&&(t.host=N(F(t.host,n),n)),void 0!==t.scheme||void 0!==t.userinfo||void 0!==t.host||void 0!==t.port||t.path||void 0!==t.query?void 0===t.scheme?t.reference="relative":void 0===t.fragment?t.reference="absolute":t.reference="uri":t.reference="same-document",r.reference&&"suffix"!==r.reference&&r.reference!==t.reference&&(t.error=t.error||"URI is not a "+r.reference+" reference.");var a=w[(r.scheme||t.scheme||"").toLowerCase()];if(r.unicodeSupport||a&&a.unicodeSupport)O(t,n);else{if(t.host&&(r.domainHost||a&&a.domainHost))try{t.host=D.toASCII(t.host.replace(n.PCT_ENCODED,x).toLowerCase())}catch(u){t.error=t.error||"Host's domain name can not be converted to ASCII via punycode: "+u}O(t,i)}a&&a.parse&&a.parse(t,r)}else t.error=t.error||"URI can not be parsed.";return t}var P=/^\.\.?\//,U=/^\/\.(\/|$)/,j=/^\/\.\.(\/|$)/,q=/^\/?(?:.|\n)*?(?=\/|$)/;function H(e){for(var r=[];e.length;)if(e.match(P))e=e.replace(P,"");else if(e.match(U))e=e.replace(U,"/");else if(e.match(j))e=e.replace(j,"/"),r.pop();else if("."===e||".."===e)e="";else{var t=e.match(q);if(!t)throw new Error("Unexpected dot segment condition");var n=t[0];e=e.slice(n.length),r.push(n)}return r.join("")}function z(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=r.iri?s:i,n=[],o=w[(r.scheme||e.scheme||"").toLowerCase()];if(o&&o.serialize&&o.serialize(e,r),e.host)if(t.IPV6ADDRESS.test(e.host));else if(r.domainHost||o&&o.domainHost)try{e.host=r.iri?D.toUnicode(e.host):D.toASCII(e.host.replace(t.PCT_ENCODED,x).toLowerCase())}catch(c){e.error=e.error||"Host's domain name can not be converted to "+(r.iri?"Unicode":"ASCII")+" via punycode: "+c}O(e,t),"suffix"!==r.reference&&e.scheme&&(n.push(e.scheme),n.push(":"));var a=function(e,r){var t=!1!==r.iri?s:i,n=[];return void 0!==e.userinfo&&(n.push(e.userinfo),n.push("@")),void 0!==e.host&&n.push(N(F(String(e.host),t),t).replace(t.IPV6ADDRESS,function(e,r,t){return"["+r+(t?"%25"+t:"")+"]"})),"number"==typeof e.port&&(n.push(":"),n.push(e.port.toString(10))),n.length?n.join(""):void 0}(e,r);if(void 0!==a&&("suffix"!==r.reference&&n.push("//"),n.push(a),e.path&&"/"!==e.path.charAt(0)&&n.push("/")),void 0!==e.path){var u=e.path;r.absolutePath||o&&o.absolutePath||(u=H(u)),void 0===a&&(u=u.replace(/^\/\//,"/%2F")),n.push(u)}return void 0!==e.query&&(n.push("?"),n.push(e.query)),void 0!==e.fragment&&(n.push("#"),n.push(e.fragment)),n.join("")}function L(e,r){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n={};return arguments[3]||(e=_(z(e,t),t),r=_(z(r,t),t)),!(t=t||{}).tolerant&&r.scheme?(n.scheme=r.scheme,n.userinfo=r.userinfo,n.host=r.host,n.port=r.port,n.path=H(r.path||""),n.query=r.query):(void 0!==r.userinfo||void 0!==r.host||void 0!==r.port?(n.userinfo=r.userinfo,n.host=r.host,n.port=r.port,n.path=H(r.path||""),n.query=r.query):(r.path?("/"===r.path.charAt(0)?n.path=H(r.path):(void 0===e.userinfo&&void 0===e.host&&void 0===e.port||e.path?e.path?n.path=e.path.slice(0,e.path.lastIndexOf("/")+1)+r.path:n.path=r.path:n.path="/"+r.path,n.path=H(n.path)),n.query=r.query):(n.path=e.path,void 0!==r.query?n.query=r.query:n.query=e.query),n.userinfo=e.userinfo,n.host=e.host,n.port=e.port),n.scheme=e.scheme),n.fragment=r.fragment,n}function $(e,r){return e&&e.toString().replace(r&&r.iri?s.PCT_ENCODED:i.PCT_ENCODED,x)}var V={scheme:"http",domainHost:!0,parse:function(e,r){return e.host||(e.error=e.error||"HTTP URIs must have a host."),e},serialize:function(e,r){return e.port!==("https"!==String(e.scheme).toLowerCase()?80:443)&&""!==e.port||(e.port=void 0),e.path||(e.path="/"),e}},M={scheme:"https",domainHost:V.domainHost,parse:V.parse,serialize:V.serialize},Z={},k="[A-Za-z0-9\\-\\.\\_\\~\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]",G="[0-9A-Fa-f]",Q=t(t("%[EFef][0-9A-Fa-f]%"+G+G+"%"+G+G)+"|"+t("%[89A-Fa-f][0-9A-Fa-f]%"+G+G)+"|"+t("%"+G+G)),Y=r("[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]",'[\\"\\\\]'),B=new RegExp(k,"g"),J=new RegExp(Q,"g"),K=new RegExp(r("[^]","[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]","[\\.]",'[\\"]',Y),"g"),W=new RegExp(r("[^]",k,"[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]"),"g"),X=W;function ee(e){var r=x(e);return r.match(B)?r:e}var re={scheme:"mailto",parse:function(e,r){var t=e,n=t.to=t.path?t.path.split(","):[];if(t.path=void 0,t.query){for(var o=!1,a={},i=t.query.split("&"),s=0,u=i.length;s=55296&&t<=56319&&c=r)throw new Error("Cannot access property/index "+t+" levels up, current level is "+r);return n[r-t]}if(t>r)throw new Error("Cannot access data "+t+" levels up, current level is "+r);if(o="data"+(r-t||""),!a)return o}for(var c=o,l=a.split("/"),f=0;f=0?{index:i,compiling:!0}:(i=this._compilations.length,this._compilations[i]={schema:e,root:r,baseId:t},{index:i,compiling:!1})}function u(e,r,t){var i=f.call(this,e,r,t);i>=0&&this._compilations.splice(i,1)}function f(e,r,t){for(var i=0;i%\\^`{|}]|%[0-9a-f]{2})|\{[+#./;?&=,!@|]?(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?(?:,(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?)*\})*$/i,e=/^(?:(?:http[s\u017F]?|ftp):\/\/)(?:(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+(?::(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*)?@)?(?:(?!10(?:\.[0-9]{1,3}){3})(?!127(?:\.[0-9]{1,3}){3})(?!169\.254(?:\.[0-9]{1,3}){2})(?!192\.168(?:\.[0-9]{1,3}){2})(?!172\.(?:1[6-9]|2[0-9]|3[01])(?:\.[0-9]{1,3}){2})(?:[1-9][0-9]?|1[0-9][0-9]|2[01][0-9]|22[0-3])(?:\.(?:1?[0-9]{1,2}|2[0-4][0-9]|25[0-5])){2}(?:\.(?:[1-9][0-9]?|1[0-9][0-9]|2[0-4][0-9]|25[0-4]))|(?:(?:(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+-)*(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+)(?:\.(?:(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+-)*(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+)*(?:\.(?:(?:[a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]){2,})))(?::[0-9]{2,5})?(?:\/(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*)?$/i,i=/^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i,z=/^(?:\/(?:[^~/]|~0|~1)*)*$/,$=/^#(?:\/(?:[a-z0-9_\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i,n=/^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/;function s(a){return a="full"==a?"full":"fast",d.copy(s[a])}function x(d){return d%4==0&&(d%100!=0||d%400==0)}function _(d){var F=d.match(a);if(!F)return!1;var f=+F[1],D=+F[2],t=+F[3];return D>=1&&D<=12&&t>=1&&t<=(2==D&&x(f)?29:u[D])}function o(d,a){var u=d.match(F);if(!u)return!1;var f=u[1],D=u[2],t=u[3],r=u[5];return(f<=23&&D<=59&&t<=59||23==f&&59==D&&60==t)&&(!a||r)}module.exports=s,s.fast={date:/^\d\d\d\d-[0-1]\d-[0-3]\d$/,time:/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i,"date-time":/^\d\d\d\d-[0-1]\d-[0-3]\d[t\s](?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i,uri:/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/)?[^\s]*$/i,"uri-reference":/^(?:(?:[a-z][a-z0-9+\-.]*:)?\/?\/)?(?:[^\\\s#][^\s#]*)?(?:#[^\\\s]*)?$/i,"uri-template":r,url:e,email:/^[a-z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*$/i,hostname:f,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/,ipv6:/^\s*(?:(?:(?:[0-9a-f]{1,4}:){7}(?:[0-9a-f]{1,4}|:))|(?:(?:[0-9a-f]{1,4}:){6}(?::[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){5}(?:(?:(?::[0-9a-f]{1,4}){1,2})|:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){4}(?:(?:(?::[0-9a-f]{1,4}){1,3})|(?:(?::[0-9a-f]{1,4})?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){3}(?:(?:(?::[0-9a-f]{1,4}){1,4})|(?:(?::[0-9a-f]{1,4}){0,2}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){2}(?:(?:(?::[0-9a-f]{1,4}){1,5})|(?:(?::[0-9a-f]{1,4}){0,3}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){1}(?:(?:(?::[0-9a-f]{1,4}){1,6})|(?:(?::[0-9a-f]{1,4}){0,4}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?::(?:(?:(?::[0-9a-f]{1,4}){1,7})|(?:(?::[0-9a-f]{1,4}){0,5}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(?:%.+)?\s*$/i,regex:v,uuid:i,"json-pointer":z,"json-pointer-uri-fragment":$,"relative-json-pointer":n},s.full={date:_,time:o,"date-time":B,uri:l,"uri-reference":t,"uri-template":r,url:e,email:/^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i,hostname:f,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/,ipv6:/^\s*(?:(?:(?:[0-9a-f]{1,4}:){7}(?:[0-9a-f]{1,4}|:))|(?:(?:[0-9a-f]{1,4}:){6}(?::[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){5}(?:(?:(?::[0-9a-f]{1,4}){1,2})|:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){4}(?:(?:(?::[0-9a-f]{1,4}){1,3})|(?:(?::[0-9a-f]{1,4})?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){3}(?:(?:(?::[0-9a-f]{1,4}){1,4})|(?:(?::[0-9a-f]{1,4}){0,2}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){2}(?:(?:(?::[0-9a-f]{1,4}){1,5})|(?:(?::[0-9a-f]{1,4}){0,3}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){1}(?:(?:(?::[0-9a-f]{1,4}){1,6})|(?:(?::[0-9a-f]{1,4}){0,4}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?::(?:(?:(?::[0-9a-f]{1,4}){1,7})|(?:(?::[0-9a-f]{1,4}){0,5}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(?:%.+)?\s*$/i,regex:v,uuid:i,"json-pointer":z,"json-pointer-uri-fragment":$,"relative-json-pointer":n};var E=/t|\s/i;function B(d){var a=d.split(E);return 2==a.length&&_(a[0])&&o(a[1],!0)}var C=/\/|:/;function l(d){return C.test(d)&&D.test(d)}var p=/[^\\]\\Z/;function v(d){if(p.test(d))return!1;try{return new RegExp(d),!0}catch(a){return!1}} },{"./util":"Q1F7"}],"a2na":[function(require,module,exports) { "use strict";module.exports=function(r,e,a){var s,t,o=" ",i=r.level,l=r.dataLevel,c=r.schema[e],n=r.errSchemaPath+"/"+e,h=!r.opts.allErrors,v="data"+(l||""),f="valid"+i;if("#"==c||"#/"==c)r.isRoot?(s=r.async,t="validate"):(s=!0===r.root.schema.$async,t="root.refVal[0]");else{var d=r.resolveRef(r.baseId,c,r.isRoot);if(void 0===d){var p=r.MissingRefError.message(r.baseId,c);if("fail"==r.opts.missingRefs){r.logger.error(p),(g=g||[]).push(o),o="",!1!==r.createErrors?(o+=" { keyword: '$ref' , dataPath: (dataPath || '') + "+r.errorPath+" , schemaPath: "+r.util.toQuotedString(n)+" , params: { ref: '"+r.util.escapeQuotes(c)+"' } ",!1!==r.opts.messages&&(o+=" , message: 'can\\'t resolve reference "+r.util.escapeQuotes(c)+"' "),r.opts.verbose&&(o+=" , schema: "+r.util.toQuotedString(c)+" , parentSchema: validate.schema"+r.schemaPath+" , data: "+v+" "),o+=" } "):o+=" {} ";var m=o;o=g.pop(),!r.compositeRule&&h?r.async?o+=" throw new ValidationError(["+m+"]); ":o+=" validate.errors = ["+m+"]; return false; ":o+=" var err = "+m+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",h&&(o+=" if (false) { ")}else{if("ignore"!=r.opts.missingRefs)throw new r.MissingRefError(r.baseId,c,p);r.logger.warn(p),h&&(o+=" if (true) { ")}}else if(d.inline){var u=r.util.copy(r);u.level++;var E="valid"+u.level;u.schema=d.schema,u.schemaPath="",u.errSchemaPath=c,o+=" "+r.validate(u).replace(/validate\.schema/g,d.code)+" ",h&&(o+=" if ("+E+") { ")}else s=!0===d.$async||r.async&&!1!==d.$async,t=d.code}if(t){var g;(g=g||[]).push(o),o="",r.opts.passContext?o+=" "+t+".call(this, ":o+=" "+t+"( ",o+=" "+v+", (dataPath || '')",'""'!=r.errorPath&&(o+=" + "+r.errorPath);var y=o+=" , "+(l?"data"+(l-1||""):"parentData")+" , "+(l?r.dataPathArr[l]:"parentDataProperty")+", rootData) ";if(o=g.pop(),s){if(!r.async)throw new Error("async schema referenced by sync schema");h&&(o+=" var "+f+"; "),o+=" try { await "+y+"; ",h&&(o+=" "+f+" = true; "),o+=" } catch (e) { if (!(e instanceof ValidationError)) throw e; if (vErrors === null) vErrors = e.errors; else vErrors = vErrors.concat(e.errors); errors = vErrors.length; ",h&&(o+=" "+f+" = false; "),o+=" } ",h&&(o+=" if ("+f+") { ")}else o+=" if (!"+y+") { if (vErrors === null) vErrors = "+t+".errors; else vErrors = vErrors.concat("+t+".errors); errors = vErrors.length; } ",h&&(o+=" else { ")}return o}; },{}],"hRgn":[function(require,module,exports) { "use strict";module.exports=function(e,t,a){var r=" ",s=e.schema[t],l=e.schemaPath+e.util.getProperty(t),c=e.errSchemaPath+"/"+t,h=!e.opts.allErrors,i=e.util.copy(e),o="";i.level++;var u="valid"+i.level,m=i.baseId,v=!0,d=s;if(d)for(var f,p=-1,n=d.length-1;p0||!1===f:e.util.schemaHasRules(f,e.RULES.all))&&(v=!1,i.schema=f,i.schemaPath=l+"["+p+"]",i.errSchemaPath=c+"/"+p,r+=" "+e.validate(i)+" ",i.baseId=m,h&&(r+=" if ("+u+") { ",o+="}"));return h&&(r+=v?" if (true) { ":" "+o.slice(0,-1)+" "),r}; },{}],"lo6J":[function(require,module,exports) { "use strict";module.exports=function(e,r,a){var s=" ",t=e.level,o=e.dataLevel,l=e.schema[r],i=e.schemaPath+e.util.getProperty(r),c=e.errSchemaPath+"/"+r,h=!e.opts.allErrors,v="data"+(o||""),m="valid"+t,u="errs__"+t,n=e.util.copy(e),d="";n.level++;var p="valid"+n.level;if(l.every(function(r){return e.opts.strictKeywords?"object"==typeof r&&Object.keys(r).length>0||!1===r:e.util.schemaHasRules(r,e.RULES.all)})){var f=n.baseId;s+=" var "+u+" = errors; var "+m+" = false; ";var E=e.compositeRule;e.compositeRule=n.compositeRule=!0;var y=l;if(y)for(var P,R=-1,g=y.length-1;R0||!1===o:e.util.schemaHasRules(o,e.RULES.all);if(t+="var "+d+" = errors;var "+u+";",g){var R=e.compositeRule;e.compositeRule=m.compositeRule=!0,m.schema=o,m.schemaPath=i,m.errSchemaPath=v,t+=" var "+p+" = false; for (var "+n+" = 0; "+n+" < "+c+".length; "+n+"++) { ",m.errorPath=e.util.getPathExpr(e.errorPath,n,e.opts.jsonPointers,!0);var y=c+"["+n+"]";m.dataPathArr[P]=n;var b=e.validate(m);m.baseId=E,e.util.varOccurences(b,f)<2?t+=" "+e.util.varReplace(b,f,y)+" ":t+=" var "+f+" = "+y+"; "+b+" ",t+=" if ("+p+") break; } ",e.compositeRule=m.compositeRule=R,t+=" if (!"+p+") {"}else t+=" if ("+c+".length == 0) {";var S=S||[];S.push(t),t="",!1!==e.createErrors?(t+=" { keyword: 'contains' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(v)+" , params: {} ",!1!==e.opts.messages&&(t+=" , message: 'should contain a valid item' "),e.opts.verbose&&(t+=" , schema: validate.schema"+i+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+c+" "),t+=" } "):t+=" {} ";var w=t;return t=S.pop(),!e.compositeRule&&h?e.async?t+=" throw new ValidationError(["+w+"]); ":t+=" validate.errors = ["+w+"]; return false; ":t+=" var err = "+w+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+=" } else { ",g&&(t+=" errors = "+d+"; if (vErrors !== null) { if ("+d+") vErrors.length = "+d+"; else vErrors = null; } "),e.opts.allErrors&&(t+=" } "),t}; },{}],"Cpp7":[function(require,module,exports) { "use strict";module.exports=function(e,r,t){var a=" ",s=e.level,o=e.dataLevel,p=e.schema[r],i=e.schemaPath+e.util.getProperty(r),l=e.errSchemaPath+"/"+r,u=!e.opts.allErrors,n="data"+(o||""),h="errs__"+s,c=e.util.copy(e),d="";c.level++;var v="valid"+c.level,P={},m={},y=e.opts.ownProperties;for(j in p)if("__proto__"!=j){var g=p[j],f=Array.isArray(g)?m:P;f[j]=g}a+="var "+h+" = errors;";var Q=e.errorPath;for(var j in a+="var missing"+s+";",m)if((f=m[j]).length){if(a+=" if ( "+n+e.util.getProperty(j)+" !== undefined ",y&&(a+=" && Object.prototype.hasOwnProperty.call("+n+", '"+e.util.escapeQuotes(j)+"') "),u){a+=" && ( ";var w=f;if(w)for(var E=-1,b=w.length-1;E0||!1===g:e.util.schemaHasRules(g,e.RULES.all))&&(a+=" "+v+" = true; if ( "+n+e.util.getProperty(j)+" !== undefined ",y&&(a+=" && Object.prototype.hasOwnProperty.call("+n+", '"+e.util.escapeQuotes(j)+"') "),a+=") { ",c.schema=g,c.schemaPath=i+e.util.getProperty(j),c.errSchemaPath=l+"/"+e.util.escapeFragment(j),a+=" "+e.validate(c)+" ",c.baseId=L,a+=" } ",u&&(a+=" if ("+v+") { ",d+="}"))}return u&&(a+=" "+d+" if ("+h+" == errors) {"),a}; },{}],"fqDY":[function(require,module,exports) { "use strict";module.exports=function(a,e,r){var t=" ",s=a.level,l=a.dataLevel,o=a.schema[e],h=a.schemaPath+a.util.getProperty(e),d=a.errSchemaPath+"/"+e,i=!a.opts.allErrors,u="data"+(l||""),m="valid"+s,v=a.opts.$data&&o&&o.$data;v&&(t+=" var schema"+s+" = "+a.util.getData(o.$data,l,a.dataPathArr)+"; ");var c="i"+s,n="schema"+s;v||(t+=" var "+n+" = validate.schema"+h+";"),t+="var "+m+";",v&&(t+=" if (schema"+s+" === undefined) "+m+" = true; else if (!Array.isArray(schema"+s+")) "+m+" = false; else {"),t+=m+" = false;for (var "+c+"=0; "+c+"<"+n+".length; "+c+"++) if (equal("+u+", "+n+"["+c+"])) { "+m+" = true; break; }",v&&(t+=" } "),t+=" if (!"+m+") { ";var p=p||[];p.push(t),t="",!1!==a.createErrors?(t+=" { keyword: 'enum' , dataPath: (dataPath || '') + "+a.errorPath+" , schemaPath: "+a.util.toQuotedString(d)+" , params: { allowedValues: schema"+s+" } ",!1!==a.opts.messages&&(t+=" , message: 'should be equal to one of the allowed values' "),a.opts.verbose&&(t+=" , schema: validate.schema"+h+" , parentSchema: validate.schema"+a.schemaPath+" , data: "+u+" "),t+=" } "):t+=" {} ";var f=t;return t=p.pop(),!a.compositeRule&&i?a.async?t+=" throw new ValidationError(["+f+"]); ":t+=" validate.errors = ["+f+"]; return false; ":t+=" var err = "+f+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+=" }",i&&(t+=" else { "),t}; },{}],"avoW":[function(require,module,exports) { "use strict";module.exports=function(a,t,r){var e=" ",o=a.level,s=a.dataLevel,i=a.schema[t],n=a.schemaPath+a.util.getProperty(t),f=a.errSchemaPath+"/"+t,c=!a.opts.allErrors,u="data"+(s||"");if(!1===a.opts.format)return c&&(e+=" if (true) { "),e;var m,h=a.opts.$data&&i&&i.$data;h?(e+=" var schema"+o+" = "+a.util.getData(i.$data,s,a.dataPathArr)+"; ",m="schema"+o):m=i;var l=a.opts.unknownFormats,d=Array.isArray(l);if(h){e+=" var "+(p="format"+o)+" = formats["+m+"]; var "+(v="isObject"+o)+" = typeof "+p+" == 'object' && !("+p+" instanceof RegExp) && "+p+".validate; var "+(y="formatType"+o)+" = "+v+" && "+p+".type || 'string'; if ("+v+") { ",a.async&&(e+=" var async"+o+" = "+p+".async; "),e+=" "+p+" = "+p+".validate; } if ( ",h&&(e+=" ("+m+" !== undefined && typeof "+m+" != 'string') || "),e+=" (","ignore"!=l&&(e+=" ("+m+" && !"+p+" ",d&&(e+=" && self._opts.unknownFormats.indexOf("+m+") == -1 "),e+=") || "),e+=" ("+p+" && "+y+" == '"+r+"' && !(typeof "+p+" == 'function' ? ",a.async?e+=" (async"+o+" ? await "+p+"("+u+") : "+p+"("+u+")) ":e+=" "+p+"("+u+") ",e+=" : "+p+".test("+u+"))))) {"}else{var p;if(!(p=a.formats[i])){if("ignore"==l)return a.logger.warn('unknown format "'+i+'" ignored in schema at path "'+a.errSchemaPath+'"'),c&&(e+=" if (true) { "),e;if(d&&l.indexOf(i)>=0)return c&&(e+=" if (true) { "),e;throw new Error('unknown format "'+i+'" is used in schema at path "'+a.errSchemaPath+'"')}var v,y=(v="object"==typeof p&&!(p instanceof RegExp)&&p.validate)&&p.type||"string";if(v){var g=!0===p.async;p=p.validate}if(y!=r)return c&&(e+=" if (true) { "),e;if(g){if(!a.async)throw new Error("async format in sync schema");e+=" if (!(await "+(w="formats"+a.util.getProperty(i)+".validate")+"("+u+"))) { "}else{e+=" if (! ";var w="formats"+a.util.getProperty(i);v&&(w+=".validate"),e+="function"==typeof p?" "+w+"("+u+") ":" "+w+".test("+u+") ",e+=") { "}}var P=P||[];P.push(e),e="",!1!==a.createErrors?(e+=" { keyword: 'format' , dataPath: (dataPath || '') + "+a.errorPath+" , schemaPath: "+a.util.toQuotedString(f)+" , params: { format: ",e+=h?""+m:""+a.util.toQuotedString(i),e+=" } ",!1!==a.opts.messages&&(e+=" , message: 'should match format \"",e+=h?"' + "+m+" + '":""+a.util.escapeQuotes(i),e+="\"' "),a.opts.verbose&&(e+=" , schema: ",e+=h?"validate.schema"+n:""+a.util.toQuotedString(i),e+=" , parentSchema: validate.schema"+a.schemaPath+" , data: "+u+" "),e+=" } "):e+=" {} ";var E=e;return e=P.pop(),!a.compositeRule&&c?a.async?e+=" throw new ValidationError(["+E+"]); ":e+=" validate.errors = ["+E+"]; return false; ":e+=" var err = "+E+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",e+=" } ",c&&(e+=" else { "),e}; },{}],"JHQ3":[function(require,module,exports) { "use strict";module.exports=function(e,r,a){var s=" ",t=e.level,l=e.dataLevel,h=e.schema[r],o=e.schemaPath+e.util.getProperty(r),c=e.errSchemaPath+"/"+r,i=!e.opts.allErrors,m="data"+(l||""),v="valid"+t,u="errs__"+t,d=e.util.copy(e);d.level++;var n="valid"+d.level,p=e.schema.then,P=e.schema.else,f=void 0!==p&&(e.opts.strictKeywords?"object"==typeof p&&Object.keys(p).length>0||!1===p:e.util.schemaHasRules(p,e.RULES.all)),E=void 0!==P&&(e.opts.strictKeywords?"object"==typeof P&&Object.keys(P).length>0||!1===P:e.util.schemaHasRules(P,e.RULES.all)),y=d.baseId;if(f||E){var R;d.createErrors=!1,d.schema=h,d.schemaPath=o,d.errSchemaPath=c,s+=" var "+u+" = errors; var "+v+" = true; ";var S=e.compositeRule;e.compositeRule=d.compositeRule=!0,s+=" "+e.validate(d)+" ",d.baseId=y,d.createErrors=!0,s+=" errors = "+u+"; if (vErrors !== null) { if ("+u+") vErrors.length = "+u+"; else vErrors = null; } ",e.compositeRule=d.compositeRule=S,f?(s+=" if ("+n+") { ",d.schema=e.schema.then,d.schemaPath=e.schemaPath+".then",d.errSchemaPath=e.errSchemaPath+"/then",s+=" "+e.validate(d)+" ",d.baseId=y,s+=" "+v+" = "+n+"; ",f&&E?s+=" var "+(R="ifClause"+t)+" = 'then'; ":R="'then'",s+=" } ",E&&(s+=" else { ")):s+=" if (!"+n+") { ",E&&(d.schema=e.schema.else,d.schemaPath=e.schemaPath+".else",d.errSchemaPath=e.errSchemaPath+"/else",s+=" "+e.validate(d)+" ",d.baseId=y,s+=" "+v+" = "+n+"; ",f&&E?s+=" var "+(R="ifClause"+t)+" = 'else'; ":R="'else'",s+=" } "),s+=" if (!"+v+") { var err = ",!1!==e.createErrors?(s+=" { keyword: 'if' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { failingKeyword: "+R+" } ",!1!==e.opts.messages&&(s+=" , message: 'should match \"' + "+R+" + '\" schema' "),e.opts.verbose&&(s+=" , schema: validate.schema"+o+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+m+" "),s+=" } "):s+=" {} ",s+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&i&&(e.async?s+=" throw new ValidationError(vErrors); ":s+=" validate.errors = vErrors; return false; "),s+=" } ",i&&(s+=" else { ")}else i&&(s+=" if (true) { ");return s}; },{}],"aiPb":[function(require,module,exports) { "use strict";module.exports=function(e,a,r){var t=" ",s=e.level,l=e.dataLevel,h=e.schema[a],o=e.schemaPath+e.util.getProperty(a),i=e.errSchemaPath+"/"+a,c=!e.opts.allErrors,v="data"+(l||""),d="valid"+s,n="errs__"+s,m=e.util.copy(e),u="";m.level++;var P="valid"+m.level,p="i"+s,f=m.dataLevel=e.dataLevel+1,g="data"+f,y=e.baseId;if(t+="var "+n+" = errors;var "+d+";",Array.isArray(h)){var b=e.schema.additionalItems;if(!1===b){t+=" "+d+" = "+v+".length <= "+h.length+"; ";var E=i;i=e.errSchemaPath+"/additionalItems",t+=" if (!"+d+") { ";var S=S||[];S.push(t),t="",!1!==e.createErrors?(t+=" { keyword: 'additionalItems' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(i)+" , params: { limit: "+h.length+" } ",!1!==e.opts.messages&&(t+=" , message: 'should NOT have more than "+h.length+" items' "),e.opts.verbose&&(t+=" , schema: false , parentSchema: validate.schema"+e.schemaPath+" , data: "+v+" "),t+=" } "):t+=" {} ";var j=t;t=S.pop(),!e.compositeRule&&c?e.async?t+=" throw new ValidationError(["+j+"]); ":t+=" validate.errors = ["+j+"]; return false; ":t+=" var err = "+j+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+=" } ",i=E,c&&(u+="}",t+=" else { ")}var R=h;if(R)for(var I,O=-1,k=R.length-1;O0||!1===I:e.util.schemaHasRules(I,e.RULES.all)){t+=" "+P+" = true; if ("+v+".length > "+O+") { ";var w=v+"["+O+"]";m.schema=I,m.schemaPath=o+"["+O+"]",m.errSchemaPath=i+"/"+O,m.errorPath=e.util.getPathExpr(e.errorPath,O,e.opts.jsonPointers,!0),m.dataPathArr[f]=O;var L=e.validate(m);m.baseId=y,e.util.varOccurences(L,g)<2?t+=" "+e.util.varReplace(L,g,w)+" ":t+=" var "+g+" = "+w+"; "+L+" ",t+=" } ",c&&(t+=" if ("+P+") { ",u+="}")}if("object"==typeof b&&(e.opts.strictKeywords?"object"==typeof b&&Object.keys(b).length>0||!1===b:e.util.schemaHasRules(b,e.RULES.all))){m.schema=b,m.schemaPath=e.schemaPath+".additionalItems",m.errSchemaPath=e.errSchemaPath+"/additionalItems",t+=" "+P+" = true; if ("+v+".length > "+h.length+") { for (var "+p+" = "+h.length+"; "+p+" < "+v+".length; "+p+"++) { ",m.errorPath=e.util.getPathExpr(e.errorPath,p,e.opts.jsonPointers,!0);w=v+"["+p+"]";m.dataPathArr[f]=p;L=e.validate(m);m.baseId=y,e.util.varOccurences(L,g)<2?t+=" "+e.util.varReplace(L,g,w)+" ":t+=" var "+g+" = "+w+"; "+L+" ",c&&(t+=" if (!"+P+") break; "),t+=" } } ",c&&(t+=" if ("+P+") { ",u+="}")}}else if(e.opts.strictKeywords?"object"==typeof h&&Object.keys(h).length>0||!1===h:e.util.schemaHasRules(h,e.RULES.all)){m.schema=h,m.schemaPath=o,m.errSchemaPath=i,t+=" for (var "+p+" = 0; "+p+" < "+v+".length; "+p+"++) { ",m.errorPath=e.util.getPathExpr(e.errorPath,p,e.opts.jsonPointers,!0);w=v+"["+p+"]";m.dataPathArr[f]=p;L=e.validate(m);m.baseId=y,e.util.varOccurences(L,g)<2?t+=" "+e.util.varReplace(L,g,w)+" ":t+=" var "+g+" = "+w+"; "+L+" ",c&&(t+=" if (!"+P+") break; "),t+=" }"}return c&&(t+=" "+u+" if ("+n+" == errors) {"),t}; },{}],"UJAl":[function(require,module,exports) { "use strict";module.exports=function(e,r,a){var t,s=" ",o=e.level,i=e.dataLevel,m=e.schema[r],h=e.schemaPath+e.util.getProperty(r),u=e.errSchemaPath+"/"+r,l=!e.opts.allErrors,d="data"+(i||""),n=e.opts.$data&&m&&m.$data;n?(s+=" var schema"+o+" = "+e.util.getData(m.$data,i,e.dataPathArr)+"; ",t="schema"+o):t=m;var c="maximum"==r,v=c?"exclusiveMaximum":"exclusiveMinimum",p=e.schema[v],f=e.opts.$data&&p&&p.$data,b=c?"<":">",P=c?">":"<",E=void 0;if(!n&&"number"!=typeof m&&void 0!==m)throw new Error(r+" must be number");if(!f&&void 0!==p&&"number"!=typeof p&&"boolean"!=typeof p)throw new Error(v+" must be number or boolean");if(f){var y=e.util.getData(p.$data,i,e.dataPathArr),x="exclusive"+o,w="exclType"+o,g="exclIsNumber"+o,S="' + "+(k="op"+o)+" + '";s+=" var schemaExcl"+o+" = "+y+"; ",s+=" var "+x+"; var "+w+" = typeof "+(y="schemaExcl"+o)+"; if ("+w+" != 'boolean' && "+w+" != 'undefined' && "+w+" != 'number') { ";var $;E=v;($=$||[]).push(s),s="",!1!==e.createErrors?(s+=" { keyword: '"+(E||"_exclusiveLimit")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: {} ",!1!==e.opts.messages&&(s+=" , message: '"+v+" should be boolean' "),e.opts.verbose&&(s+=" , schema: validate.schema"+h+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),s+=" } "):s+=" {} ";var M=s;s=$.pop(),!e.compositeRule&&l?e.async?s+=" throw new ValidationError(["+M+"]); ":s+=" validate.errors = ["+M+"]; return false; ":s+=" var err = "+M+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",s+=" } else if ( ",n&&(s+=" ("+t+" !== undefined && typeof "+t+" != 'number') || "),s+=" "+w+" == 'number' ? ( ("+x+" = "+t+" === undefined || "+y+" "+b+"= "+t+") ? "+d+" "+P+"= "+y+" : "+d+" "+P+" "+t+" ) : ( ("+x+" = "+y+" === true) ? "+d+" "+P+"= "+t+" : "+d+" "+P+" "+t+" ) || "+d+" !== "+d+") { var op"+o+" = "+x+" ? '"+b+"' : '"+b+"='; ",void 0===m&&(E=v,u=e.errSchemaPath+"/"+v,t=y,n=f)}else{S=b;if((g="number"==typeof p)&&n){var k="'"+S+"'";s+=" if ( ",n&&(s+=" ("+t+" !== undefined && typeof "+t+" != 'number') || "),s+=" ( "+t+" === undefined || "+p+" "+b+"= "+t+" ? "+d+" "+P+"= "+p+" : "+d+" "+P+" "+t+" ) || "+d+" !== "+d+") { "}else{g&&void 0===m?(x=!0,E=v,u=e.errSchemaPath+"/"+v,t=p,P+="="):(g&&(t=Math[c?"min":"max"](p,m)),p===(!g||t)?(x=!0,E=v,u=e.errSchemaPath+"/"+v,P+="="):(x=!1,S+="="));k="'"+S+"'";s+=" if ( ",n&&(s+=" ("+t+" !== undefined && typeof "+t+" != 'number') || "),s+=" "+d+" "+P+" "+t+" || "+d+" !== "+d+") { "}}E=E||r,($=$||[]).push(s),s="",!1!==e.createErrors?(s+=" { keyword: '"+(E||"_limit")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { comparison: "+k+", limit: "+t+", exclusive: "+x+" } ",!1!==e.opts.messages&&(s+=" , message: 'should be "+S+" ",s+=n?"' + "+t:t+"'"),e.opts.verbose&&(s+=" , schema: ",s+=n?"validate.schema"+h:""+m,s+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),s+=" } "):s+=" {} ";M=s;return s=$.pop(),!e.compositeRule&&l?e.async?s+=" throw new ValidationError(["+M+"]); ":s+=" validate.errors = ["+M+"]; return false; ":s+=" var err = "+M+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",s+=" } ",l&&(s+=" else { "),s}; },{}],"W8ih":[function(require,module,exports) { "use strict";module.exports=function(e,r,a){var t,s=" ",o=e.level,m=e.dataLevel,h=e.schema[r],l=e.schemaPath+e.util.getProperty(r),i=e.errSchemaPath+"/"+r,d=!e.opts.allErrors,u="data"+(m||""),n=e.opts.$data&&h&&h.$data;if(n?(s+=" var schema"+o+" = "+e.util.getData(h.$data,m,e.dataPathArr)+"; ",t="schema"+o):t=h,!n&&"number"!=typeof h)throw new Error(r+" must be number");s+="if ( ",n&&(s+=" ("+t+" !== undefined && typeof "+t+" != 'number') || "),s+=" "+u+".length "+("maxItems"==r?">":"<")+" "+t+") { ";var c=r,p=p||[];p.push(s),s="",!1!==e.createErrors?(s+=" { keyword: '"+(c||"_limitItems")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(i)+" , params: { limit: "+t+" } ",!1!==e.opts.messages&&(s+=" , message: 'should NOT have ",s+="maxItems"==r?"more":"fewer",s+=" than ",s+=n?"' + "+t+" + '":""+h,s+=" items' "),e.opts.verbose&&(s+=" , schema: ",s+=n?"validate.schema"+l:""+h,s+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),s+=" } "):s+=" {} ";var v=s;return s=p.pop(),!e.compositeRule&&d?e.async?s+=" throw new ValidationError(["+v+"]); ":s+=" validate.errors = ["+v+"]; return false; ":s+=" var err = "+v+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",s+="} ",d&&(s+=" else { "),s}; },{}],"fZGX":[function(require,module,exports) { "use strict";module.exports=function(e,r,a){var t,s=" ",o=e.level,h=e.dataLevel,l=e.schema[r],m=e.schemaPath+e.util.getProperty(r),n=e.errSchemaPath+"/"+r,i=!e.opts.allErrors,u="data"+(h||""),c=e.opts.$data&&l&&l.$data;if(c?(s+=" var schema"+o+" = "+e.util.getData(l.$data,h,e.dataPathArr)+"; ",t="schema"+o):t=l,!c&&"number"!=typeof l)throw new Error(r+" must be number");var d="maxLength"==r?">":"<";s+="if ( ",c&&(s+=" ("+t+" !== undefined && typeof "+t+" != 'number') || "),!1===e.opts.unicode?s+=" "+u+".length ":s+=" ucs2length("+u+") ",s+=" "+d+" "+t+") { ";var p=r,v=v||[];v.push(s),s="",!1!==e.createErrors?(s+=" { keyword: '"+(p||"_limitLength")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(n)+" , params: { limit: "+t+" } ",!1!==e.opts.messages&&(s+=" , message: 'should NOT be ",s+="maxLength"==r?"longer":"shorter",s+=" than ",s+=c?"' + "+t+" + '":""+l,s+=" characters' "),e.opts.verbose&&(s+=" , schema: ",s+=c?"validate.schema"+m:""+l,s+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "),s+=" } "):s+=" {} ";var g=s;return s=v.pop(),!e.compositeRule&&i?e.async?s+=" throw new ValidationError(["+g+"]); ":s+=" validate.errors = ["+g+"]; return false; ":s+=" var err = "+g+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",s+="} ",i&&(s+=" else { "),s}; },{}],"JAEr":[function(require,module,exports) { "use strict";module.exports=function(e,r,a){var t,s=" ",o=e.level,h=e.dataLevel,m=e.schema[r],i=e.schemaPath+e.util.getProperty(r),l=e.errSchemaPath+"/"+r,p=!e.opts.allErrors,d="data"+(h||""),u=e.opts.$data&&m&&m.$data;if(u?(s+=" var schema"+o+" = "+e.util.getData(m.$data,h,e.dataPathArr)+"; ",t="schema"+o):t=m,!u&&"number"!=typeof m)throw new Error(r+" must be number");s+="if ( ",u&&(s+=" ("+t+" !== undefined && typeof "+t+" != 'number') || "),s+=" Object.keys("+d+").length "+("maxProperties"==r?">":"<")+" "+t+") { ";var n=r,c=c||[];c.push(s),s="",!1!==e.createErrors?(s+=" { keyword: '"+(n||"_limitProperties")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(l)+" , params: { limit: "+t+" } ",!1!==e.opts.messages&&(s+=" , message: 'should NOT have ",s+="maxProperties"==r?"more":"fewer",s+=" than ",s+=u?"' + "+t+" + '":""+m,s+=" properties' "),e.opts.verbose&&(s+=" , schema: ",s+=u?"validate.schema"+i:""+m,s+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),s+=" } "):s+=" {} ";var v=s;return s=c.pop(),!e.compositeRule&&p?e.async?s+=" throw new ValidationError(["+v+"]); ":s+=" validate.errors = ["+v+"]; return false; ":s+=" var err = "+v+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",s+="} ",p&&(s+=" else { "),s}; },{}],"oNPH":[function(require,module,exports) { "use strict";module.exports=function(e,r,a){var t,s=" ",i=e.level,o=e.dataLevel,l=e.schema[r],d=e.schemaPath+e.util.getProperty(r),h=e.errSchemaPath+"/"+r,n=!e.opts.allErrors,m="data"+(o||""),u=e.opts.$data&&l&&l.$data;if(u?(s+=" var schema"+i+" = "+e.util.getData(l.$data,o,e.dataPathArr)+"; ",t="schema"+i):t=l,!u&&"number"!=typeof l)throw new Error(r+" must be number");s+="var division"+i+";if (",u&&(s+=" "+t+" !== undefined && ( typeof "+t+" != 'number' || "),s+=" (division"+i+" = "+m+" / "+t+", ",e.opts.multipleOfPrecision?s+=" Math.abs(Math.round(division"+i+") - division"+i+") > 1e-"+e.opts.multipleOfPrecision+" ":s+=" division"+i+" !== parseInt(division"+i+") ",s+=" ) ",u&&(s+=" ) "),s+=" ) { ";var p=p||[];p.push(s),s="",!1!==e.createErrors?(s+=" { keyword: 'multipleOf' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(h)+" , params: { multipleOf: "+t+" } ",!1!==e.opts.messages&&(s+=" , message: 'should be multiple of ",s+=u?"' + "+t:t+"'"),e.opts.verbose&&(s+=" , schema: ",s+=u?"validate.schema"+d:""+l,s+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+m+" "),s+=" } "):s+=" {} ";var v=s;return s=p.pop(),!e.compositeRule&&n?e.async?s+=" throw new ValidationError(["+v+"]); ":s+=" validate.errors = ["+v+"]; return false; ":s+=" var err = "+v+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",s+="} ",n&&(s+=" else { "),s}; },{}],"mmjm":[function(require,module,exports) { "use strict";module.exports=function(r,e,a){var s=" ",t=r.level,o=r.dataLevel,l=r.schema[e],h=r.schemaPath+r.util.getProperty(e),c=r.errSchemaPath+"/"+e,i=!r.opts.allErrors,m="data"+(o||""),v="errs__"+t,p=r.util.copy(r);p.level++;var u="valid"+p.level;if(r.opts.strictKeywords?"object"==typeof l&&Object.keys(l).length>0||!1===l:r.util.schemaHasRules(l,r.RULES.all)){p.schema=l,p.schemaPath=h,p.errSchemaPath=c,s+=" var "+v+" = errors; ";var d,E=r.compositeRule;r.compositeRule=p.compositeRule=!0,p.createErrors=!1,p.opts.allErrors&&(d=p.opts.allErrors,p.opts.allErrors=!1),s+=" "+r.validate(p)+" ",p.createErrors=!0,d&&(p.opts.allErrors=d),r.compositeRule=p.compositeRule=E,s+=" if ("+u+") { ";var n=n||[];n.push(s),s="",!1!==r.createErrors?(s+=" { keyword: 'not' , dataPath: (dataPath || '') + "+r.errorPath+" , schemaPath: "+r.util.toQuotedString(c)+" , params: {} ",!1!==r.opts.messages&&(s+=" , message: 'should NOT be valid' "),r.opts.verbose&&(s+=" , schema: validate.schema"+h+" , parentSchema: validate.schema"+r.schemaPath+" , data: "+m+" "),s+=" } "):s+=" {} ";var P=s;s=n.pop(),!r.compositeRule&&i?r.async?s+=" throw new ValidationError(["+P+"]); ":s+=" validate.errors = ["+P+"]; return false; ":s+=" var err = "+P+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",s+=" } else { errors = "+v+"; if (vErrors !== null) { if ("+v+") vErrors.length = "+v+"; else vErrors = null; } ",r.opts.allErrors&&(s+=" } ")}else s+=" var err = ",!1!==r.createErrors?(s+=" { keyword: 'not' , dataPath: (dataPath || '') + "+r.errorPath+" , schemaPath: "+r.util.toQuotedString(c)+" , params: {} ",!1!==r.opts.messages&&(s+=" , message: 'should NOT be valid' "),r.opts.verbose&&(s+=" , schema: validate.schema"+h+" , parentSchema: validate.schema"+r.schemaPath+" , data: "+m+" "),s+=" } "):s+=" {} ",s+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i&&(s+=" if (false) { ");return s}; },{}],"SSWF":[function(require,module,exports) { "use strict";module.exports=function(e,r,a){var s=" ",t=e.level,l=e.dataLevel,o=e.schema[r],i=e.schemaPath+e.util.getProperty(r),c=e.errSchemaPath+"/"+r,h=!e.opts.allErrors,v="data"+(l||""),m="valid"+t,u="errs__"+t,n=e.util.copy(e),p="";n.level++;var d="valid"+n.level,f=n.baseId,E="prevValid"+t,P="passingSchemas"+t;s+="var "+u+" = errors , "+E+" = false , "+m+" = false , "+P+" = null; ";var g=e.compositeRule;e.compositeRule=n.compositeRule=!0;var y=o;if(y)for(var R,S=-1,b=y.length-1;S0||!1===R:e.util.schemaHasRules(R,e.RULES.all))?(n.schema=R,n.schemaPath=i+"["+S+"]",n.errSchemaPath=c+"/"+S,s+=" "+e.validate(n)+" ",n.baseId=f):s+=" var "+d+" = true; ",S&&(s+=" if ("+d+" && "+E+") { "+m+" = false; "+P+" = ["+P+", "+S+"]; } else { ",p+="}"),s+=" if ("+d+") { "+m+" = "+E+" = true; "+P+" = "+S+"; }";return e.compositeRule=n.compositeRule=g,s+=p+"if (!"+m+") { var err = ",!1!==e.createErrors?(s+=" { keyword: 'oneOf' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { passingSchemas: "+P+" } ",!1!==e.opts.messages&&(s+=" , message: 'should match exactly one schema in oneOf' "),e.opts.verbose&&(s+=" , schema: validate.schema"+i+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+v+" "),s+=" } "):s+=" {} ",s+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!e.compositeRule&&h&&(e.async?s+=" throw new ValidationError(vErrors); ":s+=" validate.errors = vErrors; return false; "),s+="} else { errors = "+u+"; if (vErrors !== null) { if ("+u+") vErrors.length = "+u+"; else vErrors = null; }",e.opts.allErrors&&(s+=" } "),s}; },{}],"mGZS":[function(require,module,exports) { "use strict";module.exports=function(e,t,a){var r,s=" ",o=e.level,h=e.dataLevel,l=e.schema[t],u=e.schemaPath+e.util.getProperty(t),d=e.errSchemaPath+"/"+t,i=!e.opts.allErrors,n="data"+(h||""),p=e.opts.$data&&l&&l.$data;p?(s+=" var schema"+o+" = "+e.util.getData(l.$data,h,e.dataPathArr)+"; ",r="schema"+o):r=l,s+="if ( ",p&&(s+=" ("+r+" !== undefined && typeof "+r+" != 'string') || "),s+=" !"+(p?"(new RegExp("+r+"))":e.usePattern(l))+".test("+n+") ) { ";var c=c||[];c.push(s),s="",!1!==e.createErrors?(s+=" { keyword: 'pattern' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(d)+" , params: { pattern: ",s+=p?""+r:""+e.util.toQuotedString(l),s+=" } ",!1!==e.opts.messages&&(s+=" , message: 'should match pattern \"",s+=p?"' + "+r+" + '":""+e.util.escapeQuotes(l),s+="\"' "),e.opts.verbose&&(s+=" , schema: ",s+=p?"validate.schema"+u:""+e.util.toQuotedString(l),s+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+n+" "),s+=" } "):s+=" {} ";var m=s;return s=c.pop(),!e.compositeRule&&i?e.async?s+=" throw new ValidationError(["+m+"]); ":s+=" validate.errors = ["+m+"]; return false; ":s+=" var err = "+m+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",s+="} ",i&&(s+=" else { "),s}; },{}],"jFnx":[function(require,module,exports) { "use strict";module.exports=function(e,r,t){var a=" ",o=e.level,s=e.dataLevel,i=e.schema[r],l=e.schemaPath+e.util.getProperty(r),h=e.errSchemaPath+"/"+r,p=!e.opts.allErrors,d="data"+(s||""),n="errs__"+o,c=e.util.copy(e),P="";c.level++;var u="valid"+c.level,v="key"+o,f="idx"+o,m=c.dataLevel=e.dataLevel+1,g="data"+m,y="dataProperties"+o,b=Object.keys(i||{}).filter(x),j=e.schema.patternProperties||{},O=Object.keys(j).filter(x),S=e.schema.additionalProperties,E=b.length||O.length,R=!1===S,k="object"==typeof S&&Object.keys(S).length,w=e.opts.removeAdditional,_=R||k||w,Q=e.opts.ownProperties,A=e.baseId,D=e.schema.required;if(D&&(!e.opts.$data||!D.$data)&&D.length8)a+=" || validate.schema"+l+".hasOwnProperty("+v+") ";else{var I=b;if(I)for(var L=-1,H=I.length-1;L0||!1===Y:e.util.schemaHasRules(Y,e.RULES.all)){var Z=e.util.getProperty(M),ee=(B=d+Z,G&&void 0!==Y.default);c.schema=Y,c.schemaPath=l+Z,c.errSchemaPath=h+"/"+e.util.escapeFragment(M),c.errorPath=e.util.getPath(e.errorPath,M,e.opts.jsonPointers),c.dataPathArr[m]=e.util.toQuotedString(M);C=e.validate(c);if(c.baseId=A,e.util.varOccurences(C,g)<2){C=e.util.varReplace(C,g,B);var re=B}else{re=g;a+=" var "+g+" = "+B+"; "}if(ee)a+=" "+C+" ";else{if(q&&q[M]){a+=" if ( "+re+" === undefined ",Q&&(a+=" || ! Object.prototype.hasOwnProperty.call("+d+", '"+e.util.escapeQuotes(M)+"') "),a+=") { "+u+" = false; ";V=e.errorPath,N=h;var te,ae=e.util.escapeQuotes(M);e.opts._errorDataPathProperty&&(e.errorPath=e.util.getPath(V,M,e.opts.jsonPointers)),h=e.errSchemaPath+"/required",(te=te||[]).push(a),a="",!1!==e.createErrors?(a+=" { keyword: 'required' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(h)+" , params: { missingProperty: '"+ae+"' } ",!1!==e.opts.messages&&(a+=" , message: '",e.opts._errorDataPathProperty?a+="is a required property":a+="should have required property \\'"+ae+"\\'",a+="' "),e.opts.verbose&&(a+=" , schema: validate.schema"+l+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),a+=" } "):a+=" {} ";T=a;a=te.pop(),!e.compositeRule&&p?e.async?a+=" throw new ValidationError(["+T+"]); ":a+=" validate.errors = ["+T+"]; return false; ":a+=" var err = "+T+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",h=N,e.errorPath=V,a+=" } else { "}else p?(a+=" if ( "+re+" === undefined ",Q&&(a+=" || ! Object.prototype.hasOwnProperty.call("+d+", '"+e.util.escapeQuotes(M)+"') "),a+=") { "+u+" = true; } else { "):(a+=" if ("+re+" !== undefined ",Q&&(a+=" && Object.prototype.hasOwnProperty.call("+d+", '"+e.util.escapeQuotes(M)+"') "),a+=" ) { ");a+=" "+C+" } "}}p&&(a+=" if ("+u+") { ",P+="}")}}if(O.length){var oe=O;if(oe)for(var se,ie=-1,le=oe.length-1;ie0||!1===Y:e.util.schemaHasRules(Y,e.RULES.all)){c.schema=Y,c.schemaPath=e.schemaPath+".patternProperties"+e.util.getProperty(se),c.errSchemaPath=e.errSchemaPath+"/patternProperties/"+e.util.escapeFragment(se),a+=Q?" "+y+" = "+y+" || Object.keys("+d+"); for (var "+f+"=0; "+f+"<"+y+".length; "+f+"++) { var "+v+" = "+y+"["+f+"]; ":" for (var "+v+" in "+d+") { ",a+=" if ("+e.usePattern(se)+".test("+v+")) { ",c.errorPath=e.util.getPathExpr(e.errorPath,v,e.opts.jsonPointers);B=d+"["+v+"]";c.dataPathArr[m]=v;C=e.validate(c);c.baseId=A,e.util.varOccurences(C,g)<2?a+=" "+e.util.varReplace(C,g,B)+" ":a+=" var "+g+" = "+B+"; "+C+" ",p&&(a+=" if (!"+u+") break; "),a+=" } ",p&&(a+=" else "+u+" = true; "),a+=" } ",p&&(a+=" if ("+u+") { ",P+="}")}}}return p&&(a+=" "+P+" if ("+n+" == errors) {"),a}; },{}],"XxjR":[function(require,module,exports) { "use strict";module.exports=function(r,e,a){var t=" ",s=r.level,o=r.dataLevel,l=r.schema[e],i=r.schemaPath+r.util.getProperty(e),v=r.errSchemaPath+"/"+e,c=!r.opts.allErrors,p="data"+(o||""),m="errs__"+s,h=r.util.copy(r);h.level++;var d="valid"+h.level;if(t+="var "+m+" = errors;",r.opts.strictKeywords?"object"==typeof l&&Object.keys(l).length>0||!1===l:r.util.schemaHasRules(l,r.RULES.all)){h.schema=l,h.schemaPath=i,h.errSchemaPath=v;var u="key"+s,n="idx"+s,y="i"+s,E="' + "+u+" + '",P="data"+(h.dataLevel=r.dataLevel+1),f="dataProperties"+s,R=r.opts.ownProperties,b=r.baseId;R&&(t+=" var "+f+" = undefined; "),t+=R?" "+f+" = "+f+" || Object.keys("+p+"); for (var "+n+"=0; "+n+"<"+f+".length; "+n+"++) { var "+u+" = "+f+"["+n+"]; ":" for (var "+u+" in "+p+") { ",t+=" var startErrs"+s+" = errors; ";var g=u,k=r.compositeRule;r.compositeRule=h.compositeRule=!0;var w=r.validate(h);h.baseId=b,r.util.varOccurences(w,P)<2?t+=" "+r.util.varReplace(w,P,g)+" ":t+=" var "+P+" = "+g+"; "+w+" ",r.compositeRule=h.compositeRule=k,t+=" if (!"+d+") { for (var "+y+"=startErrs"+s+"; "+y+"0||!1===f:r.util.schemaHasRules(f,r.RULES.all))||(c[c.length]=v)}}else c=i;if(P||c.length){var E=r.errorPath,q=P||c.length>=r.opts.loopRequired,w=r.opts.ownProperties;if(l)if(t+=" var missing"+s+"; ",q){P||(t+=" var "+n+" = validate.schema"+h+"; ");var b="' + "+(_="schema"+s+"["+(D="i"+s)+"]")+" + '";r.opts._errorDataPathProperty&&(r.errorPath=r.util.getPathExpr(E,_,r.opts.jsonPointers)),t+=" var "+u+" = true; ",P&&(t+=" if (schema"+s+" === undefined) "+u+" = true; else if (!Array.isArray(schema"+s+")) "+u+" = false; else {"),t+=" for (var "+D+" = 0; "+D+" < "+n+".length; "+D+"++) { "+u+" = "+d+"["+n+"["+D+"]] !== undefined ",w&&(t+=" && Object.prototype.hasOwnProperty.call("+d+", "+n+"["+D+"]) "),t+="; if (!"+u+") break; } ",P&&(t+=" } "),t+=" if (!"+u+") { ",(Q=Q||[]).push(t),t="",!1!==r.createErrors?(t+=" { keyword: 'required' , dataPath: (dataPath || '') + "+r.errorPath+" , schemaPath: "+r.util.toQuotedString(p)+" , params: { missingProperty: '"+b+"' } ",!1!==r.opts.messages&&(t+=" , message: '",r.opts._errorDataPathProperty?t+="is a required property":t+="should have required property \\'"+b+"\\'",t+="' "),r.opts.verbose&&(t+=" , schema: validate.schema"+h+" , parentSchema: validate.schema"+r.schemaPath+" , data: "+d+" "),t+=" } "):t+=" {} ";var S=t;t=Q.pop(),!r.compositeRule&&l?r.async?t+=" throw new ValidationError(["+S+"]); ":t+=" validate.errors = ["+S+"]; return false; ":t+=" var err = "+S+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+=" } else { "}else{t+=" if ( ";var j=c;if(j)for(var D=-1,O=j.length-1;D 1) { ";var f=e.schema.items&&e.schema.items.type,v=Array.isArray(f);if(!f||"object"==f||"array"==f||v&&(f.indexOf("object")>=0||f.indexOf("array")>=0))i+=" outer: for (;i--;) { for (j = i; j--;) { if (equal("+d+"[i], "+d+"[j])) { "+h+" = false; break outer; } } } ";else{i+=" var itemIndices = {}, item; for (;i--;) { var item = "+d+"[i]; ";var p="checkDataType"+(v?"s":"");i+=" if ("+e.util[p](f,"item",e.opts.strictNumbers,!0)+") continue; ",v&&(i+=" if (typeof item == 'string') item = '\"' + item; "),i+=" if (typeof itemIndices[item] == 'number') { "+h+" = false; j = itemIndices[item]; break; } itemIndices[item] = i; } "}i+=" } ",n&&(i+=" } "),i+=" if (!"+h+") { ";var y=y||[];y.push(i),i="",!1!==e.createErrors?(i+=" { keyword: 'uniqueItems' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { i: i, j: j } ",!1!==e.opts.messages&&(i+=" , message: 'should NOT have duplicate items (items ## ' + j + ' and ' + i + ' are identical)' "),e.opts.verbose&&(i+=" , schema: ",i+=n?"validate.schema"+l:""+m,i+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+d+" "),i+=" } "):i+=" {} ";var j=i;i=y.pop(),!e.compositeRule&&u?e.async?i+=" throw new ValidationError(["+j+"]); ":i+=" validate.errors = ["+j+"]; return false; ":i+=" var err = "+j+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+=" } ",u&&(i+=" else { ")}else u&&(i+=" if (true) { ");return i}; },{}],"Czyc":[function(require,module,exports) { "use strict";module.exports={$ref:require("./ref"),allOf:require("./allOf"),anyOf:require("./anyOf"),$comment:require("./comment"),const:require("./const"),contains:require("./contains"),dependencies:require("./dependencies"),enum:require("./enum"),format:require("./format"),if:require("./if"),items:require("./items"),maximum:require("./_limit"),minimum:require("./_limit"),maxItems:require("./_limitItems"),minItems:require("./_limitItems"),maxLength:require("./_limitLength"),minLength:require("./_limitLength"),maxProperties:require("./_limitProperties"),minProperties:require("./_limitProperties"),multipleOf:require("./multipleOf"),not:require("./not"),oneOf:require("./oneOf"),pattern:require("./pattern"),properties:require("./properties"),propertyNames:require("./propertyNames"),required:require("./required"),uniqueItems:require("./uniqueItems"),validate:require("./validate")}; },{"./ref":"a2na","./allOf":"hRgn","./anyOf":"lo6J","./comment":"Kkzr","./const":"U4sD","./contains":"EypH","./dependencies":"Cpp7","./enum":"fqDY","./format":"avoW","./if":"JHQ3","./items":"aiPb","./_limit":"UJAl","./_limitItems":"W8ih","./_limitLength":"fZGX","./_limitProperties":"JAEr","./multipleOf":"oNPH","./not":"mmjm","./oneOf":"SSWF","./pattern":"mGZS","./properties":"jFnx","./propertyNames":"XxjR","./required":"Dht1","./uniqueItems":"mmFQ","./validate":"yhC1"}],"vBP0":[function(require,module,exports) { "use strict";var e=require("../dotjs"),t=require("./util").toHash;module.exports=function(){var n=[{type:"number",rules:[{maximum:["exclusiveMaximum"]},{minimum:["exclusiveMinimum"]},"multipleOf","format"]},{type:"string",rules:["maxLength","minLength","pattern","format"]},{type:"array",rules:["maxItems","minItems","items","contains","uniqueItems"]},{type:"object",rules:["maxProperties","minProperties","required","dependencies","propertyNames",{properties:["additionalProperties","patternProperties"]}]},{rules:["$ref","const","enum","not","anyOf","oneOf","allOf","if"]}],r=["type","$comment"];return n.all=t(r),n.types=t(["number","integer","string","array","object","boolean","null"]),n.forEach(function(t){t.rules=t.rules.map(function(t){var i;if("object"==typeof t){var o=Object.keys(t)[0];i=t[o],t=o,i.forEach(function(e){r.push(e),n.all[e]=!0})}return r.push(t),n.all[t]={keyword:t,code:e[t],implements:i}}),n.all.$comment={keyword:"$comment",code:e.$comment},t.type&&(n.types[t.type]=t)}),n.keywords=t(r.concat(["$schema","$id","id","$data","$async","title","description","default","definitions","examples","readOnly","writeOnly","contentMediaType","contentEncoding","additionalItems","then","else"])),n.custom={},n}; },{"../dotjs":"Czyc","./util":"Q1F7"}],"BunE":[function(require,module,exports) { "use strict";var e=["multipleOf","maximum","exclusiveMaximum","minimum","exclusiveMinimum","maxLength","minLength","pattern","additionalItems","maxItems","minItems","uniqueItems","maxProperties","minProperties","required","additionalProperties","enum","format","const"];module.exports=function(t,i){for(var r=0;rn||r&&e==n)throw new Error("There are no numbers in range")}(r,i,o),!0===o?{exclusiveMinimum:r,exclusiveMaximum:i}:{minimum:r,maximum:i}},metaSchema:{type:"array",minItems:2,maxItems:2,items:{type:"number"}}},n.addKeyword("range",e.definition),n.addKeyword("exclusiveRange"),n}; },{}],"AtCq":[function(require,module,exports) { "use strict";module.exports=function e(t){return e.definition={type:"string",inline:function(e,t,r){return function(){try{if("object"==typeof r)return new RegExp(r.pattern,r.flags);var e=r.match(/^\/(.*)\/([gimuy]*)$/);if(e)return new RegExp(e[1],e[2]);throw new Error("cannot parse string into RegExp")}catch(t){throw console.error("regular expression",r,"is invalid"),t}}()+".test(data"+(e.dataLevel||"")+")"},metaSchema:{type:["string","object"],properties:{pattern:{type:"string"},flags:{type:"string"}},required:["pattern"],additionalProperties:!1}},t.addKeyword("regexp",e.definition),t}; },{}],"yoml":[function(require,module,exports) { "use strict";var e=["undefined","string","number","object","function","boolean","symbol"];module.exports=function t(n){return t.definition={inline:function(e,t,n){var i="data"+(e.dataLevel||"");return"string"==typeof n?"typeof "+i+' == "'+n+'"':(n="validate.schema"+e.schemaPath+"."+t)+".indexOf(typeof "+i+") >= 0"},metaSchema:{anyOf:[{type:"string",enum:e},{type:"array",items:{type:"string",enum:e}}]}},n.addKeyword("typeof",t.definition),n}; },{}],"FbE8":[function(require,module,exports) { "use strict";var t={},n={timestamp:function(){return Date.now()},datetime:function(){return(new Date).toISOString()},date:function(){return(new Date).toISOString().slice(0,10)},time:function(){return(new Date).toISOString().slice(11)},random:function(){return Math.random()},randomint:function(t){var n=t&&t.max||2;return function(){return Math.floor(Math.random()*n)}},seq:function(n){var r=n&&n.name||"";return t[r]=t[r]||0,function(){return t[r]++}}};module.exports=function t(r){return t.definition={compile:function(t,n,r){var i={};for(var o in t){var u=t[o],a=e("string"==typeof u?u:u.func);i[o]=a.length?a(u.args):a}return r.opts.useDefaults&&!r.compositeRule?function(n){for(var e in t)void 0!==n[e]&&("empty"!=r.opts.useDefaults||null!==n[e]&&""!==n[e])||(n[e]=i[e]());return!0}:function(){return!0}},DEFAULTS:n,metaSchema:{type:"object",additionalProperties:{type:["string","object"],additionalProperties:!1,required:["func","args"],properties:{func:{type:"string"},args:{type:"object"}}}}},r.addKeyword("dynamicDefaults",t.definition),r;function e(t){var r=n[t];if(r)return r;throw new Error('invalid "dynamicDefaults" keyword property value: '+t)}}; },{}],"CJDR":[function(require,module,exports) { "use strict";module.exports=function e(r){return e.definition={type:"object",macro:function(e,r){if(!e)return!0;var t=Object.keys(r.properties);return 0==t.length||{required:t}},metaSchema:{type:"boolean"},dependencies:["properties"]},r.addKeyword("allRequired",e.definition),r}; },{}],"n1DR":[function(require,module,exports) { "use strict";module.exports=function e(t){return e.definition={type:"object",macro:function(e){return 0==e.length||(1==e.length?{required:e}:{anyOf:e.map(function(e){return{required:[e]}})})},metaSchema:{type:"array",items:{type:"string"}}},t.addKeyword("anyRequired",e.definition),t}; },{}],"XrCF":[function(require,module,exports) { "use strict";module.exports=function e(t){return e.definition={type:"object",macro:function(e){return 0==e.length||(1==e.length?{required:e}:{oneOf:e.map(function(e){return{required:[e]}})})},metaSchema:{type:"array",items:{type:"string"}}},t.addKeyword("oneRequired",e.definition),t}; },{}],"MFGI":[function(require,module,exports) { "use strict";module.exports=function e(t){return e.definition={type:"object",macro:function(e){return 0==e.length||(1==e.length?{not:{required:e}}:{not:{anyOf:e.map(function(e){return{required:[e]}})}})},metaSchema:{type:"array",items:{type:"string"}}},t.addKeyword("prohibited",e.definition),t}; },{}],"m7Ap":[function(require,module,exports) { "use strict";var e=["number","integer","string","boolean","null"];function r(r,t){return r.map(function(r){var n=t.items&&t.items.properties,i=n&&n[r]&&n[r].type;return Array.isArray(i)?i.indexOf("object")<0&&i.indexOf("array")<0:e.indexOf(i)>=0})}module.exports=function e(t){return e.definition={type:"array",compile:function(e,t,n){var i=n.util.equal,o=r(e,t);return function(r){if(r.length>1)for(var t=0;t",$="result"+s,Q=e.opts.$data&&i&&i.$data;if(Q?(t+=" var schema"+s+" = "+e.util.getData(i.$data,o,e.dataPathArr)+"; ",g="schema"+s):g=i,y){var b=e.util.getData(x.$data,o,e.dataPathArr),w="exclusive"+s,A="' + "+(M="op"+s)+" + '";t+=" var schemaExcl"+s+" = "+b+"; ",t+=" if (typeof "+(b="schemaExcl"+s)+" != 'boolean' && "+b+" !== undefined) { "+f+" = false; ";var D=E;(k=k||[]).push(t),t="",!1!==e.createErrors?(t+=" { keyword: '"+(D||"_formatExclusiveLimit")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: {} ",!1!==e.opts.messages&&(t+=" , message: '"+E+" should be boolean' "),e.opts.verbose&&(t+=" , schema: validate.schema"+l+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+m+" "),t+=" } "):t+=" {} ";var L=t;t=k.pop(),!e.compositeRule&&d?e.async?t+=" throw new ValidationError(["+L+"]); ":t+=" validate.errors = ["+L+"]; return false; ":t+=" var err = "+L+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+=" } ",d&&(c+="}",t+=" else { "),Q&&(t+=" if ("+g+" === undefined) "+f+" = true; else if (typeof "+g+" != 'string') "+f+" = false; else { ",c+="}"),h&&(t+=" if (!"+p+") "+f+" = true; else { ",c+="}"),t+=" var "+$+" = "+p+"("+m+", ",t+=Q?""+g:""+e.util.toQuotedString(i),t+=" ); if ("+$+" === undefined) "+f+" = false; var "+w+" = "+b+" === true; if ("+f+" === undefined) { "+f+" = "+w+" ? "+$+" "+S+" 0 : "+$+" "+S+"= 0; } if (!"+f+") var op"+s+" = "+w+" ? '"+S+"' : '"+S+"=';"}else{A=S;(w=!0===x)||(A+="=");var M="'"+A+"'";Q&&(t+=" if ("+g+" === undefined) "+f+" = true; else if (typeof "+g+" != 'string') "+f+" = false; else { ",c+="}"),h&&(t+=" if (!"+p+") "+f+" = true; else { ",c+="}"),t+=" var "+$+" = "+p+"("+m+", ",t+=Q?""+g:""+e.util.toQuotedString(i),t+=" ); if ("+$+" === undefined) "+f+" = false; if ("+f+" === undefined) "+f+" = "+$+" "+S,w||(t+="="),t+=" 0;"}t+=c+"if (!"+f+") { ";var k;D=a;(k=k||[]).push(t),t="",!1!==e.createErrors?(t+=" { keyword: '"+(D||"_formatLimit")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(u)+" , params: { comparison: "+M+", limit: ",t+=Q?""+g:""+e.util.toQuotedString(i),t+=" , exclusive: "+w+" } ",!1!==e.opts.messages&&(t+=" , message: 'should be "+A+' "',t+=Q?"' + "+g+" + '":""+e.util.escapeQuotes(i),t+="\"' "),e.opts.verbose&&(t+=" , schema: ",t+=Q?"validate.schema"+l:""+e.util.toQuotedString(i),t+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+m+" "),t+=" } "):t+=" {} ";L=t;return t=k.pop(),!e.compositeRule&&d?e.async?t+=" throw new ValidationError(["+L+"]); ":t+=" validate.errors = ["+L+"]; return false; ":t+=" var err = "+L+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",t+="}"}; },{}],"mYD7":[function(require,module,exports) { "use strict";var t=/^(\d\d):(\d\d):(\d\d)(\.\d+)?(z|[+-]\d\d:\d\d)?$/i,e=/t|\s/i,i={date:n,time:o,"date-time":d},r={type:"object",required:["$data"],properties:{$data:{type:"string",anyOf:[{format:"relative-json-pointer"},{format:"json-pointer"}]}},additionalProperties:!1};function a(t){var e=t._formats;for(var r in i){var a=e[r];("object"!=typeof a||a instanceof RegExp||!a.validate)&&(a=e[r]={validate:a}),a.compare||(a.compare=i[r])}}function n(t,e){if(t&&e)return t>e?1:t(i=i[1]+i[2]+i[3]+(i[4]||""))?1:e0:e.util.schemaHasRules(y.if,e.RULES.all))){s+=" var "+d+" = errors; ";var R=e.compositeRule;if(e.compositeRule=m.compositeRule=!0,m.createErrors=!1,m.schema=y.if,m.schemaPath=l+"["+b+"].if",m.errSchemaPath=i+"/"+b+"/if",s+=" "+e.validate(m)+" ",m.baseId=E,m.createErrors=!0,e.compositeRule=m.compositeRule=R,s+=" "+P+" = "+f+"; if ("+P+") { ","boolean"==typeof y.then){if(!1===y.then){(I=I||[]).push(s),s="",!1!==e.createErrors?(s+=" { keyword: 'switch' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(i)+" , params: { caseIndex: "+b+" } ",!1!==e.opts.messages&&(s+=" , message: 'should pass \"switch\" keyword validation' "),e.opts.verbose&&(s+=" , schema: validate.schema"+l+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+v+" "),s+=" } "):s+=" {} ";var S=s;s=I.pop(),!e.compositeRule&&c?e.async?s+=" throw new ValidationError(["+S+"]); ":s+=" validate.errors = ["+S+"]; return false; ":s+=" var err = "+S+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}s+=" var "+f+" = "+y.then+"; "}else m.schema=y.then,m.schemaPath=l+"["+b+"].then",m.errSchemaPath=i+"/"+b+"/then",s+=" "+e.validate(m)+" ",m.baseId=E;s+=" } else { errors = "+d+"; if (vErrors !== null) { if ("+d+") vErrors.length = "+d+"; else vErrors = null; } } "}else if(s+=" "+P+" = true; ","boolean"==typeof y.then){if(!1===y.then){var I;(I=I||[]).push(s),s="",!1!==e.createErrors?(s+=" { keyword: 'switch' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(i)+" , params: { caseIndex: "+b+" } ",!1!==e.opts.messages&&(s+=" , message: 'should pass \"switch\" keyword validation' "),e.opts.verbose&&(s+=" , schema: validate.schema"+l+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+v+" "),s+=" } "):s+=" {} ";S=s;s=I.pop(),!e.compositeRule&&c?e.async?s+=" throw new ValidationError(["+S+"]); ":s+=" validate.errors = ["+S+"]; return false; ":s+=" var err = "+S+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}s+=" var "+f+" = "+y.then+"; "}else m.schema=y.then,m.schemaPath=l+"["+b+"].then",m.errSchemaPath=i+"/"+b+"/then",s+=" "+e.validate(m)+" ",m.baseId=E;u=y.continue}return s+=p+"var "+n+" = "+f+";"}; },{}],"KC2b":[function(require,module,exports) { "use strict";var e=require("./_util");module.exports=function i(t){if(!t.RULES.keywords.switch||!t.RULES.keywords.if){var r=e.metaSchemaRef(t);return i.definition={inline:require("./dotjs/switch"),statements:!0,errors:"full",metaSchema:{type:"array",items:{required:["then"],properties:{if:r,then:{anyOf:[{type:"boolean"},r]},continue:{type:"boolean"}},additionalProperties:!1,dependencies:{continue:["if"]}}}},t.addKeyword("switch",i.definition),t}}; },{"./_util":"R4Fp","./dotjs/switch":"mlCb"}],"mwue":[function(require,module,exports) { "use strict";var e=require("./_util");module.exports=function r(t){if(!t._opts.$data)return console.warn("keyword select requires $data option"),t;var a=e.metaSchemaRef(t),n=[];return r.definition={validate:function e(r,t,a){if(void 0===a.selectCases)throw new Error('keyword "selectCases" is absent');var n=o(a,!1),i=n.cases[r];if(void 0===i&&(i=n.default),"boolean"==typeof i)return i;var s=i(t);return s||(e.errors=i.errors),s},$data:!0,metaSchema:{type:["string","number","boolean","null"]}},t.addKeyword("select",r.definition),t.addKeyword("selectCases",{compile:function(e,r){var t=o(r);for(var a in e)t.cases[a]=i(e[a]);return function(){return!0}},valid:!0,metaSchema:{type:"object",additionalProperties:a}}),t.addKeyword("selectDefault",{compile:function(e,r){return o(r).default=i(e),function(){return!0}},valid:!0,metaSchema:a}),t;function o(e,r){var t;return n.some(function(r){if(r.parentSchema===e)return t=r,!0}),t||!1===r||(t={parentSchema:e,cases:{},default:!0},n.push(t)),t}function i(e){return"boolean"==typeof e?e:t.compile(e)}}; },{"./_util":"R4Fp"}],"selR":[function(require,module,exports) { "use strict";module.exports=function e(r){var n={trimLeft:function(e){return e.replace(/^[\s]+/,"")},trimRight:function(e){return e.replace(/[\s]+$/,"")},trim:function(e){return e.trim()},toLowerCase:function(e){return e.toLowerCase()},toUpperCase:function(e){return e.toUpperCase()},toEnumCase:function(e,r){return r.hash[t(e)]||e}};return e.definition={type:"string",errors:!1,modifying:!0,valid:!0,compile:function(e,r){var i;if(-1!==e.indexOf("toEnumCase")){if(i={hash:{}},!r.enum)throw new Error('Missing enum. To use `transform:["toEnumCase"]`, `enum:[...]` is required.');for(var o=r.enum.length;o--;o){var u=r.enum[o];if("string"==typeof u){var s=t(u);if(i.hash[s])throw new Error('Invalid enum uniqueness. To use `transform:["toEnumCase"]`, all values must be unique when case insensitive.');i.hash[s]=u}}}return function(r,t,o,u){if(o){for(var s=0,a=e.length;s=r.length?{done:!0}:{done:!1,value:r[t++]}},e:function(r){throw r},f:e}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a,i=!0,u=!1;return{s:function(){o=r[Symbol.iterator]()},n:function(){var r=o.next();return i=r.done,r},e:function(r){u=!0,a=r},f:function(){try{i||null==o.return||o.return()}finally{if(u)throw a}}}}function t(r){return a(r)||o(r)||n(r)||e()}function e(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function n(r,t){if(r){if("string"==typeof r)return i(r,t);var e=Object.prototype.toString.call(r).slice(8,-1);return"Object"===e&&r.constructor&&(e=r.constructor.name),"Map"===e||"Set"===e?Array.from(e):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?i(r,t):void 0}}function o(r){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(r))return Array.from(r)}function a(r){if(Array.isArray(r))return i(r)}function i(r,t){(null==t||t>r.length)&&(t=r.length);for(var e=0,n=new Array(t);e0)throw new c.default(o,r,n)}function h(r,t){var e=s.compile(r);return e(t)?[]:e.errors?m(e.errors):[]}function m(t){var e,n=[],o=r(t);try{var a=function(){var r=e.value,t=r.dataPath,o=[];n=n.filter(function(r){return!r.dataPath.includes(t)||(r.children&&(o=o.concat(r.children.slice(0))),r.children=void 0,o.push(r),!1)}),o.length&&(r.children=o),n.push(r)};for(o.s();!(e=o.n()).done;)a()}catch(i){o.e(i)}finally{o.f()}return n}d(s,["instanceof","formatMinimum","formatMaximum","patternRequired"]),(0,u.default)(s); },{"./keywords/absolutePath":"iIhC","./ValidationError":"ySUA","ajv":"hi5j","ajv-keywords":"n1A8"}],"pA46":[function(require,module,exports) { "use strict";var a=require("./validate"),r=a.validate,i=a.ValidationError;module.exports={validate:r,ValidationError:i}; },{"./validate":"STvH"}],"t7hQ":[function(require,module,exports) { function r(r,n){return i(r)||o(r,n)||e(r,n)||t()}function t(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function e(r,t){if(r){if("string"==typeof r)return n(r,t);var e=Object.prototype.toString.call(r).slice(8,-1);return"Object"===e&&r.constructor&&(e=r.constructor.name),"Map"===e||"Set"===e?Array.from(e):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?n(r,t):void 0}}function n(r,t){(null==t||t>r.length)&&(t=r.length);for(var e=0,n=new Array(t);e",o=e.cwd();module.exports={filerDir:{process:function(e){return e?r.resolve(e.replace(s,o)):r.join(o,"node_modules","filer")}},shimsDir:{process:function(e){return e?r.resolve(e.replace(s,o)):r.join(o,"node_modules","filer","shims")}},fsProviderDir:{process:function(e){return e?r.resolve(e.replace(s,o)):r.join(o,"node_modules","filer","shims","providers")}},shimFs:{default:!0},shimPath:{default:!0},fsProvider:{default:"default"}}; },{"path":"UUq2","process":"pBGv"}],"Ge14":[function(require,module,exports) { function e(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}function r(e,r){for(var i=0;i0&&void 0!==arguments[0]?arguments[0]:{};e(this,r),s.validateOptions(i,n),this.options=s.processOptions(i,a)}return i(r,[{key:"apply",value:function(e){var r=this;e.hooks.normalModuleFactory.tap(t,function(e){e.hooks.resolve.tap(t,function(e){if("fsProvider"===e.request&&e.context===r.options.shimsDir)return r.resolveFsProvider(e);if(!e.context.startsWith(r.options.filerDir))switch(e.request){case"fs":if(!r.options.shimFs)return;return r.applyFsShim(e);case"path":if(!r.options.shimPath)return;return r.applyPathShim(e);default:return}})})}},{key:"resolveFsProvider",value:function(e){switch(this.options.fsProvider){case"default":e.request=o.join(this.options.fsProviderDir,"default.js");break;case"indexeddb":e.request=o.join(this.options.fsProviderDir,"indexeddb.js");break;case"memory":e.request=o.join(this.options.fsProviderDir,"memory.js");break;case"custom":e.request=o.join(this.options.fsProviderDir,"custom.js");break;default:throw new Error(["Invalid option for fsProvider.","fsProvider must be one of 'default', 'indexeddb', 'memory' or 'custom'.","If using a custom fsProvider, you must also provide the fsProviderDir option."].join(" "))}}},{key:"applyFsShim",value:function(e){e.request=o.join(this.options.shimsDir,"fs.js")}},{key:"applyPathShim",value:function(e){e.request=o.join(this.options.shimsDir,"path.js")}}]),r}(); },{"path":"UUq2","./utils":"t7hQ","./schema":"uYXM","./processors":"qUtu"}],"Focm":[function(require,module,exports) { var Buffer = require("buffer").Buffer; var e=require("buffer").Buffer,r=null,l=null;module.exports=l={FileSystem:require("./filesystem/interface.js"),Buffer:e,Path:require("./path.js"),path:require("./path.js"),Errors:require("./errors.js"),Shell:require("./shell/shell.js"),FilerWebpackPlugin:require("./webpack-plugin")},Object.defineProperty(l,"fs",{enumerable:!0,get:function(){return r||(r=new l.FileSystem),r}}); },{"./filesystem/interface.js":"GMi4","./path.js":"UzoP","./errors.js":"p8GN","./shell/shell.js":"D1Ra","./webpack-plugin":"Ge14","buffer":"dskh"}]},{},["Focm"], "Filer") //# sourceMappingURL=/filer.min.js.map