UNPKG

@garycourt/node-machine-id

Version:

Unique machine (desktop) id (no admin privileges required).

1 lines 19.6 kB
!function(t,n){"object"==typeof exports&&"object"==typeof module?module.exports=n(require("child_process"),require("crypto")):"function"==typeof define&&define.amd?define(["child_process","crypto"],n):"object"==typeof exports?exports["electron-machine-id"]=n(require("child_process"),require("crypto")):t["electron-machine-id"]=n(t.child_process,t.crypto)}(this,function(t,n){return function(t){function n(e){if(r[e])return r[e].exports;var o=r[e]={exports:{},id:e,loaded:!1};return t[e].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}var r={};return n.m=t,n.c=r,n.p="",n(0)}([function(t,n,r){t.exports=r(36)},function(t,n){var r=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=r)},function(t,n,r){var e=r(31)("wks"),o=r(35),i=r(1).Symbol,c="function"==typeof i,u=t.exports=function(t){return e[t]||(e[t]=c&&i[t]||(c?i:o)("Symbol."+t))};u.store=e},function(t,n,r){var e=r(7);t.exports=function(t){if(!e(t))throw TypeError(t+" is not an object!");return t}},function(t,n){var r=t.exports={version:"2.6.9"};"number"==typeof __e&&(__e=r)},function(t,n,r){var e=r(14),o=r(30);t.exports=r(6)?function(t,n,r){return e.f(t,n,o(1,r))}:function(t,n,r){return t[n]=r,t}},function(t,n,r){t.exports=!r(25)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,n){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,n){t.exports={}},function(t,n){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,n){var r={}.toString;t.exports=function(t){return r.call(t).slice(8,-1)}},function(t,n,r){var e=r(9);t.exports=function(t,n,r){if(e(t),void 0===n)return t;switch(r){case 1:return function(r){return t.call(n,r)};case 2:return function(r,e){return t.call(n,r,e)};case 3:return function(r,e,o){return t.call(n,r,e,o)}}return function(){return t.apply(n,arguments)}}},function(t,n,r){var e=r(1),o=r(4),i=r(11),c=r(5),u=r(13),s="prototype",a=function(t,n,r){var f,p,l,v=t&a.F,h=t&a.G,d=t&a.S,y=t&a.P,x=t&a.B,m=t&a.W,_=h?o:o[n]||(o[n]={}),g=_[s],w=h?e:d?e[n]:(e[n]||{})[s];h&&(r=n);for(f in r)p=!v&&w&&void 0!==w[f],p&&u(_,f)||(l=p?w[f]:r[f],_[f]=h&&"function"!=typeof w[f]?r[f]:x&&p?i(l,e):m&&w[f]==l?function(t){var n=function(n,r,e){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(n);case 2:return new t(n,r)}return new t(n,r,e)}return t.apply(this,arguments)};return n[s]=t[s],n}(l):y&&"function"==typeof l?i(Function.call,l):l,y&&((_.virtual||(_.virtual={}))[f]=l,t&a.R&&g&&!g[f]&&c(g,f,l)))};a.F=1,a.G=2,a.S=4,a.P=8,a.B=16,a.W=32,a.U=64,a.R=128,t.exports=a},function(t,n){var r={}.hasOwnProperty;t.exports=function(t,n){return r.call(t,n)}},function(t,n,r){var e=r(3),o=r(43),i=r(63),c=Object.defineProperty;n.f=r(6)?Object.defineProperty:function(t,n,r){if(e(t),n=i(n,!0),e(r),o)try{return c(t,n,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported!");return"value"in r&&(t[n]=r.value),t}},function(t,n){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,n,r){var e=r(7),o=r(1).document,i=e(o)&&e(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},function(t,n){t.exports=!0},function(t,n,r){"use strict";function e(t){var n,r;this.promise=new t(function(t,e){if(void 0!==n||void 0!==r)throw TypeError("Bad Promise constructor");n=t,r=e}),this.resolve=o(n),this.reject=o(r)}var o=r(9);t.exports.f=function(t){return new e(t)}},function(t,n,r){var e=r(14).f,o=r(13),i=r(2)("toStringTag");t.exports=function(t,n,r){t&&!o(t=r?t:t.prototype,i)&&e(t,i,{configurable:!0,value:n})}},function(t,n,r){var e=r(31)("keys"),o=r(35);t.exports=function(t){return e[t]||(e[t]=o(t))}},function(t,n){var r=Math.ceil,e=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?e:r)(t)}},function(t,n,r){var e=r(45),o=r(15);t.exports=function(t){return e(o(t))}},function(t,n,r){var e=r(10),o=r(2)("toStringTag"),i="Arguments"==e(function(){return arguments}()),c=function(t,n){try{return t[n]}catch(t){}};t.exports=function(t){var n,r,u;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=c(n=Object(t),o))?r:i?e(n):"Object"==(u=e(n))&&"function"==typeof n.callee?"Arguments":u}},function(t,n){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,n){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,n,r){var e=r(1).document;t.exports=e&&e.documentElement},function(t,n,r){"use strict";var e=r(17),o=r(12),i=r(58),c=r(5),u=r(8),s=r(48),a=r(19),f=r(54),p=r(2)("iterator"),l=!([].keys&&"next"in[].keys()),v="@@iterator",h="keys",d="values",y=function(){return this};t.exports=function(t,n,r,x,m,_,g){s(r,n,x);var w,S,b,O=function(t){if(!l&&t in L)return L[t];switch(t){case h:return function(){return new r(this,t)};case d:return function(){return new r(this,t)}}return function(){return new r(this,t)}},j=n+" Iterator",P=m==d,E=!1,L=t.prototype,T=L[p]||L[v]||m&&L[m],M=T||O(m),C=m?P?O("entries"):M:void 0,A="Array"==n?L.entries||T:T;if(A&&(b=f(A.call(new t)),b!==Object.prototype&&b.next&&(a(b,j,!0),e||"function"==typeof b[p]||c(b,p,y))),P&&T&&T.name!==d&&(E=!0,M=function(){return T.call(this)}),e&&!g||!l&&!E&&L[p]||c(L,p,M),u[n]=M,u[j]=y,m)if(w={values:P?M:O(d),keys:_?M:O(h),entries:C},g)for(S in w)S in L||i(L,S,w[S]);else o(o.P+o.F*(l||E),n,w);return w}},function(t,n){t.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},function(t,n,r){var e=r(3),o=r(7),i=r(18);t.exports=function(t,n){if(e(t),o(n)&&n.constructor===t)return n;var r=i.f(t),c=r.resolve;return c(n),r.promise}},function(t,n){t.exports=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}}},function(t,n,r){var e=r(4),o=r(1),i="__core-js_shared__",c=o[i]||(o[i]={});(t.exports=function(t,n){return c[t]||(c[t]=void 0!==n?n:{})})("versions",[]).push({version:e.version,mode:r(17)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(t,n,r){var e=r(3),o=r(9),i=r(2)("species");t.exports=function(t,n){var r,c=e(t).constructor;return void 0===c||void 0==(r=e(c)[i])?n:o(r)}},function(t,n,r){var e,o,i,c=r(11),u=r(44),s=r(26),a=r(16),f=r(1),p=f.process,l=f.setImmediate,v=f.clearImmediate,h=f.MessageChannel,d=f.Dispatch,y=0,x={},m="onreadystatechange",_=function(){var t=+this;if(x.hasOwnProperty(t)){var n=x[t];delete x[t],n()}},g=function(t){_.call(t.data)};l&&v||(l=function(t){for(var n=[],r=1;arguments.length>r;)n.push(arguments[r++]);return x[++y]=function(){u("function"==typeof t?t:Function(t),n)},e(y),y},v=function(t){delete x[t]},"process"==r(10)(p)?e=function(t){p.nextTick(c(_,t,1))}:d&&d.now?e=function(t){d.now(c(_,t,1))}:h?(o=new h,i=o.port2,o.port1.onmessage=g,e=c(i.postMessage,i,1)):f.addEventListener&&"function"==typeof postMessage&&!f.importScripts?(e=function(t){f.postMessage(t+"","*")},f.addEventListener("message",g,!1)):e=m in a("script")?function(t){s.appendChild(a("script"))[m]=function(){s.removeChild(this),_.call(t)}}:function(t){setTimeout(c(_,t,1),0)}),t.exports={set:l,clear:v}},function(t,n,r){var e=r(21),o=Math.min;t.exports=function(t){return t>0?o(e(t),9007199254740991):0}},function(t,n){var r=0,e=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++r+e).toString(36))}},function(t,n,r){"use strict";function e(t){return t&&t.__esModule?t:{default:t}}function o(){return"win32"!==process.platform?"":"ia32"===process.arch&&process.env.hasOwnProperty("PROCESSOR_ARCHITEW6432")?"mixed":"native"}function i(t){return(0,l.createHash)("sha256").update(t).digest("hex")}function c(t){switch(h){case"darwin":return t.split("IOPlatformUUID")[1].split("\n")[0].replace(/\=|\s+|\"/gi,"").toLowerCase();case"win32":return t.toString().split("REG_SZ")[1].replace(/\r+|\n+|\s+/gi,"").toLowerCase();case"linux":return t.toString().replace(/\r+|\n+|\s+/gi,"").toLowerCase();case"freebsd":return t.toString().replace(/\r+|\n+|\s+/gi,"").toLowerCase();default:throw new Error("Unsupported platform: "+process.platform)}}function u(t){var n=c((0,p.execSync)(y[h]).toString());return t?n:i(n)}function s(t){return new f.default(function(n,r){return(0,p.exec)(y[h],{},function(e,o,u){if(e)return r(new Error("Error while obtaining machine id: "+e.stack));var s=c(o.toString());return n(t?s:i(s))})})}Object.defineProperty(n,"__esModule",{value:!0});var a=r(37),f=e(a);n.machineIdSync=u,n.machineId=s;var p=r(73),l=r(74),v=process,h=v.platform,d={native:"%windir%\\System32",mixed:"%windir%\\sysnative\\cmd.exe /c %windir%\\System32"},y={darwin:"ioreg -rd1 -c IOPlatformExpertDevice",win32:d[o()]+"\\REG QUERY HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Cryptography /v MachineGuid",linux:"( cat /var/lib/dbus/machine-id /etc/machine-id 2> /dev/null || hostname ) | head -n 1 || :",freebsd:"kenv -q smbios.system.uuid || sysctl -n kern.hostuuid"}},function(t,n,r){t.exports={default:r(38),__esModule:!0}},function(t,n,r){r(67),r(69),r(72),r(68),r(70),r(71),t.exports=r(4).Promise},function(t,n){t.exports=function(){}},function(t,n){t.exports=function(t,n,r,e){if(!(t instanceof n)||void 0!==e&&e in t)throw TypeError(r+": incorrect invocation!");return t}},function(t,n,r){var e=r(22),o=r(34),i=r(61);t.exports=function(t){return function(n,r,c){var u,s=e(n),a=o(s.length),f=i(c,a);if(t&&r!=r){for(;a>f;)if(u=s[f++],u!=u)return!0}else for(;a>f;f++)if((t||f in s)&&s[f]===r)return t||f||0;return!t&&-1}}},function(t,n,r){var e=r(11),o=r(47),i=r(46),c=r(3),u=r(34),s=r(65),a={},f={},n=t.exports=function(t,n,r,p,l){var v,h,d,y,x=l?function(){return t}:s(t),m=e(r,p,n?2:1),_=0;if("function"!=typeof x)throw TypeError(t+" is not iterable!");if(i(x)){for(v=u(t.length);v>_;_++)if(y=n?m(c(h=t[_])[0],h[1]):m(t[_]),y===a||y===f)return y}else for(d=x.call(t);!(h=d.next()).done;)if(y=o(d,m,h.value,n),y===a||y===f)return y};n.BREAK=a,n.RETURN=f},function(t,n,r){t.exports=!r(6)&&!r(25)(function(){return 7!=Object.defineProperty(r(16)("div"),"a",{get:function(){return 7}}).a})},function(t,n){t.exports=function(t,n,r){var e=void 0===r;switch(n.length){case 0:return e?t():t.call(r);case 1:return e?t(n[0]):t.call(r,n[0]);case 2:return e?t(n[0],n[1]):t.call(r,n[0],n[1]);case 3:return e?t(n[0],n[1],n[2]):t.call(r,n[0],n[1],n[2]);case 4:return e?t(n[0],n[1],n[2],n[3]):t.call(r,n[0],n[1],n[2],n[3])}return t.apply(r,n)}},function(t,n,r){var e=r(10);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==e(t)?t.split(""):Object(t)}},function(t,n,r){var e=r(8),o=r(2)("iterator"),i=Array.prototype;t.exports=function(t){return void 0!==t&&(e.Array===t||i[o]===t)}},function(t,n,r){var e=r(3);t.exports=function(t,n,r,o){try{return o?n(e(r)[0],r[1]):n(r)}catch(n){var i=t.return;throw void 0!==i&&e(i.call(t)),n}}},function(t,n,r){"use strict";var e=r(52),o=r(30),i=r(19),c={};r(5)(c,r(2)("iterator"),function(){return this}),t.exports=function(t,n,r){t.prototype=e(c,{next:o(1,r)}),i(t,n+" Iterator")}},function(t,n,r){var e=r(2)("iterator"),o=!1;try{var i=[7][e]();i.return=function(){o=!0},Array.from(i,function(){throw 2})}catch(t){}t.exports=function(t,n){if(!n&&!o)return!1;var r=!1;try{var i=[7],c=i[e]();c.next=function(){return{done:r=!0}},i[e]=function(){return c},t(i)}catch(t){}return r}},function(t,n){t.exports=function(t,n){return{value:n,done:!!t}}},function(t,n,r){var e=r(1),o=r(33).set,i=e.MutationObserver||e.WebKitMutationObserver,c=e.process,u=e.Promise,s="process"==r(10)(c);t.exports=function(){var t,n,r,a=function(){var e,o;for(s&&(e=c.domain)&&e.exit();t;){o=t.fn,t=t.next;try{o()}catch(e){throw t?r():n=void 0,e}}n=void 0,e&&e.enter()};if(s)r=function(){c.nextTick(a)};else if(!i||e.navigator&&e.navigator.standalone)if(u&&u.resolve){var f=u.resolve(void 0);r=function(){f.then(a)}}else r=function(){o.call(e,a)};else{var p=!0,l=document.createTextNode("");new i(a).observe(l,{characterData:!0}),r=function(){l.data=p=!p}}return function(e){var o={fn:e,next:void 0};n&&(n.next=o),t||(t=o,r()),n=o}}},function(t,n,r){var e=r(3),o=r(53),i=r(24),c=r(20)("IE_PROTO"),u=function(){},s="prototype",a=function(){var t,n=r(16)("iframe"),e=i.length,o="<",c=">";for(n.style.display="none",r(26).appendChild(n),n.src="javascript:",t=n.contentWindow.document,t.open(),t.write(o+"script"+c+"document.F=Object"+o+"/script"+c),t.close(),a=t.F;e--;)delete a[s][i[e]];return a()};t.exports=Object.create||function(t,n){var r;return null!==t?(u[s]=e(t),r=new u,u[s]=null,r[c]=t):r=a(),void 0===n?r:o(r,n)}},function(t,n,r){var e=r(14),o=r(3),i=r(56);t.exports=r(6)?Object.defineProperties:function(t,n){o(t);for(var r,c=i(n),u=c.length,s=0;u>s;)e.f(t,r=c[s++],n[r]);return t}},function(t,n,r){var e=r(13),o=r(62),i=r(20)("IE_PROTO"),c=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),e(t,i)?t[i]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?c:null}},function(t,n,r){var e=r(13),o=r(22),i=r(41)(!1),c=r(20)("IE_PROTO");t.exports=function(t,n){var r,u=o(t),s=0,a=[];for(r in u)r!=c&&e(u,r)&&a.push(r);for(;n.length>s;)e(u,r=n[s++])&&(~i(a,r)||a.push(r));return a}},function(t,n,r){var e=r(55),o=r(24);t.exports=Object.keys||function(t){return e(t,o)}},function(t,n,r){var e=r(5);t.exports=function(t,n,r){for(var o in n)r&&t[o]?t[o]=n[o]:e(t,o,n[o]);return t}},function(t,n,r){t.exports=r(5)},function(t,n,r){"use strict";var e=r(1),o=r(4),i=r(14),c=r(6),u=r(2)("species");t.exports=function(t){var n="function"==typeof o[t]?o[t]:e[t];c&&n&&!n[u]&&i.f(n,u,{configurable:!0,get:function(){return this}})}},function(t,n,r){var e=r(21),o=r(15);t.exports=function(t){return function(n,r){var i,c,u=String(o(n)),s=e(r),a=u.length;return s<0||s>=a?t?"":void 0:(i=u.charCodeAt(s),i<55296||i>56319||s+1===a||(c=u.charCodeAt(s+1))<56320||c>57343?t?u.charAt(s):i:t?u.slice(s,s+2):(i-55296<<10)+(c-56320)+65536)}}},function(t,n,r){var e=r(21),o=Math.max,i=Math.min;t.exports=function(t,n){return t=e(t),t<0?o(t+n,0):i(t,n)}},function(t,n,r){var e=r(15);t.exports=function(t){return Object(e(t))}},function(t,n,r){var e=r(7);t.exports=function(t,n){if(!e(t))return t;var r,o;if(n&&"function"==typeof(r=t.toString)&&!e(o=r.call(t)))return o;if("function"==typeof(r=t.valueOf)&&!e(o=r.call(t)))return o;if(!n&&"function"==typeof(r=t.toString)&&!e(o=r.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,n,r){var e=r(1),o=e.navigator;t.exports=o&&o.userAgent||""},function(t,n,r){var e=r(23),o=r(2)("iterator"),i=r(8);t.exports=r(4).getIteratorMethod=function(t){if(void 0!=t)return t[o]||t["@@iterator"]||i[e(t)]}},function(t,n,r){"use strict";var e=r(39),o=r(50),i=r(8),c=r(22);t.exports=r(27)(Array,"Array",function(t,n){this._t=c(t),this._i=0,this._k=n},function(){var t=this._t,n=this._k,r=this._i++;return!t||r>=t.length?(this._t=void 0,o(1)):"keys"==n?o(0,r):"values"==n?o(0,t[r]):o(0,[r,t[r]])},"values"),i.Arguments=i.Array,e("keys"),e("values"),e("entries")},function(t,n){},function(t,n,r){"use strict";var e,o,i,c,u=r(17),s=r(1),a=r(11),f=r(23),p=r(12),l=r(7),v=r(9),h=r(40),d=r(42),y=r(32),x=r(33).set,m=r(51)(),_=r(18),g=r(28),w=r(64),S=r(29),b="Promise",O=s.TypeError,j=s.process,P=j&&j.versions,E=P&&P.v8||"",L=s[b],T="process"==f(j),M=function(){},C=o=_.f,A=!!function(){try{var t=L.resolve(1),n=(t.constructor={})[r(2)("species")]=function(t){t(M,M)};return(T||"function"==typeof PromiseRejectionEvent)&&t.then(M)instanceof n&&0!==E.indexOf("6.6")&&w.indexOf("Chrome/66")===-1}catch(t){}}(),k=function(t){var n;return!(!l(t)||"function"!=typeof(n=t.then))&&n},R=function(t,n){if(!t._n){t._n=!0;var r=t._c;m(function(){for(var e=t._v,o=1==t._s,i=0,c=function(n){var r,i,c,u=o?n.ok:n.fail,s=n.resolve,a=n.reject,f=n.domain;try{u?(o||(2==t._h&&G(t),t._h=1),u===!0?r=e:(f&&f.enter(),r=u(e),f&&(f.exit(),c=!0)),r===n.promise?a(O("Promise-chain cycle")):(i=k(r))?i.call(r,s,a):s(r)):a(e)}catch(t){f&&!c&&f.exit(),a(t)}};r.length>i;)c(r[i++]);t._c=[],t._n=!1,n&&!t._h&&I(t)})}},I=function(t){x.call(s,function(){var n,r,e,o=t._v,i=F(t);if(i&&(n=g(function(){T?j.emit("unhandledRejection",o,t):(r=s.onunhandledrejection)?r({promise:t,reason:o}):(e=s.console)&&e.error&&e.error("Unhandled promise rejection",o)}),t._h=T||F(t)?2:1),t._a=void 0,i&&n.e)throw n.v})},F=function(t){return 1!==t._h&&0===(t._a||t._c).length},G=function(t){x.call(s,function(){var n;T?j.emit("rejectionHandled",t):(n=s.onrejectionhandled)&&n({promise:t,reason:t._v})})},D=function(t){var n=this;n._d||(n._d=!0,n=n._w||n,n._v=t,n._s=2,n._a||(n._a=n._c.slice()),R(n,!0))},N=function(t){var n,r=this;if(!r._d){r._d=!0,r=r._w||r;try{if(r===t)throw O("Promise can't be resolved itself");(n=k(t))?m(function(){var e={_w:r,_d:!1};try{n.call(t,a(N,e,1),a(D,e,1))}catch(t){D.call(e,t)}}):(r._v=t,r._s=1,R(r,!1))}catch(t){D.call({_w:r,_d:!1},t)}}};A||(L=function(t){h(this,L,b,"_h"),v(t),e.call(this);try{t(a(N,this,1),a(D,this,1))}catch(t){D.call(this,t)}},e=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},e.prototype=r(57)(L.prototype,{then:function(t,n){var r=C(y(this,L));return r.ok="function"!=typeof t||t,r.fail="function"==typeof n&&n,r.domain=T?j.domain:void 0,this._c.push(r),this._a&&this._a.push(r),this._s&&R(this,!1),r.promise},catch:function(t){return this.then(void 0,t)}}),i=function(){var t=new e;this.promise=t,this.resolve=a(N,t,1),this.reject=a(D,t,1)},_.f=C=function(t){return t===L||t===c?new i(t):o(t)}),p(p.G+p.W+p.F*!A,{Promise:L}),r(19)(L,b),r(59)(b),c=r(4)[b],p(p.S+p.F*!A,b,{reject:function(t){var n=C(this),r=n.reject;return r(t),n.promise}}),p(p.S+p.F*(u||!A),b,{resolve:function(t){return S(u&&this===c?L:this,t)}}),p(p.S+p.F*!(A&&r(49)(function(t){L.all(t).catch(M)})),b,{all:function(t){var n=this,r=C(n),e=r.resolve,o=r.reject,i=g(function(){var r=[],i=0,c=1;d(t,!1,function(t){var u=i++,s=!1;r.push(void 0),c++,n.resolve(t).then(function(t){s||(s=!0,r[u]=t,--c||e(r))},o)}),--c||e(r)});return i.e&&o(i.v),r.promise},race:function(t){var n=this,r=C(n),e=r.reject,o=g(function(){d(t,!1,function(t){n.resolve(t).then(r.resolve,e)})});return o.e&&e(o.v),r.promise}})},function(t,n,r){"use strict";var e=r(60)(!0);r(27)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,n=this._t,r=this._i;return r>=n.length?{value:void 0,done:!0}:(t=e(n,r),this._i+=t.length,{value:t,done:!1})})},function(t,n,r){"use strict";var e=r(12),o=r(4),i=r(1),c=r(32),u=r(29);e(e.P+e.R,"Promise",{finally:function(t){var n=c(this,o.Promise||i.Promise),r="function"==typeof t;return this.then(r?function(r){return u(n,t()).then(function(){return r})}:t,r?function(r){return u(n,t()).then(function(){throw r})}:t)}})},function(t,n,r){"use strict";var e=r(12),o=r(18),i=r(28);e(e.S,"Promise",{try:function(t){var n=o.f(this),r=i(t);return(r.e?n.reject:n.resolve)(r.v),n.promise}})},function(t,n,r){r(66);for(var e=r(1),o=r(5),i=r(8),c=r(2)("toStringTag"),u="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),s=0;s<u.length;s++){var a=u[s],f=e[a],p=f&&f.prototype;p&&!p[c]&&o(p,c,a),i[a]=i.Array}},function(t,n){t.exports=require("child_process")},function(t,n){t.exports=require("crypto")}])});