@codesandbox/sandpack-client
Version:
<img style="width:100%" src="https://user-images.githubusercontent.com/4838076/143581035-ebee5ba2-9cb1-4fe8-a05b-2f44bd69bb4b.gif" alt="Component toolkit for live running code editing experiences" />
1 lines • 716 kB
JavaScript
(this.csbJsonP=this.csbJsonP||[]).push([[2],{"../../node_modules/@jest/source-map/build/getCallsite.js":function(e,t,n){var r,o,i;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,o=[],void 0===(i="function"==typeof(r=function(){"use strict";function e(){const t=i(n("../../node_modules/graceful-fs/graceful-fs.js"));return e=function(){return t},t}function r(){const e=i(n("../../node_modules/callsites/index.js"));return r=function(){return e},e}function o(){const e=n("../../node_modules/source-map/source-map.js");return o=function(){return e},e}function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default=(t,n)=>{const i=t+1,s=(0,r().default)()[i],a=n&&n[s.getFileName()||""];if(a)try{const t=e().default.readFileSync(a,"utf8");((e,t)=>{const n=e.getLineNumber,r=e.getColumnNumber;let o=null;function i(){return o||(o=t.originalPositionFor({column:r.call(e)||-1,line:n.call(e)||-1})),o}Object.defineProperties(e,{getColumnNumber:{value:()=>i().column||r.call(e),writable:!1},getLineNumber:{value:()=>i().line||n.call(e),writable:!1}})})(s,new(o().SourceMapConsumer)(t))}catch(e){}return s}})?r.apply(t,o):r)||(e.exports=i)},"../../node_modules/@jest/source-map/build/index.js":function(e,t,n){var r,o,i;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,o=[],void 0===(i="function"==typeof(r=function(){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getCallsite",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(t,"SourceMapRegistry",{enumerable:!0,get:function(){return o.SourceMapRegistry}});var e,r=(e=n("../../node_modules/@jest/source-map/build/getCallsite.js"))&&e.__esModule?e:{default:e},o=n("../../node_modules/@jest/source-map/build/types.js")})?r.apply(t,o):r)||(e.exports=i)},"../../node_modules/@jest/source-map/build/types.js":function(e,t,n){var r,o,i;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,o=[],void 0===(i="function"==typeof(r=function(){})?r.apply(t,o):r)||(e.exports=i)},"../../node_modules/arr-diff/index.js":function(e,t,n){"use strict";function r(e,t){if(!Array.isArray(t))return e.slice();for(var n=t.length,r=e.length,o=-1,i=[];++o<r;){for(var s=e[o],a=!1,u=0;u<n;u++){if(s===t[u]){a=!0;break}}!1===a&&i.push(s)}return i}e.exports=function(e){for(var t=arguments.length,n=0;++n<t;)e=r(e,arguments[n]);return e}},"../../node_modules/arr-flatten/index.js":function(e,t,n){"use strict";e.exports=function(e){return function e(t,n){for(var r,o=0,i=t.length;o<i;o++)r=t[o],Array.isArray(r)?e(r,n):n.push(r);return n}(e,[])}},"../../node_modules/arr-union/index.js":function(e,t,n){"use strict";e.exports=function(e){if(!Array.isArray(e))throw new TypeError("arr-union expects the first argument to be an array.");for(var t=arguments.length,n=0;++n<t;){var r=arguments[n];if(r){Array.isArray(r)||(r=[r]);for(var o=0;o<r.length;o++){var i=r[o];e.indexOf(i)>=0||e.push(i)}}}return e}},"../../node_modules/array-unique/index.js":function(e,t,n){"use strict";e.exports=function(e){if(!Array.isArray(e))throw new TypeError("array-unique expects an array.");for(var t=e.length,n=-1;n++<t;)for(var r=n+1;r<e.length;++r)e[n]===e[r]&&e.splice(r--,1);return e},e.exports.immutable=function(t){if(!Array.isArray(t))throw new TypeError("array-unique expects an array.");for(var n=t.length,r=new Array(n),o=0;o<n;o++)r[o]=t[o];return e.exports(r)}},"../../node_modules/assign-symbols/index.js":function(e,t,n){"use strict";e.exports=function(e,t){if(null==e)throw new TypeError("expected first argument to be an object.");if(void 0===t||"undefined"==typeof Symbol)return e;if("function"!=typeof Object.getOwnPropertySymbols)return e;for(var n=Object.prototype.propertyIsEnumerable,r=Object(e),o=arguments.length,i=0;++i<o;)for(var s=Object(arguments[i]),a=Object.getOwnPropertySymbols(s),u=0;u<a.length;u++){var c=a[u];n.call(s,c)&&(r[c]=s[c])}return r}},"../../node_modules/base/index.js":function(e,t,n){"use strict";var r=n("../../node_modules/util/util.js"),o=n("../../node_modules/base/node_modules/define-property/index.js"),i=n("../../node_modules/cache-base/index.js"),s=n("../../node_modules/component-emitter/index.js"),a=n("../../node_modules/isobject/index.js"),u=n("../../node_modules/mixin-deep/index.js"),c=n("../../node_modules/pascalcase/index.js"),l=n("../../node_modules/class-utils/index.js");function f(e){var t=e?i.namespace(e):i,n=[];function f(e,n){if(!(this instanceof f))return new f(e,n);t.call(this,e),this.is("base"),this.initBase(e,n)}return r.inherits(f,t),s(f),f.prototype.initBase=function(t,r){this.options=u({},this.options,r),this.cache=this.cache||{},this.define("registered",{}),e&&(this[e]={}),this.define("_callbacks",this._callbacks),a(t)&&this.visit("set",t),f.run(this,"use",n)},f.prototype.is=function(e){if("string"!=typeof e)throw new TypeError("expected name to be a string");return this.define("is"+c(e),!0),this.define("_name",e),this.define("_appname",e),this},f.prototype.isRegistered=function(e,t){return!!this.registered.hasOwnProperty(e)||(!1!==t&&(this.registered[e]=!0,this.emit("plugin",e)),!1)},f.prototype.use=function(e){return e.call(this,this),this},f.prototype.define=function(e,t){return a(e)?this.visit("define",e):(o(this,e,t),this)},f.prototype.mixin=function(e,t){return f.prototype[e]=t,this},f.prototype.mixins=f.prototype.mixins||[],Object.defineProperty(f.prototype,"base",{configurable:!0,get:function(){return this.parent?this.parent.base:this}}),o(f,"use",(function(e){return n.push(e),f})),o(f,"run",(function(e,t,n){for(var r=n.length,o=0;r--;)e[t](n[o++]);return f})),o(f,"extend",l.extend(f,(function(e,t){return e.prototype.mixins=e.prototype.mixins||[],o(e,"mixin",(function(t){var n=t(e.prototype,e);return"function"==typeof n&&e.prototype.mixins.push(n),e})),o(e,"mixins",(function(t){return f.run(t,"mixin",e.prototype.mixins),e})),e.prototype.mixin=function(t,n){return e.prototype[t]=n,this},f}))),o(f,"mixin",(function(e){var t=e(f.prototype,f);return"function"==typeof t&&f.prototype.mixins.push(t),f})),o(f,"mixins",(function(e){return f.run(e,"mixin",f.prototype.mixins),f})),o(f,"inherit",l.inherit),o(f,"bubble",l.bubble),f}e.exports=f(),e.exports.namespace=f},"../../node_modules/base/node_modules/define-property/index.js":function(e,t,n){"use strict";var r=n("../../node_modules/is-descriptor/index.js");e.exports=function(e,t,n){if("object"!=typeof e&&"function"!=typeof e)throw new TypeError("expected an object or function.");if("string"!=typeof t)throw new TypeError("expected `prop` to be a string.");return r(n)&&("set"in n||"get"in n)?Object.defineProperty(e,t,n):Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:!0,value:n})}},"../../node_modules/cache-base/index.js":function(e,t,n){"use strict";var r=n("../../node_modules/isobject/index.js"),o=n("../../node_modules/component-emitter/index.js"),i=n("../../node_modules/collection-visit/index.js"),s=n("../../node_modules/to-object-path/index.js"),a=n("../../node_modules/union-value/index.js"),u=n("../../node_modules/unset-value/index.js"),c=n("../../node_modules/get-value/index.js"),l=(n("../../node_modules/has-value/index.js"),n("../../node_modules/set-value/index.js"));function f(e){function t(t){e&&(this[e]={}),t&&this.set(t)}return o(t.prototype),t.prototype.set=function(t,n){return Array.isArray(t)&&2===arguments.length&&(t=s(t)),r(t)||Array.isArray(t)?this.visit("set",t):(l(e?this[e]:this,t,n),this.emit("set",t,n)),this},t.prototype.union=function(t,n){Array.isArray(t)&&2===arguments.length&&(t=s(t));var r=e?this[e]:this;return a(r,t,d(n)),this.emit("union",n),this},t.prototype.get=function(t){t=s(arguments);var n=e?this[e]:this,r=c(n,t);return this.emit("get",t,r),r},t.prototype.has=function(t){t=s(arguments);var n=e?this[e]:this,r=c(n,t),o=void 0!==r;return this.emit("has",t,o),o},t.prototype.del=function(t){return Array.isArray(t)?this.visit("del",t):(u(e?this[e]:this,t),this.emit("del",t)),this},t.prototype.clear=function(){e&&(this[e]={})},t.prototype.visit=function(e,t){return i(this,e,t),this},t}function d(e){return e?Array.isArray(e)?e:[e]:[]}e.exports=f(),e.exports.namespace=f},"../../node_modules/callsites/index.js":function(e,t,n){"use strict";const r=()=>{const e=Error.prepareStackTrace;Error.prepareStackTrace=(e,t)=>t;const t=(new Error).stack.slice(1);return Error.prepareStackTrace=e,t};e.exports=r,e.exports.default=r},"../../node_modules/class-utils/index.js":function(e,t,n){"use strict";n("../../node_modules/util/util.js");var r=n("../../node_modules/arr-union/index.js"),o=n("../../node_modules/define-property/index.js"),i=n("../../node_modules/static-extend/index.js"),s=n("../../node_modules/isobject/index.js"),a=e.exports;a.isObject=function(e){return s(e)||"function"==typeof e},a.has=function(e,t){var n=(t=a.arrayify(t)).length;if(a.isObject(e)){for(var r in e)if(t.indexOf(r)>-1)return!0;var o=a.nativeKeys(e);return a.has(o,t)}if(Array.isArray(e)){for(var i=e;n--;)if(i.indexOf(t[n])>-1)return!0;return!1}throw new TypeError("expected an array or object.")},a.hasAll=function(e,t){for(var n=(t=a.arrayify(t)).length;n--;)if(!a.has(e,t[n]))return!1;return!0},a.arrayify=function(e){return e?Array.isArray(e)?e:[e]:[]},a.noop=function(){},a.identity=function(e){return e},a.hasConstructor=function(e){return a.isObject(e)&&void 0!==e.constructor},a.nativeKeys=function(e){if(!a.hasConstructor(e))return[];var t=Object.getOwnPropertyNames(e);return"caller"in e&&t.push("caller"),t},a.getDescriptor=function(e,t){if(!a.isObject(e))throw new TypeError("expected an object.");if("string"!=typeof t)throw new TypeError("expected key to be a string.");return Object.getOwnPropertyDescriptor(e,t)},a.copyDescriptor=function(e,t,n){if(!a.isObject(e))throw new TypeError("expected receiving object to be an object.");if(!a.isObject(t))throw new TypeError("expected providing object to be an object.");if("string"!=typeof n)throw new TypeError("expected name to be a string.");var r=a.getDescriptor(t,n);r&&Object.defineProperty(e,n,r)},a.copy=function(e,t,n){if(!a.isObject(e))throw new TypeError("expected receiving object to be an object.");if(!a.isObject(t))throw new TypeError("expected providing object to be an object.");var r,i=Object.getOwnPropertyNames(t),s=Object.keys(t),u=i.length;for(n=a.arrayify(n);u--;)r=i[u],a.has(s,r)?o(e,r,t[r]):r in e||a.has(n,r)||a.copyDescriptor(e,t,r)},a.inherit=function(e,t,n){if(!a.isObject(e))throw new TypeError("expected receiving object to be an object.");if(!a.isObject(t))throw new TypeError("expected providing object to be an object.");var r=[];for(var o in t)r.push(o),e[o]=t[o];r=r.concat(a.arrayify(n));var i=t.prototype||t,s=e.prototype||e;a.copy(s,i,r)},a.extend=function(){return i.apply(null,arguments)},a.bubble=function(e,t){t=t||[],e.bubble=function(n,o){Array.isArray(o)&&(t=r([],t,o));for(var i=t.length,s=-1;++s<i;){var u=t[s];e.on(u,n.emit.bind(n,u))}a.bubble(n,t)}}},"../../node_modules/collection-visit/index.js":function(e,t,n){"use strict";var r=n("../../node_modules/object-visit/index.js"),o=n("../../node_modules/map-visit/index.js");e.exports=function(e,t,n){var i;if("string"==typeof n&&t in e){var s=[].slice.call(arguments,2);i=e[t].apply(e,s)}else i=Array.isArray(n)?o.apply(null,arguments):r.apply(null,arguments);return void 0!==i?i:e}},"../../node_modules/component-emitter/index.js":function(e,t,n){function r(e){if(e)return function(e){for(var t in r.prototype)e[t]=r.prototype[t];return e}(e)}e.exports=r,r.prototype.on=r.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks["$"+e]=this._callbacks["$"+e]||[]).push(t),this},r.prototype.once=function(e,t){function n(){this.off(e,n),t.apply(this,arguments)}return n.fn=t,this.on(e,n),this},r.prototype.off=r.prototype.removeListener=r.prototype.removeAllListeners=r.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var n,r=this._callbacks["$"+e];if(!r)return this;if(1==arguments.length)return delete this._callbacks["$"+e],this;for(var o=0;o<r.length;o++)if((n=r[o])===t||n.fn===t){r.splice(o,1);break}return 0===r.length&&delete this._callbacks["$"+e],this},r.prototype.emit=function(e){this._callbacks=this._callbacks||{};for(var t=new Array(arguments.length-1),n=this._callbacks["$"+e],r=1;r<arguments.length;r++)t[r-1]=arguments[r];if(n){r=0;for(var o=(n=n.slice(0)).length;r<o;++r)n[r].apply(this,t)}return this},r.prototype.listeners=function(e){return this._callbacks=this._callbacks||{},this._callbacks["$"+e]||[]},r.prototype.hasListeners=function(e){return!!this.listeners(e).length}},"../../node_modules/console/es/index.js":function(e,t,n){"use strict";n.r(t);for(var r=void 0,o=function(){},i=["assert","clear","count","debug","dir","dirxml","error","exception","group","groupCollapsed","groupEnd","info","log","markTimeline","profile","profileEnd","table","time","timeEnd","timeStamp","trace","warn"],s=i.length;s--;)r=i[s],console[r]||(console[r]=o);t.default=console},"../../node_modules/constants-browserify/constants.json":function(e){e.exports=JSON.parse('{"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_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,"E2BIG":7,"EACCES":13,"EADDRINUSE":48,"EADDRNOTAVAIL":49,"EAFNOSUPPORT":47,"EAGAIN":35,"EALREADY":37,"EBADF":9,"EBADMSG":94,"EBUSY":16,"ECANCELED":89,"ECHILD":10,"ECONNABORTED":53,"ECONNREFUSED":61,"ECONNRESET":54,"EDEADLK":11,"EDESTADDRREQ":39,"EDOM":33,"EDQUOT":69,"EEXIST":17,"EFAULT":14,"EFBIG":27,"EHOSTUNREACH":65,"EIDRM":90,"EILSEQ":92,"EINPROGRESS":36,"EINTR":4,"EINVAL":22,"EIO":5,"EISCONN":56,"EISDIR":21,"ELOOP":62,"EMFILE":24,"EMLINK":31,"EMSGSIZE":40,"EMULTIHOP":95,"ENAMETOOLONG":63,"ENETDOWN":50,"ENETRESET":52,"ENETUNREACH":51,"ENFILE":23,"ENOBUFS":55,"ENODATA":96,"ENODEV":19,"ENOENT":2,"ENOEXEC":8,"ENOLCK":77,"ENOLINK":97,"ENOMEM":12,"ENOMSG":91,"ENOPROTOOPT":42,"ENOSPC":28,"ENOSR":98,"ENOSTR":99,"ENOSYS":78,"ENOTCONN":57,"ENOTDIR":20,"ENOTEMPTY":66,"ENOTSOCK":38,"ENOTSUP":45,"ENOTTY":25,"ENXIO":6,"EOPNOTSUPP":102,"EOVERFLOW":84,"EPERM":1,"EPIPE":32,"EPROTO":100,"EPROTONOSUPPORT":43,"EPROTOTYPE":41,"ERANGE":34,"EROFS":30,"ESPIPE":29,"ESRCH":3,"ESTALE":70,"ETIME":101,"ETIMEDOUT":60,"ETXTBSY":26,"EWOULDBLOCK":35,"EXDEV":18,"SIGHUP":1,"SIGINT":2,"SIGQUIT":3,"SIGILL":4,"SIGTRAP":5,"SIGABRT":6,"SIGIOT":6,"SIGBUS":10,"SIGFPE":8,"SIGKILL":9,"SIGUSR1":30,"SIGSEGV":11,"SIGUSR2":31,"SIGPIPE":13,"SIGALRM":14,"SIGTERM":15,"SIGCHLD":20,"SIGCONT":19,"SIGSTOP":17,"SIGTSTP":18,"SIGTTIN":21,"SIGTTOU":22,"SIGURG":16,"SIGXCPU":24,"SIGXFSZ":25,"SIGVTALRM":26,"SIGPROF":27,"SIGWINCH":28,"SIGIO":23,"SIGSYS":12,"SSL_OP_ALL":2147486719,"SSL_OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION":262144,"SSL_OP_CIPHER_SERVER_PREFERENCE":4194304,"SSL_OP_CISCO_ANYCONNECT":32768,"SSL_OP_COOKIE_EXCHANGE":8192,"SSL_OP_CRYPTOPRO_TLSEXT_BUG":2147483648,"SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS":2048,"SSL_OP_EPHEMERAL_RSA":0,"SSL_OP_LEGACY_SERVER_CONNECT":4,"SSL_OP_MICROSOFT_BIG_SSLV3_BUFFER":32,"SSL_OP_MICROSOFT_SESS_ID_BUG":1,"SSL_OP_MSIE_SSLV2_RSA_PADDING":0,"SSL_OP_NETSCAPE_CA_DN_BUG":536870912,"SSL_OP_NETSCAPE_CHALLENGE_BUG":2,"SSL_OP_NETSCAPE_DEMO_CIPHER_CHANGE_BUG":1073741824,"SSL_OP_NETSCAPE_REUSE_CIPHER_CHANGE_BUG":8,"SSL_OP_NO_COMPRESSION":131072,"SSL_OP_NO_QUERY_MTU":4096,"SSL_OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION":65536,"SSL_OP_NO_SSLv2":16777216,"SSL_OP_NO_SSLv3":33554432,"SSL_OP_NO_TICKET":16384,"SSL_OP_NO_TLSv1":67108864,"SSL_OP_NO_TLSv1_1":268435456,"SSL_OP_NO_TLSv1_2":134217728,"SSL_OP_PKCS1_CHECK_1":0,"SSL_OP_PKCS1_CHECK_2":0,"SSL_OP_SINGLE_DH_USE":1048576,"SSL_OP_SINGLE_ECDH_USE":524288,"SSL_OP_SSLEAY_080_CLIENT_DH_BUG":128,"SSL_OP_SSLREF2_REUSE_CERT_TYPE_BUG":0,"SSL_OP_TLS_BLOCK_PADDING_BUG":512,"SSL_OP_TLS_D5_BUG":256,"SSL_OP_TLS_ROLLBACK_BUG":8388608,"ENGINE_METHOD_DSA":2,"ENGINE_METHOD_DH":4,"ENGINE_METHOD_RAND":8,"ENGINE_METHOD_ECDH":16,"ENGINE_METHOD_ECDSA":32,"ENGINE_METHOD_CIPHERS":64,"ENGINE_METHOD_DIGESTS":128,"ENGINE_METHOD_STORE":256,"ENGINE_METHOD_PKEY_METHS":512,"ENGINE_METHOD_PKEY_ASN1_METHS":1024,"ENGINE_METHOD_ALL":65535,"ENGINE_METHOD_NONE":0,"DH_CHECK_P_NOT_SAFE_PRIME":2,"DH_CHECK_P_NOT_PRIME":1,"DH_UNABLE_TO_CHECK_GENERATOR":4,"DH_NOT_SUITABLE_GENERATOR":8,"NPN_ENABLED":1,"RSA_PKCS1_PADDING":1,"RSA_SSLV23_PADDING":2,"RSA_NO_PADDING":3,"RSA_PKCS1_OAEP_PADDING":4,"RSA_X931_PADDING":5,"RSA_PKCS1_PSS_PADDING":6,"POINT_CONVERSION_COMPRESSED":2,"POINT_CONVERSION_UNCOMPRESSED":4,"POINT_CONVERSION_HYBRID":6,"F_OK":0,"R_OK":4,"W_OK":2,"X_OK":1,"UV_UDP_REUSEADDR":4}')},"../../node_modules/copy-descriptor/index.js":function(e,t,n){"use strict";function r(e){return"[object Object]"==={}.toString.call(e)}e.exports=function(e,t,n,o){if(r(t)||"function"==typeof t||(o=n,n=t,t=e),!r(e)&&"function"!=typeof e)throw new TypeError("expected the first argument to be an object");if(!r(t)&&"function"!=typeof t)throw new TypeError("expected provider to be an object");if("string"!=typeof o&&(o=n),"string"!=typeof n)throw new TypeError("expected key to be a string");if(!(n in t))throw new Error('property "'+n+'" does not exist');var i=Object.getOwnPropertyDescriptor(t,n);i&&Object.defineProperty(e,o,i)}},"../../node_modules/define-property/index.js":function(e,t,n){"use strict";var r=n("../../node_modules/define-property/node_modules/is-descriptor/index.js");e.exports=function(e,t,n){if("object"!=typeof e&&"function"!=typeof e)throw new TypeError("expected an object or function.");if("string"!=typeof t)throw new TypeError("expected `prop` to be a string.");return r(n)&&("set"in n||"get"in n)?Object.defineProperty(e,t,n):Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:!0,value:n})}},"../../node_modules/define-property/node_modules/is-accessor-descriptor/index.js":function(e,t,n){"use strict";var r=n("../../node_modules/define-property/node_modules/is-accessor-descriptor/node_modules/kind-of/index.js"),o={get:"function",set:"function",configurable:"boolean",enumerable:"boolean"};function i(e,t){return{}.hasOwnProperty.call(e,t)}e.exports=function(e,t){if("string"==typeof t)return void 0!==Object.getOwnPropertyDescriptor(e,t);if("object"!==r(e))return!1;if(i(e,"value")||i(e,"writable"))return!1;if(!i(e,"get")||"function"!=typeof e.get)return!1;if(i(e,"set")&&"function"!=typeof e[n]&&void 0!==e[n])return!1;for(var n in e)if(o.hasOwnProperty(n)&&r(e[n])!==o[n]&&void 0!==e[n])return!1;return!0}},"../../node_modules/define-property/node_modules/is-accessor-descriptor/node_modules/kind-of/index.js":function(e,t,n){var r=n("../../node_modules/is-buffer/index.js"),o=Object.prototype.toString;e.exports=function(e){if(void 0===e)return"undefined";if(null===e)return"null";if(!0===e||!1===e||e instanceof Boolean)return"boolean";if("string"==typeof e||e instanceof String)return"string";if("number"==typeof e||e instanceof Number)return"number";if("function"==typeof e||e instanceof Function)return"function";if(void 0!==Array.isArray&&Array.isArray(e))return"array";if(e instanceof RegExp)return"regexp";if(e instanceof Date)return"date";var t=o.call(e);return"[object RegExp]"===t?"regexp":"[object Date]"===t?"date":"[object Arguments]"===t?"arguments":"[object Error]"===t?"error":r(e)?"buffer":"[object Set]"===t?"set":"[object WeakSet]"===t?"weakset":"[object Map]"===t?"map":"[object WeakMap]"===t?"weakmap":"[object Symbol]"===t?"symbol":"[object Int8Array]"===t?"int8array":"[object Uint8Array]"===t?"uint8array":"[object Uint8ClampedArray]"===t?"uint8clampedarray":"[object Int16Array]"===t?"int16array":"[object Uint16Array]"===t?"uint16array":"[object Int32Array]"===t?"int32array":"[object Uint32Array]"===t?"uint32array":"[object Float32Array]"===t?"float32array":"[object Float64Array]"===t?"float64array":"object"}},"../../node_modules/define-property/node_modules/is-data-descriptor/index.js":function(e,t,n){"use strict";var r=n("../../node_modules/define-property/node_modules/is-data-descriptor/node_modules/kind-of/index.js"),o={configurable:"boolean",enumerable:"boolean",writable:"boolean"};e.exports=function(e,t){if("object"!==r(e))return!1;if("string"==typeof t)return void 0!==Object.getOwnPropertyDescriptor(e,t);if(!("value"in e)&&!("writable"in e))return!1;for(var n in e)if("value"!==n&&o.hasOwnProperty(n)&&r(e[n])!==o[n]&&void 0!==e[n])return!1;return!0}},"../../node_modules/define-property/node_modules/is-data-descriptor/node_modules/kind-of/index.js":function(e,t,n){var r=n("../../node_modules/is-buffer/index.js"),o=Object.prototype.toString;e.exports=function(e){if(void 0===e)return"undefined";if(null===e)return"null";if(!0===e||!1===e||e instanceof Boolean)return"boolean";if("string"==typeof e||e instanceof String)return"string";if("number"==typeof e||e instanceof Number)return"number";if("function"==typeof e||e instanceof Function)return"function";if(void 0!==Array.isArray&&Array.isArray(e))return"array";if(e instanceof RegExp)return"regexp";if(e instanceof Date)return"date";var t=o.call(e);return"[object RegExp]"===t?"regexp":"[object Date]"===t?"date":"[object Arguments]"===t?"arguments":"[object Error]"===t?"error":r(e)?"buffer":"[object Set]"===t?"set":"[object WeakSet]"===t?"weakset":"[object Map]"===t?"map":"[object WeakMap]"===t?"weakmap":"[object Symbol]"===t?"symbol":"[object Int8Array]"===t?"int8array":"[object Uint8Array]"===t?"uint8array":"[object Uint8ClampedArray]"===t?"uint8clampedarray":"[object Int16Array]"===t?"int16array":"[object Uint16Array]"===t?"uint16array":"[object Int32Array]"===t?"int32array":"[object Uint32Array]"===t?"uint32array":"[object Float32Array]"===t?"float32array":"[object Float64Array]"===t?"float64array":"object"}},"../../node_modules/define-property/node_modules/is-descriptor/index.js":function(e,t,n){"use strict";var r=n("../../node_modules/define-property/node_modules/kind-of/index.js"),o=n("../../node_modules/define-property/node_modules/is-accessor-descriptor/index.js"),i=n("../../node_modules/define-property/node_modules/is-data-descriptor/index.js");e.exports=function(e,t){return"object"===r(e)&&("get"in e?o(e,t):i(e,t))}},"../../node_modules/define-property/node_modules/kind-of/index.js":function(e,t){var n=Object.prototype.toString;e.exports=function(e){var t=typeof e;return"undefined"===t?"undefined":null===e?"null":!0===e||!1===e||e instanceof Boolean?"boolean":"string"===t||e instanceof String?"string":"number"===t||e instanceof Number?"number":"function"===t||e instanceof Function?void 0!==e.constructor.name&&"Generator"===e.constructor.name.slice(0,9)?"generatorfunction":"function":void 0!==Array.isArray&&Array.isArray(e)?"array":e instanceof RegExp?"regexp":e instanceof Date?"date":"[object RegExp]"===(t=n.call(e))?"regexp":"[object Date]"===t?"date":"[object Arguments]"===t?"arguments":"[object Error]"===t?"error":"[object Promise]"===t?"promise":function(e){return e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}(e)?"buffer":"[object Set]"===t?"set":"[object WeakSet]"===t?"weakset":"[object Map]"===t?"map":"[object WeakMap]"===t?"weakmap":"[object Symbol]"===t?"symbol":"[object Map Iterator]"===t?"mapiterator":"[object Set Iterator]"===t?"setiterator":"[object String Iterator]"===t?"stringiterator":"[object Array Iterator]"===t?"arrayiterator":"[object Int8Array]"===t?"int8array":"[object Uint8Array]"===t?"uint8array":"[object Uint8ClampedArray]"===t?"uint8clampedarray":"[object Int16Array]"===t?"int16array":"[object Uint16Array]"===t?"uint16array":"[object Int32Array]"===t?"int32array":"[object Uint32Array]"===t?"uint32array":"[object Float32Array]"===t?"float32array":"[object Float64Array]"===t?"float64array":"object"}},"../../node_modules/diff/dist/diff.js":function(e,t,n){var r;r=function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}return n.m=e,n.c=t,n.p="",n(0)}([function(e,t,n){"use strict";t.__esModule=!0,t.canonicalize=t.convertChangesToXML=t.convertChangesToDMP=t.merge=t.parsePatch=t.applyPatches=t.applyPatch=t.createPatch=t.createTwoFilesPatch=t.structuredPatch=t.diffArrays=t.diffJson=t.diffCss=t.diffSentences=t.diffTrimmedLines=t.diffLines=t.diffWordsWithSpace=t.diffWords=t.diffChars=t.Diff=void 0;var r,o=n(1),i=(r=o)&&r.__esModule?r:{default:r},s=n(2),a=n(3),u=n(5),c=n(6),l=n(7),f=n(8),d=n(9),p=n(10),h=n(11),m=n(13),g=n(14),y=n(16),b=n(17);t.Diff=i.default,t.diffChars=s.diffChars,t.diffWords=a.diffWords,t.diffWordsWithSpace=a.diffWordsWithSpace,t.diffLines=u.diffLines,t.diffTrimmedLines=u.diffTrimmedLines,t.diffSentences=c.diffSentences,t.diffCss=l.diffCss,t.diffJson=f.diffJson,t.diffArrays=d.diffArrays,t.structuredPatch=g.structuredPatch,t.createTwoFilesPatch=g.createTwoFilesPatch,t.createPatch=g.createPatch,t.applyPatch=p.applyPatch,t.applyPatches=p.applyPatches,t.parsePatch=h.parsePatch,t.merge=m.merge,t.convertChangesToDMP=y.convertChangesToDMP,t.convertChangesToXML=b.convertChangesToXML,t.canonicalize=f.canonicalize},function(e,t){"use strict";function n(){}function r(e,t,n,r,o){for(var i=0,s=t.length,a=0,u=0;i<s;i++){var c=t[i];if(c.removed){if(c.value=e.join(r.slice(u,u+c.count)),u+=c.count,i&&t[i-1].added){var l=t[i-1];t[i-1]=t[i],t[i]=l}}else{if(!c.added&&o){var f=n.slice(a,a+c.count);f=f.map((function(e,t){var n=r[u+t];return n.length>e.length?n:e})),c.value=e.join(f)}else c.value=e.join(n.slice(a,a+c.count));a+=c.count,c.added||(u+=c.count)}}var d=t[s-1];return s>1&&"string"==typeof d.value&&(d.added||d.removed)&&e.equals("",d.value)&&(t[s-2].value+=d.value,t.pop()),t}function o(e){return{newPos:e.newPos,components:e.components.slice(0)}}t.__esModule=!0,t.default=n,n.prototype={diff:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=n.callback;"function"==typeof n&&(i=n,n={}),this.options=n;var s=this;function a(e){return i?(setTimeout((function(){i(void 0,e)}),0),!0):e}e=this.castInput(e),t=this.castInput(t),e=this.removeEmpty(this.tokenize(e));var u=(t=this.removeEmpty(this.tokenize(t))).length,c=e.length,l=1,f=u+c,d=[{newPos:-1,components:[]}],p=this.extractCommon(d[0],t,e,0);if(d[0].newPos+1>=u&&p+1>=c)return a([{value:this.join(t),count:t.length}]);function h(){for(var n=-1*l;n<=l;n+=2){var i=void 0,f=d[n-1],p=d[n+1],h=(p?p.newPos:0)-n;f&&(d[n-1]=void 0);var m=f&&f.newPos+1<u,g=p&&0<=h&&h<c;if(m||g){if(!m||g&&f.newPos<p.newPos?(i=o(p),s.pushComponent(i.components,void 0,!0)):((i=f).newPos++,s.pushComponent(i.components,!0,void 0)),h=s.extractCommon(i,t,e,n),i.newPos+1>=u&&h+1>=c)return a(r(s,i.components,t,e,s.useLongestToken));d[n]=i}else d[n]=void 0}l++}if(i)!function e(){setTimeout((function(){if(l>f)return i();h()||e()}),0)}();else for(;l<=f;){var m=h();if(m)return m}},pushComponent:function(e,t,n){var r=e[e.length-1];r&&r.added===t&&r.removed===n?e[e.length-1]={count:r.count+1,added:t,removed:n}:e.push({count:1,added:t,removed:n})},extractCommon:function(e,t,n,r){for(var o=t.length,i=n.length,s=e.newPos,a=s-r,u=0;s+1<o&&a+1<i&&this.equals(t[s+1],n[a+1]);)s++,a++,u++;return u&&e.components.push({count:u}),e.newPos=s,a},equals:function(e,t){return this.options.comparator?this.options.comparator(e,t):e===t||this.options.ignoreCase&&e.toLowerCase()===t.toLowerCase()},removeEmpty:function(e){for(var t=[],n=0;n<e.length;n++)e[n]&&t.push(e[n]);return t},castInput:function(e){return e},tokenize:function(e){return e.split("")},join:function(e){return e.join("")}}},function(e,t,n){"use strict";t.__esModule=!0,t.characterDiff=void 0,t.diffChars=function(e,t,n){return s.diff(e,t,n)};var r,o=n(1),i=(r=o)&&r.__esModule?r:{default:r},s=t.characterDiff=new i.default},function(e,t,n){"use strict";t.__esModule=!0,t.wordDiff=void 0,t.diffWords=function(e,t,n){return n=(0,s.generateOptions)(n,{ignoreWhitespace:!0}),c.diff(e,t,n)},t.diffWordsWithSpace=function(e,t,n){return c.diff(e,t,n)};var r,o=n(1),i=(r=o)&&r.__esModule?r:{default:r},s=n(4),a=/^[A-Za-z\xC0-\u02C6\u02C8-\u02D7\u02DE-\u02FF\u1E00-\u1EFF]+$/,u=/\S/,c=t.wordDiff=new i.default;c.equals=function(e,t){return this.options.ignoreCase&&(e=e.toLowerCase(),t=t.toLowerCase()),e===t||this.options.ignoreWhitespace&&!u.test(e)&&!u.test(t)},c.tokenize=function(e){for(var t=e.split(/(\s+|\b)/),n=0;n<t.length-1;n++)!t[n+1]&&t[n+2]&&a.test(t[n])&&a.test(t[n+2])&&(t[n]+=t[n+2],t.splice(n+1,2),n--);return t}},function(e,t){"use strict";t.__esModule=!0,t.generateOptions=function(e,t){if("function"==typeof e)t.callback=e;else if(e)for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}},function(e,t,n){"use strict";t.__esModule=!0,t.lineDiff=void 0,t.diffLines=function(e,t,n){return a.diff(e,t,n)},t.diffTrimmedLines=function(e,t,n){var r=(0,s.generateOptions)(n,{ignoreWhitespace:!0});return a.diff(e,t,r)};var r,o=n(1),i=(r=o)&&r.__esModule?r:{default:r},s=n(4),a=t.lineDiff=new i.default;a.tokenize=function(e){var t=[],n=e.split(/(\n|\r\n)/);n[n.length-1]||n.pop();for(var r=0;r<n.length;r++){var o=n[r];r%2&&!this.options.newlineIsToken?t[t.length-1]+=o:(this.options.ignoreWhitespace&&(o=o.trim()),t.push(o))}return t}},function(e,t,n){"use strict";t.__esModule=!0,t.sentenceDiff=void 0,t.diffSentences=function(e,t,n){return s.diff(e,t,n)};var r,o=n(1),i=(r=o)&&r.__esModule?r:{default:r},s=t.sentenceDiff=new i.default;s.tokenize=function(e){return e.split(/(\S.+?[.!?])(?=\s+|$)/)}},function(e,t,n){"use strict";t.__esModule=!0,t.cssDiff=void 0,t.diffCss=function(e,t,n){return s.diff(e,t,n)};var r,o=n(1),i=(r=o)&&r.__esModule?r:{default:r},s=t.cssDiff=new i.default;s.tokenize=function(e){return e.split(/([{}:;,]|\s+)/)}},function(e,t,n){"use strict";t.__esModule=!0,t.jsonDiff=void 0;var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.diffJson=function(e,t,n){return c.diff(e,t,n)},t.canonicalize=l;var o,i=n(1),s=(o=i)&&o.__esModule?o:{default:o},a=n(5),u=Object.prototype.toString,c=t.jsonDiff=new s.default;function l(e,t,n,o,i){t=t||[],n=n||[],o&&(e=o(i,e));var s=void 0;for(s=0;s<t.length;s+=1)if(t[s]===e)return n[s];var a=void 0;if("[object Array]"===u.call(e)){for(t.push(e),a=new Array(e.length),n.push(a),s=0;s<e.length;s+=1)a[s]=l(e[s],t,n,o,i);return t.pop(),n.pop(),a}if(e&&e.toJSON&&(e=e.toJSON()),"object"===(void 0===e?"undefined":r(e))&&null!==e){t.push(e),a={},n.push(a);var c=[],f=void 0;for(f in e)e.hasOwnProperty(f)&&c.push(f);for(c.sort(),s=0;s<c.length;s+=1)a[f=c[s]]=l(e[f],t,n,o,f);t.pop(),n.pop()}else a=e;return a}c.useLongestToken=!0,c.tokenize=a.lineDiff.tokenize,c.castInput=function(e){var t=this.options,n=t.undefinedReplacement,r=t.stringifyReplacer,o=void 0===r?function(e,t){return void 0===t?n:t}:r;return"string"==typeof e?e:JSON.stringify(l(e,null,null,o),o," ")},c.equals=function(e,t){return s.default.prototype.equals.call(c,e.replace(/,([\r\n])/g,"$1"),t.replace(/,([\r\n])/g,"$1"))}},function(e,t,n){"use strict";t.__esModule=!0,t.arrayDiff=void 0,t.diffArrays=function(e,t,n){return s.diff(e,t,n)};var r,o=n(1),i=(r=o)&&r.__esModule?r:{default:r},s=t.arrayDiff=new i.default;s.tokenize=function(e){return e.slice()},s.join=s.removeEmpty=function(e){return e}},function(e,t,n){"use strict";t.__esModule=!0,t.applyPatch=a,t.applyPatches=function(e,t){"string"==typeof e&&(e=(0,o.parsePatch)(e));var n=0;!function r(){var o=e[n++];if(!o)return t.complete();t.loadFile(o,(function(e,n){if(e)return t.complete(e);var i=a(n,o,t);t.patched(o,i,(function(e){if(e)return t.complete(e);r()}))}))}()};var r,o=n(11),i=n(12),s=(r=i)&&r.__esModule?r:{default:r};function a(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("string"==typeof t&&(t=(0,o.parsePatch)(t)),Array.isArray(t)){if(t.length>1)throw new Error("applyPatch only works with a single input.");t=t[0]}var r=e.split(/\r\n|[\n\v\f\r\x85]/),i=e.match(/\r\n|[\n\v\f\r\x85]/g)||[],a=t.hunks,u=n.compareLine||function(e,t,n,r){return t===r},c=0,l=n.fuzzFactor||0,f=0,d=0,p=void 0,h=void 0;function m(e,t){for(var n=0;n<e.lines.length;n++){var o=e.lines[n],i=o.length>0?o[0]:" ",s=o.length>0?o.substr(1):o;if(" "===i||"-"===i){if(!u(t+1,r[t],i,s)&&++c>l)return!1;t++}}return!0}for(var g=0;g<a.length;g++){for(var y=a[g],b=r.length-y.oldLines,v=0,_=d+y.oldStart-1,j=(0,s.default)(_,f,b);void 0!==v;v=j())if(m(y,_+v)){y.offset=d+=v;break}if(void 0===v)return!1;f=y.offset+y.oldStart+y.oldLines}for(var x=0,w=0;w<a.length;w++){var E=a[w],O=E.oldStart+E.offset+x-1;x+=E.newLines-E.oldLines,O<0&&(O=0);for(var S=0;S<E.lines.length;S++){var k=E.lines[S],M=k.length>0?k[0]:" ",T=k.length>0?k.substr(1):k,C=E.linedelimiters[S];if(" "===M)O++;else if("-"===M)r.splice(O,1),i.splice(O,1);else if("+"===M)r.splice(O,0,T),i.splice(O,0,C),O++;else if("\\"===M){var A=E.lines[S-1]?E.lines[S-1][0]:null;"+"===A?p=!0:"-"===A&&(h=!0)}}}if(p)for(;!r[r.length-1];)r.pop(),i.pop();else h&&(r.push(""),i.push("\n"));for(var R=0;R<r.length-1;R++)r[R]=r[R]+i[R];return r.join("")}},function(e,t){"use strict";t.__esModule=!0,t.parsePatch=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.split(/\r\n|[\n\v\f\r\x85]/),r=e.match(/\r\n|[\n\v\f\r\x85]/g)||[],o=[],i=0;function s(){var e={};for(o.push(e);i<n.length;){var r=n[i];if(/^(\-\-\-|\+\+\+|@@)\s/.test(r))break;var s=/^(?:Index:|diff(?: -r \w+)+)\s+(.+?)\s*$/.exec(r);s&&(e.index=s[1]),i++}for(a(e),a(e),e.hunks=[];i<n.length;){var c=n[i];if(/^(Index:|diff|\-\-\-|\+\+\+)\s/.test(c))break;if(/^@@/.test(c))e.hunks.push(u());else{if(c&&t.strict)throw new Error("Unknown line "+(i+1)+" "+JSON.stringify(c));i++}}}function a(e){var t=/^(---|\+\+\+)\s+(.*)$/.exec(n[i]);if(t){var r="---"===t[1]?"old":"new",o=t[2].split("\t",2),s=o[0].replace(/\\\\/g,"\\");/^".*"$/.test(s)&&(s=s.substr(1,s.length-2)),e[r+"FileName"]=s,e[r+"Header"]=(o[1]||"").trim(),i++}}function u(){for(var e=i,o=n[i++].split(/@@ -(\d+)(?:,(\d+))? \+(\d+)(?:,(\d+))? @@/),s={oldStart:+o[1],oldLines:+o[2]||1,newStart:+o[3],newLines:+o[4]||1,lines:[],linedelimiters:[]},a=0,u=0;i<n.length&&!(0===n[i].indexOf("--- ")&&i+2<n.length&&0===n[i+1].indexOf("+++ ")&&0===n[i+2].indexOf("@@"));i++){var c=0==n[i].length&&i!=n.length-1?" ":n[i][0];if("+"!==c&&"-"!==c&&" "!==c&&"\\"!==c)break;s.lines.push(n[i]),s.linedelimiters.push(r[i]||"\n"),"+"===c?a++:"-"===c?u++:" "===c&&(a++,u++)}if(a||1!==s.newLines||(s.newLines=0),u||1!==s.oldLines||(s.oldLines=0),t.strict){if(a!==s.newLines)throw new Error("Added line count did not match for hunk at line "+(e+1));if(u!==s.oldLines)throw new Error("Removed line count did not match for hunk at line "+(e+1))}return s}for(;i<n.length;)s();return o}},function(e,t){"use strict";t.__esModule=!0,t.default=function(e,t,n){var r=!0,o=!1,i=!1,s=1;return function a(){if(r&&!i){if(o?s++:r=!1,e+s<=n)return s;i=!0}if(!o)return i||(r=!0),t<=e-s?-s++:(o=!0,a())}}},function(e,t,n){"use strict";t.__esModule=!0,t.calcLineCount=a,t.merge=function(e,t,n){e=u(e,n),t=u(t,n);var r={};(e.index||t.index)&&(r.index=e.index||t.index),(e.newFileName||t.newFileName)&&(c(e)?c(t)?(r.oldFileName=l(r,e.oldFileName,t.oldFileName),r.newFileName=l(r,e.newFileName,t.newFileName),r.oldHeader=l(r,e.oldHeader,t.oldHeader),r.newHeader=l(r,e.newHeader,t.newHeader)):(r.oldFileName=e.oldFileName,r.newFileName=e.newFileName,r.oldHeader=e.oldHeader,r.newHeader=e.newHeader):(r.oldFileName=t.oldFileName||e.oldFileName,r.newFileName=t.newFileName||e.newFileName,r.oldHeader=t.oldHeader||e.oldHeader,r.newHeader=t.newHeader||e.newHeader)),r.hunks=[];for(var o=0,i=0,s=0,a=0;o<e.hunks.length||i<t.hunks.length;){var h=e.hunks[o]||{oldStart:1/0},m=t.hunks[i]||{oldStart:1/0};if(f(h,m))r.hunks.push(d(h,s)),o++,a+=h.newLines-h.oldLines;else if(f(m,h))r.hunks.push(d(m,a)),i++,s+=m.newLines-m.oldLines;else{var g={oldStart:Math.min(h.oldStart,m.oldStart),oldLines:0,newStart:Math.min(h.newStart+s,m.oldStart+a),newLines:0,lines:[]};p(g,h.oldStart,h.lines,m.oldStart,m.lines),i++,o++,r.hunks.push(g)}}return r};var r=n(14),o=n(11),i=n(15);function s(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function a(e){var t=function e(t){var n=0,r=0;return t.forEach((function(t){if("string"!=typeof t){var o=e(t.mine),i=e(t.theirs);void 0!==n&&(o.oldLines===i.oldLines?n+=o.oldLines:n=void 0),void 0!==r&&(o.newLines===i.newLines?r+=o.newLines:r=void 0)}else void 0===r||"+"!==t[0]&&" "!==t[0]||r++,void 0===n||"-"!==t[0]&&" "!==t[0]||n++})),{oldLines:n,newLines:r}}(e.lines),n=t.oldLines,r=t.newLines;void 0!==n?e.oldLines=n:delete e.oldLines,void 0!==r?e.newLines=r:delete e.newLines}function u(e,t){if("string"==typeof e){if(/^@@/m.test(e)||/^Index:/m.test(e))return(0,o.parsePatch)(e)[0];if(!t)throw new Error("Must provide a base reference or pass in a patch");return(0,r.structuredPatch)(void 0,void 0,t,e)}return e}function c(e){return e.newFileName&&e.newFileName!==e.oldFileName}function l(e,t,n){return t===n?t:(e.conflict=!0,{mine:t,theirs:n})}function f(e,t){return e.oldStart<t.oldStart&&e.oldStart+e.oldLines<t.oldStart}function d(e,t){return{oldStart:e.oldStart,oldLines:e.oldLines,newStart:e.newStart+t,newLines:e.newLines,lines:e.lines}}function p(e,t,n,r,o){var i={offset:t,lines:n,index:0},u={offset:r,lines:o,index:0};for(y(e,i,u),y(e,u,i);i.index<i.lines.length&&u.index<u.lines.length;){var c=i.lines[i.index],l=u.lines[u.index];if("-"!==c[0]&&"+"!==c[0]||"-"!==l[0]&&"+"!==l[0])if("+"===c[0]&&" "===l[0]){var f;(f=e.lines).push.apply(f,s(v(i)))}else if("+"===l[0]&&" "===c[0]){var d;(d=e.lines).push.apply(d,s(v(u)))}else"-"===c[0]&&" "===l[0]?m(e,i,u):"-"===l[0]&&" "===c[0]?m(e,u,i,!0):c===l?(e.lines.push(c),i.index++,u.index++):g(e,v(i),v(u));else h(e,i,u)}b(e,i),b(e,u),a(e)}function h(e,t,n){var r=v(t),o=v(n);if(_(r)&&_(o)){var a,u;if((0,i.arrayStartsWith)(r,o)&&j(n,r,r.length-o.length))return void(a=e.lines).push.apply(a,s(r));if((0,i.arrayStartsWith)(o,r)&&j(t,o,o.length-r.length))return void(u=e.lines).push.apply(u,s(o))}else if((0,i.arrayEqual)(r,o)){var c;return void(c=e.lines).push.apply(c,s(r))}g(e,r,o)}function m(e,t,n,r){var o,i=v(t),a=function(e,t){for(var n=[],r=[],o=0,i=!1,s=!1;o<t.length&&e.index<e.lines.length;){var a=e.lines[e.index],u=t[o];if("+"===u[0])break;if(i=i||" "!==a[0],r.push(u),o++,"+"===a[0])for(s=!0;"+"===a[0];)n.push(a),a=e.lines[++e.index];u.substr(1)===a.substr(1)?(n.push(a),e.index++):s=!0}if("+"===(t[o]||"")[0]&&i&&(s=!0),s)return n;for(;o<t.length;)r.push(t[o++]);return{merged:r,changes:n}}(n,i);a.merged?(o=e.lines).push.apply(o,s(a.merged)):g(e,r?a:i,r?i:a)}function g(e,t,n){e.conflict=!0,e.lines.push({conflict:!0,mine:t,theirs:n})}function y(e,t,n){for(;t.offset<n.offset&&t.index<t.lines.length;){var r=t.lines[t.index++];e.lines.push(r),t.offset++}}function b(e,t){for(;t.index<t.lines.length;){var n=t.lines[t.index++];e.lines.push(n)}}function v(e){for(var t=[],n=e.lines[e.index][0];e.index<e.lines.length;){var r=e.lines[e.index];if("-"===n&&"+"===r[0]&&(n="+"),n!==r[0])break;t.push(r),e.index++}return t}function _(e){return e.reduce((function(e,t){return e&&"-"===t[0]}),!0)}function j(e,t,n){for(var r=0;r<n;r++){var o=t[t.length-n+r].substr(1);if(e.lines[e.index+r]!==" "+o)return!1}return e.index+=n,!0}},function(e,t,n){"use strict";t.__esModule=!0,t.structuredPatch=i,t.createTwoFilesPatch=s,t.createPatch=function(e,t,n,r,o,i){return s(e,e,t,n,r,o,i)};var r=n(5);function o(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function i(e,t,n,i,s,a,u){u||(u={}),void 0===u.context&&(u.context=4);var c=(0,r.diffLines)(n,i,u);function l(e){return e.map((function(e){return" "+e}))}c.push({value:"",lines:[]});for(var f=[],d=0,p=0,h=[],m=1,g=1,y=function(e){var t=c[e],r=t.lines||t.value.replace(/\n$/,"").split("\n");if(t.lines=r,t.added||t.removed){var s;if(!d){var a=c[e-1];d=m,p=g,a&&(h=u.context>0?l(a.lines.slice(-u.context)):[],d-=h.length,p-=h.length)}(s=h).push.apply(s,o(r.map((function(e){return(t.added?"+":"-")+e})))),t.added?g+=r.length:m+=r.length}else{if(d)if(r.length<=2*u.context&&e<c.length-2){var y;(y=h).push.apply(y,o(l(r)))}else{var b,v=Math.min(r.length,u.context);(b=h).push.apply(b,o(l(r.slice(0,v))));var _={oldStart:d,oldLines:m-d+v,newStart:p,newLines:g-p+v,lines:h};if(e>=c.length-2&&r.length<=u.context){var j=/\n$/.test(n),x=/\n$/.test(i);0!=r.length||j?j&&x||h.push("\\ No newline at end of file"):h.splice(_.oldLines,0,"\\ No newline at end of file")}f.push(_),d=0,p=0,h=[]}m+=r.length,g+=r.length}},b=0;b<c.length;b++)y(b);return{oldFileName:e,newFileName:t,oldHeader:s,newHeader:a,hunks:f}}function s(e,t,n,r,o,s,a){var u=i(e,t,n,r,o,s,a),c=[];e==t&&c.push("Index: "+e),c.push("==================================================================="),c.push("--- "+u.oldFileName+(void 0===u.oldHeader?"":"\t"+u.oldHeader)),c.push("+++ "+u.newFileName+(void 0===u.newHeader?"":"\t"+u.newHeader));for(var l=0;l<u.hunks.length;l++){var f=u.hunks[l];c.push("@@ -"+f.oldStart+","+f.oldLines+" +"+f.newStart+","+f.newLines+" @@"),c.push.apply(c,f.lines)}return c.join("\n")+"\n"}},function(e,t){"use strict";function n(e,t){if(t.length>e.length)return!1;for(var n=0;n<t.length;n++)if(t[n]!==e[n])return!1;return!0}t.__esModule=!0,t.arrayEqual=function(e,t){return e.length===t.length&&n(e,t)},t.arrayStartsWith=n},function(e,t){"use strict";t.__esModule=!0,t.convertChangesToDMP=function(e){for(var t=[],n=void 0,r=void 0,o=0;o<e.length;o++)n=e[o],r=n.added?1:n.removed?-1:0,t.push([r,n.value]);return t}},function(e,t){"use strict";t.__esModule=!0,t.convertChangesToXML=function(e){for(var t=[],n=0;n<e.length;n++){var r=e[n];r.added?t.push("<ins>"):r.removed&&t.push("<del>"),t.push((o=r.value,void 0,o.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,"""))),r.added?t.push("</ins>"):r.removed&&t.push("</del>")}var o;return t.join("")}}])},e.exports=r()},"../../node_modules/expand-brackets/index.js":function(e,t,n){"use strict";(function(t){var r=n("../../node_modules/expand-brackets/lib/compilers.js"),o=n("../../node_modules/expand-brackets/lib/parsers.js"),i=n("../../node_modules/expand-brackets/node_modules/debug/src/browser.js")("expand-brackets"),s=n("../../node_modules/extend-shallow/index.js"),a=n("../../node_modules/snapdragon/index.js"),u=n("../../node_modules/to-regex/index.js");function c(e,n){return i("initializing from <%s>",t),c.create(e,n).output}c.match=function(e,t,n){e=[].concat(e);for(var r=s({},n),o=c.matcher(t,r),i=e.length,a=-1,u=[];++a<i;){var l=e[a];o(l)&&u.push(l)}if(0===u.length){if(!0===r.failglob)throw new Error('no matches found for "'+t+'"');if(!0===r.nonull||!0===r.nullglob)return[t.split("\\").join("")]}return u},c.isMatch=function(e,t,n){return c.matcher(t,n)(e)},c.matcher=function(e,t){var n=c.makeRe(e,t);return function(e){return n.test(e)}},c.makeRe=function(e,t){var n=c.create(e,t),r=s({strictErrors:!1},t);return u(n.output,r)},c.create=function(e,t){var n=t&&t.snapdragon||new a(t);r(n),o(n);var i=n.parse(e,t);i.input=e;var s=n.compile(i,t);return s.input=e,s},c.compilers=r,c.parsers=o,e.exports=c}).call(this,"/index.js")},"../../node_modules/expand-brackets/lib/compilers.js":function(e,t,n){"use strict";var r=n("../../node_modules/posix-character-classes/index.js");e.exports=function(e){e.compiler.set("escape",(function(e){return this.emit("\\"+e.val.replace(/^\\/,""),e)})).set("text",(function(e){return this.emit(e.val.replace(/([{}])/g,"\\$1"),e)})).set("posix",(function(e){if("[::]"===e.val)return this.emit("\\[::\\]",e);var t=r[e.inner];return void 0===t&&(t="["+e.inner+"]"),this.emit(t,e)})).set("bracket",(function(e){return this.mapVisit(e.nodes)})).set("bracket.open",(function(e){return this.emit(e.val,e)})).set("bracket.inner",(function(e){var t=e.val;if("["===t||"]"===t)return this.emit("\\"+e.val,e);if("^]"===t)return this.emit("^\\]",e);if("^"===t)return this.emit("^",e);/-/.test(t)&&!/(\d-\d|\w-\w)/.test(t)&&(t=t.split("-").join("\\-"));var n="^"===t.charAt(0);return n&&-1===t.indexOf("/")&&(t+="/"),n&&-1===t.indexOf(".")&&(t+="."),t=t.replace(/\\([1-9])/g,"$1"),this.emit(t,e)})).set("bracket.close",(function(e){var t=e.val.replace(/^\\/,"");return!0===e.parent.escaped?this.emit("\\"+t,e):this.emit(t,e)}))}},"../../node_modules/expand-brackets/lib/parsers.js":function(e,t,n){"use strict";var r=n("../../node_modules/expand-brackets/lib/utils.js"),o=n("../../node_modules/define-property/index.js"),i=r.createRegex("(\\[(?=.*\\])|\\])+");e.exports=function(e){e.state=e.state||{},e.parser.sets.bracket=e.parser.sets.bracket||[],e.parser.capture("escape",(function(){if(!this.isInside("bracket")){var e=this.position(),t=this.match(/^\\(.)/);if(t)return e({type:"escape",val:t[0]})}})).capture("text",(function(){if(!this.isInside("bracket")){var e=this.position(),t=this.match(i);if(t&&t[0])return e({type:"text",val:t[0]})}})).capture("posix",(function(){var t=this.position(),n=this.match(/^\[:(.*?):\](?=.*\])/);if(n){var r=this.isInside("bracket");return r&&e.posix++,t({type:"posix",insideBracket:r,inner:n[1],val:n[0]})}})).capture("bracket",(function(){})).capture("bracket.open",(function(){var e=this.parsed,t=this.position(),n=this.match(/^\[(?=.*\])/);if(n){var i=this.prev(),s=r.last(i.nodes);if("\\"===e.slice(-1)&&!this.isInside("bracket"))return s.val=s.val.slice(0,s.val.length-1),t({type:"escape",val:n[0]});var a=t({type:"bracket.open",val:n[0]});if("bracket.open"===s.type||this.isInside("bracket"))return a.val="\\"+a.val,a.type="bracket.inner",a.escaped=!0,a;var u=t({type:"bracket",nodes:[a]});o(u,"parent",i),o(a,"parent",u),this.push("bracket",u),i.nodes.push(u)}})).capture("bracket.inner",(function(){if(this.isInside("bracket")){var e=this.position(),t=this.match(i);if(t&&t[0]){var n=this.input.charAt(0),r=t[0],o=e({type:"bracket.inner",val:r});if("\\\\"===r)return o;var s=r.charAt(0),a=r.slice(-1);return"!"===s&&(r="^"+r.slice(1)),("\\"===a||"^"===r&&"]"===n)&&(r+=this.input[0],this.consume(1)),o.val=r,o}}})).capture("bracket.close",(function(){var e=this.parsed,t=this.position(),n=this.match(/^\]/);if(n){var i=this.prev(),s=r.last(i.nodes);if("\\"===e.slice(-1)&&!this.isInside("bracket"))return s.val=s.val.slice(0,s.val.length-1),t({type:"escape",val:n[0]});var a=t({type:"bracket.close",rest:this.input,val:n[0]});if("bracket.open"===s.type)return a.type="bracket.inner",a.escaped=!0,a;var u=this.pop("bracket");if(!this.isType(u,"bracket")){if(this.options.strict)throw new Error('missing opening "["');return a.type="bracket.inner",a.escaped=!0,a}u.nodes.push(a),o(a,"parent",u)}}))},e.exports.TEXT_REGEX="(\\[(?=.*\\])|\\])+"},"../../node_modules/expand-brackets/lib/utils.js":function(e,t,n){"use strict";var r,o=n("../../node_modules/to-regex/index.js"),i=n("../../node_modules/regex-not/index.js");t.last=function(e){return e[e.length-1]},t.createRegex=function(e,t){if(r)return r;var n,s={contains:!0,strictClose:!1},a=i.create(e,s);return n=o("string"==typeof t?"^(?:"+t+"|"+a+")":a,s),r=n}},"../../node_modules/expand-brackets/node_modules/debug/src/browser.js":function(e,t,n){(function(r){function o(){var e;try{e=t.storage.debug}catch(e){}return!e&&void 0!==r&&"env"in r&&(e=r.env.DEBUG),e}(t=e.exports=n("../../node_modules/expand-brackets/node_modules/debug/src/debug.js")).log=function(){return"object"==typeof console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)},t.formatArgs=function(e){var n=this.useColors;if(e[0]=(n?"%c":"")+this.namespace+(n?" %c":" ")+e[0]+(n?"%c ":" ")+"+"+t.humanize(this.diff),!n)return;var r="color: "+this.color;e.splice(1,0,r,"color: inherit");var o=0,i=0;e[0].replace(/%[a-zA-Z%]/g,(function(e){"%%"!==e&&(o++,"%c"===e&&(i=o))})),e.splice(i,0,r)},t.save=function(e){try{null==e?t.storage.removeItem("debug"):t.storage.debug=e}catch(e){}},t.load=o,t.useColors=function(){if("undefined"!=typeof window&&window.process&&"renderer"===window.process.type)return!0;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage="undefined"!=typeof chrome&&void 0!==chrome.storage?chrome.storage.local:function(){try{return window.localStorage}catch(e){}}(),t.colors=["lightseagreen","forestgreen","goldenrod","dodgerblue","darkorchid","crimson"],t.formatters.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}},t.enable(o())}).call(this,n("../../node_modules/process/browser.js"))},"../../node_modules/expand-brackets/node_modules/debug/src/debug.js":function(e,t,n){var r;function o(e){function n(){if(n.enabled){var e=n,o=+new Date,i=o-(r||o);e.diff=i,e.prev=r,e.curr=o,r=o;for(var s=new Array(arguments.length),a=0;a<s.length;a++)s[a]=arguments[a];s[0]=t.coerce(s[0]),"string"!=typeof s[0]&&s.unshift("%O");var u=0;s[0]=s[0].replace(/%([a-zA-Z%])/g,(function(n,r){if("%%"===n)return n;u++;var o=t.formatters[r];if("function"==typeof o){var i=s[u];n=o.call(e,i),s.splice(u,1),u--}return n})),t.formatArgs.call(e,s);var c=n.log||t.log||console.log.bind(console);c.apply(e,s)}}return n.namespace=e,n.enabled=t.enabled(e),n.useColors=t.useColors(),n.color=function(e){var n,r=0;for(n in e)r=(r<<5)-r+e.charCodeAt(n),r|=0;return t.colors[Math.abs(r)%t