1/*! For license information please see LICENSES */ 2(window.webpackJsonp=window.webpackJsonp||[]).push([[20],[,,,function(e,t,r){"use strict";r.d(t,"k",(function(){return w})),r.d(t,"m",(function(){return _})),r.d(t,"l",(function(){return E})),r.d(t,"e",(function(){return S})),r.d(t,"b",(function(){return C})),r.d(t,"s",(function(){return A})),r.d(t,"g",(function(){return T})),r.d(t,"h",(function(){return k})),r.d(t,"d",(function(){return I})),r.d(t,"r",(function(){return M})),r.d(t,"j",(function(){return R})),r.d(t,"t",(function(){return B})),r.d(t,"o",(function(){return O})),r.d(t,"q",(function(){return L})),r.d(t,"f",(function(){return P})),r.d(t,"c",(function(){return D})),r.d(t,"i",(function(){return j})),r.d(t,"p",(function(){return U})),r.d(t,"a",(function(){return $})),r.d(t,"v",(function(){return W})),r.d(t,"n",(function(){return Y})),r.d(t,"u",(function(){return X}));r(57),r(31),r(52),r(58),r(63),r(36),r(64);var n=r(44),o=r(6),c=r(24),f=r(25),h=(r(30),r(22),r(45),r(231),r(29),r(60),r(61),r(46),r(38),r(39),r(51),r(37),r(105),r(233),r(332),r(333),r(134),r(235),r(614),r(65),r(72),r(1)),l=r(77);function d(object,e){var t=Object.keys(object);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(object);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(object,e).enumerable}))),t.push.apply(t,r)}return t}function y(e){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?d(Object(source),!0).forEach((function(t){Object(c.a)(e,t,source[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(source)):d(Object(source)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(source,t))}))}return e}function m(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(!e)return;if("string"==typeof e)return v(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return v(e,t)}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var i=0,n=function(){};return{s:n,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:n}}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,c=!0,f=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return c=e.done,e},e:function(e){f=!0,o=e},f:function(){try{c||null==r.return||r.return()}finally{if(f)throw o}}}}function v(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,r=new Array(t);i<t;i++)r[i]=e[i];return r}function w(e){h.a.config.errorHandler&&h.a.config.errorHandler(e)}function _(e){return e.then((function(e){return e.default||e}))}function E(e){return e.$options&&"function"==typeof e.$options.fetch&&!e.$options.fetch.length}function S(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=e.$children||[],o=m(n);try{for(o.s();!(t=o.n()).done;){var c=t.value;c.$fetch?r.push(c):c.$children&&S(c,r)}}catch(e){o.e(e)}finally{o.f()}return r}function C(e,t){if(t||!e.options.__hasNuxtData){var r=e.options._originDataFn||e.options.data||function(){return{}};e.options._originDataFn=r,e.options.data=function(){var data=r.call(this,this);return this.$ssrContext&&(t=this.$ssrContext.asyncData[e.cid]),y(y({},data),t)},e.options.__hasNuxtData=!0,e._Ctor&&e._Ctor.options&&(e._Ctor.options.data=e.options.data)}}function A(e){return e.options&&e._Ctor===e||(e.options?(e._Ctor=e,e.extendOptions=e.options):(e=h.a.extend(e))._Ctor=e,!e.options.name&&e.options.__file&&(e.options.name=e.options.__file)),e}function T(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"components";return Array.prototype.concat.apply([],e.matched.map((function(e,n){return Object.keys(e[r]).map((function(o){return t&&t.push(n),e[r][o]}))})))}function k(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return T(e,t,"instances")}function I(e,t){return Array.prototype.concat.apply([],e.matched.map((function(e,r){return Object.keys(e.components).reduce((function(n,o){return e.components[o]?n.push(t(e.components[o],e.instances[o],e,o,r)):delete e.components[o],n}),[])})))}function M(e,t){return Promise.all(I(e,function(){var e=Object(o.a)(regeneratorRuntime.mark((function e(r,n,o,c){var f,h;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("function"!=typeof r||r.options){e.next=11;break}return e.prev=1,e.next=4,r();case 4:r=e.sent,e.next=11;break;case 7:throw e.prev=7,e.t0=e.catch(1),e.t0&&"ChunkLoadError"===e.t0.name&&"undefined"!=typeof window&&window.sessionStorage&&(f=Date.now(),(!(h=parseInt(window.sessionStorage.getItem("nuxt-reload")))||h+6e4<f)&&(window.sessionStorage.setItem("nuxt-reload",f),window.location.reload(!0))),e.t0;case 11:return o.components[c]=r=A(r),e.abrupt("return","function"==typeof t?t(r,n,o,c):r);case 13:case"end":return e.stop()}}),e,null,[[1,7]])})));return function(t,r,n,o){return e.apply(this,arguments)}}()))}function R(e){return x.apply(this,arguments)}function x(){return(x=Object(o.a)(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,M(t);case 4:return e.abrupt("return",y(y({},t),{},{meta:T(t).map((function(e,r){return y(y({},e.options.meta),(t.matched[r]||{}).meta)}))}));case 5:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function B(e,t){return N.apply(this,arguments)}function N(){return(N=Object(o.a)(regeneratorRuntime.mark((function e(t,r){var o,c,h,d;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.context||(t.context={isStatic:!0,isDev:!1,isHMR:!1,app:t,store:t.store,payload:r.payload,error:r.error,base:t.router.options.base,env:{}},r.req&&(t.context.req=r.req),r.res&&(t.context.res=r.res),r.ssrContext&&(t.context.ssrContext=r.ssrContext),t.context.redirect=function(e,path,r){if(e){t.context._redirected=!0;var o=Object(n.a)(path);if("number"==typeof e||"undefined"!==o&&"object"!==o||(r=path||{},path=e,o=Object(n.a)(path),e=302),"object"===o&&(path=t.router.resolve(path).route.fullPath),!/(^[.]{1,2}\/)|(^\/(?!\/))/.test(path))throw path=Object(l.d)(path,r),window.location.replace(path),new Error("ERR_REDIRECT");t.context.next({path:path,query:r,status:e})}},t.context.nuxtState=window.__NUXT__),e.next=3,Promise.all([R(r.route),R(r.from)]);case 3:o=e.sent,c=Object(f.a)(o,2),h=c[0],d=c[1],r.route&&(t.context.route=h),r.from&&(t.context.from=d),t.context.next=r.next,t.context._redirected=!1,t.context._errored=!1,t.context.
2isHMR=!1,t.context.params=t.context.route.params||{},t.context.query=t.context.route.query||{};case 15:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function O(e,t){return!e.length||t._redirected||t._errored?Promise.resolve():L(e[0],t).then((function(){return O(e.slice(1),t)}))}function L(e,t){var r;return(r=2===e.length?new Promise((function(r){e(t,(function(e,data){e&&t.error(e),r(data=data||{})}))})):e(t))&&r instanceof Promise&&"function"==typeof r.then?r:Promise.resolve(r)}function P(base,e){if("hash"===e)return window.location.hash.replace(/^#\//,"");base=decodeURI(base).slice(0,-1);var path=decodeURI(window.location.pathname);base&&path.startsWith(base)&&(path=path.slice(base.length));var t=(path||"/")+window.location.search+window.location.hash;return Object(l.c)(t)}function D(e,t){return function(e,t){for(var r=new Array(e.length),i=0;i<e.length;i++)"object"===Object(n.a)(e[i])&&(r[i]=new RegExp("^(?:"+e[i].pattern+")$",G(t)));return function(t,n){for(var path="",data=t||{},o=(n||{}).pretty?V:encodeURIComponent,c=0;c<e.length;c++){var f=e[c];if("string"!=typeof f){var h=data[f.name||"pathMatch"],l=void 0;if(null==h){if(f.optional){f.partial&&(path+=f.prefix);continue}throw new TypeError('Expected "'+f.name+'" to be defined')}if(Array.isArray(h)){if(!f.repeat)throw new TypeError('Expected "'+f.name+'" to not repeat, but received `'+JSON.stringify(h)+"`");if(0===h.length){if(f.optional)continue;throw new TypeError('Expected "'+f.name+'" to not be empty')}for(var d=0;d<h.length;d++){if(l=o(h[d]),!r[c].test(l))throw new TypeError('Expected all "'+f.name+'" to match "'+f.pattern+'", but received `'+JSON.stringify(l)+"`");path+=(0===d?f.prefix:f.delimiter)+l}}else{if(l=f.asterisk?K(h):o(h),!r[c].test(l))throw new TypeError('Expected "'+f.name+'" to match "'+f.pattern+'", but received "'+l+'"');path+=f.prefix+l}}else path+=f}return path}}(function(e,t){var r,n=[],o=0,c=0,path="",f=t&&t.delimiter||"/";for(;null!=(r=F.exec(e));){var h=r[0],l=r[1],d=r.index;if(path+=e.slice(c,d),c=d+h.length,l)path+=l[1];else{var y=e[c],m=r[2],v=r[3],w=r[4],_=r[5],E=r[6],S=r[7];path&&(n.push(path),path="");var C=null!=m&&null!=y&&y!==m,A="+"===E||"*"===E,T="?"===E||"*"===E,k=r[2]||f,pattern=w||_;n.push({name:v||o++,prefix:m||"",delimiter:k,optional:T,repeat:A,partial:C,asterisk:Boolean(S),pattern:pattern?H(pattern):S?".*":"[^"+z(k)+"]+?"})}}c<e.length&&(path+=e.substr(c));path&&n.push(path);return n}(e,t),t)}function j(e,t){var r={},n=y(y({},e),t);for(var o in n)String(e[o])!==String(t[o])&&(r[o]=!0);return r}function U(e){var t;if(e.message||"string"==typeof e)t=e.message||e;else try{t=JSON.stringify(e,null,2)}catch(r){t="[".concat(e.constructor.name,"]")}return y(y({},e),{},{message:t,statusCode:e.statusCode||e.status||e.response&&e.response.status||500})}window.onNuxtReadyCbs=[],window.onNuxtReady=function(e){window.onNuxtReadyCbs.push(e)};var F=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function V(e,t){var r=t?/[?#]/g:/[/?#]/g;return encodeURI(e).replace(r,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}function K(e){return V(e,!0)}function z(e){return e.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}function H(e){return e.replace(/([=!:$/()])/g,"\\$1")}function G(e){return e&&e.sensitive?"":"i"}function $(e,t,r){e.$options[t]||(e.$options[t]=[]),e.$options[t].includes(r)||e.$options[t].push(r)}var W=l.b,Y=(l.e,l.a);function X(e){try{window.history.scrollRestoration=e}catch(e){}}},,function(e,t){"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}}},,,function(e,t,r){var n=r(15),o=n.Buffer;function c(e,t){for(var r in e)t[r]=e[r]}function f(e,t,r){return o(e,t,r)}o.from&&o.alloc&&o.allocUnsafe&&o.allocUnsafeSlow?e.exports=n:(c(n,t),t.Buffer=f),f.prototype=Object.create(o.prototype),c(o,f),f.from=function(e,t,r){if("number"==typeof e)throw new TypeError("Argument must not be a number");return o(e,t,r)},f.alloc=function(e,t,r){if("number"!=typeof e)throw new TypeError("Argument must be a number");var n=o(e);return void 0!==t?"string"==typeof r?n.fill(t,r):n.fill(t):n.fill(0),n},f.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return o(e)},f.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return n.SlowBuffer(e)}},,,function(e,t){e.exports={options:{usePureJavaScript:!1}}},function(e,t,r){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var content=function(e,t){var content=e[1]||"",r=e[3];if(!r)return content;if(t&&"function"==typeof btoa){var n=(c=r,f=btoa(unescape(encodeURIComponent(JSON.stringify(c)))),data="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(f),"/*# ".concat(data," */")),o=r.sources.map((function(source){return"/*# sourceURL=".concat(r.sourceRoot||"").concat(source," */")}));return[content].concat(o).concat([n]).join("\n")}var c,f,data;return[content].join("\n")}(t,e);return t[2]?"@media ".concat(t[2]," {").concat(content,"}"):content})).join("")},t.i=function(e,r,n){"string"==typeof e&&(e=[[null,e,""]]);var o={};if(n)for(var i=0;i<this.length;i++){var c=this[i][0];null!=c&&(o[c]=!0)}for(var f=0;f<e.length;f++){var h=[].concat(e[f]);n&&o[h[0]]||(r&&(h[2]?h[2]="".concat(r," and ").concat(h[2]):h[2]=r),t.push(h))}},t}},function(e,t,r){"use strict";function n(e,t){for(var r=[],n={},i=0;i<t.length;i++){var o=t[i],c=o[0],f={id:e+":"+i,css:o[1],media:o[2],sourceMap:o[3]};n[c]?n[c].parts.push(f):r.push(n[c]={id:c,parts:[f]})}return r}r.r(t),r.d(t,"default",(function(){return w}));var o="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!o)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var c={},head=o&&(document.head||document.getElementsByTagName("head")[0]),f=null,h=0,l=!1,d=function(){},y=null,m="data-vue-ssr-id",v="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function w(e,t,r,o){l=r,y=o||{};var f=n(e,t);return _(f),function(t){for(var r=[],i=0;i<f.length;i++){var o=f[i];(h=c[o.id]).refs--,r.push(h)}t?_(f=n(e,t)):f=[];for(i=0;i<r.length;i++){var h;if(0===(h=r[i]).refs){for(var l=0;l<h.parts.length;l++)h.parts[l]();delete c[h.id]}}}}function _(e){for(var i=0;i<e.length;i++){var t=e[i],r=c[t.id];if(r){r.refs++;for(var n=0;n<r.parts.length;n++)r.parts[n](t.parts[n]);for(;n<t.parts.length;n++)r.parts.push(S(t.parts[n]));r.parts.length>t.parts.length&&(r.parts.length=t.parts.length)}else{var o=[];for(n=0;n<t.parts.length;n++)o.push(S(t.parts[n]));c[t.id]={id:t.id,refs:1,parts:o}}}}function E(){var e=document.createElement("style");return e.type="text/css",head.appendChild(e),e}function S(e){var t,r,n=document.querySelector("style["+m+'~="'+e.id+'"]');if(n){if(l)return d;n.parentNode.removeChild(n)}if(v){var o=h++;n=f||(f=E()),t=T.bind(null,n,o,!1),r=T.bind(null,n,o,!0)}else n=E(),t=k.bind(null,n),r=function(){n.parentNode.removeChild(n)};return t(e),function(n){if(n){if(n.css===e.css&&n.media===e.media&&n.sourceMap===e.sourceMap)return;t(e=n)}else r()}}
vendor: 4,334 bytes, line 2
2var C,A=(C=[],function(e,t){return C[e]=t,C.filter(Boolean).join("\n")});function T(e,t,r,n){var o=r?"":n.css;if(e.styleSheet)e.styleSheet.cssText=A(t,o);else{var c=document.createTextNode(o),f=e.childNodes;f[t]&&e.removeChild(f[t]),f.length?e.insertBefore(c,f[t]):e.appendChild(c)}}function k(e,t){var r=t.css,n=t.media,o=t.sourceMap;if(n&&e.setAttribute("media",n),y.ssrId&&e.setAttribute(m,t.id),o&&(r+="\n/*# sourceURL="+o.sources[0]+" */",r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */"),e.styleSheet)e.styleSheet.cssText=r;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(r))}}},,function(e,t,r){"use strict";(function(e){var n=r(372),o=r(701),c=r(373);function f(){return l.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function h(e,t){if(f()<t)throw new RangeError("Invalid typed array length");return l.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=l.prototype:(null===e&&(e=new l(t)),e.length=t),e}function l(e,t,r){if(!(l.TYPED_ARRAY_SUPPORT||this instanceof l))return new l(e,t,r);if("number"==typeof e){if("string"==typeof t)throw new Error("If encoding is specified then the first argument must be a string");return m(this,e)}return d(this,e,t,r)}function d(e,t,r,n){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer?function(e,t,r,n){if(t.byteLength,r<0||t.byteLength<r)throw new RangeError("'offset' is out of bounds");if(t.byteLength<r+(n||0))throw new RangeError("'length' is out of bounds");t=void 0===r&&void 0===n?new Uint8Array(t):void 0===n?new Uint8Array(t,r):new Uint8Array(t,r,n);l.TYPED_ARRAY_SUPPORT?(e=t).__proto__=l.prototype:e=v(e,t);return e}(e,t,r,n):"string"==typeof t?function(e,t,r){"string"==typeof r&&""!==r||(r="utf8");if(!l.isEncoding(r))throw new TypeError('"encoding" must be a valid string encoding');var n=0|_(t,r),o=(e=h(e,n)).write(t,r);o!==n&&(e=e.slice(0,o));return e}(e,t,r):function(e,t){if(l.isBuffer(t)){var r=0|w(t.length);return 0===(e=h(e,r)).length||t.copy(e,0,0,r),e}if(t){if("undefined"!=typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!=typeof t.length||(n=t.length)!=n?h(e,0):v(e,t);if("Buffer"===t.type&&c(t.data))return v(e,t.data)}var n;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e,t)}function y(e){if("number"!=typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function m(e,t){if(y(t),e=h(e,t<0?0:0|w(t)),!l.TYPED_ARRAY_SUPPORT)for(var i=0;i<t;++i)e[i]=0;return e}function v(e,t){var r=t.length<0?0:0|w(t.length);e=h(e,r);for(var i=0;i<r;i+=1)e[i]=255&t[i];return e}function w(e){if(e>=f())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+f().toString(16)+" bytes");return 0|e}function _(e,t){if(l.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var r=e.length;if(0===r)return 0;for(var n=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return Y(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return X(e).length;default:if(n)return Y(e).length;t=(""+t).toLowerCase(),n=!0}}function E(e,t,r){var n=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return D(this,t,r);case"utf8":case"utf-8":return N(this,t,r);case"ascii":return L(this,t,r);case"latin1":case"binary":return P(this,t,r);case"base64":return B(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return j(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function S(b,e,t){var i=b[e];b[e]=b[t],b[t]=i}function C(e,t,r,n,o){if(0===e.length)return-1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=o?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(o)return-1;r=e.length-1}
vendor: 8,147 bytes, line 2
2else if(r<0){if(!o)return-1;r=0}if("string"==typeof t&&(t=l.from(t,n)),l.isBuffer(t))return 0===t.length?-1:A(e,t,r,n,o);if("number"==typeof t)return t&=255,l.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):A(e,[t],r,n,o);throw new TypeError("val must be string, number or Buffer")}function A(e,t,r,n,o){var i,c=1,f=e.length,h=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return-1;c=2,f/=2,h/=2,r/=2}function l(e,i){return 1===c?e[i]:e.readUInt16BE(i*c)}if(o){var d=-1;for(i=r;i<f;i++)if(l(e,i)===l(t,-1===d?0:i-d)){if(-1===d&&(d=i),i-d+1===h)return d*c}else-1!==d&&(i-=i-d),d=-1}else for(r+h>f&&(r=f-h),i=r;i>=0;i--){for(var y=!0,m=0;m<h;m++)if(l(e,i+m)!==l(t,m)){y=!1;break}if(y)return i}return-1}function T(e,t,r,n){r=Number(r)||0;var o=e.length-r;n?(n=Number(n))>o&&(n=o):n=o;var c=t.length;if(c%2!=0)throw new TypeError("Invalid hex string");n>c/2&&(n=c/2);for(var i=0;i<n;++i){var f=parseInt(t.substr(2*i,2),16);if(isNaN(f))return i;e[r+i]=f}return i}function k(e,t,r,n){return J(Y(t,e.length-r),e,r,n)}function I(e,t,r,n){return J(function(e){for(var t=[],i=0;i<e.length;++i)t.push(255&e.charCodeAt(i));return t}(t),e,r,n)}function M(e,t,r,n){return I(e,t,r,n)}function R(e,t,r,n){return J(X(t),e,r,n)}function x(e,t,r,n){return J(function(e,t){for(var r,n,o,c=[],i=0;i<e.length&&!((t-=2)<0);++i)n=(r=e.charCodeAt(i))>>8,o=r%256,c.push(o),c.push(n);return c}(t,e.length-r),e,r,n)}function B(e,t,r){return 0===t&&r===e.length?n.fromByteArray(e):n.fromByteArray(e.slice(t,r))}function N(e,t,r){r=Math.min(e.length,r);for(var n=[],i=t;i<r;){var o,c,f,h,l=e[i],d=null,y=l>239?4:l>223?3:l>191?2:1;if(i+y<=r)switch(y){case 1:l<128&&(d=l);break;case 2:128==(192&(o=e[i+1]))&&(h=(31&l)<<6|63&o)>127&&(d=h);break;case 3:o=e[i+1],c=e[i+2],128==(192&o)&&128==(192&c)&&(h=(15&l)<<12|(63&o)<<6|63&c)>2047&&(h<55296||h>57343)&&(d=h);break;case 4:o=e[i+1],c=e[i+2],f=e[i+3],128==(192&o)&&128==(192&c)&&128==(192&f)&&(h=(15&l)<<18|(63&o)<<12|(63&c)<<6|63&f)>65535&&h<1114112&&(d=h)}null===d?(d=65533,y=1):d>65535&&(d-=65536,n.push(d>>>10&1023|55296),d=56320|1023&d),n.push(d),i+=y}return function(e){var t=e.length;if(t<=O)return String.fromCharCode.apply(String,e);var r="",i=0;for(;i<t;)r+=String.fromCharCode.apply(String,e.slice(i,i+=O));return r}(n)}t.Buffer=l,t.SlowBuffer=function(e){+e!=e&&(e=0);return l.alloc(+e)},t.INSPECT_MAX_BYTES=50,l.TYPED_ARRAY_SUPPORT=void 0!==e.TYPED_ARRAY_SUPPORT?e.TYPED_ARRAY_SUPPORT:function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&"function"==typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(e){return!1}}(),t.kMaxLength=f(),l.poolSize=8192,l._augment=function(e){return e.__proto__=l.prototype,e},l.from=function(e,t,r){return d(null,e,t,r)},l.TYPED_ARRAY_SUPPORT&&(l.prototype.__proto__=Uint8Array.prototype,l.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&l[Symbol.species]===l&&Object.defineProperty(l,Symbol.species,{value:null,configurable:!0})),l.alloc=function(e,t,r){return function(e,t,r,n){return y(t),t<=0?h(e,t):void 0!==r?"string"==typeof n?h(e,t).fill(r,n):h(e,t).fill(r):h(e,t)}(null,e,t,r)},l.allocUnsafe=function(e){return m(null,e)},l.allocUnsafeSlow=function(e){return m(null,e)},l.isBuffer=function(b){return!(null==b||!b._isBuffer)},l.compare=function(a,b){if(!l.isBuffer(a)||!l.isBuffer(b))throw new TypeError("Arguments must be Buffers");if(a===b)return 0;for(var e=a.length,t=b.length,i=0,r=Math.min(e,t);i<r;++i)if(a[i]!==b[i]){e=a[i],t=b[i];break}return e<t?-1:t<e?1:0},l.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},l.concat=function(e,t){if(!c(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return l.alloc(0);var i;if(void 0===t)for(t=0,i=0;i<e.length;++i)t+=e[i].length;var r=l.allocUnsafe(t),n=0;for(i=0;i<e.length;++i){var o=e[i];if(!l.isBuffer(o))throw new TypeError('"list" argument must be an Array of Buffers');o.copy(r,n),n+=o.length}return r},l.byteLength=_,l.prototype._isBuffer=!0,l.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var i=0;i<e;i+=2)S(this,i,i+1);return this},l.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var i=0;i<e;i+=4)S(this,i,i+3),S(this,i+1,i+2);return this},l.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var i=0;i<e;i+=8)S(this,i,i+7),S(this,i+1,i+6),S(this,i+2,i+5),S(this,i+3,i+4);return this},l.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?N(this,0,e):E.apply(this,arguments)},l.prototype.equals=function(b){if(!l.isBuffer(b))throw new TypeError("Argument must be a Buffer");return this===b||0===l.compare(this,b)},l.prototype.inspect=function(){var e="",r=t.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,r).match(/.{2}/g).join(" "),this.length>r&&(e+=" ... ")),"<Buffer "+e+">"},l.prototype.compare=function(e,t,r,n,o){if(!l.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===o&&(o=this.length),t<0||r>e.length||n<0||o>this.length)throw new RangeError("out of range index");if(n>=o&&t>=r)return 0;if(n>=o)return-1;if(t>=r)return 1;if(this===e)return 0;for(var c=(o>>>=0)-(n>>>=0),f=(r>>>=0)-(t>>>=0),h=Math.min(c,f),d=this.slice(n,o),y=e.slice(t,r),i=0;i<h;++i)if(d[i]!==y[i]){c=d[i],f=y[i];break}return c<f?-1:f<c?1:0},l.prototype.includes=function(e,t,r){return-1!==this.indexOf(e,t,r)},l.prototype.indexOf=function(e,t,r){return C(this,e,t,r,!0)},l.prototype.lastIndexOf=function(e,t,r){return C(this,e,t,r,!1)},l.prototype.write=function(e,t,r,n){if(void 0===t)n="utf8",r=this.length,t=0;else if(void 0===r&&"string"==typeof t)n=t,r=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(r)?(r|=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}var o=this.length-t;if((void 0===r||r>o)&&(r=o),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var c=!1;;)switch(n){case"hex":return T(this,e,t,r);case"utf8":case"utf-8":return k(this,e,t,r);case"ascii":return I(this,e,t,r);case"latin1":case"binary":return M(this,e,t,r);case"base64":return R(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return x(this,e,t,r);default:if(c)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),c=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var O=4096;function L(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(127&e[i]);return n}function P(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(e[i]);return n}function D(e,t,r){var n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);for(var o="",i=t;i<r;++i)o+=W(e[i]);return o}function j(e,t,r){for(var n=e.slice(t,r),o="",i=0;i<n.length;i+=2)o+=String.fromCharCode(n[i]+256*n[i+1]);return o}function U(e,t,r){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}function F(e,t,r,n,o,c){if(!l.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>o||t<c)throw new RangeError('"value" argument is out of bounds');if(r+n>e.length)throw new RangeError("Index out of range")}function V(e,t,r,n){t<0&&(t=65535+t+1);for(var i=0,o=Math.min(e.length-r,2);i<o;++i)e[r+i]=(t&255<<8*(n?i:1-i))>>>8*(n?i:1-i)}function K(e,t,r,n){t<0&&(t=4294967295+t+1);for(var i=0,o=Math.min(e.length-r,4);i<o;++i)e[r+i]=t>>
vendor: 7,096 bytes, line 2
2>8*(n?i:3-i)&255}function z(e,t,r,n,o,c){if(r+n>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function H(e,t,r,n,c){return c||z(e,0,r,4),o.write(e,t,r,n,23,4),r+4}function G(e,t,r,n,c){return c||z(e,0,r,8),o.write(e,t,r,n,52,8),r+8}l.prototype.slice=function(e,t){var r,n=this.length;if((e=~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),(t=void 0===t?n:~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),t<e&&(t=e),l.TYPED_ARRAY_SUPPORT)(r=this.subarray(e,t)).__proto__=l.prototype;else{var o=t-e;r=new l(o,void 0);for(var i=0;i<o;++i)r[i]=this[i+e]}return r},l.prototype.readUIntLE=function(e,t,r){e|=0,t|=0,r||U(e,t,this.length);for(var n=this[e],o=1,i=0;++i<t&&(o*=256);)n+=this[e+i]*o;return n},l.prototype.readUIntBE=function(e,t,r){e|=0,t|=0,r||U(e,t,this.length);for(var n=this[e+--t],o=1;t>0&&(o*=256);)n+=this[e+--t]*o;return n},l.prototype.readUInt8=function(e,t){return t||U(e,1,this.length),this[e]},l.prototype.readUInt16LE=function(e,t){return t||U(e,2,this.length),this[e]|this[e+1]<<8},l.prototype.readUInt16BE=function(e,t){return t||U(e,2,this.length),this[e]<<8|this[e+1]},l.prototype.readUInt32LE=function(e,t){return t||U(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},l.prototype.readUInt32BE=function(e,t){return t||U(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},l.prototype.readIntLE=function(e,t,r){e|=0,t|=0,r||U(e,t,this.length);for(var n=this[e],o=1,i=0;++i<t&&(o*=256);)n+=this[e+i]*o;return n>=(o*=128)&&(n-=Math.pow(2,8*t)),n},l.prototype.readIntBE=function(e,t,r){e|=0,t|=0,r||U(e,t,this.length);for(var i=t,n=1,o=this[e+--i];i>0&&(n*=256);)o+=this[e+--i]*n;return o>=(n*=128)&&(o-=Math.pow(2,8*t)),o},l.prototype.readInt8=function(e,t){return t||U(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},l.prototype.readInt16LE=function(e,t){t||U(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},l.prototype.readInt16BE=function(e,t){t||U(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},l.prototype.readInt32LE=function(e,t){return t||U(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},l.prototype.readInt32BE=function(e,t){return t||U(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},l.prototype.readFloatLE=function(e,t){return t||U(e,4,this.length),o.read(this,e,!0,23,4)},l.prototype.readFloatBE=function(e,t){return t||U(e,4,this.length),o.read(this,e,!1,23,4)},l.prototype.readDoubleLE=function(e,t){return t||U(e,8,this.length),o.read(this,e,!0,52,8)},l.prototype.readDoubleBE=function(e,t){return t||U(e,8,this.length),o.read(this,e,!1,52,8)},l.prototype.writeUIntLE=function(e,t,r,n){(e=+e,t|=0,r|=0,n)||F(this,e,t,r,Math.pow(2,8*r)-1,0);var o=1,i=0;for(this[t]=255&e;++i<r&&(o*=256);)this[t+i]=e/o&255;return t+r},l.prototype.writeUIntBE=function(e,t,r,n){(e=+e,t|=0,r|=0,n)||F(this,e,t,r,Math.pow(2,8*r)-1,0);var i=r-1,o=1;for(this[t+i]=255&e;--i>=0&&(o*=256);)this[t+i]=e/o&255;return t+r},l.prototype.writeUInt8=function(e,t,r){return e=+e,t|=0,r||F(this,e,t,1,255,0),l.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},l.prototype.writeUInt16LE=function(e,t,r){return e=+e,t|=0,r||F(this,e,t,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):V(this,e,t,!0),t+2},l.prototype.writeUInt16BE=function(e,t,r){return e=+e,t|=0,r||F(this,e,t,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):V(this,e,t,!1),t+2},l.prototype.writeUInt32LE=function(e,t,r){return e=+e,t|=0,r||F(this,e,t,4,4294967295,0),l.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):K(this,e,t,!0),t+4},l.prototype.writeUInt32BE=function(e,t,r){return e=+e,t|=0,r||F(this,e,t,4,4294967295,0),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):K(this,e,t,!1),t+4},l.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t|=0,!n){var o=Math.pow(2,8*r-1);F(this,e,t,r,o-1,-o)}var i=0,c=1,sub=0;for(this[t]=255&e;++i<r&&(c*=256);)e<0&&0===sub&&0!==this[t+i-1]&&(sub=1),this[t+i]=(e/c>>0)-sub&255;return t+r},l.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t|=0,!n){var o=Math.pow(2,8*r-1);F(this,e,t,r,o-1,-o)}var i=r-1,c=1,sub=0;for(this[t+i]=255&e;--i>=0&&(c*=256);)e<0&&0===sub&&0!==this[t+i+1]&&(sub=1),this[t+i]=(e/c>>0)-sub&255;return t+r},l.prototype.writeInt8=function(e,t,r){return e=+e,t|=0,r||F(this,e,t,1,127,-128),l.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},l.prototype.writeInt16LE=function(e,t,r){return e=+e,t|=0,r||F(this,e,t,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):V(this,e,t,!0),t+2},l.prototype.writeInt16BE=function(e,t,r){return e=+e,t|=0,r||F(this,e,t,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):V(this,e,t,!1),t+2},l.prototype.writeInt32LE=function(e,t,r){return e=+e,t|=0,r||F(this,e,t,4,2147483647,-2147483648),l.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):K(this,e,t,!0),t+4},l.prototype.writeInt32BE=function(e,t,r){return e=+e,t|=0,r||F(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):K(this,e,t,!1),t+4},l.prototype.writeFloatLE=function(e,t,r){return H(this,e,t,!0,r)},l.prototype.writeFloatBE=function(e,t,r){return H(this,e,t,!1,r)},l.prototype.writeDoubleLE=function(e,t,r){return G(this,e,t,!0,r)},l.prototype.writeDoubleBE=function(e,t,r){return G(this,e,t,!1,r)},l.prototype.copy=function(e,t,r,n){if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n<r&&(n=r),n===r)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=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),e.length-t<n-r&&(n=e.length-t+r);var i,o=n-r;if(this===e&&r<t&&t<n)for(i=o-1;i>=0;--i)e[i+t]=this[i+r];else if(o<1e3||!l.TYPED_ARRAY_SUPPORT)for(i=0;i<o;++i)e[i+t]=this[i+r];else Uint8Array.prototype.set.call(e,this.subarray(r,r+o),t);return o},l.prototype.fill=function(e,t,r,n){if("string"==typeof e){if("string"==typeof t?(n=t,t=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),1===e.length){var code=e.charCodeAt(0);code<256&&(e=code)}if(void 0!==n&&"string"!=typeof n)throw new TypeError("encoding must be a string");if("string"==typeof n&&!l.isEncoding(n))throw new TypeError("Unknown encoding: "+n)}else"number"==typeof e&&(e&=255);if(t<0||this.length<t||this.length<r)throw new RangeError("Out of range index");if(r<=t)return this;var i;if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(i=t;i<r;++i)this[i]=e;else{var o=l.isBuffer(e)?e:Y(new l(e,n).toString()),c=o.length;for(i=0;i<r-t;++i)this[i+t]=o[i%c]}return this};var $=/[^+\/0-9A-Za-z-_]/g;function W(e){return e<16?"0"+e.toString(16):e.toString(16)}function Y(e,t){var r;t=t||1/0;for(var n=e.length,o=null,c=[],i=0;i<n;++i){if((r=e.charCodeAt(i))>55295&&r<57344){if(!o){if(r>56319){(t-=3)>
vendor: 7,893 bytes, line 2
2-1&&c.push(239,191,189);continue}if(i+1===n){(t-=3)>-1&&c.push(239,191,189);continue}o=r;continue}if(r<56320){(t-=3)>-1&&c.push(239,191,189),o=r;continue}r=65536+(o-55296<<10|r-56320)}else o&&(t-=3)>-1&&c.push(239,191,189);if(o=null,r<128){if((t-=1)<0)break;c.push(r)}else if(r<2048){if((t-=2)<0)break;c.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;c.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;c.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return c}function X(e){return n.toByteArray(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace($,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function J(e,t,r,n){for(var i=0;i<n&&!(i+r>=t.length||i>=e.length);++i)t[i+r]=e[i];return i}}).call(this,r(20))},,,function(e,t,r){(function(t,n,o,c){var f=r(11),h=r(834),l=e.exports=f.util=f.util||{};function d(e){if(8!==e&&16!==e&&24!==e&&32!==e)throw new Error("Only 8, 16, 24, or 32 bits supported: "+e)}function y(b){if(this.data="",this.read=0,"string"==typeof b)this.data=b;else if(l.isArrayBuffer(b)||l.isArrayBufferView(b))if(void 0!==c&&b instanceof c)this.data=b.toString("binary");else{var e=new Uint8Array(b);try{this.data=String.fromCharCode.apply(null,e)}catch(t){for(var i=0;i<e.length;++i)this.putByte(e[i])}}else(b instanceof y||"object"==typeof b&&"string"==typeof b.data&&"number"==typeof b.read)&&(this.data=b.data,this.read=b.read);this._constructedStringLength=0}!function(){if(void 0!==t&&t.nextTick,"function"==typeof n)return l.setImmediate=function(){return n.apply(void 0,arguments)},void(l.nextTick=function(e){return n(e)});if(l.setImmediate=function(e){setTimeout(e,0)},"undefined"!=typeof window&&"function"==typeof window.postMessage){var e="forge.setImmediate",r=[];l.setImmediate=function(t){r.push(t),1===r.length&&window.postMessage(e,"*")},window.addEventListener("message",(function(t){if(t.source===window&&t.data===e){t.stopPropagation();var n=r.slice();r.length=0,n.forEach((function(e){e()}))}}),!0)}if("undefined"!=typeof MutationObserver){var o=Date.now(),c=!0,div=document.createElement("div");r=[];new MutationObserver((function(){var e=r.slice();r.length=0,e.forEach((function(e){e()}))})).observe(div,{attributes:!0});var f=l.setImmediate;l.setImmediate=function(e){Date.now()-o>15?(o=Date.now(),f(e)):(r.push(e),1===r.length&&div.setAttribute("a",c=!c))}}l.nextTick=l.setImmediate}(),l.isNodejs=void 0!==t&&t.versions&&t.versions.node,l.globalScope=l.isNodejs?o:"undefined"==typeof self?window:self,l.isArray=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)},l.isArrayBuffer=function(e){return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer},l.isArrayBufferView=function(e){return e&&l.isArrayBuffer(e.buffer)&&void 0!==e.byteLength},l.ByteBuffer=y,l.ByteStringBuffer=y;l.ByteStringBuffer.prototype._optimizeConstructedString=function(e){this._constructedStringLength+=e,this._constructedStringLength>4096&&(this.data.substr(0,1),this._constructedStringLength=0)},l.ByteStringBuffer.prototype.length=function(){return this.data.length-this.read},l.ByteStringBuffer.prototype.isEmpty=function(){return this.length()<=0},l.ByteStringBuffer.prototype.putByte=function(b){return this.putBytes(String.fromCharCode(b))},l.ByteStringBuffer.prototype.fillWithByte=function(b,e){b=String.fromCharCode(b);for(var t=this.data;e>0;)1&e&&(t+=b),(e>>>=1)>0&&(b+=b);return this.data=t,this._optimizeConstructedString(e),this},l.ByteStringBuffer.prototype.putBytes=function(e){return this.data+=e,this._optimizeConstructedString(e.length),this},l.ByteStringBuffer.prototype.putString=function(e){return this.putBytes(l.encodeUtf8(e))},l.ByteStringBuffer.prototype.putInt16=function(i){return this.putBytes(String.fromCharCode(i>>8&255)+String.fromCharCode(255&i))},l.ByteStringBuffer.prototype.putInt24=function(i){return this.putBytes(String.fromCharCode(i>>16&255)+String.fromCharCode(i>>8&255)+String.fromCharCode(255&i))},l.ByteStringBuffer.prototype.putInt32=function(i){return this.putBytes(String.fromCharCode(i>>24&255)+String.fromCharCode(i>>16&255)+String.fromCharCode(i>>8&255)+String.fromCharCode(255&i))},l.ByteStringBuffer.prototype.putInt16Le=function(i){return this.putBytes(String.fromCharCode(255&i)+String.fromCharCode(i>>8&255))},l.ByteStringBuffer.prototype.putInt24Le=function(i){return this.putBytes(String.fromCharCode(255&i)+String.fromCharCode(i>>8&255)+String.fromCharCode(i>>16&255))},l.ByteStringBuffer.prototype.putInt32Le=function(i){return this.putBytes(String.fromCharCode(255&i)+String.fromCharCode(i>>8&255)+String.fromCharCode(i>>16&255)+String.fromCharCode(i>>24&255))},l.ByteStringBuffer.prototype.putInt=function(i,e){d(e);var t="";do{e-=8,t+=String.fromCharCode(i>>e&255)}while(e>0);return this.putBytes(t)},l.ByteStringBuffer.prototype.putSignedInt=function(i,e){return i<0&&(i+=2<<e-1),this.putInt(i,e)},l.ByteStringBuffer.prototype.putBuffer=function(e){return this.putBytes(e.getBytes())},l.ByteStringBuffer.prototype.getByte=function(){return this.data.charCodeAt(this.read++)},l.ByteStringBuffer.prototype.getInt16=function(){var e=this.data.charCodeAt(this.read)<<8^this.data.charCodeAt(this.read+1);return this.read+=2,e},l.ByteStringBuffer.prototype.getInt24=function(){var e=this.data.charCodeAt(this.read)<<16^this.data.charCodeAt(this.read+1)<<8^this.data.charCodeAt(this.read+2);return this.read+=3,e},l.ByteStringBuffer.prototype.getInt32=function(){var e=this.data.charCodeAt(this.read)<<24^this.data.charCodeAt(this.read+1)<<16^this.data.charCodeAt(this.read+2)<<8^this.data.charCodeAt(this.read+3);return this.read+=4,e},l.ByteStringBuffer.prototype.getInt16Le=function(){var e=this.data.charCodeAt(this.read)^this.data.charCodeAt(this.read+1)<<8;return this.read+=2,e},l.ByteStringBuffer.prototype.getInt24Le=function(){var e=this.data.charCodeAt(this.read)^this.data.charCodeAt(this.read+1)<<8^this.data.charCodeAt(this.read+2)<<16;return this.read+=3,e},l.ByteStringBuffer.prototype.getInt32Le=function(){var e=this.data.charCodeAt(this.read)^this.data.charCodeAt(this.read+1)<<8^this.data.charCodeAt(this.read+2)<<16^this.data.charCodeAt(this.read+3)<<24;return this.read+=4,e},l.ByteStringBuffer.prototype.getInt=function(e){d(e);var t=0;do{t=(t<<8)+this.data.charCodeAt(this.read++),e-=8}while(e>0);return t},l.ByteStringBuffer.prototype.getSignedInt=function(e){var t=this.getInt(e),r=2<<e-2;return t>=r&&(t-=r<<1),t},l.ByteStringBuffer.prototype.getBytes=function(e){var t;return e?(e=Math.min(this.length(),e),t=this.data.slice(this.read,this.read+e),this.read+=e):0===e?t="":(t=0===this.read?this.data:this.data.slice(this.read),this.clear()),t},l.ByteStringBuffer.prototype.bytes=function(e){return void 0===e?this.data.slice(this.read):this.data.slice(this.read,this.read+e)},l.ByteStringBuffer.prototype.at=function(i){return this.data.charCodeAt(this.read+i)},l.ByteStringBuffer.prototype.setAt=function(i,b){return this.data=this.data.substr(0,this.read+i)+String.fromCharCode(b)+this.data.substr(this.read+i+1),this},l.ByteStringBuffer.prototype.last=function(){return this.data.charCodeAt(this.data.length-1)},l.ByteStringBuffer.prototype.copy=function(){var e=l.createBuffer(this.data);return e.read=this.read,e},l.ByteStringBuffer.prototype.compact=function(){return this.read>0&&(this.data=this.data.slice(this.read),this.read=0),this},l.ByteStringBuffer.prototype.clear=function(){return this.data="",this.read=0,this},l.ByteStringBuffer.prototype.truncate=function(e){var t=Math.max(0,this.length()-e);return this.data=this.data.substr(this.read,t),this.read=0,this},l.ByteStringBuffer.prototype.toHex=function(){for(var e="",i=this.read;i<this.data.length;++i){var b=this.data.charCodeAt(i);b<16&&(e+="0"),e+=b.toString(16)}return e},l.ByteStringBuffer.prototype.toString=function(){return l.decode
vendor: 16,564 bytes, line 2
2Utf8(this.bytes())},l.DataBuffer=function(b,e){e=e||{},this.read=e.readOffset||0,this.growSize=e.growSize||1024;var t=l.isArrayBuffer(b),r=l.isArrayBufferView(b);if(t||r)return this.data=t?new DataView(b):new DataView(b.buffer,b.byteOffset,b.byteLength),void(this.write="writeOffset"in e?e.writeOffset:this.data.byteLength);this.data=new DataView(new ArrayBuffer(0)),this.write=0,null!=b&&this.putBytes(b),"writeOffset"in e&&(this.write=e.writeOffset)},l.DataBuffer.prototype.length=function(){return this.write-this.read},l.DataBuffer.prototype.isEmpty=function(){return this.length()<=0},l.DataBuffer.prototype.accommodate=function(e,t){if(this.length()>=e)return this;t=Math.max(t||this.growSize,e);var r=new Uint8Array(this.data.buffer,this.data.byteOffset,this.data.byteLength),n=new Uint8Array(this.length()+t);return n.set(r),this.data=new DataView(n.buffer),this},l.DataBuffer.prototype.putByte=function(b){return this.accommodate(1),this.data.setUint8(this.write++,b),this},l.DataBuffer.prototype.fillWithByte=function(b,e){this.accommodate(e);for(var i=0;i<e;++i)this.data.setUint8(b);return this},l.DataBuffer.prototype.putBytes=function(e,t){if(l.isArrayBufferView(e)){var r=(n=new Uint8Array(e.buffer,e.byteOffset,e.byteLength)).byteLength-n.byteOffset;return this.accommodate(r),new Uint8Array(this.data.buffer,this.write).set(n),this.write+=r,this}if(l.isArrayBuffer(e)){var n=new Uint8Array(e);return this.accommodate(n.byteLength),new Uint8Array(this.data.buffer).set(n,this.write),this.write+=n.byteLength,this}if(e instanceof l.DataBuffer||"object"==typeof e&&"number"==typeof e.read&&"number"==typeof e.write&&l.isArrayBufferView(e.data)){n=new Uint8Array(e.data.byteLength,e.read,e.length());return this.accommodate(n.byteLength),new Uint8Array(e.data.byteLength,this.write).set(n),this.write+=n.byteLength,this}if(e instanceof l.ByteStringBuffer&&(e=e.data,t="binary"),t=t||"binary","string"==typeof e){var view;if("hex"===t)return this.accommodate(Math.ceil(e.length/2)),view=new Uint8Array(this.data.buffer,this.write),this.write+=l.binary.hex.decode(e,view,this.write),this;if("base64"===t)return this.accommodate(3*Math.ceil(e.length/4)),view=new Uint8Array(this.data.buffer,this.write),this.write+=l.binary.base64.decode(e,view,this.write),this;if("utf8"===t&&(e=l.encodeUtf8(e),t="binary"),"binary"===t||"raw"===t)return this.accommodate(e.length),view=new Uint8Array(this.data.buffer,this.write),this.write+=l.binary.raw.decode(view),this;if("utf16"===t)return this.accommodate(2*e.length),view=new Uint16Array(this.data.buffer,this.write),this.write+=l.text.utf16.encode(view),this;throw new Error("Invalid encoding: "+t)}throw Error("Invalid parameter: "+e)},l.DataBuffer.prototype.putBuffer=function(e){return this.putBytes(e),e.clear(),this},l.DataBuffer.prototype.putString=function(e){return this.putBytes(e,"utf16")},l.DataBuffer.prototype.putInt16=function(i){return this.accommodate(2),this.data.setInt16(this.write,i),this.write+=2,this},l.DataBuffer.prototype.putInt24=function(i){return this.accommodate(3),this.data.setInt16(this.write,i>>8&65535),this.data.setInt8(this.write,i>>16&255),this.write+=3,this},l.DataBuffer.prototype.putInt32=function(i){return this.accommodate(4),this.data.setInt32(this.write,i),this.write+=4,this},l.DataBuffer.prototype.putInt16Le=function(i){return this.accommodate(2),this.data.setInt16(this.write,i,!0),this.write+=2,this},l.DataBuffer.prototype.putInt24Le=function(i){return this.accommodate(3),this.data.setInt8(this.write,i>>16&255),this.data.setInt16(this.write,i>>8&65535,!0),this.write+=3,this},l.DataBuffer.prototype.putInt32Le=function(i){return this.accommodate(4),this.data.setInt32(this.write,i,!0),this.write+=4,this},l.DataBuffer.prototype.putInt=function(i,e){d(e),this.accommodate(e/8);do{e-=8,this.data.setInt8(this.write++,i>>e&255)}while(e>0);return this},l.DataBuffer.prototype.putSignedInt=function(i,e){return d(e),this.accommodate(e/8),i<0&&(i+=2<<e-1),this.putInt(i,e)},l.DataBuffer.prototype.getByte=function(){return this.data.getInt8(this.read++)},l.DataBuffer.prototype.getInt16=function(){var e=this.data.getInt16(this.read);return this.read+=2,e},l.DataBuffer.prototype.getInt24=function(){var e=this.data.getInt16(this.read)<<8^this.data.getInt8(this.read+2);return this.read+=3,e},l.DataBuffer.prototype.getInt32=function(){var e=this.data.getInt32(this.read);return this.read+=4,e},l.DataBuffer.prototype.getInt16Le=function(){var e=this.data.getInt16(this.read,!0);return this.read+=2,e},l.DataBuffer.prototype.getInt24Le=function(){var e=this.data.getInt8(this.read)^this.data.getInt16(this.read+1,!0)<<8;return this.read+=3,e},l.DataBuffer.prototype.getInt32Le=function(){var e=this.data.getInt32(this.read,!0);return this.read+=4,e},l.DataBuffer.prototype.getInt=function(e){d(e);var t=0;do{t=(t<<8)+this.data.getInt8(this.read++),e-=8}while(e>0);return t},l.DataBuffer.prototype.getSignedInt=function(e){var t=this.getInt(e),r=2<<e-2;return t>=r&&(t-=r<<1),t},l.DataBuffer.prototype.getBytes=function(e){var t;return e?(e=Math.min(this.length(),e),t=this.data.slice(this.read,this.read+e),this.read+=e):0===e?t="":(t=0===this.read?this.data:this.data.slice(this.read),this.clear()),t},l.DataBuffer.prototype.bytes=function(e){return void 0===e?this.data.slice(this.read):this.data.slice(this.read,this.read+e)},l.DataBuffer.prototype.at=function(i){return this.data.getUint8(this.read+i)},l.DataBuffer.prototype.setAt=function(i,b){return this.data.setUint8(i,b),this},l.DataBuffer.prototype.last=function(){return this.data.getUint8(this.write-1)},l.DataBuffer.prototype.copy=function(){return new l.DataBuffer(this)},l.DataBuffer.prototype.compact=function(){if(this.read>0){var e=new Uint8Array(this.data.buffer,this.read),t=new Uint8Array(e.byteLength);t.set(e),this.data=new DataView(t),this.write-=this.read,this.read=0}return this},l.DataBuffer.prototype.clear=function(){return this.data=new DataView(new ArrayBuffer(0)),this.read=this.write=0,this},l.DataBuffer.prototype.truncate=function(e){return this.write=Math.max(0,this.length()-e),this.read=Math.min(this.read,this.write),this},l.DataBuffer.prototype.toHex=function(){for(var e="",i=this.read;i<this.data.byteLength;++i){var b=this.data.getUint8(i);b<16&&(e+="0"),e+=b.toString(16)}return e},l.DataBuffer.prototype.toString=function(e){var view=new Uint8Array(this.data,this.read,this.length());if("binary"===(e=e||"utf8")||"raw"===e)return l.binary.raw.encode(view);if("hex"===e)return l.binary.hex.encode(view);if("base64"===e)return l.binary.base64.encode(view);if("utf8"===e)return l.text.utf8.decode(view);if("utf16"===e)return l.text.utf16.decode(view);throw new Error("Invalid encoding: "+e)},l.createBuffer=function(input,e){return e=e||"raw",void 0!==input&&"utf8"===e&&(input=l.encodeUtf8(input)),new l.ByteBuffer(input)},l.fillString=function(e,t){for(var s="";t>0;)1&t&&(s+=e),(t>>>=1)>0&&(e+=e);return s},l.xorBytes=function(e,t,r){for(var n="",b="",o="",i=0,c=0;r>0;--r,++i)b=e.charCodeAt(i)^t.charCodeAt(i),c>=10&&(n+=o,o="",c=0),o+=String.fromCharCode(b),++c;return n+=o},l.hexToBytes=function(e){var t="",i=0;for(!0&e.length&&(i=1,t+=String.fromCharCode(parseInt(e[0],16)));i<e.length;i+=2)t+=String.fromCharCode(parseInt(e.substr(i,2),16));return t},l.bytesToHex=function(e){return l.createBuffer(e).toHex()},l.int32ToBytes=function(i){return String.fromCharCode(i>>24&255)+String.fromCharCode(i>>16&255)+String.fromCharCode(i>>8&255)+String.fromCharCode(255&i)};var m="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",v=[62,-1,-1,-1,63,52,53,54,55,56,57,58,59,60,61,-1,-1,-1,64,-1,-1,-1,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,-1,-1,-1,-1,-1,-1,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51],w="123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz";l.encode64=function(input,e){for(var t,r,n,line="",output="",i=0;i<input.length;)t=input.charCodeAt(i++),r=input.charCodeAt(i++),n=input.charCodeAt(i++),line+=m.charAt(t>>2),line+=m.charAt((3&t)<<4|r>>4),isNaN(r)?line+="==":(line+=m.charAt((15&r)<<2|n>>6),line+=isNaN(n)?"=":m.charAt(63&n)),e&&line.length>e&&(output+=line.substr(0,e)+"\r\n",line=line.substr(e));return output+=line},l.decode64=function(input){input=input.replace(/[^A-Za-z0-9\+\/\=]/g,"");for(var e,t,r,n,output="",i=0;i<input.length;)e=v[input.charCodeAt(i++)-43],t=v[input.charCodeAt(i++)-43],r=v[input.charCodeAt(i++)-43],n=v[input.charCodeAt(i++)-43],output+=String.fromCharCode(e<<2|t>>4),64!==r&&(output+=String.fromCharCode((15&t)<<4|r>>2),64!==n&&(output+=String.fromCharCode((3&r)<<6|n)));return output},l.encodeUtf8=function(e){return unescape(encodeURIComponent(e))},l.decodeUtf8=function(e){return decodeURIComponent(escape(e))},l.binary={raw:{},hex:{},base64:{},base58:{},baseN:{encode:h.encode,decode:h.decode}},l.binary.raw.encode=function(e){return String.fromCharCode.apply(null,e)},l.binary.raw.decode=function(e,output,t){var r=output;r||(r=new Uint8Array(e.length));for(var n=t=t||0,i=0;i<e.length;++i)r[n++]=e.charCodeAt(i);return output?n-t:r},l.binary.hex.encode=l.bytesToHex,l.binary.hex.decode=function(e,output,t){var r=output;r||(r=new Uint8Array(Math.ceil(e.length/2)));var i=0,n=t=t||0;for(1&e.length&&(i=1,r[n++]=parseInt(e[0],16));i<e.length;i+=2)r[n++]=parseInt(e.substr(i,2),16);return output?n-t:r},l.binary.base64.encode=function(input,e){for(var t,r,n,line="",output="",i=0;i<input.byteLength;)t=input[i++],r=input[i++],n=input[i++],line+=m.charAt(t>>2),line+=m.charAt((3&t)<<4|r>>4),isNaN(r)?line+="==":(line+=m.charAt((15&r)<<2|n>>6),line+=isNaN(n)?"=":m.charAt(63&n)),e&&line.length>e&&(output+=line.substr(0,e)+"\r\n",line=line.substr(e));return output+=line},l.binary.base64.decode=function(input,output,e){var t,r,n,o,c=output;c||(c=new Uint8Array(3*Math.ceil(input.length/4))),input=input.replace(/[^A-Za-z0-9\+\/\=]/g,"");for(var i=0,f=e=e||0;i<input.length;)t=v[input.charCodeAt(i++)-43],r=v[input.charCodeAt(i++)-43],n=v[input.charCodeAt(i++)-43],o=v[input.charCodeAt(i++)-43],c[f++]=t<<2|r>>4,64!==n&&(c[f++]=(15&r)<<4|n>>2,64!==o&&(c[f++]=(3&n)<<6|o));return output?f-e:c.subarray(0,f)},l.binary.base58.encode=function(input,e){return l.binary.baseN.encode(input,w,e)},l.binary.base58.decode=function(input,e){return l.binary.baseN.decode(input,w,e)},l.text={utf8:{},utf16:{}},l.text.utf8.encode=function(e,output,t){e=l.encodeUtf8(e);var r=output;r||(r=new Uint8Array(e.length));for(var n=t=t||0,i=0;i<e.length;++i)r[n++]=e.charCodeAt(i);return output?n-t:r},l.text.utf8.decode=function(e){return l.decodeUtf8(String.fromCharCode.apply(null,e))},l.text.utf16.encode=function(e,output,t){var r=output;r||(r=new Uint8Array(2*e.length));for(var view=new Uint16Array(r.buffer),n=t=t||0,o=t,i=0;i<e.length;++i)view[o++]=e.charCodeAt(i),n+=2;return output?n-t:r},l.text.utf16.decode=function(e){return String.fromCharCode.apply(null,new Uint16Array(e.buffer))},l.deflate=function(e,t,r){if(t=l.decode64(e.deflate(l.encode64(t)).rval),r){var n=2;32&t.charCodeAt(1)&&(n=6),t=t.substring(n,t.length-4)}return t},l.inflate=function(e,t,r){var n=e.inflate(l.encode64(t)).rval;return null===n?null:l.decode64(n)};var _=function(e,t,r){if(!e)throw new Error("WebStorage not available.");var n;if(null===r?n=e.removeItem(t):(r=l.encode64(JSON.stringify(r)),n=e.setItem(t,r)),void 0!==n&&!0!==n.rval){var o=new Error(n.error.message);throw o.id=n.error.id,o.name=n.error.name,o}},E=function(e,t){if(!e)throw new Error("WebStorage not available.");var r=e.getItem(t);if(e.init)if(null===r.rval){if(r.error){var n=new Error(r.error.message);throw n.id=r.error.id,n.name=r.error.name,n}r=null}else r=r.rval;return null!==r&&(r=JSON.parse(l.decode64(r))),r},S=function(e,t,r,data){var n=E(e,t);null===n&&(n={}),n[r]=data,_(e,t,n)},C=function(e,t,r){var n=E(e,t);return null!==n&&(n=r in n?n[r]:null),n},A=function(e,t,r){var n=E(e,t);if(null!==n&&r in n){delete n[r];var o=!0;for(var c in n){o=!1;break}o&&(n=null),_(e,t,n)}},T=function(e,t){_(e,t,null)},k=function(e,t,r){var n,o=null;void 0===r&&(r=["web","flash"]);var c=!1,f=null;for(var h in r){n=r[h];try{if("flash"===n||"both"===n){if(null===t[0])throw new Error("Flash local storage not available.");o=e.apply(this,t),c="flash"===n}"web"!==n&&"both"!==n||(t[0]=localStorage,o=e.apply(this,t),c=!0)}catch(e){f=e}if(c)break}if(!c)throw f;return o};l.setItem=function(e,t,r,data,n){k(S,arguments,n)},l.getItem=function(e,t,r,n){return k(C,arguments,n)},l.removeItem=function(e,t,r,n){k(A,arguments,n)},l.clearItems=function(e,t,r){k(T,arguments,r)},l.isEmpty=function(e){for(var t in e)if(e.hasOwnProperty(t))return!1;return!0},l.format=function(e){for(var t,r,n=/%./g,o=0,c=[],f=0;t=n.exec(e);){(r=e.substring(f,n.lastIndex-2)).length>0&&c.push(r),f=n.lastIndex;var code=t[0][1];switch(code){case"s":case"o":o<arguments.length?c.push(arguments[1+o++]):c.push("<?>");break;case"%":c.push("%");break;default:c.push("<%"+code+"?>")}}return c.push(e.substring(f)),c.join("")},l.formatNumber=function(e,t,r,n){var o=e,c=isNaN(t=Math.abs(t))?2:t,f=void 0===r?",":r,h=void 0===n?".":n,s=o<0?"-":"",i=parseInt(o=Math.abs(+o||0).toFixed(c),10)+"",l=i.length>3?i.length%3:0;return s+(l?i.substr(0,l)+h:"")+i.substr(l).replace(/(\d{3})(?=\d)/g,"$1"+h)+(c?f+Math.abs(o-i).toFixed(c).slice(2):"")},l.formatSize=function(e){return e=e>=1073741824?l.formatNumber(e/1073741824,2,".","")+" GiB":e>=1048576?l.formatNumber(e/1048576,2,".","")+" MiB":e>=1024?l.formatNumber(e/1024,0)+" KiB":l.formatNumber(e,0)+" bytes"},l.bytesFromIP=function(e){return-1!==e.indexOf(".")?l.bytesFromIPv4(e):-1!==e.indexOf(":")?l.bytesFromIPv6(e):null},l.bytesFromIPv4=function(e){if(4!==(e=e.split(".")).length)return null;for(var b=l.createBuffer(),i=0;i<e.length;++i){var t=parseInt(e[i],10);if(isNaN(t))return null;b.putByte(t)}return b.getBytes()},l.bytesFromIPv6=function(e){for(var t=0,r=2*(8-(e=e.split(":").filter((function(e){return 0===e.length&&++t,!0}))).length+t),b=l.createBuffer(),i=0;i<8;++i)if(e[i]&&0!==e[i].length){var n=l.hexToBytes(e[i]);n.length<2&&b.putByte(0),b.putBytes(n)}else b.fillWithByte(0,r),r=0;return b.getBytes()},l.bytesToIP=function(e){return 4===e.length?l.bytesToIPv4(e):16===e.length?l.bytesToIPv6(e):null},l.bytesToIPv4=function(e){if(4!==e.length)return null;for(var t=[],i=0;i<e.length;++i)t.push(e.charCodeAt(i));return t.join(".")},l.bytesToIPv6=function(e){if(16!==e.length)return null;for(var t=[],r=[],n=0,i=0;i<e.length;i+=2){for(var o=l.bytesToHex(e[i]+e[i+1]);"0"===o[0]&&"0"!==o;)o=o.substr(1);if("0"===o){var c=r[r.length-1],f=t.length;c&&f===c.end+1?(c.end=f,c.end-c.start>r[n].end-r[n].start&&(n=r.length-1)):r.push({start:f,end:f})}t.push(o)}if(r.length>0){var h=r[n];h.end-h.start>0&&(t.splice(h.start,h.end-h.start+1,""),0===h.start&&t.unshift(""),7===h.end&&t.push(""))}return t.join(":")},l.estimateCores=function(e,t){if("function"==typeof e&&(t=e,e={}),e=e||{},"cores"in l&&!e.update)return t(null,l.cores);if("undefined"!=typeof navigator&&"hardwareConcurrency"in navigator&&navigator.hardwareConcurrency>0)return l.cores=navigator.hardwareConcurrency,t(null,l.cores);if("undefined"==typeof Worker)return l.cores=1,t(null,l.cores);if("undefined"==typeof Blob)return l.cores=2,t(null,l.cores);var r=URL.createObjectURL(new Blob(["(",function(){self.addEventListener("message",(function(e){for(var t=Date.now(),r=t+4;Date.now()<r;);self.postMessage({st:t,et:r})}))}.toString(),")()"],{type:"application/javascript"}));!function e(n,o,c){if(0===o){var f=Math.floor(n.reduce((function(e,t){return e+t}),0)/n.length);return l.cores=Math.max(1,f),URL.revokeObjectURL(r),t(null,l.cores)}!function(e,t){for(var n=[],o=[],i=0;i<e;++i){var c=new Worker(r);c.addEventListener("message",(function(r){if(o.push(r.data),o.length===e){for(var i=0;i<e;++i)n[i].terminate();t(null,o)}})),n.push(c)}for(i=0;i<e;++i)n[i].postMessage(i)}(c,(function(t,r){n.push(function(e,t){for(var r=[],n=0;n<e;++n)for(var o=t[n],c=r[n]=[],i=0;i<e;++i)if(n!==i){var f=t[i];(o.st>f.st&&o.st<f.et||f.st>o.st&&f.st<o.et)&&c.push(i)}return r.reduce((function(e,t){return Math.max(e,t.length)}),0)}(c,r)),e(n,o-1,c)}))}([],5,16)}}).call(this,r(17),r(335).setImmediate,r(20),r(15).Buffer)},,,,,,,,,,,,,,function(e,t,r){(function(e){!function(e,t){"use strict";function n(e,t){if(!e)throw new Error(t||"Assertion failed")}function o(e,t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}function c(e,base,t){if(c.isBN(e))return e;this.negative=0,this.words=null,this.length=0,this.red=null,null!==e&&("le"!==base&&"be"!==base||(t=base,base
vendor: 4,199 bytes, line 2
2=10),this._init(e||0,base||10,t||"be"))}var f;"object"==typeof e?e.exports=c:t.BN=c,c.BN=c,c.wordSize=26;try{f="undefined"!=typeof window&&void 0!==window.Buffer?window.Buffer:r(773).Buffer}catch(e){}function h(e,t){var r=e.charCodeAt(t);return r>=65&&r<=70?r-55:r>=97&&r<=102?r-87:r-48&15}function l(e,t,r){var n=h(e,r);return r-1>=t&&(n|=h(e,r-1)<<4),n}function d(e,t,r,n){for(var o=0,c=Math.min(e.length,r),i=t;i<c;i++){var f=e.charCodeAt(i)-48;o*=n,o+=f>=49?f-49+10:f>=17?f-17+10:f}return o}c.isBN=function(e){return e instanceof c||null!==e&&"object"==typeof e&&e.constructor.wordSize===c.wordSize&&Array.isArray(e.words)},c.max=function(e,t){return e.cmp(t)>0?e:t},c.min=function(e,t){return e.cmp(t)<0?e:t},c.prototype._init=function(e,base,t){if("number"==typeof e)return this._initNumber(e,base,t);if("object"==typeof e)return this._initArray(e,base,t);"hex"===base&&(base=16),n(base===(0|base)&&base>=2&&base<=36);var r=0;"-"===(e=e.toString().replace(/\s+/g,""))[0]&&(r++,this.negative=1),r<e.length&&(16===base?this._parseHex(e,r,t):(this._parseBase(e,base,r),"le"===t&&this._initArray(this.toArray(),base,t)))},c.prototype._initNumber=function(e,base,t){e<0&&(this.negative=1,e=-e),e<67108864?(this.words=[67108863&e],this.length=1):e<4503599627370496?(this.words=[67108863&e,e/67108864&67108863],this.length=2):(n(e<9007199254740992),this.words=[67108863&e,e/67108864&67108863,1],this.length=3),"le"===t&&this._initArray(this.toArray(),base,t)},c.prototype._initArray=function(e,base,t){if(n("number"==typeof e.length),e.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(e.length/3),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var r,o,c=0;if("be"===t)for(i=e.length-1,r=0;i>=0;i-=3)o=e[i]|e[i-1]<<8|e[i-2]<<16,this.words[r]|=o<<c&67108863,this.words[r+1]=o>>>26-c&67108863,(c+=24)>=26&&(c-=26,r++);else if("le"===t)for(i=0,r=0;i<e.length;i+=3)o=e[i]|e[i+1]<<8|e[i+2]<<16,this.words[r]|=o<<c&67108863,this.words[r+1]=o>>>26-c&67108863,(c+=24)>=26&&(c-=26,r++);return this.strip()},c.prototype._parseHex=function(e,t,r){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var n,o=0,c=0;if("be"===r)for(i=e.length-1;i>=t;i-=2)n=l(e,t,i)<<o,this.words[c]|=67108863&n,o>=18?(o-=18,c+=1,this.words[c]|=n>>>26):o+=8;else for(i=(e.length-t)%2==0?t+1:t;i<e.length;i+=2)n=l(e,t,i)<<o,this.words[c]|=67108863&n,o>=18?(o-=18,c+=1,this.words[c]|=n>>>26):o+=8;this.strip()},c.prototype._parseBase=function(e,base,t){this.words=[0],this.length=1;for(var r=0,n=1;n<=67108863;n*=base)r++;r--,n=n/base|0;for(var o=e.length-t,c=o%r,f=Math.min(o,o-c)+t,h=0,i=t;i<f;i+=r)h=d(e,i,i+r,base),this.imuln(n),this.words[0]+h<67108864?this.words[0]+=h:this._iaddn(h);if(0!==c){var l=1;for(h=d(e,i,e.length,base),i=0;i<c;i++)l*=base;this.imuln(l),this.words[0]+h<67108864?this.words[0]+=h:this._iaddn(h)}this.strip()},c.prototype.copy=function(e){e.words=new Array(this.length);for(var i=0;i<this.length;i++)e.words[i]=this.words[i];e.length=this.length,e.negative=this.negative,e.red=this.red},c.prototype.clone=function(){var e=new c(null);return this.copy(e),e},c.prototype._expand=function(e){for(;this.length<e;)this.words[this.length++]=0;return this},c.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},c.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},c.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var y=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],m=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],v=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16
vendor: 11,277 bytes, line 2
2777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function w(e,t,r){r.negative=t.negative^e.negative;var n=e.length+t.length|0;r.length=n,n=n-1|0;var a=0|e.words[0],b=0|t.words[0],o=a*b,c=67108863&o,f=o/67108864|0;r.words[0]=c;for(var h=1;h<n;h++){for(var l=f>>>26,d=67108863&f,y=Math.min(h,t.length-1),m=Math.max(0,h-e.length+1);m<=y;m++){var i=h-m|0;l+=(o=(a=0|e.words[i])*(b=0|t.words[m])+d)/67108864|0,d=67108863&o}r.words[h]=0|d,f=0|l}return 0!==f?r.words[h]=0|f:r.length--,r.strip()}c.prototype.toString=function(base,e){var t;if(e=0|e||1,16===(base=base||10)||"hex"===base){t="";for(var r=0,o=0,i=0;i<this.length;i++){var c=this.words[i],f=(16777215&(c<<r|o)).toString(16);t=0!==(o=c>>>24-r&16777215)||i!==this.length-1?y[6-f.length]+f+t:f+t,(r+=2)>=26&&(r-=26,i--)}for(0!==o&&(t=o.toString(16)+t);t.length%e!=0;)t="0"+t;return 0!==this.negative&&(t="-"+t),t}if(base===(0|base)&&base>=2&&base<=36){var h=m[base],l=v[base];t="";var d=this.clone();for(d.negative=0;!d.isZero();){var w=d.modn(l).toString(base);t=(d=d.idivn(l)).isZero()?w+t:y[h-w.length]+w+t}for(this.isZero()&&(t="0"+t);t.length%e!=0;)t="0"+t;return 0!==this.negative&&(t="-"+t),t}n(!1,"Base should be between 2 and 36")},c.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},c.prototype.toJSON=function(){return this.toString(16)},c.prototype.toBuffer=function(e,t){return n(void 0!==f),this.toArrayLike(f,e,t)},c.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)},c.prototype.toArrayLike=function(e,t,r){var o=this.byteLength(),c=r||Math.max(1,o);n(o<=c,"byte array longer than desired length"),n(c>0,"Requested array length <= 0"),this.strip();var b,i,f="le"===t,h=new e(c),q=this.clone();if(f){for(i=0;!q.isZero();i++)b=q.andln(255),q.iushrn(8),h[i]=b;for(;i<c;i++)h[i]=0}else{for(i=0;i<c-o;i++)h[i]=0;for(i=0;!q.isZero();i++)b=q.andln(255),q.iushrn(8),h[c-i-1]=b}return h},Math.clz32?c.prototype._countBits=function(e){return 32-Math.clz32(e)}:c.prototype._countBits=function(e){var t=e,r=0;return t>=4096&&(r+=13,t>>>=13),t>=64&&(r+=7,t>>>=7),t>=8&&(r+=4,t>>>=4),t>=2&&(r+=2,t>>>=2),r+t},c.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,r=0;return 0==(8191&t)&&(r+=13,t>>>=13),0==(127&t)&&(r+=7,t>>>=7),0==(15&t)&&(r+=4,t>>>=4),0==(3&t)&&(r+=2,t>>>=2),0==(1&t)&&r++,r},c.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return 26*(this.length-1)+t},c.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,i=0;i<this.length;i++){var b=this._zeroBits(this.words[i]);if(e+=b,26!==b)break}return e},c.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},c.prototype.toTwos=function(e){return 0!==this.negative?this.abs().inotn(e).iaddn(1):this.clone()},c.prototype.fromTwos=function(e){return this.testn(e-1)?this.notn(e).iaddn(1).ineg():this.clone()},c.prototype.isNeg=function(){return 0!==this.negative},c.prototype.neg=function(){return this.clone().ineg()},c.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},c.prototype.iuor=function(e){for(;this.length<e.length;)this.words[this.length++]=0;for(var i=0;i<e.length;i++)this.words[i]=this.words[i]|e.words[i];return this.strip()},c.prototype.ior=function(e){return n(0==(this.negative|e.negative)),this.iuor(e)},c.prototype.or=function(e){return this.length>e.length?this.clone().ior(e):e.clone().ior(this)},c.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},c.prototype.iuand=function(e){var b;b=this.length>e.length?e:this;for(var i=0;i<b.length;i++)this.words[i]=this.words[i]&e.words[i];return this.length=b.length,this.strip()},c.prototype.iand=function(e){return n(0==(this.negative|e.negative)),this.iuand(e)},c.prototype.and=function(e){return this.length>e.length?this.clone().iand(e):e.clone().iand(this)},c.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},c.prototype.iuxor=function(e){var a,b;this.length>e.length?(a=this,b=e):(a=e,b=this);for(var i=0;i<b.length;i++)this.words[i]=a.words[i]^b.words[i];if(this!==a)for(;i<a.length;i++)this.words[i]=a.words[i];return this.length=a.length,this.strip()},c.prototype.ixor=function(e){return n(0==(this.negative|e.negative)),this.iuxor(e)},c.prototype.xor=function(e){return this.length>e.length?this.clone().ixor(e):e.clone().ixor(this)},c.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},c.prototype.inotn=function(e){n("number"==typeof e&&e>=0);var t=0|Math.ceil(e/26),r=e%26;this._expand(t),r>0&&t--;for(var i=0;i<t;i++)this.words[i]=67108863&~this.words[i];return r>0&&(this.words[i]=~this.words[i]&67108863>>26-r),this.strip()},c.prototype.notn=function(e){return this.clone().inotn(e)},c.prototype.setn=function(e,t){n("number"==typeof e&&e>=0);var r=e/26|0,o=e%26;return this._expand(r+1),this.words[r]=t?this.words[r]|1<<o:this.words[r]&~(1<<o),this.strip()},c.prototype.iadd=function(e){var t,a,b;if(0!==this.negative&&0===e.negative)return this.negative=0,t=this.isub(e),this.negative^=1,this._normSign();if(0===this.negative&&0!==e.negative)return e.negative=0,t=this.isub(e),e.negative=1,t._normSign();this.length>e.length?(a=this,b=e):(a=e,b=this);for(var r=0,i=0;i<b.length;i++)t=(0|a.words[i])+(0|b.words[i])+r,this.words[i]=67108863&t,r=t>>>26;for(;0!==r&&i<a.length;i++)t=(0|a.words[i])+r,this.words[i]=67108863&t,r=t>>>26;if(this.length=a.length,0!==r)this.words[this.length]=r,this.length++;else if(a!==this)for(;i<a.length;i++)this.words[i]=a.words[i];return this},c.prototype.add=function(e){var t;return 0!==e.negative&&0===this.negative?(e.negative=0,t=this.sub(e),e.negative^=1,t):0===e.negative&&0!==this.negative?(this.negative=0,t=e.sub(this),this.negative=1,t):this.length>e.length?this.clone().iadd(e):e.clone().iadd(this)},c.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t=this.iadd(e);return e.negative=1,t._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var a,b,r=this.cmp(e);if(0===r)return this.negative=0,this.length=1,this.words[0]=0,this;r>0?(a=this,b=e):(a=e,b=this);for(var n=0,i=0;i<b.length;i++)n=(t=(0|a.words[i])-(0|b.words[i])+n)>>26,this.words[i]=67108863&t;for(;0!==n&&i<a.length;i++)n=(t=(0|a.words[i])+n)>>26,this.words[i]=67108863&t;if(0===n&&i<a.length&&a!==this)for(;i<a.length;i++)this.words[i]=a.words[i];return this.length=Math.max(this.length,i),a!==this&&(this.negative=1),this.strip()},c.prototype.sub=function(e){return this.clone().isub(e)};var _=function(e,t,r){var n,o,c,a=e.words,b=t.words,f=r.words,h=0,l=0|a[0],d=8191&l,y=l>>>13,m=0|a[1],v=8191&m,w=m>>>13,_=0|a[2],E=8191&_,S=_>>>13,C=0|a[3],A=8191&C,T=C>>>13,k=0|a[4],I=8191&k,M=k>>>13,R=0|a[5],x=8191&R,B=R>>>13,N=0|a[6],O=8191&N,L=N>>>13,P=0|a[7],D=8191&P,j=P>>>13,U=0|a[8],F=8191&U,V=U>>>13,K=0|a[9],z=8191&K,H=K>>>13,G=0|b[0],$=8191&G,W=G>>>13,Y=0|b[1],X=8191&Y,J=Y>>>13,Q=0|b[2],Z=8191&Q,ee=Q>>>13,te=0|b[3],re=8191&te,ne=te>>>13,ie=0|b[4],ae=8191&ie,oe=ie>>>13,se=0|b[5],ue=8191&se,ce=se>>>13,fe=0|b[6],he=8191&fe,le=fe>>>13,de=0|b[7],pe=8191&de,ge=de>>>13,ye=0|b[8],me=8191&ye,ve=ye>>>13,be=0|b[9],we=8191&be,_e=be>>>13;r.negative=e.negative^t.negative,r.length=19;var Ee=(h+(n=Math.imul(d,$))|0)+((8191&(o=(o=Math.imul(d,W))+Math.imul(y,$)|0))<<13)|0;h=((c=Math.imul(y,W))+(o>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,n=Math.imul(v,$),o=(o=Math.imul(v,W))+Math.imul(w,$)|0,c=Math.imul(w,W);var Se=(h+(n=n+Math.imul(d,X)|0)|0)+((8191&(o=(o=o+Math.imul(d,J)|0)+Math.imul(y,X)|0))<<13)|0;h=((c=c+Math.imul(y,J)|0)+(o>>>13)|0)+(Se>>>26)|0,Se&=67108863,n=Math.imul(E,$),o=(o=Math.imul(E,W))+Math.imul(S,$)|0,c=Math.imul(S,W),n=n+Math.imul(v,X)|0,o=(o=o+Math.imul(v,J)|0)+Math.imul(w,X)|0,c=c+Math.imul(w,J)|0;var Ce=(h+(n=n+Math.imul(d,Z)|0)|0)+((8191&(o=(o=o+Math.imul(d,ee)|0)+Math.imul(y,Z)|0))<<13)|0;h=((c=c+Math.imul(y,ee)|0)+(o>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,n=Math.imul(A,$),o=(o=Math.imul(A,W))+Math.imul(T,$)|0,c=Math.imul(T,W),n=n+Math.imul(E,X)|0,o=(o=o+Math.imul(E,J)|0)+Math.imul(S,X)|0,c=c+Math.imul(S,J)|0,n=n+Math.imul(v,Z)|0,o=(o=o+Math.imul(v,ee)|0)+Math.imul(w,Z)|0,c=c+Math.imul(w,ee)|0;var Ae=(h+(n=n+Math.imul(d,re)|0)|0)+((8191&(o=(o=o+Math.imul(d,ne)|0)+Math.imul(y,re)|0))<<13)|0;h=((c=c+Math.imul(y,ne)|0)+(o>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,n=Math.imul(I,$),o=(o=Math.imul(I,W))+Math.imul(M,$)|0,c=Math.imul(M,W),n=n+Math.imul(A,X)|0,o=(o=o+Math.imul(A,J)|0)+Math.imul(T,X)|0,c=c+Math.imul(T,J)|0,n=n+Math.imul(E,Z)|0,o=(o=o+Math.imul(E,ee)|0)+Math.imul(S,Z)|0,c=c+Math.imul(S,ee)|0,n=n+Math.imul(v,re)|0,o=(o=o+Math.imul(v,ne)|0)+Math.imul(w,re)|0,c=c+Math.imul(w,ne)|0;var Te=(h+(n=n+Math.imul(d,ae)|0)|0)+((8191&(o=(o=o+Math.imul(d,oe)|0)+Math.imul(y,ae)|0))<<13)|0;h=((c=c+Math.imul(y,oe)|0)+(o>>>13)|0)+(Te>>>26)|0,Te&=67108863,n=Math.imul(x,$),o=(o=Math.imul(x,W))+Math.imul(B,$)|0,c=Math.imul(B,W),n=n+Math.imul(I,X)|0,o=(o=o+Math.imul(I,J)|0)+Math.imul(M,X)|0,c=c+Math.imul(M,J)|0,n=n+Math.imul(A,Z)|0,o=(o=o+Math.imul(A,ee)|0)+Math.imul(T,Z)|0,c=c+Math.imul(T,ee)|0,n=n+Math.imul(E,re)|0,o=(o=o+Math.imul(E,ne)|0)+Math.imul(S,re)|0,c=c+Math.imul(S,ne)|0,n=n+Math.imul(v,ae)|0,o=(o=o+Math.imul(v,oe)|0)+Math.imul(w,ae)|0,c=c+Math.imul(w,oe)|0;var ke=(h+(n=n+Math.imul(d,ue)|0)|0)+((8191&(o=(o=o+Math.imul(d,ce)|0)+Math.imul(y,ue)|0))<<13)|0;h=((c=c+Math.imul(y,ce)|0)+(o>>>13)|0)+(ke>>>26)|0,ke&=67108863,n=Math.imul(O,$),o=(o=Math.imul(O,W))+Math.imul(L,$)|0,c=Math.imul(L,W),n=n+Math.imul(x,X)|0,o=(o=o+Math.imul(x,J)|0)+Math.imul(B,X)|0,c=c+Math.imul(B,J)|0,n=n+Math.imul(I,Z)|0,o=(o=o+Math.imul(I,ee)|0)+Math.imul(M,Z)|0,c=c+Math.imul(M,ee)|0,n=n+Math.imul(A,re)|0,o=(o=o+Math.imul(A,ne)|0)+Math.imul(T,re)|0,c=c+Math.imul(T,ne)|0,n=n+Math.imul(E,ae)|0,o=(o=o+Math.imul(E,oe)|0)+Math.imul(S,ae)|0,c=c+Math.imul(S,oe)|0,n=n+Math.imul(v,ue)|0,o=(o=o+Math.imul(v,ce)|0)+Math.imul(w,ue)|0,c=c+Math.imul(w,ce)|0;var Ie=(h+(n=n+Math.imul(d,he)|0)|0)+((8191&(o=(o=o+Math.imul(d,le)|0)+Math.imul(y,he)|0))<<13)|0;h=((c=c+Math.imul(y,le)|0)+(o>>>13)|0)+(Ie>>>26)|0,Ie&=67108863,n=Math.imul(D,$),o=(o=Math.imul(D,W))+Math.imul(j,$)|0,c=Math.imul(j,W),n=n+Math.imul(O,X)|0,o=(o=o+Math.imul(O,J)|0)+Math.imul(L,X)|0,c=c+Math.imul(L,J)|0,n=n+Math.imul(x,Z)|0,o=(o=o+Math.imul(x,ee)|0)+Math.imul(B,Z)|0,c=c+Math.imul(B,ee)|0,n=n+Math.imul(I,re)|0,o=(o=o+Math.imul(I,ne)|0)+Math.imul(M,re)|0,c=c+Math.imul(M,ne)|0,n=n+Math.imul(A,ae)|0,o=(o=o+Math.imul(A,oe)|0)+Math.imul(T,ae)|0,c=c+Math.imul(T,oe)|0,n=n+Math.imul(E,ue)|0,o=(o=o+Math.imul(E,ce)|0)+Math.imul(S,ue)|0,c=c+Math.imul(S,ce)|0,n=n+Math.imul(v,he)|0,o=(o=o+Math.imul(v,le)|0)+Math.imul(w,he)|0,c=c+Math.imul(w,le)|0;var Me=(h+(n=n+Math.imul(d,pe)|0)|0)+((8191&(o=(o=o+Math.imul(d,ge)|0)+Math.imul(y,pe)|0))<<13)|0;h=((c=c+Math.imul(y,ge)|0)+(o>>>13)|0)+(Me>>>26)|0,Me&=67108863,n=Math.imul(F,$),o=(o=Math.imul(F,W))+Math.imul(V,$)|0,c=Math.imul(V,W),n=n+Math.imul(D,X)|0,o=(o=o+Math.imul(D,J)|0)+Math.imul(j,
vendor: 9,799 bytes, line 2
2X)|0,c=c+Math.imul(j,J)|0,n=n+Math.imul(O,Z)|0,o=(o=o+Math.imul(O,ee)|0)+Math.imul(L,Z)|0,c=c+Math.imul(L,ee)|0,n=n+Math.imul(x,re)|0,o=(o=o+Math.imul(x,ne)|0)+Math.imul(B,re)|0,c=c+Math.imul(B,ne)|0,n=n+Math.imul(I,ae)|0,o=(o=o+Math.imul(I,oe)|0)+Math.imul(M,ae)|0,c=c+Math.imul(M,oe)|0,n=n+Math.imul(A,ue)|0,o=(o=o+Math.imul(A,ce)|0)+Math.imul(T,ue)|0,c=c+Math.imul(T,ce)|0,n=n+Math.imul(E,he)|0,o=(o=o+Math.imul(E,le)|0)+Math.imul(S,he)|0,c=c+Math.imul(S,le)|0,n=n+Math.imul(v,pe)|0,o=(o=o+Math.imul(v,ge)|0)+Math.imul(w,pe)|0,c=c+Math.imul(w,ge)|0;var Re=(h+(n=n+Math.imul(d,me)|0)|0)+((8191&(o=(o=o+Math.imul(d,ve)|0)+Math.imul(y,me)|0))<<13)|0;h=((c=c+Math.imul(y,ve)|0)+(o>>>13)|0)+(Re>>>26)|0,Re&=67108863,n=Math.imul(z,$),o=(o=Math.imul(z,W))+Math.imul(H,$)|0,c=Math.imul(H,W),n=n+Math.imul(F,X)|0,o=(o=o+Math.imul(F,J)|0)+Math.imul(V,X)|0,c=c+Math.imul(V,J)|0,n=n+Math.imul(D,Z)|0,o=(o=o+Math.imul(D,ee)|0)+Math.imul(j,Z)|0,c=c+Math.imul(j,ee)|0,n=n+Math.imul(O,re)|0,o=(o=o+Math.imul(O,ne)|0)+Math.imul(L,re)|0,c=c+Math.imul(L,ne)|0,n=n+Math.imul(x,ae)|0,o=(o=o+Math.imul(x,oe)|0)+Math.imul(B,ae)|0,c=c+Math.imul(B,oe)|0,n=n+Math.imul(I,ue)|0,o=(o=o+Math.imul(I,ce)|0)+Math.imul(M,ue)|0,c=c+Math.imul(M,ce)|0,n=n+Math.imul(A,he)|0,o=(o=o+Math.imul(A,le)|0)+Math.imul(T,he)|0,c=c+Math.imul(T,le)|0,n=n+Math.imul(E,pe)|0,o=(o=o+Math.imul(E,ge)|0)+Math.imul(S,pe)|0,c=c+Math.imul(S,ge)|0,n=n+Math.imul(v,me)|0,o=(o=o+Math.imul(v,ve)|0)+Math.imul(w,me)|0,c=c+Math.imul(w,ve)|0;var xe=(h+(n=n+Math.imul(d,we)|0)|0)+((8191&(o=(o=o+Math.imul(d,_e)|0)+Math.imul(y,we)|0))<<13)|0;h=((c=c+Math.imul(y,_e)|0)+(o>>>13)|0)+(xe>>>26)|0,xe&=67108863,n=Math.imul(z,X),o=(o=Math.imul(z,J))+Math.imul(H,X)|0,c=Math.imul(H,J),n=n+Math.imul(F,Z)|0,o=(o=o+Math.imul(F,ee)|0)+Math.imul(V,Z)|0,c=c+Math.imul(V,ee)|0,n=n+Math.imul(D,re)|0,o=(o=o+Math.imul(D,ne)|0)+Math.imul(j,re)|0,c=c+Math.imul(j,ne)|0,n=n+Math.imul(O,ae)|0,o=(o=o+Math.imul(O,oe)|0)+Math.imul(L,ae)|0,c=c+Math.imul(L,oe)|0,n=n+Math.imul(x,ue)|0,o=(o=o+Math.imul(x,ce)|0)+Math.imul(B,ue)|0,c=c+Math.imul(B,ce)|0,n=n+Math.imul(I,he)|0,o=(o=o+Math.imul(I,le)|0)+Math.imul(M,he)|0,c=c+Math.imul(M,le)|0,n=n+Math.imul(A,pe)|0,o=(o=o+Math.imul(A,ge)|0)+Math.imul(T,pe)|0,c=c+Math.imul(T,ge)|0,n=n+Math.imul(E,me)|0,o=(o=o+Math.imul(E,ve)|0)+Math.imul(S,me)|0,c=c+Math.imul(S,ve)|0;var Be=(h+(n=n+Math.imul(v,we)|0)|0)+((8191&(o=(o=o+Math.imul(v,_e)|0)+Math.imul(w,we)|0))<<13)|0;h=((c=c+Math.imul(w,_e)|0)+(o>>>13)|0)+(Be>>>26)|0,Be&=67108863,n=Math.imul(z,Z),o=(o=Math.imul(z,ee))+Math.imul(H,Z)|0,c=Math.imul(H,ee),n=n+Math.imul(F,re)|0,o=(o=o+Math.imul(F,ne)|0)+Math.imul(V,re)|0,c=c+Math.imul(V,ne)|0,n=n+Math.imul(D,ae)|0,o=(o=o+Math.imul(D,oe)|0)+Math.imul(j,ae)|0,c=c+Math.imul(j,oe)|0,n=n+Math.imul(O,ue)|0,o=(o=o+Math.imul(O,ce)|0)+Math.imul(L,ue)|0,c=c+Math.imul(L,ce)|0,n=n+Math.imul(x,he)|0,o=(o=o+Math.imul(x,le)|0)+Math.imul(B,he)|0,c=c+Math.imul(B,le)|0,n=n+Math.imul(I,pe)|0,o=(o=o+Math.imul(I,ge)|0)+Math.imul(M,pe)|0,c=c+Math.imul(M,ge)|0,n=n+Math.imul(A,me)|0,o=(o=o+Math.imul(A,ve)|0)+Math.imul(T,me)|0,c=c+Math.imul(T,ve)|0;var Ne=(h+(n=n+Math.imul(E,we)|0)|0)+((8191&(o=(o=o+Math.imul(E,_e)|0)+Math.imul(S,we)|0))<<13)|0;h=((c=c+Math.imul(S,_e)|0)+(o>>>13)|0)+(Ne>>>26)|0,Ne&=67108863,n=Math.imul(z,re),o=(o=Math.imul(z,ne))+Math.imul(H,re)|0,c=Math.imul(H,ne),n=n+Math.imul(F,ae)|0,o=(o=o+Math.imul(F,oe)|0)+Math.imul(V,ae)|0,c=c+Math.imul(V,oe)|0,n=n+Math.imul(D,ue)|0,o=(o=o+Math.imul(D,ce)|0)+Math.imul(j,ue)|0,c=c+Math.imul(j,ce)|0,n=n+Math.imul(O,he)|0,o=(o=o+Math.imul(O,le)|0)+Math.imul(L,he)|0,c=c+Math.imul(L,le)|0,n=n+Math.imul(x,pe)|0,o=(o=o+Math.imul(x,ge)|0)+Math.imul(B,pe)|0,c=c+Math.imul(B,ge)|0,n=n+Math.imul(I,me)|0,o=(o=o+Math.imul(I,ve)|0)+Math.imul(M,me)|0,c=c+Math.imul(M,ve)|0;var Oe=(h+(n=n+Math.imul(A,we)|0)|0)+((8191&(o=(o=o+Math.imul(A,_e)|0)+Math.imul(T,we)|0))<<13)|0;h=((c=c+Math.imul(T,_e)|0)+(o>>>13)|0)+(Oe>>>26)|0,Oe&=67108863,n=Math.imul(z,ae),o=(o=Math.imul(z,oe))+Math.imul(H,ae)|0,c=Math.imul(H,oe),n=n+Math.imul(F,ue)|0,o=(o=o+Math.imul(F,ce)|0)+Math.imul(V,ue)|0,c=c+Math.imul(V,ce)|0,n=n+Math.imul(D,he)|0,o=(o=o+Math.imul(D,le)|0)+Math.imul(j,he)|0,c=c+Math.imul(j,le)|0,n=n+Math.imul(O,pe)|0,o=(o=o+Math.imul(O,ge)|0)+Math.imul(L,pe)|0,c=c+Math.imul(L,ge)|0,n=n+Math.imul(x,me)|0,o=(o=o+Math.imul(x,ve)|0)+Math.imul(B,me)|0,c=c+Math.imul(B,ve)|0;var Le=(h+(n=n+Math.imul(I,we)|0)|0)+((8191&(o=(o=o+Math.imul(I,_e)|0)+Math.imul(M,we)|0))<<13)|0;h=((c=c+Math.imul(M,_e)|0)+(o>>>13)|0)+(Le>>>26)|0,Le&=67108863,n=Math.imul(z,ue),o=(o=Math.imul(z,ce))+Math.imul(H,ue)|0,c=Math.imul(H,ce),n=n+Math.imul(F,he)|0,o=(o=o+Math.imul(F,le)|0)+Math.imul(V,he)|0,c=c+Math.imul(V,le)|0,n=n+Math.imul(D,pe)|0,o=(o=o+Math.imul(D,ge)|0)+Math.imul(j,pe)|0,c=c+Math.imul(j,ge)|0,n=n+Math.imul(O,me)|0,o=(o=o+Math.imul(O,ve)|0)+Math.imul(L,me)|0,c=c+Math.imul(L,ve)|0;var Pe=(h+(n=n+Math.imul(x,we)|0)|0)+((8191&(o=(o=o+Math.imul(x,_e)|0)+Math.imul(B,we)|0))<<13)|0;h=((c=c+Math.imul(B,_e)|0)+(o>>>13)|0)+(Pe>>>26)|0,Pe&=67108863,n=Math.imul(z,he),o=(o=Math.imul(z,le))+Math.imul(H,he)|0,c=Math.imul(H,le),n=n+Math.imul(F,pe)|0,o=(o=o+Math.imul(F,ge)|0)+Math.imul(V,pe)|0,c=c+Math.imul(V,ge)|0,n=n+Math.imul(D,me)|0,o=(o=o+Math.imul(D,ve)|0)+Math.imul(j,me)|0,c=c+Math.imul(j,ve)|0;var De=(h+(n=n+Math.imul(O,we)|0)|0)+((8191&(o=(o=o+Math.imul(O,_e)|0)+Math.imul(L,we)|0))<<13)|0;h=((c=c+Math.imul(L,_e)|0)+(o>>>13)|0)+(De>>>26)|0,De&=67108863,n=Math.imul(z,pe),o=(o=Math.imul(z,ge))+Math.imul(H,pe)|0,c=Math.imul(H,ge),n=n+Math.imul(F,me)|0,o=(o=o+Math.imul(F,ve)|0)+Math.imul(V,me)|0,c=c+Math.imul(V,ve)|0;var je=(h+(n=n+Math.imul(D,we)|0)|0)+((8191&(o=(o=o+Math.imul(D,_e)|0)+Math.imul(j,we)|0))<<13)|0;h=((c=c+Math.imul(j,_e)|0)+(o>>>13)|0)+(je>>>26)|0,je&=67108863,n=Math.imul(z,me),o=(o=Math.imul(z,ve))+Math.imul(H,me)|0,c=Math.imul(H,ve);var Ue=(h+(n=n+Math.imul(F,we)|0)|0)+((8191&(o=(o=o+Math.imul(F,_e)|0)+Math.imul(V,we)|0))<<13)|0;h=((c=c+Math.imul(V,_e)|0)+(o>>>13)|0)+(Ue>>>26)|0,Ue&=67108863;var Fe=(h+(n=Math.imul(z,we))|0)+((8191&(o=(o=Math.imul(z,_e))+Math.imul(H,we)|0))<<13)|0;return h=((c=Math.imul(H,_e))+(o>>>13)|0)+(Fe>>>26)|0,Fe&=67108863,f[0]=Ee,f[1]=Se,f[2]=Ce,f[3]=Ae,f[4]=Te,f[5]=ke,f[6]=Ie,f[7]=Me,f[8]=Re,f[9]=xe,f[10]=Be,f[11]=Ne,f[12]=Oe,f[13]=Le,f[14]=Pe,f[15]=De,f[16]=je,f[17]=Ue,f[18]=Fe,0!==h&&(f[19]=h,r.length++),r};function E(e,t,r){return(new S).mulp(e,t,r)}function S(e,t){this.x=e,this.y=t}Math.imul||(_=w),c.prototype.mulTo=function(e,t){var r,n=this.length+e.length;return r=10===this.length&&10===e.length?_(this,e,t):n<63?w(this,e,t):n<1024?function(e,t,r){r.negative=t.negative^e.negative,r.length=e.length+t.length;for(var n=0,o=0,c=0;c<r.length-1;c++){var f=o;o=0;for(var h=67108863&n,l=Math.min(c,t.length-1),d=Math.max(0,c-e.length+1);d<=l;d++){var i=c-d,y=(0|e.words[i])*(0|t.words[d]),m=67108863&y;h=67108863&(m=m+h|0),o+=(f=(f=f+(y/67108864|0)|0)+(m>>>26)|0)>>>26,f&=67108863}r.words[c]=h,n=f,f=o}return 0!==n?r.words[c]=n:r.length--,r.strip()}(this,e,t):E(this,e,t),r},S.prototype.makeRBT=function(e){for(var t=new Array(e),r=c.prototype._countBits(e)-1,i=0;i<e;i++)t[i]=this.revBin(i,r,e);return t},S.prototype.revBin=function(e,t,r){if(0===e||e===r-1)return e;for(var n=0,i=0;i<t;i++)n|=(1&e)<<t-i-1,e>>=1;return n},S.prototype.permute=function(e,t,r,n,o,c){for(var i=0;i<c;i++)n[i]=t[e[i]],o[i]=r[e[i]]},S.prototype.transform=function(e,t,r,n,o,c){this.permute(c,e,t,r,n,o);for(var s=1;s<o;s<<=1)for(var f=s<<1,h=Math.cos(2*Math.PI/f),l=Math.sin(2*Math.PI/f),p=0;p<o;p+=f)for(var d=h,y=l,m=0;m<s;m++){var v=r[p+m],w=n[p+m],_=r[p+m+s],E=n[p+m+s],S=d*_-y*E;E=d*E+y*_,_=S,r[p+m]=v+_,n[p+m]=w+E,r[p+m+s]=v-_,n[p+m+s]=w-E,m!==f&&(S=h*d-l*y,y=h*y+l*d,d=S)}},S.prototype.guessLen13b=function(e,t){var r=1|Math.max(t,e),n=1&r,i=0;for(r=r/2|0;r;r>>>=1)i++;return 1<<i+1+n},S.prototype.conjugate=function(e,t,r){if(!(r<=1))for(var i=0;i<r/2;i++){var n=e[i];e[i]=e[r-i-1],e[r-i-1]=n,n=t[i],t[i]=-t[r-i-1],t[r-i-1]=-n}},S.prototype.normalize13b=function(e,t){for(var r=0,i=0;i<t/2;i++){var n=8192*Math.round(e[2*i+1]/t)+Math.round(e[2*i]/t)+r;e[i]=67108863&n,r=n<67108864?0:n/67108864|0}return e},S.prototype.convert13b=function(e,t,r,o){for(var c=0,i=0;i<t;i++)c+=0|e[i],r[2*i]=8191&c,c>>>=13,r[2*i+1]=8191&c,c>>>=13;for(i=2*t;i<o;++i)r[i]=0;n(0===c),n(0==(-8192&c))},S.prototype.stub=function(e){for(var t=new Array(e),i=0;i<e;i++)t[i]=0;return t},S.prototype.mulp=function(e,t,r){var n=2*this.guessLen13b(e.length,t.length),o=this.makeRBT(n),c=this.stub(n),f=new Array(n),h=new Array(n),l=new Array(n),d=new Array(n),y=new Array(n),m=new Array(n),v=r.words;v.length=n,this.convert13b(e.words,e.length,f,n),this.convert13b(t.words,t.length,d,n),this.transform(f,c,h,l,n,o),this.transform(d,c,y,m,n,o);for(var i=0;i<n;i++){var w=h[i]*y[i]-l[i]*m[i];l[i]=h[i]*m[i]+l[i]*y[i],h[i]=w}return this.conjugate(h,l,n),this.transform(h,l,v,c,n,o),this.conjugate(v,c,n),this.normalize13b(v,n),r.negative=e.negative^t.negative,r.length=e.length+t.length,r.strip()},c.prototype.mul=function(e){var t=new c(null);return t.words=new Array(this.length+e.length),this.mulTo(e,t)},c.prototype.mulf=function(e){var t=new c(null);return t.words=new Array(this.length+e.length),E(this,e,t)},c.prototype.imul=function(e){return this.clone().mulTo(e,this)},c.prototype.imuln=function(e){n("number"==typeof e),n(e<67108864);for(var t=0,i=0;i<this.length;i++){var r=(0|this.words[i])*e,o=(67108863&r)+(67108863&t);t>>=26,t+=r/67108864|0,t+=o>>>26,this.words[i]=67108863&o}return 0!==t&&(this.words[i]=t,this.length++),this},c.prototype.muln=function(e){return this.clone().imuln(e)},c.prototype.sqr=function(){return this.mul(this)},c.prototype.isqr=function(){return this.imul(this.clone())},c.prototype.pow=function(e){var t=function(e){for(var t=new Array(e.bitLength()),r
vendor: 13,309 bytes, line 2
2=0;r<t.length;r++){var n=r/26|0,o=r%26;t[r]=(e.words[n]&1<<o)>>>o}return t}(e);if(0===t.length)return new c(1);for(var r=this,i=0;i<t.length&&0===t[i];i++,r=r.sqr());if(++i<t.length)for(var q=r.sqr();i<t.length;i++,q=q.sqr())0!==t[i]&&(r=r.mul(q));return r},c.prototype.iushln=function(e){n("number"==typeof e&&e>=0);var i,t=e%26,s=(e-t)/26,r=67108863>>>26-t<<26-t;if(0!==t){var o=0;for(i=0;i<this.length;i++){var c=this.words[i]&r,f=(0|this.words[i])-c<<t;this.words[i]=f|o,o=c>>>26-t}o&&(this.words[i]=o,this.length++)}if(0!==s){for(i=this.length-1;i>=0;i--)this.words[i+s]=this.words[i];for(i=0;i<s;i++)this.words[i]=0;this.length+=s}return this.strip()},c.prototype.ishln=function(e){return n(0===this.negative),this.iushln(e)},c.prototype.iushrn=function(e,t,r){var o;n("number"==typeof e&&e>=0),o=t?(t-t%26)/26:0;var c=e%26,s=Math.min((e-c)/26,this.length),mask=67108863^67108863>>>c<<c,f=r;if(o-=s,o=Math.max(0,o),f){for(var i=0;i<s;i++)f.words[i]=this.words[i];f.length=s}if(0===s);else if(this.length>s)for(this.length-=s,i=0;i<this.length;i++)this.words[i]=this.words[i+s];else this.words[0]=0,this.length=1;var h=0;for(i=this.length-1;i>=0&&(0!==h||i>=o);i--){var l=0|this.words[i];this.words[i]=h<<26-c|l>>>c,h=l&mask}return f&&0!==h&&(f.words[f.length++]=h),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},c.prototype.ishrn=function(e,t,r){return n(0===this.negative),this.iushrn(e,t,r)},c.prototype.shln=function(e){return this.clone().ishln(e)},c.prototype.ushln=function(e){return this.clone().iushln(e)},c.prototype.shrn=function(e){return this.clone().ishrn(e)},c.prototype.ushrn=function(e){return this.clone().iushrn(e)},c.prototype.testn=function(e){n("number"==typeof e&&e>=0);var t=e%26,s=(e-t)/26,q=1<<t;return!(this.length<=s)&&!!(this.words[s]&q)},c.prototype.imaskn=function(e){n("number"==typeof e&&e>=0);var t=e%26,s=(e-t)/26;if(n(0===this.negative,"imaskn works only with positive numbers"),this.length<=s)return this;if(0!==t&&s++,this.length=Math.min(s,this.length),0!==t){var mask=67108863^67108863>>>t<<t;this.words[this.length-1]&=mask}return this.strip()},c.prototype.maskn=function(e){return this.clone().imaskn(e)},c.prototype.iaddn=function(e){return n("number"==typeof e),n(e<67108864),e<0?this.isubn(-e):0!==this.negative?1===this.length&&(0|this.words[0])<e?(this.words[0]=e-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(e),this.negative=1,this):this._iaddn(e)},c.prototype._iaddn=function(e){this.words[0]+=e;for(var i=0;i<this.length&&this.words[i]>=67108864;i++)this.words[i]-=67108864,i===this.length-1?this.words[i+1]=1:this.words[i+1]++;return this.length=Math.max(this.length,i+1),this},c.prototype.isubn=function(e){if(n("number"==typeof e),n(e<67108864),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var i=0;i<this.length&&this.words[i]<0;i++)this.words[i]+=67108864,this.words[i+1]-=1;return this.strip()},c.prototype.addn=function(e){return this.clone().iaddn(e)},c.prototype.subn=function(e){return this.clone().isubn(e)},c.prototype.iabs=function(){return this.negative=0,this},c.prototype.abs=function(){return this.clone().iabs()},c.prototype._ishlnsubmul=function(e,t,r){var i,o,c=e.length+r;this._expand(c);var f=0;for(i=0;i<e.length;i++){o=(0|this.words[i+r])+f;var h=(0|e.words[i])*t;f=((o-=67108863&h)>>26)-(h/67108864|0),this.words[i+r]=67108863&o}for(;i<this.length-r;i++)f=(o=(0|this.words[i+r])+f)>>26,this.words[i+r]=67108863&o;if(0===f)return this.strip();for(n(-1===f),f=0,i=0;i<this.length;i++)f=(o=-(0|this.words[i])+f)>>26,this.words[i]=67108863&o;return this.negative=1,this.strip()},c.prototype._wordDiv=function(e,t){var r=(this.length,e.length),a=this.clone(),b=e,n=0|b.words[b.length-1];0!==(r=26-this._countBits(n))&&(b=b.ushln(r),a.iushln(r),n=0|b.words[b.length-1]);var q,o=a.length-b.length;if("mod"!==t){(q=new c(null)).length=o+1,q.words=new Array(q.length);for(var i=0;i<q.length;i++)q.words[i]=0}var f=a.clone()._ishlnsubmul(b,1,o);0===f.negative&&(a=f,q&&(q.words[o]=1));for(var h=o-1;h>=0;h--){var l=67108864*(0|a.words[b.length+h])+(0|a.words[b.length+h-1]);for(l=Math.min(l/n|0,67108863),a._ishlnsubmul(b,l,h);0!==a.negative;)l--,a.negative=0,a._ishlnsubmul(b,1,h),a.isZero()||(a.negative^=1);q&&(q.words[h]=l)}return q&&q.strip(),a.strip(),"div"!==t&&0!==r&&a.iushrn(r),{div:q||null,mod:a}},c.prototype.divmod=function(e,t,r){return n(!e.isZero()),this.isZero()?{div:new c(0),mod:new c(0)}:0!==this.negative&&0===e.negative?(f=this.neg().divmod(e,t),"mod"!==t&&(div=f.div.neg()),"div"!==t&&(o=f.mod.neg(),r&&0!==o.negative&&o.iadd(e)),{div:div,mod:o}):0===this.negative&&0!==e.negative?(f=this.divmod(e.neg(),t),"mod"!==t&&(div=f.div.neg()),{div:div,mod:f.mod}):0!=(this.negative&e.negative)?(f=this.neg().divmod(e.neg(),t),"div"!==t&&(o=f.mod.neg(),r&&0!==o.negative&&o.isub(e)),{div:f.div,mod:o}):e.length>this.length||this.cmp(e)<0?{div:new c(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new c(this.modn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new c(this.modn(e.words[0]))}:this._wordDiv(e,t);var div,o,f},c.prototype.div=function(e){return this.divmod(e,"div",!1).div},c.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},c.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},c.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var r=0!==t.div.negative?t.mod.isub(e):t.mod,n=e.ushrn(1),o=e.andln(1),c=r.cmp(n);return c<0||1===o&&0===c?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},c.prototype.modn=function(e){n(e<=67108863);for(var p=(1<<26)%e,t=0,i=this.length-1;i>=0;i--)t=(p*t+(0|this.words[i]))%e;return t},c.prototype.idivn=function(e){n(e<=67108863);for(var t=0,i=this.length-1;i>=0;i--){var r=(0|this.words[i])+67108864*t;this.words[i]=r/e|0,t=r%e}return this.strip()},c.prototype.divn=function(e){return this.clone().idivn(e)},c.prototype.egcd=function(p){n(0===p.negative),n(!p.isZero());var e=this,t=p.clone();e=0!==e.negative?e.umod(p):e.clone();for(var r=new c(1),o=new c(0),f=new c(0),h=new c(1),g=0;e.isEven()&&t.isEven();)e.iushrn(1),t.iushrn(1),++g;for(var l=t.clone(),d=e.clone();!e.isZero();){for(var i=0,y=1;0==(e.words[0]&y)&&i<26;++i,y<<=1);if(i>0)for(e.iushrn(i);i-- >0;)(r.isOdd()||o.isOdd())&&(r.iadd(l),o.isub(d)),r.iushrn(1),o.iushrn(1);for(var m=0,v=1;0==(t.words[0]&v)&&m<26;++m,v<<=1);if(m>0)for(t.iushrn(m);m-- >0;)(f.isOdd()||h.isOdd())&&(f.iadd(l),h.isub(d)),f.iushrn(1),h.iushrn(1);e.cmp(t)>=0?(e.isub(t),r.isub(f),o.isub(h)):(t.isub(e),f.isub(r),h.isub(o))}return{a:f,b:h,gcd:t.iushln(g)}},c.prototype._invmp=function(p){n(0===p.negative),n(!p.isZero());var a=this,b=p.clone();a=0!==a.negative?a.umod(p):a.clone();for(var e,t=new c(1),r=new c(0),o=b.clone();a.cmpn(1)>0&&b.cmpn(1)>0;){for(var i=0,f=1;0==(a.words[0]&f)&&i<26;++i,f<<=1);if(i>0)for(a.iushrn(i);i-- >0;)t.isOdd()&&t.iadd(o),t.iushrn(1);for(var h=0,l=1;0==(b.words[0]&l)&&h<26;++h,l<<=1);if(h>0)for(b.iushrn(h);h-- >0;)r.isOdd()&&r.iadd(o),r.iushrn(1);a.cmp(b)>=0?(a.isub(b),t.isub(r)):(b.isub(a),r.isub(t))}return(e=0===a.cmpn(1)?t:r).cmpn(0)<0&&e.iadd(p),e},c.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var a=this.clone(),b=e.clone();a.negative=0,b.negative=0;for(var t=0;a.isEven()&&b.isEven();t++)a.iushrn(1),b.iushrn(1);for(;;){for(;a.isEven();)a.iushrn(1);for(;b.isEven();)b.iushrn(1);var r=a.cmp(b);if(r<0){var n=a;a=b,b=n}else if(0===r||0===b.cmpn(1))break;a.isub(b)}return b.iushln(t)},c.prototype.invm=function(e){return this.egcd(e).a.umod(e)},c.prototype.isEven=function(){return 0==(1&this.words[0])},c.prototype.isOdd=function(){return 1==(1&this.words[0])},c.prototype.andln=function(e){return this.words[0]&e},c.prototype.bincn=function(e){n("number"==typeof e);var t=e%26,s=(e-t)/26,q=1<<t;if(this.length<=s)return this._expand(s+1),this.words[s]|=q,this;for(var r=q,i=s;0!==r&&i<this.length;i++){var o=0|this.words[i];r=(o+=r)>>>26,o&=67108863,this.words[i]=o}return 0!==r&&(this.words[i]=r,this.length++),this},c.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},c.prototype.cmpn=function(e){var t,r=e<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this.strip(),this.length>1)t=1;else{r&&(e=-e),n(e<=67108863,"Number is too big");var o=0|this.words[0];t=o===e?0:o<e?-1:1}return 0!==this.negative?0|-t:t},c.prototype.cmp=function(e){if(0!==this.negative&&0===e.negative)return-1;if(0===this.negative&&0!==e.negative)return 1;var t=this.ucmp(e);return 0!==this.negative?0|-t:t},c.prototype.ucmp=function(e){if(this.length>e.length)return 1;if(this.length<e.length)return-1;for(var t=0,i=this.length-1;i>=0;i--){var a=0|this.words[i],b=0|e.words[i];if(a!==b){a<b?t=-1:a>b&&(t=1);break}}return t},c.prototype.gtn=function(e){return 1===this.cmpn(e)},c.prototype.gt=function(e){return 1===this.cmp(e)},c.prototype.gten=function(e){return this.cmpn(e)>=0},c.prototype.gte=function(e){return this.cmp(e)>=0},c.prototype.ltn=function(e){return-1===this.cmpn(e)},c.prototype.lt=function(e){return-1===this.cmp(e)},c.prototype.lten=function(e){return this.cmpn(e)<=0},c.prototype.lte=function(e){return this.cmp(e)<=0},c.prototype.eqn=function(e){return 0===this.cmpn(e)},c.prototype.eq=function(e){return 0===this.cmp(e)},c.red=function(e){return new R(e)},c.prototype.toRed=function(e){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},c.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},c.prototype._forceRed=function(e){return this.red=e,this},c.prototype.forceRed=function(e){return n(!this.red,"Already a number in reduction context"),this._forceRed(e)},c.prototype.redAdd=function(e){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},c.prototype.redIAdd=function(e){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},c.prototype.redSub=function(e){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},c.prototype.redISub=function(e){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},c.prototype.redShl=function(e){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},c.prototype.redMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},c.prototype.redIMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},c.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},c.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},c.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},c.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},c.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},c.prototype.redPow=function(e){return n(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var C={k256:null,p224:null,p192:null,p25519:null};function A(e,p){this.name=e,this.p=new c(p,16),this.n=this.p.bitLength(),this.k=new c(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function T(){A.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function k(){A.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function I(){A.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function M(){A.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function R(e){if("string"==typeof e){var t=c._prime(e);this.m=t.p,this.prime=t}else n(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function x(e){R.call(this,e),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new c(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}A.prototype._tmp=function(){var e=new c(null);return e.words=new Array(Math.ceil(this.n/13)),e},A.prototype.ireduce=function(e){var t,r=e;do{this.split(r,this.tmp),t=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(t>this.n);var n=t<this.n?-1:r.ucmp(this.p);return 0===n?(r.words[0]=0,r.length=1):n>0?r.isub(this.p):void 0!==r.strip?r.strip():r._strip(),r},A.prototype.split=function(input,e){input.iushrn(this.n,0,e)},A.prototype.imulK=function(e){return e.imul(this.k)},o(T,A),T.prototype.split=function(input,output){for(var mask=4194303,e=Math.min(input.length,9),i=0;i<e;i++)output.words[i]=input.words[i];if(output.length=e,input.length<=9)return input.words[0]=0,void(in
vendor: 9,345 bytes, line 2
2put.length=1);var t=input.words[9];for(output.words[output.length++]=t&mask,i=10;i<input.length;i++){var r=0|input.words[i];input.words[i-10]=(r&mask)<<4|t>>>22,t=r}t>>>=22,input.words[i-10]=t,0===t&&input.length>10?input.length-=10:input.length-=9},T.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,i=0;i<e.length;i++){var r=0|e.words[i];t+=977*r,e.words[i]=67108863&t,t=64*r+(t/67108864|0)}return 0===e.words[e.length-1]&&(e.length--,0===e.words[e.length-1]&&e.length--),e},o(k,A),o(I,A),o(M,A),M.prototype.imulK=function(e){for(var t=0,i=0;i<e.length;i++){var r=19*(0|e.words[i])+t,n=67108863&r;r>>>=26,e.words[i]=n,t=r}return 0!==t&&(e.words[e.length++]=t),e},c._prime=function(e){if(C[e])return C[e];var t;if("k256"===e)t=new T;else if("p224"===e)t=new k;else if("p192"===e)t=new I;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new M}return C[e]=t,t},R.prototype._verify1=function(a){n(0===a.negative,"red works only with positives"),n(a.red,"red works only with red numbers")},R.prototype._verify2=function(a,b){n(0==(a.negative|b.negative),"red works only with positives"),n(a.red&&a.red===b.red,"red works only with red numbers")},R.prototype.imod=function(a){return this.prime?this.prime.ireduce(a)._forceRed(this):a.umod(this.m)._forceRed(this)},R.prototype.neg=function(a){return a.isZero()?a.clone():this.m.sub(a)._forceRed(this)},R.prototype.add=function(a,b){this._verify2(a,b);var e=a.add(b);return e.cmp(this.m)>=0&&e.isub(this.m),e._forceRed(this)},R.prototype.iadd=function(a,b){this._verify2(a,b);var e=a.iadd(b);return e.cmp(this.m)>=0&&e.isub(this.m),e},R.prototype.sub=function(a,b){this._verify2(a,b);var e=a.sub(b);return e.cmpn(0)<0&&e.iadd(this.m),e._forceRed(this)},R.prototype.isub=function(a,b){this._verify2(a,b);var e=a.isub(b);return e.cmpn(0)<0&&e.iadd(this.m),e},R.prototype.shl=function(a,e){return this._verify1(a),this.imod(a.ushln(e))},R.prototype.imul=function(a,b){return this._verify2(a,b),this.imod(a.imul(b))},R.prototype.mul=function(a,b){return this._verify2(a,b),this.imod(a.mul(b))},R.prototype.isqr=function(a){return this.imul(a,a.clone())},R.prototype.sqr=function(a){return this.mul(a,a)},R.prototype.sqrt=function(a){if(a.isZero())return a.clone();var e=this.m.andln(3);if(n(e%2==1),3===e){var t=this.m.add(new c(1)).iushrn(2);return this.pow(a,t)}for(var q=this.m.subn(1),s=0;!q.isZero()&&0===q.andln(1);)s++,q.iushrn(1);n(!q.isZero());var r=new c(1).toRed(this),o=r.redNeg(),f=this.m.subn(1).iushrn(1),h=this.m.bitLength();for(h=new c(2*h*h).toRed(this);0!==this.pow(h,f).cmp(o);)h.redIAdd(o);for(var l=this.pow(h,q),d=this.pow(a,q.addn(1).iushrn(1)),y=this.pow(a,q),m=s;0!==y.cmp(r);){for(var v=y,i=0;0!==v.cmp(r);i++)v=v.redSqr();n(i<m);var b=this.pow(l,new c(1).iushln(m-i-1));d=d.redMul(b),l=b.redSqr(),y=y.redMul(l),m=i}return d},R.prototype.invm=function(a){var e=a._invmp(this.m);return 0!==e.negative?(e.negative=0,this.imod(e).redNeg()):this.imod(e)},R.prototype.pow=function(a,e){if(e.isZero())return new c(1).toRed(this);if(0===e.cmpn(1))return a.clone();var t=new Array(16);t[0]=new c(1).toRed(this),t[1]=a;for(var i=2;i<t.length;i++)t[i]=this.mul(t[i-1],a);var r=t[0],n=0,o=0,f=e.bitLength()%26;for(0===f&&(f=26),i=e.length-1;i>=0;i--){for(var h=e.words[i],l=f-1;l>=0;l--){var d=h>>l&1;r!==t[0]&&(r=this.sqr(r)),0!==d||0!==n?(n<<=1,n|=d,(4===++o||0===i&&0===l)&&(r=this.mul(r,t[n]),o=0,n=0)):o=0}f=26}return r},R.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},R.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},c.mont=function(e){return new x(e)},o(x,R),x.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},x.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},x.prototype.imul=function(a,b){if(a.isZero()||b.isZero())return a.words[0]=0,a.length=1,a;var e=a.imul(b),t=e.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),u=e.isub(t).iushrn(this.shift),r=u;return u.cmp(this.m)>=0?r=u.isub(this.m):u.cmpn(0)<0&&(r=u.iadd(this.m)),r._forceRed(this)},x.prototype.mul=function(a,b){if(a.isZero()||b.isZero())return new c(0)._forceRed(this);var e=a.mul(b),t=e.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),u=e.isub(t).iushrn(this.shift),r=u;return u.cmp(this.m)>=0?r=u.isub(this.m):u.cmpn(0)<0&&(r=u.iadd(this.m)),r._forceRed(this)},x.prototype.invm=function(a){return this.imod(a._invmp(this.m).mul(this.r2))._forceRed(this)}}(e,this)}).call(this,r(135)(e))},,,,,,,,,,,,,,,,,,,,,,function(e,t){function r(e,t){if(!e)throw new Error(t||"Assertion failed")}e.exports=r,r.equal=function(e,t,r){if(e!=t)throw new Error(r||"Assertion failed: "+e+" != "+t)}},function(e,t,r){"use strict";var n=t,o=r(32),c=r(54),f=r(417);n.assert=c,n.toArray=f.toArray,n.zero2=f.zero2,n.toHex=f.toHex,n.encode=f.encode,n.getNAF=function(e,t,r){var n=new Array(Math.max(e.bitLength(),r)+1);n.fill(0);for(var o=1<<t+1,c=e.clone(),i=0;i<n.length;i++){var f,h=c.andln(o-1);c.isOdd()?(f=h>(o>>1)-1?(o>>1)-h:h,c.isubn(f)):f=0,n[i]=f,c.iushrn(1)}return n},n.getJSF=function(e,t){var r=[[],[]];e=e.clone(),t=t.clone();for(var n,o=0,c=0;e.cmpn(-o)>0||t.cmpn(-c)>0;){var f,h,l=e.andln(3)+o&3,d=t.andln(3)+c&3;3===l&&(l=-1),3===d&&(d=-1),f=0==(1&l)?0:3!==(n=e.andln(7)+o&7)&&5!==n||2!==d?l:-l,r[0].push(f),h=0==(1&d)?0:3!==(n=t.andln(7)+c&7)&&5!==n||2!==l?d:-d,r[1].push(h),2*o===f+1&&(o=1-o),2*c===h+1&&(c=1-c),e.iushrn(1),t.iushrn(1)}return r},n.cachedProperty=function(e,t,r){var n="_"+t;e.prototype[t]=function(){return void 0!==this[n]?this[n]:this[n]=r.call(this)}},n.parseBytes=function(e){return"string"==typeof e?n.toArray(e,"hex"):e},n.intFromLE=function(e){return new o(e,"hex","le")}},,,,,,,function(e,t,r){var n=r(11);r(91),r(446),r(447),r(18),n.random&&n.random.getBytes?e.exports=n.random:function(t){var r={},o=new Array(4),c=n.util.createBuffer();function f(){var e=n.prng.create(r);return e.getBytes=function(t,r){return e.generate(t,r)},e.getBytesSync=function(t){return e.generate(t)},e}r.formatKey=function(e){var t=n.util.createBuffer(e);return(e=new Array(4))[0]=t.getInt32(),e[1]=t.getInt32(),e[2]=t.getInt32(),e[3]=t.getInt32(),n.aes._expandKey(e,!1)},r.formatSeed=function(e){var t=n.util.createBuffer(e);return(e=new Array(4))[0]=t.getInt32(),e[1]=t.getInt32(),e[2]=t.getInt32(),e[3]=t.getInt32(),e},r.cipher=function(e,t){return n.aes._updateBlock(e,t,o,!1),c.putInt32(o[0]),c.putInt32(o[1]),c.putInt32(o[2]),c.putInt32(o[3]),c.getBytes()},r.increment=function(e){return++e[3],e},r.md=n.md.sha256;var h=f(),l=null,d=n.util.globalScope,y=d.crypto||d.msCrypto;if(y&&y.getRandomValues&&(l=function(e){return y.getRandomValues(e)}),n.options.usePureJavaScript||!n.util.isNodejs&&!l){if("undefined"==typeof window||window.document,h.collectInt(+new Date,32),"undefined"!=typeof navigator){var m="";for(var v in navigator)try{"string"==typeof navigator[v]&&(m+=navigator[v])}catch(e){}h.collect(m),m=null}t&&(t().mousemove((function(e){h.collectInt(e.clientX,16),h.collectInt(e.clientY,16)})),t().keypress((function(e){h.collectInt(e.charCode,8)})))}if(n.random)for(var v in h)n.random[v]=h[v];else n.random=h;n.random.createInstance=f,e.exports=n.random}("undefined"!=typeof jQuery?jQuery:null)},,,,function(e,t,r){"use strict";var n=r(54),o=r(5);function c(e,i){return 55296==(64512&e.charCodeAt(i))&&(!(i<0||i+1>=e.length)&&56320==(64512&e.charCodeAt(i+1)))}function f(e){return(e>>>24|e>>>8&65280|e<<8&16711680|(255&e)<<24)>>>0}function h(e){return 1===e.length?"0"+e:e}function l(e){return 7===e.length?"0"+e:6===e.length?"00"+e:5===e.length?"000"+e:4===e.length?"0000"+e:3===e.length?"00000"+e:2===e.length?"000000"+e:1===e.length?"0000000"+e:e}t.inherits=o,t.toArray=function(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var r=[];if("string"==typeof e)if(t){if("hex"===t)for((e=e.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(e="0"+e),i=0;i<e.length;i+=2)r.push(parseInt(e[i]+e[i+1],16))}else for(var p=0,i=0;i<e.length;i++){var n=e.charCodeAt(i);n<128?r[p++]=n:n<2048?(r[p++]=n>>6|192,r[p++]=63&n|128):c(e,i)?(n=65536+((1023&n)<<10)+(1023&e.charCodeAt(++i)),r[p++]=n>>18|240,r[p++]=n>>12&63|128,r[p++]=n>>6&63|128,r[p++]=63&n|128):(r[p++]=n>>12|224,r[p++]=n>>6&63|128,r[p++]=63&n|128)}else for(i=0;i<e.length;i++)r[i]=0|e[i];return r},t.toHex=function(e){for(var t="",i=0;i<e.length;i++)t+=h(e[i].toString(16));return t},t.htonl=f,t.toHex32=function(e,t){for(var r="",i=0;i<e.length;i++){var n=e[i];"little"===t&&(n=f(n)),r+=l(n.toString(16))}return r},t.zero2=h,t.zero8=l,t.join32=function(e,t,r,o){var c=r-t;n(c%4==0);for(var f=new Array(c/4),i=0,h=t;i<f.length;i++,h+=4){var l;l="big"===o?e[h]<<24|e[h+1]<<16|e[h+2]<<8|e[h+3]:e[h+3]<<24|e[h+2]<<16|e[h+1]<<8|e[h],f[i]=l>>>0}return f},t.split32=function(e,t){for(var r=new Array(4*e.length),i=0,n=0;i<e.length;i++,n+=4){var o=e[i];"big"===t?(r[n]=o>>>24,r[n+1]=o>>>16&255,r[n+2]=o>>>8&255,r[n+3]=255&o):(r[n+3]=o>>>24,r[n+2]=o>>>16&255,r[n+1]=o>>>8&255,r[n]=255&o)}return r},t.rotr32=function(e,b){return e>>>b|e<<32-b},t.rotl32=function(e,b){return e<<b|e>>>32-b},t.sum32=function(a,b){return a+b>>>0},t.sum32_3=function(a,b,e){return a+b+e>>>0},t.sum32_4=function(a,b,e,t){return a+b+e+t>>>0},t.sum32_5=function(a,b,e,t,r){return a+b+e+t+r>>>0},t.sum64=function(e,t,r,n){var o=e[t],c=n+e[t+1]>>>0,f=(c<n?1:0)+r+o;e[t]=f>>>
20,e[t+1]=c},t.sum64_hi=function(e,t,r,n){return(t+n>>>0<t?1:0)+e+r>>>0},t.sum64_lo=function(e,t,r,n){return t+n>>>0},t.sum64_4_hi=function(e,t,r,n,o,c,f,dl){var h=0,l=t;return h+=(l=l+n>>>0)<t?1:0,h+=(l=l+c>>>0)<c?1:0,e+r+o+f+(h+=(l=l+dl>>>0)<dl?1:0)>>>0},t.sum64_4_lo=function(e,t,r,n,o,c,f,dl){return t+n+c+dl>>>0},t.sum64_5_hi=function(e,t,r,n,o,c,f,dl,h,l){var d=0,y=t;return d+=(y=y+n>>>0)<t?1:0,d+=(y=y+c>>>0)<c?1:0,d+=(y=y+dl>>>0)<dl?1:0,e+r+o+f+h+(d+=(y=y+l>>>0)<l?1:0)>>>0},t.sum64_5_lo=function(e,t,r,n,o,c,f,dl,h,l){return t+n+c+dl+l>>>0},t.rotr64_hi=function(e,t,r){return(t<<32-r|e>>>r)>>>0},t.rotr64_lo=function(e,t,r){return(e<<32-r|t>>>r)>>>0},t.shr64_hi=function(e,t,r){return e>>>r},t.shr64_lo=function(e,t,r){return(e<<32-r|t>>>r)>>>0}},function(e,t,r){var n=r(11);r(18),r(92);var o=e.exports=n.asn1=n.asn1||{};function c(e,t,r){if(r>t){var n=new Error("Too few bytes to parse DER.");throw n.available=e.length(),n.remaining=t,n.requested=r,n}}o.Class={UNIVERSAL:0,APPLICATION:64,CONTEXT_SPECIFIC:128,PRIVATE:192},o.Type={NONE:0,BOOLEAN:1,INTEGER:2,BITSTRING:3,OCTETSTRING:4,NULL:5,OID:6,ODESC:7,EXTERNAL:8,REAL:9,ENUMERATED:10,EMBEDDED:11,UTF8:12,ROID:13,SEQUENCE:16,SET:17,PRINTABLESTRING:19,IA5STRING:22,UTCTIME:23,GENERALIZEDTIME:24,BMPSTRING:30},o.create=function(e,t,r,c,f){if(n.util.isArray(c)){for(var h=[],i=0;i<c.length;++i)void 0!==c[i]&&h.push(c[i]);c=h}var l={tagClass:e,type:t,constructed:r,composed:r||n.util.isArray(c),value:c};return f&&"bitStringContents"in f&&(l.bitStringContents=f.bitStringContents,l.original=o.copy(l)),l},o.copy=function(e,t){var r;if(n.util.isArray(e)){r=[];for(var i=0;i<e.length;++i)r.push(o.copy(e[i],t));return r}return"string"==typeof e?e:(r={tagClass:e.tagClass,type:e.type,constructed:e.constructed,composed:e.composed,value:o.copy(e.value,t)},t&&!t.excludeBitStringContents&&(r.bitStringContents=e.bitStringContents),r)},o.equals=function(e,t,r){if(n.util.isArray(e)){if(!n.util.isArray(t))return!1;if(e.length!==t.length)return!1;for(var i=0;i<e.length;++i)if(!o.equals(e[i],t[i]))return!1;return!0}if(typeof e!=typeof t)return!1;if("string"==typeof e)return e===t;var c=e.tagClass===t.tagClass&&e.type===t.type&&e.constructed===t.constructed&&e.composed===t.composed&&o.equals(e.value,t.value);return r&&r.includeBitStringContents&&(c=c&&e.bitStringContents===t.bitStringContents),c},o.getBerValueLength=function(b){var e=b.getByte();if(128!==e)return 128&e?b.getInt((127&e)<<3):e};function f(e,t,r,n){var h;c(e,t,2);var l=e.getByte();t--;var d=192&l,y=31&l;h=e.length();var m,v,w=function(e,t){var r=e.getByte();if(t--,128!==r){var n;if(128&r){var o=127&r;c(e,t,o),n=e.getInt(o<<3)}else n=r;if(n<0)throw new Error("Negative length: "+n);return n}}(e,t);if(t-=h-e.length(),void 0!==w&&w>t){if(n.strict){var _=new Error("Too few bytes to read ASN.1 value.");throw _.available=e.length(),_.remaining=t,_.requested=w,_}w=t}var E=32==(32&l);if(E)if(m=[],void 0===w)for(;;){if(c(e,t,2),e.bytes(2)===String.fromCharCode(0,0)){e.getBytes(2),t-=2;break}h=e.length(),m.push(f(e,t,r+1,n)),t-=h-e.length()}else for(;w>0;)h=e.length(),m.push(f(e,w,r+1,n)),t-=h-e.length(),w-=h-e.length();if(void 0===m&&d===o.Class.UNIVERSAL&&y===o.Type.BITSTRING&&(v=e.bytes(w)),void 0===m&&n.decodeBitStrings&&d===o.Class.UNIVERSAL&&y===o.Type.BITSTRING&&w>1){var S=e.read,C=t,A=0;if(y===o.Type.BITSTRING&&(c(e,t,1),A=e.getByte(),t--),0===A)try{h=e.length();var T=f(e,t,r+1,{strict:!0,decodeBitStrings:!0}),k=h-e.length();t-=k,y==o.Type.BITSTRING&&k++;var I=T.tagClass;k!==w||I!==o.Class.UNIVERSAL&&I!==o.Class.CONTEXT_SPECIFIC||(m=[T])}catch(e){}void 0===m&&(e.read=S,t=C)}if(void 0===m){if(void 0===w){if(n.strict)throw new Error("Non-constructed ASN.1 object of indefinite length.");w=t}if(y===o.Type.BMPSTRING)for(m="";w>0;w-=2)c(e,t,2),m+=String.fromCharCode(e.getInt16()),t-=2;else m=e.getBytes(w),t-=w}var M=void 0===v?null:{bitStringContents:v};return o.create(d,y,E,m,M)}o.fromDer=function(e,t){void 0===t&&(t={strict:!0,parseAllBytes:!0,decodeBitStrings:!0}),"boolean"==typeof t&&(t={strict:t,parseAllBytes:!0,decodeBitStrings:!0}),"strict"in t||(t.strict=!0),"parseAllBytes"in t||(t.parseAllBytes=!0),"decodeBitStrings"in t||(t.decodeBitStrings=!0),"string"==typeof e&&(e=n.util.createBuffer(e));var r=e.length(),o=f(e,e.length(),0,t);if(t.parseAllBytes&&0!==e.length()){var c=new Error("Unparsed DER bytes remain after ASN.1 parsing.");throw c.byteCount=r,c.remaining=e.length(),c}return o},o.toDer=function(e){var t=n.util.createBuffer(),r=e.tagClass|e.type,c=n.util.createBuffer(),f=!1;
vendor: 8,936 bytes, line 2
2if("bitStringContents"in e&&(f=!0,e.original&&(f=o.equals(e,e.original))),f)c.putBytes(e.bitStringContents);else if(e.composed){e.constructed?r|=32:c.putByte(0);for(var i=0;i<e.value.length;++i)void 0!==e.value[i]&&c.putBuffer(o.toDer(e.value[i]))}else if(e.type===o.Type.BMPSTRING)for(i=0;i<e.value.length;++i)c.putInt16(e.value.charCodeAt(i));else e.type===o.Type.INTEGER&&e.value.length>1&&(0===e.value.charCodeAt(0)&&0==(128&e.value.charCodeAt(1))||255===e.value.charCodeAt(0)&&128==(128&e.value.charCodeAt(1)))?c.putBytes(e.value.substr(1)):c.putBytes(e.value);if(t.putByte(r),c.length()<=127)t.putByte(127&c.length());else{var h=c.length(),l="";do{l+=String.fromCharCode(255&h),h>>>=8}while(h>0);t.putByte(128|l.length);for(i=l.length-1;i>=0;--i)t.putByte(l.charCodeAt(i))}return t.putBuffer(c),t},o.oidToDer=function(e){var t,r,o,b,c=e.split("."),f=n.util.createBuffer();f.putByte(40*parseInt(c[0],10)+parseInt(c[1],10));for(var i=2;i<c.length;++i){t=!0,r=[],o=parseInt(c[i],10);do{b=127&o,o>>>=7,t||(b|=128),r.push(b),t=!1}while(o>0);for(var h=r.length-1;h>=0;--h)f.putByte(r[h])}return f},o.derToOid=function(e){var t;"string"==typeof e&&(e=n.util.createBuffer(e));var b=e.getByte();t=Math.floor(b/40)+"."+b%40;for(var r=0;e.length()>0;)r<<=7,128&(b=e.getByte())?r+=127&b:(t+="."+(r+b),r=0);return t},o.utcTimeToDate=function(e){var t=new Date,r=parseInt(e.substr(0,2),10);r=r>=50?1900+r:2e3+r;var n=parseInt(e.substr(2,2),10)-1,o=parseInt(e.substr(4,2),10),c=parseInt(e.substr(6,2),10),f=parseInt(e.substr(8,2),10),h=0;if(e.length>11){var l=e.charAt(10),d=10;"+"!==l&&"-"!==l&&(h=parseInt(e.substr(10,2),10),d+=2)}if(t.setUTCFullYear(r,n,o),t.setUTCHours(c,f,h,0),d&&("+"===(l=e.charAt(d))||"-"===l)){var y=60*parseInt(e.substr(d+1,2),10)+parseInt(e.substr(d+4,2),10);y*=6e4,"+"===l?t.setTime(+t-y):t.setTime(+t+y)}return t},o.generalizedTimeToDate=function(e){var t=new Date,r=parseInt(e.substr(0,4),10),n=parseInt(e.substr(4,2),10)-1,o=parseInt(e.substr(6,2),10),c=parseInt(e.substr(8,2),10),f=parseInt(e.substr(10,2),10),h=parseInt(e.substr(12,2),10),l=0,d=0,y=!1;"Z"===e.charAt(e.length-1)&&(y=!0);var m=e.length-5,v=e.charAt(m);"+"!==v&&"-"!==v||(d=60*parseInt(e.substr(m+1,2),10)+parseInt(e.substr(m+4,2),10),d*=6e4,"+"===v&&(d*=-1),y=!0);return"."===e.charAt(14)&&(l=1e3*parseFloat(e.substr(14),10)),y?(t.setUTCFullYear(r,n,o),t.setUTCHours(c,f,h,l),t.setTime(+t+d)):(t.setFullYear(r,n,o),t.setHours(c,f,h,l)),t},o.dateToUtcTime=function(e){if("string"==typeof e)return e;var t="",r=[];r.push((""+e.getUTCFullYear()).substr(2)),r.push(""+(e.getUTCMonth()+1)),r.push(""+e.getUTCDate()),r.push(""+e.getUTCHours()),r.push(""+e.getUTCMinutes()),r.push(""+e.getUTCSeconds());for(var i=0;i<r.length;++i)r[i].length<2&&(t+="0"),t+=r[i];return t+="Z"},o.dateToGeneralizedTime=function(e){if("string"==typeof e)return e;var t="",r=[];r.push(""+e.getUTCFullYear()),r.push(""+(e.getUTCMonth()+1)),r.push(""+e.getUTCDate()),r.push(""+e.getUTCHours()),r.push(""+e.getUTCMinutes()),r.push(""+e.getUTCSeconds());for(var i=0;i<r.length;++i)r[i].length<2&&(t+="0"),t+=r[i];return t+="Z"},o.integerToDer=function(e){var t=n.util.createBuffer();if(e>=-128&&e<128)return t.putSignedInt(e,8);if(e>=-32768&&e<32768)return t.putSignedInt(e,16);if(e>=-8388608&&e<8388608)return t.putSignedInt(e,24);if(e>=-2147483648&&e<2147483648)return t.putSignedInt(e,32);var r=new Error("Integer too large; max is 32-bits.");throw r.integer=e,r},o.derToInteger=function(e){"string"==typeof e&&(e=n.util.createBuffer(e));var t=8*e.length();if(t>32)throw new Error("Integer too large; max is 32-bits.");return e.getSignedInt(t)},o.validate=function(e,t,r,c){var f=!1;if(e.tagClass!==t.tagClass&&void 0!==t.tagClass||e.type!==t.type&&void 0!==t.type)c&&(e.tagClass!==t.tagClass&&c.push("["+t.name+'] Expected tag class "'+t.tagClass+'", got "'+e.tagClass+'"'),e.type!==t.type&&c.push("["+t.name+'] Expected type "'+t.type+'", got "'+e.type+'"'));else if(e.constructed===t.constructed||void 0===t.constructed){if(f=!0,t.value&&n.util.isArray(t.value))for(var h=0,i=0;f&&i<t.value.length;++i)f=t.value[i].optional||!1,e.value[h]&&((f=o.validate(e.value[h],t.value[i],r,c))?++h:t.value[i].optional&&(f=!0)),!f&&c&&c.push("["+t.name+'] Tag class "'+t.tagClass+'", type "'+t.type+'" expected value length "'+t.value.length+'", got "'+e.value.length+'"');if(f&&r)if(t.capture&&(r[t.capture]=e.value),t.captureAsn1&&(r[t.captureAsn1]=e),t.captureBitStringContents&&"bitStringContents"in e&&(r[t.captureBitStringContents]=e.bitStringContents),t.captureBitStringValue&&"bitStringContents"in e)if(e.bitStringContents.length<2)r[t.captureBitStringValue]="";else{if(0!==e.bitStringContents.charCodeAt(0))throw new Error("captureBitStringValue only supported for zero unused bits");r[t.captureBitStringValue]=e.bitStringContents.slice(1)}}else c&&c.push("["+t.name+'] Expected constructed "'+t.constructed+'", got "'+e.constructed+'"');return f};var h=/[^\\u0000-\\u00ff]/;o.prettyPrint=function(e,t,r){var c="";r=r||2,(t=t||0)>0&&(c+="\n");for(var f="",i=0;i<t*r;++i)f+=" ";switch(c+=f+"Tag: ",e.tagClass){case o.Class.UNIVERSAL:c+="Universal:";break;case o.Class.APPLICATION:c+="Application:";break;case o.Class.CONTEXT_SPECIFIC:c+="Context-Specific:";break;case o.Class.PRIVATE:c+="Private:"}if(e.tagClass===o.Class.UNIVERSAL)switch(c+=e.type,e.type){case o.Type.NONE:c+=" (None)";break;case o.Type.BOOLEAN:c+=" (Boolean)";break;case o.Type.INTEGER:c+=" (Integer)";break;case o.Type.BITSTRING:c+=" (Bit string)";break;case o.Type.OCTETSTRING:c+=" (Octet string)";break;case o.Type.NULL:c+=" (Null)";break;case o.Type.OID:c+=" (Object Identifier)";break;case o.Type.ODESC:c+=" (Object Descriptor)";break;case o.Type.EXTERNAL:c+=" (External or Instance of)";break;case o.Type.REAL:c+=" (Real)";break;case o.Type.ENUMERATED:c+=" (Enumerated)";break;case o.Type.EMBEDDED:c+=" (Embedded PDV)";break;case o.Type.UTF8:c+=" (UTF8)";break;case o.Type.ROID:c+=" (Relative Object Identifier)";break;case o.Type.SEQUENCE:c+=" (Sequence)";break;case o.Type.SET:c+=" (Set)";break;case o.Type.PRINTABLESTRING:c+=" (Printable String)";break;case o.Type.IA5String:c+=" (IA5String (ASCII))";break;case o.Type.UTCTIME:c+=" (UTC time)";break;case o.Type.GENERALIZEDTIME:c+=" (Generalized time)";break;case o.Type.BMPSTRING:c+=" (BMP String)"}else c+=e.type;if(c+="\n",c+=f+"Constructed: "+e.constructed+"\n",e.composed){var l=0,sub="";for(i=0;i<e.value.length;++i)void 0!==e.value[i]&&(l+=1,sub+=o.prettyPrint(e.value[i],t+1,r),i+1<e.value.length&&(sub+=","));c+=f+"Sub values: "+l+sub}else{if(c+=f+"Value: ",e.type===o.Type.OID){var d=o.derToOid(e.value);c+=d,n.pki&&n.pki.oids&&d in n.pki.oids&&(c+=" ("+n.pki.oids[d]+") ")}if(e.type===o.Type.INTEGER)try{c+=o.derToInteger(e.value)}catch(t){c+="0x"+n.util.bytesToHex(e.value)}else if(e.type===o.Type.BITSTRING){if(e.value.length>1?c+="0x"+n.util.bytesToHex(e.value.slice(1)):c+="(none)",e.value.length>0){var y=e.value.charCodeAt(0);1==y?c+=" (1 unused bit shown)":y>1&&(c+=" ("+y+" unused bits shown)")}}else if(e.type===o.Type.OCTETSTRING)h.test(e.value)||(c+="("+e.value+") "),c+="0x"+n.util.bytesToHex(e.value);else if(e.type===o.Type.UTF8)try{c+=n.util.decodeUtf8(e.value)}catch(t){if("URI malformed"!==t.message)throw t;c+="0x"+n.util.bytesToHex(e.value)+" (malformed UTF8)"}else e.type===o.Type.PRINTABLESTRING||e.type===o.Type.IA5String?c+=e.value:h.test(e.value)?c+="0x"+n.util.bytesToHex(e.value):0===e.value.length?c+="[null]":c+=e.value}return c}},,,,,,function(e,t,r){"use strict";var n,o="object"==typeof Reflect?Reflect:null,c=o&&"function"==typeof o.apply?o.apply:function(e,t,r){return Function.prototype.apply.call(e,t,r)};n=o&&"function"==typeof o.ownKeys?o.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var f=Number.isNaN||function(e){return e!=e};function h(){h.init.call(this)}e.exports=h,e.exports.once=function(e,t){return new Promise((function(r,n){function o(r){e.removeListener(t,c),n(r)}function c(){"function"==typeof e.removeListener&&e.removeListener("error",o),r([].slice.call(arguments))}C(e,t,c,{once:!0}),"error"!==t&&function(e,t,r){"function"==typeof e.on&&C(e,"error",t,r)}(e,o,{once:!0})}))},h.EventEmitter=h,h.prototype._events=void 0,h.prototype._eventsCount=0,h.prototype._maxListeners=void 0;var l=10;function d(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function y(e){return void 0===e._maxListeners?h.defaultMaxListeners:e._maxListeners}function m(e,t,r,n){var o,c,f,h;if(d(r),void 0===(c=e._events)?(c=e._events=Object.create(null),e._eventsCount=0):(void 0!==c.newListener&&(e.emit("newListener",t,r.listener?r.listener:r),c=e._events),f=c[t]),void 0===f)f=c[t]=r,++e._eventsCount;else if("function"==typeof f?f=c[t]=n?[r,f]:[f,r]:n?f.unshift(r):f.push(r),(o=y(e))>0&&f.length>
vendor: 6,798 bytes, line 2
2o&&!f.warned){f.warned=!0;var l=new Error("Possible EventEmitter memory leak detected. "+f.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");l.name="MaxListenersExceededWarning",l.emitter=e,l.type=t,l.count=f.length,h=l,console&&console.warn&&console.warn(h)}return e}function v(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function w(e,t,r){var n={fired:!1,wrapFn:void 0,target:e,type:t,listener:r},o=v.bind(n);return o.listener=r,n.wrapFn=o,o}function _(e,t,r){var n=e._events;if(void 0===n)return[];var o=n[t];return void 0===o?[]:"function"==typeof o?r?[o.listener||o]:[o]:r?function(e){for(var t=new Array(e.length),i=0;i<t.length;++i)t[i]=e[i].listener||e[i];return t}(o):S(o,o.length)}function E(e){var t=this._events;if(void 0!==t){var r=t[e];if("function"==typeof r)return 1;if(void 0!==r)return r.length}return 0}function S(e,t){for(var r=new Array(t),i=0;i<t;++i)r[i]=e[i];return r}function C(e,t,r,n){if("function"==typeof e.on)n.once?e.once(t,r):e.on(t,r);else{if("function"!=typeof e.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof e);e.addEventListener(t,(function o(c){n.once&&e.removeEventListener(t,o),r(c)}))}}Object.defineProperty(h,"defaultMaxListeners",{enumerable:!0,get:function(){return l},set:function(e){if("number"!=typeof e||e<0||f(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");l=e}}),h.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},h.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||f(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},h.prototype.getMaxListeners=function(){return y(this)},h.prototype.emit=function(e){for(var t=[],i=1;i<arguments.length;i++)t.push(arguments[i]);var r="error"===e,n=this._events;if(void 0!==n)r=r&&void 0===n.error;else if(!r)return!1;if(r){var o;if(t.length>0&&(o=t[0]),o instanceof Error)throw o;var f=new Error("Unhandled error."+(o?" ("+o.message+")":""));throw f.context=o,f}var h=n[e];if(void 0===h)return!1;if("function"==typeof h)c(h,this,t);else{var l=h.length,d=S(h,l);for(i=0;i<l;++i)c(d[i],this,t)}return!0},h.prototype.addListener=function(e,t){return m(this,e,t,!1)},h.prototype.on=h.prototype.addListener,h.prototype.prependListener=function(e,t){return m(this,e,t,!0)},h.prototype.once=function(e,t){return d(t),this.on(e,w(this,e,t)),this},h.prototype.prependOnceListener=function(e,t){return d(t),this.prependListener(e,w(this,e,t)),this},h.prototype.removeListener=function(e,t){var r,n,o,i,c;if(d(t),void 0===(n=this._events))return this;if(void 0===(r=n[e]))return this;if(r===t||r.listener===t)0==--this._eventsCount?this._events=Object.create(null):(delete n[e],n.removeListener&&this.emit("removeListener",e,r.listener||t));else if("function"!=typeof r){for(o=-1,i=r.length-1;i>=0;i--)if(r[i]===t||r[i].listener===t){c=r[i].listener,o=i;break}if(o<0)return this;0===o?r.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(r,o),1===r.length&&(n[e]=r[0]),void 0!==n.removeListener&&this.emit("removeListener",e,c||t)}return this},h.prototype.off=h.prototype.removeListener,h.prototype.removeAllListeners=function(e){var t,r,i;if(void 0===(r=this._events))return this;if(void 0===r.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==r[e]&&(0==--this._eventsCount?this._events=Object.create(null):delete r[e]),this;if(0===arguments.length){var n,o=Object.keys(r);for(i=0;i<o.length;++i)"removeListener"!==(n=o[i])&&this.removeAllListeners(n);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=r[e]))this.removeListener(e,t);else if(void 0!==t)for(i=t.length-1;i>=0;i--)this.removeListener(e,t[i]);return this},h.prototype.listeners=function(e){return _(this,e,!0)},h.prototype.rawListeners=function(e){return _(this,e,!1)},h.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):E.call(e,t)},h.prototype.listenerCount=E,h.prototype.eventNames=function(){return this._eventsCount>0?n(this._events):[]}},function(e,t,r){var n=r(11);e.exports=n.md=n.md||{},n.md.algorithms=n.md.algorithms||{}},,,,function(e,t,r){"use strict";r.d(t,"b",(function(){return en})),r.d(t,"a",(function(){return V}));var n={};r.r(n),r.d(n,"NuxtLogo",(function(){return ue})),r.d(n,"ContentLetter",(function(){return ce})),r.d(n,"ContentNav",(function(){return fe})),r.d(n,"ContentSns",(function(){return he})),r.d(n,"ImageBase",(function(){return le})),r.d(n,"ImageFlower",(function(){return de})),r.d(n,"ButtonBgm",(function(){return pe})),r.d(n,"ButtonClose",(function(){return ge})),r.d(n,"ButtonMain",(function(){return ye})),r.d(n,"ButtonNewFlower",(function(){return me})),r.d(n,"ButtonNav",(function(){return ve})),r.d(n,"FormFlowerReport",(function(){return be})),r.d(n,"FormNewFlower",(function(){return we})),r.d(n,"FormSearch",(function(){return _e})),r.d(n,"ModalBase",(function(){return Ee})),r.d(n,"ModalPopup",(function(){return Se})),r.d(n,"LoadingBase",(function(){return Ce})),r.d(n,"NavBar",(function(){return Ae})),r.d(n,"NavFooter",(function(){return Te})),r.d(n,"FormItemButton",(function(){return ke})),r.d(n,"FormItemInput",(function(){return Ie})),r.d(n,"FormItemSelect",(function(){return Me})),r.d(n,"FormNewFlowerConfirm",(function(){return Re})),r.d(n,"FormNewFlowerPrivacyAgree",(function(){return xe})),r.d(n,"FormNewFlowerTermAgree",(function(){return Be})),r.d(n,"NavBarSecond",(function(){return Ne})),r.d(n,"NavBarThird",(function(){return Oe})),r.d(n,"FormItemRadioFlower",(function(){return Le}));r(46),r(31),r(45),r(63),r(36),r(64);var o=r(6),c=r(24),f=(r(30),r(29),r(22),r(61),r(37),r(105),r(1)),h=r(150),l=r(149),d=r(269),y=r.n(d),m=r(119),v=r.n(m),w=(r(38),r(39),r(270)),_=r(77),E=r(3);"scrollRestoration"in window.history&&(Object(E.u)("manual"),window.addEventListener("beforeunload",(function(){Object(E.u)("auto")})),window.addEventListener("load",(function(){Object(E.u)("manual")})));function S(object,e){var t=Object.keys(object);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(object);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(object,e).enumerable}))),t.push.apply(t,r)}return t}function C(e){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};
2i%2?S(Object(source),!0).forEach((function(t){Object(c.a)(e,t,source[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(source)):S(Object(source)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(source,t))}))}return e}var A=function(){return Object(E.m)(r.e(11).then(r.bind(null,1059)))},T=function(){return Object(E.m)(r.e(12).then(r.bind(null,1055)))},k=function(){return Object(E.m)(r.e(13).then(r.bind(null,1060)))},I=function(){return Object(E.m)(r.e(14).then(r.bind(null,1058)))},M=function(){return Object(E.m)(Promise.all([r.e(0),r.e(17)]).then(r.bind(null,1061)))},R=function(){return Object(E.m)(r.e(15).then(r.bind(null,1057)))},x=function(){return Object(E.m)(r.e(16).then(r.bind(null,1062)))},B=function(){return Object(E.m)(r.e(18).then(r.bind(null,1056)))},N=function(){};f.a.use(w.a);var O={mode:"history",base:"/",linkActiveClass:"nuxt-link-active",linkExactActiveClass:"nuxt-link-exact-active",scrollBehavior:function(e,t,r){var n=!1,o=e!==t;r?n=r:o&&function(e){var t=Object(E.g)(e);if(1===t.length){var r=t[0].options;return!1!==(void 0===r?{}:r).scrollToTop}return t.some((function(e){var t=e.options;return t&&t.scrollToTop}))}(e)&&(n={x:0,y:0});var c=window.$nuxt;return(!o||e.path===t.path&&e.hash!==t.hash)&&c.$nextTick((function(){return c.$emit("triggerScroll")})),new Promise((function(t){c.$once("triggerScroll",(function(){if(e.hash){var r=e.hash;void 0!==window.CSS&&void 0!==window.CSS.escape&&(r="#"+window.CSS.escape(r.substr(1)));try{document.querySelector(r)&&(n={selector:r})}catch(e){console.warn("Failed to save scroll position. Please add CSS.escape() polyfill (https://github.com/mathiasbynens/CSS.escape).")}}t(n)}))}))},routes:[{path:"/bgm",component:A,name:"bgm___ja"},{path:"/en",component:T,name:"index___en"},{path:"/messages",component:k,name:"messages___ja"},{path:"/new-flower",component:I,children:[{path:"",component:M,name:"new-flower___ja"},{path:"complete",component:R,name:"new-flower-complete___ja"},{path:"confirm",component:x,name:"new-flower-confirm___ja"}]},{path:"/view",component:B,name:"view___ja"},{path:"/en/bgm",component:A,name:"bgm___en"},{path:"/en/messages",component:k,name:"messages___en"},{path:"/en/new-flower",component:I,children:[{path:"",component:M,name:"new-flower___en"},{path:"complete",component:R,name:"new-flower-complete___en"},{path:"confirm",component:x,name:"new-flower-confirm___en"}]},{path:"/en/view",component:B,name:"view___en"},{path:"/",component:T,name:"index___ja"}],fallback:!1};function L(e,t){var base=t._app&&t._app.basePath||O.base,r=new w.a(C(C({},O),{},{base:base})),n=r.push;r.push=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:N,r=arguments.length>2?arguments[2]:void 0;return n.call(this,e,t,r)};var o=r.resolve.bind(r);return r.resolve=function(e,t,r){return"string"==typeof e&&(e=Object(_.c)(e)),o(e,t,r)},r}var P={name:"NuxtChild",functional:!0,props:{nuxtChildKey:{type:String,default:""},keepAlive:Boolean,keepAliveProps:{type:Object,default:void 0}},render:function(e,t){var r=t.parent,data=t.data,n=t.props,o=r.$createElement;data.nuxtChild=!0;for(var c=r,f=r.$nuxt.nuxt.transitions,h=r.$nuxt.nuxt.defaultTransition,l=0;r;)r.$vnode&&r.$vnode.data.nuxtChild&&l++,r=r.$parent;data.nuxtChildDepth=l;var d=f[l]||h,y={};D.forEach((function(e){void 0!==d[e]&&(y[e]=d[e])}));var m={};j.forEach((function(e){"function"==typeof d[e]&&(m[e]=d[e].bind(c))}));var v=m.beforeEnter;if(m.beforeEnter=function(e){if(window.$nuxt.$nextTick((function(){window.$nuxt.$emit("triggerScroll")})),v)return v.call(c,e)},!1===d.css){var w=m.leave;(!w||w.length<2)&&(m.leave=function(e,t){w&&w.call(c,e),c.$nextTick(t)})}var _=o("routerView",data);return n.keepAlive&&(_=o("keep-alive",{props:n.keepAliveProps},[_])),o("transition",{props:y,on:m},[_])}},D=["name","mode","appear","css","type","duration","enterClass","leaveClass","appearClass","enterActiveClass","enterActiveClass","leaveActiveClass","appearActiveClass","enterToClass","leaveToClass","appearToClass"],j=["beforeEnter","enter","afterEnter","enterCancelled","beforeLeave","leave","afterLeave","leaveCancelled","beforeAppear","appear","afterAppear","appearCancelled"],U={name:"NuxtError",props:{error:{type:Object,default:null}},computed:{statusCode:function(){return this.error&&this.error.statusCode||500},message:function(){return this.error.message||"Error"}},head:function(){return{title:this.message,meta:[{name:"viewport",content:"width=device-width,initial-scale=1.0,minimum-scale=1.0"}]}}},F=(r(621),r(2)),V=Object(F.a)(U,(function(){var e=this,t=e._self._c;return t("div",{staticClass:"__nuxt-error-page"},[t("div",{staticClass:"error"},[t("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"90",height:"90",fill:"#DBE1EC",viewBox:"0 0 48 48"}},[t("path",{attrs:{d:"M22 30h4v4h-4zm0-16h4v12h-4zm1.99-10C12.94 4 4 12.95 4 24s8.94 20 19.99 20S44 35.05 44 24 35.04 4 23.99 4zM24 40c-8.84 0-16-7.16-16-16S15.16 8 24 8s16 7.16 16 16-7.16 16-16 16z"}})]),e._v(" "),t("div",{staticClass:"title"},[e._v(e._s(e.message))]),e._v(" "),404===e.statusCode?t("p",{staticClass:"description"},[void 0===e.$route?t("a",{staticClass:"error-link",attrs:{href:"/"}}):t("NuxtLink",{staticClass:"error-link",attrs:{to:"/"}}
2,[e._v("Back to the home page")])],1):e._e(),e._v(" "),e._m(0)])])}),[function(){var e=this._self._c;return e("div",{staticClass:"logo"},[e("a",{attrs:{href:"https://nuxtjs.org",target:"_blank",rel:"noopener"}},[this._v("Nuxt")])])}],!1,null,null,null).exports,K=r(25),z=(r(134),{name:"Nuxt",components:{NuxtChild:P,NuxtError:V},props:{nuxtChildKey:{type:String,default:void 0},keepAlive:Boolean,keepAliveProps:{type:Object,default:void 0},name:{type:String,default:"default"}},errorCaptured:function(e){this.displayingNuxtError&&(this.errorFromNuxtError=e,this.$forceUpdate())},computed:{routerViewKey:function(){if(void 0!==this.nuxtChildKey||this.$route.matched.length>1)return this.nuxtChildKey||Object(E.c)(this.$route.matched[0].path)(this.$route.params);var e=Object(K.a)(this.$route.matched,1)[0];if(!e)return this.$route.path;var t=e.components.default;if(t&&t.options){var r=t.options;if(r.key)return"function"==typeof r.key?r.key(this.$route):r.key}return/\/$/.test(e.path)?this.$route.path:this.$route.path.replace(/\/$/,"")}},beforeCreate:function(){f.a.util.defineReactive(this,"nuxt",this.$root.$options.nuxt)},render:function(e){var t=this;return this.nuxt.err?this.errorFromNuxtError?(this.$nextTick((function(){return t.errorFromNuxtError=!1})),e("div",{},[e("h2","An error occurred while showing the error page"),e("p","Unfortunately an error occurred and while showing the error page another error occurred"),e("p","Error details: ".concat(this.errorFromNuxtError.toString())),e("nuxt-link",{props:{to:"/"}},"Go back to home")])):(this.displayingNuxtError=!0,this.$nextTick((function(){return t.displayingNuxtError=!1})),e(V,{props:{error:this.nuxt.err}})):e("NuxtChild",{key:this.routerViewKey,props:this.$props})}}),H=(r(51),r(57),r(52),r(58),r(93),{name:"NuxtLoading",data:function(){return{percent:0,show:!1,canSucceed:!0,reversed:!1,skipTimerCount:0,rtl:!1,throttle:200,duration:5e3,continuous:!1}},computed:{left:function(){return!(!this.continuous&&!this.rtl)&&(this.rtl?this.reversed?"0px":"auto":this.reversed?"auto":"0px")}},beforeDestroy:function(){this.clear()},methods:{clear:function(){clearInterval(this._timer),clearTimeout(this._throttle),this._timer=null},start:function(){var e=this;return this.clear(),this.percent=0,this.reversed=!1,this.skipTimerCount=0,this.canSucceed=!0,this.throttle?this._throttle=setTimeout((function(){return e.startTimer()}),this.throttle):this.startTimer(),this},set:function(e){return this.show=!0,this.canSucceed=!0,this.percent=Math.min(100,Math.max(0,Math.floor(e))),this},get:function(){return this.percent},increase:function(e){return this.percent=Math.min(100,Math.floor(this.percent+e)),this},decrease:function(e){return this.percent=Math.max(0,Math.floor(this.percent-e)),this},pause:function(){return clearInterval(this._timer),this},resume:function(){return this.startTimer(),this},finish:function(){return this.percent=this.reversed?0:100,this.hide(),this},hide:function(){var e=this;return this.clear(),setTimeout((function(){e.show=!1,e.$nextTick((function(){e.percent=0,e.reversed=!1}))}),500),this},fail:function(e){return this.canSucceed=!1,this},startTimer:function(){var e=this;this.show||(this.show=!0),void 0===this._cut&&(this._cut=1e4/Math.floor(this.duration)),this._timer=setInterval((function(){e.skipTimerCount>0?e.skipTimerCount--:(e.reversed?e.decrease(e._cut):e.increase(e._cut),e.continuous&&(e.percent>=100||e.percent<=0)&&(e.skipTimerCount=1,e.reversed=!e.reversed))}),100)}},render:function(e){var t=e(!1);return this.show&&(t=e("div",{staticClass:"nuxt-progress",class:{"nuxt-progress-notransition":this.skipTimerCount>0,"nuxt-progress-failed":!this.canSucceed},style:{width:this.percent+"%",left:this.left}})),t}}),G=(r(623),Object(F.a)(H,undefined,undefined,!1,null,null,null).exports),$=(r(625),r(627),r(562)),W=r(563),view=r(564);function Y(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(!e)return;if("string"==typeof e)return X(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return X(e,t)}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var i=0,n=function(){};return{s:n,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:n}}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,c=!0,f=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return c=e.done,e},e:function(e){f=!0,o=e},f:function(){try{c||null==r.return||r.return()}finally{if(f)throw o}}}}function X(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,r=new Array(t);i<t;i++)r[i]=e[i];return r}var J={_default:Object(E.s)($.a),_none:Object(E.s)(W.a),_view:Object(E.s)(view.a)}
2,Q={render:function(e,t){var r=e("NuxtLoading",{ref:"loading"}),n=e(this.layout||"nuxt"),o=e("div",{domProps:{id:"__layout"},key:this.layoutName},[n]),c=e("transition",{props:{name:"page",mode:"out-in"},on:{beforeEnter:function(e){window.$nuxt.$nextTick((function(){window.$nuxt.$emit("triggerScroll")}))}}},[o]);return e("div",{domProps:{id:"__nuxt"}},[r,c])},data:function(){return{isOnline:!0,layout:null,layoutName:"",nbFetching:0}},beforeCreate:function(){f.a.util.defineReactive(this,"nuxt",this.$options.nuxt)},created:function(){this.$root.$options.$nuxt=this,window.$nuxt=this,this.refreshOnlineStatus(),window.addEventListener("online",this.refreshOnlineStatus),window.addEventListener("offline",this.refreshOnlineStatus),this.error=this.nuxt.error,this.context=this.$options.context},mounted:function(){var e=this;return Object(o.a)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e.$loading=e.$refs.loading;case 1:case"end":return t.stop()}}),t)})))()},watch:{"nuxt.err":"errorChanged"},computed:{isOffline:function(){return!this.isOnline},isFetching:function(){return this.nbFetching>0},isPreview:function(){return Boolean(this.$options.previewData)}},methods:{refreshOnlineStatus:function(){void 0===window.navigator.onLine?this.isOnline=!0:this.isOnline=window.navigator.onLine},refresh:function(){var e=this;return Object(o.a)(regeneratorRuntime.mark((function t(){var r,n;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if((r=Object(E.h)(e.$route)).length){t.next=3;break}return t.abrupt("return");case 3:return e.$loading.start(),n=r.map((function(t){var p=[];if(t.$options.fetch&&t.$options.fetch.length&&p.push(Object(E.q)(t.$options.fetch,e.context)),t.$fetch)p.push(t.$fetch());else{var r,n=Y(Object(E.e)(t.$vnode.componentInstance));try{for(n.s();!(r=n.n()).done;){var component=r.value;p.push(component.$fetch())}}catch(e){n.e(e)}finally{n.f()}}return t.$options.asyncData&&p.push(Object(E.q)(t.$options.asyncData,e.context).then((function(e){for(var r in e)f.a.set(t.$data,r,e[r])}))),Promise.all(p)})),t.prev=5,t.next=8,Promise.all(n);case 8:t.next=15;break;case 10:t.prev=10,t.t0=t.catch(5),e.$loading.fail(t.t0),Object(E.k)(t.t0),e.error(t.t0);case 15:e.$loading.finish();case 16:case"end":return t.stop()}}),t,null,[[5,10]])})))()},errorChanged:function(){if(this.nuxt.err){this.$loading&&(this.$loading.fail&&this.$loading.fail(this.nuxt.err),this.$loading.finish&&this.$loading.finish());var e=(V.options||V).layout;"function"==typeof e&&(e=e(this.context)),this.setLayout(e)}},setLayout:function(e){return e&&J["_"+e]||(e="default"),this.layoutName=e,this.layout=J["_"+e],this.layout},loadLayout:function(e){return e&&J["_"+e]||(e="default"),Promise.resolve(J["_"+e])}},components:{NuxtLoading:G}};r(106),r(65);function Z(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(!e)return;if("string"==typeof e)return ee(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return ee(e,t)}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var i=0,n=function(){};return{s:n,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:n}}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,c=!0,f=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return c=e.done,e},e:function(e){f=!0,o=e},f:function(){try{c||null==r.return||r.return()}finally{if(f)throw o}}}}function ee(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,r=new Array(t);i<t;i++)r[i]=e[i];return r}f.a.use(h.a);var te=["state","getters","actions","mutations"],re={};re.modules=re.modules||{},ae(r(695),"state.ts"),ae(r(696),"flower/actions.ts"),ae(r(868),"flower/mutations.ts"),ae(r(869),"flower/state.ts"),ae(r(870),"form/actions.ts"),ae(r(871),"form/state.ts"),ae(r(872),"music/mutations.ts"),ae(r(873),"music/state.ts");var ne=re instanceof Function?re:function(){return new h.a.Store(Object.assign({strict:!1},re))};function ie(e,t){if(e.state&&"function"!=typeof e.state){console.warn("'state' should be a method that returns an object in ".concat(t));var r=Object.assign({},e.state);e=Object.assign({},e,{state:function(){return r}})}return e}function ae(e,t){e=e.default||e;var r=t.replace(/\.(js|mjs|ts)$/,"").split("/"),n=r[r.length-1],o="store/".concat(t);if(e="state"===n?function(e,t){if("function"!=typeof e){console.warn("".concat(t," should export a method that returns an object"));var r=Object.assign({},e);return function(){return r}}return ie(e,t)}(e,o):ie(e,o),te.includes(n)){var c=n;se(oe(re,r,{isProperty:!0}),e,c)}else{"index"===n&&(r.pop(),n=r[r.length-1]);var f,h=oe(re,r),l=Z(te);try{for(l.s();!(f=l.n()).done;){var d=f.value;se(h,e[d],d)}}catch(e){l.e(e)}finally{l.f()}!1===e.namespaced&&delete h.namespaced}}function oe(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=r.isProperty,o=void 0!==n&&n;if(!t.length||o&&1===t.length)return e;var c=t.shift();return e.modules[c]=e.modules[c]||{},e.modules[c].namespaced=!0,e.modules[c].modules=e.modules[c].modules||{},oe(e.modules[c],t,{isProperty:o})}function se(e,t,r){t&&("state"===r?e.state=t||e.state:e[r]=Object.assign({},e[r],t))}r(72);var ue=function(){return r.e(10).then(r.bind(null,1063)).then((function(e){return Pe(e.default||e)}))},ce=function(){return Promise.resolve().then(r.bind(null,568)).then((function(e){return Pe(e.default||e)}))},fe=function(){return r.e(4).then(r.bind(null,981)).then((function(e){return Pe(e.default||e)}))},he=function(){return Promise.resolve().then(r.bind(null,297)).then((function(e){return Pe(e.default||e)}))},le=function(){return Promise.resolve().then(r.bind(null,121)).then((function(e){return Pe(e.default||e)}))},de=function(){return Promise.resolve().then(r.bind(null,566)).then((function(e){return Pe(e.default||e)}))},pe=function(){return Promise.resolve().then(r.bind(null,567)).then((function(e){return Pe(e.default||e)}))},ge=function(){return Promise.resolve().then(r.bind(null,470)).then((function(e){return Pe(e.default||e)}))},ye=function(){return Promise.resolve().then(r.bind(null,50)).then((function(e){return Pe(e.default||e)}))},me=function(){return Promise.resolve().then(r.bind(null,902)).then((function(e){return Pe(e.default||e)}))},ve=function(){return r.e(3).then(r.bind(null,924)).then((function(e){return Pe(e.default||e)}))},be=function(){return Promise.resolve().then(r.bind(null,905)).then((function(e){return Pe(e.default||e)}))},we=function(){return r.e(0).then(r.bind(null,1052)).then((function(e){return Pe(e.default||e)}))},_e=function(){return Promise.resolve().then(r.bind(null,906)).then((function(e){return Pe(e.default||e)}))},Ee=function(){return Promise.resolve().then(r.bind(null,75)).then((function(e){return Pe(e.default||e)}))},Se=function(){return Promise.resolve().then(r.bind(null,83)).then((function(e){return Pe(e.default||e)}))},Ce=function(){return Promise.resolve().then(r.bind(null,471)).then((function(e){return Pe(e.default||e)}))},Ae=function(){return Promise.resolve().then(r.bind(null,296)).then((function(e){return Pe(e.default||e)}))},Te=function(){return Promise.resolve().then(r.bind(null,469)).then((function(e){return Pe(e.default||e)}))},ke=function(){return Promise.resolve().then(r.bind(null,299)).then((function(e){return Pe(e.default||e)}))},Ie=function(){return Promise.resolve().then(r.bind(null,298)).then((function(e){return Pe(e.default||e)}))},Me=function(){return r.e(6).then(r.bind(null,982)).then((function(e){return Pe(e.default||e)}))},Re=function(){return r.e(7).then(r.bind(null,986)).then((function(e){return Pe(e.default||e)}))},xe=function(){return r.e(8).then(r.bind(null,985)).then((function(e){return Pe(e.default||e)}))},Be=function(){return r.e(9).then(r.bind(null,984)).then((function(e){return Pe(e.default||e)}))},Ne=function(){return Promise.resolve().then(r.bind(null,903)).then((function(e){return Pe(e.default||e)}))},Oe=function(){return Promise.resolve().then(r.bind(null,904)).then((function(e){return Pe(e.default||e)}))},Le=function(){return r.e(5).then(r.bind(null,983)).then((function(e){return Pe(e.default||e)}))};function Pe(e){if(!e||!e.functional)return e;var t=Array.isArray(e.props)?e.props:Object.keys(e.props||{});return{render:function(r){var n={},o={};for(var c in this.$attrs)t.includes(c)?o[c]=this.$attrs[c]:n[c]=this.$attrs[c];return r(e,{on:this.$listeners,attrs:n,props:o,scopedSlots:this.$scopedSlots},this.$slots.default)}}}for(var De in n)f.a.component(De,n[De]),f.a.component("Lazy"+De,n[De]);r(107),r(60);var je="dataLayer",Ue="GTM-TZVLK3K";var Fe=function(e,t){var r="GTM-TZVLK3K",n=(e.$config&&e.$config.gtm||{}).id,o=function(e,t){return{init:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ue;!t[e]&&window._gtm_inject&&(window._gtm_inject(e),t[e]=!0)},push:function(e){window[je]||(window[je]=[]),window[je].push(e)}}}(0,Object(c.a)({},r,!0));n&&n!==r&&o.init(n),e.$gtm=o,t("gtm",e.$gtm),function(e){e.app.router.afterEach((function(t){setTimeout((function(){e.$gtm.push(t.gtm||{routeName:t.name,pageType:"PageView",pageUrl:""+t.fullPath,pageTitle:"undefined"!=typeof document&&document.title||"",event:"nuxtRoute"})}),250)}))}(e)},qe=r(44),Ve=(r(231),r(84)),Ke={COMPONENT_OPTIONS_KEY:"nuxtI18n",STRATEGIES:{PREFIX:"prefix",PREFIX_EXCEPT_DEFAULT:"prefix_except_default",PREFIX_AND_DEFAULT:"prefix_and_default",NO_PREFIX:"no_prefix"},REDIRECT_ON_OPTIONS:{ALL:"all",ROOT:"root",NO_PREFIX:"no prefix"}},ze=!1,He=void 0,Ge={vueI18n:{}
2,vueI18nLoader:!0,locales:["ja","en"],defaultLocale:"ja",defaultDirection:"ltr",routesNameSeparator:"___",defaultLocaleRouteNameSuffix:"default",sortRoutes:!0,strategy:"prefix_except_default",lazy:!1,langDir:null,rootRedirect:null,detectBrowserLanguage:{alwaysRedirect:!1,cookieCrossOrigin:!1,cookieDomain:null,cookieKey:"i18n_redirected",cookieSecure:!1,fallbackLocale:"",redirectOn:"root",useCookie:!0},differentDomains:!1,baseUrl:"https://offering-flower.com/",vuex:{moduleName:"i18n",syncRouteParams:!0},parsePages:!0,pages:{},skipSettingLocaleOnNavigate:!0,onBeforeLanguageSwitch:function(){},onLanguageSwitched:function(){return null},normalizedLocales:[{code:"ja"},{code:"en"}],localeCodes:["ja","en"],additionalMessages:[]},$e=(r(874),r(333),r(235),r(172),r(878),r(293)),We=r.n($e);function Ye(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(!e)return;if("string"==typeof e)return Xe(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Xe(e,t)}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var i=0,n=function(){};return{s:n,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:n}}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,c=!0,f=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return c=e.done,e},e:function(e){f=!0,o=e},f:function(){try{c||null==r.return||r.return()}finally{if(f)throw o}}}}function Xe(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,r=new Array(t);i<t;i++)r[i]=e[i];return r}function Je(text){return"[@nuxtjs/i18n] ".concat(text)}function Qe(e,t){var r,n=[],o=[],c=Ye(e);try{for(c.s();!(r=c.n()).done;){var f=r.value,code=f.code,h=f.iso||code;o.push({code:code,iso:h})}}catch(e){c.e(e)}finally{c.f()}var l,d=Ye(t.entries());try{var y=function(){var e=Object(K.a)(l.value,2),r=e[0],c=e[1],f=o.find((function(e){return e.iso.toLowerCase()===c.toLowerCase()}));if(f)return n.push({code:f.code,score:1-r/t.length}),"break"};for(d.s();!(l=d.n()).done;){if("break"===y())break}}catch(e){d.e(e)}finally{d.f()}var m,v=Ye(t.entries());try{var w=function(){var e=Object(K.a)(m.value,2),r=e[0],c=e[1].split("-")[0].toLowerCase(),f=o.find((function(e){return e.iso.split("-")[0].toLowerCase()===c}));if(f)return n.push({code:f.code,score:.999-r/t.length}),"break"};for(v.s();!(m=v.n()).done;){if("break"===w())break}}catch(e){v.e(e)}finally{v.f()}return n.length>1&&n.sort((function(e,t){return e.score===t.score?t.code.length-e.code.length:t.score-e.score})),n.length?n[0].code:void 0}function Ze(e,t){var r;if(r=window.location.host){var n=e.find((function(e){return e.domain===r}));if(n)return n.code}return""}function et(e){return new RegExp("^/(".concat(e.join("|"),")(?:/|$)"))}function tt(e,t){var r=t.routesNameSeparator,n=t.defaultLocaleRouteNameSuffix,o="(".concat(e.join("|"),")"),c="(?:".concat(r).concat(n,")?"),f=new RegExp("".concat(r).concat(o).concat(c,"$")),h=et(e);return function(e){if(e.name){var t=e.name.match(f);if(t&&t.length>1)return t[1]}else if(e.path){var r=e.path.match(h);if(r&&r.length>1)return r[1]}return""}}function nt(e,t){var r,n=t.useCookie,o=t.cookieKey,c=t.localeCodes;if(n&&((r=We.a.get(o))&&c.includes(r)))return r}function it(e,t,r){var n=r.useCookie,o=r.cookieDomain,c=r.cookieKey,f=r.cookieSecure,h=r.cookieCrossOrigin;if(n){var l=new Date,d={expires:new Date(l.setDate(l.getDate()+365)),path:"/",sameSite:h?"none":"lax",secure:h||f};o&&(d.domain=o),We.a.set(c,e,d)}}function at(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(!e)return;if("string"==typeof e)return ot(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return ot(e,t)}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var i=0,n=function(){};return{s:n,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:n}}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,c=!0,f=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return c=e.done,e},e:function(e){f=!0,o=e},f:function(){try{c||null==r.return||r.return()}finally{if(f)throw o}}}}function ot(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,r=new Array(t);i<t;i++)r[i]=e[i];return r}function st(object,e){var t=Object.keys(object);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(object);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(object,e).enumerable}))),t.push.apply(t,r)}return t}function ut(e){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};
2i%2?st(Object(source),!0).forEach((function(t){Object(c.a)(e,t,source[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(source)):st(Object(source)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(source,t))}))}return e}function ct(e,t){return ft.apply(this,arguments)}function ft(){return(ft=Object(o.a)(regeneratorRuntime.mark((function e(t,r){var n,o,c;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n=t.app,(o=n.i18n).loadedLanguages||(o.loadedLanguages=[]),o.loadedLanguages.includes(r)||((c=Ge.normalizedLocales.find((function(e){return e.code===r})))?c.file||console.warn(Je("Could not find lang file for locale ".concat(r))):console.warn(Je('Attempted to load messages for non-existant locale code "'.concat(r,'"'))));case 4:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function ht(e,t,r,n){var o=n.differentDomains,c=n.normalizedLocales;if("function"==typeof e)return e(t);if(o&&r){var f=lt(r,t.req,{normalizedLocales:c});if(f)return f}return e}function lt(e,t,r){var n,o=r.normalizedLocales.find((function(t){return t.code===e}));if(o&&o.domain)return Object(Ve.hasProtocol)(o.domain)?o.domain:(n=window.location.protocol.split(":")[0],"".concat(n,"://").concat(o.domain));console.warn(Je("Could not find domain name for locale ".concat(e)))}function pt(e,t,r){var n={namespaced:!0,state:function(){return ut({},t.syncRouteParams?{routeParams:{}}:{})},actions:ut({},t.syncRouteParams?{setRouteParams:function(e,t){(0,e.commit)("setRouteParams",t)}}:{}),mutations:ut({},t.syncRouteParams?{setRouteParams:function(e,t){e.routeParams=t}}:{}),getters:ut({},t.syncRouteParams?{localeRouteParams:function(e){var t=e.routeParams;return function(e){return t&&t[e]||{}}}}:{})};e.registerModule(t.moduleName,n,{preserveState:!!e.state[t.moduleName]})}function gt(e,t,r,n){var o,c=n||r,f=at(t);try{for(f.s();!(o=f.n()).done;){var h,l=o.value,d=at(c);try{for(d.s();!(h=d.n()).done;){var y=h.value,m=e.getLocaleMessage(y);e.mergeLocaleMessage(y,l[y]),e.mergeLocaleMessage(y,m)}}catch(e){d.e(e)}finally{d.f()}}}catch(e){f.e(e)}finally{f.f()}}var yt=r(565),mt=r(147),vt=function(){var e=Object(o.a)(regeneratorRuntime.mark((function e(t){var r,n,o,c,f,h,l;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=t.app,!t.isHMR){e.next=3;break}return e.abrupt("return");case 3:return e.next=5,r.i18n.__onNavigate(t.route);case 5:n=e.sent,o=Object(K.a)(n,3),c=o[0],f=o[1],h=o[2],c&&f&&(l=h?t.route.query:void 0,t.redirect(c,f,l));case 11:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();mt.a.nuxti18n=vt;var bt=["params"];function wt(object,e){var t=Object.keys(object);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(object);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(object,e).enumerable}))),t.push.apply(t,r)}return t}function _t(e){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?wt(Object(source),!0).forEach((function(t){Object(c.a)(e,t,source[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(source)):wt(Object(source)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(source,t))}))}return e}function Et(e,t){var r=At.call(this,e,t);return r?r.route.redirectedFrom||r.route.fullPath:""}function St(e,t){var r=At.call(this,e,t);return r?r.route:void 0}function Ct(e,t){var r=At.call(this,e,t);return r?r.location:void 0}function At(e,t){if(e){var r=this.i18n;if(t=t||r.locale){"string"==typeof e&&(e="/"===e[0]?{path:e}:{name:e});var n=Object.assign({},e);if(n.path&&!n.name){var o=this.router.resolve(n).route,c=this.getRouteBaseName(o);if(c)n={name:It(c,t),params:o.params,query:o.query,hash:o.hash};else!(t===Ge.defaultLocale&&[Ke.STRATEGIES.PREFIX_EXCEPT_DEFAULT,Ke.STRATEGIES.PREFIX_AND_DEFAULT].includes(Ge.strategy)||Ge.strategy===Ke.STRATEGIES.NO_PREFIX||r.differentDomains)&&(n.path="/".concat(t).concat(n.path)),n.path=He?Object(Ve.withTrailingSlash)(n.path,!0):Object(Ve.withoutTrailingSlash)(n.path,!0)}else{n.name||n.path||(n.name=this.getRouteBaseName()),n.name=It(n.name,t);var f=n.params;f&&void 0===f[0]&&f.pathMatch&&(f[0]=f.pathMatch)}var h=this.router.resolve(n);return h.route.name?h:this.router.resolve(e)}}}function Tt(e){var t=this.getRouteBaseName();if(!t)return"";var r=this.i18n,n=this.route,o=this.store,c=n.params,f=Object(yt.a)(n,bt),h={};
2Ge.vuex&&Ge.vuex.syncRouteParams&&o&&(h=o.getters["".concat(Ge.vuex.moduleName,"/localeRouteParams")](e));var l=Object.assign({},f,{name:t,params:_t(_t(_t({},c),h),{},{0:c.pathMatch})}),path=this.localePath(l,e);if(r.differentDomains){var d={differentDomains:r.differentDomains,normalizedLocales:Ge.normalizedLocales},y=lt(e,this.req,d);y&&(path=y+path)}return path}function kt(e){var t=void 0!==e?e:this.route;if(t&&t.name)return t.name.split(Ge.routesNameSeparator)[0]}function It(e,t){var r=e+(Ge.strategy===Ke.STRATEGIES.NO_PREFIX?"":Ge.routesNameSeparator+t);return t===Ge.defaultLocale&&Ge.strategy===Ke.STRATEGIES.PREFIX_AND_DEFAULT&&(r+=Ge.routesNameSeparator+Ge.defaultLocaleRouteNameSuffix),r}var Mt=function(e){return function(){var t={getRouteBaseName:this.getRouteBaseName,i18n:this.$i18n,localePath:this.localePath,localeRoute:this.localeRoute,localeLocation:this.localeLocation,req:null,route:this.$route,router:this.$router,store:this.$store};return e.call.apply(e,[t].concat(Array.prototype.slice.call(arguments)))}},Rt=function(e,t){return function(){var r=e.app,n=(e.req,e.route),o=e.store,c={getRouteBaseName:r.getRouteBaseName,i18n:r.i18n,localePath:r.localePath,localeLocation:r.localeLocation,localeRoute:r.localeRoute,req:null,route:n,router:r.router,store:o};return t.call.apply(t,[c].concat(Array.prototype.slice.call(arguments)))}},xt={install:function(e){e.mixin({methods:{localePath:Mt(Et),localeRoute:Mt(St),localeLocation:Mt(Ct),switchLocalePath:Mt(Tt),getRouteBaseName:Mt(kt)}})}},Bt=function(e){f.a.use(xt);var t=e.app,r=e.store;t.localePath=e.localePath=Rt(e,Et),t.localeRoute=e.localeRoute=Rt(e,St),t.localeLocation=e.localeLocation=Rt(e,Ct),t.switchLocalePath=e.switchLocalePath=Rt(e,Tt),t.getRouteBaseName=e.getRouteBaseName=Rt(e,kt),r&&(r.localePath=t.localePath,r.localeRoute=t.localeRoute,r.localeLocation=t.localeLocation,r.switchLocalePath=t.switchLocalePath,r.getRouteBaseName=t.getRouteBaseName)},Nt=(r(233),["compactDisplay","currency","currencyDisplay","currencySign","localeMatcher","notation","numberingSystem","signDisplay","style","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits"]);function Ot(e,t){"undefined"!=typeof console&&(console.warn("[vue-i18n] "+e),t&&console.warn(t.stack))}var Lt=Array.isArray;function Pt(e){return null!==e&&"object"==typeof e}function Dt(e){return"string"==typeof e}var jt=Object.prototype.toString;function Ut(e){return"[object Object]"===jt.call(e)}function Ft(e){return null==e}function qt(e){return"function"==typeof e}function Vt(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var r=null,n=null;return 1===e.length?Pt(e[0])||Lt(e[0])?n=e[0]:"string"==typeof e[0]&&(r=e[0]):2===e.length&&("string"==typeof e[0]&&(r=e[0]),(Pt(e[1])||Lt(e[1]))&&(n=e[1])),{locale:r,params:n}}function Kt(e){return JSON.parse(JSON.stringify(e))}function zt(e,t){return!!~e.indexOf(t)}var Ht=Object.prototype.hasOwnProperty;function Gt(e,t){return Ht.call(e,t)}function $t(e){for(var t=arguments,output=Object(e),i=1;i<arguments.length;i++){var source=t[i];if(null!=source){var r=void 0;for(r in source)Gt(source,r)&&(Pt(source[r])?output[r]=$t(output[r],source[r]):output[r]=source[r])}}return output}function Wt(a,b){if(a===b)return!0;var e=Pt(a),t=Pt(b);if(!e||!t)return!e&&!t&&String(a)===String(b);try{var r=Lt(a),n=Lt(b);if(r&&n)return a.length===b.length&&a.every((function(e,i){return Wt(e,b[i])}));if(r||n)return!1;var o=Object.keys(a),c=Object.keys(b);return o.length===c.length&&o.every((function(e){return Wt(a[e],b[e])}))}catch(e){return!1}}function Yt(e){return null!=e&&Object.keys(e).forEach((function(t){"string"==typeof e[t]&&(e[t]=e[t].replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'"))})),e}var Xt={name:"i18n",functional:!0,props:{tag:{type:[String,Boolean,Object],default:"span"},path:{type:String,required:!0},locale:{type:String},places:{type:[Array,Object]}},render:function(e,t){var data=t.data,r=t.parent,n=t.props,o=t.slots,c=r.$i18n;if(c){var path=n.path,f=n.locale,h=n.places,l=o(),d=c.i(path,f,function(e){var t;for(t in e)if("default"!==t)return!1;return Boolean(t)}(l)||h?function(e,t){var r=t?function(e){0;return Array.isArray(e)?e.reduce(Qt,{}):Object.assign({},e)}(t):{};if(!e)return r;var n=(e=e.filter((function(e){return e.tag||""!==e.text.trim()}))).every(Zt);0;return e.reduce(n?Jt:Qt,r)}(l.default,h):l),y=n.tag&&!0!==n.tag||!1===n.tag?n.tag:"span";return y?e(y,data,d):d}}};function Jt(e,t){return t.data&&t.data.attrs&&t.data.attrs.place&&(e[t.data.attrs.place]=t),e}function Qt(e,t,r){return e[r]=t,e}function Zt(e){return Boolean(e.data&&e.data.attrs&&e.data.attrs.place)}var er,rr={name:"i18n-n",functional:!0,props:{tag:{type:[String,Boolean,Object],default:"span"},value:{type:Number,required:!0},format:{type:[String,Object]},locale:{type:String}},render:function(e,t){var r=t.props,n=t.parent,data=t.data,o=n.$i18n;if(!o)return null;var c=null,f=null;Dt(r.format)?c=r.format:Pt(r.format)&&(r.format.key&&(c=r.format.key),f=Object.keys(r.format).reduce((function(e,t){var n;return zt(Nt,t)?Object.assign({},e,((n={})[t]=r.format[t],n)):e}),null));var h=r.locale||o.locale,l=o._ntp(r.value,h,c,f),d=l.map((function(e,t){var r,slot=data.scopedSlots&&data.scopedSlots[e.type];return slot?slot(((r={})[e.type]=e.value,r.index=t,r.parts=l,r)):e.value})),y=r.tag&&!0!==r.tag||!1===r.tag?r.tag:"span";return y?e(y,{attrs:data.attrs,class:data.class,staticClass:data.staticClass},d):d}};function nr(e,t,r){or(e,r)&&sr(e,t,r)}function ir(e,t,r,n){if(or(e,r)){var o=r.context.$i18n;(function(e,t){var r=t.context;return e._locale===r.$i18n.locale})(e,r)&&Wt(t.value,t.oldValue)&&Wt(e._localeMessage,o.getLocaleMessage(o.locale))||sr(e,t,r)}}function ar(e,t,r,n){if(r.context){var o=r.context.$i18n||{};t.modifiers.preserve||o.preserveDirectiveContent||(e.textContent=""),e._vt=void 0,delete e._vt,e._locale=void 0,delete e._locale,e._localeMessage=void 0,delete e._localeMessage}else Ot("Vue instance does not exists in VNode context")}function or(e,t){var r=t.context;return r?!!r.$i18n||(Ot("VueI18n instance does not exists in Vue instance"),!1):(Ot("Vue instance does not exists in VNode context"),!1)}function sr(e,t,r){var n,o,c=function(e){var path,t,r,n;Dt(e)?path=e:Ut(e)&&(path=e.path,t=e.locale,r=e.args,n=e.choice);return{path:path,locale:t,args:r,choice:n}}(t.value),path=c.path,f=c.locale,h=c.args,l=c.choice;if(path||f||h)if(path){var d=r.context;e._vt=e.textContent=null!=l?(n=d.$i18n).tc.apply(n,[path,l].concat(ur(f,h))):(o=d.$i18n).t.apply(o,[path].concat(ur(f,h))),e._locale=d.$i18n.locale,e._localeMessage=d.$i18n.getLocaleMessage(d.$i18n.locale)}else Ot("`path` is required in v-t directive");else Ot("value type not supported")}function ur(e,t){var r=[];return e&&r.push(e),t&&(Array.isArray(t)||Ut(t))&&r.push(t),r}function cr(e,t){void 0===t&&(t={bridge:!1}),cr.installed=!0;(er=e).version&&Number(er.version.split(".")[0]);(function(e){e.prototype.hasOwnProperty("$i18n")||Object.defineProperty(e.prototype,"$i18n",{get:function(){return this._i18n}}),e.prototype.$t=function(e){for(var t=[],r=arguments.length-1;r-- >0;)t[r]=arguments[r+1];var n=this.$i18n;return n._t.apply(n,[e,n.locale,n._getMessages(),this].concat(t))},e.prototype.$tc=function(e,t){for(var r=[],n=arguments.length-2;n-- >0;)r[n]=arguments[n+2];var o=this.$i18n;return o._tc.apply(o,[e,o.locale,o._getMessages(),this,t].concat(r))},e.prototype.$te=function(e,t){var r=this.$i18n;return r._te(e,r.locale,r._getMessages(),t)},e.prototype.$d=function(e){for(var t,r=[],n=arguments.length-1;n-- >0;)r[n]=arguments[n+1];return(t=this.$i18n).d.apply(t,[e].concat(r))},e.prototype.$n=function(e){for(var t,r=[],n=arguments.length-1;n-- >0;)r[n]=arguments[n+1];return(t=this.$i18n).n.apply(t,[e].concat(r))}})(er),er.mixin(function(e){function t(){this!==this.$root&&this.$options.__INTLIFY_META__&&this.$el&&this.$el.setAttribute("data-intlify",this.$options.__INTLIFY_META__)}return void 0===e&&(e=!1),e?{mounted:t}:{beforeCreate:function(){var e=this.$options;if(e.i18n=e.i18n||(e.__i18nBridge||e.__i18n?{}:null),e.i18n){if(e.i18n instanceof kr){if(e.__i18nBridge||e.__i18n)try{var t=e.i18n&&e.i18n.messages?e.i18n.messages:{};
vendor: 16,060 bytes, line 2
2(e.__i18nBridge||e.__i18n).forEach((function(e){t=$t(t,JSON.parse(e))})),Object.keys(t).forEach((function(r){e.i18n.mergeLocaleMessage(r,t[r])}))}catch(e){}this._i18n=e.i18n,this._i18nWatcher=this._i18n.watchI18nData()}else if(Ut(e.i18n)){var r=this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof kr?this.$root.$i18n:null;if(r&&(e.i18n.root=this.$root,e.i18n.formatter=r.formatter,e.i18n.fallbackLocale=r.fallbackLocale,e.i18n.formatFallbackMessages=r.formatFallbackMessages,e.i18n.silentTranslationWarn=r.silentTranslationWarn,e.i18n.silentFallbackWarn=r.silentFallbackWarn,e.i18n.pluralizationRules=r.pluralizationRules,e.i18n.preserveDirectiveContent=r.preserveDirectiveContent),e.__i18nBridge||e.__i18n)try{var n=e.i18n&&e.i18n.messages?e.i18n.messages:{};(e.__i18nBridge||e.__i18n).forEach((function(e){n=$t(n,JSON.parse(e))})),e.i18n.messages=n}catch(e){}var o=e.i18n.sharedMessages;o&&Ut(o)&&(e.i18n.messages=$t(e.i18n.messages,o)),this._i18n=new kr(e.i18n),this._i18nWatcher=this._i18n.watchI18nData(),(void 0===e.i18n.sync||e.i18n.sync)&&(this._localeWatcher=this.$i18n.watchLocale()),r&&r.onComponentInstanceCreated(this._i18n)}}else this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof kr?this._i18n=this.$root.$i18n:e.parent&&e.parent.$i18n&&e.parent.$i18n instanceof kr&&(this._i18n=e.parent.$i18n)},beforeMount:function(){var e=this.$options;e.i18n=e.i18n||(e.__i18nBridge||e.__i18n?{}:null),e.i18n?(e.i18n instanceof kr||Ut(e.i18n))&&(this._i18n.subscribeDataChanging(this),this._subscribing=!0):(this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof kr||e.parent&&e.parent.$i18n&&e.parent.$i18n instanceof kr)&&(this._i18n.subscribeDataChanging(this),this._subscribing=!0)},mounted:t,beforeDestroy:function(){if(this._i18n){var e=this;this.$nextTick((function(){e._subscribing&&(e._i18n.unsubscribeDataChanging(e),delete e._subscribing),e._i18nWatcher&&(e._i18nWatcher(),e._i18n.destroyVM(),delete e._i18nWatcher),e._localeWatcher&&(e._localeWatcher(),delete e._localeWatcher)}))}}}}(t.bridge)),er.directive("t",{bind:nr,update:ir,unbind:ar}),er.component(Xt.name,Xt),er.component(rr.name,rr),er.config.optionMergeStrategies.i18n=function(e,t){return void 0===t?e:t}}var fr=function(){this._caches=Object.create(null)};fr.prototype.interpolate=function(e,t){if(!t)return[e];var r=this._caches[e];return r||(r=function(e){var t=[],r=0,text="";for(;r<e.length;){var n=e[r++];if("{"===n){text&&t.push({type:"text",value:text}),text="";var sub="";for(n=e[r++];void 0!==n&&"}"!==n;)sub+=n,n=e[r++];var o="}"===n,c=lr.test(sub)?"list":o&&dr.test(sub)?"named":"unknown";t.push({value:sub,type:c})}else"%"===n?"{"!==e[r]&&(text+=n):text+=n}return text&&t.push({type:"text",value:text}),t}(e),this._caches[e]=r),function(e,t){var r=[],n=0,o=Array.isArray(t)?"list":Pt(t)?"named":"unknown";if("unknown"===o)return r;for(;n<e.length;){var c=e[n];switch(c.type){case"text":r.push(c.value);break;case"list":r.push(t[parseInt(c.value,10)]);break;case"named":"named"===o&&r.push(t[c.value])}n++}return r}(r,t)};var lr=/^(?:\d)+/,dr=/^(?:\w)+/;var pr=[];pr[0]={ws:[0],ident:[3,0],"[":[4],eof:[7]},pr[1]={ws:[1],".":[2],"[":[4],eof:[7]},pr[2]={ws:[2],ident:[3,0],0:[3,0],number:[3,0]},pr[3]={ident:[3,0],0:[3,0],number:[3,0],ws:[1,1],".":[2,1],"[":[4,1],eof:[7,1]},pr[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],eof:8,else:[4,0]},pr[5]={"'":[4,0],eof:8,else:[5,0]},pr[6]={'"':[4,0],eof:8,else:[6,0]};var gr=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function yr(e){if(null==e)return"eof";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"ident";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"ws"}return"ident"}function mr(path){var e,a,t,r=path.trim();return("0"!==path.charAt(0)||!isNaN(path))&&(t=r,gr.test(t)?(a=(e=r).charCodeAt(0))!==e.charCodeAt(e.length-1)||34!==a&&39!==a?e:e.slice(1,-1):"*"+r)}var vr=function(){this._cache=Object.create(null)};vr.prototype.parsePath=function(path){var e=this._cache[path];return e||(e=function(path){var e,t,r,n,o,c,f,h=[],l=-1,d=0,y=0,m=[];function v(){var e=path[l+1];if(5===d&&"'"===e||6===d&&'"'===e)return l++,r="\\"+e,m[0](),!0}for(m[1]=function(){void 0!==t&&(h.push(t),t=void 0)},m[0]=function(){void 0===t?t=r:t+=r},m[2]=function(){m[0](),y++},m[3]=function(){if(y>0)y--,d=4,m[0]();else{if(y=0,void 0===t)return!1;if(!1===(t=mr(t)))return!1;m[1]()}};null!==d;)if(l++,"\\"!==(e=path[l])||!v()){if(n=yr(e),8===(o=(f=pr[d])[n]||f.else||8))return;if(d=o[0],(c=m[o[1]])&&(r=void 0===(r=o[2])?e:r,!1===c()))return;if(7===d)return h}}(path),e&&(this._cache[path]=e)),e||[]},vr.prototype.getPathValue=function(e,path){if(!Pt(e))return null;var t=this.parsePath(path);if(0===t.length)return null;for(var r=t.length,n=e,i=0;i<r;){var o=n[t[i]];if(null==o)return null;n=o,i++}return n};var wr,_r=/<\/?[\w\s="/.':;#-\/]+>/,Er=/(?:@(?:\.[a-zA-Z]+)?:(?:[\w\-_|./]+|\([\w\-_:|./]+\)))/g,Sr=/^@(?:\.([a-zA-Z]+))?:/,Cr=/[()]/g,Ar={upper:function(e){return e.toLocaleUpperCase()},lower:function(e){return e.toLocaleLowerCase()},capitalize:function(e){return""+e.charAt(0).toLocaleUpperCase()+e.substr(1)}},Tr=new fr,kr=function(e){var t=this;void 0===e&&(e={}),!er&&"undefined"!=typeof window&&window.Vue&&cr(window.Vue);var r=e.locale||"en-US",n=!1!==e.fallbackLocale&&(e.fallbackLocale||"en-US"),o=e.messages||{},c=e.dateTimeFormats||e.datetimeFormats||{},f=e.numberFormats||{};this._vm=null,this._formatter=e.formatter||Tr,this._modifiers=e.modifiers||{},this._missing=e.missing||null,this._root=e.root||null,this._sync=void 0===e.sync||!!e.sync,this._fallbackRoot=void 0===e.fallbackRoot||!!e.fallbackRoot,this._fallbackRootWithEmptyString=void 0===e.fallbackRootWithEmptyString||!!e.fallbackRootWithEmptyString,this._formatFallbackMessages=void 0!==e.formatFallbackMessages&&!!e.formatFallbackMessages,this._silentTranslationWarn=void 0!==e.silentTranslationWarn&&e.silentTranslationWarn,this._silentFallbackWarn=void 0!==e.silentFallbackWarn&&!!e.silentFallbackWarn,this._dateTimeFormatters={},this._numberFormatters={},this._path=new vr,this._dataListeners=new Set,this._componentInstanceCreatedListener=e.componentInstanceCreatedListener||null,this._preserveDirectiveContent=void 0!==e.preserveDirectiveContent&&!!e.preserveDirectiveContent,this.pluralizationRules=e.pluralizationRules||{},this._warnHtmlInMessage=e.warnHtmlInMessage||"off",this._postTranslation=e.postTranslation||null,this._escapeParameterHtml=e.escapeParameterHtml||!1,"__VUE_I18N_BRIDGE__"in e&&(this.__VUE_I18N_BRIDGE__=e.__VUE_I18N_BRIDGE__),this.getChoiceIndex=function(e,r){var n=Object.getPrototypeOf(t);if(n&&n.getChoiceIndex)return n.getChoiceIndex.call(t,e,r);var o,c;return t.locale in t.pluralizationRules?t.pluralizationRules[t.locale].apply(t,[e,r]):(o=e,c=r,o=Math.abs(o),2===c?o?o>1?1:0:1:o?Math.min(o,2):0)},this._exist=function(e,r){return!(!e||!r)&&(!Ft(t._path.getPathValue(e,r))||!!e[r])},"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||Object.keys(o).forEach((function(e){t._checkLocaleMessage(e,t._warnHtmlInMessage,o[e])})),this._initVM({locale:r,fallbackLocale:n,messages:o,dateTimeFormats:c,numberFormats:f})},Ir={vm:{configurable:!0},messages:{configurable:!0},dateTimeFormats:{configurable:!0},numberFormats:{configurable:!0},availableLocales:{configurable:!0},locale:{configurable:!0},fallbackLocale:{configurable:!0},formatFallbackMessages:{configurable:!0},missing:{configurable:!0},formatter:{configurable:!0},silentTranslationWarn:{configurable:!0},silentFallbackWarn:{configurable:!0},preserveDirectiveContent:{configurable:!0},warnHtmlInMessage:{configurable:!0},postTranslation:{configurable:!0},sync:{configurable:!0}};kr.prototype._checkLocaleMessage=function(e,t,r){var n=function(e,t,r,o){if(Ut(r))Object.keys(r).forEach((function(c){var f=r[c];Ut(f)?(o.push(c),o.push("."),n(e,t,f,o),o.pop(),o.pop()):(o.push(c),n(e,t,f,o),o.pop())}));else if(Lt(r))r.forEach((function(r,c){Ut(r)?(o.push("["+c+"]"),o.push("."),n(e,t,r,o),o.pop(),o.pop()):(o.push("["+c+"]"),n(e,t,r,o),o.pop())}));else if(Dt(r)){if(_r.test(r)){var c="Detected HTML in message '"+r+"' of keypath '"+o.join("")+"' at '"+t+"'. Consider component interpolation with '<i18n>' to avoid XSS. See https://bit.ly/2ZqJzkp";"warn"===e?Ot(c):"error"===e&&function(e,t){"undefined"!=typeof console&&(console.error("[vue-i18n] "+e),t&&console.error(t.stack))}(c)}}};n(t,e,r,[])},kr.prototype._initVM=function(data){var e=er.config.silent;er.config.silent=!0,this._vm=new er({data:data,__VUE18N__INSTANCE__:!0}),er.config.silent=e},kr.prototype.destroyVM=function(){this._vm.$destroy()},kr.prototype.subscribeDataChanging=function(e){this._dataListeners.add(e)},kr.prototype.unsubscribeDataChanging=function(e){!function(e,t){if(e.delete(t));}(this._dataListeners,e)},kr.prototype.watchI18nData=function(){var e=this;return this._vm.$watch("$data",(function(){for(var t,r,n=(t=e._dataListeners,r=[],t.forEach((function(a){return r.push(a)})),r),i=n.length;i--;)er.nextTick((function(){n[i]&&n[i].$forceUpdate()}))}),{deep:!0})},kr.prototype.watchLocale=function(e){if(e){if(!this.__VUE_I18N_BRIDGE__)return null;var t=this,r=this._vm;return this.vm.$watch("locale",(function(n){r.$set(r,"locale",n),t.__VUE_I18N_BRIDGE__&&e&&(e.locale.value=n),r.$forceUpdate()}),{immediate:!0})}if(!this._sync||!this._root)return null;var n=this._vm;return this._root.$i18n.vm.$watch("locale",(function(e){n.$set(n,"locale",e),n.$forceUpdate()}),{immediate:!0})},kr.prototype.onComponentInstanceCreated=function(e){this._componentInstanceCreatedListener&&this._componentInstanceCreatedListener(e,this)},Ir.vm.get=function(){return this._vm},Ir.messages.get=function(){return Kt(this._getMessages())},Ir.dateTimeFormats.get=function(){return Kt(this._getDateTimeFormats())},Ir.numberFormats.get=function(){return Kt(this._getNumberFormats())},Ir.availableLocales.get=function(){return Object.keys(this.messages).sort()},Ir.locale.get=function(){return this._vm.locale},Ir.locale.set=function(e){this._vm.$set(this._vm,"locale",e)},Ir.fallbackLocale.get=function(){return this._vm.fallbackLocale},Ir.fallbackLocale.set=function(e){this._localeChainCache={},this._vm.$set(this._vm,"fallbackLocale",e)},Ir.formatFallbackMessages.get=function(){return this._formatFallbackMessages},Ir.formatFallbackMessages.set=function(e){this._formatFallbackMessages=e},Ir.missing.get=function(){return this._missing},Ir.missing.set=function(e){this._missing=e},Ir.formatter.get=function(){return this._formatter},Ir.formatter.set=function(e){this._formatter=e},Ir.silentTranslationWarn.get=function(){return this._silentTranslationWarn},Ir.silentTranslationWarn.set=function(e){this._silentTranslationWarn=e},Ir.silentFallbackWarn.get=function(){return this._silentFallbackWarn},Ir.silentFallbackWarn.set=function(e){this._silentFallbackWarn=e},Ir.preserveDirectiveContent.get=function(){return this._preserveDirectiveContent},Ir.preserveDirectiveContent.set=function(e){this._preserveDirectiveContent=e},Ir.warnHtmlInMessage.get=function(){return this._warnHtmlInMessage},Ir.warnHtmlInMessage.set=function(e){var t=this,r=this._warnHtmlInMessage;if(this._warnHtmlInMessage=e,r!==e&&("warn"===e||"error"===e)){var n=this._getMessages();Object.keys(n).forEach((function(e){t._checkLocaleMessage(e,t._warnHtmlInMessage,n[e])}))}},Ir.postTranslation.get=function(){return this._postTranslation},Ir.postTranslation.set=function(e){this._postTranslation=e},Ir.sync.get=function(){return this._sync},Ir.sync.set=function(e){this._sync=e},kr.prototype._getMessages=function(){return this._vm.messages},kr.prototype._getDateTimeFormats=function(){return this._vm.dateTimeFormats},kr.prototype._getNumberFormats=function(){return this._vm.numberFormats},kr.prototype._warnDefault=function(e,t,r,n,o,c){if(!Ft(r))return r;if(this._missing){var f=this._missing.apply(null,[e,t,n,o]);if(Dt(f))return f}else 0;if(this._formatFallbackMessages){var h=Vt.apply(void 0,o);return this._render(t,c,h.params,t)}return t},kr.prototype._isFallbackRoot=function(e){return(this._fallbackRootWithEmptyString?!e:Ft(e))&&!Ft(this._root)&&this._fallbackRoot},kr.prototype._isSilentFallbackWarn=function(e){return this._silentFallbackWarn instanceof RegExp?this._silentFallbackWarn.test(e):this._silentFallbackWarn},kr.prototype._isSilentFallback=function(e,t){return this._isSilentFallbackWarn(t)&&(this._isFallbackRoot()||e!==this.fallbackLocale)},kr.prototype._isSilentTranslationWarn=function(e){return this._silentTranslationWarn instanceof RegExp?this._silentTranslationWarn.test(e):this._silentTranslationWarn},kr.prototype._interpolate=function(e,t,r,n,o,c,f){if(!t)return null;var h,l=this._path.getPathValue(t,r);if(Lt(l)||Ut(l))return l;if(Ft(l)){if(!Ut(t))return null;if(!Dt(h=t[r])&&!qt(h))return null}else{if(!Dt(l)&&!qt(l))return null;h=l}return Dt(h)&&(h.indexOf("@:")>=0||h.indexOf("@.")>=0)&&(h=this._link(e,t,h,n,"raw",c,f)),this._render(h,o,c,r)},kr.prototype._link=function(e,t,r,n,o,c,f){var h=r,l=h.match(Er);for(var d in l)if(l.hasOwnProperty(d)){var link=l[d],y=link.match(Sr),m=y[0],v=y[1],w=link.replace(m,"").replace(Cr,"");if(zt(f,w))return h;f.push(w);var _=this._interpolate(e,t,w,n,"raw"===o?"string":o,"raw"===o?void 0:c,f);if(this._isFallbackRoot(_)){if(!this._root)throw Error("unexpected error");var E=this._root.$i18n;_=E._translate(E._getMessages(),E.locale,E.fallbackLocale,w,n,o,c)}_=this._warnDefault(e,w,_,n,Lt(c)?c:[c],o),this._modifiers.hasOwnProperty(v)?_=this._modifiers[v](_):Ar.hasOwnProperty(v)&&(_=Ar[v](_)),f.pop(),h=_?h.replace(link,_):h}return h},kr.prototype._createMessageContext=function(e,t,path,r){var n=this,o=Lt(e)?e:[],c=Pt(e)?e:{},f=this._getMessages(),h=this.locale;return{list:function(e){return o[e]},named:function(e){return c[e]},values:e,formatter:t,path:path,messages:f,locale:h,linked:function(e){return n._interpolate(h,f[h]||{},e,null,r,void 0,[e])}}},kr.prototype._render=function(e,t,r,path){if(qt(e))return e(this._createMessageContext(r,this._formatter||Tr,path,t));var n=this._formatter.interpolate(e,r,path);return n||(n=Tr.interpolate(e,r,path)),"string"!==t||Dt(n)?n:n.join("")},kr.prototype._appendItemToChain=function(e,t,r){var n=!1;return zt(e,t)||(n=!0,t&&(n="!"!==t[t.length-1],t=t.replace(/!/g,""),e.push(t),r&&r[t]&&(n=r[t]))),n},kr.prototype._appendLocaleToChain=function(e,t,r){var n,o=t.split("-");do{var c=o.join("-");n=this._appendItemToChain(e,c,r),o.splice(-1,1)}while(o.length&&!0===n);return n},kr.prototype._appendBlockToChain=function(e,t,r){for(var n=!0,i=0;i<t.length&&"boolean"==typeof n;i++){var o=t[i];Dt(o)&&(n=this._appendLocaleToChain(e,o,r))}return n},kr.prototype._getLocaleChain=function(e,t){if(""===e)return[];this._localeChainCache||(this._localeChainCache={});var r=this._localeChainCache[e];if(!r){t||(t=this.fallbackLocale),r=[];for(var n,o=[e];Lt(o);)o=this._appendBlockToChain(r,o,t);(o=Dt(n=Lt(t)?t:Pt(t)?t.default?t.default:null:t)?[n]:n)&&this._appendBlockToChain(r,o,null),this._localeChainCache[e]=r}return r},kr.prototype._translate=function(e,t,r,n,o,c,f){for(var h,l=this._getLocaleChain(t,r),i=0;i<l.length;i++){var d=l[i];if(!Ft(h=this._interpolate(d,e[d],n,o,c,f,[n])))return h}return null},kr.prototype._t=function(e,t,r,n){for(var o,c=[],f=arguments.length-4;f-- >0;)c[f]=arguments[f+4];if(!e)return"";var h=Vt.apply(void 0,c);this._escapeParameterHtml&&(h.params=Yt(h.params));var l=h.locale||t,d=this._translate(r,l,this.fallbackLocale,e,n,"string",h.params);if(this._isFallbackRoot(d)){if(!this._root)throw Error("unexpected error");return(o=this._root).$t.apply(o,[e].concat(c))}return d=this._warnDefault(l,e,d,n,c,"string"),this._postTranslation&&null!=d&&(d=this._postTranslation(d,e)),d},kr.prototype.t=function(e){for(var t,r=[],n=arguments.length-1;n-- >0;)r[n]=arguments[n+1];return(t=this)._t.apply(t,[e,this.locale,this._getMessages(),null].concat(r))},kr.prototype._i=function(e,t,r,n,o){var c=this._translate(r,t,this.fallbackLocale,e,n,"raw",o);if(this._isFallbackRoot(c)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.i(e,t,o)}
2return this._warnDefault(t,e,c,n,[o],"raw")},kr.prototype.i=function(e,t,r){return e?(Dt(t)||(t=this.locale),this._i(e,t,this._getMessages(),null,r)):""},kr.prototype._tc=function(e,t,r,n,o){for(var c,f=[],h=arguments.length-5;h-- >0;)f[h]=arguments[h+5];if(!e)return"";void 0===o&&(o=1);var l={count:o,n:o},d=Vt.apply(void 0,f);return d.params=Object.assign(l,d.params),f=null===d.locale?[d.params]:[d.locale,d.params],this.fetchChoice((c=this)._t.apply(c,[e,t,r,n].concat(f)),o)},kr.prototype.fetchChoice=function(e,t){if(!e||!Dt(e))return null;var r=e.split("|");return r[t=this.getChoiceIndex(t,r.length)]?r[t].trim():e},kr.prototype.tc=function(e,t){for(var r,n=[],o=arguments.length-2;o-- >0;)n[o]=arguments[o+2];return(r=this)._tc.apply(r,[e,this.locale,this._getMessages(),null,t].concat(n))},kr.prototype._te=function(e,t,r){for(var n=[],o=arguments.length-3;o-- >0;)n[o]=arguments[o+3];var c=Vt.apply(void 0,n).locale||t;return this._exist(r[c],e)},kr.prototype.te=function(e,t){return this._te(e,this.locale,this._getMessages(),t)},kr.prototype.getLocaleMessage=function(e){return Kt(this._vm.messages[e]||{})},kr.prototype.setLocaleMessage=function(e,t){"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||this._checkLocaleMessage(e,this._warnHtmlInMessage,t),this._vm.$set(this._vm.messages,e,t)},kr.prototype.mergeLocaleMessage=function(e,t){"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||this._checkLocaleMessage(e,this._warnHtmlInMessage,t),this._vm.$set(this._vm.messages,e,$t(void 0!==this._vm.messages[e]&&Object.keys(this._vm.messages[e]).length?Object.assign({},this._vm.messages[e]):{},t))},kr.prototype.getDateTimeFormat=function(e){return Kt(this._vm.dateTimeFormats[e]||{})},kr.prototype.setDateTimeFormat=function(e,t){this._vm.$set(this._vm.dateTimeFormats,e,t),this._clearDateTimeFormat(e,t)},kr.prototype.mergeDateTimeFormat=function(e,t){this._vm.$set(this._vm.dateTimeFormats,e,$t(this._vm.dateTimeFormats[e]||{},t)),this._clearDateTimeFormat(e,t)},kr.prototype._clearDateTimeFormat=function(e,t){for(var r in t){var n=e+"__"+r;this._dateTimeFormatters.hasOwnProperty(n)&&delete this._dateTimeFormatters[n]}},kr.prototype._localizeDateTime=function(e,t,r,n,o){for(var c=t,f=n[c],h=this._getLocaleChain(t,r),i=0;i<h.length;i++){var l=h[i];if(c=l,!Ft(f=n[l])&&!Ft(f[o]))break}if(Ft(f)||Ft(f[o]))return null;var d=f[o],y=c+"__"+o,m=this._dateTimeFormatters[y];return m||(m=this._dateTimeFormatters[y]=new Intl.DateTimeFormat(c,d)),m.format(e)},kr.prototype._d=function(e,t,r){if(!r)return new Intl.DateTimeFormat(t).format(e);var n=this._localizeDateTime(e,t,this.fallbackLocale,this._getDateTimeFormats(),r);
2if(this._isFallbackRoot(n)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.d(e,r,t)}return n||""},kr.prototype.d=function(e){for(var t=[],r=arguments.length-1;r-- >0;)t[r]=arguments[r+1];var n=this.locale,o=null;return 1===t.length?Dt(t[0])?o=t[0]:Pt(t[0])&&(t[0].locale&&(n=t[0].locale),t[0].key&&(o=t[0].key)):2===t.length&&(Dt(t[0])&&(o=t[0]),Dt(t[1])&&(n=t[1])),this._d(e,n,o)},kr.prototype.getNumberFormat=function(e){return Kt(this._vm.numberFormats[e]||{})},kr.prototype.setNumberFormat=function(e,t){this._vm.$set(this._vm.numberFormats,e,t),this._clearNumberFormat(e,t)},kr.prototype.mergeNumberFormat=function(e,t){this._vm.$set(this._vm.numberFormats,e,$t(this._vm.numberFormats[e]||{},t)),this._clearNumberFormat(e,t)},kr.prototype._clearNumberFormat=function(e,t){for(var r in t){var n=e+"__"+r;this._numberFormatters.hasOwnProperty(n)&&delete this._numberFormatters[n]}},kr.prototype._getNumberFormatter=function(e,t,r,n,o,c){for(var f=t,h=n[f],l=this._getLocaleChain(t,r),i=0;i<l.length;i++){var d=l[i];if(f=d,!Ft(h=n[d])&&!Ft(h[o]))break}if(Ft(h)||Ft(h[o]))return null;var y,m=h[o];if(c)y=new Intl.NumberFormat(f,Object.assign({},m,c));else{var v=f+"__"+o;(y=this._numberFormatters[v])||(y=this._numberFormatters[v]=new Intl.NumberFormat(f,m))}return y},kr.prototype._n=function(e,t,r,n){if(!kr.availabilities.numberFormat)return"";if(!r)return(n?new Intl.NumberFormat(t,n):new Intl.NumberFormat(t)).format(e);var o=this._getNumberFormatter(e,t,this.fallbackLocale,this._getNumberFormats(),r,n),c=o&&o.format(e);if(this._isFallbackRoot(c)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.n(e,Object.assign({},{key:r,locale:t},n))}return c||""},kr.prototype.n=function(e){for(var t=[],r=arguments.length-1;r-- >0;)t[r]=arguments[r+1];var n=this.locale,o=null,c=null;return 1===t.length?Dt(t[0])?o=t[0]:Pt(t[0])&&(t[0].locale&&(n=t[0].locale),t[0].key&&(o=t[0].key),c=Object.keys(t[0]).reduce((function(e,r){var n;return zt(Nt,r)?Object.assign({},e,((n={})[r]=t[0][r],n)):e}),null)):2===t.length&&(Dt(t[0])&&(o=t[0]),Dt(t[1])&&(n=t[1])),this._n(e,n,o,c)},kr.prototype._ntp=function(e,t,r,n){if(!kr.availabilities.numberFormat)return[];if(!r)return(n?new Intl.NumberFormat(t,n):new Intl.NumberFormat(t)).formatToParts(e);var o=this._getNumberFormatter(e,t,this.fallbackLocale,this._getNumberFormats(),r,n),c=o&&o.formatToParts(e);if(this._isFallbackRoot(c)){if(!this._root)throw Error("unexpected error");return this._root.$i18n._ntp(e,t,r,n)}return c||[]},Object.defineProperties(kr.prototype,Ir),Object.defineProperty(kr,"availabilities",{get:function(){if(!wr){var e="undefined"!=typeof Intl;wr={dateTimeFormat:e&&void 0!==Intl.DateTimeFormat,numberFormat:e&&void 0!==Intl.NumberFormat}}return wr}}),kr.install=cr,kr.version="8.27.2";var Mr=kr;function Rr(e,t,r){"object"==typeof r.value&&(r.value=xr(r.value)),r.enumerable&&!r.get&&!r.set&&r.configurable&&r.writable&&"__proto__"!==t?e[t]=r.value:Object.defineProperty(e,t,r)}function xr(e){if("object"!=typeof e)return e;var t,r,n,i=0,o=Object.prototype.toString.call(e);if("[object Object]"===o?n=Object.create(e.__proto__||null):"[object Array]"===o?n=Array(e.length):"[object Set]"===o?(n=new Set,e.forEach((function(e){n.add(xr(e))}))):"[object Map]"===o?(n=new Map,e.forEach((function(e,t){n.set(xr(t),xr(e))}))):"[object Date]"===o?n=new Date(+e):"[object RegExp]"===o?n=new RegExp(e.source,e.flags):"[object DataView]"===o?n=new e.constructor(xr(e.buffer)):"[object ArrayBuffer]"===o?n=e.slice(0):"Array]"===o.slice(-6)&&(n=new e.constructor(e)),n){for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)Rr(n,r[i],Object.getOwnPropertyDescriptor(e,r[i]));for(i=0,r=Object.getOwnPropertyNames(e);i<r.length;i++)Object.hasOwnProperty.call(n,t=r[i])&&n[t]===e[t]||Rr(n,t,Object.getOwnPropertyDescriptor(e,t))}return n||e}var Br=r(151);r(879),r(886),r(888),r(889),r(890),r(891),r(892),r(894),r(895),r(896),r(897),r(898),r(899),r(900),r(236);function Nr(object,e){var t=Object.keys(object);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(object);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(object,e).enumerable}))),t.push.apply(t,r)}return t}function Or(e){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};
2i%2?Nr(Object(source),!0).forEach((function(t){Object(c.a)(e,t,source[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(source)):Nr(Object(source)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(source,t))}))}return e}function Lr(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(!e)return;if("string"==typeof e)return Pr(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Pr(e,t)}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var i=0,n=function(){};return{s:n,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:n}}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,c=!0,f=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return c=e.done,e},e:function(e){f=!0,o=e},f:function(){try{c||null==r.return||r.return()}finally{if(f)throw o}}}}function Pr(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,r=new Array(t);i<t;i++)r[i]=e[i];return r}function Dr(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.addDirAttribute,r=void 0!==t&&t,n=e.addSeoAttributes,o=void 0!==n&&n;if(!this.$i18n)return{};var c={htmlAttrs:{},link:[],meta:[]},f=this.$i18n.localeProperties,h=f.iso,d=f.dir||Ge.defaultDirection;if(r&&(c.htmlAttrs.dir=d),o&&(l.a.hasMetaInfo?l.a.hasMetaInfo(this):this._hasMetaInfo)&&this.$i18n.locale&&this.$i18n.locales){h&&(c.htmlAttrs.lang=h);var y=this.$i18n.locales;m.bind(this)(y,this.$i18n.__baseUrl,c.link),v.bind(this)(this.$i18n.__baseUrl,c.link,o),w.bind(this)(f,h,c.meta),_.bind(this)(y,h,c.meta)}function m(e,t,link){if(Ge.strategy!==Ke.STRATEGIES.NO_PREFIX){var r,n=new Map,o=Lr(e);try{for(o.s();!(r=o.n()).done;){var c=r.value,f=c.iso;if(f){var h=f.split("-"),l=Object(K.a)(h,2),d=l[0],y=l[1];d&&y&&(c.isCatchallLocale||!n.has(d))&&n.set(d,c),n.set(f,c)}else console.warn(Je("Locale ISO code is required to generate alternate link"))}}catch(e){o.e(e)}finally{o.f()}var m,v=Lr(n.entries());try{for(v.s();!(m=v.n()).done;){var w=Object(K.a)(m.value,2),_=w[0],E=w[1],C=this.switchLocalePath(E.code);C&&link.push({hid:"i18n-alt-".concat(_),rel:"alternate",href:S(C,t),hreflang:_})}}catch(e){v.e(e)}finally{v.f()}if(Ge.defaultLocale){var A=this.switchLocalePath(Ge.defaultLocale);A&&link.push({hid:"i18n-xd",rel:"alternate",href:S(A,t),hreflang:"x-default"})}}}function v(e,link,t){var r=this.localeRoute(Or(Or({},this.$route),{},{name:this.getRouteBaseName()}));if(r){var n=S(r.path,e),o="boolean"!=typeof t&&t.canonicalQueries||[];o.length&&function(){var e,t=r.query,c=new URLSearchParams,f=Lr(o);try{var h=function(){var r=e.value;if(r in t){var n=t[r];Array.isArray(n)?n.forEach((function(e){return c.append(r,e||"")})):c.append(r,n||"")}};for(f.s();!(e=f.n()).done;)h()}catch(e){f.e(e)}finally{f.f()}var l=c.toString();l&&(n="".concat(n,"?").concat(l))}(),link.push({hid:"i18n-can",rel:"canonical",href:n})}}function w(e,t,meta){e&&t&&meta.push({hid:"i18n-og",property:"og:locale",content:E(t)})}function _(e,t,meta){var r=e.filter((function(e){var r=e.iso;return r&&r!==t}));if(r.length){var n=r.map((function(e){return{hid:"i18n-og-alt-".concat(e.iso),property:"og:locale:alternate",content:E(e.iso)}}));meta.push.apply(meta,Object(Br.a)(n))}}function E(e){return(e||"").replace(/-/g,"_")}function S(e,t){return e.match(/^https?:\/\//)?e:t+e}return c}function jr(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(!e)return;if("string"==typeof e)return Ur(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Ur(e,t)}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var i=0,n=function(){};return{s:n,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:n}}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,c=!0,f=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return c=e.done,e},e:function(e){f=!0,o=e},f:function(){try{c||null==r.return||r.return()}finally{if(f)throw o}}}}function Ur(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,r=new Array(t);i<t;i++)r[i]=e[i];return r}f.a.use(Mr);var Fr=function(){var e=Object(o.a)(regeneratorRuntime.mark((function e(t){var r,n,c,h,l,d,y,m,v,w,_,E,S,C,A,T,k,I,M,R,x,B,N,O,L,P,D,j,U,F,V,z,H,G,$,W,Y,X,J;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r=t.app,n=t.route,c=t.store,h=t.req,t.res,l=t.redirect,Ge.vuex&&c&&pt(c,Ge.vuex,Ge.localeCodes),d=Ge.lazy,d&&(!0===d||!0!==d.skipNuxtState),e.next=9;break;case 7:y=e.sent.default,t.beforeNuxtRender((function(e){var t=e.nuxtState,n={},o=r.i18n,c=o.fallbackLocale,f=o.locale;if(f&&f!==c){var h=r.i18n._getMessages()[f];if(h)try{y(h),n[f]=h}catch(e){}}t.__i18n={langs:n}}));case 9:if(m=Ge.detectBrowserLanguage,v=m.alwaysRedirect,w=m.fallbackLocale,_=m.redirectOn,E=m.useCookie,S=m.cookieKey,C=m.cookieDomain,A=m.cookieSecure,T=m.cookieCrossOrigin,k=tt(Ge.localeCodes,{routesNameSeparator:Ge.routesNameSeparator,defaultLocaleRouteNameSuffix:Ge.defaultLocaleRouteNameSuffix}),I=function(){var e=Object(o.a)(regeneratorRuntime.mark((function e(n){var o,c,h,d,y,m,v,w,_,S,C,A,T,I,M,R,x,B,N,O=arguments;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(o=O.length>1&&void 0!==O[1]?O[1]:{},c=o.initialSetup,h=void 0!==c&&c,n){e.next=3;break}return e.abrupt("return");case 3:if(h||!r.i18n.differentDomains){e.next=5;break}return e.abrupt("return");case 5:if(d=r.i18n.locale,n!==d){e.next=8;break}return e.abrupt("return");case 8:if(!(y=r.i18n.onBeforeLanguageSwitch(d,n,h,t))||!r.i18n.localeCodes.includes(y)){e.next=13;break}if(y!==d){e.next=12;break}return e.abrupt("return");case 12:n=y;case 13:if(E&&r.i18n.setLocaleCookie(n),!Ge.langDir){e.next=30;break}
2if(m=r.i18n.fallbackLocale,!Ge.lazy){e.next=26;break}if(!m){e.next=22;break}return v=[],Array.isArray(m)?v=m.map((function(e){return ct(t,e)})):"object"===Object(qe.a)(m)?(m[n]&&(v=v.concat(m[n].map((function(e){return ct(t,e)})))),m.default&&(v=v.concat(m.default.map((function(e){return ct(t,e)}))))):n!==m&&v.push(ct(t,m)),e.next=22,Promise.all(v);case 22:return e.next=24,ct(t,n);case 24:e.next=28;break;case 26:return e.next=28,Promise.all(Ge.localeCodes.map((function(e){return ct(t,e)})));case 28:e.next=31;break;case 30:gt(r.i18n,Ge.additionalMessages,Ge.localeCodes);case 31:for(r.i18n.locale=n,w=Ge.normalizedLocales.find((function(e){return e.code===n}))||{code:n},_=0,S=Object.keys(r.i18n.localeProperties);_<S.length;_++)C=S[_],r.i18n.localeProperties[C]=void 0;for(A=0,T=Object.entries(w);A<T.length;A++)I=Object(K.a)(T[A],2),M=I[0],R=I[1],f.a.set(r.i18n.localeProperties,M,xr(R));x=t.route,B="",!1||r.i18n.differentDomains||Ge.strategy===Ke.STRATEGIES.NO_PREFIX||k(x)===n&&(Ge.strategy!==Ke.STRATEGIES.PREFIX_AND_DEFAULT||n!==Ge.defaultLocale)||!(N=r.switchLocalePath(n)||r.localePath(x.fullPath,n))||Object(Ve.isEqual)(N,x.fullPath)||N.startsWith("//")||(B=N),h?r.i18n.__redirect=B:(r.i18n.onLanguageSwitched(d,n),B&&l(B));case 40:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),M=function(){var e=Object(o.a)(regeneratorRuntime.mark((function e(n){var o,path,c,f,h;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("/"!==n.path||!Ge.rootRedirect){e.next=5;break}return o=302,path=Ge.rootRedirect,"string"!=typeof Ge.rootRedirect&&(o=Ge.rootRedirect.statusCode,path=Ge.rootRedirect.path),e.abrupt("return",[o,"/".concat(path),!0]);case 5:if(!(c=r.i18n.__redirect)){e.next=9;break}return r.i18n.__redirect=null,e.abrupt("return",[302,c]);case 9:if(f={differentDomains:Ge.differentDomains,normalizedLocales:Ge.normalizedLocales},r.i18n.__baseUrl=ht(Ge.baseUrl,t,r.i18n.locale,f),h=Ge.detectBrowserLanguage&&N(n)||!Ge.differentDomains&&Ge.strategy!==Ke.STRATEGIES.NO_PREFIX&&k(n)||r.i18n.locale||r.i18n.defaultLocale||"",!Ge.skipSettingLocaleOnNavigate){e.next=17;break}r.i18n.__pendingLocale=h,r.i18n.__pendingLocalePromise=new Promise((function(e){r.i18n.__resolvePendingLocalePromise=e})),e.next=19;break;case 17:return e.next=19,r.i18n.setLocale(h);case 19:return e.abrupt("return",[null,null]);case 20:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),R=function(){var e=Object(o.a)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r.i18n.__pendingLocale){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,r.i18n.setLocale(r.i18n.__pendingLocale);case 4:r.i18n.__resolvePendingLocalePromise(""),r.i18n.__pendingLocale=null;case 6:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),x=function(){var e=Object(o.a)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!r.i18n.__pendingLocale){e.next=3;break}return e.next=3,r.i18n.__pendingLocalePromise;case 3:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),B=function(){return"undefined"!=typeof navigator&&navigator.languages?Qe(Ge.normalizedLocales,navigator.languages):h&&void 0!==h.headers["accept-language"]?Qe(Ge.normalizedLocales,h.headers["accept-language"].split(",").map((function(e){return e.split(";")[0]}))):void 0},N=function(e){if(Ge.strategy!==Ke.STRATEGIES.NO_PREFIX)if(_===Ke.REDIRECT_ON_OPTIONS.ROOT){if("/"!==e.path)return""}else if(_===Ke.REDIRECT_ON_OPTIONS.NO_PREFIX&&!v&&e.path.match(et(Ge.localeCodes)))return"";var t;E&&(t=r.i18n.getLocaleCookie())||(t=B());var n=t||w;return!n||E&&!v&&r.i18n.getLocaleCookie()||n===r.i18n.locale?"":n},O=function(e){e.locales=xr(Ge.locales),e.localeCodes=xr(Ge.localeCodes),e.localeProperties=f.a.observable(xr(Ge.normalizedLocales.find((function(t){return t.code===e.locale}))||{code:e.locale})),e.defaultLocale=Ge.defaultLocale,e.differentDomains=Ge.differentDomains,e.onBeforeLanguageSwitch=Ge.onBeforeLanguageSwitch,e.onLanguageSwitched=Ge.onLanguageSwitched,e.setLocaleCookie=function(e){return it(e,0,{useCookie:E,cookieDomain:C,cookieKey:S,cookieSecure:A,cookieCrossOrigin:T})},e.getLocaleCookie=function(){return nt(0,{useCookie:E,cookieKey:S,localeCodes:Ge.localeCodes})},e.setLocale=function(e){return I(e)},e.getBrowserLocale=function(){return B()},e.finalizePendingLocaleChange=R,e.waitForPendingLocaleChange=x,e.__baseUrl=r.i18n.__baseUrl,e.__pendingLocale=r.i18n.__pendingLocale,e.__pendingLocalePromise=r.i18n.__pendingLocalePromise,e.__resolvePendingLocalePromise=r.i18n.__resolvePendingLocalePromise},"function"!=typeof Ge.vueI18n){e.next=24;break}return e.next=21,Ge.vueI18n(t);case 21:e.t0=e.sent,e.next=25;break;case 24:e.t0=xr(Ge.vueI18n);case 25:if((L=e.t0).componentInstanceCreatedListener=O,r.i18n=t.i18n=new Mr(L),r.i18n.locale="",r.i18n.fallbackLocale=L.fallbackLocale||"",c&&(c.$i18n=r.i18n,c.state.localeDomains)){P=jr(Ge.normalizedLocales.entries());try{for(P.s();!(D=P.n()).done;)j=Object(K.a)(D.value,2),U=j[0],F=j[1],(V=c.state.localeDomains[F.code])&&(F.domain=V,"string"!=typeof(z=Ge.locales[U])&&(z.domain=V))}catch(e){P.e(e)}finally{P.f()}}return O(r.i18n),H={differentDomains:Ge.differentDomains,normalizedLocales:Ge.normalizedLocales},r.i18n.__baseUrl=ht(Ge.baseUrl,t,"",H),r.i18n.__onNavigate=M,f.a.prototype.$nuxtI18nHead=Dr,(G=Ge.detectBrowserLanguage?N(n):"")||(r.i18n.differentDomains?($=Ze(Ge.normalizedLocales),G=$):Ge.strategy!==Ke.STRATEGIES.NO_PREFIX&&(W=k(n),G=W)),!G&&E&&(G=r.i18n.getLocaleCookie()),G||(G=r.i18n.defaultLocale||""),e.next=42,I(G,{initialSetup:!0});case 42:if(!ze){e.next=50;break}return e.next=45,M(t.route);case 45:Y=e.sent,X=Object(K.a)(Y,2),X[0],(J=X[1])&&location.assign(Object(Ve.joinURL)(t.base,J));case 50:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),qr=r(294),Vr=r.n(qr);function Kr(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(!e)return;if("string"==typeof e)return zr(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return zr(e,t)}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var i=0,n=function(){};return{s:n,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:n}}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,c=!0,f=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return c=e.done,e},e:function(e){f=!0,o=e},f:function(){try{c||null==r.return||r.return()}finally{if(f)throw o}}}}function zr(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,r=new Array(t);i<t;i++)r[i]=e[i];return r}function Hr(e,t,r){return e.find((function(e){return r?e[t]===r:e[t]}))}var Gr=r(560),$r=function(e){!function(e,t){if("function"!=typeof e)for(var r in t){var n=t[r];
2if(Array.isArray(n)){e[r]=e[r]||[];var o,c=Kr(n);try{for(c.s();!(o=c.n()).done;){var f=o.value;f.hid&&Hr(e[r],"hid",f.hid)||f.name&&Hr(e[r],"name",f.name)||e[r].push(f)}}catch(e){c.e(e)}finally{c.f()}}else if("object"===Object(qe.a)(n))for(var h in e[r]=e[r]||{},n)e[r][h]=n[h];else void 0===e[r]&&(e[r]=n)}else console.warn("Cannot merge meta. Avoid using head as a function!")}(e.app.head,Gr)},Wr=function(e,t){return Yr.apply(this,arguments)};function Yr(){return(Yr=Object(o.a)(regeneratorRuntime.mark((function e(t,r){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n={"64x64":"/_nuxt/icons/icon_64x64.ad1390.png","120x120":"/_nuxt/icons/icon_120x120.ad1390.png","144x144":"/_nuxt/icons/icon_144x144.ad1390.png","152x152":"/_nuxt/icons/icon_152x152.ad1390.png","192x192":"/_nuxt/icons/icon_192x192.ad1390.png","384x384":"/_nuxt/icons/icon_384x384.ad1390.png","512x512":"/_nuxt/icons/icon_512x512.ad1390.png",ipad_1536x2048:"/_nuxt/icons/splash_ipad_1536x2048.ad1390.png",ipadpro9_1536x2048:"/_nuxt/icons/splash_ipadpro9_1536x2048.ad1390.png",ipadpro10_1668x2224:"/_nuxt/icons/splash_ipadpro10_1668x2224.ad1390.png",ipadpro12_2048x2732:"/_nuxt/icons/splash_ipadpro12_2048x2732.ad1390.png",iphonese_640x1136:"/_nuxt/icons/splash_iphonese_640x1136.ad1390.png",iphone6_50x1334:"/_nuxt/icons/splash_iphone6_50x1334.ad1390.png",iphoneplus_1080x1920:"/_nuxt/icons/splash_iphoneplus_1080x1920.ad1390.png",iphonex_1125x2436:"/_nuxt/icons/splash_iphonex_1125x2436.ad1390.png",iphonexr_828x1792:"/_nuxt/icons/splash_iphonexr_828x1792.ad1390.png",iphonexsmax_1242x2688:"/_nuxt/icons/splash_iphonexsmax_1242x2688.ad1390.png"},r("icon",(function(e){return n[e+"x"+e]||""}));case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var Xr=r(295);function Jr(object,e){var t=Object.keys(object);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(object);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(object,e).enumerable}))),t.push.apply(t,r)}return t}function Qr(e){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?Jr(Object(source),!0).forEach((function(t){Object(c.a)(e,t,source[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(source)):Jr(Object(source)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(source,t))}))}return e}f.a.component(y.a.name,y.a),f.a.component(v.a.name,Qr(Qr({},v.a),{},{render:function(e,t){return v.a._warned||(v.a._warned=!0,console.warn("<no-ssr> has been deprecated and will be removed in Nuxt 3, please use <client-only> instead")),v.a.render(e,t)}})),f.a.component(P.name,P),f.a.component("NChild",P),f.a.component(z.name,z),Object.defineProperty(f.a.prototype,"$nuxt",{get:function(){var e=this.$root.$options.$nuxt;return e||"undefined"==typeof window?e:window.$nuxt},configurable:!0}),f.a.use(l.a,{keyName:"head",attribute:"data-n-head",ssrAttribute:"data-n-head-ssr",tagIDKeyName:"hid"});var Zr={name:"page",mode:"out-in",appear:!0,appearClass:"appear",appearActiveClass:"appear-active",appearToClass:"appear-to"};h.a.Store.prototype.registerModule;function en(e){return tn.apply(this,arguments)}function tn(){return tn=Object(o.a)(regeneratorRuntime.mark((function e(t){var r,n,c,h,l,d,path,y,m=arguments;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return y=function(e,t){if(!e)throw new Error("inject(key, value) has no key provided");if(void 0===t)throw new Error("inject('".concat(e,"', value) has no value provided"));h[e="$"+e]=t,h.context[e]||(h.context[e]=t),c[e]=h[e];var r="__nuxt_"+e+"_installed__";f.a[r]||(f.a[r]=!0,f.a.use((function(){Object.prototype.hasOwnProperty.call(f.a.prototype,e)||Object.defineProperty(f.a.prototype,e,{get:function(){return this.$root.$options[e]}})})))},r=m.length>1&&void 0!==m[1]?m[1]:{},e.next=4,L(0,r);case 4:return n=e.sent,(c=ne(t)).$router=n,h=Qr({head:{title:"å®åå
ç·çãã¸ã¿ã«ç®è±ããã¸ã§ã¯ã",meta:[{charset:"utf-8"},{name:"viewport",content:"width=device-width, initial-scale=1"},{name:"format-detection",content:"telephone=no"},{hid:"theme-color",name:"theme-color",content:"#3a4799"},{hid:"description",name:"description",content:"å®åå
ç·çã«æè¬ã®æ°æã¡ãå¼æãæ±ºæã示ãããã¨é¡ãæ¹ã«åãããµã¼ãã¹ã§ããã©ãªãã§ããç¡æã§ãæ°è»½ã«ã¡ãã»ã¼ã¸ãæ·»ãã¦ãã¸ã¿ã«ç®è±ããããã¨ãã§ãã¾ãããã¸ã¿ã«ç®è±ã¨ã¨ãã«ãå¯ãããã ããæè¬ã®æ°æã¡ãå¼æãæ±ºæã¯ã徿¥ææµå¤«äººã«ãå±ããããã¨æã£ã¦ãã¾ãã"},{name:"og:site_name",content:"å®åå
ç·çãã¸ã¿ã«ç®è±ããã¸ã§ã¯ã"},{hid:"og:title",name:"og:title",content:"å®åå
ç·çãã¸ã¿ã«ç®è±ããã¸ã§ã¯ã"},{hid:"og:type",name:"og:type",content:"website"},{hid:"og:description",name:"og:description",content:"å®åå
ç·çã«æè¬ã®æ°æã¡ãå¼æãæ±ºæã示ãããã¨é¡ãæ¹ã«åãããµã¼ãã¹ã§ããã©ãªãã§ããç¡æã§ãæ°è»½ã«ã¡ãã»ã¼ã¸ãæ·»ãã¦ãã¸ã¿ã«ç®è±ããããã¨ãã§ãã¾ãããã¸ã¿ã«ç®è±ã¨ã¨ãã«ãå¯ãããã ããæè¬ã®æ°æã¡ãå¼æãæ±ºæã¯ã徿¥ææµå¤«äººã«ãå±ããããã¨æã£ã¦ãã¾ãã"},{hid:"og:url",name:"og:url",content:"https://offering-flower.com"},{hid:"og:image",name:"og:image",content:"https://offering-flower.com/ogp.png"},{hid:"twitter:card",name:"twitter:card",content:"summary_large_image"},{hid:"twitter:site",name:"twitter:site",content:"@arigato_abesan"},{name:"msapplication-square70x70logo",content:"/site-tile-70x70.png"},{name:"msapplication-square150x150logo",content:"/site-tile-150x150.png"},{name:"msapplication-wide310x150logo",content:"/site-tile-310x150.png"},{name:"msapplication-square310x310logo",content:"/site-tile-310x310.png"},{name:"msapplication-TileColor",content:"#fbfbfb"}],link:[{rel:"canonical",href:"https://offering-flower.com"}
2,{rel:"preconnect",href:"https://fonts.googleapis.com"},{rel:"preconnect",href:"https://fonts.gstatic.com",crossOrigin:!0},{rel:"stylesheet",href:"https://fonts.googleapis.com/css2?family=Zen+Kaku+Gothic+New:wght@400;500;700&display=swap"},{rel:"shortcut icon",type:"image/vnd.microsoft.icon",href:"/favicon.ico"},{rel:"icon",type:"image/vnd.microsoft.icon",href:"/favicon.ico"},{rel:"apple-touch-icon",sizes:"57x57",href:"/apple-touch-icon-57x57.png"},{rel:"apple-touch-icon",sizes:"60x60",href:"/apple-touch-icon-60x60.png"},{rel:"apple-touch-icon",sizes:"72x72",href:"/apple-touch-icon-72x72.png"},{rel:"apple-touch-icon",sizes:"76x76",href:"/apple-touch-icon-76x76.png"},{rel:"apple-touch-icon",sizes:"114x114",href:"/apple-touch-icon-114x114.png"},{rel:"apple-touch-icon",sizes:"120x120",href:"/apple-touch-icon-120x120.png"},{rel:"apple-touch-icon",sizes:"144x144",href:"/apple-touch-icon-144x144.png"},{rel:"apple-touch-icon",sizes:"152x152",href:"/apple-touch-icon-152x152.png"},{rel:"apple-touch-icon",sizes:"180x180",href:"/apple-touch-icon-180x180.png"},{rel:"icon",type:"image/png",sizes:"36x36",href:"/android-chrome-36x36.png"},{rel:"icon",type:"image/png",sizes:"48x48",href:"/android-chrome-48x48.png"},{rel:"icon",type:"image/png",sizes:"72x72",href:"/android-chrome-72x72.png"},{rel:"icon",type:"image/png",sizes:"96x96",href:"/android-chrome-96x96.png"},{rel:"icon",type:"image/png",sizes:"128x128",href:"/android-chrome-128x128.png"},{rel:"icon",type:"image/png",sizes:"144x144",href:"/android-chrome-144x144.png"},{rel:"icon",type:"image/png",sizes:"152x152",href:"/android-chrome-152x152.png"},{rel:"icon",type:"image/png",sizes:"192x192",href:"/android-chrome-192x192.png"},{rel:"icon",type:"image/png",sizes:"256x256",href:"/android-chrome-256x256.png"},{rel:"icon",type:"image/png",sizes:"384x384",href:"/android-chrome-384x384.png"},{rel:"icon",type:"image/png",sizes:"512x512",href:"/android-chrome-512x512.png"},{rel:"icon",type:"image/png",sizes:"36x36",href:"/icon-36x36.png"},{rel:"icon",type:"image/png",sizes:"48x48",href:"/icon-48x48.png"},{rel:"icon",type:"image/png",sizes:"72x72",href:"/icon-72x72.png"},{rel:"icon",type:"image/png",sizes:"96x96",href:"/icon-96x96.png"},{rel:"icon",type:"image/png",sizes:"128x128",href:"/icon-128x128.png"},{rel:"icon",type:"image/png",sizes:"144x144",href:"/icon-144x144.png"},{rel:"icon",type:"image/png",sizes:"152x152",href:"/icon-152x152.png"},{rel:"icon",type:"image/png",sizes:"160x160",href:"/icon-160x160.png"},{rel:"icon",type:"image/png",sizes:"192x192",href:"/icon-192x192.png"},{rel:"icon",type:"image/png",sizes:"196x196",href:"/icon-196x196.png"},{rel:"icon",type:"image/png",sizes:"256x256",href:"/icon-256x256.png"},{rel:"icon",type:"image/png",sizes:"384x384",href:"/icon-384x384.png"},{rel:"icon",type:"image/png",sizes:"512x512",href:"/icon-512x512.png"},{rel:"icon",type:"image/png",sizes:"16x16",href:"/icon-16x16.png"},{rel:"icon",type:"image/png",sizes:"24x24",href:"/icon-24x24.png"},{rel:"icon",type:"image/png",sizes:"32x32",href:"/icon-32x32.png"},{rel:"manifest",href:"/manifest.json"}],style:[],script:[{hid:"gtm-script",innerHTML:"if(!window._gtm_init){window._gtm_init=1;(function(w,n,d,m,e,p){w[d]=(w[d]==1||n[d]=='yes'||n[d]==1||n[m]==1||(w[e]&&w[e][p]&&w[e][p]()))?1:0})(window,navigator,'doNotTrack','msDoNotTrack','external','msTrackingProtectionEnabled');(function(w,d,s,l,x,y){w[x]={};w._gtm_inject=function(i){if(w.doNotTrack||w[x][i])return;w[x][i]=1;w[l]=w[l]||[];w[l].push({'gtm.start':new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],j=d.createElement(s);j.async=true;
2j.src='https://www.googletagmanager.com/gtm.js?id='+i;f.parentNode.insertBefore(j,f);};w[y]('GTM-TZVLK3K')})(window,document,'script','dataLayer','_gtm_ids','_gtm_inject')}"}],noscript:[{hid:"gtm-noscript",pbody:!0,innerHTML:'<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-TZVLK3K&" height="0" width="0" style="display:none;visibility:hidden" title="gtm"></iframe>'}],__dangerouslyDisableSanitizersByTagID:{"gtm-script":["innerHTML"],"gtm-noscript":["innerHTML"]}},store:c,router:n,nuxt:{defaultTransition:Zr,transitions:[Zr],setTransitions:function(e){return Array.isArray(e)||(e=[e]),e=e.map((function(e){return e=e?"string"==typeof e?Object.assign({},Zr,{name:e}):Object.assign({},Zr,e):Zr})),this.$options.nuxt.transitions=e,e},err:null,dateErr:null,error:function(e){e=e||null,h.context._errored=Boolean(e),e=e?Object(E.p)(e):null;var r=h.nuxt;return this&&(r=this.nuxt||this.$options.nuxt),r.dateErr=Date.now(),r.err=e,t&&(t.nuxt.error=e),e}}},Q),c.app=h,l=t?t.next:function(e){return h.router.push(e)},t?d=n.resolve(t.url).route:(path=Object(E.f)(n.options.base,n.options.mode),d=n.resolve(path).route),e.next=13,Object(E.t)(h,{store:c,route:d,next:l,error:h.nuxt.error.bind(h),payload:t?t.payload:void 0,req:t?t.req:void 0,res:t?t.res:void 0,beforeRenderFns:t?t.beforeRenderFns:void 0,ssrContext:t});case 13:y("config",r),window.__NUXT__&&window.__NUXT__.state&&c.replaceState(window.__NUXT__.state),h.context.enablePreview=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};h.previewData=Object.assign({},e),y("preview",e)},e.next=19;break;case 19:return e.next=22,Fe(h.context,y);case 22:e.next=25;break;case 25:return e.next=28,Bt(h.context);case 28:if("function"!=typeof Fr){e.next=31;break}return e.next=31,Fr(h.context,y);case 31:if("function"!=typeof Vr.a){e.next=34;break}return e.next=34,Vr()(h.context,y);case 34:return e.next=37,$r(h.context);case 37:return e.next=40,Wr(h.context,y);case 40:if("function"!=typeof Xr.a){e.next=43;break}return e.next=43,Object(Xr.a)(h.context,y);case 43:return h.context.enablePreview=function(){console.warn("You cannot call enablePreview() outside a plugin.")},e.next=46,new Promise((function(e,t){if(!n.resolve(h.context.route.fullPath).route.matched.length)return e();n.replace(h.context.route.fullPath,e,(function(r){if(!r._isRouter)return t(r);if(2!==r.type)return e();var c=n.afterEach(function(){var t=Object(o.a)(regeneratorRuntime.mark((function t(r,n){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=3,Object(E.j)(r);case 3:h.context.route=t.sent,h.context.params=r.params||{},h.context.query=r.query||{},c(),e();case 8:case"end":return t.stop()}}),t)})));return function(e,r){return t.apply(this,arguments)}}())}))}));case 46:return e.abrupt("return",{store:c,app:h,router:n});case 47:case"end":return e.stop()}}),e)}))),tn.apply(this,arguments)}},,,,function(e,t,r){var n=r(8).Buffer,o=r(139).Transform,c=r(89).StringDecoder;function f(e){o.call(this),this.hashMode="string"==typeof e,this.hashMode?this[e]=this._finalOrDigest:this.final=this._finalOrDigest,this._final&&(this.__final=this._final,this._final=null),this._decoder=null,this._encoding=null}r(5)(f,o),f.prototype.update=function(data,e,t){"string"==typeof data&&(data=n.from(data,e));var r=this._update(data);return this.hashMode?this:(t&&(r=this._toString(r,t)),r)},f.prototype.setAutoPadding=function(){},f.prototype.getAuthTag=function(){throw new Error("trying to get auth tag in unsupported state")},f.prototype.setAuthTag=function(){throw new Error("trying to set auth tag in unsupported state")},f.prototype.setAAD=function(){throw new Error("trying to set aad in unsupported state")},f.prototype._transform=function(data,e,t){var r;try{this.hashMode?this._update(data):this.push(this._update(data))}catch(e){r=e}finally{t(r)}},f.prototype._flush=function(e){var t;try{this.push(this.__final())}catch(e){t=e}e(t)},f.prototype._finalOrDigest=function(e){var t=this.__final()||n.alloc(0);return e&&(t=this._toString(t,e,!0)),t},f.prototype._toString=function(e,t,r){if(this._decoder||(this._decoder=new c(t),this._encoding=t),this._encoding!==t)throw new Error("can't switch encodings");var n=this._decoder.write(e);return r&&(n+=this._decoder.end()),n},e.exports=f},,,,,,function(e,t,r){"use strict";var n=r(174),o=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};e.exports=m;var c=Object.create(r(137));c.inherits=r(5);var f=r(376),h=r(240);c.inherits(m,f);for(var l=o(h.prototype),d=0;d<l.length;d++){var y=l[d];m.prototype[y]||(m.prototype[y]=h.prototype[y])}function m(e){if(!(this instanceof m))return new m(e);f.call(this,e),h.call(this,e),e&&!1===e.readable&&(this.readable=!1),e&&!1===e.writable&&(this.writable=!1),this.allowHalfOpen=!0,e&&!1===e.allowHalfOpen&&(this.allowHalfOpen=!1),this.once("end",v)}function v(){this.allowHalfOpen||this._writableState.ended||n.nextTick(w,this)}function w(e){e.end()}Object.defineProperty(m.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(m.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed&&this._writableState.destroyed)},set:function(e){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=e,this._writableState.destroyed=e)}}),m.prototype._destroy=function(e,t){this.push(null),this.end(),n.nextTick(t,e)}},function(e,t,r){"use strict";var n=r(8).Buffer,o=n.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function c(e){var t;switch(this.encoding=function(e){var t=function(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";
vendor: 9,973 bytes, line 2
2case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"!=typeof t&&(n.isEncoding===o||!o(e)))throw new Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=l,this.end=d,t=4;break;case"utf8":this.fillLast=h,t=4;break;case"base64":this.text=y,this.end=m,t=3;break;default:return this.write=v,void(this.end=w)}this.lastNeed=0,this.lastTotal=0,this.lastChar=n.allocUnsafe(t)}function f(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function h(e){var p=this.lastTotal-this.lastNeed,t=function(e,t,p){if(128!=(192&t[0]))return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if(128!=(192&t[1]))return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&128!=(192&t[2]))return e.lastNeed=2,"�"}}(this,e);return void 0!==t?t:this.lastNeed<=e.length?(e.copy(this.lastChar,p,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,p,0,e.length),void(this.lastNeed-=e.length))}function l(e,i){if((e.length-i)%2==0){var t=e.toString("utf16le",i);if(t){var r=t.charCodeAt(t.length-1);if(r>=55296&&r<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],t.slice(0,-1)}return t}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",i,e.length-1)}function d(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,r)}return t}function y(e,i){var t=(e.length-i)%3;return 0===t?e.toString("base64",i):(this.lastNeed=3-t,this.lastTotal=3,1===t?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",i,e.length-t))}function m(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function v(e){return e.toString(this.encoding)}function w(e){return e&&e.length?this.write(e):""}t.StringDecoder=c,c.prototype.write=function(e){if(0===e.length)return"";var t,i;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";i=this.lastNeed,this.lastNeed=0}else i=0;return i<e.length?t?t+this.text(e,i):this.text(e,i):t||""},c.prototype.end=function(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�":t},c.prototype.text=function(e,i){var t=function(e,t,i){var r=t.length-1;if(r<i)return 0;var n=f(t[r]);if(n>=0)return n>0&&(e.lastNeed=n-1),n;if(--r<i||-2===n)return 0;if((n=f(t[r]))>=0)return n>0&&(e.lastNeed=n-2),n;if(--r<i||-2===n)return 0;if((n=f(t[r]))>=0)return n>0&&(2===n?n=0:e.lastNeed=n-3),n;return 0}(this,e,i);if(!this.lastNeed)return e.toString("utf8",i);this.lastTotal=t;var r=e.length-(t-this.lastNeed);return e.copy(this.lastChar,0,r),e.toString("utf8",i,r)},c.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},function(e,t,r){(function(e){var n=Object.getOwnPropertyDescriptors||function(e){for(var t=Object.keys(e),r={},i=0;i<t.length;i++)r[t[i]]=Object.getOwnPropertyDescriptor(e,t[i]);return r},o=/%[sdj%]/g;t.format=function(e){if(!C(e)){for(var t=[],i=0;i<arguments.length;i++)t.push(h(arguments[i]));return t.join(" ")}i=1;for(var r=arguments,n=r.length,c=String(e).replace(o,(function(e){if("%%"===e)return"%";if(i>=n)return e;switch(e){case"%s":return String(r[i++]);case"%d":return Number(r[i++]);case"%j":try{return JSON.stringify(r[i++])}catch(e){return"[Circular]"}default:return e}})),f=r[i];i<n;f=r[++i])E(f)||!k(f)?c+=" "+f:c+=" "+h(f);return c},t.deprecate=function(r,n){if(void 0!==e&&!0===e.noDeprecation)return r;if(void 0===e)return function(){return t.deprecate(r,n).apply(this,arguments)};var o=!1;return function(){if(!o){if(e.throwDeprecation)throw new Error(n);e.traceDeprecation?console.trace(n):console.error(n),o=!0}return r.apply(this,arguments)}};var c,f={};function h(e,r){var n={seen:[],stylize:d};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),_(r)?n.showHidden=r:r&&t._extend(n,r),A(n.showHidden)&&(n.showHidden=!1),A(n.depth)&&(n.depth=2),A(n.colors)&&(n.colors=!1),A(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=l),y(n,e,n.depth)}function l(e,t){var style=h.styles[t];return style?"�["+h.colors[style][0]+"m"+e+"�["+h.colors[style][1]+"m":e}function d(e,t){return e}function y(e,r,n){if(e.customInspect&&r&&R(r.inspect)&&r.inspect!==t.inspect&&(!r.constructor||r.constructor.prototype!==r)){var o=r.inspect(n,e);return C(o)||(o=y(e,o,n)),o}var c=function(e,t){if(A(t))return e.stylize("undefined","undefined");if(C(t)){var r="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(r,"string")}if(S(t))return e.stylize(""+t,"number");if(_(t))return e.stylize(""+t,"boolean");if(E(t))return e.stylize("null","null")}(e,r);if(c)return c;var f=Object.keys(r),h=function(e){var t={};return e.forEach((function(e,r){t[e]=!0})),t}(f);if(e.showHidden&&(f=Object.getOwnPropertyNames(r)),M(r)&&(f.indexOf("message")>=0||f.indexOf("description")>=0))return m(r);if(0===f.length){if(R(r)){var l=r.name?": "+r.name:"";return e.stylize("[Function"+l+"]","special")}if(T(r))return e.stylize(RegExp.prototype.toString.call(r),"regexp");if(I(r))return e.stylize(Date.prototype.toString.call(r),"date");if(M(r))return m(r)}var output,base="",d=!1,k=["{","}"];(w(r)&&(d=!0,k=["[","]"]),R(r))&&(base=" [Function"+(r.name?": "+r.name:"")+"]");return T(r)&&(base=" "+RegExp.prototype.toString.call(r)),I(r)&&(base=" "+Date.prototype.toUTCString.call(r)),M(r)&&(base=" "+m(r)),0!==f.length||d&&0!=r.length?n<0?T(r)?e.stylize(RegExp.prototype.toString.call(r),"regexp"):e.stylize("[Object]","special"):(e.seen.push(r),output=d?function(e,t,r,n,o){for(var output=[],i=0,c=t.length;i<c;++i)L(t,String(i))?output.push(v(e,t,r,n,String(i),!0)):output.push("");return o.forEach((function(o){o.match(/^\d+$/)||output.push(v(e,t,r,n,o,!0))})),output}(e,r,n,h,f):f.map((function(t){return v(e,r,n,h,t,d)})),e.seen.pop(),function(output,base,e){if(output.reduce((function(e,t){return t.indexOf("\n")>=0&&0,e+t.replace(/\u001b\[\d\d?m/g,"").length+1}),0)>60)return e[0]+(""===base?"":base+"\n ")+" "+output.join(",\n ")+" "+e[1];return e[0]+base+" "+output.join(", ")+" "+e[1]}(output,base,k)):k[0]+base+k[1]}function m(e){return"["+Error.prototype.toString.call(e)+"]"}function v(e,t,r,n,o,c){var f,h,desc;if((desc=Object.getOwnPropertyDescriptor(t,o)||{value:t[o]}).get?h=desc.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):desc.set&&(h=e.stylize("[Setter]","special")),L(n,o)||(f="["+o+"]"),h||(e.seen.indexOf(desc.value)<0?(h=E(r)?y(e,desc.value,null):y(e,desc.value,r-1)).indexOf("\n")>-1&&(h=c?h.split("\n").map((function(line){return" "+line})).join("\n").substr(2):"\n"+h.split("\n").map((function(line){return" "+line})).join("\n")):h=e.stylize("[Circular]","special")),A(f)){if(c&&o.match(/^\d+$/))return h;(f=JSON.stringify(""+o)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(f=f.substr(1,f.length-2),f=e.stylize(f,"name")):(f=f.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),f=e.stylize(f,"string"))}return f+": "+h}function w(e){return Array.isArray(e)}function _(e){return"boolean"==typeof e}function E(e){return null===e}function S(e){return"number"==typeof e}function C(e){return"string"==typeof e}function A(e){return void 0===e}function T(e){return k(e)&&"[object RegExp]"===x(e)}function k(e){return"object"==typeof e&&null!==e}function I(e){return k(e)&&"[object Date]"===x(e)}function M(e){return k(e)&&("[object Error]"===x(e)||e instanceof Error)}function R(e){return"function"==typeof e}function x(e){return Object.prototype.toString.call(e)}function B(e){return e<10?"0"+e.toString(10):e.toString(10)}t.debuglog=function(r){if(A(c)&&(c=e.env.NODE_DEBUG||""),r=r.toUpperCase(),!f[r])if(new RegExp("\\b"+r+"\\b","i").test(c)){var n=e.pid;f[r]=function(){var e=t.format.apply(t,arguments);console.error("%s %d: %s",r,n,e)}}else f[r]=function(){};return f[r]},t.inspect=h,h.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},h.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},t.isArray=w,t.isBoolean=_,t.isNull=E,t.isNullOrUndefined=function(e){return null==e},t.isNumber=S,t.isString=C,t.isSymbol=function(e){return"symbol"==typeof e},t.isUndefined=A,t.isRegExp=T,t.isObject=k,t.isDate=I,t.isError=M,t.isFunction=R,t.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},t.isBuffer=r(724);var N=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function O(){var e=new Date,time=[B(e.getHours()),B(e.getMinutes()),B(e.getSeconds())].join(":");return[e.getDate(),N[e.getMonth()],time].join(" ")}function L(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.log=function(){console.log("%s - %s",O(),t.format.apply(t,arguments))},t.inherits=r(725),t._extend=function(e,t){if(!t||!k(t))return e;for(var r=Object.keys(t),i=r.length;i--;)e[r[i]]=t[r[i]];return e};var P="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function D(e,t){if(!e){var r=new Error("Promise was rejected with a falsy value");r.reason=e,e=r}return t(e)}t.promisify=function(e){if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');if(P&&e[P]){var t;if("function"!=typeof(t=e[P]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(t,P,{value:t,enumerable:!1,writable:!1,
2configurable:!0}),t}function t(){for(var t,r,n=new Promise((function(e,n){t=e,r=n})),o=[],i=0;i<arguments.length;i++)o.push(arguments[i]);o.push((function(e,n){e?r(e):t(n)}));try{e.apply(this,o)}catch(e){r(e)}return n}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),P&&Object.defineProperty(t,P,{value:t,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(t,n(e))},t.promisify.custom=P,t.callbackify=function(t){if("function"!=typeof t)throw new TypeError('The "original" argument must be of type Function');function r(){for(var r=[],i=0;i<arguments.length;i++)r.push(arguments[i]);var n=r.pop();if("function"!=typeof n)throw new TypeError("The last argument must be of type Function");var o=this,c=function(){return n.apply(o,arguments)};t.apply(this,r).then((function(t){e.nextTick(c,null,t)}),(function(t){e.nextTick(D,t,c)}))}return Object.setPrototypeOf(r,Object.getPrototypeOf(t)),Object.defineProperties(r,n(t)),r}}).call(this,r(17))},function(e,t,r){var n=r(11);function o(e,t){n.cipher.registerAlgorithm(e,(function(){return new n.aes.Algorithm(e,t)}))}r(262),r(442),r(18),e.exports=n.aes=n.aes||{},n.aes.startEncrypting=function(e,t,output,r){var n=_({key:e,output:output,decrypt:!1,mode:r});return n.start(t),n},n.aes.createEncryptionCipher=function(e,t){return _({key:e,output:null,decrypt:!1,mode:t})},n.aes.startDecrypting=function(e,t,output,r){var n=_({key:e,output:output,decrypt:!0,mode:r});return n.start(t),n},n.aes.createDecryptionCipher=function(e,t){return _({key:e,output:null,decrypt:!0,mode:t})},n.aes.Algorithm=function(e,t){y||m();var r=this;r.name=e,r.mode=new t({blockSize:16,cipher:{encrypt:function(e,t){return w(r._w,e,t,!1)},decrypt:function(e,t){return w(r._w,e,t,!0)}}}),r._init=!1},n.aes.Algorithm.prototype.initialize=function(e){if(!this._init){var t,r=e.key;if("string"!=typeof r||16!==r.length&&24!==r.length&&32!==r.length){if(n.util.isArray(r)&&(16===r.length||24===r.length||32===r.length)){t=r,r=n.util.createBuffer();for(var i=0;i<t.length;++i)r.putByte(t[i])}}else r=n.util.createBuffer(r);if(!n.util.isArray(r)){t=r,r=[];var o=t.length();if(16===o||24===o||32===o){o>>>=2;for(i=0;i<o;++i)r.push(t.getInt32())}}if(!n.util.isArray(r)||4!==r.length&&6!==r.length&&8!==r.length)throw new Error("Invalid key parameter.");var c=this.mode.name,f=-1!==["CFB","OFB","CTR","GCM"].indexOf(c);this._w=v(r,e.decrypt&&!f),this._init=!0}},n.aes._expandKey=function(e,t){return y||m(),v(e,t)},n.aes._updateBlock=w,o("AES-ECB",n.cipher.modes.ecb),o("AES-CBC",n.cipher.modes.cbc),o("AES-CFB",n.cipher.modes.cfb),o("AES-OFB",n.cipher.modes.ofb),o("AES-CTR",n.cipher.modes.ctr),o("AES-GCM",n.cipher.modes.gcm);var c,f,h,l,d,y=!1;function m(){y=!0,h=[0,1,2,4,8,16,32,64,128,27,54];for(var e=new Array(256),i=0;i<128;++i)e[i]=i<<1,e[i+128]=i+128<<1^283;c=new Array(256),f=new Array(256),l=new Array(4),d=new Array(4);for(i=0;i<4;++i)l[i]=new Array(256),d[i]=new Array(256);var t,r,n,o,m,v,w,_=0,E=0;for(i=0;i<256;++i){o=(o=E^E<<1^E<<2^E<<3^E<<4)>>8^255&o^99,c[_]=o,f[o]=_,v=(m=e[o])<<24^o<<16^o<<8^o^m,w=((t=e[_])^(r=e[t])^(n=e[r]))<<24^(_^n)<<16^(_^r^n)<<8^_^t^n;for(var S=0;S<4;++S)l[S][_]=v,d[S][o]=w,v=v<<24|v>>>8,w=w<<24|w>>>8;0===_?_=E=1:(_=t^e[e[e[t^n]]],E^=e[e[E]])}}function v(e,t){for(var r,n=e.slice(0),o=1,f=n.length,l=4*(f+6+1),i=f;i<l;++i)r=n[i-1],i%f==0?(r=c[r>>>16&255]<<24^c[r>>>8&255]<<16^c[255&r]<<8^c[r>>>24]^h[o]<<24,o++):f>6&&i%f==4&&(r=c[r>>>24]<<24^c[r>>>16&255]<<16^c[r>>>8&255]<<8^c[255&r]),n[i]=n[i-f]^r;if(t){for(var y,m=d[0],v=d[1],w=d[2],_=d[3],E=n.slice(0),S=(i=0,(l=n.length)-4);i<l;i+=4,S-=4)if(0===i||i===l-4)E[i]=n[S],E[i+1]=n[S+3],E[i+2]=n[S+2],E[i+3]=n[S+1];else for(var C=0;C<4;++C)y=n[S+C],E[i+(3&-C)]=m[c[y>>>24]]^v[c[y>>>16&255]]^w[c[y>>>8&255]]^_[c[255&y]];n=E}return n}function w(e,input,output,t){var r,n,o,h,sub,a,b,y,m,v,w,_,E=e.length/4-1;t?(r=d[0],n=d[1],o=d[2],h=d[3],sub=f):(r=l[0],n=l[1],o=l[2],h=l[3],sub=c),a=input[0]^e[0],b=input[t?3:1]^e[1],y=input[2]^e[2],m=input[t?1:3]^e[3];for(var i=3,S=1;S<E;++S)v=r[a>>>24]^n[b>>>16&255]^o[y>>>8&255]^h[255&m]^e[++i],w=r[b>>>24]^n[y>>>16&255]^o[m>>>8&255]^h[255&a]^e[++i],_=r[y>>>24]^n[m>>>16&255]^o[a>>>8&255]^h[255&b]^e[++i],m=r[m>>>24]^n[a>>>16&255]^o[b>>>8&255]^h[255&y]^e[++i],a=v,b=w,y=_;output[0]=sub[a>>>24]<<24^sub[b>>>16&255]<<16^sub[y>>>8&255]<<8^sub[255&m]^e[++i],output[t?3:1]=sub[b>>>24]<<24^sub[y>>>16&255]<<16^sub[m>>>8&255]<<8^sub[255&a]^e[++i],output[2]=sub[y>>>24]<<24^sub[m>>>16&255]<<16^sub[a>>>8&255]<<8^sub[255&b]^e[++i],output[t?1:3]=sub[m>>>24]<<24^sub[a>>>16&255]<<16^sub[b>>>8&255]<<8^sub[255&y]^e[++i]}function _(e){var t,r="AES-"+((e=e||{}).mode||"CBC").toUpperCase(),o=(t=e.decrypt?n.cipher.createDecipher(r,e.key):n.
vendor: 3,053 bytes, line 2
2cipher.createCipher(r,e.key)).start;return t.start=function(e,r){var output=null;r instanceof n.util.ByteBuffer&&(output=r,r={}),(r=r||{}).output=output,r.iv=e,o.call(t,r)},t}},function(e,t,r){var n=r(11);n.pki=n.pki||{};var o=e.exports=n.pki.oids=n.oids=n.oids||{};function c(e,t){o[e]=t,o[t]=e}function f(e,t){o[e]=t}c("1.2.840.113549.1.1.1","rsaEncryption"),c("1.2.840.113549.1.1.4","md5WithRSAEncryption"),c("1.2.840.113549.1.1.5","sha1WithRSAEncryption"),c("1.2.840.113549.1.1.7","RSAES-OAEP"),c("1.2.840.113549.1.1.8","mgf1"),c("1.2.840.113549.1.1.9","pSpecified"),c("1.2.840.113549.1.1.10","RSASSA-PSS"),c("1.2.840.113549.1.1.11","sha256WithRSAEncryption"),c("1.2.840.113549.1.1.12","sha384WithRSAEncryption"),c("1.2.840.113549.1.1.13","sha512WithRSAEncryption"),c("1.3.101.112","EdDSA25519"),c("1.2.840.10040.4.3","dsa-with-sha1"),c("1.3.14.3.2.7","desCBC"),c("1.3.14.3.2.26","sha1"),c("1.3.14.3.2.29","sha1WithRSASignature"),c("2.16.840.1.101.3.4.2.1","sha256"),c("2.16.840.1.101.3.4.2.2","sha384"),c("2.16.840.1.101.3.4.2.3","sha512"),c("2.16.840.1.101.3.4.2.4","sha224"),c("2.16.840.1.101.3.4.2.5","sha512-224"),c("2.16.840.1.101.3.4.2.6","sha512-256"),c("1.2.840.113549.2.2","md2"),c("1.2.840.113549.2.5","md5"),c("1.2.840.113549.1.7.1","data"),c("1.2.840.113549.1.7.2","signedData"),c("1.2.840.113549.1.7.3","envelopedData"),c("1.2.840.113549.1.7.4","signedAndEnvelopedData"),c("1.2.840.113549.1.7.5","digestedData"),c("1.2.840.113549.1.7.6","encryptedData"),c("1.2.840.113549.1.9.1","emailAddress"),c("1.2.840.113549.1.9.2","unstructuredName"),c("1.2.840.113549.1.9.3","contentType"),c("1.2.840.113549.1.9.4","messageDigest"),c("1.2.840.113549.1.9.5","signingTime"),c("1.2.840.113549.1.9.6","counterSignature"),c("1.2.840.113549.1.9.7","challengePassword"),c("1.2.840.113549.1.9.8","unstructuredAddress"),c("1.2.840.113549.1.9.14","extensionRequest"),c("1.2.840.113549.1.9.20","friendlyName"),c("1.2.840.113549.1.9.21","localKeyId"),c("1.2.840.113549.1.9.22.1","x509Certificate"),c("1.2.840.113549.1.12.10.1.1","keyBag"),c("1.2.840.113549.1.12.10.1.2","pkcs8ShroudedKeyBag"),c("1.2.840.113549.1.12.10.1.3","certBag"),c("1.2.840.113549.1.12.10.1.4","crlBag"),c("1.2.840.113549.1.12.10.1.5","secretBag"),c("1.2.840.113549.1.12.10.1.6","safeContentsBag"),c("1.2.840.113549.1.5.13","pkcs5PBES2"),c("1.2.840.113549.1.5.12","pkcs5PBKDF2"),c("1.2.840.113549.1.12.1.1","pbeWithSHAAnd128BitRC4"),c("1.2.840.113549.1.12.1.2","pbeWithSHAAnd40BitRC4"),c("1.2.840.113549.1.12.1.3","pbeWithSHAAnd3-KeyTripleDES-CBC"),c("1.2.840.113549.1.12.1.4","pbeWithSHAAnd2-KeyTripleDES-CBC"),c("1.2.840.113549.1.12.1.5","pbeWithSHAAnd128BitRC2-CBC"),c("1.2.840.113549.1.12.1.6","pbewithSHAAnd40BitRC2-CBC"),c("1.2.840.113549.2.7","hmacWithSHA1"),c("1.2.840.113549.2.8","hmacWithSHA224"),c("1.2.840.113549.2.9","hmacWithSHA256"),c("1.2.840.113549.2.10","hmacWithSHA384"),c("1.2.840.113549.2.11","hmacWithSHA512"),c("1.2.840.113549.3.7","des-EDE3-CBC"),c("2.16.840.1.101.3.4.1.2","aes128-CBC"),c("2.16.840.1.101.3.4.1.22","aes192-CBC"),c("2.16.840.1.101.3.4.1.42","ae
2s256-CBC"),c("2.5.4.3","commonName"),c("2.5.4.4","surname"),c("2.5.4.5","serialNumber"),c("2.5.4.6","countryName"),c("2.5.4.7","localityName"),c("2.5.4.8","stateOrProvinceName"),c("2.5.4.9","streetAddress"),c("2.5.4.10","organizationName"),c("2.5.4.11","organizationalUnitName"),c("2.5.4.12","title"),c("2.5.4.13","description"),c("2.5.4.15","businessCategory"),c("2.5.4.17","postalCode"),c("2.5.4.42","givenName"),c("1.3.6.1.4.1.311.60.2.1.2","jurisdictionOfIncorporationStateOrProvinceName"),c("1.3.6.1.4.1.311.60.2.1.3","jurisdictionOfIncorporationCountryName"),c("2.16.840.1.113730.1.1","nsCertType"),c("2.16.840.1.113730.1.13","nsComment"),f("2.5.29.1","authorityKeyIdentifier"),f("2.5.29.2","keyAttributes"),f("2.5.29.3","certificatePolicies"),f("2.5.29.4","keyUsageRestriction"),f("2.5.29.5","policyMapping"),f("2.5.29.6","subtreesConstraint"),f("2.5.29.7","subjectAltName"),f("2.5.29.8","issuerAltName"),f("2.5.29.9","subjectDirectoryAttributes"),f("2.5.29.10","basicConstraints"),f("2.5.29.11","nameConstraints"),f("2.5.29.12","policyConstraints"),f("2.5.29.13","basicConstraints"),c("2.5.29.14","subjectKeyIdentifier"),c("2.5.29.15","keyUsage"),f("2.5.29.16","privateKeyUsagePeriod"),c("2.5.29.17","subjectAltName"),c("2.5.29.18","issuerAltName"),c("2.5.29.19","basicConstraints"),f("2.5.29.20","cRLNumber"),f("2.5.29.21","cRLReason"),f("2.5.29.22","expirationDate"),f("2.5.29.23","instructionCode"),f("2.5.29.24","invali
2dityDate"),f("2.5.29.25","cRLDistributionPoints"),f("2.5.29.26","issuingDistributionPoint"),f("2.5.29.27","deltaCRLIndicator"),f("2.5.29.28","issuingDistributionPoint"),f("2.5.29.29","certificateIssuer"),f("2.5.29.30","nameConstraints"),c("2.5.29.31","cRLDistributionPoints"),c("2.5.29.32","certificatePolicies"),f("2.5.29.33","policyMappings"),f("2.5.29.34","policyConstraints"),c("2.5.29.35","authorityKeyIdentifier"),f("2.5.29.36","policyConstraints"),c("2.5.29.37","extKeyUsage"),f("2.5.29.46","freshestCRL"),f("2.5.29.54","inhibitAnyPolicy"),c("1.3.6.1.4.1.11129.2.4.2","timestampList"),c("1.3.6.1.5.5.7.1.1","authorityInfoAccess"),c("1.3.6.1.5.5.7.3.1","serverAuth"),c("1.3.6.1.5.5.7.3.2","clientAuth"),c("1.3.6.1.5.5.7.3.3","codeSigning"),c("1.3.6.1.5.5.7.3.4","emailProtection"),c("1.3.6.1.5.5.7.3.8","timeStamping")},,,,,,,,,,,,,,,,function(e,t){},function(e,t,r){"use strict";(function(t,n){var o=65536,c=4294967295;var f=r(8).Buffer,h=t.crypto||t.msCrypto;h&&h.getRandomValues?e.exports=function(e,t){if(e>c)throw new RangeError("requested too many random bytes");var r=f.allocUnsafe(e);if(e>0)if(e>o)for(var l=0;l<e;l+=o)h.getRandomValues(r.slice(l,l+o));else h.getRandomValues(r);if("function"==typeof t)return n.nextTick((function(){t(null,r)}));return r}:e.exports=function(){throw new Error("Secure random number generation is not supported by this browser.\nUse Chrome, Firefox or Internet Explorer 11")}}).call(this,r(20),r(17))},function(e,t,r){"use strict";var n={};function o(code,e,t){t||(t=Error);var r=function(t){var r,n;function o(r,n,o){return t.call(this,function(t,r,n){return"string"==typeof e?e:e(t,r,n)}(r,n,o))||this}return n=t,(r=o).prototype=Object.create(n.prototype),r.prototype.constructor=r,r.__proto__=n,o}(t);r.prototype.name=t.name,r.prototype.code=code,n[code]=r}function c(e,t){if(Array.isArray(e)){var r=e.length;return e=e.map((function(i){return String(i)})),r>2?"one of ".concat(t," ").concat(e.slice(0,r-1).join(", "),", or ")+e[r-1]:2===r?"one of ".concat(t," ").concat(e[0]," or ").concat(e[1]):"of ".concat(t," ").concat(e[0])}return"of ".concat(t," ").concat(String(e))}o("ERR_INVALID_OPT_VALUE",(function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'}),TypeError),o("ERR_INVALID_ARG_TYPE",(function(e,t,r){var n,o,f,h;if("string"==typeof t&&(o="not ",t.substr(!f||f<0?0:+f,o.length)===o)?(n="must not be",t=t.replace(/^not /,"")):n="must be",function(e,t,r){return(void 0===r||r>e.length)&&(r=e.length),e.substring(r-t.length,r)===t}(e," argument"))h="The ".concat(e," ").concat(n," ").concat(c(t,"type"));else{var l=function(e,t,r){return"number"!=typeof r&&(r=0),!(r+t.length>e.length)&&-1!==e.indexOf(t,r)}(e,".")?"property":"argument";h='The "'.concat(e,'" ').concat(l," ").concat(n," ").concat(c(t,"type"))}return h+=". Received type ".concat(typeof r)}),TypeError),o("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),o("ERR_METHOD_NOT_IMPLEMENTED",(function(e){return"The "+e+" method is not implemented"})),o("ERR_STREAM_PREMATURE_CLOSE","Premature close"),o("ERR_STREAM_DESTROYED",(function(e){return"Cannot call "+e+" after a stream was destroyed"})),o("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),o("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),o("ERR_STREAM_WRITE_AFTER_END","write after end"),o("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),o("ERR_UNKNOWN_ENCODING",(function(e){return"Unknown encoding: "+e}),TypeError),o("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),e.exports.codes=n},function(e,t,r){"use strict";(function(t){var n=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};e.exports=d;var o=r(386),c=r(390);r(5)(d,o);for(var f=n(c.prototype),h=0;h<f.length;h++){var l=f[h];d.prototype[l]||(d.prototype[l]=c.prototype[l])}function d(e){if(!(this instanceof d))return new d(e);o.call(this,e),c.call(this,e),this.allowHalfOpen=!0,e&&(!1===e.readable&&(this.readable=!1),!1===e.writable&&(this.writable=!1),!1===e.allowHalfOpen&&(this.allowHalfOpen=!1,this.once("end",y)))}function y(){this._writableState.ended||t.nextTick(m,this)}function m(e){e.end()}Object.defineProperty(d.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(d.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(d.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(d.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed&&this._writableState.destroyed)},set:function(e){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=e,this._writableState.destroyed=e)}})}).call(this,r(17))},function(e,t,r){var n=r(8).Buffer;function o(e,t){this._block=n.alloc(e),this._finalSize=t,this._blockSize=e,this._len=0}o.prototype.update=function(data,e){"string"==typeof data&&(e=e||"utf8",data=n.from(data,e));for(var t=this._block,r=this._blockSize,o=data.length,c=this._len,f=0;f<o;){for(var h=c%r,l=Math.min(o-f,r-h),i=0;i<l;i++)t[h+i]=data[f+i];f+=l,(c+=l)%r==0&&this._update(t)}return this._len+=o,this},o.prototype.digest=function(e){var t=this._len%this._blockSize;this._block[t]=128,this._block.fill(0,t+1),t>=this._finalSize&&(this._update(this._block),this._block.fill(0));var r=8*this._len;if(r<=4294967295)this._block.writeUInt32BE(r,this._blockSize-4);else{var n=(4294967295&r)>>>0,o=(r-n)/4294967296;this._block.writeUInt32BE(o,this._blockSize-8),this._block.writeUInt32BE(n,this._blockSize-4)}this._update(this._block);var c=this._hash();return e?c.toString(e):c},o.prototype._update=function(){throw new Error("_update must be implemented by subclass")},e.exports=o},function(e,t,r){"use strict";var n={};function o(code,e,t){t||(t=Error);var r=function(t){var r,n;function o(r,n,o){return t.call(this,function(t,r,n){return"string"==typeof e?e:e(t,r,n)}(r,n,o))||this}return n=t,(r=o).prototype=Object.create(n.prototype),r.prototype.constructor=r,r.__proto__=n,o}
2(t);r.prototype.name=t.name,r.prototype.code=code,n[code]=r}function c(e,t){if(Array.isArray(e)){var r=e.length;return e=e.map((function(i){return String(i)})),r>2?"one of ".concat(t," ").concat(e.slice(0,r-1).join(", "),", or ")+e[r-1]:2===r?"one of ".concat(t," ").concat(e[0]," or ").concat(e[1]):"of ".concat(t," ").concat(e[0])}return"of ".concat(t," ").concat(String(e))}o("ERR_INVALID_OPT_VALUE",(function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'}),TypeError),o("ERR_INVALID_ARG_TYPE",(function(e,t,r){var n,o,f,h;if("string"==typeof t&&(o="not ",t.substr(!f||f<0?0:+f,o.length)===o)?(n="must not be",t=t.replace(/^not /,"")):n="must be",function(e,t,r){return(void 0===r||r>e.length)&&(r=e.length),e.substring(r-t.length,r)===t}(e," argument"))h="The ".concat(e," ").concat(n," ").concat(c(t,"type"));else{var l=function(e,t,r){return"number"!=typeof r&&(r=0),!(r+t.length>e.length)&&-1!==e.indexOf(t,r)}(e,".")?"property":"argument";h='The "'.concat(e,'" ').concat(l," ").concat(n," ").concat(c(t,"type"))}return h+=". Received type ".concat(typeof r)}),TypeError),o("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),o("ERR_METHOD_NOT_IMPLEMENTED",(function(e){return"The "+e+" method is not implemented"})),o("ERR_STREAM_PREMATURE_CLOSE","Premature close"),o("ERR_STREAM_DESTROYED",(function(e){return"Cannot call "+e+" after a stream was destroyed"})),o("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),o("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),o("ERR_STREAM_WRITE_AFTER_END","write after end"),o("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),o("ERR_UNKNOWN_ENCODING",(function(e){return"Unknown encoding: "+e}),TypeError),o("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),e.exports.codes=n},function(e,t,r){"use strict";(function(t){var n=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};e.exports=d;var o=r(411),c=r(415);r(5)(d,o);for(var f=n(c.prototype),h=0;h<f.length;h++){var l=f[h];d.prototype[l]||(d.prototype[l]=c.prototype[l])}function d(e){if(!(this instanceof d))return new d(e);o.call(this,e),c.call(this,e),this.allowHalfOpen=!0,e&&(!1===e.readable&&(this.readable=!1),!1===e.writable&&(this.writable=!1),!1===e.allowHalfOpen&&(this.allowHalfOpen=!1,this.once("end",y)))}function y(){this._writableState.ended||t.nextTick(m,this)}function m(e){e.end()}Object.defineProperty(d.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(d.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(d.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(d.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed&&this._writableState.destroyed)},set:function(e){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=e,this._writableState.destroyed=e)}})}).call(this,r(17))},function(e,t,r){var n=r(11);r(18);var o=e.exports=n.pem=n.pem||{};function c(header){for(var e=header.name+": ",t=[],r=function(e,t){return" "+t},i=0;i<header.values.length;++i)t.push(header.values[i].replace(/^(\S+\r\n)/,r));e+=t.join(",")+"\r\n";var n=0,o=-1;for(i=0;i<e.length;++i,++n)if(n>65&&-1!==o){var c=e[o];","===c?(++o,e=e.substr(0,o)+"\r\n "+e.substr(o)):e=e.substr(0,o)+"\r\n"+c+e.substr(o+1),n=i-o-1,o=-1,++i}else" "!==e[i]&&"\t"!==e[i]&&","!==e[i]||(o=i);return e}function f(e){return e.replace(/^\s+/,"")}o.encode=function(e,t){t=t||{};var header,r="-----BEGIN "+e.type+"-----\r\n";if(e.procType&&(r+=c(header={name:"Proc-Type",values:[String(e.procType.version),e.procType.type]})),e.contentDomain&&(r+=c(header={name:"Content-Domain",values:[e.contentDomain]})),e.dekInfo&&(header={name:"DEK-Info",values:[e.dekInfo.algorithm]},e.dekInfo.parameters&&header.values.push(e.dekInfo.parameters),r+=c(header)),e.headers)for(var i=0;i<e.headers.length;++i)r+=c(e.headers[i]);return e.procType&&(r+="\r\n"),r+=n.util.encode64(e.body,t.maxline||64)+"\r\n",r+="-----END "+e.type+"-----\r\n"},o.decode=function(e){for(var t,r=[],o=/\s*-----BEGIN ([A-Z0-9- ]+)-----\r?\n?([\x21-\x7e\s]+?(?:\r?\n\r?\n))?([:A-Za-z0-9+\/=\s]+?)-----END \1-----/g,c=/([\x21-\x7e]+):\s*([\x21-\x7e\s^:]+)/,h=/\r?\n/;t=o.exec(e);){var l=t[1];"NEW CERTIFICATE REQUEST"===l&&(l="CERTIFICATE REQUEST");var d={type:l,procType:null,contentDomain:null,dekInfo:null,headers:[],body:n.util.decode64(t[3])};if(r.push(d),t[2]){for(var y=t[2].split(h),li=0;t&&li<y.length;){for(var line=y[li].replace(/\s+$/,""),m=li+1;m<y.length;++m){var v=y[m];if(!/\s/.test(v[0]))break;line+=v,li=m}if(t=line.match(c)){for(var header={name:t[1],values:[]},w=t[2].split(","),_=0;_<w.length;++_)header.values.push(f(w[_]));if(d.procType)if(d.contentDomain||"Content-Domain"!==header.name)if(d.dekInfo||"DEK-Info"!==header.name)d.headers.push(header);else{if(0===header.values.length)throw new Error('Invalid PEM formatted message. The "DEK-Info" header must have at least one subfield.');d.dekInfo={algorithm:w[0],parameters:w[1]||null}}else d.contentDomain=w[0]||"";else{if("Proc-Type"!==header.name)throw new Error('Invalid PEM formatted message. The first encapsulated header must be "Proc-Type".');if(2!==header.values.length)throw new Error('Invalid PEM formatted message. The "Proc-Type" header must have two subfields.');d.procType={version:w[0],type:w[1]}}}++li}if("ENCRYPTED"===d.procType&&!d.dekInfo)throw new Error('Invalid PEM formatted message. The "DEK-Info" header must be present if "Proc-Type" is "ENCRYPTED".')}}if(0===r.length)throw new Error("Invalid PEM formatted message.");return r}},,,,function(e,t,r){"use strict";var n={name:"NoSsr",functional:!0,props:{placeholder:String,placeholderTag:{type:String,default:"div"}},render:function(e,t){var r=t.parent,n=t.slots,o=t.props,c=n(),f=c.default;void 0===f&&(f=[]);var h=c.placeholder;return r._isMounted?f:(r.$once("hook:mounted",(function(){r.$forceUpdate()})),o.placeholderTag&&(o.placeholder||h)?e(o.placeholderTag,{class:["no-ssr-placeholder"]},o.placeholder||h):f.length>0?f.map((function(){return e(!1)})):e(!1))}};e.exports=n},,,,,,,,,,,,,,,,,function(e,t,r){(t=e.exports=r(376)).Stream=t,t.Readable=t,t.Writable=r(240),t.Duplex=r(88),t.Transform=r(379),t.PassThrough=r(709)},function(e,t,r){function n(e){return Object.prototype.toString.call(e)}t.isArray=function(e){return Array.isArray?Array.isArray(e):"[object Array]"===n(e)},t.isBoolean=function(e){return"boolean"==typeof e},t.isNull=function(e){return null===e},t.isNullOrUndefined=function(e){return null==e},t.isNumber=function(e){return"number"==typeof e},t.isString=function(e){return"string"==typeof e}
vendor: 6,011 bytes, line 2
2,t.isSymbol=function(e){return"symbol"==typeof e},t.isUndefined=function(e){return void 0===e},t.isRegExp=function(e){return"[object RegExp]"===n(e)},t.isObject=function(e){return"object"==typeof e&&null!==e},t.isDate=function(e){return"[object Date]"===n(e)},t.isError=function(e){return"[object Error]"===n(e)||e instanceof Error},t.isFunction=function(e){return"function"==typeof e},t.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},t.isBuffer=r(15).Buffer.isBuffer},function(e,t,r){"use strict";var n=r(5),o=r(244),c=r(246),f=r(247),h=r(82);function l(e){h.call(this,"digest"),this._hash=e}n(l,h),l.prototype._update=function(data){this._hash.update(data)},l.prototype._final=function(){return this._hash.digest()},e.exports=function(e){return"md5"===(e=e.toLowerCase())?new o:"rmd160"===e||"ripemd160"===e?new c:new l(f(e))}},function(e,t,r){e.exports=o;var n=r(73).EventEmitter;function o(){n.call(this)}r(5)(o,n),o.Readable=r(136),o.Writable=r(750),o.Duplex=r(751),o.Transform=r(752),o.PassThrough=r(753),o.Stream=o,o.prototype.pipe=function(e,t){var source=this;function r(t){e.writable&&!1===e.write(t)&&source.pause&&source.pause()}function o(){source.readable&&source.resume&&source.resume()}source.on("data",r),e.on("drain",o),e._isStdio||t&&!1===t.end||(source.on("end",f),source.on("close",h));var c=!1;function f(){c||(c=!0,e.end())}function h(){c||(c=!0,"function"==typeof e.destroy&&e.destroy())}function l(e){if(d(),0===n.listenerCount(this,"error"))throw e}function d(){source.removeListener("data",r),e.removeListener("drain",o),source.removeListener("end",f),source.removeListener("close",h),source.removeListener("error",l),e.removeListener("error",l),source.removeListener("end",d),source.removeListener("close",d),e.removeListener("close",d)}return source.on("error",l),e.on("error",l),source.on("end",d),source.on("close",d),e.on("close",d),e.emit("pipe",source),e}},function(e,t,r){(function(t){e.exports=function(a,b){for(var e=Math.min(a.length,b.length),r=new t(e),i=0;i<e;++i)r[i]=a[i]^b[i];return r}}).call(this,r(15).Buffer)},function(e,t,r){"use strict";var n=r(66),o=r(54);function c(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}t.BlockHash=c,c.prototype.update=function(e,t){if(e=n.toArray(e,t),this.pending?this.pending=this.pending.concat(e):this.pending=e,this.pendingTotal+=e.length,this.pending.length>=this._delta8){var r=(e=this.pending).length%this._delta8;this.pending=e.slice(e.length-r,e.length),0===this.pending.length&&(this.pending=null),e=n.join32(e,0,e.length-r,this.endian);for(var i=0;i<e.length;i+=this._delta32)this._update(e,i,i+this._delta32)}return this},c.prototype.digest=function(e){return this.update(this._pad()),o(null===this.pending),this._digest(e)},c.prototype._pad=function(){var e=this.pendingTotal,t=this._delta8,r=t-(e+this.padLength)%t,n=new Array(r+this.padLength);n[0]=128;for(var i=1;i<r;i++)n[i]=0;if(e<<=3,"big"===this.endian){for(var o=8;o<this.padLength;o++)n[i++]=0;n[i++]=0,n[i++]=0,n[i++]=0,n[i++]=0,n[i++]=e>>>24&255,n[i++]=e>>>16&255,n[i++]=e>>>8&255,n[i++]=255&e}else for(n[i++]=255&e,n[i++]=e>>>8&255,n[i++]=e>>>16&255,n[i++]=e>>>24&255,n[i++]=0,n[i++]=0,n[i++]=0,n[i++]=0,o=8;o<this.padLength;o++)n[i++]=0;return n}},function(e,t,r){"use strict";const n=r(5),o=r(259).Reporter,c=r(257).Buffer;function f(base,e){o.call(this,e),c.isBuffer(base)?(this.base=base,this.offset=0,this.length=base.length):this.error("Input not Buffer")}function h(e,t){if(Array.isArray(e))this.length=0,this.value=e.map((function(e){return h.isEncoderBuffer(e)||(e=new h(e,t)),this.length+=e.length,e}),this);else if("number"==typeof e){if(!(0<=e&&e<=255))return t.error("non-byte EncoderBuffer value");this.value=e,this.length=1}else if("string"==typeof e)this.value=e,this.length=c.byteLength(e);else{if(!c.isBuffer(e))return t.error("Unsupported type: "+typeof e);this.value=e,this.length=e.length}}n(f,o),t.DecoderBuffer=f,f.isDecoderBuffer=function(data){if(data instanceof f)return!0;return"object"==typeof data&&c.isBuffer(data.base)&&"DecoderBuffer"===data.constructor.name&&"number"==typeof data.offset&&"number"==typeof data.length&&"function"==typeof data.save&&"function"==typeof data.restore&&"function"==typeof data.isEmpty&&"function"==typeof data.readUInt8&&"function"==typeof data.skip&&"function"==typeof data.raw},f.prototype.save=function(){return{offset:this.offset,reporter:o.prototype.save.call(this)}},f.prototype.restore=function(e){const t=new f(this.base);return t.offset=e.offset,t.length=this.offset,this.offset=e.offset,o.prototype.restore.call(this,e.reporter),t},f.prototype.isEmpty=function(){return this.offset===this.length},f.prototype.readUInt8=function(e){return this.offset+1<=this.length?this.base.readUInt8(this.offset++,!0):this.error(e||"DecoderBuffer overrun")},f.prototype.skip=function(e,t){if(!(this.offset+e<=this.length))return this.error(t||"DecoderBuffer overrun");const r=new f(this.base);return r._reporterState=this._reporterState,r.offset=this.offset,r.length=this.offset+e,this.offset+=e,r},f.prototype.raw=function(e){return this.base.slice(e?e.offset:this.offset,this.length)},t.EncoderBuffer=h,h.isEncoderBuffer=function(data){if(data instanceof h)return!0;return"object"==typeof data&&"EncoderBuffer"===data.constructor.name&&"number"==typeof data.length&&"function"==typeof data.join},h.prototype.join=function(e,t){return e||(e=c.alloc(this.length)),t||(t=0),0===this.length||(Array.isArray(this.value)?this.value.forEach((function(r){r.join(e,t),t+=r.length})):("number"==typeof this.value?e[t]=this.value:"string"==typeof this.value?e.write(this.value,t):c.isBuffer(this.value)&&this.value.copy(e,t),t+=this.length)),e}},function(e,t,r){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0}),t.OAuth2Client=t.CertificateFormat=t.CodeChallengeMethod=void 0;const n=r(242),o=r(139),c=r(433),f=r(383),h=r(827),l=r(434);var d;!function(e){e.Plain="plain",e.S256="S256"}(t.CodeChallengeMethod||(t.CodeChallengeMethod={})),function(e){e.PEM="PEM",e.JWK="JWK"}(d=t.CertificateFormat||(t.CertificateFormat={}));class y extends h.AuthClient{constructor(e,t,r){super(),this.certificateCache={},this.certificateExpiry=null,this.certificateCacheFormat=d.PEM,this.refreshTokenPromises=new Map;const n=e&&"object"==typeof e?e:{clientId:e,clientSecret:t,redirectUri:r};this._clientId=n.clientId,this._clientSecret=n.clientSecret,this.redirectUri=n.redirectUri,this.eagerRefreshThresholdMillis=n.eagerRefreshThresholdMillis||3e5,this.forceRefreshOnFailure=!!n.forceRefreshOnFailure}generateAuthUrl(e={}){if(e.code_challenge_method&&!e.code_challenge)throw new Error("If a code_challenge_method is provided, code_challenge must be included.");e.response_type=e.response_type||"code",e.client_id=e.client_id||this._clientId,e.redirect_uri=e.redirect_uri||this.redirectUri,e.scope instanceof Array&&(e.scope=e.scope.join(" "));return y.GOOGLE_OAUTH2_AUTH_BASE_URL_+"?"+n.stringify(e)}generateCodeVerifier(){throw new Error("generateCodeVerifier is removed, please use generateCodeVerifierAsync instead.")}async generateCodeVerifierAsync(){const e=f.createCrypto(),t=e.randomBytesBase64(96).replace(/\+/g,"~").replace(/=/g,"_").replace(/\//g,"-");return{codeVerifier:t,codeChallenge:(await e.sha256DigestBase64(t)).split("=")[0].replace(/\+/g,"-").replace(/\//g,"_")}}getToken(e,t){const r="string"==typeof e?{code:e}:e;if(!t)return this.getTokenAsync(r);this.getTokenAsync(r).then((e=>t(null,e.tokens,e.res)),(e=>t(e,null,e.response)))}
2async getTokenAsync(e){const t=y.GOOGLE_OAUTH2_TOKEN_URL_,r={code:e.code,client_id:e.client_id||this._clientId,client_secret:this._clientSecret,redirect_uri:e.redirect_uri||this.redirectUri,grant_type:"authorization_code",code_verifier:e.codeVerifier},o=await this.transporter.request({method:"POST",url:t,data:n.stringify(r),headers:{"Content-Type":"application/x-www-form-urlencoded"}}),c=o.data;return o.data&&o.data.expires_in&&(c.expiry_date=(new Date).getTime()+1e3*o.data.expires_in,delete c.expires_in),this.emit("tokens",c),{tokens:c,res:o}}async refreshToken(e){if(!e)return this.refreshTokenNoCache(e);if(this.refreshTokenPromises.has(e))return this.refreshTokenPromises.get(e);const p=this.refreshTokenNoCache(e).then((t=>(this.refreshTokenPromises.delete(e),t)),(t=>{throw this.refreshTokenPromises.delete(e),t}));return this.refreshTokenPromises.set(e,p),p}async refreshTokenNoCache(e){if(!e)throw new Error("No refresh token is set.");const t=y.GOOGLE_OAUTH2_TOKEN_URL_,data={refresh_token:e,client_id:this._clientId,client_secret:this._clientSecret,grant_type:"refresh_token"},r=await this.transporter.request({method:"POST",url:t,data:n.stringify(data),headers:{"Content-Type":"application/x-www-form-urlencoded"}}),o=r.data;return r.data&&r.data.expires_in&&(o.expiry_date=(new Date).getTime()+1e3*r.data.expires_in,delete o.expires_in),this.emit("tokens",o),{tokens:o,res:r}}refreshAccessToken(e){if(!e)return this.refreshAccessTokenAsync();this.refreshAccessTokenAsync().then((t=>e(null,t.credentials,t.res)),e)}async refreshAccessTokenAsync(){const e=await this.refreshToken(this.credentials.refresh_token),t=e.tokens;return t.refresh_token=this.credentials.refresh_token,this.credentials=t,{credentials:this.credentials,res:e.res}}getAccessToken(e){if(!e)return this.getAccessTokenAsync();this.getAccessTokenAsync().then((t=>e(null,t.token,t.res)),e)}async getAccessTokenAsync(){if(!this.credentials.access_token||this.isTokenExpiring()){if(!this.credentials.refresh_token)throw new Error("No refresh token is set.");const e=await this.refreshAccessTokenAsync();if(!e.credentials||e.credentials&&!e.credentials.access_token)throw new Error("Could not refresh access token.");return{token:e.credentials.access_token,res:e.res}}return{token:this.credentials.access_token}}async getRequestHeaders(e){return(await this.getRequestMetadataAsync(e)).headers}async getRequestMetadataAsync(e){const t=this.credentials;if(!t.access_token&&!t.refresh_token&&!this.apiKey)throw new Error("No access, refresh token or API key is set.");if(t.access_token&&!this.isTokenExpiring()){t.token_type=t.token_type||"Bearer";const e={Authorization:t.token_type+" "+t.access_token};return{headers:this.addSharedMetadataHeaders(e)}}if(this.apiKey)return{headers:{"X-Goog-Api-Key":this.apiKey}};let r=null,n=null;try{r=await this.refreshToken(t.refresh_token),n=r.tokens}catch(e){const t=e;throw!t.response||403!==t.response.status&&404!==t.response.status||(t.message=`Could not refresh access token: ${t.message}`),t}const o=this.credentials;o.token_type=o.token_type||"Bearer",n.refresh_token=o.refresh_token,this.credentials=n;const c={Authorization:o.token_type+" "+n.access_token};return{headers:this.addSharedMetadataHeaders(c),res:r.res}}static getRevokeTokenUrl(e){const t=n.stringify({token:e});return`${y.GOOGLE_OAUTH2_REVOKE_URL_}?${t}`}revokeToken(e,t){const r={url:y.getRevokeTokenUrl(e),method:"POST"};if(!t)return this.transporter.request(r);this.transporter.request(r).then((e=>t(null,e)),t)}revokeCredentials(e){if(!e)return this.revokeCredentialsAsync();this.revokeCredentialsAsync().then((t=>e(null,t)),e)}async revokeCredentialsAsync(){const e=this.credentials.access_token;if(this.credentials={},e)return this.revokeToken(e);throw new Error("No access token to revoke.")}request(e,t){if(!t)return this.requestAsync(e);this.requestAsync(e).then((e=>t(null,e)),(e=>t(e,e.response)))}async requestAsync(e,t=!1){let r;try{const t=await this.getRequestMetadataAsync(e.url);e.headers=e.headers||{},t.headers&&t.headers["x-goog-user-project"]&&(e.headers["x-goog-user-project"]=t.headers["x-goog-user-project"]),t.headers&&t.headers.Authorization&&(e.headers.Authorization=t.headers.Authorization),this.apiKey&&(e.headers["X-Goog-Api-Key"]=this.apiKey),r=await this.transporter.request(e)}catch(r){const n=r.response;if(n){const r=n.status,c=this.credentials&&this.credentials.access_token&&this.credentials.refresh_token&&(!this.credentials.expiry_date||this.forceRefreshOnFailure),f=n.config.data instanceof o.Readable,h=401===r||403===r;if(!t&&h&&!f&&c)return await this.refreshAccessTokenAsync(),this.requestAsync(e,!0)}throw r}return r}verifyIdToken(e,t){if(t&&"function"!=typeof t)throw new Error("This method accepts an options object as the first parameter, which includes the idToken, audience, and maxExpiry.");if(!t)return this.verifyIdTokenAsync(e);this.verifyIdTokenAsync(e).then((e=>t(null,e)),t)}
2async verifyIdTokenAsync(e){if(!e.idToken)throw new Error("The verifyIdToken method requires an ID Token");const t=await this.getFederatedSignonCertsAsync();return await this.verifySignedJwtWithCertsAsync(e.idToken,t.certs,e.audience,y.ISSUERS_,e.maxExpiry)}async getTokenInfo(e){const{data:data}=await this.transporter.request({method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded",Authorization:`Bearer ${e}`},url:y.GOOGLE_TOKEN_INFO_URL}),t=Object.assign({expiry_date:(new Date).getTime()+1e3*data.expires_in,scopes:data.scope.split(" ")},data);return delete t.expires_in,delete t.scope,t}getFederatedSignonCerts(e){if(!e)return this.getFederatedSignonCertsAsync();this.getFederatedSignonCertsAsync().then((t=>e(null,t.certs,t.res)),e)}async getFederatedSignonCertsAsync(){const e=(new Date).getTime(),t=f.hasBrowserCrypto()?d.JWK:d.PEM;if(this.certificateExpiry&&e<this.certificateExpiry.getTime()&&this.certificateCacheFormat===t)return{certs:this.certificateCache,format:t};let r,n;switch(t){case d.PEM:n=y.GOOGLE_OAUTH2_FEDERATED_SIGNON_PEM_CERTS_URL_;break;case d.JWK:n=y.GOOGLE_OAUTH2_FEDERATED_SIGNON_JWK_CERTS_URL_;break;default:throw new Error(`Unsupported certificate format ${t}`)}try{r=await this.transporter.request({url:n})}catch(e){throw e.message=`Failed to retrieve verification certificates: ${e.message}`,e}const o=r?r.headers["cache-control"]:void 0;let c=-1;if(o){const e=new RegExp("max-age=([0-9]*)").exec(o);e&&2===e.length&&(c=1e3*Number(e[1]))}let h={};switch(t){case d.PEM:h=r.data;break;case d.JWK:for(const e of r.data.keys)h[e.kid]=e;break;default:throw new Error(`Unsupported certificate format ${t}`)}const l=new Date;return this.certificateExpiry=-1===c?null:new Date(l.getTime()+c),this.certificateCache=h,this.certificateCacheFormat=t,{certs:h,format:t,res:r}}getIapPublicKeys(e){if(!e)return this.getIapPublicKeysAsync();this.getIapPublicKeysAsync().then((t=>e(null,t.pubkeys,t.res)),e)}async getIapPublicKeysAsync(){let e;
2const t=y.GOOGLE_OAUTH2_IAP_PUBLIC_KEY_URL_;try{e=await this.transporter.request({url:t})}catch(e){throw e.message=`Failed to retrieve verification certificates: ${e.message}`,e}return{pubkeys:e.data,res:e}}verifySignedJwtWithCerts(){throw new Error("verifySignedJwtWithCerts is removed, please use verifySignedJwtWithCertsAsync instead.")}async verifySignedJwtWithCertsAsync(e,t,r,n,o){const h=f.createCrypto();o||(o=y.MAX_TOKEN_LIFETIME_SECS_);const d=e.split(".");if(3!==d.length)throw new Error("Wrong number of segments in token: "+e);const m=d[0]+"."+d[1];let v,w,_=d[2];try{v=JSON.parse(h.decodeBase64StringUtf8(d[0]))}catch(e){throw e.message=`Can't parse token envelope: ${d[0]}': ${e.message}`,e}if(!v)throw new Error("Can't parse token envelope: "+d[0]);try{w=JSON.parse(h.decodeBase64StringUtf8(d[1]))}catch(e){throw e.message=`Can't parse token payload '${d[0]}`,e}if(!w)throw new Error("Can't parse token payload: "+d[1]);if(!Object.prototype.hasOwnProperty.call(t,v.kid))throw new Error("No pem found for envelope: "+JSON.stringify(v));const E=t[v.kid];"ES256"===v.alg&&(_=c.joseToDer(_,"ES256").toString("base64"));if(!await h.verify(E,m,_))throw new Error("Invalid token signature: "+e);if(!w.iat)throw new Error("No issue time in token: "+JSON.stringify(w));if(!w.exp)throw new Error("No expiration time in token: "+JSON.stringify(w));const S=Number(w.iat);if(isNaN(S))throw new Error("iat field using invalid format");const C=Number(w.exp);if(isNaN(C))throw new Error("exp field using invalid format");const A=(new Date).getTime()/1e3;if(C>=A+o)throw new Error("Expiration time too far in future: "+JSON.stringify(w));const T=S-y.CLOCK_SKEW_SECS_,k=C+y.CLOCK_SKEW_SECS_;if(A<T)throw new Error("Token used too early, "+A+" < "+T+": "+JSON.stringify(w));if(A>k)throw new Error("Token used too late, "+A+" > "+k+": "+JSON.stringify(w));if(n&&n.indexOf(w.iss)<0)throw new Error("Invalid issuer, expected one of ["+n+"], but got "+w.iss);if(null!=r){const e=w.aud;let t=!1;if(t=r.constructor===Array?r.indexOf(e)>-1:e===r,!t)throw new Error("Wrong recipient, payload audience != requiredAudience")}return new l.LoginTicket(v,w)}isTokenExpiring(){const e=this.credentials.expiry_date;return!!e&&e<=(new Date).getTime()+this.eagerRefreshThresholdMillis}}t.OAuth2Client=y,y.GOOGLE_TOKEN_INFO_URL="https://oauth2.googleapis.com/tokeninfo",y.GOOGLE_OAUTH2_AUTH_BASE_URL_="https://accounts.google.com/o/oauth2/v2/auth",y.GOOGLE_OAUTH2_TOKEN_URL_="https://oauth2.googleapis.com/token",y.GOOGLE_OAUTH2_REVOKE_URL_="https://oauth2.googleapis.com/revoke",y.GOOGLE_OAUTH2_FEDERATED_SIGNON_PEM_CERTS_URL_="https://www.googleapis.com/oauth2/v1/certs",y.GOOGLE_OAUTH2_FEDERATED_SIGNON_JWK_CERTS_URL_="https://www.googleapis.com/oauth2/v3/certs",y.GOOGLE_OAUTH2_IAP_PUBLIC_KEY_URL_="https://www.gstatic.com/iap/verify/public_key",y.CLOCK_SKEW_SECS_=300,y.MAX_TOKEN_LIFETIME_SECS_=86400,y.ISSUERS_=["accounts.google.com","https://accounts.google.com"]},function(e,t,r){var n=r(11);r(74),r(18),(e.exports=n.hmac=n.hmac||{}).create=function(){var e=null,t=null,r=null,o=null,c={start:function(c,f){if(null!==c)if("string"==typeof c){if(!((c=c.toLowerCase())in n.md.algorithms))throw new Error('Unknown hash algorithm "'+c+'"');t=n.md.algorithms[c].create()}else t=c;if(null===f)f=e;else{if("string"==typeof f)f=n.util.createBuffer(f);else if(n.util.isArray(f)){var h=f;f=n.util.createBuffer();for(var i=0;i<h.length;++i)f.putByte(h[i])}var l=f.length();l>t.blockLength&&(t.start(),t.update(f.bytes()),f=t.digest()),r=n.util.createBuffer(),o=n.util.createBuffer(),l=f.length();for(i=0;i<l;++i){h=f.at(i);r.putByte(54^h),o.putByte(92^h)}if(l<t.blockLength)for(h=t.blockLength-l,i=0;i<h;++i)r.putByte(54),o.putByte(92);e=f,r=r.bytes(),o=o.bytes()}t.start(),t.update(r)},update:function(e){t.update(e)},getMac:function(){var e=t.digest().bytes();return t.start(),t.update(o),t.update(e),t.digest()}};return c.digest=c.getMac,c}},function(e,t,r){var n=r(11);r(74),r(18);var o=e.exports=n.sha1=n.sha1||{};n.md.sha1=n.md.algorithms.sha1=o,o.create=function(){f||(c=String.fromCharCode(128),c+=n.util.fillString(String.fromCharCode(0),64),f=!0);var e=null,t=n.util.createBuffer(),r=new Array(80),o={algorithm:"sha1",blockLength:64,digestLength:20,messageLength:0,fullMessageLength:null,messageLengthSize:8,start:function(){o.messageLength=0,o.fullMessageLength=o.messageLength64=[];for(var r=o.messageLengthSize/4,i=0;i<r;++i)o.fullMessageLength.push(0);return t=n.util.createBuffer(),e={h0:1732584193,h1:4023233417,h2:2562383102,h3:271733878,h4:3285377520},o}};return o.start(),o.update=function(c,f){"utf8"===f&&(c=n.util.encodeUtf8(c));var l=c.length;o.messageLength+=l,l=[l/4294967296>>>0,l>>>0];for(var i=o.fullMessageLength.length-1;i>=0;--i)o.fullMessageLength[i]+=l[1],l[1]=l[0]+(o.fullMessageLength[i]/4294967296>>>0),o.fullMessageLength[i]=o.fullMessageLength[i]>>>0,l[0]=l[1]/4294967296>>>0;return t.putBytes(c),h(e,r,t),(t.read>2048||0===t.length())&&t.compact(),o},o.digest=function(){var f=n.util.createBuffer();f.putBytes(t.bytes());var l,d=o.fullMessageLength[o.fullMessageLength.length-1]+o.messageLengthSize&o.blockLength-1;f.putBytes(c.substr(0,o.blockLength-d));for(var y=8*o.fullMessageLength[0],i=0;i<o.fullMessageLength.length-1;++i)y+=(l=8*o.fullMessageLength[i+1])/4294967296>>>0,f.putInt32(y>>>0),y=l>>>0;f.putInt32(y);var m={h0:e.h0,h1:e.h1,h2:e.h2,h3:e.h3,h4:e.h4};h(m,r,f);var v=n.util.createBuffer();return v.putInt32(m.h0),v.putInt32(m.h1),v.putInt32(m.h2),v.putInt32(m.h3),v.putInt32(m.h4),v},o};var c=null,f=!1;function h(s,e,t){for(var r,a,b,n,o,c,i,f=t.length();f>=64;){for(a=s.h0,b=s.h1,n=s.h2,o=s.h3,c=s.h4,i=0;i<16;++i)r=t.getInt32(),e[i]=r,r=(a<<5|a>>>27)+(o^b&(n^o))+c+1518500249+r,c=o,o=n,n=(b<<30|b>>>2)>>>0,b=a,a=r;for(;i<20;++i)r=(r=e[i-3]^e[i-8]^e[i-14]^e[i-16])<<1|r>>>31,e[i]=r,r=(a<<5|a>>>27)+(o^b&(n^o))+c+1518500249+r,c=o,o=n,n=(b<<30|b>>>2)>>>0,b=a,a=r;for(;i<32;++i)r=(r=e[i-3]^e[i-8]^e[i-14]^e[i-16])<<1|r>>>31,e[i]=r,r=(a<<5|a>>>27)+(b^n^o)+c+1859775393+r,c=o,o=n,n=(b<<30|b>>>2)>>>0,b=a,a=r;for(;i<40;++i)r=(r=e[i-6]^e[i-16]^e[i-28]^e[i-32])<<2|r>>>30,e[i]=r,r=(a<<5|a>>>27)+(b^n^o)+c+1859775393+r,c=o,o=n,n=(b<<30|b>>>2)>>>0,b=a,a=r;for(;i<60;++i)r=(r=e[i-6]^e[i-16]^e[i-28]^e[i-32])<<2|r>>>30,e[i]=r,r=(a<<5|a>>>27)+(b&n|o&(b^n))+c+2400959708+r,c=o,o=n,n=(b<<30|b>>>2)>>>0,b=a,a=r;for(;i<80;++i)r=(r=e[i-6]^e[i-16]^e[i-28]^e[i-32])<<2|r>>>30,e[i]=r,r=(a<<5|a>>>27)+(b^n^o)+c+3395469782+r,c=o,o=n,n=(b<<30|b>>>2)>>>0,b=a,a=r;s.h0=s.h0+a|0,s.h1=s.h1+b|0,s.h2=s.h2+n|0,s.h3=s.h3+o|0,s.h4=s.h4+c|0,f-=64}}},,function(e,t,r){"use strict";var n={};n.message=r(609),n.message=n.message.default||n.message,t.a=n},,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,r){(function(e,n){var o;(function(){var c,f="Expected a function",h="__lodash_hash_undefined__",l="__lodash_placeholder__",d=16,y=32,m=64,v=128,w=256,_=1/0,E=9007199254740991,S=NaN,C=4294967295,A=[["ary",v],["bind",1],["bindKey",2],["curry",8],["curryRight",d],["flip",512],["partial",y],["partialRight",m],["rearg",w]],T="[object Arguments]",k="[object Array]",I="[object Boolean]",M="[object Date]",R="[object Error]",x="[object Function]",B="[object GeneratorFunction]",N="[object Map]",O="[object Number]",L="[object Object]",P="[object Promise]",D="[object RegExp]",j="[object Set]",U="[object String]",F="[object Symbol]",V="[object WeakMap]",K="[object ArrayBuffer]",z="[object DataView]",H="[object Float32Array]",G="[object Float64Array
vendor: 7,021 bytes, line 2
2]",$="[object Int8Array]",W="[object Int16Array]",Y="[object Int32Array]",X="[object Uint8Array]",J="[object Uint8ClampedArray]",Q="[object Uint16Array]",Z="[object Uint32Array]",ee=/\b__p \+= '';/g,te=/\b(__p \+=) '' \+/g,re=/(__e\(.*?\)|\b__t\)) \+\n'';/g,ne=/&(?:amp|lt|gt|quot|#39);/g,ie=/[&<>"']/g,ae=RegExp(ne.source),oe=RegExp(ie.source),se=/<%-([\s\S]+?)%>/g,ue=/<%([\s\S]+?)%>/g,ce=/<%=([\s\S]+?)%>/g,fe=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,he=/^\w*$/,le=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,de=/[\\^$.*+?()[\]{}|]/g,pe=RegExp(de.source),ge=/^\s+/,ye=/\s/,me=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ve=/\{\n\/\* \[wrapped with (.+)\] \*/,be=/,? & /,we=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,_e=/[()=,{}\[\]\/\s]/,Ee=/\\(\\)?/g,Se=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Ce=/\w*$/,Ae=/^[-+]0x[0-9a-f]+$/i,Te=/^0b[01]+$/i,ke=/^\[object .+?Constructor\]$/,Ie=/^0o[0-7]+$/i,Me=/^(?:0|[1-9]\d*)$/,Re=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,xe=/($^)/,Be=/['\n\r\u2028\u2029\\]/g,Ne="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Oe="\\u2700-\\u27bf",Le="a-z\\xdf-\\xf6\\xf8-\\xff",Pe="A-Z\\xc0-\\xd6\\xd8-\\xde",De="\\ufe0e\\ufe0f",je="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Ue="['â]",Fe="[\\ud800-\\udfff]",qe="["+je+"]",Ve="["+Ne+"]",Ke="\\d+",ze="[\\u2700-\\u27bf]",He="["+Le+"]",Ge="[^\\ud800-\\udfff"+je+Ke+Oe+Le+Pe+"]",$e="\\ud83c[\\udffb-\\udfff]",We="[^\\ud800-\\udfff]",Ye="(?:\\ud83c[\\udde6-\\uddff]){2}",Xe="[\\ud800-\\udbff][\\udc00-\\udfff]",Je="["+Pe+"]",Qe="(?:"+He+"|"+Ge+")",Ze="(?:"+Je+"|"+Ge+")",et="(?:['â](?:d|ll|m|re|s|t|ve))?",tt="(?:['â](?:D|LL|M|RE|S|T|VE))?",nt="(?:"+Ve+"|"+$e+")"+"?",it="[\\ufe0e\\ufe0f]?",at=it+nt+("(?:\\u200d(?:"+[We,Ye,Xe].join("|")+")"+it+nt+")*"),ot="(?:"+[ze,Ye,Xe].join("|")+")"+at,st="(?:"+[We+Ve+"?",Ve,Ye,Xe,Fe].join("|")+")",ut=RegExp(Ue,"g"),ct=RegExp(Ve,"g"),ft=RegExp($e+"(?="+$e+")|"+st+at,"g"),ht=RegExp([Je+"?"+He+"+"+et+"(?="+[qe,Je,"$"].join("|")+")",Ze+"+"+tt+"(?="+[qe,Je+Qe,"$"].join("|")+")",Je+"?"+Qe+"+"+et,Je+"+"+tt,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Ke,ot].join("|"),"g"),lt=RegExp("[\\u200d\\ud800-\\udfff"+Ne+De+"]"),pt=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,gt=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],yt=-1,mt={};mt[H]=mt[G]=mt[$]=mt[W]=mt[Y]=mt[X]=mt[J]=mt[Q]=mt[Z]=!0,mt[T]=mt[k]=mt[K]=mt[I]=mt[z]=mt[M]=mt[R]=mt[x]=mt[N]=mt[O]=mt[L]=mt[D]=mt[j]=mt[U]=mt[V]=!1;var vt={};vt[T]=vt[k]=vt[K]=vt[z]=vt[I]=vt[M]=vt[H]=vt[G]=vt[$]=vt[W]=vt[Y]=vt[N]=vt[O]=vt[L]=vt[D]=vt[j]=vt[U]=vt[F]=vt[X]=vt[J]=vt[Q]=vt[Z]=!0,vt[R]=vt[x]=vt[V]=!1;var bt={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},wt=parseFloat,_t=parseInt,Et="object"==typeof e&&e&&e.Object===Object&&e,St="object"==typeof self&&self&&self.Object===Object&&self,Ct=Et||St||Function("return this")(),At=t&&!t.nodeType&&t,Tt=At&&"object"==typeof n&&n&&!n.nodeType&&n,kt=Tt&&Tt.exports===At,It=kt&&Et.process,Mt=function(){try{var e=Tt&&Tt.require&&Tt.require("util").types;return e||It&&It.binding&&It.binding("util")}catch(e){}}(),Rt=Mt&&Mt.isArrayBuffer,xt=Mt&&Mt.isDate,Bt=Mt&&Mt.isMap,Nt=Mt&&Mt.isRegExp,Ot=Mt&&Mt.isSet,Lt=Mt&&Mt.isTypedArray;function Pt(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}function Dt(e,t,r,n){for(var o=-1,c=null==e?0:e.length;++o<c;){var f=e[o];t(n,f,r(f),e)}return n}function jt(e,t){for(var r=-1,n=null==e?0:e.length;++r<n&&!1!==t(e[r],r,e););return e}function Ut(e,t){for(var r=null==e?0:e.length;r--&&!1!==t(e[r],r,e););return e}function Ft(e,t){for(var r=-1,n=null==e?0:e.length;++r<n;)if(!t(e[r],r,e))return!1;return!0}function qt(e,t){for(var r=-1,n=null==e?0:e.length,o=0,c=[];++r<n;){var f=e[r];t(f,r,e)&&(c[o++]=f)}return c}function Vt(e,t){return!!(null==e?0:e.length)&&Qt(e,t,0)>-1}function Kt(e,t,r){for(var n=-1,o=null==e?0:e.length;++n<o;)if(r(t,e[n]))return!0;return!1}function zt(e,t){for(var r=-1,n=null==e?0:e.length,o=Array(n);++r<n;)o[r]=t(e[r],r,e);return o}function Ht(e,t){for(var r=-1,n=t.length,o=e.length;++r<n;)e[o+r]=t[r];return e}function Gt(e,t,r,n){var o=-1,c=null==e?0:e.length;for(n&&c&&(r=e[++o]);++o<c;)r=t(r,e[o],o,e);return r}function $t(e,t,r,n){var o=null==e?0:e.length;for(n&&o&&(r=e[--o]);o--;)r=t(r,e[o],o,e);return r}function Wt(e,t){for(var r=-1,n=null==e?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1}var Yt=nr("length");function Xt(e,t,r){var n;return r(e,(function(e,r,o){if(t(e,r,o))return n=r,!1})),n}function Jt(e,t,r,n){for(var o=e.length,c=r+(n?1:-1);n?c--:++c<o;)if(t(e[c],c,e))return c;return-1}function Qt(e,t,r){return t==t?function(e,t,r){var n=r-1,o=e.length;for(;++n<o;)if(e[n]===t)return n;return-1}(e,t,r):Jt(e,er,r)}function Zt(e,t,r,n){for(var o=r-1,c=e.length;++o<c;)if(n(e[o],t))return o;return-1}function er(e){return e!=e}function rr(e,t){var r=null==e?0:e.length;return r?or(e,t)/r:S}function nr(e){return function(object){return null==object?c:object[e]}}function ir(object){return function(e){return null==object?c:object[e]}}function ar(e,t,r,n,o){return o(e,(function(e,o,c){r=n?(n=!1,e):t(r,e,o,c)})),r}function or(e,t){for(var r,n=-1,o=e.length;++n<o;){var f=t(e[n]);f!==c&&(r=r===c?f:r+f)}return r}function sr(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}function ur(e){return e?e.slice(0,Ir(e)+1).replace(ge,""):e}function cr(e){return function(t){return e(t)}}function fr(object,e){return zt(e,(function(e){return object[e]}))}function lr(e,t){return e.has(t)}function dr(e,t){for(var r=-1,n=e.length;++r<n&&Qt(t,e[r],0)>-1;);return r}function pr(e,t){for(var r=e.length;r--&&Qt(t,e[r],0)>-1;);return r}function gr(e,t){for(var r=e.length,n=0;r--;)e[r]===t&&++n;return n}var yr=ir({"Ã":"A","Ã":"A","Ã":"A","Ã":"A","Ã":"A","Ã
":"A","à ":"a","á":"a","â":"a","ã":"a","ä":"a","Ã¥":"a","Ã":"C","ç":"c","Ã":"D","ð":"d","Ã":"E","Ã":"E","Ã":"E","Ã":"E","è":"e","é":"e","ê":"e","ë":"e","Ã":"I","Ã":"I","Ã":"I","Ã":"I","ì":"i","Ã":"i","î":"i","ï":"i","Ã":"N","ñ":"n","Ã":"O","Ã":"O","Ã":"O","Ã":"O","Ã":"O","Ã":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ã":"U","Ã":"U","Ã":"U","Ã":"U","ù":"u","ú":"u","û":"u","ü":"u","Ã":"Y","ý":"y","ÿ":"y","Ã":"Ae","æ":"ae","Ã":"Th","þ":"th","Ã":"ss","Ä":"A","Ä":"A","Ä":"A","Ä":"a","Ä":"a","Ä
":"a","Ä":"C","Ä":"C","Ä":"C","Ä":"C","Ä":"
2c","Ä":"c","Ä":"c","Ä":"c","Ä":"D","Ä":"D","Ä":"d","Ä":"d","Ä":"E","Ä":"E","Ä":"E","Ä":"E","Ä":"E","Ä":"e","Ä":"e","Ä":"e","Ä":"e","Ä":"e","Ä":"G","Ä":"G","Ä ":"G","Ä¢":"G","Ä":"g","Ä":"g","Ä¡":"g","Ä£":"g","Ĥ":"H","Ħ":"H","Ä¥":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Ä®":"I","İ":"I","Ä©":"i","Ä«":"i","Ä":"i","į":"i","ı":"i","Ä´":"J","ĵ":"j","Ķ":"K","Ä·":"k","ĸ":"k","Ĺ":"L","Ä»":"L","Ľ":"L","Ä¿":"L","Å":"L","ĺ":"l","ļ":"l","ľ":"l","Å":"l","Å":"l","Å":"N","Å
":"N","Å":"N","Å":"N","Å":"n","Å":"n","Å":"n","Å":"n","Å":"O","Å":"O","Å":"O","Å":"o","Å":"o","Å":"o","Å":"R","Å":"R","Å":"R","Å":"r","Å":"r","Å":"r","Å":"S","Å":"S","Å":"S","Å ":"S","Å":"s","Å":"s","Å":"s","Å¡":"s","Å¢":"T","Ť":"T","Ŧ":"T","Å£":"t","Å¥":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Å®":"U","Ű":"U","Ų":"U","Å©":"u","Å«":"u","Å":"u","ů":"u","ű":"u","ų":"u","Å´":"W","ŵ":"w","Ŷ":"Y","Å·":"y","Ÿ":"Y","Ź":"Z","Å»":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Å":"Oe","Å":"oe","Å":"'n","Å¿":"s"}),mr=ir({"&":"&","<":"<",">":">",'"':""","'":"'"});function vr(e){return"\\"+bt[e]}function wr(e){return lt.test(e)}function _r(map){var e=-1,t=Array(map.size);return map.forEach((function(r,n){t[++e]=[n,r]})),t}function Er(e,t){return function(r){return e(t(r))}}function Sr(e,t){for(var r=-1,n=e.length,o=0,c=[];++r<n;){var f=e[r];f!==t&&f!==l||(e[r]=l,c[o++]=r)}return c}function Cr(e){var t=-1,r=Array(e.size);return e.forEach((function(e){r[++t]=e})),r}function Ar(e){var t=-1,r=Array(e.size);return e.forEach((function(e){r[++t]=[e,e]})),r}function Tr(e){return wr(e)?function(e){var t=ft.lastIndex=0;for(;ft.test(e);)++t;return t}(e):Yt(e)}function kr(e){return wr(e)?function(e){return e.match(ft)||[]}(e):function(e){return e.split("")}(e)}function Ir(e){for(var t=e.length;t--&&ye.test(e.charAt(t)););return t}var Mr=ir({"&":"&","<":"<",">":">",""":'"',"'":"'"});var Rr=function e(t){var r,n=(t=null==t?Ct:Rr.defaults(Ct.Object(),t,Rr.pick(Ct,gt))).Array,o=t.Date,ye=t.Error,Ne=t.Function,Oe=t.Math,Le=t.Object,Pe=t.RegExp,De=t.String,je=t.TypeError,Ue=n.prototype,Fe=Ne.prototype,qe=Le.prototype,Ve=t["__core-js_shared__"],Ke=Fe.toString,ze=qe.hasOwnProperty,He=0,Ge=(r=/[^.]+$/.exec(Ve&&Ve.keys&&Ve.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"",$e=qe.toString,We=Ke.call(Le),Ye=Ct._,Xe=Pe("^"+Ke.call(ze).replace(de,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Je=kt?t.Buffer:c,Qe=t.Symbol,Ze=t.Uint8Array,et=Je?Je.allocUnsafe:c,tt=Er(Le.getPrototypeOf,Le),nt=Le.create,it=qe.propertyIsEnumerable,at=Ue.splice,ot=Qe?Qe.isConcatSpreadable:c,st=Qe?Qe.iterator:c,ft=Qe?Qe.toStringTag:c,lt=function(){try{var e=ka(Le,"defineProperty");return e({},"",{}),e}catch(e){}}(),bt=t.clearTimeout!==Ct.clearTimeout&&t.clearTimeout,Et=o&&o.now!==Ct.Date.now&&o.now,St=t.setTimeout!==Ct.setTimeout&&t.setTimeout,At=Oe.ceil,Tt=Oe.floor,It=Le.getOwnPropertySymbols,Mt=Je?Je.isBuffer:c,Yt=t.isFinite,ir=Ue.join,xr=Er(Le.keys,Le),Br=Oe.max,Nr=Oe.min,Or=o.now,Lr=t.parseInt,Pr=Oe.random,Dr=Ue.reverse,jr=ka(t,"DataView"),Ur=ka(t,"Map"),Fr=ka(t,"Promise"),qr=ka(t,"Set"),Vr=ka(t,"WeakMap"),Kr=ka(Le,"create"),zr=Vr&&new Vr,Hr={},Gr=eo(jr),$r=eo(Ur),Wr=eo(Fr),Yr=eo(qr),Xr=eo(Vr),Jr=Qe?Qe.prototype:c,Qr=Jr?Jr.valueOf:c,Zr=Jr?Jr.toString:c;function en(e){if(ys(e)&&!as(e)&&!(e instanceof an)){if(e instanceof nn)return e;if(ze.call(e,"__wrapped__"))return to(e)}return new nn(e)}var tn=function(){function object(){}return function(e){if(!gs(e))return{};if(nt)return nt(e);object.prototype=e;var t=new object;return object.prototype=c,t}}();function rn(){}function nn(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=c}function an(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=C,this.__views__=[]}function on(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function sn(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function un(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function cn(e){var t=-1,r=null==e?0:e.length;for(this.__data__=new un;++t<r;)this.add(e[t])}function fn(e){var data=this.__data__=new sn(e);this.size=data.size}function hn(e,t){var r=as(e),n=!r&&is(e),o=!r&&!n&&cs(e),c=!r&&!n&&!o&&Cs(e),f=r||n||o||c,h=f?sr(e.length,De):[],l=h.length;for(var d in e)!t&&!ze.call(e,d)||f&&("length"==d||o&&("offset"==d||"parent"==d)||c&&
vendor: 8,062 bytes, line 2
2("buffer"==d||"byteLength"==d||"byteOffset"==d)||Oa(d,l))||h.push(d);return h}function ln(e){var t=e.length;return t?e[ci(0,t-1)]:c}function dn(e,t){return Ja(Hi(e),En(t,0,e.length))}function pn(e){return Ja(Hi(e))}function gn(object,e,t){(t!==c&&!ts(object[e],t)||t===c&&!(e in object))&&wn(object,e,t)}function yn(object,e,t){var r=object[e];ze.call(object,e)&&ts(r,t)&&(t!==c||e in object)||wn(object,e,t)}function mn(e,t){for(var r=e.length;r--;)if(ts(e[r][0],t))return r;return-1}function vn(e,t,r,n){return kn(e,(function(e,o,c){t(n,e,r(e),c)})),n}function bn(object,source){return object&&Gi(source,Gs(source),object)}function wn(object,e,t){"__proto__"==e&<?lt(object,e,{configurable:!0,enumerable:!0,value:t,writable:!0}):object[e]=t}function _n(object,e){for(var t=-1,r=e.length,o=n(r),f=null==object;++t<r;)o[t]=f?c:qs(object,e[t]);return o}function En(e,t,r){return e==e&&(r!==c&&(e=e<=r?e:r),t!==c&&(e=e>=t?e:t)),e}function Sn(e,t,r,n,object,o){var f,h=1&t,l=2&t,d=4&t;if(r&&(f=object?r(e,n,object,o):r(e)),f!==c)return f;if(!gs(e))return e;var y=as(e);if(y){if(f=function(e){var t=e.length,r=new e.constructor(t);t&&"string"==typeof e[0]&&ze.call(e,"index")&&(r.index=e.index,r.input=e.input);return r}(e),!h)return Hi(e,f)}else{var m=Ra(e),v=m==x||m==B;if(cs(e))return Ui(e,h);if(m==L||m==T||v&&!object){if(f=l||v?{}:Ba(e),!h)return l?function(source,object){return Gi(source,Ma(source),object)}(e,function(object,source){return object&&Gi(source,$s(source),object)}(f,e)):function(source,object){return Gi(source,Ia(source),object)}(e,bn(f,e))}else{if(!vt[m])return object?e:{};f=function(object,e,t){var r=object.constructor;switch(e){case K:return Fi(object);case I:case M:return new r(+object);case z:return function(e,t){var r=t?Fi(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}(object,t);case H:case G:case $:case W:case Y:case X:case J:case Q:case Z:return qi(object,t);case N:return new r;case O:case U:return new r(object);case D:return function(e){var t=new e.constructor(e.source,Ce.exec(e));return t.lastIndex=e.lastIndex,t}(object);case j:return new r;case F:return symbol=object,Qr?Le(Qr.call(symbol)):{}}var symbol}(e,m,h)}}o||(o=new fn);var w=o.get(e);if(w)return w;o.set(e,f),_s(e)?e.forEach((function(n){f.add(Sn(n,t,r,n,e,o))})):ms(e)&&e.forEach((function(n,c){f.set(c,Sn(n,t,r,c,e,o))}));var _=y?c:(d?l?wa:ba:l?$s:Gs)(e);return jt(_||e,(function(n,c){_&&(n=e[c=n]),yn(f,c,Sn(n,t,r,c,e,o))})),f}function Cn(object,source,e){var t=e.length;if(null==object)return!t;for(object=Le(object);t--;){var r=e[t],n=source[r],o=object[r];if(o===c&&!(r in object)||!n(o))return!1}return!0}function An(e,t,r){if("function"!=typeof e)throw new je(f);return $a((function(){e.apply(c,r)}),t)}function Tn(e,t,r,n){var o=-1,c=Vt,f=!0,h=e.length,l=[],d=t.length;if(!h)return l;r&&(t=zt(t,cr(r))),n?(c=Kt,f=!1):t.length>=200&&(c=lr,f=!1,t=new cn(t));e:for(;++o<h;){var y=e[o],m=null==r?y:r(y);if(y=n||0!==y?y:0,f&&m==m){for(var v=d;v--;)if(t[v]===m)continue e;l.push(y)}else c(t,m,n)||l.push(y)}return l}en.templateSettings={escape:se,evaluate:ue,interpolate:ce,variable:"",imports:{_:en}},en.prototype=rn.prototype,en.prototype.constructor=en,nn.prototype=tn(rn.prototype),nn.prototype.constructor=nn,an.prototype=tn(rn.prototype),an.prototype.constructor=an,on.prototype.clear=function(){this.__data__=Kr?Kr(null):{},this.size=0},on.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},on.prototype.get=function(e){var data=this.__data__;if(Kr){var t=data[e];return t===h?c:t}return ze.call(data,e)?data[e]:c},on.prototype.has=function(e){var data=this.__data__;return Kr?data[e]!==c:ze.call(data,e)},on.prototype.set=function(e,t){var data=this.__data__;return this.size+=this.has(e)?0:1,data[e]=Kr&&t===c?h:t,this},sn.prototype.clear=function(){this.__data__=[],this.size=0},sn.prototype.delete=function(e){var data=this.__data__,t=mn(data,e);return!(t<0)&&(t==data.length-1?data.pop():at.call(data,t,1),--this.size,!0)},sn.prototype.get=function(e){var data=this.__data__,t=mn(data,e);return t<0?c:data[t][1]},sn.prototype.has=function(e){return mn(this.__data__,e)>-1},sn.prototype.set=function(e,t){var data=this.__data__,r=mn(data,e);return r<0?(++this.size,data.push([e,t])):data[r][1]=t,this},un.prototype.clear=function(){this.size=0,this.__data__={hash:new on,map:new(Ur||sn),string:new on}},un.prototype.delete=function(e){var t=Aa(this,e).delete(e);return this.size-=t?1:0,t},un.prototype.get=function(e){return Aa(this,e).get(e)},un.prototype.has=function(e){return Aa(this,e).has(e)},un.prototype.set=function(e,t){var data=Aa(this,e),r=data.size;return data.set(e,t),this.size+=data.size==r?0:1,this},cn.prototype.add=cn.prototype.push=function(e){return this.__data__.set(e,h),this},cn.prototype.has=function(e){return this.__data__.has(e)},fn.prototype.clear=function(){this.__data__=new sn,this.size=0},fn.prototype.delete=function(e){var data=this.__data__,t=data.delete(e);return this.size=data.size,t},fn.prototype.get=function(e){return this.__data__.get(e)},fn.prototype.has=function(e){return this.__data__.has(e)},fn.prototype.set=function(e,t){var data=this.__data__;if(data instanceof sn){var r=data.__data__;if(!Ur||r.length<199)return r.push([e,t]),this.size=++data.size,this;data=this.__data__=new un(r)}return data.set(e,t),this.size=data.size,this};var kn=Yi(Ln),In=Yi(Pn,!0);function Mn(e,t){var r=!0;return kn(e,(function(e,n,o){return r=!!t(e,n,o)})),r}function Rn(e,t,r){for(var n=-1,o=e.length;++n<o;){var f=e[n],h=t(f);if(null!=h&&(l===c?h==h&&!Ss(h):r(h,l)))var l=h,d=f}return d}function xn(e,t){var r=[];return kn(e,(function(e,n,o){t(e,n,o)&&r.push(e)})),r}function Bn(e,t,r,n,o){var c=-1,f=e.length;for(r||(r=Na),o||(o=[]);++c<f;){var h=e[c];t>0&&r(h)?t>1?Bn(h,t-1,r,n,o):Ht(o,h):n||(o[o.length]=h)}return o}var Nn=Xi(),On=Xi(!0);function Ln(object,e){return object&&Nn(object,e,Gs)}function Pn(object,e){return object&&On(object,e,Gs)}function Dn(object,e){return qt(e,(function(e){return ls(object[e])}))}function jn(object,path){for(var e=0,t=(path=Li(path,object)).length;null!=object&&e<t;)object=object[Za(path[e++])];return e&&e==t?object:c}function Un(object,e,t){var r=e(object);return as(object)?r:Ht(r,t(object))}function Fn(e){return null==e?e===c?"[object Undefined]":"[object Null]":ft&&ft in Le(e)?function(e){var t=ze.call(e,ft),r=e[ft];try{e[ft]=c;var n=!0}catch(e){}var o=$e.call(e);n&&(t?e[ft]=r:delete e[ft]);return o}(e):function(e){return $e.call(e)}(e)}function qn(e,t){return e>t}function Vn(object,e){return null!=object&&ze.call(object,e)}function Kn(object,e){return null!=object&&e in Le(object)}function zn(e,t,r){for(var o=r?Kt:Vt,f=e[0].length,h=e.length,l=h,d=n(h),y=1/0,m=[];l--;){var v=e[l];l&&t&&(v=zt(v,cr(t))),y=Nr(v.length,y),d[l]=!r&&(t||f>=120&&v.length>=120)?new cn(l&&v):c}v=e[0];var w=-1,_=d[0];e:for(;++w<f&&m.length<y;){var E=v[w],S=t?t(E):E;if(E=r||0!==E?E:0,!(_?lr(_,S):o(m,S,r))){for(l=h;--l;){var C=d[l];if(!(C?lr(C,S):o(e[l],S,r)))continue e}_&&_.push(S),m.push(E)}}return m}function Hn(object,path,e){var t=null==(object=Ka(object,path=Li(path,object)))?object:object[Za(ho(path))];return null==t?c:Pt(t,object,e)}function Gn(e){return ys(e)&&Fn(e)==T}function $n(e,t,r,n,o){return e===t||(null==e||null==t||!ys(e)&&!ys(t)?e!=e&&t!=t:function(object,e,t,r,n,o){var f=as(object),h=as(e),l=f?k:Ra(object),d=h?k:Ra(e),y=(l=l==T?L:l)==L,m=(d=d==T?L:d)==L,v=l==d;if(v&&cs(object)){if(!cs(e))return!1;f=!0,y=!1}if(v&&!y)return o||(o=new fn),f||Cs(object)?ma(object,e,t,r,n,o):function(object,e,t,r,n,o,c){switch(t){case z:if(object.byteLength!=e.byteLength||object.byteOffset!=e.byteOffset)return!1;object=object.buffer,e=e.buffer;case K:return!(object.byteLength!=e.byteLength||!o(new Ze(object),new Ze(e)));case I:case M:case O:return ts(+object,+e);case R:return object.name==e.name&&object.message==e.message;case D:case U:return object==e+"";case N:var f=_r;case j:var h=1&r;if(f||(f=Cr),object.size!=e.size&&!h)return!1;var l=c.get(object);if(l)return l==e;r|=2,c.set(object,e);
vendor: 5,562 bytes, line 2
2var d=ma(f(object),f(e),r,n,o,c);return c.delete(object),d;case F:if(Qr)return Qr.call(object)==Qr.call(e)}return!1}(object,e,l,t,r,n,o);if(!(1&t)){var w=y&&ze.call(object,"__wrapped__"),_=m&&ze.call(e,"__wrapped__");if(w||_){var E=w?object.value():object,S=_?e.value():e;return o||(o=new fn),n(E,S,t,r,o)}}if(!v)return!1;return o||(o=new fn),function(object,e,t,r,n,o){var f=1&t,h=ba(object),l=h.length,d=ba(e).length;if(l!=d&&!f)return!1;var y=l;for(;y--;){var m=h[y];if(!(f?m in e:ze.call(e,m)))return!1}var v=o.get(object),w=o.get(e);if(v&&w)return v==e&&w==object;var _=!0;o.set(object,e),o.set(e,object);var E=f;for(;++y<l;){var S=object[m=h[y]],C=e[m];if(r)var A=f?r(C,S,m,e,object,o):r(S,C,m,object,e,o);if(!(A===c?S===C||n(S,C,t,r,o):A)){_=!1;break}E||(E="constructor"==m)}if(_&&!E){var T=object.constructor,k=e.constructor;T==k||!("constructor"in object)||!("constructor"in e)||"function"==typeof T&&T instanceof T&&"function"==typeof k&&k instanceof k||(_=!1)}return o.delete(object),o.delete(e),_}(object,e,t,r,n,o)}(e,t,r,n,$n,o))}function Wn(object,source,e,t){var r=e.length,n=r,o=!t;if(null==object)return!n;for(object=Le(object);r--;){var data=e[r];if(o&&data[2]?data[1]!==object[data[0]]:!(data[0]in object))return!1}for(;++r<n;){var f=(data=e[r])[0],h=object[f],l=data[1];if(o&&data[2]){if(h===c&&!(f in object))return!1}else{var d=new fn;if(t)var y=t(h,l,f,object,source,d);if(!(y===c?$n(l,h,3,t,d):y))return!1}}return!0}function Yn(e){return!(!gs(e)||(t=e,Ge&&Ge in t))&&(ls(e)?Xe:ke).test(eo(e));var t}function Xn(e){return"function"==typeof e?e:null==e?vu:"object"==typeof e?as(e)?ri(e[0],e[1]):ti(e):ku(e)}function Jn(object){if(!Ua(object))return xr(object);var e=[];for(var t in Le(object))ze.call(object,t)&&"constructor"!=t&&e.push(t);return e}function Qn(object){if(!gs(object))return function(object){var e=[];if(null!=object)for(var t in Le(object))e.push(t);return e}(object);var e=Ua(object),t=[];for(var r in object)("constructor"!=r||!e&&ze.call(object,r))&&t.push(r);return t}function Zn(e,t){return e<t}function ei(e,t){var r=-1,o=ss(e)?n(e.length):[];return kn(e,(function(e,n,c){o[++r]=t(e,n,c)})),o}function ti(source){var e=Ta(source);return 1==e.length&&e[0][2]?qa(e[0][0],e[0][1]):function(object){return object===source||Wn(object,source,e)}}function ri(path,e){return Pa(path)&&Fa(e)?qa(Za(path),e):function(object){var t=qs(object,path);return t===c&&t===e?Vs(object,path):$n(e,t,3)}}function ni(object,source,e,t,r){object!==source&&Nn(source,(function(n,o){if(r||(r=new fn),gs(n))!function(object,source,e,t,r,n,o){var f=Ha(object,e),h=Ha(source,e),l=o.get(h);if(l)return void gn(object,e,l);var d=n?n(f,h,e+"",object,source,o):c,y=d===c;if(y){var m=as(h),v=!m&&cs(h),w=!m&&!v&&Cs(h);d=h,m||v||w?as(f)?d=f:us(f)?d=Hi(f):v?(y=!1,d=Ui(h,!0)):w?(y=!1,d=qi(h,!0)):d=[]:bs(h)||is(h)?(d=f,is(f)?d=Bs(f):gs(f)&&!ls(f)||(d=Ba(h))):y=!1}y&&(o.set(h,d),r(d,h,t,n,o),o.delete(h));gn(object,e,d)}(object,source,o,e,ni,t,r);else{var f=t?t(Ha(object,o),n,o+"",object,source,r):c;f===c&&(f=n),gn(object,o,f)}}),$s)}function ii(e,t){var r=e.length;if(r)return Oa(t+=t<0?r:0,r)?e[t]:c}function ai(e,t,r){t=t.length?zt(t,(function(e){return as(e)?function(t){return jn(t,1===e.length?e[0]:e)}:e})):[vu];var n=-1;t=zt(t,cr(Ca()));var o=ei(e,(function(e,r,o){var c=zt(t,(function(t){return t(e)}));return{criteria:c,index:++n,value:e}}));return function(e,t){var r=e.length;for(e.sort(t);r--;)e[r]=e[r].value;return e}(o,(function(object,e){return function(object,e,t){var r=-1,n=object.criteria,o=e.criteria,c=n.length,f=t.length;for(;++r<c;){var h=Vi(n[r],o[r]);if(h)return r>=f?h:h*("desc"==t[r]?-1:1)}return object.index-e.index}(object,e,r)}))}function oi(object,e,t){for(var r=-1,n=e.length,o={};++r<n;){var path=e[r],c=jn(object,path);t(c,path)&&gi(o,Li(path,object),c)}return o}function si(e,t,r,n){var o=n?Zt:Qt,c=-1,f=t.length,h=e;for(e===t&&(t=Hi(t)),r&&(h=zt(e,cr(r)));++c<f;)for(var l=0,d=t[c],y=r?r(d):d;(l=o(h,y,l,n))>-1;)h!==e&&at.call(h,l,1),at.call(e,l,1);return e}function ui(e,t){for(var r=e?t.length:0,n=r-1;r--;){var o=t[r];if(r==n||o!==c){var c=o;Oa(o)?at.call(e,o,1):ki(e,o)}}return e}function ci(e,t){return e+Tt(Pr()*(t-e+1))}function fi(e,t){var r="";if(!e||t<1||t>E)return r;do{t%2&&(r+=e),(t=Tt(t/2))&&(e+=e)}while(t);return r}function hi(e,t){return Wa(Va(e,t,vu),e+"")}function di(e){return ln(tu(e))}function pi(e,t){var r=tu(e);return Ja(r,En(t,0,r.length))}function gi(object,path,e,t){if(!gs(object))return object;for(var r=-1,n=(path=Li(path,object)).length,o=n-1,f=object;null!=f&&++r<n;){var h=Za(path[r]),l=e;if("__proto__"===h||"constructor"===h||"prototype"===h)return object;if(r!=o){var d=f[h];(l=t?t(d,h,f):c)===c&&(l=gs(d)?d:Oa(path[r+1])?[]:{})}yn(f,h,l),f=f[h]}return object}var yi=zr?function(e,data){return zr.set(e,data),e}:vu,mi=lt?function(e,t){return lt(e,"toString",{configurable:!0,enumerable:!1,value:gu(t),writable:!0})}:vu;function vi(e){return Ja(tu(e))}function bi(e,t,r){var o=-1,c=e.length;t<0&&(t=-t>c?0:c+t),(r=r>c?c:r)<0&&(r+=c),c=t>r?0:r-t>>>0,t>>>=0;for(var f=n(c);++o<c;)f[o]=e[o+t];return f}function wi(e,t){var r;return kn(e,(function(e,n,o){return!(r=t(e,n,o))})),!!r}function _i(e,t,r){var n=0,o=null==e?n:e.length;if("number"==typeof t&&t==t&&o<=2147483647){for(;n<o;){var c=n+o>>>1,f=e[c];null!==f&&!Ss(f)&&(r?f<=t:f<t)?n=c+1:o=c}return o}return Ei(e,t,vu,r)}function Ei(e,t,r,n){var o=0,f=null==e?0:e.length;if(0===f)return 0;for(var h=(t=r(t))!=t,l=null===t,d=Ss(t),y=t===c;o<f;){var m=Tt((o+f)/2),v=r(e[m]),w=v!==c,_=null===v,E=v==v,S=Ss(v);if(h)var C=n||E;
vendor: 4,921 bytes, line 2
2else C=y?E&&(n||w):l?E&&w&&(n||!_):d?E&&w&&!_&&(n||!S):!_&&!S&&(n?v<=t:v<t);C?o=m+1:f=m}return Nr(f,4294967294)}function Si(e,t){for(var r=-1,n=e.length,o=0,c=[];++r<n;){var f=e[r],h=t?t(f):f;if(!r||!ts(h,l)){var l=h;c[o++]=0===f?0:f}}return c}function Ci(e){return"number"==typeof e?e:Ss(e)?S:+e}function Ai(e){if("string"==typeof e)return e;if(as(e))return zt(e,Ai)+"";if(Ss(e))return Zr?Zr.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function Ti(e,t,r){var n=-1,o=Vt,c=e.length,f=!0,h=[],l=h;if(r)f=!1,o=Kt;else if(c>=200){var d=t?null:ha(e);if(d)return Cr(d);f=!1,o=lr,l=new cn}else l=t?[]:h;e:for(;++n<c;){var y=e[n],m=t?t(y):y;if(y=r||0!==y?y:0,f&&m==m){for(var v=l.length;v--;)if(l[v]===m)continue e;t&&l.push(m),h.push(y)}else o(l,m,r)||(l!==h&&l.push(m),h.push(y))}return h}function ki(object,path){return null==(object=Ka(object,path=Li(path,object)))||delete object[Za(ho(path))]}function Ii(object,path,e,t){return gi(object,path,e(jn(object,path)),t)}function Mi(e,t,r,n){for(var o=e.length,c=n?o:-1;(n?c--:++c<o)&&t(e[c],c,e););return r?bi(e,n?0:c,n?c+1:o):bi(e,n?c+1:0,n?o:c)}function Ri(e,t){var r=e;return r instanceof an&&(r=r.value()),Gt(t,(function(e,t){return t.func.apply(t.thisArg,Ht([e],t.args))}),r)}function xi(e,t,r){var o=e.length;if(o<2)return o?Ti(e[0]):[];for(var c=-1,f=n(o);++c<o;)for(var h=e[c],l=-1;++l<o;)l!=c&&(f[c]=Tn(f[c]||h,e[l],t,r));return Ti(Bn(f,1),t,r)}function Bi(e,t,r){for(var n=-1,o=e.length,f=t.length,h={};++n<o;){var l=n<f?t[n]:c;r(h,e[n],l)}return h}function Ni(e){return us(e)?e:[]}function Oi(e){return"function"==typeof e?e:vu}function Li(e,object){return as(e)?e:Pa(e,object)?[e]:Qa(Ns(e))}var Pi=hi;function Di(e,t,r){var n=e.length;return r=r===c?n:r,!t&&r>=n?e:bi(e,t,r)}var ji=bt||function(e){return Ct.clearTimeout(e)};function Ui(e,t){if(t)return e.slice();var r=e.length,n=et?et(r):new e.constructor(r);return e.copy(n),n}function Fi(e){var t=new e.constructor(e.byteLength);return new Ze(t).set(new Ze(e)),t}function qi(e,t){var r=t?Fi(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}function Vi(e,t){if(e!==t){var r=e!==c,n=null===e,o=e==e,f=Ss(e),h=t!==c,l=null===t,d=t==t,y=Ss(t);if(!l&&!y&&!f&&e>t||f&&h&&d&&!l&&!y||n&&h&&d||!r&&d||!o)return 1;if(!n&&!f&&!y&&e<t||y&&r&&o&&!n&&!f||l&&r&&o||!h&&o||!d)return-1}return 0}function Ki(e,t,r,o){for(var c=-1,f=e.length,h=r.length,l=-1,d=t.length,y=Br(f-h,0),m=n(d+y),v=!o;++l<d;)m[l]=t[l];for(;++c<h;)(v||c<f)&&(m[r[c]]=e[c]);for(;y--;)m[l++]=e[c++];return m}function zi(e,t,r,o){for(var c=-1,f=e.length,h=-1,l=r.length,d=-1,y=t.length,m=Br(f-l,0),v=n(m+y),w=!o;++c<m;)v[c]=e[c];for(var _=c;++d<y;)v[_+d]=t[d];for(;++h<l;)(w||c<f)&&(v[_+r[h]]=e[c++]);return v}function Hi(source,e){var t=-1,r=source.length;for(e||(e=n(r));++t<r;)e[t]=source[t];return e}function Gi(source,e,object,t){var r=!object;object||(object={});for(var n=-1,o=e.length;++n<o;){var f=e[n],h=t?t(object[f],source[f],f,object,source):c;h===c&&(h=source[f]),r?wn(object,f,h):yn(object,f,h)}return object}function $i(e,t){return function(r,n){var o=as(r)?Dt:vn,c=t?t():{};return o(r,e,Ca(n,2),c)}}function Wi(e){return hi((function(object,t){var r=-1,n=t.length,o=n>1?t[n-1]:c,f=n>2?t[2]:c;for(o=e.length>3&&"function"==typeof o?(n--,o):c,f&&La(t[0],t[1],f)&&(o=n<3?c:o,n=1),object=Le(object);++r<n;){var source=t[r];source&&e(object,source,r,o)}return object}))}function Yi(e,t){return function(r,n){if(null==r)return r;if(!ss(r))return e(r,n);for(var o=r.length,c=t?o:-1,f=Le(r);(t?c--:++c<o)&&!1!==n(f[c],c,f););return r}}function Xi(e){return function(object,t,r){for(var n=-1,o=Le(object),c=r(object),f=c.length;f--;){var h=c[e?f:++n];if(!1===t(o[h],h,o))break}return object}}function Ji(e){return function(t){var r=wr(t=Ns(t))?kr(t):c,n=r?r[0]:t.charAt(0),o=r?Di(r,1).join(""):t.slice(1);return n[e]()+o}}function Qi(e){return function(t){return Gt(lu(iu(t).replace(ut,"")),e,"")}}function Zi(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var r=tn(e.prototype),n=e.apply(r,t);return gs(n)?n:r}}function ea(e){return function(t,r,n){var o=Le(t);if(!ss(t)){var f=Ca(r,3);t=Gs(t),r=function(e){return f(o[e],e,o)}}var h=e(t,r,n);return h>-1?o[f?t[h]:h]:c}}function ta(e){return va((function(t){var r=t.length,n=r,o=nn.prototype.thru;for(e&&t.reverse();n--;){var h=t[n];if("function"!=typeof h)throw new je(f);if(o&&!l&&"wrapper"==Ea(h))var l=new nn([],!0)}for(n=l?n:r;++n<r;){var d=Ea(h=t[n]),data="wrapper"==d?_a(h):c;l=data&&Da(data[0])&&424==data[1]&&!data[4].length&&1==data[9]?l[Ea(data[0])].apply(l,data[3]):1==h.length&&Da(h)?l[d]():l.thru(h)}return function(){var e=arguments,n=e[0];
vendor: 28,917 bytes, line 2
2if(l&&1==e.length&&as(n))return l.plant(n).value();for(var o=0,c=r?t[o].apply(this,e):n;++o<r;)c=t[o].call(this,c);return c}}))}function ra(e,t,r,o,f,h,l,d,y,m){var w=t&v,_=1&t,E=2&t,S=24&t,C=512&t,A=E?c:Zi(e);return function c(){for(var v=arguments.length,T=n(v),k=v;k--;)T[k]=arguments[k];if(S)var I=Sa(c),M=gr(T,I);if(o&&(T=Ki(T,o,f,S)),h&&(T=zi(T,h,l,S)),v-=M,S&&v<m){var R=Sr(T,I);return ca(e,t,ra,c.placeholder,r,T,R,d,y,m-v)}var x=_?r:this,B=E?x[e]:e;return v=T.length,d?T=za(T,d):C&&v>1&&T.reverse(),w&&y<v&&(T.length=y),this&&this!==Ct&&this instanceof c&&(B=A||Zi(B)),B.apply(x,T)}}function na(e,t){return function(object,r){return function(object,e,t,r){return Ln(object,(function(n,o,object){e(r,t(n),o,object)})),r}(object,e,t(r),{})}}function ia(e,t){return function(r,n){var o;if(r===c&&n===c)return t;if(r!==c&&(o=r),n!==c){if(o===c)return n;"string"==typeof r||"string"==typeof n?(r=Ai(r),n=Ai(n)):(r=Ci(r),n=Ci(n)),o=e(r,n)}return o}}function aa(e){return va((function(t){return t=zt(t,cr(Ca())),hi((function(r){var n=this;return e(t,(function(e){return Pt(e,n,r)}))}))}))}function oa(e,t){var r=(t=t===c?" ":Ai(t)).length;if(r<2)return r?fi(t,e):t;var n=fi(t,At(e/Tr(t)));return wr(t)?Di(kr(n),0,e).join(""):n.slice(0,e)}function sa(e){return function(t,r,o){return o&&"number"!=typeof o&&La(t,r,o)&&(r=o=c),t=Is(t),r===c?(r=t,t=0):r=Is(r),function(e,t,r,o){for(var c=-1,f=Br(At((t-e)/(r||1)),0),h=n(f);f--;)h[o?f:++c]=e,e+=r;return h}(t,r,o=o===c?t<r?1:-1:Is(o),e)}}function ua(e){return function(t,r){return"string"==typeof t&&"string"==typeof r||(t=xs(t),r=xs(r)),e(t,r)}}function ca(e,t,r,n,o,f,h,l,d,v){var w=8&t;t|=w?y:m,4&(t&=~(w?m:y))||(t&=-4);var _=[e,t,o,w?f:c,w?h:c,w?c:f,w?c:h,l,d,v],E=r.apply(c,_);return Da(e)&&Ga(E,_),E.placeholder=n,Ya(E,e,t)}function fa(e){var t=Oe[e];return function(e,r){if(e=xs(e),(r=null==r?0:Nr(Ms(r),292))&&Yt(e)){var n=(Ns(e)+"e").split("e");return+((n=(Ns(t(n[0]+"e"+(+n[1]+r)))+"e").split("e"))[0]+"e"+(+n[1]-r))}return t(e)}}var ha=qr&&1/Cr(new qr([,-0]))[1]==_?function(e){return new qr(e)}:Su;function la(e){return function(object){var t=Ra(object);return t==N?_r(object):t==j?Ar(object):function(object,e){return zt(e,(function(e){return[e,object[e]]}))}(object,e(object))}}function da(e,t,r,o,h,_,E,S){var C=2&t;if(!C&&"function"!=typeof e)throw new je(f);var A=o?o.length:0;if(A||(t&=-97,o=h=c),E=E===c?E:Br(Ms(E),0),S=S===c?S:Ms(S),A-=h?h.length:0,t&m){var T=o,k=h;o=h=c}var data=C?c:_a(e),I=[e,t,r,o,h,T,k,_,E,S];if(data&&function(data,source){var e=data[1],t=source[1],r=e|t,n=r<131,o=t==v&&8==e||t==v&&e==w&&data[7].length<=source[8]||384==t&&source[7].length<=source[8]&&8==e;if(!n&&!o)return data;1&t&&(data[2]=source[2],r|=1&e?0:4);var c=source[3];if(c){var f=data[3];data[3]=f?Ki(f,c,source[4]):c,data[4]=f?Sr(data[3],l):source[4]}(c=source[5])&&(f=data[5],data[5]=f?zi(f,c,source[6]):c,data[6]=f?Sr(data[5],l):source[6]);(c=source[7])&&(data[7]=c);t&v&&(data[8]=null==data[8]?source[8]:Nr(data[8],source[8]));null==data[9]&&(data[9]=source[9]);data[0]=source[0],data[1]=r}(I,data),e=I[0],t=I[1],r=I[2],o=I[3],h=I[4],!(S=I[9]=I[9]===c?C?0:e.length:Br(I[9]-A,0))&&24&t&&(t&=-25),t&&1!=t)M=8==t||t==d?function(e,t,r){var o=Zi(e);return function f(){for(var h=arguments.length,l=n(h),d=h,y=Sa(f);d--;)l[d]=arguments[d];var m=h<3&&l[0]!==y&&l[h-1]!==y?[]:Sr(l,y);return(h-=m.length)<r?ca(e,t,ra,f.placeholder,c,l,m,c,c,r-h):Pt(this&&this!==Ct&&this instanceof f?o:e,this,l)}}(e,t,S):t!=y&&33!=t||h.length?ra.apply(c,I):function(e,t,r,o){var c=1&t,f=Zi(e);return function t(){for(var h=-1,l=arguments.length,d=-1,y=o.length,m=n(y+l),v=this&&this!==Ct&&this instanceof t?f:e;++d<y;)m[d]=o[d];for(;l--;)m[d++]=arguments[++h];return Pt(v,c?r:this,m)}}(e,t,r,o);else var M=function(e,t,r){var n=1&t,o=Zi(e);return function t(){return(this&&this!==Ct&&this instanceof t?o:e).apply(n?r:this,arguments)}}(e,t,r);return Ya((data?yi:Ga)(M,I),e,t)}function pa(e,t,r,object){return e===c||ts(e,qe[r])&&!ze.call(object,r)?t:e}function ga(e,t,r,object,source,n){return gs(e)&&gs(t)&&(n.set(t,e),ni(e,t,c,ga,n),n.delete(t)),e}function ya(e){return bs(e)?c:e}function ma(e,t,r,n,o,f){var h=1&r,l=e.length,d=t.length;if(l!=d&&!(h&&d>l))return!1;var y=f.get(e),m=f.get(t);if(y&&m)return y==t&&m==e;var v=-1,w=!0,_=2&r?new cn:c;for(f.set(e,t),f.set(t,e);++v<l;){var E=e[v],S=t[v];if(n)var C=h?n(S,E,v,t,e,f):n(E,S,v,e,t,f);if(C!==c){if(C)continue;w=!1;break}if(_){if(!Wt(t,(function(e,t){if(!lr(_,t)&&(E===e||o(E,e,r,n,f)))return _.push(t)}))){w=!1;break}}else if(E!==S&&!o(E,S,r,n,f)){w=!1;break}}return f.delete(e),f.delete(t),w}function va(e){return Wa(Va(e,c,so),e+"")}function ba(object){return Un(object,Gs,Ia)}function wa(object){return Un(object,$s,Ma)}var _a=zr?function(e){return zr.get(e)}:Su;function Ea(e){for(var t=e.name+"",r=Hr[t],n=ze.call(Hr,t)?r.length:0;n--;){var data=r[n],o=data.func;if(null==o||o==e)return data.name}return t}function Sa(e){return(ze.call(en,"placeholder")?en:e).placeholder}function Ca(){var e=en.iteratee||bu;return e=e===bu?Xn:e,arguments.length?e(arguments[0],arguments[1]):e}function Aa(map,e){var t,r,data=map.__data__;return("string"==(r=typeof(t=e))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==t:null===t)?data["string"==typeof e?"string":"hash"]:data.map}function Ta(object){for(var e=Gs(object),t=e.length;t--;){var r=e[t],n=object[r];e[t]=[r,n,Fa(n)]}return e}function ka(object,e){var t=function(object,e){return null==object?c:object[e]}(object,e);return Yn(t)?t:c}var Ia=It?function(object){return null==object?[]:(object=Le(object),qt(It(object),(function(symbol){return it.call(object,symbol)})))}:Ru,Ma=It?function(object){for(var e=[];object;)Ht(e,Ia(object)),object=tt(object);return e}:Ru,Ra=Fn;function xa(object,path,e){for(var t=-1,r=(path=Li(path,object)).length,n=!1;++t<r;){var o=Za(path[t]);if(!(n=null!=object&&e(object,o)))break;object=object[o]}return n||++t!=r?n:!!(r=null==object?0:object.length)&&ps(r)&&Oa(o,r)&&(as(object)||is(object))}function Ba(object){return"function"!=typeof object.constructor||Ua(object)?{}:tn(tt(object))}function Na(e){return as(e)||is(e)||!!(ot&&e&&e[ot])}function Oa(e,t){var r=typeof e;return!!(t=null==t?E:t)&&("number"==r||"symbol"!=r&&Me.test(e))&&e>-1&&e%1==0&&e<t}function La(e,t,object){if(!gs(object))return!1;var r=typeof t;return!!("number"==r?ss(object)&&Oa(t,object.length):"string"==r&&t in object)&&ts(object[t],e)}function Pa(e,object){if(as(e))return!1;var t=typeof e;return!("number"!=t&&"symbol"!=t&&"boolean"!=t&&null!=e&&!Ss(e))||(he.test(e)||!fe.test(e)||null!=object&&e in Le(object))}function Da(e){var t=Ea(e),r=en[t];if("function"!=typeof r||!(t in an.prototype))return!1;if(e===r)return!0;var data=_a(r);return!!data&&e===data[0]}(jr&&Ra(new jr(new ArrayBuffer(1)))!=z||Ur&&Ra(new Ur)!=N||Fr&&Ra(Fr.resolve())!=P||qr&&Ra(new qr)!=j||Vr&&Ra(new Vr)!=V)&&(Ra=function(e){var t=Fn(e),r=t==L?e.constructor:c,n=r?eo(r):"";if(n)switch(n){case Gr:return z;case $r:return N;case Wr:return P;case Yr:return j;case Xr:return V}return t});var ja=Ve?ls:xu;function Ua(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||qe)}function Fa(e){return e==e&&!gs(e)}function qa(e,t){return function(object){return null!=object&&(object[e]===t&&(t!==c||e in Le(object)))}}function Va(e,t,r){return t=Br(t===c?e.length-1:t,0),function(){for(var o=arguments,c=-1,f=Br(o.length-t,0),h=n(f);++c<f;)h[c]=o[t+c];c=-1;for(var l=n(t+1);++c<t;)l[c]=o[c];return l[t]=r(h),Pt(e,this,l)}}function Ka(object,path){return path.length<2?object:jn(object,bi(path,0,-1))}function za(e,t){for(var r=e.length,n=Nr(t.length,r),o=Hi(e);n--;){var f=t[n];e[n]=Oa(f,r)?o[f]:c}return e}function Ha(object,e){if(("constructor"!==e||"function"!=typeof object[e])&&"__proto__"!=e)return object[e]}var Ga=Xa(yi),$a=St||function(e,t){return Ct.setTimeout(e,t)},Wa=Xa(mi);function Ya(e,t,r){var source=t+"";return Wa(e,function(source,details){var e=details.length;if(!e)return source;var t=e-1;return details[t]=(e>1?"& ":"")+details[t],details=details.join(e>2?", ":" "),source.replace(me,"{\n/* [wrapped with "+details+"] */\n")}(source,function(details,e){return jt(A,(function(t){var r="_."+t[0];e&t[1]&&!Vt(details,r)&&details.push(r)})),details.sort()}(function(source){var e=source.match(ve);return e?e[1].split(be):[]}(source),r)))}function Xa(e){var t=0,r=0;return function(){var n=Or(),o=16-(n-r);if(r=n,o>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(c,arguments)}}function Ja(e,t){var r=-1,n=e.length,o=n-1;for(t=t===c?n:t;++r<t;){var f=ci(r,o),h=e[f];e[f]=e[r],e[r]=h}return e.length=t,e}var Qa=function(e){var t=Yo(e,(function(e){return 500===r.size&&r.clear(),e})),r=t.cache;return t}((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(le,(function(e,r,n,o){t.push(n?o.replace(Ee,"$1"):r||e)})),t}));function Za(e){if("string"==typeof e||Ss(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function eo(e){if(null!=e){try{return Ke.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function to(e){if(e instanceof an)return e.clone();var t=new nn(e.__wrapped__,e.__chain__);return t.__actions__=Hi(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}var ro=hi((function(e,t){return us(e)?Tn(e,Bn(t,1,us,!0)):[]})),no=hi((function(e,t){var r=ho(t);return us(r)&&(r=c),us(e)?Tn(e,Bn(t,1,us,!0),Ca(r,2)):[]})),io=hi((function(e,t){var r=ho(t);return us(r)&&(r=c),us(e)?Tn(e,Bn(t,1,us,!0),c,r):[]}));function ao(e,t,r){var n=null==e?0:e.length;if(!n)return-1;var o=null==r?0:Ms(r);return o<0&&(o=Br(n+o,0)),Jt(e,Ca(t,3),o)}function oo(e,t,r){var n=null==e?0:e.length;if(!n)return-1;var o=n-1;return r!==c&&(o=Ms(r),o=r<0?Br(n+o,0):Nr(o,n-1)),Jt(e,Ca(t,3),o,!0)}function so(e){return(null==e?0:e.length)?Bn(e,1):[]}function head(e){return e&&e.length?e[0]:c}var uo=hi((function(e){var t=zt(e,Ni);return t.length&&t[0]===e[0]?zn(t):[]})),co=hi((function(e){var t=ho(e),r=zt(e,Ni);return t===ho(r)?t=c:r.pop(),r.length&&r[0]===e[0]?zn(r,Ca(t,2)):[]})),fo=hi((function(e){var t=ho(e),r=zt(e,Ni);return(t="function"==typeof t?t:c)&&r.pop(),r.length&&r[0]===e[0]?zn(r,c,t):[]}));function ho(e){var t=null==e?0:e.length;return t?e[t-1]:c}var lo=hi(po);function po(e,t){return e&&e.length&&t&&t.length?si(e,t):e}var go=va((function(e,t){var r=null==e?0:e.length,n=_n(e,t);return ui(e,zt(t,(function(e){return Oa(e,r)?+e:e})).sort(Vi)),n}));function yo(e){return null==e?e:Dr.call(e)}var mo=hi((function(e){return Ti(Bn(e,1,us,!0))})),vo=hi((function(e){var t=ho(e);return us(t)&&(t=c),Ti(Bn(e,1,us,!0),Ca(t,2))})),bo=hi((function(e){var t=ho(e);return t="function"==typeof t?t:c,Ti(Bn(e,1,us,!0),c,t)}));function wo(e){if(!e||!e.length)return[];var t=0;return e=qt(e,(function(e){if(us(e))return t=Br(e.length,t),!0})),sr(t,(function(t){return zt(e,nr(t))}))}function _o(e,t){if(!e||!e.length)return[];var r=wo(e);return null==t?r:zt(r,(function(e){return Pt(t,c,e)}))}var Eo=hi((function(e,t){return us(e)?Tn(e,t):[]})),So=hi((function(e){return xi(qt(e,us))})),Co=hi((function(e){var t=ho(e);return us(t)&&(t=c),xi(qt(e,us),Ca(t,2))})),Ao=hi((function(e){var t=ho(e);return t="function"==typeof t?t:c,xi(qt(e,us),c,t)})),To=hi(wo);var ko=hi((function(e){var t=e.length,r=t>1?e[t-1]:c;return r="function"==typeof r?(e.pop(),r):c,_o(e,r)}));function Io(e){var t=en(e);return t.__chain__=!0,t}function Mo(e,t){return t(e)}var Ro=va((function(e){var t=e.length,r=t?e[0]:0,n=this.__wrapped__,o=function(object){return _n(object,e)};return!(t>1||this.__actions__.length)&&n instanceof an&&Oa(r)?((n=n.slice(r,+r+(t?1:0))).__actions__.push({func:Mo,args:[o],thisArg:c}),new nn(n,this.__chain__).thru((function(e){return t&&!e.length&&e.push(c),e}))):this.thru(o)}));var xo=$i((function(e,t,r){ze.call(e,r)?++e[r]:wn(e,r,1)}));var Bo=ea(ao),No=ea(oo);function Oo(e,t){return(as(e)?jt:kn)(e,Ca(t,3))}function Lo(e,t){return(as(e)?Ut:In)(e,Ca(t,3))}var Po=$i((function(e,t,r){ze.call(e,r)?e[r].push(t):wn(e,r,[t])}));var Do=hi((function(e,path,t){var r=-1,o="function"==typeof path,c=ss(e)?n(e.length):[];return kn(e,(function(e){c[++r]=o?Pt(path,e,t):Hn(e,path,t)})),c})),jo=$i((function(e,t,r){wn(e,r,t)}));function map(e,t){return(as(e)?zt:ei)(e,Ca(t,3))}var Uo=$i((function(e,t,r){e[r?0:1].push(t)}),(function(){return[[],[]]}));var Fo=hi((function(e,t){if(null==e)return[];var r=t.length;return r>1&&La(e,t[0],t[1])?t=[]:r>2&&La(t[0],t[1],t[2])&&(t=[t[0]]),ai(e,Bn(t,1),[])})),qo=Et||function(){return Ct.Date.now()};function Vo(e,t,r){return t=r?c:t,t=e&&null==t?e.length:t,da(e,v,c,c,c,c,t)}function Ko(e,t){var r;if("function"!=typeof t)throw new je(f);return e=Ms(e),function(){return--e>0&&(r=t.apply(this,arguments)),e<=1&&(t=c),r}}var zo=hi((function(e,t,r){var n=1;if(r.length){var o=Sr(r,Sa(zo));n|=y}return da(e,n,t,r,o)})),Ho=hi((function(object,e,t){var r=3;if(t.length){var n=Sr(t,Sa(Ho));r|=y}return da(e,r,object,t,n)}));function Go(e,t,r){var n,o,h,l,d,y,m=0,v=!1,w=!1,_=!0;if("function"!=typeof e)throw new je(f);function E(time){var t=n,r=o;return n=o=c,m=time,l=e.apply(r,t)}function S(time){return m=time,d=$a(A,t),v?E(time):l}function C(time){var e=time-y;return y===c||e>=t||e<0||w&&time-m>=h}function A(){var time=qo();if(C(time))return T(time);d=$a(A,function(time){var e=t-(time-y);return w?Nr(e,h-(time-m)):e}(time))}function T(time){return d=c,_&&n?E(time):(n=o=c,l)}function k(){var time=qo(),e=C(time);if(n=arguments,o=this,y=time,e){if(d===c)return S(y);if(w)return ji(d),d=$a(A,t),E(y)}return d===c&&(d=$a(A,t)),l}return t=xs(t)||0,gs(r)&&(v=!!r.leading,h=(w="maxWait"in r)?Br(xs(r.maxWait)||0,t):h,_="trailing"in r?!!r.trailing:_),k.cancel=function(){d!==c&&ji(d),m=0,n=y=o=d=c},k.flush=function(){return d===c?l:T(qo())},k}var $o=hi((function(e,t){return An(e,1,t)})),Wo=hi((function(e,t,r){return An(e,xs(t)||0,r)}));function Yo(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new je(f);var r=function(){var n=arguments,o=t?t.apply(this,n):n[0],c=r.cache;if(c.has(o))return c.get(o);var f=e.apply(this,n);return r.cache=c.set(o,f)||c,f};return r.cache=new(Yo.Cache||un),r}function Xo(e){if("function"!=typeof e)throw new je(f);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}Yo.Cache=un;var Jo=Pi((function(e,t){var r=(t=1==t.length&&as(t[0])?zt(t[0],cr(Ca())):zt(Bn(t,1),cr(Ca()))).length;return hi((function(n){for(var o=-1,c=Nr(n.length,r);++o<c;)n[o]=t[o].call(this,n[o]);return Pt(e,this,n)}))})),Qo=hi((function(e,t){var r=Sr(t,Sa(Qo));return da(e,y,c,t,r)})),Zo=hi((function(e,t){var r=Sr(t,Sa(Zo));return da(e,m,c,t,r)})),es=va((function(e,t){return da(e,w,c,c,c,t)}));function ts(e,t){return e===t||e!=e&&t!=t}var rs=ua(qn),ns=ua((function(e,t){return e>=t})),is=Gn(function(){return arguments}())?Gn:function(e){return ys(e)&&ze.call(e,"callee")&&!it.call(e,"callee")},as=n.isArray,os=Rt?cr(Rt):function(e){return ys(e)&&Fn(e)==K};function ss(e){return null!=e&&ps(e.length)&&!ls(e)}function us(e){return ys(e)&&ss(e)}var cs=Mt||xu,fs=xt?cr(xt):function(e){return ys(e)&&Fn(e)==M};function hs(e){if(!ys(e))return!1;var t=Fn(e);return t==R||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!bs(e)}function ls(e){if(!gs(e))return!1;var t=Fn(e);return t==x||t==B||"[object AsyncFunction]"==t||"[object Proxy]"==t}function ds(e){return"number"==typeof e&&e==Ms(e)}function ps(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=E}function gs(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function ys(e){return null!=e&&"object"==typeof e}var ms=Bt?cr(Bt):function(e){return ys(e)&&Ra(e)==N};function vs(e){return"number"==typeof e||ys(e)&&Fn(e)==O}function bs(e){if(!ys(e)||Fn(e)!=L)return!1;var t=tt(e);if(null===t)return!0;var r=ze.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&Ke.call(r)==We}var ws=Nt?cr(Nt):function(e){return ys(e)&&Fn(e)==D};var _s=Ot?cr(Ot):function(e){return ys(e)&&Ra(e)==j};function Es(e){return"string"==typeof e||!as(e)&&ys(e)&&Fn(e)==U}function Ss(e){return"symbol"==typeof e||ys(e)&&Fn(e)==F}var Cs=Lt?cr(Lt):function(e){return ys(e)&&ps(e.length)&&!!mt[Fn(e)]};var As=ua(Zn),Ts=ua((function(e,t){return e<=t}));function ks(e){if(!e)return[];if(ss(e))return Es(e)?kr(e):Hi(e);if(st&&e[st])return function(e){for(var data,t=[];!(data=e.next()).done;)t.push(data.value);return t}(e[st]());var t=Ra(e);return(t==N?_r:t==j?Cr:tu)(e)}function Is(e){return e?(e=xs(e))===_||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}function Ms(e){var t=Is(e),r=t%1;return t==t?r?t-r:t:0}function Rs(e){return e?En(Ms(e),0,C):0}function xs(e){if("number"==typeof e)return e;if(Ss(e))return S;if(gs(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=gs(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=ur(e);var r=Te.test(e);return r||Ie.test(e)?_t(e.slice(2),r?2:8):Ae.test(e)?S:+e}function Bs(e){return Gi(e,$s(e))}function Ns(e){return null==e?"":Ai(e)}var Os=Wi((function(object,source){if(Ua(source)||ss(source))Gi(source,Gs(source),object);else for(var e in source)ze.call(source,e)&&yn(object,e,source[e])})),Ls=Wi((function(object,source){Gi(source,$s(source),object)})),Ps=Wi((function(object,source,e,t){Gi(source,$s(source),object,t)})),Ds=Wi((function(object,source,e,t){Gi(source,Gs(source),object,t)})),js=va(_n);var Us=hi((function(object,e){object=Le(object);var t=-1,r=e.length,n=r>2?e[2]:c;for(n&&La(e[0],e[1],n)&&(r=1);++t<r;)for(var source=e[t],o=$s(source),f=-1,h=o.length;++f<h;){var l=o[f],d=object[l];(d===c||ts(d,qe[l])&&!ze.call(object,l))&&(object[l]=source[l])}return object})),Fs=hi((function(e){return e.push(c,ga),Pt(Ys,c,e)}));function qs(object,path,e){var t=null==object?c:jn(object,path);return t===c?e:t}function Vs(object,path){return null!=object&&xa(object,path,Kn)}var Ks=na((function(e,t,r){null!=t&&"function"!=typeof t.toString&&(t=$e.call(t)),e[t]=r}),gu(vu)),zs=na((function(e,t,r){null!=t&&"function"!=typeof t.toString&&(t=$e.call(t)),ze.call(e,t)?e[t].push(r):e[t]=[r]}),Ca),Hs=hi(Hn);function Gs(object){return ss(object)?hn(object):Jn(object)}function $s(object){return ss(object)?hn(object,!0):Qn(object)}var Ws=Wi((function(object,source,e){ni(object,source,e)})),Ys=Wi((function(object,source,e,t){ni(object,source,e,t)})),Xs=va((function(object,e){var t={};if(null==object)return t;var r=!1;e=zt(e,(function(path){return path=Li(path,object),r||(r=path.length>1),path})),Gi(object,wa(object),t),r&&(t=Sn(t,7,ya));for(var n=e.length;n--;)ki(t,e[n]);return t}));var Js=va((function(object,e){return null==object?{}:function(object,e){return oi(object,e,(function(e,path){return Vs(object,path)}))}(object,e)}));function Qs(object,e){if(null==object)return{};var t=zt(wa(object),(function(e){return[e]}));return e=Ca(e),oi(object,t,(function(t,path){return e(t,path[0])}))}var Zs=la(Gs),eu=la($s);function tu(object){return null==object?[]:fr(object,Gs(object))}var ru=Qi((function(e,t,r){return t=t.toLowerCase(),e+(r?nu(t):t)}));function nu(e){return hu(Ns(e).toLowerCase())}function iu(e){return(e=Ns(e))&&e.replace(Re,yr).replace(ct,"")}var au=Qi((function(e,t,r){return e+(r?"-":"")+t.toLowerCase()})),ou=Qi((function(e,t,r){return e+(r?" ":"")+t.toLowerCase()})),su=Ji("toLowerCase");var uu=Qi((function(e,t,r){return e+(r?"_":"")+t.toLowerCase()}));var cu=Qi((function(e,t,r){return e+(r?" ":"")+hu(t)}));var fu=Qi((function(e,t,r){return e+(r?" ":"")+t.toUpperCase()})),hu=Ji("toUpperCase");function lu(e,pattern,t){return e=Ns(e),(pattern=t?c:pattern)===c?function(e){return pt.test(e)}(e)?function(e){return e.match(ht)||[]}(e):function(e){return e.match(we)||[]}(e):e.match(pattern)||[]}var du=hi((function(e,t){try{return Pt(e,c,t)}catch(e){return hs(e)?e:new ye(e)}})),pu=va((function(object,e){return jt(e,(function(e){e=Za(e),wn(object,e,zo(object[e],object))})),object}));function gu(e){return function(){return e}}var yu=ta(),mu=ta(!0);function vu(e){return e}function bu(e){return Xn("function"==typeof e?e:Sn(e,1))}var wu=hi((function(path,e){return function(object){return Hn(object,path,e)}})),_u=hi((function(object,e){return function(path){return Hn(object,path,e)}}));function Eu(object,source,e){var t=Gs(source),r=Dn(source,t);null!=e||gs(source)&&(r.length||!t.length)||(e=source,source=object,object=this,r=Dn(source,Gs(source)));var n=!(gs(e)&&"chain"in e&&!e.chain),o=ls(object);return jt(r,(function(e){var t=source[e];object[e]=t,o&&(object.prototype[e]=function(){var e=this.__chain__;if(n||e){var r=object(this.__wrapped__),o=r.__actions__=Hi(this.__actions__);return o.push({func:t,args:arguments,thisArg:object}),r.__chain__=e,r}return t.apply(object,Ht([this.value()],arguments))})})),object}function Su(){}var Cu=aa(zt),Au=aa(Ft),Tu=aa(Wt);function ku(path){return Pa(path)?nr(Za(path)):function(path){return function(object){return jn(object,path)}}(path)}var Iu=sa(),Mu=sa(!0);function Ru(){return[]}function xu(){return!1}var Bu=ia((function(e,t){return e+t}),0),Nu=fa("ceil"),Ou=ia((function(e,t){return e/t}),1),Lu=fa("floor");var source,Pu=ia((function(e,t){return e*t}),1),Du=fa("round"),ju=ia((function(e,t){return e-t}),0);return en.after=function(e,t){if("function"!=typeof t)throw new je(f);return e=Ms(e),function(){if(--e<1)return t.apply(this,arguments)}},en.ary=Vo,en.assign=Os,en.assignIn=Ls,en.assignInWith=Ps,en.assignWith=Ds,en.at=js,en.before=Ko,en.bind=zo,en.bindAll=pu,en.bindKey=Ho,en.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return as(e)?e:[e]},en.chain=Io,en.chunk=function(e,t,r){t=(r?La(e,t,r):t===c)?1:Br(Ms(t),0);var o=null==e?0:e.length;if(!o||t<1)return[];for(var f=0,h=0,l=n(At(o/t));f<o;)l[h++]=bi(e,f,f+=t);return l},en.compact=function(e){for(var t=-1,r=null==e?0:e.length,n=0,o=[];++t<r;){var c=e[t];c&&(o[n++]=c)}return o},en.concat=function(){var e=arguments.length;if(!e)return[];for(var t=n(e-1),r=arguments[0],o=e;o--;)t[o-1]=arguments[o];return Ht(as(r)?Hi(r):[r],Bn(t,1))},en.cond=function(e){var t=null==e?0:e.length,r=Ca();return e=t?zt(e,(function(e){if("function"!=typeof e[1])throw new je(f);return[r(e[0]),e[1]]})):[],hi((function(r){for(var n=-1;++n<t;){var o=e[n];if(Pt(o[0],this,r))return Pt(o[1],this,r)}}))},en.conforms=function(source){return function(source){var e=Gs(source);return function(object){return Cn(object,source,e)}}(Sn(source,1))},en.constant=gu,en.countBy=xo,en.create=function(e,t){var r=tn(e);return null==t?r:bn(r,t)},en.curry=function e(t,r,n){var o=da(t,8,c,c,c,c,c,r=n?c:r);return o.placeholder=e.placeholder,o},en.curryRight=function e(t,r,n){var o=da(t,d,c,c,c,c,c,r=n?c:r);return o.placeholder=e.placeholder,o},en.debounce=Go,en.defaults=Us,en.defaultsDeep=Fs,en.defer=$o,en.delay=Wo,en.difference=ro,en.differenceBy=no,en.differenceWith=io,en.drop=function(e,t,r){var n=null==e?0:e.length;return n?bi(e,(t=r||t===c?1:Ms(t))<0?0:t,n):[]},en.dropRight=function(e,t,r){var n=null==e?0:e.length;return n?bi(e,0,(t=n-(t=r||t===c?1:Ms(t)))<0?0:t):[]},en.dropRightWhile=function(e,t){return e&&e.length?Mi(e,Ca(t,3),!0,!0):[]},en.dropWhile=function(e,t){return e&&e.length?Mi(e,Ca(t,3),!0):[]},en.fill=function(e,t,r,n){var o=null==e?0:e.length;return o?(r&&"number"!=typeof r&&La(e,t,r)&&(r=0,n=o),function(e,t,r,n){var o=e.length;for((r=Ms(r))<0&&(r=-r>o?0:o+r),(n=n===c||n>o?o:Ms(n))<0&&(n+=o),n=r>n?0:Rs(n);r<n;)e[r++]=t;return e}(e,t,r,n)):[]},en.filter=function(e,t){return(as(e)?qt:xn)(e,Ca(t,3))},en.flatMap=function(e,t){return Bn(map(e,t),1)},en.flatMapDeep=function(e,t){return Bn(map(e,t),_)},en.flatMapDepth=function(e,t,r){return r=r===c?1:Ms(r),Bn(map(e,t),r)},en.flatten=so,en.flattenDeep=function(e){return(null==e?0:e.length)?Bn(e,_):[]},en.flattenDepth=function(e,t){return(null==e?0:e.length)?Bn(e,t=t===c?1:Ms(t)):[]},en.flip=function(e){return da(e,512)},en.flow=yu,en.flowRight=mu,en.fromPairs=function(e){for(var t=-1,r=null==e?0:e.length,n={};++t<r;){var o=e[t];n[o[0]]=o[1]}return n},en.functions=function(object){return null==object?[]:Dn(object,Gs(object))},en.functionsIn=function(object){return null==object?[]:Dn(object,$s(object))},en.groupBy=Po,en.initial=function(e){return(null==e?0:e.length)?bi(e,0,-1):[]},en.intersection=uo,en.intersectionBy=co,en.intersectionWith=fo,en.invert=Ks,en.invertBy=zs,en.invokeMap=Do,en.iteratee=bu,en.keyBy=jo,en.keys=Gs,en.keysIn=$s,en.map=map,en.mapKeys=function(object,e){var t={};return e=Ca(e,3),Ln(object,(function(r,n,object){wn(t,e(r,n,object),r)})),t},en.mapValues=function(object,e){var t={};return e=Ca(e,3),Ln(object,(function(r,n,object){wn(t,n,e(r,n,object))})),t},en.matches=function(source){return ti(Sn(source,1))},en.matchesProperty=function(path,e){return ri(path,Sn(e,1))},en.memoize=Yo,en.merge=Ws,en.mergeWith=Ys,en.method=wu,en.methodOf=_u,en.mixin=Eu,en.negate=Xo,en.nthArg=function(e){return e=Ms(e),hi((function(t){return ii(t,e)}))},en.omit=Xs,en.omitBy=function(object,e){return Qs(object,Xo(Ca(e)))},en.once=function(e){return Ko(2,e)},en.orderBy=function(e,t,r,n){return null==e?[]:(as(t)||(t=null==t?[]:[t]),as(r=n?c:r)||(r=null==r?[]:[r]),ai(e,t,r))},en.over=Cu,en.overArgs=Jo,en.overEvery=Au,en.overSome=Tu,en.partial=Qo,en.partialRight=Zo,en.partition=Uo,en.pick=Js,en.pickBy=Qs,en.property=ku,en.propertyOf=function(object){return function(path){return null==object?c:jn(object,path)}},en.pull=lo,en.pullAll=po,en.pullAllBy=function(e,t,r){return e&&e.length&&t&&t.length?si(e,t,Ca(r,2)):e},en.pullAllWith=function(e,t,r){return e&&e.length&&t&&t.length?si(e,t,c,r):e},en.pullAt=go,en.range=Iu,en.rangeRight=Mu,en.rearg=es,en.reject=function(e,t){return(as(e)?qt:xn)(e,Xo(Ca(t,3)))},en.remove=function(e,t){var r=[];if(!e||!e.length)return r;var n=-1,o=[],c=e.length;for(t=Ca(t,3);++n<c;){var f=e[n];t(f,n,e)&&(r.push(f),o.push(n))}return ui(e,o),r},en.rest=function(e,t){if("function"!=typeof e)throw new je(f);return hi(e,t=t===c?t:Ms(t))},en.reverse=yo,en.sampleSize=function(e,t,r){return t=(r?La(e,t,r):t===c)?1:Ms(t),(as(e)?dn:pi)(e,t)},en.set=function(object,path,e){return null==object?object:gi(object,path,e)},en.setWith=function(object,path,e,t){return t="function"==typeof t?t:c,null==object?object:gi(object,path,e,t)},en.shuffle=function(e){return(as(e)?pn:vi)(e)},en.slice=function(e,t,r){var n=null==e?0:e.length;return n?(r&&"number"!=typeof r&&La(e,t,r)?(t=0,r=n):(t=null==t?0:Ms(t),r=r===c?n:Ms(r)),bi(e,t,r)):[]},en.sortBy=Fo,en.sortedUniq=function(e){return e&&e.length?Si(e):[]},en.sortedUniqBy=function(e,t){return e&&e.length?Si(e,Ca(t,2)):[]},en.split=function(e,t,r){return r&&"number"!=typeof r&&La(e,t,r)&&(t=r=c),(r=r===c?C:r>>>0)?(e=Ns(e))&&("string"==typeof t||null!=t&&!ws(t))&&!(t=Ai(t))&&wr(e)?Di(kr(e),0,r):e.split(t,r):[]},en.spread=function(e,t){if("function"!=typeof e)throw new je(f);return t=null==t?0:Br(Ms(t),0),hi((function(r){var n=r[t],o=Di(r,0,t);return n&&Ht(o,n),Pt(e,this,o)}))},en.tail=function(e){var t=null==e?0:e.length;return t?bi(e,1,t):[]},en.take=function(e,t,r){return e&&e.length?bi(e,0,(t=r||t===c?1:Ms(t))<0?0:t):[]},en.takeRight=function(e,t,r){var n=null==e?0:e.length;return n?bi(e,(t=n-(t=r||t===c?1:Ms(t)))<0?0:t,n):[]},en.takeRightWhile=function(e,t){return e&&e.length?Mi(e,Ca(t,3),!1,!0):[]},en.takeWhile=function(e,t){return e&&e.length?Mi(e,Ca(t,3)):[]},en.tap=function(e,t){return t(e),e},en.throttle=function(e,t,r){var n=!0,o=!0;if("function"!=typeof e)throw new je(f);return gs(r)&&(n="leading"in r?!!r.leading:n,o="trailing"in r?!!r.trailing:o),Go(e,t,{leading:n,maxWait:t,trailing:o})},en.thru=Mo,en.toArray=ks,en.toPairs=Zs,en.toPairsIn=eu,en.toPath=function(e){return as(e)?zt(e,Za):Ss(e)?[e]:Hi(Qa(Ns(e)))},en.toPlainObject=Bs,en.transform=function(object,e,t){var r=as(object),n=r||cs(object)||Cs(object);if(e=Ca(e,4),null==t){var o=object&&object.constructor;t=n?r?new o:[]:gs(object)&&ls(o)?tn(tt(object)):{}}return(n?jt:Ln)(object,(function(r,n,object){return e(t,r,n,object)})),t},en.unary=function(e){return Vo(e,1)},en.union=mo,en.unionBy=vo,en.unionWith=bo,en.uniq=function(e){return e&&e.length?Ti(e):[]},en.uniqBy=function(e,t){return e&&e.length?Ti(e,Ca(t,2)):[]},en.uniqWith=function(e,t){return t="function"==typeof t?t:c,e&&e.length?Ti(e,c,t):[]},en.unset=function(object,path){return null==object||ki(object,path)},en.unzip=wo,en.unzipWith=_o,en.update=function(object,path,e){return null==object?object:Ii(object,path,Oi(e))},en.updateWith=function(object,path,e,t){return t="function"==typeof t?t:c,null==object?object:Ii(object,path,Oi(e),t)},en.values=tu,en.valuesIn=function(object){return null==object?[]:fr(object,$s(object))},en.without=Eo,en.words=lu,en.wrap=function(e,t){return Qo(Oi(t),e)},en.xor=So,en.xorBy=Co,en.xorWith=Ao,en.zip=To,en.zipObject=function(e,t){return Bi(e||[],t||[],yn)},en.zipObjectDeep=function(e,t){return Bi(e||[],t||[],gi)},en.zipWith=ko,en.entries=Zs,en.entriesIn=eu,en.extend=Ls,en.extendWith=Ps,Eu(en,en),en.add=Bu,en.attempt=du,en.camel
vendor: 3,383 bytes, line 2
2Case=ru,en.capitalize=nu,en.ceil=Nu,en.clamp=function(e,t,r){return r===c&&(r=t,t=c),r!==c&&(r=(r=xs(r))==r?r:0),t!==c&&(t=(t=xs(t))==t?t:0),En(xs(e),t,r)},en.clone=function(e){return Sn(e,4)},en.cloneDeep=function(e){return Sn(e,5)},en.cloneDeepWith=function(e,t){return Sn(e,5,t="function"==typeof t?t:c)},en.cloneWith=function(e,t){return Sn(e,4,t="function"==typeof t?t:c)},en.conformsTo=function(object,source){return null==source||Cn(object,source,Gs(source))},en.deburr=iu,en.defaultTo=function(e,t){return null==e||e!=e?t:e},en.divide=Ou,en.endsWith=function(e,t,r){e=Ns(e),t=Ai(t);var n=e.length,o=r=r===c?n:En(Ms(r),0,n);return(r-=t.length)>=0&&e.slice(r,o)==t},en.eq=ts,en.escape=function(e){return(e=Ns(e))&&oe.test(e)?e.replace(ie,mr):e},en.escapeRegExp=function(e){return(e=Ns(e))&&pe.test(e)?e.replace(de,"\\$&"):e},en.every=function(e,t,r){var n=as(e)?Ft:Mn;return r&&La(e,t,r)&&(t=c),n(e,Ca(t,3))},en.find=Bo,en.findIndex=ao,en.findKey=function(object,e){return Xt(object,Ca(e,3),Ln)},en.findLast=No,en.findLastIndex=oo,en.findLastKey=function(object,e){return Xt(object,Ca(e,3),Pn)},en.floor=Lu,en.forEach=Oo,en.forEachRight=Lo,en.forIn=function(object,e){return null==object?object:Nn(object,Ca(e,3),$s)},en.forInRight=function(object,e){return null==object?object:On(object,Ca(e,3),$s)},en.forOwn=function(object,e){return object&&Ln(object,Ca(e,3))},en.forOwnRight=function(object,e){return object&&Pn(object,Ca(e,3))},en.get=qs,en.gt=rs,en.gte=ns,en.has=function(object,path){return null!=object&&xa(object,path,Vn)},en.hasIn=Vs,en.head=head,en.identity=vu,en.includes=function(e,t,r,n){e=ss(e)?e:tu(e),r=r&&!n?Ms(r):0;var o=e.length;return r<0&&(r=Br(o+r,0)),Es(e)?r<=o&&e.indexOf(t,r)>-1:!!o&&Qt(e,t,r)>-1},en.indexOf=function(e,t,r){var n=null==e?0:e.length;if(!n)return-1;var o=null==r?0:Ms(r);return o<0&&(o=Br(n+o,0)),Qt(e,t,o)},en.inRange=function(e,t,r){return t=Is(t),r===c?(r=t,t=0):r=Is(r),function(e,t,r){return e>=Nr(t,r)&&e<Br(t,r)}(e=xs(e),t,r)},en.invoke=Hs,en.isArguments=is,en.isArray=as,en.isArrayBuffer=os,en.isArrayLike=ss,en.isArrayLikeObject=us,en.isBoolean=function(e){return!0===e||!1===e||ys(e)&&Fn(e)==I},en.isBuffer=cs,en.isDate=fs,en.isElement=function(e){return ys(e)&&1===e.nodeType&&!bs(e)},en.isEmpty=function(e){if(null==e)return!0;if(ss(e)&&(as(e)||"string"==typeof e||"function"==typeof e.splice||cs(e)||Cs(e)||is(e)))return!e.length;var t=Ra(e);if(t==N||t==j)return!e.size;if(Ua(e))return!Jn(e).length;for(var r in e)if(ze.call(e,r))return!1;return!0},en.isEqual=function(e,t){return $n(e,t)},en.isEqualWith=function(e,t,r){var n=(r="function"==typeof r?r:c)?r(e,t):c;return n===c?$n(e,t,c,r):!!n},en.isError=hs,en.isFinite=function(e){return"number"==typeof e&&Yt(e)},en.isFunction=ls,en.isInteger=ds,en.isLength=ps,en.isMap=ms,en.isMatch=function(object,source){return object===source||Wn(object,source,Ta(source))},en.isMatchWith=function(object,source,e){return e="function"==typeof e?e:c,Wn(object,source,Ta(source),e)},en.isNaN=function(e){return vs(e)&&e!=+e},en.isNative=function(e){if(ja(e))throw new ye("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Yn(e)},en.isNil=function(e){return null==e},en.isNull=function(e){return null===e},en.isNumber=vs,en.isObject=gs,en.isObjectLike=ys,en.isPlainObject=bs,en.isRegExp=ws,en.isSafeInteger=function(e){return ds(e)&&e>=-9007199254740991&&e<=E}
vendor: 4,580 bytes, line 2
2,en.isSet=_s,en.isString=Es,en.isSymbol=Ss,en.isTypedArray=Cs,en.isUndefined=function(e){return e===c},en.isWeakMap=function(e){return ys(e)&&Ra(e)==V},en.isWeakSet=function(e){return ys(e)&&"[object WeakSet]"==Fn(e)},en.join=function(e,t){return null==e?"":ir.call(e,t)},en.kebabCase=au,en.last=ho,en.lastIndexOf=function(e,t,r){var n=null==e?0:e.length;if(!n)return-1;var o=n;return r!==c&&(o=(o=Ms(r))<0?Br(n+o,0):Nr(o,n-1)),t==t?function(e,t,r){for(var n=r+1;n--;)if(e[n]===t)return n;return n}(e,t,o):Jt(e,er,o,!0)},en.lowerCase=ou,en.lowerFirst=su,en.lt=As,en.lte=Ts,en.max=function(e){return e&&e.length?Rn(e,vu,qn):c},en.maxBy=function(e,t){return e&&e.length?Rn(e,Ca(t,2),qn):c},en.mean=function(e){return rr(e,vu)},en.meanBy=function(e,t){return rr(e,Ca(t,2))},en.min=function(e){return e&&e.length?Rn(e,vu,Zn):c},en.minBy=function(e,t){return e&&e.length?Rn(e,Ca(t,2),Zn):c},en.stubArray=Ru,en.stubFalse=xu,en.stubObject=function(){return{}},en.stubString=function(){return""},en.stubTrue=function(){return!0},en.multiply=Pu,en.nth=function(e,t){return e&&e.length?ii(e,Ms(t)):c},en.noConflict=function(){return Ct._===this&&(Ct._=Ye),this},en.noop=Su,en.now=qo,en.pad=function(e,t,r){e=Ns(e);var n=(t=Ms(t))?Tr(e):0;if(!t||n>=t)return e;var o=(t-n)/2;return oa(Tt(o),r)+e+oa(At(o),r)},en.padEnd=function(e,t,r){e=Ns(e);var n=(t=Ms(t))?Tr(e):0;return t&&n<t?e+oa(t-n,r):e},en.padStart=function(e,t,r){e=Ns(e);var n=(t=Ms(t))?Tr(e):0;return t&&n<t?oa(t-n,r)+e:e},en.parseInt=function(e,t,r){return r||null==t?t=0:t&&(t=+t),Lr(Ns(e).replace(ge,""),t||0)},en.random=function(e,t,r){if(r&&"boolean"!=typeof r&&La(e,t,r)&&(t=r=c),r===c&&("boolean"==typeof t?(r=t,t=c):"boolean"==typeof e&&(r=e,e=c)),e===c&&t===c?(e=0,t=1):(e=Is(e),t===c?(t=e,e=0):t=Is(t)),e>t){var n=e;e=t,t=n}if(r||e%1||t%1){var o=Pr();return Nr(e+o*(t-e+wt("1e-"+((o+"").length-1))),t)}return ci(e,t)},en.reduce=function(e,t,r){var n=as(e)?Gt:ar,o=arguments.length<3;return n(e,Ca(t,4),r,o,kn)},en.reduceRight=function(e,t,r){var n=as(e)?$t:ar,o=arguments.length<3;return n(e,Ca(t,4),r,o,In)},en.repeat=function(e,t,r){return t=(r?La(e,t,r):t===c)?1:Ms(t),fi(Ns(e),t)},en.replace=function(){var e=arguments,t=Ns(e[0]);return e.length<3?t:t.replace(e[1],e[2])},en.result=function(object,path,e){var t=-1,r=(path=Li(path,object)).length;for(r||(r=1,object=c);++t<r;){var n=null==object?c:object[Za(path[t])];n===c&&(t=r,n=e),object=ls(n)?n.call(object):n}return object},en.round=Du,en.runInContext=e,en.sample=function(e){return(as(e)?ln:di)(e)},en.size=function(e){if(null==e)return 0;if(ss(e))return Es(e)?Tr(e):e.length;var t=Ra(e);return t==N||t==j?e.size:Jn(e).length},en.snakeCase=uu,en.some=function(e,t,r){var n=as(e)?Wt:wi;return r&&La(e,t,r)&&(t=c),n(e,Ca(t,3))},en.sortedIndex=function(e,t){return _i(e,t)},en.sortedIndexBy=function(e,t,r){return Ei(e,t,Ca(r,2))},en.sortedIndexOf=function(e,t){var r=null==e?0:e.length;if(r){var n=_i(e,t);if(n<r&&ts(e[n],t))return n}return-1},en.sortedLastIndex=function(e,t){return _i(e,t,!0)},en.sortedLastIndexBy=function(e,t,r){return Ei(e,t,Ca(r,2),!0)},en.sortedLastIndexOf=function(e,t){if(null==e?0:e.length){var r=_i(e,t,!0)-1;if(ts(e[r],t))return r}return-1},en.startCase=cu,en.startsWith=function(e,t,r){return e=Ns(e),r=null==r?0:En(Ms(r),0,e.length),t=Ai(t),e.slice(r,r+t.length)==t},en.subtract=ju,en.sum=function(e){return e&&e.length?or(e,vu):0},en.sumBy=function(e,t){return e&&e.length?or(e,Ca(t,2)):0},en.template=function(e,t,r){var n=en.templateSettings;r&&La(e,t,r)&&(t=c),e=Ns(e),t=Ps({},t,n,pa);var o,f,h=Ps({},t.imports,n.imports,pa),l=Gs(h),d=fr(h,l),y=0,m=t.interpolate||xe,source="__p += '",v=Pe((t.escape||xe).source+"|"+m.source+"|"+(m===ce?Se:xe).source+"|"+(t.evaluate||xe).source+"|$","g"),w="//# sourceURL="+(ze.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++yt+"]")+"\n";e.replace(v,(function(t,r,n,c,h,l){return n||(n=c),source+=e.slice(y,l).replace(Be,vr),r&&(o=!0,source+="' +\n__e("+r+") +\n'"),h&&(f=!0,source+="';\n"+h+";\n__p += '"),n&&(source+="' +\n((__t = ("+n+")) == null ? '' : __t) +\n'"),y=l+t.length,t})),source+="';\n";var _=ze.call(t,"variable")&&t.variable;if(_){if(_e.test(_))throw new ye("Invalid `variable` option passed into `_.template`")}else source="with (obj) {\n"+source+"\n}\n";source=(f?source.replace(ee,""):source).replace(te,"$1").replace(re,"$1;"),source="function("+(_||"obj")+") {\n"+(_?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(o?", __e = _.escape":"")+(f?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";
2\n")+source+"return __p\n}";var E=du((function(){return Ne(l,w+"return "+source).apply(c,d)}));if(E.source=source,hs(E))throw E;return E},en.times=function(e,t){if((e=Ms(e))<1||e>E)return[];var r=C,n=Nr(e,C);t=Ca(t),e-=C;for(var o=sr(n,t);++r<e;)t(r);return o},en.toFinite=Is,en.toInteger=Ms,en.toLength=Rs,en.toLower=function(e){return Ns(e).toLowerCase()},en.toNumber=xs,en.toSafeInteger=function(e){return e?En(Ms(e),-9007199254740991,E):0===e?e:0},en.toString=Ns,en.toUpper=function(e){return Ns(e).toUpperCase()},en.trim=function(e,t,r){if((e=Ns(e))&&(r||t===c))return ur(e);if(!e||!(t=Ai(t)))return e;var n=kr(e),o=kr(t);return Di(n,dr(n,o),pr(n,o)+1).join("")},en.trimEnd=function(e,t,r){if((e=Ns(e))&&(r||t===c))return e.slice(0,Ir(e)+1);if(!e||!(t=Ai(t)))return e;var n=kr(e);return Di(n,0,pr(n,kr(t))+1).join("")},en.trimStart=function(e,t,r){if((e=Ns(e))&&(r||t===c))return e.replace(ge,"");if(!e||!(t=Ai(t)))return e;var n=kr(e);return Di(n,dr(n,kr(t))).join("")},en.truncate=function(e,t){var r=30,n="...";if(gs(t)){var o="separator"in t?t.separator:o;r="length"in t?Ms(t.length):r,n="omission"in t?Ai(t.omission):n}var f=(e=Ns(e)).length;if(wr(e)){var h=kr(e);f=h.length}if(r>=f)return e;var l=r-Tr(n);if(l<1)return n;var d=h?Di(h,0,l).join(""):e.slice(0,l);if(o===c)return d+n;if(h&&(l+=d.length-l),ws(o)){if(e.slice(l).search(o)){var y,m=d;for(o.global||(o=Pe(o.source,Ns(Ce.exec(o))+"g")),o.lastIndex=0;y=o.exec(m);)var v=y.index;d=d.slice(0,v===c?l:v)}}else if(e.indexOf(Ai(o),l)!=l){var w=d.lastIndexOf(o);w>-1&&(d=d.slice(0,w))}return d+n},en.unescape=function(e){return(e=Ns(e))&&ae.test(e)?e.replace(ne,Mr):e},en.uniqueId=function(e){var t=++He;return Ns(e)+t},en.upperCase=fu,en.upperFirst=hu,en.each=Oo,en.eachRight=Lo,en.first=head,Eu(en,(source={},Ln(en,(function(e,t){ze.call(en.prototype,t)||(source[t]=e)})),source),{chain:!1}),en.VERSION="4.17.21",jt(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){en[e].placeholder=en})),jt(["drop","take"],(function(e,t){an.prototype[e]=function(r){r=r===c?1:Br(Ms(r),0);var n=this.__filtered__&&!t?new an(this):this.clone();return n.__filtered__?n.__takeCount__=Nr(r,n.__takeCount__):n.__views__.push({size:Nr(r,C),type:e+(n.__dir__<0?"Right":"")}),n},an.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),jt(["filter","map","takeWhile"],(function(e,t){var r=t+1,n=1==r||3==r;an.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:Ca(e,3),type:r}),t.__filtered__=t.__filtered__||n,t}})),jt(["head","last"],(function(e,t){var r="take"+(t?"Right":"");an.prototype[e]=function(){return this[r](1).value()[0]}})),jt(["initial","tail"],(function(e,t){var r="drop"+(t?"":"Right");an.prototype[e]=function(){return this.__filtered__?new an(this):this[r](1)}})),an.prototype.compact=function(){return this.filter(vu)},an.prototype.find=function(e){return this.filter(e).head()},an.prototype.findLast=function(e){return this.reverse().find(e)},an.prototype.invokeMap=hi((function(path,e){return"function"==typeof path?new an(this):this.map((function(t){return Hn(t,path,e)}))})),an.prototype.reject=function(e){return this.filter(Xo(Ca(e)))},an.prototype.slice=function(e,t){e=Ms(e);var r=this;return r.__filtered__&&(e>0||t<0)?new an(r):(e<0?r=r.takeRight(-e):e&&(r=r.drop(e)),t!==c&&(r=(t=Ms(t))<0?r.dropRight(-t):r.take(t-e)),r)},an.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},an.prototype.toArray=function(){return this.take(C)},Ln(an.prototype,(function(e,t){var r=/^(?:filter|find|map|reject)|While$/.test(t),n=/^(?:head|last)$/.test(t),o=en[n?"take"+("last"==t?"Right":""):t],f=n||/^find/.test(t);o&&(en.prototype[t]=function(){var t=this.__wrapped__,h=n?[1]:arguments,l=t instanceof an,d=h[0],y=l||as(t),m=function(e){var t=o.apply(en,Ht([e],h));return n&&v?t[0]:t};y&&r&&"function"==typeof d&&1!=d.length&&(l=y=!1);var v=this.__chain__,w=!!this.__actions__.length,_=f&&!v,E=l&&!w;if(!f&&y){t=E?t:new an(this);var S=e.apply(t,h);return S.__actions__.push({func:Mo,args:[m],thisArg:c}),new nn(S,v)}
2return _&&E?e.apply(this,h):(S=this.thru(m),_?n?S.value()[0]:S.value():S)})})),jt(["pop","push","shift","sort","splice","unshift"],(function(e){var t=Ue[e],r=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",n=/^(?:pop|shift)$/.test(e);en.prototype[e]=function(){var e=arguments;if(n&&!this.__chain__){var o=this.value();return t.apply(as(o)?o:[],e)}return this[r]((function(r){return t.apply(as(r)?r:[],e)}))}})),Ln(an.prototype,(function(e,t){var r=en[t];if(r){var n=r.name+"";ze.call(Hr,n)||(Hr[n]=[]),Hr[n].push({name:t,func:r})}})),Hr[ra(c,2).name]=[{name:"wrapper",func:c}],an.prototype.clone=function(){var e=new an(this.__wrapped__);return e.__actions__=Hi(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=Hi(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=Hi(this.__views__),e},an.prototype.reverse=function(){if(this.__filtered__){var e=new an(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},an.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,r=as(e),n=t<0,o=r?e.length:0,view=function(e,t,r){var n=-1,o=r.length;for(;++n<o;){var data=r[n],c=data.size;switch(data.type){case"drop":e+=c;break;case"dropRight":t-=c;break;case"take":t=Nr(t,e+c);break;case"takeRight":e=Br(e,t-c)}}return{start:e,end:t}}(0,o,this.__views__),c=view.start,f=view.end,h=f-c,l=n?f:c-1,d=this.__iteratees__,y=d.length,m=0,v=Nr(h,this.__takeCount__);if(!r||!n&&o==h&&v==h)return Ri(e,this.__actions__);var w=[];e:for(;h--&&m<v;){for(var _=-1,E=e[l+=t];++_<y;){var data=d[_],S=data.iteratee,C=data.type,A=S(E);if(2==C)E=A;else if(!A){if(1==C)continue e;break e}}w[m++]=E}return w},en.prototype.at=Ro,en.prototype.chain=function(){return Io(this)},en.prototype.commit=function(){return new nn(this.value(),this.__chain__)},en.prototype.next=function(){this.__values__===c&&(this.__values__=ks(this.value()));var e=this.__index__>=this.__values__.length;return{done:e,value:e?c:this.__values__[this.__index__++]}},en.prototype.plant=function(e){for(var t,r=this;r instanceof rn;){var n=to(r);n.__index__=0,n.__values__=c,t?o.__wrapped__=n:t=n;var o=n;r=r.__wrapped__}return o.__wrapped__=e,t},en.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof an){var t=e;return this.__actions__.length&&(t=new an(this)),(t=t.reverse()).__actions__.push({func:Mo,args:[yo],thisArg:c}),new nn(t,this.__chain__)}return this.thru(yo)},en.prototype.toJSON=en.prototype.valueOf=en.prototype.value=function(){return Ri(this.__wrapped__,this.__actions__)},en.prototype.first=en.prototype.head,st&&(en.prototype[st]=function(){return this}),en}();Ct._=Rr,(o=function(){return Rr}.call(t,r,t,n))===c||(n.exports=o)}).call(this)}).call(this,r(20),r(135)(e))},function(e,t,r){"use strict";(function(t){void 0===t||!t.version||0===t.version.indexOf("v0.")||0===t.version.indexOf("v1.")&&0!==t.version.indexOf("v1.8.")?e.exports={nextTick:function(e,r,n,o){if("function"!=typeof e)throw new TypeError('"callback" argument must be a function');var c,i,f=arguments.length;switch(f){case 0:case 1:return t.nextTick(e);case 2:return t.nextTick((function(){e.call(null,r)}));case 3:return t.nextTick((function(){e.call(null,r,n)}));case 4:return t.nextTick((function(){e.call(null,r,n,o)}));default:for(c=new Array(f-1),i=0;i<c.length;)c[i++]=arguments[i];return t.nextTick((function(){e.apply(null,c)}))}}}:e.exports=t}).call(this,r(17))},function(e,t,r){"use strict";var n=r(713),o=r(714);function c(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}t.parse=T,t.resolve=function(source,e){return T(source,!1,!0).resolve(e)},t.resolveObject=function(source,e){return source?T(source,!1,!0).resolveObject(e):e},t.format=function(e){o.isString(e)&&(e=T(e));return e instanceof c?e.format():c.prototype.format.call(e)},t.Url=c;var f=/^([a-z0-9.+-]+:)/i,h=/:[0-9]*$/,l=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,d=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),y=["'"].concat(d),m=["%","/","?",";","#"].concat(y),v=["/","?","#"],w=/^[+a-z0-9A-Z_-]{0,63}
vendor: 7,367 bytes, line 2
2$/,_=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,E={javascript:!0,"javascript:":!0},S={javascript:!0,"javascript:":!0},C={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},A=r(242);function T(e,t,r){if(e&&o.isObject(e)&&e instanceof c)return e;var u=new c;return u.parse(e,t,r),u}c.prototype.parse=function(e,t,r){if(!o.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var c=e.indexOf("?"),h=-1!==c&&c<e.indexOf("#")?"?":"#",d=e.split(h);d[0]=d[0].replace(/\\/g,"/");var T=e=d.join(h);if(T=T.trim(),!r&&1===e.split("#").length){var k=l.exec(T);if(k)return this.path=T,this.href=T,this.pathname=k[1],k[2]?(this.search=k[2],this.query=t?A.parse(this.search.substr(1)):this.search.substr(1)):t&&(this.search="",this.query={}),this}var I=f.exec(T);if(I){var M=(I=I[0]).toLowerCase();this.protocol=M,T=T.substr(I.length)}if(r||I||T.match(/^\/\/[^@\/]+@[^@\/]+/)){var R="//"===T.substr(0,2);!R||I&&S[I]||(T=T.substr(2),this.slashes=!0)}if(!S[I]&&(R||I&&!C[I])){for(var x,B,N=-1,i=0;i<v.length;i++){-1!==(O=T.indexOf(v[i]))&&(-1===N||O<N)&&(N=O)}-1!==(B=-1===N?T.lastIndexOf("@"):T.lastIndexOf("@",N))&&(x=T.slice(0,B),T=T.slice(B+1),this.auth=decodeURIComponent(x)),N=-1;for(i=0;i<m.length;i++){var O;-1!==(O=T.indexOf(m[i]))&&(-1===N||O<N)&&(N=O)}-1===N&&(N=T.length),this.host=T.slice(0,N),T=T.slice(N),this.parseHost(),this.hostname=this.hostname||"";var L="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!L)for(var P=this.hostname.split(/\./),D=(i=0,P.length);i<D;i++){var j=P[i];if(j&&!j.match(w)){for(var U="",F=0,V=j.length;F<V;F++)j.charCodeAt(F)>127?U+="x":U+=j[F];if(!U.match(w)){var K=P.slice(0,i),z=P.slice(i+1),H=j.match(_);H&&(K.push(H[1]),z.unshift(H[2])),z.length&&(T="/"+z.join(".")+T),this.hostname=K.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),L||(this.hostname=n.toASCII(this.hostname));var p=this.port?":"+this.port:"",G=this.hostname||"";this.host=G+p,this.href+=this.host,L&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==T[0]&&(T="/"+T))}if(!E[M])for(i=0,D=y.length;i<D;i++){var $=y[i];if(-1!==T.indexOf($)){var W=encodeURIComponent($);W===$&&(W=escape($)),T=T.split($).join(W)}}var Y=T.indexOf("#");-1!==Y&&(this.hash=T.substr(Y),T=T.slice(0,Y));var X=T.indexOf("?");if(-1!==X?(this.search=T.substr(X),this.query=T.substr(X+1),t&&(this.query=A.parse(this.query)),T=T.slice(0,X)):t&&(this.search="",this.query={}),T&&(this.pathname=T),C[M]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){p=this.pathname||"";var s=this.search||"";this.path=p+s}return this.href=this.format(),this},c.prototype.format=function(){var e=this.auth||"";e&&(e=(e=encodeURIComponent(e)).replace(/%3A/i,":"),e+="@");var t=this.protocol||"",r=this.pathname||"",n=this.hash||"",c=!1,f="";this.host?c=e+this.host:this.hostname&&(c=e+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(c+=":"+this.port)),this.query&&o.isObject(this.query)&&Object.keys(this.query).length&&(f=A.stringify(this.query));var h=this.search||f&&"?"+f||"";return t&&":"!==t.substr(-1)&&(t+=":"),this.slashes||(!t||C[t])&&!1!==c?(c="//"+(c||""),r&&"/"!==r.charAt(0)&&(r="/"+r)):c||(c=""),n&&"#"!==n.charAt(0)&&(n="#"+n),h&&"?"!==h.charAt(0)&&(h="?"+h),t+c+(r=r.replace(/[?#]/g,(function(e){return encodeURIComponent(e)})))+(h=h.replace("#","%23"))+n},c.prototype.resolve=function(e){return this.resolveObject(T(e,!1,!0)).format()},c.prototype.resolveObject=function(e){if(o.isString(e)){var t=new c;t.parse(e,!1,!0),e=t}for(var r=new c,n=Object.keys(this),f=0;f<n.length;f++){var h=n[f];r[h]=this[h]}if(r.hash=e.hash,""===e.href)return r.href=r.format(),r;if(e.slashes&&!e.protocol){for(var l=Object.keys(e),d=0;d<l.length;d++){var y=l[d];"protocol"!==y&&(r[y]=e[y])}return C[r.protocol]&&r.hostname&&!r.pathname&&(r.path=r.pathname="/"),r.href=r.format(),r}if(e.protocol&&e.protocol!==r.protocol){if(!C[e.protocol]){for(var m=Object.keys(e),v=0;v<m.length;v++){var w=m[v];r[w]=e[w]}return r.href=r.format(),r}if(r.protocol=e.protocol,e.host||S[e.protocol])r.pathname=e.pathname;else{for(var _=(e.pathname||"").split("/");_.length&&!(e.host=_.shift()););e.host||(e.host=""),e.hostname||(e.hostname=""),""!==_[0]&&_.unshift(""),_.length<2&&_.unshift(""),r.pathname=_.join("/")}if(r.search=e.search,r.query=e.query,r.host=e.host||"",r.auth=e.auth,r.hostname=e.hostname||e.host,r.port=e.port,r.pathname||r.search){var p=r.pathname||"",s=r.search||"";r.path=p+s}return r.slashes=r.slashes||e.slashes,r.href=r.format(),r}var E=r.pathname&&"/"===r.pathname.charAt(0),A=e.host||e.pathname&&"/"===e.pathname.charAt(0),T=A||E||r.host&&e.pathname,k=T,I=r.pathname&&r.pathname.split("/")||[],M=(_=e.pathname&&e.pathname.split("/")||[],r.protocol&&!C[r.protocol]);if(M&&(r.hostname="",r.port=null,r.host&&(""===I[0]?I[0]=r.host:I.unshift(r.host)),r.host="",e.protocol&&(e.hostname=null,e.port=null,e.host&&(""===_[0]?_[0]=e.host:_.unshift(e.host)),e.host=null),T=T&&(""===_[0]||""===I[0])),A)r.host=e.host||""===e.host?e.host:r.host,r.hostname=e.hostname||""===e.hostname?e.hostname:r.hostname,r.search=e.search,r.query=e.query,I=_;else if(_.length)I||(I=[]),I.pop(),I=I.concat(_),r.search=e.search,r.query=e.query;else if(!o.isNullOrUndefined(e.search)){if(M)r.hostname=r.host=I.shift(),(N=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@"))&&(r.auth=N.shift(),r.host=r.hostname=N.shift());return r.search=e.search,r.query=e.query,o.isNull(r.pathname)&&o.isNull(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.href=r.format(),r}if(!I.length)return r.pathname=null,r.search?r.path="/"+r.search:r.path=null,r.href=r.format(),r;for(var R=I.slice(-1)[0],x=(r.host||e.host||I.length>1)&&("."===R||".."===R)||""===R,B=0,i=I.length;i>=0;i--)"."===(R=I[i])?I.splice(i,1):".."===R?(I.splice(i,1),B++):B&&(I.splice(i,1),B--);if(!T&&!k)for(;B--;B)I.unshift("..");!T||""===I[0]||I[0]&&"/"===I[0].charAt(0)||I.unshift(""),x&&"/"!==I.join("/").substr(-1)&&I.push("");var N,O=""===I[0]||I[0]&&"/"===I[0].charAt(0);M&&(r.hostname=r.host=O?"":I.length?I.shift():"",(N=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@"))&&(r.auth=N.shift(),r.host=r.hostname=N.shift()));return(T=T||r.host&&I.length)&&!O&&I.unshift(""),I.length?r.pathname=I.join("/"):(r.pathname=null,r.path=null),o.isNull(r.pathname)&&o.isNull(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.auth=e.auth||r.auth,r.slashes=r.slashes||e.slashes,r.href=r.format(),r},c.prototype.parseHost=function(){var e=this.host,t=h.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},function(e,t,r){var n=r(8).Buffer;function o(e){n.isBuffer(e)||(e=n.from(e));for(var t=e.length/4|0,r=new Array(t),i=0;i<t;i++)r[i]=e.readUInt32BE(4*i);return r}function c(e){for(;0<e.length;e++)e[0]=0}function f(e,t,r,n,o){for(var c,f,h,l,d=r[0],y=r[1],m=r[2],v=r[3],w=e[0]^t[0],_=e[1]^t[1],E=e[2]^t[2],S=e[3]^t[3],C=4,A=1;A<o;A++)c=d[w>>>24]^y[_>>>16&255]^m[E>>>8&255]^v[255&S]^t[C++],f=d[_>>>24]^y[E>>>16&255]^m[S>>>8&255]^v[255&w]^t[C++],h=d[E>>>24]^y[S>>>16&255]^m[w>>>8&255]^v[255&_]^t[C++],l=d[S>>>24]^y[w>>>16&255]^m[_>>>8&255]^v[255&E]^t[C++],w=c,_=f,E=h,S=l;return c=(n[w>>>24]<<24|n[_>>>16&255]<<16|n[E>>>8&255]<<8|n[255&S])^t[C++],f=(n[_>>
vendor: 9,609 bytes, line 2
2>24]<<24|n[E>>>16&255]<<16|n[S>>>8&255]<<8|n[255&w])^t[C++],h=(n[E>>>24]<<24|n[S>>>16&255]<<16|n[w>>>8&255]<<8|n[255&_])^t[C++],l=(n[S>>>24]<<24|n[w>>>16&255]<<16|n[_>>>8&255]<<8|n[255&E])^t[C++],[c>>>=0,f>>>=0,h>>>=0,l>>>=0]}var h=[0,1,2,4,8,16,32,64,128,27,54],l=function(){for(var e=new Array(256),t=0;t<256;t++)e[t]=t<128?t<<1:t<<1^283;for(var r=[],n=[],o=[[],[],[],[]],c=[[],[],[],[]],f=0,h=0,i=0;i<256;++i){var l=h^h<<1^h<<2^h<<3^h<<4;l=l>>>8^255&l^99,r[f]=l,n[l]=f;var d=e[f],y=e[d],m=e[y],v=257*e[l]^16843008*l;o[0][f]=v<<24|v>>>8,o[1][f]=v<<16|v>>>16,o[2][f]=v<<8|v>>>24,o[3][f]=v,v=16843009*m^65537*y^257*d^16843008*f,c[0][l]=v<<24|v>>>8,c[1][l]=v<<16|v>>>16,c[2][l]=v<<8|v>>>24,c[3][l]=v,0===f?f=h=1:(f=d^e[e[e[m^d]]],h^=e[e[h]])}return{SBOX:r,INV_SBOX:n,SUB_MIX:o,INV_SUB_MIX:c}}();function d(e){this._key=o(e),this._reset()}d.blockSize=16,d.keySize=32,d.prototype.blockSize=d.blockSize,d.prototype.keySize=d.keySize,d.prototype._reset=function(){for(var e=this._key,t=e.length,r=t+6,n=4*(r+1),o=[],c=0;c<t;c++)o[c]=e[c];for(c=t;c<n;c++){var f=o[c-1];c%t==0?(f=f<<8|f>>>24,f=l.SBOX[f>>>24]<<24|l.SBOX[f>>>16&255]<<16|l.SBOX[f>>>8&255]<<8|l.SBOX[255&f],f^=h[c/t|0]<<24):t>6&&c%t==4&&(f=l.SBOX[f>>>24]<<24|l.SBOX[f>>>16&255]<<16|l.SBOX[f>>>8&255]<<8|l.SBOX[255&f]),o[c]=o[c-t]^f}for(var d=[],y=0;y<n;y++){var m=n-y,v=o[m-(y%4?0:4)];d[y]=y<4||m<=4?v:l.INV_SUB_MIX[0][l.SBOX[v>>>24]]^l.INV_SUB_MIX[1][l.SBOX[v>>>16&255]]^l.INV_SUB_MIX[2][l.SBOX[v>>>8&255]]^l.INV_SUB_MIX[3][l.SBOX[255&v]]}this._nRounds=r,this._keySchedule=o,this._invKeySchedule=d},d.prototype.encryptBlockRaw=function(e){return f(e=o(e),this._keySchedule,l.SUB_MIX,l.SBOX,this._nRounds)},d.prototype.encryptBlock=function(e){var t=this.encryptBlockRaw(e),r=n.allocUnsafe(16);return r.writeUInt32BE(t[0],0),r.writeUInt32BE(t[1],4),r.writeUInt32BE(t[2],8),r.writeUInt32BE(t[3],12),r},d.prototype.decryptBlock=function(e){var t=(e=o(e))[1];e[1]=e[3],e[3]=t;var r=f(e,this._invKeySchedule,l.INV_SUB_MIX,l.INV_SBOX,this._nRounds),c=n.allocUnsafe(16);return c.writeUInt32BE(r[0],0),c.writeUInt32BE(r[3],4),c.writeUInt32BE(r[2],8),c.writeUInt32BE(r[1],12),c},d.prototype.scrub=function(){c(this._keySchedule),c(this._invKeySchedule),c(this._key)},e.exports.AES=d},function(e,t,r){var n=r(8).Buffer,o=r(244);e.exports=function(e,t,r,c){if(n.isBuffer(e)||(e=n.from(e,"binary")),t&&(n.isBuffer(t)||(t=n.from(t,"binary")),8!==t.length))throw new RangeError("salt should be Buffer with 8 byte length");for(var f=r/8,h=n.alloc(f),l=n.alloc(c||0),d=n.alloc(0);f>0||c>0;){var y=new o;y.update(d),y.update(e),t&&y.update(t),d=y.digest();var m=0;if(f>0){var v=h.length-f;m=Math.min(f,d.length),d.copy(h,v,0,m),f-=m}if(m<d.length&&c>0){var w=l.length-c,_=Math.min(c,d.length-m);d.copy(l,w,m,m+_),c-=_}}return d.fill(0),{key:h,iv:l}}},function(e,t,r){"use strict";var n=r(32),o=r(55),c=o.getNAF,f=o.getJSF,h=o.assert;function l(e,t){this.type=e,this.p=new n(t.p,16),this.red=t.prime?n.red(t.prime):n.mont(this.p),this.zero=new n(0).toRed(this.red),this.one=new n(1).toRed(this.red),this.two=new n(2).toRed(this.red),this.n=t.n&&new n(t.n,16),this.g=t.g&&this.pointFromJSON(t.g,t.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4),this._bitLength=this.n?this.n.bitLength():0;var r=this.n&&this.p.div(this.n);!r||r.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}function d(e,t){this.curve=e,this.type=t,this.precomputed=null}e.exports=l,l.prototype.point=function(){throw new Error("Not implemented")},l.prototype.validate=function(){throw new Error("Not implemented")},l.prototype._fixedNafMul=function(p,e){h(p.precomputed);var t=p._getDoubles(),r=c(e,1,this._bitLength),n=(1<<t.step+1)-(t.step%2==0?2:1);n/=3;var o,f,l=[];for(o=0;o<r.length;o+=t.step){f=0;for(var d=o+t.step-1;d>=o;d--)f=(f<<1)+r[d];l.push(f)}for(var a=this.jpoint(null,null,null),b=this.jpoint(null,null,null),i=n;i>0;i--){for(o=0;o<l.length;o++)(f=l[o])===i?b=b.mixedAdd(t.points[o]):f===-i&&(b=b.mixedAdd(t.points[o].neg()));a=a.add(b)}return a.toP()},l.prototype._wnafMul=function(p,e){var t=4,r=p._getNAFPoints(t);t=r.wnd;for(var n=r.points,o=c(e,t,this._bitLength),f=this.jpoint(null,null,null),i=o.length-1;i>=0;i--){for(var l=0;i>=0&&0===o[i];i--)l++;if(i>=0&&l++,f=f.dblp(l),i<0)break;var d=o[i];h(0!==d),f="affine"===p.type?d>0?f.mixedAdd(n[d-1>>1]):f.mixedAdd(n[-d-1>>1].neg()):d>0?f.add(n[d-1>>1]):f.add(n[-d-1>>1].neg())}return"affine"===p.type?f.toP():f},l.prototype._wnafMulAdd=function(e,t,r,n,o){var i,h,p,l=this._wnafT1,d=this._wnafT2,y=this._wnafT3,m=0;for(i=0;i<n;i++){var v=(p=t[i])._getNAFPoints(e);l[i]=v.wnd,d[i]=v.points}for(i=n-1;i>=1;i-=2){var a=i-1,b=i;if(1===l[a]&&1===l[b]){var w=[t[a],null,null,t[b]];0===t[a].y.cmp(t[b].y)?(w[1]=t[a].add(t[b]),w[2]=t[a].toJ().mixedAdd(t[b].neg())):0===t[a].y.cmp(t[b].y.redNeg())?(w[1]=t[a].toJ().mixedAdd(t[b]),w[2]=t[a].add(t[b].neg())):(w[1]=t[a].toJ().mixedAdd(t[b]),w[2]=t[a].toJ().mixedAdd(t[b].neg()));var _=[-3,-1,-5,-7,0,7,5,1,3],E=f(r[a],r[b]);for(m=Math.max(E[0].length,m),y[a]=new Array(m),y[b]=new Array(m),h=0;h<m;h++){var S=0|E[0][h],C=0|E[1][h];y[a][h]=_[3*(S+1)+(C+1)],y[b][h]=0,d[a]=w}}else y[a]=c(r[a],l[a],this._bitLength),y[b]=c(r[b],l[b],this._bitLength),m=Math.max(y[a].length,m),m=Math.max(y[b].length,m)}var A=this.jpoint(null,null,null),T=this._wnafT4;for(i=m;i>=0;i--){for(var k=0;i>=0;){var I=!0;for(h=0;h<n;h++)T[h]=0|y[h][i],0!==T[h]&&(I=!1);if(!I)break;k++,i--}if(i>=0&&k++,A=A.dblp(k),i<0)break;for(h=0;h<n;h++){var M=T[h];0!==M&&(M>0?p=d[h][M-1>>1]:M<0&&(p=d[h][-M-1>>1].neg()),A="affine"===p.type?A.mixedAdd(p):A.add(p))}}for(i=0;i<n;i++)d[i]=null;return o?A:A.toP()},l.BasePoint=d,d.prototype.eq=function(){throw new Error("Not implemented")},d.prototype.validate=function(){return this.curve.validate(this)},l.prototype.decodePoint=function(e,t){e=o.toArray(e,t);var r=this.p.byteLength();if((4===e[0]||6===e[0]||7===e[0])&&e.length-1==2*r)return 6===e[0]?h(e[e.length-1]%2==0):7===e[0]&&h(e[e.length-1]%2==1),this.point(e.slice(1,1+r),e.slice(1+r,1+2*r));if((2===e[0]||3===e[0])&&e.length-1===r)return this.pointFromX(e.slice(1,1+r),3===e[0]);throw new Error("Unknown point format")},d.prototype.encodeCompressed=function(e){return this.encode(e,!0)},d.prototype._encode=function(e){var t=this.curve.p.byteLength(),r=this.getX().toArray("be",t);return e?[this.getY().isEven()?2:3].concat(r):[4].concat(r,this.getY().toArray("be",t))},d.prototype.encode=function(e,t){return o.encode(this._encode(t),e)},d.prototype.precompute=function(e){if(this.precomputed)return this;var t={doubles:null,naf:null,beta:null};return t.naf=this._getNAFPoints(8),t.doubles=this._getDoubles(4,e),t.beta=this._getBeta(),this.precomputed=t,this},d.prototype._hasDoubles=function(e){if(!this.precomputed)return!1;var t=this.precomputed.doubles;return!!t&&t.points.length>=Math.ceil((e.bitLength()+1)/t.step)},d.prototype._getDoubles=function(e,t){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var r=[this],n=this,i=0;i<t;i+=e){for(var o=0;o<e;o++)n=n.dbl();r.push(n)}return{step:e,points:r}},d.prototype._getNAFPoints=function(e){if(this.precomputed&&this.precomputed.naf)return this.precomputed.naf;for(var t=[this],r=(1<<e)-1,n=1===r?null:this.dbl(),i=1;i<r;i++)t[i]=t[i-1].add(n);return{wnd:e,points:t}},d.prototype._getBeta=function(){return null},d.prototype.dblp=function(e){for(var t=this,i=0;i<e;i++)t=t.dbl();return t}},function(e,t,r){var n=r(808),o=r(815),c=r(816),f=r(249),h=r(397),l=r(8).Buffer;function d(e){var t;"object"!=typeof e||l.isBuffer(e)||(t=e.passphrase,e=e.key),"string"==typeof e&&(e=l.from(e));var r,d,y=c(e,t),m=y.tag,data=y.data;switch(m){case"CERTIFICATE":d=n.certificate.decode(data,"der").tbsCertificate.subjectPublicKeyInfo;case"PUBLIC KEY":switch(d||(d=n.PublicKey.decode(data,"der")),r=d.algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return n.RSAPublicKey.decode(d.subjectPublicKey.data,"der");case"1.2.840.10045.2.1":return d.subjectPrivateKey=d.subjectPublicKey,{type:"ec",data:d};case"1.2.840.10040.4.1":return d.algorithm.params.pub_key=n.DSAparam.decode(d.subjectPublicKey.data,"der"),{type:"dsa",data:d.algorithm.params};default:throw new Error("unknown key id "+r)}case"ENCRYPTED PRIVATE KEY":data=function(data,e){var t=data.algorithm.decrypt.kde.kdeparams.salt,r=parseInt(data.algorithm.decrypt.kde.kdeparams.iters.toString(),10),n=o[data.algorithm.decrypt.cipher.algo.join(".")],c=data.algorithm.decrypt.cipher.iv,d=data.subjectPrivateKey,y=parseInt(n.split("-")[1],10)/8,m=h.pbkdf2Sync(e,t,r,y,"sha1"),v=f.createDecipheriv(n,m,c),w=[];return w.push(v.update(d)),w.push(v.final()),l.concat(w)}(data=n.EncryptedPrivateKey.decode(data,"der"),t);case"PRIVATE KEY":switch(r=(d=n.PrivateKey.decode(data,"der")).algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return n.RSAPrivateKey.decode(d.subjectPrivateKey,"der");case"1.2.840.10045.2.1":return{curve:d.algorithm.curve,privateKey:n.ECPrivateKey.decode(d.subjectPrivateKey,"der").privateKey};case"1.2.840.10040.4.1":return d.algorithm.params.priv_key=n.DSAparam.decode(d.subjectPrivateKey,"der"),{type:"dsa",params:d.algorithm.params};default:throw new Error("unknown key id "+r)}case"RSA PUBLIC KEY":return n.RSAPublicKey.decode(data,"der");case"RSA PRIVATE KEY":return n.RSAPrivateKey.decode(data,"der");case"DSA PRIVATE KEY":return{type:"dsa",params:n.DSAPrivateKey.decode(data,"der")};case"EC PRIVATE KEY":return{curve:(data=n.ECPrivateKey.decode(data,"der")).parameters.value,privateKey:data.privateKey};default:throw new Error("unknown key type "+m)}}
vendor: 10,463 bytes, line 2
2e.exports=d,d.signature=n.signature},function(e,t,r){var n=r(11);function o(e,t){n.cipher.registerAlgorithm(e,(function(){return new n.des.Algorithm(e,t)}))}r(262),r(442),r(18),e.exports=n.des=n.des||{},n.des.startEncrypting=function(e,t,output,r){var n=_({key:e,output:output,decrypt:!1,mode:r||(null===t?"ECB":"CBC")});return n.start(t),n},n.des.createEncryptionCipher=function(e,t){return _({key:e,output:null,decrypt:!1,mode:t})},n.des.startDecrypting=function(e,t,output,r){var n=_({key:e,output:output,decrypt:!0,mode:r||(null===t?"ECB":"CBC")});return n.start(t),n},n.des.createDecryptionCipher=function(e,t){return _({key:e,output:null,decrypt:!0,mode:t})},n.des.Algorithm=function(e,t){var r=this;r.name=e,r.mode=new t({blockSize:8,cipher:{encrypt:function(e,t){return w(r._keys,e,t,!1)},decrypt:function(e,t){return w(r._keys,e,t,!0)}}}),r._init=!1},n.des.Algorithm.prototype.initialize=function(e){if(!this._init){var t=n.util.createBuffer(e.key);if(0===this.name.indexOf("3DES")&&24!==t.length())throw new Error("Invalid Triple-DES key size: "+8*t.length());this._keys=function(e){for(var t,r=[0,4,536870912,536870916,65536,65540,536936448,536936452,512,516,536871424,536871428,66048,66052,536936960,536936964],n=[0,1,1048576,1048577,67108864,67108865,68157440,68157441,256,257,1048832,1048833,67109120,67109121,68157696,68157697],o=[0,8,2048,2056,16777216,16777224,16779264,16779272,0,8,2048,2056,16777216,16777224,16779264,16779272],c=[0,2097152,134217728,136314880,8192,2105344,134225920,136323072,131072,2228224,134348800,136445952,139264,2236416,134356992,136454144],f=[0,262144,16,262160,0,262144,16,262160,4096,266240,4112,266256,4096,266240,4112,266256],h=[0,1024,32,1056,0,1024,32,1056,33554432,33555456,33554464,33555488,33554432,33555456,33554464,33555488],l=[0,268435456,524288,268959744,2,268435458,524290,268959746,0,268435456,524288,268959744,2,268435458,524290,268959746],d=[0,65536,2048,67584,536870912,536936448,536872960,536938496,131072,196608,133120,198656,537001984,537067520,537004032,537069568],y=[0,262144,0,262144,2,262146,2,262146,33554432,33816576,33554432,33816576,33554434,33816578,33554434,33816578],m=[0,268435456,8,268435464,0,268435456,8,268435464,1024,268436480,1032,268436488,1024,268436480,1032,268436488],v=[0,32,0,32,1048576,1048608,1048576,1048608,8192,8224,8192,8224,1056768,1056800,1056768,1056800],w=[0,16777216,512,16777728,2097152,18874368,2097664,18874880,67108864,83886080,67109376,83886592,69206016,85983232,69206528,85983744],_=[0,4096,134217728,134221824,524288,528384,134742016,134746112,16,4112,134217744,134221840,524304,528400,134742032,134746128],E=[0,4,256,260,0,4,256,260,1,5,257,261,1,5,257,261],S=e.length()>8?3:1,C=[],A=[0,0,1,1,1,1,1,1,0,1,1,1,1,1,1,0],T=0,k=0;k<S;k++){var I=e.getInt32(),M=e.getInt32();I^=(t=252645135&(I>>>4^M))<<4,I^=t=65535&((M^=t)>>>-16^I),I^=(t=858993459&(I>>>2^(M^=t<<-16)))<<2,I^=t=65535&((M^=t)>>>-16^I),I^=(t=1431655765&(I>>>1^(M^=t<<-16)))<<1,I^=t=16711935&((M^=t)>>>8^I),t=(I^=(t=1431655765&(I>>>1^(M^=t<<8)))<<1)<<8|(M^=t)>>>20&240,I=M<<24|M<<8&16711680|M>>>8&65280|M>>>24&240,M=t;for(var i=0;i<A.length;++i){A[i]?(I=I<<2|I>>>26,M=M<<2|M>>>26):(I=I<<1|I>>>27,M=M<<1|M>>>27),M&=-15;var R=r[(I&=-15)>>>28]|n[I>>>24&15]|o[I>>>20&15]|c[I>>>16&15]|f[I>>>12&15]|h[I>>>8&15]|l[I>>>4&15],x=d[M>>>28]|y[M>>>24&15]|m[M>>>20&15]|v[M>>>16&15]|w[M>>>12&15]|_[M>>>8&15]|E[M>>>4&15];t=65535&(x>>>16^R),C[T++]=R^t,C[T++]=x^t<<16}}return C}(t),this._init=!0}},o("DES-ECB",n.cipher.modes.ecb),o("DES-CBC",n.cipher.modes.cbc),o("DES-CFB",n.cipher.modes.cfb),o("DES-OFB",n.cipher.modes.ofb),o("DES-CTR",n.cipher.modes.ctr),o("3DES-ECB",n.cipher.modes.ecb),o("3DES-CBC",n.cipher.modes.cbc),o("3DES-CFB",n.cipher.modes.cfb),o("3DES-OFB",n.cipher.modes.ofb),o("3DES-CTR",n.cipher.modes.ctr);var c=[16843776,0,65536,16843780,16842756,66564,4,65536,1024,16843776,16843780,1024,16778244,16842756,16777216,4,1028,16778240,16778240,66560,66560,16842752,16842752,16778244,65540,16777220,16777220,65540,0,1028,66564,16777216,65536,16843780,4,16842752,16843776,16777216,16777216,1024,16842756,65536,66560,16777220,1024,4,16778244,66564,16843780,65540,16842752,16778244,16777220,1028,66564,16843776,1028,16778240,16778240,0,65540,66560,0,16842756],f=[-2146402272,-2147450880,32768,1081376,1048576,32,-2146435040,-2147450848,-2147483616,-2146402272,-2146402304,-2147483648,-2147450880,1048576,32,-2146435040,1081344,1048608,-2147450848,0,-2147483648,32768,1081376,-2146435072,1048608,-2147483616,0,1081344,32800,-2146402304,-2146435072,32800,0,1081376,-2146435040,1048576,-2147450848,-2146435072,-2146402304,32768,-2146435072,-2147450880,32,-2146402272,1081376,32,32768,-2147483648,32800,-2146402304,1048576,-2147483616,1048608,-2147450848,-2147483616,1048608,1081344,0,-2147450880,32800,-2147483648,-2146435040,-2146402272,1081344],h=[520,134349312,0,134348808,134218240,0,131592,134218240,131080,134217736,134217736,131072,134349320,131080,134348800,520,134217728,8,134349312,512,131584,134348800,134348808,131592,134218248,131584,131072,134218248,8,134349320,512,134217728,134349312,134217728,131080,520,131072,134349312,134218240,0,512,131080,134349320,134218240,134217736,512,0,134348808,134218248,131072,134217728,134349320,8,131592,131584,134217736,134348800,134218248,520,134348800,131592,8,134348808,131584],l=[8396801,8321,8321,128,8396928,8388737,8388609,8193,0,8396800,8396800,8396929,129,0,8388736,8388609,1,8192,8388608,8396801,128,8388608,8193,8320,8388737,1,8320,8388736,8192,8396928,8396929,129,8388736,8388609,8396800,8396929,129,0,0,8396800,8320,8388736,8388737,1,8396801,8321,8321,128,8396929,129,1,8192,8388609,8193,8396928,8388737,8193,8320,8388608,8396801,128,8388608,8192,8396928],d=[256,34078976,34078720,1107296512,524288,256,1073741824,34078720,1074266368,524288,33554688,1074266368,1107296512,1107820544,524544,1073741824,33554432,1074266112,1074266112,0,1073742080,1107820800,1107820800,33554688,1107820544,1073742080,0,1107296256,34078976,33554432,1107296256,524544,524288,1107296512,256,33554432,1073741824,34078720,1107296512,1074266368,33554688,1073741824,1107820544,34078976,1074266368,256,33554432,1107820544,1107820800,524544,1107296256,1107820800,34078720,0,1074266112,1107296256,524544,33554688,1073742080,524288,0,1074266112,34078976,1073742080],y=[536870928,541065216,16384,541081616,541065216,16,541081616,4194304,536887296,4210704,4194304,536870928,4194320,536887296,536870912,16400,0,4194320,536887312,16384,4210688,536887312,16,541065232,541065232,0,4210704,541081600,16400,4210688,541081600,536870912,536887296,16,541065232,4210688,541081616,4194304,16400,536870928,4194304,536887296,536870912,16400,536870928,541081616,4210688,541065216,4210704,541081600,0,541065232,16,16384,541065216,4210704,16384,4194320,536887312,0,541081600,536870912,4194320,536887312],m=[2097152,69206018,67110914,0,2048,67110914,2099202,69208064,69208066,2097152,0,67108866,2,67108864,69206018,2050,67110912,2099202,2097154,67110912,67108866,69206016,69208064,2097154,69206016,2048,2050,69208066,2099200,2,67108864,2099200,67108864,2099200,2097152,67110914,67110914,69206018,69206018,2,2097154,67108864,67110912,2097152,69208064,2050,2099202,69208064,2050,67108866,69208066,69206016,2099200,0,2,69208066,0,2099202,69206016,2048,67108866,67110912,2048,2097154],v=[268439616,4096,262144,268701760,268435456,268439616,64,268435456,262208,268697600,268701760,266240,268701696,266304,4096,64,268697600,268435520,268439552,4160,266240,262208,268697664,268701696,4160,0,0,268697664,268435520,268439552,266304,262144,266304,262144,268701696,4096,64,268697664,4096,266304,268439552,64,268435520,268697600,268697664,268435456,262144,268439616,0,268701760,262208,268435520,268697600,268439552,268439616,0,268701760,266240,266240,4160,4160,262208,268435456,268701696];function w(e,input,output,t){var r,n,o=32===e.length?3:9;r=3===o?t?[30,-2,-2]:[0,32,2]:t?[94,62,-2,32,64,2,30,-2,-2]:[0,32,2,62,30,-2,64,96,2];var w=input[0],_=input[1];w^=(n=252645135&(w>>>4^_))<<4,w^=(n=65535&(w>>>16^(_^=n)))<<16,w^=n=858993459&((_^=n)>>>2^w),w^=n=16711935&((_^=n<<2)>>>8^w),w=(w^=(n=1431655765&(w>>>1^(_^=n<<8)))<<1)<<1|w>>>31,_=(_^=n)<<1|_>>>31;for(var E=0;E<o;E+=3){for(var S=r[E+1],C=r[E+2],i=r[E];i!=S;i+=C){var A=_^e[i],T=(_>>>4|_<<28)^e[i+1];n=w,w=_,_=n^(f[A>>>24&63]|l[A>>>16&63]|y[A>>>8&63]|v[63&A]|c[T>>>24&63]|h[T>>>16&63]|d[T>>>8&63]|m[63&T])}n=w,w=_,_=n}_=_>>>1|_<<31,_^=n=1431655765&((w=w>>>1|w<<31)>>>1^_),_^=(n=16711935&(_>>>8^(w^=n<<1)))<<8,_^=(n=858993459&(_>>>2^(w^=n)))<<2,_^=n=65535&((w^=n)>>>16^_),_^=n=252645135&((w^=n<<16)>>>4^_),w^=n<<4,output[0]=w,output[1]=_}function _(e){var t,r="DES-"+((e=e||{}).mode||"CBC").toUpperCase(),o=(t=e.decrypt?n.cipher.createDecipher(r,e.key):n.cipher.createCipher(r,e.key)).start;return t.start=function(e,r){var output=null;r instanceof n.util.ByteBuffer&&(output=r,r={}),(r=r||{}).output=output,r.iv=e,o.call(t,r)},t}},function(e,t,r){var n=r(11);if(r(67),r(182),r(92),r(449),r(450),r(62),r(18),void 0===o)var o=n.jsbn.BigInteger;var c=n.util.isNodejs?r(265):null,f=n.asn1,h=n.util;n.pki=n.pki||{},e.exports=n.pki.rsa=n.rsa=n.rsa||{};var l=n.pki,d=[6,4,2,4,2,4,6,2],y={name:"PrivateKeyInfo",tagClass:f.Class.UNIVERSAL,type:f.Type.SEQUENCE,constructed:!0,value:[{name:"PrivateKeyInfo.version",tagClass:f.Class.UNIVERSAL,type:f.Type.INTEGER,constructed:!1,capture:"privateKeyVersion"},{name:"PrivateKeyInfo.privateKeyAlgorithm",tagClass:f.Class.UNIVERSAL,type:f.Type.SEQUENCE,constructed:!0,value:[{name:"AlgorithmIdentifier.algorithm",tagClass:f.Class.UNIVERSAL,type:f.Type.OID,constructed:!1,capture:"privateKeyOid"}]},{name:"PrivateKeyInfo",tagClass:f.Class.UNIVERSAL,type:f.Type.OCTETSTRING,constructed:!1,capture:"privateKey"}]},m={name:"RSAPrivateKey",tagClass:f.Class.UNIVERSAL,type:f.Type.SEQUENCE,constructed:!0,value:[{name:"RSAPrivateKey.version",tagClass:f.Class.UNIVERSAL,type:f.Type.INTEGER,constructed:!1,capture:"privateKeyVersion"},{name:"RSAPrivateKey.modulus",tagClass:f.Class.UNIVERSAL,type:f.Type.INTEGER,constructed:!1,capture:"privateKeyModulus"},{name:"RSAPrivateKey.publicExponent",tagClass:f.Class.UNIVERSAL,type:f.Type.INTEGER,constructed:!1,capture:"privateKeyPublicExponent"},{name:"RSAPrivateKey.privateExponent",tagClass:f.Class.UNIVERSAL,type:f.Type.INTEGER,constructed:!1,capture:"privateKeyPrivateExponent"},{name:"RSAPrivateKey.prime1",tagClass:f.Class.UNIVERSAL,type:f.Type.INTEGER,constructed:!1,capture:"privateKeyPrime1"},{name:"RSAPrivateKey.prime2",tagClass:f.Class.UNIVERSAL,type:f.Type.INTEGER,c
vendor: 4,200 bytes, line 2
2onstructed:!1,capture:"privateKeyPrime2"},{name:"RSAPrivateKey.exponent1",tagClass:f.Class.UNIVERSAL,type:f.Type.INTEGER,constructed:!1,capture:"privateKeyExponent1"},{name:"RSAPrivateKey.exponent2",tagClass:f.Class.UNIVERSAL,type:f.Type.INTEGER,constructed:!1,capture:"privateKeyExponent2"},{name:"RSAPrivateKey.coefficient",tagClass:f.Class.UNIVERSAL,type:f.Type.INTEGER,constructed:!1,capture:"privateKeyCoefficient"}]},v={name:"RSAPublicKey",tagClass:f.Class.UNIVERSAL,type:f.Type.SEQUENCE,constructed:!0,value:[{name:"RSAPublicKey.modulus",tagClass:f.Class.UNIVERSAL,type:f.Type.INTEGER,constructed:!1,capture:"publicKeyModulus"},{name:"RSAPublicKey.exponent",tagClass:f.Class.UNIVERSAL,type:f.Type.INTEGER,constructed:!1,capture:"publicKeyExponent"}]},w=n.pki.rsa.publicKeyValidator={name:"SubjectPublicKeyInfo",tagClass:f.Class.UNIVERSAL,type:f.Type.SEQUENCE,constructed:!0,captureAsn1:"subjectPublicKeyInfo",value:[{name:"SubjectPublicKeyInfo.AlgorithmIdentifier",tagClass:f.Class.UNIVERSAL,type:f.Type.SEQUENCE,constructed:!0,value:[{name:"AlgorithmIdentifier.algorithm",tagClass:f.Class.UNIVERSAL,type:f.Type.OID,constructed:!1,capture:"publicKeyOid"}]},{name:"SubjectPublicKeyInfo.subjectPublicKey",tagClass:f.Class.UNIVERSAL,type:f.Type.BITSTRING,constructed:!1,value:[{name:"SubjectPublicKeyInfo.subjectPublicKey.RSAPublicKey",tagClass:f.Class.UNIVERSAL,type:f.Type.SEQUENCE,constructed:!0,optional:!0,captureAsn1:"rsaPublicKey"}]}]},_={name:"DigestInfo",tagClass:f.Class.UNIVERSAL,type:f.Type.SEQUENCE,constructed:!0,value:[{name:"DigestInfo.DigestAlgorithm",tagClass:f.Class.UNIVERSAL,type:f.Type.SEQUENCE,constructed:!0,value:[{name:"DigestInfo.DigestAlgorithm.algorithmIdentifier",tagClass:f.Class.UNIVERSAL,type:f.Type.OID,constructed:!1,capture:"algorithmIdentifier"},{name:"DigestInfo.DigestAlgorithm.parameters",tagClass:f.Class.UNIVERSAL,type:f.Type.NULL,capture:"parameters",optional:!0,constructed:!1}]},{name:"DigestInfo.digest",tagClass:f.Class.UNIVERSAL,type:f.Type.OCTETSTRING,constructed:!1,capture:"digest"}]},E=function(e){var t;if(!(e.algorithm in l.oids)){var r=new Error("Unknown message digest algorithm.");throw r.algorithm=e.algorithm,r}t=l.oids[e.algorithm];var n=f.oidToDer(t).getBytes(),o=f.create(f.Class.UNIVERSAL,f.Type.SEQUENCE,!0,[]),c=f.create(f.Class.UNIVERSAL,f.Type.SEQUENCE,!0,[]);c.value.push(f.create(f.Class.UNIVERSAL,f.Type.OID,!1,n)),c.value.push(f.create(f.Class.UNIVERSAL,f.Type.NULL,!1,""));var h=f.create(f.Class.UNIVERSAL,f.Type.OCTETSTRING,!1,e.digest().getBytes());return o.value.push(c),o.value.push(h),f.toDer(o).getBytes()},S=function(e,t,r){if(r)return e.modPow(t.e,t.n);if(!t.p||!t.q)return e.modPow(t.d,t.n);var c;t.dP||(t.dP=t.d.mod(t.p.subtract(o.ONE))),t.dQ||(t.dQ=t.d.mod(t.q.subtract(o.ONE))),t.qInv||(t.qInv=t.q.modInverse(t.p));do{c=new o(n.util.bytesToHex(n.random.getBytes(t.n.bitLength()/8)),16)}while(c.compareTo(t.n)>=0||!c.gcd(t.n).equals(o.ONE));for(var f=(e=e.multiply(c.modPow(t.e,t.n)).mod(t.n)).mod(t.p).modPow(t.dP,t.p),h=e.mod(t.q).modPow(t.dQ,t.q);f.compareTo(h)<0;)f=f.add(t.p);var l=f.subtract(h).multiply(t.qInv).mod(t.p).multiply(t.q).add(h);return l=l.multiply(c.modInverse(t.n)).mod(t.n)};function C(e,t,r){var o=n.util.createBuffer(),c=Math.ceil(t.n.bitLength()/8);if(e.length>c-11){var f=new Error("Message is too long for PKCS#1 v1.5 padding.");throw f.length=e.length,f.max=c-11,f}o.putByte(0),o.putByte(r);var h,l=c-3-e.length;if(0===r||1===r){h=0===r?0:255;for(var i=0;i<l;++i)o.putByte(h)}else for(;l>0;){var d=0,y=n.random.getBytes(l);for(i=0;i<l;++i)0===(h=y.charCodeAt(i))?++d:o.putByte(h);l=d}return o.putByte(0),o.putBytes(e),o}function A(em,e,t,r){var o=Math.ceil(e.n.bitLength()/8),c=n.util.createBuffer(em),f=c.getByte(),h=c.getByte();if(0!==f||t&&0!==h&&1!==h||!t&&2!=h||t&&0===h&&void 0===r)throw new Error("Encryption block is invalid.");var l=0;if(0===h){l=o-3-r;for(var i=0;i<l;++i)if(0!==c.getByte())throw new Error("Encryption block is invalid.")}else if(1===h)for(l=0;c.length()>1;){if(255!==c.getByte()){--c.read;break}++l}else if(2===h)for(l=0;c.length()>1;){if(0===c.getByte()){--c.read;break}++l}if(0!==c.getByte()||l!==o-3-c.length())throw new Error("Encryption block is invali
2d.");return c.getBytes()}function T(e,t,r){"function"==typeof t&&(r=t,t={});var c={algorithm:{name:(t=t||{}).algorithm||"PRIMEINC",options:{workers:t.workers||2,workLoad:t.workLoad||100,workerScript:t.workerScript}}};function f(){h(e.pBits,(function(t,n){return t?r(t):(e.p=n,null!==e.q?d(t,e.q):void h(e.qBits,d))}))}function h(e,t){n.prime.generateProbablePrime(e,c,t)}function d(t,n){if(t)return r(t);if(e.q=n,e.p.compareTo(e.q)<0){var c=e.p;e.p=e.q,e.q=c}if(0!==e.p.subtract(o.ONE).gcd(e.e).compareTo(o.ONE))return e.p=null,void f();if(0!==e.q.subtract(o.ONE).gcd(e.e).compareTo(o.ONE))return e.q=null,void h(e.qBits,d);if(e.p1=e.p.subtract(o.ONE),e.q1=e.q.subtract(o.ONE),e.phi=e.p1.multiply(e.q1),0!==e.phi.gcd(e.e).compareTo(o.ONE))return e.p=e.q=null,void f();if(e.n=e.p.multiply(e.q),e.n.bitLength()!==e.bits)return e.q=null,void h(e.qBits,d);var y=e.e.modInverse(e.phi);e.keys={privateKey:l.rsa.setPrivateKey(e.n,e.e,y,e.p,e.q,y.mod(e.p1),y.mod(e.q1),e.q.modInverse(e.p)),publicKey:l.rsa.setPublicKey(e.n,e.e)},r(null,e.keys)}"prng"in t&&(c.prng=t.prng),f()}function k(b){var e=b.toString(16);e[0]>="8"&&(e="00"+e);var t=n.util.hexToBytes(e);return t.length>1&&(0===t.charCodeAt(0)&&0==(128&t.charCodeAt(1))||255===t.charCodeAt(0)&&128==(128&t.charCodeAt(1)))?t.substr(1):t}function I(e){return e<=100?27:e<=150?18:e<=200?15:e<=250?12:e<=300?9:e<=350?8:e<=400?7:e<=500?6:e<=600?5:e<=800?4:e<=1250?3:2}function M(e){return n.util.isNodejs&&"function"==typeof c[e]}function R(e){return void 0!==h.globalScope&&"object"==typeof h.globalScope.crypto&&"object"==typeof h.globalScope.crypto.subtle&&"function"==typeof h.globalScope.crypto.subtle[e]}function x(e){return void 0!==h.globalScope&&"object"==typeof h.globalScope.msCrypto&&"object"==typeof h.globalScope.msCrypto.subtle&&"function"==typeof h.globalScope.msCrypto.subtle[e]}function B(e){for(var t=n.util.hexToBytes(e.toString(16)),r=new Uint8Array(t.length),i=0;i<t.length;++i)r[i]=t.charCodeAt(i);return r}l.rsa.encrypt=function(e,t,r){var c,f=r,h=Math.ceil(t.n.bitLength()/8);!1!==r&&!0!==r?(f=2===r,c=C(e,t,r)):(c=n.util.createBuffer()).putBytes(e);for(var l=new o(c.toHex(),16),d=S(l,t,f).toString(16),y=n.util.createBuffer(),m=h-Math.ceil(d.length/2);m>0;)y.putByte(0),--m;return y.putBytes(n.util.hexToBytes(d)),y.getBytes()},l.rsa.decrypt=function(e,t,r,c){var f=Math.ceil(t.n.bitLength()/8);if(e.length!==f){var h=new Error("Encrypted message length is invalid.");throw h.length=e.length,h.expected=f,h}var l=new o(n.util.createBuffer(e).toHex(),16);if(l.compareTo(t.n)>=0)throw new Error("Encrypted message is invalid.");for(var d=S(l,t,r).toString(16),y=n.util.createBuffer(),m=f-Math.ceil(d.length/2);m>0;)y.putByte(0),--m;return y.putBytes(n.util.hexToBytes(d)),!1!==c?A(y.getBytes(),t,r):y.getBytes()},l.rsa.createKeyPairGenerationState=function(e,t,r){"string"==typeof e&&(e=parseInt(e,10)),e=e||2048;var c,f=(r=r||{}).prng||n.random,h={nextBytes:function(e){for(var b=f.getBytesSync(e.length),i=0;i<e.length;++i)e[i]=b.charCodeAt(i)}},l=r.algorithm||"PRIMEINC";if("PRIMEINC"!==l)throw new Error("Invalid key generation algorithm: "+l);return(c={algorithm:l,state:0,bits:e,rng:h,eInt:t||65537,e:new o(null),p:null,q:null,qBits:e>>1,pBits:e-(e>>1),pqState:0,num:null,keys:null}).e.fromInt(c.eInt),c},l.rsa.stepKeyPairGenerationState=function(e,t){"algorithm"in e||(e.algorithm="PRIMEINC");var r=new o(null);r.fromInt(30);for(var n,c=0,f=function(e,t){return e|t},h=+new Date,y=0;null===e.keys&&(t<=0||y<t);){if(0===e.state){var m=null===e.p?e.pBits:e.qBits,v=m-1;0===e.pqState?(e.num=new o(m,e.rng),e.num.testBit(v)||e.num.bitwiseTo(o.ONE.shiftLeft(v),f,e.num),e.num.dAddOffset(31-e.num.mod(r).byteValue(),0),c=0,++e.pqState):1===e.pqState?e.num.bitLength()>m?e.pqState=0:e.num.isProbablePrime(I(e.num.bitLength()))?++e.pqState:e.num.dAddOffset(d[c++%8],0):2===e.pqState?e.pqState=0===e.num.subtract(o.ONE).gcd(e.e).compareTo(o.ONE)?3:0:3===e.pqState&&(e.pqState=0,null===e.p?e.p=e.num:e.q=e.num,null!==e.p&&null!==e.q&&++e.state,e.num=null)}else if(1===e.state)e.p.compareTo(e.q)<0&&(e.num=e.p,e.p=e.q,e.q=e.num),++e.state;else if(2===e.state)e.p1=e.p.subtract(o.ONE),e.q1=e.q.subtract(o.ONE),e.phi=e.p1.multiply(e.q1),++e.state;else if(3===e.state)0===e.phi.gcd(e.e).compareTo(o.ONE)?++e.state:(e.p=null,e.q=null,e.state=0);else if(4===e.state)e.n=e.p.multiply(e.q),e.n.bitLength()===e.bits?++e.state:(e.q=null,e.state=0);else if(5===e.state){var w=e.e.modInverse(e.phi);e.keys={privateKey:l.rsa.setPrivateKey(e.n,e.e,w,e.p,e.q,w.mod(e.p1),w.mod(e.q1),e.q.modInverse(e.p)),publicKey:l.rsa.setPublicKey(e.n,e.e)}}y+=(n=+new Date)-h,h=n}return null!==e.keys},l.rsa.generateKeyPair=function(e,t,r,o){if(1===arguments.length?"object"==typeof e?(r=e,e=void 0):"function"==typeof e&&(o=e,e=void 0):2===arguments.length?"number"==typeof e?"function"==typeof t?(o=t,t=void 0):"number"!=typeof t&&(r=t,t=void 0):(r=e,o=t,e=void 0,t=void 0):3===arguments.length&&("number"==typeof t?"function"==typeof r&&(o=r,r=void 0):(o=r,r=t,t=void 0)),r=r||{},void 0===e&&(e=r.bits||2048),void 0===t&&(t=r.e||65537),!n.options.usePureJavaScript&&!r.prng&&e>=256&&e<=16384&&(65537===t||3===t))if(o){if(M("generateKeyPair"))return c.generateKeyPair("rsa",{modulusLength:e,publicExponent:t,publicKeyEncoding:{type:"spki",format:"pem"},privateKeyEncoding:{type:"pkcs8",format:"pem"}}
vendor: 24,799 bytes, line 2
2,(function(e,t,r){if(e)return o(e);o(null,{privateKey:l.privateKeyFromPem(r),publicKey:l.publicKeyFromPem(t)})}));if(R("generateKey")&&R("exportKey"))return h.globalScope.crypto.subtle.generateKey({name:"RSASSA-PKCS1-v1_5",modulusLength:e,publicExponent:B(t),hash:{name:"SHA-256"}},!0,["sign","verify"]).then((function(e){return h.globalScope.crypto.subtle.exportKey("pkcs8",e.privateKey)})).then(void 0,(function(e){o(e)})).then((function(e){if(e){var t=l.privateKeyFromAsn1(f.fromDer(n.util.createBuffer(e)));o(null,{privateKey:t,publicKey:l.setRsaPublicKey(t.n,t.e)})}}));if(x("generateKey")&&x("exportKey")){var d=h.globalScope.msCrypto.subtle.generateKey({name:"RSASSA-PKCS1-v1_5",modulusLength:e,publicExponent:B(t),hash:{name:"SHA-256"}},!0,["sign","verify"]);return d.oncomplete=function(e){var t=e.target.result,r=h.globalScope.msCrypto.subtle.exportKey("pkcs8",t.privateKey);r.oncomplete=function(e){var t=e.target.result,r=l.privateKeyFromAsn1(f.fromDer(n.util.createBuffer(t)));o(null,{privateKey:r,publicKey:l.setRsaPublicKey(r.n,r.e)})},r.onerror=function(e){o(e)}},void(d.onerror=function(e){o(e)})}}else if(M("generateKeyPairSync")){var y=c.generateKeyPairSync("rsa",{modulusLength:e,publicExponent:t,publicKeyEncoding:{type:"spki",format:"pem"},privateKeyEncoding:{type:"pkcs8",format:"pem"}});return{privateKey:l.privateKeyFromPem(y.privateKey),publicKey:l.publicKeyFromPem(y.publicKey)}}var m=l.rsa.createKeyPairGenerationState(e,t,r);if(!o)return l.rsa.stepKeyPairGenerationState(m,0),m.keys;T(m,r,o)},l.setRsaPublicKey=l.rsa.setPublicKey=function(e,t){var r={n:e,e:t,encrypt:function(data,e,t){if("string"==typeof e?e=e.toUpperCase():void 0===e&&(e="RSAES-PKCS1-V1_5"),"RSAES-PKCS1-V1_5"===e)e={encode:function(e,t,r){return C(e,t,2).getBytes()}};else if("RSA-OAEP"===e||"RSAES-OAEP"===e)e={encode:function(e,r){return n.pkcs1.encode_rsa_oaep(r,e,t)}};else if(-1!==["RAW","NONE","NULL",null].indexOf(e))e={encode:function(e){return e}};else if("string"==typeof e)throw new Error('Unsupported encryption scheme: "'+e+'".');var o=e.encode(data,r,!0);return l.rsa.encrypt(o,r,!0)},verify:function(e,t,o,c){"string"==typeof o?o=o.toUpperCase():void 0===o&&(o="RSASSA-PKCS1-V1_5"),void 0===c&&(c={_parseAllDigestBytes:!0}),"_parseAllDigestBytes"in c||(c._parseAllDigestBytes=!0),"RSASSA-PKCS1-V1_5"===o?o={verify:function(e,t){t=A(t,r,!0);var o=f.fromDer(t,{parseAllBytes:c._parseAllDigestBytes}),h={},l=[];if(!f.validate(o,_,h,l))throw(d=new Error("ASN.1 object does not contain a valid RSASSA-PKCS1-v1_5 DigestInfo value.")).errors=l,d;var d,y=f.derToOid(h.algorithmIdentifier);if(y!==n.oids.md2&&y!==n.oids.md5&&y!==n.oids.sha1&&y!==n.oids.sha224&&y!==n.oids.sha256&&y!==n.oids.sha384&&y!==n.oids.sha512&&y!==n.oids["sha512-224"]&&y!==n.oids["sha512-256"])throw(d=new Error("Unknown RSASSA-PKCS1-v1_5 DigestAlgorithm identifier.")).oid=y,d;if((y===n.oids.md2||y===n.oids.md5)&&!("parameters"in h))throw new Error("ASN.1 object does not contain a valid RSASSA-PKCS1-v1_5 DigestInfo value. Missing algorithm identifer NULL parameters.");return e===h.digest}}:"NONE"!==o&&"NULL"!==o&&null!==o||(o={verify:function(e,t){return e===(t=A(t,r,!0))}});var h=l.rsa.decrypt(t,r,!0,!1);return o.verify(e,h,r.n.bitLength())}};return r},l.setRsaPrivateKey=l.rsa.setPrivateKey=function(e,t,r,p,q,o,c,f){var h={n:e,e:t,d:r,p:p,q:q,dP:o,dQ:c,qInv:f,decrypt:function(data,e,t){"string"==typeof e?e=e.toUpperCase():void 0===e&&(e="RSAES-PKCS1-V1_5");var r=l.rsa.decrypt(data,h,!1,!1);if("RSAES-PKCS1-V1_5"===e)e={decode:A};else if("RSA-OAEP"===e||"RSAES-OAEP"===e)e={decode:function(e,r){return n.pkcs1.decode_rsa_oaep(r,e,t)}};else{if(-1===["RAW","NONE","NULL",null].indexOf(e))throw new Error('Unsupported encryption scheme: "'+e+'".');e={decode:function(e){return e}}}return e.decode(r,h,!1)},sign:function(e,t){var r=!1;"string"==typeof t&&(t=t.toUpperCase()),void 0===t||"RSASSA-PKCS1-V1_5"===t?(t={encode:E},r=1):"NONE"!==t&&"NULL"!==t&&null!==t||(t={encode:function(){return e}},r=1);var n=t.encode(e,h.n.bitLength());return l.rsa.encrypt(n,h,r)}};return h},l.wrapRsaPrivateKey=function(e){return f.create(f.Class.UNIVERSAL,f.Type.SEQUENCE,!0,[f.create(f.Class.UNIVERSAL,f.Type.INTEGER,!1,f.integerToDer(0).getBytes()),f.create(f.Class.UNIVERSAL,f.Type.SEQUENCE,!0,[f.create(f.Class.UNIVERSAL,f.Type.OID,!1,f.oidToDer(l.oids.rsaEncryption).getBytes()),f.create(f.Class.UNIVERSAL,f.Type.NULL,!1,"")]),f.create(f.Class.UNIVERSAL,f.Type.OCTETSTRING,!1,f.toDer(e).getBytes())])},l.privateKeyFromAsn1=function(e){var t,r,c,p,q,h,d,v,w={},_=[];if(f.validate(e,y,w,_)&&(e=f.fromDer(n.util.createBuffer(w.privateKey))),w={},_=[],!f.validate(e,m,w,_)){var E=new Error("Cannot read private key. ASN.1 object does not contain an RSAPrivateKey.");throw E.errors=_,E}return t=n.util.createBuffer(w.privateKeyModulus).toHex(),r=n.util.createBuffer(w.privateKeyPublicExponent).toHex(),c=n.util.createBuffer(w.privateKeyPrivateExponent).toHex(),p=n.util.createBuffer(w.privateKeyPrime1).toHex(),q=n.util.createBuffer(w.privateKeyPrime2).toHex(),h=n.util.createBuffer(w.privateKeyExponent1).toHex(),d=n.util.createBuffer(w.privateKeyExponent2).toHex(),v=n.util.createBuffer(w.privateKeyCoefficient).toHex(),l.setRsaPrivateKey(new o(t,16),new o(r,16),new o(c,16),new o(p,16),new o(q,16),new o(h,16),new o(d,16),new o(v,16))},l.privateKeyToAsn1=l.privateKeyToRSAPrivateKey=function(e){return f.create(f.Class.UNIVERSAL,f.Type.SEQUENCE,!0,[f.create(f.Class.UNIVERSAL,f.Type.INTEGER,!1,f.integerToDer(0).getBytes()),f.create(f.Class.UNIVERSAL,f.Type.INTEGER,!1,k(e.n)),f.create(f.Class.UNIVERSAL,f.Type.INTEGER,!1,k(e.e)),f.create(f.Class.UNIVERSAL,f.Type.INTEGER,!1,k(e.d)),f.create(f.Class.UNIVERSAL,f.Type.INTEGER,!1,k(e.p)),f.create(f.Class.UNIVERSAL,f.Type.INTEGER,!1,k(e.q)),f.create(f.Class.UNIVERSAL,f.Type.INTEGER,!1,k(e.dP)),f.create(f.Class.UNIVERSAL,f.Type.INTEGER,!1,k(e.dQ)),f.create(f.Class.UNIVERSAL,f.Type.INTEGER,!1,k(e.qInv))])},l.publicKeyFromAsn1=function(e){var t={},r=[];if(f.validate(e,w,t,r)){var c,h=f.derToOid(t.publicKeyOid);if(h!==l.oids.rsaEncryption)throw(c=new Error("Cannot read public key. Unknown OID.")).oid=h,c;e=t.rsaPublicKey}if(r=[],!f.validate(e,v,t,r))throw(c=new Error("Cannot read public key. ASN.1 object does not contain an RSAPublicKey.")).errors=r,c;var d=n.util.createBuffer(t.publicKeyModulus).toHex(),y=n.util.createBuffer(t.publicKeyExponent).toHex();return l.setRsaPublicKey(new o(d,16),new o(y,16))},l.publicKeyToAsn1=l.publicKeyToSubjectPublicKeyInfo=function(e){return f.create(f.Class.UNIVERSAL,f.Type.SEQUENCE,!0,[f.create(f.Class.UNIVERSAL,f.Type.SEQUENCE,!0,[f.create(f.Class.UNIVERSAL,f.Type.OID,!1,f.oidToDer(l.oids.rsaEncryption).getBytes()),f.create(f.Class.UNIVERSAL,f.Type.NULL,!1,"")]),f.create(f.Class.UNIVERSAL,f.Type.BITSTRING,!1,[l.publicKeyToRSAPublicKey(e)])])},l.publicKeyToRSAPublicKey=function(e){return f.create(f.Class.UNIVERSAL,f.Type.SEQUENCE,!0,[f.create(f.Class.UNIVERSAL,f.Type.INTEGER,!1,k(e.n)),f.create(f.Class.UNIVERSAL,f.Type.INTEGER,!1,k(e.e))])}},function(e,t,r){var n,o=r(11);e.exports=o.jsbn=o.jsbn||{};function c(a,b,e){this.data=[],null!=a&&("number"==typeof a?this.fromNumber(a,b,e):null==b&&"string"!=typeof a?this.fromString(a,256):this.fromString(a,b))}function f(){return new c(null)}function h(i,e,t,r,n,o){for(var c=16383&e,f=e>>14;--o>=0;){var h=16383&this.data[i],l=this.data[i++]>>14,d=f*h+l*c;n=((h=c*h+((16383&d)<<14)+t.data[r]+n)>>28)+(d>>14)+f*l,t.data[r++]=268435455&h}return n}o.jsbn.BigInteger=c,"undefined"==typeof navigator?(c.prototype.am=h,n=28):"Microsoft Internet Explorer"==navigator.appName?(c.prototype.am=function(i,e,t,r,n,o){for(var c=32767&e,f=e>>15;--o>=0;){var h=32767&this.data[i],l=this.data[i++]>>15,d=f*h+l*c;n=((h=c*h+((32767&d)<<15)+t.data[r]+(1073741823&n))>>>30)+(d>>>15)+f*l+(n>>>30),t.data[r++]=1073741823&h}return n},n=30):"Netscape"!=navigator.appName?(c.prototype.am=function(i,e,t,r,n,o){for(;--o>=0;){var c=e*this.data[i++]+t.data[r]+n;n=Math.floor(c/67108864),t.data[r++]=67108863&c}return n},n=26):(c.prototype.am=h,n=28),c.prototype.DB=n,c.prototype.DM=(1<<n)-1,c.prototype.DV=1<<n;c.prototype.FV=Math.pow(2,52),c.prototype.F1=52-n,c.prototype.F2=2*n-52;var l,d,y=new Array;for(l="0".charCodeAt(0),d=0;d<=9;++d)y[l++]=d;for(l="a".charCodeAt(0),d=10;d<36;++d)y[l++]=d;for(l="A".charCodeAt(0),d=10;d<36;++d)y[l++]=d;function m(e){return"0123456789abcdefghijklmnopqrstuvwxyz".charAt(e)}function v(s,i){var e=y[s.charCodeAt(i)];return null==e?-1:e}function w(i){var e=f();return e.fromInt(i),e}function _(e){var t,r=1;return 0!=(t=e>>>16)&&(e=t,r+=16),0!=(t=e>>8)&&(e=t,r+=8),0!=(t=e>>4)&&(e=t,r+=4),0!=(t=e>>2)&&(e=t,r+=2),0!=(t=e>>1)&&(e=t,r+=1),r}function E(e){this.m=e}function S(e){this.m=e,this.mp=e.invDigit(),this.mpl=32767&this.mp,this.mph=this.mp>>15,this.um=(1<<e.DB-15)-1,this.mt2=2*e.t}function C(e,t){return e&t}function A(e,t){return e|t}function T(e,t){return e^t}function k(e,t){return e&~t}function I(e){if(0==e)return-1;var t=0;return 0==(65535&e)&&(e>>=16,t+=16),0==(255&e)&&(e>>=8,t+=8),0==(15&e)&&(e>>=4,t+=4),0==(3&e)&&(e>>=2,t+=2),0==(1&e)&&++t,t}function M(e){for(var t=0;0!=e;)e&=e-1,++t;return t}function R(){}function x(e){return e}function B(e){this.r2=f(),this.q3=f(),c.ONE.dlShiftTo(2*e.t,this.r2),this.mu=this.r2.divide(e),this.m=e}E.prototype.convert=function(e){return e.s<0||e.compareTo(this.m)>=0?e.mod(this.m):e},E.prototype.revert=function(e){return e},E.prototype.reduce=function(e){e.divRemTo(this.m,null,e)},E.prototype.mulTo=function(e,t,r){e.multiplyTo(t,r),this.reduce(r)},E.prototype.sqrTo=function(e,t){e.squareTo(t),this.reduce(t)},S.prototype.convert=function(e){var t=f();return e.abs().dlShiftTo(this.m.t,t),t.divRemTo(this.m,null,t),e.s<0&&t.compareTo(c.ZERO)>0&&this.m.subTo(t,t),t},S.prototype.revert=function(e){var t=f();return e.copyTo(t),this.reduce(t),t},S.prototype.reduce=function(e){for(;e.t<=this.mt2;)e.data[e.t++]=0;for(var i=0;i<this.m.t;++i){var t=32767&e.data[i],r=t*this.mpl+((t*this.mph+(e.data[i]>>15)*this.mpl&this.um)<<15)&e.DM;for(t=i+this.m.t,e.data[t]+=this.m.am(0,r,e,i,0,this.m.t);e.data[t]>=e.DV;)e.data[t]-=e.DV,e.data[++t]++}e.clamp(),e.drShiftTo(this.m.t,e),e.compareTo(this.m)>=0&&e.subTo(this.m,e)},S.prototype.mulTo=function(e,t,r){e.multiplyTo(t,r),this.reduce(r)},S.prototype.sqrTo=function(e,t){e.squareTo(t),this.reduce(t)},c.prototype.copyTo=function(e){for(var i=this.t-1;i>=0;--i)e.data[i]=this.data[i];e.t=this.t,e.s=this.s},c.prototype.fromInt=function(e){this.t=1,this.s=e<0?-1:0,e>0?this.data[0]=e:e<-1?this.data[0]=e+this.DV:this.t=0},c.prototype.fromString=function(s,b){var e;if(16==b)e=4;else if(8==b)e=3;else if(256==b)e=8;else if(2==b)e=1;else if(32==b)e=5;else{if(4!=b)return void this.fromRadix(s,b);e=2}this.t=0,this.s=0;for(var i=s.length,t=!1,r=0;--i>=0;){var n=8==e?255&s[i]:v(s,i);n<0?"-"==s.charAt(i)&&(t=!0):(t=!1,0==r?this.data[this.t++]=n:r+e>this.DB?(this.data[this.t-1]|=(n&(1<<this.DB-r)-1)<<r,this.data[this.t++]=n>>this.DB-r):this.data[this.t-1]|=n<<r,(r+=e)>=this.DB&&(r-=this.DB))}8==e&&0!=(128&s[0])&&(this.s=-1,r>0&&(this.data[this.t-1]|=(1<<this.DB-r)-1<<r)),this.clamp(),t&&c.ZERO.subTo(this,this)},c.prototype.clamp=function(){for(var e=this.s&this.DM;this.t>0&&this.data[this.t-1]==e;)--this.t},c.prototype.dlShiftTo=function(e,t){var i;for(i=this.t-1;i>=0;--i)t.data[i+e]=this.data[i];for(i=e-1;i>=0;--i)t.data[i]=0;t.t=this.t+e,t.s=this.s},c.prototype.drShiftTo=function(e,t){for(var i=e;i<this.t;++i)t.data[i-e]=this.data[i];t.t=Math.max(this.t-e,0),t.s=this.s},c.prototype.lShiftTo=function(e,t){var i,r=e%this.DB,n=this.DB-r,o=(1<<n)-1,c=Math.floor(e/this.DB),f=this.s<<r&this.DM;for(i=this.t-1;i>=0;--i)t.data[i+c+1]=this.data[i]>>n|f,f=(this.data[i]&o)<<r;for(i=c-1;i>=0;--i)t.data[i]=0;t.data[c]=f,t.t=this.t+c+1,t.s=this.s,t.clamp()},c.prototype.rShiftTo=function(e,t){t.s=this.s;var r=Math.floor(e/this.DB);if(r>=this.t)t.t=0;else{var n=e%this.DB,o=this.DB-n,c=(1<<n)-1;t.data[0]=this.data[r]>>n;for(var i=r+1;i<this.t;++i)t.data[i-r-1]|=(this.data[i]&c)<<o,t.data[i-r]=this.data[i]>>n;n>0&&(t.data[this.t-r-1]|=(this.s&c)<<o),t.t=this.t-r,t.clamp()}},c.prototype.subTo=function(a,e){for(var i=0,t=0,r=Math.min(a.t,this.t);i<r;)t+=this.data[i]-a.data[i],e.data[i++]=t&this.DM,t>>=this.DB;if(a.t<this.t){for(t-=a.s;i<this.t;)t+=this.data[i],e.data[i++]=t&this.DM,t>>=this.DB;t+=this.s}else{for(t+=this.s;i<a.t;)t-=a.data[i],e.data[i++]=t&this.DM,t>>=this.DB;t-=a.s}e.s=t<0?-1:0,t<-1?e.data[i++]=this.DV+t:t>0&&(e.data[i++]=t),e.t=i,e.clamp()},c.prototype.multiplyTo=function(a,e){var t=this.abs(),r=a.abs(),i=t.t;for(e.t=i+r.t;--i>=0;)e.data[i]=0;for(i=0;i<r.t;++i)e.data[i+t.t]=t.am(0,r.data[i],e,i,0,t.t);e.s=0,e.clamp(),this.s!=a.s&&c.ZERO.subTo(e,e)},c.prototype.squareTo=function(e){for(var t=this.abs(),i=e.t=2*t.t;--i>=0;)e.data[i]=0;for(i=0;i<t.t-1;++i){var r=t.am(i,t.data[i],e,2*i,0,1);(e.data[i+t.t]+=t.am(i+1,2*t.data[i],e,2*i+1,r,t.t-i-1))>=t.DV&&(e.data[i+t.t]-=t.DV,e.data[i+t.t+1]=1)}e.t>0&&(e.data[e.t-1]+=t.am(i,t.data[i],e,2*i,0,1)),e.s=0,e.clamp()},c.prototype.divRemTo=function(e,q,t){var r=e.abs();if(!(r.t<=0)){var n=this.abs();if(n.t<r.t)return null!=q&&q.fromInt(0),void(null!=t&&this.copyTo(t));null==t&&(t=f());var o=f(),h=this.s,l=e.s,d=this.DB-_(r.data[r.t-1]);d>0?(r.lShiftTo(d,o),n.lShiftTo(d,t)):(r.copyTo(o),n.copyTo(t));var y=o.t,m=o.data[y-1];if(0!=m){var v=m*(1<<this.F1)+(y>1?o.data[y-2]>>this.F2:0),w=this.FV/v,E=(1<<this.F1)/v,S=1<<this.F2,i=t.t,C=i-y,A=null==q?f():q;for(o.dlShiftTo(C,A),t.compareTo(A)>=0&&(t.data[t.t++]=1,t.subTo(A,t)),c.ONE.dlShiftTo(y,A),A.subTo(o,o);o.t<y;)o.data[o.t++]=0;for(;--C>=0;){var T=t.data[--i]==m?this.DM:Math.floor(t.data[i]*w+(t.data[i-1]+S)*E);if((t.data[i]+=o.am(0,T,t,C,0,y))<T)for(o.dlShiftTo(C,A),t.subTo(A,t);t.data[i]<--T;)t.subTo(A,t)}null!=q&&(t.drShiftTo(y,q),h!=l&&c.ZERO.subTo(q,q)),t.t=y,t.clamp(),d>0&&t.rShiftTo(d,t),h<0&&c.ZERO.subTo(t,t)}}},c.prototype.invDigit=function(){if(this.t<1)return 0;var e=this.data[0];if(0==(1&e))return 0;var t=3&e;return(t=(t=(t=(t=t*(2-(15&e)*t)&15)*(2-(255&e)*t)&255)*(2-((65535&e)*t&65535))&65535)*(2-e*t%this.DV)%this.DV)>0?this.DV-t:-t},c.prototype.isEven=function(){return 0==(this.t>0?1&this.data[0]:this.s)},c.prototype.exp=function(e,t){if(e>4294967295||e<1)return c.ONE;var r=f(),n=f(),g=t.convert(this),i=_(e)-1;for(g.copyTo(r);--i>=0;)if(t.sqrTo(r,n),(e&1<<i)>0)t.mulTo(n,g,r);else{var o=r;r=n,n=o}return t.revert(r)},c.prototype.toString=function(b){if(this.s<0)return"-"+this.negate().toString(b);var e;if(16==b)e=4;else if(8==b)e=3;else if(2==b)e=1;else if(32==b)e=5;else{if(4!=b)return this.toRadix(b);e=2}var t,r=(1<<e)-1,n=!1,o="",i=this.t,p=this.DB-i*this.DB%e;if(i-- >0)for(p<this.DB&&(t=this.data[i]>>p)>0&&(n=!0,o=m(t));i>=0;)p<e?(t=(this.data[i]&(1<<p)-1)<<e-p,t|=this.data[--i]>>(p+=this.DB-e)):(t=this.data[i]>>(p-=e)&r,p<=0&&(p+=this.DB,--i)),t>0&&(n=!0),n&&(o+=m(t));return n?o:"0"},c.prototype.negate=function(){var e=f();return c.ZERO.subTo(this,e),e},c.prototype.abs=function(){return this.s<0?this.negate():this},c.prototype.compareTo=function(a){var e=this.s-a.s;if(0!=e)return e;var i=this.t;if(0!=(e=i-a.t))return this.s<0?-e:e;for(;--i>=0;)if(0!=(e=this.data[i]-a.data[i]))return e;return 0},c.prototype.bitLength=function(){return this.t<=0?0:this.DB*(this.t-1)+_(this.data[this.t-1]^this.s&this.DM)},c.prototype.mod=function(a){var e=f();return this.abs().divRemTo(a,null,e),this.s<0&&e.compareTo(c.ZERO)>0&&a.subTo(e,e),e},c.prototype.modPowInt=function(e,t){var r;return r=e<256||t.isEven()?new E(t):new S(t),this.exp(e,r)},c.ZERO=w(0),c.ONE=w(1),R.prototype.convert=x,R.prototype.revert=x,R.prototype.mulTo=function(e,t,r){e.multiplyTo(t,r)},R.prototype.sqrTo=function(e,t){e.squareTo(t)},B.prototype.convert=function(e){if(e.s<0||e.t>2*this.m.t)return e.mod(this.m);if(e.compareTo(this.m)<0)return e;var t=f();return e.copyTo(t),this.reduce(t),t},B.prototype.revert=function(e){return e},B.prototype.reduce=function(e){for(e.drShiftTo(this.m.t-1,this.r2),e.t>this.m.t+1&&(e.t=this.m.t+1,e.clamp()),this.mu.multiplyUpperTo(this.r2,this.m.t+1,this.q3),this.m.multiplyLowerTo(this.q3,this.m.t+1,this.r2);e.compareTo(this.r2)<0;)e.dAddOffset(1,this.m.t+1);for(e.subTo(this.r2,e);e.compareTo(this.m)>=0;)e.subTo(this.m,e)},B.prototype.mulTo=function(e,t,r){e.multiplyTo(t,r),this.reduce(r)},B.prototype.sqrTo=function(e,t){e.squareTo(t),this.reduce(t)};var N=[2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317,331,337,347,349,353,359,367,373,379,383,389,397,401,409,419,421,431,433,439,443,449,457,461,463,467,479,487,491,499,503,509],O=(1<<26)/N[N.length-1];c.prototype.chunkSize=function(e){return Math.floor(Math.LN2*this.DB/Math.log(e))},c.prototype.toRadix=function(b){if(null==b&&(b=10),0==this.signum()||b<2||b>36)return"0";var e=this.chunkSize(b),a=Math.pow(b,e),t=w(a),r=f(),n=f(),o="";for(this.divRemTo(t,r,n);r.signum()>0;)o=(a+n.intValue()).toString(b).substr(1)+o,r.divRemTo(t,r,n);return n.intValue().toString(b)+o},c.prototype.fromRadix=function(s,b){this.fromInt(0),null==b&&(b=10);for(var e=this.chunkSize(b),t=Math.pow(b,e),r=!1,n=0,o=0,i=0;i<s.length;++i){var f=v(s,i);f<0?"-"==s.charAt(i)&&0==this.signum()&&(r=!0):(o=b*o+f,++n>=e&&(this.dMultiply(t),this.dAddOffset(o,0),n=0,o=0))}n>0&&(this.dMultiply(Math.pow(b,n)),this.dAddOffset(o,0)),r&&c.ZERO.subTo(this,this)},c.prototype.fromNumber=function(a,b,e){if("number"==typeof b)if(a<2)this.fromInt(1);else for(this.fromNumber(a,e),this.testBit(a-1)||this.bitwiseTo(c.ONE.shiftLeft(a-1),A,this),this.isEven()&&this.dAddOffset(1,0);!this.isProbablePrime(b);)this.dAddOffset(2,0),this.bitLength()>a&&this.subTo(c.ONE.shiftLeft(a-1),this);else{var t=new Array,r=7&a;t.length=1+(a>>3),b.nextBytes(t),r>0?t[0]&=(1<<r)-1:t[0]=0,this.fromString(t,256)}},c.prototype.bitwiseTo=function(a,e,t){var i,r,n=Math.min(a.t,this.t);for(i=0;i<n;++i)t.data[i]=e(this.data[i],a.data[i]);if(a.t<this.t){for(r=a.s&this.DM,i=n;i<this.t;++i)t.data[i]=e(this.data[i],r);t.t=this.t}else{for(r=this.s&this.DM,i=n;i<a.t;++i)t.data[i]=e(r,a.data[i]);t.t=a.t}t.s=e(this.s,a.s),t.clamp()},c.prototype.changeBit=function(e,t){var r=c.ONE.shiftLeft(e);return this.bitwiseTo(r,t,r),r},c.prototype.addTo=function(a,e){for(var i=0,t=0,r=Math.min(a.t,this.t);i<r;)t+=this.data[i]+a.data[i],e.data[i++]=t&this.DM,t>>=this.DB;if(a.t<this.t){for(t+=a.s;i<this.t;)t+=this.data[i],e.data[i++]=t&this.DM,t>>=this.DB;t+=this.s}else{for(t+=this.s;i<a.t;)t+=a.data[i],e.data[i++]=t&this.DM,t>>=this.DB;t+=a.s}e.s=t<0?-1:0,t>0?e.data[i++]=t:t<-1&&(e.data[i++]=this.DV+t),e.t=i,e.clamp()},c.prototype.dMultiply=function(e){this.data[this.t]=this.am(0,e-1,this,0,0,this.t),++this.t,this.clamp()},c.prototype.dAddOffset=function(e,t){if(0!=e){for(;this.t<=t;)this.data[this.t++]=0;for(this.data[t]+=e;this.data[t]>=this.DV;)this.data[t]-=this.DV,++t>=this.t&&(this.data[this.t++]=0),++this.data[t]}},c.prototype.multiplyLowerTo=function(a,e,t){var r,i=Math.min(this.t+a.t,e);for(t.s=0,t.t=i;i>0;)t.data[--i]=0;for(r=t.t-this.t;i<r;++i)t.data[i+this.t]=this.am(0,a.data[i],t,i,0,this.t);for(r=Math.min(a.t,e);i<r;++i)this.am(0,a.data[i],t,i,0,e-i);t.clamp()},c.prototype.multiplyUpperTo=function(a,e,t){--e;var i=t.t=this.t+a.t-e;for(t.s=0;--i>=0;)t.data[i]=0;for(i=Math.max(e-this.t,0);i<a.t;++i)t.data[this.t+i-e]=this.am(e-i,a.data[i],t,0,0,this.t+i-e);t.clamp(),t.drShiftTo(1,t)},c.prototype.modInt=function(e){if(e<=0)return 0;var t=this.DV%e,r=this.s<0?e-1:0;if(this.t>0)if(0==t)r=this.data[0]%e;else for(var i=this.t-1;i>=0;--i)r=(t*r+this.data[i])%e;return r},c.prototype.millerRabin=function(e){var t=this.subtract(c.ONE),r=t.getLowestSetBit();if(r<=0)return!1;for(var a,n=t.shiftRight(r),o={nextBytes:function(e){for(var i=0;i<e.length;++i)e[i]=Math.floor(256*Math.random())}},i=0;i<e;++i){do{a=new c(this.bitLength(),o)}while(a.compareTo(c.ONE)<=0||a.compareTo(t)>=0);var f=a.modPow(n,this);if(0!=f.compareTo(c.ONE)&&0!=f.compareTo(t)){for(var h=1;h++<r&&0!=f.compareTo(t);)if(0==(f=f.modPowInt(2,this)).compareTo(c.ONE))return!1;if(0!=f.compareTo(t))return!1}}return!0},c.prototype.clone=function(){var e=f();return this.copyTo(e),e},c.prototype.intValue=function(){if(this.s<0){if(1==this.t)return this.data[0]-this.DV;if(0==this.t)return-1}else{if(1==this.t)return this.data[0];if(0==this.t)return 0}return(this.data[1]&(1<<32-this.DB)-1)<<this.DB|this.data[0]},c.prototype.byteValue=function(){return 0==this.t?this.s:this.data[0]<<24>>24},c.prototype.shortValue=function(){return 0==this.t?this.s:this.data[0]<<16>>16},c.prototype.signum=function(){return this.s<0?-1:this.t<=0||1==this.t&&this.data[0]<=0?0:1},c.prototype.toByteArray=function(){var i=this.t,e=new Array;e[0]=this.s;var t,p=this.DB-i*this.DB%8,r=0;if(i-- >0)for(p<this.DB&&(t=this.data[i]>>p)!=(this.s&this.DM)>>p&&(e[r++]=t|this.s<<this.DB-p);i>=0;)p<8?(t=(this.data[i]&(1<<p)-1)<<8-p,t|=this.data[--i]>>(p+=this.DB-8)):(t=this.data[i]>>(p-=8)&255,p<=0&&(p+=this.DB,--i)),0!=(128&t)&&(t|=-256),0==r&&(128&this.s)!=(128&t)&&++r,(r>0||t!=this.s)&&(e[r++]=t);return e},c.prototype.equals=function(a){return 0==this.compareTo(a)},c.prototype.min=function(a){return this.compareTo(a)<0?this:a},c.prototype.max=function(a){return this.compareTo(a)>0?this:a},c.prototype.and=function(a){var e=f();return this.bitwiseTo(a,C,e),e},c.prototype.or=function(a){var e=f();return this.bitwiseTo(a,A,e),e},c.prototype.xor=function(a){var e=f();return this.bitwiseTo(a,T,e),e},c.prototype.andNot=function(a){var e=f();return this.bitwiseTo(a,k,e),e},c.prototype.not=function(){for(var e=f(),i=0;i<this.t;++i)e.data[i]=this.DM&~this.data[i];return e.t=this.t,e.s=~this.s,e},c.prototype.shiftLeft=function(e){var t=f();return e<0?this.rShiftTo(-e,t):this.lShiftTo(e,t),t},c.prototype.shiftRight=function(e){var t=f();return e<0?this.lShiftTo(-e,t):this.rShiftTo(e,t),t},c.prototype.getLowestSetBit=function(){for(var i=0;i<this.t;++i)if(0!=this.data[i])return i*this.DB+I(this.data[i]);return this.s<0?this.t*this.DB:-1},c.prototype.bitCount=function(){for(var e=0,t=this.s&this.DM,i=0;i<this.t;++i)e+=M(this.data[i]^t);return e},c.prototype.testBit=function(e){var t=Math.floor(e/this.DB);return t>=this.t?0!=this.s:0!=(this.data[t]&1<<e%this.DB)},c.prototype.setBit=function(e){return this.changeBit(e,A)},c.prototype.clearBit=function(e){return this.changeBit(e,k)},c.prototype.flipBit=function(e){return this.changeBit(e,T)},c.prototype.add=function(a){var e=f();return this.addTo(a,e),e},c.prototype.subtract=function(a){var e=f();return this.subTo(a,e),e},c.prototype.multiply=function(a){var e=f();return this.multiplyTo(a,e),e},c.prototype.divide=function(a){var e=f();return this.divRemTo(a,e,null),e},c.prototype.remainder=function(a){var e=f();return this.divRemTo(a,null,e),e},c.prototype.divideAndRemainder=function(a){var q=f(),e=f();return this.divRemTo(a,q,e),new Array(q,e)},c.prototype.modPow=function(e,t){var r,n,i=e.bitLength(),o=w(1);if(i<=0)return o;r=i<18?1:i<48?3:i<144?4:i<768?5:6,n=i<8?new E(t):t.isEven()?new B(t):new S(t);var g=new Array,c=3,h=r-1,l=(1<<r)-1;if(g[1]=n.convert(this),r>1){var d=f();for(n.sqrTo(g[1],d);c<=l;)g[c]=f(),n.mulTo(d,g[c-2],g[c]),c+=2}var y,m,v=e.t-1,C=!0,A=f();for(i=_(e.data[v])-1;v>=0;){for(i>=h?y=e.data[v]>>i-h&l:(y=(e.data[v]&(1<<i+1)-1)<<h-i,v>0&&(y|=e.data[v-1]>>this.DB+i-h)),c=r;0==(1&y);)y>>=1,--c;if((i-=c)<0&&(i+=this.DB,--v),C)g[y].copyTo(o),C=!1;else{for(;c>1;)n.sqrTo(o,A),n.sqrTo(A,o),c-=2;c>0?n.sqrTo(o,A):(m=o,o=A,A=m),n.mulTo(A,g[y],o)}for(;v>=0&&0==(e.data[v]&1<<i);)n.sqrTo(o,A),m=o,o=A,A=m,--i<0&&(i=this.DB-1,--v)}return n.revert(o)},c.prototype.modInverse=function(e){var t=e.isEven();if(this.isEven()&&t||0==e.signum())return c.ZERO;for(var u=e.clone(),r=this.clone(),a=w(1),b=w(0),n=w(0),o=w(1);0!=u.signum();){for(;u.isEven();)u.rShiftTo(1,u),t?(a.isEven()&&b.isEven()||(a.addTo(this,a),b.subTo(e,b)),a.rShiftTo(1,a)):b.isEven()||b.subTo(e,b),b.rShiftTo(1,b);for(;r.isEven();)r.rShiftTo(1,r),t?(n.isEven()&&o.isEven()||(n.addTo(this,n),o.subTo(e,o)),n.rShiftTo(1,n)):o.isEven()||o.subTo(e,o),o.rShiftTo(1,o);u.compareTo(r)>=0?(u.subTo(r,u),t&&a.subTo(n,a),b.subTo(o,b)):(r.subTo(u,r),t&&n.subTo(a,n),o.subTo(b,o))}return 0!=r.compareTo(c.ONE)?c.ZERO:o.compareTo(e)>=0?o.subtract(e):o.signum()<0?(o.addTo(e,o),o.signum()<0?o.add(e):o):o},c.prototype.pow=function(e){return this.exp(e,new R)},c.prototype.gcd=function(a){var e=this.s<0?this.negate():this.clone(),t=a.s<0?a.negate():a.clone();if(e.compareTo(t)<0){var r=e;e=t,t=r}var i=e.getLowestSetBit(),g=t.getLowestSetBit();if(g<0)return e;for(i<g&&(g=i),g>0&&(e.rShiftTo(g,e),t.rShiftTo(g,t));e.signum()>0;)(i=e.getLowestSetBit())>0&&e.rShiftTo(i,e),(i=t.getLowestSetBit())>
20&&t.rShiftTo(i,t),e.compareTo(t)>=0?(e.subTo(t,e),e.rShiftTo(1,e)):(t.subTo(e,t),t.rShiftTo(1,t));return g>0&&t.lShiftTo(g,t),t},c.prototype.isProbablePrime=function(e){var i,t=this.abs();if(1==t.t&&t.data[0]<=N[N.length-1]){for(i=0;i<N.length;++i)if(t.data[0]==N[i])return!0;return!1}if(t.isEven())return!1;for(i=1;i<N.length;){for(var r=N[i],n=i+1;n<N.length&&r<O;)r*=N[n++];for(r=t.modInt(r);i<n;)if(r%N[i++]==0)return!1}return t.millerRabin(e)}},function(e,t,r){const n=r(173);e.exports={getFieldMask:function(e){return n.keys(e).join(",")},columnToLetter:function(e){let t,r="",col=e;for(;col>0;)t=(col-1)%26,r=String.fromCharCode(t+65)+r,col=(col-t-1)/26;return r},letterToColumn:function(e){let t=0;const{length:r}=e;for(let i=0;i<r;i++)t+=(e.charCodeAt(i)-64)*26**(r-i-1);return t}}},,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,r){const n=r(697),o=r(465),c=r(466),{GoogleSpreadsheetFormulaError:f}=r(467);e.exports={GoogleSpreadsheet:n,GoogleSpreadsheetWorksheet:o,GoogleSpreadsheetRow:c,GoogleSpreadsheetFormulaError:f}},function(e,t,r){"use strict";r(93),r(22),r(36),r(65),r(72),r(61),r(45),r(51),r(29),r(57),r(38),r(37),r(31),r(52),r(58),r(39);var n=r(1);function o(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(!e)return;if("string"==typeof e)return c(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return c(e,t)}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var i=0,n=function(){};return{s:n,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:n}}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,f=!0,h=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return f=e.done,e},e:function(e){h=!0,o=e},f:function(){try{f||null==r.return||r.return()}finally{if(h)throw o}}}}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,r=new Array(t);i<t;i++)r[i]=e[i];return r}var f=window.requestIdleCallback||function(e){var t=Date.now();return setTimeout((function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})}),1)},h=window.cancelIdleCallback||function(e){clearTimeout(e)},l=window.IntersectionObserver&&new window.IntersectionObserver((function(e){e.forEach((function(e){var t=e.intersectionRatio,link=e.target;t<=0||!link.__prefetch||link.__prefetch()}))}));t.a={name:"NuxtLink",extends:n.a.component("RouterLink"),props:{prefetch:{type:Boolean,default:!0},noPrefetch:{type:Boolean,default:!1}},mounted:function(){this.prefetch&&!this.noPrefetch&&(this.handleId=f(this.observe,{timeout:2e3}))},beforeDestroy:function(){h(this.handleId),this.__observed&&(l.unobserve(this.$el),delete this.$el.__prefetch)},methods:{observe:function(){l&&this.shouldPrefetch()&&(this.$el.__prefetch=this.prefetchLink.bind(this),l.observe(this.$el),this.__observed=!0)},shouldPrefetch:function(){return this.getPrefetchComponents().length>0},canPrefetch:function(){var e=navigator.connection;return!(this.$nuxt.isOffline||e&&((e.effectiveType||"").includes("2g")||e.saveData))},getPrefetchComponents:function(){return this.$router.resolve(this.to,this.$route,this.append).resolved.matched.map((function(e){return e.components.default})).filter((function(e){return"function"==typeof e&&!e.options&&!e.__prefetched}))},prefetchLink:function(){if(this.canPrefetch()){l.unobserve(this.$el);var e,t=o(this.getPrefetchComponents());try{for(t.s();!(e=t.n()).done;){var r=e.value,n=r();n instanceof Promise&&n.catch((function(){})),r.__prefetched=!0}}catch(e){t.e(e)}finally{t.f()}}}}}},,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.requestTimeout=t.resetIsAvailableCache=t.isAvailable=t.project=t.instance=t.HEADERS=t.HEADER_VALUE=t.HEADER_NAME=t.SECONDARY_HOST_ADDRESS=t.HOST_ADDRESS=t.BASE_PATH=void 0;const n=r(238),o=r(731);function c(r){return r||(r=e.env.GCE_METADATA_IP||e.env.GCE_METADATA_HOST||t.HOST_ADDRESS),/^https?:\/\//.test(r)||(r=`http://${r}`),new URL(t.BASE_PATH,r).href}async function f(e,r,f=3,l=!1){"string"==typeof(r=r||{})&&(r={property:r});let y="";"object"==typeof r&&r.property&&(y="/"+r.property),function(e){Object.keys(e).forEach((e=>{switch(e){case"params":case"property":case"headers":break;case"qs":throw new Error("'qs' is not a valid configuration option. Please use 'params' instead.");default:throw new Error(`'${e}' is not a valid configuration option.`)}}))}(r);try{const m=l?h:n.request,v=await m({url:`${c()}/${e}${y}`,headers:Object.assign({},t.HEADERS,r.headers),retryConfig:{noResponseRetries:f},params:r.params,responseType:"text",timeout:d()});if(v.headers[t.HEADER_NAME.toLowerCase()]!==t.HEADER_VALUE)throw new Error(`Invalid response from metadata service: incorrect ${t.HEADER_NAME} header.`);if(!v.data)throw new Error("Invalid response from the metadata service");if("string"==typeof v.data)try{return o.parse(v.data)}catch(e){}return v.data}catch(e){throw e.response&&200!==e.response.status&&(e.message=`Unsuccessful response status code. ${e.message}`),e}}async function h(e){const r={...e,url:e.url.replace(c(),c(t.SECONDARY_HOST_ADDRESS))};let o=!1;const f=n.request(e).then((e=>(o=!0,e))).catch((e=>{if(o)return h;throw o=!0,e})),h=n.request(r).then((e=>(o=!0,e))).catch((e=>{if(o)return f;throw o=!0,e}));return Promise.race([f,h])}let l;
2function d(){return e.env.K_SERVICE||e.env.FUNCTION_NAME?0:3e3}t.BASE_PATH="/computeMetadata/v1",t.HOST_ADDRESS="http://169.254.169.254",t.SECONDARY_HOST_ADDRESS="http://metadata.google.internal.",t.HEADER_NAME="Metadata-Flavor",t.HEADER_VALUE="Google",t.HEADERS=Object.freeze({[t.HEADER_NAME]:t.HEADER_VALUE}),t.instance=function(e){return f("instance",e)},t.project=function(e){return f("project",e)},t.isAvailable=async function(){try{return void 0===l&&(l=f("instance",void 0,e.env.DETECT_GCP_RETRIES?Number(e.env.DETECT_GCP_RETRIES):0,!(e.env.GCE_METADATA_IP||e.env.GCE_METADATA_HOST))),await l,!0}catch(t){if(e.env.DEBUG_AUTH&&console.info(t),"request-timeout"===t.type)return!1;if(t.response&&404===t.response.status)return!1;if(!(t.response&&404===t.response.status||t.code&&["EHOSTDOWN","EHOSTUNREACH","ENETUNREACH","ENOENT","ENOTFOUND","ECONNREFUSED"].includes(t.code))){let code="UNKNOWN";t.code&&(code=t.code),e.emitWarning(`received unexpected error = ${t.message} code = ${code}`,"MetadataLookupWarning")}return!1}},t.resetIsAvailableCache=function(){l=void 0},t.requestTimeout=d}).call(this,r(17))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.request=t.instance=t.Gaxios=void 0;const n=r(700);Object.defineProperty(t,"Gaxios",{enumerable:!0,get:function(){return n.Gaxios}});var o=r(380);Object.defineProperty(t,"GaxiosError",{enumerable:!0,get:function(){return o.GaxiosError}}),t.instance=new n.Gaxios,t.request=async function(e){return t.instance.request(e)}},function(e,t,r){var n=r(15),o=n.Buffer;function c(e,t){for(var r in e)t[r]=e[r]}function f(e,t,r){return o(e,t,r)}o.from&&o.alloc&&o.allocUnsafe&&o.allocUnsafeSlow?e.exports=n:(c(n,t),t.Buffer=f),c(o,f),f.from=function(e,t,r){if("number"==typeof e)throw new TypeError("Argument must not be a number");return o(e,t,r)},f.alloc=function(e,t,r){if("number"!=typeof e)throw new TypeError("Argument must be a number");var n=o(e);return void 0!==t?"string"==typeof r?n.fill(t,r):n.fill(t):n.fill(0),n},f.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return o(e)},f.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return n.SlowBuffer(e)}},function(e,t,r){"use strict";(function(t){var n=r(174);function o(e){var t=this;this.next=null,this.entry=null,this.finish=function(){!function(e,t,r){var n=e.entry;e.entry=null;for(;n;){var o=n.callback;t.pendingcb--,o(r),n=n.next}t.corkedRequestsFree?t.corkedRequestsFree.next=e:t.corkedRequestsFree=e}(t,e)}}e.exports=S;var c,f=n.nextTick;S.WritableState=E;var h=Object.create(r(137));h.inherits=r(5);var l={deprecate:r(241)},d=r(377),y=r(239).Buffer,m=t.Uint8Array||function(){};var v,w=r(378);function _(){}function E(e,t){c=c||r(88),e=e||{};var h=t instanceof c;this.objectMode=!!e.objectMode,h&&(this.objectMode=this.objectMode||!!e.writableObjectMode);var l=e.highWaterMark,d=e.writableHighWaterMark,y=this.objectMode?16:16384;this.highWaterMark=l||0===l?l:h&&(d||0===d)?d:y,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var m=!1===e.decodeStrings;this.decodeStrings=!m,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,t){var r=e._writableState,o=r.sync,c=r.writecb;if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(r),t)!function(e,t,r,o,c){--t.pendingcb,r?(n.nextTick(c,o),n.nextTick(M,e,t),e._writableState.errorEmitted=!0,e.emit("error",o)):(c(o),e._writableState.errorEmitted=!0,e.emit("error",o),M(e,t))}(e,r,o,t,c);else{var h=k(r);h||r.corked||r.bufferProcessing||!r.bufferedRequest||T(e,r),o?f(A,e,r,h,c):A(e,r,h,c)}}(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new o(this)}function S(e){if(c=c||r(88),!(v.call(S,this)||this instanceof c))return new S(e);this._writableState=new E(e,this),this.writable=!0,e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.final&&(this._final=e.final)),d.call(this)}function C(e,t,r,n,o,c,f){t.writelen=n,t.writecb=f,t.writing=!0,t.sync=!0,r?e._writev(o,t.onwrite):e._write(o,c,t.onwrite),t.sync=!1}function A(e,t,r,n){r||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,n(),M(e,t)}function T(e,t){t.bufferProcessing=!0;var r=t.bufferedRequest;if(e._writev&&r&&r.next){var n=t.bufferedRequestCount,c=new Array(n),f=t.corkedRequestsFree;f.entry=r;for(var h=0,l=!0;r;)c[h]=r,r.isBuf||(l=!1),r=r.next,h+=1;
vendor: 4,487 bytes, line 2
2c.allBuffers=l,C(e,t,!0,t.length,c,"",f.finish),t.pendingcb++,t.lastBufferedRequest=null,f.next?(t.corkedRequestsFree=f.next,f.next=null):t.corkedRequestsFree=new o(t),t.bufferedRequestCount=0}else{for(;r;){var d=r.chunk,y=r.encoding,m=r.callback;if(C(e,t,!1,t.objectMode?1:d.length,d,y,m),r=r.next,t.bufferedRequestCount--,t.writing)break}null===r&&(t.lastBufferedRequest=null)}t.bufferedRequest=r,t.bufferProcessing=!1}function k(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function I(e,t){e._final((function(r){t.pendingcb--,r&&e.emit("error",r),t.prefinished=!0,e.emit("prefinish"),M(e,t)}))}function M(e,t){var r=k(t);return r&&(!function(e,t){t.prefinished||t.finalCalled||("function"==typeof e._final?(t.pendingcb++,t.finalCalled=!0,n.nextTick(I,e,t)):(t.prefinished=!0,e.emit("prefinish")))}(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"))),r}h.inherits(S,d),E.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(E.prototype,"buffer",{get:l.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(v=Function.prototype[Symbol.hasInstance],Object.defineProperty(S,Symbol.hasInstance,{value:function(object){return!!v.call(this,object)||this===S&&(object&&object._writableState instanceof E)}})):v=function(object){return object instanceof this},S.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},S.prototype.write=function(e,t,r){var o,c=this._writableState,f=!1,h=!c.objectMode&&(o=e,y.isBuffer(o)||o instanceof m);return h&&!y.isBuffer(e)&&(e=function(e){return y.from(e)}(e)),"function"==typeof t&&(r=t,t=null),h?t="buffer":t||(t=c.defaultEncoding),"function"!=typeof r&&(r=_),c.ended?function(e,t){var r=new Error("write after end");e.emit("error",r),n.nextTick(t,r)}(this,r):(h||function(e,t,r,o){var c=!0,f=!1;return null===r?f=new TypeError("May not write null values to stream"):"string"==typeof r||void 0===r||t.objectMode||(f=new TypeError("Invalid non-string/buffer chunk")),f&&(e.emit("error",f),n.nextTick(o,f),c=!1),c}(this,c,e,r))&&(c.pendingcb++,f=function(e,t,r,n,o,c){if(!r){var f=function(e,t,r){e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=y.from(t,r));return t}(t,n,o);n!==f&&(r=!0,o="buffer",n=f)}var h=t.objectMode?1:n.length;t.length+=h;var l=t.length<t.highWaterMark;l||(t.needDrain=!0);if(t.writing||t.corked){var d=t.lastBufferedRequest;t.lastBufferedRequest={chunk:n,encoding:o,isBuf:r,callback:c,next:null},d?d.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else C(e,t,!1,h,n,o,c);return l}(this,c,h,e,t,r)),f},S.prototype.cork=function(){this._writableState.corked++},S.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.finished||e.bufferProcessing||!e.bufferedRequest||T(this,e))},S.prototype.setDefaultEncoding=function(e){if("string"==typeof e&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(S.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),S.prototype._write=function(e,t,r){r(new Error("_write() is not implemented"))},S.prototype._writev=null,S.prototype.end=function(e,t,r){var o=this._writableState;"function"==typeof e?(r=e,e=null,t=null):"function"==typeof t&&(r=t,t=null),null!=e&&this.write(e,t),o.corked&&(o.corked=1,this.uncork()),o.ending||o.finished||function(e,t,r){t.ending=!0,M(e,t),r&&(t.finished?n.nextTick(r):e.once("finish",r));t.ended=!0,e.writable=!1}(this,o,r)},Object.defineProperty(S.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),S.prototype.destroy=w.destroy,S.prototype._undestroy=w.undestroy,S.prototype._destroy=function(e,t){this.end(),t(e)}}).call(this,r(20))},function(e,t,r){(function(t){function r(e){try{if(!t.localStorage)return!1}catch(e){return!1}var r=t.localStorage[e];return null!=r&&"true"===String(r).toLowerCase()}
2e.exports=function(e,t){if(r("noDeprecation"))return e;var n=!1;return function(){if(!n){if(r("throwDeprecation"))throw new Error(t);r("traceDeprecation")?console.trace(t):console.warn(t),n=!0}return e.apply(this,arguments)}}}).call(this,r(20))},function(e,t,r){"use strict";t.decode=t.parse=r(715),t.encode=t.stringify=r(716)},function(e,t,r){(function(n){t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const r="color: "+this.color;t.splice(1,0,r,"color: inherit");let n=0,o=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(n++,"%c"===e&&(o=n))})),t.splice(o,0,r)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(e){}!e&&void 0!==n&&"env"in n&&(e=n.env.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;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=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=r(726)(t);const{formatters:o}=e.exports;o.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}}).call(this,r(17))},function(e,t,r){"use strict";var n=r(5),o=r(385),c=r(8).Buffer,f=new Array(16);function h(){o.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878}function l(e,t){return e<<t|e>>>32-t}function d(a,b,e,t,r,n,s){return l(a+(b&e|~b&t)+r+n|0,s)+b|0}function y(a,b,e,t,r,n,s){return l(a+(b&t|e&~t)+r+n|0,s)+b|0}function m(a,b,e,t,r,n,s){return l(a+(b^e^t)+r+n|0,s)+b|0}function v(a,b,e,t,r,n,s){return l(a+(e^(b|~t))+r+n|0,s)+b|0}n(h,o),h.prototype._update=function(){for(var e=f,i=0;i<16;++i)e[i]=this._block.readInt32LE(4*i);var a=this._a,b=this._b,t=this._c,r=this._d;a=d(a,b,t,r,e[0],3614090360,7),r=d(r,a,b,t,e[1],3905402710,12),t=d(t,r,a,b,e[2],606105819,17),b=d(b,t,r,a,e[3],3250441966,22),a=d(a,b,t,r,e[4],4118548399,7),r=d(r,a,b,t,e[5],1200080426,12),t=d(t,r,a,b,e[6],2821735955,17),b=d(b,t,r,a,e[7],4249261313,22),a=d(a,b,t,r,e[8],1770035416,7),r=d(r,a,b,t,e[9],2336552879,12),t=d(t,r,a,b,e[10],4294925233,17),b=d(b,t,r,a,e[11],2304563134,22),a=d(a,b,t,r,e[12],1804603682,7),r=d(r,a,b,t,e[13],4254626195,12),t=d(t,r,a,b,e[14],2792965006,17),a=y(a,b=d(b,t,r,a,e[15],1236535329,22),t,r,e[1],4129170786,5),r=y(r,a,b,t,e[6],3225465664,9),t=y(t,r,a,b,e[11],643717713,14),b=y(b,t,r,a,e[0],3921069994,20),a=y(a,b,t,r,e[5],3593408605,5),r=y(r,a,b,t,e[10],38016083,9),t=y(t,r,a,b,e[15],3634488961,14),b=y(b,t,r,a,e[4],3889429448,20),a=y(a,b,t,r,e[9],568446438,5),r=y(r,a,b,t,e[14],3275163606,9),t=y(t,r,a,b,e[3],4107603335,14),b=y(b,t,r,a,e[8],1163531501,20),a=y(a,b,t,r,e[13],2850285829,5),r=y(r,a,b,t,e[2],4243563512,9),t=y(t,r,a,b,e[7],1735328473,14),a=m(a,b=y(b,t,r,a,e[12],2368359562,20),t,r,e[5],4294588738,4),r=m(r,a,b,t,e[8],2272392833,11),t=m(t,r,a,b,e[11],1839030562,16),b=m(b,t,r,a,e[14],4259657740,23),a=m(a,b,t,r,e[1],2763975236,4),r=m(r,a,b,t,e[4],1272893353,11),t=m(t,r,a,b,e[7],4139469664,16),b=m(b,t,r,a,e[10],3200236656,23),a=m(a,b,t,r,e[13],681279174,4),r=m(r,a,b,t,e[0],3936430074,11),t=m(t,r,a,b,e[3],3572445317,16),b=m(b,t,r,a,e[6],76029189,23),a=m(a,b,t,r,e[9],3654602809,4),r=m(r,a,b,t,e[12],3873151461,11),t=m(t,r,a,b,e[15],530742520,16),a=v(a,b=m(b,t,r,a,e[2],3299628645,23),t,r,e[0],4096336452,6),r=v(r,a,b,t,e[7],1126891415,10),t=v(t,r,a,b,e[14],2878612391,15),b=v(b,t,r,a,e[5],4237533241,21),a=v(a,b,t,r,e[12],1700485571,6),r=v(r,a,b,t,e[3],2399980690,10),t=v(t,r,a,b,e[10],4293915773,15),b=v(b,t,r,a,e[1],2240044497,21),a=v(a,b,t,r,e[8],1873313359,6),r
vendor: 15,669 bytes, line 2
2=v(r,a,b,t,e[15],4264355552,10),t=v(t,r,a,b,e[6],2734768916,15),b=v(b,t,r,a,e[13],1309151649,21),a=v(a,b,t,r,e[4],4149444226,6),r=v(r,a,b,t,e[11],3174756917,10),t=v(t,r,a,b,e[2],718787259,15),b=v(b,t,r,a,e[9],3951481745,21),this._a=this._a+a|0,this._b=this._b+b|0,this._c=this._c+t|0,this._d=this._d+r|0},h.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var e=c.allocUnsafe(16);return e.writeInt32LE(this._a,0),e.writeInt32LE(this._b,4),e.writeInt32LE(this._c,8),e.writeInt32LE(this._d,12),e},e.exports=h},function(e,t,r){"use strict";var n=r(110).codes.ERR_STREAM_PREMATURE_CLOSE;function o(){}e.exports=function e(t,r,c){if("function"==typeof r)return e(t,null,r);r||(r={}),c=function(e){var t=!1;return function(){if(!t){t=!0;for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];e.apply(this,n)}}}(c||o);var f=r.readable||!1!==r.readable&&t.readable,h=r.writable||!1!==r.writable&&t.writable,l=function(){t.writable||y()},d=t._writableState&&t._writableState.finished,y=function(){h=!1,d=!0,f||c.call(t)},m=t._readableState&&t._readableState.endEmitted,v=function(){f=!1,m=!0,h||c.call(t)},w=function(e){c.call(t,e)},_=function(){var e;return f&&!m?(t._readableState&&t._readableState.ended||(e=new n),c.call(t,e)):h&&!d?(t._writableState&&t._writableState.ended||(e=new n),c.call(t,e)):void 0},E=function(){t.req.on("finish",y)};return!function(e){return e.setHeader&&"function"==typeof e.abort}(t)?h&&!t._writableState&&(t.on("end",l),t.on("close",l)):(t.on("complete",y),t.on("abort",_),t.req?E():t.on("request",E)),t.on("end",v),t.on("finish",y),!1!==r.error&&t.on("error",w),t.on("close",_),function(){t.removeListener("complete",y),t.removeListener("abort",_),t.removeListener("request",E),t.req&&t.req.removeListener("finish",y),t.removeListener("end",l),t.removeListener("close",l),t.removeListener("finish",y),t.removeListener("end",v),t.removeListener("error",w),t.removeListener("close",_)}}},function(e,t,r){"use strict";var n=r(15).Buffer,o=r(5),c=r(385),f=new Array(16),h=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],l=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],d=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],y=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11],m=[0,1518500249,1859775393,2400959708,2840853838],hr=[1352829926,1548603684,1836072691,2053994217,0];function v(){c.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}function w(e,t){return e<<t|e>>>32-t}function _(a,b,e,t,r,n,o,s){return w(a+(b^e^t)+n+o|0,s)+r|0}function E(a,b,e,t,r,n,o,s){return w(a+(b&e|~b&t)+n+o|0,s)+r|0}function S(a,b,e,t,r,n,o,s){return w(a+((b|~e)^t)+n+o|0,s)+r|0}function C(a,b,e,t,r,n,o,s){return w(a+(b&t|e&~t)+n+o|0,s)+r|0}function A(a,b,e,t,r,n,o,s){return w(a+(b^(e|~t))+n+o|0,s)+r|0}o(v,c),v.prototype._update=function(){for(var e=f,t=0;t<16;++t)e[t]=this._block.readInt32LE(4*t);for(var r=0|this._a,n=0|this._b,o=0|this._c,dl=0|this._d,c=0|this._e,v=0|this._a,br=0|this._b,T=0|this._c,k=0|this._d,I=0|this._e,i=0;i<80;i+=1){var M,tr;i<16?(M=_(r,n,o,dl,c,e[h[i]],m[0],d[i]),tr=A(v,br,T,k,I,e[l[i]],hr[0],y[i])):i<32?(M=E(r,n,o,dl,c,e[h[i]],m[1],d[i]),tr=C(v,br,T,k,I,e[l[i]],hr[1],y[i])):i<48?(M=S(r,n,o,dl,c,e[h[i]],m[2],d[i]),tr=S(v,br,T,k,I,e[l[i]],hr[2],y[i])):i<64?(M=C(r,n,o,dl,c,e[h[i]],m[3],d[i]),tr=E(v,br,T,k,I,e[l[i]],hr[3],y[i])):(M=A(r,n,o,dl,c,e[h[i]],m[4],d[i]),tr=_(v,br,T,k,I,e[l[i]],hr[4],y[i])),r=c,c=dl,dl=w(o,10),o=n,n=M,v=I,I=k,k=w(T,10),T=br,br=tr}var R=this._b+o+k|0;this._b=this._c+dl+I|0,this._c=this._d+c+v|0,this._d=this._e+r+br|0,this._e=this._a+n+T|0,this._a=R},v.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var e=n.alloc?n.alloc(20):new n(20);return e.writeInt32LE(this._a,0),e.writeInt32LE(this._b,4),e.writeInt32LE(this._c,8),e.writeInt32LE(this._d,12),e.writeInt32LE(this._e,16),e},e.exports=v},function(e,t,r){(t=e.exports=function(e){e=e.toLowerCase();var r=t[e];if(!r)throw new Error(e+" is not supported (we accept pull requests)");return new r}).sha=r(746),t.sha1=r(747),t.sha224=r(748),t.sha256=r(392),t.sha384=r(749),t.sha512=r(393)},function(e,t,r){"use strict";var n=r(54);function o(e){this.options=e,this.type=this.options.type,this.blockSize=8,this._init(),this.buffer=new Array(this.blockSize),this.bufferOff=0}e.exports=o,o.prototype._init=function(){},o.prototype.update=function(data){return 0===data.length?[]:"decrypt"===this.type?this._updateDecrypt(data):this._updateEncrypt(data)},o.prototype._buffer=function(data,e){for(var t=Math.min(this.buffer.length-this.bufferOff,data.length-e),i=0;i<t;i++)this.buffer[this.bufferOff+i]=data[e+i];return this.bufferOff+=t,t},o.prototype._flushBuffer=function(e,t){return this._update(this.buffer,0,e,t),this.bufferOff=0,this.blockSize},o.prototype._updateEncrypt=function(data){var e=0,t=0,r=(this.bufferOff+data.length)/this.blockSize|0,n=new Array(r*this.blockSize);0!==this.bufferOff&&(e+=this._buffer(data,e),this.bufferOff===this.buffer.length&&(t+=this._flushBuffer(n,t)));for(var o=data.length-(data.length-e)%this.blockSize;e<o;e+=this.blockSize)this._update(data,e,n,t),t+=this.blockSize;for(;e<data.length;e++,this.bufferOff++)this.buffer[this.bufferOff]=data[e];return n},o.prototype._updateDecrypt=function(data){for(var e=0,t=0,r=Math.ceil((this.bufferOff+data.length)/this.blockSize)-1,n=new Array(r*this.blockSize);r>0;r--)e+=this._buffer(data,e),t+=this._flushBuffer(n,t);return e+=this._buffer(data,e),n},o.prototype.final=function(e){var t,r;return e&&(t=this.update(e)),r="encrypt"===this.type?this._finalEncrypt():this._finalDecrypt(),t?t.concat(r):r},o.prototype._pad=function(e,t){if(0===t)return!1;for(;t<e.length;)e[t++]=0;return!0},o.prototype._finalEncrypt=function(){if(!this._pad(this.buffer,this.bufferOff))return[];var e=new Array(this.blockSize);return this._update(this.buffer,0,e,0),e},o.prototype._unpad=function(e){return e},o.prototype._finalDecrypt=function(){n.equal(this.bufferOff,this.blockSize,"Not enough data to decrypt");var e=new Array(this.blockSize);return this._flushBuffer(e,0),this._unpad(e)}},function(e,t,r){var n=r(762),o=r(770),c=r(406);t.createCipher=t.Cipher=n.createCipher,t.createCipheriv=t.Cipheriv=n.createCipheriv,t.createDecipher=t.Decipher=o.createDecipher,t.createDecipheriv=t.Decipheriv=o.createDecipheriv,t.listCiphers=t.getCiphers=function(){return Object.keys(c)}},function(e,t,r){var n={ECB:r(763),CBC:r(764),CFB:r(765),CFB8:r(766),CFB1:r(767),OFB:r(768),CTR:r(404),GCM:r(404)},o=r(406);for(var c in o)o[c].module=n[o[c].mode];e.exports=o},function(e,t,r){var n;function o(e){this.rand=e}if(e.exports=function(e){return n||(n=new o(null)),n.generate(e)},e.exports.Rand=o,o.prototype.generate=function(e){return this._rand(e)},o.prototype._rand=function(e){if(this.rand.getBytes)return this.rand.getBytes(e);for(var t=new Uint8Array(e),i=0;i<t.length;i++)t[i]=this.rand.getByte();return t},"object"==typeof self)self.crypto&&self.crypto.getRandomValues?o.prototype._rand=function(e){var t=new Uint8Array(e);return self.crypto.getRandomValues(t),t}:self.msCrypto&&self.msCrypto.getRandomValues?o.prototype._rand=function(e){var t=new Uint8Array(e);return self.msCrypto.getRandomValues(t),t}:"object"==typeof window&&(o.prototype._rand=function(){throw new Error("Not implemented yet")});else try{var c=r(774);if("function"!=typeof c.randomBytes)throw new Error("Not supported");o.prototype._rand=function(e){return c.randomBytes(e)}}catch(e){}},function(e,t,r){"use strict";var n=r(113).codes.ERR_STREAM_PREMATURE_CLOSE;function o(){}e.exports=function e(t,r,c){if("function"==typeof r)return e(t,null,r);r||(r={}),c=function(e){var t=!1;return function(){if(!t){t=!0;for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];e.apply(this,n)}}}(c||o);var f=r.readable||!1!==r.readable&&t.readable,h=r.writable||!1!==r.writable&&t.writable,l=function(){t.writable||y()},d=t._writableState&&t._writableState.finished,y=function(){h=!1,d=!0,f||c.call(t)},m=t._readableState&&t._readableState.endEmitted,v=function(){f=!1,m=!0,h||c.call(t)},w=function(e){c.call(t,e)},_=function(){var e;return f&&!m?(t._readableState&&t._readableState.ended||(e=new n),c.call(t,e)):h&&!d?(t._writableState&&t._writableState.ended||(e=new n),c.call(t,e)):void 0},E=function(){t.req.on("finish",y)};return!function(e){return e.setHeader&&"function"==typeof e.abort}(t)?h&&!t._writableState&&(t.on("end",l),t.on("close",l)):(t.on("complete",y),t.on("abort",_),t.req?E():t.on("request",E)),t.on("end",v),t.on("finish",y),!1!==r.error&&t.on("error",w),t.on("close",_),function(){t.removeListener("complete",y),t.removeListener("abort",_),t.removeListener("request",E),t.req&&t.req.removeListener("finish",y),t.removeListener("end",l),t.removeListener("close",l),t.removeListener("finish",y),t.removeListener("end",v),t.removeListener("error",w),t.removeListener("close",_)}}},function(e,t,r){(function(t){var n=r(787),o=r(109);function c(e){var t,r=e.modulus.byteLength();do{t=new n(o(r))}while(t.cmp(e.modulus)>=0||!t.umod(e.prime1)||!t.umod(e.prime2));return t}function f(e,r){var o=function(e){var t=c(e);return{blinder:t.toRed(n.mont(e.modulus)).redPow(new n(e.publicExponent)).fromRed(),unblinder:t.invm(e.modulus)}}(r),f=r.modulus.byteLength(),h=new n(e).mul(o.blinder).umod(r.modulus),l=h.toRed(n.mont(r.prime1)),d=h.toRed(n.mont(r.prime2)),y=r.coefficient,p=r.prime1,q=r.prime2,m=l.redPow(r.exponent1).fromRed(),v=d.redPow(r.exponent2).fromRed(),w=m.isub(v).imul(y).umod(p).imul(q);return v.iadd(w).imul(o.unblinder).umod(r.modulus).toArrayLike(t,"be",f)}f.getr=c,e.exports=f}).call(this,r(15).Buffer)},function(e,t,r){"use strict";var n=t;n.version=r(789).version,n.utils=r(55),n.rand=r(251),n.curve=r(418),n.curves=r(255),n.ec=r(800),n.eddsa=r(804)},function(e,t,r){"use strict";var pre,n=t,o=r(256),c=r(418),f=r(55).assert;function h(e){"short"===e.type?this.curve=new c.short(e):"edwards"===e.type?this.curve=new c.edwards(e):this.curve=new c.mont(e),this.g=this.curve.g,this.n=this.curve.n,this.hash=e.hash,f(this.g.validate(),"Invalid curve"),f(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function l(e,t){Object.defineProperty(n,e,{configurable:!0,enumerable:!0,get:function(){var r=new h(t);return Object.defineProperty(n,e,{configurable:!0,enumerable:!0,value:r}),r}})}n.PresetCurve=h,l("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:o.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),l("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:o.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),l("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:o.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),l("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:o.sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]}),l("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:o.sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]}),l("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:o.sha256,gRed:!1,g:["9"]}),l("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:o.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});try{pre=r(799)}catch(e){pre=void 0}l("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:o.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"}
vendor: 6,556 bytes, line 2
2,{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",pre]})},function(e,t,r){var n=t;n.utils=r(66),n.common=r(141),n.sha=r(793),n.ripemd=r(797),n.hmac=r(798),n.sha1=n.sha.sha1,n.sha256=n.sha.sha256,n.sha224=n.sha.sha224,n.sha384=n.sha.sha384,n.sha512=n.sha.sha512,n.ripemd160=n.ripemd.ripemd160},function(e,t,r){"use strict";(function(t){var n,o=r(15),c=o.Buffer,f={};for(n in o)o.hasOwnProperty(n)&&"SlowBuffer"!==n&&"Buffer"!==n&&(f[n]=o[n]);var h=f.Buffer={};for(n in c)c.hasOwnProperty(n)&&"allocUnsafe"!==n&&"allocUnsafeSlow"!==n&&(h[n]=c[n]);if(f.Buffer.prototype=c.prototype,h.from&&h.from!==Uint8Array.from||(h.from=function(e,t,r){if("number"==typeof e)throw new TypeError('The "value" argument must not be of type number. Received type '+typeof e);if(e&&void 0===e.length)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);return c(e,t,r)}),h.alloc||(h.alloc=function(e,t,r){if("number"!=typeof e)throw new TypeError('The "size" argument must be of type number. Received type '+typeof e);if(e<0||e>=2*(1<<30))throw new RangeError('The value "'+e+'" is invalid for option "size"');var n=c(e);return t&&0!==t.length?"string"==typeof r?n.fill(t,r):n.fill(t):n.fill(0),n}),!f.kStringMaxLength)try{f.kStringMaxLength=t.binding("buffer").kStringMaxLength}catch(e){}f.constants||(f.constants={MAX_LENGTH:f.kMaxLength},f.kStringMaxLength&&(f.constants.MAX_STRING_LENGTH=f.kStringMaxLength)),e.exports=f}).call(this,r(17))},function(e,t,r){"use strict";const n=r(259).Reporter,o=r(142).EncoderBuffer,c=r(142).DecoderBuffer,f=r(54),h=["seq","seqof","set","setof","objid","bool","gentime","utctime","null_","enum","int","objDesc","bitstr","bmpstr","charstr","genstr","graphstr","ia5str","iso646str","numstr","octstr","printstr","t61str","unistr","utf8str","videostr"],l=["key","obj","use","optional","explicit","implicit","def","choice","any","contains"].concat(h);function d(e,t,r){const n={};this._baseState=n,n.name=r,n.enc=e,n.parent=t||null,n.children=null,n.tag=null,n.args=null,n.reverseArgs=null,n.choice=null,n.optional=!1,n.any=!1,n.obj=!1,n.use=null,n.useDecoder=null,n.key=null,n.default=null,n.explicit=null,n.implicit=null,n.contains=null,n.parent||(n.children=[],this._wrap())}e.exports=d;const y=["enc","parent","children","tag","args","reverseArgs","choice","optional","any","obj","use","alteredUse","key","default","explicit","implicit","contains"];d.prototype.clone=function(){const e=this._baseState,t={};y.forEach((function(r){t[r]=e[r]}));const r=new this.constructor(t.parent);return r._baseState=t,r},d.prototype._wrap=function(){const e=this._baseState;l.forEach((function(t){this[t]=function(){const r=new this.constructor(this);return e.children.push(r),r[t].apply(r,arguments)}}),this)},d.prototype._init=function(body){const e=this._baseState;f(null===e.parent),body.call(this),e.children=e.children.filter((function(e){return e._baseState.parent===this}),this),f.equal(e.children.length,1,"Root node can have only one child")},d.prototype._useArgs=function(e){const t=this._baseState,r=e.filter((function(e){return e instanceof this.constructor}),this);e=e.filter((function(e){return!(e instanceof this.constructor)}),this),0!==r.length&&(f(null===t.children),t.children=r,r.forEach((function(e){e._baseState.parent=this}),this)),0!==e.length&&(f(null===t.args),t.args=e,t.reverseArgs=e.map((function(e){if("object"!=typeof e||e.constructor!==Object)return e;const t={};return Object.keys(e).forEach((function(r){r==(0|r)&&(r|=0);const n=e[r];t[n]=r})),t})))},["_peekTag","_decodeTag","_use","_decodeStr","_decodeObjid","_decodeTime","_decodeNull","_decodeInt","_decodeBool","_decodeList","_encodeComposite","_encodeStr","_encodeObjid","_encodeTime","_encodeNull","_encodeInt","_encodeBool"].forEach((function(e){d.prototype[e]=function(){const t=this._baseState;throw new Error(e+" not implemented for encoding: "+t.enc)}})),h.forEach((function(e){d.prototype[e]=function(){const t=this._baseState,r=Array.prototype.slice.call(arguments);return f(null===t.tag),t.tag=e,this._useArgs(r),this}})),d.prototype.use=function(e){f(e);const t=this._baseState;return f(null===t.use),t.use=e,this},d.prototype.optional=function(){return this._baseState.optional=!0,this},d.prototype.def=function(e){const t=this._baseState;return f(null===t.default),t.default=e,t.optional=!0,this},d.prototype.explicit=function(e){const t=this._baseState;return f(null===t.explicit&&null===t.implicit),t.explicit=e,this},d.prototype.implicit=function(e){const t=this._baseState;return f(null===t.explicit&&null===t.implicit),t.implicit=e,this},d.prototype.obj=function(){const e=this._baseState,t=Array.prototype.slice.call(arguments);return e.obj=!0,0!==t.length&&this._useArgs(t),this},d.prototype.key=function(e){const t=this._baseState;return f(null===t.key),t.key=e,this},d.prototype.any=function(){return this._baseState.any=!0,this},d.prototype.choice=function(e){const t=this._baseState;return f(null===t.choice),t.choice=e,this._useArgs(Object.keys(e).map((function(t){return e[t]}))),this},d.prototype.contains=function(e){const t=this._baseState;return f(null===t.use),t.contains=e,this},d.prototype._decode=function(input,e){const t=this._baseState;if(null===t.parent)return input.wrapResult(t.children[0]._decode(input,e));let r,n=t.default,o=!0,f=null;if(null!==t.key&&(f=input.enterKey(t.key)),t.optional){let r=null;if(null!==t.explicit?r=t.explicit:null!==t.implicit?r=t.implicit:null!==t.tag&&(r=t.tag),null!==r||t.any){if(o=this._peekTag(input,r,t.any),input.isError(o))return o}else{const r=input.save();try{null===t.choice?this._decodeGeneric(t.tag,input,e):this._decodeChoice(input,e),o=!0}catch(e){o=!1}input.restore(r)}}if(t.obj&&o&&(r=input.enterObject()),o){if(null!==t.explicit){const e=this._decodeTag(input,t.explicit);if(input.isError(e))return e;input=e}const r=input.offset;if(null===t.use&&null===t.choice){let e;t.any&&(e=input.save());const body=this._decodeTag(input,null!==t.implicit?t.implicit:t.tag,t.any);if(input.isError(body))return body;t.any?n=input.raw(e):input=body}if(e&&e.track&&null!==t.tag&&e.track(input.path(),r,input.length,"tagged"),e&&e.track&&null!==t.tag&&e.track(input.path(),input.offset,input.length,"content"),t.any||(n=null===t.choice?this._decodeGeneric(t.tag,input,e):this._decodeChoice(input,e)),input.isError(n))return n;
vendor: 4,058 bytes, line 2
2if(t.any||null!==t.choice||null===t.children||t.children.forEach((function(t){t._decode(input,e)})),t.contains&&("octstr"===t.tag||"bitstr"===t.tag)){const data=new c(n);n=this._getUse(t.contains,input._reporterState.obj)._decode(data,e)}}return t.obj&&o&&(n=input.leaveObject(r)),null===t.key||null===n&&!0!==o?null!==f&&input.exitKey(f):input.leaveKey(f,t.key,n),n},d.prototype._decodeGeneric=function(e,input,t){const r=this._baseState;return"seq"===e||"set"===e?null:"seqof"===e||"setof"===e?this._decodeList(input,e,r.args[0],t):/str$/.test(e)?this._decodeStr(input,e,t):"objid"===e&&r.args?this._decodeObjid(input,r.args[0],r.args[1],t):"objid"===e?this._decodeObjid(input,null,null,t):"gentime"===e||"utctime"===e?this._decodeTime(input,e,t):"null_"===e?this._decodeNull(input,t):"bool"===e?this._decodeBool(input,t):"objDesc"===e?this._decodeStr(input,e,t):"int"===e||"enum"===e?this._decodeInt(input,r.args&&r.args[0],t):null!==r.use?this._getUse(r.use,input._reporterState.obj)._decode(input,t):input.error("unknown tag: "+e)},d.prototype._getUse=function(e,t){const r=this._baseState;return r.useDecoder=this._use(e,t),f(null===r.useDecoder._baseState.parent),r.useDecoder=r.useDecoder._baseState.children[0],r.implicit!==r.useDecoder._baseState.implicit&&(r.useDecoder=r.useDecoder.clone(),r.useDecoder._baseState.implicit=r.implicit),r.useDecoder},d.prototype._decodeChoice=function(input,e){const t=this._baseState;let r=null,n=!1;return Object.keys(t.choice).some((function(o){const c=input.save(),f=t.choice[o];try{const t=f._decode(input,e);if(input.isError(t))return!1;r={type:o,value:t},n=!0}catch(e){return input.restore(c),!1}return!0}),this),n?r:input.error("Choice not matched")},d.prototype._createEncoderBuffer=function(data){return new o(data,this.reporter)},d.prototype._encode=function(data,e,t){const r=this._baseState;if(null!==r.default&&r.default===data)return;const n=this._encodeValue(data,e,t);return void 0===n||this._skipDefault(n,e,t)?void 0:n},d.prototype._encodeValue=function(data,e,t){const r=this._baseState;if(null===r.parent)return r.children[0]._encode(data,e||new n);let o=null;if(this.reporter=e,r.optional&&void 0===data){if(null===r.default)return;data=r.default}let content=null,c=!1;if(r.any)o=this._createEncoderBuffer(data);else if(r.choice)o=this._encodeChoice(data,e);else if(r.contains)content=this._getUse(r.contains,t)._encode(data,e),c=!0;else if(r.children)content=r.children.map((function(t){if("null_"===t._baseState.tag)return t._encode(null,e,data);if(null===t._baseState.key)return e.error("Child should have a key");const r=e.enterKey(t._baseState.key);if("object"!=typeof data)return e.error("Child expected, but input is not object");const n=t._encode(data[t._baseState.key],e,data);return e.leaveKey(r),n}),this).filter((function(e){return e})),content=this._createEncoderBuffer(content);else if("seqof"===r.tag||"setof"===r.tag){if(!r.args||1!==r.args.length)return e.error("Too many args for : "+r.tag);if(!Array.isArray(data))return e.error("seqof/setof, but data is not Array");const t=this.clone();t._baseState.implicit=null,content=this._createEncoderBuffer(data.map((function(t){const r=this._baseState;return this._getUse(r.args[0],data)._encode(t,e)}),t))}else null!==r.use?o=this._getUse(r.use,t)._encode(data,e):(content=this._encodePrimitive(r.tag,data),c=!0);if(!r.any&&null===r.choice){const t=null!==r.implicit?r.implicit:r.tag,n=null===r.implicit?"universal":"context";null===t?null===r.use&&e.error("Tag could be omitted only for .use()"):null===r.use&&(o=this._encodeComposite(t,c,n,content))}return null!==r.explicit&&(o=this._encodeComposite(r.explicit,!1,"context",o)),o},d.prototype._encodeChoice=function(data,e){const t=this._baseState,r=t.choice[data.type];return r||f(!1,data.type+" not found in "+JSON.stringify(Object.keys(t.choice))),r._encode(data.value,e)},d.prototype._encodePrimitive=function(e,data){const t=this._baseState;if(/str$/.test(e))return this._encodeStr(data,e);if("objid"===e&&t.args)return this._encodeObjid(data,t.reverseArgs[0],t.args[1]);
2if("objid"===e)return this._encodeObjid(data,null,null);if("gentime"===e||"utctime"===e)return this._encodeTime(data,e);if("null_"===e)return this._encodeNull();if("int"===e||"enum"===e)return this._encodeInt(data,t.args&&t.reverseArgs[0]);if("bool"===e)return this._encodeBool(data);if("objDesc"===e)return this._encodeStr(data,e);throw new Error("Unsupported tag: "+e)},d.prototype._isNumstr=function(e){return/^[0-9 ]*$/.test(e)},d.prototype._isPrintstr=function(e){return/^[A-Za-z0-9 '()+,-./:=?]*$/.test(e)}},function(e,t,r){"use strict";const n=r(5);function o(e){this._reporterState={obj:null,path:[],options:e||{},errors:[]}}function c(path,e){this.path=path,this.rethrow(e)}t.Reporter=o,o.prototype.isError=function(e){return e instanceof c},o.prototype.save=function(){const e=this._reporterState;return{obj:e.obj,pathLen:e.path.length}},o.prototype.restore=function(data){const e=this._reporterState;e.obj=data.obj,e.path=e.path.slice(0,data.pathLen)},o.prototype.enterKey=function(e){return this._reporterState.path.push(e)},o.prototype.exitKey=function(e){const t=this._reporterState;t.path=t.path.slice(0,e-1)},o.prototype.leaveKey=function(e,t,r){const n=this._reporterState;this.exitKey(e),null!==n.obj&&(n.obj[t]=r)},o.prototype.path=function(){return this._reporterState.path.join("/")},o.prototype.enterObject=function(){const e=this._reporterState,t=e.obj;return e.obj={},t},o.prototype.leaveObject=function(e){const t=this._reporterState,r=t.obj;return t.obj=e,r},o.prototype.error=function(e){let t;const r=this._reporterState,n=e instanceof c;if(t=n?e:new c(r.path.map((function(e){return"["+JSON.stringify(e)+"]"})).join(""),e.message||e,e.stack),!r.options.partial)throw t;return n||r.errors.push(t),t},o.prototype.wrapResult=function(e){const t=this._reporterState;return t.options.partial?{result:this.isError(e)?null:e,errors:t.errors}:e},n(c,Error),c.prototype.rethrow=function(e){if(this.message=e+" at: "+(this.path||"(shallow)"),Error.captureStackTrace&&Error.captureStackTrace(this,c),!this.stack)try{throw new Error(this.message)}catch(e){this.stack=e.stack}return this}},function(e,t,r){"use strict";function n(map){const e={};return Object.keys(map).forEach((function(t){(0|t)==t&&(t|=0);const r=map[t];e[r]=t})),e}t.tagClass={0:"universal",1:"application",2:"context",3:"private"},t.tagClassByName=n(t.tagClass),t.tag={0:"end",1:"bool",2:"int",3:"bitstr",4:"octstr",5:"null_",6:"objid",7:"objDesc",8:"external",9:"real",10:"enum",11:"embed",12:"utf8str",13:"relativeOid",16:"seq",17:"set",18:"numstr",19:"printstr",20:"t61str",21:"videostr",22:"ia5str",23:"utctime",24:"gentime",25:"graphstr",26:"iso646str",27:"genstr",28:"unistr",29:"charstr",30:"bmpstr"},t.tagByName=n(t.tag)},function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.DefaultTransporter=void 0;const n=r(238),o=r(823),c=r(824),f="google-api-nodejs-client";class h{configure(t={}){if(t.headers=t.headers||{},"undefined"==typeof window){const r=t.headers["User-Agent"];r?r.includes(`${f}/`)||(t.headers["User-Agent"]=`${r} ${h.USER_AGENT}`):t.headers["User-Agent"]=h.USER_AGENT;const n=`auth/${c.version}`;if(t.headers["x-goog-api-client"]&&!t.headers["x-goog-api-client"].includes(n))t.headers["x-goog-api-client"]=`${t.headers["x-goog-api-client"]} ${n}`;else if(!t.headers["x-goog-api-client"]){const r=e.version.replace(/^v/,"");t.headers["x-goog-api-client"]=`gl-node/${r} ${n}`}}return t}request(e,t){e=this.configure(e);try{o.validate(e)}catch(e){if(t)return t(e);throw e}if(!t)return n.request(e).catch((e=>{throw this.processError(e)}));n.request(e).then((e=>{t(null,e)}),(e=>{t(this.processError(e))}))}processError(e){const t=e.response,r=e,body=t?t.data:null;return t&&body&&body.error&&200!==t.status?"string"==typeof body.error?(r.message=body.error,r.code=t.status.toString()):Array.isArray(body.error.errors)?(r.message=body.error.errors.map((e=>e.message)).join("\n"),r.code=body.error.code,r.errors=body.error.errors):(r.message=body.error.message,r.code=body.error.code||t.status):t&&t.status>=400&&(r.message=body,r.code=t.status.toString()),r}}t.DefaultTransporter=h,h.USER_AGENT=`${f}/${c.version}`}).call(this,r(17))},function(e,t,r){var n=r(11);r(18),e.exports=n.cipher=n.cipher||{},n.cipher.algorithms=n.cipher.algorithms||{},n.cipher.createCipher=function(e,t){var r=e;if("string"==typeof r&&(r=n.cipher.getAlgorithm(r))&&(r=r()),!r)throw new Error("Unsupported algorithm: "+e);return new n.cipher.BlockCipher({algorithm:r,key:t,decrypt:!1})},n.cipher.createDecipher=function(e,t){var r=e;if("string"==typeof r&&(r=n.cipher.getAlgorithm(r))&&(r=r()),!r)throw new Error("Unsupported algorithm: "+e);return new n.cipher.BlockCipher({algorithm:r,key:t,decrypt:!0})},n.cipher.registerAlgorithm=function(e,t){e=e.toUpperCase(),n.cipher.algorithms[e]=t},n.cipher.getAlgorithm=function(e){return(e=e.toUpperCase())in n.cipher.algorithms?n.cipher.algorithms[e]:null};var o=n.cipher.BlockCipher=function(e){this.algorithm=e.algorithm,this.mode=this.algorithm.mode,this.blockSize=this.mode.blockSize,this._finish=!1,this._input=null,this.output=null,this._op=e.decrypt?this.mode.decrypt:this.mode.encrypt,this._decrypt=e.decrypt,this.algorithm.initialize(e)};o.prototype.start=function(e){e=e||{};var t={};for(var r in e)t[r]=e[r];t.decrypt=this._decrypt,this._finish=!1,this._input=n.util.createBuffer(),this.output=e.output||n.util.createBuffer(),this.mode.start(t)},o.prototype.update=function(input){for(input&&this._input.putBuffer(input);!this._op.call(this.mode,this._input,this.output,this._finish)&&!this._finish;);this._input.compact()}
vendor: 9,793 bytes, line 2
2,o.prototype.finish=function(e){!e||"ECB"!==this.mode.name&&"CBC"!==this.mode.name||(this.mode.pad=function(input){return e(this.blockSize,input,!1)},this.mode.unpad=function(output){return e(this.blockSize,output,!0)});var t={};return t.decrypt=this._decrypt,t.overflow=this._input.length()%this.blockSize,!(!this._decrypt&&this.mode.pad&&!this.mode.pad(this._input,t))&&(this._finish=!0,this.update(),!(this._decrypt&&this.mode.unpad&&!this.mode.unpad(this.output,t))&&!(this.mode.afterFinish&&!this.mode.afterFinish(this.output,t)))}},function(e,t,r){var n=r(11);r(74),r(18);var o=e.exports=n.md5=n.md5||{};n.md.md5=n.md.algorithms.md5=o,o.create=function(){d||function(){c=String.fromCharCode(128),c+=n.util.fillString(String.fromCharCode(0),64),f=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,1,6,11,0,5,10,15,4,9,14,3,8,13,2,7,12,5,8,11,14,1,4,7,10,13,0,3,6,9,12,15,2,0,7,14,5,12,3,10,1,8,15,6,13,4,11,2,9],h=[7,12,17,22,7,12,17,22,7,12,17,22,7,12,17,22,5,9,14,20,5,9,14,20,5,9,14,20,5,9,14,20,4,11,16,23,4,11,16,23,4,11,16,23,4,11,16,23,6,10,15,21,6,10,15,21,6,10,15,21,6,10,15,21],l=new Array(64);for(var i=0;i<64;++i)l[i]=Math.floor(4294967296*Math.abs(Math.sin(i+1)));d=!0}();var e=null,t=n.util.createBuffer(),r=new Array(16),o={algorithm:"md5",blockLength:64,digestLength:16,messageLength:0,fullMessageLength:null,messageLengthSize:8,start:function(){o.messageLength=0,o.fullMessageLength=o.messageLength64=[];for(var r=o.messageLengthSize/4,i=0;i<r;++i)o.fullMessageLength.push(0);return t=n.util.createBuffer(),e={h0:1732584193,h1:4023233417,h2:2562383102,h3:271733878},o}};return o.start(),o.update=function(c,f){"utf8"===f&&(c=n.util.encodeUtf8(c));var h=c.length;o.messageLength+=h,h=[h/4294967296>>>0,h>>>0];for(var i=o.fullMessageLength.length-1;i>=0;--i)o.fullMessageLength[i]+=h[1],h[1]=h[0]+(o.fullMessageLength[i]/4294967296>>>0),o.fullMessageLength[i]=o.fullMessageLength[i]>>>0,h[0]=h[1]/4294967296>>>0;return t.putBytes(c),y(e,r,t),(t.read>2048||0===t.length())&&t.compact(),o},o.digest=function(){var f=n.util.createBuffer();f.putBytes(t.bytes());var h=o.fullMessageLength[o.fullMessageLength.length-1]+o.messageLengthSize&o.blockLength-1;f.putBytes(c.substr(0,o.blockLength-h));for(var l,d=0,i=o.fullMessageLength.length-1;i>=0;--i)d=(l=8*o.fullMessageLength[i]+d)/4294967296>>>0,f.putInt32Le(l>>>0);var m={h0:e.h0,h1:e.h1,h2:e.h2,h3:e.h3};y(m,r,f);var v=n.util.createBuffer();return v.putInt32Le(m.h0),v.putInt32Le(m.h1),v.putInt32Le(m.h2),v.putInt32Le(m.h3),v},o};var c=null,f=null,h=null,l=null,d=!1;function y(s,e,t){for(var r,a,b,n,o,c,i,d=t.length();d>=64;){for(a=s.h0,b=s.h1,n=s.h2,o=s.h3,i=0;i<16;++i)e[i]=t.getInt32Le(),r=a+(o^b&(n^o))+l[i]+e[i],a=o,o=n,n=b,b+=r<<(c=h[i])|r>>>32-c;for(;i<32;++i)r=a+(n^o&(b^n))+l[i]+e[f[i]],a=o,o=n,n=b,b+=r<<(c=h[i])|r>>>32-c;for(;i<48;++i)r=a+(b^n^o)+l[i]+e[f[i]],a=o,o=n,n=b,b+=r<<(c=h[i])|r>>>32-c;for(;i<64;++i)r=a+(n^(b|~o))+l[i]+e[f[i]],a=o,o=n,n=b,b+=r<<(c=h[i])|r>>>32-c;s.h0=s.h0+a|0,s.h1=s.h1+b|0,s.h2=s.h2+n|0,s.h3=s.h3+o|0,d-=64}}},function(e,t,r){(function(t){var n=r(11);r(144),r(74),r(18);var o,c=n.pkcs5=n.pkcs5||{};n.util.isNodejs&&!n.options.usePureJavaScript&&(o=r(265)),e.exports=n.pbkdf2=c.pbkdf2=function(p,s,e,r,c,f){if("function"==typeof c&&(f=c,c=null),n.util.isNodejs&&!n.options.usePureJavaScript&&o.pbkdf2&&(null===c||"object"!=typeof c)&&(o.pbkdf2Sync.length>4||!c||"sha1"===c))return"string"!=typeof c&&(c="sha1"),p=t.from(p,"binary"),s=t.from(s,"binary"),f?4===o.pbkdf2Sync.length?o.pbkdf2(p,s,e,r,(function(e,t){if(e)return f(e);f(null,t.toString("binary"))})):o.pbkdf2(p,s,e,r,c,(function(e,t){if(e)return f(e);f(null,t.toString("binary"))})):4===o.pbkdf2Sync.length?o.pbkdf2Sync(p,s,e,r).toString("binary"):o.pbkdf2Sync(p,s,e,r,c).toString("binary");if(null==c&&(c="sha1"),"string"==typeof c){if(!(c in n.md.algorithms))throw new Error("Unknown hash algorithm: "+c);c=n.md[c].create()}var h=c.digestLength;if(r>4294967295*h){var l=new Error("Derived key is too long.");if(f)return f(l);throw l}var d=Math.ceil(r/h),y=r-(d-1)*h,m=n.hmac.create();m.start(c,p);var v,w,_,E="";if(!f){for(var i=1;i<=d;++i){m.start(null,null),m.update(s),m.update(n.util.int32ToBytes(i)),v=_=m.digest().getBytes();for(var S=2;S<=e;++S)m.start(null,null),m.update(_),w=m.digest().getBytes(),v=n.util.xorBytes(v,w,h),_=w;E+=i<d?v:v.substr(0,y)}return E}i=1;function C(){if(i>d)return f(null,E);m.start(null,null),m.update(s),m.update(n.util.int32ToBytes(i)),v=_=m.digest().getBytes(),S=2,A()}function A(){if(S<=e)return m.start(null,null),m.update(_),w=m.digest().getBytes(),v=n.util.xorBytes(v,w,h),_=w,++S,n.util.setImmediate(A);E+=i<d?v:v.substr(0,y),++i,C()}C()}}).call(this,r(15).Buffer)},,function(e,t,r){var n=r(11);r(91),r(67),r(180),r(74),r(836),r(92),r(115),r(267),r(181),r(18);var o=n.asn1,c=e.exports=n.pki=n.pki||{},f=c.oids,h={};h.CN=f.commonName,h.commonName="CN",h.C=f.countryName,h.countryName="C",h.L=f.localityName,h.localityName="L",h.ST=f.stateOrProvinceName,h.stateOrProvinceName="ST",h.O=f.organizationName,h.organizationName="O",h.OU=f.organizationalUnitName,h.organizationalUnitName="OU",h.E=f.emailAddress,h.emailAddress="E";var l=n.pki.rsa.publicKeyValidator,d={name:"Certificate",tagClass:o.Class.UNIVERSAL,type:o.Type.SEQUENCE,constructed:!0,value:[{name:"Certificate.TBSCertificate",tagClass:o.Class.UNIVERSAL,type:o.Type.SEQUENCE,constructed:!0,captureAsn1:"tbsCertificate",value:[{name:"Certificate.TBSCertificate.version",tagClass:o.Class.CONTEXT_SPECIFIC,type:0,constructed:!0,optional:!0,value:[{name:"Certificate.TBSCertificate.version.integer",tagClass:o.Class.UNIVERSAL,type:o.Type.INTEGER,constructed:!1,capture:"certVersion"}]},{name:"Certificate.TBSCertificate.serialNumber",tagClass:o.Class.UNIVERSAL,type:o.Type.INTEGER,constructed:!1,capture:"certSerialNumber"},{name:"Certificate.TBSCertificate.signature",tagClass:o.Class.UNIVERSAL,type:o.Type.SEQUENCE,constructed:!0,value:[{name:"Certificate.TBSCertificate.signature.algorithm",tagClass:o.Class.UNIVERSAL,type:o.Type.OID,constructed:!1,capture:"certinfoSignatureOid"},{name:"Certificate.TBSCertificate.signature.parameters",tagClass:o.Class.UNIVERSAL,optional:!0,captureAsn1:"certinfoSignatureParams"}]},{name:"Certificate.TBSCertificate.issuer",tagClass:o.Class.UNIVERSAL,type:o.Type.SEQUENCE,constructed:!0,captureAsn1:"certIssuer"},{name:"Certificate.TBSCertificate.validity",tagClass:o.Class.UNIVERSAL,type:o.Type.SEQUENCE,constructed:!0,value:[{name:"Certificate.TBSCertificate.validity.notBefore (utc)",tagClass:o.Class.UNIVERSAL,type:o.Type.UTCTIME,constructed:!1,optional:!0,capture:"certValidity1UTCTime"},{name:"Certificate.TBSCertificate.validity.notBefore (generalized)",tagClass:o.Class.UNIVERSAL,type:o.Type.GENERALIZEDTIME,constructed:!1,optional:!0,capture:"certValidity2GeneralizedTime"},{name:"Certificate.TBSCertificate.validity.notAfter (utc)",tagClass:o.Class.UNIVERSAL,type:o.Type.UTCTIME,constructed:!1,optional:!0,capture:"certValidity3UTCTime"},{name:"Certificate.TBSCertificate.validity.notAfter (generalized)",tagClass:o.Class.UNIVERSAL,type:o.Type.GENERALIZEDTIME,constructed:!1,optional:!0,capture:"certValidity4GeneralizedTime"}]},{name:"Certificate.TBSCertificate.subject",tagClass:o.Class.UNIVERSAL,type:o.Type.SEQUENCE,constructed:!0,captureAsn1:"certSubject"},l,{name:"Certificate.TBSCertificate.issuerUniqueID",tagClass:o.Class.CONTEXT_SPECIFIC,type:1,constructed:!0,optional:!0,value:[{name:"Certificate.TBSCertificate.issuerUniqueID.id",tagClass:o.Class.UNIVERSAL,type:o.Type.BITSTRING,constructed:!1,captureBitStringValue:"certIssuerUniqueId"}]},{name:"Certificate.TBSCertificate.subjectUniqueID",tagClass:o.Class.CONTEXT_SPECIFIC,type:2,constructed:!0,optional:!0,value:[{name:"Certificate.TBSCertificate.subjectUniqueID.id",tagClass:o.Class.UNIVERSAL,type:o.Type.BITSTRING,constructed:!1,captureBitStringValue:"certSubjectUniqueId"}]},{name:"Certificate.TBSCertificate.extensions",tagClass:o.Class.CONTEXT_SPECIFIC,type:3,constructed:!0,captureAsn1:"certExtensions",optional:!0}]},{name:"Certificate.signatureAlgorithm",tagClass:o.Class.UNIVERSAL,type:o.Type.SEQUENCE,constructed:!0,value:[{name:"Certificate.signatureAlgorithm.algorithm",tagClass:o.Class.UNIVERSAL,type:o.Type.OID,constructed:!1,capture:"certSignatureOid"},{name:"Certificate.TBSCertificate.signature.parameters",tagClass:o.Class.UNIVERSAL,optional:!0,captureAsn1:"certSignatureParams"}]},{name:"Certificate.signatureValue",tagClass:o.Class.UNIVERSAL,type:o.Type.BITSTRING,constructed:!1,captureBitStringValue:"certSignature"}]},y={name:"rsapss",tagClass:o.Class.UNIVERSAL,type:o.Type.SEQUENCE,constructed:!0,value:[{name:"rsapss.hashAlgorithm",tagClass:o.Class.CONTEXT_SPECIFIC,type:0,constructed:!0,value:[{name:"rsapss.hashAlgorithm.AlgorithmIdentifier",tagClass:o.Class.UNIVERSAL,type:o.Class.SEQUENCE,constructed:!0,optional:!0,value:[{name:"rsapss.hashAlgorithm.AlgorithmIdentifier.algorithm",tagClass:o.Class.UNIVERSAL,type:o.Type.OID,constructed:!1,capture:"hashOid"}]}]},{name:"rsapss.maskGenAlgorithm",tagClass:o.Class.CONTEXT_SPECIFIC,type:1,constructed:!0,value:[{name:"rsapss.maskGenAlgorithm.AlgorithmIdentifier",tagClass:o.Class.UNIVERSAL,type:o.Class.SEQUENCE,constructed:!0,optional:!0,value:[{name:"rsapss.maskGenAlgorithm.AlgorithmIdentifier.algorithm",tagClass:o.Class.UNIVERSAL,type:o.Type.OID,constructed:!1,capture:"maskGenOid"},{name:"rsapss.maskGenAlgorithm.AlgorithmIdentifier.params",tagClass:o.Class.UNIVERSAL,type:o.Type.SEQUENCE,constructed:!0,value:[{name:"rsapss.maskGenAlgorithm.AlgorithmIdentifier.params.algorithm",tagClass:o.Class.UNIVERSAL,type:o.Type.OID,constructed:!1,capture:"maskGenHashOid"}]}]}]},{name:"rsapss.saltLength",tagClass:o.Class.CONTEXT_SPECIFIC,type:2,optional:!0,value:[{name:"rsapss.saltLength.saltLength",tagClass:o.Class.UNIVERSAL,type:o.Class.INTEGER,c
vendor: 5,731 bytes, line 2
2onstructed:!1,capture:"saltLength"}]},{name:"rsapss.trailerField",tagClass:o.Class.CONTEXT_SPECIFIC,type:3,optional:!0,value:[{name:"rsapss.trailer.trailer",tagClass:o.Class.UNIVERSAL,type:o.Class.INTEGER,constructed:!1,capture:"trailer"}]}]},m={name:"CertificationRequestInfo",tagClass:o.Class.UNIVERSAL,type:o.Type.SEQUENCE,constructed:!0,captureAsn1:"certificationRequestInfo",value:[{name:"CertificationRequestInfo.integer",tagClass:o.Class.UNIVERSAL,type:o.Type.INTEGER,constructed:!1,capture:"certificationRequestInfoVersion"},{name:"CertificationRequestInfo.subject",tagClass:o.Class.UNIVERSAL,type:o.Type.SEQUENCE,constructed:!0,captureAsn1:"certificationRequestInfoSubject"},l,{name:"CertificationRequestInfo.attributes",tagClass:o.Class.CONTEXT_SPECIFIC,type:0,constructed:!0,optional:!0,capture:"certificationRequestInfoAttributes",value:[{name:"CertificationRequestInfo.attributes",tagClass:o.Class.UNIVERSAL,type:o.Type.SEQUENCE,constructed:!0,value:[{name:"CertificationRequestInfo.attributes.type",tagClass:o.Class.UNIVERSAL,type:o.Type.OID,constructed:!1},{name:"CertificationRequestInfo.attributes.value",tagClass:o.Class.UNIVERSAL,type:o.Type.SET,constructed:!0}]}]}]},v={name:"CertificationRequest",tagClass:o.Class.UNIVERSAL,type:o.Type.SEQUENCE,constructed:!0,captureAsn1:"csr",value:[m,{name:"CertificationRequest.signatureAlgorithm",tagClass:o.Class.UNIVERSAL,type:o.Type.SEQUENCE,constructed:!0,value:[{name:"CertificationRequest.signatureAlgorithm.algorithm",tagClass:o.Class.UNIVERSAL,type:o.Type.OID,constructed:!1,capture:"csrSignatureOid"},{name:"CertificationRequest.signatureAlgorithm.parameters",tagClass:o.Class.UNIVERSAL,optional:!0,captureAsn1:"csrSignatureParams"}]},{name:"CertificationRequest.signature",tagClass:o.Class.UNIVERSAL,type:o.Type.BITSTRING,constructed:!1,captureBitStringValue:"csrSignature"}]};function w(e,t){"string"==typeof t&&(t={shortName:t});for(var r,n=null,i=0;null===n&&i<e.attributes.length;++i)r=e.attributes[i],(t.type&&t.type===r.type||t.name&&t.name===r.name||t.shortName&&t.shortName===r.shortName)&&(n=r);return n}c.RDNAttributesAsArray=function(e,t){for(var r,n,c,l=[],d=0;d<e.value.length;++d){r=e.value[d];for(var i=0;i<r.value.length;++i)c={},n=r.value[i],c.type=o.derToOid(n.value[0].value),c.value=n.value[1].value,c.valueTagClass=n.value[1].type,c.type in f&&(c.name=f[c.type],c.name in h&&(c.shortName=h[c.name])),t&&(t.update(c.type),t.update(c.value)),l.push(c)}return l},c.CRIAttributesAsArray=function(e){for(var t=[],r=0;r<e.length;++r)for(var n=e[r],l=o.derToOid(n.value[0].value),d=n.value[1].value,y=0;y<d.length;++y){var m={};if(m.type=l,m.value=d[y].value,m.valueTagClass=d[y].type,m.type in f&&(m.name=f[m.type],m.name in h&&(m.shortName=h[m.name])),m.type===f.extensionRequest){m.extensions=[];for(var v=0;v<m.value.length;++v)m.extensions.push(c.certificateExtensionFromAsn1(m.value[v]))}t.push(m)}return t};var _=function(e,t,r){var n={};if(e!==f["RSASSA-PSS"])return n;r&&(n={hash:{algorithmOid:f.sha1},mgf:{algorithmOid:f.mgf1,hash:{algorithmOid:f.sha1}},saltLength:20});var c={},h=[];if(!o.validate(t,y,c,h)){var l=new Error("Cannot read RSASSA-PSS parameter block.");throw l.errors=h,l}return void 0!==c.hashOid&&(n.hash=n.hash||{},n.hash.algorithmOid=o.derToOid(c.hashOid)),void 0!==c.maskGenOid&&(n.mgf=n.mgf||{},n.mgf.algorithmOid=o.derToOid(c.maskGenOid),n.mgf.hash=n.mgf.hash||{},n.mgf.hash.algorithmOid=o.derToOid(c.maskGenHashOid)),void 0!==c.saltLength&&(n.saltLength=c.saltLength.charCodeAt(0)),n},E=function(e){switch(f[e.signatureOid]){case"sha1WithRSAEncryption":case"sha1WithRSASignature":return n.md.sha1.create();case"md5WithRSAEncryption":return n.md.md5.create();case"sha256WithRSAEncryption":case"RSASSA-PSS":return n.md.sha256.create();case"sha384WithRSAEncryption":return n.md.sha384.create();case"sha512WithRSAEncryption":return n.md.sha512.create();default:var t=new Error("Could not compute "+e.type+" digest. Unknown signature OID.");throw t.signatureOid=e.signatureOid,t}},S=function(e){var t,r=e.certificate;switch(r.signatureOid){case f.sha1WithRSAEncryption:case f.sha1WithRSASignature:break;case f["RSASSA-PSS"]:var o,c,h;if(void 0===(o=f[r.signatureParameters.mgf.hash.algorithmOid])||void 0===n.md[o])throw(h=new Error("Unsupported MGF hash function.")).oid=r.signatureParameters.mgf.hash.algorithmOid,h.name=o,h;if(void 0===(c=f[r.signatureParameters.mgf.algorithmOid])||void 0===n.mgf[c])throw(h=new Error("Unsupported MGF function.")).oid=r.signatureParameters.mgf.algorithmOid,h.name=c,h;if(c=n.mgf[c].create(n.md[o].create()),void 0===(o=f[r.signatureParameters.hash.algorithmOid])||void 0===n.md[o])throw(h=new Error("Unsupported RSASSA-PSS hash function.")).oid=r.signatureParameters.hash.algorithmOid,h.name=o,h;t=n.pss.create(n.md[o].create(),c,r.signatureParameters.saltLength)}return r.publicKey.verify(e.md.digest().getBytes(),e.signature,t)};function C(e){for(var t,r,c=o.create(o.Class.UNIVERSAL,o.Type.SEQUENCE,!0,[]),f=e.attributes,i=0;i<f.length;++i){var h=(t=f[i]).value,l=o.Type.PRINTABLESTRING;"valueTagClass"in t&&(l=t.valueTagClass)===o.Type.UTF8&&(h=n.util.encodeUtf8(h)),r=o.create(o.Class.UNIVERSAL,o.Type.SET,!0,[o.create(o.Class.UNIVERSAL,o.Type.SEQUENCE,!0,[o.create(o.Class.UNIVERSAL,o.Type.OID,!1,o.oidToDer(t.type).getBytes()),o.create(o.Class.UNIVERSAL,l,!1,h)])]),c.value.push(r)}return c}function A(e){for(var t,i=0;i<e.length;++i){if(void 0===(t=e[i]).name&&(t.type&&t.type in c.oids?t.name=c.oids[t.type]:t.shortName&&t.shortName in h&&(t.name=c.oids[h[t.shortName]])),void 0===t.type){if(!t.name||!(t.name in c.oids))throw(n=new Error("Attribute type not specified.")).attribute=t,n;t.type=c.oids[t.name]}if(void 0===t.shortName&&t.name&&t.name in h&&(t.shortName=h[t.n
vendor: 3,801 bytes, line 2
2ame]),t.type===f.extensionRequest&&(t.valueConstructed=!0,t.valueTagClass=o.Type.SEQUENCE,!t.value&&t.extensions)){t.value=[];for(var r=0;r<t.extensions.length;++r)t.value.push(c.certificateExtensionToAsn1(T(t.extensions[r])))}var n;if(void 0===t.value)throw(n=new Error("Attribute value not specified.")).attribute=t,n}}function T(e,t){if(t=t||{},void 0===e.name&&e.id&&e.id in c.oids&&(e.name=c.oids[e.id]),void 0===e.id){if(!e.name||!(e.name in c.oids))throw(I=new Error("Extension ID not specified.")).extension=e,I;e.id=c.oids[e.name]}if(void 0!==e.value)return e;if("keyUsage"===e.name){var r=0,h=0,l=0;e.digitalSignature&&(h|=128,r=7),e.nonRepudiation&&(h|=64,r=6),e.keyEncipherment&&(h|=32,r=5),e.dataEncipherment&&(h|=16,r=4),e.keyAgreement&&(h|=8,r=3),e.keyCertSign&&(h|=4,r=2),e.cRLSign&&(h|=2,r=1),e.encipherOnly&&(h|=1,r=0),e.decipherOnly&&(l|=128,r=7);var d=String.fromCharCode(r);0!==l?d+=String.fromCharCode(h)+String.fromCharCode(l):0!==h&&(d+=String.fromCharCode(h)),e.value=o.create(o.Class.UNIVERSAL,o.Type.BITSTRING,!1,d)}else if("basicConstraints"===e.name)e.value=o.create(o.Class.UNIVERSAL,o.Type.SEQUENCE,!0,[]),e.cA&&e.value.value.push(o.create(o.Class.UNIVERSAL,o.Type.BOOLEAN,!1,String.fromCharCode(255))),"pathLenConstraint"in e&&e.value.value.push(o.create(o.Class.UNIVERSAL,o.Type.INTEGER,!1,o.integerToDer(e.pathLenConstraint).getBytes()));else if("extKeyUsage"===e.name){e.value=o.create(o.Class.UNIVERSAL,o.Type.SEQUENCE,!0,[]);var y=e.value.value;for(var m in e)!0===e[m]&&(m in f?y.push(o.create(o.Class.UNIVERSAL,o.Type.OID,!1,o.oidToDer(f[m]).getBytes())):-1!==m.indexOf(".")&&y.push(o.create(o.Class.UNIVERSAL,o.Type.OID,!1,o.oidToDer(m).getBytes())))}else if("nsCertType"===e.name){r=0,h=0;e.client&&(h|=128,r=7),e.server&&(h|=64,r=6),e.email&&(h|=32,r=5),e.objsign&&(h|=16,r=4),e.reserved&&(h|=8,r=3),e.sslCA&&(h|=4,r=2),e.emailCA&&(h|=2,r=1),e.objCA&&(h|=1,r=0);d=String.fromCharCode(r);0!==h&&(d+=String.fromCharCode(h)),e.value=o.create(o.Class.UNIVERSAL,o.Type.BITSTRING,!1,d)}else if("subjectAltName"===e.name||"issuerAltName"===e.name){e.value=o.create(o.Class.UNIVERSAL,o.Type.SEQUENCE,!0,[]);for(var v=0;v<e.altNames.length;++v){d=(A=e.altNames[v]).value;if(7===A.type&&A.ip){if(null===(d=n.util.bytesFromIP(A.ip)))throw(I=new Error('Extension "ip" value is not a valid IPv4 or IPv6 address.')).extension=e,I}else 8===A.type&&(d=A.oid?o.oidToDer(o.oidToDer(A.oid)):o.oidToDer(d));e.value.value.push(o.create(o.Class.CONTEXT_SPECIFIC,A.type,!1,d))}}else if("nsComment"===e.name&&t.cert){if(!/^[\x00-\x7F]*$/.test(e.comment)||e.comment.length<1||e.comment.length>128)throw new Error('Invalid "nsComment" content.');e.value=o.create(o.Class.UNIVERSAL,o.Type.IA5STRING,!1,e.comment)}else if("subjectKeyIdentifier"===e.name&&t.cert){var w=t.cert.generateSubjectKeyIdentifier();e.subjectKeyIdentifier=w.toHex(),e.value=o.create(o.Class.UNIVERSAL,o.Type.OCTETSTRING,!1,w.getBytes())}else if("authorityKeyIdentifier"===e.name&&t.cert){e.value=o.create(o.Class.UNIVERSAL,o.Type.SEQUENCE,!0,[]);y=e.value.value;if(e.keyIdentifier){var _=!0===e.keyIdentifier?t.cert.generateSubjectKeyIdentifier().getBytes():e.keyIdentifier;y.push(o.create(o.Class.CONTEXT_SPECIFIC,0,!1,_))}if(e.authorityCertIssuer){var E=[o.create(o.Class.CONTEXT_SPECIFIC,4,!0,[C(!0===e.authorityCertIssuer?t.cert.issuer:e.authorityCertIssuer)])];y.push(o.create(o.Class.CONTEXT_SPECIFIC,1,!0,E))}if(e.serialNumber){var S=n.util.hexToBytes(!0===e.serialNumber?t.cert.serialNumber:e.serialNumber);y.push(o.create(o.Class.CONTEXT_SPECIFIC,2,!1,S))}}else if("cRLDistributionPoints"===e.name){e.value=o.create(o.Class.UNIVERSAL,o.Type.SEQUENCE,!0,[]);y=e.value.value;var A,T=o.create(o.Class.UNIVERSAL,o.Type.SEQUENCE,!0,[]),k=o.create(o.Class.CONTEXT_SPECIFIC,0,!0,[]);for(v=0;v<e.altNames.length;
vendor: 4,591 bytes, line 2
2++v){d=(A=e.altNames[v]).value;if(7===A.type&&A.ip){if(null===(d=n.util.bytesFromIP(A.ip)))throw(I=new Error('Extension "ip" value is not a valid IPv4 or IPv6 address.')).extension=e,I}else 8===A.type&&(d=A.oid?o.oidToDer(o.oidToDer(A.oid)):o.oidToDer(d));k.value.push(o.create(o.Class.CONTEXT_SPECIFIC,A.type,!1,d))}T.value.push(o.create(o.Class.CONTEXT_SPECIFIC,0,!0,[k])),y.push(T)}var I;if(void 0===e.value)throw(I=new Error("Extension value not specified.")).extension=e,I;return e}function k(e,t){if(e===f["RSASSA-PSS"]){var r=[];return void 0!==t.hash.algorithmOid&&r.push(o.create(o.Class.CONTEXT_SPECIFIC,0,!0,[o.create(o.Class.UNIVERSAL,o.Type.SEQUENCE,!0,[o.create(o.Class.UNIVERSAL,o.Type.OID,!1,o.oidToDer(t.hash.algorithmOid).getBytes()),o.create(o.Class.UNIVERSAL,o.Type.NULL,!1,"")])])),void 0!==t.mgf.algorithmOid&&r.push(o.create(o.Class.CONTEXT_SPECIFIC,1,!0,[o.create(o.Class.UNIVERSAL,o.Type.SEQUENCE,!0,[o.create(o.Class.UNIVERSAL,o.Type.OID,!1,o.oidToDer(t.mgf.algorithmOid).getBytes()),o.create(o.Class.UNIVERSAL,o.Type.SEQUENCE,!0,[o.create(o.Class.UNIVERSAL,o.Type.OID,!1,o.oidToDer(t.mgf.hash.algorithmOid).getBytes()),o.create(o.Class.UNIVERSAL,o.Type.NULL,!1,"")])])])),void 0!==t.saltLength&&r.push(o.create(o.Class.CONTEXT_SPECIFIC,2,!0,[o.create(o.Class.UNIVERSAL,o.Type.INTEGER,!1,o.integerToDer(t.saltLength).getBytes())])),o.create(o.Class.UNIVERSAL,o.Type.SEQUENCE,!0,r)}return o.create(o.Class.UNIVERSAL,o.Type.NULL,!1,"")}function I(e){var t=o.create(o.Class.CONTEXT_SPECIFIC,0,!0,[]);if(0===e.attributes.length)return t;for(var r=e.attributes,i=0;i<r.length;++i){var c=r[i],f=c.value,h=o.Type.UTF8;"valueTagClass"in c&&(h=c.valueTagClass),h===o.Type.UTF8&&(f=n.util.encodeUtf8(f));var l=!1;"valueConstructed"in c&&(l=c.valueConstructed);var d=o.create(o.Class.UNIVERSAL,o.Type.SEQUENCE,!0,[o.create(o.Class.UNIVERSAL,o.Type.OID,!1,o.oidToDer(c.type).getBytes()),o.create(o.Class.UNIVERSAL,o.Type.SET,!0,[o.create(o.Class.UNIVERSAL,h,l,f)])]);t.value.push(d)}return t}c.certificateFromPem=function(e,t,r){var f=n.pem.decode(e)[0];if("CERTIFICATE"!==f.type&&"X509 CERTIFICATE"!==f.type&&"TRUSTED CERTIFICATE"!==f.type){var h=new Error('Could not convert certificate from PEM; PEM header type is not "CERTIFICATE", "X509 CERTIFICATE", or "TRUSTED CERTIFICATE".');throw h.headerType=f.type,h}if(f.procType&&"ENCRYPTED"===f.procType.type)throw new Error("Could not convert certificate from PEM; PEM is encrypted.");var l=o.fromDer(f.body,r);return c.certificateFromAsn1(l,t)},c.certificateToPem=function(e,t){var r={type:"CERTIFICATE",body:o.toDer(c.certificateToAsn1(e)).getBytes()};return n.pem.encode(r,{maxline:t})},c.publicKeyFromPem=function(e){var t=n.pem.decode(e)[0];if("PUBLIC KEY"!==t.type&&"RSA PUBLIC KEY"!==t.type){var r=new Error('Could not convert public key from PEM; PEM header type is not "PUBLIC KEY" or "RSA PUBLIC KEY".');throw r.headerType=t.type,r}if(t.procType&&"ENCRYPTED"===t.procType.type)throw new Error("Could not convert public key from PEM; PEM is encrypted.");var f=o.fromDer(t.body);return c.publicKeyFromAsn1(f)},c.publicKeyToPem=function(e,t){var r={type:"PUBLIC KEY",body:o.toDer(c.publicKeyToAsn1(e)).getBytes()};return n.pem.encode(r,{maxline:t})},c.publicKeyToRSAPublicKeyPem=function(e,t){var r={type:"RSA PUBLIC KEY",body:o.toDer(c.publicKeyToRSAPublicKey(e)).getBytes()};return n.pem.encode(r,{maxline:t})},c.getPublicKeyFingerprint=function(e,t){var r,f=(t=t||{}).md||n.md.sha1.create();switch(t.type||"RSAPublicKey"){case"RSAPublicKey":r=o.toDer(c.publicKeyToRSAPublicKey(e)).getBytes();break;case"SubjectPublicKeyInfo":r=o.toDer(c.publicKeyToAsn1(e)).getBytes();break;default:throw new Error('Unknown fingerprint type "'+t.type+'".')}f.start(),f.update(r);var h=f.digest();if("hex"===t.encoding){var l=h.toHex();return t.delimiter?l.match(/.{2}/g).join(t.delimiter):l}if("binary"===t.encoding)return h.getBytes();if(t.encoding)throw new Error('Unknown encoding "'+t.encoding+'".');return h},c.certificationRequestFromPem=function(e,t,r){var f=n.pem.decode(e)[0];if("CERTIFICATE REQUEST"!==f.type){var h=new Error('Could not convert certification request from PEM; PEM header type is not "CERTIFICATE REQUEST".');throw h.headerType=f.type,h}if(f.procType&&"ENCRYPTED"===f.procType.type)throw new Error("Could not convert certification request from PEM; PEM is encrypted.");var l=o.fromDer(f.body,r);return c.certificationRequestFromAsn1(l,t)},c.certificationRequestToPem=function(e,t){var r={type:"CERTIFICATE REQUEST",body:o.toDer(c.certificationRequestToAsn1(e)).getBytes()};return n.pem.encode(r,{maxline:t})}
vendor: 14,969 bytes, line 2
2,c.createCertificate=function(){var e={version:2,serialNumber:"00",signatureOid:null,signature:null,siginfo:{}};return e.siginfo.algorithmOid=null,e.validity={},e.validity.notBefore=new Date,e.validity.notAfter=new Date,e.issuer={},e.issuer.getField=function(t){return w(e.issuer,t)},e.issuer.addField=function(t){A([t]),e.issuer.attributes.push(t)},e.issuer.attributes=[],e.issuer.hash=null,e.subject={},e.subject.getField=function(t){return w(e.subject,t)},e.subject.addField=function(t){A([t]),e.subject.attributes.push(t)},e.subject.attributes=[],e.subject.hash=null,e.extensions=[],e.publicKey=null,e.md=null,e.setSubject=function(t,r){A(t),e.subject.attributes=t,delete e.subject.uniqueId,r&&(e.subject.uniqueId=r),e.subject.hash=null},e.setIssuer=function(t,r){A(t),e.issuer.attributes=t,delete e.issuer.uniqueId,r&&(e.issuer.uniqueId=r),e.issuer.hash=null},e.setExtensions=function(t){for(var i=0;i<t.length;++i)T(t[i],{cert:e});e.extensions=t},e.getExtension=function(t){"string"==typeof t&&(t={name:t});for(var r,n=null,i=0;null===n&&i<e.extensions.length;++i)r=e.extensions[i],(t.id&&r.id===t.id||t.name&&r.name===t.name)&&(n=r);return n},e.sign=function(t,r){e.md=r||n.md.sha1.create();var h=f[e.md.algorithm+"WithRSAEncryption"];if(!h){var l=new Error("Could not compute certificate digest. Unknown message digest algorithm OID.");throw l.algorithm=e.md.algorithm,l}e.signatureOid=e.siginfo.algorithmOid=h,e.tbsCertificate=c.getTBSCertificate(e);var d=o.toDer(e.tbsCertificate);e.md.update(d.getBytes()),e.signature=t.sign(e.md)},e.verify=function(t){var r=!1;if(!e.issued(t)){var n=t.issuer,f=e.subject,h=new Error("The parent certificate did not issue the given child certificate; the child certificate's issuer does not match the parent's subject.");throw h.expectedIssuer=f.attributes,h.actualIssuer=n.attributes,h}var l=t.md;if(null===l){l=E({signatureOid:t.signatureOid,type:"certificate"});var d=t.tbsCertificate||c.getTBSCertificate(t),y=o.toDer(d);l.update(y.getBytes())}return null!==l&&(r=S({certificate:e,md:l,signature:t.signature})),r},e.isIssuer=function(t){var r=!1,i=e.issuer,s=t.subject;if(i.hash&&s.hash)r=i.hash===s.hash;else if(i.attributes.length===s.attributes.length){var n,o;r=!0;for(var c=0;r&&c<i.attributes.length;++c)n=i.attributes[c],o=s.attributes[c],n.type===o.type&&n.value===o.value||(r=!1)}return r},e.issued=function(t){return t.isIssuer(e)},e.generateSubjectKeyIdentifier=function(){return c.getPublicKeyFingerprint(e.publicKey,{type:"RSAPublicKey"})},e.verifySubjectKeyIdentifier=function(){for(var t=f.subjectKeyIdentifier,i=0;i<e.extensions.length;++i){var r=e.extensions[i];if(r.id===t){var o=e.generateSubjectKeyIdentifier().getBytes();return n.util.hexToBytes(r.subjectKeyIdentifier)===o}}return!1},e},c.certificateFromAsn1=function(e,t){var r={},f=[];if(!o.validate(e,d,r,f)){var h=new Error("Cannot read X.509 certificate. ASN.1 object is not an X509v3 Certificate.");throw h.errors=f,h}if(o.derToOid(r.publicKeyOid)!==c.oids.rsaEncryption)throw new Error("Cannot read public key. OID is not RSA.");var l=c.createCertificate();l.version=r.certVersion?r.certVersion.charCodeAt(0):0;var y=n.util.createBuffer(r.certSerialNumber);l.serialNumber=y.toHex(),l.signatureOid=n.asn1.derToOid(r.certSignatureOid),l.signatureParameters=_(l.signatureOid,r.certSignatureParams,!0),l.siginfo.algorithmOid=n.asn1.derToOid(r.certinfoSignatureOid),l.siginfo.parameters=_(l.siginfo.algorithmOid,r.certinfoSignatureParams,!1),l.signature=r.certSignature;var m=[];if(void 0!==r.certValidity1UTCTime&&m.push(o.utcTimeToDate(r.certValidity1UTCTime)),void 0!==r.certValidity2GeneralizedTime&&m.push(o.generalizedTimeToDate(r.certValidity2GeneralizedTime)),void 0!==r.certValidity3UTCTime&&m.push(o.utcTimeToDate(r.certValidity3UTCTime)),void 0!==r.certValidity4GeneralizedTime&&m.push(o.generalizedTimeToDate(r.certValidity4GeneralizedTime)),m.length>2)throw new Error("Cannot read notBefore/notAfter validity times; more than two times were provided in the certificate.");if(m.length<2)throw new Error("Cannot read notBefore/notAfter validity times; they were not provided as either UTCTime or GeneralizedTime.");if(l.validity.notBefore=m[0],l.validity.notAfter=m[1],l.tbsCertificate=r.tbsCertificate,t){l.md=E({signatureOid:l.signatureOid,type:"certificate"});var v=o.toDer(l.tbsCertificate);l.md.update(v.getBytes())}var S=n.md.sha1.create(),C=o.toDer(r.certIssuer);S.update(C.getBytes()),l.issuer.getField=function(e){return w(l.issuer,e)},l.issuer.addField=function(e){A([e]),l.issuer.attributes.push(e)},l.issuer.attributes=c.RDNAttributesAsArray(r.certIssuer),r.certIssuerUniqueId&&(l.issuer.uniqueId=r.certIssuerUniqueId),l.issuer.hash=S.digest().toHex();var T=n.md.sha1.create(),k=o.toDer(r.certSubject);return T.update(k.getBytes()),l.subject.getField=function(e){return w(l.subject,e)},l.subject.addField=function(e){A([e]),l.subject.attributes.push(e)},l.subject.attributes=c.RDNAttributesAsArray(r.certSubject),r.certSubjectUniqueId&&(l.subject.uniqueId=r.certSubjectUniqueId),l.subject.hash=T.digest().toHex(),r.certExtensions?l.extensions=c.certificateExtensionsFromAsn1(r.certExtensions):l.extensions=[],l.publicKey=c.publicKeyFromAsn1(r.subjectPublicKeyInfo),l},c.certificateExtensionsFromAsn1=function(e){for(var t=[],i=0;i<e.value.length;++i)for(var r=e.value[i],n=0;n<r.value.length;++n)t.push(c.certificateExtensionFromAsn1(r.value[n]));return t},c.certificateExtensionFromAsn1=function(e){var t={};if(t.id=o.derToOid(e.value[0].value),t.critical=!1,e.value[1].type===o.Type.BOOLEAN?(t.critical=0!==e.value[1].value.charCodeAt(0),t.value=e.value[2].value):t.value=e.value[1].value,t.id in f)if(t.name=f[t.id],"keyUsage"===t.name){var r=0,c=0;(l=o.fromDer(t.value)).value.length>1&&(r=l.value.charCodeAt(1),c=l.value.length>2?l.value.charCodeAt(2):0),t.digitalSignature=128==(128&r),t.nonRepudiation=64==(64&r),t.keyEncipherment=32==(32&r),t.dataEncipherment=16==(16&r),t.keyAgreement=8==(8&r),t.keyCertSign=4==(4&r),t.cRLSign=2==(2&r),t.encipherOnly=1==(1&r),t.decipherOnly=128==(128&c)}else if("basicConstraints"===t.name){(l=o.fromDer(t.value)).value.length>0&&l.value[0].type===o.Type.BOOLEAN?t.cA=0!==l.value[0].value.charCodeAt(0):t.cA=!1;var h=null;l.value.length>0&&l.value[0].type===o.Type.INTEGER?h=l.value[0].value:l.value.length>1&&(h=l.value[1].value),null!==h&&(t.pathLenConstraint=o.derToInteger(h))}else if("extKeyUsage"===t.name)for(var l=o.fromDer(t.value),d=0;d<l.value.length;++d){var y=o.derToOid(l.value[d].value);y in f?t[f[y]]=!0:t[y]=!0}else if("nsCertType"===t.name){r=0;(l=o.fromDer(t.value)).value.length>1&&(r=l.value.charCodeAt(1)),t.client=128==(128&r),t.server=64==(64&r),t.email=32==(32&r),t.objsign=16==(16&r),t.reserved=8==(8&r),t.sslCA=4==(4&r),t.emailCA=2==(2&r),t.objCA=1==(1&r)}else if("subjectAltName"===t.name||"issuerAltName"===t.name){var m;t.altNames=[];l=o.fromDer(t.value);for(var v=0;v<l.value.length;++v){var w={type:(m=l.value[v]).type,value:m.value};switch(t.altNames.push(w),m.type){case 1:case 2:case 6:break;case 7:w.ip=n.util.bytesToIP(m.value);break;case 8:w.oid=o.derToOid(m.value)}}}else if("subjectKeyIdentifier"===t.name){l=o.fromDer(t.value);t.subjectKeyIdentifier=n.util.bytesToHex(l.value)}return t},c.certificationRequestFromAsn1=function(e,t){var r={},f=[];if(!o.validate(e,v,r,f)){var h=new Error("Cannot read PKCS#10 certificate request. ASN.1 object is not a PKCS#10 CertificationRequest.");throw h.errors=f,h}if(o.derToOid(r.publicKeyOid)!==c.oids.rsaEncryption)throw new Error("Cannot read public key. OID is not RSA.");var l=c.createCertificationRequest();if(l.version=r.csrVersion?r.csrVersion.charCodeAt(0):0,l.signatureOid=n.asn1.derToOid(r.csrSignatureOid),l.signatureParameters=_(l.signatureOid,r.csrSignatureParams,!0),l.siginfo.algorithmOid=n.asn1.derToOid(r.csrSignatureOid),l.siginfo.parameters=_(l.siginfo.algorithmOid,r.csrSignatureParams,!1),l.signature=r.csrSignature,l.certificationRequestInfo=r.certificationRequestInfo,t){l.md=E({signatureOid:l.signatureOid,type:"certification request"});var d=o.toDer(l.certificationRequestInfo);l.md.update(d.getBytes())}var y=n.md.sha1.create();return l.subject.getField=function(e){return w(l.subject,e)},l.subject.addField=function(e){A([e]),l.subject.attributes.push(e)},l.subject.attributes=c.RDNAttributesAsArray(r.certificationRequestInfoSubject,y),l.subject.hash=y.digest().toHex(),l.publicKey=c.publicKeyFromAsn1(r.subjectPublicKeyInfo),l.getAttribute=function(e){return w(l,e)},l.addAttribute=function(e){A([e]),l.attributes.push(e)},l.attributes=c.CRIAttributesAsArray(r.certificationRequestInfoAttributes||[]),l},c.createCertificationRequest=function(){var e={version:0,signatureOid:null,signature:null,siginfo:{}};return e.siginfo.algorithmOid=null,e.subject={},e.subject.getField=function(t){return w(e.subject,t)},e.subject.addField=function(t){A([t]),e.subject.attributes.push(t)},e.subject.attributes=[],e.subject.hash=null,e.publicKey=null,e.attributes=[],e.getAttribute=function(t){return w(e,t)},e.addAttribute=function(t){A([t]),e.attributes.push(t)},e.md=null,e.setSubject=function(t){A(t),e.subject.attributes=t,e.subject.hash=null},e.setAttributes=function(t){A(t),e.attributes=t},e.sign=function(t,r){e.md=r||n.md.sha1.create();var h=f[e.md.algorithm+"WithRSAEncryption"];if(!h){var l=new Error("Could not compute certification request digest. Unknown message digest algorithm OID.");throw l.algorithm=e.md.algorithm,l}e.signatureOid=e.siginfo.algorithmOid=h,e.certificationRequestInfo=c.getCertificationRequestInfo(e);var d=o.toDer(e.certificationRequestInfo);e.md.update(d.getBytes()),e.signature=t.sign(e.md)},e.verify=function(){var t=!1,r=e.md;if(null===r){r=E({signatureOid:e.signatureOid,type:"certification request"});var n=e.certificationRequestInfo||c.getCertificationRequestInfo(e),f=o.toDer(n);r.update(f.getBytes())}return null!==r&&(t=S({certificate:e,md:r,signature:e.signature})),t},e};var M=new Date("1950-01-01T00:00:00Z"),R=new Date("2050-01-01T00:00:00Z");function x(e){return e>=M&&e<R?o.create(o.Class.UNIVERSAL,o.Type.UTCTIME,!1,o.dateToUtcTime(e)):o.create(o.Class.UNIVERSAL,o.Type.GENERALIZEDTIME,!1,o.dateToGeneralizedTime(e))}c.getTBSCertificate=function(e){var t=x(e.validity.notBefore),r=x(e.validity.notAfter),f=o.create(o.Class.UNIVERSAL,o.Type.SEQUENCE,!0,[o.create(o.Class.CONTEXT_SPECIFIC,0,!0,[o.create(o.Class.UNIVERSAL,o.Type.INTEGER,!1,o.integerToDer(e.version).getBytes())]),o.create(o.Class.UNIVERSAL,o.Type.INTEGER,!1,n.util.hexToBytes(e.serialNumber)),o.create(o.Class.UNIVERSAL,o.Type.SEQUENCE,!0,[o.create(o.Class.UNIVERSAL,o.Type.OID,!1,o.oidToDer(e.siginfo.algorithmOid).getBytes()),k(e.siginfo.algorithmOid,e.siginfo.parameters)]),C(e.issuer),o.create(o.Class.UNIVERSAL,o.Type.SEQUENCE,!0,[t,r]),C(e.subject),c.publicKeyToAsn1(e.publicKey)]);return e.issuer.uniqueId&&f.value.push(o.create(o.Class.CONTEXT_SPECIFIC,1,!0,[o.create(o.Class.UNIVERSAL,o.Type.BITSTRING,!1,String.fromCharCode(0)+e.issuer.uniqueId)])),e.subject.uniqueId&&f.value.push(o.create(o.Class.CONTEXT_SPECIFIC,2,!0,[o.create(o.Class.UNIVERSAL,o.Type.BITSTRING,!1,String.fromCharCode(0)+e.subject.uniqueId)])),e.extensions.length>0&&f.value.push(c.certificateExtensionsToAsn1(e.extensions)),f},c.getCertificationRequestInfo=function(e){return o.create(o.Class.UNIVERSAL,o.Type.SEQUENCE,!0,[o.create(o.Class.UNIVERSAL,o.Type.INTEGER,!1,o.integerToDer(e.version).getBytes()),C(e.subject),c.publicKeyToAsn1(e.publicKey),I(e)])},c.distinguishedNameToAsn1=function(e){return C(e)},c.certificateToAsn1=function(e){var t=e.tbsCertificate||c.getTBSCertificate(e);return o.create(o.Class.UNIVERSAL,o.Type.SEQUENCE,!0,[t,o.create(o.Class.UNIVERSAL,o.Type.SEQUENCE,!0,[o.create(o.Class.UNIVERSAL,o.Type.OID,!1,o.oidToDer(e.signatureOid).getBytes()),k(e.signatureOid,e.signatureParameters)]),o.create(o.Class.UNIVERSAL,o.Type.BITSTRING,!1,String.fromCharCode(0)+e.signature)])},c.certificateExtensionsToAsn1=function(e){var t=o.create(o.Class.CONTEXT_SPECIFIC,3,!0,[]),r=o.create(o.Class.UNIVERSAL,o.Type.SEQUENCE,!0,[]);t.value.push(r);for(var i=0;i<e.length;++i)r.value.push(c.certificateExtensionToAsn1(e[i]));return t},c.certificateExtensionToAsn1=function(e){var t=o.create(o.Class.UNIVERSAL,o.Type.SEQUENCE,!0,[]);t.value.push(o.create(o.Class.UNIVERSAL,o.Type.OID,!1,o.oidToDer(e.id).getBytes())),e.critical&&t.value.push(o.create(o.Class.UNIVERSAL,o.Type.BOOLEAN,!1,String.fromCharCode(255)));var r=e.value;return"string"!=typeof e.value&&(r=o.toDer(r).getBytes()),t.value.push(o.create(o.Class.UNIVERSAL,o.Type.OCTETSTRING,!1,r)),t},c.certificationRequestToAsn1=function(e){var t=e.certificationRequestInfo||c.getCertificationRequestInfo(e);return o.create(o.Class.UNIVERSAL,o.Type.SEQUENCE,!0,[t,o.create(o.Class.UNIVERSAL,o.Type.SEQUENCE,!0,[o.create(o.Class.UNIVERSAL,o.Type.OID,!1,o.oidToDer(e.signatureOid).getBytes()),k(e.signatureOid,e.signatureParameters)]),o.create(o.Class.UNIVERSAL,o.Type.BITSTRING,!1,String.fromCharCode(0)+e.signature)])},c.createCaStore=function(e){var t={certs:{}};function r(e){return f(e),t.certs[e.hash]||null}function f(e){if(!e.hash){var t=n.md.sha1.create();e.attributes=c.RDNAttributesAsArray(C(e),t),e.hash=t.digest().toHex()}}if(t.getIssuer=function(e){return r(e.issuer)},t.addCertificate=function(e){if("string"==typeof e&&(e=n.pki.certificateFromPem(e)),f(e.subject),!t.hasCertificate(e))if(e.subject.hash in t.certs){var r=t.certs[e.subject.hash];n.util.isArray(r)||(r=[r]),r.push(e),t.certs[e.subject.hash]=r}else t.certs[e.subject.hash]=e},t.hasCertificate=function(e){"string"==typeof e&&(e=n.pki.certificateFromPem(e));var t=r(e.subject);if(!t)return!1;n.util.isArray(t)||(t=[t]);for(var f=o.toDer(c.certificateToAsn1(e)).getBytes(),i=0;i<t.length;++i){if(f===o.toDer(c.certificateToAsn1(t[i])).getBytes())return!0}return!1},t.listAllCertificates=function(){var e=[];for(var r in t.certs)if(t.certs.hasOwnProperty(r)){var o=t.certs[r];if(n.util.isArray(o))for(var i=0;i<o.length;++i)e.push(o[i]);else e.push(o)}return e},t.removeCertificate=function(e){var h;if("string"==typeof e&&(e=n.pki.certificateFromPem(e)),f(e.subject),!t.hasCertificate(e))return null;var l=r(e.subject);if(!n.util.isArray(l))return h=t.certs[e.subject.hash],delete t.certs[e.subject.hash],h;for(var d=o.toDer(c.certificateToAsn1(e)).getBytes(),i=0;i<l.length;++i){d===o.toDer(c.certificateToAsn1(l[i])).getBytes()&&(h=l[i],l.splice(i,1))}return 0===l.length&&delete t.certs[e.subject.hash],h},e)for(var i=0;i<e.length;++i){var h=e[i];t.addCertificate(h)}return t},c.certificateError={bad_certificate:"forge.pki.BadCertificate",unsupported_certificate:"forge.pki.UnsupportedCertificate",certificate_revoked:"forge.pki.CertificateRevoked",certificate_expired:"forge.pki.CertificateExpired",certificate_unknown:"forge.pki.CertificateUnknown",unknown_ca:"forge.pki.UnknownCertificateAuthority"},c.verifyCertificateChain=function(e,t,r){"function"==typeof r&&(r={verify:r}),r=r||{};var o=(t=t.slice(0)).slice(0),f=r.validityCheckDate;
2void 0===f&&(f=new Date);var h=!0,l=null,d=0;do{var y=t.shift(),m=null,v=!1;if(f&&(f<y.validity.notBefore||f>y.validity.notAfter)&&(l={message:"Certificate is not valid yet or has expired.",error:c.certificateError.certificate_expired,notBefore:y.validity.notBefore,notAfter:y.validity.notAfter,now:f}),null===l){if(null===(m=t[0]||e.getIssuer(y))&&y.isIssuer(y)&&(v=!0,m=y),m){var w=m;n.util.isArray(w)||(w=[w]);for(var _=!1;!_&&w.length>0;){m=w.shift();try{_=m.verify(y)}catch(e){}}_||(l={message:"Certificate signature is invalid.",error:c.certificateError.bad_certificate})}null!==l||m&&!v||e.hasCertificate(y)||(l={message:"Certificate is not trusted.",error:c.certificateError.unknown_ca})}if(null===l&&m&&!y.isIssuer(m)&&(l={message:"Certificate issuer is invalid.",error:c.certificateError.bad_certificate}),null===l)for(var E={keyUsage:!0,basicConstraints:!0},i=0;null===l&&i<y.extensions.length;++i){var S=y.extensions[i];S.critical&&!(S.name in E)&&(l={message:"Certificate has an unsupported critical extension.",error:c.certificateError.unsupported_certificate})}if(null===l&&(!h||0===t.length&&(!m||v))){var C=y.getExtension("basicConstraints"),A=y.getExtension("keyUsage");if(null!==A&&(A.keyCertSign&&null!==C||(l={message:"Certificate keyUsage or basicConstraints conflict or indicate that the certificate is not a CA. If the certificate is the only one in the chain or isn't the first then the certificate must be a valid CA.",error:c.certificateError.bad_certificate})),null!==l||null===C||C.cA||(l={message:"Certificate basicConstraints indicates the certificate is not a CA.",error:c.certificateError.bad_certificate}),null===l&&null!==A&&"pathLenConstraint"in C)d-1>C.pathLenConstraint&&(l={message:"Certificate basicConstraints pathLenConstraint violated.",error:c.certificateError.bad_certificate})}var T=null===l||l.error,k=r.verify?r.verify(T,d,o):T;if(!0!==k)throw!0===T&&(l={message:"The application rejected the certificate.",error:c.certificateError.bad_certificate}),(k||0===k)&&("object"!=typeof k||n.util.isArray(k)?"string"==typeof k&&(l.error=k):(k.message&&(l.message=k.message),k.error&&(l.error=k.error))),l;l=null,h=!1,++d}while(t.length>0);return!0}},function(e,t,r){var n=r(11);r(62),r(18),(e.exports=n.pss=n.pss||{}).create=function(e){3===arguments.length&&(e={md:arguments[0],mgf:arguments[1],saltLength:arguments[2]});var t,r=e.md,o=e.mgf,c=r.digestLength,f=e.salt||null;if("string"==typeof f&&(f=n.util.createBuffer(f)),"saltLength"in e)t=e.saltLength;else{if(null===f)throw new Error("Salt length not specified or specific salt not given.");t=f.length()}if(null!==f&&f.length()!==t)throw new Error("Given salt length does not match length of given salt.");var h=e.prng||n.random,l={encode:function(e,l){var i,d,y=l-1,m=Math.ceil(y/8),v=e.digest().getBytes();if(m<c+t+2)throw new Error("Message is too long to encrypt.");d=null===f?h.getBytesSync(t):f.bytes();var w=new n.util.ByteBuffer;w.fillWithByte(0,8),w.putBytes(v),w.putBytes(d),r.start(),r.update(w.getBytes());var _=r.digest().getBytes(),E=new n.util.ByteBuffer;E.fillWithByte(0,m-t-c-2),E.putByte(1),E.putBytes(d);var S=E.getBytes(),C=m-c-1,A=o.generate(_,C),T="";for(i=0;i<C;i++)T+=String.fromCharCode(S.charCodeAt(i)^A.charCodeAt(i));var mask=65280>>8*m-y&255;return(T=String.fromCharCode(T.charCodeAt(0)&~mask)+T.substr(1))+_+String.fromCharCode(188)},verify:function(e,em,f){var i,h=f-1,l=Math.ceil(h/8);if(em=em.substr(-l),l<c+t+2)throw new Error("Inconsistent parameters to PSS signature verification.");if(188!==em.charCodeAt(l-1))throw new Error("Encoded message does not end in 0xBC.");var d=l-c-1,y=em.substr(0,d),m=em.substr(d,c),mask=65280>>8*l-h&255;if(0!=(y.charCodeAt(0)&mask))throw new Error("Bits beyond keysize not zero as expected.");var v=o.generate(m,d),w="";for(i=0;i<d;i++)w+=String.fromCharCode(y.charCodeAt(i)^v.charCodeAt(i));w=String.fromCharCode(w.charCodeAt(0)&~mask)+w.substr(1);var _=l-c-t-2;for(i=0;i<_;i++)if(0!==w.charCodeAt(i))throw new Error("Leftmost octets not zero as expected");if(1!==w.charCodeAt(_))throw new Error("Inconsistent PSS signature, 0x01 marker not found");var E=w.substr(-t),S=new n.util.ByteBuffer;return S.fillWithByte(0,8),S.putBytes(e),S.putBytes(E),r.start(),r.update(S.getBytes()),m===r.digest().getBytes()}};return l}},,function(e,t,r){"use strict";var n={name:"ClientOnly",functional:!0,props:{placeholder:String,placeholderTag:{type:String,default:"div"}},render:function(e,t){var r=t.parent,n=t.slots,o=t.props,c=n(),f=c.default;void 0===f&&(f=[]);var h=c.placeholder;return r._isMounted?f:(r.$once("hook:mounted",(function(){r.$forceUpdate()})),o.placeholderTag&&(o.placeholder||h)?e(o.placeholderTag,{class:["client-only-placeholder"]},o.placeholder||h):f.length>0?f.map((function(){return e(!1)})):e(!1))}};e.exports=n},,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,r){var n=r(901);function o(){return(o=n(regeneratorRuntime.mark((function e(){var t,n,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(!1 in navigator)){e.next=2;break}throw new Error("serviceWorker is not supported in current browser!");case 2:return e.next=4,r.e(22).then(r.bind(null,907));case 4:return t=e.sent,n=t.Workbox,o=new n("/sw.js",{scope:"/"}),e.next=9,o.register();case 9:return e.abrupt("return",o);case 10:case"end":return e.stop()}}),e)})))).apply(this,arguments)}r(30),r(22),r(38),r(39),window.$workbox=function(){return o.apply(this,arguments)}().catch((function(e){}))},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,r){var content=r(622);
2content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[e.i,content,""]]),content.locals&&(e.exports=content.locals);(0,r(13).default)("1a25bb1a",content,!0,{sourceMap:!1})},function(e,t,r){var content=r(624);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[e.i,content,""]]),content.locals&&(e.exports=content.locals);(0,r(13).default)("1a73ea6b",content,!0,{sourceMap:!1})},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,r){"use strict";t.byteLength=function(e){var t=h(e),r=t[0],n=t[1];return 3*(r+n)/4-n},t.toByteArray=function(e){var t,i,r=h(e),n=r[0],f=r[1],l=new c(function(e,t,r){return 3*(t+r)/4-r}(0,n,f)),d=0,y=f>0?n-4:n;for(i=0;i<y;i+=4)t=o[e.charCodeAt(i)]<<18|o[e.charCodeAt(i+1)]<<12|o[e.charCodeAt(i+2)]<<6|o[e.charCodeAt(i+3)],l[d++]=t>>16&255,l[d++]=t>>8&255,l[d++]=255&t;2===f&&(t=o[e.charCodeAt(i)]<<2|o[e.charCodeAt(i+1)]>>4,l[d++]=255&t);1===f&&(t=o[e.charCodeAt(i)]<<10|o[e.charCodeAt(i+1)]<<4|o[e.charCodeAt(i+2)]>>2,l[d++]=t>>8&255,l[d++]=255&t);return l},t.fromByteArray=function(e){for(var t,r=e.length,o=r%3,c=[],f=16383,i=0,h=r-o;i<h;i+=f)c.push(l(e,i,i+f>h?h:i+f));1===o?(t=e[r-1],c.push(n[t>>2]+n[t<<4&63]+"==")):2===o&&(t=(e[r-2]<<8)+e[r-1],c.push(n[t>>10]+n[t>>4&63]+n[t<<2&63]+"="));return c.join("")};for(var n=[],o=[],c="undefined"!=typeof Uint8Array?Uint8Array:Array,code="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",i=0,f=code.length;i<f;++i)n[i]=code[i],o[code.charCodeAt(i)]=i;function h(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");return-1===r&&(r=t),[r,r===t?0:4-r%4]}function l(e,t,r){for(var o,c,output=[],i=t;i<r;i+=3)o=(e[i]<<16&16711680)+(e[i+1]<<8&65280)+(255&e[i+2]),output.push(n[(c=o)>>18&63]+n[c>>12&63]+n[c>>6&63]+n[63&c]);return output.join("")}o["-".charCodeAt(0)]=62,o["_".charCodeAt(0)]=63},function(e,t){var r={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==r.call(e)}},function(e,t,r){(function(e){t.fetch=h(e.fetch)&&h(e.ReadableStream),t.writableStream=h(e.WritableStream),t.abortController=h(e.AbortController),t.blobConstructor=!1;try{new Blob([new ArrayBuffer(1)]),t.blobConstructor=!0}catch(e){}var r;function n(){if(void 0!==r)return r;if(e.XMLHttpRequest){r=new e.XMLHttpRequest;try{r.open("GET",e.XDomainRequest?"/":"https://example.com")}catch(e){r=null}}else r=null;return r}function o(e){var t=n();if(!t)return!1;try{return t.responseType=e,t.responseType===e}catch(e){}return!1}var c=void 0!==e.ArrayBuffer,f=c&&h(e.ArrayBuffer.prototype.slice);function h(e){return"function"==typeof e}t.arraybuffer=t.fetch||c&&o("arraybuffer"),t.msstream=!t.fetch&&f&&o("ms-stream"),t.mozchunkedarraybuffer=!t.fetch&&c&&o("moz-chunked-arraybuffer"),t.overrideMimeType=t.fetch||!!n()&&h(n().overrideMimeType),t.vbArray=h(e.VBArray),r=null}).call(this,r(20))},function(e,t,r){(function(e,n,o){var c=r(374),f=r(5),h=r(136),l=t.readyStates={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},d=t.IncomingMessage=function(t,r,f,l){var d=this;if(h.Readable.call(d),d._mode=f,d.headers={},d.rawHeaders=[],d.trailers={},d.rawTrailers=[],d.on("end",(function(){e.nextTick((function(){d.emit("close")}))})),"fetch"===f){if(d._fetchResponse=r,d.url=r.url,d.statusCode=r.status,d.statusMessage=r.statusText,r.headers.forEach((function(header,e){d.headers[e.toLowerCase()]=header,d.rawHeaders.push(e,header)})),c.writableStream){var y=new WritableStream({write:function(e){return new Promise((function(t,r){d._destroyed?r():d.push(new n(e))?t():d._resumeFetch=t}))},close:function(){o.clearTimeout(l),d._destroyed||d.push(null)},abort:function(e){d._destroyed||d.emit("error",e)}});try{return void r.body.pipeTo(y).catch((function(e){o.clearTimeout(l),d._destroyed||d.emit("error",e)}))}catch(e){}}var m=r.body.getReader();!function e(){m.read().then((function(t){if(!d._destroyed){if(t.done)return o.clearTimeout(l),void d.push(null);d.push(new n(t.value)),e()}})).catch((function(e){o.clearTimeout(l),d._destroyed||d.emit("error",e)}))}()}else{if(d._xhr=t,d._pos=0,d.url=t.responseURL,d.statusCode=t.status,d.statusMessage=t.statusText,t.getAllResponseHeaders().split(/\r?\n/).forEac
vendor: 8,240 bytes, line 2
2h((function(header){var e=header.match(/^([^:]+):\s*(.*)/);if(e){var t=e[1].toLowerCase();"set-cookie"===t?(void 0===d.headers[t]&&(d.headers[t]=[]),d.headers[t].push(e[2])):void 0!==d.headers[t]?d.headers[t]+=", "+e[2]:d.headers[t]=e[2],d.rawHeaders.push(e[1],e[2])}})),d._charset="x-user-defined",!c.overrideMimeType){var v=d.rawHeaders["mime-type"];if(v){var w=v.match(/;\s*charset=([^;])(;|$)/);w&&(d._charset=w[1].toLowerCase())}d._charset||(d._charset="utf-8")}}};f(d,h.Readable),d.prototype._read=function(){var e=this._resumeFetch;e&&(this._resumeFetch=null,e())},d.prototype._onXHRProgress=function(){var e=this,t=e._xhr,r=null;switch(e._mode){case"text:vbarray":if(t.readyState!==l.DONE)break;try{r=new o.VBArray(t.responseBody).toArray()}catch(e){}if(null!==r){e.push(new n(r));break}case"text":try{r=t.responseText}catch(t){e._mode="text:vbarray";break}if(r.length>e._pos){var c=r.substr(e._pos);if("x-user-defined"===e._charset){for(var f=new n(c.length),i=0;i<c.length;i++)f[i]=255&c.charCodeAt(i);e.push(f)}else e.push(c,e._charset);e._pos=r.length}break;case"arraybuffer":if(t.readyState!==l.DONE||!t.response)break;r=t.response,e.push(new n(new Uint8Array(r)));break;case"moz-chunked-arraybuffer":if(r=t.response,t.readyState!==l.LOADING||!r)break;e.push(new n(new Uint8Array(r)));break;case"ms-stream":if(r=t.response,t.readyState!==l.LOADING)break;var h=new o.MSStreamReader;h.onprogress=function(){h.result.byteLength>e._pos&&(e.push(new n(new Uint8Array(h.result.slice(e._pos)))),e._pos=h.result.byteLength)},h.onload=function(){e.push(null)},h.readAsArrayBuffer(r)}e._xhr.readyState===l.DONE&&"ms-stream"!==e._mode&&e.push(null)}}).call(this,r(17),r(15).Buffer,r(20))},function(e,t,r){"use strict";(function(t,n){var o=r(174);e.exports=T;var c,f=r(373);T.ReadableState=A;r(73).EventEmitter;var h=function(e,t){return e.listeners(t).length},l=r(377),d=r(239).Buffer,y=t.Uint8Array||function(){};var m=Object.create(r(137));m.inherits=r(5);var v=r(706),w=void 0;w=v&&v.debuglog?v.debuglog("stream"):function(){};var _,E=r(707),S=r(378);m.inherits(T,l);var C=["error","close","destroy","pause","resume"];function A(e,t){e=e||{};var n=t instanceof(c=c||r(88));this.objectMode=!!e.objectMode,n&&(this.objectMode=this.objectMode||!!e.readableObjectMode);var o=e.highWaterMark,f=e.readableHighWaterMark,h=this.objectMode?16:16384;this.highWaterMark=o||0===o?o:n&&(f||0===f)?f:h,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new E,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(_||(_=r(89).StringDecoder),this.decoder=new _(e.encoding),this.encoding=e.encoding)}function T(e){if(c=c||r(88),!(this instanceof T))return new T(e);this._readableState=new A(e,this),this.readable=!0,e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy)),l.call(this)}function k(e,t,r,n,o){var c,f=e._readableState;null===t?(f.reading=!1,function(e,t){if(t.ended)return;if(t.decoder){var r=t.decoder.end();r&&r.length&&(t.buffer.push(r),t.length+=t.objectMode?1:r.length)}t.ended=!0,x(e)}(e,f)):(o||(c=function(e,t){var r;n=t,d.isBuffer(n)||n instanceof y||"string"==typeof t||void 0===t||e.objectMode||(r=new TypeError("Invalid non-string/buffer chunk"));var n;return r}(f,t)),c?e.emit("error",c):f.objectMode||t&&t.length>0?("string"==typeof t||f.objectMode||Object.getPrototypeOf(t)===d.prototype||(t=function(e){return d.from(e)}(t)),n?f.endEmitted?e.emit("error",new Error("stream.unshift() after end event")):I(e,f,t,!0):f.ended?e.emit("error",new Error("stream.push() after EOF")):(f.reading=!1,f.decoder&&!r?(t=f.decoder.write(t),f.objectMode||0!==t.length?I(e,f,t,!1):N(e,f)):I(e,f,t,!1))):n||(f.reading=!1));return function(e){return!e.ended&&(e.needReadable||e.length<e.highWaterMark||0===e.length)}(f)}function I(e,t,r,n){t.flowing&&0===t.length&&!t.sync?(e.emit("data",r),e.read(0)):(t.length+=t.objectMode?1:r.length,n?t.buffer.unshift(r):t.buffer.push(r),t.needReadable&&x(e)),N(e,t)}Object.defineProperty(T.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),T.prototype.destroy=S.destroy,T.prototype._undestroy=S.undestroy,T.prototype._destroy=function(e,t){this.push(null),t(e)},T.prototype.push=function(e,t){var r,n=this._readableState;return n.objectMode?r=!0:"string"==typeof e&&((t=t||n.defaultEncoding)!==n.encoding&&(e=d.from(e,t),t=""),r=!0),k(this,e,t,!1,r)},T.prototype.unshift=function(e){return k(this,e,null,!0,!1)},T.prototype.isPaused=function(){return!1===this._readableState.flowing},T.prototype.setEncoding=function(e){return _||(_=r(89).StringDecoder),this._readableState.decoder=new _(e),this._readableState.encoding=e,this};var M=8388608;function R(e,t){return e<=0||0===t.length&&t.ended?0:t.objectMode?1:e!=e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=function(e){return e>=M?e=M:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function x(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(w("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?o.nextTick(B,e):B(e))}function B(e){w("emit readable"),e.emit("readable"),D(e)}function N(e,t){t.readingMore||(t.readingMore=!0,o.nextTick(O,e,t))}function O(e,t){for(var r=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark&&(w("maybeReadMore read 0"),e.read(0),r!==t.length);)r=t.length;t.readingMore=!1}function L(e){w("readable nexttick read 0"),e.read(0)}function P(e,t){t.reading||(w("resume read 0"),e.read(0)),t.resumeScheduled=!1,t.awaitDrain=0,e.emit("resume"),D(e),t.flowing&&!t.reading&&e.read(0)}function D(e){var t=e._readableState;for(w("flow",t.flowing);t.flowing&&null!==e.read(););}function j(e,t){return 0===t.length?null:(t.objectMode?r=t.buffer.shift():!e||e>=t.length?(r=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.head.data:t.buffer.concat(t.length),t.buffer.clear()):r=function(e,t,r){var n;e<t.head.data.length?(n=t.head.data.slice(0,e),t.head.data=t.head.data.slice(e)):n=e===t.head.data.length?t.shift():r?function(e,t){var p=t.head,r=1,n=p.data;e-=n.length;for(;p=p.next;){var o=p.data,c=e>o.length?o.length:e;if(c===o.length?n+=o:n+=o.slice(0,e),0===(e-=c)){c===o.length?(++r,p.next?t.head=p.next:t.head=t.tail=null):(t.head=p,p.data=o.slice(c));break}++r}return t.length-=r,n}(e,t):function(e,t){var r=d.allocUnsafe(e),p=t.head,n=1;p.data.copy(r),e-=p.data.length;for(;p=p.next;){var o=p.data,c=e>o.length?o.length:e;if(o.copy(r,r.length-e,0,c),0===(e-=c)){c===o.length?(++n,p.next?t.head=p.next:t.head=t.tail=null):(t.head=p,p.data=o.slice(c));break}++n}return t.length-=n,r}(e,t);return n}(e,t.buffer,t.decoder),r);var r}function U(e){var t=e._readableState;if(t.length>0)throw new Error('"endReadable()" called on non-empty stream');t.endEmitted||(t.ended=!0,o.nextTick(F,t,e))}function F(e,t){e.endEmitted||0!==e.length||(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function V(e,t){for(var i=0,r=e.length;i<r;i++)if(e[i]===t)return i;return-1}T.prototype.read=function(e){w("read",e),e=parseInt(e,10);var t=this._readableState,r=e;if(0!==e&&(t.emittedReadable=!1),0===e&&t.needReadable&&(t.length>=t.highWaterMark||t.ended))return w("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?U(this):x(this),null;if(0===(e=R(e,t))&&t.ended)return 0===t.length&&U(this),null;var n,o=t.needReadable;return w("need readable",o),(0===t.length||t.length-e<t.highWaterMark)&&w("length less than watermark",o=!0),t.ended||t.reading?w("reading or ended",o=!1):o&&(w("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=R(r,t))),null===(n=e>0?j(e,t):null)?(t.needReadable=!0,e=0):t.length-=e,0===t.length&&(t.ended||(t.needReadable=!0),r!==e&&t.ended&&U(this)),null!==n&&this.emit
vendor: 1,628 bytes, line 2
2("data",n),n},T.prototype._read=function(e){this.emit("error",new Error("_read() is not implemented"))},T.prototype.pipe=function(e,t){var r=this,c=this._readableState;switch(c.pipesCount){case 0:c.pipes=e;break;case 1:c.pipes=[c.pipes,e];break;default:c.pipes.push(e)}c.pipesCount+=1,w("pipe count=%d opts=%j",c.pipesCount,t);var l=(!t||!1!==t.end)&&e!==n.stdout&&e!==n.stderr?y:T;function d(t,n){w("onunpipe"),t===r&&n&&!1===n.hasUnpiped&&(n.hasUnpiped=!0,w("cleanup"),e.removeListener("close",C),e.removeListener("finish",A),e.removeListener("drain",m),e.removeListener("error",S),e.removeListener("unpipe",d),r.removeListener("end",y),r.removeListener("end",T),r.removeListener("data",E),v=!0,!c.awaitDrain||e._writableState&&!e._writableState.needDrain||m())}function y(){w("onend"),e.end()}c.endEmitted?o.nextTick(l):r.once("end",l),e.on("unpipe",d);var m=function(e){return function(){var t=e._readableState;w("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&h(e,"data")&&(t.flowing=!0,D(e))}}(r);e.on("drain",m);var v=!1;var _=!1;function E(t){w("ondata"),_=!1,!1!==e.write(t)||_||((1===c.pipesCount&&c.pipes===e||c.pipesCount>1&&-1!==V(c.pipes,e))&&!v&&(w("false write response, pause",r._readableState.awaitDrain),r._readableState.awaitDrain++,_=!0),r.pause())}function S(t){w("onerror",t),T(),e.removeListener("error",S),0===h(e,"error")&&e.emit("error",t)}function C(){e.removeListener("finish",A),T()}function A(){w("onfinish"),e.removeListener("close",C),T()}function T(){w("unpipe"),r.unpipe(e)}return r.on("data",E),function(e,t,r){if("function"==typeof e.prependListener)return e.prepe
vendor: 5,341 bytes, line 2
2ndListener(t,r);e._events&&e._events[t]?f(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]:e.on(t,r)}(e,"error",S),e.once("close",C),e.once("finish",A),e.emit("pipe",r),c.flowing||(w("pipe resume"),r.resume()),e},T.prototype.unpipe=function(e){var t=this._readableState,r={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,r)),this;if(!e){var n=t.pipes,o=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var i=0;i<o;i++)n[i].emit("unpipe",this,r);return this}var c=V(t.pipes,e);return-1===c||(t.pipes.splice(c,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,r)),this},T.prototype.on=function(e,t){var r=l.prototype.on.call(this,e,t);if("data"===e)!1!==this._readableState.flowing&&this.resume();else if("readable"===e){var n=this._readableState;n.endEmitted||n.readableListening||(n.readableListening=n.needReadable=!0,n.emittedReadable=!1,n.reading?n.length&&x(this):o.nextTick(L,this))}return r},T.prototype.addListener=T.prototype.on,T.prototype.resume=function(){var e=this._readableState;return e.flowing||(w("resume"),e.flowing=!0,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,o.nextTick(P,e,t))}(this,e)),this},T.prototype.pause=function(){return w("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(w("pause"),this._readableState.flowing=!1,this.emit("pause")),this},T.prototype.wrap=function(e){var t=this,r=this._readableState,n=!1;for(var i in e.on("end",(function(){if(w("wrapped end"),r.decoder&&!r.ended){var e=r.decoder.end();e&&e.length&&t.push(e)}t.push(null)})),e.on("data",(function(o){(w("wrapped data"),r.decoder&&(o=r.decoder.write(o)),r.objectMode&&null==o)||(r.objectMode||o&&o.length)&&(t.push(o)||(n=!0,e.pause()))})),e)void 0===this[i]&&"function"==typeof e[i]&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));for(var o=0;o<C.length;o++)e.on(C[o],this.emit.bind(this,C[o]));return this._read=function(t){w("wrapped _read",t),n&&(n=!1,e.resume())},this},Object.defineProperty(T.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),T._fromList=j}).call(this,r(20),r(17))},function(e,t,r){e.exports=r(73).EventEmitter},function(e,t,r){"use strict";var n=r(174);function o(e,t){e.emit("error",t)}e.exports={destroy:function(e,t){var r=this,c=this._readableState&&this._readableState.destroyed,f=this._writableState&&this._writableState.destroyed;return c||f?(t?t(e):!e||this._writableState&&this._writableState.errorEmitted||n.nextTick(o,this,e),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,(function(e){!t&&e?(n.nextTick(o,r,e),r._writableState&&(r._writableState.errorEmitted=!0)):t&&t(e)})),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}}},function(e,t,r){"use strict";e.exports=f;var n=r(88),o=Object.create(r(137));function c(e,data){var t=this._transformState;t.transforming=!1;var r=t.writecb;if(!r)return this.emit("error",new Error("write callback called multiple times"));t.writechunk=null,t.writecb=null,null!=data&&this.push(data),r(e);var n=this._readableState;n.reading=!1,(n.needReadable||n.length<n.highWaterMark)&&this._read(n.highWaterMark)}function f(e){if(!(this instanceof f))return new f(e);n.call(this,e),this._transformState={afterTransform:c.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"==typeof e.transform&&(this._transform=e.transform),"function"==typeof e.flush&&(this._flush=e.flush)),this.on("prefinish",h)}function h(){var e=this;"function"==typeof this._flush?this._flush((function(t,data){l(e,t,data)})):l(this,null,null)}function l(e,t,data){if(t)return e.emit("error",t);if(null!=data&&e.push(data),e._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(e._transformState.transforming)throw new Error("Calling transform done when still transforming");return e.push(null)}o.inherits=r(5),o.inherits(f,n),f.prototype.push=function(e,t){return this._transformState.needTransform=!1,n.prototype.push.call(this,e,t)},f.prototype._transform=function(e,t,r){throw new Error("_transform() is not implemented")},f.prototype._write=function(e,t,r){var n=this._transformState;if(n.writecb=r,n.writechunk=e,n.writeencoding=t,!n.transforming){var o=this._readableState;(n.needTransform||o.needReadable||o.length<o.highWaterMark)&&this._read(o.highWaterMark)}},f.prototype._read=function(e){var t=this._transformState;null!==t.writechunk&&t.writecb&&!t.transforming?(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform)):t.needTransform=!0},f.prototype._destroy=function(e,t){var r=this;n.prototype._destroy.call(this,e,(function(e){t(e),r.emit("close")}))}},function(e,t,r){"use strict";
vendor: 14,197 bytes, line 2
2Object.defineProperty(t,"__esModule",{value:!0}),t.GaxiosError=void 0;class n extends Error{constructor(e,t,r){super(e),this.response=r,this.config=t,this.code=r.status.toString()}}t.GaxiosError=n},function(e,t,r){var n;!function(o){"use strict";var c,f=/^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i,h=Math.ceil,l=Math.floor,d="[BigNumber Error] ",y=d+"Number primitive has more than 15 significant digits: ",m=1e14,v=14,w=9007199254740991,_=[1,10,100,1e3,1e4,1e5,1e6,1e7,1e8,1e9,1e10,1e11,1e12,1e13],E=1e7,S=1e9;function C(e){var i=0|e;return e>0||e===i?i:i-1}function A(a){for(var s,e,i=1,t=a.length,r=a[0]+"";i<t;){for(s=a[i++]+"",e=v-s.length;e--;s="0"+s);r+=s}for(t=r.length;48===r.charCodeAt(--t););return r.slice(0,t+1||1)}function T(e,t){var a,b,r=e.c,n=t.c,i=e.s,o=t.s,c=e.e,f=t.e;if(!i||!o)return null;if(a=r&&!r[0],b=n&&!n[0],a||b)return a?b?0:-o:i;if(i!=o)return i;if(a=i<0,b=c==f,!r||!n)return b?0:!r^a?1:-1;if(!b)return c>f^a?1:-1;for(o=(c=r.length)<(f=n.length)?c:f,i=0;i<o;i++)if(r[i]!=n[i])return r[i]>n[i]^a?1:-1;return c==f?0:c>f^a?1:-1}function k(e,t,r,n){if(e<t||e>r||e!==l(e))throw Error(d+(n||"Argument")+("number"==typeof e?e<t||e>r?" out of range: ":" not an integer: ":" not a primitive number: ")+String(e))}function I(e){var t=e.c.length-1;return C(e.e/v)==t&&e.c[t]%2!=0}function M(e,t){return(e.length>1?e.charAt(0)+"."+e.slice(1):e)+(t<0?"e":"e+")+t}function R(e,t,r){var n,o;if(t<0){for(o=r+".";++t;o+=r);e=o+e}else if(++t>(n=e.length)){for(o=r,t-=n;--t;o+=r);e+=o}else t<n&&(e=e.slice(0,t)+"."+e.slice(t));return e}c=function e(t){var div,r,n,o,c,x,B,N,O,L,P=J.prototype={constructor:J,toString:null,valueOf:null},D=new J(1),j=20,U=4,F=-7,V=21,K=-1e7,z=1e7,H=!1,G=1,$=0,W={prefix:"",groupSize:3,secondaryGroupSize:0,groupSeparator:",",decimalSeparator:".",fractionGroupSize:0,fractionGroupSeparator:"Â ",suffix:""},Y="0123456789abcdefghijklmnopqrstuvwxyz",X=!0;function J(e,b){var t,o,c,h,i,d,m,_,E=this;if(!(E instanceof J))return new J(e,b);if(null==b){if(e&&!0===e._isBigNumber)return E.s=e.s,void(!e.c||e.e>z?E.c=E.e=null:e.e<K?E.c=[E.e=0]:(E.e=e.e,E.c=e.c.slice()));if((d="number"==typeof e)&&0*e==0){if(E.s=1/e<0?(e=-e,-1):1,e===~~e){for(h=0,i=e;i>=10;i/=10,h++);return void(h>z?E.c=E.e=null:(E.e=h,E.c=[e]))}_=String(e)}else{if(!f.test(_=String(e)))return n(E,_,d);E.s=45==_.charCodeAt(0)?(_=_.slice(1),-1):1}(h=_.indexOf("."))>-1&&(_=_.replace(".","")),(i=_.search(/e/i))>0?(h<0&&(h=i),h+=+_.slice(i+1),_=_.substring(0,i)):h<0&&(h=_.length)}else{if(k(b,2,Y.length,"Base"),10==b&&X)return te(E=new J(e),j+E.e+1,U);if(_=String(e),d="number"==typeof e){if(0*e!=0)return n(E,_,d,b);if(E.s=1/e<0?(_=_.slice(1),-1):1,J.DEBUG&&_.replace(/^0\.0*|\./,"").length>15)throw Error(y+e)}else E.s=45===_.charCodeAt(0)?(_=_.slice(1),-1):1;for(t=Y.slice(0,b),h=i=0,m=_.length;i<m;i++)if(t.indexOf(o=_.charAt(i))<0){if("."==o){if(i>h){h=m;continue}}else if(!c&&(_==_.toUpperCase()&&(_=_.toLowerCase())||_==_.toLowerCase()&&(_=_.toUpperCase()))){c=!0,i=-1,h=0;continue}return n(E,String(e),d,b)}d=!1,(h=(_=r(_,b,10,E.s)).indexOf("."))>-1?_=_.replace(".",""):h=_.length}for(i=0;48===_.charCodeAt(i);i++);for(m=_.length;48===_.charCodeAt(--m););if(_=_.slice(i,++m)){if(m-=i,d&&J.DEBUG&&m>15&&(e>w||e!==l(e)))throw Error(y+E.s*e);if((h=h-i-1)>z)E.c=E.e=null;else if(h<K)E.c=[E.e=0];else{if(E.e=h,E.c=[],i=(h+1)%v,h<0&&(i+=v),i<m){for(i&&E.c.push(+_.slice(0,i)),m-=v;i<m;)E.c.push(+_.slice(i,i+=v));i=v-(_=_.slice(i)).length}else i-=m;for(;i--;_+="0");E.c.push(+_)}}else E.c=[E.e=0]}function Q(e,i,t,r){var n,o,c,f,h;if(null==t?t=U:k(t,0,8),!e.c)return e.toString();if(n=e.c[0],c=e.e,null==i)h=A(e.c),h=1==r||2==r&&(c<=F||c>=V)?M(h,c):R(h,c,"0");else if(o=(e=te(new J(e),i,t)).e,f=(h=A(e.c)).length,1==r||2==r&&(i<=o||o<=F)){for(;f<i;h+="0",f++);h=M(h,o)}else if(i-=c,h=R(h,o,"0"),o+1>f){if(--i>0)for(h+=".";i--;h+="0");}else if((i+=o-f)>0)for(o+1==f&&(h+=".");i--;h+="0");return e.s<0&&n?"-"+h:h}function Z(e,t){for(var r,i=1,n=new J(e[0]);i<e.length;i++){if(!(r=new J(e[i])).s){n=r;break}t.call(n,r)&&(n=r)}return n}function ee(e,t,r){for(var i=1,n=t.length;!t[--n];t.pop());for(n=t[0];n>=10;n/=10,i++);return(r=i+r*v-1)>z?e.c=e.e=null:r<K?e.c=[e.e=0]:(e.e=r,e.c=t),e}function te(e,t,r,n){var o,i,c,f,d,y,w,E=e.c,S=_;if(E){e:{for(o=1,f=E[0];f>=10;f/=10,o++);if((i=t-o)<0)i+=v,c=t,w=(d=E[y=0])/S[o-c-1]%10|0;else if((y=h((i+1)/v))>=E.length){if(!n)break e;for(;E.length<=y;E.push(0));d=w=0,o=1,c=(i%=v)-v+1}else{for(d=f=E[y],o=1;f>=10;f/=10,o++);w=(c=(i%=v)-v+o)<0?0:d/S[o-c-1]%10|0}if(n=n||t<0||null!=E[y+1]||(c<0?d:d%S[o-c-1]),n=r<4?(w||n)&&(0==r||r==(e.s<0?3:2)):w>5||5==w&&(4==r||n||6==r&&(i>0?c>0?d/S[o-c]:0:E[y-1])%10&1||r==(e.s<0?8:7)),t<1||!E[0])return E.length=0,n?(t-=e.e+1,E[0]=S[(v-t%v)%v],e.e=-t||0):E[0]=e.e=0,e;if(0==i?(E.length=y,f=1,y--):(E.length=y+1,f=S[v-i],E[y]=c>0?l(d/S[o-c]%S[c])*f:0),n)for(;;){if(0==y){for(i=1,c=E[0];c>=10;c/=10,i++);for(c=E[0]+=f,f=1;c>=10;c/=10,f++);i!=f&&(e.e++,E[0]==m&&(E[0]=1));break}if(E[y]+=f,E[y]!=m)break;E[y--]=0,f=1}for(i=E.length;0===E[--i];E.pop());}e.e>z?e.c=e.e=null:e.e<K&&(e.c=[e.e=0])}return e}function re(e){var t,r=e.e;return null===r?e.toString():(t=A(e.c),t=r<=F||r>=V?M(t,r):R(t,r,"0"),e.s<0?"-"+t:t)}return J.clone=e,J.ROUND_UP=0,J.ROUND_DOWN=1,J.ROUND_CEIL=2,J.ROUND_FLOOR=3,J.ROUND_HALF_UP=4,J.ROUND_HALF_DOWN=5,J.ROUND_HALF_EVEN=6,J.ROUND_HALF_CEIL=7,J.ROUND_HALF_FLOOR=8,J.EUCLID=9,J.config=J.set=function(e){var p,t;if(null!=e){if("object"!=typeof e)throw Error(d+"Object expected: "+e);if(e.hasOwnProperty(p="DECIMAL_PLACES")&&(k(t=e[p],0,S,p),j=t),e.hasOwnProperty(p="ROUNDING_MODE")&&(k(t=e[p],0,8,p),U=t),e.hasOwnProperty(p="EXPONENTIAL_AT")&&((t=e[p])&&t.pop?(k(t[0],-S,0,p),k(t[1],0,S,p),F=t[0],V=t[1]):(k(t,-S,S,p),F=-(V=t<0?-t:t))),e.hasOwnProperty(p="RANGE"))if((t=e[p])&&t.pop)k(t[0],-S,-1,p),k(t[1],1,S,p),K=t[0],z=t[1];else{if(k(t,-S,S,p),!t)throw Error(d+p+" cannot be zero: "+t);K=-(z=t<0?-t:t)}if(e.hasOwnProperty(p="CRYPTO")){if((t=e[p])!==!!t)throw Error(d+p+" not true or false: "+t);if(t){if("undefined"==typeof crypto||!crypto||!crypto.getRandomValues&&!crypto.randomBytes)throw H=!t,Error(d+"crypto unavailable");H=t}else H=t}if(e.hasOwnProperty(p="MODULO_MODE")&&(k(t=e[p],0,9,p),G=t),e.hasOwnProperty(p="POW_PRECISION")&&(k(t=e[p],0,S,p),$=t),e.hasOwnProperty(p="FORMAT")){if("object"!=typeof(t=e[p]))throw Error(d+p+" not an object: "+t);W=t}if(e.hasOwnProperty(p="ALPHABET")){if("string"!=typeof(t=e[p])||/^.?$|[+\-.\s]|(.).*\1/.test(t))throw Error(d+p+" invalid: "+t);X="0123456789"==t.slice(0,10),Y=t}}return{DECIMAL_PLACES:j,ROUNDING_MODE:U,EXPONENTIAL_AT:[F,V],RANGE:[K,z],CRYPTO:H,MODULO_MODE:G,POW_PRECISION:$,FORMAT:W,ALPHABET:Y}},J.isBigNumber=function(e){if(!e||!0!==e._isBigNumber)return!1;if(!J.DEBUG)return!0;var i,t,r=e.c,n=e.e,s=e.s;e:if("[object Array]"=={}.toString.call(r)){if((1===s||-1===s)&&n>=-S&&n<=S&&n===l(n)){if(0===r[0]){if(0===n&&1===r.length)return!0;break e}if((i=(n+1)%v)<1&&(i+=v),String(r[0]).length==i){for(i=0;i<r.length;i++)if((t=r[i])<0||t>=m||t!==l(t))break e;if(0!==t)return!0}}}else if(null===r&&null===n&&(null===s||1===s||-1===s))return!0;throw Error(d+"Invalid BigNumber: "+e)},J.maximum=J.max=function(){return Z(arguments,P.lt)},J.minimum=J.min=function(){return Z(arguments,P.gt)},J.random=(o=9007199254740992,c=Math.random()*o&2097151?function(){return l(Math.random()*o)}:function(){return 8388608*(1073741824*Math.random()|0)+(8388608*Math.random()|0)},function(e){var a,b,t,r,n,i=0,o=[],f=new J(D);if(null==e?e=j:k(e,0,S),r=h(e/v),H)if(crypto.getRandomValues){for(a=crypto.getRandomValues(new Uint32Array(r*=2));i<r;)(n=131072*a[i]+(a[i+1]>>>11))>=9e15?(b=crypto.getRandomValues(new Uint32Array(2)),a[i]=b[0],a[i+1]=b[1]):(o.push(n%1e14),i+=2);i=r/2}else{if(!crypto.randomBytes)throw H=!1,Error(d+"crypto unavailable");for(a=crypto.randomBytes(r*=7);i<r;)(n=281474976710656*(31&a[i])+1099511627776*a[i+1]+4294967296*a[i+2]+16777216*a[i+3]+(a[i+4]<<16)+(a[i+5]<<8)+a[i+6])>=9e15?crypto.randomBytes(7).copy(a,i):(o.push(n%1e14),i+=7);i=r/7}if(!H)for(;i<r;)(n=c())<9e15&&(o[i++]=n%1e14);for(r=o[--i],e%=v,r&&e&&(n=_[v-e],o[i]=l(r/n)*n);0===o[i];o.pop(),i--);if(i<0)o=[t=0];else{for(t=-1;0===o[0];o.splice(0,1),t-=v);for(i=1,n=o[0];n>=10;n/=10,i++);i<v&&(t-=v-i)}return f.e=t,f.c=o,f}),J.sum=function(){for(var i=1,e=arguments,t=new J(e[0]);i<e.length;)t=t.plus(e[i++]);return t},r=function(){var e="0123456789";function t(e,t,r,n){for(var o,c,f=[0],i=0,h=e.length;i<h;){for(c=f.length;c--;f[c]*=t);for(f[0]+=n.indexOf(e.charAt(i++)),o=0;o<f.length;o++)f[o]>r-1&&(null==f[o+1]&&(f[o+1]=0),f[o+1]+=f[o]/r|0,f[o]%=r)}return f.reverse()}return function(r,n,o,c,f){var h,l,d,y,m,v,w,_,i=r.indexOf("."),E=j,S=U;for(i>=0&&(y=$,$=0,r=r.replace(".",""),v=(_=new J(n)).pow(r.length-i),$=y,_.c=t(R(A(v.c),v.e,"0"),10,o,e),_.e=_.c.length),d=y=(w=t(r,n,o,f?(h=Y,e):(h=e,Y))).length;0==w[--y];w.pop());if(!w[0])return h.charAt(0);if(i<0?--d:(v.c=w,v.e=d,v.s=c,w=(v=div(v,_,E,S,o)).c,m=v.r,d=v.e),i=w[l=d+E+1],y=o/2,m=m||l<0||null!=w[l+1],m=S<4?(null!=i||m)&&(0==S||S==(v.s<0?3:2)):i>y||i==y&&(4==S||m||6==S&&1&w[l-1]||S==(v.s<0?8:7)),l<1||!w[0])r=m?R(h.charAt(1),-E,h.charAt(0)):h.charAt(0);else{if(w.length=l,m)for(--o;++w[--l]>o;)w[l]=0,l||(++d,w=[1].concat(w));for(y=w.length;!w[--y];);for(i=0,r="";i<=y;r+=h.charAt(w[i++]));r=R(r,d,h.charAt(0))}return r}}(),div=function(){function e(e,t,base){var r,n,o,c,f=0,i=e.length,h=t%E,l=t/E|0;for(e=e.slice();i--;)f=((n=h*(o=e[i]%E)+(r=l*o+(c=e[i]/E|0)*h)%E*E+f)/base|0)+(r/E|0)+l*c,e[i]=n%base;return f&&(e=[f].concat(e)),e}function t(a,b,e,t){var i,r;if(e!=t)r=e>t?1:-1;else for(i=r=0;i<e;i++)if(a[i]!=b[i]){r=a[i]>b[i]?1:-1;break}return r}function r(a,b,e,base){for(var i=0;e--;)a[e]-=i,i=a[e]<b[e]?1:0,a[e]=i*base+a[e]-b[e];for(;!a[0]&&a.length>1;a.splice(0,1));}return function(n,o,c,f,base){var h,d,i,y,w,_,E,q,S,A,T,k,I,M,R,x,B,s=n.s==o.s?1:-1,N=n.c,O=o.c;if(!(N&&N[0]&&O&&O[0]))return new J(n.s&&o.s&&(N?!O||N[0]!=O[0]:O)?N&&0==N[0]||!O?0*s:s/0:NaN);for(S=(q=new J(s)).c=[],s=c+(d=n.e-o.e)+1,base||(base=m,d=C(n.e/v)-C(o.e/v),s=s/v|0),i=0;O[i]==(N[i]||0);i++);if(O[i]>(N[i]||0)&&d--,s<0)S.push(1),y=!0;else{for(M=N.length,x=O.length,i=0,s+=2,(w=l(base/(O[0]+1)))>1&&(O=e(O,w,base),N=e(N,w,base),x=O.length,M=N.length),I=x,T=(A=N.slice(0,x)).length;T<x;A[T++]=0);B=O.slice(),B=[0].concat(B),R=O[0],O[1]>=base/2&&R++;do{if(w=0,(h=t(O,A,x,T))<0){if(k=A[0],x!=T&&(k=k*base+(A[1]||0)),(w=l(k/R))>1)for(w>=base&&(w=base-1),E=(_=e(O,w,base)).length,T=A.length;1==t(_,A,E,T);)w--,r(_,x<E?B:O,E,base),E=_.length,h=1;else 0==w&&(h=w=1),E=(_=O.slice()).length;if(E<T&&(_=[0].concat(_)),r(A,_,T,base),T=A.length,-1==h)for(;t(O,A,x,T)<1;)w++,r(A,x<T?B:O,T,base),T=A.length}else 0===h&&(w++,A=[0]);S[i++]=w,A[0]?A[T++]=N[I]||0:(A=[N[I]],T=1)}while((I++<M||null!=A[0])&&s--);y=null!=A[0],S[0]||S.splice(0,1)}if(base==m){for(i=1,s=S[0];s>=10;s/=10,i++);te(q,c+(q.e=i+d*v-1)+1,f,y)}else q.e=d,q.r=+y;return q}}(),x=/^(-?)0([xbo])(?=\w[\w.]*$)/i,B=/^([^.]+)\.$/,N=/^\.([^.]+)$/,O=/^-?(Infinity|NaN)$/,L=/^\s*\+(?=[\w.])|^\s+|\s+$/g,n=function(e,t,r,b){var base,s=r?t:t.replace(L,"");if(O.test(s))e.s=isNaN(s)?null:s<0?-1:1;else{if(!r&&(s=s.replace(x,(function(e,t,r){return base="x"==(r=r.toLowerCase())?16:"b"==r?2:8,b&&b!=base?e:t})),b&&(base=b,s=s.replace(B,"$1").replace(N,"0.$1")),t!=s))return new J(s,base);if(J.DEBUG)throw Error(d+"Not a"+(b?" base "+b:"")+" number: "+t);e.s=null}e.c=e.e=null},P.absoluteValue=P.abs=function(){var e=new J(this);return e.s<0&&(e.s=1),e},P.comparedTo=function(e,b){return T(this,new J(e,b))},P.decimalPlaces=P.dp=function(e,t){var r,n,o,c=this;if(null!=e)return k(e,0,S),null==t?t=U:k(t,0,8),te(new J(c),e+c.e+1,t);if(!(r=c.c))return null;if(n=((o=r.length-1)-C(this.e/v))*v,o=r[o])for(;o%10==0;o/=10,n--);return n<0&&(n=0),n},P.dividedBy=P.div=function(e,b){return div(this,new J(e,b),j,U)},P.dividedToIntegerBy=P.idiv=function(e,b){return div(this,new J(e,b),0,1)},P.exponentiatedBy=P.pow=function(e,t){var r,n,i,o,c,f,y,m,w=this;if((e=new J(e)).c&&!e.isInteger())throw Error(d+"Exponent not an integer: "+re(e));if(null!=t&&(t=new J(t)),c=e.e>14,!w.c||!w.c[0]||1==w.c[0]&&!w.e&&1==w.c.length||!e.c||!e.c[0])return m=new J(Math.pow(+re(w),c?2-I(e):+re(e))),t?m.mod(t):m;if(f=e.s<0,t){if(t.c?!t.c[0]:!t.s)return new J(NaN);(n=!f&&w.isInteger()&&t.isInteger())&&(w=w.mod(t))}else{if(e.e>9&&(w.e>0||w.e<-1||(0==w.e?w.c[0]>1||c&&w.c[1]>=24e7:w.c[0]<8e13||c&&w.c[0]<=9999975e7)))return o=w.s<0&&I(e)?-0:0,w.e>-1&&(o=1/o),new J(f?1/o:o);$&&(o=h($/v+2))}for(c?(r=new J(.5),f&&(e.s=1),y=I(e)):y=(i=Math.abs(+re(e)))%2,m=new J(D);;){if(y){if(!(m=m.times(w)).c)break;o?m.c.length>o&&(m.c.length=o):n&&(m=m.mod(t))}if(i){if(0===(i=l(i/2)))break;y=i%2}else if(te(e=e.times(r),e.e+1,1),e.e>14)y=I(e);else{if(0===(i=+re(e)))break;y=i%2}w=w.times(w),o?w.c&&w.c.length>o&&(w.c.length=o):n&&(w=w.mod(t))}return n?m:(f&&(m=D.div(m)),t?m.mod(t):o?te(m,$,U,undefined):m)},P.integerValue=function(e){var t=new J(this);return null==e?e=U:k(e,0,8),te(t,t.e+1,e)},P.isEqualTo=P.eq=function(e,b){return 0===T(this,new J(e,b))},P.isFinite=function(){return!!this.c},P.isGreaterThan=P.gt=function(e,b){return T(this,new J(e,b))>0},P.isGreaterThanOrEqualTo=P.gte=function(e,b){return 1===(b=T(this,new J(e,b)))||0===b},P.isInteger=function(){return!!this.c&&C(this.e/v)>this.c.length-2},P.isLessThan=P.lt=function(e,b){return T(this,new J(e,b))<0},P.isLessThanOrEqualTo=P.lte=function(e,b){return-1===(b=T(this,new J(e,b)))||0===b},P.isNaN=function(){return!this.s},P.isNegative=function(){return this.s<0},P.isPositive=function(){return this.s>0},P.isZero=function(){return!!this.c&&0==this.c[0]},P.minus=function(e,b){var i,t,r,n,o=this,a=o.s;if(b=(e=new J(e,b)).s,!a||!b)return new J(NaN);if(a!=b)return e.s=-b,o.plus(e);var c=o.e/v,f=e.e/v,h=o.c,l=e.c;if(!c||!f){if(!h||!l)return h?(e.s=-b,e):new J(l?o:NaN);if(!h[0]||!l[0])return l[0]?(e.s=-b,e):new J(h[0]?o:3==U?-0:0)}if(c=C(c),f=C(f),h=h.slice(),a=c-f){for((n=a<0)?(a=-a,r=h):(f=c,r=l),r.reverse(),b=a;b--;r.push(0));r.reverse()}else for(t=(n=(a=h.length)<(b=l.length))?a:b,a=b=0;b<t;b++)if(h[b]!=l[b]){n=h[b]<l[b];break}if(n&&(r=h,h=l,l=r,e.s=-e.s),(b=(t=l.length)-(i=h.length))>0)for(;b--;h[i++]=0);for(b=m-1;t>a;){if(h[--t]<l[t]){for(i=t;
vendor: 5,289 bytes, line 2
2i&&!h[--i];h[i]=b);--h[i],h[t]+=m}h[t]-=l[t]}for(;0==h[0];h.splice(0,1),--f);return h[0]?ee(e,h,f):(e.s=3==U?-1:1,e.c=[e.e=0],e)},P.modulo=P.mod=function(e,b){var q,s,t=this;return e=new J(e,b),!t.c||!e.s||e.c&&!e.c[0]?new J(NaN):!e.c||t.c&&!t.c[0]?new J(t):(9==G?(s=e.s,e.s=1,q=div(t,e,0,3),e.s=s,q.s*=s):q=div(t,e,0,G),(e=t.minus(q.times(e))).c[0]||1!=G||(e.s=t.s),e)},P.multipliedBy=P.times=function(e,b){var t,r,i,n,o,c,f,h,l,d,y,w,_,base,S,A=this,T=A.c,k=(e=new J(e,b)).c;if(!(T&&k&&T[0]&&k[0]))return!A.s||!e.s||T&&!T[0]&&!k||k&&!k[0]&&!T?e.c=e.e=e.s=null:(e.s*=A.s,T&&k?(e.c=[0],e.e=0):e.c=e.e=null),e;for(r=C(A.e/v)+C(e.e/v),e.s*=A.s,(f=T.length)<(d=k.length)&&(_=T,T=k,k=_,i=f,f=d,d=i),i=f+d,_=[];i--;_.push(0));for(base=m,S=E,i=d;--i>=0;){for(t=0,y=k[i]%S,w=k[i]/S|0,n=i+(o=f);n>i;)t=((h=y*(h=T[--o]%S)+(c=w*h+(l=T[o]/S|0)*y)%S*S+_[n]+t)/base|0)+(c/S|0)+w*l,_[n--]=h%base;_[n]=t}return t?++r:_.splice(0,1),ee(e,_,r)},P.negated=function(){var e=new J(this);return e.s=-e.s||null,e},P.plus=function(e,b){var t,r=this,a=r.s;if(b=(e=new J(e,b)).s,!a||!b)return new J(NaN);if(a!=b)return e.s=-b,r.minus(e);var n=r.e/v,o=e.e/v,c=r.c,f=e.c;if(!n||!o){if(!c||!f)return new J(a/0);if(!c[0]||!f[0])return f[0]?e:new J(c[0]?r:0*a)}if(n=C(n),o=C(o),c=c.slice(),a=n-o){for(a>0?(o=n,t=f):(a=-a,t=c),t.reverse();a--;t.push(0));t.reverse()}for((a=c.length)-(b=f.length)<0&&(t=f,f=c,c=t,b=a),a=0;b;)a=(c[--b]=c[b]+f[b]+a)/m|0,c[b]=m===c[b]?0:c[b]%m;return a&&(c=[a].concat(c),++o),ee(e,c,o)},P.precision=P.sd=function(e,t){var r,n,o,c=this;if(null!=e&&e!==!!e)return k(e,1,S),null==t?t=U:k(t,0,8),te(new J(c),e,t);if(!(r=c.c))return null;if(n=(o=r.length-1)*v+1,o=r[o]){for(;o%10==0;o/=10,n--);for(o=r[0];o>=10;o/=10,n++);}return e&&c.e+1>n&&(n=c.e+1),n},P.shiftedBy=function(e){return k(e,-9007199254740991,w),this.times("1e"+e)},P.squareRoot=P.sqrt=function(){var e,t,r,n,o,c=this,f=c.c,s=c.s,h=c.e,l=j+4,d=new J("0.5");if(1!==s||!f||!f[0])return new J(!s||s<0&&(!f||f[0])?NaN:f?c:1/0);if(0==(s=Math.sqrt(+re(c)))||s==1/0?(((t=A(f)).length+h)%2==0&&(t+="0"),s=Math.sqrt(+t),h=C((h+1)/2)-(h<0||h%2),r=new J(t=s==1/0?"5e"+h:(t=s.toExponential()).slice(0,t.indexOf("e")+1)+h)):r=new J(s+""),r.c[0])for((s=(h=r.e)+l)<3&&(s=0);;)if(o=r,r=d.times(o.plus(div(c,o,l,1))),A(o.c).slice(0,s)===(t=A(r.c)).slice(0,s)){if(r.e<h&&--s,"9999"!=(t=t.slice(s-3,s+1))&&(n||"4999"!=t)){+t&&(+t.slice(1)||"5"!=t.charAt(0))||(te(r,r.e+j+2,1),e=!r.times(r).eq(c));break}if(!n&&(te(o,o.e+j+2,0),o.times(o).eq(c))){r=o;break}l+=4,s+=4,n=1}return te(r,r.e+j+1,U,e)},P.toExponential=function(e,t){return null!=e&&(k(e,0,S),e++),Q(this,e,t,1)},P.toFixed=function(e,t){return null!=e&&(k(e,0,S),e=e+this.e+1),Q(this,e,t)},P.toFormat=function(e,t,r){var n,o=this;if(null==r)null!=e&&t&&"object"==typeof t?(r=t,t=null):e&&"object"==typeof e?(r=e,e=t=null):r=W;else if("object"!=typeof r)throw Error(d+"Argument not an object: "+r);if(n=o.toFixed(e,t),o.c){var i,c=n.split("."),f=+r.groupSize,h=+r.secondaryGroupSize,l=r.groupSeparator||"",y=c[0],m=c[1],v=o.s<0,w=v?y.slice(1):y,_=w.length;if(h&&(i=f,f=h,h=i,_-=i),f>0&&_>0){for(i=_%f||f,y=w.substr(0,i);i<_;i+=f)y+=l+w.substr(i,f);h>0&&(y+=l+w.slice(i)),v&&(y="-"+y)}n=m?y+(r.decimalSeparator||"")+((h=+r.fractionGroupSize)?m.replace(new RegExp("\\d{"+h+"}\\B","g"),"$&"+(r.fractionGroupSeparator||"")):m):y}return(r.prefix||"")+n+(r.suffix||"")},P.toFraction=function(e){var t,r,n,o,c,f,h,l,y,q,m,s,w=this,E=w.c;if(null!=e&&(!(h=new J(e)).isInteger()&&(h.c||1!==h.s)||h.lt(D)))throw Error(d+"Argument "+(h.isInteger()?"out of range: ":"not an integer: ")+re(h));if(!E)return new J(w);for(t=new J(D),y=r=new J(D),n=l=new J(D),s=A(E),c=t.e=s.length-w.e-1,t.c[0]=_[(f=c%v)<0?v+f:f],e=!e||h.comparedTo(t)>0?c>0?t:y:h,f=z,z=1/0,h=new J(s),l.c[0]=0;q=div(h,t,0,1),1!=(o=r.plus(q.times(n))).comparedTo(e);)r=n,n=o,y=l.plus(q.times(o=y)),l=o,t=h.minus(q.times(o=t)),h=o;return o=div(e.minus(r),n,0,1),l=l.plus(o.times(y)),r=r.plus(o.times(n)),l.s=y.s=w.s,m=div(y,n,c*=2,U).minus(w).abs().comparedTo(div(l,r,c,U).minus(w).abs())<1?[y,n]:[l,r],z=f,m},P.toNumber=function(){return+re(this)},P.toPrecision=function(e,t){return null!=e&&k(e,1,S),Q(this,e,t,2)},P.toString=function(b){var e,t=this,s=t.s,n=t.e;return null===n?s?(e="Infinity",s<0&&(e="-"+e)):e="NaN":(null==b?e=n<=F||n>=V?M(A(t.c),n):R(A(t.c),n,"0"):10===b&&X?e=R(A((t=te(new J(t),j+n+1,U)).c),t.e,"0"):(k(b,2,Y.length,"Base"),e=r(R(A(t.c),n,"0"),10,b,s,!0)),s<0&&t.c[0]&&(e="-"+e)),e},P.valueOf=P.toJSON=function(){return re(this)},P._isBigNumber=!0,null!=t&&J.set(t),J}(),c.default=c.BigNumber=c,void 0===(n=function(){return c}.call(t,r,t,e))||(e.exports=n)}()},function(e,t,r){(function(e){function r(e,t){for(var r=0,i=e.length-1;i>=0;i--){var n=e[i];"."===n?e.splice(i,1):".."===n?(e.splice(i,1),r++):r&&(e.splice(i,1),r--)}if(t)for(;r--;r)e.unshift("..");return e}function filter(e,t){if(e.filter)return e.filter(t);for(var r=[],i=0;i<e.length;i++)t(e[i],i,e)&&r.push(e[i]);return r}t.resolve=function(){for(var t="",n=!1,i=arguments.length-1;i>=-1&&!n;i--){var path=i>=0?arguments[i]:e.cwd();if("string"!=typeof path)throw new TypeError("Arguments to path.resolve must be strings");path&&(t=path+"/"+t,n="/"===path.charAt(0))}return(n?"/":"")+(t=r(filter(t.split("/"),(function(p){return!!p})),!n).join("/"))||"."}
2,t.normalize=function(path){var e=t.isAbsolute(path),o="/"===n(path,-1);return(path=r(filter(path.split("/"),(function(p){return!!p})),!e).join("/"))||e||(path="."),path&&o&&(path+="/"),(e?"/":"")+path},t.isAbsolute=function(path){return"/"===path.charAt(0)},t.join=function(){var e=Array.prototype.slice.call(arguments,0);return t.normalize(filter(e,(function(p,e){if("string"!=typeof p)throw new TypeError("Arguments to path.join must be strings");return p})).join("/"))},t.relative=function(e,r){function n(e){for(var t=0;t<e.length&&""===e[t];t++);for(var r=e.length-1;r>=0&&""===e[r];r--);return t>r?[]:e.slice(t,r-t+1)}e=t.resolve(e).substr(1),r=t.resolve(r).substr(1);for(var o=n(e.split("/")),c=n(r.split("/")),f=Math.min(o.length,c.length),h=f,i=0;i<f;i++)if(o[i]!==c[i]){h=i;break}var l=[];for(i=h;i<o.length;i++)l.push("..");return(l=l.concat(c.slice(h))).join("/")},t.sep="/",t.delimiter=":",t.dirname=function(path){if("string"!=typeof path&&(path+=""),0===path.length)return".";for(var code=path.charCodeAt(0),e=47===code,t=-1,r=!0,i=path.length-1;i>=1;--i)if(47===(code=path.charCodeAt(i))){if(!r){t=i;break}}else r=!1;return-1===t?e?"/":".":e&&1===t?"/":path.slice(0,t)},t.basename=function(path,e){var t=function(path){"string"!=typeof path&&(path+="");var i,e=0,t=-1,r=!0;for(i=path.length-1;i>=0;--i)if(47===path.charCodeAt(i)){if(!r){e=i+1;break}}else-1===t&&(r=!1,t=i+1);return-1===t?"":path.slice(e,t)}(path);return e&&t.substr(-1*e.length)===e&&(t=t.substr(0,t.length-e.length)),t},t.extname=function(path){"string"!=typeof path&&(path+="");for(var e=-1,t=0,r=-1,n=!0,o=0,i=path.length-1;i>=0;--i){var code=path.charCodeAt(i);if(47!==code)-1===r&&(n=!1,r=i+1),46===code?-1===e?e=i:1!==o&&(o=1):-1!==e&&(o=-1);else if(!n){t=i+1;break}}return-1===e||-1===r||0===o||1===o&&e===r-1&&e===t+1?"":path.slice(e,r)};var n="b"==="ab".substr(-1)?function(e,t,r){return e.substr(t,r)}:function(e,t,r){return t<0&&(t=e.length+t),e.substr(t,r)}}).call(this,r(17))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hasBrowserCrypto=t.createCrypto=void 0;const n=r(735),o=r(737);function c(){return"undefined"!=typeof window&&void 0!==window.crypto&&void 0!==window.crypto.subtle}t.createCrypto=function(){return c()?new n.BrowserCrypto:new o.NodeCrypto},t.hasBrowserCrypto=c},function(e,t,r){"use strict";t.randomBytes=t.rng=t.pseudoRandomBytes=t.prng=r(109),t.createHash=t.Hash=r(138),t.createHmac=t.Hmac=r(394);var n=r(755),o=Object.keys(n),c=["sha1","sha224","sha256","sha384","sha512","md5","rmd160"].concat(o);t.getHashes=function(){return c};var p=r(397);t.pbkdf2=p.pbkdf2,t.pbkdf2Sync=p.pbkdf2Sync;var f=r(757);t.Cipher=f.Cipher,t.createCipher=f.createCipher,t.Cipheriv=f.Cipheriv,t.createCipheriv=f.createCipheriv,t.Decipher=f.Decipher,t.createDecipher=f.createDecipher,t.Decipheriv=f.Decipheriv,t.createDecipheriv=f.createDecipheriv,t.getCiphers=f.getCiphers,t.listCiphers=f.listCiphers;var h=r(772);t.DiffieHellmanGroup=h.DiffieHellmanGroup,t.createDiffieHellmanGroup=h.createDiffieHellmanGroup,t.getDiffieHellman=h.getDiffieHellman,t.createDiffieHellman=h.createDiffieHellman,t.DiffieHellman=h.DiffieHellman;var l=r(777);t.createSign=l.createSign,t.Sign=l.Sign,t.createVerify=l.createVerify,t.Verify=l.Verify,t.createECDH=r(818);var d=r(819);t.publicEncrypt=d.publicEncrypt,t.privateEncrypt=d.privateEncrypt,t.publicDecrypt=d.publicDecrypt,t.privateDecrypt=d.privateDecrypt;var y=r(822);t.randomFill=y.randomFill,t.randomFillSync=y.randomFillSync,t.createCredentials=function(){throw new Error(["sorry, createCredentials is not implemented yet","we accept pull requests","https://github.com/crypto-browserify/crypto-browserify"].join("\n"))},t.constants={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,ALPN_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}},function(e,t,r){"use strict";var n=r(8).Buffer,o=r(738).Transform;function c(e){o.call(this),this._block=n.allocUnsafe(e),this._blockSize=e,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}r(5)(c,o),c.prototype._transform=function(e,t,r){var n=null;try{this.update(e,t)}catch(e){n=e}r(n)},c.prototype._flush=function(e){var t=null;try{this.push(this.digest())}catch(e){t=e}e(t)},c.prototype.update=function(data,e){if(function(e,t){if(!n.isBuffer(e)&&"string"!=typeof e)throw new TypeError(t+" must be a string or a buffer")}(data,"Data"),this._finalized)throw new Error("Digest already called");n.isBuffer(data)||(data=n.from(data,e));for(var t=this._block,r=0;
vendor: 4,336 bytes, line 2
2this._blockOffset+data.length-r>=this._blockSize;){for(var i=this._blockOffset;i<this._blockSize;)t[i++]=data[r++];this._update(),this._blockOffset=0}for(;r<data.length;)t[this._blockOffset++]=data[r++];for(var o=0,c=8*data.length;c>0;++o)this._length[o]+=c,(c=this._length[o]/4294967296|0)>0&&(this._length[o]-=4294967296*c);return this},c.prototype._update=function(){throw new Error("_update is not implemented")},c.prototype.digest=function(e){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var t=this._digest();void 0!==e&&(t=t.toString(e)),this._block.fill(0),this._blockOffset=0;for(var i=0;i<4;++i)this._length[i]=0;return t},c.prototype._digest=function(){throw new Error("_digest is not implemented")},e.exports=c},function(e,t,r){"use strict";(function(t,n){var o;e.exports=B,B.ReadableState=x;r(73).EventEmitter;var c=function(e,t){return e.listeners(t).length},f=r(387),h=r(15).Buffer,l=t.Uint8Array||function(){};var d,y=r(739);d=y&&y.debuglog?y.debuglog("stream"):function(){};var m,v,w,_=r(740),E=r(388),S=r(389).getHighWaterMark,C=r(110).codes,A=C.ERR_INVALID_ARG_TYPE,T=C.ERR_STREAM_PUSH_AFTER_EOF,k=C.ERR_METHOD_NOT_IMPLEMENTED,I=C.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;r(5)(B,f);var M=E.errorOrDestroy,R=["error","close","destroy","pause","resume"];function x(e,t,n){o=o||r(111),e=e||{},"boolean"!=typeof n&&(n=t instanceof o),this.objectMode=!!e.objectMode,n&&(this.objectMode=this.objectMode||!!e.readableObjectMode),this.highWaterMark=S(this,e,"readableHighWaterMark",n),this.buffer=new _,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=!1!==e.emitClose,this.autoDestroy=!!e.autoDestroy,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(m||(m=r(89).StringDecoder),this.decoder=new m(e.encoding),this.encoding=e.encoding)}function B(e){if(o=o||r(111),!(this instanceof B))return new B(e);var t=this instanceof o;this._readableState=new x(e,this,t),this.readable=!0,e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy)),f.call(this)}function N(e,t,r,n,o){d("readableAddChunk",t);var c,f=e._readableState;if(null===t)f.reading=!1,function(e,t){if(d("onEofChunk"),t.ended)return;if(t.decoder){var r=t.decoder.end();r&&r.length&&(t.buffer.push(r),t.length+=t.objectMode?1:r.length)}t.ended=!0,t.sync?D(e):(t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,j(e)))}(e,f);else if(o||(c=function(e,t){var r;n=t,h.isBuffer(n)||n instanceof l||"string"==typeof t||void 0===t||e.objectMode||(r=new A("chunk",["string","Buffer","Uint8Array"],t));var n;return r}(f,t)),c)M(e,c);else if(f.objectMode||t&&t.length>0)if("string"==typeof t||f.objectMode||Object.getPrototypeOf(t)===h.prototype||(t=function(e){return h.from(e)}(t)),n)f.endEmitted?M(e,new I):O(e,f,t,!0);else if(f.ended)M(e,new T);else{if(f.destroyed)return!1;f.reading=!1,f.decoder&&!r?(t=f.decoder.write(t),f.objectMode||0!==t.length?O(e,f,t,!1):U(e,f)):O(e,f,t,!1)}else n||(f.reading=!1,U(e,f));return!f.ended&&(f.length<f.highWaterMark||0===f.length)}function O(e,t,r,n){t.flowing&&0===t.length&&!t.sync?(t.awaitDrain=0,e.emit("data",r)):(t.length+=t.objectMode?1:r.length,n?t.buffer.unshift(r):t.buffer.push(r),t.needReadable&&D(e)),U(e,t)}Object.defineProperty(B.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),B.prototype.destroy=E.destroy,B.prototype._undestroy=E.undestroy,B.prototype._destroy=function(e,t){t(e)},B.prototype.push=function(e,t){var r,n=this._readableState;return n.objectMode?r=!0:"string"==typeof e&&((t=t||n.defaultEncoding)!==n.encoding&&(e=h.from(e,t),t=""),r=!0),N(this,e,t,!1,r)},B.prototype.unshift=function(e){return N(this,e,null,!0,!1)},B.prototype.isPaused=function(){return!1===this._readableState.flowing},B.prototype.setEncoding=function(e){m||(m=r(89).StringDecoder);var t=new m(e);this._readableState.decoder=t,this._readableState.encoding=this._readableState.decoder.encoding;
vendor: 4,209 bytes, line 2
2for(var p=this._readableState.buffer.head,content="";null!==p;)content+=t.write(p.data),p=p.next;return this._readableState.buffer.clear(),""!==content&&this._readableState.buffer.push(content),this._readableState.length=content.length,this};var L=1073741824;function P(e,t){return e<=0||0===t.length&&t.ended?0:t.objectMode?1:e!=e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=function(e){return e>=L?e=L:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function D(e){var t=e._readableState;d("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(d("emitReadable",t.flowing),t.emittedReadable=!0,n.nextTick(j,e))}function j(e){var t=e._readableState;d("emitReadable_",t.destroyed,t.length,t.ended),t.destroyed||!t.length&&!t.ended||(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,H(e)}function U(e,t){t.readingMore||(t.readingMore=!0,n.nextTick(F,e,t))}function F(e,t){for(;!t.reading&&!t.ended&&(t.length<t.highWaterMark||t.flowing&&0===t.length);){var r=t.length;if(d("maybeReadMore read 0"),e.read(0),r===t.length)break}t.readingMore=!1}function V(e){var t=e._readableState;t.readableListening=e.listenerCount("readable")>0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount("data")>0&&e.resume()}function K(e){d("readable nexttick read 0"),e.read(0)}function z(e,t){d("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),H(e),t.flowing&&!t.reading&&e.read(0)}function H(e){var t=e._readableState;for(d("flow",t.flowing);t.flowing&&null!==e.read(););}function G(e,t){return 0===t.length?null:(t.objectMode?r=t.buffer.shift():!e||e>=t.length?(r=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.first():t.buffer.concat(t.length),t.buffer.clear()):r=t.buffer.consume(e,t.decoder),r);var r}function $(e){var t=e._readableState;d("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,n.nextTick(W,t,e))}function W(e,t){if(d("endReadableNT",e.endEmitted,e.length),!e.endEmitted&&0===e.length&&(e.endEmitted=!0,t.readable=!1,t.emit("end"),e.autoDestroy)){var r=t._writableState;(!r||r.autoDestroy&&r.finished)&&t.destroy()}}function Y(e,t){for(var i=0,r=e.length;i<r;i++)if(e[i]===t)return i;return-1}B.prototype.read=function(e){d("read",e),e=parseInt(e,10);var t=this._readableState,r=e;if(0!==e&&(t.emittedReadable=!1),0===e&&t.needReadable&&((0!==t.highWaterMark?t.length>=t.highWaterMark:t.length>0)||t.ended))return d("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?$(this):D(this),null;if(0===(e=P(e,t))&&t.ended)return 0===t.length&&$(this),null;var n,o=t.needReadable;return d("need readable",o),(0===t.length||t.length-e<t.highWaterMark)&&d("length less than watermark",o=!0),t.ended||t.reading?d("reading or ended",o=!1):o&&(d("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=P(r,t))),null===(n=e>0?G(e,t):null)?(t.needReadable=t.length<=t.highWaterMark,e=0):(t.length-=e,t.awaitDrain=0),0===t.length&&(t.ended||(t.needReadable=!0),r!==e&&t.ended&&$(this)),null!==n&&this.emit("data",n),n},B.prototype._read=function(e){M(this,new k("_read()"))},B.prototype.pipe=function(e,t){var r=this,o=this._readableState;switch(o.pipesCount){case 0:o.pipes=e;break;case 1:o.pipes=[o.pipes,e];break;default:o.pipes.push(e)}o.pipesCount+=1,d("pipe count=%d opts=%j",o.pipesCount,t);var f=(!t||!1!==t.end)&&e!==n.stdout&&e!==n.stderr?l:S;function h(t,n){d("onunpipe"),t===r&&n&&!1===n.hasUnpiped&&(n.hasUnpiped=!0,d("cleanup"),e.removeListener("close",_),e.removeListener("finish",E),e.removeListener("drain",y),e.removeListener("error",w),e.removeListener("unpipe",h),r.removeListener("end",l),r.removeListener("end",S),r.removeListener("data",v),m=!0,!o.awaitDrain||e._writableState&&!e._writableState.needDrain||y())}function l(){d("onend"),e.end()}o.endEmitted?n.nextTick(f):r.once("end",f),e.on("unpipe",h);var y=function(e){return function(){var t=e._readableState;d("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&c(e,"data")&&(t.flowing=!0,H(e))}}(r);
vendor: 13,162 bytes, line 2
2e.on("drain",y);var m=!1;function v(t){d("ondata");var n=e.write(t);d("dest.write",n),!1===n&&((1===o.pipesCount&&o.pipes===e||o.pipesCount>1&&-1!==Y(o.pipes,e))&&!m&&(d("false write response, pause",o.awaitDrain),o.awaitDrain++),r.pause())}function w(t){d("onerror",t),S(),e.removeListener("error",w),0===c(e,"error")&&M(e,t)}function _(){e.removeListener("finish",E),S()}function E(){d("onfinish"),e.removeListener("close",_),S()}function S(){d("unpipe"),r.unpipe(e)}return r.on("data",v),function(e,t,r){if("function"==typeof e.prependListener)return e.prependListener(t,r);e._events&&e._events[t]?Array.isArray(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]:e.on(t,r)}(e,"error",w),e.once("close",_),e.once("finish",E),e.emit("pipe",r),o.flowing||(d("pipe resume"),r.resume()),e},B.prototype.unpipe=function(e){var t=this._readableState,r={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,r)),this;if(!e){var n=t.pipes,o=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var i=0;i<o;i++)n[i].emit("unpipe",this,{hasUnpiped:!1});return this}var c=Y(t.pipes,e);return-1===c||(t.pipes.splice(c,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,r)),this},B.prototype.on=function(e,t){var r=f.prototype.on.call(this,e,t),o=this._readableState;return"data"===e?(o.readableListening=this.listenerCount("readable")>0,!1!==o.flowing&&this.resume()):"readable"===e&&(o.endEmitted||o.readableListening||(o.readableListening=o.needReadable=!0,o.flowing=!1,o.emittedReadable=!1,d("on readable",o.length,o.reading),o.length?D(this):o.reading||n.nextTick(K,this))),r},B.prototype.addListener=B.prototype.on,B.prototype.removeListener=function(e,t){var r=f.prototype.removeListener.call(this,e,t);return"readable"===e&&n.nextTick(V,this),r},B.prototype.removeAllListeners=function(e){var t=f.prototype.removeAllListeners.apply(this,arguments);return"readable"!==e&&void 0!==e||n.nextTick(V,this),t},B.prototype.resume=function(){var e=this._readableState;return e.flowing||(d("resume"),e.flowing=!e.readableListening,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,n.nextTick(z,e,t))}(this,e)),e.paused=!1,this},B.prototype.pause=function(){return d("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(d("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},B.prototype.wrap=function(e){var t=this,r=this._readableState,n=!1;for(var i in e.on("end",(function(){if(d("wrapped end"),r.decoder&&!r.ended){var e=r.decoder.end();e&&e.length&&t.push(e)}t.push(null)})),e.on("data",(function(o){(d("wrapped data"),r.decoder&&(o=r.decoder.write(o)),r.objectMode&&null==o)||(r.objectMode||o&&o.length)&&(t.push(o)||(n=!0,e.pause()))})),e)void 0===this[i]&&"function"==typeof e[i]&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));for(var o=0;o<R.length;o++)e.on(R[o],this.emit.bind(this,R[o]));return this._read=function(t){d("wrapped _read",t),n&&(n=!1,e.resume())},this},"function"==typeof Symbol&&(B.prototype[Symbol.asyncIterator]=function(){return void 0===v&&(v=r(742)),v(this)}),Object.defineProperty(B.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(B.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(B.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(e){this._readableState&&(this._readableState.flowing=e)}}),B._fromList=G,Object.defineProperty(B.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),"function"==typeof Symbol&&(B.from=function(e,t){return void 0===w&&(w=r(743)),w(B,e,t)})}).call(this,r(20),r(17))},function(e,t,r){e.exports=r(73).EventEmitter},function(e,t,r){"use strict";(function(t){function r(e,t){o(e,t),n(e)}function n(e){e._writableState&&!e._writableState.emitClose||e._readableState&&!e._readableState.emitClose||e.emit("close")}function o(e,t){e.emit("error",t)}e.exports={destroy:function(e,c){var f=this,h=this._readableState&&this._readableState.destroyed,l=this._writableState&&this._writableState.destroyed;return h||l?(c?c(e):e&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,t.nextTick(o,this,e)):t.nextTick(o,this,e)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,(function(e){!c&&e?f._writableState?f._writableState.errorEmitted?t.nextTick(n,f):(f._writableState.errorEmitted=!0,t.nextTick(r,f,e)):t.nextTick(r,f,e):c?(t.nextTick(n,f),c(e)):t.nextTick(n,f)})),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)},errorOrDestroy:function(e,t){var r=e._readableState,n=e._writableState;r&&r.autoDestroy||n&&n.autoDestroy?e.destroy(t):e.emit("error",t)}}}).call(this,r(17))},function(e,t,r){"use strict";var n=r(110).codes.ERR_INVALID_OPT_VALUE;e.exports={getHighWaterMark:function(e,t,r,o){var c=function(e,t,r){return null!=e.highWaterMark?e.highWaterMark:t?e[r]:null}(t,o,r);if(null!=c){if(!isFinite(c)||Math.floor(c)!==c||c<0)throw new n(o?r:"highWaterMark",c);return Math.floor(c)}return e.objectMode?16:16384}}},function(e,t,r){"use strict";(function(t,n){function o(e){var t=this;this.next=null,this.entry=null,this.finish=function(){!function(e,t,r){var n=e.entry;e.entry=null;for(;n;){var o=n.callback;t.pendingcb--,o(r),n=n.next}t.corkedRequestsFree.next=e}(t,e)}}var c;e.exports=B,B.WritableState=x;var f={deprecate:r(241)},h=r(387),l=r(15).Buffer,d=t.Uint8Array||function(){};var y,m=r(388),v=r(389).getHighWaterMark,w=r(110).codes,_=w.ERR_INVALID_ARG_TYPE,E=w.ERR_METHOD_NOT_IMPLEMENTED,S=w.ERR_MULTIPLE_CALLBACK,C=w.ERR_STREAM_CANNOT_PIPE,A=w.ERR_STREAM_DESTROYED,T=w.ERR_STREAM_NULL_VALUES,k=w.ERR_STREAM_WRITE_AFTER_END,I=w.ERR_UNKNOWN_ENCODING,M=m.errorOrDestroy;function R(){}function x(e,t,f){c=c||r(111),e=e||{},"boolean"!=typeof f&&(f=t instanceof c),this.objectMode=!!e.objectMode,f&&(this.objectMode=this.objectMode||!!e.writableObjectMode),this.highWaterMark=v(this,e,"writableHighWaterMark",f),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var h=!1===e.decodeStrings;this.decodeStrings=!h,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,t){var r=e._writableState,o=r.sync,c=r.writecb;if("function"!=typeof c)throw new S;if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(r),t)!function(e,t,r,o,c){--t.pendingcb,r?(n.nextTick(c,o),n.nextTick(j,e,t),e._writableState.errorEmitted=!0,M(e,o)):(c(o),e._writableState.errorEmitted=!0,M(e,o),j(e,t))}(e,r,o,t,c);else{var f=P(r)||e.destroyed;f||r.corked||r.bufferProcessing||!r.bufferedRequest||L(e,r),o?n.nextTick(O,e,r,f,c):O(e,r,f,c)}}(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==e.emitClose,this.autoDestroy=!!e.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new o(this)}function B(e){var t=this instanceof(c=c||r(111));if(!t&&!y.call(B,this))return new B(e);this._writableState=new x(e,this,t),this.writable=!0,e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.final&&(this._final=e.final)),h.call(this)}function N(e,t,r,n,o,c,f){t.writelen=n,t.writecb=f,t.writing=!0,t.sync=!0,t.destroyed?t.onwrite(new A("write")):r?e._writev(o,t.onwrite):e._write(o,c,t.onwrite),t.sync=!1}function O(e,t,r,n){r||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,n(),j(e,t)}function L(e,t){t.bufferProcessing=!0;var r=t.bufferedRequest;if(e._writev&&r&&r.next){var n=t.bufferedRequestCount,c=new Array(n),f=t.corkedRequestsFree;f.entry=r;for(var h=0,l=!0;r;)c[h]=r,r.isBuf||(l=!1),r=r.next,h+=1;c.allBuffers=l,N(e,t,!0,t.length,c,"",f.finish),t.pendingcb++,t.lastBufferedRequest=null,f.next?(t.corkedRequestsFree=f.next,f.next=null):t.corkedRequestsFree=new o(t),t.bufferedRequestCount=0}else{for(;r;){var d=r.chunk,y=r.encoding,m=r.callback;if(N(e,t,!1,t.objectMode?1:d.length,d,y,m),r=r.next,t.bufferedRequestCount--,t.writing)break}null===r&&(t.lastBufferedRequest=null)}t.bufferedRequest=r,t.bufferProcessing=!1}function P(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function D(e,t){e._final((function(r){t.pendingcb--,r&&M(e,r),t.prefinished=!0,e.emit("prefinish"),j(e,t)}))}function j(e,t){var r=P(t);if(r&&(function(e,t){t.prefinished||t.finalCalled||("function"!=typeof e._final||t.destroyed?(t.prefinished=!0,e.emit("prefinish")):(t.pendingcb++,t.finalCalled=!0,n.nextTick(D,e,t)))}(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"),t.autoDestroy))){var o=e._readableState;(!o||o.autoDestroy&&o.endEmitted)&&e.destroy()}return r}r(5)(B,h),x.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(x.prototype,"buffer",{get:f.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(y=Function.prototype[Symbol.hasInstance],Object.defineProperty(B,Symbol.hasInstance,{value:function(object){return!!y.call(this,object)||this===B&&(object&&object._writableState instanceof x)}})):y=function(object){return object instanceof this},B.prototype.pipe=function(){M(this,new C)},B.prototype.write=function(e,t,r){var o,c=this._writableState,f=!1,h=!c.objectMode&&(o=e,l.isBuffer(o)||o instanceof d);return h&&!l.isBuffer(e)&&(e=function(e){return l.from(e)}(e)),"function"==typeof t&&(r=t,t=null),h?t="buffer":t||(t=c.defaultEncoding),"function"!=typeof r&&(r=R),c.ending?function(e,t){var r=new k;M(e,r),n.nextTick(t,r)}(this,r):(h||function(e,t,r,o){var c;return null===r?c=new T:"string"==typeof r||t.objectMode||(c=new _("chunk",["string","Buffer"],r)),!c||(M(e,c),n.nextTick(o,c),!1)}(this,c,e,r))&&(c.pendingcb++,f=function(e,t,r,n,o,c){if(!r){var f=function(e,t,r){e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=l.from(t,r));return t}(t,n,o);n!==f&&(r=!0,o="buffer",n=f)}var h=t.objectMode?1:n.length;t.length+=h;var d=t.length<t.highWaterMark;d||(t.needDrain=!0);if(t.writing||t.corked){var y=t.lastBufferedRequest;t.lastBufferedRequest={chunk:n,encoding:o,isBuf:r,callback:c,next:null},y?y.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else N(e,t,!1,h,n,o,c);return d}(this,c,h,e,t,r)),f},B.prototype.cork=function(){this._writableState.corked++},B.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.bufferProcessing||!e.bufferedRequest||L(this,e))},B.prototype.setDefaultEncoding=function(e){if("string"==typeof e&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new I(e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(B.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(B.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),B.prototype._write=function(e,t,r){r(new E("_write()"))},B.prototype._writev=null,B.prototype.end=function(e,t,r){var o=this._writableState;return"function"==typeof e?(r=e,e=null,t=null):"function"==typeof t&&(r=t,t=null),null!=e&&this.write(e,t),o.corked&&(o.corked=1,this.uncork()),o.ending||function(e,t,r){t.ending=!0,j(e,t),r&&(t.finished?n.nextTick(r):e.once("finish",r));t.ended=!0,e.writable=!1}(this,o,r),this},Object.defineProperty(B.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(B.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),B.prototype.destroy=m.destroy,B.prototype._undestroy=m.undestroy,B.prototype._destroy=function(e,t){t(e)}}).call(this,r(20),r(17))},function(e,t,r){"use strict";e.exports=y;
vendor: 17,579 bytes, line 2
2var n=r(110).codes,o=n.ERR_METHOD_NOT_IMPLEMENTED,c=n.ERR_MULTIPLE_CALLBACK,f=n.ERR_TRANSFORM_ALREADY_TRANSFORMING,h=n.ERR_TRANSFORM_WITH_LENGTH_0,l=r(111);function d(e,data){var t=this._transformState;t.transforming=!1;var r=t.writecb;if(null===r)return this.emit("error",new c);t.writechunk=null,t.writecb=null,null!=data&&this.push(data),r(e);var n=this._readableState;n.reading=!1,(n.needReadable||n.length<n.highWaterMark)&&this._read(n.highWaterMark)}function y(e){if(!(this instanceof y))return new y(e);l.call(this,e),this._transformState={afterTransform:d.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"==typeof e.transform&&(this._transform=e.transform),"function"==typeof e.flush&&(this._flush=e.flush)),this.on("prefinish",m)}function m(){var e=this;"function"!=typeof this._flush||this._readableState.destroyed?v(this,null,null):this._flush((function(t,data){v(e,t,data)}))}function v(e,t,data){if(t)return e.emit("error",t);if(null!=data&&e.push(data),e._writableState.length)throw new h;if(e._transformState.transforming)throw new f;return e.push(null)}r(5)(y,l),y.prototype.push=function(e,t){return this._transformState.needTransform=!1,l.prototype.push.call(this,e,t)},y.prototype._transform=function(e,t,r){r(new o("_transform()"))},y.prototype._write=function(e,t,r){var n=this._transformState;if(n.writecb=r,n.writechunk=e,n.writeencoding=t,!n.transforming){var o=this._readableState;(n.needTransform||o.needReadable||o.length<o.highWaterMark)&&this._read(o.highWaterMark)}},y.prototype._read=function(e){var t=this._transformState;null===t.writechunk||t.transforming?t.needTransform=!0:(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform))},y.prototype._destroy=function(e,t){l.prototype._destroy.call(this,e,(function(e){t(e)}))}},function(e,t,r){var n=r(5),o=r(112),c=r(8).Buffer,f=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],h=new Array(64);function l(){this.init(),this._w=h,o.call(this,64,56)}function d(e,t,r){return r^e&(t^r)}function y(e,t,r){return e&t|r&(e|t)}function m(e){return(e>>>2|e<<30)^(e>>>13|e<<19)^(e>>>22|e<<10)}function v(e){return(e>>>6|e<<26)^(e>>>11|e<<21)^(e>>>25|e<<7)}function w(e){return(e>>>7|e<<25)^(e>>>18|e<<14)^e>>>3}n(l,o),l.prototype.init=function(){return this._a=1779033703,this._b=3144134277,this._c=1013904242,this._d=2773480762,this._e=1359893119,this._f=2600822924,this._g=528734635,this._h=1541459225,this},l.prototype._update=function(e){for(var t,r=this._w,a=0|this._a,b=0|this._b,n=0|this._c,o=0|this._d,c=0|this._e,h=0|this._f,g=0|this._g,l=0|this._h,i=0;i<16;++i)r[i]=e.readInt32BE(4*i);for(;i<64;++i)r[i]=0|(((t=r[i-2])>>>17|t<<15)^(t>>>19|t<<13)^t>>>10)+r[i-7]+w(r[i-15])+r[i-16];for(var _=0;_<64;++_){var E=l+v(c)+d(c,h,g)+f[_]+r[_]|0,S=m(a)+y(a,b,n)|0;l=g,g=h,h=c,c=o+E|0,o=n,n=b,b=a,a=E+S|0}this._a=a+this._a|0,this._b=b+this._b|0,this._c=n+this._c|0,this._d=o+this._d|0,this._e=c+this._e|0,this._f=h+this._f|0,this._g=g+this._g|0,this._h=l+this._h|0},l.prototype._hash=function(){var e=c.allocUnsafe(32);return e.writeInt32BE(this._a,0),e.writeInt32BE(this._b,4),e.writeInt32BE(this._c,8),e.writeInt32BE(this._d,12),e.writeInt32BE(this._e,16),e.writeInt32BE(this._f,20),e.writeInt32BE(this._g,24),e.writeInt32BE(this._h,28),e},e.exports=l},function(e,t,r){var n=r(5),o=r(112),c=r(8).Buffer,f=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],h=new Array(160);function l(){this.init(),this._w=h,o.call(this,128,112)}function d(e,t,r){return r^e&(t^r)}function y(e,t,r){return e&t|r&(e|t)}function m(e,t){return(e>>>28|t<<4)^(t>>>2|e<<30)^(t>>>7|e<<25)}function v(e,t){return(e>>>14|t<<18)^(e>>>18|t<<14)^(t>>>9|e<<23)}function w(e,t){return(e>>>1|t<<31)^(e>>>8|t<<24)^e>>>7}function _(e,t){return(e>>>1|t<<31)^(e>>>8|t<<24)^(e>>>7|t<<25)}function E(e,t){return(e>>>19|t<<13)^(t>>>29|e<<3)^e>>>6}function S(e,t){return(e>>>19|t<<13)^(t>>>29|e<<3)^(e>>>6|t<<26)}function C(a,b){return a>>>0<b>>>0?1:0}n(l,o),l.prototype.init=function(){return this._ah=1779033703,this._bh=3144134277,this._ch=1013904242,this._dh=2773480762,this._eh=1359893119,this._fh=2600822924,this._gh=528734635,this._hh=1541459225,this._al=4089235720,this._bl=2227873595,this._cl=4271175723,this._dl=1595750129,this._el=2917565137,this._fl=725511199,this._gl=4215389547,this._hl=327033209,this},l.prototype._update=function(e){for(var t=this._w,r=0|this._ah,n=0|this._bh,o=0|this._ch,c=0|this._dh,h=0|this._eh,l=0|this._fh,A=0|this._gh,T=0|this._hh,k=0|this._al,I=0|this._bl,M=0|this._cl,dl=0|this._dl,R=0|this._el,x=0|this._fl,B=0|this._gl,N=0|this._hl,i=0;i<32;i+=2)t[i]=e.readInt32BE(4*i),t[i+1]=e.readInt32BE(4*i+4);for(;i<160;i+=2){var O=t[i-30],L=t[i-30+1],P=w(O,L),D=_(L,O),j=E(O=t[i-4],L=t[i-4+1]),U=S(L,O),F=t[i-14],V=t[i-14+1],K=t[i-32],z=t[i-32+1],H=D+V|0,G=P+F+C(H,D)|0;G=(G=G+j+C(H=H+U|0,U)|0)+K+C(H=H+z|0,z)|0,t[i]=G,t[i+1]=H}for(var $=0;$<160;$+=2){G=t[$],H=t[$+1];var W=y(r,n,o),Y=y(k,I,M),X=m(r,k),J=m(k,r),Q=v(h,R),Z=v(R,h),ee=f[$],te=f[$+1],re=d(h,l,A),ne=d(R,x,B),ie=N+Z|0,ae=T+Q+C(ie,N)|0;ae=(ae=(ae=ae+re+C(ie=ie+ne|0,ne)|0)+ee+C(ie=ie+te|0,te)|0)+G+C(ie=ie+H|0,H)|0;var oe=J+Y|0,se=X+W+C(oe,J)|0;T=A,N=B,A=l,B=x,l=h,x=R,h=c+ae+C(R=dl+ie|0,dl)|0,c=o,dl=M,o=n,M=I,n=r,I=k,r=ae+se+C(k=ie+oe|0,ie)|0}this._al=this._al+k|0,this._bl=this._bl+I|0,this._cl=this._cl+M|0,this._dl=this._dl+dl|0,this._el=this._el+R|0,this._fl=this._fl+x|0,this._gl=this._gl+B|0,this._hl=this._hl+N|0,this._ah=this._ah+r+C(this._al,k)|0,this._bh=this._bh+n+C(this._bl,I)|0,this._ch=this._ch+o+C(this._cl,M)|0,this._dh=this._dh+c+C(this._dl,dl)|0,this._eh=this._eh+h+C(this._el,R)|0,this._fh=this._fh+l+C(this._fl,x)|0,this._gh=this._gh+A+C(this._gl,B)|0,this._hh=this._hh+T+C(this._hl,N)|0},l.prototype._hash=function(){var e=c.allocUnsafe(64);function t(t,r,n){e.writeInt32BE(t,n),e.writeInt32BE(r,n+4)}return t(this._ah,this._al,0),t(this._bh,this._bl,8),t(this._ch,this._cl,16),t(this._dh,this._dl,24),t(this._eh,this._el,32),t(this._fh,this._fl,40),t(this._gh,this._gl,48),t(this._hh,this._hl,56),e},e.exports=l},function(e,t,r){"use strict";var n=r(5),o=r(754),c=r(82),f=r(8).Buffer,h=r(395),l=r(246),d=r(247),y=f.alloc(128);function m(e,t){c.call(this,"digest"),"string"==typeof t&&(t=f.from(t));var r="sha512"===e||"sha384"===e?128:64;(this._alg=e,this._key=t,t.length>r)?t=("rmd160"===e?new l:d(e)).update(t).digest():t.length<r&&(t=f.concat([t,y],r));for(var n=this._ipad=f.allocUnsafe(r),o=this._opad=f.allocUnsafe(r),i=0;i<r;i++)n[i]=54^t[i],o[i]=92^t[i];this._hash="rmd160"===e?new l:d(e),this._hash.update(n)}n(m,c),m.prototype._update=function(data){this._hash.update(data)},m.prototype._final=function(){var e=this._hash.digest();return("rmd160"===this._alg?new l:d(this._alg)).update(this._opad).update(e).digest()},e.exports=function(e,t){return"rmd160"===(e=e.toLowerCase())||"ripemd160"===e?new m("rmd160",t):"md5"===e?new o(h,t):new m(e,t)}},function(e,t,r){var n=r(244);e.exports=function(e){return(new n).update(e).digest()}},function(e){e.exports=JSON.parse('{"sha224WithRSAEncryption":{"sign":"rsa","hash":"sha224","id":"302d300d06096086480165030402040500041c"},"RSA-SHA224":{"sign":"ecdsa/rsa","hash":"sha224","id":"302d300d06096086480165030402040500041c"},"sha256WithRSAEncryption":{"sign":"rsa","hash":"sha256","id":"3031300d060960864801650304020105000420"},"RSA-SHA256":{"sign":"ecdsa/rsa","hash":"sha256","id":"3031300d060960864801650304020105000420"},"sha384WithRSAEncryption":{"sign":"rsa","hash":"sha384","id":"3041300d060960864801650304020205000430"},"RSA-SHA384":{"sign":"ecdsa/rsa","hash":"sha384","id":"3041300d060960864801650304020205000430"},"sha512WithRSAEncryption":{"sign":"rsa","hash":"sha512","id":"3051300d060960864801650304020305000440"},"RSA-SHA512":{"sign":"ecdsa/rsa","hash":"sha512","id":"3051300d060960864801650304020305000440"},"RSA-SHA1":{"sign":"rsa","hash":"sha1","id":"3021300906052b0e03021a05000414"},"ecdsa-with-SHA1":{"sign":"ecdsa","hash":"sha1","id":""},"sha256":{"sign":"ecdsa","hash":"sha256","id":""},"sha224":{"sign":"ecdsa","hash":"sha224","id":""},"sha384":{"sign":"ecdsa","hash":"sha384","id":""},"sha512":{"sign":"ecdsa","hash":"sha512","id":""},"DSA-SHA":{"sign":"dsa","hash":"sha1","id":""},"DSA-SHA1":{"sign":"dsa","hash":"sha1","id":""},"DSA":{"sign":"dsa","hash":"sha1","id":""},"DSA-WITH-SHA224":{"sign":"dsa","hash":"sha224","id":""},"DSA-SHA224":{"sign":"dsa","hash":"sha224","id":""},"DSA-WITH-SHA256":{"sign":"dsa","hash":"sha256","id":""},"DSA-SHA256":{"sign":"dsa","hash":"sha256","id":""},"DSA-WITH-SHA384":{"sign":"dsa","hash":"sha384","id":""},"DSA-SHA384":{"sign":"dsa","hash":"sha384","id":""},"DSA-WITH-SHA512":{"sign":"dsa","hash":"sha512","id":""},"DSA-SHA512":{"sign":"dsa","hash":"sha512","id":""},"DSA-RIPEMD160":{"sign":"dsa","hash":"rmd160","id":""},"ripemd160WithRSA":{"sign":"rsa","hash":"rmd160","id":"3021300906052b2403020105000414"},"RSA-RIPEMD160":{"sign":"rsa","hash":"rmd160","id":"3021300906052b2403020105000414"},"md5WithRSAEncryption":{"sign":"rsa","hash":"md5","id":"3020300c06082a864886f70d020505000410"},"RSA-MD5":{"sign":"rsa","hash":"md5","id":"3020300c06082a864886f70d020505000410"}}')},function(e,t,r){t.pbkdf2=r(756),t.pbkdf2Sync=r(400)},function(e,t){var r=Math.pow(2,30)-1;e.exports=function(e,t){if("number"!=typeof e)throw new TypeError("Iterations not a number");if(e<0)throw new TypeError("Bad iterations");if("number"!=typeof t)throw new TypeError("Key length not a number");if(t<0||t>r||t!=t)throw new TypeError("Bad key length")}},function(e,t,r){(function(t,r){var n;if(t.process&&t.process.browser)n="utf-8";else if(t.process&&t.process.version){n=parseInt(r.version.split(".")[0].slice(1),10)>=6?"utf-8":"binary"}else n="utf-8";e.exports=n}).call(this,r(20),r(17))},function(e,t,r){var n=r(395),o=r(246),c=r(247),f=r(8).Buffer,h=r(398),l=r(399),d=r(401),y=f.alloc(128),m={md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,rmd160:20,ripemd160:20};function v(e,t,r){var h=function(e){function t(data){return c(e).update(data).digest()}function r(data){return(new o).update(data).digest()}return"rmd160"===e||"ripemd160"===e?r:"md5"===e?n:t}(e),l="sha512"===e||"sha384"===e?128:64;t.length>l?t=h(t):t.length<l&&(t=f.concat([t,y],l));for(var d=f.allocUnsafe(l+m[e]),v=f.allocUnsafe(l+m[e]),i=0;i<l;i++)d[i]=54^t[i],v[i]=92^t[i];var w=f.allocUnsafe(l+r+4);d.copy(w,0,0,l),this.ipad1=w,this.ipad2=d,this.opad=v,this.alg=e,this.blocksize=l,this.hash=h,this.size=m[e]}v.prototype.run=function(data,e){return data.copy(e,this.blocksize),this.hash(e).copy(this.opad,this.blocksize),this.hash(this.opad)},e.exports=function(e,t,r,n,o){h(r,n);var c=new v(o=o||"sha1",e=d(e,l,"Password"),(t=d(t,l,"Salt")).length),y=f.allocUnsafe(n),w=f.allocUnsafe(t.length+4);t.copy(w,0,0,t.length);for(var _=0,E=m[o],S=Math.ceil(n/E),i=1;i<=S;i++){w.writeUInt32BE(i,t.length);for(var C=c.run(w,c.ipad1),A=C,T=1;T<r;T++){A=c.run(A,c.ipad2);for(var k=0;k<E;k++)C[k]^=A[k]}C.copy(y,_),_+=E}return y}},function(e,t,r){var n=r(8).Buffer;e.exports=function(e,t,r){if(n.isBuffer(e))return e;if("string"==typeof e)return n.from(e,t);if(ArrayBuffer.isView(e))return n.from(e.buffer);throw new TypeError(r+" must be a string, a Buffer, a typed array or a DataView")}},function(e,t,r){"use strict";t.readUInt32BE=function(e,t){return(e[0+t]<<24|e[1+t]<<16|e[2+t]<<8|e[3+t])>>>0},t.writeUInt32BE=function(e,t,r){e[0+r]=t>>>24,e[1+r]=t>>>16&255,e[2+r]=t>>>8&255,e[3+r]=255&t},t.ip=function(e,t,r,n){for(var o=0,c=0,i=6;i>=0;i-=2){for(var f=0;f<=24;f+=8)o<<=1,o|=t>>>f+i&1;for(f=0;f<=24;f+=8)o<<=1,o|=e>>>f+i&1}for(i=6;i>=0;i-=2){for(f=1;f<=25;f+=8)c<<=1,c|=t>>>f+i&1;for(f=1;f<=25;f+=8)c<<=1,c|=e>>>f+i&1}r[n+0]=o>>>0,r[n+1]=c>>>0},t.rip=function(e,t,r,n){for(var o=0,c=0,i=0;i<4;i++)for(var f=24;f>=0;f-=8)o<<=1,o|=t>>>f+i&1,o<<=1,o|=e>>>f+i&1;for(i=4;i<8;i++)for(f=24;f>=0;f-=8)c<<=1,c|=t>>>f+i&1,c<<=1,c|=e>>>f+i&1;r[n+0]=o>>>0,r[n+1]=c>>>0},t.pc1=function(e,t,r,n){for(var o=0,c=0,i=7;i>=5;i--){for(var f=0;f<=24;f+=8)o<<=1,o|=t>>f+i&1;for(f=0;f<=24;f+=8)o<<=1,o|=e>>f+i&1}for(f=0;f<=24;f+=8)o<<=1,o|=t>>f+i&1;for(i=1;i<=3;i++){for(f=0;f<=24;f+=8)c<<=1,c|=t>>f+i&1;for(f=0;f<=24;f+=8)c<<=1,c|=e>>f+i&1}for(f=0;f<=24;f+=8)c<<=1,c|=e>>f+i&1;r[n+0]=o>>>0,r[n+1]=c>>>0},t.r28shl=function(e,t){return e<<t&268435455|e>>>28-t};var n=[14,11,17,4,27,23,25,0,13,22,7,18,5,9,16,24,2,20,12,21,1,8,15,26,15,4,25,19,9,1,26,16,5,11,23,8,12,7,17,0,22,3,10,14,6,20,27,24];t.pc2=function(e,t,r,o){for(var c=0,f=0,h=n.length>>>1,i=0;i<h;i++)c<<=1,c|=e>>>n[i]&1;for(i=h;i<n.length;i++)f<<=1,f|=t>>>n[i]&1;r[o+0]=c>>>0,r[o+1]=f>>>0},t.expand=function(e,t,r){var n=0,o=0;n=(1&e)<<5|e>>>27;for(var i=23;i>=15;i-=4)n<<=6,n|=e>>>i&63;for(i=11;i>=3;i-=4)o|=e>>>i&63,o<<=6;o|=(31&e)<<1|e>>>31,t[r+0]=n>>>0,t[r+1]=o>>>0};var o=[14,0,4,15,13,7,1,4,2,14,15,2,11,13,8,1,3,10,10,6,6,12,12,11,5,9,9,5,0,3,7,8,4,15,1,12,14,8,8,2,13,4,6,9,2,1,11,7,15,5,12,11,9,3,7,14,3,10,10,0,5,6,0,13,15,3,1,13,8,4,14,7,6,15,11,2,3,8,4,14,9,12,7,0,2,1,13,10,12,6,0,9,5,11,10,5,0,13,14,8,7,10,11,1,10,3,4,15,13,4,1,2,5,11,8,6,12,7,6,12,9,0,3,5,2,14,15,9,10,13,0,7,9,0,14,9,6,3,3,4,15,6,5,10,1,2,13,8,12,5,7,14,11,12,4,11,2,15,8,1,13,1,6,10,4,13,9,0,8,6,15,9,3,8,0,7,11,4,1,15,2,14,12,3,5,11,10,5,14,2,7,12,7,13,13,8,14,11,3,5,0,6,6,15,9,0,10,3,1,4,2,7,8,2,5,12,11,1,12,10,4,14,15,9,10,3,6,15,9,0,0,6,12,10,11,1,7,13,13,8,15,9,1,4,3,5,14,11,5,12,2,7,8,2,4,14,2,14,12,11,4,2,1,12,7,4,10,7,11,13,6,1,8,5,5,0,3,15,15,10,13,3,0,9,14,8,9,6,4,11,2,8,1,12,11,7,10,1,13,14,7,2,8,13,15,6,9,15,12,0,5,9,6,10,3,4,0,5,14,3,12,10,1,15,10,4,15,2,9,7,2,12,6,9,8,5,0,6,13,1,3,13,4,14,14,0,7,11,5,3,11,8,9,4,14,3,15,2,5,12,2,9,8,5,12,15,3,10,7,11,0,14,4,1,10,7,1,6,13,0,11,8,6,13,4,13,11,0,2,11,14,7,15,4,0,9,8,1,13,10,3,14,12,3,9,5,7,12,5,2,10,15,6,8,1,6,1,6,4,11,11,13,13,8,12,1,3,4,7,10,14,7,10,9,15,5,6,0,8,15,0,14,5,2,9,3,2,12,13,1,2,15,8,13,4,8,6,10,15,3,11,7,1,4,10,12,9,5,3,6,14,11,5,0,0,14,12,9,7,2,7,2,11,1,4,14,1,7,9,4,12,10,14,8,2,13,0,15,6,12,10,9,13,0,15,3,3,5,5,6,8,11];t.substitute=function(e,t){for(var r=0,i=0;i<4;i++){r<<=4,r|=o[64*i+(e>>>18-6*i&63)]}for(i=0;i<4;i++){r<<=4,r|=o[256+64*i+(t>>>18-6*i&63)]}return r>>>0};var c=[16,25,12,11,3,20,4,15,31,17,9,6,27,14,1,22,30,24,8,18,0,5,29,23,13,19,2,26,10,21,28,7];t.permute=function(e){for(var t=0,i=0;i<c.length;i++)t<<=1,t|=e>>>c[i]&1;return t>>>0},t.padSplit=function(e,t,r){for(var n=e.toString(2);n.length<t;)n="0"+n;for(var o=[],i=0;i<t;i+=r)o.push(n.slice(i,i+r));return o.join(" ")}},function(e,t,r){"use strict";var n=r(54),o=r(5),c=r(402),f=r(248);function h(){this.tmp=new Array(2),this.keys=null}function l(e){f.call(this,e);var t=new h;this._desState=t,this.deriveKeys(t,e.key)}o(l,f),e.exports=l,l.create=function(e){return new l(e)};var d=[1,1,2,2,2,2,2,2,1,2,2,2,2,2,2,1];l.prototype.deriveKeys=function(e,t){e.keys=new Array(32),n.equal(t.length,this.blockSize,"Invalid key length");var r=c.readUInt32BE(t,0),o=c.readUInt32BE(t,4);c.pc1(r,o,e.tmp,0),r=e.tmp[0],o=e.tmp[1];for(var i=0;i<e.keys.length;i+=2){var f=d[i>>>1];r=c.r28shl(r,f),o=c.r28shl(o,f),c.pc2(r,o,e.keys,i)}},l.prototype._update=function(e,t,r,n){var o=this._desState,f=c.readUInt32BE(e,t),h=c.readUInt32BE(e,t+4);c.ip(f,h,o.tmp,0),f=o.tmp[0],h=o.tmp[1],"encrypt"===this.type?this._encrypt
vendor: 3,836 bytes, line 2
2(o,f,h,o.tmp,0):this._decrypt(o,f,h,o.tmp,0),f=o.tmp[0],h=o.tmp[1],c.writeUInt32BE(r,f,n),c.writeUInt32BE(r,h,n+4)},l.prototype._pad=function(e,t){for(var r=e.length-t,i=t;i<e.length;i++)e[i]=r;return!0},l.prototype._unpad=function(e){for(var t=e[e.length-1],i=e.length-t;i<e.length;i++)n.equal(e[i],t);return e.slice(0,e.length-t)},l.prototype._encrypt=function(e,t,r,n,o){for(var f=t,h=r,i=0;i<e.keys.length;i+=2){var l=e.keys[i],d=e.keys[i+1];c.expand(h,e.tmp,0),l^=e.tmp[0],d^=e.tmp[1];var s=c.substitute(l,d),y=h;h=(f^c.permute(s))>>>0,f=y}c.rip(h,f,n,o)},l.prototype._decrypt=function(e,t,r,n,o){for(var f=r,h=t,i=e.keys.length-2;i>=0;i-=2){var l=e.keys[i],d=e.keys[i+1];c.expand(f,e.tmp,0),l^=e.tmp[0],d^=e.tmp[1];var s=c.substitute(l,d),y=f;f=(h^c.permute(s))>>>0,h=y}c.rip(f,h,n,o)}},function(e,t,r){var n=r(140),o=r(8).Buffer,c=r(405);function f(e){var t=e._cipher.encryptBlockRaw(e._prev);return c(e._prev),t}t.encrypt=function(e,t){var r=Math.ceil(t.length/16),c=e._cache.length;e._cache=o.concat([e._cache,o.allocUnsafe(16*r)]);for(var i=0;i<r;i++){var h=f(e),l=c+16*i;e._cache.writeUInt32BE(h[0],l+0),e._cache.writeUInt32BE(h[1],l+4),e._cache.writeUInt32BE(h[2],l+8),e._cache.writeUInt32BE(h[3],l+12)}var d=e._cache.slice(0,t.length);return e._cache=e._cache.slice(t.length),n(t,d)}},function(e,t){e.exports=function(e){for(var t,r=e.length;r--;){if(255!==(t=e.readUInt8(r))){t++,e.writeUInt8(t,r);break}e.writeUInt8(0,r)}}},function(e){e.exports=JSON.parse('{"aes-128-ecb":{"cipher":"AES","key":128,"iv":0,"mode":"ECB","type":"block"},"aes-192-ecb":{"cipher":"AES","key":192,"iv":0,"mode":"ECB","type":"block"},"aes-256-ecb":{"cipher":"AES","key":256,"iv":0,"mode":"ECB","type":"block"},"aes-128-cbc":{"cipher":"AES","key":128,"iv":16,"mode":"CBC","type":"block"},"aes-192-cbc":{"cipher":"AES","key":192,"iv":16,"mode":"CBC","type":"block"},"aes-256-cbc":{"cipher":"AES","key":256,"iv":16,"mode":"CBC","type":"block"},"aes128":{"cipher":"AES","key":128,"iv":16,"mode":"CBC","type":"block"},"aes192":{"cipher":"AES","key":192,"iv":16,"mode":"CBC","type":"block"},"aes256":{"cipher":"AES","key":256,"iv":16,"mode":"CBC","type":"block"},"aes-128-cfb":{"cipher":"AES","key":128,"iv":16,"mode":"CFB","type":"stream"},"aes-192-cfb":{"cipher":"AES","key":192,"iv":16,"mode":"CFB","type":"stream"},"aes-256-cfb":{"cipher":"AES","key":256,"iv":16,"mode":"CFB","type":"stream"},"aes-128-cfb8":{"cipher":"AES","key":128,"iv":16,"mode":"CFB8","type":"stream"},"aes-192-cfb8":{"cipher":"AES","key":192,"iv":16,"mode":"CFB8","type":"stream"},"aes-256-cfb8":{"cipher":"AES","key":256,"iv":16,"mode":"CFB8","type":"stream"},"aes-128-cfb1":{"cipher":"AES","key":128,"iv":16,"mode":"CFB1","type":"stream"},"aes-192-cfb1":{"cipher":"AES","key":192,"iv":16,"mode":"CFB1","type":"stream"},"aes-256-cfb1":{"cipher":"AES","key":256,"iv":16,"mode":"CFB1","type":"stream"},"aes-128-ofb":{"cipher":"AES","key":128,"iv":16,"mode":"OFB","type":"stream"},"aes-192-ofb":{"cipher":"AES","key":192,"iv":16,"mode":"OFB","type":"stream"},"aes-256-ofb":{"cipher":"AES","key":256,"iv":16,"mode":"OFB","type":"stream"},"aes-128-ctr":{"cipher":"AES","key":128,"iv":16,"mode":"CTR","type":"stream"},"aes-192-ctr":{"cipher":"AES","key":192,"iv":16,"mode":"CTR","type":"stream"},"aes-256-ctr":{"cipher":"AES","key":256,"iv":16,"mode":"CTR","type":"stream"},"aes-128-gcm":{"cipher":"AES","key":128,"iv":12,"mode":"GCM","type":"auth"},"aes-192-gcm":{"cipher":"AES","key":192,"iv":12,"mode":"GCM","type":"auth"},"aes-256-gcm":{"cipher":"AES","key":256,"iv":12,"mode":"GCM","type":"auth"}}')},function(e,t,r){var n=r(176),o=r(8).Buffer,c=r(82),f=r(5),h=r(769),l=r(140),d=r(405);function y(e,t,r,f){c.call(this);var l=o.alloc(4,0);this._cipher=new n.AES(t);var y=this._cipher.encryptBlock(l);this._ghash=new h(y),r=function(e,t,r){if(12===t.length)return e._finID=o.c
vendor: 4,716 bytes, line 2
2oncat([t,o.from([0,0,0,1])]),o.concat([t,o.from([0,0,0,2])]);var n=new h(r),c=t.length,f=c%16;n.update(t),f&&(f=16-f,n.update(o.alloc(f,0))),n.update(o.alloc(8,0));var l=8*c,y=o.alloc(8);y.writeUIntBE(l,0,8),n.update(y),e._finID=n.state;var m=o.from(e._finID);return d(m),m}(this,r,y),this._prev=o.from(r),this._cache=o.allocUnsafe(0),this._secCache=o.allocUnsafe(0),this._decrypt=f,this._alen=0,this._len=0,this._mode=e,this._authTag=null,this._called=!1}f(y,c),y.prototype._update=function(e){if(!this._called&&this._alen){var t=16-this._alen%16;t<16&&(t=o.alloc(t,0),this._ghash.update(t))}this._called=!0;var r=this._mode.encrypt(this,e);return this._decrypt?this._ghash.update(e):this._ghash.update(r),this._len+=e.length,r},y.prototype._final=function(){if(this._decrypt&&!this._authTag)throw new Error("Unsupported state or unable to authenticate data");var e=l(this._ghash.final(8*this._alen,8*this._len),this._cipher.encryptBlock(this._finID));if(this._decrypt&&function(a,b){var e=0;a.length!==b.length&&e++;for(var t=Math.min(a.length,b.length),i=0;i<t;++i)e+=a[i]^b[i];return e}(e,this._authTag))throw new Error("Unsupported state or unable to authenticate data");this._authTag=e,this._cipher.scrub()},y.prototype.getAuthTag=function(){if(this._decrypt||!o.isBuffer(this._authTag))throw new Error("Attempting to get auth tag in unsupported state");return this._authTag},y.prototype.setAuthTag=function(e){if(!this._decrypt)throw new Error("Attempting to set auth tag in unsupported state");this._authTag=e},y.prototype.setAAD=function(e){if(this._called)throw new Error("Attempting to set AAD in unsupported state");this._ghash.update(e),this._alen+=e.length},e.exports=y},function(e,t,r){var n=r(176),o=r(8).Buffer,c=r(82);function f(e,t,r,f){c.call(this),this._cipher=new n.AES(t),this._prev=o.from(r),this._cache=o.allocUnsafe(0),this._secCache=o.allocUnsafe(0),this._decrypt=f,this._mode=e}r(5)(f,c),f.prototype._update=function(e){return this._mode.encrypt(this,e,this._decrypt)},f.prototype._final=function(){this._cipher.scrub()},e.exports=f},function(e,t,r){var n=r(109);e.exports=A,A.simpleSieve=S,A.fermatTest=C;var o=r(32),c=new o(24),f=new(r(410)),h=new o(1),l=new o(2),d=new o(5),y=(new o(16),new o(8),new o(10)),m=new o(3),v=(new o(7),new o(11)),w=new o(4),_=(new o(12),null);function E(){if(null!==_)return _;var e=[];e[0]=2;for(var i=1,t=3;t<1048576;t+=2){for(var r=Math.ceil(Math.sqrt(t)),n=0;n<i&&e[n]<=r&&t%e[n]!=0;n++);i!==n&&e[n]<=r||(e[i++]=t)}return _=e,e}function S(p){for(var e=E(),i=0;i<e.length;i++)if(0===p.modn(e[i]))return 0===p.cmpn(e[i]);return!0}function C(p){var e=o.mont(p);return 0===l.toRed(e).redPow(p.subn(1)).fromRed().cmpn(1)}function A(e,t){if(e<16)return new o(2===t||5===t?[140,123]:[140,39]);var r,_;for(t=new o(t);;){for(r=new o(n(Math.ceil(e/8)));r.bitLength()>e;)r.ishrn(1);if(r.isEven()&&r.iadd(h),r.testn(1)||r.iadd(l),t.cmp(l)){if(!t.cmp(d))for(;r.mod(y).cmp(m);)r.iadd(w)}else for(;r.mod(c).cmp(v);)r.iadd(w);if(S(_=r.shrn(1))&&S(r)&&C(_)&&C(r)&&f.test(_)&&f.test(r))return r}}},function(e,t,r){var n=r(32),o=r(251);function c(e){this.rand=e||new o.Rand}e.exports=c,c.create=function(e){return new c(e)},c.prototype._randbelow=function(e){var t=e.bitLength(),r=Math.ceil(t/8);do{var a=new n(this.rand.generate(r))}while(a.cmp(e)>=0);return a},c.prototype._randrange=function(e,t){var r=t.sub(e);return e.add(this._randbelow(r))},c.prototype.test=function(e,t,r){var o=e.bitLength(),c=n.mont(e),f=new n(1).toRed(c);t||(t=Math.max(1,o/48|0));for(var h=e.subn(1),s=0;!h.testn(s);s++);for(var l=e.shrn(s),d=h.toRed(c);t>0;t--){var a=this._randrange(new n(2),h);r&&r(a);var y=a.toRed(c).redPow(l);if(0!==y.cmp(f)&&0!==y.cmp(d)){for(var i=1;i<s;i++){if(0===(y=y.redSqr()).cmp(f))return!1;if(0===y.cmp(d))break}if(i===s)return!1}}return!0},c.prototype.getDivisor=function(e,t){var r=e.bitLength(),o=n.mont(e),c=new n(1).toRed(o);t||(t=Math.max(1,r/48|0));for(var f=e.subn(1),s=0;!f.testn(s);s++);for(var h=e.shrn(s),l=f.toRed(o);t>0;t--){var a=this._randrange(new n(2),f),g=e.gcd(a);if(0!==g.cmpn(1))return g;var d=a.toRed(o).redPow(h);if(0!==d.cmp(c)&&0!==d.cmp(l)){for(var i=1;i<s;i++){if(0===(d=d.redSqr()).cmp(c))return d.fromRed().subn(1).gcd(e);if(0===d.cmp(l))break}if(i===s)return(d=d.redSqr()).fromRed().subn(1).gcd(e)}}return!1}},function(e,t,r){"use strict";(function(t,n){var o;e.exports=B,B.ReadableState=x;r(73).EventEmitter;var c=function(e,t){return e.listeners(t).length},f=r(412),h=r(15).Buffer,l=t.Uint8Array||function(){};var d,y=r(779);d=y&&y.debuglog?y.debuglog("stream"):function(){};var m,v,w,_=r(780),E=r(413),S=r(414).getHighWaterMark,C=r(113).codes,A=C.ERR_INVALID_ARG_TYPE,T=C.ERR_STREAM_PUSH_AFTER_EOF,k=C.ERR_METHOD_NOT_IMPLEMENT
vendor: 6,373 bytes, line 2
2ED,I=C.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;r(5)(B,f);var M=E.errorOrDestroy,R=["error","close","destroy","pause","resume"];function x(e,t,n){o=o||r(114),e=e||{},"boolean"!=typeof n&&(n=t instanceof o),this.objectMode=!!e.objectMode,n&&(this.objectMode=this.objectMode||!!e.readableObjectMode),this.highWaterMark=S(this,e,"readableHighWaterMark",n),this.buffer=new _,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=!1!==e.emitClose,this.autoDestroy=!!e.autoDestroy,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(m||(m=r(89).StringDecoder),this.decoder=new m(e.encoding),this.encoding=e.encoding)}function B(e){if(o=o||r(114),!(this instanceof B))return new B(e);var t=this instanceof o;this._readableState=new x(e,this,t),this.readable=!0,e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy)),f.call(this)}function N(e,t,r,n,o){d("readableAddChunk",t);var c,f=e._readableState;if(null===t)f.reading=!1,function(e,t){if(d("onEofChunk"),t.ended)return;if(t.decoder){var r=t.decoder.end();r&&r.length&&(t.buffer.push(r),t.length+=t.objectMode?1:r.length)}t.ended=!0,t.sync?D(e):(t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,j(e)))}(e,f);else if(o||(c=function(e,t){var r;n=t,h.isBuffer(n)||n instanceof l||"string"==typeof t||void 0===t||e.objectMode||(r=new A("chunk",["string","Buffer","Uint8Array"],t));var n;return r}(f,t)),c)M(e,c);else if(f.objectMode||t&&t.length>0)if("string"==typeof t||f.objectMode||Object.getPrototypeOf(t)===h.prototype||(t=function(e){return h.from(e)}(t)),n)f.endEmitted?M(e,new I):O(e,f,t,!0);else if(f.ended)M(e,new T);else{if(f.destroyed)return!1;f.reading=!1,f.decoder&&!r?(t=f.decoder.write(t),f.objectMode||0!==t.length?O(e,f,t,!1):U(e,f)):O(e,f,t,!1)}else n||(f.reading=!1,U(e,f));return!f.ended&&(f.length<f.highWaterMark||0===f.length)}function O(e,t,r,n){t.flowing&&0===t.length&&!t.sync?(t.awaitDrain=0,e.emit("data",r)):(t.length+=t.objectMode?1:r.length,n?t.buffer.unshift(r):t.buffer.push(r),t.needReadable&&D(e)),U(e,t)}Object.defineProperty(B.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),B.prototype.destroy=E.destroy,B.prototype._undestroy=E.undestroy,B.prototype._destroy=function(e,t){t(e)},B.prototype.push=function(e,t){var r,n=this._readableState;return n.objectMode?r=!0:"string"==typeof e&&((t=t||n.defaultEncoding)!==n.encoding&&(e=h.from(e,t),t=""),r=!0),N(this,e,t,!1,r)},B.prototype.unshift=function(e){return N(this,e,null,!0,!1)},B.prototype.isPaused=function(){return!1===this._readableState.flowing},B.prototype.setEncoding=function(e){m||(m=r(89).StringDecoder);var t=new m(e);this._readableState.decoder=t,this._readableState.encoding=this._readableState.decoder.encoding;for(var p=this._readableState.buffer.head,content="";null!==p;)content+=t.write(p.data),p=p.next;return this._readableState.buffer.clear(),""!==content&&this._readableState.buffer.push(content),this._readableState.length=content.length,this};var L=1073741824;function P(e,t){return e<=0||0===t.length&&t.ended?0:t.objectMode?1:e!=e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=function(e){return e>=L?e=L:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function D(e){var t=e._readableState;d("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(d("emitReadable",t.flowing),t.emittedReadable=!0,n.nextTick(j,e))}function j(e){var t=e._readableState;d("emitReadable_",t.destroyed,t.length,t.ended),t.destroyed||!t.length&&!t.ended||(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,H(e)}function U(e,t){t.readingMore||(t.readingMore=!0,n.nextTick(F,e,t))}function F(e,t){for(;!t.reading&&!t.ended&&(t.length<t.highWaterMark||t.flowing&&0===t.length);){var r=t.length;if(d("maybeReadMore read 0"),e.read(0),r===t.length)break}t.readingMore=!1}function V(e){var t=e._readableState;t.readableListening=e.listenerCount("readable")>0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount("data")>0&&e.resume()}function K(e){d("readable nexttick read 0"),e.read(0)}function z(e,t){d("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),H(e),t.flowing&&!t.reading&&e.read(0)}function H(e){var t=e._readableState;for(d("flow",t.flowing);t.flowing&&null!==e.read(););}function G(e,t){return 0===t.length?null:(t.objectMode?r=t.buffer.shift():!e||e>=t.length?(r=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.first():t.buffer.concat(t.length),t.buffer.clear()):r=t.buffer.consume(e,t.decoder),r);var r}function $(e){var t=e._readableState;d("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,n.nextTick(W,t,e))}function W(e,t){if(d("endReadableNT",e.endEmitted,e.length),!e.endEmitted&&0===e.length&&(e.endEmitted=!0,t.readable=!1,t.emit("end"),e.autoDestroy)){var r=t._writableState;(!r||r.autoDestroy&&r.finished)&&t.destroy()}}function Y(e,t){for(var i=0,r=e.length;i<r;i++)if(e[i]===t)return i;return-1}B.prototype.read=function(e){d("read",e),e=parseInt(e,10);var t=this._readableState,r=e;if(0!==e&&(t.emittedReadable=!1),0===e&&t.needReadable&&((0!==t.highWaterMark?t.length>=t.highWaterMark:t.length>0)||t.ended))return d("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?$(this):D(this),null;if(0===(e=P(e,t))&&t.ended)return 0===t.length&&$(this),null;var n,o=t.needReadable;return d("need readable",o),(0===t.length||t.length-e<t.highWaterMark)&&d("length less than watermark",o=!0),t.ended||t.reading?d("reading or ended",o=!1):o&&(d("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=P(r,t))),null===(n=e>0?G(e,t):null)?(t.needReadable=t.length<=t.highWaterMark,e=0):(t.length-=e,t.awaitDrain=0),0===t.length&&(t.ended||(t.needReadable=!0),r!==e&&t.ended&&$(this)),null!==n&&this.emit
vendor: 1,557 bytes, line 2
2("data",n),n},B.prototype._read=function(e){M(this,new k("_read()"))},B.prototype.pipe=function(e,t){var r=this,o=this._readableState;switch(o.pipesCount){case 0:o.pipes=e;break;case 1:o.pipes=[o.pipes,e];break;default:o.pipes.push(e)}o.pipesCount+=1,d("pipe count=%d opts=%j",o.pipesCount,t);var f=(!t||!1!==t.end)&&e!==n.stdout&&e!==n.stderr?l:S;function h(t,n){d("onunpipe"),t===r&&n&&!1===n.hasUnpiped&&(n.hasUnpiped=!0,d("cleanup"),e.removeListener("close",_),e.removeListener("finish",E),e.removeListener("drain",y),e.removeListener("error",w),e.removeListener("unpipe",h),r.removeListener("end",l),r.removeListener("end",S),r.removeListener("data",v),m=!0,!o.awaitDrain||e._writableState&&!e._writableState.needDrain||y())}function l(){d("onend"),e.end()}o.endEmitted?n.nextTick(f):r.once("end",f),e.on("unpipe",h);var y=function(e){return function(){var t=e._readableState;d("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&c(e,"data")&&(t.flowing=!0,H(e))}}(r);e.on("drain",y);var m=!1;function v(t){d("ondata");var n=e.write(t);d("dest.write",n),!1===n&&((1===o.pipesCount&&o.pipes===e||o.pipesCount>1&&-1!==Y(o.pipes,e))&&!m&&(d("false write response, pause",o.awaitDrain),o.awaitDrain++),r.pause())}function w(t){d("onerror",t),S(),e.removeListener("error",w),0===c(e,"error")&&M(e,t)}function _(){e.removeListener("finish",E),S()}function E(){d("onfinish"),e.removeListener("close",_),S()}function S(){d("unpipe"),r.unpipe(e)}return r.on("data",v),function(e,t,r){if("function"==typeof e.prependListener)return e.prepe
vendor: 19,372 bytes, line 2
2ndListener(t,r);e._events&&e._events[t]?Array.isArray(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]:e.on(t,r)}(e,"error",w),e.once("close",_),e.once("finish",E),e.emit("pipe",r),o.flowing||(d("pipe resume"),r.resume()),e},B.prototype.unpipe=function(e){var t=this._readableState,r={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,r)),this;if(!e){var n=t.pipes,o=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var i=0;i<o;i++)n[i].emit("unpipe",this,{hasUnpiped:!1});return this}var c=Y(t.pipes,e);return-1===c||(t.pipes.splice(c,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,r)),this},B.prototype.on=function(e,t){var r=f.prototype.on.call(this,e,t),o=this._readableState;return"data"===e?(o.readableListening=this.listenerCount("readable")>0,!1!==o.flowing&&this.resume()):"readable"===e&&(o.endEmitted||o.readableListening||(o.readableListening=o.needReadable=!0,o.flowing=!1,o.emittedReadable=!1,d("on readable",o.length,o.reading),o.length?D(this):o.reading||n.nextTick(K,this))),r},B.prototype.addListener=B.prototype.on,B.prototype.removeListener=function(e,t){var r=f.prototype.removeListener.call(this,e,t);return"readable"===e&&n.nextTick(V,this),r},B.prototype.removeAllListeners=function(e){var t=f.prototype.removeAllListeners.apply(this,arguments);return"readable"!==e&&void 0!==e||n.nextTick(V,this),t},B.prototype.resume=function(){var e=this._readableState;return e.flowing||(d("resume"),e.flowing=!e.readableListening,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,n.nextTick(z,e,t))}(this,e)),e.paused=!1,this},B.prototype.pause=function(){return d("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(d("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},B.prototype.wrap=function(e){var t=this,r=this._readableState,n=!1;for(var i in e.on("end",(function(){if(d("wrapped end"),r.decoder&&!r.ended){var e=r.decoder.end();e&&e.length&&t.push(e)}t.push(null)})),e.on("data",(function(o){(d("wrapped data"),r.decoder&&(o=r.decoder.write(o)),r.objectMode&&null==o)||(r.objectMode||o&&o.length)&&(t.push(o)||(n=!0,e.pause()))})),e)void 0===this[i]&&"function"==typeof e[i]&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));for(var o=0;o<R.length;o++)e.on(R[o],this.emit.bind(this,R[o]));return this._read=function(t){d("wrapped _read",t),n&&(n=!1,e.resume())},this},"function"==typeof Symbol&&(B.prototype[Symbol.asyncIterator]=function(){return void 0===v&&(v=r(782)),v(this)}),Object.defineProperty(B.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(B.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(B.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(e){this._readableState&&(this._readableState.flowing=e)}}),B._fromList=G,Object.defineProperty(B.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),"function"==typeof Symbol&&(B.from=function(e,t){return void 0===w&&(w=r(783)),w(B,e,t)})}).call(this,r(20),r(17))},function(e,t,r){e.exports=r(73).EventEmitter},function(e,t,r){"use strict";(function(t){function r(e,t){o(e,t),n(e)}function n(e){e._writableState&&!e._writableState.emitClose||e._readableState&&!e._readableState.emitClose||e.emit("close")}function o(e,t){e.emit("error",t)}e.exports={destroy:function(e,c){var f=this,h=this._readableState&&this._readableState.destroyed,l=this._writableState&&this._writableState.destroyed;return h||l?(c?c(e):e&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,t.nextTick(o,this,e)):t.nextTick(o,this,e)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,(function(e){!c&&e?f._writableState?f._writableState.errorEmitted?t.nextTick(n,f):(f._writableState.errorEmitted=!0,t.nextTick(r,f,e)):t.nextTick(r,f,e):c?(t.nextTick(n,f),c(e)):t.nextTick(n,f)})),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)},errorOrDestroy:function(e,t){var r=e._readableState,n=e._writableState;r&&r.autoDestroy||n&&n.autoDestroy?e.destroy(t):e.emit("error",t)}}}).call(this,r(17))},function(e,t,r){"use strict";var n=r(113).codes.ERR_INVALID_OPT_VALUE;e.exports={getHighWaterMark:function(e,t,r,o){var c=function(e,t,r){return null!=e.highWaterMark?e.highWaterMark:t?e[r]:null}(t,o,r);if(null!=c){if(!isFinite(c)||Math.floor(c)!==c||c<0)throw new n(o?r:"highWaterMark",c);return Math.floor(c)}return e.objectMode?16:16384}}},function(e,t,r){"use strict";(function(t,n){function o(e){var t=this;this.next=null,this.entry=null,this.finish=function(){!function(e,t,r){var n=e.entry;e.entry=null;for(;n;){var o=n.callback;t.pendingcb--,o(r),n=n.next}t.corkedRequestsFree.next=e}(t,e)}}var c;e.exports=B,B.WritableState=x;var f={deprecate:r(241)},h=r(412),l=r(15).Buffer,d=t.Uint8Array||function(){};var y,m=r(413),v=r(414).getHighWaterMark,w=r(113).codes,_=w.ERR_INVALID_ARG_TYPE,E=w.ERR_METHOD_NOT_IMPLEMENTED,S=w.ERR_MULTIPLE_CALLBACK,C=w.ERR_STREAM_CANNOT_PIPE,A=w.ERR_STREAM_DESTROYED,T=w.ERR_STREAM_NULL_VALUES,k=w.ERR_STREAM_WRITE_AFTER_END,I=w.ERR_UNKNOWN_ENCODING,M=m.errorOrDestroy;function R(){}function x(e,t,f){c=c||r(114),e=e||{},"boolean"!=typeof f&&(f=t instanceof c),this.objectMode=!!e.objectMode,f&&(this.objectMode=this.objectMode||!!e.writableObjectMode),this.highWaterMark=v(this,e,"writableHighWaterMark",f),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var h=!1===e.decodeStrings;this.decodeStrings=!h,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,t){var r=e._writableState,o=r.sync,c=r.writecb;if("function"!=typeof c)throw new S;if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(r),t)!function(e,t,r,o,c){--t.pendingcb,r?(n.nextTick(c,o),n.nextTick(j,e,t),e._writableState.errorEmitted=!0,M(e,o)):(c(o),e._writableState.errorEmitted=!0,M(e,o),j(e,t))}(e,r,o,t,c);else{var f=P(r)||e.destroyed;f||r.corked||r.bufferProcessing||!r.bufferedRequest||L(e,r),o?n.nextTick(O,e,r,f,c):O(e,r,f,c)}}(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==e.emitClose,this.autoDestroy=!!e.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new o(this)}function B(e){var t=this instanceof(c=c||r(114));if(!t&&!y.call(B,this))return new B(e);this._writableState=new x(e,this,t),this.writable=!0,e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.final&&(this._final=e.final)),h.call(this)}function N(e,t,r,n,o,c,f){t.writelen=n,t.writecb=f,t.writing=!0,t.sync=!0,t.destroyed?t.onwrite(new A("write")):r?e._writev(o,t.onwrite):e._write(o,c,t.onwrite),t.sync=!1}function O(e,t,r,n){r||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,n(),j(e,t)}function L(e,t){t.bufferProcessing=!0;var r=t.bufferedRequest;if(e._writev&&r&&r.next){var n=t.bufferedRequestCount,c=new Array(n),f=t.corkedRequestsFree;f.entry=r;for(var h=0,l=!0;r;)c[h]=r,r.isBuf||(l=!1),r=r.next,h+=1;c.allBuffers=l,N(e,t,!0,t.length,c,"",f.finish),t.pendingcb++,t.lastBufferedRequest=null,f.next?(t.corkedRequestsFree=f.next,f.next=null):t.corkedRequestsFree=new o(t),t.bufferedRequestCount=0}else{for(;r;){var d=r.chunk,y=r.encoding,m=r.callback;if(N(e,t,!1,t.objectMode?1:d.length,d,y,m),r=r.next,t.bufferedRequestCount--,t.writing)break}null===r&&(t.lastBufferedRequest=null)}t.bufferedRequest=r,t.bufferProcessing=!1}function P(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function D(e,t){e._final((function(r){t.pendingcb--,r&&M(e,r),t.prefinished=!0,e.emit("prefinish"),j(e,t)}))}function j(e,t){var r=P(t);if(r&&(function(e,t){t.prefinished||t.finalCalled||("function"!=typeof e._final||t.destroyed?(t.prefinished=!0,e.emit("prefinish")):(t.pendingcb++,t.finalCalled=!0,n.nextTick(D,e,t)))}(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"),t.autoDestroy))){var o=e._readableState;(!o||o.autoDestroy&&o.endEmitted)&&e.destroy()}return r}r(5)(B,h),x.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(x.prototype,"buffer",{get:f.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(y=Function.prototype[Symbol.hasInstance],Object.defineProperty(B,Symbol.hasInstance,{value:function(object){return!!y.call(this,object)||this===B&&(object&&object._writableState instanceof x)}})):y=function(object){return object instanceof this},B.prototype.pipe=function(){M(this,new C)},B.prototype.write=function(e,t,r){var o,c=this._writableState,f=!1,h=!c.objectMode&&(o=e,l.isBuffer(o)||o instanceof d);return h&&!l.isBuffer(e)&&(e=function(e){return l.from(e)}(e)),"function"==typeof t&&(r=t,t=null),h?t="buffer":t||(t=c.defaultEncoding),"function"!=typeof r&&(r=R),c.ending?function(e,t){var r=new k;M(e,r),n.nextTick(t,r)}(this,r):(h||function(e,t,r,o){var c;return null===r?c=new T:"string"==typeof r||t.objectMode||(c=new _("chunk",["string","Buffer"],r)),!c||(M(e,c),n.nextTick(o,c),!1)}(this,c,e,r))&&(c.pendingcb++,f=function(e,t,r,n,o,c){if(!r){var f=function(e,t,r){e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=l.from(t,r));return t}(t,n,o);n!==f&&(r=!0,o="buffer",n=f)}var h=t.objectMode?1:n.length;t.length+=h;var d=t.length<t.highWaterMark;d||(t.needDrain=!0);if(t.writing||t.corked){var y=t.lastBufferedRequest;t.lastBufferedRequest={chunk:n,encoding:o,isBuf:r,callback:c,next:null},y?y.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else N(e,t,!1,h,n,o,c);return d}(this,c,h,e,t,r)),f},B.prototype.cork=function(){this._writableState.corked++},B.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.bufferProcessing||!e.bufferedRequest||L(this,e))},B.prototype.setDefaultEncoding=function(e){if("string"==typeof e&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new I(e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(B.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(B.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),B.prototype._write=function(e,t,r){r(new E("_write()"))},B.prototype._writev=null,B.prototype.end=function(e,t,r){var o=this._writableState;return"function"==typeof e?(r=e,e=null,t=null):"function"==typeof t&&(r=t,t=null),null!=e&&this.write(e,t),o.corked&&(o.corked=1,this.uncork()),o.ending||function(e,t,r){t.ending=!0,j(e,t),r&&(t.finished?n.nextTick(r):e.once("finish",r));t.ended=!0,e.writable=!1}(this,o,r),this},Object.defineProperty(B.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(B.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),B.prototype.destroy=m.destroy,B.prototype._undestroy=m.undestroy,B.prototype._destroy=function(e,t){t(e)}}).call(this,r(20),r(17))},function(e,t,r){"use strict";e.exports=y;var n=r(113).codes,o=n.ERR_METHOD_NOT_IMPLEMENTED,c=n.ERR_MULTIPLE_CALLBACK,f=n.ERR_TRANSFORM_ALREADY_TRANSFORMING,h=n.ERR_TRANSFORM_WITH_LENGTH_0,l=r(114);function d(e,data){var t=this._transformState;t.transforming=!1;var r=t.writecb;if(null===r)return this.emit("error",new c);t.writechunk=null,t.writecb=null,null!=data&&this.push(data),r(e);var n=this._readableState;n.reading=!1,(n.needReadable||n.length<n.highWaterMark)&&this._read(n.highWaterMark)}function y(e){if(!(this instanceof y))return new y(e);l.call(this,e),this._transformState={afterTransform:d.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"==typeof e.transform&&(this._transform=e.transform),"function"==typeof e.flush&&(this._flush=e.flush)),this.on("prefinish",m)}function m(){var e=this;"function"!=typeof this._flush||this._readableState.destroyed?v(this,null,null):this._flush((function(t,data){v(e,t,data)}))}function v(e,t,data){if(t)return e.emit("error",t);if(null!=data&&e.push(data),e._writableState.length)throw new h;if(e._transformState.transforming)throw new f;return e.push(null)}r(5)(y,l),y.prototype.push=function(e,t){return this._transformState.needTransform=!1,l.prototype.push.call(this,e,t)},y.prototype._transform=function(e,t,r){r(new o("_transform()"))},y.prototype._write=function(e,t,r){var n=this._transformState;if(n.writecb=r,n.writechunk=e,n.writeencoding=t,!n.transforming){var o=this._readableState;(n.needTransform||o.needReadable||o.length<o.highWaterMark)&&this._read(o.highWaterMark)}},y.prototype._read=function(e){var t=this._transformState;null===t.writechunk||t.transforming?t.needTransform=!0:(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform))},y.prototype._destroy=function(e,t){l.prototype._destroy.call(this,e,(function(e){t(e)}))}},function(e,t,r){"use strict";var n=t;function o(e){return 1===e.length?"0"+e:e}function c(e){for(var t="",i=0;i<e.length;i++)t+=o(e[i].toString(16));return t}n.toArray=function(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var r=[];if("string"!=typeof e){for(var i=0;i<e.length;i++)r[i]=0|e[i];return r}if("hex"===t){(e=e.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(e="0"+e);for(i=0;i<e.length;i+=2)r.push(parseInt(e[i]+e[i+1],16))}else for(i=0;i<e.length;i++){var n=e.charCodeAt(i),o=n>>8,c=255&n;o?r.push(o,c):r.push(c)}return r},n.zero2=o,n.toHex=c,n.encode=function(e,t){return"hex"===t?c(e):e}},function(e,t,r){"use strict";var n=t;n.base=r(178),n.short=r(790),n.mont=r(791),n.edwards=r(792)},function(e,t,r){"use strict";var n=r(66).rotr32;function o(e,t,r){return e&t^~e&r}function c(e,t,r){return e&t^e&r^t&r}function f(e,t,r){return e^t^r}t.ft_1=function(s,e,t,r){return 0===s?o(e,t,r):1===s||3===s?f(e,t,r):2===s?c(e,t,r):void 0},t.ch32=o,t.maj32=c,t.p32=f,t.s0_256=function(e){return n(e,2)^n(e,13)^n(e,22)},t.s1_256=function(e){return n(e,6)^n(e,11)^n(e,25)},t.g0_256=function(e){return n(e,7)^n(e,18)^e>>>3},t.g1_256=function(e){return n(e,17)^n(e,19)^e>>>10}},function(e,t,r){"use strict";var n=r(66),o=r(141),c=r(419),f=r(54),h=n.sum32,l=n.sum32_4,d=n.sum32_5,y=c.ch32,m=c.maj32,v=c.s0_256,w=c.s1_256,_=c.g0_256,E=c.g1_256,S=o.BlockHash,C=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];function A(){if(!(this instanceof A))return new A;S.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=C,this.W=new Array(64)}n.inherits(A,S),e.exports=A,A.blockSize=512,A.outSize=256,A.hmacStrength=192,A.padLength=64,A.prototype._update=function(e,t){for(var r=this.W,i=0;i<16;i++)r[i]=e[t+i];for(;i<r.length;i++)r[i]=l(E(r[i-2]),r[i-7],_(r[i-15]),r[i-16]);var a=this.h[0],b=this.h[1],n=this.h[2],o=this.h[3],c=this.h[4],S=this.h[5],g=this.h[6],C=this.h[7];for(f(this.k.length===r.length),i=0;i<r.length;i++){var A=d(C,w(c),y(c,S,g),this.k[i],r[i]),T=h(v(a),m(a,b,n));C=g,g=S,S=c,c=h(o,A),o=n,n=b,b=a,a=h(A,T)}this.h[0]=h(this.h[0],a),this.h[1]=h(this.h[1],b),this.h[2]=h(this.h[2],n),this.h[3]=h(this.h[3],o),this.h[4]=h(this.h[4],c),this.h[5]=h(this.h[5],S),this.h[6]=h(this.h[6],g),this.h[7]=h(this.h[7],C)},A.prototype._digest=function(e){return"hex"===e?n.toHex32(this.h,"big"):n.split32(this.h,"big")}},function(e,t,r){"use strict";var n=r(66),o=r(141),c=r(54),f=n.rotr64_hi,h=n.rotr64_lo,l=n.shr64_hi,d=n.shr64_lo,y=n.sum64,m=n.sum64_hi,v=n.sum64_lo,w=n.sum64_4_hi,_=n.sum64_4_lo,E=n.sum64_5_hi,S=n.sum64_5_lo,C=o.BlockHash,A=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,
vendor: 3,006 bytes, line 2
21126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591];function T(){if(!(this instanceof T))return new T;C.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=A,this.W=new Array(160)}function k(e,t,r,n,o){var c=e&r^~e&o;return c<0&&(c+=4294967296),c}function I(e,t,r,n,o,c){var f=t&n^~t&c;return f<0&&(f+=4294967296),f}function M(e,t,r,n,o){var c=e&r^e&o^r&o;return c<0&&(c+=4294967296),c}function R(e,t,r,n,o,c){var f=t&n^t&c^n&c;return f<0&&(f+=4294967296),f}function x(e,t){var r=f(e,t,28)^f(t,e,2)^f(t,e,7);return r<0&&(r+=4294967296),r}function B(e,t){var r=h(e,t,28)^h(t,e,2)^h(t,e,7);return r<0&&(r+=4294967296),r}function N(e,t){var r=f(e,t,14)^f(e,t,18)^f(t,e,9);return r<0&&(r+=4294967296),r}function O(e,t){var r=h(e,t,14)^h(e,t,18)^h(t,e,9);return r<0&&(r+=4294967296),r}function L(e,t){var r=f(e,t,1)^f(e,t,8)^l(e,t,7);return r<0&&(r+=4294967296),r}function P(e,t){var r=h(e,t,1)^h(e,t,8)^d(e,t,7);return r<0&&(r+=4294967296),r}function D(e,t){var r=f(e,t,19)^f(t,e,29)^l(e,t,6);return r<0&&(r+=4294967296),r}function j(e,t){var r=h(e,t,19)^h(t,e,29)^d(e,t,6);return r<0&&(r+=4294967296),r}n.inherits(T,C),e.exports=T,T.blockSize=1024,T.outSize=512,T.hmacStrength=192,T.padLength=128,T.prototype._prepareBlock=function(e,t){for(var r=this.W,i=0;i<32;i++)r[i]=e[t+i];for(;i<r.length;i+=2){var n=D(r[i-4],r[i-3]),o=j(r[i-4],r[i-3]),c=r[i-14],f=r[i-13],h=L(r[i-30],r[i-29]),l=P(r[i-30],r[i-29]),d=r[i-32],y=r[i-31];r[i]=w(n,o,c,f,h,l,d,y),r[i+1]=_(n,o,c,f,h,l,d,y)}},T.prototype._update=function(e,t){this._prepareBlock(e,t);var r=this.W,n=this.h[0],o=this.h[1],f=this.h[2],h=this.h[3],l=this.h[4],d=this.h[5],w=this.h[6],dl=this.h[7],_=this.h[8],C=this.h[9],A=this.h[10],T=this.h[11],L=this.h[12],P=this.h[13],D=this.h[14],j=this.h[15];c(this.k.length===r.length);for(var i=0;i<r.length;i+=2){var U=D,F=j,V=N(_,C),K=O(_,C),z=k(_,C,A,T,L),H=I(_,C,A,T,L,P),G=this.k[i],$=this.k[i+1],W=r[i],Y=r[i+1],X=E(U,F,V,K,z,H,G,$,W,Y),J=S(U,F,V,K,z,H,G,$,W,Y);U=x(n,o),F=B(n,o),V=M(n,o,f,h,l),K=R(n,o,f,h,l,d);var Q=m(U,F,V,K),Z=v(U,F,V,K);D=L,j=P,L=A,P=T,A=_,T=C,_=m(w,dl,X,J),C=v(dl,dl,X,J),w=l,dl=d,l=f,d=h,f=n,h=o,n=m(X,J,Q,Z),o=v(X,J,Q,Z)}y(this.h,0,n,o),y(this.h,2,f,h),y(this.h,4,l,d),y(this.h,6,w,dl),y(this.h,8,_,C),y(this.h,10,A,T),y(this.h,12,L,P),y(this.h,14,D,j)},T.prototype._digest=function(e){return"hex"===e?n.toHex32(this.h,"big"):n.split32(this.h,"big")}},function(e,t,r){(function(e){!function(e,t){"use strict";function n(e,t){if(!e)throw new Error(t||"Assertion failed")}function o(e,t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}function c(e,base,t){if(c.isBN(e))return e;this.negative=0,this.words=null,this.length=0,this.red=null,null!==e&&("le"!==base&&"be"!==base||(t=base,base=10),this._init(e||0,base||10,t||"be"))}var f;
vendor: 4,530 bytes, line 2
2"object"==typeof e?e.exports=c:t.BN=c,c.BN=c,c.wordSize=26;try{f="undefined"!=typeof window&&void 0!==window.Buffer?window.Buffer:r(807).Buffer}catch(e){}function h(e,t){var r=e.charCodeAt(t);return r>=48&&r<=57?r-48:r>=65&&r<=70?r-55:r>=97&&r<=102?r-87:void n(!1,"Invalid character in "+e)}function l(e,t,r){var n=h(e,r);return r-1>=t&&(n|=h(e,r-1)<<4),n}function d(e,t,r,o){for(var c=0,b=0,f=Math.min(e.length,r),i=t;i<f;i++){var h=e.charCodeAt(i)-48;c*=o,b=h>=49?h-49+10:h>=17?h-17+10:h,n(h>=0&&b<o,"Invalid character"),c+=b}return c}function y(e,t){e.words=t.words,e.length=t.length,e.negative=t.negative,e.red=t.red}if(c.isBN=function(e){return e instanceof c||null!==e&&"object"==typeof e&&e.constructor.wordSize===c.wordSize&&Array.isArray(e.words)},c.max=function(e,t){return e.cmp(t)>0?e:t},c.min=function(e,t){return e.cmp(t)<0?e:t},c.prototype._init=function(e,base,t){if("number"==typeof e)return this._initNumber(e,base,t);if("object"==typeof e)return this._initArray(e,base,t);"hex"===base&&(base=16),n(base===(0|base)&&base>=2&&base<=36);var r=0;"-"===(e=e.toString().replace(/\s+/g,""))[0]&&(r++,this.negative=1),r<e.length&&(16===base?this._parseHex(e,r,t):(this._parseBase(e,base,r),"le"===t&&this._initArray(this.toArray(),base,t)))},c.prototype._initNumber=function(e,base,t){e<0&&(this.negative=1,e=-e),e<67108864?(this.words=[67108863&e],this.length=1):e<4503599627370496?(this.words=[67108863&e,e/67108864&67108863],this.length=2):(n(e<9007199254740992),this.words=[67108863&e,e/67108864&67108863,1],this.length=3),"le"===t&&this._initArray(this.toArray(),base,t)},c.prototype._initArray=function(e,base,t){if(n("number"==typeof e.length),e.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(e.length/3),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var r,o,c=0;if("be"===t)for(i=e.length-1,r=0;i>=0;i-=3)o=e[i]|e[i-1]<<8|e[i-2]<<16,this.words[r]|=o<<c&67108863,this.words[r+1]=o>>>26-c&67108863,(c+=24)>=26&&(c-=26,r++);else if("le"===t)for(i=0,r=0;i<e.length;i+=3)o=e[i]|e[i+1]<<8|e[i+2]<<16,this.words[r]|=o<<c&67108863,this.words[r+1]=o>>>26-c&67108863,(c+=24)>=26&&(c-=26,r++);return this._strip()},c.prototype._parseHex=function(e,t,r){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var n,o=0,c=0;if("be"===r)for(i=e.length-1;i>=t;i-=2)n=l(e,t,i)<<o,this.words[c]|=67108863&n,o>=18?(o-=18,c+=1,this.words[c]|=n>>>26):o+=8;else for(i=(e.length-t)%2==0?t+1:t;i<e.length;i+=2)n=l(e,t,i)<<o,this.words[c]|=67108863&n,o>=18?(o-=18,c+=1,this.words[c]|=n>>>26):o+=8;this._strip()},c.prototype._parseBase=function(e,base,t){this.words=[0],this.length=1;for(var r=0,n=1;n<=67108863;n*=base)r++;r--,n=n/base|0;for(var o=e.length-t,c=o%r,f=Math.min(o,o-c)+t,h=0,i=t;i<f;i+=r)h=d(e,i,i+r,base),this.imuln(n),this.words[0]+h<67108864?this.words[0]+=h:this._iaddn(h);if(0!==c){var l=1;for(h=d(e,i,e.length,base),i=0;i<c;i++)l*=base;this.imuln(l),this.words[0]+h<67108864?this.words[0]+=h:this._iaddn(h)}this._strip()},c.prototype.copy=function(e){e.words=new Array(this.length);for(var i=0;i<this.length;i++)e.words[i]=this.words[i];e.length=this.length,e.negative=this.negative,e.red=this.red},c.prototype._move=function(e){y(e,this)},c.prototype.clone=function(){var e=new c(null);return this.copy(e),e},c.prototype._expand=function(e){for(;this.length<e;)this.words[this.length++]=0;return this},c.prototype._strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},c.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},"undefined"!=typeof Symbol&&"function"==typeof Symbol.for)try{c.prototype[Symbol.for("nodejs.util.inspect.custom")]=m}catch(e){c.prototype.inspect=m}else c.prototype.inspect=m;function m(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"}var v=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],w=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],_=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16
vendor: 35,002 bytes, line 2
2777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];c.prototype.toString=function(base,e){var t;if(e=0|e||1,16===(base=base||10)||"hex"===base){t="";for(var r=0,o=0,i=0;i<this.length;i++){var c=this.words[i],f=(16777215&(c<<r|o)).toString(16);o=c>>>24-r&16777215,(r+=2)>=26&&(r-=26,i--),t=0!==o||i!==this.length-1?v[6-f.length]+f+t:f+t}for(0!==o&&(t=o.toString(16)+t);t.length%e!=0;)t="0"+t;return 0!==this.negative&&(t="-"+t),t}if(base===(0|base)&&base>=2&&base<=36){var h=w[base],l=_[base];t="";var d=this.clone();for(d.negative=0;!d.isZero();){var y=d.modrn(l).toString(base);t=(d=d.idivn(l)).isZero()?y+t:v[h-y.length]+y+t}for(this.isZero()&&(t="0"+t);t.length%e!=0;)t="0"+t;return 0!==this.negative&&(t="-"+t),t}n(!1,"Base should be between 2 and 36")},c.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},c.prototype.toJSON=function(){return this.toString(16,2)},f&&(c.prototype.toBuffer=function(e,t){return this.toArrayLike(f,e,t)}),c.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)};function E(e,t,r){r.negative=t.negative^e.negative;var n=e.length+t.length|0;r.length=n,n=n-1|0;var a=0|e.words[0],b=0|t.words[0],o=a*b,c=67108863&o,f=o/67108864|0;r.words[0]=c;for(var h=1;h<n;h++){for(var l=f>>>26,d=67108863&f,y=Math.min(h,t.length-1),m=Math.max(0,h-e.length+1);m<=y;m++){var i=h-m|0;l+=(o=(a=0|e.words[i])*(b=0|t.words[m])+d)/67108864|0,d=67108863&o}r.words[h]=0|d,f=0|l}return 0!==f?r.words[h]=0|f:r.length--,r._strip()}c.prototype.toArrayLike=function(e,t,r){this._strip();var o=this.byteLength(),c=r||Math.max(1,o);n(o<=c,"byte array longer than desired length"),n(c>0,"Requested array length <= 0");var f=function(e,t){return e.allocUnsafe?e.allocUnsafe(t):new e(t)}(e,c);return this["_toArrayLike"+("le"===t?"LE":"BE")](f,o),f},c.prototype._toArrayLikeLE=function(e,t){for(var r=0,n=0,i=0,o=0;i<this.length;i++){var c=this.words[i]<<o|n;e[r++]=255&c,r<e.length&&(e[r++]=c>>8&255),r<e.length&&(e[r++]=c>>16&255),6===o?(r<e.length&&(e[r++]=c>>24&255),n=0,o=0):(n=c>>>24,o+=2)}if(r<e.length)for(e[r++]=n;r<e.length;)e[r++]=0},c.prototype._toArrayLikeBE=function(e,t){for(var r=e.length-1,n=0,i=0,o=0;i<this.length;i++){var c=this.words[i]<<o|n;e[r--]=255&c,r>=0&&(e[r--]=c>>8&255),r>=0&&(e[r--]=c>>16&255),6===o?(r>=0&&(e[r--]=c>>24&255),n=0,o=0):(n=c>>>24,o+=2)}if(r>=0)for(e[r--]=n;r>=0;)e[r--]=0},Math.clz32?c.prototype._countBits=function(e){return 32-Math.clz32(e)}:c.prototype._countBits=function(e){var t=e,r=0;return t>=4096&&(r+=13,t>>>=13),t>=64&&(r+=7,t>>>=7),t>=8&&(r+=4,t>>>=4),t>=2&&(r+=2,t>>>=2),r+t},c.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,r=0;return 0==(8191&t)&&(r+=13,t>>>=13),0==(127&t)&&(r+=7,t>>>=7),0==(15&t)&&(r+=4,t>>>=4),0==(3&t)&&(r+=2,t>>>=2),0==(1&t)&&r++,r},c.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return 26*(this.length-1)+t},c.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,i=0;i<this.length;i++){var b=this._zeroBits(this.words[i]);if(e+=b,26!==b)break}return e},c.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},c.prototype.toTwos=function(e){return 0!==this.negative?this.abs().inotn(e).iaddn(1):this.clone()},c.prototype.fromTwos=function(e){return this.testn(e-1)?this.notn(e).iaddn(1).ineg():this.clone()},c.prototype.isNeg=function(){return 0!==this.negative},c.prototype.neg=function(){return this.clone().ineg()},c.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},c.prototype.iuor=function(e){for(;this.length<e.length;)this.words[this.length++]=0;for(var i=0;i<e.length;i++)this.words[i]=this.words[i]|e.words[i];return this._strip()},c.prototype.ior=function(e){return n(0==(this.negative|e.negative)),this.iuor(e)},c.prototype.or=function(e){return this.length>e.length?this.clone().ior(e):e.clone().ior(this)},c.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},c.prototype.iuand=function(e){var b;b=this.length>e.length?e:this;for(var i=0;i<b.length;i++)this.words[i]=this.words[i]&e.words[i];return this.length=b.length,this._strip()},c.prototype.iand=function(e){return n(0==(this.negative|e.negative)),this.iuand(e)},c.prototype.and=function(e){return this.length>e.length?this.clone().iand(e):e.clone().iand(this)},c.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},c.prototype.iuxor=function(e){var a,b;this.length>e.length?(a=this,b=e):(a=e,b=this);for(var i=0;i<b.length;i++)this.words[i]=a.words[i]^b.words[i];if(this!==a)for(;i<a.length;i++)this.words[i]=a.words[i];return this.length=a.length,this._strip()},c.prototype.ixor=function(e){return n(0==(this.negative|e.negative)),this.iuxor(e)},c.prototype.xor=function(e){return this.length>e.length?this.clone().ixor(e):e.clone().ixor(this)},c.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},c.prototype.inotn=function(e){n("number"==typeof e&&e>=0);var t=0|Math.ceil(e/26),r=e%26;this._expand(t),r>0&&t--;for(var i=0;i<t;i++)this.words[i]=67108863&~this.words[i];return r>0&&(this.words[i]=~this.words[i]&67108863>>26-r),this._strip()},c.prototype.notn=function(e){return this.clone().inotn(e)},c.prototype.setn=function(e,t){n("number"==typeof e&&e>=0);var r=e/26|0,o=e%26;return this._expand(r+1),this.words[r]=t?this.words[r]|1<<o:this.words[r]&~(1<<o),this._strip()},c.prototype.iadd=function(e){var t,a,b;if(0!==this.negative&&0===e.negative)return this.negative=0,t=this.isub(e),this.negative^=1,this._normSign();if(0===this.negative&&0!==e.negative)return e.negative=0,t=this.isub(e),e.negative=1,t._normSign();this.length>e.length?(a=this,b=e):(a=e,b=this);for(var r=0,i=0;i<b.length;i++)t=(0|a.words[i])+(0|b.words[i])+r,this.words[i]=67108863&t,r=t>>>26;for(;0!==r&&i<a.length;i++)t=(0|a.words[i])+r,this.words[i]=67108863&t,r=t>>>26;if(this.length=a.length,0!==r)this.words[this.length]=r,this.length++;else if(a!==this)for(;i<a.length;i++)this.words[i]=a.words[i];return this},c.prototype.add=function(e){var t;return 0!==e.negative&&0===this.negative?(e.negative=0,t=this.sub(e),e.negative^=1,t):0===e.negative&&0!==this.negative?(this.negative=0,t=e.sub(this),this.negative=1,t):this.length>e.length?this.clone().iadd(e):e.clone().iadd(this)},c.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t=this.iadd(e);return e.negative=1,t._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var a,b,r=this.cmp(e);if(0===r)return this.negative=0,this.length=1,this.words[0]=0,this;r>0?(a=this,b=e):(a=e,b=this);for(var n=0,i=0;i<b.length;i++)n=(t=(0|a.words[i])-(0|b.words[i])+n)>>26,this.words[i]=67108863&t;for(;0!==n&&i<a.length;i++)n=(t=(0|a.words[i])+n)>>26,this.words[i]=67108863&t;if(0===n&&i<a.length&&a!==this)for(;i<a.length;i++)this.words[i]=a.words[i];return this.length=Math.max(this.length,i),a!==this&&(this.negative=1),this._strip()},c.prototype.sub=function(e){return this.clone().isub(e)};var S=function(e,t,r){var n,o,c,a=e.words,b=t.words,f=r.words,h=0,l=0|a[0],d=8191&l,y=l>>>13,m=0|a[1],v=8191&m,w=m>>>13,_=0|a[2],E=8191&_,S=_>>>13,C=0|a[3],A=8191&C,T=C>>>13,k=0|a[4],I=8191&k,M=k>>>13,R=0|a[5],x=8191&R,B=R>>>13,N=0|a[6],O=8191&N,L=N>>>13,P=0|a[7],D=8191&P,j=P>>>13,U=0|a[8],F=8191&U,V=U>>>13,K=0|a[9],z=8191&K,H=K>>>13,G=0|b[0],$=8191&G,W=G>>>13,Y=0|b[1],X=8191&Y,J=Y>>>13,Q=0|b[2],Z=8191&Q,ee=Q>>>13,te=0|b[3],re=8191&te,ne=te>>>13,ie=0|b[4],ae=8191&ie,oe=ie>>>13,se=0|b[5],ue=8191&se,ce=se>>>13,fe=0|b[6],he=8191&fe,le=fe>>>13,de=0|b[7],pe=8191&de,ge=de>>>13,ye=0|b[8],me=8191&ye,ve=ye>>>13,be=0|b[9],we=8191&be,_e=be>>>13;r.negative=e.negative^t.negative,r.length=19;var Ee=(h+(n=Math.imul(d,$))|0)+((8191&(o=(o=Math.imul(d,W))+Math.imul(y,$)|0))<<13)|0;h=((c=Math.imul(y,W))+(o>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,n=Math.imul(v,$),o=(o=Math.imul(v,W))+Math.imul(w,$)|0,c=Math.imul(w,W);var Se=(h+(n=n+Math.imul(d,X)|0)|0)+((8191&(o=(o=o+Math.imul(d,J)|0)+Math.imul(y,X)|0))<<13)|0;h=((c=c+Math.imul(y,J)|0)+(o>>>13)|0)+(Se>>>26)|0,Se&=67108863,n=Math.imul(E,$),o=(o=Math.imul(E,W))+Math.imul(S,$)|0,c=Math.imul(S,W),n=n+Math.imul(v,X)|0,o=(o=o+Math.imul(v,J)|0)+Math.imul(w,X)|0,c=c+Math.imul(w,J)|0;var Ce=(h+(n=n+Math.imul(d,Z)|0)|0)+((8191&(o=(o=o+Math.imul(d,ee)|0)+Math.imul(y,Z)|0))<<13)|0;h=((c=c+Math.imul(y,ee)|0)+(o>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,n=Math.imul(A,$),o=(o=Math.imul(A,W))+Math.imul(T,$)|0,c=Math.imul(T,W),n=n+Math.imul(E,X)|0,o=(o=o+Math.imul(E,J)|0)+Math.imul(S,X)|0,c=c+Math.imul(S,J)|0,n=n+Math.imul(v,Z)|0,o=(o=o+Math.imul(v,ee)|0)+Math.imul(w,Z)|0,c=c+Math.imul(w,ee)|0;var Ae=(h+(n=n+Math.imul(d,re)|0)|0)+((8191&(o=(o=o+Math.imul(d,ne)|0)+Math.imul(y,re)|0))<<13)|0;h=((c=c+Math.imul(y,ne)|0)+(o>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,n=Math.imul(I,$),o=(o=Math.imul(I,W))+Math.imul(M,$)|0,c=Math.imul(M,W),n=n+Math.imul(A,X)|0,o=(o=o+Math.imul(A,J)|0)+Math.imul(T,X)|0,c=c+Math.imul(T,J)|0,n=n+Math.imul(E,Z)|0,o=(o=o+Math.imul(E,ee)|0)+Math.imul(S,Z)|0,c=c+Math.imul(S,ee)|0,n=n+Math.imul(v,re)|0,o=(o=o+Math.imul(v,ne)|0)+Math.imul(w,re)|0,c=c+Math.imul(w,ne)|0;var Te=(h+(n=n+Math.imul(d,ae)|0)|0)+((8191&(o=(o=o+Math.imul(d,oe)|0)+Math.imul(y,ae)|0))<<13)|0;h=((c=c+Math.imul(y,oe)|0)+(o>>>13)|0)+(Te>>>26)|0,Te&=67108863,n=Math.imul(x,$),o=(o=Math.imul(x,W))+Math.imul(B,$)|0,c=Math.imul(B,W),n=n+Math.imul(I,X)|0,o=(o=o+Math.imul(I,J)|0)+Math.imul(M,X)|0,c=c+Math.imul(M,J)|0,n=n+Math.imul(A,Z)|0,o=(o=o+Math.imul(A,ee)|0)+Math.imul(T,Z)|0,c=c+Math.imul(T,ee)|0,n=n+Math.imul(E,re)|0,o=(o=o+Math.imul(E,ne)|0)+Math.imul(S,re)|0,c=c+Math.imul(S,ne)|0,n=n+Math.imul(v,ae)|0,o=(o=o+Math.imul(v,oe)|0)+Math.imul(w,ae)|0,c=c+Math.imul(w,oe)|0;var ke=(h+(n=n+Math.imul(d,ue)|0)|0)+((8191&(o=(o=o+Math.imul(d,ce)|0)+Math.imul(y,ue)|0))<<13)|0;h=((c=c+Math.imul(y,ce)|0)+(o>>>13)|0)+(ke>>>26)|0,ke&=67108863,n=Math.imul(O,$),o=(o=Math.imul(O,W))+Math.imul(L,$)|0,c=Math.imul(L,W),n=n+Math.imul(x,X)|0,o=(o=o+Math.imul(x,J)|0)+Math.imul(B,X)|0,c=c+Math.imul(B,J)|0,n=n+Math.imul(I,Z)|0,o=(o=o+Math.imul(I,ee)|0)+Math.imul(M,Z)|0,c=c+Math.imul(M,ee)|0,n=n+Math.imul(A,re)|0,o=(o=o+Math.imul(A,ne)|0)+Math.imul(T,re)|0,c=c+Math.imul(T,ne)|0,n=n+Math.imul(E,ae)|0,o=(o=o+Math.imul(E,oe)|0)+Math.imul(S,ae)|0,c=c+Math.imul(S,oe)|0,n=n+Math.imul(v,ue)|0,o=(o=o+Math.imul(v,ce)|0)+Math.imul(w,ue)|0,c=c+Math.imul(w,ce)|0;var Ie=(h+(n=n+Math.imul(d,he)|0)|0)+((8191&(o=(o=o+Math.imul(d,le)|0)+Math.imul(y,he)|0))<<13)|0;h=((c=c+Math.imul(y,le)|0)+(o>>>13)|0)+(Ie>>>26)|0,Ie&=67108863,n=Math.imul(D,$),o=(o=Math.imul(D,W))+Math.imul(j,$)|0,c=Math.imul(j,W),n=n+Math.imul(O,X)|0,o=(o=o+Math.imul(O,J)|0)+Math.imul(L,X)|0,c=c+Math.imul(L,J)|0,n=n+Math.imul(x,Z)|0,o=(o=o+Math.imul(x,ee)|0)+Math.imul(B,Z)|0,c=c+Math.imul(B,ee)|0,n=n+Math.imul(I,re)|0,o=(o=o+Math.imul(I,ne)|0)+Math.imul(M,re)|0,c=c+Math.imul(M,ne)|0,n=n+Math.imul(A,ae)|0,o=(o=o+Math.imul(A,oe)|0)+Math.imul(T,ae)|0,c=c+Math.imul(T,oe)|0,n=n+Math.imul(E,ue)|0,o=(o=o+Math.imul(E,ce)|0)+Math.imul(S,ue)|0,c=c+Math.imul(S,ce)|0,n=n+Math.imul(v,he)|0,o=(o=o+Math.imul(v,le)|0)+Math.imul(w,he)|0,c=c+Math.imul(w,le)|0;var Me=(h+(n=n+Math.imul(d,pe)|0)|0)+((8191&(o=(o=o+Math.imul(d,ge)|0)+Math.imul(y,pe)|0))<<13)|0;h=((c=c+Math.imul(y,ge)|0)+(o>>>13)|0)+(Me>>>26)|0,Me&=67108863,n=Math.imul(F,$),o=(o=Math.imul(F,W))+Math.imul(V,$)|0,c=Math.imul(V,W),n=n+Math.imul(D,X)|0,o=(o=o+Math.imul(D,J)|0)+Math.imul(j,X)|0,c=c+Math.imul(j,J)|0,n=n+Math.imul(O,Z)|0,o=(o=o+Math.imul(O,ee)|0)+Math.imul(L,Z)|0,c=c+Math.imul(L,ee)|0,n=n+Math.imul(x,re)|0,o=(o=o+Math.imul(x,ne)|0)+Math.imul(B,re)|0,c=c+Math.imul(B,ne)|0,n=n+Math.imul(I,ae)|0,o=(o=o+Math.imul(I,oe)|0)+Math.imul(M,ae)|0,c=c+Math.imul(M,oe)|0,n=n+Math.imul(A,ue)|0,o=(o=o+Math.imul(A,ce)|0)+Math.imul(T,ue)|0,c=c+Math.imul(T,ce)|0,n=n+Math.imul(E,he)|0,o=(o=o+Math.imul(E,le)|0)+Math.imul(S,he)|0,c=c+Math.imul(S,le)|0,n=n+Math.imul(v,pe)|0,o=(o=o+Math.imul(v,ge)|0)+Math.imul(w,pe)|0,c=c+Math.imul(w,ge)|0;var Re=(h+(n=n+Math.imul(d,me)|0)|0)+((8191&(o=(o=o+Math.imul(d,ve)|0)+Math.imul(y,me)|0))<<13)|0;h=((c=c+Math.imul(y,ve)|0)+(o>>>13)|0)+(Re>>>26)|0,Re&=67108863,n=Math.imul(z,$),o=(o=Math.imul(z,W))+Math.imul(H,$)|0,c=Math.imul(H,W),n=n+Math.imul(F,X)|0,o=(o=o+Math.imul(F,J)|0)+Math.imul(V,X)|0,c=c+Math.imul(V,J)|0,n=n+Math.imul(D,Z)|0,o=(o=o+Math.imul(D,ee)|0)+Math.imul(j,Z)|0,c=c+Math.imul(j,ee)|0,n=n+Math.imul(O,re)|0,o=(o=o+Math.imul(O,ne)|0)+Math.imul(L,re)|0,c=c+Math.imul(L,ne)|0,n=n+Math.imul(x,ae)|0,o=(o=o+Math.imul(x,oe)|0)+Math.imul(B,ae)|0,c=c+Math.imul(B,oe)|0,n=n+Math.imul(I,ue)|0,o=(o=o+Math.imul(I,ce)|0)+Math.imul(M,ue)|0,c=c+Math.imul(M,ce)|0,n=n+Math.imul(A,he)|0,o=(o=o+Math.imul(A,le)|0)+Math.imul(T,he)|0,c=c+Math.imul(T,le)|0,n=n+Math.imul(E,pe)|0,o=(o=o+Math.imul(E,ge)|0)+Math.imul(S,pe)|0,c=c+Math.imul(S,ge)|0,n=n+Math.imul(v,me)|0,o=(o=o+Math.imul(v,ve)|0)+Math.imul(w,me)|0,c=c+Math.imul(w,ve)|0;var xe=(h+(n=n+Math.imul(d,we)|0)|0)+((8191&(o=(o=o+Math.imul(d,_e)|0)+Math.imul(y,we)|0))<<13)|0;h=((c=c+Math.imul(y,_e)|0)+(o>>>13)|0)+(xe>>>26)|0,xe&=67108863,n=Math.imul(z,X),o=(o=Math.imul(z,J))+Math.imul(H,X)|0,c=Math.imul(H,J),n=n+Math.imul(F,Z)|0,o=(o=o+Math.imul(F,ee)|0)+Math.imul(V,Z)|0,c=c+Math.imul(V,ee)|0,n=n+Math.imul(D,re)|0,o=(o=o+Math.imul(D,ne)|0)+Math.imul(j,re)|0,c=c+Math.imul(j,ne)|0,n=n+Math.imul(O,ae)|0,o=(o=o+Math.imul(O,oe)|0)+Math.imul(L,ae)|0,c=c+Math.imul(L,oe)|0,n=n+Math.imul(x,ue)|0,o=(o=o+Math.imul(x,ce)|0)+Math.imul(B,ue)|0,c=c+Math.imul(B,ce)|0,n=n+Math.imul(I,he)|0,o=(o=o+Math.imul(I,le)|0)+Math.imul(M,he)|0,c=c+Math.imul(M,le)|0,n=n+Math.imul(A,pe)|0,o=(o=o+Math.imul(A,ge)|0)+Math.imul(T,pe)|0,c=c+Math.imul(T,ge)|0,n=n+Math.imul(E,me)|0,o=(o=o+Math.imul(E,ve)|0)+Math.imul(S,me)|0,c=c+Math.imul(S,ve)|0;var Be=(h+(n=n+Math.imul(v,we)|0)|0)+((8191&(o=(o=o+Math.imul(v,_e)|0)+Math.imul(w,we)|0))<<13)|0;h=((c=c+Math.imul(w,_e)|0)+(o>>>13)|0)+(Be>>>26)|0,Be&=67108863,n=Math.imul(z,Z),o=(o=Math.imul(z,ee))+Math.imul(H,Z)|0,c=Math.imul(H,ee),n=n+Math.imul(F,re)|0,o=(o=o+Math.imul(F,ne)|0)+Math.imul(V,re)|0,c=c+Math.imul(V,ne)|0,n=n+Math.imul(D,ae)|0,o=(o=o+Math.imul(D,oe)|0)+Math.imul(j,ae)|0,c=c+Math.imul(j,oe)|0,n=n+Math.imul(O,ue)|0,o=(o=o+Math.imul(O,ce)|0)+Math.imul(L,ue)|0,c=c+Math.imul(L,ce)|0,n=n+Math.imul(x,he)|0,o=(o=o+Math.imul(x,le)|0)+Math.imul(B,he)|0,c=c+Math.imul(B,le)|0,n=n+Math.imul(I,pe)|0,o=(o=o+Math.imul(I,ge)|0)+Math.imul(M,pe)|0,c=c+Math.imul(M,ge)|0,n=n+Math.imul(A,me)|0,o=(o=o+Math.imul(A,ve)|0)+Math.imul(T,me)|0,c=c+Math.imul(T,ve)|0;var Ne=(h+(n=n+Math.imul(E,we)|0)|0)+((8191&(o=(o=o+Math.imul(E,_e)|0)+Math.imul(S,we)|0))<<13)|0;h=((c=c+Math.imul(S,_e)|0)+(o>>>13)|0)+(Ne>>>26)|0,Ne&=67108863,n=Math.imul(z,re),o=(o=Math.imul(z,ne))+Math.imul(H,re)|0,c=Math.imul(H,ne),n=n+Math.imul(F,ae)|0,o=(o=o+Math.imul(F,oe)|0)+Math.imul(V,ae)|0,c=c+Math.imul(V,oe)|0,n=n+Math.imul(D,ue)|0,o=(o=o+Math.imul(D,ce)|0)+Math.imul(j,ue)|0,c=c+Math.imul(j,ce)|0,n=n+Math.imul(O,he)|0,o=(o=o+Math.imul(O,le)|0)+Math.imul(L,he)|0,c=c+Math.imul(L,le)|0,n=n+Math.imul(x,pe)|0,o=(o=o+Math.imul(x,ge)|0)+Math.imul(B,pe)|0,c=c+Math.imul(B,ge)|0,n=n+Math.imul(I,me)|0,o=(o=o+Math.imul(I,ve)|0)+Math.imul(M,me)|0,c=c+Math.imul(M,ve)|0;var Oe=(h+(n=n+Math.imul(A,we)|0)|0)+((8191&(o=(o=o+Math.imul(A,_e)|0)+Math.imul(T,we)|0))<<13)|0;h=((c=c+Math.imul(T,_e)|0)+(o>>>13)|0)+(Oe>>>26)|0,Oe&=67108863,n=Math.imul(z,ae),o=(o=Math.imul(z,oe))+Math.imul(H,ae)|0,c=Math.imul(H,oe),n=n+Math.imul(F,ue)|0,o=(o=o+Math.imul(F,ce)|0)+Math.imul(V,ue)|0,c=c+Math.imul(V,ce)|0,n=n+Math.imul(D,he)|0,o=(o=o+Math.imul(D,le)|0)+Math.imul(j,he)|0,c=c+Math.imul(j,le)|0,n=n+Math.imul(O,pe)|0,o=(o=o+Math.imul(O,ge)|0)+Math.imul(L,pe)|0,c=c+Math.imul(L,ge)|0,n=n+Math.imul(x,me)|0,o=(o=o+Math.imul(x,ve)|0)+Math.imul(B,me)|0,c=c+Math.imul(B,ve)|0;var Le=(h+(n=n+Math.imul(I,we)|0)|0)+((8191&(o=(o=o+Math.imul(I,_e)|0)+Math.imul(M,we)|0))<<13)|0;h=((c=c+Math.imul(M,_e)|0)+(o>>>13)|0)+(Le>>>26)|0,Le&=67108863,n=Math.imul(z,ue),o=(o=Math.imul(z,ce))+Math.imul(H,ue)|0,c=Math.imul(H,ce),n=n+Math.imul(F,he)|0,o=(o=o+Math.imul(F,le)|0)+Math.imul(V,he)|0,c=c+Math.imul(V,le)|0,n=n+Math.imul(D,pe)|0,o=(o=o+Math.imul(D,ge)|0)+Math.imul(j,pe)|0,c=c+Math.imul(j,ge)|0,n=n+Math.imul(O,me)|0,o=(o=o+Math.imul(O,ve)|0)+Math.imul(L,me)|0,c=c+Math.imul(L,ve)|0;var Pe=(h+(n=n+Math.imul(x,we)|0)|0)+((8191&(o=(o=o+Math.imul(x,_e)|0)+Math.imul(B,we)|0))<<13)|0;h=((c=c+Math.imul(B,_e)|0)+(o>>>13)|0)+(Pe>>>26)|0,Pe&=67108863,n=Math.imul(z,he),o=(o=Math.imul(z,le))+Math.imul(H,he)|0,c=Math.imul(H,le),n=n+Math.imul(F,pe)|0,o=(o=o+Math.imul(F,ge)|0)+Math.imul(V,pe)|0,c=c+Math.imul(V,ge)|0,n=n+Math.imul(D,me)|0,o=(o=o+Math.imul(D,ve)|0)+Math.imul(j,me)|0,c=c+Math.imul(j,ve)|0;var De=(h+(n=n+Math.imul(O,we)|0)|0)+((8191&(o=(o=o+Math.imul(O,_e)|0)+Math.imul(L,we)|0))<<13)|0;h=((c=c+Math.imul(L,_e)|0)+(o>>>13)|0)+(De>>>26)|0,De&=67108863,n=Math.imul(z,pe),o=(o=Math.imul(z,ge))+Math.imul(H,pe)|0,c=Math.imul(H,ge),n=n+Math.imul(F,me)|0,o=(o=o+Math.imul(F,ve)|0)+Math.imul(V,me)|0,c=c+Math.imul(V,ve)|0;var je=(h+(n=n+Math.imul(D,we)|0)|0)+((8191&(o=(o=o+Math.imul(D,_e)|0)+Math.imul(j,we)|0))<<13)|0;h=((c=c+Math.imul(j,_e)|0)+(o>>>13)|0)+(je>>>26)|0,je&=67108863,n=Math.imul(z,me),o=(o=Math.imul(z,ve))+Math.imul(H,me)|0,c=Math.imul(H,ve);var Ue=(h+(n=n+Math.imul(F,we)|0)|0)+((8191&(o=(o=o+Math.imul(F,_e)|0)+Math.imul(V,we)|0))<<13)|0;h=((c=c+Math.imul(V,_e)|0)+(o>>>13)|0)+(Ue>>>26)|0,Ue&=67108863;var Fe=(h+(n=Math.imul(z,we))|0)+((8191&(o=(o=Math.imul(z,_e))+Math.imul(H,we)|0))<<13)|0;return h=((c=Math.imul(H,_e))+(o>>>13)|0)+(Fe>>>26)|0,Fe&=67108863,f[0]=Ee,f[1]=Se,f[2]=Ce,f[3]=Ae,f[4]=Te,f[5]=ke,f[6]=Ie,f[7]=Me,f[8]=Re,f[9]=xe,f[10]=Be,f[11]=Ne,f[12]=Oe,f[13]=Le,f[14]=Pe,f[15]=De,f[16]=je,f[17]=Ue,f[18]=Fe,0!==h&&(f[19]=h,r.length++),r};function C(e,t,r){r.negative=t.negative^e.negative,r.length=e.length+t.length;for(var n=0,o=0,c=0;c<r.length-1;c++){var f=o;o=0;for(var h=67108863&n,l=Math.min(c,t.length-1),d=Math.max(0,c-e.length+1);d<=l;d++){var i=c-d,y=(0|e.words[i])*(0|t.words[d]),m=67108863&y;h=67108863&(m=m+h|0),o+=(f=(f=f+(y/67108864|0)|0)+(m>>>26)|0)>>>26,f&=67108863}r.words[c]=h,n=f,f=o}return 0!==n?r.words[c]=n:r.length--,r._strip()}function A(e,t,r){return C(e,t,r)}function T(e,t){this.x=e,this.y=t}Math.imul||(S=E),c.prototype.mulTo=function(e,t){var r=this.length+e.length;return 10===this.length&&10===e.length?S(this,e,t):r<63?E(this,e,t):r<1024?C(this,e,t):A(this,e,t)},T.prototype.makeRBT=function(e){for(var t=new Array(e),r=c.prototype._countBits(e)-1,i=0;i<e;i++)t[i]=this.revBin(i,r,e);return t},T.prototype.revBin=function(e,t,r){if(0===e||e===r-1)return e;for(var n=0,i=0;i<t;i++)n|=(1&e)<<t-i-1,e>>=1;return n},T.prototype.permute=function(e,t,r,n,o,c){for(var i=0;i<c;i++)n[i]=t[e[i]],o[i]=r[e[i]]},T.prototype.transform=function(e,t,r,n,o,c){this.permute(c,e,t,r,n,o);for(var s=1;s<o;s<<=1)for(var f=s<<1,h=Math.cos(2*Math.PI/f),l=Math.sin(2*Math.PI/f),p=0;p<o;p+=f)for(var d=h,y=l,m=0;m<s;m++){var v=r[p+m],w=n[p+m],_=r[p+m+s],E=n[p+m+s],S=d*_-y*E;E=d*E+y*_,_=S,r[p+m]=v+_,n[p+m]=w+E,r[p+m+s]=v-_,n[p+m+s]=w-E,m!==f&&(S=h*d-l*y,y=h*y+l*d,d=S)}},T.prototype.guessLen13b=function(e,t){var r=1|Math.max(t,e),n=1&r,i=0;for(r=r/2|0;r;r>>>=1)i++;return 1<<i+1+n},T.prototype.conjugate=function(e,t,r){if(!(r<=1))for(var i=0;i<r/2;i++){var n=e[i];e[i]=e[r-i-1],e[r-i-1]=n,n=t[i],t[i]=-t[r-i-1],t[r-i-1]=-n}},T.prototype.normalize13b=function(e,t){for(var r=0,i=0;i<t/2;i++){var n=8192*Math.round(e[2*i+1]/t)+Math.round(e[2*i]/t)+r;e[i]=67108863&n,r=n<67108864?0:n/67108864|0}return e},T.prototype.convert13b=function(e,t,r,o){for(var c=0,i=0;i<t;i++)c+=0|e[i],r[2*i]=8191&c,c>>>=13,r[2*i+1]=8191&c,c>>>=13;for(i=2*t;i<o;++i)r[i]=0;n(0===c),n(0==(-8192&c))},T.prototype.stub=function(e){for(var t=new Array(e),i=0;i<e;i++)t[i]=0;return t},T.prototype.mulp=function(e,t,r){var n=2*this.guessLen13b(e.length,t.length),o=this.makeRBT(n),c=this.stub(n),f=new Array(n),h=new Array(n),l=new Array(n),d=new Array(n),y=new Array(n),m=new Array(n),v=r.words;v.length=n,this.convert13b(e.words,e.length,f,n),this.convert13b(t.words,t.length,d,n),this.transform(f,c,h,l,n,o),this.transform(d,c,y,m,n,o);for(var i=0;i<n;i++){var w=h[i]*y[i]-l[i]*m[i];l[i]=h[i]*m[i]+l[i]*y[i],h[i]=w}return this.conjugate(h,l,n),this.transform(h,l,v,c,n,o),this.conjugate(v,c,n),this.normalize13b(v,n),r.negative=e.negative^t.negative,r.length=e.length+t.length,r._strip()},c.prototype.mul=function(e){var t=new c(null);return t.words=new Array(this.length+e.length),this.mulTo(e,t)},c.prototype.mulf=function(e){var t=new c(null);return t.words=new Array(this.length+e.length),A(this,e,t)},c.prototype.imul=function(e){return this.clone().mulTo(e,this)},c.prototype.imuln=function(e){var t=e<0;t&&(e=-e),n("number"==typeof e),n(e<67108864);for(var r=0,i=0;i<this.length;i++){var o=(0|this.words[i])*e,c=(67108863&o)+(67108863&r);r>>=26,r+=o/67108864|0,r+=c>>>26,this.words[i]=67108863&c}return 0!==r&&(this.words[i]=r,this.length++),t?this.ineg():this},c.prototype.muln=function(e){return this.clone().imuln(e)},c.prototype.sqr=function(){return this.mul(this)},c.prototype.isqr=function(){return this.imul(this.clone())},c.prototype.pow=function(e){var t=function(e){for(var t=new Array(e.bitLength()),r=0;r<t.length;r++){var n=r/26|0,o=r%26;t[r]=e.words[n]>>>o&1}return t}(e);if(0===t.length)return new c(1);for(var r=this,i=0;i<t.length&&0===t[i];i++,r=r.sqr());if(++i<t.length)for(var q=r.sqr();i<t.length;i++,q=q.sqr())0!==t[i]&&(r=r.mul(q));return r},c.prototype.iushln=function(e){n("number"==typeof e&&e>=0);var i,t=e%26,s=(e-t)/26,r=67108863>>>26-t<<26-t;if(0!==t){var o=0;for(i=0;i<this.length;i++){var c=this.words[i]&r,f=(0|this.words[i])-c<<t;this.words[i]=f|o,o=c>>>26-t}o&&(this.words[i]=o,this.length++)}if(0!==s){for(i=this.length-1;i>=0;i--)this.words[i+s]=this.words[i];for(i=0;i<s;i++)this.words[i]=0;this.length+=s}return this._strip()},c.prototype.ishln=function(e){return n(0===this.negative),this.iushln(e)},c.prototype.iushrn=function(e,t,r){var o;n("number"==typeof e&&e>=0),o=t?(t-t%26)/26:0;var c=e%26,s=Math.min((e-c)/26,this.length),mask=67108863^67108863>>>c<<c,f=r;if(o-=s,o=Math.max(0,o),f){for(var i=0;i<s;i++)f.words[i]=this.words[i];f.length=s}if(0===s);else if(this.length>s)for(this.length-=s,i=0;i<this.length;i++)this.words[i]=this.words[i+s];else this.words[0]=0,this.length=1;var h=0;for(i=this.length-1;i>=0&&(0!==h||i>=o);i--){var l=0|this.words[i];this.words[i]=h<<26-c|l>>>c,h=l&mask}return f&&0!==h&&(f.words[f.length++]=h),0===this.length&&(this.words[0]=0,this.length=1),this._strip()},c.prototype.ishrn=function(e,t,r){return n(0===this.negative),this.iushrn(e,t,r)},c.prototype.shln=function(e){return this.clone().ishln(e)},c.prototype.ushln=function(e){return this.clone().iushln(e)},c.prototype.shrn=function(e){return this.clone().ishrn(e)},c.prototype.ushrn=function(e){return this.clone().iushrn(e)},c.prototype.testn=function(e){n("number"==typeof e&&e>=0);var t=e%26,s=(e-t)/26,q=1<<t;return!(this.length<=s)&&!!(this.words[s]&q)},c.prototype.imaskn=function(e){n("number"==typeof e&&e>=0);var t=e%26,s=(e-t)/26;if(n(0===this.negative,"imaskn works only with positive numbers"),this.length<=s)return this;if(0!==t&&s++,this.length=Math.min(s,this.length),0!==t){var mask=67108863^67108863>>>t<<t;this.words[this.length-1]&=mask}return this._strip()},c.prototype.maskn=function(e){return this.clone().imaskn(e)},c.prototype.iaddn=function(e){return n("number"==typeof e),n(e<67108864),e<0?this.isubn(-e):0!==this.negative?1===this.length&&(0|this.words[0])<=e?(this.words[0]=e-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(e),this.negative=1,this):this._iaddn(e)},c.prototype._iaddn=function(e){this.words[0]+=e;for(var i=0;i<this.length&&this.words[i]>=67108864;i++)this.words[i]-=67108864,i===this.length-1?this.words[i+1]=1:this.words[i+1]++;return this.length=Math.max(this.length,i+1),this},c.prototype.isubn=function(e){if(n("number"==typeof e),n(e<67108864),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var i=0;i<this.length&&this.words[i]<0;i++)this.words[i]+=67108864,this.words[i+1]-=1;return this._strip()},c.prototype.addn=function(e){return this.clone().iaddn(e)},c.prototype.subn=function(e){return this.clone().isubn(e)},c.prototype.iabs=function(){return this.negative=0,this},c.prototype.abs=function(){return this.clone().iabs()},c.prototype._ishlnsubmul=function(e,t,r){var i,o,c=e.length+r;this._expand(c);var f=0;for(i=0;i<e.length;i++){o=(0|this.words[i+r])+f;var h=(0|e.words[i])*t;f=((o-=67108863&h)>>26)-(h/67108864|0),this.words[i+r]=67108863&o}for(;i<this.length-r;i++)f=(o=(0|this.words[i+r])+f)>>26,this.words[i+r]=67108863&o;if(0===f)return this._strip();for(n(-1===f),f=0,i=0;i<this.length;i++)f=(o=-(0|this.words[i])+f)>>26,this.words[i]=67108863&o;return this.negative=1,this._strip()},c.prototype._wordDiv=function(e,t){var r=(this.length,e.length),a=this.clone(),b=e,n=0|b.words[b.length-1];0!==(r=26-this._countBits(n))&&(b=b.ushln(r),a.iushln(r),n=0|b.words[b.length-1]);var q,o=a.length-b.length;if("mod"!==t){(q=new c(null)).length=o+1,q.words=new Array(q.length);for(var i=0;i<q.length;i++)q.words[i]=0}var f=a.clone()._ishlnsubmul(b,1,o);0===f.negative&&(a=f,q&&(q.words[o]=1));for(var h=o-1;h>=0;h--){var l=67108864*(0|a.words[b.length+h])+(0|a.words[b.length+h-1]);for(l=Math.min(l/n|0,67108863),a._ishlnsubmul(b,l,h);0!==a.negative;)l--,a.negative=0,a._ishlnsubmul(b,1,h),a.isZero()||(a.negative^=1);q&&(q.words[h]=l)}return q&&q._strip(),a._strip(),"div"!==t&&0!==r&&a.iushrn(r),{div:q||null,mod:a}},c.prototype.divmod=function(e,t,r){return n(!e.isZero()),this.isZero()?{div:new c(0),mod:new c(0)}:0!==this.negative&&0===e.negative?(f=this.neg().divmod(e,t),"mod"!==t&&(div=f.div.neg()),"div"!==t&&(o=f.mod.neg(),r&&0!==o.negative&&o.iadd(e)),{div:div,mod:o}):0===this.negative&&0!==e.negative?(f=this.divmod(e.neg(),t),"mod"!==t&&(div=f.div.neg()),{div:div,mod:f.mod}):0!=(this.negative&e.negative)?(f=this.neg().divmod(e.neg(),t),"div"!==t&&(o=f.mod.neg(),r&&0!==o.negative&&o.isub(e)),{div:f.div,mod:o}):e.length>this.length||this.cmp(e)<0?{div:new c(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new c(this.modrn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new c(this.modrn(e.words[0]))}:this._wordDiv(e,t);var div,o,f},c.prototype.div=function(e){return this.divmod(e,"div",!1).div},c.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},c.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},c.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var r=0!==t.div.negative?t.mod.isub(e):t.mod,n=e.ushrn(1),o=e.andln(1),c=r.cmp(n);return c<0||1===o&&0===c?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},c.prototype.modrn=function(e){var t=e<0;t&&(e=-e),n(e<=67108863);for(var p=(1<<26)%e,r=0,i=this.length-1;i>=0;i--)r=(p*r+(0|this.words[i]))%e;return t?-r:r},c.prototype.modn=function(e){return this.modrn(e)},c.prototype.idivn=function(e){var t=e<0;t&&(e=-e),n(e<=67108863);for(var r=0,i=this.length-1;i>=0;i--){var o=(0|this.words[i])+67108864*r;this.words[i]=o/e|0,r=o%e}return this._strip(),t?this.ineg():this},c.prototype.divn=function(e){return this.clone().idivn(e)},c.prototype.egcd=function(p){n(0===p.negative),n(!p.isZero());var e=this,t=p.clone();e=0!==e.negative?e.umod(p):e.clone();for(var r=new c(1),o=new c(0),f=new c(0),h=new c(1),g=0;e.isEven()&&t.isEven();)e.iushrn(1),t.iushrn(1),++g;for(var l=t.clone(),d=e.clone();!e.isZero();){for(var i=0,y=1;0==(e.words[0]&y)&&i<26;++i,y<<=1);if(i>0)for(e.iushrn(i);i-- >0;)(r.isOdd()||o.isOdd())&&(r.iadd(l),o.isub(d)),r.iushrn(1),o.iushrn(1);for(var m=0,v=1;0==(t.words[0]&v)&&m<26;++m,v<<=1);if(m>0)for(t.iushrn(m);m-- >0;)(f.isOdd()||h.isOdd())&&(f.iadd(l),h.isub(d)),f.iushrn(1),h.iushrn(1);e.cmp(t)>=0?(e.isub(t),r.isub(f),o.isub(h)):(t.isub(e),f.isub(r),h.isub(o))}return{a:f,b:h,gcd:t.iushln(g)}},c.prototype._invmp=function(p){n(0===p.negative),n(!p.isZero());var a=this,b=p.clone();a=0!==a.negative?a.umod(p):a.clone();for(var e,t=new c(1),r=new c(0),o=b.clone();a.cmpn(1)>0&&b.cmpn(1)>0;){for(var i=0,f=1;0==(a.words[0]&f)&&i<26;++i,f<<=1);if(i>0)for(a.iushrn(i);i-- >0;)t.isOdd()&&t.iadd(o),t.iushrn(1);for(var h=0,l=1;0==(b.words[0]&l)&&h<26;++h,l<<=1);if(h>0)for(b.iushrn(h);h-- >0;)r.isOdd()&&r.iadd(o),r.iushrn(1);a.cmp(b)>=0?(a.isub(b),t.isub(r)):(b.isub(a),r.isub(t))}return(e=0===a.cmpn(1)?t:r).cmpn(0)<0&&e.iadd(p),e},c.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var a=this.clone(),b=e.clone();a.negative=0,b.negative=0;for(var t=0;a.isEven()&&b.isEven();t++)a.iushrn(1),b.iushrn(1);for(;;){for(;a.isEven();)a.iushrn(1);for(;b.isEven();)b.iushrn(1);var r=a.cmp(b);if(r<0){var n=a;a=b,b=n}else if(0===r||0===b.cmpn(1))break;a.isub(b)}return b.iushln(t)},c.prototype.invm=function(e){return this.egcd(e).a.umod(e)},c.prototype.isEven=function(){return 0==(1&this.words[0])},c.prototype.isOdd=function(){return 1==(1&this.words[0])},c.prototype.andln=function(e){return this.words[0]&e},c.prototype.bincn=function(e){n("number"==typeof e);var t=e%26,s=(e-t)/26,q=1<<t;if(this.length<=s)return this._expand(s+1),this.words[s]|=q,this;for(var r=q,i=s;0!==r&&i<this.length;i++){var o=0|this.words[i];r=(o+=r)>>>26,o&=67108863,this.words[i]=o}return 0!==r&&(this.words[i]=r,this.length++),this},c.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},c.prototype.cmpn=function(e){var t,r=e<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this._strip(),this.length>1)t=1;else{r&&(e=-e),n(e<=67108863,"Number is too big");var o=0|this.words[0];t=o===e?0:o<e?-1:1}return 0!==this.negative?0|-t:t},c.prototype.cmp=function(e){if(0!==this.negative&&0===e.negative)return-1;if(0===this.negative&&0!==e.negative)return 1;var t=this.ucmp(e);return 0!==this.negative?0|-t:t},c.prototype.ucmp=function(e){if(this.length>e.length)return 1;if(this.length<e.length)return-1;for(var t=0,i=this.length-1;i>=0;i--){var a=0|this.words[i],b=0|e.words[i];if(a!==b){a<b?t=-1:a>b&&(t=1);break}}return t},c.prototype.gtn=function(e){return 1===this.cmpn(e)},c.prototype.gt=function(e){return 1===this.cmp(e)},c.prototype.gten=function(e){return this.cmpn(e)>=0},c.prototype.gte=function(e){return this.cmp(e)>=0},c.prototype.ltn=function(e){return-1===this.cmpn(e)},c.prototype.lt=function(e){return-1===this.cmp(e)},c.prototype.lten=function(e){return this.cmpn(e)<=0},c.prototype.lte=function(e){return this.cmp(e)<=0},c.prototype.eqn=function(e){return 0===this.cmpn(e)},c.prototype.eq=function(e){return 0===this.cmp(e)},c.red=function(e){return new N(e)},c.prototype.toRed=function(e){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},c.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},c.prototype._forceRed=function(e){return this.red=e,this},c.prototype.forceRed=function(e){return n(!this.red,"Already a number in reduction context"),this._forceRed(e)},c.prototype.redAdd=function(e){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},c.prototype.redIAdd=function(e){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},c.prototype.redSub=function(e){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},c.prototype.redISub=function(e){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},c.prototype.redShl=function(e){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},c.prototype.redMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},c.prototype.redIMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},c.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},c.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},c.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},c.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},c.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},c.prototype.redPow=function(e){return n(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var k={k256:null,p224:null,p192:null,p25519:null};function I(e,p){this.name=e,this.p=new c(p,16),this.n=this.p.bitLength(),this.k=new c(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function M(){I.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function R(){I.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function x(){I.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function B(){I.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function N(e){if("string"==typeof e){var t=c._prime(e);this.m=t.p,this.prime=t}else n(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function O(e){N.call(this,e),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new c(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}I.prototype._tmp=function(){var e=new c(null);return e.words=new Array(Math.ceil(this.n/13)),e},I.prototype.ireduce=function(e){var t,r=e;do{this.split(r,this.tmp),t=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(t>this.n);var n=t<this.n?-1:r.ucmp(this.p);return 0===n?(r.words[0]=0,r.length=1):n>0?r.isub(this.p):void 0!==r.strip?r.strip():r._strip(),r},I.prototype.split=function(input,e){input.iushrn(this.n,0,e)},I.prototype.imulK=function(e){return e.imul(this.k)},o(M,I),M.prototype.split=function(input,output){for(var mask=4194303,e=Math.min(input.length,9),i=0;i<e;i++)output.words[i]=input.words[i];if(output.length=e,input.length<=9)return input.words[0]=0,void(in
vendor: 14,228 bytes, line 2
2put.length=1);var t=input.words[9];for(output.words[output.length++]=t&mask,i=10;i<input.length;i++){var r=0|input.words[i];input.words[i-10]=(r&mask)<<4|t>>>22,t=r}t>>>=22,input.words[i-10]=t,0===t&&input.length>10?input.length-=10:input.length-=9},M.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,i=0;i<e.length;i++){var r=0|e.words[i];t+=977*r,e.words[i]=67108863&t,t=64*r+(t/67108864|0)}return 0===e.words[e.length-1]&&(e.length--,0===e.words[e.length-1]&&e.length--),e},o(R,I),o(x,I),o(B,I),B.prototype.imulK=function(e){for(var t=0,i=0;i<e.length;i++){var r=19*(0|e.words[i])+t,n=67108863&r;r>>>=26,e.words[i]=n,t=r}return 0!==t&&(e.words[e.length++]=t),e},c._prime=function(e){if(k[e])return k[e];var t;if("k256"===e)t=new M;else if("p224"===e)t=new R;else if("p192"===e)t=new x;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new B}return k[e]=t,t},N.prototype._verify1=function(a){n(0===a.negative,"red works only with positives"),n(a.red,"red works only with red numbers")},N.prototype._verify2=function(a,b){n(0==(a.negative|b.negative),"red works only with positives"),n(a.red&&a.red===b.red,"red works only with red numbers")},N.prototype.imod=function(a){return this.prime?this.prime.ireduce(a)._forceRed(this):(y(a,a.umod(this.m)._forceRed(this)),a)},N.prototype.neg=function(a){return a.isZero()?a.clone():this.m.sub(a)._forceRed(this)},N.prototype.add=function(a,b){this._verify2(a,b);var e=a.add(b);return e.cmp(this.m)>=0&&e.isub(this.m),e._forceRed(this)},N.prototype.iadd=function(a,b){this._verify2(a,b);var e=a.iadd(b);return e.cmp(this.m)>=0&&e.isub(this.m),e},N.prototype.sub=function(a,b){this._verify2(a,b);var e=a.sub(b);return e.cmpn(0)<0&&e.iadd(this.m),e._forceRed(this)},N.prototype.isub=function(a,b){this._verify2(a,b);var e=a.isub(b);return e.cmpn(0)<0&&e.iadd(this.m),e},N.prototype.shl=function(a,e){return this._verify1(a),this.imod(a.ushln(e))},N.prototype.imul=function(a,b){return this._verify2(a,b),this.imod(a.imul(b))},N.prototype.mul=function(a,b){return this._verify2(a,b),this.imod(a.mul(b))},N.prototype.isqr=function(a){return this.imul(a,a.clone())},N.prototype.sqr=function(a){return this.mul(a,a)},N.prototype.sqrt=function(a){if(a.isZero())return a.clone();var e=this.m.andln(3);if(n(e%2==1),3===e){var t=this.m.add(new c(1)).iushrn(2);return this.pow(a,t)}for(var q=this.m.subn(1),s=0;!q.isZero()&&0===q.andln(1);)s++,q.iushrn(1);n(!q.isZero());var r=new c(1).toRed(this),o=r.redNeg(),f=this.m.subn(1).iushrn(1),h=this.m.bitLength();for(h=new c(2*h*h).toRed(this);0!==this.pow(h,f).cmp(o);)h.redIAdd(o);for(var l=this.pow(h,q),d=this.pow(a,q.addn(1).iushrn(1)),y=this.pow(a,q),m=s;0!==y.cmp(r);){for(var v=y,i=0;0!==v.cmp(r);i++)v=v.redSqr();n(i<m);var b=this.pow(l,new c(1).iushln(m-i-1));d=d.redMul(b),l=b.redSqr(),y=y.redMul(l),m=i}return d},N.prototype.invm=function(a){var e=a._invmp(this.m);return 0!==e.negative?(e.negative=0,this.imod(e).redNeg()):this.imod(e)},N.prototype.pow=function(a,e){if(e.isZero())return new c(1).toRed(this);if(0===e.cmpn(1))return a.clone();var t=new Array(16);t[0]=new c(1).toRed(this),t[1]=a;for(var i=2;i<t.length;i++)t[i]=this.mul(t[i-1],a);var r=t[0],n=0,o=0,f=e.bitLength()%26;for(0===f&&(f=26),i=e.length-1;i>=0;i--){for(var h=e.words[i],l=f-1;l>=0;l--){var d=h>>l&1;r!==t[0]&&(r=this.sqr(r)),0!==d||0!==n?(n<<=1,n|=d,(4===++o||0===i&&0===l)&&(r=this.mul(r,t[n]),o=0,n=0)):o=0}f=26}return r},N.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},N.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},c.mont=function(e){return new O(e)},o(O,N),O.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},O.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},O.prototype.imul=function(a,b){if(a.isZero()||b.isZero())return a.words[0]=0,a.length=1,a;var e=a.imul(b),t=e.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),u=e.isub(t).iushrn(this.shift),r=u;return u.cmp(this.m)>=0?r=u.isub(this.m):u.cmpn(0)<0&&(r=u.iadd(this.m)),r._forceRed(this)},O.prototype.mul=function(a,b){if(a.isZero()||b.isZero())return new c(0)._forceRed(this);var e=a.mul(b),t=e.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),u=e.isub(t).iushrn(this.shift),r=u;return u.cmp(this.m)>=0?r=u.isub(this.m):u.cmpn(0)<0&&(r=u.iadd(this.m)),r._forceRed(this)},O.prototype.invm=function(a){return this.imod(a._invmp(this.m).mul(this.r2))._forceRed(this)}}(e,this)}).call(this,r(135)(e))},function(e,t,r){"use strict";const n=t;n.bignum=r(32),n.define=r(809).define,n.base=r(812),n.constants=r(813),n.decoders=r(426),n.encoders=r(424)},function(e,t,r){"use strict";const n=t;n.der=r(425),n.pem=r(810)},function(e,t,r){"use strict";const n=r(5),o=r(257).Buffer,c=r(258),f=r(260);function h(e){this.enc="der",this.name=e.name,this.entity=e,this.tree=new l,this.tree._init(e.body)}function l(e){c.call(this,"der",e)}function d(e){return e<10?"0"+e:e}e.exports=h,h.prototype.encode=function(data,e){return this.tree._encode(data,e).join()},n(l,c),l.prototype._encodeComposite=function(e,t,r,content){const n=function(e,t,r,n){let o;"seqof"===e?e="seq":"setof"===e&&(e="set");if(f.tagByName.hasOwnProperty(e))o=f.tagByName[e];else{if("number"!=typeof e||(0|e)!==e)return n.error("Unknown tag: "+e);o=e}if(o>=31)return n.error("Multi-octet tag encoding unsupported");t||(o|=32);return o|=f.tagClassByName[r||"universal"]<<6,o}(e,t,r,this.reporter);if(content.length<128){const header=o.alloc(2);return header[0]=n,header[1]=content.length,this._createEncoderBuffer([header,content])}let c=1;for(let i=content.length;i>=256;i>>=8)c++;const header=o.alloc(2+c);header[0]=n,header[1]=128|c;for(let i=1+c,e=content.length;e>0;i--,e>>=8)header[i]=255&e;return this._createEncoderBuffer([header,content])},l.prototype._encodeStr=function(e,t){if("bitstr"===t)return this._createEncoderBuffer([0|e.unused,e.data]);if("bmpstr"===t){const t=o.alloc(2*e.length);for(let i=0;i<e.length;i++)t.writeUInt16BE(e.charCodeAt(i),2*i);return this._createEncoderBuffer(t)}return"numstr"===t?this._isNumstr(e)?this._createEncoderBuffer(e):this.reporter.error("Encoding of string type: numstr supports only digits and space"):"printstr"===t?this._isPrintstr(e)?this._createEncoderBuffer(e):this.reporter.error("Encoding of string type: printstr supports only latin upper and lower case letters, digits, space, apostrophe, left and rigth parenthesis, plus sign, comma, hyphen, dot, slash, colon, equal sign, question mark"):/str$/.test(t)||"objDesc"===t?this._createEncoderBuffer(e):this.reporter.error("Encoding of string type: "+t+" unsupported")},l.prototype._encodeObjid=function(e,t,r){if("string"==typeof e){if(!t)return this.reporter.error("string objid given, but no values map found");if(!t.hasOwnProperty(e))return this.reporter.error("objid not found in values map");e=t[e].split(/[\s.]+/g);for(let i=0;i<e.length;i++)e[i]|=0}else if(Array.isArray(e)){e=e.slice();for(let i=0;i<e.length;i++)e[i]|=0}if(!Array.isArray(e))return this.reporter.error("objid() should be either array or string, got: "+JSON.stringify(e));if(!r){if(e[1]>=40)return this.reporter.error("Second objid identifier OOB");e.splice(0,2,40*e[0]+e[1])}let n=0;for(let i=0;i<e.length;i++){let t=e[i];for(n++;t>=128;t>>=7)n++}const c=o.alloc(n);let f=c.length-1;for(let i=e.length-1;i>=0;i--){let t=e[i];for(c[f--]=127&t;(t>>=7)>0;)c[f--]=128|127&t}return this._createEncoderBuffer(c)},l.prototype._encodeTime=function(time,e){let t;const r=new Date(time);return"gentime"===e?t=[d(r.getUTCFullYear()),d(r.getUTCMonth()+1),d(r.getUTCDate()),d(r.getUTCHours()),d(r.getUTCMinutes()),d(r.getUTCSeconds()),"Z"].join(""):"utctime"===e?t=[d(r.getUTCFullYear()%100),d(r.getUTCMonth()+1),d(r.getUTCDate()),d(r.getUTCHours()),d(r.getUTCMinutes()),d(r.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+e+" time is not supported yet"),this._encodeStr(t,"octstr")},l.prototype._encodeNull=function(){return this._createEncoderBuffer("")},l.prototype._encodeInt=function(e,t){if("string"==typeof e){if(!t)return this.reporter.error("String int or enum given, but no values map");if(!t.hasOwnProperty(e))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(e));e=t[e]}if("number"!=typeof e&&!o.isBuffer(e)){const t=e.toArray();!e.sign&&128&t[0]&&t.unshift(0),e=o.from(t)}if(o.isBuffer(e)){let t=e.length;0===e.length&&t++;const r=o.alloc(t);return e.copy(r),0===e.length&&(r[0]=0),this._createEncoderBuffer(r)}if(e<128)return this._createEncoderBuffer(e);if(e<256)return this._createEncoderBuffer([0,e]);let r=1;for(let i=e;i>=256;i>>=8)r++;const n=new Array(r);for(let i=n.length-1;i>=0;i--)n[i]=255&e,e>>=8;return 128&n[0]&&n.unshift(0),this._createEncoderBuffer(o.from(n))},l.prototype._encodeBool=function(e){return this._createEncoderBuffer(e?255:0)},l.prototype._use=function(e,t){return"function"==typeof e&&(e=e(t)),e._getEncoder("der").tree},l.prototype._skipDefault=function(e,t,r){const n=this._baseState;let i;if(null===n.default)return!1;const data=e.join();if(void 0===n.defaultBuffer&&(n.defaultBuffer=this._encodeValue(n.default,t,r).join()),data.length!==n.defaultBuffer.length)return!1;for(i=0;i<data.length;i++)if(data[i]!==n.defaultBuffer[i])return!1;return!0}},function(e,t,r){"use strict";const n=t;n.der=r(427),n.pem=r(811)},function(e,t,r){"use strict";const n=r(5),o=r(32),c=r(142).DecoderBuffer,f=r(258),h=r(260);function l(e){this.enc="der",this.name=e.name,this.entity=e,this.tree=new d,this.tree._init(e.body)}function d(e){f.call(this,"der",e)}function y(e,t){let r=e.readUInt8(t);if(e.isError(r))return r;const n=h.tagClass[r>>6],o=0==(32&r);if(31==(31&r)){let n=r;for(r=0;128==(128&n);){if(n=e.readUInt8(t),e.isError(n))return n;r<<=7,r|=127&n}}else r&=31;return{cls:n,primitive:o,tag:r,tagStr:h.tag[r]}}function m(e,t,r){let n=e.readUInt8(r);if(e.isError(n))return n;if(!t&&128===n)return null;if(0==(128&n))return n;const o=127&n;if(o>4)return e.error("length octect is too long");n=0;for(let i=0;i<o;i++){n<<=8;const t=e.readUInt8(r);if(e.isError(t))return t;n|=t}return n}e.exports=l,l.prototype.decode=function(data,e){return c.isDecoderBuffer(data)||(data=new c(data,e)),this.tree._decode(data,e)},n(d,f),d.prototype._peekTag=function(e,t,r){if(e.isEmpty())return!1;const n=e.save(),o=y(e,'Failed to peek tag: "'+t+'"');return e.isError(o)?o:(e.restore(n),o.tag===t||o.tagStr===t||o.tagStr+"of"===t||r)},d.prototype._decodeTag=function(e,t,r){const n=y(e,'Failed to decode tag of "'+t+'"');if(e.isError(n))return n;let o=m(e,n.primitive,'Failed to get length of "'+t+'"');if(e.isError(o))return o;if(!r&&n.tag!==t&&n.tagStr!==t&&n.tagStr+"of"!==t)return e.error('Failed to match tag: "'+t+'"');if(n.primitive||null!==o)return e.skip(o,'Failed to match body of: "'+t+'"');const c=e.save(),f=this._skipUntilEnd(e,'Failed to skip indefinite length body: "'+this.tag+'"');return e.isError(f)?f:(o=e.offset-c.offset,e.restore(c),e.skip(o,'Failed to match body of: "'+t+'"'))},d.prototype._skipUntilEnd=function(e,t){for(;;){const r=y(e,t);if(e.isError(r))return r;const n=m(e,r.primitive,t);if(e.isError(n))return n;let o;if(o=r.primitive||null!==n?e.skip(n):this._skipUntilEnd(e,t),e.isError(o))return o;if("end"===r.tagStr)break}},d.prototype._decodeList=function(e,t,r,n){const o=[];for(;!e.isEmpty();){const t=this._peekTag(e,"end");if(e.isError(t))return t;const c=r.decode(e,"der",n);if(e.isError(c)&&t)break;o.push(c)}return o},d.prototype._decodeStr=function(e,t){if("bitstr"===t){const t=e.readUInt8();return e.isError(t)?t:{unused:t,data:e.raw()}}if("bmpstr"===t){const t=e.raw();if(t.length%2==1)return e.error("Decoding of string type: bmpstr length mismatch");let r="";for(let i=0;i<t.length/2;i++)r+=String.fromCharCode(t.readUInt16BE(2*i));return r}if("numstr"===t){const t=e.raw().toString("ascii");return this._isNumstr(t)?t:e.error("Decoding of string type: numstr unsupported characters")}if("octstr"===t)return e.raw();if("objDesc"===t)return e.raw();if("printstr"===t){const t=e.raw().toString("ascii");return this._isPrintstr(t)?t:e.error("Decoding of string type: printstr unsupported characters")}return/str$/.test(t)?e.raw().toString():e.error("Decoding of string type: "+t+" unsupported")},d.prototype._decodeObjid=function(e,t,r){let n;const o=[];let c=0,f=0;for(;!e.isEmpty();)f=e.readUInt8(),c<<=7,c|=127&f,0==(128&f)&&(o.push(c),c=0);128&f&&o.push(c);const h=o[0]/40|0,l=o[0]%40;if(n=r?o:[h,l].concat(o.slice(1)),t){let e=t[n.join(" ")];void 0===e&&(e=t[n.join(".")]),void 0!==e&&(n=e)}return n},d.prototype._decodeTime=function(e,t){const r=e.raw().toString();let n,o,c,f,h,l;if("gentime"===t)n=0|r.slice(0,4),o=0|r.slice(4,6),c=0|r.slice(6,8),f=0|r.slice(8,10),h=0|r.slice(10,12),l=0|r.slice(12,14);else{if("utctime"!==t)return e.error("Decoding "+t+" time is not supported yet");n=0|r.slice(0,2),o=0|r.slice(2,4),c=0|r.slice(4,6),f=0|r.slice(6,8),h=0|r.slice(8,10),l=0|r.slice(10,12),n=n<70?2e3+n:1900+n}return Date.UTC(n,o-1,c,f,h,l,0)},d.prototype._decodeNull=function(){return null},d.prototype._decodeBool=function(e){const t=e.readUInt8();return e.isError(t)?t:0!==t},d.prototype._decodeInt=function(e,t){const r=e.raw();let n=new o(r);return t&&(n=t[n.toString(10)]||n),n},d.prototype._use=function(e,t){return"function"==typeof e&&(e=e(t)),e._getDecoder("der").tree}},function(e){e.exports=JSON.parse('{"1.3.132.0.10":"secp256k1","1.3.132.0.33":"p224","1.2.840.10045.3.1.1":"p192","1.2.840.10045.3.1.7":"p256","1.3.132.0.34":"p384","1.3.132.0.35":"p521"}')},function(e,t,r){var n=r(138),o=r(8).Buffer;function c(e){var t=o.allocUnsafe(4);return t.writeUInt32BE(e,0),t}e.exports=function(e,t){for(var r,f=o.alloc(0),i=0;f.length<t;)r=c(i++),f=o.concat([f,n("sha1").update(e).update(r).digest()]);return f.slice(0,t)}},function(e,t){e.exports=function(a,b){for(var e=a.length,i=-1;++i<e;)a[i]^=b[i];return a}},function(e,t,r){var n=r(32),o=r(8).Buffer;e.exports=function(e,t){return o.from(e.toRed(n.mont(t.modulus)).redPow(new n(t.publicExponent)).fromRed().toArray())}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Compute=void 0;const n=r(825),o=r(237),c=r(143);class f extends c.OAuth2Client{constructor(e={}
2){super(e),this.credentials={expiry_date:1,refresh_token:"compute-placeholder"},this.serviceAccountEmail=e.serviceAccountEmail||"default",this.scopes=n(e.scopes)}async refreshTokenNoCache(e){const t=`service-accounts/${this.serviceAccountEmail}/token`;let data;try{const e={property:t};this.scopes.length>0&&(e.params={scopes:this.scopes.join(",")}),data=await o.instance(e)}catch(e){throw e.message=`Could not refresh access token: ${e.message}`,this.wrapError(e),e}const r=data;return data&&data.expires_in&&(r.expiry_date=(new Date).getTime()+1e3*data.expires_in,delete r.expires_in),this.emit("tokens",r),{tokens:r,res:null}}async fetchIdToken(e){const t=`service-accounts/${this.serviceAccountEmail}/identity?format=full&audience=${e}`;let r;try{const e={property:t};r=await o.instance(e)}catch(e){throw e.message=`Could not fetch ID token: ${e.message}`,e}return r}wrapError(e){const t=e.response;t&&t.status&&(e.code=t.status.toString(),403===t.status?e.message="A Forbidden error was returned while attempting to retrieve an access token for the Compute Engine built-in service account. This may be because the Compute Engine instance does not have the correct permission scopes specified: "+e.message:404===t.status&&(e.message="A Not Found error was returned while attempting to retrieve an accesstoken for the Compute Engine built-in service account. This may be because the Compute Engine instance does not have any permission scopes specified: "+e.message))}}t.Compute=f},function(e,t,r){"use strict";var n=r(8).Buffer,o=r(826),c=128;function f(e){if(n.isBuffer(e))return e;if("string"==typeof e)return n.from(e,"base64");throw new TypeError("ECDSA signature must be a Base64 string or a Buffer")}function h(e,t,r){for(var n=0;t+n<r&&0===e[t+n];)++n;return e[t+n]>=c&&--n,n}e.exports={derToJose:function(e,t){e=f(e);var r=o(t),c=r+1,h=e.length,l=0;if(48!==e[l++])throw new Error('Could not find expected "seq"');var d=e[l++];if(129===d&&(d=e[l++]),h-l<d)throw new Error('"seq" specified length of "'+d+'", only "'+(h-l)+'" remaining');if(2!==e[l++])throw new Error('Could not find expected "int" for "r"');var y=e[l++];if(h-l-2<y)throw new Error('"r" specified length of "'+y+'", only "'+(h-l-2)+'" available');if(c<y)throw new Error('"r" specified length of "'+y+'", max of "'+c+'" is acceptable');var m=l;if(l+=y,2!==e[l++])throw new Error('Could not find expected "int" for "s"');var v=e[l++];if(h-l!==v)throw new Error('"s" specified length of "'+v+'", expected "'+(h-l)+'"');if(c<v)throw new Error('"s" specified length of "'+v+'", max of "'+c+'" is acceptable');var w=l;if((l+=v)!==h)throw new Error('Expected to consume entire buffer, but "'+(h-l)+'" bytes remain');var _=r-y,E=r-v,S=n.allocUnsafe(_+y+E+v);for(l=0;l<_;++l)S[l]=0;e.copy(S,l,m+Math.max(-_,0),m+y);for(var C=l=r;l<C+E;++l)S[l]=0;return e.copy(S,l,w+Math.max(-E,0),w+v),S=(S=S.toString("base64")).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")},joseToDer:function(e,t){e=f(e);var r=o(t),l=e.length;if(l!==2*r)throw new TypeError('"'+t+'" signatures must be "'+2*r+'" bytes, saw "'+l+'"');var d=h(e,0,r),y=h(e,r,e.length),m=r-d,v=r-y,w=2+m+1+1+v,_=w<c,E=n.allocUnsafe((_?2:3)+w),S=0;return E[S++]=48,_?E[S++]=w:(E[S++]=129,E[S++]=255&w),E[S++]=2,E[S++]=m,d<0?(E[S++]=0,S+=e.copy(E,S,0,r)):S+=e.copy(E,S,d,r),E[S++]=2,E[S++]=v,y<0?(E[S++]=0,e.copy(E,S,r)):e.copy(E,S,r+y),E}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LoginTicket=void 0;t.LoginTicket=class{constructor(e,t){this.envelope=e,this.payload=t}getEnvelope(){return this.envelope}getPayload(){return this.payload}getUserId(){const e=this.getPayload();return e&&e.sub?e.sub:null}getAttributes(){return{envelope:this.getEnvelope(),payload:this.getPayload()}}}},function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.IdTokenClient=void 0;const n=r(143);class o extends n.OAuth2Client{constructor(e){super(),this.targetAudience=e.targetAudience,this.idTokenProvider=e.idTokenProvider}async getRequestMetadataAsync(e){if(!this.credentials.id_token||(this.credentials.expiry_date||0)<Date.now()){const e=await this.idTokenProvider.fetchIdToken(this.targetAudience);this.credentials={id_token:e,expiry_date:this.getIdTokenExpiryDate(e)}}return{headers:{Authorization:"Bearer "+this.credentials.id_token}}}getIdTokenExpiryDate(t){const r=t.split(".")[1];if(r){return 1e3*JSON.parse(e.from(r,"base64").toString("ascii")).exp}}}t.IdTokenClient=o}).call(this,r(15).Buffer)},function(e,t,r){"use strict";
2(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.getEnv=t.clear=t.GCPEnv=void 0;const n=r(237);var o;let c;!function(e){e.APP_ENGINE="APP_ENGINE",e.KUBERNETES_ENGINE="KUBERNETES_ENGINE",e.CLOUD_FUNCTIONS="CLOUD_FUNCTIONS",e.COMPUTE_ENGINE="COMPUTE_ENGINE",e.NONE="NONE"}(o=t.GCPEnv||(t.GCPEnv={})),t.clear=function(){c=void 0},t.getEnv=async function(){return c||(c=async function(){let t=o.NONE;t=e.env.GAE_SERVICE||e.env.GAE_MODULE_NAME?o.APP_ENGINE:e.env.FUNCTION_NAME||e.env.FUNCTION_TARGET?o.CLOUD_FUNCTIONS:await async function(){return n.isAvailable()}()?await async function(){try{return await n.instance("attributes/cluster-name"),!0}catch(e){return!1}}()?o.KUBERNETES_ENGINE:o.COMPUTE_ENGINE:o.NONE;return t}(),c)}}).call(this,r(17))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.JWT=void 0;const n=r(828),o=r(455),c=r(143);class f extends c.OAuth2Client{constructor(e,t,r,n,o,c){const f=e&&"object"==typeof e?e:{email:e,keyFile:t,key:r,keyId:c,scopes:n,subject:o};super({eagerRefreshThresholdMillis:f.eagerRefreshThresholdMillis,forceRefreshOnFailure:f.forceRefreshOnFailure}),this.email=f.email,this.keyFile=f.keyFile,this.key=f.key,this.keyId=f.keyId,this.scopes=f.scopes,this.subject=f.subject,this.additionalClaims=f.additionalClaims,this.credentials={refresh_token:"jwt-placeholder",expiry_date:1}}createScoped(e){return new f({email:this.email,keyFile:this.keyFile,key:this.key,keyId:this.keyId,scopes:e,subject:this.subject,additionalClaims:this.additionalClaims})}async getRequestMetadataAsync(e){if(this.apiKey||this.hasUserScopes()||!e)return this.hasAnyScopes()||this.apiKey?super.getRequestMetadataAsync(e):{headers:{}};if(this.additionalClaims&&this.additionalClaims.target_audience){const{tokens:e}=await this.refreshToken();return{headers:this.addSharedMetadataHeaders({Authorization:`Bearer ${e.id_token}`})}}{this.access||(this.access=new o.JWTAccess(this.email,this.key,this.keyId,this.eagerRefreshThresholdMillis));const t=await this.access.getRequestHeaders(e,this.additionalClaims);return{headers:this.addSharedMetadataHeaders(t)}}}async fetchIdToken(e){const t=new n.GoogleToken({iss:this.email,sub:this.subject,scope:this.scopes||this.defaultScopes,keyFile:this.keyFile,key:this.key,additionalClaims:{target_audience:e}});if(await t.getToken({forceRefresh:!0}),!t.idToken)throw new Error("Unknown error: Failed to fetch ID token");return t.idToken}hasUserScopes(){return!!this.scopes&&this.scopes.length>0}hasAnyScopes(){return!!(this.scopes&&this.scopes.length>0)||!!(this.defaultScopes&&this.defaultScopes.length>0)}authorize(e){if(!e)return this.authorizeAsync();this.authorizeAsync().then((t=>e(null,t)),e)}async authorizeAsync(){const e=await this.refreshToken();if(!e)throw new Error("No result returned");return this.credentials=e.tokens,this.credentials.refresh_token="jwt-placeholder",this.key=this.gtoken.key,this.email=this.gtoken.iss,e.tokens}async refreshTokenNoCache(e){const t=this.createGToken(),r={access_token:(await t.getToken({forceRefresh:this.isTokenExpiring()})).access_token,token_type:"Bearer",expiry_date:t.expiresAt,id_token:t.idToken};return this.emit("tokens",r),{res:null,tokens:r}}createGToken(){return this.gtoken||(this.gtoken=new n.GoogleToken({iss:this.email,sub:this.subject,scope:this.scopes||this.defaultScopes,keyFile:this.keyFile,key:this.key,additionalClaims:this.additionalClaims})),this.gtoken}
2fromJSON(e){if(!e)throw new Error("Must pass in a JSON object containing the service account auth settings.");if(!e.client_email)throw new Error("The incoming JSON object does not contain a client_email field");if(!e.private_key)throw new Error("The incoming JSON object does not contain a private_key field");this.email=e.client_email,this.key=e.private_key,this.keyId=e.private_key_id,this.projectId=e.project_id,this.quotaProjectId=e.quota_project_id}fromStream(e,t){if(!t)return this.fromStreamAsync(e);this.fromStreamAsync(e).then((()=>t()),t)}fromStreamAsync(e){return new Promise(((t,r)=>{if(!e)throw new Error("Must pass in a stream containing the service account auth settings.");let s="";e.setEncoding("utf8").on("error",r).on("data",(e=>s+=e)).on("end",(()=>{try{const data=JSON.parse(s);this.fromJSON(data),t()}catch(e){r(e)}}))}))}fromAPIKey(e){if("string"!=typeof e)throw new Error("Must provide an API Key string.");this.apiKey=e}async getCredentials(){if(this.key)return{private_key:this.key,client_email:this.email};if(this.keyFile){const e=this.createGToken(),t=await e.getCredentials(this.keyFile);return{private_key:t.privateKey,client_email:t.clientEmail}}throw new Error("A key or a keyFile must be provided to getCredentials.")}}t.JWT=f},function(e,t,r){var n=r(829),o=r(831);t.ALGORITHMS=["HS256","HS384","HS512","RS256","RS384","RS512","PS256","PS384","PS512","ES256","ES384","ES512"],t.sign=n.sign,t.verify=o.verify,t.decode=o.decode,t.isValid=o.isValid,t.createSign=function(e){return new n(e)},t.createVerify=function(e){return new o(e)}},function(e,t,r){(function(t){var n=r(8).Buffer,o=r(139);function c(data){if(this.buffer=null,this.writable=!0,this.readable=!0,!data)return this.buffer=n.alloc(0),this;if("function"==typeof data.pipe)return this.buffer=n.alloc(0),data.pipe(this),this;if(data.length||"object"==typeof data)return this.buffer=data,this.writable=!1,t.nextTick(function(){this.emit("end",data),this.readable=!1,this.emit("close")}.bind(this)),this;throw new TypeError("Unexpected data type ("+typeof data+")")}r(90).inherits(c,o),c.prototype.write=function(data){this.buffer=n.concat([this.buffer,n.from(data)]),this.emit("data",data)},c.prototype.end=function(data){data&&this.write(data),this.emit("end",data),this.emit("close"),this.writable=!1,this.readable=!1},e.exports=c}).call(this,r(17))},function(e,t,r){var n=r(830),o=r(8).Buffer,c=r(384),f=r(433),h=r(90),l="secret must be a string or buffer",d="key must be a string or a buffer",y="function"==typeof c.createPublicKey;function m(e){if(!o.isBuffer(e)&&"string"!=typeof e){if(!y)throw E(d);if("object"!=typeof e)throw E(d);if("string"!=typeof e.type)throw E(d);if("string"!=typeof e.asymmetricKeyType)throw E(d);if("function"!=typeof e.export)throw E(d)}}function v(e){if(!o.isBuffer(e)&&"string"!=typeof e&&"object"!=typeof e)throw E("key must be a string, a buffer or an object")}function w(e){return e.replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}function _(e){var t=4-(e=e.toString()).length%4;if(4!==t)for(var i=0;i<t;++i)e+="=";return e.replace(/\-/g,"+").replace(/_/g,"/")}function E(template){var e=[].slice.call(arguments,1),t=h.format.bind(h,template).apply(null,e);return new TypeError(t)}function S(e){var t;return t=e,o.isBuffer(t)||"string"==typeof t||(e=JSON.stringify(e)),e}function C(e){return function(t,r){!function(e){if(!o.isBuffer(e)){if("string"==typeof e)return e;if(!y)throw E(l);if("object"!=typeof e)throw E(l);if("secret"!==e.type)throw E(l);if("function"!=typeof e.export)throw E(l)}}(r),t=S(t);var n=c.createHmac("sha"+e,r);return w((n.update(t),n.digest("base64")))}}function A(e){return function(t,r,c){var f=C(e)(t,c);return n(o.from(r),o.from(f))}}function T(e){return function(t,r){v(r),t=S(t);var n=c.createSign("RSA-SHA"+e);return w((n.update(t),n.sign(r,"base64")))}}function k(e){return function(t,r,n){m(n),t=S(t),r=_(r);var o=c.createVerify("RSA-SHA"+e);return o.update(t),o.verify(n,r,"base64")}}function I(e){return function(t,r){v(r),t=S(t);var n=c.createSign("RSA-SHA"+e);return w((n.update(t),n.sign({key:r,padding:c.constants.RSA_PKCS1_PSS_PADDING,saltLength:c.constants.RSA_PSS_SALTLEN_DIGEST},"base64")))}}function M(e){return function(t,r,n){m(n),t=S(t),r=_(r);var o=c.createVerify("RSA-SHA"+e);return o.update(t),o.verify({key:n,padding:c.constants.RSA_PKCS1_PSS_PADDING,saltLength:c.constants.RSA_PSS_SALTLEN_DIGEST},r,"base64")}}function R(e){var t=T(e);return function(){var r=t.apply(null,arguments);return r=f.derToJose(r,"ES"+e)}}function x(e){var t=k(e);return function(r,n,o){return n=f.joseToDer(n,"ES"+e).toString("base64"),t(r,n,o)}}function B(){return function(){return""}}function N(){return function(e,t){return""===t}}y&&(d+=" or a KeyObject",l+="or a KeyObject"),e.exports=function(e){var t={hs:C,rs:T,ps:I,es:R,none:B},r={hs:A,rs:k,ps:M,es:x,none:N},n=e.match(/^(RS|PS|ES|HS)(256|384|512)$|^(none)$/);if(!n)throw E('"%s" is not a valid algorithm.\n Supported algorithms are:\n "HS256", "HS384", "HS512", "RS256", "RS384", "RS512", "PS256", "PS384", "PS512", "ES256", "ES384", "ES512" and "none".',e);var o=(n[1]||n[3]).toLowerCase(),c=n[2];return{sign:t[o](c),verify:r[o](c)}}},function(e,t,r){var n=r(15).Buffer;e.exports=function(e){return"string"==typeof e?e:"number"==typeof e||n.isBuffer(e)?e.toString():JSON.stringify(e)}},function(e,t,r){var n=r(11);r(18),n.cipher=n.cipher||{};var o=e.exports=n.cipher.modes=n.cipher.modes||{};function c(e,t){if("string"==typeof e&&(e=n.util.createBuffer(e)),n.util.isArray(e)&&e.length>4){var r=e;e=n.util.createBuffer();for(var i=0;i<r.length;++i)e.putByte(r[i])}if(e.length()<t)throw new Error("Invalid IV length; got "+e.length()+" bytes and expected "+t+" bytes.");if(!n.util.isArray(e)){var o=[],c=t/4;for(i=0;i<c;++i)o.push(e.getInt32());e=o}return e}function f(e){e[e.length-1]=e[e.length-1]+1&4294967295}function h(e){return[e/4294967296|0,4294967295&e]}o.ecb=function(e){e=e||{},this.name="ECB",this.cipher=e.cipher,this.blockSize=e.blockSize||16,this._ints=this.blockSize/4,this._inBlock=new Array(this._ints),this._outBlock=new Array(this._ints)},o.ecb.prototype.start=function(e){},o.ecb.prototype.encrypt=function(input,output,e){if(input.length()<this.blockSize&&!(e&&input.length()>0))return!0;for(var i=0;i<this._ints;++i)this._inBlock[i]=input.getInt32();this.cipher.encrypt(this._inBlock,this._outBlock);for(i=0;i<this._ints;++i)output.putInt32(this._outBlock[i])},o.ecb.prototype.decrypt=function(input,output,e){if(input.length()<this.blockSize&&!(e&&input.length()>0))return!0;for(var i=0;i<this._ints;++i)this._inBlock[i]=input.getInt32();this.cipher.decrypt(this._inBlock,this._outBlock);for(i=0;i<this._ints;++i)output.putInt32(this._outBlock[i])},o.ecb.prototype.pad=function(input,e){var t=input.length()===this.blockSize?this.blockSize:this.blockSize-input.length();return input.fillWithByte(t,t),!0},o.ecb.prototype.unpad=function(output,e){if(e.overflow>0)return!1;var t=output.length(),r=output.at(t-1);return!(r>this.blockSize<<2)&&(output.truncate(r),!0)},o.cbc=function(e){e=e||{},this.name="CBC",this.cipher=e.cipher,this.blockSize=e.blockSize||16,this._ints=this.blockSize/4,this._inBlock=new Array(this._ints),this._outBlock=new Array(this._ints)},o.cbc.prototype.start=function(e){if(null===e.iv){if(!this._prev)throw new Error("Invalid IV parameter.");this._iv=this._prev.slice(0)}else{if(!("iv"in e))throw new Error("Invalid IV parameter.");this._iv=c(e.iv,this.blockSize),this._prev=this._iv.slice(0)}},o.cbc.prototype.encrypt=function(input,output,e){if(input.length()<this.blockSize&&!(e&&input.length()>0))return!0;for(var i=0;i<this._ints;++i)this._inBlock[i]=this._prev[i]^input.getInt32();this.cipher.encrypt(this._inBlock,this._outBlock);for(i=0;i<this._ints;++i)output.putInt32(this._outBlock[i]);this._prev=this._outBlock},o.cbc.prototype.decrypt=function(input,output,e){if(input.length()<this.blockSize&&!(e&&input.length()>0))return!0;for(var i=0;i<this._ints;++i)this._inBlock[i]=input.getInt32();this.cipher.decrypt(this._inBlock,this._outBlock);for(i=0;i<this._ints;++i)output.putInt32(this._prev[i]^this._outBlock[i]);this._prev=this._inBlock.slice(0)},o.cbc.prototype.pad=function(input,e){var t=input.length()===this.blockSize?this.blockSize:this.blockSize-input.length();return input.fillWithByte(t,t),!0},o.cbc.prototype.unpad=function(output,e){if(e.overflow>0)return!1;var t=output.length(),r=output.at(t-1);return!(r>this.blockSize<<2)&&(output.truncate(r),!0)},o.cfb=function(e){e=e||{},this.name="CFB",this.cipher=e.cipher,this.blockSize=e.blockSize||16,this._ints=this.blockSize/4,this._inBlock=null,this._outBlock=new Array(this._ints),this._partialBlock=new Array(this._ints),this._partialOutput=n.util.createBuffer(),this._partialBytes=0},o.cfb.prototype.start=function(e){if(!("iv"in e))throw new Error("Invalid IV parameter.");this._iv=c(e.iv,this.blockSize),this._inBlock=this._iv.slice(0),this._partialBytes=0},o.cfb.prototype.encrypt=function(input,output,e){var t=input.length();if(0===t)return!0;
vendor: 94,507 bytes, line 2
2if(this.cipher.encrypt(this._inBlock,this._outBlock),0===this._partialBytes&&t>=this.blockSize)for(var i=0;i<this._ints;++i)this._inBlock[i]=input.getInt32()^this._outBlock[i],output.putInt32(this._inBlock[i]);else{var r=(this.blockSize-t)%this.blockSize;r>0&&(r=this.blockSize-r),this._partialOutput.clear();for(i=0;i<this._ints;++i)this._partialBlock[i]=input.getInt32()^this._outBlock[i],this._partialOutput.putInt32(this._partialBlock[i]);if(r>0)input.read-=this.blockSize;else for(i=0;i<this._ints;++i)this._inBlock[i]=this._partialBlock[i];if(this._partialBytes>0&&this._partialOutput.getBytes(this._partialBytes),r>0&&!e)return output.putBytes(this._partialOutput.getBytes(r-this._partialBytes)),this._partialBytes=r,!0;output.putBytes(this._partialOutput.getBytes(t-this._partialBytes)),this._partialBytes=0}},o.cfb.prototype.decrypt=function(input,output,e){var t=input.length();if(0===t)return!0;if(this.cipher.encrypt(this._inBlock,this._outBlock),0===this._partialBytes&&t>=this.blockSize)for(var i=0;i<this._ints;++i)this._inBlock[i]=input.getInt32(),output.putInt32(this._inBlock[i]^this._outBlock[i]);else{var r=(this.blockSize-t)%this.blockSize;r>0&&(r=this.blockSize-r),this._partialOutput.clear();for(i=0;i<this._ints;++i)this._partialBlock[i]=input.getInt32(),this._partialOutput.putInt32(this._partialBlock[i]^this._outBlock[i]);if(r>0)input.read-=this.blockSize;else for(i=0;i<this._ints;++i)this._inBlock[i]=this._partialBlock[i];if(this._partialBytes>0&&this._partialOutput.getBytes(this._partialBytes),r>0&&!e)return output.putBytes(this._partialOutput.getBytes(r-this._partialBytes)),this._partialBytes=r,!0;output.putBytes(this._partialOutput.getBytes(t-this._partialBytes)),this._partialBytes=0}},o.ofb=function(e){e=e||{},this.name="OFB",this.cipher=e.cipher,this.blockSize=e.blockSize||16,this._ints=this.blockSize/4,this._inBlock=null,this._outBlock=new Array(this._ints),this._partialOutput=n.util.createBuffer(),this._partialBytes=0},o.ofb.prototype.start=function(e){if(!("iv"in e))throw new Error("Invalid IV parameter.");this._iv=c(e.iv,this.blockSize),this._inBlock=this._iv.slice(0),this._partialBytes=0},o.ofb.prototype.encrypt=function(input,output,e){var t=input.length();if(0===input.length())return!0;if(this.cipher.encrypt(this._inBlock,this._outBlock),0===this._partialBytes&&t>=this.blockSize)for(var i=0;i<this._ints;++i)output.putInt32(input.getInt32()^this._outBlock[i]),this._inBlock[i]=this._outBlock[i];else{var r=(this.blockSize-t)%this.blockSize;r>0&&(r=this.blockSize-r),this._partialOutput.clear();for(i=0;i<this._ints;++i)this._partialOutput.putInt32(input.getInt32()^this._outBlock[i]);if(r>0)input.read-=this.blockSize;else for(i=0;i<this._ints;++i)this._inBlock[i]=this._outBlock[i];if(this._partialBytes>0&&this._partialOutput.getBytes(this._partialBytes),r>0&&!e)return output.putBytes(this._partialOutput.getBytes(r-this._partialBytes)),this._partialBytes=r,!0;output.putBytes(this._partialOutput.getBytes(t-this._partialBytes)),this._partialBytes=0}},o.ofb.prototype.decrypt=o.ofb.prototype.encrypt,o.ctr=function(e){e=e||{},this.name="CTR",this.cipher=e.cipher,this.blockSize=e.blockSize||16,this._ints=this.blockSize/4,this._inBlock=null,this._outBlock=new Array(this._ints),this._partialOutput=n.util.createBuffer(),this._partialBytes=0},o.ctr.prototype.start=function(e){if(!("iv"in e))throw new Error("Invalid IV parameter.");this._iv=c(e.iv,this.blockSize),this._inBlock=this._iv.slice(0),this._partialBytes=0},o.ctr.prototype.encrypt=function(input,output,e){var t=input.length();if(0===t)return!0;if(this.cipher.encrypt(this._inBlock,this._outBlock),0===this._partialBytes&&t>=this.blockSize)for(var i=0;i<this._ints;++i)output.putInt32(input.getInt32()^this._outBlock[i]);else{var r=(this.blockSize-t)%this.blockSize;r>0&&(r=this.blockSize-r),this._partialOutput.clear();for(i=0;i<this._ints;++i)this._partialOutput.putInt32(input.getInt32()^this._outBlock[i]);if(r>0&&(input.read-=this.blockSize),this._partialBytes>0&&this._partialOutput.getBytes(this._partialBytes),r>0&&!e)return output.putBytes(this._partialOutput.getBytes(r-this._partialBytes)),this._partialBytes=r,!0;output.putBytes(this._partialOutput.getBytes(t-this._partialBytes)),this._partialBytes=0}f(this._inBlock)},o.ctr.prototype.decrypt=o.ctr.prototype.encrypt,o.gcm=function(e){e=e||{},this.name="GCM",this.cipher=e.cipher,this.blockSize=e.blockSize||16,this._ints=this.blockSize/4,this._inBlock=new Array(this._ints),this._outBlock=new Array(this._ints),this._partialOutput=n.util.createBuffer(),this._partialBytes=0,this._R=3774873600},o.gcm.prototype.start=function(e){if(!("iv"in e))throw new Error("Invalid IV parameter.");var t,r=n.util.createBuffer(e.iv);if(this._cipherLength=0,t="additionalData"in e?n.util.createBuffer(e.additionalData):n.util.createBuffer(),this._tagLength="tagLength"in e?e.tagLength:128,this._tag=null,e.decrypt&&(this._tag=n.util.createBuffer(e.tag).getBytes(),this._tag.length!==this._tagLength/8))throw new Error("Authentication tag does not match tag length.");this._hashBlock=new Array(this._ints),this.tag=null,this._hashSubkey=new Array(this._ints),this.cipher.encrypt([0,0,0,0],this._hashSubkey),this.componentBits=4,this._m=this.generateHashTable(this._hashSubkey,this.componentBits);var o=r.length();if(12===o)this._j0=[r.getInt32(),r.getInt32(),r.getInt32(),1];else{for(this._j0=[0,0,0,0];r.length()>0;)this._j0=this.ghash(this._hashSubkey,this._j0,[r.getInt32(),r.getInt32(),r.getInt32(),r.getInt32()]);this._j0=this.ghash(this._hashSubkey,this._j0,[0,0].concat(h(8*o)))}this._inBlock=this._j0.slice(0),f(this._inBlock),this._partialBytes=0,t=n.util.createBuffer(t),this._aDataLength=h(8*t.length());var c=t.length()%this.blockSize;for(c&&t.fillWithByte(0,this.blockSize-c),this._s=[0,0,0,0];t.length()>0;)this._s=this.ghash(this._hashSubkey,this._s,[t.getInt32(),t.getInt32(),t.getInt32(),t.getInt32()])},o.gcm.prototype.encrypt=function(input,output,e){var t=input.length();if(0===t)return!0;if(this.cipher.encrypt(this._inBlock,this._outBlock),0===this._partialBytes&&t>=this.blockSize){for(var i=0;i<this._ints;++i)output.putInt32(this._outBlock[i]^=input.getInt32());this._cipherLength+=this.blockSize}else{var r=(this.blockSize-t)%this.blockSize;r>0&&(r=this.blockSize-r),this._partialOutput.clear();for(i=0;i<this._ints;++i)this._partialOutput.putInt32(input.getInt32()^this._outBlock[i]);if(r<=0||e){if(e){var n=t%this.blockSize;this._cipherLength+=n,this._partialOutput.truncate(this.blockSize-n)}else this._cipherLength+=this.blockSize;for(i=0;i<this._ints;++i)this._outBlock[i]=this._partialOutput.getInt32();this._partialOutput.read-=this.blockSize}if(this._partialBytes>0&&this._partialOutput.getBytes(this._partialBytes),r>0&&!e)return input.read-=this.blockSize,output.putBytes(this._partialOutput.getBytes(r-this._partialBytes)),this._partialBytes=r,!0;output.putBytes(this._partialOutput.getBytes(t-this._partialBytes)),this._partialBytes=0}this._s=this.ghash(this._hashSubkey,this._s,this._outBlock),f(this._inBlock)},o.gcm.prototype.decrypt=function(input,output,e){var t=input.length();if(t<this.blockSize&&!(e&&t>0))return!0;this.cipher.encrypt(this._inBlock,this._outBlock),f(this._inBlock),this._hashBlock[0]=input.getInt32(),this._hashBlock[1]=input.getInt32(),this._hashBlock[2]=input.getInt32(),this._hashBlock[3]=input.getInt32(),this._s=this.ghash(this._hashSubkey,this._s,this._hashBlock);for(var i=0;i<this._ints;++i)output.putInt32(this._outBlock[i]^this._hashBlock[i]);t<this.blockSize?this._cipherLength+=t%this.blockSize:this._cipherLength+=this.blockSize},o.gcm.prototype.afterFinish=function(output,e){var t=!0;e.decrypt&&e.overflow&&output.truncate(this.blockSize-e.overflow),this.tag=n.util.createBuffer();var r=this._aDataLength.concat(h(8*this._cipherLength));this._s=this.ghash(this._hashSubkey,this._s,r);var o=[];this.cipher.encrypt(this._j0,o);for(var i=0;i<this._ints;++i)this.tag.putInt32(this._s[i]^o[i]);return this.tag.truncate(this.tag.length()%(this._tagLength/8)),e.decrypt&&this.tag.bytes()!==this._tag&&(t=!1),t},o.gcm.prototype.multiply=function(e,t){for(var r=[0,0,0,0],n=t.slice(0),i=0;i<128;++i){e[i/32|0]&1<<31-i%32&&(r[0]^=n[0],r[1]^=n[1],r[2]^=n[2],r[3]^=n[3]),this.pow(n,n)}return r},o.gcm.prototype.pow=function(e,t){for(var r=1&e[3],i=3;i>0;--i)t[i]=e[i]>>>1|(1&e[i-1])<<31;t[0]=e[0]>>>1,r&&(t[0]^=this._R)},o.gcm.prototype.tableMultiply=function(e){for(var t=[0,0,0,0],i=0;i<32;++i){var r=e[i/8|0]>>>4*(7-i%8)&15,n=this._m[i][r];t[0]^=n[0],t[1]^=n[1],t[2]^=n[2],t[3]^=n[3]}return t},o.gcm.prototype.ghash=function(e,t,r){return t[0]^=r[0],t[1]^=r[1],t[2]^=r[2],t[3]^=r[3],this.tableMultiply(t)},o.gcm.prototype.generateHashTable=function(e,t){for(var r=8/t,n=4*r,o=16*r,c=new Array(o),i=0;i<o;++i){var f=[0,0,0,0],h=(n-1-i%n)*t;f[i/n|0]=1<<t-1<<h,c[i]=this.generateSubHashTable(this.multiply(f,e),t)}return c},o.gcm.prototype.generateSubHashTable=function(e,t){var r=1<<t,n=r>>>1,o=new Array(r);o[n]=e.slice(0);for(var i=n>>>1;i>0;)this.pow(o[2*i],o[i]=[]),i>>=1;for(i=2;i<n;){for(var c=1;c<i;++c){var f=o[i],h=o[c];o[i+c]=[f[0]^h[0],f[1]^h[1],f[2]^h[2],f[3]^h[3]]}i*=2}for(o[0]=[0,0,0,0],i=n+1;i<r;++i){var l=o[i^n];o[i]=[e[0]^l[0],e[1]^l[1],e[2]^l[2],e[3]^l[3]]}return o}},function(e,t,r){var n=r(11);r(67),r(144),r(263),r(115),r(444),r(62),r(145),r(18);var o=function(e,label,t,r){var o=n.util.createBuffer(),c=e.length>>1,f=c+(1&e.length),h=e.substr(0,f),l=e.substr(c,f),d=n.util.createBuffer(),y=n.hmac.create();t=label+t;var m=Math.ceil(r/16),v=Math.ceil(r/20);y.start("MD5",h);var w=n.util.createBuffer();d.putBytes(t);for(var i=0;i<m;++i)y.start(null,null),y.update(d.getBytes()),d.putBuffer(y.digest()),y.start(null,null),y.update(d.bytes()+t),w.putBuffer(y.digest());y.start("SHA1",l);var _=n.util.createBuffer();d.clear(),d.putBytes(t);for(i=0;i<v;++i)y.start(null,null),y.update(d.getBytes()),d.putBuffer(y.digest()),y.start(null,null),y.update(d.bytes()+t),_.putBuffer(y.digest());return o.putBytes(n.util.xorBytes(w.getBytes(),_.getBytes(),r)),o},c=function(e,t,s){var r=!1;try{var o=e.deflate(t.fragment.getBytes());t.fragment=n.util.createBuffer(o),t.length=o.length,r=!0}catch(e){}return r},f=function(e,t,s){var r=!1;try{var o=e.inflate(t.fragment.getBytes());t.fragment=n.util.createBuffer(o),t.length=o.length,r=!0}catch(e){}return r},h=function(b,e){var t=0;switch(e){case 1:t=b.getByte();break;case 2:t=b.getInt16();break;case 3:t=b.getInt24();break;case 4:t=b.getInt32()}return n.util.createBuffer(b.getBytes(t))},l=function(b,e,t){b.putInt(t.length(),e<<3),b.putBuffer(t)},d={Versions:{TLS_1_0:{major:3,minor:1},TLS_1_1:{major:3,minor:2},TLS_1_2:{major:3,minor:3}}};d.SupportedVersions=[d.Versions.TLS_1_1,d.Versions.TLS_1_0],d.Version=d.SupportedVersions[0],d.MaxFragment=15360,d.ConnectionEnd={server:0,client:1},d.PRFAlgorithm={tls_prf_sha256:0},d.BulkCipherAlgorithm={none:null,rc4:0,des3:1,aes:2},d.CipherType={stream:0,block:1,aead:2},d.MACAlgorithm={none:null,hmac_md5:0,hmac_sha1:1,hmac_sha256:2,hmac_sha384:3,hmac_sha512:4},d.CompressionMethod={none:0,deflate:1},d.ContentType={change_cipher_spec:20,alert:21,handshake:22,application_data:23,heartbeat:24},d.HandshakeType={hello_request:0,client_hello:1,server_hello:2,certificate:11,server_key_exchange:12,certificate_request:13,server_hello_done:14,certificate_verify:15,client_key_exchange:16,finished:20},d.Alert={},d.Alert.Level={warning:1,fatal:2},d.Alert.Description={close_notify:0,unexpected_message:10,bad_record_mac:20,decryption_failed:21,record_overflow:22,decompression_failure:30,handshake_failure:40,bad_certificate:42,unsupported_certificate:43,certificate_revoked:44,certificate_expired:45,certificate_unknown:46,illegal_parameter:47,unknown_ca:48,access_denied:49,decode_error:50,decrypt_error:51,export_restriction:60,protocol_version:70,insufficient_security:71,internal_error:80,user_canceled:90,no_renegotiation:100},d.HeartbeatMessageType={heartbeat_request:1,heartbeat_response:2},d.CipherSuites={},d.getCipherSuite=function(e){var t=null;for(var r in d.CipherSuites){var n=d.CipherSuites[r];if(n.id[0]===e.charCodeAt(0)&&n.id[1]===e.charCodeAt(1)){t=n;break}}return t},d.handleUnexpected=function(e,t){!e.open&&e.entity===d.ConnectionEnd.client||e.error(e,{message:"Unexpected message. Received TLS record out of order.",send:!0,alert:{level:d.Alert.Level.fatal,description:d.Alert.Description.unexpected_message}})},d.handleHelloRequest=function(e,t,r){!e.handshaking&&e.handshakes>0&&(d.queue(e,d.createAlert(e,{level:d.Alert.Level.warning,description:d.Alert.Description.no_renegotiation})),d.flush(e)),e.process()},d.parseHelloMessage=function(e,t,r){var o=null,c=e.entity===d.ConnectionEnd.client;if(r<38)e.error(e,{message:c?"Invalid ServerHello message. Message too short.":"Invalid ClientHello message. Message too short.",send:!0,alert:{level:d.Alert.Level.fatal,description:d.Alert.Description.illegal_parameter}});else{var b=t.fragment,f=b.length();if(o={version:{major:b.getByte(),minor:b.getByte()},random:n.util.createBuffer(b.getBytes(32)),session_id:h(b,1),extensions:[]},c?(o.cipher_suite=b.getBytes(2),o.compression_method=b.getByte()):(o.cipher_suites=h(b,2),o.compression_methods=h(b,1)),(f=r-(f-b.length()))>0){for(var l=h(b,2);l.length()>0;)o.extensions.push({type:[l.getByte(),l.getByte()],data:h(l,2)});if(!c)for(var i=0;i<o.extensions.length;++i){var y=o.extensions[i];if(0===y.type[0]&&0===y.type[1])for(var m=h(y.data,2);m.length()>0;){if(0!==m.getByte())break;e.session.extensions.server_name.serverNameList.push(h(m,2).getBytes())}}}if(e.session.version&&(o.version.major!==e.session.version.major||o.version.minor!==e.session.version.minor))return e.error(e,{message:"TLS version change is disallowed during renegotiation.",send:!0,alert:{level:d.Alert.Level.fatal,description:d.Alert.Description.protocol_version}});if(c)e.session.cipherSuite=d.getCipherSuite(o.cipher_suite);else for(var v=n.util.createBuffer(o.cipher_suites.bytes());v.length()>0&&(e.session.cipherSuite=d.getCipherSuite(v.getBytes(2)),null===e.session.cipherSuite););if(null===e.session.cipherSuite)return e.error(e,{message:"No cipher suites in common.",send:!0,alert:{level:d.Alert.Level.fatal,description:d.Alert.Description.handshake_failure},cipherSuite:n.util.bytesToHex(o.cipher_suite)});e.session.compressionMethod=c?o.compression_method:d.CompressionMethod.none}return o},d.createSecurityParameters=function(e,t){var r=e.entity===d.ConnectionEnd.client,n=t.random.bytes(),o=r?e.session.sp.client_random:n,c=r?n:d.createRandom().getBytes();e.session.sp={entity:e.entity,prf_algorithm:d.PRFAlgorithm.tls_prf_sha256,bulk_cipher_algorithm:null,cipher_type:null,enc_key_length:null,block_length:null,fixed_iv_length:null,record_iv_length:null,mac_algorithm:null,mac_length:null,mac_key_length:null,compression_algorithm:e.session.compressionMethod,pre_master_secret:null,master_secret:null,client_random:o,server_random:c}},d.handleServerHello=function(e,t,r){var n=d.parseHelloMessage(e,t,r);if(!e.fail){if(!(n.version.minor<=e.version.minor))return e.error(e,{message:"Incompatible TLS version.",send:!0,alert:{level:d.Alert.Level.fatal,description:d.Alert.Description.protocol_version}});e.version.minor=n.version.minor,e.session.version=e.version;var o=n.session_id.bytes();o.length>0&&o===e.session.id?(e.expect=_,e.session.resuming=!0,e.session.sp.server_random=n.random.bytes()):(e.expect=y,e.session.resuming=!1,d.createSecurityParameters(e,n)),e.session.id=o,e.process()}},d.handleClientHello=function(e,t,r){var o=d.parseHelloMessage(e,t,r);if(!e.fail){var c=o.session_id.bytes(),f=null;if(e.sessionCache&&(null===(f=e.sessionCache.getSession(c))?c="":(f.version.major!==o.version.major||f.version.minor>o.version.minor)&&(f=null,c="")),0===c.length&&(c=n.random.getBytes(32)),e.session.id=c,e.session.clientHelloVersion=o.version,e.session.sp={},f)e.version=e.session.version=f.version,e.session.sp=f.sp;else{for(var h,i=1;i<d.SupportedVersions.length&&!((h=d.SupportedVersions[i]).minor<=o.version.minor);++i);e.version={major:h.major,minor:h.minor},e.session.version=e.version}null!==f?(e.expect=I,e.session.resuming=!0,e.session.sp.client_random=o.random.bytes()):(e.expect=!1!==e.verifyClient?A:T,e.session.resuming=!1,d.createSecurityParameters(e,o)),e.open=!0,d.queue(e,d.createRecord(e,{type:d.ContentType.handshake,data:d.createServerHello(e)})),e.session.resuming?(d.queue(e,d.createRecord(e,{type:d.ContentType.change_cipher_spec,data:d.createChangeCipherSpec()})),e.state.pending=d.createConnectionState(e),e.state.current.write=e.state.pending.write,d.queue(e,d.createRecord(e,{type:d.ContentType.handshake,data:d.createFinished(e)}))):(d.queue(e,d.createRecord(e,{type:d.ContentType.handshake,data:d.createCertificate(e)})),e.fail||(d.queue(e,d.createRecord(e,{type:d.ContentType.handshake,data:d.createServerKeyExchange(e)})),!1!==e.verifyClient&&d.queue(e,d.createRecord(e,{type:d.ContentType.handshake,data:d.createCertificateRequest(e)})),d.queue(e,d.createRecord(e,{type:d.ContentType.handshake,data:d.createServerHelloDone(e)})))),d.flush(e),e.process()}},d.handleCertificate=function(e,t,r){if(r<3)return e.error(e,{message:"Invalid Certificate message. Message too short.",send:!0,alert:{level:d.Alert.Level.fatal,description:d.Alert.Description.illegal_parameter}});var o,c,b=t.fragment,f={certificate_list:h(b,3)},l=[];try{for(;f.certificate_list.length()>0;)o=h(f.certificate_list,3),c=n.asn1.fromDer(o),o=n.pki.certificateFromAsn1(c,!0),l.push(o)}catch(t){return e.error(e,{message:"Could not parse certificate list.",cause:t,send:!0,alert:{level:d.Alert.Level.fatal,description:d.Alert.Description.bad_certificate}})}var y=e.entity===d.ConnectionEnd.client;!y&&!0!==e.verifyClient||0!==l.length?0===l.length?e.expect=y?m:T:(y?e.session.serverCertificate=l[0]:e.session.clientCertificate=l[0],d.verifyCertificateChain(e,l)&&(e.expect=y?m:T)):e.error(e,{message:y?"No server certificate provided.":"No client certificate provided.",send:!0,alert:{level:d.Alert.Level.fatal,description:d.Alert.Description.illegal_parameter}}),e.process()},d.handleServerKeyExchange=function(e,t,r){if(r>0)return e.error(e,{message:"Invalid key parameters. Only RSA is supported.",send:!0,alert:{level:d.Alert.Level.fatal,description:d.Alert.Description.unsupported_certificate}});e.expect=v,e.process()},d.handleClientKeyExchange=function(e,t,r){if(r<48)return e.error(e,{message:"Invalid key parameters. Only RSA is supported.",send:!0,alert:{level:d.Alert.Level.fatal,description:d.Alert.Description.unsupported_certificate}});var b=t.fragment,o={enc_pre_master_secret:h(b,2).getBytes()},c=null;if(e.getPrivateKey)try{c=e.getPrivateKey(e,e.session.serverCertificate),c=n.pki.privateKeyFromPem(c)}catch(t){e.error(e,{message:"Could not get private key.",cause:t,send:!0,alert:{level:d.Alert.Level.fatal,description:d.Alert.Description.internal_error}})}if(null===c)return e.error(e,{message:"No private key set.",send:!0,alert:{level:d.Alert.Level.fatal,description:d.Alert.Description.internal_error}});try{var f=e.session.sp;f.pre_master_secret=c.decrypt(o.enc_pre_master_secret);var l=e.session.clientHelloVersion;if(l.major!==f.pre_master_secret.charCodeAt(0)||l.minor!==f.pre_master_secret.charCodeAt(1))throw new Error("TLS version rollback attack detected.")}catch(e){f.pre_master_secret=n.random.getBytes(48)}e.expect=I,null!==e.session.clientCertificate&&(e.expect=k),e.process()},d.handleCertificateRequest=function(e,t,r){if(r<3)return e.error(e,{message:"Invalid CertificateRequest. Message too short.",send:!0,alert:{level:d.Alert.Level.fatal,description:d.Alert.Description.illegal_parameter}});var b=t.fragment,n={certificate_types:h(b,1),certificate_authorities:h(b,2)};e.session.certificateRequest=n,e.expect=w,e.process()},d.handleCertificateVerify=function(e,t,r){if(r<2)return e.error(e,{message:"Invalid CertificateVerify. Message too short.",send:!0,alert:{level:d.Alert.Level.fatal,description:d.Alert.Description.illegal_parameter}});var b=t.fragment;b.read-=4;var o=b.bytes();b.read+=4;var c={signature:h(b,2).getBytes()},f=n.util.createBuffer();f.putBuffer(e.session.md5.digest()),f.putBuffer(e.session.sha1.digest()),f=f.getBytes();try{if(!e.session.clientCertificate.publicKey.verify(f,c.signature,"NONE"))throw new Error("CertificateVerify signature does not match.");e.session.md5.update(o),e.session.sha1.update(o)}catch(t){return e.error(e,{message:"Bad signature in CertificateVerify.",send:!0,alert:{level:d.Alert.Level.fatal,description:d.Alert.Description.handshake_failure}})}e.expect=I,e.process()},d.handleServerHelloDone=function(e,t,r){if(r>0)return e.error(e,{message:"Invalid ServerHelloDone message. Invalid length.",send:!0,alert:{level:d.Alert.Level.fatal,description:d.Alert.Description.record_overflow}});if(null===e.serverCertificate){var o={message:"No server certificate provided. Not enough security.",send:!0,alert:{level:d.Alert.Level.fatal,description:d.Alert.Description.insufficient_security}},c=e.verify(e,o.alert.description,0,[]);if(!0!==c)return(c||0===c)&&("object"!=typeof c||n.util.isArray(c)?"number"==typeof c&&(o.alert.description=c):(c.message&&(o.message=c.message),c.alert&&(o.alert.description=c.alert))),e.error(e,o)}null!==e.session.certificateRequest&&(t=d.createRecord(e,{type:d.ContentType.handshake,data:d.createCertificate(e)}),d.queue(e,t)),t=d.createRecord(e,{type:d.ContentType.handshake,data:d.createClientKeyExchange(e)}),d.queue(e,t),e.expect=C;var f=function(e,t){null!==e.session.certificateRequest&&null!==e.session.clientCertificate&&d.queue(e,d.createRecord(e,{type:d.ContentType.handshake,data:d.createCertificateVerify(e,t)})),d.queue(e,d.createRecord(e,{type:d.ContentType.change_cipher_spec,data:d.createChangeCipherSpec()})),e.state.pending=d.createConnectionState(e),e.state.current.write=e.state.pending.write,d.queue(e,d.createRecord(e,{type:d.ContentType.handshake,data:d.createFinished(e)})),e.expect=_,d.flush(e),e.process()};if(null===e.session.certificateRequest||null===e.session.clientCertificate)return f(e,null);d.getClientSignature(e,f)},d.handleChangeCipherSpec=function(e,t){if(1!==t.fragment.getByte())return e.error(e,{message:"Invalid ChangeCipherSpec message received.",send:!0,alert:{level:d.Alert.Level.fatal,description:d.Alert.Description.illegal_parameter}});var r=e.entity===d.ConnectionEnd.client;(e.session.resuming&&r||!e.session.resuming&&!r)&&(e.state.pending=d.createConnectionState(e)),e.state.current.read=e.state.pending.read,(!e.session.resuming&&r||e.session.resuming&&!r)&&(e.state.pending=null),e.expect=r?E:M,e.process()},d.handleFinished=function(e,t,r){var b=t.fragment;b.read-=4;var c=b.bytes();b.read+=4;var f=t.fragment.getBytes();(b=n.util.createBuffer()).putBuffer(e.session.md5.digest()),b.putBuffer(e.session.sha1.digest());var h=e.entity===d.ConnectionEnd.client,label=h?"server finished":"client finished",l=e.session.sp;if((b=o(l.master_secret,label,b.getBytes(),12)).getBytes()!==f)return e.error(e,{message:"Invalid verify_data in Finished message.",send:!0,alert:{level:d.Alert.Level.fatal,description:d.Alert.Description.decrypt_error}});e.session.md5.update(c),e.session.sha1.update(c),(e.session.resuming&&h||!e.session.resuming&&!h)&&(d.queue(e,d.createRecord(e,{type:d.ContentType.change_cipher_spec,data:d.createChangeCipherSpec()})),e.state.current.write=e.state.pending.write,e.state.pending=null,d.queue(e,d.createRecord(e,{type:d.ContentType.handshake,data:d.createFinished(e)}))),e.expect=h?S:R,e.handshaking=!1,++e.handshakes,e.peerCertificate=h?e.session.serverCertificate:e.session.clientCertificate,d.flush(e),e.isConnected=!0,e.connected(e),e.process()},d.handleAlert=function(e,t){var r,b=t.fragment,n={level:b.getByte(),description:b.getByte()};switch(n.description){case d.Alert.Description.close_notify:r="Connection closed.";break;case d.Alert.Description.unexpected_message:r="Unexpected message.";break;case d.Alert.Description.bad_record_mac:r="Bad record MAC.";break;case d.Alert.Description.decryption_failed:r="Decryption failed.";break;case d.Alert.Description.record_overflow:r="Record overflow.";break;case d.Alert.Description.decompression_failure:r="Decompression failed.";break;case d.Alert.Description.handshake_failure:r="Handshake failure.";break;case d.Alert.Description.bad_certificate:r="Bad certificate.";break;case d.Alert.Description.unsupported_certificate:r="Unsupported certificate.";break;case d.Alert.Description.certificate_revoked:r="Certificate revoked.";break;case d.Alert.Description.certificate_expired:r="Certificate expired.";break;case d.Alert.Description.certificate_unknown:r="Certificate unknown.";break;case d.Alert.Description.illegal_parameter:r="Illegal parameter.";break;case d.Alert.Description.unknown_ca:r="Unknown certificate authority.";break;case d.Alert.Description.access_denied:r="Access denied.";break;case d.Alert.Description.decode_error:r="Decode error.";break;case d.Alert.Description.decrypt_error:r="Decrypt error.";break;case d.Alert.Description.export_restriction:r="Export restriction.";break;case d.Alert.Description.protocol_version:r="Unsupported protocol version.";break;case d.Alert.Description.insufficient_security:r="Insufficient security.";break;case d.Alert.Description.internal_error:r="Internal error.";break;case d.Alert.Description.user_canceled:r="User canceled.";break;case d.Alert.Description.no_renegotiation:r="Renegotiation not supported.";break;default:r="Unknown error."}if(n.description===d.Alert.Description.close_notify)return e.close();e.error(e,{message:r,send:!1,origin:e.entity===d.ConnectionEnd.client?"server":"client",alert:n}),e.process()},d.handleHandshake=function(e,t){var b=t.fragment,r=b.getByte(),o=b.getInt24();if(o>b.length())return e.fragmented=t,t.fragment=n.util.createBuffer(),b.read-=4,e.process();e.fragmented=null,b.read-=4;var c=b.bytes(o+4);b.read+=4,r in G[e.entity][e.expect]?(e.entity!==d.ConnectionEnd.server||e.open||e.fail||(e.handshaking=!0,e.session={version:null,extensions:{server_name:{serverNameList:[]}},cipherSuite:null,compressionMethod:null,serverCertificate:null,clientCertificate:null,md5:n.md.md5.create(),sha1:n.md.sha1.create()}),r!==d.HandshakeType.hello_request&&r!==d.HandshakeType.certificate_verify&&r!==d.HandshakeType.finished&&(e.session.md5.update(c),e.session.sha1.update(c)),G[e.entity][e.expect][r](e,t,o)):d.handleUnexpected(e,t)},d.handleApplicationData=function(e,t){e.data.putBuffer(t.fragment),e.dataReady(e),e.process()},d.handleHeartbeat=function(e,t){var b=t.fragment,r=b.getByte(),o=b.getInt16(),c=b.getBytes(o);if(r===d.HeartbeatMessageType.heartbeat_request){if(e.handshaking||o>c.length)return e.process();d.queue(e,d.createRecord(e,{type:d.ContentType.heartbeat,data:d.createHeartbeat(d.HeartbeatMessageType.heartbeat_response,c)})),d.flush(e)}else if(r===d.HeartbeatMessageType.heartbeat_response){if(c!==e.expectedHeartbeatPayload)return e.process();e.heartbeatReceived&&e.heartbeatReceived(e,n.util.createBuffer(c))}e.process()};var y=1,m=2,v=3,w=4,_=5,E=6,S=7,C=8,A=1,T=2,k=3,I=4,M=5,R=6,x=d.handleUnexpected,B=d.handleChangeCipherSpec,N=d.handleAlert,O=d.handleHandshake,L=d.handleApplicationData,P=d.handleHeartbeat,D=[];D[d.ConnectionEnd.client]=[[x,N,O,x,P],[x,N,O,x,P],[x,N,O,x,P],[x,N,O,x,P],[x,N,O,x,P],[B,N,x,x,P],[x,N,O,x,P],[x,N,O,L,P],[x,N,O,x,P]],D[d.ConnectionEnd.server]=[[x,N,O,x,P],[x,N,O,x,P],[x,N,O,x,P],[x,N,O,x,P],[B,N,x,x,P],[x,N,O,x,P],[x,N,O,L,P],[x,N,O,x,P]];var j=d.handleHelloRequest,U=d.handleServerHello,F=d.handleCertificate,V=d.handleServerKeyExchange,K=d.handleCertificateRequest,z=d.handleServerHelloDone,H=d.handleFinished,G=[];G[d.ConnectionEnd.client]=[[x,x,U,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x],[j,x,x,x,x,x,x,x,x,x,x,F,V,K,z,x,x,x,x,x,x],[j,x,x,x,x,x,x,x,x,x,x,x,V,K,z,x,x,x,x,x,x],[j,x,x,x,x,x,x,x,x,x,x,x,x,K,z,x,x,x,x,x,x],[j,x,x,x,x,x,x,x,x,x,x,x,x,x,z,x,x,x,x,x,x],[j,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x],[j,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,H],[j,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x],[j,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x]];var $=d.handleClientHello,W=d.handleClientKeyExchange,Y=d.handleCertificateVerify;G[d.ConnectionEnd.server]=[[x,$,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x],[x,x,x,x,x,x,x,x,x,x,x,F,x,x,x,x,x,x,x,x,x],[x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,W,x,x,x,x],[x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,Y,x,x,x,x,x],[x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x],[x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,H],[x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x],[x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x]],d.generateKeys=function(e,t){var r=o,n=t.client_random+t.server_random;e.session.resuming||(t.master_secret=r(t.pre_master_secret,"master secret",n,48).bytes(),t.pre_master_secret=null),n=t.server_random+t.client_random;var c=2*t.mac_key_length+2*t.enc_key_length,f=e.version.major===d.Versions.TLS_1_0.major&&e.version.minor===d.Versions.TLS_1_0.minor;f&&(c+=2*t.fixed_iv_length);var h=r(t.master_secret,"key expansion",n,c),l={client_write_MAC_key:h.getBytes(t.mac_key_length),server_write_MAC_key:h.getBytes(t.mac_key_length),client_write_key:h.getBytes(t.enc_key_length),server_write_key:h.getBytes(t.enc_key_length)};return f&&(l.client_write_IV=h.getBytes(t.fixed_iv_length),l.server_write_IV=h.getBytes(t.fixed_iv_length)),l},d.createConnectionState=function(e){var t=e.entity===d.ConnectionEnd.client,r=function(){var e={sequenceNumber:[0,0],macKey:null,macLength:0,macFunction:null,cipherState:null,cipherFunction:function(e){return!0},compressionState:null,compressFunction:function(e){return!0},updateSequenceNumber:function(){4294967295===e.sequenceNumber[1]?(e.sequenceNumber[1]=0,++e.sequenceNumber[0]):++e.sequenceNumber[1]}};return e},n={read:r(),write:r()};if(n.read.update=function(e,t){return n.read.cipherFunction(t,n.read)?n.read.compressFunction(e,t,n.read)||e.error(e,{message:"Could not decompress record.",send:!0,alert:{level:d.Alert.Level.fatal,description:d.Alert.Description.decompression_failure}}):e.error(e,{message:"Could not decrypt record or bad MAC.",send:!0,alert:{level:d.Alert.Level.fatal,description:d.Alert.Description.bad_record_mac}}),!e.fail},n.write.update=function(e,t){return n.write.compressFunction(e,t,n.write)?n.write.cipherFunction(t,n.write)||e.error(e,{message:"Could not encrypt record.",send:!1,alert:{level:d.Alert.Level.fatal,description:d.Alert.Description.internal_error}}):e.error(e,{message:"Could not compress record.",send:!1,alert:{level:d.Alert.Level.fatal,description:d.Alert.Description.internal_error}}),!e.fail},e.session){var o=e.session.sp;switch(e.session.cipherSuite.initSecurityParameters(o),o.keys=d.generateKeys(e,o),n.read.macKey=t?o.keys.server_write_MAC_key:o.keys.client_write_MAC_key,n.write.macKey=t?o.keys.client_write_MAC_key:o.keys.server_write_MAC_key,e.session.cipherSuite.initConnectionState(n,e,o),o.compression_algorithm){case d.CompressionMethod.none:break;case d.CompressionMethod.deflate:n.read.compressFunction=f,n.write.compressFunction=c;break;default:throw new Error("Unsupported compression algorithm.")}}return n},d.createRandom=function(){var e=new Date,t=+e+6e4*e.getTimezoneOffset(),r=n.util.createBuffer();return r.putInt32(t),r.putBytes(n.random.getBytes(28)),r},d.createRecord=function(e,t){return t.data?{type:t.type,version:{major:e.version.major,minor:e.version.minor},length:t.data.length(),fragment:t.data}:null},d.createAlert=function(e,t){var b=n.util.createBuffer();return b.putByte(t.level),b.putByte(t.description),d.createRecord(e,{type:d.ContentType.alert,data:b})},d.createClientHello=function(e){e.session.clientHelloVersion={major:e.version.major,minor:e.version.minor};for(var t=n.util.createBuffer(),i=0;i<e.cipherSuites.length;++i){var r=e.cipherSuites[i];t.putByte(r.id[0]),t.putByte(r.id[1])}var o=t.length(),c=n.util.createBuffer();c.putByte(d.CompressionMethod.none);var f=c.length(),h=n.util.createBuffer();if(e.virtualHost){var y=n.util.createBuffer();y.putByte(0),y.putByte(0);var m=n.util.createBuffer();m.putByte(0),l(m,2,n.util.createBuffer(e.virtualHost));var v=n.util.createBuffer();l(v,2,m),l(y,2,v),h.putBuffer(y)}var w=h.length();w>0&&(w+=2);var _=e.session.id,E=_.length+1+2+4+28+2+o+1+f+w,S=n.util.createBuffer();return S.putByte(d.HandshakeType.client_hello),S.putInt24(E),S.putByte(e.version.major),S.putByte(e.version.minor),S.putBytes(e.session.sp.client_random),l(S,1,n.util.createBuffer(_)),l(S,2,t),l(S,1,c),w>0&&l(S,2,h),S},d.createServerHello=function(e){var t=e.session.id,r=t.length+1+2+4+28+2+1,o=n.util.createBuffer();return o.putByte(d.HandshakeType.server_hello),o.putInt24(r),o.putByte(e.version.major),o.putByte(e.version.minor),o.putBytes(e.session.sp.server_random),l(o,1,n.util.createBuffer(t)),o.putByte(e.session.cipherSuite.id[0]),o.putByte(e.session.cipherSuite.id[1]),o.putByte(e.session.compressionMethod),o},d.createCertificate=function(e){var t,r=e.entity===d.ConnectionEnd.client,o=null;e.getCertificate&&(t=r?e.session.certificateRequest:e.session.extensions.server_name.serverNameList,o=e.getCertificate(e,t));var c=n.util.createBuffer();if(null!==o)try{n.util.isArray(o)||(o=[o]);for(var f=null,i=0;i<o.length;++i){var h=n.pem.decode(o[i])[0];if("CERTIFICATE"!==h.type&&"X509 CERTIFICATE"!==h.type&&"TRUSTED CERTIFICATE"!==h.type){var y=new Error('Could not convert certificate from PEM; PEM header type is not "CERTIFICATE", "X509 CERTIFICATE", or "TRUSTED CERTIFICATE".');throw y.headerType=h.type,y}if(h.procType&&"ENCRYPTED"===h.procType.type)throw new Error("Could not convert certificate from PEM; PEM is encrypted.");var m=n.util.createBuffer(h.body);null===f&&(f=n.asn1.fromDer(m.bytes(),!1));var v=n.util.createBuffer();l(v,3,m),c.putBuffer(v)}o=n.pki.certificateFromAsn1(f),r?e.session.clientCertificate=o:e.session.serverCertificate=o}catch(t){return e.error(e,{message:"Could not send certificate list.",cause:t,send:!0,alert:{level:d.Alert.Level.fatal,description:d.Alert.Description.bad_certificate}})}var w=3+c.length(),_=n.util.createBuffer();return _.putByte(d.HandshakeType.certificate),_.putInt24(w),l(_,3,c),_},d.createClientKeyExchange=function(e){var b=n.util.createBuffer();b.putByte(e.session.clientHelloVersion.major),b.putByte(e.session.clientHelloVersion.minor),b.putBytes(n.random.getBytes(46));var t=e.session.sp;t.pre_master_secret=b.getBytes();var r=(b=e.session.serverCertificate.publicKey.encrypt(t.pre_master_secret)).length+2,o=n.util.createBuffer();return o.putByte(d.HandshakeType.client_key_exchange),o.putInt24(r),o.putInt16(b.length),o.putBytes(b),o},d.createServerKeyExchange=function(e){var t=n.util.createBuffer();return t},d.getClientSignature=function(e,t){var b=n.util.createBuffer();b.putBuffer(e.session.md5.digest()),b.putBuffer(e.session.sha1.digest()),b=b.getBytes(),e.getSignature=e.getSignature||function(e,b,t){var r=null;if(e.getPrivateKey)try{r=e.getPrivateKey(e,e.session.clientCertificate),r=n.pki.privateKeyFromPem(r)}catch(t){e.error(e,{message:"Could not get private key.",cause:t,send:!0,alert:{level:d.Alert.Level.fatal,description:d.Alert.Description.internal_error}})}null===r?e.error(e,{message:"No private key set.",send:!0,alert:{level:d.Alert.Level.fatal,description:d.Alert.Description.internal_error}}):b=r.sign(b,null),t(e,b)},e.getSignature(e,b,t)},d.createCertificateVerify=function(e,t){var r=t.length+2,o=n.util.createBuffer();return o.putByte(d.HandshakeType.certificate_verify),o.putInt24(r),o.putInt16(t.length),o.putBytes(t),o},d.createCertificateRequest=function(e){var t=n.util.createBuffer();t.putByte(1);var r=n.util.createBuffer();for(var o in e.caStore.certs){var c=e.caStore.certs[o],f=n.pki.distinguishedNameToAsn1(c.subject),h=n.asn1.toDer(f);r.putInt16(h.length()),r.putBuffer(h)}var y=1+t.length()+2+r.length(),m=n.util.createBuffer();return m.putByte(d.HandshakeType.certificate_request),m.putInt24(y),l(m,1,t),l(m,2,r),m},d.createServerHelloDone=function(e){var t=n.util.createBuffer();return t.putByte(d.HandshakeType.server_hello_done),t.putInt24(0),t},d.createChangeCipherSpec=function(){var e=n.util.createBuffer();return e.putByte(1),e},d.createFinished=function(e){var b=n.util.createBuffer();b.putBuffer(e.session.md5.digest()),b.putBuffer(e.session.sha1.digest());var t=e.entity===d.ConnectionEnd.client,r=e.session.sp,label=t?"client finished":"server finished";b=o(r.master_secret,label,b.getBytes(),12);var c=n.util.createBuffer();return c.putByte(d.HandshakeType.finished),c.putInt24(b.length()),c.putBuffer(b),c},d.createHeartbeat=function(e,t,r){void 0===r&&(r=t.length);var o=n.util.createBuffer();o.putByte(e),o.putInt16(r),o.putBytes(t);var c=o.length(),f=Math.max(16,c-r-3);return o.putBytes(n.random.getBytes(f)),o},d.queue=function(e,t){if(t&&(0!==t.fragment.length()||t.type!==d.ContentType.handshake&&t.type!==d.ContentType.alert&&t.type!==d.ContentType.change_cipher_spec)){if(t.type===d.ContentType.handshake){var r=t.fragment.bytes();e.session.md5.update(r),e.session.sha1.update(r),r=null}var o;if(t.fragment.length()<=d.MaxFragment)o=[t];else{o=[];for(var data=t.fragment.bytes();data.length>d.MaxFragment;)o.push(d.createRecord(e,{type:t.type,data:n.util.createBuffer(data.slice(0,d.MaxFragment))})),data=data.slice(d.MaxFragment);data.length>0&&o.push(d.createRecord(e,{type:t.type,data:n.util.createBuffer(data)}))}for(var i=0;i<o.length&&!e.fail;++i){var c=o[i];e.state.current.write.update(e,c)&&e.records.push(c)}}},d.flush=function(e){for(var i=0;i<e.records.length;++i){var t=e.records[i];e.tlsData.putByte(t.type),e.tlsData.putByte(t.version.major),e.tlsData.putByte(t.version.minor),e.tlsData.putInt16(t.fragment.length()),e.tlsData.putBuffer(e.records[i].fragment)}return e.records=[],e.tlsDataReady(e)};var X=function(e){switch(e){case!0:return!0;case n.pki.certificateError.bad_certificate:return d.Alert.Description.bad_certificate;case n.pki.certificateError.unsupported_certificate:return d.Alert.Description.unsupported_certificate;case n.pki.certificateError.certificate_revoked:return d.Alert.Description.certificate_revoked;case n.pki.certificateError.certificate_expired:return d.Alert.Description.certificate_expired;case n.pki.certificateError.certificate_unknown:return d.Alert.Description.certificate_unknown;case n.pki.certificateError.unknown_ca:return d.Alert.Description.unknown_ca;default:return d.Alert.Description.bad_certificate}};for(var J in d.verifyCertificateChain=function(e,t){try{var r={};for(var o in e.verifyOptions)r[o]=e.verifyOptions[o];r.verify=function(t,r,o){X(t);var c=e.verify(e,t,r,o);if(!0!==c){if("object"==typeof c&&!n.util.isArray(c)){var f=new Error("The application rejected the certificate.");throw f.send=!0,f.alert={level:d.Alert.Level.fatal,description:d.Alert.Description.bad_certificate},c.message&&(f.message=c.message),c.alert&&(f.alert.description=c.alert),f}c!==t&&(c=function(desc){switch(desc){case!0:return!0;case d.Alert.Description.bad_certificate:return n.pki.certificateError.bad_certificate;case d.Alert.Description.unsupported_certificate:return n.pki.certificateError.unsupported_certificate;case d.Alert.Description.certificate_revoked:return n.pki.certificateError.certificate_revoked;case d.Alert.Description.certificate_expired:return n.pki.certificateError.certificate_expired;case d.Alert.Description.certificate_unknown:return n.pki.certificateError.certificate_unknown;case d.Alert.Description.unknown_ca:return n.pki.certificateError.unknown_ca;default:return n.pki.certificateError.bad_certificate}}(c))}return c},n.pki.verifyCertificateChain(e.caStore,t,r)}catch(t){var c=t;("object"!=typeof c||n.util.isArray(c))&&(c={send:!0,alert:{level:d.Alert.Level.fatal,description:X(t)}}),"send"in c||(c.send=!0),"alert"in c||(c.alert={level:d.Alert.Level.fatal,description:X(c.error)}),e.error(e,c)}return!e.fail},d.createSessionCache=function(e,t){var r=null;if(e&&e.getSession&&e.setSession&&e.order)r=e;else{for(var o in(r={}).cache=e||{},r.capacity=Math.max(t||100,1),r.order=[],e)r.order.length<=t?r.order.push(o):delete e[o];r.getSession=function(e){var t=null,o=null;if(e?o=n.util.bytesToHex(e):r.order.length>0&&(o=r.order[0]),null!==o&&o in r.cache)for(var i in t=r.cache[o],delete r.cache[o],r.order)if(r.order[i]===o){r.order.splice(i,1);break}return t},r.setSession=function(e,t){if(r.order.length===r.capacity){var o=r.order.shift();delete r.cache[o]}o=n.util.bytesToHex(e);r.order.push(o),r.cache[o]=t}}return r},d.createConnection=function(e){var t=null;t=e.caStore?n.util.isArray(e.caStore)?n.pki.createCaStore(e.caStore):e.caStore:n.pki.createCaStore();var r=e.cipherSuites||null;if(null===r)for(var o in r=[],d.CipherSuites)r.push(d.CipherSuites[o]);var c=e.server?d.ConnectionEnd.server:d.ConnectionEnd.client,f=e.sessionCache?d.createSessionCache(e.sessionCache):null,h={version:{major:d.Version.major,minor:d.Version.minor},entity:c,sessionId:e.sessionId,caStore:t,sessionCache:f,cipherSuites:r,connected:e.connected,virtualHost:e.virtualHost||null,verifyClient:e.verifyClient||!1,verify:e.verify||function(e,t,r,n){return t},verifyOptions:e.verifyOptions||{},getCertificate:e.getCertificate||null,getPrivateKey:e.getPrivateKey||null,getSignature:e.getSignature||null,input:n.util.createBuffer(),tlsData:n.util.createBuffer(),data:n.util.createBuffer(),tlsDataReady:e.tlsDataReady,dataReady:e.dataReady,heartbeatReceived:e.heartbeatReceived,closed:e.closed,error:function(t,r){r.origin=r.origin||(t.entity===d.ConnectionEnd.client?"client":"server"),r.send&&(d.queue(t,d.createAlert(t,r.alert)),d.flush(t));var n=!1!==r.fatal;n&&(t.fail=!0),e.error(t,r),n&&t.close(!1)},deflate:e.deflate||null,inflate:e.inflate||null,reset:function(e){h.version={major:d.Version.major,minor:d.Version.minor},h.record=null,h.session=null,h.peerCertificate=null,h.state={pending:null,current:null},h.expect=(h.entity,d.ConnectionEnd.client,0),h.fragmented=null,h.records=[],h.open=!1,h.handshakes=0,h.handshaking=!1,h.isConnected=!1,h.fail=!(e||void 0===e),h.input.clear(),h.tlsData.clear(),h.data.clear(),h.state.current=d.createConnectionState(h)}};h.reset();return h.handshake=function(e){if(h.entity!==d.ConnectionEnd.client)h.error(h,{message:"Cannot initiate handshake as a server.",fatal:!1});else if(h.handshaking)h.error(h,{message:"Handshake already in progress.",fatal:!1});else{h.fail&&!h.open&&0===h.handshakes&&(h.fail=!1),h.handshaking=!0;var t=null;(e=e||"").length>0&&(h.sessionCache&&(t=h.sessionCache.getSession(e)),null===t&&(e="")),0===e.length&&h.sessionCache&&null!==(t=h.sessionCache.getSession())&&(e=t.id),h.session={id:e,version:null,cipherSuite:null,compressionMethod:null,serverCertificate:null,certificateRequest:null,clientCertificate:null,sp:{},md5:n.md.md5.create(),sha1:n.md.sha1.create()},t&&(h.version=t.version,h.session.sp=t.sp),h.session.sp.client_random=d.createRandom().getBytes(),h.open=!0,d.queue(h,d.createRecord(h,{type:d.ContentType.handshake,data:d.createClientHello(h)})),d.flush(h)}},h.process=function(data){var e=0;return data&&h.input.putBytes(data),h.fail||(null!==h.record&&h.record.ready&&h.record.fragment.isEmpty()&&(h.record=null),null===h.record&&(e=function(e){var t=0,b=e.input,r=b.length();if(r<5)t=5-r;else{e.record={type:b.getByte(),version:{major:b.getByte(),minor:b.getByte()},length:b.getInt16(),fragment:n.util.createBuffer(),ready:!1};var o=e.record.version.major===e.version.major;o&&e.session&&e.session.version&&(o=e.record.version.minor===e.version.minor),o||e.error(e,{message:"Incompatible TLS version.",send:!0,alert:{level:d.Alert.Level.fatal,description:d.Alert.Description.protocol_version}})}return t}(h)),h.fail||null===h.record||h.record.ready||(e=function(e){var t=0,b=e.input,r=b.length();return r<e.record.length?t=e.record.length-r:(e.record.fragment.putBytes(b.getBytes(e.record.length)),b.compact(),e.state.current.read.update(e,e.record)&&(null!==e.fragmented&&(e.fragmented.type===e.record.type?(e.fragmented.fragment.putBuffer(e.record.fragment),e.record=e.fragmented):e.error(e,{message:"Invalid fragmented record.",send:!0,alert:{level:d.Alert.Level.fatal,description:d.Alert.Description.unexpected_message}})),e.record.ready=!0)),t}(h)),!h.fail&&null!==h.record&&h.record.ready&&function(e,t){var r=t.type-d.ContentType.change_cipher_spec,n=D[e.entity][e.expect];r in n?n[r](e,t):d.handleUnexpected(e,t)}(h,h.record)),e},h.prepare=function(data){return d.queue(h,d.createRecord(h,{type:d.ContentType.application_data,data:n.util.createBuffer(data)})),d.flush(h)},h.prepareHeartbeatRequest=function(e,t){return e instanceof n.util.ByteBuffer&&(e=e.bytes()),void 0===t&&(t=e.length),h.expectedHeartbeatPayload=e,d.queue(h,d.createRecord(h,{type:d.ContentType.heartbeat,data:d.createHeartbeat(d.HeartbeatMessageType.heartbeat_request,e,t)})),d.flush(h)},h.close=function(e){if(!h.fail&&h.sessionCache&&h.session){var t={id:h.session.id,version:h.session.version,sp:h.session.sp};t.sp.keys=null,h.sessionCache.setSession(t.id,t)}h.open&&(h.open=!1,h.input.clear(),(h.isConnected||h.handshaking)&&(h.isConnected=h.handshaking=!1,d.queue(h,d.createAlert(h,{level:d.Alert.Level.warning,description:d.Alert.Description.close_notify})),d.flush(h)),h.closed(h)),h.reset(e)},h},e.exports=n.tls=n.tls||{},d)"function"!=typeof d[J]&&(n.tls[J]=d[J]);n.tls.prf_tls1=o,n.tls.hmac_sha1=function(e,t,r){var o=n.hmac.create();o.start("SHA1",e);var b=n.util.createBuffer();return b.putInt32(t[0]),b.putInt32(t[1]),b.putByte(r.type),b.putByte(r.version.major),b.putByte(r.version.minor),b.putInt16(r.length),b.putBytes(r.fragment.bytes()),o.update(b.getBytes()),o.digest().getBytes()},n.tls.createSessionCache=d.createSessionCache,n.tls.createConnection=d.createConnection},function(e,t,r){var n=r(11);r(67),r(92),r(445),r(115),r(264),r(451),r(267),r(181),r(18),r(266);var o=n.asn1,c=e.exports=n.pki=n.pki||{};c.pemToDer=function(e){var t=n.pem.decode(e)[0];if(t.procType&&"ENCRYPTED"===t.procType.type)throw new Error("Could not convert PEM to DER; PEM is encrypted.");return n.util.createBuffer(t.body)},c.privateKeyFromPem=function(e){var t=n.pem.decode(e)[0];if("PRIVATE KEY"!==t.type&&"RSA PRIVATE KEY"!==t.type){var r=new Error('Could not convert private key from PEM; PEM header type is not "PRIVATE KEY" or "RSA PRIVATE KEY".');throw r.headerType=t.type,r}if(t.procType&&"ENCRYPTED"===t.procType.type)throw new Error("Could not convert private key from PEM; PEM is encrypted.");var f=o.fromDer(t.body);return c.privateKeyFromAsn1(f)},c.privateKeyToPem=function(e,t){var r={type:"RSA PRIVATE KEY",body:o.toDer(c.privateKeyToAsn1(e)).getBytes()};return n.pem.encode(r,{maxline:t})},c.privateKeyInfoToPem=function(e,t){var r={type:"PRIVATE KEY",body:o.toDer(e).getBytes()};return n.pem.encode(r,{maxline:t})}},function(e,t,r){var n=r(11);if(r(91),r(67),r(180),r(74),r(92),r(264),r(115),r(62),r(448),r(181),r(18),void 0===o)var o=n.jsbn.BigInteger;var c=n.asn1,f=n.pki=n.pki||{};e.exports=f.pbe=n.pbe=n.pbe||{};var h=f.oids,l={name:"EncryptedPrivateKeyInfo",tagClass:c.Class.UNIVERSAL,type:c.Type.SEQUENCE,constructed:!0,value:[{name:"EncryptedPrivateKeyInfo.encryptionAlgorithm",tagClass:c.Class.UNIVERSAL,type:c.Type.SEQUENCE,constructed:!0,value:[{name:"AlgorithmIdentifier.algorithm",tagClass:c.Class.UNIVERSAL,type:c.Type.OID,constructed:!1,capture:"encryptionOid"},{name:"AlgorithmIdentifier.parameters",tagClass:c.Class.UNIVERSAL,type:c.Type.SEQUENCE,constructed:!0,captureAsn1:"encryptionParams"}]},{name:"EncryptedPrivateKeyInfo.encryptedData",tagClass:c.Class.UNIVERSAL,type:c.Type.OCTETSTRING,constructed:!1,capture:"encryptedData"}]},d={name:"PBES2Algorithms",tagClass:c.Class.UNIVERSAL,type:c.Type.SEQUENCE,constructed:!0,value:[{name:"PBES2Algorithms.keyDerivationFunc",tagClass:c.Class.UNIVERSAL,type:c.Type.SEQUENCE,constructed:!0,value:[{name:"PBES2Algorithms.keyDerivationFunc.oid",tagClass:c.Class.UNIVERSAL,type:c.Type.OID,constructed:!1,capture:"kdfOid"},{name:"PBES2Algorithms.params",tagClass:c.Class.UNIVERSAL,type:c.Type.SEQUENCE,constructed:!0,value:[{name:"PBES2Algorithms.params.salt",tagClass:c.Class.UNIVERSAL,type:c.Type.OCTETSTRING,constructed:!1,capture:"kdfSalt"},{name:"PBES2Algorithms.params.iterationCount",tagClass:c.Class.UNIVERSAL,type:c.Type.INTEGER,constructed:!1,capture:"kdfIterationCount"},{name:"PBES2Algorithms.params.keyLength",tagClass:c.Class.UNIVERSAL,type:c.Type.INTEGER,constructed:!1,optional:!0,capture:"keyLength"},{name:"PBES2Algorithms.params.prf",tagClass:c.Class.UNIVERSAL,type:c.Type.SEQUENCE,constructed:!0,optional:!0,value:[{name:"PBES2Algorithms.params.prf.algorithm",tagClass:c.Class.UNIVERSAL,type:c.Type.OID,constructed:!1,capture:"prfOid"}]}]}]},{name:"PBES2Algorithms.encryptionScheme",tagClass:c.Class.UNIVERSAL,type:c.Type.SEQUENCE,constructed:!0,value:[{name:"PBES2Algorithms.encryptionScheme.oid",tagClass:c.Class.UNIVERSAL,type:c.Type.OID,constructed:!1,capture:"encOid"},{name:"PBES2Algorithms.encryptionScheme.iv",tagClass:c.Class.UNIVERSAL,type:c.Type.OCTETSTRING,constructed:!1,capture:"encIv"}]}]},y={name:"pkcs-12PbeParams",tagClass:c.Class.UNIVERSAL,type:c.Type.SEQUENCE,constructed:!0,value:[{name:"pkcs-12PbeParams.salt",tagClass:c.Class.UNIVERSAL,type:c.Type.OCTETSTRING,constructed:!1,capture:"salt"},{name:"pkcs-12PbeParams.iterations",tagClass:c.Class.UNIVERSAL,type:c.Type.INTEGER,constructed:!1,capture:"iterations"}]};function m(e,t){return e.start().update(t).digest().getBytes()}function v(e){var t;if(e){if(!(t=f.oids[c.derToOid(e)])){var r=new Error("Unsupported PRF OID.");throw r.oid=e,r.supported=["hmacWithSHA1","hmacWithSHA224","hmacWithSHA256","hmacWithSHA384","hmacWithSHA512"],r}}else t="hmacWithSHA1";return w(t)}function w(e){var t=n.md;switch(e){case"hmacWithSHA224":t=n.md.sha512;case"hmacWithSHA1":case"hmacWithSHA256":case"hmacWithSHA384":case"hmacWithSHA512":e=e.substr(8).toLowerCase();break;default:var r=new Error("Unsupported PRF algorithm.");throw r.algorithm=e,r.supported=["hmacWithSHA1","hmacWithSHA224","hmacWithSHA256","hmacWithSHA384","hmacWithSHA512"],r}if(!t||!(e in t))throw new Error("Unknown hash algorithm: "+e);return t[e].create()}f.encryptPrivateKeyInfo=function(e,t,r){(r=r||{}).saltSize=r.saltSize||8,r.count=r.count||2048,r.algorithm=r.algorithm||"aes128",r.prfAlgorithm=r.prfAlgorithm||"sha1";var o,l,d,y=n.random.getBytesSync(r.saltSize),m=r.count,v=c.integerToDer(m);if(0===r.algorithm.indexOf("aes")||"des"===r.algorithm){var _,E,S;switch(r.algorithm){case"aes128":o=16,_=16,E=h["aes128-CBC"],S=n.aes.createEncryptionCipher;break;case"aes192":o=24,_=16,E=h["aes192-CBC"],S=n.aes.createEncryptionCipher;break;case"aes256":o=32,_=16,E=h["aes256-CBC"],S=n.aes.createEncryptionCipher;break;case"des":o=8,_=8,E=h.desCBC,S=n.des.createEncryptionCipher;break;default:throw(M=new Error("Cannot encrypt private key. Unknown encryption algorithm.")).algorithm=r.algorithm,M}var C="hmacWith"+r.prfAlgorithm.toUpperCase(),A=w(C),T=n.pkcs5.pbkdf2(t,y,m,o,A),k=n.random.getBytesSync(_);(R=S(T)).start(k),R.update(c.toDer(e)),R.finish(),d=R.output.getBytes();var I=function(e,t,r,o){var h=c.create(c.Class.UNIVERSAL,c.Type.SEQUENCE,!0,[c.create(c.Class.UNIVERSAL,c.Type.OCTETSTRING,!1,e),c.create(c.Class.UNIVERSAL,c.Type.INTEGER,!1,t.getBytes())]);"hmacWithSHA1"!==o&&h.value.push(c.create(c.Class.UNIVERSAL,c.Type.INTEGER,!1,n.util.hexToBytes(r.toString(16))),c.create(c.Class.UNIVERSAL,c.Type.SEQUENCE,!0,[c.create(c.Class.UNIVERSAL,c.Type.OID,!1,c.oidToDer(f.oids[o]).getBytes()),c.create(c.Class.UNIVERSAL,c.Type.NULL,!1,"")]));return h}(y,v,o,C);l=c.create(c.Class.UNIVERSAL,c.Type.SEQUENCE,!0,[c.create(c.Class.UNIVERSAL,c.Type.OID,!1,c.oidToDer(h.pkcs5PBES2).getBytes()),c.create(c.Class.UNIVERSAL,c.Type.SEQUENCE,!0,[c.create(c.Class.UNIVERSAL,c.Type.SEQUENCE,!0,[c.create(c.Class.UNIVERSAL,c.Type.OID,!1,c.oidToDer(h.pkcs5PBKDF2).getBytes()),I]),c.create(c.Class.UNIVERSAL,c.Type.SEQUENCE,!0,[c.create(c.Class.UNIVERSAL,c.Type.OID,!1,c.oidToDer(E).getBytes()),c.create(c.Class.UNIVERSAL,c.Type.OCTETSTRING,!1,k)])])])}else{var M;if("3des"!==r.algorithm)throw(M=new Error("Cannot encrypt private key. Unknown encryption algorithm.")).algorithm=r.algorithm,M;o=24;var R,x=new n.util.ByteBuffer(y);T=f.pbe.generatePkcs12Key(t,x,1,m,o),k=f.pbe.generatePkcs12Key(t,x,2,m,o);(R=n.des.createEncryptionCipher(T)).start(k),R.update(c.toDer(e)),R.finish(),d=R.output.getBytes(),l=c.create(c.Class.UNIVERSAL,c.Type.SEQUENCE,!0,[c.create(c.Class.UNIVERSAL,c.Type.OID,!1,c.oidToDer(h["pbeWithSHAAnd3-KeyTripleDES-CBC"]).getBytes()),c.create(c.Class.UNIVERSAL,c.Type.SEQUENCE,!0,[c.create(c.Class.UNIVERSAL,c.Type.OCTETSTRING,!1,y),c.create(c.Class.UNIVERSAL,c.Type.INTEGER,!1,v.getBytes())])])}return c.create(c.Class.UNIVERSAL,c.Type.SEQUENCE,!0,[l,c.create(c.Class.UNIVERSAL,c.Type.OCTETSTRING,!1,d)])},f.decryptPrivateKeyInfo=function(e,t){var r=null,o={},h=[];if(!c.validate(e,l,o,h)){var d=new Error("Cannot read encrypted private key. ASN.1 object is not a supported EncryptedPrivateKeyInfo.");throw d.errors=h,d}var y=c.derToOid(o.encryptionOid),m=f.pbe.getCipher(y,o.encryptionParams,t),v=n.util.createBuffer(o.encryptedData);return m.update(v),m.finish()&&(r=c.fromDer(m.output)),r},f.encryptedPrivateKeyToPem=function(e,t){var r={type:"ENCRYPTED PRIVATE KEY",body:c.toDer(e).getBytes()};return n.pem.encode(r,{maxline:t})},f.encryptedPrivateKeyFromPem=function(e){var t=n.pem.decode(e)[0];if("ENCRYPTED PRIVATE KEY"!==t.type){var r=new Error('Could not convert encrypted private key from PEM; PEM header type is "ENCRYPTED PRIVATE KEY".');throw r.headerType=t.type,r}if(t.procType&&"ENCRYPTED"===t.procType.type)throw new Error("Could not convert encrypted private key from PEM; PEM is encrypted.");return c.fromDer(t.body)},f.encryptRsaPrivateKey=function(e,t,r){if(!(r=r||{}).legacy){var o=f.wrapRsaPrivateKey(f.privateKeyToAsn1(e));return o=f.encryptPrivateKeyInfo(o,t,r),f.encryptedPrivateKeyToPem(o)}var h,l,d,y;switch(r.algorithm){case"aes128":h="AES-128-CBC",d=16,l=n.random.getBytesSync(16),y=n.aes.createEncryptionCipher;break;case"aes192":h="AES-192-CBC",d=24,l=n.random.getBytesSync(16),y=n.aes.createEncryptionCipher;break;case"aes256":h="AES-256-CBC",d=32,l=n.random.getBytesSync(16),y=n.aes.createEncryptionCipher;break;case"3des":h="DES-EDE3-CBC",d=24,l=n.random.getBytesSync(8),y=n.des.createEncryptionCipher;break;case"des":h="DES-CBC",d=8,l=n.random.getBytesSync(8),y=n.des.createEncryptionCipher;break;default:var m=new Error('Could not encrypt RSA private key; unsupported encryption algorithm "'+r.algorithm+'".');throw m.algorithm=r.algorithm,m}var v=y(n.pbe.opensslDeriveBytes(t,l.substr(0,8),d));v.start(l),v.update(c.toDer(f.privateKeyToAsn1(e))),v.finish();var w={type:"RSA PRIVATE KEY",procType:{version:"4",type:"ENCRYPTED"},dekInfo:{algorithm:h,parameters:n.util.bytesToHex(l).toUpperCase()},body:v.output.getBytes()};return n.pem.encode(w)},f.decryptRsaPrivateKey=function(e,t){var r=null,o=n.pem.decode(e)[0];if("ENCRYPTED PRIVATE KEY"!==o.type&&"PRIVATE KEY"!==o.type&&"RSA PRIVATE KEY"!==o.type)throw(d=new Error('Could not convert private key from PEM; PEM header type is not "ENCRYPTED PRIVATE KEY", "PRIVATE KEY", or "RSA PRIVATE KEY".')).headerType=d,d;if(o.procType&&"ENCRYPTED"===o.procType.type){var h,l;switch(o.dekInfo.algorithm){case"DES-CBC":h=8,l=n.des.createDecryptionCipher;break;case"DES-EDE3-CBC":h=24,l=n.des.createDecryptionCipher;break;case"AES-128-CBC":h=16,l=n.aes.createDecryptionCipher;break;case"AES-192-CBC":h=24,l=n.aes.createDecryptionCipher;break;case"AES-256-CBC":h=32,l=n.aes.createDecryptionCipher;break;case"RC2-40-CBC":h=5,l=function(e){return n.rc2.createDecryptionCipher(e,40)};break;case"RC2-64-CBC":h=8,l=function(e){return n.rc2.createDecryptionCipher(e,64)};break;case"RC2-128-CBC":h=16,l=function(e){return n.rc2.createDecryptionCipher(e,128)};break;default:var d;throw(d=new Error('Could not decrypt private key; unsupported encryption algorithm "'+o.dekInfo.algorithm+'".')).algorithm=o.dekInfo.algorithm,d}var y=n.util.hexToBytes(o.dekInfo.parameters),m=l(n.pbe.opensslDeriveBytes(t,y.substr(0,8),h));if(m.start(y),m.update(n.util.createBuffer(o.body)),!m.finish())return r;r=m.output.getBytes()}else r=o.body;return null!==(r="ENCRYPTED PRIVATE KEY"===o.type?f.decryptPrivateKeyInfo(c.fromDer(r),t):c.fromDer(r))&&(r=f.privateKeyFromAsn1(r)),r},f.pbe.generatePkcs12Key=function(e,t,r,o,c,f){var h,l;if(null==f){if(!("sha1"in n.md))throw new Error('"sha1" hash algorithm unavailable.');f=n.md.sha1.create()}var u=f.digestLength,d=f.blockLength,y=new n.util.ByteBuffer,m=new n.util.ByteBuffer;if(null!=e){for(l=0;l<e.length;l++)m.putInt16(e.charCodeAt(l));m.putInt16(0)}var p=m.length(),s=t.length(),v=new n.util.ByteBuffer;v.fillWithByte(r,d);var w=d*Math.ceil(s/d),_=new n.util.ByteBuffer;for(l=0;l<w;l++)_.putByte(t.at(l%s));var E=d*Math.ceil(p/d),S=new n.util.ByteBuffer;for(l=0;l<E;l++)S.putByte(m.at(l%p));var C=_;C.putBuffer(S);for(var A=Math.ceil(c/u),i=1;i<=A;i++){var T=new n.util.ByteBuffer;T.putBytes(v.bytes()),T.putBytes(C.bytes());for(var k=0;k<o;k++)f.start(),f.update(T.getBytes()),T=f.digest();var I=new n.util.ByteBuffer;for(l=0;l<d;l++)I.putByte(T.at(l%u));var M=Math.ceil(s/d)+Math.ceil(p/d),R=new n.util.ByteBuffer;for(h=0;h<M;h++){var x=new n.util.ByteBuffer(C.getBytes(d)),B=511;for(l=I.length()-1;l>=0;l--)B>>=8,B+=I.at(l)+x.at(l),x.setAt(l,255&B);R.putBuffer(x)}C=R,y.putBuffer(T)}return y.truncate(y.length()-c),y},f.pbe.getCipher=function(e,t,r){switch(e){case f.oids.pkcs5PBES2:return f.pbe.getCipherForPBES2(e,t,r);case f.oids["pbeWithSHAAnd3-KeyTripleDES-CBC"]:case f.oids["pbewithSHAAnd40BitRC2-CBC"]:return f.pbe.getCipherForPKCS12PBE(e,t,r);default:var n=new Error("Cannot read encrypted PBE data block. Unsupported OID.");throw n.oid=e,n.supportedOids=["pkcs5PBES2","pbeWithSHAAnd3-KeyTripleDES-CBC","pbewithSHAAnd40BitRC2-CBC"],n}},f.pbe.getCipherForPBES2=function(e,t,r){var o,h={},l=[];if(!c.validate(t,d,h,l))throw(o=new Error("Cannot read password-based-encryption algorithm parameters. ASN.1 object is not a supported EncryptedPrivateKeyInfo.")).errors=l,o;if((e=c.derToOid(h.kdfOid))!==f.oids.pkcs5PBKDF2)throw(o=new Error("Cannot read encrypted private key. Unsupported key derivation function OID.")).oid=e,o.supportedOids=["pkcs5PBKDF2"],o;if((e=c.derToOid(h.encOid))!==f.oids["aes128-CBC"]&&e!==f.oids["aes192-CBC"]&&e!==f.oids["aes256-CBC"]&&e!==f.oids["des-EDE3-CBC"]&&e!==f.oids.desCBC)throw(o=new Error("Cannot read encrypted private key. Unsupported encryption scheme OID.")).oid=e,o.supportedOids=["aes128-CBC","aes192-CBC","aes256-CBC","des-EDE3-CBC","desCBC"],o;var y,m,w=h.kdfSalt,_=n.util.createBuffer(h.kdfIterationCount);switch(_=_.getInt(_.length()<<3),f.oids[e]){case"aes128-CBC":y=16,m=n.aes.createDecryptionCipher;break;case"aes192-CBC":y=24,m=n.aes.createDecryptionCipher;break;case"aes256-CBC":y=32,m=n.aes.createDecryptionCipher;break;case"des-EDE3-CBC":y=24,m=n.des.createDecryptionCipher;break;case"desCBC":y=8,m=n.des.createDecryptionCipher}var E=v(h.prfOid),S=n.pkcs5.pbkdf2(r,w,_,y,E),C=h.encIv,A=m(S);return A.start(C),A},f.pbe.getCipherForPKCS12PBE=function(e,t,r){var o={},h=[];if(!c.validate(t,y,o,h))throw(E=new Error("Cannot read password-based-encryption algorithm parameters. ASN.1 object is not a supported EncryptedPrivateKeyInfo.")).errors=h,E;var l,d,m,w=n.util.createBuffer(o.salt),_=n.util.createBuffer(o.iterations);switch(_=_.getInt(_.length()<<3),e){case f.oids["pbeWithSHAAnd3-KeyTripleDES-CBC"]:l=24,d=8,m=n.des.startDecrypting;break;case f.oids["pbewithSHAAnd40BitRC2-CBC"]:l=5,d=8,m=function(e,t){var r=n.rc2.createDecryptionCipher(e,40);return r.start(t,null),r};break;default:var E;throw(E=new Error("Cannot read PKCS #12 PBE data block. Unsupported OID.")).oid=e,E}var S=v(o.prfOid),C=f.pbe.generatePkcs12Key(r,w,1,_,l,S);return S.start(),m(C,f.pbe.generatePkcs12Key(r,w,2,_,d,S))},f.pbe.opensslDeriveBytes=function(e,t,r,o){if(null==o){if(!("md5"in n.md))throw new Error('"md5" hash algorithm unavailable.');o=n.md.md5.create()}null===t&&(t="");for(var c=[m(o,e+t)],f=16,i=1;f<r;++i,f+=16)c.push(m(o,c[i-1]+e+t));return c.join("").substr(0,r)}},function(e,t,r){var n=r(11);r(74),r(18);var o=e.exports=n.sha256=n.sha256||{};n.md.sha256=n.md.algorithms.sha256=o,o.create=function(){f||(c=String.fromCharCode(128),c+=n.util.fillString(String.fromCharCode(0),64),h=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],f=!0);var e=null,t=n.util.createBuffer(),r=new Array(64),o={algorithm:"sha256",blockLength:64,digestLength:32,messageLength:0,fullMessageLength:null,messageLengthSize:8,start:function(){o.messageLength=0,o.fullMessageLength=o.messageLength64=[];for(var r=o.messageLengthSize/4,i=0;i<r;++i)o.fullMessageLength.push(0);return t=n.util.createBuffer(),e={h0:1779033703,h1:3144134277,h2:1013904242,h3:2773480762,h4:1359893119,h5:2600822924,h6:528734635,h7:1541459225},o}};return o.start(),o.update=function(c,f){"utf8"===f&&(c=n.util.encodeUtf8(c));var h=c.length;o.messageLength+=h,h=[h/4294967296>>>0,h>>>0];for(var i=o.fullMessageLength.length-1;i>=0;--i)o.fullMessageLength[i]+=h[1],h[1]=h[0]+(o.fullMessageLength[i]/4294967296>>>0),o.fullMessageLength[i]=o.fullMessageLength[i]>>>0,h[0]=h[1]/4294967296>>>0;return t.putBytes(c),l(e,r,t),(t.read>2048||0===t.length())&&t.compact(),o},o.digest=function(){var f=n.util.createBuffer();f.putBytes(t.bytes());var h,d=o.fullMessageLength[o.fullMessageLength.length-1]+o.messageLengthSize&o.blockLength-1;f.putBytes(c.substr(0,o.blockLength-d));for(var y=8*o.fullMessageLength[0],i=0;i<o.fullMessageLength.length-1;++i)y+=(h=8*o.fullMessageLength[i+1])/4294967296>>>0,f.putInt32(y>>>0),y=h>>>0;f.putInt32(y);var m={h0:e.h0,h1:e.h1,h2:e.h2,h3:e.h3,h4:e.h4,h5:e.h5,h6:e.h6,h7:e.h7};l(m,r,f);var v=n.util.createBuffer();return v.putInt32(m.h0),v.putInt32(m.h1),v.putInt32(m.h2),v.putInt32(m.h3),v.putInt32(m.h4),v.putInt32(m.h5),v.putInt32(m.h6),v.putInt32(m.h7),v},o};var c=null,f=!1,h=null;function l(s,e,t){for(var r,n,o,c,i,a,b,f,l,d,y,g,m,v=t.length();v>=64;){for(i=0;i<16;++i)e[i]=t.getInt32();for(;i<64;++i)r=((r=e[i-2])>>>17|r<<15)^(r>>>19|r<<13)^r>>>10,n=((n=e[i-15])>>>7|n<<25)^(n>>>18|n<<14)^n>>>3,e[i]=r+e[i-7]+n+e[i-16]|0;for(a=s.h0,b=s.h1,f=s.h2,l=s.h3,d=s.h4,y=s.h5,g=s.h6,m=s.h7,i=0;i<64;++i)o=(a>>>2|a<<30)^(a>>>13|a<<19)^(a>>>22|a<<10),c=a&b|f&(a^b),r=m+((d>>>6|d<<26)^(d>>>11|d<<21)^(d>>>25|d<<7))+(g^d&(y^g))+h[i]+e[i],m=g,g=y,y=d,d=l+r>>>0,l=f,f=b,b=a,a=r+(n=o+c)>>>0;s.h0=s.h0+a|0,s.h1=s.h1+b|0,s.h2=s.h2+f|0,s.h3=s.h3+l|0,s.h4=s.h4+d|0,s.h5=s.h5+y|0,s.h6=s.h6+g|0,s.h7=s.h7+m|0,v-=64}}},function(e,t,r){(function(t){var n=r(11);r(18);var o=null;!n.util.isNodejs||n.options.usePureJavaScript||t.versions["node-webkit"]||(o=r(265)),(e.exports=n.prng=n.prng||{}).create=function(e){for(var t={plugin:e,key:null,seed:null,time:null,reseeds:0,generated:0,keyBytes:""},r=e.md,c=new Array(32),i=0;i<32;++i)c[i]=r.create();function f(){if(t.pools[0].messageLength>=32)return h();var e=32-t.pools[0].messageLength<<5;t.collect(t.seedFileSync(e)),h()}function h(){t.reseeds=4294967295===t.reseeds?0:t.reseeds+1;var e=t.plugin.md.create();e.update(t.keyBytes);for(var r=1,n=0;n<32;++n)t.reseeds%r==0&&(e.update(t.pools[n].digest().getBytes()),t.pools[n].start()),r<<=1;t.keyBytes=e.digest().getBytes(),e.start(),e.update(t.keyBytes);var o=e.digest().getBytes();t.key=t.plugin.formatKey(t.keyBytes),t.seed=t.plugin.formatSeed(o),t.generated=0}function l(e){var t=null,r=n.util.globalScope,o=r.crypto||r.msCrypto;o&&o.getRandomValues&&(t=function(e){return o.getRandomValues(e)});var b=n.util.createBuffer();if(t)for(;b.length()<e;){var c=Math.max(1,Math.min(e-b.length(),65536)/4),f=new Uint32Array(Math.floor(c));try{t(f);for(var i=0;i<f.length;++i)b.putInt32(f[i])}catch(e){if(!("undefined"!=typeof QuotaExceededError&&e instanceof QuotaExceededError))throw e}}if(b.length()<e)for(var h,l,d,y=Math.floor(65536*Math.random());b.length()<e;){l=16807*(65535&y),l+=(32767&(h=16807*(y>>16)))<<16,y=4294967295&(l=(2147483647&(l+=h>>15))+(l>>31));for(i=0;i<3;++i)d=y>>>(i<<3),d^=Math.floor(256*Math.random()),b.putByte(255&d)}return b.getBytes(e)}return t.pools=c,t.pool=0,t.generate=function(e,r){if(!r)return t.generateSync(e);var o=t.plugin.cipher,c=t.plugin.increment,f=t.plugin.formatKey,l=t.plugin.formatSeed,b=n.util.createBuffer();t.key=null,function d(y){if(y)return r(y);if(b.length()>=e)return r(null,b.getBytes(e));t.generated>1048575&&(t.key=null);if(null===t.key)return n.util.nextTick((function(){!function(e){if(t.pools[0].messageLength>=32)return h(),e();var r=32-t.pools[0].messageLength<<5;t.seedFile(r,(function(r,n){if(r)return e(r);t.collect(n),h(),e()}))}(d)}));var m=o(t.key,t.seed);t.generated+=m.length,b.putBytes(m),t.key=f(o(t.key,c(t.seed))),t.seed=l(o(t.key,t.seed)),n.util.setImmediate(d)}()},t.generateSync=function(e){var r=t.plugin.cipher,o=t.plugin.increment,c=t.plugin.formatKey,h=t.plugin.formatSeed;t.key=null;for(var b=n.util.createBuffer();b.length()<e;){t.generated>1048575&&(t.key=null),null===t.key&&f();var l=r(t.key,t.seed);t.generated+=l.length,b.putBytes(l),t.key=c(r(t.key,o(t.seed))),t.seed=h(r(t.key,t.seed))}return b.getBytes(e)},o?(t.seedFile=function(e,t){o.randomBytes(e,(function(e,r){if(e)return t(e);t(null,r.toString())}))},t.seedFileSync=function(e){return o.randomBytes(e).toString()}):(t.seedFile=function(e,t){try{t(null,l(e))}catch(e){t(e)}},t.seedFileSync=l),t.collect=function(e){for(var r=e.length,i=0;i<r;++i)t.pools[t.pool].update(e.substr(i,1)),t.pool=31===t.pool?0:t.pool+1},t.collectInt=function(i,e){for(var r="",n=0;n<e;n+=8)r+=String.fromCharCode(i>>n&255);t.collect(r)},t.registerWorker=function(e){if(e===self)t.seedFile=function(e,t){self.addEventListener("message",(function e(r){var data=r.data;data.forge&&data.forge.prng&&(self.removeEventListener("message",e),t(data.forge.prng.err,data.forge.prng.bytes))})),self.postMessage({forge:{prng:{needed:e}}})};else{e.addEventListener("message",(function(r){var data=r.data;data.forge&&data.forge.prng&&t.seedFile(data.forge.prng.needed,(function(t,r){e.postMessage({forge:{prng:{err:t,bytes:r}}})}))}))}},t}}).call(this,r(17))},function(e,t,r){var n=r(11);r(18);var o=[217,120,249,196,25,221,181,237,40,233,253,121,74,160,216,157,198,126,55,131,43,118,83,142,98,76,100,136,68,139,251,162,23,154,89,245,135,179,79,19,97,69,109,141,9,129,125,50,189,143,64,235,134,183,123,11,240,149,33,34,92,107,78,130,84,214,101,147,206,96,178,28,115,86,192,20,167,140,241,220,18,117,202,31,59,190,228,209,66,61,212,48,163,60,182,38,111,191,14,218,70,105,7,87,39,242,29,155,188,148,67,3,248,17,199,246,144,239,62,231,6,195,213,47,200,102,30,215,8,232,234,222,128,82,238,247,132,170,114,172,53,77,106,42,150,26,210,113,90,21,73,116,75,159,208,94,4,24,164,236,194,224,65,110,15,81,203,204,36,145,175,80,161,244,112,57,153,124,58,133,35,184,180,122,252,2,54,91,37,85,151,49,45,93,250,152,227,138,146,174,5,223,41,16,103,108,186,201,211,0,230,207,225,158,168,44,99,22,1,63,88,226,137,169,13,56,52,27,171,51,255,176,187,72,12,95,185,177,205,46,197,243,219,71,229,165,156,119,10,166,32,104,254,127,193,173],s=[1,2,3,5],c=function(e,t){return e<<t&65535|(65535&e)>>16-t},f=function(e,t){return(65535&e)>>t|e<<16-t&65535};e.exports=n.rc2=n.rc2||{},n.rc2.expandKey=function(e,t){"string"==typeof e&&(e=n.util.createBuffer(e)),t=t||128;var i,r=e,c=e.length(),f=t,h=Math.ceil(f/8),l=255>>(7&f);for(i=c;i<128;i++)r.putByte(o[r.at(i-1)+r.at(i-c)&255]);for(r.setAt(128-h,o[r.at(128-h)&l]),i=127-h;i>=0;i--)r.setAt(i,o[r.at(i+1)^r.at(i+h)]);return r};var h=function(e,t,r){var o,h,i,l,d=!1,y=null,m=null,v=null,w=[];for(e=n.rc2.expandKey(e,t),i=0;i<64;i++)w.push(e.getInt16Le());r?(o=function(e){for(i=0;i<4;i++)e[i]+=w[l]+(e[(i+3)%4]&e[(i+2)%4])+(~e[(i+3)%4]&e[(i+1)%4]),e[i]=c(e[i],s[i]),l++},h=function(e){for(i=0;i<4;i++)e[i]+=w[63&e[(i+3)%4]]}):(o=function(e){for(i=3;i>=0;i--)e[i]=f(e[i],s[i]),e[i]-=w[l]+(e[(i+3)%4]&e[(i+2)%4])+(~e[(i+3)%4]&e[(i+1)%4]),l--},h=function(e){for(i=3;i>=0;i--)e[i]-=w[63&e[(i+3)%4]]});var _=function(e){var t=[];for(i=0;i<4;i++){var n=y.getInt16Le();null!==v&&(r?n^=v.getInt16Le():v.putInt16Le(n)),t.push(65535&n)}l=r?0:63;for(var o=0;o<e.length;o++)for(var c=0;c<e[o][0];c++)e[o][1](t);for(i=0;i<4;i++)null!==v&&(r?v.putInt16Le(t[i]):t[i]^=v.getInt16Le()),m.putInt16Le(t[i])},E=null;return E={start:function(e,output){e&&"string"==typeof e&&(e=n.util.createBuffer(e)),d=!1,y=n.util.createBuffer(),m=output||new n.util.createBuffer,v=e,E.output=m},update:function(input){for(d||y.putBuffer(input);y.length()>=8;)_([[5,o],[1,h],[6,o],[1,h],[5,o]])},finish:function(e){var t=!0;if(r)if(e)t=e(8,y,!r);else{var n=8===y.length()?8:8-y.length();y.fillWithByte(n,n)}if(t&&(d=!0,E.update()),!r&&(t=0===y.length()))if(e)t=e(8,m,!r);else{var o=m.length(),c=m.at(o-1);c>o?t=!1:m.truncate(c)}return t}}};n.rc2.startEncrypting=function(e,t,output){var r=n.rc2.createEncryptionCipher(e,128);return r.start(t,output),r},n.rc2.createEncryptionCipher=function(e,t){return h(e,t,!0)},n.rc2.startDecrypting=function(e,t,output){var r=n.rc2.createDecryptionCipher(e,128);return r.start(t,output),r},n.rc2.createDecryptionCipher=function(e,t){return h(e,t,!1)}},function(e,t,r){var n=r(11);r(18),r(62),r(145);var o=e.exports=n.pkcs1=n.pkcs1||{};function c(e,t,r){r||(r=n.md.sha1.create());for(var o="",c=Math.ceil(t/r.digestLength),i=0;i<c;++i){var f=String.fromCharCode(i>>24&255,i>>16&255,i>>8&255,255&i);r.start(),r.update(e+f),o+=r.digest().getBytes()}return o.substring(0,t)}o.encode_rsa_oaep=function(e,t,r){var label,o,f,h;"string"==typeof r?(label=r,o=arguments[3]||void 0,f=arguments[4]||void 0):r&&(label=r.label||void 0,o=r.seed||void 0,f=r.md||void 0,r.mgf1&&r.mgf1.md&&(h=r.mgf1.md)),f?f.start():f=n.md.sha1.create(),h||(h=f);var l=Math.ceil(e.n.bitLength()/8),d=l-2*f.digestLength-2;if(t.length>d)throw(_=new Error("RSAES-OAEP input message length is too long.")).length=t.length,_.maxLength=d,_;label||(label=""),f.update(label,"raw");for(var y=f.digest(),m="",v=d-t.length,i=0;i<v;i++)m+="\0";var w=y.getBytes()+m+"�"+t;if(o){if(o.length!==f.digestLength){var _;throw(_=new Error("Invalid RSAES-OAEP seed. The seed length must match the digest length.")).seedLength=o.length,_.digestLength=f.digestLength,_}}else o=n.random.getBytes(f.digestLength);var E=c(o,l-f.digestLength-1,h),S=n.util.xorBytes(w,E,w.length),C=c(S,f.digestLength,h),A=n.util.xorBytes(o,C,o.length);return"\0"+A+S},o.decode_rsa_oaep=function(e,em,t){var label,r,o;"string"==typeof t?(label=t,r=arguments[3]||void 0):t&&(label=t.label||void 0,r=t.md||void 0,t.mgf1&&t.mgf1.md&&(o=t.mgf1.md));var f=Math.ceil(e.n.bitLength()/8);if(em.length!==f)throw(S=new Error("RSAES-OAEP encoded message length is invalid.")).length=em.length,S.expectedLength=f,S;if(void 0===r?r=n.md.sha1.create():r.start(),o||(o=r),f<2*r.digestLength+2)throw new Error("RSAES-OAEP key is too short for the hash function.");label||(label=""),r.update(label,"raw");for(var h=r.digest().getBytes(),l=em.charAt(0),d=em.substring(1,r.digestLength+1),y=em.substring(1+r.digestLength),m=c(y,r.digestLength,o),v=n.util.xorBytes(d,m,d.length),w=c(v,f-r.digestLength-1,o),_=n.util.xorBytes(y,w,y.length),E=_.substring(0,r.digestLength),S="\0"!==l,i=0;i<r.digestLength;++i)S|=h.charAt(i)!==E.charAt(i);for(var C=1,A=r.digestLength,T=r.digestLength;T<_.length;T++){var code=_.charCodeAt(T),k=1&code^1,I=C?65534:0;S|=code&I,A+=C&=k}if(S||1!==_.charCodeAt(A))throw new Error("Invalid RSAES-OAEP padding.");return _.substring(A+1)}},function(e,t,r){var n=r(11);r(18),r(182),r(62),function(){if(n.prime)e.exports=n.prime;else{var t=e.exports=n.prime=n.prime||{},r=n.jsbn.BigInteger,o=[6,4,2,4,2,4,6,2],c=new r(null);c.fromInt(30);var f=function(e,t){return e|t};t.generateProbablePrime=function(e,t,o){"function"==typeof t&&(o=t,t={});var c=(t=t||{}).algorithm||"PRIMEINC";"string"==typeof c&&(c={name:c}),c.options=c.options||{};var f=t.prng||n.random,l={nextBytes:function(e){for(var b=f.getBytesSync(e.length),i=0;i<e.length;++i)e[i]=b.charCodeAt(i)}};if("PRIMEINC"===c.name)return function(e,t,o,c){if("workers"in o)return function(e,t,o,c){if("undefined"==typeof Worker)return h(e,t,o,c);var f=d(e,t),l=o.workers,y=o.workLoad||100,m=30*y/8,v=o.workerScript||"forge/prime.worker.js";if(-1===l)return n.util.estimateCores((function(e,t){e&&(t=2),l=t-1,w()}));function w(){l=Math.max(1,l);for(var n=[],i=0;i<l;++i)n[i]=new Worker(v);for(i=0;i<l;++i)n[i].addEventListener("message",h);var o=!1;function h(h){if(!o){0;var data=h.data;if(data.found){for(var i=0;i<n.length;++i)n[i].terminate();return o=!0,c(null,new r(data.prime,16))}f.bitLength()>e&&(f=d(e,t));var l=f.toString(16);h.target.postMessage({hex:l,workLoad:y}),f.dAddOffset(m,0)}}}w()}(e,t,o,c);return h(e,t,o,c)}(e,l,c.options,o);throw new Error("Invalid prime generation algorithm: "+c.name)}}function h(e,t,r,n){var o=d(e,t),c=function(e){return e<=100?27:e<=150?18:e<=200?15:e<=250?12:e<=300?9:e<=350?8:e<=400?7:e<=500?6:e<=600?5:e<=800?4:e<=1250?3:2}(o.bitLength());"millerRabinTests"in r&&(c=r.millerRabinTests);var f=10;"maxBlockTime"in r&&(f=r.maxBlockTime),l(o,e,t,0,c,f,n)}function l(e,t,r,c,f,h,y){var m=+new Date;do{if(e.bitLength()>t&&(e=d(t,r)),e.isProbablePrime(f))return y(null,e);e.dAddOffset(o[c++%8],0)}while(h<0||+new Date-m<h);n.util.setImmediate((function(){l(e,t,r,c,f,h,y)}))}function d(e,t){var n=new r(e,t),o=e-1;return n.testBit(o)||n.bitwiseTo(r.ONE.shiftLeft(o),f,n),n.dAddOffset(31-n.mod(c).byteValue(),0),n}}()},function(e,t,r){var n=r(11);r(67),r(144),r(92),r(452),r(445),r(62),r(181),r(145),r(18),r(266);var o=n.asn1,c=n.pki,f=e.exports=n.pkcs12=n.pkcs12||{},h={name:"ContentInfo",tagClass:o.Class.UNIVERSAL,type:o.Type.SEQUENCE,constructed:!0,value:[{name:"ContentInfo.contentType",tagClass:o.Class.UNIVERSAL,type:o.Type.OID,constructed:!1,capture:"contentType"},{name:"ContentInfo.content",tagClass:o.Class.CONTEXT_SPECIFIC,constructed:!0,captureAsn1:"content"}]},l={name:"PFX",tagClass:o.Class.UNIVERSAL,type:o.Type.SEQUENCE,constructed:!0,value:[{name:"PFX.version",tagClass:o.Class.UNIVERSAL,type:o.Type.INTEGER,constructed:!1,capture:"version"},h,{name:"PFX.macData",tagClass:o.Class.UNIVERSAL,type:o.Type.SEQUENCE,constructed:!0,optional:!0,captureAsn1:"mac",value:[{name:"PFX.macData.mac",tagClass:o.Class.UNIVERSAL,type:o.Type.SEQUENCE,constructed:!0,value:[{name:"PFX.macData.mac.digestAlgorithm",tagClass:o.Class.UNIVERSAL,type:o.Type.SEQUENCE,constructed:!0,value:[{name:"PFX.macData.mac.digestAlgorithm.algorithm",tagClass:o.Class.UNIVERSAL,type:o.Type.OID,constructed:!1,capture:"macAlgorithm"},{name:"PFX.macData.mac.digestAlgorithm.parameters",tagClass:o.Class.UNIVERSAL,captureAsn1:"macAlgorithmParameters"}]},{name:"PFX.macData.mac.digest",tagClass:o.Class.UNIVERSAL,type:o.Type.OCTETSTRING,constructed:!1,capture:"macDigest"}]},{name:"PFX.macData.macSalt",tagClass:o.Class.UNIVERSAL,type:o.Type.OCTETSTRING,constructed:!1,capture:"macSalt"},{name:"PFX.macData.iterations",tagClass:o.Class.UNIVERSAL,type:o.Type.INTEGER,constructed:!1,optional:!0,capture:"macIterations"}]}]},d={name:"SafeBag",tagClass:o.Class.UNIVERSAL,type:o.Type.SEQUENCE,constructed:!0,value:[{name:"SafeBag.bagId",tagClass:o.Class.UNIVERSAL,type:o.Type.OID,constructed:!1,capture:"bagId"},{name:"SafeBag.bagValue",tagClass:o.Class.CONTEXT_SPECIFIC,constructed:!0,captureAsn1:"bagValue"},{name:"SafeBag.bagAttributes",tagClass:o.Class.UNIVERSAL,type:o.Type.SET,constructed:!0,optional:!0,capture:"bagAttributes"}]},y={name:"Attribute",tagClass:o.Class.UNIVERSAL,type:o.Type.SEQUENCE,constructed:!0,value:[{name:"Attribute.attrId",tagClass:o.Class.UNIVERSAL,type:o.Type.OID,constructed:!1,capture:"oid"},{name:"Attribute.attrValues",tagClass:o.Class.UNIVERSAL,type:o.Type.SET,constructed:!0,capture:"values"}]},m={name:"CertBag",tagClass:o.Class.UNIVERSAL,type:o.Type.SEQUENCE,constructed:!0,value:[{name:"CertBag.certId",tagClass:o.Class.UNIVERSAL,type:o.Type.OID,constructed:!1,capture:"certId"},{name:"CertBag.certValue",tagClass:o.Class.CONTEXT_SPECIFIC,constructed:!0,value:[{name:"CertBag.certValue[0]",tagClass:o.Class.UNIVERSAL,type:o.Class.OCTETSTRING,constructed:!1,capture:"cert"}]}]};function v(e,t,r,n){for(var o=[],i=0;i<e.length;i++)for(var c=0;c<e[i].safeBags.length;c++){var f=e[i].safeBags[c];void 0!==n&&f.type!==n||(null!==t?void 0!==f.attributes[t]&&f.attributes[t].indexOf(r)>=0&&o.push(f):o.push(f))}return o}function w(data){if(data.composed||data.constructed){for(var e=n.util.createBuffer(),i=0;i<data.value.length;++i)e.putBytes(data.value[i].value);data.composed=data.constructed=!1,data.value=e.getBytes()}return data}function _(data,e){var t={},r=[];if(!o.validate(data,n.pkcs7.asn1.encryptedDataValidator,t,r))throw(f=new Error("Cannot read EncryptedContentInfo.")).errors=r,f;var f,h=o.derToOid(t.contentType);if(h!==c.oids.data)throw(f=new Error("PKCS#12 EncryptedContentInfo ContentType is not Data.")).oid=h,f;h=o.derToOid(t.encAlgorithm);var l=c.pbe.getCipher(h,t.encParameter,e),d=w(t.encryptedContentAsn1),y=n.util.createBuffer(d.value);if(l.update(y),!l.finish())throw new Error("Failed to decrypt PKCS#12 SafeContents.");return l.output.getBytes()}function E(e,t,r){if(!t&&0===e.length)return[];if((e=o.fromDer(e,t)).tagClass!==o.Class.UNIVERSAL||e.type!==o.Type.SEQUENCE||!0!==e.constructed)throw new Error("PKCS#12 SafeContents expected to be a SEQUENCE OF SafeBag.");for(var n=[],i=0;i<e.value.length;i++){var f=e.value[i],h={},l=[];if(!o.validate(f,d,h,l))throw(E=new Error("Cannot read SafeBag.")).errors=l,E;var y,v,w={type:o.derToOid(h.bagId),attributes:S(h.bagAttributes)};n.push(w);var _=h.bagValue.value[0];switch(w.type){case c.oids.pkcs8ShroudedKeyBag:if(null===(_=c.decryptPrivateKeyInfo(_,r)))throw new Error("Unable to decrypt PKCS#8 ShroudedKeyBag, wrong password?");case c.oids.keyBag:try{w.key=c.privateKeyFromAsn1(_)}catch(e){w.key=null,w.asn1=_}continue;case c.oids.certBag:y=m,v=function(){if(o.derToOid(h.certId)!==c.oids.x509Certificate){var e=new Error("Unsupported certificate type, only X.509 supported.");throw e.oid=o.derToOid(h.certId),e}var r=o.fromDer(h.cert,t);try{w.cert=c.certificateFromAsn1(r,!0)}catch(e){w.cert=null,w.asn1=r}};break;default:var E;throw(E=new Error("Unsupported PKCS#12 SafeBag type.")).oid=w.type,E}if(void 0!==y&&!o.validate(_,y,h,l))throw(E=new Error("Cannot read PKCS#12 "+y.name)).errors=l,E;v()}return n}function S(e){var t={};if(void 0!==e)for(var i=0;i<e.length;++i){var r={},n=[];if(!o.validate(e[i],y,r,n)){var f=new Error("Cannot read PKCS#12 BagAttribute.");throw f.errors=n,f}var h=o.derToOid(r.oid);if(void 0!==c.oids[h]){t[c.oids[h]]=[];for(var l=0;l<r.values.length;++l)t[c.oids[h]].push(r.values[l].value)}}return t}f.pkcs12FromAsn1=function(e,t,r){"string"==typeof t?(r=t,t=!0):void 0===t&&(t=!0);var d={};if(!o.validate(e,l,d,[]))throw(y=new Error("Cannot read PKCS#12 PFX. ASN.1 object is not an PKCS#12 PFX.")).errors=y,y;var y,m={version:d.version.charCodeAt(0),safeContents:[],getBags:function(filter){var e,t={};return"localKeyId"in filter?e=filter.localKeyId:"localKeyIdHex"in filter&&(e=n.util.hexToBytes(filter.localKeyIdHex)),void 0===e&&!("friendlyName"in filter)&&"bagType"in filter&&(t[filter.bagType]=v(m.safeContents,null,null,filter.bagType)),void 0!==e&&(t.localKeyId=v(m.safeContents,"localKeyId",e,filter.bagType)),"friendlyName"in filter&&(t.friendlyName=v(m.safeContents,"friendlyName",filter.friendlyName,filter.bagType)),t},getBagsByFriendlyName:function(e,t){return v(m.safeContents,"friendlyName",e,t)},getBagsByLocalKeyId:function(e,t){return v(m.safeContents,"localKeyId",e,t)}};if(3!==d.version.charCodeAt(0))throw(y=new Error("PKCS#12 PFX of version other than 3 not supported.")).version=d.version.charCodeAt(0),y;if(o.derToOid(d.contentType)!==c.oids.data)throw(y=new Error("Only PKCS#12 PFX in password integrity mode supported.")).oid=o.derToOid(d.contentType),y;var data=d.content.value[0];if(data.tagClass!==o.Class.UNIVERSAL||data.type!==o.Type.OCTETSTRING)throw new Error("PKCS#12 authSafe content data is not an OCTET STRING.");if(data=w(data),d.mac){var S=null,C=0,A=o.derToOid(d.macAlgorithm);switch(A){case c.oids.sha1:S=n.md.sha1.create(),C=20;break;case c.oids.sha256:S=n.md.sha256.create(),C=32;break;case c.oids.sha384:S=n.md.sha384.create(),C=48;break;case c.oids.sha512:S=n.md.sha512.create(),C=64;break;case c.oids.md5:S=n.md.md5.create(),C=16}if(null===S)throw new Error("PKCS#12 uses unsupported MAC algorithm: "+A);var T=new n.util.ByteBuffer(d.macSalt),k="macIterations"in d?parseInt(n.util.bytesToHex(d.macIterations),16):1,I=f.generateKey(r,T,3,k,C,S),M=n.hmac.create();if(M.start(S,I),M.update(data.value),M.getMac().getBytes()!==d.macDigest)throw new Error("PKCS#12 MAC could not be verified. Invalid password?")}return function(e,t,r,n){if((t=o.fromDer(t,r)).tagClass!==o.Class.UNIVERSAL||t.type!==o.Type.SEQUENCE||!0!==t.constructed)throw new Error("PKCS#12 AuthenticatedSafe expected to be a SEQUENCE OF ContentInfo");for(var i=0;i<t.value.length;i++){var f=t.value[i],l={},d=[];if(!o.validate(f,h,l,d))throw(v=new Error("Cannot read ContentInfo.")).errors=d,v;var y={encrypted:!1},m=null,data=l.content.value[0];switch(o.derToOid(l.contentType)){case c.oids.data:if(data.tagClass!==o.Class.UNIVERSAL||data.type!==o.Type.OCTETSTRING)throw new Error("PKCS#12 SafeContents Data is not an OCTET STRING.");m=w(data).value;break;case c.oids.encryptedData:m=_(data,n),y.encrypted=!0;break;default:var v;throw(v=new Error("Unsupported PKCS#12 contentType.")).contentType=o.derToOid(l.contentType),v}y.safeBags=E(m,r,n),e.safeContents.push(y)}}(m,data.value,t,r),m},f.toPkcs12Asn1=function(e,t,r,h){(h=h||{}).saltSize=h.saltSize||8,h.count=h.count||2048,h.algorithm=h.algorithm||h.encAlgorithm||"aes128","useMac"in h||(h.useMac=!0),"localKeyId"in h||(h.localKeyId=null),"generateLocalKeyId"in h||(h.generateLocalKeyId=!0);var l,d=h.localKeyId;if(null!==d)d=n.util.hexToBytes(d);else if(h.generateLocalKeyId)if(t){var y=n.util.isArray(t)?t[0]:t;"string"==typeof y&&(y=c.certificateFromPem(y)),(N=n.md.sha1.create()).update(o.toDer(c.certificateToAsn1(y)).getBytes()),d=N.digest().getBytes()}else d=n.random.getBytes(20);var m=[];null!==d&&m.push(o.create(o.Class.UNIVERSAL,o.Type.SEQUENCE,!0,[o.create(o.Class.UNIVERSAL,o.Type.OID,!1,o.oidToDer(c.oids.localKeyId).getBytes()),o.create(o.Class.UNIVERSAL,o.Type.SET,!0,[o.create(o.Class.UNIVERSAL,o.Type.OCTETSTRING,!1,d)])])),"friendlyName"in h&&m.push(o.create(o.Class.UNIVERSAL,o.Type.SEQUENCE,!0,[o.create(o.Class.UNIVERSAL,o.Type.OID,!1,o.oidToDer(c.oids.friendlyName).getBytes()),o.create(o.Class.UNIVERSAL,o.Type.SET,!0,[o.create(o.Class.UNIVERSAL,o.Type.BMPSTRING,!1,h.friendlyName)])])),m.length>0&&(l=o.create(o.Class.UNIVERSAL,o.Type.SET,!0,m));var v=[],w=[];null!==t&&(w=n.util.isArray(t)?t:[t]);for(var _=[],i=0;i<w.length;++i){"string"==typeof(t=w[i])&&(t=c.certificateFromPem(t));var E=0===i?l:void 0,S=c.certificateToAsn1(t),C=o.create(o.Class.UNIVERSAL,o.Type.SEQUENCE,!0,[o.create(o.Class.UNIVERSAL,o.Type.OID,!1,o.oidToDer(c.oids.certBag).getBytes()),o.create(o.Class.CONTEXT_SPECIFIC,0,!0,[o.create(o.Class.UNIVERSAL,o.Type.SEQUENCE,!0,[o.create(o.Class.UNIVERSAL,o.Type.OID,!1,o.oidToDer(c.oids.x509Certificate).getBytes()),o.create(o.Class.CONTEXT_SPECIFIC,0,!0,[o.create(o.Class.UNIVERSAL,o.Type.OCTETSTRING,!1,o.toDer(S).getBytes())])])]),E]);_.push(C)}if(_.length>0){var A=o.create(o.Class.UNIVERSAL,o.Type.SEQUENCE,!0,_),T=o.create(o.Class.UNIVERSAL,o.Type.SEQUENCE,!0,[o.create(o.Class.UNIVERSAL,o.Type.OID,!1,o.oidToDer(c.oids.data).getBytes()),o.create(o.Class.CONTEXT_SPECIFIC,0,!0,[o.create(o.Class.UNIVERSAL,o.Type.OCTETSTRING,!1,o.toDer(A).getBytes())])]);v.push(T)}var k=null;if(null!==e){var I=c.wrapRsaPrivateKey(c.privateKeyToAsn1(e));k=null===r?o.create(o.Class.UNIVERSAL,o.Type.SEQUENCE,!0,[o.create(o.Class.UNIVERSAL,o.Type.OID,!1,o.oidToDer(c.oids.keyBag).getBytes()),o.create(o.Class.CONTEXT_SPECIFIC,0,!0,[I]),l]):o.create(o.Class.UNIVERSAL,o.Type.SEQUENCE,!0,[o.create(o.Class.UNIVERSAL,o.Type.OID,!1,o.oidToDer(c.oids.pkcs8ShroudedKeyBag).getBytes()),o.create(o.Class.CONTEXT_SPECIFIC,0,!0,[c.encryptPrivateKeyInfo(I,r,h)]),l]);var M=o.create(o.Class.UNIVERSAL,o.Type.SEQUENCE,!0,[k]),R=o.create(o.Class.UNIVERSAL,o.Type.SEQUENCE,!0,[o.create(o.Class.UNIVERSAL,o.Type.OID,!1,o.oidToDer(c.oids.data).getBytes()),o.create(o.Class.CONTEXT_SPECIFIC,0,!0,[o.create(o.Class.UNIVERSAL,o.Type.OCTETSTRING,!1,o.toDer(M).getBytes())])]);v.push(R)}var x,B=o.create(o.Class.UNIVERSAL,o.Type.SEQUENCE,!0,v);if(h.useMac){var N=n.md.sha1.create(),O=new n.util.ByteBuffer(n.random.getBytes(h.saltSize)),L=h.count,P=(e=f.generateKey(r,O,3,L,20),n.hmac.create());P.start(N,e),P.update(o.toDer(B).getBytes());var D=P.getMac();x=o.create(o.Class.UNIVERSAL,o.Type.SEQUENCE,!0,[o.create(o.Class.UNIVERSAL,o.Type.SEQUENCE,!0,[o.create(o.Class.UNIVERSAL,o.Type.SEQUENCE,!0,[o.create(o.Class.UNIVERSAL,o.Type.OID,!1,o.oidToDer(c.oids.sha1).getBytes()),o.create(o.Class.UNIVERSAL,o.Type.NULL,!1,"")]),o.create(o.Class.UNIVERSAL,o.Type.OCTETSTRING,!1,D.getBytes())]),o.create(o.Class.UNIVERSAL,o.Type.OCTETSTRING,!1,O.getBytes()),o.create(o.Class.UNIVERSAL,o.Type.INTEGER,!1,o.integerToDer(L).getBytes())])}return o.create(o.Class.UNIVERSAL,o.Type.SEQUENCE,!0,[o.create(o.Class.UNIVERSAL,o.Type.INTEGER,!1,o.integerToDer(3).getBytes()),o.create(o.Class.UNIVERSAL,o.Type.SEQUENCE,!0,[o.create(o.Class.UNIVERSAL,o.Type.OID,!1,o.oidToDer(c.oids.data).getBytes()),o.create(o.Class.CONTEXT_SPECIFIC,0,!0,[o.create(o.Class.UNIVERSAL,o.Type.OCTETSTRING,!1,o.toDer(B).getBytes())])]),x])},f.generateKey=n.pbe.generatePkcs12Key},function(e,t,r){var n=r(11);r(67),r(18);var o=n.asn1,c=e.exports=n.pkcs7asn1=n.pkcs7asn1||{};n.pkcs7=n.pkcs7||{},n.pkcs7.asn1=c;var f={name:"ContentInfo",tagClass:o.Class.UNIVERSAL,type:o.Type.SEQUENCE,constructed:!0,value:[{name:"ContentInfo.ContentType",tagClass:o.Class.UNIVERSAL,type:o.Type.OID,constructed:!1,capture:"contentType"},{name:"ContentInfo.content",tagClass:o.Class.CONTEXT_SPECIFIC,type:0,constructed:!0,optional:!0,captureAsn1:"content"}]};c.contentInfoValidator=f;var h={name:"EncryptedContentInfo",tagClass:o.Class.UNIVERSAL,type:o.Type.SEQUENCE,constructed:!0,value:[{name:"EncryptedContentInfo.contentType",tagClass:o.Class.UNIVERSAL,type:o.Type.OID,constructed:!1,capture:"contentType"},{name:"EncryptedContentInfo.contentEncryptionAlgorithm",tagClass:o.Class.UNIVERSAL,type:o.Type.SEQUENCE,constructed:!0,value:[{name:"EncryptedContentInfo.contentEncryptionAlgorithm.algorithm",tagClass:o.Class.UNIVERSAL,type:o.Type.OID,constructed:!1,capture:"encAlgorithm"},{name:"EncryptedContentInfo.contentEncryptionAlgorithm.parameter",tagClass:o.Class.UNIVERSAL,captureAsn1:"encParameter"}]},{name:"EncryptedContentInfo.encryptedContent",tagClass:o.Class.CONTEXT_SPECIFIC,type:0,capture:"encryptedContent",captureAsn1:"encryptedContentAsn1"}]};c.envelopedDataValidator={name:"EnvelopedData",tagClass:o.Class.UNIVERSAL,type:o.Type.SEQUENCE,constructed:!0,value:[{name:"EnvelopedData.Version",tagClass:o.Class.UNIVERSAL,type:o.Type.INTEGER,constructed:!1,capture:"version"},{name:"EnvelopedData.RecipientInfos",tagClass:o.Class.UNIVERSAL,type:o.Type.SET,constructed:!0,captureAsn1:"recipientInfos"}].concat(h)},c.encryptedDataValidator={name:"EncryptedData",tagClass:o.Class.UNIVERSAL,type:o.Type.SEQUENCE,constructed:!0,value:[{name:"EncryptedData.Version",tagClass:o.Class.UNIVERSAL,type:o.Type.INTEGER,constructed:!1,capture:"version"}].concat(h)};var l={name:"SignerInfo",tagClass:o.Class.UNIVERSAL,type:o.Type.SEQUENCE,constructed:!0,value:[{name:"SignerInfo.version",tagClass:o.Class.UNIVERSAL,type:o.Type.INTEGER,constructed:!1},{name:"SignerInfo.issuerAndSerialNumber",tagClass:o.Class.UNIVERSAL,type:o.Type.SEQUENCE,constructed:!0,value:[{name:"SignerInfo.issuerAndSerialNumber.issuer",tagClass:o.Class.UNIVERSAL,type:o.Type.SEQUENCE,constructed:!0,captureAsn1:"issuer"},{name:"SignerInfo.issuerAndSerialNumber.serialNumber",tagClass:o.Class.UNIVERSAL,type:o.Type.INTEGER,constructed:!1,capture:"serial"}]},{name:"SignerInfo.digestAlgorithm",tagClass:o.Class.UNIVERSAL,type:o.Type.SEQUENCE,constructed:!0,value:[{name:"SignerInfo.digestAlgorithm.algorithm",tagClass:o.Class.UNIVERSAL,type:o.Type.OID,constructed:!1,capture:"digestAlgorithm"},{name:"SignerInfo.digestAlgorithm.parameter",tagClass:o.Class.UNIVERSAL,constructed:!1,captureAsn1:"digestParameter",optional:!0}]},{name:"SignerInfo.authenticatedAttributes",tagClass:o.Class.CONTEXT_SPECIFIC,type:0,constructed:!0,optional:!0,capture:"authenticatedAttributes"},{name:"SignerInfo.digestEncryptionAlgorithm",tagClass:o.Class.UNIVERSAL,type:o.Type.SEQUENCE,constructed:!0,capture:"signatureAlgorithm"},{name:"SignerInfo.encryptedDigest",tagClass:o.Class.UNIVERSAL,type:o.Type.OCTETSTRING,constructed:!1,capture:"signature"},{name:"SignerInfo.unauthenticatedAttributes",tagClass:o.Class.CONTEXT_SPECIFIC,type:1,constructed:!0,optional:!0,capture:"unauthenticatedAttributes"}]};c.signedDataValidator={name:"SignedData",tagClass:o.Class.UNIVERSAL,type:o.Type.SEQUENCE,constructed:!0,value:[{name:"SignedData.Version",tagClass:o.Class.UNIVERSAL,type:o.Type.INTEGER,constructed:!1,capture:"version"},{name:"SignedData.DigestAlgorithms",tagClass:o.Class.UNIVERSAL,type:o.Type.SET,constructed:!0,captureAsn1:"digestAlgorithms"},f,{name:"SignedData.Certificates",tagClass:o.Class.CONTEXT_SPECIFIC,type:0,optional:!0,captureAsn1:"certificates"},{name:"SignedData.CertificateRevocationLists",tagClass:o.Class.CONTEXT_SPECIFIC,type:1,optional:!0,captureAsn1:"crls"},{name:"SignedData.SignerInfos",tagClass:o.Class.UNIVERSAL,type:o.Type.SET,capture:"signerInfos",optional:!0,value:[l]}]},c.recipientInfoValidator={name:"RecipientInfo",tagClass:o.Class.UNIVERSAL,type:o.Type.SEQUENCE,constructed:!0,value:[{name:"RecipientInfo.version",tagClass:o.Class.UNIVERSAL,type:o.Type.INTEGER,constructed:!1,capture:"version"},{name:"RecipientInfo.issuerAndSerial",tagClass:o.Class.UNIVERSAL,type:o.Type.SEQUENCE,constructed:!0,value:[{name:"RecipientInfo.issuerAndSerial.issuer",tagClass:o.Class.UNIVERSAL,type:o.Type.SEQUENCE,constructed:!0,captureAsn1:"issuer"},{name:"RecipientInfo.issuerAndSerial.serialNumber",tagClass:o.Class.UNIVERSAL,type:o.Type.INTEGER,constructed:!1,capture:"serial"}]},{name:"RecipientInfo.keyEncryptionAlgorithm",tagClass:o.Class.UNIVERSAL,type:o.Type.SEQUENCE,constructed:!0,value:[{name:"RecipientInfo.keyEncryptionAlgorithm.algorithm",tagClass:o.Class.UNIVERSAL,type:o.Type.OID,constructed:!1,capture:"encAlgorithm"},{name:"RecipientInfo.keyEncryptionAlgorithm.parameter",tagClass:o.Class.UNIVERSAL,constructed:!1,captureAsn1:"encParameter",optional:!0}]},{name:"RecipientInfo.encryptedKey",tagClass:o.Class.UNIVERSAL,type:o.Type.OCTETSTRING,constructed:!1,capture:"encKey"}]}},function(e,t,r){var n=r(11);r(18),n.mgf=n.mgf||{},(e.exports=n.mgf.mgf1=n.mgf1=n.mgf1||{}).create=function(e){return{generate:function(t,r){for(var o=new n.util.ByteBuffer,c=Math.ceil(r/e.digestLength),i=0;i<c;i++){var f=new n.util.ByteBuffer;f.putInt32(i),e.start(),e.update(t+f.getBytes()),o.putBuffer(e.digest())}return o.truncate(o.length()-r),o.getBytes()}}}},function(e,t,r){var n=r(11);r(74),r(18);var o=e.exports=n.sha512=n.sha512||{};n.md.sha512=n.md.algorithms.sha512=o;var c=n.sha384=n.sha512.sha384=n.sha512.sha384||{};c.create=function(){return o.create("SHA-384")},n.md.sha384=n.md.algorithms.sha384=c,n.sha512.sha256=n.sha512.sha256||{create:function(){return o.create("SHA-512/256")}},n.md["sha512/256"]=n.md.algorithms["sha512/256"]=n.sha512.sha256,n.sha512.sha224=n.sha512.sha224||{create:function(){return o.create("SHA-512/224")}},n.md["sha512/224"]=n.md.algorithms["sha512/224"]=n.sha512.sha224,o.create=function(e){if(h||(f=String.fromCharCode(128),f+=n.util.fillString(String.fromCharCode(0),128),l=[[1116352408,3609767458],[1899447441,602891725],[3049323471,3964484399],[3921009573,2173295548],[961987163,4081628472],[1508970993,3053834265],[2453635748,2937671579],[2870763221,3664609560],[3624381080,2734883394],[310598401,1164996542],[607225278,1323610764],[1426881987,3590304994],[1925078388,4068182383],[2162078206,991336113],[2614888103,633803317],[3248222580,3479774868],[3835390401,2666613458],[4022224774,944711139],[264347078,2341262773],[604807628,2007800933],[770255983,1495990901],[1249150122,1856431235],[1555081692,3175218132],[1996064986,2198950837],[2554220882,3999719339],[2821834349,766784016],[2952996808,2566594879],[3210313671,3203337956],[3336571891,1034457026],[3584528711,2466948901],[113926993,3758326383],[338241895,168717936],[666307205,1188179964],[773529912,1546045734],[1294757372,1522805485],[1396182291,2643833823],[1695183700,2343527390],[1986661051,1014477480],[2177026350,1206759142],[2456956037,344077627],[2730485921,1290863460],[2820302411,3158454273],[3259730800,3505952657],[3345764771,106217008],[3516065817,3606008344],[3600352804,1432725776],[4094571909,1467031594],[275423344,851169720],[430227734,3100823752],[506948616,1363258195],[659060556,3750685593],[883997877,3785050280],[958139571,3318307427],[1322822218,3812723403],[1537002063,2003034995],[1747873779,3602036899],[1955562222,1575990012],[2024104815,1125592928],[2227730452,2716904306],[2361852424,442776044],[2428436474,593698344],[2756734187,3733110249],[3204031479,2999351573],[3329325298,3815920427],[3391569614,3928383900],[3515267271,566280711],[3940187606,3454069534],[4118630271,4000239992],[116418474,1914138554],[174292421,2731055270],[289380356,3203993006],[460393269,320620315],[685471733,587496836],[852142971,1086792851],[1017036298,365543100],[1126000580,2618297676],[1288033470,3409855158],[1501505948,4234509866],[1607167915,987167468],[1816402316,1246189591]],(d={})["SHA-512"]=[[1779033703,4089235720],[3144134277,2227873595],[1013904242,4271175723],[2773480762,1595750129],[1359893119,2917565137],[2600822924,725511199],[528734635,4215389547],[1541459225,327033209]],d["SHA-384"]=[[3418070365,3238371032],[1654270250,914150663],[2438529370,812702999],[355462360,4144912697],[1731405415,4290775857],[2394180231,1750603025],[3675008525,1694076839],[1203062813,3204075428]],d["SHA-512/256"]=[[573645204,4230739756],[2673172387,3360449730],[596883563,1867755857],[2520282905,1497426621],[2519219938,28279439
vendor: 4,754 bytes, line 2
207],[3193839141,1401305490],[721525244,746961066],[246885852,2177182882]],d["SHA-512/224"]=[[2352822216,424955298],[1944164710,2312950998],[502970286,855612546],[1738396948,1479516111],[258812777,2077511080],[2011393907,79989058],[1067287976,1780299464],[286451373,2446758561]],h=!0),void 0===e&&(e="SHA-512"),!(e in d))throw new Error("Invalid SHA-512 algorithm: "+e);for(var t=d[e],r=null,o=n.util.createBuffer(),c=new Array(80),m=0;m<80;++m)c[m]=new Array(2);var v=64;switch(e){case"SHA-384":v=48;break;case"SHA-512/256":v=32;break;case"SHA-512/224":v=28}var w={algorithm:e.replace("-","").toLowerCase(),blockLength:128,digestLength:v,messageLength:0,fullMessageLength:null,messageLengthSize:16,start:function(){w.messageLength=0,w.fullMessageLength=w.messageLength128=[];for(var e=w.messageLengthSize/4,i=0;i<e;++i)w.fullMessageLength.push(0);o=n.util.createBuffer(),r=new Array(t.length);for(i=0;i<t.length;++i)r[i]=t[i].slice(0);return w}};return w.start(),w.update=function(e,t){"utf8"===t&&(e=n.util.encodeUtf8(e));var f=e.length;w.messageLength+=f,f=[f/4294967296>>>0,f>>>0];for(var i=w.fullMessageLength.length-1;i>=0;--i)w.fullMessageLength[i]+=f[1],f[1]=f[0]+(w.fullMessageLength[i]/4294967296>>>0),w.fullMessageLength[i]=w.fullMessageLength[i]>>>0,f[0]=f[1]/4294967296>>>0;return o.putBytes(e),y(r,c,o),(o.read>2048||0===o.length())&&o.compact(),w},w.digest=function(){var t=n.util.createBuffer();t.putBytes(o.bytes());var h,l=w.fullMessageLength[w.fullMessageLength.length-1]+w.messageLengthSize&w.blockLength-1;t.putBytes(f.substr(0,w.blockLength-l));for(var d=8*w.fullMessageLength[0],i=0;i<w.fullMessageLength.length-1;++i)d+=(h=8*w.fullMessageLength[i+1])/4294967296>>>0,t.putInt32(d>>>0),d=h>>>0;t.putInt32(d);var m=new Array(r.length);for(i=0;i<r.length;++i)m[i]=r[i].slice(0);y(m,c,t);var v,_=n.util.createBuffer();v="SHA-512"===e?m.length:"SHA-384"===e?m.length-2:m.length-4;for(i=0;i<v;++i)_.putInt32(m[i][0]),i===v-1&&"SHA-512/224"===e||_.putInt32(m[i][1]);return _},w};var f=null,h=!1,l=null,d=null;function y(s,e,t){for(var r,n,o,c,f,h,d,y,m,v,w,_,E,S,C,A,T,k,I,M,R,x,B,N,O,L,i,P,D,j,U,F,V,K=t.length();K>=128;){for(i=0;i<16;++i)e[i][0]=t.getInt32()>>>0,e[i][1]=t.getInt32()>>>0;for(;i<80;++i)r=(((P=(j=e[i-2])[0])>>>19|(D=j[1])<<13)^(D>>>29|P<<3)^P>>>6)>>>0,n=((P<<13|D>>>19)^(D<<3|P>>>29)^(P<<26|D>>>6))>>>0,o=(((P=(F=e[i-15])[0])>>>1|(D=F[1])<<31)^(P>>>8|D<<24)^P>>>7)>>>0,c=((P<<31|D>>>1)^(P<<24|D>>>8)^(P<<25|D>>>7))>>>0,U=e[i-7],V=e[i-16],D=n+U[1]+c+V[1],e[i][0]=r+U[0]+o+V[0]+(D/4294967296>>>0)>>>0,e[i][1]=D>>>0;for(w=s[0][0],_=s[0][1],E=s[1][0],S=s[1][1],C=s[2][0],A=s[2][1],T=s[3][0],k=s[3][1],I=s[4][0],M=s[4][1],R=s[5][0],x=s[5][1],B=s[6][0],N=s[6][1],O=s[7][0],L=s[7][1],i=0;i<80;++i)d=((I>>>14|M<<18)^(I>>>18|M<<14)^(M>>>9|I<<23))>>>0,y=(B^I&(R^B))>>>0,f=((w>>>28|_<<4)^(_>>>2|w<<30)^(_>>>7|w<<25))>>>0,h=((w<<4|_>>>28)^(_<<30|w>>>2)^(_<<25|w>>>7))>>>0,m=(w&E|C&(w^E))>>>0,v=(_&S|A&(_^S))>>>0,D=L+(((I<<18|M>>>14)^(I<<14|M>>>18)^(M<<23|I>>>9))>>>0)+((N^M&(x^N))>>>0)+l[i][1]+e[i][1],r=O+d+y+l[i][0]+e[i][0]+(D/4294967296>>>0)>>>0,n=D>>>0,o=f+m+((D=h+v)/4294967296>>>0)>>>0,c=D>>>0,O=B,L=N,B=R,N=x,R=I,x=M,I=T+r+((D=k+n)/4294967296>>>0)>>>0,M=D>>>0,T=C,k=A,C=E,A=S,E=w,S=_,w=r+o+((D=n+c)/4294967296>>>0)>>>0,_=D>>>0;D=s[0][1]+_,s[0][0]=s[0][0]+w+(D/4294967296>>>0)>>>0,s[0][1]=D>>>0,D=s[1][1]+S,s[1][0]=s[1][0]+E+(D/4294967296>>>0)>>>0,s[1][1]=D>>>0,D=s[2][1]+A,s[2][0]=s[2][0]+C+(D/4294967296>>>0)>>>0,s[2][1]=D>>>0,D=s[3][1]+k,s[3][0]=s[3][0]+T+(D/4294967296>>>0)>>>0,s[3][1]=D>>>0,D=s[4][1]+M,s[4][0]=s[4][0]+I+(D/4294967296>>>0)>>>0,s[4][1]=D>>>0,D=s[5][1]+x,s[5][0]=s[5][0]+R+(D/4294967296>>>0)>>>0,s[5][1]=D>>>0,D=s[6][1]+N,s[6][0]=s[6][0]+B+(D/4294967296>>>0)>>>0,s[6][1]=D>>>0,D=s[7][1]+L,s[7][0]=s[7][0]+O+(D/4294967296>>>0)>>>0,s[7][1]=D>>>0,K-=128}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.JWTAccess=void 0;const n=r(438),o=r(844),c={alg:"RS256",typ:"JWT"};class f{constructor(e,t,r,n){this.cache=new o({max:500,maxAge:36e5}),this.email=e,this.key=t,this.keyId=r,this.eagerRefreshThresholdMillis=null!=n?n:3e5}getRequestHeaders(e,t){const r=this.cache.get(e),o=Date.now();if(r&&r.expiration-o>this.eagerRefreshThresholdMillis)return r.headers;const h=Math.floor(Date.now()/1e3),l=f.getExpirationTime(h),d={iss:this.email,sub:this.email,aud:e,exp:l,iat:h};if(t)for(const e in d)if(t[e])throw new Error(`The '${e}' property is not allowed when passing additionalClaims. This claim is included in the JWT by default.`);const header=this.keyId?{...c,kid:this.keyId}:c,y=Object.assign(d,t),m={Authorization:`Bearer ${n.sign({header:header,payload:y,secret:this.key})}`};return this.cache.set(e,{expiration:1e3*l,headers:m}),m}static getExpirationTime(e){return e+3600}
2fromJSON(e){if(!e)throw new Error("Must pass in a JSON object containing the service account auth settings.");if(!e.client_email)throw new Error("The incoming JSON object does not contain a client_email field");if(!e.private_key)throw new Error("The incoming JSON object does not contain a private_key field");this.email=e.client_email,this.key=e.private_key,this.keyId=e.private_key_id,this.projectId=e.project_id}fromStream(e,t){if(!t)return this.fromStreamAsync(e);this.fromStreamAsync(e).then((()=>t()),t)}fromStreamAsync(e){return new Promise(((t,r)=>{e||r(new Error("Must pass in a stream containing the service account auth settings."));let s="";e.setEncoding("utf8").on("data",(e=>s+=e)).on("error",r).on("end",(()=>{try{const data=JSON.parse(s);this.fromJSON(data),t()}catch(e){r(e)}}))}))}}t.JWTAccess=f},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UserRefreshClient=void 0;const n=r(143);class o extends n.OAuth2Client{constructor(e,t,r,n,o){const c=e&&"object"==typeof e?e:{clientId:e,clientSecret:t,refreshToken:r,eagerRefreshThresholdMillis:n,forceRefreshOnFailure:o};super({clientId:c.clientId,clientSecret:c.clientSecret,eagerRefreshThresholdMillis:c.eagerRefreshThresholdMillis,forceRefreshOnFailure:c.forceRefreshOnFailure}),this._refreshToken=c.refreshToken,this.credentials.refresh_token=c.refreshToken}async refreshTokenNoCache(e){return super.refreshTokenNoCache(this._refreshToken)}
2fromJSON(e){if(!e)throw new Error("Must pass in a JSON object containing the user refresh token");if("authorized_user"!==e.type)throw new Error('The incoming JSON object does not have the "authorized_user" type');if(!e.client_id)throw new Error("The incoming JSON object does not contain a client_id field");if(!e.client_secret)throw new Error("The incoming JSON object does not contain a client_secret field");if(!e.refresh_token)throw new Error("The incoming JSON object does not contain a refresh_token field");this._clientId=e.client_id,this._clientSecret=e.client_secret,this._refreshToken=e.refresh_token,this.credentials.refresh_token=e.refresh_token,this.quotaProjectId=e.quota_project_id}fromStream(e,t){if(!t)return this.fromStreamAsync(e);this.fromStreamAsync(e).then((()=>t()),t)}async fromStreamAsync(e){return new Promise(((t,r)=>{if(!e)return r(new Error("Must pass in a stream containing the user refresh token."));let s="";e.setEncoding("utf8").on("error",r).on("data",(e=>s+=e)).on("end",(()=>{try{const data=JSON.parse(s);return this.fromJSON(data),t()}catch(e){return r(e)}}))}))}}t.UserRefreshClient=o},,,,,,,,,function(e,t,r){const n=r(173),o=r(466),c=r(867),{getFieldMask:f,columnToLetter:h,letterToColumn:l}=r(183);function d(e){const t=n.groupBy(e);n.each(t,((e,header)=>{if(header&&e.length>1)throw new Error(`Duplicate header detected: "${header}". Please make sure all non-empty headers are unique`)}))}e.exports=class{constructor(e,{properties:t,data:data}){return this._spreadsheet=e,this._headerRowIndex=1,this._rawProperties=t,this._cells=[],this._rowMetadata=[],this._columnMetadata=[],data&&this._fillCellData(data),this}async _makeSingleUpdateRequest(e,t){return this._spreadsheet._makeSingleUpdateRequest(e,{...t})}_ensureInfoLoaded(){if(!this._rawProperties)throw new Error("You must call `doc.loadInfo()` again before accessing this property")}resetLocalCache(e){e||(this._rawProperties=null),this.headerValues=null,this._headerRowIndex=1,this._cells=[]}_fillCellData(e){n.each(e,(e=>{const t=e.startRow||0,r=e.startColumn||0,o=e.rowMetadata.length,f=e.columnMetadata.length;for(let i=0;i<o;i++){const o=t+i;for(let t=0;t<f;t++){const f=r+t;this._cells[o]||(this._cells[o]=[]);const h=n.get(e,`rowData[${i}].values[${t}]`);this._cells[o][f]?this._cells[o][f]._updateRawData(h):this._cells[o][f]=new c(this,o,f,h)}}for(let i=0;i<e.rowMetadata.length;i++)this._rowMetadata[t+i]=e.rowMetadata[i];for(let i=0;i<e.columnMetadata.length;i++)this._columnMetadata[r+i]=e.columnMetadata[i]}))}_getProp(param){return this._ensureInfoLoaded(),this._rawProperties[param]}_setProp(param,e){throw new Error("Do not update directly - use `updateProperties()`")}get sheetId(){return this._getProp("sheetId")}get title(){return this._getProp("title")}get index(){return this._getProp("index")}get sheetType(){return this._getProp("sheetType")}get gridProperties(){return this._getProp("gridProperties")}get hidden(){return this._getProp("hidden")}get tabColor(){return this._getProp("tabColor")}get rightToLeft(){return this._getProp("rightToLeft")}set sheetId(e){return this._setProp("sheetId",e)}set title(e){return this._setProp("title",e)}set index(e){return this._setProp("index",e)}set sheetType(e){return this._setProp("sheetType",e)}set gridProperties(e){return this._setProp("gridProperties",e)}set hidden(e){return this._setProp("hidden",e)}set tabColor(e){return this._setProp("tabColor",e)}set rightToLeft(e){return this._setProp("rightToLeft",e)}get rowCount(){return this._ensureInfoLoaded(),this.gridProperties.rowCount}get columnCount(){return this._ensureInfoLoaded(),this.gridProperties.columnCount}get colCount(){throw new Error("`colCount` is deprecated - please use `columnCount` instead.")}set rowCount(e){throw new Error("Do not update directly. Use resize()")}set columnCount(e){throw new Error("Do not update directly. Use resize()")}get a1SheetName(){return`'${this.title.replace(/'/g,"''")}'`}get encodedA1SheetName(){return encodeURIComponent(this.a1SheetName)}get lastColumnLetter(){return h(this.columnCount)}get cellStats(){let e=n.flatten(this._cells);return e=n.compact(e),{nonEmpty:n.filter(e,(e=>e.value)).length,loaded:e.length,total:this.rowCount*this.columnCount}}getCellByA1(e){const t=e.match(/([A-Z]+)([0-9]+)/),r=l(t[1]),n=parseInt(t[2]);return this.getCell(n-1,r-1)}getCell(e,t){if(e<0||t<0)throw new Error("Min coordinate is 0, 0");if(e>=this.rowCount||t>=this.columnCount)throw new Error(`Out of bounds, sheet is ${this.rowCount} by ${this.columnCount}`);if(!n.get(this._cells,`[${e}
2][${t}]`))throw new Error("This cell has not been loaded yet");return this._cells[e][t]}async loadCells(e){if(!e)return this._spreadsheet.loadCells(this.a1SheetName);let t=n.isArray(e)?e:[e];return t=n.map(t,(filter=>{if(n.isString(filter))return filter.startsWith(this.a1SheetName)?filter:`${this.a1SheetName}!${filter}`;if(n.isObject(filter)){if(!filter.sheetId)return{sheetId:this.sheetId,...filter};if(filter.sheetId!==this.sheetId)throw new Error("Leave sheet ID blank or set to matching ID of this sheet");return filter}throw new Error("Each filter must be a A1 range string or gridrange object")})),this._spreadsheet.loadCells(t)}async saveUpdatedCells(){const e=n.filter(n.flatten(this._cells),{_isDirty:!0});e.length&&await this.saveCells(e)}async saveCells(e){const t=n.map(e,(e=>e._getUpdateRequest())),r=n.map(e,(e=>`${this.a1SheetName}!${e.a1Address}`));if(!n.compact(t).length)throw new Error("At least one cell must have something to update");await this._spreadsheet._makeBatchUpdateRequest(t,r)}async loadHeaderRow(e){void 0!==e&&(this._headerRowIndex=e);const t=await this.getCellsInRange(`A${this._headerRowIndex}:${this.lastColumnLetter}${this._headerRowIndex}`);if(!t)throw new Error("No values in the header row - fill the first row with header values before trying to interact with rows");if(this.headerValues=n.map(t[0],(header=>header.trim())),!n.compact(this.headerValues).length)throw new Error("All your header cells are blank - fill the first row with header values before trying to interact with rows");d(this.headerValues)}async setHeaderRow(e,t){if(!e)return;if(e.length>this.columnCount)throw new Error(`Sheet is not large enough to fit ${e.length} columns. Resize the sheet first.`);const r=n.map(e,(e=>e.trim()));if(d(r),!n.compact(r).length)throw new Error("All your header cells are blank -");t&&(this._headerRowIndex=t);const o=await this._spreadsheet.axios.request({method:"put",url:`/values/${this.encodedA1SheetName}!${this._headerRowIndex}:${this._headerRowIndex}`,params:{valueInputOption:"USER_ENTERED",includeValuesInResponse:!0},data:{range:`${this.a1SheetName}!${this._headerRowIndex}:${this._headerRowIndex}`,majorDimension:"ROWS",values:[[...r,...n.times(this.columnCount-r.length,(()=>""))]]}});this.headerValues=o.data.updatedData.values[0]}async addRows(e,t={}){if(this.title.includes(":"))throw new Error('Please remove the ":" from your sheet title. There is a bug with the google API which breaks appending rows if any colons are in the sheet title.');if(!n.isArray(e))throw new Error("You must pass in an array of row values to append");this.headerValues||await this.loadHeaderRow();const r=[];n.each(e,(e=>{let t;if(n.isArray(e))t=e;else{if(!n.isObject(e))throw new Error("Each row must be an object or an array");t=[];for(let i=0;i<this.headerValues.length;i++){const r=this.headerValues[i];t[i]=e[r]}}r.push(t)}));const c=await this._spreadsheet.axios.request({method:"post",url:`/values/${this.encodedA1SheetName}!A${this._headerRowIndex}:append`,params:{valueInputOption:t.raw?"RAW":"USER_ENTERED",insertDataOption:t.insert?"INSERT_ROWS":"OVERWRITE",includeValuesInResponse:!0},data:{values:r}}),{updatedRange:f}=c.data.updates;let h=f.match(/![A-Z]+([0-9]+):?/)[1];return h=parseInt(h),t.insert?this._rawProperties.gridProperties.rowCount+=e.length:h+e.length>this.rowCount&&(this._rawProperties.gridProperties.rowCount=h+e.length-1),n.map(c.data.updates.updatedData.values,(e=>new o(this,h++,e)))}async addRow(e,t){return(await this.addRows([e],t))[0]}async getRows(e={}){e.offset=e.offset||0,e.limit=e.limit||this.rowCount-1,this.headerValues||await this.loadHeaderRow();const t=1+this._headerRowIndex+e.offset,r=t+e.limit-1,n=h(this.headerValues.length),c=await this.getCellsInRange(`A${t}:${n}${r}`);if(!c)return[];const f=[];let l=t;for(let i=0;i<c.length;i++)f.push(new o(this,l++,c[i]));return f}async clearRows(e={}){const t=e.start||this._headerRowIndex+1,r=e.end||this.rowCount;await this._spreadsheet.axios.post(`/values/${this.encodedA1SheetName}!${t}:${r}:clear`)}async updateProperties(e){return this._makeSingleUpdateRequest("updateSheetProperties",{properties:{sheetId:this.sheetId,...e},fields:f(e)})}async updateGridProperties(e){return this.updateProperties({gridProperties:e})}async resize(e){return this.updateGridProperties(e)}async updateDimensionProperties(e,t,r){return this._makeSingleUpdateRequest("updateDimensionProperties",{range:{sheetId:this.sheetId,dimension:e,...r&&{startIndex:r.
2startIndex,endIndex:r.endIndex}},properties:t,fields:f(t)})}async getCellsInRange(e,t){return(await this._spreadsheet.axios.get(`/values/${this.encodedA1SheetName}!${e}`,{params:t})).data.values}async updateNamedRange(){}async addNamedRange(){}async deleteNamedRange(){}async repeatCell(){}async autoFill(){}async cutPaste(){}async copyPaste(){}async mergeCells(e,t="MERGE_ALL"){if(e.sheetId&&e.sheetId!==this.sheetId)throw new Error("Leave sheet ID blank or set to matching ID of this sheet");await this._makeSingleUpdateRequest("mergeCells",{mergeType:t,range:{...e,sheetId:this.sheetId}})}async unmergeCells(e){if(e.sheetId&&e.sheetId!==this.sheetId)throw new Error("Leave sheet ID blank or set to matching ID of this sheet");await this._makeSingleUpdateRequest("unmergeCells",{range:{...e,sheetId:this.sheetId}})}async updateBorders(){}async addFilterView(){}async appendCells(){}async clearBasicFilter(){}async deleteDimension(){}async deleteEmbeddedObject(){}async deleteFilterView(){}async duplicateFilterView(){}async duplicate(e={}){const t=(await this._makeSingleUpdateRequest("duplicateSheet",{sourceSheetId:this.sheetId,...void 0!==e.index&&{insertSheetIndex:e.index},...e.id&&{newSheetId:e.id},...e.title&&{newSheetName:e.title}})).properties.sheetId;return this._spreadsheet.sheetsById[t]}async findReplace(){}async insertDimension(e,t,r=null){if(!e)throw new Error("You need to specify a dimension. i.e. COLUMNS|ROWS");if(!n.isObject(t))throw new Error("`range` must be an object containing `startIndex` and `endIndex`");if(!n.isInteger(t.startIndex)||t.startIndex<0)throw new Error("range.startIndex must be an integer >=0");if(!n.isInteger(t.endIndex)||t.endIndex<0)throw new Error("range.endIndex must be an integer >=0");if(t.endIndex<=t.startIndex)throw new Error("range.endIndex must be greater than range.startIndex");if(null===r&&(r=t.startIndex>0),r&&0===t.startIndex)throw new Error("Cannot set inheritFromBefore to true if inserting in first row/column");return this._makeSingleUpdateRequest("insertDimension",{range:{sheetId:this.sheetId,dimension:e,startIndex:t.startIndex,endIndex:t.endIndex},inheritFromBefore:r})}async insertRange(){}async moveDimension(){}async updateEmbeddedObjectPosition(){}async pasteData(){}async textToColumns(){}async updateFilterView(){}async deleteRange(){}async appendDimension(){}async addConditionalFormatRule(){}async updateConditionalFormatRule(){}async deleteConditionalFormatRule(){}async sortRange(){}async setDataValidation(){}async setBasicFilter(){}async addProtectedRange(){}async updateProtectedRange(){}async deleteProtectedRange(){}async autoResizeDimensions(){}async addChart(){}async updateChartSpec(){}async updateBanding(){}async addBanding(){}async deleteBanding(){}async createDeveloperMetadata(){}async updateDeveloperMetadata(){}async deleteDeveloperMetadata(){}async randomizeRange(){}async addDimensionGroup(){}async deleteDimensionGroup(){}async updateDimensionGroup(){}async trimWhitespace(){}async deleteDuplicates(){}async addSlicer(){}async updateSlicerSpec(){}async delete(){return this._spreadsheet.deleteSheet(this.sheetId)}async del(){return this.delete()}async copyToSpreadsheet(e){return this._spreadsheet.axios.post(`/sheets/${this.sheetId}:copyTo`,{destinationSpreadsheetId:e})}async clear(e){const t=e?`!${e}`:"";await this._spreadsheet.axios.post(`/values/${this.encodedA1SheetName}${t}:clear`),this.resetLocalCache(!0)}async downloadAsCSV(e=!1){return this._spreadsheet._downloadAs("csv",this.sheetId,e)}async downloadAsTSV(e=!1){return this._spreadsheet._downloadAs("tsv",this.sheetId,e)}async downloadAsPDF(e=!1){return this._spreadsheet._downloadAs("pdf",this.sheetId,e)}}},function(e,t,r){const{columnToLetter:n}=r(183);e.exports=class{constructor(e,t,data){this._sheet=e,this._rowNumber=t,this._rawData=data;for(let i=0;i<this._sheet.headerValues.length;i++){const e=this._sheet.headerValues[i];e&&Object.defineProperty(this,e,{get:()=>this._rawData[i],set:e=>{this._rawData[i]=e},enumerable:!0})}return this}get rowNumber(){return this._rowNumber}get rowIndex(){return this._rowNumber}get a1Range(){return[this._sheet.a1SheetName,"!",`A${this._rowNumber}`,":",`${n(this._sheet.headerValues.length)}${this._rowNumber}`].join("")}async save(e={}){if(this._deleted)throw new Error("This row has been deleted - call getRows again before making updates.");const t=await this._sheet._spreadsheet.axios.request({method:"put",url:`/values/${encodeURIComponent(this.a1Range)}`,params:{valueInputOption:e.raw?"RAW":"USER_ENTERED",includeValuesInResponse:!0},data:{range:this.a1Range,majorDimension:"ROWS",values:[this._rawData]}});this._rawData=t.data.updatedData.values[0]}async delete(){if(this._deleted)throw new Error("This row has been deleted - call getRows again before making updates.");const e=await this._sheet._makeSingleUpdateRequest("deleteRange",{range:{sheetId:this._sheet.sheetId,startRowIndex:this._rowNumber-1,endRowIndex:this._rowNumber},shiftDimension:"ROWS"});return this._deleted=!0,e}async del(){return this.delete()}}},function(e,t){e.exports={GoogleSpreadsheetFormulaError:class{constructor(e){this.type=e.type,this.message=e.message}}}},,,,,function(e,t,r){"use strict";t.a=function(e,t){return t=t||{},new Promise((function(r,n){var s=new XMLHttpRequest,o=[],u=[],i={},a=function(){return{ok:2==(s.status/100|0),statusText:s.statusText,status:s.status,url:s.responseURL,text:function(){return Promise.resolve(s.responseText)},json:function(){return Promise.resolve(s.responseText).then(JSON.parse)},blob:function(){return Promise.resolve(new Blob([s.response]))},clone:a,headers:{keys:function(){return o},entries:function(){return u},get:function(e){return i[e.toLowerCase()]},has:function(e){return e.toLowerCase()in i}}}};for(var c in s.open(t.method||"get",e,!0),s.onload=function(){s.getAllResponseHeaders().replace(/^(.*?):[^\S\n]*([\s\S]*?)$/gm,(function(e,t,r){o.push(t=t.toLowerCase()),u.push([t,r]),i[t]=i[t]?i[t]+","+r:r})),r(a())},s.onerror=n,s.withCredentials="include"==t.credentials,t.headers)s.setRequestHeader(c,t.headers[c]);s.send(t.body||null)}))}},function(e,t,r){"use strict";var n=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===o}(e)}(e)};var o="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function c(e,t){return!1!==t.clone&&t.isMergeableObject(e)?y((r=e,Array.isArray(r)?[]:{}),e,t):e;var r}function f(e,source,t){return e.concat(source).map((function(element){return c(element,t)}))}function h(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(symbol){return e.propertyIsEnumerable(symbol)})):[]}(e))}function l(object,e){try{return e in object}catch(e){return!1}}function d(e,source,t){var r={};return t.isMergeableObject(e)&&h(e).forEach((function(n){r[n]=c(e[n],t)})),h(source).forEach((function(n){(function(e,t){return l(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,n)||(l(e,n)&&t.isMergeableObject(source[n])?r[n]=function(e,t){if(!t.customMerge)return y;var r=t.customMerge(e);return"function"==typeof r?r:y}(n,t)(e[n],source[n],t):r[n]=c(source[n],t))})),r}function y(e,source,t){(t=t||{}).arrayMerge=t.arrayMerge||f,t.isMergeableObject=t.isMergeableObject||n,t.cloneUnlessOtherwiseSpecified=c;var r=Array.isArray(source);return r===Array.isArray(e)?r?t.arrayMerge(e,source,t):d(e,source,t):c(source,t)}y.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,r){return y(e,r,t)}),{})};var m=y;e.exports=m},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e){e.exports=JSON.parse('{"title":"yagi_san-abe_san-app","meta":[{"hid":"charset","charset":"utf-8"},{"hid":"viewport","name":"viewport","content":"width=device-width, initial-scale=1"},{"hid":"mobile-web-app-capable","name":"mobile-web-app-capable","content":"yes"},{"hid":"apple-mobile-web-app-title","name":"apple-mobile-web-app-title","content":"yagi_san-abe_san-app"},{"hid":"description","name":"description","content":"## Build Setup"},{"hid":"og:type","name":"og:type","property":"og:type","content":"website"},{"hid":"og:title","name":"og:title","property":"og:title","content":"yagi_san-abe_san-app"},{"hid":"og:site_name","name":"og:site_name","property":"og:site_name","content":"yagi_san-abe_san-app"},{"hid":"og:description","name":"og:description","property":"og:description","content":"## Build Setup"}],"link":[{"hid":"shortcut-icon","rel":"shortcut icon","href":"/_nuxt/icons/icon_64x64.ad1390.png"},{"hid":"apple-touch-icon","rel":"apple-touch-icon","href":"/_nuxt/icons/icon_512x512.ad1390.png","sizes":"512x512"},{"rel":"manifest","href":"/_nuxt/manifest.116e19b5.json","hid":"manifest"}],"htmlAttrs":{"lang":"ja"}}')},function(e,t,r){"use strict";var n=r(6),o=(r(30),r(22),r(93),r(1)),c=r(3),f=window.__NUXT__;function h(){if(!this._hydrated)return this.$fetch()}
2function l(){if((e=this).$vnode&&e.$vnode.elm&&e.$vnode.elm.dataset&&e.$vnode.elm.dataset.fetchKey){var e;this._hydrated=!0,this._fetchKey=this.$vnode.elm.dataset.fetchKey;var data=f.fetch[this._fetchKey];if(data&&data._error)this.$fetchState.error=data._error;else for(var t in data)o.a.set(this.$data,t,data[t])}}function d(){var e=this;return this._fetchPromise||(this._fetchPromise=y.call(this).then((function(){delete e._fetchPromise}))),this._fetchPromise}function y(){return m.apply(this,arguments)}function m(){return(m=Object(n.a)(regeneratorRuntime.mark((function e(){var t,r,n,o=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.$nuxt.nbFetching++,this.$fetchState.pending=!0,this.$fetchState.error=null,this._hydrated=!1,t=null,r=Date.now(),e.prev=6,e.next=9,this.$options.fetch.call(this);case 9:e.next=15;break;case 11:e.prev=11,e.t0=e.catch(6),t=Object(c.p)(e.t0);case 15:if(!((n=this._fetchDelay-(Date.now()-r))>0)){e.next=19;break}return e.next=19,new Promise((function(e){return setTimeout(e,n)}));case 19:this.$fetchState.error=t,this.$fetchState.pending=!1,this.$fetchState.timestamp=Date.now(),this.$nextTick((function(){return o.$nuxt.nbFetching--}));case 23:case"end":return e.stop()}}),e,this,[[6,11]])})))).apply(this,arguments)}t.a={beforeCreate:function(){Object(c.l)(this)&&(this._fetchDelay="number"==typeof this.$options.fetchDelay?this.$options.fetchDelay:200,o.a.util.defineReactive(this,"$fetchState",{pending:!1,error:null,timestamp:Date.now()}),this.$fetch=d.bind(this),Object(c.a)(this,"created",l),Object(c.a)(this,"beforeMount",h))}}},,,,,,,,,function(e,t,r){(function(e){e.installComponents=function(component,e){var r="function"==typeof component.exports?component.exports.extendOptions:component.options;for(var i in"function"==typeof component.exports&&(r.components=component.exports.options.components),r.components=r.components||{},e)r.components[i]=r.components[i]||e[i];r.functional&&function(component,e){if(component.exports[t])return;component.exports[t]=!0;var r=component.exports.render;component.exports.render=function(t,n){return r(t,Object.assign({},n,{_c:function(t,a,b){return n._c(e[t]||t,a,b)}}))}}(component,r.components)};var t="_functionalComponents"}).call(this,r(20))},function(e,t,r){"use strict";r.r(t),function(e){r(51),r(57),r(31),r(52),r(58);var t=r(44),n=r(6),o=(r(219),r(588),r(602),r(604),r(30),r(29),r(22),r(36),r(45),r(46),r(65),r(72),r(60),r(61),r(37),r(38),r(39),r(93),r(1)),c=r(472),f=r(147),h=r(3),l=r(78),d=r(561),y=r(210);function m(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(!e)return;if("string"==typeof e)return v(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return v(e,t)}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var i=0,n=function(){};return{s:n,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:n}}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,c=!0,f=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return c=e.done,e},e:function(e){f=!0,o=e},f:function(){try{c||null==r.return||r.return()}finally{if(f)throw o}}}}function v(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,r=new Array(t);i<t;i++)r[i]=e[i];return r}o.a.__nuxt__fetch__mixin__||(o.a.mixin(d.a),o.a.__nuxt__fetch__mixin__=!0),o.a.component(y.a.name,y.a),o.a.component("NLink",y.a),e.fetch||(e.fetch=c.a);var w,_,E=[],S=window.__NUXT__||{},C=S.config||{};C._app&&(r.p=Object(h.v)(C._app.cdnURL,C._app.assetsPath)),Object.assign(o.a.config,{silent:!0,performance:!1});var A=o.a.config.errorHandler||console.error;function T(e,t,r){for(var n=function(component){var e=function(component,e){if(!component||!component.options||!component.options[e])return{};var option=component.options[e];if("function"==typeof option){for(var t=arguments.length,r=new Array(t>2?t-2:0),n=2;n<t;n++)r[n-2]=arguments[n];return option.apply(void 0,r)}return option}(component,"transition",t,r)||{};return"string"==typeof e?{name:e}:e},o=r?Object(h.g)(r):[],c=Math.max(e.length,o.length),f=[],l=function(i){var t=Object.assign({},n(e[i])),r=Object.assign({},n(o[i]));Object.keys(t).filter((function(e){return void 0!==t[e]&&!e.toLowerCase().includes("leave")}
2)).forEach((function(e){r[e]=t[e]})),f.push(r)},i=0;i<c;i++)l(i);return f}function k(e,t,r){return I.apply(this,arguments)}function I(){return(I=Object(n.a)(regeneratorRuntime.mark((function e(t,r,n){var o,c,f,l,d=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this._routeChanged=Boolean(w.nuxt.err)||r.name!==t.name,this._paramChanged=!this._routeChanged&&r.path!==t.path,this._queryChanged=!this._paramChanged&&r.fullPath!==t.fullPath,this._diffQuery=this._queryChanged?Object(h.i)(t.query,r.query):[],(this._routeChanged||this._paramChanged)&&this.$loading.start&&!this.$loading.manual&&this.$loading.start(),e.prev=5,!this._queryChanged){e.next=12;break}return e.next=9,Object(h.r)(t,(function(e,t){return{Component:e,instance:t}}));case 9:o=e.sent,o.some((function(e){var n=e.Component,o=e.instance,c=n.options.watchQuery;return!0===c||(Array.isArray(c)?c.some((function(e){return d._diffQuery[e]})):"function"==typeof c&&c.apply(o,[t.query,r.query]))}))&&this.$loading.start&&!this.$loading.manual&&this.$loading.start();case 12:n(),e.next=26;break;case 15:if(e.prev=15,e.t0=e.catch(5),c=e.t0||{},f=c.statusCode||c.status||c.response&&c.response.status||500,l=c.message||"",!/^Loading( CSS)? chunk (\d)+ failed\./.test(l)){e.next=23;break}return window.location.reload(!0),e.abrupt("return");case 23:this.error({statusCode:f,message:l}),this.$nuxt.$emit("routeChanged",t,r,c),n();case 26:case"end":return e.stop()}}),e,this,[[5,15]])})))).apply(this,arguments)}function M(e,t){return S.serverRendered&&t&&Object(h.b)(e,t),e._Ctor=e,e}function R(e){return Object(h.d)(e,function(){var e=Object(n.a)(regeneratorRuntime.mark((function e(t,r,n,o,c){var f;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("function"!=typeof t||t.options){e.next=4;break}return e.next=3,t();case 3:t=e.sent;case 4:return f=M(Object(h.s)(t),S.data?S.data[c]:null),n.components[o]=f,e.abrupt("return",f);case 7:case"end":return e.stop()}}),e)})));return function(t,r,n,o,c){return e.apply(this,arguments)}}())}function x(e,t,r){var n=this,o=["message","nuxti18n"],c=!1;if(void 0!==r&&(o=[],(r=Object(h.s)(r)).options.middleware&&(o=o.concat(r.options.middleware)),e.forEach((function(e){e.options.middleware&&(o=o.concat(e.options.middleware))}))),o=o.map((function(e){return"function"==typeof e?e:("function"!=typeof f.a[e]&&(c=!0,n.error({statusCode:500,message:"Unknown middleware "+e})),f.a[e])})),!c)return Object(h.o)(o,t)}function B(e,t,r){return N.apply(this,arguments)}function N(){return N=Object(n.a)(regeneratorRuntime.mark((function e(t,r,o){var c,f,d,y,v,_,S,C,A,k,I,M,R,B,N,O=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!1!==this._routeChanged||!1!==this._paramChanged||!1!==this._queryChanged){e.next=2;break}return e.abrupt("return",o());case 2:return!1,t===r?(E=[],!0):(c=[],E=Object(h.g)(r,c).map((function(e,i){return Object(h.c)(r.matched[c[i]].path)(r.params)}))),f=!1,d=function(path){r.path===path.path&&O.$loading.finish&&O.$loading.finish(),r.path!==path.path&&O.$loading.pause&&O.$loading.pause(),f||(f=!0,o(path))},e.next=8,Object(h.t)(w,{route:t,from:r,next:d.bind(this)});case 8:if(this._dateLastError=w.nuxt.dateErr,this._hadError=Boolean(w.nuxt.err),y=[],(v=Object(h.g)(t,y)).length){e.next=27;break}return e.next=15,x.call(this,v,w.context);case 15:if(!f){e.next=17;break}return e.abrupt("return");case 17:return _=(l.a.options||l.a).layout,e.next=20,this.loadLayout("function"==typeof _?_.call(l.a,w.context):_);case 20:return S=e.sent,e.next=23,x.call(this,v,w.context,S);case 23:if(!f){e.next=25;break}return e.abrupt("return");case 25:return w.context.error({statusCode:404,message:"This page could not be found"}),e.abrupt("return",o());case 27:return v.forEach((function(e){e._Ctor&&e._Ctor.options&&(e.options.asyncData=e._Ctor.options.asyncData,e.options.fetch=e._Ctor.options.fetch)})),this.setTransitions(T(v,t,r)),e.prev=29,e.next=32,x.call(this,v,w.context);case 32:if(!f){e.next=34;break}return e.abrupt("return");case 34:if(!w.context._errored){e.next=36;break}return e.abrupt("return",o());case 36:return"function"==typeof(C=v[0].options.layout)&&(C=C(w.context)),e.next=40,this.loadLayout(C);case 40:return C=e.sent,e.next=43,x.call(this,v,w.context,C);case 43:if(!f){e.next=45;break}return e.abrupt("return");case 45:if(!w.context._errored){e.next=47;break}return e.abrupt("return",o());case 47:A=!0,e.prev=48,k=m(v),e.prev=50,k.s();case 52:if((I=k.n()).done){e.next=63;break}if("function"==typeof(M=I.value).options.validate){e.next=56;break}return e.abrupt("continue",61);case 56:return e.next=58,M.options.validate(w.context);case 58:if(A=e.sent){e.next=61;break}return e.abrupt("break",63);case 61:e.next=52;break;case 63:e.next=68;break;case 65:e.prev=65,e.t0=e.catch(50),k.e(e.t0);case 68:return e.prev=68,k.f(),e.finish(68);case 71:e.next=77;break;case 73:return e.prev=73,e.t1=e.catch(48),this.error({statusCode:e.t1.statusCode||"500",message:e.t1.message}),e.abrupt("return",o());case 77:if(A){e.next=80;break}return this.error({statusCode:404,message:"This page could not be found"}),e.abrupt("return",o());case 80:return e.next=82,Promise.all(v.map(function(){var e=Object(n.a)(regeneratorRuntime.mark((function e(n,i){var o,c,f,l,d,m,v,_,p;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n._path=Object(h.c)(t.matched[y[i]].path)(t.params),n._dataRefresh=!1,o=n._path!==E[i],O._routeChanged&&o?n._dataRefresh=!0:O._paramChanged&&o?(c=n.options.watchParam,n._dataRefresh=!1!==c):O._queryChanged&&(!0===(f=n.options.watchQuery)?n._dataRefresh=!0:Array.isArray(f)?n._dataRefresh=f.some((function(e){return O._diffQuery[e]})):"function"==typeof f&&(R||(R=Object(h.h)(t)),n._dataRefresh=f.apply(R[i],[t.query,r.query]))),O._hadError||!O._isMounted||n._dataRefresh){e.next=6;break}return e.abrupt("return");case 6:return l=[],d=n.options.asyncData&&"function"==typeof n.options.asyncData,m=Boolean(n.options.fetch)&&n.options.fetch.length,v=d&&m?30:45,d&&((_=Object(h.q)(n.options.asyncData,w.context)).then((function(e){Object(h.b)(n,e),O.$loading.increase&&O.$loading.increase(v)})),l.push(_)),O.$loading.manual=!1===n.options.loading,m&&((p=n.options.fetch(w.context))&&(p instanceof Promise||"function"==typeof p.then)||(p=Promise.resolve(p)),p.then((function(e){O.$loading.increase&&O.$loading.increase(v)})),l.push(p)),e.abrupt("return",Promise.all(l));case 14:case"end":return e.stop()}}),e)})));return function(t,r){return e.apply(this,arguments)}}()));case 82:f||(this.$loading.finish&&!this.$loading.manual&&this.$loading.finish(),o()),e.next=99;break;case 85:if(e.prev=85,e.t2=e.catch(29),"ERR_REDIRECT"!==(B=e.t2||{}).message){e.next=90;break}return e.abrupt("return",this.$nuxt.$emit("routeChanged",t,r,B));case 90:return E=[],Object(h.k)(B),"function"==typeof(N=(l.a.options||l.a).layout)&&(N=N(w.context)),e.next=96,this.loadLayout(N);case 96:this.error(B),this.$nuxt.$emit("routeChanged",t,r,B),o();case 99:case"end":return e.stop()}}),e,this,[[29,85],[48,73],[50,65,68,71]])}))),N.apply(this,arguments)}function O(e,r){Object(h.d)(e,(function(e,r,n,c){return"object"!==Object(t.a)(e)||e.options||((e=o.a.extend(e))._Ctor=e,n.components[c]=e),e}))}function L(e){var t=Boolean(this.$options.nuxt.err);this._hadError&&this._dateLastError===this.$options.nuxt.dateErr&&(t=!1);var r=t?(l.a.options||l.a).layout:e.matched[0].components.default.options.layout;"function"==typeof r&&(r=r(w.context)),this.setLayout(r)}function P(e){e._hadError&&e._dateLastError===e.$options.nuxt.dateErr&&e.error()}function D(e,t){var r=this;if(!1!==this._routeChanged||!1!==this._paramChanged||!1!==this._queryChanged){var n=Object(h.h)(e),c=Object(h.g)(e),f=!1;
2o.a.nextTick((function(){n.forEach((function(e,i){if(e&&!e._isDestroyed&&e.constructor._dataRefresh&&c[i]===e.constructor&&!0!==e.$vnode.data.keepAlive&&"function"==typeof e.constructor.options.data){var t=e.constructor.options.data.call(e);for(var r in t)o.a.set(e.$data,r,t[r]);f=!0}})),f&&window.$nuxt.$nextTick((function(){window.$nuxt.$emit("triggerScroll")})),P(r)}))}}function j(e){window.onNuxtReadyCbs.forEach((function(t){"function"==typeof t&&t(e)})),"function"==typeof window._onNuxtLoaded&&window._onNuxtLoaded(e),_.afterEach((function(t,r){o.a.nextTick((function(){return e.$nuxt.$emit("routeChanged",t,r)}))}))}function U(){return(U=Object(n.a)(regeneratorRuntime.mark((function e(t){var r,n,c,f;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return w=t.app,_=t.router,t.store,r=new o.a(w),n=function(){r.$mount("#__nuxt"),_.afterEach(O),_.afterEach(L.bind(r)),_.afterEach(D.bind(r)),o.a.nextTick((function(){j(r)}))},e.next=7,Promise.all(R(w.context.route));case 7:if(c=e.sent,r.setTransitions=r.$options.nuxt.setTransitions.bind(r),c.length&&(r.setTransitions(T(c,_.currentRoute)),E=_.currentRoute.matched.map((function(e){return Object(h.c)(e.path)(_.currentRoute.params)}))),r.$loading={},S.error&&r.error(S.error),_.beforeEach(k.bind(r)),_.beforeEach(B.bind(r)),!S.serverRendered||!Object(h.n)(S.routePath,r.context.route.path)){e.next=16;break}return e.abrupt("return",n());case 16:return f=function(){O(_.currentRoute,_.currentRoute),L.call(r,_.currentRoute),P(r),n()},e.next=19,new Promise((function(e){return setTimeout(e,0)}));case 19:B.call(r,_.currentRoute,_.currentRoute,(function(path){if(path){var e=_.afterEach((function(t,r){e(),f()}));_.push(path,void 0,(function(e){e&&A(e)}))}else f()}));case 20:case"end":return e.stop()}}),e)})))).apply(this,arguments)}Object(l.b)(null,S.config).then((function(e){return U.apply(this,arguments)})).catch(A)}.call(this,r(20))},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,r){"use strict";r(339)},function(e,t,r){var n=r(12)(!1);n.push([e.i,".__nuxt-error-page{padding:1rem;background:#f7f8fb;color:#47494e;text-align:center;display:flex;justify-content:center;align-items:center;flex-direction:column;font-family:sans-serif;font-weight:100!important;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;-webkit-font-smoothing:antialiased;position:absolute;top:0;left:0;right:0;bottom:0}.__nuxt-error-page .error{max-width:450px}.__nuxt-error-page .title{font-size:1.5rem;margin-top:15px;color:#47494e;margin-bottom:8px}.__nuxt-error-page .description{color:#7f828b;line-height:21px;margin-bottom:10px}.__nuxt-error-page a{color:#7f828b!important;text-decoration:none}.__nuxt-error-page .logo{position:fixed;left:12px;bottom:12px}",""]),e.exports=n},function(e,t,r){"use strict";r(340)},function(e,t,r){var n=r(12)(!1);n.push([e.i,".nuxt-progress{position:fixed;top:0;left:0;right:0;height:2px;width:0;opacity:1;transition:width .1s,opacity .4s;background-color:#000;z-index:999999}.nuxt-progress.nuxt-progress-notransition{transition:none}.nuxt-progress-failed{background-color:red}",""]),e.exports=n},function(e,t,r){var content=r(626);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[e.i,content,""]]),content.locals&&(e.exports=content.locals);(0,r(13).default)("500a3a8a",content,!0,{sourceMap:!1})},function(e,t,r){var n=r(12)(!1);n.push([e.i,"/*! destyle.css v3.0.2 | MIT License | https://github.com/nicolas-cusan/destyle.css */*,:after,:before{box-sizing:border-box;border-style:solid;border-width:0}html{line-height:1.15;-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:transparent}body{margin:0}main{display:block}address,blockquote,dl,figure,form,iframe,p,pre,table{margin:0}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit;margin:0}ol,ul{margin:0;padding:0;list-style:none}dt{font-weight:700}dd{margin-left:0}hr{box-sizing:content-box;height:0;overflow:visible;border-top-width:1px;margin:0;clear:both;color:inherit}pre{font-family:monospace,monospace;font-size:inherit}address{font-style:inherit}a{background-color:transparent;text-decoration:none;color:inherit}abbr[title]{-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:inherit}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}embed,iframe,img,object,svg{vertical-align:bottom}button,input,optgroup,select,textarea{-webkit-appearance:none;-moz-appearance:none;appearance:none;vertical-align:middle;color:inherit;font:inherit;background:transparent;padding:0;margin:0;border-radius:0;text-align:inherit;text-transform:inherit}
2[type=checkbox]{-webkit-appearance:checkbox;-moz-appearance:checkbox;appearance:checkbox}[type=radio]{-webkit-appearance:radio;-moz-appearance:radio;appearance:radio}[type=button],[type=reset],[type=submit],button{cursor:pointer}[type=button]:disabled,[type=reset]:disabled,[type=submit]:disabled,button:disabled{cursor:default}:-moz-focusring{outline:auto}select:disabled{opacity:inherit}fieldset,option{padding:0}fieldset{margin:0;min-width:0}legend{padding:0}progress{vertical-align:baseline}textarea{overflow:auto}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}label[for]{cursor:pointer}details{display:block}summary{display:list-item}[contenteditable]:focus{outline:auto}table{border-color:inherit;border-collapse:collapse}caption{text-align:left}td,th{vertical-align:top;padding:0}th{text-align:left;font-weight:700}",""]),e.exports=n},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,r){const n=r(173),{JWT:o}=r(698),c=r(848),f=r(465),{getFieldMask:h}=r(183),l=["https://www.googleapis.com/auth/spreadsheets"],d="JWT",y="API_KEY",m="RAW_ACCESS_TOKEN",v="OAUTH";e.exports=class{constructor(e){return this.spreadsheetId=e,this.authMode=null,this._rawSheets={},this._rawProperties=null,this._spreadsheetUrl=null,this.axios=c.create({baseURL:`https://sheets.googleapis.com/v4/spreadsheets/${e||""}`,paramsSerializer(e){let t="";return n.keys(e).forEach((r=>{const o="object"==typeof e[r],c=o&&e[r].length>=0;o||(t+=`${r}=${encodeURIComponent(e[r])}&`),o&&c&&n.each(e[r],(e=>{t+=`${r}=${encodeURIComponent(e)}&`}))})),t?t.slice(0,-1):t}}),this.axios.interceptors.request.use(this._setAxiosRequestAuth.bind(this)),this.axios.interceptors.response.use(this._handleAxiosResponse.bind(this),this._handleAxiosErrors.bind(this)),this}async createNewSpreadsheetDocument(e){if(this.spreadsheetId)throw new Error("Only call `createNewSpreadsheetDocument()` on a GoogleSpreadsheet object that has no spreadsheetId set");const t=await this.axios.post(this.url,{properties:e});this.spreadsheetId=t.data.spreadsheetId,this.axios.defaults.baseURL+=this.spreadsheetId,this._rawProperties=t.data.properties,n.each(t.data.sheets,(s=>this._updateOrCreateSheet(s)))}async useApiKey(e){this.authMode=y,this.apiKey=e}async useRawAccessToken(e){this.authMode=m,this.accessToken=e}async useOAuth2Client(e){this.authMode=v,this.oAuth2Client=e}async useServiceAccountAuth(e,t=null){this.jwtClient=new o({email:e.client_email,key:e.private_key,scopes:l,subject:t}),await this.renewJwtAuth()}async renewJwtAuth(){this.authMode=d,await this.jwtClient.authorize()}async _setAxiosRequestAuth(e){if(this.authMode===d){if(!this.jwtClient)throw new Error("JWT auth is not set up properly");await this.jwtClient.authorize(),e.headers.Authorization=`Bearer ${this.jwtClient.credentials.access_token}`}else if(this.authMode===m){if(!this.accessToken)throw new Error("Invalid access token");e.headers.Authorization=`Bearer ${this.accessToken}`}else if(this.authMode===y){if(!this.apiKey)throw new Error("Please set API key");e.params=e.params||{},e.params.key=this.apiKey}else{if(this.authMode!==v)throw new Error("You must initialize some kind of auth before making any requests");{const t=await this.oAuth2Client.getAccessToken();e.headers.Authorization=`Bearer ${t.token}`}}return e}async _handleAxiosResponse(e){return e}async _handleAxiosErrors(e){if(e.response&&e.response.data){if(!e.response.data.error)throw e;const{code:code,message:t}=e.response.data.error;throw e.message=`Google API error - [${code}] ${t}`,e}if(403===n.get(e,"response.status")&&this.authMode===y)throw new Error("Sheet is private. Use authentication or make public. (see https://github.com/theoephraim/node-google-spreadsheet#a-note-on-authentication for details)");throw e}async _makeSingleUpdateRequest(e,t){const r=await this.axios.post(":batchUpdate",{requests:[{[e]:t}],includeSpreadsheetInResponse:!0});return this._updateRawProperties(r.data.updatedSpreadsheet.properties),n.each(r.data.updatedSpreadsheet.sheets,(s=>this._updateOrCreateSheet(s))),r.data.replies[0][e]}async _makeBatchUpdateRequest(e,t){const r=await this.axios.post(":batchUpdate",{requests:e,includeSpreadsheetInResponse:!0,...t&&{responseIncludeGridData:!0,..."*"!==t&&{responseRanges:t}}});this._updateRawProperties(r.data.updatedSpreadsheet.properties),n.each(r.data.updatedSpreadsheet.sheets,(s=>this._updateOrCreateSheet(s)))}_ensureInfoLoaded(){if(!this._rawProperties)throw new Error("You must call `doc.loadInfo()` before accessing this property")}_updateRawProperties(e){this._rawProperties=e}_updateOrCreateSheet({properties:e,data:data}){const{sheetId:t}=e;this._rawSheets[t]?(this._rawSheets[t]._rawProperties=e,this._rawSheets[t]._fillCellData(data)):this._rawSheets[t]=new f(this,{properties:e,data:data})}_getProp(param){return this._ensureInfoLoaded(),this._rawProperties[param]}_setProp(param,e){throw new Error("Do not update directly - use `updateProperties()`")}get title(){return this._getProp("title")}get locale(){return this._getProp("locale")}get timeZone(){return this._getProp("timeZone")}get autoRecalc(){return this._getProp("autoRecalc")}get defaultFormat(){return this._getProp("defaultFormat")}get spreadsheetTheme(){return this._getProp("spreadsheetTheme")}get iterativeCalculationSettings(){return this._getProp("iterativeCalculationSettings")}set title(e){this._setProp("title",e)}set locale(e){this._setProp("locale",e)}set timeZone(e){this._setProp("timeZone",e)}set autoRecalc(e){this._setProp("autoRecalc",e)}set defaultFormat(e){this._setProp("defaultFormat",e)}set spreadsheetTheme(e){this._setProp("spreadsheetTheme",e)}set iterativeCalculationSettings(e){this._setProp("iterativeCalculationSettings",e)}async updateProperties(e){await this._makeSingleUpdateRequest("updateSpreadsheetProperties",{properties:e,fields:h(e)})}async loadInfo(e){const t=await this.axios.get("/",{params:{...e&&{includeGridData:!0}}});this._spreadsheetUrl=t.data.spreadsheetUrl,this._rawProperties=t.data.properties,n.each(t.data.sheets,(s=>this._updateOrCreateSheet(s)))}async getInfo(){return this.loadInfo()}resetLocalCache(){this._rawProperties=null,this._rawSheets={}}get sheetCount(){return this._ensureInfoLoaded(),n.values(this._rawSheets).length}get sheetsById(){return this._ensureInfoLoaded(),this._rawSheets}get sheetsByIndex(){return this._ensureInfoLoaded(),n.sortBy(this._rawSheets,"index")}get sheetsByTitle(){return this._ensureInfoLoaded(),n.keyBy(this._rawSheets,"title")}async addSheet(e={}){const t=(await this._makeSingleUpdateRequest("addSheet",{properties:n.omit(e,"headers","headerValues","headerRowIndex")})).properties.sheetId,r=this.sheetsById[t],o=e.headerValues||e.headers;return o&&await r.setHeaderRow(o,e.headerRowIndex),r}async addWorksheet(e){return this.addSheet(e)}async deleteSheet(e){await this._makeSingleUpdateRequest("deleteSheet",{sheetId:e}),delete this._rawSheets[e]}async addNamedRange(e,t,r){return this._makeSingleUpdateRequest("addNamedRange",{name:e,range:t,namedRangeId:r})}async deleteNamedRange(e){return this._makeSingleUpdateRequest("deleteNamedRange",{namedRangeId:e})}async loadCells(e){const t=this.authMode===y,r=n.isArray(e)?e:[e],o=n.map(r,(filter=>{if(n.isString(filter))return t?filter:{a1Range:filter};if(n.isObject(filter)){if(t)throw new Error("Only A1 ranges are supported when fetching cells with read-only access (using only an API key)");return{gridRange:filter}}
2throw new Error("Each filter must be an A1 range string or a gridrange object")}));let c;c=this.authMode===y?await this.axios.get("/",{params:{includeGridData:!0,ranges:o}}):await this.axios.post(":getByDataFilter",{includeGridData:!0,dataFilters:o});const{sheets:f}=c.data;n.each(f,(e=>{this._updateOrCreateSheet(e)}))}async _downloadAs(e,t,r){if(["html","xlsx","ods"].includes(e)){if(t)throw new Error(`Cannot specify worksheetId when exporting as ${e}`)}else{if(!["csv","tsv","pdf"].includes(e))throw new Error(`unsupported export fileType - ${e}`);if(void 0===t)throw new Error(`Must specify worksheetId when exporting as ${e}`)}"html"===e&&(e="zip");const n=this._spreadsheetUrl.replace("/edit","/export");return(await this.axios.get(n,{baseUrl:"",params:{id:this.spreadsheetId,format:e,...t&&{gid:t}},responseType:r?"stream":"arraybuffer"})).data}async downloadAsHTML(e=!1){return this._downloadAs("html",null,e)}async downloadAsXLSX(e=!1){return this._downloadAs("xlsx",null,e)}async downloadAsODS(e=!1){return this._downloadAs("ods",null,e)}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GoogleAuth=t.auth=void 0;const n=r(699);Object.defineProperty(t,"GoogleAuth",{enumerable:!0,get:function(){return n.GoogleAuth}});var o=r(432);Object.defineProperty(t,"Compute",{enumerable:!0,get:function(){return o.Compute}});var c=r(436);Object.defineProperty(t,"GCPEnv",{enumerable:!0,get:function(){return c.GCPEnv}});var f=r(847);Object.defineProperty(t,"IAMAuth",{enumerable:!0,get:function(){return f.IAMAuth}});var h=r(435);Object.defineProperty(t,"IdTokenClient",{enumerable:!0,get:function(){return h.IdTokenClient}});var l=r(455);Object.defineProperty(t,"JWTAccess",{enumerable:!0,get:function(){return l.JWTAccess}});var d=r(437);Object.defineProperty(t,"JWT",{enumerable:!0,get:function(){return d.JWT}});var y=r(143);Object.defineProperty(t,"CodeChallengeMethod",{enumerable:!0,get:function(){return y.CodeChallengeMethod}}),Object.defineProperty(t,"OAuth2Client",{enumerable:!0,get:function(){return y.OAuth2Client}});var m=r(434);Object.defineProperty(t,"LoginTicket",{enumerable:!0,get:function(){return m.LoginTicket}});var v=r(456);Object.defineProperty(t,"UserRefreshClient",{enumerable:!0,get:function(){return v.UserRefreshClient}});var w=r(261);Object.defineProperty(t,"DefaultTransporter",{enumerable:!0,get:function(){return w.DefaultTransporter}});const _=new n.GoogleAuth;t.auth=_},function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.GoogleAuth=t.CLOUD_SDK_CLIENT_ID=void 0;const n=r(108),o=r(108),c=r(237),f=r(734),path=r(382),h=r(383),l=r(261),d=r(432),y=r(435),m=r(436),v=r(437),w=r(456);t.CLOUD_SDK_CLIENT_ID="764086051850-6qr4p6gpi6hn506pt8ejuq83di341hur.apps.googleusercontent.com";class _{constructor(e){this.checkIsGCE=void 0,this.jsonContent=null,this.cachedCredential=null,e=e||{},this._cachedProjectId=e.projectId||null,this.keyFilename=e.keyFilename||e.keyFile,this.scopes=e.scopes,this.jsonContent=e.credentials||null,this.clientOptions=e.clientOptions}get isGCE(){return this.checkIsGCE}getProjectId(e){if(!e)return this.getProjectIdAsync();this.getProjectIdAsync().then((t=>e(null,t)),e)}getProjectIdAsync(){return this._cachedProjectId?Promise.resolve(this._cachedProjectId):(this._getDefaultProjectIdPromise||(this._getDefaultProjectIdPromise=new Promise((async(e,t)=>{try{const t=this.getProductionProjectId()||await this.getFileProjectId()||await this.getDefaultServiceProjectId()||await this.getGCEProjectId();if(this._cachedProjectId=t,!t)throw new Error("Unable to detect a Project Id in the current environment. \nTo learn more about authentication and Google APIs, visit: \nhttps://cloud.google.com/docs/authentication/getting-started");e(t)}catch(e){t(e)}}))),this._getDefaultProjectIdPromise)}getApplicationDefault(e={},t){let r;if("function"==typeof e?t=e:r=e,!t)return this.getApplicationDefaultAsync(r);this.getApplicationDefaultAsync(r).then((e=>t(null,e.credential,e.projectId)),t)}async getApplicationDefaultAsync(e={}){if(this.cachedCredential)return{credential:this.cachedCredential,projectId:await this.getProjectIdAsync()};let t,r,n;if(t=await this._tryGetApplicationCredentialsFromEnvironmentVariable(e),t)return t instanceof v.JWT&&(t.defaultScopes=this.defaultScopes,t.scopes=this.scopes),this.cachedCredential=t,r=await this.getProjectId(),{credential:t,projectId:r};if(t=await this._tryGetApplicationCredentialsFromWellKnownFile(e),t)return t instanceof v.JWT&&(t.defaultScopes=this.defaultScopes,t.scopes=this.scopes),this.cachedCredential=t,r=await this.getProjectId(),{credential:t,projectId:r};try{n=await this._checkIsGCE()}catch(e){throw e.message=`Unexpected error determining execution environment: ${e.message}`,e}if(!n)throw new Error("Could not load the default credentials. Browse to https://cloud.google.com/docs/authentication/getting-started for more information.");return e.scopes=this.scopes||this.defaultScopes,this.cachedCredential=new d.Compute(e),r=await this.getProjectId(),{projectId:r,credential:this.cachedCredential}}async _checkIsGCE(){return void 0===this.checkIsGCE&&(this.checkIsGCE=await c.isAvailable()),this.checkIsGCE}async _tryGetApplicationCredentialsFromEnvironmentVariable(t){const r=e.env.GOOGLE_APPLICATION_CREDENTIALS||e.env.google_application_credentials;if(!r||0===r.length)return null;try{return this._getApplicationCredentialsFromFilePath(r,t)}catch(e){throw e.message=`Unable to read the credential file specified by the GOOG
2LE_APPLICATION_CREDENTIALS environment variable: ${e.message}`,e}}async _tryGetApplicationCredentialsFromWellKnownFile(t){let r=null;if(this._isWindows())r=e.env.APPDATA;else{const t=e.env.HOME;t&&(r=path.join(t,".config"))}if(r&&(r=path.join(r,"gcloud","application_default_credentials.json"),o.existsSync(r)||(r=null)),!r)return null;return await this._getApplicationCredentialsFromFilePath(r,t)}async _getApplicationCredentialsFromFilePath(e,t={}){if(!e||0===e.length)throw new Error("The file path is invalid.");try{if(e=o.realpathSync(e),!o.lstatSync(e).isFile())throw new Error}catch(t){throw t.message=`The file at ${e} does not exist, or it is not a file. ${t.message}`,t}const r=o.createReadStream(e);return this.fromStream(r,t)}fromJSON(e,t){let r;if(!e)throw new Error("Must pass in a JSON object containing the Google auth settings.");return t=t||{},"authorized_user"===e.type?r=new w.UserRefreshClient(t):(t.scopes=this.scopes,r=new v.JWT(t),r.defaultScopes=this.defaultScopes),r.fromJSON(e),r}_cacheClientFromJSON(e,t){let r;return t=t||{},"authorized_user"===e.type?r=new w.UserRefreshClient(t):(t.scopes=this.scopes,r=new v.JWT(t),r.defaultScopes=this.defaultScopes),r.fromJSON(e),this.jsonContent=e,this.cachedCredential=r,this.cachedCredential}fromStream(e,t={},r){let n={};if("function"==typeof t?r=t:n=t,!r)return this.fromStreamAsync(e,n);this.fromStreamAsync(e,n).then((e=>r(null,e)),r)}fromStreamAsync(e,t){return new Promise(((r,n)=>
2{if(!e)throw new Error("Must pass in a stream containing the Google auth settings.");let s="";e.setEncoding("utf8").on("error",n).on("data",(e=>s+=e)).on("end",(()=>{try{try{const data=JSON.parse(s),e=this._cacheClientFromJSON(data,t);return r(e)}catch(e){if(!this.keyFilename)throw e;const t=new v.JWT({...this.clientOptions,keyFile:this.keyFilename});return this.cachedCredential=t,r(t)}}catch(e){return n(e)}}))}))}fromAPIKey(e,t){t=t||{};const r=new v.JWT(t);return r.fromAPIKey(e),r}_isWindows(){const e=f.platform();return!!(e&&e.length>=3&&"win"===e.substring(0,3).toLowerCase())}async getDefaultServiceProjectId(){return new Promise((e=>{n.exec("gcloud config config-helper --format json",((t,r)=>{if(!t&&r)try{const t=JSON.parse(r).configuration.properties.core.project;return void e(t)}catch(e){}e(null)}))}))}getProductionProjectId(){return e.env.GCLOUD_PROJECT||e.env.GOOGLE_CLOUD_PROJECT||e.env.gcloud_project||e.env.google_cloud_project}async getFileProjectId(){if(this.cachedCredential)return this.cachedCredential.projectId;if(this.keyFilename){const e=await this.getClient();if(e&&e.projectId)return e.projectId}const e=await this._tryGetApplicationCredentialsFromEnvironmentVariable();return e?e.projectId:null}async getGCEProjectId(){try{return await c.project("project-id")}catch(e){return null}}getCredentials(e){if(!e)return this.getCredentialsAsync();this.getCredentialsAsync().then((t=>e(null,t)),e)}async getCredentialsAsync(){if(await this.getClient(),this.jsonContent){return{client_email:this.jsonContent.client_email,private_key:this.jsonContent.private_key}}if(!await this._checkIsGCE())throw new Error("Unknown error.");const data=await c.instance({property:"service-accounts/",params:{recursive:"true"}});if(!data||!data.default||!data.default.email)throw new Error("Failure from metadata server.");return{client_email:data.default.email}}async getClient(e){if(e)throw new Error("Passing options to getClient is forbidden in v5.0.0. Use new GoogleAuth(opts) instead.");if(!this.cachedCredential)if(this.jsonContent)this._cacheClientFromJSON(this.jsonContent,this.clientOptions);else if(this.keyFilename){const e=path.resolve(this.keyFilename),t=o.createReadStream(e);await this.fromStreamAsync(t,this.clientOptions)}else await this.getApplicationDefaultAsync(this.clientOptions);return this.cachedCredential}async getIdTokenClient(e){const t=await this.getClient();if(!("fetchIdToken"in t))throw new Error("Cannot fetch ID token in this environment, use GCE or set the GOOGLE_APPLICATION_CREDENTIALS environment variable to a service account credentials JSON file.");return new y.IdTokenClient({targetAudience:e,idTokenProvider:t})}async getAccessToken(){const e=await this.getClient();return(await e.getAccessToken()).token}async getRequestHeaders(e){return(await this.getClient()).getRequestHeaders(e)}async authorizeRequest(e){const t=(e=e||{}).url||e.uri,r=await this.getClient(),n=await r.getRequestHeaders(t);return e.headers=Object.assign(e.headers||{},n),e}async request(e){return(await this.getClient()).request(e)}getEnv(){return m.getEnv()}async sign(data){const e=await this.getClient(),t=h.createCrypto();if(e instanceof v.JWT&&e.key){return await t.sign(e.key,data)}if(!await this.getProjectId())throw new Error("Cannot sign data without a project ID.");const r=await this.getCredentials();if(!r.client_email)throw new Error("Cannot sign data without `client_email`.");const n=`https://iamcredentials.googleapis.com/v1/projects/-/serviceAccounts/${r.client_email}:signBlob`;return(await this.request({method:"POST",url:n,data:{payload:t.encodeBase64StringUtf8(data)}})).data.signedBlob}}t.GoogleAuth=_,_.DefaultTransporter=l.DefaultTransporter}).call(this,r(17))},function(e,t,r){"use strict";(function(e,n){var o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Gaxios=void 0;const c=o(r(702)),f=r(703),h=o(r(717)),l=o(r(242)),d=o(r(718)),y=r(175),m=r(380),v=r(719),w="undefined"!=typeof window&&window&&window.fetch?window.fetch:h.default;function _(e,header){return!!E(e,header)}function E(e,header){header=header.toLowerCase();for(const t of Object.keys((null==e?void 0:e.headers)||{}))if(header===t.toLowerCase())return e.headers[t]}let S;function C(){const e=n.env.HTTPS_PROXY||n.env.https_proxy||n.env.HTTP_PROXY||n.env.http_proxy;return e&&(S=r(720)),e}function A(e){return function(e){var t;
2const r=null!==(t=n.env.NO_PROXY)&&void 0!==t?t:n.env.no_proxy;if(!r)return!1;const o=r.split(","),c=new y.URL(e);return!!o.find((e=>e.startsWith("*.")||e.startsWith(".")?(e=e.replace(/^\*\./,"."),c.hostname.endsWith(e)):e===c.origin||e===c.hostname))}(e)?void 0:C()}C();t.Gaxios=class{constructor(e){this.agentCache=new Map,this.defaults=e||{}}async request(e={}){return e=this.validateOpts(e),this._request(e)}async _defaultAdapter(e){const t=e.fetchImplementation||w,r=await t(e.url,e),data=await this.getResponseData(e,r);return this.translateResponse(e,r,data)}async _request(e={}){try{let t;if(t=e.adapter?await e.adapter(e,this._defaultAdapter.bind(this)):await this._defaultAdapter(e),!e.validateStatus(t.status))throw new m.GaxiosError(`Request failed with status code ${t.status}`,e,t);return t}catch(t){const r=t;r.config=e;const{shouldRetry:n,config:o}=await v.getRetryConfig(t);if(n&&o)return r.config.retryConfig.currentRetryAttempt=o.retryConfig.currentRetryAttempt,this._request(r.config);throw r}}async getResponseData(e,t){switch(e.responseType){case"stream":return t.body;case"json":{let data=await t.text();try{data=JSON.parse(data)}catch(e){}return data}case"arraybuffer":return t.arrayBuffer();case"blob":return t.blob();default:return t.text()}}validateOpts(t){const r=c.default(!0,{},this.defaults,t);if(!r.url)throw new Error("URL is required.");const n=r.baseUrl||r.baseURL;if(n&&(r.url=n+r.url),r.paramsSerializer=r.paramsSerializer||this.paramsSerializer,r.params&&Object.keys(r.params).length>0){let e=r.paramsSerializer(r.params);e.startsWith("?")&&(e=e.slice(1));const t=r.url.includes("?")?"&":"?";r.url=r.url+t+e}if("number"==typeof t.maxContentLength&&(r.size=t.maxContentLength),"number"==typeof t.maxRedirects&&(r.follow=t.maxRedirects),r.headers=r.headers||{},r.data){const t="undefined"!=typeof FormData&&(null==r?void 0:r.data)instanceof FormData;d.default.readable(r.data)?r.body=r.data:void 0!==e&&e.isBuffer(r.data)?(r.body=r.data,_(r,"Content-Type")||(r.headers["Content-Type"]="application/json")):"object"==typeof r.data?t||("application/x-www-form-urlencoded"===E(r,"content-type")?r.body=r.paramsSerializer(r.data):(_(r,"Content-Type")||(r.headers["Content-Type"]="application/json"),r.body=JSON.stringify(r.data))):r.body=r.data}r.validateStatus=r.validateStatus||this.validateStatus,r.responseType=r.responseType||"json",r.headers.Accept||"json"!==r.responseType||(r.headers.Accept="application/json"),r.method=r.method||"GET";const o=A(r.url);if(o)if(this.agentCache.has(o))r.agent=this.agentCache.get(o);else{if(r.cert&&r.key){const e=new y.URL(o);r.agent=new S({port:e.port,host:e.host,protocol:e.protocol,cert:r.cert,key:r.key})}else r.agent=new S(o);this.agentCache.set(o,r.agent)}else r.cert&&r.key&&(this.agentCache.has(r.key)?r.agent=this.agentCache.get(r.key):(r.agent=new f.Agent({cert:r.cert,key:r.key}),this.agentCache.set(r.key,r.agent)));return r}validateStatus(e){return e>=200&&e<300}paramsSerializer(e){return l.default.stringify(e)}translateResponse(e,t,data){const r={};return t.headers.forEach(((e,t)=>{r[t]=e})),{config:e,data:data,headers:r,status:t.status,statusText:t.statusText,request:{responseURL:t.url}}}}}).call(this,r(15).Buffer,r(17))},function(e,t){t.read=function(e,t,r,n,o){var c,f,h=8*o-n-1,l=(1<<h)-1,d=l>>1,y=-7,i=r?o-1:0,m=r?-1:1,s=e[t+i];for(i+=m,c=s&(1<<-y)-1,s>>=-y,y+=h;y>0;c=256*c+e[t+i],i+=m,y-=8);for(f=c&(1<<-y)-1,c>>=-y,y+=n;y>0;f=256*f+e[t+i],i+=m,y-=8);if(0===c)c=1-d;else{if(c===l)return f?NaN:1/0*(s?-1:1);f+=Math.pow(2,n),c-=d}return(s?-1:1)*f*Math.pow(2,c-n)},t.write=function(e,t,r,n,o,c){var f,h,l,d=8*c-o-1,y=(1<<d)-1,m=y>>1,rt=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,i=n?0:c-1,v=n?1:-1,s=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(h=isNaN(t)?1:0,f=y):(f=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-f))<1&&(f--,l*=2),(t+=f+m>=1?rt/l:rt*Math.pow(2,1-m))*l>=2&&(f++,l/=2),f+m>=y?(h=0,f=y):f+m>=1?(h=(t*l-1)*Math.pow(2,o),f+=m):(h=t*Math.pow(2,m-1)*Math.pow(2,o),f=0));o>=8;e[r+i]=255&h,i+=v,h/=256,o-=8);for(f=f<<o|h,d+=o;d>0;e[r+i]=255&f,i+=v,f/=256,d-=8);e[r+i-v]|=128*s}},function(e,t,r){"use strict";var n=Object.prototype.hasOwnProperty,o=Object.prototype.toString,c=Object.defineProperty,f=Object.getOwnPropertyDescriptor,h=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===o.call(e)},l=function(e){if(!e||"[object Object]"!==o.call(e))return!1;var t,r=n.call(e,"constructor"),c=e.constructor&&e.constructor.prototype&&n.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!r&&!c)return!1;for(t in e);return void 0===t||n.call(e,t)},d=function(e,t){c&&"__proto__"===t.name?c(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},y=function(e,t){if("__proto__"===t){if(!n.call(e,t))return;if(f)return f(e,t).value}return e[t]};e.exports=function e(){var t,r,n,o,c,f,m=arguments[0],i=1,v=arguments.length,w=!1;for("boolean"==typeof m&&(w=m,m=arguments[1]||{},i=2),(null==m||"object"!=typeof m&&"function"!=typeof m)&&(m={});i<v;++i)if(null!=(t=arguments[i]))for(r in t)n=y(m,r),m!==(o=y(t,r))&&(w&&o&&(l(o)||(c=h(o)))?(c?(c=!1,f=n&&h(n)?n:[]):f=n&&l(n)?n:{},d(m,{name:r,newValue:e(w,f,o)})):void 0!==o&&d(m,{name:r,newValue:o}));return m}},function(e,t,r){var n=r(704),o=r(175),c=e.exports;for(var f in n)n.hasOwnProperty(f)&&(c[f]=n[f]);function h(e){if("string"==typeof e&&(e=o.parse(e)),e.protocol||(e.protocol="https:"),"https:"!==e.protocol)throw new Error('Protocol "'+e.protocol+'" not supported. Expected "https:"');return e}c.request=function(e,t){return e=h(e),n.request.call(this,e,t)},c.get=function(e,t){return e=h(e),n.get.call(this,e,t)}},function(e,t,r){(function(e){var n=r(705),o=r(375),c=r(711),f=r(712),h=r(175),l=t;l.request=function(t,r){t="string"==typeof t?h.parse(t):c(t);var o=-1===e.location.protocol.search(/^https?:$/)?"http:":"",f=t.protocol||o,l=t.hostname||t.host,d=t.port,path=t.path||"/";l&&-1!==l.indexOf(":")&&(l="["+l+"]"),t.url=(l?f+"//"+l:"")+(d?":"+d:"")+p
vendor: 8,893 bytes, line 2
2ath,t.method=(t.method||"GET").toUpperCase(),t.headers=t.headers||{};var y=new n(t);return r&&y.on("response",r),y},l.get=function(e,t){var r=l.request(e,t);return r.end(),r},l.ClientRequest=n,l.IncomingMessage=o.IncomingMessage,l.Agent=function(){},l.Agent.defaultMaxSockets=4,l.globalAgent=new l.Agent,l.STATUS_CODES=f,l.METHODS=["CHECKOUT","CONNECT","COPY","DELETE","GET","HEAD","LOCK","M-SEARCH","MERGE","MKACTIVITY","MKCOL","MOVE","NOTIFY","OPTIONS","PATCH","POST","PROPFIND","PROPPATCH","PURGE","PUT","REPORT","SEARCH","SUBSCRIBE","TRACE","UNLOCK","UNSUBSCRIBE"]}).call(this,r(20))},function(e,t,r){(function(t,n,o){var c=r(374),f=r(5),h=r(375),l=r(136),d=r(710),y=h.IncomingMessage,m=h.readyStates;var v=e.exports=function(e){var r,n=this;l.Writable.call(n),n._opts=e,n._body=[],n._headers={},e.auth&&n.setHeader("Authorization","Basic "+new t(e.auth).toString("base64")),Object.keys(e.headers).forEach((function(t){n.setHeader(t,e.headers[t])}));var o=!0;if("disable-fetch"===e.mode||"requestTimeout"in e&&!c.abortController)o=!1,r=!0;else if("prefer-streaming"===e.mode)r=!1;else if("allow-wrong-content-type"===e.mode)r=!c.overrideMimeType;else{if(e.mode&&"default"!==e.mode&&"prefer-fast"!==e.mode)throw new Error("Invalid value for opts.mode");r=!0}n._mode=function(e,t){return c.fetch&&t?"fetch":c.mozchunkedarraybuffer?"moz-chunked-arraybuffer":c.msstream?"ms-stream":c.arraybuffer&&e?"arraybuffer":c.vbArray&&e?"text:vbarray":"text"}(r,o),n._fetchTimer=null,n.on("finish",(function(){n._onFinish()}))};f(v,l.Writable),v.prototype.setHeader=function(e,t){var r=e.toLowerCase();-1===w.indexOf(r)&&(this._headers[r]={name:e,value:t})},v.prototype.getHeader=function(e){var header=this._headers[e.toLowerCase()];return header?header.value:null},v.prototype.removeHeader=function(e){delete this._headers[e.toLowerCase()]},v.prototype._onFinish=function(){var e=this;if(!e._destroyed){var r=e._opts,f=e._headers,body=null;"GET"!==r.method&&"HEAD"!==r.method&&(body=c.arraybuffer?d(t.concat(e._body)):c.blobConstructor?new n.Blob(e._body.map((function(e){return d(e)})),{type:(f["content-type"]||{}).value||""}):t.concat(e._body).toString());var h=[];if(Object.keys(f).forEach((function(e){var t=f[e].name,r=f[e].value;Array.isArray(r)?r.forEach((function(e){h.push([t,e])})):h.push([t,r])})),"fetch"===e._mode){var l=null;if(c.abortController){var y=new AbortController;l=y.signal,e._fetchAbortController=y,"requestTimeout"in r&&0!==r.requestTimeout&&(e._fetchTimer=n.setTimeout((function(){e.emit("requestTimeout"),e._fetchAbortController&&e._fetchAbortController.abort()}),r.requestTimeout))}n.fetch(e._opts.url,{method:e._opts.method,headers:h,body:body||void 0,mode:"cors",credentials:r.withCredentials?"include":"same-origin",signal:l}).then((function(t){e._fetchResponse=t,e._connect()}),(function(t){n.clearTimeout(e._fetchTimer),e._destroyed||e.emit("error",t)}))}else{var v=e._xhr=new n.XMLHttpRequest;try{v.open(e._opts.method,e._opts.url,!0)}catch(t){return void o.nextTick((function(){e.emit("error",t)}))}"responseType"in v&&(v.responseType=e._mode.split(":")[0]),"withCredentials"in v&&(v.withCredentials=!!r.withCredentials),"text"===e._mode&&"overrideMimeType"in v&&v.overrideMimeType("text/plain; charset=x-user-defined"),"requestTimeout"in r&&(v.timeout=r.requestTimeout,v.ontimeout=function(){e.emit("requestTimeout")}),h.forEach((function(header){v.setRequestHeader(header[0],header[1])})),e._response=null,v.onreadystatechange=function(){switch(v.readyState){case m.LOADING:case m.DONE:e._onXHRProgress()}},"moz-chunked-arraybuffer"===e._mode&&(v.onprogress=function(){e._onXHRProgress()}),v.onerror=function(){e._destroyed||e.emit("error",new Error("XHR error"))};try{v.send(body)}catch(t){return void o.nextTick((function(){e.emit("error",t)}))}}}},v.prototype._onXHRProgress=function(){var e=this;(function(e){try{var t=e.status;return null!==t&&0!==t}catch(e){return!1}})(e._xhr)&&!e._destroyed&&(e._response||e._connect(),e._response._onXHRProgress())},v.prototype._connect=function(){var e=this;e._destroyed||(e._response=new y(e._xhr,e._fetchResponse,e._mode,e._fetchTimer),e._response.on("error",(function(t){e.emit("error",t)})),e.emit("response",e._response))},v.prototype._write=function(e,t,r){this._body.push(e),r()},v.prototype.abort=v.prototype.destroy=function(){var e=this;e._destroyed=!0,n.clearTimeout(e._fetchTimer),e._response&&(e._response._destroyed=!0),e._xhr?e._xhr.abort():e._fetchAbortController&&e._fetchAbortController.abort()},v.prototype.end=function(data,e,t){"function"==typeof data&&(t=data,data=void 0),l.Writable.prototype.end.call(this,data,e,t)},v.prototype.flushHeaders=function(){},v.prototype.setTimeout=function(){},v.prototype.setNoDelay=function(){},v.prototype.setSocketKeepAlive=function(){};var w=["accept-charset","accept-encoding","access-control-request-headers","access-control-request-method","connection","content-length","cookie","cookie2","date","dnt","expect","host","keep-alive","origin","referer","te","trailer","transfer-encoding","upgrade","via"]}).call(this,r(15).Buffer,r(20),r(17))},,function(e,t,r){"use strict";var n=r(239).Buffer,o=r(708);e.exports=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.head=null,this.tail=null,this.length=0}return e.prototype.push=function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length},e.prototype.unshift=function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length},e.prototype.shift=function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}},e.prototype.clear=function(){this.head=this.tail=null,this.length=0},e.prototype.join=function(s){if(0===this.length)return"";for(var p=this.head,e=""+p.data;p=p.next;)e+=s+p.data;return e},e.prototype.concat=function(e){if(0===this.length)return n.alloc(0);if(1===this.length)return this.head.data;for(var t,r,o,c=n.allocUnsafe(e>>>0),p=this.head,i=0;p;)t=p.data,r=c,o=i,t.copy(r,o),i+=p.data.length,p=p.next;return c},e}(),o&&o.inspect&&o.inspect.custom&&(e.exports.prototype[o.inspect.custom]=function(){var e=o.inspect({length:this.length});return this.constructor.name+" "+e})},,function(e,t,r){"use strict";e.exports=c;var n=r(379),o=Object.create(r(137));function c(e){if(!(this instanceof c))return new c(e);n.call(this,e)}o.inherits=r(5),o.inherits(c,n),c.prototype._transform=function(e,t,r){r(null,e)}},function(e,t,r){var n=r(15).Buffer;e.exports=function(e){if(e instanceof Uint8Array){if(0===e.byteOffset&&e.byteLength===e.buffer.byteLength)return e.buffer;if("function"==typeof e.buffer.slice)return e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength)}if(n.isBuffer(e)){for(var t=new Uint8Array(e.length),r=e.length,i=0;i<r;i++)t[i]=e[i];return t.buffer}throw new Error("Argument must be a Buffer")}},function(e,t){e.exports=function(){for(var e={},i=0;i<arguments.length;i++){var source=arguments[i];for(var t in source)r.call(source,t)&&(e[t]=source[t])}return e};var r=Object.prototype.hasOwnProperty},function(e,t){e.exports={100:"Continue",101:"Switching Protocols",102:"Processing",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",207:"Multi-Status",208:"Already Reported",226:"IM Used",300:"Multiple Choices",301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",305:"Use Proxy",307:"Temporary Redirect",308:"Permanent Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Payload Too Large",414:"URI Too Long",415:"Unsupported Media Type",416:"Range Not Satisfiable",417:"Expectation Failed",418:"I'm a teapot",421:"Misdirected Request",422:"Unprocessable Entity",423:"Locked",424:"Failed Dependency",425:"Unordered Collection",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",451:"Unavailable For Legal Reasons",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",508:"Loop Detected",509:"Bandwidth Limit Exceeded",510:"Not Extended",511:"Network Authentication Required"}},function(e,t,r){(function(e,n){var o;!function(c){t&&t.nodeType,e&&e.nodeType;var f="object"==typeof n&&n;f.global!==f&&f.window!==f&&f.self;var h,l=2147483647,base=36,d=/^xn--/,y=/[^\x20-\x7E]/,m=/[\x2E\u3002\uFF0E\uFF61]/g,v={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >
2= 0x80 (not a basic code point)","invalid-input":"Invalid input"},w=Math.floor,_=String.fromCharCode;function E(e){throw new RangeError(v[e])}function map(e,t){for(var r=e.length,n=[];r--;)n[r]=t(e[r]);return n}function S(e,t){var r=e.split("@"),n="";return r.length>1&&(n=r[0]+"@",e=r[1]),n+map((e=e.replace(m,".")).split("."),t).join(".")}function C(e){for(var t,r,output=[],n=0,o=e.length;n<o;)(t=e.charCodeAt(n++))>=55296&&t<=56319&&n<o?56320==(64512&(r=e.charCodeAt(n++)))?output.push(((1023&t)<<10)+(1023&r)+65536):(output.push(t),n--):output.push(t);return output}function A(e){return map(e,(function(e){var output="";return e>65535&&(output+=_((e-=65536)>>>10&1023|55296),e=56320|1023&e),output+=_(e)})).join("")}function T(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function k(e,t,r){var n=0;for(e=r?w(e/700):e>>1,e+=w(e/t);e>455;n+=base)e=w(e/35);return w(n+36*e/(e+38))}function I(input){var e,t,r,n,o,c,f,h,d,y,m,output=[],v=input.length,i=0,_=128,S=72;for((t=input.lastIndexOf("-"))<0&&(t=0),r=0;r<t;++r)input.charCodeAt(r)>=128&&E("not-basic"),output.push(input.charCodeAt(r));for(n=t>0?t+1:0;n<v;){for(o=i,c=1,f=base;n>=v&&E("invalid-input"),((h=(m=input.charCodeAt(n++))-48<10?m-22:m-65<26?m-65:m-97<26?m-97:base)>=base||h>w((l-i)/c))&&E("overflow"),i+=h*c,!(h<(d=f<=S?1:f>=S+26?26:f-S));f+=base)c>w(l/(y=base-d))&&E("overflow"),c*=y;S=k(i-o,e=output.length+1,0==o),w(i/e)>l-_&&E("overflow"),_+=w(i/e),i%=e,output.splice(i++,0,_)}return A(output)}function M(input){var e,t,r,n,o,c,f,q,h,d,y,m,v,S,A,output=[];for(m=(input=C(input)).length,e=128,t=0,o=72,c=0;c<m;++c)(y=input[c])<128&&output.push(_(y));for(r=n=output.length,n&&output.push("-");r<m;){for(f=l,c=0;c<m;++c)(y=input[c])>=e&&y<f&&(f=y);for(f-e>w((l-t)/(v=r+1))&&E("overflow"),t+=(f-e)*v,e=f,c=0;c<m;++c)if((y=input[c])<e&&++t>l&&E("overflow"),y==e){for(q=t,h=base;!(q<(d=h<=o?1:h>=o+26?26:h-o));h+=base)A=q-d,S=base-d,output.push(_(T(d+A%S,0))),q=w(A/S);output.push(_(T(q,0))),o=k(t,v,r==n),t=0,++r}++t,++e}return output.join("")}h={version:"1.4.1",ucs2:{decode:C,encode:A},decode:I,encode:M,toASCII:function(input){return S(input,(function(e){return y.test(e)?"xn--"+M(e):e}))},toUnicode:function(input){return S(input,(function(e){return d.test(e)?I(e.slice(4).toLowerCase()):e}))}},void 0===(o=function(){return h}.call(t,r,t,e))||(e.exports=o)}()}).call(this,r(135)(e),r(20))},function(e,t,r){"use strict";e.exports={isString:function(e){return"string"==typeof e},isObject:function(e){return"object"==typeof e&&null!==e},isNull:function(e){return null===e},isNullOrUndefined:function(e){return null==e}}},function(e,t,r){"use strict";function n(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.exports=function(e,t,r,c){t=t||"&",r=r||"=";var f={};if("string"!=typeof e||0===e.length)return f;var h=/\+/g;e=e.split(t);var l=1e3;c&&"number"==typeof c.maxKeys&&(l=c.maxKeys);var d=e.length;l>0&&d>l&&(d=l);for(var i=0;i<d;++i){var y,m,v,w,_=e[i].replace(h,"%20"),E=_.indexOf(r);E>=0?(y=_.substr(0,E),m=_.substr(E+1)):(y=_,m=""),v=decodeURIComponent(y),w=decodeURIComponent(m),n(f,v)?o(f[v])?f[v].push(w):f[v]=[f[v],w]:f[v]=w}return f};var o=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},function(e,t,r){"use strict";var n=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,t,r,f){return t=t||"&",r=r||"=",null===e&&(e=void 0),"object"==typeof e?map(c(e),(function(c){var f=encodeURIComponent(n(c))+r;return o(e[c])?map(e[c],(function(e){return f+encodeURIComponent(n(e))})).join(t):f+encodeURIComponent(n(e[c]))})).join(t):f?encodeURIComponent(n(f))+r+encodeURIComponent(n(e)):""};var o=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};function map(e,t){if(e.map)return e.map(t);for(var r=[],i=0;i<e.length;i++)r.push(t(e[i],i));return r}var c=Object.keys||function(e){var t=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.push(r);return t}},function(e,t,r){"use strict";var n=function(){if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if(void 0!==n)return n;throw new Error("unable to locate global object")}();e.exports=t=n.fetch,n.fetch&&(t.default=n.fetch.bind(n)),t.Headers=n.Headers,t.Request=n.Request,t.Response=n.Response},function(e,t,r){"use strict";const n=e=>null!==e&&"object"==typeof e&&"function"==typeof e.pipe;n.writable=e=>n(e)&&!1!==e.writable&&"function"==typeof e._write&&"object"==typeof e._writableState,n.readable=e=>n(e)&&!1!==e.readable&&"function"==typeof e._read&&"object"==typeof e._readableState,n.duplex=e=>n.writable(e)&&n.readable(e),n.transform=e=>n.duplex(e)&&"function"==typeof e._transform,e.exports=n},function(e,t,r){"use strict";function n(e){const t=o(e);if("AbortError"===e.name)return!1;if(!t||0===t.retry)return!1;if(!e.response&&(t.currentRetryAttempt||0)>=t.noResponseRetries)return!1;if(!e.config.method||t.httpMethodsToRetry.indexOf(e.config.method.toUpperCase())<0)return!1;if(e.response&&e.response.status){let r=!1;for(const[n,o]of t.statusCodesToRetry){const t=e.response.status;if(t>=n&&t<=o){r=!0;break}}if(!r)return!1}return t.currentRetryAttempt=t.currentRetryAttempt||0,!(t.currentRetryAttempt>=t.retry)}function o(e){if(e&&e.config&&e.config.retryConfig)return e.config.retryConfig}
2Object.defineProperty(t,"__esModule",{value:!0}),t.getRetryConfig=void 0,t.getRetryConfig=async function(e){var t;let r=o(e);if(!e||!e.config||!r&&!e.config.retry)return{shouldRetry:!1};r=r||{},r.currentRetryAttempt=r.currentRetryAttempt||0,r.retry=void 0===r.retry||null===r.retry?3:r.retry,r.httpMethodsToRetry=r.httpMethodsToRetry||["GET","HEAD","PUT","OPTIONS","DELETE"],r.noResponseRetries=void 0===r.noResponseRetries||null===r.noResponseRetries?2:r.noResponseRetries,r.statusCodesToRetry=r.statusCodesToRetry||[[100,199],[429,429],[500,599]],e.config.retryConfig=r;const c=r.shouldRetry||n;if(!await c(e))return{shouldRetry:!1,config:e.config};const f=(r.currentRetryAttempt?0:null!==(t=r.retryDelay)&&void 0!==t?t:100)+(Math.pow(2,r.currentRetryAttempt)-1)/2*1e3;e.config.retryConfig.currentRetryAttempt+=1;const h=new Promise((e=>{setTimeout(e,f)}));return r.onRetryAttempt&&r.onRetryAttempt(e),await h,{shouldRetry:!0,config:e.config}}},function(e,t,r){"use strict";const n=(this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}})(r(721));function o(e){return new n.default(e)}!function(e){e.HttpsProxyAgent=n.default,e.prototype=n.default.prototype}(o||(o={})),e.exports=o},function(e,t,r){"use strict";(function(e){var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,c){function f(e){try{l(n.next(e))}catch(e){c(e)}}function h(e){try{l(n.throw(e))}catch(e){c(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(f,h)}l((n=n.apply(e,t||[])).next())}))},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const c=o(r(108)),f=o(r(108)),h=o(r(175)),l=o(r(722)),d=o(r(243)),y=r(728),m=o(r(730)),v=d.default("https-proxy-agent:agent");class w extends y.Agent{constructor(e){let t;if(t="string"==typeof e?h.default.parse(e):e,!t)throw new Error("an HTTP(S) proxy server `host` and `port` must be specified!");v("creating new HttpsProxyAgent instance: %o",t),super(t);const r=Object.assign({},t);var n;this.secureProxy=t.secureProxy||"string"==typeof(n=r.protocol)&&/^https:?$/i.test(n),r.host=r.hostname||r.host,"string"==typeof r.port&&(r.port=parseInt(r.port,10)),!r.port&&r.host&&(r.port=this.secureProxy?443:80),this.secureProxy&&!("ALPNProtocols"in r)&&(r.ALPNProtocols=["http 1.1"]),r.host&&r.path&&(delete r.path,delete r.pathname),this.proxy=r}callback(t,r){return n(this,void 0,void 0,(function*(){const{proxy:n,secureProxy:o}=this;let h;o?(v("Creating `tls.Socket`: %o",n),h=f.default.connect(n)):(v("Creating `net.Socket`: %o",n),h=c.default.connect(n));const d=Object.assign({},n.headers);let y=`CONNECT ${`${r.host}:${r.port}`} HTTP/1.1\r\n`;n.auth&&(d["Proxy-Authorization"]=`Basic ${e.from(n.auth).toString("base64")}`);let{host:w,port:E,secureEndpoint:S}=r;(function(e,t){return Boolean(!t&&80===e||t&&443===e)})(E,S)||(w+=`:${E}`),d.Host=w,d.Connection="close";for(const e of Object.keys(d))y+=`${e}: ${d[e]}\r\n`;const C=m.default(h);h.write(`${y}\r\n`);const{statusCode:A,buffered:T}=yield C;if(200===A){if(t.once("socket",_),r.secureEndpoint){v("Upgrading socket connection to TLS");const e=r.servername||r.host;return f.default.connect(Object.assign(Object.assign({},function(e,...t){const r={};let n;for(n in e)t.includes(n)||(r[n]=e[n]);return r}(r,"host","hostname","path","port")),{socket:h,servername:e}))}return h}h.destroy();const k=new c.default.Socket({writable:!1});return k.readable=!0,t.once("socket",(s=>{v("replaying proxy buffer for failed request"),l.default(s.listenerCount("data")>0),s.push(T),s.push(null)})),k}))}}function _(e){e.resume()}t.default=w}).call(this,r(15).Buffer)},function(e,t,r){"use strict";(function(t){var n=r(723);function o(a,b){if(a===b)return 0;for(var e=a.length,t=b.length,i=0,r=Math.min(e,t);i<r;++i)if(a[i]!==b[i]){e=a[i],t=b[i];break}return e<t?-1:t<e?1:0}function c(b){return t.Buffer&&"function"==typeof t.Buffer.isBuffer?t.Buffer.isBuffer(b):!(null==b||!b._isBuffer)}var f=r(90),h=Object.prototype.hasOwnProperty,l=Array.prototype.slice,d="foo"===function(){}.name;function y(e){return Object.prototype.toString.call(e)}function m(e){return!c(e)&&("function"==typeof t.ArrayBuffer&&("function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(e):!!e&&(e instanceof DataView||!!(e.buffer&&e.buffer instanceof ArrayBuffer))))}
vendor: 3,892 bytes, line 2
2var v=e.exports=A,w=/\s*function\s+([^\(\s]*)\s*/;function _(e){if(f.isFunction(e)){if(d)return e.name;var t=e.toString().match(w);return t&&t[1]}}function E(s,e){return"string"==typeof s?s.length<e?s:s.slice(0,e):s}function S(e){if(d||!f.isFunction(e))return f.inspect(e);var t=_(e);return"[Function"+(t?": "+t:"")+"]"}function C(e,t,r,n,o){throw new v.AssertionError({message:r,actual:e,expected:t,operator:n,stackStartFunction:o})}function A(e,t){e||C(e,!0,t,"==",v.ok)}function T(e,t,r,n){if(e===t)return!0;if(c(e)&&c(t))return 0===o(e,t);if(f.isDate(e)&&f.isDate(t))return e.getTime()===t.getTime();if(f.isRegExp(e)&&f.isRegExp(t))return e.source===t.source&&e.global===t.global&&e.multiline===t.multiline&&e.lastIndex===t.lastIndex&&e.ignoreCase===t.ignoreCase;if(null!==e&&"object"==typeof e||null!==t&&"object"==typeof t){if(m(e)&&m(t)&&y(e)===y(t)&&!(e instanceof Float32Array||e instanceof Float64Array))return 0===o(new Uint8Array(e.buffer),new Uint8Array(t.buffer));if(c(e)!==c(t))return!1;var h=(n=n||{actual:[],expected:[]}).actual.indexOf(e);return-1!==h&&h===n.expected.indexOf(t)||(n.actual.push(e),n.expected.push(t),function(a,b,e,t){if(null==a||null==b)return!1;if(f.isPrimitive(a)||f.isPrimitive(b))return a===b;if(e&&Object.getPrototypeOf(a)!==Object.getPrototypeOf(b))return!1;var r=k(a),n=k(b);if(r&&!n||!r&&n)return!1;if(r)return T(a=l.call(a),b=l.call(b),e);var o,i,c=R(a),h=R(b);if(c.length!==h.length)return!1;for(c.sort(),h.sort(),i=c.length-1;i>=0;i--)if(c[i]!==h[i])return!1;for(i=c.length-1;i>=0;i--)if(!T(a[o=c[i]],b[o],e,t))return!1;return!0}(e,t,r,n))}return r?e===t:e==t}function k(object){return"[object Arguments]"==Object.prototype.toString.call(object)}function I(e,t){if(!e||!t)return!1;if("[object RegExp]"==Object.prototype.toString.call(t))return t.test(e);try{if(e instanceof t)return!0}catch(e){}return!Error.isPrototypeOf(t)&&!0===t.call({},e)}function M(e,t,r,n){var o;if("function"!=typeof t)throw new TypeError('"block" argument must be a function');"string"==typeof r&&(n=r,r=null),o=function(e){var t;try{e()}catch(e){t=e}return t}(t),n=(r&&r.name?" ("+r.name+").":".")+(n?" "+n:"."),e&&!o&&C(o,r,"Missing expected exception"+n);var c="string"==typeof n,h=!e&&o&&!r;if((!e&&f.isError(o)&&c&&I(o,r)||h)&&C(o,r,"Got unwanted exception"+n),e&&o&&r&&!I(o,r)||!e&&o)throw o}v.AssertionError=function(e){this.name="AssertionError",this.actual=e.actual,this.expected=e.expected,this.operator=e.operator,e.message?(this.message=e.message,this.generatedMessage=!1):(this.message=function(e){return E(S(e.actual),128)+" "+e.operator+" "+E(S(e.expected),128)}(this),this.generatedMessage=!0);var t=e.stackStartFunction||C;if(Error.captureStackTrace)Error.captureStackTrace(this,t);else{var r=new Error;if(r.stack){var n=r.stack,o=_(t),c=n.indexOf("\n"+o);if(c>=0){var f=n.indexOf("\n",c+1);n=n.substring(f+1)}this.stack=n}}},f.inherits(v.AssertionError,Error),v.fail=C,v.ok=A,v.equal=function(e,t,r){e!=t&&C(e,t,r,"==",v.equal)},v.notEqual=function(e,t,r){e==t&&C(e,t,r,"!=",v.notEqual)},v.deepEqual=function(e,t,r){T(e,t,!1)||C(e,t,r,"deepEqual",v.deepEqual)},v.deepStrictEqual=function(e,t,r){T(e,t,!0)||C(e,t,r,"deepStrictEqual",v.deepStrictEqual)},v.notDeepEqual=function(e,t,r){T(e,t,!1)&&C(e,t,r,"notDeepEqual",v.notDeepEqual)},v.notDeepStrictEqual=function e(t,r,n){T(t,r,!0)&&C(t,r,n,"notDeepStrictEqual",e)},v.strictEqual=function(e,t,r){e!==t&&C(e,t,r,"===",v.strictEqual)},v.notStrictEqual=function(e,t,r){e===t&&C(e,t,r,"!==",v.notStrictEqual)},v.throws=function(e,t,r){M(!0,e,t,r)},v.doesNotThrow=function(e,t,r){M(!1,e,t,r)},v.ifError=function(e){if(e)throw e},v.strict=n((function e(t,r){t||C(t,!0,r,"==",e)}),v,{equal:v.strictEqual,deepEqual:v.deepStrictEqual,notEqual:v.notStrictEqual,notDeepEqual:v.notDeepStrictEqual}),v.strict.strict=v.strict;var R=Object.keys||function(e){var t=[];for(var r in e)h.call(e,r)&&t.push(r);return t}}
2).call(this,r(20))},function(e,t,r){"use strict";var n=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable;function f(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},i=0;i<10;i++)t["_"+String.fromCharCode(i)]=i;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,source){for(var t,r,h=f(e),s=1;s<arguments.length;s++){for(var l in t=Object(arguments[s]))o.call(t,l)&&(h[l]=t[l]);if(n){r=n(t);for(var i=0;i<r.length;i++)c.call(t,r[i])&&(h[r[i]]=t[r[i]])}}return h}},function(e,t){e.exports=function(e){return e&&"object"==typeof e&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8}},function(e,t){"function"==typeof Object.create?e.exports=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:e.exports=function(e,t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}},function(e,t,r){e.exports=function(e){function t(e){let r,o,c,f=null;function h(...e){if(!h.enabled)return;const n=h,o=Number(new Date),c=o-(r||o);n.diff=c,n.prev=r,n.curr=o,r=o,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let f=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,((r,o)=>{if("%%"===r)return"%";f++;const c=t.formatters[o];if("function"==typeof c){const t=e[f];r=c.call(n,t),e.splice(f,1),f--}return r})),t.formatArgs.call(n,e);(n.log||t.log).apply(n,e)}return h.namespace=e,h.useColors=t.useColors(),h.color=t.selectColor(e),h.extend=n,h.destroy=t.destroy,Object.defineProperty(h,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==f?f:(o!==t.namespaces&&(o=t.namespaces,c=t.enabled(e)),c),set:e=>{f=e}}),"function"==typeof t.init&&t.init(h),h}function n(e,r){const n=t(this.namespace+(void 0===r?":":r)+e);return n.log=this.log,n}function o(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},t.disable=function(){const e=[...t.names.map(o),...t.skips.map(o).map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){let i;t.save(e),t.namespaces=e,t.names=[],t.skips=[];const r=("string"==typeof e?e:"").split(/[\s,]+/),n=r.length;for(i=0;i<n;i++)r[i]&&("-"===(e=r[i].replace(/\*/g,".*?"))[0]?t.skips.push(new RegExp("^"+e.slice(1)+"$")):t.names.push(new RegExp("^"+e+"$")))},t.enabled=function(e){if("*"===e[e.length-1])return!0;let i,r;for(i=0,r=t.skips.length;i<r;i++)if(t.skips[i].test(e))return!1;for(i=0,r=t.names.length;i<r;i++)if(t.names[i].test(e))return!0;return!1},t.humanize=r(727),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach((r=>{t[r]=e[r]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let r=0;for(let i=0;i<e.length;i++)r=(r<<5)-r+e.charCodeAt(i),r|=0;return t.colors[Math.abs(r)%t.colors.length]},t.enable(t.load()),t}},function(e,t){var s=1e3,r=60*s,n=60*r,o=24*n,c=7*o,f=365.25*o;function h(e,t,r,n){var o=t>=1.5*r;return Math.round(e/r)+" "+n+(o?"s":"")}e.exports=function(e,t){t=t||{};var l=typeof e;if("string"===l&&e.length>0)return function(e){if((e=String(e)).length>100)return;var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!t)return;var h=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return h*f;case"weeks":case"week":case"w":return h*c;case"days":case"day":case"d":return h*o;case"hours":case"hour":case"hrs":case"hr":case"h":return h*n;case"minutes":case"minute":case"mins":case"min":case"m":return h*r;case"seconds":case"second":case"secs":case"sec":case"s":return h*s;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return h;default:return}}(e);if("number"===l&&isFinite(e))return t.long?function(e){var t=Math.abs(e);if(t>=o)return h(e,t,o,"day");if(t>=n)return h(e,t,n,"hour");if(t>=r)return h(e,t,r,"minute");
2if(t>=s)return h(e,t,s,"second");return e+" ms"}(e):function(e){var t=Math.abs(e);if(t>=o)return Math.round(e/o)+"d";if(t>=n)return Math.round(e/n)+"h";if(t>=r)return Math.round(e/r)+"m";if(t>=s)return Math.round(e/s)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};const o=r(73),c=n(r(243)),f=n(r(729)),h=c.default("agent-base");function l(){const{stack:e}=new Error;return"string"==typeof e&&e.split("\n").some((e=>-1!==e.indexOf("(https.js:")||-1!==e.indexOf("node:https:")))}function d(e,t){return new d.Agent(e,t)}!function(e){class t extends o.EventEmitter{constructor(e,t){super();let r=t;"function"==typeof e?this.callback=e:e&&(r=e),this.timeout=null,r&&"number"==typeof r.timeout&&(this.timeout=r.timeout),this.maxFreeSockets=1,this.maxSockets=1,this.maxTotalSockets=1/0,this.sockets={},this.freeSockets={},this.requests={},this.options={}}get defaultPort(){return"number"==typeof this.explicitDefaultPort?this.explicitDefaultPort:l()?443:80}set defaultPort(e){this.explicitDefaultPort=e}get protocol(){return"string"==typeof this.explicitProtocol?this.explicitProtocol:l()?"https:":"http:"}set protocol(e){this.explicitProtocol=e}callback(e,t,r){throw new Error('"agent-base" has no default implementation, you must subclass and override `callback()`')}addRequest(e,t){const r=Object.assign({},t);"boolean"!=typeof r.secureEndpoint&&(r.secureEndpoint=l()),null==r.host&&(r.host="localhost"),null==r.port&&(r.port=r.secureEndpoint?443:80),null==r.protocol&&(r.protocol=r.secureEndpoint?"https:":"http:"),r.host&&r.path&&delete r.path,delete r.agent,delete r.hostname,delete r._defaultAgent,delete r.defaultPort,delete r.createConnection,e._last=!0,e.shouldKeepAlive=!1;let n=!1,o=null;const c=r.timeout||this.timeout,d=t=>{e._hadError||(e.emit("error",t),e._hadError=!0)},y=()=>{o=null,n=!0;const e=new Error(`A "socket" was not created for HTTP request before ${c}ms`);e.code="ETIMEOUT",d(e)},m=e=>{n||(null!==o&&(clearTimeout(o),o=null),d(e))},v=t=>{if(n)return;if(null!=o&&(clearTimeout(o),o=null),c=t,Boolean(c)&&"function"==typeof c.addRequest)return h("Callback returned another Agent instance %o",t.constructor.name),void t.addRequest(e,r);var c;if(t)return t.once("free",(()=>{this.freeSocket(t,r)})),void e.onSocket(t);const f=new Error(`no Duplex stream was returned to agent-base for \`${e.method} ${e.path}\``);d(f)};if("function"==typeof this.callback){this.promisifiedCallback||(this.callback.length>=3?(h("Converting legacy callback function to promise"),this.promisifiedCallback=f.default(this.callback)):this.promisifiedCallback=this.callback),"number"==typeof c&&c>0&&(o=setTimeout(y,c)),"port"in r&&"number"!=typeof r.port&&(r.port=Number(r.port));try{h("Resolving socket for %o request: %o",r.protocol,`${e.method} ${e.path}`),Promise.resolve(this.promisifiedCallback(e,r)).then(v,m)}catch(e){Promise.reject(e).catch(m)}}else d(new Error("`callback` is not defined"))}freeSocket(e,t){h("Freeing socket %o %o",e.constructor.name,t),e.destroy()}destroy(){h("Destroying agent %o",this.constructor.name)}}e.Agent=t,e.prototype=e.Agent.prototype}(d||(d={})),e.exports=d},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return function(t,r){return new Promise(((n,o)=>{e.call(this,t,r,((e,t)=>{e?o(e):n(t)}))}))}}},function(e,t,r){"use strict";(function(e){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=n(r(243)).default("https-proxy-agent:parse-proxy-response");t.default=function(t){return new Promise(((r,n)=>{let c=0;const f=[];function h(){const b=t.read();b?function(b){f.push(b),c+=b.length;const t=e.concat(f,c);if(-1===t.indexOf("\r\n\r\n"))return o("have not received end of HTTP headers yet..."),void h();const n=t.toString("ascii",0,t.indexOf("\r\n")),l=+n.split(" ")[1];o("got proxy server response: %o",n),r({statusCode:l,buffered:t})}(b):t.once("readable",h)}function l(e){o("onclose had error %o",e)}function d(){o("onend")}function y(e){t.removeListener("end",d),t.removeListener("error",y),t.removeListener("close",l),t.removeListener("readable",h),o("onerror %o",e),n(e)}t.on("error",y),t.on("close",l),t.on("end",d),h()}))}}).call(this,r(15).Buffer)},function(e,t,r){var n=r(732).stringify,o=r(733);e.exports=function(e){return{parse:o(e),stringify:n}},e.exports.parse=o(),e.exports.stringify=n},function(e,t,r){var n=r(381),o=e.exports;!function(){"use strict";var e,t,r,c=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,meta={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"};function f(e){return c.lastIndex=0,c.test(e)?'"'+e.replace(c,(function(a){var e=meta[a];
2return"string"==typeof e?e:"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4)}))+'"':'"'+e+'"'}function h(o,c){var i,l,d,y,m,v=e,w=c[o],_=null!=w&&(w instanceof n||n.isBigNumber(w));switch(w&&"object"==typeof w&&"function"==typeof w.toJSON&&(w=w.toJSON(o)),"function"==typeof r&&(w=r.call(c,o,w)),typeof w){case"string":return _?w:f(w);case"number":return isFinite(w)?String(w):"null";case"boolean":case"null":case"bigint":return String(w);case"object":if(!w)return"null";if(e+=t,m=[],"[object Array]"===Object.prototype.toString.apply(w)){for(y=w.length,i=0;i<y;i+=1)m[i]=h(i,w)||"null";return d=0===m.length?"[]":e?"[\n"+e+m.join(",\n"+e)+"\n"+v+"]":"["+m.join(",")+"]",e=v,d}if(r&&"object"==typeof r)for(y=r.length,i=0;i<y;i+=1)"string"==typeof r[i]&&(d=h(l=r[i],w))&&m.push(f(l)+(e?": ":":")+d);else Object.keys(w).forEach((function(t){var r=h(t,w);r&&m.push(f(t)+(e?": ":":")+r)}));return d=0===m.length?"{}":e?"{\n"+e+m.join(",\n"+e)+"\n"+v+"}":"{"+m.join(",")+"}",e=v,d}}"function"!=typeof o.stringify&&(o.stringify=function(n,o,c){var i;if(e="",t="","number"==typeof c)for(i=0;i<c;i+=1)t+=" ";else"string"==typeof c&&(t=c);if(r=o,o&&"function"!=typeof o&&("object"!=typeof o||"number"!=typeof o.length))throw new Error("JSON.stringify");return h("",{"":n})})}()},function(e,t,r){var n=null;const o=/(?:_|\\u005[Ff])(?:_|\\u005[Ff])(?:p|\\u0070)(?:r|\\u0072)(?:o|\\u006[Ff])(?:t|\\u0074)(?:o|\\u006[Ff])(?:_|\\u005[Ff])(?:_|\\u005[Ff])/,c=/(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)/;e.exports=function(e){"use strict";var t={strict:!1,storeAsString:!1,alwaysParseAsBig:!1,useNativeBigInt:!1,protoAction:"error",constructorAction:"error"};if(null!=e){if(!0===e.strict&&(t.strict=!0),!0===e.storeAsString&&(t.storeAsString=!0),t.alwaysParseAsBig=!0===e.alwaysParseAsBig&&e.alwaysParseAsBig,t.useNativeBigInt=!0===e.useNativeBigInt&&e.useNativeBigInt,void 0!==e.constructorAction){if("error"!==e.constructorAction&&"ignore"!==e.constructorAction&&"preserve"!==e.constructorAction)throw new Error(`Incorrect value for constructorAction option, must be "error", "ignore" or undefined but passed ${e.constructorAction}`);t.constructorAction=e.constructorAction}if(void 0!==e.protoAction){if("error"!==e.protoAction&&"ignore"!==e.protoAction&&"preserve"!==e.protoAction)throw new Error(`Incorrect value for protoAction option, must be "error", "ignore" or undefined but passed ${e.protoAction}`);t.protoAction=e.protoAction}}var f,h,text,l,d={'"':'"',"\\":"\\","/":"/",b:"\b",f:"\f",n:"\n",r:"\r",t:"\t"},y=function(e){throw{name:"SyntaxError",message:e,at:f,text:text}},m=function(e){return e&&e!==h&&y("Expected '"+e+"' instead of '"+h+"'"),h=text.charAt(f),f+=1,h},v=function(){var e,o="";for("-"===h&&(o="-",m("-"));h>="0"&&h<="9";)o+=h,m();if("."===h)for(o+=".";m()&&h>="0"&&h<="9";)o+=h;if("e"===h||"E"===h)for(o+=h,m(),"-"!==h&&"+"!==h||(o+=h,m());h>="0"&&h<="9";)o+=h,m();if(e=+o,isFinite(e))return null==n&&(n=r(381)),o.length>15?t.storeAsString?o:t.useNativeBigInt?BigInt(o):new n(o):t.alwaysParseAsBig?t.useNativeBigInt?BigInt(e):new n(e):e;y("Bad number")},w=function(){var e,i,t,r="";if('"'===h)for(var n=f;m();){if('"'===h)return f-1>n&&(r+=text.substring(n,f-1)),m(),r;if("\\"===h){if(f-1>n&&(r+=text.substring(n,f-1)),m(),"u"===h){for(t=0,i=0;i<4&&(e=parseInt(m(),16),isFinite(e));i+=1)t=16*t+e;r+=String.fromCharCode(t)}else{if("string"!=typeof d[h])break;r+=d[h]}n=f}}y("Bad string")},_=function(){for(;h&&h<=" ";)m()};return l=function(){switch(_(),h){case"{":return function(){var e,object=Object.create(null);if("{"===h){if(m("{"),_(),"}"===h)return m("}"),object;for(;h;){if(e=w(),_(),m(":"),!0===t.strict&&Object.hasOwnProperty.call(object,e)&&y('Duplicate key "'+e+'"'),!0===o.test(e)?"error"===t.protoAction?y("Object contains forbidden prototype property"):"ignore"===t.protoAction?l():object[e]=l():!0===c.test(e)?"error"===t.constructorAction?y("Object contains forbidden constructor property"):"ignore"===t.constructorAction?l():object[e]=l():object[e]=l(),_(),"}"===h)return m("}"),object;m(","),_()}}y("Bad object")}();case"[":return function(){var e=[];
2if("["===h){if(m("["),_(),"]"===h)return m("]"),e;for(;h;){if(e.push(l()),_(),"]"===h)return m("]"),e;m(","),_()}}y("Bad array")}();case'"':return w();case"-":return v();default:return h>="0"&&h<="9"?v():function(){switch(h){case"t":return m("t"),m("r"),m("u"),m("e"),!0;case"f":return m("f"),m("a"),m("l"),m("s"),m("e"),!1;case"n":return m("n"),m("u"),m("l"),m("l"),null}y("Unexpected '"+h+"'")}()}},function(source,e){var t;return text=source+"",f=0,h=" ",t=l(),_(),h&&y("Syntax error"),"function"==typeof e?function t(r,n){var o,c=r[n];return c&&"object"==typeof c&&Object.keys(c).forEach((function(e){void 0!==(o=t(c,e))?c[e]=o:delete c[e]})),e.call(r,n,c)}({"":t},""):t}}},function(e,t){t.endianness=function(){return"LE"},t.hostname=function(){return"undefined"!=typeof location?location.hostname:""},t.loadavg=function(){return[]},t.uptime=function(){return 0},t.freemem=function(){return Number.MAX_VALUE},t.totalmem=function(){return Number.MAX_VALUE},t.cpus=function(){return[]},t.type=function(){return"Browser"},t.release=function(){return"undefined"!=typeof navigator?navigator.appVersion:""},t.networkInterfaces=t.getNetworkInterfaces=function(){return{}},t.arch=function(){return"javascript"},t.platform=function(){return"browser"},t.tmpdir=t.tmpDir=function(){return"/tmp"},t.EOL="\n",t.homedir=function(){return"/"}},function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.BrowserCrypto=void 0;const n=r(372);void 0===e&&"undefined"==typeof TextEncoder&&r(736);class o{constructor(){if("undefined"==typeof window||void 0===window.crypto||void 0===window.crypto.subtle)throw new Error("SubtleCrypto not found. Make sure it's an https:// website.")}async sha256DigestBase64(e){const t=(new TextEncoder).encode(e),r=await window.crypto.subtle.digest("SHA-256",t);return n.fromByteArray(new Uint8Array(r))}randomBytesBase64(e){const t=new Uint8Array(e);return window.crypto.getRandomValues(t),n.fromByteArray(t)}static padBase64(e){for(;e.length%4!=0;)e+="=";return e}async verify(e,data,t){const r={name:"RSASSA-PKCS1-v1_5",hash:{name:"SHA-256"}},c=(new TextEncoder).encode(data),f=n.toByteArray(o.padBase64(t)),h=await window.crypto.subtle.importKey("jwk",e,r,!0,["verify"]);return await window.crypto.subtle.verify(r,h,f,c)}async sign(e,data){const t={name:"RSASSA-PKCS1-v1_5",hash:{name:"SHA-256"}},r=(new TextEncoder).encode(data),o=await window.crypto.subtle.importKey("jwk",e,t,!0,["sign"]),c=await window.crypto.subtle.sign(t,o,r);return n.fromByteArray(new Uint8Array(c))}decodeBase64StringUtf8(e){const t=n.toByteArray(o.padBase64(e));return(new TextDecoder).decode(t)}encodeBase64StringUtf8(text){const e=(new TextEncoder).encode(text);return n.fromByteArray(e)}}t.BrowserCrypto=o}).call(this,r(17))},function(e,t,r){(function(e,t){!function(e){function r(){}function n(a,e){if(a=void 0===a?"utf-8":a,e=void 0===e?{fatal:!1}:e,-1===o.indexOf(a.toLowerCase()))throw new RangeError("Failed to construct 'TextDecoder': The encoding label provided ('"+a+"') is invalid.");if(e.fatal)throw Error("Failed to construct 'TextDecoder': the 'fatal' option is unsupported.")}function q(a){for(var e=0,t=Math.min(65536,a.length+1),r=new Uint16Array(t),n=[],o=0;;){var b=e<a.length;if(!b||o>=t-1){if(n.push(String.fromCharCode.apply(null,r.subarray(0,o))),!b)return n.join("");a=a.subarray(e),o=e=0}if(0==(128&(b=a[e++])))r[o++]=b;else if(192==(224&b)){var g=63&a[e++];r[o++]=(31&b)<<6|g}else if(224==(240&b)){g=63&a[e++];var c=63&a[e++];r[o++]=(31&b)<<12|g<<6|c}else if(240==(248&b)){65535<(b=(7&b)<<18|(g=63&a[e++])<<12|(c=63&a[e++])<<6|63&a[e++])&&(b-=65536,r[o++]=b>>>10&1023|55296,b=56320|1023&b),r[o++]=b}}}if(e.TextEncoder&&e.TextDecoder)return!1;var o=["utf-8","utf8","unicode-1-1-utf-8"];Object.defineProperty(r.prototype,"encoding",{value:"utf-8"}),r.prototype.encode=function(a,e){if((e=void 0===e?{stream:!1}:e).stream)throw Error("Failed to encode: the 'stream' option is unsupported.");e=0;for(var t=a.length,r=0,n=Math.max(32,t+(t>>>1)+7),o=new Uint8Array(n>>>3<<3);e<t;){var b=a.charCodeAt(e++);if(55296<=b&&56319>
2=b){if(e<t){var g=a.charCodeAt(e);56320==(64512&g)&&(++e,b=((1023&b)<<10)+(1023&g)+65536)}if(55296<=b&&56319>=b)continue}if(r+4>o.length&&(n+=8,n=(n*=1+e/a.length*2)>>>3<<3,(g=new Uint8Array(n)).set(o),o=g),0==(4294967168&b))o[r++]=b;else{if(0==(4294965248&b))o[r++]=b>>>6&31|192;else if(0==(4294901760&b))o[r++]=b>>>12&15|224,o[r++]=b>>>6&63|128;else{if(0!=(4292870144&b))continue;o[r++]=b>>>18&7|240,o[r++]=b>>>12&63|128,o[r++]=b>>>6&63|128}o[r++]=63&b|128}}return o.slice?o.slice(0,r):o.subarray(0,r)},Object.defineProperty(n.prototype,"encoding",{value:"utf-8"}),Object.defineProperty(n.prototype,"fatal",{value:!1}),Object.defineProperty(n.prototype,"ignoreBOM",{value:!1});var p=q;"function"==typeof t&&t.from?p=function(a){return t.from(a.buffer,a.byteOffset,a.byteLength).toString("utf-8")}:"function"==typeof Blob&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&(p=function(a){try{var e=URL.createObjectURL(new Blob([a],{type:"text/plain;charset=UTF-8"})),t=new XMLHttpRequest;return t.open("GET",e,!1),t.send(),t.responseText}catch(e){return q(a)}finally{e&&URL.revokeObjectURL(e)}}),n.prototype.decode=function(a,e){if((e=void 0===e?{stream:!1}:e).stream)throw Error("Failed to decode: the 'stream' option is unsupported.");return a=a instanceof Uint8Array?a:a.buffer instanceof ArrayBuffer?new Uint8Array(a.buffer):new Uint8Array(a),p(a)},e.TextEncoder=r,e.TextDecoder=n}("undefined"!=typeof window?window:void 0!==e?e:this)}).call(this,r(20),r(15).Buffer)},function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.NodeCrypto=void 0;const n=r(384);t.NodeCrypto=class{async sha256DigestBase64(e){return n.createHash("sha256").update(e).digest("base64")}randomBytesBase64(e){return n.randomBytes(e).toString("base64")}async verify(e,data,t){const r=n.createVerify("sha256");return r.update(data),r.end(),r.verify(e,t,"base64")}async sign(e,data){const t=n.createSign("RSA-SHA256");return t.update(data),t.end(),t.sign(e,"base64")}decodeBase64StringUtf8(t){return e.from(t,"base64").toString("utf-8")}encodeBase64StringUtf8(text){return e.from(text,"utf-8").toString("base64")}}}).call(this,r(15).Buffer)},function(e,t,r){(t=e.exports=r(386)).Stream=t,t.Readable=t,t.Writable=r(390),t.Duplex=r(111),t.Transform=r(391),t.PassThrough=r(744),t.finished=r(245),t.pipeline=r(745)},,function(e,t,r){"use strict";function n(object,e){var t=Object.keys(object);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(object);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(object,e).enumerable}))),t.push.apply(t,r)}return t}function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t){for(var i=0;i<t.length;i++){var r=t[i];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var f=r(15).Buffer,h=r(741).inspect,l=h&&h.custom||"inspect";e.exports=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.head=null,this.tail=null,this.length=0}var t,r,d;return t=e,r=[{key:"push",value:function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length}},{key:"unshift",value:function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length}},{key:"shift",value:function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(s){if(0===this.length)return"";for(var p=this.head,e=""+p.data;p=p.next;)e+=s+p.data;return e}},{key:"concat",value:function(e){if(0===this.length)return f.alloc(0);for(var t,r,n,o=f.allocUnsafe(e>>>0),p=this.head,i=0;p;)t=p.data,r=o,n=i,f.prototype.copy.call(t,r,n),i+=p.data.length,p=p.next;return o}},{key:"consume",value:function(e,t){var r;return e<this.head.data.length?(r=this.head.data.slice(0,e),this.head.data=this.head.data.slice(e)):r=e===this.head.data.length?this.shift():t?this._getString(e):this._getBuffer(e),r}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(e){var p=this.head,t=1,r=p.data;for(e-=r.length;p=p.next;){var n=p.data,o=e>n.length?n.length:e;if(o===n.length?r+=n:r+=n.slice(0,e),0==(e-=o)){o===n.length?(++t,p.next?this.head=p.next:this.head=this.tail=null):(this.head=p,p.data=n.slice(o));break}++t}return this.length-=t,r}},{key:"_getBuffer",value:function(e){var t=f.allocUnsafe(e),p=this.head,r=1;for(p.data.copy(t),e-=p.data.length;p=p.next;){var n=p.data,o=e>n.length?n.length:e;if(n.copy(t,t.length-e,0,o),0==(e-=o)){o===n.length?(++r,p.next?this.head=p.next:this.head=this.tail=null):(this.head=p,p.data=n.slice(o));break}++r}return this.length-=r,t}},{key:l,value:function(e,t){return h(this,function(e){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};
vendor: 2,303 bytes, line 2
2i%2?n(Object(source),!0).forEach((function(t){o(e,t,source[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(source)):n(Object(source)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(source,t))}))}return e}({},t,{depth:0,customInspect:!1}))}}],r&&c(t.prototype,r),d&&c(t,d),e}()},,function(e,t,r){"use strict";(function(t){var n;function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var c=r(245),f=Symbol("lastResolve"),h=Symbol("lastReject"),l=Symbol("error"),d=Symbol("ended"),y=Symbol("lastPromise"),m=Symbol("handlePromise"),v=Symbol("stream");function w(e,t){return{value:e,done:t}}function _(e){var t=e[f];if(null!==t){var data=e[v].read();null!==data&&(e[y]=null,e[f]=null,e[h]=null,t(w(data,!1)))}}function E(e){t.nextTick(_,e)}var S=Object.getPrototypeOf((function(){})),C=Object.setPrototypeOf((o(n={get stream(){return this[v]},next:function(){var e=this,r=this[l];if(null!==r)return Promise.reject(r);if(this[d])return Promise.resolve(w(void 0,!0));if(this[v].destroyed)return new Promise((function(r,n){t.nextTick((function(){e[l]?n(e[l]):r(w(void 0,!0))}))}));var n,o=this[y];if(o)n=new Promise(function(e,t){return function(r,n){e.then((function(){t[d]?r(w(void 0,!0)):t[m](r,n)}),n)}}(o,this));else{var data=this[v].read();if(null!==data)return Promise.resolve(w(data,!1));n=new Promise(this[m])}return this[y]=n,n}},Symbol.asyncIterator,(function(){return this})),o(n,"return",(function(){var e=this;return new Promise((function(t,r){e[v].destroy(null,(function(e){e?r(e):t(w(void 0,!0))}))}))})),n),S);e.exports=function(e){var t,r=Object.create(C,(o(t={},v,{value:e,writable:!0}),o(t,f,{value:null,writable:!0}),o(t,h,{value:null,writable:!0}),o(t,l,{value:null,writable:!0}),o(t,d,{value:e._readableState.endEmitted,writable:!0}),o(t,m,{value:function(e,t){var data=r[v].read();data?(r[y]=null,r[f]=null,r[h]=null,e(w(data,!1))):(r[f]=e,r[h]=t)},writable:!0}),t));return r[y]=null,c(e,(function(e){if(e&&"ERR_STREAM_PREMATURE_CLOSE"!==e.code){var t=r[h];return null!==t&&(r[y]=null,r[f]=null,r[h]=null,t(e)),void(r[l]=e)}var n=r[f];null!==n&&(r[y]=null,r[f]=null,r[h]=null,n(w(void 0,!0))),r[d]=!0})),e.on("readable",E.bind(null,r)),r}}
vendor: 6,154 bytes, line 2
2).call(this,r(17))},function(e,t){e.exports=function(){throw new Error("Readable.from is not available in the browser")}},function(e,t,r){"use strict";e.exports=o;var n=r(391);function o(e){if(!(this instanceof o))return new o(e);n.call(this,e)}r(5)(o,n),o.prototype._transform=function(e,t,r){r(null,e)}},function(e,t,r){"use strict";var n;var o=r(110).codes,c=o.ERR_MISSING_ARGS,f=o.ERR_STREAM_DESTROYED;function h(e){if(e)throw e}function l(e,t,o,c){c=function(e){var t=!1;return function(){t||(t=!0,e.apply(void 0,arguments))}}(c);var h=!1;e.on("close",(function(){h=!0})),void 0===n&&(n=r(245)),n(e,{readable:t,writable:o},(function(e){if(e)return c(e);h=!0,c()}));var l=!1;return function(t){if(!h&&!l)return l=!0,function(e){return e.setHeader&&"function"==typeof e.abort}(e)?e.abort():"function"==typeof e.destroy?e.destroy():void c(t||new f("pipe"))}}function d(e){e()}function y(e,t){return e.pipe(t)}function m(e){return e.length?"function"!=typeof e[e.length-1]?h:e.pop():h}e.exports=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n,o=m(t);if(Array.isArray(t[0])&&(t=t[0]),t.length<2)throw new c("streams");var f=t.map((function(e,i){var r=i<t.length-1;return l(e,r,i>0,(function(e){n||(n=e),e&&f.forEach(d),r||(f.forEach(d),o(n))}))}));return t.reduce(y)}},function(e,t,r){var n=r(5),o=r(112),c=r(8).Buffer,f=[1518500249,1859775393,-1894007588,-899497514],h=new Array(80);function l(){this.init(),this._w=h,o.call(this,64,56)}function d(e){return e<<30|e>>>2}function y(s,b,e,t){return 0===s?b&e|~b&t:2===s?b&e|b&t|e&t:b^e^t}n(l,o),l.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},l.prototype._update=function(e){for(var t,r=this._w,a=0|this._a,b=0|this._b,n=0|this._c,o=0|this._d,c=0|this._e,i=0;i<16;++i)r[i]=e.readInt32BE(4*i);for(;i<80;++i)r[i]=r[i-3]^r[i-8]^r[i-14]^r[i-16];for(var h=0;h<80;++h){var s=~~(h/20),l=0|((t=a)<<5|t>>>27)+y(s,b,n,o)+c+r[h]+f[s];c=o,o=n,n=d(b),b=a,a=l}this._a=a+this._a|0,this._b=b+this._b|0,this._c=n+this._c|0,this._d=o+this._d|0,this._e=c+this._e|0},l.prototype._hash=function(){var e=c.allocUnsafe(20);return e.writeInt32BE(0|this._a,0),e.writeInt32BE(0|this._b,4),e.writeInt32BE(0|this._c,8),e.writeInt32BE(0|this._d,12),e.writeInt32BE(0|this._e,16),e},e.exports=l},function(e,t,r){var n=r(5),o=r(112),c=r(8).Buffer,f=[1518500249,1859775393,-1894007588,-899497514],h=new Array(80);function l(){this.init(),this._w=h,o.call(this,64,56)}function d(e){return e<<5|e>>>27}function y(e){return e<<30|e>>>2}function m(s,b,e,t){return 0===s?b&e|~b&t:2===s?b&e|b&t|e&t:b^e^t}n(l,o),l.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},l.prototype._update=function(e){for(var t,r=this._w,a=0|this._a,b=0|this._b,n=0|this._c,o=0|this._d,c=0|this._e,i=0;i<16;++i)r[i]=e.readInt32BE(4*i);for(;i<80;++i)r[i]=(t=r[i-3]^r[i-8]^r[i-14]^r[i-16])<<1|t>>>31;for(var h=0;h<80;++h){var s=~~(h/20),l=d(a)+m(s,b,n,o)+c+r[h]+f[s]|0;c=o,o=n,n=y(b),b=a,a=l}this._a=a+this._a|0,this._b=b+this._b|0,this._c=n+this._c|0,this._d=o+this._d|0,this._e=c+this._e|0},l.prototype._hash=function(){var e=c.allocUnsafe(20);return e.writeInt32BE(0|this._a,0),e.writeInt32BE(0|this._b,4),e.writeInt32BE(0|this._c,8),e.writeInt32BE(0|this._d,12),e.writeInt32BE(0|this._e,16),e},e.exports=l},function(e,t,r){var n=r(5),o=r(392),c=r(112),f=r(8).Buffer,h=new Array(64);function l(){this.init(),this._w=h,c.call(this,64,56)}n(l,o),l.prototype.init=function(){return this._a=3238371032,this._b=914150663,this._c=812702999,this._d=4144912697,this._e=4290775857,this._f=1750603025,this._g=1694076839,this._h=3204075428,this},l.prototype._hash=function(){var e=f.allocUnsafe(28);return e.writeInt32BE(this._a,0),e.writeInt32BE(this._b,4),e.writeInt32BE(this._c,8),e.writeInt32BE(this._d,12),e.writeInt32BE(this._e,16),e.writeInt32BE(this._f,20),e.writeInt32BE(this._g,24),e},e.exports=l},function(e,t,r){var n=r(5),o=r(393),c=r(112),f=r(8).Buffer,h=new Array(160);function l(){this.init(),this._w=h,c.call(this,128,112)}n(l,o),l.prototype.init=function(){return this._ah=3418070365,this._bh=1654270250,this._ch=2438529370,this._dh=355462360,this._eh=1731405415,this._fh=2394180231,this._gh=3675008525,this._hh=1203062813,this._al=3238371032,this._bl=914150663,this._cl=812702999,this._dl=4144912697,this._el=4290775857,this._fl=1750603025,this._gl=1694076839,this._hl=3204075428,this},l.prototype._hash=function(){var e=f.allocUnsafe(48);function t(t,r,n){e.writeInt32BE(t,n),e.writeInt32BE(r,n+4)}return t(this._ah,this._al,0),t(this._bh,this._bl,8),t(this._ch,this._cl,16),t(this._dh,this._dl,24),t(this._eh,this._el,32),t(this._fh,this._fl,40),e},e.exports=l},function(e,t,r){e.exports=r(240)},function(e,t,r){e.exports=r(88)},function(e,t,r){e.exports=r(136).Transform},function(e,t,r){e.exports=r(136).PassThrough},function(e,t,r){"use strict";var n=r(5),o=r(8).Buffer,c=r(82),f=o.alloc(128),h=64;function l(e,t){c.call(this,"digest"),"string"==typeof t&&(t=o.from(t)),this._alg=e,this._key=t,t.length>h?t=e(t):t.length<h&&(t=o.concat([t,f],h));for(var r=this._ipad=o.allocUnsafe(h),n=this._opad=o.allocUnsafe(h),i=0;i<h;i++)r[i]=54^t[i],n[i]=92^t[i];this._hash=[r]}n(l,c),l.prototype._update=function(data){this._hash.push(data)},l.prototype._final=function(){var e=this._alg(o.concat(this._hash));return this._alg(o.concat([this._opad,e]))},e.exports=l},function(e,t,r){e.exports=r(396)},function(e,t,r){(function(t){var n,o,c=r(8).Buffer,f=r(398),h=r(399),l=r(400),d=r(401),y=t.crypto&&t.crypto.subtle,m={sha:"SHA-1","sha-1":"SHA-1",sha1:"SHA-1",sha256:"SHA-256","sha-256":"SHA-256",sha384:"SHA-384","sha-384":"SHA-384","sha-512":"SHA-512",sha512:"SHA-512"},v=[];function w(){return o||(o=t.process&&t.process.nextTick?t.process.nextTick:t.queueMicrotask?t.queueMicrotask:t.setImmediate?t.setImmediate:t.setTimeout)}function _(e,t,r,n,o){return y.importKey("raw",e,{name:"PBKDF2"},!1,["deriveBits"]).then((function(e){return y.deriveBits({name:"PBKDF2",salt:t,iterations:r,hash:{name:o}},e,n<<3)})).then((function(e){return c.from(e)}))}
vendor: 16,106 bytes, line 2
2e.exports=function(e,r,o,E,S,C){"function"==typeof S&&(C=S,S=void 0);var A=m[(S=S||"sha1").toLowerCase()];if(A&&"function"==typeof t.Promise){if(f(o,E),e=d(e,h,"Password"),r=d(r,h,"Salt"),"function"!=typeof C)throw new Error("No callback provided to pbkdf2");!function(e,t){e.then((function(e){w()((function(){t(null,e)}))}),(function(e){w()((function(){t(e)}))}))}(function(e){if(t.process&&!t.process.browser)return Promise.resolve(!1);if(!y||!y.importKey||!y.deriveBits)return Promise.resolve(!1);if(void 0!==v[e])return v[e];var r=_(n=n||c.alloc(8),n,10,128,e).then((function(){return!0})).catch((function(){return!1}));return v[e]=r,r}(A).then((function(t){return t?_(e,r,o,E,A):l(e,r,o,E,S)})),C)}else w()((function(){var t;try{t=l(e,r,o,E,S)}catch(e){return C(e)}C(null,t)}))}}).call(this,r(20))},function(e,t,r){var n=r(758),o=r(249),c=r(250),f=r(771),h=r(177);function l(e,t,r){if(e=e.toLowerCase(),c[e])return o.createCipheriv(e,t,r);if(f[e])return new n({key:t,iv:r,mode:e});throw new TypeError("invalid suite type")}function d(e,t,r){if(e=e.toLowerCase(),c[e])return o.createDecipheriv(e,t,r);if(f[e])return new n({key:t,iv:r,mode:e,decrypt:!0});throw new TypeError("invalid suite type")}t.createCipher=t.Cipher=function(e,t){var r,n;if(e=e.toLowerCase(),c[e])r=c[e].key,n=c[e].iv;else{if(!f[e])throw new TypeError("invalid suite type");r=8*f[e].key,n=f[e].iv}var o=h(t,!1,r,n);return l(e,o.key,o.iv)},t.createCipheriv=t.Cipheriv=l,t.createDecipher=t.Decipher=function(e,t){var r,n;if(e=e.toLowerCase(),c[e])r=c[e].key,n=c[e].iv;else{if(!f[e])throw new TypeError("invalid suite type");r=8*f[e].key,n=f[e].iv}var o=h(t,!1,r,n);return d(e,o.key,o.iv)},t.createDecipheriv=t.Decipheriv=d,t.listCiphers=t.getCiphers=function(){return Object.keys(f).concat(o.getCiphers())}},function(e,t,r){var n=r(82),o=r(759),c=r(5),f=r(8).Buffer,h={"des-ede3-cbc":o.CBC.instantiate(o.EDE),"des-ede3":o.EDE,"des-ede-cbc":o.CBC.instantiate(o.EDE),"des-ede":o.EDE,"des-cbc":o.CBC.instantiate(o.DES),"des-ecb":o.DES};function l(e){n.call(this);var t,r=e.mode.toLowerCase(),o=h[r];t=e.decrypt?"decrypt":"encrypt";var c=e.key;f.isBuffer(c)||(c=f.from(c)),"des-ede"!==r&&"des-ede-cbc"!==r||(c=f.concat([c,c.slice(0,8)]));var l=e.iv;f.isBuffer(l)||(l=f.from(l)),this._des=o.create({key:c,iv:l,type:t})}h.des=h["des-cbc"],h.des3=h["des-ede3-cbc"],e.exports=l,c(l,n),l.prototype._update=function(data){return f.from(this._des.update(data))},l.prototype._final=function(){return f.from(this._des.final())}},function(e,t,r){"use strict";t.utils=r(402),t.Cipher=r(248),t.DES=r(403),t.CBC=r(760),t.EDE=r(761)},function(e,t,r){"use strict";var n=r(54),o=r(5),c={};function f(e){n.equal(e.length,8,"Invalid IV length"),this.iv=new Array(8);for(var i=0;i<this.iv.length;i++)this.iv[i]=e[i]}t.instantiate=function(e){function t(t){e.call(this,t),this._cbcInit()}o(t,e);for(var r=Object.keys(c),i=0;i<r.length;i++){var n=r[i];t.prototype[n]=c[n]}return t.create=function(e){return new t(e)},t},c._cbcInit=function(){var e=new f(this.options.iv);this._cbcState=e},c._update=function(e,t,r,n){var o=this._cbcState,c=this.constructor.super_.prototype,f=o.iv;if("encrypt"===this.type){for(var i=0;i<this.blockSize;i++)f[i]^=e[t+i];c._update.call(this,f,0,r,n);for(i=0;i<this.blockSize;i++)f[i]=r[n+i]}else{c._update.call(this,e,t,r,n);for(i=0;i<this.blockSize;i++)r[n+i]^=f[i];for(i=0;i<this.blockSize;i++)f[i]=e[t+i]}}},function(e,t,r){"use strict";var n=r(54),o=r(5),c=r(248),f=r(403);function h(e,t){n.equal(t.length,24,"Invalid key length");var r=t.slice(0,8),o=t.slice(8,16),c=t.slice(16,24);this.ciphers="encrypt"===e?[f.create({type:"encrypt",key:r}),f.create({type:"decrypt",key:o}),f.create({type:"encrypt",key:c})]:[f.create({type:"decrypt",key:c}),f.create({type:"encrypt",key:o}),f.create({type:"decrypt",key:r})]}function l(e){c.call(this,e);var t=new h(this.type,this.options.key);this._edeState=t}o(l,c),e.exports=l,l.create=function(e){return new l(e)},l.prototype._update=function(e,t,r,n){var o=this._edeState;o.ciphers[0]._update(e,t,r,n),o.ciphers[1]._update(r,n,r,n),o.ciphers[2]._update(r,n,r,n)},l.prototype._pad=f.prototype._pad,l.prototype._unpad=f.prototype._unpad},function(e,t,r){var n=r(250),o=r(407),c=r(8).Buffer,f=r(408),h=r(82),l=r(176),d=r(177);function y(e,t,r){h.call(this),this._cache=new v,this._cipher=new l.AES(t),this._prev=c.from(r),this._mode=e,this._autopadding=!0}r(5)(y,h),y.prototype._update=function(data){var e,t;this._cache.add(data);for(var r=[];e=this._cache.get();)t=this._mode.encrypt(this,e),r.push(t);return c.concat(r)};var m=c.alloc(16,16);function v(){this.cache=c.allocUnsafe(0)}function w(e,t,r){var h=n[e.toLowerCase()];if(!h)throw new TypeError("invalid suite type");if("string"==typeof t&&(t=c.from(t)),t.length!==h.key/8)throw new TypeError("invalid key length "+t.length);if("string"==typeof r&&(r=c.from(r)),"GCM"!==h.mode&&r.length!==h.iv)throw new TypeError("invalid iv length "+r.length);return"stream"===h.type?new f(h.module,t,r):"auth"===h.type?new o(h.module,t,r):new y(h.module,t,r)}y.prototype._final=function(){var e=this._cache.flush();if(this._autopadding)return e=this._mode.encrypt(this,e),this._cipher.scrub(),e;if(!e.equals(m))throw this._cipher.scrub(),new Error("data not multiple of block length")},y.prototype.setAutoPadding=function(e){return this._autopadding=!!e,this},v.prototype.add=function(data){this.cache=c.concat([this.cache,data])},v.prototype.get=function(){if(this.cache.length>15){var e=this.cache.slice(0,16);return this.cache=this.cache.slice(16),e}return null},v.prototype.flush=function(){for(var e=16-this.cache.length,t=c.allocUnsafe(e),i=-1;++i<e;)t.writeUInt8(e,i);return c.concat([this.cache,t])},t.createCipheriv=w,t.createCipher=function(e,t){var r=n[e.toLowerCase()];if(!r)throw new TypeError("invalid suite type");var o=d(t,!1,r.key,r.iv);return w(e,o.key,o.iv)}},function(e,t){t.encrypt=function(e,t){return e._cipher.encryptBlock(t)},t.decrypt=function(e,t){return e._cipher.decryptBlock(t)}},function(e,t,r){var n=r(140);t.encrypt=function(e,t){var data=n(t,e._prev);return e._prev=e._cipher.encryptBlock(data),e._prev},t.decrypt=function(e,t){var r=e._prev;e._prev=t;var o=e._cipher.decryptBlock(t);return n(o,r)}},function(e,t,r){var n=r(8).Buffer,o=r(140);function c(e,data,t){var r=data.length,c=o(data,e._cache);return e._cache=e._cache.slice(r),e._prev=n.concat([e._prev,t?data:c]),c}t.encrypt=function(e,data,t){for(var r,o=n.allocUnsafe(0);data.length;){if(0===e._cache.length&&(e._cache=e._cipher.encryptBlock(e._prev),e._prev=n.allocUnsafe(0)),!(e._cache.length<=data.length)){o=n.concat([o,c(e,data,t)]);break}r=e._cache.length,o=n.concat([o,c(e,data.slice(0,r),t)]),data=data.slice(r)}return o}},function(e,t,r){var n=r(8).Buffer;function o(e,t,r){var o=e._cipher.encryptBlock(e._prev)[0]^t;return e._prev=n.concat([e._prev.slice(1),n.from([r?t:o])]),o}t.encrypt=function(e,t,r){for(var c=t.length,f=n.allocUnsafe(c),i=-1;++i<c;)f[i]=o(e,t[i],r);return f}},function(e,t,r){var n=r(8).Buffer;function o(e,t,r){for(var n,o,i=-1,f=0;++i<8;)n=t&1<<7-i?128:0,f+=(128&(o=e._cipher.encryptBlock(e._prev)[0]^n))>>i%8,e._prev=c(e._prev,r?n:o);return f}function c(e,t){var r=e.length,i=-1,o=n.allocUnsafe(e.length);for(e=n.concat([e,n.from([t])]);++i<r;)o[i]=e[i]<<1|e[i+1]>>7;return o}t.encrypt=function(e,t,r){for(var c=t.length,f=n.allocUnsafe(c),i=-1;++i<c;)f[i]=o(e,t[i],r);return f}},function(e,t,r){(function(e){var n=r(140);function o(e){return e._prev=e._cipher.encryptBlock(e._prev),e._prev}t.encrypt=function(t,r){for(;t._cache.length<r.length;)t._cache=e.concat([t._cache,o(t)]);var c=t._cache.slice(0,r.length);return t._cache=t._cache.slice(r.length),n(r,c)}}).call(this,r(15).Buffer)},function(e,t,r){var n=r(8).Buffer,o=n.alloc(16,0);function c(e){var t=n.allocUnsafe(16);return t.writeUInt32BE(e[0]>>>0,0),t.writeUInt32BE(e[1]>>>0,4),t.writeUInt32BE(e[2]>>>0,8),t.writeUInt32BE(e[3]>>>0,12),t}function f(e){this.h=e,this.state=n.alloc(16,0),this.cache=n.allocUnsafe(0)}f.prototype.ghash=function(e){for(var i=-1;++i<e.length;)this.state[i]^=e[i];this._multiply()},f.prototype._multiply=function(){for(var e,t,r,n=[(e=this.h).readUInt32BE(0),e.readUInt32BE(4),e.readUInt32BE(8),e.readUInt32BE(12)],o=[0,0,0,0],i=-1;++i<128;){for(0!=(this.state[~~(i/8)]&1<<7-i%8)&&(o[0]^=n[0],o[1]^=n[1],o[2]^=n[2],o[3]^=n[3]),r=0!=(1&n[3]),t=3;t>0;t--)n[t]=n[t]>>>1|(1&n[t-1])<<31;n[0]=n[0]>>>1,r&&(n[0]=n[0]^225<<24)}this.state=c(o)},f.prototype.update=function(e){var t;for(this.cache=n.concat([this.cache,e]);this.cache.length>=16;)t=this.cache.slice(0,16),this.cache=this.cache.slice(16),this.ghash(t)},f.prototype.final=function(e,t){return this.cache.length&&this.ghash(n.concat([this.cache,o],16)),this.ghash(c([0,e,0,t])),this.state},e.exports=f},function(e,t,r){var n=r(407),o=r(8).Buffer,c=r(250),f=r(408),h=r(82),l=r(176),d=r(177);function y(e,t,r){h.call(this),this._cache=new m,this._last=void 0,this._cipher=new l.AES(t),this._prev=o.from(r),this._mode=e,this._autopadding=!0}function m(){this.cache=o.allocUnsafe(0)}function v(e,t,r){var h=c[e.toLowerCase()];if(!h)throw new TypeError("invalid suite type");if("string"==typeof r&&(r=o.from(r)),"GCM"!==h.mode&&r.length!==h.iv)throw new TypeError("invalid iv length "+r.length);if("string"==typeof t&&(t=o.from(t)),t.length!==h.key/8)throw new TypeError("invalid key length "+t.length);return"stream"===h.type?new f(h.module,t,r,!0):"auth"===h.type?new n(h.module,t,r,!0):new y(h.module,t,r)}r(5)(y,h),y.prototype._update=function(data){var e,t;this._cache.add(data);for(var r=[];e=this._cache.get(this._autopadding);)t=this._mode.decrypt(this,e),r.push(t);return o.concat(r)},y.prototype._final=function(){var e=this._cache.flush();if(this._autopadding)return function(e){var t=e[15];if(t<1||t>16)throw new Error("unable to decrypt data");var i=-1;for(;++i<t;)if(e[i+(16-t)]!==t)throw new Error("unable to decrypt data");if(16===t)return;return e.slice(0,16-t)}(this._mode.decrypt(this,e));if(e)throw new Error("data not multiple of block length")},y.prototype.setAutoPadding=function(e){return this._autopadding=!!e,this},m.prototype.add=function(data){this.cache=o.concat([this.cache,data])},m.prototype.get=function(e){var t;if(e){if(this.cache.length>16)return t=this.cache.slice(0,16),this.cache=this.cache.slice(16),t}else if(this.cache.length>=16)return t=this.cache.slice(0,16),this.cache=this.cache.slice(16),t;return null},m.prototype.flush=function(){if(this.cache.length)return this.cache},t.createDecipher=function(e,t){var r=c[e.toLowerCase()];if(!r)throw new TypeError("invalid suite type");var n=d(t,!1,r.key,r.iv);return v(e,n.key,n.iv)},t.createDecipheriv=v},function(e,t){t["des-ecb"]={key:8,iv:0},t["des-cbc"]=t.des={key:8,iv:8},t["des-ede3-cbc"]=t.des3={key:24,iv:8},t["des-ede3"]={key:24,iv:0},t["des-ede-cbc"]={key:16,iv:8},t["des-ede"]={key:16,iv:0}},function(e,t,r){(function(e){var n=r(409),o=r(775),c=r(776);var f={binary:!0,hex:!0,base64:!0};t.DiffieHellmanGroup=t.createDiffieHellmanGroup=t.getDiffieHellman=function(t){var r=new e(o[t].prime,"hex"),n=new e(o[t].gen,"hex");return new c(r,n)},t.createDiffieHellman=t.DiffieHellman=function t(r,o,h,l){return e.isBuffer(o)||void 0===f[o]?t(r,"binary",o,h):(o=o||"binary",l=l||"binary",h=h||new e([2]),e.isBuffer(h)||(h=new e(h,l)),"number"==typeof r?new c(n(r,h),h,!0):(e.isBuffer(r)||(r=new e(r,o)),new c(r,h,!0)))}}).call(this,r(15).Buffer)},,,function(e){e.exports=JSON.parse('{"modp1":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a63a3620ffffffffffffffff"},"modp2":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece65381ffffffffffffffff"},"modp5":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca237327ffffffffffffffff"},"modp14":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aacaa68ffffffffffffffff"},"modp15":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a93ad2caffffffffffffffff"},"modp16":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c934063199ffffffffffffffff"},"modp17":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd4
207b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dcc4024ffffffffffffffff"},"modp18":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dbe115974a3926f12fee5e438777cb6a932df8cd8bec4d073b931ba3bc832b68d9dd300741fa7bf8afc47ed2576f6936ba424663aab639c5ae4f5683423b4742bf1c978238f16cbe39d652de3fdb8befc848ad922222e04a4037c0713eb57a81a23f0c73473fc646cea306b4bcbc8862f8385ddfa9d4b7fa2c087e879683303ed5bdd3a062b3cf5b3a278a66d2a13f83f44f82ddf310ee074ab6a364597e899a0255dc164f31cc50846851df9ab48195ded7ea1b1d510bd7ee74d73faf36bc31ecfa268359046f4eb879f924009438b481c6cd7889a002ed5ee382bc9190da6fc026e479558e4475677e9aa9e3050e2765694dfc81f56e880b96e7160c980dd98edd3dfffffffffffffffff"}}')},function(e,t,r){(function(t){var n=r(32),o=new(r(410)),c=new n(24),f=new n(11),h=new n(10),l=new n(3),d=new n(7),y=r(409),m=r(109);function v(e,r){return r=r||"utf8",t.isBuffer(e)||(e=new t(e,r)),this._pub=new n(e),this}function w(e,r){return r=r||"utf8",t.isBuffer(e)||(e=new t(e,r)),this._priv=new n(e),this}e.exports=E;var _={};function E(e,t,r){this.setGenerator(t),this.__prime=new n(e),this._prime=n.mont(this.__prime),this._primeLen=e.length,this._pub=void 0,this._priv=void 0,this._primeCode=void 0,r?(this.setPublicKey=v,this.setPrivateKey=w):this._primeCode=8}function S(e,r){var n=new t(e.toArray());return r?n.toString(r):n}Object.defineProperty(E.prototype,"verifyError",{enumerable:!0,get:function(){return"number"!=typeof this._primeCode&&(this._primeCode=function(e,t){var r=t.toString("hex"),n=[r,e.toString(16)].join("_");if(n in _)return _[n];var m,v=0;if(e.isEven()||!y.simpleSieve||!y.fermatTest(e)||!o.test(e))return v+=1,v+="02"===r||"05"===r?8:4,_[n]=v,v;switch(o.test(e.shrn(1))||(v+=2),r){case"02":e.mod(c).cmp(f)&&(v+=8);break;case"05":(m=e.mod(h)).cmp(l)&&m.cmp(d)&&(v+=8);break;default:v+=4}return _[n]=v,v}(this.__prime,this.__gen)),this._primeCode}}),E.prototype.generateKeys=function(){return this._priv||(this._priv=new n(m(this._primeLen))),this._pub=this._gen.toRed(this._prime).redPow(this._priv).fromRed(),this.getPublicKey()},E.prototype.computeSecret=function(e){var r=(e=(e=new n(e)).toRed(this._prime)).redPow(this._priv).fromRed(),o=new t(r.toArray()),c=this.getPrime();if(o.length<c.length){var f=new t(c.length-o.length);f.fill(0),o=t.concat([f,o])}return o},E.prototype.getPublicKey=function(e){return S(this._pub,e)},E.prototype.getPrivateKey=function(e){return S(this._priv,e)},E.prototype.getPrime=function(e){return S(this.__prime,e)},E.prototype.getGenerator=function(e){return S(this._gen,e)},E.prototype.setGenerator=function(e,r){return r=r||"utf8",t.isBuffer(e)||(e=new t(e,r)),this.__gen=e,this._gen=new n(e),this}}).call(this,r(15).Buffer)},function(e,t,r){var n=r(8).Buffer,o=r(138),c=r(778),f=r(5),h=r(786),l=r(817),d=r(396);function y(e){c.Writable.call(this);var data=d[e];if(!data)throw new Error("Unknown message digest");this._hashType=data.hash,this._hash=o(data.hash),this._tag=data.id,this._signType=data.sign}function m(e){c.Writable.call(this);var data=d[e];if(!data)throw new Error("Unknown message digest");this._hash=o(data.hash),this._tag=data.id,this._signType=data.sign}function v(e){return new y(e)}function w(e){return new m(e)}
2Object.keys(d).forEach((function(e){d[e].id=n.from(d[e].id,"hex"),d[e.toLowerCase()]=d[e]})),f(y,c.Writable),y.prototype._write=function(data,e,t){this._hash.update(data),t()},y.prototype.update=function(data,e){return"string"==typeof data&&(data=n.from(data,e)),this._hash.update(data),this},y.prototype.sign=function(e,t){this.end();var r=this._hash.digest(),n=h(r,e,this._hashType,this._signType,this._tag);return t?n.toString(t):n},f(m,c.Writable),m.prototype._write=function(data,e,t){this._hash.update(data),t()},m.prototype.update=function(data,e){return"string"==typeof data&&(data=n.from(data,e)),this._hash.update(data),this},m.prototype.verify=function(e,t,r){"string"==typeof t&&(t=n.from(t,r)),this.end();var o=this._hash.digest();return l(t,o,e,this._signType,this._tag)},e.exports={Sign:v,Verify:w,createSign:v,createVerify:w}},function(e,t,r){(t=e.exports=r(411)).Stream=t,t.Readable=t,t.Writable=r(415),t.Duplex=r(114),t.Transform=r(416),t.PassThrough=r(784),t.finished=r(252),t.pipeline=r(785)},,function(e,t,r){"use strict";function n(object,e){var t=Object.keys(object);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(object);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(object,e).enumerable}))),t.push.apply(t,r)}return t}function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(e,t){for(var i=0;i<t.length;i++){var r=t[i];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var f=r(15).Buffer,h=r(781).inspect,l=h&&h.custom||"inspect";e.exports=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.head=null,this.tail=null,this.length=0}var t,r,d;return t=e,r=[{key:"push",value:function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length}},{key:"unshift",value:function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length}},{key:"shift",value:function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(s){if(0===this.length)return"";for(var p=this.head,e=""+p.data;p=p.next;)e+=s+p.data;return e}},{key:"concat",value:function(e){if(0===this.length)return f.alloc(0);for(var t,r,n,o=f.allocUnsafe(e>>>0),p=this.head,i=0;p;)t=p.data,r=o,n=i,f.prototype.copy.call(t,r,n),i+=p.data.length,p=p.next;return o}},{key:"consume",value:function(e,t){var r;return e<this.head.data.length?(r=this.head.data.slice(0,e),this.head.data=this.head.data.slice(e)):r=e===this.head.data.length?this.shift():t?this._getString(e):this._getBuffer(e),r}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(e){var p=this.head,t=1,r=p.data;for(e-=r.length;p=p.next;){var n=p.data,o=e>n.length?n.length:e;if(o===n.length?r+=n:r+=n.slice(0,e),0==(e-=o)){o===n.length?(++t,p.next?this.head=p.next:this.head=this.tail=null):(this.head=p,p.data=n.slice(o));break}++t}return this.length-=t,r}},{key:"_getBuffer",value:function(e){var t=f.allocUnsafe(e),p=this.head,r=1;for(p.data.copy(t),e-=p.data.length;p=p.next;){var n=p.data,o=e>n.length?n.length:e;if(n.copy(t,t.length-e,0,o),0==(e-=o)){o===n.length?(++r,p.next?this.head=p.next:this.head=this.tail=null):(this.head=p,p.data=n.slice(o));break}++r}return this.length-=r,t}},{key:l,value:function(e,t){return h(this,function(e){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?n(Object(source),!0).forEach((function(t){o(e,t,source[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(source)):n(Object(source)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(source,t))}))}return e}({},t,{depth:0,customInspect:!1}))}}],r&&c(t.prototype,r),d&&c(t,d),e}()},,function(e,t,r){"use strict";(function(t){var n;function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var c=r(252),f=Symbol("lastResolve"),h=Symbol("lastReject"),l=Symbol("error"),d=Symbol("ended"),y=Symbol("lastPromise"),m=Symbol("handlePromise"),v=Symbol("stream");function w(e,t){return{value:e,done:t}}function _(e){var t=e[f];if(null!==t){var data=e[v].read();null!==data&&(e[y]=null,e[f]=null,e[h]=null,t(w(data,!1)))}}function E(e){t.nextTick(_,e)}var S=Object.getPrototypeOf((function(){}
vendor: 1,379 bytes, line 2
2)),C=Object.setPrototypeOf((o(n={get stream(){return this[v]},next:function(){var e=this,r=this[l];if(null!==r)return Promise.reject(r);if(this[d])return Promise.resolve(w(void 0,!0));if(this[v].destroyed)return new Promise((function(r,n){t.nextTick((function(){e[l]?n(e[l]):r(w(void 0,!0))}))}));var n,o=this[y];if(o)n=new Promise(function(e,t){return function(r,n){e.then((function(){t[d]?r(w(void 0,!0)):t[m](r,n)}),n)}}(o,this));else{var data=this[v].read();if(null!==data)return Promise.resolve(w(data,!1));n=new Promise(this[m])}return this[y]=n,n}},Symbol.asyncIterator,(function(){return this})),o(n,"return",(function(){var e=this;return new Promise((function(t,r){e[v].destroy(null,(function(e){e?r(e):t(w(void 0,!0))}))}))})),n),S);e.exports=function(e){var t,r=Object.create(C,(o(t={},v,{value:e,writable:!0}),o(t,f,{value:null,writable:!0}),o(t,h,{value:null,writable:!0}),o(t,l,{value:null,writable:!0}),o(t,d,{value:e._readableState.endEmitted,writable:!0}),o(t,m,{value:function(e,t){var data=r[v].read();data?(r[y]=null,r[f]=null,r[h]=null,e(w(data,!1))):(r[f]=e,r[h]=t)},writable:!0}),t));return r[y]=null,c(e,(function(e){if(e&&"ERR_STREAM_PREMATURE_CLOSE"!==e.code){var t=r[h];return null!==t&&(r[y]=null,r[f]=null,r[h]=null,t(e)),void(r[l]=e)}var n=r[f];null!==n&&(r[y]=null,r[f]=null,r[h]=null,n(w(void 0,!0))),r[d]=!0})),e.on("readable",E.bind(null,r)),r}}
vendor: 3,902 bytes, line 2
2).call(this,r(17))},function(e,t){e.exports=function(){throw new Error("Readable.from is not available in the browser")}},function(e,t,r){"use strict";e.exports=o;var n=r(416);function o(e){if(!(this instanceof o))return new o(e);n.call(this,e)}r(5)(o,n),o.prototype._transform=function(e,t,r){r(null,e)}},function(e,t,r){"use strict";var n;var o=r(113).codes,c=o.ERR_MISSING_ARGS,f=o.ERR_STREAM_DESTROYED;function h(e){if(e)throw e}function l(e,t,o,c){c=function(e){var t=!1;return function(){t||(t=!0,e.apply(void 0,arguments))}}(c);var h=!1;e.on("close",(function(){h=!0})),void 0===n&&(n=r(252)),n(e,{readable:t,writable:o},(function(e){if(e)return c(e);h=!0,c()}));var l=!1;return function(t){if(!h&&!l)return l=!0,function(e){return e.setHeader&&"function"==typeof e.abort}(e)?e.abort():"function"==typeof e.destroy?e.destroy():void c(t||new f("pipe"))}}function d(e){e()}function y(e,t){return e.pipe(t)}function m(e){return e.length?"function"!=typeof e[e.length-1]?h:e.pop():h}e.exports=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n,o=m(t);if(Array.isArray(t[0])&&(t=t[0]),t.length<2)throw new c("streams");var f=t.map((function(e,i){var r=i<t.length-1;return l(e,r,i>0,(function(e){n||(n=e),e&&f.forEach(d),r||(f.forEach(d),o(n))}))}));return t.reduce(y)}},function(e,t,r){var n=r(8).Buffer,o=r(394),c=r(253),f=r(254).ec,h=r(422),l=r(179),d=r(428);function y(e,q,t,r){if((e=n.from(e.toArray())).length<q.byteLength()){var c=n.alloc(q.byteLength()-e.length);e=n.concat([c,e])}var f=t.length,h=function(e,q){e=(e=m(e,q)).mod(q);var t=n.from(e.toArray());if(t.length<q.byteLength()){var r=n.alloc(q.byteLength()-t.length);t=n.concat([r,t])}return t}(t,q),l=n.alloc(f);l.fill(1);var d=n.alloc(f);return d=o(r,d).update(l).update(n.from([0])).update(e).update(h).digest(),l=o(r,d).update(l).digest(),{k:d=o(r,d).update(l).update(n.from([1])).update(e).update(h).digest(),v:l=o(r,d).update(l).digest()}}function m(e,q){var t=new h(e),r=(e.length<<3)-q.bitLength();return r>0&&t.ishrn(r),t}function v(q,e,t){var r,c;do{for(r=n.alloc(0);8*r.length<q.bitLength();)e.v=o(t,e.k).update(e.v).digest(),r=n.concat([r,e.v]);c=m(r,q),e.k=o(t,e.k).update(e.v).update(n.from([0])).digest(),e.v=o(t,e.k).update(e.v).digest()}while(-1!==c.cmp(q));return c}function w(g,e,p,q){return g.toRed(h.mont(p)).redPow(e).fromRed().mod(q)}e.exports=function(e,t,r,o,_){var E=l(t);if(E.curve){if("ecdsa"!==o&&"ecdsa/rsa"!==o)throw new Error("wrong private key type");return function(e,t){var r=d[t.curve.join(".")];if(!r)throw new Error("unknown curve "+t.curve.join("."));var o=new f(r).keyFromPrivate(t.privateKey).sign(e);return n.from(o.toDER())}(e,E)}if("dsa"===E.type){if("dsa"!==o)throw new Error("wrong private key type");return function(e,t,r){var o,c=t.params.priv_key,p=t.params.p,q=t.params.q,g=t.params.g,f=new h(0),l=m(e,q).mod(q),s=!1,d=y(c,q,e,r);for(;!1===s;)f=w(g,o=v(q,d,r),p,q),0===(s=o.invm(q).imul(l.add(c.mul(f))).mod(q)).cmpn(0)&&(s=!1,f=new h(0));return function(e,s){e=e.toArray(),s=s.toArray(),128&e[0]&&(e=[0].concat(e));128&s[0]&&(s=[0].concat(s));var t=[48,e.length+s.length+4,2,e.length];return t=t.concat(e,[2,s.length],s),n.from(t)}(f,s)}(e,E,r)}if("rsa"!==o&&"ecdsa/rsa"!==o)throw new Error("wrong private key type");e=n.concat([_,e]);for(var S=E.modulus.byteLength(),C=[0,1];e.length+C.length+1<S;)C.push(255);C.push(0);for(var i=-1;++i<e.length;)C.push(e[i]);return c(C,E)},e.exports.getKey=y,e.exports.makeKey=v},function(e,t,r){(function(e){!function(e,t){"use strict";function n(e,t){if(!e)throw new Error(t||"Assertion failed")}function o(e,t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}function c(e,base,t){if(c.isBN(e))return e;this.negative=0,this.words=null,this.length=0,this.red=null,null!==e&&("le"!==base&&"be"!==base||(t=base,base=10),this._init(e||0,base||10,t||"be"))}var f;
vendor: 4,530 bytes, line 2
2"object"==typeof e?e.exports=c:t.BN=c,c.BN=c,c.wordSize=26;try{f="undefined"!=typeof window&&void 0!==window.Buffer?window.Buffer:r(788).Buffer}catch(e){}function h(e,t){var r=e.charCodeAt(t);return r>=48&&r<=57?r-48:r>=65&&r<=70?r-55:r>=97&&r<=102?r-87:void n(!1,"Invalid character in "+e)}function l(e,t,r){var n=h(e,r);return r-1>=t&&(n|=h(e,r-1)<<4),n}function d(e,t,r,o){for(var c=0,b=0,f=Math.min(e.length,r),i=t;i<f;i++){var h=e.charCodeAt(i)-48;c*=o,b=h>=49?h-49+10:h>=17?h-17+10:h,n(h>=0&&b<o,"Invalid character"),c+=b}return c}function y(e,t){e.words=t.words,e.length=t.length,e.negative=t.negative,e.red=t.red}if(c.isBN=function(e){return e instanceof c||null!==e&&"object"==typeof e&&e.constructor.wordSize===c.wordSize&&Array.isArray(e.words)},c.max=function(e,t){return e.cmp(t)>0?e:t},c.min=function(e,t){return e.cmp(t)<0?e:t},c.prototype._init=function(e,base,t){if("number"==typeof e)return this._initNumber(e,base,t);if("object"==typeof e)return this._initArray(e,base,t);"hex"===base&&(base=16),n(base===(0|base)&&base>=2&&base<=36);var r=0;"-"===(e=e.toString().replace(/\s+/g,""))[0]&&(r++,this.negative=1),r<e.length&&(16===base?this._parseHex(e,r,t):(this._parseBase(e,base,r),"le"===t&&this._initArray(this.toArray(),base,t)))},c.prototype._initNumber=function(e,base,t){e<0&&(this.negative=1,e=-e),e<67108864?(this.words=[67108863&e],this.length=1):e<4503599627370496?(this.words=[67108863&e,e/67108864&67108863],this.length=2):(n(e<9007199254740992),this.words=[67108863&e,e/67108864&67108863,1],this.length=3),"le"===t&&this._initArray(this.toArray(),base,t)},c.prototype._initArray=function(e,base,t){if(n("number"==typeof e.length),e.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(e.length/3),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var r,o,c=0;if("be"===t)for(i=e.length-1,r=0;i>=0;i-=3)o=e[i]|e[i-1]<<8|e[i-2]<<16,this.words[r]|=o<<c&67108863,this.words[r+1]=o>>>26-c&67108863,(c+=24)>=26&&(c-=26,r++);else if("le"===t)for(i=0,r=0;i<e.length;i+=3)o=e[i]|e[i+1]<<8|e[i+2]<<16,this.words[r]|=o<<c&67108863,this.words[r+1]=o>>>26-c&67108863,(c+=24)>=26&&(c-=26,r++);return this._strip()},c.prototype._parseHex=function(e,t,r){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var n,o=0,c=0;if("be"===r)for(i=e.length-1;i>=t;i-=2)n=l(e,t,i)<<o,this.words[c]|=67108863&n,o>=18?(o-=18,c+=1,this.words[c]|=n>>>26):o+=8;else for(i=(e.length-t)%2==0?t+1:t;i<e.length;i+=2)n=l(e,t,i)<<o,this.words[c]|=67108863&n,o>=18?(o-=18,c+=1,this.words[c]|=n>>>26):o+=8;this._strip()},c.prototype._parseBase=function(e,base,t){this.words=[0],this.length=1;for(var r=0,n=1;n<=67108863;n*=base)r++;r--,n=n/base|0;for(var o=e.length-t,c=o%r,f=Math.min(o,o-c)+t,h=0,i=t;i<f;i+=r)h=d(e,i,i+r,base),this.imuln(n),this.words[0]+h<67108864?this.words[0]+=h:this._iaddn(h);if(0!==c){var l=1;for(h=d(e,i,e.length,base),i=0;i<c;i++)l*=base;this.imuln(l),this.words[0]+h<67108864?this.words[0]+=h:this._iaddn(h)}this._strip()},c.prototype.copy=function(e){e.words=new Array(this.length);for(var i=0;i<this.length;i++)e.words[i]=this.words[i];e.length=this.length,e.negative=this.negative,e.red=this.red},c.prototype._move=function(e){y(e,this)},c.prototype.clone=function(){var e=new c(null);return this.copy(e),e},c.prototype._expand=function(e){for(;this.length<e;)this.words[this.length++]=0;return this},c.prototype._strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},c.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},"undefined"!=typeof Symbol&&"function"==typeof Symbol.for)try{c.prototype[Symbol.for("nodejs.util.inspect.custom")]=m}catch(e){c.prototype.inspect=m}else c.prototype.inspect=m;function m(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"}var v=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],w=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],_=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16
vendor: 35,002 bytes, line 2
2777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];c.prototype.toString=function(base,e){var t;if(e=0|e||1,16===(base=base||10)||"hex"===base){t="";for(var r=0,o=0,i=0;i<this.length;i++){var c=this.words[i],f=(16777215&(c<<r|o)).toString(16);o=c>>>24-r&16777215,(r+=2)>=26&&(r-=26,i--),t=0!==o||i!==this.length-1?v[6-f.length]+f+t:f+t}for(0!==o&&(t=o.toString(16)+t);t.length%e!=0;)t="0"+t;return 0!==this.negative&&(t="-"+t),t}if(base===(0|base)&&base>=2&&base<=36){var h=w[base],l=_[base];t="";var d=this.clone();for(d.negative=0;!d.isZero();){var y=d.modrn(l).toString(base);t=(d=d.idivn(l)).isZero()?y+t:v[h-y.length]+y+t}for(this.isZero()&&(t="0"+t);t.length%e!=0;)t="0"+t;return 0!==this.negative&&(t="-"+t),t}n(!1,"Base should be between 2 and 36")},c.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},c.prototype.toJSON=function(){return this.toString(16,2)},f&&(c.prototype.toBuffer=function(e,t){return this.toArrayLike(f,e,t)}),c.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)};function E(e,t,r){r.negative=t.negative^e.negative;var n=e.length+t.length|0;r.length=n,n=n-1|0;var a=0|e.words[0],b=0|t.words[0],o=a*b,c=67108863&o,f=o/67108864|0;r.words[0]=c;for(var h=1;h<n;h++){for(var l=f>>>26,d=67108863&f,y=Math.min(h,t.length-1),m=Math.max(0,h-e.length+1);m<=y;m++){var i=h-m|0;l+=(o=(a=0|e.words[i])*(b=0|t.words[m])+d)/67108864|0,d=67108863&o}r.words[h]=0|d,f=0|l}return 0!==f?r.words[h]=0|f:r.length--,r._strip()}c.prototype.toArrayLike=function(e,t,r){this._strip();var o=this.byteLength(),c=r||Math.max(1,o);n(o<=c,"byte array longer than desired length"),n(c>0,"Requested array length <= 0");var f=function(e,t){return e.allocUnsafe?e.allocUnsafe(t):new e(t)}(e,c);return this["_toArrayLike"+("le"===t?"LE":"BE")](f,o),f},c.prototype._toArrayLikeLE=function(e,t){for(var r=0,n=0,i=0,o=0;i<this.length;i++){var c=this.words[i]<<o|n;e[r++]=255&c,r<e.length&&(e[r++]=c>>8&255),r<e.length&&(e[r++]=c>>16&255),6===o?(r<e.length&&(e[r++]=c>>24&255),n=0,o=0):(n=c>>>24,o+=2)}if(r<e.length)for(e[r++]=n;r<e.length;)e[r++]=0},c.prototype._toArrayLikeBE=function(e,t){for(var r=e.length-1,n=0,i=0,o=0;i<this.length;i++){var c=this.words[i]<<o|n;e[r--]=255&c,r>=0&&(e[r--]=c>>8&255),r>=0&&(e[r--]=c>>16&255),6===o?(r>=0&&(e[r--]=c>>24&255),n=0,o=0):(n=c>>>24,o+=2)}if(r>=0)for(e[r--]=n;r>=0;)e[r--]=0},Math.clz32?c.prototype._countBits=function(e){return 32-Math.clz32(e)}:c.prototype._countBits=function(e){var t=e,r=0;return t>=4096&&(r+=13,t>>>=13),t>=64&&(r+=7,t>>>=7),t>=8&&(r+=4,t>>>=4),t>=2&&(r+=2,t>>>=2),r+t},c.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,r=0;return 0==(8191&t)&&(r+=13,t>>>=13),0==(127&t)&&(r+=7,t>>>=7),0==(15&t)&&(r+=4,t>>>=4),0==(3&t)&&(r+=2,t>>>=2),0==(1&t)&&r++,r},c.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return 26*(this.length-1)+t},c.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,i=0;i<this.length;i++){var b=this._zeroBits(this.words[i]);if(e+=b,26!==b)break}return e},c.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},c.prototype.toTwos=function(e){return 0!==this.negative?this.abs().inotn(e).iaddn(1):this.clone()},c.prototype.fromTwos=function(e){return this.testn(e-1)?this.notn(e).iaddn(1).ineg():this.clone()},c.prototype.isNeg=function(){return 0!==this.negative},c.prototype.neg=function(){return this.clone().ineg()},c.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},c.prototype.iuor=function(e){for(;this.length<e.length;)this.words[this.length++]=0;for(var i=0;i<e.length;i++)this.words[i]=this.words[i]|e.words[i];return this._strip()},c.prototype.ior=function(e){return n(0==(this.negative|e.negative)),this.iuor(e)},c.prototype.or=function(e){return this.length>e.length?this.clone().ior(e):e.clone().ior(this)},c.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},c.prototype.iuand=function(e){var b;b=this.length>e.length?e:this;for(var i=0;i<b.length;i++)this.words[i]=this.words[i]&e.words[i];return this.length=b.length,this._strip()},c.prototype.iand=function(e){return n(0==(this.negative|e.negative)),this.iuand(e)},c.prototype.and=function(e){return this.length>e.length?this.clone().iand(e):e.clone().iand(this)},c.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},c.prototype.iuxor=function(e){var a,b;this.length>e.length?(a=this,b=e):(a=e,b=this);for(var i=0;i<b.length;i++)this.words[i]=a.words[i]^b.words[i];if(this!==a)for(;i<a.length;i++)this.words[i]=a.words[i];return this.length=a.length,this._strip()},c.prototype.ixor=function(e){return n(0==(this.negative|e.negative)),this.iuxor(e)},c.prototype.xor=function(e){return this.length>e.length?this.clone().ixor(e):e.clone().ixor(this)},c.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},c.prototype.inotn=function(e){n("number"==typeof e&&e>=0);var t=0|Math.ceil(e/26),r=e%26;this._expand(t),r>0&&t--;for(var i=0;i<t;i++)this.words[i]=67108863&~this.words[i];return r>0&&(this.words[i]=~this.words[i]&67108863>>26-r),this._strip()},c.prototype.notn=function(e){return this.clone().inotn(e)},c.prototype.setn=function(e,t){n("number"==typeof e&&e>=0);var r=e/26|0,o=e%26;return this._expand(r+1),this.words[r]=t?this.words[r]|1<<o:this.words[r]&~(1<<o),this._strip()},c.prototype.iadd=function(e){var t,a,b;if(0!==this.negative&&0===e.negative)return this.negative=0,t=this.isub(e),this.negative^=1,this._normSign();if(0===this.negative&&0!==e.negative)return e.negative=0,t=this.isub(e),e.negative=1,t._normSign();this.length>e.length?(a=this,b=e):(a=e,b=this);for(var r=0,i=0;i<b.length;i++)t=(0|a.words[i])+(0|b.words[i])+r,this.words[i]=67108863&t,r=t>>>26;for(;0!==r&&i<a.length;i++)t=(0|a.words[i])+r,this.words[i]=67108863&t,r=t>>>26;if(this.length=a.length,0!==r)this.words[this.length]=r,this.length++;else if(a!==this)for(;i<a.length;i++)this.words[i]=a.words[i];return this},c.prototype.add=function(e){var t;return 0!==e.negative&&0===this.negative?(e.negative=0,t=this.sub(e),e.negative^=1,t):0===e.negative&&0!==this.negative?(this.negative=0,t=e.sub(this),this.negative=1,t):this.length>e.length?this.clone().iadd(e):e.clone().iadd(this)},c.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t=this.iadd(e);return e.negative=1,t._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var a,b,r=this.cmp(e);if(0===r)return this.negative=0,this.length=1,this.words[0]=0,this;r>0?(a=this,b=e):(a=e,b=this);for(var n=0,i=0;i<b.length;i++)n=(t=(0|a.words[i])-(0|b.words[i])+n)>>26,this.words[i]=67108863&t;for(;0!==n&&i<a.length;i++)n=(t=(0|a.words[i])+n)>>26,this.words[i]=67108863&t;if(0===n&&i<a.length&&a!==this)for(;i<a.length;i++)this.words[i]=a.words[i];return this.length=Math.max(this.length,i),a!==this&&(this.negative=1),this._strip()},c.prototype.sub=function(e){return this.clone().isub(e)};var S=function(e,t,r){var n,o,c,a=e.words,b=t.words,f=r.words,h=0,l=0|a[0],d=8191&l,y=l>>>13,m=0|a[1],v=8191&m,w=m>>>13,_=0|a[2],E=8191&_,S=_>>>13,C=0|a[3],A=8191&C,T=C>>>13,k=0|a[4],I=8191&k,M=k>>>13,R=0|a[5],x=8191&R,B=R>>>13,N=0|a[6],O=8191&N,L=N>>>13,P=0|a[7],D=8191&P,j=P>>>13,U=0|a[8],F=8191&U,V=U>>>13,K=0|a[9],z=8191&K,H=K>>>13,G=0|b[0],$=8191&G,W=G>>>13,Y=0|b[1],X=8191&Y,J=Y>>>13,Q=0|b[2],Z=8191&Q,ee=Q>>>13,te=0|b[3],re=8191&te,ne=te>>>13,ie=0|b[4],ae=8191&ie,oe=ie>>>13,se=0|b[5],ue=8191&se,ce=se>>>13,fe=0|b[6],he=8191&fe,le=fe>>>13,de=0|b[7],pe=8191&de,ge=de>>>13,ye=0|b[8],me=8191&ye,ve=ye>>>13,be=0|b[9],we=8191&be,_e=be>>>13;r.negative=e.negative^t.negative,r.length=19;var Ee=(h+(n=Math.imul(d,$))|0)+((8191&(o=(o=Math.imul(d,W))+Math.imul(y,$)|0))<<13)|0;h=((c=Math.imul(y,W))+(o>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,n=Math.imul(v,$),o=(o=Math.imul(v,W))+Math.imul(w,$)|0,c=Math.imul(w,W);var Se=(h+(n=n+Math.imul(d,X)|0)|0)+((8191&(o=(o=o+Math.imul(d,J)|0)+Math.imul(y,X)|0))<<13)|0;h=((c=c+Math.imul(y,J)|0)+(o>>>13)|0)+(Se>>>26)|0,Se&=67108863,n=Math.imul(E,$),o=(o=Math.imul(E,W))+Math.imul(S,$)|0,c=Math.imul(S,W),n=n+Math.imul(v,X)|0,o=(o=o+Math.imul(v,J)|0)+Math.imul(w,X)|0,c=c+Math.imul(w,J)|0;var Ce=(h+(n=n+Math.imul(d,Z)|0)|0)+((8191&(o=(o=o+Math.imul(d,ee)|0)+Math.imul(y,Z)|0))<<13)|0;h=((c=c+Math.imul(y,ee)|0)+(o>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,n=Math.imul(A,$),o=(o=Math.imul(A,W))+Math.imul(T,$)|0,c=Math.imul(T,W),n=n+Math.imul(E,X)|0,o=(o=o+Math.imul(E,J)|0)+Math.imul(S,X)|0,c=c+Math.imul(S,J)|0,n=n+Math.imul(v,Z)|0,o=(o=o+Math.imul(v,ee)|0)+Math.imul(w,Z)|0,c=c+Math.imul(w,ee)|0;var Ae=(h+(n=n+Math.imul(d,re)|0)|0)+((8191&(o=(o=o+Math.imul(d,ne)|0)+Math.imul(y,re)|0))<<13)|0;h=((c=c+Math.imul(y,ne)|0)+(o>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,n=Math.imul(I,$),o=(o=Math.imul(I,W))+Math.imul(M,$)|0,c=Math.imul(M,W),n=n+Math.imul(A,X)|0,o=(o=o+Math.imul(A,J)|0)+Math.imul(T,X)|0,c=c+Math.imul(T,J)|0,n=n+Math.imul(E,Z)|0,o=(o=o+Math.imul(E,ee)|0)+Math.imul(S,Z)|0,c=c+Math.imul(S,ee)|0,n=n+Math.imul(v,re)|0,o=(o=o+Math.imul(v,ne)|0)+Math.imul(w,re)|0,c=c+Math.imul(w,ne)|0;var Te=(h+(n=n+Math.imul(d,ae)|0)|0)+((8191&(o=(o=o+Math.imul(d,oe)|0)+Math.imul(y,ae)|0))<<13)|0;h=((c=c+Math.imul(y,oe)|0)+(o>>>13)|0)+(Te>>>26)|0,Te&=67108863,n=Math.imul(x,$),o=(o=Math.imul(x,W))+Math.imul(B,$)|0,c=Math.imul(B,W),n=n+Math.imul(I,X)|0,o=(o=o+Math.imul(I,J)|0)+Math.imul(M,X)|0,c=c+Math.imul(M,J)|0,n=n+Math.imul(A,Z)|0,o=(o=o+Math.imul(A,ee)|0)+Math.imul(T,Z)|0,c=c+Math.imul(T,ee)|0,n=n+Math.imul(E,re)|0,o=(o=o+Math.imul(E,ne)|0)+Math.imul(S,re)|0,c=c+Math.imul(S,ne)|0,n=n+Math.imul(v,ae)|0,o=(o=o+Math.imul(v,oe)|0)+Math.imul(w,ae)|0,c=c+Math.imul(w,oe)|0;var ke=(h+(n=n+Math.imul(d,ue)|0)|0)+((8191&(o=(o=o+Math.imul(d,ce)|0)+Math.imul(y,ue)|0))<<13)|0;h=((c=c+Math.imul(y,ce)|0)+(o>>>13)|0)+(ke>>>26)|0,ke&=67108863,n=Math.imul(O,$),o=(o=Math.imul(O,W))+Math.imul(L,$)|0,c=Math.imul(L,W),n=n+Math.imul(x,X)|0,o=(o=o+Math.imul(x,J)|0)+Math.imul(B,X)|0,c=c+Math.imul(B,J)|0,n=n+Math.imul(I,Z)|0,o=(o=o+Math.imul(I,ee)|0)+Math.imul(M,Z)|0,c=c+Math.imul(M,ee)|0,n=n+Math.imul(A,re)|0,o=(o=o+Math.imul(A,ne)|0)+Math.imul(T,re)|0,c=c+Math.imul(T,ne)|0,n=n+Math.imul(E,ae)|0,o=(o=o+Math.imul(E,oe)|0)+Math.imul(S,ae)|0,c=c+Math.imul(S,oe)|0,n=n+Math.imul(v,ue)|0,o=(o=o+Math.imul(v,ce)|0)+Math.imul(w,ue)|0,c=c+Math.imul(w,ce)|0;var Ie=(h+(n=n+Math.imul(d,he)|0)|0)+((8191&(o=(o=o+Math.imul(d,le)|0)+Math.imul(y,he)|0))<<13)|0;h=((c=c+Math.imul(y,le)|0)+(o>>>13)|0)+(Ie>>>26)|0,Ie&=67108863,n=Math.imul(D,$),o=(o=Math.imul(D,W))+Math.imul(j,$)|0,c=Math.imul(j,W),n=n+Math.imul(O,X)|0,o=(o=o+Math.imul(O,J)|0)+Math.imul(L,X)|0,c=c+Math.imul(L,J)|0,n=n+Math.imul(x,Z)|0,o=(o=o+Math.imul(x,ee)|0)+Math.imul(B,Z)|0,c=c+Math.imul(B,ee)|0,n=n+Math.imul(I,re)|0,o=(o=o+Math.imul(I,ne)|0)+Math.imul(M,re)|0,c=c+Math.imul(M,ne)|0,n=n+Math.imul(A,ae)|0,o=(o=o+Math.imul(A,oe)|0)+Math.imul(T,ae)|0,c=c+Math.imul(T,oe)|0,n=n+Math.imul(E,ue)|0,o=(o=o+Math.imul(E,ce)|0)+Math.imul(S,ue)|0,c=c+Math.imul(S,ce)|0,n=n+Math.imul(v,he)|0,o=(o=o+Math.imul(v,le)|0)+Math.imul(w,he)|0,c=c+Math.imul(w,le)|0;var Me=(h+(n=n+Math.imul(d,pe)|0)|0)+((8191&(o=(o=o+Math.imul(d,ge)|0)+Math.imul(y,pe)|0))<<13)|0;h=((c=c+Math.imul(y,ge)|0)+(o>>>13)|0)+(Me>>>26)|0,Me&=67108863,n=Math.imul(F,$),o=(o=Math.imul(F,W))+Math.imul(V,$)|0,c=Math.imul(V,W),n=n+Math.imul(D,X)|0,o=(o=o+Math.imul(D,J)|0)+Math.imul(j,X)|0,c=c+Math.imul(j,J)|0,n=n+Math.imul(O,Z)|0,o=(o=o+Math.imul(O,ee)|0)+Math.imul(L,Z)|0,c=c+Math.imul(L,ee)|0,n=n+Math.imul(x,re)|0,o=(o=o+Math.imul(x,ne)|0)+Math.imul(B,re)|0,c=c+Math.imul(B,ne)|0,n=n+Math.imul(I,ae)|0,o=(o=o+Math.imul(I,oe)|0)+Math.imul(M,ae)|0,c=c+Math.imul(M,oe)|0,n=n+Math.imul(A,ue)|0,o=(o=o+Math.imul(A,ce)|0)+Math.imul(T,ue)|0,c=c+Math.imul(T,ce)|0,n=n+Math.imul(E,he)|0,o=(o=o+Math.imul(E,le)|0)+Math.imul(S,he)|0,c=c+Math.imul(S,le)|0,n=n+Math.imul(v,pe)|0,o=(o=o+Math.imul(v,ge)|0)+Math.imul(w,pe)|0,c=c+Math.imul(w,ge)|0;var Re=(h+(n=n+Math.imul(d,me)|0)|0)+((8191&(o=(o=o+Math.imul(d,ve)|0)+Math.imul(y,me)|0))<<13)|0;h=((c=c+Math.imul(y,ve)|0)+(o>>>13)|0)+(Re>>>26)|0,Re&=67108863,n=Math.imul(z,$),o=(o=Math.imul(z,W))+Math.imul(H,$)|0,c=Math.imul(H,W),n=n+Math.imul(F,X)|0,o=(o=o+Math.imul(F,J)|0)+Math.imul(V,X)|0,c=c+Math.imul(V,J)|0,n=n+Math.imul(D,Z)|0,o=(o=o+Math.imul(D,ee)|0)+Math.imul(j,Z)|0,c=c+Math.imul(j,ee)|0,n=n+Math.imul(O,re)|0,o=(o=o+Math.imul(O,ne)|0)+Math.imul(L,re)|0,c=c+Math.imul(L,ne)|0,n=n+Math.imul(x,ae)|0,o=(o=o+Math.imul(x,oe)|0)+Math.imul(B,ae)|0,c=c+Math.imul(B,oe)|0,n=n+Math.imul(I,ue)|0,o=(o=o+Math.imul(I,ce)|0)+Math.imul(M,ue)|0,c=c+Math.imul(M,ce)|0,n=n+Math.imul(A,he)|0,o=(o=o+Math.imul(A,le)|0)+Math.imul(T,he)|0,c=c+Math.imul(T,le)|0,n=n+Math.imul(E,pe)|0,o=(o=o+Math.imul(E,ge)|0)+Math.imul(S,pe)|0,c=c+Math.imul(S,ge)|0,n=n+Math.imul(v,me)|0,o=(o=o+Math.imul(v,ve)|0)+Math.imul(w,me)|0,c=c+Math.imul(w,ve)|0;var xe=(h+(n=n+Math.imul(d,we)|0)|0)+((8191&(o=(o=o+Math.imul(d,_e)|0)+Math.imul(y,we)|0))<<13)|0;h=((c=c+Math.imul(y,_e)|0)+(o>>>13)|0)+(xe>>>26)|0,xe&=67108863,n=Math.imul(z,X),o=(o=Math.imul(z,J))+Math.imul(H,X)|0,c=Math.imul(H,J),n=n+Math.imul(F,Z)|0,o=(o=o+Math.imul(F,ee)|0)+Math.imul(V,Z)|0,c=c+Math.imul(V,ee)|0,n=n+Math.imul(D,re)|0,o=(o=o+Math.imul(D,ne)|0)+Math.imul(j,re)|0,c=c+Math.imul(j,ne)|0,n=n+Math.imul(O,ae)|0,o=(o=o+Math.imul(O,oe)|0)+Math.imul(L,ae)|0,c=c+Math.imul(L,oe)|0,n=n+Math.imul(x,ue)|0,o=(o=o+Math.imul(x,ce)|0)+Math.imul(B,ue)|0,c=c+Math.imul(B,ce)|0,n=n+Math.imul(I,he)|0,o=(o=o+Math.imul(I,le)|0)+Math.imul(M,he)|0,c=c+Math.imul(M,le)|0,n=n+Math.imul(A,pe)|0,o=(o=o+Math.imul(A,ge)|0)+Math.imul(T,pe)|0,c=c+Math.imul(T,ge)|0,n=n+Math.imul(E,me)|0,o=(o=o+Math.imul(E,ve)|0)+Math.imul(S,me)|0,c=c+Math.imul(S,ve)|0;var Be=(h+(n=n+Math.imul(v,we)|0)|0)+((8191&(o=(o=o+Math.imul(v,_e)|0)+Math.imul(w,we)|0))<<13)|0;h=((c=c+Math.imul(w,_e)|0)+(o>>>13)|0)+(Be>>>26)|0,Be&=67108863,n=Math.imul(z,Z),o=(o=Math.imul(z,ee))+Math.imul(H,Z)|0,c=Math.imul(H,ee),n=n+Math.imul(F,re)|0,o=(o=o+Math.imul(F,ne)|0)+Math.imul(V,re)|0,c=c+Math.imul(V,ne)|0,n=n+Math.imul(D,ae)|0,o=(o=o+Math.imul(D,oe)|0)+Math.imul(j,ae)|0,c=c+Math.imul(j,oe)|0,n=n+Math.imul(O,ue)|0,o=(o=o+Math.imul(O,ce)|0)+Math.imul(L,ue)|0,c=c+Math.imul(L,ce)|0,n=n+Math.imul(x,he)|0,o=(o=o+Math.imul(x,le)|0)+Math.imul(B,he)|0,c=c+Math.imul(B,le)|0,n=n+Math.imul(I,pe)|0,o=(o=o+Math.imul(I,ge)|0)+Math.imul(M,pe)|0,c=c+Math.imul(M,ge)|0,n=n+Math.imul(A,me)|0,o=(o=o+Math.imul(A,ve)|0)+Math.imul(T,me)|0,c=c+Math.imul(T,ve)|0;var Ne=(h+(n=n+Math.imul(E,we)|0)|0)+((8191&(o=(o=o+Math.imul(E,_e)|0)+Math.imul(S,we)|0))<<13)|0;h=((c=c+Math.imul(S,_e)|0)+(o>>>13)|0)+(Ne>>>26)|0,Ne&=67108863,n=Math.imul(z,re),o=(o=Math.imul(z,ne))+Math.imul(H,re)|0,c=Math.imul(H,ne),n=n+Math.imul(F,ae)|0,o=(o=o+Math.imul(F,oe)|0)+Math.imul(V,ae)|0,c=c+Math.imul(V,oe)|0,n=n+Math.imul(D,ue)|0,o=(o=o+Math.imul(D,ce)|0)+Math.imul(j,ue)|0,c=c+Math.imul(j,ce)|0,n=n+Math.imul(O,he)|0,o=(o=o+Math.imul(O,le)|0)+Math.imul(L,he)|0,c=c+Math.imul(L,le)|0,n=n+Math.imul(x,pe)|0,o=(o=o+Math.imul(x,ge)|0)+Math.imul(B,pe)|0,c=c+Math.imul(B,ge)|0,n=n+Math.imul(I,me)|0,o=(o=o+Math.imul(I,ve)|0)+Math.imul(M,me)|0,c=c+Math.imul(M,ve)|0;var Oe=(h+(n=n+Math.imul(A,we)|0)|0)+((8191&(o=(o=o+Math.imul(A,_e)|0)+Math.imul(T,we)|0))<<13)|0;h=((c=c+Math.imul(T,_e)|0)+(o>>>13)|0)+(Oe>>>26)|0,Oe&=67108863,n=Math.imul(z,ae),o=(o=Math.imul(z,oe))+Math.imul(H,ae)|0,c=Math.imul(H,oe),n=n+Math.imul(F,ue)|0,o=(o=o+Math.imul(F,ce)|0)+Math.imul(V,ue)|0,c=c+Math.imul(V,ce)|0,n=n+Math.imul(D,he)|0,o=(o=o+Math.imul(D,le)|0)+Math.imul(j,he)|0,c=c+Math.imul(j,le)|0,n=n+Math.imul(O,pe)|0,o=(o=o+Math.imul(O,ge)|0)+Math.imul(L,pe)|0,c=c+Math.imul(L,ge)|0,n=n+Math.imul(x,me)|0,o=(o=o+Math.imul(x,ve)|0)+Math.imul(B,me)|0,c=c+Math.imul(B,ve)|0;var Le=(h+(n=n+Math.imul(I,we)|0)|0)+((8191&(o=(o=o+Math.imul(I,_e)|0)+Math.imul(M,we)|0))<<13)|0;h=((c=c+Math.imul(M,_e)|0)+(o>>>13)|0)+(Le>>>26)|0,Le&=67108863,n=Math.imul(z,ue),o=(o=Math.imul(z,ce))+Math.imul(H,ue)|0,c=Math.imul(H,ce),n=n+Math.imul(F,he)|0,o=(o=o+Math.imul(F,le)|0)+Math.imul(V,he)|0,c=c+Math.imul(V,le)|0,n=n+Math.imul(D,pe)|0,o=(o=o+Math.imul(D,ge)|0)+Math.imul(j,pe)|0,c=c+Math.imul(j,ge)|0,n=n+Math.imul(O,me)|0,o=(o=o+Math.imul(O,ve)|0)+Math.imul(L,me)|0,c=c+Math.imul(L,ve)|0;var Pe=(h+(n=n+Math.imul(x,we)|0)|0)+((8191&(o=(o=o+Math.imul(x,_e)|0)+Math.imul(B,we)|0))<<13)|0;h=((c=c+Math.imul(B,_e)|0)+(o>>>13)|0)+(Pe>>>26)|0,Pe&=67108863,n=Math.imul(z,he),o=(o=Math.imul(z,le))+Math.imul(H,he)|0,c=Math.imul(H,le),n=n+Math.imul(F,pe)|0,o=(o=o+Math.imul(F,ge)|0)+Math.imul(V,pe)|0,c=c+Math.imul(V,ge)|0,n=n+Math.imul(D,me)|0,o=(o=o+Math.imul(D,ve)|0)+Math.imul(j,me)|0,c=c+Math.imul(j,ve)|0;var De=(h+(n=n+Math.imul(O,we)|0)|0)+((8191&(o=(o=o+Math.imul(O,_e)|0)+Math.imul(L,we)|0))<<13)|0;h=((c=c+Math.imul(L,_e)|0)+(o>>>13)|0)+(De>>>26)|0,De&=67108863,n=Math.imul(z,pe),o=(o=Math.imul(z,ge))+Math.imul(H,pe)|0,c=Math.imul(H,ge),n=n+Math.imul(F,me)|0,o=(o=o+Math.imul(F,ve)|0)+Math.imul(V,me)|0,c=c+Math.imul(V,ve)|0;var je=(h+(n=n+Math.imul(D,we)|0)|0)+((8191&(o=(o=o+Math.imul(D,_e)|0)+Math.imul(j,we)|0))<<13)|0;h=((c=c+Math.imul(j,_e)|0)+(o>>>13)|0)+(je>>>26)|0,je&=67108863,n=Math.imul(z,me),o=(o=Math.imul(z,ve))+Math.imul(H,me)|0,c=Math.imul(H,ve);var Ue=(h+(n=n+Math.imul(F,we)|0)|0)+((8191&(o=(o=o+Math.imul(F,_e)|0)+Math.imul(V,we)|0))<<13)|0;h=((c=c+Math.imul(V,_e)|0)+(o>>>13)|0)+(Ue>>>26)|0,Ue&=67108863;var Fe=(h+(n=Math.imul(z,we))|0)+((8191&(o=(o=Math.imul(z,_e))+Math.imul(H,we)|0))<<13)|0;return h=((c=Math.imul(H,_e))+(o>>>13)|0)+(Fe>>>26)|0,Fe&=67108863,f[0]=Ee,f[1]=Se,f[2]=Ce,f[3]=Ae,f[4]=Te,f[5]=ke,f[6]=Ie,f[7]=Me,f[8]=Re,f[9]=xe,f[10]=Be,f[11]=Ne,f[12]=Oe,f[13]=Le,f[14]=Pe,f[15]=De,f[16]=je,f[17]=Ue,f[18]=Fe,0!==h&&(f[19]=h,r.length++),r};function C(e,t,r){r.negative=t.negative^e.negative,r.length=e.length+t.length;for(var n=0,o=0,c=0;c<r.length-1;c++){var f=o;o=0;for(var h=67108863&n,l=Math.min(c,t.length-1),d=Math.max(0,c-e.length+1);d<=l;d++){var i=c-d,y=(0|e.words[i])*(0|t.words[d]),m=67108863&y;h=67108863&(m=m+h|0),o+=(f=(f=f+(y/67108864|0)|0)+(m>>>26)|0)>>>26,f&=67108863}r.words[c]=h,n=f,f=o}return 0!==n?r.words[c]=n:r.length--,r._strip()}function A(e,t,r){return C(e,t,r)}function T(e,t){this.x=e,this.y=t}Math.imul||(S=E),c.prototype.mulTo=function(e,t){var r=this.length+e.length;return 10===this.length&&10===e.length?S(this,e,t):r<63?E(this,e,t):r<1024?C(this,e,t):A(this,e,t)},T.prototype.makeRBT=function(e){for(var t=new Array(e),r=c.prototype._countBits(e)-1,i=0;i<e;i++)t[i]=this.revBin(i,r,e);return t},T.prototype.revBin=function(e,t,r){if(0===e||e===r-1)return e;for(var n=0,i=0;i<t;i++)n|=(1&e)<<t-i-1,e>>=1;return n},T.prototype.permute=function(e,t,r,n,o,c){for(var i=0;i<c;i++)n[i]=t[e[i]],o[i]=r[e[i]]},T.prototype.transform=function(e,t,r,n,o,c){this.permute(c,e,t,r,n,o);for(var s=1;s<o;s<<=1)for(var f=s<<1,h=Math.cos(2*Math.PI/f),l=Math.sin(2*Math.PI/f),p=0;p<o;p+=f)for(var d=h,y=l,m=0;m<s;m++){var v=r[p+m],w=n[p+m],_=r[p+m+s],E=n[p+m+s],S=d*_-y*E;E=d*E+y*_,_=S,r[p+m]=v+_,n[p+m]=w+E,r[p+m+s]=v-_,n[p+m+s]=w-E,m!==f&&(S=h*d-l*y,y=h*y+l*d,d=S)}},T.prototype.guessLen13b=function(e,t){var r=1|Math.max(t,e),n=1&r,i=0;for(r=r/2|0;r;r>>>=1)i++;return 1<<i+1+n},T.prototype.conjugate=function(e,t,r){if(!(r<=1))for(var i=0;i<r/2;i++){var n=e[i];e[i]=e[r-i-1],e[r-i-1]=n,n=t[i],t[i]=-t[r-i-1],t[r-i-1]=-n}},T.prototype.normalize13b=function(e,t){for(var r=0,i=0;i<t/2;i++){var n=8192*Math.round(e[2*i+1]/t)+Math.round(e[2*i]/t)+r;e[i]=67108863&n,r=n<67108864?0:n/67108864|0}return e},T.prototype.convert13b=function(e,t,r,o){for(var c=0,i=0;i<t;i++)c+=0|e[i],r[2*i]=8191&c,c>>>=13,r[2*i+1]=8191&c,c>>>=13;for(i=2*t;i<o;++i)r[i]=0;n(0===c),n(0==(-8192&c))},T.prototype.stub=function(e){for(var t=new Array(e),i=0;i<e;i++)t[i]=0;return t},T.prototype.mulp=function(e,t,r){var n=2*this.guessLen13b(e.length,t.length),o=this.makeRBT(n),c=this.stub(n),f=new Array(n),h=new Array(n),l=new Array(n),d=new Array(n),y=new Array(n),m=new Array(n),v=r.words;v.length=n,this.convert13b(e.words,e.length,f,n),this.convert13b(t.words,t.length,d,n),this.transform(f,c,h,l,n,o),this.transform(d,c,y,m,n,o);for(var i=0;i<n;i++){var w=h[i]*y[i]-l[i]*m[i];l[i]=h[i]*m[i]+l[i]*y[i],h[i]=w}return this.conjugate(h,l,n),this.transform(h,l,v,c,n,o),this.conjugate(v,c,n),this.normalize13b(v,n),r.negative=e.negative^t.negative,r.length=e.length+t.length,r._strip()},c.prototype.mul=function(e){var t=new c(null);return t.words=new Array(this.length+e.length),this.mulTo(e,t)},c.prototype.mulf=function(e){var t=new c(null);return t.words=new Array(this.length+e.length),A(this,e,t)},c.prototype.imul=function(e){return this.clone().mulTo(e,this)},c.prototype.imuln=function(e){var t=e<0;t&&(e=-e),n("number"==typeof e),n(e<67108864);for(var r=0,i=0;i<this.length;i++){var o=(0|this.words[i])*e,c=(67108863&o)+(67108863&r);r>>=26,r+=o/67108864|0,r+=c>>>26,this.words[i]=67108863&c}return 0!==r&&(this.words[i]=r,this.length++),t?this.ineg():this},c.prototype.muln=function(e){return this.clone().imuln(e)},c.prototype.sqr=function(){return this.mul(this)},c.prototype.isqr=function(){return this.imul(this.clone())},c.prototype.pow=function(e){var t=function(e){for(var t=new Array(e.bitLength()),r=0;r<t.length;r++){var n=r/26|0,o=r%26;t[r]=e.words[n]>>>o&1}return t}(e);if(0===t.length)return new c(1);for(var r=this,i=0;i<t.length&&0===t[i];i++,r=r.sqr());if(++i<t.length)for(var q=r.sqr();i<t.length;i++,q=q.sqr())0!==t[i]&&(r=r.mul(q));return r},c.prototype.iushln=function(e){n("number"==typeof e&&e>=0);var i,t=e%26,s=(e-t)/26,r=67108863>>>26-t<<26-t;if(0!==t){var o=0;for(i=0;i<this.length;i++){var c=this.words[i]&r,f=(0|this.words[i])-c<<t;this.words[i]=f|o,o=c>>>26-t}o&&(this.words[i]=o,this.length++)}if(0!==s){for(i=this.length-1;i>=0;i--)this.words[i+s]=this.words[i];for(i=0;i<s;i++)this.words[i]=0;this.length+=s}return this._strip()},c.prototype.ishln=function(e){return n(0===this.negative),this.iushln(e)},c.prototype.iushrn=function(e,t,r){var o;n("number"==typeof e&&e>=0),o=t?(t-t%26)/26:0;var c=e%26,s=Math.min((e-c)/26,this.length),mask=67108863^67108863>>>c<<c,f=r;if(o-=s,o=Math.max(0,o),f){for(var i=0;i<s;i++)f.words[i]=this.words[i];f.length=s}if(0===s);else if(this.length>s)for(this.length-=s,i=0;i<this.length;i++)this.words[i]=this.words[i+s];else this.words[0]=0,this.length=1;var h=0;for(i=this.length-1;i>=0&&(0!==h||i>=o);i--){var l=0|this.words[i];this.words[i]=h<<26-c|l>>>c,h=l&mask}return f&&0!==h&&(f.words[f.length++]=h),0===this.length&&(this.words[0]=0,this.length=1),this._strip()},c.prototype.ishrn=function(e,t,r){return n(0===this.negative),this.iushrn(e,t,r)},c.prototype.shln=function(e){return this.clone().ishln(e)},c.prototype.ushln=function(e){return this.clone().iushln(e)},c.prototype.shrn=function(e){return this.clone().ishrn(e)},c.prototype.ushrn=function(e){return this.clone().iushrn(e)},c.prototype.testn=function(e){n("number"==typeof e&&e>=0);var t=e%26,s=(e-t)/26,q=1<<t;return!(this.length<=s)&&!!(this.words[s]&q)},c.prototype.imaskn=function(e){n("number"==typeof e&&e>=0);var t=e%26,s=(e-t)/26;if(n(0===this.negative,"imaskn works only with positive numbers"),this.length<=s)return this;if(0!==t&&s++,this.length=Math.min(s,this.length),0!==t){var mask=67108863^67108863>>>t<<t;this.words[this.length-1]&=mask}return this._strip()},c.prototype.maskn=function(e){return this.clone().imaskn(e)},c.prototype.iaddn=function(e){return n("number"==typeof e),n(e<67108864),e<0?this.isubn(-e):0!==this.negative?1===this.length&&(0|this.words[0])<=e?(this.words[0]=e-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(e),this.negative=1,this):this._iaddn(e)},c.prototype._iaddn=function(e){this.words[0]+=e;for(var i=0;i<this.length&&this.words[i]>=67108864;i++)this.words[i]-=67108864,i===this.length-1?this.words[i+1]=1:this.words[i+1]++;return this.length=Math.max(this.length,i+1),this},c.prototype.isubn=function(e){if(n("number"==typeof e),n(e<67108864),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var i=0;i<this.length&&this.words[i]<0;i++)this.words[i]+=67108864,this.words[i+1]-=1;return this._strip()},c.prototype.addn=function(e){return this.clone().iaddn(e)},c.prototype.subn=function(e){return this.clone().isubn(e)},c.prototype.iabs=function(){return this.negative=0,this},c.prototype.abs=function(){return this.clone().iabs()},c.prototype._ishlnsubmul=function(e,t,r){var i,o,c=e.length+r;this._expand(c);var f=0;for(i=0;i<e.length;i++){o=(0|this.words[i+r])+f;var h=(0|e.words[i])*t;f=((o-=67108863&h)>>26)-(h/67108864|0),this.words[i+r]=67108863&o}for(;i<this.length-r;i++)f=(o=(0|this.words[i+r])+f)>>26,this.words[i+r]=67108863&o;if(0===f)return this._strip();for(n(-1===f),f=0,i=0;i<this.length;i++)f=(o=-(0|this.words[i])+f)>>26,this.words[i]=67108863&o;return this.negative=1,this._strip()},c.prototype._wordDiv=function(e,t){var r=(this.length,e.length),a=this.clone(),b=e,n=0|b.words[b.length-1];0!==(r=26-this._countBits(n))&&(b=b.ushln(r),a.iushln(r),n=0|b.words[b.length-1]);var q,o=a.length-b.length;if("mod"!==t){(q=new c(null)).length=o+1,q.words=new Array(q.length);for(var i=0;i<q.length;i++)q.words[i]=0}var f=a.clone()._ishlnsubmul(b,1,o);0===f.negative&&(a=f,q&&(q.words[o]=1));for(var h=o-1;h>=0;h--){var l=67108864*(0|a.words[b.length+h])+(0|a.words[b.length+h-1]);for(l=Math.min(l/n|0,67108863),a._ishlnsubmul(b,l,h);0!==a.negative;)l--,a.negative=0,a._ishlnsubmul(b,1,h),a.isZero()||(a.negative^=1);q&&(q.words[h]=l)}return q&&q._strip(),a._strip(),"div"!==t&&0!==r&&a.iushrn(r),{div:q||null,mod:a}},c.prototype.divmod=function(e,t,r){return n(!e.isZero()),this.isZero()?{div:new c(0),mod:new c(0)}:0!==this.negative&&0===e.negative?(f=this.neg().divmod(e,t),"mod"!==t&&(div=f.div.neg()),"div"!==t&&(o=f.mod.neg(),r&&0!==o.negative&&o.iadd(e)),{div:div,mod:o}):0===this.negative&&0!==e.negative?(f=this.divmod(e.neg(),t),"mod"!==t&&(div=f.div.neg()),{div:div,mod:f.mod}):0!=(this.negative&e.negative)?(f=this.neg().divmod(e.neg(),t),"div"!==t&&(o=f.mod.neg(),r&&0!==o.negative&&o.isub(e)),{div:f.div,mod:o}):e.length>this.length||this.cmp(e)<0?{div:new c(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new c(this.modrn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new c(this.modrn(e.words[0]))}:this._wordDiv(e,t);var div,o,f},c.prototype.div=function(e){return this.divmod(e,"div",!1).div},c.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},c.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},c.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var r=0!==t.div.negative?t.mod.isub(e):t.mod,n=e.ushrn(1),o=e.andln(1),c=r.cmp(n);return c<0||1===o&&0===c?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},c.prototype.modrn=function(e){var t=e<0;t&&(e=-e),n(e<=67108863);for(var p=(1<<26)%e,r=0,i=this.length-1;i>=0;i--)r=(p*r+(0|this.words[i]))%e;return t?-r:r},c.prototype.modn=function(e){return this.modrn(e)},c.prototype.idivn=function(e){var t=e<0;t&&(e=-e),n(e<=67108863);for(var r=0,i=this.length-1;i>=0;i--){var o=(0|this.words[i])+67108864*r;this.words[i]=o/e|0,r=o%e}return this._strip(),t?this.ineg():this},c.prototype.divn=function(e){return this.clone().idivn(e)},c.prototype.egcd=function(p){n(0===p.negative),n(!p.isZero());var e=this,t=p.clone();e=0!==e.negative?e.umod(p):e.clone();for(var r=new c(1),o=new c(0),f=new c(0),h=new c(1),g=0;e.isEven()&&t.isEven();)e.iushrn(1),t.iushrn(1),++g;for(var l=t.clone(),d=e.clone();!e.isZero();){for(var i=0,y=1;0==(e.words[0]&y)&&i<26;++i,y<<=1);if(i>0)for(e.iushrn(i);i-- >0;)(r.isOdd()||o.isOdd())&&(r.iadd(l),o.isub(d)),r.iushrn(1),o.iushrn(1);for(var m=0,v=1;0==(t.words[0]&v)&&m<26;++m,v<<=1);if(m>0)for(t.iushrn(m);m-- >0;)(f.isOdd()||h.isOdd())&&(f.iadd(l),h.isub(d)),f.iushrn(1),h.iushrn(1);e.cmp(t)>=0?(e.isub(t),r.isub(f),o.isub(h)):(t.isub(e),f.isub(r),h.isub(o))}return{a:f,b:h,gcd:t.iushln(g)}},c.prototype._invmp=function(p){n(0===p.negative),n(!p.isZero());var a=this,b=p.clone();a=0!==a.negative?a.umod(p):a.clone();for(var e,t=new c(1),r=new c(0),o=b.clone();a.cmpn(1)>0&&b.cmpn(1)>0;){for(var i=0,f=1;0==(a.words[0]&f)&&i<26;++i,f<<=1);if(i>0)for(a.iushrn(i);i-- >0;)t.isOdd()&&t.iadd(o),t.iushrn(1);for(var h=0,l=1;0==(b.words[0]&l)&&h<26;++h,l<<=1);if(h>0)for(b.iushrn(h);h-- >0;)r.isOdd()&&r.iadd(o),r.iushrn(1);a.cmp(b)>=0?(a.isub(b),t.isub(r)):(b.isub(a),r.isub(t))}return(e=0===a.cmpn(1)?t:r).cmpn(0)<0&&e.iadd(p),e},c.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var a=this.clone(),b=e.clone();a.negative=0,b.negative=0;for(var t=0;a.isEven()&&b.isEven();t++)a.iushrn(1),b.iushrn(1);for(;;){for(;a.isEven();)a.iushrn(1);for(;b.isEven();)b.iushrn(1);var r=a.cmp(b);if(r<0){var n=a;a=b,b=n}else if(0===r||0===b.cmpn(1))break;a.isub(b)}return b.iushln(t)},c.prototype.invm=function(e){return this.egcd(e).a.umod(e)},c.prototype.isEven=function(){return 0==(1&this.words[0])},c.prototype.isOdd=function(){return 1==(1&this.words[0])},c.prototype.andln=function(e){return this.words[0]&e},c.prototype.bincn=function(e){n("number"==typeof e);var t=e%26,s=(e-t)/26,q=1<<t;if(this.length<=s)return this._expand(s+1),this.words[s]|=q,this;for(var r=q,i=s;0!==r&&i<this.length;i++){var o=0|this.words[i];r=(o+=r)>>>26,o&=67108863,this.words[i]=o}return 0!==r&&(this.words[i]=r,this.length++),this},c.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},c.prototype.cmpn=function(e){var t,r=e<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this._strip(),this.length>1)t=1;else{r&&(e=-e),n(e<=67108863,"Number is too big");var o=0|this.words[0];t=o===e?0:o<e?-1:1}return 0!==this.negative?0|-t:t},c.prototype.cmp=function(e){if(0!==this.negative&&0===e.negative)return-1;if(0===this.negative&&0!==e.negative)return 1;var t=this.ucmp(e);return 0!==this.negative?0|-t:t},c.prototype.ucmp=function(e){if(this.length>e.length)return 1;if(this.length<e.length)return-1;for(var t=0,i=this.length-1;i>=0;i--){var a=0|this.words[i],b=0|e.words[i];if(a!==b){a<b?t=-1:a>b&&(t=1);break}}return t},c.prototype.gtn=function(e){return 1===this.cmpn(e)},c.prototype.gt=function(e){return 1===this.cmp(e)},c.prototype.gten=function(e){return this.cmpn(e)>=0},c.prototype.gte=function(e){return this.cmp(e)>=0},c.prototype.ltn=function(e){return-1===this.cmpn(e)},c.prototype.lt=function(e){return-1===this.cmp(e)},c.prototype.lten=function(e){return this.cmpn(e)<=0},c.prototype.lte=function(e){return this.cmp(e)<=0},c.prototype.eqn=function(e){return 0===this.cmpn(e)},c.prototype.eq=function(e){return 0===this.cmp(e)},c.red=function(e){return new N(e)},c.prototype.toRed=function(e){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},c.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},c.prototype._forceRed=function(e){return this.red=e,this},c.prototype.forceRed=function(e){return n(!this.red,"Already a number in reduction context"),this._forceRed(e)},c.prototype.redAdd=function(e){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},c.prototype.redIAdd=function(e){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},c.prototype.redSub=function(e){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},c.prototype.redISub=function(e){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},c.prototype.redShl=function(e){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},c.prototype.redMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},c.prototype.redIMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},c.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},c.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},c.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},c.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},c.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},c.prototype.redPow=function(e){return n(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var k={k256:null,p224:null,p192:null,p25519:null};function I(e,p){this.name=e,this.p=new c(p,16),this.n=this.p.bitLength(),this.k=new c(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function M(){I.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function R(){I.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function x(){I.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function B(){I.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function N(e){if("string"==typeof e){var t=c._prime(e);this.m=t.p,this.prime=t}else n(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function O(e){N.call(this,e),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new c(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}I.prototype._tmp=function(){var e=new c(null);return e.words=new Array(Math.ceil(this.n/13)),e},I.prototype.ireduce=function(e){var t,r=e;do{this.split(r,this.tmp),t=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(t>this.n);var n=t<this.n?-1:r.ucmp(this.p);return 0===n?(r.words[0]=0,r.length=1):n>0?r.isub(this.p):void 0!==r.strip?r.strip():r._strip(),r},I.prototype.split=function(input,e){input.iushrn(this.n,0,e)},I.prototype.imulK=function(e){return e.imul(this.k)},o(M,I),M.prototype.split=function(input,output){for(var mask=4194303,e=Math.min(input.length,9),i=0;i<e;i++)output.words[i]=input.words[i];if(output.length=e,input.length<=9)return input.words[0]=0,void(in
vendor: 4,851 bytes, line 2
2put.length=1);var t=input.words[9];for(output.words[output.length++]=t&mask,i=10;i<input.length;i++){var r=0|input.words[i];input.words[i-10]=(r&mask)<<4|t>>>22,t=r}t>>>=22,input.words[i-10]=t,0===t&&input.length>10?input.length-=10:input.length-=9},M.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,i=0;i<e.length;i++){var r=0|e.words[i];t+=977*r,e.words[i]=67108863&t,t=64*r+(t/67108864|0)}return 0===e.words[e.length-1]&&(e.length--,0===e.words[e.length-1]&&e.length--),e},o(R,I),o(x,I),o(B,I),B.prototype.imulK=function(e){for(var t=0,i=0;i<e.length;i++){var r=19*(0|e.words[i])+t,n=67108863&r;r>>>=26,e.words[i]=n,t=r}return 0!==t&&(e.words[e.length++]=t),e},c._prime=function(e){if(k[e])return k[e];var t;if("k256"===e)t=new M;else if("p224"===e)t=new R;else if("p192"===e)t=new x;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new B}return k[e]=t,t},N.prototype._verify1=function(a){n(0===a.negative,"red works only with positives"),n(a.red,"red works only with red numbers")},N.prototype._verify2=function(a,b){n(0==(a.negative|b.negative),"red works only with positives"),n(a.red&&a.red===b.red,"red works only with red numbers")},N.prototype.imod=function(a){return this.prime?this.prime.ireduce(a)._forceRed(this):(y(a,a.umod(this.m)._forceRed(this)),a)},N.prototype.neg=function(a){return a.isZero()?a.clone():this.m.sub(a)._forceRed(this)},N.prototype.add=function(a,b){this._verify2(a,b);var e=a.add(b);return e.cmp(this.m)>=0&&e.isub(this.m),e._forceRed(this)},N.prototype.iadd=function(a,b){this._verify2(a,b);var e=a.iadd(b);return e.cmp(this.m)>=0&&e.isub(this.m),e},N.prototype.sub=function(a,b){this._verify2(a,b);var e=a.sub(b);return e.cmpn(0)<0&&e.iadd(this.m),e._forceRed(this)},N.prototype.isub=function(a,b){this._verify2(a,b);var e=a.isub(b);return e.cmpn(0)<0&&e.iadd(this.m),e},N.prototype.shl=function(a,e){return this._verify1(a),this.imod(a.ushln(e))},N.prototype.imul=function(a,b){return this._verify2(a,b),this.imod(a.imul(b))},N.prototype.mul=function(a,b){return this._verify2(a,b),this.imod(a.mul(b))},N.prototype.isqr=function(a){return this.imul(a,a.clone())},N.prototype.sqr=function(a){return this.mul(a,a)},N.prototype.sqrt=function(a){if(a.isZero())return a.clone();var e=this.m.andln(3);if(n(e%2==1),3===e){var t=this.m.add(new c(1)).iushrn(2);return this.pow(a,t)}for(var q=this.m.subn(1),s=0;!q.isZero()&&0===q.andln(1);)s++,q.iushrn(1);n(!q.isZero());var r=new c(1).toRed(this),o=r.redNeg(),f=this.m.subn(1).iushrn(1),h=this.m.bitLength();for(h=new c(2*h*h).toRed(this);0!==this.pow(h,f).cmp(o);)h.redIAdd(o);for(var l=this.pow(h,q),d=this.pow(a,q.addn(1).iushrn(1)),y=this.pow(a,q),m=s;0!==y.cmp(r);){for(var v=y,i=0;0!==v.cmp(r);i++)v=v.redSqr();n(i<m);var b=this.pow(l,new c(1).iushln(m-i-1));d=d.redMul(b),l=b.redSqr(),y=y.redMul(l),m=i}return d},N.prototype.invm=function(a){var e=a._invmp(this.m);return 0!==e.negative?(e.negative=0,this.imod(e).redNeg()):this.imod(e)},N.prototype.pow=function(a,e){if(e.isZero())return new c(1).toRed(this);if(0===e.cmpn(1))return a.clone();var t=new Array(16);t[0]=new c(1).toRed(this),t[1]=a;for(var i=2;i<t.length;i++)t[i]=this.mul(t[i-1],a);var r=t[0],n=0,o=0,f=e.bitLength()%26;for(0===f&&(f=26),i=e.length-1;i>=0;i--){for(var h=e.words[i],l=f-1;l>=0;l--){var d=h>>l&1;r!==t[0]&&(r=this.sqr(r)),0!==d||0!==n?(n<<=1,n|=d,(4===++o||0===i&&0===l)&&(r=this.mul(r,t[n]),o=0,n=0)):o=0}f=26}return r},N.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},N.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},c.mont=function(e){return new O(e)},o(O,N),O.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},O.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},O.prototype.imul=function(a,b){if(a.isZero()||b.isZero())return a.words[0]=0,a.length=1,a;var e=a.imul(b),t=e.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),u=e.isub(t).iushrn(this.shift),r=u;return u.cmp(this.m)>=0?r=u.isub(this.m):u.cmpn(0)<0&&(r=u.iadd(this.m)),r._forceRed(this)},O.prototype.mul=function(a,b){if(a.isZero()||b.isZero())return new c(0)._forceRed(this);var e=a.mul(b),t=e.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),u=e.isub(t).iushrn(this.shift),r=u;return u.cmp(this.m)>=0?r=u.isub(this.m):u.cmpn(0)<0&&(r=u.iadd(this.m)),r._forceRed(this)},O.prototype.invm=function(a){return this.imod(a._invmp(this.m).mul(this.r2))._forceRed(this)}}(e,this)}).call(this,r(135)(e))},,function(e){e.exports=JSON.parse('{"name":"elliptic","version":"6.5.4","description":"EC cryptography","main":"lib/elliptic.js","files":["lib"],"scripts":{"lint":"eslint lib test","lint:fix":"npm run lint -- --fix","unit":"istanbul test _mocha --reporter=spec test/index.js","test":"npm run lint && npm run unit","ver
2sion":"grunt dist && git add dist/"},"repository":{"type":"git","url":"[email protected]:indutny/elliptic"},"keywords":["EC","Elliptic","curve","Cryptography"],"author":"Fedor Indutny <[email protected]>","license":"MIT","bugs":{"url":"https://github.com/indutny/elliptic/issues"},"homepage":"https://github.com/indutny/elliptic","devDependencies":{"brfs":"^2.0.2","coveralls":"^3.1.0","eslint":"^7.6.0","grunt":"^1.2.1","grunt-browserify":"^5.3.0","grunt-cli":"^1.3.2","grunt-contrib-connect":"^3.0.0","grunt-contrib-copy":"^1.0.0","grunt-contrib-uglify":"^5.0.0","grunt-mocha-istanbul":"^5.0.2","grunt-saucelabs":"^9.0.1","istanbul":"^0.4.5","mocha":"^8.0.1"},"dependencies":{"bn.js":"^4.11.9","brorand":"^1.1.0","hash.js":"^1.0.0","hmac-drbg":"^1.0.1","inherits":"^2.0.4","minimalistic-assert":"^1.0.1","minimalistic-crypto-utils":"^1.0.1"}}')},function(e,t,r){"use strict";var n=r(55),o=r(32),c=r(5),f=r(178),h=n.assert;function l(e){f.call(this,"short",e),this.a=new o(e.a,16).toRed(this.red),this.b=new o(e.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=0===this.a.fromRed().cmpn(0),this.threeA=0===this.a.fromRed().sub(this.p).cmpn(-3),this.endo=this._getEndomorphism(e),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}function d(e,t,r,n){f.BasePoint.call(this,e,"affine"),null===t&&null===r?(this.x=null,this.y=null,this.inf=!0):(this.x=new o(t,16),this.y=new o(r,16),n&&(this.x.forceRed(this.curve.red),this.y.forceRed(this.curve.red)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.inf=!1)}function y(e,t,r,n){f.BasePoint.call(this,e,"jacobian"),null===t&&null===r&&null===n?(this.x=this.curve.one,this.y=this.curve.one,this.z=new o(0)):(this.x=new o(t,16),this.y=new o(r,16),this.z=new o(n,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}c(l,f),e.exports=l,l.prototype._getEndomorphism=function(e){if(this.zeroA&&this.g&&this.n&&1===this.p.modn(3)){var t,r;if(e.beta)t=new o(e.beta,16).toRed(this.red);else{var n=this._getEndoRoots(this.p);t=(t=n[0].cmp(n[1])<0?n[0]:n[1]).toRed(this.red)}if(e.lambda)r=new o(e.lambda,16);else{var c=this._getEndoRoots(this.n);0===this.g.mul(c[0]).x.cmp(this.g.x.redMul(t))?r=c[0]:(r=c[1],h(0===this.g.mul(r).x.cmp(this.g.x.redMul(t))))}return{beta:t,lambda:r,basis:e.basis?e.basis.map((function(e){return{a:new o(e.a,16),b:new o(e.b,16)}})):this._getEndoBasis(r)}}},l.prototype._getEndoRoots=function(e){var t=e===this.p?this.red:o.mont(e),r=new o(2).toRed(t).redInvm(),n=r.redNeg(),s=new o(3).toRed(t).redNeg().redSqrt().redMul(r);return[n.redAdd(s).fromRed(),n.redSub(s).fromRed()]},l.prototype._getEndoBasis=function(e){for(var t,r,n,c,f,h,l,d,y,m=this.n.ushrn(Math.floor(this.n.bitLength()/2)),u=e,v=this.n.clone(),w=new o(1),_=new o(0),E=new o(0),S=new o(1),i=0;0!==u.cmpn(0);){var q=v.div(u);d=v.sub(q.mul(u)),y=E.sub(q.mul(w));var C=S.sub(q.mul(_));if(!n&&d.cmp(m)<0)t=l.neg(),r=w,n=d.neg(),c=y;else if(n&&2==++i)break;l=d,v=u,u=d,E=w,w=y,S=_,_=C}f=d.neg(),h=y;var A=n.sqr().add(c.sqr());return f.sqr().add(h.sqr()).cmp(A)>=0&&(f=t,h=r),n.negative&&(n=n.neg(),c=c.neg()),f.negative&&(f=f.neg(),h=h.neg()),[{a:n,b:c},{a:f,b:h}]},l.prototype._endoSplit=function(e){var t=this.endo.basis,r=t[0],n=t[1],o=n.b.mul(e).divRound(this.n),c=r.b.neg().mul(e).divRound(this.n),f=o.mul(r.a),h=c.mul(n.a),l=o.mul(r.b),d=c.mul(n.b);return{k1:e.sub(f).sub(h),k2:l.add(d).neg()}},l.prototype.pointFromX=function(e,t){(e=new o(e,16)).red||(e=e.toRed(this.red));var r=e.redSqr().redMul(e).redIAdd(e.redMul(this.a)).redIAdd(this.b),n=r.redSqrt();if(0!==n.redSqr().redSub(r).cmp(this.zero))throw new Error("invalid point");var c=n.fromRed().isOdd();return(t&&!c||!t&&c)&&(n=n.redNeg()),this.point(e,n)},l.prototype.validate=function(e){if(e.inf)return!0;var t=e.x,r=e.y,n=this.a.redMul(t),o=t.redSqr().redMul(t).redIAdd(n).redIAdd(this.b);return 0===r.redSqr().redISub(o).cmpn(0)},l.prototype._endoWnafMulAdd=function(e,t,r){for(var n=this._endoWnafT1,o=this._endoWnafT2,i=0;i<e.length;i++){var c=this._endoSplit(t[i]),p=e[i],f=p._getBeta();c.k1.negative&&(c.k1.ineg(),p=p.neg(!0)),c.k2.negative&&(c.k2.ineg(),f=f.neg(!0)),n[2*i]=p,n[2*i+1]=f,o[2*i]=c.k1,o[2*i+1]=c.k2}for(var h=this._wnafMulAdd(1,n,o,2*i,r),l=0;l<2*i;l++)n[l]=null,o[l]=null;return h},c(d,f.BasePoint),l.prototype.point=function(e,t,r){return new d(this,e,t,r)},l.prototype.pointFromJSON=function(e,t){return d.fromJSON(this,e,t)},d.prototype._getBeta=function(){if(this.curve.endo){var pre=this.prec
vendor: 7,322 bytes, line 2
2omputed;if(pre&&pre.beta)return pre.beta;var e=this.curve.point(this.x.redMul(this.curve.endo.beta),this.y);if(pre){var t=this.curve,r=function(p){return t.point(p.x.redMul(t.endo.beta),p.y)};pre.beta=e,e.precomputed={beta:null,naf:pre.naf&&{wnd:pre.naf.wnd,points:pre.naf.points.map(r)},doubles:pre.doubles&&{step:pre.doubles.step,points:pre.doubles.points.map(r)}}}return e}},d.prototype.toJSON=function(){return this.precomputed?[this.x,this.y,this.precomputed&&{doubles:this.precomputed.doubles&&{step:this.precomputed.doubles.step,points:this.precomputed.doubles.points.slice(1)},naf:this.precomputed.naf&&{wnd:this.precomputed.naf.wnd,points:this.precomputed.naf.points.slice(1)}}]:[this.x,this.y]},d.fromJSON=function(e,t,r){"string"==typeof t&&(t=JSON.parse(t));var n=e.point(t[0],t[1],r);if(!t[2])return n;function o(t){return e.point(t[0],t[1],r)}var pre=t[2];return n.precomputed={beta:null,doubles:pre.doubles&&{step:pre.doubles.step,points:[n].concat(pre.doubles.points.map(o))},naf:pre.naf&&{wnd:pre.naf.wnd,points:[n].concat(pre.naf.points.map(o))}},n},d.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+">"},d.prototype.isInfinity=function(){return this.inf},d.prototype.add=function(p){if(this.inf)return p;if(p.inf)return this;if(this.eq(p))return this.dbl();if(this.neg().eq(p))return this.curve.point(null,null);if(0===this.x.cmp(p.x))return this.curve.point(null,null);var e=this.y.redSub(p.y);0!==e.cmpn(0)&&(e=e.redMul(this.x.redSub(p.x).redInvm()));var t=e.redSqr().redISub(this.x).redISub(p.x),r=e.redMul(this.x.redSub(t)).redISub(this.y);return this.curve.point(t,r)},d.prototype.dbl=function(){if(this.inf)return this;var e=this.y.redAdd(this.y);if(0===e.cmpn(0))return this.curve.point(null,null);var a=this.curve.a,t=this.x.redSqr(),r=e.redInvm(),n=t.redAdd(t).redIAdd(t).redIAdd(a).redMul(r),o=n.redSqr().redISub(this.x.redAdd(this.x)),c=n.redMul(this.x.redSub(o)).redISub(this.y);return this.curve.point(o,c)},d.prototype.getX=function(){return this.x.fromRed()},d.prototype.getY=function(){return this.y.fromRed()},d.prototype.mul=function(e){return e=new o(e,16),this.isInfinity()?this:this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve.endo?this.curve._endoWnafMulAdd([this],[e]):this.curve._wnafMul(this,e)},d.prototype.mulAdd=function(e,t,r){var n=[this,t],o=[e,r];return this.curve.endo?this.curve._endoWnafMulAdd(n,o):this.curve._wnafMulAdd(1,n,o,2)},d.prototype.jmulAdd=function(e,t,r){var n=[this,t],o=[e,r];return this.curve.endo?this.curve._endoWnafMulAdd(n,o,!0):this.curve._wnafMulAdd(1,n,o,2,!0)},d.prototype.eq=function(p){return this===p||this.inf===p.inf&&(this.inf||0===this.x.cmp(p.x)&&0===this.y.cmp(p.y))},d.prototype.neg=function(e){if(this.inf)return this;var t=this.curve.point(this.x,this.y.redNeg());if(e&&this.precomputed){var pre=this.precomputed,r=function(p){return p.neg()};t.precomputed={naf:pre.naf&&{wnd:pre.naf.wnd,points:pre.naf.points.map(r)},doubles:pre.doubles&&{step:pre.doubles.step,points:pre.doubles.points.map(r)}}}return t},d.prototype.toJ=function(){return this.inf?this.curve.jpoint(null,null,null):this.curve.jpoint(this.x,this.y,this.curve.one)},c(y,f.BasePoint),l.prototype.jpoint=function(e,t,r){return new y(this,e,t,r)},y.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var e=this.z.redInvm(),t=e.redSqr(),r=this.x.redMul(t),n=this.y.redMul(t).redMul(e);return this.curve.point(r,n)},y.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},y.prototype.add=function(p){if(this.isInfinity())return p;if(p.isInfinity())return this;var e=p.z.redSqr(),t=this.z.redSqr(),r=this.x.redMul(e),n=p.x.redMul(t),o=this.y.redMul(e.redMul(p.z)),c=p.y.redMul(t.redMul(this.z)),f=r.redSub(n),h=o.redSub(c);if(0===f.cmpn(0))return 0!==h.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var h2=f.redSqr(),h3=h2.redMul(f),l=r.redMul(h2),d=h.redSqr().redIAdd(h3).redISub(l).redISub(l),y=h.redMul(l.redISub(d)).redISub(o.redMul(h3)),m=this.z.redMul(p.z).redMul(f);return this.curve.jpoint(d,y,m)},y.prototype.mixedAdd=function(p){if(this.isInfinity())return p.toJ();if(p.isInfinity())return this;var e=this.z.redSqr(),t=this.x,r=p.x.redMul(e),n=this.y,o=p.y.redMul(e).redMul(this.z),c=t.redSub(r),f=n.redSub(o);if(0===c.cmpn(0))return 0!==f.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var h2=c.redSqr(),h3=h2.redMul(c),h=t.redMul(h2),l=f.redSqr().redIAdd(h3).redISub(h).redISub(h),d=f.redMul(h.redISub(l)).redISub(n.redMul(h3)),y=this.z.redMul(c);return this.curve.jpoint(l,d,y)},y.prototype.dblp=function(e){if(0===e)return this;if(this.isInfinity())return this;if(!e)return this.dbl();var i;if(this.curve.zeroA||this.curve.threeA){var t=this;for(i=0;i<e;i++)t=t.dbl();return t}var a=this.curve.a,r=this.curve.tinv,n=this.x,o=this.y,c=this.z,f=c.redSqr().redSqr(),h=o.redAdd(o);for(i=0;i<e;i++){var l=n.redSqr(),d=h.redSqr(),y=d.redSqr(),m=l.redAdd(l).redIAdd(l).redIAdd(a.redMul(f)),v=n.redMul(d),w=m.redSqr().redISub(v.redAdd(v)),_=v.redISub(w),E=m.redMul(_);E=E.redIAdd(E).redISub(y);var S=h.redMul(c);i+1<e&&(f=f.redMul(y)),n=w,c=S,h=E}return this.curve.jpoint(n,h.redMul(r),c)},y.prototype.dbl=function(){return this.isInfinity()?this:this.curve.zeroA?this._zeroDbl():this.curve.threeA?this._threeDbl():this._dbl()},y.prototype._zeroDbl=function(){var e,t,r;if(this.zOne){var n=this.x.redSqr(),o=this.y.redSqr(),c=o.redSqr(),s=this.x.redAdd(o).redSqr().redISub(n).redISub(c);s=s.redIAdd(s);var f=n.redAdd(n).redIAdd(n),h=f.redSqr().redISub(s).redISub(s),l=c.redIAdd(c);l=(l=l.redIAdd(l)).redIAdd(l),e=h,t=f.redMul(s.redISub(h)).redISub(l),r=this.y.redAdd(this.y)}else{var a=this.x.redSqr(),b=this.y.redSqr(),d=b.redSqr(),y=this.x.redAdd(b).redSqr().redISub(a).redISub(d);y=y.redIAdd(y);var m=a.redAdd(a).redIAdd(a),v=m.redSqr(),w=d.redIAdd(d);w=(w=w.redIAdd(w)).redIAdd(w),e=v.redISub(y).redISub(y),t=m.redMul(y.redISub(e)).redISub(w),r=(r=this.y.redMul(this.z)).redIAdd(r)}return this.curve.jpoint(e,t,r)},y.prototype._threeDbl=function(){var e,t,r;if(this.zOne){var n=this.x.redSqr(),o=this.y.redSqr(),c=o.redSqr(),s=this.x.redAdd(o).redSqr().redISub(n).redISub(c);s=s.redIAdd(s);var f=n.redAdd(n).redIAdd(n).redIAdd(this.curve.a),h=f.redSqr().redISub(s).redISub(s);e=h;var l=c.redIAdd(c);l=(l=l.redIAdd(l)).redIAdd(l),t=f.redMul(s.redISub(h)).redISub(l),r=this.y.redAdd(this.y)}else{var d=this.z.redSqr(),y=this.y.redSqr(),m=this.x.redMul(y),v=this.x.redSub(d).redMul(this.x.redAdd(d));v=v.redAdd(v).redIAdd(v);var w=m.redIAdd(m),_=(w=w.redIAdd(w)).redAdd(w);e=v.redSqr().redISub(_),r=this.y.redAdd(this.z).redSqr().redISub(y).redISub(d);var E=y.redSqr();E=(E=(E=E.redIAdd(E)).redIAdd(E)).redIAdd(E),t=v.redMul(w.redISub(e)).redISub(E)}return this.curve.jpoint(e,t,r)},y.prototype._dbl=function(){var a=this.curve.a,e=this.x,t=this.y,r=this.z,n=r.redSqr().redSqr(),o=e.redSqr(),c=t.redSqr(),f=o.redAdd(o).redIAdd(o).redIAdd(a.redMul(n)),h=e.redAdd(e),l=(h=h.redIAdd(h)).redMul(c),d=f.redSqr().redISub(l.redAdd(l)),y=l.redISub(d),m=c.redSqr();m=(m=(m=m.redIAdd(m)).redIAdd(m)).redIAdd(m);var v=f.redMul(y).redISub(m),w=t.redAdd(t).redMul(r);return this.curve.jpoint(d,v,w)},y.prototype.trpl=function(){if(!this.curve.zeroA)return this.dbl().add(this);
vendor: 14,884 bytes, line 2
2var e=this.x.redSqr(),t=this.y.redSqr(),r=this.z.redSqr(),n=t.redSqr(),o=e.redAdd(e).redIAdd(e),c=o.redSqr(),f=this.x.redAdd(t).redSqr().redISub(e).redISub(n),h=(f=(f=(f=f.redIAdd(f)).redAdd(f).redIAdd(f)).redISub(c)).redSqr(),l=n.redIAdd(n);l=(l=(l=l.redIAdd(l)).redIAdd(l)).redIAdd(l);var u=o.redIAdd(f).redSqr().redISub(c).redISub(h).redISub(l),d=t.redMul(u);d=(d=d.redIAdd(d)).redIAdd(d);var y=this.x.redMul(h).redISub(d);y=(y=y.redIAdd(y)).redIAdd(y);var m=this.y.redMul(u.redMul(l.redISub(u)).redISub(f.redMul(h)));m=(m=(m=m.redIAdd(m)).redIAdd(m)).redIAdd(m);var v=this.z.redAdd(f).redSqr().redISub(r).redISub(h);return this.curve.jpoint(y,m,v)},y.prototype.mul=function(e,t){return e=new o(e,t),this.curve._wnafMul(this,e)},y.prototype.eq=function(p){if("affine"===p.type)return this.eq(p.toJ());if(this===p)return!0;var e=this.z.redSqr(),t=p.z.redSqr();if(0!==this.x.redMul(t).redISub(p.x.redMul(e)).cmpn(0))return!1;var r=e.redMul(this.z),n=t.redMul(p.z);return 0===this.y.redMul(n).redISub(p.y.redMul(r)).cmpn(0)},y.prototype.eqXToP=function(e){var t=this.z.redSqr(),r=e.toRed(this.curve.red).redMul(t);if(0===this.x.cmp(r))return!0;for(var n=e.clone(),o=this.curve.redN.redMul(t);;){if(n.iadd(this.curve.n),n.cmp(this.curve.p)>=0)return!1;if(r.redIAdd(o),0===this.x.cmp(r))return!0}},y.prototype.inspect=function(){return this.isInfinity()?"<EC JPoint Infinity>":"<EC JPoint x: "+this.x.toString(16,2)+" y: "+this.y.toString(16,2)+" z: "+this.z.toString(16,2)+">"},y.prototype.isInfinity=function(){return 0===this.z.cmpn(0)}},function(e,t,r){"use strict";var n=r(32),o=r(5),c=r(178),f=r(55);function h(e){c.call(this,"mont",e),this.a=new n(e.a,16).toRed(this.red),this.b=new n(e.b,16).toRed(this.red),this.i4=new n(4).toRed(this.red).redInvm(),this.two=new n(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}function l(e,t,r){c.BasePoint.call(this,e,"projective"),null===t&&null===r?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new n(t,16),this.z=new n(r,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}o(h,c),e.exports=h,h.prototype.validate=function(e){var t=e.normalize().x,r=t.redSqr(),n=r.redMul(t).redAdd(r.redMul(this.a)).redAdd(t);return 0===n.redSqrt().redSqr().cmp(n)},o(l,c.BasePoint),h.prototype.decodePoint=function(e,t){return this.point(f.toArray(e,t),1)},h.prototype.point=function(e,t){return new l(this,e,t)},h.prototype.pointFromJSON=function(e){return l.fromJSON(this,e)},l.prototype.precompute=function(){},l.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())},l.fromJSON=function(e,t){return new l(e,t[0],t[1]||e.one)},l.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},l.prototype.isInfinity=function(){return 0===this.z.cmpn(0)},l.prototype.dbl=function(){var e=this.x.redAdd(this.z).redSqr(),t=this.x.redSub(this.z).redSqr(),r=e.redSub(t),n=e.redMul(t),o=r.redMul(t.redAdd(this.curve.a24.redMul(r)));return this.curve.point(n,o)},l.prototype.add=function(){throw new Error("Not supported on Montgomery curve")},l.prototype.diffAdd=function(p,e){var a=this.x.redAdd(this.z),b=this.x.redSub(this.z),t=p.x.redAdd(p.z),r=p.x.redSub(p.z).redMul(a),n=t.redMul(b),o=e.z.redMul(r.redAdd(n).redSqr()),c=e.x.redMul(r.redISub(n).redSqr());return this.curve.point(o,c)},l.prototype.mul=function(e){for(var t=e.clone(),a=this,b=this.curve.point(null,null),r=[];0!==t.cmpn(0);t.iushrn(1))r.push(t.andln(1));for(var i=r.length-1;i>=0;i--)0===r[i]?(a=a.diffAdd(b,this),b=b.dbl()):(b=a.diffAdd(b,this),a=a.dbl());return b},l.prototype.mulAdd=function(){throw new Error("Not supported on Montgomery curve")},l.prototype.jumlAdd=function(){throw new Error("Not supported on Montgomery curve")},l.prototype.eq=function(e){return 0===this.getX().cmp(e.getX())},l.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this},l.prototype.getX=function(){return this.normalize(),this.x.fromRed()}},function(e,t,r){"use strict";var n=r(55),o=r(32),c=r(5),f=r(178),h=n.assert;function l(e){this.twisted=1!=(0|e.a),this.mOneA=this.twisted&&-1==(0|e.a),this.extended=this.mOneA,f.call(this,"edwards",e),this.a=new o(e.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new o(e.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new o(e.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),h(!this.twisted||0===this.c.fromRed().cmpn(1)),this.oneC=1==(0|e.c)}function d(e,t,r,n,c){f.BasePoint.call(this,e,"projective"),null===t&&null===r&&null===n?(this.x=this.curve.zero,this.y=this.curve.one,this.z=this.curve.one,this.t=this.curve.zero,this.zOne=!0):(this.x=new o(t,16),this.y=new o(r,16),this.z=n?new o(n,16):this.curve.one,this.t=c&&new o(c,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.t&&!this.t.red&&(this.t=this.t.toRed(this.curve.red)),this.zOne=this.z===this.curve.one,this.curve.extended&&!this.t&&(this.t=this.x.redMul(this.y),this.zOne||(this.t=this.t.redMul(this.z.redInvm()))))}c(l,f),e.exports=l,l.prototype._mulA=function(e){return this.mOneA?e.redNeg():this.a.redMul(e)},l.prototype._mulC=function(e){return this.oneC?e:this.c.redMul(e)},l.prototype.jpoint=function(e,t,r,n){return this.point(e,t,r,n)},l.prototype.pointFromX=function(e,t){(e=new o(e,16)).red||(e=e.toRed(this.red));var r=e.redSqr(),n=this.c2.redSub(this.a.redMul(r)),c=this.one.redSub(this.c2.redMul(this.d).redMul(r)),f=n.redMul(c.redInvm()),h=f.redSqrt();if(0!==h.redSqr().redSub(f).cmp(this.zero))throw new Error("invalid point");var l=h.fromRed().isOdd();return(t&&!l||!t&&l)&&(h=h.redNeg()),this.point(e,h)},l.prototype.pointFromY=function(e,t){(e=new o(e,16)).red||(e=e.toRed(this.red));var r=e.redSqr(),n=r.redSub(this.c2),c=r.redMul(this.d).redMul(this.c2).redSub(this.a),f=n.redMul(c.redInvm());if(0===f.cmp(this.zero)){if(t)throw new Error("invalid point");return this.point(this.zero,e)}var h=f.redSqrt();if(0!==h.redSqr().redSub(f).cmp(this.zero))throw new Error("invalid point");return h.fromRed().isOdd()!==t&&(h=h.redNeg()),this.point(h,e)},l.prototype.validate=function(e){if(e.isInfinity())return!0;e.normalize();var t=e.x.redSqr(),r=e.y.redSqr(),n=t.redMul(this.a).redAdd(r),o=this.c2.redMul(this.one.redAdd(this.d.redMul(t).redMul(r)));return 0===n.cmp(o)},c(d,f.BasePoint),l.prototype.pointFromJSON=function(e){return d.fromJSON(this,e)},l.prototype.point=function(e,t,r,n){return new d(this,e,t,r,n)},d.fromJSON=function(e,t){return new d(e,t[0],t[1],t[2])},d.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},d.prototype.isInfinity=function(){return 0===this.x.cmpn(0)&&(0===this.y.cmp(this.z)||this.zOne&&0===this.y.cmp(this.curve.c))},d.prototype._extDbl=function(){var a=this.x.redSqr(),b=this.y.redSqr(),e=this.z.redSqr();e=e.redIAdd(e);var t=this.curve._mulA(a),r=this.x.redAdd(this.y).redSqr().redISub(a).redISub(b),g=t.redAdd(b),n=g.redSub(e),o=t.redSub(b),c=r.redMul(n),f=g.redMul(o),h=r.redMul(o),l=n.redMul(g);return this.curve.point(c,f,l,h)},d.prototype._projDbl=function(){var e,t,r,n,o,c,b=this.x.redAdd(this.y).redSqr(),f=this.x.redSqr(),h=this.y.redSqr();if(this.curve.twisted){var l=(n=this.curve._mulA(f)).redAdd(h);this.zOne?(e=b.redSub(f).redSub(h).redMul(l.redSub(this.curve.two)),t=l.redMul(n.redSub(h)),r=l.redSqr().redSub(l).redSub(l)):(o=this.z.redSqr(),c=l.redSub(o).redISub(o),e=b.redSub(f).redISub(h).redMul(c),t=l.redMul(n.redSub(h)),r=l.redMul(c))}else n=f.redAdd(h),o=this.curve._mulC(this.z).redSqr(),c=n.redSub(o).redSub(o),e=this.curve._mulC(b.redISub(n)).redMul(c),t=this.curve._mulC(n).redMul(f.redISub(h)),r=n.redMul(c);return this.curve.point(e,t,r)},d.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},d.prototype._extAdd=function(p){var a=this.y.redSub(this.x).redMul(p.y.redSub(p.x)),b=this.y.redAdd(this.x).redMul(p.y.redAdd(p.x)),e=this.t.redMul(this.curve.dd).redMul(p.t),t=this.z.redMul(p.z.redAdd(p.z)),r=b.redSub(a),n=t.redSub(e),g=t.redAdd(e),o=b.redAdd(a),c=r.redMul(n),f=g.redMul(o),h=r.redMul(o),l=n.redMul(g);return this.curve.point(c,f,l,h)},d.prototype._projAdd=function(p){var e,t,a=this.z.redMul(p.z),b=a.redSqr(),r=this.x.redMul(p.x),n=this.y.redMul(p.y),o=this.curve.d.redMul(r).redMul(n),c=b.redSub(o),g=b.redAdd(o),f=this.x.redAdd(this.y).redMul(p.x.redAdd(p.y)).redISub(r).redISub(n),h=a.redMul(c).redMul(f);return this.curve.twisted?(e=a.redMul(g).redMul(n.redSub(this.curve._mulA(r))),t=c.redMul(g)):(e=a.redMul(g).redMul(n.redSub(r)),t=this.curve._mulC(c).redMul(g)),this.curve.point(h,e,t)},d.prototype.add=function(p){return this.isInfinity()?p:p.isInfinity()?this:this.curve.extended?this._extAdd(p):this._projAdd(p)},d.prototype.mul=function(e){return this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve._wnafMul(this,e)},d.prototype.mulAdd=function(e,p,t){return this.curve._wnafMulAdd(1,[this,p],[e,t],2,!1)},d.prototype.jmulAdd=function(e,p,t){return this.curve._wnafMulAdd(1,[this,p],[e,t],2,!0)},d.prototype.normalize=function(){if(this.zOne)return this;var e=this.z.redInvm();return this.x=this.x.redMul(e),this.y=this.y.redMul(e),this.t&&(this.t=this.t.redMul(e)),this.z=this.curve.one,this.zOne=!0,this},d.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},d.prototype.getX=function(){return this.normalize(),this.x.fromRed()},d.prototype.getY=function(){return this.normalize(),this.y.fromRed()},d.prototype.eq=function(e){return this===e||0===this.getX().cmp(e.getX())&&0===this.getY().cmp(e.getY())},d.prototype.eqXToP=function(e){var t=e.toRed(this.curve.red).redMul(this.z);if(0===this.x.cmp(t))return!0;for(var r=e.clone(),n=this.curve.redN.redMul(this.z);;){if(r.iadd(this.curve.n),r.cmp(this.curve.p)>=0)return!1;if(t.redIAdd(n),0===this.x.cmp(t))return!0}},d.prototype.toP=d.prototype.normalize,d.prototype.mixedAdd=d.prototype.add},function(e,t,r){"use strict";t.sha1=r(794),t.sha224=r(795),t.sha256=r(420),t.sha384=r(796),t.sha512=r(421)},function(e,t,r){"use strict";var n=r(66),o=r(141),c=r(419),f=n.rotl32,h=n.sum32,l=n.sum32_5,d=c.ft_1,y=o.BlockHash,m=[1518500249,1859775393,2400959708,3395469782];function v(){if(!(this instanceof v))return new v;y.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}n.inherits(v,y),e.exports=v,v.blockSize=512,v.outSize=160,v.hmacStrength=80,v.padLength=64,v.prototype._update=function(e,t){for(var r=this.W,i=0;i<16;i++)r[i]=e[t+i];for(;i<r.length;i++)r[i]=f(r[i-3]^r[i-8]^r[i-14]^r[i-16],1);var a=this.h[0],b=this.h[1],n=this.h[2],o=this.h[3],c=this.h[4];for(i=0;i<r.length;i++){var s=~~(i/20),y=l(f(a,5),d(s,b,n,o),c,r[i],m[s]);c=o,o=n,n=f(b,30),b=a,a=y}this.h[0]=h(this.h[0],a),this.h[1]=h(this.h[1],b),this.h[2]=h(this.h[2],n),this.h[3]=h(this.h[3],o),this.h[4]=h(this.h[4],c)},v.prototype._digest=function(e){return"hex"===e?n.toHex32(this.h,"big"):n.split32(this.h,"big")}},function(e,t,r){"use strict";var n=r(66),o=r(420);function c(){if(!(this instanceof c))return new c;o.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}n.inherits(c,o),e.exports=c,c.blockSize=512,c.outSize=224,c.hmacStrength=192,c.padLength=64,c.prototype._digest=function(e){return"hex"===e?n.toHex32(this.h.slice(0,7),"big"):n.split32(this.h.slice(0,7),"big")}},function(e,t,r){"use strict";var n=r(66),o=r(421);function c(){if(!(this instanceof c))return new c;o.call(this),this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]}n.inherits(c,o),e.exports=c,c.blockSize=1024,c.outSize=384,c.hmacStrength=192,c.padLength=128,c.prototype._digest=function(e){return"hex"===e?n.toHex32(this.h.slice(0,12),"big"):n.split32(this.h.slice(0,12),"big")}},function(e,t,r){"use strict";var n=r(66),o=r(141),c=n.rotl32,f=n.sum32,h=n.sum32_3,l=n.sum32_4,d=o.BlockHash;function y(){if(!(this instanceof y))return new y;d.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian="little"}function m(e,t,r,n){return e<=15?t^r^n:e<=31?t&r|~t&n:e<=47?(t|~r)^n:e<=63?t&n|r&~n:t^(r|~n)}function v(e){return e<=15?0:e<=31?1518500249:e<=47?1859775393:e<=63?2400959708:2840853838}function w(e){return e<=15?1352829926:e<=31?1548603684:e<=47?1836072691:e<=63?2053994217:0}n.inherits(y,d),t.ripemd160=y,y.blockSize=512,y.outSize=160,y.hmacStrength=192,y.padLength=64,y.prototype._update=function(e,t){for(var r=this.h[0],n=this.h[1],o=this.h[2],d=this.h[3],y=this.h[4],C=r,A=n,T=o,k=d,I=y,M=0;M<80;M++){var R=f(c(l(r,m(M,n,o,d),e[_[M]+t],v(M)),s[M]),y);r=y,y=d,d=c(o,10),o=n,n=R,R=f(c(l(C,m(79-M,A,T,k),e[E[M]+t],w(M)),S[M]),I),C=I,I=k,k=c(T,10),T=A,A=R}R=h(this.h[1],o,k),this.h[1]=h(this.h[2],d,I),this.h[2]=h(this.h[3],y,C),this.h[3]=h(this.h[4],r,A),this.h[4]=h(this.h[0],n,T),this.h[0]=R},y.prototype._digest=function(e){return"hex"===e?n.toHex32(this.h,"little"):n.split32(this.h,"little")};var _=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],E=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],s=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],S=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]},function(e,t,r){"use strict";var n=r(66),o=r(54);function c(e,t,r){if(!(this instanceof c))return new c(e,t,r);this.Hash=e,this.blockSize=e.blockSize/8,this.outSize=e.outSize/8,this.inner=null,this.outer=null,this._init(n.toArray(t,r))}e.exports=c,c.prototype._init=function(e){e.length>this.blockSize&&(e=(new this.Hash).update(e).digest()),o(e.length<=this.blockSize);for(var i=e.length;i<this.blockSize;i++)e.push(0);for(i=0;i<e.length;i++)e[i]^=54;for(this.inner=(new this.Hash).update(e),i=0;i<e.length;i++)e[i]^=106;this.outer=(new this.Hash).update(e)},c.prototype.update=function(e,t){return this.inner.update(e,t),this},c.prototype.digest=function(e){return this.outer.update(this.inner.digest()),this.outer.digest(e)}},function(e,t
vendor: 26,140 bytes, line 2
2){e.exports={doubles:{step:4,points:[["e60fce93b59e9ec53011aabc21c23e97b2a31369b87a5ae9c44ee89e2a6dec0a","f7e3507399e595929db99f34f57937101296891e44d23f0be1f32cce69616821"],["8282263212c609d9ea2a6e3e172de238d8c39cabd5ac1ca10646e23fd5f51508","11f8a8098557dfe45e8256e830b60ace62d613ac2f7b17bed31b6eaff6e26caf"],["175e159f728b865a72f99cc6c6fc846de0b93833fd2222ed73fce5b551e5b739","d3506e0d9e3c79eba4ef97a51ff71f5eacb5955add24345c6efa6ffee9fed695"],["363d90d447b00c9c99ceac05b6262ee053441c7e55552ffe526bad8f83ff4640","4e273adfc732221953b445397f3363145b9a89008199ecb62003c7f3bee9de9"],["8b4b5f165df3c2be8c6244b5b745638843e4a781a15bcd1b69f79a55dffdf80c","4aad0a6f68d308b4b3fbd7813ab0da04f9e336546162ee56b3eff0c65fd4fd36"],["723cbaa6e5db996d6bf771c00bd548c7b700dbffa6c0e77bcb6115925232fcda","96e867b5595cc498a921137488824d6e2660a0653779494801dc069d9eb39f5f"],["eebfa4d493bebf98ba5feec812c2d3b50947961237a919839a533eca0e7dd7fa","5d9a8ca3970ef0f269ee7edaf178089d9ae4cdc3a711f712ddfd4fdae1de8999"],["100f44da696e71672791d0a09b7bde459f1215a29b3c03bfefd7835b39a48db0","cdd9e13192a00b772ec8f3300c090666b7ff4a18ff5195ac0fbd5cd62bc65a09"],["e1031be262c7ed1b1dc9227a4a04c017a77f8d4464f3b3852c8acde6e534fd2d","9d7061928940405e6bb6a4176597535af292dd419e1ced79a44f18f29456a00d"],["feea6cae46d55b530ac2839f143bd7ec5cf8b266a41d6af52d5e688d9094696d","e57c6b6c97dce1bab06e4e12bf3ecd5c981c8957cc41442d3155debf18090088"],["da67a91d91049cdcb367be4be6ffca3cfeed657d808583de33fa978bc1ec6cb1","9bacaa35481642bc41f463f7ec9780e5dec7adc508f740a17e9ea8e27a68be1d"],["53904faa0b334cdda6e000935ef22151ec08d0f7bb11069f57545ccc1a37b7c0","5bc087d0bc80106d88c9eccac20d3c1c13999981e14434699dcb096b022771c8"],["8e7bcd0bd35983a7719cca7764ca906779b53a043a9b8bcaeff959f43ad86047","10b7770b2a3da4b3940310420ca9514579e88e2e47fd68b3ea10047e8460372a"],["385eed34c1cdff21e6d0818689b81bde71a7f4f18397e6690a841e1599c43862","283bebc3e8ea23f56701de19e9ebf4576b304eec2086dc8cc0458fe5542e5453"],["6f9d9b803ecf191637c73a4413dfa180fddf84a5947fbc9c606ed86c3fac3a7","7c80c68e603059ba69b8e2a30e45c4d47ea4dd2f5c281002d86890603a842160"],["3322d401243c4e2582a2147c104d6ecbf774d163db0f5e5313b7e0e742d0e6bd","56e70797e9664ef5bfb019bc4ddaf9b72805f63ea2873af624f3a2e96c28b2a0"],["85672c7d2de0b7da2bd1770d89665868741b3f9af7643397721d74d28134ab83","7c481b9b5b43b2eb6374049bfa62c2e5e77f17fcc5298f44c8e3094f790313a6"],["948bf809b1988a46b06c9f1919413b10f9226c60f668832ffd959af60c82a0a","53a562856dcb6646dc6b74c5d1c3418c6d4dff08c97cd2bed4cb7f88d8c8e589"],["6260ce7f461801c34f067ce0f02873a8f1b0e44dfc69752accecd819f38fd8e8","bc2da82b6fa5b571a7f09049776a1ef7ecd292238051c198c1a84e95b2b4ae17"],["e5037de0afc1d8d43d8348414bbf4103043ec8f575bfdc432953cc8d2037fa2d","4571534baa94d3b5f9f98d09fb990bddbd5f5b03ec481f10e0e5dc841d755bda"],["e06372b0f4a207adf5ea905e8f1771b4e7e8dbd1c6a6c5b725866a0ae4fce725","7a908974bce18cfe12a27bb2ad5a488cd7484a7787104870b27034f94eee31dd"],["213c7a715cd5d45358d0bbf9dc0ce02204b10bdde2a3f58540ad6908d0559754","4b6dad0b5ae462507013ad06245ba190bb4850f5f36a7eeddff2c27534b458f2"],["4e7c272a7af4b34e8dbb9352a5419a87e2838c70adc62cddf0cc3a3b08fbd53c","17749c766c9d0b18e16fd09f6def681b530b9614bff7dd33e0b3941817dcaae6"],["fea74e3dbe778b1b10f238ad61686aa5c76e3db2be43057632427e2840fb27b6","6e0568db9b0b13297cf674deccb6af93126b596b973f7b77701d3db7f23cb96f"],["76e64113f677cf0e10a2570d599968d31544e179b760432952c02a4417bdde39","c90ddf8dee4e95cf577066d70681f0d35e2a33d2b56d2032b4b1752d1901ac01"],["c738c56b03b2abe1e8281baa743f8f9a8f7cc643df26cbee3ab150242bcbb891","893fb578951ad2537f718f2eacbfbbbb82314eef7880cfe917e735d9699a84c3"],["d895626548b65b81e264c7637c972877d1d72e5f3a925014372e9f6588f6c14b","febfaa38f2bc7eae728ec60818c340eb03428d632bb067e179363ed75d7d991f"],["b8da94032a957518eb0f6433571e8761ceffc73693e84edd49150a564f676e03","2804dfa44805a1e4d7c99cc9762808b092cc584d95ff3b511488e4e74efdf6e7"],["e80fea14441fb33a7d8adab9475d7fab2019effb5156a792f1a11778e3c0df5d","eed1de7f638e00771e89768ca3ca94472d155e80af322ea9fcb4291b6ac9ec78"],["a301697bdfcd704313ba48e51d567543f2a182031efd6915ddc07bbcc4e16070","7370f91cfb67e4f5081809fa25d40f9b1735dbf7c0a11a130c0d1a041e177ea1"],["90ad85b389d6b936463f9d0512678de208cc330b11307fffab7ac63e3fb04ed4","e507a3620a38261affdcbd9427222b839aefabe1582894d991d4d48cb6ef150"],["8f68b9d2f63b5f339239c1ad981f162ee88c5678723ea3351b7b444c9ec4c0da","662a9f2dba063986de1d90c2b6be215dbbea2cfe95510bfdf23cbf79501fff82"],["e4f3fb0176af85d65ff99ff9198c36091f48e86503681e3e6686fd5053231e11","1e63633ad0ef4f1c1661a6d0ea02b7286cc7e74ec951d1c9822c38576feb73bc"],["8c00fa9b18ebf331eb961537a45a4266c7034f2f0d4e1d0716fb6eae20eae29e","efa47267fea521a1a9dc343a3736c974c2fadafa81e36c54e7d2a4c66702414b"],["e7a26ce69dd4829f3e10cec0a9e98ed3143d084f308b92c0997fddfc60cb3e41","2a758e300fa7984b471b006a1aafbb18d0a6b2c0420e83e20e8a9421cf2cfd51"],["b6459e0ee3662ec8d23540c223bcbdc571cbcb967d79424f3cf29eb3de6b80ef","67c876d06f3e06de1dadf16e5661db3c4b3ae6d48e35b2ff30bf0b61a71ba45"],["d68a80c8280bb840793234aa118f06231d6f1fc67e73c5a5deda0f5b496943e8","db8ba9fff4b586d00c4b1f9177b0e28b5b0e7b8f7845295a294c84266b133120"],["324aed7df65c804252dc0270907a30b09612aeb973449cea4095980fc28d3d5d","648a365774b61f2ff130c0c35aec1f4f19213b0c7e332843967224af96ab7c84"],["4df9c14919cde61f6d51dfdbe5fee5dceec4143ba8d1ca888e8bd373fd054c96","35ec51092d8728050974c23a1d85d4b5d506cdc288490192ebac06cad10d5d"],["9c3919a84a474870faed8a9c1cc66021523489054d7f0308cbfc99c8ac1f98cd","ddb84f0f4a4ddd57584f044bf260e641905326f76c64c8e6be7e5e03d4fc599d"],["6057170b1dd12fdf8de05f281d8e06bb91e1493a8b91d4cc5a21382120a959e5","9a1af0b26a6a4807add9a2daf71df262465152bc3ee24c65e899be932385a2a8"],["a576df8e23a08411421439a4518da31880cef0fba7d4df12b1a6973eecb94266","40a6bf20e76640b2c92b97afe58cd82c432e10a7f514d9f3ee8be11ae1b28ec8"],["7778a78c28dec3e30a05fe9629de8c38bb30d1f5cf9a3a208f763889be58ad71","34626d9ab5a5b22ff7098e12f2ff580087b38411ff24ac563b513fc1fd9f43ac"],["928955ee637a84463729fd30e7afd2ed5f96274e5ad7e5cb09eda9c06d903ac","c25621003d3f42a827b78a13093a95eeac3d26efa8a8d83fc5180e935bcd091f"],["85d0fef3ec6db109399064f3a0e3b2855645b4a907ad354527aae75163d82751","1f03648413a38c0be29d496e582cf5663e8751e96877331582c237a24eb1f962"],["ff2b0dce97eece97c1c9b6041798b85dfdfb6d8882da20308f5404824526087e","493d13fef524ba188af4c4dc54d07936c7b7ed6fb90e2ceb2c951e01f0c29907"],["827fbbe4b1e880ea9ed2b2e6301b212b57f1ee148cd6dd28780e5e2cf856e241","c60f9c923c727b0b71bef2c67d1d12687ff7a63186903166d605b68baec293ec"],["eaa649f21f51bdbae7be4ae34ce6e5217a58fdce7f47f9aa7f3b58fa2120e2b3","be3279ed5bbbb03ac69a80f89879aa5a01a6b965f13f7e59d47a5305ba5ad93d"],["e4a42d43c5cf169d9391df6decf42ee541b6d8f0c9a137401e23632dda34d24f","4d9f92e716d1c73526fc99ccfb8ad34ce886eedfa8d8e4f13a7f7131deba9414"],["1ec80fef360cbdd954160fadab352b6b92b53576a88fea4947173b9d4300bf19","aeefe93756b5340d2f3a4958a7abbf5e0146e77f6295a07b671cdc1cc107cefd"],["146a778c04670c2f91b00af4680dfa8bce3490717d58ba889ddb5928366642be","b318e0ec3354028add669827f9d4b2870aaa971d2f7e5ed1d0b297483d83efd0"],["fa50c0f61d22e5f07e3acebb1aa07b128d0012209a28b9776d76a8793180eef9","6b84c6922397eba9b72cd2872281a68a5e683293a57a213b38cd8d7d3f4f2811"],["da1d61d0ca721a11b1a5bf6b7d88e8421a288ab5d5bba5220e53d32b5f067ec2","8157f55a7c99306c79c0766161c91e2966a73899d279b48a655fba0f1ad836f1"],["a8e282ff0c9706907215ff98e8fd416615311de0446f1e062a73b0610d064e13","7f97355b8db81c09abfb7f3c5b2515888b679a3e50dd6bd6cef7c73111f4cc0c"],["174a53b9c9a285872d39e56e6913cab15d59b1fa512508c022f382de8319497c","ccc9dc37abfc9c1657b4155f2c47f9e6646b3a1d8cb9854383da13ac079afa73"],["959396981943785c3d3e57edf5018cdbe039e730e4918b3d884fdff09475b7ba","2e7e552888c331dd8ba0386a4b9cd6849c653f64c8709385e9b8abf87524f2fd"],["d2a63a50ae401e56d645a1153b109a8fcca0a43d561fba2dbb51340c9d82b151","e82d86fb6443fcb7565aee58b2948220a70f750af484ca52d4142174dcf89405"],["64587e2335471eb890ee7896d7cfdc866bacbdbd3839317b3436f9b45617e073","d99fcdd5bf6902e2ae96dd6447c299a185b90a39133aeab358299e5e9faf6589"],["8481bde0e4e4d885b3a546d3e549de042f0aa6cea250e7fd358d6c86dd45e458","38ee7b8cba5404dd84a25bf39cecb2ca900a79c42b262e556d64b1b59779057e"],["13464a57a78102aa62b6979ae817f4637ffcfed3c4b1ce30bcd6303f6caf666b","69be159004614580ef7e433453ccb0ca48f300a81d0942e13f495a907f6ecc27"],["bc4a9df5b713fe2e9aef430bcc1dc97a0cd9ccede2f28588cada3a0d2d83f366","d3a81ca6e785c06383937adf4b798caa6e8a9fbfa547b16d758d666581f33c1"],["8c28a97bf8298bc0d23d8c749452a32e694b65e30a9472a3954ab30fe5324caa","40a30463a3305193378fedf31f7cc0eb7ae784f0451cb9459e71dc73cbef9482"],["8ea9666139527a8c1dd94ce4f071fd23c8b350c5a4bb33748c4ba111faccae0","620efabbc8ee2782e24e7c0cfb95c5d735b783be9cf0f8e955af34a30e62b945"],["dd3625faef5ba06074669716bbd3788d89bdde815959968092f76cc4eb9a9787","7a188fa3520e30d461da2501045731ca941461982883395937f68d00c644a573"],["f710d79d9eb962297e4f6232b40e8f7feb2bc63814614d692c12de752408221e","ea98e67232d3b3295d3b535532115ccac8612c721851617526ae47a9c77bfc82"]]},naf:{wnd:7,points:[["f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9","388f7b0f632de8140fe337e62a37f3566500a99934c2231b6cb9fd7584b8e672"],["2f8bde4d1a07209355b4a7250a5c5128e88b84bddc619ab7cba8d569b240efe4","d8ac222636e5e3d6d4dba9dda6c9c426f788271bab0d6840dca87d3aa6ac62d6"],["5cbdf0646e5db4eaa398f365f2ea7a0e3d419b7e0330e39ce92bddedcac4f9bc","6aebca40ba255960a3178d6d861a54dba813d0b813fde7b5a5082628087264da"],["acd484e2f0c7f65309ad178a9f559abde09796974c57e714c35f110dfc27ccbe","cc338921b0a7d9fd64380971763b61e9add888a4375f8e0f05cc262ac64f9c37"],["774ae7f858a9411e5ef4246b70c65aac5649980be5c17891bbec17895da008cb","d984a032eb6b5e190243dd56d7b7b365372db1e2dff9d6a8301d74c9c953c61b"],["f28773c2d975288bc7d1d205c3748651b075fbc6610e58cddeeddf8f19405aa8","ab0902e8d880a89758212eb65cdaf473a1a06da521fa91f29b5cb52db03ed81"],["d7924d4f7d43ea965a465ae3095ff41131e5946f3c85f79e44adbcf8e27e080e","581e2872a86c72a683842ec228cc6defea40af2bd896d3a5c504dc9ff6a26b58"],["defdea4cdb677750a420fee807eacf21eb9898ae79b9768766e4faa04a2d4a34","4211ab0694635168e997b0ead2a93daeced1f4a04a95c0f6cfb199f69e56eb77"],["2b4ea0a797a443d293ef5cff444f4979f06acfebd7e86d277475656138385b6c","85e89bc037945d93b343083b5a1c86131a01f60c50269763b570c854e5c09b7a"],["352bbf4a4cdd12564f93fa332ce333301d9ad40271f8107181340aef25be59d5","321eb4075348f534d59c18259dda3e1f4a1b3b2e71b1039c67bd3d8bcf81998c"],["2fa2104d6b38d11b0230010559879124e42ab8dfeff5ff29dc9cdadd4ecacc3f","2de1068295dd865b64569335bd5dd80181d70ecfc882648423ba76b532b7d67"],["9248279b09b4d68dab21a9b066edda83263c3d84e09572e269ca0cd7f5453714","73016f7bf234aade5d1aa71bdea2b1ff3fc0de2a887912ffe54a32ce97cb3402"],["daed4f2be3a8bf278e70132fb0beb7522f570e144bf615c07e996d443dee8729","a69dce4a7d6c98e8d4a1aca87ef8d7003f83c230f3afa726ab40e52290be1c55"],["c44d12c7065d812e8acf28d7cbb19f9011ecd9e9fdf281b0e6a3b5e87d22e7db","2119a460ce326cdc76c45926c982fdac0e106e861edf61c5a039063f0e0e6482"],["6a245bf6dc698504c89a20cfded60853152b695336c28063b61c65cbd269e6b4","e022cf42c2bd4a708b3f5126f16a24ad8b33ba48d0423b6efd5e6348100d8a82"],["1697ffa6fd9de627c077e3d2fe541084ce13300b0bec1146f95ae57f0d0bd6a5","b9c398f186806f5d27561506e4557433a2cf15009e498ae7adee9d63d01b2396"],["605bdb019981718b986d0f07e834cb0d9deb8360ffb7f61df982345ef27a7479","2972d2de4f8d20681a78d93ec96fe23c26bfae84fb14db43b01e1e9056b8c49"],["62d14dab4150bf497402fdc45a215e10dcb01c354959b10cfe31c7e9d87ff33d","80fc06bd8cc5b01098088a1950eed0db01aa132967ab472235f5642483b25eaf"],["80c60ad0040f27dade5b4b06c408e56b2c50e9f56b9b8b425e555c2f86308b6f","1c38303f1cc5c30f26e66bad7fe72f70a65eed4cbe7024eb1aa01f56430bd57a"],["7a9375ad6167ad54aa74c6348cc54d344cc5dc9487d847049d5eabb0fa03c8fb","d0e3fa9eca8726909559e0d79269046bdc59ea10c70ce2b02d499ec224dc7f7"],["d528ecd9b696b54c907a9ed045447a79bb408ec39b68df504bb51f459bc3ffc9","eecf41253136e5f99966f21881fd656ebc4345405c520dbc063465b521409933"],["49370a4b5f43412ea25f514e8ecdad05266115e4a7ecb1387231808f8b45963","758f3f41afd6ed428b3081b0512fd62a54c3f3afbb5b6764b653052a12949c9a"],["77f230936ee88cbbd73df930d64702ef881d811e0e1498e2f1c13eb1fc345d74","958ef42a7886b6400a08266e9ba1b37896c95330d97077cbbe8eb3c7671c60d6"],["f2dac991cc4ce4b9ea44887e5c7c0bce58c80074ab9d4dbaeb28531b7739f530","e0dedc9b3b2f8dad4da1f32dec2531df9eb5fbeb0598e4fd1a117dba703a3c37"],["463b3d9f662621fb1b4be8fbbe2520125a216cdfc9dae3debcba4850c690d45b","5ed430d78c296c3543114306dd8622d7c622e27c970a1de31cb377b01af7307e"],["f16f804244e46e2a09232d4aff3b59976b98fac14328a2d1a32496b49998f247","cedabd9b82203f7e13d206fcdf4e33d92a6c53c26e5cce26d6579962c4e31df6"],["caf754272dc84563b0352b7a14311af55d245315ace27c65369e15f7151d41d1","cb474660ef35f5f2a41b643fa5e460575f4fa9b7962232a5c32f908318a04476"],["2600ca4b282cb986f85d0f1709979d8b44a09c07cb86d7c124497bc86f082120","4119b88753c15bd6a693b03fcddbb45d5ac6be74ab5f0ef44b0be9475a7e4b40"],["7635ca72d7e8432c338ec53cd12220bc01c48685e24f7dc8c602a7746998e435","91b649609489d613d1d5e590f78e6d74ecfc061d57048bad9e76f302c5b9c61"],["754e3239f325570cdbbf4a87deee8a66b7f2b33479d468fbc1a50743bf56cc18","673fb86e5bda30fb3cd0ed304ea49a023ee33d0197a695d0c5d98093c536683"],["e3e6bd1071a1e96aff57859c82d570f0330800661d1c952f9fe2694691d9b9e8","59c9e0bba394e76f40c0aa58379a3cb6a5a2283993e90c4167002af4920e37f5"],["186b483d056a033826ae73d88f732985c4ccb1f32ba35f4b4cc47fdcf04aa6eb","3b952d32c67cf77e2e17446e204180ab21fb8090895138b4a4a797f86e80888b"],["df9d70a6b9876ce544c98561f4be4f725442e6d2b737d9c91a8321724ce0963f","55eb2dafd84d6ccd5f862b785dc39d4ab157222720ef9da217b8c45cf2ba2417"],["5edd5cc23c51e87a497ca815d5dce0f8ab52554f849ed8995de64c5f34ce7143","efae9c8dbc14130661e8cec030c89ad0c13c66c0d17a2905cdc706ab7399a868"],["290798c2b6476830da12fe02287e9e777aa3fba1c355b17a722d362f84614fba","e38da76dcd440621988d00bcf79af25d5b29c094db2a23146d003afd41943e7a"],["af3c423a95d9f5b3054754efa150ac39cd29552fe360257362dfdecef4053b45","f98a3fd831eb2b749a93b0e6f35cfb40c8cd5aa667a15581bc2feded498fd9c6"],["766dbb24d134e745cccaa28c99bf274906bb66b26dcf98df8d2fed50d884249a","744b1152eacbe5e38dcc887980da38b897584a65fa06cedd2c924f97cbac5996"],["59dbf46f8c94759ba21277c33784f41645f7b44f6c596a58ce92e666191abe3e","c534ad44175fbc300f4ea6ce648309a042ce739a7919798cd85e216c4a307f6e"],["f13ada95103c4537305e691e74e9a4a8dd647e711a95e73cb62dc6018cfd87b8","e13817b44ee14de663bf4bc808341f326949e21a6a75c2570778419bdaf5733d"],["7754b4fa0e8aced06d4167a2c59cca4cda1869c06ebadfb6488550015a88522c","30e93e864e669d82224b967c3020b8fa8d1e4e350b6cbcc537a48b57841163a2"],["948dcadf5990e048aa3874d46abef9d701858f95de8041d2a6828c99e2262519","e491a42537f6e597d5d28a3224b1bc25df9154efbd2ef1d2cbba2cae5347d57e"],["7962414450c76c1689c7b48f8202ec37fb224cf5ac0bfa1570328a8a3d7c77ab","100b610ec4ffb4760d5c1fc133ef6f6b12507a051f04ac5760afa5b29db83437"],["3514087834964b54b15b160644d915485a16977225b8847bb0dd085137ec47ca","ef0afbb2056205448e1652c48e8127fc6039e77c15c2378b7e7d15a0de293311"],["d3cc30ad6b483e4bc79ce2c9dd8bc54993e947eb8df787b442943d3f7b527eaf","8b378a22d827278d89c5e9be8f9508ae3c2ad46290358630afb34db04eede0a4"],["1624d84780732860ce1c78fcbfefe08b2b29823db913f6493975ba0ff4847610","68651cf9b6da903e0914448c6cd9d4ca896878f5282be4c8cc06e2a404078575"],["733ce80da955a8a26902c95633e62a985192474b5af207da6df7b4fd5fc61cd4","f5435a2bd2badf7d485a4d8b8db9fcce3e1ef8e0201e4578c54673bc1dc5ea1d"],["15d9441254945064cf1a1c33bbd3b49f8966c5092171e699ef258dfab81c045c","d56eb30b69463e7234f5137b73b84177434800bacebfc685fc37bbe9efe4070d"],["a1d0fcf2ec9de675b612136e5ce70d271c21417c9d2b8aaaac138599d0717940","edd77f50bcb5a3cab2e90737309667f2641462a54070f3d519212d39c197a629"],["e22fbe15c0af8ccc5780c0735f84dbe9a790badee8245c06c7ca37331cb36980","a855babad5cd60c88b430a69f53a1a7a38289154964799be43d06d77d31da06"],["311091dd9860e8e20ee13473c1155f5f69635e394704eaa74009452246cfa9b3","66db656f87d1f04fffd1f04788c06830871ec5a64feee685bd80f0b1286d8374"],["34c1fd04d301be89b31c0442d3e6ac24883928b45a9340781867d4232ec2dbdf","9414685e97b1b5954bd46f730174136d57f1ceeb487443dc5321857ba73abee"],["f219ea5d6b54701c1c14de5b557eb42a8d13f3abbcd08affcc2a5e6b049b8d63","4cb95957e83d40b0f73af4544cccf6b1f4b08d3c07b27fb8d8c2962a400766d1"],["d7b8740f74a8fbaab1f683db8f45de26543a5490bca627087236912469a0b448","fa77968128d9c92ee1010f337ad4717eff15db5ed3c049b3411e0315eaa4593b"],["32d31c222f8f6f0ef86f7c98d3a3335ead5bcd32abdd94289fe4d3091aa824bf","5f3032f5892156e39ccd3d7915b9e1da2e6dac9e6f26e961118d14b8462e1661"],["7461f371914ab32671045a155d9831ea8793d77cd59592c4340f86cbc18347b5","8ec0ba238b96bec0cbdddcae0aa442542eee1ff50c986ea6b39847b3cc092ff6"],["ee079adb1df1860074356a25aa38206a6d716b2c3e67453d287698bad7b2b2d6","8dc2412aafe3be5c4c5f37e0ecc5f9f6a446989af04c4e25ebaac479ec1c8c1e"],["16ec93e447ec83f0467b18302ee620f7e65de331874c9dc72bfd8616ba9da6b5","5e4631150e62fb40d0e8c2a7ca5804a39d58186a50e497139626778e25b0674d"],["eaa5f980c245f6f038978290afa70b6bd8855897f98b6aa485b96065d537bd99","f65f5d3e292c2e0819a528391c994624d784869d7e6ea67fb18041024edc07dc"],["78c9407544ac132692ee1910a02439958ae04877151342ea96c4b6b35a49f51","f3e0319169eb9b85d5404795539a5e68fa1fbd583c064d2462b675f194a3ddb4"],["494f4be219a1a77016dcd838431aea0001cdc8ae7a6fc688726578d9702857a5","42242a969283a5f339ba7f075e36ba2af925ce30d767ed6e55f4b031880d562c"],["a598a8030da6d86c6bc7f2f5144ea549d28211ea58faa70ebf4c1e665c1fe9b5","204b5d6f84822c307e4b4a7140737aec23fc63b65b35f86a10026dbd2d864e6b"],["c41916365abb2b5d09192f5f2dbeafec208f020f12570a184dbadc3e58595997","4f14351d0087efa49d245b328984989d5caf9450f34bfc0ed16e96b58fa9913"],["841d6063a586fa475a724604da03bc5b92a2e0d2e0a36acfe4c73a5514742881","73867f59c0659e81904f9a1c7543698e62562d6744c169ce7a36de01a8d6154"],["5e95bb399a6971d376026947f89bde2f282b33810928be4ded112ac4d70e20d5","39f23f366809085beebfc71181313775a99c9aed7d8ba38b161384c746012865"],["36e4641a53948fd476c39f8a99fd974e5ec07564b5315d8bf99471bca0ef2f66","d2424b1b1abe4eb8164227b085c9aa9456ea13493fd563e06fd51cf5694c78fc"],["336581ea7bfbbb290c191a2f507a41cf5643842170e914faeab27c2c579f726","ead12168595fe1be99252129b6e56b3391f7ab1410cd1e0ef3dcdcabd2fda224"],["8ab89816dadfd6b6a1f2634fcf00ec8403781025ed6890c4849742706bd43ede","6fdcef09f2f6d0a044e654aef624136f503d459c3e89845858a47a9129cdd24e"],["1e33f1a746c9c5778133344d9299fcaa20b0938e8acff2544bb40284b8c5fb94","60660257dd11b3aa9c8ed618d24edff2306d320f1d03010e33a7d2057f3b3b6"],["85b7c1dcb3cec1b7ee7f30ded79dd20a0ed1f4cc18cbcfcfa410361fd8f08f31","3d98a9cdd026dd43f39048f25a8847f4fcafad1895d7a633c6fed3c35e999511"],["29df9fbd8d9e46509275f4b125d6d45d7fbe9a3b878a7af872a2800661ac5f51","b4c4fe99c775a606e2d8862179139ffda61dc861c019e55cd2876eb2a27d84b"],["a0b1cae06b0a847a3fea6e671aaf8adfdfe58ca2f768105c8082b2e449fce252","ae434102edde0958ec4b19d917a6a28e6b72da1834aff0e650f049503a296cf2"],["4e8ceafb9b3e9a136dc7ff67e840295b499dfb3b2133e4ba113f2e4c0e121e5","cf2174118c8b6d7a4b48f6d534ce5c79422c086a63460502b827ce62a326683c"],["d24a44e047e19b6f5afb81c7ca2f69080a5076689a010919f42725c2b789a33b","6fb8d5591b466f8fc63db50f1c0f1c69013f996887b8244d2cdec417afea8fa3"],["ea01606a7a6c9cdd249fdfcfacb99584001edd28abbab77b5104e98e8e3b35d4","322af4908c7312b0cfbfe369f7a7b3cdb7d4494bc2823700cfd652188a3ea98d"],["af8addbf2b661c8a6c6328655eb96651252007d8c5ea31be4ad196de8ce2131f","6749e67c029b85f52a034eafd096836b2520818680e26ac8f3dfbcdb71749700"],["e3ae1974566ca06cc516d47e0fb165a674a3dabcfca15e722f0e3450f45889","2aeabe7e4531510116217f07bf4d07300de97e4874f81f533420a72eeb0bd6a4"],["591ee355313d99721cf6993ffed1e3e301993ff3ed258802075ea8ced397e246","b0ea558a113c30bea60fc4775460c7901ff0b053d25ca2bdeee98f1a4be5d196"],["11396d55fda54c49f19aa97318d8da61fa8584e47b084945077cf03255b52984","998c74a8cd45ac01289d5833a7beb4744ff536b01b257be4c5767bea93ea57a4"],["3c5d2a1ba39c5a1790000738c9e0c40b8dcdfd5468754b6405540157e017aa7a","b2284279995a34e2f9d4de7396fc18b80f9b8b9fdd270f6661f79ca4c81bd257"],["cc8704b8a60a0defa3a99a7299f2e9c3fbc395afb04ac078425ef8a1793cc030","bdd46039feed17881d1e0862db347f8cf395b74fc4bcdc4e940b74e3ac1f1b13"],["c533e4f7ea8555aacd9777ac5cad29b97dd4defccc53ee7ea204119b2889b197","6f0a256bc5efdf429a2fb6242f1a43a2d9b925bb4a4b3a26bb8e0f45eb596096"],["c14f8f2ccb27d6f109f6d08d03cc96a69ba8c34eec07bbcf566d48e33da6593","c359d6923bb398f7fd4473e16fe1c28475b740dd098075e6c0e8649113dc3a38"],["a6cbc3046bc6a450bac24789fa17115a4c9739ed75f8f21ce441f72e0b90e6ef","21ae7f4680e889bb130619e2c0f95a360ceb573c70603139862afd617fa9b9f"],["347d6d9a02c48927ebfb86c1359b1caf130a3c0267d11ce6344b39f99d43cc38","60ea7f61a353524d1c987f6ecec92f086d565ab687870cb12689ff1e31c74448"],["da6545d2181db8d983f7dcb375ef5866d47c67b1bf31c8cf855ef7437b72656a","49b96715ab6878a79e78f07ce5680c5d6673051b4935bd897fea824b77dc208a"],["c40747cc9d012cb1a13b8148309c6de7ec25d6945d657146b9d5994b8feb1111","5ca560753be2a12fc6de6caf2cb489565db936156b9514e1bb5e83037e0fa2d4"],["4e42c8ec82c99798ccf3a610be870e78338c7f713348bd34c8203ef4037f3502","7571d74ee5e0fb92a7a8b33a07783341a5492144cc54bcc40a94473693606437"],["3775ab7089bc6af823aba2e1af70b236d251cadb0c86743287522a1b3b0dedea","be52d107bcfa09d8bcb9736a828cfa7fac8db17bf7a76a2c42ad961409018cf7"],["cee31cbf7e34ec379d94fb814d3d775ad954595d1314ba8846959e3e82f74e26","8fd64a14c06b589c26b947ae2bcf6bfa0149ef0be14ed4d80f448a01c43b1c6d"],["b4f9eaea09b6917619f6ea6a4eb5464efddb58fd45b1ebefcdc1a01d08b47986","39e5c9925b5a54b07433a4f18c61726f8bb131c012ca542eb24a8ac07200682a"],["d4263dfc3d2df923a0179a48966d30ce84e2515afc3dccc1b77907792ebcc60e","62dfaf07a0f78feb30e30d6295853ce189e127760ad6cf7fae164e122a208d54"],["48457524820fa65a4f8d35eb6930857c0032acc0a4a2de422233eeda897612c4","25a748ab367979d98733c38a1fa1c2e7dc6cc07db2d60a9ae7a76aaa49bd0f77"],["dfeeef1881101f2cb11644f3a2afdfc2045e19919152923f367a1767c11cceda","ecfb7056cf1de042f9420bab396793c0c390bde74b4bbdff16a83ae09a9a7517"],["6d7ef6b17543f8373c573f44e1f389835d89bcbc6062ced36c82df83b8fae859","cd450ec335438986dfefa10c57fea9bcc521a0959b2d80bbf74b190dca712d10"],["e75605d59102a5a2684500d3b991f2e3f3c88b93225547035af25af66e04541f","f5c54754a8f71ee540b9b48728473e314f729ac5308b06938360990e2bfad125"],["eb98660f4c4dfaa06a2be453d5020bc99a0c2e60abe388457dd43fefb1ed620c","6cb9a8876d9cb8520609af3add26cd20a0a7cd8a9411131ce85f44100099223e"],["13e87b027d8514d35939f2e6892b19922154596941888336dc3563e3b8dba942","fef5a3c68059a6dec5d624114bf1e91aac2b9da568d6abeb2570d55646b8adf1"],["ee163026e9fd6fe017c38f06a5be6fc125424b371ce2708e7bf4491691e5764a","1acb250f255dd61c43d94ccc670d0f58f49ae3fa15b96623e5430da0ad6c62b2"],["b268f5ef9ad51e4d78de3a750c2dc89b1e626d43505867999932e5db33af3d80","5f310d4b3c99b9ebb19f77d41c1dee018cf0d34fd4191614003e945a1216e423"],["ff07f3118a9df035e9fad85eb6c7bfe42b02f01ca99ceea3bf7ffdba93c4750d","438136d603e858a3a5c440c38eccbaddc1d2942114e2eddd4740d098ced1f0d8"],["8d8b9855c7c052a34146fd20ffb658bea4b9f69e0d825ebec16e8c3ce2b526a1","cdb559eedc2d79f926baf44fb84ea4d44bcf50fee51d7ceb30e2e7f463036758"],["52db0b5384dfbf05bfa9d472d7ae26dfe4b851ceca91b1eba54263180da32b63","c3b997d050ee5d423ebaf66a6db9f57b3180c902875679de924b69d84a7b375"],["e62f9490d3d51da6395efd24e80919cc7d0f29c3f3fa48c6fff543becbd43352","6d89ad7ba4876b0b22c2ca280c682862f342c8591f1daf5170e07bfd9ccafa7d"],["7f30ea2476b399b4957509c88f77d0191afa2ff5cb7b14fd6d8e7d65aaab1193","ca5ef7d4b231c94c3b15389a5f6311e9daff7bb67b103e9880ef4bff637acaec"],["5098ff1e1d9f14fb46a210fada6c903fef0fb7b4a1dd1d9ac60a0361800b7a00","9731141d81fc8f8084d37c6e7542006b3ee1b40d60dfe5362a5b132fd17ddc0"],["32b78c7de9ee512a72895be6b9cbefa6e2f3c4ccce445c96b9f2c81e2778ad58","ee1849f513df71e32efc3896ee28260c73bb80547ae2275ba497237794c8753c"],["e2cb74fddc8e9fbcd076eef2a7c72b0ce37d50f08269dfc074b581550547a4f7","d3aa2ed71c9dd2247a62df062736eb0baddea9e36122d2be8641abcb005cc4a4"],["8438447566d4d7bedadc299496ab357426009a35f235cb141be0d99cd10ae3a8","c4e1020916980a4da5d01ac5e6ad330734ef0d7906631c4f2390426b2edd791f"],["4162d488b89402039b584c6fc6c308870587d9c46f660b878ab65c82c711d67e","67163e903236289f776f22c25fb8a3afc1732f2b84b4e95dbda47ae5a0852649"],["3fad3fa84caf0f34f0f89bfd2dcf54fc175d767aec3e50684f3ba4a4bf5f683d","cd1bc7cb6cc407bb2f0ca647c718a730cf71872e7d0d2a53fa20efcdfe61826"],["674f2600a3007a00568c1a7ce05d0816c1fb84bf1370798f1c69532faeb1a86b","299d21f9413f33b3edf43b257004580b70db57da0b182259e09eecc69e0d38a5"],["d32f4da54ade74abb81b815ad1fb3b263d82d6c692714bcff87d29bd5ee9f08f","f9429e738b8e53b968e99016c059707782e14f4535359d582fc416910b3eea87"],["30e4e670435385556e593657135845d36fbb6931f72b08cb1ed954f1e3ce3ff6","462f9bce619898638499350113bbc9b10a878d35da70740dc695a559eb88db7b"],["be2062003c51cc3004682904330e4dee7f3dcd10b01e580bf1971b04d4cad297","62188bc49d61e5428573d48a74e1c655b1c61090905682a0d5558ed72dccb9bc"],["93144423ace3451ed29e0fb9ac2af211cb6e84a601df5993c419859fff5df04a","7c10dfb164c3425f5c71a3f9d7992038f1065224f72bb9d1d902a6d13037b47c"],["b015f8044f5fcbdcf21ca26d6c34fb8197829205c7b7d2a7cb66418c157b112c","ab8c1e086d04e813744a655b2df8d5f83b3cdc6faa3088c1d3aea1454e3a1d5f"],["d5e9e1da649d97d89e4868117a465a3a4f8a18de57a140d36b3f2af341a21b52","4cb04437f391ed73111a13cc1d4dd0db1693465c2240480d8955e8592f27447a"],["d3ae41047dd7ca065dbf8ed77b992439983005cd72e16d6f996a5316d36966bb","bd1aeb21ad22ebb22a10f0303417c6d964f8cdd7df0aca614b10dc14d125ac46"],["463e2763d885f958fc66cdd22800f0a487197d0a82e377b49f80af87c897b065","bfefacdb0e5d0fd7df3a311a94de062b26b80c61fbc97508b79992671ef7ca7f"],["7985fdfd127c0567c6f53ec1bb63ec3158e597c40bfe747c83cddfc910641917","603c12daf3d9862ef2b25fe1de289aed24ed291e0ec6708703a5bd567f32ed03"],["74a1ad6b5f76e39db2dd249410eac7f99e74c59cb83d2d0ed5ff1543da7703e9","cc6157ef18c9c63cd6193d83631bbea0093e0968942e8c33d5737fd790e0db08"],["30682a50703375f602d416664ba19b7fc9bab42c72747463a71d0896b22f6da3","553e04f6b018b4fa6c8f39e7f311d3176290d0e0f19ca73f17714d9977a22ff8"],["9e2158f0d7c0d5f26c3791efefa79597654e7a2b2464f52b1ee6c1347769ef57","712fcdd1b9053f09003a3481fa7762e9ffd7c8ef35a38509e2fbf2629008373"],["176e26989a43c9cfeba4029c202538c28172e566e3c4fce7322857f3be327d66","ed8cc9d04b29eb877d270b4878dc43c19aefd31f4eee09ee7b47834c1fa4b1c3"],["75d46efea3771e6e68abb89a13ad747ecf1892393dfc4f1b7004788c50374da8","9852390a99507679fd0b86fd2b39a868d7efc22151346e1a3ca4726586a6bed8"],["809a20c67d64900ffb698c4c825f6d5f2310fb0451c869345b7319f645605721","9e994980d9917e22b76b061927fa04143d096ccc54963e6a5ebfa5f3f8e286c1"],["1b38903a43f7f114ed4500b4eac7083fdefece1cf29c63528d563446f972c180","4036edc931a60ae889353f77fd53de4a2708b26b6f5da72ad3394119daf408f9"]]}}},
vendor: 9,451 bytes, line 2
2function(e,t,r){"use strict";var n=r(32),o=r(801),c=r(55),f=r(255),h=r(251),l=c.assert,d=r(802),y=r(803);function m(e){if(!(this instanceof m))return new m(e);"string"==typeof e&&(l(Object.prototype.hasOwnProperty.call(f,e),"Unknown curve "+e),e=f[e]),e instanceof f.PresetCurve&&(e={curve:e}),this.curve=e.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=e.curve.g,this.g.precompute(e.curve.n.bitLength()+1),this.hash=e.hash||e.curve.hash}e.exports=m,m.prototype.keyPair=function(e){return new d(this,e)},m.prototype.keyFromPrivate=function(e,t){return d.fromPrivate(this,e,t)},m.prototype.keyFromPublic=function(e,t){return d.fromPublic(this,e,t)},m.prototype.genKeyPair=function(e){e||(e={});for(var t=new o({hash:this.hash,pers:e.pers,persEnc:e.persEnc||"utf8",entropy:e.entropy||h(this.hash.hmacStrength),entropyEnc:e.entropy&&e.entropyEnc||"utf8",nonce:this.n.toArray()}),r=this.n.byteLength(),c=this.n.sub(new n(2));;){var f=new n(t.generate(r));if(!(f.cmp(c)>0))return f.iaddn(1),this.keyFromPrivate(f)}},m.prototype._truncateToN=function(e,t){var r=8*e.byteLength()-this.n.bitLength();return r>0&&(e=e.ushrn(r)),!t&&e.cmp(this.n)>=0?e.sub(this.n):e},m.prototype.sign=function(e,t,r,c){"object"==typeof r&&(c=r,r=null),c||(c={}),t=this.keyFromPrivate(t,r),e=this._truncateToN(new n(e,16));for(var f=this.n.byteLength(),h=t.getPrivate().toArray("be",f),l=e.toArray("be",f),d=new o({hash:this.hash,entropy:h,nonce:l,pers:c.pers,persEnc:c.persEnc||"utf8"}),m=this.n.sub(new n(1)),v=0;;v++){var w=c.k?c.k(v):new n(d.generate(this.n.byteLength()));if(!((w=this._truncateToN(w,!0)).cmpn(1)<=0||w.cmp(m)>=0)){var _=this.g.mul(w);if(!_.isInfinity()){var E=_.getX(),S=E.umod(this.n);if(0!==S.cmpn(0)){var s=w.invm(this.n).mul(S.mul(t.getPrivate()).iadd(e));if(0!==(s=s.umod(this.n)).cmpn(0)){var C=(_.getY().isOdd()?1:0)|(0!==E.cmp(S)?2:0);return c.canonical&&s.cmp(this.nh)>0&&(s=this.n.sub(s),C^=1),new y({r:S,s:s,recoveryParam:C})}}}}}},m.prototype.verify=function(e,t,r,o){e=this._truncateToN(new n(e,16)),r=this.keyFromPublic(r,o);var c=(t=new y(t,"hex")).r,s=t.s;if(c.cmpn(1)<0||c.cmp(this.n)>=0)return!1;if(s.cmpn(1)<0||s.cmp(this.n)>=0)return!1;var p,f=s.invm(this.n),h=f.mul(e).umod(this.n),l=f.mul(c).umod(this.n);return this.curve._maxwellTrick?!(p=this.g.jmulAdd(h,r.getPublic(),l)).isInfinity()&&p.eqXToP(c):!(p=this.g.mulAdd(h,r.getPublic(),l)).isInfinity()&&0===p.getX().umod(this.n).cmp(c)},m.prototype.recoverPubKey=function(e,t,r,o){l((3&r)===r,"The recovery param is more than two bits"),t=new y(t,o);var c=this.n,f=new n(e),h=t.r,s=t.s,d=1&r,m=r>>1;if(h.cmp(this.curve.p.umod(this.curve.n))>=0&&m)throw new Error("Unable to find sencond key candinate");h=m?this.curve.pointFromX(h.add(this.curve.n),d):this.curve.pointFromX(h,d);var v=t.r.invm(c),w=c.sub(f).mul(v).umod(c),_=s.mul(v).umod(c);return this.g.mulAdd(w,h,_)},m.prototype.getKeyRecoveryParam=function(e,t,r,n){if(null!==(t=new y(t,n)).recoveryParam)return t.recoveryParam;for(var i=0;i<4;i++){var o;try{o=this.recoverPubKey(e,t,i)}catch(e){continue}if(o.eq(r))return i}throw new Error("Unable to find valid recovery factor")}},function(e,t,r){"use strict";var n=r(256),o=r(417),c=r(54);function f(e){if(!(this instanceof f))return new f(e);this.hash=e.hash,this.predResist=!!e.predResist,this.outLen=this.hash.outSize,this.minEntropy=e.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var t=o.toArray(e.entropy,e.entropyEnc||"hex"),r=o.toArray(e.nonce,e.nonceEnc||"hex"),n=o.toArray(e.pers,e.persEnc||"hex");c(t.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(t,r,n)}e.exports=f,f.prototype._init=function(e,t,r){var n=e.concat(t).concat(r);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var i=0;i<this.V.length;i++)this.K[i]=0,this.V[i]=1;this._update(n),this._reseed=1,this.reseedInterval=281474976710656},f.prototype._hmac=function(){return new n.hmac(this.hash,this.K)},f.prototype._update=function(e){var t=this._hmac().update(this.V).update([0]);e&&(t=t.update(e)),this.K=t.digest(),this.V=this._hmac().update(this.V).digest(),e&&(this.K=this._hmac().update(this.V).update([1]).update(e).digest(),this.V=this._hmac().update(this.V).digest())},f.prototype.reseed=function(e,t,r,n){"string"!=typeof t&&(n=r,r=t,t=null),e=o.toArray(e,t),r=o.toArray(r,n),c(e.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(e.concat(r||[])),this._reseed=1},f.prototype.generate=function(e,t,r,n){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");"string"!=typeof t&&(n=r,r=t,t=null),r&&(r=o.toArray(r,n||"hex"),this._update(r));for(var c=[];c.length<e;)this.V=this._hmac().update(this.V).digest(),c=c.concat(this.V);var f=c.slice(0,e);return this._update(r),this._reseed++,o.encode(f,t)}},function(e,t,r){"use strict";var n=r(32),o=r(55).assert;function c(e,t){this.ec=e,this.priv=null,this.pub=null,t.priv&&this._importPrivate(t.priv,t.privEnc),t.pub&&this._importPublic(t.pub,t.pubEnc)}e.exports=c,c.fromPublic=function(e,t,r){return t instanceof c?t:new c(e,{pub:t,pubEnc:r})},c.fromPrivate=function(e,t,r){return t instanceof c?t:new c(e,{priv:t,privEnc:r})},c.prototype.validate=function(){var e=this.getPublic();return e.isInfinity()?{result:!1,reason:"Invalid public key"}:e.validate()?e.mul(this.ec.curve.n).isInfinity()?{result:!0,reason:null}:{result:!1,reason:"Public key * N != O"}:{result:!1,reason:"Public key is not a point"}},c.prototype.getPublic=function(e,t){return"string"==typeof e&&(t=e,e=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),t?this.pub.encode(t,e):this.pub},c.prototype.getPrivate=function(e){return"hex"===e?this.priv.toString(16,2):this.priv},c.prototype._importPrivate=function(e,t){this.priv=new n(e,t||16),this.priv=this.priv.umod(this.ec.curve.n)},c.prototype._importPublic=function(e,t){if(e.x||e.y)return"mont"===this.ec.curve.type?o(e.x,"Need x coordinate"):"short"!==this.ec.curve.type&&"edwards"!==this.ec.curve.type||o(e.x&&e.y,"Need both x and y coordinate"),void(this.pub=this.ec.curve.point(e.x,e.y));this.pub=this.ec.curve.decodePoint(e,t)},c.prototype.derive=function(e){return e.validate()||o(e.validate(),"public point not validated"),e.mul(this.priv).getX()},c.prototype.sign=function(e,t,r){return this.ec.sign(e,this,t,r)},c.prototype.verify=function(e,t){return this.ec.verify(e,t,this)},c.prototype.inspect=function(){return"<Key priv: "+(this.priv&&this.priv.toString(16,2))+" pub: "+(this.pub&&this.pub.inspect())+" >"}},function(e,t,r){"use strict";var n=r(32),o=r(55),c=o.assert;function f(e,t){if(e instanceof f)return e;this._importDER(e,t)||(c(e.r&&e.s,"Signature without r or s"),this.r=new n(e.r,16),this.s=new n(e.s,16),void 0===e.recoveryParam?this.recoveryParam=null:this.recoveryParam=e.recoveryParam)}function h(){this.place=0}function l(e,p){var t=e[p.place++];if(!(128&t))return t;var r=15&t;if(0===r||r>4)return!1;for(var n=0,i=0,o=p.place;i<r;i++,o++)n<<=8,n|=e[o],n>>>=0;return!(n<=127)&&(p.place=o,n)}function d(e){for(var i=0,t=e.length-1;!e[i]&&!(128&e[i+1])&&i<t;)i++;return 0===i?e:e.slice(i)}function y(e,t){if(t<128)e.push(t);else{var r=1+(Math.log(t)/Math.LN2>>>3);for(e.push(128|r);--r;)e.push(t>>>(r<<3)&255);e.push(t)}}e.exports=f,f.prototype._importDER=function(data,e){data=o.toArray(data,e);var p=new h;if(48!==data[p.place++])return!1;var t=l(data,p);if(!1===t)return!1;if(t+p.place!==data.length)return!1;if(2!==data[p.place++])return!1;var r=l(data,p);if(!1===r)return!1;var c=data.slice(p.place,r+p.place);if(p.place+=r,2!==data[p.place++])return!1;var f=l(data,p);if(!1===f)return!1;if(data.length!==f+p.place)return!1;var s=data.slice(p.place,f+p.place);if(0===c[0]){if(!(128&c[1]))return!1;c=c.slice(1)}if(0===s[0]){if(!(128&s[1]))return!1;s=s.slice(1)}return this.r=new n(c),this.s=new n(s),this.recoveryParam=null,!0},f.prototype.toDER=function(e){var t=this.r.toArray(),s=this.s.toArray();for(128&t[0]&&(t=[0].concat(t)),128&s[0]&&(s=[0].concat(s)),t=d(t),s=d(s);!(s[0]||128&s[1]);)s=s.slice(1);var r=[2];y(r,t.length),(r=r.concat(t)).push(2),y(r,s.length);var n=r.concat(s),c=[48];return y(c,n.length),c=c.concat(n),o.encode(c,e)}},function(e,t,r){"use strict";var n=r(256),o=r(255),c=r(55),f=c.assert,h=c.parseBytes,l=r(805),d=r(806);function y(e){if(f("ed25519"===e,"only tested with ed25519 so far"),!(this instanceof y))return new y(e);e=o[e].curve,this.curve=e,this.g=e.g,this.g.precompute(e.n.bitLength()+1),this.pointClass=e.point().constructor,this.encodingLength=Math.ceil(e.n.bitLength()/8),this.hash=n.sha512}e.exports=y,y.prototype.sign=function(e,t){e=h(e);var r=this.keyFromSecret(t),n=this.hashInt(r.messagePrefix(),e),o=this.g.mul(n),c=this.encodePoint(o),f=this.hashInt(c,r.pubBytes(),e).mul(r.priv()),l=n.add(f).umod(this.curve.n);return this.makeSignature({R:o,S:l,Rencoded:c})},y.prototype.verify=function(e,t,r){e=h(e),t=this.makeSignature(t);var n=this.keyFromPublic(r),o=this.hashInt(t.Rencoded(),n.pubBytes(),e),c=this.g.mul(t.S());return t.R().add(n.pub().mul(o)).eq(c)},y.prototype.hashInt=function(){for(var e=this.hash(),i=0;i<arguments.length;i++)e.update(arguments[i]);return c.intFromLE(e.digest()).umod(this.curve.n)},y.prototype.keyFromPublic=function(e){return l.fromPublic(this,e)},y.prototype.keyFromSecret=function(e){return l.fromSecret(this,e)},y.prototype.makeSignature=function(e){return e instanceof d?e:ne
vendor: 5,828 bytes, line 2
2w d(this,e)},y.prototype.encodePoint=function(e){var t=e.getY().toArray("le",this.encodingLength);return t[this.encodingLength-1]|=e.getX().isOdd()?128:0,t},y.prototype.decodePoint=function(e){var t=(e=c.parseBytes(e)).length-1,r=e.slice(0,t).concat(-129&e[t]),n=0!=(128&e[t]),o=c.intFromLE(r);return this.curve.pointFromY(o,n)},y.prototype.encodeInt=function(e){return e.toArray("le",this.encodingLength)},y.prototype.decodeInt=function(e){return c.intFromLE(e)},y.prototype.isPoint=function(e){return e instanceof this.pointClass}},function(e,t,r){"use strict";var n=r(55),o=n.assert,c=n.parseBytes,f=n.cachedProperty;function h(e,t){this.eddsa=e,this._secret=c(t.secret),e.isPoint(t.pub)?this._pub=t.pub:this._pubBytes=c(t.pub)}h.fromPublic=function(e,t){return t instanceof h?t:new h(e,{pub:t})},h.fromSecret=function(e,t){return t instanceof h?t:new h(e,{secret:t})},h.prototype.secret=function(){return this._secret},f(h,"pubBytes",(function(){return this.eddsa.encodePoint(this.pub())})),f(h,"pub",(function(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())})),f(h,"privBytes",(function(){var e=this.eddsa,t=this.hash(),r=e.encodingLength-1,a=t.slice(0,e.encodingLength);return a[0]&=248,a[r]&=127,a[r]|=64,a})),f(h,"priv",(function(){return this.eddsa.decodeInt(this.privBytes())})),f(h,"hash",(function(){return this.eddsa.hash().update(this.secret()).digest()})),f(h,"messagePrefix",(function(){return this.hash().slice(this.eddsa.encodingLength)})),h.prototype.sign=function(e){return o(this._secret,"KeyPair can only verify"),this.eddsa.sign(e,this)},h.prototype.verify=function(e,t){return this.eddsa.verify(e,t,this)},h.prototype.getSecret=function(e){return o(this._secret,"KeyPair is public only"),n.encode(this.secret(),e)},h.prototype.getPublic=function(e){return n.encode(this.pubBytes(),e)},e.exports=h},function(e,t,r){"use strict";var n=r(32),o=r(55),c=o.assert,f=o.cachedProperty,h=o.parseBytes;function l(e,t){this.eddsa=e,"object"!=typeof t&&(t=h(t)),Array.isArray(t)&&(t={R:t.slice(0,e.encodingLength),S:t.slice(e.encodingLength)}),c(t.R&&t.S,"Signature without R or S"),e.isPoint(t.R)&&(this._R=t.R),t.S instanceof n&&(this._S=t.S),this._Rencoded=Array.isArray(t.R)?t.R:t.Rencoded,this._Sencoded=Array.isArray(t.S)?t.S:t.Sencoded}f(l,"S",(function(){return this.eddsa.decodeInt(this.Sencoded())})),f(l,"R",(function(){return this.eddsa.decodePoint(this.Rencoded())})),f(l,"Rencoded",(function(){return this.eddsa.encodePoint(this.R())})),f(l,"Sencoded",(function(){return this.eddsa.encodeInt(this.S())})),l.prototype.toBytes=function(){return this.Rencoded().concat(this.Sencoded())},l.prototype.toHex=function(){return o.encode(this.toBytes(),"hex").toUpperCase()},e.exports=l},,function(e,t,r){"use strict";var n=r(423);t.certificate=r(814);var o=n.define("RSAPrivateKey",(function(){this.seq().obj(this.key("version").int(),this.key("modulus").int(),this.key("publicExponent").int(),this.key("privateExponent").int(),this.key("prime1").int(),this.key("prime2").int(),this.key("exponent1").int(),this.key("exponent2").int(),this.key("coefficient").int())}));t.RSAPrivateKey=o;var c=n.define("RSAPublicKey",(function(){this.seq().obj(this.key("modulus").int(),this.key("publicExponent").int())}));t.RSAPublicKey=c;var f=n.define("SubjectPublicKeyInfo",(function(){this.seq().obj(this.key("algorithm").use(h),this.key("subjectPublicKey").bitstr())}));t.PublicKey=f;var h=n.define("AlgorithmIdentifier",(function(){this.seq().obj(this.key("algorithm").objid(),this.key("none").null_().optional(),this.key("curve").objid().optional(),this.key("params").seq().obj(this.key("p").int(),this.key("q").int(),this.key("g").int()).optional())})),l=n.define("PrivateKeyInfo",(function(){this.seq().obj(this.key("version").int(),this.key("algorithm").use(h),this.key("subjectPrivateKey").octstr())}));t.PrivateKey=l;var d=n.define("EncryptedPrivateKeyInfo",(function(){this.seq().obj(this.key("algorithm").seq().obj(this.key("id").objid(),this.key("decrypt").seq().obj(this.key("kde").seq().obj(this.key("id").objid(),this.key("kdeparams").seq().obj(this.key("salt").octstr(),this.key("iters").int())),this.key("cipher").seq().obj(this.key("algo").objid(),this.key("iv").octstr()))),this.key("subjectPrivateKey").octstr())}));t.EncryptedPrivateKey=d;var y=n.define("DSAPrivateKey",(function(){this.seq().obj(this.key("version").int(),this.key("p").int(),this.key("q").int(),this.key("g").int(),this.key("pub_key").int(),this.key("priv_key").int())}));t.DSAPrivateKey=y,t.DSAparam=n.define("DSAparam",(function(){this.int()}));var m=n.define("ECPrivateKey",(function(){this.seq().obj(this.key("version").int(),this.key("privateKey").octstr(),this.key("parameters").optional().explicit(0).use(v),this.key("publicKey").optional().explicit(1).bitstr())}));t.ECPrivateKey=m;var v=n.define("ECParameters",(function(){this.choice({namedCurve:this.objid()})}));t.signature=n.define("signature",(function(){this.seq().obj(this.key("r").int(),this.key("s").int())}))},function(e,t,r){"use strict";const n=r(424),o=r(426),c=r(5);function f(e,body){this.name=e,this.body=body,this.decoders={},this.encoders={}}t.define=function(e,body){return new f(e,body)},f.prototype._createNamed=function(e){const t=this.name;function r(e){this._initNamed(e,t)}return c(r,e),r.prototype._initNamed=function(t,r){e.call(this,t,r)},new r(this)},f.prototype._getDecoder=function(e){return e=e||"der",this.decoders.hasOwnProperty(e)||(this.decoders[e]=this._createNamed(o[e])),this.decoders[e]},f.prototype.decode=function(data,e,t){return this._getDecoder(e).decode(data,t)},f.prototype._getEncoder=function(e){return e=e||"der",this.encoders.hasOwnProperty(e)||(this.encoders[e]=this._createNamed(n[e])),this.encoders[e]},f.prototype.encode=function(data,e,t){return this._getEncoder(e).encode(d
vendor: 4,171 bytes, line 2
2ata,t)}},function(e,t,r){"use strict";const n=r(5),o=r(425);function c(e){o.call(this,e),this.enc="pem"}n(c,o),e.exports=c,c.prototype.encode=function(data,e){const p=o.prototype.encode.call(this,data).toString("base64"),t=["-----BEGIN "+e.label+"-----"];for(let i=0;i<p.length;i+=64)t.push(p.slice(i,i+64));return t.push("-----END "+e.label+"-----"),t.join("\n")}},function(e,t,r){"use strict";const n=r(5),o=r(257).Buffer,c=r(427);function f(e){c.call(this,e),this.enc="pem"}n(f,c),e.exports=f,f.prototype.decode=function(data,e){const t=data.toString().split(/[\r\n]+/g),label=e.label.toUpperCase(),r=/^-----(BEGIN|END) ([^-]+)-----$/;let n=-1,f=-1;for(let i=0;i<t.length;i++){const e=t[i].match(r);if(null!==e&&e[2]===label){if(-1!==n){if("END"!==e[1])break;f=i;break}if("BEGIN"!==e[1])break;n=i}}if(-1===n||-1===f)throw new Error("PEM section not found for: "+label);const h=t.slice(n+1,f).join("");h.replace(/[^a-z0-9+/=]+/gi,"");const input=o.from(h,"base64");return c.prototype.decode.call(this,input,e)}},function(e,t,r){"use strict";const base=t;base.Reporter=r(259).Reporter,base.DecoderBuffer=r(142).DecoderBuffer,base.EncoderBuffer=r(142).EncoderBuffer,base.Node=r(258)},function(e,t,r){"use strict";const n=t;n._reverse=function(map){const e={};return Object.keys(map).forEach((function(t){(0|t)==t&&(t|=0);const r=map[t];e[r]=t})),e},n.der=r(260)},function(e,t,r){"use strict";var n=r(423),o=n.define("Time",(function(){this.choice({utcTime:this.utctime(),generalTime:this.gentime()})})),c=n.define("AttributeTypeValue",(function(){this.seq().obj(this.key("type").objid(),this.key("value").any())})),f=n.define("AlgorithmIdentifier",(function(){this.seq().obj(this.key("algorithm").objid(),this.key("parameters").optional(),this.key("curve").objid().optional())})),h=n.define("SubjectPublicKeyInfo",(function(){this.seq().obj(this.key("algorithm").use(f),this.key("subjectPublicKey").bitstr())})),l=n.define("RelativeDistinguishedName",(function(){this.setof(c)})),d=n.define("RDNSequence",(function(){this.seqof(l)})),y=n.define("Name",(function(){this.choice({rdnSequence:this.use(d)})})),m=n.define("Validity",(function(){this.seq().obj(this.key("notBefore").use(o),this.key("notAfter").use(o))})),v=n.define("Extension",(function(){this.seq().obj(this.key("extnID").objid(),this.key("critical").bool().def(!1),this.key("extnValue").octstr())})),w=n.define("TBSCertificate",(function(){this.seq().obj(this.key("version").explicit(0).int().optional(),this.key("serialNumber").int(),this.key("signature").use(f),this.key("issuer").use(y),this.key("validity").use(m),this.key("subject").use(y),this.key("subjectPublicKeyInfo").use(h),this.key("issuerUniqueID").implicit(1).bitstr().optional(),this.key("subjectUniqueID").implicit(2).bitstr().optional(),this.key("extensions").explicit(3).seqof(v).optional())})),_=n.define("X509Certificate",(function(){this.seq().obj(this.key("tbsCertificate").use(w),this.key("signatureAlgorithm").use(f),this.key("signatureValue").bitstr())}));e.exports=_},function(e){e.exports=JSON.parse('{"2.16.840.1.101.3.4.1.1":"aes-128-ecb","2.16.840.1.101.3.4.1.2":"aes-128-cbc","2.16.840.1.101.3.4.1.3":"aes-128-ofb","2.16.840.1.101.3.4.1.4":"aes-128-cfb","2.16.840.1.101.3.4.1.21":"aes-192-ecb","2.16.840.1.101.3.4.1.22":"aes-192-cbc","2.16.840.1.101.3.4.1.23":"aes-192-ofb","2.16.840.1.101.3.4.1.24":"aes-192-cfb","2.16.840.1.101.3.4.1.41":"aes-256-ecb","2.16.840.1.101.3.4.1.42":"aes-256-cbc","2.16.840.1.101.3.4.1.43":"aes-256-ofb","2.16.840.1.101.3.4.1.44":"aes-256-cfb"}')},function(e,t,r){var n=/Proc-Type: 4,ENCRYPTED[\n\r]+DEK-Info: AES-((?:128)|(?:192)|(?:256))-CBC,([0-9A-H]+)[\n\r]+([0-9A-z\n\r+/=]+)[\n\r]+/m,o=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----/m,c=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----([0-9A-z\n\r+/=]+)-----END \1-----$/m,f=r(177),h=r(249),l=r(8).Buffer;e.exports=function(e,t){var r,d=e.toString(),y=d.match(n);if(y){var m="aes"+y[1],v=l.from(y[2],"hex"),w=l.from(y[3].replace(/[\r\n]/g,""),"base64"),_=f(t,v.slice(0,8),parseInt(y[1],10)).key,E=[],S=h.createDecipheriv(m,_,v);E.push(S.update(w)),E.push(S.final()),r=l.concat(E)}else{var C=d.match(c);r=l.from(C[2].replace(/[\r\n]/g,""),"base64")}
vendor: 5,024 bytes, line 2
2return{tag:d.match(o)[1],data:r}}},function(e,t,r){var n=r(8).Buffer,o=r(422),c=r(254).ec,f=r(179),h=r(428);function l(b,q){if(b.cmpn(0)<=0)throw new Error("invalid sig");if(b.cmp(q)>=q)throw new Error("invalid sig")}e.exports=function(e,t,r,d,y){var m=f(r);if("ec"===m.type){if("ecdsa"!==d&&"ecdsa/rsa"!==d)throw new Error("wrong public key type");return function(e,t,r){var n=h[r.data.algorithm.curve.join(".")];if(!n)throw new Error("unknown curve "+r.data.algorithm.curve.join("."));var o=new c(n),f=r.data.subjectPrivateKey.data;return o.verify(t,e,f)}(e,t,m)}if("dsa"===m.type){if("dsa"!==d)throw new Error("wrong public key type");return function(e,t,r){var p=r.data.p,q=r.data.q,g=r.data.g,n=r.data.pub_key,c=f.signature.decode(e,"der"),s=c.s,h=c.r;l(s,q),l(h,q);var d=o.mont(p),y=s.invm(q);return 0===g.toRed(d).redPow(new o(t).mul(y).mod(q)).fromRed().mul(n.toRed(d).redPow(h.mul(y).mod(q)).fromRed()).mod(p).mod(q).cmp(h)}(e,t,m)}if("rsa"!==d&&"ecdsa/rsa"!==d)throw new Error("wrong public key type");t=n.concat([y,t]);for(var v=m.modulus.byteLength(),w=[1],_=0;t.length+w.length+2<v;)w.push(255),_++;w.push(0);for(var i=-1;++i<t.length;)w.push(t[i]);w=n.from(w);var E=o.mont(m.modulus);e=(e=new o(e).toRed(E)).redPow(new o(m.publicExponent)),e=n.from(e.fromRed().toArray());var S=_<8?1:0;for(v=Math.min(e.length,w.length),e.length!==w.length&&(S=1),i=-1;++i<v;)S|=e[i]^w[i];return 0===S}},function(e,t,r){(function(t){var n=r(254),o=r(32);e.exports=function(e){return new f(e)};var c={secp256k1:{name:"secp256k1",byteLength:32},secp224r1:{name:"p224",byteLength:28},prime256v1:{name:"p256",byteLength:32},prime192v1:{name:"p192",byteLength:24},ed25519:{name:"ed25519",byteLength:32},secp384r1:{name:"p384",byteLength:48},secp521r1:{name:"p521",byteLength:66}};function f(e){this.curveType=c[e],this.curveType||(this.curveType={name:e}),this.curve=new n.ec(this.curveType.name),this.keys=void 0}function h(e,r,n){Array.isArray(e)||(e=e.toArray());var o=new t(e);if(n&&o.length<n){var c=new t(n-o.length);c.fill(0),o=t.concat([c,o])}return r?o.toString(r):o}c.p224=c.secp224r1,c.p256=c.secp256r1=c.prime256v1,c.p192=c.secp192r1=c.prime192v1,c.p384=c.secp384r1,c.p521=c.secp521r1,f.prototype.generateKeys=function(e,t){return this.keys=this.curve.genKeyPair(),this.getPublicKey(e,t)},f.prototype.computeSecret=function(e,r,n){return r=r||"utf8",t.isBuffer(e)||(e=new t(e,r)),h(this.curve.keyFromPublic(e).getPublic().mul(this.keys.getPrivate()).getX(),n,this.curveType.byteLength)},f.prototype.getPublicKey=function(e,t){var r=this.keys.getPublic("compressed"===t,!0);return"hybrid"===t&&(r[r.length-1]%2?r[0]=7:r[0]=6),h(r,e)},f.prototype.getPrivateKey=function(e){return h(this.keys.getPrivate(),e)},f.prototype.setPublicKey=function(e,r){return r=r||"utf8",t.isBuffer(e)||(e=new t(e,r)),this.keys._importPublic(e),this},f.prototype.setPrivateKey=function(e,r){r=r||"utf8",t.isBuffer(e)||(e=new t(e,r));var n=new o(e);return n=n.toString(16),this.keys=this.curve.genKeyPair(),this.keys._importPrivate(n),this}}).call(this,r(15).Buffer)},function(e,t,r){t.publicEncrypt=r(820),t.privateDecrypt=r(821),t.privateEncrypt=function(e,r){return t.publicEncrypt(e,r,!0)},t.publicDecrypt=function(e,r){return t.privateDecrypt(e,r,!0)}},function(e,t,r){var n=r(179),o=r(109),c=r(138),f=r(429),h=r(430),l=r(32),d=r(431),y=r(253),m=r(8).Buffer;e.exports=function(e,t,r){var v;v=e.padding?e.padding:r?1:4;var w,_=n(e);if(4===v)w=function(e,t){var r=e.modulus.byteLength(),n=t.length,d=c("sha1").update(m.alloc(0)).digest(),y=d.length,v=2*y;if(n>r-v-2)throw new Error("message too long");var w=m.alloc(r-n-v-2),_=r-y-1,E=o(y),S=h(m.concat([d,w,m.alloc(1,1),t],_),f(E,_)),C=h(E,f(S,y));return new l(m.concat([m.alloc(1),C,S],r))}(_,t);else if(1===v)w=function(e,t,r){var n,c=t.length,f=e.modulus.byteLength();if(c>f-11)throw new Error("message too long");n=r?m.alloc(f-c-3,255):function(e){var t,r=m.allocUnsafe(e),i=0,n=o(2*e),c=0;for(;i<e;)c===n.length&&(n=o(2*e),c=0),(t=n[c++])&&(r[i++]=t);return r}(f-c-3);return new l(m.concat([m.from([0,r?1:2]),n,m.alloc(1),t],f))}(_,t,r);else{if(3!==v)throw new Error("unknown padding");if((w=new l(t)).cmp(_.modulus)>=0)throw new Error("data too long for modulus")}return r?y(w,_):d(w,_)}},function(e,t,r){var n=r(179),o=r(429),c=r(430),f=r(32),h=r(253),l=r(138),d=r(431),y=r(8).Buffer;e.exports=function(e,t,r){var m;m=e.padding?e.padding:r?1:4;var v,w=n(e),_=w.modulus.byteLength();if(t.length>_||new f(t).cmp(w.modulus)>=0)throw new Error("decryption error");v=r?d(new f(t),w):h(t,w);var E=y.alloc(_-v.length);if(v=y.concat([E,v],_),4===m)return function(e,t){var r=e.modulus.byteLength(),n=l("sha1").update(y.alloc(0)).digest(),f=n.length;if(0!==t[0])throw new Error("decryption error");var h=t.slice(1,f+1),d=t.slice(f+1),m=c(h,o(d,f)),v=c(d,o(m,r-f-1));if(function(a,b){a=y.from(a),b=y.from(b);var e=0,t=a.length;a.length!==b.length&&(e++,t=Math.min(a.length,b.length));var i=-1;for(;++i<t;)e+=a[i]^b[i];return e}(n,v.slice(0,f)))throw new Error("decryption error");var i=f;for(;
20===v[i];)i++;if(1!==v[i++])throw new Error("decryption error");return v.slice(i)}(w,v);if(1===m)return function(e,t,r){var n=t.slice(0,2),i=2,o=0;for(;0!==t[i++];)if(i>=t.length){o++;break}var c=t.slice(2,i-1);("0002"!==n.toString("hex")&&!r||"0001"!==n.toString("hex")&&r)&&o++;c.length<8&&o++;if(o)throw new Error("decryption error");return t.slice(i)}(0,v,r);if(3===m)return v;throw new Error("unknown padding")}},function(e,t,r){"use strict";(function(e,n){function o(){throw new Error("secure random number generation not supported by this browser\nuse chrome, FireFox or Internet Explorer 11")}var c=r(8),f=(r(109),c.Buffer),h=c.kMaxLength,l=e.crypto||e.msCrypto,d=Math.pow(2,32)-1;function y(e,t){if("number"!=typeof e||e!=e)throw new TypeError("offset must be a number");if(e>d||e<0)throw new TypeError("offset must be a uint32");if(e>h||e>t)throw new RangeError("offset out of range")}function m(e,t,r){if("number"!=typeof e||e!=e)throw new TypeError("size must be a number");if(e>d||e<0)throw new TypeError("size must be a uint32");if(e+t>r||e>h)throw new RangeError("buffer too small")}function v(e,t,r,o){var c=e.buffer,f=new Uint8Array(c,t,r);return l.getRandomValues(f),o?void n.nextTick((function(){o(null,e)})):e}l&&l.getRandomValues?(t.randomFill=function(t,r,n,o){if(!(f.isBuffer(t)||t instanceof e.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');if("function"==typeof r)o=r,r=0,n=t.length;else if("function"==typeof n)o=n,n=t.length-r;else if("function"!=typeof o)throw new TypeError('"cb" argument must be a function');return y(r,t.length),m(n,r,t.length),v(t,r,n,o)},t.randomFillSync=function(t,r,n){void 0===r&&(r=0);if(!(f.isBuffer(t)||t instanceof e.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');y(r,t.length),void 0===n&&(n=t.length-r);return m(n,r,t.length),v(t,r,n)}):(t.randomFill=o,t.randomFillSync=o)}).call(this,r(20),r(17))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validate=void 0,t.validate=function(e){const t=[{invalid:"uri",expected:"url"},{invalid:"json",expected:"data"},{invalid:"qs",expected:"params"}];for(const r of t)if(e[r.invalid]){const e=`'${r.invalid}' is not a valid configuration option. Please use '${r.expected}' instead. This library is using Axios for requests. Please see https://github.com/axios/axios to learn more about the valid request options.`;throw new Error(e)}}},function(e){e.exports=JSON.parse('{"name":"google-auth-library","version":"6.1.6","author":"Google Inc.","description":"Google APIs Authentication Client Library for Node.js","engines":{"node":">=10"},"main":"./build/src/index.js","types":"./build/src/index.d.ts","repository":"googleapis/google-auth-library-nodejs.git","keywords":["google","api","google apis","client","client library"],"dependencies":{"arrify":"^2.0.0","base64-js":"^1.3.0","ecdsa-sig-formatter":"^1.0.11","fast-text-encoding":"^1.0.0","gaxios":"^4.0.0","gcp-metadata":"^4.2.0","gtoken":"^5.0.4","jws":"^4.0.0","lru-cache":"^6.0.0"},"devDependencies":{"@compodoc/compodoc":"^1.1.7","@types/base64-js":"^1.2.5","@types/chai":"^4.1.7","@types/jws":"^3.1.0","@types/lru-cache":"^5.0.0","@types/mocha":"^8.0.0","@types/mv":"^2.1.0","@types/ncp":"^2.0.1","@types/node":"^10.5.1","@types/sinon":"^9.0.0","@types/tmp":"^0.2.0","assert-rejects":"^1.0.0","c8":"^7.0.0","chai":"^4.2.0","codecov":"^3.0.2","execa":"^5.0.0","gts":"^2.0.0","is-docker":"^2.0.0","karma":"^6.0.0","karma-chrome-launcher":"^3.0.0","karma-coverage":"^2.0.0","karma-firefox-launcher":"^2.0.0","karma-mocha":"^2.0.0","karma-remap-coverage":"^0.1.5","karma-sourcemap-loader":"^0.3.7","karma-webpack":"^4.0.0","keypair":"^1.0.1","linkinator":"^2.0.0","mocha":"^8.0.0","mv":"^2.1.1","ncp":"^2.0.0","nock":"^13.0.0","null-loader":"^4.0.0","puppeteer":"^5.0.0","sinon":"^9.0.0","tmp":"^0.2.0","ts-loader":"^8.0.0","typescript":"^3.8.3","webpack":"^4.20.2","webpack-cli":"^4.0.0","@microsoft/api-documenter":"^7.8.10","@microsoft/api-extractor":"^7.8.10"},"files":["build/src","!build/src/**/*.map"],"scripts":{"test":"c8 mocha build/test","clean":"gts clean","prepare":"npm run compile","lint":"gts check","compile":"tsc -p .","fix":"gts fix","pretest":"npm run compile","docs":"compodoc src/","samples-test":"c
2d samples/ && npm link ../ && npm test && cd ../","system-test":"mocha build/system-test --timeout 60000","presystem-test":"npm run compile","webpack":"webpack","browser-test":"karma start","docs-test":"linkinator docs","predocs-test":"npm run docs","prelint":"cd samples; npm link ../; npm install","precompile":"gts clean","api-extractor":"api-extractor run --local","api-documenter":"api-documenter yaml --input-folder=temp"},"license":"Apache-2.0"}')},function(e,t,r){"use strict";e.exports=e=>null==e?[]:Array.isArray(e)?e:"string"==typeof e?[e]:"function"==typeof e[Symbol.iterator]?[...e]:[e]},function(e,t,r){"use strict";function n(e){return(e/8|0)+(e%8==0?0:1)}var o={ES256:n(256),ES384:n(384),ES512:n(521)};e.exports=function(e){var t=o[e];if(t)return t;throw new Error('Unknown algorithm "'+e+'"')}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AuthClient=void 0;const n=r(73),o=r(261);class c extends n.EventEmitter{constructor(){super(...arguments),this.transporter=new o.DefaultTransporter,this.credentials={}}setCredentials(e){this.credentials=e}addSharedMetadataHeaders(e){return!e["x-goog-user-project"]&&this.quotaProjectId&&(e["x-goog-user-project"]=this.quotaProjectId),e}}t.AuthClient=c},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GoogleToken=void 0;const n=r(108),o=r(238),c=r(438),path=r(382),f=r(90),h=n.readFile?f.promisify(n.readFile):async()=>{throw new d("use key rather than keyFile.","MISSING_CREDENTIALS")},l="https://www.googleapis.com/oauth2/v4/token";class d extends Error{constructor(e,code){super(e),this.code=code}}let y;t.GoogleToken=class{constructor(e){this.configure(e)}get accessToken(){return this.rawToken?this.rawToken.access_token:void 0}get idToken(){return this.rawToken?this.rawToken.id_token:void 0}get tokenType(){return this.rawToken?this.rawToken.token_type:void 0}get refreshToken(){return this.rawToken?this.rawToken.refresh_token:void 0}hasExpired(){const e=(new Date).getTime();return!this.rawToken||!this.expiresAt||e>=this.expiresAt}isTokenExpiring(){var e;const t=(new Date).getTime(),r=null!==(e=this.eagerRefreshThresholdMillis)&&void 0!==e?e:0;return!this.rawToken||!this.expiresAt||this.expiresAt<=t+r}getToken(e,t={}){if("object"==typeof e&&(t=e,e=void 0),t=Object.assign({forceRefresh:!1},t),!e)return this.getTokenAsync(t);{const r=e;this.getTokenAsync(t).then((e=>r(null,e)),e)}}async getCredentials(e){switch(path.extname(e)){case".json":{const t=await h(e,"utf8"),body=JSON.parse(t),r=body.private_key,n=body.client_email;if(!r||!n)throw new d("private_key and client_email are required.","MISSING_CREDENTIALS");return{privateKey:r,clientEmail:n}}case".der":case".crt":case".pem":return{privateKey:await h(e,"utf8")};case".p12":case".pfx":y||(y=(await Promise.resolve().then((()=>r(832)))).getPem);return{privateKey:await y(e)};default:throw new d("Unknown certificate type. Type is determined based on file extension. Current supported extensions are *.json, *.pem, and *.p12.","UNKNOWN_CERTIFICATE_TYPE")}}async getTokenAsync(e){if(this.inFlightRequest&&!e.forceRefresh)return this.inFlightRequest;try{return await(this.inFlightRequest=this.getTokenAsyncInner(e))}finally{this.inFlightRequest=void 0}}async getTokenAsyncInner(e){if(!1===this.isTokenExpiring()&&!1===e.forceRefresh)return Promise.resolve(this.rawToken);if(!this.key&&!this.keyFile)throw new Error("No key or keyFile set.");if(!this.key&&this.keyFile){const e=await this.getCredentials(this.keyFile);this.key=e.privateKey,this.iss=e.clientEmail||this.iss,e.clientEmail||this.ensureEmail()}return this.requestToken()}ensureEmail(){if(!this.iss)throw new d("email is required.","MISSING_CREDENTIALS")}revokeToken(e){if(!e)return this.revokeTokenAsync();this.revokeTokenAsync().then((()=>e()),e)}async revokeTokenAsync(){if(!this.accessToken)throw new Error("No token to revoke.");const e="https://accounts.google.com/o/oauth2/revoke?token="+this.accessToken;await o.request({url:e}),this.configure({email:this.iss,sub:this.sub,key:this.key,keyFile:this.keyFile,scope:this.scope,additionalClaims:this.additionalClaims})}configure(e={}){this.keyFile=e.keyFile,this.key=e.key,this.rawToken=void 0,this.iss=e.email||e.iss,this.sub=e.sub,this.additionalClaims=e.additionalClaims,"object"==typeof e.scope?this.scope=e.scope.join(" "):this.scope=e.scope,this.eagerRefreshThresholdMillis=e.eagerRefreshThresholdMillis}async requestToken(){const e=Math.floor((new Date).getTime()/1e3),t=this.additionalClaims||{},r=Object.assign({iss:this.iss,scope:this.scope,aud:l,exp:e+3600,iat:e,sub:this.sub}
2,t),n=c.sign({header:{alg:"RS256"},payload:r,secret:this.key});try{const t=await o.request({method:"POST",url:l,data:{grant_type:"urn:ietf:params:oauth:grant-type:jwt-bearer",assertion:n},headers:{"Content-Type":"application/x-www-form-urlencoded"},responseType:"json"});return this.rawToken=t.data,this.expiresAt=null===t.data.expires_in||void 0===t.data.expires_in?void 0:1e3*(e+t.data.expires_in),this.rawToken}catch(e){this.rawToken=void 0,this.tokenExpires=void 0;const body=e.response&&e.response.data?e.response.data:{};if(body.error){const desc=body.error_description?`: ${body.error_description}`:"";e.message=`${body.error}${desc}`}throw e}}}},function(e,t,r){var n=r(8).Buffer,o=r(439),c=r(440),f=r(139),h=r(441),l=r(90);function d(e,t){return n.from(e,t).toString("base64").replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}function y(e){var header=e.header,t=e.payload,r=e.secret||e.privateKey,n=e.encoding,o=c(header.alg),f=function(header,e,t){t=t||"utf8";var r=d(h(header),"binary"),n=d(h(e),t);return l.format("%s.%s",r,n)}(header,t,n),y=o.sign(f,r);return l.format("%s.%s",f,y)}function m(e){var t=e.secret||e.privateKey||e.key,r=new o(t);this.readable=!0,this.header=e.header,this.encoding=e.encoding,this.secret=this.privateKey=this.key=r,this.payload=new o(e.payload),this.secret.once("close",function(){!this.payload.writable&&this.readable&&this.sign()}.bind(this)),this.payload.once("close",function(){!this.secret.writable&&this.readable&&this.sign()}.bind(this))}l.inherits(m,f),m.prototype.sign=function(){try{var e=y({header:this.header,payload:this.payload.buffer,secret:this.secret.buffer,encoding:this.encoding});return this.emit("done",e),this.emit("data",e),this.emit("end"),this.readable=!1,e}catch(e){this.readable=!1,this.emit("error",e),this.emit("close")}},m.sign=y,e.exports=m},function(e,t,r){"use strict";var n=r(15).Buffer,o=r(15).SlowBuffer;function c(a,b){if(!n.isBuffer(a)||!n.isBuffer(b))return!1;if(a.length!==b.length)return!1;for(var e=0,i=0;i<a.length;i++)e|=a[i]^b[i];return 0===e}e.exports=c,c.install=function(){n.prototype.equal=o.prototype.equal=function(e){return c(this,e)}};var f=n.prototype.equal,h=o.prototype.equal;c.restore=function(){n.prototype.equal=f,o.prototype.equal=h}},function(e,t,r){var n=r(8).Buffer,o=r(439),c=r(440),f=r(139),h=r(441),l=r(90),d=/^[a-zA-Z0-9\-_]+?\.[a-zA-Z0-9\-_]+?\.([a-zA-Z0-9\-_]+)?$/;function y(e){if(function(e){return"[object Object]"===Object.prototype.toString.call(e)}(e))return e;try{return JSON.parse(e)}catch(e){return}}function m(e){var t=e.split(".",1)[0];return y(n.from(t,"base64").toString("binary"))}function v(e){return e.split(".")[2]}function w(e){return d.test(e)&&!!m(e)}function _(e,t,r){if(!t){var n=new Error("Missing algorithm parameter for jws.verify");throw n.code="MISSING_ALGORITHM",n}var o=v(e=h(e)),f=function(e){return e.split(".",2).join(".")}(e);return c(t).verify(f,o,r)}function E(e,t){if(t=t||{},!w(e=h(e)))return null;var header=m(e);if(!header)return null;var r=function(e,t){t=t||"utf8";var r=e.split(".")[1];return n.from(r,"base64").toString(t)}(e);return("JWT"===header.typ||t.json)&&(r=JSON.parse(r,t.encoding)),{header:header,payload:r,signature:v(e)}}function S(e){var t=(e=e||{}).secret||e.publicKey||e.key,r=new o(t);this.readable=!0,this.algorithm=e.algorithm,this.encoding=e.encoding,this.secret=this.publicKey=this.key=r,this.signature=new o(e.signature),this.secret.once("close",function(){!this.signature.writable&&this.readable&&this.verify()}.bind(this)),this.signature.once("close",function(){!this.secret.writable&&this.readable&&this.verify()}.bind(this))}l.inherits(S,f),S.prototype.verify=function(){try{var e=_(this.signature.buffer,this.algorithm,this.key.buffer),t=E(this.signature.buffer,this.encoding);return this.emit("done",e,t),this.emit("data",e),this.emit("end"),this.readable=!1,e}catch(e){this.readable=!1,this.emit("error",e),this.emit("close")}},S.decode=E,S.isValid=w,S.verify=_,e.exports=S},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getPem=void 0;const n=r(108),o=r(833),c=r(90).promisify(n.readFile);function f(e){return c(e,{encoding:"base64"}).then((e=>function(e){const t=o.util.decode64(e),r=o.asn1.fromDer(t),n=o.pkcs12.pkcs12FromAsn1(r,"notasecret").getBags({friendlyName:"privatekey"});if(n.friendlyName){const e=n.friendlyName[0].key;return o.pki.privateKeyToPem(e).replace(/\r\n/g,"\n")}throw new Error("Unable to get friendly name.")}(e)))}t.getPem=function(e,t){if(!t)return f(e);f(e).then((e=>t(null,e))).catch((e=>t(e,null)))}},function(e,t,r){e.exports=r(11),r(91),r(835),r(67),r(262),r(180),r(837),r(144),r(839),r(840),r(841),r(453),r(264),r(115),r(449),r(451),r(842),r(444),r(450),r(447),r(267),r(62),r(448),r(843),r(443),r(18)},function(e,t,r){(function(t){var r={};e.exports=r;var n={};r.encode=function(input,e,t){if("string"!=typeof e)throw new TypeError('"alphabet" must be a string.');if(void 0!==t&&"number"!=typeof t)throw new TypeError('"maxline" must be a number.');var output="";if(input instanceof Uint8Array){var i=0,base=e.length,r=e.charAt(0),n=[0];for(i=0;i<input.length;++i){for(var o=0,c=input[i];o<n.length;++o)c+=n[o]<<8,n[o]=c%base,c=c/base|0;for(;c>0;)n.push(c%base),c=c/base|0}for(i=0;0===input[i]&&i<input.length-1;++i)output+=r;for(i=n.length-1;i>=0;--i)output+=e[n[i]]}else output=function(input,e){var i=0,base=e.length,t=e.charAt(0),r=[0];for(i=0;i<input.length();++i){for(var n=0,o=input.at(i);n<r.length;++n)o+=r[n]<<8,r[n]=o%base,o=o/base|0;for(;o>0;)r.push(o%base),o=o/base|0}var output="";for(i=0;0===input.at(i)&&i<input.length()-1;++i)output+=t;for(i=r.length-1;i>=0;--i)output+=e[r[i]];return output}(input,e);if(t){var f=new RegExp(".{1,"+t+"}","g");output=output.match(f).join("\r\n")}return output},r.decode=function(input,e){if("string"!=typeof input)throw new TypeError('"input" must be a string.');if("string"!=typeof e)throw new TypeError('"alphabet" must be a string.');var table=n[e];if(!table){table=n[e]=[];for(var i=0;i<e.length;++i)table[e.charCodeAt(i)]=i}input=input.replace(/\s/g,"");var base=e.length,r=e.charAt(0),o=[0];for(i=0;i<input.length;i++){var c=table[input.charCodeAt(i)];if(void 0===c)return;for(var f=0,h=c;f<o.length;++f)h+=o[f]*base,o[f]=255&h,h>>=8;for(;h>0;)o.push(255&h),h>>=8}for(var l=0;input[l]===r&&l<input.length-1;++l)o.push(0);return void 0!==t?t.from(o.reverse()):new Uint8Array(o.reverse())}}).call(this,r(15).Buffer)},function(e,t,r){var n=r(11);r(91),r(443);var o=e.exports=n.tls;function c(e,t,r){var c=t.entity===n.tls.ConnectionEnd.client;e.read.cipherState={init:!1,cipher:n.cipher.createDecipher("AES-CBC",c?r.keys.server_write_key:r.keys.client_write_key),iv:c?r.keys.server_write_IV:r.keys.client_write_IV},e.write.cipherState={init:!1,cipher:n.cipher.createCipher("AES-CBC",c?r.keys.client_write_key:r.keys.server_write_key),iv:c?r.keys.client_write_IV:r.keys.server_write_IV},e.read.cipherFunction=d,e.write.cipherFunction=f,e.read.macLength=e.write.macLength=r.mac_length,e.read.mac
vendor: 4,901 bytes, line 2
2Function=e.write.macFunction=o.hmac_sha1}function f(e,s){var t,r=!1,c=s.macFunction(s.macKey,s.sequenceNumber,e);e.fragment.putBytes(c),s.updateSequenceNumber(),t=e.version.minor===o.Versions.TLS_1_0.minor?s.cipherState.init?null:s.cipherState.iv:n.random.getBytesSync(16),s.cipherState.init=!0;var f=s.cipherState.cipher;return f.start({iv:t}),e.version.minor>=o.Versions.TLS_1_1.minor&&f.output.putBytes(t),f.update(e.fragment),f.finish(h)&&(e.fragment=f.output,e.length=e.fragment.length(),r=!0),r}function h(e,input,t){if(!t){var r=e-input.length()%e;input.fillWithByte(r-1,r)}return!0}function l(e,output,t){var r=!0;if(t){for(var n=output.length(),o=output.last(),i=n-1-o;i<n-1;++i)r=r&&output.at(i)==o;r&&output.truncate(o+1)}return r}function d(e,s){var t,r=!1;t=e.version.minor===o.Versions.TLS_1_0.minor?s.cipherState.init?null:s.cipherState.iv:e.fragment.getBytes(16),s.cipherState.init=!0;var c=s.cipherState.cipher;c.start({iv:t}),c.update(e.fragment),r=c.finish(l);var f=s.macLength,h=n.random.getBytesSync(f),d=c.output.length();d>=f?(e.fragment=c.output.getBytes(d-f),h=c.output.getBytes(f)):e.fragment=c.output.getBytes(),e.fragment=n.util.createBuffer(e.fragment),e.length=e.fragment.length();var y=s.macFunction(s.macKey,s.sequenceNumber,e);return s.updateSequenceNumber(),r=function(e,t,r){var o=n.hmac.create();return o.start("SHA1",e),o.update(t),t=o.digest().getBytes(),o.start(null,null),o.update(r),r=o.digest().getBytes(),t===r}(s.macKey,h,y)&&r,r}o.CipherSuites.TLS_RSA_WITH_AES_128_CBC_SHA={id:[0,47],name:"TLS_RSA_WITH_AES_128_CBC_SHA",initSecurityParameters:function(e){e.bulk_cipher_algorithm=o.BulkCipherAlgorithm.aes,e.cipher_type=o.CipherType.block,e.enc_key_length=16,e.block_length=16,e.fixed_iv_length=16,e.record_iv_length=16,e.mac_algorithm=o.MACAlgorithm.hmac_sha1,e.mac_length=20,e.mac_key_length=20},initConnectionState:c},o.CipherSuites.TLS_RSA_WITH_AES_256_CBC_SHA={id:[0,53],name:"TLS_RSA_WITH_AES_256_CBC_SHA",initSecurityParameters:function(e){e.bulk_cipher_algorithm=o.BulkCipherAlgorithm.aes,e.cipher_type=o.CipherType.block,e.enc_key_length=32,e.block_length=16,e.fixed_iv_length=16,e.record_iv_length=16,e.mac_algorithm=o.MACAlgorithm.hmac_sha1,e.mac_length=20,e.mac_key_length=20},initConnectionState:c}},function(e,t,r){var n=r(11);r(453),e.exports=n.mgf=n.mgf||{},n.mgf.mgf1=n.mgf1},function(e,t,r){(function(t){var n=r(11);r(182),r(62),r(454),r(18);var o=r(838),c=o.publicKeyValidator,f=o.privateKeyValidator;if(void 0===h)var h=n.jsbn.BigInteger;var l=n.util.ByteBuffer,d=void 0===t?Uint8Array:t;n.pki=n.pki||{},e.exports=n.pki.ed25519=n.ed25519=n.ed25519||{};var y=n.ed25519;function m(e){var r=e.message;if(r instanceof Uint8Array||r instanceof d)return r;var n=e.encoding;if(void 0===r){if(!e.md)throw new TypeError('"options.message" or "options.md" not specified.');r=e.md.digest().getBytes(),n="binary"}if("string"==typeof r&&!n)throw new TypeError('"options.encoding" must be "binary" or "utf8".');if("string"==typeof r){if(void 0!==t)return t.from(r,n);r=new l(r,n)}else if(!(r instanceof l))throw new TypeError('"options.message" must be a node.js Buffer, a Uint8Array, a forge ByteBuffer, or a string with "options.encoding" specifying its encoding.');for(var o=new d(r.length()),i=0;i<o.length;++i)o[i]=r.at(i);return o}y.constants={},y.constants.PUBLIC_KEY_BYTE_LENGTH=32,y.constants.PRIVATE_KEY_BYTE_LENGTH=64,y.constants.SEED_BYTE_LENGTH=32,y.constants.SIGN_BYTE_LENGTH=64,y.constants.HASH_BYTE_LENGTH=64,y.generateKeyPair=function(e){var t=(e=e||{}).seed;if(void 0===t)t=n.random.getBytesSync(y.constants.SEED_BYTE_LENGTH);else if("string"==typeof t){if(t.length!==y.constants.SEED_BYTE_LENGTH)throw new TypeError('"seed" must be '+y.constants.SEED_BYTE_LENGTH+" bytes in length.")}else if(!(t instanceof Uint8Array))throw new TypeError('"seed" must be a node.js Buffer, Uint8Array, or a binary string.');t=m({message:t,encoding:"binary"});for(var r=new d(y.constants.PUBLIC_KEY_BYTE_LENGTH),o=new d(y.constants.PRIVATE_KEY_BYTE_LENGTH),i=0;i<32;++i)o[i]=t[i];return function(e,t){var i,p=[K(),K(),K(),K()],r=k(t,32);for(r[0]&=248,r[31]&=127,r[31]|=64,j(p,r),B(e,p),i=0;i<32;++i)t[i+32]=e[i]}(r,o),{publicKey:r,privateKey:o}},y.privateKeyFromAsn1=function(e){var t={},r=[];if(!n.asn1.validate(e,f,t,r)){var o=new Error("Invalid Key.");throw o.errors=r,o}var c=n.asn1.derToOid(t.privateKeyOid),h=n.oids.EdDSA25519;if(c!==h)throw new Error('Invalid OID "'+c+'"; OID must be "'+h+'".');var l=t.privateKey;return{privateKeyBytes:m({message:n.asn1.fromDer(l).value,encoding:"binary"})}},y.publicKeyFromAsn1=function(e){var t={},r=[];if(!n.asn1.validate(e,c,t,r)){var o=new Error("Invalid Key.");throw o.errors=r,o}var f=n.asn1.derToOid(t.publicKeyOid),h=n.oids.EdDSA25519;if(f!==h)throw new Error('Invalid OID "'+f+'"; OID must be "'+h+'".');var l=t.ed25519PublicKey;if(l.length!==y.constants.PUBLIC_KEY_BYTE_LENGTH)throw new Error("Ke
2y length is invalid.");return m({message:l,encoding:"binary"})},y.publicKeyFromPrivateKey=function(e){var t=m({message:(e=e||{}).privateKey,encoding:"binary"});if(t.length!==y.constants.PRIVATE_KEY_BYTE_LENGTH)throw new TypeError('"options.privateKey" must have a byte length of '+y.constants.PRIVATE_KEY_BYTE_LENGTH);for(var r=new d(y.constants.PUBLIC_KEY_BYTE_LENGTH),i=0;i<r.length;++i)r[i]=t[32+i];return r},y.sign=function(e){var t=m(e=e||{}),r=m({message:e.privateKey,encoding:"binary"});if(r.length===y.constants.SEED_BYTE_LENGTH)r=y.generateKeyPair({seed:r}).privateKey;else if(r.length!==y.constants.PRIVATE_KEY_BYTE_LENGTH)throw new TypeError('"options.privateKey" must have a byte length of '+y.constants.SEED_BYTE_LENGTH+" or "+y.constants.PRIVATE_KEY_BYTE_LENGTH);var n=new d(y.constants.SIGN_BYTE_LENGTH+t.length);!function(e,t,r,n){var i,o,c=new Float64Array(64),p=[K(),K(),K(),K()],f=k(n,32);f[0]&=248,f[31]&=127,f[31]|=64;var h=r+64;for(i=0;i<r;++i)e[64+i]=t[i];for(i=0;i<32;++i)e[32+i]=f[32+i];var l=k(e.subarray(32),r+32);for(M(l),j(p,l),B(e,p),i=32;i<64;++i)e[i]=n[i];var d=k(e,r+64);for(M(d),i=32;i<64;++i)c[i]=0;for(i=0;i<32;++i)c[i]=l[i];for(i=0;i<32;++i)for(o=0;o<32;o++)c[i+o]+=d[i]*f[o];I(e.subarray(32),c)}(n,t,t.length,r);for(var o=new d(y.constants.SIGN_BYTE_LENGTH),i=0;i<o.length;++i)o[i]=n[i];return o},y.verify=function(e){var t=m(e=e||{});if(void 0===e.signature)throw new TypeError('"options.signature" must be a node.js Buffer, a Uint8Array, a forge ByteBuffer, or a binary string.');var r=m({message:e.signature,encoding:"binary"});if(r.length!==y.constants.SIGN_BYTE_LENGTH)throw new TypeError('"options.signature" must have a byte length of '+y.constants.SIGN_BYTE_LENGTH);var n=m({message:e.publicKey,encoding:"binary"});if(n.length!==y.constants.PUBLIC_KEY_BYTE_LENGTH)throw new TypeError('"options.publicKey" must have a byte length of '+y.constants.PUBLIC_KEY_BYTE_LENGTH);var i,o=new d(y.constants.SIGN_BYTE_LENGTH+t.length),c=new d(y.constants.SIGN_BYTE_LENGTH+t.length);for(i=0;i<y.constants.SIGN_BYTE_LENGTH;++i)o[i]=r[i];for(i=0;i<t.length;++i)o[i+y.constants.SIGN_BYTE_LENGTH]=t[i];return function(e,t,r,n){var i,o=new d(32),p=[K(),K(),K(),K()],q=[K(),K(),K(),K()];if(-1,r<64)return-1;if(function(e,p){var t=K(),r=K(),n=K(),o=K(),c=K(),f=K(),h=K();U(e[2],w),function(e,t){var i;for(i=0;i<16;++i)e[i]=t[2*i]+(t[2*i+1]<<8);e[15]&=32767}(e[1],p),G(n,e[1]),$(o,n,_),H(n,n,e[2]),z(o,e[2],o),G(c,o),G(f,c),$(h,f,c),$(t,h,n),$(t,t,o),function(e,i){var a,t=K();for(a=0;a<16;++a)t[a]=i[a];for(a=250;a>=0;--a)G(t,t),1!==a&&$(t,t,i);for(a=0;a<16;++a)e[a]=t[a]}(t,t),$(t,t,n),$(t,t,o),$(t,t,o),$(e[0],t,o),G(r,e[0]),$(r,r,o),O(r,n)&&$(e[0],e[0],T);if(G(r,e[0]),$(r,r,o),O(r,n))return-1;P(e[0])===p[31]>>7&&H(e[0],v,e[0]);return $(e[3],e[0],e[1]),0}(q,n))return-1;for(i=0;i<r;++i)e[i]=t[i];for(i=0;i<32;++i)e[i+32]=n[i];var c=k(e,r);if(M(c),D(p,q,c),j(q,t.subarray(32)),R(p,q),B(o,p),r-=64,L(t,0,o,0)){for(i=0;i<r;++i)e[i]=0;return-1}for(i=0;i<r;++i)e[i]=t[i+64];return r}(c,o,o.length,n)>=0};var v=K(),w=K([1]),_=K([30883,4953,19914,30187,55467,16705,2637,112,59544,30585,16505,36039,65139,11119,27886,20995]),E=K([61785,9906,39828,60374,45398,33411,5274,224,53552,61171,33010,6542,64743,22239,55772,9222]),S=K([54554,36645,11616,51542,42930,38181,51040,26924,56412,64982,57905,49316,21502,52590,14035,8553]),C=K([26200,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214]),A=new Float64Array([237,211,245,92,26,99,18,88,214,156,247,162,222,249,222,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16]),T=K([41136,18958,6951,50414,58488,44335,6150,12099,55207,15867,153,11085,57099,20417,9344,11139]);function k(e,r){var o=n.md.sha512.create(),c=new l(e);o.update(c.getBytes(r),"binary");var f=o.digest().getBytes();if(void 0!==t)return t.from(f,"binary");for(var h=new d(y.constants.HASH_BYTE_LENGTH),i=0;i<64;++i)h[i]=f.charCodeAt(i);return h}function I(e,t){var r,i,n,o;for(i=63;i>=32;--i){for(r=0,n=i-32,o=i-12;n<o;++n)t[n]+=r-16*t[i]*A[n-(i-32)],r=t[n]+128>>8,t[n]-=256*r;t[n]+=r,t[i]=0}for(r=0,n=0;n<32;++n)t[n]+=r-(t[31]>>4)*A[n],r=t[n]>>8,t[n]&=255;for(n=0;n<32;++n)t[n]-=r*A[n];for(i=0;i<32;++i)t[i+1]+=t[i]>>8,e[i]=255&t[i]}function M(e){for(var t=new Float64Array(64),i=0;i<64;++i)t[i]=e[i],e[i]=0;I(e,t)}function R(p,q){var a=K(),b=K(),e=K(),t=K(),r=K(),n=K(),g=K(),o=K(),c=K();H(a,p[1],p[0]),H(c,q[1],q[0]),$(a,a,c),z(b,p[0],p[1]),z(c,q[0],q[1]),$(b,b,c),$(e,p[3],q[3]),$(e,e,E),$(t,p[2],q[2]),z(t,t,t),H(r,b,a),H(n,t,e),z(g,t,e),z(o,b,a),$(p[0],r,n),$(p[1],o,g),$(p[2],g,n),$(p[3],r,o)}function x(p,q,b){for(var i=0;i<4;++i)V(p[i],q[i],b)}function B(e,p){var t=K(),r=K(),n=K();!function(e,i){var a,t=K();for(a=0;a<16;++a)t[a]=i[a];for(a=253;a>=0;--a)G(t,t),2!==a&&4!==a&&$(t,t,i);for(a=0;a<16;++a)e[a]=t[a]}(n,p[2]),$(t,p[0],n),$(r,p[1],n),N(e,r),e[31]^=P(t)<<7}function N(e,t){var i,r,b,n=K(),o=K();for(i=0;i<16;++i)o[i]=t[i];for(F(o),F(o),F(o),r=0;r<2;++r){for(n[0]=o[0]-65517,i=1;i<15;++i)n[i]=o[i]-65535-(n[i-1]>>16&1),n[i-1]&=65535;n[15]=o[15]-32767-(n[14]>>16&1),b=n[15]>>16&1,n[14]&=65535,V(o,n,1-b)}for(i=0;i<16;i++)e[2*i]=255&o[i],e[2*i+1]=o[i]>>8}function O(a,b){var e=new d(32),t=new d(32);return N(e,a),N(t,b),L(e,0,t,0)}function L(e,t,r,n){return function(e,t,r,n,o){var i,c=0;for(i=0;i<o;
vendor: 9,184 bytes, line 2
2++i)c|=e[t+i]^r[n+i];return(1&c-1>>>8)-1}(e,t,r,n,32)}function P(a){var e=new d(32);return N(e,a),1&e[0]}function D(p,q,s){var b,i;for(U(p[0],v),U(p[1],w),U(p[2],w),U(p[3],v),i=255;i>=0;--i)x(p,q,b=s[i/8|0]>>(7&i)&1),R(q,p),R(p,p),x(p,q,b)}function j(p,s){var q=[K(),K(),K(),K()];U(q[0],S),U(q[1],C),U(q[2],w),$(q[3],S,C),D(p,q,s)}function U(e,a){var i;for(i=0;i<16;i++)e[i]=0|a[i]}function F(e){var i,t,r=1;for(i=0;i<16;++i)t=e[i]+r+65535,r=Math.floor(t/65536),e[i]=t-65536*r;e[0]+=r-1+37*(r-1)}function V(p,q,b){for(var e,t=~(b-1),i=0;i<16;++i)e=t&(p[i]^q[i]),p[i]^=e,q[i]^=e}function K(e){var i,t=new Float64Array(16);if(e)for(i=0;i<e.length;++i)t[i]=e[i];return t}function z(e,a,b){for(var i=0;i<16;++i)e[i]=a[i]+b[i]}function H(e,a,b){for(var i=0;i<16;++i)e[i]=a[i]-b[i]}function G(e,a){$(e,a,a)}function $(e,a,b){var t,r,n=0,o=0,c=0,f=0,h=0,l=0,d=0,y=0,m=0,v=0,w=0,_=0,E=0,S=0,C=0,A=0,T=0,k=0,I=0,M=0,R=0,x=0,B=0,N=0,O=0,L=0,P=0,D=0,j=0,U=0,F=0,V=b[0],K=b[1],z=b[2],H=b[3],G=b[4],$=b[5],W=b[6],Y=b[7],X=b[8],J=b[9],Q=b[10],Z=b[11],ee=b[12],te=b[13],re=b[14],ne=b[15];n+=(t=a[0])*V,o+=t*K,c+=t*z,f+=t*H,h+=t*G,l+=t*$,d+=t*W,y+=t*Y,m+=t*X,v+=t*J,w+=t*Q,_+=t*Z,E+=t*ee,S+=t*te,C+=t*re,A+=t*ne,o+=(t=a[1])*V,c+=t*K,f+=t*z,h+=t*H,l+=t*G,d+=t*$,y+=t*W,m+=t*Y,v+=t*X,w+=t*J,_+=t*Q,E+=t*Z,S+=t*ee,C+=t*te,A+=t*re,T+=t*ne,c+=(t=a[2])*V,f+=t*K,h+=t*z,l+=t*H,d+=t*G,y+=t*$,m+=t*W,v+=t*Y,w+=t*X,_+=t*J,E+=t*Q,S+=t*Z,C+=t*ee,A+=t*te,T+=t*re,k+=t*ne,f+=(t=a[3])*V,h+=t*K,l+=t*z,d+=t*H,y+=t*G,m+=t*$,v+=t*W,w+=t*Y,_+=t*X,E+=t*J,S+=t*Q,C+=t*Z,A+=t*ee,T+=t*te,k+=t*re,I+=t*ne,h+=(t=a[4])*V,l+=t*K,d+=t*z,y+=t*H,m+=t*G,v+=t*$,w+=t*W,_+=t*Y,E+=t*X,S+=t*J,C+=t*Q,A+=t*Z,T+=t*ee,k+=t*te,I+=t*re,M+=t*ne,l+=(t=a[5])*V,d+=t*K,y+=t*z,m+=t*H,v+=t*G,w+=t*$,_+=t*W,E+=t*Y,S+=t*X,C+=t*J,A+=t*Q,T+=t*Z,k+=t*ee,I+=t*te,M+=t*re,R+=t*ne,d+=(t=a[6])*V,y+=t*K,m+=t*z,v+=t*H,w+=t*G,_+=t*$,E+=t*W,S+=t*Y,C+=t*X,A+=t*J,T+=t*Q,k+=t*Z,I+=t*ee,M+=t*te,R+=t*re,x+=t*ne,y+=(t=a[7])*V,m+=t*K,v+=t*z,w+=t*H,_+=t*G,E+=t*$,S+=t*W,C+=t*Y,A+=t*X,T+=t*J,k+=t*Q,I+=t*Z,M+=t*ee,R+=t*te,x+=t*re,B+=t*ne,m+=(t=a[8])*V,v+=t*K,w+=t*z,_+=t*H,E+=t*G,S+=t*$,C+=t*W,A+=t*Y,T+=t*X,k+=t*J,I+=t*Q,M+=t*Z,R+=t*ee,x+=t*te,B+=t*re,N+=t*ne,v+=(t=a[9])*V,w+=t*K,_+=t*z,E+=t*H,S+=t*G,C+=t*$,A+=t*W,T+=t*Y,k+=t*X,I+=t*J,M+=t*Q,R+=t*Z,x+=t*ee,B+=t*te,N+=t*re,O+=t*ne,w+=(t=a[10])*V,_+=t*K,E+=t*z,S+=t*H,C+=t*G,A+=t*$,T+=t*W,k+=t*Y,I+=t*X,M+=t*J,R+=t*Q,x+=t*Z,B+=t*ee,N+=t*te,O+=t*re,L+=t*ne,_+=(t=a[11])*V,E+=t*K,S+=t*z,C+=t*H,A+=t*G,T+=t*$,k+=t*W,I+=t*Y,M+=t*X,R+=t*J,x+=t*Q,B+=t*Z,N+=t*ee,O+=t*te,L+=t*re,P+=t*ne,E+=(t=a[12])*V,S+=t*K,C+=t*z,A+=t*H,T+=t*G,k+=t*$,I+=t*W,M+=t*Y,R+=t*X,x+=t*J,B+=t*Q,N+=t*Z,O+=t*ee,L+=t*te,P+=t*re,D+=t*ne,S+=(t=a[13])*V,C+=t*K,A+=t*z,T+=t*H,k+=t*G,I+=t*$,M+=t*W,R+=t*Y,x+=t*X,B+=t*J,N+=t*Q,O+=t*Z,L+=t*ee,P+=t*te,D+=t*re,j+=t*ne,C+=(t=a[14])*V,A+=t*K,T+=t*z,k+=t*H,I+=t*G,M+=t*$,R+=t*W,x+=t*Y,B+=t*X,N+=t*J,O+=t*Q,L+=t*Z,P+=t*ee,D+=t*te,j+=t*re,U+=t*ne,A+=(t=a[15])*V,o+=38*(k+=t*z),c+=38*(I+=t*H),f+=38*(M+=t*G),h+=38*(R+=t*$),l+=38*(x+=t*W),d+=38*(B+=t*Y),y+=38*(N+=t*X),m+=38*(O+=t*J),v+=38*(L+=t*Q),w+=38*(P+=t*Z),_+=38*(D+=t*ee),E+=38*(j+=t*te),S+=38*(U+=t*re),C+=38*(F+=t*ne),n=(t=(n+=38*(T+=t*K))+(r=1)+65535)-65536*(r=Math.floor(t/65536)),o=(t=o+r+65535)-65536*(r=Math.floor(t/65536)),c=(t=c+r+65535)-65536*(r=Math.floor(t/65536)),f=(t=f+r+65535)-65536*(r=Math.floor(t/65536)),h=(t=h+r+65535)-65536*(r=Math.floor(t/65536)),l=(t=l+r+65535)-65536*(r=Math.floor(t/65536)),d=(t=d+r+65535)-65536*(r=Math.floor(t/65536)),y=(t=y+r+65535)-65536*(r=Math.floor(t/65536)),m=(t=m+r+65535)-65536*(r=Math.floor(t/65536)),v=(t=v+r+65535)-65536*(r=Math.floor(t/65536)),w=(t=w+r+65535)-65536*(r=Math.floor(t/65536)),_=(t=_+r+65535)-65536*(r=Math.floor(t/65536)),E=(t=E+r+65535)-65536*(r=Math.floor(t/65536)),S=(t=S+r+65535)-65536*(r=Math.floor(t/65536)),C=(t=C+r+65535)-65536*(r=Math.floor(t/65536)),A=(t=A+r+65535)-65536*(r=Math.floor(t/65536)),n=(t=(n+=r-1+37*(r-1))+(r=1)+65535)-65536*(r=Math.floor(t/65536)),o=(t=o+r+65535)-65536*(r=Math.floor(t/65536)),c=(t=c+r+65535)-65536*(r=Math.floor(t/65536)),f=(t=f+r+65535)-65536*(r=Math.floor(t/65536)),h=(t=h+r+65535)-65536*(r=Math.floor(t/65536)),l=(t=l+r+65535)-65536*(r=Math.floor(t/65536)),d=(t=d+r+65535)-65536*(r=Math.floor(t/65536)),y=(t=y+r+65535)-65536*(r=Math.floor(t/65536)),m=(t=m+r+65535)-65536*(r=Math.floor(t/65536)),v=(t=v+r+65535)-65536*(r=Math.floor(t/65536)),w=(t=w+r+65535)-65536*(r=Math.floor(t/65536)),_=(t=_+r+65535)-65536*(r=Math.floor(t/65536)),E=(t=E+r+65535)-65536*(r=Math.floor(t/65536)),S=(t=S+r+65535)-65536*(r=Math.floor(t/65536)),C=(t=C+r+65535)-65536*(r=Math.floor(t/65536)),A=(t=A+r+65535)-65536*(r=Math.floor(t/65536)),n+=r-1+37*(r-1),e[0]=n,e[1]=o,e[2]=c,e[3]=f,e[4]=h,e[5]=l,e[6]=d,e[7]=y,e[8]=m,e[9]=v,e[10]=w,e[11]=_,e[12]=E,e[13]=S,e[14]=C,e[15]=A}}).call(this,r(15).Buffer)},function(e,t,r){var n=r(11);r(67);var o=n.asn1;t.privateKeyValidator={name:"PrivateKeyInfo",tagClass:o.Class.UNIVERSAL,type:o.Type.SEQUENCE,constructed:!0,value:[{name:"PrivateKeyInfo.version",tagClass:o.Class.UNIVERSAL,type:o.Type.INTEGER,constructed:!1,capture:"privateKeyVersion"},{name:"PrivateKeyInfo.privateKeyAlgorithm",tagClass:o.Class.UNIVERSAL,type:o.Type.SEQUENCE,constructed:!0,value:[{name:"AlgorithmIdentifier.algorithm",tagClass:o.Class.UNIVERSAL,type:o.Type.OID,constructed:!1,capture:"privateKeyOid"}]},{name:"PrivateKeyInfo",tagClass:o.Class.UNIVERSAL,type:o.Type.OCTETSTRING,constructed:!1,capture:"privateKey"}]},t.publicKeyValidator={name:"SubjectPublicKeyInfo",tagClass:o.Class.UNIVERSAL,type:o.Type.SEQUENCE,constructed:!0,captureAsn1:"subjectPublicKeyInfo",value:[{name:"SubjectPublicKeyInfo.AlgorithmIdentifier",tagClass:o.Class.UNIVERSAL,type:o.Type.SEQUENCE,constructed:!0,value:[{name:"AlgorithmIdentifier.algorithm",tagClass:o.Class.UNIVERSAL,type:o.Type.OID,constructed:!1,capture:"publicKeyOid"}]},{tagClass:o.Class.UNIVERSAL,type:o.Type.BITSTRING,constructed:!1,composed:!0,captureBitStringValue:"ed25519PublicKey"}]}},function(e,t,r){var n=r(11);r(18),r(62),r(182),e.exports=n.kem=n.kem||{};var o=n.jsbn.BigInteger;function c(e,t,r,o){e.generate=function(e,c){for(var f=new n.util.ByteBuffer,h=Math.ceil(c/o)+r,l=new n.util.ByteBuffer,i=r;i<h;++i){l.putInt32(i),t.start(),t.update(e+l.getBytes());var d=t.digest();f.putBytes(d.getBytes(o))}return f.truncate(f.length()-c),f.getBytes()}}n.kem.rsa={},n.kem.rsa.create=function(e,t){var r=(t=t||{}).prng||n.random,c={encrypt:function(t,c){var f,h=Math.ceil(t.n.bitLength()/8);do{f=new o(n.util.bytesToHex(r.getBytesSync(h)),16).mod(t.n)}while(f.compareTo(o.ONE)<=0);var l=h-(f=n.util.hexToBytes(f.toString(16))).length;return l>0&&(f=n.util.fillString(String.fromCharCode(0),l)+f),{encapsulation:t.encrypt(f,"NONE"),key:e.generate(f,c)}},decrypt:function(t,r,n){var o=t.decrypt(r,"NONE");return e.generate(o,n)}};return c},n.kem.kdf1=function(e,t){c(this,e,0,t||e.digestLength)},n.kem.kdf2=function(e,t){c(this,e,1,t||e.digestLength)}},function(e,t,r){var n=r(11);r(18),e.exports=n.log=n.log||{},n.log.levels=["none","error","warning","info","debug","verbose","max"];var o={},c=[],f=null;n.log.LEVEL_LOCKED=2,n.log.NO_LEVEL_CHECK=4,n.log.INTERPOLATE=8;for(var i=0;i<n.log.levels.length;++i){var h=n.log.levels[i];o[h]={index:i,name:h.toUpperCase()}}n.log.logMessage=function(e){for(var t=o[e.level].index,i=0;i<c.length;++i){var r=c[i];if(r.flags&n.log.NO_LEVEL_CHECK)r.f(e);else t<=o[r.level].index&&r.f(r,e)}},n.log.prepareStandard=function(e){"standard"in e||(e.standard=o[e.level].name+" ["+e.category+"] "+e.message)},n.log.prepareFull=function(e){if(!("full"in e)){var t=[e.message];t=t.concat([]||!1),e.full=n.util.format.apply(this,t)}},n.log.prepareStandardFull=function(e){"standardFull"in e||(n.log.prepareStandard(e),e.standardFull=e.standard)};var l=["error","warning","info","debug","verbose"];for(i=0;i<l.length;++i)!function(e){n.log[e]=function(t,r){var o=Array.prototype.slice.call(arguments).slice(2),c={timestamp:new Date,level:e,category:t,message:r,arguments:o};n.log.logMessage(c)}}(l[i]);if(n.log.makeLogger=function(e){var t={flags:0,f:e};return n.log.setLevel(t,"none"),t},n.log.setLevel=function(e,t){var r=!1;if(e&&!(e.flags&n.log.LEVEL_LOCKED))for(var i=0;i<n.log.levels.length;++i){if(t==n.log.levels[i]){e.level=t,r=!0;break}}return r},n.log.lock=function(e,t){void 0===t||t?e.flags|=n.log.LEVEL_LOCKED:e.flags&=~n.log.LEVEL_LOCKED},n.log.addLogger=function(e){c.push(e)},"undefined"!=typeof console&&"log"in console){var d;if(console.error&&console.warn&&console.info&&console.debug){var y={error:console.error,warning:console.warn,info:console.info,debug:console.debug,verbose:console.debug},m=function(e,t){n.log.prepareStandard(t);var r=y[t.level],o=[t.standard];o=o.concat(t.arguments.slice()),r.apply(console,o)};d=n.log.makeLogger(m)}else{m=function(e,t){n.log.prepareStandardFull(t),console.log(t.standardFull)};d=n.log.makeLogger(m)}n.log.setLevel(d,"debug"),n.log.addLogger(d),f=d}else console={log:function(){}};if(null!==f&&"undefined"!=typeof window&&window.location){var v=new URL(window.location.href).searchParams;if(v.has("console.level")&&n.log.setLevel(f,v.get("console.level").slice(-1)[0]),v.has("console.lock"))"true"==v.get("
2console.lock").slice(-1)[0]&&n.log.lock(f)}n.log.consoleLogger=f},function(e,t,r){e.exports=r(74),r(263),r(145),r(446),r(454)},function(e,t,r){var n=r(11);r(91),r(67),r(180),r(92),r(115),r(452),r(62),r(18),r(266);var o=n.asn1,c=e.exports=n.pkcs7=n.pkcs7||{};function f(e){var t={},r=[];if(!o.validate(e,c.asn1.recipientInfoValidator,t,r)){var f=new Error("Cannot read PKCS#7 RecipientInfo. ASN.1 object is not an PKCS#7 RecipientInfo.");throw f.errors=r,f}return{version:t.version.charCodeAt(0),issuer:n.pki.RDNAttributesAsArray(t.issuer),serialNumber:n.util.createBuffer(t.serial).toHex(),encryptedContent:{algorithm:o.derToOid(t.encAlgorithm),parameter:t.encParameter?t.encParameter.value:void 0,content:t.encKey}}}function h(e){for(var t,r=[],i=0;i<e.length;++i)r.push((t=e[i],o.create(o.Class.UNIVERSAL,o.Type.SEQUENCE,!0,[o.create(o.Class.UNIVERSAL,o.Type.INTEGER,!1,o.integerToDer(t.version).getBytes()),o.create(o.Class.UNIVERSAL,o.Type.SEQUENCE,!0,[n.pki.distinguishedNameToAsn1({attributes:t.issuer}),o.create(o.Class.UNIVERSAL,o.Type.INTEGER,!1,n.util.hexToBytes(t.serialNumber))]),o.create(o.Class.UNIVERSAL,o.Type.SEQUENCE,!0,[o.create(o.Class.UNIVERSAL,o.Type.OID,!1,o.oidToDer(t.encryptedContent.algorithm).getBytes()),o.create(o.Class.UNIVERSAL,o.Type.NULL,!1,"")]),o.create(o.Class.UNIVERSAL,o.Type.OCTETSTRING,!1,t.encryptedContent.content)])));return r}function l(e){var t=o.create(o.Class.UNIVERSAL,o.Type.SEQUENCE,!0,[o.create(o.Class.UNIVERSAL,o.Type.INTEGER,!1,o.integerToDer(e.version).getBytes()),o.create(o.Class.UNIVERSAL,o.Type.SEQUENCE,!0,[n.pki.distinguishedNameToAsn1({attributes:e.issuer}),o.create(o.Class.UNIVERSAL,o.Type.INTEGER,!1,n.util.hexToBytes(e.serialNumber))]),o.create(o.Class.UNIVERSAL,o.Type.SEQUENCE,!0,[o.create(o.Class.UNIVERSAL,o.Type.OID,!1,o.oidToDer(e.digestAlgorithm).getBytes()),o.create(o.Class.UNIVERSAL,o.Type.NULL,!1,"")])]);if(e.authenticatedAttributesAsn1&&t.value.push(e.authenticatedAttributesAsn1),t.value.push(o.create(o.Class.UNIVERSAL,o.Type.SEQUENCE,!0,[o.create(o.Class.UNIVERSAL,o.Type.OID,!1,o.oidToDer(e.signatureAlgorithm).getBytes()),o.create(o.Class.UNIVERSAL,o.Type.NULL,!1,"")])),t.value.push(o.create(o.Class.UNIVERSAL,o.Type.OCTETSTRING,!1,e.signature)),e.unauthenticatedAttributes.length>0){for(var r=o.create(o.Class.CONTEXT_SPECIFIC,1,!0,[]),i=0;i<e.unauthenticatedAttributes.length;++i){var c=e.unauthenticatedAttributes[i];r.values.push(d(c))}t.value.push(r)}return t}function d(e){var t;if(e.type===n.pki.oids.contentType)t=o.create(o.Class.UNIVERSAL,o.Type.OID,!1,o.oidToDer(e.value).getBytes());else if(e.type===n.pki.oids.messageDigest)t=o.create(o.Class.UNIVERSAL,o.Type.OCTETSTRING,!1,e.value.bytes());else if(e.type===n.pki.oids.signingTime){var r=new Date("1950-01-01T00:00:00Z"),c=new Date("2050-01-01T00:00:00Z"),f=e.value;if("string"==typeof f){var h=Date.parse(f);f=isNaN(h)?13===f.length?o.utcTimeToDate(f):o.generalizedTimeToDate(f):new Date(h)}t=f>=r&&f<c?o.create(o.Class.UNIVERSAL,o.Type.UTCTIME,!1,o.dateToUtcTime(f)):o.create(o.Class.UNIVERSAL,o.Type.GENERALIZEDTIME,!1,o.dateToGeneralizedTime(f))}return o.create(o.Class.UNIVERSAL,o.Type.SEQUENCE,!0,[o.create(o.Class.UNIVERSAL,o.Type.OID,!1,o.oidToDer(e.type).getBytes()),o.create(o.Class.UNIVERSAL,o.Type.SET,!0,[t])])}function y(e,t,r){var c={};if(!o.validate(t,r,c,[])){var f=new Error("Cannot read PKCS#7 message. ASN.1 object is not a supported PKCS#7 message.");throw f.errors=f,f}if(o.derToOid(c.contentType)!==n.pki.oids.data)throw new Error("Unsupported PKCS#7 message. Only wrapped ContentType Data supported.");if(c.encryptedContent){var content="";if(n.util.isArray(c.encryptedContent))for(var i=0;i<c.encryptedContent.length;++i){if(c.encryptedContent[i].type!==o.Type.OCTETSTRING)throw new Error("Malformed PKCS#7 message, expecting encrypted content constructed of only OCTET STRING objects.");content+=c.encryptedContent[i].value}else content=c.encryptedContent;e.encryptedContent={algorithm:o.derToOid(c.encAlgorithm),parameter:n.util.createBuffer(c.encParameter.value),content:n.util.createBuffer(content)}}if(c.content){content="";if(n.util.isArray(c.content))for(i=0;i<c.content.length;++i){if(c.content[i].type!==o.Type.OCTETSTRING)throw new Error("Malformed PKCS#7 message, expecting content constructed of only OCTET STRING objects.");content+=c.content[i].value}else content=c.content;e.content=n.util.createBuffer(content)}return e.version=c.version.charCodeAt(0),e.rawCapture=c,c}function m(e){if(void 0===e.encryptedContent.key)throw new Error("Symmetric key not available.");if(void 0===e.content){var t;switch(e.encryptedContent.algorithm){case n.pki.oids["aes128-CBC"]:case n.pki.oids["aes192-CBC"]:case n.pki.oids["aes256-CBC"]:t=n.aes.createDecryptionCipher(e.encryptedContent.key);break;case n.pki.oids.desCBC:case n.pki.oids["des-EDE3-CBC"]:t=n.des.createDecryptionCipher(e.encryptedContent.key);break;default:throw new Error("Unsupported symmetric cipher, OID "+e.encryptedContent.algorithm)}if(t.start(e.encryptedContent.parameter),t.update(e.encryptedContent.content),!t.finish())throw new Error("Symmetric decryption failed.");e.content=t.output}}c.messageFromPem=function(e){var t=n.pem.decode(e)[0];if("PKCS7"!==t.type){var r=new Error('Could not convert PKCS#7 message from PEM; PEM header type is not "PKCS#7".');throw r.headerType=t.type,r}if(t.procType&&"ENCRYPTED"===t.procType.type)throw new Error("Could not convert PKCS#7 message from PEM; PEM is encrypted.");var f=o.fromDer(t.body);return c.messageFromAsn1(f)},c.messageToPem=function(e,t){var r={type:"PKCS7",body:o.toDer(e.toAsn1()).getBytes()};return n.pem.encode(r,{maxline:t})},c.messageFromAsn1=function(e){var t={},r=[];
vendor: 4,130 bytes, line 2
2if(!o.validate(e,c.asn1.contentInfoValidator,t,r)){var f=new Error("Cannot read PKCS#7 message. ASN.1 object is not an PKCS#7 ContentInfo.");throw f.errors=r,f}var h,l=o.derToOid(t.contentType);switch(l){case n.pki.oids.envelopedData:h=c.createEnvelopedData();break;case n.pki.oids.encryptedData:h=c.createEncryptedData();break;case n.pki.oids.signedData:h=c.createSignedData();break;default:throw new Error("Cannot read PKCS#7 message. ContentType with OID "+l+" is not (yet) supported.")}return h.fromAsn1(t.content.value[0]),h},c.createSignedData=function(){var e=null;return e={type:n.pki.oids.signedData,version:1,certificates:[],crls:[],signers:[],digestAlgorithmIdentifiers:[],contentInfo:null,signerInfos:[],fromAsn1:function(t){if(y(e,t,c.asn1.signedDataValidator),e.certificates=[],e.crls=[],e.digestAlgorithmIdentifiers=[],e.contentInfo=null,e.signerInfos=[],e.rawCapture.certificates)for(var r=e.rawCapture.certificates.value,i=0;i<r.length;++i)e.certificates.push(n.pki.certificateFromAsn1(r[i]))},toAsn1:function(){e.contentInfo||e.sign();for(var t=[],i=0;i<e.certificates.length;++i)t.push(n.pki.certificateToAsn1(e.certificates[i]));var r=[],c=o.create(o.Class.CONTEXT_SPECIFIC,0,!0,[o.create(o.Class.UNIVERSAL,o.Type.SEQUENCE,!0,[o.create(o.Class.UNIVERSAL,o.Type.INTEGER,!1,o.integerToDer(e.version).getBytes()),o.create(o.Class.UNIVERSAL,o.Type.SET,!0,e.digestAlgorithmIdentifiers),e.contentInfo])]);return t.length>0&&c.value[0].value.push(o.create(o.Class.CONTEXT_SPECIFIC,0,!0,t)),r.length>0&&c.value[0].value.push(o.create(o.Class.CONTEXT_SPECIFIC,1,!0,r)),c.value[0].value.push(o.create(o.Class.UNIVERSAL,o.Type.SET,!0,e.signerInfos)),o.create(o.Class.UNIVERSAL,o.Type.SEQUENCE,!0,[o.create(o.Class.UNIVERSAL,o.Type.OID,!1,o.oidToDer(e.type).getBytes()),c])},addSigner:function(t){var r=t.issuer,o=t.serialNumber;if(t.certificate){var c=t.certificate;"string"==typeof c&&(c=n.pki.certificateFromPem(c)),r=c.issuer.attributes,o=c.serialNumber}var f=t.key;if(!f)throw new Error("Could not add PKCS#7 signer; no private key specified.");"string"==typeof f&&(f=n.pki.privateKeyFromPem(f));var h=t.digestAlgorithm||n.pki.oids.sha1;switch(h){case n.pki.oids.sha1:case n.pki.oids.sha256:case n.pki.oids.sha384:case n.pki.oids.sha512:case n.pki.oids.md5:break;default:throw new Error("Could not add PKCS#7 signer; unknown message digest algorithm: "+h)}var l=t.authenticatedAttributes||[];if(l.length>0){for(var d=!1,y=!1,i=0;i<l.length;++i){var m=l[i];if(d||m.type!==n.pki.oids.contentType){if(y||m.type!==n.pki.oids.messageDigest);else if(y=!0,d)break}else if(d=!0,y)break}if(!d||!y)throw new Error("Invalid signer.authenticatedAttributes. If signer.authenticatedAttributes is specified, then it must contain at least two attributes, PKCS #9 content-type and PKCS #9 message-digest.")}e.signers.push({key:f,version:1,issuer:r,serialNumber:o,digestAlgorithm:h,signatureAlgorithm:n.pki.oids.rsaEncryption,signature:null,authenticatedAttributes:l,unauthenticatedAttributes:[]})},sign:function(t){var content;(t=t||{},"object"!=typeof e.content||null===e.contentInfo)&&(e.contentInfo=o.create(o.Class.UNIVERSAL,o.Type.SEQUENCE,!0,[o.create(o.Class.UNIVERSAL,o.Type.OID,!1,o.oidToDer(n.pki.oids.data).getBytes())]),"content"in e&&(e.content instanceof n.util.ByteBuffer?content=e.content.bytes():"string"==typeof e.content&&(content=n.util.encodeUtf8(e.content)),t.detached?e.detachedContent=o.create(o.Class.UNIVERSAL,o.Type.OCTETSTRING,!1,content):e.contentInfo.value.push(o.create(o.Class.CONTEXT_SPECIFIC,0,!0,[o.create(o.Class.UNIVERSAL,o.Type.OCTETSTRING,!1,content)]))));0!==e.signers.length&&function(t){var content;content=e.detachedContent?e.detachedContent:(content=e.contentInfo.value[1]).value[0];if(!content)throw new Error("Could not sign PKCS#7 message; there is no content to sign.");var r=o.derToOid(e.contentInfo.value[0].value),c=o.toDer(content);for(var f in c.getByte(),o.getBerValueLength(c),c=c.getBytes(),t)t[f].start().update(c);for(var h=new Date,i=0;i<e.signers.length;++i){var y=e.signers[i];if(0===y.authenticatedAttributes.length){if(r!==n.pki.oids.data)throw new Error("Invalid signer;
2 authenticatedAttributes must be present when the ContentInfo content type is not PKCS#7 Data.")}else{y.authenticatedAttributesAsn1=o.create(o.Class.CONTEXT_SPECIFIC,0,!0,[]);for(var m=o.create(o.Class.UNIVERSAL,o.Type.SET,!0,[]),v=0;v<y.authenticatedAttributes.length;++v){var w=y.authenticatedAttributes[v];w.type===n.pki.oids.messageDigest?w.value=t[y.digestAlgorithm].digest():w.type===n.pki.oids.signingTime&&(w.value||(w.value=h)),m.value.push(d(w)),y.authenticatedAttributesAsn1.value.push(d(w))}c=o.toDer(m).getBytes(),y.md.start().update(c)}y.signature=y.key.sign(y.md,"RSASSA-PKCS1-V1_5")}e.signerInfos=function(e){for(var t=[],i=0;i<e.length;++i)t.push(l(e[i]));return t}(e.signers)}(function(){for(var t={},i=0;i<e.signers.length;++i){var r=e.signers[i];(c=r.digestAlgorithm)in t||(t[c]=n.md[n.pki.oids[c]].create()),0===r.authenticatedAttributes.length?r.md=t[c]:r.md=n.md[n.pki.oids[c]].create()}for(var c in e.digestAlgorithmIdentifiers=[],t)e.digestAlgorithmIdentifiers.push(o.create(o.Class.UNIVERSAL,o.Type.SEQUENCE,!0,[o.create(o.Class.UNIVERSAL,o.Type.OID,!1,o.oidToDer(c).getBytes()),o.create(o.Class.UNIVERSAL,o.Type.NULL,!1,"")]));return t}())},verify:function(){throw new Error("PKCS#7 signature verification not yet implemented.")},addCertificate:function(t){"string"==typeof t&&(t=n.pki.certificateFromPem(t)),e.certificates.push(t)},addCertificateRevokationList:function(e){throw new Error("PKCS#7 CRL support not yet implemented.")}}},c.createEncryptedData=function(){var e=null;return e={type:n.pki.oids.encryptedData,version:0,encryptedContent:{algorithm:n.pki.oids["aes256-CBC"]},fromAsn1:function(t){y(e,t,c.asn1.encryptedDataValidator)},decrypt:function(t){void 0!==t&&(e.encryptedContent.key=t),m(e)}}},c.createEnvelopedData=function(){var e=null;return e={type:n.pki.oids.envelopedData,version:0,recipients:[],encryptedContent:{algorithm:n.pki.oids["aes256-CBC"]},fromAsn1:function(t){var r=y(e,t,c.asn1.envelopedDataValidator);e.recipients=function(e){for(var t=[],i=0;i<e.length;++i)t.push(f(e[i]));return t}(r.recipientInfos.value)},toAsn1:function(){return o.create(o.Class.UNIVERSAL,o.Type.SEQUENCE,!0,[o.create(o.Class.UNIVERSAL,o.Type.OID,!1,o.oidToDer(e.type).getBytes()),o.create(o.Class.CONTEXT_SPECIFIC,0,!0,[o.create(o.Class.UNIVERSAL,o.Type.SEQUENCE,!0,[o.create(o.Class.UNIVERSAL,o.Type.INTEGER,!1,o.integerToDer(e.version).getBytes()),o.create(o.Class.UNIVERSAL,o.Type.SET,!0,h(e.recipients)),o.create(o.Class.UNIVERSAL,o.Type.SEQUENCE,!0,(t=e.encryptedContent,[o.create(o.Class.UNIVERSAL,o.Type.OID,!1,o.oidToDer(n.pki.oids.data).getBytes()),o.create(o.Class.UNIVERSAL,o.Type.SEQUENCE,!0,[o.create(o.Class.UNIVERSAL,o.Type.OID,!1,o.oidToDer(t.algorithm).getBytes()),t.parameter?o.create(o.Class.UNIVERSAL,o.Type.OCTETSTRING,!1,t.parameter.getBytes()):void 0]),o.create(o.Class.CONTEXT_SPECIFIC,0,!0,[o.create(o.Class.UNIVERSAL,o.Type.OCTETSTRING,!1,t.content.getBytes())])]))])])]);var t},findRecipient:function(t){for(var r=t.issuer.attributes,i=0;i<e.recipients.length;++i){var n=e.recipients[i],o=n.issuer;if(n.serialNumber===t.serialNumber&&o.length===r.length){for(var c=!0,f=0;f<r.length;++f)if(o[f].type!==r[f].type||o[f].value!==r[f].value){c=!1;break}if(c)return n}}return null},decrypt:function(t,r){if(void 0===e.encryptedContent.key&&void 0!==t&&void 0!==r)switch(t.encryptedContent.algorithm){case n.pki.oids.rsaEncryption:case n.pki.oids.desCBC:var o=r.decrypt(t.encryptedContent.content);e.encryptedContent.key=n.util.createBuffer(o);break;default:throw new Error("Unsupported asymmetric cipher, OID "+t.encryptedContent.algorithm)}m(e)},addRecipient:function(t){e.recipients.push({version:0,issuer:t.issuer.attributes,serialNumber:t.serialNumber,encryptedContent:{algorithm:n.pki.oids.rsaEncryption,key:t.publicKey}})},encrypt:function(t,r){if(void 0===e.encryptedContent.content){var o,c,f;switch(r=r||e.encryptedContent.algorithm,t=t||e.encryptedContent.key,r){case n.pki.oids["aes128-CBC"]:o=16,c=16,f=n.aes.createEncryptionCipher;break;case n.pki.oids["aes192-CBC"]:o=24,c=16,f=n.aes.createEncryptionCipher;break;case n.pki.oids["aes256-CBC"]:o=32,c=16,f=n.aes.createEncryptionCipher;break;case n.pki.oids["des-EDE3-CBC"]:o=24,c=8,f=n.des.createEncryptionCipher;break;default:throw new Error("Unsupported symmetric cipher, OID "+r)}if(void 0===t)t=n.util.createBuffer(n.random.getBytes(o));else if(t.length()!=o)throw new Error("Symmetric key has wrong length; got "+t.length()+" bytes, expected "+o+".");e.encryptedContent.algorithm=r,e.encryptedContent.key=t,e.encryptedContent.parameter=n.util.createBuffer(n.random.getBytes(c));var h=f(t);if(h.start(e.encryptedContent.parameter.copy()),h.update(e.content),!h.finish())throw new Error("Symmetric encryption failed.");e.encryptedContent.content=h.output}for(var i=0;i<e.recipients.length;++i){var l=e.recipients[i];if(void 0===l.encryptedContent.content){if(l.encryptedContent.algorithm!==n.pki.oids.rsaEncryption)throw new Error("Unsupported asymmetric cipher, OID "+l.encryptedContent.algorithm);
2l.encryptedContent.content=l.encryptedContent.key.encrypt(e.encryptedContent.key.data)}}}}}},function(e,t,r){var n=r(11);r(91),r(144),r(263),r(145),r(18);var o=e.exports=n.ssh=n.ssh||{};function c(e,t){var r=t.toString(16);r[0]>="8"&&(r="00"+r);var o=n.util.hexToBytes(r);e.putInt32(o.length),e.putBytes(o)}function f(e,t){e.putInt32(t.length),e.putString(t)}function h(){for(var e=n.md.sha1.create(),t=arguments.length,i=0;i<t;++i)e.update(arguments[i]);return e.digest()}o.privateKeyToPutty=function(e,t,r){var o="ssh-rsa",l=""===(t=t||"")?"none":"aes256-cbc",d="PuTTY-User-Key-File-2: ssh-rsa\r\n";d+="Encryption: "+l+"\r\n",d+="Comment: "+(r=r||"")+"\r\n";var y=n.util.createBuffer();f(y,o),c(y,e.e),c(y,e.n);var m=n.util.encode64(y.bytes(),64),v=Math.floor(m.length/66)+1;d+="Public-Lines: "+v+"\r\n",d+=m;var w,_=n.util.createBuffer();if(c(_,e.d),c(_,e.p),c(_,e.q),c(_,e.qInv),t){var E=_.length()+16-1;E-=E%16;var S=h(_.bytes());S.truncate(S.length()-E+_.length()),_.putBuffer(S);var C=n.util.createBuffer();C.putBuffer(h("\0\0\0\0",t)),C.putBuffer(h("\0\0\0�",t));var A=n.aes.createEncryptionCipher(C.truncate(8),"CBC");A.start(n.util.createBuffer().fillWithByte(0,16)),A.update(_.copy()),A.finish();var T=A.output;T.truncate(16),w=n.util.encode64(T.bytes(),64)}else w=n.util.encode64(_.bytes(),64);d+="\r\nPrivate-Lines: "+(v=Math.floor(w.length/66)+1)+"\r\n",d+=w;var k=h("putty-private-key-file-mac-key",t),I=n.util.createBuffer();f(I,o),f(I,l),f(I,r),I.putInt32(y.length()),I.putBuffer(y),I.putInt32(_.length()),I.putBuffer(_);var M=n.hmac.create();return M.start("sha1",k),M.update(I.bytes()),d+="\r\nPrivate-MAC: "+M.digest().toHex()+"\r\n"},o.publicKeyToOpenSSH=function(e,t){var r="ssh-rsa";t=t||"";var o=n.util.createBuffer();return f(o,r),c(o,e.e),c(o,e.n),r+" "+n.util.encode64(o.bytes())+" "+t},o.privateKeyToOpenSSH=function(e,t){return t?n.pki.encryptRsaPrivateKey(e,t,{legacy:!0,algorithm:"aes128"}):n.pki.privateKeyToPem(e)},o.getPublicKeyFingerprint=function(e,t){var r=(t=t||{}).md||n.md.md5.create(),o=n.util.createBuffer();f(o,"ssh-rsa"),c(o,e.e),c(o,e.n),r.start(),r.update(o.getBytes());var h=r.digest();if("hex"===t.encoding){var l=h.toHex();return t.delimiter?l.match(/.{2}/g).join(t.delimiter):l}if("binary"===t.encoding)return h.getBytes();if(t.encoding)throw new Error('Unknown encoding "'+t.encoding+'".');return h}},function(e,t,r){"use strict";const n=r(845),o=Symbol("max"),c=Symbol("length"),f=Symbol("lengthCalculator"),h=Symbol("allowStale"),l=Symbol("maxAge"),d=Symbol("dispose"),y=Symbol("noDisposeOnSet"),m=Symbol("lruList"),v=Symbol("cache"),w=Symbol("updateAgeOnGet"),_=()=>1;const E=(e,t,r)=>{const n=e[v].get(t);if(n){const t=n.value;if(S(e,t)){if(del(e,n),!e[h])return}else r&&(e[w]&&(n.value.now=Date.now()),e[m].unshiftNode(n));return t.value}},S=(e,t)=>{if(!t||!t.maxAge&&!e[l])return!1;const r=Date.now()-t.now;return t.maxAge?r>t.maxAge:e[l]&&r>e[l]},C=e=>{if(e[c]>e[o])for(let t=e[m].tail;e[c]>e[o]&&null!==t;){const r=t.prev;del(e,t),t=r}},del=(e,t)=>{if(t){const r=t.value;e[d]&&e[d](r.key,r.value),e[c]-=r.length,e[v].delete(r.key),e[m].removeNode(t)}};class A{constructor(e,t,r,n,o){this.key=e,this.value=t,this.length=r,this.now=n,this.maxAge=o||0}}const T=(e,t,r,n)=>{let o=r.value;S(e,o)&&(del(e,r),e[h]||(o=void 0)),o&&t.call(n,o.value,o.key,e)};e.exports=class{constructor(e){if("number"==typeof e&&(e={max:e}),e||(e={}),e.max&&("number"!=typeof e.max||e.max<0))throw new TypeError("max must be a non-negative number");this[o]=e.max||1/0;const t=e.length||_;if(this[f]="function"!=typeof t?_:t,this[h]=e.stale||!1,e.maxAge&&"number"!=typeof e.maxAge)throw new TypeError("maxAge must be a number");this[l]=e.maxAge||0,this[d]=e.dispose,this[y]=e.noDisposeOnSet||!1,this[w]=e.updateAgeOnGet||!1,this.reset()}set max(e){if("number"!=typeof e||e<0)throw new TypeError("max must be a non-negative number");this[o]=e||1/0,C(this)}get max(){return this[o]}set allowStale(e){this[h]=!!e}get allowStale(){return this[h]}set maxAge(e){if("number"!=typeof e)throw new TypeError("maxAge must be a non-negative number");this[l]=e,C(this)}get maxAge(){return this[l]}set lengthCalculator(e){"function"!=typeof e&&(e=_),e!==this[f]&&(this[f]=e,this[c]=0,this[m].forEach((e=>{e.length=this[f](e.value,e.key),this[c]+=e.length}))),C(this)}get lengthCalculator(){return this[f]}get length(){return this[c]}get itemCount(){return this[m].length}
vendor: 5,580 bytes, line 2
2rforEach(e,t){t=t||this;for(let r=this[m].tail;null!==r;){const n=r.prev;T(this,e,r,t),r=n}}forEach(e,t){t=t||this;for(let r=this[m].head;null!==r;){const n=r.next;T(this,e,r,t),r=n}}keys(){return this[m].toArray().map((e=>e.key))}values(){return this[m].toArray().map((e=>e.value))}reset(){this[d]&&this[m]&&this[m].length&&this[m].forEach((e=>this[d](e.key,e.value))),this[v]=new Map,this[m]=new n,this[c]=0}dump(){return this[m].map((e=>!S(this,e)&&{k:e.key,v:e.value,e:e.now+(e.maxAge||0)})).toArray().filter((e=>e))}dumpLru(){return this[m]}set(e,t,r){if((r=r||this[l])&&"number"!=typeof r)throw new TypeError("maxAge must be a number");const n=r?Date.now():0,h=this[f](t,e);if(this[v].has(e)){if(h>this[o])return del(this,this[v].get(e)),!1;const f=this[v].get(e).value;return this[d]&&(this[y]||this[d](e,f.value)),f.now=n,f.maxAge=r,f.value=t,this[c]+=h-f.length,f.length=h,this.get(e),C(this),!0}const w=new A(e,t,h,n,r);return w.length>this[o]?(this[d]&&this[d](e,t),!1):(this[c]+=w.length,this[m].unshift(w),this[v].set(e,this[m].head),C(this),!0)}has(e){if(!this[v].has(e))return!1;const t=this[v].get(e).value;return!S(this,t)}get(e){return E(this,e,!0)}peek(e){return E(this,e,!1)}pop(){const e=this[m].tail;return e?(del(this,e),e.value):null}del(e){del(this,this[v].get(e))}load(e){this.reset();const t=Date.now();for(let r=e.length-1;r>=0;r--){const n=e[r],o=n.e||0;if(0===o)this.set(n.k,n.v);else{const e=o-t;e>0&&this.set(n.k,n.v,e)}}}prune(){this[v].forEach(((e,t)=>E(this,t,!1)))}}},function(e,t,r){"use strict";function n(e){var t=this;if(t instanceof n||(t=new n),t.tail=null,t.head=null,t.length=0,e&&"function"==typeof e.forEach)e.forEach((function(e){t.push(e)}));else if(arguments.length>0)for(var i=0,r=arguments.length;i<r;i++)t.push(arguments[i]);return t}function o(e,t,r){var n=t===e.head?new h(r,null,t,e):new h(r,t,t.next,e);return null===n.next&&(e.tail=n),null===n.prev&&(e.head=n),e.length++,n}function c(e,t){e.tail=new h(t,e.tail,null,e),e.head||(e.head=e.tail),e.length++}function f(e,t){e.head=new h(t,null,e.head,e),e.tail||(e.tail=e.head),e.length++}function h(e,t,r,n){if(!(this instanceof h))return new h(e,t,r,n);this.list=n,this.value=e,t?(t.next=this,this.prev=t):this.prev=null,r?(r.prev=this,this.next=r):this.next=null}e.exports=n,n.Node=h,n.create=n,n.prototype.removeNode=function(e){if(e.list!==this)throw new Error("removing node which does not belong to this list");var t=e.next,r=e.prev;return t&&(t.prev=r),r&&(r.next=t),e===this.head&&(this.head=t),e===this.tail&&(this.tail=r),e.list.length--,e.next=null,e.prev=null,e.list=null,t},n.prototype.unshiftNode=function(e){if(e!==this.head){e.list&&e.list.removeNode(e);var head=this.head;e.list=this,e.next=head,head&&(head.prev=e),this.head=e,this.tail||(this.tail=e),this.length++}},n.prototype.pushNode=function(e){if(e!==this.tail){e.list&&e.list.removeNode(e);var t=this.tail;e.list=this,e.prev=t,t&&(t.next=e),this.tail=e,this.head||(this.head=e),this.length++}},n.prototype.push=function(){for(var i=0,e=arguments.length;i<e;i++)c(this,arguments[i]);return this.length},n.prototype.unshift=function(){for(var i=0,e=arguments.length;i<e;i++)f(this,arguments[i]);return this.length},n.prototype.pop=function(){if(this.tail){var e=this.tail.value;return this.tail=this.tail.prev,this.tail?this.tail.next=null:this.head=null,this.length--,e}},n.prototype.shift=function(){if(this.head){var e=this.head.value;return this.head=this.head.next,this.head?this.head.prev=null:this.tail=null,this.length--,e}},n.prototype.forEach=function(e,t){t=t||this;for(var r=this.head,i=0;null!==r;i++)e.call(t,r.value,i,this),r=r.next},n.prototype.forEachReverse=function(e,t){t=t||this;for(var r=this.tail,i=this.length-1;null!==r;i--)e.call(t,r.value,i,this),r=r.prev},n.prototype.get=function(e){for(var i=0,t=this.head;null!==t&&i<e;i++)t=t.next;if(i===e&&null!==t)return t.value},n.prototype.getReverse=function(e){for(var i=0,t=this.tail;null!==t&&i<e;i++)t=t.prev;if(i===e&&null!==t)return t.value},n.prototype.map=function(e,t){t=t||this;for(var r=new n,o=this.head;null!==o;)r.push(e.call(t,o.value,this)),o=o.next;return r},n.prototype.mapReverse=function(e,t){t=t||this;for(var r=new n,o=this.tail;null!==o;)r.push(e.call(t,o.value,this)),o=o.prev;return r},n.prototype.reduce=function(e,t){var r,n=this.head;if(arguments.length>1)r=t;else{if(!this.head)throw new TypeError("Reduce of empty list with no initial value");n=this.head.next,r=this.head.value}for(var i=0;null!==n;i++)r=e(r,n.value,i),n=n.next;return r},n.prototype.reduceReverse=function(e,t){var r,n=this.tail;if(arguments.length>1)r=t;else{if(!this.tail)throw new TypeError("Reduce of empty list with no initial value");n=this.tail.prev,r=this.tail.value}for(var i=this.length-1;null!==n;i--)r=e(r,n.value,i),n=n.prev;return r},n.prototype.toArray=function(){for(var e=new Array(this.length),i=0,t=this.head;null!==t;i++)e[i]=t.value,t=t.next;return e},n.prototype.toArrayReverse=function(){for(var e=new Array(this.length),i=0,t=this.tail;null!==t;i++)e[i]=t.value,t=t.prev;return e},n.prototype.slice=function(e,t){(t=t||this.length)<0&&(t+=this.length),(e=e||0)<0&&(e+=this.length);var r=new n;if(t<e||t<0)return r;e<0&&(e=0),t>this.length&&(t=this.length);for(var i=0,o=this.head;null!==o&&i<e;i++)o=o.next;for(;null!==o&&i<t;i++,o=o.next)r.push(o.value);return r},n.prototype.sliceReverse=function(e,t){(t=t||this.length)<0&&(t+=this.length),(e=e||0)<0&&(e+=this.length);var r=new n;if(t<e||t<0)return r;e<0&&(e=0),t>this.length&&(t=this.length);for(var i=this.length,o=this.tail;null!==o&&i>t;i--)o=o.prev;
2for(;null!==o&&i>e;i--,o=o.prev)r.push(o.value);return r},n.prototype.splice=function(e,t,...r){e>this.length&&(e=this.length-1),e<0&&(e=this.length+e);for(var i=0,n=this.head;null!==n&&i<e;i++)n=n.next;var c=[];for(i=0;n&&i<t;i++)c.push(n.value),n=this.removeNode(n);null===n&&(n=this.tail),n!==this.head&&n!==this.tail&&(n=n.prev);for(i=0;i<r.length;i++)n=o(this,n,r[i]);return c},n.prototype.reverse=function(){for(var head=this.head,e=this.tail,t=head;null!==t;t=t.prev){var p=t.prev;t.prev=t.next,t.next=p}return this.head=e,this.tail=head,this};try{r(846)(n)}catch(e){}},function(e,t,r){"use strict";e.exports=function(e){e.prototype[Symbol.iterator]=function*(){for(let e=this.head;e;e=e.next)yield e.value}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IAMAuth=void 0;t.IAMAuth=class{constructor(e,t){this.selector=e,this.token=t,this.selector=e,this.token=t}getRequestHeaders(){return{"x-goog-iam-authority-selector":this.selector,"x-goog-iam-authorization-token":this.token}}}},,,,,,,,,,,,,,,,,,,,function(e,t,r){const n=r(173),{columnToLetter:o}=r(183),{GoogleSpreadsheetFormulaError:c}=r(467);e.exports=class{constructor(e,t,r,n){return this._sheet=e,this._row=t,this._column=r,this._updateRawData(n),this}_updateRawData(e={}){this._rawData=e,this._draftData={},this._error=null,n.get(this._rawData,"effectiveValue.errorValue")&&(this._error=new c(this._rawData.effectiveValue.errorValue))}get rowIndex(){return this._row}get columnIndex(){return this._column}get a1Column(){return o(this._column+1)}get a1Row(){return this._row+1}get a1Address(){return`${this.a1Column}${this.a1Row}`}get value(){if(void 0!==this._draftData.value)throw new Error("Value has been changed");return this._error?this._error:this._rawData.effectiveValue?n.values(this._rawData.effectiveValue)[0]:null}set value(e){if(n.isBoolean(e))this._draftData.valueType="boolValue";else if(n.isString(e))"="===e.substr(0,1)?this._draftData.valueType="formulaValue":this._draftData.valueType="stringValue";else if(n.isFinite(e))this._draftData.valueType="numberValue";else{if(!n.isNil(e))throw new Error("Set value to boolean, string, or number");this._draftData.valueType="stringValue",e=""}this._draftData.value=e}get valueType(){return this._error?"errorValue":this._rawData.effectiveValue?n.keys(this._rawData.effectiveValue)[0]:null}get formattedValue(){return this._rawData.formattedValue||null}set formattedValue(e){throw new Error("You cannot modify the formatted value directly")}get formula(){return n.get(this._rawData,"userEnteredValue.formulaValue",null)}set formula(e){if("="!==e.substr(0,1))throw new Error('formula must begin with "="');this.value=e}get formulaError(){return this._error}get hyperlink(){if(this._draftData.value)throw new Error("Save cell to be able to read hyperlink");return this._rawData.hyperlink}set hyperlink(e){throw new Error('Do not set hyperlink directly. Instead set cell.formula, for example `cell.formula = \'=HYPERLINK("http://google.com", "Google")\'`')}get note(){return void 0!==this._draftData.note?this._draftData.note:this._rawData.note}set note(e){if(null==e&&(e=""),!n.isString(e))throw new Error("Note must be a string");e===this._rawData.note?delete this._draftData.note:this._draftData.note=e}get userEnteredFormat(){return this._rawData.userEnteredFormat}get effectiveFormat(){return this._rawData.effectiveFormat}set userEnteredFormat(e){throw new Error("Do not modify directly, instead use format properties")}set effectiveFormat(e){throw new Error("Read-only")}_getFormatParam(param){if(n.get(this._draftData,`userEnteredFormat.${param}`))throw new Error("User format is unsaved - save the cell to be able to read it again");return Object.freeze(this._rawData.userEnteredFormat[param])}_setFormatParam(param,e){n.isEqual(e,n.get(this._rawData,`userEnteredFormat.${param}`))?n.unset(this._draftData,`userEnteredFormat.${param}`):(n.set(this._draftData,`userEnteredFormat.${param}`,e),this._draftData.clearFormat=!1)}get numberFormat(){return this._getFormatParam("numberFormat")}get backgroundColor(){return this._getFormatParam("backgroundColor")}get borders(){return this._getFormatParam("borders")}get padding(){return this._getFormatParam("padding")}get horizontalAlignment(){return this._getFormatParam("horizontalAlignment")}get verticalAlignment(){return this._getFormatParam("verticalAlignment")}get wrapStrategy(){return this._getFormatParam("wrapStrategy")}get textDirection(){return this._getFormatParam("textDirection")}get textFormat(){return this._getFormatParam("textFormat")}get hyperlinkDisplayType(){return this._getFormatParam("hyperlinkDisplayType")}get textRotation(){return this._getFormatParam("textRotation")}set numberFormat(e){return this._setFormatParam("numberFormat",e)}set backgroundColor(e){return this._setFormatParam("backgroundColor",e)}set borders(e){return this._setFormatParam("borders",e)}set padding(e){return this._setFormatParam("padding",e)}set horizontalAlignment(e){return this._setFormatParam("horizontalAlignment",e)}set verticalAlignment(e){return this._setFormatParam("verticalAlignment",e)}set wrapStrategy(e){return this._setFormatParam("wrapStrategy",e)}set textDirection(e){return this._setFormatParam("textDirection",e)}set textFormat(e){return this._setFormatParam("textFormat",e)}set hyperlinkDisplayType(e){return this._setFormatParam("hyperlinkDisplayType",e)}set textRotation(e){return this._setFormatParam("textRotation",e)}clearAllFormatting(){this._draftData.clearFormat=!0,delete this._draftData.userEnteredFormat}get _isDirty(){return void 0!==this._draftData.note||(!!n.keys(this._draftData.userEnteredFormat).length||(!!this._draftData.clearFormat||void 0!==this._draftData.value))}discardUnsavedChanges(){this._draftData={}}async save(){await this._sheet.saveUpdatedCells([this])}_getUpdateRequest(){const e=void 0!==this._draftData.value,t=void 0!==this._draftData.note,r=!!n.keys(this._draftData.userEnteredFormat||{}).length,o=this._draftData.clearFormat;if(!n.some([e,t,r,o]))return null;const c={...this._rawData.userEnteredFormat,...this._draftData.userEnteredFormat};return n.get(this._draftData,"userEnteredFormat.backgroundColor")&&delete c.backgroundColorStyle,{updateCells:{rows:[{values:[{...e&&{userEnteredValue:{[this._draftData.valueType]:this._draftData.value}},...t&&{note:this._draftData.note},...r&&{userEnteredFormat:c},...o&&{userEnteredFormat:{}}}]}],fields:n.keys(n.pickBy({userEnteredValue:e,note:t,userEnteredFormat:r||o})).join(","),start:{sheetId:this._sheet.sheetId,rowIndex:this.rowIndex,columnIndex:this.columnIndex}}}}}}]]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.